From 546735a58c4f250d4b88f92775cd6a614082f7ba Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 16 Nov 2020 14:52:32 +0800 Subject: [PATCH 001/270] thread lib --- native/cocos/renderer/core/CMakeLists.txt | 4 +- native/cocos/renderer/core/Core.h | 4 + .../renderer/core/thread/CommandBuffer.cpp | 288 ++++++++ .../renderer/core/thread/CommandBuffer.h | 614 ++++++++++++++++++ .../core/thread/ConditionVariable.cpp | 17 + .../renderer/core/thread/ConditionVariable.h | 19 + native/cocos/renderer/core/thread/Event.h | 21 + .../renderer/core/thread/ReadWriteLock.cpp | 1 + .../renderer/core/thread/ReadWriteLock.h | 32 + .../cocos/renderer/core/thread/Semaphore.cpp | 69 ++ native/cocos/renderer/core/thread/Semaphore.h | 29 + .../cocos/renderer/core/thread/ThreadPool.cpp | 61 ++ .../cocos/renderer/core/thread/ThreadPool.h | 61 ++ .../renderer/core/thread/ThreadSafeCounter.h | 22 + .../cocos/renderer/gfx-gles2/CMakeLists.txt | 1 - .../cocos/renderer/gfx-gles3/CMakeLists.txt | 5 - .../cocos/renderer/gfx-metal/CMakeLists.txt | 12 +- .../cocos/renderer/gfx-vulkan/CMakeLists.txt | 2 - .../cocos/renderer/gfx-vulkan/VKContext.cpp | 9 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 12 +- 20 files changed, 1257 insertions(+), 26 deletions(-) create mode 100644 native/cocos/renderer/core/thread/CommandBuffer.cpp create mode 100644 native/cocos/renderer/core/thread/CommandBuffer.h create mode 100644 native/cocos/renderer/core/thread/ConditionVariable.cpp create mode 100644 native/cocos/renderer/core/thread/ConditionVariable.h create mode 100644 native/cocos/renderer/core/thread/Event.h create mode 100644 native/cocos/renderer/core/thread/ReadWriteLock.cpp create mode 100644 native/cocos/renderer/core/thread/ReadWriteLock.h create mode 100644 native/cocos/renderer/core/thread/Semaphore.cpp create mode 100644 native/cocos/renderer/core/thread/Semaphore.h create mode 100644 native/cocos/renderer/core/thread/ThreadPool.cpp create mode 100644 native/cocos/renderer/core/thread/ThreadPool.h create mode 100644 native/cocos/renderer/core/thread/ThreadSafeCounter.h diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index 1b814c1b3f..e9240e6c5b 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -25,9 +25,7 @@ set(CC_BASE_SOURCES set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/nedmalloc ${GFX_EXTERNAL_PATH}/tommyds - ${GFX_EXTERNAL_PATH}/concurrentqueue - ${GFX_EXTERNAL_PATH}/taskflow - ${COCOS_SRC_PATH}/base + ${GFX_EXTERNAL_PATH}/boost ${COCOS_SRC_PATH}/renderer/core ) diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index fc6ae5d0e6..ab10e4a950 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -28,6 +28,10 @@ THE SOFTWARE. #include "base/CachedArray.h" #include "base/StringUtil.h" +#include "Thread/ThreadPool.h" + +#include "gfx/GFXDevice.h" +#include "gfx/GFXContext.h" #include "gfx/GFXBuffer.h" #include "gfx/GFXCommand.h" #include "gfx/GFXCommandBuffer.h" diff --git a/native/cocos/renderer/core/thread/CommandBuffer.cpp b/native/cocos/renderer/core/thread/CommandBuffer.cpp new file mode 100644 index 0000000000..9de5886dd9 --- /dev/null +++ b/native/cocos/renderer/core/thread/CommandBuffer.cpp @@ -0,0 +1,288 @@ +#include "CommandBuffer.h" +#include + +namespace +{ +uint32_t constexpr kMemoryChunkSize = 4096 * 16; +uint32_t constexpr kMemoryChunkPoolCapacity = 64; +uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); +} + +CommandBuffer::MemoryAllocator& CommandBuffer::MemoryAllocator::GetInstance() noexcept +{ + static CommandBuffer::MemoryAllocator instance; + return instance; +} + +uint8_t* CommandBuffer::MemoryAllocator::Request() noexcept +{ + uint8_t* newChunk = nullptr; + + if (mChunkPool.pop(newChunk)) + { + mChunkCount.fetch_sub(1, std::memory_order_acq_rel); + } + else + { + newChunk = MemoryAllocateForMultiThread(kMemoryChunkSize); + } + + return newChunk; +} + +void CommandBuffer::MemoryAllocator::Recycle(uint8_t* const chunk, bool const freeByUser) noexcept +{ + if (freeByUser) + { + mChunkFreeQueue.push(chunk); + } + else + { + Free(chunk); + } +} + +void CommandBuffer::MemoryAllocator::Free(uint8_t* const chunk) noexcept +{ + if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) + { + MemoryFreeForMultiThread(chunk); + } + else + { + mChunkPool.push(chunk); + mChunkCount.fetch_add(1, std::memory_order_acq_rel); + } +} + +CommandBuffer::CommandBuffer() +{ + uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); + + mW.mCurrentMemoryChunk = chunk; + mR.mCurrentMemoryChunk = chunk; + + // 分配一个头节点 不要被Execute + Command* const cmd = Allocate(1); + PushCommands(); + PullCommands(); + mR.mLastCommand = cmd; + --mR.mNewCommandCount; +} + +void CommandBuffer::Kick() noexcept +{ + PushCommands(); + mN.Signal(); +} + +void CommandBuffer::KickAndWait() noexcept +{ + EventSem event; + EventSem* const pEvent = &event; + + ENCODE_COMMAND_1(this, WaitUntilFinish, + pEvent, pEvent, + { + pEvent->Signal(); + }); + + Kick(); + event.Wait(); +} + +void CommandBuffer::RunConsumerThread() noexcept +{ + if (mWorkerAttached) + { + return; + } + + std::thread consumerThread(std::bind(&CommandBuffer::ConsumerThreadLoop, this)); + consumerThread.detach(); + mWorkerAttached = true; +} + +void CommandBuffer::TerminateConsumerThread() noexcept +{ + if (! mWorkerAttached) + { + return; + } + + EventSem event; + EventSem* const pEvent = &event; + + ReaderContext* const pR = &mR; + ENCODE_COMMAND_2( + this, TerminateConsumerThread, + pR, pR, + pEvent, pEvent, + { + pR->mTerminateConsumerThread = true; + pR->mFlushingFinished = true; + pEvent->Signal(); + }); + + Kick(); + event.Wait(); +} + +void CommandBuffer::FinishWriting() noexcept +{ + bool* const flushingFinished = &mR.mFlushingFinished; + + ENCODE_COMMAND_1(this, FinishWriting, + flushingFinished, flushingFinished, + { + *flushingFinished = true; + }); + + Kick(); +} + +void CommandBuffer::RecycleMemoryChunk(uint8_t* const chunk) const noexcept +{ + CommandBuffer::MemoryAllocator::GetInstance().Recycle(chunk, mFreeChunksByUser); +} + +void CommandBuffer::FreeChunksInFreeQueue() noexcept +{ + // TODO +} + +uint8_t* CommandBuffer::AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept +{ + uint32_t const alignedSize = Align(requestSize, 16); + assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // 一个Command直接把整个Chunk填满了 + + uint32_t const newOffset = mW.mOffset + alignedSize; + + if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) + { + allocatedSize = alignedSize; + uint8_t* const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; + mW.mOffset = newOffset; + return allocatedMemory; + } + else + { + uint8_t* const newChunk = CommandBuffer::MemoryAllocator::GetInstance().Request(); + MemoryChunkSwitchCommand* const switchCommand = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + new(switchCommand) MemoryChunkSwitchCommand(this, newChunk, mW.mCurrentMemoryChunk); + switchCommand->mNext = reinterpret_cast(newChunk); // 注意这里还指向原位置 + mW.mLastCommand = switchCommand; + ++mW.mPendingCommandCount; + mW.mCurrentMemoryChunk = newChunk; + mW.mOffset = 0; + + DummyCommand* const head = Allocate(1); + new(head) DummyCommand; + + if (mImmediateMode) + { + PushCommands(); + PullCommands(); + ExecuteCommand(); + ExecuteCommand(); + } + + return AllocateImpl(allocatedSize, requestSize); + } +} + +void CommandBuffer::PushCommands() noexcept +{ + mW.mWrittenCommandCount.fetch_add(mW.mPendingCommandCount, std::memory_order_acq_rel); + mW.mPendingCommandCount = 0; +} + +void CommandBuffer::PullCommands() noexcept +{ + uint32_t const writtenCommandCountNew = mW.mWrittenCommandCount.load(std::memory_order_acquire); + mR.mNewCommandCount = writtenCommandCountNew - mR.mWrittenCommandCountSnap; + mR.mWrittenCommandCountSnap = writtenCommandCountNew; +} + +void CommandBuffer::FlushCommands() noexcept +{ + while (! mR.mFlushingFinished) + { + ExecuteCommand(); + } + + mR.mFlushingFinished = false; +} + +void CommandBuffer::ExecuteCommand() noexcept +{ + Command* const cmd = ReadCommand(); + + if (! cmd) + { + return; + } + + cmd->Execute(); + cmd->~Command(); +} + +Command* CommandBuffer::ReadCommand() noexcept +{ + while (! HasNewCommand()) + { + // 如果当前没有可读的Command 尝试同步一下生产者线程的数据 + PullCommands(); + + // 如果依然没有 挂起消费者线程 等待生产者线程填充Command并唤醒消费者线程 + if (! HasNewCommand()) + { + mN.Wait(); + } + + PullCommands(); + } + + Command* const cmd = mR.mLastCommand->GetNext(); + mR.mLastCommand = cmd; + --mR.mNewCommandCount; + return cmd; +} + +void CommandBuffer::ConsumerThreadLoop() noexcept +{ + while (! mR.mTerminateConsumerThread) + { + FlushCommands(); + } + + mWorkerAttached = false; +} + +char const* DummyCommand::GetName() const noexcept +{ + return "Dummy"; +} + +MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(CommandBuffer* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept + : mCommandBuffer(cb) + , mNewChunk(newChunk) + , mOldChunk(oldChunk) +{ +} + +MemoryChunkSwitchCommand::~MemoryChunkSwitchCommand() +{ + mCommandBuffer->RecycleMemoryChunk(mOldChunk); +} + +void MemoryChunkSwitchCommand::Execute() noexcept +{ + mCommandBuffer->mR.mCurrentMemoryChunk = mNewChunk; + mCommandBuffer->PullCommands(); +} + +char const* MemoryChunkSwitchCommand::GetName() const noexcept +{ + return "MemoryChunkSwitch"; +} diff --git a/native/cocos/renderer/core/thread/CommandBuffer.h b/native/cocos/renderer/core/thread/CommandBuffer.h new file mode 100644 index 0000000000..d0e5c81479 --- /dev/null +++ b/native/cocos/renderer/core/thread/CommandBuffer.h @@ -0,0 +1,614 @@ +#pragma once + +#include +#include "boost/lockfree/queue.hpp" +#include "boost/type_traits/is_base_of.hpp" +#include "Event.h" + +// 由于系统的内存分配是从一个全局堆里申请 分配过程会上锁导致降低并行度 在多线程的环境下如果频繁的申请释放内存会降低性能 +// 所以这里先加个接口来统一调用 未来会换成单独服务于线程的无锁分配器 +template +inline T* MemoryAllocateForMultiThread(uint32_t const count) noexcept +{ + return static_cast(malloc(sizeof(T) * count)); +} + +template +inline void MemoryFreeForMultiThread(T* const p) noexcept +{ + free(p); +} + +inline uint32_t constexpr Align(uint32_t const val, uint32_t const alignment) noexcept +{ + return (val + alignment - 1) & ~(alignment-1); +} + +class Command +{ +public: + + Command() = default; + virtual ~Command() {} + Command(Command const&) = delete; + Command(Command&&) = delete; + Command& operator=(Command const&) = delete; + Command& operator=(Command&&) = delete; + + virtual void Execute() noexcept = 0; + virtual char const* GetName() const noexcept = 0; + inline Command* GetNext() const noexcept { return mNext; } + +private: + + Command* mNext { nullptr }; + + friend class CommandBuffer; +}; + +struct alignas(64) WriterContext final +{ + uint8_t* mCurrentMemoryChunk { nullptr }; + Command* mLastCommand { nullptr }; + uint32_t mOffset { 0 }; + uint32_t mPendingCommandCount { 0 }; + std::atomic mWrittenCommandCount { 0 }; +}; + +struct alignas(64) ReaderContext final +{ + uint8_t* mCurrentMemoryChunk { nullptr }; + Command* mLastCommand { nullptr }; + uint32_t mOffset { 0 }; + uint32_t mWrittenCommandCountSnap { 0 }; + uint32_t mNewCommandCount { 0 }; + bool mTerminateConsumerThread { false }; + bool mFlushingFinished { false }; +}; + +// 支持单生产者单消费者的环形缓冲区 +// 生产者线程Allocate 消费者线程Execute +// 除了Command之外 执行Command需要的数据也需要拷贝到这里 来实现线程安全的数据访问 +class alignas(64) CommandBuffer final +{ +public: + + CommandBuffer(); + ~CommandBuffer() = default; + CommandBuffer(CommandBuffer const&) = delete; + CommandBuffer(CommandBuffer&&) = delete; + CommandBuffer& operator=(CommandBuffer const&) = delete; + CommandBuffer& operator=(CommandBuffer&&) = delete; + + // 分配Command + template + std::enable_if_t::value, T*> + Allocate(uint32_t const count) noexcept; + + // 分配数据 + template + std::enable_if_t::value, T*> + Allocate(uint32_t const count) noexcept; + template + T* AllocateAndCopy(uint32_t const count, void const* data) noexcept; + template + T* AllocateAndZero(uint32_t const count) noexcept; + + // 通知消费者线程开始工作 + void Kick() noexcept; + + // 通知消费者线程开始工作并阻塞生产者线程 直到消费者线程执行完所有命令 + void KickAndWait() noexcept; + + // 只支持单消费者 + void RunConsumerThread() noexcept; + void TerminateConsumerThread() noexcept; + void FinishWriting() noexcept; + void FlushCommands() noexcept; + + inline bool IsImmediateMode() const noexcept { return mImmediateMode; } + + void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; + static void FreeChunksInFreeQueue() noexcept; + +private: + + class alignas(64) MemoryAllocator final + { + public: + + MemoryAllocator() = default; + ~MemoryAllocator() = default; + MemoryAllocator(MemoryAllocator const&) = delete; + MemoryAllocator(MemoryAllocator&&) = delete; + MemoryAllocator& operator=(MemoryAllocator const&) = delete; + MemoryAllocator& operator=(MemoryAllocator&&) = delete; + + static MemoryAllocator& GetInstance() noexcept; + uint8_t* Request() noexcept; + void Recycle(uint8_t* const chunk, bool const freeByUser) noexcept; + + private: + + void Free(uint8_t* const chunk) noexcept; + std::atomic mChunkCount { 0 }; + boost::lockfree::queue mChunkPool { 64 }; + boost::lockfree::queue mChunkFreeQueue { 64 }; + }; + + uint8_t* AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept; + void PushCommands() noexcept; + + // 在消费者线程执行 + void PullCommands() noexcept; + void ExecuteCommand() noexcept; + Command* ReadCommand() noexcept; + inline bool HasNewCommand() const noexcept { return mR.mNewCommandCount > 0 && ! mR.mFlushingFinished; } + void ConsumerThreadLoop() noexcept; + + WriterContext mW; + ReaderContext mR; + EventCV mN; + bool mImmediateMode { true }; + bool mWorkerAttached { false }; + bool mFreeChunksByUser { false }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free + + friend class MemoryChunkSwitchCommand; +}; + +class DummyCommand final : public Command +{ +public: + + virtual void Execute() noexcept override {} + virtual char const* GetName() const noexcept override; +}; + +class MemoryChunkSwitchCommand final : public Command +{ +public: + + MemoryChunkSwitchCommand(CommandBuffer* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept; + ~MemoryChunkSwitchCommand(); + + virtual void Execute() noexcept override; + virtual char const* GetName() const noexcept override; + +private: + + CommandBuffer* mCommandBuffer { nullptr }; + uint8_t* mNewChunk { nullptr }; + uint8_t* mOldChunk { nullptr }; +}; + +template +std::enable_if_t::value, T*> +CommandBuffer::Allocate(uint32_t const count) noexcept +{ + uint32_t allocatedSize = 0; + T* const cmd = reinterpret_cast(AllocateImpl(allocatedSize, sizeof(T))); + cmd->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + ++mW.mPendingCommandCount; + mW.mLastCommand = cmd; + return cmd; +} + +template +std::enable_if_t::value, T*> +CommandBuffer::Allocate(uint32_t const count) noexcept +{ + uint32_t constexpr requestSize = sizeof(T) * count; + assert(requestSize); + uint32_t allocatedSize = 0; + uint8_t* const allocatedMemory = AllocateImpl(allocatedSize, requestSize); + mW.mLastCommand->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + return reinterpret_cast(allocatedMemory); +} + +template +T* CommandBuffer::AllocateAndCopy(uint32_t const count, void const* data) noexcept +{ + T* const allocatedMemory = Allocate(count); + memcpy(allocatedMemory, data, sizeof(T) * count); + return allocatedMemory; +} + +template +T* CommandBuffer::AllocateAndZero(uint32_t const count) noexcept +{ + T* const allocatedMemory = Allocate(count); + memset(allocatedMemory, 0, sizeof(T) * count); + return allocatedMemory; +} + +// 生产者线程用来向CommandBuffer填充Command的工具宏 + +#define WRITE_COMMAND(CB, CommandName, Params) \ + { \ + if (! CB->IsImmediateMode()) \ + { \ + new (CB->Allocate(1)) CommandName Params; \ + } \ + else \ + { \ + CommandName command Params; \ + command.Execute(); \ + } \ + } + +#define ENCODE_COMMAND_0(CB, CommandName, Code) \ + class CommandName final : public Command \ + { \ + public: \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + }; \ + WRITE_COMMAND(CB, CommandName, ); + +#define ENCODE_COMMAND_1(CB, CommandName, \ + Param1, Value1, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + \ + class CommandName final : public Command \ + { \ + public: \ + explicit CommandName(Type1 const& In##Param1) \ + : Param1(In##Param1) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1)) }; + +#define ENCODE_COMMAND_2(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + \ + class CommandName final : public Command \ + { \ + public: \ + CommandName( \ + Type1 const& In##Param1 \ + , Type2 const& In##Param2 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2)) }; + +#define ENCODE_COMMAND_3(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + \ + class CommandName final : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3)) }; + +#define ENCODE_COMMAND_4(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4)) }; + +#define ENCODE_COMMAND_5(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + , Type5 const &In##Param5 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + , Param5(In##Param5) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5)) }; + +#define ENCODE_COMMAND_6(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + , Type5 const &In##Param5 \ + , Type6 const &In##Param6 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + , Param5(In##Param5) \ + , Param6(In##Param6) \ + { \ + } \ + virtual void Execute() noexcept \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6)) }; + +#define ENCODE_COMMAND_7(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + using Type7 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + , Type5 const &In##Param5 \ + , Type6 const &In##Param6 \ + , Type7 const &In##Param7 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + , Param5(In##Param5) \ + , Param6(In##Param6) \ + , Param7(In##Param7) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual const char* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + Type7 Param7; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7)) }; + +#define ENCODE_COMMAND_8(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Param8, Value8, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + using Type7 = std::decay::type; \ + using Type8 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + , Type5 const &In##Param5 \ + , Type6 const &In##Param6 \ + , Type7 const &In##Param7 \ + , Type8 const &In##Param8 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + , Param5(In##Param5) \ + , Param6(In##Param6) \ + , Param7(In##Param7) \ + , Param8(In##Param8) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + Type7 Param7; \ + Type8 Param8; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8)) }; diff --git a/native/cocos/renderer/core/thread/ConditionVariable.cpp b/native/cocos/renderer/core/thread/ConditionVariable.cpp new file mode 100644 index 0000000000..9b703a697f --- /dev/null +++ b/native/cocos/renderer/core/thread/ConditionVariable.cpp @@ -0,0 +1,17 @@ +#include "ConditionVariable.h" + +void ConditionVariable::Wait() noexcept +{ + std::unique_lock lock(mMutex); + mCV.wait(lock); +} + +void ConditionVariable::Signal() noexcept +{ + mCV.notify_one(); +} + +void ConditionVariable::SignalAll() noexcept +{ + mCV.notify_all(); +} diff --git a/native/cocos/renderer/core/thread/ConditionVariable.h b/native/cocos/renderer/core/thread/ConditionVariable.h new file mode 100644 index 0000000000..2f7578ded6 --- /dev/null +++ b/native/cocos/renderer/core/thread/ConditionVariable.h @@ -0,0 +1,19 @@ +#pragma once + +#include +#include +#include + +class ConditionVariable final +{ +public: + + void Wait() noexcept; + void Signal() noexcept; + void SignalAll() noexcept; + +private: + + std::mutex mMutex; + std::condition_variable mCV; +}; diff --git a/native/cocos/renderer/core/thread/Event.h b/native/cocos/renderer/core/thread/Event.h new file mode 100644 index 0000000000..e35a795d2e --- /dev/null +++ b/native/cocos/renderer/core/thread/Event.h @@ -0,0 +1,21 @@ +#pragma once + +#include "ConditionVariable.h" +#include "Semaphore.h" + +template +class Event final +{ +public: + + inline void Wait() noexcept { mSyncObject.Wait(); } + inline void Signal() noexcept { mSyncObject.Signal(); }; + inline void SignalAll() noexcept { mSyncObject.SignalAll(); } + +private: + + T mSyncObject {}; +}; + +using EventCV = Event; +using EventSem = Event; diff --git a/native/cocos/renderer/core/thread/ReadWriteLock.cpp b/native/cocos/renderer/core/thread/ReadWriteLock.cpp new file mode 100644 index 0000000000..917ef37354 --- /dev/null +++ b/native/cocos/renderer/core/thread/ReadWriteLock.cpp @@ -0,0 +1 @@ +#include "ReadWriteLock.h" diff --git a/native/cocos/renderer/core/thread/ReadWriteLock.h b/native/cocos/renderer/core/thread/ReadWriteLock.h new file mode 100644 index 0000000000..a013256776 --- /dev/null +++ b/native/cocos/renderer/core/thread/ReadWriteLock.h @@ -0,0 +1,32 @@ +#pragma once + +#include + +class ReadWriteLock final +{ +public: + + template + auto LockRead(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)); + + template + auto LockWrite(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)); + +private: + + boost::shared_mutex mMutex; +}; + +template +auto ReadWriteLock::LockRead(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)) +{ + boost::shared_lock lock(mMutex); + return func(std::forward(args)...); +} + +template +auto ReadWriteLock::LockWrite(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)) +{ + boost::lock_guard lock(mMutex); + return func(std::forward(args)...); +} diff --git a/native/cocos/renderer/core/thread/Semaphore.cpp b/native/cocos/renderer/core/thread/Semaphore.cpp new file mode 100644 index 0000000000..570b6496ea --- /dev/null +++ b/native/cocos/renderer/core/thread/Semaphore.cpp @@ -0,0 +1,69 @@ +#include "Semaphore.h" + +#ifdef _WINDOWS + +Semaphore::Semaphore() noexcept +{ + mSemaphore = CreateSemaphore(nullptr, 0, 0xFFFFFFFF, nullptr); +} + +Semaphore::~Semaphore() +{ + CloseHandle(mSemaphore); +} + +void Semaphore::Wait() noexcept +{ + WaitForSingleObject(mSemaphore, 0xFFFFFFFF); +} + +void Semaphore::Signal() noexcept +{ + ReleaseSemaphore(mSemaphore, 1, nullptr); +} + +#elif defined(__APPLE__) + +Semaphore::Semaphore() noexcept +{ + mSemaphore = dispatch_semaphore_create(0); +} + +Semaphore::~Semaphore() +{ + dispatch_release(mSemaphore); +} + +void Semaphore::Wait() noexcept +{ + dispatch_semaphore_wait(mSemaphore, DISPATCH_TIME_FOREVER); +} + +void Semaphore::Signal() noexcept +{ + dispatch_semaphore_signal(mSemaphore); +} + +#else // Android + +Semaphore::Semaphore() noexcept +{ + sem_init(&mSemaphore, 0, 0); +} + +Semaphore::~Semaphore() +{ + sem_destroy(&mSemaphore); +} + +void Semaphore::Wait() noexcept +{ + sem_wait(&mSemaphore); +} + +void Semaphore::Signal() noexcept +{ + sem_post(&mSemaphore); +} + +#endif diff --git a/native/cocos/renderer/core/thread/Semaphore.h b/native/cocos/renderer/core/thread/Semaphore.h new file mode 100644 index 0000000000..9544524531 --- /dev/null +++ b/native/cocos/renderer/core/thread/Semaphore.h @@ -0,0 +1,29 @@ +#pragma once + +#include +#ifdef _WINDOWS +#include +using NativeSemaphoreType = HANDLE; +#elif defined(__APPLE__) +#include +using NativeSemaphoreType = dispatch_semaphore_t; +#else // Android +#include +using NativeSemaphoreType = sem_t; +#endif + +class Semaphore final +{ +public: + + Semaphore() noexcept; + ~Semaphore(); + + void Wait() noexcept; + void Signal() noexcept; + void SignalAll() noexcept { assert(false); } + +private: + + NativeSemaphoreType mSemaphore; +}; diff --git a/native/cocos/renderer/core/thread/ThreadPool.cpp b/native/cocos/renderer/core/thread/ThreadPool.cpp new file mode 100644 index 0000000000..7ae87d5370 --- /dev/null +++ b/native/cocos/renderer/core/thread/ThreadPool.cpp @@ -0,0 +1,61 @@ +#include "ThreadPool.h" + +uint8_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); +uint8_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; + +void ThreadPool::Start() noexcept +{ + if (mRunning) + { + return; + } + + mRunning = true; + + for (uint8_t i = 0; i < kMaxThreadCount; ++i) + { + AddThread(); + } +} + +void ThreadPool::Stop() noexcept +{ + if (! mRunning) + { + return; + } + + mRunning = false; + mEvent.SignalAll(); + + for (auto& worker : mWorkers) + { + if (worker.joinable()) + { + worker.join(); + } + } + + mWorkers.clear(); +} + +void ThreadPool::AddThread() noexcept +{ + assert(mWorkers.size() < kMaxThreadCount); + + auto workerLoop = [this]() + { + while (mRunning) + { + if (! mTasks.consume_one([](Task const& task) + { + task(); + })) + { + mEvent.Wait(); + } + } + }; + + mWorkers.emplace_back(workerLoop); +} diff --git a/native/cocos/renderer/core/thread/ThreadPool.h b/native/cocos/renderer/core/thread/ThreadPool.h new file mode 100644 index 0000000000..94fc577f21 --- /dev/null +++ b/native/cocos/renderer/core/thread/ThreadPool.h @@ -0,0 +1,61 @@ +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include "boost/lockfree/stack.hpp" +#include "Event.h" + +class ThreadPool final +{ +public: + + using Task = std::function; + + static uint8_t const kCpuCoreCount; + static uint8_t const kMaxThreadCount; + + ThreadPool() noexcept = default; + ~ThreadPool() = default; + ThreadPool(ThreadPool const&) = delete; + ThreadPool(ThreadPool&&) = delete; + ThreadPool& operator=(ThreadPool const&) = delete; + ThreadPool& operator=(ThreadPool&&) = delete; + + template + auto DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))>; + void Start() noexcept; + void Stop() noexcept; + +private: + + using Event = EventCV; + + void AddThread() noexcept; + + boost::lockfree::stack mTasks { 64 }; + std::list mWorkers {}; + Event mEvent {}; + std::atomic mRunning { false }; + uint8_t mWorkerCount { kMaxThreadCount }; +}; + +template +auto ThreadPool::DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))> +{ + assert(mRunning); + + using ReturnType = decltype(func(std::forward(args)...)); + auto task = std::make_shared>(std::bind(std::forward(func), std::forward(args)...)); + mTasks.push([task]() + { + (*task)(); + }); + mEvent.Signal(); + return task->get_future(); +} diff --git a/native/cocos/renderer/core/thread/ThreadSafeCounter.h b/native/cocos/renderer/core/thread/ThreadSafeCounter.h new file mode 100644 index 0000000000..3fae30bdcd --- /dev/null +++ b/native/cocos/renderer/core/thread/ThreadSafeCounter.h @@ -0,0 +1,22 @@ +#pragma once + +#include +#include + +template >> +class ThreadSafeCounter final +{ +public: + + inline T Increment() noexcept { return Add(1); } + inline T Add(T const v) noexcept { return mCounter.fetch_add(v, std::memory_order_relaxed); } + inline T Decrement() noexcept { return Subtract(1); } + inline T Subtract(T const v) noexcept { return mCounter.fetch_sub(v, std::memory_order_relaxed); } + inline T Set(T const v) noexcept { return mCounter.store(v, std::memory_order_relaxed); } + inline T Get() const noexcept { return mCounter.load(std::memory_order_relaxed); } + inline T Reset() noexcept { Set(0); } + +private: + + std::atomic mCounter { 0 }; +}; diff --git a/native/cocos/renderer/gfx-gles2/CMakeLists.txt b/native/cocos/renderer/gfx-gles2/CMakeLists.txt index 8fc703b414..fd141243a0 100644 --- a/native/cocos/renderer/gfx-gles2/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles2/CMakeLists.txt @@ -9,7 +9,6 @@ set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/glsl_optimizer/src ${GFX_EXTERNAL_PATH}/glsl_optimizer/src/mesa ${GFX_EXTERNAL_PATH}/boost - ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/renderer/core ${COCOS_SRC_PATH}/renderer/gfx-gles2 ) diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index 90b7d9c87d..44aaff17e3 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -9,7 +9,6 @@ set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/glsl_optimizer/src ${GFX_EXTERNAL_PATH}/glsl_optimizer/src/mesa ${GFX_EXTERNAL_PATH}/boost - ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/renderer/core ${COCOS_SRC_PATH}/renderer/gfx-gles3 ) @@ -91,7 +90,3 @@ set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES3_d) use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/GLES3Std.h" "${CMAKE_CURRENT_SOURCE_DIR}/GLES3Std.cpp" SOURCE_CPP_FILES) message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/renderer/gfx-metal/CMakeLists.txt b/native/cocos/renderer/gfx-metal/CMakeLists.txt index ba33740d23..baf37d3afd 100644 --- a/native/cocos/renderer/gfx-metal/CMakeLists.txt +++ b/native/cocos/renderer/gfx-metal/CMakeLists.txt @@ -5,13 +5,11 @@ message(STATUS "Target: ${TARGET_NAME}...") # --------------------------------------------------------------------- # set include files -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/khronos - ${GFX_EXTERNAL_PATH}/boost - ${GFX_EXTERNAL_PATH}/concurrentqueue - ${COCOS_SRC_PATH}/base - ${COCOS_SRC_PATH}/renderer/core - ${COCOS_SRC_PATH}/renderer/gfx-metal +set(INCLUDE_FILES + ${GFX_EXTERNAL_PATH}/khronos + ${GFX_EXTERNAL_PATH}/boost + ${COCOS_SRC_PATH}/renderer/core + ${COCOS_SRC_PATH}/renderer/gfx-metal ) include_directories( ${INCLUDE_FILES} ) diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt index 2cd72ff087..87559c2ef1 100644 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt @@ -7,8 +7,6 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/khronos ${GFX_EXTERNAL_PATH}/boost - ${GFX_EXTERNAL_PATH}/tbb/include - ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_EXTERNAL_PATH}/win32/include/glslang ${COCOS_SRC_PATH}/renderer/core ${COCOS_SRC_PATH}/renderer/gfx-vulkan diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index b3b44ab419..2cc67f1bdc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -290,12 +290,13 @@ bool CCVKContext::initialize(const ContextInfo &info) { EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { if (_gpuContext && _gpuContext->vkSurface != VK_NULL_HANDLE) { + CCVKDevice* device = (CCVKDevice*)_device; CCVKQueue *queue = (CCVKQueue *)device->getQueue(); - uint fenceCount = device->gpuFencePool()->size(); - if (fenceCount) { - VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, fenceCount, - device->gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); + if (!queue->gpuQueue()->fences.empty()) { + VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, queue->gpuQueue()->fences.size(), + queue->gpuQueue()->fences.data(), VK_TRUE, DEFAULT_TIMEOUT)); + queue->gpuQueue()->fences.clear(); } device->destroySwapchain(); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 909dc15fa4..7f53265c4e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -480,15 +480,19 @@ void CCVKDevice::acquire() { queue->gpuQueue()->nextWaitSemaphore = VK_NULL_HANDLE; queue->gpuQueue()->nextSignalSemaphore = VK_NULL_HANDLE; - _gpuBufferHub->flush(); - _gpuDescriptorSetHub->flush(); - _gpuSemaphorePool->reset(); VkSemaphore acquireSemaphore = _gpuSemaphorePool->alloc(); VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); - assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); + // reset everything only when no pending commands + if (_gpuTransportHub->empty() && !((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { + _gpuFencePool->reset(); + _gpuRecycleBin->clear(); + _gpuDescriptorSetPool->reset(); + _gpuCommandBufferPool->reset(); + _gpuStagingBufferPool->reset(); + } queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; queue->gpuQueue()->nextSignalSemaphore = _gpuSemaphorePool->alloc(); From c2e159e123c11a7d46c3946bcec35c171f6c98d7 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 16 Nov 2020 20:38:44 +0800 Subject: [PATCH 002/270] Improve and fix mac make lists --- native/cocos/renderer/core/Core.h | 29 +----------- native/cocos/renderer/gfx-gles3/GLES3Std.h | 45 ------------------- .../cocos/renderer/gfx-metal/CMakeLists.txt | 9 ++-- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 2 - 4 files changed, 7 insertions(+), 78 deletions(-) diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index ab10e4a950..f768e7239c 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -1,26 +1,3 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ #pragma once #include "CoreStd.h" @@ -46,7 +23,5 @@ THE SOFTWARE. #include "gfx/GFXPipelineLayout.h" #include "gfx/GFXPipelineState.h" #include "gfx/GFXQueue.h" -#include "gfx/GFXRenderPass.h" -#include "gfx/GFXSampler.h" -#include "gfx/GFXShader.h" -#include "gfx/GFXTexture.h" +#include "gfx/GFXCommand.h" +#include "gfx/GFXCommandPool.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Std.h b/native/cocos/renderer/gfx-gles3/GLES3Std.h index cefd910876..375ee94f06 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Std.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Std.h @@ -1,26 +1,3 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ #pragma once #include @@ -38,25 +15,3 @@ THE SOFTWARE. #else #define CC_GLES3_API #endif - -#if CC_DEBUG > 0 -#define GL_CHECK(x) \ - do { \ - x; GLenum err = glGetError(); \ - if (err != GL_NO_ERROR) { \ - CC_LOG_ERROR("%s returned GL error: 0x%x", #x, err); \ - CCASSERT(0, "GL error"); \ - } \ - } while (0) -#define EGL_CHECK(x) \ - do { \ - x; EGLint err = eglGetError(); \ - if (err != EGL_SUCCESS) { \ - CC_LOG_ERROR("%s returned EGL error: 0x%x", #x, err); \ - CCASSERT(0, "EGL error"); \ - } \ - } while (0) -#else -#define GL_CHECK(x) x -#define EGL_CHECK(x) x -#endif diff --git a/native/cocos/renderer/gfx-metal/CMakeLists.txt b/native/cocos/renderer/gfx-metal/CMakeLists.txt index baf37d3afd..b81d80d992 100644 --- a/native/cocos/renderer/gfx-metal/CMakeLists.txt +++ b/native/cocos/renderer/gfx-metal/CMakeLists.txt @@ -6,10 +6,11 @@ message(STATUS "Target: ${TARGET_NAME}...") # set include files set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/khronos - ${GFX_EXTERNAL_PATH}/boost - ${COCOS_SRC_PATH}/renderer/core - ${COCOS_SRC_PATH}/renderer/gfx-metal + ${GFX_EXTERNAL_PATH}/khronos + ${GFX_EXTERNAL_PATH}/boost + ${COCOS_SRC_PATH}/base + ${COCOS_SRC_PATH}/renderer/core + ${COCOS_SRC_PATH}/renderer/gfx-metal ) include_directories( ${INCLUDE_FILES} ) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index bc2c34d368..3f8e695b86 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -30,8 +30,6 @@ THE SOFTWARE. #include "MTLCommandBuffer.h" #include "MTLDevice.h" #include "MTLUtils.h" -#include "MTLRenderCommandEncoder.h" -#import namespace cc { namespace gfx { From d9d4d71908851305e8eded22e904103700f6dae3 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 16 Nov 2020 20:47:50 +0800 Subject: [PATCH 003/270] formatting --- native/.gitignore | 7 +- native/cocos/platform/mac/View.h | 36 - native/cocos/renderer/core/Core.h | 3 +- .../core/thread/ConditionVariable.cpp | 40 +- .../renderer/core/thread/ConditionVariable.h | 44 +- native/cocos/renderer/core/thread/Event.h | 48 +- ...{CommandBuffer.cpp => ExecutionBuffer.cpp} | 582 ++++---- .../{CommandBuffer.h => ExecutionBuffer.h} | 1233 +++++++++-------- .../renderer/core/thread/ReadWriteLock.h | 70 +- .../cocos/renderer/core/thread/Semaphore.cpp | 144 +- native/cocos/renderer/core/thread/Semaphore.h | 64 +- .../cocos/renderer/core/thread/ThreadPool.cpp | 128 +- .../cocos/renderer/core/thread/ThreadPool.h | 128 +- .../renderer/core/thread/ThreadSafeCounter.h | 50 +- 14 files changed, 1305 insertions(+), 1272 deletions(-) delete mode 100644 native/cocos/platform/mac/View.h rename native/cocos/renderer/core/thread/{CommandBuffer.cpp => ExecutionBuffer.cpp} (73%) rename native/cocos/renderer/core/thread/{CommandBuffer.h => ExecutionBuffer.h} (94%) diff --git a/native/.gitignore b/native/.gitignore index 0c86a8785e..3c1ed23e2c 100644 --- a/native/.gitignore +++ b/native/.gitignore @@ -169,5 +169,8 @@ next*.zip build/* out - -CMakeSettings.json + +CMakeSettings.json + +cocos/platform/mac/View.h +cocos/platform/mac/View.mm diff --git a/native/cocos/platform/mac/View.h b/native/cocos/platform/mac/View.h deleted file mode 100644 index 6f3f71ee3d..0000000000 --- a/native/cocos/platform/mac/View.h +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - ****************************************************************************/ -#ifdef CC_USE_METAL - #import -#else - #import -#endif - -#ifdef CC_USE_METAL -@interface View : MTKView -#else -@interface View : NSView -#endif - -@end diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index f768e7239c..fa5b67387e 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -5,7 +5,8 @@ #include "base/CachedArray.h" #include "base/StringUtil.h" -#include "Thread/ThreadPool.h" +#include "thread/ThreadPool.h" +#include "thread/ExecutionBuffer.h" #include "gfx/GFXDevice.h" #include "gfx/GFXContext.h" diff --git a/native/cocos/renderer/core/thread/ConditionVariable.cpp b/native/cocos/renderer/core/thread/ConditionVariable.cpp index 9b703a697f..aed7e0f168 100644 --- a/native/cocos/renderer/core/thread/ConditionVariable.cpp +++ b/native/cocos/renderer/core/thread/ConditionVariable.cpp @@ -1,17 +1,23 @@ -#include "ConditionVariable.h" - -void ConditionVariable::Wait() noexcept -{ - std::unique_lock lock(mMutex); - mCV.wait(lock); -} - -void ConditionVariable::Signal() noexcept -{ - mCV.notify_one(); -} - -void ConditionVariable::SignalAll() noexcept -{ - mCV.notify_all(); -} +#include "ConditionVariable.h" + +namespace cc { +namespace gfx { + +void ConditionVariable::Wait() noexcept +{ + std::unique_lock lock(mMutex); + mCV.wait(lock); +} + +void ConditionVariable::Signal() noexcept +{ + mCV.notify_one(); +} + +void ConditionVariable::SignalAll() noexcept +{ + mCV.notify_all(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/ConditionVariable.h b/native/cocos/renderer/core/thread/ConditionVariable.h index 2f7578ded6..a152a57df1 100644 --- a/native/cocos/renderer/core/thread/ConditionVariable.h +++ b/native/cocos/renderer/core/thread/ConditionVariable.h @@ -1,19 +1,25 @@ -#pragma once - -#include -#include -#include - -class ConditionVariable final -{ -public: - - void Wait() noexcept; - void Signal() noexcept; - void SignalAll() noexcept; - -private: - - std::mutex mMutex; - std::condition_variable mCV; -}; +#pragma once + +#include +#include +#include + +namespace cc { +namespace gfx { + +class ConditionVariable final +{ +public: + + void Wait() noexcept; + void Signal() noexcept; + void SignalAll() noexcept; + +private: + + std::mutex mMutex; + std::condition_variable mCV; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/Event.h b/native/cocos/renderer/core/thread/Event.h index e35a795d2e..a0914d67aa 100644 --- a/native/cocos/renderer/core/thread/Event.h +++ b/native/cocos/renderer/core/thread/Event.h @@ -1,21 +1,27 @@ -#pragma once - -#include "ConditionVariable.h" -#include "Semaphore.h" - -template -class Event final -{ -public: - - inline void Wait() noexcept { mSyncObject.Wait(); } - inline void Signal() noexcept { mSyncObject.Signal(); }; - inline void SignalAll() noexcept { mSyncObject.SignalAll(); } - -private: - - T mSyncObject {}; -}; - -using EventCV = Event; -using EventSem = Event; +#pragma once + +#include "ConditionVariable.h" +#include "Semaphore.h" + +namespace cc { +namespace gfx { + +template +class Event final +{ +public: + + inline void Wait() noexcept { mSyncObject.Wait(); } + inline void Signal() noexcept { mSyncObject.Signal(); }; + inline void SignalAll() noexcept { mSyncObject.SignalAll(); } + +private: + + T mSyncObject {}; +}; + +using EventCV = Event; +using EventSem = Event; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/CommandBuffer.cpp b/native/cocos/renderer/core/thread/ExecutionBuffer.cpp similarity index 73% rename from native/cocos/renderer/core/thread/CommandBuffer.cpp rename to native/cocos/renderer/core/thread/ExecutionBuffer.cpp index 9de5886dd9..0fba47a948 100644 --- a/native/cocos/renderer/core/thread/CommandBuffer.cpp +++ b/native/cocos/renderer/core/thread/ExecutionBuffer.cpp @@ -1,288 +1,294 @@ -#include "CommandBuffer.h" -#include - -namespace -{ -uint32_t constexpr kMemoryChunkSize = 4096 * 16; -uint32_t constexpr kMemoryChunkPoolCapacity = 64; -uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); -} - -CommandBuffer::MemoryAllocator& CommandBuffer::MemoryAllocator::GetInstance() noexcept -{ - static CommandBuffer::MemoryAllocator instance; - return instance; -} - -uint8_t* CommandBuffer::MemoryAllocator::Request() noexcept -{ - uint8_t* newChunk = nullptr; - - if (mChunkPool.pop(newChunk)) - { - mChunkCount.fetch_sub(1, std::memory_order_acq_rel); - } - else - { - newChunk = MemoryAllocateForMultiThread(kMemoryChunkSize); - } - - return newChunk; -} - -void CommandBuffer::MemoryAllocator::Recycle(uint8_t* const chunk, bool const freeByUser) noexcept -{ - if (freeByUser) - { - mChunkFreeQueue.push(chunk); - } - else - { - Free(chunk); - } -} - -void CommandBuffer::MemoryAllocator::Free(uint8_t* const chunk) noexcept -{ - if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) - { - MemoryFreeForMultiThread(chunk); - } - else - { - mChunkPool.push(chunk); - mChunkCount.fetch_add(1, std::memory_order_acq_rel); - } -} - -CommandBuffer::CommandBuffer() -{ - uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); - - mW.mCurrentMemoryChunk = chunk; - mR.mCurrentMemoryChunk = chunk; - - // 分配一个头节点 不要被Execute - Command* const cmd = Allocate(1); - PushCommands(); - PullCommands(); - mR.mLastCommand = cmd; - --mR.mNewCommandCount; -} - -void CommandBuffer::Kick() noexcept -{ - PushCommands(); - mN.Signal(); -} - -void CommandBuffer::KickAndWait() noexcept -{ - EventSem event; - EventSem* const pEvent = &event; - - ENCODE_COMMAND_1(this, WaitUntilFinish, - pEvent, pEvent, - { - pEvent->Signal(); - }); - - Kick(); - event.Wait(); -} - -void CommandBuffer::RunConsumerThread() noexcept -{ - if (mWorkerAttached) - { - return; - } - - std::thread consumerThread(std::bind(&CommandBuffer::ConsumerThreadLoop, this)); - consumerThread.detach(); - mWorkerAttached = true; -} - -void CommandBuffer::TerminateConsumerThread() noexcept -{ - if (! mWorkerAttached) - { - return; - } - - EventSem event; - EventSem* const pEvent = &event; - - ReaderContext* const pR = &mR; - ENCODE_COMMAND_2( - this, TerminateConsumerThread, - pR, pR, - pEvent, pEvent, - { - pR->mTerminateConsumerThread = true; - pR->mFlushingFinished = true; - pEvent->Signal(); - }); - - Kick(); - event.Wait(); -} - -void CommandBuffer::FinishWriting() noexcept -{ - bool* const flushingFinished = &mR.mFlushingFinished; - - ENCODE_COMMAND_1(this, FinishWriting, - flushingFinished, flushingFinished, - { - *flushingFinished = true; - }); - - Kick(); -} - -void CommandBuffer::RecycleMemoryChunk(uint8_t* const chunk) const noexcept -{ - CommandBuffer::MemoryAllocator::GetInstance().Recycle(chunk, mFreeChunksByUser); -} - -void CommandBuffer::FreeChunksInFreeQueue() noexcept -{ - // TODO -} - -uint8_t* CommandBuffer::AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept -{ - uint32_t const alignedSize = Align(requestSize, 16); - assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // 一个Command直接把整个Chunk填满了 - - uint32_t const newOffset = mW.mOffset + alignedSize; - - if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) - { - allocatedSize = alignedSize; - uint8_t* const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; - mW.mOffset = newOffset; - return allocatedMemory; - } - else - { - uint8_t* const newChunk = CommandBuffer::MemoryAllocator::GetInstance().Request(); - MemoryChunkSwitchCommand* const switchCommand = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - new(switchCommand) MemoryChunkSwitchCommand(this, newChunk, mW.mCurrentMemoryChunk); - switchCommand->mNext = reinterpret_cast(newChunk); // 注意这里还指向原位置 - mW.mLastCommand = switchCommand; - ++mW.mPendingCommandCount; - mW.mCurrentMemoryChunk = newChunk; - mW.mOffset = 0; - - DummyCommand* const head = Allocate(1); - new(head) DummyCommand; - - if (mImmediateMode) - { - PushCommands(); - PullCommands(); - ExecuteCommand(); - ExecuteCommand(); - } - - return AllocateImpl(allocatedSize, requestSize); - } -} - -void CommandBuffer::PushCommands() noexcept -{ - mW.mWrittenCommandCount.fetch_add(mW.mPendingCommandCount, std::memory_order_acq_rel); - mW.mPendingCommandCount = 0; -} - -void CommandBuffer::PullCommands() noexcept -{ - uint32_t const writtenCommandCountNew = mW.mWrittenCommandCount.load(std::memory_order_acquire); - mR.mNewCommandCount = writtenCommandCountNew - mR.mWrittenCommandCountSnap; - mR.mWrittenCommandCountSnap = writtenCommandCountNew; -} - -void CommandBuffer::FlushCommands() noexcept -{ - while (! mR.mFlushingFinished) - { - ExecuteCommand(); - } - - mR.mFlushingFinished = false; -} - -void CommandBuffer::ExecuteCommand() noexcept -{ - Command* const cmd = ReadCommand(); - - if (! cmd) - { - return; - } - - cmd->Execute(); - cmd->~Command(); -} - -Command* CommandBuffer::ReadCommand() noexcept -{ - while (! HasNewCommand()) - { - // 如果当前没有可读的Command 尝试同步一下生产者线程的数据 - PullCommands(); - - // 如果依然没有 挂起消费者线程 等待生产者线程填充Command并唤醒消费者线程 - if (! HasNewCommand()) - { - mN.Wait(); - } - - PullCommands(); - } - - Command* const cmd = mR.mLastCommand->GetNext(); - mR.mLastCommand = cmd; - --mR.mNewCommandCount; - return cmd; -} - -void CommandBuffer::ConsumerThreadLoop() noexcept -{ - while (! mR.mTerminateConsumerThread) - { - FlushCommands(); - } - - mWorkerAttached = false; -} - -char const* DummyCommand::GetName() const noexcept -{ - return "Dummy"; -} - -MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(CommandBuffer* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept - : mCommandBuffer(cb) - , mNewChunk(newChunk) - , mOldChunk(oldChunk) -{ -} - -MemoryChunkSwitchCommand::~MemoryChunkSwitchCommand() -{ - mCommandBuffer->RecycleMemoryChunk(mOldChunk); -} - -void MemoryChunkSwitchCommand::Execute() noexcept -{ - mCommandBuffer->mR.mCurrentMemoryChunk = mNewChunk; - mCommandBuffer->PullCommands(); -} - -char const* MemoryChunkSwitchCommand::GetName() const noexcept -{ - return "MemoryChunkSwitch"; -} +#include "ExecutionBuffer.h" +#include + +namespace cc { +namespace gfx { + +namespace +{ +uint32_t constexpr kMemoryChunkSize = 4096 * 16; +uint32_t constexpr kMemoryChunkPoolCapacity = 64; +uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); +} + +ExecutionBuffer::MemoryAllocator& ExecutionBuffer::MemoryAllocator::GetInstance() noexcept +{ + static ExecutionBuffer::MemoryAllocator instance; + return instance; +} + +uint8_t* ExecutionBuffer::MemoryAllocator::Request() noexcept +{ + uint8_t* newChunk = nullptr; + + if (mChunkPool.pop(newChunk)) + { + mChunkCount.fetch_sub(1, std::memory_order_acq_rel); + } + else + { + newChunk = MemoryAllocateForMultiThread(kMemoryChunkSize); + } + + return newChunk; +} + +void ExecutionBuffer::MemoryAllocator::Recycle(uint8_t* const chunk, bool const freeByUser) noexcept +{ + if (freeByUser) + { + mChunkFreeQueue.push(chunk); + } + else + { + Free(chunk); + } +} + +void ExecutionBuffer::MemoryAllocator::Free(uint8_t* const chunk) noexcept +{ + if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) + { + MemoryFreeForMultiThread(chunk); + } + else + { + mChunkPool.push(chunk); + mChunkCount.fetch_add(1, std::memory_order_acq_rel); + } +} + +ExecutionBuffer::ExecutionBuffer() +{ + uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); + + mW.mCurrentMemoryChunk = chunk; + mR.mCurrentMemoryChunk = chunk; + + // 分配一个头节点 不要被Execute + Command* const cmd = Allocate(1); + PushCommands(); + PullCommands(); + mR.mLastCommand = cmd; + --mR.mNewCommandCount; +} + +void ExecutionBuffer::Kick() noexcept +{ + PushCommands(); + mN.Signal(); +} + +void ExecutionBuffer::KickAndWait() noexcept +{ + EventSem event; + EventSem* const pEvent = &event; + + ENCODE_COMMAND_1(this, WaitUntilFinish, + pEvent, pEvent, + { + pEvent->Signal(); + }); + + Kick(); + event.Wait(); +} + +void ExecutionBuffer::RunConsumerThread() noexcept +{ + if (mWorkerAttached) + { + return; + } + + std::thread consumerThread(std::bind(&ExecutionBuffer::ConsumerThreadLoop, this)); + consumerThread.detach(); + mWorkerAttached = true; +} + +void ExecutionBuffer::TerminateConsumerThread() noexcept +{ + if (! mWorkerAttached) + { + return; + } + + EventSem event; + EventSem* const pEvent = &event; + + ReaderContext* const pR = &mR; + ENCODE_COMMAND_2( + this, TerminateConsumerThread, + pR, pR, + pEvent, pEvent, + { + pR->mTerminateConsumerThread = true; + pR->mFlushingFinished = true; + pEvent->Signal(); + }); + + Kick(); + event.Wait(); +} + +void ExecutionBuffer::FinishWriting() noexcept +{ + bool* const flushingFinished = &mR.mFlushingFinished; + + ENCODE_COMMAND_1(this, FinishWriting, + flushingFinished, flushingFinished, + { + *flushingFinished = true; + }); + + Kick(); +} + +void ExecutionBuffer::RecycleMemoryChunk(uint8_t* const chunk) const noexcept +{ + ExecutionBuffer::MemoryAllocator::GetInstance().Recycle(chunk, mFreeChunksByUser); +} + +void ExecutionBuffer::FreeChunksInFreeQueue() noexcept +{ + // TODO +} + +uint8_t* ExecutionBuffer::AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept +{ + uint32_t const alignedSize = Align(requestSize, 16); + assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // 一个Command直接把整个Chunk填满了 + + uint32_t const newOffset = mW.mOffset + alignedSize; + + if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) + { + allocatedSize = alignedSize; + uint8_t* const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; + mW.mOffset = newOffset; + return allocatedMemory; + } + else + { + uint8_t* const newChunk = ExecutionBuffer::MemoryAllocator::GetInstance().Request(); + MemoryChunkSwitchCommand* const switchCommand = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + new(switchCommand) MemoryChunkSwitchCommand(this, newChunk, mW.mCurrentMemoryChunk); + switchCommand->mNext = reinterpret_cast(newChunk); // 注意这里还指向原位置 + mW.mLastCommand = switchCommand; + ++mW.mPendingCommandCount; + mW.mCurrentMemoryChunk = newChunk; + mW.mOffset = 0; + + DummyCommand* const head = Allocate(1); + new(head) DummyCommand; + + if (mImmediateMode) + { + PushCommands(); + PullCommands(); + ExecuteCommand(); + ExecuteCommand(); + } + + return AllocateImpl(allocatedSize, requestSize); + } +} + +void ExecutionBuffer::PushCommands() noexcept +{ + mW.mWrittenCommandCount.fetch_add(mW.mPendingCommandCount, std::memory_order_acq_rel); + mW.mPendingCommandCount = 0; +} + +void ExecutionBuffer::PullCommands() noexcept +{ + uint32_t const writtenCommandCountNew = mW.mWrittenCommandCount.load(std::memory_order_acquire); + mR.mNewCommandCount = writtenCommandCountNew - mR.mWrittenCommandCountSnap; + mR.mWrittenCommandCountSnap = writtenCommandCountNew; +} + +void ExecutionBuffer::FlushCommands() noexcept +{ + while (! mR.mFlushingFinished) + { + ExecuteCommand(); + } + + mR.mFlushingFinished = false; +} + +void ExecutionBuffer::ExecuteCommand() noexcept +{ + Command* const cmd = ReadCommand(); + + if (! cmd) + { + return; + } + + cmd->Execute(); + cmd->~Command(); +} + +Command* ExecutionBuffer::ReadCommand() noexcept +{ + while (! HasNewCommand()) + { + // 如果当前没有可读的Command 尝试同步一下生产者线程的数据 + PullCommands(); + + // 如果依然没有 挂起消费者线程 等待生产者线程填充Command并唤醒消费者线程 + if (! HasNewCommand()) + { + mN.Wait(); + } + + PullCommands(); + } + + Command* const cmd = mR.mLastCommand->GetNext(); + mR.mLastCommand = cmd; + --mR.mNewCommandCount; + return cmd; +} + +void ExecutionBuffer::ConsumerThreadLoop() noexcept +{ + while (! mR.mTerminateConsumerThread) + { + FlushCommands(); + } + + mWorkerAttached = false; +} + +char const* DummyCommand::GetName() const noexcept +{ + return "Dummy"; +} + +MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(ExecutionBuffer* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept + : mCommandBuffer(cb) + , mNewChunk(newChunk) + , mOldChunk(oldChunk) +{ +} + +MemoryChunkSwitchCommand::~MemoryChunkSwitchCommand() +{ + mCommandBuffer->RecycleMemoryChunk(mOldChunk); +} + +void MemoryChunkSwitchCommand::Execute() noexcept +{ + mCommandBuffer->mR.mCurrentMemoryChunk = mNewChunk; + mCommandBuffer->PullCommands(); +} + +char const* MemoryChunkSwitchCommand::GetName() const noexcept +{ + return "MemoryChunkSwitch"; +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/CommandBuffer.h b/native/cocos/renderer/core/thread/ExecutionBuffer.h similarity index 94% rename from native/cocos/renderer/core/thread/CommandBuffer.h rename to native/cocos/renderer/core/thread/ExecutionBuffer.h index d0e5c81479..171530fc4f 100644 --- a/native/cocos/renderer/core/thread/CommandBuffer.h +++ b/native/cocos/renderer/core/thread/ExecutionBuffer.h @@ -1,614 +1,619 @@ -#pragma once - -#include -#include "boost/lockfree/queue.hpp" -#include "boost/type_traits/is_base_of.hpp" -#include "Event.h" - -// 由于系统的内存分配是从一个全局堆里申请 分配过程会上锁导致降低并行度 在多线程的环境下如果频繁的申请释放内存会降低性能 -// 所以这里先加个接口来统一调用 未来会换成单独服务于线程的无锁分配器 -template -inline T* MemoryAllocateForMultiThread(uint32_t const count) noexcept -{ - return static_cast(malloc(sizeof(T) * count)); -} - -template -inline void MemoryFreeForMultiThread(T* const p) noexcept -{ - free(p); -} - -inline uint32_t constexpr Align(uint32_t const val, uint32_t const alignment) noexcept -{ - return (val + alignment - 1) & ~(alignment-1); -} - -class Command -{ -public: - - Command() = default; - virtual ~Command() {} - Command(Command const&) = delete; - Command(Command&&) = delete; - Command& operator=(Command const&) = delete; - Command& operator=(Command&&) = delete; - - virtual void Execute() noexcept = 0; - virtual char const* GetName() const noexcept = 0; - inline Command* GetNext() const noexcept { return mNext; } - -private: - - Command* mNext { nullptr }; - - friend class CommandBuffer; -}; - -struct alignas(64) WriterContext final -{ - uint8_t* mCurrentMemoryChunk { nullptr }; - Command* mLastCommand { nullptr }; - uint32_t mOffset { 0 }; - uint32_t mPendingCommandCount { 0 }; - std::atomic mWrittenCommandCount { 0 }; -}; - -struct alignas(64) ReaderContext final -{ - uint8_t* mCurrentMemoryChunk { nullptr }; - Command* mLastCommand { nullptr }; - uint32_t mOffset { 0 }; - uint32_t mWrittenCommandCountSnap { 0 }; - uint32_t mNewCommandCount { 0 }; - bool mTerminateConsumerThread { false }; - bool mFlushingFinished { false }; -}; - -// 支持单生产者单消费者的环形缓冲区 -// 生产者线程Allocate 消费者线程Execute -// 除了Command之外 执行Command需要的数据也需要拷贝到这里 来实现线程安全的数据访问 -class alignas(64) CommandBuffer final -{ -public: - - CommandBuffer(); - ~CommandBuffer() = default; - CommandBuffer(CommandBuffer const&) = delete; - CommandBuffer(CommandBuffer&&) = delete; - CommandBuffer& operator=(CommandBuffer const&) = delete; - CommandBuffer& operator=(CommandBuffer&&) = delete; - - // 分配Command - template - std::enable_if_t::value, T*> - Allocate(uint32_t const count) noexcept; - - // 分配数据 - template - std::enable_if_t::value, T*> - Allocate(uint32_t const count) noexcept; - template - T* AllocateAndCopy(uint32_t const count, void const* data) noexcept; - template - T* AllocateAndZero(uint32_t const count) noexcept; - - // 通知消费者线程开始工作 - void Kick() noexcept; - - // 通知消费者线程开始工作并阻塞生产者线程 直到消费者线程执行完所有命令 - void KickAndWait() noexcept; - - // 只支持单消费者 - void RunConsumerThread() noexcept; - void TerminateConsumerThread() noexcept; - void FinishWriting() noexcept; - void FlushCommands() noexcept; - - inline bool IsImmediateMode() const noexcept { return mImmediateMode; } - - void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; - static void FreeChunksInFreeQueue() noexcept; - -private: - - class alignas(64) MemoryAllocator final - { - public: - - MemoryAllocator() = default; - ~MemoryAllocator() = default; - MemoryAllocator(MemoryAllocator const&) = delete; - MemoryAllocator(MemoryAllocator&&) = delete; - MemoryAllocator& operator=(MemoryAllocator const&) = delete; - MemoryAllocator& operator=(MemoryAllocator&&) = delete; - - static MemoryAllocator& GetInstance() noexcept; - uint8_t* Request() noexcept; - void Recycle(uint8_t* const chunk, bool const freeByUser) noexcept; - - private: - - void Free(uint8_t* const chunk) noexcept; - std::atomic mChunkCount { 0 }; - boost::lockfree::queue mChunkPool { 64 }; - boost::lockfree::queue mChunkFreeQueue { 64 }; - }; - - uint8_t* AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept; - void PushCommands() noexcept; - - // 在消费者线程执行 - void PullCommands() noexcept; - void ExecuteCommand() noexcept; - Command* ReadCommand() noexcept; - inline bool HasNewCommand() const noexcept { return mR.mNewCommandCount > 0 && ! mR.mFlushingFinished; } - void ConsumerThreadLoop() noexcept; - - WriterContext mW; - ReaderContext mR; - EventCV mN; - bool mImmediateMode { true }; - bool mWorkerAttached { false }; - bool mFreeChunksByUser { false }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free - - friend class MemoryChunkSwitchCommand; -}; - -class DummyCommand final : public Command -{ -public: - - virtual void Execute() noexcept override {} - virtual char const* GetName() const noexcept override; -}; - -class MemoryChunkSwitchCommand final : public Command -{ -public: - - MemoryChunkSwitchCommand(CommandBuffer* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept; - ~MemoryChunkSwitchCommand(); - - virtual void Execute() noexcept override; - virtual char const* GetName() const noexcept override; - -private: - - CommandBuffer* mCommandBuffer { nullptr }; - uint8_t* mNewChunk { nullptr }; - uint8_t* mOldChunk { nullptr }; -}; - -template -std::enable_if_t::value, T*> -CommandBuffer::Allocate(uint32_t const count) noexcept -{ - uint32_t allocatedSize = 0; - T* const cmd = reinterpret_cast(AllocateImpl(allocatedSize, sizeof(T))); - cmd->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - ++mW.mPendingCommandCount; - mW.mLastCommand = cmd; - return cmd; -} - -template -std::enable_if_t::value, T*> -CommandBuffer::Allocate(uint32_t const count) noexcept -{ - uint32_t constexpr requestSize = sizeof(T) * count; - assert(requestSize); - uint32_t allocatedSize = 0; - uint8_t* const allocatedMemory = AllocateImpl(allocatedSize, requestSize); - mW.mLastCommand->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - return reinterpret_cast(allocatedMemory); -} - -template -T* CommandBuffer::AllocateAndCopy(uint32_t const count, void const* data) noexcept -{ - T* const allocatedMemory = Allocate(count); - memcpy(allocatedMemory, data, sizeof(T) * count); - return allocatedMemory; -} - -template -T* CommandBuffer::AllocateAndZero(uint32_t const count) noexcept -{ - T* const allocatedMemory = Allocate(count); - memset(allocatedMemory, 0, sizeof(T) * count); - return allocatedMemory; -} - -// 生产者线程用来向CommandBuffer填充Command的工具宏 - -#define WRITE_COMMAND(CB, CommandName, Params) \ - { \ - if (! CB->IsImmediateMode()) \ - { \ - new (CB->Allocate(1)) CommandName Params; \ - } \ - else \ - { \ - CommandName command Params; \ - command.Execute(); \ - } \ - } - -#define ENCODE_COMMAND_0(CB, CommandName, Code) \ - class CommandName final : public Command \ - { \ - public: \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - }; \ - WRITE_COMMAND(CB, CommandName, ); - -#define ENCODE_COMMAND_1(CB, CommandName, \ - Param1, Value1, \ - Code) { \ - \ - using Type1 = std::decay::type; \ - \ - class CommandName final : public Command \ - { \ - public: \ - explicit CommandName(Type1 const& In##Param1) \ - : Param1(In##Param1) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1)) }; - -#define ENCODE_COMMAND_2(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Code) { \ - \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - \ - class CommandName final : public Command \ - { \ - public: \ - CommandName( \ - Type1 const& In##Param1 \ - , Type2 const& In##Param2 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2)) }; - -#define ENCODE_COMMAND_3(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Code) { \ - \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - \ - class CommandName final : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3)) }; - -#define ENCODE_COMMAND_4(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Code) { \ - \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4)) }; - -#define ENCODE_COMMAND_5(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Code) { \ - \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - using Type5 = std::decay::type; \ - \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - , Type5 const &In##Param5 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - , Param5(In##Param5) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - Type5 Param5; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5)) }; - -#define ENCODE_COMMAND_6(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Code) { \ - \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - using Type5 = std::decay::type; \ - using Type6 = std::decay::type; \ - \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - , Type5 const &In##Param5 \ - , Type6 const &In##Param6 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - , Param5(In##Param5) \ - , Param6(In##Param6) \ - { \ - } \ - virtual void Execute() noexcept \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - Type5 Param5; \ - Type6 Param6; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6)) }; - -#define ENCODE_COMMAND_7(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Param7, Value7, \ - Code) { \ - \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - using Type5 = std::decay::type; \ - using Type6 = std::decay::type; \ - using Type7 = std::decay::type; \ - \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - , Type5 const &In##Param5 \ - , Type6 const &In##Param6 \ - , Type7 const &In##Param7 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - , Param5(In##Param5) \ - , Param6(In##Param6) \ - , Param7(In##Param7) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual const char* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - Type5 Param5; \ - Type6 Param6; \ - Type7 Param7; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7)) }; - -#define ENCODE_COMMAND_8(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Param7, Value7, \ - Param8, Value8, \ - Code) { \ - \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - using Type5 = std::decay::type; \ - using Type6 = std::decay::type; \ - using Type7 = std::decay::type; \ - using Type8 = std::decay::type; \ - \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - , Type5 const &In##Param5 \ - , Type6 const &In##Param6 \ - , Type7 const &In##Param7 \ - , Type8 const &In##Param8 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - , Param5(In##Param5) \ - , Param6(In##Param6) \ - , Param7(In##Param7) \ - , Param8(In##Param8) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - Type5 Param5; \ - Type6 Param6; \ - Type7 Param7; \ - Type8 Param8; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8)) }; +#pragma once + +#include +#include "boost/lockfree/queue.hpp" +#include "Event.h" + +namespace cc { +namespace gfx { + +// 由于系统的内存分配是从一个全局堆里申请 分配过程会上锁导致降低并行度 在多线程的环境下如果频繁的申请释放内存会降低性能 +// 所以这里先加个接口来统一调用 未来会换成单独服务于线程的无锁分配器 +template +inline T* MemoryAllocateForMultiThread(uint32_t const count) noexcept +{ + return static_cast(malloc(sizeof(T) * count)); +} + +template +inline void MemoryFreeForMultiThread(T* const p) noexcept +{ + free(p); +} + +inline uint32_t constexpr Align(uint32_t const val, uint32_t const alignment) noexcept +{ + return (val + alignment - 1) & ~(alignment-1); +} + +class Command +{ +public: + + Command() = default; + virtual ~Command() {} + Command(Command const&) = delete; + Command(Command&&) = delete; + Command& operator=(Command const&) = delete; + Command& operator=(Command&&) = delete; + + virtual void Execute() noexcept = 0; + virtual char const* GetName() const noexcept = 0; + inline Command* GetNext() const noexcept { return mNext; } + +private: + + Command* mNext { nullptr }; + + friend class ExecutionBuffer; +}; + +struct alignas(64) WriterContext final +{ + uint8_t* mCurrentMemoryChunk { nullptr }; + Command* mLastCommand { nullptr }; + uint32_t mOffset { 0 }; + uint32_t mPendingCommandCount { 0 }; + std::atomic mWrittenCommandCount { 0 }; +}; + +struct alignas(64) ReaderContext final +{ + uint8_t* mCurrentMemoryChunk { nullptr }; + Command* mLastCommand { nullptr }; + uint32_t mOffset { 0 }; + uint32_t mWrittenCommandCountSnap { 0 }; + uint32_t mNewCommandCount { 0 }; + bool mTerminateConsumerThread { false }; + bool mFlushingFinished { false }; +}; + +// 支持单生产者单消费者的环形缓冲区 +// 生产者线程Allocate 消费者线程Execute +// 除了Command之外 执行Command需要的数据也需要拷贝到这里 来实现线程安全的数据访问 +class alignas(64) ExecutionBuffer final +{ +public: + + ExecutionBuffer(); + ~ExecutionBuffer() = default; + ExecutionBuffer(ExecutionBuffer const&) = delete; + ExecutionBuffer(ExecutionBuffer&&) = delete; + ExecutionBuffer& operator=(ExecutionBuffer const&) = delete; + ExecutionBuffer& operator=(ExecutionBuffer&&) = delete; + + // 分配Command + template + std::enable_if_t::value, T*> + Allocate(uint32_t const count) noexcept; + + // 分配数据 + template + std::enable_if_t::value, T*> + Allocate(uint32_t const count) noexcept; + template + T* AllocateAndCopy(uint32_t const count, void const* data) noexcept; + template + T* AllocateAndZero(uint32_t const count) noexcept; + + // 通知消费者线程开始工作 + void Kick() noexcept; + + // 通知消费者线程开始工作并阻塞生产者线程 直到消费者线程执行完所有命令 + void KickAndWait() noexcept; + + // 只支持单消费者 + void RunConsumerThread() noexcept; + void TerminateConsumerThread() noexcept; + void FinishWriting() noexcept; + void FlushCommands() noexcept; + + inline bool IsImmediateMode() const noexcept { return mImmediateMode; } + + void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; + static void FreeChunksInFreeQueue() noexcept; + +private: + + class alignas(64) MemoryAllocator final + { + public: + + MemoryAllocator() = default; + ~MemoryAllocator() = default; + MemoryAllocator(MemoryAllocator const&) = delete; + MemoryAllocator(MemoryAllocator&&) = delete; + MemoryAllocator& operator=(MemoryAllocator const&) = delete; + MemoryAllocator& operator=(MemoryAllocator&&) = delete; + + static MemoryAllocator& GetInstance() noexcept; + uint8_t* Request() noexcept; + void Recycle(uint8_t* const chunk, bool const freeByUser) noexcept; + + private: + + void Free(uint8_t* const chunk) noexcept; + std::atomic mChunkCount { 0 }; + boost::lockfree::queue mChunkPool { 64 }; + boost::lockfree::queue mChunkFreeQueue { 64 }; + }; + + uint8_t* AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept; + void PushCommands() noexcept; + + // 在消费者线程执行 + void PullCommands() noexcept; + void ExecuteCommand() noexcept; + Command* ReadCommand() noexcept; + inline bool HasNewCommand() const noexcept { return mR.mNewCommandCount > 0 && ! mR.mFlushingFinished; } + void ConsumerThreadLoop() noexcept; + + WriterContext mW; + ReaderContext mR; + EventCV mN; + bool mImmediateMode { false }; + bool mWorkerAttached { false }; + bool mFreeChunksByUser { false }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free + + friend class MemoryChunkSwitchCommand; +}; + +class DummyCommand final : public Command +{ +public: + + virtual void Execute() noexcept override {} + virtual char const* GetName() const noexcept override; +}; + +class MemoryChunkSwitchCommand final : public Command +{ +public: + + MemoryChunkSwitchCommand(ExecutionBuffer* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept; + ~MemoryChunkSwitchCommand(); + + virtual void Execute() noexcept override; + virtual char const* GetName() const noexcept override; + +private: + + ExecutionBuffer* mCommandBuffer {nullptr }; + uint8_t* mNewChunk { nullptr }; + uint8_t* mOldChunk { nullptr }; +}; + +template +std::enable_if_t::value, T*> +ExecutionBuffer::Allocate(uint32_t const count) noexcept +{ + uint32_t allocatedSize = 0; + T* const cmd = reinterpret_cast(AllocateImpl(allocatedSize, sizeof(T))); + cmd->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + ++mW.mPendingCommandCount; + mW.mLastCommand = cmd; + return cmd; +} + +template +std::enable_if_t::value, T*> +ExecutionBuffer::Allocate(uint32_t const count) noexcept +{ + uint32_t constexpr requestSize = sizeof(T) * count; + assert(requestSize); + uint32_t allocatedSize = 0; + uint8_t* const allocatedMemory = AllocateImpl(allocatedSize, requestSize); + mW.mLastCommand->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + return reinterpret_cast(allocatedMemory); +} + +template +T* ExecutionBuffer::AllocateAndCopy(uint32_t const count, void const* data) noexcept +{ + T* const allocatedMemory = Allocate(count); + memcpy(allocatedMemory, data, sizeof(T) * count); + return allocatedMemory; +} + +template +T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept +{ + T* const allocatedMemory = Allocate(count); + memset(allocatedMemory, 0, sizeof(T) * count); + return allocatedMemory; +} + +// 生产者线程用来向CommandBuffer填充Command的工具宏 + +#define WRITE_COMMAND(CB, CommandName, Params) \ + { \ + if (! CB->IsImmediateMode()) \ + { \ + new (CB->Allocate(1)) CommandName Params; \ + } \ + else \ + { \ + CommandName command Params; \ + command.Execute(); \ + } \ + } + +#define ENCODE_COMMAND_0(CB, CommandName, Code) \ + class CommandName final : public Command \ + { \ + public: \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + }; \ + WRITE_COMMAND(CB, CommandName, ); + +#define ENCODE_COMMAND_1(CB, CommandName, \ + Param1, Value1, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + \ + class CommandName final : public Command \ + { \ + public: \ + explicit CommandName(Type1 const& In##Param1) \ + : Param1(In##Param1) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1)) }; + +#define ENCODE_COMMAND_2(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + \ + class CommandName final : public Command \ + { \ + public: \ + CommandName( \ + Type1 const& In##Param1 \ + , Type2 const& In##Param2 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2)) }; + +#define ENCODE_COMMAND_3(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + \ + class CommandName final : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3)) }; + +#define ENCODE_COMMAND_4(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4)) }; + +#define ENCODE_COMMAND_5(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + , Type5 const &In##Param5 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + , Param5(In##Param5) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5)) }; + +#define ENCODE_COMMAND_6(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + , Type5 const &In##Param5 \ + , Type6 const &In##Param6 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + , Param5(In##Param5) \ + , Param6(In##Param6) \ + { \ + } \ + virtual void Execute() noexcept \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6)) }; + +#define ENCODE_COMMAND_7(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + using Type7 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + , Type5 const &In##Param5 \ + , Type6 const &In##Param6 \ + , Type7 const &In##Param7 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + , Param5(In##Param5) \ + , Param6(In##Param6) \ + , Param7(In##Param7) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual const char* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + Type7 Param7; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7)) }; + +#define ENCODE_COMMAND_8(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Param8, Value8, \ + Code) { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + using Type7 = std::decay::type; \ + using Type8 = std::decay::type; \ + \ + class CommandName : public Command \ + { \ + public: \ + CommandName( \ + Type1 const &In##Param1 \ + , Type2 const &In##Param2 \ + , Type3 const &In##Param3 \ + , Type4 const &In##Param4 \ + , Type5 const &In##Param5 \ + , Type6 const &In##Param6 \ + , Type7 const &In##Param7 \ + , Type8 const &In##Param8 \ + ) \ + : Param1(In##Param1) \ + , Param2(In##Param2) \ + , Param3(In##Param3) \ + , Param4(In##Param4) \ + , Param5(In##Param5) \ + , Param6(In##Param6) \ + , Param7(In##Param7) \ + , Param8(In##Param8) \ + { \ + } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + Type7 Param7; \ + Type8 Param8; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8)) }; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/ReadWriteLock.h b/native/cocos/renderer/core/thread/ReadWriteLock.h index a013256776..a4a6974948 100644 --- a/native/cocos/renderer/core/thread/ReadWriteLock.h +++ b/native/cocos/renderer/core/thread/ReadWriteLock.h @@ -1,32 +1,38 @@ -#pragma once - -#include - -class ReadWriteLock final -{ -public: - - template - auto LockRead(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)); - - template - auto LockWrite(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)); - -private: - - boost::shared_mutex mMutex; -}; - -template -auto ReadWriteLock::LockRead(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)) -{ - boost::shared_lock lock(mMutex); - return func(std::forward(args)...); -} - -template -auto ReadWriteLock::LockWrite(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)) -{ - boost::lock_guard lock(mMutex); - return func(std::forward(args)...); -} +#pragma once + +#include + +namespace cc { +namespace gfx { + +class ReadWriteLock final +{ +public: + + template + auto LockRead(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)); + + template + auto LockWrite(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)); + +private: + + boost::shared_mutex mMutex; +}; + +template +auto ReadWriteLock::LockRead(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)) +{ + boost::shared_lock lock(mMutex); + return func(std::forward(args)...); +} + +template +auto ReadWriteLock::LockWrite(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)) +{ + boost::lock_guard lock(mMutex); + return func(std::forward(args)...); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/Semaphore.cpp b/native/cocos/renderer/core/thread/Semaphore.cpp index 570b6496ea..f02427d813 100644 --- a/native/cocos/renderer/core/thread/Semaphore.cpp +++ b/native/cocos/renderer/core/thread/Semaphore.cpp @@ -1,69 +1,75 @@ -#include "Semaphore.h" - -#ifdef _WINDOWS - -Semaphore::Semaphore() noexcept -{ - mSemaphore = CreateSemaphore(nullptr, 0, 0xFFFFFFFF, nullptr); -} - -Semaphore::~Semaphore() -{ - CloseHandle(mSemaphore); -} - -void Semaphore::Wait() noexcept -{ - WaitForSingleObject(mSemaphore, 0xFFFFFFFF); -} - -void Semaphore::Signal() noexcept -{ - ReleaseSemaphore(mSemaphore, 1, nullptr); -} - -#elif defined(__APPLE__) - -Semaphore::Semaphore() noexcept -{ - mSemaphore = dispatch_semaphore_create(0); -} - -Semaphore::~Semaphore() -{ - dispatch_release(mSemaphore); -} - -void Semaphore::Wait() noexcept -{ - dispatch_semaphore_wait(mSemaphore, DISPATCH_TIME_FOREVER); -} - -void Semaphore::Signal() noexcept -{ - dispatch_semaphore_signal(mSemaphore); -} - -#else // Android - -Semaphore::Semaphore() noexcept -{ - sem_init(&mSemaphore, 0, 0); -} - -Semaphore::~Semaphore() -{ - sem_destroy(&mSemaphore); -} - -void Semaphore::Wait() noexcept -{ - sem_wait(&mSemaphore); -} - -void Semaphore::Signal() noexcept -{ - sem_post(&mSemaphore); -} - -#endif +#include "Semaphore.h" + +namespace cc { +namespace gfx { + +#ifdef _WINDOWS + +Semaphore::Semaphore() noexcept +{ + mSemaphore = CreateSemaphore(nullptr, 0, 0xFFFFFFFF, nullptr); +} + +Semaphore::~Semaphore() +{ + CloseHandle(mSemaphore); +} + +void Semaphore::Wait() noexcept +{ + WaitForSingleObject(mSemaphore, 0xFFFFFFFF); +} + +void Semaphore::Signal() noexcept +{ + ReleaseSemaphore(mSemaphore, 1, nullptr); +} + +#elif defined(__APPLE__) + +Semaphore::Semaphore() noexcept +{ + mSemaphore = dispatch_semaphore_create(0); +} + +Semaphore::~Semaphore() +{ + dispatch_release(mSemaphore); +} + +void Semaphore::Wait() noexcept +{ + dispatch_semaphore_wait(mSemaphore, DISPATCH_TIME_FOREVER); +} + +void Semaphore::Signal() noexcept +{ + dispatch_semaphore_signal(mSemaphore); +} + +#else // Android + +Semaphore::Semaphore() noexcept +{ + sem_init(&mSemaphore, 0, 0); +} + +Semaphore::~Semaphore() +{ + sem_destroy(&mSemaphore); +} + +void Semaphore::Wait() noexcept +{ + sem_wait(&mSemaphore); +} + +void Semaphore::Signal() noexcept +{ + sem_post(&mSemaphore); +} + +#endif + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/Semaphore.h b/native/cocos/renderer/core/thread/Semaphore.h index 9544524531..a5e33abb08 100644 --- a/native/cocos/renderer/core/thread/Semaphore.h +++ b/native/cocos/renderer/core/thread/Semaphore.h @@ -1,29 +1,35 @@ -#pragma once - -#include -#ifdef _WINDOWS -#include -using NativeSemaphoreType = HANDLE; -#elif defined(__APPLE__) -#include -using NativeSemaphoreType = dispatch_semaphore_t; -#else // Android -#include -using NativeSemaphoreType = sem_t; -#endif - -class Semaphore final -{ -public: - - Semaphore() noexcept; - ~Semaphore(); - - void Wait() noexcept; - void Signal() noexcept; - void SignalAll() noexcept { assert(false); } - -private: - - NativeSemaphoreType mSemaphore; -}; +#pragma once + +#include +#ifdef _WINDOWS +#include +using NativeSemaphoreType = HANDLE; +#elif defined(__APPLE__) +#include +using NativeSemaphoreType = dispatch_semaphore_t; +#else // Android +#include +using NativeSemaphoreType = sem_t; +#endif + +namespace cc { +namespace gfx { + +class Semaphore final +{ +public: + + Semaphore() noexcept; + ~Semaphore(); + + void Wait() noexcept; + void Signal() noexcept; + void SignalAll() noexcept { assert(false); } + +private: + + NativeSemaphoreType mSemaphore; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/ThreadPool.cpp b/native/cocos/renderer/core/thread/ThreadPool.cpp index 7ae87d5370..f8251f142c 100644 --- a/native/cocos/renderer/core/thread/ThreadPool.cpp +++ b/native/cocos/renderer/core/thread/ThreadPool.cpp @@ -1,61 +1,67 @@ -#include "ThreadPool.h" - -uint8_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); -uint8_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; - -void ThreadPool::Start() noexcept -{ - if (mRunning) - { - return; - } - - mRunning = true; - - for (uint8_t i = 0; i < kMaxThreadCount; ++i) - { - AddThread(); - } -} - -void ThreadPool::Stop() noexcept -{ - if (! mRunning) - { - return; - } - - mRunning = false; - mEvent.SignalAll(); - - for (auto& worker : mWorkers) - { - if (worker.joinable()) - { - worker.join(); - } - } - - mWorkers.clear(); -} - -void ThreadPool::AddThread() noexcept -{ - assert(mWorkers.size() < kMaxThreadCount); - - auto workerLoop = [this]() - { - while (mRunning) - { - if (! mTasks.consume_one([](Task const& task) - { - task(); - })) - { - mEvent.Wait(); - } - } - }; - - mWorkers.emplace_back(workerLoop); -} +#include "ThreadPool.h" + +namespace cc { +namespace gfx { + +uint8_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); +uint8_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; + +void ThreadPool::Start() noexcept +{ + if (mRunning) + { + return; + } + + mRunning = true; + + for (uint8_t i = 0; i < kMaxThreadCount; ++i) + { + AddThread(); + } +} + +void ThreadPool::Stop() noexcept +{ + if (! mRunning) + { + return; + } + + mRunning = false; + mEvent.SignalAll(); + + for (auto& worker : mWorkers) + { + if (worker.joinable()) + { + worker.join(); + } + } + + mWorkers.clear(); +} + +void ThreadPool::AddThread() noexcept +{ + assert(mWorkers.size() < kMaxThreadCount); + + auto workerLoop = [this]() + { + while (mRunning) + { + if (! mTasks.consume_one([](Task const& task) + { + task(); + })) + { + mEvent.Wait(); + } + } + }; + + mWorkers.emplace_back(workerLoop); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/ThreadPool.h b/native/cocos/renderer/core/thread/ThreadPool.h index 94fc577f21..24ee5d750c 100644 --- a/native/cocos/renderer/core/thread/ThreadPool.h +++ b/native/cocos/renderer/core/thread/ThreadPool.h @@ -1,61 +1,67 @@ -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include -#include "boost/lockfree/stack.hpp" -#include "Event.h" - -class ThreadPool final -{ -public: - - using Task = std::function; - - static uint8_t const kCpuCoreCount; - static uint8_t const kMaxThreadCount; - - ThreadPool() noexcept = default; - ~ThreadPool() = default; - ThreadPool(ThreadPool const&) = delete; - ThreadPool(ThreadPool&&) = delete; - ThreadPool& operator=(ThreadPool const&) = delete; - ThreadPool& operator=(ThreadPool&&) = delete; - - template - auto DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))>; - void Start() noexcept; - void Stop() noexcept; - -private: - - using Event = EventCV; - - void AddThread() noexcept; - - boost::lockfree::stack mTasks { 64 }; - std::list mWorkers {}; - Event mEvent {}; - std::atomic mRunning { false }; - uint8_t mWorkerCount { kMaxThreadCount }; -}; - -template -auto ThreadPool::DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))> -{ - assert(mRunning); - - using ReturnType = decltype(func(std::forward(args)...)); - auto task = std::make_shared>(std::bind(std::forward(func), std::forward(args)...)); - mTasks.push([task]() - { - (*task)(); - }); - mEvent.Signal(); - return task->get_future(); -} +#pragma once + +#include +#include +#include +#include +#include +#include +#include +#include +#include "boost/lockfree/stack.hpp" +#include "Event.h" + +namespace cc { +namespace gfx { + +class ThreadPool final +{ +public: + + using Task = std::function; + + static uint8_t const kCpuCoreCount; + static uint8_t const kMaxThreadCount; + + ThreadPool() noexcept = default; + ~ThreadPool() = default; + ThreadPool(ThreadPool const&) = delete; + ThreadPool(ThreadPool&&) = delete; + ThreadPool& operator=(ThreadPool const&) = delete; + ThreadPool& operator=(ThreadPool&&) = delete; + + template + auto DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))>; + void Start() noexcept; + void Stop() noexcept; + +private: + + using Event = EventCV; + + void AddThread() noexcept; + + boost::lockfree::stack mTasks { 64 }; + std::list mWorkers {}; + Event mEvent {}; + std::atomic mRunning { false }; + uint8_t mWorkerCount { kMaxThreadCount }; +}; + +template +auto ThreadPool::DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))> +{ + assert(mRunning); + + using ReturnType = decltype(func(std::forward(args)...)); + auto task = std::make_shared>(std::bind(std::forward(func), std::forward(args)...)); + mTasks.push([task]() + { + (*task)(); + }); + mEvent.Signal(); + return task->get_future(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/thread/ThreadSafeCounter.h b/native/cocos/renderer/core/thread/ThreadSafeCounter.h index 3fae30bdcd..05b8ae7b4b 100644 --- a/native/cocos/renderer/core/thread/ThreadSafeCounter.h +++ b/native/cocos/renderer/core/thread/ThreadSafeCounter.h @@ -1,22 +1,28 @@ -#pragma once - -#include -#include - -template >> -class ThreadSafeCounter final -{ -public: - - inline T Increment() noexcept { return Add(1); } - inline T Add(T const v) noexcept { return mCounter.fetch_add(v, std::memory_order_relaxed); } - inline T Decrement() noexcept { return Subtract(1); } - inline T Subtract(T const v) noexcept { return mCounter.fetch_sub(v, std::memory_order_relaxed); } - inline T Set(T const v) noexcept { return mCounter.store(v, std::memory_order_relaxed); } - inline T Get() const noexcept { return mCounter.load(std::memory_order_relaxed); } - inline T Reset() noexcept { Set(0); } - -private: - - std::atomic mCounter { 0 }; -}; +#pragma once + +#include +#include + +namespace cc { +namespace gfx { + +template >> +class ThreadSafeCounter final +{ +public: + + inline T Increment() noexcept { return Add(1); } + inline T Add(T const v) noexcept { return mCounter.fetch_add(v, std::memory_order_relaxed); } + inline T Decrement() noexcept { return Subtract(1); } + inline T Subtract(T const v) noexcept { return mCounter.fetch_sub(v, std::memory_order_relaxed); } + inline T Set(T const v) noexcept { return mCounter.store(v, std::memory_order_relaxed); } + inline T Get() const noexcept { return mCounter.load(std::memory_order_relaxed); } + inline T Reset() noexcept { Set(0); } + +private: + + std::atomic mCounter { 0 }; +}; + +} // namespace gfx +} // namespace cc From 6d847100600704a6e20f5fdeacd47438abc58b00 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 17 Nov 2020 16:18:17 +0800 Subject: [PATCH 004/270] device proxy --- native/cocos/renderer/core/Core.h | 9 +- .../core/gfx-proxy/GFXBufferProxy.cpp | 49 ++++++ .../renderer/core/gfx-proxy/GFXBufferProxy.h | 22 +++ .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 97 +++++++++++ .../core/gfx-proxy/GFXCommandBufferProxy.h | 42 +++++ .../core/gfx-proxy/GFXDeviceProxy.cpp | 162 ++++++++++++++++++ .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 55 ++++++ .../core/gfx-proxy/GFXDeviceThread.cpp | 49 ++++++ .../renderer/core/gfx-proxy/GFXDeviceThread.h | 36 ++++ .../cocos/renderer/core/gfx-proxy/GFXProxy.h | 37 ++++ .../core/gfx-proxy/GFXShaderProxy.cpp | 24 +++ .../renderer/core/gfx-proxy/GFXShaderProxy.h | 19 ++ .../core/gfx-proxy/GFXTextureProxy.cpp | 60 +++++++ .../renderer/core/gfx-proxy/GFXTextureProxy.h | 21 +++ native/cocos/renderer/core/gfx/GFXDevice.h | 1 - ...ExecutionBuffer.cpp => CommandEncoder.cpp} | 50 +++--- .../{ExecutionBuffer.h => CommandEncoder.h} | 85 ++++----- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- 18 files changed, 745 insertions(+), 75 deletions(-) create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXProxy.h create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h rename native/cocos/renderer/core/thread/{ExecutionBuffer.cpp => CommandEncoder.cpp} (77%) rename native/cocos/renderer/core/thread/{ExecutionBuffer.h => CommandEncoder.h} (91%) diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index fa5b67387e..366c1e541e 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -6,7 +6,7 @@ #include "base/StringUtil.h" #include "thread/ThreadPool.h" -#include "thread/ExecutionBuffer.h" +#include "thread/CommandEncoder.h" #include "gfx/GFXDevice.h" #include "gfx/GFXContext.h" @@ -26,3 +26,10 @@ #include "gfx/GFXQueue.h" #include "gfx/GFXCommand.h" #include "gfx/GFXCommandPool.h" + +#include "gfx-proxy/GFXDeviceThread.h" +#include "gfx-proxy/GFXDeviceProxy.h" +#include "gfx-proxy/GFXBufferProxy.h" +#include "gfx-proxy/GFXTextureProxy.h" +#include "gfx-proxy/GFXShaderProxy.h" +#include "gfx-proxy/GFXCommandBufferProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp new file mode 100755 index 0000000000..0090eeb2e3 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp @@ -0,0 +1,49 @@ +#include "CoreStd.h" +#include "GFXBufferProxy.h" + +namespace cc { +namespace gfx { + +bool BufferProxy::initialize(const BufferInfo &info) { + _usage = info.usage; + _memUsage = info.memUsage; + _size = info.size; + _flags = info.flags; + _stride = std::max(info.stride, 1u); + _count = _size / _stride; + + bool res = _remote->initialize(info); + + return res; +} + +bool BufferProxy::initialize(const BufferViewInfo &info) { + _usage = info.buffer->getUsage(); + _memUsage = info.buffer->getMemUsage(); + _size = info.buffer->getSize(); + _flags = info.buffer->getFlags(); + _stride = info.buffer->getStride(); + _count = info.buffer->getCount(); + + bool res = _remote->initialize(info); + + return res; +} + +void BufferProxy::destroy() { + _remote->destroy(); +} + +void BufferProxy::resize(uint size) { + _size = size; + _count = size / _stride; + + _remote->resize(size); +} + +void BufferProxy::update(void *buffer, uint offset, uint size) { + _remote->update(buffer, offset, size); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h new file mode 100755 index 0000000000..91aaee219b --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h @@ -0,0 +1,22 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXBuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL BufferProxy : public Proxy { +public: + using Proxy::Proxy; + BufferProxy(Device *device) = delete; + + virtual bool initialize(const BufferInfo &info) override; + virtual bool initialize(const BufferViewInfo &info) override; + virtual void destroy() override; + virtual void resize(uint size) override; + virtual void update(void *buffer, uint offset, uint size) override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp new file mode 100755 index 0000000000..b3f0300a67 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -0,0 +1,97 @@ +#include "CoreStd.h" +#include "GFXCommandBufferProxy.h" + +namespace cc { +namespace gfx { + +bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { + _type = info.type; + _queue = info.queue; + + bool res = _remote->initialize(info); + + return res; +} + +void CommandBufferProxy::destroy() { + _remote->destroy(); +} + +void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { + _remote->begin(renderPass, subpass, frameBuffer); +} + +void CommandBufferProxy::end() { + _remote->end(); +} + +void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { + _remote->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil); +} + +void CommandBufferProxy::endRenderPass() { + _remote->endRenderPass(); +} + +void CommandBufferProxy::bindPipelineState(PipelineState *pso) { + _remote->bindPipelineState(pso); +} + +void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { + _remote->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); +} + +void CommandBufferProxy::bindInputAssembler(InputAssembler *ia) { + _remote->bindInputAssembler(ia); +} + +void CommandBufferProxy::setViewport(const Viewport &vp) { + _remote->setViewport(vp); +} + +void CommandBufferProxy::setScissor(const Rect &rect) { + _remote->setScissor(rect); +} + +void CommandBufferProxy::setLineWidth(const float width) { + _remote->setLineWidth(width); +} + +void CommandBufferProxy::setDepthBias(float constant, float clamp, float slope) { + _remote->setDepthBias(constant, clamp, slope); +} + +void CommandBufferProxy::setBlendConstants(const Color &constants) { + _remote->setBlendConstants(constants); +} + +void CommandBufferProxy::setDepthBound(float minBounds, float maxBounds) { + _remote->setDepthBound(minBounds, maxBounds); +} + +void CommandBufferProxy::setStencilWriteMask(StencilFace face, uint mask) { + _remote->setStencilWriteMask(face, mask); +} + +void CommandBufferProxy::setStencilCompareMask(StencilFace face, int ref, uint mask) { + _remote->setStencilCompareMask(face, ref, mask); +} + +void CommandBufferProxy::draw(InputAssembler *ia) { + _remote->draw(ia); +} + +void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { + _remote->updateBuffer(buff, data, size, offset); +} + +void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { + _remote->copyBuffersToTexture(buffers, texture, regions, count); +} + +void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + _remote->execute(cmdBuffs, count); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h new file mode 100755 index 0000000000..40c95053fe --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -0,0 +1,42 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXCommandBuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL CommandBufferProxy : public Proxy { +public: + using Proxy::Proxy; + CommandBufferProxy(Device *device) = delete; + + virtual bool initialize(const CommandBufferInfo &info) override; + virtual void destroy() override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + virtual void end() override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) override; + virtual void endRenderPass() override; + virtual void bindPipelineState(PipelineState *pso) override; + virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; + virtual void bindInputAssembler(InputAssembler *ia) override; + virtual void setViewport(const Viewport &vp) override; + virtual void setScissor(const Rect &rect) override; + virtual void setLineWidth(const float width) override; + virtual void setDepthBias(float constant, float clamp, float slope) override; + virtual void setBlendConstants(const Color &constants) override; + virtual void setDepthBound(float minBounds, float maxBounds) override; + virtual void setStencilWriteMask(StencilFace face, uint mask) override; + virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + virtual void draw(InputAssembler *ia) override; + virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + + virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } + virtual uint getNumInstances() const override { return _remote->getNumInstances(); } + virtual uint getNumTris() const override { return _remote->getNumTris(); } +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp new file mode 100755 index 0000000000..d2909737d1 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -0,0 +1,162 @@ +#include "CoreStd.h" +#include "GFXDeviceProxy.h" +#include "GFXCommandBufferProxy.h" +#include "GFXBufferProxy.h" +#include "GFXTextureProxy.h" +#include "GFXShaderProxy.h" +#include "GFXDeviceThread.h" + +namespace cc { +namespace gfx { + +bool DeviceProxy::initialize(const DeviceInfo &info) { + _clipSpaceMinZ = _remote->getClipSpaceMinZ(); + _screenSpaceSignY = _remote->getScreenSpaceSignY(); + _UVSpaceSignY = _remote->getUVSpaceSignY(); + + _width = info.width; + _height = info.height; + _nativeWidth = info.nativeWidth; + _nativeHeight = info.nativeHeight; + _windowHandle = info.windowHandle; + + _bindingMappingInfo = info.bindingMappingInfo; + if (_bindingMappingInfo.bufferOffsets.empty()) { + _bindingMappingInfo.bufferOffsets.push_back(0); + } + if (_bindingMappingInfo.samplerOffsets.empty()) { + _bindingMappingInfo.samplerOffsets.push_back(0); + } + + bool res = _remote->initialize(info); + + _context = _remote->getContext(); + _API = _remote->getGfxAPI(); + _deviceName = _remote->getDeviceName(); + _queue = _remote->getQueue(); + _cmdBuff = _remote->getCommandBuffer(); + _renderer = _remote->getRenderer(); + _vendor = _remote->getVendor(); + _maxVertexAttributes = _remote->getMaxVertexAttributes(); + _maxVertexUniformVectors = _remote->getMaxVertexUniformVectors(); + _maxFragmentUniformVectors = _remote->getMaxFragmentUniformVectors(); + _maxTextureUnits = _remote->getMaxTextureUnits(); + _maxVertexTextureUnits = _remote->getMaxVertexTextureUnits(); + _maxUniformBufferBindings = _remote->getMaxUniformBufferBindings(); + _maxUniformBlockSize = _remote->getMaxUniformBlockSize(); + _maxTextureSize = _remote->getMaxTextureSize(); + _maxCubeMapTextureSize = _remote->getMaxCubeMapTextureSize(); + _uboOffsetAlignment = _remote->getUboOffsetAlignment(); + _depthBits = _remote->getDepthBits(); + _stencilBits = _remote->getStencilBits(); + memcpy(_features, ((DeviceProxy*)_remote.get())->_features, (size_t)Feature::COUNT); + + _thread = std::make_unique(this); + _thread->Run(); + + return res; +} + +void DeviceProxy::destroy() { + _thread->Terminate(); + _thread.reset(); + + _remote->destroy(); +} + +void DeviceProxy::resize(uint width, uint height) { + _width = _nativeWidth = width; + _height = _nativeHeight = height; + _remote->resize(width, height); +} + +void DeviceProxy::acquire() { + _remote->acquire(); +} + +void DeviceProxy::present() { + _remote->present(); +} + +CommandBuffer *DeviceProxy::createCommandBuffer(const CommandBufferInfo &info) { + CommandBuffer *remote = _remote->createCommandBuffer(info); + CommandBufferProxy *proxy = CC_NEW(CommandBufferProxy(remote)); + return proxy; +} + +Buffer *DeviceProxy::createBuffer(const BufferInfo &info) { + Buffer *remote = _remote->createBuffer(info); + BufferProxy *proxy = CC_NEW(BufferProxy(remote)); + return proxy; +} + +Buffer *DeviceProxy::createBuffer(const BufferViewInfo &info) { + Buffer *remote = _remote->createBuffer(info); + BufferProxy *proxy = CC_NEW(BufferProxy(remote)); + return proxy; +} + +Texture *DeviceProxy::createTexture(const TextureInfo &info) { + Texture *remote = _remote->createTexture(info); + TextureProxy *proxy = CC_NEW(TextureProxy(remote)); + return proxy; +} + +Texture *DeviceProxy::createTexture(const TextureViewInfo &info) { + Texture *remote = _remote->createTexture(info); + TextureProxy *proxy = CC_NEW(TextureProxy(remote)); + return proxy; +} + +Shader *DeviceProxy::createShader(const ShaderInfo &info) { + Shader *remote = _remote->createShader(info); + ShaderProxy *proxy = CC_NEW(ShaderProxy(remote)); + return proxy; +} + +Fence *DeviceProxy::createFence(const FenceInfo &info) { + return _remote->createFence(info); +} + +Queue *DeviceProxy::createQueue(const QueueInfo &info) { + return _remote->createQueue(info); +} + +Sampler *DeviceProxy::createSampler(const SamplerInfo &info) { + return _remote->createSampler(info); +} + +InputAssembler *DeviceProxy::createInputAssembler(const InputAssemblerInfo &info) { + return _remote->createInputAssembler(info); +} + +RenderPass *DeviceProxy::createRenderPass(const RenderPassInfo &info) { + return _remote->createRenderPass(info); +} + +Framebuffer *DeviceProxy::createFramebuffer(const FramebufferInfo &info) { + return _remote->createFramebuffer(info); +} + +DescriptorSet *DeviceProxy::createDescriptorSet(const DescriptorSetInfo &info) { + return _remote->createDescriptorSet(info); +} + +DescriptorSetLayout *DeviceProxy::createDescriptorSetLayout(const DescriptorSetLayoutInfo &info) { + return _remote->createDescriptorSetLayout(info); +} + +PipelineLayout *DeviceProxy::createPipelineLayout(const PipelineLayoutInfo &info) { + return _remote->createPipelineLayout(info); +} + +PipelineState *DeviceProxy::createPipelineState(const PipelineStateInfo &info) { + return _remote->createPipelineState(info); +} + +void DeviceProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { + _remote->copyBuffersToTexture(buffers, dst, regions, count); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h new file mode 100755 index 0000000000..984daf9637 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -0,0 +1,55 @@ +#pragma once + +#include "GFXProxy.h" +#include "GFXDeviceThread.h" +#include "../gfx/GFXDevice.h" + +namespace cc { +namespace gfx { + +class CC_DLL DeviceProxy : public Proxy { +public: + using Proxy::Proxy; + + virtual bool initialize(const DeviceInfo &info) override; + virtual void destroy() override; + virtual void resize(uint width, uint height) override; + virtual void acquire() override; + virtual void present() override; + virtual CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) override; + virtual Fence *createFence(const FenceInfo &info) override; + virtual Queue *createQueue(const QueueInfo &info) override; + virtual Buffer *createBuffer(const BufferInfo &info) override; + virtual Buffer *createBuffer(const BufferViewInfo &info) override; + virtual Texture *createTexture(const TextureInfo &info) override; + virtual Texture *createTexture(const TextureViewInfo &info) override; + virtual Sampler *createSampler(const SamplerInfo &info) override; + virtual Shader *createShader(const ShaderInfo &info) override; + virtual InputAssembler *createInputAssembler(const InputAssemblerInfo &info) override; + virtual RenderPass *createRenderPass(const RenderPassInfo &info) override; + virtual Framebuffer *createFramebuffer(const FramebufferInfo &info) override; + virtual DescriptorSet *createDescriptorSet(const DescriptorSetInfo &info) override; + virtual DescriptorSetLayout *createDescriptorSetLayout(const DescriptorSetLayoutInfo &info) override; + virtual PipelineLayout *createPipelineLayout(const PipelineLayoutInfo &info) override; + virtual PipelineState *createPipelineState(const PipelineStateInfo &info) override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + + virtual SurfaceTransform getSurfaceTransform() const override { return _remote->getSurfaceTransform(); } + virtual uint getWidth() const override { return _remote->getWidth(); } + virtual uint getHeight() const override { return _remote->getHeight(); } + virtual uint getNativeWidth() const override { return _remote->getNativeWidth(); } + virtual uint getNativeHeight() const override { return _remote->getNativeHeight(); } + virtual MemoryStatus &getMemoryStatus() override { return _remote->getMemoryStatus(); } + virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } + virtual uint getNumInstances() const override { return _remote->getNumInstances(); } + virtual uint getNumTris() const override { return _remote->getNumTris(); } + +protected: + + friend class DeviceThread; + + std::unique_ptr _thread{}; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp new file mode 100644 index 0000000000..f779d52f86 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp @@ -0,0 +1,49 @@ +#include "CoreStd.h" +#include "GFXDeviceThread.h" +#include "gfx-proxy/GFXDeviceProxy.h" +#include "gfx-proxy/GFXCommandBufferProxy.h" + +namespace cc { +namespace gfx { + +DeviceThread::DeviceThread(DeviceProxy *device) noexcept +{ + mMainCommandEncoder = std::make_unique(); + + uint8_t const commandBufferCount = false ? std::thread::hardware_concurrency() : 1; + mSubmitContexts.resize(commandBufferCount); + + CommandBufferInfo info; + info.type = CommandBufferType::PRIMARY; + info.queue = device->getQueue(); + + for (auto& context : mSubmitContexts) + { + context.mEncoder = std::make_unique(); + context.mCommandBuffer.reset(device->createCommandBuffer(info)); + } +} + +DeviceThread::~DeviceThread() +{ + +} + +void DeviceThread::Run() noexcept +{ + for (auto& context : mSubmitContexts) + { + context.mEncoder->RunConsumerThread(); + } +} + +void DeviceThread::Terminate() noexcept +{ + for (auto& context : mSubmitContexts) + { + context.mEncoder->TerminateConsumerThread(); + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h new file mode 100644 index 0000000000..c25754164e --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h @@ -0,0 +1,36 @@ +#pragma once + +#include "../thread/CommandEncoder.h" +#include "../gfx/GFXCommandBuffer.h" + +namespace cc { +namespace gfx { + +// 一个Context对应一个CPU Core +struct SubmitContext final +{ + std::unique_ptr mEncoder { nullptr }; + std::unique_ptr mCommandBuffer { nullptr }; +}; + +class DeviceProxy; + +class CC_DLL DeviceThread final +{ +public: + + explicit DeviceThread(DeviceProxy *device) noexcept; + ~DeviceThread(); + + void Run() noexcept; + void Terminate() noexcept; + inline CommandEncoder* GetMainCommandEncoder() const noexcept { return mMainCommandEncoder.get(); } + +private: + + std::unique_ptr mMainCommandEncoder {}; + std::vector mSubmitContexts {}; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXProxy.h new file mode 100644 index 0000000000..6108104b05 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXProxy.h @@ -0,0 +1,37 @@ +#pragma once + +#include + +namespace cc { +namespace gfx { + +template> +class CC_DLL Proxy : public Remote { +public: + + Proxy() noexcept = delete; + + explicit Proxy(Remote *const remote) noexcept + : Remote(remote->getDevice()) // TODO: handle the initial device references + { _remote.reset(remote); } + + virtual ~Proxy() { _remote.reset(); } + + Proxy(Proxy const &) = delete; + + Proxy(Proxy &&) = delete; + + Proxy &operator=(Proxy const &) = delete; + + Proxy &operator=(Proxy &&) = delete; + + inline Remote *GetRemote() const noexcept { return _remote.get(); } + +protected: + + using RemotePtr = std::unique_ptr; + RemotePtr _remote{nullptr}; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp new file mode 100755 index 0000000000..018752dad4 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp @@ -0,0 +1,24 @@ +#include "CoreStd.h" +#include "GFXShaderProxy.h" + +namespace cc { +namespace gfx { + +bool ShaderProxy::initialize(const ShaderInfo &info) { + _name = info.name; + _stages = info.stages; + _attributes = info.attributes; + _blocks = info.blocks; + _samplers = info.samplers; + + bool res = _remote->initialize(info); + + return res; +} + +void ShaderProxy::destroy() { + _remote->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h new file mode 100755 index 0000000000..d356218d9c --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h @@ -0,0 +1,19 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXShader.h" + +namespace cc { +namespace gfx { + +class CC_DLL ShaderProxy : public Proxy { +public: + using Proxy::Proxy; + ShaderProxy(Device *device) = delete; + + virtual bool initialize(const ShaderInfo &info) override; + virtual void destroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp new file mode 100755 index 0000000000..d972d700da --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp @@ -0,0 +1,60 @@ +#include "CoreStd.h" +#include "GFXTextureProxy.h" + +namespace cc { +namespace gfx { + +bool TextureProxy::initialize(const TextureInfo &info) { + _type = info.type; + _usage = info.usage; + _format = info.format; + _width = info.width; + _height = info.height; + _depth = info.depth; + _layerCount = info.layerCount; + _levelCount = info.levelCount; + _samples = info.samples; + _flags = info.flags; + _size = FormatSize(_format, _width, _height, _depth); + + bool res = _remote->initialize(info); + + return res; +} + +bool TextureProxy::initialize(const TextureViewInfo &info) { + _isTextureView = true; + + if (!info.texture) { + return false; + } + + _type = info.texture->getType(); + _format = info.format; + _baseLayer = info.baseLayer; + _layerCount = info.layerCount; + _baseLevel = info.baseLevel; + _levelCount = info.levelCount; + _usage = info.texture->getUsage(); + _width = info.texture->getWidth(); + _height = info.texture->getHeight(); + _depth = info.texture->getDepth(); + _samples = info.texture->getSamples(); + _flags = info.texture->getFlags(); + _size = FormatSize(_format, _width, _height, _depth); + + bool res = _remote->initialize(info); + + return res; +} + +void TextureProxy::destroy() { + _remote->destroy(); +} + +void TextureProxy::resize(uint width, uint height) { + _remote->resize(width, height); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h new file mode 100755 index 0000000000..0eb2b52937 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h @@ -0,0 +1,21 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXTexture.h" + +namespace cc { +namespace gfx { + +class CC_DLL TextureProxy : public Proxy { +public: + using Proxy::Proxy; + TextureProxy(Device *device) = delete; + + virtual bool initialize(const TextureInfo &info) override; + virtual bool initialize(const TextureViewInfo &info) override; + virtual void destroy() override; + virtual void resize(uint width, uint height) override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 3a261cc29e..b05a2b16d5 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -54,7 +54,6 @@ public: copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size()) ); } - virtual void setMultithreaded(bool multithreaded) {} virtual SurfaceTransform getSurfaceTransform() const { return _transform; } virtual uint getWidth() const { return _width; } virtual uint getHeight() const { return _height; } diff --git a/native/cocos/renderer/core/thread/ExecutionBuffer.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp similarity index 77% rename from native/cocos/renderer/core/thread/ExecutionBuffer.cpp rename to native/cocos/renderer/core/thread/CommandEncoder.cpp index 0fba47a948..ef5c1d8477 100644 --- a/native/cocos/renderer/core/thread/ExecutionBuffer.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -1,4 +1,4 @@ -#include "ExecutionBuffer.h" +#include "CommandEncoder.h" #include namespace cc { @@ -11,13 +11,13 @@ uint32_t constexpr kMemoryChunkPoolCapacity = 64; uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); } -ExecutionBuffer::MemoryAllocator& ExecutionBuffer::MemoryAllocator::GetInstance() noexcept +CommandEncoder::MemoryAllocator& CommandEncoder::MemoryAllocator::GetInstance() noexcept { - static ExecutionBuffer::MemoryAllocator instance; + static CommandEncoder::MemoryAllocator instance; return instance; } -uint8_t* ExecutionBuffer::MemoryAllocator::Request() noexcept +uint8_t* CommandEncoder::MemoryAllocator::Request() noexcept { uint8_t* newChunk = nullptr; @@ -33,7 +33,7 @@ uint8_t* ExecutionBuffer::MemoryAllocator::Request() noexcept return newChunk; } -void ExecutionBuffer::MemoryAllocator::Recycle(uint8_t* const chunk, bool const freeByUser) noexcept +void CommandEncoder::MemoryAllocator::Recycle(uint8_t* const chunk, bool const freeByUser) noexcept { if (freeByUser) { @@ -45,7 +45,7 @@ void ExecutionBuffer::MemoryAllocator::Recycle(uint8_t* const chunk, bool const } } -void ExecutionBuffer::MemoryAllocator::Free(uint8_t* const chunk) noexcept +void CommandEncoder::MemoryAllocator::Free(uint8_t* const chunk) noexcept { if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) { @@ -58,7 +58,7 @@ void ExecutionBuffer::MemoryAllocator::Free(uint8_t* const chunk) noexcept } } -ExecutionBuffer::ExecutionBuffer() +CommandEncoder::CommandEncoder() { uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); @@ -73,13 +73,13 @@ ExecutionBuffer::ExecutionBuffer() --mR.mNewCommandCount; } -void ExecutionBuffer::Kick() noexcept +void CommandEncoder::Kick() noexcept { PushCommands(); mN.Signal(); } -void ExecutionBuffer::KickAndWait() noexcept +void CommandEncoder::KickAndWait() noexcept { EventSem event; EventSem* const pEvent = &event; @@ -94,19 +94,19 @@ void ExecutionBuffer::KickAndWait() noexcept event.Wait(); } -void ExecutionBuffer::RunConsumerThread() noexcept +void CommandEncoder::RunConsumerThread() noexcept { if (mWorkerAttached) { return; } - std::thread consumerThread(std::bind(&ExecutionBuffer::ConsumerThreadLoop, this)); + std::thread consumerThread(std::bind(&CommandEncoder::ConsumerThreadLoop, this)); consumerThread.detach(); mWorkerAttached = true; } -void ExecutionBuffer::TerminateConsumerThread() noexcept +void CommandEncoder::TerminateConsumerThread() noexcept { if (! mWorkerAttached) { @@ -131,7 +131,7 @@ void ExecutionBuffer::TerminateConsumerThread() noexcept event.Wait(); } -void ExecutionBuffer::FinishWriting() noexcept +void CommandEncoder::FinishWriting() noexcept { bool* const flushingFinished = &mR.mFlushingFinished; @@ -144,17 +144,17 @@ void ExecutionBuffer::FinishWriting() noexcept Kick(); } -void ExecutionBuffer::RecycleMemoryChunk(uint8_t* const chunk) const noexcept +void CommandEncoder::RecycleMemoryChunk(uint8_t* const chunk) const noexcept { - ExecutionBuffer::MemoryAllocator::GetInstance().Recycle(chunk, mFreeChunksByUser); + CommandEncoder::MemoryAllocator::GetInstance().Recycle(chunk, mFreeChunksByUser); } -void ExecutionBuffer::FreeChunksInFreeQueue() noexcept +void CommandEncoder::FreeChunksInFreeQueue() noexcept { // TODO } -uint8_t* ExecutionBuffer::AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept +uint8_t* CommandEncoder::AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept { uint32_t const alignedSize = Align(requestSize, 16); assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // 一个Command直接把整个Chunk填满了 @@ -170,7 +170,7 @@ uint8_t* ExecutionBuffer::AllocateImpl(uint32_t& allocatedSize, uint32_t const r } else { - uint8_t* const newChunk = ExecutionBuffer::MemoryAllocator::GetInstance().Request(); + uint8_t* const newChunk = CommandEncoder::MemoryAllocator::GetInstance().Request(); MemoryChunkSwitchCommand* const switchCommand = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); new(switchCommand) MemoryChunkSwitchCommand(this, newChunk, mW.mCurrentMemoryChunk); switchCommand->mNext = reinterpret_cast(newChunk); // 注意这里还指向原位置 @@ -194,20 +194,20 @@ uint8_t* ExecutionBuffer::AllocateImpl(uint32_t& allocatedSize, uint32_t const r } } -void ExecutionBuffer::PushCommands() noexcept +void CommandEncoder::PushCommands() noexcept { mW.mWrittenCommandCount.fetch_add(mW.mPendingCommandCount, std::memory_order_acq_rel); mW.mPendingCommandCount = 0; } -void ExecutionBuffer::PullCommands() noexcept +void CommandEncoder::PullCommands() noexcept { uint32_t const writtenCommandCountNew = mW.mWrittenCommandCount.load(std::memory_order_acquire); mR.mNewCommandCount = writtenCommandCountNew - mR.mWrittenCommandCountSnap; mR.mWrittenCommandCountSnap = writtenCommandCountNew; } -void ExecutionBuffer::FlushCommands() noexcept +void CommandEncoder::FlushCommands() noexcept { while (! mR.mFlushingFinished) { @@ -217,7 +217,7 @@ void ExecutionBuffer::FlushCommands() noexcept mR.mFlushingFinished = false; } -void ExecutionBuffer::ExecuteCommand() noexcept +void CommandEncoder::ExecuteCommand() noexcept { Command* const cmd = ReadCommand(); @@ -230,7 +230,7 @@ void ExecutionBuffer::ExecuteCommand() noexcept cmd->~Command(); } -Command* ExecutionBuffer::ReadCommand() noexcept +Command* CommandEncoder::ReadCommand() noexcept { while (! HasNewCommand()) { @@ -252,7 +252,7 @@ Command* ExecutionBuffer::ReadCommand() noexcept return cmd; } -void ExecutionBuffer::ConsumerThreadLoop() noexcept +void CommandEncoder::ConsumerThreadLoop() noexcept { while (! mR.mTerminateConsumerThread) { @@ -267,7 +267,7 @@ char const* DummyCommand::GetName() const noexcept return "Dummy"; } -MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(ExecutionBuffer* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept +MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(CommandEncoder* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept : mCommandBuffer(cb) , mNewChunk(newChunk) , mOldChunk(oldChunk) diff --git a/native/cocos/renderer/core/thread/ExecutionBuffer.h b/native/cocos/renderer/core/thread/CommandEncoder.h similarity index 91% rename from native/cocos/renderer/core/thread/ExecutionBuffer.h rename to native/cocos/renderer/core/thread/CommandEncoder.h index 171530fc4f..41e89730bc 100644 --- a/native/cocos/renderer/core/thread/ExecutionBuffer.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -45,7 +45,7 @@ private: Command* mNext { nullptr }; - friend class ExecutionBuffer; + friend class CommandEncoder; }; struct alignas(64) WriterContext final @@ -71,16 +71,16 @@ struct alignas(64) ReaderContext final // 支持单生产者单消费者的环形缓冲区 // 生产者线程Allocate 消费者线程Execute // 除了Command之外 执行Command需要的数据也需要拷贝到这里 来实现线程安全的数据访问 -class alignas(64) ExecutionBuffer final +class alignas(64) CommandEncoder final { public: - ExecutionBuffer(); - ~ExecutionBuffer() = default; - ExecutionBuffer(ExecutionBuffer const&) = delete; - ExecutionBuffer(ExecutionBuffer&&) = delete; - ExecutionBuffer& operator=(ExecutionBuffer const&) = delete; - ExecutionBuffer& operator=(ExecutionBuffer&&) = delete; + CommandEncoder(); + ~CommandEncoder() = default; + CommandEncoder(CommandEncoder const&) = delete; + CommandEncoder(CommandEncoder&&) = delete; + CommandEncoder& operator=(CommandEncoder const&) = delete; + CommandEncoder& operator=(CommandEncoder&&) = delete; // 分配Command template @@ -151,7 +151,7 @@ private: WriterContext mW; ReaderContext mR; EventCV mN; - bool mImmediateMode { false }; + bool mImmediateMode { true }; bool mWorkerAttached { false }; bool mFreeChunksByUser { false }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free @@ -170,7 +170,7 @@ class MemoryChunkSwitchCommand final : public Command { public: - MemoryChunkSwitchCommand(ExecutionBuffer* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept; + MemoryChunkSwitchCommand(CommandEncoder* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept; ~MemoryChunkSwitchCommand(); virtual void Execute() noexcept override; @@ -178,14 +178,14 @@ public: private: - ExecutionBuffer* mCommandBuffer {nullptr }; + CommandEncoder* mCommandBuffer {nullptr }; uint8_t* mNewChunk { nullptr }; uint8_t* mOldChunk { nullptr }; }; template std::enable_if_t::value, T*> -ExecutionBuffer::Allocate(uint32_t const count) noexcept +CommandEncoder::Allocate(uint32_t const count) noexcept { uint32_t allocatedSize = 0; T* const cmd = reinterpret_cast(AllocateImpl(allocatedSize, sizeof(T))); @@ -197,7 +197,7 @@ ExecutionBuffer::Allocate(uint32_t const count) noexcept template std::enable_if_t::value, T*> -ExecutionBuffer::Allocate(uint32_t const count) noexcept +CommandEncoder::Allocate(uint32_t const count) noexcept { uint32_t constexpr requestSize = sizeof(T) * count; assert(requestSize); @@ -208,7 +208,7 @@ ExecutionBuffer::Allocate(uint32_t const count) noexcept } template -T* ExecutionBuffer::AllocateAndCopy(uint32_t const count, void const* data) noexcept +T* CommandEncoder::AllocateAndCopy(uint32_t const count, void const* data) noexcept { T* const allocatedMemory = Allocate(count); memcpy(allocatedMemory, data, sizeof(T) * count); @@ -216,7 +216,7 @@ T* ExecutionBuffer::AllocateAndCopy(uint32_t const count, void const* data) noex } template -T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept +T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { T* const allocatedMemory = Allocate(count); memset(allocatedMemory, 0, sizeof(T) * count); @@ -242,14 +242,13 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept class CommandName final : public Command \ { \ public: \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ + virtual void Execute() noexcept override \ + Code \ + \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ }; \ WRITE_COMMAND(CB, CommandName, ); @@ -267,9 +266,8 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - { \ - Code; \ - } \ + Code \ + \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -299,9 +297,8 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - { \ - Code; \ - } \ + Code \ + \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -336,9 +333,8 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - { \ - Code; \ - } \ + Code \ + \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -378,9 +374,8 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - { \ - Code; \ - } \ + Code \ + \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -425,9 +420,8 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - { \ - Code; \ - } \ + Code \ + \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -477,9 +471,8 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept \ - { \ - Code; \ - } \ + Code \ + \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -534,9 +527,8 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - { \ - Code; \ - } \ + Code \ + \ virtual const char* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -596,9 +588,8 @@ T* ExecutionBuffer::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - { \ - Code; \ - } \ + Code \ + \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 2cc67f1bdc..d6587af55b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 0 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, From a5ccae4d6fe4a52d457b2f5e696c4861ca9381df Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 17 Nov 2020 22:47:24 +0800 Subject: [PATCH 005/270] fix proxy invocations --- native/cocos/renderer/core/Core.h | 1 + .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 15 +++++-- .../core/gfx-proxy/GFXCommandBufferProxy.h | 3 ++ .../core/gfx-proxy/GFXDescriptorSetProxy.cpp | 41 +++++++++++++++++++ .../core/gfx-proxy/GFXDescriptorSetProxy.h | 24 +++++++++++ .../core/gfx-proxy/GFXDeviceProxy.cpp | 4 +- native/cocos/renderer/core/gfx/GFXDevice.h | 4 ++ 7 files changed, 86 insertions(+), 6 deletions(-) create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 366c1e541e..97d3f803c3 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -32,4 +32,5 @@ #include "gfx-proxy/GFXBufferProxy.h" #include "gfx-proxy/GFXTextureProxy.h" #include "gfx-proxy/GFXShaderProxy.h" +#include "gfx-proxy/GFXDescriptorSetProxy.h" #include "gfx-proxy/GFXCommandBufferProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index b3f0300a67..217aba09a3 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -1,5 +1,8 @@ #include "CoreStd.h" #include "GFXCommandBufferProxy.h" +#include "GFXDescriptorSetProxy.h" +#include "GFXBufferProxy.h" +#include "GFXTextureProxy.h" namespace cc { namespace gfx { @@ -38,7 +41,7 @@ void CommandBufferProxy::bindPipelineState(PipelineState *pso) { } void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { - _remote->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); + _remote->bindDescriptorSet(set, ((DescriptorSetProxy*)descriptorSet)->GetRemote(), dynamicOffsetCount, dynamicOffsets); } void CommandBufferProxy::bindInputAssembler(InputAssembler *ia) { @@ -82,15 +85,19 @@ void CommandBufferProxy::draw(InputAssembler *ia) { } void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { - _remote->updateBuffer(buff, data, size, offset); + _remote->updateBuffer(((BufferProxy*)buff)->GetRemote(), data, size, offset); } void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - _remote->copyBuffersToTexture(buffers, texture, regions, count); + _remote->copyBuffersToTexture(buffers, ((TextureProxy*)texture)->GetRemote(), regions, count); } void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - _remote->execute(cmdBuffs, count); + _cmdBuffs.reserve(count); + for (uint i = 0u; i < count; i++) { + _cmdBuffs[i] = ((CommandBufferProxy*)cmdBuffs[i])->GetRemote(); + } + _remote->execute(_cmdBuffs.data(), count); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index 40c95053fe..b8f5a510f6 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -36,6 +36,9 @@ public: virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } virtual uint getNumInstances() const override { return _remote->getNumInstances(); } virtual uint getNumTris() const override { return _remote->getNumTris(); } + +protected: + CommandBufferList _cmdBuffs; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp new file mode 100755 index 0000000000..9ee18a97cd --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp @@ -0,0 +1,41 @@ +#include "CoreStd.h" +#include "GFXDescriptorSetProxy.h" +#include "GFXBufferProxy.h" +#include "GFXTextureProxy.h" + +namespace cc { +namespace gfx { + +bool DescriptorSetProxy::initialize(const DescriptorSetInfo &info) { + _layout = info.layout; + + bool res = _remote->initialize(info); + + return res; +} + +void DescriptorSetProxy::destroy() { + _remote->destroy(); +} + +void DescriptorSetProxy::update() { + _remote->update(); +} + +void DescriptorSetProxy::bindBuffer(uint binding, Buffer *buffer, uint index) { + DescriptorSet::bindBuffer(binding, buffer, index); + _remote->bindBuffer(binding, ((BufferProxy*)buffer)->GetRemote(), index); +} + +void DescriptorSetProxy::bindTexture(uint binding, Texture *texture, uint index) { + DescriptorSet::bindTexture(binding, texture, index); + _remote->bindTexture(binding, ((TextureProxy*)texture)->GetRemote(), index); +} + +void DescriptorSetProxy::bindSampler(uint binding, Sampler *sampler, uint index) { + DescriptorSet::bindSampler(binding, sampler, index); + _remote->bindSampler(binding, sampler, index); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h new file mode 100755 index 0000000000..5974055905 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h @@ -0,0 +1,24 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXDescriptorSet.h" + +namespace cc { +namespace gfx { + +class CC_DLL DescriptorSetProxy : public Proxy { +public: + using Proxy::Proxy; + DescriptorSetProxy(Device *device) = delete; + + virtual bool initialize(const DescriptorSetInfo &info) override; + virtual void destroy() override; + virtual void update() override; + + virtual void bindBuffer(uint binding, Buffer *buffer, uint index) override; + virtual void bindTexture(uint binding, Texture *texture, uint index) override; + virtual void bindSampler(uint binding, Sampler *sampler, uint index) override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index d2909737d1..ee49356dfb 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -49,7 +49,7 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { _uboOffsetAlignment = _remote->getUboOffsetAlignment(); _depthBits = _remote->getDepthBits(); _stencilBits = _remote->getStencilBits(); - memcpy(_features, ((DeviceProxy*)_remote.get())->_features, (size_t)Feature::COUNT); + memcpy(_features, ((DeviceProxy*)_remote.get())->_features, (uint)Feature::COUNT * sizeof(bool)); _thread = std::make_unique(this); _thread->Run(); @@ -155,7 +155,7 @@ PipelineState *DeviceProxy::createPipelineState(const PipelineStateInfo &info) { } void DeviceProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - _remote->copyBuffersToTexture(buffers, dst, regions, count); + _remote->copyBuffersToTexture(buffers, ((TextureProxy*)dst)->GetRemote(), regions, count); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index b05a2b16d5..40127361ea 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -64,6 +64,10 @@ public: virtual uint getNumInstances() const { return _numInstances; } virtual uint getNumTris() const { return _numTriangles; } + // TODO: device proxy hack, remove this + Device(Device *device): Device() {}; + CC_INLINE Device *getDevice() const { return (Device*)this; } + Format getColorFormat() const; Format getDepthStencilFormat() const; CC_INLINE API getGfxAPI() const { return _API; } From f666baf79d6001c1e35d575968527d64a66b2af3 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 18 Nov 2020 21:13:12 +0800 Subject: [PATCH 006/270] working single thread --- native/cocos/renderer/core/Core.h | 4 + .../core/gfx-proxy/GFXBufferProxy.cpp | 61 ++++- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 228 ++++++++++++++++-- .../core/gfx-proxy/GFXCommandBufferProxy.h | 10 +- .../core/gfx-proxy/GFXDescriptorSetProxy.cpp | 73 +++++- .../core/gfx-proxy/GFXDeviceProxy.cpp | 214 ++++++++++------ .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 48 ++-- .../core/gfx-proxy/GFXDeviceThread.cpp | 16 +- .../renderer/core/gfx-proxy/GFXDeviceThread.h | 3 +- .../core/gfx-proxy/GFXFramebufferProxy.cpp | 48 ++++ .../core/gfx-proxy/GFXFramebufferProxy.h | 19 ++ .../core/gfx-proxy/GFXInputAssemblerProxy.cpp | 45 ++++ .../core/gfx-proxy/GFXInputAssemblerProxy.h | 27 +++ .../core/gfx-proxy/GFXPipelineStateProxy.cpp | 46 ++++ .../core/gfx-proxy/GFXPipelineStateProxy.h | 19 ++ .../cocos/renderer/core/gfx-proxy/GFXProxy.h | 7 +- .../renderer/core/gfx-proxy/GFXQueueProxy.cpp | 55 +++++ .../renderer/core/gfx-proxy/GFXQueueProxy.h | 23 ++ .../core/gfx-proxy/GFXShaderProxy.cpp | 20 +- .../core/gfx-proxy/GFXTextureProxy.cpp | 41 +++- native/cocos/renderer/core/gfx/GFXDevice.cpp | 3 - native/cocos/renderer/core/gfx/GFXDevice.h | 22 +- .../renderer/core/thread/CommandEncoder.cpp | 9 +- .../renderer/core/thread/CommandEncoder.h | 35 +-- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 41 +--- native/cocos/renderer/gfx-gles2/GLES2Device.h | 16 ++ .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 41 +--- native/cocos/renderer/gfx-gles3/GLES3Device.h | 15 ++ native/cocos/renderer/gfx-metal/MTLDevice.h | 43 ++-- native/cocos/renderer/gfx-metal/MTLDevice.mm | 29 +-- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 38 ++- native/cocos/renderer/gfx-vulkan/VKDevice.h | 36 ++- 32 files changed, 1022 insertions(+), 313 deletions(-) create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp create mode 100755 native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 97d3f803c3..4b57bde774 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -32,5 +32,9 @@ #include "gfx-proxy/GFXBufferProxy.h" #include "gfx-proxy/GFXTextureProxy.h" #include "gfx-proxy/GFXShaderProxy.h" +#include "gfx-proxy/GFXFramebufferProxy.h" +#include "gfx-proxy/GFXInputAssemblerProxy.h" +#include "gfx-proxy/GFXPipelineStateProxy.h" #include "gfx-proxy/GFXDescriptorSetProxy.h" #include "gfx-proxy/GFXCommandBufferProxy.h" +#include "gfx-proxy/GFXQueueProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp index 0090eeb2e3..d0b7ca8d89 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp @@ -1,5 +1,7 @@ #include "CoreStd.h" #include "GFXBufferProxy.h" +#include "GFXDeviceProxy.h" +#include "GFXDeviceThread.h" namespace cc { namespace gfx { @@ -12,9 +14,16 @@ bool BufferProxy::initialize(const BufferInfo &info) { _stride = std::max(info.stride, 1u); _count = _size / _stride; - bool res = _remote->initialize(info); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + BufferInit, + remote, GetRemote(), + info, info, + { + remote->initialize(info); + }); - return res; + return true; } bool BufferProxy::initialize(const BufferViewInfo &info) { @@ -25,24 +34,56 @@ bool BufferProxy::initialize(const BufferViewInfo &info) { _stride = info.buffer->getStride(); _count = info.buffer->getCount(); - bool res = _remote->initialize(info); + BufferViewInfo remoteInfo = info; + remoteInfo.buffer = ((BufferProxy*)info.buffer)->GetRemote(); - return res; + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + BufferViewInit, + remote, GetRemote(), + info, remoteInfo, + { + remote->initialize(info); + }); + + return true; } void BufferProxy::destroy() { - _remote->destroy(); + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + BufferDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); +} + +void BufferProxy::update(void *buffer, uint offset, uint size) { + ENCODE_COMMAND_4( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + BufferUpdate, + remote, GetRemote(), + buffer, buffer, + offset, offset, + size, size, + { + remote->update(buffer, offset, size); + }); } void BufferProxy::resize(uint size) { _size = size; _count = size / _stride; - _remote->resize(size); -} - -void BufferProxy::update(void *buffer, uint offset, uint size) { - _remote->update(buffer, offset, size); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + BufferUpdate, + remote, GetRemote(), + size, size, + { + remote->resize(size); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 217aba09a3..54525e8796 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -1,8 +1,13 @@ #include "CoreStd.h" #include "GFXCommandBufferProxy.h" #include "GFXDescriptorSetProxy.h" +#include "GFXInputAssemblerProxy.h" +#include "GFXPipelineStateProxy.h" +#include "GFXFramebufferProxy.h" #include "GFXBufferProxy.h" #include "GFXTextureProxy.h" +#include "GFXQueueProxy.h" +#include "GFXDeviceProxy.h" namespace cc { namespace gfx { @@ -11,93 +16,266 @@ bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { _type = info.type; _queue = info.queue; - bool res = _remote->initialize(info); + CommandBufferInfo remoteInfo = info; + remoteInfo.queue = ((QueueProxy*)info.queue)->GetRemote(); - return res; + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferInit, + remote, GetRemote(), + info, remoteInfo, + { + remote->initialize(info); + }); + + return true; } void CommandBufferProxy::destroy() { - _remote->destroy(); + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); } void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { - _remote->begin(renderPass, subpass, frameBuffer); + ENCODE_COMMAND_4( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferBegin, + remote, GetRemote(), + renderPass, renderPass, + subpass, subpass, + frameBuffer, frameBuffer ? ((FramebufferProxy*)frameBuffer)->GetRemote() : nullptr, + { + remote->begin(renderPass, subpass, frameBuffer); + }); } void CommandBufferProxy::end() { - _remote->end(); + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferEnd, + remote, GetRemote(), + { + remote->end(); + }); } void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - _remote->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil); + ENCODE_COMMAND_7( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferBeginRenderPass, + remote, GetRemote(), + renderPass, renderPass, + fbo, ((FramebufferProxy*)fbo)->GetRemote(), + renderArea, renderArea, + colors, colors, + depth, depth, + stencil, stencil, + { + remote->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil); + }); } void CommandBufferProxy::endRenderPass() { - _remote->endRenderPass(); + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferEndRenderPass, + remote, GetRemote(), + { + remote->endRenderPass(); + }); } void CommandBufferProxy::bindPipelineState(PipelineState *pso) { - _remote->bindPipelineState(pso); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferBindPipelineState, + remote, GetRemote(), + pso, ((PipelineStateProxy*)pso)->GetRemote(), + { + remote->bindPipelineState(pso); + }); } void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { - _remote->bindDescriptorSet(set, ((DescriptorSetProxy*)descriptorSet)->GetRemote(), dynamicOffsetCount, dynamicOffsets); + ENCODE_COMMAND_5( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferBindDescriptorSet, + remote, GetRemote(), + set, set, + descriptorSet, ((DescriptorSetProxy*)descriptorSet)->GetRemote(), + dynamicOffsetCount, dynamicOffsetCount, + dynamicOffsets, dynamicOffsets, + { + remote->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); + }); } void CommandBufferProxy::bindInputAssembler(InputAssembler *ia) { - _remote->bindInputAssembler(ia); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferBindInputAssembler, + remote, GetRemote(), + ia, ((InputAssemblerProxy*)ia)->GetRemote(), + { + remote->bindInputAssembler(ia); + }); } void CommandBufferProxy::setViewport(const Viewport &vp) { - _remote->setViewport(vp); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferSetViewport, + remote, GetRemote(), + vp, vp, + { + remote->setViewport(vp); + }); } void CommandBufferProxy::setScissor(const Rect &rect) { - _remote->setScissor(rect); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferSetScissor, + remote, GetRemote(), + rect, rect, + { + remote->setScissor(rect); + }); } void CommandBufferProxy::setLineWidth(const float width) { - _remote->setLineWidth(width); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferSetLineWidth, + remote, GetRemote(), + width, width, + { + remote->setLineWidth(width); + }); } void CommandBufferProxy::setDepthBias(float constant, float clamp, float slope) { - _remote->setDepthBias(constant, clamp, slope); + ENCODE_COMMAND_4( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferSetDepthBias, + remote, GetRemote(), + constant, constant, + clamp, clamp, + slope, slope, + { + remote->setDepthBias(constant, clamp, slope); + }); } void CommandBufferProxy::setBlendConstants(const Color &constants) { - _remote->setBlendConstants(constants); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferSetBlendConstants, + remote, GetRemote(), + constants, constants, + { + remote->setBlendConstants(constants); + }); } void CommandBufferProxy::setDepthBound(float minBounds, float maxBounds) { - _remote->setDepthBound(minBounds, maxBounds); + ENCODE_COMMAND_3( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferSetDepthBound, + remote, GetRemote(), + minBounds, minBounds, + maxBounds, maxBounds, + { + remote->setDepthBound(minBounds, maxBounds); + }); } void CommandBufferProxy::setStencilWriteMask(StencilFace face, uint mask) { - _remote->setStencilWriteMask(face, mask); + ENCODE_COMMAND_3( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferSetStencilWriteMask, + remote, GetRemote(), + face, face, + mask, mask, + { + remote->setStencilWriteMask(face, mask); + }); } void CommandBufferProxy::setStencilCompareMask(StencilFace face, int ref, uint mask) { - _remote->setStencilCompareMask(face, ref, mask); + ENCODE_COMMAND_4( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferSetStencilCompareMask, + remote, GetRemote(), + face, face, + ref, ref, + mask, mask, + { + remote->setStencilCompareMask(face, ref, mask); + }); } void CommandBufferProxy::draw(InputAssembler *ia) { - _remote->draw(ia); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferDraw, + remote, GetRemote(), + ia, ((InputAssemblerProxy*)ia)->GetRemote(), + { + remote->draw(ia); + }); } void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { - _remote->updateBuffer(((BufferProxy*)buff)->GetRemote(), data, size, offset); + ENCODE_COMMAND_5( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferUpdateBuffer, + remote, GetRemote(), + buff, ((BufferProxy*)buff)->GetRemote(), + data, data, + size, size, + offset, offset, + { + remote->updateBuffer(buff, data, size, offset); + }); } void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - _remote->copyBuffersToTexture(buffers, ((TextureProxy*)texture)->GetRemote(), regions, count); + ENCODE_COMMAND_5( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + CommandBufferCopyBuffersToTexture, + remote, GetRemote(), + buffers, buffers, + texture, ((TextureProxy*)texture)->GetRemote(), + regions, regions, + count, count, + { + remote->copyBuffersToTexture(buffers, texture, regions, count); + }); } void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - _cmdBuffs.reserve(count); - for (uint i = 0u; i < count; i++) { - _cmdBuffs[i] = ((CommandBufferProxy*)cmdBuffs[i])->GetRemote(); + CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + + const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); + for (uint i = 0; i < count; ++i) { + remoteCmdBuffs[i] = ((CommandBufferProxy*)cmdBuffs[i])->GetRemote(); } - _remote->execute(_cmdBuffs.data(), count); + + ENCODE_COMMAND_3( + encoder, + CommandBufferExecute, + remote, GetRemote(), + cmdBuffs, remoteCmdBuffs, + count, count, + { + remote->execute(cmdBuffs, count); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index b8f5a510f6..6267fb179f 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -33,12 +33,16 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + using CommandBuffer::begin; + using CommandBuffer::updateBuffer; + using CommandBuffer::execute; + using CommandBuffer::bindDescriptorSet; + using CommandBuffer::beginRenderPass; + using CommandBuffer::copyBuffersToTexture; + virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } virtual uint getNumInstances() const override { return _remote->getNumInstances(); } virtual uint getNumTris() const override { return _remote->getNumTris(); } - -protected: - CommandBufferList _cmdBuffs; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp index 9ee18a97cd..c118f2c028 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp @@ -2,39 +2,98 @@ #include "GFXDescriptorSetProxy.h" #include "GFXBufferProxy.h" #include "GFXTextureProxy.h" +#include "GFXDeviceProxy.h" namespace cc { namespace gfx { bool DescriptorSetProxy::initialize(const DescriptorSetInfo &info) { _layout = info.layout; + uint descriptorCount = _layout->getDescriptorCount(); + _buffers.resize(descriptorCount); + _textures.resize(descriptorCount); + _samplers.resize(descriptorCount); - bool res = _remote->initialize(info); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + DescriptorSetInit, + remote, GetRemote(), + info, info, + { + remote->initialize(info); + }); - return res; + return true; } void DescriptorSetProxy::destroy() { - _remote->destroy(); + // do remember to clear these or else it might not be properly updated when reused + _buffers.clear(); + _textures.clear(); + _samplers.clear(); + + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + DescriptorSetDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); } void DescriptorSetProxy::update() { - _remote->update(); + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + DescriptorSetUpdate, + remote, GetRemote(), + { + remote->update(); + }); } void DescriptorSetProxy::bindBuffer(uint binding, Buffer *buffer, uint index) { DescriptorSet::bindBuffer(binding, buffer, index); - _remote->bindBuffer(binding, ((BufferProxy*)buffer)->GetRemote(), index); + + ENCODE_COMMAND_4( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + DescriptorBindBuffer, + remote, GetRemote(), + binding, binding, + buffer, ((BufferProxy*)buffer)->GetRemote(), + index, index, + { + remote->bindBuffer(binding, buffer, index); + }); } void DescriptorSetProxy::bindTexture(uint binding, Texture *texture, uint index) { DescriptorSet::bindTexture(binding, texture, index); - _remote->bindTexture(binding, ((TextureProxy*)texture)->GetRemote(), index); + + ENCODE_COMMAND_4( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + DescriptorBindTexture, + remote, GetRemote(), + binding, binding, + texture, ((TextureProxy*)texture)->GetRemote(), + index, index, + { + remote->bindTexture(binding, texture, index); + }); } void DescriptorSetProxy::bindSampler(uint binding, Sampler *sampler, uint index) { DescriptorSet::bindSampler(binding, sampler, index); - _remote->bindSampler(binding, sampler, index); + + ENCODE_COMMAND_4( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + DescriptorBindSampler, + remote, GetRemote(), + binding, binding, + sampler, sampler, + index, index, + { + remote->bindSampler(binding, sampler, index); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index ee49356dfb..564d5885d9 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -4,6 +4,11 @@ #include "GFXBufferProxy.h" #include "GFXTextureProxy.h" #include "GFXShaderProxy.h" +#include "GFXDescriptorSetProxy.h" +#include "GFXInputAssemblerProxy.h" +#include "GFXPipelineStateProxy.h" +#include "GFXFramebufferProxy.h" +#include "GFXQueueProxy.h" #include "GFXDeviceThread.h" namespace cc { @@ -28,134 +33,187 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { _bindingMappingInfo.samplerOffsets.push_back(0); } - bool res = _remote->initialize(info); - - _context = _remote->getContext(); - _API = _remote->getGfxAPI(); - _deviceName = _remote->getDeviceName(); - _queue = _remote->getQueue(); - _cmdBuff = _remote->getCommandBuffer(); - _renderer = _remote->getRenderer(); - _vendor = _remote->getVendor(); - _maxVertexAttributes = _remote->getMaxVertexAttributes(); - _maxVertexUniformVectors = _remote->getMaxVertexUniformVectors(); - _maxFragmentUniformVectors = _remote->getMaxFragmentUniformVectors(); - _maxTextureUnits = _remote->getMaxTextureUnits(); - _maxVertexTextureUnits = _remote->getMaxVertexTextureUnits(); - _maxUniformBufferBindings = _remote->getMaxUniformBufferBindings(); - _maxUniformBlockSize = _remote->getMaxUniformBlockSize(); - _maxTextureSize = _remote->getMaxTextureSize(); - _maxCubeMapTextureSize = _remote->getMaxCubeMapTextureSize(); - _uboOffsetAlignment = _remote->getUboOffsetAlignment(); - _depthBits = _remote->getDepthBits(); - _stencilBits = _remote->getStencilBits(); - memcpy(_features, ((DeviceProxy*)_remote.get())->_features, (uint)Feature::COUNT * sizeof(bool)); - _thread = std::make_unique(this); + _thread->GetMainCommandEncoder()->RunConsumerThread(); _thread->Run(); - return res; + ENCODE_COMMAND_3( + _thread->GetMainCommandEncoder(), + DeviceInit, + remote, GetRemote(), + info, info, + device, this, + { + remote->initialize(info); + + device->_context = remote->getContext(); + device->_API = remote->getGfxAPI(); + device->_deviceName = remote->getDeviceName(); + device->_queue = CC_NEW(QueueProxy(remote->getQueue(), device)); + device->_cmdBuff = CC_NEW(CommandBufferProxy(remote->getCommandBuffer(), device)); + device->_renderer = remote->getRenderer(); + device->_vendor = remote->getVendor(); + device->_maxVertexAttributes = remote->getMaxVertexAttributes(); + device->_maxVertexUniformVectors = remote->getMaxVertexUniformVectors(); + device->_maxFragmentUniformVectors = remote->getMaxFragmentUniformVectors(); + device->_maxTextureUnits = remote->getMaxTextureUnits(); + device->_maxVertexTextureUnits = remote->getMaxVertexTextureUnits(); + device->_maxUniformBufferBindings = remote->getMaxUniformBufferBindings(); + device->_maxUniformBlockSize = remote->getMaxUniformBlockSize(); + device->_maxTextureSize = remote->getMaxTextureSize(); + device->_maxCubeMapTextureSize = remote->getMaxCubeMapTextureSize(); + device->_uboOffsetAlignment = remote->getUboOffsetAlignment(); + device->_depthBits = remote->getDepthBits(); + device->_stencilBits = remote->getStencilBits(); + memcpy(device->_features, ((DeviceProxy*)remote)->_features, (uint)Feature::COUNT * sizeof(bool)); + + device->_thread->InitCommandBuffers(device); + }); + + _thread->GetMainCommandEncoder()->FinishWriting(true); + + return true; } void DeviceProxy::destroy() { - _thread->Terminate(); - _thread.reset(); - - _remote->destroy(); + ENCODE_COMMAND_2( + getDeviceThread()->GetMainCommandEncoder(), + DeviceDestroy, + remote, GetRemote(), + device, this, + { + remote->destroy(); + CC_SAFE_DELETE(device->_queue); + CC_SAFE_DELETE(device->_cmdBuff); + device->_thread->Terminate(); + device->_thread->GetMainCommandEncoder()->TerminateConsumerThread(); + device->_thread.reset(); + }); } void DeviceProxy::resize(uint width, uint height) { _width = _nativeWidth = width; _height = _nativeHeight = height; - _remote->resize(width, height); + + ENCODE_COMMAND_3( + getDeviceThread()->GetMainCommandEncoder(), + DeviceResize, + remote, GetRemote(), + width, width, + height, height, + { + remote->resize(width, height); + }); } void DeviceProxy::acquire() { - _remote->acquire(); + ENCODE_COMMAND_1( + getDeviceThread()->GetMainCommandEncoder(), + DeviceAcquire, + remote, GetRemote(), + { + remote->acquire(); + }); } void DeviceProxy::present() { - _remote->present(); + ENCODE_COMMAND_1( + getDeviceThread()->GetMainCommandEncoder(), + DevicePresent, + remote, GetRemote(), + { + remote->present(); + }); + + getDeviceThread()->GetMainCommandEncoder()->Kick(); } -CommandBuffer *DeviceProxy::createCommandBuffer(const CommandBufferInfo &info) { - CommandBuffer *remote = _remote->createCommandBuffer(info); - CommandBufferProxy *proxy = CC_NEW(CommandBufferProxy(remote)); +CommandBuffer *DeviceProxy::createCommandBuffer() { + CommandBuffer *remote = _remote->createCommandBuffer(); + CommandBufferProxy *proxy = CC_NEW(CommandBufferProxy(remote, this)); return proxy; } -Buffer *DeviceProxy::createBuffer(const BufferInfo &info) { - Buffer *remote = _remote->createBuffer(info); - BufferProxy *proxy = CC_NEW(BufferProxy(remote)); +Fence *DeviceProxy::createFence() { + return _remote->createFence(); +} + +Queue *DeviceProxy::createQueue() { + Queue *remote = _remote->createQueue(); + QueueProxy *proxy = CC_NEW(QueueProxy(remote, this)); return proxy; } -Buffer *DeviceProxy::createBuffer(const BufferViewInfo &info) { - Buffer *remote = _remote->createBuffer(info); - BufferProxy *proxy = CC_NEW(BufferProxy(remote)); +Buffer *DeviceProxy::createBuffer() { + Buffer *remote = _remote->createBuffer(); + BufferProxy *proxy = CC_NEW(BufferProxy(remote, this)); return proxy; } -Texture *DeviceProxy::createTexture(const TextureInfo &info) { - Texture *remote = _remote->createTexture(info); - TextureProxy *proxy = CC_NEW(TextureProxy(remote)); +Texture *DeviceProxy::createTexture() { + Texture *remote = _remote->createTexture(); + TextureProxy *proxy = CC_NEW(TextureProxy(remote, this)); return proxy; } -Texture *DeviceProxy::createTexture(const TextureViewInfo &info) { - Texture *remote = _remote->createTexture(info); - TextureProxy *proxy = CC_NEW(TextureProxy(remote)); +Sampler *DeviceProxy::createSampler() { + return _remote->createSampler(); +} + +Shader *DeviceProxy::createShader() { + Shader *remote = _remote->createShader(); + ShaderProxy *proxy = CC_NEW(ShaderProxy(remote, this)); return proxy; } -Shader *DeviceProxy::createShader(const ShaderInfo &info) { - Shader *remote = _remote->createShader(info); - ShaderProxy *proxy = CC_NEW(ShaderProxy(remote)); +InputAssembler *DeviceProxy::createInputAssembler() { + InputAssembler *remote = _remote->createInputAssembler(); + InputAssemblerProxy *proxy = CC_NEW(InputAssemblerProxy(remote, this)); return proxy; } -Fence *DeviceProxy::createFence(const FenceInfo &info) { - return _remote->createFence(info); +RenderPass *DeviceProxy::createRenderPass() { + return _remote->createRenderPass(); } -Queue *DeviceProxy::createQueue(const QueueInfo &info) { - return _remote->createQueue(info); +Framebuffer *DeviceProxy::createFramebuffer() { + Framebuffer *remote = _remote->createFramebuffer(); + FramebufferProxy *proxy = CC_NEW(FramebufferProxy(remote, this)); + return proxy; } -Sampler *DeviceProxy::createSampler(const SamplerInfo &info) { - return _remote->createSampler(info); +DescriptorSet *DeviceProxy::createDescriptorSet() { + DescriptorSet *remote = _remote->createDescriptorSet(); + DescriptorSetProxy *proxy = CC_NEW(DescriptorSetProxy(remote, this)); + return proxy; } -InputAssembler *DeviceProxy::createInputAssembler(const InputAssemblerInfo &info) { - return _remote->createInputAssembler(info); +DescriptorSetLayout *DeviceProxy::createDescriptorSetLayout() { + return _remote->createDescriptorSetLayout(); } -RenderPass *DeviceProxy::createRenderPass(const RenderPassInfo &info) { - return _remote->createRenderPass(info); +PipelineLayout *DeviceProxy::createPipelineLayout() { + return _remote->createPipelineLayout(); } -Framebuffer *DeviceProxy::createFramebuffer(const FramebufferInfo &info) { - return _remote->createFramebuffer(info); -} - -DescriptorSet *DeviceProxy::createDescriptorSet(const DescriptorSetInfo &info) { - return _remote->createDescriptorSet(info); -} - -DescriptorSetLayout *DeviceProxy::createDescriptorSetLayout(const DescriptorSetLayoutInfo &info) { - return _remote->createDescriptorSetLayout(info); -} - -PipelineLayout *DeviceProxy::createPipelineLayout(const PipelineLayoutInfo &info) { - return _remote->createPipelineLayout(info); -} - -PipelineState *DeviceProxy::createPipelineState(const PipelineStateInfo &info) { - return _remote->createPipelineState(info); +PipelineState *DeviceProxy::createPipelineState() { + PipelineState *remote = _remote->createPipelineState(); + PipelineStateProxy *proxy = CC_NEW(PipelineStateProxy(remote, this)); + return proxy; } void DeviceProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - _remote->copyBuffersToTexture(buffers, ((TextureProxy*)dst)->GetRemote(), regions, count); + ENCODE_COMMAND_5( + getDeviceThread()->GetMainCommandEncoder(), + DeviceCopyBuffersToTexture, + remote, GetRemote(), + buffers, buffers, + dst, ((TextureProxy*)dst)->GetRemote(), + regions, regions, + count, count, + { + remote->copyBuffersToTexture(buffers, dst, regions, count); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index 984daf9637..22989e6d38 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -10,28 +10,42 @@ namespace gfx { class CC_DLL DeviceProxy : public Proxy { public: using Proxy::Proxy; + using Device::createCommandBuffer; + using Device::createFence; + using Device::createQueue; + using Device::createBuffer; + using Device::createTexture; + using Device::createSampler; + using Device::createShader; + using Device::createInputAssembler; + using Device::createRenderPass; + using Device::createFramebuffer; + using Device::createDescriptorSet; + using Device::createDescriptorSetLayout; + using Device::createPipelineLayout; + using Device::createPipelineState; + using Device::copyBuffersToTexture; virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; - virtual CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) override; - virtual Fence *createFence(const FenceInfo &info) override; - virtual Queue *createQueue(const QueueInfo &info) override; - virtual Buffer *createBuffer(const BufferInfo &info) override; - virtual Buffer *createBuffer(const BufferViewInfo &info) override; - virtual Texture *createTexture(const TextureInfo &info) override; - virtual Texture *createTexture(const TextureViewInfo &info) override; - virtual Sampler *createSampler(const SamplerInfo &info) override; - virtual Shader *createShader(const ShaderInfo &info) override; - virtual InputAssembler *createInputAssembler(const InputAssemblerInfo &info) override; - virtual RenderPass *createRenderPass(const RenderPassInfo &info) override; - virtual Framebuffer *createFramebuffer(const FramebufferInfo &info) override; - virtual DescriptorSet *createDescriptorSet(const DescriptorSetInfo &info) override; - virtual DescriptorSetLayout *createDescriptorSetLayout(const DescriptorSetLayoutInfo &info) override; - virtual PipelineLayout *createPipelineLayout(const PipelineLayoutInfo &info) override; - virtual PipelineState *createPipelineState(const PipelineStateInfo &info) override; + + virtual CommandBuffer *createCommandBuffer() override; + virtual Fence *createFence() override; + virtual Queue *createQueue() override; + virtual Buffer *createBuffer() override; + virtual Texture *createTexture() override; + virtual Sampler *createSampler() override; + virtual Shader *createShader() override; + virtual InputAssembler *createInputAssembler() override; + virtual RenderPass *createRenderPass() override; + virtual Framebuffer *createFramebuffer() override; + virtual DescriptorSet *createDescriptorSet() override; + virtual DescriptorSetLayout *createDescriptorSetLayout() override; + virtual PipelineLayout *createPipelineLayout() override; + virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; virtual SurfaceTransform getSurfaceTransform() const override { return _remote->getSurfaceTransform(); } @@ -44,6 +58,8 @@ public: virtual uint getNumInstances() const override { return _remote->getNumInstances(); } virtual uint getNumTris() const override { return _remote->getNumTris(); } + DeviceThread *getDeviceThread() const { return _thread.get(); } + protected: friend class DeviceThread; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp index f779d52f86..96fb10bccd 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp @@ -13,14 +13,9 @@ DeviceThread::DeviceThread(DeviceProxy *device) noexcept uint8_t const commandBufferCount = false ? std::thread::hardware_concurrency() : 1; mSubmitContexts.resize(commandBufferCount); - CommandBufferInfo info; - info.type = CommandBufferType::PRIMARY; - info.queue = device->getQueue(); - for (auto& context : mSubmitContexts) { context.mEncoder = std::make_unique(); - context.mCommandBuffer.reset(device->createCommandBuffer(info)); } } @@ -45,5 +40,16 @@ void DeviceThread::Terminate() noexcept } } +void DeviceThread::InitCommandBuffers(DeviceProxy *device) noexcept { + CommandBufferInfo info; + info.type = CommandBufferType::PRIMARY; + info.queue = device->getQueue(); + + for (auto& context : mSubmitContexts) + { + context.mCommandBuffer.reset(device->createCommandBuffer(info)); + } +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h index c25754164e..854fda72d2 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h @@ -24,8 +24,9 @@ public: void Run() noexcept; void Terminate() noexcept; - inline CommandEncoder* GetMainCommandEncoder() const noexcept { return mMainCommandEncoder.get(); } + inline CommandEncoder* GetMainCommandEncoder() const noexcept { return mMainCommandEncoder.get(); } + void InitCommandBuffers(DeviceProxy *device) noexcept; private: std::unique_ptr mMainCommandEncoder {}; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp new file mode 100644 index 0000000000..3520e1cfa3 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp @@ -0,0 +1,48 @@ +#include "CoreStd.h" +#include "GFXFramebufferProxy.h" +#include "GFXTextureProxy.h" +#include "GFXDeviceProxy.h" +#include "GFXDeviceThread.h" + +namespace cc { +namespace gfx { + +bool FramebufferProxy::initialize(const FramebufferInfo &info) { + _renderPass = info.renderPass; + _colorTextures = info.colorTextures; + _depthStencilTexture = info.depthStencilTexture; + + FramebufferInfo remoteInfo = info; + for (uint i = 0u; i < info.colorTextures.size(); ++i) { + if (info.colorTextures[i]) { + remoteInfo.colorTextures[i] = ((TextureProxy*) info.colorTextures[i])->GetRemote(); + } + } + if (info.depthStencilTexture) { + remoteInfo.depthStencilTexture = ((TextureProxy*) info.depthStencilTexture)->GetRemote(); + } + + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + FramebufferInit, + remote, GetRemote(), + info, remoteInfo, + { + remote->initialize(info); + }); + + return true; +} + +void FramebufferProxy::destroy() { + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + FramebufferDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h new file mode 100644 index 0000000000..af0f1a539d --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h @@ -0,0 +1,19 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXFramebuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL FramebufferProxy : public Proxy { +public: + using Proxy::Proxy; + FramebufferProxy(Device *device) = delete; + + virtual bool initialize(const FramebufferInfo &info) override; + virtual void destroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp new file mode 100644 index 0000000000..28267e605e --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp @@ -0,0 +1,45 @@ +#include "CoreStd.h" +#include "GFXInputAssemblerProxy.h" +#include "GFXBufferProxy.h" + +namespace cc { +namespace gfx { + +bool InputAssemblerProxy::initialize(const InputAssemblerInfo &info) { + _attributes = info.attributes; + _vertexBuffers = info.vertexBuffers; + _indexBuffer = info.indexBuffer; + _indirectBuffer = info.indirectBuffer; + + if (_indexBuffer) { + _indexCount = _indexBuffer->getCount(); + _firstIndex = 0; + } else if (_vertexBuffers.size()) { + _vertexCount = _vertexBuffers[0]->getCount(); + _firstVertex = 0; + _vertexOffset = 0; + } + _attributesHash = computeAttributesHash(); + + InputAssemblerInfo remoteInfo = info; + for (uint i = 0u; i < remoteInfo.vertexBuffers.size(); ++i) { + remoteInfo.vertexBuffers[i] = ((BufferProxy*)remoteInfo.vertexBuffers[i])->GetRemote(); + } + if (remoteInfo.indexBuffer) { + remoteInfo.indexBuffer = ((BufferProxy*)remoteInfo.indexBuffer)->GetRemote(); + } + if (remoteInfo.indirectBuffer) { + remoteInfo.indirectBuffer = ((BufferProxy *)remoteInfo.indirectBuffer)->GetRemote(); + } + + bool res = _remote->initialize(remoteInfo); + + return res; +} + +void InputAssemblerProxy::destroy() { + _remote->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h new file mode 100755 index 0000000000..3056a42fab --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h @@ -0,0 +1,27 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXInputAssembler.h" + +namespace cc { +namespace gfx { + +class CC_DLL InputAssemblerProxy : public Proxy { +public: + using Proxy::Proxy; + InputAssemblerProxy(Device *device) = delete; + + virtual bool initialize(const InputAssemblerInfo &info) override; + virtual void destroy() override; + + virtual void setVertexCount(uint count) override { _vertexCount = count; _remote->setVertexCount(count); } + virtual void setFirstVertex(uint first) override { _firstVertex = first; _remote->setFirstVertex(first); } + virtual void setIndexCount(uint count) override { _indexCount = count; _remote->setIndexCount(count); } + virtual void setFirstIndex(uint first) override { _firstIndex = first; _remote->setFirstIndex(first); } + virtual void setVertexOffset(uint offset) override { _vertexOffset = offset; _remote->setVertexOffset(offset); } + virtual void setInstanceCount(uint count) override { _instanceCount = count; _remote->setInstanceCount(count); } + virtual void setFirstInstance(uint first) override { _firstInstance = first; _remote->setFirstInstance(first); } +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp new file mode 100755 index 0000000000..8307642348 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp @@ -0,0 +1,46 @@ +#include "CoreStd.h" +#include "GFXPipelineStateProxy.h" +#include "GFXShaderProxy.h" +#include "GFXDeviceProxy.h" + +namespace cc { +namespace gfx { + +bool PipelineStateProxy::initialize(const PipelineStateInfo &info) { + _primitive = info.primitive; + _shader = info.shader; + _inputState = info.inputState; + _rasterizerState = info.rasterizerState; + _depthStencilState = info.depthStencilState; + _blendState = info.blendState; + _dynamicStates = info.dynamicStates; + _renderPass = info.renderPass; + _pipelineLayout = info.pipelineLayout; + + PipelineStateInfo remoteInfo = info; + remoteInfo.shader = ((ShaderProxy*)info.shader)->GetRemote(); + + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + PipelineStateInit, + remote, GetRemote(), + info, remoteInfo, + { + remote->initialize(info); + }); + + return true; +} + +void PipelineStateProxy::destroy() { + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + PipelineStateDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h new file mode 100755 index 0000000000..dfeff34465 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h @@ -0,0 +1,19 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXPipelineState.h" + +namespace cc { +namespace gfx { + +class CC_DLL PipelineStateProxy : public Proxy { +public: + using Proxy::Proxy; + PipelineStateProxy(Device *device) = delete; + + virtual bool initialize(const PipelineStateInfo &info) override; + virtual void destroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXProxy.h index 6108104b05..d56e38dfb5 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXProxy.h @@ -11,11 +11,10 @@ public: Proxy() noexcept = delete; - explicit Proxy(Remote *const remote) noexcept - : Remote(remote->getDevice()) // TODO: handle the initial device references - { _remote.reset(remote); } + explicit Proxy(Remote *const remote, Device *const device) noexcept + : Remote(device) { _remote.reset(remote); } - virtual ~Proxy() { _remote.reset(); } + virtual ~Proxy() { _remote.reset(); } Proxy(Proxy const &) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp new file mode 100755 index 0000000000..5798939237 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp @@ -0,0 +1,55 @@ +#include "CoreStd.h" +#include "GFXQueueProxy.h" +#include "GFXCommandBufferProxy.h" +#include "GFXDeviceProxy.h" + +namespace cc { +namespace gfx { + +bool QueueProxy::initialize(const QueueInfo &info) { + _type = info.type; + + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + QueueInit, + remote, GetRemote(), + info, info, + { + remote->initialize(info); + }); + + return true; +} + +void QueueProxy::destroy() { + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + QueueDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); +} + +void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { + CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + + const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); + for (uint i = 0u; i < count; ++i) { + remoteCmdBuffs[i] = ((CommandBufferProxy*)cmdBuffs[i])->GetRemote(); + } + + ENCODE_COMMAND_4( + encoder, + QueueSubmit, + remote, GetRemote(), + cmdBuffs, remoteCmdBuffs, + count, count, + fence, fence, + { + remote->submit(cmdBuffs, count, fence); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h new file mode 100755 index 0000000000..cb67ebec8f --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h @@ -0,0 +1,23 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXQueue.h" + +namespace cc { +namespace gfx { + +class CC_DLL QueueProxy : public Proxy { +public: + using Proxy::Proxy; + using Queue::submit; + + QueueProxy(Device *device) = delete; + + virtual bool initialize(const QueueInfo &info) override; + virtual void destroy() override; + + virtual void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp index 018752dad4..0d22fda8c2 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp @@ -1,5 +1,6 @@ #include "CoreStd.h" #include "GFXShaderProxy.h" +#include "GFXDeviceProxy.h" namespace cc { namespace gfx { @@ -11,13 +12,26 @@ bool ShaderProxy::initialize(const ShaderInfo &info) { _blocks = info.blocks; _samplers = info.samplers; - bool res = _remote->initialize(info); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ShaderInit, + remote, GetRemote(), + info, info, + { + remote->initialize(info); + }); - return res; + return true; } void ShaderProxy::destroy() { - _remote->destroy(); + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ShaderDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp index d972d700da..7b2c24c061 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp @@ -1,5 +1,6 @@ #include "CoreStd.h" #include "GFXTextureProxy.h" +#include "GFXDeviceProxy.h" namespace cc { namespace gfx { @@ -17,9 +18,16 @@ bool TextureProxy::initialize(const TextureInfo &info) { _flags = info.flags; _size = FormatSize(_format, _width, _height, _depth); - bool res = _remote->initialize(info); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + TextureInit, + remote, GetRemote(), + info, info, + { + remote->initialize(info); + }); - return res; + return true; } bool TextureProxy::initialize(const TextureViewInfo &info) { @@ -43,17 +51,38 @@ bool TextureProxy::initialize(const TextureViewInfo &info) { _flags = info.texture->getFlags(); _size = FormatSize(_format, _width, _height, _depth); - bool res = _remote->initialize(info); + ENCODE_COMMAND_2( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + TextureViewInit, + remote, GetRemote(), + info, info, + { + remote->initialize(info); + }); - return res; + return true; } void TextureProxy::destroy() { - _remote->destroy(); + ENCODE_COMMAND_1( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + TextureDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); } void TextureProxy::resize(uint width, uint height) { - _remote->resize(width, height); + ENCODE_COMMAND_3( + ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + TextureResize, + remote, GetRemote(), + width, width, + height, height, + { + remote->resize(width, height); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx/GFXDevice.cpp b/native/cocos/renderer/core/gfx/GFXDevice.cpp index b66c4fa865..243e63f419 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.cpp +++ b/native/cocos/renderer/core/gfx/GFXDevice.cpp @@ -1,9 +1,6 @@ #include "CoreStd.h" #include "GFXContext.h" -#include "GFXDevice.h" -#include "cocos/bindings/event/CustomEventTypes.h" -#include "cocos/bindings/event/EventDispatcher.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 40127361ea..89f0722880 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -34,7 +34,23 @@ public: virtual void acquire() = 0; virtual void present() = 0; - CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = doCreateCommandBuffer(info, false); res->initialize(info); return res; } + virtual CommandBuffer *createCommandBuffer() = 0; + virtual Fence *createFence() = 0; + virtual Queue *createQueue() = 0; + virtual Buffer *createBuffer() = 0; + virtual Texture *createTexture() = 0; + virtual Sampler *createSampler() = 0; + virtual Shader *createShader() = 0; + virtual InputAssembler *createInputAssembler() = 0; + virtual RenderPass *createRenderPass() = 0; + virtual Framebuffer *createFramebuffer() = 0; + virtual DescriptorSet *createDescriptorSet() = 0; + virtual DescriptorSetLayout *createDescriptorSetLayout() = 0; + virtual PipelineLayout *createPipelineLayout() = 0; + virtual PipelineState *createPipelineState() = 0; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) = 0; + + CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = createCommandBuffer(); res->initialize(info); return res; } CC_INLINE Fence *createFence(const FenceInfo &info) { Fence *res = createFence(); res->initialize(info); return res; } CC_INLINE Queue *createQueue(const QueueInfo &info) { Queue *res = createQueue(); res->initialize(info); return res; } CC_INLINE Buffer *createBuffer(const BufferInfo &info) { Buffer *res = createBuffer(); res->initialize(info); return res; } @@ -64,10 +80,6 @@ public: virtual uint getNumInstances() const { return _numInstances; } virtual uint getNumTris() const { return _numTriangles; } - // TODO: device proxy hack, remove this - Device(Device *device): Device() {}; - CC_INLINE Device *getDevice() const { return (Device*)this; } - Format getColorFormat() const; Format getDepthStencilFormat() const; CC_INLINE API getGfxAPI() const { return _API; } diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index ef5c1d8477..bcadc50280 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -131,7 +131,7 @@ void CommandEncoder::TerminateConsumerThread() noexcept event.Wait(); } -void CommandEncoder::FinishWriting() noexcept +void CommandEncoder::FinishWriting(bool wait) noexcept { bool* const flushingFinished = &mR.mFlushingFinished; @@ -141,7 +141,7 @@ void CommandEncoder::FinishWriting() noexcept *flushingFinished = true; }); - Kick(); + wait ? KickAndWait() : Kick(); } void CommandEncoder::RecycleMemoryChunk(uint8_t* const chunk) const noexcept @@ -203,7 +203,7 @@ void CommandEncoder::PushCommands() noexcept void CommandEncoder::PullCommands() noexcept { uint32_t const writtenCommandCountNew = mW.mWrittenCommandCount.load(std::memory_order_acquire); - mR.mNewCommandCount = writtenCommandCountNew - mR.mWrittenCommandCountSnap; + mR.mNewCommandCount += writtenCommandCountNew - mR.mWrittenCommandCountSnap; mR.mWrittenCommandCountSnap = writtenCommandCountNew; } @@ -241,9 +241,8 @@ Command* CommandEncoder::ReadCommand() noexcept if (! HasNewCommand()) { mN.Wait(); + PullCommands(); } - - PullCommands(); } Command* const cmd = mR.mLastCommand->GetNext(); diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index 41e89730bc..68dc3abe9f 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -7,8 +7,8 @@ namespace cc { namespace gfx { -// 由于系统的内存分配是从一个全局堆里申请 分配过程会上锁导致降低并行度 在多线程的环境下如果频繁的申请释放内存会降低性能 -// 所以这里先加个接口来统一调用 未来会换成单独服务于线程的无锁分配器 +// ÓÉÓÚϵͳµÄÄڴæ·ÖÅäÊǴÓһ¸öȫ¾ֶÑÀïÉêÇë ·ÖÅä¹ý³̻áÉÏËøµ¼Ö½µµͲ¢ÐжÈ ÔڶàÏ̵߳Ļ·¾³ÏÂÈç¹ûƵ·±µÄÉêÇëÊͷÅÄڴæ»ήµÍÐÔÄÜ +// ËùÒÔÕâÀïÏȼӸö½ӿÚÀ´ͳһµ÷Óà δÀ´»ỻ³ɵ¥¶À·þÎñÓÚÏ̵߳ÄÎÞËø·ÖÅäÆ÷ template inline T* MemoryAllocateForMultiThread(uint32_t const count) noexcept { @@ -43,7 +43,7 @@ public: private: - Command* mNext { nullptr }; + Command* mNext; friend class CommandEncoder; }; @@ -68,9 +68,9 @@ struct alignas(64) ReaderContext final bool mFlushingFinished { false }; }; -// 支持单生产者单消费者的环形缓冲区 -// 生产者线程Allocate 消费者线程Execute -// 除了Command之外 执行Command需要的数据也需要拷贝到这里 来实现线程安全的数据访问 +// ֧³ֵ¥Éú²úÕߵ¥Ïû·ÑÕߵĻ·Ðλº³åÇø +// Éú²úÕßÏ߳ÌAllocate Ïû·ÑÕßÏ߳ÌExecute +// ³ýÁËCommand֮Íâ ִÐÐCommandÐèҪµÄÊý¾ÝҲÐèҪ¿½±´µ½ÕâÀï À´ʵÏÖḬ̈߳²ȫµÄÊý¾ݷÃÎÊ class alignas(64) CommandEncoder final { public: @@ -82,12 +82,12 @@ public: CommandEncoder& operator=(CommandEncoder const&) = delete; CommandEncoder& operator=(CommandEncoder&&) = delete; - // 分配Command + // ·ÖÅäCommand template std::enable_if_t::value, T*> Allocate(uint32_t const count) noexcept; - // 分配数据 + // ·ÖÅäÊý¾Ý template std::enable_if_t::value, T*> Allocate(uint32_t const count) noexcept; @@ -96,18 +96,18 @@ public: template T* AllocateAndZero(uint32_t const count) noexcept; - // 通知消费者线程开始工作 + // ֪ͨÏû·ÑÕßÏ߳̿ªʼ¹¤×÷ void Kick() noexcept; - // 通知消费者线程开始工作并阻塞生产者线程 直到消费者线程执行完所有命令 + // ֪ͨÏû·ÑÕßÏ߳̿ªʼ¹¤×÷²¢×èÈûÉú²úÕßÏ߳Ì ֱµ½Ïû·ÑÕßÏ߳ÌִÐÐÍêËùÓÐÃüÁî void KickAndWait() noexcept; - // 只支持单消费者 + // ֻ֧³ֵ¥Ïû·ÑÕß void RunConsumerThread() noexcept; void TerminateConsumerThread() noexcept; - void FinishWriting() noexcept; - void FlushCommands() noexcept; + void FinishWriting(bool wait) noexcept; + inline void FinishWriting() noexcept { FinishWriting(false); } inline bool IsImmediateMode() const noexcept { return mImmediateMode; } void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; @@ -141,8 +141,9 @@ private: uint8_t* AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept; void PushCommands() noexcept; - // 在消费者线程执行 + // ÔÚÏû·ÑÕßÏ߳ÌִÐÐ void PullCommands() noexcept; + void FlushCommands() noexcept; void ExecuteCommand() noexcept; Command* ReadCommand() noexcept; inline bool HasNewCommand() const noexcept { return mR.mNewCommandCount > 0 && ! mR.mFlushingFinished; } @@ -153,7 +154,7 @@ private: EventCV mN; bool mImmediateMode { true }; bool mWorkerAttached { false }; - bool mFreeChunksByUser { false }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free + bool mFreeChunksByUser { false }; // ±»»ØÊյÄChunk»ᱻ¼Ç¼µ½һ¸ö¶ÓÁÐÀï ÓÉÓû§ÔÚÉú²úÕßÏ߳ÌѡÔñºÏÊʵÄʱ»úÀ´Free friend class MemoryChunkSwitchCommand; }; @@ -199,7 +200,7 @@ template std::enable_if_t::value, T*> CommandEncoder::Allocate(uint32_t const count) noexcept { - uint32_t constexpr requestSize = sizeof(T) * count; + uint32_t const requestSize = sizeof(T) * count; assert(requestSize); uint32_t allocatedSize = 0; uint8_t* const allocatedMemory = AllocateImpl(allocatedSize, requestSize); @@ -223,7 +224,7 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept return allocatedMemory; } -// 生产者线程用来向CommandBuffer填充Command的工具宏 +// Éú²úÕßÏ߳ÌÓÃÀ´ÏòCommandBufferÌî³äCommandµĹ¤¾ߺê #define WRITE_COMMAND(CB, CommandName, Params) \ { \ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index fc6f2785b0..41daf4ecd0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -185,8 +185,16 @@ bool GLES2Device::initialize(const DeviceInfo &info) { } void GLES2Device::destroy() { - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_cmdBuff); + // these two are managed by their proxies + if (_queue) { + _queue->destroy(); + _queue = nullptr; + } + if (_cmdBuff) { + _cmdBuff->destroy(); + _cmdBuff = nullptr; + } + CC_SAFE_DESTROY(_context); CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); CC_SAFE_DESTROY(_deviceContext); @@ -216,34 +224,7 @@ void GLES2Device::present() { queue->_numTriangles = 0; } -void GLES2Device::bindRenderContext(bool bound) { - _renderContext->MakeCurrent(bound); - _context = bound ? _renderContext : nullptr; - - if (bound) { - _threadID = std::hash()(std::this_thread::get_id()); - } -} - -void GLES2Device::bindDeviceContext(bool bound) { - if (!_deviceContext) { - ContextInfo ctxInfo; - ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = _renderContext; - - _deviceContext = CC_NEW(GLES2Context(this)); - _deviceContext->initialize(ctxInfo); - } - _deviceContext->MakeCurrent(bound); - _context = bound ? _deviceContext : nullptr; - - if (bound) { - _threadID = std::hash()(std::this_thread::get_id()); - } -} - -CommandBuffer *GLES2Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES2PrimaryCommandBuffer(this)); +CommandBuffer *GLES2Device::createCommandBuffer() { return CC_NEW(GLES2CommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 958e73e189..bf3fa79122 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -65,6 +65,22 @@ public: virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; + virtual CommandBuffer *createCommandBuffer() override; + virtual Fence *createFence() override; + virtual Queue *createQueue() override; + virtual Buffer *createBuffer() override; + virtual Texture *createTexture() override; + virtual Sampler *createSampler() override; + virtual Shader *createShader() override; + virtual InputAssembler *createInputAssembler() override; + virtual RenderPass *createRenderPass() override; + virtual Framebuffer *createFramebuffer() override; + virtual DescriptorSet *createDescriptorSet() override; + virtual DescriptorSetLayout *createDescriptorSetLayout() override; + virtual PipelineLayout *createPipelineLayout() override; + virtual PipelineState *createPipelineState() override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + bool checkForETC2() const; CC_INLINE bool useVAO() const { return _useVAO; } CC_INLINE bool useDrawInstanced() const { return _useDrawInstanced; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 95b18b7db1..577193b629 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -175,8 +175,16 @@ bool GLES3Device::initialize(const DeviceInfo &info) { } void GLES3Device::destroy() { - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_cmdBuff); + // these two are managed by their proxies + if (_queue) { + _queue->destroy(); + _queue = nullptr; + } + if (_cmdBuff) { + _cmdBuff->destroy(); + _cmdBuff = nullptr; + } + CC_SAFE_DESTROY(_context); CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); CC_SAFE_DESTROY(_deviceContext); @@ -206,34 +214,7 @@ void GLES3Device::present() { queue->_numTriangles = 0; } -void GLES3Device::bindRenderContext(bool bound) { - _renderContext->MakeCurrent(bound); - _context = bound ? _renderContext : nullptr; - - if (bound) { - _threadID = std::hash()(std::this_thread::get_id()); - } -} - -void GLES3Device::bindDeviceContext(bool bound) { - if (!_deviceContext) { - ContextInfo ctxInfo; - ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = _renderContext; - - _deviceContext = CC_NEW(GLES3Context(this)); - _deviceContext->initialize(ctxInfo); - } - _deviceContext->MakeCurrent(bound); - _context = bound ? _deviceContext : nullptr; - - if (bound) { - _threadID = std::hash()(std::this_thread::get_id()); - } -} - -CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer(this)); +CommandBuffer *GLES3Device::createCommandBuffer() { return CC_NEW(GLES3CommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 4d6fd6963b..06dc534592 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -57,6 +57,21 @@ public: virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; + virtual CommandBuffer *createCommandBuffer() override; + virtual Fence *createFence() override; + virtual Queue *createQueue() override; + virtual Buffer *createBuffer() override; + virtual Texture *createTexture() override; + virtual Sampler *createSampler() override; + virtual Shader *createShader() override; + virtual InputAssembler *createInputAssembler() override; + virtual RenderPass *createRenderPass() override; + virtual Framebuffer *createFramebuffer() override; + virtual DescriptorSet *createDescriptorSet() override; + virtual DescriptorSetLayout *createDescriptorSetLayout() override; + virtual PipelineLayout *createPipelineLayout() override; + virtual PipelineState *createPipelineState() override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; CC_INLINE GLES3GPUStateCache *stateCache() const { return _gpuStateCache; } CC_INLINE GLES3GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 6b232a831c..bfb05337a1 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -53,25 +53,28 @@ public: using Device::createPipelineState; using Device::copyBuffersToTexture; + using Device::createCommandBuffer; + using Device::createFence; + using Device::createQueue; + using Device::createBuffer; + using Device::createTexture; + using Device::createSampler; + using Device::createShader; + using Device::createInputAssembler; + using Device::createRenderPass; + using Device::createFramebuffer; + using Device::createDescriptorSet; + using Device::createDescriptorSetLayout; + using Device::createPipelineLayout; + using Device::createPipelineState; + using Device::copyBuffersToTexture; + virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; - - CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } - CC_INLINE void *getMTKView() const { return _mtkView; } - CC_INLINE void *getMTLDevice() const { return _mtlDevice; } - CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } - CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } - CC_INLINE uint getMaximumBufferBindingIndex() const { return _maxBufferBindingIndex; } - CC_INLINE bool isIndirectCommandBufferSupported() const { return _icbSuppored; } - CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } - CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } - CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } - -protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual CommandBuffer *createCommandBuffer() override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; @@ -86,6 +89,18 @@ protected: virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual void blitBuffer(void *srcBuffer, uint offset, uint size, void *dstBuffer); + + CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } + CC_INLINE void *getMTKView() const { return _mtkView; } + CC_INLINE void *getMTLDevice() const { return _mtlDevice; } + CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } + CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } + CC_INLINE uint getMaximumBufferBindingIndex() const { return _maxBufferBindingIndex; } + CC_INLINE bool isIndirectCommandBufferSupported() const { return _icbSuppored; } + CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } + CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPool; } + CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported;} private: void onMemoryWarning(); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index f407a8a5eb..3182a2f5dd 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -175,12 +175,15 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { } void CCMTLDevice::destroy() { - if (_memoryAlarmListenerId != 0) { - EventDispatcher::removeCustomEventListener(EVENT_MEMORY_WARNING, _memoryAlarmListenerId); - _memoryAlarmListenerId = 0; + // these two are managed by their proxies + if (_queue) { + _queue->destroy(); + _queue = nullptr; + } + if (_cmdBuff) { + _cmdBuff->destroy(); + _cmdBuff = nullptr; } - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_cmdBuff); CC_SAFE_DESTROY(_context); CC_SAFE_DELETE(_inFlightSemaphore); @@ -207,20 +210,6 @@ void CCMTLDevice::present() { _numDrawCalls = queue->_numDrawCalls; _numInstances = queue->_numInstances; _numTriangles = queue->_numTriangles; - - //hold this pointer before update _currentFrameIndex - CCMTLGPUStagingBufferPool *bufferPool = _gpuStagingBufferPools[_currentFrameIndex]; - _currentFrameIndex = (_currentFrameIndex + 1) % MAX_FRAMES_IN_FLIGHT; - - auto mtlCommandBuffer = static_cast(_cmdBuff)->getMTLCommandBuffer(); - auto mtkView = static_cast(_mtkView); - [mtlCommandBuffer presentDrawable:mtkView.currentDrawable]; - [mtlCommandBuffer addCompletedHandler:^(id commandBuffer) { - [commandBuffer release]; - bufferPool->reset(); - _inFlightSemaphore->signal(); - }]; - [mtlCommandBuffer commit]; } Fence *CCMTLDevice::createFence() { @@ -231,7 +220,7 @@ Queue *CCMTLDevice::createQueue() { return CC_NEW(CCMTLQueue(this)); } -CommandBuffer *CCMTLDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { +CommandBuffer *CCMTLDevice::createCommandBuffer() { return CC_NEW(CCMTLCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 7f53265c4e..d82139d590 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -390,11 +390,23 @@ void CCVKDevice::destroy() { } _depthStencilTextures.clear(); - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_cmdBuff); + if (_gpuRecycleBin) { + _gpuRecycleBin->clear(); + } - CC_SAFE_DELETE(_gpuBufferHub); - CC_SAFE_DELETE(_gpuTransportHub); + // these two are managed by their proxies + if (_queue) { + _queue->destroy(); + _queue = nullptr; + } + if (_cmdBuff) { + _cmdBuff->destroy(); + _cmdBuff = nullptr; + } + CC_SAFE_DELETE(_gpuSwapchain); + CC_SAFE_DELETE(_gpuStagingBufferPool); + CC_SAFE_DELETE(_gpuCommandBufferPool); + CC_SAFE_DELETE(_gpuDescriptorSetPool); CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); CC_SAFE_DELETE(_gpuDescriptorSetHub); @@ -516,26 +528,10 @@ void CCVKDevice::present() { #ifndef DISABLE_PRE_TRANSFORM if (res) _swapchainReady = false; #endif - - _gpuDevice->curBackBufferIndex = (_gpuDevice->curBackBufferIndex + 1) % _gpuDevice->backBufferCount; - - uint fenceCount = gpuFencePool()->size(); - if (fenceCount) { - VK_CHECK(vkWaitForFences(_gpuDevice->vkDevice, fenceCount, - gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); - } - - gpuFencePool()->reset(); - gpuRecycleBin()->clear(); - gpuStagingBufferPool()->reset(); } } -CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuDevice->curBackBufferIndex]; } -CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuDevice->curBackBufferIndex]; } -CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } - -CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { +CommandBuffer *CCVKDevice::createCommandBuffer() { return CC_NEW(CCVKCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 997d32acf1..c0e8aef51d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -49,27 +49,43 @@ public: ~CCVKDevice(); friend class CCVKContext; - using Device::copyBuffersToTexture; - using Device::createBuffer; using Device::createCommandBuffer; - using Device::createDescriptorSet; - using Device::createDescriptorSetLayout; using Device::createFence; - using Device::createFramebuffer; - using Device::createInputAssembler; - using Device::createPipelineLayout; - using Device::createPipelineState; using Device::createQueue; - using Device::createRenderPass; + using Device::createBuffer; + using Device::createTexture; using Device::createSampler; using Device::createShader; - using Device::createTexture; + using Device::createInputAssembler; + using Device::createRenderPass; + using Device::createFramebuffer; + using Device::createDescriptorSet; + using Device::createDescriptorSetLayout; + using Device::createPipelineLayout; + using Device::createPipelineState; + using Device::copyBuffersToTexture; virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; + virtual CommandBuffer *createCommandBuffer() override; + virtual Fence *createFence() override; + virtual Queue *createQueue() override; + virtual Buffer *createBuffer() override; + virtual Texture *createTexture() override; + virtual Sampler *createSampler() override; + virtual Shader *createShader() override; + virtual InputAssembler *createInputAssembler() override; + virtual RenderPass *createRenderPass() override; + virtual Framebuffer *createFramebuffer() override; + virtual DescriptorSet *createDescriptorSet() override; + virtual DescriptorSetLayout *createDescriptorSetLayout() override; + virtual PipelineLayout *createPipelineLayout() override; + virtual PipelineState *createPipelineState() override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + CC_INLINE bool checkExtension(const String &extension) const { return std::find_if(_extensions.begin(), _extensions.end(), [extension](const char *device_extension) { From c8f1be8f7126ad6a527354e771a9a5eb8f02f338 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 19 Nov 2020 14:42:55 +0800 Subject: [PATCH 007/270] proxy staging buffer --- .../core/gfx-proxy/GFXBufferProxy.cpp | 11 +++-- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 47 ++++++++++++++++--- .../core/gfx-proxy/GFXDescriptorSetProxy.cpp | 6 +-- .../core/gfx-proxy/GFXDeviceProxy.cpp | 26 ++++++++-- .../core/gfx-proxy/GFXInputAssemblerProxy.cpp | 21 +++++++-- .../renderer/core/thread/CommandEncoder.cpp | 40 +++++++++------- .../renderer/core/thread/CommandEncoder.h | 2 +- 7 files changed, 115 insertions(+), 38 deletions(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp index d0b7ca8d89..a5723378a1 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp @@ -60,11 +60,16 @@ void BufferProxy::destroy() { } void BufferProxy::update(void *buffer, uint offset, uint size) { + CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + + uint8_t *remoteBuffer = encoder->Allocate(size); + memcpy(remoteBuffer, buffer, size); + ENCODE_COMMAND_4( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + encoder, BufferUpdate, remote, GetRemote(), - buffer, buffer, + buffer, remoteBuffer, offset, offset, size, size, { @@ -78,7 +83,7 @@ void BufferProxy::resize(uint size) { ENCODE_COMMAND_2( ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - BufferUpdate, + BufferResize, remote, GetRemote(), size, size, { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 54525e8796..cdb4f4c2b4 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -102,14 +102,22 @@ void CommandBufferProxy::bindPipelineState(PipelineState *pso) { } void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { + CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + + uint *remoteDynamicOffsets = nullptr; + if (dynamicOffsetCount) { + remoteDynamicOffsets = encoder->Allocate(dynamicOffsetCount); + memcpy(remoteDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); + } + ENCODE_COMMAND_5( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + encoder, CommandBufferBindDescriptorSet, remote, GetRemote(), set, set, descriptorSet, ((DescriptorSetProxy*)descriptorSet)->GetRemote(), dynamicOffsetCount, dynamicOffsetCount, - dynamicOffsets, dynamicOffsets, + dynamicOffsets, remoteDynamicOffsets, { remote->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); }); @@ -232,12 +240,17 @@ void CommandBufferProxy::draw(InputAssembler *ia) { } void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { + CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + + uint8_t *remoteData = encoder->Allocate(size); + memcpy(remoteData, data, size); + ENCODE_COMMAND_5( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + encoder, CommandBufferUpdateBuffer, remote, GetRemote(), buff, ((BufferProxy*)buff)->GetRemote(), - data, data, + data, remoteData, size, size, offset, offset, { @@ -246,13 +259,33 @@ void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, } void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { + CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + + BufferTextureCopy *remoteRegions = encoder->Allocate(count); + memcpy(remoteRegions, regions, count * sizeof(BufferTextureCopy)); + + uint bufferCount = 0u; + for (uint i = 0u, n = 0u; i < count; i++) { + bufferCount += regions[i].texSubres.layerCount; + } + const uint8_t **remoteBuffers = encoder->Allocate(bufferCount); + for (uint i = 0u, n = 0u; i < count; i++) { + const BufferTextureCopy ®ion = regions[i]; + uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); + for (uint l = 0; l < region.texSubres.layerCount; l++) { + uint8_t *buffer = encoder->Allocate(size); + memcpy(buffer, buffers[n], size); + remoteBuffers[n++] = buffer; + } + } + ENCODE_COMMAND_5( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + encoder, CommandBufferCopyBuffersToTexture, remote, GetRemote(), - buffers, buffers, + buffers, remoteBuffers, texture, ((TextureProxy*)texture)->GetRemote(), - regions, regions, + regions, remoteRegions, count, count, { remote->copyBuffersToTexture(buffers, texture, regions, count); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp index c118f2c028..15fb9e668e 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp @@ -56,7 +56,7 @@ void DescriptorSetProxy::bindBuffer(uint binding, Buffer *buffer, uint index) { ENCODE_COMMAND_4( ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - DescriptorBindBuffer, + DescriptorSetBindBuffer, remote, GetRemote(), binding, binding, buffer, ((BufferProxy*)buffer)->GetRemote(), @@ -71,7 +71,7 @@ void DescriptorSetProxy::bindTexture(uint binding, Texture *texture, uint index) ENCODE_COMMAND_4( ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - DescriptorBindTexture, + DescriptorSetBindTexture, remote, GetRemote(), binding, binding, texture, ((TextureProxy*)texture)->GetRemote(), @@ -86,7 +86,7 @@ void DescriptorSetProxy::bindSampler(uint binding, Sampler *sampler, uint index) ENCODE_COMMAND_4( ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - DescriptorBindSampler, + DescriptorSetBindSampler, remote, GetRemote(), binding, binding, sampler, sampler, diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 564d5885d9..518c46e754 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -125,7 +125,7 @@ void DeviceProxy::present() { remote->present(); }); - getDeviceThread()->GetMainCommandEncoder()->Kick(); + getDeviceThread()->GetMainCommandEncoder()->FinishWriting(); } CommandBuffer *DeviceProxy::createCommandBuffer() { @@ -203,11 +203,31 @@ PipelineState *DeviceProxy::createPipelineState() { } void DeviceProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { + CommandEncoder *encoder = _thread->GetMainCommandEncoder(); + + BufferTextureCopy *remoteRegions = encoder->Allocate(count); + memcpy(remoteRegions, regions, count * sizeof(BufferTextureCopy)); + + uint bufferCount = 0u; + for (uint i = 0u; i < count; i++) { + bufferCount += regions[i].texSubres.layerCount; + } + const uint8_t **remoteBuffers = encoder->Allocate(bufferCount); + for (uint i = 0u, n = 0u; i < count; i++) { + const BufferTextureCopy ®ion = regions[i]; + uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); + for (uint l = 0; l < region.texSubres.layerCount; l++) { + uint8_t *buffer = encoder->Allocate(size); + memcpy(buffer, buffers[n], size); + remoteBuffers[n++] = buffer; + } + } + ENCODE_COMMAND_5( - getDeviceThread()->GetMainCommandEncoder(), + encoder, DeviceCopyBuffersToTexture, remote, GetRemote(), - buffers, buffers, + buffers, remoteBuffers, dst, ((TextureProxy*)dst)->GetRemote(), regions, regions, count, count, diff --git a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp index 28267e605e..d54e0b89fc 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp @@ -1,6 +1,8 @@ #include "CoreStd.h" #include "GFXInputAssemblerProxy.h" #include "GFXBufferProxy.h" +#include "GFXDeviceProxy.h" +#include "GFXDeviceThread.h" namespace cc { namespace gfx { @@ -32,13 +34,26 @@ bool InputAssemblerProxy::initialize(const InputAssemblerInfo &info) { remoteInfo.indirectBuffer = ((BufferProxy *)remoteInfo.indirectBuffer)->GetRemote(); } - bool res = _remote->initialize(remoteInfo); + ENCODE_COMMAND_2( + ((DeviceProxy *)_device)->getDeviceThread()->GetMainCommandEncoder(), + InputAssemblerInit, + remote, GetRemote(), + info, remoteInfo, + { + remote->initialize(info); + }); - return res; + return true; } void InputAssemblerProxy::destroy() { - _remote->destroy(); + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getDeviceThread()->GetMainCommandEncoder(), + InputAssemblerDestroy, + remote, GetRemote(), + { + remote->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index bcadc50280..97da87ddb2 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -6,8 +6,8 @@ namespace gfx { namespace { -uint32_t constexpr kMemoryChunkSize = 4096 * 16; -uint32_t constexpr kMemoryChunkPoolCapacity = 64; +uint32_t constexpr kMemoryChunkSize = 8 * 1024 * 1024; +uint32_t constexpr kMemoryChunkPoolCapacity = 16; uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); } @@ -81,14 +81,15 @@ void CommandEncoder::Kick() noexcept void CommandEncoder::KickAndWait() noexcept { - EventSem event; - EventSem* const pEvent = &event; + EventCV event; + EventCV *const pEvent = &event; - ENCODE_COMMAND_1(this, WaitUntilFinish, - pEvent, pEvent, - { - pEvent->Signal(); - }); + ENCODE_COMMAND_1( + this, WaitUntilFinish, + pEvent, pEvent, + { + pEvent->Signal(); + }); Kick(); event.Wait(); @@ -101,7 +102,7 @@ void CommandEncoder::RunConsumerThread() noexcept return; } - std::thread consumerThread(std::bind(&CommandEncoder::ConsumerThreadLoop, this)); + std::thread consumerThread(&CommandEncoder::ConsumerThreadLoop, this); consumerThread.detach(); mWorkerAttached = true; } @@ -133,15 +134,18 @@ void CommandEncoder::TerminateConsumerThread() noexcept void CommandEncoder::FinishWriting(bool wait) noexcept { - bool* const flushingFinished = &mR.mFlushingFinished; + if (!mImmediateMode) + { + bool* const flushingFinished = &mR.mFlushingFinished; - ENCODE_COMMAND_1(this, FinishWriting, - flushingFinished, flushingFinished, - { - *flushingFinished = true; - }); + ENCODE_COMMAND_1(this, FinishWriting, + flushingFinished, flushingFinished, + { + *flushingFinished = true; + }); - wait ? KickAndWait() : Kick(); + wait ? KickAndWait() : Kick(); + } } void CommandEncoder::RecycleMemoryChunk(uint8_t* const chunk) const noexcept @@ -253,7 +257,7 @@ Command* CommandEncoder::ReadCommand() noexcept void CommandEncoder::ConsumerThreadLoop() noexcept { - while (! mR.mTerminateConsumerThread) + while (!mR.mTerminateConsumerThread) { FlushCommands(); } diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index 68dc3abe9f..56b860866f 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -151,7 +151,7 @@ private: WriterContext mW; ReaderContext mR; - EventCV mN; + EventSem mN; bool mImmediateMode { true }; bool mWorkerAttached { false }; bool mFreeChunksByUser { false }; // ±»»ØÊյÄChunk»ᱻ¼Ç¼µ½һ¸ö¶ÓÁÐÀï ÓÉÓû§ÔÚÉú²úÕßÏ߳ÌѡÔñºÏÊʵÄʱ»úÀ´Free From bf82b324bdcd7ea246f22e95a311c4ed528b161e Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 19 Nov 2020 21:26:27 +0800 Subject: [PATCH 008/270] fix semaphore --- native/cocos/renderer/core/CMakeLists.txt | 1 + .../renderer/core/thread/CommandEncoder.cpp | 4 +- .../renderer/core/thread/CommandEncoder.h | 6 +- .../cocos/renderer/core/thread/Semaphore.cpp | 64 ++----------------- native/cocos/renderer/core/thread/Semaphore.h | 30 +++------ .../cocos/renderer/gfx-gles2/CMakeLists.txt | 1 + .../cocos/renderer/gfx-gles3/CMakeLists.txt | 1 + .../cocos/renderer/gfx-metal/CMakeLists.txt | 7 +- .../cocos/renderer/gfx-vulkan/CMakeLists.txt | 1 + .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- 10 files changed, 25 insertions(+), 92 deletions(-) diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index e9240e6c5b..e941f19831 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -26,6 +26,7 @@ set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/nedmalloc ${GFX_EXTERNAL_PATH}/tommyds ${GFX_EXTERNAL_PATH}/boost + ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/renderer/core ) diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index 97da87ddb2..756bb91fe8 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -81,8 +81,8 @@ void CommandEncoder::Kick() noexcept void CommandEncoder::KickAndWait() noexcept { - EventCV event; - EventCV *const pEvent = &event; + EventSem event; + EventSem *const pEvent = &event; ENCODE_COMMAND_1( this, WaitUntilFinish, diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index 56b860866f..54fd601c93 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -151,8 +151,8 @@ private: WriterContext mW; ReaderContext mR; - EventSem mN; - bool mImmediateMode { true }; + EventCV mN; + bool mImmediateMode { false }; bool mWorkerAttached { false }; bool mFreeChunksByUser { false }; // ±»»ØÊյÄChunk»ᱻ¼Ç¼µ½һ¸ö¶ÓÁÐÀï ÓÉÓû§ÔÚÉú²úÕßÏ߳ÌѡÔñºÏÊʵÄʱ»úÀ´Free @@ -179,7 +179,7 @@ public: private: - CommandEncoder* mCommandBuffer {nullptr }; + CommandEncoder* mCommandBuffer { nullptr }; uint8_t* mNewChunk { nullptr }; uint8_t* mOldChunk { nullptr }; }; diff --git a/native/cocos/renderer/core/thread/Semaphore.cpp b/native/cocos/renderer/core/thread/Semaphore.cpp index f02427d813..c7ce93695f 100644 --- a/native/cocos/renderer/core/thread/Semaphore.cpp +++ b/native/cocos/renderer/core/thread/Semaphore.cpp @@ -1,75 +1,21 @@ #include "Semaphore.h" -namespace cc { -namespace gfx { - -#ifdef _WINDOWS - Semaphore::Semaphore() noexcept +: mSemaphore(0) { - mSemaphore = CreateSemaphore(nullptr, 0, 0xFFFFFFFF, nullptr); } -Semaphore::~Semaphore() +Semaphore::Semaphore(uint32_t const initialCount) noexcept +: mSemaphore(initialCount) { - CloseHandle(mSemaphore); } void Semaphore::Wait() noexcept { - WaitForSingleObject(mSemaphore, 0xFFFFFFFF); + mSemaphore.wait(); } void Semaphore::Signal() noexcept { - ReleaseSemaphore(mSemaphore, 1, nullptr); + mSemaphore.signal(); } - -#elif defined(__APPLE__) - -Semaphore::Semaphore() noexcept -{ - mSemaphore = dispatch_semaphore_create(0); -} - -Semaphore::~Semaphore() -{ - dispatch_release(mSemaphore); -} - -void Semaphore::Wait() noexcept -{ - dispatch_semaphore_wait(mSemaphore, DISPATCH_TIME_FOREVER); -} - -void Semaphore::Signal() noexcept -{ - dispatch_semaphore_signal(mSemaphore); -} - -#else // Android - -Semaphore::Semaphore() noexcept -{ - sem_init(&mSemaphore, 0, 0); -} - -Semaphore::~Semaphore() -{ - sem_destroy(&mSemaphore); -} - -void Semaphore::Wait() noexcept -{ - sem_wait(&mSemaphore); -} - -void Semaphore::Signal() noexcept -{ - sem_post(&mSemaphore); -} - -#endif - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/thread/Semaphore.h b/native/cocos/renderer/core/thread/Semaphore.h index a5e33abb08..dc980fb0a2 100644 --- a/native/cocos/renderer/core/thread/Semaphore.h +++ b/native/cocos/renderer/core/thread/Semaphore.h @@ -1,35 +1,21 @@ #pragma once #include -#ifdef _WINDOWS -#include -using NativeSemaphoreType = HANDLE; -#elif defined(__APPLE__) -#include -using NativeSemaphoreType = dispatch_semaphore_t; -#else // Android -#include -using NativeSemaphoreType = sem_t; -#endif - -namespace cc { -namespace gfx { +#include "concurrentqueue.h" +#include "lightweightsemaphore.h" class Semaphore final { public: - Semaphore() noexcept; - ~Semaphore(); + Semaphore() noexcept; + explicit Semaphore(uint32_t const initialCount) noexcept; - void Wait() noexcept; - void Signal() noexcept; - void SignalAll() noexcept { assert(false); } + void Wait() noexcept; + void Signal() noexcept; + void SignalAll() noexcept { assert(false); } private: - NativeSemaphoreType mSemaphore; + moodycamel::details::Semaphore mSemaphore; }; - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-gles2/CMakeLists.txt b/native/cocos/renderer/gfx-gles2/CMakeLists.txt index fd141243a0..8fc703b414 100644 --- a/native/cocos/renderer/gfx-gles2/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles2/CMakeLists.txt @@ -9,6 +9,7 @@ set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/glsl_optimizer/src ${GFX_EXTERNAL_PATH}/glsl_optimizer/src/mesa ${GFX_EXTERNAL_PATH}/boost + ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/renderer/core ${COCOS_SRC_PATH}/renderer/gfx-gles2 ) diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index 44aaff17e3..709f9e5fe9 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -9,6 +9,7 @@ set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/glsl_optimizer/src ${GFX_EXTERNAL_PATH}/glsl_optimizer/src/mesa ${GFX_EXTERNAL_PATH}/boost + ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/renderer/core ${COCOS_SRC_PATH}/renderer/gfx-gles3 ) diff --git a/native/cocos/renderer/gfx-metal/CMakeLists.txt b/native/cocos/renderer/gfx-metal/CMakeLists.txt index b81d80d992..d868435b10 100644 --- a/native/cocos/renderer/gfx-metal/CMakeLists.txt +++ b/native/cocos/renderer/gfx-metal/CMakeLists.txt @@ -5,9 +5,10 @@ message(STATUS "Target: ${TARGET_NAME}...") # --------------------------------------------------------------------- # set include files -set(INCLUDE_FILES +set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/khronos ${GFX_EXTERNAL_PATH}/boost + ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/base ${COCOS_SRC_PATH}/renderer/core ${COCOS_SRC_PATH}/renderer/gfx-metal @@ -50,7 +51,3 @@ set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXMetal_d) use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/MTLStd.h" "${CMAKE_CURRENT_SOURCE_DIR}/MTLStd.cpp" ${SOURCE_CPP_FILES} ${SOURCE_OBJC_FILES} ${SOURCE_C_FILES}) message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt index 87559c2ef1..a67e29cbd4 100644 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt @@ -7,6 +7,7 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/khronos ${GFX_EXTERNAL_PATH}/boost + ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_EXTERNAL_PATH}/win32/include/glslang ${COCOS_SRC_PATH}/renderer/core ${COCOS_SRC_PATH}/renderer/gfx-vulkan diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index d6587af55b..2cc67f1bdc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 0 +#define FORCE_DISABLE_VALIDATION 1 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, From 33a18bb64bcbade53c3a2ab5742400d4fb0403de Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sun, 15 Nov 2020 22:47:10 +0800 Subject: [PATCH 009/270] vk: async attempt --- .../renderer/core/thread/CommandEncoder.h | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 70 ++++-- .../renderer/gfx-vulkan/VKCommandBuffer.h | 1 + .../cocos/renderer/gfx-vulkan/VKContext.cpp | 11 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 24 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 237 ++++++++---------- 6 files changed, 185 insertions(+), 160 deletions(-) diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index 54fd601c93..cfbebe83d2 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -152,7 +152,7 @@ private: WriterContext mW; ReaderContext mR; EventCV mN; - bool mImmediateMode { false }; + bool mImmediateMode { true }; bool mWorkerAttached { false }; bool mFreeChunksByUser { false }; // ±»»ØÊյÄChunk»ᱻ¼Ç¼µ½һ¸ö¶ÓÁÐÀï ÓÉÓû§ÔÚÉú²úÕßÏ߳ÌѡÔñºÏÊʵÄʱ»úÀ´Free diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index f290a72c52..a53a5d76da 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -74,7 +74,9 @@ void CCVKCommandBuffer::destroy() { void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_gpuCommandBuffer->began) return; - ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->request(_gpuCommandBuffer); + CCVKGPUCommandBufferPool *pool = ((CCVKDevice *)_device)->gpuCommandBufferPool(); + pool->yield(_gpuCommandBuffer); + pool->request(_gpuCommandBuffer); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; @@ -206,7 +208,10 @@ void CCVKCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet if (_curGPUDescriptorSets[set] != gpuDescriptorSet) { _curGPUDescriptorSets[set] = gpuDescriptorSet; - if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; + if (set < _firstDirtyDescriptorSet) { + _firstDirtyDescriptorSet = set; + _firstDifferentDescriptorSet = set; + } } if (dynamicOffsetCount) { _curDynamicOffsetPtrs[set] = dynamicOffsets; @@ -437,16 +442,47 @@ void CCVKCommandBuffer::bindDescriptorSets() { CCVKDevice *device = (CCVKDevice *)_device; CCVKGPUDevice *gpuDevice = device->gpuDevice(); CCVKGPUPipelineLayout *pipelineLayout = _curGPUPipelineState->gpuPipelineLayout; - vector &dynamicOffsetOffsets = pipelineLayout->dynamicOffsetOffsets; - uint descriptorSetCount = pipelineLayout->setLayouts.size(); - _curDynamicOffsets.resize(pipelineLayout->dynamicOffsetCount); + vector &sets = _curGPUPipelineState->gpuPipelineLayout->descriptorSets; - uint dirtyDescriptorSetCount = descriptorSetCount - _firstDirtyDescriptorSet; - for (uint i = _firstDirtyDescriptorSet; i < descriptorSetCount; ++i) { - if (_curGPUDescriptorSets[i]) { - _curVkDescriptorSets[i] = _curGPUDescriptorSets[i]->instances[gpuDevice->curBackBufferIndex].vkDescriptorSet; - } else { - _curVkDescriptorSets[i] = pipelineLayout->setLayouts[i]->defaultDescriptorSet; + if (_firstDifferentDescriptorSet < _curGPUDescriptorSets.size()) { + uint differentDescriptorSetCount = _curGPUDescriptorSets.size() - _firstDifferentDescriptorSet; + const vector &layouts = _curGPUPipelineState->gpuPipelineLayout->descriptorSetLayouts; + device->gpuDescriptorSetPool()->alloc(layouts.data() + _firstDifferentDescriptorSet, + sets.data() + _firstDifferentDescriptorSet, + differentDescriptorSetCount); + + for (uint i = 0u; i < differentDescriptorSetCount; i++) { + uint set = _firstDifferentDescriptorSet + i; + CCVKGPUDescriptorSet *gpuDescriptorSet = _curGPUDescriptorSets[set]; + if (!gpuDescriptorSet || !gpuDescriptorSet->gpuDescriptors.size()) continue; + + if (gpuDevice->useDescriptorUpdateTemplate) { + const vector &descriptorInfos = gpuDescriptorSet->descriptorInfos; + const vector &templates = pipelineLayout->vkDescriptorUpdateTemplates; + vkUpdateDescriptorSetWithTemplateKHR(gpuDevice->vkDevice, sets[set], templates[set], descriptorInfos.data()); + } else { + vector &entries = gpuDescriptorSet->descriptorUpdateEntries; + + for (uint j = 0u; j < entries.size(); j++) { + entries[j].dstSet = sets[set]; + } + vkUpdateDescriptorSets(gpuDevice->vkDevice, entries.size(), entries.data(), 0, nullptr); + } + } + } + + uint dirtyDescriptorSetCount = _curGPUDescriptorSets.size() - _firstDirtyDescriptorSet; + uint dynamicOffsetStartIndex = pipelineLayout->dynamicOffsetOffsets[_firstDirtyDescriptorSet]; + uint dynamicOffsetCount = pipelineLayout->dynamicOffsetCount - dynamicOffsetStartIndex; + uint *dynamicOffsets = pipelineLayout->dynamicOffsets.data() + dynamicOffsetStartIndex; + if (_firstDirtyDescriptorSet < _curGPUDescriptorSets.size()) { + for (uint i = 0u, offsetAcc = 0u; i < dirtyDescriptorSetCount; i++) { + uint set = _firstDirtyDescriptorSet + i; + uint offsetCount = pipelineLayout->dynamicOffsetOffsets[set + 1] - dynamicOffsetStartIndex; + if (_curDynamicOffsets[set].size() && offsetCount > 0) { + memcpy(dynamicOffsets + offsetAcc, _curDynamicOffsets[set].data(), offsetCount * sizeof(uint)); + offsetAcc += offsetCount; + } } uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsetCounts[i] >= count, "missing dynamic offsets?"); @@ -454,16 +490,12 @@ void CCVKCommandBuffer::bindDescriptorSets() { if (count > 0) memcpy(&_curDynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsetPtrs[i], count * sizeof(uint)); } - uint dynamicOffsetStartIndex = dynamicOffsetOffsets[_firstDirtyDescriptorSet]; - uint dynamicOffsetEndIndex = dynamicOffsetOffsets[_firstDirtyDescriptorSet + dirtyDescriptorSetCount]; - uint dynamicOffsetCount = dynamicOffsetEndIndex - dynamicOffsetStartIndex; - vkCmdBindDescriptorSets(_gpuCommandBuffer->vkCommandBuffer, - VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout->vkPipelineLayout, - _firstDirtyDescriptorSet, dirtyDescriptorSetCount, - &_curVkDescriptorSets[_firstDirtyDescriptorSet], - dynamicOffsetCount, _curDynamicOffsets.data() + dynamicOffsetStartIndex); + vkCmdBindDescriptorSets(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout->vkPipelineLayout, + _firstDirtyDescriptorSet, dirtyDescriptorSetCount, sets.data() + _firstDirtyDescriptorSet, + dynamicOffsetCount, dynamicOffsets); _firstDirtyDescriptorSet = UINT_MAX; + _firstDifferentDescriptorSet = UINT_MAX; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index fa78142f4c..521db777d5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -74,6 +74,7 @@ private: vector _curDynamicOffsetPtrs; vector _curDynamicOffsetCounts; uint _firstDirtyDescriptorSet = UINT_MAX; + uint _firstDifferentDescriptorSet = UINT_MAX; CCVKGPUInputAssembler *_curGPUInputAssember = nullptr; CCVKGPUFramebuffer *_curGPUFBO = nullptr; diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 2cc67f1bdc..829c28d70b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -293,10 +293,10 @@ bool CCVKContext::initialize(const ContextInfo &info) { CCVKDevice* device = (CCVKDevice*)_device; CCVKQueue *queue = (CCVKQueue *)device->getQueue(); - if (!queue->gpuQueue()->fences.empty()) { - VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, queue->gpuQueue()->fences.size(), - queue->gpuQueue()->fences.data(), VK_TRUE, DEFAULT_TIMEOUT)); - queue->gpuQueue()->fences.clear(); + uint fenceCount = device->gpuFencePool()->getFenceCount(); + if (fenceCount) { + VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, fenceCount, + device->gpuFencePool()->getFences(), VK_TRUE, DEFAULT_TIMEOUT)); } device->destroySwapchain(); @@ -494,6 +494,9 @@ bool CCVKContext::initialize(const ContextInfo &info) { // Determine the number of images uint desiredNumberOfSwapchainImages = std::max(3u, surfaceCapabilities.minImageCount + 1); + if (PREFERRED_SWAPCHAIN_IMAGE_COUNT) { + desiredNumberOfSwapchainImages = PREFERRED_SWAPCHAIN_IMAGE_COUNT; + } if ((surfaceCapabilities.maxImageCount > 0) && (desiredNumberOfSwapchainImages > surfaceCapabilities.maxImageCount)) { desiredNumberOfSwapchainImages = surfaceCapabilities.maxImageCount; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index d82139d590..a1eb4329fb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -288,19 +288,20 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { queueInfo.type = QueueType::GRAPHICS; _queue = createQueue(queueInfo); - uint backBufferCount = gpuContext->swapchainCreateInfo.minImageCount; - for (uint i = 0u; i < backBufferCount; i++) { - _gpuFencePools.push_back(CC_NEW(CCVKGPUFencePool(_gpuDevice))); - _gpuRecycleBins.push_back(CC_NEW(CCVKGPURecycleBin(_gpuDevice))); - _gpuStagingBufferPools.push_back(CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice))); - } + _gpuSwapchain = CC_NEW(CCVKGPUSwapchain); + _gpuSwapchain->swapchainImages.resize(gpuContext->swapchainCreateInfo.minImageCount); - _gpuBufferHub = CC_NEW(CCVKGPUBufferHub(_gpuDevice)); + _gpuFencePool = CC_NEW(CCVKGPUFencePool(_gpuDevice, _gpuSwapchain)); + _gpuRecycleBin = CC_NEW(CCVKGPURecycleBin(_gpuDevice)); _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice)); _gpuTransportHub->link(((CCVKQueue *)_queue)->gpuQueue()); _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); - _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); + _gpuDescriptorSetPool = CC_NEW(CCVKGPUDescriptorSetPool(_gpuDevice, _gpuSwapchain)); + _gpuCommandBufferPool = CC_NEW(CCVKGPUCommandBufferPool(_gpuDevice, _gpuSwapchain)); + _gpuStagingBufferPool = CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice)); + + _gpuTransportHub->link(((CCVKQueue *)_queue)->gpuQueue(), _gpuFencePool, _gpuCommandBufferPool, _gpuStagingBufferPool); CommandBufferInfo cmdBuffInfo; cmdBuffInfo.type = CommandBufferType::PRIMARY; @@ -339,7 +340,6 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _depthStencilTextures.push_back(texture); } - _gpuDevice->swapchain = _gpuSwapchain = CC_NEW(CCVKGPUSwapchain); checkSwapchainStatus(); ///////////////////// Print Debug Info ///////////////////// @@ -497,6 +497,12 @@ void CCVKDevice::acquire() { VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); + uint fenceCount = _gpuFencePool->getFenceCount(); + if (fenceCount) { + VK_CHECK(vkWaitForFences(_gpuDevice->vkDevice, fenceCount, + _gpuFencePool->getFences(), VK_TRUE, DEFAULT_TIMEOUT)); + } + // reset everything only when no pending commands if (_gpuTransportHub->empty() && !((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { _gpuFencePool->reset(); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 4f5b3fd88a..108837ab59 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -25,6 +25,7 @@ THE SOFTWARE. #define CC_GFXVULKAN_GPU_OBJECTS_H_ #include "VKUtils.h" +#include "vulkan/vulkan_core.h" namespace cc { namespace gfx { @@ -328,51 +329,65 @@ public: */ class CCVKGPUFencePool final : public Object { public: - CCVKGPUFencePool(CCVKGPUDevice *device) + CCVKGPUFencePool(CCVKGPUDevice *device, CCVKGPUSwapchain *gpuSwapchain) : _device(device) { + uint poolCount = gpuSwapchain->swapchainImages.size(); + _counts.resize(poolCount); + _pools.resize(poolCount); + _gpuSwapchain = gpuSwapchain; } ~CCVKGPUFencePool() { - for (VkFence fence : _fences) { - vkDestroyFence(_device->vkDevice, fence, nullptr); + for (const vector &fencePool : _pools) { + for (VkFence fence : fencePool) { + vkDestroyFence(_device->vkDevice, fence, nullptr); + } } - _fences.clear(); - _count = 0; + _pools.clear(); + _counts.clear(); } VkFence alloc() { - if (_count < _fences.size()) { - return _fences[_count++]; + uint index = _gpuSwapchain->curImageIndex; + uint &count = _counts[index]; + vector &pool = _pools[index]; + + if (count < pool.size()) { + return pool[count++]; } VkFence fence = VK_NULL_HANDLE; VkFenceCreateInfo createInfo{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO}; VK_CHECK(vkCreateFence(_device->vkDevice, &createInfo, nullptr, &fence)); - _fences.push_back(fence); - _count++; + pool.push_back(fence); + count++; return fence; } void reset() { - if (_count) { - VK_CHECK(vkResetFences(_device->vkDevice, _count, _fences.data())); - _count = 0; + uint index = _gpuSwapchain->curImageIndex; + uint &count = _counts[index]; + vector &pool = _pools[index]; + + if (count) { + VK_CHECK(vkResetFences(_device->vkDevice, count, pool.data())); + count = 0; } } - CC_INLINE VkFence *data() { - return _fences.data(); + CC_INLINE const VkFence *getFences() const { + return _pools[_gpuSwapchain->curImageIndex].data(); } - - CC_INLINE uint size() { - return _count; + CC_INLINE const uint getFenceCount() const { + return _counts[_gpuSwapchain->curImageIndex]; } private: - CCVKGPUDevice *_device = nullptr; - uint _count = 0u; - vector _fences; + CCVKGPUDevice *_device; + CCVKGPUSwapchain *_gpuSwapchain; + vector _counts; + vector> _pools; }; /** @@ -425,49 +440,43 @@ private: */ class CCVKGPUDescriptorSetPool final : public Object { public: + CCVKGPUDescriptorSetPool(CCVKGPUDevice *device, CCVKGPUSwapchain *gpuSwapchain) + : _device(device) { + uint poolCount = gpuSwapchain->swapchainImages.size(); + _pools.resize(poolCount); + _counts.resize(poolCount); + _gpuSwapchain = gpuSwapchain; + } + ~CCVKGPUDescriptorSetPool() { - uint leakedSetCount = 0u; - for (DescriptorSetPool &pool : _pools) { - leakedSetCount += pool.activeSets.size(); - vkDestroyDescriptorPool(_device->vkDevice, pool.vkPool, nullptr); + for (vector &pools : _pools) { + for (VkDescriptorPool pool : pools) { + vkDestroyDescriptorPool(_device->vkDevice, pool, nullptr); + } + pools.clear(); } if (leakedSetCount) CC_LOG_DEBUG("Leaked %d descriptor sets.", leakedSetCount); _pools.clear(); } - void link(CCVKGPUDevice *device, uint maxSetsPerPool, vector &bindings, VkDescriptorSetLayout setLayout) { - _device = device; - _maxSetsPerPool = maxSetsPerPool; - _setLayouts.insert(_setLayouts.begin(), _maxSetsPerPool, setLayout); + void alloc(const VkDescriptorSetLayout *layouts, VkDescriptorSet *output, uint count) { + uint index = _gpuSwapchain->curImageIndex; + vector &pools = _pools[index]; + vector &counts = _counts[index]; - unordered_map typeMap; - for (size_t i = 0u; i < bindings.size(); i++) { - VkDescriptorSetLayoutBinding &vkBinding = bindings[i]; - typeMap[vkBinding.descriptorType] += maxSetsPerPool * vkBinding.descriptorCount; - } + VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; + info.pSetLayouts = layouts; + info.descriptorSetCount = count; - // minimal reserve for empty set layouts - if (!bindings.size()) { - typeMap[VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER] = 1; - } - - _poolSizes.clear(); - for (unordered_map::iterator it = typeMap.begin(); it != typeMap.end(); it++) { - _poolSizes.push_back({it->first, it->second}); - } - } - - VkDescriptorSet request() { - VkDescriptorSet output = VK_NULL_HANDLE; - - size_t size = _pools.size(); + size_t size = pools.size(); uint idx = 0u; for (; idx < size; idx++) { - if (_pools[idx].freeSets.size()) { - output = _pools[idx].freeSets.back(); - _pools[idx].freeSets.pop_back(); - _pools[idx].activeSets.insert(output); - return output; + if (counts[idx] + count <= 128) { + info.descriptorPool = pools[idx]; + VkResult res = vkAllocateDescriptorSets(_device->vkDevice, &info, output); + if (res) continue; + counts[idx] += count; + return; } } @@ -479,63 +488,34 @@ public: VkDescriptorPool descriptorPool; VK_CHECK(vkCreateDescriptorPool(_device->vkDevice, &createInfo, nullptr, &descriptorPool)); - _pools.push_back({descriptorPool}); - - _pools[idx].freeSets.resize(_maxSetsPerPool); - VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; - info.pSetLayouts = _setLayouts.data(); - info.descriptorSetCount = _maxSetsPerPool; - info.descriptorPool = descriptorPool; - VK_CHECK(vkAllocateDescriptorSets(_device->vkDevice, &info, _pools[idx].freeSets.data())); + pools.push_back(descriptorPool); + counts.push_back(0); } - output = _pools[idx].freeSets.back(); - _pools[idx].freeSets.pop_back(); - _pools[idx].activeSets.insert(output); - return output; + info.descriptorPool = pools[idx]; + VK_CHECK(vkAllocateDescriptorSets(_device->vkDevice, &info, output)); + counts[idx] += count; } - void yield(VkDescriptorSet set) { - for (DescriptorSetPool &pool : _pools) { - if (pool.activeSets.count(set)) { - pool.activeSets.erase(set); - pool.freeSets.push_back(set); - return; + void reset() { + uint index = _gpuSwapchain->curImageIndex; + vector &pools = _pools[index]; + vector &counts = _counts[index]; + + size_t size = pools.size(); + for (uint i = 0u; i < size; i++) { + if (counts[i]) { + VK_CHECK(vkResetDescriptorPool(_device->vkDevice, pools[i], 0)); + counts[i] = 0; } } } private: - CCVKGPUDevice *_device = nullptr; - - struct DescriptorSetPool { - VkDescriptorPool vkPool = VK_NULL_HANDLE; - unordered_set activeSets; - vector freeSets; - }; - vector _pools; - - vector _poolSizes; - vector _setLayouts; - uint _maxSetsPerPool = 0u; -}; - -class CCVKGPUDescriptorSetLayout final : public Object { -public: - DescriptorSetLayoutBindingList bindings; - vector dynamicBindings; - - vector vkBindings; - VkDescriptorSetLayout vkDescriptorSetLayout = VK_NULL_HANDLE; - VkDescriptorUpdateTemplate vkDescriptorUpdateTemplate = VK_NULL_HANDLE; - VkDescriptorSet defaultDescriptorSet = VK_NULL_HANDLE; - - vector bindingIndices; - vector descriptorIndices; - uint descriptorCount = 0u; - - uint maxSetsPerPool = 10u; - CCVKGPUDescriptorSetPool pool; + CCVKGPUDevice *_device; + CCVKGPUSwapchain *_gpuSwapchain; + vector> _pools; + vector> _counts; }; /** @@ -543,19 +523,24 @@ public: */ class CCVKGPUCommandBufferPool final : public Object { public: - CCVKGPUCommandBufferPool(CCVKGPUDevice *device) + CCVKGPUCommandBufferPool(CCVKGPUDevice *device, CCVKGPUSwapchain *gpuSwapchain) : _device(device) { + _pools.resize(gpuSwapchain->swapchainImages.size()); + _gpuSwapchain = gpuSwapchain; } ~CCVKGPUCommandBufferPool() { - for (unordered_map::iterator it = _pools.begin(); it != _pools.end(); it++) { - CommandBufferPool &pool = it->second; - if (pool.vkCommandPool != VK_NULL_HANDLE) { - vkDestroyCommandPool(_device->vkDevice, pool.vkCommandPool, nullptr); - pool.vkCommandPool = VK_NULL_HANDLE; + for (map &pools : _pools) { + for (map::iterator it = pools.begin(); it != pools.end(); it++) { + CommandBufferPool &pool = it->second; + if (pool.vkCommandPool != VK_NULL_HANDLE) { + vkDestroyCommandPool(_device->vkDevice, pool.vkCommandPool, nullptr); + pool.vkCommandPool = VK_NULL_HANDLE; + } + pool.usedCommandBuffers->clear(); + pool.commandBuffers->clear(); } - pool.usedCommandBuffers->clear(); - pool.commandBuffers->clear(); + pools.clear(); } _pools.clear(); } @@ -568,20 +553,16 @@ public: } void request(CCVKGPUCommandBuffer *gpuCommandBuffer) { - uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); + uint index = _gpuSwapchain->curImageIndex; + map &pools = _pools[index]; - if (_device->curBackBufferIndex != _lastBackBufferIndex) { - reset(); - _lastBackBufferIndex = _device->curBackBufferIndex; - } - - if (!_pools.count(hash)) { + if (!pools.count(gpuCommandBuffer->queueFamilyIndex)) { VkCommandPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO}; createInfo.queueFamilyIndex = gpuCommandBuffer->queueFamilyIndex; createInfo.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT; - VK_CHECK(vkCreateCommandPool(_device->vkDevice, &createInfo, nullptr, &_pools[hash].vkCommandPool)); + VK_CHECK(vkCreateCommandPool(_device->vkDevice, &createInfo, nullptr, &pools[gpuCommandBuffer->queueFamilyIndex].vkCommandPool)); } - CommandBufferPool &pool = _pools[hash]; + CommandBufferPool &pool = pools[gpuCommandBuffer->queueFamilyIndex]; CachedArray &availableList = pool.commandBuffers[gpuCommandBuffer->level]; if (availableList.size()) { @@ -596,19 +577,22 @@ public: } void yield(CCVKGPUCommandBuffer *gpuCommandBuffer) { - if (gpuCommandBuffer->vkCommandBuffer) { - uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); - CCASSERT(_pools.count(hash), "wrong command pool to yield?"); + uint index = _gpuSwapchain->curImageIndex; + map &pools = _pools[index]; - CommandBufferPool &pool = _pools[hash]; + if (gpuCommandBuffer->vkCommandBuffer) { + if (!pools.count(gpuCommandBuffer->queueFamilyIndex)) return; + CommandBufferPool &pool = pools[gpuCommandBuffer->queueFamilyIndex]; pool.usedCommandBuffers[gpuCommandBuffer->level].push(gpuCommandBuffer->vkCommandBuffer); gpuCommandBuffer->vkCommandBuffer = VK_NULL_HANDLE; } } void reset() { - for (unordered_map::iterator it = _pools.begin(); it != _pools.end(); it++) { - if (getBackBufferIndex(it->first) != _device->curBackBufferIndex) continue; + uint index = _gpuSwapchain->curImageIndex; + map &pools = _pools[index]; + + for (map::iterator it = pools.begin(); it != pools.end(); it++) { CommandBufferPool &pool = it->second; bool needsReset = false; @@ -634,9 +618,8 @@ private: }; CCVKGPUDevice *_device = nullptr; - uint _lastBackBufferIndex = 0u; - - unordered_map _pools; + vector> _pools; + CCVKGPUSwapchain *_gpuSwapchain; }; /** From 6d81d9b83d8a9f6a6683315e2a002129957c7c55 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 23 Nov 2020 10:21:57 +0800 Subject: [PATCH 010/270] restore UTF-8 encoding --- .../renderer/core/thread/CommandEncoder.h | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index cfbebe83d2..195eb882a3 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -7,8 +7,8 @@ namespace cc { namespace gfx { -// ÓÉÓÚϵͳµÄÄڴæ·ÖÅäÊǴÓһ¸öȫ¾ֶÑÀïÉêÇë ·ÖÅä¹ý³̻áÉÏËøµ¼Ö½µµͲ¢ÐжÈ ÔڶàÏ̵߳Ļ·¾³ÏÂÈç¹ûƵ·±µÄÉêÇëÊͷÅÄڴæ»ήµÍÐÔÄÜ -// ËùÒÔÕâÀïÏȼӸö½ӿÚÀ´ͳһµ÷Óà δÀ´»ỻ³ɵ¥¶À·þÎñÓÚÏ̵߳ÄÎÞËø·ÖÅäÆ÷ +// 由于系统的内存分配是从一个全局堆里申请 分配过程会上锁导致降低并行度 在多线程的环境下如果频繁的申请释放内存会降低性能 +// 所以这里先加个接口来统一调用 未来会换成单独服务于线程的无锁分配器 template inline T* MemoryAllocateForMultiThread(uint32_t const count) noexcept { @@ -68,9 +68,9 @@ struct alignas(64) ReaderContext final bool mFlushingFinished { false }; }; -// ֧³ֵ¥Éú²úÕߵ¥Ïû·ÑÕߵĻ·Ðλº³åÇø -// Éú²úÕßÏ߳ÌAllocate Ïû·ÑÕßÏ߳ÌExecute -// ³ýÁËCommand֮Íâ ִÐÐCommandÐèҪµÄÊý¾ÝҲÐèҪ¿½±´µ½ÕâÀï À´ʵÏÖḬ̈߳²ȫµÄÊý¾ݷÃÎÊ +// 支持单生产者单消费者的环形缓冲区 +// 生产者线程Allocate 消费者线程Execute +// 除了Command之外 执行Command需要的数据也需要拷贝到这里 来实现线程安全的数据访问 class alignas(64) CommandEncoder final { public: @@ -82,12 +82,12 @@ public: CommandEncoder& operator=(CommandEncoder const&) = delete; CommandEncoder& operator=(CommandEncoder&&) = delete; - // ·ÖÅäCommand + // 分配Command template std::enable_if_t::value, T*> Allocate(uint32_t const count) noexcept; - // ·ÖÅäÊý¾Ý + // 分配数据 template std::enable_if_t::value, T*> Allocate(uint32_t const count) noexcept; @@ -96,13 +96,13 @@ public: template T* AllocateAndZero(uint32_t const count) noexcept; - // ֪ͨÏû·ÑÕßÏ߳̿ªʼ¹¤×÷ + // 通知消费者线程开始工作 void Kick() noexcept; - // ֪ͨÏû·ÑÕßÏ߳̿ªʼ¹¤×÷²¢×èÈûÉú²úÕßÏ߳Ì ֱµ½Ïû·ÑÕßÏ߳ÌִÐÐÍêËùÓÐÃüÁî + // 通知消费者线程开始工作并阻塞生产者线程 直到消费者线程执行完所有命令 void KickAndWait() noexcept; - // ֻ֧³ֵ¥Ïû·ÑÕß + // 只支持单消费者 void RunConsumerThread() noexcept; void TerminateConsumerThread() noexcept; void FinishWriting(bool wait) noexcept; @@ -141,7 +141,7 @@ private: uint8_t* AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept; void PushCommands() noexcept; - // ÔÚÏû·ÑÕßÏ߳ÌִÐÐ + // 在消费者线程执行 void PullCommands() noexcept; void FlushCommands() noexcept; void ExecuteCommand() noexcept; @@ -154,7 +154,7 @@ private: EventCV mN; bool mImmediateMode { true }; bool mWorkerAttached { false }; - bool mFreeChunksByUser { false }; // ±»»ØÊյÄChunk»ᱻ¼Ç¼µ½һ¸ö¶ÓÁÐÀï ÓÉÓû§ÔÚÉú²úÕßÏ߳ÌѡÔñºÏÊʵÄʱ»úÀ´Free + bool mFreeChunksByUser { false }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free friend class MemoryChunkSwitchCommand; }; @@ -224,7 +224,7 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept return allocatedMemory; } -// Éú²úÕßÏ߳ÌÓÃÀ´ÏòCommandBufferÌî³äCommandµĹ¤¾ߺê +// 生产者线程用来向CommandBuffer填充Command的工具宏 #define WRITE_COMMAND(CB, CommandName, Params) \ { \ From 3b48c1d089022f583344eed8fef760f1300b383f Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 23 Nov 2020 11:43:30 +0800 Subject: [PATCH 011/270] fix MSVC --- native/cocos/renderer/core/CMakeLists.txt | 6 +++++- .../renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp | 2 +- native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp | 2 +- native/cocos/renderer/core/thread/ThreadPool.cpp | 4 ++-- native/cocos/renderer/core/thread/ThreadPool.h | 6 +++--- native/cocos/renderer/gfx-gles2/GLES2Commands.cpp | 8 +++----- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index e941f19831..8b0a0d549a 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -142,7 +142,11 @@ target_link_libraries(${TARGET_NAME} TBBJobSystem TFJobSystem Threading) if(MSVC) set_property(TARGET ${TARGET_NAME} PROPERTY LINK_FLAGS "/SUBSYSTEM:WINDOWS") - target_compile_options(${TARGET_NAME} PUBLIC /MP) + target_compile_options(${TARGET_NAME} + PUBLIC /MP + PUBLIC /utf-8 # MSVC portability + PUBLIC /wd4324 # command encoder alignment + ) target_link_directories(${TARGET_NAME} PUBLIC ${COCOS_EXTERNAL_PATH}/win32/libs) endif() diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index cdb4f4c2b4..fdabf8c63d 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -265,7 +265,7 @@ void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Tex memcpy(remoteRegions, regions, count * sizeof(BufferTextureCopy)); uint bufferCount = 0u; - for (uint i = 0u, n = 0u; i < count; i++) { + for (uint i = 0u; i < count; i++) { bufferCount += regions[i].texSubres.layerCount; } const uint8_t **remoteBuffers = encoder->Allocate(bufferCount); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp index 96fb10bccd..a6eb4c1f4b 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp @@ -10,7 +10,7 @@ DeviceThread::DeviceThread(DeviceProxy *device) noexcept { mMainCommandEncoder = std::make_unique(); - uint8_t const commandBufferCount = false ? std::thread::hardware_concurrency() : 1; + uint32_t const commandBufferCount = false ? std::thread::hardware_concurrency() : 1u; mSubmitContexts.resize(commandBufferCount); for (auto& context : mSubmitContexts) diff --git a/native/cocos/renderer/core/thread/ThreadPool.cpp b/native/cocos/renderer/core/thread/ThreadPool.cpp index f8251f142c..dbae39bc85 100644 --- a/native/cocos/renderer/core/thread/ThreadPool.cpp +++ b/native/cocos/renderer/core/thread/ThreadPool.cpp @@ -3,8 +3,8 @@ namespace cc { namespace gfx { -uint8_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); -uint8_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; +uint32_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); +uint32_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; void ThreadPool::Start() noexcept { diff --git a/native/cocos/renderer/core/thread/ThreadPool.h b/native/cocos/renderer/core/thread/ThreadPool.h index 24ee5d750c..f6edc56e78 100644 --- a/native/cocos/renderer/core/thread/ThreadPool.h +++ b/native/cocos/renderer/core/thread/ThreadPool.h @@ -20,8 +20,8 @@ public: using Task = std::function; - static uint8_t const kCpuCoreCount; - static uint8_t const kMaxThreadCount; + static uint32_t const kCpuCoreCount; + static uint32_t const kMaxThreadCount; ThreadPool() noexcept = default; ~ThreadPool() = default; @@ -45,7 +45,7 @@ private: std::list mWorkers {}; Event mEvent {}; std::atomic mRunning { false }; - uint8_t mWorkerCount { kMaxThreadCount }; + uint32_t mWorkerCount { kMaxThreadCount }; }; template diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 27b6ae2d86..0d71b40a0d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1580,11 +1580,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GL_CHECK(glDisable(GL_CULL_FACE)); cache->isCullFaceEnabled = false; } - } break; - case CullMode::FRONT: { - if (!cache->isCullFaceEnabled) { - GL_CHECK(glEnable(GL_CULL_FACE)); - cache->isCullFaceEnabled = true; + if (cache->dss.depthWrite != gpuPipelineState->dss.depthWrite) { + glDepthMask(!!gpuPipelineState->dss.depthWrite); + cache->dss.depthWrite = gpuPipelineState->dss.depthWrite; } GL_CHECK(glCullFace(GL_FRONT)); } break; From 8d21d175824607874ecaa8f5c432f1e633321939 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 24 Nov 2020 15:06:10 +0800 Subject: [PATCH 012/270] Add public command count getter for debug --- native/cocos/renderer/core/thread/CommandEncoder.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index 195eb882a3..0643e862da 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -112,6 +112,10 @@ public: void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; static void FreeChunksInFreeQueue() noexcept; + + inline int GetPendingCommandCount() const noexcept { return mW.mPendingCommandCount; } + inline int GetWrittenCommandCount() const noexcept { return mW.mWrittenCommandCount; } + inline int GetNewCommandCount() const noexcept { return mR.mNewCommandCount; } private: From 9f34c7941acb56734c8f2f488415b169a23f1bab Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 24 Nov 2020 15:06:25 +0800 Subject: [PATCH 013/270] Augment chunk size --- native/cocos/renderer/core/thread/CommandEncoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index 756bb91fe8..95f444893c 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -6,7 +6,7 @@ namespace gfx { namespace { -uint32_t constexpr kMemoryChunkSize = 8 * 1024 * 1024; +uint32_t constexpr kMemoryChunkSize = 16 * 1024 * 1024; uint32_t constexpr kMemoryChunkPoolCapacity = 16; uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); } From 4daa061d4c4c96b0ca8d8685c799e1250ddb48c9 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 24 Nov 2020 15:06:46 +0800 Subject: [PATCH 014/270] Add frame boundary semaphore for device proxy --- native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp | 5 ++++- native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 518c46e754..09b3ca8dd0 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -107,6 +107,7 @@ void DeviceProxy::resize(uint width, uint height) { } void DeviceProxy::acquire() { + _frameBoundarySemaphore.Wait(); ENCODE_COMMAND_1( getDeviceThread()->GetMainCommandEncoder(), DeviceAcquire, @@ -117,12 +118,14 @@ void DeviceProxy::acquire() { } void DeviceProxy::present() { - ENCODE_COMMAND_1( + ENCODE_COMMAND_2( getDeviceThread()->GetMainCommandEncoder(), DevicePresent, remote, GetRemote(), + frameBoundarySemaphore, &_frameBoundarySemaphore, { remote->present(); + frameBoundarySemaphore->Signal(); }); getDeviceThread()->GetMainCommandEncoder()->FinishWriting(); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index 22989e6d38..9caa83a299 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -3,6 +3,9 @@ #include "GFXProxy.h" #include "GFXDeviceThread.h" #include "../gfx/GFXDevice.h" +#include "../thread/Semaphore.h" + +#define MAX_CPU_FRAME_AHEAD 2 namespace cc { namespace gfx { @@ -65,6 +68,7 @@ protected: friend class DeviceThread; std::unique_ptr _thread{}; + Semaphore _frameBoundarySemaphore {MAX_CPU_FRAME_AHEAD}; }; } // namespace gfx From 53e96339d4d7b888bc39fbfbfac8102b58ef2618 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 24 Nov 2020 23:55:28 +0800 Subject: [PATCH 015/270] device init on main thread --- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 10 ++- .../core/gfx-proxy/GFXDeviceProxy.cpp | 81 +++++++++-------- .../core/gfx-proxy/GFXDeviceThread.cpp | 30 ++++--- .../renderer/core/gfx-proxy/GFXDeviceThread.h | 5 +- native/cocos/renderer/core/gfx/GFXDevice.h | 1 + .../renderer/core/thread/CommandEncoder.cpp | 63 ++++++++----- .../renderer/core/thread/CommandEncoder.h | 77 +++++++++------- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 25 +++--- .../cocos/renderer/gfx-gles2/GLES2Context.mm | 3 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 25 +++++- native/cocos/renderer/gfx-gles2/GLES2Device.h | 6 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 22 +++-- .../cocos/renderer/gfx-gles3/GLES3Context.mm | 44 ++++++---- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 24 ++++- native/cocos/renderer/gfx-gles3/GLES3Device.h | 3 +- .../cocos/renderer/gfx-vulkan/CMakeLists.txt | 17 ++-- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 88 ++++++------------- 18 files changed, 286 insertions(+), 240 deletions(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index fdabf8c63d..358f2afdf9 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -65,14 +65,20 @@ void CommandBufferProxy::end() { } void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { + CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + + uint attachmentCount = renderPass->getColorAttachments().size(); + Color *remoteColors = encoder->Allocate(attachmentCount); + memcpy(remoteColors, colors, sizeof(Color) * attachmentCount); + ENCODE_COMMAND_7( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + encoder, CommandBufferBeginRenderPass, remote, GetRemote(), renderPass, renderPass, fbo, ((FramebufferProxy*)fbo)->GetRemote(), renderArea, renderArea, - colors, colors, + colors, remoteColors, depth, depth, stencil, stencil, { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 09b3ca8dd0..4a059fbebd 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -33,44 +33,40 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { _bindingMappingInfo.samplerOffsets.push_back(0); } - _thread = std::make_unique(this); - _thread->GetMainCommandEncoder()->RunConsumerThread(); + _remote->initialize(info); + + _context = _remote->getContext(); + _API = _remote->getGfxAPI(); + _deviceName = _remote->getDeviceName(); + _queue = CC_NEW(QueueProxy(_remote->getQueue(), this)); + _cmdBuff = CC_NEW(CommandBufferProxy(_remote->getCommandBuffer(), this)); + _renderer = _remote->getRenderer(); + _vendor = _remote->getVendor(); + _maxVertexAttributes = _remote->getMaxVertexAttributes(); + _maxVertexUniformVectors = _remote->getMaxVertexUniformVectors(); + _maxFragmentUniformVectors = _remote->getMaxFragmentUniformVectors(); + _maxTextureUnits = _remote->getMaxTextureUnits(); + _maxVertexTextureUnits = _remote->getMaxVertexTextureUnits(); + _maxUniformBufferBindings = _remote->getMaxUniformBufferBindings(); + _maxUniformBlockSize = _remote->getMaxUniformBlockSize(); + _maxTextureSize = _remote->getMaxTextureSize(); + _maxCubeMapTextureSize = _remote->getMaxCubeMapTextureSize(); + _uboOffsetAlignment = _remote->getUboOffsetAlignment(); + _depthBits = _remote->getDepthBits(); + _stencilBits = _remote->getStencilBits(); + memcpy(_features, ((DeviceProxy*)GetRemote())->_features, (uint)Feature::COUNT * sizeof(bool)); + + _thread = std::make_unique(); + _thread->InitSubmitContexts(this); _thread->Run(); - ENCODE_COMMAND_3( - _thread->GetMainCommandEncoder(), - DeviceInit, - remote, GetRemote(), - info, info, - device, this, - { - remote->initialize(info); - - device->_context = remote->getContext(); - device->_API = remote->getGfxAPI(); - device->_deviceName = remote->getDeviceName(); - device->_queue = CC_NEW(QueueProxy(remote->getQueue(), device)); - device->_cmdBuff = CC_NEW(CommandBufferProxy(remote->getCommandBuffer(), device)); - device->_renderer = remote->getRenderer(); - device->_vendor = remote->getVendor(); - device->_maxVertexAttributes = remote->getMaxVertexAttributes(); - device->_maxVertexUniformVectors = remote->getMaxVertexUniformVectors(); - device->_maxFragmentUniformVectors = remote->getMaxFragmentUniformVectors(); - device->_maxTextureUnits = remote->getMaxTextureUnits(); - device->_maxVertexTextureUnits = remote->getMaxVertexTextureUnits(); - device->_maxUniformBufferBindings = remote->getMaxUniformBufferBindings(); - device->_maxUniformBlockSize = remote->getMaxUniformBlockSize(); - device->_maxTextureSize = remote->getMaxTextureSize(); - device->_maxCubeMapTextureSize = remote->getMaxCubeMapTextureSize(); - device->_uboOffsetAlignment = remote->getUboOffsetAlignment(); - device->_depthBits = remote->getDepthBits(); - device->_stencilBits = remote->getStencilBits(); - memcpy(device->_features, ((DeviceProxy*)remote)->_features, (uint)Feature::COUNT * sizeof(bool)); - - device->_thread->InitCommandBuffers(device); - }); - - _thread->GetMainCommandEncoder()->FinishWriting(true); + ENCODE_COMMAND_1( + getDeviceThread()->GetMainCommandEncoder(), + DeviceMakeCurrent, + remote, GetRemote(), + { + remote->makeCurrent(); + }); return true; } @@ -86,7 +82,6 @@ void DeviceProxy::destroy() { CC_SAFE_DELETE(device->_queue); CC_SAFE_DELETE(device->_cmdBuff); device->_thread->Terminate(); - device->_thread->GetMainCommandEncoder()->TerminateConsumerThread(); device->_thread.reset(); }); } @@ -108,18 +103,22 @@ void DeviceProxy::resize(uint width, uint height) { void DeviceProxy::acquire() { _frameBoundarySemaphore.Wait(); - ENCODE_COMMAND_1( - getDeviceThread()->GetMainCommandEncoder(), + CommandEncoder *encoder = getDeviceThread()->GetMainCommandEncoder(); + ENCODE_COMMAND_2( + encoder, DeviceAcquire, remote, GetRemote(), + encoder, encoder, { remote->acquire(); +// CommandEncoder::FreeChunksInFreeQueue(encoder); }); } void DeviceProxy::present() { + CommandEncoder *encoder = getDeviceThread()->GetMainCommandEncoder(); ENCODE_COMMAND_2( - getDeviceThread()->GetMainCommandEncoder(), + encoder, DevicePresent, remote, GetRemote(), frameBoundarySemaphore, &_frameBoundarySemaphore, @@ -128,7 +127,7 @@ void DeviceProxy::present() { frameBoundarySemaphore->Signal(); }); - getDeviceThread()->GetMainCommandEncoder()->FinishWriting(); + encoder->FinishWriting(); } CommandBuffer *DeviceProxy::createCommandBuffer() { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp index a6eb4c1f4b..a23a31b4a6 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp @@ -6,26 +6,43 @@ namespace cc { namespace gfx { -DeviceThread::DeviceThread(DeviceProxy *device) noexcept +DeviceThread::DeviceThread() noexcept { mMainCommandEncoder = std::make_unique(); +} +void DeviceThread::InitSubmitContexts(DeviceProxy *device) { uint32_t const commandBufferCount = false ? std::thread::hardware_concurrency() : 1u; mSubmitContexts.resize(commandBufferCount); + CommandBufferInfo info; + info.type = CommandBufferType::PRIMARY; + info.queue = device->getQueue(); + for (auto& context : mSubmitContexts) { + context.mCommandBuffer.reset(device->createCommandBuffer(info)); context.mEncoder = std::make_unique(); } } DeviceThread::~DeviceThread() { + for (auto& context : mSubmitContexts) + { + context.mCommandBuffer->destroy(); + context.mCommandBuffer.reset(); + context.mEncoder.reset(); + } + mSubmitContexts.clear(); + mMainCommandEncoder.reset(); } void DeviceThread::Run() noexcept { + mMainCommandEncoder->RunConsumerThread(); + for (auto& context : mSubmitContexts) { context.mEncoder->RunConsumerThread(); @@ -38,17 +55,8 @@ void DeviceThread::Terminate() noexcept { context.mEncoder->TerminateConsumerThread(); } -} -void DeviceThread::InitCommandBuffers(DeviceProxy *device) noexcept { - CommandBufferInfo info; - info.type = CommandBufferType::PRIMARY; - info.queue = device->getQueue(); - - for (auto& context : mSubmitContexts) - { - context.mCommandBuffer.reset(device->createCommandBuffer(info)); - } + mMainCommandEncoder->TerminateConsumerThread(); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h index 854fda72d2..2ac3e7a3c0 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h @@ -19,14 +19,13 @@ class CC_DLL DeviceThread final { public: - explicit DeviceThread(DeviceProxy *device) noexcept; + explicit DeviceThread() noexcept; ~DeviceThread(); + void InitSubmitContexts(DeviceProxy *device); void Run() noexcept; void Terminate() noexcept; inline CommandEncoder* GetMainCommandEncoder() const noexcept { return mMainCommandEncoder.get(); } - - void InitCommandBuffers(DeviceProxy *device) noexcept; private: std::unique_ptr mMainCommandEncoder {}; diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 89f0722880..a401428220 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -70,6 +70,7 @@ public: copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size()) ); } + virtual void makeCurrent() {} virtual SurfaceTransform getSurfaceTransform() const { return _transform; } virtual uint getWidth() const { return _width; } virtual uint getHeight() const { return _height; } diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index 95f444893c..61644d100f 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -21,7 +21,7 @@ uint8_t* CommandEncoder::MemoryAllocator::Request() noexcept { uint8_t* newChunk = nullptr; - if (mChunkPool.pop(newChunk)) + if (mChunkPool.try_dequeue(newChunk)) { mChunkCount.fetch_sub(1, std::memory_order_acq_rel); } @@ -37,7 +37,7 @@ void CommandEncoder::MemoryAllocator::Recycle(uint8_t* const chunk, bool const f { if (freeByUser) { - mChunkFreeQueue.push(chunk); + mChunkFreeQueue.enqueue(chunk); } else { @@ -45,6 +45,25 @@ void CommandEncoder::MemoryAllocator::Recycle(uint8_t* const chunk, bool const f } } +void CommandEncoder::MemoryAllocator::FreeByUser(CommandEncoder* const mainCommandbuffer) noexcept +{ + auto queue = &mChunkFreeQueue; + + ENCODE_COMMAND_1( + mainCommandbuffer, FreeChunksInFreeQueue, + queue, queue, + { + uint8_t* chunk = nullptr; + + while(queue->try_dequeue(chunk)) + { + CommandEncoder::MemoryAllocator::GetInstance().Free(chunk); + } + }); + + mainCommandbuffer->Kick(); +} + void CommandEncoder::MemoryAllocator::Free(uint8_t* const chunk) noexcept { if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) @@ -53,13 +72,16 @@ void CommandEncoder::MemoryAllocator::Free(uint8_t* const chunk) noexcept } else { - mChunkPool.push(chunk); + mChunkPool.enqueue(chunk); mChunkCount.fetch_add(1, std::memory_order_acq_rel); } } CommandEncoder::CommandEncoder() { +// mImmediateMode = true; + mFreeChunksByUser = false; + uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); mW.mCurrentMemoryChunk = chunk; @@ -82,14 +104,13 @@ void CommandEncoder::Kick() noexcept void CommandEncoder::KickAndWait() noexcept { EventSem event; - EventSem *const pEvent = &event; + EventSem* const pEvent = &event; - ENCODE_COMMAND_1( - this, WaitUntilFinish, - pEvent, pEvent, - { - pEvent->Signal(); - }); + ENCODE_COMMAND_1(this, WaitUntilFinish, + pEvent, pEvent, + { + pEvent->Signal(); + }); Kick(); event.Wait(); @@ -102,7 +123,7 @@ void CommandEncoder::RunConsumerThread() noexcept return; } - std::thread consumerThread(&CommandEncoder::ConsumerThreadLoop, this); + std::thread consumerThread(std::bind(&CommandEncoder::ConsumerThreadLoop, this)); consumerThread.detach(); mWorkerAttached = true; } @@ -132,19 +153,19 @@ void CommandEncoder::TerminateConsumerThread() noexcept event.Wait(); } -void CommandEncoder::FinishWriting(bool wait) noexcept +void CommandEncoder::FinishWriting() noexcept { if (!mImmediateMode) { bool* const flushingFinished = &mR.mFlushingFinished; ENCODE_COMMAND_1(this, FinishWriting, - flushingFinished, flushingFinished, - { - *flushingFinished = true; - }); + flushingFinished, flushingFinished, + { + *flushingFinished = true; + }); - wait ? KickAndWait() : Kick(); + Kick(); } } @@ -153,9 +174,9 @@ void CommandEncoder::RecycleMemoryChunk(uint8_t* const chunk) const noexcept CommandEncoder::MemoryAllocator::GetInstance().Recycle(chunk, mFreeChunksByUser); } -void CommandEncoder::FreeChunksInFreeQueue() noexcept +void CommandEncoder::FreeChunksInFreeQueue(CommandEncoder* const mainCommandbuffer) noexcept { - // TODO + CommandEncoder::MemoryAllocator::GetInstance().FreeByUser(mainCommandbuffer); } uint8_t* CommandEncoder::AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept @@ -190,6 +211,7 @@ uint8_t* CommandEncoder::AllocateImpl(uint32_t& allocatedSize, uint32_t const re { PushCommands(); PullCommands(); + assert(mR.mNewCommandCount == 2); ExecuteCommand(); ExecuteCommand(); } @@ -252,12 +274,13 @@ Command* CommandEncoder::ReadCommand() noexcept Command* const cmd = mR.mLastCommand->GetNext(); mR.mLastCommand = cmd; --mR.mNewCommandCount; + assert(cmd); return cmd; } void CommandEncoder::ConsumerThreadLoop() noexcept { - while (!mR.mTerminateConsumerThread) + while (! mR.mTerminateConsumerThread) { FlushCommands(); } diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index 0643e862da..ecb1a2678f 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -1,7 +1,7 @@ #pragma once #include -#include "boost/lockfree/queue.hpp" +#include "concurrentqueue.h" #include "Event.h" namespace cc { @@ -105,14 +105,14 @@ public: // 只支持单消费者 void RunConsumerThread() noexcept; void TerminateConsumerThread() noexcept; - void FinishWriting(bool wait) noexcept; + void FinishWriting() noexcept; + void FlushCommands() noexcept; - inline void FinishWriting() noexcept { FinishWriting(false); } inline bool IsImmediateMode() const noexcept { return mImmediateMode; } void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; - static void FreeChunksInFreeQueue() noexcept; - + static void FreeChunksInFreeQueue(CommandEncoder* const mainCommandbuffer) noexcept; + inline int GetPendingCommandCount() const noexcept { return mW.mPendingCommandCount; } inline int GetWrittenCommandCount() const noexcept { return mW.mWrittenCommandCount; } inline int GetNewCommandCount() const noexcept { return mR.mNewCommandCount; } @@ -133,13 +133,16 @@ private: static MemoryAllocator& GetInstance() noexcept; uint8_t* Request() noexcept; void Recycle(uint8_t* const chunk, bool const freeByUser) noexcept; + void FreeByUser(CommandEncoder* const mainCommandbuffer) noexcept; private: + using ChunkQueue = moodycamel::ConcurrentQueue; + void Free(uint8_t* const chunk) noexcept; std::atomic mChunkCount { 0 }; - boost::lockfree::queue mChunkPool { 64 }; - boost::lockfree::queue mChunkFreeQueue { 64 }; + ChunkQueue mChunkPool {}; + ChunkQueue mChunkFreeQueue {}; }; uint8_t* AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept; @@ -147,7 +150,6 @@ private: // 在消费者线程执行 void PullCommands() noexcept; - void FlushCommands() noexcept; void ExecuteCommand() noexcept; Command* ReadCommand() noexcept; inline bool HasNewCommand() const noexcept { return mR.mNewCommandCount > 0 && ! mR.mFlushingFinished; } @@ -156,9 +158,9 @@ private: WriterContext mW; ReaderContext mR; EventCV mN; - bool mImmediateMode { true }; + bool mImmediateMode { false }; bool mWorkerAttached { false }; - bool mFreeChunksByUser { false }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free + bool mFreeChunksByUser { true }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free friend class MemoryChunkSwitchCommand; }; @@ -247,13 +249,14 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept class CommandName final : public Command \ { \ public: \ - virtual void Execute() noexcept override \ - Code \ - \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ + virtual void Execute() noexcept override \ + { \ + Code; \ + } \ + virtual char const* GetName() const noexcept override \ + { \ + return (#CommandName); \ + } \ }; \ WRITE_COMMAND(CB, CommandName, ); @@ -271,8 +274,9 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - Code \ - \ + { \ + Code; \ + } \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -302,8 +306,9 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - Code \ - \ + { \ + Code; \ + } \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -338,8 +343,9 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - Code \ - \ + { \ + Code; \ + } \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -379,8 +385,9 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - Code \ - \ + { \ + Code; \ + } \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -425,8 +432,9 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - Code \ - \ + { \ + Code; \ + } \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -476,8 +484,9 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept \ - Code \ - \ + { \ + Code; \ + } \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -532,8 +541,9 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - Code \ - \ + { \ + Code; \ + } \ virtual const char* GetName() const noexcept override \ { \ return (#CommandName); \ @@ -593,8 +603,9 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept { \ } \ virtual void Execute() noexcept override \ - Code \ - \ + { \ + Code; \ + } \ virtual char const* GetName() const noexcept override \ { \ return (#CommandName); \ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 5e5ce349d5..a5cff2b63e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -261,7 +261,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { _eglSharedContext = _eglContext; - #if (CC_PLATFORM == CC_PLATFORM_ANDROID) +#if (CC_PLATFORM == CC_PLATFORM_ANDROID) EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { if (_eglSurface != EGL_NO_SURFACE) { eglDestroySurface(_eglDisplay, _eglSurface); @@ -281,15 +281,15 @@ bool GLES2Context::initialize(const ContextInfo &info) { uint height = _device->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); + _eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Recreate window surface failed."); return; } - ((GLES2Context *)_device->getContext())->MakeCurrent(); + ((GLES2Context*)_device->getContext())->MakeCurrent(); }); - #endif +#endif } else { GLES2Context *sharedCtx = (GLES2Context *)info.sharedCtx; @@ -305,8 +305,6 @@ bool GLES2Context::initialize(const ContextInfo &info) { _depthStencilFmt = sharedCtx->getDepthStencilFormat(); _majorVersion = sharedCtx->major_ver(); _minorVersion = sharedCtx->minor_ver(); - _extensions = sharedCtx->_extensions; - _isInitialized = sharedCtx->_isInitialized; bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); if (!hasKHRCreateCtx) { @@ -342,7 +340,8 @@ bool GLES2Context::initialize(const ContextInfo &info) { } } - return true; + return MakeCurrent(); + } void GLES2Context::destroy() { @@ -372,12 +371,11 @@ void GLES2Context::destroy() { } bool GLES2Context::MakeCurrentImpl(bool bound) { - bool succeeded; - EGL_CHECK(succeeded = eglMakeCurrent(_eglDisplay, - bound ? _eglSurface : EGL_NO_SURFACE, - bound ? _eglSurface : EGL_NO_SURFACE, - bound ? _eglContext : EGL_NO_CONTEXT)); - return succeeded; + return eglMakeCurrent(_eglDisplay, + bound ? _eglSurface : EGL_NO_SURFACE, + bound ? _eglSurface : EGL_NO_SURFACE, + bound ? _eglContext : EGL_NO_CONTEXT + ); } void GLES2Context::present() { @@ -388,7 +386,6 @@ void GLES2Context::present() { bool GLES2Context::MakeCurrent(bool bound) { if (!bound) { - CC_LOG_DEBUG("eglMakeCurrent() - UNBOUNDED, Context: 0x%p", this); return MakeCurrentImpl(false); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.mm b/native/cocos/renderer/gfx-gles2/GLES2Context.mm index 040e240603..e67c9ebe07 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.mm +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.mm @@ -210,8 +210,7 @@ void GLES2Context::present() { } bool GLES2Context::MakeCurrentImpl(bool bound) { - if (!bound) return [EAGLContext setCurrentContext: nil]; - return [EAGLContext setCurrentContext: (EAGLContext*)_eaglContext] && createCustomFrameBuffer(); + return [EAGLContext setCurrentContext: bound ? (EAGLContext*)_eaglContext : nil]; } #endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 41daf4ecd0..a22ea683a6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -74,8 +74,8 @@ bool GLES2Device::initialize(const DeviceInfo &info) { ctxInfo.windowHandle = _windowHandle; ctxInfo.sharedCtx = info.sharedCtx; - _renderContext = CC_NEW(GLES2Context(this)); - if (!_renderContext->initialize(ctxInfo)) { + _initContext = CC_NEW(GLES2Context(this)); + if (!_initContext->initialize(ctxInfo)) { destroy(); return false; } @@ -181,6 +181,9 @@ bool GLES2Device::initialize(const DeviceInfo &info) { _gpuStateCache->initialize(_maxTextureUnits, _maxVertexAttributes); + _initContext->MakeCurrent(false); + _context = _initContext; + return true; } @@ -194,11 +197,11 @@ void GLES2Device::destroy() { _cmdBuff->destroy(); _cmdBuff = nullptr; } - CC_SAFE_DESTROY(_context); + CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); - CC_SAFE_DESTROY(_deviceContext); CC_SAFE_DESTROY(_renderContext); + CC_SAFE_DESTROY(_initContext); } void GLES2Device::resize(uint width, uint height) { @@ -224,6 +227,20 @@ void GLES2Device::present() { queue->_numTriangles = 0; } +void GLES2Device::makeCurrent() { + if (!_renderContext) { + ContextInfo ctxInfo; + ctxInfo.windowHandle = _windowHandle; + ctxInfo.sharedCtx = _initContext; + + _renderContext = CC_NEW(GLES2Context(this)); + _renderContext->initialize(ctxInfo); + _context = _renderContext; + } else { + _renderContext->MakeCurrent(); + } +} + CommandBuffer *GLES2Device::createCommandBuffer() { return CC_NEW(GLES2CommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index bf3fa79122..93caf044a6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -80,6 +80,7 @@ public: virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual void makeCurrent() override; bool checkForETC2() const; CC_INLINE bool useVAO() const { return _useVAO; } @@ -122,11 +123,8 @@ protected: virtual void bindDeviceContext(bool bound) override; private: - - bool checkForETC2() const; - + GLES2Context *_initContext = nullptr; GLES2Context *_renderContext = nullptr; - GLES2Context *_deviceContext = nullptr; GLES2GPUStateCache *_gpuStateCache = nullptr; GLES2GPUStagingBufferPool *_gpuStagingBufferPool = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 135b2c7ccd..c1ee4ea903 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -264,7 +264,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { _eglSharedContext = _eglContext; - #if (CC_PLATFORM == CC_PLATFORM_ANDROID) +#if (CC_PLATFORM == CC_PLATFORM_ANDROID) EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { if (_eglSurface != EGL_NO_SURFACE) { eglDestroySurface(_eglDisplay, _eglSurface); @@ -284,15 +284,15 @@ bool GLES3Context::initialize(const ContextInfo &info) { uint height = _device->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); + _eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Recreate window surface failed."); return; } - ((GLES3Context *)_device->getContext())->MakeCurrent(); + ((GLES3Context*)_device->getContext())->MakeCurrent(); }); - #endif +#endif } else { GLES3Context *sharedCtx = (GLES3Context *)info.sharedCtx; @@ -344,7 +344,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { } } - return true; + return MakeCurrent(); } void GLES3Context::destroy() { @@ -374,12 +374,11 @@ void GLES3Context::destroy() { } bool GLES3Context::MakeCurrentImpl(bool bound) { - bool succeeded; - EGL_CHECK(succeeded = eglMakeCurrent(_eglDisplay, - bound ? _eglSurface : EGL_NO_SURFACE, - bound ? _eglSurface : EGL_NO_SURFACE, - bound ? _eglContext : EGL_NO_CONTEXT)); - return succeeded; + return eglMakeCurrent(_eglDisplay, + bound ? _eglSurface : EGL_NO_SURFACE, + bound ? _eglSurface : EGL_NO_SURFACE, + bound ? _eglContext : EGL_NO_CONTEXT + ); } void GLES3Context::present() { @@ -390,7 +389,6 @@ void GLES3Context::present() { bool GLES3Context::MakeCurrent(bool bound) { if (!bound) { - CC_LOG_DEBUG("eglMakeCurrent() - UNBOUNDED, Context: 0x%p", this); return MakeCurrentImpl(false); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 66d989045f..8a3fa49ffa 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -32,7 +32,8 @@ THE SOFTWARE. namespace cc { namespace gfx { -bool GLES3Context::initialize(const ContextInfo &info) { +bool GLES3Context::initialize(const ContextInfo &info) +{ _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; @@ -71,6 +72,10 @@ bool GLES3Context::initialize(const ContextInfo &info) { EAGLContext* eagl_context = [[EAGLContext alloc] initWithAPI: [eagl_shared_context API] sharegroup: [eagl_shared_context sharegroup]]; if (!eagl_context) { CC_LOG_ERROR("Create EGL context with share context [0x%p] failed.", eagl_shared_context); + + _eaglContext = (intptr_t)eagl_context; + _eaglSharedContext = (intptr_t)eagl_shared_context; + return false; } @@ -98,15 +103,15 @@ bool GLES3Context::createCustomFrameBuffer() CC_LOG_ERROR("Can not create default frame buffer"); return false; } - GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, _defaultFBO)); + glBindFramebuffer(GL_FRAMEBUFFER, _defaultFBO); - GL_CHECK(glGenRenderbuffers(1, &_defaultColorBuffer)); + glGenRenderbuffers(1, &_defaultColorBuffer); if (0 == _defaultColorBuffer) { CC_LOG_ERROR("Can not create default color buffer"); return false; } - GL_CHECK(glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer)); + glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer); CAEAGLLayer* eaglLayer = (CAEAGLLayer*)( ((UIView*)(_windowHandle)).layer); if (! [(EAGLContext*)_eaglContext renderbufferStorage:GL_RENDERBUFFER @@ -118,13 +123,13 @@ bool GLES3Context::createCustomFrameBuffer() return false; } - GL_CHECK(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, _defaultColorBuffer)); + glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, _defaultColorBuffer); GLint framebufferWidth = 0, framebufferHeight = 0; - GL_CHECK(glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &framebufferWidth)); - GL_CHECK(glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &framebufferHeight)); + glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &framebufferWidth); + glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &framebufferHeight); - GL_CHECK(glGenRenderbuffers(1, &_defaultDepthStencilBuffer)); + glGenRenderbuffers(1, &_defaultDepthStencilBuffer); if (_defaultDepthStencilBuffer == 0) { // Application can run without depth/stencil buffer, so don't return false here. @@ -168,7 +173,7 @@ bool GLES3Context::createCustomFrameBuffer() return false; } - GL_CHECK(glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer)); + glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer); return true; } @@ -182,8 +187,9 @@ void GLES3Context::destroyCustomFrameBuffer() { _defaultDepthStencilBuffer = 0; } - if (_defaultFBO) { - GL_CHECK(glDeleteFramebuffers(1, &_defaultFBO)); + if (_defaultFBO) + { + glDeleteFramebuffers(1, &_defaultFBO); _defaultFBO = 0; } } @@ -191,7 +197,8 @@ void GLES3Context::destroyCustomFrameBuffer() { void GLES3Context::destroy() { destroyCustomFrameBuffer(); - if (_eaglContext) { + if (_eaglContext) + { [(EAGLContext*)_eaglContext release]; } @@ -201,15 +208,18 @@ void GLES3Context::destroy() { _isInitialized = false; } -void GLES3Context::present() { - if (! [(EAGLContext*)_eaglContext presentRenderbuffer:GL_RENDERBUFFER] ) { +void GLES3Context::present() +{ + + if (! [(EAGLContext*)_eaglContext presentRenderbuffer:GL_RENDERBUFFER] ) + { CC_LOG_ERROR("Failed to present content."); } } -bool GLES3Context::MakeCurrentImpl(bool bound) { - if (!bound) return [EAGLContext setCurrentContext: nil]; - return [EAGLContext setCurrentContext: (EAGLContext*)_eaglContext] && createCustomFrameBuffer(); +bool GLES3Context::MakeCurrentImpl() +{ + return [EAGLContext setCurrentContext: bound ? (EAGLContext*)_eaglContext : nil]; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 577193b629..acb3e5aeef 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -74,8 +74,8 @@ bool GLES3Device::initialize(const DeviceInfo &info) { ctxInfo.windowHandle = _windowHandle; ctxInfo.sharedCtx = info.sharedCtx; - _renderContext = CC_NEW(GLES3Context(this)); - if (!_renderContext->initialize(ctxInfo)) { + _initContext = CC_NEW(GLES3Context(this)); + if (!_initContext->initialize(ctxInfo)) { destroy(); return false; } @@ -171,6 +171,9 @@ bool GLES3Device::initialize(const DeviceInfo &info) { _gpuStateCache->initialize(_maxTextureUnits, _maxUniformBufferBindings, _maxVertexAttributes); + _initContext->MakeCurrent(false); + _context = _initContext; + return true; } @@ -184,11 +187,10 @@ void GLES3Device::destroy() { _cmdBuff->destroy(); _cmdBuff = nullptr; } - CC_SAFE_DESTROY(_context); CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); - CC_SAFE_DESTROY(_deviceContext); CC_SAFE_DESTROY(_renderContext); + CC_SAFE_DESTROY(_initContext); } void GLES3Device::resize(uint width, uint height) { @@ -214,6 +216,20 @@ void GLES3Device::present() { queue->_numTriangles = 0; } +void GLES3Device::makeCurrent() { + if (!_renderContext) { + ContextInfo ctxInfo; + ctxInfo.windowHandle = _windowHandle; + ctxInfo.sharedCtx = _initContext; + + _renderContext = CC_NEW(GLES3Context(this)); + _renderContext->initialize(ctxInfo); + _context = _renderContext; + } else { + _renderContext->MakeCurrent(); + } +} + CommandBuffer *GLES3Device::createCommandBuffer() { return CC_NEW(GLES3CommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 06dc534592..05a67be22c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -72,6 +72,7 @@ public: virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual void makeCurrent() override; CC_INLINE GLES3GPUStateCache *stateCache() const { return _gpuStateCache; } CC_INLINE GLES3GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } @@ -108,8 +109,8 @@ protected: virtual void bindDeviceContext(bool bound) override; private: + GLES3Context *_initContext = nullptr; GLES3Context *_renderContext = nullptr; - GLES3Context *_deviceContext = nullptr; GLES3GPUStateCache *_gpuStateCache = nullptr; GLES3GPUStagingBufferPool *_gpuStagingBufferPool = nullptr; diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt index a67e29cbd4..1ec8be32ec 100644 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt @@ -38,15 +38,16 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) endif() -set(ALL_FILES - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} - ${CC_BASE_HEADERS} - ${CC_BASE_SOURCES} +set(CC_BASE_HEADERS ${COCOS_SRC_PATH}/base/StringUtil.h +) + +set(CC_BASE_SOURCES ${COCOS_SRC_PATH}/base/StringUtil.cpp - ) +) + + +set(ALL_FILES ${HEADER_FILES} ${SOURCE_CPP_FILES} ${SOURCE_C_FILES} ${CC_BASE_HEADERS} ${CC_BASE_SOURCES}) if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) @@ -68,7 +69,7 @@ else() set(TBB_LIBRARIES tbb tbbmalloc tbbmalloc_proxy) endif() -target_link_libraries(${TARGET_NAME} Core glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits ${TBB_LIBRARIES}) +target_link_libraries(${TARGET_NAME} Core glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXVulkan) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXVulkan_d) diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index a1eb4329fb..40d8a9ae5a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -299,7 +299,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); _gpuDescriptorSetPool = CC_NEW(CCVKGPUDescriptorSetPool(_gpuDevice, _gpuSwapchain)); _gpuCommandBufferPool = CC_NEW(CCVKGPUCommandBufferPool(_gpuDevice, _gpuSwapchain)); - _gpuStagingBufferPool = CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice)); + _gpuStagingBufferPool = CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice, _gpuSwapchain)); _gpuTransportHub->link(((CCVKQueue *)_queue)->gpuQueue(), _gpuFencePool, _gpuCommandBufferPool, _gpuStagingBufferPool); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 108837ab59..c19d0a2988 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -628,24 +628,32 @@ private: constexpr size_t chunkSize = 32 * 1024 * 1024; // 32M per block by default class CCVKGPUStagingBufferPool final : public Object { public: - CCVKGPUStagingBufferPool(CCVKGPUDevice *device) + CCVKGPUStagingBufferPool(CCVKGPUDevice *device, CCVKGPUSwapchain *gpuSwapchain) : _device(device) { + _pools.resize(gpuSwapchain->swapchainImages.size()); + _gpuSwapchain = gpuSwapchain; } ~CCVKGPUStagingBufferPool() { - for (Buffer &buffer : _pool) { - vmaDestroyBuffer(_device->memoryAllocator, buffer.vkBuffer, buffer.vmaAllocation); + for (vector &pool : _pools) { + for (Buffer &buffer : pool) { + vmaDestroyBuffer(_device->memoryAllocator, buffer.vkBuffer, buffer.vmaAllocation); + } + pool.clear(); } - _pool.clear(); + _pools.clear(); } CC_INLINE void alloc(CCVKGPUBuffer *gpuBuffer) { alloc(gpuBuffer, 1u); } void alloc(CCVKGPUBuffer *gpuBuffer, uint alignment) { - size_t bufferCount = _pool.size(); + uint index = _gpuSwapchain->curImageIndex; + vector &pool = _pools[index]; + + size_t bufferCount = pool.size(); Buffer *buffer = nullptr; VkDeviceSize offset = 0u; for (size_t idx = 0u; idx < bufferCount; idx++) { - Buffer *cur = &_pool[idx]; + Buffer *cur = &pool[idx]; offset = roundUp(cur->curOffset, alignment); if (chunkSize - offset >= gpuBuffer->size) { buffer = cur; @@ -653,8 +661,8 @@ public: } } if (!buffer) { - _pool.resize(bufferCount + 1); - buffer = &_pool.back(); + pool.resize(bufferCount + 1); + buffer = &pool.back(); VkBufferCreateInfo bufferInfo{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; bufferInfo.size = chunkSize; bufferInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; @@ -673,7 +681,10 @@ public: } void reset() { - for (Buffer &buffer : _pool) { + uint index = _gpuSwapchain->curImageIndex; + vector &pool = _pools[index]; + + for (Buffer &buffer : pool) { buffer.curOffset = 0u; } } @@ -688,7 +699,8 @@ private: }; CCVKGPUDevice *_device = nullptr; - vector _pool; + vector> _pools; + CCVKGPUSwapchain *_gpuSwapchain; }; /** @@ -880,59 +892,9 @@ private: } CCVKGPUDevice *_device = nullptr; - vector> _setsToBeUpdated; -}; - -/** - * Manages buffer update events, across all back buffer instances. - */ -class CCVKGPUBufferHub final : public Object { -public: - CCVKGPUBufferHub(CCVKGPUDevice *device) - : _device(device) { - _buffersToBeUpdated.resize(device->backBufferCount); - } - - void record(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { - src = update(gpuBuffer, src, size); // copy from self afterwards - for (uint i = 0u; i < _device->backBufferCount; ++i) { - if (i == _device->curBackBufferIndex) { - _buffersToBeUpdated[i].erase(gpuBuffer); - } else { - _buffersToBeUpdated[i][gpuBuffer] = {src, size}; - } - } - } - - void erase(CCVKGPUBuffer *gpuBuffer) { - for (uint i = 0u; i < _device->backBufferCount; ++i) { - if (_buffersToBeUpdated[i].count(gpuBuffer)) { - _buffersToBeUpdated[i].erase(gpuBuffer); - } - } - } - - void flush() { - unordered_map &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; - for (unordered_map::iterator it = buffers.begin(); it != buffers.end(); ++it) { - update(it->first, it->second.src, it->second.size); - } - buffers.clear(); - } - -private: - struct BufferUpdate { - const void *src = nullptr; - size_t size = 0u; - }; - uint8_t *update(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { - uint8_t *dst = gpuBuffer->mappedData + _device->curBackBufferIndex * gpuBuffer->instanceSize; - memcpy(dst, src, size); - return dst; - } - - CCVKGPUDevice *_device = nullptr; - vector> _buffersToBeUpdated; + map> _buffers; + map> _textures; + map> _samplers; }; /** From a0a0973cb2f42ba00dbf010ca0e9bbe7da2f1306 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 25 Nov 2020 00:10:40 +0800 Subject: [PATCH 016/270] minor --- native/cocos/renderer/gfx-gles3/GLES3Context.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 8a3fa49ffa..e75f5eb6a3 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -217,7 +217,7 @@ void GLES3Context::present() } } -bool GLES3Context::MakeCurrentImpl() +bool GLES3Context::MakeCurrentImpl(bool bound) { return [EAGLContext setCurrentContext: bound ? (EAGLContext*)_eaglContext : nil]; } From efd22ca8e10b601cf9344e314a1c7814571d4009 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 25 Nov 2020 01:17:56 +0800 Subject: [PATCH 017/270] Triple staging buffer --- .../renderer/gfx-metal/MTLCommandBuffer.mm | 3 +- .../cocos/renderer/gfx-metal/MTLGPUObjects.h | 55 ++++++++++++++----- 2 files changed, 43 insertions(+), 15 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 05834b11d2..cd3be02d49 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -318,7 +318,8 @@ void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) CC_LOG_ERROR("CCMTLCommandBuffer::updateBuffer: buffer is nullptr."); return; } - + _mtlDevice->gpuStagingBufferPool()->updateInflightBuffer(); + CCMTLGPUBuffer stagingBuffer; stagingBuffer.size = size; _mtlDevice->gpuStagingBufferPool()->alloc(&stagingBuffer); diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index dcef74f310..1cfe8fded5 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -150,20 +150,28 @@ public: }; constexpr size_t chunkSize = 16 * 1024 * 1024; // 16M per block by default -class CCMTLGPUStagingBufferPool : public Object { +class CCMTLGPUStagingBufferPool : public Object +{ public: CCMTLGPUStagingBufferPool(id device) - : _device(device) {} + : _device(device) + {} - ~CCMTLGPUStagingBufferPool() { - for (auto &buffer : _pool) { - if (_tripleEnabled) { - for (id mtlBuf : buffer.dynamicDataBuffers) { + ~CCMTLGPUStagingBufferPool() + { + for (auto &buffer : _pool) + { + if (_tripleEnabled) + { + for (id mtlBuf : buffer.dynamicDataBuffers) + { [mtlBuf release]; } buffer.dynamicDataBuffers.clear(); buffer.mtlBuffer = nil; - } else { + } + else + { [buffer.mtlBuffer release]; buffer.mtlBuffer = nil; } @@ -172,7 +180,8 @@ public: } CC_INLINE void alloc(CCMTLGPUBuffer *gpuBuffer) { alloc(gpuBuffer, 1); } - void alloc(CCMTLGPUBuffer *gpuBuffer, uint alignment) { + void alloc(CCMTLGPUBuffer *gpuBuffer, uint alignment) + { size_t bufferCount = _pool.size(); Buffer *buffer = nullptr; size_t offset = 0; @@ -187,14 +196,17 @@ public: if (!buffer) { _pool.resize(bufferCount + 1); buffer = &_pool.back(); - if (_tripleEnabled) { - for (int i = 0; i < MAX_FRAMES_IN_FLIGHT; ++i) { + if (_tripleEnabled) + { + for (int i = 0; i < MAX_INFLIGHT_BUFFER; ++i) { // Create a new buffer with enough capacity to store one instance of the dynamic buffer data id dataBuffer = [_device newBufferWithLength:chunkSize options:MTLResourceStorageModeShared]; buffer->dynamicDataBuffers[i] = dataBuffer; } buffer->mtlBuffer = buffer->dynamicDataBuffers[0]; - } else { + } + else + { buffer->mtlBuffer = [_device newBufferWithLength:chunkSize options:MTLResourceStorageModeShared]; } buffer->mappedData = (uint8_t *)buffer->mtlBuffer.contents; @@ -205,6 +217,21 @@ public: gpuBuffer->mappedData = buffer->mappedData + offset; buffer->curOffset = offset + gpuBuffer->size; } + + void updateInflightBuffer() + { + if (_tripleEnabled) { + _inflightIndex = ((_inflightIndex + 1) % MAX_INFLIGHT_BUFFER); + + size_t bufferCount = _pool.size(); + Buffer *buffer = nullptr; + for (size_t idx = 0; idx < bufferCount; idx++) + { + buffer = &_pool[idx]; + buffer->mtlBuffer = buffer->dynamicDataBuffers[_inflightIndex]; + } + } + } void updateInflightBuffer() { if (_tripleEnabled) { @@ -242,12 +269,12 @@ public: private: struct Buffer { id mtlBuffer = nil; - vector> dynamicDataBuffers{MAX_FRAMES_IN_FLIGHT}; + vector> dynamicDataBuffers {MAX_INFLIGHT_BUFFER}; uint8_t *mappedData = nullptr; size_t curOffset = 0; }; - - bool _tripleEnabled = false; + + bool _tripleEnabled = true; uint _inflightIndex = 0; id _device = nil; vector _pool; From 62316c02dc06ee824be534411ac2418dbb3d2116 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 25 Nov 2020 13:34:15 +0800 Subject: [PATCH 018/270] minor --- native/cocos/platform/mac/View.mm | 227 +++++++----------- native/cocos/renderer/CMakeLists.txt | 1 - .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 2 +- .../core/gfx-proxy/GFXDeviceProxy.cpp | 2 +- .../renderer/core/thread/CommandEncoder.cpp | 2 +- .../cocos/renderer/gfx-gles3/GLES3Context.mm | 20 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 2 +- .../cocos/renderer/gfx-vulkan/CMakeLists.txt | 15 +- 8 files changed, 109 insertions(+), 162 deletions(-) diff --git a/native/cocos/platform/mac/View.mm b/native/cocos/platform/mac/View.mm index 3a1ccb741c..6d32e648f5 100644 --- a/native/cocos/platform/mac/View.mm +++ b/native/cocos/platform/mac/View.mm @@ -1,18 +1,18 @@ /**************************************************************************** Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - + http://www.cocos2d-x.org - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -22,169 +22,118 @@ THE SOFTWARE. ****************************************************************************/ #import "View.h" -#import "KeyCodeHelper.h" -#import "cocos/bindings/event/EventDispatcher.h" -#include "platform/Application.h" -#import +#include "tests/Multithread.h" +#include "tests/ClearScreenTest.h" +#include "tests/BasicTriangleTest.h" +#include "tests/BasicTextureTest.h" +#include "tests/StencilTest.h" +#include "tests/ParticleTest.h" +#include "tests/DepthTest.h" +#include "tests/TestBase.h" +#include "tests/BunnyTest.h" +#include "tests/BlendTest.h" + +#if CC_PLATFORM == CC_PLATFORM_MAC_OSX + #import +#endif +#if CC_PLATFORM == CC_PLATFORM_MAC_IOS + #import +#endif #import +#import +#import "KeyCodeHelper.h" + +namespace +{ + int g_nextTextIndex = 0; + using createFunc = cc::TestBaseI * (*)(const cc::WindowInfo& info); + std::vector g_tests; + cc::TestBaseI* g_test = nullptr; + cc::WindowInfo g_windowInfo; +} @implementation View { - cc::MouseEvent _mouseEvent; - cc::KeyboardEvent _keyboardEvent; + } - (instancetype)initWithFrame:(NSRect)frameRect { if (self = [super initWithFrame:frameRect]) { [self.window makeFirstResponder:self]; - - // Add tracking area to receive mouse move events. - CGSize viewDrawableSize = self.drawableSize; - NSRect rect = {0, 0, viewDrawableSize.width, viewDrawableSize.height}; - NSTrackingArea *trackingArea = [[NSTrackingArea alloc] initWithRect:rect - options:(NSTrackingMouseEnteredAndExited | NSTrackingMouseMoved | NSTrackingActiveInKeyWindow) - owner:self - userInfo:nil]; - [self addTrackingArea:trackingArea]; - -#ifdef CC_USE_METAL +#ifdef USE_METAL self.device = MTLCreateSystemDefaultDevice(); - self.framebufferOnly = YES; + self.depthStencilPixelFormat = MTLPixelFormatDepth24Unorm_Stencil8; + self.mtlCommandQueue = [self.device newCommandQueue]; self.delegate = self; #endif + int pixelRatio = 1; +#if CC_PLATFORM == CC_PLATFORM_MAC_OSX + pixelRatio = [[NSScreen mainScreen] backingScaleFactor]; +#else + pixelRatio = [[UIScreen mainScreen] scale]; +#endif //CC_PLATFORM == CC_PLATFORM_MAC_OSX + + g_windowInfo.windowHandle = (intptr_t)self; + + g_windowInfo.screen.x = frameRect.origin.x; + g_windowInfo.screen.y = frameRect.origin.y; + g_windowInfo.screen.width = frameRect.size.width * pixelRatio; + g_windowInfo.screen.height = frameRect.size.height * pixelRatio; + + g_windowInfo.physicalHeight = g_windowInfo.screen.height; + g_windowInfo.physicalWidth = g_windowInfo.screen.width; + + [self initTests]; } return self; } -#ifdef CC_USE_METAL +#ifdef USE_METAL - (void)drawInMTKView:(MTKView *)view { - cc::Application::getInstance()->tick(); + g_test->tick(); } - (void)mtkView:(nonnull MTKView *)view drawableSizeWillChange:(CGSize)size { - cc::EventDispatcher::dispatchResizeEvent(static_cast(size.width), static_cast(size.height)); } #endif +- (void)initTests { + static bool first = true; + if (first) + { + using namespace cc; + g_tests = { + Multithread::create, + ClearScreen::create, + BasicTriangle::create, + BasicTexture::create, + StencilTest::create, + ParticleTest::create, + DepthTexture::create, + BunnyTest::create, + BlendTest::create, + }; + g_test = g_tests[g_nextTextIndex](g_windowInfo); + if (g_test == nullptr) + return; + first = false; + } +} + - (void)keyDown:(NSEvent *)event { - _keyboardEvent.key = translateKeycode(event.keyCode); - _keyboardEvent.action = [event isARepeat] ? cc::KeyboardEvent::Action::REPEAT - : cc::KeyboardEvent::Action::PRESS; - [self setModifierFlags:event]; - cc::EventDispatcher::dispatchKeyboardEvent(_keyboardEvent); + g_nextTextIndex = (++g_nextTextIndex) % g_tests.size(); + CC_SAFE_DESTROY(g_test); + g_test = g_tests[g_nextTextIndex](g_windowInfo); } -- (void)keyUp:(NSEvent *)event { - _keyboardEvent.key = translateKeycode(event.keyCode); - _keyboardEvent.action = cc::KeyboardEvent::Action::RELEASE; - [self setModifierFlags:event]; - cc::EventDispatcher::dispatchKeyboardEvent(_keyboardEvent); -} - -- (void)setModifierFlags:(NSEvent *)event { - NSEventModifierFlags modifierFlags = event.modifierFlags; - if (modifierFlags & NSEventModifierFlagShift) - _keyboardEvent.shiftKeyActive = true; - else - _keyboardEvent.shiftKeyActive = false; - - if (modifierFlags & NSEventModifierFlagControl) - _keyboardEvent.ctrlKeyActive = true; - else - _keyboardEvent.ctrlKeyActive = false; - - if (modifierFlags & NSEventModifierFlagOption) - _keyboardEvent.altKeyActive = true; - else - _keyboardEvent.altKeyActive = false; - - if (modifierFlags & NSEventModifierFlagCommand) - _keyboardEvent.metaKeyActive = true; - else - _keyboardEvent.metaKeyActive = false; -} - -- (void)mouseDown:(NSEvent *)event { - [self sendMouseEvent:0 - type:cc::MouseEvent::Type::DOWN - event:event]; -} - -- (void)mouseUp:(NSEvent *)event { - [self sendMouseEvent:0 - type:cc::MouseEvent::Type::UP - event:event]; -} - -- (void)mouseMoved:(NSEvent *)event { - [self sendMouseEvent:0 - type:cc::MouseEvent::Type::MOVE - event:event]; -} - -- (void)otherMouseDown:(NSEvent *)event { - [self sendMouseEvent:[self translateButtonNumber:event.buttonNumber] - type:cc::MouseEvent::Type::DOWN - event:event]; -} - -- (void)otherMouseUp:(NSEvent *)event { - [self sendMouseEvent:[self translateButtonNumber:event.buttonNumber] - type:cc::MouseEvent::Type::UP - event:event]; -} - -- (int)translateButtonNumber:(int)buttonNumber { - if (buttonNumber == 1) // left - return 0; - else if (buttonNumber == 2) // right - return 2; - else - return 1; -} - -- (void)scrollWheel:(NSEvent *)event { - double deltaX = [event scrollingDeltaX]; - double deltaY = [event scrollingDeltaY]; - - if ([event hasPreciseScrollingDeltas]) { - deltaX *= 0.1; - deltaY *= 0.1; - } - - if (fabs(deltaX) > 0.0 || fabs(deltaY) > 0.0) { - _mouseEvent.type = cc::MouseEvent::Type::WHEEL; - _mouseEvent.button = 0; - _mouseEvent.x = deltaX; - _mouseEvent.y = deltaY; - cc::EventDispatcher::dispatchMouseEvent(_mouseEvent); - } -} - -- (void)rightMouseDown:(NSEvent *)event { - [self sendMouseEvent:2 - type:cc::MouseEvent::Type::DOWN - event:event]; -} - -- (void)rightMouseUp:(NSEvent *)event { - [self sendMouseEvent:2 - type:cc::MouseEvent::Type::UP - event:event]; -} - -- (BOOL)acceptsFirstResponder { +- (BOOL)acceptsFirstResponder +{ return YES; } -- (void)sendMouseEvent:(int)button type:(cc::MouseEvent::Type)type event:(NSEvent *)event { - const NSRect contentRect = [self frame]; - const NSPoint pos = [event locationInWindow]; - - _mouseEvent.type = type; - _mouseEvent.button = button; - _mouseEvent.x = pos.x; - _mouseEvent.y = contentRect.size.height - pos.y; - cc::EventDispatcher::dispatchMouseEvent(_mouseEvent); +- (void)viewDidAppear +{ + // Make the view controller the window's first responder so that it can handle the Key events + [self.window makeFirstResponder:self]; } @end diff --git a/native/cocos/renderer/CMakeLists.txt b/native/cocos/renderer/CMakeLists.txt index 9bbbfa1f0f..f65d0b4b9b 100644 --- a/native/cocos/renderer/CMakeLists.txt +++ b/native/cocos/renderer/CMakeLists.txt @@ -10,7 +10,6 @@ elseif(COCOS_PLATFORM_IOS) add_subdirectory(gfx-metal) add_subdirectory(gfx-vulkan) elseif(COCOS_PLATFORM_OSX) - add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-metal) add_subdirectory(gfx-vulkan) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 358f2afdf9..758ed9d31e 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -67,7 +67,7 @@ void CommandBufferProxy::end() { void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); - uint attachmentCount = renderPass->getColorAttachments().size(); + uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *remoteColors = encoder->Allocate(attachmentCount); memcpy(remoteColors, colors, sizeof(Color) * attachmentCount); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 4a059fbebd..c157b88f71 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -104,6 +104,7 @@ void DeviceProxy::resize(uint width, uint height) { void DeviceProxy::acquire() { _frameBoundarySemaphore.Wait(); CommandEncoder *encoder = getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder::FreeChunksInFreeQueue(encoder); ENCODE_COMMAND_2( encoder, DeviceAcquire, @@ -111,7 +112,6 @@ void DeviceProxy::acquire() { encoder, encoder, { remote->acquire(); -// CommandEncoder::FreeChunksInFreeQueue(encoder); }); } diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index 61644d100f..18d3562ed0 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -79,7 +79,7 @@ void CommandEncoder::MemoryAllocator::Free(uint8_t* const chunk) noexcept CommandEncoder::CommandEncoder() { -// mImmediateMode = true; + mImmediateMode = true; mFreeChunksByUser = false; uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index e75f5eb6a3..561afd9fbb 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -24,7 +24,10 @@ THE SOFTWARE. #include "GLES3Std.h" #include "GLES3Context.h" #include "gles3w.h" - +#import +#if !TARGET_OS_OSX +#import +#endif #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) #import @@ -67,7 +70,7 @@ bool GLES3Context::initialize(const ContextInfo &info) _defaultFBO = sharedCtx->_defaultFBO; _defaultColorBuffer = sharedCtx->_defaultColorBuffer; _defaultDepthStencilBuffer = sharedCtx->_defaultDepthStencilBuffer; - + EAGLContext* eagl_shared_context = (EAGLContext*)sharedCtx->eagl_shared_ctx(); EAGLContext* eagl_context = [[EAGLContext alloc] initWithAPI: [eagl_shared_context API] sharegroup: [eagl_shared_context sharegroup]]; if (!eagl_context) { @@ -91,13 +94,9 @@ bool GLES3Context::initialize(const ContextInfo &info) bool GLES3Context::createCustomFrameBuffer() { - if (_defaultFBO) { - GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, _defaultFBO)); - GL_CHECK(glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer)); - return true; - } - - GL_CHECK(glGenFramebuffers(1, &_defaultFBO)); + if (_defaultFBO) return true; + + glGenFramebuffers(1, &_defaultFBO); if (0 == _defaultFBO) { CC_LOG_ERROR("Can not create default frame buffer"); @@ -219,7 +218,8 @@ void GLES3Context::present() bool GLES3Context::MakeCurrentImpl(bool bound) { - return [EAGLContext setCurrentContext: bound ? (EAGLContext*)_eaglContext : nil]; + if (!bound) return true; + return [EAGLContext setCurrentContext: (EAGLContext*)_eaglContext]; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index cd3be02d49..6c18c57624 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -319,7 +319,7 @@ void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) return; } _mtlDevice->gpuStagingBufferPool()->updateInflightBuffer(); - + CCMTLGPUBuffer stagingBuffer; stagingBuffer.size = size; _mtlDevice->gpuStagingBufferPool()->alloc(&stagingBuffer); diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt index 1ec8be32ec..469ab2c3a5 100644 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt @@ -38,16 +38,15 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) endif() -set(CC_BASE_HEADERS +set(ALL_FILES + ${HEADER_FILES} + ${SOURCE_CPP_FILES} + ${SOURCE_C_FILES} + ${CC_BASE_HEADERS} + ${CC_BASE_SOURCES} ${COCOS_SRC_PATH}/base/StringUtil.h -) - -set(CC_BASE_SOURCES ${COCOS_SRC_PATH}/base/StringUtil.cpp -) - - -set(ALL_FILES ${HEADER_FILES} ${SOURCE_CPP_FILES} ${SOURCE_C_FILES} ${CC_BASE_HEADERS} ${CC_BASE_SOURCES}) + ) if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) From 0c385ea0dec537db85306009839367c50b5c495c Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 26 Nov 2020 00:28:01 +0800 Subject: [PATCH 019/270] Disable frame boundary semaphore in CommandBuffer --- .../renderer/gfx-metal/MTLCommandBuffer.mm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 6c18c57624..f0ece9b12a 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -44,7 +44,12 @@ namespace cc { namespace gfx { CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) -: CommandBuffer(device), _mtlDevice((CCMTLDevice *)device), _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())), _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) { +: CommandBuffer(device) +, _mtlDevice((CCMTLDevice *)device) +, _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())) +, _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) +//, _frameBoundarySemaphore(dispatch_semaphore_create(MAX_INFLIGHT_BUFFER)) +{ const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); _GPUDescriptorSets.resize(setCount); _dynamicOffsets.resize(setCount); @@ -58,11 +63,14 @@ bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) { } void CCMTLCommandBuffer::destroy() { +// dispatch_semaphore_signal(_frameBoundarySemaphore); } void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; +// dispatch_semaphore_wait(_frameBoundarySemaphore, DISPATCH_TIME_FOREVER); + _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; [_mtlCommandBuffer retain]; [_mtlCommandBuffer enqueue]; @@ -81,6 +89,14 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; + [_mtlCommandBuffer presentDrawable:_mtkView.currentDrawable]; + [_mtlCommandBuffer addCompletedHandler:^(id commandBuffer) { + // GPU work is complete + // Signal the semaphore to start the CPU work +// dispatch_semaphore_signal(_frameBoundarySemaphore); + [commandBuffer release]; + }]; + [_mtlCommandBuffer commit]; _commandBufferBegan = false; } From 56bba776d29ad474fcf9ddc7a46ddf52ffe3084c Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 26 Nov 2020 00:28:12 +0800 Subject: [PATCH 020/270] Improve MTLBuffer --- native/cocos/renderer/gfx-metal/MTLBuffer.h | 3 ++- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 18 +++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index f39ddacd22..d244b5a00e 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -61,7 +61,8 @@ private: MTLIndexType _indexType = MTLIndexTypeUInt16; MTLResourceOptions _mtlResourceOptions = MTLResourceStorageModePrivate; NSMutableArray *_dynamicDataBuffers = nil; - bool _isIndirectDrawSupported = false; + bool _tripleEnabled = true; + bool _isDrawIndirectByIndex = false; uint _bufferViewOffset = 0; bool _isDrawIndirectByIndex = false; diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index 3f8e695b86..d01fcc26ae 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -253,7 +253,23 @@ void CCMTLBuffer::encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, } if (stages & ShaderStageFlagBit::FRAGMENT) { - encoder.setFragmentBuffer(_mtlBuffer, offset, binding); + [encoder setFragmentBuffer:_mtlBuffer + offset:offset + atIndex:binding]; + } +} + +void CCMTLBuffer::begin() { + _inflightDirty = true; +} + +void CCMTLBuffer::updateInflightBuffer(uint offset, uint size) { + if (_tripleEnabled && _mtlResourceOptions != MTLResourceStorageModePrivate && _inflightDirty) { + _inflightIndex = ((_inflightIndex + 1) % MAX_INFLIGHT_BUFFER); + id prevFrameBuffer = _mtlBuffer; + _mtlBuffer = _dynamicDataBuffers[_inflightIndex]; + memcpy((uint8_t *)_mtlBuffer.contents, prevFrameBuffer.contents, offset + size); + _inflightDirty = false; } } From 24f7fbf742def98fc8848d603a84632aaaca301a Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 26 Nov 2020 12:10:31 +0800 Subject: [PATCH 021/270] minor --- native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp | 2 +- native/cocos/renderer/gfx-gles2/GLES2Device.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index c157b88f71..4c473e4dd6 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -104,7 +104,6 @@ void DeviceProxy::resize(uint width, uint height) { void DeviceProxy::acquire() { _frameBoundarySemaphore.Wait(); CommandEncoder *encoder = getDeviceThread()->GetMainCommandEncoder(); - CommandEncoder::FreeChunksInFreeQueue(encoder); ENCODE_COMMAND_2( encoder, DeviceAcquire, @@ -127,6 +126,7 @@ void DeviceProxy::present() { frameBoundarySemaphore->Signal(); }); + CommandEncoder::FreeChunksInFreeQueue(encoder); encoder->FinishWriting(); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 93caf044a6..49ba0f20db 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -81,7 +81,6 @@ public: virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; virtual void makeCurrent() override; - bool checkForETC2() const; CC_INLINE bool useVAO() const { return _useVAO; } CC_INLINE bool useDrawInstanced() const { return _useDrawInstanced; } @@ -123,6 +122,9 @@ protected: virtual void bindDeviceContext(bool bound) override; private: + + bool checkForETC2() const; + GLES2Context *_initContext = nullptr; GLES2Context *_renderContext = nullptr; GLES2GPUStateCache *_gpuStateCache = nullptr; From 98982e6d54c272442b0e6b59c5918a662699e626 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 26 Nov 2020 18:31:59 +0800 Subject: [PATCH 022/270] proxy destroy --- native/cocos/base/memory/Memory.cpp | 1 + native/cocos/renderer/core/Core.h | 1 - .../core/gfx-proxy/GFXBufferProxy.cpp | 39 +++--- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 128 +++++++++--------- .../core/gfx-proxy/GFXDescriptorSetProxy.cpp | 48 ++++--- .../core/gfx-proxy/GFXDeviceProxy.cpp | 98 +++++++++----- .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 43 +++--- .../core/gfx-proxy/GFXDeviceThread.cpp | 63 --------- .../renderer/core/gfx-proxy/GFXDeviceThread.h | 36 ----- .../core/gfx-proxy/GFXFramebufferProxy.cpp | 31 +++-- .../core/gfx-proxy/GFXInputAssemblerProxy.cpp | 33 +++-- .../core/gfx-proxy/GFXPipelineStateProxy.cpp | 28 ++-- .../cocos/renderer/core/gfx-proxy/GFXProxy.h | 13 +- .../renderer/core/gfx-proxy/GFXQueueProxy.cpp | 32 +++-- .../renderer/core/gfx-proxy/GFXQueueProxy.h | 2 +- .../core/gfx-proxy/GFXShaderProxy.cpp | 26 ++-- .../core/gfx-proxy/GFXTextureProxy.cpp | 32 +++-- native/cocos/renderer/core/gfx/GFXDevice.cpp | 1 + .../renderer/core/thread/CommandEncoder.cpp | 4 +- 19 files changed, 320 insertions(+), 339 deletions(-) delete mode 100644 native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp delete mode 100644 native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h diff --git a/native/cocos/base/memory/Memory.cpp b/native/cocos/base/memory/Memory.cpp index 97d2660a24..eba13d4173 100755 --- a/native/cocos/base/memory/Memory.cpp +++ b/native/cocos/base/memory/Memory.cpp @@ -1,4 +1,5 @@ #include "CoreStd.h" + #include "Memory.h" #include "StlAlloc.h" diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 4b57bde774..2748c1574e 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -27,7 +27,6 @@ #include "gfx/GFXCommand.h" #include "gfx/GFXCommandPool.h" -#include "gfx-proxy/GFXDeviceThread.h" #include "gfx-proxy/GFXDeviceProxy.h" #include "gfx-proxy/GFXBufferProxy.h" #include "gfx-proxy/GFXTextureProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp index a5723378a1..2b8403e82f 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp @@ -1,7 +1,8 @@ #include "CoreStd.h" + +#include "../thread/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXDeviceProxy.h" -#include "GFXDeviceThread.h" namespace cc { namespace gfx { @@ -15,9 +16,9 @@ bool BufferProxy::initialize(const BufferInfo &info) { _count = _size / _stride; ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), BufferInit, - remote, GetRemote(), + remote, getRemote(), info, info, { remote->initialize(info); @@ -35,12 +36,12 @@ bool BufferProxy::initialize(const BufferViewInfo &info) { _count = info.buffer->getCount(); BufferViewInfo remoteInfo = info; - remoteInfo.buffer = ((BufferProxy*)info.buffer)->GetRemote(); + remoteInfo.buffer = ((BufferProxy *)info.buffer)->getRemote(); ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), BufferViewInit, - remote, GetRemote(), + remote, getRemote(), info, remoteInfo, { remote->initialize(info); @@ -50,17 +51,21 @@ bool BufferProxy::initialize(const BufferViewInfo &info) { } void BufferProxy::destroy() { - ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - BufferDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + BufferDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } void BufferProxy::update(void *buffer, uint offset, uint size) { - CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); uint8_t *remoteBuffer = encoder->Allocate(size); memcpy(remoteBuffer, buffer, size); @@ -68,7 +73,7 @@ void BufferProxy::update(void *buffer, uint offset, uint size) { ENCODE_COMMAND_4( encoder, BufferUpdate, - remote, GetRemote(), + remote, getRemote(), buffer, remoteBuffer, offset, offset, size, size, @@ -82,9 +87,9 @@ void BufferProxy::resize(uint size) { _count = size / _stride; ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), BufferResize, - remote, GetRemote(), + remote, getRemote(), size, size, { remote->resize(size); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 758ed9d31e..da0ca1b57b 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -1,13 +1,15 @@ #include "CoreStd.h" + +#include "../thread/CommandEncoder.h" +#include "GFXBufferProxy.h" #include "GFXCommandBufferProxy.h" #include "GFXDescriptorSetProxy.h" +#include "GFXDeviceProxy.h" +#include "GFXFramebufferProxy.h" #include "GFXInputAssemblerProxy.h" #include "GFXPipelineStateProxy.h" -#include "GFXFramebufferProxy.h" -#include "GFXBufferProxy.h" -#include "GFXTextureProxy.h" #include "GFXQueueProxy.h" -#include "GFXDeviceProxy.h" +#include "GFXTextureProxy.h" namespace cc { namespace gfx { @@ -17,12 +19,12 @@ bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { _queue = info.queue; CommandBufferInfo remoteInfo = info; - remoteInfo.queue = ((QueueProxy*)info.queue)->GetRemote(); + remoteInfo.queue = ((QueueProxy *)info.queue)->getRemote(); ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferInit, - remote, GetRemote(), + remote, getRemote(), info, remoteInfo, { remote->initialize(info); @@ -32,23 +34,27 @@ bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { } void CommandBufferProxy::destroy() { - ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - CommandBufferDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + CommandBufferDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { ENCODE_COMMAND_4( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferBegin, - remote, GetRemote(), + remote, getRemote(), renderPass, renderPass, subpass, subpass, - frameBuffer, frameBuffer ? ((FramebufferProxy*)frameBuffer)->GetRemote() : nullptr, + frameBuffer, frameBuffer ? ((FramebufferProxy *)frameBuffer)->getRemote() : nullptr, { remote->begin(renderPass, subpass, frameBuffer); }); @@ -56,16 +62,16 @@ void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer void CommandBufferProxy::end() { ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferEnd, - remote, GetRemote(), + remote, getRemote(), { remote->end(); }); } void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *remoteColors = encoder->Allocate(attachmentCount); @@ -74,9 +80,9 @@ void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fb ENCODE_COMMAND_7( encoder, CommandBufferBeginRenderPass, - remote, GetRemote(), + remote, getRemote(), renderPass, renderPass, - fbo, ((FramebufferProxy*)fbo)->GetRemote(), + fbo, ((FramebufferProxy *)fbo)->getRemote(), renderArea, renderArea, colors, remoteColors, depth, depth, @@ -88,9 +94,9 @@ void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fb void CommandBufferProxy::endRenderPass() { ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferEndRenderPass, - remote, GetRemote(), + remote, getRemote(), { remote->endRenderPass(); }); @@ -98,17 +104,17 @@ void CommandBufferProxy::endRenderPass() { void CommandBufferProxy::bindPipelineState(PipelineState *pso) { ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferBindPipelineState, - remote, GetRemote(), - pso, ((PipelineStateProxy*)pso)->GetRemote(), + remote, getRemote(), + pso, ((PipelineStateProxy *)pso)->getRemote(), { remote->bindPipelineState(pso); }); } void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { - CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); uint *remoteDynamicOffsets = nullptr; if (dynamicOffsetCount) { @@ -119,9 +125,9 @@ void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSe ENCODE_COMMAND_5( encoder, CommandBufferBindDescriptorSet, - remote, GetRemote(), + remote, getRemote(), set, set, - descriptorSet, ((DescriptorSetProxy*)descriptorSet)->GetRemote(), + descriptorSet, ((DescriptorSetProxy *)descriptorSet)->getRemote(), dynamicOffsetCount, dynamicOffsetCount, dynamicOffsets, remoteDynamicOffsets, { @@ -131,10 +137,10 @@ void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSe void CommandBufferProxy::bindInputAssembler(InputAssembler *ia) { ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferBindInputAssembler, - remote, GetRemote(), - ia, ((InputAssemblerProxy*)ia)->GetRemote(), + remote, getRemote(), + ia, ((InputAssemblerProxy *)ia)->getRemote(), { remote->bindInputAssembler(ia); }); @@ -142,9 +148,9 @@ void CommandBufferProxy::bindInputAssembler(InputAssembler *ia) { void CommandBufferProxy::setViewport(const Viewport &vp) { ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferSetViewport, - remote, GetRemote(), + remote, getRemote(), vp, vp, { remote->setViewport(vp); @@ -153,9 +159,9 @@ void CommandBufferProxy::setViewport(const Viewport &vp) { void CommandBufferProxy::setScissor(const Rect &rect) { ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferSetScissor, - remote, GetRemote(), + remote, getRemote(), rect, rect, { remote->setScissor(rect); @@ -164,9 +170,9 @@ void CommandBufferProxy::setScissor(const Rect &rect) { void CommandBufferProxy::setLineWidth(const float width) { ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferSetLineWidth, - remote, GetRemote(), + remote, getRemote(), width, width, { remote->setLineWidth(width); @@ -175,9 +181,9 @@ void CommandBufferProxy::setLineWidth(const float width) { void CommandBufferProxy::setDepthBias(float constant, float clamp, float slope) { ENCODE_COMMAND_4( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferSetDepthBias, - remote, GetRemote(), + remote, getRemote(), constant, constant, clamp, clamp, slope, slope, @@ -188,9 +194,9 @@ void CommandBufferProxy::setDepthBias(float constant, float clamp, float slope) void CommandBufferProxy::setBlendConstants(const Color &constants) { ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferSetBlendConstants, - remote, GetRemote(), + remote, getRemote(), constants, constants, { remote->setBlendConstants(constants); @@ -199,9 +205,9 @@ void CommandBufferProxy::setBlendConstants(const Color &constants) { void CommandBufferProxy::setDepthBound(float minBounds, float maxBounds) { ENCODE_COMMAND_3( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferSetDepthBound, - remote, GetRemote(), + remote, getRemote(), minBounds, minBounds, maxBounds, maxBounds, { @@ -211,9 +217,9 @@ void CommandBufferProxy::setDepthBound(float minBounds, float maxBounds) { void CommandBufferProxy::setStencilWriteMask(StencilFace face, uint mask) { ENCODE_COMMAND_3( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferSetStencilWriteMask, - remote, GetRemote(), + remote, getRemote(), face, face, mask, mask, { @@ -223,9 +229,9 @@ void CommandBufferProxy::setStencilWriteMask(StencilFace face, uint mask) { void CommandBufferProxy::setStencilCompareMask(StencilFace face, int ref, uint mask) { ENCODE_COMMAND_4( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferSetStencilCompareMask, - remote, GetRemote(), + remote, getRemote(), face, face, ref, ref, mask, mask, @@ -236,17 +242,17 @@ void CommandBufferProxy::setStencilCompareMask(StencilFace face, int ref, uint m void CommandBufferProxy::draw(InputAssembler *ia) { ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferDraw, - remote, GetRemote(), - ia, ((InputAssemblerProxy*)ia)->GetRemote(), + remote, getRemote(), + ia, ((InputAssemblerProxy *)ia)->getRemote(), { remote->draw(ia); }); } void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { - CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); uint8_t *remoteData = encoder->Allocate(size); memcpy(remoteData, data, size); @@ -254,8 +260,8 @@ void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, ENCODE_COMMAND_5( encoder, CommandBufferUpdateBuffer, - remote, GetRemote(), - buff, ((BufferProxy*)buff)->GetRemote(), + remote, getRemote(), + buff, ((BufferProxy *)buff)->getRemote(), data, remoteData, size, size, offset, offset, @@ -265,7 +271,7 @@ void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, } void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); BufferTextureCopy *remoteRegions = encoder->Allocate(count); memcpy(remoteRegions, regions, count * sizeof(BufferTextureCopy)); @@ -288,9 +294,9 @@ void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Tex ENCODE_COMMAND_5( encoder, CommandBufferCopyBuffersToTexture, - remote, GetRemote(), + remote, getRemote(), buffers, remoteBuffers, - texture, ((TextureProxy*)texture)->GetRemote(), + texture, ((TextureProxy *)texture)->getRemote(), regions, remoteRegions, count, count, { @@ -299,17 +305,17 @@ void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Tex } void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); for (uint i = 0; i < count; ++i) { - remoteCmdBuffs[i] = ((CommandBufferProxy*)cmdBuffs[i])->GetRemote(); + remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); } ENCODE_COMMAND_3( encoder, CommandBufferExecute, - remote, GetRemote(), + remote, getRemote(), cmdBuffs, remoteCmdBuffs, count, count, { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp index 15fb9e668e..c0e458a871 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp @@ -1,8 +1,10 @@ #include "CoreStd.h" -#include "GFXDescriptorSetProxy.h" + +#include "../thread/CommandEncoder.h" #include "GFXBufferProxy.h" -#include "GFXTextureProxy.h" +#include "GFXDescriptorSetProxy.h" #include "GFXDeviceProxy.h" +#include "GFXTextureProxy.h" namespace cc { namespace gfx { @@ -15,9 +17,9 @@ bool DescriptorSetProxy::initialize(const DescriptorSetInfo &info) { _samplers.resize(descriptorCount); ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), DescriptorSetInit, - remote, GetRemote(), + remote, getRemote(), info, info, { remote->initialize(info); @@ -32,20 +34,24 @@ void DescriptorSetProxy::destroy() { _textures.clear(); _samplers.clear(); - ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - DescriptorSetDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + DescriptorSetDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } void DescriptorSetProxy::update() { ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), DescriptorSetUpdate, - remote, GetRemote(), + remote, getRemote(), { remote->update(); }); @@ -55,11 +61,11 @@ void DescriptorSetProxy::bindBuffer(uint binding, Buffer *buffer, uint index) { DescriptorSet::bindBuffer(binding, buffer, index); ENCODE_COMMAND_4( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), DescriptorSetBindBuffer, - remote, GetRemote(), + remote, getRemote(), binding, binding, - buffer, ((BufferProxy*)buffer)->GetRemote(), + buffer, ((BufferProxy *)buffer)->getRemote(), index, index, { remote->bindBuffer(binding, buffer, index); @@ -70,11 +76,11 @@ void DescriptorSetProxy::bindTexture(uint binding, Texture *texture, uint index) DescriptorSet::bindTexture(binding, texture, index); ENCODE_COMMAND_4( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), DescriptorSetBindTexture, - remote, GetRemote(), + remote, getRemote(), binding, binding, - texture, ((TextureProxy*)texture)->GetRemote(), + texture, ((TextureProxy *)texture)->getRemote(), index, index, { remote->bindTexture(binding, texture, index); @@ -85,9 +91,9 @@ void DescriptorSetProxy::bindSampler(uint binding, Sampler *sampler, uint index) DescriptorSet::bindSampler(binding, sampler, index); ENCODE_COMMAND_4( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), DescriptorSetBindSampler, - remote, GetRemote(), + remote, getRemote(), binding, binding, sampler, sampler, index, index, diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 4c473e4dd6..733e1d4705 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -1,15 +1,16 @@ #include "CoreStd.h" -#include "GFXDeviceProxy.h" -#include "GFXCommandBufferProxy.h" + +#include "../thread/CommandEncoder.h" #include "GFXBufferProxy.h" -#include "GFXTextureProxy.h" -#include "GFXShaderProxy.h" +#include "GFXCommandBufferProxy.h" #include "GFXDescriptorSetProxy.h" +#include "GFXDeviceProxy.h" +#include "GFXFramebufferProxy.h" #include "GFXInputAssemblerProxy.h" #include "GFXPipelineStateProxy.h" -#include "GFXFramebufferProxy.h" #include "GFXQueueProxy.h" -#include "GFXDeviceThread.h" +#include "GFXShaderProxy.h" +#include "GFXTextureProxy.h" namespace cc { namespace gfx { @@ -54,36 +55,59 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { _uboOffsetAlignment = _remote->getUboOffsetAlignment(); _depthBits = _remote->getDepthBits(); _stencilBits = _remote->getStencilBits(); - memcpy(_features, ((DeviceProxy*)GetRemote())->_features, (uint)Feature::COUNT * sizeof(bool)); + memcpy(_features, ((DeviceProxy *)getRemote())->_features, (uint)Feature::COUNT * sizeof(bool)); - _thread = std::make_unique(); - _thread->InitSubmitContexts(this); - _thread->Run(); + _mainEncoder = CC_NEW(CommandEncoder); + _mainEncoder->RunConsumerThread(); + + _contexts.resize(1u); // std::thread::hardware_concurrency()); + + CommandBufferInfo cbInfo; + cbInfo.type = CommandBufferType::PRIMARY; + cbInfo.queue = _queue; + + for (auto &context : _contexts) { + context.commandBuffer = createCommandBuffer(cbInfo); + context.encoder = CC_NEW(CommandEncoder); + context.encoder->RunConsumerThread(); + } ENCODE_COMMAND_1( - getDeviceThread()->GetMainCommandEncoder(), - DeviceMakeCurrent, - remote, GetRemote(), - { - remote->makeCurrent(); - }); + getMainEncoder(), + DeviceMakeCurrent, + remote, getRemote(), + { + remote->makeCurrent(); + }); return true; } void DeviceProxy::destroy() { - ENCODE_COMMAND_2( - getDeviceThread()->GetMainCommandEncoder(), - DeviceDestroy, - remote, GetRemote(), - device, this, - { - remote->destroy(); - CC_SAFE_DELETE(device->_queue); - CC_SAFE_DELETE(device->_cmdBuff); - device->_thread->Terminate(); - device->_thread.reset(); - }); + for (auto &context : _contexts) { + context.encoder->TerminateConsumerThread(); + CC_SAFE_DELETE(context.encoder); + CC_SAFE_DESTROY(context.commandBuffer); + } + _contexts.clear(); + + if (_remote) { + ENCODE_COMMAND_2( + getMainEncoder(), + DeviceDestroy, + device, this, + remote, getRemote(), + { + CC_DESTROY(remote); + CC_SAFE_DELETE(device->_queue); + CC_SAFE_DELETE(device->_cmdBuff); + }); + + _remote = nullptr; + } + + _mainEncoder->TerminateConsumerThread(); + CC_SAFE_DELETE(_mainEncoder); } void DeviceProxy::resize(uint width, uint height) { @@ -91,9 +115,9 @@ void DeviceProxy::resize(uint width, uint height) { _height = _nativeHeight = height; ENCODE_COMMAND_3( - getDeviceThread()->GetMainCommandEncoder(), + getMainEncoder(), DeviceResize, - remote, GetRemote(), + remote, getRemote(), width, width, height, height, { @@ -103,11 +127,11 @@ void DeviceProxy::resize(uint width, uint height) { void DeviceProxy::acquire() { _frameBoundarySemaphore.Wait(); - CommandEncoder *encoder = getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = getMainEncoder(); ENCODE_COMMAND_2( encoder, DeviceAcquire, - remote, GetRemote(), + remote, getRemote(), encoder, encoder, { remote->acquire(); @@ -115,11 +139,11 @@ void DeviceProxy::acquire() { } void DeviceProxy::present() { - CommandEncoder *encoder = getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = getMainEncoder(); ENCODE_COMMAND_2( encoder, DevicePresent, - remote, GetRemote(), + remote, getRemote(), frameBoundarySemaphore, &_frameBoundarySemaphore, { remote->present(); @@ -205,7 +229,7 @@ PipelineState *DeviceProxy::createPipelineState() { } void DeviceProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - CommandEncoder *encoder = _thread->GetMainCommandEncoder(); + CommandEncoder *encoder = getMainEncoder(); BufferTextureCopy *remoteRegions = encoder->Allocate(count); memcpy(remoteRegions, regions, count * sizeof(BufferTextureCopy)); @@ -228,9 +252,9 @@ void DeviceProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d ENCODE_COMMAND_5( encoder, DeviceCopyBuffersToTexture, - remote, GetRemote(), + remote, getRemote(), buffers, remoteBuffers, - dst, ((TextureProxy*)dst)->GetRemote(), + dst, ((TextureProxy *)dst)->getRemote(), regions, regions, count, count, { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index 9caa83a299..4967b0077b 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -1,33 +1,41 @@ #pragma once -#include "GFXProxy.h" -#include "GFXDeviceThread.h" #include "../gfx/GFXDevice.h" #include "../thread/Semaphore.h" +#include "GFXProxy.h" #define MAX_CPU_FRAME_AHEAD 2 namespace cc { namespace gfx { +class CommandEncoder; +class CommandBuffer; + +// one per CPU core +struct SubmitContext final { + CommandEncoder *encoder{nullptr}; + CommandBuffer *commandBuffer{nullptr}; +}; + class CC_DLL DeviceProxy : public Proxy { public: - using Proxy::Proxy; - using Device::createCommandBuffer; - using Device::createFence; - using Device::createQueue; + using Device::copyBuffersToTexture; using Device::createBuffer; - using Device::createTexture; - using Device::createSampler; - using Device::createShader; - using Device::createInputAssembler; - using Device::createRenderPass; - using Device::createFramebuffer; + using Device::createCommandBuffer; using Device::createDescriptorSet; using Device::createDescriptorSetLayout; + using Device::createFence; + using Device::createFramebuffer; + using Device::createInputAssembler; using Device::createPipelineLayout; using Device::createPipelineState; - using Device::copyBuffersToTexture; + using Device::createQueue; + using Device::createRenderPass; + using Device::createSampler; + using Device::createShader; + using Device::createTexture; + using Proxy::Proxy; virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; @@ -61,14 +69,13 @@ public: virtual uint getNumInstances() const override { return _remote->getNumInstances(); } virtual uint getNumTris() const override { return _remote->getNumTris(); } - DeviceThread *getDeviceThread() const { return _thread.get(); } + CommandEncoder *getMainEncoder() const { return _mainEncoder; } protected: + CommandEncoder *_mainEncoder = nullptr; + vector _contexts{}; - friend class DeviceThread; - - std::unique_ptr _thread{}; - Semaphore _frameBoundarySemaphore {MAX_CPU_FRAME_AHEAD}; + Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp deleted file mode 100644 index a23a31b4a6..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include "CoreStd.h" -#include "GFXDeviceThread.h" -#include "gfx-proxy/GFXDeviceProxy.h" -#include "gfx-proxy/GFXCommandBufferProxy.h" - -namespace cc { -namespace gfx { - -DeviceThread::DeviceThread() noexcept -{ - mMainCommandEncoder = std::make_unique(); -} - -void DeviceThread::InitSubmitContexts(DeviceProxy *device) { - uint32_t const commandBufferCount = false ? std::thread::hardware_concurrency() : 1u; - mSubmitContexts.resize(commandBufferCount); - - CommandBufferInfo info; - info.type = CommandBufferType::PRIMARY; - info.queue = device->getQueue(); - - for (auto& context : mSubmitContexts) - { - context.mCommandBuffer.reset(device->createCommandBuffer(info)); - context.mEncoder = std::make_unique(); - } -} - -DeviceThread::~DeviceThread() -{ - for (auto& context : mSubmitContexts) - { - context.mCommandBuffer->destroy(); - context.mCommandBuffer.reset(); - context.mEncoder.reset(); - } - mSubmitContexts.clear(); - - mMainCommandEncoder.reset(); -} - -void DeviceThread::Run() noexcept -{ - mMainCommandEncoder->RunConsumerThread(); - - for (auto& context : mSubmitContexts) - { - context.mEncoder->RunConsumerThread(); - } -} - -void DeviceThread::Terminate() noexcept -{ - for (auto& context : mSubmitContexts) - { - context.mEncoder->TerminateConsumerThread(); - } - - mMainCommandEncoder->TerminateConsumerThread(); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h deleted file mode 100644 index 2ac3e7a3c0..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceThread.h +++ /dev/null @@ -1,36 +0,0 @@ -#pragma once - -#include "../thread/CommandEncoder.h" -#include "../gfx/GFXCommandBuffer.h" - -namespace cc { -namespace gfx { - -// 一个Context对应一个CPU Core -struct SubmitContext final -{ - std::unique_ptr mEncoder { nullptr }; - std::unique_ptr mCommandBuffer { nullptr }; -}; - -class DeviceProxy; - -class CC_DLL DeviceThread final -{ -public: - - explicit DeviceThread() noexcept; - ~DeviceThread(); - - void InitSubmitContexts(DeviceProxy *device); - void Run() noexcept; - void Terminate() noexcept; - inline CommandEncoder* GetMainCommandEncoder() const noexcept { return mMainCommandEncoder.get(); } -private: - - std::unique_ptr mMainCommandEncoder {}; - std::vector mSubmitContexts {}; -}; - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp index 3520e1cfa3..a6821e7060 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp @@ -1,8 +1,9 @@ #include "CoreStd.h" + +#include "../thread/CommandEncoder.h" +#include "GFXDeviceProxy.h" #include "GFXFramebufferProxy.h" #include "GFXTextureProxy.h" -#include "GFXDeviceProxy.h" -#include "GFXDeviceThread.h" namespace cc { namespace gfx { @@ -15,17 +16,17 @@ bool FramebufferProxy::initialize(const FramebufferInfo &info) { FramebufferInfo remoteInfo = info; for (uint i = 0u; i < info.colorTextures.size(); ++i) { if (info.colorTextures[i]) { - remoteInfo.colorTextures[i] = ((TextureProxy*) info.colorTextures[i])->GetRemote(); + remoteInfo.colorTextures[i] = ((TextureProxy *)info.colorTextures[i])->getRemote(); } } if (info.depthStencilTexture) { - remoteInfo.depthStencilTexture = ((TextureProxy*) info.depthStencilTexture)->GetRemote(); + remoteInfo.depthStencilTexture = ((TextureProxy *)info.depthStencilTexture)->getRemote(); } ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), FramebufferInit, - remote, GetRemote(), + remote, getRemote(), info, remoteInfo, { remote->initialize(info); @@ -35,13 +36,17 @@ bool FramebufferProxy::initialize(const FramebufferInfo &info) { } void FramebufferProxy::destroy() { - ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - FramebufferDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + FramebufferDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp index d54e0b89fc..494495fdbe 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp @@ -1,8 +1,9 @@ #include "CoreStd.h" -#include "GFXInputAssemblerProxy.h" + +#include "../thread/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXDeviceProxy.h" -#include "GFXDeviceThread.h" +#include "GFXInputAssemblerProxy.h" namespace cc { namespace gfx { @@ -25,19 +26,19 @@ bool InputAssemblerProxy::initialize(const InputAssemblerInfo &info) { InputAssemblerInfo remoteInfo = info; for (uint i = 0u; i < remoteInfo.vertexBuffers.size(); ++i) { - remoteInfo.vertexBuffers[i] = ((BufferProxy*)remoteInfo.vertexBuffers[i])->GetRemote(); + remoteInfo.vertexBuffers[i] = ((BufferProxy *)remoteInfo.vertexBuffers[i])->getRemote(); } if (remoteInfo.indexBuffer) { - remoteInfo.indexBuffer = ((BufferProxy*)remoteInfo.indexBuffer)->GetRemote(); + remoteInfo.indexBuffer = ((BufferProxy *)remoteInfo.indexBuffer)->getRemote(); } if (remoteInfo.indirectBuffer) { - remoteInfo.indirectBuffer = ((BufferProxy *)remoteInfo.indirectBuffer)->GetRemote(); + remoteInfo.indirectBuffer = ((BufferProxy *)remoteInfo.indirectBuffer)->getRemote(); } ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), InputAssemblerInit, - remote, GetRemote(), + remote, getRemote(), info, remoteInfo, { remote->initialize(info); @@ -47,13 +48,17 @@ bool InputAssemblerProxy::initialize(const InputAssemblerInfo &info) { } void InputAssemblerProxy::destroy() { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getDeviceThread()->GetMainCommandEncoder(), - InputAssemblerDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + InputAssemblerDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp index 8307642348..4b8264cb40 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp @@ -1,7 +1,9 @@ #include "CoreStd.h" + +#include "../thread/CommandEncoder.h" +#include "GFXDeviceProxy.h" #include "GFXPipelineStateProxy.h" #include "GFXShaderProxy.h" -#include "GFXDeviceProxy.h" namespace cc { namespace gfx { @@ -18,12 +20,12 @@ bool PipelineStateProxy::initialize(const PipelineStateInfo &info) { _pipelineLayout = info.pipelineLayout; PipelineStateInfo remoteInfo = info; - remoteInfo.shader = ((ShaderProxy*)info.shader)->GetRemote(); + remoteInfo.shader = ((ShaderProxy *)info.shader)->getRemote(); ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), PipelineStateInit, - remote, GetRemote(), + remote, getRemote(), info, remoteInfo, { remote->initialize(info); @@ -33,13 +35,17 @@ bool PipelineStateProxy::initialize(const PipelineStateInfo &info) { } void PipelineStateProxy::destroy() { - ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - PipelineStateDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + PipelineStateDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXProxy.h index d56e38dfb5..252eff5446 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXProxy.h @@ -5,16 +5,15 @@ namespace cc { namespace gfx { -template> +template class CC_DLL Proxy : public Remote { public: - Proxy() noexcept = delete; explicit Proxy(Remote *const remote, Device *const device) noexcept - : Remote(device) { _remote.reset(remote); } + : Remote(device), _remote(remote) {} - virtual ~Proxy() { _remote.reset(); } + virtual ~Proxy() {} Proxy(Proxy const &) = delete; @@ -24,12 +23,10 @@ public: Proxy &operator=(Proxy &&) = delete; - inline Remote *GetRemote() const noexcept { return _remote.get(); } + inline Remote *getRemote() const noexcept { return _remote; } protected: - - using RemotePtr = std::unique_ptr; - RemotePtr _remote{nullptr}; + Remote * _remote{nullptr}; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp index 5798939237..fb8f58fb4c 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp @@ -1,7 +1,9 @@ #include "CoreStd.h" -#include "GFXQueueProxy.h" + +#include "../thread/CommandEncoder.h" #include "GFXCommandBufferProxy.h" #include "GFXDeviceProxy.h" +#include "GFXQueueProxy.h" namespace cc { namespace gfx { @@ -10,9 +12,9 @@ bool QueueProxy::initialize(const QueueInfo &info) { _type = info.type; ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), QueueInit, - remote, GetRemote(), + remote, getRemote(), info, info, { remote->initialize(info); @@ -22,27 +24,31 @@ bool QueueProxy::initialize(const QueueInfo &info) { } void QueueProxy::destroy() { - ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - QueueDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + QueueDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { - CommandEncoder *encoder = ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(); + CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); for (uint i = 0u; i < count; ++i) { - remoteCmdBuffs[i] = ((CommandBufferProxy*)cmdBuffs[i])->GetRemote(); + remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); } ENCODE_COMMAND_4( encoder, QueueSubmit, - remote, GetRemote(), + remote, getRemote(), cmdBuffs, remoteCmdBuffs, count, count, fence, fence, diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h index cb67ebec8f..1e86e5efc0 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h @@ -1,7 +1,7 @@ #pragma once -#include "GFXProxy.h" #include "../gfx/GFXQueue.h" +#include "GFXProxy.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp index 0d22fda8c2..acd7e0567d 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp @@ -1,6 +1,8 @@ #include "CoreStd.h" -#include "GFXShaderProxy.h" + +#include "../thread/CommandEncoder.h" #include "GFXDeviceProxy.h" +#include "GFXShaderProxy.h" namespace cc { namespace gfx { @@ -13,9 +15,9 @@ bool ShaderProxy::initialize(const ShaderInfo &info) { _samplers = info.samplers; ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy *)_device)->getMainEncoder(), ShaderInit, - remote, GetRemote(), + remote, getRemote(), info, info, { remote->initialize(info); @@ -25,13 +27,17 @@ bool ShaderProxy::initialize(const ShaderInfo &info) { } void ShaderProxy::destroy() { - ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - ShaderDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + ShaderDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp index 7b2c24c061..88fb07180c 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp @@ -1,4 +1,6 @@ #include "CoreStd.h" + +#include "../thread/CommandEncoder.h" #include "GFXTextureProxy.h" #include "GFXDeviceProxy.h" @@ -19,9 +21,9 @@ bool TextureProxy::initialize(const TextureInfo &info) { _size = FormatSize(_format, _width, _height, _depth); ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy*)_device)->getMainEncoder(), TextureInit, - remote, GetRemote(), + remote, getRemote(), info, info, { remote->initialize(info); @@ -52,9 +54,9 @@ bool TextureProxy::initialize(const TextureViewInfo &info) { _size = FormatSize(_format, _width, _height, _depth); ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy*)_device)->getMainEncoder(), TextureViewInit, - remote, GetRemote(), + remote, getRemote(), info, info, { remote->initialize(info); @@ -64,20 +66,24 @@ bool TextureProxy::initialize(const TextureViewInfo &info) { } void TextureProxy::destroy() { - ENCODE_COMMAND_1( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), - TextureDestroy, - remote, GetRemote(), - { - remote->destroy(); - }); + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + TextureDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } } void TextureProxy::resize(uint width, uint height) { ENCODE_COMMAND_3( - ((DeviceProxy*)_device)->getDeviceThread()->GetMainCommandEncoder(), + ((DeviceProxy*)_device)->getMainEncoder(), TextureResize, - remote, GetRemote(), + remote, getRemote(), width, width, height, height, { diff --git a/native/cocos/renderer/core/gfx/GFXDevice.cpp b/native/cocos/renderer/core/gfx/GFXDevice.cpp index 243e63f419..5347e147ea 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.cpp +++ b/native/cocos/renderer/core/gfx/GFXDevice.cpp @@ -1,6 +1,7 @@ #include "CoreStd.h" #include "GFXContext.h" +#include "GFXDevice.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index 18d3562ed0..ac9fa6f591 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -79,7 +79,7 @@ void CommandEncoder::MemoryAllocator::Free(uint8_t* const chunk) noexcept CommandEncoder::CommandEncoder() { - mImmediateMode = true; + //mImmediateMode = true; mFreeChunksByUser = false; uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); @@ -123,7 +123,7 @@ void CommandEncoder::RunConsumerThread() noexcept return; } - std::thread consumerThread(std::bind(&CommandEncoder::ConsumerThreadLoop, this)); + std::thread consumerThread(&CommandEncoder::ConsumerThreadLoop, this); consumerThread.detach(); mWorkerAttached = true; } From b44ed112a75d2209b0a4b347119b737145726756 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 26 Nov 2020 20:20:27 +0800 Subject: [PATCH 023/270] vk: async attempt2 --- native/cocos/renderer/core/Core.h | 1 + .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 5 +- .../core/gfx-proxy/GFXDeviceProxy.cpp | 5 +- .../core/gfx-proxy/GFXFramebufferProxy.cpp | 2 + .../core/gfx-proxy/GFXPipelineStateProxy.cpp | 2 + .../core/gfx-proxy/GFXRenderPassProxy.cpp | 44 +++++ .../core/gfx-proxy/GFXRenderPassProxy.h | 19 ++ .../cocos/renderer/gfx-vulkan/VKContext.cpp | 6 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 66 ++++--- native/cocos/renderer/gfx-vulkan/VKDevice.h | 32 ++-- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 181 ++++++------------ 11 files changed, 193 insertions(+), 170 deletions(-) create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 2748c1574e..9002e24a77 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -31,6 +31,7 @@ #include "gfx-proxy/GFXBufferProxy.h" #include "gfx-proxy/GFXTextureProxy.h" #include "gfx-proxy/GFXShaderProxy.h" +#include "gfx-proxy/GFXRenderPassProxy.h" #include "gfx-proxy/GFXFramebufferProxy.h" #include "gfx-proxy/GFXInputAssemblerProxy.h" #include "gfx-proxy/GFXPipelineStateProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index da0ca1b57b..74ef63b9b3 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -9,6 +9,7 @@ #include "GFXInputAssemblerProxy.h" #include "GFXPipelineStateProxy.h" #include "GFXQueueProxy.h" +#include "GFXRenderPassProxy.h" #include "GFXTextureProxy.h" namespace cc { @@ -52,7 +53,7 @@ void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferBegin, remote, getRemote(), - renderPass, renderPass, + renderPass, renderPass ? ((RenderPassProxy *)renderPass)->getRemote() : nullptr, subpass, subpass, frameBuffer, frameBuffer ? ((FramebufferProxy *)frameBuffer)->getRemote() : nullptr, { @@ -81,7 +82,7 @@ void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fb encoder, CommandBufferBeginRenderPass, remote, getRemote(), - renderPass, renderPass, + renderPass, ((RenderPassProxy *)renderPass)->getRemote(), fbo, ((FramebufferProxy *)fbo)->getRemote(), renderArea, renderArea, colors, remoteColors, diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 733e1d4705..4257b7b21c 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -9,6 +9,7 @@ #include "GFXInputAssemblerProxy.h" #include "GFXPipelineStateProxy.h" #include "GFXQueueProxy.h" +#include "GFXRenderPassProxy.h" #include "GFXShaderProxy.h" #include "GFXTextureProxy.h" @@ -199,7 +200,9 @@ InputAssembler *DeviceProxy::createInputAssembler() { } RenderPass *DeviceProxy::createRenderPass() { - return _remote->createRenderPass(); + RenderPass *remote = _remote->createRenderPass(); + RenderPassProxy *proxy = CC_NEW(RenderPassProxy(remote, this)); + return proxy; } Framebuffer *DeviceProxy::createFramebuffer() { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp index a6821e7060..a783bfaa37 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp @@ -3,6 +3,7 @@ #include "../thread/CommandEncoder.h" #include "GFXDeviceProxy.h" #include "GFXFramebufferProxy.h" +#include "GFXRenderPassProxy.h" #include "GFXTextureProxy.h" namespace cc { @@ -22,6 +23,7 @@ bool FramebufferProxy::initialize(const FramebufferInfo &info) { if (info.depthStencilTexture) { remoteInfo.depthStencilTexture = ((TextureProxy *)info.depthStencilTexture)->getRemote(); } + remoteInfo.renderPass = ((RenderPassProxy *)info.renderPass)->getRemote(); ENCODE_COMMAND_2( ((DeviceProxy *)_device)->getMainEncoder(), diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp index 4b8264cb40..2a621dc90c 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp @@ -3,6 +3,7 @@ #include "../thread/CommandEncoder.h" #include "GFXDeviceProxy.h" #include "GFXPipelineStateProxy.h" +#include "GFXRenderPassProxy.h" #include "GFXShaderProxy.h" namespace cc { @@ -21,6 +22,7 @@ bool PipelineStateProxy::initialize(const PipelineStateInfo &info) { PipelineStateInfo remoteInfo = info; remoteInfo.shader = ((ShaderProxy *)info.shader)->getRemote(); + remoteInfo.renderPass = ((RenderPassProxy *)info.renderPass)->getRemote(); ENCODE_COMMAND_2( ((DeviceProxy *)_device)->getMainEncoder(), diff --git a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp new file mode 100644 index 0000000000..8da2b6ea6e --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp @@ -0,0 +1,44 @@ +#include "CoreStd.h" + +#include "../thread/CommandEncoder.h" +#include "GFXDeviceProxy.h" +#include "GFXRenderPassProxy.h" + +namespace cc { +namespace gfx { + +bool RenderPassProxy::initialize(const RenderPassInfo &info) { + + _colorAttachments = info.colorAttachments; + _depthStencilAttachment = info.depthStencilAttachment; + _subPasses = info.subPasses; + _hash = computeHash(); + + ENCODE_COMMAND_2( + ((DeviceProxy *)_device)->getMainEncoder(), + RenderPassInit, + remote, getRemote(), + info, info, + { + remote->initialize(info); + }); + + return true; +} + +void RenderPassProxy::destroy() { + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + RenderPassDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h new file mode 100644 index 0000000000..e3194c1869 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h @@ -0,0 +1,19 @@ +#pragma once + +#include "../gfx/GFXRenderPass.h" +#include "GFXProxy.h" + +namespace cc { +namespace gfx { + +class CC_DLL RenderPassProxy : public Proxy { +public: + using Proxy::Proxy; + RenderPassProxy(Device *device) = delete; + + virtual bool initialize(const RenderPassInfo &info) override; + virtual void destroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 829c28d70b..e3d329b12c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 0 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, @@ -293,10 +293,10 @@ bool CCVKContext::initialize(const ContextInfo &info) { CCVKDevice* device = (CCVKDevice*)_device; CCVKQueue *queue = (CCVKQueue *)device->getQueue(); - uint fenceCount = device->gpuFencePool()->getFenceCount(); + uint fenceCount = device->gpuFencePool()->size(); if (fenceCount) { VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, fenceCount, - device->gpuFencePool()->getFences(), VK_TRUE, DEFAULT_TIMEOUT)); + device->gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); } device->destroySwapchain(); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 40d8a9ae5a..1fde6e206b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -288,20 +288,22 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { queueInfo.type = QueueType::GRAPHICS; _queue = createQueue(queueInfo); - _gpuSwapchain = CC_NEW(CCVKGPUSwapchain); - _gpuSwapchain->swapchainImages.resize(gpuContext->swapchainCreateInfo.minImageCount); + uint backBufferCount = gpuContext->swapchainCreateInfo.minImageCount; + for (uint i = 0u; i < backBufferCount; i++) { + _gpuFencePools.push_back(CC_NEW(CCVKGPUFencePool(_gpuDevice))); + _gpuRecycleBins.push_back(CC_NEW(CCVKGPURecycleBin(_gpuDevice))); + _gpuTransportHubs.push_back(CC_NEW(CCVKGPUTransportHub(_gpuDevice))); + _gpuDescriptorSetPools.push_back(CC_NEW(CCVKGPUDescriptorSetPool(_gpuDevice))); + _gpuCommandBufferPools.push_back(CC_NEW(CCVKGPUCommandBufferPool(_gpuDevice))); + _gpuStagingBufferPools.push_back(CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice))); - _gpuFencePool = CC_NEW(CCVKGPUFencePool(_gpuDevice, _gpuSwapchain)); - _gpuRecycleBin = CC_NEW(CCVKGPURecycleBin(_gpuDevice)); - _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice)); - _gpuTransportHub->link(((CCVKQueue *)_queue)->gpuQueue()); + _gpuTransportHubs[i]->link(((CCVKQueue *)_queue)->gpuQueue(), + _gpuFencePools[i], + _gpuCommandBufferPools[i], + _gpuStagingBufferPools[i]); + } _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); - _gpuDescriptorSetPool = CC_NEW(CCVKGPUDescriptorSetPool(_gpuDevice, _gpuSwapchain)); - _gpuCommandBufferPool = CC_NEW(CCVKGPUCommandBufferPool(_gpuDevice, _gpuSwapchain)); - _gpuStagingBufferPool = CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice, _gpuSwapchain)); - - _gpuTransportHub->link(((CCVKQueue *)_queue)->gpuQueue(), _gpuFencePool, _gpuCommandBufferPool, _gpuStagingBufferPool); CommandBufferInfo cmdBuffInfo; cmdBuffInfo.type = CommandBufferType::PRIMARY; @@ -340,6 +342,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _depthStencilTextures.push_back(texture); } + _gpuSwapchain = CC_NEW(CCVKGPUSwapchain); checkSwapchainStatus(); ///////////////////// Print Debug Info ///////////////////// @@ -390,10 +393,6 @@ void CCVKDevice::destroy() { } _depthStencilTextures.clear(); - if (_gpuRecycleBin) { - _gpuRecycleBin->clear(); - } - // these two are managed by their proxies if (_queue) { _queue->destroy(); @@ -403,23 +402,25 @@ void CCVKDevice::destroy() { _cmdBuff->destroy(); _cmdBuff = nullptr; } - CC_SAFE_DELETE(_gpuSwapchain); - CC_SAFE_DELETE(_gpuStagingBufferPool); - CC_SAFE_DELETE(_gpuCommandBufferPool); - CC_SAFE_DELETE(_gpuDescriptorSetPool); + CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); - CC_SAFE_DELETE(_gpuDescriptorSetHub); - uint backBufferCount = ((CCVKContext *)_context)->gpuContext()->swapchainCreateInfo.minImageCount; + uint backBufferCount = ((CCVKContext*)_context)->gpuContext()->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { _gpuRecycleBins[i]->clear(); CC_SAFE_DELETE(_gpuStagingBufferPools[i]); + CC_SAFE_DELETE(_gpuCommandBufferPools[i]); + CC_SAFE_DELETE(_gpuDescriptorSetPools[i]); + CC_SAFE_DELETE(_gpuTransportHubs[i]); CC_SAFE_DELETE(_gpuRecycleBins[i]); CC_SAFE_DELETE(_gpuFencePools[i]); } _gpuStagingBufferPools.clear(); + _gpuCommandBufferPools.clear(); + _gpuDescriptorSetPools.clear(); + _gpuTransportHubs.clear(); _gpuRecycleBins.clear(); _gpuFencePools.clear(); @@ -497,19 +498,19 @@ void CCVKDevice::acquire() { VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); - uint fenceCount = _gpuFencePool->getFenceCount(); + uint fenceCount = gpuFencePool()->size(); if (fenceCount) { VK_CHECK(vkWaitForFences(_gpuDevice->vkDevice, fenceCount, - _gpuFencePool->getFences(), VK_TRUE, DEFAULT_TIMEOUT)); + gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); } // reset everything only when no pending commands - if (_gpuTransportHub->empty() && !((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { - _gpuFencePool->reset(); - _gpuRecycleBin->clear(); - _gpuDescriptorSetPool->reset(); - _gpuCommandBufferPool->reset(); - _gpuStagingBufferPool->reset(); + if (gpuTransportHub()->empty() && !((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { + gpuFencePool()->reset(); + gpuRecycleBin()->clear(); + gpuDescriptorSetPool()->reset(); + gpuCommandBufferPool()->reset(); + gpuStagingBufferPool()->reset(); } queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; @@ -537,6 +538,13 @@ void CCVKDevice::present() { } } +CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuSwapchain->curImageIndex]; } +CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuSwapchain->curImageIndex]; } +CCVKGPUTransportHub *CCVKDevice::gpuTransportHub() { return _gpuTransportHubs[_gpuSwapchain->curImageIndex]; } +CCVKGPUDescriptorSetPool *CCVKDevice::gpuDescriptorSetPool() { return _gpuDescriptorSetPools[_gpuSwapchain->curImageIndex]; } +CCVKGPUCommandBufferPool *CCVKDevice::gpuCommandBufferPool() { return _gpuCommandBufferPools[_gpuSwapchain->curImageIndex]; } +CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuSwapchain->curImageIndex]; } + CommandBuffer *CCVKDevice::createCommandBuffer() { return CC_NEW(CCVKCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index c0e8aef51d..9ea03fbb68 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -49,21 +49,21 @@ public: ~CCVKDevice(); friend class CCVKContext; - using Device::createCommandBuffer; - using Device::createFence; - using Device::createQueue; + using Device::copyBuffersToTexture; using Device::createBuffer; - using Device::createTexture; - using Device::createSampler; - using Device::createShader; - using Device::createInputAssembler; - using Device::createRenderPass; - using Device::createFramebuffer; + using Device::createCommandBuffer; using Device::createDescriptorSet; using Device::createDescriptorSetLayout; + using Device::createFence; + using Device::createFramebuffer; + using Device::createInputAssembler; using Device::createPipelineLayout; using Device::createPipelineState; - using Device::copyBuffersToTexture; + using Device::createQueue; + using Device::createRenderPass; + using Device::createSampler; + using Device::createShader; + using Device::createTexture; virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; @@ -97,14 +97,14 @@ public: CC_INLINE CCVKGPUDevice *gpuDevice() const { return _gpuDevice; } CC_INLINE CCVKGPUSwapchain *gpuSwapchain() { return _gpuSwapchain; } - CC_INLINE CCVKGPUBufferHub *gpuBufferHub() { return _gpuBufferHub; } - CC_INLINE CCVKGPUTransportHub *gpuTransportHub() { return _gpuTransportHub; } CC_INLINE CCVKGPUDescriptorHub *gpuDescriptorHub() { return _gpuDescriptorHub; } CC_INLINE CCVKGPUSemaphorePool *gpuSemaphorePool() { return _gpuSemaphorePool; } - CC_INLINE CCVKGPUDescriptorSetHub *gpuDescriptorSetHub() { return _gpuDescriptorSetHub; } CCVKGPUFencePool *gpuFencePool(); CCVKGPURecycleBin *gpuRecycleBin(); + CCVKGPUTransportHub *gpuTransportHub(); + CCVKGPUDescriptorSetPool *gpuDescriptorSetPool(); + CCVKGPUCommandBufferPool *gpuCommandBufferPool(); CCVKGPUStagingBufferPool *gpuStagingBufferPool(); private: @@ -133,13 +133,13 @@ private: vector _gpuFencePools; vector _gpuRecycleBins; + vector _gpuTransportHubs; + vector _gpuDescriptorSetPools; + vector _gpuCommandBufferPools; vector _gpuStagingBufferPools; - CCVKGPUBufferHub *_gpuBufferHub = nullptr; - CCVKGPUTransportHub *_gpuTransportHub = nullptr; CCVKGPUDescriptorHub *_gpuDescriptorHub = nullptr; CCVKGPUSemaphorePool *_gpuSemaphorePool = nullptr; - CCVKGPUDescriptorSetHub *_gpuDescriptorSetHub = nullptr; vector _layers; vector _extensions; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index c19d0a2988..f5bf5a9579 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -25,7 +25,6 @@ THE SOFTWARE. #define CC_GFXVULKAN_GPU_OBJECTS_H_ #include "VKUtils.h" -#include "vulkan/vulkan_core.h" namespace cc { namespace gfx { @@ -329,65 +328,51 @@ public: */ class CCVKGPUFencePool final : public Object { public: - CCVKGPUFencePool(CCVKGPUDevice *device, CCVKGPUSwapchain *gpuSwapchain) + CCVKGPUFencePool(CCVKGPUDevice *device) : _device(device) { - uint poolCount = gpuSwapchain->swapchainImages.size(); - _counts.resize(poolCount); - _pools.resize(poolCount); - _gpuSwapchain = gpuSwapchain; } ~CCVKGPUFencePool() { - for (const vector &fencePool : _pools) { - for (VkFence fence : fencePool) { - vkDestroyFence(_device->vkDevice, fence, nullptr); - } + for (VkFence fence : _fences) { + vkDestroyFence(_device->vkDevice, fence, nullptr); } - _pools.clear(); - _counts.clear(); + _fences.clear(); + _count = 0; } VkFence alloc() { - uint index = _gpuSwapchain->curImageIndex; - uint &count = _counts[index]; - vector &pool = _pools[index]; - - if (count < pool.size()) { - return pool[count++]; + if (_count < _fences.size()) { + return _fences[_count++]; } VkFence fence = VK_NULL_HANDLE; VkFenceCreateInfo createInfo{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO}; VK_CHECK(vkCreateFence(_device->vkDevice, &createInfo, nullptr, &fence)); - pool.push_back(fence); - count++; + _fences.push_back(fence); + _count++; return fence; } void reset() { - uint index = _gpuSwapchain->curImageIndex; - uint &count = _counts[index]; - vector &pool = _pools[index]; - - if (count) { - VK_CHECK(vkResetFences(_device->vkDevice, count, pool.data())); - count = 0; + if (_count) { + VK_CHECK(vkResetFences(_device->vkDevice, _count, _fences.data())); + _count = 0; } } - CC_INLINE const VkFence *getFences() const { - return _pools[_gpuSwapchain->curImageIndex].data(); + CC_INLINE VkFence *data() { + return _fences.data(); } - CC_INLINE const uint getFenceCount() const { - return _counts[_gpuSwapchain->curImageIndex]; + + CC_INLINE uint size() { + return _count; } private: CCVKGPUDevice *_device; - CCVKGPUSwapchain *_gpuSwapchain; - vector _counts; - vector> _pools; + uint _count = 0u; + vector _fences; }; /** @@ -440,42 +425,31 @@ private: */ class CCVKGPUDescriptorSetPool final : public Object { public: - CCVKGPUDescriptorSetPool(CCVKGPUDevice *device, CCVKGPUSwapchain *gpuSwapchain) + CCVKGPUDescriptorSetPool(CCVKGPUDevice *device) : _device(device) { - uint poolCount = gpuSwapchain->swapchainImages.size(); - _pools.resize(poolCount); - _counts.resize(poolCount); - _gpuSwapchain = gpuSwapchain; } ~CCVKGPUDescriptorSetPool() { - for (vector &pools : _pools) { - for (VkDescriptorPool pool : pools) { - vkDestroyDescriptorPool(_device->vkDevice, pool, nullptr); - } - pools.clear(); + for (VkDescriptorPool pool : _pools) { + vkDestroyDescriptorPool(_device->vkDevice, pool, nullptr); } if (leakedSetCount) CC_LOG_DEBUG("Leaked %d descriptor sets.", leakedSetCount); _pools.clear(); } void alloc(const VkDescriptorSetLayout *layouts, VkDescriptorSet *output, uint count) { - uint index = _gpuSwapchain->curImageIndex; - vector &pools = _pools[index]; - vector &counts = _counts[index]; - VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; info.pSetLayouts = layouts; info.descriptorSetCount = count; - size_t size = pools.size(); + size_t size = _pools.size(); uint idx = 0u; for (; idx < size; idx++) { - if (counts[idx] + count <= 128) { - info.descriptorPool = pools[idx]; + if (_counts[idx] + count <= 128) { + info.descriptorPool = _pools[idx]; VkResult res = vkAllocateDescriptorSets(_device->vkDevice, &info, output); if (res) continue; - counts[idx] += count; + _counts[idx] += count; return; } } @@ -488,34 +462,29 @@ public: VkDescriptorPool descriptorPool; VK_CHECK(vkCreateDescriptorPool(_device->vkDevice, &createInfo, nullptr, &descriptorPool)); - pools.push_back(descriptorPool); - counts.push_back(0); + _pools.push_back(descriptorPool); + _counts.push_back(0); } - info.descriptorPool = pools[idx]; + info.descriptorPool = _pools[idx]; VK_CHECK(vkAllocateDescriptorSets(_device->vkDevice, &info, output)); - counts[idx] += count; + _counts[idx] += count; } void reset() { - uint index = _gpuSwapchain->curImageIndex; - vector &pools = _pools[index]; - vector &counts = _counts[index]; - - size_t size = pools.size(); + size_t size = _pools.size(); for (uint i = 0u; i < size; i++) { - if (counts[i]) { - VK_CHECK(vkResetDescriptorPool(_device->vkDevice, pools[i], 0)); - counts[i] = 0; + if (_counts[i]) { + VK_CHECK(vkResetDescriptorPool(_device->vkDevice, _pools[i], 0)); + _counts[i] = 0; } } } private: CCVKGPUDevice *_device; - CCVKGPUSwapchain *_gpuSwapchain; - vector> _pools; - vector> _counts; + vector _pools; + vector _counts; }; /** @@ -523,24 +492,19 @@ private: */ class CCVKGPUCommandBufferPool final : public Object { public: - CCVKGPUCommandBufferPool(CCVKGPUDevice *device, CCVKGPUSwapchain *gpuSwapchain) + CCVKGPUCommandBufferPool(CCVKGPUDevice *device) : _device(device) { - _pools.resize(gpuSwapchain->swapchainImages.size()); - _gpuSwapchain = gpuSwapchain; } ~CCVKGPUCommandBufferPool() { - for (map &pools : _pools) { - for (map::iterator it = pools.begin(); it != pools.end(); it++) { - CommandBufferPool &pool = it->second; - if (pool.vkCommandPool != VK_NULL_HANDLE) { - vkDestroyCommandPool(_device->vkDevice, pool.vkCommandPool, nullptr); - pool.vkCommandPool = VK_NULL_HANDLE; - } - pool.usedCommandBuffers->clear(); - pool.commandBuffers->clear(); + for (map::iterator it = _pools.begin(); it != _pools.end(); it++) { + CommandBufferPool &pool = it->second; + if (pool.vkCommandPool != VK_NULL_HANDLE) { + vkDestroyCommandPool(_device->vkDevice, pool.vkCommandPool, nullptr); + pool.vkCommandPool = VK_NULL_HANDLE; } - pools.clear(); + pool.usedCommandBuffers->clear(); + pool.commandBuffers->clear(); } _pools.clear(); } @@ -553,16 +517,13 @@ public: } void request(CCVKGPUCommandBuffer *gpuCommandBuffer) { - uint index = _gpuSwapchain->curImageIndex; - map &pools = _pools[index]; - - if (!pools.count(gpuCommandBuffer->queueFamilyIndex)) { + if (!_pools.count(gpuCommandBuffer->queueFamilyIndex)) { VkCommandPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO}; createInfo.queueFamilyIndex = gpuCommandBuffer->queueFamilyIndex; createInfo.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT; - VK_CHECK(vkCreateCommandPool(_device->vkDevice, &createInfo, nullptr, &pools[gpuCommandBuffer->queueFamilyIndex].vkCommandPool)); + VK_CHECK(vkCreateCommandPool(_device->vkDevice, &createInfo, nullptr, &_pools[gpuCommandBuffer->queueFamilyIndex].vkCommandPool)); } - CommandBufferPool &pool = pools[gpuCommandBuffer->queueFamilyIndex]; + CommandBufferPool &pool = _pools[gpuCommandBuffer->queueFamilyIndex]; CachedArray &availableList = pool.commandBuffers[gpuCommandBuffer->level]; if (availableList.size()) { @@ -577,22 +538,16 @@ public: } void yield(CCVKGPUCommandBuffer *gpuCommandBuffer) { - uint index = _gpuSwapchain->curImageIndex; - map &pools = _pools[index]; - if (gpuCommandBuffer->vkCommandBuffer) { - if (!pools.count(gpuCommandBuffer->queueFamilyIndex)) return; - CommandBufferPool &pool = pools[gpuCommandBuffer->queueFamilyIndex]; + if (!_pools.count(gpuCommandBuffer->queueFamilyIndex)) return; + CommandBufferPool &pool = _pools[gpuCommandBuffer->queueFamilyIndex]; pool.usedCommandBuffers[gpuCommandBuffer->level].push(gpuCommandBuffer->vkCommandBuffer); gpuCommandBuffer->vkCommandBuffer = VK_NULL_HANDLE; } } void reset() { - uint index = _gpuSwapchain->curImageIndex; - map &pools = _pools[index]; - - for (map::iterator it = pools.begin(); it != pools.end(); it++) { + for (map::iterator it = _pools.begin(); it != _pools.end(); it++) { CommandBufferPool &pool = it->second; bool needsReset = false; @@ -618,8 +573,8 @@ private: }; CCVKGPUDevice *_device = nullptr; - vector> _pools; - CCVKGPUSwapchain *_gpuSwapchain; + map _pools; + vector _counts; }; /** @@ -628,32 +583,24 @@ private: constexpr size_t chunkSize = 32 * 1024 * 1024; // 32M per block by default class CCVKGPUStagingBufferPool final : public Object { public: - CCVKGPUStagingBufferPool(CCVKGPUDevice *device, CCVKGPUSwapchain *gpuSwapchain) + CCVKGPUStagingBufferPool(CCVKGPUDevice *device) : _device(device) { - _pools.resize(gpuSwapchain->swapchainImages.size()); - _gpuSwapchain = gpuSwapchain; } ~CCVKGPUStagingBufferPool() { - for (vector &pool : _pools) { - for (Buffer &buffer : pool) { - vmaDestroyBuffer(_device->memoryAllocator, buffer.vkBuffer, buffer.vmaAllocation); - } - pool.clear(); + for (Buffer &buffer : _pool) { + vmaDestroyBuffer(_device->memoryAllocator, buffer.vkBuffer, buffer.vmaAllocation); } - _pools.clear(); + _pool.clear(); } CC_INLINE void alloc(CCVKGPUBuffer *gpuBuffer) { alloc(gpuBuffer, 1u); } void alloc(CCVKGPUBuffer *gpuBuffer, uint alignment) { - uint index = _gpuSwapchain->curImageIndex; - vector &pool = _pools[index]; - - size_t bufferCount = pool.size(); + size_t bufferCount = _pool.size(); Buffer *buffer = nullptr; VkDeviceSize offset = 0u; for (size_t idx = 0u; idx < bufferCount; idx++) { - Buffer *cur = &pool[idx]; + Buffer *cur = &_pool[idx]; offset = roundUp(cur->curOffset, alignment); if (chunkSize - offset >= gpuBuffer->size) { buffer = cur; @@ -661,8 +608,8 @@ public: } } if (!buffer) { - pool.resize(bufferCount + 1); - buffer = &pool.back(); + _pool.resize(bufferCount + 1); + buffer = &_pool.back(); VkBufferCreateInfo bufferInfo{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; bufferInfo.size = chunkSize; bufferInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; @@ -681,10 +628,7 @@ public: } void reset() { - uint index = _gpuSwapchain->curImageIndex; - vector &pool = _pools[index]; - - for (Buffer &buffer : pool) { + for (Buffer &buffer : _pool) { buffer.curOffset = 0u; } } @@ -699,8 +643,7 @@ private: }; CCVKGPUDevice *_device = nullptr; - vector> _pools; - CCVKGPUSwapchain *_gpuSwapchain; + vector _pool; }; /** From 48a65a386ec10f0bad17f87fdc161a5f2093a2c5 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 26 Nov 2020 21:01:51 +0800 Subject: [PATCH 024/270] don't copy command data in GL backends --- .../renderer/core/thread/CommandEncoder.cpp | 2 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 5 +++-- .../cocos/renderer/gfx-gles2/GLES2Commands.cpp | 16 +++------------- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 5 +++-- .../cocos/renderer/gfx-gles3/GLES3Commands.cpp | 9 +++------ native/cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- 6 files changed, 14 insertions(+), 25 deletions(-) diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index ac9fa6f591..078f210ea3 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -80,7 +80,7 @@ void CommandEncoder::MemoryAllocator::Free(uint8_t* const chunk) noexcept CommandEncoder::CommandEncoder() { //mImmediateMode = true; - mFreeChunksByUser = false; + //mFreeChunksByUser = false; uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 0d8c31abcf..0c2093018a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -283,6 +283,7 @@ void GLES2CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) GLES2CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); cmd->gpuBuffer = gpuBuffer; cmd->size = size; + cmd->offset = offset; cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); @@ -304,8 +305,8 @@ void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex cmd->count = count; cmd->buffers = buffers; - _curCmdPackage->copyBufferToTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); + _cmdPackage->copyBufferToTextureCmds.push(cmd); + _cmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 0d71b40a0d..057ccde218 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -2344,19 +2344,9 @@ void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, co GL_CHECK(glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer)); break; } - case GL_ELEMENT_ARRAY_BUFFER: { - if (device->useVAO()) { - if (device->stateCache()->glVAO) { - GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; - gfxStateCache.gpuInputAssembler = nullptr; - } - } - if (device->stateCache()->glElementArrayBuffer != gpuBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuBuffer->glBuffer)); - device->stateCache()->glElementArrayBuffer = gpuBuffer->glBuffer; - } - GL_CHECK(glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer)); + case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { + GLES2CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; + GLES2CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; } default: diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 949f9325be..77761d912e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -288,6 +288,7 @@ void GLES3CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) GLES3CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); cmd->gpuBuffer = gpuBuffer; cmd->size = size; + cmd->offset = offset; cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); @@ -311,8 +312,8 @@ void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex cmd->count = count; cmd->buffers = buffers; - _curCmdPackage->copyBufferToTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); + _cmdPackage->copyBufferToTextureCmds.push(cmd); + _cmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 4c7cfc760c..6de0a7c00d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -2256,12 +2256,9 @@ void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, co GL_CHECK(glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer)); break; } - case GL_UNIFORM_BUFFER: { - if (device->stateCache()->glUniformBuffer != gpuBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_UNIFORM_BUFFER, gpuBuffer->glBuffer)); - device->stateCache()->glUniformBuffer = gpuBuffer->glBuffer; - } - GL_CHECK(glBufferSubData(GL_UNIFORM_BUFFER, offset, size, buffer)); + case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { + GLES3CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; + GLES3CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; } default: diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index e3d329b12c..2fef3cc678 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 0 +#define FORCE_DISABLE_VALIDATION 1 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, From fc6d6e67679410e6e770b56490391375e0d47258 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 26 Nov 2020 22:16:47 +0800 Subject: [PATCH 025/270] fix back buffer index --- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 12 +++++++----- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 3 ++- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 17 ++++++++--------- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 3 ++- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 7 ++----- native/cocos/renderer/gfx-vulkan/VKContext.cpp | 5 ++--- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 18 +++++++++++------- native/cocos/renderer/gfx-vulkan/VKDevice.h | 3 +++ native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 14 +++++--------- 9 files changed, 42 insertions(+), 40 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 0c2093018a..bb8091cf8d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -53,6 +53,7 @@ bool GLES2CommandBuffer::initialize(const CommandBufferInfo &info) { size_t setCount = ((GLES2Device *)_device)->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); _curDynamicOffsets.resize(setCount); + _curDynamicOffsetCounts.resize(setCount); return true; } @@ -84,6 +85,7 @@ void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); + _curDynamicOffsetCounts.assign(_curDynamicOffsetCounts.size(), 0u); _numDrawCalls = 0; _numInstances = 0; @@ -144,7 +146,8 @@ void GLES2CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe _isStateInvalid = true; } if (dynamicOffsetCount) { - _curDynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); + _curDynamicOffsets[set] = dynamicOffsets; + _curDynamicOffsetCounts[set] = dynamicOffsetCount; _isStateInvalid = true; } } @@ -363,10 +366,9 @@ void GLES2CommandBuffer::BindStates() { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); - count = std::min(count, _curDynamicOffsets[i].size()); - if (count) memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + const uint *dynamicOffset = _curDynamicOffsets[i]; + uint count = _curDynamicOffsetCounts[i]; + cmd->dynamicOffsets.insert(cmd->dynamicOffsets.end(), dynamicOffset, dynamicOffset + count); } cmd->viewport = _curViewport; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index d196f191b0..ffcbc8884f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -72,7 +72,8 @@ protected: bool _isInRenderPass = false; GLES2GPUPipelineState *_curGPUPipelineState = nullptr; vector _curGPUDescriptorSets; - vector> _curDynamicOffsets; + vector _curDynamicOffsets; + vector _curDynamicOffsetCounts; GLES2GPUInputAssembler *_curGPUInputAssember = nullptr; Viewport _curViewport; Rect _curScissor; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 77761d912e..206b2b361c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -53,6 +53,7 @@ bool GLES3CommandBuffer::initialize(const CommandBufferInfo &info) { size_t setCount = ((GLES3Device *)_device)->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); _curDynamicOffsets.resize(setCount); + _curDynamicOffsetCounts.resize(setCount); return true; } @@ -84,6 +85,7 @@ void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); + _curDynamicOffsetCounts.assign(_curDynamicOffsetCounts.size(), 0u); _numDrawCalls = 0; _numInstances = 0; @@ -144,7 +146,8 @@ void GLES3CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe _isStateInvalid = true; } if (dynamicOffsetCount) { - _curDynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); + _curDynamicOffsets[set] = dynamicOffsets; + _curDynamicOffsetCounts[set] = dynamicOffsetCount; _isStateInvalid = true; } } @@ -365,15 +368,11 @@ void GLES3CommandBuffer::BindStates() { GLES3CmdBindStates *cmd = _cmdAllocator->bindStatesCmdPool.alloc(); cmd->gpuPipelineState = _curGPUPipelineState; cmd->gpuInputAssembler = _curGPUInputAssember; - cmd->gpuDescriptorSets = _curGPUDescriptorSets; - - vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); + cmd->gpuDescriptorSets.push_back(_curGPUDescriptorSets[0]); for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); - count = std::min(count, _curDynamicOffsets[i].size()); - if (count) memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + const uint *dynamicOffset = _curDynamicOffsets[i]; + uint count = _curDynamicOffsetCounts[i]; + cmd->dynamicOffsets.insert(cmd->dynamicOffsets.end(), dynamicOffset, dynamicOffset + count); } cmd->viewport = _curViewport; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 8a50b96bd0..597bead4aa 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -72,7 +72,8 @@ protected: GLES3GPUPipelineState *_curGPUPipelineState = nullptr; GLES3GPUInputAssembler *_curGPUInputAssember = nullptr; vector _curGPUDescriptorSets; - vector> _curDynamicOffsets; + vector _curDynamicOffsets; + vector _curDynamicOffsetCounts; Viewport _curViewport; Rect _curScissor; float _curLineWidth = 1.0f; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index a53a5d76da..527c801661 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -74,9 +74,7 @@ void CCVKCommandBuffer::destroy() { void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_gpuCommandBuffer->began) return; - CCVKGPUCommandBufferPool *pool = ((CCVKDevice *)_device)->gpuCommandBufferPool(); - pool->yield(_gpuCommandBuffer); - pool->request(_gpuCommandBuffer); + ((CCVKDevice *)_device)->gpuCommandBufferPool()->request(_gpuCommandBuffer); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; @@ -124,8 +122,7 @@ void CCVKCommandBuffer::end() { VK_CHECK(vkEndCommandBuffer(_gpuCommandBuffer->vkCommandBuffer)); _gpuCommandBuffer->began = false; - _pendingQueue.push(_gpuCommandBuffer->vkCommandBuffer); - ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); + ((CCVKDevice *)_device)->gpuCommandBufferPool()->yield(_gpuCommandBuffer); } void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 2fef3cc678..44346beeae 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 0 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, @@ -290,7 +290,6 @@ bool CCVKContext::initialize(const ContextInfo &info) { EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { if (_gpuContext && _gpuContext->vkSurface != VK_NULL_HANDLE) { - CCVKDevice* device = (CCVKDevice*)_device; CCVKQueue *queue = (CCVKQueue *)device->getQueue(); uint fenceCount = device->gpuFencePool()->size(); @@ -493,7 +492,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { } // Determine the number of images - uint desiredNumberOfSwapchainImages = std::max(3u, surfaceCapabilities.minImageCount + 1); + uint desiredNumberOfSwapchainImages = std::max(device->_backBufferCount, surfaceCapabilities.minImageCount + 1); if (PREFERRED_SWAPCHAIN_IMAGE_COUNT) { desiredNumberOfSwapchainImages = PREFERRED_SWAPCHAIN_IMAGE_COUNT; } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 1fde6e206b..8049ab7be8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -498,6 +498,8 @@ void CCVKDevice::acquire() { VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); + assert(_curBackBufferIndex == _gpuSwapchain->curImageIndex); + uint fenceCount = gpuFencePool()->size(); if (fenceCount) { VK_CHECK(vkWaitForFences(_gpuDevice->vkDevice, fenceCount, @@ -535,15 +537,17 @@ void CCVKDevice::present() { #ifndef DISABLE_PRE_TRANSFORM if (res) _swapchainReady = false; #endif + + _curBackBufferIndex = (_curBackBufferIndex + 1) % _backBufferCount; } } -CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuSwapchain->curImageIndex]; } -CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuSwapchain->curImageIndex]; } -CCVKGPUTransportHub *CCVKDevice::gpuTransportHub() { return _gpuTransportHubs[_gpuSwapchain->curImageIndex]; } -CCVKGPUDescriptorSetPool *CCVKDevice::gpuDescriptorSetPool() { return _gpuDescriptorSetPools[_gpuSwapchain->curImageIndex]; } -CCVKGPUCommandBufferPool *CCVKDevice::gpuCommandBufferPool() { return _gpuCommandBufferPools[_gpuSwapchain->curImageIndex]; } -CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuSwapchain->curImageIndex]; } +CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_curBackBufferIndex]; } +CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_curBackBufferIndex]; } +CCVKGPUTransportHub *CCVKDevice::gpuTransportHub() { return _gpuTransportHubs[_curBackBufferIndex]; } +CCVKGPUDescriptorSetPool *CCVKDevice::gpuDescriptorSetPool() { return _gpuDescriptorSetPools[_curBackBufferIndex]; } +CCVKGPUCommandBufferPool *CCVKDevice::gpuCommandBufferPool() { return _gpuCommandBufferPools[_curBackBufferIndex]; } +CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_curBackBufferIndex]; } CommandBuffer *CCVKDevice::createCommandBuffer() { return CC_NEW(CCVKCommandBuffer(this)); @@ -656,7 +660,7 @@ bool CCVKDevice::checkSwapchainStatus() { destroySwapchain(); - _gpuDevice->curBackBufferIndex = 0u; + _curBackBufferIndex = 0u; _gpuSwapchain->curImageIndex = 0; _gpuSwapchain->vkSwapchain = vkSwapchain; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 9ea03fbb68..cc2cdf2b8a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -141,6 +141,9 @@ private: CCVKGPUDescriptorHub *_gpuDescriptorHub = nullptr; CCVKGPUSemaphorePool *_gpuSemaphorePool = nullptr; + uint _curBackBufferIndex = 0u; + uint _backBufferCount = 3u; + vector _layers; vector _extensions; diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 6c61c7f41b..2d95e3f1a7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -64,15 +64,11 @@ void CCVKQueue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence * device->gpuTransportHub()->depart(); for (uint i = 0u; i < count; ++i) { - CCVKCommandBuffer *cmdBuff = (CCVKCommandBuffer *)cmdBuffs[i]; - if (!cmdBuff->_pendingQueue.empty()) { - _gpuQueue->commandBuffers.push(cmdBuff->_pendingQueue.front()); - cmdBuff->_pendingQueue.pop(); - - _numDrawCalls += cmdBuff->_numDrawCalls; - _numInstances += cmdBuff->_numInstances; - _numTriangles += cmdBuff->_numTriangles; - } + CCVKCommandBuffer *cmdBuffer = (CCVKCommandBuffer *)cmdBuffs[i]; + _gpuQueue->commandBuffers.push(cmdBuffer->_gpuCommandBuffer->vkCommandBuffer); + _numDrawCalls += cmdBuffer->_numDrawCalls; + _numInstances += cmdBuffer->_numInstances; + _numTriangles += cmdBuffer->_numTriangles; } VkSubmitInfo submitInfo{VK_STRUCTURE_TYPE_SUBMIT_INFO}; From 1a65678152ac61d7f5d1fd22fdc09eddaa912402 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 27 Nov 2020 01:50:22 +0800 Subject: [PATCH 026/270] more fixes --- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 7 ++- .../gfx-proxy/GFXDescriptorSetLayoutProxy.cpp | 62 +++++++++++++++++++ .../gfx-proxy/GFXDescriptorSetLayoutProxy.h | 19 ++++++ .../core/gfx-proxy/GFXDescriptorSetProxy.cpp | 9 ++- .../core/gfx-proxy/GFXDeviceProxy.cpp | 17 +++-- .../core/gfx-proxy/GFXPipelineLayoutProxy.cpp | 48 ++++++++++++++ .../core/gfx-proxy/GFXPipelineLayoutProxy.h | 19 ++++++ .../core/gfx-proxy/GFXPipelineStateProxy.cpp | 2 + .../core/gfx-proxy/GFXSamplerProxy.cpp | 53 ++++++++++++++++ .../renderer/core/gfx-proxy/GFXSamplerProxy.h | 19 ++++++ .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 2 - .../cocos/renderer/gfx-vulkan/VKContext.cpp | 7 +-- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 10 +-- native/cocos/renderer/gfx-vulkan/VKDevice.h | 11 ++-- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 1 + 15 files changed, 259 insertions(+), 27 deletions(-) create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp create mode 100644 native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 74ef63b9b3..a1681adfe4 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -75,8 +75,11 @@ void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fb CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); uint attachmentCount = (uint)renderPass->getColorAttachments().size(); - Color *remoteColors = encoder->Allocate(attachmentCount); - memcpy(remoteColors, colors, sizeof(Color) * attachmentCount); + Color *remoteColors = nullptr; + if (attachmentCount) { + remoteColors = encoder->Allocate(attachmentCount); + memcpy(remoteColors, colors, sizeof(Color) * attachmentCount); + } ENCODE_COMMAND_7( encoder, diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp new file mode 100644 index 0000000000..7e1fd3f409 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp @@ -0,0 +1,62 @@ +#include "CoreStd.h" + +#include "../thread/CommandEncoder.h" +#include "GFXDeviceProxy.h" +#include "GFXDescriptorSetLayoutProxy.h" + +namespace cc { +namespace gfx { + +bool DescriptorSetLayoutProxy::initialize(const DescriptorSetLayoutInfo &info) { + + _bindings = info.bindings; + uint bindingCount = _bindings.size(); + _descriptorCount = 0u; + + if (bindingCount) { + uint maxBinding = 0u; + vector flattenedIndices(bindingCount); + for (uint i = 0u; i < bindingCount; i++) { + const DescriptorSetLayoutBinding &binding = _bindings[i]; + flattenedIndices[i] = _descriptorCount; + _descriptorCount += binding.count; + if (binding.binding > maxBinding) maxBinding = binding.binding; + } + + _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); + _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); + for (uint i = 0u; i < bindingCount; i++) { + const DescriptorSetLayoutBinding &binding = _bindings[i]; + _bindingIndices[binding.binding] = i; + _descriptorIndices[binding.binding] = flattenedIndices[i]; + } + } + + ENCODE_COMMAND_2( + ((DeviceProxy *)_device)->getMainEncoder(), + DescriptorSetLayoutInit, + remote, getRemote(), + info, info, + { + remote->initialize(info); + }); + + return true; +} + +void DescriptorSetLayoutProxy::destroy() { + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + DescriptorSetLayoutDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h new file mode 100644 index 0000000000..465ff2e31e --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h @@ -0,0 +1,19 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXDescriptorSetLayout.h" + +namespace cc { +namespace gfx { + +class CC_DLL DescriptorSetLayoutProxy : public Proxy { +public: + using Proxy::Proxy; + DescriptorSetLayoutProxy(Device *device) = delete; + + virtual bool initialize(const DescriptorSetLayoutInfo &info) override; + virtual void destroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp index c0e458a871..424a7143e2 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp @@ -2,8 +2,10 @@ #include "../thread/CommandEncoder.h" #include "GFXBufferProxy.h" +#include "GFXDescriptorSetLayoutProxy.h" #include "GFXDescriptorSetProxy.h" #include "GFXDeviceProxy.h" +#include "GFXSamplerProxy.h" #include "GFXTextureProxy.h" namespace cc { @@ -16,11 +18,14 @@ bool DescriptorSetProxy::initialize(const DescriptorSetInfo &info) { _textures.resize(descriptorCount); _samplers.resize(descriptorCount); + DescriptorSetInfo remoteInfo; + remoteInfo.layout = ((DescriptorSetLayoutProxy *)info.layout)->getRemote(); + ENCODE_COMMAND_2( ((DeviceProxy *)_device)->getMainEncoder(), DescriptorSetInit, remote, getRemote(), - info, info, + info, remoteInfo, { remote->initialize(info); }); @@ -95,7 +100,7 @@ void DescriptorSetProxy::bindSampler(uint binding, Sampler *sampler, uint index) DescriptorSetBindSampler, remote, getRemote(), binding, binding, - sampler, sampler, + sampler, ((SamplerProxy *)sampler)->getRemote(), index, index, { remote->bindSampler(binding, sampler, index); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 4257b7b21c..ca4c7c524b 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -3,13 +3,16 @@ #include "../thread/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXCommandBufferProxy.h" +#include "GFXDescriptorSetLayoutProxy.h" #include "GFXDescriptorSetProxy.h" #include "GFXDeviceProxy.h" #include "GFXFramebufferProxy.h" #include "GFXInputAssemblerProxy.h" +#include "GFXPipelineLayoutProxy.h" #include "GFXPipelineStateProxy.h" #include "GFXQueueProxy.h" #include "GFXRenderPassProxy.h" +#include "GFXSamplerProxy.h" #include "GFXShaderProxy.h" #include "GFXTextureProxy.h" @@ -184,7 +187,9 @@ Texture *DeviceProxy::createTexture() { } Sampler *DeviceProxy::createSampler() { - return _remote->createSampler(); + Sampler *remote = _remote->createSampler(); + SamplerProxy *proxy = CC_NEW(SamplerProxy(remote, this)); + return proxy; } Shader *DeviceProxy::createShader() { @@ -218,11 +223,15 @@ DescriptorSet *DeviceProxy::createDescriptorSet() { } DescriptorSetLayout *DeviceProxy::createDescriptorSetLayout() { - return _remote->createDescriptorSetLayout(); + DescriptorSetLayout *remote = _remote->createDescriptorSetLayout(); + DescriptorSetLayoutProxy *proxy = CC_NEW(DescriptorSetLayoutProxy(remote, this)); + return proxy; } PipelineLayout *DeviceProxy::createPipelineLayout() { - return _remote->createPipelineLayout(); + PipelineLayout *remote = _remote->createPipelineLayout(); + PipelineLayoutProxy *proxy = CC_NEW(PipelineLayoutProxy(remote, this)); + return proxy; } PipelineState *DeviceProxy::createPipelineState() { @@ -258,7 +267,7 @@ void DeviceProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d remote, getRemote(), buffers, remoteBuffers, dst, ((TextureProxy *)dst)->getRemote(), - regions, regions, + regions, remoteRegions, count, count, { remote->copyBuffersToTexture(buffers, dst, regions, count); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp new file mode 100644 index 0000000000..c12894ba7f --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp @@ -0,0 +1,48 @@ +#include "CoreStd.h" + +#include "../thread/CommandEncoder.h" +#include "GFXDescriptorSetLayoutProxy.h" +#include "GFXDeviceProxy.h" +#include "GFXPipelineLayoutProxy.h" + +namespace cc { +namespace gfx { + +bool PipelineLayoutProxy::initialize(const PipelineLayoutInfo &info) { + + _setLayouts = info.setLayouts; + + PipelineLayoutInfo remoteInfo; + remoteInfo.setLayouts.resize(info.setLayouts.size()); + for (uint i = 0u; i < info.setLayouts.size(); i++) { + remoteInfo.setLayouts[i] = ((DescriptorSetLayoutProxy *)info.setLayouts[i])->getRemote(); + } + + ENCODE_COMMAND_2( + ((DeviceProxy *)_device)->getMainEncoder(), + PipelineLayoutInit, + remote, getRemote(), + info, remoteInfo, + { + remote->initialize(info); + }); + + return true; +} + +void PipelineLayoutProxy::destroy() { + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + PipelineLayoutDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h new file mode 100644 index 0000000000..f140f65323 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h @@ -0,0 +1,19 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXPipelineLayout.h" + +namespace cc { +namespace gfx { + +class CC_DLL PipelineLayoutProxy : public Proxy { +public: + using Proxy::Proxy; + PipelineLayoutProxy(Device *device) = delete; + + virtual bool initialize(const PipelineLayoutInfo &info) override; + virtual void destroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp index 2a621dc90c..4660eb9f39 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp @@ -2,6 +2,7 @@ #include "../thread/CommandEncoder.h" #include "GFXDeviceProxy.h" +#include "GFXPipelineLayoutProxy.h" #include "GFXPipelineStateProxy.h" #include "GFXRenderPassProxy.h" #include "GFXShaderProxy.h" @@ -23,6 +24,7 @@ bool PipelineStateProxy::initialize(const PipelineStateInfo &info) { PipelineStateInfo remoteInfo = info; remoteInfo.shader = ((ShaderProxy *)info.shader)->getRemote(); remoteInfo.renderPass = ((RenderPassProxy *)info.renderPass)->getRemote(); + remoteInfo.pipelineLayout = ((PipelineLayoutProxy *)info.pipelineLayout)->getRemote(); ENCODE_COMMAND_2( ((DeviceProxy *)_device)->getMainEncoder(), diff --git a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp new file mode 100644 index 0000000000..a0130e5289 --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp @@ -0,0 +1,53 @@ +#include "CoreStd.h" + +#include "../thread/CommandEncoder.h" +#include "GFXDescriptorSetLayoutProxy.h" +#include "GFXDeviceProxy.h" +#include "GFXSamplerProxy.h" + +namespace cc { +namespace gfx { + +bool SamplerProxy::initialize(const SamplerInfo &info) { + + _minFilter = info.minFilter; + _magFilter = info.magFilter; + _mipFilter = info.mipFilter; + _addressU = info.addressU; + _addressV = info.addressV; + _addressW = info.addressW; + _maxAnisotropy = info.maxAnisotropy; + _cmpFunc = info.cmpFunc; + _borderColor = info.borderColor; + _minLOD = info.minLOD; + _maxLOD = info.maxLOD; + _mipLODBias = info.mipLODBias; + + ENCODE_COMMAND_2( + ((DeviceProxy *)_device)->getMainEncoder(), + SamplerInit, + remote, getRemote(), + info, info, + { + remote->initialize(info); + }); + + return true; +} + +void SamplerProxy::destroy() { + if (_remote) { + ENCODE_COMMAND_1( + ((DeviceProxy *)_device)->getMainEncoder(), + SamplerDestroy, + remote, getRemote(), + { + CC_DESTROY(remote); + }); + + _remote = nullptr; + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h new file mode 100644 index 0000000000..c4ce6d8b2c --- /dev/null +++ b/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h @@ -0,0 +1,19 @@ +#pragma once + +#include "GFXProxy.h" +#include "../gfx/GFXSampler.h" + +namespace cc { +namespace gfx { + +class CC_DLL SamplerProxy : public Proxy { +public: + using Proxy::Proxy; + SamplerProxy(Device *device) = delete; + + virtual bool initialize(const SamplerInfo &info) override; + virtual void destroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 527c801661..5f6a2ec560 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -121,8 +121,6 @@ void CCVKCommandBuffer::end() { _curViewport.width = _curViewport.height = _curScissor.width = _curScissor.height = 0u; VK_CHECK(vkEndCommandBuffer(_gpuCommandBuffer->vkCommandBuffer)); _gpuCommandBuffer->began = false; - - ((CCVKDevice *)_device)->gpuCommandBufferPool()->yield(_gpuCommandBuffer); } void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 44346beeae..ed3f8ae9ab 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -37,14 +37,14 @@ THE SOFTWARE. namespace cc { namespace gfx { - + namespace { constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, otherwise minorVersion = (FORCE_MINOR_VERSION - 1) constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 0 +#define FORCE_DISABLE_VALIDATION 1 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, @@ -493,9 +493,6 @@ bool CCVKContext::initialize(const ContextInfo &info) { // Determine the number of images uint desiredNumberOfSwapchainImages = std::max(device->_backBufferCount, surfaceCapabilities.minImageCount + 1); - if (PREFERRED_SWAPCHAIN_IMAGE_COUNT) { - desiredNumberOfSwapchainImages = PREFERRED_SWAPCHAIN_IMAGE_COUNT; - } if ((surfaceCapabilities.maxImageCount > 0) && (desiredNumberOfSwapchainImages > surfaceCapabilities.maxImageCount)) { desiredNumberOfSwapchainImages = surfaceCapabilities.maxImageCount; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 8049ab7be8..2724be6f47 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -507,7 +507,7 @@ void CCVKDevice::acquire() { } // reset everything only when no pending commands - if (gpuTransportHub()->empty() && !((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { + if (!((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { gpuFencePool()->reset(); gpuRecycleBin()->clear(); gpuDescriptorSetPool()->reset(); @@ -542,12 +542,8 @@ void CCVKDevice::present() { } } -CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_curBackBufferIndex]; } -CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_curBackBufferIndex]; } -CCVKGPUTransportHub *CCVKDevice::gpuTransportHub() { return _gpuTransportHubs[_curBackBufferIndex]; } -CCVKGPUDescriptorSetPool *CCVKDevice::gpuDescriptorSetPool() { return _gpuDescriptorSetPools[_curBackBufferIndex]; } -CCVKGPUCommandBufferPool *CCVKDevice::gpuCommandBufferPool() { return _gpuCommandBufferPools[_curBackBufferIndex]; } -CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_curBackBufferIndex]; } +// recycled object before acquire should be put into last frame's bin +CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuSwapchain->curImageIndex]; } CommandBuffer *CCVKDevice::createCommandBuffer() { return CC_NEW(CCVKCommandBuffer(this)); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index cc2cdf2b8a..e4b5919a28 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -100,12 +100,13 @@ public: CC_INLINE CCVKGPUDescriptorHub *gpuDescriptorHub() { return _gpuDescriptorHub; } CC_INLINE CCVKGPUSemaphorePool *gpuSemaphorePool() { return _gpuSemaphorePool; } - CCVKGPUFencePool *gpuFencePool(); CCVKGPURecycleBin *gpuRecycleBin(); - CCVKGPUTransportHub *gpuTransportHub(); - CCVKGPUDescriptorSetPool *gpuDescriptorSetPool(); - CCVKGPUCommandBufferPool *gpuCommandBufferPool(); - CCVKGPUStagingBufferPool *gpuStagingBufferPool(); + + CC_INLINE CCVKGPUFencePool *gpuFencePool() { return _gpuFencePools[_curBackBufferIndex]; } + CC_INLINE CCVKGPUTransportHub *gpuTransportHub() { return _gpuTransportHubs[_curBackBufferIndex]; } + CC_INLINE CCVKGPUDescriptorSetPool *gpuDescriptorSetPool() { return _gpuDescriptorSetPools[_curBackBufferIndex]; } + CC_INLINE CCVKGPUCommandBufferPool *gpuCommandBufferPool() { return _gpuCommandBufferPools[_curBackBufferIndex]; } + CC_INLINE CCVKGPUStagingBufferPool *gpuStagingBufferPool() { return _gpuStagingBufferPools[_curBackBufferIndex]; } private: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 2d95e3f1a7..29c54e56b9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -69,6 +69,7 @@ void CCVKQueue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence * _numDrawCalls += cmdBuffer->_numDrawCalls; _numInstances += cmdBuffer->_numInstances; _numTriangles += cmdBuffer->_numTriangles; + ((CCVKDevice *)_device)->gpuCommandBufferPool()->yield(cmdBuffer->_gpuCommandBuffer); } VkSubmitInfo submitInfo{VK_STRUCTURE_TYPE_SUBMIT_INFO}; From 162bbcf4747e67dd4a57a16c8ff320fd249fc473 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 27 Nov 2020 12:42:48 +0800 Subject: [PATCH 027/270] GLES3: immediate submission --- .../core/gfx-proxy/GFXCommandBufferProxy.h | 7 - .../core/gfx-proxy/GFXDeviceProxy.cpp | 11 +- .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 16 +- native/cocos/renderer/core/gfx/GFXDevice.h | 2 +- .../renderer/core/thread/CommandEncoder.cpp | 3 - .../renderer/core/thread/CommandEncoder.h | 1 + .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 2 +- native/cocos/renderer/gfx-gles2/GLES2Device.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 12 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 7 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 401 ++++++++++-------- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 17 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 47 +- native/cocos/renderer/gfx-gles3/GLES3Device.h | 2 +- .../gfx-gles3/GLES3PipelineLayout.cpp | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 62 +-- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 34 +- .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 16 +- 18 files changed, 309 insertions(+), 335 deletions(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index 6267fb179f..40c95053fe 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -33,13 +33,6 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; - using CommandBuffer::begin; - using CommandBuffer::updateBuffer; - using CommandBuffer::execute; - using CommandBuffer::bindDescriptorSet; - using CommandBuffer::beginRenderPass; - using CommandBuffer::copyBuffersToTexture; - virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } virtual uint getNumInstances() const override { return _remote->getNumInstances(); } virtual uint getNumTris() const override { return _remote->getNumTris(); } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index ca4c7c524b..13467ecd17 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -71,18 +71,13 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { cbInfo.queue = _queue; for (auto &context : _contexts) { - context.commandBuffer = createCommandBuffer(cbInfo); + context.commandBuffer = createCommandBuffer(); + context.commandBuffer->initialize(cbInfo); context.encoder = CC_NEW(CommandEncoder); context.encoder->RunConsumerThread(); } - ENCODE_COMMAND_1( - getMainEncoder(), - DeviceMakeCurrent, - remote, getRemote(), - { - remote->makeCurrent(); - }); + setImmediateMode(false); return true; } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index 4967b0077b..9235b45d51 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -20,21 +20,6 @@ struct SubmitContext final { class CC_DLL DeviceProxy : public Proxy { public: - using Device::copyBuffersToTexture; - using Device::createBuffer; - using Device::createCommandBuffer; - using Device::createDescriptorSet; - using Device::createDescriptorSetLayout; - using Device::createFence; - using Device::createFramebuffer; - using Device::createInputAssembler; - using Device::createPipelineLayout; - using Device::createPipelineState; - using Device::createQueue; - using Device::createRenderPass; - using Device::createSampler; - using Device::createShader; - using Device::createTexture; using Proxy::Proxy; virtual bool initialize(const DeviceInfo &info) override; @@ -59,6 +44,7 @@ public: virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual void setImmediateMode(bool immediateMode) { return _remote->setImmediateMode(immediateMode); } virtual SurfaceTransform getSurfaceTransform() const override { return _remote->getSurfaceTransform(); } virtual uint getWidth() const override { return _remote->getWidth(); } virtual uint getHeight() const override { return _remote->getHeight(); } diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index a401428220..b5700601a3 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -70,7 +70,7 @@ public: copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size()) ); } - virtual void makeCurrent() {} + virtual void setImmediateMode(bool immediateMode) {} virtual SurfaceTransform getSurfaceTransform() const { return _transform; } virtual uint getWidth() const { return _width; } virtual uint getHeight() const { return _height; } diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index 078f210ea3..2aabd229e9 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -79,9 +79,6 @@ void CommandEncoder::MemoryAllocator::Free(uint8_t* const chunk) noexcept CommandEncoder::CommandEncoder() { - //mImmediateMode = true; - //mFreeChunksByUser = false; - uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); mW.mCurrentMemoryChunk = chunk; diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index ecb1a2678f..eb8990c341 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -113,6 +113,7 @@ public: void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; static void FreeChunksInFreeQueue(CommandEncoder* const mainCommandbuffer) noexcept; + inline void SetImmediateMode(bool immediateMode) noexcept { mImmediateMode = immediateMode; } inline int GetPendingCommandCount() const noexcept { return mW.mPendingCommandCount; } inline int GetWrittenCommandCount() const noexcept { return mW.mWrittenCommandCount; } inline int GetNewCommandCount() const noexcept { return mR.mNewCommandCount; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index a22ea683a6..4c2ba82715 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -227,7 +227,7 @@ void GLES2Device::present() { queue->_numTriangles = 0; } -void GLES2Device::makeCurrent() { +void GLES2Device::setImmediateMode(bool immediateMode) { if (!_renderContext) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 49ba0f20db..fa190afb27 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -80,7 +80,7 @@ public: virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void makeCurrent() override; + virtual void setImmediateMode(bool immediateMode) override; CC_INLINE bool useVAO() const { return _useVAO; } CC_INLINE bool useDrawInstanced() const { return _useDrawInstanced; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 206b2b361c..9f357e973a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -53,7 +53,6 @@ bool GLES3CommandBuffer::initialize(const CommandBufferInfo &info) { size_t setCount = ((GLES3Device *)_device)->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); _curDynamicOffsets.resize(setCount); - _curDynamicOffsetCounts.resize(setCount); return true; } @@ -85,7 +84,6 @@ void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); - _curDynamicOffsetCounts.assign(_curDynamicOffsetCounts.size(), 0u); _numDrawCalls = 0; _numInstances = 0; @@ -147,7 +145,6 @@ void GLES3CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } if (dynamicOffsetCount) { _curDynamicOffsets[set] = dynamicOffsets; - _curDynamicOffsetCounts[set] = dynamicOffsetCount; _isStateInvalid = true; } } @@ -368,13 +365,8 @@ void GLES3CommandBuffer::BindStates() { GLES3CmdBindStates *cmd = _cmdAllocator->bindStatesCmdPool.alloc(); cmd->gpuPipelineState = _curGPUPipelineState; cmd->gpuInputAssembler = _curGPUInputAssember; - cmd->gpuDescriptorSets.push_back(_curGPUDescriptorSets[0]); - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - const uint *dynamicOffset = _curDynamicOffsets[i]; - uint count = _curDynamicOffsetCounts[i]; - cmd->dynamicOffsets.insert(cmd->dynamicOffsets.end(), dynamicOffset, dynamicOffset + count); - } - + cmd->gpuDescriptorSets = _curGPUDescriptorSets; + cmd->dynamicOffsets = _curDynamicOffsets; cmd->viewport = _curViewport; cmd->scissor = _curScissor; cmd->lineWidth = _curLineWidth; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 597bead4aa..7c4ef22e3f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -64,16 +64,13 @@ public: protected: virtual void BindStates(); - GLES3GPUCommandAllocator *_cmdAllocator = nullptr; - GLES3CmdPackage *_curCmdPackage = nullptr; - queue _pendingPackages, _freePackages; - + GLES3CmdPackage *_cmdPackage = nullptr; + GLES3GPUCommandAllocator *_gles3Allocator = nullptr; bool _isInRenderPass = false; GLES3GPUPipelineState *_curGPUPipelineState = nullptr; GLES3GPUInputAssembler *_curGPUInputAssember = nullptr; vector _curGPUDescriptorSets; vector _curDynamicOffsets; - vector _curDynamicOffsetCounts; Viewport _curViewport; Rect _curScissor; float _curLineWidth = 1.0f; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 6de0a7c00d..049f457fb9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1453,7 +1453,6 @@ void GLES3CmdFuncDestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gp } void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRenderPass, GLES3GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { - GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; gfxStateCache.gpuRenderPass = gpuRenderPass; gfxStateCache.gpuFramebuffer = gpuFramebuffer; gfxStateCache.numClearColors = numClearColors; @@ -1464,17 +1463,17 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen if (gpuFramebuffer && gpuRenderPass) { if (cache->glFramebuffer != gpuFramebuffer->glFramebuffer) { - GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); + glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer); cache->glFramebuffer = gpuFramebuffer->glFramebuffer; // render targets are drawn with flipped-Y - gfxStateCache.reverseCW = gpuFramebuffer->isOffscreen; + gfxStateCache.reverseCW = !!gpuFramebuffer->glFramebuffer; } if (cache->viewport.left != renderArea.x || cache->viewport.top != renderArea.y || cache->viewport.width != renderArea.width || cache->viewport.height != renderArea.height) { - GL_CHECK(glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); + glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height); cache->viewport.left = renderArea.x; cache->viewport.top = renderArea.y; cache->viewport.width = renderArea.width; @@ -1485,7 +1484,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen cache->scissor.y != renderArea.y || cache->scissor.width != renderArea.width || cache->scissor.height != renderArea.height) { - GL_CHECK(glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); + glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height); cache->scissor.x = renderArea.x; cache->scissor.y = renderArea.y; cache->scissor.width = renderArea.width; @@ -1501,8 +1500,8 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen switch (colorAttachment.loadOp) { case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { - if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { - GL_CHECK(glColorMask(true, true, true, true)); + if (cache->bs.targets[0]->blendColorMask != ColorMask::ALL) { + glColorMask(true, true, true, true); } if (gpuFramebuffer->isOffscreen) { @@ -1511,10 +1510,10 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen fColors[1] = clearColors[j].y; fColors[2] = clearColors[j].z; fColors[3] = clearColors[j].w; - GL_CHECK(glClearBufferfv(GL_COLOR, j, fColors)); + glClearBufferfv(GL_COLOR, j, fColors); } else { const Color &color = clearColors[j]; - GL_CHECK(glClearColor(color.x, color.y, color.z, color.w)); + glClearColor(color.x, color.y, color.z, color.w); glClears |= GL_COLOR_BUFFER_BIT; } break; @@ -1535,10 +1534,9 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { - if (!cache->dss.depthWrite) { - GL_CHECK(glDepthMask(true)); - } - GL_CHECK(glClearDepthf(clearDepth)); + glDepthMask(true); + cache->dss.depthWrite = true; + glClearDepthf(clearDepth); glClears |= GL_DEPTH_BUFFER_BIT; break; } @@ -1556,12 +1554,12 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { if (!cache->dss.stencilWriteMaskFront) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); + glStencilMaskSeparate(GL_FRONT, 0xffffffff); } if (!cache->dss.stencilWriteMaskBack) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); + glStencilMaskSeparate(GL_BACK, 0xffffffff); } - GL_CHECK(glClearStencil(clearStencil)); + glClearStencil(clearStencil); glClears |= GL_STENCIL_BUFFER_BIT; break; } @@ -1576,41 +1574,40 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } if (numAttachments) { - GL_CHECK(glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); + glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments); } if (glClears) { - GL_CHECK(glClear(glClears)); + glClear(glClears); } // restore states if (glClears & GL_COLOR_BUFFER_BIT) { - ColorMask colorMask = cache->bs.targets[0].blendColorMask; + ColorMask colorMask = cache->bs.targets[0]->blendColorMask; if (colorMask != ColorMask::ALL) { - GL_CHECK(glColorMask((GLboolean)(colorMask & ColorMask::R), - (GLboolean)(colorMask & ColorMask::G), - (GLboolean)(colorMask & ColorMask::B), - (GLboolean)(colorMask & ColorMask::A))); + glColorMask((GLboolean)(colorMask & ColorMask::R), + (GLboolean)(colorMask & ColorMask::G), + (GLboolean)(colorMask & ColorMask::B), + (GLboolean)(colorMask & ColorMask::A)); } } - if ((glClears & GL_DEPTH_BUFFER_BIT) && !cache->dss.depthWrite) { - GL_CHECK(glDepthMask(false)); + if ((glClears & GL_COLOR_BUFFER_BIT) && !cache->dss.depthWrite) { + glDepthMask(false); } if (glClears & GL_STENCIL_BUFFER_BIT) { if (!cache->dss.stencilWriteMaskFront) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0)); + glStencilMaskSeparate(GL_FRONT, 0); } if (!cache->dss.stencilWriteMaskBack) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0)); + glStencilMaskSeparate(GL_BACK, 0); } } } } void GLES3CmdFuncEndRenderPass(GLES3Device *device) { - GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; size_t numClearColors = gfxStateCache.numClearColors; GLES3GPURenderPass *gpuRenderPass = gfxStateCache.gpuRenderPass; GLES3GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; @@ -1660,15 +1657,14 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { } if (numAttachments) { - GL_CHECK(glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); + glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments); } } void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipelineState, GLES3GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, + vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES3DepthBias &depthBias, Color &blendConstants, GLES3DepthBounds &depthBounds, GLES3StencilWriteMask &stencilWriteMask, GLES3StencilCompareMask &stencilCompareMask) { - GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES3GPUStateCache *cache = device->stateCache(); bool isShaderChanged = false; @@ -1679,7 +1675,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (gpuPipelineState->gpuShader) { if (cache->glProgram != gpuPipelineState->gpuShader->glProgram) { - GL_CHECK(glUseProgram(gpuPipelineState->gpuShader->glProgram)); + glUseProgram(gpuPipelineState->gpuShader->glProgram); cache->glProgram = gpuPipelineState->gpuShader->glProgram; isShaderChanged = true; } @@ -1690,23 +1686,23 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli switch (gpuPipelineState->rs.cullMode) { case CullMode::NONE: { if (cache->isCullFaceEnabled) { - GL_CHECK(glDisable(GL_CULL_FACE)); + glDisable(GL_CULL_FACE); cache->isCullFaceEnabled = false; } } break; case CullMode::FRONT: { if (!cache->isCullFaceEnabled) { - GL_CHECK(glEnable(GL_CULL_FACE)); + glEnable(GL_CULL_FACE); cache->isCullFaceEnabled = true; } - GL_CHECK(glCullFace(GL_FRONT)); + glCullFace(GL_FRONT); } break; case CullMode::BACK: { if (!cache->isCullFaceEnabled) { - GL_CHECK(glEnable(GL_CULL_FACE)); + glEnable(GL_CULL_FACE); cache->isCullFaceEnabled = true; } - GL_CHECK(glCullFace(GL_BACK)); + glCullFace(GL_BACK); } break; default: break; @@ -1715,56 +1711,56 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } bool isFrontFaceCCW = gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; if (cache->rs.isFrontFaceCCW != isFrontFaceCCW) { - GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); + glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW); cache->rs.isFrontFaceCCW = isFrontFaceCCW; } if ((cache->rs.depthBias != gpuPipelineState->rs.depthBias) || (cache->rs.depthBiasSlop != gpuPipelineState->rs.depthBiasSlop)) { - GL_CHECK(glPolygonOffset(cache->rs.depthBias, cache->rs.depthBiasSlop)); + glPolygonOffset(cache->rs.depthBias, cache->rs.depthBiasSlop); cache->rs.depthBiasSlop = gpuPipelineState->rs.depthBiasSlop; } if (cache->rs.lineWidth != gpuPipelineState->rs.lineWidth) { - GL_CHECK(glLineWidth(gpuPipelineState->rs.lineWidth)); + glLineWidth(gpuPipelineState->rs.lineWidth); cache->rs.lineWidth = gpuPipelineState->rs.lineWidth; } // bind depth-stencil state if (cache->dss.depthTest != gpuPipelineState->dss.depthTest) { if (gpuPipelineState->dss.depthTest) { - GL_CHECK(glEnable(GL_DEPTH_TEST)); + glEnable(GL_DEPTH_TEST); } else { - GL_CHECK(glDisable(GL_DEPTH_TEST)); + glDisable(GL_DEPTH_TEST); } cache->dss.depthTest = gpuPipelineState->dss.depthTest; } if (cache->dss.depthWrite != gpuPipelineState->dss.depthWrite) { - GL_CHECK(glDepthMask(gpuPipelineState->dss.depthWrite)); + glDepthMask(gpuPipelineState->dss.depthWrite); cache->dss.depthWrite = gpuPipelineState->dss.depthWrite; } if (cache->dss.depthFunc != gpuPipelineState->dss.depthFunc) { - GL_CHECK(glDepthFunc(GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc])); + glDepthFunc(GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc]); cache->dss.depthFunc = gpuPipelineState->dss.depthFunc; } // bind depth-stencil state - front if (gpuPipelineState->dss.stencilTestFront || gpuPipelineState->dss.stencilTestBack) { if (!cache->isStencilTestEnabled) { - GL_CHECK(glEnable(GL_STENCIL_TEST)); + glEnable(GL_STENCIL_TEST); cache->isStencilTestEnabled = true; } } else { if (cache->isStencilTestEnabled) { - GL_CHECK(glDisable(GL_STENCIL_TEST)); + glDisable(GL_STENCIL_TEST); cache->isStencilTestEnabled = false; } } if (cache->dss.stencilFuncFront != gpuPipelineState->dss.stencilFuncFront || cache->dss.stencilRefFront != gpuPipelineState->dss.stencilRefFront || cache->dss.stencilReadMaskFront != gpuPipelineState->dss.stencilReadMaskFront) { - GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], - gpuPipelineState->dss.stencilRefFront, - gpuPipelineState->dss.stencilReadMaskFront)); + glStencilFuncSeparate(GL_FRONT, + GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], + gpuPipelineState->dss.stencilRefFront, + gpuPipelineState->dss.stencilReadMaskFront); cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; cache->dss.stencilReadMaskFront = gpuPipelineState->dss.stencilReadMaskFront; @@ -1772,16 +1768,16 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (cache->dss.stencilFailOpFront != gpuPipelineState->dss.stencilFailOpFront || cache->dss.stencilZFailOpFront != gpuPipelineState->dss.stencilZFailOpFront || cache->dss.stencilPassOpFront != gpuPipelineState->dss.stencilPassOpFront) { - GL_CHECK(glStencilOpSeparate(GL_FRONT, - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront])); + glStencilOpSeparate(GL_FRONT, + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront]); cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; cache->dss.stencilZFailOpFront = gpuPipelineState->dss.stencilZFailOpFront; cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; } if (cache->dss.stencilWriteMaskFront != gpuPipelineState->dss.stencilWriteMaskFront) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront)); + glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront); cache->dss.stencilWriteMaskFront = gpuPipelineState->dss.stencilWriteMaskFront; } @@ -1789,10 +1785,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (cache->dss.stencilFuncBack != gpuPipelineState->dss.stencilFuncBack || cache->dss.stencilRefBack != gpuPipelineState->dss.stencilRefBack || cache->dss.stencilReadMaskBack != gpuPipelineState->dss.stencilReadMaskBack) { - GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], - gpuPipelineState->dss.stencilRefBack, - gpuPipelineState->dss.stencilReadMaskBack)); + glStencilFuncSeparate(GL_BACK, + GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], + gpuPipelineState->dss.stencilRefBack, + gpuPipelineState->dss.stencilReadMaskBack); cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; @@ -1800,25 +1796,25 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (cache->dss.stencilFailOpBack != gpuPipelineState->dss.stencilFailOpBack || cache->dss.stencilZFailOpBack != gpuPipelineState->dss.stencilZFailOpBack || cache->dss.stencilPassOpBack != gpuPipelineState->dss.stencilPassOpBack) { - GL_CHECK(glStencilOpSeparate(GL_BACK, - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack])); + glStencilOpSeparate(GL_BACK, + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack]); cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; } if (cache->dss.stencilWriteMaskBack != gpuPipelineState->dss.stencilWriteMaskBack) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack)); + glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack); cache->dss.stencilWriteMaskBack = gpuPipelineState->dss.stencilWriteMaskBack; } // bind blend state if (cache->bs.isA2C != gpuPipelineState->bs.isA2C) { if (cache->bs.isA2C) { - GL_CHECK(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE); } else { - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE); } cache->bs.isA2C = gpuPipelineState->bs.isA2C; } @@ -1827,49 +1823,49 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z || cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { - GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + glBlendColor(gpuPipelineState->bs.blendColor.x, + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } - BlendTarget &cacheTarget = cache->bs.targets[0]; - const BlendTarget &target = gpuPipelineState->bs.targets[0]; - if (cacheTarget.blend != target.blend) { - if (!cacheTarget.blend) { - GL_CHECK(glEnable(GL_BLEND)); + BlendTarget *cacheTarget = cache->bs.targets[0]; + const BlendTarget *target = gpuPipelineState->bs.targets[0]; + if (cacheTarget->blend != target->blend) { + if (!cacheTarget->blend) { + glEnable(GL_BLEND); } else { - GL_CHECK(glDisable(GL_BLEND)); + glDisable(GL_BLEND); } - cacheTarget.blend = target.blend; + cacheTarget->blend = target->blend; } - if (cacheTarget.blendEq != target.blendEq || - cacheTarget.blendAlphaEq != target.blendAlphaEq) { - GL_CHECK(glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target.blendEq], - GLES3_BLEND_OPS[(int)target.blendAlphaEq])); - cacheTarget.blendEq = target.blendEq; - cacheTarget.blendAlphaEq = target.blendAlphaEq; + if (cacheTarget->blendEq != target->blendEq || + cacheTarget->blendAlphaEq != target->blendAlphaEq) { + glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target->blendEq], + GLES3_BLEND_OPS[(int)target->blendAlphaEq]); + cacheTarget->blendEq = target->blendEq; + cacheTarget->blendAlphaEq = target->blendAlphaEq; } - if (cacheTarget.blendSrc != target.blendSrc || - cacheTarget.blendDst != target.blendDst || - cacheTarget.blendSrcAlpha != target.blendSrcAlpha || - cacheTarget.blendDstAlpha != target.blendDstAlpha) { - GL_CHECK(glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target.blendSrc], - GLES3_BLEND_FACTORS[(int)target.blendDst], - GLES3_BLEND_FACTORS[(int)target.blendSrcAlpha], - GLES3_BLEND_FACTORS[(int)target.blendDstAlpha])); - cacheTarget.blendSrc = target.blendSrc; - cacheTarget.blendDst = target.blendDst; - cacheTarget.blendSrcAlpha = target.blendSrcAlpha; - cacheTarget.blendDstAlpha = target.blendDstAlpha; + if (cacheTarget->blendSrc != target->blendSrc || + cacheTarget->blendDst != target->blendDst || + cacheTarget->blendSrcAlpha != target->blendSrcAlpha || + cacheTarget->blendDstAlpha != target->blendDstAlpha) { + glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target->blendSrc], + GLES3_BLEND_FACTORS[(int)target->blendDst], + GLES3_BLEND_FACTORS[(int)target->blendSrcAlpha], + GLES3_BLEND_FACTORS[(int)target->blendDstAlpha]); + cacheTarget->blendSrc = target->blendSrc; + cacheTarget->blendDst = target->blendDst; + cacheTarget->blendSrcAlpha = target->blendSrcAlpha; + cacheTarget->blendDstAlpha = target->blendDstAlpha; } - if (cacheTarget.blendColorMask != target.blendColorMask) { - GL_CHECK(glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), - (GLboolean)(target.blendColorMask & ColorMask::G), - (GLboolean)(target.blendColorMask & ColorMask::B), - (GLboolean)(target.blendColorMask & ColorMask::A))); - cacheTarget.blendColorMask = target.blendColorMask; + if (cacheTarget->blendColorMask != target->blendColorMask) { + glColorMask((GLboolean)(target->blendColorMask & ColorMask::R), + (GLboolean)(target->blendColorMask & ColorMask::G), + (GLboolean)(target->blendColorMask & ColorMask::B), + (GLboolean)(target->blendColorMask & ColorMask::A)); + cacheTarget->blendColorMask = target->blendColorMask; } } // if @@ -1897,15 +1893,15 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli const vector &dynamicOffsetSetIndices = dynamicOffsetIndices[glBlock.set]; int dynamicOffsetIndex = glBlock.binding < dynamicOffsetSetIndices.size() ? dynamicOffsetSetIndices[glBlock.binding] : -1; - if (dynamicOffsetIndex >= 0) offset += dynamicOffsets[dynamicOffsetIndex]; + if (dynamicOffsetIndex >= 0) offset += dynamicOffsets[glBlock.set][dynamicOffsetIndex]; if (cache->glBindUBOs[glBlock.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || cache->glBindUBOOffsets[glBlock.glBinding] != offset) { if (offset) { - GL_CHECK(glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, - offset, gpuDescriptor.gpuBuffer->size)); + glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, + offset, gpuDescriptor.gpuBuffer->size); } else { - GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); + glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer); } cache->glUniformBuffer = cache->glBindUBOs[glBlock.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; cache->glBindUBOOffsets[glBlock.glBinding] = offset; @@ -1934,15 +1930,15 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLuint glTexture = gpuDescriptor->gpuTexture->glTexture; if (cache->glTextures[unit] != glTexture) { if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + glActiveTexture(GL_TEXTURE0 + unit); cache->texUint = unit; } - GL_CHECK(glBindTexture(gpuDescriptor->gpuTexture->glTarget, glTexture)); + glBindTexture(gpuDescriptor->gpuTexture->glTarget, glTexture); cache->glTextures[unit] = glTexture; } if (cache->glSamplers[unit] != gpuDescriptor->gpuSampler->glSampler) { - GL_CHECK(glBindSampler(unit, gpuDescriptor->gpuSampler->glSampler)); + glBindSampler(unit, gpuDescriptor->gpuSampler->glSampler); cache->glSamplers[unit] = gpuDescriptor->gpuSampler->glSampler; } } @@ -1951,34 +1947,33 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } // if // bind vao - if (gpuInputAssembler && gpuPipelineState && gpuPipelineState->gpuShader && + if (gpuInputAssembler && gpuPipelineState->gpuShader && (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { gfxStateCache.gpuInputAssembler = gpuInputAssembler; if (USE_VAO) { - GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); - GLuint glVAO = gpuInputAssembler->glVAOs[hash]; + GLuint glVAO = gpuInputAssembler->glVAOs[gpuPipelineState->gpuShader->glProgram]; if (!glVAO) { - GL_CHECK(glGenVertexArrays(1, &glVAO)); - gpuInputAssembler->glVAOs[hash] = glVAO; - GL_CHECK(glBindVertexArray(glVAO)); - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); + glGenVertexArrays(1, &glVAO); + gpuInputAssembler->glVAOs[gpuPipelineState->gpuShader->glProgram] = glVAO; + glBindVertexArray(glVAO); + glBindBuffer(GL_ARRAY_BUFFER, 0); + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { const GLES3GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { const GLES3GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); + glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer); for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - GL_CHECK(glEnableVertexAttribArray(glLoc)); + glEnableVertexAttribArray(glLoc); cache->glEnabledAttribLocs[glLoc] = true; - GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset))); - GL_CHECK(glVertexAttribDivisor(glLoc, gpuAttribute.isInstanced ? 1 : 0)); + glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset)); + glVertexAttribDivisor(glLoc, gpuAttribute.isInstanced ? 1 : 0); } break; } @@ -1986,19 +1981,19 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } if (gpuInputAssembler->gpuIndexBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer)); + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer); } - GL_CHECK(glBindVertexArray(0)); - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); + glBindVertexArray(0); + glBindBuffer(GL_ARRAY_BUFFER, 0); + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); cache->glVAO = 0; cache->glArrayBuffer = 0; cache->glElementArrayBuffer = 0; } if (cache->glVAO != glVAO) { - GL_CHECK(glBindVertexArray(glVAO)); + glBindVertexArray(glVAO); cache->glVAO = glVAO; } } else { @@ -2012,18 +2007,18 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli const GLES3GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { if (cache->glArrayBuffer != gpuAttribute.glBuffer) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); + glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer); cache->glArrayBuffer = gpuAttribute.glBuffer; } for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - GL_CHECK(glEnableVertexAttribArray(glLoc)); + glEnableVertexAttribArray(glLoc); cache->glCurrentAttribLocs[glLoc] = true; cache->glEnabledAttribLocs[glLoc] = true; - GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset))); - GL_CHECK(glVertexAttribDivisor(glLoc, gpuAttribute.isInstanced ? 1 : 0)); + glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset)); + glVertexAttribDivisor(glLoc, gpuAttribute.isInstanced ? 1 : 0); } break; } @@ -2032,53 +2027,53 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (gpuInputAssembler->gpuIndexBuffer) { if (cache->glElementArrayBuffer != gpuInputAssembler->gpuIndexBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer)); + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer); cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; } } for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { if (cache->glEnabledAttribLocs[a] != cache->glCurrentAttribLocs[a]) { - GL_CHECK(glDisableVertexAttribArray(a)); + glDisableVertexAttribArray(a); cache->glEnabledAttribLocs[a] = false; } } } } // if - if (gpuPipelineState && !gpuPipelineState->dynamicStates.empty()) { + if (gpuPipelineState) { for (DynamicStateFlagBit dynamicState : gpuPipelineState->dynamicStates) { switch (dynamicState) { case DynamicStateFlagBit::VIEWPORT: if (cache->viewport != viewport) { - GL_CHECK(glViewport(viewport.left, viewport.top, viewport.width, viewport.height)); + glViewport(viewport.left, viewport.top, viewport.width, viewport.height); cache->viewport = viewport; } break; case DynamicStateFlagBit::SCISSOR: if (cache->scissor != scissor) { - GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, scissor.height)); + glScissor(scissor.x, scissor.y, scissor.width, scissor.height); cache->scissor = scissor; } break; case DynamicStateFlagBit::LINE_WIDTH: if (cache->rs.lineWidth != lineWidth) { - GL_CHECK(glLineWidth(lineWidth)); + glLineWidth(lineWidth); cache->rs.lineWidth = lineWidth; } break; case DynamicStateFlagBit::DEPTH_BIAS: if (cache->rs.depthBiasEnabled != depthBiasEnabled) { if (depthBiasEnabled) - GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); + glEnable(GL_POLYGON_OFFSET_FILL); else - GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); + glDisable(GL_POLYGON_OFFSET_FILL); cache->rs.depthBiasEnabled = depthBiasEnabled; } if ((cache->rs.depthBias != depthBias.constant) || (cache->rs.depthBiasSlop != depthBias.slope)) { - GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); + glPolygonOffset(depthBias.constant, depthBias.slope); cache->rs.depthBias = depthBias.constant; cache->rs.depthBiasSlop = depthBias.slope; } @@ -2088,10 +2083,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y) || (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { - GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + glBlendColor(gpuPipelineState->bs.blendColor.x, + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } break; @@ -2099,20 +2094,20 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli switch (stencilWriteMask.face) { case StencilFace::FRONT: if (cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, stencilWriteMask.writeMask)); + glStencilMaskSeparate(GL_FRONT, stencilWriteMask.writeMask); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; } break; case StencilFace::BACK: if (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, stencilWriteMask.writeMask)); + glStencilMaskSeparate(GL_BACK, stencilWriteMask.writeMask); cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } break; case StencilFace::ALL: if ((cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) || (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask)) { - GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); + glStencilMask(stencilWriteMask.writeMask); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } @@ -2124,10 +2119,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli case StencilFace::FRONT: if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + glStencilFuncSeparate(GL_FRONT, + GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; } @@ -2135,10 +2130,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli case StencilFace::BACK: if ((cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + glStencilFuncSeparate(GL_BACK, + GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask); cache->dss.stencilRefBack = stencilCompareMask.refrence; cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } @@ -2148,14 +2143,14 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask) || (cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + glStencilFuncSeparate(GL_FRONT, + GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask); + glStencilFuncSeparate(GL_BACK, + GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; cache->dss.stencilRefBack = stencilCompareMask.refrence; @@ -2173,7 +2168,6 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { - GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES3GPUPipelineState *gpuPipelineState = gfxStateCache.gpuPipelineState; GLES3GPUInputAssembler *gpuInputAssembler = gfxStateCache.gpuInputAssembler; GLenum glPrimitive = gfxStateCache.glPrimitive; @@ -2185,16 +2179,16 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { uint8_t *offset = 0; offset += drawInfo.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { - GL_CHECK(glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset)); + glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset); } else { - GL_CHECK(glDrawElementsInstanced(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset, drawInfo.instanceCount)); + glDrawElementsInstanced(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset, drawInfo.instanceCount); } } } else if (drawInfo.vertexCount > 0) { if (drawInfo.instanceCount == 0) { - GL_CHECK(glDrawArrays(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount)); + glDrawArrays(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount); } else { - GL_CHECK(glDrawArraysInstanced(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount, drawInfo.instanceCount)); + glDrawArraysInstanced(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount, drawInfo.instanceCount); } } } else { @@ -2205,16 +2199,16 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { uint8_t *offset = 0; offset += draw.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (draw.instanceCount == 0) { - GL_CHECK(glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset)); + glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset); } else { - GL_CHECK(glDrawElementsInstanced(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset, draw.instanceCount)); + glDrawElementsInstanced(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset, draw.instanceCount); } } } else if (draw.vertexCount > 0) { if (draw.instanceCount == 0) { - GL_CHECK(glDrawArrays(glPrimitive, draw.firstIndex, draw.vertexCount)); + glDrawArrays(glPrimitive, draw.firstIndex, draw.vertexCount); } else { - GL_CHECK(glDrawArraysInstanced(glPrimitive, draw.firstIndex, draw.vertexCount, draw.instanceCount)); + glDrawArraysInstanced(glPrimitive, draw.firstIndex, draw.vertexCount, draw.instanceCount); } } } @@ -2223,7 +2217,6 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { } void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { - GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { memcpy((uint8_t *)gpuBuffer->indirects.data() + offset, buffer, size); } else if (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC) { @@ -2232,33 +2225,36 @@ void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, co switch (gpuBuffer->glTarget) { case GL_ARRAY_BUFFER: { if (device->stateCache()->glVAO) { - GL_CHECK(glBindVertexArray(0)); + glBindVertexArray(0); device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } if (device->stateCache()->glArrayBuffer != gpuBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuBuffer->glBuffer)); + glBindBuffer(GL_ARRAY_BUFFER, gpuBuffer->glBuffer); device->stateCache()->glArrayBuffer = gpuBuffer->glBuffer; } - GL_CHECK(glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer)); + glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer); break; } case GL_ELEMENT_ARRAY_BUFFER: { if (device->stateCache()->glVAO) { - GL_CHECK(glBindVertexArray(0)); + glBindVertexArray(0); device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } if (device->stateCache()->glElementArrayBuffer != gpuBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuBuffer->glBuffer)); + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuBuffer->glBuffer); device->stateCache()->glElementArrayBuffer = gpuBuffer->glBuffer; } - GL_CHECK(glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer)); + glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer); break; } - case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { - GLES3CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; - GLES3CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); + case GL_UNIFORM_BUFFER: { + if (device->stateCache()->glUniformBuffer != gpuBuffer->glBuffer) { + glBindBuffer(GL_UNIFORM_BUFFER, gpuBuffer->glBuffer); + device->stateCache()->glUniformBuffer = gpuBuffer->glBuffer; + } + glBufferSubData(GL_UNIFORM_BUFFER, offset, size, buffer); break; } default: @@ -2477,5 +2473,50 @@ void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { } } +void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { + static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; + memset(cmdIndices, 0, sizeof(cmdIndices)); + + for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { + GFXCmdType cmdType = cmdPackage->cmds[i]; + uint &cmdIdx = cmdIndices[(int)cmdType]; + + switch (cmdType) { + case GFXCmdType::BEGIN_RENDER_PASS: { + GLES3CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; + GLES3CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); + break; + } + case GFXCmdType::END_RENDER_PASS: { + GLES3CmdFuncEndRenderPass(device); + break; + } + case GFXCmdType::BIND_STATES: { + GLES3CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; + GLES3CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); + break; + } // case BIND_STATES + case GFXCmdType::DRAW: { + GLES3CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; + GLES3CmdFuncDraw(device, cmd->drawInfo); + break; + } + case GFXCmdType::UPDATE_BUFFER: { + GLES3CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; + GLES3CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); + break; + } + case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { + GLES3CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; + GLES3CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); + break; + } + default: + break; + } + cmdIdx++; + } +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 7bb350162e..0c47dc2537 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -31,7 +31,18 @@ namespace gfx { class GLES3Device; -struct GLES3DepthBias final { +struct GLES3ObjectCache { + size_t numClearColors = 0u; + GLES3GPURenderPass *gpuRenderPass = nullptr; + GLES3GPUFramebuffer *gpuFramebuffer = nullptr; + GLES3GPUPipelineState *gpuPipelineState = nullptr; + GLES3GPUInputAssembler *gpuInputAssembler = nullptr; + bool reverseCW = false; + GLenum glPrimitive = 0; + GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; +}; + +struct GLES3DepthBias { float constant = 0.0f; float clamp = 0.0f; float slope = 0.0f; @@ -104,7 +115,7 @@ public: GLES3GPUPipelineState *gpuPipelineState = nullptr; GLES3GPUInputAssembler *gpuInputAssembler = nullptr; vector gpuDescriptorSets; - vector dynamicOffsets; + vector dynamicOffsets; Viewport viewport; Rect scissor; float lineWidth = 1.0f; @@ -231,7 +242,7 @@ CC_GLES3_API void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURende const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil); CC_GLES3_API void GLES3CmdFuncEndRenderPass(GLES3Device *device); CC_GLES3_API void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipelineState, GLES3GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, + vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES3DepthBias &depthBias, Color &blendConstants, GLES3DepthBounds &depthBounds, GLES3StencilWriteMask &stencilWriteMask, GLES3StencilCompareMask &stencilCompareMask); CC_GLES3_API void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index acb3e5aeef..001a5eb449 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -25,6 +25,7 @@ THE SOFTWARE. #include "GLES3Buffer.h" #include "GLES3CommandBuffer.h" +#include "GLES3PrimaryCommandBuffer.h" #include "GLES3Context.h" #include "GLES3DescriptorSet.h" #include "GLES3DescriptorSetLayout.h" @@ -79,7 +80,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { destroy(); return false; } - bindRenderContext(true); + _context = _initContext; String extStr = (const char *)glGetString(GL_EXTENSIONS); _extensions = StringUtil::Split(extStr, " "); @@ -171,9 +172,6 @@ bool GLES3Device::initialize(const DeviceInfo &info) { _gpuStateCache->initialize(_maxTextureUnits, _maxUniformBufferBindings, _maxVertexAttributes); - _initContext->MakeCurrent(false); - _context = _initContext; - return true; } @@ -216,22 +214,41 @@ void GLES3Device::present() { queue->_numTriangles = 0; } -void GLES3Device::makeCurrent() { - if (!_renderContext) { - ContextInfo ctxInfo; - ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = _initContext; - - _renderContext = CC_NEW(GLES3Context(this)); - _renderContext->initialize(ctxInfo); - _context = _renderContext; +void GLES3Device::setImmediateMode(bool immediateMode) { + if (immediateMode) { + _renderContext->MakeCurrent(false); + _initContext->MakeCurrent(); } else { - _renderContext->MakeCurrent(); + _initContext->MakeCurrent(false); + + /*if (!_renderContext) { + ENCODE_COMMAND_1( + getMainEncoder(), + DeviceInitThread, + device, this, + { + ContextInfo ctxInfo; + ctxInfo.windowHandle = _windowHandle; + ctxInfo.sharedCtx = _initContext; + + device->_renderContext = CC_NEW(GLES3Context(device)); + device->_renderContext->initialize(ctxInfo); + device->_context = device->_renderContext; + }); + } else { + ENCODE_COMMAND_1( + getMainEncoder(), + DeviceInitThread, + device, this, + { + _renderContext->MakeCurrent(); + }); + }*/ } } CommandBuffer *GLES3Device::createCommandBuffer() { - return CC_NEW(GLES3CommandBuffer(this)); + return CC_NEW(GLES3PrimaryCommandBuffer(this)); } Fence *GLES3Device::createFence() { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 05a67be22c..682ecba4cd 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -72,7 +72,7 @@ public: virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void makeCurrent() override; + virtual void setImmediateMode(bool immediateMode) override; CC_INLINE GLES3GPUStateCache *stateCache() const { return _gpuStateCache; } CC_INLINE GLES3GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp index 28a6bcda54..5195315a26 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp @@ -55,7 +55,7 @@ bool GLES3PipelineLayout::initialize(const PipelineLayoutInfo &info) { for (uint j = 0u; j < dynamicCount; j++) { uint binding = gpuSetLayout->dynamicBindings[j]; - if (indices[binding] < 0) indices[binding] = offset + j; + if (indices[binding] < 0) indices[binding] = j; } _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->setLayouts.push_back(gpuSetLayout); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 2b05dc1fe5..984498fb02 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -1,26 +1,3 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ #include "GLES3Std.h" #include "GLES3Buffer.h" @@ -43,7 +20,7 @@ GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer(Device *device) GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { } -void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { _isInRenderPass = true; GLES3GPURenderPass *gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); @@ -62,18 +39,7 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { (_type == CommandBufferType::SECONDARY)) { if (_isStateInvalid) { - vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); - count = std::min(count, _curDynamicOffsets[i].size()); - if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); - } - GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, - _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); - - _isStateInvalid = false; + BindStates(); } DrawInfo drawInfo; @@ -102,13 +68,13 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { } } -void GLES3PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { +void GLES3PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { GLES3GPUBuffer *gpuBuffer = ((GLES3Buffer *)buff)->gpuBuffer(); if (gpuBuffer) { - GLES3CmdFuncUpdateBuffer((GLES3Device *)_device, gpuBuffer, data, 0u, size); + GLES3CmdFuncUpdateBuffer((GLES3Device *)_device, gpuBuffer, data, offset, size); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); @@ -131,18 +97,20 @@ void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe void GLES3PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES3PrimaryCommandBuffer *cmdBuff = (GLES3PrimaryCommandBuffer *)cmdBuffs[i]; - GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdBuff->_cmdPackage); - GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); - - _numDrawCalls += cmdBuff->_numDrawCalls; - _numInstances += cmdBuff->_numInstances; - _numTriangles += cmdBuff->_numTriangles; - - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); + _numDrawCalls += cmdBuff->getNumDrawCalls(); + _numInstances += cmdBuff->getNumInstances(); + _numTriangles += cmdBuff->getNumTris(); } } +void GLES3PrimaryCommandBuffer::BindStates() { + GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, _curDynamicOffsets, + _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); + + _isStateInvalid = false; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index a4af97b926..2215d6a825 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -1,26 +1,3 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ #ifndef CC_GFXGLES3_PRIMARY_COMMAND_BUFFER_H_ #define CC_GFXGLES3_PRIMARY_COMMAND_BUFFER_H_ @@ -29,19 +6,24 @@ THE SOFTWARE. namespace cc { namespace gfx { -class CC_GLES3_API GLES3PrimaryCommandBuffer final : public GLES3CommandBuffer { +class CC_GLES3_API GLES3PrimaryCommandBuffer : public GLES3CommandBuffer { friend class GLES3Queue; public: GLES3PrimaryCommandBuffer(Device *device); ~GLES3PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; + virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + +protected: + virtual void BindStates() override; + +private: }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index ab536ec121..efe55d7678 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -48,17 +48,11 @@ void GLES3Queue::destroy() { void GLES3Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { if (!_isAsync) { for (uint i = 0; i < count; ++i) { - GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; - GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - - GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); - - _numDrawCalls += cmdBuff->_numDrawCalls; - _numInstances += cmdBuff->_numInstances; - _numTriangles += cmdBuff->_numTriangles; - - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); + GLES3CommandBuffer *cmdBuffer = (GLES3CommandBuffer *)cmdBuffs[i]; + //GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdBuffer->_cmdPackage); + _numDrawCalls += cmdBuffer->_numDrawCalls; + _numInstances += cmdBuffer->_numInstances; + _numTriangles += cmdBuffer->_numTriangles; } } } From 8e72fe805fca2212487fe7126d05eed593c74102 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 27 Nov 2020 12:46:47 +0800 Subject: [PATCH 028/270] GLES2: immediate submission --- .../core/gfx-proxy/GFXDeviceProxy.cpp | 7 +- .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 2 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 13 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 7 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 532 +++++++++--------- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 17 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 2 +- .../gfx-gles2/GLES2PipelineLayout.cpp | 2 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 52 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 29 +- .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 16 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 2 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 24 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 12 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 5 - .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 10 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 4 +- 18 files changed, 324 insertions(+), 414 deletions(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 13467ecd17..19ed392174 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -77,7 +77,12 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { context.encoder->RunConsumerThread(); } - setImmediateMode(false); + ENCODE_COMMAND_1( + _mainEncoder, DeviceMakeCurrent, + remote, _remote, + { + remote->setImmediateMode(false); + }); return true; } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index 9235b45d51..963e1eb403 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -44,7 +44,7 @@ public: virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void setImmediateMode(bool immediateMode) { return _remote->setImmediateMode(immediateMode); } + virtual void setImmediateMode(bool immediateMode) override { return _remote->setImmediateMode(immediateMode); } virtual SurfaceTransform getSurfaceTransform() const override { return _remote->getSurfaceTransform(); } virtual uint getWidth() const override { return _remote->getWidth(); } virtual uint getHeight() const override { return _remote->getHeight(); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index bb8091cf8d..200250c82a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -53,7 +53,6 @@ bool GLES2CommandBuffer::initialize(const CommandBufferInfo &info) { size_t setCount = ((GLES2Device *)_device)->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); _curDynamicOffsets.resize(setCount); - _curDynamicOffsetCounts.resize(setCount); return true; } @@ -85,7 +84,6 @@ void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); - _curDynamicOffsetCounts.assign(_curDynamicOffsetCounts.size(), 0u); _numDrawCalls = 0; _numInstances = 0; @@ -147,7 +145,6 @@ void GLES2CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } if (dynamicOffsetCount) { _curDynamicOffsets[set] = dynamicOffsets; - _curDynamicOffsetCounts[set] = dynamicOffsetCount; _isStateInvalid = true; } } @@ -362,15 +359,7 @@ void GLES2CommandBuffer::BindStates() { cmd->gpuPipelineState = _curGPUPipelineState; cmd->gpuInputAssembler = _curGPUInputAssember; cmd->gpuDescriptorSets = _curGPUDescriptorSets; - - vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - const uint *dynamicOffset = _curDynamicOffsets[i]; - uint count = _curDynamicOffsetCounts[i]; - cmd->dynamicOffsets.insert(cmd->dynamicOffsets.end(), dynamicOffset, dynamicOffset + count); - } - + cmd->dynamicOffsets = _curDynamicOffsets; cmd->viewport = _curViewport; cmd->scissor = _curScissor; cmd->lineWidth = _curLineWidth; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index ffcbc8884f..bd69c611cb 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -65,15 +65,12 @@ public: protected: void BindStates(); - GLES2GPUCommandAllocator *_cmdAllocator = nullptr; - GLES2CmdPackage *_curCmdPackage = nullptr; - queue _pendingPackages, _freePackages; - + GLES2CmdPackage *_cmdPackage = nullptr; + GLES2GPUCommandAllocator *_gles2Allocator = nullptr; bool _isInRenderPass = false; GLES2GPUPipelineState *_curGPUPipelineState = nullptr; vector _curGPUDescriptorSets; vector _curDynamicOffsets; - vector _curDynamicOffsetCounts; GLES2GPUInputAssembler *_curGPUInputAssember = nullptr; Viewport _curViewport; Rect _curScissor; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 057ccde218..e64c0c4b28 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1345,7 +1345,6 @@ void GLES2CmdFuncDestroyFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gp void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRenderPass, GLES2GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { - GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; gfxStateCache.gpuRenderPass = gpuRenderPass; gfxStateCache.gpuFramebuffer = gpuFramebuffer; gfxStateCache.numClearColors = numClearColors; @@ -1356,7 +1355,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen if (gpuFramebuffer && gpuRenderPass) { if (cache->glFramebuffer != gpuFramebuffer->glFramebuffer) { - GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); + glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer); cache->glFramebuffer = gpuFramebuffer->glFramebuffer; // render targets are drawn with flipped-Y gfxStateCache.reverseCW = !!gpuFramebuffer->glFramebuffer; @@ -1366,7 +1365,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen cache->viewport.top != renderArea.y || cache->viewport.width != renderArea.width || cache->viewport.height != renderArea.height) { - GL_CHECK(glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); + glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height); cache->viewport.left = renderArea.x; cache->viewport.top = renderArea.y; cache->viewport.width = renderArea.width; @@ -1377,7 +1376,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen cache->scissor.y != renderArea.y || cache->scissor.width != renderArea.width || cache->scissor.height != renderArea.height) { - GL_CHECK(glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); + glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height); cache->scissor.x = renderArea.x; cache->scissor.y = renderArea.y; cache->scissor.width = renderArea.width; @@ -1394,12 +1393,12 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen switch (colorAttachment.loadOp) { case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { - if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { - GL_CHECK(glColorMask(true, true, true, true)); + if (cache->bs.targets[0]->blendColorMask != ColorMask::ALL) { + glColorMask(true, true, true, true); } const Color &color = clearColors[j]; - GL_CHECK(glClearColor(color.x, color.y, color.z, color.w)); + glClearColor(color.x, color.y, color.z, color.w); glClears |= GL_COLOR_BUFFER_BIT; break; } @@ -1419,10 +1418,9 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { - if (!cache->dss.depthWrite) { - GL_CHECK(glDepthMask(true)); - } - GL_CHECK(glClearDepthf(clearDepth)); + glDepthMask(true); + cache->dss.depthWrite = true; + glClearDepthf(clearDepth); glClears |= GL_DEPTH_BUFFER_BIT; break; } @@ -1440,12 +1438,12 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { if (!cache->dss.stencilWriteMaskFront) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); + glStencilMaskSeparate(GL_FRONT, 0xffffffff); } if (!cache->dss.stencilWriteMaskBack) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); + glStencilMaskSeparate(GL_BACK, 0xffffffff); } - GL_CHECK(glClearStencil(clearStencil)); + glClearStencil(clearStencil); glClears |= GL_STENCIL_BUFFER_BIT; break; } @@ -1460,41 +1458,40 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } // if if (numAttachments && device->useDiscardFramebuffer()) { - GL_CHECK(glDiscardFramebufferEXT(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); + glDiscardFramebufferEXT(GL_FRAMEBUFFER, numAttachments, invalidAttachments); } if (glClears) { - GL_CHECK(glClear(glClears)); + glClear(glClears); } // restore states if (glClears & GL_COLOR_BUFFER_BIT) { - ColorMask colorMask = cache->bs.targets[0].blendColorMask; + ColorMask colorMask = cache->bs.targets[0]->blendColorMask; if (colorMask != ColorMask::ALL) { - GL_CHECK(glColorMask((GLboolean)(colorMask & ColorMask::R), - (GLboolean)(colorMask & ColorMask::G), - (GLboolean)(colorMask & ColorMask::B), - (GLboolean)(colorMask & ColorMask::A))); + glColorMask((GLboolean)(colorMask & ColorMask::R), + (GLboolean)(colorMask & ColorMask::G), + (GLboolean)(colorMask & ColorMask::B), + (GLboolean)(colorMask & ColorMask::A)); } } - if ((glClears & GL_DEPTH_BUFFER_BIT) && !cache->dss.depthWrite) { - GL_CHECK(glDepthMask(false)); + if ((glClears & GL_COLOR_BUFFER_BIT) && !cache->dss.depthWrite) { + glDepthMask(false); } if (glClears & GL_STENCIL_BUFFER_BIT) { if (!cache->dss.stencilWriteMaskFront) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0)); + glStencilMaskSeparate(GL_FRONT, 0); } if (!cache->dss.stencilWriteMaskBack) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0)); + glStencilMaskSeparate(GL_BACK, 0); } } } } void GLES2CmdFuncEndRenderPass(GLES2Device *device) { - GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; size_t numClearColors = gfxStateCache.numClearColors; GLES2GPURenderPass *gpuRenderPass = gfxStateCache.gpuRenderPass; GLES2GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; @@ -1544,15 +1541,14 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { } // if if (numAttachments && device->useDiscardFramebuffer()) { - GL_CHECK(glDiscardFramebufferEXT(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); + glDiscardFramebufferEXT(GL_FRAMEBUFFER, numAttachments, invalidAttachments); } } void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipelineState, GLES2GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, + vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES2DepthBias &depthBias, Color &blendConstants, GLES2DepthBounds &depthBounds, GLES2StencilWriteMask &stencilWriteMask, GLES2StencilCompareMask &stencilCompareMask) { - GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES2GPUStateCache *cache = device->stateCache(); bool isShaderChanged = false; @@ -1566,7 +1562,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (gpuPipelineState->gpuShader) { if (cache->glProgram != gpuPipelineState->gpuShader->glProgram) { - GL_CHECK(glUseProgram(gpuPipelineState->gpuShader->glProgram)); + glUseProgram(gpuPipelineState->gpuShader->glProgram); cache->glProgram = gpuPipelineState->gpuShader->glProgram; isShaderChanged = true; } @@ -1577,21 +1573,23 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli switch (gpuPipelineState->rs.cullMode) { case CullMode::NONE: { if (cache->isCullFaceEnabled) { - GL_CHECK(glDisable(GL_CULL_FACE)); + glDisable(GL_CULL_FACE); cache->isCullFaceEnabled = false; } - if (cache->dss.depthWrite != gpuPipelineState->dss.depthWrite) { - glDepthMask(!!gpuPipelineState->dss.depthWrite); - cache->dss.depthWrite = gpuPipelineState->dss.depthWrite; + } break; + case CullMode::FRONT: { + if (!cache->isCullFaceEnabled) { + glEnable(GL_CULL_FACE); + cache->isCullFaceEnabled = true; } - GL_CHECK(glCullFace(GL_FRONT)); + glCullFace(GL_FRONT); } break; case CullMode::BACK: { if (!cache->isCullFaceEnabled) { - GL_CHECK(glEnable(GL_CULL_FACE)); + glEnable(GL_CULL_FACE); cache->isCullFaceEnabled = true; } - GL_CHECK(glCullFace(GL_BACK)); + glCullFace(GL_BACK); } break; default: break; @@ -1600,56 +1598,56 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } bool isFrontFaceCCW = (bool)gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; if ((bool)cache->rs.isFrontFaceCCW != isFrontFaceCCW) { - GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); + glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW); cache->rs.isFrontFaceCCW = isFrontFaceCCW; } if ((cache->rs.depthBias != gpuPipelineState->rs.depthBias) || (cache->rs.depthBiasSlop != gpuPipelineState->rs.depthBiasSlop)) { - GL_CHECK(glPolygonOffset(cache->rs.depthBias, cache->rs.depthBiasSlop)); + glPolygonOffset(cache->rs.depthBias, cache->rs.depthBiasSlop); cache->rs.depthBiasSlop = gpuPipelineState->rs.depthBiasSlop; } if (cache->rs.lineWidth != gpuPipelineState->rs.lineWidth) { - GL_CHECK(glLineWidth(gpuPipelineState->rs.lineWidth)); + glLineWidth(gpuPipelineState->rs.lineWidth); cache->rs.lineWidth = gpuPipelineState->rs.lineWidth; } // bind depth-stencil state if (cache->dss.depthTest != gpuPipelineState->dss.depthTest) { if (gpuPipelineState->dss.depthTest) { - GL_CHECK(glEnable(GL_DEPTH_TEST)); + glEnable(GL_DEPTH_TEST); } else { - GL_CHECK(glDisable(GL_DEPTH_TEST)); + glDisable(GL_DEPTH_TEST); } cache->dss.depthTest = gpuPipelineState->dss.depthTest; } if (cache->dss.depthWrite != gpuPipelineState->dss.depthWrite) { - GL_CHECK(glDepthMask(!!gpuPipelineState->dss.depthWrite)); + glDepthMask(!!gpuPipelineState->dss.depthWrite); cache->dss.depthWrite = gpuPipelineState->dss.depthWrite; } if (cache->dss.depthFunc != gpuPipelineState->dss.depthFunc) { - GL_CHECK(glDepthFunc(GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc])); + glDepthFunc(GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc]); cache->dss.depthFunc = gpuPipelineState->dss.depthFunc; } // bind depth-stencil state - front if (gpuPipelineState->dss.stencilTestFront || gpuPipelineState->dss.stencilTestBack) { if (!cache->isStencilTestEnabled) { - GL_CHECK(glEnable(GL_STENCIL_TEST)); + glEnable(GL_STENCIL_TEST); cache->isStencilTestEnabled = true; } } else { if (cache->isStencilTestEnabled) { - GL_CHECK(glDisable(GL_STENCIL_TEST)); + glDisable(GL_STENCIL_TEST); cache->isStencilTestEnabled = false; } } if (cache->dss.stencilFuncFront != gpuPipelineState->dss.stencilFuncFront || cache->dss.stencilRefFront != gpuPipelineState->dss.stencilRefFront || cache->dss.stencilReadMaskFront != gpuPipelineState->dss.stencilReadMaskFront) { - GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], - gpuPipelineState->dss.stencilRefFront, - gpuPipelineState->dss.stencilReadMaskFront)); + glStencilFuncSeparate(GL_FRONT, + GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], + gpuPipelineState->dss.stencilRefFront, + gpuPipelineState->dss.stencilReadMaskFront); cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; cache->dss.stencilReadMaskFront = gpuPipelineState->dss.stencilReadMaskFront; @@ -1657,16 +1655,16 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilFailOpFront != gpuPipelineState->dss.stencilFailOpFront || cache->dss.stencilZFailOpFront != gpuPipelineState->dss.stencilZFailOpFront || cache->dss.stencilPassOpFront != gpuPipelineState->dss.stencilPassOpFront) { - GL_CHECK(glStencilOpSeparate(GL_FRONT, - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront])); + glStencilOpSeparate(GL_FRONT, + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront]); cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; cache->dss.stencilZFailOpFront = gpuPipelineState->dss.stencilZFailOpFront; cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; } if (cache->dss.stencilWriteMaskFront != gpuPipelineState->dss.stencilWriteMaskFront) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront)); + glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront); cache->dss.stencilWriteMaskFront = gpuPipelineState->dss.stencilWriteMaskFront; } @@ -1674,10 +1672,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilFuncBack != gpuPipelineState->dss.stencilFuncBack || cache->dss.stencilRefBack != gpuPipelineState->dss.stencilRefBack || cache->dss.stencilReadMaskBack != gpuPipelineState->dss.stencilReadMaskBack) { - GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], - gpuPipelineState->dss.stencilRefBack, - gpuPipelineState->dss.stencilReadMaskBack)); + glStencilFuncSeparate(GL_BACK, + GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], + gpuPipelineState->dss.stencilRefBack, + gpuPipelineState->dss.stencilReadMaskBack); cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; @@ -1685,25 +1683,25 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilFailOpBack != gpuPipelineState->dss.stencilFailOpBack || cache->dss.stencilZFailOpBack != gpuPipelineState->dss.stencilZFailOpBack || cache->dss.stencilPassOpBack != gpuPipelineState->dss.stencilPassOpBack) { - GL_CHECK(glStencilOpSeparate(GL_BACK, - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack])); + glStencilOpSeparate(GL_BACK, + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack]); cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; } if (cache->dss.stencilWriteMaskBack != gpuPipelineState->dss.stencilWriteMaskBack) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack)); + glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack); cache->dss.stencilWriteMaskBack = gpuPipelineState->dss.stencilWriteMaskBack; } // bind blend state if (cache->bs.isA2C != gpuPipelineState->bs.isA2C) { if (cache->bs.isA2C) { - GL_CHECK(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE); } else { - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE); } cache->bs.isA2C = gpuPipelineState->bs.isA2C; } @@ -1712,49 +1710,49 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z || cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { - GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + glBlendColor(gpuPipelineState->bs.blendColor.x, + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } - BlendTarget &cacheTarget = cache->bs.targets[0]; - const BlendTarget &target = gpuPipelineState->bs.targets[0]; - if (cacheTarget.blend != target.blend) { - if (!cacheTarget.blend) { - GL_CHECK(glEnable(GL_BLEND)); + BlendTarget *cacheTarget = cache->bs.targets[0]; + const BlendTarget *target = gpuPipelineState->bs.targets[0]; + if (cacheTarget->blend != target->blend) { + if (!cacheTarget->blend) { + glEnable(GL_BLEND); } else { - GL_CHECK(glDisable(GL_BLEND)); + glDisable(GL_BLEND); } - cacheTarget.blend = target.blend; + cacheTarget->blend = target->blend; } - if (cacheTarget.blendEq != target.blendEq || - cacheTarget.blendAlphaEq != target.blendAlphaEq) { - GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target.blendEq], - GLES2_BLEND_OPS[(int)target.blendAlphaEq])); - cacheTarget.blendEq = target.blendEq; - cacheTarget.blendAlphaEq = target.blendAlphaEq; + if (cacheTarget->blendEq != target->blendEq || + cacheTarget->blendAlphaEq != target->blendAlphaEq) { + glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target->blendEq], + GLES2_BLEND_OPS[(int)target->blendAlphaEq]); + cacheTarget->blendEq = target->blendEq; + cacheTarget->blendAlphaEq = target->blendAlphaEq; } - if (cacheTarget.blendSrc != target.blendSrc || - cacheTarget.blendDst != target.blendDst || - cacheTarget.blendSrcAlpha != target.blendSrcAlpha || - cacheTarget.blendDstAlpha != target.blendDstAlpha) { - GL_CHECK(glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target.blendSrc], - GLES2_BLEND_FACTORS[(int)target.blendDst], - GLES2_BLEND_FACTORS[(int)target.blendSrcAlpha], - GLES2_BLEND_FACTORS[(int)target.blendDstAlpha])); - cacheTarget.blendSrc = target.blendSrc; - cacheTarget.blendDst = target.blendDst; - cacheTarget.blendSrcAlpha = target.blendSrcAlpha; - cacheTarget.blendDstAlpha = target.blendDstAlpha; + if (cacheTarget->blendSrc != target->blendSrc || + cacheTarget->blendDst != target->blendDst || + cacheTarget->blendSrcAlpha != target->blendSrcAlpha || + cacheTarget->blendDstAlpha != target->blendDstAlpha) { + glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target->blendSrc], + GLES2_BLEND_FACTORS[(int)target->blendDst], + GLES2_BLEND_FACTORS[(int)target->blendSrcAlpha], + GLES2_BLEND_FACTORS[(int)target->blendDstAlpha]); + cacheTarget->blendSrc = target->blendSrc; + cacheTarget->blendDst = target->blendDst; + cacheTarget->blendSrcAlpha = target->blendSrcAlpha; + cacheTarget->blendDstAlpha = target->blendDstAlpha; } - if (cacheTarget.blendColorMask != target.blendColorMask) { - GL_CHECK(glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), - (GLboolean)(target.blendColorMask & ColorMask::G), - (GLboolean)(target.blendColorMask & ColorMask::B), - (GLboolean)(target.blendColorMask & ColorMask::A))); - cacheTarget.blendColorMask = target.blendColorMask; + if (cacheTarget->blendColorMask != target->blendColorMask) { + glColorMask((GLboolean)(target->blendColorMask & ColorMask::R), + (GLboolean)(target->blendColorMask & ColorMask::G), + (GLboolean)(target->blendColorMask & ColorMask::B), + (GLboolean)(target->blendColorMask & ColorMask::A)); + cacheTarget->blendColorMask = target->blendColorMask; } } // if @@ -1775,7 +1773,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (!gpuDescriptor.gpuBuffer && !gpuDescriptor.gpuBufferView) { CC_LOG_ERROR("Buffer binding '%s' at set %d binding %d is not bounded", - glBlock.name.c_str(), glBlock.set, glBlock.binding); + glBlock.name.c_str(), glBlock.set, glBlock.binding); continue; } @@ -1783,12 +1781,12 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const vector &dynamicOffsetIndexSet = dynamicOffsetIndices[glBlock.set]; if (dynamicOffsetIndexSet.size() > glBlock.binding) { int dynamicOffsetIndex = dynamicOffsetIndexSet[glBlock.binding]; - if (dynamicOffsetIndex >= 0) offset = dynamicOffsets[dynamicOffsetIndex]; + if (dynamicOffsetIndex >= 0) offset = dynamicOffsets[glBlock.set][dynamicOffsetIndex]; } if (gpuDescriptor.gpuBufferView) { uniformBuffBase = gpuDescriptor.gpuBufferView->gpuBuffer->buffer + - gpuDescriptor.gpuBufferView->offset + offset; + gpuDescriptor.gpuBufferView->offset + offset; } else if (gpuDescriptor.gpuBuffer) { uniformBuffBase = gpuDescriptor.gpuBuffer->buffer + offset; } @@ -1800,8 +1798,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL: case GL_INT: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform1iv(gpuUniform.glLoc, gpuUniform.count, - (const GLint *)uniformBuff)); + glUniform1iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1809,8 +1806,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC2: case GL_INT_VEC2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform2iv(gpuUniform.glLoc, gpuUniform.count, - (const GLint *)uniformBuff)); + glUniform2iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1818,8 +1814,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC3: case GL_INT_VEC3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform3iv(gpuUniform.glLoc, gpuUniform.count, - (const GLint *)uniformBuff)); + glUniform3iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1827,64 +1822,56 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC4: case GL_INT_VEC4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform4iv(gpuUniform.glLoc, gpuUniform.count, - (const GLint *)uniformBuff)); + glUniform4iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform1fv(gpuUniform.glLoc, gpuUniform.count, - (const GLfloat *)uniformBuff)); + glUniform1fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform2fv(gpuUniform.glLoc, gpuUniform.count, - (const GLfloat *)uniformBuff)); + glUniform2fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform3fv(gpuUniform.glLoc, gpuUniform.count, - (const GLfloat *)uniformBuff)); + glUniform3fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform4fv(gpuUniform.glLoc, gpuUniform.count, - (const GLfloat *)uniformBuff)); + glUniform4fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniformMatrix2fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, - (const GLfloat *)uniformBuff)); + glUniformMatrix2fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniformMatrix3fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, - (const GLfloat *)uniformBuff)); + glUniformMatrix3fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniformMatrix4fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, - (const GLfloat *)uniformBuff)); + glUniformMatrix4fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1908,9 +1895,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli uint unit = (uint)glSampler.units[u]; if (!gpuDescriptor->gpuTexture || !gpuDescriptor->gpuSampler) { - CC_LOG_ERROR( - "Sampler binding '%s' at set %d binding %d index %d is not bounded", - glSampler.name.c_str(), glSampler.set, glSampler.binding, u); + CC_LOG_ERROR("Sampler binding '%s' at set %d binding %d index %d is not bounded", + glSampler.name.c_str(), glSampler.set, glSampler.binding, u); continue; } @@ -1918,10 +1904,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLuint glTexture = gpuTexture->glTexture; if (cache->glTextures[unit] != glTexture) { if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + glActiveTexture(GL_TEXTURE0 + unit); cache->texUint = unit; } - GL_CHECK(glBindTexture(gpuTexture->glTarget, glTexture)); + glBindTexture(gpuTexture->glTarget, glTexture); cache->glTextures[unit] = glTexture; } @@ -1932,7 +1918,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (gpuDescriptor->gpuTexture->mipLevel <= 1 && !(gpuDescriptor->gpuTexture->flags & TextureFlagBit::GEN_MIPMAP) && (gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_NEAREST || - gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_LINEAR)) { + gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_LINEAR)) { glMinFilter = GL_LINEAR; } else { glMinFilter = gpuDescriptor->gpuSampler->glMinFilter; @@ -1950,46 +1936,39 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } } - // bind blend state - if (gpuTexture->glWrapS != glWrapS) { if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + glActiveTexture(GL_TEXTURE0 + unit); cache->texUint = unit; } - - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, - glWrapS)); + glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, glWrapS); gpuTexture->glWrapS = glWrapS; } if (gpuTexture->glWrapT != glWrapT) { if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + glActiveTexture(GL_TEXTURE0 + unit); cache->texUint = unit; } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, - glWrapT)); + glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, glWrapT); gpuTexture->glWrapT = glWrapT; } if (gpuTexture->glMinFilter != glMinFilter) { if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + glActiveTexture(GL_TEXTURE0 + unit); cache->texUint = unit; } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, - glMinFilter)); + glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, glMinFilter); gpuTexture->glMinFilter = glMinFilter; } if (gpuTexture->glMagFilter != gpuDescriptor->gpuSampler->glMagFilter) { if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + glActiveTexture(GL_TEXTURE0 + unit); cache->texUint = unit; } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, - gpuDescriptor->gpuSampler->glMagFilter)); + glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, gpuDescriptor->gpuSampler->glMagFilter); gpuTexture->glMagFilter = gpuDescriptor->gpuSampler->glMagFilter; } } @@ -2001,63 +1980,52 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { gfxStateCache.gpuInputAssembler = gpuInputAssembler; if (device->useVAO()) { - GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); - GLuint glVAO = gpuInputAssembler->glVAOs[hash]; + GLuint glVAO = gpuInputAssembler->glVAOs[gpuPipelineState->gpuShader->glProgram]; if (!glVAO) { - GL_CHECK(glGenVertexArraysOES(1, &glVAO)); - gpuInputAssembler->glVAOs[hash] = glVAO; - GL_CHECK(glBindVertexArrayOES(glVAO)); - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); + glGenVertexArraysOES(1, &glVAO); + gpuInputAssembler->glVAOs[gpuPipelineState->gpuShader->glProgram] = glVAO; + glBindVertexArrayOES(glVAO); + glBindBuffer(GL_ARRAY_BUFFER, 0); + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); + glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer); for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = - gpuAttribute.offset + gpuAttribute.size * c; - GL_CHECK(glEnableVertexAttribArray(glLoc)); + uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; + glEnableVertexAttribArray(glLoc); cache->glEnabledAttribLocs[glLoc] = true; - GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, - gpuAttribute.glType, - gpuAttribute.isNormalized, - gpuAttribute.stride, - BUFFER_OFFSET( - attribOffset))); + glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset)); if (device->useInstancedArrays()) { - GL_CHECK(glVertexAttribDivisorEXT(glLoc, - gpuAttribute.isInstanced - ? 1 - : 0)); + glVertexAttribDivisorEXT(glLoc, gpuAttribute.isInstanced ? 1 : 0); } } break; } } // for - } // for + } // for if (gpuInputAssembler->gpuIndexBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, - gpuInputAssembler->gpuIndexBuffer->glBuffer)); + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer); } - GL_CHECK(glBindVertexArrayOES(0)); - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); + glBindVertexArrayOES(0); + glBindBuffer(GL_ARRAY_BUFFER, 0); + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); cache->glVAO = 0; cache->glArrayBuffer = 0; cache->glElementArrayBuffer = 0; } if (cache->glVAO != glVAO) { - GL_CHECK(glBindVertexArrayOES(glVAO)); + glBindVertexArrayOES(glVAO); cache->glVAO = glVAO; } } else { @@ -2071,27 +2039,20 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { if (cache->glArrayBuffer != gpuAttribute.glBuffer) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); + glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer); cache->glArrayBuffer = gpuAttribute.glBuffer; } for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - GL_CHECK(glEnableVertexAttribArray(glLoc)); + glEnableVertexAttribArray(glLoc); cache->glEnabledAttribLocs[glLoc] = true; cache->glCurrentAttribLocs[glLoc] = true; - GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, - gpuAttribute.glType, - gpuAttribute.isNormalized, - gpuAttribute.stride, - BUFFER_OFFSET(attribOffset))); + glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset)); if (device->useInstancedArrays()) { - GL_CHECK(glVertexAttribDivisorEXT(glLoc, - gpuAttribute.isInstanced - ? 1 - : 0)); + glVertexAttribDivisorEXT(glLoc, gpuAttribute.isInstanced ? 1 : 0); } } break; @@ -2100,22 +2061,20 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } // for if (gpuInputAssembler->gpuIndexBuffer) { - if (cache->glElementArrayBuffer != - gpuInputAssembler->gpuIndexBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, - gpuInputAssembler->gpuIndexBuffer->glBuffer)); + if (cache->glElementArrayBuffer != gpuInputAssembler->gpuIndexBuffer->glBuffer) { + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer); cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; } } for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { if (cache->glEnabledAttribLocs[a] != cache->glCurrentAttribLocs[a]) { - GL_CHECK(glDisableVertexAttribArray(a)); + glDisableVertexAttribArray(a); cache->glEnabledAttribLocs[a] = false; } } - } - } // if + } // if + } if (gpuPipelineState && !gpuPipelineState->dynamicStates.empty()) { for (DynamicStateFlagBit dynamicState : gpuPipelineState->dynamicStates) { @@ -2123,35 +2082,33 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case DynamicStateFlagBit::VIEWPORT: if (cache->viewport != viewport) { cache->viewport = viewport; - GL_CHECK(glViewport(viewport.left, viewport.top, viewport.width, - viewport.height)); + glViewport(viewport.left, viewport.top, viewport.width, viewport.height); } break; case DynamicStateFlagBit::SCISSOR: if (cache->scissor != scissor) { cache->scissor = scissor; - GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, - scissor.height)); + glScissor(scissor.x, scissor.y, scissor.width, scissor.height); } break; case DynamicStateFlagBit::LINE_WIDTH: if (cache->rs.lineWidth != lineWidth) { cache->rs.lineWidth = lineWidth; - GL_CHECK(glLineWidth(lineWidth)); + glLineWidth(lineWidth); } break; case DynamicStateFlagBit::DEPTH_BIAS: if ((bool)cache->rs.depthBiasEnabled != depthBiasEnabled) { if (depthBiasEnabled) - GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); + glEnable(GL_POLYGON_OFFSET_FILL); else - GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); + glDisable(GL_POLYGON_OFFSET_FILL); cache->rs.depthBiasEnabled = depthBiasEnabled; } if ((cache->rs.depthBias != depthBias.constant) || (cache->rs.depthBiasSlop != depthBias.slope)) { - GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); + glPolygonOffset(depthBias.constant, depthBias.slope); cache->rs.depthBias = depthBias.constant; cache->rs.depthBiasSlop = depthBias.slope; } @@ -2161,37 +2118,31 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli (cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y) || (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { - GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + glBlendColor(gpuPipelineState->bs.blendColor.x, + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } break; case DynamicStateFlagBit::STENCIL_WRITE_MASK: switch (stencilWriteMask.face) { case StencilFace::FRONT: - if (cache->dss.stencilWriteMaskFront != - stencilWriteMask.writeMask) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, - stencilWriteMask.writeMask)); + if (cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) { + glStencilMaskSeparate(GL_FRONT, stencilWriteMask.writeMask); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; } break; case StencilFace::BACK: - if (cache->dss.stencilWriteMaskBack != - stencilWriteMask.writeMask) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, - stencilWriteMask.writeMask)); + if (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask) { + glStencilMaskSeparate(GL_BACK, stencilWriteMask.writeMask); cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } break; case StencilFace::ALL: - if ((cache->dss.stencilWriteMaskFront != - stencilWriteMask.writeMask) || - (cache->dss.stencilWriteMaskBack != - stencilWriteMask.writeMask)) { - GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); + if ((cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) || + (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask)) { + glStencilMask(stencilWriteMask.writeMask); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } @@ -2201,48 +2152,40 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case DynamicStateFlagBit::STENCIL_COMPARE_MASK: switch (stencilCompareMask.face) { case StencilFace::FRONT: - if ((cache->dss.stencilRefFront != - (uint)stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskFront != - stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask)) { + glStencilFuncSeparate(GL_FRONT, + GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; } break; case StencilFace::BACK: - if ((cache->dss.stencilRefBack != - (uint)stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskBack != - stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + if ((cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { + glStencilFuncSeparate(GL_BACK, + GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask); cache->dss.stencilRefBack = stencilCompareMask.refrence; cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } break; case StencilFace::ALL: - if ((cache->dss.stencilRefFront != - (uint)stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskFront != - stencilCompareMask.compareMask) || - (cache->dss.stencilRefBack != - (uint)stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskBack != - stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask) || + (cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { + glStencilFuncSeparate(GL_FRONT, + GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask); + glStencilFuncSeparate(GL_BACK, + GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; cache->dss.stencilRefBack = stencilCompareMask.refrence; @@ -2255,12 +2198,11 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli CC_LOG_ERROR("Invalid dynamic states."); break; } // switch - } // for - } // if + } // for + } // if } void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { - GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES2GPUPipelineState *gpuPipelineState = gfxStateCache.gpuPipelineState; GLES2GPUInputAssembler *gpuInputAssembler = gfxStateCache.gpuInputAssembler; GLenum glPrimitive = gfxStateCache.glPrimitive; @@ -2273,19 +2215,19 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { uint8_t *offset = 0; offset += drawInfo.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { - GL_CHECK(glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset)); + glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset); } else { if (device->useDrawInstanced()) { - GL_CHECK(glDrawElementsInstancedEXT(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset, drawInfo.instanceCount)); + glDrawElementsInstancedEXT(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset, drawInfo.instanceCount); } } } } else if (drawInfo.vertexCount > 0) { if (drawInfo.instanceCount == 0) { - GL_CHECK(glDrawArrays(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount)); + glDrawArrays(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount); } else { if (device->useDrawInstanced()) { - GL_CHECK(glDrawArraysInstancedEXT(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount, drawInfo.instanceCount)); + glDrawArraysInstancedEXT(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount, drawInfo.instanceCount); } } } @@ -2297,19 +2239,19 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { uint8_t *offset = 0; offset += draw.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { - GL_CHECK(glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset)); + glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset); } else { if (device->useDrawInstanced()) { - GL_CHECK(glDrawElementsInstancedEXT(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset, draw.instanceCount)); + glDrawElementsInstancedEXT(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset, draw.instanceCount); } } } } else if (draw.vertexCount > 0) { if (draw.instanceCount == 0) { - GL_CHECK(glDrawArrays(glPrimitive, draw.firstIndex, draw.vertexCount)); + glDrawArrays(glPrimitive, draw.firstIndex, draw.vertexCount); } else { if (device->useDrawInstanced()) { - GL_CHECK(glDrawArraysInstancedEXT(glPrimitive, draw.firstIndex, draw.vertexCount, draw.instanceCount)); + glDrawArraysInstancedEXT(glPrimitive, draw.firstIndex, draw.vertexCount, draw.instanceCount); } } } @@ -2319,7 +2261,6 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { } void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { - GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; CCASSERT(buffer, "Buffer should not be nullptr"); if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { memcpy(gpuBuffer->buffer + offset, buffer, size); @@ -2332,21 +2273,31 @@ void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, co case GL_ARRAY_BUFFER: { if (device->useVAO()) { if (device->stateCache()->glVAO) { - GL_CHECK(glBindVertexArrayOES(0)); + glBindVertexArrayOES(0); device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } if (device->stateCache()->glArrayBuffer != gpuBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuBuffer->glBuffer)); + glBindBuffer(GL_ARRAY_BUFFER, gpuBuffer->glBuffer); device->stateCache()->glArrayBuffer = gpuBuffer->glBuffer; } - GL_CHECK(glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer)); + glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer); break; } - case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { - GLES2CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; - GLES2CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); + case GL_ELEMENT_ARRAY_BUFFER: { + if (device->useVAO()) { + if (device->stateCache()->glVAO) { + glBindVertexArrayOES(0); + device->stateCache()->glVAO = 0; + gfxStateCache.gpuInputAssembler = nullptr; + } + } + if (device->stateCache()->glElementArrayBuffer != gpuBuffer->glBuffer) { + glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuBuffer->glBuffer); + device->stateCache()->glElementArrayBuffer = gpuBuffer->glBuffer; + } + glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer); break; } default: @@ -2563,5 +2514,50 @@ void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { } } +void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { + static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; + memset(cmdIndices, 0, sizeof(cmdIndices)); + + for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { + GFXCmdType cmdType = cmdPackage->cmds[i]; + uint &cmdIdx = cmdIndices[(int)cmdType]; + + switch (cmdType) { + case GFXCmdType::BEGIN_RENDER_PASS: { + GLES2CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; + GLES2CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); + break; + } + case GFXCmdType::END_RENDER_PASS: { + GLES2CmdFuncEndRenderPass(device); + break; + } + case GFXCmdType::BIND_STATES: { + GLES2CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; + GLES2CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); + break; + } // namespace gfx + case GFXCmdType::DRAW: { + GLES2CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; + GLES2CmdFuncDraw(device, cmd->drawInfo); + break; + } + case GFXCmdType::UPDATE_BUFFER: { + GLES2CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; + GLES2CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); + break; + } + case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { + GLES2CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; + GLES2CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); + break; + } + default: + break; + } + cmdIdx++; + } +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index 870275a108..7ec72265ff 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -31,7 +31,18 @@ namespace gfx { class GLES2Device; -struct GLES2DepthBias final { +struct GLES2ObjectCache { + size_t numClearColors = 0u; + GLES2GPURenderPass *gpuRenderPass = nullptr; + GLES2GPUFramebuffer *gpuFramebuffer = nullptr; + GLES2GPUPipelineState *gpuPipelineState = nullptr; + GLES2GPUInputAssembler *gpuInputAssembler = nullptr; + bool reverseCW = false; + GLenum glPrimitive = 0; + GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; +}; + +struct GLES2DepthBias { float constant = 0.0f; float clamp = 0.0f; float slope = 0.0f; @@ -104,7 +115,7 @@ public: GLES2GPUPipelineState *gpuPipelineState = nullptr; GLES2GPUInputAssembler *gpuInputAssembler = nullptr; vector gpuDescriptorSets; - vector dynamicOffsets; + vector dynamicOffsets; Viewport viewport; Rect scissor; float lineWidth = 1.0f; @@ -231,7 +242,7 @@ CC_GLES2_API void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURende const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil); CC_GLES2_API void GLES2CmdFuncEndRenderPass(GLES2Device *device); CC_GLES2_API void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipelineState, GLES2GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, + vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES2DepthBias &depthBias, Color &blendConstants, GLES2DepthBounds &depthBounds, GLES2StencilWriteMask &stencilWriteMask, GLES2StencilCompareMask &stencilCompareMask); CC_GLES2_API void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 4c2ba82715..a31fabc483 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -242,7 +242,7 @@ void GLES2Device::setImmediateMode(bool immediateMode) { } CommandBuffer *GLES2Device::createCommandBuffer() { - return CC_NEW(GLES2CommandBuffer(this)); + return CC_NEW(GLES2PrimaryCommandBuffer(this)); } Fence *GLES2Device::createFence() { diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp index 1218dfbca3..6590fdb4ad 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp @@ -55,7 +55,7 @@ bool GLES2PipelineLayout::initialize(const PipelineLayoutInfo &info) { for (uint j = 0u; j < dynamicCount; j++) { uint binding = gpuSetLayout->dynamicBindings[j]; - if (indices[binding] < 0) indices[binding] = offset + j; + if (indices[binding] < 0) indices[binding] = j; } _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->setLayouts.push_back(gpuSetLayout); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 9b5c46cba6..2a5ec517f6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -1,26 +1,3 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ #include "GLES2Std.h" #include "GLES2Buffer.h" @@ -43,7 +20,7 @@ GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer(Device *device) GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { } -void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { _isInRenderPass = true; GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); @@ -62,15 +39,7 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { (_type == CommandBufferType::SECONDARY)) { if (_isStateInvalid) { - vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); - count = std::min(count, _curDynamicOffsets[i].size()); - if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); - } - GLES2CmdFuncBindState((GLES2Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, + GLES2CmdFuncBindState((GLES2Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, _curDynamicOffsets, _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); _isStateInvalid = false; @@ -102,13 +71,13 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { } } -void GLES2PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { +void GLES2PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { GLES2GPUBuffer *gpuBuffer = ((GLES2Buffer *)buff)->gpuBuffer(); if (gpuBuffer) { - GLES2CmdFuncUpdateBuffer((GLES2Device *)_device, gpuBuffer, data, 0u, size); + GLES2CmdFuncUpdateBuffer((GLES2Device *)_device, gpuBuffer, data, offset, size); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); @@ -131,16 +100,11 @@ void GLES2PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe void GLES2PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES2PrimaryCommandBuffer *cmdBuff = (GLES2PrimaryCommandBuffer *)cmdBuffs[i]; - GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdBuff->_cmdPackage); - GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); - - _numDrawCalls += cmdBuff->_numDrawCalls; - _numInstances += cmdBuff->_numInstances; - _numTriangles += cmdBuff->_numTriangles; - - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); + _numDrawCalls += cmdBuff->getNumDrawCalls(); + _numInstances += cmdBuff->getNumInstances(); + _numTriangles += cmdBuff->getNumTris(); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index 72740b3ecc..61cb07f21c 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -1,26 +1,3 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ #ifndef CC_GFXGLES2_PRIMARY_COMMAND_BUFFER_H_ #define CC_GFXGLES2_PRIMARY_COMMAND_BUFFER_H_ @@ -29,17 +6,17 @@ THE SOFTWARE. namespace cc { namespace gfx { -class CC_GLES2_API GLES2PrimaryCommandBuffer final : public GLES2CommandBuffer { +class CC_GLES2_API GLES2PrimaryCommandBuffer : public GLES2CommandBuffer { friend class GLES2Queue; public: GLES2PrimaryCommandBuffer(Device *device); ~GLES2PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; + virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index 9a1c364673..7a2e1f0384 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -48,17 +48,11 @@ void GLES2Queue::destroy() { void GLES2Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { if (!_isAsync) { for (uint i = 0; i < count; ++i) { - GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; - GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - - GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); - - _numDrawCalls += cmdBuff->_numDrawCalls; - _numInstances += cmdBuff->_numInstances; - _numTriangles += cmdBuff->_numTriangles; - - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); + GLES2CommandBuffer *cmdBuffer = (GLES2CommandBuffer *)cmdBuffs[i]; +// GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdBuffer->_cmdPackage); + _numDrawCalls += cmdBuffer->_numDrawCalls; + _numInstances += cmdBuffer->_numInstances; + _numTriangles += cmdBuffer->_numTriangles; } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 049f457fb9..09e757e69d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -2041,7 +2041,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } } // if - if (gpuPipelineState) { + if (gpuPipelineState && !gpuPipelineState->dynamicStates.empty()) { for (DynamicStateFlagBit dynamicState : gpuPipelineState->dynamicStates) { switch (dynamicState) { case DynamicStateFlagBit::VIEWPORT: diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 001a5eb449..16d2dd14e5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -171,6 +171,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_stencilBits); _gpuStateCache->initialize(_maxTextureUnits, _maxUniformBufferBindings, _maxVertexAttributes); + _initContext->MakeCurrent(false); return true; } @@ -219,31 +220,18 @@ void GLES3Device::setImmediateMode(bool immediateMode) { _renderContext->MakeCurrent(false); _initContext->MakeCurrent(); } else { - _initContext->MakeCurrent(false); - /*if (!_renderContext) { - ENCODE_COMMAND_1( - getMainEncoder(), - DeviceInitThread, - device, this, - { + if (!_renderContext) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; ctxInfo.sharedCtx = _initContext; - device->_renderContext = CC_NEW(GLES3Context(device)); - device->_renderContext->initialize(ctxInfo); - device->_context = device->_renderContext; - }); + _renderContext = CC_NEW(GLES3Context(this)); + _renderContext->initialize(ctxInfo); + _context = _renderContext; } else { - ENCODE_COMMAND_1( - getMainEncoder(), - DeviceInitThread, - device, this, - { _renderContext->MakeCurrent(); - }); - }*/ + } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 984498fb02..6a24cb3e29 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -39,7 +39,10 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { (_type == CommandBufferType::SECONDARY)) { if (_isStateInvalid) { - BindStates(); + GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, _curDynamicOffsets, + _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); + + _isStateInvalid = false; } DrawInfo drawInfo; @@ -105,12 +108,5 @@ void GLES3PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, ui } } -void GLES3PrimaryCommandBuffer::BindStates() { - GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, _curDynamicOffsets, - _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); - - _isStateInvalid = false; -} - } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 2215d6a825..bd2d387622 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -19,11 +19,6 @@ public: virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; - -protected: - virtual void BindStates() override; - -private: }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index efe55d7678..45e583aca6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -49,7 +49,7 @@ void GLES3Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence if (!_isAsync) { for (uint i = 0; i < count; ++i) { GLES3CommandBuffer *cmdBuffer = (GLES3CommandBuffer *)cmdBuffs[i]; - //GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdBuffer->_cmdPackage); +// GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdBuffer->_cmdPackage); _numDrawCalls += cmdBuffer->_numDrawCalls; _numInstances += cmdBuffer->_numInstances; _numTriangles += cmdBuffer->_numTriangles; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 5f6a2ec560..07043bf98e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -56,8 +56,7 @@ bool CCVKCommandBuffer::initialize(const CommandBufferInfo &info) { size_t setCount = ((CCVKDevice *)_device)->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); - _curVkDescriptorSets.resize(setCount); - _curDynamicOffsetPtrs.resize(setCount); + _curDynamicOffsets.resize(setCount); _curDynamicOffsetCounts.resize(setCount); return true; @@ -209,7 +208,7 @@ void CCVKCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet } } if (dynamicOffsetCount) { - _curDynamicOffsetPtrs[set] = dynamicOffsets; + _curDynamicOffsets[set] = dynamicOffsets; _curDynamicOffsetCounts[set] = dynamicOffsetCount; if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } @@ -474,8 +473,9 @@ void CCVKCommandBuffer::bindDescriptorSets() { for (uint i = 0u, offsetAcc = 0u; i < dirtyDescriptorSetCount; i++) { uint set = _firstDirtyDescriptorSet + i; uint offsetCount = pipelineLayout->dynamicOffsetOffsets[set + 1] - dynamicOffsetStartIndex; - if (_curDynamicOffsets[set].size() && offsetCount > 0) { - memcpy(dynamicOffsets + offsetAcc, _curDynamicOffsets[set].data(), offsetCount * sizeof(uint)); + CCASSERT(_curDynamicOffsetCounts[set] == offsetCount, "dynamic offset count mismatch"); + if (offsetCount > 0) { + memcpy(dynamicOffsets + offsetAcc, _curDynamicOffsets[set], offsetCount * sizeof(uint)); offsetAcc += offsetCount; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 521db777d5..cecd7e1c1c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -69,9 +69,7 @@ private: CCVKGPUPipelineState *_curGPUPipelineState = nullptr; vector _curGPUDescriptorSets; - vector _curVkDescriptorSets; - vector _curDynamicOffsets; - vector _curDynamicOffsetPtrs; + vector _curDynamicOffsets; vector _curDynamicOffsetCounts; uint _firstDirtyDescriptorSet = UINT_MAX; uint _firstDifferentDescriptorSet = UINT_MAX; From e3880565393dc767ce3c41e2d6a12a128769ae07 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 27 Nov 2020 19:55:57 +0800 Subject: [PATCH 029/270] runtime multithread switch --- .../core/gfx-proxy/GFXDeviceProxy.cpp | 33 ++++++++++--- .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 7 ++- native/cocos/renderer/core/gfx/GFXDevice.h | 20 +------- .../renderer/core/thread/CommandEncoder.cpp | 5 +- .../renderer/core/thread/CommandEncoder.h | 5 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 10 +++- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 11 ----- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 31 +++++++----- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 41 ++++++++++------ native/cocos/renderer/gfx-gles2/GLES2Device.h | 21 +------- .../renderer/gfx-gles2/GLES2GPUObjects.h | 10 +--- .../renderer/gfx-gles3/GLES3Commands.cpp | 10 +++- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 11 ----- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 13 ++--- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 49 +++++++++++-------- native/cocos/renderer/gfx-gles3/GLES3Device.h | 19 +------ .../renderer/gfx-gles3/GLES3GPUObjects.h | 10 +--- 17 files changed, 145 insertions(+), 161 deletions(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 19ed392174..0cfa7f1180 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -77,12 +77,7 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { context.encoder->RunConsumerThread(); } - ENCODE_COMMAND_1( - _mainEncoder, DeviceMakeCurrent, - remote, _remote, - { - remote->setImmediateMode(false); - }); + setMultithreaded(true); return true; } @@ -158,6 +153,32 @@ void DeviceProxy::present() { encoder->FinishWriting(); } +void DeviceProxy::setMultithreaded(bool multithreaded) { + if (multithreaded == _multithreaded) return; + _multithreaded = multithreaded; + + if (multithreaded) { + _mainEncoder->SetImmediateMode(false); + ((DeviceProxy *) _remote)->bindRenderContext(false); + ENCODE_COMMAND_1( + _mainEncoder, DeviceMakeCurrent, + remote, (DeviceProxy*)_remote, + { + remote->bindDeviceContext(true); + }); + } else { + ENCODE_COMMAND_1( + _mainEncoder, DeviceMakeCurrent, + remote, (DeviceProxy*)_remote, + { + remote->bindDeviceContext(false); + }); + _mainEncoder->FinishWriting(true); // wait till finished + _mainEncoder->SetImmediateMode(true); + ((DeviceProxy *) _remote)->bindRenderContext(true); + } +} + CommandBuffer *DeviceProxy::createCommandBuffer() { CommandBuffer *remote = _remote->createCommandBuffer(); CommandBufferProxy *proxy = CC_NEW(CommandBufferProxy(remote, this)); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index 963e1eb403..c63d38e52e 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -44,7 +44,8 @@ public: virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void setImmediateMode(bool immediateMode) override { return _remote->setImmediateMode(immediateMode); } + + virtual void setMultithreaded(bool multithreaded) override; virtual SurfaceTransform getSurfaceTransform() const override { return _remote->getSurfaceTransform(); } virtual uint getWidth() const override { return _remote->getWidth(); } virtual uint getHeight() const override { return _remote->getHeight(); } @@ -58,7 +59,9 @@ public: CommandEncoder *getMainEncoder() const { return _mainEncoder; } protected: - CommandEncoder *_mainEncoder = nullptr; + + bool _multithreaded{false}; + CommandEncoder *_mainEncoder{nullptr}; vector _contexts{}; Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index b5700601a3..21f63ba441 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -70,7 +70,7 @@ public: copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size()) ); } - virtual void setImmediateMode(bool immediateMode) {} + virtual void setMultithreaded(bool multithreaded) {} virtual SurfaceTransform getSurfaceTransform() const { return _transform; } virtual uint getWidth() const { return _width; } virtual uint getHeight() const { return _height; } @@ -110,24 +110,6 @@ public: CC_INLINE uint genShaderId() { return _shaderIdGen++; } protected: - friend class DeviceAgent; - - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) = 0; - virtual Fence *createFence() = 0; - virtual Queue *createQueue() = 0; - virtual Buffer *createBuffer() = 0; - virtual Texture *createTexture() = 0; - virtual Sampler *createSampler() = 0; - virtual Shader *createShader() = 0; - virtual InputAssembler *createInputAssembler() = 0; - virtual RenderPass *createRenderPass() = 0; - virtual Framebuffer *createFramebuffer() = 0; - virtual DescriptorSet *createDescriptorSet() = 0; - virtual DescriptorSetLayout *createDescriptorSetLayout() = 0; - virtual PipelineLayout *createPipelineLayout() = 0; - virtual PipelineState *createPipelineState() = 0; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) = 0; - virtual void bindRenderContext(bool bound) {} virtual void bindDeviceContext(bool bound) {} diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index 2aabd229e9..42d25966fe 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -150,7 +150,7 @@ void CommandEncoder::TerminateConsumerThread() noexcept event.Wait(); } -void CommandEncoder::FinishWriting() noexcept +void CommandEncoder::FinishWriting(bool wait) noexcept { if (!mImmediateMode) { @@ -162,7 +162,8 @@ void CommandEncoder::FinishWriting() noexcept *flushingFinished = true; }); - Kick(); + if (wait) KickAndWait(); + else Kick(); } } diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/renderer/core/thread/CommandEncoder.h index eb8990c341..7ebb4d8117 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/renderer/core/thread/CommandEncoder.h @@ -105,10 +105,11 @@ public: // 只支持单消费者 void RunConsumerThread() noexcept; void TerminateConsumerThread() noexcept; - void FinishWriting() noexcept; + void FinishWriting(bool wait) noexcept; void FlushCommands() noexcept; inline bool IsImmediateMode() const noexcept { return mImmediateMode; } + inline void FinishWriting() noexcept { FinishWriting(false); } void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; static void FreeChunksInFreeQueue(CommandEncoder* const mainCommandbuffer) noexcept; @@ -159,7 +160,7 @@ private: WriterContext mW; ReaderContext mR; EventCV mN; - bool mImmediateMode { false }; + bool mImmediateMode { true }; bool mWorkerAttached { false }; bool mFreeChunksByUser { true }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index e64c0c4b28..56a294e86f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1345,6 +1345,7 @@ void GLES2CmdFuncDestroyFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gp void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRenderPass, GLES2GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { + GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; gfxStateCache.gpuRenderPass = gpuRenderPass; gfxStateCache.gpuFramebuffer = gpuFramebuffer; gfxStateCache.numClearColors = numClearColors; @@ -1492,6 +1493,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } void GLES2CmdFuncEndRenderPass(GLES2Device *device) { + GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; size_t numClearColors = gfxStateCache.numClearColors; GLES2GPURenderPass *gpuRenderPass = gfxStateCache.gpuRenderPass; GLES2GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; @@ -1549,6 +1551,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES2DepthBias &depthBias, Color &blendConstants, GLES2DepthBounds &depthBounds, GLES2StencilWriteMask &stencilWriteMask, GLES2StencilCompareMask &stencilCompareMask) { + GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES2GPUStateCache *cache = device->stateCache(); bool isShaderChanged = false; @@ -1980,10 +1983,11 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { gfxStateCache.gpuInputAssembler = gpuInputAssembler; if (device->useVAO()) { - GLuint glVAO = gpuInputAssembler->glVAOs[gpuPipelineState->gpuShader->glProgram]; + GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); + GLuint glVAO = gpuInputAssembler->glVAOs[hash]; if (!glVAO) { glGenVertexArraysOES(1, &glVAO); - gpuInputAssembler->glVAOs[gpuPipelineState->gpuShader->glProgram] = glVAO; + gpuInputAssembler->glVAOs[hash] = glVAO; glBindVertexArrayOES(glVAO); glBindBuffer(GL_ARRAY_BUFFER, 0); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); @@ -2203,6 +2207,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { + GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES2GPUPipelineState *gpuPipelineState = gfxStateCache.gpuPipelineState; GLES2GPUInputAssembler *gpuInputAssembler = gfxStateCache.gpuInputAssembler; GLenum glPrimitive = gfxStateCache.glPrimitive; @@ -2261,6 +2266,7 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { } void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { + GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; CCASSERT(buffer, "Buffer should not be nullptr"); if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { memcpy(gpuBuffer->buffer + offset, buffer, size); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index 7ec72265ff..7802b74f27 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -31,17 +31,6 @@ namespace gfx { class GLES2Device; -struct GLES2ObjectCache { - size_t numClearColors = 0u; - GLES2GPURenderPass *gpuRenderPass = nullptr; - GLES2GPUFramebuffer *gpuFramebuffer = nullptr; - GLES2GPUPipelineState *gpuPipelineState = nullptr; - GLES2GPUInputAssembler *gpuInputAssembler = nullptr; - bool reverseCW = false; - GLenum glPrimitive = 0; - GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; -}; - struct GLES2DepthBias { float constant = 0.0f; float clamp = 0.0f; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index a5cff2b63e..a78505b186 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -32,16 +32,17 @@ THE SOFTWARE. #include "cocos/bindings/event/EventDispatcher.h" #endif + namespace cc { namespace gfx { #if CC_DEBUG > 0 -void GL_APIENTRY GLES2EGLDebugProc(GLenum source, - GLenum type, GLuint id, - GLenum severity, GLsizei length, - const GLchar *message, - const void *userParam) { +void GLES2EGLDebugProc(GLenum source, + GLenum type, GLuint id, + GLenum severity, GLsizei length, + const GLchar *message, + const void *userParam) { String sourceDesc; switch (source) { case GL_DEBUG_SOURCE_API_KHR: sourceDesc = "API"; break; @@ -246,6 +247,11 @@ bool GLES2Context::initialize(const ContextInfo &info) { ctxAttribs[n++] = _majorVersion; ctxAttribs[n++] = EGL_CONTEXT_MINOR_VERSION_KHR; ctxAttribs[n++] = _minorVersion; + + #if CC_DEBUG > 0 + ctxAttribs[n++] = EGL_CONTEXT_FLAGS_KHR; + ctxAttribs[n++] = EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR; + #endif ctxAttribs[n] = EGL_NONE; } else { ctxAttribs[n++] = EGL_CONTEXT_CLIENT_VERSION; @@ -305,6 +311,8 @@ bool GLES2Context::initialize(const ContextInfo &info) { _depthStencilFmt = sharedCtx->getDepthStencilFormat(); _majorVersion = sharedCtx->major_ver(); _minorVersion = sharedCtx->minor_ver(); + _extensions = sharedCtx->_extensions; + _isInitialized = sharedCtx->_isInitialized; bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); if (!hasKHRCreateCtx) { @@ -322,7 +330,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { ctxAttribs[n++] = EGL_CONTEXT_MINOR_VERSION_KHR; ctxAttribs[n++] = _minorVersion; - #if CC_DEBUG > 0 + #ifdef CC_DEBUG > 0 ctxAttribs[n++] = EGL_CONTEXT_FLAGS_KHR; ctxAttribs[n++] = EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR; #endif @@ -340,7 +348,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { } } - return MakeCurrent(); + return true; } @@ -386,6 +394,7 @@ void GLES2Context::present() { bool GLES2Context::MakeCurrent(bool bound) { if (!bound) { + CC_LOG_DEBUG("eglMakeCurrent() - UNBOUNDED, Context: 0x%p", this); return MakeCurrentImpl(false); } @@ -410,10 +419,10 @@ bool GLES2Context::MakeCurrent(bool bound) { } #endif -#if CC_DEBUG > 0 && CC_PLATFORM != CC_PLATFORM_MAC_IOS - GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); - GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); - GL_CHECK(glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL)); +#if CC_DEBUG > 0 + glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR); + glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE); + glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL); #endif _isInitialized = true; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index a31fabc483..cce2f2bc45 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -74,8 +74,8 @@ bool GLES2Device::initialize(const DeviceInfo &info) { ctxInfo.windowHandle = _windowHandle; ctxInfo.sharedCtx = info.sharedCtx; - _initContext = CC_NEW(GLES2Context(this)); - if (!_initContext->initialize(ctxInfo)) { + _renderContext = CC_NEW(GLES2Context(this)); + if (!_renderContext->initialize(ctxInfo)) { destroy(); return false; } @@ -181,9 +181,6 @@ bool GLES2Device::initialize(const DeviceInfo &info) { _gpuStateCache->initialize(_maxTextureUnits, _maxVertexAttributes); - _initContext->MakeCurrent(false); - _context = _initContext; - return true; } @@ -200,8 +197,8 @@ void GLES2Device::destroy() { CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); + CC_SAFE_DESTROY(_deviceContext); CC_SAFE_DESTROY(_renderContext); - CC_SAFE_DESTROY(_initContext); } void GLES2Device::resize(uint width, uint height) { @@ -227,17 +224,33 @@ void GLES2Device::present() { queue->_numTriangles = 0; } -void GLES2Device::setImmediateMode(bool immediateMode) { - if (!_renderContext) { +void GLES2Device::bindRenderContext(bool bound) { + _renderContext->MakeCurrent(bound); + _context = bound ? _renderContext : nullptr; + + if (bound) { + std::hash hasher; + _threadID = hasher(std::this_thread::get_id()); + _gpuStateCache->reset(); + } +} + +void GLES2Device::bindDeviceContext(bool bound) { + if (!_deviceContext) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = _initContext; + ctxInfo.sharedCtx = _renderContext; - _renderContext = CC_NEW(GLES2Context(this)); - _renderContext->initialize(ctxInfo); - _context = _renderContext; - } else { - _renderContext->MakeCurrent(); + _deviceContext = CC_NEW(GLES2Context(this)); + _deviceContext->initialize(ctxInfo); + } + _deviceContext->MakeCurrent(bound); + _context = bound ? _deviceContext : nullptr; + + if (bound) { + std::hash hasher; + _threadID = hasher(std::this_thread::get_id()); + _gpuStateCache->reset(); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index fa190afb27..9614a99532 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -80,7 +80,6 @@ public: virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void setImmediateMode(bool immediateMode) override; CC_INLINE bool useVAO() const { return _useVAO; } CC_INLINE bool useDrawInstanced() const { return _useDrawInstanced; } @@ -102,22 +101,6 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void bindRenderContext(bool bound) override; virtual void bindDeviceContext(bool bound) override; @@ -125,8 +108,8 @@ private: bool checkForETC2() const; - GLES2Context *_initContext = nullptr; GLES2Context *_renderContext = nullptr; + GLES2Context *_deviceContext = nullptr; GLES2GPUStateCache *_gpuStateCache = nullptr; GLES2GPUStagingBufferPool *_gpuStagingBufferPool = nullptr; @@ -137,7 +120,7 @@ private: bool _useInstancedArrays = false; bool _useDiscardFramebuffer = false; - uint _threadID = 0u; + uint _threadID; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index da5c395f8a..faee2e544a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -290,7 +290,7 @@ class GLES2GPUFence final : public Object { public: }; -struct GLES2ObjectCache final { +struct GLES2ObjectCache { size_t numClearColors = 0u; GLES2GPURenderPass *gpuRenderPass = nullptr; GLES2GPUFramebuffer *gpuFramebuffer = nullptr; @@ -301,7 +301,7 @@ struct GLES2ObjectCache final { GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; }; -class GLES2GPUStateCache final : public Object { +class GLES2GPUStateCache : public Object { public: GLuint glArrayBuffer = 0; GLuint glElementArrayBuffer = 0; @@ -345,12 +345,6 @@ public: isCullFaceEnabled = true; isStencilTestEnabled = false; - viewport = Viewport(); - scissor = Rect(); - rs = RasterizerState(); - dss = DepthStencilState(); - bs = BlendState(); - gfxStateCache.gpuPipelineState = nullptr; gfxStateCache.numClearColors = 0u; gfxStateCache.gpuRenderPass = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 09e757e69d..208a2da611 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1453,6 +1453,7 @@ void GLES3CmdFuncDestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gp } void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRenderPass, GLES3GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { + GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; gfxStateCache.gpuRenderPass = gpuRenderPass; gfxStateCache.gpuFramebuffer = gpuFramebuffer; gfxStateCache.numClearColors = numClearColors; @@ -1608,6 +1609,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } void GLES3CmdFuncEndRenderPass(GLES3Device *device) { + GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; size_t numClearColors = gfxStateCache.numClearColors; GLES3GPURenderPass *gpuRenderPass = gfxStateCache.gpuRenderPass; GLES3GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; @@ -1665,6 +1667,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES3DepthBias &depthBias, Color &blendConstants, GLES3DepthBounds &depthBounds, GLES3StencilWriteMask &stencilWriteMask, GLES3StencilCompareMask &stencilCompareMask) { + GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES3GPUStateCache *cache = device->stateCache(); bool isShaderChanged = false; @@ -1951,10 +1954,11 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { gfxStateCache.gpuInputAssembler = gpuInputAssembler; if (USE_VAO) { - GLuint glVAO = gpuInputAssembler->glVAOs[gpuPipelineState->gpuShader->glProgram]; + GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); + GLuint glVAO = gpuInputAssembler->glVAOs[hash]; if (!glVAO) { glGenVertexArrays(1, &glVAO); - gpuInputAssembler->glVAOs[gpuPipelineState->gpuShader->glProgram] = glVAO; + gpuInputAssembler->glVAOs[hash] = glVAO; glBindVertexArray(glVAO); glBindBuffer(GL_ARRAY_BUFFER, 0); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); @@ -2168,6 +2172,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { + GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES3GPUPipelineState *gpuPipelineState = gfxStateCache.gpuPipelineState; GLES3GPUInputAssembler *gpuInputAssembler = gfxStateCache.gpuInputAssembler; GLenum glPrimitive = gfxStateCache.glPrimitive; @@ -2217,6 +2222,7 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { } void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { + GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { memcpy((uint8_t *)gpuBuffer->indirects.data() + offset, buffer, size); } else if (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 0c47dc2537..d5f2d12372 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -31,17 +31,6 @@ namespace gfx { class GLES3Device; -struct GLES3ObjectCache { - size_t numClearColors = 0u; - GLES3GPURenderPass *gpuRenderPass = nullptr; - GLES3GPUFramebuffer *gpuFramebuffer = nullptr; - GLES3GPUPipelineState *gpuPipelineState = nullptr; - GLES3GPUInputAssembler *gpuInputAssembler = nullptr; - bool reverseCW = false; - GLenum glPrimitive = 0; - GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; -}; - struct GLES3DepthBias { float constant = 0.0f; float clamp = 0.0f; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index c1ee4ea903..96cc50ac15 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -37,7 +37,7 @@ namespace gfx { #if CC_DEBUG > 0 -void GL_APIENTRY GLES3EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) { +void GLES3EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) { String sourceDesc; switch (source) { case GL_DEBUG_SOURCE_API_KHR: sourceDesc = "API"; break; @@ -344,7 +344,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { } } - return MakeCurrent(); + return true; } void GLES3Context::destroy() { @@ -389,6 +389,7 @@ void GLES3Context::present() { bool GLES3Context::MakeCurrent(bool bound) { if (!bound) { + CC_LOG_DEBUG("eglMakeCurrent() - UNBOUNDED, Context: 0x%p", this); return MakeCurrentImpl(false); } @@ -412,10 +413,10 @@ bool GLES3Context::MakeCurrent(bool bound) { } #endif -#if CC_DEBUG > 0 && CC_PLATFORM != CC_PLATFORM_MAC_IOS - GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); - GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); - GL_CHECK(glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL)); +#if CC_DEBUG > 0 + glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR); + glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE); + glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL); #endif _isInitialized = true; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 16d2dd14e5..9459d947fc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -75,12 +75,12 @@ bool GLES3Device::initialize(const DeviceInfo &info) { ctxInfo.windowHandle = _windowHandle; ctxInfo.sharedCtx = info.sharedCtx; - _initContext = CC_NEW(GLES3Context(this)); - if (!_initContext->initialize(ctxInfo)) { + _renderContext = CC_NEW(GLES3Context(this)); + if (!_renderContext->initialize(ctxInfo)) { destroy(); return false; } - _context = _initContext; + bindRenderContext(true); String extStr = (const char *)glGetString(GL_EXTENSIONS); _extensions = StringUtil::Split(extStr, " "); @@ -171,7 +171,6 @@ bool GLES3Device::initialize(const DeviceInfo &info) { glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_stencilBits); _gpuStateCache->initialize(_maxTextureUnits, _maxUniformBufferBindings, _maxVertexAttributes); - _initContext->MakeCurrent(false); return true; } @@ -188,8 +187,8 @@ void GLES3Device::destroy() { } CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); + CC_SAFE_DESTROY(_deviceContext); CC_SAFE_DESTROY(_renderContext); - CC_SAFE_DESTROY(_initContext); } void GLES3Device::resize(uint width, uint height) { @@ -215,23 +214,33 @@ void GLES3Device::present() { queue->_numTriangles = 0; } -void GLES3Device::setImmediateMode(bool immediateMode) { - if (immediateMode) { - _renderContext->MakeCurrent(false); - _initContext->MakeCurrent(); - } else { +void GLES3Device::bindRenderContext(bool bound) { + _renderContext->MakeCurrent(bound); + _context = bound ? _renderContext : nullptr; - if (!_renderContext) { - ContextInfo ctxInfo; - ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = _initContext; + if (bound) { + std::hash hasher; + _threadID = hasher(std::this_thread::get_id()); + _gpuStateCache->reset(); + } +} - _renderContext = CC_NEW(GLES3Context(this)); - _renderContext->initialize(ctxInfo); - _context = _renderContext; - } else { - _renderContext->MakeCurrent(); - } +void GLES3Device::bindDeviceContext(bool bound) { + if (!_deviceContext) { + ContextInfo ctxInfo; + ctxInfo.windowHandle = _windowHandle; + ctxInfo.sharedCtx = _renderContext; + + _deviceContext = CC_NEW(GLES3Context(this)); + _deviceContext->initialize(ctxInfo); + } + _deviceContext->MakeCurrent(bound); + _context = bound ? _deviceContext : nullptr; + + if (bound) { + std::hash hasher; + _threadID = hasher(std::this_thread::get_id()); + _gpuStateCache->reset(); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 682ecba4cd..3bc194f8f8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -72,7 +72,6 @@ public: virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void setImmediateMode(bool immediateMode) override; CC_INLINE GLES3GPUStateCache *stateCache() const { return _gpuStateCache; } CC_INLINE GLES3GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } @@ -89,28 +88,12 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void bindRenderContext(bool bound) override; virtual void bindDeviceContext(bool bound) override; private: - GLES3Context *_initContext = nullptr; GLES3Context *_renderContext = nullptr; + GLES3Context *_deviceContext = nullptr; GLES3GPUStateCache *_gpuStateCache = nullptr; GLES3GPUStagingBufferPool *_gpuStagingBufferPool = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 54155f4264..1905a879d0 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -256,7 +256,7 @@ class GLES3GPUFence final : public Object { public: }; -struct GLES3ObjectCache final { +struct GLES3ObjectCache { size_t numClearColors = 0u; GLES3GPURenderPass *gpuRenderPass = nullptr; GLES3GPUFramebuffer *gpuFramebuffer = nullptr; @@ -267,7 +267,7 @@ struct GLES3ObjectCache final { GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; }; -class GLES3GPUStateCache final : public Object { +class GLES3GPUStateCache : public Object { public: GLuint glArrayBuffer = 0; GLuint glElementArrayBuffer = 0; @@ -320,12 +320,6 @@ public: isCullFaceEnabled = true; isStencilTestEnabled = false; - viewport = Viewport(); - scissor = Rect(); - rs = RasterizerState(); - dss = DepthStencilState(); - bs = BlendState(); - gfxStateCache.numClearColors = 0u; gfxStateCache.gpuRenderPass = nullptr; gfxStateCache.gpuFramebuffer = nullptr; From 7c4eb33aa7aebe29e945bf9fa0ca8b718b2914c3 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 27 Nov 2020 19:55:57 +0800 Subject: [PATCH 030/270] minor --- native/cocos/platform/mac/View.mm | 8 ++------ native/cocos/renderer/gfx-gles2/GLES2Context.cpp | 2 +- native/cocos/renderer/gfx-gles3/GLES3Context.cpp | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/native/cocos/platform/mac/View.mm b/native/cocos/platform/mac/View.mm index 6d32e648f5..fa3f350392 100644 --- a/native/cocos/platform/mac/View.mm +++ b/native/cocos/platform/mac/View.mm @@ -22,7 +22,7 @@ THE SOFTWARE. ****************************************************************************/ #import "View.h" -#include "tests/Multithread.h" +#include "tests/StressTest.h" #include "tests/ClearScreenTest.h" #include "tests/BasicTriangleTest.h" #include "tests/BasicTextureTest.h" @@ -59,12 +59,10 @@ namespace - (instancetype)initWithFrame:(NSRect)frameRect { if (self = [super initWithFrame:frameRect]) { [self.window makeFirstResponder:self]; -#ifdef USE_METAL self.device = MTLCreateSystemDefaultDevice(); self.depthStencilPixelFormat = MTLPixelFormatDepth24Unorm_Stencil8; self.mtlCommandQueue = [self.device newCommandQueue]; self.delegate = self; -#endif int pixelRatio = 1; #if CC_PLATFORM == CC_PLATFORM_MAC_OSX pixelRatio = [[NSScreen mainScreen] backingScaleFactor]; @@ -87,14 +85,12 @@ namespace return self; } -#ifdef USE_METAL - (void)drawInMTKView:(MTKView *)view { g_test->tick(); } - (void)mtkView:(nonnull MTKView *)view drawableSizeWillChange:(CGSize)size { } -#endif - (void)initTests { static bool first = true; @@ -102,7 +98,7 @@ namespace { using namespace cc; g_tests = { - Multithread::create, + StressTest::create, ClearScreen::create, BasicTriangle::create, BasicTexture::create, diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index a78505b186..6a8a79f794 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -38,7 +38,7 @@ namespace gfx { #if CC_DEBUG > 0 -void GLES2EGLDebugProc(GLenum source, +void GL_APIENTRY GLES2EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 96cc50ac15..9b110c96b4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -37,7 +37,7 @@ namespace gfx { #if CC_DEBUG > 0 -void GLES3EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) { +void GL_APIENTRY GLES3EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam) { String sourceDesc; switch (source) { case GL_DEBUG_SOURCE_API_KHR: sourceDesc = "API"; break; From 82f7d561b12b09f7cfd051428629bf14851b01c9 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sat, 28 Nov 2020 12:31:24 +0800 Subject: [PATCH 031/270] add gl check --- .../core/gfx-proxy/GFXDeviceProxy.cpp | 3 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 263 +++++++---------- native/cocos/renderer/gfx-gles2/GLES2Std.h | 23 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 271 +++++++----------- native/cocos/renderer/gfx-gles3/GLES3Std.h | 13 + native/cocos/renderer/gfx-vulkan/VKStd.h | 14 +- 6 files changed, 244 insertions(+), 343 deletions(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 0cfa7f1180..1a95e4e97a 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -127,11 +127,10 @@ void DeviceProxy::resize(uint width, uint height) { void DeviceProxy::acquire() { _frameBoundarySemaphore.Wait(); CommandEncoder *encoder = getMainEncoder(); - ENCODE_COMMAND_2( + ENCODE_COMMAND_1( encoder, DeviceAcquire, remote, getRemote(), - encoder, encoder, { remote->acquire(); }); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 56a294e86f..f9cb1b589c 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1356,7 +1356,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen if (gpuFramebuffer && gpuRenderPass) { if (cache->glFramebuffer != gpuFramebuffer->glFramebuffer) { - glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer); + GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); cache->glFramebuffer = gpuFramebuffer->glFramebuffer; // render targets are drawn with flipped-Y gfxStateCache.reverseCW = !!gpuFramebuffer->glFramebuffer; @@ -1366,7 +1366,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen cache->viewport.top != renderArea.y || cache->viewport.width != renderArea.width || cache->viewport.height != renderArea.height) { - glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height); + GL_CHECK(glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); cache->viewport.left = renderArea.x; cache->viewport.top = renderArea.y; cache->viewport.width = renderArea.width; @@ -1377,7 +1377,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen cache->scissor.y != renderArea.y || cache->scissor.width != renderArea.width || cache->scissor.height != renderArea.height) { - glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height); + GL_CHECK(glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); cache->scissor.x = renderArea.x; cache->scissor.y = renderArea.y; cache->scissor.width = renderArea.width; @@ -1395,11 +1395,11 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { if (cache->bs.targets[0]->blendColorMask != ColorMask::ALL) { - glColorMask(true, true, true, true); + GL_CHECK(glColorMask(true, true, true, true)); } const Color &color = clearColors[j]; - glClearColor(color.x, color.y, color.z, color.w); + GL_CHECK(glClearColor(color.x, color.y, color.z, color.w)); glClears |= GL_COLOR_BUFFER_BIT; break; } @@ -1419,9 +1419,9 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { - glDepthMask(true); + GL_CHECK(glDepthMask(true)); cache->dss.depthWrite = true; - glClearDepthf(clearDepth); + GL_CHECK(glClearDepthf(clearDepth)); glClears |= GL_DEPTH_BUFFER_BIT; break; } @@ -1439,12 +1439,12 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { if (!cache->dss.stencilWriteMaskFront) { - glStencilMaskSeparate(GL_FRONT, 0xffffffff); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); } if (!cache->dss.stencilWriteMaskBack) { - glStencilMaskSeparate(GL_BACK, 0xffffffff); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); } - glClearStencil(clearStencil); + GL_CHECK(glClearStencil(clearStencil)); glClears |= GL_STENCIL_BUFFER_BIT; break; } @@ -1459,34 +1459,34 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } // if if (numAttachments && device->useDiscardFramebuffer()) { - glDiscardFramebufferEXT(GL_FRAMEBUFFER, numAttachments, invalidAttachments); + GL_CHECK(glDiscardFramebufferEXT(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); } if (glClears) { - glClear(glClears); + GL_CHECK(glClear(glClears)); } // restore states if (glClears & GL_COLOR_BUFFER_BIT) { ColorMask colorMask = cache->bs.targets[0]->blendColorMask; if (colorMask != ColorMask::ALL) { - glColorMask((GLboolean)(colorMask & ColorMask::R), + GL_CHECK(glColorMask((GLboolean)(colorMask & ColorMask::R), (GLboolean)(colorMask & ColorMask::G), (GLboolean)(colorMask & ColorMask::B), - (GLboolean)(colorMask & ColorMask::A)); + (GLboolean)(colorMask & ColorMask::A))); } } if ((glClears & GL_COLOR_BUFFER_BIT) && !cache->dss.depthWrite) { - glDepthMask(false); + GL_CHECK(glDepthMask(false)); } if (glClears & GL_STENCIL_BUFFER_BIT) { if (!cache->dss.stencilWriteMaskFront) { - glStencilMaskSeparate(GL_FRONT, 0); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0)); } if (!cache->dss.stencilWriteMaskBack) { - glStencilMaskSeparate(GL_BACK, 0); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0)); } } } @@ -1543,7 +1543,7 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { } // if if (numAttachments && device->useDiscardFramebuffer()) { - glDiscardFramebufferEXT(GL_FRAMEBUFFER, numAttachments, invalidAttachments); + GL_CHECK(glDiscardFramebufferEXT(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); } } @@ -1565,7 +1565,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (gpuPipelineState->gpuShader) { if (cache->glProgram != gpuPipelineState->gpuShader->glProgram) { - glUseProgram(gpuPipelineState->gpuShader->glProgram); + GL_CHECK(glUseProgram(gpuPipelineState->gpuShader->glProgram)); cache->glProgram = gpuPipelineState->gpuShader->glProgram; isShaderChanged = true; } @@ -1576,23 +1576,23 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli switch (gpuPipelineState->rs.cullMode) { case CullMode::NONE: { if (cache->isCullFaceEnabled) { - glDisable(GL_CULL_FACE); + GL_CHECK(glDisable(GL_CULL_FACE)); cache->isCullFaceEnabled = false; } } break; case CullMode::FRONT: { if (!cache->isCullFaceEnabled) { - glEnable(GL_CULL_FACE); + GL_CHECK(glEnable(GL_CULL_FACE)); cache->isCullFaceEnabled = true; } - glCullFace(GL_FRONT); + GL_CHECK(glCullFace(GL_FRONT)); } break; case CullMode::BACK: { if (!cache->isCullFaceEnabled) { - glEnable(GL_CULL_FACE); + GL_CHECK(glEnable(GL_CULL_FACE)); cache->isCullFaceEnabled = true; } - glCullFace(GL_BACK); + GL_CHECK(glCullFace(GL_BACK)); } break; default: break; @@ -1601,46 +1601,46 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } bool isFrontFaceCCW = (bool)gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; if ((bool)cache->rs.isFrontFaceCCW != isFrontFaceCCW) { - glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW); + GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); cache->rs.isFrontFaceCCW = isFrontFaceCCW; } if ((cache->rs.depthBias != gpuPipelineState->rs.depthBias) || (cache->rs.depthBiasSlop != gpuPipelineState->rs.depthBiasSlop)) { - glPolygonOffset(cache->rs.depthBias, cache->rs.depthBiasSlop); + GL_CHECK(glPolygonOffset(cache->rs.depthBias, cache->rs.depthBiasSlop)); cache->rs.depthBiasSlop = gpuPipelineState->rs.depthBiasSlop; } if (cache->rs.lineWidth != gpuPipelineState->rs.lineWidth) { - glLineWidth(gpuPipelineState->rs.lineWidth); + GL_CHECK(glLineWidth(gpuPipelineState->rs.lineWidth)); cache->rs.lineWidth = gpuPipelineState->rs.lineWidth; } // bind depth-stencil state if (cache->dss.depthTest != gpuPipelineState->dss.depthTest) { if (gpuPipelineState->dss.depthTest) { - glEnable(GL_DEPTH_TEST); + GL_CHECK(glEnable(GL_DEPTH_TEST)); } else { - glDisable(GL_DEPTH_TEST); + GL_CHECK(glDisable(GL_DEPTH_TEST)); } cache->dss.depthTest = gpuPipelineState->dss.depthTest; } if (cache->dss.depthWrite != gpuPipelineState->dss.depthWrite) { - glDepthMask(!!gpuPipelineState->dss.depthWrite); + GL_CHECK(glDepthMask(!!gpuPipelineState->dss.depthWrite)); cache->dss.depthWrite = gpuPipelineState->dss.depthWrite; } if (cache->dss.depthFunc != gpuPipelineState->dss.depthFunc) { - glDepthFunc(GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc]); + GL_CHECK(glDepthFunc(GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc])); cache->dss.depthFunc = gpuPipelineState->dss.depthFunc; } // bind depth-stencil state - front if (gpuPipelineState->dss.stencilTestFront || gpuPipelineState->dss.stencilTestBack) { if (!cache->isStencilTestEnabled) { - glEnable(GL_STENCIL_TEST); + GL_CHECK(glEnable(GL_STENCIL_TEST)); cache->isStencilTestEnabled = true; } } else { if (cache->isStencilTestEnabled) { - glDisable(GL_STENCIL_TEST); + GL_CHECK(glDisable(GL_STENCIL_TEST)); cache->isStencilTestEnabled = false; } } @@ -1667,7 +1667,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; } if (cache->dss.stencilWriteMaskFront != gpuPipelineState->dss.stencilWriteMaskFront) { - glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront)); cache->dss.stencilWriteMaskFront = gpuPipelineState->dss.stencilWriteMaskFront; } @@ -1695,16 +1695,16 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; } if (cache->dss.stencilWriteMaskBack != gpuPipelineState->dss.stencilWriteMaskBack) { - glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack); + GL_CHECK(glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack)); cache->dss.stencilWriteMaskBack = gpuPipelineState->dss.stencilWriteMaskBack; } // bind blend state if (cache->bs.isA2C != gpuPipelineState->bs.isA2C) { if (cache->bs.isA2C) { - glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE); + GL_CHECK(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); } else { - glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE); + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); } cache->bs.isA2C = gpuPipelineState->bs.isA2C; } @@ -1724,16 +1724,16 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const BlendTarget *target = gpuPipelineState->bs.targets[0]; if (cacheTarget->blend != target->blend) { if (!cacheTarget->blend) { - glEnable(GL_BLEND); + GL_CHECK(glEnable(GL_BLEND)); } else { - glDisable(GL_BLEND); + GL_CHECK(glDisable(GL_BLEND)); } cacheTarget->blend = target->blend; } if (cacheTarget->blendEq != target->blendEq || cacheTarget->blendAlphaEq != target->blendAlphaEq) { - glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target->blendEq], - GLES2_BLEND_OPS[(int)target->blendAlphaEq]); + GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target->blendEq], + GLES2_BLEND_OPS[(int)target->blendAlphaEq])); cacheTarget->blendEq = target->blendEq; cacheTarget->blendAlphaEq = target->blendAlphaEq; } @@ -1741,20 +1741,20 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cacheTarget->blendDst != target->blendDst || cacheTarget->blendSrcAlpha != target->blendSrcAlpha || cacheTarget->blendDstAlpha != target->blendDstAlpha) { - glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target->blendSrc], + GL_CHECK(glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target->blendSrc], GLES2_BLEND_FACTORS[(int)target->blendDst], GLES2_BLEND_FACTORS[(int)target->blendSrcAlpha], - GLES2_BLEND_FACTORS[(int)target->blendDstAlpha]); + GLES2_BLEND_FACTORS[(int)target->blendDstAlpha])); cacheTarget->blendSrc = target->blendSrc; cacheTarget->blendDst = target->blendDst; cacheTarget->blendSrcAlpha = target->blendSrcAlpha; cacheTarget->blendDstAlpha = target->blendDstAlpha; } if (cacheTarget->blendColorMask != target->blendColorMask) { - glColorMask((GLboolean)(target->blendColorMask & ColorMask::R), + GL_CHECK(glColorMask((GLboolean)(target->blendColorMask & ColorMask::R), (GLboolean)(target->blendColorMask & ColorMask::G), (GLboolean)(target->blendColorMask & ColorMask::B), - (GLboolean)(target->blendColorMask & ColorMask::A)); + (GLboolean)(target->blendColorMask & ColorMask::A))); cacheTarget->blendColorMask = target->blendColorMask; } } // if @@ -1801,7 +1801,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL: case GL_INT: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniform1iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff); + GL_CHECK(glUniform1iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1809,7 +1809,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC2: case GL_INT_VEC2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniform2iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff); + GL_CHECK(glUniform2iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1817,7 +1817,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC3: case GL_INT_VEC3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniform3iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff); + GL_CHECK(glUniform3iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1825,56 +1825,56 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC4: case GL_INT_VEC4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniform4iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff); + GL_CHECK(glUniform4iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniform1fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff); + GL_CHECK(glUniform1fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniform2fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff); + GL_CHECK(glUniform2fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniform3fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff); + GL_CHECK(glUniform3fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniform4fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff); + GL_CHECK(glUniform4fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniformMatrix2fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff); + GL_CHECK(glUniformMatrix2fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniformMatrix3fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff); + GL_CHECK(glUniformMatrix3fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - glUniformMatrix4fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff); + GL_CHECK(glUniformMatrix4fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1907,10 +1907,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLuint glTexture = gpuTexture->glTexture; if (cache->glTextures[unit] != glTexture) { if (cache->texUint != unit) { - glActiveTexture(GL_TEXTURE0 + unit); + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); cache->texUint = unit; } - glBindTexture(gpuTexture->glTarget, glTexture); + GL_CHECK(glBindTexture(gpuTexture->glTarget, glTexture)); cache->glTextures[unit] = glTexture; } @@ -1941,37 +1941,37 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (gpuTexture->glWrapS != glWrapS) { if (cache->texUint != unit) { - glActiveTexture(GL_TEXTURE0 + unit); + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); cache->texUint = unit; } - glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, glWrapS); + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, glWrapS)); gpuTexture->glWrapS = glWrapS; } if (gpuTexture->glWrapT != glWrapT) { if (cache->texUint != unit) { - glActiveTexture(GL_TEXTURE0 + unit); + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); cache->texUint = unit; } - glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, glWrapT); + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, glWrapT)); gpuTexture->glWrapT = glWrapT; } if (gpuTexture->glMinFilter != glMinFilter) { if (cache->texUint != unit) { - glActiveTexture(GL_TEXTURE0 + unit); + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); cache->texUint = unit; } - glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, glMinFilter); + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, glMinFilter)); gpuTexture->glMinFilter = glMinFilter; } if (gpuTexture->glMagFilter != gpuDescriptor->gpuSampler->glMagFilter) { if (cache->texUint != unit) { - glActiveTexture(GL_TEXTURE0 + unit); + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); cache->texUint = unit; } - glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, gpuDescriptor->gpuSampler->glMagFilter); + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, gpuDescriptor->gpuSampler->glMagFilter)); gpuTexture->glMagFilter = gpuDescriptor->gpuSampler->glMagFilter; } } @@ -1986,29 +1986,29 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); GLuint glVAO = gpuInputAssembler->glVAOs[hash]; if (!glVAO) { - glGenVertexArraysOES(1, &glVAO); + GL_CHECK(glGenVertexArraysOES(1, &glVAO)); gpuInputAssembler->glVAOs[hash] = glVAO; - glBindVertexArrayOES(glVAO); - glBindBuffer(GL_ARRAY_BUFFER, 0); - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); + GL_CHECK(glBindVertexArrayOES(glVAO)); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { - glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - glEnableVertexAttribArray(glLoc); + GL_CHECK(glEnableVertexAttribArray(glLoc)); cache->glEnabledAttribLocs[glLoc] = true; - glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset)); + GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset))); if (device->useInstancedArrays()) { - glVertexAttribDivisorEXT(glLoc, gpuAttribute.isInstanced ? 1 : 0); + GL_CHECK(glVertexAttribDivisorEXT(glLoc, gpuAttribute.isInstanced ? 1 : 0)); } } break; @@ -2017,19 +2017,19 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } // for if (gpuInputAssembler->gpuIndexBuffer) { - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer)); } - glBindVertexArrayOES(0); - glBindBuffer(GL_ARRAY_BUFFER, 0); - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); + GL_CHECK(glBindVertexArrayOES(0)); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); cache->glVAO = 0; cache->glArrayBuffer = 0; cache->glElementArrayBuffer = 0; } if (cache->glVAO != glVAO) { - glBindVertexArrayOES(glVAO); + GL_CHECK(glBindVertexArrayOES(glVAO)); cache->glVAO = glVAO; } } else { @@ -2043,20 +2043,20 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { if (cache->glArrayBuffer != gpuAttribute.glBuffer) { - glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); cache->glArrayBuffer = gpuAttribute.glBuffer; } for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - glEnableVertexAttribArray(glLoc); + GL_CHECK(glEnableVertexAttribArray(glLoc)); cache->glEnabledAttribLocs[glLoc] = true; cache->glCurrentAttribLocs[glLoc] = true; - glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset)); + GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset))); if (device->useInstancedArrays()) { - glVertexAttribDivisorEXT(glLoc, gpuAttribute.isInstanced ? 1 : 0); + GL_CHECK(glVertexAttribDivisorEXT(glLoc, gpuAttribute.isInstanced ? 1 : 0)); } } break; @@ -2066,14 +2066,14 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (gpuInputAssembler->gpuIndexBuffer) { if (cache->glElementArrayBuffer != gpuInputAssembler->gpuIndexBuffer->glBuffer) { - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer)); cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; } } for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { if (cache->glEnabledAttribLocs[a] != cache->glCurrentAttribLocs[a]) { - glDisableVertexAttribArray(a); + GL_CHECK(glDisableVertexAttribArray(a)); cache->glEnabledAttribLocs[a] = false; } } @@ -2086,33 +2086,33 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case DynamicStateFlagBit::VIEWPORT: if (cache->viewport != viewport) { cache->viewport = viewport; - glViewport(viewport.left, viewport.top, viewport.width, viewport.height); + GL_CHECK(glViewport(viewport.left, viewport.top, viewport.width, viewport.height)); } break; case DynamicStateFlagBit::SCISSOR: if (cache->scissor != scissor) { cache->scissor = scissor; - glScissor(scissor.x, scissor.y, scissor.width, scissor.height); + GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, scissor.height)); } break; case DynamicStateFlagBit::LINE_WIDTH: if (cache->rs.lineWidth != lineWidth) { cache->rs.lineWidth = lineWidth; - glLineWidth(lineWidth); + GL_CHECK(glLineWidth(lineWidth)); } break; case DynamicStateFlagBit::DEPTH_BIAS: if ((bool)cache->rs.depthBiasEnabled != depthBiasEnabled) { if (depthBiasEnabled) - glEnable(GL_POLYGON_OFFSET_FILL); + GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); else - glDisable(GL_POLYGON_OFFSET_FILL); + GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); cache->rs.depthBiasEnabled = depthBiasEnabled; } if ((cache->rs.depthBias != depthBias.constant) || (cache->rs.depthBiasSlop != depthBias.slope)) { - glPolygonOffset(depthBias.constant, depthBias.slope); + GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); cache->rs.depthBias = depthBias.constant; cache->rs.depthBiasSlop = depthBias.slope; } @@ -2133,20 +2133,20 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli switch (stencilWriteMask.face) { case StencilFace::FRONT: if (cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) { - glStencilMaskSeparate(GL_FRONT, stencilWriteMask.writeMask); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; } break; case StencilFace::BACK: if (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask) { - glStencilMaskSeparate(GL_BACK, stencilWriteMask.writeMask); + GL_CHECK(glStencilMaskSeparate(GL_BACK, stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } break; case StencilFace::ALL: if ((cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) || (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask)) { - glStencilMask(stencilWriteMask.writeMask); + GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } @@ -2220,19 +2220,19 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { uint8_t *offset = 0; offset += drawInfo.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { - glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset); + GL_CHECK(glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset)); } else { if (device->useDrawInstanced()) { - glDrawElementsInstancedEXT(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset, drawInfo.instanceCount); + GL_CHECK(glDrawElementsInstancedEXT(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset, drawInfo.instanceCount)); } } } } else if (drawInfo.vertexCount > 0) { if (drawInfo.instanceCount == 0) { - glDrawArrays(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount); + GL_CHECK(glDrawArrays(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount)); } else { if (device->useDrawInstanced()) { - glDrawArraysInstancedEXT(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount, drawInfo.instanceCount); + GL_CHECK(glDrawArraysInstancedEXT(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount, drawInfo.instanceCount)); } } } @@ -2244,19 +2244,19 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { uint8_t *offset = 0; offset += draw.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { - glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset); + GL_CHECK(glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset)); } else { if (device->useDrawInstanced()) { - glDrawElementsInstancedEXT(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset, draw.instanceCount); + GL_CHECK(glDrawElementsInstancedEXT(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset, draw.instanceCount)); } } } } else if (draw.vertexCount > 0) { if (draw.instanceCount == 0) { - glDrawArrays(glPrimitive, draw.firstIndex, draw.vertexCount); + GL_CHECK(glDrawArrays(glPrimitive, draw.firstIndex, draw.vertexCount)); } else { if (device->useDrawInstanced()) { - glDrawArraysInstancedEXT(glPrimitive, draw.firstIndex, draw.vertexCount, draw.instanceCount); + GL_CHECK(glDrawArraysInstancedEXT(glPrimitive, draw.firstIndex, draw.vertexCount, draw.instanceCount)); } } } @@ -2279,31 +2279,31 @@ void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, co case GL_ARRAY_BUFFER: { if (device->useVAO()) { if (device->stateCache()->glVAO) { - glBindVertexArrayOES(0); + GL_CHECK(glBindVertexArrayOES(0)); device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } if (device->stateCache()->glArrayBuffer != gpuBuffer->glBuffer) { - glBindBuffer(GL_ARRAY_BUFFER, gpuBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuBuffer->glBuffer)); device->stateCache()->glArrayBuffer = gpuBuffer->glBuffer; } - glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer); + GL_CHECK(glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer)); break; } case GL_ELEMENT_ARRAY_BUFFER: { if (device->useVAO()) { if (device->stateCache()->glVAO) { - glBindVertexArrayOES(0); + GL_CHECK(glBindVertexArrayOES(0)); device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } if (device->stateCache()->glElementArrayBuffer != gpuBuffer->glBuffer) { - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuBuffer->glBuffer)); device->stateCache()->glElementArrayBuffer = gpuBuffer->glBuffer; } - glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer); + GL_CHECK(glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer)); break; } default: @@ -2473,53 +2473,6 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const } } -void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { - if (!cmdPackage->cmds.size()) return; - - static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; - memset(cmdIndices, 0, sizeof(cmdIndices)); - - for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { - GFXCmdType cmdType = cmdPackage->cmds[i]; - uint &cmdIdx = cmdIndices[(int)cmdType]; - - switch (cmdType) { - case GFXCmdType::BEGIN_RENDER_PASS: { - GLES2CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; - GLES2CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); - break; - } - case GFXCmdType::END_RENDER_PASS: { - GLES2CmdFuncEndRenderPass(device); - break; - } - case GFXCmdType::BIND_STATES: { - GLES2CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; - GLES2CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); - break; - } // namespace gfx - case GFXCmdType::DRAW: { - GLES2CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; - GLES2CmdFuncDraw(device, cmd->drawInfo); - break; - } - case GFXCmdType::UPDATE_BUFFER: { - GLES2CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; - GLES2CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); - break; - } - case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { - GLES2CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; - GLES2CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); - break; - } - default: - break; - } - cmdIdx++; - } -} - void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Std.h b/native/cocos/renderer/gfx-gles2/GLES2Std.h index 281dbb49dd..a54c04ec25 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Std.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Std.h @@ -43,23 +43,14 @@ THE SOFTWARE. #endif #if CC_DEBUG > 0 -#define GL_CHECK(x) \ - do { \ - x; GLenum err = glGetError(); \ - if (err != GL_NO_ERROR) { \ - CC_LOG_ERROR("%s returned GL error: 0x%x", #x, err); \ - CCASSERT(0, "GL error"); \ - } \ - } while (0) -#define EGL_CHECK(x) \ - do { \ - x; EGLint err = eglGetError(); \ - if (err != EGL_SUCCESS) { \ - CC_LOG_ERROR("%s returned EGL error: 0x%x", #x, err); \ - CCASSERT(0, "EGL error"); \ - } \ +#define GL_CHECK(x) \ + do { \ + x; GLenum err = glGetError(); \ + if (err) { \ + CC_LOG_ERROR("Detected GL error: %d", err); \ + CCASSERT(0, "GL Error"); \ + } \ } while (0) #else #define GL_CHECK(x) x -#define EGL_CHECK(x) x #endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 208a2da611..241caf5291 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -803,22 +803,18 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } uint w = gpuTexture->width; uint h = gpuTexture->height; - if (gpuTexture->flags & TextureFlagBit::IMMUTABLE) { - GL_CHECK(glTexStorage2D(GL_TEXTURE_2D, gpuTexture->mipLevel, gpuTexture->glInternelFmt, w, h)); + if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + for (uint i = 0; i < gpuTexture->mipLevel; ++i) { + GL_CHECK(glTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); + w = std::max(1U, w >> 1); + h = std::max(1U, h >> 1); + } } else { - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { - for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - GL_CHECK(glTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); - w = std::max(1U, w >> 1); - h = std::max(1U, h >> 1); - } - } else { - for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); - GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); - w = std::max(1U, w >> 1); - h = std::max(1U, h >> 1); - } + for (uint i = 0; i < gpuTexture->mipLevel; ++i) { + uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); + w = std::max(1U, w >> 1); + h = std::max(1U, h >> 1); } } } @@ -840,18 +836,14 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } else { if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - for (uint f = 0; f < 6; ++f) { - GL_CHECK(glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); - } + GL_CHECK(glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); } } else { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { uint imgSize = FormatSize(gpuTexture->format, w, h, 1); - for (uint f = 0; f < 6; ++f) { - GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); - } + GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); } @@ -1032,7 +1024,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(glCompileShader(gpuStage.glShader)); GL_CHECK(glGetShaderiv(gpuStage.glShader, GL_COMPILE_STATUS, &status)); - if (status != GL_TRUE) { + if (status != 1) { GLint logSize = 0; GL_CHECK(glGetShaderiv(gpuStage.glShader, GL_INFO_LOG_LENGTH, &logSize)); @@ -1464,7 +1456,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen if (gpuFramebuffer && gpuRenderPass) { if (cache->glFramebuffer != gpuFramebuffer->glFramebuffer) { - glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer); + GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); cache->glFramebuffer = gpuFramebuffer->glFramebuffer; // render targets are drawn with flipped-Y gfxStateCache.reverseCW = !!gpuFramebuffer->glFramebuffer; @@ -1474,7 +1466,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen cache->viewport.top != renderArea.y || cache->viewport.width != renderArea.width || cache->viewport.height != renderArea.height) { - glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height); + GL_CHECK(glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); cache->viewport.left = renderArea.x; cache->viewport.top = renderArea.y; cache->viewport.width = renderArea.width; @@ -1485,7 +1477,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen cache->scissor.y != renderArea.y || cache->scissor.width != renderArea.width || cache->scissor.height != renderArea.height) { - glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height); + GL_CHECK(glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); cache->scissor.x = renderArea.x; cache->scissor.y = renderArea.y; cache->scissor.width = renderArea.width; @@ -1502,7 +1494,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { if (cache->bs.targets[0]->blendColorMask != ColorMask::ALL) { - glColorMask(true, true, true, true); + GL_CHECK(glColorMask(true, true, true, true)); } if (gpuFramebuffer->isOffscreen) { @@ -1511,10 +1503,10 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen fColors[1] = clearColors[j].y; fColors[2] = clearColors[j].z; fColors[3] = clearColors[j].w; - glClearBufferfv(GL_COLOR, j, fColors); + GL_CHECK(glClearBufferfv(GL_COLOR, j, fColors)); } else { const Color &color = clearColors[j]; - glClearColor(color.x, color.y, color.z, color.w); + GL_CHECK(glClearColor(color.x, color.y, color.z, color.w)); glClears |= GL_COLOR_BUFFER_BIT; } break; @@ -1535,9 +1527,9 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { - glDepthMask(true); + GL_CHECK(glDepthMask(true)); cache->dss.depthWrite = true; - glClearDepthf(clearDepth); + GL_CHECK(glClearDepthf(clearDepth)); glClears |= GL_DEPTH_BUFFER_BIT; break; } @@ -1555,12 +1547,12 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { if (!cache->dss.stencilWriteMaskFront) { - glStencilMaskSeparate(GL_FRONT, 0xffffffff); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); } if (!cache->dss.stencilWriteMaskBack) { - glStencilMaskSeparate(GL_BACK, 0xffffffff); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); } - glClearStencil(clearStencil); + GL_CHECK(glClearStencil(clearStencil)); glClears |= GL_STENCIL_BUFFER_BIT; break; } @@ -1575,34 +1567,34 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } if (numAttachments) { - glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments); + GL_CHECK(glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); } if (glClears) { - glClear(glClears); + GL_CHECK(glClear(glClears)); } // restore states if (glClears & GL_COLOR_BUFFER_BIT) { ColorMask colorMask = cache->bs.targets[0]->blendColorMask; if (colorMask != ColorMask::ALL) { - glColorMask((GLboolean)(colorMask & ColorMask::R), + GL_CHECK(glColorMask((GLboolean)(colorMask & ColorMask::R), (GLboolean)(colorMask & ColorMask::G), (GLboolean)(colorMask & ColorMask::B), - (GLboolean)(colorMask & ColorMask::A)); + (GLboolean)(colorMask & ColorMask::A))); } } if ((glClears & GL_COLOR_BUFFER_BIT) && !cache->dss.depthWrite) { - glDepthMask(false); + GL_CHECK(glDepthMask(false)); } if (glClears & GL_STENCIL_BUFFER_BIT) { if (!cache->dss.stencilWriteMaskFront) { - glStencilMaskSeparate(GL_FRONT, 0); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0)); } if (!cache->dss.stencilWriteMaskBack) { - glStencilMaskSeparate(GL_BACK, 0); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0)); } } } @@ -1659,7 +1651,7 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { } if (numAttachments) { - glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments); + GL_CHECK(glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); } } @@ -1678,7 +1670,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (gpuPipelineState->gpuShader) { if (cache->glProgram != gpuPipelineState->gpuShader->glProgram) { - glUseProgram(gpuPipelineState->gpuShader->glProgram); + GL_CHECK(glUseProgram(gpuPipelineState->gpuShader->glProgram)); cache->glProgram = gpuPipelineState->gpuShader->glProgram; isShaderChanged = true; } @@ -1689,23 +1681,23 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli switch (gpuPipelineState->rs.cullMode) { case CullMode::NONE: { if (cache->isCullFaceEnabled) { - glDisable(GL_CULL_FACE); + GL_CHECK(glDisable(GL_CULL_FACE)); cache->isCullFaceEnabled = false; } } break; case CullMode::FRONT: { if (!cache->isCullFaceEnabled) { - glEnable(GL_CULL_FACE); + GL_CHECK(glEnable(GL_CULL_FACE)); cache->isCullFaceEnabled = true; } - glCullFace(GL_FRONT); + GL_CHECK(glCullFace(GL_FRONT)); } break; case CullMode::BACK: { if (!cache->isCullFaceEnabled) { - glEnable(GL_CULL_FACE); + GL_CHECK(glEnable(GL_CULL_FACE)); cache->isCullFaceEnabled = true; } - glCullFace(GL_BACK); + GL_CHECK(glCullFace(GL_BACK)); } break; default: break; @@ -1714,46 +1706,46 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } bool isFrontFaceCCW = gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; if (cache->rs.isFrontFaceCCW != isFrontFaceCCW) { - glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW); + GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); cache->rs.isFrontFaceCCW = isFrontFaceCCW; } if ((cache->rs.depthBias != gpuPipelineState->rs.depthBias) || (cache->rs.depthBiasSlop != gpuPipelineState->rs.depthBiasSlop)) { - glPolygonOffset(cache->rs.depthBias, cache->rs.depthBiasSlop); + GL_CHECK(glPolygonOffset(cache->rs.depthBias, cache->rs.depthBiasSlop)); cache->rs.depthBiasSlop = gpuPipelineState->rs.depthBiasSlop; } if (cache->rs.lineWidth != gpuPipelineState->rs.lineWidth) { - glLineWidth(gpuPipelineState->rs.lineWidth); + GL_CHECK(glLineWidth(gpuPipelineState->rs.lineWidth)); cache->rs.lineWidth = gpuPipelineState->rs.lineWidth; } // bind depth-stencil state if (cache->dss.depthTest != gpuPipelineState->dss.depthTest) { if (gpuPipelineState->dss.depthTest) { - glEnable(GL_DEPTH_TEST); + GL_CHECK(glEnable(GL_DEPTH_TEST)); } else { - glDisable(GL_DEPTH_TEST); + GL_CHECK(glDisable(GL_DEPTH_TEST)); } cache->dss.depthTest = gpuPipelineState->dss.depthTest; } if (cache->dss.depthWrite != gpuPipelineState->dss.depthWrite) { - glDepthMask(gpuPipelineState->dss.depthWrite); + GL_CHECK(glDepthMask(gpuPipelineState->dss.depthWrite)); cache->dss.depthWrite = gpuPipelineState->dss.depthWrite; } if (cache->dss.depthFunc != gpuPipelineState->dss.depthFunc) { - glDepthFunc(GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc]); + GL_CHECK(glDepthFunc(GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc])); cache->dss.depthFunc = gpuPipelineState->dss.depthFunc; } // bind depth-stencil state - front if (gpuPipelineState->dss.stencilTestFront || gpuPipelineState->dss.stencilTestBack) { if (!cache->isStencilTestEnabled) { - glEnable(GL_STENCIL_TEST); + GL_CHECK(glEnable(GL_STENCIL_TEST)); cache->isStencilTestEnabled = true; } } else { if (cache->isStencilTestEnabled) { - glDisable(GL_STENCIL_TEST); + GL_CHECK(glDisable(GL_STENCIL_TEST)); cache->isStencilTestEnabled = false; } } @@ -1780,7 +1772,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; } if (cache->dss.stencilWriteMaskFront != gpuPipelineState->dss.stencilWriteMaskFront) { - glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront)); cache->dss.stencilWriteMaskFront = gpuPipelineState->dss.stencilWriteMaskFront; } @@ -1808,16 +1800,16 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; } if (cache->dss.stencilWriteMaskBack != gpuPipelineState->dss.stencilWriteMaskBack) { - glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack); + GL_CHECK(glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack)); cache->dss.stencilWriteMaskBack = gpuPipelineState->dss.stencilWriteMaskBack; } // bind blend state if (cache->bs.isA2C != gpuPipelineState->bs.isA2C) { if (cache->bs.isA2C) { - glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE); + GL_CHECK(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); } else { - glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE); + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); } cache->bs.isA2C = gpuPipelineState->bs.isA2C; } @@ -1837,16 +1829,16 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli const BlendTarget *target = gpuPipelineState->bs.targets[0]; if (cacheTarget->blend != target->blend) { if (!cacheTarget->blend) { - glEnable(GL_BLEND); + GL_CHECK(glEnable(GL_BLEND)); } else { - glDisable(GL_BLEND); + GL_CHECK(glDisable(GL_BLEND)); } cacheTarget->blend = target->blend; } if (cacheTarget->blendEq != target->blendEq || cacheTarget->blendAlphaEq != target->blendAlphaEq) { - glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target->blendEq], - GLES3_BLEND_OPS[(int)target->blendAlphaEq]); + GL_CHECK(glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target->blendEq], + GLES3_BLEND_OPS[(int)target->blendAlphaEq])); cacheTarget->blendEq = target->blendEq; cacheTarget->blendAlphaEq = target->blendAlphaEq; } @@ -1854,20 +1846,20 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cacheTarget->blendDst != target->blendDst || cacheTarget->blendSrcAlpha != target->blendSrcAlpha || cacheTarget->blendDstAlpha != target->blendDstAlpha) { - glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target->blendSrc], + GL_CHECK(glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target->blendSrc], GLES3_BLEND_FACTORS[(int)target->blendDst], GLES3_BLEND_FACTORS[(int)target->blendSrcAlpha], - GLES3_BLEND_FACTORS[(int)target->blendDstAlpha]); + GLES3_BLEND_FACTORS[(int)target->blendDstAlpha])); cacheTarget->blendSrc = target->blendSrc; cacheTarget->blendDst = target->blendDst; cacheTarget->blendSrcAlpha = target->blendSrcAlpha; cacheTarget->blendDstAlpha = target->blendDstAlpha; } if (cacheTarget->blendColorMask != target->blendColorMask) { - glColorMask((GLboolean)(target->blendColorMask & ColorMask::R), + GL_CHECK(glColorMask((GLboolean)(target->blendColorMask & ColorMask::R), (GLboolean)(target->blendColorMask & ColorMask::G), (GLboolean)(target->blendColorMask & ColorMask::B), - (GLboolean)(target->blendColorMask & ColorMask::A)); + (GLboolean)(target->blendColorMask & ColorMask::A))); cacheTarget->blendColorMask = target->blendColorMask; } } // if @@ -1904,7 +1896,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, offset, gpuDescriptor.gpuBuffer->size); } else { - glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer); + GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); } cache->glUniformBuffer = cache->glBindUBOs[glBlock.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; cache->glBindUBOOffsets[glBlock.glBinding] = offset; @@ -1933,15 +1925,15 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLuint glTexture = gpuDescriptor->gpuTexture->glTexture; if (cache->glTextures[unit] != glTexture) { if (cache->texUint != unit) { - glActiveTexture(GL_TEXTURE0 + unit); + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); cache->texUint = unit; } - glBindTexture(gpuDescriptor->gpuTexture->glTarget, glTexture); + GL_CHECK(glBindTexture(gpuDescriptor->gpuTexture->glTarget, glTexture)); cache->glTextures[unit] = glTexture; } if (cache->glSamplers[unit] != gpuDescriptor->gpuSampler->glSampler) { - glBindSampler(unit, gpuDescriptor->gpuSampler->glSampler); + GL_CHECK(glBindSampler(unit, gpuDescriptor->gpuSampler->glSampler)); cache->glSamplers[unit] = gpuDescriptor->gpuSampler->glSampler; } } @@ -1957,27 +1949,27 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); GLuint glVAO = gpuInputAssembler->glVAOs[hash]; if (!glVAO) { - glGenVertexArrays(1, &glVAO); + GL_CHECK(glGenVertexArrays(1, &glVAO)); gpuInputAssembler->glVAOs[hash] = glVAO; - glBindVertexArray(glVAO); - glBindBuffer(GL_ARRAY_BUFFER, 0); - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); + GL_CHECK(glBindVertexArray(glVAO)); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { const GLES3GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { const GLES3GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { - glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - glEnableVertexAttribArray(glLoc); + GL_CHECK(glEnableVertexAttribArray(glLoc)); cache->glEnabledAttribLocs[glLoc] = true; - glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset)); - glVertexAttribDivisor(glLoc, gpuAttribute.isInstanced ? 1 : 0); + GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset))); + GL_CHECK(glVertexAttribDivisor(glLoc, gpuAttribute.isInstanced ? 1 : 0)); } break; } @@ -1985,19 +1977,19 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } if (gpuInputAssembler->gpuIndexBuffer) { - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer)); } - glBindVertexArray(0); - glBindBuffer(GL_ARRAY_BUFFER, 0); - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); + GL_CHECK(glBindVertexArray(0)); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); cache->glVAO = 0; cache->glArrayBuffer = 0; cache->glElementArrayBuffer = 0; } if (cache->glVAO != glVAO) { - glBindVertexArray(glVAO); + GL_CHECK(glBindVertexArray(glVAO)); cache->glVAO = glVAO; } } else { @@ -2011,18 +2003,18 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli const GLES3GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { if (cache->glArrayBuffer != gpuAttribute.glBuffer) { - glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); cache->glArrayBuffer = gpuAttribute.glBuffer; } for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - glEnableVertexAttribArray(glLoc); + GL_CHECK(glEnableVertexAttribArray(glLoc)); cache->glCurrentAttribLocs[glLoc] = true; cache->glEnabledAttribLocs[glLoc] = true; - glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset)); - glVertexAttribDivisor(glLoc, gpuAttribute.isInstanced ? 1 : 0); + GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset))); + GL_CHECK(glVertexAttribDivisor(glLoc, gpuAttribute.isInstanced ? 1 : 0)); } break; } @@ -2031,14 +2023,14 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (gpuInputAssembler->gpuIndexBuffer) { if (cache->glElementArrayBuffer != gpuInputAssembler->gpuIndexBuffer->glBuffer) { - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer)); cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; } } for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { if (cache->glEnabledAttribLocs[a] != cache->glCurrentAttribLocs[a]) { - glDisableVertexAttribArray(a); + GL_CHECK(glDisableVertexAttribArray(a)); cache->glEnabledAttribLocs[a] = false; } } @@ -2050,34 +2042,34 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli switch (dynamicState) { case DynamicStateFlagBit::VIEWPORT: if (cache->viewport != viewport) { - glViewport(viewport.left, viewport.top, viewport.width, viewport.height); + GL_CHECK(glViewport(viewport.left, viewport.top, viewport.width, viewport.height)); cache->viewport = viewport; } break; case DynamicStateFlagBit::SCISSOR: if (cache->scissor != scissor) { - glScissor(scissor.x, scissor.y, scissor.width, scissor.height); + GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, scissor.height)); cache->scissor = scissor; } break; case DynamicStateFlagBit::LINE_WIDTH: if (cache->rs.lineWidth != lineWidth) { - glLineWidth(lineWidth); + GL_CHECK(glLineWidth(lineWidth)); cache->rs.lineWidth = lineWidth; } break; case DynamicStateFlagBit::DEPTH_BIAS: if (cache->rs.depthBiasEnabled != depthBiasEnabled) { if (depthBiasEnabled) - glEnable(GL_POLYGON_OFFSET_FILL); + GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); else - glDisable(GL_POLYGON_OFFSET_FILL); + GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); cache->rs.depthBiasEnabled = depthBiasEnabled; } if ((cache->rs.depthBias != depthBias.constant) || (cache->rs.depthBiasSlop != depthBias.slope)) { - glPolygonOffset(depthBias.constant, depthBias.slope); + GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); cache->rs.depthBias = depthBias.constant; cache->rs.depthBiasSlop = depthBias.slope; } @@ -2098,20 +2090,20 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli switch (stencilWriteMask.face) { case StencilFace::FRONT: if (cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) { - glStencilMaskSeparate(GL_FRONT, stencilWriteMask.writeMask); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; } break; case StencilFace::BACK: if (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask) { - glStencilMaskSeparate(GL_BACK, stencilWriteMask.writeMask); + GL_CHECK(glStencilMaskSeparate(GL_BACK, stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } break; case StencilFace::ALL: if ((cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) || (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask)) { - glStencilMask(stencilWriteMask.writeMask); + GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } @@ -2184,16 +2176,16 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { uint8_t *offset = 0; offset += drawInfo.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { - glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset); + GL_CHECK(glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset)); } else { - glDrawElementsInstanced(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset, drawInfo.instanceCount); + GL_CHECK(glDrawElementsInstanced(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset, drawInfo.instanceCount)); } } } else if (drawInfo.vertexCount > 0) { if (drawInfo.instanceCount == 0) { - glDrawArrays(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount); + GL_CHECK(glDrawArrays(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount)); } else { - glDrawArraysInstanced(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount, drawInfo.instanceCount); + GL_CHECK(glDrawArraysInstanced(glPrimitive, drawInfo.firstIndex, drawInfo.vertexCount, drawInfo.instanceCount)); } } } else { @@ -2204,16 +2196,16 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { uint8_t *offset = 0; offset += draw.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (draw.instanceCount == 0) { - glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset); + GL_CHECK(glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset)); } else { - glDrawElementsInstanced(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset, draw.instanceCount); + GL_CHECK(glDrawElementsInstanced(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset, draw.instanceCount)); } } } else if (draw.vertexCount > 0) { if (draw.instanceCount == 0) { - glDrawArrays(glPrimitive, draw.firstIndex, draw.vertexCount); + GL_CHECK(glDrawArrays(glPrimitive, draw.firstIndex, draw.vertexCount)); } else { - glDrawArraysInstanced(glPrimitive, draw.firstIndex, draw.vertexCount, draw.instanceCount); + GL_CHECK(glDrawArraysInstanced(glPrimitive, draw.firstIndex, draw.vertexCount, draw.instanceCount)); } } } @@ -2231,36 +2223,36 @@ void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, co switch (gpuBuffer->glTarget) { case GL_ARRAY_BUFFER: { if (device->stateCache()->glVAO) { - glBindVertexArray(0); + GL_CHECK(glBindVertexArray(0)); device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } if (device->stateCache()->glArrayBuffer != gpuBuffer->glBuffer) { - glBindBuffer(GL_ARRAY_BUFFER, gpuBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuBuffer->glBuffer)); device->stateCache()->glArrayBuffer = gpuBuffer->glBuffer; } - glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer); + GL_CHECK(glBufferSubData(GL_ARRAY_BUFFER, offset, size, buffer)); break; } case GL_ELEMENT_ARRAY_BUFFER: { if (device->stateCache()->glVAO) { - glBindVertexArray(0); + GL_CHECK(glBindVertexArray(0)); device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } if (device->stateCache()->glElementArrayBuffer != gpuBuffer->glBuffer) { - glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuBuffer->glBuffer)); device->stateCache()->glElementArrayBuffer = gpuBuffer->glBuffer; } - glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer); + GL_CHECK(glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, offset, size, buffer)); break; } case GL_UNIFORM_BUFFER: { if (device->stateCache()->glUniformBuffer != gpuBuffer->glBuffer) { - glBindBuffer(GL_UNIFORM_BUFFER, gpuBuffer->glBuffer); + GL_CHECK(glBindBuffer(GL_UNIFORM_BUFFER, gpuBuffer->glBuffer)); device->stateCache()->glUniformBuffer = gpuBuffer->glBuffer; } - glBufferSubData(GL_UNIFORM_BUFFER, offset, size, buffer); + GL_CHECK(glBufferSubData(GL_UNIFORM_BUFFER, offset, size, buffer)); break; } default: @@ -2432,53 +2424,6 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const } } -void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { - if (!cmdPackage->cmds.size()) return; - - static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; - memset(cmdIndices, 0, sizeof(cmdIndices)); - - for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { - GFXCmdType cmdType = cmdPackage->cmds[i]; - uint &cmdIdx = cmdIndices[(int)cmdType]; - - switch (cmdType) { - case GFXCmdType::BEGIN_RENDER_PASS: { - GLES3CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; - GLES3CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); - break; - } - case GFXCmdType::END_RENDER_PASS: { - GLES3CmdFuncEndRenderPass(device); - break; - } - case GFXCmdType::BIND_STATES: { - GLES3CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; - GLES3CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); - break; - } // case BIND_STATES - case GFXCmdType::DRAW: { - GLES3CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; - GLES3CmdFuncDraw(device, cmd->drawInfo); - break; - } - case GFXCmdType::UPDATE_BUFFER: { - GLES3CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; - GLES3CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); - break; - } - case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { - GLES3CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; - GLES3CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); - break; - } - default: - break; - } - cmdIdx++; - } -} - void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Std.h b/native/cocos/renderer/gfx-gles3/GLES3Std.h index 375ee94f06..651f74cae9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Std.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Std.h @@ -15,3 +15,16 @@ #else #define CC_GLES3_API #endif + +#if CC_DEBUG > 0 +#define GL_CHECK(x) \ + do { \ + x; GLenum err = glGetError(); \ + if (err) { \ + CC_LOG_ERROR("Detected GL error: %d", err); \ + CCASSERT(0, "GL Error"); \ + } \ + } while (0) +#else +#define GL_CHECK(x) x +#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index 0d3135fc2f..630b5d5a6d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -41,13 +41,13 @@ THE SOFTWARE. #endif #if CC_DEBUG > 0 -#define VK_CHECK(x) \ - do { \ - VkResult err = x; \ - if (err) { \ - CC_LOG_ERROR("%s returned Vulkan error: %d", #x, err); \ - CCASSERT(0, "Vulkan Error"); \ - } \ +#define VK_CHECK(x) \ + do { \ + VkResult err = x; \ + if (err) { \ + CC_LOG_ERROR("Detected Vulkan error: %d", err); \ + CCASSERT(0, "Vulkan Error"); \ + } \ } while (0) #else From 9196e602697200a07de1d4c4fa74e6498ac1e967 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sat, 28 Nov 2020 13:01:27 +0800 Subject: [PATCH 032/270] fix CC_DEBUG --- native/cocos/renderer/gfx-gles2/GLES2Context.cpp | 2 +- native/cocos/renderer/gfx-gles3/CMakeLists.txt | 4 ++++ native/cocos/renderer/gfx-metal/CMakeLists.txt | 4 ++++ native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 8 ++++++-- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 6a8a79f794..a4fb1c1746 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -330,7 +330,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { ctxAttribs[n++] = EGL_CONTEXT_MINOR_VERSION_KHR; ctxAttribs[n++] = _minorVersion; - #ifdef CC_DEBUG > 0 + #if CC_DEBUG > 0 ctxAttribs[n++] = EGL_CONTEXT_FLAGS_KHR; ctxAttribs[n++] = EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR; #endif diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index 709f9e5fe9..90b7d9c87d 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -91,3 +91,7 @@ set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES3_d) use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/GLES3Std.h" "${CMAKE_CURRENT_SOURCE_DIR}/GLES3Std.cpp" SOURCE_CPP_FILES) message(STATUS "${TARGET_NAME} configuration completed.") + +target_compile_definitions(${TARGET_NAME} PUBLIC + $<$:CC_DEBUG=1> +) diff --git a/native/cocos/renderer/gfx-metal/CMakeLists.txt b/native/cocos/renderer/gfx-metal/CMakeLists.txt index d868435b10..ba33740d23 100644 --- a/native/cocos/renderer/gfx-metal/CMakeLists.txt +++ b/native/cocos/renderer/gfx-metal/CMakeLists.txt @@ -51,3 +51,7 @@ set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXMetal_d) use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/MTLStd.h" "${CMAKE_CURRENT_SOURCE_DIR}/MTLStd.cpp" ${SOURCE_CPP_FILES} ${SOURCE_OBJC_FILES} ${SOURCE_C_FILES}) message(STATUS "${TARGET_NAME} configuration completed.") + +target_compile_definitions(${TARGET_NAME} PUBLIC + $<$:CC_DEBUG=1> +) diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index d4310e19a9..f203266f77 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -185,11 +185,15 @@ void CCVKBuffer::update(void *buffer, uint size) { if (_buffer) { memcpy(_buffer, buffer, size); } - + // This assumes the default command buffer will get submitted every frame, + // which is true for now but may change in the future. This appoach gives us + // the wiggle room to leverage immediate update vs. copy-upload strategies without + // breaking compatabilities. When we reached some conclusion on this subject, + // getting rid of this interface all together might become a better option. CommandBuffer *cmdBuff = _device->getCommandBuffer(); cmdBuff->begin(); const CCVKGPUCommandBuffer *gpuCommandBuffer = ((CCVKCommandBuffer *)cmdBuff)->gpuCommandBuffer(); - CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, _gpuBuffer, buffer, size, gpuCommandBuffer); + CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, _gpuBuffer, buffer, offset, size, gpuCommandBuffer); } } // namespace gfx From b6c741551d73786bde6d8483e4c698b15166bfb3 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sat, 28 Nov 2020 15:42:40 +0800 Subject: [PATCH 033/270] Reenable triple inflight buffer --- native/cocos/renderer/core/gfx/GFXDef.h | 1 + 1 file changed, 1 insertion(+) diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index adb547f416..aec6599f52 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -26,6 +26,7 @@ class Context; #define GFX_MAX_ATTACHMENTS 4 #define GFX_INVALID_BINDING ((uint8_t)-1) #define GFX_INVALID_HANDLE ((uint)-1) +#define MAX_INFLIGHT_BUFFER 3 enum class ObjectType { UNKNOWN, From 8949d24051cebdc4b5904cc5c0db41eeba5635cd Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sat, 28 Nov 2020 15:43:00 +0800 Subject: [PATCH 034/270] Fix gpu timeout with correct drawable access --- .../renderer/gfx-metal/MTLCommandBuffer.h | 6 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 449 +++++++++++------- native/cocos/renderer/gfx-metal/MTLDevice.h | 2 + native/cocos/renderer/gfx-metal/MTLDevice.mm | 1 + 4 files changed, 297 insertions(+), 161 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 2390a5dd75..5f8ad4a403 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -68,7 +68,7 @@ public: virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; - + CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } id getCurrentDrawable(); @@ -76,6 +76,7 @@ public: private: void bindDescriptorSets(); bool isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass); + id getCurrentDrawable(); CCMTLGPUPipelineState *_gpuPipelineState = nullptr; @@ -86,7 +87,8 @@ private: bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; CCMTLDevice *_mtlDevice = nullptr; -// id _currDrawable = nil; + MTKView *_mtkView = nil; + id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; MTKView *_mtkView = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index f0ece9b12a..5234052857 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -46,9 +46,8 @@ namespace gfx { CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) : CommandBuffer(device) , _mtlDevice((CCMTLDevice *)device) -, _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())) , _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) -//, _frameBoundarySemaphore(dispatch_semaphore_create(MAX_INFLIGHT_BUFFER)) +, _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())) { const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); _GPUDescriptorSets.resize(setCount); @@ -56,17 +55,31 @@ CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) _indirectDrawSuppotred = _mtlDevice->isIndirectDrawSupported(); } -bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) { +CCMTLCommandBuffer::~CCMTLCommandBuffer() { destroy(); } + +bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) +{ _type = info.type; _queue = info.queue; return true; } -void CCMTLCommandBuffer::destroy() { -// dispatch_semaphore_signal(_frameBoundarySemaphore); +void CCMTLCommandBuffer::destroy() +{ } -void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { +id CCMTLCommandBuffer::getCurrentDrawable() +{ + if (!_currDrawable) + { + CAMetalLayer *layer = (CAMetalLayer*)_mtlDevice->getMTLLayer(); + _currDrawable = [[layer nextDrawable] retain]; + } + return _currDrawable; +} + +void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) +{ if (_commandBufferBegan) return; // dispatch_semaphore_wait(_frameBoundarySemaphore, DISPATCH_TIME_FOREVER); @@ -86,33 +99,41 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _commandBufferBegan = true; } -void CCMTLCommandBuffer::end() { +void CCMTLCommandBuffer::end() +{ if (!_commandBufferBegan) return; - [_mtlCommandBuffer presentDrawable:_mtkView.currentDrawable]; - [_mtlCommandBuffer addCompletedHandler:^(id commandBuffer) { - // GPU work is complete - // Signal the semaphore to start the CPU work -// dispatch_semaphore_signal(_frameBoundarySemaphore); - [commandBuffer release]; - }]; + [_mtlCommandBuffer presentDrawable:getCurrentDrawable()]; + [_mtlCommandBuffer addCompletedHandler:^(id commandBuffer) + { + // GPU work is complete + // Signal the fence to start the CPU work + _fence->signal(); + [commandBuffer release]; + }]; [_mtlCommandBuffer commit]; _commandBufferBegan = false; + + if (_currDrawable) + { + [_currDrawable release]; + _currDrawable = nil; + } } -bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { - const int num = renderPass->getColorRenderTargetNums(); - if (num == 0) { - return true; - } +bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) +{ const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) +{ auto isOffscreen = static_cast(fbo)->isOffscreen(); - if (!isOffscreen) { - static_cast(renderPass)->setColorAttachment(0, _mtkView.currentDrawable.texture, 0); + if (!isOffscreen) + { + id drawable = getCurrentDrawable(); + static_cast(renderPass)->setColorAttachment(0, drawable.texture, 0); static_cast(renderPass)->setDepthStencilAttachment(_mtkView.depthStencilTexture, 0); } MTLRenderPassDescriptor *mtlRenderPassDescriptor = static_cast(renderPass)->getMTLRenderPassDescriptor(); @@ -136,27 +157,35 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb _commandEncoder.setScissor(renderArea); } -void CCMTLCommandBuffer::endRenderPass() { - _commandEncoder.endEncoding(); +void CCMTLCommandBuffer::endRenderPass() +{ + [_mtlEncoder endEncoding]; } -void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) { +void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) +{ _gpuPipelineState = static_cast(pso)->getGPUPipelineState(); _mtlPrimitiveType = _gpuPipelineState->primitiveType; - _commandEncoder.setCullMode(_gpuPipelineState->cullMode); - _commandEncoder.setFrontFacingWinding(_gpuPipelineState->winding); - _commandEncoder.setDepthClipMode(_gpuPipelineState->depthClipMode); - _commandEncoder.setTriangleFillMode(_gpuPipelineState->fillMode); - _commandEncoder.setRenderPipelineState(_gpuPipelineState->mtlRenderPipelineState); +#ifndef TARGET_OS_SIMULATOR + if (@available(iOS 11.0, macOS 10.11)) + { + [_mtlEncoder setDepthClipMode:_gpuPipelineState->depthClipMode]; + } +#endif + [_mtlEncoder setTriangleFillMode:_gpuPipelineState->fillMode]; + [_mtlEncoder setRenderPipelineState:_gpuPipelineState->mtlRenderPipelineState]; - if (_gpuPipelineState->mtlDepthStencilState) { - _commandEncoder.setStencilFrontBackReferenceValue(_gpuPipelineState->stencilRefFront, _gpuPipelineState->stencilRefBack); - _commandEncoder.setDepthStencilState(_gpuPipelineState->mtlDepthStencilState); + if (_gpuPipelineState->mtlDepthStencilState) + { + [_mtlEncoder setStencilFrontReferenceValue:_gpuPipelineState->stencilRefFront + backReferenceValue:_gpuPipelineState->stencilRefBack]; + [_mtlEncoder setDepthStencilState:_gpuPipelineState->mtlDepthStencilState]; } } -void CCMTLCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { +void CCMTLCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) +{ CCASSERT(set < _GPUDescriptorSets.size(), "Invalid set index"); if (dynamicOffsetCount) { _dynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); @@ -170,147 +199,224 @@ void CCMTLCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } } -void CCMTLCommandBuffer::bindInputAssembler(InputAssembler *ia) { - if (ia) { +void CCMTLCommandBuffer::bindInputAssembler(InputAssembler *ia) +{ + if (ia) + { _inputAssembler = static_cast(ia); + if (_inputAssembler->getIndexBuffer()) + { + _gpuIndexBuffer.mtlBuffer = static_cast(_inputAssembler->getIndexBuffer())->getMTLBuffer(); + _gpuIndexBuffer.stride = _inputAssembler->getIndexBuffer()->getStride(); + _indexType = static_cast(_inputAssembler->getIndexBuffer())->getIndexType(); + } + + if (_inputAssembler->getIndirectBuffer()) + { + _gpuIndirectBuffer.mtlBuffer = static_cast(_inputAssembler->getIndirectBuffer())->getMTLBuffer(); + _gpuIndirectBuffer.count = _inputAssembler->getIndirectBuffer()->getCount(); + } } } -void CCMTLCommandBuffer::setViewport(const Viewport &vp) { - _commandEncoder.setViewport(vp); +void CCMTLCommandBuffer::setViewport(const Viewport &vp) +{ + if (_currentViewport == vp) + return; + + _currentViewport = vp; + [_mtlEncoder setViewport:mu::toMTLViewport(_currentViewport)]; } -void CCMTLCommandBuffer::setScissor(const Rect &rect) { - _commandEncoder.setScissor(rect); +void CCMTLCommandBuffer::setScissor(const Rect &rect) +{ + if (_currentScissor == rect) + return; + + _currentScissor = rect; + [_mtlEncoder setScissorRect:mu::toMTLScissorRect(_currentScissor)]; } -void CCMTLCommandBuffer::setLineWidth(const float width) { +void CCMTLCommandBuffer::setLineWidth(const float width) +{ CC_LOG_WARNING("Metal doesn't support setting line width."); } -void CCMTLCommandBuffer::setDepthBias(float constant, float clamp, float slope) { - _commandEncoder.setDepthBias(constant, clamp, slope); +void CCMTLCommandBuffer::setDepthBias(float constant, float clamp, float slope) +{ + if (math::IsNotEqualF(constant, _depthBias.depthBias) || + math::IsNotEqualF(clamp, _depthBias.clamp) || + math::IsNotEqualF(slope, _depthBias.slopeScale)) + { + _depthBias.depthBias = constant; + _depthBias.slopeScale = slope; + _depthBias.clamp = clamp; + [_mtlEncoder setDepthBias:_depthBias.depthBias + slopeScale:_depthBias.slopeScale + clamp:_depthBias.clamp]; + } } -void CCMTLCommandBuffer::setBlendConstants(const Color &constants) { - _commandEncoder.setBlendColor(constants); +void CCMTLCommandBuffer::setBlendConstants(const Color &constants) +{ + if (math::IsNotEqualF(constants.x, _blendConstants.x) || + math::IsNotEqualF(constants.y, _blendConstants.y) || + math::IsNotEqualF(constants.z, _blendConstants.z) || + math::IsNotEqualF(constants.w, _blendConstants.w)) + { + _blendConstants.x = constants.x; + _blendConstants.y = constants.y; + _blendConstants.z = constants.z; + _blendConstants.w = constants.w; + [_mtlEncoder setBlendColorRed:_blendConstants.x + green:_blendConstants.y + blue:_blendConstants.z + alpha:_blendConstants.w]; + } } -void CCMTLCommandBuffer::setDepthBound(float minBounds, float maxBounds) { +void CCMTLCommandBuffer::setDepthBound(float minBounds, float maxBounds) +{ CC_LOG_ERROR("Metal doesn't support setting depth bound."); } -void CCMTLCommandBuffer::setStencilWriteMask(StencilFace face, uint mask) { +void CCMTLCommandBuffer::setStencilWriteMask(StencilFace face, uint mask) +{ CC_LOG_ERROR("Don't support change stencil write mask here."); } -void CCMTLCommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint mask) { +void CCMTLCommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint mask) +{ CC_LOG_ERROR("Don't support change stencil compare mask here."); } -void CCMTLCommandBuffer::draw(InputAssembler *ia) { - if (_firstDirtyDescriptorSet < _GPUDescriptorSets.size()) { +void CCMTLCommandBuffer::draw(InputAssembler *ia) +{ + if (_firstDirtyDescriptorSet < _GPUDescriptorSets.size()) + { bindDescriptorSets(); } - const auto indirectBuffer = static_cast(ia->getIndirectBuffer()); - const auto indexBuffer = static_cast(ia->getIndexBuffer()); - auto mtlEncoder = _commandEncoder.getMTLEncoder(); - - if (_type == CommandBufferType::PRIMARY) { - if (indirectBuffer) { - const auto indirectMTLBuffer = indirectBuffer->getMTLBuffer(); - - if (_indirectDrawSuppotred) { - ++_numDrawCalls; - if (indirectBuffer->isDrawIndirectByIndex()) { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexType:_indexType - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:0 - indirectBuffer:indirectMTLBuffer - indirectBufferOffset:0]; - } else { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - indirectBuffer:indirectMTLBuffer - indirectBufferOffset:0]; + const auto indirectBuffer = ia->getIndirectBuffer(); + if (_type == CommandBufferType::PRIMARY) + { + if (indirectBuffer) + { + const auto count = indirectBuffer->getCount(); + const auto &indirectInfos = static_cast(indirectBuffer)->getDrawInfos(); + _numDrawCalls += count; + for (size_t j = 0; j < count; j++) + { + if (_indirectDrawSuppotred) + { + if (_gpuIndexBuffer.mtlBuffer) + { + [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexType:_indexType + indexBuffer:_gpuIndexBuffer.mtlBuffer + indexBufferOffset:j * _gpuIndexBuffer.stride + indirectBuffer:static_cast(indirectBuffer)->getMTLBuffer() + indirectBufferOffset:j * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)]; + } else + { + [_mtlEncoder drawPrimitives:_mtlPrimitiveType + indirectBuffer:static_cast(indirectBuffer)->getMTLBuffer() + indirectBufferOffset:j * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)]; + } } - } else { - uint stride = indirectBuffer->getStride(); - uint offset = 0; - uint drawInfoCount = indirectBuffer->getCount(); - const auto &drawInfos = indirectBuffer->getDrawInfos(); - _numDrawCalls += drawInfoCount; - - for (uint i = 0; i < drawInfoCount; ++i) { - const auto &drawInfo = drawInfos[i]; - offset += drawInfo.firstIndex * stride; - if (indirectBuffer->isDrawIndirectByIndex()) { - if (drawInfo.instanceCount == 0) { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:_indexType - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:offset]; - } else { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:_indexType - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:offset - instanceCount:drawInfo.instanceCount]; + else + { + const auto &drawInfo = indirectInfos[j]; + NSUInteger offset = 0; + offset += drawInfo.firstIndex * _gpuIndexBuffer.stride; + if (drawInfo.indexCount) + { + if (drawInfo.instanceCount == 0) + { + [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:_indexType + indexBuffer:_gpuIndexBuffer.mtlBuffer + indexBufferOffset:offset]; } - } else { - if (drawInfo.instanceCount == 0) { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount]; - } else { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount - instanceCount:drawInfo.instanceCount]; + else + { + [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:_indexType + indexBuffer:_gpuIndexBuffer.mtlBuffer + indexBufferOffset:offset + instanceCount:drawInfo.instanceCount]; + } + } + else + { + if (drawInfo.instanceCount == 0) + { + [_mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount]; + } + else + { + [_mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount + instanceCount:drawInfo.instanceCount]; } } } } - } else { + } + else + { DrawInfo drawInfo; static_cast(ia)->extractDrawInfo(drawInfo); - if (drawInfo.indexCount > 0) { - uint offset = 0; - offset += drawInfo.firstIndex * indexBuffer->getStride(); - if (drawInfo.instanceCount == 0) { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:_indexType - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:offset]; - } else { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:_indexType - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:offset - instanceCount:drawInfo.instanceCount]; + if (drawInfo.indexCount > 0) + { + NSUInteger offset = 0; + offset += drawInfo.firstIndex * _gpuIndexBuffer.stride; + if (drawInfo.instanceCount == 0) + { + [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:_indexType + indexBuffer:_gpuIndexBuffer.mtlBuffer + indexBufferOffset:offset]; } - } else if (drawInfo.vertexCount) { - if (drawInfo.instanceCount == 0) { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount]; - } else { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount - instanceCount:drawInfo.instanceCount]; + else + { + [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:_indexType + indexBuffer:_gpuIndexBuffer.mtlBuffer + indexBufferOffset:offset + instanceCount:drawInfo.instanceCount]; + } + } + else + { + if (drawInfo.instanceCount == 0) + { + [_mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount]; + } + else + { + [_mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount + instanceCount:drawInfo.instanceCount]; } } _numInstances += drawInfo.instanceCount; _numDrawCalls++; - if (_gpuPipelineState) { + if (_gpuPipelineState) + { uint indexCount = drawInfo.indexCount ? drawInfo.indexCount : drawInfo.vertexCount; - switch (_mtlPrimitiveType) { + switch (_mtlPrimitiveType) + { case MTLPrimitiveTypeTriangle: _numTriangles += indexCount / 3 * std::max(drawInfo.instanceCount, 1u); break; @@ -322,15 +428,21 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { } } - } else if (_type == CommandBufferType::SECONDARY) { + } + else if (_type == CommandBufferType::SECONDARY) + { CC_LOG_ERROR("CommandBufferType::SECONDARY not implemented."); - } else { + } + else + { CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); } } -void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { - if (!buff) { +void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) +{ + if (!buff) + { CC_LOG_ERROR("CCMTLCommandBuffer::updateBuffer: buffer is nullptr."); return; } @@ -349,8 +461,10 @@ void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) [encoder endEncoding]; } -void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - if (!texture) { +void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) +{ + if (!texture) + { CC_LOG_ERROR("CCMTLCommandBuffer::copyBufferToTexture: texture is nullptr"); return; } @@ -361,7 +475,8 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex auto format = texture->getFormat(); CCMTLTexture *mtlTexture = static_cast(texture); auto convertedFormat = mtlTexture->getConvertedFormat(); - for (size_t i = 0; i < count; i++) { + for (size_t i = 0; i < count; i++) + { const auto ®ion = regions[i]; auto &stagingRegion = stagingRegions[i]; auto w = region.buffStride > 0 ? region.buffStride : region.texExtent.width; @@ -383,7 +498,8 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex id encoder = [_mtlCommandBuffer blitCommandEncoder]; id dstTexture = mtlTexture->getMTLTexture(); const bool isArrayTexture = mtlTexture->isArray(); - for (size_t i = 0; i < count; i++) { + for (size_t i = 0; i < count; i++) + { const auto &stagingRegion = stagingRegions[i]; const auto convertedData = mu::convertData(buffers[i], bufferSize[i], format); const auto sourceBytesPerImage = isArrayTexture ? stagingRegion.sourceBytesPerImage : 0; @@ -402,14 +518,17 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex CC_FREE(convertedData); } } - if (texture->getFlags() & TextureFlags::GEN_MIPMAP && mu::pixelFormatIsColorRenderable(convertedFormat)) { + if (texture->getFlags() & TextureFlags::GEN_MIPMAP && mu::pixelFormatIsColorRenderable(convertedFormat)) + { [encoder generateMipmapsForTexture:dstTexture]; } [encoder endEncoding]; } -void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) { - for (uint i = 0; i < count; ++i) { +void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) +{ + for (uint i = 0; i < count; ++i) + { auto commandBuffer = static_cast(commandBuffs[i]); _numDrawCalls += commandBuffer->_numDrawCalls; _numInstances += commandBuffer->_numInstances; @@ -417,9 +536,11 @@ void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint3 } } -void CCMTLCommandBuffer::bindDescriptorSets() { +void CCMTLCommandBuffer::bindDescriptorSets() +{ auto &vertexBuffers = _inputAssembler->getVertexBuffers(); - for (const auto &bindingInfo : _gpuPipelineState->vertexBufferBindingInfo) { + for (const auto &bindingInfo : _gpuPipelineState->vertexBufferBindingInfo) + { auto index = std::get<0>(bindingInfo); auto stream = std::get<1>(bindingInfo); static_cast(vertexBuffers[stream])->encodeBuffer(_commandEncoder, 0, index, ShaderStageFlagBit::VERTEX); @@ -427,20 +548,23 @@ void CCMTLCommandBuffer::bindDescriptorSets() { const auto &dynamicOffsetIndices = _gpuPipelineState->gpuPipelineLayout->dynamicOffsetIndices; const auto &blocks = _gpuPipelineState->gpuShader->blocks; - for (const auto &iter : blocks) { + for (const auto &iter : blocks) + { const auto &block = iter.second; const auto gpuDescriptorSet = _GPUDescriptorSets[block.set]; const auto descriptorIndex = gpuDescriptorSet->descriptorIndices->at(block.binding); const auto &gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; - if (!gpuDescriptor.buffer) { + if (!gpuDescriptor.buffer) + { CC_LOG_ERROR("Buffer binding %s at set %d binding %d is not bounded.", block.name.c_str(), block.set, block.binding); continue; } const auto &dynamicOffset = dynamicOffsetIndices[block.set]; auto dynamicOffsetIndex = (block.binding < dynamicOffset.size()) ? dynamicOffset[block.binding] : -1; - if (gpuDescriptor.buffer) { + if (gpuDescriptor.buffer) + { uint offset = (dynamicOffsetIndex >= 0) ? _dynamicOffsets[block.set][dynamicOffsetIndex] : 0; gpuDescriptor.buffer->encodeBuffer(_commandEncoder, offset, @@ -450,27 +574,34 @@ void CCMTLCommandBuffer::bindDescriptorSets() { } const auto &samplers = _gpuPipelineState->gpuShader->samplers; - auto mtlEncoder = _commandEncoder.getMTLEncoder(); - for (const auto &iter : samplers) { + for (const auto &iter : samplers) + { const auto &sampler = iter.second; const auto gpuDescriptorSet = _GPUDescriptorSets[sampler.set]; const auto descriptorIndex = gpuDescriptorSet->descriptorIndices->at(sampler.binding); const auto &gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; - if (!gpuDescriptor.texture || !gpuDescriptor.sampler) { + if (!gpuDescriptor.texture || !gpuDescriptor.sampler) + { CC_LOG_ERROR("Sampler binding %s at set %d binding %d is not bounded.", sampler.name.c_str(), sampler.set, sampler.binding); continue; } - if (sampler.stages & ShaderStageFlagBit::VERTEX) { - _commandEncoder.setVertexTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); - _commandEncoder.setVertexSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); + if (sampler.stages & ShaderStageFlagBit::VERTEX) + { + [_mtlEncoder setVertexTexture:gpuDescriptor.texture->getMTLTexture() + atIndex:sampler.textureBinding]; + [_mtlEncoder setVertexSamplerState:gpuDescriptor.sampler->getMTLSamplerState() + atIndex:sampler.samplerBinding]; } - if (sampler.stages & ShaderStageFlagBit::FRAGMENT) { - _commandEncoder.setFragmentTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); - _commandEncoder.setFragmentSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); + if (sampler.stages & ShaderStageFlagBit::FRAGMENT) + { + [_mtlEncoder setFragmentTexture:gpuDescriptor.texture->getMTLTexture() + atIndex:sampler.textureBinding]; + [_mtlEncoder setFragmentSamplerState:gpuDescriptor.sampler->getMTLSamplerState() + atIndex:sampler.samplerBinding]; } } } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index bfb05337a1..908bb087b5 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -93,6 +93,7 @@ public: CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } CC_INLINE void *getMTKView() const { return _mtkView; } + CC_INLINE void *getMTLLayer() const { return _mtlLayer; } CC_INLINE void *getMTLDevice() const { return _mtlDevice; } CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } @@ -109,6 +110,7 @@ private: void *_mtlCommandQueue = nullptr; void *_mtkView = nullptr; void *_mtlDevice = nullptr; + void *_mtlLayer = nullptr; unsigned long _mtlFeatureSet = 0; uint _maxSamplerUnits = 0; uint _maxColorRenderTargets = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 3182a2f5dd..8e9adc28ea 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -81,6 +81,7 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _mtkView = (MTKView *)_windowHandle; id mtlDevice = ((MTKView *)_mtkView).device; _mtlDevice = mtlDevice; + _mtlLayer = ((MTKView *)_mtkView).layer; _mtlCommandQueue = [mtlDevice newCommandQueue]; _mtlFeatureSet = mu::highestSupportedFeatureSet(mtlDevice); From 74b450836791119f16c79aa78841d7a161a57452 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sat, 28 Nov 2020 15:43:09 +0800 Subject: [PATCH 035/270] Augment memory chunk size --- native/cocos/renderer/core/gfx/GFXDef.h | 2 +- .../renderer/core/thread/CommandEncoder.cpp | 2 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 121 +++++++++------- .../renderer/gfx-gles2/GLES2GPUObjects.h | 2 + .../renderer/gfx-gles3/GLES3Commands.cpp | 133 +++++++++++------- .../renderer/gfx-gles3/GLES3GPUObjects.h | 2 + 6 files changed, 154 insertions(+), 108 deletions(-) diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index aec6599f52..15f87cb242 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -1020,7 +1020,7 @@ struct BlendState { uint32_t isA2C = 0; uint32_t isIndepend = 0; Color blendColor; - BlendTargetList targets{1}; + BlendTargetList targets; }; struct PipelineStateInfo { diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/renderer/core/thread/CommandEncoder.cpp index 42d25966fe..5cfaf09647 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/renderer/core/thread/CommandEncoder.cpp @@ -6,7 +6,7 @@ namespace gfx { namespace { -uint32_t constexpr kMemoryChunkSize = 16 * 1024 * 1024; +uint32_t constexpr kMemoryChunkSize = 32 * 1024 * 1024; uint32_t constexpr kMemoryChunkPoolCapacity = 16; uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index f9cb1b589c..18ae8da52e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1384,18 +1384,32 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen cache->scissor.height = renderArea.height; } - GLbitfield glClears = 0; - uint numAttachments = 0; + GLbitfield glClears = 0; + uint numAttachments = 0; - gpuRenderPass = gpuRenderPass; - for (uint j = 0; j < numClearColors; ++j) { - const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; - if (colorAttachment.format != Format::UNKNOWN) { - switch (colorAttachment.loadOp) { - case LoadOp::LOAD: break; // GL default behaviour - case LoadOp::CLEAR: { - if (cache->bs.targets[0]->blendColorMask != ColorMask::ALL) { - GL_CHECK(glColorMask(true, true, true, true)); + gpuRenderPass = cmd->gpuRenderPass; + for (uint j = 0; j < cmd->numClearColors; ++j) { + const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; + if (colorAttachment.format != Format::UNKNOWN) { + switch (colorAttachment.loadOp) { + case LoadOp::LOAD: break; // GL default behaviour + case LoadOp::CLEAR: { + if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { + glColorMask(true, true, true, true); + } + + const Color &color = cmd->clearColors[j]; + glClearColor(color.x, color.y, color.z, color.w); + glClears |= GL_COLOR_BUFFER_BIT; + break; + } + case LoadOp::DISCARD: { + // invalidate fbo + glAttachments[numAttachments++] = (cmd->gpuFBO->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR_EXT); + break; + } + default:; + } } const Color &color = clearColors[j]; @@ -1408,22 +1422,16 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR_EXT); break; } - default:; - } - } - } // for - if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { - bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; - if (hasDepth) { - switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { - case LoadOp::LOAD: break; // GL default behaviour - case LoadOp::CLEAR: { - GL_CHECK(glDepthMask(true)); - cache->dss.depthWrite = true; - GL_CHECK(glClearDepthf(clearDepth)); - glClears |= GL_DEPTH_BUFFER_BIT; - break; + // restore states + if (glClears & GL_COLOR_BUFFER_BIT) { + ColorMask colorMask = cache->bs.targets[0].blendColorMask; + if (colorMask != ColorMask::ALL) { + glColorMask((GLboolean)(colorMask & ColorMask::R), + (GLboolean)(colorMask & ColorMask::G), + (GLboolean)(colorMask & ColorMask::B), + (GLboolean)(colorMask & ColorMask::A)); + } } case LoadOp::DISCARD: { // invalidate fbo @@ -1930,37 +1938,42 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli glWrapS = GL_CLAMP_TO_EDGE; glWrapT = GL_CLAMP_TO_EDGE; - if (gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR || - gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_NEAREST || - gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_LINEAR) { - glMinFilter = GL_LINEAR; - } else { - glMinFilter = GL_NEAREST; + BlendTarget &cacheTarget = cache->bs.targets[0]; + const BlendTarget &target = gpuPipelineState->bs.targets[0]; + if (cacheTarget.blend != target.blend) { + if (!cacheTarget.blend) { + glEnable(GL_BLEND); + } else { + glDisable(GL_BLEND); + } + cacheTarget.blend = target.blend; } - } - - if (gpuTexture->glWrapS != glWrapS) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; + if (cacheTarget.blendEq != target.blendEq || + cacheTarget.blendAlphaEq != target.blendAlphaEq) { + glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target.blendEq], + GLES2_BLEND_OPS[(int)target.blendAlphaEq]); + cacheTarget.blendEq = target.blendEq; + cacheTarget.blendAlphaEq = target.blendAlphaEq; } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, glWrapS)); - gpuTexture->glWrapS = glWrapS; - } - - if (gpuTexture->glWrapT != glWrapT) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; + if (cacheTarget.blendSrc != target.blendSrc || + cacheTarget.blendDst != target.blendDst || + cacheTarget.blendSrcAlpha != target.blendSrcAlpha || + cacheTarget.blendDstAlpha != target.blendDstAlpha) { + glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target.blendSrc], + GLES2_BLEND_FACTORS[(int)target.blendDst], + GLES2_BLEND_FACTORS[(int)target.blendSrcAlpha], + GLES2_BLEND_FACTORS[(int)target.blendDstAlpha]); + cacheTarget.blendSrc = target.blendSrc; + cacheTarget.blendDst = target.blendDst; + cacheTarget.blendSrcAlpha = target.blendSrcAlpha; + cacheTarget.blendDstAlpha = target.blendDstAlpha; } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, glWrapT)); - gpuTexture->glWrapT = glWrapT; - } - - if (gpuTexture->glMinFilter != glMinFilter) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; + if (cacheTarget.blendColorMask != target.blendColorMask) { + glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), + (GLboolean)(target.blendColorMask & ColorMask::G), + (GLboolean)(target.blendColorMask & ColorMask::B), + (GLboolean)(target.blendColorMask & ColorMask::A)); + cacheTarget.blendColorMask = target.blendColorMask; } GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, glMinFilter)); gpuTexture->glMinFilter = glMinFilter; diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index faee2e544a..0c5407f33d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -325,6 +325,8 @@ public: GLES2ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t vertexAttributes) { + bt.resize(1); + bs.targets.push_back(bt[0]); glTextures.resize(texUnits, 0u); glEnabledAttribLocs.resize(vertexAttributes, false); glCurrentAttribLocs.resize(vertexAttributes, false); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 241caf5291..8b692732ba 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1484,17 +1484,41 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen cache->scissor.height = renderArea.height; } - GLbitfield glClears = 0; - uint numAttachments = 0; + GLbitfield glClears = 0; + uint numAttachments = 0; - for (uint j = 0; j < numClearColors; ++j) { - const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; - if (colorAttachment.format != Format::UNKNOWN) { - switch (colorAttachment.loadOp) { - case LoadOp::LOAD: break; // GL default behaviour - case LoadOp::CLEAR: { - if (cache->bs.targets[0]->blendColorMask != ColorMask::ALL) { - GL_CHECK(glColorMask(true, true, true, true)); + gpuRenderPass = cmd->gpuRenderPass; + for (uint j = 0; j < cmd->numClearColors; ++j) { + const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; + if (colorAttachment.format != Format::UNKNOWN) { + switch (colorAttachment.loadOp) { + case LoadOp::LOAD: break; // GL default behaviour + case LoadOp::CLEAR: { + if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { + glColorMask(true, true, true, true); + } + + if (cmd->gpuFBO->isOffscreen) { + static float fColors[4]; + fColors[0] = cmd->clearColors[j].x; + fColors[1] = cmd->clearColors[j].y; + fColors[2] = cmd->clearColors[j].z; + fColors[3] = cmd->clearColors[j].w; + glClearBufferfv(GL_COLOR, j, fColors); + } else { + const Color &color = cmd->clearColors[j]; + glClearColor(color.x, color.y, color.z, color.w); + glClears |= GL_COLOR_BUFFER_BIT; + } + break; + } + case LoadOp::DISCARD: { + // invalidate fbo + glAttachments[numAttachments++] = (cmd->gpuFBO->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR); + break; + } + default:; + } } if (gpuFramebuffer->isOffscreen) { @@ -1516,22 +1540,16 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR); break; } - default:; - } - } - } // for - if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { - bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; - if (hasDepth) { - switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { - case LoadOp::LOAD: break; // GL default behaviour - case LoadOp::CLEAR: { - GL_CHECK(glDepthMask(true)); - cache->dss.depthWrite = true; - GL_CHECK(glClearDepthf(clearDepth)); - glClears |= GL_DEPTH_BUFFER_BIT; - break; + // restore states + if (glClears & GL_COLOR_BUFFER_BIT) { + ColorMask colorMask = cache->bs.targets[0].blendColorMask; + if (colorMask != ColorMask::ALL) { + glColorMask((GLboolean)(colorMask & ColorMask::R), + (GLboolean)(colorMask & ColorMask::G), + (GLboolean)(colorMask & ColorMask::B), + (GLboolean)(colorMask & ColorMask::A)); + } } case LoadOp::DISCARD: { // invalidate fbo @@ -1776,33 +1794,44 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->dss.stencilWriteMaskFront = gpuPipelineState->dss.stencilWriteMaskFront; } - // bind depth-stencil state - back - if (cache->dss.stencilFuncBack != gpuPipelineState->dss.stencilFuncBack || - cache->dss.stencilRefBack != gpuPipelineState->dss.stencilRefBack || - cache->dss.stencilReadMaskBack != gpuPipelineState->dss.stencilReadMaskBack) { - glStencilFuncSeparate(GL_BACK, - GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], - gpuPipelineState->dss.stencilRefBack, - gpuPipelineState->dss.stencilReadMaskBack); - cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; - cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; - cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; - } - if (cache->dss.stencilFailOpBack != gpuPipelineState->dss.stencilFailOpBack || - cache->dss.stencilZFailOpBack != gpuPipelineState->dss.stencilZFailOpBack || - cache->dss.stencilPassOpBack != gpuPipelineState->dss.stencilPassOpBack) { - glStencilOpSeparate(GL_BACK, - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack]); - cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; - cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; - cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; - } - if (cache->dss.stencilWriteMaskBack != gpuPipelineState->dss.stencilWriteMaskBack) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack)); - cache->dss.stencilWriteMaskBack = gpuPipelineState->dss.stencilWriteMaskBack; - } + BlendTarget &cacheTarget = cache->bs.targets[0]; + const BlendTarget &target = gpuPipelineState->bs.targets[0]; + if (cacheTarget.blend != target.blend) { + if (!cacheTarget.blend) { + glEnable(GL_BLEND); + } else { + glDisable(GL_BLEND); + } + cacheTarget.blend = target.blend; + } + if (cacheTarget.blendEq != target.blendEq || + cacheTarget.blendAlphaEq != target.blendAlphaEq) { + glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target.blendEq], + GLES3_BLEND_OPS[(int)target.blendAlphaEq]); + cacheTarget.blendEq = target.blendEq; + cacheTarget.blendAlphaEq = target.blendAlphaEq; + } + if (cacheTarget.blendSrc != target.blendSrc || + cacheTarget.blendDst != target.blendDst || + cacheTarget.blendSrcAlpha != target.blendSrcAlpha || + cacheTarget.blendDstAlpha != target.blendDstAlpha) { + glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target.blendSrc], + GLES3_BLEND_FACTORS[(int)target.blendDst], + GLES3_BLEND_FACTORS[(int)target.blendSrcAlpha], + GLES3_BLEND_FACTORS[(int)target.blendDstAlpha]); + cacheTarget.blendSrc = target.blendSrc; + cacheTarget.blendDst = target.blendDst; + cacheTarget.blendSrcAlpha = target.blendSrcAlpha; + cacheTarget.blendDstAlpha = target.blendDstAlpha; + } + if (cacheTarget.blendColorMask != target.blendColorMask) { + glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), + (GLboolean)(target.blendColorMask & ColorMask::G), + (GLboolean)(target.blendColorMask & ColorMask::B), + (GLboolean)(target.blendColorMask & ColorMask::A)); + cacheTarget.blendColorMask = target.blendColorMask; + } + } // if // bind blend state if (cache->bs.isA2C != gpuPipelineState->bs.isA2C) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 1905a879d0..1e43b74c71 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -294,6 +294,8 @@ public: GLES3ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t bufferBindings, size_t vertexAttributes) { + bt.resize(1); + bs.targets.push_back(bt[0]); glBindUBOs.resize(bufferBindings, 0u); glBindUBOOffsets.resize(bufferBindings, 0u); glTextures.resize(texUnits, 0u); From 91756f5c5349931b2ee7fe36e36ce08065843f71 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sat, 28 Nov 2020 15:48:14 +0800 Subject: [PATCH 036/270] Fix conflicts in GLESCommands --- .../renderer/gfx-gles2/GLES2Commands.cpp | 96 +++++++--------- .../renderer/gfx-gles3/GLES3Commands.cpp | 104 +++++++----------- 2 files changed, 81 insertions(+), 119 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 18ae8da52e..48f4e0893d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1384,32 +1384,18 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen cache->scissor.height = renderArea.height; } - GLbitfield glClears = 0; - uint numAttachments = 0; + GLbitfield glClears = 0; + uint numAttachments = 0; - gpuRenderPass = cmd->gpuRenderPass; - for (uint j = 0; j < cmd->numClearColors; ++j) { - const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; - if (colorAttachment.format != Format::UNKNOWN) { - switch (colorAttachment.loadOp) { - case LoadOp::LOAD: break; // GL default behaviour - case LoadOp::CLEAR: { - if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { - glColorMask(true, true, true, true); - } - - const Color &color = cmd->clearColors[j]; - glClearColor(color.x, color.y, color.z, color.w); - glClears |= GL_COLOR_BUFFER_BIT; - break; - } - case LoadOp::DISCARD: { - // invalidate fbo - glAttachments[numAttachments++] = (cmd->gpuFBO->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR_EXT); - break; - } - default:; - } + gpuRenderPass = gpuRenderPass; + for (uint j = 0; j < numClearColors; ++j) { + const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; + if (colorAttachment.format != Format::UNKNOWN) { + switch (colorAttachment.loadOp) { + case LoadOp::LOAD: break; // GL default behaviour + case LoadOp::CLEAR: { + if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { + GL_CHECK(glColorMask(true, true, true, true)); } const Color &color = clearColors[j]; @@ -1476,7 +1462,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen // restore states if (glClears & GL_COLOR_BUFFER_BIT) { - ColorMask colorMask = cache->bs.targets[0]->blendColorMask; + ColorMask colorMask = cache->bs.targets[0].blendColorMask; if (colorMask != ColorMask::ALL) { GL_CHECK(glColorMask((GLboolean)(colorMask & ColorMask::R), (GLboolean)(colorMask & ColorMask::G), @@ -1728,42 +1714,42 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->bs.blendColor = gpuPipelineState->bs.blendColor; } - BlendTarget *cacheTarget = cache->bs.targets[0]; - const BlendTarget *target = gpuPipelineState->bs.targets[0]; - if (cacheTarget->blend != target->blend) { - if (!cacheTarget->blend) { + BlendTarget &cacheTarget = cache->bs.targets[0]; + const BlendTarget &target = gpuPipelineState->bs.targets[0]; + if (cacheTarget.blend != target.blend) { + if (!cacheTarget.blend) { GL_CHECK(glEnable(GL_BLEND)); } else { GL_CHECK(glDisable(GL_BLEND)); } - cacheTarget->blend = target->blend; + cacheTarget.blend = target.blend; } - if (cacheTarget->blendEq != target->blendEq || - cacheTarget->blendAlphaEq != target->blendAlphaEq) { - GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target->blendEq], - GLES2_BLEND_OPS[(int)target->blendAlphaEq])); - cacheTarget->blendEq = target->blendEq; - cacheTarget->blendAlphaEq = target->blendAlphaEq; + if (cacheTarget.blendEq != target.blendEq || + cacheTarget.blendAlphaEq != target.blendAlphaEq) { + GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target.blendEq], + GLES2_BLEND_OPS[(int)target.blendAlphaEq])); + cacheTarget.blendEq = target.blendEq; + cacheTarget.blendAlphaEq = target.blendAlphaEq; } - if (cacheTarget->blendSrc != target->blendSrc || - cacheTarget->blendDst != target->blendDst || - cacheTarget->blendSrcAlpha != target->blendSrcAlpha || - cacheTarget->blendDstAlpha != target->blendDstAlpha) { - GL_CHECK(glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target->blendSrc], - GLES2_BLEND_FACTORS[(int)target->blendDst], - GLES2_BLEND_FACTORS[(int)target->blendSrcAlpha], - GLES2_BLEND_FACTORS[(int)target->blendDstAlpha])); - cacheTarget->blendSrc = target->blendSrc; - cacheTarget->blendDst = target->blendDst; - cacheTarget->blendSrcAlpha = target->blendSrcAlpha; - cacheTarget->blendDstAlpha = target->blendDstAlpha; + if (cacheTarget.blendSrc != target.blendSrc || + cacheTarget.blendDst != target.blendDst || + cacheTarget.blendSrcAlpha != target.blendSrcAlpha || + cacheTarget.blendDstAlpha != target.blendDstAlpha) { + GL_CHECK(glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target.blendSrc], + GLES2_BLEND_FACTORS[(int)target.blendDst], + GLES2_BLEND_FACTORS[(int)target.blendSrcAlpha], + GLES2_BLEND_FACTORS[(int)target.blendDstAlpha])); + cacheTarget.blendSrc = target.blendSrc; + cacheTarget.blendDst = target.blendDst; + cacheTarget.blendSrcAlpha = target.blendSrcAlpha; + cacheTarget.blendDstAlpha = target.blendDstAlpha; } - if (cacheTarget->blendColorMask != target->blendColorMask) { - GL_CHECK(glColorMask((GLboolean)(target->blendColorMask & ColorMask::R), - (GLboolean)(target->blendColorMask & ColorMask::G), - (GLboolean)(target->blendColorMask & ColorMask::B), - (GLboolean)(target->blendColorMask & ColorMask::A))); - cacheTarget->blendColorMask = target->blendColorMask; + if (cacheTarget.blendColorMask != target.blendColorMask) { + GL_CHECK(glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), + (GLboolean)(target.blendColorMask & ColorMask::G), + (GLboolean)(target.blendColorMask & ColorMask::B), + (GLboolean)(target.blendColorMask & ColorMask::A))); + cacheTarget.blendColorMask = target.blendColorMask; } } // if diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 8b692732ba..2e0a9daf9f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1484,41 +1484,17 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen cache->scissor.height = renderArea.height; } - GLbitfield glClears = 0; - uint numAttachments = 0; + GLbitfield glClears = 0; + uint numAttachments = 0; - gpuRenderPass = cmd->gpuRenderPass; - for (uint j = 0; j < cmd->numClearColors; ++j) { - const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; - if (colorAttachment.format != Format::UNKNOWN) { - switch (colorAttachment.loadOp) { - case LoadOp::LOAD: break; // GL default behaviour - case LoadOp::CLEAR: { - if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { - glColorMask(true, true, true, true); - } - - if (cmd->gpuFBO->isOffscreen) { - static float fColors[4]; - fColors[0] = cmd->clearColors[j].x; - fColors[1] = cmd->clearColors[j].y; - fColors[2] = cmd->clearColors[j].z; - fColors[3] = cmd->clearColors[j].w; - glClearBufferfv(GL_COLOR, j, fColors); - } else { - const Color &color = cmd->clearColors[j]; - glClearColor(color.x, color.y, color.z, color.w); - glClears |= GL_COLOR_BUFFER_BIT; - } - break; - } - case LoadOp::DISCARD: { - // invalidate fbo - glAttachments[numAttachments++] = (cmd->gpuFBO->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR); - break; - } - default:; - } + for (uint j = 0; j < numClearColors; ++j) { + const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; + if (colorAttachment.format != Format::UNKNOWN) { + switch (colorAttachment.loadOp) { + case LoadOp::LOAD: break; // GL default behaviour + case LoadOp::CLEAR: { + if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { + GL_CHECK(glColorMask(true, true, true, true)); } if (gpuFramebuffer->isOffscreen) { @@ -1594,7 +1570,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen // restore states if (glClears & GL_COLOR_BUFFER_BIT) { - ColorMask colorMask = cache->bs.targets[0]->blendColorMask; + ColorMask colorMask = cache->bs.targets[0].blendColorMask; if (colorMask != ColorMask::ALL) { GL_CHECK(glColorMask((GLboolean)(colorMask & ColorMask::R), (GLboolean)(colorMask & ColorMask::G), @@ -1854,42 +1830,42 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->bs.blendColor = gpuPipelineState->bs.blendColor; } - BlendTarget *cacheTarget = cache->bs.targets[0]; - const BlendTarget *target = gpuPipelineState->bs.targets[0]; - if (cacheTarget->blend != target->blend) { - if (!cacheTarget->blend) { + BlendTarget &cacheTarget = cache->bs.targets[0]; + const BlendTarget &target = gpuPipelineState->bs.targets[0]; + if (cacheTarget.blend != target.blend) { + if (!cacheTarget.blend) { GL_CHECK(glEnable(GL_BLEND)); } else { GL_CHECK(glDisable(GL_BLEND)); } - cacheTarget->blend = target->blend; + cacheTarget.blend = target.blend; } - if (cacheTarget->blendEq != target->blendEq || - cacheTarget->blendAlphaEq != target->blendAlphaEq) { - GL_CHECK(glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target->blendEq], - GLES3_BLEND_OPS[(int)target->blendAlphaEq])); - cacheTarget->blendEq = target->blendEq; - cacheTarget->blendAlphaEq = target->blendAlphaEq; + if (cacheTarget.blendEq != target.blendEq || + cacheTarget.blendAlphaEq != target.blendAlphaEq) { + GL_CHECK(glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target.blendEq], + GLES3_BLEND_OPS[(int)target.blendAlphaEq])); + cacheTarget.blendEq = target.blendEq; + cacheTarget.blendAlphaEq = target.blendAlphaEq; } - if (cacheTarget->blendSrc != target->blendSrc || - cacheTarget->blendDst != target->blendDst || - cacheTarget->blendSrcAlpha != target->blendSrcAlpha || - cacheTarget->blendDstAlpha != target->blendDstAlpha) { - GL_CHECK(glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target->blendSrc], - GLES3_BLEND_FACTORS[(int)target->blendDst], - GLES3_BLEND_FACTORS[(int)target->blendSrcAlpha], - GLES3_BLEND_FACTORS[(int)target->blendDstAlpha])); - cacheTarget->blendSrc = target->blendSrc; - cacheTarget->blendDst = target->blendDst; - cacheTarget->blendSrcAlpha = target->blendSrcAlpha; - cacheTarget->blendDstAlpha = target->blendDstAlpha; + if (cacheTarget.blendSrc != target.blendSrc || + cacheTarget.blendDst != target.blendDst || + cacheTarget.blendSrcAlpha != target.blendSrcAlpha || + cacheTarget.blendDstAlpha != target.blendDstAlpha) { + GL_CHECK(glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target.blendSrc], + GLES3_BLEND_FACTORS[(int)target.blendDst], + GLES3_BLEND_FACTORS[(int)target.blendSrcAlpha], + GLES3_BLEND_FACTORS[(int)target.blendDstAlpha])); + cacheTarget.blendSrc = target.blendSrc; + cacheTarget.blendDst = target.blendDst; + cacheTarget.blendSrcAlpha = target.blendSrcAlpha; + cacheTarget.blendDstAlpha = target.blendDstAlpha; } - if (cacheTarget->blendColorMask != target->blendColorMask) { - GL_CHECK(glColorMask((GLboolean)(target->blendColorMask & ColorMask::R), - (GLboolean)(target->blendColorMask & ColorMask::G), - (GLboolean)(target->blendColorMask & ColorMask::B), - (GLboolean)(target->blendColorMask & ColorMask::A))); - cacheTarget->blendColorMask = target->blendColorMask; + if (cacheTarget.blendColorMask != target.blendColorMask) { + GL_CHECK(glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), + (GLboolean)(target.blendColorMask & ColorMask::G), + (GLboolean)(target.blendColorMask & ColorMask::B), + (GLboolean)(target.blendColorMask & ColorMask::A))); + cacheTarget.blendColorMask = target.blendColorMask; } } // if From 2c3d537b5e66797eae3f11557341e635a780d0e9 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sun, 29 Nov 2020 16:57:54 +0800 Subject: [PATCH 037/270] fix GLES on iOS --- native/cocos/renderer/CMakeLists.txt | 1 + .../renderer/gfx-gles2/GLES2Commands.cpp | 835 ++++++++++-------- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 7 +- .../cocos/renderer/gfx-gles2/GLES2Context.mm | 3 +- native/cocos/renderer/gfx-gles2/GLES2Std.h | 14 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 223 +++-- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 10 +- .../cocos/renderer/gfx-gles3/GLES3Context.mm | 64 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 1 + native/cocos/renderer/gfx-gles3/GLES3Std.h | 14 +- native/cocos/renderer/gfx-vulkan/VKStd.h | 14 +- 11 files changed, 619 insertions(+), 567 deletions(-) diff --git a/native/cocos/renderer/CMakeLists.txt b/native/cocos/renderer/CMakeLists.txt index f65d0b4b9b..9bbbfa1f0f 100644 --- a/native/cocos/renderer/CMakeLists.txt +++ b/native/cocos/renderer/CMakeLists.txt @@ -10,6 +10,7 @@ elseif(COCOS_PLATFORM_IOS) add_subdirectory(gfx-metal) add_subdirectory(gfx-vulkan) elseif(COCOS_PLATFORM_OSX) + add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-metal) add_subdirectory(gfx-vulkan) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 48f4e0893d..4f7fd67cbc 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1573,28 +1573,31 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GL_CHECK(glDisable(GL_CULL_FACE)); cache->isCullFaceEnabled = false; } - } break; + } + break; case CullMode::FRONT: { if (!cache->isCullFaceEnabled) { GL_CHECK(glEnable(GL_CULL_FACE)); cache->isCullFaceEnabled = true; } GL_CHECK(glCullFace(GL_FRONT)); - } break; + } + break; case CullMode::BACK: { if (!cache->isCullFaceEnabled) { GL_CHECK(glEnable(GL_CULL_FACE)); cache->isCullFaceEnabled = true; } GL_CHECK(glCullFace(GL_BACK)); - } break; + } + break; default: break; } cache->rs.cullMode = gpuPipelineState->rs.cullMode; } - bool isFrontFaceCCW = (bool)gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; - if ((bool)cache->rs.isFrontFaceCCW != isFrontFaceCCW) { + bool isFrontFaceCCW = (bool) gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; + if ((bool) cache->rs.isFrontFaceCCW != isFrontFaceCCW) { GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); cache->rs.isFrontFaceCCW = isFrontFaceCCW; } @@ -1622,7 +1625,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->dss.depthWrite = gpuPipelineState->dss.depthWrite; } if (cache->dss.depthFunc != gpuPipelineState->dss.depthFunc) { - GL_CHECK(glDepthFunc(GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc])); + GL_CHECK(glDepthFunc(GLES2_CMP_FUNCS[(int) gpuPipelineState->dss.depthFunc])); cache->dss.depthFunc = gpuPipelineState->dss.depthFunc; } @@ -1641,10 +1644,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilFuncFront != gpuPipelineState->dss.stencilFuncFront || cache->dss.stencilRefFront != gpuPipelineState->dss.stencilRefFront || cache->dss.stencilReadMaskFront != gpuPipelineState->dss.stencilReadMaskFront) { - glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], - gpuPipelineState->dss.stencilRefFront, - gpuPipelineState->dss.stencilReadMaskFront); + GL_CHECK(glStencilFuncSeparate(GL_FRONT, + GLES2_CMP_FUNCS[(int) gpuPipelineState->dss.stencilFuncFront], + gpuPipelineState->dss.stencilRefFront, + gpuPipelineState->dss.stencilReadMaskFront)); cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; cache->dss.stencilReadMaskFront = gpuPipelineState->dss.stencilReadMaskFront; @@ -1652,10 +1655,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilFailOpFront != gpuPipelineState->dss.stencilFailOpFront || cache->dss.stencilZFailOpFront != gpuPipelineState->dss.stencilZFailOpFront || cache->dss.stencilPassOpFront != gpuPipelineState->dss.stencilPassOpFront) { - glStencilOpSeparate(GL_FRONT, - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront]); + GL_CHECK(glStencilOpSeparate(GL_FRONT, + GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilFailOpFront], + GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilZFailOpFront], + GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilPassOpFront])); cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; cache->dss.stencilZFailOpFront = gpuPipelineState->dss.stencilZFailOpFront; cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; @@ -1669,10 +1672,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilFuncBack != gpuPipelineState->dss.stencilFuncBack || cache->dss.stencilRefBack != gpuPipelineState->dss.stencilRefBack || cache->dss.stencilReadMaskBack != gpuPipelineState->dss.stencilReadMaskBack) { - glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], - gpuPipelineState->dss.stencilRefBack, - gpuPipelineState->dss.stencilReadMaskBack); + GL_CHECK(glStencilFuncSeparate(GL_BACK, + GLES2_CMP_FUNCS[(int) gpuPipelineState->dss.stencilFuncBack], + gpuPipelineState->dss.stencilRefBack, + gpuPipelineState->dss.stencilReadMaskBack)); cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; @@ -1680,10 +1683,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilFailOpBack != gpuPipelineState->dss.stencilFailOpBack || cache->dss.stencilZFailOpBack != gpuPipelineState->dss.stencilZFailOpBack || cache->dss.stencilPassOpBack != gpuPipelineState->dss.stencilPassOpBack) { - glStencilOpSeparate(GL_BACK, - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], - GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack]); + GL_CHECK(glStencilOpSeparate(GL_BACK, + GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilFailOpBack], + GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilZFailOpBack], + GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilPassOpBack])); cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; @@ -1707,10 +1710,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z || cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { - glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w); + GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } @@ -1726,8 +1729,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } if (cacheTarget.blendEq != target.blendEq || cacheTarget.blendAlphaEq != target.blendAlphaEq) { - GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target.blendEq], - GLES2_BLEND_OPS[(int)target.blendAlphaEq])); + GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int) target.blendEq], + GLES2_BLEND_OPS[(int) target.blendAlphaEq])); cacheTarget.blendEq = target.blendEq; cacheTarget.blendAlphaEq = target.blendAlphaEq; } @@ -1735,20 +1738,20 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cacheTarget.blendDst != target.blendDst || cacheTarget.blendSrcAlpha != target.blendSrcAlpha || cacheTarget.blendDstAlpha != target.blendDstAlpha) { - GL_CHECK(glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target.blendSrc], - GLES2_BLEND_FACTORS[(int)target.blendDst], - GLES2_BLEND_FACTORS[(int)target.blendSrcAlpha], - GLES2_BLEND_FACTORS[(int)target.blendDstAlpha])); + GL_CHECK(glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int) target.blendSrc], + GLES2_BLEND_FACTORS[(int) target.blendDst], + GLES2_BLEND_FACTORS[(int) target.blendSrcAlpha], + GLES2_BLEND_FACTORS[(int) target.blendDstAlpha])); cacheTarget.blendSrc = target.blendSrc; cacheTarget.blendDst = target.blendDst; cacheTarget.blendSrcAlpha = target.blendSrcAlpha; cacheTarget.blendDstAlpha = target.blendDstAlpha; } if (cacheTarget.blendColorMask != target.blendColorMask) { - GL_CHECK(glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), - (GLboolean)(target.blendColorMask & ColorMask::G), - (GLboolean)(target.blendColorMask & ColorMask::B), - (GLboolean)(target.blendColorMask & ColorMask::A))); + GL_CHECK(glColorMask((GLboolean) (target.blendColorMask & ColorMask::R), + (GLboolean) (target.blendColorMask & ColorMask::G), + (GLboolean) (target.blendColorMask & ColorMask::B), + (GLboolean) (target.blendColorMask & ColorMask::A))); cacheTarget.blendColorMask = target.blendColorMask; } } // if @@ -1770,7 +1773,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (!gpuDescriptor.gpuBuffer && !gpuDescriptor.gpuBufferView) { CC_LOG_ERROR("Buffer binding '%s' at set %d binding %d is not bounded", - glBlock.name.c_str(), glBlock.set, glBlock.binding); + glBlock.name.c_str(), glBlock.set, glBlock.binding); continue; } @@ -1778,12 +1781,13 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const vector &dynamicOffsetIndexSet = dynamicOffsetIndices[glBlock.set]; if (dynamicOffsetIndexSet.size() > glBlock.binding) { int dynamicOffsetIndex = dynamicOffsetIndexSet[glBlock.binding]; - if (dynamicOffsetIndex >= 0) offset = dynamicOffsets[glBlock.set][dynamicOffsetIndex]; + if (dynamicOffsetIndex >= 0) + offset = dynamicOffsets[glBlock.set][dynamicOffsetIndex]; } if (gpuDescriptor.gpuBufferView) { uniformBuffBase = gpuDescriptor.gpuBufferView->gpuBuffer->buffer + - gpuDescriptor.gpuBufferView->offset + offset; + gpuDescriptor.gpuBufferView->offset + offset; } else if (gpuDescriptor.gpuBuffer) { uniformBuffBase = gpuDescriptor.gpuBuffer->buffer + offset; } @@ -1795,7 +1799,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL: case GL_INT: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform1iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff)); + GL_CHECK(glUniform1iv(gpuUniform.glLoc, gpuUniform.count, + (const GLint *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1803,7 +1808,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC2: case GL_INT_VEC2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform2iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff)); + GL_CHECK(glUniform2iv(gpuUniform.glLoc, gpuUniform.count, + (const GLint *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1811,7 +1817,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC3: case GL_INT_VEC3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform3iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff)); + GL_CHECK(glUniform3iv(gpuUniform.glLoc, gpuUniform.count, + (const GLint *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1819,56 +1826,64 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_BOOL_VEC4: case GL_INT_VEC4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform4iv(gpuUniform.glLoc, gpuUniform.count, (const GLint *)uniformBuff)); + GL_CHECK(glUniform4iv(gpuUniform.glLoc, gpuUniform.count, + (const GLint *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform1fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff)); + GL_CHECK(glUniform1fv(gpuUniform.glLoc, gpuUniform.count, + (const GLfloat *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform2fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff)); + GL_CHECK(glUniform2fv(gpuUniform.glLoc, gpuUniform.count, + (const GLfloat *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform3fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff)); + GL_CHECK(glUniform3fv(gpuUniform.glLoc, gpuUniform.count, + (const GLfloat *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_VEC4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniform4fv(gpuUniform.glLoc, gpuUniform.count, (const GLfloat *)uniformBuff)); + GL_CHECK(glUniform4fv(gpuUniform.glLoc, gpuUniform.count, + (const GLfloat *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniformMatrix2fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff)); + GL_CHECK(glUniformMatrix2fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, + (const GLfloat *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniformMatrix3fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff)); + GL_CHECK(glUniformMatrix3fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, + (const GLfloat *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; } case GL_FLOAT_MAT4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { - GL_CHECK(glUniformMatrix4fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, (const GLfloat *)uniformBuff)); + GL_CHECK(glUniformMatrix4fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, + (const GLfloat *) uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1889,11 +1904,12 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const GLES2GPUDescriptor *gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; for (size_t u = 0; u < glSampler.units.size(); u++, gpuDescriptor++) { - uint unit = (uint)glSampler.units[u]; + uint unit = (uint) glSampler.units[u]; if (!gpuDescriptor->gpuTexture || !gpuDescriptor->gpuSampler) { - CC_LOG_ERROR("Sampler binding '%s' at set %d binding %d index %d is not bounded", - glSampler.name.c_str(), glSampler.set, glSampler.binding, u); + CC_LOG_ERROR( + "Sampler binding '%s' at set %d binding %d index %d is not bounded", + glSampler.name.c_str(), glSampler.set, glSampler.binding, u); continue; } @@ -1915,7 +1931,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (gpuDescriptor->gpuTexture->mipLevel <= 1 && !(gpuDescriptor->gpuTexture->flags & TextureFlagBit::GEN_MIPMAP) && (gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_NEAREST || - gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_LINEAR)) { + gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_LINEAR)) { glMinFilter = GL_LINEAR; } else { glMinFilter = gpuDescriptor->gpuSampler->glMinFilter; @@ -1924,285 +1940,336 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli glWrapS = GL_CLAMP_TO_EDGE; glWrapT = GL_CLAMP_TO_EDGE; - BlendTarget &cacheTarget = cache->bs.targets[0]; - const BlendTarget &target = gpuPipelineState->bs.targets[0]; - if (cacheTarget.blend != target.blend) { - if (!cacheTarget.blend) { - glEnable(GL_BLEND); - } else { - glDisable(GL_BLEND); + if (gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR || + gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_NEAREST || + gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_LINEAR) { + glMinFilter = GL_LINEAR; + } else { + glMinFilter = GL_NEAREST; + } + } + + // bind blend state + if (cache->bs.isA2C != gpuPipelineState->bs.isA2C) { + if (cache->bs.isA2C) { + GL_CHECK(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + } else { + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + } + cache->bs.isA2C = gpuPipelineState->bs.isA2C; + if (gpuTexture->glWrapS != glWrapS) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; } - cacheTarget.blend = target.blend; - } - if (cacheTarget.blendEq != target.blendEq || - cacheTarget.blendAlphaEq != target.blendAlphaEq) { - glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target.blendEq], - GLES2_BLEND_OPS[(int)target.blendAlphaEq]); - cacheTarget.blendEq = target.blendEq; - cacheTarget.blendAlphaEq = target.blendAlphaEq; - } - if (cacheTarget.blendSrc != target.blendSrc || - cacheTarget.blendDst != target.blendDst || - cacheTarget.blendSrcAlpha != target.blendSrcAlpha || - cacheTarget.blendDstAlpha != target.blendDstAlpha) { - glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target.blendSrc], - GLES2_BLEND_FACTORS[(int)target.blendDst], - GLES2_BLEND_FACTORS[(int)target.blendSrcAlpha], - GLES2_BLEND_FACTORS[(int)target.blendDstAlpha]); - cacheTarget.blendSrc = target.blendSrc; - cacheTarget.blendDst = target.blendDst; - cacheTarget.blendSrcAlpha = target.blendSrcAlpha; - cacheTarget.blendDstAlpha = target.blendDstAlpha; - } - if (cacheTarget.blendColorMask != target.blendColorMask) { - glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), - (GLboolean)(target.blendColorMask & ColorMask::G), - (GLboolean)(target.blendColorMask & ColorMask::B), - (GLboolean)(target.blendColorMask & ColorMask::A)); - cacheTarget.blendColorMask = target.blendColorMask; - } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, glMinFilter)); - gpuTexture->glMinFilter = glMinFilter; - } - - if (gpuTexture->glMagFilter != gpuDescriptor->gpuSampler->glMagFilter) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; - } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, gpuDescriptor->gpuSampler->glMagFilter)); - gpuTexture->glMagFilter = gpuDescriptor->gpuSampler->glMagFilter; - } - } - } - } // if - - // bind vao - if (gpuInputAssembler && gpuPipelineState->gpuShader && - (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { - gfxStateCache.gpuInputAssembler = gpuInputAssembler; - if (device->useVAO()) { - GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); - GLuint glVAO = gpuInputAssembler->glVAOs[hash]; - if (!glVAO) { - GL_CHECK(glGenVertexArraysOES(1, &glVAO)); - gpuInputAssembler->glVAOs[hash] = glVAO; - GL_CHECK(glBindVertexArrayOES(glVAO)); - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); - - for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { - const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; - for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { - const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; - if (gpuAttribute.name == gpuInput.name) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); - - for (uint c = 0; c < gpuAttribute.componentCount; ++c) { - GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - GL_CHECK(glEnableVertexAttribArray(glLoc)); - - cache->glEnabledAttribLocs[glLoc] = true; - GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset))); - - if (device->useInstancedArrays()) { - GL_CHECK(glVertexAttribDivisorEXT(glLoc, gpuAttribute.isInstanced ? 1 : 0)); - } - } - break; - } - } // for - } // for - - if (gpuInputAssembler->gpuIndexBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer)); - } - - GL_CHECK(glBindVertexArrayOES(0)); - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); - cache->glVAO = 0; - cache->glArrayBuffer = 0; - cache->glElementArrayBuffer = 0; - } - - if (cache->glVAO != glVAO) { - GL_CHECK(glBindVertexArrayOES(glVAO)); - cache->glVAO = glVAO; - } - } else { - for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { - cache->glCurrentAttribLocs[a] = false; - } - - for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { - const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; - for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { - const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; - if (gpuAttribute.name == gpuInput.name) { - if (cache->glArrayBuffer != gpuAttribute.glBuffer) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); - cache->glArrayBuffer = gpuAttribute.glBuffer; + if (cache->bs.blendColor.x != gpuPipelineState->bs.blendColor.x || + cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y || + cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z || + cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, + glWrapS)); + gpuTexture->glWrapS = glWrapS; } - for (uint c = 0; c < gpuAttribute.componentCount; ++c) { - GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - GL_CHECK(glEnableVertexAttribArray(glLoc)); - cache->glEnabledAttribLocs[glLoc] = true; - cache->glCurrentAttribLocs[glLoc] = true; - GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, gpuAttribute.glType, gpuAttribute.isNormalized, gpuAttribute.stride, BUFFER_OFFSET(attribOffset))); - - if (device->useInstancedArrays()) { - GL_CHECK(glVertexAttribDivisorEXT(glLoc, gpuAttribute.isInstanced ? 1 : 0)); - } - } - break; - } - } // for - } // for - - if (gpuInputAssembler->gpuIndexBuffer) { - if (cache->glElementArrayBuffer != gpuInputAssembler->gpuIndexBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, gpuInputAssembler->gpuIndexBuffer->glBuffer)); - cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; - } - } - - for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { - if (cache->glEnabledAttribLocs[a] != cache->glCurrentAttribLocs[a]) { - GL_CHECK(glDisableVertexAttribArray(a)); - cache->glEnabledAttribLocs[a] = false; - } - } - } // if - } - - if (gpuPipelineState && !gpuPipelineState->dynamicStates.empty()) { - for (DynamicStateFlagBit dynamicState : gpuPipelineState->dynamicStates) { - switch (dynamicState) { - case DynamicStateFlagBit::VIEWPORT: - if (cache->viewport != viewport) { - cache->viewport = viewport; - GL_CHECK(glViewport(viewport.left, viewport.top, viewport.width, viewport.height)); - } - break; - case DynamicStateFlagBit::SCISSOR: - if (cache->scissor != scissor) { - cache->scissor = scissor; - GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, scissor.height)); - } - break; - case DynamicStateFlagBit::LINE_WIDTH: - if (cache->rs.lineWidth != lineWidth) { - cache->rs.lineWidth = lineWidth; - GL_CHECK(glLineWidth(lineWidth)); - } - break; - case DynamicStateFlagBit::DEPTH_BIAS: - if ((bool)cache->rs.depthBiasEnabled != depthBiasEnabled) { - if (depthBiasEnabled) - GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); - else - GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); - - cache->rs.depthBiasEnabled = depthBiasEnabled; - } - if ((cache->rs.depthBias != depthBias.constant) || - (cache->rs.depthBiasSlop != depthBias.slope)) { - GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); - cache->rs.depthBias = depthBias.constant; - cache->rs.depthBiasSlop = depthBias.slope; - } - break; - case DynamicStateFlagBit::BLEND_CONSTANTS: - if ((cache->bs.blendColor.x != gpuPipelineState->bs.blendColor.x) || - (cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y) || - (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || - (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { - glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w); + GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; + if (gpuTexture->glWrapT != glWrapT) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; + } + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, + glWrapT)); + gpuTexture->glWrapT = glWrapT; + } + + if (gpuTexture->glMinFilter != glMinFilter) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; + } + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, + glMinFilter)); + gpuTexture->glMinFilter = glMinFilter; + } + + if (gpuTexture->glMagFilter != gpuDescriptor->gpuSampler->glMagFilter) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; + } + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, + gpuDescriptor->gpuSampler->glMagFilter)); + gpuTexture->glMagFilter = gpuDescriptor->gpuSampler->glMagFilter; + } } - break; - case DynamicStateFlagBit::STENCIL_WRITE_MASK: - switch (stencilWriteMask.face) { - case StencilFace::FRONT: - if (cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, stencilWriteMask.writeMask)); - cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; - } - break; - case StencilFace::BACK: - if (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, stencilWriteMask.writeMask)); - cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; - } - break; - case StencilFace::ALL: - if ((cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) || - (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask)) { - GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); - cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; - cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; - } - break; + } + } // if + + // bind vao + if (gpuInputAssembler && gpuPipelineState->gpuShader && + (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { + gfxStateCache.gpuInputAssembler = gpuInputAssembler; + if (device->useVAO()) { + GLuint hash = gpuPipelineState->gpuShader->glProgram ^device->getThreadID(); + GLuint glVAO = gpuInputAssembler->glVAOs[hash]; + if (!glVAO) { + GL_CHECK(glGenVertexArraysOES(1, &glVAO)); + gpuInputAssembler->glVAOs[hash] = glVAO; + GL_CHECK(glBindVertexArrayOES(glVAO)); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); + + for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { + const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; + for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { + const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; + if (gpuAttribute.name == gpuInput.name) { + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); + + for (uint c = 0; c < gpuAttribute.componentCount; ++c) { + GLint glLoc = gpuInput.glLoc + c; + uint attribOffset = + gpuAttribute.offset + gpuAttribute.size * c; + GL_CHECK(glEnableVertexAttribArray(glLoc)); + + cache->glEnabledAttribLocs[glLoc] = true; + GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, + gpuAttribute.glType, + gpuAttribute.isNormalized, + gpuAttribute.stride, + BUFFER_OFFSET( + attribOffset))); + + if (device->useInstancedArrays()) { + GL_CHECK(glVertexAttribDivisorEXT(glLoc, + gpuAttribute.isInstanced + ? 1 : 0)); + } + } + break; + } + } // for + } // for + + if (gpuInputAssembler->gpuIndexBuffer) { + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, + gpuInputAssembler->gpuIndexBuffer->glBuffer)); + } + + GL_CHECK(glBindVertexArrayOES(0)); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); + cache->glVAO = 0; + cache->glArrayBuffer = 0; + cache->glElementArrayBuffer = 0; } - break; - case DynamicStateFlagBit::STENCIL_COMPARE_MASK: - switch (stencilCompareMask.face) { - case StencilFace::FRONT: - if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask)) { - glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask); - cache->dss.stencilRefFront = stencilCompareMask.refrence; - cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; - } - break; - case StencilFace::BACK: - if ((cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { - glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask); - cache->dss.stencilRefBack = stencilCompareMask.refrence; - cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; - } - break; - case StencilFace::ALL: - if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask) || - (cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { - glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask); - glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask); - cache->dss.stencilRefFront = stencilCompareMask.refrence; - cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; - cache->dss.stencilRefBack = stencilCompareMask.refrence; - cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; - } - break; + + if (cache->glVAO != glVAO) { + GL_CHECK(glBindVertexArrayOES(glVAO)); + cache->glVAO = glVAO; } - break; - default: - CC_LOG_ERROR("Invalid dynamic states."); - break; - } // switch - } // for - } // if + } else { + for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { + cache->glCurrentAttribLocs[a] = false; + } + + for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { + const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; + for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { + const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; + if (gpuAttribute.name == gpuInput.name) { + if (cache->glArrayBuffer != gpuAttribute.glBuffer) { + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); + cache->glArrayBuffer = gpuAttribute.glBuffer; + } + + for (uint c = 0; c < gpuAttribute.componentCount; ++c) { + GLint glLoc = gpuInput.glLoc + c; + uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; + GL_CHECK(glEnableVertexAttribArray(glLoc)); + cache->glEnabledAttribLocs[glLoc] = true; + cache->glCurrentAttribLocs[glLoc] = true; + GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, + gpuAttribute.glType, + gpuAttribute.isNormalized, + gpuAttribute.stride, + BUFFER_OFFSET(attribOffset))); + + if (device->useInstancedArrays()) { + GL_CHECK(glVertexAttribDivisorEXT(glLoc, + gpuAttribute.isInstanced + ? 1 : 0)); + } + } + break; + } + } // for + } // for + + if (gpuInputAssembler->gpuIndexBuffer) { + if (cache->glElementArrayBuffer != + gpuInputAssembler->gpuIndexBuffer->glBuffer) { + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, + gpuInputAssembler->gpuIndexBuffer->glBuffer)); + cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; + } + } + + for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { + if (cache->glEnabledAttribLocs[a] != cache->glCurrentAttribLocs[a]) { + GL_CHECK(glDisableVertexAttribArray(a)); + cache->glEnabledAttribLocs[a] = false; + } + } + } // if + } + + if (gpuPipelineState && !gpuPipelineState->dynamicStates.empty()) { + for (DynamicStateFlagBit dynamicState : gpuPipelineState->dynamicStates) { + switch (dynamicState) { + case DynamicStateFlagBit::VIEWPORT: + if (cache->viewport != viewport) { + cache->viewport = viewport; + GL_CHECK(glViewport(viewport.left, viewport.top, viewport.width, + viewport.height)); + } + break; + case DynamicStateFlagBit::SCISSOR: + if (cache->scissor != scissor) { + cache->scissor = scissor; + GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, + scissor.height)); + } + break; + case DynamicStateFlagBit::LINE_WIDTH: + if (cache->rs.lineWidth != lineWidth) { + cache->rs.lineWidth = lineWidth; + GL_CHECK(glLineWidth(lineWidth)); + } + break; + case DynamicStateFlagBit::DEPTH_BIAS: + if ((bool) cache->rs.depthBiasEnabled != depthBiasEnabled) { + if (depthBiasEnabled) + GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); + else + GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); + + cache->rs.depthBiasEnabled = depthBiasEnabled; + } + if ((cache->rs.depthBias != depthBias.constant) || + (cache->rs.depthBiasSlop != depthBias.slope)) { + GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); + cache->rs.depthBias = depthBias.constant; + cache->rs.depthBiasSlop = depthBias.slope; + } + break; + case DynamicStateFlagBit::BLEND_CONSTANTS: + if ((cache->bs.blendColor.x != gpuPipelineState->bs.blendColor.x) || + (cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y) || + (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || + (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { + GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); + cache->bs.blendColor = gpuPipelineState->bs.blendColor; + } + break; + case DynamicStateFlagBit::STENCIL_WRITE_MASK: + switch (stencilWriteMask.face) { + case StencilFace::FRONT: + if (cache->dss.stencilWriteMaskFront != + stencilWriteMask.writeMask) { + GL_CHECK(glStencilMaskSeparate(GL_FRONT, + stencilWriteMask.writeMask)); + cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; + } + break; + case StencilFace::BACK: + if (cache->dss.stencilWriteMaskBack != + stencilWriteMask.writeMask) { + GL_CHECK(glStencilMaskSeparate(GL_BACK, + stencilWriteMask.writeMask)); + cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; + } + break; + case StencilFace::ALL: + if ((cache->dss.stencilWriteMaskFront != + stencilWriteMask.writeMask) || + (cache->dss.stencilWriteMaskBack != + stencilWriteMask.writeMask)) { + GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); + cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; + cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; + } + break; + } + break; + case DynamicStateFlagBit::STENCIL_COMPARE_MASK: + switch (stencilCompareMask.face) { + case StencilFace::FRONT: + if ((cache->dss.stencilRefFront != + (uint) stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskFront != + stencilCompareMask.compareMask)) { + GL_CHECK(glStencilFuncSeparate(GL_FRONT, + GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); + cache->dss.stencilRefFront = stencilCompareMask.refrence; + cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; + } + break; + case StencilFace::BACK: + if ((cache->dss.stencilRefBack != + (uint) stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskBack != + stencilCompareMask.compareMask)) { + GL_CHECK(glStencilFuncSeparate(GL_BACK, + GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); + cache->dss.stencilRefBack = stencilCompareMask.refrence; + cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; + } + break; + case StencilFace::ALL: + if ((cache->dss.stencilRefFront != + (uint) stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskFront != + stencilCompareMask.compareMask) || + (cache->dss.stencilRefBack != + (uint) stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskBack != + stencilCompareMask.compareMask)) { + GL_CHECK(glStencilFuncSeparate(GL_FRONT, + GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, + GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); + cache->dss.stencilRefFront = stencilCompareMask.refrence; + cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; + cache->dss.stencilRefBack = stencilCompareMask.refrence; + cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; + } + break; + } + break; + default: + CC_LOG_ERROR("Invalid dynamic states."); + break; + } // switch + } // for + } // if + } + } } void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { @@ -2335,22 +2402,22 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_2D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage2D(GL_TEXTURE_2D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } break; @@ -2370,23 +2437,23 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3DOES(GL_TEXTURE_2D_ARRAY, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, z, - w, h, d, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, z, + w, h, d, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage3DOES(GL_TEXTURE_2D_ARRAY, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - z, - w, h, d, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + z, + w, h, d, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } } @@ -2405,24 +2472,24 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3DOES(GL_TEXTURE_3D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - region.texOffset.z, - w, h, d, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + region.texOffset.z, + w, h, d, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage3DOES(GL_TEXTURE_3D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - region.texOffset.z, - w, h, d, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + region.texOffset.z, + w, h, d, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } break; @@ -2441,21 +2508,21 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, - region.texSubres.mipLevel, - region.texOffset.x, region.texOffset.y, - w, h, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, region.texOffset.y, + w, h, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index a4fb1c1746..df4c6ffe2b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -247,11 +247,6 @@ bool GLES2Context::initialize(const ContextInfo &info) { ctxAttribs[n++] = _majorVersion; ctxAttribs[n++] = EGL_CONTEXT_MINOR_VERSION_KHR; ctxAttribs[n++] = _minorVersion; - - #if CC_DEBUG > 0 - ctxAttribs[n++] = EGL_CONTEXT_FLAGS_KHR; - ctxAttribs[n++] = EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR; - #endif ctxAttribs[n] = EGL_NONE; } else { ctxAttribs[n++] = EGL_CONTEXT_CLIENT_VERSION; @@ -419,7 +414,7 @@ bool GLES2Context::MakeCurrent(bool bound) { } #endif -#if CC_DEBUG > 0 +#if CC_DEBUG > 0 && CC_PLATFORM != CC_PLATFORM_MAC_IOS glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR); glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE); glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.mm b/native/cocos/renderer/gfx-gles2/GLES2Context.mm index e67c9ebe07..040e240603 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.mm +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.mm @@ -210,7 +210,8 @@ void GLES2Context::present() { } bool GLES2Context::MakeCurrentImpl(bool bound) { - return [EAGLContext setCurrentContext: bound ? (EAGLContext*)_eaglContext : nil]; + if (!bound) return [EAGLContext setCurrentContext: nil]; + return [EAGLContext setCurrentContext: (EAGLContext*)_eaglContext] && createCustomFrameBuffer(); } #endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Std.h b/native/cocos/renderer/gfx-gles2/GLES2Std.h index a54c04ec25..3d890076a8 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Std.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Std.h @@ -43,13 +43,13 @@ THE SOFTWARE. #endif #if CC_DEBUG > 0 -#define GL_CHECK(x) \ - do { \ - x; GLenum err = glGetError(); \ - if (err) { \ - CC_LOG_ERROR("Detected GL error: %d", err); \ - CCASSERT(0, "GL Error"); \ - } \ +#define GL_CHECK(x) \ + do { \ + x; GLenum err = glGetError(); \ + if (err) { \ + CC_LOG_ERROR("%s returned GL error: 0x%x", #x, err); \ + CCASSERT(0, "GL error"); \ + } \ } while (0) #else #define GL_CHECK(x) x diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 2e0a9daf9f..247eb05ce8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1024,7 +1024,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(glCompileShader(gpuStage.glShader)); GL_CHECK(glGetShaderiv(gpuStage.glShader, GL_COMPILE_STATUS, &status)); - if (status != 1) { + if (status != GL_TRUE) { GLint logSize = 0; GL_CHECK(glGetShaderiv(gpuStage.glShader, GL_INFO_LOG_LENGTH, &logSize)); @@ -1746,10 +1746,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (cache->dss.stencilFuncFront != gpuPipelineState->dss.stencilFuncFront || cache->dss.stencilRefFront != gpuPipelineState->dss.stencilRefFront || cache->dss.stencilReadMaskFront != gpuPipelineState->dss.stencilReadMaskFront) { - glStencilFuncSeparate(GL_FRONT, + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], gpuPipelineState->dss.stencilRefFront, - gpuPipelineState->dss.stencilReadMaskFront); + gpuPipelineState->dss.stencilReadMaskFront)); cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; cache->dss.stencilReadMaskFront = gpuPipelineState->dss.stencilReadMaskFront; @@ -1757,10 +1757,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (cache->dss.stencilFailOpFront != gpuPipelineState->dss.stencilFailOpFront || cache->dss.stencilZFailOpFront != gpuPipelineState->dss.stencilZFailOpFront || cache->dss.stencilPassOpFront != gpuPipelineState->dss.stencilPassOpFront) { - glStencilOpSeparate(GL_FRONT, + GL_CHECK(glStencilOpSeparate(GL_FRONT, GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront]); + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront])); cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; cache->dss.stencilZFailOpFront = gpuPipelineState->dss.stencilZFailOpFront; cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; @@ -1770,44 +1770,33 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->dss.stencilWriteMaskFront = gpuPipelineState->dss.stencilWriteMaskFront; } - BlendTarget &cacheTarget = cache->bs.targets[0]; - const BlendTarget &target = gpuPipelineState->bs.targets[0]; - if (cacheTarget.blend != target.blend) { - if (!cacheTarget.blend) { - glEnable(GL_BLEND); - } else { - glDisable(GL_BLEND); - } - cacheTarget.blend = target.blend; - } - if (cacheTarget.blendEq != target.blendEq || - cacheTarget.blendAlphaEq != target.blendAlphaEq) { - glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target.blendEq], - GLES3_BLEND_OPS[(int)target.blendAlphaEq]); - cacheTarget.blendEq = target.blendEq; - cacheTarget.blendAlphaEq = target.blendAlphaEq; - } - if (cacheTarget.blendSrc != target.blendSrc || - cacheTarget.blendDst != target.blendDst || - cacheTarget.blendSrcAlpha != target.blendSrcAlpha || - cacheTarget.blendDstAlpha != target.blendDstAlpha) { - glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target.blendSrc], - GLES3_BLEND_FACTORS[(int)target.blendDst], - GLES3_BLEND_FACTORS[(int)target.blendSrcAlpha], - GLES3_BLEND_FACTORS[(int)target.blendDstAlpha]); - cacheTarget.blendSrc = target.blendSrc; - cacheTarget.blendDst = target.blendDst; - cacheTarget.blendSrcAlpha = target.blendSrcAlpha; - cacheTarget.blendDstAlpha = target.blendDstAlpha; - } - if (cacheTarget.blendColorMask != target.blendColorMask) { - glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), - (GLboolean)(target.blendColorMask & ColorMask::G), - (GLboolean)(target.blendColorMask & ColorMask::B), - (GLboolean)(target.blendColorMask & ColorMask::A)); - cacheTarget.blendColorMask = target.blendColorMask; - } - } // if + // bind depth-stencil state - back + if (cache->dss.stencilFuncBack != gpuPipelineState->dss.stencilFuncBack || + cache->dss.stencilRefBack != gpuPipelineState->dss.stencilRefBack || + cache->dss.stencilReadMaskBack != gpuPipelineState->dss.stencilReadMaskBack) { + GL_CHECK(glStencilFuncSeparate(GL_BACK, + GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], + gpuPipelineState->dss.stencilRefBack, + gpuPipelineState->dss.stencilReadMaskBack)); + cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; + cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; + cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; + } + if (cache->dss.stencilFailOpBack != gpuPipelineState->dss.stencilFailOpBack || + cache->dss.stencilZFailOpBack != gpuPipelineState->dss.stencilZFailOpBack || + cache->dss.stencilPassOpBack != gpuPipelineState->dss.stencilPassOpBack) { + GL_CHECK(glStencilOpSeparate(GL_BACK, + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack])); + cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; + cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; + cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; + } + if (cache->dss.stencilWriteMaskBack != gpuPipelineState->dss.stencilWriteMaskBack) { + GL_CHECK(glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack)); + cache->dss.stencilWriteMaskBack = gpuPipelineState->dss.stencilWriteMaskBack; + } // bind blend state if (cache->bs.isA2C != gpuPipelineState->bs.isA2C) { @@ -1823,10 +1812,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z || cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { - glBlendColor(gpuPipelineState->bs.blendColor.x, + GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, gpuPipelineState->bs.blendColor.y, gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w); + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } @@ -1898,8 +1887,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (cache->glBindUBOs[glBlock.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || cache->glBindUBOOffsets[glBlock.glBinding] != offset) { if (offset) { - glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, - offset, gpuDescriptor.gpuBuffer->size); + GL_CHECK(glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, + offset, gpuDescriptor.gpuBuffer->size)); } else { GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); } @@ -2084,10 +2073,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y) || (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { - glBlendColor(gpuPipelineState->bs.blendColor.x, + GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, gpuPipelineState->bs.blendColor.y, gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w); + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } break; @@ -2120,10 +2109,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli case StencilFace::FRONT: if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask)) { - glStencilFuncSeparate(GL_FRONT, + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], stencilCompareMask.refrence, - stencilCompareMask.compareMask); + stencilCompareMask.compareMask)); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; } @@ -2131,10 +2120,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli case StencilFace::BACK: if ((cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { - glStencilFuncSeparate(GL_BACK, + GL_CHECK(glStencilFuncSeparate(GL_BACK, GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], stencilCompareMask.refrence, - stencilCompareMask.compareMask); + stencilCompareMask.compareMask)); cache->dss.stencilRefBack = stencilCompareMask.refrence; cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } @@ -2144,14 +2133,14 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask) || (cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { - glStencilFuncSeparate(GL_FRONT, + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], stencilCompareMask.refrence, - stencilCompareMask.compareMask); - glStencilFuncSeparate(GL_BACK, + stencilCompareMask.compareMask)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], stencilCompareMask.refrence, - stencilCompareMask.compareMask); + stencilCompareMask.compareMask)); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; cache->dss.stencilRefBack = stencilCompareMask.refrence; @@ -2289,22 +2278,22 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_2D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage2D(GL_TEXTURE_2D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } break; @@ -2324,24 +2313,24 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3D(GL_TEXTURE_2D_ARRAY, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - z, - w, h, d, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + z, + w, h, d, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage3D(GL_TEXTURE_2D_ARRAY, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - z, - w, h, d, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + z, + w, h, d, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } } @@ -2360,24 +2349,24 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3D(GL_TEXTURE_3D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - region.texOffset.z, - w, h, d, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + region.texOffset.z, + w, h, d, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage3D(GL_TEXTURE_3D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - region.texOffset.z, - w, h, d, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + region.texOffset.z, + w, h, d, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } break; @@ -2396,22 +2385,22 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 9b110c96b4..567a9e8ae3 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -413,10 +413,10 @@ bool GLES3Context::MakeCurrent(bool bound) { } #endif -#if CC_DEBUG > 0 - glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR); - glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE); - glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL); +#if CC_DEBUG > 0 && CC_PLATFORM != CC_PLATFORM_MAC_IOS + GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); + GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); + GL_CHECK(glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL)); #endif _isInitialized = true; @@ -461,6 +461,8 @@ bool GLES3Context::MakeCurrent(bool bound) { GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); + + _isInitialized = true; } CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 561afd9fbb..27ace6cbe5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -24,19 +24,21 @@ THE SOFTWARE. #include "GLES3Std.h" #include "GLES3Context.h" #include "gles3w.h" + +#if TARGET_OS_OSX #import -#if !TARGET_OS_OSX +#else #import #endif -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) #import namespace cc { namespace gfx { -bool GLES3Context::initialize(const ContextInfo &info) -{ +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + +bool GLES3Context::initialize(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; @@ -70,15 +72,11 @@ bool GLES3Context::initialize(const ContextInfo &info) _defaultFBO = sharedCtx->_defaultFBO; _defaultColorBuffer = sharedCtx->_defaultColorBuffer; _defaultDepthStencilBuffer = sharedCtx->_defaultDepthStencilBuffer; - + EAGLContext* eagl_shared_context = (EAGLContext*)sharedCtx->eagl_shared_ctx(); EAGLContext* eagl_context = [[EAGLContext alloc] initWithAPI: [eagl_shared_context API] sharegroup: [eagl_shared_context sharegroup]]; if (!eagl_context) { CC_LOG_ERROR("Create EGL context with share context [0x%p] failed.", eagl_shared_context); - - _eaglContext = (intptr_t)eagl_context; - _eaglSharedContext = (intptr_t)eagl_shared_context; - return false; } @@ -94,23 +92,27 @@ bool GLES3Context::initialize(const ContextInfo &info) bool GLES3Context::createCustomFrameBuffer() { - if (_defaultFBO) return true; - - glGenFramebuffers(1, &_defaultFBO); + if (_defaultFBO) { + GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, _defaultFBO)); + GL_CHECK(glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer)); + return true; + } + + GL_CHECK(glGenFramebuffers(1, &_defaultFBO)); if (0 == _defaultFBO) { CC_LOG_ERROR("Can not create default frame buffer"); return false; } - glBindFramebuffer(GL_FRAMEBUFFER, _defaultFBO); + GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, _defaultFBO)); - glGenRenderbuffers(1, &_defaultColorBuffer); + GL_CHECK(glGenRenderbuffers(1, &_defaultColorBuffer)); if (0 == _defaultColorBuffer) { CC_LOG_ERROR("Can not create default color buffer"); return false; } - glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer); + GL_CHECK(glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer)); CAEAGLLayer* eaglLayer = (CAEAGLLayer*)( ((UIView*)(_windowHandle)).layer); if (! [(EAGLContext*)_eaglContext renderbufferStorage:GL_RENDERBUFFER @@ -122,13 +124,13 @@ bool GLES3Context::createCustomFrameBuffer() return false; } - glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, _defaultColorBuffer); + GL_CHECK(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, _defaultColorBuffer)); GLint framebufferWidth = 0, framebufferHeight = 0; - glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &framebufferWidth); - glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &framebufferHeight); + GL_CHECK(glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &framebufferWidth)); + GL_CHECK(glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_HEIGHT, &framebufferHeight)); - glGenRenderbuffers(1, &_defaultDepthStencilBuffer); + GL_CHECK(glGenRenderbuffers(1, &_defaultDepthStencilBuffer)); if (_defaultDepthStencilBuffer == 0) { // Application can run without depth/stencil buffer, so don't return false here. @@ -172,7 +174,7 @@ bool GLES3Context::createCustomFrameBuffer() return false; } - glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer); + GL_CHECK(glBindRenderbuffer(GL_RENDERBUFFER, _defaultColorBuffer)); return true; } @@ -186,9 +188,8 @@ void GLES3Context::destroyCustomFrameBuffer() { _defaultDepthStencilBuffer = 0; } - if (_defaultFBO) - { - glDeleteFramebuffers(1, &_defaultFBO); + if (_defaultFBO) { + GL_CHECK(glDeleteFramebuffers(1, &_defaultFBO)); _defaultFBO = 0; } } @@ -196,8 +197,7 @@ void GLES3Context::destroyCustomFrameBuffer() { void GLES3Context::destroy() { destroyCustomFrameBuffer(); - if (_eaglContext) - { + if (_eaglContext) { [(EAGLContext*)_eaglContext release]; } @@ -207,19 +207,15 @@ void GLES3Context::destroy() { _isInitialized = false; } -void GLES3Context::present() -{ - - if (! [(EAGLContext*)_eaglContext presentRenderbuffer:GL_RENDERBUFFER] ) - { +void GLES3Context::present() { + if (! [(EAGLContext*)_eaglContext presentRenderbuffer:GL_RENDERBUFFER] ) { CC_LOG_ERROR("Failed to present content."); } } -bool GLES3Context::MakeCurrentImpl(bool bound) -{ - if (!bound) return true; - return [EAGLContext setCurrentContext: (EAGLContext*)_eaglContext]; +bool GLES3Context::MakeCurrentImpl(bool bound) { + if (!bound) return [EAGLContext setCurrentContext: nil]; + return [EAGLContext setCurrentContext: (EAGLContext*)_eaglContext] && createCustomFrameBuffer(); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 9459d947fc..a62d93d351 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -197,6 +197,7 @@ void GLES3Device::resize(uint width, uint height) { } void GLES3Device::acquire() { + _gpuCmdAllocator->releaseCmds(); _gpuStagingBufferPool->reset(); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Std.h b/native/cocos/renderer/gfx-gles3/GLES3Std.h index 651f74cae9..88406765ff 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Std.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Std.h @@ -17,13 +17,13 @@ #endif #if CC_DEBUG > 0 -#define GL_CHECK(x) \ - do { \ - x; GLenum err = glGetError(); \ - if (err) { \ - CC_LOG_ERROR("Detected GL error: %d", err); \ - CCASSERT(0, "GL Error"); \ - } \ +#define GL_CHECK(x) \ + do { \ + x; GLenum err = glGetError(); \ + if (err) { \ + CC_LOG_ERROR("%s returned GL error: 0x%x", #x, err); \ + CCASSERT(0, "GL error"); \ + } \ } while (0) #else #define GL_CHECK(x) x diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index 630b5d5a6d..738c7a3608 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -41,13 +41,13 @@ THE SOFTWARE. #endif #if CC_DEBUG > 0 -#define VK_CHECK(x) \ - do { \ - VkResult err = x; \ - if (err) { \ - CC_LOG_ERROR("Detected Vulkan error: %d", err); \ - CCASSERT(0, "Vulkan Error"); \ - } \ +#define VK_CHECK(x) \ + do { \ + VkResult err = x; \ + if (err) { \ + CC_LOG_ERROR("%s returned Vulkan error: 0x%x", #x, err); \ + CCASSERT(0, "Vulkan Error"); \ + } \ } while (0) #else From fe0549d7aabb8b6aad97a01e4e772f4865f491f1 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sun, 29 Nov 2020 17:34:19 +0800 Subject: [PATCH 038/270] minor --- native/.gitignore | 3 - native/cocos/platform/mac/View.h | 36 +++ native/cocos/platform/mac/View.mm | 209 +++++++++++------- .../cocos/renderer/gfx-gles3/GLES3Context.mm | 8 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 2 +- 5 files changed, 168 insertions(+), 90 deletions(-) create mode 100644 native/cocos/platform/mac/View.h diff --git a/native/.gitignore b/native/.gitignore index 3c1ed23e2c..98a616f708 100644 --- a/native/.gitignore +++ b/native/.gitignore @@ -171,6 +171,3 @@ build/* out CMakeSettings.json - -cocos/platform/mac/View.h -cocos/platform/mac/View.mm diff --git a/native/cocos/platform/mac/View.h b/native/cocos/platform/mac/View.h new file mode 100644 index 0000000000..415c3dce3a --- /dev/null +++ b/native/cocos/platform/mac/View.h @@ -0,0 +1,36 @@ +/**************************************************************************** + Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ +#ifdef CC_USE_METAL + #import +#else + #import +#endif + +#ifdef CC_USE_METAL +@interface View : MTKView +#else +@interface View : NSView +#endif + +@end diff --git a/native/cocos/platform/mac/View.mm b/native/cocos/platform/mac/View.mm index fa3f350392..5a39b7536b 100644 --- a/native/cocos/platform/mac/View.mm +++ b/native/cocos/platform/mac/View.mm @@ -22,114 +22,163 @@ THE SOFTWARE. ****************************************************************************/ #import "View.h" -#include "tests/StressTest.h" -#include "tests/ClearScreenTest.h" -#include "tests/BasicTriangleTest.h" -#include "tests/BasicTextureTest.h" -#include "tests/StencilTest.h" -#include "tests/ParticleTest.h" -#include "tests/DepthTest.h" -#include "tests/TestBase.h" -#include "tests/BunnyTest.h" -#include "tests/BlendTest.h" - -#if CC_PLATFORM == CC_PLATFORM_MAC_OSX - #import -#endif -#if CC_PLATFORM == CC_PLATFORM_MAC_IOS - #import -#endif -#import -#import #import "KeyCodeHelper.h" - -namespace -{ - int g_nextTextIndex = 0; - using createFunc = cc::TestBaseI * (*)(const cc::WindowInfo& info); - std::vector g_tests; - cc::TestBaseI* g_test = nullptr; - cc::WindowInfo g_windowInfo; -} +#import "cocos/bindings/event/EventDispatcher.h" +#include "platform/Application.h" +#import +#import @implementation View { - + cc::MouseEvent _mouseEvent; + cc::KeyboardEvent _keyboardEvent; } - (instancetype)initWithFrame:(NSRect)frameRect { if (self = [super initWithFrame:frameRect]) { [self.window makeFirstResponder:self]; +#ifdef CC_USE_METAL self.device = MTLCreateSystemDefaultDevice(); - self.depthStencilPixelFormat = MTLPixelFormatDepth24Unorm_Stencil8; - self.mtlCommandQueue = [self.device newCommandQueue]; + self.framebufferOnly = YES; self.delegate = self; - int pixelRatio = 1; -#if CC_PLATFORM == CC_PLATFORM_MAC_OSX - pixelRatio = [[NSScreen mainScreen] backingScaleFactor]; -#else - pixelRatio = [[UIScreen mainScreen] scale]; -#endif //CC_PLATFORM == CC_PLATFORM_MAC_OSX - - g_windowInfo.windowHandle = (intptr_t)self; - - g_windowInfo.screen.x = frameRect.origin.x; - g_windowInfo.screen.y = frameRect.origin.y; - g_windowInfo.screen.width = frameRect.size.width * pixelRatio; - g_windowInfo.screen.height = frameRect.size.height * pixelRatio; - - g_windowInfo.physicalHeight = g_windowInfo.screen.height; - g_windowInfo.physicalWidth = g_windowInfo.screen.width; - - [self initTests]; +#endif } return self; } +#ifdef CC_USE_METAL - (void)drawInMTKView:(MTKView *)view { - g_test->tick(); + cc::Application::getInstance()->tick(); } - (void)mtkView:(nonnull MTKView *)view drawableSizeWillChange:(CGSize)size { + CC_LOG_WARNING("CCView::mtkView: drawable size will change: %f x %f", size.width, size.height); +} +#endif + +- (void)keyDown:(NSEvent *)event { + _keyboardEvent.key = translateKeycode(event.keyCode); + _keyboardEvent.action = [event isARepeat] ? cc::KeyboardEvent::Action::REPEAT + : cc::KeyboardEvent::Action::PRESS; + [self setModifierFlags:event]; + cc::EventDispatcher::dispatchKeyboardEvent(_keyboardEvent); } -- (void)initTests { - static bool first = true; - if (first) - { - using namespace cc; - g_tests = { - StressTest::create, - ClearScreen::create, - BasicTriangle::create, - BasicTexture::create, - StencilTest::create, - ParticleTest::create, - DepthTexture::create, - BunnyTest::create, - BlendTest::create, - }; - g_test = g_tests[g_nextTextIndex](g_windowInfo); - if (g_test == nullptr) - return; - first = false; +- (void)keyUp:(NSEvent *)event { + _keyboardEvent.key = translateKeycode(event.keyCode); + _keyboardEvent.action = cc::KeyboardEvent::Action::RELEASE; + [self setModifierFlags:event]; + cc::EventDispatcher::dispatchKeyboardEvent(_keyboardEvent); +} + +- (void)setModifierFlags:(NSEvent *)event { + NSEventModifierFlags modifierFlags = event.modifierFlags; + if (modifierFlags & NSEventModifierFlagShift) + _keyboardEvent.shiftKeyActive = true; + else + _keyboardEvent.shiftKeyActive = false; + + if (modifierFlags & NSEventModifierFlagControl) + _keyboardEvent.ctrlKeyActive = true; + else + _keyboardEvent.ctrlKeyActive = false; + + if (modifierFlags & NSEventModifierFlagOption) + _keyboardEvent.altKeyActive = true; + else + _keyboardEvent.altKeyActive = false; + + if (modifierFlags & NSEventModifierFlagCommand) + _keyboardEvent.metaKeyActive = true; + else + _keyboardEvent.metaKeyActive = false; +} + +- (void)mouseDown:(NSEvent *)event { + [self sendMouseEvent:0 + type:cc::MouseEvent::Type::DOWN + event:event]; +} + +- (void)mouseUp:(NSEvent *)event { + [self sendMouseEvent:0 + type:cc::MouseEvent::Type::UP + event:event]; +} + +- (void)mouseDragged:(NSEvent *)event { + [self mouseMoved:event]; +} + +- (void)mouseMoved:(NSEvent *)event { + [self sendMouseEvent:0 + type:cc::MouseEvent::Type::MOVE + event:event]; +} + +- (void)otherMouseDown:(NSEvent *)event { + [self sendMouseEvent:[self translateButtonNumber:event.buttonNumber] + type:cc::MouseEvent::Type::DOWN + event:event]; +} + +- (void)otherMouseUp:(NSEvent *)event { + [self sendMouseEvent:[self translateButtonNumber:event.buttonNumber] + type:cc::MouseEvent::Type::UP + event:event]; +} + +- (int)translateButtonNumber:(int)buttonNumber { + if (buttonNumber == 1) // left + return 0; + else if (buttonNumber == 2) // right + return 2; + else + return 1; +} + +- (void)scrollWheel:(NSEvent *)event { + double deltaX = [event scrollingDeltaX]; + double deltaY = [event scrollingDeltaY]; + + if ([event hasPreciseScrollingDeltas]) { + deltaX *= 0.1; + deltaY *= 0.1; + } + + if (fabs(deltaX) > 0.0 || fabs(deltaY) > 0.0) { + _mouseEvent.type = cc::MouseEvent::Type::WHEEL; + _mouseEvent.button = 0; + _mouseEvent.x = deltaX; + _mouseEvent.y = deltaY; + cc::EventDispatcher::dispatchMouseEvent(_mouseEvent); } } -- (void)keyDown:(NSEvent *)event { - g_nextTextIndex = (++g_nextTextIndex) % g_tests.size(); - CC_SAFE_DESTROY(g_test); - g_test = g_tests[g_nextTextIndex](g_windowInfo); +- (void)rightMouseDown:(NSEvent *)event { + [self sendMouseEvent:2 + type:cc::MouseEvent::Type::DOWN + event:event]; } -- (BOOL)acceptsFirstResponder -{ +- (void)rightMouseUp:(NSEvent *)event { + [self sendMouseEvent:2 + type:cc::MouseEvent::Type::UP + event:event]; +} + +- (BOOL)acceptsFirstResponder { return YES; } -- (void)viewDidAppear -{ - // Make the view controller the window's first responder so that it can handle the Key events - [self.window makeFirstResponder:self]; +- (void)sendMouseEvent:(int)button type:(cc::MouseEvent::Type)type event:(NSEvent *)event { + const NSRect contentRect = [self frame]; + const NSPoint pos = [event locationInWindow]; + + _mouseEvent.type = type; + _mouseEvent.button = button; + _mouseEvent.x = pos.x; + _mouseEvent.y = contentRect.size.height - pos.y; + cc::EventDispatcher::dispatchMouseEvent(_mouseEvent); } @end diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 27ace6cbe5..4f49ad2013 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -25,19 +25,15 @@ THE SOFTWARE. #include "GLES3Context.h" #include "gles3w.h" -#if TARGET_OS_OSX -#import -#else +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #import -#endif #import namespace cc { namespace gfx { -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - bool GLES3Context::initialize(const ContextInfo &info) { _vsyncMode = info.vsyncMode; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index f5bf5a9579..5bff894543 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -581,7 +581,7 @@ private: * Staging buffer pool, based on multiple fix-sized VkBuffer blocks. */ constexpr size_t chunkSize = 32 * 1024 * 1024; // 32M per block by default -class CCVKGPUStagingBufferPool final : public Object { +class CCVKGPUStagingBufferPool : public Object { public: CCVKGPUStagingBufferPool(CCVKGPUDevice *device) : _device(device) { From d0d04be4e0047892c22152dbaea6fb044283a8c3 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 30 Nov 2020 17:30:53 +0800 Subject: [PATCH 039/270] fix cache reset on thread switch --- native/cocos/renderer/core/gfx/GFXDef.h | 2 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 517 +++++++++--------- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 82 +-- .../renderer/gfx-gles2/GLES2GPUObjects.h | 8 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 25 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 84 ++- .../renderer/gfx-gles3/GLES3GPUObjects.h | 8 +- 7 files changed, 369 insertions(+), 357 deletions(-) diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 15f87cb242..aec6599f52 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -1020,7 +1020,7 @@ struct BlendState { uint32_t isA2C = 0; uint32_t isIndepend = 0; Color blendColor; - BlendTargetList targets; + BlendTargetList targets{1}; }; struct PipelineStateInfo { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 4f7fd67cbc..b668a55384 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1409,15 +1409,18 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen break; } - // restore states - if (glClears & GL_COLOR_BUFFER_BIT) { - ColorMask colorMask = cache->bs.targets[0].blendColorMask; - if (colorMask != ColorMask::ALL) { - glColorMask((GLboolean)(colorMask & ColorMask::R), - (GLboolean)(colorMask & ColorMask::G), - (GLboolean)(colorMask & ColorMask::B), - (GLboolean)(colorMask & ColorMask::A)); + if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { + bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; + if (hasDepth) { + switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { + case LoadOp::LOAD: break; // GL default behaviour + case LoadOp::CLEAR: { + if (!cache->dss.depthWrite) { + GL_CHECK(glDepthMask(true)); } + GL_CHECK(glClearDepthf(clearDepth)); + glClears |= GL_DEPTH_BUFFER_BIT; + break; } case LoadOp::DISCARD: { // invalidate fbo @@ -1471,7 +1474,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } } - if ((glClears & GL_COLOR_BUFFER_BIT) && !cache->dss.depthWrite) { + if ((glClears & GL_DEPTH_BUFFER_BIT) && !cache->dss.depthWrite) { GL_CHECK(glDepthMask(false)); } @@ -2007,269 +2010,269 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } } } - } // if + } + } + } // if - // bind vao - if (gpuInputAssembler && gpuPipelineState->gpuShader && - (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { - gfxStateCache.gpuInputAssembler = gpuInputAssembler; - if (device->useVAO()) { - GLuint hash = gpuPipelineState->gpuShader->glProgram ^device->getThreadID(); - GLuint glVAO = gpuInputAssembler->glVAOs[hash]; - if (!glVAO) { - GL_CHECK(glGenVertexArraysOES(1, &glVAO)); - gpuInputAssembler->glVAOs[hash] = glVAO; - GL_CHECK(glBindVertexArrayOES(glVAO)); - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); + // bind vao + if (gpuInputAssembler && gpuPipelineState->gpuShader && + (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { + gfxStateCache.gpuInputAssembler = gpuInputAssembler; + if (device->useVAO()) { + GLuint hash = gpuPipelineState->gpuShader->glProgram ^device->getThreadID(); + GLuint glVAO = gpuInputAssembler->glVAOs[hash]; + if (!glVAO) { + GL_CHECK(glGenVertexArraysOES(1, &glVAO)); + gpuInputAssembler->glVAOs[hash] = glVAO; + GL_CHECK(glBindVertexArrayOES(glVAO)); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); - for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { - const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; - for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { - const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; - if (gpuAttribute.name == gpuInput.name) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); + for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { + const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; + for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { + const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; + if (gpuAttribute.name == gpuInput.name) { + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); - for (uint c = 0; c < gpuAttribute.componentCount; ++c) { - GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = - gpuAttribute.offset + gpuAttribute.size * c; - GL_CHECK(glEnableVertexAttribArray(glLoc)); + for (uint c = 0; c < gpuAttribute.componentCount; ++c) { + GLint glLoc = gpuInput.glLoc + c; + uint attribOffset = + gpuAttribute.offset + gpuAttribute.size * c; + GL_CHECK(glEnableVertexAttribArray(glLoc)); - cache->glEnabledAttribLocs[glLoc] = true; - GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, - gpuAttribute.glType, - gpuAttribute.isNormalized, - gpuAttribute.stride, - BUFFER_OFFSET( - attribOffset))); + cache->glEnabledAttribLocs[glLoc] = true; + GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, + gpuAttribute.glType, + gpuAttribute.isNormalized, + gpuAttribute.stride, + BUFFER_OFFSET( + attribOffset))); - if (device->useInstancedArrays()) { - GL_CHECK(glVertexAttribDivisorEXT(glLoc, - gpuAttribute.isInstanced - ? 1 : 0)); - } - } - break; + if (device->useInstancedArrays()) { + GL_CHECK(glVertexAttribDivisorEXT(glLoc, + gpuAttribute.isInstanced + ? 1 : 0)); } - } // for - } // for - - if (gpuInputAssembler->gpuIndexBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, - gpuInputAssembler->gpuIndexBuffer->glBuffer)); - } - - GL_CHECK(glBindVertexArrayOES(0)); - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); - cache->glVAO = 0; - cache->glArrayBuffer = 0; - cache->glElementArrayBuffer = 0; - } - - if (cache->glVAO != glVAO) { - GL_CHECK(glBindVertexArrayOES(glVAO)); - cache->glVAO = glVAO; - } - } else { - for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { - cache->glCurrentAttribLocs[a] = false; - } - - for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { - const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; - for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { - const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; - if (gpuAttribute.name == gpuInput.name) { - if (cache->glArrayBuffer != gpuAttribute.glBuffer) { - GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); - cache->glArrayBuffer = gpuAttribute.glBuffer; - } - - for (uint c = 0; c < gpuAttribute.componentCount; ++c) { - GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; - GL_CHECK(glEnableVertexAttribArray(glLoc)); - cache->glEnabledAttribLocs[glLoc] = true; - cache->glCurrentAttribLocs[glLoc] = true; - GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, - gpuAttribute.glType, - gpuAttribute.isNormalized, - gpuAttribute.stride, - BUFFER_OFFSET(attribOffset))); - - if (device->useInstancedArrays()) { - GL_CHECK(glVertexAttribDivisorEXT(glLoc, - gpuAttribute.isInstanced - ? 1 : 0)); - } - } - break; } - } // for - } // for - - if (gpuInputAssembler->gpuIndexBuffer) { - if (cache->glElementArrayBuffer != - gpuInputAssembler->gpuIndexBuffer->glBuffer) { - GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, - gpuInputAssembler->gpuIndexBuffer->glBuffer)); - cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; + break; } - } + } // for + } // for - for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { - if (cache->glEnabledAttribLocs[a] != cache->glCurrentAttribLocs[a]) { - GL_CHECK(glDisableVertexAttribArray(a)); - cache->glEnabledAttribLocs[a] = false; - } - } - } // if + if (gpuInputAssembler->gpuIndexBuffer) { + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, + gpuInputAssembler->gpuIndexBuffer->glBuffer)); + } + + GL_CHECK(glBindVertexArrayOES(0)); + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); + cache->glVAO = 0; + cache->glArrayBuffer = 0; + cache->glElementArrayBuffer = 0; } - if (gpuPipelineState && !gpuPipelineState->dynamicStates.empty()) { - for (DynamicStateFlagBit dynamicState : gpuPipelineState->dynamicStates) { - switch (dynamicState) { - case DynamicStateFlagBit::VIEWPORT: - if (cache->viewport != viewport) { - cache->viewport = viewport; - GL_CHECK(glViewport(viewport.left, viewport.top, viewport.width, - viewport.height)); - } - break; - case DynamicStateFlagBit::SCISSOR: - if (cache->scissor != scissor) { - cache->scissor = scissor; - GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, - scissor.height)); - } - break; - case DynamicStateFlagBit::LINE_WIDTH: - if (cache->rs.lineWidth != lineWidth) { - cache->rs.lineWidth = lineWidth; - GL_CHECK(glLineWidth(lineWidth)); - } - break; - case DynamicStateFlagBit::DEPTH_BIAS: - if ((bool) cache->rs.depthBiasEnabled != depthBiasEnabled) { - if (depthBiasEnabled) - GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); - else - GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); + if (cache->glVAO != glVAO) { + GL_CHECK(glBindVertexArrayOES(glVAO)); + cache->glVAO = glVAO; + } + } else { + for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { + cache->glCurrentAttribLocs[a] = false; + } - cache->rs.depthBiasEnabled = depthBiasEnabled; + for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { + const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; + for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { + const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; + if (gpuAttribute.name == gpuInput.name) { + if (cache->glArrayBuffer != gpuAttribute.glBuffer) { + GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); + cache->glArrayBuffer = gpuAttribute.glBuffer; + } + + for (uint c = 0; c < gpuAttribute.componentCount; ++c) { + GLint glLoc = gpuInput.glLoc + c; + uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; + GL_CHECK(glEnableVertexAttribArray(glLoc)); + cache->glEnabledAttribLocs[glLoc] = true; + cache->glCurrentAttribLocs[glLoc] = true; + GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, + gpuAttribute.glType, + gpuAttribute.isNormalized, + gpuAttribute.stride, + BUFFER_OFFSET(attribOffset))); + + if (device->useInstancedArrays()) { + GL_CHECK(glVertexAttribDivisorEXT(glLoc, + gpuAttribute.isInstanced + ? 1 : 0)); } - if ((cache->rs.depthBias != depthBias.constant) || - (cache->rs.depthBiasSlop != depthBias.slope)) { - GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); - cache->rs.depthBias = depthBias.constant; - cache->rs.depthBiasSlop = depthBias.slope; - } - break; - case DynamicStateFlagBit::BLEND_CONSTANTS: - if ((cache->bs.blendColor.x != gpuPipelineState->bs.blendColor.x) || - (cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y) || - (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || - (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { - GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); - cache->bs.blendColor = gpuPipelineState->bs.blendColor; - } - break; - case DynamicStateFlagBit::STENCIL_WRITE_MASK: - switch (stencilWriteMask.face) { - case StencilFace::FRONT: - if (cache->dss.stencilWriteMaskFront != - stencilWriteMask.writeMask) { - GL_CHECK(glStencilMaskSeparate(GL_FRONT, - stencilWriteMask.writeMask)); - cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; - } - break; - case StencilFace::BACK: - if (cache->dss.stencilWriteMaskBack != - stencilWriteMask.writeMask) { - GL_CHECK(glStencilMaskSeparate(GL_BACK, - stencilWriteMask.writeMask)); - cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; - } - break; - case StencilFace::ALL: - if ((cache->dss.stencilWriteMaskFront != - stencilWriteMask.writeMask) || - (cache->dss.stencilWriteMaskBack != - stencilWriteMask.writeMask)) { - GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); - cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; - cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; - } - break; - } - break; - case DynamicStateFlagBit::STENCIL_COMPARE_MASK: - switch (stencilCompareMask.face) { - case StencilFace::FRONT: - if ((cache->dss.stencilRefFront != - (uint) stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskFront != - stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); - cache->dss.stencilRefFront = stencilCompareMask.refrence; - cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; - } - break; - case StencilFace::BACK: - if ((cache->dss.stencilRefBack != - (uint) stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskBack != - stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); - cache->dss.stencilRefBack = stencilCompareMask.refrence; - cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; - } - break; - case StencilFace::ALL: - if ((cache->dss.stencilRefFront != - (uint) stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskFront != - stencilCompareMask.compareMask) || - (cache->dss.stencilRefBack != - (uint) stencilCompareMask.refrence) || - (cache->dss.stencilReadMaskBack != - stencilCompareMask.compareMask)) { - GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); - cache->dss.stencilRefFront = stencilCompareMask.refrence; - cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; - cache->dss.stencilRefBack = stencilCompareMask.refrence; - cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; - } - break; - } - break; - default: - CC_LOG_ERROR("Invalid dynamic states."); - break; - } // switch + } + break; + } } // for - } // if + } // for + + if (gpuInputAssembler->gpuIndexBuffer) { + if (cache->glElementArrayBuffer != + gpuInputAssembler->gpuIndexBuffer->glBuffer) { + GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, + gpuInputAssembler->gpuIndexBuffer->glBuffer)); + cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; + } + } + + for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { + if (cache->glEnabledAttribLocs[a] != cache->glCurrentAttribLocs[a]) { + GL_CHECK(glDisableVertexAttribArray(a)); + cache->glEnabledAttribLocs[a] = false; + } + } } - } + } // if + + if (gpuPipelineState && !gpuPipelineState->dynamicStates.empty()) { + for (DynamicStateFlagBit dynamicState : gpuPipelineState->dynamicStates) { + switch (dynamicState) { + case DynamicStateFlagBit::VIEWPORT: + if (cache->viewport != viewport) { + cache->viewport = viewport; + GL_CHECK(glViewport(viewport.left, viewport.top, viewport.width, + viewport.height)); + } + break; + case DynamicStateFlagBit::SCISSOR: + if (cache->scissor != scissor) { + cache->scissor = scissor; + GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, + scissor.height)); + } + break; + case DynamicStateFlagBit::LINE_WIDTH: + if (cache->rs.lineWidth != lineWidth) { + cache->rs.lineWidth = lineWidth; + GL_CHECK(glLineWidth(lineWidth)); + } + break; + case DynamicStateFlagBit::DEPTH_BIAS: + if ((bool) cache->rs.depthBiasEnabled != depthBiasEnabled) { + if (depthBiasEnabled) + GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); + else + GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); + + cache->rs.depthBiasEnabled = depthBiasEnabled; + } + if ((cache->rs.depthBias != depthBias.constant) || + (cache->rs.depthBiasSlop != depthBias.slope)) { + GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); + cache->rs.depthBias = depthBias.constant; + cache->rs.depthBiasSlop = depthBias.slope; + } + break; + case DynamicStateFlagBit::BLEND_CONSTANTS: + if ((cache->bs.blendColor.x != gpuPipelineState->bs.blendColor.x) || + (cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y) || + (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || + (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { + GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); + cache->bs.blendColor = gpuPipelineState->bs.blendColor; + } + break; + case DynamicStateFlagBit::STENCIL_WRITE_MASK: + switch (stencilWriteMask.face) { + case StencilFace::FRONT: + if (cache->dss.stencilWriteMaskFront != + stencilWriteMask.writeMask) { + GL_CHECK(glStencilMaskSeparate(GL_FRONT, + stencilWriteMask.writeMask)); + cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; + } + break; + case StencilFace::BACK: + if (cache->dss.stencilWriteMaskBack != + stencilWriteMask.writeMask) { + GL_CHECK(glStencilMaskSeparate(GL_BACK, + stencilWriteMask.writeMask)); + cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; + } + break; + case StencilFace::ALL: + if ((cache->dss.stencilWriteMaskFront != + stencilWriteMask.writeMask) || + (cache->dss.stencilWriteMaskBack != + stencilWriteMask.writeMask)) { + GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); + cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; + cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; + } + break; + } + break; + case DynamicStateFlagBit::STENCIL_COMPARE_MASK: + switch (stencilCompareMask.face) { + case StencilFace::FRONT: + if ((cache->dss.stencilRefFront != + (uint) stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskFront != + stencilCompareMask.compareMask)) { + GL_CHECK(glStencilFuncSeparate(GL_FRONT, + GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); + cache->dss.stencilRefFront = stencilCompareMask.refrence; + cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; + } + break; + case StencilFace::BACK: + if ((cache->dss.stencilRefBack != + (uint) stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskBack != + stencilCompareMask.compareMask)) { + GL_CHECK(glStencilFuncSeparate(GL_BACK, + GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); + cache->dss.stencilRefBack = stencilCompareMask.refrence; + cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; + } + break; + case StencilFace::ALL: + if ((cache->dss.stencilRefFront != + (uint) stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskFront != + stencilCompareMask.compareMask) || + (cache->dss.stencilRefBack != + (uint) stencilCompareMask.refrence) || + (cache->dss.stencilReadMaskBack != + stencilCompareMask.compareMask)) { + GL_CHECK(glStencilFuncSeparate(GL_FRONT, + GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, + GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); + cache->dss.stencilRefFront = stencilCompareMask.refrence; + cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; + cache->dss.stencilRefBack = stencilCompareMask.refrence; + cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; + } + break; + } + break; + default: + CC_LOG_ERROR("Invalid dynamic states."); + break; + } // switch + } // for + } // if } void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index df4c6ffe2b..a78143340b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -421,49 +421,49 @@ bool GLES2Context::MakeCurrent(bool bound) { #endif _isInitialized = true; - - ////////////////////////////////////////////////////////////////////////// - - GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); - GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); - GL_CHECK(glActiveTexture(GL_TEXTURE0)); - - ////////////////////////////////////////////////////////////////////////// - - GL_CHECK(glEnable(GL_SCISSOR_TEST)); - GL_CHECK(glEnable(GL_CULL_FACE)); - GL_CHECK(glCullFace(GL_BACK)); - - GL_CHECK(glFrontFace(GL_CCW)); - - //GL_CHECK(glDisable(GL_MULTISAMPLE)); - - ////////////////////////////////////////////////////////////////////////// - // DepthStencilState - GL_CHECK(glEnable(GL_DEPTH_TEST)); - GL_CHECK(glDepthMask(GL_TRUE)); - GL_CHECK(glDepthFunc(GL_LESS)); - - GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); - - GL_CHECK(glDisable(GL_STENCIL_TEST)); - - ////////////////////////////////////////////////////////////////////////// - // BlendState - - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); - GL_CHECK(glDisable(GL_BLEND)); - GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); - GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); - GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); } + ////////////////////////////////////////////////////////////////////////// + + glPixelStorei(GL_PACK_ALIGNMENT, 1); + glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + glActiveTexture(GL_TEXTURE0); + + ////////////////////////////////////////////////////////////////////////// + + glEnable(GL_SCISSOR_TEST); + glEnable(GL_CULL_FACE); + glCullFace(GL_BACK); + + glFrontFace(GL_CCW); + + //glDisable(GL_MULTISAMPLE); + + ////////////////////////////////////////////////////////////////////////// + // DepthStencilState + glEnable(GL_DEPTH_TEST); + glDepthMask(GL_TRUE); + glDepthFunc(GL_LESS); + + glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff); + glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP); + glStencilMaskSeparate(GL_FRONT, 0xffffffff); + glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff); + glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP); + glStencilMaskSeparate(GL_BACK, 0xffffffff); + + glDisable(GL_STENCIL_TEST); + + ////////////////////////////////////////////////////////////////////////// + // BlendState + + glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE); + glDisable(GL_BLEND); + glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD); + glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO); + glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); + glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f); + CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; } else { diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index 0c5407f33d..4862a1a431 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -325,8 +325,6 @@ public: GLES2ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t vertexAttributes) { - bt.resize(1); - bs.targets.push_back(bt[0]); glTextures.resize(texUnits, 0u); glEnabledAttribLocs.resize(vertexAttributes, false); glCurrentAttribLocs.resize(vertexAttributes, false); @@ -347,6 +345,12 @@ public: isCullFaceEnabled = true; isStencilTestEnabled = false; + viewport = Viewport(); + scissor = Rect(); + rs = RasterizerState(); + dss = DepthStencilState(); + bs = BlendState(); + gfxStateCache.gpuPipelineState = nullptr; gfxStateCache.numClearColors = 0u; gfxStateCache.gpuRenderPass = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 247eb05ce8..8bab0eeafd 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1459,7 +1459,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); cache->glFramebuffer = gpuFramebuffer->glFramebuffer; // render targets are drawn with flipped-Y - gfxStateCache.reverseCW = !!gpuFramebuffer->glFramebuffer; + gfxStateCache.reverseCW = gpuFramebuffer->isOffscreen; } if (cache->viewport.left != renderArea.x || @@ -1517,15 +1517,18 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen break; } - // restore states - if (glClears & GL_COLOR_BUFFER_BIT) { - ColorMask colorMask = cache->bs.targets[0].blendColorMask; - if (colorMask != ColorMask::ALL) { - glColorMask((GLboolean)(colorMask & ColorMask::R), - (GLboolean)(colorMask & ColorMask::G), - (GLboolean)(colorMask & ColorMask::B), - (GLboolean)(colorMask & ColorMask::A)); + if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { + bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; + if (hasDepth) { + switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { + case LoadOp::LOAD: break; // GL default behaviour + case LoadOp::CLEAR: { + if (!cache->dss.depthWrite) { + GL_CHECK(glDepthMask(true)); } + GL_CHECK(glClearDepthf(clearDepth)); + glClears |= GL_DEPTH_BUFFER_BIT; + break; } case LoadOp::DISCARD: { // invalidate fbo @@ -1579,7 +1582,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } } - if ((glClears & GL_COLOR_BUFFER_BIT) && !cache->dss.depthWrite) { + if ((glClears & GL_DEPTH_BUFFER_BIT) && !cache->dss.depthWrite) { GL_CHECK(glDepthMask(false)); } @@ -1936,7 +1939,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } // if // bind vao - if (gpuInputAssembler && gpuPipelineState->gpuShader && + if (gpuInputAssembler && gpuPipelineState && gpuPipelineState->gpuShader && (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { gfxStateCache.gpuInputAssembler = gpuInputAssembler; if (USE_VAO) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 567a9e8ae3..570817a23a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -420,51 +420,49 @@ bool GLES3Context::MakeCurrent(bool bound) { #endif _isInitialized = true; - - ////////////////////////////////////////////////////////////////////////// - - GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); - GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); - GL_CHECK(glActiveTexture(GL_TEXTURE0)); - - ////////////////////////////////////////////////////////////////////////// - - GL_CHECK(glEnable(GL_SCISSOR_TEST)); - GL_CHECK(glEnable(GL_CULL_FACE)); - GL_CHECK(glCullFace(GL_BACK)); - - GL_CHECK(glFrontFace(GL_CCW)); - - //GL_CHECK(glDisable(GL_MULTISAMPLE)); - - ////////////////////////////////////////////////////////////////////////// - // DepthStencilState - GL_CHECK(glEnable(GL_DEPTH_TEST)); - GL_CHECK(glDepthMask(GL_TRUE)); - GL_CHECK(glDepthFunc(GL_LESS)); - - GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); - - GL_CHECK(glDisable(GL_STENCIL_TEST)); - - ////////////////////////////////////////////////////////////////////////// - // BlendState - - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); - GL_CHECK(glDisable(GL_BLEND)); - GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); - GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); - GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); - - _isInitialized = true; } + ////////////////////////////////////////////////////////////////////////// + + GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); + GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); + GL_CHECK(glActiveTexture(GL_TEXTURE0)); + + ////////////////////////////////////////////////////////////////////////// + + GL_CHECK(glEnable(GL_SCISSOR_TEST)); + GL_CHECK(glEnable(GL_CULL_FACE)); + GL_CHECK(glCullFace(GL_BACK)); + + GL_CHECK(glFrontFace(GL_CCW)); + + //GL_CHECK(glDisable(GL_MULTISAMPLE)); + + ////////////////////////////////////////////////////////////////////////// + // DepthStencilState + GL_CHECK(glEnable(GL_DEPTH_TEST)); + GL_CHECK(glDepthMask(GL_TRUE)); + GL_CHECK(glDepthFunc(GL_LESS)); + + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); + + GL_CHECK(glDisable(GL_STENCIL_TEST)); + + ////////////////////////////////////////////////////////////////////////// + // BlendState + + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + GL_CHECK(glDisable(GL_BLEND)); + GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); + GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); + GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); + GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); + CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; } else { diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 1e43b74c71..519ac0dde9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -294,8 +294,6 @@ public: GLES3ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t bufferBindings, size_t vertexAttributes) { - bt.resize(1); - bs.targets.push_back(bt[0]); glBindUBOs.resize(bufferBindings, 0u); glBindUBOOffsets.resize(bufferBindings, 0u); glTextures.resize(texUnits, 0u); @@ -321,6 +319,12 @@ public: glReadFBO = 0; isCullFaceEnabled = true; isStencilTestEnabled = false; + + viewport = Viewport(); + scissor = Rect(); + rs = RasterizerState(); + dss = DepthStencilState(); + bs = BlendState(); gfxStateCache.numClearColors = 0u; gfxStateCache.gpuRenderPass = nullptr; From 646120089d600a944d982ba7157aecb6e763c16a Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 4 Dec 2020 16:53:36 +0800 Subject: [PATCH 040/270] fix device.destroy --- native/cocos/renderer/gfx-gles2/GLES2Device.cpp | 12 ++---------- native/cocos/renderer/gfx-gles3/GLES3Device.cpp | 11 ++--------- native/cocos/renderer/gfx-metal/MTLDevice.mm | 11 ++--------- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 11 ++--------- 4 files changed, 8 insertions(+), 37 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index cce2f2bc45..029bd7115c 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -185,16 +185,8 @@ bool GLES2Device::initialize(const DeviceInfo &info) { } void GLES2Device::destroy() { - // these two are managed by their proxies - if (_queue) { - _queue->destroy(); - _queue = nullptr; - } - if (_cmdBuff) { - _cmdBuff->destroy(); - _cmdBuff = nullptr; - } - + CC_SAFE_DESTROY(_queue); + CC_SAFE_DESTROY(_cmdBuff); CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); CC_SAFE_DESTROY(_deviceContext); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index a62d93d351..d7938ac6ec 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -176,15 +176,8 @@ bool GLES3Device::initialize(const DeviceInfo &info) { } void GLES3Device::destroy() { - // these two are managed by their proxies - if (_queue) { - _queue->destroy(); - _queue = nullptr; - } - if (_cmdBuff) { - _cmdBuff->destroy(); - _cmdBuff = nullptr; - } + CC_SAFE_DESTROY(_queue); + CC_SAFE_DESTROY(_cmdBuff); CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); CC_SAFE_DESTROY(_deviceContext); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 8e9adc28ea..6a21a653a9 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -176,15 +176,8 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { } void CCMTLDevice::destroy() { - // these two are managed by their proxies - if (_queue) { - _queue->destroy(); - _queue = nullptr; - } - if (_cmdBuff) { - _cmdBuff->destroy(); - _cmdBuff = nullptr; - } + CC_SAFE_DESTROY(_queue); + CC_SAFE_DESTROY(_cmdBuff); CC_SAFE_DESTROY(_context); CC_SAFE_DELETE(_inFlightSemaphore); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 2724be6f47..934f3d1c01 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -393,15 +393,8 @@ void CCVKDevice::destroy() { } _depthStencilTextures.clear(); - // these two are managed by their proxies - if (_queue) { - _queue->destroy(); - _queue = nullptr; - } - if (_cmdBuff) { - _cmdBuff->destroy(); - _cmdBuff = nullptr; - } + CC_SAFE_DESTROY(_queue); + CC_SAFE_DESTROY(_cmdBuff); CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); From 6ae3e8d4d636968d1dde5518ad4191078f645aa4 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 7 Dec 2020 22:22:26 +0800 Subject: [PATCH 041/270] add final whenever possible --- .../renderer/core/gfx-proxy/GFXBufferProxy.h | 2 +- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 63 +++++++++---------- .../core/gfx-proxy/GFXCommandBufferProxy.h | 7 ++- .../gfx-proxy/GFXDescriptorSetLayoutProxy.h | 2 +- .../core/gfx-proxy/GFXDescriptorSetProxy.h | 2 +- .../core/gfx-proxy/GFXDeviceProxy.cpp | 7 ++- .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 3 +- .../core/gfx-proxy/GFXFramebufferProxy.h | 2 +- .../core/gfx-proxy/GFXInputAssemblerProxy.h | 2 +- .../core/gfx-proxy/GFXPipelineLayoutProxy.h | 2 +- .../core/gfx-proxy/GFXPipelineStateProxy.h | 2 +- .../renderer/core/gfx-proxy/GFXQueueProxy.h | 2 +- .../core/gfx-proxy/GFXRenderPassProxy.h | 2 +- .../renderer/core/gfx-proxy/GFXSamplerProxy.h | 2 +- .../renderer/core/gfx-proxy/GFXShaderProxy.h | 2 +- .../renderer/core/gfx-proxy/GFXTextureProxy.h | 2 +- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 2 +- .../renderer/gfx-gles2/GLES2GPUObjects.h | 4 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 2 +- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 2 +- .../renderer/gfx-gles3/GLES3GPUObjects.h | 6 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 13 ++-- 23 files changed, 71 insertions(+), 64 deletions(-) diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h index 91aaee219b..fa1fa9ec67 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL BufferProxy : public Proxy { +class CC_DLL BufferProxy final : public Proxy { public: using Proxy::Proxy; BufferProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index a1681adfe4..0ef7662a9c 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -16,6 +16,8 @@ namespace cc { namespace gfx { bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { + _encoder = ((DeviceProxy *)_device)->getMainEncoder(); + _type = info.type; _queue = info.queue; @@ -23,7 +25,7 @@ bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { remoteInfo.queue = ((QueueProxy *)info.queue)->getRemote(); ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferInit, remote, getRemote(), info, remoteInfo, @@ -37,7 +39,7 @@ bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { void CommandBufferProxy::destroy() { if (_remote) { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferDestroy, remote, getRemote(), { @@ -50,7 +52,7 @@ void CommandBufferProxy::destroy() { void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { ENCODE_COMMAND_4( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferBegin, remote, getRemote(), renderPass, renderPass ? ((RenderPassProxy *)renderPass)->getRemote() : nullptr, @@ -63,7 +65,7 @@ void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer void CommandBufferProxy::end() { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferEnd, remote, getRemote(), { @@ -72,17 +74,16 @@ void CommandBufferProxy::end() { } void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *remoteColors = nullptr; if (attachmentCount) { - remoteColors = encoder->Allocate(attachmentCount); + remoteColors = _encoder->Allocate(attachmentCount); memcpy(remoteColors, colors, sizeof(Color) * attachmentCount); } ENCODE_COMMAND_7( - encoder, + _encoder, CommandBufferBeginRenderPass, remote, getRemote(), renderPass, ((RenderPassProxy *)renderPass)->getRemote(), @@ -98,7 +99,7 @@ void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fb void CommandBufferProxy::endRenderPass() { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferEndRenderPass, remote, getRemote(), { @@ -108,7 +109,7 @@ void CommandBufferProxy::endRenderPass() { void CommandBufferProxy::bindPipelineState(PipelineState *pso) { ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferBindPipelineState, remote, getRemote(), pso, ((PipelineStateProxy *)pso)->getRemote(), @@ -118,16 +119,14 @@ void CommandBufferProxy::bindPipelineState(PipelineState *pso) { } void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { - CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); - uint *remoteDynamicOffsets = nullptr; if (dynamicOffsetCount) { - remoteDynamicOffsets = encoder->Allocate(dynamicOffsetCount); + remoteDynamicOffsets = _encoder->Allocate(dynamicOffsetCount); memcpy(remoteDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); } ENCODE_COMMAND_5( - encoder, + _encoder, CommandBufferBindDescriptorSet, remote, getRemote(), set, set, @@ -141,7 +140,7 @@ void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSe void CommandBufferProxy::bindInputAssembler(InputAssembler *ia) { ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferBindInputAssembler, remote, getRemote(), ia, ((InputAssemblerProxy *)ia)->getRemote(), @@ -152,7 +151,7 @@ void CommandBufferProxy::bindInputAssembler(InputAssembler *ia) { void CommandBufferProxy::setViewport(const Viewport &vp) { ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferSetViewport, remote, getRemote(), vp, vp, @@ -163,7 +162,7 @@ void CommandBufferProxy::setViewport(const Viewport &vp) { void CommandBufferProxy::setScissor(const Rect &rect) { ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferSetScissor, remote, getRemote(), rect, rect, @@ -174,7 +173,7 @@ void CommandBufferProxy::setScissor(const Rect &rect) { void CommandBufferProxy::setLineWidth(const float width) { ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferSetLineWidth, remote, getRemote(), width, width, @@ -185,7 +184,7 @@ void CommandBufferProxy::setLineWidth(const float width) { void CommandBufferProxy::setDepthBias(float constant, float clamp, float slope) { ENCODE_COMMAND_4( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferSetDepthBias, remote, getRemote(), constant, constant, @@ -198,7 +197,7 @@ void CommandBufferProxy::setDepthBias(float constant, float clamp, float slope) void CommandBufferProxy::setBlendConstants(const Color &constants) { ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferSetBlendConstants, remote, getRemote(), constants, constants, @@ -209,7 +208,7 @@ void CommandBufferProxy::setBlendConstants(const Color &constants) { void CommandBufferProxy::setDepthBound(float minBounds, float maxBounds) { ENCODE_COMMAND_3( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferSetDepthBound, remote, getRemote(), minBounds, minBounds, @@ -221,7 +220,7 @@ void CommandBufferProxy::setDepthBound(float minBounds, float maxBounds) { void CommandBufferProxy::setStencilWriteMask(StencilFace face, uint mask) { ENCODE_COMMAND_3( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferSetStencilWriteMask, remote, getRemote(), face, face, @@ -233,7 +232,7 @@ void CommandBufferProxy::setStencilWriteMask(StencilFace face, uint mask) { void CommandBufferProxy::setStencilCompareMask(StencilFace face, int ref, uint mask) { ENCODE_COMMAND_4( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferSetStencilCompareMask, remote, getRemote(), face, face, @@ -246,7 +245,7 @@ void CommandBufferProxy::setStencilCompareMask(StencilFace face, int ref, uint m void CommandBufferProxy::draw(InputAssembler *ia) { ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + _encoder, CommandBufferDraw, remote, getRemote(), ia, ((InputAssemblerProxy *)ia)->getRemote(), @@ -256,7 +255,7 @@ void CommandBufferProxy::draw(InputAssembler *ia) { } void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { - CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); + CommandEncoder *encoder = _encoder; uint8_t *remoteData = encoder->Allocate(size); memcpy(remoteData, data, size); @@ -275,28 +274,26 @@ void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, } void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); - - BufferTextureCopy *remoteRegions = encoder->Allocate(count); + BufferTextureCopy *remoteRegions = _encoder->Allocate(count); memcpy(remoteRegions, regions, count * sizeof(BufferTextureCopy)); uint bufferCount = 0u; for (uint i = 0u; i < count; i++) { bufferCount += regions[i].texSubres.layerCount; } - const uint8_t **remoteBuffers = encoder->Allocate(bufferCount); + const uint8_t **remoteBuffers = _encoder->Allocate(bufferCount); for (uint i = 0u, n = 0u; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = encoder->Allocate(size); + uint8_t *buffer = _encoder->Allocate(size); memcpy(buffer, buffers[n], size); remoteBuffers[n++] = buffer; } } ENCODE_COMMAND_5( - encoder, + _encoder, CommandBufferCopyBuffersToTexture, remote, getRemote(), buffers, remoteBuffers, @@ -309,15 +306,13 @@ void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Tex } void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); - - const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); + const CommandBuffer **remoteCmdBuffs = _encoder->Allocate(count); for (uint i = 0; i < count; ++i) { remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); } ENCODE_COMMAND_3( - encoder, + _encoder, CommandBufferExecute, remote, getRemote(), cmdBuffs, remoteCmdBuffs, diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index 40c95053fe..bf86a80d84 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL CommandBufferProxy : public Proxy { +class CC_DLL CommandBufferProxy final : public Proxy { public: using Proxy::Proxy; CommandBufferProxy(Device *device) = delete; @@ -36,6 +36,11 @@ public: virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } virtual uint getNumInstances() const override { return _remote->getNumInstances(); } virtual uint getNumTris() const override { return _remote->getNumTris(); } + + void setEncoder(CommandEncoder *encoder) { _encoder = encoder; } + +private: + CommandEncoder *_encoder = nullptr; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h index 465ff2e31e..53422c14cc 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL DescriptorSetLayoutProxy : public Proxy { +class CC_DLL DescriptorSetLayoutProxy final : public Proxy { public: using Proxy::Proxy; DescriptorSetLayoutProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h index 5974055905..68886fa109 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL DescriptorSetProxy : public Proxy { +class CC_DLL DescriptorSetProxy final : public Proxy { public: using Proxy::Proxy; DescriptorSetProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 1a95e4e97a..2abde7323b 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -64,17 +64,18 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { _mainEncoder = CC_NEW(CommandEncoder); _mainEncoder->RunConsumerThread(); - _contexts.resize(1u); // std::thread::hardware_concurrency()); + _contexts.resize(std::thread::hardware_concurrency() - 1); CommandBufferInfo cbInfo; cbInfo.type = CommandBufferType::PRIMARY; cbInfo.queue = _queue; for (auto &context : _contexts) { - context.commandBuffer = createCommandBuffer(); - context.commandBuffer->initialize(cbInfo); context.encoder = CC_NEW(CommandEncoder); context.encoder->RunConsumerThread(); + context.commandBuffer = createCommandBuffer(); + context.commandBuffer->initialize(cbInfo); + ((CommandBufferProxy *)context.commandBuffer)->setEncoder(context.encoder); } setMultithreaded(true); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index c63d38e52e..0fac494288 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -18,7 +18,7 @@ struct SubmitContext final { CommandBuffer *commandBuffer{nullptr}; }; -class CC_DLL DeviceProxy : public Proxy { +class CC_DLL DeviceProxy final : public Proxy { public: using Proxy::Proxy; @@ -57,6 +57,7 @@ public: virtual uint getNumTris() const override { return _remote->getNumTris(); } CommandEncoder *getMainEncoder() const { return _mainEncoder; } + vector &getSubmitContexts() { return _contexts; } protected: diff --git a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h index af0f1a539d..7b7300b4a9 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL FramebufferProxy : public Proxy { +class CC_DLL FramebufferProxy final : public Proxy { public: using Proxy::Proxy; FramebufferProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h index 3056a42fab..b7b7aa02e2 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL InputAssemblerProxy : public Proxy { +class CC_DLL InputAssemblerProxy final : public Proxy { public: using Proxy::Proxy; InputAssemblerProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h index f140f65323..2996e47d0f 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL PipelineLayoutProxy : public Proxy { +class CC_DLL PipelineLayoutProxy final : public Proxy { public: using Proxy::Proxy; PipelineLayoutProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h index dfeff34465..c5604d0b0f 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL PipelineStateProxy : public Proxy { +class CC_DLL PipelineStateProxy final : public Proxy { public: using Proxy::Proxy; PipelineStateProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h index 1e86e5efc0..5cee3eb934 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL QueueProxy : public Proxy { +class CC_DLL QueueProxy final : public Proxy { public: using Proxy::Proxy; using Queue::submit; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h index e3194c1869..3bfe4fced1 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL RenderPassProxy : public Proxy { +class CC_DLL RenderPassProxy final : public Proxy { public: using Proxy::Proxy; RenderPassProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h index c4ce6d8b2c..11659f8ec8 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL SamplerProxy : public Proxy { +class CC_DLL SamplerProxy final : public Proxy { public: using Proxy::Proxy; SamplerProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h index d356218d9c..fae3fce714 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL ShaderProxy : public Proxy { +class CC_DLL ShaderProxy final : public Proxy { public: using Proxy::Proxy; ShaderProxy(Device *device) = delete; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h index 0eb2b52937..e021ad232b 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_DLL TextureProxy : public Proxy { +class CC_DLL TextureProxy final : public Proxy { public: using Proxy::Proxy; TextureProxy(Device *device) = delete; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index 7802b74f27..57ef2315df 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -31,7 +31,7 @@ namespace gfx { class GLES2Device; -struct GLES2DepthBias { +struct GLES2DepthBias final { float constant = 0.0f; float clamp = 0.0f; float slope = 0.0f; diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index 4862a1a431..da5c395f8a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -290,7 +290,7 @@ class GLES2GPUFence final : public Object { public: }; -struct GLES2ObjectCache { +struct GLES2ObjectCache final { size_t numClearColors = 0u; GLES2GPURenderPass *gpuRenderPass = nullptr; GLES2GPUFramebuffer *gpuFramebuffer = nullptr; @@ -301,7 +301,7 @@ struct GLES2ObjectCache { GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; }; -class GLES2GPUStateCache : public Object { +class GLES2GPUStateCache final : public Object { public: GLuint glArrayBuffer = 0; GLuint glElementArrayBuffer = 0; diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index 61cb07f21c..8f6b26baa5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_GLES2_API GLES2PrimaryCommandBuffer : public GLES2CommandBuffer { +class CC_GLES2_API GLES2PrimaryCommandBuffer final : public GLES2CommandBuffer { friend class GLES2Queue; public: diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index d5f2d12372..862bac8249 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -31,7 +31,7 @@ namespace gfx { class GLES3Device; -struct GLES3DepthBias { +struct GLES3DepthBias final { float constant = 0.0f; float clamp = 0.0f; float slope = 0.0f; diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 519ac0dde9..54155f4264 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -256,7 +256,7 @@ class GLES3GPUFence final : public Object { public: }; -struct GLES3ObjectCache { +struct GLES3ObjectCache final { size_t numClearColors = 0u; GLES3GPURenderPass *gpuRenderPass = nullptr; GLES3GPUFramebuffer *gpuFramebuffer = nullptr; @@ -267,7 +267,7 @@ struct GLES3ObjectCache { GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; }; -class GLES3GPUStateCache : public Object { +class GLES3GPUStateCache final : public Object { public: GLuint glArrayBuffer = 0; GLuint glElementArrayBuffer = 0; @@ -319,7 +319,7 @@ public: glReadFBO = 0; isCullFaceEnabled = true; isStencilTestEnabled = false; - + viewport = Viewport(); scissor = Rect(); rs = RasterizerState(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index bd2d387622..4cfb7b2291 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -6,7 +6,7 @@ namespace cc { namespace gfx { -class CC_GLES3_API GLES3PrimaryCommandBuffer : public GLES3CommandBuffer { +class CC_GLES3_API GLES3PrimaryCommandBuffer final : public GLES3CommandBuffer { friend class GLES3Queue; public: diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 5bff894543..ba27c7ab95 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -243,8 +243,14 @@ class CCVKGPUDescriptorSet final : public Object { public: CCVKGPUDescriptorList gpuDescriptors; - // references - VkDescriptorUpdateTemplate *pUpdateTemplate = nullptr; + vector descriptorInfos; + vector descriptorUpdateEntries; +}; + +class CCVKGPUDescriptorSetLayout final : public Object { +public: + DescriptorSetLayoutBindingList bindings; + vector dynamicBindings; struct DescriptorSetInstance { VkDescriptorSet vkDescriptorSet = VK_NULL_HANDLE; @@ -287,7 +293,6 @@ public: VkFence vkFence; }; -class CCVKGPUCommandBufferPool; class CCVKGPUDevice final : public Object { public: VkDevice vkDevice = VK_NULL_HANDLE; @@ -581,7 +586,7 @@ private: * Staging buffer pool, based on multiple fix-sized VkBuffer blocks. */ constexpr size_t chunkSize = 32 * 1024 * 1024; // 32M per block by default -class CCVKGPUStagingBufferPool : public Object { +class CCVKGPUStagingBufferPool final : public Object { public: CCVKGPUStagingBufferPool(CCVKGPUDevice *device) : _device(device) { From f4bc1e096ffb48b7faf99353730e4443c3e1ec5c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 8 Dec 2020 22:39:17 +0800 Subject: [PATCH 042/270] structure --- native/cocos/base/job-system/CMakeLists.txt | 2 + native/cocos/base/job-system/JobSystem.h | 20 ++++++ .../job-system-taskflow/CMakeLists.txt | 53 +++++++++++++++ .../job-system/job-system-taskflow/TFJob.cpp | 21 ++++++ .../job-system/job-system-taskflow/TFJob.h | 24 +++++++ .../job-system-taskflow/TFJobGraph.cpp | 7 ++ .../job-system-taskflow/TFJobGraph.h | 42 ++++++++++++ .../job-system-taskflow/TFJobSystem.cpp | 33 ++++++++++ .../job-system-taskflow/TFJobSystem.h | 32 ++++++++++ .../job-system/job-system-tbb/CMakeLists.txt | 53 +++++++++++++++ .../base/job-system/job-system-tbb/TBBJob.cpp | 3 + .../base/job-system/job-system-tbb/TBBJob.h | 21 ++++++ .../job-system/job-system-tbb/TBBJobGraph.cpp | 3 + .../job-system/job-system-tbb/TBBJobGraph.h | 24 +++++++ .../job-system-tbb/TBBJobSystem.cpp | 3 + .../job-system/job-system-tbb/TBBJobSystem.h | 21 ++++++ native/cocos/base/threading/CMakeLists.txt | 52 +++++++++++++++ .../threading}/CommandEncoder.cpp | 2 - .../threading}/CommandEncoder.h | 2 - .../threading}/ConditionVariable.cpp | 4 +- .../cocos/base/threading/ConditionVariable.h | 35 ++++++++++ .../core/thread => base/threading}/Event.h | 2 - .../thread => base/threading}/Semaphore.cpp | 4 ++ .../thread => base/threading}/Semaphore.h | 4 ++ .../thread => base/threading}/ThreadPool.cpp | 31 +++++---- .../thread => base/threading}/ThreadPool.h | 18 +++--- .../threading}/ThreadSafeCounter.h | 4 +- native/cocos/cocos2d.h | 3 +- native/cocos/renderer/core/CMakeLists.txt | 3 +- native/cocos/renderer/core/Core.h | 9 ++- .../core/gfx-proxy/GFXBufferProxy.cpp | 2 +- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 13 +++- .../core/gfx-proxy/GFXCommandBufferProxy.h | 7 +- .../gfx-proxy/GFXDescriptorSetLayoutProxy.cpp | 2 +- .../core/gfx-proxy/GFXDescriptorSetProxy.cpp | 2 +- .../core/gfx-proxy/GFXDeviceProxy.cpp | 34 ++-------- .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 9 ++- .../core/gfx-proxy/GFXFramebufferProxy.cpp | 2 +- .../core/gfx-proxy/GFXInputAssemblerProxy.cpp | 2 +- .../core/gfx-proxy/GFXPipelineLayoutProxy.cpp | 2 +- .../core/gfx-proxy/GFXPipelineStateProxy.cpp | 2 +- .../renderer/core/gfx-proxy/GFXQueueProxy.cpp | 27 ++++++-- .../core/gfx-proxy/GFXRenderPassProxy.cpp | 2 +- .../core/gfx-proxy/GFXSamplerProxy.cpp | 2 +- .../core/gfx-proxy/GFXShaderProxy.cpp | 2 +- .../core/gfx-proxy/GFXTextureProxy.cpp | 2 +- native/cocos/renderer/core/gfx/GFXDevice.h | 2 + .../renderer/core/thread/ConditionVariable.h | 25 -------- .../renderer/core/thread/ReadWriteLock.cpp | 1 - .../renderer/core/thread/ReadWriteLock.h | 38 ----------- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 64 ++++++++++--------- native/cocos/renderer/gfx-gles2/GLES2Std.h | 11 +++- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 10 +-- native/cocos/renderer/gfx-gles3/GLES3Std.h | 11 +++- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 6 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 13 ++-- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 10 +-- 57 files changed, 631 insertions(+), 207 deletions(-) create mode 100644 native/cocos/base/job-system/CMakeLists.txt create mode 100644 native/cocos/base/job-system/JobSystem.h create mode 100644 native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt create mode 100644 native/cocos/base/job-system/job-system-taskflow/TFJob.cpp create mode 100644 native/cocos/base/job-system/job-system-taskflow/TFJob.h create mode 100644 native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp create mode 100644 native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h create mode 100644 native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp create mode 100644 native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h create mode 100644 native/cocos/base/job-system/job-system-tbb/CMakeLists.txt create mode 100644 native/cocos/base/job-system/job-system-tbb/TBBJob.cpp create mode 100644 native/cocos/base/job-system/job-system-tbb/TBBJob.h create mode 100644 native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp create mode 100644 native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h create mode 100644 native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp create mode 100644 native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h create mode 100644 native/cocos/base/threading/CMakeLists.txt rename native/cocos/{renderer/core/thread => base/threading}/CommandEncoder.cpp (99%) rename native/cocos/{renderer/core/thread => base/threading}/CommandEncoder.h (99%) rename native/cocos/{renderer/core/thread => base/threading}/ConditionVariable.cpp (77%) create mode 100644 native/cocos/base/threading/ConditionVariable.h rename native/cocos/{renderer/core/thread => base/threading}/Event.h (93%) rename native/cocos/{renderer/core/thread => base/threading}/Semaphore.cpp (89%) rename native/cocos/{renderer/core/thread => base/threading}/Semaphore.h (93%) rename native/cocos/{renderer/core/thread => base/threading}/ThreadPool.cpp (64%) rename native/cocos/{renderer/core/thread => base/threading}/ThreadPool.h (80%) rename native/cocos/{renderer/core/thread => base/threading}/ThreadSafeCounter.h (84%) delete mode 100644 native/cocos/renderer/core/thread/ConditionVariable.h delete mode 100644 native/cocos/renderer/core/thread/ReadWriteLock.cpp delete mode 100644 native/cocos/renderer/core/thread/ReadWriteLock.h diff --git a/native/cocos/base/job-system/CMakeLists.txt b/native/cocos/base/job-system/CMakeLists.txt new file mode 100644 index 0000000000..c3bb0d7c47 --- /dev/null +++ b/native/cocos/base/job-system/CMakeLists.txt @@ -0,0 +1,2 @@ +add_subdirectory(job-system-taskflow) +add_subdirectory(job-system-tbb) diff --git a/native/cocos/base/job-system/JobSystem.h b/native/cocos/base/job-system/JobSystem.h new file mode 100644 index 0000000000..6a7ceb6ab7 --- /dev/null +++ b/native/cocos/base/job-system/JobSystem.h @@ -0,0 +1,20 @@ + +#if CC_JOB_SYSTEM == CC_JOB_SYSTEM_TASKFLOW +#include "job-system-taskflow/TFJob.h" +#include "job-system-taskflow/TFJobGraph.h" +#include "job-system-taskflow/TFJobSystem.h" +namespace cc { +using Job = TFJob; +using JobGraph = TFJobGraph; +using JobSystem = TFJobSystem; +} // namespace cc +#elif CC_JOB_SYSTEM == CC_JOB_SYSTEM_TBB +#include "job-system-tbb/TBBJob.h" +#include "job-system-tbb/TBBJobGraph.h" +#include "job-system-tbb/TBBJobSystem.h" +namespace cc { +using Job = TBBJob; +using JobGraph = TBBJobGraph; +using JobSystem = TBBJobSystem; +} // namespace cc +#endif diff --git a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt new file mode 100644 index 0000000000..52202af71c --- /dev/null +++ b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt @@ -0,0 +1,53 @@ +set(TARGET_NAME TFJobSystem) +set(CMAKE_CXX_STANDARD 17) +message(STATUS "Target: ${TARGET_NAME}...") +# --------------------------------------------------------------------- +# set include files + +set(INCLUDE_FILES + ${GFX_EXTERNAL_PATH}/taskflow + ${COCOS_SRC_PATH}/renderer/core +) + +include_directories( ${INCLUDE_FILES} ) + +# --------------------------------------------------------------------- + +file(GLOB_RECURSE HEADER_FILES *.h) +file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) +file(GLOB_RECURSE SOURCE_C_FILES *.c) + +if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) + file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) +endif() + +set(ALL_FILES + ${HEADER_FILES} + ${SOURCE_CPP_FILES} + ${SOURCE_C_FILES} +) + +if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) + set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) +endif() + +if(COCOS_UNICODE) + add_definitions("-DUNICODE -D_UNICODE") +endif() + +if (COCOS_STATIC) + add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) +else() + add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) +endif() + +target_link_libraries(${TARGET_NAME} Core) + +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCTFJobSystem) +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCTFJobSystem_d) + +message(STATUS "${TARGET_NAME} configuration completed.") + +target_compile_definitions(${TARGET_NAME} PUBLIC + $<$:CC_DEBUG=1> +) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJob.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJob.cpp new file mode 100644 index 0000000000..621e32e526 --- /dev/null +++ b/native/cocos/base/job-system/job-system-taskflow/TFJob.cpp @@ -0,0 +1,21 @@ +#include "CoreStd.h" + +#include "TFJob.h" + +namespace cc { + +TFJob::TFJob(tf::Task &&task) noexcept +: _task(task) +{ + +} + +void TFJob::precede(TFJob &other) noexcept { + _task.precede(other._task); +} + +void TFJob::succeed(TFJob &other) noexcept { + _task.succeed(other._task); +} + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJob.h b/native/cocos/base/job-system/job-system-taskflow/TFJob.h new file mode 100644 index 0000000000..94012ef0ad --- /dev/null +++ b/native/cocos/base/job-system/job-system-taskflow/TFJob.h @@ -0,0 +1,24 @@ +#pragma once + +#include "taskflow/taskflow.hpp" + +class TFJobGraph; + +namespace cc { + +class TFJob final { +public: + + void precede(TFJob &other) noexcept; + void succeed(TFJob &other) noexcept; + +private: + + TFJob(tf::Task &&task) noexcept; + + friend class TFJobGraph; + + tf::Task _task; +}; + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp new file mode 100644 index 0000000000..def056bd3c --- /dev/null +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -0,0 +1,7 @@ +#include "CoreStd.h" + +#include "TFJobGraph.h" + +namespace cc { + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h new file mode 100644 index 0000000000..d7f7d906e3 --- /dev/null +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -0,0 +1,42 @@ +#pragma once + +#include "taskflow/taskflow.hpp" +#include "TFJob.h" + +namespace cc { + +class TFJobGraph final { +public: + + template + TFJob createJob(Function &&func) noexcept; + + template + TFJob createForEachIndexJob(B &&begin, E &&end, S &&step, Function &&func) noexcept; + + template + TFJob createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept; + +private: + + friend class TFJobSystem; + + tf::Taskflow _flow; +}; + +template +TFJob TFJobGraph::createJob(Function &&func) noexcept { + return TFJob(_flow.emplace(func)); +} + +template +TFJob TFJobGraph::createForEachIndexJob(B &&begin, E &&end, S &&step, Function &&func) noexcept { + return TFJob(_flow.for_each_index(begin, end, step, func)); +} + +template +TFJob TFJobGraph::createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept { + return TFJob(_flow.reduce(begin, end, acc, func)); +} + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp new file mode 100644 index 0000000000..7eb70de7af --- /dev/null +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp @@ -0,0 +1,33 @@ +#include "CoreStd.h" + +#include "TFJobSystem.h" +#include "TFJobGraph.h" + +namespace cc { + +TFJobSystem TFJobSystem::_instance; + +TFJobSystem::TFJobSystem(uint threadCount) noexcept +: _executor(threadCount) +{ + _nextHandle.Set(1 << 10); // start from non-zero +} + +uint TFJobSystem::run(TFJobGraph &g) noexcept { + uint nextHandle = _nextHandle.Increment(); + _futures[nextHandle] = _executor.run(g._flow); + return nextHandle; +} + +void TFJobSystem::wait(uint handle) noexcept { + if (_futures.count(handle) == 0) return; + _futures[handle].wait(); + _futures.erase(handle); +} + +void TFJobSystem::waitForAll() noexcept { + _executor.wait_for_all(); + _futures.clear(); +} + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h new file mode 100644 index 0000000000..d3da9828a0 --- /dev/null +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -0,0 +1,32 @@ +#pragma once + +#include "taskflow/taskflow.hpp" +#include "threading/ThreadSafeCounter.h" + +namespace cc { + +class TFJobGraph; + +class TFJobSystem final { +public: + + static TFJobSystem &getInstance() { return _instance; } + + TFJobSystem() noexcept : TFJobSystem(std::thread::hardware_concurrency() - 1) {} + TFJobSystem(uint threadCount) noexcept; + + uint run(TFJobGraph &g) noexcept; + void wait(uint handle) noexcept; + void waitForAll() noexcept; + + CC_INLINE uint threadCount() { return _executor.num_workers(); } + +private: + static TFJobSystem _instance; + + tf::Executor _executor; + map> _futures; + ThreadSafeCounter _nextHandle; +}; + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt new file mode 100644 index 0000000000..8ce84d9596 --- /dev/null +++ b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt @@ -0,0 +1,53 @@ +set(TARGET_NAME TBBJobSystem) + +message(STATUS "Target: ${TARGET_NAME}...") +# --------------------------------------------------------------------- +# set include files + +set(INCLUDE_FILES + ${GFX_EXTERNAL_PATH}/tbb + ${COCOS_SRC_PATH}/renderer/core +) + +include_directories( ${INCLUDE_FILES} ) + +# --------------------------------------------------------------------- + +file(GLOB_RECURSE HEADER_FILES *.h) +file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) +file(GLOB_RECURSE SOURCE_C_FILES *.c) + +if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) + file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) +endif() + +set(ALL_FILES + ${HEADER_FILES} + ${SOURCE_CPP_FILES} + ${SOURCE_C_FILES} +) + +if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) + set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) +endif() + +if(COCOS_UNICODE) + add_definitions("-DUNICODE -D_UNICODE") +endif() + +if (COCOS_STATIC) + add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) +else() + add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) +endif() + +target_link_libraries(${TARGET_NAME} Core) + +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCTBBJobSystem) +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCTBBJobSystem_d) + +message(STATUS "${TARGET_NAME} configuration completed.") + +target_compile_definitions(${TARGET_NAME} PUBLIC + $<$:CC_DEBUG=1> +) diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJob.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJob.cpp new file mode 100644 index 0000000000..c847a100d4 --- /dev/null +++ b/native/cocos/base/job-system/job-system-tbb/TBBJob.cpp @@ -0,0 +1,3 @@ +#include "CoreStd.h" + +#include "Job.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJob.h b/native/cocos/base/job-system/job-system-tbb/TBBJob.h new file mode 100644 index 0000000000..0f2e6f41a8 --- /dev/null +++ b/native/cocos/base/job-system/job-system-tbb/TBBJob.h @@ -0,0 +1,21 @@ +#pragma once + +namespace cc { + +class Job { +public: + + Job() noexcept {} + ~Job() = default; + Job(Job const&) = delete; + Job(Job&&) = delete; + Job& operator=(Job const&) = delete; + Job& operator=(Job&&) = delete; + + virtual void precede(Job *other) noexcept = 0; + +private: + +}; + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp new file mode 100644 index 0000000000..43c76a7986 --- /dev/null +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -0,0 +1,3 @@ +#include "CoreStd.h" + +#include "JobGraph.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h new file mode 100644 index 0000000000..5f6b0e9a15 --- /dev/null +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -0,0 +1,24 @@ +#pragma once + +namespace cc { + +class Job; + +class JobGraph { +public: + + JobGraph() noexcept {} + ~JobGraph() = default; + JobGraph(JobGraph const&) = delete; + JobGraph(JobGraph&&) = delete; + JobGraph& operator=(JobGraph const&) = delete; + JobGraph& operator=(JobGraph&&) = delete; + + template + virtual Job *createJob(Function&& func, Args&&... args) noexcept = 0; + +private: + +}; + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp new file mode 100644 index 0000000000..b98c762142 --- /dev/null +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp @@ -0,0 +1,3 @@ +#include "CoreStd.h" + +#include "JobSystem.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h new file mode 100644 index 0000000000..b5f8b62736 --- /dev/null +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -0,0 +1,21 @@ +#pragma once + +namespace cc { + +class JobSystem { +public: + + JobSystem() noexcept {} + ~JobSystem() = default; + JobSystem(JobSystem const&) = delete; + JobSystem(JobSystem&&) = delete; + JobSystem& operator=(JobSystem const&) = delete; + JobSystem& operator=(JobSystem&&) = delete; + + void run(JobGraph *g) = 0; + +private: + +}; + +} // namespace cc diff --git a/native/cocos/base/threading/CMakeLists.txt b/native/cocos/base/threading/CMakeLists.txt new file mode 100644 index 0000000000..671bcac721 --- /dev/null +++ b/native/cocos/base/threading/CMakeLists.txt @@ -0,0 +1,52 @@ +set(TARGET_NAME Threading) + +message(STATUS "Target: ${TARGET_NAME}...") +# --------------------------------------------------------------------- +# set include files + +set(INCLUDE_FILES + ${GFX_EXTERNAL_PATH}/concurrentqueue +) + +include_directories( ${INCLUDE_FILES} ) + +# --------------------------------------------------------------------- + +file(GLOB_RECURSE HEADER_FILES *.h) +file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) +file(GLOB_RECURSE SOURCE_C_FILES *.c) + +if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) + file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) +endif() + +set(ALL_FILES + ${HEADER_FILES} + ${SOURCE_CPP_FILES} + ${SOURCE_C_FILES} +) + +if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) + set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) +endif() + +if(COCOS_UNICODE) + add_definitions("-DUNICODE -D_UNICODE") +endif() + +if (COCOS_STATIC) + add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) +else() + add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) +endif() + +target_link_libraries(${TARGET_NAME} Core) + +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCThreading) +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCThreading_d) + +message(STATUS "${TARGET_NAME} configuration completed.") + +target_compile_definitions(${TARGET_NAME} PUBLIC + $<$:CC_DEBUG=1> +) diff --git a/native/cocos/renderer/core/thread/CommandEncoder.cpp b/native/cocos/base/threading/CommandEncoder.cpp similarity index 99% rename from native/cocos/renderer/core/thread/CommandEncoder.cpp rename to native/cocos/base/threading/CommandEncoder.cpp index 5cfaf09647..1b0b7168d5 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.cpp +++ b/native/cocos/base/threading/CommandEncoder.cpp @@ -2,7 +2,6 @@ #include namespace cc { -namespace gfx { namespace { @@ -314,5 +313,4 @@ char const* MemoryChunkSwitchCommand::GetName() const noexcept return "MemoryChunkSwitch"; } -} // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/thread/CommandEncoder.h b/native/cocos/base/threading/CommandEncoder.h similarity index 99% rename from native/cocos/renderer/core/thread/CommandEncoder.h rename to native/cocos/base/threading/CommandEncoder.h index 7ebb4d8117..9bfe7ff037 100644 --- a/native/cocos/renderer/core/thread/CommandEncoder.h +++ b/native/cocos/base/threading/CommandEncoder.h @@ -5,7 +5,6 @@ #include "Event.h" namespace cc { -namespace gfx { // 由于系统的内存分配是从一个全局堆里申请 分配过程会上锁导致降低并行度 在多线程的环境下如果频繁的申请释放内存会降低性能 // 所以这里先加个接口来统一调用 未来会换成单独服务于线程的无锁分配器 @@ -624,5 +623,4 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept }; \ WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8)) }; -} // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/thread/ConditionVariable.cpp b/native/cocos/base/threading/ConditionVariable.cpp similarity index 77% rename from native/cocos/renderer/core/thread/ConditionVariable.cpp rename to native/cocos/base/threading/ConditionVariable.cpp index aed7e0f168..2daf4d3bc8 100644 --- a/native/cocos/renderer/core/thread/ConditionVariable.cpp +++ b/native/cocos/base/threading/ConditionVariable.cpp @@ -1,7 +1,6 @@ #include "ConditionVariable.h" namespace cc { -namespace gfx { void ConditionVariable::Wait() noexcept { @@ -11,13 +10,14 @@ void ConditionVariable::Wait() noexcept void ConditionVariable::Signal() noexcept { + std::lock_guard lock(mMutex); mCV.notify_one(); } void ConditionVariable::SignalAll() noexcept { + std::lock_guard lock(mMutex); mCV.notify_all(); } -} // namespace gfx } // namespace cc diff --git a/native/cocos/base/threading/ConditionVariable.h b/native/cocos/base/threading/ConditionVariable.h new file mode 100644 index 0000000000..6a56074415 --- /dev/null +++ b/native/cocos/base/threading/ConditionVariable.h @@ -0,0 +1,35 @@ +#pragma once + +#include +#include +#include + +namespace cc { + +class ConditionVariable final +{ +public: + + void Wait() noexcept; + template + void Wait(Function func, Args&&... args) noexcept; + void Signal() noexcept; + void SignalAll() noexcept; + +private: + + std::mutex mMutex; + std::condition_variable mCV; +}; + +template +void ConditionVariable::Wait(Function func, Args&&... args) noexcept +{ + // ******** 注意 ******** + // func内不要操作任何同步对象!!! + // 如果不确定 就不要调用这个函数!!! + std::unique_lock lock(mMutex); + mCV.wait(lock, std::bind(std::forward(func), std::forward(args)...)); +} + +} // namespace cc diff --git a/native/cocos/renderer/core/thread/Event.h b/native/cocos/base/threading/Event.h similarity index 93% rename from native/cocos/renderer/core/thread/Event.h rename to native/cocos/base/threading/Event.h index a0914d67aa..210792201d 100644 --- a/native/cocos/renderer/core/thread/Event.h +++ b/native/cocos/base/threading/Event.h @@ -4,7 +4,6 @@ #include "Semaphore.h" namespace cc { -namespace gfx { template class Event final @@ -23,5 +22,4 @@ private: using EventCV = Event; using EventSem = Event; -} // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/thread/Semaphore.cpp b/native/cocos/base/threading/Semaphore.cpp similarity index 89% rename from native/cocos/renderer/core/thread/Semaphore.cpp rename to native/cocos/base/threading/Semaphore.cpp index c7ce93695f..69e236c71a 100644 --- a/native/cocos/renderer/core/thread/Semaphore.cpp +++ b/native/cocos/base/threading/Semaphore.cpp @@ -1,5 +1,7 @@ #include "Semaphore.h" +namespace cc { + Semaphore::Semaphore() noexcept : mSemaphore(0) { @@ -19,3 +21,5 @@ void Semaphore::Signal() noexcept { mSemaphore.signal(); } + +} // namespace cc diff --git a/native/cocos/renderer/core/thread/Semaphore.h b/native/cocos/base/threading/Semaphore.h similarity index 93% rename from native/cocos/renderer/core/thread/Semaphore.h rename to native/cocos/base/threading/Semaphore.h index dc980fb0a2..6d41299d9c 100644 --- a/native/cocos/renderer/core/thread/Semaphore.h +++ b/native/cocos/base/threading/Semaphore.h @@ -4,6 +4,8 @@ #include "concurrentqueue.h" #include "lightweightsemaphore.h" +namespace cc { + class Semaphore final { public: @@ -19,3 +21,5 @@ private: moodycamel::details::Semaphore mSemaphore; }; + +} // namespace cc diff --git a/native/cocos/renderer/core/thread/ThreadPool.cpp b/native/cocos/base/threading/ThreadPool.cpp similarity index 64% rename from native/cocos/renderer/core/thread/ThreadPool.cpp rename to native/cocos/base/threading/ThreadPool.cpp index dbae39bc85..35e87e578a 100644 --- a/native/cocos/renderer/core/thread/ThreadPool.cpp +++ b/native/cocos/base/threading/ThreadPool.cpp @@ -1,10 +1,9 @@ #include "ThreadPool.h" namespace cc { -namespace gfx { -uint32_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); -uint32_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; +uint8_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); +uint8_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; void ThreadPool::Start() noexcept { @@ -12,9 +11,9 @@ void ThreadPool::Start() noexcept { return; } - + mRunning = true; - + for (uint8_t i = 0; i < kMaxThreadCount; ++i) { AddThread(); @@ -27,10 +26,10 @@ void ThreadPool::Stop() noexcept { return; } - + mRunning = false; mEvent.SignalAll(); - + for (auto& worker : mWorkers) { if (worker.joinable()) @@ -38,7 +37,7 @@ void ThreadPool::Stop() noexcept worker.join(); } } - + mWorkers.clear(); } @@ -50,18 +49,24 @@ void ThreadPool::AddThread() noexcept { while (mRunning) { - if (! mTasks.consume_one([](Task const& task) + Task task = nullptr; + + if (mTasks.try_dequeue(task)) { task(); - })) + } + else { - mEvent.Wait(); + // Double Check + mEvent.Wait([this]() + { + return mTasks.size_approx() != 0; + }); } } }; - + mWorkers.emplace_back(workerLoop); } -} // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/thread/ThreadPool.h b/native/cocos/base/threading/ThreadPool.h similarity index 80% rename from native/cocos/renderer/core/thread/ThreadPool.h rename to native/cocos/base/threading/ThreadPool.h index f6edc56e78..4bd852a867 100644 --- a/native/cocos/renderer/core/thread/ThreadPool.h +++ b/native/cocos/base/threading/ThreadPool.h @@ -8,20 +8,20 @@ #include #include #include -#include "boost/lockfree/stack.hpp" +#include "concurrentqueue.h" #include "Event.h" namespace cc { -namespace gfx { class ThreadPool final { public: using Task = std::function; + using TaskQueue = moodycamel::ConcurrentQueue; - static uint32_t const kCpuCoreCount; - static uint32_t const kMaxThreadCount; + static uint8_t const kCpuCoreCount; + static uint8_t const kMaxThreadCount; ThreadPool() noexcept = default; ~ThreadPool() = default; @@ -37,15 +37,15 @@ public: private: - using Event = EventCV; + using Event = ConditionVariable; void AddThread() noexcept; - boost::lockfree::stack mTasks { 64 }; + TaskQueue mTasks {}; std::list mWorkers {}; Event mEvent {}; std::atomic mRunning { false }; - uint32_t mWorkerCount { kMaxThreadCount }; + uint8_t mWorkerCount { kMaxThreadCount }; }; template @@ -55,13 +55,13 @@ auto ThreadPool::DispatchTask(Function&& func, Args&&... args) noexcept -> std:: using ReturnType = decltype(func(std::forward(args)...)); auto task = std::make_shared>(std::bind(std::forward(func), std::forward(args)...)); - mTasks.push([task]() + bool const succeed = mTasks.enqueue([task]() { (*task)(); }); + assert(succeed); mEvent.Signal(); return task->get_future(); } -} // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/thread/ThreadSafeCounter.h b/native/cocos/base/threading/ThreadSafeCounter.h similarity index 84% rename from native/cocos/renderer/core/thread/ThreadSafeCounter.h rename to native/cocos/base/threading/ThreadSafeCounter.h index 05b8ae7b4b..aed7027765 100644 --- a/native/cocos/renderer/core/thread/ThreadSafeCounter.h +++ b/native/cocos/base/threading/ThreadSafeCounter.h @@ -4,7 +4,6 @@ #include namespace cc { -namespace gfx { template >> class ThreadSafeCounter final @@ -15,7 +14,7 @@ public: inline T Add(T const v) noexcept { return mCounter.fetch_add(v, std::memory_order_relaxed); } inline T Decrement() noexcept { return Subtract(1); } inline T Subtract(T const v) noexcept { return mCounter.fetch_sub(v, std::memory_order_relaxed); } - inline T Set(T const v) noexcept { return mCounter.store(v, std::memory_order_relaxed); } + inline void Set(T const v) noexcept { mCounter.store(v, std::memory_order_relaxed); } inline T Get() const noexcept { return mCounter.load(std::memory_order_relaxed); } inline T Reset() noexcept { Set(0); } @@ -24,5 +23,4 @@ private: std::atomic mCounter { 0 }; }; -} // namespace gfx } // namespace cc diff --git a/native/cocos/cocos2d.h b/native/cocos/cocos2d.h index 5b887a0a7d..3c7b5d8799 100644 --- a/native/cocos/cocos2d.h +++ b/native/cocos/cocos2d.h @@ -51,6 +51,7 @@ THE SOFTWARE. #include "base/Macros.h" #include "base/UTF8.h" #include "base/Utils.h" +#include "base/job-system/JobSystem.h" // math @@ -76,7 +77,6 @@ THE SOFTWARE. #include "platform/SAXParser.h" #include "platform/CanvasRenderingContext2D.h" - namespace cc { CC_DLL const char* cocos2dVersion(); @@ -84,4 +84,3 @@ CC_DLL const char* cocos2dVersion(); } #endif // __COCOS2D_H__ - diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index 8b0a0d549a..64268848bb 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -25,8 +25,9 @@ set(CC_BASE_SOURCES set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/nedmalloc ${GFX_EXTERNAL_PATH}/tommyds - ${GFX_EXTERNAL_PATH}/boost ${GFX_EXTERNAL_PATH}/concurrentqueue + ${GFX_EXTERNAL_PATH}/taskflow + ${COCOS_SRC_PATH}/base ${COCOS_SRC_PATH}/renderer/core ) diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 9002e24a77..dd44f4f77c 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -5,8 +5,8 @@ #include "base/CachedArray.h" #include "base/StringUtil.h" -#include "thread/ThreadPool.h" -#include "thread/CommandEncoder.h" +#include "threading/ThreadPool.h" +#include "threading/CommandEncoder.h" #include "gfx/GFXDevice.h" #include "gfx/GFXContext.h" @@ -38,3 +38,8 @@ #include "gfx-proxy/GFXDescriptorSetProxy.h" #include "gfx-proxy/GFXCommandBufferProxy.h" #include "gfx-proxy/GFXQueueProxy.h" + +#define CC_JOB_SYSTEM_TASKFLOW 1 +#define CC_JOB_SYSTEM_TBB 2 + +#define CC_JOB_SYSTEM CC_JOB_SYSTEM_TASKFLOW diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp index 2b8403e82f..41b6287238 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXDeviceProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 0ef7662a9c..46350862e7 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXCommandBufferProxy.h" #include "GFXDescriptorSetProxy.h" @@ -15,8 +15,13 @@ namespace cc { namespace gfx { +void CommandBufferProxy::initEncoder() { + _encoder = CC_NEW(CommandEncoder); + _encoder->SetImmediateMode(false); +} + bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { - _encoder = ((DeviceProxy *)_device)->getMainEncoder(); + initEncoder(); _type = info.type; _queue = info.queue; @@ -48,6 +53,8 @@ void CommandBufferProxy::destroy() { _remote = nullptr; } + + CC_SAFE_DELETE(_encoder); } void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { @@ -71,6 +78,8 @@ void CommandBufferProxy::end() { { remote->end(); }); + + _encoder->FinishWriting(); } void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index bf86a80d84..fc0b8a336d 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -36,10 +36,13 @@ public: virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } virtual uint getNumInstances() const override { return _remote->getNumInstances(); } virtual uint getNumTris() const override { return _remote->getNumTris(); } - - void setEncoder(CommandEncoder *encoder) { _encoder = encoder; } + + CC_INLINE CommandEncoder *getEncoder() { return _encoder; } private: + friend class DeviceProxy; + + void initEncoder(); CommandEncoder *_encoder = nullptr; }; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp index 7e1fd3f409..680337a8b5 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXDeviceProxy.h" #include "GFXDescriptorSetLayoutProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp index 424a7143e2..0d6e674f44 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXDescriptorSetLayoutProxy.h" #include "GFXDescriptorSetProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 2abde7323b..1c08477ae7 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXCommandBufferProxy.h" #include "GFXDescriptorSetLayoutProxy.h" @@ -45,6 +45,7 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { _deviceName = _remote->getDeviceName(); _queue = CC_NEW(QueueProxy(_remote->getQueue(), this)); _cmdBuff = CC_NEW(CommandBufferProxy(_remote->getCommandBuffer(), this)); + ((CommandBufferProxy *)_cmdBuff)->initEncoder(); _renderer = _remote->getRenderer(); _vendor = _remote->getVendor(); _maxVertexAttributes = _remote->getMaxVertexAttributes(); @@ -59,38 +60,17 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { _uboOffsetAlignment = _remote->getUboOffsetAlignment(); _depthBits = _remote->getDepthBits(); _stencilBits = _remote->getStencilBits(); - memcpy(_features, ((DeviceProxy *)getRemote())->_features, (uint)Feature::COUNT * sizeof(bool)); + memcpy(_features, _remote->_features, (uint)Feature::COUNT * sizeof(bool)); _mainEncoder = CC_NEW(CommandEncoder); _mainEncoder->RunConsumerThread(); - _contexts.resize(std::thread::hardware_concurrency() - 1); - - CommandBufferInfo cbInfo; - cbInfo.type = CommandBufferType::PRIMARY; - cbInfo.queue = _queue; - - for (auto &context : _contexts) { - context.encoder = CC_NEW(CommandEncoder); - context.encoder->RunConsumerThread(); - context.commandBuffer = createCommandBuffer(); - context.commandBuffer->initialize(cbInfo); - ((CommandBufferProxy *)context.commandBuffer)->setEncoder(context.encoder); - } - setMultithreaded(true); return true; } void DeviceProxy::destroy() { - for (auto &context : _contexts) { - context.encoder->TerminateConsumerThread(); - CC_SAFE_DELETE(context.encoder); - CC_SAFE_DESTROY(context.commandBuffer); - } - _contexts.clear(); - if (_remote) { ENCODE_COMMAND_2( getMainEncoder(), @@ -159,23 +139,23 @@ void DeviceProxy::setMultithreaded(bool multithreaded) { if (multithreaded) { _mainEncoder->SetImmediateMode(false); - ((DeviceProxy *) _remote)->bindRenderContext(false); + _remote->bindRenderContext(false); ENCODE_COMMAND_1( _mainEncoder, DeviceMakeCurrent, - remote, (DeviceProxy*)_remote, + remote, _remote, { remote->bindDeviceContext(true); }); } else { ENCODE_COMMAND_1( _mainEncoder, DeviceMakeCurrent, - remote, (DeviceProxy*)_remote, + remote, _remote, { remote->bindDeviceContext(false); }); _mainEncoder->FinishWriting(true); // wait till finished _mainEncoder->SetImmediateMode(true); - ((DeviceProxy *) _remote)->bindRenderContext(true); + _remote->bindRenderContext(true); } } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index 0fac494288..d4ec7e84a2 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -1,15 +1,17 @@ #pragma once #include "../gfx/GFXDevice.h" -#include "../thread/Semaphore.h" +#include "threading/Semaphore.h" #include "GFXProxy.h" #define MAX_CPU_FRAME_AHEAD 2 namespace cc { -namespace gfx { class CommandEncoder; + +namespace gfx { + class CommandBuffer; // one per CPU core @@ -57,13 +59,10 @@ public: virtual uint getNumTris() const override { return _remote->getNumTris(); } CommandEncoder *getMainEncoder() const { return _mainEncoder; } - vector &getSubmitContexts() { return _contexts; } - protected: bool _multithreaded{false}; CommandEncoder *_mainEncoder{nullptr}; - vector _contexts{}; Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; }; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp index a783bfaa37..47d3c9cf9e 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXDeviceProxy.h" #include "GFXFramebufferProxy.h" #include "GFXRenderPassProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp index 494495fdbe..3ce3a971a7 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXDeviceProxy.h" #include "GFXInputAssemblerProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp index c12894ba7f..1e04353d99 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXDescriptorSetLayoutProxy.h" #include "GFXDeviceProxy.h" #include "GFXPipelineLayoutProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp index 4660eb9f39..560d7daf2c 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXDeviceProxy.h" #include "GFXPipelineLayoutProxy.h" #include "GFXPipelineStateProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp index fb8f58fb4c..d23c5154e7 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp @@ -1,6 +1,7 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "job-system/JobSystem.h" +#include "threading/CommandEncoder.h" #include "GFXCommandBufferProxy.h" #include "GFXDeviceProxy.h" #include "GFXQueueProxy.h" @@ -45,15 +46,33 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); } - ENCODE_COMMAND_4( + bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); + + ENCODE_COMMAND_6( encoder, QueueSubmit, remote, getRemote(), - cmdBuffs, remoteCmdBuffs, + multiThreaded, multiThreaded, + cmdBuffs, cmdBuffs, + remoteCmdBuffs, remoteCmdBuffs, count, count, fence, fence, { - remote->submit(cmdBuffs, count, fence); + if (multiThreaded) { + JobGraph g; + Job j = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); + }); + JobSystem::getInstance().run(g); + ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); + JobSystem::getInstance().waitForAll(); + } else { + for (uint i = 0u; i < count; ++i) { + ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); + } + } + + remote->submit(remoteCmdBuffs, count, fence); }); } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp index 8da2b6ea6e..3755447d7a 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXDeviceProxy.h" #include "GFXRenderPassProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp index a0130e5289..f66ecdd7bb 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXDescriptorSetLayoutProxy.h" #include "GFXDeviceProxy.h" #include "GFXSamplerProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp index acd7e0567d..5a1f770ff4 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXDeviceProxy.h" #include "GFXShaderProxy.h" diff --git a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp index 88fb07180c..0f0f871b0d 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "../thread/CommandEncoder.h" +#include "threading/CommandEncoder.h" #include "GFXTextureProxy.h" #include "GFXDeviceProxy.h" diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 21f63ba441..e12a6758bb 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -110,6 +110,8 @@ public: CC_INLINE uint genShaderId() { return _shaderIdGen++; } protected: + friend class DeviceProxy; + virtual void bindRenderContext(bool bound) {} virtual void bindDeviceContext(bool bound) {} diff --git a/native/cocos/renderer/core/thread/ConditionVariable.h b/native/cocos/renderer/core/thread/ConditionVariable.h deleted file mode 100644 index a152a57df1..0000000000 --- a/native/cocos/renderer/core/thread/ConditionVariable.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -#include -#include -#include - -namespace cc { -namespace gfx { - -class ConditionVariable final -{ -public: - - void Wait() noexcept; - void Signal() noexcept; - void SignalAll() noexcept; - -private: - - std::mutex mMutex; - std::condition_variable mCV; -}; - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/thread/ReadWriteLock.cpp b/native/cocos/renderer/core/thread/ReadWriteLock.cpp deleted file mode 100644 index 917ef37354..0000000000 --- a/native/cocos/renderer/core/thread/ReadWriteLock.cpp +++ /dev/null @@ -1 +0,0 @@ -#include "ReadWriteLock.h" diff --git a/native/cocos/renderer/core/thread/ReadWriteLock.h b/native/cocos/renderer/core/thread/ReadWriteLock.h deleted file mode 100644 index a4a6974948..0000000000 --- a/native/cocos/renderer/core/thread/ReadWriteLock.h +++ /dev/null @@ -1,38 +0,0 @@ -#pragma once - -#include - -namespace cc { -namespace gfx { - -class ReadWriteLock final -{ -public: - - template - auto LockRead(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)); - - template - auto LockWrite(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)); - -private: - - boost::shared_mutex mMutex; -}; - -template -auto ReadWriteLock::LockRead(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)) -{ - boost::shared_lock lock(mMutex); - return func(std::forward(args)...); -} - -template -auto ReadWriteLock::LockWrite(Function&& func, Args&&... args) noexcept -> decltype(func(std::forward(args)...)) -{ - boost::lock_guard lock(mMutex); - return func(std::forward(args)...); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index a78143340b..125c6ef53e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -282,7 +282,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { uint height = _device->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); - _eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Recreate window surface failed."); return; @@ -353,7 +353,7 @@ void GLES2Context::destroy() { _eglContext = EGL_NO_CONTEXT; } - if (_isPrimaryContex && _eglSurface != EGL_NO_SURFACE) { + if (_eglSurface != EGL_NO_SURFACE) { EGL_CHECK(eglDestroySurface(_eglDisplay, _eglSurface)); _eglSurface = EGL_NO_SURFACE; } @@ -374,11 +374,13 @@ void GLES2Context::destroy() { } bool GLES2Context::MakeCurrentImpl(bool bound) { - return eglMakeCurrent(_eglDisplay, + bool succeeded; + EGL_CHECK(succeeded = eglMakeCurrent(_eglDisplay, bound ? _eglSurface : EGL_NO_SURFACE, bound ? _eglSurface : EGL_NO_SURFACE, bound ? _eglContext : EGL_NO_CONTEXT - ); + )); + return succeeded; } void GLES2Context::present() { @@ -415,9 +417,9 @@ bool GLES2Context::MakeCurrent(bool bound) { #endif #if CC_DEBUG > 0 && CC_PLATFORM != CC_PLATFORM_MAC_IOS - glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR); - glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE); - glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL); + GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); + GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); + GL_CHECK(glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL)); #endif _isInitialized = true; @@ -425,44 +427,44 @@ bool GLES2Context::MakeCurrent(bool bound) { ////////////////////////////////////////////////////////////////////////// - glPixelStorei(GL_PACK_ALIGNMENT, 1); - glPixelStorei(GL_UNPACK_ALIGNMENT, 1); - glActiveTexture(GL_TEXTURE0); + GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); + GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); + GL_CHECK(glActiveTexture(GL_TEXTURE0)); ////////////////////////////////////////////////////////////////////////// - glEnable(GL_SCISSOR_TEST); - glEnable(GL_CULL_FACE); - glCullFace(GL_BACK); + GL_CHECK(glEnable(GL_SCISSOR_TEST)); + GL_CHECK(glEnable(GL_CULL_FACE)); + GL_CHECK(glCullFace(GL_BACK)); - glFrontFace(GL_CCW); + GL_CHECK(glFrontFace(GL_CCW)); - //glDisable(GL_MULTISAMPLE); + //GL_CHECK(glDisable(GL_MULTISAMPLE)); ////////////////////////////////////////////////////////////////////////// // DepthStencilState - glEnable(GL_DEPTH_TEST); - glDepthMask(GL_TRUE); - glDepthFunc(GL_LESS); + GL_CHECK(glEnable(GL_DEPTH_TEST)); + GL_CHECK(glDepthMask(GL_TRUE)); + GL_CHECK(glDepthFunc(GL_LESS)); - glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff); - glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP); - glStencilMaskSeparate(GL_FRONT, 0xffffffff); - glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff); - glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP); - glStencilMaskSeparate(GL_BACK, 0xffffffff); + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); - glDisable(GL_STENCIL_TEST); + GL_CHECK(glDisable(GL_STENCIL_TEST)); ////////////////////////////////////////////////////////////////////////// // BlendState - glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE); - glDisable(GL_BLEND); - glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD); - glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO); - glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); - glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f); + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + GL_CHECK(glDisable(GL_BLEND)); + GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); + GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); + GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); + GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Std.h b/native/cocos/renderer/gfx-gles2/GLES2Std.h index 3d890076a8..281dbb49dd 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Std.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Std.h @@ -46,11 +46,20 @@ THE SOFTWARE. #define GL_CHECK(x) \ do { \ x; GLenum err = glGetError(); \ - if (err) { \ + if (err != GL_NO_ERROR) { \ CC_LOG_ERROR("%s returned GL error: 0x%x", #x, err); \ CCASSERT(0, "GL error"); \ } \ } while (0) +#define EGL_CHECK(x) \ + do { \ + x; EGLint err = eglGetError(); \ + if (err != EGL_SUCCESS) { \ + CC_LOG_ERROR("%s returned EGL error: 0x%x", #x, err); \ + CCASSERT(0, "EGL error"); \ + } \ + } while (0) #else #define GL_CHECK(x) x +#define EGL_CHECK(x) x #endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 570817a23a..f52ecaa86b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -284,7 +284,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { uint height = _device->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); - _eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Recreate window surface failed."); return; @@ -353,7 +353,7 @@ void GLES3Context::destroy() { _eglContext = EGL_NO_CONTEXT; } - if (_isPrimaryContex && _eglSurface != EGL_NO_SURFACE) { + if (_eglSurface != EGL_NO_SURFACE) { EGL_CHECK(eglDestroySurface(_eglDisplay, _eglSurface)); _eglSurface = EGL_NO_SURFACE; } @@ -374,11 +374,13 @@ void GLES3Context::destroy() { } bool GLES3Context::MakeCurrentImpl(bool bound) { - return eglMakeCurrent(_eglDisplay, + bool succeeded; + EGL_CHECK(succeeded = eglMakeCurrent(_eglDisplay, bound ? _eglSurface : EGL_NO_SURFACE, bound ? _eglSurface : EGL_NO_SURFACE, bound ? _eglContext : EGL_NO_CONTEXT - ); + )); + return succeeded; } void GLES3Context::present() { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Std.h b/native/cocos/renderer/gfx-gles3/GLES3Std.h index 88406765ff..164e603f55 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Std.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Std.h @@ -20,11 +20,20 @@ #define GL_CHECK(x) \ do { \ x; GLenum err = glGetError(); \ - if (err) { \ + if (err != GL_NO_ERROR) { \ CC_LOG_ERROR("%s returned GL error: 0x%x", #x, err); \ CCASSERT(0, "GL error"); \ } \ } while (0) +#define EGL_CHECK(x) \ + do { \ + x; EGLint err = eglGetError(); \ + if (err != EGL_SUCCESS) { \ + CC_LOG_ERROR("%s returned EGL error: 0x%x", #x, err); \ + CCASSERT(0, "EGL error"); \ + } \ + } while (0) #else #define GL_CHECK(x) x +#define EGL_CHECK(x) x #endif diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index f203266f77..8c84592e6a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -185,11 +185,7 @@ void CCVKBuffer::update(void *buffer, uint size) { if (_buffer) { memcpy(_buffer, buffer, size); } - // This assumes the default command buffer will get submitted every frame, - // which is true for now but may change in the future. This appoach gives us - // the wiggle room to leverage immediate update vs. copy-upload strategies without - // breaking compatabilities. When we reached some conclusion on this subject, - // getting rid of this interface all together might become a better option. + CommandBuffer *cmdBuff = _device->getCommandBuffer(); cmdBuff->begin(); const CCVKGPUCommandBuffer *gpuCommandBuffer = ((CCVKCommandBuffer *)cmdBuff)->gpuCommandBuffer(); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index e24e6488fb..321c3324c4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -673,18 +673,17 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const sizeToUpload = size; } - // back buffer instances update command - if (gpuBuffer->instanceSize) { - device->gpuBufferHub()->record(gpuBuffer, dataToUpload, sizeToUpload); - return; - } +// if (!cmdBuffer && gpuBuffer->mappedData) { +// device->gpuTransportHub()->checkIn(gpuBuffer->mappedData + offset, dataToUpload, sizeToUpload); +// return; +// } CCVKGPUBuffer stagingBuffer; stagingBuffer.size = sizeToUpload; device->gpuStagingBufferPool()->alloc(&stagingBuffer); memcpy(stagingBuffer.mappedData, dataToUpload, sizeToUpload); - VkBufferCopy region{stagingBuffer.startOffset, gpuBuffer->startOffset, sizeToUpload}; + VkBufferCopy region{stagingBuffer.startOffset, gpuBuffer->startOffset + offset, sizeToUpload}; auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *cmdBuffer) { vkCmdCopyBuffer(cmdBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuBuffer->vkBuffer, 1, ®ion); @@ -699,7 +698,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const barrier.size = region.size; vkCmdPipelineBarrier(cmdBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, gpuBuffer->targetStage, 0, 0, nullptr, 1, &barrier, 0, nullptr); }; - + if (cmdBuffer) { upload(cmdBuffer); } else { diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 934f3d1c01..9d996a4db0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -298,9 +298,9 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _gpuStagingBufferPools.push_back(CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice))); _gpuTransportHubs[i]->link(((CCVKQueue *)_queue)->gpuQueue(), - _gpuFencePools[i], - _gpuCommandBufferPools[i], - _gpuStagingBufferPools[i]); + _gpuFencePools[i], + _gpuCommandBufferPools[i], + _gpuStagingBufferPools[i]); } _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); @@ -399,7 +399,7 @@ void CCVKDevice::destroy() { CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); - uint backBufferCount = ((CCVKContext*)_context)->gpuContext()->swapchainCreateInfo.minImageCount; + uint backBufferCount = ((CCVKContext *)_context)->gpuContext()->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { _gpuRecycleBins[i]->clear(); @@ -500,7 +500,7 @@ void CCVKDevice::acquire() { } // reset everything only when no pending commands - if (!((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { + if (gpuTransportHub()->empty()) { gpuFencePool()->reset(); gpuRecycleBin()->clear(); gpuDescriptorSetPool()->reset(); From df14320156129d4ed8617d99a84fad1d04679a54 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 14 Dec 2020 18:20:59 +0800 Subject: [PATCH 043/270] vk: pre-allocated descriptor sets --- native/cocos/base/CMakeLists.txt | 13 + native/cocos/base/job-system/CMakeLists.txt | 1 + native/cocos/base/job-system/JobSystem.h | 4 - .../job-system-taskflow/CMakeLists.txt | 5 +- .../job-system/job-system-taskflow/TFJob.cpp | 21 -- .../job-system/job-system-taskflow/TFJob.h | 24 -- .../job-system-taskflow/TFJobGraph.cpp | 4 + .../job-system-taskflow/TFJobGraph.h | 32 +- .../job-system-taskflow/TFJobSystem.cpp | 21 +- .../job-system-taskflow/TFJobSystem.h | 8 +- .../job-system/job-system-tbb/CMakeLists.txt | 4 +- .../base/job-system/job-system-tbb/TBBJob.cpp | 3 - .../base/job-system/job-system-tbb/TBBJob.h | 21 -- .../job-system/job-system-tbb/TBBJobGraph.cpp | 2 +- .../job-system/job-system-tbb/TBBJobGraph.h | 3 - .../job-system-tbb/TBBJobSystem.cpp | 2 +- .../job-system/job-system-tbb/TBBJobSystem.h | 2 - native/cocos/base/threading/CMakeLists.txt | 2 +- native/cocos/base/threading/CommandEncoder.h | 2 +- .../cocos/base/threading/ThreadSafeCounter.h | 2 +- native/cocos/renderer/core/CMakeLists.txt | 2 +- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 7 +- .../core/gfx-proxy/GFXCommandBufferProxy.h | 1 + .../core/gfx-proxy/GFXDescriptorSetProxy.cpp | 7 +- .../core/gfx-proxy/GFXDeviceProxy.cpp | 32 +- .../renderer/core/gfx-proxy/GFXQueueProxy.cpp | 4 +- native/cocos/renderer/core/gfx/GFXDef.h | 3 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 2 +- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 2 +- .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 2 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 3 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 2 +- .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 2 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 3 +- .../renderer/gfx-metal/MTLDescriptorSet.mm | 2 +- .../cocos/renderer/gfx-vulkan/CMakeLists.txt | 3 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 62 ++-- .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 49 +--- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 4 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 108 +++---- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 29 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 19 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 273 ++++++++++++------ native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 2 +- 45 files changed, 388 insertions(+), 413 deletions(-) create mode 100644 native/cocos/base/CMakeLists.txt delete mode 100644 native/cocos/base/job-system/job-system-taskflow/TFJob.cpp delete mode 100644 native/cocos/base/job-system/job-system-taskflow/TFJob.h delete mode 100644 native/cocos/base/job-system/job-system-tbb/TBBJob.cpp delete mode 100644 native/cocos/base/job-system/job-system-tbb/TBBJob.h diff --git a/native/cocos/base/CMakeLists.txt b/native/cocos/base/CMakeLists.txt new file mode 100644 index 0000000000..e57d5821df --- /dev/null +++ b/native/cocos/base/CMakeLists.txt @@ -0,0 +1,13 @@ + +if (${COCOS_STATIC}) + set(TBB_BUILD_STATIC ON) + set(TBB_BUILD_SHARED OFF) +else() + set(TBB_BUILD_STATIC OFF) + set(TBB_BUILD_SHARED ON) +endif() +set(TBB_BUILD_TESTS OFF) +add_subdirectory(${GFX_EXTERNAL_PATH}/tbb ${CMAKE_BINARY_DIR}/tbb) + +add_subdirectory(job-system) +add_subdirectory(threading) diff --git a/native/cocos/base/job-system/CMakeLists.txt b/native/cocos/base/job-system/CMakeLists.txt index c3bb0d7c47..095a261c55 100644 --- a/native/cocos/base/job-system/CMakeLists.txt +++ b/native/cocos/base/job-system/CMakeLists.txt @@ -1,2 +1,3 @@ + add_subdirectory(job-system-taskflow) add_subdirectory(job-system-tbb) diff --git a/native/cocos/base/job-system/JobSystem.h b/native/cocos/base/job-system/JobSystem.h index 6a7ceb6ab7..add8d05a43 100644 --- a/native/cocos/base/job-system/JobSystem.h +++ b/native/cocos/base/job-system/JobSystem.h @@ -1,19 +1,15 @@ #if CC_JOB_SYSTEM == CC_JOB_SYSTEM_TASKFLOW -#include "job-system-taskflow/TFJob.h" #include "job-system-taskflow/TFJobGraph.h" #include "job-system-taskflow/TFJobSystem.h" namespace cc { -using Job = TFJob; using JobGraph = TFJobGraph; using JobSystem = TFJobSystem; } // namespace cc #elif CC_JOB_SYSTEM == CC_JOB_SYSTEM_TBB -#include "job-system-tbb/TBBJob.h" #include "job-system-tbb/TBBJobGraph.h" #include "job-system-tbb/TBBJobSystem.h" namespace cc { -using Job = TBBJob; using JobGraph = TBBJobGraph; using JobSystem = TBBJobSystem; } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt index 52202af71c..143f855c96 100644 --- a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt +++ b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt @@ -6,6 +6,9 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/taskflow + ${GFX_EXTERNAL_PATH}/concurrentqueue + ${COCOS_SRC_PATH} + ${COCOS_SRC_PATH}/base ${COCOS_SRC_PATH}/renderer/core ) @@ -41,7 +44,7 @@ else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) endif() -target_link_libraries(${TARGET_NAME} Core) +target_link_libraries(${TARGET_NAME}) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCTFJobSystem) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCTFJobSystem_d) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJob.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJob.cpp deleted file mode 100644 index 621e32e526..0000000000 --- a/native/cocos/base/job-system/job-system-taskflow/TFJob.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "CoreStd.h" - -#include "TFJob.h" - -namespace cc { - -TFJob::TFJob(tf::Task &&task) noexcept -: _task(task) -{ - -} - -void TFJob::precede(TFJob &other) noexcept { - _task.precede(other._task); -} - -void TFJob::succeed(TFJob &other) noexcept { - _task.succeed(other._task); -} - -} // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJob.h b/native/cocos/base/job-system/job-system-taskflow/TFJob.h deleted file mode 100644 index 94012ef0ad..0000000000 --- a/native/cocos/base/job-system/job-system-taskflow/TFJob.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include "taskflow/taskflow.hpp" - -class TFJobGraph; - -namespace cc { - -class TFJob final { -public: - - void precede(TFJob &other) noexcept; - void succeed(TFJob &other) noexcept; - -private: - - TFJob(tf::Task &&task) noexcept; - - friend class TFJobGraph; - - tf::Task _task; -}; - -} // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp index def056bd3c..4a897a3168 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -4,4 +4,8 @@ namespace cc { +void TFJobGraph::makeEdge(uint j1, uint j2) noexcept { + _tasks[j1].precede(_tasks[j2]); +} + } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index d7f7d906e3..6924bf9f7e 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -1,7 +1,6 @@ #pragma once #include "taskflow/taskflow.hpp" -#include "TFJob.h" namespace cc { @@ -9,34 +8,45 @@ class TFJobGraph final { public: template - TFJob createJob(Function &&func) noexcept; + uint createJob(Function &&func) noexcept; template - TFJob createForEachIndexJob(B &&begin, E &&end, S &&step, Function &&func) noexcept; - + uint createForEachIndexJob(B &&begin, E &&end, S &&step, Function &&func) noexcept; + template - TFJob createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept; + uint createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept; + + void makeEdge(uint j1, uint j2) noexcept; + + void waitForAll() { if (_pending) { _future.wait(); _pending = false; } } private: friend class TFJobSystem; tf::Taskflow _flow; + vector _tasks; + + std::future _future; + bool _pending = false; }; template -TFJob TFJobGraph::createJob(Function &&func) noexcept { - return TFJob(_flow.emplace(func)); +uint TFJobGraph::createJob(Function &&func) noexcept { + _tasks.emplace_back(_flow.emplace(func)); + return _tasks.size(); } template -TFJob TFJobGraph::createForEachIndexJob(B &&begin, E &&end, S &&step, Function &&func) noexcept { - return TFJob(_flow.for_each_index(begin, end, step, func)); +uint TFJobGraph::createForEachIndexJob(B &&begin, E &&end, S &&step, Function &&func) noexcept { + _tasks.emplace_back(_flow.for_each_index(begin, end, step, func)); + return _tasks.size(); } template -TFJob TFJobGraph::createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept { - return TFJob(_flow.reduce(begin, end, acc, func)); +uint TFJobGraph::createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept { + _tasks.emplace_back(_flow.reduce(begin, end, acc, func)); + return _tasks.size(); } } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp index 7eb70de7af..a174c882ca 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp @@ -10,24 +10,13 @@ TFJobSystem TFJobSystem::_instance; TFJobSystem::TFJobSystem(uint threadCount) noexcept : _executor(threadCount) { - _nextHandle.Set(1 << 10); // start from non-zero + CC_LOG_INFO("Job system initialized: %d worker threads", threadCount); } -uint TFJobSystem::run(TFJobGraph &g) noexcept { - uint nextHandle = _nextHandle.Increment(); - _futures[nextHandle] = _executor.run(g._flow); - return nextHandle; -} - -void TFJobSystem::wait(uint handle) noexcept { - if (_futures.count(handle) == 0) return; - _futures[handle].wait(); - _futures.erase(handle); -} - -void TFJobSystem::waitForAll() noexcept { - _executor.wait_for_all(); - _futures.clear(); +void TFJobSystem::run(TFJobGraph &g) noexcept { + if (g._pending) return; + g._future = _executor.run(g._flow); + g._pending = true; } } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index d3da9828a0..901ff90657 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -1,7 +1,6 @@ #pragma once #include "taskflow/taskflow.hpp" -#include "threading/ThreadSafeCounter.h" namespace cc { @@ -15,9 +14,8 @@ public: TFJobSystem() noexcept : TFJobSystem(std::thread::hardware_concurrency() - 1) {} TFJobSystem(uint threadCount) noexcept; - uint run(TFJobGraph &g) noexcept; - void wait(uint handle) noexcept; - void waitForAll() noexcept; + void run(TFJobGraph &g) noexcept; + void waitForLastRun() noexcept; CC_INLINE uint threadCount() { return _executor.num_workers(); } @@ -25,8 +23,6 @@ private: static TFJobSystem _instance; tf::Executor _executor; - map> _futures; - ThreadSafeCounter _nextHandle; }; } // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt index 8ce84d9596..45bbfbffe6 100644 --- a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt +++ b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt @@ -6,6 +6,8 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/tbb + ${COCOS_SRC_PATH} + ${COCOS_SRC_PATH}/base ${COCOS_SRC_PATH}/renderer/core ) @@ -41,7 +43,7 @@ else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) endif() -target_link_libraries(${TARGET_NAME} Core) +target_link_libraries(${TARGET_NAME}) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCTBBJobSystem) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCTBBJobSystem_d) diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJob.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJob.cpp deleted file mode 100644 index c847a100d4..0000000000 --- a/native/cocos/base/job-system/job-system-tbb/TBBJob.cpp +++ /dev/null @@ -1,3 +0,0 @@ -#include "CoreStd.h" - -#include "Job.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJob.h b/native/cocos/base/job-system/job-system-tbb/TBBJob.h deleted file mode 100644 index 0f2e6f41a8..0000000000 --- a/native/cocos/base/job-system/job-system-tbb/TBBJob.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -namespace cc { - -class Job { -public: - - Job() noexcept {} - ~Job() = default; - Job(Job const&) = delete; - Job(Job&&) = delete; - Job& operator=(Job const&) = delete; - Job& operator=(Job&&) = delete; - - virtual void precede(Job *other) noexcept = 0; - -private: - -}; - -} // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp index 43c76a7986..4ad15dacaf 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -1,3 +1,3 @@ #include "CoreStd.h" -#include "JobGraph.h" +#include "TBBJobGraph.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index 5f6b0e9a15..e87c6f5885 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -14,9 +14,6 @@ public: JobGraph& operator=(JobGraph const&) = delete; JobGraph& operator=(JobGraph&&) = delete; - template - virtual Job *createJob(Function&& func, Args&&... args) noexcept = 0; - private: }; diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp index b98c762142..3b00edc045 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp @@ -1,3 +1,3 @@ #include "CoreStd.h" -#include "JobSystem.h" +#include "TBBJobSystem.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h index b5f8b62736..a47b8962a8 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -12,8 +12,6 @@ public: JobSystem& operator=(JobSystem const&) = delete; JobSystem& operator=(JobSystem&&) = delete; - void run(JobGraph *g) = 0; - private: }; diff --git a/native/cocos/base/threading/CMakeLists.txt b/native/cocos/base/threading/CMakeLists.txt index 671bcac721..74e5eedb9b 100644 --- a/native/cocos/base/threading/CMakeLists.txt +++ b/native/cocos/base/threading/CMakeLists.txt @@ -40,7 +40,7 @@ else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) endif() -target_link_libraries(${TARGET_NAME} Core) +target_link_libraries(${TARGET_NAME}) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCThreading) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCThreading_d) diff --git a/native/cocos/base/threading/CommandEncoder.h b/native/cocos/base/threading/CommandEncoder.h index 9bfe7ff037..156cb2a388 100644 --- a/native/cocos/base/threading/CommandEncoder.h +++ b/native/cocos/base/threading/CommandEncoder.h @@ -484,7 +484,7 @@ T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept , Param6(In##Param6) \ { \ } \ - virtual void Execute() noexcept \ + virtual void Execute() noexcept override \ { \ Code; \ } \ diff --git a/native/cocos/base/threading/ThreadSafeCounter.h b/native/cocos/base/threading/ThreadSafeCounter.h index aed7027765..b2e7efd770 100644 --- a/native/cocos/base/threading/ThreadSafeCounter.h +++ b/native/cocos/base/threading/ThreadSafeCounter.h @@ -16,7 +16,7 @@ public: inline T Subtract(T const v) noexcept { return mCounter.fetch_sub(v, std::memory_order_relaxed); } inline void Set(T const v) noexcept { mCounter.store(v, std::memory_order_relaxed); } inline T Get() const noexcept { return mCounter.load(std::memory_order_relaxed); } - inline T Reset() noexcept { Set(0); } + inline void Reset() noexcept { Set(0); } private: diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index 64268848bb..c465481e71 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -139,7 +139,7 @@ if (COCOS_PLATFORM_WIN32) else() target_link_libraries(${TARGET_NAME} ${COCOS_EXTERNAL_TARGETS}) endif() -target_link_libraries(${TARGET_NAME} TBBJobSystem TFJobSystem Threading) +target_link_libraries(${TARGET_NAME} TFJobSystem Threading) if(MSVC) set_property(TARGET ${TARGET_NAME} PROPERTY LINK_FLAGS "/SUBSYSTEM:WINDOWS") diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 46350862e7..3af4d9d775 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -20,6 +20,10 @@ void CommandBufferProxy::initEncoder() { _encoder->SetImmediateMode(false); } +void CommandBufferProxy::destroyEncoder() { + CC_SAFE_DELETE(_encoder); +} + bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { initEncoder(); @@ -53,8 +57,7 @@ void CommandBufferProxy::destroy() { _remote = nullptr; } - - CC_SAFE_DELETE(_encoder); + destroyEncoder(); } void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index fc0b8a336d..5f0caf9d5f 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -43,6 +43,7 @@ private: friend class DeviceProxy; void initEncoder(); + void destroyEncoder(); CommandEncoder *_encoder = nullptr; }; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp index 0d6e674f44..519d0ec21b 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp @@ -2,9 +2,9 @@ #include "threading/CommandEncoder.h" #include "GFXBufferProxy.h" -#include "GFXDescriptorSetLayoutProxy.h" #include "GFXDescriptorSetProxy.h" #include "GFXDeviceProxy.h" +#include "GFXPipelineLayoutProxy.h" #include "GFXSamplerProxy.h" #include "GFXTextureProxy.h" @@ -12,14 +12,15 @@ namespace cc { namespace gfx { bool DescriptorSetProxy::initialize(const DescriptorSetInfo &info) { - _layout = info.layout; + _layout = info.layout->getSetLayouts()[info.setIndex]; uint descriptorCount = _layout->getDescriptorCount(); _buffers.resize(descriptorCount); _textures.resize(descriptorCount); _samplers.resize(descriptorCount); DescriptorSetInfo remoteInfo; - remoteInfo.layout = ((DescriptorSetLayoutProxy *)info.layout)->getRemote(); + remoteInfo.layout = ((PipelineLayoutProxy *)info.layout)->getRemote(); + remoteInfo.setIndex = info.setIndex; ENCODE_COMMAND_2( ((DeviceProxy *)_device)->getMainEncoder(), diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index 1c08477ae7..dfcab71d2a 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -38,7 +38,9 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { _bindingMappingInfo.samplerOffsets.push_back(0); } - _remote->initialize(info); + if (!_remote->initialize(info)) { + return false; + } _context = _remote->getContext(); _API = _remote->getGfxAPI(); @@ -72,21 +74,21 @@ bool DeviceProxy::initialize(const DeviceInfo &info) { void DeviceProxy::destroy() { if (_remote) { - ENCODE_COMMAND_2( + ENCODE_COMMAND_1( getMainEncoder(), DeviceDestroy, - device, this, remote, getRemote(), { CC_DESTROY(remote); - CC_SAFE_DELETE(device->_queue); - CC_SAFE_DELETE(device->_cmdBuff); }); _remote = nullptr; } _mainEncoder->TerminateConsumerThread(); + ((CommandBufferProxy *)_cmdBuff)->destroyEncoder(); + CC_SAFE_DELETE(_cmdBuff); + CC_SAFE_DELETE(_queue); CC_SAFE_DELETE(_mainEncoder); } @@ -141,18 +143,18 @@ void DeviceProxy::setMultithreaded(bool multithreaded) { _mainEncoder->SetImmediateMode(false); _remote->bindRenderContext(false); ENCODE_COMMAND_1( - _mainEncoder, DeviceMakeCurrent, - remote, _remote, - { - remote->bindDeviceContext(true); - }); + _mainEncoder, DeviceMakeCurrent, + remote, _remote, + { + remote->bindDeviceContext(true); + }); } else { ENCODE_COMMAND_1( - _mainEncoder, DeviceMakeCurrent, - remote, _remote, - { - remote->bindDeviceContext(false); - }); + _mainEncoder, DeviceMakeCurrent, + remote, _remote, + { + remote->bindDeviceContext(false); + }); _mainEncoder->FinishWriting(true); // wait till finished _mainEncoder->SetImmediateMode(true); _remote->bindRenderContext(true); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp index d23c5154e7..3e6e54647e 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp @@ -60,12 +60,12 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence { if (multiThreaded) { JobGraph g; - Job j = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + g.createForEachIndexJob(1u, count, 1u, [this](uint i) { ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); }); JobSystem::getInstance().run(g); ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); - JobSystem::getInstance().waitForAll(); + g.waitForAll(); } else { for (uint i = 0u; i < count; ++i) { ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index aec6599f52..73fd17202a 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -949,7 +949,8 @@ struct DescriptorSetLayoutInfo { }; struct DescriptorSetInfo { - DescriptorSetLayout *layout = nullptr; + PipelineLayout *layout = nullptr; + uint setIndex = 0u; }; typedef cc::vector DescriptorSetLayoutList; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index b668a55384..b5b3008c55 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -2019,7 +2019,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { gfxStateCache.gpuInputAssembler = gpuInputAssembler; if (device->useVAO()) { - GLuint hash = gpuPipelineState->gpuShader->glProgram ^device->getThreadID(); + GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); GLuint glVAO = gpuInputAssembler->glVAOs[hash]; if (!glVAO) { GL_CHECK(glGenVertexArraysOES(1, &glVAO)); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 125c6ef53e..c8cb245380 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -353,7 +353,7 @@ void GLES2Context::destroy() { _eglContext = EGL_NO_CONTEXT; } - if (_eglSurface != EGL_NO_SURFACE) { + if (_isPrimaryContex && _eglSurface != EGL_NO_SURFACE) { EGL_CHECK(eglDestroySurface(_eglDisplay, _eglSurface)); _eglSurface = EGL_NO_SURFACE; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index 3248d038e9..3fdf94d4d9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -42,7 +42,7 @@ GLES2DescriptorSet::~GLES2DescriptorSet() { bool GLES2DescriptorSet::initialize(const DescriptorSetInfo &info) { - _layout = info.layout; + _layout = info.layout->getSetLayouts()[info.setIndex]; const GLES2GPUDescriptorSetLayout *gpuDescriptorSetLayout = ((GLES2DescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 029bd7115c..04f3ea8fd5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -221,8 +221,7 @@ void GLES2Device::bindRenderContext(bool bound) { _context = bound ? _renderContext : nullptr; if (bound) { - std::hash hasher; - _threadID = hasher(std::this_thread::get_id()); + _threadID = std::hash()(std::this_thread::get_id()); _gpuStateCache->reset(); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index f52ecaa86b..e2688ac90c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -353,7 +353,7 @@ void GLES3Context::destroy() { _eglContext = EGL_NO_CONTEXT; } - if (_eglSurface != EGL_NO_SURFACE) { + if (_isPrimaryContex && _eglSurface != EGL_NO_SURFACE) { EGL_CHECK(eglDestroySurface(_eglDisplay, _eglSurface)); _eglSurface = EGL_NO_SURFACE; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index 0485ad36c4..b1e4dc49de 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -42,7 +42,7 @@ GLES3DescriptorSet::~GLES3DescriptorSet() { bool GLES3DescriptorSet::initialize(const DescriptorSetInfo &info) { - _layout = info.layout; + _layout = info.layout->getSetLayouts()[info.setIndex]; const GLES3GPUDescriptorSetLayout *gpuDescriptorSetLayout = ((GLES3DescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index d7938ac6ec..9e87133c16 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -213,8 +213,7 @@ void GLES3Device::bindRenderContext(bool bound) { _context = bound ? _renderContext : nullptr; if (bound) { - std::hash hasher; - _threadID = hasher(std::this_thread::get_id()); + _threadID = std::hash()(std::this_thread::get_id()); _gpuStateCache->reset(); } } diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index cec98d58e2..af738362d7 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -36,7 +36,7 @@ CCMTLDescriptorSet::CCMTLDescriptorSet(Device *device) : DescriptorSet(device) { } bool CCMTLDescriptorSet::initialize(const DescriptorSetInfo &info) { - _layout = info.layout; + _layout = info.layout->getSetLayouts()[info.setIndex]; const auto gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const auto descriptorCount = gpuDescriptorSetLayout->descriptorCount; diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt index 469ab2c3a5..2cd72ff087 100644 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt @@ -7,6 +7,7 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/khronos ${GFX_EXTERNAL_PATH}/boost + ${GFX_EXTERNAL_PATH}/tbb/include ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_EXTERNAL_PATH}/win32/include/glslang ${COCOS_SRC_PATH}/renderer/core @@ -68,7 +69,7 @@ else() set(TBB_LIBRARIES tbb tbbmalloc tbbmalloc_proxy) endif() -target_link_libraries(${TARGET_NAME} Core glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits) +target_link_libraries(${TARGET_NAME} Core glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits ${TBB_LIBRARIES}) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXVulkan) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXVulkan_d) diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 07043bf98e..514bc7a29a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -56,6 +56,7 @@ bool CCVKCommandBuffer::initialize(const CommandBufferInfo &info) { size_t setCount = ((CCVKDevice *)_device)->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); + _curVkDescriptorSets.resize(setCount); _curDynamicOffsets.resize(setCount); _curDynamicOffsetCounts.resize(setCount); @@ -73,7 +74,7 @@ void CCVKCommandBuffer::destroy() { void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_gpuCommandBuffer->began) return; - ((CCVKDevice *)_device)->gpuCommandBufferPool()->request(_gpuCommandBuffer); + ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->request(_gpuCommandBuffer); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; @@ -120,6 +121,8 @@ void CCVKCommandBuffer::end() { _curViewport.width = _curViewport.height = _curScissor.width = _curScissor.height = 0u; VK_CHECK(vkEndCommandBuffer(_gpuCommandBuffer->vkCommandBuffer)); _gpuCommandBuffer->began = false; + + ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); } void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { @@ -202,10 +205,7 @@ void CCVKCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet if (_curGPUDescriptorSets[set] != gpuDescriptorSet) { _curGPUDescriptorSets[set] = gpuDescriptorSet; - if (set < _firstDirtyDescriptorSet) { - _firstDirtyDescriptorSet = set; - _firstDifferentDescriptorSet = set; - } + if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } if (dynamicOffsetCount) { _curDynamicOffsets[set] = dynamicOffsets; @@ -436,48 +436,19 @@ void CCVKCommandBuffer::bindDescriptorSets() { CCVKDevice *device = (CCVKDevice *)_device; CCVKGPUDevice *gpuDevice = device->gpuDevice(); CCVKGPUPipelineLayout *pipelineLayout = _curGPUPipelineState->gpuPipelineLayout; - vector &sets = _curGPUPipelineState->gpuPipelineLayout->descriptorSets; - - if (_firstDifferentDescriptorSet < _curGPUDescriptorSets.size()) { - uint differentDescriptorSetCount = _curGPUDescriptorSets.size() - _firstDifferentDescriptorSet; - const vector &layouts = _curGPUPipelineState->gpuPipelineLayout->descriptorSetLayouts; - device->gpuDescriptorSetPool()->alloc(layouts.data() + _firstDifferentDescriptorSet, - sets.data() + _firstDifferentDescriptorSet, - differentDescriptorSetCount); - - for (uint i = 0u; i < differentDescriptorSetCount; i++) { - uint set = _firstDifferentDescriptorSet + i; - CCVKGPUDescriptorSet *gpuDescriptorSet = _curGPUDescriptorSets[set]; - if (!gpuDescriptorSet || !gpuDescriptorSet->gpuDescriptors.size()) continue; - - if (gpuDevice->useDescriptorUpdateTemplate) { - const vector &descriptorInfos = gpuDescriptorSet->descriptorInfos; - const vector &templates = pipelineLayout->vkDescriptorUpdateTemplates; - vkUpdateDescriptorSetWithTemplateKHR(gpuDevice->vkDevice, sets[set], templates[set], descriptorInfos.data()); - } else { - vector &entries = gpuDescriptorSet->descriptorUpdateEntries; - - for (uint j = 0u; j < entries.size(); j++) { - entries[j].dstSet = sets[set]; - } - vkUpdateDescriptorSets(gpuDevice->vkDevice, entries.size(), entries.data(), 0, nullptr); - } - } - } uint dirtyDescriptorSetCount = _curGPUDescriptorSets.size() - _firstDirtyDescriptorSet; uint dynamicOffsetStartIndex = pipelineLayout->dynamicOffsetOffsets[_firstDirtyDescriptorSet]; uint dynamicOffsetCount = pipelineLayout->dynamicOffsetCount - dynamicOffsetStartIndex; uint *dynamicOffsets = pipelineLayout->dynamicOffsets.data() + dynamicOffsetStartIndex; - if (_firstDirtyDescriptorSet < _curGPUDescriptorSets.size()) { - for (uint i = 0u, offsetAcc = 0u; i < dirtyDescriptorSetCount; i++) { - uint set = _firstDirtyDescriptorSet + i; - uint offsetCount = pipelineLayout->dynamicOffsetOffsets[set + 1] - dynamicOffsetStartIndex; - CCASSERT(_curDynamicOffsetCounts[set] == offsetCount, "dynamic offset count mismatch"); - if (offsetCount > 0) { - memcpy(dynamicOffsets + offsetAcc, _curDynamicOffsets[set], offsetCount * sizeof(uint)); - offsetAcc += offsetCount; - } + for (uint i = 0u, offsetAcc = 0u; i < dirtyDescriptorSetCount; i++) { + uint set = _firstDirtyDescriptorSet + i; + _curVkDescriptorSets[set] = _curGPUDescriptorSets[set]->vkDescriptorSets[gpuDevice->curBackBufferIndex]; + uint offsetCount = pipelineLayout->dynamicOffsetOffsets[set + 1] - dynamicOffsetStartIndex; + CCASSERT(_curDynamicOffsetCounts[set] == offsetCount, "dynamic offset count mismatch"); + if (offsetCount > 0) { + memcpy(dynamicOffsets + offsetAcc, _curDynamicOffsets[set], offsetCount * sizeof(uint)); + offsetAcc += offsetCount; } uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsetCounts[i] >= count, "missing dynamic offsets?"); @@ -485,12 +456,13 @@ void CCVKCommandBuffer::bindDescriptorSets() { if (count > 0) memcpy(&_curDynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsetPtrs[i], count * sizeof(uint)); } - vkCmdBindDescriptorSets(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout->vkPipelineLayout, - _firstDirtyDescriptorSet, dirtyDescriptorSetCount, sets.data() + _firstDirtyDescriptorSet, + vkCmdBindDescriptorSets(_gpuCommandBuffer->vkCommandBuffer, + VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout->vkPipelineLayout, + _firstDirtyDescriptorSet, dirtyDescriptorSetCount, + &_curVkDescriptorSets[_firstDirtyDescriptorSet], dynamicOffsetCount, dynamicOffsets); _firstDirtyDescriptorSet = UINT_MAX; - _firstDifferentDescriptorSet = UINT_MAX; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index cecd7e1c1c..d84a4af51b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -69,10 +69,10 @@ private: CCVKGPUPipelineState *_curGPUPipelineState = nullptr; vector _curGPUDescriptorSets; + vector _curVkDescriptorSets; vector _curDynamicOffsets; vector _curDynamicOffsetCounts; uint _firstDirtyDescriptorSet = UINT_MAX; - uint _firstDifferentDescriptorSet = UINT_MAX; CCVKGPUInputAssembler *_curGPUInputAssember = nullptr; CCVKGPUFramebuffer *_curGPUFBO = nullptr; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 321c3324c4..b776ece8e7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -37,9 +37,15 @@ THE SOFTWARE. namespace cc { namespace gfx { -CCVKGPUCommandBufferPool *CCVKGPUDevice::getCommandBufferPool(std::thread::id threadID) { +CCVKGPUDevice::~CCVKGPUDevice() { + for (CommandBufferPools::iterator it = commandBufferPools.begin(); it != commandBufferPools.end(); ++it) { + CC_SAFE_DELETE(it->second); + } + commandBufferPools.clear(); +} + +CCVKGPUCommandBufferPool* CCVKGPUDevice::getCommandBufferPool(std::thread::id threadID) { if (!commandBufferPools.count(threadID)) { - //std::scoped_lock guard(mutex); commandBufferPools[threadID] = CC_NEW(CCVKGPUCommandBufferPool(this)); } return commandBufferPools[threadID]; @@ -389,35 +395,6 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS VK_CHECK(vkCreateDescriptorSetLayout(gpuDevice->vkDevice, &setCreateInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorSetLayout)); gpuDescriptorSetLayout->pool.link(gpuDevice, gpuDescriptorSetLayout->maxSetsPerPool, gpuDescriptorSetLayout->vkBindings, gpuDescriptorSetLayout->vkDescriptorSetLayout); - - gpuDescriptorSetLayout->defaultDescriptorSet = gpuDescriptorSetLayout->pool.request(); - - if (gpuDevice->useDescriptorUpdateTemplate) { - const vector &bindings = gpuDescriptorSetLayout->vkBindings; - uint bindingCount = bindings.size(); - if (!bindingCount) return; - - vector entries(bindingCount); - for (size_t j = 0u, k = 0u; j < bindingCount; j++) { - const VkDescriptorSetLayoutBinding &binding = bindings[j]; - if (binding.descriptorType != VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) { - entries[j].dstBinding = binding.binding; - entries[j].dstArrayElement = 0; - entries[j].descriptorCount = binding.descriptorCount; - entries[j].descriptorType = binding.descriptorType; - entries[j].offset = sizeof(CCVKDescriptorInfo) * k; - entries[j].stride = sizeof(CCVKDescriptorInfo); - k += binding.descriptorCount; - } // TODO: inline UBOs - } - - VkDescriptorUpdateTemplateCreateInfo createInfo = {VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO}; - createInfo.descriptorUpdateEntryCount = bindingCount; - createInfo.pDescriptorUpdateEntries = entries.data(); - createInfo.templateType = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET; - createInfo.descriptorSetLayout = gpuDescriptorSetLayout->vkDescriptorSetLayout; - VK_CHECK(vkCreateDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, &createInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate)); - } } void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout) { @@ -673,10 +650,10 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const sizeToUpload = size; } -// if (!cmdBuffer && gpuBuffer->mappedData) { -// device->gpuTransportHub()->checkIn(gpuBuffer->mappedData + offset, dataToUpload, sizeToUpload); -// return; -// } + // if (!cmdBuffer && gpuBuffer->mappedData) { + // device->gpuTransportHub()->checkIn(gpuBuffer->mappedData + offset, dataToUpload, sizeToUpload); + // return; + // } CCVKGPUBuffer stagingBuffer; stagingBuffer.size = sizeToUpload; @@ -698,7 +675,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const barrier.size = region.size; vkCmdPipelineBarrier(cmdBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, gpuBuffer->targetStage, 0, 0, nullptr, 1, &barrier, 0, nullptr); }; - + if (cmdBuffer) { upload(cmdBuffer); } else { diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index ed3f8ae9ab..b3b44ab419 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -37,7 +37,7 @@ THE SOFTWARE. namespace cc { namespace gfx { - + namespace { constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, otherwise minorVersion = (FORCE_MINOR_VERSION - 1) @@ -492,7 +492,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { } // Determine the number of images - uint desiredNumberOfSwapchainImages = std::max(device->_backBufferCount, surfaceCapabilities.minImageCount + 1); + uint desiredNumberOfSwapchainImages = std::max(3u, surfaceCapabilities.minImageCount + 1); if ((surfaceCapabilities.maxImageCount > 0) && (desiredNumberOfSwapchainImages > surfaceCapabilities.maxImageCount)) { desiredNumberOfSwapchainImages = surfaceCapabilities.maxImageCount; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 579a374d50..e89e8a3363 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -45,8 +45,9 @@ CCVKDescriptorSet::~CCVKDescriptorSet() { bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { - _layout = info.layout; + _layout = info.layout->getSetLayouts()[info.setIndex]; + CCVKGPUPipelineLayout *gpuPipelineLayout = ((CCVKPipelineLayout *)info.layout)->gpuPipelineLayout(); CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const uint bindingCount = gpuDescriptorSetLayout->bindings.size(); const uint descriptorCount = gpuDescriptorSetLayout->descriptorCount; @@ -57,75 +58,55 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { _gpuDescriptorSet = CC_NEW(CCVKGPUDescriptorSet); _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount, {}); + _gpuDescriptorSet->descriptorInfos.resize(descriptorCount, {}); - for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { + for (size_t i = 0u, k = 0u; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; for (uint j = 0; j < binding.count; ++j, ++k) { _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; } } - CCVKGPUDevice *gpuDevice = ((CCVKDevice *)_device)->gpuDevice(); if (gpuDevice->useDescriptorUpdateTemplate) { - _gpuDescriptorSet->pUpdateTemplate = &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate; + _gpuDescriptorSet->pUpdateTemplate = &gpuPipelineLayout->vkDescriptorUpdateTemplates[info.setIndex]; + } else { + vector &entries = _gpuDescriptorSet->descriptorUpdateEntries; + entries.resize(descriptorCount, {VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET}); + + for (size_t i = 0u, j = 0u; i < descriptorCount; i++) { + const VkDescriptorSetLayoutBinding &descriptor = gpuDescriptorSetLayout->vkBindings[i]; + for (size_t k = 0u; k < descriptor.descriptorCount; k++, j++) { + entries[j].dstBinding = descriptor.binding; + entries[j].dstArrayElement = k; + entries[j].descriptorCount = 1; // better not to assume that the descriptor infos would be contiguous + entries[j].descriptorType = descriptor.descriptorType; + switch (entries[j].descriptorType) { + case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: + case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER: + case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: + case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC: + entries[j].pBufferInfo = &_gpuDescriptorSet->descriptorInfos[j].buffer; + break; + case VK_DESCRIPTOR_TYPE_SAMPLER: + case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: + case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE: + case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE: + case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT: + entries[j].pImageInfo = &_gpuDescriptorSet->descriptorInfos[j].image; + break; + case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: + case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: + entries[j].pTexelBufferView = &_gpuDescriptorSet->descriptorInfos[j].texelBufferView; + break; + default: break; + } + } + } } - _gpuDescriptorSet->instances.resize(gpuDevice->backBufferCount); - for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { - CCVKGPUDescriptorSet::DescriptorSetInstance &instance = _gpuDescriptorSet->instances[t]; - instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); - instance.descriptorInfos.resize(descriptorCount, {}); - - for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { - const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; - for (uint j = 0; j < binding.count; ++j, ++k) { - if ((uint)binding.descriptorType & DESCRIPTOR_BUFFER_TYPE) { - instance.descriptorInfos[k].buffer.buffer = gpuDevice->defaultBuffer.vkBuffer; - instance.descriptorInfos[k].buffer.offset = gpuDevice->defaultBuffer.startOffset; - instance.descriptorInfos[k].buffer.range = gpuDevice->defaultBuffer.size; - } else if ((uint)binding.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { - instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; - instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; - instance.descriptorInfos[k].image.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; - } - } - } - - if (!gpuDevice->useDescriptorUpdateTemplate) { - vector &entries = instance.descriptorUpdateEntries; - entries.resize(descriptorCount, {VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET}); - - for (size_t i = 0u, j = 0u; i < descriptorCount; i++) { - const VkDescriptorSetLayoutBinding &descriptor = gpuDescriptorSetLayout->vkBindings[i]; - for (size_t k = 0u; k < descriptor.descriptorCount; k++, j++) { - entries[j].dstSet = instance.vkDescriptorSet; - entries[j].dstBinding = descriptor.binding; - entries[j].dstArrayElement = k; - entries[j].descriptorCount = 1; // better not to assume that the descriptor infos would be contiguous - entries[j].descriptorType = descriptor.descriptorType; - switch (entries[j].descriptorType) { - case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: - case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER: - case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: - case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC: - entries[j].pBufferInfo = &instance.descriptorInfos[j].buffer; - break; - case VK_DESCRIPTOR_TYPE_SAMPLER: - case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: - case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE: - case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE: - case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT: - entries[j].pImageInfo = &instance.descriptorInfos[j].image; - break; - case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: - case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: - entries[j].pTexelBufferView = &instance.descriptorInfos[j].texelBufferView; - break; - default: break; - } - } - } - } + _gpuDescriptorSet->vkDescriptorSets.resize(gpuDevice->backBufferCount); + for (uint i = 0u; i < gpuDevice->backBufferCount; ++i) { + _gpuDescriptorSet->vkDescriptorSets[i] = gpuDescriptorSetLayout->pool.request(); } return true; @@ -159,7 +140,12 @@ void CCVKDescriptorSet::destroy() { } } - ((CCVKDevice *)_device)->gpuDescriptorSetHub()->erase(_gpuDescriptorSet); + CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); + if (gpuDescriptorSetLayout) { + for (uint i = 0u; i < _gpuDescriptorSet->vkDescriptorSets.size(); ++i) { + gpuDescriptorSetLayout->pool.yield(_gpuDescriptorSet->vkDescriptorSets[i]); + } + } CC_DELETE(_gpuDescriptorSet); _gpuDescriptorSet = nullptr; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 9d996a4db0..462179e59a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -293,17 +293,15 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _gpuFencePools.push_back(CC_NEW(CCVKGPUFencePool(_gpuDevice))); _gpuRecycleBins.push_back(CC_NEW(CCVKGPURecycleBin(_gpuDevice))); _gpuTransportHubs.push_back(CC_NEW(CCVKGPUTransportHub(_gpuDevice))); - _gpuDescriptorSetPools.push_back(CC_NEW(CCVKGPUDescriptorSetPool(_gpuDevice))); - _gpuCommandBufferPools.push_back(CC_NEW(CCVKGPUCommandBufferPool(_gpuDevice))); _gpuStagingBufferPools.push_back(CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice))); _gpuTransportHubs[i]->link(((CCVKQueue *)_queue)->gpuQueue(), _gpuFencePools[i], - _gpuCommandBufferPools[i], _gpuStagingBufferPools[i]); } _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); + _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); CommandBufferInfo cmdBuffInfo; cmdBuffInfo.type = CommandBufferType::PRIMARY; @@ -398,21 +396,18 @@ void CCVKDevice::destroy() { CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); - + CC_SAFE_DELETE(_gpuDescriptorSetHub); + uint backBufferCount = ((CCVKContext *)_context)->gpuContext()->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { _gpuRecycleBins[i]->clear(); CC_SAFE_DELETE(_gpuStagingBufferPools[i]); - CC_SAFE_DELETE(_gpuCommandBufferPools[i]); - CC_SAFE_DELETE(_gpuDescriptorSetPools[i]); CC_SAFE_DELETE(_gpuTransportHubs[i]); CC_SAFE_DELETE(_gpuRecycleBins[i]); CC_SAFE_DELETE(_gpuFencePools[i]); } _gpuStagingBufferPools.clear(); - _gpuCommandBufferPools.clear(); - _gpuDescriptorSetPools.clear(); _gpuTransportHubs.clear(); _gpuRecycleBins.clear(); _gpuFencePools.clear(); @@ -485,13 +480,15 @@ void CCVKDevice::acquire() { queue->_numTriangles = 0; queue->gpuQueue()->nextWaitSemaphore = VK_NULL_HANDLE; queue->gpuQueue()->nextSignalSemaphore = VK_NULL_HANDLE; + + _gpuDescriptorSetHub->flush(); _gpuSemaphorePool->reset(); VkSemaphore acquireSemaphore = _gpuSemaphorePool->alloc(); VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); - assert(_curBackBufferIndex == _gpuSwapchain->curImageIndex); + assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); uint fenceCount = gpuFencePool()->size(); if (fenceCount) { @@ -500,11 +497,9 @@ void CCVKDevice::acquire() { } // reset everything only when no pending commands - if (gpuTransportHub()->empty()) { + if (!((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { gpuFencePool()->reset(); gpuRecycleBin()->clear(); - gpuDescriptorSetPool()->reset(); - gpuCommandBufferPool()->reset(); gpuStagingBufferPool()->reset(); } @@ -531,13 +526,17 @@ void CCVKDevice::present() { if (res) _swapchainReady = false; #endif - _curBackBufferIndex = (_curBackBufferIndex + 1) % _backBufferCount; + _gpuDevice->curBackBufferIndex = (_gpuDevice->curBackBufferIndex + 1) % _gpuDevice->backBufferCount; } } -// recycled object before acquire should be put into last frame's bin +// objects recycled before acquire should be put into last frame's bin CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuSwapchain->curImageIndex]; } +CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuDevice->curBackBufferIndex]; } +CCVKGPUTransportHub *CCVKDevice::gpuTransportHub() { return _gpuTransportHubs[_gpuDevice->curBackBufferIndex]; } +CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } + CommandBuffer *CCVKDevice::createCommandBuffer() { return CC_NEW(CCVKCommandBuffer(this)); } @@ -649,7 +648,7 @@ bool CCVKDevice::checkSwapchainStatus() { destroySwapchain(); - _curBackBufferIndex = 0u; + _gpuDevice->curBackBufferIndex = 0u; _gpuSwapchain->curImageIndex = 0; _gpuSwapchain->vkSwapchain = vkSwapchain; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index e4b5919a28..5be4e03348 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -38,9 +38,6 @@ class CCVKGPUTransportHub; class CCVKGPUDescriptorHub; class CCVKGPUSemaphorePool; class CCVKGPUDescriptorSetHub; - -class CCVKGPUFencePool; -class CCVKGPURecycleBin; class CCVKGPUStagingBufferPool; class CC_VULKAN_API CCVKDevice final : public Device { @@ -99,14 +96,12 @@ public: CC_INLINE CCVKGPUDescriptorHub *gpuDescriptorHub() { return _gpuDescriptorHub; } CC_INLINE CCVKGPUSemaphorePool *gpuSemaphorePool() { return _gpuSemaphorePool; } + CC_INLINE CCVKGPUDescriptorSetHub *gpuDescriptorSetHub() { return _gpuDescriptorSetHub; } + CCVKGPUFencePool *gpuFencePool(); CCVKGPURecycleBin *gpuRecycleBin(); - - CC_INLINE CCVKGPUFencePool *gpuFencePool() { return _gpuFencePools[_curBackBufferIndex]; } - CC_INLINE CCVKGPUTransportHub *gpuTransportHub() { return _gpuTransportHubs[_curBackBufferIndex]; } - CC_INLINE CCVKGPUDescriptorSetPool *gpuDescriptorSetPool() { return _gpuDescriptorSetPools[_curBackBufferIndex]; } - CC_INLINE CCVKGPUCommandBufferPool *gpuCommandBufferPool() { return _gpuCommandBufferPools[_curBackBufferIndex]; } - CC_INLINE CCVKGPUStagingBufferPool *gpuStagingBufferPool() { return _gpuStagingBufferPools[_curBackBufferIndex]; } + CCVKGPUTransportHub *gpuTransportHub(); + CCVKGPUStagingBufferPool *gpuStagingBufferPool(); private: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; @@ -135,15 +130,11 @@ private: vector _gpuFencePools; vector _gpuRecycleBins; vector _gpuTransportHubs; - vector _gpuDescriptorSetPools; - vector _gpuCommandBufferPools; vector _gpuStagingBufferPools; CCVKGPUDescriptorHub *_gpuDescriptorHub = nullptr; CCVKGPUSemaphorePool *_gpuSemaphorePool = nullptr; - - uint _curBackBufferIndex = 0u; - uint _backBufferCount = 3u; + CCVKGPUDescriptorSetHub *_gpuDescriptorSetHub = nullptr; vector _layers; vector _extensions; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index ba27c7ab95..d119297357 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -26,6 +26,9 @@ THE SOFTWARE. #include "VKUtils.h" +#define TBB_USE_EXCEPTIONS 0 // no-rtti for now +#include "tbb/concurrent_unordered_map.h" + namespace cc { namespace gfx { @@ -242,24 +245,16 @@ typedef vector CCVKGPUDescriptorList; class CCVKGPUDescriptorSet final : public Object { public: CCVKGPUDescriptorList gpuDescriptors; + + // references + VkDescriptorUpdateTemplate *pUpdateTemplate = nullptr; + + vector vkDescriptorSets; // per swapchain image vector descriptorInfos; vector descriptorUpdateEntries; }; -class CCVKGPUDescriptorSetLayout final : public Object { -public: - DescriptorSetLayoutBindingList bindings; - vector dynamicBindings; - - struct DescriptorSetInstance { - VkDescriptorSet vkDescriptorSet = VK_NULL_HANDLE; - vector descriptorInfos; - vector descriptorUpdateEntries; - }; - vector instances; // per swapchain image -}; - class CCVKGPUDescriptorSetLayout; typedef vector CCVKGPUDescriptorSetLayoutList; @@ -270,6 +265,7 @@ public: VkPipelineLayout vkPipelineLayout = VK_NULL_HANDLE; // helper storage + vector dynamicOffsets; vector dynamicOffsetOffsets; uint dynamicOffsetCount; }; @@ -293,6 +289,7 @@ public: VkFence vkFence; }; +class CCVKGPUCommandBufferPool; class CCVKGPUDevice final : public Object { public: VkDevice vkDevice = VK_NULL_HANDLE; @@ -300,6 +297,9 @@ public: vector extensions; VmaAllocator memoryAllocator = VK_NULL_HANDLE; VkPipelineCache vkPipelineCache = VK_NULL_HANDLE; + + uint curBackBufferIndex = 0u; + uint backBufferCount = 3u; uint curBackBufferIndex = 0u; uint backBufferCount = 3u; @@ -312,20 +312,13 @@ public: CCVKGPUTexture defaultTexture; CCVKGPUTextureView defaultTextureView; CCVKGPUBuffer defaultBuffer; - - CCVKGPUSwapchain *swapchain = nullptr; // reference - - /* * - using CommandBufferPools = tbb::concurrent_unordered_map< - std::thread::id, CCVKGPUCommandBufferPool *, std::hash>; - /* */ - using CommandBufferPools = unordered_map; - std::mutex mutex; - /* */ - + + using CommandBufferPools = tbb::concurrent_unordered_map>; CommandBufferPools commandBufferPools; - - CCVKGPUCommandBufferPool *getCommandBufferPool(std::thread::id threadID); + + ~CCVKGPUDevice(); + CCVKGPUCommandBufferPool* getCommandBufferPool(std::thread::id threadID); }; /** @@ -375,7 +368,7 @@ public: } private: - CCVKGPUDevice *_device; + CCVKGPUDevice *_device = nullptr; uint _count = 0u; vector _fences; }; @@ -430,32 +423,44 @@ private: */ class CCVKGPUDescriptorSetPool final : public Object { public: - CCVKGPUDescriptorSetPool(CCVKGPUDevice *device) - : _device(device) { - } - ~CCVKGPUDescriptorSetPool() { - for (VkDescriptorPool pool : _pools) { - vkDestroyDescriptorPool(_device->vkDevice, pool, nullptr); + uint leakedSetCount = 0u; + for (DescriptorSetPool &pool : _pools) { + leakedSetCount += pool.activeSets.size(); + vkDestroyDescriptorPool(_device->vkDevice, pool.vkPool, nullptr); } if (leakedSetCount) CC_LOG_DEBUG("Leaked %d descriptor sets.", leakedSetCount); _pools.clear(); } + + void link(CCVKGPUDevice *device, uint maxSetsPerPool, vector &bindings, VkDescriptorSetLayout setLayout) { + _device = device; + _maxSetsPerPool = maxSetsPerPool; + _setLayouts.insert(_setLayouts.begin(), _maxSetsPerPool, setLayout); + + unordered_map typeMap; + for (size_t i = 0u; i < bindings.size(); i++) { + VkDescriptorSetLayoutBinding &vkBinding = bindings[i]; + typeMap[vkBinding.descriptorType] += maxSetsPerPool; + } - void alloc(const VkDescriptorSetLayout *layouts, VkDescriptorSet *output, uint count) { - VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; - info.pSetLayouts = layouts; - info.descriptorSetCount = count; + _poolSizes.clear(); + for (unordered_map::iterator it = typeMap.begin(); it != typeMap.end(); it++) { + _poolSizes.push_back({it->first, it->second}); + } + } + + VkDescriptorSet request() { + VkDescriptorSet output = VK_NULL_HANDLE; size_t size = _pools.size(); uint idx = 0u; for (; idx < size; idx++) { - if (_counts[idx] + count <= 128) { - info.descriptorPool = _pools[idx]; - VkResult res = vkAllocateDescriptorSets(_device->vkDevice, &info, output); - if (res) continue; - _counts[idx] += count; - return; + if (_pools[idx].freeSets.size()) { + output = _pools[idx].freeSets.back(); + _pools[idx].freeSets.pop_back(); + _pools[idx].activeSets.insert(output); + return output; } } @@ -467,29 +472,61 @@ public: VkDescriptorPool descriptorPool; VK_CHECK(vkCreateDescriptorPool(_device->vkDevice, &createInfo, nullptr, &descriptorPool)); - _pools.push_back(descriptorPool); - _counts.push_back(0); + _pools.push_back({ descriptorPool, {}, {} }); + + _pools[idx].freeSets.resize(_maxSetsPerPool); + VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; + info.pSetLayouts = _setLayouts.data(); + info.descriptorSetCount = _maxSetsPerPool; + info.descriptorPool = descriptorPool; + VK_CHECK(vkAllocateDescriptorSets(_device->vkDevice, &info, _pools[idx].freeSets.data())); } - info.descriptorPool = _pools[idx]; - VK_CHECK(vkAllocateDescriptorSets(_device->vkDevice, &info, output)); - _counts[idx] += count; + output = _pools[idx].freeSets.back(); + _pools[idx].freeSets.pop_back(); + _pools[idx].activeSets.insert(output); + return output; } - - void reset() { - size_t size = _pools.size(); - for (uint i = 0u; i < size; i++) { - if (_counts[i]) { - VK_CHECK(vkResetDescriptorPool(_device->vkDevice, _pools[i], 0)); - _counts[i] = 0; + + void yield(VkDescriptorSet set) { + for (DescriptorSetPool &pool : _pools) { + if (pool.activeSets.count(set)) { + pool.activeSets.erase(set); + pool.freeSets.push_back(set); + return; } } } private: - CCVKGPUDevice *_device; - vector _pools; - vector _counts; + CCVKGPUDevice *_device = nullptr; + + struct DescriptorSetPool { + VkDescriptorPool vkPool = VK_NULL_HANDLE; + set activeSets; + vector freeSets; + }; + vector _pools; + + vector _poolSizes; + vector _setLayouts; + uint _maxSetsPerPool = 0u; +}; + +class CCVKGPUDescriptorSetLayout final : public Object { +public: + DescriptorSetLayoutBindingList bindings; + vector dynamicBindings; + + vector vkBindings; + VkDescriptorSetLayout vkDescriptorSetLayout = VK_NULL_HANDLE; + + vector bindingIndices; + vector descriptorIndices; + uint descriptorCount = 0u; + + uint maxSetsPerPool = 10u; + CCVKGPUDescriptorSetPool pool; }; /** @@ -502,7 +539,7 @@ public: } ~CCVKGPUCommandBufferPool() { - for (map::iterator it = _pools.begin(); it != _pools.end(); it++) { + for (unordered_map::iterator it = _pools.begin(); it != _pools.end(); it++) { CommandBufferPool &pool = it->second; if (pool.vkCommandPool != VK_NULL_HANDLE) { vkDestroyCommandPool(_device->vkDevice, pool.vkCommandPool, nullptr); @@ -513,6 +550,13 @@ public: } _pools.clear(); } + + CC_INLINE uint getHash(uint queueFamilyIndex) { + return (queueFamilyIndex << 10) | _device->curBackBufferIndex; + } + CC_INLINE uint getBackBufferIndex(uint hash) { + return hash & ((1 << 10) - 1); + } CC_INLINE uint getHash(uint queueFamilyIndex) { return (queueFamilyIndex << 10) | _device->curBackBufferIndex; @@ -522,13 +566,20 @@ public: } void request(CCVKGPUCommandBuffer *gpuCommandBuffer) { - if (!_pools.count(gpuCommandBuffer->queueFamilyIndex)) { + uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); + + if (_device->curBackBufferIndex != _lastBackBufferIndex) { + reset(); + _lastBackBufferIndex = _device->curBackBufferIndex; + } + + if (!_pools.count(hash)) { VkCommandPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO}; createInfo.queueFamilyIndex = gpuCommandBuffer->queueFamilyIndex; createInfo.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT; - VK_CHECK(vkCreateCommandPool(_device->vkDevice, &createInfo, nullptr, &_pools[gpuCommandBuffer->queueFamilyIndex].vkCommandPool)); + VK_CHECK(vkCreateCommandPool(_device->vkDevice, &createInfo, nullptr, &_pools[hash].vkCommandPool)); } - CommandBufferPool &pool = _pools[gpuCommandBuffer->queueFamilyIndex]; + CommandBufferPool &pool = _pools[hash]; CachedArray &availableList = pool.commandBuffers[gpuCommandBuffer->level]; if (availableList.size()) { @@ -544,18 +595,20 @@ public: void yield(CCVKGPUCommandBuffer *gpuCommandBuffer) { if (gpuCommandBuffer->vkCommandBuffer) { - if (!_pools.count(gpuCommandBuffer->queueFamilyIndex)) return; - CommandBufferPool &pool = _pools[gpuCommandBuffer->queueFamilyIndex]; + uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); + CCASSERT(_pools.count(hash), "wrong command pool to yield?"); + + CommandBufferPool &pool = _pools[hash]; pool.usedCommandBuffers[gpuCommandBuffer->level].push(gpuCommandBuffer->vkCommandBuffer); - gpuCommandBuffer->vkCommandBuffer = VK_NULL_HANDLE; } } void reset() { - for (map::iterator it = _pools.begin(); it != _pools.end(); it++) { + for (unordered_map::iterator it = _pools.begin(); it != _pools.end(); it++) { + if (getBackBufferIndex(it->first) != _device->curBackBufferIndex) continue; CommandBufferPool &pool = it->second; - bool needsReset = false; + VK_CHECK(vkResetCommandPool(_device->vkDevice, pool.vkCommandPool, 0)); for (uint i = 0u; i < 2u; i++) { CachedArray &usedList = pool.usedCommandBuffers[i]; if (usedList.size()) { @@ -578,8 +631,9 @@ private: }; CCVKGPUDevice *_device = nullptr; - map _pools; - vector _counts; + uint _lastBackBufferIndex = 0u; + + unordered_map _pools; }; /** @@ -839,10 +893,55 @@ private: } } + unordered_map> _buffers; + unordered_map> _textures; + unordered_map> _samplers; +}; + +/** + * Manages descriptor set update events, across all back buffer instances. + */ +class CCVKGPUDescriptorSetHub final : public Object { +public: + CCVKGPUDescriptorSetHub(CCVKGPUDevice *device) + : _device(device) { + _setsToBeUpdate.resize(device->backBufferCount); + } + + void record(CCVKGPUDescriptorSet *gpuDescriptorSet) { + update(gpuDescriptorSet); + for (uint i = 0u; i < _device->backBufferCount; ++i) { + if (i != _device->curBackBufferIndex) { + _setsToBeUpdate[i].insert(gpuDescriptorSet); + } + } + } + + void flush() { + set &sets = _setsToBeUpdate[_device->curBackBufferIndex]; + for (set::iterator it = sets.begin(); it != sets.end(); ++it) { + update(*it); + } + sets.clear(); + } + +private: + void update(CCVKGPUDescriptorSet *gpuDescriptorSet) { + if (gpuDescriptorSet->pUpdateTemplate) { + vkUpdateDescriptorSetWithTemplateKHR(_device->vkDevice, + gpuDescriptorSet->vkDescriptorSets[_device->curBackBufferIndex], + *gpuDescriptorSet->pUpdateTemplate, gpuDescriptorSet->descriptorInfos.data()); + } else { + vector &entries = gpuDescriptorSet->descriptorUpdateEntries; + VkDescriptorSet set = gpuDescriptorSet->vkDescriptorSets[_device->curBackBufferIndex]; + + for (uint i = 0u; i < entries.size(); i++) entries[i].dstSet = set; + vkUpdateDescriptorSets(_device->vkDevice, entries.size(), entries.data(), 0, nullptr); + } + } + CCVKGPUDevice *_device = nullptr; - map> _buffers; - map> _textures; - map> _samplers; + vector> _setsToBeUpdate; }; /** @@ -938,15 +1037,10 @@ public: : _device(device) { } - ~CCVKGPUTransportHub() { - if (_fence) { - vkDestroyFence(_device->vkDevice, _fence, nullptr); - _fence = VK_NULL_HANDLE; - } - } - - void link(CCVKGPUQueue *queue) { + void link(CCVKGPUQueue *queue, CCVKGPUFencePool *fencePool, CCVKGPUStagingBufferPool *stagingBufferPool) { _queue = queue; + _fencePool = fencePool; + _stagingBufferPool = stagingBufferPool; _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; _cmdBuff.queueFamilyIndex = _queue->queueFamilyIndex; @@ -962,7 +1056,7 @@ public: template void checkIn(const TFunc &record, bool immediateSubmission = false) { CCVKGPUCommandBufferPool *commandBufferPool = _device->getCommandBufferPool(std::this_thread::get_id()); - + if (!_cmdBuff.vkCommandBuffer) { commandBufferPool->request(&_cmdBuff); VkCommandBufferBeginInfo beginInfo{VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO}; @@ -977,9 +1071,8 @@ public: VkSubmitInfo submitInfo{VK_STRUCTURE_TYPE_SUBMIT_INFO}; submitInfo.commandBufferCount = 1; submitInfo.pCommandBuffers = &_cmdBuff.vkCommandBuffer; - VK_CHECK(vkQueueSubmit(_queue->vkQueue, 1, &submitInfo, _fence)); - VK_CHECK(vkWaitForFences(_device->vkDevice, 1, &_fence, VK_TRUE, DEFAULT_TIMEOUT)); - vkResetFences(_device->vkDevice, 1, &_fence); + VK_CHECK(vkQueueSubmit(_queue->vkQueue, 1, &submitInfo, fence)); + VK_CHECK(vkWaitForFences(_device->vkDevice, 1, &fence, VK_TRUE, DEFAULT_TIMEOUT)); commandBufferPool->yield(&_cmdBuff); _cmdBuff.vkCommandBuffer = VK_NULL_HANDLE; } @@ -988,17 +1081,27 @@ public: void depart() { if (_cmdBuff.vkCommandBuffer) { CCVKGPUCommandBufferPool *commandBufferPool = _device->getCommandBufferPool(std::this_thread::get_id()); - + VK_CHECK(vkEndCommandBuffer(_cmdBuff.vkCommandBuffer)); _queue->commandBuffers.push(_cmdBuff.vkCommandBuffer); commandBufferPool->yield(&_cmdBuff); _cmdBuff.vkCommandBuffer = VK_NULL_HANDLE; } + + if (_count) { + for (uint i = 0u; i < _count; i++) { + const Transfer &transfer = _transfers[i]; + memcpy(transfer.dst, transfer.src, transfer.size); + } + _count = 0u; + } } private: CCVKGPUDevice *_device = nullptr; CCVKGPUQueue *_queue = nullptr; + CCVKGPUFencePool *_fencePool = nullptr; + CCVKGPUStagingBufferPool *_stagingBufferPool = nullptr; CCVKGPUCommandBuffer _cmdBuff; VkFence _fence = VK_NULL_HANDLE; diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 29c54e56b9..a02fbfcc96 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -69,7 +69,7 @@ void CCVKQueue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence * _numDrawCalls += cmdBuffer->_numDrawCalls; _numInstances += cmdBuffer->_numInstances; _numTriangles += cmdBuffer->_numTriangles; - ((CCVKDevice *)_device)->gpuCommandBufferPool()->yield(cmdBuffer->_gpuCommandBuffer); + cmdBuffer->_gpuCommandBuffer->vkCommandBuffer = VK_NULL_HANDLE; } VkSubmitInfo submitInfo{VK_STRUCTURE_TYPE_SUBMIT_INFO}; From 778ef759bb7e7b9a990e891affd3c01820c62f0f Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 16 Dec 2020 00:30:03 +0800 Subject: [PATCH 044/270] parallel submission framework --- .../job-system-taskflow/CMakeLists.txt | 16 +++++++ .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 44 ++++++++++++++---- .../core/gfx-proxy/GFXCommandBufferProxy.h | 2 +- .../renderer/core/gfx-proxy/GFXQueueProxy.cpp | 31 ++++++++----- .../renderer/core/gfx/GFXCommandBuffer.h | 3 ++ .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 2 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 16 +++---- .../renderer/gfx-vulkan/VKCommandBuffer.h | 1 - native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 4 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 6 ++- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 46 +++++++++---------- 15 files changed, 115 insertions(+), 64 deletions(-) diff --git a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt index 143f855c96..16d8d0caea 100644 --- a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt +++ b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt @@ -24,7 +24,23 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) endif() +set(CC_BASE_HEADERS + ${COCOS_SRC_PATH}/base/TypeDef.h + ${COCOS_SRC_PATH}/base/Log.h + ${COCOS_SRC_PATH}/base/Object.h + ${COCOS_SRC_PATH}/base/memory/Memory.h + ${COCOS_SRC_PATH}/math/Math.h +) + +set(CC_BASE_SOURCES + ${COCOS_SRC_PATH}/base/Log.cpp + ${COCOS_SRC_PATH}/base/memory/Memory.cpp + ${COCOS_SRC_PATH}/math/Math.cpp +) + set(ALL_FILES + ${CC_BASE_HEADERS} + ${CC_BASE_SOURCES} ${HEADER_FILES} ${SOURCE_CPP_FILES} ${SOURCE_C_FILES} diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 3af4d9d775..8b0e027539 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -1,5 +1,6 @@ #include "CoreStd.h" +#include "job-system/JobSystem.h" #include "threading/CommandEncoder.h" #include "GFXBufferProxy.h" #include "GFXCommandBufferProxy.h" @@ -21,6 +22,7 @@ void CommandBufferProxy::initEncoder() { } void CommandBufferProxy::destroyEncoder() { + _encoder->KickAndWait(); CC_SAFE_DELETE(_encoder); } @@ -34,7 +36,7 @@ bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { remoteInfo.queue = ((QueueProxy *)info.queue)->getRemote(); ENCODE_COMMAND_2( - _encoder, + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferInit, remote, getRemote(), info, remoteInfo, @@ -46,9 +48,10 @@ bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { } void CommandBufferProxy::destroy() { + destroyEncoder(); if (_remote) { ENCODE_COMMAND_1( - _encoder, + ((DeviceProxy *)_device)->getMainEncoder(), CommandBufferDestroy, remote, getRemote(), { @@ -57,7 +60,6 @@ void CommandBufferProxy::destroy() { _remote = nullptr; } - destroyEncoder(); } void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { @@ -85,7 +87,7 @@ void CommandBufferProxy::end() { _encoder->FinishWriting(); } -void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { +void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *remoteColors = nullptr; @@ -94,7 +96,7 @@ void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fb memcpy(remoteColors, colors, sizeof(Color) * attachmentCount); } - ENCODE_COMMAND_7( + ENCODE_COMMAND_8( _encoder, CommandBufferBeginRenderPass, remote, getRemote(), @@ -104,8 +106,9 @@ void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fb colors, remoteColors, depth, depth, stencil, stencil, + fromSecondaryCB, fromSecondaryCB, { - remote->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil); + remote->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, fromSecondaryCB); }); } @@ -318,19 +321,42 @@ void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Tex } void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + if (!count) return; + const CommandBuffer **remoteCmdBuffs = _encoder->Allocate(count); for (uint i = 0; i < count; ++i) { remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); } - ENCODE_COMMAND_3( + bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); + + ENCODE_COMMAND_5( _encoder, CommandBufferExecute, remote, getRemote(), - cmdBuffs, remoteCmdBuffs, + cmdBuffs, cmdBuffs, + remoteCmdBuffs, remoteCmdBuffs, count, count, + multiThreaded, multiThreaded, { - remote->execute(cmdBuffs, count); + if (count > 1) { + if (multiThreaded) { + JobGraph g; + g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); + }); + JobSystem::getInstance().run(g); + ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); + g.waitForAll(); + } else { + for (uint i = 0u; i < count; ++i) { + ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); + } + } + } else { + ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); + } + remote->execute(remoteCmdBuffs, count); }); } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index 5f0caf9d5f..f60b875263 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -15,7 +15,7 @@ public: virtual void destroy() override; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp index 3e6e54647e..648edc29a3 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp @@ -39,6 +39,7 @@ void QueueProxy::destroy() { } void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { + if (!count) return; CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); @@ -58,19 +59,27 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence count, count, fence, fence, { - if (multiThreaded) { - JobGraph g; - g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); - }); - JobSystem::getInstance().run(g); - ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); - g.waitForAll(); - } else { - for (uint i = 0u; i < count; ++i) { - ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); +// auto startTime = std::chrono::steady_clock::now(); + if (count > 1) { + if (multiThreaded) { + JobGraph g; + g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); + }); + JobSystem::getInstance().run(g); + ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); + g.waitForAll(); + } else { + for (uint i = 0u; i < count; ++i) { + ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); + } } + } else { + ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); } +// CC_LOG_INFO("======== one round ========"); +// auto endTime = std::chrono::steady_clock::now(); +// CC_LOG_INFO("---------- %.2fms", std::chrono::duration_cast(endTime - startTime).count() / 1e6); remote->submit(remoteCmdBuffs, count, fence); }); diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index ffce32e3d8..55a0d3994f 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -55,6 +55,9 @@ public: CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } + CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, false); + } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 2a5ec517f6..c58c300244 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -20,7 +20,7 @@ GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer(Device *device) GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { } -void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { +void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { _isInRenderPass = true; GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index 8f6b26baa5..fc058b9b9e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -13,7 +13,7 @@ public: GLES2PrimaryCommandBuffer(Device *device); ~GLES2PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 6a24cb3e29..42c045c4be 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -20,7 +20,7 @@ GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer(Device *device) GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { } -void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { +void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { _isInRenderPass = true; GLES3GPURenderPass *gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 4cfb7b2291..410c631169 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -13,7 +13,7 @@ public: GLES3PrimaryCommandBuffer(Device *device); ~GLES3PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 5234052857..3991695e47 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -127,7 +127,7 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 514bc7a29a..f543928b7e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -99,10 +99,8 @@ void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer inheritanceInfo.subpass = subpass; if (frameBuffer) { CCVKGPUFramebuffer *gpuFBO = ((CCVKFramebuffer *)frameBuffer)->gpuFBO(); - if (gpuFBO->isOffscreen) - inheritanceInfo.framebuffer = gpuFBO->vkFramebuffer; - else - inheritanceInfo.framebuffer = gpuFBO->swapchain->vkSwapchainFramebufferListMap[gpuFBO][gpuFBO->swapchain->curImageIndex]; + if (gpuFBO->isOffscreen) inheritanceInfo.framebuffer = gpuFBO->vkFramebuffer; + else inheritanceInfo.framebuffer = gpuFBO->swapchain->vkSwapchainFramebufferListMap[gpuFBO][gpuFBO->swapchain->curImageIndex]; } beginInfo.pInheritanceInfo = &inheritanceInfo; beginInfo.flags |= VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT; @@ -170,8 +168,7 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo passBeginInfo.clearValueCount = clearValues.size(); passBeginInfo.pClearValues = clearValues.data(); passBeginInfo.renderArea = {{(int)renderArea.x, (int)renderArea.y}, {renderArea.width, renderArea.height}}; - vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, - fromSecondaryCB ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); + vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, fromSecondaryCB ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); if (!fromSecondaryCB) { VkViewport viewport{(float)renderArea.x, (float)renderArea.y, (float)renderArea.width, (float)renderArea.height, 0.f, 1.f}; @@ -406,12 +403,9 @@ void CCVKCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint count if (!count) return; _vkCommandBuffers.resize(count); - uint validCount = 0u; for (uint i = 0u; i < count; ++i) { CCVKCommandBuffer *cmdBuff = (CCVKCommandBuffer *)cmdBuffs[i]; - if (!cmdBuff->_pendingQueue.empty()) { - _vkCommandBuffers[validCount++] = cmdBuff->_pendingQueue.front(); - cmdBuff->_pendingQueue.pop(); + _vkCommandBuffers[i] = cmdBuff->_gpuCommandBuffer->vkCommandBuffer; _numDrawCalls += cmdBuff->_numDrawCalls; _numInstances += cmdBuff->_numInstances; @@ -422,6 +416,8 @@ void CCVKCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint count vkCmdExecuteCommands(_gpuCommandBuffer->vkCommandBuffer, validCount, _vkCommandBuffers.data()); } + + vkCmdExecuteCommands(_gpuCommandBuffer->vkCommandBuffer, count, _vkCommandBuffers.data()); } void CCVKCommandBuffer::updateBuffer(Buffer *buffer, const void *data, uint size) { diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index d84a4af51b..63741823b3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -87,7 +87,6 @@ private: CCVKStencilCompareMask _curStencilCompareMask; vector _vkCommandBuffers; - queue _pendingQueue; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 462179e59a..bcb5a77a3f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -397,7 +397,7 @@ void CCVKDevice::destroy() { CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); CC_SAFE_DELETE(_gpuDescriptorSetHub); - + uint backBufferCount = ((CCVKContext *)_context)->gpuContext()->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { _gpuRecycleBins[i]->clear(); @@ -480,7 +480,7 @@ void CCVKDevice::acquire() { queue->_numTriangles = 0; queue->gpuQueue()->nextWaitSemaphore = VK_NULL_HANDLE; queue->gpuQueue()->nextSignalSemaphore = VK_NULL_HANDLE; - + _gpuDescriptorSetHub->flush(); _gpuSemaphorePool->reset(); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 5be4e03348..f4d9f2ef35 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -33,11 +33,13 @@ class CCVKGPUDevice; class CCVKGPUContext; class CCVKGPUSwapchain; -class CCVKGPUBufferHub; -class CCVKGPUTransportHub; class CCVKGPUDescriptorHub; class CCVKGPUSemaphorePool; class CCVKGPUDescriptorSetHub; + +class CCVKGPUFencePool; +class CCVKGPURecycleBin; +class CCVKGPUTransportHub; class CCVKGPUStagingBufferPool; class CC_VULKAN_API CCVKDevice final : public Device { diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index d119297357..0f84265f91 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -245,10 +245,10 @@ typedef vector CCVKGPUDescriptorList; class CCVKGPUDescriptorSet final : public Object { public: CCVKGPUDescriptorList gpuDescriptors; - + // references VkDescriptorUpdateTemplate *pUpdateTemplate = nullptr; - + vector vkDescriptorSets; // per swapchain image vector descriptorInfos; @@ -297,7 +297,7 @@ public: vector extensions; VmaAllocator memoryAllocator = VK_NULL_HANDLE; VkPipelineCache vkPipelineCache = VK_NULL_HANDLE; - + uint curBackBufferIndex = 0u; uint backBufferCount = 3u; @@ -312,11 +312,11 @@ public: CCVKGPUTexture defaultTexture; CCVKGPUTextureView defaultTextureView; CCVKGPUBuffer defaultBuffer; - + using CommandBufferPools = tbb::concurrent_unordered_map>; CommandBufferPools commandBufferPools; - + ~CCVKGPUDevice(); CCVKGPUCommandBufferPool* getCommandBufferPool(std::thread::id threadID); }; @@ -432,12 +432,12 @@ public: if (leakedSetCount) CC_LOG_DEBUG("Leaked %d descriptor sets.", leakedSetCount); _pools.clear(); } - + void link(CCVKGPUDevice *device, uint maxSetsPerPool, vector &bindings, VkDescriptorSetLayout setLayout) { _device = device; _maxSetsPerPool = maxSetsPerPool; _setLayouts.insert(_setLayouts.begin(), _maxSetsPerPool, setLayout); - + unordered_map typeMap; for (size_t i = 0u; i < bindings.size(); i++) { VkDescriptorSetLayoutBinding &vkBinding = bindings[i]; @@ -473,7 +473,7 @@ public: VkDescriptorPool descriptorPool; VK_CHECK(vkCreateDescriptorPool(_device->vkDevice, &createInfo, nullptr, &descriptorPool)); _pools.push_back({ descriptorPool, {}, {} }); - + _pools[idx].freeSets.resize(_maxSetsPerPool); VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; info.pSetLayouts = _setLayouts.data(); @@ -487,7 +487,7 @@ public: _pools[idx].activeSets.insert(output); return output; } - + void yield(VkDescriptorSet set) { for (DescriptorSetPool &pool : _pools) { if (pool.activeSets.count(set)) { @@ -500,14 +500,14 @@ public: private: CCVKGPUDevice *_device = nullptr; - + struct DescriptorSetPool { VkDescriptorPool vkPool = VK_NULL_HANDLE; set activeSets; vector freeSets; }; vector _pools; - + vector _poolSizes; vector _setLayouts; uint _maxSetsPerPool = 0u; @@ -524,7 +524,7 @@ public: vector bindingIndices; vector descriptorIndices; uint descriptorCount = 0u; - + uint maxSetsPerPool = 10u; CCVKGPUDescriptorSetPool pool; }; @@ -550,7 +550,7 @@ public: } _pools.clear(); } - + CC_INLINE uint getHash(uint queueFamilyIndex) { return (queueFamilyIndex << 10) | _device->curBackBufferIndex; } @@ -567,12 +567,12 @@ public: void request(CCVKGPUCommandBuffer *gpuCommandBuffer) { uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); - + if (_device->curBackBufferIndex != _lastBackBufferIndex) { - reset(); + reset(); // has to be called in the same thread as cb allocations _lastBackBufferIndex = _device->curBackBufferIndex; } - + if (!_pools.count(hash)) { VkCommandPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO}; createInfo.queueFamilyIndex = gpuCommandBuffer->queueFamilyIndex; @@ -597,7 +597,7 @@ public: if (gpuCommandBuffer->vkCommandBuffer) { uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); CCASSERT(_pools.count(hash), "wrong command pool to yield?"); - + CommandBufferPool &pool = _pools[hash]; pool.usedCommandBuffers[gpuCommandBuffer->level].push(gpuCommandBuffer->vkCommandBuffer); } @@ -608,7 +608,7 @@ public: if (getBackBufferIndex(it->first) != _device->curBackBufferIndex) continue; CommandBufferPool &pool = it->second; - VK_CHECK(vkResetCommandPool(_device->vkDevice, pool.vkCommandPool, 0)); + bool needsReset = false; for (uint i = 0u; i < 2u; i++) { CachedArray &usedList = pool.usedCommandBuffers[i]; if (usedList.size()) { @@ -907,7 +907,7 @@ public: : _device(device) { _setsToBeUpdate.resize(device->backBufferCount); } - + void record(CCVKGPUDescriptorSet *gpuDescriptorSet) { update(gpuDescriptorSet); for (uint i = 0u; i < _device->backBufferCount; ++i) { @@ -916,7 +916,7 @@ public: } } } - + void flush() { set &sets = _setsToBeUpdate[_device->curBackBufferIndex]; for (set::iterator it = sets.begin(); it != sets.end(); ++it) { @@ -924,7 +924,7 @@ public: } sets.clear(); } - + private: void update(CCVKGPUDescriptorSet *gpuDescriptorSet) { if (gpuDescriptorSet->pUpdateTemplate) { @@ -1056,7 +1056,7 @@ public: template void checkIn(const TFunc &record, bool immediateSubmission = false) { CCVKGPUCommandBufferPool *commandBufferPool = _device->getCommandBufferPool(std::this_thread::get_id()); - + if (!_cmdBuff.vkCommandBuffer) { commandBufferPool->request(&_cmdBuff); VkCommandBufferBeginInfo beginInfo{VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO}; @@ -1081,7 +1081,7 @@ public: void depart() { if (_cmdBuff.vkCommandBuffer) { CCVKGPUCommandBufferPool *commandBufferPool = _device->getCommandBufferPool(std::this_thread::get_id()); - + VK_CHECK(vkEndCommandBuffer(_cmdBuff.vkCommandBuffer)); _queue->commandBuffers.push(_cmdBuff.vkCommandBuffer); commandBufferPool->yield(&_cmdBuff); From 0875fcdc589f50d4020426c5474dfceb81009c36 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 16 Dec 2020 17:50:34 +0800 Subject: [PATCH 045/270] fix destruction process --- .../base/job-system/job-system-taskflow/TFJobSystem.h | 1 - native/cocos/base/threading/CMakeLists.txt | 7 +++++++ native/cocos/renderer/core/CMakeLists.txt | 6 +----- .../renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp | 3 ++- native/cocos/renderer/gfx-vulkan/VKCommands.cpp | 7 ------- native/cocos/renderer/gfx-vulkan/VKGPUObjects.h | 1 - 6 files changed, 10 insertions(+), 15 deletions(-) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 901ff90657..94a3007792 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -15,7 +15,6 @@ public: TFJobSystem(uint threadCount) noexcept; void run(TFJobGraph &g) noexcept; - void waitForLastRun() noexcept; CC_INLINE uint threadCount() { return _executor.num_workers(); } diff --git a/native/cocos/base/threading/CMakeLists.txt b/native/cocos/base/threading/CMakeLists.txt index 74e5eedb9b..29d5923a50 100644 --- a/native/cocos/base/threading/CMakeLists.txt +++ b/native/cocos/base/threading/CMakeLists.txt @@ -42,6 +42,13 @@ endif() target_link_libraries(${TARGET_NAME}) +if(MSVC) + target_compile_options(${TARGET_NAME} + PUBLIC /utf-8 # MSVC portability + PUBLIC /wd4324 # command encoder alignment + ) +endif() + set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCThreading) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCThreading_d) diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index c465481e71..0040a4448d 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -143,11 +143,7 @@ target_link_libraries(${TARGET_NAME} TFJobSystem Threading) if(MSVC) set_property(TARGET ${TARGET_NAME} PROPERTY LINK_FLAGS "/SUBSYSTEM:WINDOWS") - target_compile_options(${TARGET_NAME} - PUBLIC /MP - PUBLIC /utf-8 # MSVC portability - PUBLIC /wd4324 # command encoder alignment - ) + target_compile_options(${TARGET_NAME} PUBLIC /MP) target_link_directories(${TARGET_NAME} PUBLIC ${COCOS_EXTERNAL_PATH}/win32/libs) endif() diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 8b0e027539..abf5b6702c 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -22,7 +22,8 @@ void CommandBufferProxy::initEncoder() { } void CommandBufferProxy::destroyEncoder() { - _encoder->KickAndWait(); + //_encoder->FinishWriting(); + //_encoder->FlushCommands(); CC_SAFE_DELETE(_encoder); } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index b776ece8e7..7106c29fb0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -37,13 +37,6 @@ THE SOFTWARE. namespace cc { namespace gfx { -CCVKGPUDevice::~CCVKGPUDevice() { - for (CommandBufferPools::iterator it = commandBufferPools.begin(); it != commandBufferPools.end(); ++it) { - CC_SAFE_DELETE(it->second); - } - commandBufferPools.clear(); -} - CCVKGPUCommandBufferPool* CCVKGPUDevice::getCommandBufferPool(std::thread::id threadID) { if (!commandBufferPools.count(threadID)) { commandBufferPools[threadID] = CC_NEW(CCVKGPUCommandBufferPool(this)); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 0f84265f91..53b70cbf28 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -317,7 +317,6 @@ public: CCVKGPUCommandBufferPool*, std::hash>; CommandBufferPools commandBufferPools; - ~CCVKGPUDevice(); CCVKGPUCommandBufferPool* getCommandBufferPool(std::thread::id threadID); }; From 73dc8167fba6e9b219ed2e4a0975a89557e86004 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 16 Dec 2020 19:38:43 +0800 Subject: [PATCH 046/270] robust improv --- native/cocos/base/threading/CommandEncoder.cpp | 4 ++++ .../cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp | 2 -- native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/native/cocos/base/threading/CommandEncoder.cpp b/native/cocos/base/threading/CommandEncoder.cpp index 1b0b7168d5..f0d9756073 100644 --- a/native/cocos/base/threading/CommandEncoder.cpp +++ b/native/cocos/base/threading/CommandEncoder.cpp @@ -135,6 +135,9 @@ void CommandEncoder::TerminateConsumerThread() noexcept EventSem* const pEvent = &event; ReaderContext* const pR = &mR; + + bool immediateMode = mImmediateMode; + mImmediateMode = false; ENCODE_COMMAND_2( this, TerminateConsumerThread, pR, pR, @@ -144,6 +147,7 @@ void CommandEncoder::TerminateConsumerThread() noexcept pR->mFlushingFinished = true; pEvent->Signal(); }); + mImmediateMode = immediateMode; Kick(); event.Wait(); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index abf5b6702c..a866396dea 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -22,8 +22,6 @@ void CommandBufferProxy::initEncoder() { } void CommandBufferProxy::destroyEncoder() { - //_encoder->FinishWriting(); - //_encoder->FlushCommands(); CC_SAFE_DELETE(_encoder); } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp index dfcab71d2a..c2a4840455 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp @@ -85,10 +85,11 @@ void DeviceProxy::destroy() { _remote = nullptr; } - _mainEncoder->TerminateConsumerThread(); ((CommandBufferProxy *)_cmdBuff)->destroyEncoder(); CC_SAFE_DELETE(_cmdBuff); CC_SAFE_DELETE(_queue); + + _mainEncoder->TerminateConsumerThread(); CC_SAFE_DELETE(_mainEncoder); } From 467edbbf988bd3b90c8cac812ce07337bf8fc327 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 16 Dec 2020 17:03:05 +0800 Subject: [PATCH 047/270] Fix depth pass execution --- native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 3991695e47..fcf88cee9a 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -123,6 +123,11 @@ void CCMTLCommandBuffer::end() bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { + const int num = renderPass->getColorRenderTargetNums(); + if (num == 0) + { + return true; + } const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } From dc0230e027ec36cf1685a3deff793b5938998b07 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 17 Dec 2020 21:32:20 +0800 Subject: [PATCH 048/270] Fix image binding fetch issue in metal utils --- native/cocos/renderer/gfx-metal/MTLUtils.mm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index 0c63a59780..3f711bbd77 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -666,13 +666,15 @@ String compileGLSLShader2Msl(const String &src, for (const auto &sampler : resources.sampled_images) { auto set = msl.get_decoration(sampler.id, spv::DecorationDescriptorSet); auto binding = msl.get_decoration(sampler.id, spv::DecorationBinding); - int size = 1, s = -1; + int size = 1; const spirv_cross::SPIRType &type = msl.get_type(sampler.type_id); - if (type.array_size_literal[0]) { + if (type.image.dim == spv::Dim2D) + { size = type.array[0]; } - - for (int i = 0; i < size; ++i) { + + for (int i = 0; i < size; ++i) + { auto mappedBinding = binding + samplerBindingOffset[set] + i; newBinding.desc_set = set; newBinding.binding = binding + i; @@ -693,7 +695,7 @@ String compileGLSLShader2Msl(const String &src, // Set some options. spirv_cross::CompilerMSL::Options options; - // options.set_msl_version(2, 0); + options.set_msl_version(2, 0); #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) options.platform = spirv_cross::CompilerMSL::Options::Platform::iOS; #else From ccab942007eb41e19b7538b8e3acccd980d865c4 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 17 Dec 2020 20:11:15 +0800 Subject: [PATCH 049/270] vk: triple buffer --- .../job-system-taskflow/TFJobGraph.cpp | 5 + .../job-system-taskflow/TFJobGraph.h | 13 +- .../job-system-taskflow/TFJobSystem.h | 2 +- native/cocos/base/memory/StlAlloc.h | 68 ++++++++++ .../core/gfx-proxy/GFXBufferProxy.cpp | 13 +- .../renderer/core/gfx-proxy/GFXBufferProxy.h | 2 +- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 15 ++- .../core/gfx-proxy/GFXCommandBufferProxy.h | 2 +- .../renderer/core/gfx-proxy/GFXDeviceProxy.h | 5 +- .../renderer/core/gfx-proxy/GFXQueueProxy.cpp | 6 +- .../renderer/core/gfx/GFXCommandBuffer.h | 17 +-- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 1 - .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 4 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 1 - .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 4 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 2 +- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 33 ++--- .../renderer/gfx-vulkan/VKCommandBuffer.h | 3 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 17 ++- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 99 ++++++++------- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 32 ++--- native/cocos/renderer/gfx-vulkan/VKDevice.h | 9 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 118 +++++++++--------- native/cocos/renderer/gfx-vulkan/VKStd.h | 2 +- 27 files changed, 282 insertions(+), 197 deletions(-) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp index 4a897a3168..799b5fd079 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -1,6 +1,7 @@ #include "CoreStd.h" #include "TFJobGraph.h" +#include "TFJobSystem.h" namespace cc { @@ -8,4 +9,8 @@ void TFJobGraph::makeEdge(uint j1, uint j2) noexcept { _tasks[j1].precede(_tasks[j2]); } +void TFJobGraph::run() noexcept { + TFJobSystem::getInstance().run(*this); +} + } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index 6924bf9f7e..66993deef4 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -6,7 +6,6 @@ namespace cc { class TFJobGraph final { public: - template uint createJob(Function &&func) noexcept; @@ -17,11 +16,17 @@ public: uint createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept; void makeEdge(uint j1, uint j2) noexcept; - - void waitForAll() { if (_pending) { _future.wait(); _pending = false; } } + + void run() noexcept; + + CC_INLINE void waitForAll() { + if (_pending) { + _future.wait(); + _pending = false; + } + } private: - friend class TFJobSystem; tf::Taskflow _flow; diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 94a3007792..134a5dbfb6 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -11,7 +11,7 @@ public: static TFJobSystem &getInstance() { return _instance; } - TFJobSystem() noexcept : TFJobSystem(std::thread::hardware_concurrency() - 1) {} + TFJobSystem() noexcept : TFJobSystem(std::thread::hardware_concurrency() - 2) {} TFJobSystem(uint threadCount) noexcept; void run(TFJobGraph &g) noexcept; diff --git a/native/cocos/base/memory/StlAlloc.h b/native/cocos/base/memory/StlAlloc.h index b5ca8ef221..2227a7e8b1 100755 --- a/native/cocos/base/memory/StlAlloc.h +++ b/native/cocos/base/memory/StlAlloc.h @@ -144,6 +144,74 @@ inline bool operator!=(SA const &, OtherAllocator const &) { //////////////////////////////////////////////////////////////////// extern CC_DLL SA stl_char_allocator; +#if (CC_STL_MEMORY_ALLOCATOR == CC_STL_MEMORY_ALLOCATOR_CUSTOM) +template > +using vector = std::vector; + +template > +using list = std::list; + +template > +using queue = std::queue; + +template ::type, typename P = std::less> +using priority_queue = std::priority_queue; + +template > +using dequeue = std::deque; + +template , typename A = SA> +using set = std::set; + +template , typename A = SA, STLAP>> +using map = std::map; + +template , typename A = SA, STLAP>> +using multimap = std::multimap; + +template , typename P = std::equal_to, typename A = SA, STLAP>> +using unordered_map = std::unordered_map; +#else +template +using vector = std::vector; + +template +using list = std::list; + +template +using queue = std::queue; + +template ::type, typename P = std::less> +using priority_queue = std::priority_queue; + +template +using dequeue = std::deque; + +template > +using set = std::set; + +template > +using multiset = std::multiset; + +template , typename P = std::equal_to> +using unordered_set = std::unordered_set; + +template , typename P = std::equal_to> +using unordered_multiset = std::unordered_multiset; + +template > +using map = std::map; + +template > +using multimap = std::multimap; + +template , typename P = std::equal_to> +using unordered_map = std::unordered_map; + +template , typename P = std::equal_to> +using unordered_multimap = std::unordered_multimap; +#endif + #define StdStringT(T) std::basic_string, std::allocator> #define CustomMemoryStringT(T) std::basic_string, SA> diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp index 41b6287238..cc257dc59b 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp @@ -30,10 +30,10 @@ bool BufferProxy::initialize(const BufferInfo &info) { bool BufferProxy::initialize(const BufferViewInfo &info) { _usage = info.buffer->getUsage(); _memUsage = info.buffer->getMemUsage(); - _size = info.buffer->getSize(); _flags = info.buffer->getFlags(); - _stride = info.buffer->getStride(); - _count = info.buffer->getCount(); + _offset = info.offset; + _size = _stride = info.range; + _count = 1u; BufferViewInfo remoteInfo = info; remoteInfo.buffer = ((BufferProxy *)info.buffer)->getRemote(); @@ -64,21 +64,20 @@ void BufferProxy::destroy() { } } -void BufferProxy::update(void *buffer, uint offset, uint size) { +void BufferProxy::update(void *buffer, uint size) { CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); uint8_t *remoteBuffer = encoder->Allocate(size); memcpy(remoteBuffer, buffer, size); - ENCODE_COMMAND_4( + ENCODE_COMMAND_3( encoder, BufferUpdate, remote, getRemote(), buffer, remoteBuffer, - offset, offset, size, size, { - remote->update(buffer, offset, size); + remote->update(buffer, size); }); } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h index fa1fa9ec67..b4443ba123 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h @@ -15,7 +15,7 @@ public: virtual bool initialize(const BufferViewInfo &info) override; virtual void destroy() override; virtual void resize(uint size) override; - virtual void update(void *buffer, uint offset, uint size) override; + virtual void update(void *buffer, uint size) override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index a866396dea..5c1637e2e3 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -82,8 +82,6 @@ void CommandBufferProxy::end() { { remote->end(); }); - - _encoder->FinishWriting(); } void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { @@ -268,22 +266,21 @@ void CommandBufferProxy::draw(InputAssembler *ia) { }); } -void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { +void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size) { CommandEncoder *encoder = _encoder; uint8_t *remoteData = encoder->Allocate(size); memcpy(remoteData, data, size); - ENCODE_COMMAND_5( + ENCODE_COMMAND_4( encoder, CommandBufferUpdateBuffer, remote, getRemote(), buff, ((BufferProxy *)buff)->getRemote(), data, remoteData, size, size, - offset, offset, { - remote->updateBuffer(buff, data, size, offset); + remote->updateBuffer(buff, data, size); }); } @@ -324,7 +321,9 @@ void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t const CommandBuffer **remoteCmdBuffs = _encoder->Allocate(count); for (uint i = 0; i < count; ++i) { - remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); + CommandBufferProxy *cmdBuff = (CommandBufferProxy *)cmdBuffs[i]; + cmdBuff->getEncoder()->FinishWriting(); + remoteCmdBuffs[i] = cmdBuff->getRemote(); } bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); @@ -344,7 +343,7 @@ void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t g.createForEachIndexJob(1u, count, 1u, [this](uint i) { ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); }); - JobSystem::getInstance().run(g); + g.run(); ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); g.waitForAll(); } else { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index f60b875263..995ccfcf0a 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -29,7 +29,7 @@ public: virtual void setStencilWriteMask(StencilFace face, uint mask) override; virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) override; virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; + virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h index d4ec7e84a2..bf7a0bce3c 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h @@ -4,8 +4,6 @@ #include "threading/Semaphore.h" #include "GFXProxy.h" -#define MAX_CPU_FRAME_AHEAD 2 - namespace cc { class CommandEncoder; @@ -13,6 +11,7 @@ class CommandEncoder; namespace gfx { class CommandBuffer; +constexpr uint MAX_CPU_FRAME_AHEAD = 1u; // one per CPU core struct SubmitContext final { @@ -64,7 +63,7 @@ protected: bool _multithreaded{false}; CommandEncoder *_mainEncoder{nullptr}; - Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; + Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD + 1}; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp index 648edc29a3..a643ea57c7 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp @@ -44,7 +44,9 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); for (uint i = 0u; i < count; ++i) { - remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); + CommandBufferProxy *cmdBuff = (CommandBufferProxy *)cmdBuffs[i]; + cmdBuff->getEncoder()->FinishWriting(); + remoteCmdBuffs[i] = cmdBuff->getRemote(); } bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); @@ -66,7 +68,7 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence g.createForEachIndexJob(1u, count, 1u, [this](uint i) { ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); }); - JobSystem::getInstance().run(g); + g.run(); ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); g.waitForAll(); } else { diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 55a0d3994f..4b32fd9747 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -35,20 +35,9 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) = 0; - CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { - bindDescriptorSet(set, descriptorSet, 0, nullptr); - } - CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { - bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); - } - - CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } - CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } - // secondary command buffer specifics - CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } - + CC_INLINE void begin() { begin(nullptr, 0, nullptr); } + CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr); } CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 200250c82a..202633129a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -283,7 +283,6 @@ void GLES2CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) GLES2CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); cmd->gpuBuffer = gpuBuffer; cmd->size = size; - cmd->offset = offset; cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index c58c300244..32cf15c751 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -71,13 +71,13 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { } } -void GLES2PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { +void GLES2PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { GLES2GPUBuffer *gpuBuffer = ((GLES2Buffer *)buff)->gpuBuffer(); if (gpuBuffer) { - GLES2CmdFuncUpdateBuffer((GLES2Device *)_device, gpuBuffer, data, offset, size); + GLES2CmdFuncUpdateBuffer((GLES2Device *)_device, gpuBuffer, data, 0u, size); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index fc058b9b9e..30a8a4623d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -16,7 +16,7 @@ public: virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; + virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 9f357e973a..0fd6e56d17 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -288,7 +288,6 @@ void GLES3CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) GLES3CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); cmd->gpuBuffer = gpuBuffer; cmd->size = size; - cmd->offset = offset; cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 42c045c4be..4ea1989112 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -71,13 +71,13 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { } } -void GLES3PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) { +void GLES3PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { GLES3GPUBuffer *gpuBuffer = ((GLES3Buffer *)buff)->gpuBuffer(); if (gpuBuffer) { - GLES3CmdFuncUpdateBuffer((GLES3Device *)_device, gpuBuffer, data, offset, size); + GLES3CmdFuncUpdateBuffer((GLES3Device *)_device, gpuBuffer, data, 0u, size); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 410c631169..1431fe9683 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -16,7 +16,7 @@ public: virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size, uint offset) override; + virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index 8c84592e6a..d4310e19a9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -189,7 +189,7 @@ void CCVKBuffer::update(void *buffer, uint size) { CommandBuffer *cmdBuff = _device->getCommandBuffer(); cmdBuff->begin(); const CCVKGPUCommandBuffer *gpuCommandBuffer = ((CCVKCommandBuffer *)cmdBuff)->gpuCommandBuffer(); - CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, _gpuBuffer, buffer, offset, size, gpuCommandBuffer); + CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, _gpuBuffer, buffer, size, gpuCommandBuffer); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index f543928b7e..d656518743 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -57,7 +57,7 @@ bool CCVKCommandBuffer::initialize(const CommandBufferInfo &info) { size_t setCount = ((CCVKDevice *)_device)->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); _curVkDescriptorSets.resize(setCount); - _curDynamicOffsets.resize(setCount); + _curDynamicOffsetPtrs.resize(setCount); _curDynamicOffsetCounts.resize(setCount); return true; @@ -99,8 +99,10 @@ void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer inheritanceInfo.subpass = subpass; if (frameBuffer) { CCVKGPUFramebuffer *gpuFBO = ((CCVKFramebuffer *)frameBuffer)->gpuFBO(); - if (gpuFBO->isOffscreen) inheritanceInfo.framebuffer = gpuFBO->vkFramebuffer; - else inheritanceInfo.framebuffer = gpuFBO->swapchain->vkSwapchainFramebufferListMap[gpuFBO][gpuFBO->swapchain->curImageIndex]; + if (gpuFBO->isOffscreen) + inheritanceInfo.framebuffer = gpuFBO->vkFramebuffer; + else + inheritanceInfo.framebuffer = gpuFBO->swapchain->vkSwapchainFramebufferListMap[gpuFBO][gpuFBO->swapchain->curImageIndex]; } beginInfo.pInheritanceInfo = &inheritanceInfo; beginInfo.flags |= VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT; @@ -168,7 +170,8 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo passBeginInfo.clearValueCount = clearValues.size(); passBeginInfo.pClearValues = clearValues.data(); passBeginInfo.renderArea = {{(int)renderArea.x, (int)renderArea.y}, {renderArea.width, renderArea.height}}; - vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, fromSecondaryCB ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); + vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, + fromSecondaryCB ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); if (!fromSecondaryCB) { VkViewport viewport{(float)renderArea.x, (float)renderArea.y, (float)renderArea.width, (float)renderArea.height, 0.f, 1.f}; @@ -205,7 +208,7 @@ void CCVKCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } if (dynamicOffsetCount) { - _curDynamicOffsets[set] = dynamicOffsets; + _curDynamicOffsetPtrs[set] = dynamicOffsets; _curDynamicOffsetCounts[set] = dynamicOffsetCount; if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } @@ -403,21 +406,22 @@ void CCVKCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint count if (!count) return; _vkCommandBuffers.resize(count); + uint validCount = 0u; for (uint i = 0u; i < count; ++i) { CCVKCommandBuffer *cmdBuff = (CCVKCommandBuffer *)cmdBuffs[i]; - _vkCommandBuffers[i] = cmdBuff->_gpuCommandBuffer->vkCommandBuffer; + if (cmdBuff->_gpuCommandBuffer->vkCommandBuffer) { + _vkCommandBuffers[validCount++] = cmdBuff->_gpuCommandBuffer->vkCommandBuffer; - _numDrawCalls += cmdBuff->_numDrawCalls; - _numInstances += cmdBuff->_numInstances; - _numTriangles += cmdBuff->_numTriangles; + _numDrawCalls += cmdBuff->getNumDrawCalls(); + _numInstances += cmdBuff->getNumInstances(); + _numTriangles += cmdBuff->getNumTris(); + cmdBuff->_gpuCommandBuffer->vkCommandBuffer = VK_NULL_HANDLE; } } if (validCount) { vkCmdExecuteCommands(_gpuCommandBuffer->vkCommandBuffer, validCount, _vkCommandBuffers.data()); } - - vkCmdExecuteCommands(_gpuCommandBuffer->vkCommandBuffer, count, _vkCommandBuffers.data()); } void CCVKCommandBuffer::updateBuffer(Buffer *buffer, const void *data, uint size) { @@ -436,14 +440,15 @@ void CCVKCommandBuffer::bindDescriptorSets() { uint dirtyDescriptorSetCount = _curGPUDescriptorSets.size() - _firstDirtyDescriptorSet; uint dynamicOffsetStartIndex = pipelineLayout->dynamicOffsetOffsets[_firstDirtyDescriptorSet]; uint dynamicOffsetCount = pipelineLayout->dynamicOffsetCount - dynamicOffsetStartIndex; - uint *dynamicOffsets = pipelineLayout->dynamicOffsets.data() + dynamicOffsetStartIndex; + _curDynamicOffsets.resize(dynamicOffsetCount); + uint *dynamicOffsets = _curDynamicOffsets.data(); for (uint i = 0u, offsetAcc = 0u; i < dirtyDescriptorSetCount; i++) { uint set = _firstDirtyDescriptorSet + i; - _curVkDescriptorSets[set] = _curGPUDescriptorSets[set]->vkDescriptorSets[gpuDevice->curBackBufferIndex]; + _curVkDescriptorSets[set] = _curGPUDescriptorSets[set]->instances[gpuDevice->curBackBufferIndex].vkDescriptorSet; uint offsetCount = pipelineLayout->dynamicOffsetOffsets[set + 1] - dynamicOffsetStartIndex; CCASSERT(_curDynamicOffsetCounts[set] == offsetCount, "dynamic offset count mismatch"); if (offsetCount > 0) { - memcpy(dynamicOffsets + offsetAcc, _curDynamicOffsets[set], offsetCount * sizeof(uint)); + memcpy(dynamicOffsets + offsetAcc, _curDynamicOffsetPtrs[set], offsetCount * sizeof(uint)); offsetAcc += offsetCount; } uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 63741823b3..0443e4b8cd 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -70,7 +70,8 @@ private: CCVKGPUPipelineState *_curGPUPipelineState = nullptr; vector _curGPUDescriptorSets; vector _curVkDescriptorSets; - vector _curDynamicOffsets; + vector _curDynamicOffsets; + vector _curDynamicOffsetPtrs; vector _curDynamicOffsetCounts; uint _firstDirtyDescriptorSet = UINT_MAX; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 7106c29fb0..5e5da8e0e1 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -37,7 +37,7 @@ THE SOFTWARE. namespace cc { namespace gfx { -CCVKGPUCommandBufferPool* CCVKGPUDevice::getCommandBufferPool(std::thread::id threadID) { +CCVKGPUCommandBufferPool *CCVKGPUDevice::getCommandBufferPool(std::thread::id threadID) { if (!commandBufferPools.count(threadID)) { commandBufferPools[threadID] = CC_NEW(CCVKGPUCommandBufferPool(this)); } @@ -198,13 +198,9 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY; } else if (gpuBuffer->memUsage == (MemoryUsage::HOST | MemoryUsage::DEVICE)) { - /* * gpuBuffer->instanceSize = roundUp(gpuBuffer->size, device->getUboOffsetAlignment()); bufferInfo.size = gpuBuffer->instanceSize * device->gpuDevice()->backBufferCount; allocInfo.flags = VMA_ALLOCATION_CREATE_MAPPED_BIT; - /* */ - bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; - /* */ allocInfo.usage = VMA_MEMORY_USAGE_CPU_TO_GPU; } @@ -643,17 +639,18 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const sizeToUpload = size; } - // if (!cmdBuffer && gpuBuffer->mappedData) { - // device->gpuTransportHub()->checkIn(gpuBuffer->mappedData + offset, dataToUpload, sizeToUpload); - // return; - // } + // back buffer instances update command + if (gpuBuffer->instanceSize) { + device->gpuBufferHub()->record(gpuBuffer, dataToUpload, sizeToUpload); + return; + } CCVKGPUBuffer stagingBuffer; stagingBuffer.size = sizeToUpload; device->gpuStagingBufferPool()->alloc(&stagingBuffer); memcpy(stagingBuffer.mappedData, dataToUpload, sizeToUpload); - VkBufferCopy region{stagingBuffer.startOffset, gpuBuffer->startOffset + offset, sizeToUpload}; + VkBufferCopy region{stagingBuffer.startOffset, gpuBuffer->startOffset, sizeToUpload}; auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *cmdBuffer) { vkCmdCopyBuffer(cmdBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuBuffer->vkBuffer, 1, ®ion); diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index b3b44ab419..cbe9ce352f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 0 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index e89e8a3363..081a90a64c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -58,55 +58,75 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { _gpuDescriptorSet = CC_NEW(CCVKGPUDescriptorSet); _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount, {}); - _gpuDescriptorSet->descriptorInfos.resize(descriptorCount, {}); - for (size_t i = 0u, k = 0u; i < bindingCount; i++) { + for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; for (uint j = 0; j < binding.count; ++j, ++k) { _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; } } + CCVKGPUDevice *gpuDevice = ((CCVKDevice *)_device)->gpuDevice(); if (gpuDevice->useDescriptorUpdateTemplate) { _gpuDescriptorSet->pUpdateTemplate = &gpuPipelineLayout->vkDescriptorUpdateTemplates[info.setIndex]; - } else { - vector &entries = _gpuDescriptorSet->descriptorUpdateEntries; - entries.resize(descriptorCount, {VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET}); + } + _gpuDescriptorSet->instances.resize(gpuDevice->backBufferCount); - for (size_t i = 0u, j = 0u; i < descriptorCount; i++) { - const VkDescriptorSetLayoutBinding &descriptor = gpuDescriptorSetLayout->vkBindings[i]; - for (size_t k = 0u; k < descriptor.descriptorCount; k++, j++) { - entries[j].dstBinding = descriptor.binding; - entries[j].dstArrayElement = k; - entries[j].descriptorCount = 1; // better not to assume that the descriptor infos would be contiguous - entries[j].descriptorType = descriptor.descriptorType; - switch (entries[j].descriptorType) { - case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: - case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER: - case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: - case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC: - entries[j].pBufferInfo = &_gpuDescriptorSet->descriptorInfos[j].buffer; - break; - case VK_DESCRIPTOR_TYPE_SAMPLER: - case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: - case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE: - case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE: - case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT: - entries[j].pImageInfo = &_gpuDescriptorSet->descriptorInfos[j].image; - break; - case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: - case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: - entries[j].pTexelBufferView = &_gpuDescriptorSet->descriptorInfos[j].texelBufferView; - break; - default: break; + for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { + CCVKGPUDescriptorSet::DescriptorSetInstance &instance = _gpuDescriptorSet->instances[t]; + instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); + instance.descriptorInfos.resize(descriptorCount, {}); + + for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { + const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; + for (uint j = 0; j < binding.count; ++j, ++k) { + if ((uint)binding.descriptorType & DESCRIPTOR_BUFFER_TYPE) { + instance.descriptorInfos[k].buffer.buffer = gpuDevice->defaultBuffer.vkBuffer; + instance.descriptorInfos[k].buffer.offset = gpuDevice->defaultBuffer.startOffset; + instance.descriptorInfos[k].buffer.range = gpuDevice->defaultBuffer.size; + } else if ((uint)binding.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { + instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; + instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; + instance.descriptorInfos[k].image.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; } } } - } - _gpuDescriptorSet->vkDescriptorSets.resize(gpuDevice->backBufferCount); - for (uint i = 0u; i < gpuDevice->backBufferCount; ++i) { - _gpuDescriptorSet->vkDescriptorSets[i] = gpuDescriptorSetLayout->pool.request(); + if (!gpuDevice->useDescriptorUpdateTemplate) { + vector &entries = instance.descriptorUpdateEntries; + entries.resize(descriptorCount, {VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET}); + + for (size_t i = 0u, j = 0u; i < descriptorCount; i++) { + const VkDescriptorSetLayoutBinding &descriptor = gpuDescriptorSetLayout->vkBindings[i]; + for (size_t k = 0u; k < descriptor.descriptorCount; k++, j++) { + entries[j].dstSet = instance.vkDescriptorSet; + entries[j].dstBinding = descriptor.binding; + entries[j].dstArrayElement = k; + entries[j].descriptorCount = 1; // better not to assume that the descriptor infos would be contiguous + entries[j].descriptorType = descriptor.descriptorType; + switch (entries[j].descriptorType) { + case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: + case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER: + case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC: + case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC: + entries[j].pBufferInfo = &instance.descriptorInfos[j].buffer; + break; + case VK_DESCRIPTOR_TYPE_SAMPLER: + case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: + case VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE: + case VK_DESCRIPTOR_TYPE_STORAGE_IMAGE: + case VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT: + entries[j].pImageInfo = &instance.descriptorInfos[j].image; + break; + case VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER: + case VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER: + entries[j].pTexelBufferView = &instance.descriptorInfos[j].texelBufferView; + break; + default: break; + } + } + } + } } return true; @@ -135,17 +155,12 @@ void CCVKDescriptorSet::destroy() { } } - if (gpuDescriptorSetLayout && instance.vkDescriptorSet) { + if (gpuDescriptorSetLayout) { gpuDescriptorSetLayout->pool.yield(instance.vkDescriptorSet); } } - CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); - if (gpuDescriptorSetLayout) { - for (uint i = 0u; i < _gpuDescriptorSet->vkDescriptorSets.size(); ++i) { - gpuDescriptorSetLayout->pool.yield(_gpuDescriptorSet->vkDescriptorSets[i]); - } - } + ((CCVKDevice *)_device)->gpuDescriptorSetHub()->erase(_gpuDescriptorSet); CC_DELETE(_gpuDescriptorSet); _gpuDescriptorSet = nullptr; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index bcb5a77a3f..43c5ec77d0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -292,13 +292,12 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { for (uint i = 0u; i < backBufferCount; i++) { _gpuFencePools.push_back(CC_NEW(CCVKGPUFencePool(_gpuDevice))); _gpuRecycleBins.push_back(CC_NEW(CCVKGPURecycleBin(_gpuDevice))); - _gpuTransportHubs.push_back(CC_NEW(CCVKGPUTransportHub(_gpuDevice))); _gpuStagingBufferPools.push_back(CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice))); - - _gpuTransportHubs[i]->link(((CCVKQueue *)_queue)->gpuQueue(), - _gpuFencePools[i], - _gpuStagingBufferPools[i]); } + + _gpuBufferHub = CC_NEW(CCVKGPUBufferHub(_gpuDevice)); + _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice)); + _gpuTransportHub->link(((CCVKQueue *)_queue)->gpuQueue()); _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); @@ -340,7 +339,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _depthStencilTextures.push_back(texture); } - _gpuSwapchain = CC_NEW(CCVKGPUSwapchain); + _gpuDevice->swapchain = _gpuSwapchain = CC_NEW(CCVKGPUSwapchain); checkSwapchainStatus(); ///////////////////// Print Debug Info ///////////////////// @@ -394,6 +393,8 @@ void CCVKDevice::destroy() { CC_SAFE_DESTROY(_queue); CC_SAFE_DESTROY(_cmdBuff); + CC_SAFE_DELETE(_gpuBufferHub); + CC_SAFE_DELETE(_gpuTransportHub); CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); CC_SAFE_DELETE(_gpuDescriptorSetHub); @@ -403,12 +404,10 @@ void CCVKDevice::destroy() { _gpuRecycleBins[i]->clear(); CC_SAFE_DELETE(_gpuStagingBufferPools[i]); - CC_SAFE_DELETE(_gpuTransportHubs[i]); CC_SAFE_DELETE(_gpuRecycleBins[i]); CC_SAFE_DELETE(_gpuFencePools[i]); } _gpuStagingBufferPools.clear(); - _gpuTransportHubs.clear(); _gpuRecycleBins.clear(); _gpuFencePools.clear(); @@ -481,6 +480,7 @@ void CCVKDevice::acquire() { queue->gpuQueue()->nextWaitSemaphore = VK_NULL_HANDLE; queue->gpuQueue()->nextSignalSemaphore = VK_NULL_HANDLE; + _gpuBufferHub->flush(); _gpuDescriptorSetHub->flush(); _gpuSemaphorePool->reset(); @@ -496,12 +496,9 @@ void CCVKDevice::acquire() { gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); } - // reset everything only when no pending commands - if (!((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer()->began) { - gpuFencePool()->reset(); - gpuRecycleBin()->clear(); - gpuStagingBufferPool()->reset(); - } + gpuFencePool()->reset(); + gpuRecycleBin()->clear(); + gpuStagingBufferPool()->reset(); queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; queue->gpuQueue()->nextSignalSemaphore = _gpuSemaphorePool->alloc(); @@ -530,12 +527,9 @@ void CCVKDevice::present() { } } -// objects recycled before acquire should be put into last frame's bin CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuSwapchain->curImageIndex]; } - -CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuDevice->curBackBufferIndex]; } -CCVKGPUTransportHub *CCVKDevice::gpuTransportHub() { return _gpuTransportHubs[_gpuDevice->curBackBufferIndex]; } -CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } +CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuSwapchain->curImageIndex]; } +CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuSwapchain->curImageIndex]; } CommandBuffer *CCVKDevice::createCommandBuffer() { return CC_NEW(CCVKCommandBuffer(this)); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index f4d9f2ef35..9e990bd7c4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -33,13 +33,14 @@ class CCVKGPUDevice; class CCVKGPUContext; class CCVKGPUSwapchain; +class CCVKGPUBufferHub; +class CCVKGPUTransportHub; class CCVKGPUDescriptorHub; class CCVKGPUSemaphorePool; class CCVKGPUDescriptorSetHub; class CCVKGPUFencePool; class CCVKGPURecycleBin; -class CCVKGPUTransportHub; class CCVKGPUStagingBufferPool; class CC_VULKAN_API CCVKDevice final : public Device { @@ -96,13 +97,14 @@ public: CC_INLINE CCVKGPUDevice *gpuDevice() const { return _gpuDevice; } CC_INLINE CCVKGPUSwapchain *gpuSwapchain() { return _gpuSwapchain; } + CC_INLINE CCVKGPUBufferHub *gpuBufferHub() { return _gpuBufferHub; } + CC_INLINE CCVKGPUTransportHub *gpuTransportHub() { return _gpuTransportHub; } CC_INLINE CCVKGPUDescriptorHub *gpuDescriptorHub() { return _gpuDescriptorHub; } CC_INLINE CCVKGPUSemaphorePool *gpuSemaphorePool() { return _gpuSemaphorePool; } CC_INLINE CCVKGPUDescriptorSetHub *gpuDescriptorSetHub() { return _gpuDescriptorSetHub; } CCVKGPUFencePool *gpuFencePool(); CCVKGPURecycleBin *gpuRecycleBin(); - CCVKGPUTransportHub *gpuTransportHub(); CCVKGPUStagingBufferPool *gpuStagingBufferPool(); private: @@ -131,9 +133,10 @@ private: vector _gpuFencePools; vector _gpuRecycleBins; - vector _gpuTransportHubs; vector _gpuStagingBufferPools; + CCVKGPUBufferHub *_gpuBufferHub = nullptr; + CCVKGPUTransportHub *_gpuTransportHub = nullptr; CCVKGPUDescriptorHub *_gpuDescriptorHub = nullptr; CCVKGPUSemaphorePool *_gpuSemaphorePool = nullptr; CCVKGPUDescriptorSetHub *_gpuDescriptorSetHub = nullptr; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 53b70cbf28..620f96d256 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -249,10 +249,12 @@ public: // references VkDescriptorUpdateTemplate *pUpdateTemplate = nullptr; - vector vkDescriptorSets; // per swapchain image - - vector descriptorInfos; - vector descriptorUpdateEntries; + struct DescriptorSetInstance { + VkDescriptorSet vkDescriptorSet = VK_NULL_HANDLE; + vector descriptorInfos; + vector descriptorUpdateEntries; + }; + vector instances; // per swapchain image }; class CCVKGPUDescriptorSetLayout; @@ -313,11 +315,13 @@ public: CCVKGPUTextureView defaultTextureView; CCVKGPUBuffer defaultBuffer; - using CommandBufferPools = tbb::concurrent_unordered_map>; + CCVKGPUSwapchain *swapchain = nullptr; // reference + + using CommandBufferPools = tbb::concurrent_unordered_map< + std::thread::id, CCVKGPUCommandBufferPool *, std::hash>; CommandBufferPools commandBufferPools; - CCVKGPUCommandBufferPool* getCommandBufferPool(std::thread::id threadID); + CCVKGPUCommandBufferPool *getCommandBufferPool(std::thread::id threadID); }; /** @@ -440,7 +444,7 @@ public: unordered_map typeMap; for (size_t i = 0u; i < bindings.size(); i++) { VkDescriptorSetLayoutBinding &vkBinding = bindings[i]; - typeMap[vkBinding.descriptorType] += maxSetsPerPool; + typeMap[vkBinding.descriptorType] += maxSetsPerPool * vkBinding.descriptorCount; } _poolSizes.clear(); @@ -471,7 +475,7 @@ public: VkDescriptorPool descriptorPool; VK_CHECK(vkCreateDescriptorPool(_device->vkDevice, &createInfo, nullptr, &descriptorPool)); - _pools.push_back({ descriptorPool, {}, {} }); + _pools.push_back({descriptorPool, {}, {}}); _pools[idx].freeSets.resize(_maxSetsPerPool); VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; @@ -502,7 +506,7 @@ private: struct DescriptorSetPool { VkDescriptorPool vkPool = VK_NULL_HANDLE; - set activeSets; + unordered_set activeSets; vector freeSets; }; vector _pools; @@ -568,7 +572,12 @@ public: uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); if (_device->curBackBufferIndex != _lastBackBufferIndex) { - reset(); // has to be called in the same thread as cb allocations + // don't reset before acquire or the in-flight cbs are not finished yet. + // this imposes an implicit assumption: commands recorded before acquire + // can only be a low-frequency operation, or else the comman pool would never get reset. + if (_device->curBackBufferIndex == _device->swapchain->curImageIndex) { + reset(); // has to be called in the same thread as cb allocations so can't do this in device + } _lastBackBufferIndex = _device->curBackBufferIndex; } @@ -855,9 +864,7 @@ public: void record(CCVKGPUDescriptorSet *gpuDescriptorSet) { update(gpuDescriptorSet); for (uint i = 0u; i < _device->backBufferCount; ++i) { - if (i == _device->curBackBufferIndex) { - _setsToBeUpdated[i].erase(gpuDescriptorSet); - } else { + if (i != _device->curBackBufferIndex) { _setsToBeUpdated[i].insert(gpuDescriptorSet); } } @@ -892,55 +899,58 @@ private: } } - unordered_map> _buffers; - unordered_map> _textures; - unordered_map> _samplers; + CCVKGPUDevice *_device = nullptr; + vector> _setsToBeUpdated; }; /** - * Manages descriptor set update events, across all back buffer instances. + * Manages buffer update events, across all back buffer instances. */ -class CCVKGPUDescriptorSetHub final : public Object { +class CCVKGPUBufferHub final : public Object { public: - CCVKGPUDescriptorSetHub(CCVKGPUDevice *device) + CCVKGPUBufferHub(CCVKGPUDevice *device) : _device(device) { - _setsToBeUpdate.resize(device->backBufferCount); + _buffersToBeUpdated.resize(device->backBufferCount); } - void record(CCVKGPUDescriptorSet *gpuDescriptorSet) { - update(gpuDescriptorSet); + void record(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { + src = update(gpuBuffer, src, size); // copy from self afterwards for (uint i = 0u; i < _device->backBufferCount; ++i) { if (i != _device->curBackBufferIndex) { - _setsToBeUpdate[i].insert(gpuDescriptorSet); + _buffersToBeUpdated[i][gpuBuffer] = {src, size}; + } + } + } + + void erase(CCVKGPUBuffer *gpuBuffer) { + for (uint i = 0u; i < _device->backBufferCount; ++i) { + if (_buffersToBeUpdated[i].count(gpuBuffer)) { + _buffersToBeUpdated[i].erase(gpuBuffer); } } } void flush() { - set &sets = _setsToBeUpdate[_device->curBackBufferIndex]; - for (set::iterator it = sets.begin(); it != sets.end(); ++it) { - update(*it); + unordered_map &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; + for (unordered_map::iterator it = buffers.begin(); it != buffers.end(); ++it) { + update(it->first, it->second.src, it->second.size); } - sets.clear(); + buffers.clear(); } private: - void update(CCVKGPUDescriptorSet *gpuDescriptorSet) { - if (gpuDescriptorSet->pUpdateTemplate) { - vkUpdateDescriptorSetWithTemplateKHR(_device->vkDevice, - gpuDescriptorSet->vkDescriptorSets[_device->curBackBufferIndex], - *gpuDescriptorSet->pUpdateTemplate, gpuDescriptorSet->descriptorInfos.data()); - } else { - vector &entries = gpuDescriptorSet->descriptorUpdateEntries; - VkDescriptorSet set = gpuDescriptorSet->vkDescriptorSets[_device->curBackBufferIndex]; - - for (uint i = 0u; i < entries.size(); i++) entries[i].dstSet = set; - vkUpdateDescriptorSets(_device->vkDevice, entries.size(), entries.data(), 0, nullptr); - } + struct BufferUpdate { + const void *src = nullptr; + size_t size = 0u; + }; + uint8_t *update(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { + uint8_t *dst = gpuBuffer->mappedData + _device->curBackBufferIndex * gpuBuffer->instanceSize; + memcpy(dst, src, size); + return dst; } CCVKGPUDevice *_device = nullptr; - vector> _setsToBeUpdate; + vector> _buffersToBeUpdated; }; /** @@ -1036,10 +1046,15 @@ public: : _device(device) { } - void link(CCVKGPUQueue *queue, CCVKGPUFencePool *fencePool, CCVKGPUStagingBufferPool *stagingBufferPool) { + ~CCVKGPUTransportHub() { + if (_fence) { + vkDestroyFence(_device->vkDevice, _fence, nullptr); + _fence = VK_NULL_HANDLE; + } + } + + void link(CCVKGPUQueue *queue) { _queue = queue; - _fencePool = fencePool; - _stagingBufferPool = stagingBufferPool; _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; _cmdBuff.queueFamilyIndex = _queue->queueFamilyIndex; @@ -1070,8 +1085,9 @@ public: VkSubmitInfo submitInfo{VK_STRUCTURE_TYPE_SUBMIT_INFO}; submitInfo.commandBufferCount = 1; submitInfo.pCommandBuffers = &_cmdBuff.vkCommandBuffer; - VK_CHECK(vkQueueSubmit(_queue->vkQueue, 1, &submitInfo, fence)); - VK_CHECK(vkWaitForFences(_device->vkDevice, 1, &fence, VK_TRUE, DEFAULT_TIMEOUT)); + VK_CHECK(vkQueueSubmit(_queue->vkQueue, 1, &submitInfo, _fence)); + VK_CHECK(vkWaitForFences(_device->vkDevice, 1, &_fence, VK_TRUE, DEFAULT_TIMEOUT)); + vkResetFences(_device->vkDevice, 1, &_fence); commandBufferPool->yield(&_cmdBuff); _cmdBuff.vkCommandBuffer = VK_NULL_HANDLE; } @@ -1086,21 +1102,11 @@ public: commandBufferPool->yield(&_cmdBuff); _cmdBuff.vkCommandBuffer = VK_NULL_HANDLE; } - - if (_count) { - for (uint i = 0u; i < _count; i++) { - const Transfer &transfer = _transfers[i]; - memcpy(transfer.dst, transfer.src, transfer.size); - } - _count = 0u; - } } private: CCVKGPUDevice *_device = nullptr; CCVKGPUQueue *_queue = nullptr; - CCVKGPUFencePool *_fencePool = nullptr; - CCVKGPUStagingBufferPool *_stagingBufferPool = nullptr; CCVKGPUCommandBuffer _cmdBuff; VkFence _fence = VK_NULL_HANDLE; diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index 738c7a3608..0d3135fc2f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -45,7 +45,7 @@ THE SOFTWARE. do { \ VkResult err = x; \ if (err) { \ - CC_LOG_ERROR("%s returned Vulkan error: 0x%x", #x, err); \ + CC_LOG_ERROR("%s returned Vulkan error: %d", #x, err); \ CCASSERT(0, "Vulkan Error"); \ } \ } while (0) From 4259a34eb0870a5c8957ca89c468b54c2c897a51 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Fri, 18 Dec 2020 23:59:03 +0800 Subject: [PATCH 050/270] Correct sampled images parse --- native/cocos/renderer/gfx-metal/MTLUtils.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index 3f711bbd77..627191fa9b 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -666,9 +666,9 @@ String compileGLSLShader2Msl(const String &src, for (const auto &sampler : resources.sampled_images) { auto set = msl.get_decoration(sampler.id, spv::DecorationDescriptorSet); auto binding = msl.get_decoration(sampler.id, spv::DecorationBinding); - int size = 1; + int size = 1, s = -1; const spirv_cross::SPIRType &type = msl.get_type(sampler.type_id); - if (type.image.dim == spv::Dim2D) + if (type.array_size_literal[0]) { size = type.array[0]; } From 118053adec9c065675f419f3f7673ec2d93276bc Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sat, 19 Dec 2020 16:48:07 +0800 Subject: [PATCH 051/270] tbb job system --- .../job-system-taskflow/CMakeLists.txt | 1 - .../job-system-taskflow/TFJobGraph.cpp | 6 +- .../job-system-taskflow/TFJobGraph.h | 32 ++++--- .../job-system-taskflow/TFJobSystem.cpp | 10 +-- .../job-system-taskflow/TFJobSystem.h | 18 ++-- .../job-system/job-system-tbb/CMakeLists.txt | 22 ++++- .../job-system/job-system-tbb/TBBJobGraph.cpp | 31 +++++++ .../job-system/job-system-tbb/TBBJobGraph.h | 84 +++++++++++++++++-- .../job-system-tbb/TBBJobSystem.cpp | 12 +++ .../job-system/job-system-tbb/TBBJobSystem.h | 31 +++++-- native/cocos/renderer/core/CMakeLists.txt | 2 +- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 7 +- .../renderer/core/gfx-proxy/GFXQueueProxy.cpp | 7 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 1 + .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 8 +- 15 files changed, 216 insertions(+), 56 deletions(-) diff --git a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt index 16d8d0caea..a5b4fe9f00 100644 --- a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt +++ b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt @@ -6,7 +6,6 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/taskflow - ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH} ${COCOS_SRC_PATH}/base ${COCOS_SRC_PATH}/renderer/core diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp index 799b5fd079..7a8c77ffc8 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -9,8 +9,10 @@ void TFJobGraph::makeEdge(uint j1, uint j2) noexcept { _tasks[j1].precede(_tasks[j2]); } -void TFJobGraph::run() noexcept { - TFJobSystem::getInstance().run(*this); +void TFJobGraph::run(uint startJob) noexcept { + if (_pending) return; + _future = _executor->run(_flow); + _pending = true; } } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index 66993deef4..ff5614a97a 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -1,23 +1,29 @@ #pragma once +#include "TFJobSystem.h" #include "taskflow/taskflow.hpp" namespace cc { +using TFJobToken = void; + class TFJobGraph final { public: + TFJobGraph(TFJobSystem *system) : _executor(&system->_executor) {} + ~TFJobGraph() { _tasks.clear(); } + template uint createJob(Function &&func) noexcept; - template - uint createForEachIndexJob(B &&begin, E &&end, S &&step, Function &&func) noexcept; + template + uint createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept; - template - uint createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept; + template + uint createReduceJob(uint begin, uint end, uint acc, Function &&func) noexcept; void makeEdge(uint j1, uint j2) noexcept; - void run() noexcept; + void run(uint startJob) noexcept; CC_INLINE void waitForAll() { if (_pending) { @@ -27,7 +33,7 @@ public: } private: - friend class TFJobSystem; + tf::Executor *_executor = nullptr; tf::Taskflow _flow; vector _tasks; @@ -39,19 +45,19 @@ private: template uint TFJobGraph::createJob(Function &&func) noexcept { _tasks.emplace_back(_flow.emplace(func)); - return _tasks.size(); + return _tasks.size() - 1u; } -template -uint TFJobGraph::createForEachIndexJob(B &&begin, E &&end, S &&step, Function &&func) noexcept { +template +uint TFJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept { _tasks.emplace_back(_flow.for_each_index(begin, end, step, func)); - return _tasks.size(); + return _tasks.size() - 1u; } -template -uint TFJobGraph::createReduceJob(B &&begin, E &&end, T &acc, Function &&func) noexcept { +template +uint TFJobGraph::createReduceJob(uint begin, uint end, uint acc, Function &&func) noexcept { _tasks.emplace_back(_flow.reduce(begin, end, acc, func)); - return _tasks.size(); + return _tasks.size() - 1u; } } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp index a174c882ca..a7015e6f91 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp @@ -5,18 +5,12 @@ namespace cc { -TFJobSystem TFJobSystem::_instance; +TFJobSystem *TFJobSystem::_instance = nullptr; TFJobSystem::TFJobSystem(uint threadCount) noexcept : _executor(threadCount) { - CC_LOG_INFO("Job system initialized: %d worker threads", threadCount); -} - -void TFJobSystem::run(TFJobGraph &g) noexcept { - if (g._pending) return; - g._future = _executor.run(g._flow); - g._pending = true; + CC_LOG_INFO("Taskflow Job system initialized: %d worker threads", threadCount); } } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 134a5dbfb6..6512263611 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -4,22 +4,28 @@ namespace cc { -class TFJobGraph; - class TFJobSystem final { public: + static TFJobSystem *getInstance() { + if (!_instance) { + _instance = CC_NEW(TFJobSystem); + } + return _instance; + } - static TFJobSystem &getInstance() { return _instance; } + static void destroyInstance() { + CC_SAFE_DELETE(_instance); + } TFJobSystem() noexcept : TFJobSystem(std::thread::hardware_concurrency() - 2) {} TFJobSystem(uint threadCount) noexcept; - void run(TFJobGraph &g) noexcept; - CC_INLINE uint threadCount() { return _executor.num_workers(); } private: - static TFJobSystem _instance; + friend class TFJobGraph; + + static TFJobSystem *_instance; tf::Executor _executor; }; diff --git a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt index 45bbfbffe6..ab1ef4d4e2 100644 --- a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt +++ b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt @@ -5,7 +5,7 @@ message(STATUS "Target: ${TARGET_NAME}...") # set include files set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/tbb + ${GFX_EXTERNAL_PATH}/tbb/include ${COCOS_SRC_PATH} ${COCOS_SRC_PATH}/base ${COCOS_SRC_PATH}/renderer/core @@ -23,7 +23,23 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) endif() +set(CC_BASE_HEADERS + ${COCOS_SRC_PATH}/base/TypeDef.h + ${COCOS_SRC_PATH}/base/Log.h + ${COCOS_SRC_PATH}/base/Object.h + ${COCOS_SRC_PATH}/base/memory/Memory.h + ${COCOS_SRC_PATH}/math/Math.h +) + +set(CC_BASE_SOURCES + ${COCOS_SRC_PATH}/base/Log.cpp + ${COCOS_SRC_PATH}/base/memory/Memory.cpp + ${COCOS_SRC_PATH}/math/Math.cpp +) + set(ALL_FILES + ${CC_BASE_HEADERS} + ${CC_BASE_SOURCES} ${HEADER_FILES} ${SOURCE_CPP_FILES} ${SOURCE_C_FILES} @@ -39,11 +55,13 @@ endif() if (COCOS_STATIC) add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) + set(TBB_LIBRARIES tbb_static tbbmalloc_static tbbmalloc_proxy_static) else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) + set(TBB_LIBRARIES tbb tbbmalloc tbbmalloc_proxy) endif() -target_link_libraries(${TARGET_NAME}) +target_link_libraries(${TARGET_NAME} ${TBB_LIBRARIES}) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCTBBJobSystem) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCTBBJobSystem_d) diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp index 4ad15dacaf..ec097bb7b0 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -1,3 +1,34 @@ #include "CoreStd.h" #include "TBBJobGraph.h" + +namespace cc { + +void TBBJobGraph::makeEdge(uint j1, uint j2) noexcept { + if (j1 & PARALLEL_JOB_FLAG) { + j1 = _parallelJobs[j1 & PARALLEL_JOB_MASK].successor; + } else if (j1 & REDUCE_JOB_FLAG) { + // TODO + } + + if (j2 & PARALLEL_JOB_FLAG) { + j2 = _parallelJobs[j2 & PARALLEL_JOB_MASK].predecessor; + } else if (j1 & REDUCE_JOB_FLAG) { + // TODO + } + + tbb::flow::make_edge(_nodes[j1], _nodes[j2]); +} + +void TBBJobGraph::run(uint startJob) noexcept { + if (startJob & PARALLEL_JOB_FLAG) { + startJob = _parallelJobs[startJob & PARALLEL_JOB_MASK].predecessor; + } else if (startJob & REDUCE_JOB_FLAG) { + // TODO + } + if (startJob >= _nodes.size()) return; + _nodes[startJob].try_put(tbb::flow::continue_msg()); + _pending = true; +} + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index e87c6f5885..17fce8759c 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -1,21 +1,89 @@ #pragma once +#include + namespace cc { -class Job; +using TBBJobToken = tbb::flow::continue_msg; -class JobGraph { +class TBBJobSystem; + +class TBBJobGraph final { public: + TBBJobGraph(TBBJobSystem *system) {} - JobGraph() noexcept {} - ~JobGraph() = default; - JobGraph(JobGraph const&) = delete; - JobGraph(JobGraph&&) = delete; - JobGraph& operator=(JobGraph const&) = delete; - JobGraph& operator=(JobGraph&&) = delete; + template + uint createJob(Function &&func) noexcept; + + template + uint createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept; + + template + uint createReduceJob(uint begin, uint end, uint acc, Function &&func) noexcept; + + void makeEdge(uint j1, uint j2) noexcept; + + void run(uint startJob) noexcept; + + CC_INLINE void waitForAll() { + if (_pending) { + _graph.wait_for_all(); + _pending = false; + } + } private: + static constexpr uint PARALLEL_JOB_FLAG = 1u << 20; + static constexpr uint PARALLEL_JOB_MASK = ~PARALLEL_JOB_FLAG; + static constexpr uint REDUCE_JOB_FLAG = 1u << 21; + static constexpr uint REDUCE_JOB_MASK = ~REDUCE_JOB_FLAG; + tbb::flow::graph _graph; + + using TBBJobNode = tbb::flow::continue_node; + vector _nodes; + + struct TBBParallelJob { + uint predecessor = 0u; + uint successor = 0u; + }; + vector _parallelJobs; + + bool _pending = false; }; +template +uint TBBJobGraph::createJob(Function &&func) noexcept { + _nodes.emplace_back(_graph, func); + return _nodes.size() - 1u; +} + +template +uint TBBJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept { + _nodes.reserve(_nodes.size() + (end - begin) / step + 2); + + _nodes.emplace_back(_graph, [](TBBJobToken t) {}); + uint predecessorIdx = _nodes.size() - 1u; + TBBJobNode &predecessor = _nodes.back(); + + _nodes.emplace_back(_graph, [](TBBJobToken t) {}); + uint successorIdx = _nodes.size() - 1u; + TBBJobNode &successor = _nodes.back(); + + for (uint i = begin; i < end; i += step) { + _nodes.emplace_back(_graph, [i, &func](TBBJobToken t) { func(i); }); + tbb::flow::make_edge(predecessor, _nodes.back()); + tbb::flow::make_edge(_nodes.back(), successor); + } + + _parallelJobs.push_back({predecessorIdx, successorIdx}); + return (_parallelJobs.size() - 1u) | PARALLEL_JOB_FLAG; +} + +template +uint TBBJobGraph::createReduceJob(uint begin, uint end, uint acc, Function &&func) noexcept { + // TODO + return 0u; +} + } // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp index 3b00edc045..e88ae59f04 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp @@ -1,3 +1,15 @@ #include "CoreStd.h" #include "TBBJobSystem.h" +#include "TBBJobGraph.h" + +namespace cc { + +TBBJobSystem *TBBJobSystem::_instance = nullptr; + +TBBJobSystem::TBBJobSystem(uint threadCount) noexcept +: _control(tbb::global_control::max_allowed_parallelism, threadCount), _threadCount(threadCount) { + CC_LOG_INFO("TBB Job system initialized: %d worker threads", threadCount); +} + +} // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h index a47b8962a8..561a31892e 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -1,19 +1,34 @@ #pragma once +#include "tbb/global_control.h" + namespace cc { -class JobSystem { -public: +class TBBJobGraph; - JobSystem() noexcept {} - ~JobSystem() = default; - JobSystem(JobSystem const&) = delete; - JobSystem(JobSystem&&) = delete; - JobSystem& operator=(JobSystem const&) = delete; - JobSystem& operator=(JobSystem&&) = delete; +class TBBJobSystem final { +public: + static TBBJobSystem *getInstance() { + if (!_instance) { + _instance = CC_NEW(TBBJobSystem); + } + return _instance; + } + + static void destroyInstance() { + CC_SAFE_DELETE(_instance); + } + + TBBJobSystem() noexcept : TBBJobSystem(std::thread::hardware_concurrency() - 2) {} + TBBJobSystem(uint threadCount) noexcept; + + CC_INLINE uint threadCount() { return _threadCount; } private: + static TBBJobSystem *_instance; + tbb::global_control _control; + uint _threadCount = 0u; }; } // namespace cc diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index 0040a4448d..1b814c1b3f 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -139,7 +139,7 @@ if (COCOS_PLATFORM_WIN32) else() target_link_libraries(${TARGET_NAME} ${COCOS_EXTERNAL_TARGETS}) endif() -target_link_libraries(${TARGET_NAME} TFJobSystem Threading) +target_link_libraries(${TARGET_NAME} TBBJobSystem TFJobSystem Threading) if(MSVC) set_property(TARGET ${TARGET_NAME} PROPERTY LINK_FLAGS "/SUBSYSTEM:WINDOWS") diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 5c1637e2e3..5334e807d9 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -322,6 +322,7 @@ void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t const CommandBuffer **remoteCmdBuffs = _encoder->Allocate(count); for (uint i = 0; i < count; ++i) { CommandBufferProxy *cmdBuff = (CommandBufferProxy *)cmdBuffs[i]; + CommandEncoder::FreeChunksInFreeQueue(cmdBuff->getEncoder()); cmdBuff->getEncoder()->FinishWriting(); remoteCmdBuffs[i] = cmdBuff->getRemote(); } @@ -339,11 +340,11 @@ void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t { if (count > 1) { if (multiThreaded) { - JobGraph g; - g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + JobGraph g(JobSystem::getInstance()); + uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); }); - g.run(); + g.run(job); ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); g.waitForAll(); } else { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp index a643ea57c7..dfc8481c5d 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp @@ -45,6 +45,7 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); for (uint i = 0u; i < count; ++i) { CommandBufferProxy *cmdBuff = (CommandBufferProxy *)cmdBuffs[i]; + CommandEncoder::FreeChunksInFreeQueue(cmdBuff->getEncoder()); cmdBuff->getEncoder()->FinishWriting(); remoteCmdBuffs[i] = cmdBuff->getRemote(); } @@ -64,11 +65,11 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence // auto startTime = std::chrono::steady_clock::now(); if (count > 1) { if (multiThreaded) { - JobGraph g; - g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + JobGraph g(JobSystem::getInstance()); + uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); }); - g.run(); + g.run(job); ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); g.waitForAll(); } else { diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 5e5da8e0e1..b191d77869 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -39,6 +39,7 @@ namespace gfx { CCVKGPUCommandBufferPool *CCVKGPUDevice::getCommandBufferPool(std::thread::id threadID) { if (!commandBufferPools.count(threadID)) { + //std::scoped_lock guard(mutex); commandBufferPools[threadID] = CC_NEW(CCVKGPUCommandBufferPool(this)); } return commandBufferPools[threadID]; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 620f96d256..b03508ca1d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -317,8 +317,14 @@ public: CCVKGPUSwapchain *swapchain = nullptr; // reference + /* */ using CommandBufferPools = tbb::concurrent_unordered_map< std::thread::id, CCVKGPUCommandBufferPool *, std::hash>; + /* * + using CommandBufferPools = unordered_map; + std::mutex mutex; + /* */ + CommandBufferPools commandBufferPools; CCVKGPUCommandBufferPool *getCommandBufferPool(std::thread::id threadID); @@ -475,7 +481,7 @@ public: VkDescriptorPool descriptorPool; VK_CHECK(vkCreateDescriptorPool(_device->vkDevice, &createInfo, nullptr, &descriptorPool)); - _pools.push_back({descriptorPool, {}, {}}); + _pools.push_back({descriptorPool}); _pools[idx].freeSets.resize(_maxSetsPerPool); VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; From 798b5d3349a2ce422d84efd89d6e11045b69f241 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sat, 19 Dec 2020 19:03:44 +0800 Subject: [PATCH 052/270] finish on cb end --- .../job-system/job-system-tbb/TBBJobSystem.h | 1 + .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 16 ++++++++-------- .../core/gfx-proxy/GFXCommandBufferProxy.h | 2 +- .../renderer/core/gfx-proxy/GFXQueueProxy.cpp | 5 +---- .../cocos/renderer/core/gfx/GFXCommandBuffer.h | 8 +++++--- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 2 +- .../cocos/renderer/gfx-metal/MTLCommandBuffer.h | 3 +-- .../cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 2 +- 9 files changed, 20 insertions(+), 21 deletions(-) diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h index 561a31892e..9b340a2076 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -1,6 +1,7 @@ #pragma once #include "tbb/global_control.h" +#include namespace cc { diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp index 5334e807d9..2b74d658ab 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp @@ -61,16 +61,17 @@ void CommandBufferProxy::destroy() { } } -void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { - ENCODE_COMMAND_4( +void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { + ENCODE_COMMAND_5( _encoder, CommandBufferBegin, remote, getRemote(), renderPass, renderPass ? ((RenderPassProxy *)renderPass)->getRemote() : nullptr, subpass, subpass, frameBuffer, frameBuffer ? ((FramebufferProxy *)frameBuffer)->getRemote() : nullptr, + submitIndex, submitIndex, { - remote->begin(renderPass, subpass, frameBuffer); + remote->begin(renderPass, subpass, frameBuffer, submitIndex); }); } @@ -82,6 +83,8 @@ void CommandBufferProxy::end() { { remote->end(); }); + CommandEncoder::FreeChunksInFreeQueue(_encoder); + _encoder->FinishWriting(); } void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { @@ -318,13 +321,10 @@ void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Tex void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { if (!count) return; - + const CommandBuffer **remoteCmdBuffs = _encoder->Allocate(count); for (uint i = 0; i < count; ++i) { - CommandBufferProxy *cmdBuff = (CommandBufferProxy *)cmdBuffs[i]; - CommandEncoder::FreeChunksInFreeQueue(cmdBuff->getEncoder()); - cmdBuff->getEncoder()->FinishWriting(); - remoteCmdBuffs[i] = cmdBuff->getRemote(); + remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); } bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h index 995ccfcf0a..c086253b54 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h @@ -13,7 +13,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp index dfc8481c5d..81284f1375 100755 --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp +++ b/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp @@ -44,10 +44,7 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); for (uint i = 0u; i < count; ++i) { - CommandBufferProxy *cmdBuff = (CommandBufferProxy *)cmdBuffs[i]; - CommandEncoder::FreeChunksInFreeQueue(cmdBuff->getEncoder()); - cmdBuff->getEncoder()->FinishWriting(); - remoteCmdBuffs[i] = cmdBuff->getRemote(); + remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); } bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 4b32fd9747..06bd0c747f 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -35,9 +35,11 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) = 0; - CC_INLINE void begin() { begin(nullptr, 0, nullptr); } - CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr); } + CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } + CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } + CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 202633129a..1692cc902f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -80,7 +80,7 @@ void GLES2CommandBuffer::destroy() { } void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { - _cmdAllocator->clearCmds(_curCmdPackage); + _gles2Allocator->clearCmds(_cmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 0fd6e56d17..90a816d859 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -80,7 +80,7 @@ void GLES3CommandBuffer::destroy() { } void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { - _cmdAllocator->clearCmds(_curCmdPackage); + _gles3Allocator->clearCmds(_cmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 5f8ad4a403..f09d0ad386 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -68,10 +68,9 @@ public: virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; - + CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } - id getCurrentDrawable(); private: void bindDescriptorSets(); diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index fcf88cee9a..4ec52702df 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -78,7 +78,7 @@ id CCMTLCommandBuffer::getCurrentDrawable() return _currDrawable; } -void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) +void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; From 5052f45d5f96a373fed4bb04aed47b9c6b4179ce Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sat, 19 Dec 2020 23:52:11 +0800 Subject: [PATCH 053/270] Use MetalLayer instead of MTKView in gfx-metal --- .../renderer/gfx-metal/MTLCommandBuffer.h | 1 - .../renderer/gfx-metal/MTLCommandBuffer.mm | 14 ++++++++----- native/cocos/renderer/gfx-metal/MTLContext.mm | 6 +++--- native/cocos/renderer/gfx-metal/MTLDevice.h | 8 +++---- native/cocos/renderer/gfx-metal/MTLDevice.mm | 21 +++++++++++++------ 5 files changed, 31 insertions(+), 19 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index f09d0ad386..36ef8f1a55 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -86,7 +86,6 @@ private: bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; CCMTLDevice *_mtlDevice = nullptr; - MTKView *_mtkView = nil; id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 4ec52702df..95cb0e1651 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -46,7 +46,6 @@ namespace gfx { CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) : CommandBuffer(device) , _mtlDevice((CCMTLDevice *)device) -, _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) , _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())) { const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); @@ -138,17 +137,22 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb if (!isOffscreen) { id drawable = getCurrentDrawable(); + id dssTex = (id)_mtlDevice->getDSSTexture(); static_cast(renderPass)->setColorAttachment(0, drawable.texture, 0); - static_cast(renderPass)->setDepthStencilAttachment(_mtkView.depthStencilTexture, 0); + static_cast(renderPass)->setDepthStencilAttachment(dssTex, 0); } MTLRenderPassDescriptor *mtlRenderPassDescriptor = static_cast(renderPass)->getMTLRenderPassDescriptor(); - if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) { + if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) + { //Metal doesn't apply the viewports and scissors to renderpass load-action clearing. mu::clearRenderArea(_mtlDevice, _mtlCommandBuffer, renderPass, renderArea, colors, depth, stencil); - } else { + } + else + { const auto &colorAttachments = renderPass->getColorAttachments(); const auto colorAttachmentCount = colorAttachments.size(); - for (size_t slot = 0u; slot < colorAttachmentCount; slot++) { + for (size_t slot = 0u; slot < colorAttachmentCount; slot++) + { mtlRenderPassDescriptor.colorAttachments[slot].clearColor = mu::toMTLClearColor(colors[slot]); mtlRenderPassDescriptor.colorAttachments[slot].loadAction = colorAttachments[slot].loadOp == LoadOp::CLEAR ? MTLLoadActionClear : MTLLoadActionLoad; } diff --git a/native/cocos/renderer/gfx-metal/MTLContext.mm b/native/cocos/renderer/gfx-metal/MTLContext.mm index 2b2144c754..8d72fe997f 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.mm +++ b/native/cocos/renderer/gfx-metal/MTLContext.mm @@ -54,9 +54,9 @@ CCMTLContext::CCMTLContext(Device *device) bool CCMTLContext::initialize(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; - MTKView *view = (MTKView *)((CCMTLDevice *)_device)->getMTKView(); - _colorFmt = toFormat(view.colorPixelFormat); - _depthStencilFmt = toFormat(view.depthStencilPixelFormat); + CAMetalLayer *layer = (CAMetalLayer *)((CCMTLDevice *)_device)->getMTLLayer(); + _colorFmt = toFormat(layer.pixelFormat); + _depthStencilFmt = toFormat(MTLPixelFormatDepth24Unorm_Stencil8); return true; } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 908bb087b5..d12e8eeb7e 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -92,7 +92,6 @@ public: virtual void blitBuffer(void *srcBuffer, uint offset, uint size, void *dstBuffer); CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } - CC_INLINE void *getMTKView() const { return _mtkView; } CC_INLINE void *getMTLLayer() const { return _mtlLayer; } CC_INLINE void *getMTLDevice() const { return _mtlDevice; } CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } @@ -100,18 +99,19 @@ public: CC_INLINE uint getMaximumBufferBindingIndex() const { return _maxBufferBindingIndex; } CC_INLINE bool isIndirectCommandBufferSupported() const { return _icbSuppored; } CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } - CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPool; } - CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported;} + CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } + CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } + CC_INLINE void *getDSSTexture() const { return _dssTex; } private: void onMemoryWarning(); private: void *_mtlCommandQueue = nullptr; - void *_mtkView = nullptr; void *_mtlDevice = nullptr; void *_mtlLayer = nullptr; unsigned long _mtlFeatureSet = 0; + void *_dssTex = nullptr; uint _maxSamplerUnits = 0; uint _maxColorRenderTargets = 0; uint _maxBufferBindingIndex = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 6a21a653a9..d5bc19a404 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -78,10 +78,11 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _inFlightSemaphore = CC_NEW(CCMTLSemaphore(MAX_FRAMES_IN_FLIGHT)); _currentFrameIndex = 0; - _mtkView = (MTKView *)_windowHandle; - id mtlDevice = ((MTKView *)_mtkView).device; + NSView *view = (NSView *)_windowHandle; + CAMetalLayer *layer = static_cast(view.layer); + _mtlLayer = layer; + id mtlDevice = (id)layer.device; _mtlDevice = mtlDevice; - _mtlLayer = ((MTKView *)_mtkView).layer; _mtlCommandQueue = [mtlDevice newCommandQueue]; _mtlFeatureSet = mu::highestSupportedFeatureSet(mtlDevice); @@ -97,10 +98,18 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _uboOffsetAlignment = mu::getMinBufferOffsetAlignment(gpuFamily); _icbSuppored = mu::isIndirectCommandBufferSupported(MTLFeatureSet(_mtlFeatureSet)); _isSamplerDescriptorCompareFunctionSupported = mu::isSamplerDescriptorCompareFunctionSupported(gpuFamily); - MTKView *view = static_cast(_mtkView); - if (view.colorPixelFormat == MTLPixelFormatInvalid) view.colorPixelFormat = MTLPixelFormatBGRA8Unorm; - view.depthStencilPixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); + if (layer.pixelFormat == MTLPixelFormatInvalid) + { + layer.pixelFormat = MTLPixelFormatBGRA8Unorm; + } + // Persistent depth stencil texture + MTLTextureDescriptor *textureDescriptor = [[MTLTextureDescriptor alloc] init]; + textureDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); + textureDescriptor.width = info.width; + textureDescriptor.height = info.height; + textureDescriptor.storageMode = MTLStorageModePrivate; + _dssTex = [mtlDevice newTextureWithDescriptor:textureDescriptor]; _stencilBits = 8; ContextInfo contextCreateInfo; From cae5641d0b63323a33c7cba2c9d835edae2e9fec Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sun, 20 Dec 2020 14:36:46 +0800 Subject: [PATCH 054/270] Add usage for dss texture --- native/cocos/renderer/gfx-metal/MTLDevice.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index d5bc19a404..5a95cf8af8 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -109,6 +109,7 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { textureDescriptor.width = info.width; textureDescriptor.height = info.height; textureDescriptor.storageMode = MTLStorageModePrivate; + textureDescriptor.usage = MTLTextureUsageRenderTarget; _dssTex = [mtlDevice newTextureWithDescriptor:textureDescriptor]; _stencilBits = 8; From 1df322ea063e73e77376cd751481a780f078dc37 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sun, 20 Dec 2020 22:40:35 +0800 Subject: [PATCH 055/270] Fix staging buffer copy and switch issue --- native/cocos/renderer/gfx-metal/MTLGPUObjects.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index 1cfe8fded5..979ef53d42 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -228,7 +228,10 @@ public: for (size_t idx = 0; idx < bufferCount; idx++) { buffer = &_pool[idx]; + id prevFrameBuffer = buffer->mtlBuffer; buffer->mtlBuffer = buffer->dynamicDataBuffers[_inflightIndex]; + memcpy((uint8_t *)buffer->mtlBuffer.contents, prevFrameBuffer.contents, buffer->curOffset); + buffer->mappedData = (uint8_t *)buffer->mtlBuffer.contents; } } } From 7bbf7bb1dd60241088891cd60b7b80cf1d39f369 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 21 Dec 2020 00:17:01 +0800 Subject: [PATCH 056/270] structure --- native/cocos/renderer/core/Core.h | 34 +- .../cocos/renderer/core/gfx-agent/GFXAgent.h | 33 ++ .../core/gfx-agent/GFXBufferAgent.cpp | 99 +++++ .../GFXBufferAgent.h} | 8 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 363 ++++++++++++++++++ .../GFXCommandBufferAgent.h} | 16 +- .../core/gfx-agent/GFXDescriptorSetAgent.cpp | 112 ++++++ .../GFXDescriptorSetAgent.h} | 8 +- .../GFXDescriptorSetLayoutAgent.cpp} | 24 +- .../GFXDescriptorSetLayoutAgent.h} | 8 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 282 ++++++++++++++ .../GFXDeviceAgent.h} | 24 +- .../core/gfx-agent/GFXFramebufferAgent.cpp | 55 +++ .../GFXFramebufferAgent.h} | 8 +- .../core/gfx-agent/GFXInputAssemblerAgent.cpp | 65 ++++ .../GFXInputAssemblerAgent.h} | 22 +- .../core/gfx-agent/GFXPipelineLayoutAgent.cpp | 48 +++ .../GFXPipelineLayoutAgent.h} | 8 +- .../core/gfx-agent/GFXPipelineStateAgent.cpp | 56 +++ .../GFXPipelineStateAgent.h} | 8 +- .../GFXQueueAgent.cpp} | 48 +-- .../GFXQueueAgent.h} | 8 +- .../GFXRenderPassAgent.cpp} | 24 +- .../GFXRenderPassAgent.h} | 8 +- .../GFXSamplerAgent.cpp} | 26 +- .../GFXSamplerAgent.h} | 8 +- .../GFXShaderAgent.cpp} | 24 +- .../GFXShaderAgent.h} | 8 +- .../GFXTextureAgent.cpp} | 40 +- .../GFXTextureAgent.h} | 8 +- .../core/gfx-proxy/GFXBufferProxy.cpp | 99 ----- .../core/gfx-proxy/GFXCommandBufferProxy.cpp | 363 ------------------ .../core/gfx-proxy/GFXDescriptorSetProxy.cpp | 112 ------ .../core/gfx-proxy/GFXDeviceProxy.cpp | 282 -------------- .../core/gfx-proxy/GFXFramebufferProxy.cpp | 55 --- .../core/gfx-proxy/GFXInputAssemblerProxy.cpp | 65 ---- .../core/gfx-proxy/GFXPipelineLayoutProxy.cpp | 48 --- .../core/gfx-proxy/GFXPipelineStateProxy.cpp | 56 --- .../cocos/renderer/core/gfx-proxy/GFXProxy.h | 33 -- native/cocos/renderer/core/gfx/GFXDevice.h | 2 +- 40 files changed, 1299 insertions(+), 1299 deletions(-) create mode 100644 native/cocos/renderer/core/gfx-agent/GFXAgent.h create mode 100644 native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp rename native/cocos/renderer/core/{gfx-proxy/GFXBufferProxy.h => gfx-agent/GFXBufferAgent.h} (73%) mode change 100755 => 100644 create mode 100644 native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp rename native/cocos/renderer/core/{gfx-proxy/GFXCommandBufferProxy.h => gfx-agent/GFXCommandBufferAgent.h} (81%) mode change 100755 => 100644 create mode 100644 native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp rename native/cocos/renderer/core/{gfx-proxy/GFXDescriptorSetProxy.h => gfx-agent/GFXDescriptorSetAgent.h} (76%) mode change 100755 => 100644 rename native/cocos/renderer/core/{gfx-proxy/GFXDescriptorSetLayoutProxy.cpp => gfx-agent/GFXDescriptorSetLayoutAgent.cpp} (73%) rename native/cocos/renderer/core/{gfx-proxy/GFXDescriptorSetLayoutProxy.h => gfx-agent/GFXDescriptorSetLayoutAgent.h} (62%) create mode 100644 native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp rename native/cocos/renderer/core/{gfx-proxy/GFXDeviceProxy.h => gfx-agent/GFXDeviceAgent.h} (69%) mode change 100755 => 100644 create mode 100644 native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp rename native/cocos/renderer/core/{gfx-proxy/GFXFramebufferProxy.h => gfx-agent/GFXFramebufferAgent.h} (60%) create mode 100644 native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp rename native/cocos/renderer/core/{gfx-proxy/GFXInputAssemblerProxy.h => gfx-agent/GFXInputAssemblerAgent.h} (58%) mode change 100755 => 100644 create mode 100644 native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp rename native/cocos/renderer/core/{gfx-proxy/GFXPipelineLayoutProxy.h => gfx-agent/GFXPipelineLayoutAgent.h} (60%) create mode 100644 native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp rename native/cocos/renderer/core/{gfx-proxy/GFXPipelineStateProxy.h => gfx-agent/GFXPipelineStateAgent.h} (60%) mode change 100755 => 100644 rename native/cocos/renderer/core/{gfx-proxy/GFXQueueProxy.cpp => gfx-agent/GFXQueueAgent.cpp} (59%) mode change 100755 => 100644 rename native/cocos/renderer/core/{gfx-proxy/GFXQueueProxy.h => gfx-agent/GFXQueueAgent.h} (71%) mode change 100755 => 100644 rename native/cocos/renderer/core/{gfx-proxy/GFXRenderPassProxy.cpp => gfx-agent/GFXRenderPassAgent.cpp} (52%) rename native/cocos/renderer/core/{gfx-proxy/GFXRenderPassProxy.h => gfx-agent/GFXRenderPassAgent.h} (60%) rename native/cocos/renderer/core/{gfx-proxy/GFXSamplerProxy.cpp => gfx-agent/GFXSamplerAgent.cpp} (60%) rename native/cocos/renderer/core/{gfx-proxy/GFXSamplerProxy.h => gfx-agent/GFXSamplerAgent.h} (60%) rename native/cocos/renderer/core/{gfx-proxy/GFXShaderProxy.cpp => gfx-agent/GFXShaderAgent.cpp} (52%) mode change 100755 => 100644 rename native/cocos/renderer/core/{gfx-proxy/GFXShaderProxy.h => gfx-agent/GFXShaderAgent.h} (61%) mode change 100755 => 100644 rename native/cocos/renderer/core/{gfx-proxy/GFXTextureProxy.cpp => gfx-agent/GFXTextureAgent.cpp} (65%) mode change 100755 => 100644 rename native/cocos/renderer/core/{gfx-proxy/GFXTextureProxy.h => gfx-agent/GFXTextureAgent.h} (70%) mode change 100755 => 100644 delete mode 100755 native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp delete mode 100755 native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp delete mode 100755 native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp delete mode 100755 native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp delete mode 100644 native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp delete mode 100644 native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp delete mode 100644 native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp delete mode 100755 native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp delete mode 100644 native/cocos/renderer/core/gfx-proxy/GFXProxy.h diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index dd44f4f77c..88f02efafb 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -5,11 +5,9 @@ #include "base/CachedArray.h" #include "base/StringUtil.h" -#include "threading/ThreadPool.h" #include "threading/CommandEncoder.h" +#include "threading/ThreadPool.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXContext.h" #include "gfx/GFXBuffer.h" #include "gfx/GFXCommand.h" #include "gfx/GFXCommandBuffer.h" @@ -24,22 +22,24 @@ #include "gfx/GFXPipelineLayout.h" #include "gfx/GFXPipelineState.h" #include "gfx/GFXQueue.h" -#include "gfx/GFXCommand.h" -#include "gfx/GFXCommandPool.h" +#include "gfx/GFXRenderPass.h" +#include "gfx/GFXSampler.h" +#include "gfx/GFXShader.h" +#include "gfx/GFXTexture.h" -#include "gfx-proxy/GFXDeviceProxy.h" -#include "gfx-proxy/GFXBufferProxy.h" -#include "gfx-proxy/GFXTextureProxy.h" -#include "gfx-proxy/GFXShaderProxy.h" -#include "gfx-proxy/GFXRenderPassProxy.h" -#include "gfx-proxy/GFXFramebufferProxy.h" -#include "gfx-proxy/GFXInputAssemblerProxy.h" -#include "gfx-proxy/GFXPipelineStateProxy.h" -#include "gfx-proxy/GFXDescriptorSetProxy.h" -#include "gfx-proxy/GFXCommandBufferProxy.h" -#include "gfx-proxy/GFXQueueProxy.h" +#include "gfx-agent/GFXBufferAgent.h" +#include "gfx-agent/GFXCommandBufferAgent.h" +#include "gfx-agent/GFXDescriptorSetAgent.h" +#include "gfx-agent/GFXDeviceAgent.h" +#include "gfx-agent/GFXFramebufferAgent.h" +#include "gfx-agent/GFXInputAssemblerAgent.h" +#include "gfx-agent/GFXPipelineStateAgent.h" +#include "gfx-agent/GFXQueueAgent.h" +#include "gfx-agent/GFXRenderPassAgent.h" +#include "gfx-agent/GFXShaderAgent.h" +#include "gfx-agent/GFXTextureAgent.h" #define CC_JOB_SYSTEM_TASKFLOW 1 -#define CC_JOB_SYSTEM_TBB 2 +#define CC_JOB_SYSTEM_TBB 2 #define CC_JOB_SYSTEM CC_JOB_SYSTEM_TASKFLOW diff --git a/native/cocos/renderer/core/gfx-agent/GFXAgent.h b/native/cocos/renderer/core/gfx-agent/GFXAgent.h new file mode 100644 index 0000000000..398ab4c105 --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXAgent.h @@ -0,0 +1,33 @@ +#pragma once + +#include + +namespace cc { +namespace gfx { + +template +class CC_DLL Agent : public Actor { +public: + Agent() noexcept = delete; + + explicit Agent(Actor *const actor, Device *const device) noexcept + : Actor(device), _actor(actor) {} + + virtual ~Agent() {} + + Agent(Agent const &) = delete; + + Agent(Agent &&) = delete; + + Agent &operator=(Agent const &) = delete; + + Agent &operator=(Agent &&) = delete; + + inline Actor *getActor() const noexcept { return _actor; } + +protected: + Actor * _actor{nullptr}; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp new file mode 100644 index 0000000000..51f4602cd3 --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -0,0 +1,99 @@ +#include "CoreStd.h" + +#include "threading/CommandEncoder.h" +#include "GFXBufferAgent.h" +#include "GFXDeviceAgent.h" + +namespace cc { +namespace gfx { + +bool BufferAgent::initialize(const BufferInfo &info) { + _usage = info.usage; + _memUsage = info.memUsage; + _size = info.size; + _flags = info.flags; + _stride = std::max(info.stride, 1u); + _count = _size / _stride; + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + BufferInit, + actor, getActor(), + info, info, + { + actor->initialize(info); + }); + + return true; +} + +bool BufferAgent::initialize(const BufferViewInfo &info) { + _usage = info.buffer->getUsage(); + _memUsage = info.buffer->getMemUsage(); + _flags = info.buffer->getFlags(); + _offset = info.offset; + _size = _stride = info.range; + _count = 1u; + + BufferViewInfo actorInfo = info; + actorInfo.buffer = ((BufferAgent *)info.buffer)->getActor(); + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + BufferViewInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); + + return true; +} + +void BufferAgent::destroy() { + if (_actor) { + ENCODE_COMMAND_1( + ((DeviceAgent *)_device)->getMainEncoder(), + BufferDestroy, + actor, getActor(), + { + CC_DESTROY(actor); + }); + + _actor = nullptr; + } +} + +void BufferAgent::update(void *buffer, uint size) { + CommandEncoder *encoder = ((DeviceAgent *)_device)->getMainEncoder(); + + uint8_t *actorBuffer = encoder->Allocate(size); + memcpy(actorBuffer, buffer, size); + + ENCODE_COMMAND_3( + encoder, + BufferUpdate, + actor, getActor(), + buffer, actorBuffer, + size, size, + { + actor->update(buffer, size); + }); +} + +void BufferAgent::resize(uint size) { + _size = size; + _count = size / _stride; + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + BufferResize, + actor, getActor(), + size, size, + { + actor->resize(size); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h old mode 100755 new mode 100644 similarity index 73% rename from native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h index b4443ba123..f297022254 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXBuffer.h" namespace cc { namespace gfx { -class CC_DLL BufferProxy final : public Proxy { +class CC_DLL BufferAgent final : public Agent { public: - using Proxy::Proxy; - BufferProxy(Device *device) = delete; + using Agent::Agent; + BufferAgent(Device *device) = delete; virtual bool initialize(const BufferInfo &info) override; virtual bool initialize(const BufferViewInfo &info) override; diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp new file mode 100644 index 0000000000..83e36bc9e4 --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -0,0 +1,363 @@ +#include "CoreStd.h" + +#include "job-system/JobSystem.h" +#include "threading/CommandEncoder.h" +#include "GFXBufferAgent.h" +#include "GFXCommandBufferAgent.h" +#include "GFXDescriptorSetAgent.h" +#include "GFXDeviceAgent.h" +#include "GFXFramebufferAgent.h" +#include "GFXInputAssemblerAgent.h" +#include "GFXPipelineStateAgent.h" +#include "GFXQueueAgent.h" +#include "GFXRenderPassAgent.h" +#include "GFXTextureAgent.h" + +namespace cc { +namespace gfx { + +void CommandBufferAgent::initEncoder() { + _encoder = CC_NEW(CommandEncoder); + _encoder->SetImmediateMode(false); +} + +void CommandBufferAgent::destroyEncoder() { + CC_SAFE_DELETE(_encoder); +} + +bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { + initEncoder(); + + _type = info.type; + _queue = info.queue; + + CommandBufferInfo actorInfo = info; + actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + CommandBufferInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); + + return true; +} + +void CommandBufferAgent::destroy() { + destroyEncoder(); + if (_actor) { + ENCODE_COMMAND_1( + ((DeviceAgent *)_device)->getMainEncoder(), + CommandBufferDestroy, + actor, getActor(), + { + CC_DESTROY(actor); + }); + + _actor = nullptr; + } +} + +void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { + ENCODE_COMMAND_5( + _encoder, + CommandBufferBegin, + actor, getActor(), + renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, + subpass, subpass, + frameBuffer, frameBuffer ? ((FramebufferAgent *)frameBuffer)->getActor() : nullptr, + submitIndex, submitIndex, + { + actor->begin(renderPass, subpass, frameBuffer, submitIndex); + }); +} + +void CommandBufferAgent::end() { + ENCODE_COMMAND_1( + _encoder, + CommandBufferEnd, + actor, getActor(), + { + actor->end(); + }); + CommandEncoder::FreeChunksInFreeQueue(_encoder); + _encoder->FinishWriting(); +} + +void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { + + uint attachmentCount = (uint)renderPass->getColorAttachments().size(); + Color *actorColors = nullptr; + if (attachmentCount) { + actorColors = _encoder->Allocate(attachmentCount); + memcpy(actorColors, colors, sizeof(Color) * attachmentCount); + } + + ENCODE_COMMAND_8( + _encoder, + CommandBufferBeginRenderPass, + actor, getActor(), + renderPass, ((RenderPassAgent *)renderPass)->getActor(), + fbo, ((FramebufferAgent *)fbo)->getActor(), + renderArea, renderArea, + colors, actorColors, + depth, depth, + stencil, stencil, + fromSecondaryCB, fromSecondaryCB, + { + actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, fromSecondaryCB); + }); +} + +void CommandBufferAgent::endRenderPass() { + ENCODE_COMMAND_1( + _encoder, + CommandBufferEndRenderPass, + actor, getActor(), + { + actor->endRenderPass(); + }); +} + +void CommandBufferAgent::bindPipelineState(PipelineState *pso) { + ENCODE_COMMAND_2( + _encoder, + CommandBufferBindPipelineState, + actor, getActor(), + pso, ((PipelineStateAgent *)pso)->getActor(), + { + actor->bindPipelineState(pso); + }); +} + +void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { + uint *actorDynamicOffsets = nullptr; + if (dynamicOffsetCount) { + actorDynamicOffsets = _encoder->Allocate(dynamicOffsetCount); + memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); + } + + ENCODE_COMMAND_5( + _encoder, + CommandBufferBindDescriptorSet, + actor, getActor(), + set, set, + descriptorSet, ((DescriptorSetAgent *)descriptorSet)->getActor(), + dynamicOffsetCount, dynamicOffsetCount, + dynamicOffsets, actorDynamicOffsets, + { + actor->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); + }); +} + +void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { + ENCODE_COMMAND_2( + _encoder, + CommandBufferBindInputAssembler, + actor, getActor(), + ia, ((InputAssemblerAgent *)ia)->getActor(), + { + actor->bindInputAssembler(ia); + }); +} + +void CommandBufferAgent::setViewport(const Viewport &vp) { + ENCODE_COMMAND_2( + _encoder, + CommandBufferSetViewport, + actor, getActor(), + vp, vp, + { + actor->setViewport(vp); + }); +} + +void CommandBufferAgent::setScissor(const Rect &rect) { + ENCODE_COMMAND_2( + _encoder, + CommandBufferSetScissor, + actor, getActor(), + rect, rect, + { + actor->setScissor(rect); + }); +} + +void CommandBufferAgent::setLineWidth(const float width) { + ENCODE_COMMAND_2( + _encoder, + CommandBufferSetLineWidth, + actor, getActor(), + width, width, + { + actor->setLineWidth(width); + }); +} + +void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) { + ENCODE_COMMAND_4( + _encoder, + CommandBufferSetDepthBias, + actor, getActor(), + constant, constant, + clamp, clamp, + slope, slope, + { + actor->setDepthBias(constant, clamp, slope); + }); +} + +void CommandBufferAgent::setBlendConstants(const Color &constants) { + ENCODE_COMMAND_2( + _encoder, + CommandBufferSetBlendConstants, + actor, getActor(), + constants, constants, + { + actor->setBlendConstants(constants); + }); +} + +void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { + ENCODE_COMMAND_3( + _encoder, + CommandBufferSetDepthBound, + actor, getActor(), + minBounds, minBounds, + maxBounds, maxBounds, + { + actor->setDepthBound(minBounds, maxBounds); + }); +} + +void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { + ENCODE_COMMAND_3( + _encoder, + CommandBufferSetStencilWriteMask, + actor, getActor(), + face, face, + mask, mask, + { + actor->setStencilWriteMask(face, mask); + }); +} + +void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint mask) { + ENCODE_COMMAND_4( + _encoder, + CommandBufferSetStencilCompareMask, + actor, getActor(), + face, face, + ref, ref, + mask, mask, + { + actor->setStencilCompareMask(face, ref, mask); + }); +} + +void CommandBufferAgent::draw(InputAssembler *ia) { + ENCODE_COMMAND_2( + _encoder, + CommandBufferDraw, + actor, getActor(), + ia, ((InputAssemblerAgent *)ia)->getActor(), + { + actor->draw(ia); + }); +} + +void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { + CommandEncoder *encoder = _encoder; + + uint8_t *actorData = encoder->Allocate(size); + memcpy(actorData, data, size); + + ENCODE_COMMAND_4( + encoder, + CommandBufferUpdateBuffer, + actor, getActor(), + buff, ((BufferAgent *)buff)->getActor(), + data, actorData, + size, size, + { + actor->updateBuffer(buff, data, size); + }); +} + +void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { + BufferTextureCopy *actorRegions = _encoder->Allocate(count); + memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); + + uint bufferCount = 0u; + for (uint i = 0u; i < count; i++) { + bufferCount += regions[i].texSubres.layerCount; + } + const uint8_t **actorBuffers = _encoder->Allocate(bufferCount); + for (uint i = 0u, n = 0u; i < count; i++) { + const BufferTextureCopy ®ion = regions[i]; + uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); + for (uint l = 0; l < region.texSubres.layerCount; l++) { + uint8_t *buffer = _encoder->Allocate(size); + memcpy(buffer, buffers[n], size); + actorBuffers[n++] = buffer; + } + } + + ENCODE_COMMAND_5( + _encoder, + CommandBufferCopyBuffersToTexture, + actor, getActor(), + buffers, actorBuffers, + texture, ((TextureAgent *)texture)->getActor(), + regions, actorRegions, + count, count, + { + actor->copyBuffersToTexture(buffers, texture, regions, count); + }); +} + +void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + if (!count) return; + + const CommandBuffer **actorCmdBuffs = _encoder->Allocate(count); + for (uint i = 0; i < count; ++i) { + actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); + } + + bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); + + ENCODE_COMMAND_5( + _encoder, + CommandBufferExecute, + actor, getActor(), + cmdBuffs, cmdBuffs, + actorCmdBuffs, actorCmdBuffs, + count, count, + multiThreaded, multiThreaded, + { + if (count > 1) { + if (multiThreaded) { + JobGraph g(JobSystem::getInstance()); + uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->FlushCommands(); + }); + g.run(job); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); + g.waitForAll(); + } else { + for (uint i = 0u; i < count; ++i) { + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->FlushCommands(); + } + } + } else { + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); + } + actor->execute(actorCmdBuffs, count); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h old mode 100755 new mode 100644 similarity index 81% rename from native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index c086253b54..96ff1b50ce --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXCommandBuffer.h" namespace cc { namespace gfx { -class CC_DLL CommandBufferProxy final : public Proxy { +class CC_DLL CommandBufferAgent final : public Agent { public: - using Proxy::Proxy; - CommandBufferProxy(Device *device) = delete; + using Agent::Agent; + CommandBufferAgent(Device *device) = delete; virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; @@ -33,14 +33,14 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; - virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } - virtual uint getNumInstances() const override { return _remote->getNumInstances(); } - virtual uint getNumTris() const override { return _remote->getNumTris(); } + virtual uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } + virtual uint getNumInstances() const override { return _actor->getNumInstances(); } + virtual uint getNumTris() const override { return _actor->getNumTris(); } CC_INLINE CommandEncoder *getEncoder() { return _encoder; } private: - friend class DeviceProxy; + friend class DeviceAgent; void initEncoder(); void destroyEncoder(); diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp new file mode 100644 index 0000000000..e76a4063a6 --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp @@ -0,0 +1,112 @@ +#include "CoreStd.h" + +#include "threading/CommandEncoder.h" +#include "GFXBufferAgent.h" +#include "GFXDescriptorSetAgent.h" +#include "GFXDeviceAgent.h" +#include "GFXPipelineLayoutAgent.h" +#include "GFXSamplerAgent.h" +#include "GFXTextureAgent.h" + +namespace cc { +namespace gfx { + +bool DescriptorSetAgent::initialize(const DescriptorSetInfo &info) { + _layout = info.layout->getSetLayouts()[info.setIndex]; + uint descriptorCount = _layout->getDescriptorCount(); + _buffers.resize(descriptorCount); + _textures.resize(descriptorCount); + _samplers.resize(descriptorCount); + + DescriptorSetInfo actorInfo; + actorInfo.layout = ((PipelineLayoutAgent *)info.layout)->getActor(); + actorInfo.setIndex = info.setIndex; + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + DescriptorSetInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); + + return true; +} + +void DescriptorSetAgent::destroy() { + // do remember to clear these or else it might not be properly updated when reused + _buffers.clear(); + _textures.clear(); + _samplers.clear(); + + if (_actor) { + ENCODE_COMMAND_1( + ((DeviceAgent *)_device)->getMainEncoder(), + DescriptorSetDestroy, + actor, getActor(), + { + CC_DESTROY(actor); + }); + + _actor = nullptr; + } +} + +void DescriptorSetAgent::update() { + ENCODE_COMMAND_1( + ((DeviceAgent *)_device)->getMainEncoder(), + DescriptorSetUpdate, + actor, getActor(), + { + actor->update(); + }); +} + +void DescriptorSetAgent::bindBuffer(uint binding, Buffer *buffer, uint index) { + DescriptorSet::bindBuffer(binding, buffer, index); + + ENCODE_COMMAND_4( + ((DeviceAgent *)_device)->getMainEncoder(), + DescriptorSetBindBuffer, + actor, getActor(), + binding, binding, + buffer, ((BufferAgent *)buffer)->getActor(), + index, index, + { + actor->bindBuffer(binding, buffer, index); + }); +} + +void DescriptorSetAgent::bindTexture(uint binding, Texture *texture, uint index) { + DescriptorSet::bindTexture(binding, texture, index); + + ENCODE_COMMAND_4( + ((DeviceAgent *)_device)->getMainEncoder(), + DescriptorSetBindTexture, + actor, getActor(), + binding, binding, + texture, ((TextureAgent *)texture)->getActor(), + index, index, + { + actor->bindTexture(binding, texture, index); + }); +} + +void DescriptorSetAgent::bindSampler(uint binding, Sampler *sampler, uint index) { + DescriptorSet::bindSampler(binding, sampler, index); + + ENCODE_COMMAND_4( + ((DeviceAgent *)_device)->getMainEncoder(), + DescriptorSetBindSampler, + actor, getActor(), + binding, binding, + sampler, ((SamplerAgent *)sampler)->getActor(), + index, index, + { + actor->bindSampler(binding, sampler, index); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h old mode 100755 new mode 100644 similarity index 76% rename from native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h index 68886fa109..b67662fbd8 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXDescriptorSet.h" namespace cc { namespace gfx { -class CC_DLL DescriptorSetProxy final : public Proxy { +class CC_DLL DescriptorSetAgent final : public Agent { public: - using Proxy::Proxy; - DescriptorSetProxy(Device *device) = delete; + using Agent::Agent; + DescriptorSetAgent(Device *device) = delete; virtual bool initialize(const DescriptorSetInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp similarity index 73% rename from native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp rename to native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp index 680337a8b5..76db91a8c2 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp @@ -1,13 +1,13 @@ #include "CoreStd.h" #include "threading/CommandEncoder.h" -#include "GFXDeviceProxy.h" -#include "GFXDescriptorSetLayoutProxy.h" +#include "GFXDeviceAgent.h" +#include "GFXDescriptorSetLayoutAgent.h" namespace cc { namespace gfx { -bool DescriptorSetLayoutProxy::initialize(const DescriptorSetLayoutInfo &info) { +bool DescriptorSetLayoutAgent::initialize(const DescriptorSetLayoutInfo &info) { _bindings = info.bindings; uint bindingCount = _bindings.size(); @@ -33,28 +33,28 @@ bool DescriptorSetLayoutProxy::initialize(const DescriptorSetLayoutInfo &info) { } ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), DescriptorSetLayoutInit, - remote, getRemote(), + actor, getActor(), info, info, { - remote->initialize(info); + actor->initialize(info); }); return true; } -void DescriptorSetLayoutProxy::destroy() { - if (_remote) { +void DescriptorSetLayoutAgent::destroy() { + if (_actor) { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), DescriptorSetLayoutDestroy, - remote, getRemote(), + actor, getActor(), { - CC_DESTROY(remote); + CC_DESTROY(actor); }); - _remote = nullptr; + _actor = nullptr; } } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h similarity index 62% rename from native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h index 53422c14cc..7fc2b3feee 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetLayoutProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXDescriptorSetLayout.h" namespace cc { namespace gfx { -class CC_DLL DescriptorSetLayoutProxy final : public Proxy { +class CC_DLL DescriptorSetLayoutAgent final : public Agent { public: - using Proxy::Proxy; - DescriptorSetLayoutProxy(Device *device) = delete; + using Agent::Agent; + DescriptorSetLayoutAgent(Device *device) = delete; virtual bool initialize(const DescriptorSetLayoutInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp new file mode 100644 index 0000000000..aec8a62a9f --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -0,0 +1,282 @@ +#include "CoreStd.h" + +#include "threading/CommandEncoder.h" +#include "GFXBufferAgent.h" +#include "GFXCommandBufferAgent.h" +#include "GFXDescriptorSetLayoutAgent.h" +#include "GFXDescriptorSetAgent.h" +#include "GFXDeviceAgent.h" +#include "GFXFramebufferAgent.h" +#include "GFXInputAssemblerAgent.h" +#include "GFXPipelineLayoutAgent.h" +#include "GFXPipelineStateAgent.h" +#include "GFXQueueAgent.h" +#include "GFXRenderPassAgent.h" +#include "GFXSamplerAgent.h" +#include "GFXShaderAgent.h" +#include "GFXTextureAgent.h" + +namespace cc { +namespace gfx { + +bool DeviceAgent::initialize(const DeviceInfo &info) { + _clipSpaceMinZ = _actor->getClipSpaceMinZ(); + _screenSpaceSignY = _actor->getScreenSpaceSignY(); + _UVSpaceSignY = _actor->getUVSpaceSignY(); + + _width = info.width; + _height = info.height; + _nativeWidth = info.nativeWidth; + _nativeHeight = info.nativeHeight; + _windowHandle = info.windowHandle; + + _bindingMappingInfo = info.bindingMappingInfo; + if (_bindingMappingInfo.bufferOffsets.empty()) { + _bindingMappingInfo.bufferOffsets.push_back(0); + } + if (_bindingMappingInfo.samplerOffsets.empty()) { + _bindingMappingInfo.samplerOffsets.push_back(0); + } + + if (!_actor->initialize(info)) { + return false; + } + + _context = _actor->getContext(); + _API = _actor->getGfxAPI(); + _deviceName = _actor->getDeviceName(); + _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); + _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); + ((CommandBufferAgent *)_cmdBuff)->initEncoder(); + _renderer = _actor->getRenderer(); + _vendor = _actor->getVendor(); + _maxVertexAttributes = _actor->getMaxVertexAttributes(); + _maxVertexUniformVectors = _actor->getMaxVertexUniformVectors(); + _maxFragmentUniformVectors = _actor->getMaxFragmentUniformVectors(); + _maxTextureUnits = _actor->getMaxTextureUnits(); + _maxVertexTextureUnits = _actor->getMaxVertexTextureUnits(); + _maxUniformBufferBindings = _actor->getMaxUniformBufferBindings(); + _maxUniformBlockSize = _actor->getMaxUniformBlockSize(); + _maxTextureSize = _actor->getMaxTextureSize(); + _maxCubeMapTextureSize = _actor->getMaxCubeMapTextureSize(); + _uboOffsetAlignment = _actor->getUboOffsetAlignment(); + _depthBits = _actor->getDepthBits(); + _stencilBits = _actor->getStencilBits(); + memcpy(_features, _actor->_features, (uint)Feature::COUNT * sizeof(bool)); + + _mainEncoder = CC_NEW(CommandEncoder); + _mainEncoder->RunConsumerThread(); + + setMultithreaded(true); + + return true; +} + +void DeviceAgent::destroy() { + if (_actor) { + ENCODE_COMMAND_1( + getMainEncoder(), + DeviceDestroy, + actor, getActor(), + { + CC_DESTROY(actor); + }); + + _actor = nullptr; + } + + ((CommandBufferAgent *)_cmdBuff)->destroyEncoder(); + CC_SAFE_DELETE(_cmdBuff); + CC_SAFE_DELETE(_queue); + + _mainEncoder->TerminateConsumerThread(); + CC_SAFE_DELETE(_mainEncoder); +} + +void DeviceAgent::resize(uint width, uint height) { + _width = _nativeWidth = width; + _height = _nativeHeight = height; + + ENCODE_COMMAND_3( + getMainEncoder(), + DeviceResize, + actor, getActor(), + width, width, + height, height, + { + actor->resize(width, height); + }); +} + +void DeviceAgent::acquire() { + _frameBoundarySemaphore.Wait(); + CommandEncoder *encoder = getMainEncoder(); + ENCODE_COMMAND_1( + encoder, + DeviceAcquire, + actor, getActor(), + { + actor->acquire(); + }); +} + +void DeviceAgent::present() { + CommandEncoder *encoder = getMainEncoder(); + ENCODE_COMMAND_2( + encoder, + DevicePresent, + actor, getActor(), + frameBoundarySemaphore, &_frameBoundarySemaphore, + { + actor->present(); + frameBoundarySemaphore->Signal(); + }); + + CommandEncoder::FreeChunksInFreeQueue(encoder); + encoder->FinishWriting(); +} + +void DeviceAgent::setMultithreaded(bool multithreaded) { + if (multithreaded == _multithreaded) return; + _multithreaded = multithreaded; + + if (multithreaded) { + _mainEncoder->SetImmediateMode(false); + _actor->bindRenderContext(false); + ENCODE_COMMAND_1( + _mainEncoder, DeviceMakeCurrent, + actor, _actor, + { + actor->bindDeviceContext(true); + }); + } else { + ENCODE_COMMAND_1( + _mainEncoder, DeviceMakeCurrent, + actor, _actor, + { + actor->bindDeviceContext(false); + }); + _mainEncoder->FinishWriting(true); // wait till finished + _mainEncoder->SetImmediateMode(true); + _actor->bindRenderContext(true); + } +} + +CommandBuffer *DeviceAgent::createCommandBuffer() { + CommandBuffer *actor = _actor->createCommandBuffer(); + CommandBufferAgent *agent = CC_NEW(CommandBufferAgent(actor, this)); + return agent; +} + +Fence *DeviceAgent::createFence() { + return _actor->createFence(); +} + +Queue *DeviceAgent::createQueue() { + Queue *actor = _actor->createQueue(); + QueueAgent *agent = CC_NEW(QueueAgent(actor, this)); + return agent; +} + +Buffer *DeviceAgent::createBuffer() { + Buffer *actor = _actor->createBuffer(); + BufferAgent *agent = CC_NEW(BufferAgent(actor, this)); + return agent; +} + +Texture *DeviceAgent::createTexture() { + Texture *actor = _actor->createTexture(); + TextureAgent *agent = CC_NEW(TextureAgent(actor, this)); + return agent; +} + +Sampler *DeviceAgent::createSampler() { + Sampler *actor = _actor->createSampler(); + SamplerAgent *agent = CC_NEW(SamplerAgent(actor, this)); + return agent; +} + +Shader *DeviceAgent::createShader() { + Shader *actor = _actor->createShader(); + ShaderAgent *agent = CC_NEW(ShaderAgent(actor, this)); + return agent; +} + +InputAssembler *DeviceAgent::createInputAssembler() { + InputAssembler *actor = _actor->createInputAssembler(); + InputAssemblerAgent *agent = CC_NEW(InputAssemblerAgent(actor, this)); + return agent; +} + +RenderPass *DeviceAgent::createRenderPass() { + RenderPass *actor = _actor->createRenderPass(); + RenderPassAgent *agent = CC_NEW(RenderPassAgent(actor, this)); + return agent; +} + +Framebuffer *DeviceAgent::createFramebuffer() { + Framebuffer *actor = _actor->createFramebuffer(); + FramebufferAgent *agent = CC_NEW(FramebufferAgent(actor, this)); + return agent; +} + +DescriptorSet *DeviceAgent::createDescriptorSet() { + DescriptorSet *actor = _actor->createDescriptorSet(); + DescriptorSetAgent *agent = CC_NEW(DescriptorSetAgent(actor, this)); + return agent; +} + +DescriptorSetLayout *DeviceAgent::createDescriptorSetLayout() { + DescriptorSetLayout *actor = _actor->createDescriptorSetLayout(); + DescriptorSetLayoutAgent *agent = CC_NEW(DescriptorSetLayoutAgent(actor, this)); + return agent; +} + +PipelineLayout *DeviceAgent::createPipelineLayout() { + PipelineLayout *actor = _actor->createPipelineLayout(); + PipelineLayoutAgent *agent = CC_NEW(PipelineLayoutAgent(actor, this)); + return agent; +} + +PipelineState *DeviceAgent::createPipelineState() { + PipelineState *actor = _actor->createPipelineState(); + PipelineStateAgent *agent = CC_NEW(PipelineStateAgent(actor, this)); + return agent; +} + +void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { + CommandEncoder *encoder = getMainEncoder(); + + BufferTextureCopy *actorRegions = encoder->Allocate(count); + memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); + + uint bufferCount = 0u; + for (uint i = 0u; i < count; i++) { + bufferCount += regions[i].texSubres.layerCount; + } + const uint8_t **actorBuffers = encoder->Allocate(bufferCount); + for (uint i = 0u, n = 0u; i < count; i++) { + const BufferTextureCopy ®ion = regions[i]; + uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); + for (uint l = 0; l < region.texSubres.layerCount; l++) { + uint8_t *buffer = encoder->Allocate(size); + memcpy(buffer, buffers[n], size); + actorBuffers[n++] = buffer; + } + } + + ENCODE_COMMAND_5( + encoder, + DeviceCopyBuffersToTexture, + actor, getActor(), + buffers, actorBuffers, + dst, ((TextureAgent *)dst)->getActor(), + regions, actorRegions, + count, count, + { + actor->copyBuffersToTexture(buffers, dst, regions, count); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h old mode 100755 new mode 100644 similarity index 69% rename from native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index bf7a0bce3c..411d0c20ba --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -2,7 +2,7 @@ #include "../gfx/GFXDevice.h" #include "threading/Semaphore.h" -#include "GFXProxy.h" +#include "GFXAgent.h" namespace cc { @@ -19,9 +19,9 @@ struct SubmitContext final { CommandBuffer *commandBuffer{nullptr}; }; -class CC_DLL DeviceProxy final : public Proxy { +class CC_DLL DeviceAgent final : public Agent { public: - using Proxy::Proxy; + using Agent::Agent; virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; @@ -47,15 +47,15 @@ public: virtual void setMultithreaded(bool multithreaded) override; - virtual SurfaceTransform getSurfaceTransform() const override { return _remote->getSurfaceTransform(); } - virtual uint getWidth() const override { return _remote->getWidth(); } - virtual uint getHeight() const override { return _remote->getHeight(); } - virtual uint getNativeWidth() const override { return _remote->getNativeWidth(); } - virtual uint getNativeHeight() const override { return _remote->getNativeHeight(); } - virtual MemoryStatus &getMemoryStatus() override { return _remote->getMemoryStatus(); } - virtual uint getNumDrawCalls() const override { return _remote->getNumDrawCalls(); } - virtual uint getNumInstances() const override { return _remote->getNumInstances(); } - virtual uint getNumTris() const override { return _remote->getNumTris(); } + virtual SurfaceTransform getSurfaceTransform() const override { return _actor->getSurfaceTransform(); } + virtual uint getWidth() const override { return _actor->getWidth(); } + virtual uint getHeight() const override { return _actor->getHeight(); } + virtual uint getNativeWidth() const override { return _actor->getNativeWidth(); } + virtual uint getNativeHeight() const override { return _actor->getNativeHeight(); } + virtual MemoryStatus &getMemoryStatus() override { return _actor->getMemoryStatus(); } + virtual uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } + virtual uint getNumInstances() const override { return _actor->getNumInstances(); } + virtual uint getNumTris() const override { return _actor->getNumTris(); } CommandEncoder *getMainEncoder() const { return _mainEncoder; } protected: diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp new file mode 100644 index 0000000000..d963d58834 --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp @@ -0,0 +1,55 @@ +#include "CoreStd.h" + +#include "threading/CommandEncoder.h" +#include "GFXDeviceAgent.h" +#include "GFXFramebufferAgent.h" +#include "GFXRenderPassAgent.h" +#include "GFXTextureAgent.h" + +namespace cc { +namespace gfx { + +bool FramebufferAgent::initialize(const FramebufferInfo &info) { + _renderPass = info.renderPass; + _colorTextures = info.colorTextures; + _depthStencilTexture = info.depthStencilTexture; + + FramebufferInfo actorInfo = info; + for (uint i = 0u; i < info.colorTextures.size(); ++i) { + if (info.colorTextures[i]) { + actorInfo.colorTextures[i] = ((TextureAgent *)info.colorTextures[i])->getActor(); + } + } + if (info.depthStencilTexture) { + actorInfo.depthStencilTexture = ((TextureAgent *)info.depthStencilTexture)->getActor(); + } + actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + FramebufferInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); + + return true; +} + +void FramebufferAgent::destroy() { + if (_actor) { + ENCODE_COMMAND_1( + ((DeviceAgent *)_device)->getMainEncoder(), + FramebufferDestroy, + actor, getActor(), + { + CC_DESTROY(actor); + }); + + _actor = nullptr; + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h similarity index 60% rename from native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h index 7b7300b4a9..65429d5fb6 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXFramebuffer.h" namespace cc { namespace gfx { -class CC_DLL FramebufferProxy final : public Proxy { +class CC_DLL FramebufferAgent final : public Agent { public: - using Proxy::Proxy; - FramebufferProxy(Device *device) = delete; + using Agent::Agent; + FramebufferAgent(Device *device) = delete; virtual bool initialize(const FramebufferInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp new file mode 100644 index 0000000000..736f94205b --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp @@ -0,0 +1,65 @@ +#include "CoreStd.h" + +#include "threading/CommandEncoder.h" +#include "GFXBufferAgent.h" +#include "GFXDeviceAgent.h" +#include "GFXInputAssemblerAgent.h" + +namespace cc { +namespace gfx { + +bool InputAssemblerAgent::initialize(const InputAssemblerInfo &info) { + _attributes = info.attributes; + _vertexBuffers = info.vertexBuffers; + _indexBuffer = info.indexBuffer; + _indirectBuffer = info.indirectBuffer; + + if (_indexBuffer) { + _indexCount = _indexBuffer->getCount(); + _firstIndex = 0; + } else if (_vertexBuffers.size()) { + _vertexCount = _vertexBuffers[0]->getCount(); + _firstVertex = 0; + _vertexOffset = 0; + } + _attributesHash = computeAttributesHash(); + + InputAssemblerInfo actorInfo = info; + for (uint i = 0u; i < actorInfo.vertexBuffers.size(); ++i) { + actorInfo.vertexBuffers[i] = ((BufferAgent *)actorInfo.vertexBuffers[i])->getActor(); + } + if (actorInfo.indexBuffer) { + actorInfo.indexBuffer = ((BufferAgent *)actorInfo.indexBuffer)->getActor(); + } + if (actorInfo.indirectBuffer) { + actorInfo.indirectBuffer = ((BufferAgent *)actorInfo.indirectBuffer)->getActor(); + } + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + InputAssemblerInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); + + return true; +} + +void InputAssemblerAgent::destroy() { + if (_actor) { + ENCODE_COMMAND_1( + ((DeviceAgent *)_device)->getMainEncoder(), + InputAssemblerDestroy, + actor, getActor(), + { + CC_DESTROY(actor); + }); + + _actor = nullptr; + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h old mode 100755 new mode 100644 similarity index 58% rename from native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h index b7b7aa02e2..b0ecdab728 --- a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h @@ -1,26 +1,26 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXInputAssembler.h" namespace cc { namespace gfx { -class CC_DLL InputAssemblerProxy final : public Proxy { +class CC_DLL InputAssemblerAgent final : public Agent { public: - using Proxy::Proxy; - InputAssemblerProxy(Device *device) = delete; + using Agent::Agent; + InputAssemblerAgent(Device *device) = delete; virtual bool initialize(const InputAssemblerInfo &info) override; virtual void destroy() override; - virtual void setVertexCount(uint count) override { _vertexCount = count; _remote->setVertexCount(count); } - virtual void setFirstVertex(uint first) override { _firstVertex = first; _remote->setFirstVertex(first); } - virtual void setIndexCount(uint count) override { _indexCount = count; _remote->setIndexCount(count); } - virtual void setFirstIndex(uint first) override { _firstIndex = first; _remote->setFirstIndex(first); } - virtual void setVertexOffset(uint offset) override { _vertexOffset = offset; _remote->setVertexOffset(offset); } - virtual void setInstanceCount(uint count) override { _instanceCount = count; _remote->setInstanceCount(count); } - virtual void setFirstInstance(uint first) override { _firstInstance = first; _remote->setFirstInstance(first); } + virtual void setVertexCount(uint count) override { _vertexCount = count; _actor->setVertexCount(count); } + virtual void setFirstVertex(uint first) override { _firstVertex = first; _actor->setFirstVertex(first); } + virtual void setIndexCount(uint count) override { _indexCount = count; _actor->setIndexCount(count); } + virtual void setFirstIndex(uint first) override { _firstIndex = first; _actor->setFirstIndex(first); } + virtual void setVertexOffset(uint offset) override { _vertexOffset = offset; _actor->setVertexOffset(offset); } + virtual void setInstanceCount(uint count) override { _instanceCount = count; _actor->setInstanceCount(count); } + virtual void setFirstInstance(uint first) override { _firstInstance = first; _actor->setFirstInstance(first); } }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp new file mode 100644 index 0000000000..177faf5008 --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp @@ -0,0 +1,48 @@ +#include "CoreStd.h" + +#include "threading/CommandEncoder.h" +#include "GFXDescriptorSetLayoutAgent.h" +#include "GFXDeviceAgent.h" +#include "GFXPipelineLayoutAgent.h" + +namespace cc { +namespace gfx { + +bool PipelineLayoutAgent::initialize(const PipelineLayoutInfo &info) { + + _setLayouts = info.setLayouts; + + PipelineLayoutInfo actorInfo; + actorInfo.setLayouts.resize(info.setLayouts.size()); + for (uint i = 0u; i < info.setLayouts.size(); i++) { + actorInfo.setLayouts[i] = ((DescriptorSetLayoutAgent *)info.setLayouts[i])->getActor(); + } + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + PipelineLayoutInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); + + return true; +} + +void PipelineLayoutAgent::destroy() { + if (_actor) { + ENCODE_COMMAND_1( + ((DeviceAgent *)_device)->getMainEncoder(), + PipelineLayoutDestroy, + actor, getActor(), + { + CC_DESTROY(actor); + }); + + _actor = nullptr; + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h similarity index 60% rename from native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h index 2996e47d0f..bb0de7e33b 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXPipelineLayout.h" namespace cc { namespace gfx { -class CC_DLL PipelineLayoutProxy final : public Proxy { +class CC_DLL PipelineLayoutAgent final : public Agent { public: - using Proxy::Proxy; - PipelineLayoutProxy(Device *device) = delete; + using Agent::Agent; + PipelineLayoutAgent(Device *device) = delete; virtual bool initialize(const PipelineLayoutInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp new file mode 100644 index 0000000000..36adb7dcbe --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp @@ -0,0 +1,56 @@ +#include "CoreStd.h" + +#include "threading/CommandEncoder.h" +#include "GFXDeviceAgent.h" +#include "GFXPipelineLayoutAgent.h" +#include "GFXPipelineStateAgent.h" +#include "GFXRenderPassAgent.h" +#include "GFXShaderAgent.h" + +namespace cc { +namespace gfx { + +bool PipelineStateAgent::initialize(const PipelineStateInfo &info) { + _primitive = info.primitive; + _shader = info.shader; + _inputState = info.inputState; + _rasterizerState = info.rasterizerState; + _depthStencilState = info.depthStencilState; + _blendState = info.blendState; + _dynamicStates = info.dynamicStates; + _renderPass = info.renderPass; + _pipelineLayout = info.pipelineLayout; + + PipelineStateInfo actorInfo = info; + actorInfo.shader = ((ShaderAgent *)info.shader)->getActor(); + actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); + actorInfo.pipelineLayout = ((PipelineLayoutAgent *)info.pipelineLayout)->getActor(); + + ENCODE_COMMAND_2( + ((DeviceAgent *)_device)->getMainEncoder(), + PipelineStateInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); + + return true; +} + +void PipelineStateAgent::destroy() { + if (_actor) { + ENCODE_COMMAND_1( + ((DeviceAgent *)_device)->getMainEncoder(), + PipelineStateDestroy, + actor, getActor(), + { + CC_DESTROY(actor); + }); + + _actor = nullptr; + } +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h old mode 100755 new mode 100644 similarity index 60% rename from native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h index c5604d0b0f..28a806e928 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXPipelineState.h" namespace cc { namespace gfx { -class CC_DLL PipelineStateProxy final : public Proxy { +class CC_DLL PipelineStateAgent final : public Agent { public: - using Proxy::Proxy; - PipelineStateProxy(Device *device) = delete; + using Agent::Agent; + PipelineStateAgent(Device *device) = delete; virtual bool initialize(const PipelineStateInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp old mode 100755 new mode 100644 similarity index 59% rename from native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp rename to native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 81284f1375..9d62c800bf --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -2,49 +2,49 @@ #include "job-system/JobSystem.h" #include "threading/CommandEncoder.h" -#include "GFXCommandBufferProxy.h" -#include "GFXDeviceProxy.h" -#include "GFXQueueProxy.h" +#include "GFXCommandBufferAgent.h" +#include "GFXDeviceAgent.h" +#include "GFXQueueAgent.h" namespace cc { namespace gfx { -bool QueueProxy::initialize(const QueueInfo &info) { +bool QueueAgent::initialize(const QueueInfo &info) { _type = info.type; ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), QueueInit, - remote, getRemote(), + actor, getActor(), info, info, { - remote->initialize(info); + actor->initialize(info); }); return true; } -void QueueProxy::destroy() { - if (_remote) { +void QueueAgent::destroy() { + if (_actor) { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), QueueDestroy, - remote, getRemote(), + actor, getActor(), { - CC_DESTROY(remote); + CC_DESTROY(actor); }); - _remote = nullptr; + _actor = nullptr; } } -void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { +void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { if (!count) return; - CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); + CommandEncoder *encoder = ((DeviceAgent *)_device)->getMainEncoder(); - const CommandBuffer **remoteCmdBuffs = encoder->Allocate(count); + const CommandBuffer **actorCmdBuffs = encoder->Allocate(count); for (uint i = 0u; i < count; ++i) { - remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); + actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); @@ -52,10 +52,10 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence ENCODE_COMMAND_6( encoder, QueueSubmit, - remote, getRemote(), + actor, getActor(), multiThreaded, multiThreaded, cmdBuffs, cmdBuffs, - remoteCmdBuffs, remoteCmdBuffs, + actorCmdBuffs, actorCmdBuffs, count, count, fence, fence, { @@ -64,24 +64,24 @@ void QueueProxy::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence if (multiThreaded) { JobGraph g(JobSystem::getInstance()); uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->FlushCommands(); }); g.run(job); - ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); g.waitForAll(); } else { for (uint i = 0u; i < count; ++i) { - ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->FlushCommands(); } } } else { - ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); } // CC_LOG_INFO("======== one round ========"); // auto endTime = std::chrono::steady_clock::now(); // CC_LOG_INFO("---------- %.2fms", std::chrono::duration_cast(endTime - startTime).count() / 1e6); - remote->submit(remoteCmdBuffs, count, fence); + actor->submit(actorCmdBuffs, count, fence); }); } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h old mode 100755 new mode 100644 similarity index 71% rename from native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h index 5cee3eb934..a61d9f4e6f --- a/native/cocos/renderer/core/gfx-proxy/GFXQueueProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h @@ -1,17 +1,17 @@ #pragma once #include "../gfx/GFXQueue.h" -#include "GFXProxy.h" +#include "GFXAgent.h" namespace cc { namespace gfx { -class CC_DLL QueueProxy final : public Proxy { +class CC_DLL QueueAgent final : public Agent { public: - using Proxy::Proxy; + using Agent::Agent; using Queue::submit; - QueueProxy(Device *device) = delete; + QueueAgent(Device *device) = delete; virtual bool initialize(const QueueInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp similarity index 52% rename from native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp rename to native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp index 3755447d7a..444558991c 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp @@ -1,13 +1,13 @@ #include "CoreStd.h" #include "threading/CommandEncoder.h" -#include "GFXDeviceProxy.h" -#include "GFXRenderPassProxy.h" +#include "GFXDeviceAgent.h" +#include "GFXRenderPassAgent.h" namespace cc { namespace gfx { -bool RenderPassProxy::initialize(const RenderPassInfo &info) { +bool RenderPassAgent::initialize(const RenderPassInfo &info) { _colorAttachments = info.colorAttachments; _depthStencilAttachment = info.depthStencilAttachment; @@ -15,28 +15,28 @@ bool RenderPassProxy::initialize(const RenderPassInfo &info) { _hash = computeHash(); ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), RenderPassInit, - remote, getRemote(), + actor, getActor(), info, info, { - remote->initialize(info); + actor->initialize(info); }); return true; } -void RenderPassProxy::destroy() { - if (_remote) { +void RenderPassAgent::destroy() { + if (_actor) { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), RenderPassDestroy, - remote, getRemote(), + actor, getActor(), { - CC_DESTROY(remote); + CC_DESTROY(actor); }); - _remote = nullptr; + _actor = nullptr; } } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h similarity index 60% rename from native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h index 3bfe4fced1..a10e94da26 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXRenderPassProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h @@ -1,15 +1,15 @@ #pragma once #include "../gfx/GFXRenderPass.h" -#include "GFXProxy.h" +#include "GFXAgent.h" namespace cc { namespace gfx { -class CC_DLL RenderPassProxy final : public Proxy { +class CC_DLL RenderPassAgent final : public Agent { public: - using Proxy::Proxy; - RenderPassProxy(Device *device) = delete; + using Agent::Agent; + RenderPassAgent(Device *device) = delete; virtual bool initialize(const RenderPassInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp similarity index 60% rename from native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp rename to native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp index f66ecdd7bb..0b071baf3c 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp @@ -1,14 +1,14 @@ #include "CoreStd.h" #include "threading/CommandEncoder.h" -#include "GFXDescriptorSetLayoutProxy.h" -#include "GFXDeviceProxy.h" -#include "GFXSamplerProxy.h" +#include "GFXDescriptorSetLayoutAgent.h" +#include "GFXDeviceAgent.h" +#include "GFXSamplerAgent.h" namespace cc { namespace gfx { -bool SamplerProxy::initialize(const SamplerInfo &info) { +bool SamplerAgent::initialize(const SamplerInfo &info) { _minFilter = info.minFilter; _magFilter = info.magFilter; @@ -24,28 +24,28 @@ bool SamplerProxy::initialize(const SamplerInfo &info) { _mipLODBias = info.mipLODBias; ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), SamplerInit, - remote, getRemote(), + actor, getActor(), info, info, { - remote->initialize(info); + actor->initialize(info); }); return true; } -void SamplerProxy::destroy() { - if (_remote) { +void SamplerAgent::destroy() { + if (_actor) { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), SamplerDestroy, - remote, getRemote(), + actor, getActor(), { - CC_DESTROY(remote); + CC_DESTROY(actor); }); - _remote = nullptr; + _actor = nullptr; } } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h similarity index 60% rename from native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h index 11659f8ec8..eeeab014db 100644 --- a/native/cocos/renderer/core/gfx-proxy/GFXSamplerProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXSampler.h" namespace cc { namespace gfx { -class CC_DLL SamplerProxy final : public Proxy { +class CC_DLL SamplerAgent final : public Agent { public: - using Proxy::Proxy; - SamplerProxy(Device *device) = delete; + using Agent::Agent; + SamplerAgent(Device *device) = delete; virtual bool initialize(const SamplerInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp old mode 100755 new mode 100644 similarity index 52% rename from native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp rename to native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp index 5a1f770ff4..3788e9c1d0 --- a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp @@ -1,13 +1,13 @@ #include "CoreStd.h" #include "threading/CommandEncoder.h" -#include "GFXDeviceProxy.h" -#include "GFXShaderProxy.h" +#include "GFXDeviceAgent.h" +#include "GFXShaderAgent.h" namespace cc { namespace gfx { -bool ShaderProxy::initialize(const ShaderInfo &info) { +bool ShaderAgent::initialize(const ShaderInfo &info) { _name = info.name; _stages = info.stages; _attributes = info.attributes; @@ -15,28 +15,28 @@ bool ShaderProxy::initialize(const ShaderInfo &info) { _samplers = info.samplers; ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), ShaderInit, - remote, getRemote(), + actor, getActor(), info, info, { - remote->initialize(info); + actor->initialize(info); }); return true; } -void ShaderProxy::destroy() { - if (_remote) { +void ShaderAgent::destroy() { + if (_actor) { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), ShaderDestroy, - remote, getRemote(), + actor, getActor(), { - CC_DESTROY(remote); + CC_DESTROY(actor); }); - _remote = nullptr; + _actor = nullptr; } } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h old mode 100755 new mode 100644 similarity index 61% rename from native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h index fae3fce714..b2dcd35121 --- a/native/cocos/renderer/core/gfx-proxy/GFXShaderProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXShader.h" namespace cc { namespace gfx { -class CC_DLL ShaderProxy final : public Proxy { +class CC_DLL ShaderAgent final : public Agent { public: - using Proxy::Proxy; - ShaderProxy(Device *device) = delete; + using Agent::Agent; + ShaderAgent(Device *device) = delete; virtual bool initialize(const ShaderInfo &info) override; virtual void destroy() override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp old mode 100755 new mode 100644 similarity index 65% rename from native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp rename to native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp index 0f0f871b0d..8cf9d887cd --- a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp @@ -1,13 +1,13 @@ #include "CoreStd.h" #include "threading/CommandEncoder.h" -#include "GFXTextureProxy.h" -#include "GFXDeviceProxy.h" +#include "GFXTextureAgent.h" +#include "GFXDeviceAgent.h" namespace cc { namespace gfx { -bool TextureProxy::initialize(const TextureInfo &info) { +bool TextureAgent::initialize(const TextureInfo &info) { _type = info.type; _usage = info.usage; _format = info.format; @@ -21,18 +21,18 @@ bool TextureProxy::initialize(const TextureInfo &info) { _size = FormatSize(_format, _width, _height, _depth); ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getMainEncoder(), + ((DeviceAgent*)_device)->getMainEncoder(), TextureInit, - remote, getRemote(), + actor, getActor(), info, info, { - remote->initialize(info); + actor->initialize(info); }); return true; } -bool TextureProxy::initialize(const TextureViewInfo &info) { +bool TextureAgent::initialize(const TextureViewInfo &info) { _isTextureView = true; if (!info.texture) { @@ -54,40 +54,40 @@ bool TextureProxy::initialize(const TextureViewInfo &info) { _size = FormatSize(_format, _width, _height, _depth); ENCODE_COMMAND_2( - ((DeviceProxy*)_device)->getMainEncoder(), + ((DeviceAgent*)_device)->getMainEncoder(), TextureViewInit, - remote, getRemote(), + actor, getActor(), info, info, { - remote->initialize(info); + actor->initialize(info); }); return true; } -void TextureProxy::destroy() { - if (_remote) { +void TextureAgent::destroy() { + if (_actor) { ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), + ((DeviceAgent *)_device)->getMainEncoder(), TextureDestroy, - remote, getRemote(), + actor, getActor(), { - CC_DESTROY(remote); + CC_DESTROY(actor); }); - _remote = nullptr; + _actor = nullptr; } } -void TextureProxy::resize(uint width, uint height) { +void TextureAgent::resize(uint width, uint height) { ENCODE_COMMAND_3( - ((DeviceProxy*)_device)->getMainEncoder(), + ((DeviceAgent*)_device)->getMainEncoder(), TextureResize, - remote, getRemote(), + actor, getActor(), width, width, height, height, { - remote->resize(width, height); + actor->resize(width, height); }); } diff --git a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h old mode 100755 new mode 100644 similarity index 70% rename from native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h rename to native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h index e021ad232b..ddac4dc3bc --- a/native/cocos/renderer/core/gfx-proxy/GFXTextureProxy.h +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h @@ -1,15 +1,15 @@ #pragma once -#include "GFXProxy.h" +#include "GFXAgent.h" #include "../gfx/GFXTexture.h" namespace cc { namespace gfx { -class CC_DLL TextureProxy final : public Proxy { +class CC_DLL TextureAgent final : public Agent { public: - using Proxy::Proxy; - TextureProxy(Device *device) = delete; + using Agent::Agent; + TextureAgent(Device *device) = delete; virtual bool initialize(const TextureInfo &info) override; virtual bool initialize(const TextureViewInfo &info) override; diff --git a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp deleted file mode 100755 index cc257dc59b..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXBufferProxy.cpp +++ /dev/null @@ -1,99 +0,0 @@ -#include "CoreStd.h" - -#include "threading/CommandEncoder.h" -#include "GFXBufferProxy.h" -#include "GFXDeviceProxy.h" - -namespace cc { -namespace gfx { - -bool BufferProxy::initialize(const BufferInfo &info) { - _usage = info.usage; - _memUsage = info.memUsage; - _size = info.size; - _flags = info.flags; - _stride = std::max(info.stride, 1u); - _count = _size / _stride; - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - BufferInit, - remote, getRemote(), - info, info, - { - remote->initialize(info); - }); - - return true; -} - -bool BufferProxy::initialize(const BufferViewInfo &info) { - _usage = info.buffer->getUsage(); - _memUsage = info.buffer->getMemUsage(); - _flags = info.buffer->getFlags(); - _offset = info.offset; - _size = _stride = info.range; - _count = 1u; - - BufferViewInfo remoteInfo = info; - remoteInfo.buffer = ((BufferProxy *)info.buffer)->getRemote(); - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - BufferViewInit, - remote, getRemote(), - info, remoteInfo, - { - remote->initialize(info); - }); - - return true; -} - -void BufferProxy::destroy() { - if (_remote) { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), - BufferDestroy, - remote, getRemote(), - { - CC_DESTROY(remote); - }); - - _remote = nullptr; - } -} - -void BufferProxy::update(void *buffer, uint size) { - CommandEncoder *encoder = ((DeviceProxy *)_device)->getMainEncoder(); - - uint8_t *remoteBuffer = encoder->Allocate(size); - memcpy(remoteBuffer, buffer, size); - - ENCODE_COMMAND_3( - encoder, - BufferUpdate, - remote, getRemote(), - buffer, remoteBuffer, - size, size, - { - remote->update(buffer, size); - }); -} - -void BufferProxy::resize(uint size) { - _size = size; - _count = size / _stride; - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - BufferResize, - remote, getRemote(), - size, size, - { - remote->resize(size); - }); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp deleted file mode 100755 index 2b74d658ab..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXCommandBufferProxy.cpp +++ /dev/null @@ -1,363 +0,0 @@ -#include "CoreStd.h" - -#include "job-system/JobSystem.h" -#include "threading/CommandEncoder.h" -#include "GFXBufferProxy.h" -#include "GFXCommandBufferProxy.h" -#include "GFXDescriptorSetProxy.h" -#include "GFXDeviceProxy.h" -#include "GFXFramebufferProxy.h" -#include "GFXInputAssemblerProxy.h" -#include "GFXPipelineStateProxy.h" -#include "GFXQueueProxy.h" -#include "GFXRenderPassProxy.h" -#include "GFXTextureProxy.h" - -namespace cc { -namespace gfx { - -void CommandBufferProxy::initEncoder() { - _encoder = CC_NEW(CommandEncoder); - _encoder->SetImmediateMode(false); -} - -void CommandBufferProxy::destroyEncoder() { - CC_SAFE_DELETE(_encoder); -} - -bool CommandBufferProxy::initialize(const CommandBufferInfo &info) { - initEncoder(); - - _type = info.type; - _queue = info.queue; - - CommandBufferInfo remoteInfo = info; - remoteInfo.queue = ((QueueProxy *)info.queue)->getRemote(); - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - CommandBufferInit, - remote, getRemote(), - info, remoteInfo, - { - remote->initialize(info); - }); - - return true; -} - -void CommandBufferProxy::destroy() { - destroyEncoder(); - if (_remote) { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), - CommandBufferDestroy, - remote, getRemote(), - { - CC_DESTROY(remote); - }); - - _remote = nullptr; - } -} - -void CommandBufferProxy::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { - ENCODE_COMMAND_5( - _encoder, - CommandBufferBegin, - remote, getRemote(), - renderPass, renderPass ? ((RenderPassProxy *)renderPass)->getRemote() : nullptr, - subpass, subpass, - frameBuffer, frameBuffer ? ((FramebufferProxy *)frameBuffer)->getRemote() : nullptr, - submitIndex, submitIndex, - { - remote->begin(renderPass, subpass, frameBuffer, submitIndex); - }); -} - -void CommandBufferProxy::end() { - ENCODE_COMMAND_1( - _encoder, - CommandBufferEnd, - remote, getRemote(), - { - remote->end(); - }); - CommandEncoder::FreeChunksInFreeQueue(_encoder); - _encoder->FinishWriting(); -} - -void CommandBufferProxy::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { - - uint attachmentCount = (uint)renderPass->getColorAttachments().size(); - Color *remoteColors = nullptr; - if (attachmentCount) { - remoteColors = _encoder->Allocate(attachmentCount); - memcpy(remoteColors, colors, sizeof(Color) * attachmentCount); - } - - ENCODE_COMMAND_8( - _encoder, - CommandBufferBeginRenderPass, - remote, getRemote(), - renderPass, ((RenderPassProxy *)renderPass)->getRemote(), - fbo, ((FramebufferProxy *)fbo)->getRemote(), - renderArea, renderArea, - colors, remoteColors, - depth, depth, - stencil, stencil, - fromSecondaryCB, fromSecondaryCB, - { - remote->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, fromSecondaryCB); - }); -} - -void CommandBufferProxy::endRenderPass() { - ENCODE_COMMAND_1( - _encoder, - CommandBufferEndRenderPass, - remote, getRemote(), - { - remote->endRenderPass(); - }); -} - -void CommandBufferProxy::bindPipelineState(PipelineState *pso) { - ENCODE_COMMAND_2( - _encoder, - CommandBufferBindPipelineState, - remote, getRemote(), - pso, ((PipelineStateProxy *)pso)->getRemote(), - { - remote->bindPipelineState(pso); - }); -} - -void CommandBufferProxy::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { - uint *remoteDynamicOffsets = nullptr; - if (dynamicOffsetCount) { - remoteDynamicOffsets = _encoder->Allocate(dynamicOffsetCount); - memcpy(remoteDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); - } - - ENCODE_COMMAND_5( - _encoder, - CommandBufferBindDescriptorSet, - remote, getRemote(), - set, set, - descriptorSet, ((DescriptorSetProxy *)descriptorSet)->getRemote(), - dynamicOffsetCount, dynamicOffsetCount, - dynamicOffsets, remoteDynamicOffsets, - { - remote->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); - }); -} - -void CommandBufferProxy::bindInputAssembler(InputAssembler *ia) { - ENCODE_COMMAND_2( - _encoder, - CommandBufferBindInputAssembler, - remote, getRemote(), - ia, ((InputAssemblerProxy *)ia)->getRemote(), - { - remote->bindInputAssembler(ia); - }); -} - -void CommandBufferProxy::setViewport(const Viewport &vp) { - ENCODE_COMMAND_2( - _encoder, - CommandBufferSetViewport, - remote, getRemote(), - vp, vp, - { - remote->setViewport(vp); - }); -} - -void CommandBufferProxy::setScissor(const Rect &rect) { - ENCODE_COMMAND_2( - _encoder, - CommandBufferSetScissor, - remote, getRemote(), - rect, rect, - { - remote->setScissor(rect); - }); -} - -void CommandBufferProxy::setLineWidth(const float width) { - ENCODE_COMMAND_2( - _encoder, - CommandBufferSetLineWidth, - remote, getRemote(), - width, width, - { - remote->setLineWidth(width); - }); -} - -void CommandBufferProxy::setDepthBias(float constant, float clamp, float slope) { - ENCODE_COMMAND_4( - _encoder, - CommandBufferSetDepthBias, - remote, getRemote(), - constant, constant, - clamp, clamp, - slope, slope, - { - remote->setDepthBias(constant, clamp, slope); - }); -} - -void CommandBufferProxy::setBlendConstants(const Color &constants) { - ENCODE_COMMAND_2( - _encoder, - CommandBufferSetBlendConstants, - remote, getRemote(), - constants, constants, - { - remote->setBlendConstants(constants); - }); -} - -void CommandBufferProxy::setDepthBound(float minBounds, float maxBounds) { - ENCODE_COMMAND_3( - _encoder, - CommandBufferSetDepthBound, - remote, getRemote(), - minBounds, minBounds, - maxBounds, maxBounds, - { - remote->setDepthBound(minBounds, maxBounds); - }); -} - -void CommandBufferProxy::setStencilWriteMask(StencilFace face, uint mask) { - ENCODE_COMMAND_3( - _encoder, - CommandBufferSetStencilWriteMask, - remote, getRemote(), - face, face, - mask, mask, - { - remote->setStencilWriteMask(face, mask); - }); -} - -void CommandBufferProxy::setStencilCompareMask(StencilFace face, int ref, uint mask) { - ENCODE_COMMAND_4( - _encoder, - CommandBufferSetStencilCompareMask, - remote, getRemote(), - face, face, - ref, ref, - mask, mask, - { - remote->setStencilCompareMask(face, ref, mask); - }); -} - -void CommandBufferProxy::draw(InputAssembler *ia) { - ENCODE_COMMAND_2( - _encoder, - CommandBufferDraw, - remote, getRemote(), - ia, ((InputAssemblerProxy *)ia)->getRemote(), - { - remote->draw(ia); - }); -} - -void CommandBufferProxy::updateBuffer(Buffer *buff, const void *data, uint size) { - CommandEncoder *encoder = _encoder; - - uint8_t *remoteData = encoder->Allocate(size); - memcpy(remoteData, data, size); - - ENCODE_COMMAND_4( - encoder, - CommandBufferUpdateBuffer, - remote, getRemote(), - buff, ((BufferProxy *)buff)->getRemote(), - data, remoteData, - size, size, - { - remote->updateBuffer(buff, data, size); - }); -} - -void CommandBufferProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - BufferTextureCopy *remoteRegions = _encoder->Allocate(count); - memcpy(remoteRegions, regions, count * sizeof(BufferTextureCopy)); - - uint bufferCount = 0u; - for (uint i = 0u; i < count; i++) { - bufferCount += regions[i].texSubres.layerCount; - } - const uint8_t **remoteBuffers = _encoder->Allocate(bufferCount); - for (uint i = 0u, n = 0u; i < count; i++) { - const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); - for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = _encoder->Allocate(size); - memcpy(buffer, buffers[n], size); - remoteBuffers[n++] = buffer; - } - } - - ENCODE_COMMAND_5( - _encoder, - CommandBufferCopyBuffersToTexture, - remote, getRemote(), - buffers, remoteBuffers, - texture, ((TextureProxy *)texture)->getRemote(), - regions, remoteRegions, - count, count, - { - remote->copyBuffersToTexture(buffers, texture, regions, count); - }); -} - -void CommandBufferProxy::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - if (!count) return; - - const CommandBuffer **remoteCmdBuffs = _encoder->Allocate(count); - for (uint i = 0; i < count; ++i) { - remoteCmdBuffs[i] = ((CommandBufferProxy *)cmdBuffs[i])->getRemote(); - } - - bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); - - ENCODE_COMMAND_5( - _encoder, - CommandBufferExecute, - remote, getRemote(), - cmdBuffs, cmdBuffs, - remoteCmdBuffs, remoteCmdBuffs, - count, count, - multiThreaded, multiThreaded, - { - if (count > 1) { - if (multiThreaded) { - JobGraph g(JobSystem::getInstance()); - uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); - }); - g.run(job); - ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); - g.waitForAll(); - } else { - for (uint i = 0u; i < count; ++i) { - ((CommandBufferProxy *)cmdBuffs[i])->getEncoder()->FlushCommands(); - } - } - } else { - ((CommandBufferProxy *)cmdBuffs[0])->getEncoder()->FlushCommands(); - } - remote->execute(remoteCmdBuffs, count); - }); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp deleted file mode 100755 index 519d0ec21b..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXDescriptorSetProxy.cpp +++ /dev/null @@ -1,112 +0,0 @@ -#include "CoreStd.h" - -#include "threading/CommandEncoder.h" -#include "GFXBufferProxy.h" -#include "GFXDescriptorSetProxy.h" -#include "GFXDeviceProxy.h" -#include "GFXPipelineLayoutProxy.h" -#include "GFXSamplerProxy.h" -#include "GFXTextureProxy.h" - -namespace cc { -namespace gfx { - -bool DescriptorSetProxy::initialize(const DescriptorSetInfo &info) { - _layout = info.layout->getSetLayouts()[info.setIndex]; - uint descriptorCount = _layout->getDescriptorCount(); - _buffers.resize(descriptorCount); - _textures.resize(descriptorCount); - _samplers.resize(descriptorCount); - - DescriptorSetInfo remoteInfo; - remoteInfo.layout = ((PipelineLayoutProxy *)info.layout)->getRemote(); - remoteInfo.setIndex = info.setIndex; - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - DescriptorSetInit, - remote, getRemote(), - info, remoteInfo, - { - remote->initialize(info); - }); - - return true; -} - -void DescriptorSetProxy::destroy() { - // do remember to clear these or else it might not be properly updated when reused - _buffers.clear(); - _textures.clear(); - _samplers.clear(); - - if (_remote) { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), - DescriptorSetDestroy, - remote, getRemote(), - { - CC_DESTROY(remote); - }); - - _remote = nullptr; - } -} - -void DescriptorSetProxy::update() { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), - DescriptorSetUpdate, - remote, getRemote(), - { - remote->update(); - }); -} - -void DescriptorSetProxy::bindBuffer(uint binding, Buffer *buffer, uint index) { - DescriptorSet::bindBuffer(binding, buffer, index); - - ENCODE_COMMAND_4( - ((DeviceProxy *)_device)->getMainEncoder(), - DescriptorSetBindBuffer, - remote, getRemote(), - binding, binding, - buffer, ((BufferProxy *)buffer)->getRemote(), - index, index, - { - remote->bindBuffer(binding, buffer, index); - }); -} - -void DescriptorSetProxy::bindTexture(uint binding, Texture *texture, uint index) { - DescriptorSet::bindTexture(binding, texture, index); - - ENCODE_COMMAND_4( - ((DeviceProxy *)_device)->getMainEncoder(), - DescriptorSetBindTexture, - remote, getRemote(), - binding, binding, - texture, ((TextureProxy *)texture)->getRemote(), - index, index, - { - remote->bindTexture(binding, texture, index); - }); -} - -void DescriptorSetProxy::bindSampler(uint binding, Sampler *sampler, uint index) { - DescriptorSet::bindSampler(binding, sampler, index); - - ENCODE_COMMAND_4( - ((DeviceProxy *)_device)->getMainEncoder(), - DescriptorSetBindSampler, - remote, getRemote(), - binding, binding, - sampler, ((SamplerProxy *)sampler)->getRemote(), - index, index, - { - remote->bindSampler(binding, sampler, index); - }); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp deleted file mode 100755 index c2a4840455..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXDeviceProxy.cpp +++ /dev/null @@ -1,282 +0,0 @@ -#include "CoreStd.h" - -#include "threading/CommandEncoder.h" -#include "GFXBufferProxy.h" -#include "GFXCommandBufferProxy.h" -#include "GFXDescriptorSetLayoutProxy.h" -#include "GFXDescriptorSetProxy.h" -#include "GFXDeviceProxy.h" -#include "GFXFramebufferProxy.h" -#include "GFXInputAssemblerProxy.h" -#include "GFXPipelineLayoutProxy.h" -#include "GFXPipelineStateProxy.h" -#include "GFXQueueProxy.h" -#include "GFXRenderPassProxy.h" -#include "GFXSamplerProxy.h" -#include "GFXShaderProxy.h" -#include "GFXTextureProxy.h" - -namespace cc { -namespace gfx { - -bool DeviceProxy::initialize(const DeviceInfo &info) { - _clipSpaceMinZ = _remote->getClipSpaceMinZ(); - _screenSpaceSignY = _remote->getScreenSpaceSignY(); - _UVSpaceSignY = _remote->getUVSpaceSignY(); - - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; - _nativeHeight = info.nativeHeight; - _windowHandle = info.windowHandle; - - _bindingMappingInfo = info.bindingMappingInfo; - if (_bindingMappingInfo.bufferOffsets.empty()) { - _bindingMappingInfo.bufferOffsets.push_back(0); - } - if (_bindingMappingInfo.samplerOffsets.empty()) { - _bindingMappingInfo.samplerOffsets.push_back(0); - } - - if (!_remote->initialize(info)) { - return false; - } - - _context = _remote->getContext(); - _API = _remote->getGfxAPI(); - _deviceName = _remote->getDeviceName(); - _queue = CC_NEW(QueueProxy(_remote->getQueue(), this)); - _cmdBuff = CC_NEW(CommandBufferProxy(_remote->getCommandBuffer(), this)); - ((CommandBufferProxy *)_cmdBuff)->initEncoder(); - _renderer = _remote->getRenderer(); - _vendor = _remote->getVendor(); - _maxVertexAttributes = _remote->getMaxVertexAttributes(); - _maxVertexUniformVectors = _remote->getMaxVertexUniformVectors(); - _maxFragmentUniformVectors = _remote->getMaxFragmentUniformVectors(); - _maxTextureUnits = _remote->getMaxTextureUnits(); - _maxVertexTextureUnits = _remote->getMaxVertexTextureUnits(); - _maxUniformBufferBindings = _remote->getMaxUniformBufferBindings(); - _maxUniformBlockSize = _remote->getMaxUniformBlockSize(); - _maxTextureSize = _remote->getMaxTextureSize(); - _maxCubeMapTextureSize = _remote->getMaxCubeMapTextureSize(); - _uboOffsetAlignment = _remote->getUboOffsetAlignment(); - _depthBits = _remote->getDepthBits(); - _stencilBits = _remote->getStencilBits(); - memcpy(_features, _remote->_features, (uint)Feature::COUNT * sizeof(bool)); - - _mainEncoder = CC_NEW(CommandEncoder); - _mainEncoder->RunConsumerThread(); - - setMultithreaded(true); - - return true; -} - -void DeviceProxy::destroy() { - if (_remote) { - ENCODE_COMMAND_1( - getMainEncoder(), - DeviceDestroy, - remote, getRemote(), - { - CC_DESTROY(remote); - }); - - _remote = nullptr; - } - - ((CommandBufferProxy *)_cmdBuff)->destroyEncoder(); - CC_SAFE_DELETE(_cmdBuff); - CC_SAFE_DELETE(_queue); - - _mainEncoder->TerminateConsumerThread(); - CC_SAFE_DELETE(_mainEncoder); -} - -void DeviceProxy::resize(uint width, uint height) { - _width = _nativeWidth = width; - _height = _nativeHeight = height; - - ENCODE_COMMAND_3( - getMainEncoder(), - DeviceResize, - remote, getRemote(), - width, width, - height, height, - { - remote->resize(width, height); - }); -} - -void DeviceProxy::acquire() { - _frameBoundarySemaphore.Wait(); - CommandEncoder *encoder = getMainEncoder(); - ENCODE_COMMAND_1( - encoder, - DeviceAcquire, - remote, getRemote(), - { - remote->acquire(); - }); -} - -void DeviceProxy::present() { - CommandEncoder *encoder = getMainEncoder(); - ENCODE_COMMAND_2( - encoder, - DevicePresent, - remote, getRemote(), - frameBoundarySemaphore, &_frameBoundarySemaphore, - { - remote->present(); - frameBoundarySemaphore->Signal(); - }); - - CommandEncoder::FreeChunksInFreeQueue(encoder); - encoder->FinishWriting(); -} - -void DeviceProxy::setMultithreaded(bool multithreaded) { - if (multithreaded == _multithreaded) return; - _multithreaded = multithreaded; - - if (multithreaded) { - _mainEncoder->SetImmediateMode(false); - _remote->bindRenderContext(false); - ENCODE_COMMAND_1( - _mainEncoder, DeviceMakeCurrent, - remote, _remote, - { - remote->bindDeviceContext(true); - }); - } else { - ENCODE_COMMAND_1( - _mainEncoder, DeviceMakeCurrent, - remote, _remote, - { - remote->bindDeviceContext(false); - }); - _mainEncoder->FinishWriting(true); // wait till finished - _mainEncoder->SetImmediateMode(true); - _remote->bindRenderContext(true); - } -} - -CommandBuffer *DeviceProxy::createCommandBuffer() { - CommandBuffer *remote = _remote->createCommandBuffer(); - CommandBufferProxy *proxy = CC_NEW(CommandBufferProxy(remote, this)); - return proxy; -} - -Fence *DeviceProxy::createFence() { - return _remote->createFence(); -} - -Queue *DeviceProxy::createQueue() { - Queue *remote = _remote->createQueue(); - QueueProxy *proxy = CC_NEW(QueueProxy(remote, this)); - return proxy; -} - -Buffer *DeviceProxy::createBuffer() { - Buffer *remote = _remote->createBuffer(); - BufferProxy *proxy = CC_NEW(BufferProxy(remote, this)); - return proxy; -} - -Texture *DeviceProxy::createTexture() { - Texture *remote = _remote->createTexture(); - TextureProxy *proxy = CC_NEW(TextureProxy(remote, this)); - return proxy; -} - -Sampler *DeviceProxy::createSampler() { - Sampler *remote = _remote->createSampler(); - SamplerProxy *proxy = CC_NEW(SamplerProxy(remote, this)); - return proxy; -} - -Shader *DeviceProxy::createShader() { - Shader *remote = _remote->createShader(); - ShaderProxy *proxy = CC_NEW(ShaderProxy(remote, this)); - return proxy; -} - -InputAssembler *DeviceProxy::createInputAssembler() { - InputAssembler *remote = _remote->createInputAssembler(); - InputAssemblerProxy *proxy = CC_NEW(InputAssemblerProxy(remote, this)); - return proxy; -} - -RenderPass *DeviceProxy::createRenderPass() { - RenderPass *remote = _remote->createRenderPass(); - RenderPassProxy *proxy = CC_NEW(RenderPassProxy(remote, this)); - return proxy; -} - -Framebuffer *DeviceProxy::createFramebuffer() { - Framebuffer *remote = _remote->createFramebuffer(); - FramebufferProxy *proxy = CC_NEW(FramebufferProxy(remote, this)); - return proxy; -} - -DescriptorSet *DeviceProxy::createDescriptorSet() { - DescriptorSet *remote = _remote->createDescriptorSet(); - DescriptorSetProxy *proxy = CC_NEW(DescriptorSetProxy(remote, this)); - return proxy; -} - -DescriptorSetLayout *DeviceProxy::createDescriptorSetLayout() { - DescriptorSetLayout *remote = _remote->createDescriptorSetLayout(); - DescriptorSetLayoutProxy *proxy = CC_NEW(DescriptorSetLayoutProxy(remote, this)); - return proxy; -} - -PipelineLayout *DeviceProxy::createPipelineLayout() { - PipelineLayout *remote = _remote->createPipelineLayout(); - PipelineLayoutProxy *proxy = CC_NEW(PipelineLayoutProxy(remote, this)); - return proxy; -} - -PipelineState *DeviceProxy::createPipelineState() { - PipelineState *remote = _remote->createPipelineState(); - PipelineStateProxy *proxy = CC_NEW(PipelineStateProxy(remote, this)); - return proxy; -} - -void DeviceProxy::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - CommandEncoder *encoder = getMainEncoder(); - - BufferTextureCopy *remoteRegions = encoder->Allocate(count); - memcpy(remoteRegions, regions, count * sizeof(BufferTextureCopy)); - - uint bufferCount = 0u; - for (uint i = 0u; i < count; i++) { - bufferCount += regions[i].texSubres.layerCount; - } - const uint8_t **remoteBuffers = encoder->Allocate(bufferCount); - for (uint i = 0u, n = 0u; i < count; i++) { - const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); - for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = encoder->Allocate(size); - memcpy(buffer, buffers[n], size); - remoteBuffers[n++] = buffer; - } - } - - ENCODE_COMMAND_5( - encoder, - DeviceCopyBuffersToTexture, - remote, getRemote(), - buffers, remoteBuffers, - dst, ((TextureProxy *)dst)->getRemote(), - regions, remoteRegions, - count, count, - { - remote->copyBuffersToTexture(buffers, dst, regions, count); - }); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp deleted file mode 100644 index 47d3c9cf9e..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXFramebufferProxy.cpp +++ /dev/null @@ -1,55 +0,0 @@ -#include "CoreStd.h" - -#include "threading/CommandEncoder.h" -#include "GFXDeviceProxy.h" -#include "GFXFramebufferProxy.h" -#include "GFXRenderPassProxy.h" -#include "GFXTextureProxy.h" - -namespace cc { -namespace gfx { - -bool FramebufferProxy::initialize(const FramebufferInfo &info) { - _renderPass = info.renderPass; - _colorTextures = info.colorTextures; - _depthStencilTexture = info.depthStencilTexture; - - FramebufferInfo remoteInfo = info; - for (uint i = 0u; i < info.colorTextures.size(); ++i) { - if (info.colorTextures[i]) { - remoteInfo.colorTextures[i] = ((TextureProxy *)info.colorTextures[i])->getRemote(); - } - } - if (info.depthStencilTexture) { - remoteInfo.depthStencilTexture = ((TextureProxy *)info.depthStencilTexture)->getRemote(); - } - remoteInfo.renderPass = ((RenderPassProxy *)info.renderPass)->getRemote(); - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - FramebufferInit, - remote, getRemote(), - info, remoteInfo, - { - remote->initialize(info); - }); - - return true; -} - -void FramebufferProxy::destroy() { - if (_remote) { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), - FramebufferDestroy, - remote, getRemote(), - { - CC_DESTROY(remote); - }); - - _remote = nullptr; - } -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp deleted file mode 100644 index 3ce3a971a7..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXInputAssemblerProxy.cpp +++ /dev/null @@ -1,65 +0,0 @@ -#include "CoreStd.h" - -#include "threading/CommandEncoder.h" -#include "GFXBufferProxy.h" -#include "GFXDeviceProxy.h" -#include "GFXInputAssemblerProxy.h" - -namespace cc { -namespace gfx { - -bool InputAssemblerProxy::initialize(const InputAssemblerInfo &info) { - _attributes = info.attributes; - _vertexBuffers = info.vertexBuffers; - _indexBuffer = info.indexBuffer; - _indirectBuffer = info.indirectBuffer; - - if (_indexBuffer) { - _indexCount = _indexBuffer->getCount(); - _firstIndex = 0; - } else if (_vertexBuffers.size()) { - _vertexCount = _vertexBuffers[0]->getCount(); - _firstVertex = 0; - _vertexOffset = 0; - } - _attributesHash = computeAttributesHash(); - - InputAssemblerInfo remoteInfo = info; - for (uint i = 0u; i < remoteInfo.vertexBuffers.size(); ++i) { - remoteInfo.vertexBuffers[i] = ((BufferProxy *)remoteInfo.vertexBuffers[i])->getRemote(); - } - if (remoteInfo.indexBuffer) { - remoteInfo.indexBuffer = ((BufferProxy *)remoteInfo.indexBuffer)->getRemote(); - } - if (remoteInfo.indirectBuffer) { - remoteInfo.indirectBuffer = ((BufferProxy *)remoteInfo.indirectBuffer)->getRemote(); - } - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - InputAssemblerInit, - remote, getRemote(), - info, remoteInfo, - { - remote->initialize(info); - }); - - return true; -} - -void InputAssemblerProxy::destroy() { - if (_remote) { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), - InputAssemblerDestroy, - remote, getRemote(), - { - CC_DESTROY(remote); - }); - - _remote = nullptr; - } -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp deleted file mode 100644 index 1e04353d99..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineLayoutProxy.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "CoreStd.h" - -#include "threading/CommandEncoder.h" -#include "GFXDescriptorSetLayoutProxy.h" -#include "GFXDeviceProxy.h" -#include "GFXPipelineLayoutProxy.h" - -namespace cc { -namespace gfx { - -bool PipelineLayoutProxy::initialize(const PipelineLayoutInfo &info) { - - _setLayouts = info.setLayouts; - - PipelineLayoutInfo remoteInfo; - remoteInfo.setLayouts.resize(info.setLayouts.size()); - for (uint i = 0u; i < info.setLayouts.size(); i++) { - remoteInfo.setLayouts[i] = ((DescriptorSetLayoutProxy *)info.setLayouts[i])->getRemote(); - } - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - PipelineLayoutInit, - remote, getRemote(), - info, remoteInfo, - { - remote->initialize(info); - }); - - return true; -} - -void PipelineLayoutProxy::destroy() { - if (_remote) { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), - PipelineLayoutDestroy, - remote, getRemote(), - { - CC_DESTROY(remote); - }); - - _remote = nullptr; - } -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp b/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp deleted file mode 100755 index 560d7daf2c..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXPipelineStateProxy.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "CoreStd.h" - -#include "threading/CommandEncoder.h" -#include "GFXDeviceProxy.h" -#include "GFXPipelineLayoutProxy.h" -#include "GFXPipelineStateProxy.h" -#include "GFXRenderPassProxy.h" -#include "GFXShaderProxy.h" - -namespace cc { -namespace gfx { - -bool PipelineStateProxy::initialize(const PipelineStateInfo &info) { - _primitive = info.primitive; - _shader = info.shader; - _inputState = info.inputState; - _rasterizerState = info.rasterizerState; - _depthStencilState = info.depthStencilState; - _blendState = info.blendState; - _dynamicStates = info.dynamicStates; - _renderPass = info.renderPass; - _pipelineLayout = info.pipelineLayout; - - PipelineStateInfo remoteInfo = info; - remoteInfo.shader = ((ShaderProxy *)info.shader)->getRemote(); - remoteInfo.renderPass = ((RenderPassProxy *)info.renderPass)->getRemote(); - remoteInfo.pipelineLayout = ((PipelineLayoutProxy *)info.pipelineLayout)->getRemote(); - - ENCODE_COMMAND_2( - ((DeviceProxy *)_device)->getMainEncoder(), - PipelineStateInit, - remote, getRemote(), - info, remoteInfo, - { - remote->initialize(info); - }); - - return true; -} - -void PipelineStateProxy::destroy() { - if (_remote) { - ENCODE_COMMAND_1( - ((DeviceProxy *)_device)->getMainEncoder(), - PipelineStateDestroy, - remote, getRemote(), - { - CC_DESTROY(remote); - }); - - _remote = nullptr; - } -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-proxy/GFXProxy.h b/native/cocos/renderer/core/gfx-proxy/GFXProxy.h deleted file mode 100644 index 252eff5446..0000000000 --- a/native/cocos/renderer/core/gfx-proxy/GFXProxy.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once - -#include - -namespace cc { -namespace gfx { - -template -class CC_DLL Proxy : public Remote { -public: - Proxy() noexcept = delete; - - explicit Proxy(Remote *const remote, Device *const device) noexcept - : Remote(device), _remote(remote) {} - - virtual ~Proxy() {} - - Proxy(Proxy const &) = delete; - - Proxy(Proxy &&) = delete; - - Proxy &operator=(Proxy const &) = delete; - - Proxy &operator=(Proxy &&) = delete; - - inline Remote *getRemote() const noexcept { return _remote; } - -protected: - Remote * _remote{nullptr}; -}; - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index e12a6758bb..66a021b416 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -110,7 +110,7 @@ public: CC_INLINE uint genShaderId() { return _shaderIdGen++; } protected: - friend class DeviceProxy; + friend class DeviceAgent; virtual void bindRenderContext(bool bound) {} virtual void bindDeviceContext(bool bound) {} From e36eeb757f243381986920eeff1146765f5273e0 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 21 Dec 2020 12:09:57 +0800 Subject: [PATCH 057/270] Fix Metal issue after rebase --- native/cocos/renderer/gfx-metal/MTLGPUObjects.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index 979ef53d42..1cfd30602b 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -198,7 +198,7 @@ public: buffer = &_pool.back(); if (_tripleEnabled) { - for (int i = 0; i < MAX_INFLIGHT_BUFFER; ++i) { + for (int i = 0; i < MAX_FRAMES_IN_FLIGHT; ++i) { // Create a new buffer with enough capacity to store one instance of the dynamic buffer data id dataBuffer = [_device newBufferWithLength:chunkSize options:MTLResourceStorageModeShared]; buffer->dynamicDataBuffers[i] = dataBuffer; @@ -221,7 +221,7 @@ public: void updateInflightBuffer() { if (_tripleEnabled) { - _inflightIndex = ((_inflightIndex + 1) % MAX_INFLIGHT_BUFFER); + _inflightIndex = ((_inflightIndex + 1) % MAX_FRAMES_IN_FLIGHT); size_t bufferCount = _pool.size(); Buffer *buffer = nullptr; @@ -272,7 +272,7 @@ public: private: struct Buffer { id mtlBuffer = nil; - vector> dynamicDataBuffers {MAX_INFLIGHT_BUFFER}; + vector> dynamicDataBuffers {MAX_FRAMES_IN_FLIGHT}; uint8_t *mappedData = nullptr; size_t curOffset = 0; }; From e0c28d4b629101dae8abd48a3a9a06664e32bda9 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 21 Dec 2020 11:12:32 +0800 Subject: [PATCH 058/270] gl: full secondary cb --- native/cocos/base/memory/StlAlloc.h | 68 ---- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 1 + .../core/gfx-agent/GFXCommandBufferAgent.h | 3 + .../core/gfx-agent/GFXDeviceAgent.cpp | 4 +- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 2 +- .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 12 +- native/cocos/renderer/core/gfx/GFXDevice.h | 34 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 18 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 8 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 328 +++++++++--------- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 4 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 5 +- native/cocos/renderer/gfx-gles2/GLES2Device.h | 31 +- .../gfx-gles2/GLES2PipelineLayout.cpp | 2 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 21 +- .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 16 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 18 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 8 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 208 +++++------ .../cocos/renderer/gfx-gles3/GLES3Commands.h | 4 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 7 +- native/cocos/renderer/gfx-gles3/GLES3Device.h | 31 +- .../gfx-gles3/GLES3PipelineLayout.cpp | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 21 +- .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 16 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 28 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 15 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 1 + native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 16 - .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 2 +- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 15 +- 33 files changed, 469 insertions(+), 484 deletions(-) diff --git a/native/cocos/base/memory/StlAlloc.h b/native/cocos/base/memory/StlAlloc.h index 2227a7e8b1..b5ca8ef221 100755 --- a/native/cocos/base/memory/StlAlloc.h +++ b/native/cocos/base/memory/StlAlloc.h @@ -144,74 +144,6 @@ inline bool operator!=(SA const &, OtherAllocator const &) { //////////////////////////////////////////////////////////////////// extern CC_DLL SA stl_char_allocator; -#if (CC_STL_MEMORY_ALLOCATOR == CC_STL_MEMORY_ALLOCATOR_CUSTOM) -template > -using vector = std::vector; - -template > -using list = std::list; - -template > -using queue = std::queue; - -template ::type, typename P = std::less> -using priority_queue = std::priority_queue; - -template > -using dequeue = std::deque; - -template , typename A = SA> -using set = std::set; - -template , typename A = SA, STLAP>> -using map = std::map; - -template , typename A = SA, STLAP>> -using multimap = std::multimap; - -template , typename P = std::equal_to, typename A = SA, STLAP>> -using unordered_map = std::unordered_map; -#else -template -using vector = std::vector; - -template -using list = std::list; - -template -using queue = std::queue; - -template ::type, typename P = std::less> -using priority_queue = std::priority_queue; - -template -using dequeue = std::deque; - -template > -using set = std::set; - -template > -using multiset = std::multiset; - -template , typename P = std::equal_to> -using unordered_set = std::unordered_set; - -template , typename P = std::equal_to> -using unordered_multiset = std::unordered_multiset; - -template > -using map = std::map; - -template > -using multimap = std::multimap; - -template , typename P = std::equal_to> -using unordered_map = std::unordered_map; - -template , typename P = std::equal_to> -using unordered_multimap = std::unordered_multimap; -#endif - #define StdStringT(T) std::basic_string, std::allocator> #define CustomMemoryStringT(T) std::basic_string, SA> diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 83e36bc9e4..1a881c683c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -22,6 +22,7 @@ void CommandBufferAgent::initEncoder() { } void CommandBufferAgent::destroyEncoder() { + ((DeviceAgent *)_device)->getMainEncoder()->KickAndWait(); CC_SAFE_DELETE(_encoder); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 96ff1b50ce..f748f2a9bf 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -4,6 +4,9 @@ #include "../gfx/GFXCommandBuffer.h" namespace cc { + +class CommandEncoder; + namespace gfx { class CC_DLL CommandBufferAgent final : public Agent { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index aec8a62a9f..74a94662ba 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -162,8 +162,8 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { } } -CommandBuffer *DeviceAgent::createCommandBuffer() { - CommandBuffer *actor = _actor->createCommandBuffer(); +CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + CommandBuffer *actor = _actor->doCreateCommandBuffer(info, true); CommandBufferAgent *agent = CC_NEW(CommandBufferAgent(actor, this)); return agent; } diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 411d0c20ba..c0ddf75cdb 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -29,7 +29,7 @@ public: virtual void acquire() override; virtual void present() override; - virtual CommandBuffer *createCommandBuffer() override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 9d62c800bf..2141692226 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -1,10 +1,10 @@ #include "CoreStd.h" -#include "job-system/JobSystem.h" -#include "threading/CommandEncoder.h" #include "GFXCommandBufferAgent.h" #include "GFXDeviceAgent.h" #include "GFXQueueAgent.h" +#include "job-system/JobSystem.h" +#include "threading/CommandEncoder.h" namespace cc { namespace gfx { @@ -59,7 +59,7 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence count, count, fence, fence, { -// auto startTime = std::chrono::steady_clock::now(); + //auto startTime = std::chrono::steady_clock::now(); if (count > 1) { if (multiThreaded) { JobGraph g(JobSystem::getInstance()); @@ -77,9 +77,9 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence } else { ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); } -// CC_LOG_INFO("======== one round ========"); -// auto endTime = std::chrono::steady_clock::now(); -// CC_LOG_INFO("---------- %.2fms", std::chrono::duration_cast(endTime - startTime).count() / 1e6); + //CC_LOG_INFO("======== one round ========"); + //auto endTime = std::chrono::steady_clock::now(); + //CC_LOG_INFO("---------- %.2fms", std::chrono::duration_cast(endTime - startTime).count() / 1e6); actor->submit(actorCmdBuffs, count, fence); }); diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 66a021b416..3a261cc29e 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -34,23 +34,7 @@ public: virtual void acquire() = 0; virtual void present() = 0; - virtual CommandBuffer *createCommandBuffer() = 0; - virtual Fence *createFence() = 0; - virtual Queue *createQueue() = 0; - virtual Buffer *createBuffer() = 0; - virtual Texture *createTexture() = 0; - virtual Sampler *createSampler() = 0; - virtual Shader *createShader() = 0; - virtual InputAssembler *createInputAssembler() = 0; - virtual RenderPass *createRenderPass() = 0; - virtual Framebuffer *createFramebuffer() = 0; - virtual DescriptorSet *createDescriptorSet() = 0; - virtual DescriptorSetLayout *createDescriptorSetLayout() = 0; - virtual PipelineLayout *createPipelineLayout() = 0; - virtual PipelineState *createPipelineState() = 0; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) = 0; - - CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = createCommandBuffer(); res->initialize(info); return res; } + CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = doCreateCommandBuffer(info, false); res->initialize(info); return res; } CC_INLINE Fence *createFence(const FenceInfo &info) { Fence *res = createFence(); res->initialize(info); return res; } CC_INLINE Queue *createQueue(const QueueInfo &info) { Queue *res = createQueue(); res->initialize(info); return res; } CC_INLINE Buffer *createBuffer(const BufferInfo &info) { Buffer *res = createBuffer(); res->initialize(info); return res; } @@ -112,6 +96,22 @@ public: protected: friend class DeviceAgent; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) = 0; + virtual Fence *createFence() = 0; + virtual Queue *createQueue() = 0; + virtual Buffer *createBuffer() = 0; + virtual Texture *createTexture() = 0; + virtual Sampler *createSampler() = 0; + virtual Shader *createShader() = 0; + virtual InputAssembler *createInputAssembler() = 0; + virtual RenderPass *createRenderPass() = 0; + virtual Framebuffer *createFramebuffer() = 0; + virtual DescriptorSet *createDescriptorSet() = 0; + virtual DescriptorSetLayout *createDescriptorSetLayout() = 0; + virtual PipelineLayout *createPipelineLayout() = 0; + virtual PipelineState *createPipelineState() = 0; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) = 0; + virtual void bindRenderContext(bool bound) {} virtual void bindDeviceContext(bool bound) {} diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 1692cc902f..9d0ba678d6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -80,7 +80,7 @@ void GLES2CommandBuffer::destroy() { } void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { - _gles2Allocator->clearCmds(_cmdPackage); + _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); @@ -144,7 +144,7 @@ void GLES2CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe _isStateInvalid = true; } if (dynamicOffsetCount) { - _curDynamicOffsets[set] = dynamicOffsets; + _curDynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); _isStateInvalid = true; } } @@ -304,8 +304,8 @@ void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex cmd->count = count; cmd->buffers = buffers; - _cmdPackage->copyBufferToTextureCmds.push(cmd); - _cmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); + _curCmdPackage->copyBufferToTextureCmds.push(cmd); + _curCmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); @@ -358,7 +358,15 @@ void GLES2CommandBuffer::BindStates() { cmd->gpuPipelineState = _curGPUPipelineState; cmd->gpuInputAssembler = _curGPUInputAssember; cmd->gpuDescriptorSets = _curGPUDescriptorSets; - cmd->dynamicOffsets = _curDynamicOffsets; + + vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); + for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + } + cmd->viewport = _curViewport; cmd->scissor = _curScissor; cmd->lineWidth = _curLineWidth; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index bd69c611cb..d196f191b0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -65,12 +65,14 @@ public: protected: void BindStates(); - GLES2CmdPackage *_cmdPackage = nullptr; - GLES2GPUCommandAllocator *_gles2Allocator = nullptr; + GLES2GPUCommandAllocator *_cmdAllocator = nullptr; + GLES2CmdPackage *_curCmdPackage = nullptr; + queue _pendingPackages, _freePackages; + bool _isInRenderPass = false; GLES2GPUPipelineState *_curGPUPipelineState = nullptr; vector _curGPUDescriptorSets; - vector _curDynamicOffsets; + vector> _curDynamicOffsets; GLES2GPUInputAssembler *_curGPUInputAssember = nullptr; Viewport _curViewport; Rect _curScissor; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index b5b3008c55..c17466f43a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1468,9 +1468,9 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen ColorMask colorMask = cache->bs.targets[0].blendColorMask; if (colorMask != ColorMask::ALL) { GL_CHECK(glColorMask((GLboolean)(colorMask & ColorMask::R), - (GLboolean)(colorMask & ColorMask::G), - (GLboolean)(colorMask & ColorMask::B), - (GLboolean)(colorMask & ColorMask::A))); + (GLboolean)(colorMask & ColorMask::G), + (GLboolean)(colorMask & ColorMask::B), + (GLboolean)(colorMask & ColorMask::A))); } } @@ -1545,7 +1545,7 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { } void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipelineState, GLES2GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, + vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES2DepthBias &depthBias, Color &blendConstants, GLES2DepthBounds &depthBounds, GLES2StencilWriteMask &stencilWriteMask, GLES2StencilCompareMask &stencilCompareMask) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; @@ -1576,31 +1576,28 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GL_CHECK(glDisable(GL_CULL_FACE)); cache->isCullFaceEnabled = false; } - } - break; + } break; case CullMode::FRONT: { if (!cache->isCullFaceEnabled) { GL_CHECK(glEnable(GL_CULL_FACE)); cache->isCullFaceEnabled = true; } GL_CHECK(glCullFace(GL_FRONT)); - } - break; + } break; case CullMode::BACK: { if (!cache->isCullFaceEnabled) { GL_CHECK(glEnable(GL_CULL_FACE)); cache->isCullFaceEnabled = true; } GL_CHECK(glCullFace(GL_BACK)); - } - break; + } break; default: break; } cache->rs.cullMode = gpuPipelineState->rs.cullMode; } - bool isFrontFaceCCW = (bool) gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; - if ((bool) cache->rs.isFrontFaceCCW != isFrontFaceCCW) { + bool isFrontFaceCCW = (bool)gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; + if ((bool)cache->rs.isFrontFaceCCW != isFrontFaceCCW) { GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); cache->rs.isFrontFaceCCW = isFrontFaceCCW; } @@ -1628,7 +1625,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->dss.depthWrite = gpuPipelineState->dss.depthWrite; } if (cache->dss.depthFunc != gpuPipelineState->dss.depthFunc) { - GL_CHECK(glDepthFunc(GLES2_CMP_FUNCS[(int) gpuPipelineState->dss.depthFunc])); + GL_CHECK(glDepthFunc(GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.depthFunc])); cache->dss.depthFunc = gpuPipelineState->dss.depthFunc; } @@ -1648,9 +1645,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->dss.stencilRefFront != gpuPipelineState->dss.stencilRefFront || cache->dss.stencilReadMaskFront != gpuPipelineState->dss.stencilReadMaskFront) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(int) gpuPipelineState->dss.stencilFuncFront], - gpuPipelineState->dss.stencilRefFront, - gpuPipelineState->dss.stencilReadMaskFront)); + GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], + gpuPipelineState->dss.stencilRefFront, + gpuPipelineState->dss.stencilReadMaskFront)); cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; cache->dss.stencilReadMaskFront = gpuPipelineState->dss.stencilReadMaskFront; @@ -1659,9 +1656,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->dss.stencilZFailOpFront != gpuPipelineState->dss.stencilZFailOpFront || cache->dss.stencilPassOpFront != gpuPipelineState->dss.stencilPassOpFront) { GL_CHECK(glStencilOpSeparate(GL_FRONT, - GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilFailOpFront], - GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilZFailOpFront], - GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilPassOpFront])); + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront])); cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; cache->dss.stencilZFailOpFront = gpuPipelineState->dss.stencilZFailOpFront; cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; @@ -1676,9 +1673,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->dss.stencilRefBack != gpuPipelineState->dss.stencilRefBack || cache->dss.stencilReadMaskBack != gpuPipelineState->dss.stencilReadMaskBack) { GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(int) gpuPipelineState->dss.stencilFuncBack], - gpuPipelineState->dss.stencilRefBack, - gpuPipelineState->dss.stencilReadMaskBack)); + GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], + gpuPipelineState->dss.stencilRefBack, + gpuPipelineState->dss.stencilReadMaskBack)); cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; @@ -1687,9 +1684,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->dss.stencilZFailOpBack != gpuPipelineState->dss.stencilZFailOpBack || cache->dss.stencilPassOpBack != gpuPipelineState->dss.stencilPassOpBack) { GL_CHECK(glStencilOpSeparate(GL_BACK, - GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilFailOpBack], - GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilZFailOpBack], - GLES2_STENCIL_OPS[(int) gpuPipelineState->dss.stencilPassOpBack])); + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], + GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack])); cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; @@ -1714,9 +1711,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } @@ -1732,8 +1729,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } if (cacheTarget.blendEq != target.blendEq || cacheTarget.blendAlphaEq != target.blendAlphaEq) { - GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int) target.blendEq], - GLES2_BLEND_OPS[(int) target.blendAlphaEq])); + GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target.blendEq], + GLES2_BLEND_OPS[(int)target.blendAlphaEq])); cacheTarget.blendEq = target.blendEq; cacheTarget.blendAlphaEq = target.blendAlphaEq; } @@ -1741,20 +1738,20 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cacheTarget.blendDst != target.blendDst || cacheTarget.blendSrcAlpha != target.blendSrcAlpha || cacheTarget.blendDstAlpha != target.blendDstAlpha) { - GL_CHECK(glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int) target.blendSrc], - GLES2_BLEND_FACTORS[(int) target.blendDst], - GLES2_BLEND_FACTORS[(int) target.blendSrcAlpha], - GLES2_BLEND_FACTORS[(int) target.blendDstAlpha])); + GL_CHECK(glBlendFuncSeparate(GLES2_BLEND_FACTORS[(int)target.blendSrc], + GLES2_BLEND_FACTORS[(int)target.blendDst], + GLES2_BLEND_FACTORS[(int)target.blendSrcAlpha], + GLES2_BLEND_FACTORS[(int)target.blendDstAlpha])); cacheTarget.blendSrc = target.blendSrc; cacheTarget.blendDst = target.blendDst; cacheTarget.blendSrcAlpha = target.blendSrcAlpha; cacheTarget.blendDstAlpha = target.blendDstAlpha; } if (cacheTarget.blendColorMask != target.blendColorMask) { - GL_CHECK(glColorMask((GLboolean) (target.blendColorMask & ColorMask::R), - (GLboolean) (target.blendColorMask & ColorMask::G), - (GLboolean) (target.blendColorMask & ColorMask::B), - (GLboolean) (target.blendColorMask & ColorMask::A))); + GL_CHECK(glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), + (GLboolean)(target.blendColorMask & ColorMask::G), + (GLboolean)(target.blendColorMask & ColorMask::B), + (GLboolean)(target.blendColorMask & ColorMask::A))); cacheTarget.blendColorMask = target.blendColorMask; } } // if @@ -1784,8 +1781,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const vector &dynamicOffsetIndexSet = dynamicOffsetIndices[glBlock.set]; if (dynamicOffsetIndexSet.size() > glBlock.binding) { int dynamicOffsetIndex = dynamicOffsetIndexSet[glBlock.binding]; - if (dynamicOffsetIndex >= 0) - offset = dynamicOffsets[glBlock.set][dynamicOffsetIndex]; + if (dynamicOffsetIndex >= 0) offset = dynamicOffsets[dynamicOffsetIndex]; } if (gpuDescriptor.gpuBufferView) { @@ -1803,7 +1799,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_INT: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniform1iv(gpuUniform.glLoc, gpuUniform.count, - (const GLint *) uniformBuff)); + (const GLint *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1812,7 +1808,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_INT_VEC2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniform2iv(gpuUniform.glLoc, gpuUniform.count, - (const GLint *) uniformBuff)); + (const GLint *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1821,7 +1817,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_INT_VEC3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniform3iv(gpuUniform.glLoc, gpuUniform.count, - (const GLint *) uniformBuff)); + (const GLint *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1830,7 +1826,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_INT_VEC4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniform4iv(gpuUniform.glLoc, gpuUniform.count, - (const GLint *) uniformBuff)); + (const GLint *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1838,7 +1834,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_FLOAT: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniform1fv(gpuUniform.glLoc, gpuUniform.count, - (const GLfloat *) uniformBuff)); + (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1846,7 +1842,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_FLOAT_VEC2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniform2fv(gpuUniform.glLoc, gpuUniform.count, - (const GLfloat *) uniformBuff)); + (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1854,7 +1850,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_FLOAT_VEC3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniform3fv(gpuUniform.glLoc, gpuUniform.count, - (const GLfloat *) uniformBuff)); + (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1862,7 +1858,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_FLOAT_VEC4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniform4fv(gpuUniform.glLoc, gpuUniform.count, - (const GLfloat *) uniformBuff)); + (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1870,7 +1866,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_FLOAT_MAT2: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniformMatrix2fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, - (const GLfloat *) uniformBuff)); + (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1878,7 +1874,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_FLOAT_MAT3: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniformMatrix3fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, - (const GLfloat *) uniformBuff)); + (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1886,7 +1882,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli case GL_FLOAT_MAT4: { if (memcmp(gpuUniform.buff, uniformBuff, gpuUniform.size) != 0) { GL_CHECK(glUniformMatrix4fv(gpuUniform.glLoc, gpuUniform.count, GL_FALSE, - (const GLfloat *) uniformBuff)); + (const GLfloat *)uniformBuff)); memcpy(gpuUniform.buff, uniformBuff, gpuUniform.size); } break; @@ -1907,12 +1903,12 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const GLES2GPUDescriptor *gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; for (size_t u = 0; u < glSampler.units.size(); u++, gpuDescriptor++) { - uint unit = (uint) glSampler.units[u]; + uint unit = (uint)glSampler.units[u]; if (!gpuDescriptor->gpuTexture || !gpuDescriptor->gpuSampler) { CC_LOG_ERROR( - "Sampler binding '%s' at set %d binding %d index %d is not bounded", - glSampler.name.c_str(), glSampler.set, glSampler.binding, u); + "Sampler binding '%s' at set %d binding %d index %d is not bounded", + glSampler.name.c_str(), glSampler.set, glSampler.binding, u); continue; } @@ -1975,9 +1971,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; if (gpuTexture->glWrapT != glWrapT) { if (cache->texUint != unit) { @@ -2038,31 +2034,32 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; uint attribOffset = - gpuAttribute.offset + gpuAttribute.size * c; + gpuAttribute.offset + gpuAttribute.size * c; GL_CHECK(glEnableVertexAttribArray(glLoc)); cache->glEnabledAttribLocs[glLoc] = true; GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, - gpuAttribute.glType, - gpuAttribute.isNormalized, - gpuAttribute.stride, - BUFFER_OFFSET( - attribOffset))); + gpuAttribute.glType, + gpuAttribute.isNormalized, + gpuAttribute.stride, + BUFFER_OFFSET( + attribOffset))); if (device->useInstancedArrays()) { GL_CHECK(glVertexAttribDivisorEXT(glLoc, - gpuAttribute.isInstanced - ? 1 : 0)); + gpuAttribute.isInstanced + ? 1 + : 0)); } } break; } } // for - } // for + } // for if (gpuInputAssembler->gpuIndexBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, - gpuInputAssembler->gpuIndexBuffer->glBuffer)); + gpuInputAssembler->gpuIndexBuffer->glBuffer)); } GL_CHECK(glBindVertexArrayOES(0)); @@ -2099,27 +2096,28 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->glEnabledAttribLocs[glLoc] = true; cache->glCurrentAttribLocs[glLoc] = true; GL_CHECK(glVertexAttribPointer(glLoc, gpuAttribute.count, - gpuAttribute.glType, - gpuAttribute.isNormalized, - gpuAttribute.stride, - BUFFER_OFFSET(attribOffset))); + gpuAttribute.glType, + gpuAttribute.isNormalized, + gpuAttribute.stride, + BUFFER_OFFSET(attribOffset))); if (device->useInstancedArrays()) { GL_CHECK(glVertexAttribDivisorEXT(glLoc, - gpuAttribute.isInstanced - ? 1 : 0)); + gpuAttribute.isInstanced + ? 1 + : 0)); } } break; } } // for - } // for + } // for if (gpuInputAssembler->gpuIndexBuffer) { if (cache->glElementArrayBuffer != gpuInputAssembler->gpuIndexBuffer->glBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, - gpuInputAssembler->gpuIndexBuffer->glBuffer)); + gpuInputAssembler->gpuIndexBuffer->glBuffer)); cache->glElementArrayBuffer = gpuInputAssembler->gpuIndexBuffer->glBuffer; } } @@ -2147,7 +2145,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->scissor != scissor) { cache->scissor = scissor; GL_CHECK(glScissor(scissor.x, scissor.y, scissor.width, - scissor.height)); + scissor.height)); } break; case DynamicStateFlagBit::LINE_WIDTH: @@ -2157,7 +2155,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } break; case DynamicStateFlagBit::DEPTH_BIAS: - if ((bool) cache->rs.depthBiasEnabled != depthBiasEnabled) { + if ((bool)cache->rs.depthBiasEnabled != depthBiasEnabled) { if (depthBiasEnabled) GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); else @@ -2178,9 +2176,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } break; @@ -2190,7 +2188,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilWriteMaskFront != stencilWriteMask.writeMask) { GL_CHECK(glStencilMaskSeparate(GL_FRONT, - stencilWriteMask.writeMask)); + stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; } break; @@ -2198,15 +2196,15 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask) { GL_CHECK(glStencilMaskSeparate(GL_BACK, - stencilWriteMask.writeMask)); + stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } break; case StencilFace::ALL: if ((cache->dss.stencilWriteMaskFront != - stencilWriteMask.writeMask) || + stencilWriteMask.writeMask) || (cache->dss.stencilWriteMaskBack != - stencilWriteMask.writeMask)) { + stencilWriteMask.writeMask)) { GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; @@ -2218,47 +2216,47 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli switch (stencilCompareMask.face) { case StencilFace::FRONT: if ((cache->dss.stencilRefFront != - (uint) stencilCompareMask.refrence) || + (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskFront != - stencilCompareMask.compareMask)) { + stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; } break; case StencilFace::BACK: if ((cache->dss.stencilRefBack != - (uint) stencilCompareMask.refrence) || + (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskBack != - stencilCompareMask.compareMask)) { + stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); cache->dss.stencilRefBack = stencilCompareMask.refrence; cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } break; case StencilFace::ALL: if ((cache->dss.stencilRefFront != - (uint) stencilCompareMask.refrence) || + (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskFront != - stencilCompareMask.compareMask) || + stencilCompareMask.compareMask) || (cache->dss.stencilRefBack != - (uint) stencilCompareMask.refrence) || + (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskBack != - stencilCompareMask.compareMask)) { + stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES2_CMP_FUNCS[(uint) cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; cache->dss.stencilRefBack = stencilCompareMask.refrence; @@ -2271,8 +2269,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli CC_LOG_ERROR("Invalid dynamic states."); break; } // switch - } // for - } // if + } // for + } // if } void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { @@ -2405,22 +2403,22 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_2D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage2D(GL_TEXTURE_2D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } break; @@ -2440,23 +2438,23 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3DOES(GL_TEXTURE_2D_ARRAY, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, z, - w, h, d, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, z, + w, h, d, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage3DOES(GL_TEXTURE_2D_ARRAY, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - z, - w, h, d, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + z, + w, h, d, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } } @@ -2475,24 +2473,24 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3DOES(GL_TEXTURE_3D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - region.texOffset.z, - w, h, d, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + region.texOffset.z, + w, h, d, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage3DOES(GL_TEXTURE_3D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - region.texOffset.z, - w, h, d, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + region.texOffset.z, + w, h, d, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } break; @@ -2511,21 +2509,21 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, - region.texSubres.mipLevel, - region.texOffset.x, region.texOffset.y, - w, h, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, region.texOffset.y, + w, h, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } } @@ -2543,6 +2541,8 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const } void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { + if (!cmdPackage->cmds.size()) return; + static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index 57ef2315df..870275a108 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -104,7 +104,7 @@ public: GLES2GPUPipelineState *gpuPipelineState = nullptr; GLES2GPUInputAssembler *gpuInputAssembler = nullptr; vector gpuDescriptorSets; - vector dynamicOffsets; + vector dynamicOffsets; Viewport viewport; Rect scissor; float lineWidth = 1.0f; @@ -231,7 +231,7 @@ CC_GLES2_API void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURende const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil); CC_GLES2_API void GLES2CmdFuncEndRenderPass(GLES2Device *device); CC_GLES2_API void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipelineState, GLES2GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, + vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES2DepthBias &depthBias, Color &blendConstants, GLES2DepthBounds &depthBounds, GLES2StencilWriteMask &stencilWriteMask, GLES2StencilCompareMask &stencilCompareMask); CC_GLES2_API void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 04f3ea8fd5..c02928ae49 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -245,8 +245,9 @@ void GLES2Device::bindDeviceContext(bool bound) { } } -CommandBuffer *GLES2Device::createCommandBuffer() { - return CC_NEW(GLES2PrimaryCommandBuffer(this)); +CommandBuffer *GLES2Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES2PrimaryCommandBuffer(this)); + return CC_NEW(GLES2CommandBuffer(this)); } Fence *GLES2Device::createFence() { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 9614a99532..75a0b3d647 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -65,21 +65,6 @@ public: virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; - virtual CommandBuffer *createCommandBuffer() override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; CC_INLINE bool useVAO() const { return _useVAO; } CC_INLINE bool useDrawInstanced() const { return _useDrawInstanced; } @@ -101,6 +86,22 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual Fence *createFence() override; + virtual Queue *createQueue() override; + virtual Buffer *createBuffer() override; + virtual Texture *createTexture() override; + virtual Sampler *createSampler() override; + virtual Shader *createShader() override; + virtual InputAssembler *createInputAssembler() override; + virtual RenderPass *createRenderPass() override; + virtual Framebuffer *createFramebuffer() override; + virtual DescriptorSet *createDescriptorSet() override; + virtual DescriptorSetLayout *createDescriptorSetLayout() override; + virtual PipelineLayout *createPipelineLayout() override; + virtual PipelineState *createPipelineState() override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual void bindRenderContext(bool bound) override; virtual void bindDeviceContext(bool bound) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp index 6590fdb4ad..1218dfbca3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp @@ -55,7 +55,7 @@ bool GLES2PipelineLayout::initialize(const PipelineLayoutInfo &info) { for (uint j = 0u; j < dynamicCount; j++) { uint binding = gpuSetLayout->dynamicBindings[j]; - if (indices[binding] < 0) indices[binding] = j; + if (indices[binding] < 0) indices[binding] = offset + j; } _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->setLayouts.push_back(gpuSetLayout); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 32cf15c751..d04b951ad3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -39,7 +39,13 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { (_type == CommandBufferType::SECONDARY)) { if (_isStateInvalid) { - GLES2CmdFuncBindState((GLES2Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, _curDynamicOffsets, + vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + } + GLES2CmdFuncBindState((GLES2Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); _isStateInvalid = false; @@ -100,11 +106,16 @@ void GLES2PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe void GLES2PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES2PrimaryCommandBuffer *cmdBuff = (GLES2PrimaryCommandBuffer *)cmdBuffs[i]; - GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdBuff->_cmdPackage); + GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - _numDrawCalls += cmdBuff->getNumDrawCalls(); - _numInstances += cmdBuff->getNumInstances(); - _numTriangles += cmdBuff->getNumTris(); + GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + + _numDrawCalls += cmdBuff->_numDrawCalls; + _numInstances += cmdBuff->_numInstances; + _numTriangles += cmdBuff->_numTriangles; + + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index 7a2e1f0384..9a1c364673 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -48,11 +48,17 @@ void GLES2Queue::destroy() { void GLES2Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { if (!_isAsync) { for (uint i = 0; i < count; ++i) { - GLES2CommandBuffer *cmdBuffer = (GLES2CommandBuffer *)cmdBuffs[i]; -// GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdBuffer->_cmdPackage); - _numDrawCalls += cmdBuffer->_numDrawCalls; - _numInstances += cmdBuffer->_numInstances; - _numTriangles += cmdBuffer->_numTriangles; + GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; + GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + + GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + + _numDrawCalls += cmdBuff->_numDrawCalls; + _numInstances += cmdBuff->_numInstances; + _numTriangles += cmdBuff->_numTriangles; + + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 90a816d859..06fe0b9f80 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -80,7 +80,7 @@ void GLES3CommandBuffer::destroy() { } void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { - _gles3Allocator->clearCmds(_cmdPackage); + _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); @@ -144,7 +144,7 @@ void GLES3CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe _isStateInvalid = true; } if (dynamicOffsetCount) { - _curDynamicOffsets[set] = dynamicOffsets; + _curDynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); _isStateInvalid = true; } } @@ -311,8 +311,8 @@ void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex cmd->count = count; cmd->buffers = buffers; - _cmdPackage->copyBufferToTextureCmds.push(cmd); - _cmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); + _curCmdPackage->copyBufferToTextureCmds.push(cmd); + _curCmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); @@ -365,7 +365,15 @@ void GLES3CommandBuffer::BindStates() { cmd->gpuPipelineState = _curGPUPipelineState; cmd->gpuInputAssembler = _curGPUInputAssember; cmd->gpuDescriptorSets = _curGPUDescriptorSets; - cmd->dynamicOffsets = _curDynamicOffsets; + + vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); + for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + } + cmd->viewport = _curViewport; cmd->scissor = _curScissor; cmd->lineWidth = _curLineWidth; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 7c4ef22e3f..8a50b96bd0 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -64,13 +64,15 @@ public: protected: virtual void BindStates(); - GLES3CmdPackage *_cmdPackage = nullptr; - GLES3GPUCommandAllocator *_gles3Allocator = nullptr; + GLES3GPUCommandAllocator *_cmdAllocator = nullptr; + GLES3CmdPackage *_curCmdPackage = nullptr; + queue _pendingPackages, _freePackages; + bool _isInRenderPass = false; GLES3GPUPipelineState *_curGPUPipelineState = nullptr; GLES3GPUInputAssembler *_curGPUInputAssember = nullptr; vector _curGPUDescriptorSets; - vector _curDynamicOffsets; + vector> _curDynamicOffsets; Viewport _curViewport; Rect _curScissor; float _curLineWidth = 1.0f; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 8bab0eeafd..6ebf5e60b8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1576,9 +1576,9 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen ColorMask colorMask = cache->bs.targets[0].blendColorMask; if (colorMask != ColorMask::ALL) { GL_CHECK(glColorMask((GLboolean)(colorMask & ColorMask::R), - (GLboolean)(colorMask & ColorMask::G), - (GLboolean)(colorMask & ColorMask::B), - (GLboolean)(colorMask & ColorMask::A))); + (GLboolean)(colorMask & ColorMask::G), + (GLboolean)(colorMask & ColorMask::B), + (GLboolean)(colorMask & ColorMask::A))); } } @@ -1653,7 +1653,7 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { } void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipelineState, GLES3GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, + vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES3DepthBias &depthBias, Color &blendConstants, GLES3DepthBounds &depthBounds, GLES3StencilWriteMask &stencilWriteMask, GLES3StencilCompareMask &stencilCompareMask) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; @@ -1750,9 +1750,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->dss.stencilRefFront != gpuPipelineState->dss.stencilRefFront || cache->dss.stencilReadMaskFront != gpuPipelineState->dss.stencilReadMaskFront) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], - gpuPipelineState->dss.stencilRefFront, - gpuPipelineState->dss.stencilReadMaskFront)); + GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], + gpuPipelineState->dss.stencilRefFront, + gpuPipelineState->dss.stencilReadMaskFront)); cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; cache->dss.stencilReadMaskFront = gpuPipelineState->dss.stencilReadMaskFront; @@ -1761,9 +1761,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->dss.stencilZFailOpFront != gpuPipelineState->dss.stencilZFailOpFront || cache->dss.stencilPassOpFront != gpuPipelineState->dss.stencilPassOpFront) { GL_CHECK(glStencilOpSeparate(GL_FRONT, - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront])); + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront])); cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; cache->dss.stencilZFailOpFront = gpuPipelineState->dss.stencilZFailOpFront; cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; @@ -1778,9 +1778,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->dss.stencilRefBack != gpuPipelineState->dss.stencilRefBack || cache->dss.stencilReadMaskBack != gpuPipelineState->dss.stencilReadMaskBack) { GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], - gpuPipelineState->dss.stencilRefBack, - gpuPipelineState->dss.stencilReadMaskBack)); + GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], + gpuPipelineState->dss.stencilRefBack, + gpuPipelineState->dss.stencilReadMaskBack)); cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; @@ -1789,9 +1789,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->dss.stencilZFailOpBack != gpuPipelineState->dss.stencilZFailOpBack || cache->dss.stencilPassOpBack != gpuPipelineState->dss.stencilPassOpBack) { GL_CHECK(glStencilOpSeparate(GL_BACK, - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], - GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack])); + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], + GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack])); cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; @@ -1816,9 +1816,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } @@ -1835,7 +1835,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (cacheTarget.blendEq != target.blendEq || cacheTarget.blendAlphaEq != target.blendAlphaEq) { GL_CHECK(glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target.blendEq], - GLES3_BLEND_OPS[(int)target.blendAlphaEq])); + GLES3_BLEND_OPS[(int)target.blendAlphaEq])); cacheTarget.blendEq = target.blendEq; cacheTarget.blendAlphaEq = target.blendAlphaEq; } @@ -1844,9 +1844,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cacheTarget.blendSrcAlpha != target.blendSrcAlpha || cacheTarget.blendDstAlpha != target.blendDstAlpha) { GL_CHECK(glBlendFuncSeparate(GLES3_BLEND_FACTORS[(int)target.blendSrc], - GLES3_BLEND_FACTORS[(int)target.blendDst], - GLES3_BLEND_FACTORS[(int)target.blendSrcAlpha], - GLES3_BLEND_FACTORS[(int)target.blendDstAlpha])); + GLES3_BLEND_FACTORS[(int)target.blendDst], + GLES3_BLEND_FACTORS[(int)target.blendSrcAlpha], + GLES3_BLEND_FACTORS[(int)target.blendDstAlpha])); cacheTarget.blendSrc = target.blendSrc; cacheTarget.blendDst = target.blendDst; cacheTarget.blendSrcAlpha = target.blendSrcAlpha; @@ -1854,9 +1854,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } if (cacheTarget.blendColorMask != target.blendColorMask) { GL_CHECK(glColorMask((GLboolean)(target.blendColorMask & ColorMask::R), - (GLboolean)(target.blendColorMask & ColorMask::G), - (GLboolean)(target.blendColorMask & ColorMask::B), - (GLboolean)(target.blendColorMask & ColorMask::A))); + (GLboolean)(target.blendColorMask & ColorMask::G), + (GLboolean)(target.blendColorMask & ColorMask::B), + (GLboolean)(target.blendColorMask & ColorMask::A))); cacheTarget.blendColorMask = target.blendColorMask; } } // if @@ -1885,13 +1885,13 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli const vector &dynamicOffsetSetIndices = dynamicOffsetIndices[glBlock.set]; int dynamicOffsetIndex = glBlock.binding < dynamicOffsetSetIndices.size() ? dynamicOffsetSetIndices[glBlock.binding] : -1; - if (dynamicOffsetIndex >= 0) offset += dynamicOffsets[glBlock.set][dynamicOffsetIndex]; + if (dynamicOffsetIndex >= 0) offset += dynamicOffsets[dynamicOffsetIndex]; if (cache->glBindUBOs[glBlock.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || cache->glBindUBOOffsets[glBlock.glBinding] != offset) { if (offset) { GL_CHECK(glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, - offset, gpuDescriptor.gpuBuffer->size)); + offset, gpuDescriptor.gpuBuffer->size)); } else { GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); } @@ -2077,9 +2077,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z) || (cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w)) { GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); + gpuPipelineState->bs.blendColor.y, + gpuPipelineState->bs.blendColor.z, + gpuPipelineState->bs.blendColor.w)); cache->bs.blendColor = gpuPipelineState->bs.blendColor; } break; @@ -2113,9 +2113,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; } @@ -2124,9 +2124,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if ((cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); cache->dss.stencilRefBack = stencilCompareMask.refrence; cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } @@ -2137,13 +2137,13 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, - GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); GL_CHECK(glStencilFuncSeparate(GL_BACK, - GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], - stencilCompareMask.refrence, - stencilCompareMask.compareMask)); + GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], + stencilCompareMask.refrence, + stencilCompareMask.compareMask)); cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; cache->dss.stencilRefBack = stencilCompareMask.refrence; @@ -2281,22 +2281,22 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_2D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage2D(GL_TEXTURE_2D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } break; @@ -2316,24 +2316,24 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3D(GL_TEXTURE_2D_ARRAY, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - z, - w, h, d, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + z, + w, h, d, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage3D(GL_TEXTURE_2D_ARRAY, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - z, - w, h, d, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + z, + w, h, d, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } } @@ -2352,24 +2352,24 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3D(GL_TEXTURE_3D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - region.texOffset.z, - w, h, d, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + region.texOffset.z, + w, h, d, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage3D(GL_TEXTURE_3D, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - region.texOffset.z, - w, h, d, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + region.texOffset.z, + w, h, d, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } break; @@ -2388,22 +2388,22 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - memSize, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + memSize, + (GLvoid *)buff)); } else { GL_CHECK(glTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, - region.texSubres.mipLevel, - region.texOffset.x, - region.texOffset.y, - w, h, - gpuTexture->glFormat, - gpuTexture->glType, - (GLvoid *)buff)); + region.texSubres.mipLevel, + region.texOffset.x, + region.texOffset.y, + w, h, + gpuTexture->glFormat, + gpuTexture->glType, + (GLvoid *)buff)); } } } @@ -2422,6 +2422,8 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const } void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { + if (!cmdPackage->cmds.size()) return; + static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 862bac8249..7bb350162e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -104,7 +104,7 @@ public: GLES3GPUPipelineState *gpuPipelineState = nullptr; GLES3GPUInputAssembler *gpuInputAssembler = nullptr; vector gpuDescriptorSets; - vector dynamicOffsets; + vector dynamicOffsets; Viewport viewport; Rect scissor; float lineWidth = 1.0f; @@ -231,7 +231,7 @@ CC_GLES3_API void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURende const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil); CC_GLES3_API void GLES3CmdFuncEndRenderPass(GLES3Device *device); CC_GLES3_API void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipelineState, GLES3GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, + vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES3DepthBias &depthBias, Color &blendConstants, GLES3DepthBounds &depthBounds, GLES3StencilWriteMask &stencilWriteMask, GLES3StencilCompareMask &stencilCompareMask); CC_GLES3_API void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 9e87133c16..545dff91fa 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -25,7 +25,6 @@ THE SOFTWARE. #include "GLES3Buffer.h" #include "GLES3CommandBuffer.h" -#include "GLES3PrimaryCommandBuffer.h" #include "GLES3Context.h" #include "GLES3DescriptorSet.h" #include "GLES3DescriptorSetLayout.h" @@ -190,7 +189,6 @@ void GLES3Device::resize(uint width, uint height) { } void GLES3Device::acquire() { - _gpuCmdAllocator->releaseCmds(); _gpuStagingBufferPool->reset(); } @@ -237,8 +235,9 @@ void GLES3Device::bindDeviceContext(bool bound) { } } -CommandBuffer *GLES3Device::createCommandBuffer() { - return CC_NEW(GLES3PrimaryCommandBuffer(this)); +CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer(this)); + return CC_NEW(GLES3CommandBuffer(this)); } Fence *GLES3Device::createFence() { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 3bc194f8f8..4d6fd6963b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -57,21 +57,6 @@ public: virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; - virtual CommandBuffer *createCommandBuffer() override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; CC_INLINE GLES3GPUStateCache *stateCache() const { return _gpuStateCache; } CC_INLINE GLES3GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } @@ -88,6 +73,22 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual Fence *createFence() override; + virtual Queue *createQueue() override; + virtual Buffer *createBuffer() override; + virtual Texture *createTexture() override; + virtual Sampler *createSampler() override; + virtual Shader *createShader() override; + virtual InputAssembler *createInputAssembler() override; + virtual RenderPass *createRenderPass() override; + virtual Framebuffer *createFramebuffer() override; + virtual DescriptorSet *createDescriptorSet() override; + virtual DescriptorSetLayout *createDescriptorSetLayout() override; + virtual PipelineLayout *createPipelineLayout() override; + virtual PipelineState *createPipelineState() override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual void bindRenderContext(bool bound) override; virtual void bindDeviceContext(bool bound) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp index 5195315a26..28a6bcda54 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp @@ -55,7 +55,7 @@ bool GLES3PipelineLayout::initialize(const PipelineLayoutInfo &info) { for (uint j = 0u; j < dynamicCount; j++) { uint binding = gpuSetLayout->dynamicBindings[j]; - if (indices[binding] < 0) indices[binding] = j; + if (indices[binding] < 0) indices[binding] = offset + j; } _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->setLayouts.push_back(gpuSetLayout); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 4ea1989112..18e42f9add 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -39,7 +39,13 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { (_type == CommandBufferType::SECONDARY)) { if (_isStateInvalid) { - GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, _curDynamicOffsets, + vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + } + GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); _isStateInvalid = false; @@ -100,11 +106,16 @@ void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe void GLES3PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES3PrimaryCommandBuffer *cmdBuff = (GLES3PrimaryCommandBuffer *)cmdBuffs[i]; - GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdBuff->_cmdPackage); + GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - _numDrawCalls += cmdBuff->getNumDrawCalls(); - _numInstances += cmdBuff->getNumInstances(); - _numTriangles += cmdBuff->getNumTris(); + GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + + _numDrawCalls += cmdBuff->_numDrawCalls; + _numInstances += cmdBuff->_numInstances; + _numTriangles += cmdBuff->_numTriangles; + + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index 45e583aca6..ab536ec121 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -48,11 +48,17 @@ void GLES3Queue::destroy() { void GLES3Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { if (!_isAsync) { for (uint i = 0; i < count; ++i) { - GLES3CommandBuffer *cmdBuffer = (GLES3CommandBuffer *)cmdBuffs[i]; -// GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdBuffer->_cmdPackage); - _numDrawCalls += cmdBuffer->_numDrawCalls; - _numInstances += cmdBuffer->_numInstances; - _numTriangles += cmdBuffer->_numTriangles; + GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; + GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + + GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + + _numDrawCalls += cmdBuff->_numDrawCalls; + _numInstances += cmdBuff->_numInstances; + _numTriangles += cmdBuff->_numTriangles; + + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); } } } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index d12e8eeb7e..9a95f8e19d 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -74,7 +74,21 @@ public: virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; - virtual CommandBuffer *createCommandBuffer() override; + + CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } + CC_INLINE void *getMTLLayer() const { return _mtlLayer; } + CC_INLINE void *getMTLDevice() const { return _mtlDevice; } + CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } + CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } + CC_INLINE uint getMaximumBufferBindingIndex() const { return _maxBufferBindingIndex; } + CC_INLINE bool isIndirectCommandBufferSupported() const { return _icbSuppored; } + CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } + CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } + CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } + CC_INLINE void *getDSSTexture() const { return _dssTex; } + +protected: + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; @@ -91,18 +105,6 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; virtual void blitBuffer(void *srcBuffer, uint offset, uint size, void *dstBuffer); - CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } - CC_INLINE void *getMTLLayer() const { return _mtlLayer; } - CC_INLINE void *getMTLDevice() const { return _mtlDevice; } - CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } - CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } - CC_INLINE uint getMaximumBufferBindingIndex() const { return _maxBufferBindingIndex; } - CC_INLINE bool isIndirectCommandBufferSupported() const { return _icbSuppored; } - CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } - CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } - CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } - CC_INLINE void *getDSSTexture() const { return _dssTex; } - private: void onMemoryWarning(); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 5a95cf8af8..12818aaf03 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -224,7 +224,7 @@ Queue *CCMTLDevice::createQueue() { return CC_NEW(CCMTLQueue(this)); } -CommandBuffer *CCMTLDevice::createCommandBuffer() { +CommandBuffer *CCMTLDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { return CC_NEW(CCMTLCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index d656518743..346813e3f6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -121,7 +121,8 @@ void CCVKCommandBuffer::end() { _curViewport.width = _curViewport.height = _curScissor.width = _curScissor.height = 0u; VK_CHECK(vkEndCommandBuffer(_gpuCommandBuffer->vkCommandBuffer)); _gpuCommandBuffer->began = false; - + + _pendingQueue.push(_gpuCommandBuffer->vkCommandBuffer); ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); } @@ -409,13 +410,13 @@ void CCVKCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint count uint validCount = 0u; for (uint i = 0u; i < count; ++i) { CCVKCommandBuffer *cmdBuff = (CCVKCommandBuffer *)cmdBuffs[i]; - if (cmdBuff->_gpuCommandBuffer->vkCommandBuffer) { - _vkCommandBuffers[validCount++] = cmdBuff->_gpuCommandBuffer->vkCommandBuffer; + if (!cmdBuff->_pendingQueue.empty()) { + _vkCommandBuffers[validCount++] = cmdBuff->_pendingQueue.front(); + cmdBuff->_pendingQueue.pop(); - _numDrawCalls += cmdBuff->getNumDrawCalls(); - _numInstances += cmdBuff->getNumInstances(); - _numTriangles += cmdBuff->getNumTris(); - cmdBuff->_gpuCommandBuffer->vkCommandBuffer = VK_NULL_HANDLE; + _numDrawCalls += cmdBuff->_numDrawCalls; + _numInstances += cmdBuff->_numInstances; + _numTriangles += cmdBuff->_numTriangles; } } if (validCount) { diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 0443e4b8cd..fa78142f4c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -88,6 +88,7 @@ private: CCVKStencilCompareMask _curStencilCompareMask; vector _vkCommandBuffers; + queue _pendingQueue; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 43c5ec77d0..c8d6bf9a94 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -531,7 +531,7 @@ CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuSwap CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuSwapchain->curImageIndex]; } CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuSwapchain->curImageIndex]; } -CommandBuffer *CCVKDevice::createCommandBuffer() { +CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { return CC_NEW(CCVKCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 9e990bd7c4..997d32acf1 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -70,22 +70,6 @@ public: virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; - virtual CommandBuffer *createCommandBuffer() override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - CC_INLINE bool checkExtension(const String &extension) const { return std::find_if(_extensions.begin(), _extensions.end(), [extension](const char *device_extension) { diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index b03508ca1d..d962232654 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -267,7 +267,6 @@ public: VkPipelineLayout vkPipelineLayout = VK_NULL_HANDLE; // helper storage - vector dynamicOffsets; vector dynamicOffsetOffsets; uint dynamicOffsetCount; }; @@ -614,6 +613,7 @@ public: CommandBufferPool &pool = _pools[hash]; pool.usedCommandBuffers[gpuCommandBuffer->level].push(gpuCommandBuffer->vkCommandBuffer); + gpuCommandBuffer->vkCommandBuffer = VK_NULL_HANDLE; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index a02fbfcc96..6c61c7f41b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -64,12 +64,15 @@ void CCVKQueue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence * device->gpuTransportHub()->depart(); for (uint i = 0u; i < count; ++i) { - CCVKCommandBuffer *cmdBuffer = (CCVKCommandBuffer *)cmdBuffs[i]; - _gpuQueue->commandBuffers.push(cmdBuffer->_gpuCommandBuffer->vkCommandBuffer); - _numDrawCalls += cmdBuffer->_numDrawCalls; - _numInstances += cmdBuffer->_numInstances; - _numTriangles += cmdBuffer->_numTriangles; - cmdBuffer->_gpuCommandBuffer->vkCommandBuffer = VK_NULL_HANDLE; + CCVKCommandBuffer *cmdBuff = (CCVKCommandBuffer *)cmdBuffs[i]; + if (!cmdBuff->_pendingQueue.empty()) { + _gpuQueue->commandBuffers.push(cmdBuff->_pendingQueue.front()); + cmdBuff->_pendingQueue.pop(); + + _numDrawCalls += cmdBuff->_numDrawCalls; + _numInstances += cmdBuff->_numInstances; + _numTriangles += cmdBuff->_numTriangles; + } } VkSubmitInfo submitInfo{VK_STRUCTURE_TYPE_SUBMIT_INFO}; From 5beb75c452e8826476dbf0d519d65c703863b546 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 21 Dec 2020 16:32:36 +0800 Subject: [PATCH 059/270] format --- .../cocos/base/threading/CommandEncoder.cpp | 280 +++-- native/cocos/base/threading/CommandEncoder.h | 964 +++++++++--------- .../core/gfx-agent/GFXBufferAgent.cpp | 2 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 30 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 20 +- .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 10 +- .../renderer/core/gfx/GFXCommandBuffer.h | 2 + 7 files changed, 625 insertions(+), 683 deletions(-) diff --git a/native/cocos/base/threading/CommandEncoder.cpp b/native/cocos/base/threading/CommandEncoder.cpp index f0d9756073..17521317ad 100644 --- a/native/cocos/base/threading/CommandEncoder.cpp +++ b/native/cocos/base/threading/CommandEncoder.cpp @@ -3,317 +3,269 @@ namespace cc { -namespace -{ +namespace { uint32_t constexpr kMemoryChunkSize = 32 * 1024 * 1024; uint32_t constexpr kMemoryChunkPoolCapacity = 16; uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); -} +} // namespace -CommandEncoder::MemoryAllocator& CommandEncoder::MemoryAllocator::GetInstance() noexcept -{ +CommandEncoder::MemoryAllocator &CommandEncoder::MemoryAllocator::getInstance() noexcept { static CommandEncoder::MemoryAllocator instance; return instance; } -uint8_t* CommandEncoder::MemoryAllocator::Request() noexcept -{ - uint8_t* newChunk = nullptr; +uint8_t *CommandEncoder::MemoryAllocator::request() noexcept { + uint8_t *newChunk = nullptr; - if (mChunkPool.try_dequeue(newChunk)) - { + if (mChunkPool.try_dequeue(newChunk)) { mChunkCount.fetch_sub(1, std::memory_order_acq_rel); - } - else - { - newChunk = MemoryAllocateForMultiThread(kMemoryChunkSize); + } else { + newChunk = memoryAllocateForMultiThread(kMemoryChunkSize); } return newChunk; } -void CommandEncoder::MemoryAllocator::Recycle(uint8_t* const chunk, bool const freeByUser) noexcept -{ - if (freeByUser) - { +void CommandEncoder::MemoryAllocator::recycle(uint8_t *const chunk, bool const freeByUser) noexcept { + if (freeByUser) { mChunkFreeQueue.enqueue(chunk); - } - else - { - Free(chunk); + } else { + free(chunk); } } -void CommandEncoder::MemoryAllocator::FreeByUser(CommandEncoder* const mainCommandbuffer) noexcept -{ +void CommandEncoder::MemoryAllocator::freeByUser(CommandEncoder *const mainCommandbuffer) noexcept { auto queue = &mChunkFreeQueue; ENCODE_COMMAND_1( - mainCommandbuffer, FreeChunksInFreeQueue, - queue, queue, - { - uint8_t* chunk = nullptr; + mainCommandbuffer, freeChunksInFreeQueue, + queue, queue, + { + uint8_t *chunk = nullptr; - while(queue->try_dequeue(chunk)) - { - CommandEncoder::MemoryAllocator::GetInstance().Free(chunk); - } - }); + while (queue->try_dequeue(chunk)) { + CommandEncoder::MemoryAllocator::getInstance().free(chunk); + } + }); - mainCommandbuffer->Kick(); + mainCommandbuffer->kick(); } -void CommandEncoder::MemoryAllocator::Free(uint8_t* const chunk) noexcept -{ - if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) - { - MemoryFreeForMultiThread(chunk); - } - else - { +void CommandEncoder::MemoryAllocator::free(uint8_t *const chunk) noexcept { + if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) { + memoryFreeForMultiThread(chunk); + } else { mChunkPool.enqueue(chunk); mChunkCount.fetch_add(1, std::memory_order_acq_rel); } } -CommandEncoder::CommandEncoder() -{ - uint8_t* const chunk = MemoryAllocator::GetInstance().Request(); +CommandEncoder::CommandEncoder() { + uint8_t *const chunk = MemoryAllocator::getInstance().request(); mW.mCurrentMemoryChunk = chunk; mR.mCurrentMemoryChunk = chunk; // 分配一个头节点 不要被Execute - Command* const cmd = Allocate(1); - PushCommands(); - PullCommands(); + Command *const cmd = allocate(1); + pushCommands(); + pullCommands(); mR.mLastCommand = cmd; --mR.mNewCommandCount; } -void CommandEncoder::Kick() noexcept -{ - PushCommands(); +void CommandEncoder::kick() noexcept { + pushCommands(); mN.Signal(); } -void CommandEncoder::KickAndWait() noexcept -{ +void CommandEncoder::kickAndWait() noexcept { EventSem event; - EventSem* const pEvent = &event; + EventSem *const pEvent = &event; ENCODE_COMMAND_1(this, WaitUntilFinish, - pEvent, pEvent, - { - pEvent->Signal(); - }); + pEvent, pEvent, + { + pEvent->Signal(); + }); - Kick(); + kick(); event.Wait(); } -void CommandEncoder::RunConsumerThread() noexcept -{ - if (mWorkerAttached) - { +void CommandEncoder::runConsumerThread() noexcept { + if (mWorkerAttached) { return; } - std::thread consumerThread(&CommandEncoder::ConsumerThreadLoop, this); + std::thread consumerThread(&CommandEncoder::consumerThreadLoop, this); consumerThread.detach(); mWorkerAttached = true; } -void CommandEncoder::TerminateConsumerThread() noexcept -{ - if (! mWorkerAttached) - { +void CommandEncoder::terminateConsumerThread() noexcept { + if (!mWorkerAttached) { return; } EventSem event; - EventSem* const pEvent = &event; + EventSem *const pEvent = &event; - ReaderContext* const pR = &mR; + ReaderContext *const pR = &mR; bool immediateMode = mImmediateMode; mImmediateMode = false; ENCODE_COMMAND_2( - this, TerminateConsumerThread, - pR, pR, - pEvent, pEvent, - { - pR->mTerminateConsumerThread = true; - pR->mFlushingFinished = true; - pEvent->Signal(); - }); + this, terminateConsumerThread, + pR, pR, + pEvent, pEvent, + { + pR->mTerminateConsumerThread = true; + pR->mFlushingFinished = true; + pEvent->Signal(); + }); mImmediateMode = immediateMode; - Kick(); + kick(); event.Wait(); } -void CommandEncoder::FinishWriting(bool wait) noexcept -{ - if (!mImmediateMode) - { - bool* const flushingFinished = &mR.mFlushingFinished; +void CommandEncoder::finishWriting(bool wait) noexcept { + if (!mImmediateMode) { + bool *const flushingFinished = &mR.mFlushingFinished; - ENCODE_COMMAND_1(this, FinishWriting, - flushingFinished, flushingFinished, - { - *flushingFinished = true; - }); + ENCODE_COMMAND_1(this, finishWriting, + flushingFinished, flushingFinished, + { + *flushingFinished = true; + }); - if (wait) KickAndWait(); - else Kick(); + if (wait) + kickAndWait(); + else + kick(); } } -void CommandEncoder::RecycleMemoryChunk(uint8_t* const chunk) const noexcept -{ - CommandEncoder::MemoryAllocator::GetInstance().Recycle(chunk, mFreeChunksByUser); +void CommandEncoder::recycleMemoryChunk(uint8_t *const chunk) const noexcept { + CommandEncoder::MemoryAllocator::getInstance().recycle(chunk, mFreeChunksByUser); } -void CommandEncoder::FreeChunksInFreeQueue(CommandEncoder* const mainCommandbuffer) noexcept -{ - CommandEncoder::MemoryAllocator::GetInstance().FreeByUser(mainCommandbuffer); +void CommandEncoder::freeChunksInFreeQueue(CommandEncoder *const mainCommandbuffer) noexcept { + CommandEncoder::MemoryAllocator::getInstance().freeByUser(mainCommandbuffer); } -uint8_t* CommandEncoder::AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept -{ - uint32_t const alignedSize = Align(requestSize, 16); - assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // 一个Command直接把整个Chunk填满了 +uint8_t *CommandEncoder::allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept { + uint32_t const alignedSize = align(requestSize, 16); + assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // 一个Command直接把整个Chunk填满了 uint32_t const newOffset = mW.mOffset + alignedSize; - if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) - { + if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) { allocatedSize = alignedSize; - uint8_t* const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; + uint8_t *const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; mW.mOffset = newOffset; return allocatedMemory; - } - else - { - uint8_t* const newChunk = CommandEncoder::MemoryAllocator::GetInstance().Request(); - MemoryChunkSwitchCommand* const switchCommand = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - new(switchCommand) MemoryChunkSwitchCommand(this, newChunk, mW.mCurrentMemoryChunk); - switchCommand->mNext = reinterpret_cast(newChunk); // 注意这里还指向原位置 + } else { + uint8_t *const newChunk = CommandEncoder::MemoryAllocator::getInstance().request(); + MemoryChunkSwitchCommand *const switchCommand = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + new (switchCommand) MemoryChunkSwitchCommand(this, newChunk, mW.mCurrentMemoryChunk); + switchCommand->mNext = reinterpret_cast(newChunk); // 注意这里还指向原位置 mW.mLastCommand = switchCommand; ++mW.mPendingCommandCount; mW.mCurrentMemoryChunk = newChunk; mW.mOffset = 0; - DummyCommand* const head = Allocate(1); - new(head) DummyCommand; + DummyCommand *const head = allocate(1); + new (head) DummyCommand; - if (mImmediateMode) - { - PushCommands(); - PullCommands(); + if (mImmediateMode) { + pushCommands(); + pullCommands(); assert(mR.mNewCommandCount == 2); - ExecuteCommand(); - ExecuteCommand(); + executeCommand(); + executeCommand(); } - return AllocateImpl(allocatedSize, requestSize); + return allocateImpl(allocatedSize, requestSize); } } -void CommandEncoder::PushCommands() noexcept -{ +void CommandEncoder::pushCommands() noexcept { mW.mWrittenCommandCount.fetch_add(mW.mPendingCommandCount, std::memory_order_acq_rel); mW.mPendingCommandCount = 0; } -void CommandEncoder::PullCommands() noexcept -{ +void CommandEncoder::pullCommands() noexcept { uint32_t const writtenCommandCountNew = mW.mWrittenCommandCount.load(std::memory_order_acquire); mR.mNewCommandCount += writtenCommandCountNew - mR.mWrittenCommandCountSnap; mR.mWrittenCommandCountSnap = writtenCommandCountNew; } -void CommandEncoder::FlushCommands() noexcept -{ - while (! mR.mFlushingFinished) - { - ExecuteCommand(); +void CommandEncoder::flushCommands() noexcept { + while (!mR.mFlushingFinished) { + executeCommand(); } mR.mFlushingFinished = false; } -void CommandEncoder::ExecuteCommand() noexcept -{ - Command* const cmd = ReadCommand(); +void CommandEncoder::executeCommand() noexcept { + Command *const cmd = readCommand(); - if (! cmd) - { + if (!cmd) { return; } - cmd->Execute(); + cmd->execute(); cmd->~Command(); } -Command* CommandEncoder::ReadCommand() noexcept -{ - while (! HasNewCommand()) - { +Command *CommandEncoder::readCommand() noexcept { + while (!hasNewCommand()) { // 如果当前没有可读的Command 尝试同步一下生产者线程的数据 - PullCommands(); + pullCommands(); // 如果依然没有 挂起消费者线程 等待生产者线程填充Command并唤醒消费者线程 - if (! HasNewCommand()) - { + if (!hasNewCommand()) { mN.Wait(); - PullCommands(); + pullCommands(); } } - Command* const cmd = mR.mLastCommand->GetNext(); + Command *const cmd = mR.mLastCommand->getNext(); mR.mLastCommand = cmd; --mR.mNewCommandCount; assert(cmd); return cmd; } -void CommandEncoder::ConsumerThreadLoop() noexcept -{ - while (! mR.mTerminateConsumerThread) - { - FlushCommands(); +void CommandEncoder::consumerThreadLoop() noexcept { + while (!mR.mTerminateConsumerThread) { + flushCommands(); } mWorkerAttached = false; } -char const* DummyCommand::GetName() const noexcept -{ +char const *DummyCommand::getName() const noexcept { return "Dummy"; } -MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(CommandEncoder* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept - : mCommandBuffer(cb) - , mNewChunk(newChunk) - , mOldChunk(oldChunk) -{ +MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(CommandEncoder *const cb, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept +: mCommandBuffer(cb), mNewChunk(newChunk), mOldChunk(oldChunk) { } -MemoryChunkSwitchCommand::~MemoryChunkSwitchCommand() -{ - mCommandBuffer->RecycleMemoryChunk(mOldChunk); +MemoryChunkSwitchCommand::~MemoryChunkSwitchCommand() { + mCommandBuffer->recycleMemoryChunk(mOldChunk); } -void MemoryChunkSwitchCommand::Execute() noexcept -{ +void MemoryChunkSwitchCommand::execute() noexcept { mCommandBuffer->mR.mCurrentMemoryChunk = mNewChunk; - mCommandBuffer->PullCommands(); + mCommandBuffer->pullCommands(); } -char const* MemoryChunkSwitchCommand::GetName() const noexcept -{ +char const *MemoryChunkSwitchCommand::getName() const noexcept { return "MemoryChunkSwitch"; } diff --git a/native/cocos/base/threading/CommandEncoder.h b/native/cocos/base/threading/CommandEncoder.h index 156cb2a388..8220dea294 100644 --- a/native/cocos/base/threading/CommandEncoder.h +++ b/native/cocos/base/threading/CommandEncoder.h @@ -1,626 +1,614 @@ #pragma once -#include -#include "concurrentqueue.h" #include "Event.h" +#include "concurrentqueue.h" +#include namespace cc { // 由于系统的内存分配是从一个全局堆里申请 分配过程会上锁导致降低并行度 在多线程的环境下如果频繁的申请释放内存会降低性能 // 所以这里先加个接口来统一调用 未来会换成单独服务于线程的无锁分配器 template -inline T* MemoryAllocateForMultiThread(uint32_t const count) noexcept -{ - return static_cast(malloc(sizeof(T) * count)); +inline T *memoryAllocateForMultiThread(uint32_t const count) noexcept { + return static_cast(malloc(sizeof(T) * count)); } template -inline void MemoryFreeForMultiThread(T* const p) noexcept -{ +inline void memoryFreeForMultiThread(T *const p) noexcept { free(p); } -inline uint32_t constexpr Align(uint32_t const val, uint32_t const alignment) noexcept -{ - return (val + alignment - 1) & ~(alignment-1); +inline uint32_t constexpr align(uint32_t const val, uint32_t const alignment) noexcept { + return (val + alignment - 1) & ~(alignment - 1); } -class Command -{ +class Command { public: + Command() = default; + virtual ~Command() {} + Command(Command const &) = delete; + Command(Command &&) = delete; + Command &operator=(Command const &) = delete; + Command &operator=(Command &&) = delete; - Command() = default; - virtual ~Command() {} - Command(Command const&) = delete; - Command(Command&&) = delete; - Command& operator=(Command const&) = delete; - Command& operator=(Command&&) = delete; - - virtual void Execute() noexcept = 0; - virtual char const* GetName() const noexcept = 0; - inline Command* GetNext() const noexcept { return mNext; } + virtual void execute() noexcept = 0; + virtual char const *getName() const noexcept = 0; + inline Command *getNext() const noexcept { return mNext; } private: - - Command* mNext; + Command *mNext; friend class CommandEncoder; }; -struct alignas(64) WriterContext final -{ - uint8_t* mCurrentMemoryChunk { nullptr }; - Command* mLastCommand { nullptr }; - uint32_t mOffset { 0 }; - uint32_t mPendingCommandCount { 0 }; - std::atomic mWrittenCommandCount { 0 }; +struct alignas(64) WriterContext final { + uint8_t *mCurrentMemoryChunk{nullptr}; + Command *mLastCommand{nullptr}; + uint32_t mOffset{0}; + uint32_t mPendingCommandCount{0}; + std::atomic mWrittenCommandCount{0}; }; -struct alignas(64) ReaderContext final -{ - uint8_t* mCurrentMemoryChunk { nullptr }; - Command* mLastCommand { nullptr }; - uint32_t mOffset { 0 }; - uint32_t mWrittenCommandCountSnap { 0 }; - uint32_t mNewCommandCount { 0 }; - bool mTerminateConsumerThread { false }; - bool mFlushingFinished { false }; +struct alignas(64) ReaderContext final { + uint8_t *mCurrentMemoryChunk{nullptr}; + Command *mLastCommand{nullptr}; + uint32_t mOffset{0}; + uint32_t mWrittenCommandCountSnap{0}; + uint32_t mNewCommandCount{0}; + bool mTerminateConsumerThread{false}; + bool mFlushingFinished{false}; }; // 支持单生产者单消费者的环形缓冲区 -// 生产者线程Allocate 消费者线程Execute +// 生产者线程Allocate 消费者线程execute // 除了Command之外 执行Command需要的数据也需要拷贝到这里 来实现线程安全的数据访问 -class alignas(64) CommandEncoder final -{ +class alignas(64) CommandEncoder final { public: - - CommandEncoder(); - ~CommandEncoder() = default; - CommandEncoder(CommandEncoder const&) = delete; - CommandEncoder(CommandEncoder&&) = delete; - CommandEncoder& operator=(CommandEncoder const&) = delete; - CommandEncoder& operator=(CommandEncoder&&) = delete; + CommandEncoder(); + ~CommandEncoder() = default; + CommandEncoder(CommandEncoder const &) = delete; + CommandEncoder(CommandEncoder &&) = delete; + CommandEncoder &operator=(CommandEncoder const &) = delete; + CommandEncoder &operator=(CommandEncoder &&) = delete; // 分配Command template - std::enable_if_t::value, T*> - Allocate(uint32_t const count) noexcept; + std::enable_if_t::value, T *> + allocate(uint32_t const count) noexcept; // 分配数据 template - std::enable_if_t::value, T*> - Allocate(uint32_t const count) noexcept; + std::enable_if_t::value, T *> + allocate(uint32_t const count) noexcept; template - T* AllocateAndCopy(uint32_t const count, void const* data) noexcept; + T *allocateAndCopy(uint32_t const count, void const *data) noexcept; template - T* AllocateAndZero(uint32_t const count) noexcept; + T *allocateAndZero(uint32_t const count) noexcept; // 通知消费者线程开始工作 - void Kick() noexcept; + void kick() noexcept; // 通知消费者线程开始工作并阻塞生产者线程 直到消费者线程执行完所有命令 - void KickAndWait() noexcept; + void kickAndWait() noexcept; // 只支持单消费者 - void RunConsumerThread() noexcept; - void TerminateConsumerThread() noexcept; - void FinishWriting(bool wait) noexcept; - void FlushCommands() noexcept; + void runConsumerThread() noexcept; + void terminateConsumerThread() noexcept; + void finishWriting(bool wait) noexcept; + void flushCommands() noexcept; - inline bool IsImmediateMode() const noexcept { return mImmediateMode; } - inline void FinishWriting() noexcept { FinishWriting(false); } + inline bool isImmediateMode() const noexcept { return mImmediateMode; } + inline void finishWriting() noexcept { finishWriting(false); } - void RecycleMemoryChunk(uint8_t* const chunk) const noexcept; - static void FreeChunksInFreeQueue(CommandEncoder* const mainCommandbuffer) noexcept; + void recycleMemoryChunk(uint8_t *const chunk) const noexcept; + static void freeChunksInFreeQueue(CommandEncoder *const mainCommandbuffer) noexcept; - inline void SetImmediateMode(bool immediateMode) noexcept { mImmediateMode = immediateMode; } - inline int GetPendingCommandCount() const noexcept { return mW.mPendingCommandCount; } - inline int GetWrittenCommandCount() const noexcept { return mW.mWrittenCommandCount; } - inline int GetNewCommandCount() const noexcept { return mR.mNewCommandCount; } + inline void setImmediateMode(bool immediateMode) noexcept { mImmediateMode = immediateMode; } + inline int getPendingCommandCount() const noexcept { return mW.mPendingCommandCount; } + inline int getWrittenCommandCount() const noexcept { return mW.mWrittenCommandCount; } + inline int getNewCommandCount() const noexcept { return mR.mNewCommandCount; } private: - - class alignas(64) MemoryAllocator final - { + class alignas(64) MemoryAllocator final { public: + MemoryAllocator() = default; + ~MemoryAllocator() = default; + MemoryAllocator(MemoryAllocator const &) = delete; + MemoryAllocator(MemoryAllocator &&) = delete; + MemoryAllocator &operator=(MemoryAllocator const &) = delete; + MemoryAllocator &operator=(MemoryAllocator &&) = delete; - MemoryAllocator() = default; - ~MemoryAllocator() = default; - MemoryAllocator(MemoryAllocator const&) = delete; - MemoryAllocator(MemoryAllocator&&) = delete; - MemoryAllocator& operator=(MemoryAllocator const&) = delete; - MemoryAllocator& operator=(MemoryAllocator&&) = delete; - - static MemoryAllocator& GetInstance() noexcept; - uint8_t* Request() noexcept; - void Recycle(uint8_t* const chunk, bool const freeByUser) noexcept; - void FreeByUser(CommandEncoder* const mainCommandbuffer) noexcept; + static MemoryAllocator &getInstance() noexcept; + uint8_t *request() noexcept; + void recycle(uint8_t *const chunk, bool const freeByUser) noexcept; + void freeByUser(CommandEncoder *const mainCommandbuffer) noexcept; private: + using ChunkQueue = moodycamel::ConcurrentQueue; - using ChunkQueue = moodycamel::ConcurrentQueue; - - void Free(uint8_t* const chunk) noexcept; - std::atomic mChunkCount { 0 }; - ChunkQueue mChunkPool {}; - ChunkQueue mChunkFreeQueue {}; + void free(uint8_t *const chunk) noexcept; + std::atomic mChunkCount{0}; + ChunkQueue mChunkPool{}; + ChunkQueue mChunkFreeQueue{}; }; - uint8_t* AllocateImpl(uint32_t& allocatedSize, uint32_t const requestSize) noexcept; - void PushCommands() noexcept; + uint8_t *allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept; + void pushCommands() noexcept; // 在消费者线程执行 - void PullCommands() noexcept; - void ExecuteCommand() noexcept; - Command* ReadCommand() noexcept; - inline bool HasNewCommand() const noexcept { return mR.mNewCommandCount > 0 && ! mR.mFlushingFinished; } - void ConsumerThreadLoop() noexcept; + void pullCommands() noexcept; + void executeCommand() noexcept; + Command *readCommand() noexcept; + inline bool hasNewCommand() const noexcept { return mR.mNewCommandCount > 0 && !mR.mFlushingFinished; } + void consumerThreadLoop() noexcept; - WriterContext mW; - ReaderContext mR; - EventCV mN; - bool mImmediateMode { true }; - bool mWorkerAttached { false }; - bool mFreeChunksByUser { true }; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free + WriterContext mW; + ReaderContext mR; + EventCV mN; + bool mImmediateMode{true}; + bool mWorkerAttached{false}; + bool mFreeChunksByUser{true}; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free friend class MemoryChunkSwitchCommand; }; -class DummyCommand final : public Command -{ +class DummyCommand final : public Command { public: - - virtual void Execute() noexcept override {} - virtual char const* GetName() const noexcept override; + virtual void execute() noexcept override {} + virtual char const *getName() const noexcept override; }; -class MemoryChunkSwitchCommand final : public Command -{ +class MemoryChunkSwitchCommand final : public Command { public: - - MemoryChunkSwitchCommand(CommandEncoder* const cb, uint8_t* const newChunk, uint8_t* const oldChunk) noexcept; + MemoryChunkSwitchCommand(CommandEncoder *const cb, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept; ~MemoryChunkSwitchCommand(); - virtual void Execute() noexcept override; - virtual char const* GetName() const noexcept override; + virtual void execute() noexcept override; + virtual char const *getName() const noexcept override; private: - - CommandEncoder* mCommandBuffer { nullptr }; - uint8_t* mNewChunk { nullptr }; - uint8_t* mOldChunk { nullptr }; + CommandEncoder *mCommandBuffer{nullptr}; + uint8_t *mNewChunk{nullptr}; + uint8_t *mOldChunk{nullptr}; }; template -std::enable_if_t::value, T*> -CommandEncoder::Allocate(uint32_t const count) noexcept -{ +std::enable_if_t::value, T *> +CommandEncoder::allocate(uint32_t const count) noexcept { uint32_t allocatedSize = 0; - T* const cmd = reinterpret_cast(AllocateImpl(allocatedSize, sizeof(T))); - cmd->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + T *const cmd = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); + cmd->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); ++mW.mPendingCommandCount; mW.mLastCommand = cmd; return cmd; } template -std::enable_if_t::value, T*> -CommandEncoder::Allocate(uint32_t const count) noexcept -{ +std::enable_if_t::value, T *> +CommandEncoder::allocate(uint32_t const count) noexcept { uint32_t const requestSize = sizeof(T) * count; assert(requestSize); uint32_t allocatedSize = 0; - uint8_t* const allocatedMemory = AllocateImpl(allocatedSize, requestSize); - mW.mLastCommand->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - return reinterpret_cast(allocatedMemory); + uint8_t *const allocatedMemory = allocateImpl(allocatedSize, requestSize); + mW.mLastCommand->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + return reinterpret_cast(allocatedMemory); } template -T* CommandEncoder::AllocateAndCopy(uint32_t const count, void const* data) noexcept -{ - T* const allocatedMemory = Allocate(count); +T *CommandEncoder::allocateAndCopy(uint32_t const count, void const *data) noexcept { + T *const allocatedMemory = Allocate(count); memcpy(allocatedMemory, data, sizeof(T) * count); return allocatedMemory; } template -T* CommandEncoder::AllocateAndZero(uint32_t const count) noexcept -{ - T* const allocatedMemory = Allocate(count); +T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { + T *const allocatedMemory = Allocate(count); memset(allocatedMemory, 0, sizeof(T) * count); return allocatedMemory; } // 生产者线程用来向CommandBuffer填充Command的工具宏 -#define WRITE_COMMAND(CB, CommandName, Params) \ - { \ - if (! CB->IsImmediateMode()) \ - { \ - new (CB->Allocate(1)) CommandName Params; \ - } \ - else \ - { \ - CommandName command Params; \ - command.Execute(); \ - } \ +#define WRITE_COMMAND(CB, CommandName, Params) \ + { \ + if (!CB->isImmediateMode()) { \ + new (CB->allocate(1)) CommandName Params; \ + } else { \ + CommandName command Params; \ + command.execute(); \ + } \ } #define ENCODE_COMMAND_0(CB, CommandName, Code) \ - class CommandName final : public Command \ { \ - public: \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - }; \ - WRITE_COMMAND(CB, CommandName, ); + class CommandName final : public Command { \ + public: \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + }; \ + WRITE_COMMAND(CB, CommandName, ); \ + } #define ENCODE_COMMAND_1(CB, CommandName, \ - Param1, Value1, \ - Code) { \ + Param1, Value1, \ + Code) \ + { \ \ - using Type1 = std::decay::type; \ + using Type1 = std::decay::type; \ \ - class CommandName final : public Command \ - { \ - public: \ - explicit CommandName(Type1 const& In##Param1) \ - : Param1(In##Param1) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1)) }; + class CommandName final : public Command { \ + public: \ + explicit CommandName(Type1 const &In##Param1) \ + : Param1(In##Param1) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1)) \ + } #define ENCODE_COMMAND_2(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Code) { \ + Param1, Value1, \ + Param2, Value2, \ + Code) \ + { \ \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ \ - class CommandName final : public Command \ - { \ - public: \ - CommandName( \ - Type1 const& In##Param1 \ - , Type2 const& In##Param2 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2)) }; + class CommandName final : public Command { \ + public: \ + CommandName( \ + Type1 const &In##Param1, Type2 const &In##Param2) \ + : Param1(In##Param1), Param2(In##Param2) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + }; \ + WRITE_COMMAND(CB, CommandName, (Value1, Value2)) \ + } #define ENCODE_COMMAND_3(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Code) { \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Code) \ + { \ \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ \ - class CommandName final : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3)) }; + class CommandName final : public Command { \ + public: \ + CommandName( \ + Type1 const &In##Param1, \ + Type2 const &In##Param2, \ + Type3 const &In##Param3) \ + : Param1(In##Param1), \ + Param2(In##Param2), \ + Param3(In##Param3) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + }; \ + WRITE_COMMAND(CB, CommandName, \ + (Value1, \ + Value2, \ + Value3)) \ + } #define ENCODE_COMMAND_4(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Code) { \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Code) \ + { \ \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4)) }; + class CommandName : public Command { \ + public: \ + CommandName( \ + Type1 const &In##Param1, \ + Type2 const &In##Param2, \ + Type3 const &In##Param3, \ + Type4 const &In##Param4) \ + : Param1(In##Param1), \ + Param2(In##Param2), \ + Param3(In##Param3), \ + Param4(In##Param4) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + }; \ + WRITE_COMMAND(CB, CommandName, \ + (Value1, \ + Value2, \ + Value3, \ + Value4)) \ + } #define ENCODE_COMMAND_5(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Code) { \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Code) \ + { \ \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - using Type5 = std::decay::type; \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - , Type5 const &In##Param5 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - , Param5(In##Param5) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - Type5 Param5; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5)) }; + class CommandName : public Command { \ + public: \ + CommandName( \ + Type1 const &In##Param1, \ + Type2 const &In##Param2, \ + Type3 const &In##Param3, \ + Type4 const &In##Param4, \ + Type5 const &In##Param5) \ + : Param1(In##Param1), \ + Param2(In##Param2), \ + Param3(In##Param3), \ + Param4(In##Param4), \ + Param5(In##Param5) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + }; \ + WRITE_COMMAND(CB, CommandName, \ + (Value1, \ + Value2, \ + Value3, \ + Value4, \ + Value5)) \ + } #define ENCODE_COMMAND_6(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Code) { \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Code) \ + { \ \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - using Type5 = std::decay::type; \ - using Type6 = std::decay::type; \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - , Type5 const &In##Param5 \ - , Type6 const &In##Param6 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - , Param5(In##Param5) \ - , Param6(In##Param6) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - Type5 Param5; \ - Type6 Param6; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6)) }; + class CommandName : public Command { \ + public: \ + CommandName( \ + Type1 const &In##Param1, \ + Type2 const &In##Param2, \ + Type3 const &In##Param3, \ + Type4 const &In##Param4, \ + Type5 const &In##Param5, \ + Type6 const &In##Param6) \ + : Param1(In##Param1), \ + Param2(In##Param2), \ + Param3(In##Param3), \ + Param4(In##Param4), \ + Param5(In##Param5), \ + Param6(In##Param6) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + }; \ + WRITE_COMMAND(CB, CommandName, \ + (Value1, \ + Value2, \ + Value3, \ + Value4, \ + Value5, \ + Value6)) \ + } #define ENCODE_COMMAND_7(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Param7, Value7, \ - Code) { \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Code) \ + { \ \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - using Type5 = std::decay::type; \ - using Type6 = std::decay::type; \ - using Type7 = std::decay::type; \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + using Type7 = std::decay::type; \ \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - , Type5 const &In##Param5 \ - , Type6 const &In##Param6 \ - , Type7 const &In##Param7 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - , Param5(In##Param5) \ - , Param6(In##Param6) \ - , Param7(In##Param7) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual const char* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - Type5 Param5; \ - Type6 Param6; \ - Type7 Param7; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7)) }; + class CommandName : public Command { \ + public: \ + CommandName( \ + Type1 const &In##Param1, \ + Type2 const &In##Param2, \ + Type3 const &In##Param3, \ + Type4 const &In##Param4, \ + Type5 const &In##Param5, \ + Type6 const &In##Param6, \ + Type7 const &In##Param7) \ + : Param1(In##Param1), \ + Param2(In##Param2), \ + Param3(In##Param3), \ + Param4(In##Param4), \ + Param5(In##Param5), \ + Param6(In##Param6), \ + Param7(In##Param7) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual const char *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + Type7 Param7; \ + }; \ + WRITE_COMMAND(CB, CommandName, \ + (Value1, \ + Value2, \ + Value3, \ + Value4, \ + Value5, \ + Value6, \ + Value7)) \ + } #define ENCODE_COMMAND_8(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Param7, Value7, \ - Param8, Value8, \ - Code) { \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Param8, Value8, \ + Code) \ + { \ \ - using Type1 = std::decay::type; \ - using Type2 = std::decay::type; \ - using Type3 = std::decay::type; \ - using Type4 = std::decay::type; \ - using Type5 = std::decay::type; \ - using Type6 = std::decay::type; \ - using Type7 = std::decay::type; \ - using Type8 = std::decay::type; \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + using Type7 = std::decay::type; \ + using Type8 = std::decay::type; \ \ - class CommandName : public Command \ - { \ - public: \ - CommandName( \ - Type1 const &In##Param1 \ - , Type2 const &In##Param2 \ - , Type3 const &In##Param3 \ - , Type4 const &In##Param4 \ - , Type5 const &In##Param5 \ - , Type6 const &In##Param6 \ - , Type7 const &In##Param7 \ - , Type8 const &In##Param8 \ - ) \ - : Param1(In##Param1) \ - , Param2(In##Param2) \ - , Param3(In##Param3) \ - , Param4(In##Param4) \ - , Param5(In##Param5) \ - , Param6(In##Param6) \ - , Param7(In##Param7) \ - , Param8(In##Param8) \ - { \ - } \ - virtual void Execute() noexcept override \ - { \ - Code; \ - } \ - virtual char const* GetName() const noexcept override \ - { \ - return (#CommandName); \ - } \ - private: \ - Type1 Param1; \ - Type2 Param2; \ - Type3 Param3; \ - Type4 Param4; \ - Type5 Param5; \ - Type6 Param6; \ - Type7 Param7; \ - Type8 Param8; \ - }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8)) }; + class CommandName : public Command { \ + public: \ + CommandName(Type1 const &In##Param1, \ + Type2 const &In##Param2, \ + Type3 const &In##Param3, \ + Type4 const &In##Param4, \ + Type5 const &In##Param5, \ + Type6 const &In##Param6, \ + Type7 const &In##Param7, \ + Type8 const &In##Param8) \ + : Param1(In##Param1), \ + Param2(In##Param2), \ + Param3(In##Param3), \ + Param4(In##Param4), \ + Param5(In##Param5), \ + Param6(In##Param6), \ + Param7(In##Param7), \ + Param8(In##Param8) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + Type7 Param7; \ + Type8 Param8; \ + }; \ + WRITE_COMMAND(CB, CommandName, \ + (Value1, \ + Value2, \ + Value3, \ + Value4, \ + Value5, \ + Value6, \ + Value7, \ + Value8)) \ + } } // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp index 51f4602cd3..87b635b5e7 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -67,7 +67,7 @@ void BufferAgent::destroy() { void BufferAgent::update(void *buffer, uint size) { CommandEncoder *encoder = ((DeviceAgent *)_device)->getMainEncoder(); - uint8_t *actorBuffer = encoder->Allocate(size); + uint8_t *actorBuffer = encoder->allocate(size); memcpy(actorBuffer, buffer, size); ENCODE_COMMAND_3( diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 1a881c683c..c94e33f82b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -18,11 +18,11 @@ namespace gfx { void CommandBufferAgent::initEncoder() { _encoder = CC_NEW(CommandEncoder); - _encoder->SetImmediateMode(false); + _encoder->setImmediateMode(false); } void CommandBufferAgent::destroyEncoder() { - ((DeviceAgent *)_device)->getMainEncoder()->KickAndWait(); + ((DeviceAgent *)_device)->getMainEncoder()->kickAndWait(); CC_SAFE_DELETE(_encoder); } @@ -84,8 +84,8 @@ void CommandBufferAgent::end() { { actor->end(); }); - CommandEncoder::FreeChunksInFreeQueue(_encoder); - _encoder->FinishWriting(); + CommandEncoder::freeChunksInFreeQueue(_encoder); + _encoder->finishWriting(); } void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { @@ -93,7 +93,7 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *actorColors = nullptr; if (attachmentCount) { - actorColors = _encoder->Allocate(attachmentCount); + actorColors = _encoder->allocate(attachmentCount); memcpy(actorColors, colors, sizeof(Color) * attachmentCount); } @@ -137,7 +137,7 @@ void CommandBufferAgent::bindPipelineState(PipelineState *pso) { void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { uint *actorDynamicOffsets = nullptr; if (dynamicOffsetCount) { - actorDynamicOffsets = _encoder->Allocate(dynamicOffsetCount); + actorDynamicOffsets = _encoder->allocate(dynamicOffsetCount); memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); } @@ -273,7 +273,7 @@ void CommandBufferAgent::draw(InputAssembler *ia) { void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { CommandEncoder *encoder = _encoder; - uint8_t *actorData = encoder->Allocate(size); + uint8_t *actorData = encoder->allocate(size); memcpy(actorData, data, size); ENCODE_COMMAND_4( @@ -289,19 +289,19 @@ void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) } void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - BufferTextureCopy *actorRegions = _encoder->Allocate(count); + BufferTextureCopy *actorRegions = _encoder->allocate(count); memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); uint bufferCount = 0u; for (uint i = 0u; i < count; i++) { bufferCount += regions[i].texSubres.layerCount; } - const uint8_t **actorBuffers = _encoder->Allocate(bufferCount); + const uint8_t **actorBuffers = _encoder->allocate(bufferCount); for (uint i = 0u, n = 0u; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = _encoder->Allocate(size); + uint8_t *buffer = _encoder->allocate(size); memcpy(buffer, buffers[n], size); actorBuffers[n++] = buffer; } @@ -323,7 +323,7 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { if (!count) return; - const CommandBuffer **actorCmdBuffs = _encoder->Allocate(count); + const CommandBuffer **actorCmdBuffs = _encoder->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } @@ -343,18 +343,18 @@ void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t if (multiThreaded) { JobGraph g(JobSystem::getInstance()); uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); }); g.run(job); - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); g.waitForAll(); } else { for (uint i = 0u; i < count; ++i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); } } } else { - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); } actor->execute(actorCmdBuffs, count); }); diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 74a94662ba..677c262b9f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -65,7 +65,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { memcpy(_features, _actor->_features, (uint)Feature::COUNT * sizeof(bool)); _mainEncoder = CC_NEW(CommandEncoder); - _mainEncoder->RunConsumerThread(); + _mainEncoder->runConsumerThread(); setMultithreaded(true); @@ -89,7 +89,7 @@ void DeviceAgent::destroy() { CC_SAFE_DELETE(_cmdBuff); CC_SAFE_DELETE(_queue); - _mainEncoder->TerminateConsumerThread(); + _mainEncoder->terminateConsumerThread(); CC_SAFE_DELETE(_mainEncoder); } @@ -132,8 +132,8 @@ void DeviceAgent::present() { frameBoundarySemaphore->Signal(); }); - CommandEncoder::FreeChunksInFreeQueue(encoder); - encoder->FinishWriting(); + CommandEncoder::freeChunksInFreeQueue(encoder); + encoder->finishWriting(); } void DeviceAgent::setMultithreaded(bool multithreaded) { @@ -141,7 +141,7 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { _multithreaded = multithreaded; if (multithreaded) { - _mainEncoder->SetImmediateMode(false); + _mainEncoder->setImmediateMode(false); _actor->bindRenderContext(false); ENCODE_COMMAND_1( _mainEncoder, DeviceMakeCurrent, @@ -156,8 +156,8 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { { actor->bindDeviceContext(false); }); - _mainEncoder->FinishWriting(true); // wait till finished - _mainEncoder->SetImmediateMode(true); + _mainEncoder->finishWriting(true); // wait till finished + _mainEncoder->setImmediateMode(true); _actor->bindRenderContext(true); } } @@ -247,19 +247,19 @@ PipelineState *DeviceAgent::createPipelineState() { void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { CommandEncoder *encoder = getMainEncoder(); - BufferTextureCopy *actorRegions = encoder->Allocate(count); + BufferTextureCopy *actorRegions = encoder->allocate(count); memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); uint bufferCount = 0u; for (uint i = 0u; i < count; i++) { bufferCount += regions[i].texSubres.layerCount; } - const uint8_t **actorBuffers = encoder->Allocate(bufferCount); + const uint8_t **actorBuffers = encoder->allocate(bufferCount); for (uint i = 0u, n = 0u; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = encoder->Allocate(size); + uint8_t *buffer = encoder->allocate(size); memcpy(buffer, buffers[n], size); actorBuffers[n++] = buffer; } diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 2141692226..7fe5132354 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -42,7 +42,7 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence if (!count) return; CommandEncoder *encoder = ((DeviceAgent *)_device)->getMainEncoder(); - const CommandBuffer **actorCmdBuffs = encoder->Allocate(count); + const CommandBuffer **actorCmdBuffs = encoder->allocate(count); for (uint i = 0u; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } @@ -64,18 +64,18 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence if (multiThreaded) { JobGraph g(JobSystem::getInstance()); uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); }); g.run(job); - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); g.waitForAll(); } else { for (uint i = 0u; i < count; ++i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); } } } else { - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->FlushCommands(); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); } //CC_LOG_INFO("======== one round ========"); //auto endTime = std::chrono::steady_clock::now(); diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 06bd0c747f..352ec366a2 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -37,9 +37,11 @@ public: CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } + // secondary command buffer specific CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } + CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); } From 803ac271e7d855a63e44b81d05efad5ba57175ef Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 21 Dec 2020 16:56:12 +0800 Subject: [PATCH 060/270] format --- .../cocos/base/threading/CommandEncoder.cpp | 18 +++++++-------- native/cocos/base/threading/CommandEncoder.h | 23 ++++++++----------- .../renderer/core/gfx/GFXCommandBuffer.h | 2 +- 3 files changed, 19 insertions(+), 24 deletions(-) diff --git a/native/cocos/base/threading/CommandEncoder.cpp b/native/cocos/base/threading/CommandEncoder.cpp index 17521317ad..360aff36a9 100644 --- a/native/cocos/base/threading/CommandEncoder.cpp +++ b/native/cocos/base/threading/CommandEncoder.cpp @@ -66,7 +66,7 @@ CommandEncoder::CommandEncoder() { mW.mCurrentMemoryChunk = chunk; mR.mCurrentMemoryChunk = chunk; - // 分配一个头节点 不要被Execute + // sentinel node will not be executed Command *const cmd = allocate(1); pushCommands(); pullCommands(); @@ -157,7 +157,7 @@ void CommandEncoder::freeChunksInFreeQueue(CommandEncoder *const mainCommandbuff uint8_t *CommandEncoder::allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept { uint32_t const alignedSize = align(requestSize, 16); - assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // 一个Command直接把整个Chunk填满了 + assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // exceeds the block size uint32_t const newOffset = mW.mOffset + alignedSize; @@ -170,7 +170,7 @@ uint8_t *CommandEncoder::allocateImpl(uint32_t &allocatedSize, uint32_t const re uint8_t *const newChunk = CommandEncoder::MemoryAllocator::getInstance().request(); MemoryChunkSwitchCommand *const switchCommand = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); new (switchCommand) MemoryChunkSwitchCommand(this, newChunk, mW.mCurrentMemoryChunk); - switchCommand->mNext = reinterpret_cast(newChunk); // 注意这里还指向原位置 + switchCommand->mNext = reinterpret_cast(newChunk); // point to start position mW.mLastCommand = switchCommand; ++mW.mPendingCommandCount; mW.mCurrentMemoryChunk = newChunk; @@ -222,14 +222,12 @@ void CommandEncoder::executeCommand() noexcept { } Command *CommandEncoder::readCommand() noexcept { - while (!hasNewCommand()) { - // 如果当前没有可读的Command 尝试同步一下生产者线程的数据 - pullCommands(); + while (!hasNewCommand()) { // if empty + pullCommands(); // try pulling data from consumer - // 如果依然没有 挂起消费者线程 等待生产者线程填充Command并唤醒消费者线程 - if (!hasNewCommand()) { - mN.Wait(); - pullCommands(); + if (!hasNewCommand()) { // still empty + mN.Wait(); // wait for the producer to wake me up + pullCommands(); // pulling again } } diff --git a/native/cocos/base/threading/CommandEncoder.h b/native/cocos/base/threading/CommandEncoder.h index 8220dea294..175b47a10b 100644 --- a/native/cocos/base/threading/CommandEncoder.h +++ b/native/cocos/base/threading/CommandEncoder.h @@ -6,8 +6,7 @@ namespace cc { -// 由于系统的内存分配是从一个全局堆里申请 分配过程会上锁导致降低并行度 在多线程的环境下如果频繁的申请释放内存会降低性能 -// 所以这里先加个接口来统一调用 未来会换成单独服务于线程的无锁分配器 +// TODO: thread-specific allocators template inline T *memoryAllocateForMultiThread(uint32_t const count) noexcept { return static_cast(malloc(sizeof(T) * count)); @@ -59,9 +58,8 @@ struct alignas(64) ReaderContext final { bool mFlushingFinished{false}; }; -// 支持单生产者单消费者的环形缓冲区 -// 生产者线程Allocate 消费者线程execute -// 除了Command之外 执行Command需要的数据也需要拷贝到这里 来实现线程安全的数据访问 +// A single-producer single-consumer circular buffer queue. +// Both the commands and their submitting data should be allocated from here. class alignas(64) CommandEncoder final { public: CommandEncoder(); @@ -71,12 +69,12 @@ public: CommandEncoder &operator=(CommandEncoder const &) = delete; CommandEncoder &operator=(CommandEncoder &&) = delete; - // 分配Command + // command allocation template std::enable_if_t::value, T *> allocate(uint32_t const count) noexcept; - // 分配数据 + // general-purpose allocation template std::enable_if_t::value, T *> allocate(uint32_t const count) noexcept; @@ -85,13 +83,12 @@ public: template T *allocateAndZero(uint32_t const count) noexcept; - // 通知消费者线程开始工作 + // notify the consumer to start working void kick() noexcept; - // 通知消费者线程开始工作并阻塞生产者线程 直到消费者线程执行完所有命令 + // notify the consumer to start working and block the producer until finished void kickAndWait() noexcept; - // 只支持单消费者 void runConsumerThread() noexcept; void terminateConsumerThread() noexcept; void finishWriting(bool wait) noexcept; @@ -135,7 +132,7 @@ private: uint8_t *allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept; void pushCommands() noexcept; - // 在消费者线程执行 + // consumer thread specifics void pullCommands() noexcept; void executeCommand() noexcept; Command *readCommand() noexcept; @@ -147,7 +144,7 @@ private: EventCV mN; bool mImmediateMode{true}; bool mWorkerAttached{false}; - bool mFreeChunksByUser{true}; // 被回收的Chunk会被记录到一个队列里 由用户在生产者线程选择合适的时机来Free + bool mFreeChunksByUser{true}; // recycled chunks will be stashed until explicit free instruction friend class MemoryChunkSwitchCommand; }; @@ -208,7 +205,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { return allocatedMemory; } -// 生产者线程用来向CommandBuffer填充Command的工具宏 +// utility macros for the producer thread to encode commands #define WRITE_COMMAND(CB, CommandName, Params) \ { \ diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 352ec366a2..cafc0bd506 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -37,7 +37,7 @@ public: CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } - // secondary command buffer specific + // secondary command buffer specifics CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } From 6cdc76c13ac3b66d9b18e5d4273ac34348fdd802 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 21 Dec 2020 17:06:11 +0800 Subject: [PATCH 061/270] format --- .../cocos/base/threading/CommandEncoder.cpp | 37 ++++++++++--------- native/cocos/base/threading/CommandEncoder.h | 14 ++++++- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/native/cocos/base/threading/CommandEncoder.cpp b/native/cocos/base/threading/CommandEncoder.cpp index 360aff36a9..a9cc42dc61 100644 --- a/native/cocos/base/threading/CommandEncoder.cpp +++ b/native/cocos/base/threading/CommandEncoder.cpp @@ -113,18 +113,7 @@ void CommandEncoder::terminateConsumerThread() noexcept { ReaderContext *const pR = &mR; - bool immediateMode = mImmediateMode; - mImmediateMode = false; - ENCODE_COMMAND_2( - this, terminateConsumerThread, - pR, pR, - pEvent, pEvent, - { - pR->mTerminateConsumerThread = true; - pR->mFlushingFinished = true; - pEvent->Signal(); - }); - mImmediateMode = immediateMode; + new (allocate(1)) TerminateConsumerThreadCommand(pEvent, pR); kick(); event.Wait(); @@ -250,21 +239,35 @@ char const *DummyCommand::getName() const noexcept { return "Dummy"; } -MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(CommandEncoder *const cb, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept -: mCommandBuffer(cb), mNewChunk(newChunk), mOldChunk(oldChunk) { +MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(CommandEncoder *const encoder, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept +: mCommandEncoder(encoder), mNewChunk(newChunk), mOldChunk(oldChunk) { } MemoryChunkSwitchCommand::~MemoryChunkSwitchCommand() { - mCommandBuffer->recycleMemoryChunk(mOldChunk); + mCommandEncoder->recycleMemoryChunk(mOldChunk); } void MemoryChunkSwitchCommand::execute() noexcept { - mCommandBuffer->mR.mCurrentMemoryChunk = mNewChunk; - mCommandBuffer->pullCommands(); + mCommandEncoder->mR.mCurrentMemoryChunk = mNewChunk; + mCommandEncoder->pullCommands(); } char const *MemoryChunkSwitchCommand::getName() const noexcept { return "MemoryChunkSwitch"; } +TerminateConsumerThreadCommand::TerminateConsumerThreadCommand(EventSem *const pEvent, ReaderContext *const pR) noexcept +: mEvent(pEvent), mR(pR) { +} + +void TerminateConsumerThreadCommand::execute() noexcept { + mR->mTerminateConsumerThread = true; + mR->mFlushingFinished = true; + mEvent->Signal(); +} + +char const *TerminateConsumerThreadCommand::getName() const noexcept { + return "TerminateConsumerThread"; +} + } // namespace cc diff --git a/native/cocos/base/threading/CommandEncoder.h b/native/cocos/base/threading/CommandEncoder.h index 175b47a10b..5457cc2abf 100644 --- a/native/cocos/base/threading/CommandEncoder.h +++ b/native/cocos/base/threading/CommandEncoder.h @@ -164,11 +164,23 @@ public: virtual char const *getName() const noexcept override; private: - CommandEncoder *mCommandBuffer{nullptr}; + CommandEncoder *mCommandEncoder{nullptr}; uint8_t *mNewChunk{nullptr}; uint8_t *mOldChunk{nullptr}; }; +class TerminateConsumerThreadCommand final : public Command { +public: + TerminateConsumerThreadCommand(EventSem *const pEvent, ReaderContext *const pR) noexcept; + + virtual void execute() noexcept override; + virtual char const *getName() const noexcept override; + +private: + EventSem *mEvent{nullptr}; + ReaderContext *mR{nullptr}; +}; + template std::enable_if_t::value, T *> CommandEncoder::allocate(uint32_t const count) noexcept { From b2fd99599c68ef8ab4f944966627923c187ef9f4 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sat, 19 Dec 2020 23:52:11 +0800 Subject: [PATCH 062/270] Use MetalLayer instead of MTKView in gfx-metal --- native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 10 +++++++--- native/cocos/renderer/gfx-metal/MTLDevice.h | 13 +++++++++++++ native/cocos/renderer/gfx-metal/MTLDevice.mm | 1 - 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 95cb0e1651..10cb1b8198 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -161,14 +161,18 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb mtlRenderPassDescriptor.stencilAttachment.clearStencil = stencil; } - _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); - _commandEncoder.setViewport(renderArea); - _commandEncoder.setScissor(renderArea); + _mtlEncoder = [[_mtlCommandBuffer renderCommandEncoderWithDescriptor:mtlRenderPassDescriptor] retain]; + _currentViewport = {renderArea.x, renderArea.y, renderArea.width, renderArea.height}; + _currentScissor = renderArea; + [_mtlEncoder setViewport:mu::toMTLViewport(_currentViewport)]; + [_mtlEncoder setScissorRect:mu::toMTLScissorRect(_currentScissor)]; } void CCMTLCommandBuffer::endRenderPass() { [_mtlEncoder endEncoding]; + [_mtlEncoder release]; + _mtlEncoder = nil; } void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 9a95f8e19d..21b4fa01b2 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -105,6 +105,19 @@ protected: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; virtual void blitBuffer(void *srcBuffer, uint offset, uint size, void *dstBuffer); + CC_INLINE CCMTLStateCache *getStateCache() const { return _stateCache; } + CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } + CC_INLINE void *getMTLLayer() const { return _mtlLayer; } + CC_INLINE void *getMTLDevice() const { return _mtlDevice; } + CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } + CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } + CC_INLINE uint getMaximumBufferBindingIndex() const { return _maxBufferBindingIndex; } + CC_INLINE bool isIndirectCommandBufferSupported() const { return _icbSuppored; } + CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } + CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPool; } + CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } + CC_INLINE void *getDSSTexture() const { return _dssTex; } + private: void onMemoryWarning(); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 12818aaf03..9eb5cacf2d 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -109,7 +109,6 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { textureDescriptor.width = info.width; textureDescriptor.height = info.height; textureDescriptor.storageMode = MTLStorageModePrivate; - textureDescriptor.usage = MTLTextureUsageRenderTarget; _dssTex = [mtlDevice newTextureWithDescriptor:textureDescriptor]; _stencilBits = 8; From 833b46ae321e4f121945aa8673f3d5457d251a01 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sun, 20 Dec 2020 14:36:46 +0800 Subject: [PATCH 063/270] Add usage for dss texture --- native/cocos/renderer/gfx-metal/MTLDevice.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 9eb5cacf2d..12818aaf03 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -109,6 +109,7 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { textureDescriptor.width = info.width; textureDescriptor.height = info.height; textureDescriptor.storageMode = MTLStorageModePrivate; + textureDescriptor.usage = MTLTextureUsageRenderTarget; _dssTex = [mtlDevice newTextureWithDescriptor:textureDescriptor]; _stencilBits = 8; From bd2bb6fa579c5fe66e8a848089cfff193c3a9305 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sun, 20 Dec 2020 22:40:35 +0800 Subject: [PATCH 064/270] Fix staging buffer copy and switch issue --- native/cocos/renderer/gfx-metal/MTLGPUObjects.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index 1cfd30602b..08e4a4b3cc 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -236,22 +236,6 @@ public: } } - void updateInflightBuffer() { - if (_tripleEnabled) { - _inflightIndex = ((_inflightIndex + 1) % MAX_FRAMES_IN_FLIGHT); - - size_t bufferCount = _pool.size(); - Buffer *buffer = nullptr; - for (size_t idx = 0; idx < bufferCount; idx++) { - buffer = &_pool[idx]; - id prevFrameBuffer = buffer->mtlBuffer; - buffer->mtlBuffer = buffer->dynamicDataBuffers[_inflightIndex]; - memcpy((uint8_t *)buffer->mtlBuffer.contents, prevFrameBuffer.contents, buffer->curOffset); - buffer->mappedData = (uint8_t *)buffer->mtlBuffer.contents; - } - } - } - void reset() { for (auto &buffer : _pool) { buffer.curOffset = 0; From 04536308cddd0352e4719d993397f5b4d80aaaeb Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 21 Dec 2020 17:30:20 +0800 Subject: [PATCH 065/270] Fix for iOS UIView adaptation --- native/cocos/renderer/gfx-metal/MTLContext.mm | 7 +++++-- native/cocos/renderer/gfx-metal/MTLDevice.mm | 18 +++++++++++------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLContext.mm b/native/cocos/renderer/gfx-metal/MTLContext.mm index 8d72fe997f..48aa2df28d 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.mm +++ b/native/cocos/renderer/gfx-metal/MTLContext.mm @@ -54,9 +54,12 @@ CCMTLContext::CCMTLContext(Device *device) bool CCMTLContext::initialize(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; - CAMetalLayer *layer = (CAMetalLayer *)((CCMTLDevice *)_device)->getMTLLayer(); + + CCMTLDevice *device = (CCMTLDevice *)_device; + CAMetalLayer *layer = (CAMetalLayer *)device->getMTLLayer(); _colorFmt = toFormat(layer.pixelFormat); - _depthStencilFmt = toFormat(MTLPixelFormatDepth24Unorm_Stencil8); + id dssTex = (id)device->getDSSTexture(); + _depthStencilFmt = toFormat(dssTex.pixelFormat); return true; } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 12818aaf03..b4f608ea31 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -78,7 +78,11 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _inFlightSemaphore = CC_NEW(CCMTLSemaphore(MAX_FRAMES_IN_FLIGHT)); _currentFrameIndex = 0; +#if CC_PLATFORM == CC_PLATFORM_MAC_OSX NSView *view = (NSView *)_windowHandle; +#else + UIView *view = (UIView *)_windowHandle; +#endif CAMetalLayer *layer = static_cast(view.layer); _mtlLayer = layer; id mtlDevice = (id)layer.device; @@ -104,13 +108,13 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { } // Persistent depth stencil texture - MTLTextureDescriptor *textureDescriptor = [[MTLTextureDescriptor alloc] init]; - textureDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); - textureDescriptor.width = info.width; - textureDescriptor.height = info.height; - textureDescriptor.storageMode = MTLStorageModePrivate; - textureDescriptor.usage = MTLTextureUsageRenderTarget; - _dssTex = [mtlDevice newTextureWithDescriptor:textureDescriptor]; + MTLTextureDescriptor *dssDescriptor = [[MTLTextureDescriptor alloc] init]; + dssDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); + dssDescriptor.width = info.width; + dssDescriptor.height = info.height; + dssDescriptor.storageMode = MTLStorageModePrivate; + dssDescriptor.usage = MTLTextureUsageRenderTarget; + _dssTex = [mtlDevice newTextureWithDescriptor:dssDescriptor]; _stencilBits = 8; ContextInfo contextCreateInfo; From 20476dff1dd5cb11a9b1c3eb995c276f49700f82 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 21 Dec 2020 18:36:30 +0800 Subject: [PATCH 066/270] better timing --- .../cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp | 11 ++++++++--- native/cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 7fe5132354..4e1d6f3618 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -59,7 +59,7 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence count, count, fence, fence, { - //auto startTime = std::chrono::steady_clock::now(); + auto startTime = std::chrono::steady_clock::now(); if (count > 1) { if (multiThreaded) { JobGraph g(JobSystem::getInstance()); @@ -78,8 +78,13 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); } //CC_LOG_INFO("======== one round ========"); - //auto endTime = std::chrono::steady_clock::now(); - //CC_LOG_INFO("---------- %.2fms", std::chrono::duration_cast(endTime - startTime).count() / 1e6); + + auto endTime = std::chrono::steady_clock::now(); + float dt = std::chrono::duration_cast(endTime - startTime).count() / 1e6; + static float timeAcc = 0.f; + if (!timeAcc) timeAcc = dt; + else timeAcc = timeAcc * 0.95f + dt * 0.05f; + CC_LOG_INFO("---------- %.2fms", timeAcc); actor->submit(actorCmdBuffs, count, fence); }); diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index cbe9ce352f..b3b44ab419 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 0 +#define FORCE_DISABLE_VALIDATION 1 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, From c1d53641956028b3c51cf2805dee4a0e8ad44520 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 10:31:31 +0800 Subject: [PATCH 067/270] Fix merge issue on metal --- native/cocos/renderer/gfx-metal/MTLBuffer.h | 2 - native/cocos/renderer/gfx-metal/MTLBuffer.mm | 60 +++++++++---------- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 14 +++++ 5 files changed, 46 insertions(+), 34 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index d244b5a00e..0e2219256b 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -44,8 +44,6 @@ public: virtual void resize(uint size) override; virtual void update(void *buffer, uint offset) override; - void encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages); - CC_INLINE id getMTLBuffer() const { return _mtlBuffer; } CC_INLINE MTLIndexType getIndexType() const { return _indexType; } CC_INLINE bool isDrawIndirectByIndex() const { return _isDrawIndirectByIndex; } diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index d01fcc26ae..ae90ac07f3 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -189,39 +189,39 @@ void CCMTLBuffer::update(void *buffer, uint size) { memcpy(_buffer, buffer, size); if (_usage & BufferUsageBit::INDIRECT) { - if (_isIndirectDrawSupported) { - uint drawInfoCount = size / _stride; - const DrawInfo *drawInfo = static_cast(buffer); + auto drawInfoCount = size / _stride; + for (int i = 0; i < drawInfoCount; ++i) { + memcpy(&_drawInfos[i], static_cast(buffer) + i * _stride, _stride); + } - if (drawInfoCount > 0) { - if (drawInfo->indexCount) { - _isDrawIndirectByIndex = true; - uint stride = sizeof(MTLDrawIndexedPrimitivesIndirectArguments); + if (!_indirectDrawSupported) { + return; + } - for (uint i = 0; i < drawInfoCount; ++i) { - auto &arguments = _indexedPrimitivesIndirectArguments[i]; - arguments.indexCount = drawInfo->indexCount; - arguments.instanceCount = std::max(drawInfo->instanceCount, 1u); - arguments.indexStart = drawInfo->firstIndex; - arguments.baseVertex = drawInfo->firstVertex; - arguments.baseInstance = drawInfo->firstInstance; - ++drawInfo; - } - updateMTLBuffer(_indexedPrimitivesIndirectArguments.data(), 0, drawInfoCount * stride); - } else { - _isDrawIndirectByIndex = false; - uint stride = sizeof(MTLDrawIndexedPrimitivesIndirectArguments); - - for (uint i = 0; i < drawInfoCount; ++i) { - auto &arguments = _primitiveIndirectArguments[i]; - arguments.vertexCount = drawInfo->vertexCount; - arguments.instanceCount = std::max(drawInfo->instanceCount, 1u); - arguments.vertexStart = drawInfo->firstVertex; - arguments.baseInstance = drawInfo->firstInstance; - ++drawInfo; - } - updateMTLBuffer(_primitiveIndirectArguments.data(), 0, drawInfoCount * stride); + if (drawInfoCount > 0) { + if (_drawInfos[0].indexCount) { + vector arguments(drawInfoCount); + int i = 0; + for (auto &argument : arguments) { + const auto &drawInfo = _drawInfos[i++]; + argument.indexCount = drawInfo.indexCount; + argument.instanceCount = drawInfo.instanceCount == 0 ? 1 : drawInfo.instanceCount; + argument.indexStart = drawInfo.firstIndex; + argument.baseVertex = drawInfo.firstVertex; + argument.baseInstance = drawInfo.firstInstance; } + memcpy(static_cast(_mtlBuffer.contents), arguments.data(), drawInfoCount * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)); + } else if (_drawInfos[0].vertexCount) { + vector arguments(drawInfoCount); + int i = 0; + for (auto &argument : arguments) { + const auto &drawInfo = _drawInfos[i++]; + argument.vertexCount = drawInfo.vertexCount; + argument.instanceCount = drawInfo.instanceCount == 0 ? 1 : drawInfo.instanceCount; + argument.vertexStart = drawInfo.firstVertex; + argument.baseInstance = drawInfo.firstInstance; + } + memcpy(static_cast(_mtlBuffer.contents), arguments.data(), drawInfoCount * sizeof(MTLDrawPrimitivesIndirectArguments)); } } else { memcpy(_drawInfos.data(), buffer, size); diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 36ef8f1a55..4a0db8139c 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -71,11 +71,11 @@ public: CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } + id getCurrentDrawable(); private: void bindDescriptorSets(); bool isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass); - id getCurrentDrawable(); CCMTLGPUPipelineState *_gpuPipelineState = nullptr; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 10cb1b8198..0de36419f8 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -452,7 +452,7 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) } } -void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size, uint offset) +void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { if (!buff) { diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index b4f608ea31..a50a24b69f 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -218,6 +218,20 @@ void CCMTLDevice::present() { _numDrawCalls = queue->_numDrawCalls; _numInstances = queue->_numInstances; _numTriangles = queue->_numTriangles; + + //hold this pointer before update _currentFrameIndex + CCMTLGPUStagingBufferPool *bufferPool = _gpuStagingBufferPools[_currentFrameIndex]; + _currentFrameIndex = (_currentFrameIndex + 1) % MAX_FRAMES_IN_FLIGHT; + + auto cmdBuff = static_cast(_cmdBuff); + auto mtlCommandBuffer = cmdBuff->getMTLCommandBuffer(); + [mtlCommandBuffer presentDrawable:cmdBuff->getCurrentDrawable()]; + [mtlCommandBuffer addCompletedHandler:^(id commandBuffer) { + [commandBuffer release]; + bufferPool->reset(); + _inFlightSemaphore->signal(); + }]; + [mtlCommandBuffer commit]; } Fence *CCMTLDevice::createFence() { From 3d491dc7a9d69dcd2d4b39784a3f18869cfbb260 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 13:30:07 +0800 Subject: [PATCH 068/270] Format --- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 145 +++++++----- .../renderer/gfx-metal/MTLCommandBuffer.mm | 209 ++++++++---------- 2 files changed, 180 insertions(+), 174 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index ae90ac07f3..0b4830f49b 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -34,20 +34,24 @@ THE SOFTWARE. namespace cc { namespace gfx { -CCMTLBuffer::CCMTLBuffer(Device *device) : Buffer(device) { +CCMTLBuffer::CCMTLBuffer(Device *device) : Buffer(device) +{ _mtlDevice = id(((CCMTLDevice *)_device)->getMTLDevice()); } -bool CCMTLBuffer::initialize(const BufferInfo &info) { +bool CCMTLBuffer::initialize(const BufferInfo &info) +{ _usage = info.usage; _memUsage = info.memUsage; _size = info.size; _stride = std::max(info.stride, 1U); _count = _size / _stride; _flags = info.flags; - _isIndirectDrawSupported = static_cast(_device)->isIndirectDrawSupported(); - if (_usage & BufferUsage::INDEX) { - switch (_stride) { + _indirectDrawSupported = static_cast(_device)->isIndirectDrawSupported(); + if (_usage & BufferUsage::INDEX) + { + switch (_stride) + { case 4: _indexType = MTLIndexTypeUInt32; break; case 2: _indexType = MTLIndexTypeUInt16; break; default: @@ -56,11 +60,15 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) { } } - if ((_flags & BufferFlagBit::BAKUP_BUFFER) && _size > 0) { + if ((_flags & BufferFlagBit::BAKUP_BUFFER) && _size > 0) + { _buffer = (uint8_t *)CC_MALLOC(_size); if (_buffer) + { _device->getMemoryStatus().bufferSize += _size; - else { + } + else + { CC_LOG_ERROR("CCMTLBuffer: Failed to create backup buffer."); return false; } @@ -68,10 +76,15 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) { if (_usage & BufferUsageBit::VERTEX || _usage & BufferUsageBit::UNIFORM || - _usage & BufferUsageBit::INDEX) { + _usage & BufferUsageBit::INDEX) + { createMTLBuffer(_size, _memUsage); - } else if (_usage & BufferUsageBit::INDIRECT) { - if (_isIndirectDrawSupported) { + } + else if (_usage & BufferUsageBit::INDIRECT) + { + _drawInfos.resize(_count); + if (_indirectDrawSupported) + { createMTLBuffer(_size, _memUsage); _primitiveIndirectArguments.resize(_count); _indexedPrimitivesIndirectArguments.resize(_count); @@ -83,21 +96,25 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) { return true; } -bool CCMTLBuffer::initialize(const BufferViewInfo &info) { +bool CCMTLBuffer::initialize(const BufferViewInfo &info) +{ *this = *static_cast(info.buffer); _bufferViewOffset = info.offset; _isBufferView = true; return true; } -bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) { +bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) +{ _mtlResourceOptions = mu::toMTLResourseOption(usage); - if (_mtlBuffer) { + if (_mtlBuffer) + { [_mtlBuffer release]; } _mtlBuffer = [_mtlDevice newBufferWithLength:size options:_mtlResourceOptions]; - if (_mtlBuffer == nil) { + if (_mtlBuffer == nil) + { CCASSERT(false, "Failed to create MTLBuffer."); return false; } @@ -107,17 +124,21 @@ bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) { return true; } -void CCMTLBuffer::destroy() { - if (_isBufferView) { +void CCMTLBuffer::destroy() +{ + if (_isBufferView) + { return; } - if (_mtlBuffer) { + if (_mtlBuffer) + { [_mtlBuffer release]; _mtlBuffer = nil; } - if (_buffer) { + if (_buffer) + { CC_FREE(_buffer); _device->getMemoryStatus().bufferSize -= _size; _buffer = nullptr; @@ -129,8 +150,10 @@ void CCMTLBuffer::destroy() { _device->getMemoryStatus().bufferSize -= _size; } -void CCMTLBuffer::resize(uint size) { - if (_isBufferView) { +void CCMTLBuffer::resize(uint size) +{ + if (_isBufferView) + { CC_LOG_WARNING("Cannot resize a buffer view."); return; } @@ -140,7 +163,8 @@ void CCMTLBuffer::resize(uint size) { if (_usage & BufferUsageBit::VERTEX || _usage & BufferUsageBit::INDEX || - _usage & BufferUsageBit::UNIFORM) { + _usage & BufferUsageBit::UNIFORM) + { createMTLBuffer(size, _memUsage); } @@ -148,8 +172,11 @@ void CCMTLBuffer::resize(uint size) { _size = size; _count = _size / _stride; resizeBuffer(&_buffer, _size, oldSize); - if (_usage & BufferUsageBit::INDIRECT) { - if (_isIndirectDrawSupported) { + if (_usage & BufferUsageBit::INDIRECT) + { + _drawInfos.resize(_count); + if (_indirectDrawSupported) + { createMTLBuffer(size, _memUsage); _primitiveIndirectArguments.resize(_count); _indexedPrimitivesIndirectArguments.resize(_count); @@ -166,11 +193,14 @@ void CCMTLBuffer::resizeBuffer(uint8_t **buffer, uint size, uint oldSize) { MemoryStatus &status = _device->getMemoryStatus(); const uint8_t *oldBuffer = *buffer; uint8_t *temp = (uint8_t *)CC_MALLOC(size); - if (temp) { + if (temp) + { memcpy(temp, oldBuffer, std::min(oldSize, size)); *buffer = temp; status.bufferSize += size; - } else { + } + else + { CC_LOG_ERROR("Failed to resize buffer."); return; } @@ -179,8 +209,10 @@ void CCMTLBuffer::resizeBuffer(uint8_t **buffer, uint size, uint oldSize) { status.bufferSize -= oldSize; } -void CCMTLBuffer::update(void *buffer, uint size) { - if (_isBufferView) { +void CCMTLBuffer::update(void *buffer, uint size) +{ + if (_isBufferView) + { CC_LOG_WARNING("Cannot update a buffer view."); return; } @@ -188,21 +220,27 @@ void CCMTLBuffer::update(void *buffer, uint size) { if (_buffer) memcpy(_buffer, buffer, size); - if (_usage & BufferUsageBit::INDIRECT) { + if (_usage & BufferUsageBit::INDIRECT) + { auto drawInfoCount = size / _stride; - for (int i = 0; i < drawInfoCount; ++i) { + for (uint i = 0; i < drawInfoCount; ++i) + { memcpy(&_drawInfos[i], static_cast(buffer) + i * _stride, _stride); } - if (!_indirectDrawSupported) { + if (!_indirectDrawSupported) + { return; } - if (drawInfoCount > 0) { - if (_drawInfos[0].indexCount) { + if (drawInfoCount > 0) + { + if (_drawInfos[0].indexCount) + { vector arguments(drawInfoCount); int i = 0; - for (auto &argument : arguments) { + for (auto &argument : arguments) + { const auto &drawInfo = _drawInfos[i++]; argument.indexCount = drawInfo.indexCount; argument.instanceCount = drawInfo.instanceCount == 0 ? 1 : drawInfo.instanceCount; @@ -211,10 +249,13 @@ void CCMTLBuffer::update(void *buffer, uint size) { argument.baseInstance = drawInfo.firstInstance; } memcpy(static_cast(_mtlBuffer.contents), arguments.data(), drawInfoCount * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)); - } else if (_drawInfos[0].vertexCount) { + } + else if (_drawInfos[0].vertexCount) + { vector arguments(drawInfoCount); int i = 0; - for (auto &argument : arguments) { + for (auto &argument : arguments) + { const auto &drawInfo = _drawInfos[i++]; argument.vertexCount = drawInfo.vertexCount; argument.instanceCount = drawInfo.instanceCount == 0 ? 1 : drawInfo.instanceCount; @@ -231,8 +272,8 @@ void CCMTLBuffer::update(void *buffer, uint size) { } } -void CCMTLBuffer::updateMTLBuffer(void *buffer, uint offset, uint size) { - if (_mtlBuffer) { + if (_mtlBuffer) + { CommandBuffer *cmdBuffer = _device->getCommandBuffer(); cmdBuffer->begin(); static_cast(cmdBuffer)->updateBuffer(this, buffer, size); @@ -243,33 +284,21 @@ void CCMTLBuffer::updateMTLBuffer(void *buffer, uint offset, uint size) { } } -void CCMTLBuffer::encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages) { - if (_isBufferView) { +void CCMTLBuffer::encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages) +{ + if (_isBufferView) + { offset += _bufferViewOffset; } - if (stages & ShaderStageFlagBit::VERTEX) { + if (stages & ShaderStageFlagBit::VERTEX) + { encoder.setVertexBuffer(_mtlBuffer, offset, binding); } - if (stages & ShaderStageFlagBit::FRAGMENT) { - [encoder setFragmentBuffer:_mtlBuffer - offset:offset - atIndex:binding]; - } -} - -void CCMTLBuffer::begin() { - _inflightDirty = true; -} - -void CCMTLBuffer::updateInflightBuffer(uint offset, uint size) { - if (_tripleEnabled && _mtlResourceOptions != MTLResourceStorageModePrivate && _inflightDirty) { - _inflightIndex = ((_inflightIndex + 1) % MAX_INFLIGHT_BUFFER); - id prevFrameBuffer = _mtlBuffer; - _mtlBuffer = _dynamicDataBuffers[_inflightIndex]; - memcpy((uint8_t *)_mtlBuffer.contents, prevFrameBuffer.contents, offset + size); - _inflightDirty = false; + if (stages & ShaderStageFlagBit::FRAGMENT) + { + encoder.setFragmentBuffer(_mtlBuffer, offset, binding); } } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 0de36419f8..dfacc24c18 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -54,8 +54,6 @@ CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) _indirectDrawSuppotred = _mtlDevice->isIndirectDrawSupported(); } -CCMTLCommandBuffer::~CCMTLCommandBuffer() { destroy(); } - bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) { _type = info.type; @@ -77,6 +75,17 @@ id CCMTLCommandBuffer::getCurrentDrawable() return _currDrawable; } +bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) +{ + const int num = renderPass->getColorRenderTargetNums(); + if (num == 0) + { + return true; + } + const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; + return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; +} + void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; @@ -91,7 +100,8 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _numInstances = 0; _GPUDescriptorSets.assign(_GPUDescriptorSets.size(), nullptr); - for (auto &dynamicOffset : _dynamicOffsets) { + for (auto &dynamicOffset : _dynamicOffsets) + { dynamicOffset.clear(); } _firstDirtyDescriptorSet = UINT_MAX; @@ -120,17 +130,6 @@ void CCMTLCommandBuffer::end() } } -bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) -{ - const int num = renderPass->getColorRenderTargetNums(); - if (num == 0) - { - return true; - } - const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; - return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; -} - void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { auto isOffscreen = static_cast(fbo)->isOffscreen(); @@ -170,9 +169,7 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb void CCMTLCommandBuffer::endRenderPass() { - [_mtlEncoder endEncoding]; - [_mtlEncoder release]; - _mtlEncoder = nil; + _commandEncoder.endEncoding(); } void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) @@ -191,22 +188,23 @@ void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) if (_gpuPipelineState->mtlDepthStencilState) { - [_mtlEncoder setStencilFrontReferenceValue:_gpuPipelineState->stencilRefFront - backReferenceValue:_gpuPipelineState->stencilRefBack]; - [_mtlEncoder setDepthStencilState:_gpuPipelineState->mtlDepthStencilState]; + _commandEncoder.setStencilFrontBackReferenceValue(_gpuPipelineState->stencilRefFront, _gpuPipelineState->stencilRefBack); + _commandEncoder.setDepthStencilState(_gpuPipelineState->mtlDepthStencilState); } } void CCMTLCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { CCASSERT(set < _GPUDescriptorSets.size(), "Invalid set index"); - if (dynamicOffsetCount) { + if (dynamicOffsetCount) + { _dynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } auto gpuDescriptorSet = static_cast(descriptorSet)->gpuDescriptorSet(); - if (_GPUDescriptorSets[set] != gpuDescriptorSet) { + if (_GPUDescriptorSets[set] != gpuDescriptorSet) + { _GPUDescriptorSets[set] = gpuDescriptorSet; if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } @@ -234,20 +232,12 @@ void CCMTLCommandBuffer::bindInputAssembler(InputAssembler *ia) void CCMTLCommandBuffer::setViewport(const Viewport &vp) { - if (_currentViewport == vp) - return; - - _currentViewport = vp; - [_mtlEncoder setViewport:mu::toMTLViewport(_currentViewport)]; + _commandEncoder.setViewport(vp); } void CCMTLCommandBuffer::setScissor(const Rect &rect) { - if (_currentScissor == rect) - return; - - _currentScissor = rect; - [_mtlEncoder setScissorRect:mu::toMTLScissorRect(_currentScissor)]; + _commandEncoder.setScissor(rect); } void CCMTLCommandBuffer::setLineWidth(const float width) @@ -257,35 +247,12 @@ void CCMTLCommandBuffer::setLineWidth(const float width) void CCMTLCommandBuffer::setDepthBias(float constant, float clamp, float slope) { - if (math::IsNotEqualF(constant, _depthBias.depthBias) || - math::IsNotEqualF(clamp, _depthBias.clamp) || - math::IsNotEqualF(slope, _depthBias.slopeScale)) - { - _depthBias.depthBias = constant; - _depthBias.slopeScale = slope; - _depthBias.clamp = clamp; - [_mtlEncoder setDepthBias:_depthBias.depthBias - slopeScale:_depthBias.slopeScale - clamp:_depthBias.clamp]; - } + _commandEncoder.setDepthBias(constant, clamp, slope); } void CCMTLCommandBuffer::setBlendConstants(const Color &constants) { - if (math::IsNotEqualF(constants.x, _blendConstants.x) || - math::IsNotEqualF(constants.y, _blendConstants.y) || - math::IsNotEqualF(constants.z, _blendConstants.z) || - math::IsNotEqualF(constants.w, _blendConstants.w)) - { - _blendConstants.x = constants.x; - _blendConstants.y = constants.y; - _blendConstants.z = constants.z; - _blendConstants.w = constants.w; - [_mtlEncoder setBlendColorRed:_blendConstants.x - green:_blendConstants.y - blue:_blendConstants.z - alpha:_blendConstants.w]; - } + _commandEncoder.setBlendColor(constants); } void CCMTLCommandBuffer::setDepthBound(float minBounds, float maxBounds) @@ -310,72 +277,79 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) bindDescriptorSets(); } - const auto indirectBuffer = ia->getIndirectBuffer(); + const auto indirectBuffer = static_cast(ia->getIndirectBuffer()); + const auto indexBuffer = static_cast(ia->getIndexBuffer()); + auto mtlEncoder = _commandEncoder.getMTLEncoder(); if (_type == CommandBufferType::PRIMARY) { if (indirectBuffer) { - const auto count = indirectBuffer->getCount(); - const auto &indirectInfos = static_cast(indirectBuffer)->getDrawInfos(); + uint count = indirectBuffer->getCount(); + const auto &drawInfos = indirectBuffer->getDrawInfos(); _numDrawCalls += count; - for (size_t j = 0; j < count; j++) + for (uint i = 0; i < count; ++i) { + const auto &drawInfo = drawInfos[i]; + if (_indirectDrawSuppotred) { - if (_gpuIndexBuffer.mtlBuffer) + if (indexBuffer) { - [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexType:_indexType - indexBuffer:_gpuIndexBuffer.mtlBuffer - indexBufferOffset:j * _gpuIndexBuffer.stride - indirectBuffer:static_cast(indirectBuffer)->getMTLBuffer() - indirectBufferOffset:j * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)]; - } else + if (drawInfo.indexCount) + { + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexType:_indexType + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:i * indirectBuffer->getStride() + indirectBuffer:indirectBuffer->getMTLBuffer() + indirectBufferOffset:i * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)]; + } + } + else if (drawInfo.vertexCount) { - [_mtlEncoder drawPrimitives:_mtlPrimitiveType - indirectBuffer:static_cast(indirectBuffer)->getMTLBuffer() - indirectBufferOffset:j * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)]; + [mtlEncoder drawPrimitives:_mtlPrimitiveType + indirectBuffer:indirectBuffer->getMTLBuffer() + indirectBufferOffset:i * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)]; } } else { - const auto &drawInfo = indirectInfos[j]; NSUInteger offset = 0; - offset += drawInfo.firstIndex * _gpuIndexBuffer.stride; + offset += drawInfo.firstIndex * indirectBuffer->getStride(); if (drawInfo.indexCount) { if (drawInfo.instanceCount == 0) { - [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:_indexType - indexBuffer:_gpuIndexBuffer.mtlBuffer - indexBufferOffset:offset]; + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:_indexType + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:offset]; } else { - [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:_indexType - indexBuffer:_gpuIndexBuffer.mtlBuffer - indexBufferOffset:offset - instanceCount:drawInfo.instanceCount]; + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:_indexType + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:offset + instanceCount:drawInfo.instanceCount]; } } - else + else if (drawInfo.vertexCount) { if (drawInfo.instanceCount == 0) { - [_mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount]; + [mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount]; } else { - [_mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount - instanceCount:drawInfo.instanceCount]; + [mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount + instanceCount:drawInfo.instanceCount]; } } } @@ -388,39 +362,39 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) if (drawInfo.indexCount > 0) { NSUInteger offset = 0; - offset += drawInfo.firstIndex * _gpuIndexBuffer.stride; + offset += drawInfo.firstIndex * indexBuffer->getStride(); if (drawInfo.instanceCount == 0) { - [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:_indexType - indexBuffer:_gpuIndexBuffer.mtlBuffer - indexBufferOffset:offset]; + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:_indexType + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:offset]; } else { - [_mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:_indexType - indexBuffer:_gpuIndexBuffer.mtlBuffer - indexBufferOffset:offset - instanceCount:drawInfo.instanceCount]; + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:_indexType + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:offset + instanceCount:drawInfo.instanceCount]; } } - else + else if (drawInfo.vertexCount) { if (drawInfo.instanceCount == 0) { - [_mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount]; + [mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount]; } else { - [_mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount - instanceCount:drawInfo.instanceCount]; + [mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount + instanceCount:drawInfo.instanceCount]; } } _numInstances += drawInfo.instanceCount; @@ -500,10 +474,12 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex stagingRegion.sourceSize = {w, h, region.texExtent.depth}; stagingRegion.destinationSlice = region.texSubres.baseArrayLayer; stagingRegion.destinationLevel = region.texSubres.mipLevel; - stagingRegion.destinationOrigin = { + stagingRegion.destinationOrigin = + { static_cast(region.texOffset.x), static_cast(region.texOffset.y), - static_cast(region.texOffset.z)}; + static_cast(region.texOffset.z) + }; totalSize += stagingRegion.sourceBytesPerImage; } @@ -527,7 +503,8 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex bytesPerImage:bytesPerImage]; offset += stagingRegion.sourceBytesPerImage; - if (convertedData != buffers[i]) { + if (convertedData != buffers[i]) + { CC_FREE(convertedData); } } From 44dc41c141142b05f18f511f5dd8d2cd834a5cf4 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 13:49:19 +0800 Subject: [PATCH 069/270] format --- .../renderer/gfx-metal/MTLCommandBuffer.mm | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index dfacc24c18..b8acab7d35 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -160,11 +160,11 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb mtlRenderPassDescriptor.stencilAttachment.clearStencil = stencil; } - _mtlEncoder = [[_mtlCommandBuffer renderCommandEncoderWithDescriptor:mtlRenderPassDescriptor] retain]; - _currentViewport = {renderArea.x, renderArea.y, renderArea.width, renderArea.height}; - _currentScissor = renderArea; - [_mtlEncoder setViewport:mu::toMTLViewport(_currentViewport)]; - [_mtlEncoder setScissorRect:mu::toMTLScissorRect(_currentScissor)]; + // Request parallel encoder for primary command buffer + + _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); + _commandEncoder.setViewport(renderArea); + _commandEncoder.setScissor(renderArea); } void CCMTLCommandBuffer::endRenderPass() @@ -172,6 +172,19 @@ void CCMTLCommandBuffer::endRenderPass() _commandEncoder.endEncoding(); } +void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) +{ + // Create command encoders from parallel encoder and assign to command buffers + + for (uint i = 0; i < count; ++i) + { + auto commandBuffer = static_cast(commandBuffs[i]); + _numDrawCalls += commandBuffer->_numDrawCalls; + _numInstances += commandBuffer->_numInstances; + _numTriangles += commandBuffer->_numTriangles; + } +} + void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) { _gpuPipelineState = static_cast(pso)->getGPUPipelineState(); @@ -515,17 +528,6 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex [encoder endEncoding]; } -void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) -{ - for (uint i = 0; i < count; ++i) - { - auto commandBuffer = static_cast(commandBuffs[i]); - _numDrawCalls += commandBuffer->_numDrawCalls; - _numInstances += commandBuffer->_numInstances; - _numTriangles += commandBuffer->_numTriangles; - } -} - void CCMTLCommandBuffer::bindDescriptorSets() { auto &vertexBuffers = _inputAssembler->getVertexBuffers(); From 9c57988d664314c7b76bc8dba4fb0f37fe31fbc5 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 15:39:04 +0800 Subject: [PATCH 070/270] format --- .../gfx-metal/MTLRenderCommandEncoder.h | 90 ++++++++++++------- 1 file changed, 56 insertions(+), 34 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index 7c90ae3c15..1919fea5ef 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -37,13 +37,15 @@ namespace gfx { struct Color; -class CCMTLRenderCommandEncoder final { - struct BufferBinding final { +class CCMTLRenderCommandEncoder final +{ +public: + struct BufferBinding final + { id buffer; uint offset = 0; }; -public: CCMTLRenderCommandEncoder() = default; ~CCMTLRenderCommandEncoder() = default; CCMTLRenderCommandEncoder(const CCMTLRenderCommandEncoder &) = delete; @@ -51,7 +53,8 @@ public: CCMTLRenderCommandEncoder &operator=(const CCMTLRenderCommandEncoder &) = delete; CCMTLRenderCommandEncoder &operator=(CCMTLRenderCommandEncoder &&) = delete; - CC_INLINE void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) { + CC_INLINE void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) + { _mtlEncoder = [commandBuffer renderCommandEncoderWithDescriptor:descriptor]; [_mtlEncoder retain]; @@ -78,12 +81,14 @@ public: _fragmentSamplerMap.clear(); } - CC_INLINE void setViewport(const Rect &rect) { + CC_INLINE void setViewport(const Rect &rect) + { Viewport viewport = {rect.x, rect.y, rect.width, rect.height}; setViewport(viewport); } - CC_INLINE void setViewport(const Viewport &vp) { + CC_INLINE void setViewport(const Viewport &vp) + { if (_isViewportSet && _viewport == vp) return; @@ -92,7 +97,8 @@ public: [_mtlEncoder setViewport:mu::toMTLViewport(_viewport)]; } - CC_INLINE void setScissor(const Rect &rect) { + CC_INLINE void setScissor(const Rect &rect) + { if (_isScissorRectSet && _scissorRect == rect) return; @@ -101,7 +107,8 @@ public: [_mtlEncoder setScissorRect:mu::toMTLScissorRect(_scissorRect)]; } - CC_INLINE void setCullMode(MTLCullMode mode) { + CC_INLINE void setCullMode(MTLCullMode mode) + { if (_isCullModeSet && (_cullMode == mode)) return; @@ -110,7 +117,8 @@ public: [_mtlEncoder setCullMode:mode]; } - CC_INLINE void setFrontFacingWinding(MTLWinding winding) { + CC_INLINE void setFrontFacingWinding(MTLWinding winding) + { if (_isFrontFacingWinding && (_frontFacingWinding == winding)) return; @@ -119,9 +127,11 @@ public: [_mtlEncoder setFrontFacingWinding:_frontFacingWinding]; } - CC_INLINE void setDepthClipMode(MTLDepthClipMode mode) { + CC_INLINE void setDepthClipMode(MTLDepthClipMode mode) + { #ifndef TARGET_OS_SIMULATOR - if (@available(iOS 11.0, macOS 10.11)) { + if (@available(iOS 11.0, macOS 10.11)) + { if (_isDepthClipModeSet && (_depthClipMode == mode)) return; @@ -132,7 +142,8 @@ public: #endif } - CC_INLINE void setTriangleFillMode(MTLTriangleFillMode mode) { + CC_INLINE void setTriangleFillMode(MTLTriangleFillMode mode) + { if (_isTriangleFillModeSet && (_triangleFillMode == mode)) return; @@ -141,7 +152,8 @@ public: [_mtlEncoder setTriangleFillMode:_triangleFillMode]; } - CC_INLINE void setRenderPipelineState(id pipelineState) { + CC_INLINE void setRenderPipelineState(id pipelineState) + { if (_pipelineState == pipelineState) return; @@ -149,7 +161,8 @@ public: _pipelineState = pipelineState; } - CC_INLINE void setStencilFrontBackReferenceValue(uint frontReferenceValue, uint backReferenceValue) { + CC_INLINE void setStencilFrontBackReferenceValue(uint frontReferenceValue, uint backReferenceValue) + { if (_frontReferenceValue == frontReferenceValue && _backReferenceValue == backReferenceValue) return; @@ -159,7 +172,8 @@ public: backReferenceValue:_backReferenceValue]; } - CC_INLINE void setDepthStencilState(id depthStencilState) { + CC_INLINE void setDepthStencilState(id depthStencilState) + { if (_depthStencilState == depthStencilState) return; @@ -167,11 +181,13 @@ public: _depthStencilState = depthStencilState; } - CC_INLINE void setDepthBias(float depthBias, float clamp, float slope) { + CC_INLINE void setDepthBias(float depthBias, float clamp, float slope) + { if (_isDepthBiasSet && math::IsEqualF(_depthBias, depthBias) && math::IsEqualF(_clamp, clamp) && - math::IsEqualF(_slope, slope)) { + math::IsEqualF(_slope, slope)) + { return; } @@ -184,7 +200,8 @@ public: clamp:_clamp]; } - CC_INLINE void setBlendColor(const Color &color) { + CC_INLINE void setBlendColor(const Color &color) + { if (_isBlendColorSet && _blendColor == color) return; @@ -196,13 +213,10 @@ public: alpha:_blendColor.w]; } - CC_INLINE void setVertexBuffer(const id buffer, uint offset, uint index) { - if (_vertexBufferMap.count(index) > 0) { - const auto &bufferBinding = _vertexBufferMap[index]; - if (buffer == bufferBinding.buffer && offset == bufferBinding.offset) { - return; - } - } + CC_INLINE void setVertexBuffer(const id buffer, uint offset, uint index) + { + if (_vertexBufferMap.count(index) > 0 && (buffer == _vertexBufferMap[index])) + return; _vertexBufferMap[index] = {buffer, offset}; [_mtlEncoder setVertexBuffer:buffer @@ -210,8 +224,10 @@ public: atIndex:index]; } - CC_INLINE void setFragmentBuffer(const id buffer, uint offset, uint index) { - if (_fragmentBufferMap.count(index) > 0) { + CC_INLINE void setFragmentBuffer(const id buffer, uint offset, uint index) + { + if (_fragmentBufferMap.count(index) > 0) + { const auto &bufferBinding = _fragmentBufferMap[index]; if (buffer == bufferBinding.buffer && offset == bufferBinding.offset) { return; @@ -224,7 +240,8 @@ public: atIndex:index]; } - void setVertexTexture(const id texture, uint index) { + void setVertexTexture(const id texture, uint index) + { if (_vertexTextureMap.count(index) > 0 && (texture == _vertexTextureMap[index])) return; @@ -232,7 +249,8 @@ public: [_mtlEncoder setVertexTexture:texture atIndex:index]; } - void setFragmentTexture(const id texture, uint index) { + void setFragmentTexture(const id texture, uint index) + { if (_fragmentTextureMap.count(index) > 0 && (texture == _fragmentTextureMap[index])) return; @@ -240,7 +258,8 @@ public: [_mtlEncoder setFragmentTexture:texture atIndex:index]; } - void setVertexSampler(const id sampler, uint index) { + void setVertexSampler(const id sampler, uint index) + { if (_vertexSamplerMap.count(index) > 0 && (sampler == _vertexSamplerMap[index])) return; @@ -248,7 +267,8 @@ public: [_mtlEncoder setVertexSamplerState:sampler atIndex:index]; } - void setFragmentSampler(const id sampler, uint index) { + void setFragmentSampler(const id sampler, uint index) + { if (_fragmentSamplerMap.count(index) > 0 && (sampler == _fragmentSamplerMap[index])) return; @@ -256,13 +276,15 @@ public: [_mtlEncoder setFragmentSamplerState:sampler atIndex:index]; } - CC_INLINE void endEncoding() { + CC_INLINE void endEncoding() + { [_mtlEncoder endEncoding]; [_mtlEncoder release]; _mtlEncoder = nil; } - CC_INLINE id const getMTLEncoder() { + CC_INLINE id const getMTLEncoder() + { return _mtlEncoder; } @@ -285,7 +307,7 @@ private: float _slope = 0.f; MTLCullMode _cullMode = MTLCullModeNone; MTLWinding _frontFacingWinding = MTLWindingClockwise; - MTLDepthClipMode _depthClipMode = MTLDepthClipModeClip; + CC_UNUSED MTLDepthClipMode _depthClipMode = MTLDepthClipModeClip; MTLTriangleFillMode _triangleFillMode = MTLTriangleFillModeFill; Viewport _viewport; Rect _scissorRect; From f83dd883a2abb8e524f7606bdbb65da9e4acd297 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 15:39:44 +0800 Subject: [PATCH 071/270] Add parallel pass flag to CommandBuffer::begin --- .../renderer/core/gfx-agent/GFXCommandBufferAgent.cpp | 7 ++++--- .../renderer/core/gfx-agent/GFXCommandBufferAgent.h | 2 +- native/cocos/renderer/core/gfx/GFXCommandBuffer.h | 9 ++------- native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp | 2 +- native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp | 2 +- native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- native/cocos/renderer/gfx-metal/MTLCommandBuffer.h | 2 +- native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 7 ++----- native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- 11 files changed, 16 insertions(+), 23 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index c94e33f82b..c4cc4fc556 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -62,17 +62,18 @@ void CommandBufferAgent::destroy() { } } -void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { - ENCODE_COMMAND_5( +void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { + ENCODE_COMMAND_6( _encoder, CommandBufferBegin, actor, getActor(), renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, subpass, subpass, frameBuffer, frameBuffer ? ((FramebufferAgent *)frameBuffer)->getActor() : nullptr, + parallelPass, parallelPass, submitIndex, submitIndex, { - actor->begin(renderPass, subpass, frameBuffer, submitIndex); + actor->begin(renderPass, subpass, frameBuffer, parallelPass, submitIndex); }); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index f748f2a9bf..1bb19732c6 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -16,7 +16,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index cafc0bd506..654f806c40 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -15,7 +15,7 @@ public: public: virtual bool initialize(const CommandBufferInfo &info) = 0; virtual void destroy() = 0; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) = 0; + virtual void begin(RenderPass *renderPass, uint subpass = 0, Framebuffer *frameBuffer = nullptr, bool parallelPass = false, int submitIndex = -1) = 0; virtual void end() = 0; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) = 0; virtual void endRenderPass() = 0; @@ -35,12 +35,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) = 0; - CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } - CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } - // secondary command buffer specifics - CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } + CC_INLINE void begin(bool parallelPass = false, int submitIndex = -1) { begin(nullptr, 0, nullptr, parallelPass, submitIndex); } CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 9d0ba678d6..e7bbbda2d7 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -79,7 +79,7 @@ void GLES2CommandBuffer::destroy() { CC_DELETE(_cmdAllocator); } -void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { +void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index d196f191b0..4c0a449436 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -42,7 +42,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 06fe0b9f80..d4a09e7ae5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -79,7 +79,7 @@ void GLES3CommandBuffer::destroy() { CC_DELETE(_cmdAllocator); } -void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { +void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 8a50b96bd0..e5de313d44 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -41,7 +41,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 4a0db8139c..8fd988ce7a 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -49,7 +49,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index b8acab7d35..ed5415ef59 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -86,14 +86,11 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } -void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) +void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { if (_commandBufferBegan) return; -// dispatch_semaphore_wait(_frameBoundarySemaphore, DISPATCH_TIME_FOREVER); - - _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; - [_mtlCommandBuffer retain]; + _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; [_mtlCommandBuffer enqueue]; _numTriangles = 0; _numDrawCalls = 0; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 346813e3f6..26153d7a1d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -71,7 +71,7 @@ void CCVKCommandBuffer::destroy() { } } -void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { +void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { if (_gpuCommandBuffer->began) return; ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->request(_gpuCommandBuffer); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index fa78142f4c..890feadefa 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -40,7 +40,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; From ed6164c06ef7a66307ec10e3322caa1597730407 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 15:43:09 +0800 Subject: [PATCH 072/270] Revert "Add parallel pass flag to CommandBuffer::begin" This reverts commit fba420b455c1af98ee2ad7844bc37947071e2a8a. --- .../renderer/core/gfx-agent/GFXCommandBufferAgent.cpp | 7 +++---- .../renderer/core/gfx-agent/GFXCommandBufferAgent.h | 2 +- native/cocos/renderer/core/gfx/GFXCommandBuffer.h | 9 +++++++-- native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp | 2 +- native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp | 2 +- native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- native/cocos/renderer/gfx-metal/MTLCommandBuffer.h | 2 +- native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 5 +++-- native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- 11 files changed, 21 insertions(+), 16 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index c4cc4fc556..c94e33f82b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -62,18 +62,17 @@ void CommandBufferAgent::destroy() { } } -void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { - ENCODE_COMMAND_6( +void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { + ENCODE_COMMAND_5( _encoder, CommandBufferBegin, actor, getActor(), renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, subpass, subpass, frameBuffer, frameBuffer ? ((FramebufferAgent *)frameBuffer)->getActor() : nullptr, - parallelPass, parallelPass, submitIndex, submitIndex, { - actor->begin(renderPass, subpass, frameBuffer, parallelPass, submitIndex); + actor->begin(renderPass, subpass, frameBuffer, submitIndex); }); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 1bb19732c6..f748f2a9bf 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -16,7 +16,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 654f806c40..cafc0bd506 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -15,7 +15,7 @@ public: public: virtual bool initialize(const CommandBufferInfo &info) = 0; virtual void destroy() = 0; - virtual void begin(RenderPass *renderPass, uint subpass = 0, Framebuffer *frameBuffer = nullptr, bool parallelPass = false, int submitIndex = -1) = 0; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) = 0; virtual void end() = 0; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) = 0; virtual void endRenderPass() = 0; @@ -35,7 +35,12 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) = 0; - CC_INLINE void begin(bool parallelPass = false, int submitIndex = -1) { begin(nullptr, 0, nullptr, parallelPass, submitIndex); } + CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } + CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } + // secondary command buffer specifics + CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index e7bbbda2d7..9d0ba678d6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -79,7 +79,7 @@ void GLES2CommandBuffer::destroy() { CC_DELETE(_cmdAllocator); } -void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { +void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 4c0a449436..d196f191b0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -42,7 +42,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index d4a09e7ae5..06fe0b9f80 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -79,7 +79,7 @@ void GLES3CommandBuffer::destroy() { CC_DELETE(_cmdAllocator); } -void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { +void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index e5de313d44..8a50b96bd0 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -41,7 +41,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 8fd988ce7a..4a0db8139c 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -49,7 +49,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index ed5415ef59..a141c1e2ed 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -86,11 +86,12 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } -void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) +void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; - _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; + _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; + [_mtlCommandBuffer retain]; [_mtlCommandBuffer enqueue]; _numTriangles = 0; _numDrawCalls = 0; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 26153d7a1d..346813e3f6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -71,7 +71,7 @@ void CCVKCommandBuffer::destroy() { } } -void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) { +void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_gpuCommandBuffer->began) return; ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->request(_gpuCommandBuffer); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 890feadefa..fa78142f4c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -40,7 +40,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, bool parallelPass, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; From 879ff18171067aa08d3cd9bc2020414854239c38 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 21:18:19 +0800 Subject: [PATCH 073/270] Initial implementation of Metal parallel encoding --- native/cocos/base/threading/CommandEncoder.h | 74 +++++++++++++++ .../core/gfx-agent/GFXCommandBufferAgent.cpp | 95 ++++++++++--------- .../core/gfx-agent/GFXCommandBufferAgent.h | 2 +- .../renderer/core/gfx/GFXCommandBuffer.h | 25 ++--- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 2 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 2 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 5 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 70 +++++++++----- .../gfx-metal/MTLRenderCommandEncoder.h | 15 ++- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 3 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- 17 files changed, 206 insertions(+), 101 deletions(-) diff --git a/native/cocos/base/threading/CommandEncoder.h b/native/cocos/base/threading/CommandEncoder.h index 5457cc2abf..2e7def5e09 100644 --- a/native/cocos/base/threading/CommandEncoder.h +++ b/native/cocos/base/threading/CommandEncoder.h @@ -620,4 +620,78 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Value8)) \ } +#define ENCODE_COMMAND_9(CB, CommandName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Param8, Value8, \ + Param9, Value9, \ + Code) \ + { \ + \ + using Type1 = std::decay::type; \ + using Type2 = std::decay::type; \ + using Type3 = std::decay::type; \ + using Type4 = std::decay::type; \ + using Type5 = std::decay::type; \ + using Type6 = std::decay::type; \ + using Type7 = std::decay::type; \ + using Type8 = std::decay::type; \ + using Type9 = std::decay::type; \ + \ + class CommandName : public Command { \ + public: \ + CommandName(Type1 const &In##Param1, \ + Type2 const &In##Param2, \ + Type3 const &In##Param3, \ + Type4 const &In##Param4, \ + Type5 const &In##Param5, \ + Type6 const &In##Param6, \ + Type7 const &In##Param7, \ + Type8 const &In##Param8, \ + Type9 const &In##Param9) \ + : Param1(In##Param1), \ + Param2(In##Param2), \ + Param3(In##Param3), \ + Param4(In##Param4), \ + Param5(In##Param5), \ + Param6(In##Param6), \ + Param7(In##Param7), \ + Param8(In##Param8), \ + Param9(In##Param9) { \ + } \ + virtual void execute() noexcept override { \ + Code \ + } \ + virtual char const *getName() const noexcept override { \ + return (#CommandName); \ + } \ + \ + private: \ + Type1 Param1; \ + Type2 Param2; \ + Type3 Param3; \ + Type4 Param4; \ + Type5 Param5; \ + Type6 Param6; \ + Type7 Param7; \ + Type8 Param8; \ + Type9 Param9; \ + }; \ + WRITE_COMMAND(CB, CommandName, \ + (Value1, \ + Value2, \ + Value3, \ + Value4, \ + Value5, \ + Value6, \ + Value7, \ + Value8, \ + Value9)) \ + } + } // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index c94e33f82b..eacbf814d9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -88,16 +88,20 @@ void CommandBufferAgent::end() { _encoder->finishWriting(); } -void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { - +void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *actorColors = nullptr; if (attachmentCount) { actorColors = _encoder->allocate(attachmentCount); memcpy(actorColors, colors, sizeof(Color) * attachmentCount); } + + const CommandBuffer **actorCmdBuffs = _encoder->allocate(count); + for (uint i = 0; i < count; ++i) { + actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); + } - ENCODE_COMMAND_8( + ENCODE_COMMAND_9( _encoder, CommandBufferBeginRenderPass, actor, getActor(), @@ -107,9 +111,10 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb colors, actorColors, depth, depth, stencil, stencil, - fromSecondaryCB, fromSecondaryCB, + actorCmdBuffs, actorCmdBuffs, + count, count, { - actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, fromSecondaryCB); + actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, actorCmdBuffs, count); }); } @@ -123,6 +128,46 @@ void CommandBufferAgent::endRenderPass() { }); } +void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + if (!count) return; + + const CommandBuffer **actorCmdBuffs = _encoder->allocate(count); + for (uint i = 0; i < count; ++i) { + actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); + } + + bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); + + ENCODE_COMMAND_5( + _encoder, + CommandBufferExecute, + actor, getActor(), + cmdBuffs, cmdBuffs, + actorCmdBuffs, actorCmdBuffs, + count, count, + multiThreaded, multiThreaded, + { + if (count > 1) { + if (multiThreaded) { + JobGraph g(JobSystem::getInstance()); + uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); + }); + g.run(job); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); + g.waitForAll(); + } else { + for (uint i = 0u; i < count; ++i) { + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); + } + } + } else { + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); + } + actor->execute(actorCmdBuffs, count); + }); +} + void CommandBufferAgent::bindPipelineState(PipelineState *pso) { ENCODE_COMMAND_2( _encoder, @@ -320,45 +365,5 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex }); } -void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - if (!count) return; - - const CommandBuffer **actorCmdBuffs = _encoder->allocate(count); - for (uint i = 0; i < count; ++i) { - actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); - } - - bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); - - ENCODE_COMMAND_5( - _encoder, - CommandBufferExecute, - actor, getActor(), - cmdBuffs, cmdBuffs, - actorCmdBuffs, actorCmdBuffs, - count, count, - multiThreaded, multiThreaded, - { - if (count > 1) { - if (multiThreaded) { - JobGraph g(JobSystem::getInstance()); - uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); - }); - g.run(job); - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); - g.waitForAll(); - } else { - for (uint i = 0u; i < count; ++i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); - } - } - } else { - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); - } - actor->execute(actorCmdBuffs, count); - }); -} - } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index f748f2a9bf..ec38f6ba2f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -18,7 +18,7 @@ public: virtual void destroy() override; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index cafc0bd506..370301d808 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -17,7 +17,7 @@ public: virtual void destroy() = 0; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) = 0; virtual void end() = 0; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) = 0; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) = 0; virtual void endRenderPass() = 0; virtual void bindPipelineState(PipelineState *pso) = 0; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) = 0; @@ -38,25 +38,20 @@ public: CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } // secondary command buffer specifics - CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass = 0, Framebuffer *frameBuffer = nullptr) { begin(renderPass, subpass, frameBuffer, -1); } + CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, nullptr, 0); + } + CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs = nullptr, uint32_t count = 0) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, cmdBuffs, count); + } + CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } - CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } - CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); } + CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, {}); } CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, false); - } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil); - } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, false); - } CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 9d0ba678d6..c7c74df245 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES2CommandBuffer::end() { } } -void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { _isInRenderPass = true; GLES2CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index d196f191b0..9be10f740b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -44,7 +44,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index d04b951ad3..3acc3fa674 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -20,7 +20,7 @@ GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer(Device *device) GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { } -void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { _isInRenderPass = true; GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index 30a8a4623d..223bb9d7dc 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -13,7 +13,7 @@ public: GLES2PrimaryCommandBuffer(Device *device); ~GLES2PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 06fe0b9f80..40d90e3830 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES3CommandBuffer::end() { } } -void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { _isInRenderPass = true; GLES3CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 8a50b96bd0..f2873a1c36 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -43,7 +43,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 18e42f9add..84838e08a2 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -20,7 +20,7 @@ GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer(Device *device) GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { } -void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { _isInRenderPass = true; GLES3GPURenderPass *gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 1431fe9683..4ec36a41be 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -13,7 +13,7 @@ public: GLES3PrimaryCommandBuffer(Device *device); ~GLES3PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 4a0db8139c..5479519e4d 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -51,7 +51,7 @@ public: virtual void destroy() override; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -85,11 +85,12 @@ private: bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; + bool _isSubCB = false; CCMTLDevice *_mtlDevice = nullptr; id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; - MTKView *_mtkView = nil; + id _parallelEncoder = nil; CCMTLRenderCommandEncoder _commandEncoder; CCMTLInputAssembler *_inputAssembler = nullptr; MTLIndexType _indexType = MTLIndexTypeUInt16; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index a141c1e2ed..c6f86bdbf4 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -89,10 +89,15 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; + + _isSubCB = renderPass != nullptr; - _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; - [_mtlCommandBuffer retain]; - [_mtlCommandBuffer enqueue]; + if (!_isSubCB) + { + // Sub command buffer for parallel shouldn't request any command buffer + _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; + [_mtlCommandBuffer enqueue]; + } _numTriangles = 0; _numDrawCalls = 0; _numInstances = 0; @@ -109,18 +114,14 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; - - [_mtlCommandBuffer presentDrawable:getCurrentDrawable()]; - [_mtlCommandBuffer addCompletedHandler:^(id commandBuffer) - { - // GPU work is complete - // Signal the fence to start the CPU work - _fence->signal(); - [commandBuffer release]; - }]; - [_mtlCommandBuffer commit]; _commandBufferBegan = false; + // End encoding for sub encoder of a parallel encoder + if (_isSubCB) + { + _commandEncoder.endEncoding(); + } + if (_currDrawable) { [_currDrawable release]; @@ -128,8 +129,13 @@ void CCMTLCommandBuffer::end() } } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { + // Sub CommandBuffer should call begin render pass + if (_isSubCB) + { + return; + } auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { @@ -158,22 +164,40 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb mtlRenderPassDescriptor.stencilAttachment.clearStencil = stencil; } - // Request parallel encoder for primary command buffer - - _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); + if (count > 0) + { + _parallelEncoder = [_mtlCommandBuffer parallelRenderCommandEncoderWithDescriptor:mtlRenderPassDescriptor]; + // Create command encoders from parallel encoder and assign to command buffers + for (uint i = 0u; i < count; ++i) + { + CCMTLCommandBuffer *cmdBuff = (CCMTLCommandBuffer *)cmdBuffs[i]; + cmdBuff->_commandEncoder.initialize(_parallelEncoder); + cmdBuff->_mtlCommandBuffer = _mtlCommandBuffer; + } + } + else + { + _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); + } _commandEncoder.setViewport(renderArea); _commandEncoder.setScissor(renderArea); } void CCMTLCommandBuffer::endRenderPass() { - _commandEncoder.endEncoding(); + if (_parallelEncoder) + { + [_parallelEncoder endEncoding]; + _parallelEncoder = nil; + } + else + { + _commandEncoder.endEncoding(); + } } void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) { - // Create command encoders from parallel encoder and assign to command buffers - for (uint i = 0; i < count; ++i) { auto commandBuffer = static_cast(commandBuffs[i]); @@ -291,7 +315,7 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) const auto indirectBuffer = static_cast(ia->getIndirectBuffer()); const auto indexBuffer = static_cast(ia->getIndexBuffer()); auto mtlEncoder = _commandEncoder.getMTLEncoder(); - if (_type == CommandBufferType::PRIMARY) + if (_type == CommandBufferType::PRIMARY || _type == CommandBufferType::SECONDARY) { if (indirectBuffer) { @@ -427,10 +451,6 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) } } - else if (_type == CommandBufferType::SECONDARY) - { - CC_LOG_ERROR("CommandBufferType::SECONDARY not implemented."); - } else { CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index 1919fea5ef..aa2a8989bf 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -56,8 +56,17 @@ public: CC_INLINE void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) { _mtlEncoder = [commandBuffer renderCommandEncoderWithDescriptor:descriptor]; - [_mtlEncoder retain]; - + clearStates(); + } + + CC_INLINE void initialize(id parallelEncoder) + { + _mtlEncoder = [parallelEncoder renderCommandEncoder]; + clearStates(); + } + + CC_INLINE void clearStates() + { _isViewportSet = false; _isScissorRectSet = false; _isCullModeSet = false; @@ -279,7 +288,7 @@ public: CC_INLINE void endEncoding() { [_mtlEncoder endEncoding]; - [_mtlEncoder release]; +// [_mtlEncoder release]; _mtlEncoder = nil; } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 346813e3f6..40da997607 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -126,7 +126,7 @@ void CCVKCommandBuffer::end() { ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); } -void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { _curGPUFBO = ((CCVKFramebuffer *)fbo)->gpuFBO(); CCVKGPURenderPass *gpuRenderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass(); VkFramebuffer framebuffer = _curGPUFBO->vkFramebuffer; @@ -165,6 +165,7 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo 0, 1, &barrier, 0, nullptr, 0, nullptr); } + bool fromSecondaryCB = count > 0; VkRenderPassBeginInfo passBeginInfo{VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO}; passBeginInfo.renderPass = gpuRenderPass->vkRenderPass; passBeginInfo.framebuffer = framebuffer; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index fa78142f4c..15dd88a555 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -42,7 +42,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; From 66602be1cb72fc35d0212c58d53a64333f5e398f Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 23:00:18 +0800 Subject: [PATCH 074/270] Add auto release pool for CCMTLCommandBuffer --- .../cocos/renderer/gfx-metal/MTLCommandBuffer.h | 1 + .../renderer/gfx-metal/MTLCommandBuffer.mm | 17 ++++++++++++++++- .../gfx-metal/MTLRenderCommandEncoder.h | 6 +++--- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 5479519e4d..9369be960d 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -87,6 +87,7 @@ private: bool _commandBufferBegan = false; bool _isSubCB = false; CCMTLDevice *_mtlDevice = nullptr; + NSAutoreleasePool *_pool = nullptr; id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index c6f86bdbf4..7de49c29d9 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -89,6 +89,10 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; + if (!_pool) + { + _pool = [[NSAutoreleasePool alloc] init]; + } _isSubCB = renderPass != nullptr; @@ -127,6 +131,11 @@ void CCMTLCommandBuffer::end() [_currDrawable release]; _currDrawable = nil; } + if (_pool) + { + [_pool release]; + _pool = nullptr; + } } void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) @@ -136,6 +145,11 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb { return; } + if (!_pool) + { + _pool = [[NSAutoreleasePool alloc] init]; + } + auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { @@ -166,7 +180,7 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb if (count > 0) { - _parallelEncoder = [_mtlCommandBuffer parallelRenderCommandEncoderWithDescriptor:mtlRenderPassDescriptor]; + _parallelEncoder = [[_mtlCommandBuffer parallelRenderCommandEncoderWithDescriptor:mtlRenderPassDescriptor] retain]; // Create command encoders from parallel encoder and assign to command buffers for (uint i = 0u; i < count; ++i) { @@ -188,6 +202,7 @@ void CCMTLCommandBuffer::endRenderPass() if (_parallelEncoder) { [_parallelEncoder endEncoding]; + [_parallelEncoder release]; _parallelEncoder = nil; } else diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index aa2a8989bf..0a52030106 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -55,13 +55,13 @@ public: CC_INLINE void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) { - _mtlEncoder = [commandBuffer renderCommandEncoderWithDescriptor:descriptor]; + _mtlEncoder = [[commandBuffer renderCommandEncoderWithDescriptor:descriptor] retain]; clearStates(); } CC_INLINE void initialize(id parallelEncoder) { - _mtlEncoder = [parallelEncoder renderCommandEncoder]; + _mtlEncoder = [[parallelEncoder renderCommandEncoder] retain]; clearStates(); } @@ -288,7 +288,7 @@ public: CC_INLINE void endEncoding() { [_mtlEncoder endEncoding]; -// [_mtlEncoder release]; + [_mtlEncoder release]; _mtlEncoder = nil; } From 4d2a9e708f873eb8c1a64b7d175cb55ae2536c81 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 22 Dec 2020 23:48:47 +0800 Subject: [PATCH 075/270] Autorelease pool using thread_local pools --- .../renderer/gfx-metal/MTLCommandBuffer.h | 1 - .../renderer/gfx-metal/MTLCommandBuffer.mm | 20 ++++++------------- native/cocos/renderer/gfx-metal/MTLDevice.mm | 5 +++++ 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 9369be960d..5479519e4d 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -87,7 +87,6 @@ private: bool _commandBufferBegan = false; bool _isSubCB = false; CCMTLDevice *_mtlDevice = nullptr; - NSAutoreleasePool *_pool = nullptr; id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 7de49c29d9..68f382db61 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -43,6 +43,8 @@ THE SOFTWARE. namespace cc { namespace gfx { +thread_local NSAutoreleasePool *cbAutoReleasePool = nullptr; + CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) : CommandBuffer(device) , _mtlDevice((CCMTLDevice *)device) @@ -89,13 +91,10 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; - if (!_pool) - { - _pool = [[NSAutoreleasePool alloc] init]; - } + + cbAutoReleasePool = [[NSAutoreleasePool alloc] init]; _isSubCB = renderPass != nullptr; - if (!_isSubCB) { // Sub command buffer for parallel shouldn't request any command buffer @@ -131,11 +130,8 @@ void CCMTLCommandBuffer::end() [_currDrawable release]; _currDrawable = nil; } - if (_pool) - { - [_pool release]; - _pool = nullptr; - } + [cbAutoReleasePool release]; + cbAutoReleasePool = nullptr; } void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) @@ -145,10 +141,6 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb { return; } - if (!_pool) - { - _pool = [[NSAutoreleasePool alloc] init]; - } auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index a50a24b69f..6b63b48eb6 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -52,6 +52,8 @@ THE SOFTWARE. namespace cc { namespace gfx { +thread_local NSAutoreleasePool *autoReleasePool = nullptr; + CCMTLDevice::CCMTLDevice() { _clipSpaceMinZ = 0.0f; _screenSpaceSignY = 1.0f; @@ -206,6 +208,7 @@ void CCMTLDevice::resize(uint width, uint height) {} void CCMTLDevice::acquire() { _inFlightSemaphore->wait(); + autoReleasePool = [[NSAutoreleasePool alloc] init]; // Clear queue stats CCMTLQueue *queue = static_cast(_queue); queue->_numDrawCalls = 0; @@ -232,6 +235,8 @@ void CCMTLDevice::present() { _inFlightSemaphore->signal(); }]; [mtlCommandBuffer commit]; + [autoReleasePool release]; + autoReleasePool = nullptr; } Fence *CCMTLDevice::createFence() { From d9f91be676003b0be4e9cd92e870d3a500e90336 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 22 Dec 2020 17:18:35 +0800 Subject: [PATCH 076/270] device agent allocator pool --- native/cocos/base/threading/CMakeLists.txt | 2 + .../cocos/base/threading/CommandEncoder.cpp | 4 +- native/cocos/base/threading/CommandEncoder.h | 4 +- .../threading/ThreadSafeLinearAllocator.cpp | 43 +++++++++++++ .../threading/ThreadSafeLinearAllocator.h | 37 +++++++++++ .../core/gfx-agent/GFXBufferAgent.cpp | 7 +-- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 55 +++++++++++++++-- .../core/gfx-agent/GFXDeviceAgent.cpp | 35 +++++++---- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 8 ++- .../core/gfx-agent/GFXLinearAllocatorPool.h | 61 +++++++++++++++++++ .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 9 +-- 11 files changed, 233 insertions(+), 32 deletions(-) create mode 100644 native/cocos/base/threading/ThreadSafeLinearAllocator.cpp create mode 100644 native/cocos/base/threading/ThreadSafeLinearAllocator.h create mode 100644 native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h diff --git a/native/cocos/base/threading/CMakeLists.txt b/native/cocos/base/threading/CMakeLists.txt index 29d5923a50..57725134bb 100644 --- a/native/cocos/base/threading/CMakeLists.txt +++ b/native/cocos/base/threading/CMakeLists.txt @@ -6,6 +6,8 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/concurrentqueue + ${GFX_EXTERNAL_PATH}/acl/includes + ${GFX_EXTERNAL_PATH}/rtm/includes ) include_directories( ${INCLUDE_FILES} ) diff --git a/native/cocos/base/threading/CommandEncoder.cpp b/native/cocos/base/threading/CommandEncoder.cpp index a9cc42dc61..83b9260af9 100644 --- a/native/cocos/base/threading/CommandEncoder.cpp +++ b/native/cocos/base/threading/CommandEncoder.cpp @@ -4,8 +4,8 @@ namespace cc { namespace { -uint32_t constexpr kMemoryChunkSize = 32 * 1024 * 1024; -uint32_t constexpr kMemoryChunkPoolCapacity = 16; +uint32_t constexpr kMemoryChunkSize = 4096 * 16; +uint32_t constexpr kMemoryChunkPoolCapacity = 64; uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); } // namespace diff --git a/native/cocos/base/threading/CommandEncoder.h b/native/cocos/base/threading/CommandEncoder.h index 2e7def5e09..3cd57666e6 100644 --- a/native/cocos/base/threading/CommandEncoder.h +++ b/native/cocos/base/threading/CommandEncoder.h @@ -205,14 +205,14 @@ CommandEncoder::allocate(uint32_t const count) noexcept { template T *CommandEncoder::allocateAndCopy(uint32_t const count, void const *data) noexcept { - T *const allocatedMemory = Allocate(count); + T *const allocatedMemory = allocate(count); memcpy(allocatedMemory, data, sizeof(T) * count); return allocatedMemory; } template T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { - T *const allocatedMemory = Allocate(count); + T *const allocatedMemory = allocate(count); memset(allocatedMemory, 0, sizeof(T) * count); return allocatedMemory; } diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp new file mode 100644 index 0000000000..4e871390a1 --- /dev/null +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp @@ -0,0 +1,43 @@ +#include "ThreadSafeLinearAllocator.h" +#include "acl/core/memory_utils.h" + +namespace cc { + +ThreadSafeLinearAllocator::ThreadSafeLinearAllocator(uint32_t const size) noexcept +: mCapacity(size) +{ + mBuffer = malloc(size); +} + +ThreadSafeLinearAllocator::~ThreadSafeLinearAllocator() +{ + free(mBuffer); +} + +void* ThreadSafeLinearAllocator::Allocate(size_t const size, size_t const alignment) noexcept +{ + if (size == 0) + { + return nullptr; + } + + void* allocatedMemory = nullptr; + uint32_t oldUsedSize = 0; + uint64_t newUsedSize = 0; // 为了判断溢出用64位 + + do + { + oldUsedSize = GetUsedSize(); + allocatedMemory = acl::align_to(acl::add_offset_to_ptr(mBuffer, oldUsedSize), alignment); + newUsedSize = reinterpret_cast(allocatedMemory) - reinterpret_cast(mBuffer) + size; + + if (newUsedSize > mCapacity) // 溢出 + { + return nullptr; + } + } while (! mUsedSize.compare_exchange_weak(oldUsedSize, static_cast(newUsedSize), std::memory_order_relaxed, std::memory_order_relaxed)); // 不可能存在ABA 不处理 + + return allocatedMemory; +} + +} // namespace cc diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.h b/native/cocos/base/threading/ThreadSafeLinearAllocator.h new file mode 100644 index 0000000000..62208bef4c --- /dev/null +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.h @@ -0,0 +1,37 @@ +#pragma once + +#include +#include +#include + +namespace cc { + +class alignas(16) ThreadSafeLinearAllocator final +{ +public: + + explicit ThreadSafeLinearAllocator(uint32_t const size) noexcept; + ~ThreadSafeLinearAllocator(); + ThreadSafeLinearAllocator(ThreadSafeLinearAllocator const&) = delete; + ThreadSafeLinearAllocator(ThreadSafeLinearAllocator&&) = delete; + ThreadSafeLinearAllocator& operator=(ThreadSafeLinearAllocator const&) = delete; + ThreadSafeLinearAllocator& operator=(ThreadSafeLinearAllocator&&) = delete; + + void* Allocate(size_t const size, size_t const alignment) noexcept; + + inline void* GetBuffer() const noexcept { return mBuffer; } + inline uint32_t GetCapacity() const noexcept { return mCapacity; } + inline uint32_t GetUsedSize() const noexcept { return mUsedSize.load(std::memory_order_relaxed); } + inline uint32_t GetBalance() const noexcept { return GetCapacity() - GetUsedSize(); } + + inline void Recycle() noexcept { mUsedSize.store(0, std::memory_order_relaxed); } + +private: + + void* mBuffer { nullptr }; + uint32_t mCapacity { 0 }; + std::atomic mUsedSize { 0 }; + // 16 bytes +}; + +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp index 87b635b5e7..dfb750e395 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -3,6 +3,7 @@ #include "threading/CommandEncoder.h" #include "GFXBufferAgent.h" #include "GFXDeviceAgent.h" +#include "GFXLinearAllocatorPool.h" namespace cc { namespace gfx { @@ -65,13 +66,11 @@ void BufferAgent::destroy() { } void BufferAgent::update(void *buffer, uint size) { - CommandEncoder *encoder = ((DeviceAgent *)_device)->getMainEncoder(); - - uint8_t *actorBuffer = encoder->allocate(size); + uint8_t *actorBuffer = ((DeviceAgent *)_device)->getMainAllocator()->allocate(size); memcpy(actorBuffer, buffer, size); ENCODE_COMMAND_3( - encoder, + ((DeviceAgent *)_device)->getMainEncoder(), BufferUpdate, actor, getActor(), buffer, actorBuffer, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index eacbf814d9..6066dc40f6 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -8,6 +8,7 @@ #include "GFXDeviceAgent.h" #include "GFXFramebufferAgent.h" #include "GFXInputAssemblerAgent.h" +#include "GFXLinearAllocatorPool.h" #include "GFXPipelineStateAgent.h" #include "GFXQueueAgent.h" #include "GFXRenderPassAgent.h" @@ -92,7 +93,7 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *actorColors = nullptr; if (attachmentCount) { - actorColors = _encoder->allocate(attachmentCount); + actorColors = ((DeviceAgent *)_device)->getMainAllocator()->allocate(attachmentCount); memcpy(actorColors, colors, sizeof(Color) * attachmentCount); } @@ -182,7 +183,7 @@ void CommandBufferAgent::bindPipelineState(PipelineState *pso) { void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { uint *actorDynamicOffsets = nullptr; if (dynamicOffsetCount) { - actorDynamicOffsets = _encoder->allocate(dynamicOffsetCount); + actorDynamicOffsets = ((DeviceAgent *)_device)->getMainAllocator()->allocate(dynamicOffsetCount); memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); } @@ -318,7 +319,7 @@ void CommandBufferAgent::draw(InputAssembler *ia) { void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { CommandEncoder *encoder = _encoder; - uint8_t *actorData = encoder->allocate(size); + uint8_t *actorData = ((DeviceAgent *)_device)->getMainAllocator()->allocate(size); memcpy(actorData, data, size); ENCODE_COMMAND_4( @@ -334,19 +335,21 @@ void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) } void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - BufferTextureCopy *actorRegions = _encoder->allocate(count); + LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); + + BufferTextureCopy *actorRegions = allocator->allocate(count); memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); uint bufferCount = 0u; for (uint i = 0u; i < count; i++) { bufferCount += regions[i].texSubres.layerCount; } - const uint8_t **actorBuffers = _encoder->allocate(bufferCount); + const uint8_t **actorBuffers = allocator->allocate(bufferCount); for (uint i = 0u, n = 0u; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = _encoder->allocate(size); + uint8_t *buffer = allocator->allocate(size); memcpy(buffer, buffers[n], size); actorBuffers[n++] = buffer; } @@ -365,5 +368,45 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex }); } +void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + if (!count) return; + + const CommandBuffer **actorCmdBuffs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(count); + for (uint i = 0; i < count; ++i) { + actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); + } + + bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); + + ENCODE_COMMAND_5( + _encoder, + CommandBufferExecute, + actor, getActor(), + cmdBuffs, cmdBuffs, + actorCmdBuffs, actorCmdBuffs, + count, count, + multiThreaded, multiThreaded, + { + if (count > 1) { + if (multiThreaded) { + JobGraph g(JobSystem::getInstance()); + uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); + }); + g.run(job); + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); + g.waitForAll(); + } else { + for (uint i = 0u; i < count; ++i) { + ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); + } + } + } else { + ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); + } + actor->execute(actorCmdBuffs, count); + }); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 677c262b9f..a204b96fec 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -8,6 +8,7 @@ #include "GFXDeviceAgent.h" #include "GFXFramebufferAgent.h" #include "GFXInputAssemblerAgent.h" +#include "GFXLinearAllocatorPool.h" #include "GFXPipelineLayoutAgent.h" #include "GFXPipelineStateAgent.h" #include "GFXQueueAgent.h" @@ -67,6 +68,11 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { _mainEncoder = CC_NEW(CommandEncoder); _mainEncoder->runConsumerThread(); + _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); + for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { + _allocatorPools[i] = CC_NEW(LinearAllocatorPool); + } + setMultithreaded(true); return true; @@ -91,6 +97,11 @@ void DeviceAgent::destroy() { _mainEncoder->terminateConsumerThread(); CC_SAFE_DELETE(_mainEncoder); + + for (LinearAllocatorPool *pool : _allocatorPools) { + CC_SAFE_DELETE(pool); + } + _allocatorPools.clear(); } void DeviceAgent::resize(uint width, uint height) { @@ -109,10 +120,8 @@ void DeviceAgent::resize(uint width, uint height) { } void DeviceAgent::acquire() { - _frameBoundarySemaphore.Wait(); - CommandEncoder *encoder = getMainEncoder(); ENCODE_COMMAND_1( - encoder, + _mainEncoder, DeviceAcquire, actor, getActor(), { @@ -121,9 +130,8 @@ void DeviceAgent::acquire() { } void DeviceAgent::present() { - CommandEncoder *encoder = getMainEncoder(); ENCODE_COMMAND_2( - encoder, + _mainEncoder, DevicePresent, actor, getActor(), frameBoundarySemaphore, &_frameBoundarySemaphore, @@ -132,8 +140,11 @@ void DeviceAgent::present() { frameBoundarySemaphore->Signal(); }); - CommandEncoder::freeChunksInFreeQueue(encoder); - encoder->finishWriting(); + CommandEncoder::freeChunksInFreeQueue(_mainEncoder); + _mainEncoder->finishWriting(); + _currentIndex = (_currentIndex + 1) % (MAX_CPU_FRAME_AHEAD + 1); + _frameBoundarySemaphore.Wait(); + getMainAllocator()->reset(); } void DeviceAgent::setMultithreaded(bool multithreaded) { @@ -245,28 +256,28 @@ PipelineState *DeviceAgent::createPipelineState() { } void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - CommandEncoder *encoder = getMainEncoder(); + LinearAllocatorPool *allocator = getMainAllocator(); - BufferTextureCopy *actorRegions = encoder->allocate(count); + BufferTextureCopy *actorRegions = allocator->allocate(count); memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); uint bufferCount = 0u; for (uint i = 0u; i < count; i++) { bufferCount += regions[i].texSubres.layerCount; } - const uint8_t **actorBuffers = encoder->allocate(bufferCount); + const uint8_t **actorBuffers = allocator->allocate(bufferCount); for (uint i = 0u, n = 0u; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = encoder->allocate(size); + uint8_t *buffer = allocator->allocate(size); memcpy(buffer, buffers[n], size); actorBuffers[n++] = buffer; } } ENCODE_COMMAND_5( - encoder, + _mainEncoder, DeviceCopyBuffersToTexture, actor, getActor(), buffers, actorBuffers, diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index c0ddf75cdb..6194a08229 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -10,6 +10,7 @@ class CommandEncoder; namespace gfx { +class LinearAllocatorPool; class CommandBuffer; constexpr uint MAX_CPU_FRAME_AHEAD = 1u; @@ -58,12 +59,15 @@ public: virtual uint getNumTris() const override { return _actor->getNumTris(); } CommandEncoder *getMainEncoder() const { return _mainEncoder; } + LinearAllocatorPool *getMainAllocator() const { return _allocatorPools[_currentIndex]; } protected: bool _multithreaded{false}; CommandEncoder *_mainEncoder{nullptr}; - - Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD + 1}; + + uint _currentIndex = 0u; + vector _allocatorPools; + Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h new file mode 100644 index 0000000000..2b8252accd --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h @@ -0,0 +1,61 @@ +#pragma once + +#include +#include +#include "threading/ThreadSafeLinearAllocator.h" + +namespace cc { +namespace gfx { + +namespace { +constexpr size_t DEFAULT_BLOCK_SIZE = 16 * 1024 * 1024; // 16M per block by default + +uint nextPowerOf2(uint v) { + v--; + v |= v >> 1; + v |= v >> 2; + v |= v >> 4; + v |= v >> 8; + v |= v >> 16; + return ++v; +} +} + +class CC_DLL LinearAllocatorPool final { +public: + LinearAllocatorPool() { + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(DEFAULT_BLOCK_SIZE))); + } + + ~LinearAllocatorPool() { + for (ThreadSafeLinearAllocator *allocator : _allocators) { + CC_SAFE_DELETE(allocator); + } + _allocators.clear(); + } + + template + T* allocate(const uint count, uint alignment = 64u) noexcept { + T* res = nullptr; + size_t size = count * sizeof(T); + for (ThreadSafeLinearAllocator *allocator : _allocators) { + res = reinterpret_cast(allocator->Allocate(size, alignment)); + if (res) return res; + } + size_t capacity = nextPowerOf2(std::max(DEFAULT_BLOCK_SIZE, size)); + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(capacity))); + return reinterpret_cast(_allocators.back()->Allocate(size, alignment)); + } + + inline void reset() { + for (ThreadSafeLinearAllocator *allocator : _allocators) { + allocator->Recycle(); + } + } + +protected: + vector _allocators; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 4e1d6f3618..2d84af181c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -2,6 +2,7 @@ #include "GFXCommandBufferAgent.h" #include "GFXDeviceAgent.h" +#include "GFXLinearAllocatorPool.h" #include "GFXQueueAgent.h" #include "job-system/JobSystem.h" #include "threading/CommandEncoder.h" @@ -40,9 +41,9 @@ void QueueAgent::destroy() { void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { if (!count) return; - CommandEncoder *encoder = ((DeviceAgent *)_device)->getMainEncoder(); - - const CommandBuffer **actorCmdBuffs = encoder->allocate(count); + + LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); + const CommandBuffer **actorCmdBuffs = allocator->allocate(count); for (uint i = 0u; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } @@ -50,7 +51,7 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); ENCODE_COMMAND_6( - encoder, + ((DeviceAgent *)_device)->getMainEncoder(), QueueSubmit, actor, getActor(), multiThreaded, multiThreaded, From 2f31960ffb845cae35567529628f0c75bffb5a0a Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 22 Dec 2020 18:20:15 +0800 Subject: [PATCH 077/270] per cb allocator pool --- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 26 +++++++++++++++---- .../core/gfx-agent/GFXCommandBufferAgent.h | 4 +++ .../core/gfx-agent/GFXDeviceAgent.cpp | 4 +++ .../renderer/core/gfx-agent/GFXDeviceAgent.h | 6 ++++- .../core/gfx-agent/GFXLinearAllocatorPool.h | 7 ++--- 5 files changed, 38 insertions(+), 9 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 6066dc40f6..48e5a4ee82 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -18,6 +18,12 @@ namespace cc { namespace gfx { void CommandBufferAgent::initEncoder() { + _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); + for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { + _allocatorPools[i] = CC_NEW(LinearAllocatorPool); + } + ((DeviceAgent *)_device)->_allocatorPoolRefs.insert(_allocatorPools.data()); + _encoder = CC_NEW(CommandEncoder); _encoder->setImmediateMode(false); } @@ -25,6 +31,16 @@ void CommandBufferAgent::initEncoder() { void CommandBufferAgent::destroyEncoder() { ((DeviceAgent *)_device)->getMainEncoder()->kickAndWait(); CC_SAFE_DELETE(_encoder); + + ((DeviceAgent *)_device)->_allocatorPoolRefs.erase(_allocatorPools.data()); + for (LinearAllocatorPool *pool : _allocatorPools) { + CC_SAFE_DELETE(pool); + } + _allocatorPools.clear(); +} + +LinearAllocatorPool *CommandBufferAgent::getAllocator() { + return _allocatorPools[((DeviceAgent *)_device)->_currentIndex]; } bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { @@ -93,7 +109,7 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *actorColors = nullptr; if (attachmentCount) { - actorColors = ((DeviceAgent *)_device)->getMainAllocator()->allocate(attachmentCount); + actorColors = getAllocator()->allocate(attachmentCount); memcpy(actorColors, colors, sizeof(Color) * attachmentCount); } @@ -183,7 +199,7 @@ void CommandBufferAgent::bindPipelineState(PipelineState *pso) { void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { uint *actorDynamicOffsets = nullptr; if (dynamicOffsetCount) { - actorDynamicOffsets = ((DeviceAgent *)_device)->getMainAllocator()->allocate(dynamicOffsetCount); + actorDynamicOffsets = getAllocator()->allocate(dynamicOffsetCount); memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); } @@ -319,7 +335,7 @@ void CommandBufferAgent::draw(InputAssembler *ia) { void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { CommandEncoder *encoder = _encoder; - uint8_t *actorData = ((DeviceAgent *)_device)->getMainAllocator()->allocate(size); + uint8_t *actorData = getAllocator()->allocate(size); memcpy(actorData, data, size); ENCODE_COMMAND_4( @@ -335,7 +351,7 @@ void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) } void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); + LinearAllocatorPool *allocator = getAllocator(); BufferTextureCopy *actorRegions = allocator->allocate(count); memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); @@ -371,7 +387,7 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { if (!count) return; - const CommandBuffer **actorCmdBuffs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(count); + const CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index ec38f6ba2f..2ade173463 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -9,6 +9,8 @@ class CommandEncoder; namespace gfx { +class LinearAllocatorPool; + class CC_DLL CommandBufferAgent final : public Agent { public: using Agent::Agent; @@ -41,6 +43,7 @@ public: virtual uint getNumTris() const override { return _actor->getNumTris(); } CC_INLINE CommandEncoder *getEncoder() { return _encoder; } + LinearAllocatorPool *getAllocator(); private: friend class DeviceAgent; @@ -48,6 +51,7 @@ private: void initEncoder(); void destroyEncoder(); CommandEncoder *_encoder = nullptr; + vector _allocatorPools; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index a204b96fec..4be0e08925 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -144,7 +144,11 @@ void DeviceAgent::present() { _mainEncoder->finishWriting(); _currentIndex = (_currentIndex + 1) % (MAX_CPU_FRAME_AHEAD + 1); _frameBoundarySemaphore.Wait(); + getMainAllocator()->reset(); + for (LinearAllocatorPool **allocatorPools: _allocatorPoolRefs) { + allocatorPools[_currentIndex]->reset(); + } } void DeviceAgent::setMultithreaded(bool multithreaded) { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 6194a08229..dfb4cca9c3 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -60,14 +60,18 @@ public: CommandEncoder *getMainEncoder() const { return _mainEncoder; } LinearAllocatorPool *getMainAllocator() const { return _allocatorPools[_currentIndex]; } -protected: +protected: + friend class CommandBufferAgent; + bool _multithreaded{false}; CommandEncoder *_mainEncoder{nullptr}; uint _currentIndex = 0u; vector _allocatorPools; Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; + + unordered_set _allocatorPoolRefs; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h index 2b8252accd..c24a814864 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h +++ b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h @@ -8,7 +8,7 @@ namespace cc { namespace gfx { namespace { -constexpr size_t DEFAULT_BLOCK_SIZE = 16 * 1024 * 1024; // 16M per block by default +constexpr size_t DEFAULT_BLOCK_SIZE = 4096 * 16; uint nextPowerOf2(uint v) { v--; @@ -23,8 +23,8 @@ uint nextPowerOf2(uint v) { class CC_DLL LinearAllocatorPool final { public: - LinearAllocatorPool() { - _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(DEFAULT_BLOCK_SIZE))); + LinearAllocatorPool(size_t defaultBlockSize = DEFAULT_BLOCK_SIZE): _defaultBlockSize(defaultBlockSize) { + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(_defaultBlockSize))); } ~LinearAllocatorPool() { @@ -55,6 +55,7 @@ public: protected: vector _allocators; + size_t _defaultBlockSize = DEFAULT_BLOCK_SIZE; }; } // namespace gfx From a185aabcfccdb7d8719cae713e19cbd3107eb7b7 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 22 Dec 2020 22:13:51 +0800 Subject: [PATCH 078/270] update to vk ext metal surface --- .../cocos/base/job-system/job-system-taskflow/TFJobSystem.h | 4 +++- native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 6512263611..57c7e441ad 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -1,6 +1,8 @@ #pragma once #include "taskflow/taskflow.hpp" +#include +#include namespace cc { @@ -17,7 +19,7 @@ public: CC_SAFE_DELETE(_instance); } - TFJobSystem() noexcept : TFJobSystem(std::thread::hardware_concurrency() - 2) {} + TFJobSystem() noexcept : TFJobSystem(std::max(2u, std::thread::hardware_concurrency() - 2u)) {} TFJobSystem(uint threadCount) noexcept; CC_INLINE uint threadCount() { return _executor.num_workers(); } diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h index 9b340a2076..1f63473152 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -2,6 +2,7 @@ #include "tbb/global_control.h" #include +#include namespace cc { @@ -20,7 +21,7 @@ public: CC_SAFE_DELETE(_instance); } - TBBJobSystem() noexcept : TBBJobSystem(std::thread::hardware_concurrency() - 2) {} + TBBJobSystem() noexcept : TBBJobSystem(std::max(2u, std::thread::hardware_concurrency() - 2u)) {} TBBJobSystem(uint threadCount) noexcept; CC_INLINE uint threadCount() { return _threadCount; } From 11c51b1067945f37f8096dc4ab8182ffc86bf0f0 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 23 Dec 2020 19:03:24 +0800 Subject: [PATCH 079/270] Fix and format --- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 75 ++++++++++--------- .../renderer/gfx-metal/MTLCommandBuffer.mm | 61 ++++++++------- 2 files changed, 75 insertions(+), 61 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index 0b4830f49b..485b33aa96 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -47,7 +47,6 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) _stride = std::max(info.stride, 1U); _count = _size / _stride; _flags = info.flags; - _indirectDrawSupported = static_cast(_device)->isIndirectDrawSupported(); if (_usage & BufferUsage::INDEX) { switch (_stride) @@ -222,52 +221,56 @@ void CCMTLBuffer::update(void *buffer, uint size) if (_usage & BufferUsageBit::INDIRECT) { - auto drawInfoCount = size / _stride; - for (uint i = 0; i < drawInfoCount; ++i) + if (_isIndirectDrawSupported) { - memcpy(&_drawInfos[i], static_cast(buffer) + i * _stride, _stride); - } + uint drawInfoCount = size / _stride; + const DrawInfo *drawInfo = static_cast(buffer); - if (!_indirectDrawSupported) - { - return; - } - - if (drawInfoCount > 0) - { - if (_drawInfos[0].indexCount) + if (drawInfoCount > 0) { - vector arguments(drawInfoCount); - int i = 0; - for (auto &argument : arguments) + if (drawInfo->indexCount) { - const auto &drawInfo = _drawInfos[i++]; - argument.indexCount = drawInfo.indexCount; - argument.instanceCount = drawInfo.instanceCount == 0 ? 1 : drawInfo.instanceCount; - argument.indexStart = drawInfo.firstIndex; - argument.baseVertex = drawInfo.firstVertex; - argument.baseInstance = drawInfo.firstInstance; + _isDrawIndirectByIndex = true; + uint stride = sizeof(MTLDrawIndexedPrimitivesIndirectArguments); + + for (uint i = 0; i < drawInfoCount; ++i) + { + auto &arguments = _indexedPrimitivesIndirectArguments[i]; + arguments.indexCount = drawInfo->indexCount; + arguments.instanceCount = std::max(drawInfo->instanceCount, 1u); + arguments.indexStart = drawInfo->firstIndex; + arguments.baseVertex = drawInfo->firstVertex; + arguments.baseInstance = drawInfo->firstInstance; + ++drawInfo; + } + updateMTLBuffer(_indexedPrimitivesIndirectArguments.data(), 0, drawInfoCount * stride); } - memcpy(static_cast(_mtlBuffer.contents), arguments.data(), drawInfoCount * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)); - } - else if (_drawInfos[0].vertexCount) - { - vector arguments(drawInfoCount); - int i = 0; - for (auto &argument : arguments) + else { - const auto &drawInfo = _drawInfos[i++]; - argument.vertexCount = drawInfo.vertexCount; - argument.instanceCount = drawInfo.instanceCount == 0 ? 1 : drawInfo.instanceCount; - argument.vertexStart = drawInfo.firstVertex; - argument.baseInstance = drawInfo.firstInstance; + _isDrawIndirectByIndex = false; + uint stride = sizeof(MTLDrawIndexedPrimitivesIndirectArguments); + + for (uint i = 0; i < drawInfoCount; ++i) + { + auto &arguments = _primitiveIndirectArguments[i]; + arguments.vertexCount = drawInfo->vertexCount; + arguments.instanceCount = std::max(drawInfo->instanceCount, 1u); + arguments.vertexStart = drawInfo->firstVertex; + arguments.baseInstance = drawInfo->firstInstance; + ++drawInfo; + } + updateMTLBuffer(_primitiveIndirectArguments.data(), 0, drawInfoCount * stride); } memcpy(static_cast(_mtlBuffer.contents), arguments.data(), drawInfoCount * sizeof(MTLDrawPrimitivesIndirectArguments)); } - } else { + } + else + { memcpy(_drawInfos.data(), buffer, size); } - } else { + } + else + { updateMTLBuffer(buffer, 0, size); } } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 68f382db61..efeaf8b4bd 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -333,32 +333,44 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { const auto &drawInfo = drawInfos[i]; - if (_indirectDrawSuppotred) + if (_type == CommandBufferType::PRIMARY || _type == CommandBufferType::SECONDARY) + { + if (indirectBuffer) + { + const auto indirectMTLBuffer = indirectBuffer->getMTLBuffer(); + + if (_indirectDrawSuppotred) + { + ++_numDrawCalls; + if (indirectBuffer->isDrawIndirectByIndex()) { - if (indexBuffer) - { - if (drawInfo.indexCount) - { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexType:_indexType - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:i * indirectBuffer->getStride() - indirectBuffer:indirectBuffer->getMTLBuffer() - indirectBufferOffset:i * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)]; - } - } - else if (drawInfo.vertexCount) - { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - indirectBuffer:indirectBuffer->getMTLBuffer() - indirectBufferOffset:i * sizeof(MTLDrawIndexedPrimitivesIndirectArguments)]; - } + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexType:_indexType + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:0 + indirectBuffer:indirectMTLBuffer + indirectBufferOffset:0]; } else { - NSUInteger offset = 0; - offset += drawInfo.firstIndex * indirectBuffer->getStride(); - if (drawInfo.indexCount) + [mtlEncoder drawPrimitives:_mtlPrimitiveType + indirectBuffer:indirectMTLBuffer + indirectBufferOffset:0]; + } + } + else + { + uint stride = indirectBuffer->getStride(); + uint offset = 0; + uint drawInfoCount = indirectBuffer->getCount(); + const auto &drawInfos = indirectBuffer->getDrawInfos(); + _numDrawCalls += drawInfoCount; + + for (uint i = 0; i < drawInfoCount; ++i) + { + const auto &drawInfo = drawInfos[i]; + offset += drawInfo.firstIndex * stride; + if (indirectBuffer->isDrawIndirectByIndex()) { if (drawInfo.instanceCount == 0) { @@ -378,7 +390,7 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) instanceCount:drawInfo.instanceCount]; } } - else if (drawInfo.vertexCount) + else { if (drawInfo.instanceCount == 0) { @@ -403,7 +415,7 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) static_cast(ia)->extractDrawInfo(drawInfo); if (drawInfo.indexCount > 0) { - NSUInteger offset = 0; + uint offset = 0; offset += drawInfo.firstIndex * indexBuffer->getStride(); if (drawInfo.instanceCount == 0) { @@ -456,7 +468,6 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) } } } - } else { From 4eac776f40836a3f7d46bf808d696f63d840da89 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 23 Dec 2020 19:50:32 +0800 Subject: [PATCH 080/270] merge latest device --- native/cocos/bindings/auto/jsb_audio_auto.h | 2 +- native/cocos/bindings/auto/jsb_cocos_auto.h | 2 +- .../cocos/bindings/auto/jsb_extension_auto.h | 2 +- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 154 +----------------- native/cocos/bindings/auto/jsb_gfx_auto.h | 2 +- native/cocos/bindings/auto/jsb_gles2_auto.cpp | 1 - native/cocos/bindings/auto/jsb_gles2_auto.h | 2 +- native/cocos/bindings/auto/jsb_gles3_auto.cpp | 1 - native/cocos/bindings/auto/jsb_gles3_auto.h | 2 +- native/cocos/bindings/auto/jsb_mtl_auto.cpp | 38 +++++ native/cocos/bindings/auto/jsb_mtl_auto.h | 4 +- native/cocos/bindings/auto/jsb_network_auto.h | 2 +- native/cocos/bindings/auto/jsb_video_auto.h | 2 +- native/cocos/bindings/auto/jsb_vk_auto.h | 2 +- native/cocos/bindings/auto/jsb_webview_auto.h | 2 +- native/cocos/renderer/core/Core.h | 20 --- .../renderer/core/gfx/GFXCommandBuffer.h | 25 ++- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 2 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 4 + .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 2 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 4 + .../cocos/renderer/gfx-gles3/GLES3Context.mm | 2 - .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 2 +- native/cocos/renderer/gfx-metal/MTLBuffer.h | 2 + native/cocos/renderer/gfx-metal/MTLBuffer.mm | 6 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 75 ++++----- native/cocos/renderer/gfx-metal/MTLDevice.h | 30 ---- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 4 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 32 +++- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 9 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 42 +++-- 38 files changed, 187 insertions(+), 306 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_audio_auto.h b/native/cocos/bindings/auto/jsb_audio_auto.h index bca7e300f4..5487be5e79 100644 --- a/native/cocos/bindings/auto/jsb_audio_auto.h +++ b/native/cocos/bindings/auto/jsb_audio_auto.h @@ -4,7 +4,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/audio/include/AudioEngine.h" +#include "cocos\audio\include\AudioEngine.h" extern se::Object* __jsb_cc_AudioProfile_proto; extern se::Class* __jsb_cc_AudioProfile_class; diff --git a/native/cocos/bindings/auto/jsb_cocos_auto.h b/native/cocos/bindings/auto/jsb_cocos_auto.h index cce293e62b..3151ee1180 100644 --- a/native/cocos/bindings/auto/jsb_cocos_auto.h +++ b/native/cocos/bindings/auto/jsb_cocos_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/cocos2d.h" +#include "cocos\cocos2d.h" extern se::Object* __jsb_cc_FileUtils_proto; extern se::Class* __jsb_cc_FileUtils_class; diff --git a/native/cocos/bindings/auto/jsb_extension_auto.h b/native/cocos/bindings/auto/jsb_extension_auto.h index dcfd3d411f..6d392f0471 100644 --- a/native/cocos/bindings/auto/jsb_extension_auto.h +++ b/native/cocos/bindings/auto/jsb_extension_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "extensions/cocos-ext.h" +#include "extensions\cocos-ext.h" extern se::Object* __jsb_cc_extension_EventAssetsManagerEx_proto; extern se::Class* __jsb_cc_extension_EventAssetsManagerEx_class; diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index e57aef87c3..fde8dd6dba 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -11321,7 +11321,6 @@ static bool js_gfx_Buffer_getCount(se::State& s) unsigned int result = cobj->getCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11340,7 +11339,6 @@ static bool js_gfx_Buffer_getFlags(se::State& s) int result = (int)cobj->getFlags(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getFlags : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11359,7 +11357,6 @@ static bool js_gfx_Buffer_getMemUsage(se::State& s) int result = (int)cobj->getMemUsage(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getMemUsage : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11378,7 +11375,6 @@ static bool js_gfx_Buffer_getSize(se::State& s) unsigned int result = cobj->getSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getSize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11397,7 +11393,6 @@ static bool js_gfx_Buffer_getStride(se::State& s) unsigned int result = cobj->getStride(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getStride : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11416,7 +11411,6 @@ static bool js_gfx_Buffer_getUsage(se::State& s) int result = (int)cobj->getUsage(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getUsage : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11601,7 +11595,7 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) HolderType arg0 = {}; HolderType arg1 = {}; HolderType arg2 = {}; - HolderType arg3 = {}; + HolderType arg3 = {}; HolderType arg4 = {}; HolderType arg5 = {}; @@ -11655,7 +11649,7 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) HolderType arg0 = {}; HolderType arg1 = {}; HolderType arg2 = {}; - HolderType arg3 = {}; + HolderType arg3 = {}; HolderType arg4 = {}; HolderType arg5 = {}; @@ -11837,7 +11831,6 @@ static bool js_gfx_CommandBuffer_getNumDrawCalls(se::State& s) unsigned int result = cobj->getNumDrawCalls(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getNumDrawCalls : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11856,7 +11849,6 @@ static bool js_gfx_CommandBuffer_getNumInstances(se::State& s) unsigned int result = cobj->getNumInstances(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getNumInstances : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11875,7 +11867,6 @@ static bool js_gfx_CommandBuffer_getNumTris(se::State& s) unsigned int result = cobj->getNumTris(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getNumTris : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11894,7 +11885,6 @@ static bool js_gfx_CommandBuffer_getQueue(se::State& s) cc::gfx::Queue* result = cobj->getQueue(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getQueue : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11913,7 +11903,6 @@ static bool js_gfx_CommandBuffer_getType(se::State& s) int result = (int)cobj->getType(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getType : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11935,7 +11924,6 @@ static bool js_gfx_CommandBuffer_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -12201,7 +12189,6 @@ static bool js_gfx_Context_getColorFormat(se::State& s) int result = (int)cobj->getColorFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getColorFormat : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12220,7 +12207,6 @@ static bool js_gfx_Context_getDepthStencilFormat(se::State& s) int result = (int)cobj->getDepthStencilFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getDepthStencilFormat : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12239,7 +12225,6 @@ static bool js_gfx_Context_getDevice(se::State& s) cc::gfx::Device* result = cobj->getDevice(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getDevice : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12258,7 +12243,6 @@ static bool js_gfx_Context_getSharedContext(se::State& s) cc::gfx::Context* result = cobj->getSharedContext(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getSharedContext : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12277,7 +12261,6 @@ static bool js_gfx_Context_getVsyncMode(se::State& s) int result = (int)cobj->getVsyncMode(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getVsyncMode : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12299,7 +12282,6 @@ static bool js_gfx_Context_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -12435,7 +12417,6 @@ static bool js_gfx_DescriptorSet_bindBufferJSB(se::State& s) bool result = cobj->bindBufferJSB(arg0.value(), arg1.value(), arg2.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_bindBufferJSB : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); @@ -12504,7 +12485,6 @@ static bool js_gfx_DescriptorSet_bindSamplerJSB(se::State& s) bool result = cobj->bindSamplerJSB(arg0.value(), arg1.value(), arg2.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_bindSamplerJSB : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); @@ -12573,7 +12553,6 @@ static bool js_gfx_DescriptorSet_bindTextureJSB(se::State& s) bool result = cobj->bindTextureJSB(arg0.value(), arg1.value(), arg2.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_bindTextureJSB : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); @@ -12612,7 +12591,6 @@ static bool js_gfx_DescriptorSet_getBuffer(se::State& s) cc::gfx::Buffer* result = cobj->getBuffer(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12629,7 +12607,6 @@ static bool js_gfx_DescriptorSet_getBuffer(se::State& s) cc::gfx::Buffer* result = cobj->getBuffer(arg0.value(), arg1.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12655,7 +12632,6 @@ static bool js_gfx_DescriptorSet_getSampler(se::State& s) cc::gfx::Sampler* result = cobj->getSampler(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getSampler : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12672,7 +12648,6 @@ static bool js_gfx_DescriptorSet_getSampler(se::State& s) cc::gfx::Sampler* result = cobj->getSampler(arg0.value(), arg1.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getSampler : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12698,7 +12673,6 @@ static bool js_gfx_DescriptorSet_getTexture(se::State& s) cc::gfx::Texture* result = cobj->getTexture(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getTexture : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12715,7 +12689,6 @@ static bool js_gfx_DescriptorSet_getTexture(se::State& s) cc::gfx::Texture* result = cobj->getTexture(arg0.value(), arg1.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getTexture : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12739,7 +12712,6 @@ static bool js_gfx_DescriptorSet_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -12845,7 +12817,6 @@ static bool js_gfx_DescriptorSetLayout_getBindings(se::State& s) const std::vector& result = cobj->getBindings(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSetLayout_getBindings : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12864,7 +12835,6 @@ static bool js_gfx_DescriptorSetLayout_getDescriptorCount(se::State& s) const unsigned int result = cobj->getDescriptorCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSetLayout_getDescriptorCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12886,7 +12856,6 @@ static bool js_gfx_DescriptorSetLayout_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSetLayout_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -12972,7 +12941,6 @@ static bool js_gfx_Fence_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Fence_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -13085,7 +13053,6 @@ static bool js_gfx_Queue_getType(se::State& s) int result = (int)cobj->getType(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Queue_getType : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13107,7 +13074,6 @@ static bool js_gfx_Queue_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Queue_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -13126,7 +13092,6 @@ static bool js_gfx_Queue_isAsync(se::State& s) bool result = cobj->isAsync(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Queue_isAsync : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13264,7 +13229,6 @@ static bool js_gfx_Sampler_getAddressU(se::State& s) int result = (int)cobj->getAddressU(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressU : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13283,7 +13247,6 @@ static bool js_gfx_Sampler_getAddressV(se::State& s) int result = (int)cobj->getAddressV(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressV : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13302,7 +13265,6 @@ static bool js_gfx_Sampler_getAddressW(se::State& s) int result = (int)cobj->getAddressW(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressW : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13321,7 +13283,6 @@ static bool js_gfx_Sampler_getBorderColor(se::State& s) const cc::gfx::Color& result = cobj->getBorderColor(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getBorderColor : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13340,7 +13301,6 @@ static bool js_gfx_Sampler_getCmpFunc(se::State& s) int result = (int)cobj->getCmpFunc(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getCmpFunc : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13359,7 +13319,6 @@ static bool js_gfx_Sampler_getMagFilter(se::State& s) int result = (int)cobj->getMagFilter(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMagFilter : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13378,7 +13337,6 @@ static bool js_gfx_Sampler_getMaxAnisotropy(se::State& s) unsigned int result = cobj->getMaxAnisotropy(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMaxAnisotropy : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13397,7 +13355,6 @@ static bool js_gfx_Sampler_getMaxLOD(se::State& s) unsigned int result = cobj->getMaxLOD(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMaxLOD : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13416,7 +13373,6 @@ static bool js_gfx_Sampler_getMinFilter(se::State& s) int result = (int)cobj->getMinFilter(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMinFilter : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13435,7 +13391,6 @@ static bool js_gfx_Sampler_getMinLOD(se::State& s) unsigned int result = cobj->getMinLOD(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMinLOD : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13454,7 +13409,6 @@ static bool js_gfx_Sampler_getMipFilter(se::State& s) int result = (int)cobj->getMipFilter(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMipFilter : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13473,7 +13427,6 @@ static bool js_gfx_Sampler_getMipLODBias(se::State& s) float result = cobj->getMipLODBias(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMipLODBias : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13495,7 +13448,6 @@ static bool js_gfx_Sampler_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -13588,7 +13540,6 @@ static bool js_gfx_InputAssembler_getAttributes(se::State& s) const std::vector& result = cobj->getAttributes(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getAttributes : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13607,7 +13558,6 @@ static bool js_gfx_InputAssembler_getAttributesHash(se::State& s) unsigned int result = cobj->getAttributesHash(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getAttributesHash : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13626,7 +13576,6 @@ static bool js_gfx_InputAssembler_getFirstIndex(se::State& s) unsigned int result = cobj->getFirstIndex(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstIndex : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13645,7 +13594,6 @@ static bool js_gfx_InputAssembler_getFirstInstance(se::State& s) unsigned int result = cobj->getFirstInstance(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstInstance : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13664,7 +13612,6 @@ static bool js_gfx_InputAssembler_getFirstVertex(se::State& s) unsigned int result = cobj->getFirstVertex(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstVertex : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13683,7 +13630,6 @@ static bool js_gfx_InputAssembler_getIndexBuffer(se::State& s) cc::gfx::Buffer* result = cobj->getIndexBuffer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndexBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13702,7 +13648,6 @@ static bool js_gfx_InputAssembler_getIndexCount(se::State& s) unsigned int result = cobj->getIndexCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndexCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13721,7 +13666,6 @@ static bool js_gfx_InputAssembler_getIndirectBuffer(se::State& s) cc::gfx::Buffer* result = cobj->getIndirectBuffer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndirectBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13740,7 +13684,6 @@ static bool js_gfx_InputAssembler_getInstanceCount(se::State& s) unsigned int result = cobj->getInstanceCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getInstanceCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13759,7 +13702,6 @@ static bool js_gfx_InputAssembler_getVertexBuffers(se::State& s) const std::vector& result = cobj->getVertexBuffers(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexBuffers : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13778,7 +13720,6 @@ static bool js_gfx_InputAssembler_getVertexCount(se::State& s) unsigned int result = cobj->getVertexCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13797,7 +13738,6 @@ static bool js_gfx_InputAssembler_getVertexOffset(se::State& s) unsigned int result = cobj->getVertexOffset(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexOffset : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13819,7 +13759,6 @@ static bool js_gfx_InputAssembler_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14045,7 +13984,6 @@ static bool js_gfx_RenderPass_getDepthStencilAttachment(se::State& s) const cc::gfx::DepthStencilAttachment& result = cobj->getDepthStencilAttachment(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getDepthStencilAttachment : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14064,7 +14002,6 @@ static bool js_gfx_RenderPass_getHash(se::State& s) unsigned int result = cobj->getHash(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getHash : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14083,7 +14020,6 @@ static bool js_gfx_RenderPass_getSubPasses(se::State& s) const std::vector& result = cobj->getSubPasses(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getSubPasses : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14105,7 +14041,6 @@ static bool js_gfx_RenderPass_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14189,7 +14124,6 @@ static bool js_gfx_Framebuffer_getColorTextures(se::State& s) const std::vector& result = cobj->getColorTextures(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getColorTextures : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14208,7 +14142,6 @@ static bool js_gfx_Framebuffer_getDepthStencilTexture(se::State& s) cc::gfx::Texture* result = cobj->getDepthStencilTexture(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getDepthStencilTexture : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14227,7 +14160,6 @@ static bool js_gfx_Framebuffer_getRenderPass(se::State& s) cc::gfx::RenderPass* result = cobj->getRenderPass(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getRenderPass : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14249,7 +14181,6 @@ static bool js_gfx_Framebuffer_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14333,7 +14264,6 @@ static bool js_gfx_PipelineLayout_getSetLayouts(se::State& s) const std::vector& result = cobj->getSetLayouts(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineLayout_getSetLayouts : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14355,7 +14285,6 @@ static bool js_gfx_PipelineLayout_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineLayout_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14437,7 +14366,6 @@ static bool js_gfx_PipelineState_getBlendState(se::State& s) const cc::gfx::BlendState& result = cobj->getBlendState(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getBlendState : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14456,7 +14384,6 @@ static bool js_gfx_PipelineState_getDepthStencilState(se::State& s) const cc::gfx::DepthStencilState& result = cobj->getDepthStencilState(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getDepthStencilState : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14475,7 +14402,6 @@ static bool js_gfx_PipelineState_getDynamicStates(se::State& s) int result = (int)cobj->getDynamicStates(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getDynamicStates : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14494,7 +14420,6 @@ static bool js_gfx_PipelineState_getInputState(se::State& s) const cc::gfx::InputState& result = cobj->getInputState(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getInputState : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14513,7 +14438,6 @@ static bool js_gfx_PipelineState_getPipelineLayout(se::State& s) const cc::gfx::PipelineLayout* result = cobj->getPipelineLayout(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getPipelineLayout : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14532,7 +14456,6 @@ static bool js_gfx_PipelineState_getPrimitive(se::State& s) int result = (int)cobj->getPrimitive(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getPrimitive : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14551,7 +14474,6 @@ static bool js_gfx_PipelineState_getRasterizerState(se::State& s) const cc::gfx::RasterizerState& result = cobj->getRasterizerState(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getRasterizerState : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14570,7 +14492,6 @@ static bool js_gfx_PipelineState_getRenderPass(se::State& s) const cc::gfx::RenderPass* result = cobj->getRenderPass(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getRenderPass : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14589,7 +14510,6 @@ static bool js_gfx_PipelineState_getShader(se::State& s) cc::gfx::Shader* result = cobj->getShader(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getShader : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14611,7 +14531,6 @@ static bool js_gfx_PipelineState_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14701,7 +14620,6 @@ static bool js_gfx_Texture_getBuffer(se::State& s) unsigned char* result = cobj->getBuffer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14720,7 +14638,6 @@ static bool js_gfx_Texture_getDepth(se::State& s) unsigned int result = cobj->getDepth(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getDepth : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14739,7 +14656,6 @@ static bool js_gfx_Texture_getFlags(se::State& s) int result = (int)cobj->getFlags(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getFlags : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14758,7 +14674,6 @@ static bool js_gfx_Texture_getFormat(se::State& s) int result = (int)cobj->getFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getFormat : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14777,7 +14692,6 @@ static bool js_gfx_Texture_getHeight(se::State& s) unsigned int result = cobj->getHeight(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getHeight : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14796,7 +14710,6 @@ static bool js_gfx_Texture_getLayerCount(se::State& s) unsigned int result = cobj->getLayerCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getLayerCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14815,7 +14728,6 @@ static bool js_gfx_Texture_getLevelCount(se::State& s) unsigned int result = cobj->getLevelCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getLevelCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14834,7 +14746,6 @@ static bool js_gfx_Texture_getSamples(se::State& s) int result = (int)cobj->getSamples(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getSamples : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14853,7 +14764,6 @@ static bool js_gfx_Texture_getSize(se::State& s) unsigned int result = cobj->getSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getSize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14872,7 +14782,6 @@ static bool js_gfx_Texture_getType(se::State& s) int result = (int)cobj->getType(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getType : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14891,7 +14800,6 @@ static bool js_gfx_Texture_getUsage(se::State& s) int result = (int)cobj->getUsage(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getUsage : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14910,7 +14818,6 @@ static bool js_gfx_Texture_getWidth(se::State& s) unsigned int result = cobj->getWidth(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getWidth : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14929,7 +14836,6 @@ static bool js_gfx_Texture_isTextureView(se::State& s) bool result = cobj->isTextureView(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_isTextureView : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15044,7 +14950,6 @@ static bool js_gfx_Shader_getAttributes(se::State& s) const std::vector& result = cobj->getAttributes(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getAttributes : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15063,7 +14968,6 @@ static bool js_gfx_Shader_getBlocks(se::State& s) const std::vector& result = cobj->getBlocks(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getBlocks : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15082,7 +14986,6 @@ static bool js_gfx_Shader_getID(se::State& s) unsigned int result = cobj->getID(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getID : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15101,7 +15004,6 @@ static bool js_gfx_Shader_getName(se::State& s) const cc::String& result = cobj->getName(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getName : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15120,7 +15022,6 @@ static bool js_gfx_Shader_getSamplers(se::State& s) const std::vector& result = cobj->getSamplers(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getSamplers : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15139,7 +15040,6 @@ static bool js_gfx_Shader_getStages(se::State& s) const std::vector& result = cobj->getStages(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getStages : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15161,7 +15061,6 @@ static bool js_gfx_Shader_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15248,7 +15147,6 @@ static bool js_gfx_Device_bindingMappingInfo(se::State& s) const cc::gfx::BindingMappingInfo& result = cobj->bindingMappingInfo(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_bindingMappingInfo : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15271,7 +15169,6 @@ static bool js_gfx_Device_createCommandBuffer(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createCommandBuffer : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15294,7 +15191,6 @@ static bool js_gfx_Device_createDescriptorSet(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createDescriptorSet : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15317,7 +15213,6 @@ static bool js_gfx_Device_createDescriptorSetLayout(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createDescriptorSetLayout : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15340,7 +15235,6 @@ static bool js_gfx_Device_createFence(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createFence : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15363,7 +15257,6 @@ static bool js_gfx_Device_createFramebuffer(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createFramebuffer : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15386,7 +15279,6 @@ static bool js_gfx_Device_createInputAssembler(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createInputAssembler : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15409,7 +15301,6 @@ static bool js_gfx_Device_createPipelineLayout(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createPipelineLayout : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15432,7 +15323,6 @@ static bool js_gfx_Device_createPipelineState(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createPipelineState : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15455,7 +15345,6 @@ static bool js_gfx_Device_createQueue(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createQueue : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15478,7 +15367,6 @@ static bool js_gfx_Device_createRenderPass(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createRenderPass : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15501,7 +15389,6 @@ static bool js_gfx_Device_createSampler(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createSampler : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15524,7 +15411,6 @@ static bool js_gfx_Device_createShader(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createShader : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15558,7 +15444,6 @@ static bool js_gfx_Device_genShaderId(se::State& s) unsigned int result = cobj->genShaderId(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_genShaderId : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15577,7 +15462,6 @@ static bool js_gfx_Device_getClipSpaceMinZ(se::State& s) float result = cobj->getClipSpaceMinZ(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getClipSpaceMinZ : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15596,7 +15480,6 @@ static bool js_gfx_Device_getColorFormat(se::State& s) int result = (int)cobj->getColorFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getColorFormat : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15615,7 +15498,6 @@ static bool js_gfx_Device_getCommandBuffer(se::State& s) cc::gfx::CommandBuffer* result = cobj->getCommandBuffer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getCommandBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15634,7 +15516,6 @@ static bool js_gfx_Device_getContext(se::State& s) cc::gfx::Context* result = cobj->getContext(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getContext : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15653,7 +15534,6 @@ static bool js_gfx_Device_getDepthBits(se::State& s) int result = cobj->getDepthBits(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getDepthBits : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15672,7 +15552,6 @@ static bool js_gfx_Device_getDepthStencilFormat(se::State& s) int result = (int)cobj->getDepthStencilFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getDepthStencilFormat : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15691,7 +15570,6 @@ static bool js_gfx_Device_getDeviceName(se::State& s) const cc::String& result = cobj->getDeviceName(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getDeviceName : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15710,7 +15588,6 @@ static bool js_gfx_Device_getGfxAPI(se::State& s) int result = (int)cobj->getGfxAPI(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getGfxAPI : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15729,7 +15606,6 @@ static bool js_gfx_Device_getHeight(se::State& s) unsigned int result = cobj->getHeight(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getHeight : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15748,7 +15624,6 @@ static bool js_gfx_Device_getMaxCubeMapTextureSize(se::State& s) int result = cobj->getMaxCubeMapTextureSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxCubeMapTextureSize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15767,7 +15642,6 @@ static bool js_gfx_Device_getMaxFragmentUniformVectors(se::State& s) int result = cobj->getMaxFragmentUniformVectors(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxFragmentUniformVectors : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15786,7 +15660,6 @@ static bool js_gfx_Device_getMaxTextureSize(se::State& s) int result = cobj->getMaxTextureSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxTextureSize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15805,7 +15678,6 @@ static bool js_gfx_Device_getMaxTextureUnits(se::State& s) int result = cobj->getMaxTextureUnits(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxTextureUnits : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15824,7 +15696,6 @@ static bool js_gfx_Device_getMaxUniformBlockSize(se::State& s) int result = cobj->getMaxUniformBlockSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxUniformBlockSize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15843,7 +15714,6 @@ static bool js_gfx_Device_getMaxUniformBufferBindings(se::State& s) int result = cobj->getMaxUniformBufferBindings(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxUniformBufferBindings : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15862,7 +15732,6 @@ static bool js_gfx_Device_getMaxVertexAttributes(se::State& s) int result = cobj->getMaxVertexAttributes(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexAttributes : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15881,7 +15750,6 @@ static bool js_gfx_Device_getMaxVertexTextureUnits(se::State& s) int result = cobj->getMaxVertexTextureUnits(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexTextureUnits : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15900,7 +15768,6 @@ static bool js_gfx_Device_getMaxVertexUniformVectors(se::State& s) int result = cobj->getMaxVertexUniformVectors(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexUniformVectors : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15919,7 +15786,6 @@ static bool js_gfx_Device_getMemoryStatus(se::State& s) cc::gfx::MemoryStatus& result = cobj->getMemoryStatus(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMemoryStatus : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15938,7 +15804,6 @@ static bool js_gfx_Device_getNativeHeight(se::State& s) unsigned int result = cobj->getNativeHeight(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNativeHeight : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15957,7 +15822,6 @@ static bool js_gfx_Device_getNativeWidth(se::State& s) unsigned int result = cobj->getNativeWidth(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNativeWidth : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15976,7 +15840,6 @@ static bool js_gfx_Device_getNumDrawCalls(se::State& s) unsigned int result = cobj->getNumDrawCalls(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNumDrawCalls : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15995,7 +15858,6 @@ static bool js_gfx_Device_getNumInstances(se::State& s) unsigned int result = cobj->getNumInstances(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNumInstances : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16014,7 +15876,6 @@ static bool js_gfx_Device_getNumTris(se::State& s) unsigned int result = cobj->getNumTris(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNumTris : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16033,7 +15894,6 @@ static bool js_gfx_Device_getQueue(se::State& s) cc::gfx::Queue* result = cobj->getQueue(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getQueue : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16052,7 +15912,6 @@ static bool js_gfx_Device_getRenderer(se::State& s) const cc::String& result = cobj->getRenderer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getRenderer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16071,7 +15930,6 @@ static bool js_gfx_Device_getScreenSpaceSignY(se::State& s) float result = cobj->getScreenSpaceSignY(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getScreenSpaceSignY : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16090,7 +15948,6 @@ static bool js_gfx_Device_getStencilBits(se::State& s) int result = cobj->getStencilBits(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getStencilBits : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16109,7 +15966,6 @@ static bool js_gfx_Device_getSurfaceTransform(se::State& s) int result = (int)cobj->getSurfaceTransform(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getSurfaceTransform : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16128,7 +15984,6 @@ static bool js_gfx_Device_getUVSpaceSignY(se::State& s) float result = cobj->getUVSpaceSignY(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getUVSpaceSignY : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16147,7 +16002,6 @@ static bool js_gfx_Device_getUboOffsetAlignment(se::State& s) int result = cobj->getUboOffsetAlignment(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getUboOffsetAlignment : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16166,7 +16020,6 @@ static bool js_gfx_Device_getVendor(se::State& s) const cc::String& result = cobj->getVendor(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getVendor : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16185,7 +16038,6 @@ static bool js_gfx_Device_getWidth(se::State& s) unsigned int result = cobj->getWidth(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getWidth : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16207,7 +16059,6 @@ static bool js_gfx_Device_hasFeature(se::State& s) bool result = cobj->hasFeature(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_hasFeature : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -16229,7 +16080,6 @@ static bool js_gfx_Device_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index b685e5c733..6d1fe9a2b6 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/core/Core.h" +#include "cocos\renderer\core\Core.h" extern se::Object* __jsb_cc_gfx_Offset_proto; extern se::Class* __jsb_cc_gfx_Offset_class; diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.cpp b/native/cocos/bindings/auto/jsb_gles2_auto.cpp index 54a0b0ff83..a0c6d5473b 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles2_auto.cpp @@ -46,7 +46,6 @@ static bool js_gles2_GLES2Device_getThreadID(se::State& s) unsigned int result = cobj->getThreadID(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gles2_GLES2Device_getThreadID : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.h b/native/cocos/bindings/auto/jsb_gles2_auto.h index b5a1c46afd..2650b04a5d 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.h +++ b/native/cocos/bindings/auto/jsb_gles2_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/gfx-gles2/GFXGLES2.h" +#include "cocos\renderer\gfx-gles2\GFXGLES2.h" extern se::Object* __jsb_cc_gfx_GLES2Device_proto; extern se::Class* __jsb_cc_gfx_GLES2Device_class; diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.cpp b/native/cocos/bindings/auto/jsb_gles3_auto.cpp index d6965f909f..27549223ed 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles3_auto.cpp @@ -46,7 +46,6 @@ static bool js_gles3_GLES3Device_getThreadID(se::State& s) unsigned int result = cobj->getThreadID(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gles3_GLES3Device_getThreadID : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.h b/native/cocos/bindings/auto/jsb_gles3_auto.h index e2dafa53f8..02cadcc07f 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.h +++ b/native/cocos/bindings/auto/jsb_gles3_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/gfx-gles3/GFXGLES3.h" +#include "cocos\renderer\gfx-gles3\GFXGLES3.h" extern se::Object* __jsb_cc_gfx_GLES3Device_proto; extern se::Class* __jsb_cc_gfx_GLES3Device_class; diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp index 369fe2e0d0..99c28eba7c 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ b/native/cocos/bindings/auto/jsb_mtl_auto.cpp @@ -13,6 +13,42 @@ se::Object* __jsb_cc_gfx_CCMTLDevice_proto = nullptr; se::Class* __jsb_cc_gfx_CCMTLDevice_class = nullptr; +static bool js_mtl_CCMTLDevice_getDSSTexture(se::State& s) +{ + cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getDSSTexture : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + void* result = cobj->getDSSTexture(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getDSSTexture : Error processing arguments"); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_mtl_CCMTLDevice_getDSSTexture) + +static bool js_mtl_CCMTLDevice_getMTLLayer(se::State& s) +{ + cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getMTLLayer : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + void* result = cobj->getMTLLayer(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getMTLLayer : Error processing arguments"); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_mtl_CCMTLDevice_getMTLLayer) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) static bool js_mtl_CCMTLDevice_constructor(se::State& s) // constructor.c @@ -45,6 +81,8 @@ bool js_register_mtl_CCMTLDevice(se::Object* obj) { auto cls = se::Class::create("CCMTLDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_mtl_CCMTLDevice_constructor)); + cls->defineFunction("getDSSTexture", _SE(js_mtl_CCMTLDevice_getDSSTexture)); + cls->defineFunction("getMTLLayer", _SE(js_mtl_CCMTLDevice_getMTLLayer)); cls->defineFinalizeFunction(_SE(js_cc_gfx_CCMTLDevice_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index d7cd9b191c..4e3e9024e4 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/gfx-metal/GFXMTL.h" +#include "cocos\renderer\gfx-metal\GFXMTL.h" extern se::Object* __jsb_cc_gfx_CCMTLDevice_proto; extern se::Class* __jsb_cc_gfx_CCMTLDevice_class; @@ -12,5 +12,7 @@ bool js_register_cc_gfx_CCMTLDevice(se::Object* obj); bool register_all_mtl(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCMTLDevice); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getDSSTexture); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getMTLLayer); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_CCMTLDevice); diff --git a/native/cocos/bindings/auto/jsb_network_auto.h b/native/cocos/bindings/auto/jsb_network_auto.h index 5dd88e9763..a1af584f27 100644 --- a/native/cocos/bindings/auto/jsb_network_auto.h +++ b/native/cocos/bindings/auto/jsb_network_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/network/Downloader.h" +#include "cocos\network\Downloader.h" extern se::Object* __jsb_cc_network_DownloadTask_proto; extern se::Class* __jsb_cc_network_DownloadTask_class; diff --git a/native/cocos/bindings/auto/jsb_video_auto.h b/native/cocos/bindings/auto/jsb_video_auto.h index 7409e55cb1..81422964ea 100644 --- a/native/cocos/bindings/auto/jsb_video_auto.h +++ b/native/cocos/bindings/auto/jsb_video_auto.h @@ -4,7 +4,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/ui/videoplayer/VideoPlayer.h" +#include "cocos\ui\videoplayer\VideoPlayer.h" extern se::Object* __jsb_cc_VideoPlayer_proto; extern se::Class* __jsb_cc_VideoPlayer_class; diff --git a/native/cocos/bindings/auto/jsb_vk_auto.h b/native/cocos/bindings/auto/jsb_vk_auto.h index c85af8e604..f2ea7a086a 100644 --- a/native/cocos/bindings/auto/jsb_vk_auto.h +++ b/native/cocos/bindings/auto/jsb_vk_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/gfx-vulkan/GFXVulkan.h" +#include "cocos\renderer\gfx-vulkan\GFXVulkan.h" extern se::Object* __jsb_cc_gfx_CCVKDevice_proto; extern se::Class* __jsb_cc_gfx_CCVKDevice_class; diff --git a/native/cocos/bindings/auto/jsb_webview_auto.h b/native/cocos/bindings/auto/jsb_webview_auto.h index 70d1eff7ce..3f24a2e190 100644 --- a/native/cocos/bindings/auto/jsb_webview_auto.h +++ b/native/cocos/bindings/auto/jsb_webview_auto.h @@ -4,7 +4,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/ui/webview/WebView.h" +#include "cocos\ui\webview\WebView.h" extern se::Object* __jsb_cc_WebView_proto; extern se::Class* __jsb_cc_WebView_class; diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 88f02efafb..0bdc6fd655 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -5,9 +5,6 @@ #include "base/CachedArray.h" #include "base/StringUtil.h" -#include "threading/CommandEncoder.h" -#include "threading/ThreadPool.h" - #include "gfx/GFXBuffer.h" #include "gfx/GFXCommand.h" #include "gfx/GFXCommandBuffer.h" @@ -26,20 +23,3 @@ #include "gfx/GFXSampler.h" #include "gfx/GFXShader.h" #include "gfx/GFXTexture.h" - -#include "gfx-agent/GFXBufferAgent.h" -#include "gfx-agent/GFXCommandBufferAgent.h" -#include "gfx-agent/GFXDescriptorSetAgent.h" -#include "gfx-agent/GFXDeviceAgent.h" -#include "gfx-agent/GFXFramebufferAgent.h" -#include "gfx-agent/GFXInputAssemblerAgent.h" -#include "gfx-agent/GFXPipelineStateAgent.h" -#include "gfx-agent/GFXQueueAgent.h" -#include "gfx-agent/GFXRenderPassAgent.h" -#include "gfx-agent/GFXShaderAgent.h" -#include "gfx-agent/GFXTextureAgent.h" - -#define CC_JOB_SYSTEM_TASKFLOW 1 -#define CC_JOB_SYSTEM_TBB 2 - -#define CC_JOB_SYSTEM CC_JOB_SYSTEM_TASKFLOW diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 370301d808..3f9625b887 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -17,7 +17,7 @@ public: virtual void destroy() = 0; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) = 0; virtual void end() = 0; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) = 0; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) = 0; virtual void endRenderPass() = 0; virtual void bindPipelineState(PipelineState *pso) = 0; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) = 0; @@ -35,16 +35,21 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) = 0; - CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } - CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } - // secondary command buffer specifics - CC_INLINE void begin(RenderPass *renderPass, uint subpass = 0, Framebuffer *frameBuffer = nullptr) { begin(renderPass, subpass, frameBuffer, -1); } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, nullptr, 0); + CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { + bindDescriptorSet(set, descriptorSet, 0, nullptr); } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs = nullptr, uint32_t count = 0) { beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, cmdBuffs, count); } + + CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } + CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } + // secondary command buffer specifics + CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } + + CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } @@ -52,6 +57,12 @@ public: CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } + CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, false); + } + CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil); + } CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index c7c74df245..9d0ba678d6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES2CommandBuffer::end() { } } -void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { +void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { _isInRenderPass = true; GLES2CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 9be10f740b..d196f191b0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -44,7 +44,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index c17466f43a..c3800c0deb 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1408,6 +1408,10 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR_EXT); break; } + default:; + } + } + } // for if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 3acc3fa674..d04b951ad3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -20,7 +20,7 @@ GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer(Device *device) GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { } -void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { +void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { _isInRenderPass = true; GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index 223bb9d7dc..30a8a4623d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -13,7 +13,7 @@ public: GLES2PrimaryCommandBuffer(Device *device); ~GLES2PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 40d90e3830..06fe0b9f80 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES3CommandBuffer::end() { } } -void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { +void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { _isInRenderPass = true; GLES3CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index f2873a1c36..8a50b96bd0 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -43,7 +43,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 6ebf5e60b8..dcb901a5f4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1516,6 +1516,10 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR); break; } + default:; + } + } + } // for if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 4f49ad2013..66d989045f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -29,8 +29,6 @@ THE SOFTWARE. #import -#import - namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 84838e08a2..18e42f9add 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -20,7 +20,7 @@ GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer(Device *device) GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { } -void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { +void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { _isInRenderPass = true; GLES3GPURenderPass *gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 4ec36a41be..1431fe9683 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -13,7 +13,7 @@ public: GLES3PrimaryCommandBuffer(Device *device); ~GLES3PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index 0e2219256b..d244b5a00e 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -44,6 +44,8 @@ public: virtual void resize(uint size) override; virtual void update(void *buffer, uint offset) override; + void encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages); + CC_INLINE id getMTLBuffer() const { return _mtlBuffer; } CC_INLINE MTLIndexType getIndexType() const { return _indexType; } CC_INLINE bool isDrawIndirectByIndex() const { return _isDrawIndirectByIndex; } diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index 485b33aa96..8d380e596f 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -208,10 +208,8 @@ void CCMTLBuffer::resizeBuffer(uint8_t **buffer, uint size, uint oldSize) { status.bufferSize -= oldSize; } -void CCMTLBuffer::update(void *buffer, uint size) -{ - if (_isBufferView) - { +void CCMTLBuffer::update(void *buffer, uint size) { + if (_isBufferView) { CC_LOG_WARNING("Cannot update a buffer view."); return; } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 5479519e4d..8f081b3c00 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -51,7 +51,7 @@ public: virtual void destroy() override; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index efeaf8b4bd..fbe9ed8849 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -77,30 +77,13 @@ id CCMTLCommandBuffer::getCurrentDrawable() return _currDrawable; } -bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) -{ - const int num = renderPass->getColorRenderTargetNums(); - if (num == 0) - { - return true; - } - const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; - return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; -} - void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; - - cbAutoReleasePool = [[NSAutoreleasePool alloc] init]; - - _isSubCB = renderPass != nullptr; - if (!_isSubCB) - { - // Sub command buffer for parallel shouldn't request any command buffer - _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; - [_mtlCommandBuffer enqueue]; - } + + _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; + [_mtlCommandBuffer retain]; + [_mtlCommandBuffer enqueue]; _numTriangles = 0; _numDrawCalls = 0; _numInstances = 0; @@ -118,30 +101,27 @@ void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; _commandBufferBegan = false; - - // End encoding for sub encoder of a parallel encoder - if (_isSubCB) - { - _commandEncoder.endEncoding(); - } if (_currDrawable) { [_currDrawable release]; _currDrawable = nil; } - [cbAutoReleasePool release]; - cbAutoReleasePool = nullptr; } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) +bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { - // Sub CommandBuffer should call begin render pass - if (_isSubCB) + const int num = renderPass->getColorRenderTargetNums(); + if (num == 0) { - return; + return true; } - + const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; + return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; +} + +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) +{ auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { @@ -203,17 +183,6 @@ void CCMTLCommandBuffer::endRenderPass() } } -void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) -{ - for (uint i = 0; i < count; ++i) - { - auto commandBuffer = static_cast(commandBuffs[i]); - _numDrawCalls += commandBuffer->_numDrawCalls; - _numInstances += commandBuffer->_numInstances; - _numTriangles += commandBuffer->_numTriangles; - } -} - void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) { _gpuPipelineState = static_cast(pso)->getGPUPipelineState(); @@ -468,6 +437,11 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) } } } + + } + else if (_type == CommandBufferType::SECONDARY) + { + CC_LOG_ERROR("CommandBufferType::SECONDARY not implemented."); } else { @@ -564,6 +538,17 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex [encoder endEncoding]; } +void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) +{ + for (uint i = 0; i < count; ++i) + { + auto commandBuffer = static_cast(commandBuffs[i]); + _numDrawCalls += commandBuffer->_numDrawCalls; + _numInstances += commandBuffer->_numInstances; + _numTriangles += commandBuffer->_numTriangles; + } +} + void CCMTLCommandBuffer::bindDescriptorSets() { auto &vertexBuffers = _inputAssembler->getVertexBuffers(); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 21b4fa01b2..098846288b 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -53,22 +53,6 @@ public: using Device::createPipelineState; using Device::copyBuffersToTexture; - using Device::createCommandBuffer; - using Device::createFence; - using Device::createQueue; - using Device::createBuffer; - using Device::createTexture; - using Device::createSampler; - using Device::createShader; - using Device::createInputAssembler; - using Device::createRenderPass; - using Device::createFramebuffer; - using Device::createDescriptorSet; - using Device::createDescriptorSetLayout; - using Device::createPipelineLayout; - using Device::createPipelineState; - using Device::copyBuffersToTexture; - virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; virtual void resize(uint width, uint height) override; @@ -103,20 +87,6 @@ protected: virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - virtual void blitBuffer(void *srcBuffer, uint offset, uint size, void *dstBuffer); - - CC_INLINE CCMTLStateCache *getStateCache() const { return _stateCache; } - CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } - CC_INLINE void *getMTLLayer() const { return _mtlLayer; } - CC_INLINE void *getMTLDevice() const { return _mtlDevice; } - CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } - CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } - CC_INLINE uint getMaximumBufferBindingIndex() const { return _maxBufferBindingIndex; } - CC_INLINE bool isIndirectCommandBufferSupported() const { return _icbSuppored; } - CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } - CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPool; } - CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } - CC_INLINE void *getDSSTexture() const { return _dssTex; } private: void onMemoryWarning(); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 40da997607..66ff45f2a6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -126,7 +126,7 @@ void CCVKCommandBuffer::end() { ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); } -void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { +void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { _curGPUFBO = ((CCVKFramebuffer *)fbo)->gpuFBO(); CCVKGPURenderPass *gpuRenderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass(); VkFramebuffer framebuffer = _curGPUFBO->vkFramebuffer; @@ -172,7 +172,7 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo passBeginInfo.clearValueCount = clearValues.size(); passBeginInfo.pClearValues = clearValues.data(); passBeginInfo.renderArea = {{(int)renderArea.x, (int)renderArea.y}, {renderArea.width, renderArea.height}}; - vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, + vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, fromSecondaryCB ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); if (!fromSecondaryCB) { diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 15dd88a555..fa78142f4c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -42,7 +42,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index b191d77869..c59d0a9d6c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -385,6 +385,33 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS VK_CHECK(vkCreateDescriptorSetLayout(gpuDevice->vkDevice, &setCreateInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorSetLayout)); gpuDescriptorSetLayout->pool.link(gpuDevice, gpuDescriptorSetLayout->maxSetsPerPool, gpuDescriptorSetLayout->vkBindings, gpuDescriptorSetLayout->vkDescriptorSetLayout); + + if (gpuDevice->useDescriptorUpdateTemplate) { + const vector &bindings = gpuDescriptorSetLayout->vkBindings; + uint bindingCount = bindings.size(); + if (!bindingCount) return; + + vector entries(bindingCount); + for (size_t j = 0u, k = 0u; j < bindingCount; j++) { + const VkDescriptorSetLayoutBinding &binding = bindings[j]; + if (binding.descriptorType != VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) { + entries[j].dstBinding = binding.binding; + entries[j].dstArrayElement = 0; + entries[j].descriptorCount = binding.descriptorCount; + entries[j].descriptorType = binding.descriptorType; + entries[j].offset = sizeof(CCVKDescriptorInfo) * k; + entries[j].stride = sizeof(CCVKDescriptorInfo); + k += binding.descriptorCount; + } // TODO: inline UBOs + } + + VkDescriptorUpdateTemplateCreateInfo createInfo = {VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO}; + createInfo.descriptorUpdateEntryCount = bindingCount; + createInfo.pDescriptorUpdateEntries = entries.data(); + createInfo.templateType = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET; + createInfo.descriptorSetLayout = gpuDescriptorSetLayout->vkDescriptorSetLayout; + VK_CHECK(vkCreateDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, &createInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate)); + } } void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout) { @@ -842,11 +869,6 @@ void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer } void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *gpuDevice, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { - if (gpuDescriptorSetLayout->defaultDescriptorSet != VK_NULL_HANDLE) { - gpuDescriptorSetLayout->pool.yield(gpuDescriptorSetLayout->defaultDescriptorSet); - gpuDescriptorSetLayout->defaultDescriptorSet = VK_NULL_HANDLE; - } - if (gpuDescriptorSetLayout->vkDescriptorUpdateTemplate != VK_NULL_HANDLE) { vkDestroyDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, gpuDescriptorSetLayout->vkDescriptorUpdateTemplate, nullptr); gpuDescriptorSetLayout->vkDescriptorUpdateTemplate = VK_NULL_HANDLE; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 081a90a64c..c3a14b548a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -47,7 +47,6 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { _layout = info.layout->getSetLayouts()[info.setIndex]; - CCVKGPUPipelineLayout *gpuPipelineLayout = ((CCVKPipelineLayout *)info.layout)->gpuPipelineLayout(); CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const uint bindingCount = gpuDescriptorSetLayout->bindings.size(); const uint descriptorCount = gpuDescriptorSetLayout->descriptorCount; @@ -68,13 +67,15 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { CCVKGPUDevice *gpuDevice = ((CCVKDevice *)_device)->gpuDevice(); if (gpuDevice->useDescriptorUpdateTemplate) { - _gpuDescriptorSet->pUpdateTemplate = &gpuPipelineLayout->vkDescriptorUpdateTemplates[info.setIndex]; + _gpuDescriptorSet->pUpdateTemplate = &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate; } _gpuDescriptorSet->instances.resize(gpuDevice->backBufferCount); for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { CCVKGPUDescriptorSet::DescriptorSetInstance &instance = _gpuDescriptorSet->instances[t]; - instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); + if (bindingCount) { // don't create resources if not needed + instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); + } instance.descriptorInfos.resize(descriptorCount, {}); for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { @@ -155,7 +156,7 @@ void CCVKDescriptorSet::destroy() { } } - if (gpuDescriptorSetLayout) { + if (gpuDescriptorSetLayout && instance.vkDescriptorSet) { gpuDescriptorSetLayout->pool.yield(instance.vkDescriptorSet); } } diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index d962232654..3ddd4ace8b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -302,9 +302,6 @@ public: uint curBackBufferIndex = 0u; uint backBufferCount = 3u; - uint curBackBufferIndex = 0u; - uint backBufferCount = 3u; - bool useDescriptorUpdateTemplate = false; bool useMultiDrawIndirect = false; @@ -316,10 +313,10 @@ public: CCVKGPUSwapchain *swapchain = nullptr; // reference - /* */ + /* * using CommandBufferPools = tbb::concurrent_unordered_map< std::thread::id, CCVKGPUCommandBufferPool *, std::hash>; - /* * + /* */ using CommandBufferPools = unordered_map; std::mutex mutex; /* */ @@ -528,6 +525,7 @@ public: vector vkBindings; VkDescriptorSetLayout vkDescriptorSetLayout = VK_NULL_HANDLE; + VkDescriptorUpdateTemplate vkDescriptorUpdateTemplate = VK_NULL_HANDLE; vector bindingIndices; vector descriptorIndices; @@ -566,13 +564,6 @@ public: return hash & ((1 << 10) - 1); } - CC_INLINE uint getHash(uint queueFamilyIndex) { - return (queueFamilyIndex << 10) | _device->curBackBufferIndex; - } - CC_INLINE uint getBackBufferIndex(uint hash) { - return hash & ((1 << 10) - 1); - } - void request(CCVKGPUCommandBuffer *gpuCommandBuffer) { uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); @@ -905,6 +896,33 @@ private: } } + void erase(CCVKGPUBuffer *gpuBuffer) { + for (uint i = 0u; i < _device->backBufferCount; ++i) { + if (_buffersToBeUpdated[i].count(gpuBuffer)) { + _buffersToBeUpdated[i].erase(gpuBuffer); + } + } + } + + void flush() { + unordered_map &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; + for (unordered_map::iterator it = buffers.begin(); it != buffers.end(); ++it) { + update(it->first, it->second.src, it->second.size); + } + buffers.clear(); + } + +private: + struct BufferUpdate { + const void *src = nullptr; + size_t size = 0u; + }; + uint8_t *update(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { + uint8_t *dst = gpuBuffer->mappedData + _device->curBackBufferIndex * gpuBuffer->instanceSize; + memcpy(dst, src, size); + return dst; + } + CCVKGPUDevice *_device = nullptr; vector> _setsToBeUpdated; }; From 3d80ca5670b11e565464be66f08c78dce12c2a38 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 24 Dec 2020 18:50:04 +0800 Subject: [PATCH 081/270] adapt --- native/cocos/bindings/auto/jsb_audio_auto.h | 2 +- native/cocos/bindings/auto/jsb_cocos_auto.h | 2 +- .../cocos/bindings/auto/jsb_extension_auto.h | 2 +- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 4 +-- native/cocos/bindings/auto/jsb_gfx_auto.h | 2 +- native/cocos/bindings/auto/jsb_gles2_auto.h | 2 +- native/cocos/bindings/auto/jsb_gles3_auto.h | 2 +- native/cocos/bindings/auto/jsb_mtl_auto.h | 2 +- native/cocos/bindings/auto/jsb_network_auto.h | 2 +- native/cocos/bindings/auto/jsb_video_auto.h | 2 +- native/cocos/bindings/auto/jsb_vk_auto.h | 2 +- native/cocos/bindings/auto/jsb_webview_auto.h | 2 +- .../renderer/core/gfx/GFXCommandBuffer.h | 6 ++-- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 5 ++-- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 4 ++- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 5 ++-- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 4 ++- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 8 ++--- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 29 +++++++++---------- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 9 ++++++ .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 4 +-- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 26 ++++++++--------- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 21 +++++++++----- 23 files changed, 80 insertions(+), 67 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_audio_auto.h b/native/cocos/bindings/auto/jsb_audio_auto.h index 5487be5e79..bca7e300f4 100644 --- a/native/cocos/bindings/auto/jsb_audio_auto.h +++ b/native/cocos/bindings/auto/jsb_audio_auto.h @@ -4,7 +4,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\audio\include\AudioEngine.h" +#include "cocos/audio/include/AudioEngine.h" extern se::Object* __jsb_cc_AudioProfile_proto; extern se::Class* __jsb_cc_AudioProfile_class; diff --git a/native/cocos/bindings/auto/jsb_cocos_auto.h b/native/cocos/bindings/auto/jsb_cocos_auto.h index 3151ee1180..cce293e62b 100644 --- a/native/cocos/bindings/auto/jsb_cocos_auto.h +++ b/native/cocos/bindings/auto/jsb_cocos_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\cocos2d.h" +#include "cocos/cocos2d.h" extern se::Object* __jsb_cc_FileUtils_proto; extern se::Class* __jsb_cc_FileUtils_class; diff --git a/native/cocos/bindings/auto/jsb_extension_auto.h b/native/cocos/bindings/auto/jsb_extension_auto.h index 6d392f0471..dcfd3d411f 100644 --- a/native/cocos/bindings/auto/jsb_extension_auto.h +++ b/native/cocos/bindings/auto/jsb_extension_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "extensions\cocos-ext.h" +#include "extensions/cocos-ext.h" extern se::Object* __jsb_cc_extension_EventAssetsManagerEx_proto; extern se::Class* __jsb_cc_extension_EventAssetsManagerEx_class; diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index fde8dd6dba..dfa20088a0 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -11595,7 +11595,7 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) HolderType arg0 = {}; HolderType arg1 = {}; HolderType arg2 = {}; - HolderType arg3 = {}; + HolderType arg3 = {}; HolderType arg4 = {}; HolderType arg5 = {}; @@ -11649,7 +11649,7 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) HolderType arg0 = {}; HolderType arg1 = {}; HolderType arg2 = {}; - HolderType arg3 = {}; + HolderType arg3 = {}; HolderType arg4 = {}; HolderType arg5 = {}; diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index 6d1fe9a2b6..b685e5c733 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\renderer\core\Core.h" +#include "cocos/renderer/core/Core.h" extern se::Object* __jsb_cc_gfx_Offset_proto; extern se::Class* __jsb_cc_gfx_Offset_class; diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.h b/native/cocos/bindings/auto/jsb_gles2_auto.h index 2650b04a5d..b5a1c46afd 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.h +++ b/native/cocos/bindings/auto/jsb_gles2_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\renderer\gfx-gles2\GFXGLES2.h" +#include "cocos/renderer/gfx-gles2/GFXGLES2.h" extern se::Object* __jsb_cc_gfx_GLES2Device_proto; extern se::Class* __jsb_cc_gfx_GLES2Device_class; diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.h b/native/cocos/bindings/auto/jsb_gles3_auto.h index 02cadcc07f..e2dafa53f8 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.h +++ b/native/cocos/bindings/auto/jsb_gles3_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\renderer\gfx-gles3\GFXGLES3.h" +#include "cocos/renderer/gfx-gles3/GFXGLES3.h" extern se::Object* __jsb_cc_gfx_GLES3Device_proto; extern se::Class* __jsb_cc_gfx_GLES3Device_class; diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index 4e3e9024e4..6d5b51906f 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\renderer\gfx-metal\GFXMTL.h" +#include "cocos/renderer/gfx-metal/GFXMTL.h" extern se::Object* __jsb_cc_gfx_CCMTLDevice_proto; extern se::Class* __jsb_cc_gfx_CCMTLDevice_class; diff --git a/native/cocos/bindings/auto/jsb_network_auto.h b/native/cocos/bindings/auto/jsb_network_auto.h index a1af584f27..5dd88e9763 100644 --- a/native/cocos/bindings/auto/jsb_network_auto.h +++ b/native/cocos/bindings/auto/jsb_network_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\network\Downloader.h" +#include "cocos/network/Downloader.h" extern se::Object* __jsb_cc_network_DownloadTask_proto; extern se::Class* __jsb_cc_network_DownloadTask_class; diff --git a/native/cocos/bindings/auto/jsb_video_auto.h b/native/cocos/bindings/auto/jsb_video_auto.h index 81422964ea..7409e55cb1 100644 --- a/native/cocos/bindings/auto/jsb_video_auto.h +++ b/native/cocos/bindings/auto/jsb_video_auto.h @@ -4,7 +4,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\ui\videoplayer\VideoPlayer.h" +#include "cocos/ui/videoplayer/VideoPlayer.h" extern se::Object* __jsb_cc_VideoPlayer_proto; extern se::Class* __jsb_cc_VideoPlayer_class; diff --git a/native/cocos/bindings/auto/jsb_vk_auto.h b/native/cocos/bindings/auto/jsb_vk_auto.h index f2ea7a086a..c85af8e604 100644 --- a/native/cocos/bindings/auto/jsb_vk_auto.h +++ b/native/cocos/bindings/auto/jsb_vk_auto.h @@ -3,7 +3,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\renderer\gfx-vulkan\GFXVulkan.h" +#include "cocos/renderer/gfx-vulkan/GFXVulkan.h" extern se::Object* __jsb_cc_gfx_CCVKDevice_proto; extern se::Class* __jsb_cc_gfx_CCVKDevice_class; diff --git a/native/cocos/bindings/auto/jsb_webview_auto.h b/native/cocos/bindings/auto/jsb_webview_auto.h index 3f24a2e190..70d1eff7ce 100644 --- a/native/cocos/bindings/auto/jsb_webview_auto.h +++ b/native/cocos/bindings/auto/jsb_webview_auto.h @@ -4,7 +4,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos\ui\webview\WebView.h" +#include "cocos/ui/webview/WebView.h" extern se::Object* __jsb_cc_WebView_proto; extern se::Class* __jsb_cc_WebView_class; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 3f9625b887..d07c83945a 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -57,12 +57,12 @@ public: CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, false); - } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil); } + CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, false); + } CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 9d0ba678d6..3c534fbf9b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -360,11 +360,12 @@ void GLES2CommandBuffer::BindStates() { cmd->gpuDescriptorSets = _curGPUDescriptorSets; vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); + count = std::min(count, _curDynamicOffsets[i].size()); + if (count) memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } cmd->viewport = _curViewport; diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index d04b951ad3..57e536135c 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -43,7 +43,9 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); + count = std::min(count, _curDynamicOffsets[i].size()); + if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } GLES2CmdFuncBindState((GLES2Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 06fe0b9f80..e03800fdda 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -367,11 +367,12 @@ void GLES3CommandBuffer::BindStates() { cmd->gpuDescriptorSets = _curGPUDescriptorSets; vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); + count = std::min(count, _curDynamicOffsets[i].size()); + if (count) memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } cmd->viewport = _curViewport; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 18e42f9add..0769bd4828 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -43,7 +43,9 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); + count = std::min(count, _curDynamicOffsets[i].size()); + if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index 8d380e596f..ca6ffdaeea 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -242,9 +242,7 @@ void CCMTLBuffer::update(void *buffer, uint size) { ++drawInfo; } updateMTLBuffer(_indexedPrimitivesIndirectArguments.data(), 0, drawInfoCount * stride); - } - else - { + } else { _isDrawIndirectByIndex = false; uint stride = sizeof(MTLDrawIndexedPrimitivesIndirectArguments); @@ -266,9 +264,7 @@ void CCMTLBuffer::update(void *buffer, uint size) { { memcpy(_drawInfos.data(), buffer, size); } - } - else - { + } else { updateMTLBuffer(buffer, 0, size); } } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 66ff45f2a6..bc1c69f51c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -438,20 +438,16 @@ void CCVKCommandBuffer::bindDescriptorSets() { CCVKDevice *device = (CCVKDevice *)_device; CCVKGPUDevice *gpuDevice = device->gpuDevice(); CCVKGPUPipelineLayout *pipelineLayout = _curGPUPipelineState->gpuPipelineLayout; + vector &dynamicOffsetOffsets = pipelineLayout->dynamicOffsetOffsets; + uint descriptorSetCount = pipelineLayout->setLayouts.size(); + _curDynamicOffsets.resize(pipelineLayout->dynamicOffsetCount); - uint dirtyDescriptorSetCount = _curGPUDescriptorSets.size() - _firstDirtyDescriptorSet; - uint dynamicOffsetStartIndex = pipelineLayout->dynamicOffsetOffsets[_firstDirtyDescriptorSet]; - uint dynamicOffsetCount = pipelineLayout->dynamicOffsetCount - dynamicOffsetStartIndex; - _curDynamicOffsets.resize(dynamicOffsetCount); - uint *dynamicOffsets = _curDynamicOffsets.data(); - for (uint i = 0u, offsetAcc = 0u; i < dirtyDescriptorSetCount; i++) { - uint set = _firstDirtyDescriptorSet + i; - _curVkDescriptorSets[set] = _curGPUDescriptorSets[set]->instances[gpuDevice->curBackBufferIndex].vkDescriptorSet; - uint offsetCount = pipelineLayout->dynamicOffsetOffsets[set + 1] - dynamicOffsetStartIndex; - CCASSERT(_curDynamicOffsetCounts[set] == offsetCount, "dynamic offset count mismatch"); - if (offsetCount > 0) { - memcpy(dynamicOffsets + offsetAcc, _curDynamicOffsetPtrs[set], offsetCount * sizeof(uint)); - offsetAcc += offsetCount; + uint dirtyDescriptorSetCount = descriptorSetCount - _firstDirtyDescriptorSet; + for (uint i = _firstDirtyDescriptorSet; i < descriptorSetCount; ++i) { + if (_curGPUDescriptorSets[i]) { + _curVkDescriptorSets[i] = _curGPUDescriptorSets[i]->instances[gpuDevice->curBackBufferIndex].vkDescriptorSet; + } else { + _curVkDescriptorSets[i] = pipelineLayout->setLayouts[i]->defaultDescriptorSet; } uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsetCounts[i] >= count, "missing dynamic offsets?"); @@ -459,12 +455,15 @@ void CCVKCommandBuffer::bindDescriptorSets() { if (count > 0) memcpy(&_curDynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsetPtrs[i], count * sizeof(uint)); } + uint dynamicOffsetStartIndex = dynamicOffsetOffsets[_firstDirtyDescriptorSet]; + uint dynamicOffsetEndIndex = dynamicOffsetOffsets[_firstDirtyDescriptorSet + dirtyDescriptorSetCount]; + uint dynamicOffsetCount = dynamicOffsetEndIndex - dynamicOffsetStartIndex; vkCmdBindDescriptorSets(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout->vkPipelineLayout, _firstDirtyDescriptorSet, dirtyDescriptorSetCount, &_curVkDescriptorSets[_firstDirtyDescriptorSet], - dynamicOffsetCount, dynamicOffsets); - + dynamicOffsetCount, &_curDynamicOffsetCounts[dynamicOffsetStartIndex]); + _firstDirtyDescriptorSet = UINT_MAX; } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index c59d0a9d6c..b71306a589 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -199,8 +199,10 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY; } else if (gpuBuffer->memUsage == (MemoryUsage::HOST | MemoryUsage::DEVICE)) { + /* * gpuBuffer->instanceSize = roundUp(gpuBuffer->size, device->getUboOffsetAlignment()); bufferInfo.size = gpuBuffer->instanceSize * device->gpuDevice()->backBufferCount; + /* */ allocInfo.flags = VMA_ALLOCATION_CREATE_MAPPED_BIT; allocInfo.usage = VMA_MEMORY_USAGE_CPU_TO_GPU; } @@ -386,6 +388,8 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS gpuDescriptorSetLayout->pool.link(gpuDevice, gpuDescriptorSetLayout->maxSetsPerPool, gpuDescriptorSetLayout->vkBindings, gpuDescriptorSetLayout->vkDescriptorSetLayout); + gpuDescriptorSetLayout->defaultDescriptorSet = gpuDescriptorSetLayout->pool.request(); + if (gpuDevice->useDescriptorUpdateTemplate) { const vector &bindings = gpuDescriptorSetLayout->vkBindings; uint bindingCount = bindings.size(); @@ -869,6 +873,11 @@ void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer } void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *gpuDevice, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { + if (gpuDescriptorSetLayout->defaultDescriptorSet != VK_NULL_HANDLE) { + gpuDescriptorSetLayout->pool.yield(gpuDescriptorSetLayout->defaultDescriptorSet); + gpuDescriptorSetLayout->defaultDescriptorSet = VK_NULL_HANDLE; + } + if (gpuDescriptorSetLayout->vkDescriptorUpdateTemplate != VK_NULL_HANDLE) { vkDestroyDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, gpuDescriptorSetLayout->vkDescriptorUpdateTemplate, nullptr); gpuDescriptorSetLayout->vkDescriptorUpdateTemplate = VK_NULL_HANDLE; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index c3a14b548a..5d7013a9a1 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -73,9 +73,7 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { CCVKGPUDescriptorSet::DescriptorSetInstance &instance = _gpuDescriptorSet->instances[t]; - if (bindingCount) { // don't create resources if not needed - instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); - } + instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); instance.descriptorInfos.resize(descriptorCount, {}); for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index c8d6bf9a94..909dc15fa4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -490,16 +490,6 @@ void CCVKDevice::acquire() { assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); - uint fenceCount = gpuFencePool()->size(); - if (fenceCount) { - VK_CHECK(vkWaitForFences(_gpuDevice->vkDevice, fenceCount, - gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); - } - - gpuFencePool()->reset(); - gpuRecycleBin()->clear(); - gpuStagingBufferPool()->reset(); - queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; queue->gpuQueue()->nextSignalSemaphore = _gpuSemaphorePool->alloc(); } @@ -524,12 +514,22 @@ void CCVKDevice::present() { #endif _gpuDevice->curBackBufferIndex = (_gpuDevice->curBackBufferIndex + 1) % _gpuDevice->backBufferCount; + + uint fenceCount = gpuFencePool()->size(); + if (fenceCount) { + VK_CHECK(vkWaitForFences(_gpuDevice->vkDevice, fenceCount, + gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); + } + + gpuFencePool()->reset(); + gpuRecycleBin()->clear(); + gpuStagingBufferPool()->reset(); } } -CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuSwapchain->curImageIndex]; } -CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuSwapchain->curImageIndex]; } -CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuSwapchain->curImageIndex]; } +CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuDevice->curBackBufferIndex]; } +CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuDevice->curBackBufferIndex]; } +CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { return CC_NEW(CCVKCommandBuffer(this)); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 3ddd4ace8b..51b0c2385a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -449,6 +449,11 @@ public: typeMap[vkBinding.descriptorType] += maxSetsPerPool * vkBinding.descriptorCount; } + // minimal reserve for empty set layouts + if (!bindings.size()) { + typeMap[VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER] = 1; + } + _poolSizes.clear(); for (unordered_map::iterator it = typeMap.begin(); it != typeMap.end(); it++) { _poolSizes.push_back({it->first, it->second}); @@ -526,6 +531,7 @@ public: vector vkBindings; VkDescriptorSetLayout vkDescriptorSetLayout = VK_NULL_HANDLE; VkDescriptorUpdateTemplate vkDescriptorUpdateTemplate = VK_NULL_HANDLE; + VkDescriptorSet defaultDescriptorSet = VK_NULL_HANDLE; vector bindingIndices; vector descriptorIndices; @@ -568,12 +574,7 @@ public: uint hash = getHash(gpuCommandBuffer->queueFamilyIndex); if (_device->curBackBufferIndex != _lastBackBufferIndex) { - // don't reset before acquire or the in-flight cbs are not finished yet. - // this imposes an implicit assumption: commands recorded before acquire - // can only be a low-frequency operation, or else the comman pool would never get reset. - if (_device->curBackBufferIndex == _device->swapchain->curImageIndex) { - reset(); // has to be called in the same thread as cb allocations so can't do this in device - } + reset(); _lastBackBufferIndex = _device->curBackBufferIndex; } @@ -861,7 +862,9 @@ public: void record(CCVKGPUDescriptorSet *gpuDescriptorSet) { update(gpuDescriptorSet); for (uint i = 0u; i < _device->backBufferCount; ++i) { - if (i != _device->curBackBufferIndex) { + if (i == _device->curBackBufferIndex) { + _setsToBeUpdated[i].erase(gpuDescriptorSet); + } else { _setsToBeUpdated[i].insert(gpuDescriptorSet); } } @@ -940,7 +943,9 @@ public: void record(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { src = update(gpuBuffer, src, size); // copy from self afterwards for (uint i = 0u; i < _device->backBufferCount; ++i) { - if (i != _device->curBackBufferIndex) { + if (i == _device->curBackBufferIndex) { + _buffersToBeUpdated[i].erase(gpuBuffer); + } else { _buffersToBeUpdated[i][gpuBuffer] = {src, size}; } } From 63e09cb8ffb8047b88e66bcaf5f01a5bc99026ce Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 25 Dec 2020 15:43:32 +0800 Subject: [PATCH 082/270] restore mtl device --- native/cocos/bindings/auto/jsb_mtl_auto.cpp | 38 ------------------- native/cocos/bindings/auto/jsb_mtl_auto.h | 2 - native/cocos/renderer/gfx-gles2/GLES2Device.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 4 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 23 ++--------- native/cocos/renderer/gfx-metal/MTLContext.mm | 9 ++--- native/cocos/renderer/gfx-metal/MTLDevice.h | 6 +-- native/cocos/renderer/gfx-metal/MTLDevice.mm | 31 ++++----------- 8 files changed, 19 insertions(+), 96 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp index 99c28eba7c..369fe2e0d0 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ b/native/cocos/bindings/auto/jsb_mtl_auto.cpp @@ -13,42 +13,6 @@ se::Object* __jsb_cc_gfx_CCMTLDevice_proto = nullptr; se::Class* __jsb_cc_gfx_CCMTLDevice_class = nullptr; -static bool js_mtl_CCMTLDevice_getDSSTexture(se::State& s) -{ - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getDSSTexture : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - void* result = cobj->getDSSTexture(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getDSSTexture : Error processing arguments"); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_mtl_CCMTLDevice_getDSSTexture) - -static bool js_mtl_CCMTLDevice_getMTLLayer(se::State& s) -{ - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getMTLLayer : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - void* result = cobj->getMTLLayer(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getMTLLayer : Error processing arguments"); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_mtl_CCMTLDevice_getMTLLayer) - SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) static bool js_mtl_CCMTLDevice_constructor(se::State& s) // constructor.c @@ -81,8 +45,6 @@ bool js_register_mtl_CCMTLDevice(se::Object* obj) { auto cls = se::Class::create("CCMTLDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_mtl_CCMTLDevice_constructor)); - cls->defineFunction("getDSSTexture", _SE(js_mtl_CCMTLDevice_getDSSTexture)); - cls->defineFunction("getMTLLayer", _SE(js_mtl_CCMTLDevice_getMTLLayer)); cls->defineFinalizeFunction(_SE(js_cc_gfx_CCMTLDevice_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index 6d5b51906f..d7cd9b191c 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -12,7 +12,5 @@ bool js_register_cc_gfx_CCMTLDevice(se::Object* obj); bool register_all_mtl(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCMTLDevice); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getDSSTexture); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getMTLLayer); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_CCMTLDevice); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 75a0b3d647..958e73e189 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -121,7 +121,7 @@ private: bool _useInstancedArrays = false; bool _useDiscardFramebuffer = false; - uint _threadID; + uint _threadID = 0u; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 8f081b3c00..9597ddd48d 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -87,10 +87,10 @@ private: bool _commandBufferBegan = false; bool _isSubCB = false; CCMTLDevice *_mtlDevice = nullptr; - id _currDrawable = nil; +// id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; - id _parallelEncoder = nil; + MTKView *_mtkView = nil; CCMTLRenderCommandEncoder _commandEncoder; CCMTLInputAssembler *_inputAssembler = nullptr; MTLIndexType _indexType = MTLIndexTypeUInt16; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index fbe9ed8849..964b9b8127 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -49,6 +49,7 @@ CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) : CommandBuffer(device) , _mtlDevice((CCMTLDevice *)device) , _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())) +, _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) { const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); _GPUDescriptorSets.resize(setCount); @@ -67,16 +68,6 @@ void CCMTLCommandBuffer::destroy() { } -id CCMTLCommandBuffer::getCurrentDrawable() -{ - if (!_currDrawable) - { - CAMetalLayer *layer = (CAMetalLayer*)_mtlDevice->getMTLLayer(); - _currDrawable = [[layer nextDrawable] retain]; - } - return _currDrawable; -} - void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; @@ -101,12 +92,6 @@ void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; _commandBufferBegan = false; - - if (_currDrawable) - { - [_currDrawable release]; - _currDrawable = nil; - } } bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) @@ -125,10 +110,8 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { - id drawable = getCurrentDrawable(); - id dssTex = (id)_mtlDevice->getDSSTexture(); - static_cast(renderPass)->setColorAttachment(0, drawable.texture, 0); - static_cast(renderPass)->setDepthStencilAttachment(dssTex, 0); + static_cast(renderPass)->setColorAttachment(0, _mtkView.currentDrawable.texture, 0); + static_cast(renderPass)->setDepthStencilAttachment(_mtkView.depthStencilTexture, 0); } MTLRenderPassDescriptor *mtlRenderPassDescriptor = static_cast(renderPass)->getMTLRenderPassDescriptor(); if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) diff --git a/native/cocos/renderer/gfx-metal/MTLContext.mm b/native/cocos/renderer/gfx-metal/MTLContext.mm index 48aa2df28d..2b2144c754 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.mm +++ b/native/cocos/renderer/gfx-metal/MTLContext.mm @@ -54,12 +54,9 @@ CCMTLContext::CCMTLContext(Device *device) bool CCMTLContext::initialize(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; - - CCMTLDevice *device = (CCMTLDevice *)_device; - CAMetalLayer *layer = (CAMetalLayer *)device->getMTLLayer(); - _colorFmt = toFormat(layer.pixelFormat); - id dssTex = (id)device->getDSSTexture(); - _depthStencilFmt = toFormat(dssTex.pixelFormat); + MTKView *view = (MTKView *)((CCMTLDevice *)_device)->getMTKView(); + _colorFmt = toFormat(view.colorPixelFormat); + _depthStencilFmt = toFormat(view.depthStencilPixelFormat); return true; } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 098846288b..6b232a831c 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -60,7 +60,7 @@ public: virtual void present() override; CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } - CC_INLINE void *getMTLLayer() const { return _mtlLayer; } + CC_INLINE void *getMTKView() const { return _mtkView; } CC_INLINE void *getMTLDevice() const { return _mtlDevice; } CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } @@ -69,7 +69,6 @@ public: CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } - CC_INLINE void *getDSSTexture() const { return _dssTex; } protected: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; @@ -93,10 +92,9 @@ private: private: void *_mtlCommandQueue = nullptr; + void *_mtkView = nullptr; void *_mtlDevice = nullptr; - void *_mtlLayer = nullptr; unsigned long _mtlFeatureSet = 0; - void *_dssTex = nullptr; uint _maxSamplerUnits = 0; uint _maxColorRenderTargets = 0; uint _maxBufferBindingIndex = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 6b63b48eb6..98df024da4 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -80,14 +80,8 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _inFlightSemaphore = CC_NEW(CCMTLSemaphore(MAX_FRAMES_IN_FLIGHT)); _currentFrameIndex = 0; -#if CC_PLATFORM == CC_PLATFORM_MAC_OSX - NSView *view = (NSView *)_windowHandle; -#else - UIView *view = (UIView *)_windowHandle; -#endif - CAMetalLayer *layer = static_cast(view.layer); - _mtlLayer = layer; - id mtlDevice = (id)layer.device; + _mtkView = (MTKView *)_windowHandle; + id mtlDevice = ((MTKView *)_mtkView).device; _mtlDevice = mtlDevice; _mtlCommandQueue = [mtlDevice newCommandQueue]; @@ -104,19 +98,10 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _uboOffsetAlignment = mu::getMinBufferOffsetAlignment(gpuFamily); _icbSuppored = mu::isIndirectCommandBufferSupported(MTLFeatureSet(_mtlFeatureSet)); _isSamplerDescriptorCompareFunctionSupported = mu::isSamplerDescriptorCompareFunctionSupported(gpuFamily); - if (layer.pixelFormat == MTLPixelFormatInvalid) - { - layer.pixelFormat = MTLPixelFormatBGRA8Unorm; - } + MTKView *view = static_cast(_mtkView); + if (view.colorPixelFormat == MTLPixelFormatInvalid) view.colorPixelFormat = MTLPixelFormatBGRA8Unorm; + view.depthStencilPixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); - // Persistent depth stencil texture - MTLTextureDescriptor *dssDescriptor = [[MTLTextureDescriptor alloc] init]; - dssDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); - dssDescriptor.width = info.width; - dssDescriptor.height = info.height; - dssDescriptor.storageMode = MTLStorageModePrivate; - dssDescriptor.usage = MTLTextureUsageRenderTarget; - _dssTex = [mtlDevice newTextureWithDescriptor:dssDescriptor]; _stencilBits = 8; ContextInfo contextCreateInfo; @@ -226,9 +211,9 @@ void CCMTLDevice::present() { CCMTLGPUStagingBufferPool *bufferPool = _gpuStagingBufferPools[_currentFrameIndex]; _currentFrameIndex = (_currentFrameIndex + 1) % MAX_FRAMES_IN_FLIGHT; - auto cmdBuff = static_cast(_cmdBuff); - auto mtlCommandBuffer = cmdBuff->getMTLCommandBuffer(); - [mtlCommandBuffer presentDrawable:cmdBuff->getCurrentDrawable()]; + auto mtlCommandBuffer = static_cast(_cmdBuff)->getMTLCommandBuffer(); + auto mtkView = static_cast(_mtkView); + [mtlCommandBuffer presentDrawable:mtkView.currentDrawable]; [mtlCommandBuffer addCompletedHandler:^(id commandBuffer) { [commandBuffer release]; bufferPool->reset(); From fe39179462f66b9332eea3789eb37774d7943219 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 25 Dec 2020 16:26:45 +0800 Subject: [PATCH 083/270] format --- .../renderer/gfx-metal/MTLCommandBuffer.mm | 128 ++++++------------ .../cocos/renderer/gfx-metal/MTLGPUObjects.h | 48 +++---- native/cocos/renderer/gfx-metal/MTLUtils.mm | 10 +- 3 files changed, 61 insertions(+), 125 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 964b9b8127..a8f7135150 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -46,11 +46,7 @@ namespace gfx { thread_local NSAutoreleasePool *cbAutoReleasePool = nullptr; CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) -: CommandBuffer(device) -, _mtlDevice((CCMTLDevice *)device) -, _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())) -, _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) -{ +: CommandBuffer(device), _mtlDevice((CCMTLDevice *)device), _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())), _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) { const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); _GPUDescriptorSets.resize(setCount); _dynamicOffsets.resize(setCount); @@ -64,12 +60,10 @@ bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) return true; } -void CCMTLCommandBuffer::destroy() -{ +void CCMTLCommandBuffer::destroy() { } -void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) -{ +void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; @@ -88,43 +82,34 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _commandBufferBegan = true; } -void CCMTLCommandBuffer::end() -{ +void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; _commandBufferBegan = false; } -bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) -{ +bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { const int num = renderPass->getColorRenderTargetNums(); - if (num == 0) - { + if (num == 0) { return true; } const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) -{ +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { auto isOffscreen = static_cast(fbo)->isOffscreen(); - if (!isOffscreen) - { + if (!isOffscreen) { static_cast(renderPass)->setColorAttachment(0, _mtkView.currentDrawable.texture, 0); static_cast(renderPass)->setDepthStencilAttachment(_mtkView.depthStencilTexture, 0); } MTLRenderPassDescriptor *mtlRenderPassDescriptor = static_cast(renderPass)->getMTLRenderPassDescriptor(); - if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) - { + if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) { //Metal doesn't apply the viewports and scissors to renderpass load-action clearing. mu::clearRenderArea(_mtlDevice, _mtlCommandBuffer, renderPass, renderArea, colors, depth, stencil); - } - else - { + } else { const auto &colorAttachments = renderPass->getColorAttachments(); const auto colorAttachmentCount = colorAttachments.size(); - for (size_t slot = 0u; slot < colorAttachmentCount; slot++) - { + for (size_t slot = 0u; slot < colorAttachmentCount; slot++) { mtlRenderPassDescriptor.colorAttachments[slot].clearColor = mu::toMTLClearColor(colors[slot]); mtlRenderPassDescriptor.colorAttachments[slot].loadAction = colorAttachments[slot].loadOp == LoadOp::CLEAR ? MTLLoadActionClear : MTLLoadActionLoad; } @@ -166,8 +151,7 @@ void CCMTLCommandBuffer::endRenderPass() } } -void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) -{ +void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) { _gpuPipelineState = static_cast(pso)->getGPUPipelineState(); _mtlPrimitiveType = _gpuPipelineState->primitiveType; @@ -204,10 +188,8 @@ void CCMTLCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } } -void CCMTLCommandBuffer::bindInputAssembler(InputAssembler *ia) -{ - if (ia) - { +void CCMTLCommandBuffer::bindInputAssembler(InputAssembler *ia) { + if (ia) { _inputAssembler = static_cast(ia); if (_inputAssembler->getIndexBuffer()) { @@ -234,8 +216,7 @@ void CCMTLCommandBuffer::setScissor(const Rect &rect) _commandEncoder.setScissor(rect); } -void CCMTLCommandBuffer::setLineWidth(const float width) -{ +void CCMTLCommandBuffer::setLineWidth(const float width) { CC_LOG_WARNING("Metal doesn't support setting line width."); } @@ -249,25 +230,20 @@ void CCMTLCommandBuffer::setBlendConstants(const Color &constants) _commandEncoder.setBlendColor(constants); } -void CCMTLCommandBuffer::setDepthBound(float minBounds, float maxBounds) -{ +void CCMTLCommandBuffer::setDepthBound(float minBounds, float maxBounds) { CC_LOG_ERROR("Metal doesn't support setting depth bound."); } -void CCMTLCommandBuffer::setStencilWriteMask(StencilFace face, uint mask) -{ +void CCMTLCommandBuffer::setStencilWriteMask(StencilFace face, uint mask) { CC_LOG_ERROR("Don't support change stencil write mask here."); } -void CCMTLCommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint mask) -{ +void CCMTLCommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint mask) { CC_LOG_ERROR("Don't support change stencil compare mask here."); } -void CCMTLCommandBuffer::draw(InputAssembler *ia) -{ - if (_firstDirtyDescriptorSet < _GPUDescriptorSets.size()) - { +void CCMTLCommandBuffer::draw(InputAssembler *ia) { + if (_firstDirtyDescriptorSet < _GPUDescriptorSets.size()) { bindDescriptorSets(); } @@ -360,9 +336,7 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) } } } - } - else - { + } else { DrawInfo drawInfo; static_cast(ia)->extractDrawInfo(drawInfo); if (drawInfo.indexCount > 0) @@ -405,11 +379,9 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) } _numInstances += drawInfo.instanceCount; _numDrawCalls++; - if (_gpuPipelineState) - { + if (_gpuPipelineState) { uint indexCount = drawInfo.indexCount ? drawInfo.indexCount : drawInfo.vertexCount; - switch (_mtlPrimitiveType) - { + switch (_mtlPrimitiveType) { case MTLPrimitiveTypeTriangle: _numTriangles += indexCount / 3 * std::max(drawInfo.instanceCount, 1u); break; @@ -421,25 +393,18 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) } } - } - else if (_type == CommandBufferType::SECONDARY) - { + } else if (_type == CommandBufferType::SECONDARY) { CC_LOG_ERROR("CommandBufferType::SECONDARY not implemented."); - } - else - { + } else { CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); } } -void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) -{ - if (!buff) - { +void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { + if (!buff) { CC_LOG_ERROR("CCMTLCommandBuffer::updateBuffer: buffer is nullptr."); return; } - _mtlDevice->gpuStagingBufferPool()->updateInflightBuffer(); CCMTLGPUBuffer stagingBuffer; stagingBuffer.size = size; @@ -454,10 +419,8 @@ void CCMTLCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) [encoder endEncoding]; } -void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) -{ - if (!texture) - { +void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { + if (!texture) { CC_LOG_ERROR("CCMTLCommandBuffer::copyBufferToTexture: texture is nullptr"); return; } @@ -468,8 +431,7 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex auto format = texture->getFormat(); CCMTLTexture *mtlTexture = static_cast(texture); auto convertedFormat = mtlTexture->getConvertedFormat(); - for (size_t i = 0; i < count; i++) - { + for (size_t i = 0; i < count; i++) { const auto ®ion = regions[i]; auto &stagingRegion = stagingRegions[i]; auto w = region.buffStride > 0 ? region.buffStride : region.texExtent.width; @@ -493,8 +455,7 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex id encoder = [_mtlCommandBuffer blitCommandEncoder]; id dstTexture = mtlTexture->getMTLTexture(); const bool isArrayTexture = mtlTexture->isArray(); - for (size_t i = 0; i < count; i++) - { + for (size_t i = 0; i < count; i++) { const auto &stagingRegion = stagingRegions[i]; const auto convertedData = mu::convertData(buffers[i], bufferSize[i], format); const auto sourceBytesPerImage = isArrayTexture ? stagingRegion.sourceBytesPerImage : 0; @@ -514,17 +475,14 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex CC_FREE(convertedData); } } - if (texture->getFlags() & TextureFlags::GEN_MIPMAP && mu::pixelFormatIsColorRenderable(convertedFormat)) - { + if (texture->getFlags() & TextureFlags::GEN_MIPMAP && mu::pixelFormatIsColorRenderable(convertedFormat)) { [encoder generateMipmapsForTexture:dstTexture]; } [encoder endEncoding]; } -void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) -{ - for (uint i = 0; i < count; ++i) - { +void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) { + for (uint i = 0; i < count; ++i) { auto commandBuffer = static_cast(commandBuffs[i]); _numDrawCalls += commandBuffer->_numDrawCalls; _numInstances += commandBuffer->_numInstances; @@ -532,11 +490,9 @@ void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint3 } } -void CCMTLCommandBuffer::bindDescriptorSets() -{ +void CCMTLCommandBuffer::bindDescriptorSets() { auto &vertexBuffers = _inputAssembler->getVertexBuffers(); - for (const auto &bindingInfo : _gpuPipelineState->vertexBufferBindingInfo) - { + for (const auto &bindingInfo : _gpuPipelineState->vertexBufferBindingInfo) { auto index = std::get<0>(bindingInfo); auto stream = std::get<1>(bindingInfo); static_cast(vertexBuffers[stream])->encodeBuffer(_commandEncoder, 0, index, ShaderStageFlagBit::VERTEX); @@ -544,23 +500,20 @@ void CCMTLCommandBuffer::bindDescriptorSets() const auto &dynamicOffsetIndices = _gpuPipelineState->gpuPipelineLayout->dynamicOffsetIndices; const auto &blocks = _gpuPipelineState->gpuShader->blocks; - for (const auto &iter : blocks) - { + for (const auto &iter : blocks) { const auto &block = iter.second; const auto gpuDescriptorSet = _GPUDescriptorSets[block.set]; const auto descriptorIndex = gpuDescriptorSet->descriptorIndices->at(block.binding); const auto &gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; - if (!gpuDescriptor.buffer) - { + if (!gpuDescriptor.buffer) { CC_LOG_ERROR("Buffer binding %s at set %d binding %d is not bounded.", block.name.c_str(), block.set, block.binding); continue; } const auto &dynamicOffset = dynamicOffsetIndices[block.set]; auto dynamicOffsetIndex = (block.binding < dynamicOffset.size()) ? dynamicOffset[block.binding] : -1; - if (gpuDescriptor.buffer) - { + if (gpuDescriptor.buffer) { uint offset = (dynamicOffsetIndex >= 0) ? _dynamicOffsets[block.set][dynamicOffsetIndex] : 0; gpuDescriptor.buffer->encodeBuffer(_commandEncoder, offset, @@ -578,8 +531,7 @@ void CCMTLCommandBuffer::bindDescriptorSets() const auto descriptorIndex = gpuDescriptorSet->descriptorIndices->at(sampler.binding); const auto &gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; - if (!gpuDescriptor.texture || !gpuDescriptor.sampler) - { + if (!gpuDescriptor.texture || !gpuDescriptor.sampler) { CC_LOG_ERROR("Sampler binding %s at set %d binding %d is not bounded.", sampler.name.c_str(), sampler.set, sampler.binding); continue; } diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index 08e4a4b3cc..dcef74f310 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -150,28 +150,20 @@ public: }; constexpr size_t chunkSize = 16 * 1024 * 1024; // 16M per block by default -class CCMTLGPUStagingBufferPool : public Object -{ +class CCMTLGPUStagingBufferPool : public Object { public: CCMTLGPUStagingBufferPool(id device) - : _device(device) - {} + : _device(device) {} - ~CCMTLGPUStagingBufferPool() - { - for (auto &buffer : _pool) - { - if (_tripleEnabled) - { - for (id mtlBuf : buffer.dynamicDataBuffers) - { + ~CCMTLGPUStagingBufferPool() { + for (auto &buffer : _pool) { + if (_tripleEnabled) { + for (id mtlBuf : buffer.dynamicDataBuffers) { [mtlBuf release]; } buffer.dynamicDataBuffers.clear(); buffer.mtlBuffer = nil; - } - else - { + } else { [buffer.mtlBuffer release]; buffer.mtlBuffer = nil; } @@ -180,8 +172,7 @@ public: } CC_INLINE void alloc(CCMTLGPUBuffer *gpuBuffer) { alloc(gpuBuffer, 1); } - void alloc(CCMTLGPUBuffer *gpuBuffer, uint alignment) - { + void alloc(CCMTLGPUBuffer *gpuBuffer, uint alignment) { size_t bufferCount = _pool.size(); Buffer *buffer = nullptr; size_t offset = 0; @@ -196,17 +187,14 @@ public: if (!buffer) { _pool.resize(bufferCount + 1); buffer = &_pool.back(); - if (_tripleEnabled) - { + if (_tripleEnabled) { for (int i = 0; i < MAX_FRAMES_IN_FLIGHT; ++i) { // Create a new buffer with enough capacity to store one instance of the dynamic buffer data id dataBuffer = [_device newBufferWithLength:chunkSize options:MTLResourceStorageModeShared]; buffer->dynamicDataBuffers[i] = dataBuffer; } buffer->mtlBuffer = buffer->dynamicDataBuffers[0]; - } - else - { + } else { buffer->mtlBuffer = [_device newBufferWithLength:chunkSize options:MTLResourceStorageModeShared]; } buffer->mappedData = (uint8_t *)buffer->mtlBuffer.contents; @@ -217,16 +205,14 @@ public: gpuBuffer->mappedData = buffer->mappedData + offset; buffer->curOffset = offset + gpuBuffer->size; } - - void updateInflightBuffer() - { + + void updateInflightBuffer() { if (_tripleEnabled) { _inflightIndex = ((_inflightIndex + 1) % MAX_FRAMES_IN_FLIGHT); - + size_t bufferCount = _pool.size(); Buffer *buffer = nullptr; - for (size_t idx = 0; idx < bufferCount; idx++) - { + for (size_t idx = 0; idx < bufferCount; idx++) { buffer = &_pool[idx]; id prevFrameBuffer = buffer->mtlBuffer; buffer->mtlBuffer = buffer->dynamicDataBuffers[_inflightIndex]; @@ -256,12 +242,12 @@ public: private: struct Buffer { id mtlBuffer = nil; - vector> dynamicDataBuffers {MAX_FRAMES_IN_FLIGHT}; + vector> dynamicDataBuffers{MAX_FRAMES_IN_FLIGHT}; uint8_t *mappedData = nullptr; size_t curOffset = 0; }; - - bool _tripleEnabled = true; + + bool _tripleEnabled = false; uint _inflightIndex = 0; id _device = nil; vector _pool; diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index 627191fa9b..0c63a59780 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -668,13 +668,11 @@ String compileGLSLShader2Msl(const String &src, auto binding = msl.get_decoration(sampler.id, spv::DecorationBinding); int size = 1, s = -1; const spirv_cross::SPIRType &type = msl.get_type(sampler.type_id); - if (type.array_size_literal[0]) - { + if (type.array_size_literal[0]) { size = type.array[0]; } - - for (int i = 0; i < size; ++i) - { + + for (int i = 0; i < size; ++i) { auto mappedBinding = binding + samplerBindingOffset[set] + i; newBinding.desc_set = set; newBinding.binding = binding + i; @@ -695,7 +693,7 @@ String compileGLSLShader2Msl(const String &src, // Set some options. spirv_cross::CompilerMSL::Options options; - options.set_msl_version(2, 0); + // options.set_msl_version(2, 0); #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) options.platform = spirv_cross::CompilerMSL::Options::Platform::iOS; #else From 47e992ab343c6ad6caf1ac80d91ea6233eb885d5 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 28 Dec 2020 17:47:37 +0800 Subject: [PATCH 084/270] more trackable commands --- native/cocos/renderer/core/Core.h | 15 +++++++ native/cocos/renderer/core/CoreStd.h | 5 +++ .../core/gfx-agent/GFXCommandBufferAgent.cpp | 40 ++++++++++--------- .../core/gfx-agent/GFXCommandBufferAgent.h | 2 + .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 31 ++++++-------- 5 files changed, 56 insertions(+), 37 deletions(-) diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 0bdc6fd655..d72e41239a 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -23,3 +23,18 @@ #include "gfx/GFXSampler.h" #include "gfx/GFXShader.h" #include "gfx/GFXTexture.h" + +#include "threading/CommandEncoder.h" +#include "threading/ThreadPool.h" + +#include "gfx-agent/GFXBufferAgent.h" +#include "gfx-agent/GFXCommandBufferAgent.h" +#include "gfx-agent/GFXDescriptorSetAgent.h" +#include "gfx-agent/GFXDeviceAgent.h" +#include "gfx-agent/GFXFramebufferAgent.h" +#include "gfx-agent/GFXInputAssemblerAgent.h" +#include "gfx-agent/GFXPipelineStateAgent.h" +#include "gfx-agent/GFXQueueAgent.h" +#include "gfx-agent/GFXRenderPassAgent.h" +#include "gfx-agent/GFXShaderAgent.h" +#include "gfx-agent/GFXTextureAgent.h" diff --git a/native/cocos/renderer/core/CoreStd.h b/native/cocos/renderer/core/CoreStd.h index b995c76bd5..bca68be41a 100644 --- a/native/cocos/renderer/core/CoreStd.h +++ b/native/cocos/renderer/core/CoreStd.h @@ -62,4 +62,9 @@ THE SOFTWARE. #include "base/Object.h" #include "gfx/GFXObject.h" +#define CC_JOB_SYSTEM_TASKFLOW 1 +#define CC_JOB_SYSTEM_TBB 2 + +#define CC_JOB_SYSTEM CC_JOB_SYSTEM_TBB + #endif // CC_CORE_CORE_STD_H_ diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 48e5a4ee82..d283a98084 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -17,6 +17,26 @@ namespace cc { namespace gfx { +void CommandBufferAgent::flushCommands(CommandBufferAgent *const *cmdBuffs, uint count, bool multiThreaded) { + if (count > 1) { + if (multiThreaded) { + JobGraph g(JobSystem::getInstance()); + uint job = g.createForEachIndexJob(1u, count, 1u, [cmdBuffs](uint i) { + cmdBuffs[i]->getEncoder()->flushCommands(); + }); + g.run(job); + cmdBuffs[0]->getEncoder()->flushCommands(); + g.waitForAll(); + } else { + for (uint i = 0u; i < count; ++i) { + cmdBuffs[i]->getEncoder()->flushCommands(); + } + } + } else { + cmdBuffs[0]->getEncoder()->flushCommands(); + } +} + void CommandBufferAgent::initEncoder() { _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { @@ -159,28 +179,12 @@ void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t _encoder, CommandBufferExecute, actor, getActor(), - cmdBuffs, cmdBuffs, + cmdBuffs, (CommandBufferAgent *const *)cmdBuffs, actorCmdBuffs, actorCmdBuffs, count, count, multiThreaded, multiThreaded, { - if (count > 1) { - if (multiThreaded) { - JobGraph g(JobSystem::getInstance()); - uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); - }); - g.run(job); - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); - g.waitForAll(); - } else { - for (uint i = 0u; i < count; ++i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); - } - } - } else { - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); - } + CommandBufferAgent::flushCommands(cmdBuffs, count, multiThreaded); actor->execute(actorCmdBuffs, count); }); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 2ade173463..79c75abef0 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -16,6 +16,8 @@ public: using Agent::Agent; CommandBufferAgent(Device *device) = delete; + static void flushCommands(CommandBufferAgent *const *cmdBuffs, uint count, bool multiThreaded); + virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 2d84af181c..e03e46981c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -55,29 +55,22 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence QueueSubmit, actor, getActor(), multiThreaded, multiThreaded, - cmdBuffs, cmdBuffs, + cmdBuffs, (CommandBufferAgent *const *)cmdBuffs, actorCmdBuffs, actorCmdBuffs, count, count, fence, fence, { - auto startTime = std::chrono::steady_clock::now(); - if (count > 1) { - if (multiThreaded) { - JobGraph g(JobSystem::getInstance()); - uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); - }); - g.run(job); - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); - g.waitForAll(); - } else { - for (uint i = 0u; i < count; ++i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); - } - } - } else { - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); - } + //auto startTime = std::chrono::steady_clock::now(); + + CommandBufferAgent::flushCommands(cmdBuffs, count, multiThreaded); + + //auto endTime = std::chrono::steady_clock::now(); + //float dt = std::chrono::duration_cast(endTime - startTime).count() / 1e6; + //static float timeAcc = 0.f; + //if (!timeAcc) timeAcc = dt; + //else timeAcc = timeAcc * 0.95f + dt * 0.05f; + //CC_LOG_INFO("---------- %.2fms", timeAcc); + //CC_LOG_INFO("======== one round ========"); auto endTime = std::chrono::steady_clock::now(); From a6130e9bc9203008516530e07b39ace141ce513b Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 24 Dec 2020 14:08:27 +0800 Subject: [PATCH 085/270] Improve auto release pool --- .../renderer/gfx-metal/MTLCommandBuffer.mm | 20 ++++++--- .../gfx-metal/MTLRenderCommandEncoder.h | 22 ++-------- .../gfx-metal/MTLRenderCommandEncoder.mm | 43 +++++++++++++++++++ 3 files changed, 61 insertions(+), 24 deletions(-) create mode 100644 native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index a8f7135150..412b6d7760 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -65,10 +65,20 @@ void CCMTLCommandBuffer::destroy() { void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; - - _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; - [_mtlCommandBuffer retain]; - [_mtlCommandBuffer enqueue]; + + cbAutoReleasePool = [[NSAutoreleasePool alloc] init]; + + _isSubCB = renderPass != nullptr && _mtlCommandBuffer; + if (!_isSubCB) + { + // Sub command buffer for parallel shouldn't request any command buffer + _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; + [_mtlCommandBuffer enqueue]; + } + else + { + _commandEncoder.beginEncoding(); + } _numTriangles = 0; _numDrawCalls = 0; _numInstances = 0; @@ -92,8 +102,6 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL if (num == 0) { return true; } - const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; - return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index 0a52030106..ac38b7da93 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -53,17 +53,10 @@ public: CCMTLRenderCommandEncoder &operator=(const CCMTLRenderCommandEncoder &) = delete; CCMTLRenderCommandEncoder &operator=(CCMTLRenderCommandEncoder &&) = delete; - CC_INLINE void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) - { - _mtlEncoder = [[commandBuffer renderCommandEncoderWithDescriptor:descriptor] retain]; - clearStates(); - } - - CC_INLINE void initialize(id parallelEncoder) - { - _mtlEncoder = [[parallelEncoder renderCommandEncoder] retain]; - clearStates(); - } + void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor); + void initialize(id parallelEncoder); + void beginEncoding(); + void endEncoding(); CC_INLINE void clearStates() { @@ -285,13 +278,6 @@ public: [_mtlEncoder setFragmentSamplerState:sampler atIndex:index]; } - CC_INLINE void endEncoding() - { - [_mtlEncoder endEncoding]; - [_mtlEncoder release]; - _mtlEncoder = nil; - } - CC_INLINE id const getMTLEncoder() { return _mtlEncoder; diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm new file mode 100644 index 0000000000..073c5b4a9f --- /dev/null +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm @@ -0,0 +1,43 @@ +#include "MTLRenderCommandEncoder.h" +#include "MTLStd.h" + +#import + +namespace cc { +namespace gfx { + +thread_local NSAutoreleasePool *encoderAutoreleasePool = nullptr; + +void CCMTLRenderCommandEncoder::initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) +{ + _mtlEncoder = [[commandBuffer renderCommandEncoderWithDescriptor:descriptor] autorelease]; + clearStates(); +} + +void CCMTLRenderCommandEncoder::initialize(id parallelEncoder) +{ + _mtlEncoder = [[parallelEncoder renderCommandEncoder] autorelease]; + clearStates(); +} + +void CCMTLRenderCommandEncoder::beginEncoding() +{ + encoderAutoreleasePool = [[NSAutoreleasePool alloc] init]; +// CC_LOG_INFO("POOL ALLOC: %p", encoderAutoreleasePool); +} + +void CCMTLRenderCommandEncoder::endEncoding() +{ + [_mtlEncoder endEncoding]; +// [_mtlEncoder release]; + _mtlEncoder = nil; + + if (encoderAutoreleasePool) + { +// CC_LOG_INFO("POOL RELEASE: %p", encoderAutoreleasePool); + [encoderAutoreleasePool release]; + encoderAutoreleasePool = nullptr; + } +} +} // namespace gfx +} // namespace cc From 2ba5c4ba879fa430da3b65d21aeae5ecac78e6a4 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 28 Dec 2020 19:39:38 +0800 Subject: [PATCH 086/270] Cleanup metal and fix hanging due to command buffer limit --- .../renderer/gfx-metal/MTLCommandBuffer.h | 7 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 75 +++++++++++++++---- native/cocos/renderer/gfx-metal/MTLConfig.h | 1 + native/cocos/renderer/gfx-metal/MTLDevice.mm | 25 +++++-- .../gfx-metal/MTLRenderCommandEncoder.h | 1 - .../gfx-metal/MTLRenderCommandEncoder.mm | 23 +----- 6 files changed, 86 insertions(+), 46 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 9597ddd48d..173231c329 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -77,21 +77,20 @@ private: void bindDescriptorSets(); bool isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass); - CCMTLGPUPipelineState *_gpuPipelineState = nullptr; - vector _GPUDescriptorSets; vector> _dynamicOffsets; + uint _firstDirtyDescriptorSet = UINT_MAX; - bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; - bool _isSubCB = false; + bool _isSecondary = false; CCMTLDevice *_mtlDevice = nullptr; // id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; MTKView *_mtkView = nil; CCMTLRenderCommandEncoder _commandEncoder; + CCMTLGPUPipelineState *_gpuPipelineState = nullptr; CCMTLInputAssembler *_inputAssembler = nullptr; MTLIndexType _indexType = MTLIndexTypeUInt16; MTLPrimitiveType _mtlPrimitiveType = MTLPrimitiveType::MTLPrimitiveTypeTriangle; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 412b6d7760..3ca82a137b 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -40,11 +40,13 @@ THE SOFTWARE. #include "MTLTexture.h" #include "TargetConditionals.h" +namespace tar { + thread_local NSAutoreleasePool *cbAutoreleasePool = nullptr; +} + namespace cc { namespace gfx { -thread_local NSAutoreleasePool *cbAutoReleasePool = nullptr; - CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) : CommandBuffer(device), _mtlDevice((CCMTLDevice *)device), _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())), _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) { const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); @@ -60,25 +62,49 @@ bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) return true; } -void CCMTLCommandBuffer::destroy() { +void CCMTLCommandBuffer::destroy() +{ + if (tar::cbAutoreleasePool) + { + [tar::cbAutoreleasePool release]; + tar::cbAutoreleasePool = nullptr; + } +} + +id CCMTLCommandBuffer::getCurrentDrawable() +{ + if (!_currDrawable) + { + CAMetalLayer *layer = (CAMetalLayer*)_mtlDevice->getMTLLayer(); + _currDrawable = [[layer nextDrawable] retain]; + } + return _currDrawable; +} + +bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) +{ + const int num = renderPass->getColorRenderTargetNums(); + if (num == 0) + { + return true; + } + const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; + return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; - cbAutoReleasePool = [[NSAutoreleasePool alloc] init]; - - _isSubCB = renderPass != nullptr && _mtlCommandBuffer; - if (!_isSubCB) + tar::cbAutoreleasePool = [[NSAutoreleasePool alloc] init]; +// CC_LOG_INFO("%d CB POOL: %p ALLOCED for %p", [NSThread currentThread], tar::cbAutoreleasePool, this); + + _isSecondary = renderPass != nullptr && _mtlCommandBuffer; + if (!_isSecondary) { // Sub command buffer for parallel shouldn't request any command buffer _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; [_mtlCommandBuffer enqueue]; } - else - { - _commandEncoder.beginEncoding(); - } _numTriangles = 0; _numDrawCalls = 0; _numInstances = 0; @@ -95,24 +121,43 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; _commandBufferBegan = false; -} + + if (_isSecondary) + { + // Secondary command buffer should end encoding here + _commandEncoder.endEncoding(); + } bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { const int num = renderPass->getColorRenderTargetNums(); if (num == 0) { return true; } +// CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], tar::cbAutoreleasePool, this); + if (tar::cbAutoreleasePool) + { + [tar::cbAutoreleasePool drain]; + tar::cbAutoreleasePool = nullptr; + } } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) +{ + // Sub CommandBuffer shouldn't call begin render pass + if (_isSecondary) + { + return; + } + auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { static_cast(renderPass)->setColorAttachment(0, _mtkView.currentDrawable.texture, 0); static_cast(renderPass)->setDepthStencilAttachment(_mtkView.depthStencilTexture, 0); } MTLRenderPassDescriptor *mtlRenderPassDescriptor = static_cast(renderPass)->getMTLRenderPassDescriptor(); - if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) { - //Metal doesn't apply the viewports and scissors to renderpass load-action clearing. + if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) + { + // Metal doesn't apply the viewports and scissors to renderpass load-action clearing. mu::clearRenderArea(_mtlDevice, _mtlCommandBuffer, renderPass, renderArea, colors, depth, stencil); } else { const auto &colorAttachments = renderPass->getColorAttachments(); diff --git a/native/cocos/renderer/gfx-metal/MTLConfig.h b/native/cocos/renderer/gfx-metal/MTLConfig.h index f2ab0bb9c5..361da57717 100644 --- a/native/cocos/renderer/gfx-metal/MTLConfig.h +++ b/native/cocos/renderer/gfx-metal/MTLConfig.h @@ -24,3 +24,4 @@ THE SOFTWARE. #pragma once #define MAX_FRAMES_IN_FLIGHT 3 +#define MAX_COMMAND_BUFFER_COUNT 256 diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 98df024da4..ecc2fc82e4 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -49,11 +49,13 @@ THE SOFTWARE. #import #include +namespace tar { + thread_local NSAutoreleasePool* autoreleasePool = nullptr; +} + namespace cc { namespace gfx { -thread_local NSAutoreleasePool *autoReleasePool = nullptr; - CCMTLDevice::CCMTLDevice() { _clipSpaceMinZ = 0.0f; _screenSpaceSignY = 1.0f; @@ -83,7 +85,7 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _mtkView = (MTKView *)_windowHandle; id mtlDevice = ((MTKView *)_mtkView).device; _mtlDevice = mtlDevice; - _mtlCommandQueue = [mtlDevice newCommandQueue]; + _mtlCommandQueue = [mtlDevice newCommandQueueWithMaxCommandBufferCount: MAX_COMMAND_BUFFER_COUNT]; _mtlFeatureSet = mu::highestSupportedFeatureSet(mtlDevice); const auto gpuFamily = mu::getGPUFamily(MTLFeatureSet(_mtlFeatureSet)); @@ -177,6 +179,14 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { } void CCMTLDevice::destroy() { + if (_memoryAlarmListenerId != 0) { + EventDispatcher::removeCustomEventListener(EVENT_MEMORY_WARNING, _memoryAlarmListenerId); + _memoryAlarmListenerId = 0; + if (tar::autoreleasePool) { + [tar::autoreleasePool release]; + tar::autoreleasePool = nullptr; + } + CC_SAFE_DESTROY(_queue); CC_SAFE_DESTROY(_cmdBuff); CC_SAFE_DESTROY(_context); @@ -193,7 +203,7 @@ void CCMTLDevice::resize(uint width, uint height) {} void CCMTLDevice::acquire() { _inFlightSemaphore->wait(); - autoReleasePool = [[NSAutoreleasePool alloc] init]; + tar::autoreleasePool = [[NSAutoreleasePool alloc] init]; // Clear queue stats CCMTLQueue *queue = static_cast(_queue); queue->_numDrawCalls = 0; @@ -220,8 +230,11 @@ void CCMTLDevice::present() { _inFlightSemaphore->signal(); }]; [mtlCommandBuffer commit]; - [autoReleasePool release]; - autoReleasePool = nullptr; + + if (tar::autoreleasePool) { + [tar::autoreleasePool drain]; + tar::autoreleasePool = nullptr; + } } Fence *CCMTLDevice::createFence() { diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index ac38b7da93..59fd1bd6fd 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -55,7 +55,6 @@ public: void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor); void initialize(id parallelEncoder); - void beginEncoding(); void endEncoding(); CC_INLINE void clearStates() diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm index 073c5b4a9f..0a1b11b9b9 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm @@ -1,43 +1,26 @@ #include "MTLRenderCommandEncoder.h" #include "MTLStd.h" -#import - namespace cc { namespace gfx { -thread_local NSAutoreleasePool *encoderAutoreleasePool = nullptr; - void CCMTLRenderCommandEncoder::initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) { - _mtlEncoder = [[commandBuffer renderCommandEncoderWithDescriptor:descriptor] autorelease]; + _mtlEncoder = [[commandBuffer renderCommandEncoderWithDescriptor:descriptor] retain]; clearStates(); } void CCMTLRenderCommandEncoder::initialize(id parallelEncoder) { - _mtlEncoder = [[parallelEncoder renderCommandEncoder] autorelease]; + _mtlEncoder = [[parallelEncoder renderCommandEncoder] retain]; clearStates(); } -void CCMTLRenderCommandEncoder::beginEncoding() -{ - encoderAutoreleasePool = [[NSAutoreleasePool alloc] init]; -// CC_LOG_INFO("POOL ALLOC: %p", encoderAutoreleasePool); -} - void CCMTLRenderCommandEncoder::endEncoding() { [_mtlEncoder endEncoding]; -// [_mtlEncoder release]; + [_mtlEncoder release]; _mtlEncoder = nil; - - if (encoderAutoreleasePool) - { -// CC_LOG_INFO("POOL RELEASE: %p", encoderAutoreleasePool); - [encoderAutoreleasePool release]; - encoderAutoreleasePool = nullptr; - } } } // namespace gfx } // namespace cc From 17c2879bc0f91317a319417113b2fad49f0eaf62 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 28 Dec 2020 20:21:28 +0800 Subject: [PATCH 087/270] Fix merge issue --- .../renderer/gfx-metal/MTLDescriptorSet.mm | 6 +++--- native/cocos/renderer/gfx-metal/MTLDevice.h | 19 +------------------ .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 3 +-- 3 files changed, 5 insertions(+), 23 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index af738362d7..00dab04f11 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -36,7 +36,7 @@ CCMTLDescriptorSet::CCMTLDescriptorSet(Device *device) : DescriptorSet(device) { } bool CCMTLDescriptorSet::initialize(const DescriptorSetInfo &info) { - _layout = info.layout->getSetLayouts()[info.setIndex]; + _layout = info.layout; const auto gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const auto descriptorCount = gpuDescriptorSetLayout->descriptorCount; @@ -49,9 +49,9 @@ bool CCMTLDescriptorSet::initialize(const DescriptorSetInfo &info) { _gpuDescriptorSet = CC_NEW(CCMTLGPUDescriptorSet); _gpuDescriptorSet->descriptorIndices = &gpuDescriptorSetLayout->descriptorIndices; _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount); - for (auto i = 0, k = 0; i < bindingCount; i++) { + for (auto i = 0u, k = 0u; i < bindingCount; i++) { const auto &binding = gpuDescriptorSetLayout->bindings[i]; - for (auto j = 0; j < binding.count; j++, k++) { + for (auto j = 0u; j < binding.count; j++, k++) { _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; } } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 6b232a831c..ce02c0e017 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -70,23 +70,6 @@ public: CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } -protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - private: void onMemoryWarning(); @@ -104,7 +87,7 @@ private: CCMTLGPUStagingBufferPool *_gpuStagingBufferPools[MAX_FRAMES_IN_FLIGHT] = {nullptr}; CCMTLSemaphore *_inFlightSemaphore = nullptr; uint _currentFrameIndex = 0; - uint32_t _memoryAlarmListenerId = 0; +// uint32_t _memoryAlarmListenerId = 0; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 5d7013a9a1..07bf34b542 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -44,8 +44,7 @@ CCVKDescriptorSet::~CCVKDescriptorSet() { } bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { - - _layout = info.layout->getSetLayouts()[info.setIndex]; + _layout = info.layout; CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const uint bindingCount = gpuDescriptorSetLayout->bindings.size(); From 9f2e732a3cdbc83e9ad599d018c26604962827e2 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 28 Dec 2020 19:13:05 +0800 Subject: [PATCH 088/270] remove reduce job for now --- .../base/job-system/job-system-taskflow/TFJobGraph.h | 9 --------- .../base/job-system/job-system-tbb/TBBJobGraph.cpp | 6 ------ .../base/job-system/job-system-tbb/TBBJobGraph.h | 11 ----------- 3 files changed, 26 deletions(-) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index ff5614a97a..a0056d78ec 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -18,9 +18,6 @@ public: template uint createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept; - template - uint createReduceJob(uint begin, uint end, uint acc, Function &&func) noexcept; - void makeEdge(uint j1, uint j2) noexcept; void run(uint startJob) noexcept; @@ -54,10 +51,4 @@ uint TFJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Function return _tasks.size() - 1u; } -template -uint TFJobGraph::createReduceJob(uint begin, uint end, uint acc, Function &&func) noexcept { - _tasks.emplace_back(_flow.reduce(begin, end, acc, func)); - return _tasks.size() - 1u; -} - } // namespace cc diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp index ec097bb7b0..7bd0967ca6 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -7,14 +7,10 @@ namespace cc { void TBBJobGraph::makeEdge(uint j1, uint j2) noexcept { if (j1 & PARALLEL_JOB_FLAG) { j1 = _parallelJobs[j1 & PARALLEL_JOB_MASK].successor; - } else if (j1 & REDUCE_JOB_FLAG) { - // TODO } if (j2 & PARALLEL_JOB_FLAG) { j2 = _parallelJobs[j2 & PARALLEL_JOB_MASK].predecessor; - } else if (j1 & REDUCE_JOB_FLAG) { - // TODO } tbb::flow::make_edge(_nodes[j1], _nodes[j2]); @@ -23,8 +19,6 @@ void TBBJobGraph::makeEdge(uint j1, uint j2) noexcept { void TBBJobGraph::run(uint startJob) noexcept { if (startJob & PARALLEL_JOB_FLAG) { startJob = _parallelJobs[startJob & PARALLEL_JOB_MASK].predecessor; - } else if (startJob & REDUCE_JOB_FLAG) { - // TODO } if (startJob >= _nodes.size()) return; _nodes[startJob].try_put(tbb::flow::continue_msg()); diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index 17fce8759c..8002526314 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -18,9 +18,6 @@ public: template uint createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept; - template - uint createReduceJob(uint begin, uint end, uint acc, Function &&func) noexcept; - void makeEdge(uint j1, uint j2) noexcept; void run(uint startJob) noexcept; @@ -35,8 +32,6 @@ public: private: static constexpr uint PARALLEL_JOB_FLAG = 1u << 20; static constexpr uint PARALLEL_JOB_MASK = ~PARALLEL_JOB_FLAG; - static constexpr uint REDUCE_JOB_FLAG = 1u << 21; - static constexpr uint REDUCE_JOB_MASK = ~REDUCE_JOB_FLAG; tbb::flow::graph _graph; @@ -80,10 +75,4 @@ uint TBBJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Functio return (_parallelJobs.size() - 1u) | PARALLEL_JOB_FLAG; } -template -uint TBBJobGraph::createReduceJob(uint begin, uint end, uint acc, Function &&func) noexcept { - // TODO - return 0u; -} - } // namespace cc From 0155b1942cd3944e4e1a97eb12d2e98020fb9005 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 28 Dec 2020 20:56:58 +0800 Subject: [PATCH 089/270] structure --- .../cocos/base/threading/CommandEncoder.cpp | 273 -------------- native/cocos/base/threading/MessageQueue.cpp | 273 ++++++++++++++ .../{CommandEncoder.h => MessageQueue.h} | 336 +++++++++--------- native/cocos/renderer/core/Core.h | 2 +- .../core/gfx-agent/GFXBufferAgent.cpp | 22 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 120 +++---- .../core/gfx-agent/GFXCommandBufferAgent.h | 10 +- .../core/gfx-agent/GFXDescriptorSetAgent.cpp | 26 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.cpp | 10 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 28 +- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 8 +- .../core/gfx-agent/GFXFramebufferAgent.cpp | 10 +- .../core/gfx-agent/GFXInputAssemblerAgent.cpp | 10 +- .../core/gfx-agent/GFXPipelineLayoutAgent.cpp | 10 +- .../core/gfx-agent/GFXPipelineStateAgent.cpp | 10 +- .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 14 +- .../core/gfx-agent/GFXRenderPassAgent.cpp | 10 +- .../core/gfx-agent/GFXSamplerAgent.cpp | 10 +- .../core/gfx-agent/GFXShaderAgent.cpp | 10 +- .../core/gfx-agent/GFXTextureAgent.cpp | 18 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 4 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 20 +- 22 files changed, 615 insertions(+), 619 deletions(-) delete mode 100644 native/cocos/base/threading/CommandEncoder.cpp create mode 100644 native/cocos/base/threading/MessageQueue.cpp rename native/cocos/base/threading/{CommandEncoder.h => MessageQueue.h} (74%) diff --git a/native/cocos/base/threading/CommandEncoder.cpp b/native/cocos/base/threading/CommandEncoder.cpp deleted file mode 100644 index 83b9260af9..0000000000 --- a/native/cocos/base/threading/CommandEncoder.cpp +++ /dev/null @@ -1,273 +0,0 @@ -#include "CommandEncoder.h" -#include - -namespace cc { - -namespace { -uint32_t constexpr kMemoryChunkSize = 4096 * 16; -uint32_t constexpr kMemoryChunkPoolCapacity = 64; -uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchCommand) + sizeof(DummyCommand); -} // namespace - -CommandEncoder::MemoryAllocator &CommandEncoder::MemoryAllocator::getInstance() noexcept { - static CommandEncoder::MemoryAllocator instance; - return instance; -} - -uint8_t *CommandEncoder::MemoryAllocator::request() noexcept { - uint8_t *newChunk = nullptr; - - if (mChunkPool.try_dequeue(newChunk)) { - mChunkCount.fetch_sub(1, std::memory_order_acq_rel); - } else { - newChunk = memoryAllocateForMultiThread(kMemoryChunkSize); - } - - return newChunk; -} - -void CommandEncoder::MemoryAllocator::recycle(uint8_t *const chunk, bool const freeByUser) noexcept { - if (freeByUser) { - mChunkFreeQueue.enqueue(chunk); - } else { - free(chunk); - } -} - -void CommandEncoder::MemoryAllocator::freeByUser(CommandEncoder *const mainCommandbuffer) noexcept { - auto queue = &mChunkFreeQueue; - - ENCODE_COMMAND_1( - mainCommandbuffer, freeChunksInFreeQueue, - queue, queue, - { - uint8_t *chunk = nullptr; - - while (queue->try_dequeue(chunk)) { - CommandEncoder::MemoryAllocator::getInstance().free(chunk); - } - }); - - mainCommandbuffer->kick(); -} - -void CommandEncoder::MemoryAllocator::free(uint8_t *const chunk) noexcept { - if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) { - memoryFreeForMultiThread(chunk); - } else { - mChunkPool.enqueue(chunk); - mChunkCount.fetch_add(1, std::memory_order_acq_rel); - } -} - -CommandEncoder::CommandEncoder() { - uint8_t *const chunk = MemoryAllocator::getInstance().request(); - - mW.mCurrentMemoryChunk = chunk; - mR.mCurrentMemoryChunk = chunk; - - // sentinel node will not be executed - Command *const cmd = allocate(1); - pushCommands(); - pullCommands(); - mR.mLastCommand = cmd; - --mR.mNewCommandCount; -} - -void CommandEncoder::kick() noexcept { - pushCommands(); - mN.Signal(); -} - -void CommandEncoder::kickAndWait() noexcept { - EventSem event; - EventSem *const pEvent = &event; - - ENCODE_COMMAND_1(this, WaitUntilFinish, - pEvent, pEvent, - { - pEvent->Signal(); - }); - - kick(); - event.Wait(); -} - -void CommandEncoder::runConsumerThread() noexcept { - if (mWorkerAttached) { - return; - } - - std::thread consumerThread(&CommandEncoder::consumerThreadLoop, this); - consumerThread.detach(); - mWorkerAttached = true; -} - -void CommandEncoder::terminateConsumerThread() noexcept { - if (!mWorkerAttached) { - return; - } - - EventSem event; - EventSem *const pEvent = &event; - - ReaderContext *const pR = &mR; - - new (allocate(1)) TerminateConsumerThreadCommand(pEvent, pR); - - kick(); - event.Wait(); -} - -void CommandEncoder::finishWriting(bool wait) noexcept { - if (!mImmediateMode) { - bool *const flushingFinished = &mR.mFlushingFinished; - - ENCODE_COMMAND_1(this, finishWriting, - flushingFinished, flushingFinished, - { - *flushingFinished = true; - }); - - if (wait) - kickAndWait(); - else - kick(); - } -} - -void CommandEncoder::recycleMemoryChunk(uint8_t *const chunk) const noexcept { - CommandEncoder::MemoryAllocator::getInstance().recycle(chunk, mFreeChunksByUser); -} - -void CommandEncoder::freeChunksInFreeQueue(CommandEncoder *const mainCommandbuffer) noexcept { - CommandEncoder::MemoryAllocator::getInstance().freeByUser(mainCommandbuffer); -} - -uint8_t *CommandEncoder::allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept { - uint32_t const alignedSize = align(requestSize, 16); - assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // exceeds the block size - - uint32_t const newOffset = mW.mOffset + alignedSize; - - if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) { - allocatedSize = alignedSize; - uint8_t *const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; - mW.mOffset = newOffset; - return allocatedMemory; - } else { - uint8_t *const newChunk = CommandEncoder::MemoryAllocator::getInstance().request(); - MemoryChunkSwitchCommand *const switchCommand = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - new (switchCommand) MemoryChunkSwitchCommand(this, newChunk, mW.mCurrentMemoryChunk); - switchCommand->mNext = reinterpret_cast(newChunk); // point to start position - mW.mLastCommand = switchCommand; - ++mW.mPendingCommandCount; - mW.mCurrentMemoryChunk = newChunk; - mW.mOffset = 0; - - DummyCommand *const head = allocate(1); - new (head) DummyCommand; - - if (mImmediateMode) { - pushCommands(); - pullCommands(); - assert(mR.mNewCommandCount == 2); - executeCommand(); - executeCommand(); - } - - return allocateImpl(allocatedSize, requestSize); - } -} - -void CommandEncoder::pushCommands() noexcept { - mW.mWrittenCommandCount.fetch_add(mW.mPendingCommandCount, std::memory_order_acq_rel); - mW.mPendingCommandCount = 0; -} - -void CommandEncoder::pullCommands() noexcept { - uint32_t const writtenCommandCountNew = mW.mWrittenCommandCount.load(std::memory_order_acquire); - mR.mNewCommandCount += writtenCommandCountNew - mR.mWrittenCommandCountSnap; - mR.mWrittenCommandCountSnap = writtenCommandCountNew; -} - -void CommandEncoder::flushCommands() noexcept { - while (!mR.mFlushingFinished) { - executeCommand(); - } - - mR.mFlushingFinished = false; -} - -void CommandEncoder::executeCommand() noexcept { - Command *const cmd = readCommand(); - - if (!cmd) { - return; - } - - cmd->execute(); - cmd->~Command(); -} - -Command *CommandEncoder::readCommand() noexcept { - while (!hasNewCommand()) { // if empty - pullCommands(); // try pulling data from consumer - - if (!hasNewCommand()) { // still empty - mN.Wait(); // wait for the producer to wake me up - pullCommands(); // pulling again - } - } - - Command *const cmd = mR.mLastCommand->getNext(); - mR.mLastCommand = cmd; - --mR.mNewCommandCount; - assert(cmd); - return cmd; -} - -void CommandEncoder::consumerThreadLoop() noexcept { - while (!mR.mTerminateConsumerThread) { - flushCommands(); - } - - mWorkerAttached = false; -} - -char const *DummyCommand::getName() const noexcept { - return "Dummy"; -} - -MemoryChunkSwitchCommand::MemoryChunkSwitchCommand(CommandEncoder *const encoder, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept -: mCommandEncoder(encoder), mNewChunk(newChunk), mOldChunk(oldChunk) { -} - -MemoryChunkSwitchCommand::~MemoryChunkSwitchCommand() { - mCommandEncoder->recycleMemoryChunk(mOldChunk); -} - -void MemoryChunkSwitchCommand::execute() noexcept { - mCommandEncoder->mR.mCurrentMemoryChunk = mNewChunk; - mCommandEncoder->pullCommands(); -} - -char const *MemoryChunkSwitchCommand::getName() const noexcept { - return "MemoryChunkSwitch"; -} - -TerminateConsumerThreadCommand::TerminateConsumerThreadCommand(EventSem *const pEvent, ReaderContext *const pR) noexcept -: mEvent(pEvent), mR(pR) { -} - -void TerminateConsumerThreadCommand::execute() noexcept { - mR->mTerminateConsumerThread = true; - mR->mFlushingFinished = true; - mEvent->Signal(); -} - -char const *TerminateConsumerThreadCommand::getName() const noexcept { - return "TerminateConsumerThread"; -} - -} // namespace cc diff --git a/native/cocos/base/threading/MessageQueue.cpp b/native/cocos/base/threading/MessageQueue.cpp new file mode 100644 index 0000000000..c01e69cf1e --- /dev/null +++ b/native/cocos/base/threading/MessageQueue.cpp @@ -0,0 +1,273 @@ +#include "MessageQueue.h" +#include + +namespace cc { + +namespace { +uint32_t constexpr kMemoryChunkSize = 4096 * 16; +uint32_t constexpr kMemoryChunkPoolCapacity = 64; +uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchMessage) + sizeof(DummyMessage); +} // namespace + +MessageQueue::MemoryAllocator &MessageQueue::MemoryAllocator::getInstance() noexcept { + static MessageQueue::MemoryAllocator instance; + return instance; +} + +uint8_t *MessageQueue::MemoryAllocator::request() noexcept { + uint8_t *newChunk = nullptr; + + if (mChunkPool.try_dequeue(newChunk)) { + mChunkCount.fetch_sub(1, std::memory_order_acq_rel); + } else { + newChunk = memoryAllocateForMultiThread(kMemoryChunkSize); + } + + return newChunk; +} + +void MessageQueue::MemoryAllocator::recycle(uint8_t *const chunk, bool const freeByUser) noexcept { + if (freeByUser) { + mChunkFreeQueue.enqueue(chunk); + } else { + free(chunk); + } +} + +void MessageQueue::MemoryAllocator::freeByUser(MessageQueue *const mainMessageQueue) noexcept { + auto queue = &mChunkFreeQueue; + + ENQUEUE_MESSAGE_1( + mainMessageQueue, FreeChunksInFreeQueue, + queue, queue, + { + uint8_t *chunk = nullptr; + + while (queue->try_dequeue(chunk)) { + MessageQueue::MemoryAllocator::getInstance().free(chunk); + } + }); + + mainMessageQueue->kick(); +} + +void MessageQueue::MemoryAllocator::free(uint8_t *const chunk) noexcept { + if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) { + memoryFreeForMultiThread(chunk); + } else { + mChunkPool.enqueue(chunk); + mChunkCount.fetch_add(1, std::memory_order_acq_rel); + } +} + +MessageQueue::MessageQueue() { + uint8_t *const chunk = MemoryAllocator::getInstance().request(); + + mW.mCurrentMemoryChunk = chunk; + mR.mCurrentMemoryChunk = chunk; + + // sentinel node will not be executed + Message *const cmd = allocate(1); + pushMessages(); + pullMessages(); + mR.mLastMessage = cmd; + --mR.mNewMessageCount; +} + +void MessageQueue::kick() noexcept { + pushMessages(); + mN.Signal(); +} + +void MessageQueue::kickAndWait() noexcept { + EventSem event; + EventSem *const pEvent = &event; + + ENQUEUE_MESSAGE_1(this, WaitUntilFinish, + pEvent, pEvent, + { + pEvent->Signal(); + }); + + kick(); + event.Wait(); +} + +void MessageQueue::runConsumerThread() noexcept { + if (mWorkerAttached) { + return; + } + + std::thread consumerThread(&MessageQueue::consumerThreadLoop, this); + consumerThread.detach(); + mWorkerAttached = true; +} + +void MessageQueue::terminateConsumerThread() noexcept { + if (!mWorkerAttached) { + return; + } + + EventSem event; + EventSem *const pEvent = &event; + + ReaderContext *const pR = &mR; + + new (allocate(1)) TerminateConsumerThreadMessage(pEvent, pR); + + kick(); + event.Wait(); +} + +void MessageQueue::finishWriting(bool wait) noexcept { + if (!mImmediateMode) { + bool *const flushingFinished = &mR.mFlushingFinished; + + ENQUEUE_MESSAGE_1(this, finishWriting, + flushingFinished, flushingFinished, + { + *flushingFinished = true; + }); + + if (wait) + kickAndWait(); + else + kick(); + } +} + +void MessageQueue::recycleMemoryChunk(uint8_t *const chunk) const noexcept { + MessageQueue::MemoryAllocator::getInstance().recycle(chunk, mFreeChunksByUser); +} + +void MessageQueue::freeChunksInFreeQueue(MessageQueue *const mainMessageQueue) noexcept { + MessageQueue::MemoryAllocator::getInstance().freeByUser(mainMessageQueue); +} + +uint8_t *MessageQueue::allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept { + uint32_t const alignedSize = align(requestSize, 16); + assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // exceeds the block size + + uint32_t const newOffset = mW.mOffset + alignedSize; + + if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) { + allocatedSize = alignedSize; + uint8_t *const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; + mW.mOffset = newOffset; + return allocatedMemory; + } else { + uint8_t *const newChunk = MessageQueue::MemoryAllocator::getInstance().request(); + MemoryChunkSwitchMessage *const switchMessage = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + new (switchMessage) MemoryChunkSwitchMessage(this, newChunk, mW.mCurrentMemoryChunk); + switchMessage->mNext = reinterpret_cast(newChunk); // point to start position + mW.mLastMessage = switchMessage; + ++mW.mPendingMessageCount; + mW.mCurrentMemoryChunk = newChunk; + mW.mOffset = 0; + + DummyMessage *const head = allocate(1); + new (head) DummyMessage; + + if (mImmediateMode) { + pushMessages(); + pullMessages(); + assert(mR.mNewMessageCount == 2); + executeMessages(); + executeMessages(); + } + + return allocateImpl(allocatedSize, requestSize); + } +} + +void MessageQueue::pushMessages() noexcept { + mW.mWrittenMessageCount.fetch_add(mW.mPendingMessageCount, std::memory_order_acq_rel); + mW.mPendingMessageCount = 0; +} + +void MessageQueue::pullMessages() noexcept { + uint32_t const writtenMessageCountNew = mW.mWrittenMessageCount.load(std::memory_order_acquire); + mR.mNewMessageCount += writtenMessageCountNew - mR.mWrittenMessageCountSnap; + mR.mWrittenMessageCountSnap = writtenMessageCountNew; +} + +void MessageQueue::flushMessages() noexcept { + while (!mR.mFlushingFinished) { + executeMessages(); + } + + mR.mFlushingFinished = false; +} + +void MessageQueue::executeMessages() noexcept { + Message *const cmd = readMessage(); + + if (!cmd) { + return; + } + + cmd->execute(); + cmd->~Message(); +} + +Message *MessageQueue::readMessage() noexcept { + while (!hasNewMessage()) { // if empty + pullMessages(); // try pulling data from consumer + + if (!hasNewMessage()) { // still empty + mN.Wait(); // wait for the producer to wake me up + pullMessages(); // pulling again + } + } + + Message *const cmd = mR.mLastMessage->getNext(); + mR.mLastMessage = cmd; + --mR.mNewMessageCount; + assert(cmd); + return cmd; +} + +void MessageQueue::consumerThreadLoop() noexcept { + while (!mR.mTerminateConsumerThread) { + flushMessages(); + } + + mWorkerAttached = false; +} + +char const *DummyMessage::getName() const noexcept { + return "Dummy"; +} + +MemoryChunkSwitchMessage::MemoryChunkSwitchMessage(MessageQueue *const queue, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept +: mMessageQueue(queue), mNewChunk(newChunk), mOldChunk(oldChunk) { +} + +MemoryChunkSwitchMessage::~MemoryChunkSwitchMessage() { + mMessageQueue->recycleMemoryChunk(mOldChunk); +} + +void MemoryChunkSwitchMessage::execute() noexcept { + mMessageQueue->mR.mCurrentMemoryChunk = mNewChunk; + mMessageQueue->pullMessages(); +} + +char const *MemoryChunkSwitchMessage::getName() const noexcept { + return "MemoryChunkSwitch"; +} + +TerminateConsumerThreadMessage::TerminateConsumerThreadMessage(EventSem *const pEvent, ReaderContext *const pR) noexcept +: mEvent(pEvent), mR(pR) { +} + +void TerminateConsumerThreadMessage::execute() noexcept { + mR->mTerminateConsumerThread = true; + mR->mFlushingFinished = true; + mEvent->Signal(); +} + +char const *TerminateConsumerThreadMessage::getName() const noexcept { + return "TerminateConsumerThread"; +} + +} // namespace cc diff --git a/native/cocos/base/threading/CommandEncoder.h b/native/cocos/base/threading/MessageQueue.h similarity index 74% rename from native/cocos/base/threading/CommandEncoder.h rename to native/cocos/base/threading/MessageQueue.h index 3cd57666e6..027a11299b 100644 --- a/native/cocos/base/threading/CommandEncoder.h +++ b/native/cocos/base/threading/MessageQueue.h @@ -21,62 +21,62 @@ inline uint32_t constexpr align(uint32_t const val, uint32_t const alignment) no return (val + alignment - 1) & ~(alignment - 1); } -class Command { +class Message { public: - Command() = default; - virtual ~Command() {} - Command(Command const &) = delete; - Command(Command &&) = delete; - Command &operator=(Command const &) = delete; - Command &operator=(Command &&) = delete; + Message() = default; + virtual ~Message() {} + Message(Message const &) = delete; + Message(Message &&) = delete; + Message &operator=(Message const &) = delete; + Message &operator=(Message &&) = delete; virtual void execute() noexcept = 0; virtual char const *getName() const noexcept = 0; - inline Command *getNext() const noexcept { return mNext; } + inline Message *getNext() const noexcept { return mNext; } private: - Command *mNext; + Message *mNext; - friend class CommandEncoder; + friend class MessageQueue; }; struct alignas(64) WriterContext final { uint8_t *mCurrentMemoryChunk{nullptr}; - Command *mLastCommand{nullptr}; + Message *mLastMessage{nullptr}; uint32_t mOffset{0}; - uint32_t mPendingCommandCount{0}; - std::atomic mWrittenCommandCount{0}; + uint32_t mPendingMessageCount{0}; + std::atomic mWrittenMessageCount{0}; }; struct alignas(64) ReaderContext final { uint8_t *mCurrentMemoryChunk{nullptr}; - Command *mLastCommand{nullptr}; + Message *mLastMessage{nullptr}; uint32_t mOffset{0}; - uint32_t mWrittenCommandCountSnap{0}; - uint32_t mNewCommandCount{0}; + uint32_t mWrittenMessageCountSnap{0}; + uint32_t mNewMessageCount{0}; bool mTerminateConsumerThread{false}; bool mFlushingFinished{false}; }; // A single-producer single-consumer circular buffer queue. -// Both the commands and their submitting data should be allocated from here. -class alignas(64) CommandEncoder final { +// Both the messages and their submitting data should be allocated from here. +class alignas(64) MessageQueue final { public: - CommandEncoder(); - ~CommandEncoder() = default; - CommandEncoder(CommandEncoder const &) = delete; - CommandEncoder(CommandEncoder &&) = delete; - CommandEncoder &operator=(CommandEncoder const &) = delete; - CommandEncoder &operator=(CommandEncoder &&) = delete; + MessageQueue(); + ~MessageQueue() = default; + MessageQueue(MessageQueue const &) = delete; + MessageQueue(MessageQueue &&) = delete; + MessageQueue &operator=(MessageQueue const &) = delete; + MessageQueue &operator=(MessageQueue &&) = delete; - // command allocation + // message allocation template - std::enable_if_t::value, T *> + std::enable_if_t::value, T *> allocate(uint32_t const count) noexcept; // general-purpose allocation template - std::enable_if_t::value, T *> + std::enable_if_t::value, T *> allocate(uint32_t const count) noexcept; template T *allocateAndCopy(uint32_t const count, void const *data) noexcept; @@ -92,18 +92,18 @@ public: void runConsumerThread() noexcept; void terminateConsumerThread() noexcept; void finishWriting(bool wait) noexcept; - void flushCommands() noexcept; + void flushMessages() noexcept; inline bool isImmediateMode() const noexcept { return mImmediateMode; } inline void finishWriting() noexcept { finishWriting(false); } void recycleMemoryChunk(uint8_t *const chunk) const noexcept; - static void freeChunksInFreeQueue(CommandEncoder *const mainCommandbuffer) noexcept; + static void freeChunksInFreeQueue(MessageQueue *const mainMessagesQueue) noexcept; inline void setImmediateMode(bool immediateMode) noexcept { mImmediateMode = immediateMode; } - inline int getPendingCommandCount() const noexcept { return mW.mPendingCommandCount; } - inline int getWrittenCommandCount() const noexcept { return mW.mWrittenCommandCount; } - inline int getNewCommandCount() const noexcept { return mR.mNewCommandCount; } + inline int getPendingMessageCount() const noexcept { return mW.mPendingMessageCount; } + inline int getWrittenMessageCount() const noexcept { return mW.mWrittenMessageCount; } + inline int getNewMessageCount() const noexcept { return mR.mNewMessageCount; } private: class alignas(64) MemoryAllocator final { @@ -118,7 +118,7 @@ private: static MemoryAllocator &getInstance() noexcept; uint8_t *request() noexcept; void recycle(uint8_t *const chunk, bool const freeByUser) noexcept; - void freeByUser(CommandEncoder *const mainCommandbuffer) noexcept; + void freeByUser(MessageQueue *const mainMessageQueue) noexcept; private: using ChunkQueue = moodycamel::ConcurrentQueue; @@ -130,13 +130,13 @@ private: }; uint8_t *allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept; - void pushCommands() noexcept; + void pushMessages() noexcept; // consumer thread specifics - void pullCommands() noexcept; - void executeCommand() noexcept; - Command *readCommand() noexcept; - inline bool hasNewCommand() const noexcept { return mR.mNewCommandCount > 0 && !mR.mFlushingFinished; } + void pullMessages() noexcept; + void executeMessages() noexcept; + Message *readMessage() noexcept; + inline bool hasNewMessage() const noexcept { return mR.mNewMessageCount > 0 && !mR.mFlushingFinished; } void consumerThreadLoop() noexcept; WriterContext mW; @@ -146,32 +146,32 @@ private: bool mWorkerAttached{false}; bool mFreeChunksByUser{true}; // recycled chunks will be stashed until explicit free instruction - friend class MemoryChunkSwitchCommand; + friend class MemoryChunkSwitchMessage; }; -class DummyCommand final : public Command { +class DummyMessage final : public Message { public: virtual void execute() noexcept override {} virtual char const *getName() const noexcept override; }; -class MemoryChunkSwitchCommand final : public Command { +class MemoryChunkSwitchMessage final : public Message { public: - MemoryChunkSwitchCommand(CommandEncoder *const cb, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept; - ~MemoryChunkSwitchCommand(); + MemoryChunkSwitchMessage(MessageQueue *const cb, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept; + ~MemoryChunkSwitchMessage(); virtual void execute() noexcept override; virtual char const *getName() const noexcept override; private: - CommandEncoder *mCommandEncoder{nullptr}; + MessageQueue *mMessageQueue{nullptr}; uint8_t *mNewChunk{nullptr}; uint8_t *mOldChunk{nullptr}; }; -class TerminateConsumerThreadCommand final : public Command { +class TerminateConsumerThreadMessage final : public Message { public: - TerminateConsumerThreadCommand(EventSem *const pEvent, ReaderContext *const pR) noexcept; + TerminateConsumerThreadMessage(EventSem *const pEvent, ReaderContext *const pR) noexcept; virtual void execute() noexcept override; virtual char const *getName() const noexcept override; @@ -182,104 +182,104 @@ private: }; template -std::enable_if_t::value, T *> -CommandEncoder::allocate(uint32_t const count) noexcept { +std::enable_if_t::value, T *> +MessageQueue::allocate(uint32_t const count) noexcept { uint32_t allocatedSize = 0; T *const cmd = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); - cmd->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - ++mW.mPendingCommandCount; - mW.mLastCommand = cmd; + cmd->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + ++mW.mPendingMessageCount; + mW.mLastMessage = cmd; return cmd; } template -std::enable_if_t::value, T *> -CommandEncoder::allocate(uint32_t const count) noexcept { +std::enable_if_t::value, T *> +MessageQueue::allocate(uint32_t const count) noexcept { uint32_t const requestSize = sizeof(T) * count; assert(requestSize); uint32_t allocatedSize = 0; uint8_t *const allocatedMemory = allocateImpl(allocatedSize, requestSize); - mW.mLastCommand->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + mW.mLastMessage->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); return reinterpret_cast(allocatedMemory); } template -T *CommandEncoder::allocateAndCopy(uint32_t const count, void const *data) noexcept { +T *MessageQueue::allocateAndCopy(uint32_t const count, void const *data) noexcept { T *const allocatedMemory = allocate(count); memcpy(allocatedMemory, data, sizeof(T) * count); return allocatedMemory; } template -T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { +T *MessageQueue::allocateAndZero(uint32_t const count) noexcept { T *const allocatedMemory = allocate(count); memset(allocatedMemory, 0, sizeof(T) * count); return allocatedMemory; } -// utility macros for the producer thread to encode commands +// utility macros for the producer thread to enqueue messages -#define WRITE_COMMAND(CB, CommandName, Params) \ - { \ - if (!CB->isImmediateMode()) { \ - new (CB->allocate(1)) CommandName Params; \ - } else { \ - CommandName command Params; \ - command.execute(); \ - } \ +#define WRITE_MESSAGE(queue, MessageName, Params) \ + { \ + if (!queue->isImmediateMode()) { \ + new (queue->allocate(1)) MessageName Params; \ + } else { \ + MessageName msg Params; \ + msg.execute(); \ + } \ } -#define ENCODE_COMMAND_0(CB, CommandName, Code) \ +#define ENQUEUE_MESSAGE_0(queue, MessageName, Code) \ { \ - class CommandName final : public Command { \ + class MessageName final : public Message { \ public: \ virtual void execute() noexcept override { \ Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ }; \ - WRITE_COMMAND(CB, CommandName, ); \ + WRITE_MESSAGE(queue, MessageName, ); \ } -#define ENCODE_COMMAND_1(CB, CommandName, \ - Param1, Value1, \ - Code) \ +#define ENQUEUE_MESSAGE_1(queue, MessageName, \ + Param1, Value1, \ + Code) \ { \ \ using Type1 = std::decay::type; \ \ - class CommandName final : public Command { \ + class MessageName final : public Message { \ public: \ - explicit CommandName(Type1 const &In##Param1) \ + explicit MessageName(Type1 const &In##Param1) \ : Param1(In##Param1) { \ } \ virtual void execute() noexcept override { \ Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ Type1 Param1; \ }; \ - WRITE_COMMAND(CB, CommandName, (Value1)) \ + WRITE_MESSAGE(queue, MessageName, (Value1)) \ } -#define ENCODE_COMMAND_2(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Code) \ +#define ENQUEUE_MESSAGE_2(queue, MessageName, \ + Param1, Value1, \ + Param2, Value2, \ + Code) \ { \ \ using Type1 = std::decay::type; \ using Type2 = std::decay::type; \ \ - class CommandName final : public Command { \ + class MessageName final : public Message { \ public: \ - CommandName( \ + MessageName( \ Type1 const &In##Param1, Type2 const &In##Param2) \ : Param1(In##Param1), Param2(In##Param2) { \ } \ @@ -287,30 +287,30 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ Type1 Param1; \ Type2 Param2; \ }; \ - WRITE_COMMAND(CB, CommandName, (Value1, Value2)) \ + WRITE_MESSAGE(queue, MessageName, (Value1, Value2)) \ } -#define ENCODE_COMMAND_3(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Code) \ +#define ENQUEUE_MESSAGE_3(queue, MessageName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Code) \ { \ \ using Type1 = std::decay::type; \ using Type2 = std::decay::type; \ using Type3 = std::decay::type; \ \ - class CommandName final : public Command { \ + class MessageName final : public Message { \ public: \ - CommandName( \ + MessageName( \ Type1 const &In##Param1, \ Type2 const &In##Param2, \ Type3 const &In##Param3) \ @@ -322,7 +322,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ @@ -330,18 +330,18 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Type2 Param2; \ Type3 Param3; \ }; \ - WRITE_COMMAND(CB, CommandName, \ + WRITE_MESSAGE(queue, MessageName, \ (Value1, \ Value2, \ Value3)) \ } -#define ENCODE_COMMAND_4(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Code) \ +#define ENQUEUE_MESSAGE_4(queue, MessageName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Code) \ { \ \ using Type1 = std::decay::type; \ @@ -349,9 +349,9 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { using Type3 = std::decay::type; \ using Type4 = std::decay::type; \ \ - class CommandName : public Command { \ + class MessageName : public Message { \ public: \ - CommandName( \ + MessageName( \ Type1 const &In##Param1, \ Type2 const &In##Param2, \ Type3 const &In##Param3, \ @@ -365,7 +365,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ @@ -374,20 +374,20 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Type3 Param3; \ Type4 Param4; \ }; \ - WRITE_COMMAND(CB, CommandName, \ + WRITE_MESSAGE(queue, MessageName, \ (Value1, \ Value2, \ Value3, \ Value4)) \ } -#define ENCODE_COMMAND_5(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Code) \ +#define ENQUEUE_MESSAGE_5(queue, MessageName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Code) \ { \ \ using Type1 = std::decay::type; \ @@ -396,9 +396,9 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { using Type4 = std::decay::type; \ using Type5 = std::decay::type; \ \ - class CommandName : public Command { \ + class MessageName : public Message { \ public: \ - CommandName( \ + MessageName( \ Type1 const &In##Param1, \ Type2 const &In##Param2, \ Type3 const &In##Param3, \ @@ -414,7 +414,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ @@ -424,7 +424,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Type4 Param4; \ Type5 Param5; \ }; \ - WRITE_COMMAND(CB, CommandName, \ + WRITE_MESSAGE(queue, MessageName, \ (Value1, \ Value2, \ Value3, \ @@ -432,14 +432,14 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Value5)) \ } -#define ENCODE_COMMAND_6(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Code) \ +#define ENQUEUE_MESSAGE_6(queue, MessageName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Code) \ { \ \ using Type1 = std::decay::type; \ @@ -449,9 +449,9 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { using Type5 = std::decay::type; \ using Type6 = std::decay::type; \ \ - class CommandName : public Command { \ + class MessageName : public Message { \ public: \ - CommandName( \ + MessageName( \ Type1 const &In##Param1, \ Type2 const &In##Param2, \ Type3 const &In##Param3, \ @@ -469,7 +469,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ @@ -480,7 +480,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Type5 Param5; \ Type6 Param6; \ }; \ - WRITE_COMMAND(CB, CommandName, \ + WRITE_MESSAGE(queue, MessageName, \ (Value1, \ Value2, \ Value3, \ @@ -489,15 +489,15 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Value6)) \ } -#define ENCODE_COMMAND_7(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Param7, Value7, \ - Code) \ +#define ENQUEUE_MESSAGE_7(queue, MessageName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Code) \ { \ \ using Type1 = std::decay::type; \ @@ -508,9 +508,9 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { using Type6 = std::decay::type; \ using Type7 = std::decay::type; \ \ - class CommandName : public Command { \ + class MessageName : public Message { \ public: \ - CommandName( \ + MessageName( \ Type1 const &In##Param1, \ Type2 const &In##Param2, \ Type3 const &In##Param3, \ @@ -530,7 +530,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Code \ } \ virtual const char *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ @@ -542,7 +542,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Type6 Param6; \ Type7 Param7; \ }; \ - WRITE_COMMAND(CB, CommandName, \ + WRITE_MESSAGE(queue, MessageName, \ (Value1, \ Value2, \ Value3, \ @@ -552,16 +552,16 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Value7)) \ } -#define ENCODE_COMMAND_8(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Param7, Value7, \ - Param8, Value8, \ - Code) \ +#define ENQUEUE_MESSAGE_8(queue, MessageName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Param8, Value8, \ + Code) \ { \ \ using Type1 = std::decay::type; \ @@ -573,9 +573,9 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { using Type7 = std::decay::type; \ using Type8 = std::decay::type; \ \ - class CommandName : public Command { \ + class MessageName : public Message { \ public: \ - CommandName(Type1 const &In##Param1, \ + MessageName(Type1 const &In##Param1, \ Type2 const &In##Param2, \ Type3 const &In##Param3, \ Type4 const &In##Param4, \ @@ -596,7 +596,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ @@ -609,7 +609,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Type7 Param7; \ Type8 Param8; \ }; \ - WRITE_COMMAND(CB, CommandName, \ + WRITE_MESSAGE(queue, MessageName, \ (Value1, \ Value2, \ Value3, \ @@ -620,17 +620,17 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Value8)) \ } -#define ENCODE_COMMAND_9(CB, CommandName, \ - Param1, Value1, \ - Param2, Value2, \ - Param3, Value3, \ - Param4, Value4, \ - Param5, Value5, \ - Param6, Value6, \ - Param7, Value7, \ - Param8, Value8, \ - Param9, Value9, \ - Code) \ +#define ENQUEUE_MESSAGE_9(queue, MessageName, \ + Param1, Value1, \ + Param2, Value2, \ + Param3, Value3, \ + Param4, Value4, \ + Param5, Value5, \ + Param6, Value6, \ + Param7, Value7, \ + Param8, Value8, \ + Param9, Value9, \ + Code) \ { \ \ using Type1 = std::decay::type; \ @@ -643,9 +643,9 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { using Type8 = std::decay::type; \ using Type9 = std::decay::type; \ \ - class CommandName : public Command { \ + class MessageName : public Message { \ public: \ - CommandName(Type1 const &In##Param1, \ + MessageName(Type1 const &In##Param1, \ Type2 const &In##Param2, \ Type3 const &In##Param3, \ Type4 const &In##Param4, \ @@ -668,7 +668,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Code \ } \ virtual char const *getName() const noexcept override { \ - return (#CommandName); \ + return (#MessageName); \ } \ \ private: \ @@ -682,7 +682,7 @@ T *CommandEncoder::allocateAndZero(uint32_t const count) noexcept { Type8 Param8; \ Type9 Param9; \ }; \ - WRITE_COMMAND(CB, CommandName, \ + WRITE_MESSAGE(queue, MessageName, \ (Value1, \ Value2, \ Value3, \ diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index d72e41239a..f2d0c78e01 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -24,7 +24,7 @@ #include "gfx/GFXShader.h" #include "gfx/GFXTexture.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "threading/ThreadPool.h" #include "gfx-agent/GFXBufferAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp index dfb750e395..2cd4076812 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXDeviceAgent.h" #include "GFXLinearAllocatorPool.h" @@ -16,8 +16,8 @@ bool BufferAgent::initialize(const BufferInfo &info) { _stride = std::max(info.stride, 1u); _count = _size / _stride; - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), BufferInit, actor, getActor(), info, info, @@ -39,8 +39,8 @@ bool BufferAgent::initialize(const BufferViewInfo &info) { BufferViewInfo actorInfo = info; actorInfo.buffer = ((BufferAgent *)info.buffer)->getActor(); - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), BufferViewInit, actor, getActor(), info, actorInfo, @@ -53,8 +53,8 @@ bool BufferAgent::initialize(const BufferViewInfo &info) { void BufferAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), BufferDestroy, actor, getActor(), { @@ -69,8 +69,8 @@ void BufferAgent::update(void *buffer, uint size) { uint8_t *actorBuffer = ((DeviceAgent *)_device)->getMainAllocator()->allocate(size); memcpy(actorBuffer, buffer, size); - ENCODE_COMMAND_3( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_3( + ((DeviceAgent *)_device)->getMessageQueue(), BufferUpdate, actor, getActor(), buffer, actorBuffer, @@ -84,8 +84,8 @@ void BufferAgent::resize(uint size) { _size = size; _count = size / _stride; - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), BufferResize, actor, getActor(), size, size, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index d283a98084..84b4a6dd1b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -1,7 +1,7 @@ #include "CoreStd.h" #include "job-system/JobSystem.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" #include "GFXDescriptorSetAgent.h" @@ -22,35 +22,35 @@ void CommandBufferAgent::flushCommands(CommandBufferAgent *const *cmdBuffs, uint if (multiThreaded) { JobGraph g(JobSystem::getInstance()); uint job = g.createForEachIndexJob(1u, count, 1u, [cmdBuffs](uint i) { - cmdBuffs[i]->getEncoder()->flushCommands(); + cmdBuffs[i]->getMessageQueue()->flushMessages(); }); g.run(job); - cmdBuffs[0]->getEncoder()->flushCommands(); + cmdBuffs[0]->getMessageQueue()->flushMessages(); g.waitForAll(); } else { for (uint i = 0u; i < count; ++i) { - cmdBuffs[i]->getEncoder()->flushCommands(); + cmdBuffs[i]->getMessageQueue()->flushMessages(); } } } else { - cmdBuffs[0]->getEncoder()->flushCommands(); + cmdBuffs[0]->getMessageQueue()->flushMessages(); } } -void CommandBufferAgent::initEncoder() { +void CommandBufferAgent::initMessageQueue() { _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { _allocatorPools[i] = CC_NEW(LinearAllocatorPool); } ((DeviceAgent *)_device)->_allocatorPoolRefs.insert(_allocatorPools.data()); - _encoder = CC_NEW(CommandEncoder); - _encoder->setImmediateMode(false); + _messageQueue = CC_NEW(MessageQueue); + _messageQueue->setImmediateMode(false); } -void CommandBufferAgent::destroyEncoder() { - ((DeviceAgent *)_device)->getMainEncoder()->kickAndWait(); - CC_SAFE_DELETE(_encoder); +void CommandBufferAgent::destroyMessageQueue() { + ((DeviceAgent *)_device)->getMessageQueue()->kickAndWait(); + CC_SAFE_DELETE(_messageQueue); ((DeviceAgent *)_device)->_allocatorPoolRefs.erase(_allocatorPools.data()); for (LinearAllocatorPool *pool : _allocatorPools) { @@ -64,7 +64,7 @@ LinearAllocatorPool *CommandBufferAgent::getAllocator() { } bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { - initEncoder(); + initMessageQueue(); _type = info.type; _queue = info.queue; @@ -72,8 +72,8 @@ bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { CommandBufferInfo actorInfo = info; actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferInit, actor, getActor(), info, actorInfo, @@ -85,10 +85,10 @@ bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { } void CommandBufferAgent::destroy() { - destroyEncoder(); + destroyMessageQueue(); if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferDestroy, actor, getActor(), { @@ -100,8 +100,8 @@ void CommandBufferAgent::destroy() { } void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { - ENCODE_COMMAND_5( - _encoder, + ENQUEUE_MESSAGE_5( + _messageQueue, CommandBufferBegin, actor, getActor(), renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, @@ -114,15 +114,15 @@ void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer } void CommandBufferAgent::end() { - ENCODE_COMMAND_1( - _encoder, + ENQUEUE_MESSAGE_1( + _messageQueue, CommandBufferEnd, actor, getActor(), { actor->end(); }); - CommandEncoder::freeChunksInFreeQueue(_encoder); - _encoder->finishWriting(); + MessageQueue::freeChunksInFreeQueue(_messageQueue); + _messageQueue->finishWriting(); } void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { @@ -133,13 +133,13 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb memcpy(actorColors, colors, sizeof(Color) * attachmentCount); } - const CommandBuffer **actorCmdBuffs = _encoder->allocate(count); + const CommandBuffer **actorCmdBuffs = _messageQueue->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } - ENCODE_COMMAND_9( - _encoder, + ENQUEUE_MESSAGE_9( + _messageQueue, CommandBufferBeginRenderPass, actor, getActor(), renderPass, ((RenderPassAgent *)renderPass)->getActor(), @@ -156,8 +156,8 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb } void CommandBufferAgent::endRenderPass() { - ENCODE_COMMAND_1( - _encoder, + ENQUEUE_MESSAGE_1( + _messageQueue, CommandBufferEndRenderPass, actor, getActor(), { @@ -168,15 +168,15 @@ void CommandBufferAgent::endRenderPass() { void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { if (!count) return; - const CommandBuffer **actorCmdBuffs = _encoder->allocate(count); + const CommandBuffer **actorCmdBuffs = _messageQueue->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); - ENCODE_COMMAND_5( - _encoder, + ENQUEUE_MESSAGE_5( + _messageQueue, CommandBufferExecute, actor, getActor(), cmdBuffs, (CommandBufferAgent *const *)cmdBuffs, @@ -190,8 +190,8 @@ void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t } void CommandBufferAgent::bindPipelineState(PipelineState *pso) { - ENCODE_COMMAND_2( - _encoder, + ENQUEUE_MESSAGE_2( + _messageQueue, CommandBufferBindPipelineState, actor, getActor(), pso, ((PipelineStateAgent *)pso)->getActor(), @@ -207,8 +207,8 @@ void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSe memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); } - ENCODE_COMMAND_5( - _encoder, + ENQUEUE_MESSAGE_5( + _messageQueue, CommandBufferBindDescriptorSet, actor, getActor(), set, set, @@ -221,8 +221,8 @@ void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { - ENCODE_COMMAND_2( - _encoder, + ENQUEUE_MESSAGE_2( + _messageQueue, CommandBufferBindInputAssembler, actor, getActor(), ia, ((InputAssemblerAgent *)ia)->getActor(), @@ -232,8 +232,8 @@ void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { } void CommandBufferAgent::setViewport(const Viewport &vp) { - ENCODE_COMMAND_2( - _encoder, + ENQUEUE_MESSAGE_2( + _messageQueue, CommandBufferSetViewport, actor, getActor(), vp, vp, @@ -243,8 +243,8 @@ void CommandBufferAgent::setViewport(const Viewport &vp) { } void CommandBufferAgent::setScissor(const Rect &rect) { - ENCODE_COMMAND_2( - _encoder, + ENQUEUE_MESSAGE_2( + _messageQueue, CommandBufferSetScissor, actor, getActor(), rect, rect, @@ -254,8 +254,8 @@ void CommandBufferAgent::setScissor(const Rect &rect) { } void CommandBufferAgent::setLineWidth(const float width) { - ENCODE_COMMAND_2( - _encoder, + ENQUEUE_MESSAGE_2( + _messageQueue, CommandBufferSetLineWidth, actor, getActor(), width, width, @@ -265,8 +265,8 @@ void CommandBufferAgent::setLineWidth(const float width) { } void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) { - ENCODE_COMMAND_4( - _encoder, + ENQUEUE_MESSAGE_4( + _messageQueue, CommandBufferSetDepthBias, actor, getActor(), constant, constant, @@ -278,8 +278,8 @@ void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) } void CommandBufferAgent::setBlendConstants(const Color &constants) { - ENCODE_COMMAND_2( - _encoder, + ENQUEUE_MESSAGE_2( + _messageQueue, CommandBufferSetBlendConstants, actor, getActor(), constants, constants, @@ -289,8 +289,8 @@ void CommandBufferAgent::setBlendConstants(const Color &constants) { } void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { - ENCODE_COMMAND_3( - _encoder, + ENQUEUE_MESSAGE_3( + _messageQueue, CommandBufferSetDepthBound, actor, getActor(), minBounds, minBounds, @@ -301,8 +301,8 @@ void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { } void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { - ENCODE_COMMAND_3( - _encoder, + ENQUEUE_MESSAGE_3( + _messageQueue, CommandBufferSetStencilWriteMask, actor, getActor(), face, face, @@ -313,8 +313,8 @@ void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { } void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint mask) { - ENCODE_COMMAND_4( - _encoder, + ENQUEUE_MESSAGE_4( + _messageQueue, CommandBufferSetStencilCompareMask, actor, getActor(), face, face, @@ -326,8 +326,8 @@ void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint m } void CommandBufferAgent::draw(InputAssembler *ia) { - ENCODE_COMMAND_2( - _encoder, + ENQUEUE_MESSAGE_2( + _messageQueue, CommandBufferDraw, actor, getActor(), ia, ((InputAssemblerAgent *)ia)->getActor(), @@ -337,13 +337,13 @@ void CommandBufferAgent::draw(InputAssembler *ia) { } void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { - CommandEncoder *encoder = _encoder; + MessageQueue *queue = _messageQueue; uint8_t *actorData = getAllocator()->allocate(size); memcpy(actorData, data, size); - ENCODE_COMMAND_4( - encoder, + ENQUEUE_MESSAGE_4( + queue, CommandBufferUpdateBuffer, actor, getActor(), buff, ((BufferAgent *)buff)->getActor(), @@ -375,8 +375,8 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex } } - ENCODE_COMMAND_5( - _encoder, + ENQUEUE_MESSAGE_5( + _messageQueue, CommandBufferCopyBuffersToTexture, actor, getActor(), buffers, actorBuffers, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 79c75abef0..0fe3769973 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -5,7 +5,7 @@ namespace cc { -class CommandEncoder; +class MessageQueue; namespace gfx { @@ -44,15 +44,15 @@ public: virtual uint getNumInstances() const override { return _actor->getNumInstances(); } virtual uint getNumTris() const override { return _actor->getNumTris(); } - CC_INLINE CommandEncoder *getEncoder() { return _encoder; } + CC_INLINE MessageQueue *getMessageQueue() { return _messageQueue; } LinearAllocatorPool *getAllocator(); private: friend class DeviceAgent; - void initEncoder(); - void destroyEncoder(); - CommandEncoder *_encoder = nullptr; + void initMessageQueue(); + void destroyMessageQueue(); + MessageQueue *_messageQueue = nullptr; vector _allocatorPools; }; diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp index e76a4063a6..a60d9d96b1 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXDescriptorSetAgent.h" #include "GFXDeviceAgent.h" @@ -22,8 +22,8 @@ bool DescriptorSetAgent::initialize(const DescriptorSetInfo &info) { actorInfo.layout = ((PipelineLayoutAgent *)info.layout)->getActor(); actorInfo.setIndex = info.setIndex; - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), DescriptorSetInit, actor, getActor(), info, actorInfo, @@ -41,8 +41,8 @@ void DescriptorSetAgent::destroy() { _samplers.clear(); if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), DescriptorSetDestroy, actor, getActor(), { @@ -54,8 +54,8 @@ void DescriptorSetAgent::destroy() { } void DescriptorSetAgent::update() { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), DescriptorSetUpdate, actor, getActor(), { @@ -66,8 +66,8 @@ void DescriptorSetAgent::update() { void DescriptorSetAgent::bindBuffer(uint binding, Buffer *buffer, uint index) { DescriptorSet::bindBuffer(binding, buffer, index); - ENCODE_COMMAND_4( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_4( + ((DeviceAgent *)_device)->getMessageQueue(), DescriptorSetBindBuffer, actor, getActor(), binding, binding, @@ -81,8 +81,8 @@ void DescriptorSetAgent::bindBuffer(uint binding, Buffer *buffer, uint index) { void DescriptorSetAgent::bindTexture(uint binding, Texture *texture, uint index) { DescriptorSet::bindTexture(binding, texture, index); - ENCODE_COMMAND_4( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_4( + ((DeviceAgent *)_device)->getMessageQueue(), DescriptorSetBindTexture, actor, getActor(), binding, binding, @@ -96,8 +96,8 @@ void DescriptorSetAgent::bindTexture(uint binding, Texture *texture, uint index) void DescriptorSetAgent::bindSampler(uint binding, Sampler *sampler, uint index) { DescriptorSet::bindSampler(binding, sampler, index); - ENCODE_COMMAND_4( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_4( + ((DeviceAgent *)_device)->getMessageQueue(), DescriptorSetBindSampler, actor, getActor(), binding, binding, diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp index 76db91a8c2..00b89d431f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXDescriptorSetLayoutAgent.h" @@ -32,8 +32,8 @@ bool DescriptorSetLayoutAgent::initialize(const DescriptorSetLayoutInfo &info) { } } - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), DescriptorSetLayoutInit, actor, getActor(), info, info, @@ -46,8 +46,8 @@ bool DescriptorSetLayoutAgent::initialize(const DescriptorSetLayoutInfo &info) { void DescriptorSetLayoutAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), DescriptorSetLayoutDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 4be0e08925..332a94afc5 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" #include "GFXDescriptorSetLayoutAgent.h" @@ -48,7 +48,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { _deviceName = _actor->getDeviceName(); _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); - ((CommandBufferAgent *)_cmdBuff)->initEncoder(); + ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); _renderer = _actor->getRenderer(); _vendor = _actor->getVendor(); _maxVertexAttributes = _actor->getMaxVertexAttributes(); @@ -65,7 +65,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { _stencilBits = _actor->getStencilBits(); memcpy(_features, _actor->_features, (uint)Feature::COUNT * sizeof(bool)); - _mainEncoder = CC_NEW(CommandEncoder); + _mainEncoder = CC_NEW(MessageQueue); _mainEncoder->runConsumerThread(); _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); @@ -80,8 +80,8 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { void DeviceAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - getMainEncoder(), + ENQUEUE_MESSAGE_1( + getMessageQueue(), DeviceDestroy, actor, getActor(), { @@ -91,7 +91,7 @@ void DeviceAgent::destroy() { _actor = nullptr; } - ((CommandBufferAgent *)_cmdBuff)->destroyEncoder(); + ((CommandBufferAgent *)_cmdBuff)->destroyMessageQueue(); CC_SAFE_DELETE(_cmdBuff); CC_SAFE_DELETE(_queue); @@ -108,8 +108,8 @@ void DeviceAgent::resize(uint width, uint height) { _width = _nativeWidth = width; _height = _nativeHeight = height; - ENCODE_COMMAND_3( - getMainEncoder(), + ENQUEUE_MESSAGE_3( + getMessageQueue(), DeviceResize, actor, getActor(), width, width, @@ -120,7 +120,7 @@ void DeviceAgent::resize(uint width, uint height) { } void DeviceAgent::acquire() { - ENCODE_COMMAND_1( + ENQUEUE_MESSAGE_1( _mainEncoder, DeviceAcquire, actor, getActor(), @@ -130,7 +130,7 @@ void DeviceAgent::acquire() { } void DeviceAgent::present() { - ENCODE_COMMAND_2( + ENQUEUE_MESSAGE_2( _mainEncoder, DevicePresent, actor, getActor(), @@ -140,7 +140,7 @@ void DeviceAgent::present() { frameBoundarySemaphore->Signal(); }); - CommandEncoder::freeChunksInFreeQueue(_mainEncoder); + MessageQueue::freeChunksInFreeQueue(_mainEncoder); _mainEncoder->finishWriting(); _currentIndex = (_currentIndex + 1) % (MAX_CPU_FRAME_AHEAD + 1); _frameBoundarySemaphore.Wait(); @@ -158,14 +158,14 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { if (multithreaded) { _mainEncoder->setImmediateMode(false); _actor->bindRenderContext(false); - ENCODE_COMMAND_1( + ENQUEUE_MESSAGE_1( _mainEncoder, DeviceMakeCurrent, actor, _actor, { actor->bindDeviceContext(true); }); } else { - ENCODE_COMMAND_1( + ENQUEUE_MESSAGE_1( _mainEncoder, DeviceMakeCurrent, actor, _actor, { @@ -280,7 +280,7 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d } } - ENCODE_COMMAND_5( + ENQUEUE_MESSAGE_5( _mainEncoder, DeviceCopyBuffersToTexture, actor, getActor(), diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index dfb4cca9c3..dc11e8fafc 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -6,7 +6,7 @@ namespace cc { -class CommandEncoder; +class MessageQueue; namespace gfx { @@ -16,7 +16,7 @@ constexpr uint MAX_CPU_FRAME_AHEAD = 1u; // one per CPU core struct SubmitContext final { - CommandEncoder *encoder{nullptr}; + MessageQueue *encoder{nullptr}; CommandBuffer *commandBuffer{nullptr}; }; @@ -58,14 +58,14 @@ public: virtual uint getNumInstances() const override { return _actor->getNumInstances(); } virtual uint getNumTris() const override { return _actor->getNumTris(); } - CommandEncoder *getMainEncoder() const { return _mainEncoder; } + MessageQueue *getMessageQueue() const { return _mainEncoder; } LinearAllocatorPool *getMainAllocator() const { return _allocatorPools[_currentIndex]; } protected: friend class CommandBufferAgent; bool _multithreaded{false}; - CommandEncoder *_mainEncoder{nullptr}; + MessageQueue *_mainEncoder{nullptr}; uint _currentIndex = 0u; vector _allocatorPools; diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp index d963d58834..6243d9cf33 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXFramebufferAgent.h" #include "GFXRenderPassAgent.h" @@ -25,8 +25,8 @@ bool FramebufferAgent::initialize(const FramebufferInfo &info) { } actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), FramebufferInit, actor, getActor(), info, actorInfo, @@ -39,8 +39,8 @@ bool FramebufferAgent::initialize(const FramebufferInfo &info) { void FramebufferAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), FramebufferDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp index 736f94205b..699cf9b5b2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXDeviceAgent.h" #include "GFXInputAssemblerAgent.h" @@ -35,8 +35,8 @@ bool InputAssemblerAgent::initialize(const InputAssemblerInfo &info) { actorInfo.indirectBuffer = ((BufferAgent *)actorInfo.indirectBuffer)->getActor(); } - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerInit, actor, getActor(), info, actorInfo, @@ -49,8 +49,8 @@ bool InputAssemblerAgent::initialize(const InputAssemblerInfo &info) { void InputAssemblerAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp index 177faf5008..e62b52e40a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXDescriptorSetLayoutAgent.h" #include "GFXDeviceAgent.h" #include "GFXPipelineLayoutAgent.h" @@ -18,8 +18,8 @@ bool PipelineLayoutAgent::initialize(const PipelineLayoutInfo &info) { actorInfo.setLayouts[i] = ((DescriptorSetLayoutAgent *)info.setLayouts[i])->getActor(); } - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), PipelineLayoutInit, actor, getActor(), info, actorInfo, @@ -32,8 +32,8 @@ bool PipelineLayoutAgent::initialize(const PipelineLayoutInfo &info) { void PipelineLayoutAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), PipelineLayoutDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp index 36adb7dcbe..a263d5d6b0 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXPipelineLayoutAgent.h" #include "GFXPipelineStateAgent.h" @@ -26,8 +26,8 @@ bool PipelineStateAgent::initialize(const PipelineStateInfo &info) { actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); actorInfo.pipelineLayout = ((PipelineLayoutAgent *)info.pipelineLayout)->getActor(); - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), PipelineStateInit, actor, getActor(), info, actorInfo, @@ -40,8 +40,8 @@ bool PipelineStateAgent::initialize(const PipelineStateInfo &info) { void PipelineStateAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), PipelineStateDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index e03e46981c..9e68ca3333 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -5,7 +5,7 @@ #include "GFXLinearAllocatorPool.h" #include "GFXQueueAgent.h" #include "job-system/JobSystem.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" namespace cc { namespace gfx { @@ -13,8 +13,8 @@ namespace gfx { bool QueueAgent::initialize(const QueueInfo &info) { _type = info.type; - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), QueueInit, actor, getActor(), info, info, @@ -27,8 +27,8 @@ bool QueueAgent::initialize(const QueueInfo &info) { void QueueAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), QueueDestroy, actor, getActor(), { @@ -50,8 +50,8 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); - ENCODE_COMMAND_6( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_6( + ((DeviceAgent *)_device)->getMessageQueue(), QueueSubmit, actor, getActor(), multiThreaded, multiThreaded, diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp index 444558991c..b823db0fff 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXRenderPassAgent.h" @@ -14,8 +14,8 @@ bool RenderPassAgent::initialize(const RenderPassInfo &info) { _subPasses = info.subPasses; _hash = computeHash(); - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), RenderPassInit, actor, getActor(), info, info, @@ -28,8 +28,8 @@ bool RenderPassAgent::initialize(const RenderPassInfo &info) { void RenderPassAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), RenderPassDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp index 0b071baf3c..bf8a5f1d8f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXDescriptorSetLayoutAgent.h" #include "GFXDeviceAgent.h" #include "GFXSamplerAgent.h" @@ -23,8 +23,8 @@ bool SamplerAgent::initialize(const SamplerInfo &info) { _maxLOD = info.maxLOD; _mipLODBias = info.mipLODBias; - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), SamplerInit, actor, getActor(), info, info, @@ -37,8 +37,8 @@ bool SamplerAgent::initialize(const SamplerInfo &info) { void SamplerAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), SamplerDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp index 3788e9c1d0..88fd5d0584 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXShaderAgent.h" @@ -14,8 +14,8 @@ bool ShaderAgent::initialize(const ShaderInfo &info) { _blocks = info.blocks; _samplers = info.samplers; - ENCODE_COMMAND_2( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), ShaderInit, actor, getActor(), info, info, @@ -28,8 +28,8 @@ bool ShaderAgent::initialize(const ShaderInfo &info) { void ShaderAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), ShaderDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp index 8cf9d887cd..afd803fdd9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/CommandEncoder.h" +#include "threading/MessageQueue.h" #include "GFXTextureAgent.h" #include "GFXDeviceAgent.h" @@ -20,8 +20,8 @@ bool TextureAgent::initialize(const TextureInfo &info) { _flags = info.flags; _size = FormatSize(_format, _width, _height, _depth); - ENCODE_COMMAND_2( - ((DeviceAgent*)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent*)_device)->getMessageQueue(), TextureInit, actor, getActor(), info, info, @@ -53,8 +53,8 @@ bool TextureAgent::initialize(const TextureViewInfo &info) { _flags = info.texture->getFlags(); _size = FormatSize(_format, _width, _height, _depth); - ENCODE_COMMAND_2( - ((DeviceAgent*)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_2( + ((DeviceAgent*)_device)->getMessageQueue(), TextureViewInit, actor, getActor(), info, info, @@ -67,8 +67,8 @@ bool TextureAgent::initialize(const TextureViewInfo &info) { void TextureAgent::destroy() { if (_actor) { - ENCODE_COMMAND_1( - ((DeviceAgent *)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), TextureDestroy, actor, getActor(), { @@ -80,8 +80,8 @@ void TextureAgent::destroy() { } void TextureAgent::resize(uint width, uint height) { - ENCODE_COMMAND_3( - ((DeviceAgent*)_device)->getMainEncoder(), + ENQUEUE_MESSAGE_3( + ((DeviceAgent*)_device)->getMessageQueue(), TextureResize, actor, getActor(), width, width, diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index b71306a589..9cc1b9c1d0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -390,10 +390,8 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS gpuDescriptorSetLayout->defaultDescriptorSet = gpuDescriptorSetLayout->pool.request(); - if (gpuDevice->useDescriptorUpdateTemplate) { + if (gpuDevice->useDescriptorUpdateTemplate && bindingCount) { const vector &bindings = gpuDescriptorSetLayout->vkBindings; - uint bindingCount = bindings.size(); - if (!bindingCount) return; vector entries(bindingCount); for (size_t j = 0u, k = 0u; j < bindingCount; j++) { diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index b3b44ab419..82f277a06d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -280,33 +280,31 @@ bool CCVKContext::initialize(const ContextInfo &info) { ///////////////////// Surface Creation ///////////////////// - CCVKDevice* device = (CCVKDevice*)_device; - #if defined(VK_USE_PLATFORM_ANDROID_KHR) VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; surfaceCreateInfo.window = (ANativeWindow *)_windowHandle; VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); - EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { + EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [this](const CustomEvent &) -> void { if (_gpuContext && _gpuContext->vkSurface != VK_NULL_HANDLE) { - CCVKQueue *queue = (CCVKQueue *)device->getQueue(); + CCVKQueue *queue = (CCVKQueue *)_device->getQueue(); - uint fenceCount = device->gpuFencePool()->size(); + uint fenceCount = _device->gpuFencePool()->size(); if (fenceCount) { - VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, fenceCount, - device->gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); + VK_CHECK(vkWaitForFences(_device->gpuDevice()->vkDevice, fenceCount, + _device->gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); } - device->destroySwapchain(); - device->_swapchainReady = false; + _device->destroySwapchain(); + _device->_swapchainReady = false; vkDestroySurfaceKHR(_gpuContext->vkInstance, _gpuContext->vkSurface, nullptr); _gpuContext->vkSurface = VK_NULL_HANDLE; } }); - EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [=](const CustomEvent &event) -> void { + EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [this](const CustomEvent &event) -> void { _windowHandle = (uintptr_t)event.args->ptrVal; if (_gpuContext && _gpuContext->vkSurface == VK_NULL_HANDLE) { @@ -316,7 +314,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); - device->checkSwapchainStatus(); + _device->checkSwapchainStatus(); } }); #elif defined(VK_USE_PLATFORM_WIN32_KHR) From 55722500c9ea17ce63d86be0eddb1008209c5f2c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 29 Dec 2020 21:46:22 +0800 Subject: [PATCH 090/270] structure --- native/cocos/base/job-system/JobSystem.h | 2 + native/cocos/base/threading/MessageQueue.cpp | 41 ++++++++++--------- native/cocos/base/threading/MessageQueue.h | 8 ++-- .../cocos/renderer/gfx-gles2/CMakeLists.txt | 1 + .../cocos/renderer/gfx-gles3/CMakeLists.txt | 1 + .../cocos/renderer/gfx-metal/CMakeLists.txt | 1 + .../cocos/renderer/gfx-vulkan/CMakeLists.txt | 1 + 7 files changed, 31 insertions(+), 24 deletions(-) diff --git a/native/cocos/base/job-system/JobSystem.h b/native/cocos/base/job-system/JobSystem.h index add8d05a43..e9a337c3ba 100644 --- a/native/cocos/base/job-system/JobSystem.h +++ b/native/cocos/base/job-system/JobSystem.h @@ -3,6 +3,7 @@ #include "job-system-taskflow/TFJobGraph.h" #include "job-system-taskflow/TFJobSystem.h" namespace cc { +using JobToken = TFJobToken; using JobGraph = TFJobGraph; using JobSystem = TFJobSystem; } // namespace cc @@ -10,6 +11,7 @@ using JobSystem = TFJobSystem; #include "job-system-tbb/TBBJobGraph.h" #include "job-system-tbb/TBBJobSystem.h" namespace cc { +using JobToken = TBBJobToken; using JobGraph = TBBJobGraph; using JobSystem = TBBJobSystem; } // namespace cc diff --git a/native/cocos/base/threading/MessageQueue.cpp b/native/cocos/base/threading/MessageQueue.cpp index c01e69cf1e..f5bfc7780c 100644 --- a/native/cocos/base/threading/MessageQueue.cpp +++ b/native/cocos/base/threading/MessageQueue.cpp @@ -67,10 +67,10 @@ MessageQueue::MessageQueue() { mR.mCurrentMemoryChunk = chunk; // sentinel node will not be executed - Message *const cmd = allocate(1); + Message *const msg = allocate(1); pushMessages(); pullMessages(); - mR.mLastMessage = cmd; + mR.mLastMessage = msg; --mR.mNewMessageCount; } @@ -84,10 +84,10 @@ void MessageQueue::kickAndWait() noexcept { EventSem *const pEvent = &event; ENQUEUE_MESSAGE_1(this, WaitUntilFinish, - pEvent, pEvent, - { - pEvent->Signal(); - }); + pEvent, pEvent, + { + pEvent->Signal(); + }); kick(); event.Wait(); @@ -124,15 +124,16 @@ void MessageQueue::finishWriting(bool wait) noexcept { bool *const flushingFinished = &mR.mFlushingFinished; ENQUEUE_MESSAGE_1(this, finishWriting, - flushingFinished, flushingFinished, - { - *flushingFinished = true; - }); + flushingFinished, flushingFinished, + { + *flushingFinished = true; + }); - if (wait) + if (wait) { kickAndWait(); - else + } else { kick(); + } } } @@ -200,14 +201,14 @@ void MessageQueue::flushMessages() noexcept { } void MessageQueue::executeMessages() noexcept { - Message *const cmd = readMessage(); + Message *const msg = readMessage(); - if (!cmd) { + if (!msg) { return; } - cmd->execute(); - cmd->~Message(); + msg->execute(); + msg->~Message(); } Message *MessageQueue::readMessage() noexcept { @@ -220,11 +221,11 @@ Message *MessageQueue::readMessage() noexcept { } } - Message *const cmd = mR.mLastMessage->getNext(); - mR.mLastMessage = cmd; + Message *const msg = mR.mLastMessage->getNext(); + mR.mLastMessage = msg; --mR.mNewMessageCount; - assert(cmd); - return cmd; + assert(msg); + return msg; } void MessageQueue::consumerThreadLoop() noexcept { diff --git a/native/cocos/base/threading/MessageQueue.h b/native/cocos/base/threading/MessageQueue.h index 027a11299b..609d9a72bf 100644 --- a/native/cocos/base/threading/MessageQueue.h +++ b/native/cocos/base/threading/MessageQueue.h @@ -185,11 +185,11 @@ template std::enable_if_t::value, T *> MessageQueue::allocate(uint32_t const count) noexcept { uint32_t allocatedSize = 0; - T *const cmd = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); - cmd->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + T *const msg = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); + msg->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); ++mW.mPendingMessageCount; - mW.mLastMessage = cmd; - return cmd; + mW.mLastMessage = msg; + return msg; } template diff --git a/native/cocos/renderer/gfx-gles2/CMakeLists.txt b/native/cocos/renderer/gfx-gles2/CMakeLists.txt index 8fc703b414..402f24fab1 100644 --- a/native/cocos/renderer/gfx-gles2/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles2/CMakeLists.txt @@ -8,6 +8,7 @@ set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/khronos ${GFX_EXTERNAL_PATH}/glsl_optimizer/src ${GFX_EXTERNAL_PATH}/glsl_optimizer/src/mesa + ${GFX_EXTERNAL_PATH}/taskflow ${GFX_EXTERNAL_PATH}/boost ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/renderer/core diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index 90b7d9c87d..4463e204a8 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -8,6 +8,7 @@ set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/khronos ${GFX_EXTERNAL_PATH}/glsl_optimizer/src ${GFX_EXTERNAL_PATH}/glsl_optimizer/src/mesa + ${GFX_EXTERNAL_PATH}/taskflow ${GFX_EXTERNAL_PATH}/boost ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/renderer/core diff --git a/native/cocos/renderer/gfx-metal/CMakeLists.txt b/native/cocos/renderer/gfx-metal/CMakeLists.txt index ba33740d23..f2522ec35f 100644 --- a/native/cocos/renderer/gfx-metal/CMakeLists.txt +++ b/native/cocos/renderer/gfx-metal/CMakeLists.txt @@ -7,6 +7,7 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/khronos + ${GFX_EXTERNAL_PATH}/taskflow ${GFX_EXTERNAL_PATH}/boost ${GFX_EXTERNAL_PATH}/concurrentqueue ${COCOS_SRC_PATH}/base diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt index 2cd72ff087..c0fd83ebbb 100644 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt @@ -6,6 +6,7 @@ message(STATUS "Target: ${TARGET_NAME}...") set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/khronos + ${GFX_EXTERNAL_PATH}/taskflow ${GFX_EXTERNAL_PATH}/boost ${GFX_EXTERNAL_PATH}/tbb/include ${GFX_EXTERNAL_PATH}/concurrentqueue From 74086d4c1e69f38adf6bfe4d4c3683f15dd6b5b2 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 4 Jan 2021 11:48:57 +0800 Subject: [PATCH 091/270] merge 3d-gfx --- native/cocos/renderer/core/Core.h | 23 ++++ .../core/gfx-agent/GFXCommandBufferAgent.cpp | 59 ++-------- .../core/gfx-agent/GFXCommandBufferAgent.h | 6 +- .../core/gfx-agent/GFXDescriptorSetAgent.cpp | 9 +- .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 9 +- .../renderer/core/gfx/GFXCommandBuffer.h | 14 +-- native/cocos/renderer/core/gfx/GFXDef.h | 4 +- native/cocos/renderer/core/gfx/GFXDevice.cpp | 8 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 4 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 88 ++++++--------- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 105 +++++++++--------- .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 2 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 5 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 27 ++++- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 25 ++++- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 4 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 34 +++--- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 95 ++++++++-------- .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 2 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 5 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 27 ++++- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 25 ++++- native/cocos/renderer/gfx-gles3/GLES3Std.h | 23 ++++ native/cocos/renderer/gfx-metal/MTLBuffer.h | 1 + .../renderer/gfx-metal/MTLCommandBuffer.h | 4 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 8 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 20 +++- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 11 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 4 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 4 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 1 + .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 27 ----- 34 files changed, 374 insertions(+), 313 deletions(-) diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index f2d0c78e01..928c449be7 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -1,3 +1,26 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ #pragma once #include "CoreStd.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 84b4a6dd1b..972731cf40 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -125,17 +125,20 @@ void CommandBufferAgent::end() { _messageQueue->finishWriting(); } -void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) { +void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *actorColors = nullptr; if (attachmentCount) { actorColors = getAllocator()->allocate(attachmentCount); memcpy(actorColors, colors, sizeof(Color) * attachmentCount); } - - const CommandBuffer **actorCmdBuffs = _messageQueue->allocate(count); - for (uint i = 0; i < count; ++i) { - actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); + + const CommandBuffer **actorSecondaryCBs = nullptr; + if (secondaryCBCount) { + actorSecondaryCBs = getAllocator()->allocate(secondaryCBCount); + for (uint i = 0; i < secondaryCBCount; ++i) { + actorSecondaryCBs[i] = ((CommandBufferAgent *)secondaryCBs[i])->getActor(); + } } ENQUEUE_MESSAGE_9( @@ -148,10 +151,10 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb colors, actorColors, depth, depth, stencil, stencil, - actorCmdBuffs, actorCmdBuffs, - count, count, + secondaryCBCount, secondaryCBCount, + secondaryCBs, actorSecondaryCBs, { - actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, actorCmdBuffs, count); + actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBCount, secondaryCBs); }); } @@ -388,45 +391,5 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex }); } -void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - if (!count) return; - - const CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); - for (uint i = 0; i < count; ++i) { - actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); - } - - bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); - - ENCODE_COMMAND_5( - _encoder, - CommandBufferExecute, - actor, getActor(), - cmdBuffs, cmdBuffs, - actorCmdBuffs, actorCmdBuffs, - count, count, - multiThreaded, multiThreaded, - { - if (count > 1) { - if (multiThreaded) { - JobGraph g(JobSystem::getInstance()); - uint job = g.createForEachIndexJob(1u, count, 1u, [this](uint i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); - }); - g.run(job); - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); - g.waitForAll(); - } else { - for (uint i = 0u; i < count; ++i) { - ((CommandBufferAgent *)cmdBuffs[i])->getEncoder()->flushCommands(); - } - } - } else { - ((CommandBufferAgent *)cmdBuffs[0])->getEncoder()->flushCommands(); - } - actor->execute(actorCmdBuffs, count); - }); -} - } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 0fe3769973..346d5ed05b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -22,7 +22,7 @@ public: virtual void destroy() override; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -43,13 +43,13 @@ public: virtual uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } virtual uint getNumInstances() const override { return _actor->getNumInstances(); } virtual uint getNumTris() const override { return _actor->getNumTris(); } - + CC_INLINE MessageQueue *getMessageQueue() { return _messageQueue; } LinearAllocatorPool *getAllocator(); private: friend class DeviceAgent; - + void initMessageQueue(); void destroyMessageQueue(); MessageQueue *_messageQueue = nullptr; diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp index a60d9d96b1..0ead9ace52 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp @@ -1,26 +1,25 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXDescriptorSetAgent.h" +#include "GFXDescriptorSetLayoutAgent.h" #include "GFXDeviceAgent.h" -#include "GFXPipelineLayoutAgent.h" #include "GFXSamplerAgent.h" #include "GFXTextureAgent.h" +#include "threading/MessageQueue.h" namespace cc { namespace gfx { bool DescriptorSetAgent::initialize(const DescriptorSetInfo &info) { - _layout = info.layout->getSetLayouts()[info.setIndex]; + _layout = info.layout; uint descriptorCount = _layout->getDescriptorCount(); _buffers.resize(descriptorCount); _textures.resize(descriptorCount); _samplers.resize(descriptorCount); DescriptorSetInfo actorInfo; - actorInfo.layout = ((PipelineLayoutAgent *)info.layout)->getActor(); - actorInfo.setIndex = info.setIndex; + actorInfo.layout = ((DescriptorSetLayoutAgent *)info.layout)->getActor(); ENQUEUE_MESSAGE_2( ((DeviceAgent *)_device)->getMessageQueue(), diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 9e68ca3333..b52cc78bea 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -41,7 +41,7 @@ void QueueAgent::destroy() { void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { if (!count) return; - + LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); const CommandBuffer **actorCmdBuffs = allocator->allocate(count); for (uint i = 0u; i < count; ++i) { @@ -73,13 +73,6 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence //CC_LOG_INFO("======== one round ========"); - auto endTime = std::chrono::steady_clock::now(); - float dt = std::chrono::duration_cast(endTime - startTime).count() / 1e6; - static float timeAcc = 0.f; - if (!timeAcc) timeAcc = dt; - else timeAcc = timeAcc * 0.95f + dt * 0.05f; - CC_LOG_INFO("---------- %.2fms", timeAcc); - actor->submit(actorCmdBuffs, count, fence); }); } diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index d07c83945a..865008e0e2 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -17,7 +17,7 @@ public: virtual void destroy() = 0; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) = 0; virtual void end() = 0; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) = 0; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) = 0; virtual void endRenderPass() = 0; virtual void bindPipelineState(PipelineState *pso) = 0; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) = 0; @@ -38,8 +38,8 @@ public: CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs = nullptr, uint32_t count = 0) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, cmdBuffs, count); + CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { + bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } @@ -51,17 +51,15 @@ public: CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } - - CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } - CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, {}); } + CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); } CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil); + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, 0, nullptr); } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, false); + beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, 0, nullptr); } CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 73fd17202a..adb547f416 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -26,7 +26,6 @@ class Context; #define GFX_MAX_ATTACHMENTS 4 #define GFX_INVALID_BINDING ((uint8_t)-1) #define GFX_INVALID_HANDLE ((uint)-1) -#define MAX_INFLIGHT_BUFFER 3 enum class ObjectType { UNKNOWN, @@ -949,8 +948,7 @@ struct DescriptorSetLayoutInfo { }; struct DescriptorSetInfo { - PipelineLayout *layout = nullptr; - uint setIndex = 0u; + DescriptorSetLayout *layout = nullptr; }; typedef cc::vector DescriptorSetLayoutList; diff --git a/native/cocos/renderer/core/gfx/GFXDevice.cpp b/native/cocos/renderer/core/gfx/GFXDevice.cpp index 5347e147ea..cd0796c4e8 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.cpp +++ b/native/cocos/renderer/core/gfx/GFXDevice.cpp @@ -15,10 +15,10 @@ Device *Device::getInstance() { Device::Device() { Device::_instance = this; memset(_features, 0, sizeof(_features)); - EventDispatcher::addCustomEventListener(EVENT_RESTART_VM, [=](const CustomEvent&) -> void { - // FIXME: wait & flush all pending gfx commands - Device::_instance->destroy(); - }); + //EventDispatcher::addCustomEventListener(EVENT_RESTART_VM, [=](const CustomEvent&) -> void { + // // FIXME: wait & flush all pending gfx commands + // Device::_instance->destroy(); + //}); } Device::~Device() { diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 3c534fbf9b..a515bc228b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES2CommandBuffer::end() { } } -void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { _isInRenderPass = true; GLES2CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); @@ -362,7 +362,7 @@ void GLES2CommandBuffer::BindStates() { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); count = std::min(count, _curDynamicOffsets[i].size()); if (count) memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index d196f191b0..b399cf10d5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -44,7 +44,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index c3800c0deb..79a93ac3c7 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1952,63 +1952,45 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } } - // bind blend state - if (cache->bs.isA2C != gpuPipelineState->bs.isA2C) { - if (cache->bs.isA2C) { - GL_CHECK(glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE)); - } else { - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + if (gpuTexture->glWrapS != glWrapS) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; } - cache->bs.isA2C = gpuPipelineState->bs.isA2C; - if (gpuTexture->glWrapS != glWrapS) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; - } - if (cache->bs.blendColor.x != gpuPipelineState->bs.blendColor.x || - cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y || - cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z || - cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, - glWrapS)); - gpuTexture->glWrapS = glWrapS; - } - GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, - gpuPipelineState->bs.blendColor.y, - gpuPipelineState->bs.blendColor.z, - gpuPipelineState->bs.blendColor.w)); - cache->bs.blendColor = gpuPipelineState->bs.blendColor; - if (gpuTexture->glWrapT != glWrapT) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; - } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, - glWrapT)); - gpuTexture->glWrapT = glWrapT; - } + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, + glWrapS)); + gpuTexture->glWrapS = glWrapS; + } - if (gpuTexture->glMinFilter != glMinFilter) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; - } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, - glMinFilter)); - gpuTexture->glMinFilter = glMinFilter; - } - - if (gpuTexture->glMagFilter != gpuDescriptor->gpuSampler->glMagFilter) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; - } - GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, - gpuDescriptor->gpuSampler->glMagFilter)); - gpuTexture->glMagFilter = gpuDescriptor->gpuSampler->glMagFilter; - } + if (gpuTexture->glWrapT != glWrapT) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; } + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, + glWrapT)); + gpuTexture->glWrapT = glWrapT; + } + + if (gpuTexture->glMinFilter != glMinFilter) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; + } + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, + glMinFilter)); + gpuTexture->glMinFilter = glMinFilter; + } + + if (gpuTexture->glMagFilter != gpuDescriptor->gpuSampler->glMagFilter) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; + } + GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, + gpuDescriptor->gpuSampler->glMagFilter)); + gpuTexture->glMagFilter = gpuDescriptor->gpuSampler->glMagFilter; } } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index c8cb245380..5e5ce349d5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -32,17 +32,16 @@ THE SOFTWARE. #include "cocos/bindings/event/EventDispatcher.h" #endif - namespace cc { namespace gfx { #if CC_DEBUG > 0 void GL_APIENTRY GLES2EGLDebugProc(GLenum source, - GLenum type, GLuint id, - GLenum severity, GLsizei length, - const GLchar *message, - const void *userParam) { + GLenum type, GLuint id, + GLenum severity, GLsizei length, + const GLchar *message, + const void *userParam) { String sourceDesc; switch (source) { case GL_DEBUG_SOURCE_API_KHR: sourceDesc = "API"; break; @@ -262,7 +261,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { _eglSharedContext = _eglContext; -#if (CC_PLATFORM == CC_PLATFORM_ANDROID) + #if (CC_PLATFORM == CC_PLATFORM_ANDROID) EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { if (_eglSurface != EGL_NO_SURFACE) { eglDestroySurface(_eglDisplay, _eglSurface); @@ -288,9 +287,9 @@ bool GLES2Context::initialize(const ContextInfo &info) { return; } - ((GLES2Context*)_device->getContext())->MakeCurrent(); + ((GLES2Context *)_device->getContext())->MakeCurrent(); }); -#endif + #endif } else { GLES2Context *sharedCtx = (GLES2Context *)info.sharedCtx; @@ -344,7 +343,6 @@ bool GLES2Context::initialize(const ContextInfo &info) { } return true; - } void GLES2Context::destroy() { @@ -376,10 +374,9 @@ void GLES2Context::destroy() { bool GLES2Context::MakeCurrentImpl(bool bound) { bool succeeded; EGL_CHECK(succeeded = eglMakeCurrent(_eglDisplay, - bound ? _eglSurface : EGL_NO_SURFACE, - bound ? _eglSurface : EGL_NO_SURFACE, - bound ? _eglContext : EGL_NO_CONTEXT - )); + bound ? _eglSurface : EGL_NO_SURFACE, + bound ? _eglSurface : EGL_NO_SURFACE, + bound ? _eglContext : EGL_NO_CONTEXT)); return succeeded; } @@ -423,49 +420,49 @@ bool GLES2Context::MakeCurrent(bool bound) { #endif _isInitialized = true; + + ////////////////////////////////////////////////////////////////////////// + + GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); + GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); + GL_CHECK(glActiveTexture(GL_TEXTURE0)); + + ////////////////////////////////////////////////////////////////////////// + + GL_CHECK(glEnable(GL_SCISSOR_TEST)); + GL_CHECK(glEnable(GL_CULL_FACE)); + GL_CHECK(glCullFace(GL_BACK)); + + GL_CHECK(glFrontFace(GL_CCW)); + + //GL_CHECK(glDisable(GL_MULTISAMPLE)); + + ////////////////////////////////////////////////////////////////////////// + // DepthStencilState + GL_CHECK(glEnable(GL_DEPTH_TEST)); + GL_CHECK(glDepthMask(GL_TRUE)); + GL_CHECK(glDepthFunc(GL_LESS)); + + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); + + GL_CHECK(glDisable(GL_STENCIL_TEST)); + + ////////////////////////////////////////////////////////////////////////// + // BlendState + + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + GL_CHECK(glDisable(GL_BLEND)); + GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); + GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); + GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); + GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); } - ////////////////////////////////////////////////////////////////////////// - - GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); - GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); - GL_CHECK(glActiveTexture(GL_TEXTURE0)); - - ////////////////////////////////////////////////////////////////////////// - - GL_CHECK(glEnable(GL_SCISSOR_TEST)); - GL_CHECK(glEnable(GL_CULL_FACE)); - GL_CHECK(glCullFace(GL_BACK)); - - GL_CHECK(glFrontFace(GL_CCW)); - - //GL_CHECK(glDisable(GL_MULTISAMPLE)); - - ////////////////////////////////////////////////////////////////////////// - // DepthStencilState - GL_CHECK(glEnable(GL_DEPTH_TEST)); - GL_CHECK(glDepthMask(GL_TRUE)); - GL_CHECK(glDepthFunc(GL_LESS)); - - GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); - - GL_CHECK(glDisable(GL_STENCIL_TEST)); - - ////////////////////////////////////////////////////////////////////////// - // BlendState - - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); - GL_CHECK(glDisable(GL_BLEND)); - GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); - GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); - GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); - CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; } else { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index 3fdf94d4d9..3248d038e9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -42,7 +42,7 @@ GLES2DescriptorSet::~GLES2DescriptorSet() { bool GLES2DescriptorSet::initialize(const DescriptorSetInfo &info) { - _layout = info.layout->getSetLayouts()[info.setIndex]; + _layout = info.layout; const GLES2GPUDescriptorSetLayout *gpuDescriptorSetLayout = ((GLES2DescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index c02928ae49..fc6f2785b0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -222,7 +222,6 @@ void GLES2Device::bindRenderContext(bool bound) { if (bound) { _threadID = std::hash()(std::this_thread::get_id()); - _gpuStateCache->reset(); } } @@ -239,9 +238,7 @@ void GLES2Device::bindDeviceContext(bool bound) { _context = bound ? _deviceContext : nullptr; if (bound) { - std::hash hasher; - _threadID = hasher(std::this_thread::get_id()); - _gpuStateCache->reset(); + _threadID = std::hash()(std::this_thread::get_id()); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 57e536135c..69934b0c90 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -1,3 +1,26 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ #include "GLES2Std.h" #include "GLES2Buffer.h" @@ -20,7 +43,7 @@ GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer(Device *device) GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { } -void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { _isInRenderPass = true; GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); @@ -42,7 +65,7 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); count = std::min(count, _curDynamicOffsets[i].size()); if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index 30a8a4623d..dd3f08cfc3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -1,3 +1,26 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ #ifndef CC_GFXGLES2_PRIMARY_COMMAND_BUFFER_H_ #define CC_GFXGLES2_PRIMARY_COMMAND_BUFFER_H_ @@ -13,7 +36,7 @@ public: GLES2PrimaryCommandBuffer(Device *device); ~GLES2PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index e03800fdda..4fb66197fa 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES3CommandBuffer::end() { } } -void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { _isInRenderPass = true; GLES3CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); @@ -369,7 +369,7 @@ void GLES3CommandBuffer::BindStates() { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); count = std::min(count, _curDynamicOffsets[i].size()); if (count) memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 8a50b96bd0..8a50e58642 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -43,7 +43,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index dcb901a5f4..4c7cfc760c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -803,18 +803,22 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } uint w = gpuTexture->width; uint h = gpuTexture->height; - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { - for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - GL_CHECK(glTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); - w = std::max(1U, w >> 1); - h = std::max(1U, h >> 1); - } + if (gpuTexture->flags & TextureFlagBit::IMMUTABLE) { + GL_CHECK(glTexStorage2D(GL_TEXTURE_2D, gpuTexture->mipLevel, gpuTexture->glInternelFmt, w, h)); } else { - for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); - GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); - w = std::max(1U, w >> 1); - h = std::max(1U, h >> 1); + if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + for (uint i = 0; i < gpuTexture->mipLevel; ++i) { + GL_CHECK(glTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); + w = std::max(1U, w >> 1); + h = std::max(1U, h >> 1); + } + } else { + for (uint i = 0; i < gpuTexture->mipLevel; ++i) { + uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); + w = std::max(1U, w >> 1); + h = std::max(1U, h >> 1); + } } } } @@ -836,14 +840,18 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } else { if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - GL_CHECK(glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); + for (uint f = 0; f < 6; ++f) { + GL_CHECK(glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); + } w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); } } else { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { uint imgSize = FormatSize(gpuTexture->format, w, h, 1); - GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); + for (uint f = 0; f < 6; ++f) { + GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); + } w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index e2688ac90c..135b2c7ccd 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -264,7 +264,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { _eglSharedContext = _eglContext; -#if (CC_PLATFORM == CC_PLATFORM_ANDROID) + #if (CC_PLATFORM == CC_PLATFORM_ANDROID) EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { if (_eglSurface != EGL_NO_SURFACE) { eglDestroySurface(_eglDisplay, _eglSurface); @@ -290,9 +290,9 @@ bool GLES3Context::initialize(const ContextInfo &info) { return; } - ((GLES3Context*)_device->getContext())->MakeCurrent(); + ((GLES3Context *)_device->getContext())->MakeCurrent(); }); -#endif + #endif } else { GLES3Context *sharedCtx = (GLES3Context *)info.sharedCtx; @@ -376,10 +376,9 @@ void GLES3Context::destroy() { bool GLES3Context::MakeCurrentImpl(bool bound) { bool succeeded; EGL_CHECK(succeeded = eglMakeCurrent(_eglDisplay, - bound ? _eglSurface : EGL_NO_SURFACE, - bound ? _eglSurface : EGL_NO_SURFACE, - bound ? _eglContext : EGL_NO_CONTEXT - )); + bound ? _eglSurface : EGL_NO_SURFACE, + bound ? _eglSurface : EGL_NO_SURFACE, + bound ? _eglContext : EGL_NO_CONTEXT)); return succeeded; } @@ -422,49 +421,49 @@ bool GLES3Context::MakeCurrent(bool bound) { #endif _isInitialized = true; + + ////////////////////////////////////////////////////////////////////////// + + GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); + GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); + GL_CHECK(glActiveTexture(GL_TEXTURE0)); + + ////////////////////////////////////////////////////////////////////////// + + GL_CHECK(glEnable(GL_SCISSOR_TEST)); + GL_CHECK(glEnable(GL_CULL_FACE)); + GL_CHECK(glCullFace(GL_BACK)); + + GL_CHECK(glFrontFace(GL_CCW)); + + //GL_CHECK(glDisable(GL_MULTISAMPLE)); + + ////////////////////////////////////////////////////////////////////////// + // DepthStencilState + GL_CHECK(glEnable(GL_DEPTH_TEST)); + GL_CHECK(glDepthMask(GL_TRUE)); + GL_CHECK(glDepthFunc(GL_LESS)); + + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); + + GL_CHECK(glDisable(GL_STENCIL_TEST)); + + ////////////////////////////////////////////////////////////////////////// + // BlendState + + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + GL_CHECK(glDisable(GL_BLEND)); + GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); + GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); + GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); + GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); } - ////////////////////////////////////////////////////////////////////////// - - GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); - GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); - GL_CHECK(glActiveTexture(GL_TEXTURE0)); - - ////////////////////////////////////////////////////////////////////////// - - GL_CHECK(glEnable(GL_SCISSOR_TEST)); - GL_CHECK(glEnable(GL_CULL_FACE)); - GL_CHECK(glCullFace(GL_BACK)); - - GL_CHECK(glFrontFace(GL_CCW)); - - //GL_CHECK(glDisable(GL_MULTISAMPLE)); - - ////////////////////////////////////////////////////////////////////////// - // DepthStencilState - GL_CHECK(glEnable(GL_DEPTH_TEST)); - GL_CHECK(glDepthMask(GL_TRUE)); - GL_CHECK(glDepthFunc(GL_LESS)); - - GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); - - GL_CHECK(glDisable(GL_STENCIL_TEST)); - - ////////////////////////////////////////////////////////////////////////// - // BlendState - - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); - GL_CHECK(glDisable(GL_BLEND)); - GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); - GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); - GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); - CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; } else { diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index b1e4dc49de..0485ad36c4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -42,7 +42,7 @@ GLES3DescriptorSet::~GLES3DescriptorSet() { bool GLES3DescriptorSet::initialize(const DescriptorSetInfo &info) { - _layout = info.layout->getSetLayouts()[info.setIndex]; + _layout = info.layout; const GLES3GPUDescriptorSetLayout *gpuDescriptorSetLayout = ((GLES3DescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 545dff91fa..95b18b7db1 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -212,7 +212,6 @@ void GLES3Device::bindRenderContext(bool bound) { if (bound) { _threadID = std::hash()(std::this_thread::get_id()); - _gpuStateCache->reset(); } } @@ -229,9 +228,7 @@ void GLES3Device::bindDeviceContext(bool bound) { _context = bound ? _deviceContext : nullptr; if (bound) { - std::hash hasher; - _threadID = hasher(std::this_thread::get_id()); - _gpuStateCache->reset(); + _threadID = std::hash()(std::this_thread::get_id()); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 0769bd4828..4e9cc6b61c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -1,3 +1,26 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ #include "GLES3Std.h" #include "GLES3Buffer.h" @@ -20,7 +43,7 @@ GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer(Device *device) GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { } -void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { _isInRenderPass = true; GLES3GPURenderPass *gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); @@ -42,7 +65,7 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - uint count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); count = std::min(count, _curDynamicOffsets[i].size()); if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 1431fe9683..da65a77449 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -1,3 +1,26 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ #ifndef CC_GFXGLES3_PRIMARY_COMMAND_BUFFER_H_ #define CC_GFXGLES3_PRIMARY_COMMAND_BUFFER_H_ @@ -13,7 +36,7 @@ public: GLES3PrimaryCommandBuffer(Device *device); ~GLES3PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Std.h b/native/cocos/renderer/gfx-gles3/GLES3Std.h index 164e603f55..cefd910876 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Std.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Std.h @@ -1,3 +1,26 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ #pragma once #include diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index d244b5a00e..8b43286b20 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -63,6 +63,7 @@ private: NSMutableArray *_dynamicDataBuffers = nil; bool _tripleEnabled = true; bool _isDrawIndirectByIndex = false; + bool _isIndirectDrawSupported = false; uint _bufferViewOffset = 0; bool _isDrawIndirectByIndex = false; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 173231c329..93b0e0d3fd 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -51,7 +51,7 @@ public: virtual void destroy() override; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -79,7 +79,7 @@ private: vector _GPUDescriptorSets; vector> _dynamicOffsets; - + uint _firstDirtyDescriptorSet = UINT_MAX; bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 3ca82a137b..78075a3417 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -94,7 +94,7 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; - + tar::cbAutoreleasePool = [[NSAutoreleasePool alloc] init]; // CC_LOG_INFO("%d CB POOL: %p ALLOCED for %p", [NSThread currentThread], tar::cbAutoreleasePool, this); @@ -121,7 +121,7 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; _commandBufferBegan = false; - + if (_isSecondary) { // Secondary command buffer should end encoding here @@ -141,14 +141,14 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL } } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, const CommandBuffer *const *cmdBuffs, uint32_t count) +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { // Sub CommandBuffer shouldn't call begin render pass if (_isSecondary) { return; } - + auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { static_cast(renderPass)->setColorAttachment(0, _mtkView.currentDrawable.texture, 0); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index ce02c0e017..021ed90187 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -70,7 +70,23 @@ public: CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } -private: +protected: + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual Fence *createFence() override; + virtual Queue *createQueue() override; + virtual Buffer *createBuffer() override; + virtual Texture *createTexture() override; + virtual Sampler *createSampler() override; + virtual Shader *createShader() override; + virtual InputAssembler *createInputAssembler() override; + virtual RenderPass *createRenderPass() override; + virtual Framebuffer *createFramebuffer() override; + virtual DescriptorSet *createDescriptorSet() override; + virtual DescriptorSetLayout *createDescriptorSetLayout() override; + virtual PipelineLayout *createPipelineLayout() override; + virtual PipelineState *createPipelineState() override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + void onMemoryWarning(); private: @@ -87,7 +103,7 @@ private: CCMTLGPUStagingBufferPool *_gpuStagingBufferPools[MAX_FRAMES_IN_FLIGHT] = {nullptr}; CCMTLSemaphore *_inFlightSemaphore = nullptr; uint _currentFrameIndex = 0; -// uint32_t _memoryAlarmListenerId = 0; + uint32_t _memoryAlarmListenerId = 0; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index bc1c69f51c..efc526cdff 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -126,7 +126,7 @@ void CCVKCommandBuffer::end() { ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); } -void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) { +void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { _curGPUFBO = ((CCVKFramebuffer *)fbo)->gpuFBO(); CCVKGPURenderPass *gpuRenderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass(); VkFramebuffer framebuffer = _curGPUFBO->vkFramebuffer; @@ -165,7 +165,6 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo 0, 1, &barrier, 0, nullptr, 0, nullptr); } - bool fromSecondaryCB = count > 0; VkRenderPassBeginInfo passBeginInfo{VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO}; passBeginInfo.renderPass = gpuRenderPass->vkRenderPass; passBeginInfo.framebuffer = framebuffer; @@ -173,9 +172,9 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo passBeginInfo.pClearValues = clearValues.data(); passBeginInfo.renderArea = {{(int)renderArea.x, (int)renderArea.y}, {renderArea.width, renderArea.height}}; vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, - fromSecondaryCB ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); + secondaryCBCount ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); - if (!fromSecondaryCB) { + if (!secondaryCBCount) { VkViewport viewport{(float)renderArea.x, (float)renderArea.y, (float)renderArea.width, (float)renderArea.height, 0.f, 1.f}; vkCmdSetViewport(_gpuCommandBuffer->vkCommandBuffer, 0, 1, &viewport); vkCmdSetScissor(_gpuCommandBuffer->vkCommandBuffer, 0, 1, &passBeginInfo.renderArea); @@ -462,8 +461,8 @@ void CCVKCommandBuffer::bindDescriptorSets() { VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout->vkPipelineLayout, _firstDirtyDescriptorSet, dirtyDescriptorSetCount, &_curVkDescriptorSets[_firstDirtyDescriptorSet], - dynamicOffsetCount, &_curDynamicOffsetCounts[dynamicOffsetStartIndex]); - + dynamicOffsetCount, _curDynamicOffsets.data() + dynamicOffsetStartIndex); + _firstDirtyDescriptorSet = UINT_MAX; } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index fa78142f4c..4a63671e9c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -42,7 +42,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, bool fromSecondaryCB) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -86,7 +86,7 @@ private: CCVKDepthBounds _curDepthBounds; CCVKStencilWriteMask _curStencilWriteMask; CCVKStencilCompareMask _curStencilCompareMask; - + vector _vkCommandBuffers; queue _pendingQueue; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 9cc1b9c1d0..0eceec0fbb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -202,8 +202,10 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { /* * gpuBuffer->instanceSize = roundUp(gpuBuffer->size, device->getUboOffsetAlignment()); bufferInfo.size = gpuBuffer->instanceSize * device->gpuDevice()->backBufferCount; - /* */ allocInfo.flags = VMA_ALLOCATION_CREATE_MAPPED_BIT; + /* */ + bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; + /* */ allocInfo.usage = VMA_MEMORY_USAGE_CPU_TO_GPU; } diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 07bf34b542..579a374d50 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -44,6 +44,7 @@ CCVKDescriptorSet::~CCVKDescriptorSet() { } bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { + _layout = info.layout; CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 51b0c2385a..63af396875 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -899,33 +899,6 @@ private: } } - void erase(CCVKGPUBuffer *gpuBuffer) { - for (uint i = 0u; i < _device->backBufferCount; ++i) { - if (_buffersToBeUpdated[i].count(gpuBuffer)) { - _buffersToBeUpdated[i].erase(gpuBuffer); - } - } - } - - void flush() { - unordered_map &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; - for (unordered_map::iterator it = buffers.begin(); it != buffers.end(); ++it) { - update(it->first, it->second.src, it->second.size); - } - buffers.clear(); - } - -private: - struct BufferUpdate { - const void *src = nullptr; - size_t size = 0u; - }; - uint8_t *update(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { - uint8_t *dst = gpuBuffer->mappedData + _device->curBackBufferIndex * gpuBuffer->instanceSize; - memcpy(dst, src, size); - return dst; - } - CCVKGPUDevice *_device = nullptr; vector> _setsToBeUpdated; }; From be23eedc1f13aac9dd07ecd7fa65aa4ca78b8ad0 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Tue, 29 Dec 2020 19:20:47 +0800 Subject: [PATCH 092/270] Fix auto release pool drain issue --- .../renderer/gfx-metal/MTLCommandBuffer.h | 1 + .../renderer/gfx-metal/MTLCommandBuffer.mm | 25 +++++++++--------- native/cocos/renderer/gfx-metal/MTLDevice.h | 4 +++ native/cocos/renderer/gfx-metal/MTLDevice.mm | 26 +++++++++++-------- 4 files changed, 32 insertions(+), 24 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 93b0e0d3fd..f46f1198e5 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -84,6 +84,7 @@ private: bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; bool _isSecondary = false; + NSAutoreleasePool *_autoreleasePool = nullptr; CCMTLDevice *_mtlDevice = nullptr; // id _currDrawable = nil; id _mtlCommandQueue = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 78075a3417..6299b0f579 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -40,10 +40,6 @@ THE SOFTWARE. #include "MTLTexture.h" #include "TargetConditionals.h" -namespace tar { - thread_local NSAutoreleasePool *cbAutoreleasePool = nullptr; -} - namespace cc { namespace gfx { @@ -64,10 +60,10 @@ bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) void CCMTLCommandBuffer::destroy() { - if (tar::cbAutoreleasePool) + if (_autoreleasePool) { - [tar::cbAutoreleasePool release]; - tar::cbAutoreleasePool = nullptr; + [_autoreleasePool release]; + _autoreleasePool = nullptr; } } @@ -95,8 +91,11 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; - tar::cbAutoreleasePool = [[NSAutoreleasePool alloc] init]; -// CC_LOG_INFO("%d CB POOL: %p ALLOCED for %p", [NSThread currentThread], tar::cbAutoreleasePool, this); + if (!_autoreleasePool) { + _mtlDevice->ensureAutoreleasePool(); + _autoreleasePool = [[NSAutoreleasePool alloc] init]; +// CC_LOG_INFO("%d CB POOL: %p ALLOCED for %p", [NSThread currentThread], _autoreleasePool, this); + } _isSecondary = renderPass != nullptr && _mtlCommandBuffer; if (!_isSecondary) @@ -133,11 +132,11 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL if (num == 0) { return true; } -// CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], tar::cbAutoreleasePool, this); - if (tar::cbAutoreleasePool) + if (_autoreleasePool) { - [tar::cbAutoreleasePool drain]; - tar::cbAutoreleasePool = nullptr; +// CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], _autoreleasePool, this); + [_autoreleasePool drain]; + _autoreleasePool = nullptr; } } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 021ed90187..bbca4bbdd3 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -69,6 +69,9 @@ public: CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } + CC_INLINE void *getDSSTexture() const { return _dssTex; } + + virtual void ensureAutoreleasePool(); protected: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; @@ -90,6 +93,7 @@ protected: void onMemoryWarning(); private: + void *_autoreleasePool = nullptr; void *_mtlCommandQueue = nullptr; void *_mtkView = nullptr; void *_mtlDevice = nullptr; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index ecc2fc82e4..ba930fe18c 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -49,10 +49,6 @@ THE SOFTWARE. #import #include -namespace tar { - thread_local NSAutoreleasePool* autoreleasePool = nullptr; -} - namespace cc { namespace gfx { @@ -182,9 +178,9 @@ void CCMTLDevice::destroy() { if (_memoryAlarmListenerId != 0) { EventDispatcher::removeCustomEventListener(EVENT_MEMORY_WARNING, _memoryAlarmListenerId); _memoryAlarmListenerId = 0; - if (tar::autoreleasePool) { - [tar::autoreleasePool release]; - tar::autoreleasePool = nullptr; + if (_autoreleasePool) { + [(NSAutoreleasePool*)_autoreleasePool drain]; + _autoreleasePool = nullptr; } CC_SAFE_DESTROY(_queue); @@ -200,10 +196,17 @@ void CCMTLDevice::destroy() { void CCMTLDevice::resize(uint width, uint height) {} +void CCMTLDevice::ensureAutoreleasePool() { + if (!_autoreleasePool) { + _autoreleasePool = [[NSAutoreleasePool alloc] init]; +// CC_LOG_INFO("POOL: %p ALLOCED", _autoreleasePool); + } +} + void CCMTLDevice::acquire() { _inFlightSemaphore->wait(); - tar::autoreleasePool = [[NSAutoreleasePool alloc] init]; + ensureAutoreleasePool(); // Clear queue stats CCMTLQueue *queue = static_cast(_queue); queue->_numDrawCalls = 0; @@ -231,9 +234,10 @@ void CCMTLDevice::present() { }]; [mtlCommandBuffer commit]; - if (tar::autoreleasePool) { - [tar::autoreleasePool drain]; - tar::autoreleasePool = nullptr; + if (_autoreleasePool) { +// CC_LOG_INFO("POOL: %p RELEASED", _autoreleasePool); + [(NSAutoreleasePool*)_autoreleasePool drain]; + _autoreleasePool = nullptr; } } From be4dd54d86ae6e585e24bc5d10490c6194146aea Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 4 Jan 2021 13:28:18 +0800 Subject: [PATCH 093/270] vk: wait idle before swapchain reset --- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 909dc15fa4..e5fee82745 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -640,6 +640,8 @@ bool CCVKDevice::checkSwapchainStatus() { VkSwapchainKHR vkSwapchain = VK_NULL_HANDLE; VK_CHECK(vkCreateSwapchainKHR(_gpuDevice->vkDevice, &context->swapchainCreateInfo, nullptr, &vkSwapchain)); + VK_CHECK(vkDeviceWaitIdle(_gpuDevice->vkDevice)); + destroySwapchain(); _gpuDevice->curBackBufferIndex = 0u; From fc034ea60606b376f50cf8413cfe489da90e2628 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 4 Jan 2021 18:06:30 +0800 Subject: [PATCH 094/270] performance test works --- native/CMakeLists.txt | 75 +++++++- native/cocos/base/threading/MessageQueue.h | 2 +- native/cocos/base/threading/Semaphore.h | 4 +- native/cocos/base/threading/ThreadPool.h | 2 +- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 160 +++++++++++++++++- native/cocos/bindings/auto/jsb_gles2_auto.cpp | 1 + native/cocos/bindings/auto/jsb_gles3_auto.cpp | 1 + native/cocos/bindings/auto/jsb_mtl_auto.cpp | 16 ++ native/cocos/bindings/auto/jsb_mtl_auto.h | 1 + native/cocos/cocos2d.h | 2 - native/cocos/renderer/core/Core.h | 15 -- .../cocos/renderer/core/gfx-agent/GFXAgent.h | 6 +- .../core/gfx-agent/GFXBufferAgent.cpp | 30 ++-- .../renderer/core/gfx-agent/GFXBufferAgent.h | 11 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 40 +++-- .../core/gfx-agent/GFXCommandBufferAgent.h | 49 +++--- .../core/gfx-agent/GFXDescriptorSetAgent.cpp | 30 ++-- .../core/gfx-agent/GFXDescriptorSetAgent.h | 13 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.cpp | 30 ++-- .../gfx-agent/GFXDescriptorSetLayoutAgent.h | 5 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 28 +-- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 64 +++---- .../core/gfx-agent/GFXFramebufferAgent.cpp | 30 ++-- .../core/gfx-agent/GFXFramebufferAgent.h | 5 +- .../core/gfx-agent/GFXInputAssemblerAgent.cpp | 30 ++-- .../core/gfx-agent/GFXInputAssemblerAgent.h | 19 ++- .../core/gfx-agent/GFXLinearAllocatorPool.h | 8 +- .../core/gfx-agent/GFXPipelineLayoutAgent.cpp | 30 ++-- .../core/gfx-agent/GFXPipelineLayoutAgent.h | 5 +- .../core/gfx-agent/GFXPipelineStateAgent.cpp | 30 ++-- .../core/gfx-agent/GFXPipelineStateAgent.h | 5 +- .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 39 +++-- .../renderer/core/gfx-agent/GFXQueueAgent.h | 7 +- .../core/gfx-agent/GFXRenderPassAgent.cpp | 30 ++-- .../core/gfx-agent/GFXRenderPassAgent.h | 5 +- .../core/gfx-agent/GFXSamplerAgent.cpp | 30 ++-- .../renderer/core/gfx-agent/GFXSamplerAgent.h | 5 +- .../core/gfx-agent/GFXShaderAgent.cpp | 30 ++-- .../renderer/core/gfx-agent/GFXShaderAgent.h | 5 +- .../core/gfx-agent/GFXTextureAgent.cpp | 30 ++-- .../renderer/core/gfx-agent/GFXTextureAgent.h | 9 +- native/cocos/renderer/core/gfx/GFXDevice.h | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 1 - .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 4 +- native/tools/tojs/gfx.ini | 2 +- 45 files changed, 633 insertions(+), 313 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index b76d0ba173..421dec4a2b 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -50,7 +50,7 @@ endif() # set c++ standard set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) @@ -320,6 +320,18 @@ cocos_source_files( cocos/base/memory/NedPooling.h cocos/base/memory/StdAlloc.h cocos/base/memory/StlAlloc.h + cocos/base/threading/ConditionVariable.h + cocos/base/threading/ConditionVariable.cpp + cocos/base/threading/Event.h + cocos/base/threading/MessageQueue.h + cocos/base/threading/MessageQueue.cpp + cocos/base/threading/Semaphore.h + cocos/base/threading/Semaphore.cpp + cocos/base/threading/ThreadPool.h + cocos/base/threading/ThreadPool.cpp + cocos/base/threading/ThreadSafeCounter.h + cocos/base/threading/ThreadSafeLinearAllocator.h + cocos/base/threading/ThreadSafeLinearAllocator.cpp cocos/base/Object.h cocos/base/TypeDef.h cocos/base/uthash.h @@ -332,6 +344,21 @@ cocos_source_files( cocos/base/ZipUtils.h ) +##### job system +cocos_source_files( + cocos/base/job-system/JobSystem.h + + cocos/base/job-system/job-system-taskflow/TFJobGraph.h + cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp + cocos/base/job-system/job-system-taskflow/TFJobSystem.h + cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp + + cocos/base/job-system/job-system-tbb/TBBJobGraph.h + cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp + cocos/base/job-system/job-system-tbb/TBBJobSystem.h + cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp +) + ##### math cocos_source_files( cocos/math/Geometry.cpp @@ -567,6 +594,36 @@ cocos_source_files( cocos/renderer/core/gfx/GFXTexture.h cocos/renderer/core/gfx/GFXFence.h cocos/renderer/core/gfx/GFXFence.cpp + cocos/renderer/core/gfx-agent/GFXAgent.h + cocos/renderer/core/gfx-agent/GFXBufferAgent.h + cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp + cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h + cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp + cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h + cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp + cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h + cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp + cocos/renderer/core/gfx-agent/GFXDeviceAgent.h + cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp + cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h + cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp + cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h + cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp + cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h + cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h + cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp + cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h + cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp + cocos/renderer/core/gfx-agent/GFXQueueAgent.h + cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp + cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h + cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp + cocos/renderer/core/gfx-agent/GFXSamplerAgent.h + cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp + cocos/renderer/core/gfx-agent/GFXShaderAgent.h + cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp + cocos/renderer/core/gfx-agent/GFXTextureAgent.h + cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp cocos/renderer/pipeline/BatchedBuffer.cpp cocos/renderer/pipeline/BatchedBuffer.h cocos/renderer/pipeline/Define.h @@ -1099,19 +1156,19 @@ if(USE_MIDDLEWARE) cocos/editor-support/dragonbones/core/BaseObject.cpp cocos/editor-support/dragonbones/core/BaseObject.h cocos/editor-support/dragonbones/core/DragonBones.cpp - cocos/editor-support/dragonbones/core/DragonBones.h + cocos/editor-support/dragonbones/core/DragonBones.h cocos/editor-support/dragonbones/event/EventObject.cpp cocos/editor-support/dragonbones/event/EventObject.h - cocos/editor-support/dragonbones/event/IEventDispatcher.h + cocos/editor-support/dragonbones/event/IEventDispatcher.h cocos/editor-support/dragonbones/factory/BaseFactory.cpp - cocos/editor-support/dragonbones/factory/BaseFactory.h + cocos/editor-support/dragonbones/factory/BaseFactory.h cocos/editor-support/dragonbones/geom/ColorTransform.h cocos/editor-support/dragonbones/geom/Matrix.h cocos/editor-support/dragonbones/geom/Point.cpp cocos/editor-support/dragonbones/geom/Point.h cocos/editor-support/dragonbones/geom/Rectangle.h cocos/editor-support/dragonbones/geom/Transform.cpp - cocos/editor-support/dragonbones/geom/Transform.h + cocos/editor-support/dragonbones/geom/Transform.h cocos/editor-support/dragonbones/model/AnimationConfig.cpp cocos/editor-support/dragonbones/model/AnimationConfig.h cocos/editor-support/dragonbones/model/AnimationData.cpp @@ -1139,7 +1196,7 @@ if(USE_MIDDLEWARE) cocos/editor-support/dragonbones/parser/DataParser.cpp cocos/editor-support/dragonbones/parser/DataParser.h cocos/editor-support/dragonbones/parser/JSONDataParser.cpp - cocos/editor-support/dragonbones/parser/JSONDataParser.h + cocos/editor-support/dragonbones/parser/JSONDataParser.h cocos/editor-support/dragonbones-creator-support/ArmatureCache.cpp cocos/editor-support/dragonbones-creator-support/ArmatureCache.h cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.cpp @@ -1504,6 +1561,11 @@ target_include_directories(cocos2d ${CC_EXTERNAL_PRIVATE_INCLUDES} ) +target_compile_definitions(cocos2d + PRIVATE + ${CC_EXTERNAL_PRIVATE_DEFINITIONS} +) + if(WIN32) target_link_libraries(cocos2d PUBLIC ws2_32 userenv psapi winmm Version Iphlpapi opengl32 @@ -1523,7 +1585,6 @@ if(WIN32) _USRLIBSIMSTATIC SE_ENABLE_INSPECTOR ) - endif() if(ANDROID) diff --git a/native/cocos/base/threading/MessageQueue.h b/native/cocos/base/threading/MessageQueue.h index 609d9a72bf..67804a9e4c 100644 --- a/native/cocos/base/threading/MessageQueue.h +++ b/native/cocos/base/threading/MessageQueue.h @@ -1,7 +1,7 @@ #pragma once #include "Event.h" -#include "concurrentqueue.h" +#include "concurrentqueue/concurrentqueue.h" #include namespace cc { diff --git a/native/cocos/base/threading/Semaphore.h b/native/cocos/base/threading/Semaphore.h index 6d41299d9c..de2f7a5b7a 100644 --- a/native/cocos/base/threading/Semaphore.h +++ b/native/cocos/base/threading/Semaphore.h @@ -1,8 +1,8 @@ #pragma once #include -#include "concurrentqueue.h" -#include "lightweightsemaphore.h" +#include "concurrentqueue/concurrentqueue.h" +#include "concurrentqueue/lightweightsemaphore.h" namespace cc { diff --git a/native/cocos/base/threading/ThreadPool.h b/native/cocos/base/threading/ThreadPool.h index 4bd852a867..dbe31da875 100644 --- a/native/cocos/base/threading/ThreadPool.h +++ b/native/cocos/base/threading/ThreadPool.h @@ -8,7 +8,7 @@ #include #include #include -#include "concurrentqueue.h" +#include "concurrentqueue/concurrentqueue.h" #include "Event.h" namespace cc { diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index dfa20088a0..62533ed5ad 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -11321,6 +11321,7 @@ static bool js_gfx_Buffer_getCount(se::State& s) unsigned int result = cobj->getCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11339,6 +11340,7 @@ static bool js_gfx_Buffer_getFlags(se::State& s) int result = (int)cobj->getFlags(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getFlags : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11357,6 +11359,7 @@ static bool js_gfx_Buffer_getMemUsage(se::State& s) int result = (int)cobj->getMemUsage(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getMemUsage : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11375,6 +11378,7 @@ static bool js_gfx_Buffer_getSize(se::State& s) unsigned int result = cobj->getSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getSize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11393,6 +11397,7 @@ static bool js_gfx_Buffer_getStride(se::State& s) unsigned int result = cobj->getStride(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getStride : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11411,6 +11416,7 @@ static bool js_gfx_Buffer_getUsage(se::State& s) int result = (int)cobj->getUsage(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Buffer_getUsage : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11617,14 +11623,15 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) } while(false); do { - if (argc == 7) { + if (argc == 8) { HolderType arg0 = {}; HolderType arg1 = {}; HolderType arg2 = {}; HolderType arg3 = {}; HolderType arg4 = {}; HolderType arg5 = {}; - HolderType arg6 = {}; + HolderType arg6 = {}; + HolderType arg7 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); if (!ok) { ok = true; break; } @@ -11639,7 +11646,10 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); if (!ok) { ok = true; break; } ok &= sevalue_to_native(args[6], &arg6, s.thisObject()); - cobj->beginRenderPass(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value(), arg6.value()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[7], &arg7, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->beginRenderPass(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value(), arg6.value(), arg7.value()); return true; } } while(false); @@ -11831,6 +11841,7 @@ static bool js_gfx_CommandBuffer_getNumDrawCalls(se::State& s) unsigned int result = cobj->getNumDrawCalls(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getNumDrawCalls : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11849,6 +11860,7 @@ static bool js_gfx_CommandBuffer_getNumInstances(se::State& s) unsigned int result = cobj->getNumInstances(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getNumInstances : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11867,6 +11879,7 @@ static bool js_gfx_CommandBuffer_getNumTris(se::State& s) unsigned int result = cobj->getNumTris(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getNumTris : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11885,6 +11898,7 @@ static bool js_gfx_CommandBuffer_getQueue(se::State& s) cc::gfx::Queue* result = cobj->getQueue(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getQueue : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11903,6 +11917,7 @@ static bool js_gfx_CommandBuffer_getType(se::State& s) int result = (int)cobj->getType(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_getType : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -11924,6 +11939,7 @@ static bool js_gfx_CommandBuffer_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -12189,6 +12205,7 @@ static bool js_gfx_Context_getColorFormat(se::State& s) int result = (int)cobj->getColorFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getColorFormat : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12207,6 +12224,7 @@ static bool js_gfx_Context_getDepthStencilFormat(se::State& s) int result = (int)cobj->getDepthStencilFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getDepthStencilFormat : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12225,6 +12243,7 @@ static bool js_gfx_Context_getDevice(se::State& s) cc::gfx::Device* result = cobj->getDevice(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getDevice : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12243,6 +12262,7 @@ static bool js_gfx_Context_getSharedContext(se::State& s) cc::gfx::Context* result = cobj->getSharedContext(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getSharedContext : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12261,6 +12281,7 @@ static bool js_gfx_Context_getVsyncMode(se::State& s) int result = (int)cobj->getVsyncMode(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_getVsyncMode : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12282,6 +12303,7 @@ static bool js_gfx_Context_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Context_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -12417,6 +12439,7 @@ static bool js_gfx_DescriptorSet_bindBufferJSB(se::State& s) bool result = cobj->bindBufferJSB(arg0.value(), arg1.value(), arg2.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_bindBufferJSB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); @@ -12485,6 +12508,7 @@ static bool js_gfx_DescriptorSet_bindSamplerJSB(se::State& s) bool result = cobj->bindSamplerJSB(arg0.value(), arg1.value(), arg2.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_bindSamplerJSB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); @@ -12553,6 +12577,7 @@ static bool js_gfx_DescriptorSet_bindTextureJSB(se::State& s) bool result = cobj->bindTextureJSB(arg0.value(), arg1.value(), arg2.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_bindTextureJSB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); @@ -12591,6 +12616,7 @@ static bool js_gfx_DescriptorSet_getBuffer(se::State& s) cc::gfx::Buffer* result = cobj->getBuffer(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getBuffer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12607,6 +12633,7 @@ static bool js_gfx_DescriptorSet_getBuffer(se::State& s) cc::gfx::Buffer* result = cobj->getBuffer(arg0.value(), arg1.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getBuffer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12632,6 +12659,7 @@ static bool js_gfx_DescriptorSet_getSampler(se::State& s) cc::gfx::Sampler* result = cobj->getSampler(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getSampler : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12648,6 +12676,7 @@ static bool js_gfx_DescriptorSet_getSampler(se::State& s) cc::gfx::Sampler* result = cobj->getSampler(arg0.value(), arg1.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getSampler : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12673,6 +12702,7 @@ static bool js_gfx_DescriptorSet_getTexture(se::State& s) cc::gfx::Texture* result = cobj->getTexture(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getTexture : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12689,6 +12719,7 @@ static bool js_gfx_DescriptorSet_getTexture(se::State& s) cc::gfx::Texture* result = cobj->getTexture(arg0.value(), arg1.value()); ok &= nativevalue_to_se(result, s.rval(), s.thisObject() /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_getTexture : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } } while(false); @@ -12712,6 +12743,7 @@ static bool js_gfx_DescriptorSet_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -12817,6 +12849,7 @@ static bool js_gfx_DescriptorSetLayout_getBindings(se::State& s) const std::vector& result = cobj->getBindings(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSetLayout_getBindings : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12835,6 +12868,7 @@ static bool js_gfx_DescriptorSetLayout_getDescriptorCount(se::State& s) const unsigned int result = cobj->getDescriptorCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSetLayout_getDescriptorCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -12856,6 +12890,7 @@ static bool js_gfx_DescriptorSetLayout_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSetLayout_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -12941,6 +12976,7 @@ static bool js_gfx_Fence_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Fence_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -13053,6 +13089,7 @@ static bool js_gfx_Queue_getType(se::State& s) int result = (int)cobj->getType(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Queue_getType : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13074,6 +13111,7 @@ static bool js_gfx_Queue_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Queue_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -13092,6 +13130,7 @@ static bool js_gfx_Queue_isAsync(se::State& s) bool result = cobj->isAsync(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Queue_isAsync : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13229,6 +13268,7 @@ static bool js_gfx_Sampler_getAddressU(se::State& s) int result = (int)cobj->getAddressU(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressU : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13247,6 +13287,7 @@ static bool js_gfx_Sampler_getAddressV(se::State& s) int result = (int)cobj->getAddressV(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressV : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13265,6 +13306,7 @@ static bool js_gfx_Sampler_getAddressW(se::State& s) int result = (int)cobj->getAddressW(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressW : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13283,6 +13325,7 @@ static bool js_gfx_Sampler_getBorderColor(se::State& s) const cc::gfx::Color& result = cobj->getBorderColor(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getBorderColor : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13301,6 +13344,7 @@ static bool js_gfx_Sampler_getCmpFunc(se::State& s) int result = (int)cobj->getCmpFunc(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getCmpFunc : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13319,6 +13363,7 @@ static bool js_gfx_Sampler_getMagFilter(se::State& s) int result = (int)cobj->getMagFilter(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMagFilter : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13337,6 +13382,7 @@ static bool js_gfx_Sampler_getMaxAnisotropy(se::State& s) unsigned int result = cobj->getMaxAnisotropy(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMaxAnisotropy : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13355,6 +13401,7 @@ static bool js_gfx_Sampler_getMaxLOD(se::State& s) unsigned int result = cobj->getMaxLOD(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMaxLOD : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13373,6 +13420,7 @@ static bool js_gfx_Sampler_getMinFilter(se::State& s) int result = (int)cobj->getMinFilter(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMinFilter : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13391,6 +13439,7 @@ static bool js_gfx_Sampler_getMinLOD(se::State& s) unsigned int result = cobj->getMinLOD(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMinLOD : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13409,6 +13458,7 @@ static bool js_gfx_Sampler_getMipFilter(se::State& s) int result = (int)cobj->getMipFilter(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMipFilter : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13427,6 +13477,7 @@ static bool js_gfx_Sampler_getMipLODBias(se::State& s) float result = cobj->getMipLODBias(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMipLODBias : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13448,6 +13499,7 @@ static bool js_gfx_Sampler_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -13540,6 +13592,7 @@ static bool js_gfx_InputAssembler_getAttributes(se::State& s) const std::vector& result = cobj->getAttributes(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getAttributes : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13558,6 +13611,7 @@ static bool js_gfx_InputAssembler_getAttributesHash(se::State& s) unsigned int result = cobj->getAttributesHash(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getAttributesHash : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13576,6 +13630,7 @@ static bool js_gfx_InputAssembler_getFirstIndex(se::State& s) unsigned int result = cobj->getFirstIndex(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstIndex : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13594,6 +13649,7 @@ static bool js_gfx_InputAssembler_getFirstInstance(se::State& s) unsigned int result = cobj->getFirstInstance(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstInstance : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13612,6 +13668,7 @@ static bool js_gfx_InputAssembler_getFirstVertex(se::State& s) unsigned int result = cobj->getFirstVertex(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstVertex : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13630,6 +13687,7 @@ static bool js_gfx_InputAssembler_getIndexBuffer(se::State& s) cc::gfx::Buffer* result = cobj->getIndexBuffer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndexBuffer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13648,6 +13706,7 @@ static bool js_gfx_InputAssembler_getIndexCount(se::State& s) unsigned int result = cobj->getIndexCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndexCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13666,6 +13725,7 @@ static bool js_gfx_InputAssembler_getIndirectBuffer(se::State& s) cc::gfx::Buffer* result = cobj->getIndirectBuffer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndirectBuffer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13684,6 +13744,7 @@ static bool js_gfx_InputAssembler_getInstanceCount(se::State& s) unsigned int result = cobj->getInstanceCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getInstanceCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13702,6 +13763,7 @@ static bool js_gfx_InputAssembler_getVertexBuffers(se::State& s) const std::vector& result = cobj->getVertexBuffers(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexBuffers : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13720,6 +13782,7 @@ static bool js_gfx_InputAssembler_getVertexCount(se::State& s) unsigned int result = cobj->getVertexCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13738,6 +13801,7 @@ static bool js_gfx_InputAssembler_getVertexOffset(se::State& s) unsigned int result = cobj->getVertexOffset(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexOffset : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -13759,6 +13823,7 @@ static bool js_gfx_InputAssembler_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -13984,6 +14049,7 @@ static bool js_gfx_RenderPass_getDepthStencilAttachment(se::State& s) const cc::gfx::DepthStencilAttachment& result = cobj->getDepthStencilAttachment(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getDepthStencilAttachment : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14002,6 +14068,7 @@ static bool js_gfx_RenderPass_getHash(se::State& s) unsigned int result = cobj->getHash(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getHash : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14020,6 +14087,7 @@ static bool js_gfx_RenderPass_getSubPasses(se::State& s) const std::vector& result = cobj->getSubPasses(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getSubPasses : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14041,6 +14109,7 @@ static bool js_gfx_RenderPass_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14124,6 +14193,7 @@ static bool js_gfx_Framebuffer_getColorTextures(se::State& s) const std::vector& result = cobj->getColorTextures(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getColorTextures : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14142,6 +14212,7 @@ static bool js_gfx_Framebuffer_getDepthStencilTexture(se::State& s) cc::gfx::Texture* result = cobj->getDepthStencilTexture(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getDepthStencilTexture : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14160,6 +14231,7 @@ static bool js_gfx_Framebuffer_getRenderPass(se::State& s) cc::gfx::RenderPass* result = cobj->getRenderPass(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getRenderPass : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14181,6 +14253,7 @@ static bool js_gfx_Framebuffer_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14264,6 +14337,7 @@ static bool js_gfx_PipelineLayout_getSetLayouts(se::State& s) const std::vector& result = cobj->getSetLayouts(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineLayout_getSetLayouts : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14285,6 +14359,7 @@ static bool js_gfx_PipelineLayout_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineLayout_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14366,6 +14441,7 @@ static bool js_gfx_PipelineState_getBlendState(se::State& s) const cc::gfx::BlendState& result = cobj->getBlendState(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getBlendState : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14384,6 +14460,7 @@ static bool js_gfx_PipelineState_getDepthStencilState(se::State& s) const cc::gfx::DepthStencilState& result = cobj->getDepthStencilState(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getDepthStencilState : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14402,6 +14479,7 @@ static bool js_gfx_PipelineState_getDynamicStates(se::State& s) int result = (int)cobj->getDynamicStates(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getDynamicStates : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14420,6 +14498,7 @@ static bool js_gfx_PipelineState_getInputState(se::State& s) const cc::gfx::InputState& result = cobj->getInputState(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getInputState : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14438,6 +14517,7 @@ static bool js_gfx_PipelineState_getPipelineLayout(se::State& s) const cc::gfx::PipelineLayout* result = cobj->getPipelineLayout(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getPipelineLayout : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14456,6 +14536,7 @@ static bool js_gfx_PipelineState_getPrimitive(se::State& s) int result = (int)cobj->getPrimitive(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getPrimitive : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14474,6 +14555,7 @@ static bool js_gfx_PipelineState_getRasterizerState(se::State& s) const cc::gfx::RasterizerState& result = cobj->getRasterizerState(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getRasterizerState : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14492,6 +14574,7 @@ static bool js_gfx_PipelineState_getRenderPass(se::State& s) const cc::gfx::RenderPass* result = cobj->getRenderPass(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getRenderPass : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14510,6 +14593,7 @@ static bool js_gfx_PipelineState_getShader(se::State& s) cc::gfx::Shader* result = cobj->getShader(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getShader : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14531,6 +14615,7 @@ static bool js_gfx_PipelineState_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -14620,6 +14705,7 @@ static bool js_gfx_Texture_getBuffer(se::State& s) unsigned char* result = cobj->getBuffer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getBuffer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14638,6 +14724,7 @@ static bool js_gfx_Texture_getDepth(se::State& s) unsigned int result = cobj->getDepth(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getDepth : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14656,6 +14743,7 @@ static bool js_gfx_Texture_getFlags(se::State& s) int result = (int)cobj->getFlags(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getFlags : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14674,6 +14762,7 @@ static bool js_gfx_Texture_getFormat(se::State& s) int result = (int)cobj->getFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getFormat : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14692,6 +14781,7 @@ static bool js_gfx_Texture_getHeight(se::State& s) unsigned int result = cobj->getHeight(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getHeight : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14710,6 +14800,7 @@ static bool js_gfx_Texture_getLayerCount(se::State& s) unsigned int result = cobj->getLayerCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getLayerCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14728,6 +14819,7 @@ static bool js_gfx_Texture_getLevelCount(se::State& s) unsigned int result = cobj->getLevelCount(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getLevelCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14746,6 +14838,7 @@ static bool js_gfx_Texture_getSamples(se::State& s) int result = (int)cobj->getSamples(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getSamples : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14764,6 +14857,7 @@ static bool js_gfx_Texture_getSize(se::State& s) unsigned int result = cobj->getSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getSize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14782,6 +14876,7 @@ static bool js_gfx_Texture_getType(se::State& s) int result = (int)cobj->getType(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getType : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14800,6 +14895,7 @@ static bool js_gfx_Texture_getUsage(se::State& s) int result = (int)cobj->getUsage(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getUsage : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14818,6 +14914,7 @@ static bool js_gfx_Texture_getWidth(se::State& s) unsigned int result = cobj->getWidth(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_getWidth : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14836,6 +14933,7 @@ static bool js_gfx_Texture_isTextureView(se::State& s) bool result = cobj->isTextureView(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Texture_isTextureView : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14950,6 +15048,7 @@ static bool js_gfx_Shader_getAttributes(se::State& s) const std::vector& result = cobj->getAttributes(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getAttributes : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14968,6 +15067,7 @@ static bool js_gfx_Shader_getBlocks(se::State& s) const std::vector& result = cobj->getBlocks(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getBlocks : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -14986,6 +15086,7 @@ static bool js_gfx_Shader_getID(se::State& s) unsigned int result = cobj->getID(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getID : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15004,6 +15105,7 @@ static bool js_gfx_Shader_getName(se::State& s) const cc::String& result = cobj->getName(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getName : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15022,6 +15124,7 @@ static bool js_gfx_Shader_getSamplers(se::State& s) const std::vector& result = cobj->getSamplers(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getSamplers : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15040,6 +15143,7 @@ static bool js_gfx_Shader_getStages(se::State& s) const std::vector& result = cobj->getStages(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_getStages : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15061,6 +15165,7 @@ static bool js_gfx_Shader_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Shader_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15147,6 +15252,7 @@ static bool js_gfx_Device_bindingMappingInfo(se::State& s) const cc::gfx::BindingMappingInfo& result = cobj->bindingMappingInfo(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_bindingMappingInfo : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15169,6 +15275,7 @@ static bool js_gfx_Device_createCommandBuffer(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createCommandBuffer : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15191,6 +15298,7 @@ static bool js_gfx_Device_createDescriptorSet(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createDescriptorSet : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15213,6 +15321,7 @@ static bool js_gfx_Device_createDescriptorSetLayout(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createDescriptorSetLayout : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15235,6 +15344,7 @@ static bool js_gfx_Device_createFence(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createFence : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15257,6 +15367,7 @@ static bool js_gfx_Device_createFramebuffer(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createFramebuffer : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15279,6 +15390,7 @@ static bool js_gfx_Device_createInputAssembler(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createInputAssembler : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15301,6 +15413,7 @@ static bool js_gfx_Device_createPipelineLayout(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createPipelineLayout : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15323,6 +15436,7 @@ static bool js_gfx_Device_createPipelineState(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createPipelineState : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15345,6 +15459,7 @@ static bool js_gfx_Device_createQueue(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createQueue : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15367,6 +15482,7 @@ static bool js_gfx_Device_createRenderPass(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createRenderPass : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15389,6 +15505,7 @@ static bool js_gfx_Device_createSampler(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createSampler : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15411,6 +15528,7 @@ static bool js_gfx_Device_createShader(se::State& s) ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_createShader : Error processing arguments"); se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -15444,6 +15562,7 @@ static bool js_gfx_Device_genShaderId(se::State& s) unsigned int result = cobj->genShaderId(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_genShaderId : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15462,6 +15581,7 @@ static bool js_gfx_Device_getClipSpaceMinZ(se::State& s) float result = cobj->getClipSpaceMinZ(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getClipSpaceMinZ : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15480,6 +15600,7 @@ static bool js_gfx_Device_getColorFormat(se::State& s) int result = (int)cobj->getColorFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getColorFormat : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15498,6 +15619,7 @@ static bool js_gfx_Device_getCommandBuffer(se::State& s) cc::gfx::CommandBuffer* result = cobj->getCommandBuffer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getCommandBuffer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15516,6 +15638,7 @@ static bool js_gfx_Device_getContext(se::State& s) cc::gfx::Context* result = cobj->getContext(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getContext : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15534,6 +15657,7 @@ static bool js_gfx_Device_getDepthBits(se::State& s) int result = cobj->getDepthBits(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getDepthBits : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15552,6 +15676,7 @@ static bool js_gfx_Device_getDepthStencilFormat(se::State& s) int result = (int)cobj->getDepthStencilFormat(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getDepthStencilFormat : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15570,6 +15695,7 @@ static bool js_gfx_Device_getDeviceName(se::State& s) const cc::String& result = cobj->getDeviceName(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getDeviceName : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15588,6 +15714,7 @@ static bool js_gfx_Device_getGfxAPI(se::State& s) int result = (int)cobj->getGfxAPI(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getGfxAPI : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15606,6 +15733,7 @@ static bool js_gfx_Device_getHeight(se::State& s) unsigned int result = cobj->getHeight(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getHeight : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15624,6 +15752,7 @@ static bool js_gfx_Device_getMaxCubeMapTextureSize(se::State& s) int result = cobj->getMaxCubeMapTextureSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxCubeMapTextureSize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15642,6 +15771,7 @@ static bool js_gfx_Device_getMaxFragmentUniformVectors(se::State& s) int result = cobj->getMaxFragmentUniformVectors(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxFragmentUniformVectors : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15660,6 +15790,7 @@ static bool js_gfx_Device_getMaxTextureSize(se::State& s) int result = cobj->getMaxTextureSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxTextureSize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15678,6 +15809,7 @@ static bool js_gfx_Device_getMaxTextureUnits(se::State& s) int result = cobj->getMaxTextureUnits(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxTextureUnits : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15696,6 +15828,7 @@ static bool js_gfx_Device_getMaxUniformBlockSize(se::State& s) int result = cobj->getMaxUniformBlockSize(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxUniformBlockSize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15714,6 +15847,7 @@ static bool js_gfx_Device_getMaxUniformBufferBindings(se::State& s) int result = cobj->getMaxUniformBufferBindings(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxUniformBufferBindings : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15732,6 +15866,7 @@ static bool js_gfx_Device_getMaxVertexAttributes(se::State& s) int result = cobj->getMaxVertexAttributes(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexAttributes : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15750,6 +15885,7 @@ static bool js_gfx_Device_getMaxVertexTextureUnits(se::State& s) int result = cobj->getMaxVertexTextureUnits(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexTextureUnits : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15768,6 +15904,7 @@ static bool js_gfx_Device_getMaxVertexUniformVectors(se::State& s) int result = cobj->getMaxVertexUniformVectors(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexUniformVectors : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15786,6 +15923,7 @@ static bool js_gfx_Device_getMemoryStatus(se::State& s) cc::gfx::MemoryStatus& result = cobj->getMemoryStatus(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getMemoryStatus : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15804,6 +15942,7 @@ static bool js_gfx_Device_getNativeHeight(se::State& s) unsigned int result = cobj->getNativeHeight(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNativeHeight : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15822,6 +15961,7 @@ static bool js_gfx_Device_getNativeWidth(se::State& s) unsigned int result = cobj->getNativeWidth(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNativeWidth : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15840,6 +15980,7 @@ static bool js_gfx_Device_getNumDrawCalls(se::State& s) unsigned int result = cobj->getNumDrawCalls(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNumDrawCalls : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15858,6 +15999,7 @@ static bool js_gfx_Device_getNumInstances(se::State& s) unsigned int result = cobj->getNumInstances(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNumInstances : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15876,6 +16018,7 @@ static bool js_gfx_Device_getNumTris(se::State& s) unsigned int result = cobj->getNumTris(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getNumTris : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15894,6 +16037,7 @@ static bool js_gfx_Device_getQueue(se::State& s) cc::gfx::Queue* result = cobj->getQueue(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getQueue : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15912,6 +16056,7 @@ static bool js_gfx_Device_getRenderer(se::State& s) const cc::String& result = cobj->getRenderer(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getRenderer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15930,6 +16075,7 @@ static bool js_gfx_Device_getScreenSpaceSignY(se::State& s) float result = cobj->getScreenSpaceSignY(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getScreenSpaceSignY : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15948,6 +16094,7 @@ static bool js_gfx_Device_getStencilBits(se::State& s) int result = cobj->getStencilBits(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getStencilBits : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15966,6 +16113,7 @@ static bool js_gfx_Device_getSurfaceTransform(se::State& s) int result = (int)cobj->getSurfaceTransform(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getSurfaceTransform : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -15984,6 +16132,7 @@ static bool js_gfx_Device_getUVSpaceSignY(se::State& s) float result = cobj->getUVSpaceSignY(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getUVSpaceSignY : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16002,6 +16151,7 @@ static bool js_gfx_Device_getUboOffsetAlignment(se::State& s) int result = cobj->getUboOffsetAlignment(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getUboOffsetAlignment : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16020,6 +16170,7 @@ static bool js_gfx_Device_getVendor(se::State& s) const cc::String& result = cobj->getVendor(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getVendor : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16038,6 +16189,7 @@ static bool js_gfx_Device_getWidth(se::State& s) unsigned int result = cobj->getWidth(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_getWidth : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); @@ -16059,6 +16211,7 @@ static bool js_gfx_Device_hasFeature(se::State& s) bool result = cobj->hasFeature(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_hasFeature : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -16080,6 +16233,7 @@ static bool js_gfx_Device_initialize(se::State& s) bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gfx_Device_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.cpp b/native/cocos/bindings/auto/jsb_gles2_auto.cpp index a0c6d5473b..54a0b0ff83 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles2_auto.cpp @@ -46,6 +46,7 @@ static bool js_gles2_GLES2Device_getThreadID(se::State& s) unsigned int result = cobj->getThreadID(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gles2_GLES2Device_getThreadID : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.cpp b/native/cocos/bindings/auto/jsb_gles3_auto.cpp index 27549223ed..d6965f909f 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles3_auto.cpp @@ -46,6 +46,7 @@ static bool js_gles3_GLES3Device_getThreadID(se::State& s) unsigned int result = cobj->getThreadID(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_gles3_GLES3Device_getThreadID : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp index 369fe2e0d0..b76d366b0b 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ b/native/cocos/bindings/auto/jsb_mtl_auto.cpp @@ -13,6 +13,21 @@ se::Object* __jsb_cc_gfx_CCMTLDevice_proto = nullptr; se::Class* __jsb_cc_gfx_CCMTLDevice_class = nullptr; +static bool js_mtl_CCMTLDevice_ensureAutoreleasePool(se::State& s) +{ + cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_ensureAutoreleasePool : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->ensureAutoreleasePool(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_mtl_CCMTLDevice_ensureAutoreleasePool) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) static bool js_mtl_CCMTLDevice_constructor(se::State& s) // constructor.c @@ -45,6 +60,7 @@ bool js_register_mtl_CCMTLDevice(se::Object* obj) { auto cls = se::Class::create("CCMTLDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_mtl_CCMTLDevice_constructor)); + cls->defineFunction("ensureAutoreleasePool", _SE(js_mtl_CCMTLDevice_ensureAutoreleasePool)); cls->defineFinalizeFunction(_SE(js_cc_gfx_CCMTLDevice_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index d7cd9b191c..7d7cba1b78 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -12,5 +12,6 @@ bool js_register_cc_gfx_CCMTLDevice(se::Object* obj); bool register_all_mtl(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCMTLDevice); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_ensureAutoreleasePool); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_CCMTLDevice); diff --git a/native/cocos/cocos2d.h b/native/cocos/cocos2d.h index 3c7b5d8799..bc38dcf2c3 100644 --- a/native/cocos/cocos2d.h +++ b/native/cocos/cocos2d.h @@ -51,8 +51,6 @@ THE SOFTWARE. #include "base/Macros.h" #include "base/UTF8.h" #include "base/Utils.h" -#include "base/job-system/JobSystem.h" - // math #include "math/Geometry.h" diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 928c449be7..fc6ae5d0e6 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -46,18 +46,3 @@ THE SOFTWARE. #include "gfx/GFXSampler.h" #include "gfx/GFXShader.h" #include "gfx/GFXTexture.h" - -#include "threading/MessageQueue.h" -#include "threading/ThreadPool.h" - -#include "gfx-agent/GFXBufferAgent.h" -#include "gfx-agent/GFXCommandBufferAgent.h" -#include "gfx-agent/GFXDescriptorSetAgent.h" -#include "gfx-agent/GFXDeviceAgent.h" -#include "gfx-agent/GFXFramebufferAgent.h" -#include "gfx-agent/GFXInputAssemblerAgent.h" -#include "gfx-agent/GFXPipelineStateAgent.h" -#include "gfx-agent/GFXQueueAgent.h" -#include "gfx-agent/GFXRenderPassAgent.h" -#include "gfx-agent/GFXShaderAgent.h" -#include "gfx-agent/GFXTextureAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXAgent.h b/native/cocos/renderer/core/gfx-agent/GFXAgent.h index 398ab4c105..827fd87011 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXAgent.h @@ -10,10 +10,10 @@ class CC_DLL Agent : public Actor { public: Agent() noexcept = delete; - explicit Agent(Actor *const actor, Device *const device) noexcept + Agent(Actor *const actor, Device *const device) noexcept : Actor(device), _actor(actor) {} - virtual ~Agent() {} + ~Agent() override {} Agent(Agent const &) = delete; @@ -26,7 +26,7 @@ public: inline Actor *getActor() const noexcept { return _actor; } protected: - Actor * _actor{nullptr}; + Actor *_actor{nullptr}; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp index 2cd4076812..19cd0fa6c2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXDeviceAgent.h" #include "GFXLinearAllocatorPool.h" @@ -8,6 +8,16 @@ namespace cc { namespace gfx { +BufferAgent::~BufferAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + BufferDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool BufferAgent::initialize(const BufferInfo &info) { _usage = info.usage; _memUsage = info.memUsage; @@ -52,17 +62,13 @@ bool BufferAgent::initialize(const BufferViewInfo &info) { } void BufferAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - BufferDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + BufferDestroy, + actor, getActor(), + { + actor->destroy(); + }); } void BufferAgent::update(void *buffer, uint size) { diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h index f297022254..7a6833dbc7 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h @@ -10,12 +10,13 @@ class CC_DLL BufferAgent final : public Agent { public: using Agent::Agent; BufferAgent(Device *device) = delete; + ~BufferAgent() override; - virtual bool initialize(const BufferInfo &info) override; - virtual bool initialize(const BufferViewInfo &info) override; - virtual void destroy() override; - virtual void resize(uint size) override; - virtual void update(void *buffer, uint size) override; + bool initialize(const BufferInfo &info) override; + bool initialize(const BufferViewInfo &info) override; + void destroy() override; + void resize(uint size) override; + void update(void *buffer, uint size) override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 972731cf40..6d998c2176 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -1,7 +1,7 @@ #include "CoreStd.h" -#include "job-system/JobSystem.h" -#include "threading/MessageQueue.h" +#include "base/job-system/JobSystem.h" +#include "base/threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" #include "GFXDescriptorSetAgent.h" @@ -37,6 +37,16 @@ void CommandBufferAgent::flushCommands(CommandBufferAgent *const *cmdBuffs, uint } } +CommandBufferAgent::~CommandBufferAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + void CommandBufferAgent::initMessageQueue() { _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { @@ -86,17 +96,14 @@ bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { void CommandBufferAgent::destroy() { destroyMessageQueue(); - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferDestroy, + actor, getActor(), + { + actor->destroy(); + }); } void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { @@ -171,18 +178,23 @@ void CommandBufferAgent::endRenderPass() { void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { if (!count) return; - const CommandBuffer **actorCmdBuffs = _messageQueue->allocate(count); + const CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } + const CommandBufferAgent **agentCmdBuffs = getAllocator()->allocate(count); + for (uint i = 0; i < count; ++i) { + agentCmdBuffs[i] = (CommandBufferAgent *)cmdBuffs[i]; + } + bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); ENQUEUE_MESSAGE_5( _messageQueue, CommandBufferExecute, actor, getActor(), - cmdBuffs, (CommandBufferAgent *const *)cmdBuffs, + cmdBuffs, (CommandBufferAgent *const *)agentCmdBuffs, actorCmdBuffs, actorCmdBuffs, count, count, multiThreaded, multiThreaded, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 346d5ed05b..e4b6195c72 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -15,34 +15,35 @@ class CC_DLL CommandBufferAgent final : public Agent { public: using Agent::Agent; CommandBufferAgent(Device *device) = delete; + ~CommandBufferAgent() override; static void flushCommands(CommandBufferAgent *const *cmdBuffs, uint count, bool multiThreaded); - virtual bool initialize(const CommandBufferInfo &info) override; - virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; - virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; - virtual void endRenderPass() override; - virtual void bindPipelineState(PipelineState *pso) override; - virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; - virtual void bindInputAssembler(InputAssembler *ia) override; - virtual void setViewport(const Viewport &vp) override; - virtual void setScissor(const Rect &rect) override; - virtual void setLineWidth(const float width) override; - virtual void setDepthBias(float constant, float clamp, float slope) override; - virtual void setBlendConstants(const Color &constants) override; - virtual void setDepthBound(float minBounds, float maxBounds) override; - virtual void setStencilWriteMask(StencilFace face, uint mask) override; - virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + bool initialize(const CommandBufferInfo &info) override; + void destroy() override; + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + void endRenderPass() override; + void bindPipelineState(PipelineState *pso) override; + void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; + void bindInputAssembler(InputAssembler *ia) override; + void setViewport(const Viewport &vp) override; + void setScissor(const Rect &rect) override; + void setLineWidth(const float width) override; + void setDepthBias(float constant, float clamp, float slope) override; + void setBlendConstants(const Color &constants) override; + void setDepthBound(float minBounds, float maxBounds) override; + void setStencilWriteMask(StencilFace face, uint mask) override; + void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buff, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; - virtual uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } - virtual uint getNumInstances() const override { return _actor->getNumInstances(); } - virtual uint getNumTris() const override { return _actor->getNumTris(); } + uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } + uint getNumInstances() const override { return _actor->getNumInstances(); } + uint getNumTris() const override { return _actor->getNumTris(); } CC_INLINE MessageQueue *getMessageQueue() { return _messageQueue; } LinearAllocatorPool *getAllocator(); diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp index 0ead9ace52..4971db7b62 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp @@ -6,11 +6,21 @@ #include "GFXDeviceAgent.h" #include "GFXSamplerAgent.h" #include "GFXTextureAgent.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { +DescriptorSetAgent::~DescriptorSetAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + DescriptorSetDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool DescriptorSetAgent::initialize(const DescriptorSetInfo &info) { _layout = info.layout; uint descriptorCount = _layout->getDescriptorCount(); @@ -39,17 +49,13 @@ void DescriptorSetAgent::destroy() { _textures.clear(); _samplers.clear(); - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - DescriptorSetDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + DescriptorSetDestroy, + actor, getActor(), + { + actor->destroy(); + }); } void DescriptorSetAgent::update() { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h index b67662fbd8..a9692dd1e4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h @@ -10,14 +10,15 @@ class CC_DLL DescriptorSetAgent final : public Agent { public: using Agent::Agent; DescriptorSetAgent(Device *device) = delete; + ~DescriptorSetAgent() override; - virtual bool initialize(const DescriptorSetInfo &info) override; - virtual void destroy() override; - virtual void update() override; + bool initialize(const DescriptorSetInfo &info) override; + void destroy() override; + void update() override; - virtual void bindBuffer(uint binding, Buffer *buffer, uint index) override; - virtual void bindTexture(uint binding, Texture *texture, uint index) override; - virtual void bindSampler(uint binding, Sampler *sampler, uint index) override; + void bindBuffer(uint binding, Buffer *buffer, uint index) override; + void bindTexture(uint binding, Texture *texture, uint index) override; + void bindSampler(uint binding, Sampler *sampler, uint index) override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp index 00b89d431f..c3d72a8141 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp @@ -1,12 +1,22 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXDescriptorSetLayoutAgent.h" namespace cc { namespace gfx { +DescriptorSetLayoutAgent::~DescriptorSetLayoutAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + DescriptorSetLayoutDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool DescriptorSetLayoutAgent::initialize(const DescriptorSetLayoutInfo &info) { _bindings = info.bindings; @@ -45,17 +55,13 @@ bool DescriptorSetLayoutAgent::initialize(const DescriptorSetLayoutInfo &info) { } void DescriptorSetLayoutAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - DescriptorSetLayoutDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + DescriptorSetLayoutDestroy, + actor, getActor(), + { + actor->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h index 7fc2b3feee..26455f7ab5 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h @@ -10,9 +10,10 @@ class CC_DLL DescriptorSetLayoutAgent final : public Agent public: using Agent::Agent; DescriptorSetLayoutAgent(Device *device) = delete; + ~DescriptorSetLayoutAgent() override; - virtual bool initialize(const DescriptorSetLayoutInfo &info) override; - virtual void destroy() override; + bool initialize(const DescriptorSetLayoutInfo &info) override; + void destroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 332a94afc5..09c9493ad3 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -1,10 +1,9 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" -#include "GFXDescriptorSetLayoutAgent.h" #include "GFXDescriptorSetAgent.h" +#include "GFXDescriptorSetLayoutAgent.h" #include "GFXDeviceAgent.h" #include "GFXFramebufferAgent.h" #include "GFXInputAssemblerAgent.h" @@ -16,10 +15,15 @@ #include "GFXSamplerAgent.h" #include "GFXShaderAgent.h" #include "GFXTextureAgent.h" +#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { +DeviceAgent::~DeviceAgent() { + CC_SAFE_DELETE(_actor); +} + bool DeviceAgent::initialize(const DeviceInfo &info) { _clipSpaceMinZ = _actor->getClipSpaceMinZ(); _screenSpaceSignY = _actor->getScreenSpaceSignY(); @@ -79,17 +83,13 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { } void DeviceAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - getMessageQueue(), - DeviceDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + getMessageQueue(), + DeviceDestroy, + actor, getActor(), + { + actor->destroy(); + }); ((CommandBufferAgent *)_cmdBuff)->destroyMessageQueue(); CC_SAFE_DELETE(_cmdBuff); @@ -146,7 +146,7 @@ void DeviceAgent::present() { _frameBoundarySemaphore.Wait(); getMainAllocator()->reset(); - for (LinearAllocatorPool **allocatorPools: _allocatorPoolRefs) { + for (LinearAllocatorPool **allocatorPools : _allocatorPoolRefs) { allocatorPools[_currentIndex]->reset(); } } diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index dc11e8fafc..120b5ac56d 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -1,7 +1,7 @@ #pragma once #include "../gfx/GFXDevice.h" -#include "threading/Semaphore.h" +#include "base/threading/Semaphore.h" #include "GFXAgent.h" namespace cc { @@ -23,40 +23,40 @@ struct SubmitContext final { class CC_DLL DeviceAgent final : public Agent { public: using Agent::Agent; + ~DeviceAgent() override; - virtual bool initialize(const DeviceInfo &info) override; - virtual void destroy() override; - virtual void resize(uint width, uint height) override; - virtual void acquire() override; - virtual void present() override; + bool initialize(const DeviceInfo &info) override; + void destroy() override; + void resize(uint width, uint height) override; + void acquire() override; + void present() override; - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + Fence *createFence() override; + Queue *createQueue() override; + Buffer *createBuffer() override; + Texture *createTexture() override; + Sampler *createSampler() override; + Shader *createShader() override; + InputAssembler *createInputAssembler() override; + RenderPass *createRenderPass() override; + Framebuffer *createFramebuffer() override; + DescriptorSet *createDescriptorSet() override; + DescriptorSetLayout *createDescriptorSetLayout() override; + PipelineLayout *createPipelineLayout() override; + PipelineState *createPipelineState() override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - - virtual void setMultithreaded(bool multithreaded) override; - virtual SurfaceTransform getSurfaceTransform() const override { return _actor->getSurfaceTransform(); } - virtual uint getWidth() const override { return _actor->getWidth(); } - virtual uint getHeight() const override { return _actor->getHeight(); } - virtual uint getNativeWidth() const override { return _actor->getNativeWidth(); } - virtual uint getNativeHeight() const override { return _actor->getNativeHeight(); } - virtual MemoryStatus &getMemoryStatus() override { return _actor->getMemoryStatus(); } - virtual uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } - virtual uint getNumInstances() const override { return _actor->getNumInstances(); } - virtual uint getNumTris() const override { return _actor->getNumTris(); } + void setMultithreaded(bool multithreaded) override; + SurfaceTransform getSurfaceTransform() const override { return _actor->getSurfaceTransform(); } + uint getWidth() const override { return _actor->getWidth(); } + uint getHeight() const override { return _actor->getHeight(); } + uint getNativeWidth() const override { return _actor->getNativeWidth(); } + uint getNativeHeight() const override { return _actor->getNativeHeight(); } + MemoryStatus &getMemoryStatus() override { return _actor->getMemoryStatus(); } + uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } + uint getNumInstances() const override { return _actor->getNumInstances(); } + uint getNumTris() const override { return _actor->getNumTris(); } MessageQueue *getMessageQueue() const { return _mainEncoder; } LinearAllocatorPool *getMainAllocator() const { return _allocatorPools[_currentIndex]; } diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp index 6243d9cf33..dbc0309e03 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXFramebufferAgent.h" #include "GFXRenderPassAgent.h" @@ -9,6 +9,16 @@ namespace cc { namespace gfx { +FramebufferAgent::~FramebufferAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + FramebufferDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool FramebufferAgent::initialize(const FramebufferInfo &info) { _renderPass = info.renderPass; _colorTextures = info.colorTextures; @@ -38,17 +48,13 @@ bool FramebufferAgent::initialize(const FramebufferInfo &info) { } void FramebufferAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - FramebufferDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + FramebufferDestroy, + actor, getActor(), + { + actor->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h index 65429d5fb6..81417ec643 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h @@ -10,9 +10,10 @@ class CC_DLL FramebufferAgent final : public Agent { public: using Agent::Agent; FramebufferAgent(Device *device) = delete; + ~FramebufferAgent() override; - virtual bool initialize(const FramebufferInfo &info) override; - virtual void destroy() override; + bool initialize(const FramebufferInfo &info) override; + void destroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp index 699cf9b5b2..a02b8894a5 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXDeviceAgent.h" #include "GFXInputAssemblerAgent.h" @@ -8,6 +8,16 @@ namespace cc { namespace gfx { +InputAssemblerAgent::~InputAssemblerAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + InputAssemblerDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool InputAssemblerAgent::initialize(const InputAssemblerInfo &info) { _attributes = info.attributes; _vertexBuffers = info.vertexBuffers; @@ -48,17 +58,13 @@ bool InputAssemblerAgent::initialize(const InputAssemblerInfo &info) { } void InputAssemblerAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - InputAssemblerDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + InputAssemblerDestroy, + actor, getActor(), + { + actor->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h index b0ecdab728..75436a1e15 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h @@ -10,17 +10,18 @@ class CC_DLL InputAssemblerAgent final : public Agent { public: using Agent::Agent; InputAssemblerAgent(Device *device) = delete; + ~InputAssemblerAgent() override; - virtual bool initialize(const InputAssemblerInfo &info) override; - virtual void destroy() override; + bool initialize(const InputAssemblerInfo &info) override; + void destroy() override; - virtual void setVertexCount(uint count) override { _vertexCount = count; _actor->setVertexCount(count); } - virtual void setFirstVertex(uint first) override { _firstVertex = first; _actor->setFirstVertex(first); } - virtual void setIndexCount(uint count) override { _indexCount = count; _actor->setIndexCount(count); } - virtual void setFirstIndex(uint first) override { _firstIndex = first; _actor->setFirstIndex(first); } - virtual void setVertexOffset(uint offset) override { _vertexOffset = offset; _actor->setVertexOffset(offset); } - virtual void setInstanceCount(uint count) override { _instanceCount = count; _actor->setInstanceCount(count); } - virtual void setFirstInstance(uint first) override { _firstInstance = first; _actor->setFirstInstance(first); } + void setVertexCount(uint count) override { _vertexCount = count; _actor->setVertexCount(count); } + void setFirstVertex(uint first) override { _firstVertex = first; _actor->setFirstVertex(first); } + void setIndexCount(uint count) override { _indexCount = count; _actor->setIndexCount(count); } + void setFirstIndex(uint first) override { _firstIndex = first; _actor->setFirstIndex(first); } + void setVertexOffset(uint offset) override { _vertexOffset = offset; _actor->setVertexOffset(offset); } + void setInstanceCount(uint count) override { _instanceCount = count; _actor->setInstanceCount(count); } + void setFirstInstance(uint first) override { _firstInstance = first; _actor->setFirstInstance(first); } }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h index c24a814864..33231a05af 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h +++ b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h @@ -2,7 +2,7 @@ #include #include -#include "threading/ThreadSafeLinearAllocator.h" +#include "base/threading/ThreadSafeLinearAllocator.h" namespace cc { namespace gfx { @@ -26,7 +26,7 @@ public: LinearAllocatorPool(size_t defaultBlockSize = DEFAULT_BLOCK_SIZE): _defaultBlockSize(defaultBlockSize) { _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(_defaultBlockSize))); } - + ~LinearAllocatorPool() { for (ThreadSafeLinearAllocator *allocator : _allocators) { CC_SAFE_DELETE(allocator); @@ -36,13 +36,15 @@ public: template T* allocate(const uint count, uint alignment = 64u) noexcept { + if (!count) return nullptr; + T* res = nullptr; size_t size = count * sizeof(T); for (ThreadSafeLinearAllocator *allocator : _allocators) { res = reinterpret_cast(allocator->Allocate(size, alignment)); if (res) return res; } - size_t capacity = nextPowerOf2(std::max(DEFAULT_BLOCK_SIZE, size)); + size_t capacity = nextPowerOf2(std::max(DEFAULT_BLOCK_SIZE, size + alignment)); // reserve enough padding space for alignment _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(capacity))); return reinterpret_cast(_allocators.back()->Allocate(size, alignment)); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp index e62b52e40a..25435b9710 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXDescriptorSetLayoutAgent.h" #include "GFXDeviceAgent.h" #include "GFXPipelineLayoutAgent.h" @@ -8,6 +8,16 @@ namespace cc { namespace gfx { +PipelineLayoutAgent::~PipelineLayoutAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + PipelineLayoutDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool PipelineLayoutAgent::initialize(const PipelineLayoutInfo &info) { _setLayouts = info.setLayouts; @@ -31,17 +41,13 @@ bool PipelineLayoutAgent::initialize(const PipelineLayoutInfo &info) { } void PipelineLayoutAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - PipelineLayoutDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + PipelineLayoutDestroy, + actor, getActor(), + { + actor->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h index bb0de7e33b..829ab810a7 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h @@ -10,9 +10,10 @@ class CC_DLL PipelineLayoutAgent final : public Agent { public: using Agent::Agent; PipelineLayoutAgent(Device *device) = delete; + ~PipelineLayoutAgent() override; - virtual bool initialize(const PipelineLayoutInfo &info) override; - virtual void destroy() override; + bool initialize(const PipelineLayoutInfo &info) override; + void destroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp index a263d5d6b0..d5c12c7970 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXPipelineLayoutAgent.h" #include "GFXPipelineStateAgent.h" @@ -10,6 +10,16 @@ namespace cc { namespace gfx { +PipelineStateAgent::~PipelineStateAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + PipelineStateDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool PipelineStateAgent::initialize(const PipelineStateInfo &info) { _primitive = info.primitive; _shader = info.shader; @@ -39,17 +49,13 @@ bool PipelineStateAgent::initialize(const PipelineStateInfo &info) { } void PipelineStateAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - PipelineStateDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + PipelineStateDestroy, + actor, getActor(), + { + actor->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h index 28a806e928..dcebd49db9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h @@ -10,9 +10,10 @@ class CC_DLL PipelineStateAgent final : public Agent { public: using Agent::Agent; PipelineStateAgent(Device *device) = delete; + ~PipelineStateAgent() override; - virtual bool initialize(const PipelineStateInfo &info) override; - virtual void destroy() override; + bool initialize(const PipelineStateInfo &info) override; + void destroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index b52cc78bea..c7e97a8cdb 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -4,12 +4,22 @@ #include "GFXDeviceAgent.h" #include "GFXLinearAllocatorPool.h" #include "GFXQueueAgent.h" -#include "job-system/JobSystem.h" -#include "threading/MessageQueue.h" +#include "base/job-system/JobSystem.h" +#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { +QueueAgent::~QueueAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + QueueDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool QueueAgent::initialize(const QueueInfo &info) { _type = info.type; @@ -26,17 +36,13 @@ bool QueueAgent::initialize(const QueueInfo &info) { } void QueueAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - QueueDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + QueueDestroy, + actor, getActor(), + { + actor->destroy(); + }); } void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { @@ -48,6 +54,11 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } + const CommandBufferAgent **agentCmdBuffs = allocator->allocate(count); + for (uint i = 0; i < count; ++i) { + agentCmdBuffs[i] = (CommandBufferAgent *)cmdBuffs[i]; + } + bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); ENQUEUE_MESSAGE_6( @@ -55,7 +66,7 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence QueueSubmit, actor, getActor(), multiThreaded, multiThreaded, - cmdBuffs, (CommandBufferAgent *const *)cmdBuffs, + cmdBuffs, (CommandBufferAgent *const *)agentCmdBuffs, actorCmdBuffs, actorCmdBuffs, count, count, fence, fence, diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h index a61d9f4e6f..25cf5458e2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h @@ -12,11 +12,12 @@ public: using Queue::submit; QueueAgent(Device *device) = delete; + ~QueueAgent() override; - virtual bool initialize(const QueueInfo &info) override; - virtual void destroy() override; + bool initialize(const QueueInfo &info) override; + void destroy() override; - virtual void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) override; + void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp index b823db0fff..d03a01a2ec 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp @@ -1,12 +1,22 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXRenderPassAgent.h" namespace cc { namespace gfx { +RenderPassAgent::~RenderPassAgent(){ + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + RenderPassDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool RenderPassAgent::initialize(const RenderPassInfo &info) { _colorAttachments = info.colorAttachments; @@ -27,17 +37,13 @@ bool RenderPassAgent::initialize(const RenderPassInfo &info) { } void RenderPassAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - RenderPassDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + RenderPassDestroy, + actor, getActor(), + { + actor->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h index a10e94da26..0ae37b1bcd 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h @@ -10,9 +10,10 @@ class CC_DLL RenderPassAgent final : public Agent { public: using Agent::Agent; RenderPassAgent(Device *device) = delete; + ~RenderPassAgent() override; - virtual bool initialize(const RenderPassInfo &info) override; - virtual void destroy() override; + bool initialize(const RenderPassInfo &info) override; + void destroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp index bf8a5f1d8f..459a0ab333 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp @@ -1,6 +1,6 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXDescriptorSetLayoutAgent.h" #include "GFXDeviceAgent.h" #include "GFXSamplerAgent.h" @@ -8,6 +8,16 @@ namespace cc { namespace gfx { +SamplerAgent::~SamplerAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + SamplerDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool SamplerAgent::initialize(const SamplerInfo &info) { _minFilter = info.minFilter; @@ -36,17 +46,13 @@ bool SamplerAgent::initialize(const SamplerInfo &info) { } void SamplerAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - SamplerDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + SamplerDestroy, + actor, getActor(), + { + actor->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h index eeeab014db..6b80c784a8 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h @@ -10,9 +10,10 @@ class CC_DLL SamplerAgent final : public Agent { public: using Agent::Agent; SamplerAgent(Device *device) = delete; + ~SamplerAgent() override; - virtual bool initialize(const SamplerInfo &info) override; - virtual void destroy() override; + bool initialize(const SamplerInfo &info) override; + void destroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp index 88fd5d0584..7ee44cd0e8 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp @@ -1,12 +1,22 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXShaderAgent.h" namespace cc { namespace gfx { +ShaderAgent::~ShaderAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + ShaderDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool ShaderAgent::initialize(const ShaderInfo &info) { _name = info.name; _stages = info.stages; @@ -27,17 +37,13 @@ bool ShaderAgent::initialize(const ShaderInfo &info) { } void ShaderAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - ShaderDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + ShaderDestroy, + actor, getActor(), + { + actor->destroy(); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h index b2dcd35121..e8834437f4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h @@ -10,9 +10,10 @@ class CC_DLL ShaderAgent final : public Agent { public: using Agent::Agent; ShaderAgent(Device *device) = delete; + ~ShaderAgent() override; - virtual bool initialize(const ShaderInfo &info) override; - virtual void destroy() override; + bool initialize(const ShaderInfo &info) override; + void destroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp index afd803fdd9..e52bc718a0 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp @@ -1,12 +1,22 @@ #include "CoreStd.h" -#include "threading/MessageQueue.h" +#include "base/threading/MessageQueue.h" #include "GFXTextureAgent.h" #include "GFXDeviceAgent.h" namespace cc { namespace gfx { +TextureAgent::~TextureAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + TextureDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + bool TextureAgent::initialize(const TextureInfo &info) { _type = info.type; _usage = info.usage; @@ -66,17 +76,13 @@ bool TextureAgent::initialize(const TextureViewInfo &info) { } void TextureAgent::destroy() { - if (_actor) { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - TextureDestroy, - actor, getActor(), - { - CC_DESTROY(actor); - }); - - _actor = nullptr; - } + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + TextureDestroy, + actor, getActor(), + { + actor->destroy(); + }); } void TextureAgent::resize(uint width, uint height) { diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h index ddac4dc3bc..fd9ef0f52e 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h @@ -10,11 +10,12 @@ class CC_DLL TextureAgent final : public Agent { public: using Agent::Agent; TextureAgent(Device *device) = delete; + ~TextureAgent() override; - virtual bool initialize(const TextureInfo &info) override; - virtual bool initialize(const TextureViewInfo &info) override; - virtual void destroy() override; - virtual void resize(uint width, uint height) override; + bool initialize(const TextureInfo &info) override; + bool initialize(const TextureViewInfo &info) override; + void destroy() override; + void resize(uint width, uint height) override; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 3a261cc29e..0336010939 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -51,7 +51,7 @@ public: CC_INLINE PipelineLayout *createPipelineLayout(const PipelineLayoutInfo &info) { PipelineLayout *res = createPipelineLayout(); res->initialize(info); return res; } CC_INLINE PipelineState *createPipelineState(const PipelineStateInfo &info) { PipelineState *res = createPipelineState(); res->initialize(info); return res; } CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *dst, const BufferTextureCopyList ®ions) { - copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size()) ); + copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size())); } virtual void setMultithreaded(bool multithreaded) {} diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index bbca4bbdd3..f7d0970e4e 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -69,7 +69,6 @@ public: CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } - CC_INLINE void *getDSSTexture() const { return _dssTex; } virtual void ensureAutoreleasePool(); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 63af396875..a2df00b633 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -313,10 +313,10 @@ public: CCVKGPUSwapchain *swapchain = nullptr; // reference - /* * + /* */ using CommandBufferPools = tbb::concurrent_unordered_map< std::thread::id, CCVKGPUCommandBufferPool *, std::hash>; - /* */ + /* * using CommandBufferPools = unordered_map; std::mutex mutex; /* */ diff --git a/native/tools/tojs/gfx.ini b/native/tools/tojs/gfx.ini index 767ce55367..04713dbc81 100644 --- a/native/tools/tojs/gfx.ini +++ b/native/tools/tojs/gfx.ini @@ -16,7 +16,7 @@ android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILIT clang_headers = clang_flags = -nostdinc -x c++ -std=c++11 -fsigned-char -U__SSE__ -cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s/cocos/renderer/core-I%(cocosdir)s/cocos/math -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/source +cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s/cocos/renderer/core-I%(cocosdir)s/cocos/math -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/sources cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 From c7c9b5e256386a1bd1c3c59d79755b96cefb8a97 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 4 Jan 2021 19:11:51 +0800 Subject: [PATCH 095/270] device agent bindings --- native/CMakeLists.txt | 2 + .../bindings/auto/jsb_gfx_agent_auto.cpp | 79 +++++++++++++++++++ .../cocos/bindings/auto/jsb_gfx_agent_auto.h | 18 +++++ .../renderer/core/gfx-agent/GFXDeviceAgent.h | 2 + native/tools/tojs/genbindings.py | 3 +- native/tools/tojs/gfx-agent.ini | 73 +++++++++++++++++ 6 files changed, 176 insertions(+), 1 deletion(-) create mode 100644 native/cocos/bindings/auto/jsb_gfx_agent_auto.cpp create mode 100644 native/cocos/bindings/auto/jsb_gfx_agent_auto.h create mode 100644 native/tools/tojs/gfx-agent.ini diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 421dec4a2b..a25d61d2a0 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -907,6 +907,8 @@ cocos_source_files( cocos/bindings/auto/jsb_extension_auto.h cocos/bindings/auto/jsb_gfx_auto.cpp cocos/bindings/auto/jsb_gfx_auto.h + cocos/bindings/auto/jsb_gfx_agent_auto.cpp + cocos/bindings/auto/jsb_gfx_agent_auto.h cocos/bindings/auto/jsb_network_auto.cpp cocos/bindings/auto/jsb_network_auto.h cocos/bindings/auto/jsb_pipeline_auto.cpp diff --git a/native/cocos/bindings/auto/jsb_gfx_agent_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_agent_auto.cpp new file mode 100644 index 0000000000..36994a1015 --- /dev/null +++ b/native/cocos/bindings/auto/jsb_gfx_agent_auto.cpp @@ -0,0 +1,79 @@ +#include "cocos/bindings/auto/jsb_gfx_agent_auto.h" +#include "cocos/bindings/manual/jsb_conversions.h" +#include "cocos/bindings/manual/jsb_global.h" +#include "renderer/core/gfx-agent/GFXDeviceAgent.h" + +#ifndef JSB_ALLOC +#define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) +#endif + +#ifndef JSB_FREE +#define JSB_FREE(ptr) delete ptr +#endif +se::Object* __jsb_cc_gfx_DeviceAgent_proto = nullptr; +se::Class* __jsb_cc_gfx_DeviceAgent_class = nullptr; + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_DeviceAgent_finalize) + +static bool js_gfx_agent_DeviceAgent_constructor(se::State& s) // constructor.c +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + cc::gfx::Device* arg0 = nullptr; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_agent_DeviceAgent_constructor : Error processing arguments"); + cc::gfx::DeviceAgent* cobj = JSB_ALLOC(cc::gfx::DeviceAgent, arg0); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_gfx_agent_DeviceAgent_constructor, __jsb_cc_gfx_DeviceAgent_class, js_cc_gfx_DeviceAgent_finalize) + + + +extern se::Object* __jsb_cc_gfx_Device_proto; + +static bool js_cc_gfx_DeviceAgent_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::DeviceAgent* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_DeviceAgent_finalize) + +bool js_register_gfx_agent_DeviceAgent(se::Object* obj) +{ + auto cls = se::Class::create("DeviceAgent", obj, __jsb_cc_gfx_Device_proto, _SE(js_gfx_agent_DeviceAgent_constructor)); + + cls->defineFinalizeFunction(_SE(js_cc_gfx_DeviceAgent_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_DeviceAgent_proto = cls->getProto(); + __jsb_cc_gfx_DeviceAgent_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +bool register_all_gfx_agent(se::Object* obj) +{ + // Get the ns + se::Value nsVal; + if (!obj->getProperty("gfx", &nsVal)) + { + se::HandleObject jsobj(se::Object::createPlainObject()); + nsVal.setObject(jsobj); + obj->setProperty("gfx", nsVal); + } + se::Object* ns = nsVal.toObject(); + + js_register_gfx_agent_DeviceAgent(ns); + return true; +} + diff --git a/native/cocos/bindings/auto/jsb_gfx_agent_auto.h b/native/cocos/bindings/auto/jsb_gfx_agent_auto.h new file mode 100644 index 0000000000..d021371a26 --- /dev/null +++ b/native/cocos/bindings/auto/jsb_gfx_agent_auto.h @@ -0,0 +1,18 @@ +#pragma once +#include "base/Config.h" +#include +#include "cocos/bindings/jswrapper/SeApi.h" +#include "cocos/bindings/manual/jsb_conversions.h" +#include "D:\workspace\editor-3d-2\resources\3d\cocos2d-x-lite/cocos/renderer/core/Core.h" +#include "D:\workspace\editor-3d-2\resources\3d\cocos2d-x-lite/cocos/bindings/auto/jsb_gfx_auto.h" +#include "cocos/renderer/core/gfx-agent/GFXDeviceAgent.h" + +extern se::Object* __jsb_cc_gfx_DeviceAgent_proto; +extern se::Class* __jsb_cc_gfx_DeviceAgent_class; + +bool js_register_cc_gfx_DeviceAgent(se::Object* obj); +bool register_all_gfx_agent(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::gfx::DeviceAgent); +SE_DECLARE_FUNC(js_gfx_agent_DeviceAgent_DeviceAgent); + diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 120b5ac56d..7fa9819dff 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -23,6 +23,8 @@ struct SubmitContext final { class CC_DLL DeviceAgent final : public Agent { public: using Agent::Agent; + DeviceAgent(Device *const actor) noexcept + : Agent(actor, nullptr) {} ~DeviceAgent() override; bool initialize(const DeviceInfo &info) override; diff --git a/native/tools/tojs/genbindings.py b/native/tools/tojs/genbindings.py index 5992ecc4f0..4ef2942f88 100755 --- a/native/tools/tojs/genbindings.py +++ b/native/tools/tojs/genbindings.py @@ -151,6 +151,7 @@ def main(): 'extension.ini' : ('extension', 'jsb_extension_auto'), 'network.ini' : ('network', 'jsb_network_auto'), 'gfx.ini': ('gfx', 'jsb_gfx_auto'), + # 'gfx-agent.ini': ('gfx-agent', 'jsb_gfx_agent_auto'), # CRTP not supported, turned to manual 'gles2.ini': ('gles2', 'jsb_gles2_auto'), 'gles3.ini': ('gles3', 'jsb_gles3_auto'), 'metal.ini': ('metal', 'jsb_mtl_auto'), @@ -170,7 +171,7 @@ def main(): command = '%s -W ignore %s %s -s %s -t %s -o %s -n %s' % (python_bin, generator_py, cfg, args[0], target, output_dir, args[1]) # tasks.append(_run_cmd(command)) _run_cmd(command).communicate() - + # for t in tasks: # t.communicate() diff --git a/native/tools/tojs/gfx-agent.ini b/native/tools/tojs/gfx-agent.ini new file mode 100644 index 0000000000..dc1c5702f8 --- /dev/null +++ b/native/tools/tojs/gfx-agent.ini @@ -0,0 +1,73 @@ +[gfx-agent] +# the prefix to be added to the generated functions. You might or might not use this in your own +# templates +prefix = gfx_agent + +# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) +# all classes will be embedded in that namespace +target_namespace = gfx + +macro_judgement = + +android_headers = + +android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DANDROID -D__ANDROID_API__=14 -gcc-toolchain %(gcc_toolchain_dir)s --sysroot=%(androidndkdir)s/platforms/android-14/arch-arm -idirafter %(androidndkdir)s/sources/android/support/include -idirafter %(androidndkdir)s/sysroot/usr/include -idirafter %(androidndkdir)s/sysroot/usr/include/arm-linux-androideabi -idirafter %(clangllvmdir)s/lib64/clang/5.0/include -I%(androidndkdir)s/sources/cxx-stl/llvm-libc++/include + +clang_headers = +clang_flags = -nostdinc -x c++ -std=c++11 -fsigned-char -U__SSE__ + +cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s/cocos/renderer/core -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/sources -include %(cocosdir)s/cocos/renderer/core/Core.h +cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 + + +cxxgenerator_headers = + +# extra arguments for clang +extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s + +# what headers to parse +headers = %(cocosdir)s/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h + +hpp_headers = %(cocosdir)s/cocos/renderer/core/Core.h %(cocosdir)s/cocos/bindings/auto/jsb_gfx_auto.h + +replace_headers = + +# what classes to produce code for. You can use regular expressions here. When testing the regular +# expression, it will be enclosed in "^$", like this: "^Menu.*$". + +classes = DeviceAgent + +classes_need_extend = + +# what should we skip? in the format ClassName::[function function] +# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also +# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just +# add a single "*" as functions. See bellow for several examples. A special class name is "*", which +# will apply to all class names. This is a convenience wildcard to be able to skip similar named +# functions from all classes. + +skip = DeviceAgent::[copyBuffersToTexture initialize destroy resize acquire present doCreateCommandBuffer createFence createQueue createBuffer createTexture createSampler createShader createInputAssembler createRenderPass createFramebuffer createDescriptorSet createDescriptorSetLayout createPipelineLayout createPipelineState copyBuffersToTexture setMultithreaded getSurfaceTransform getWidth getHeight getNativeWidth getNativeHeight getMemoryStatus getNumDrawCalls getNumInstances getNumTris getMessageQueue getMainAllocator] + +getter_setter = + +rename_functions = + +rename_classes = + +# for all class names, should we remove something when registering in the target VM? +remove_prefix = + +# classes for which there will be no "parent" lookup +classes_have_no_parents = + +# base classes which will be skipped when their sub-classes found them. +base_classes_to_skip = Agent Device + +# classes that create no constructor +# Set is special and we will use a hand-written constructor + +abstract_classes = + +persistent_classes = + +classes_owned_by_cpp = From 874ac84a427b48796304bcc6738de37cf4431112 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 5 Jan 2021 15:34:15 +0800 Subject: [PATCH 096/270] working device agent JSB binding --- native/CMakeLists.txt | 4 +- native/cocos/bindings/auto/jsb_gles2_auto.cpp | 43 ----------- native/cocos/bindings/auto/jsb_gles2_auto.h | 2 - native/cocos/bindings/auto/jsb_gles3_auto.cpp | 43 ----------- native/cocos/bindings/auto/jsb_gles3_auto.h | 2 - native/cocos/bindings/auto/jsb_mtl_auto.cpp | 16 ---- native/cocos/bindings/auto/jsb_mtl_auto.h | 1 - native/cocos/bindings/auto/jsb_vk_auto.cpp | 23 ------ native/cocos/bindings/auto/jsb_vk_auto.h | 1 - .../jsb_gfx_agent.cpp} | 6 +- .../jsb_gfx_agent.h} | 0 .../core/gfx-agent/GFXDeviceAgent.cpp | 12 ++- .../renderer/core/gfx-agent/GFXQueueAgent.h | 3 + native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 + native/tools/tojs/genbindings.py | 1 - native/tools/tojs/gfx-agent.ini | 73 ------------------- native/tools/tojs/gles2.ini | 2 +- native/tools/tojs/gles3.ini | 2 +- native/tools/tojs/metal.ini | 2 +- native/tools/tojs/vulkan.ini | 2 +- 20 files changed, 25 insertions(+), 215 deletions(-) rename native/cocos/bindings/{auto/jsb_gfx_agent_auto.cpp => manual/jsb_gfx_agent.cpp} (87%) rename native/cocos/bindings/{auto/jsb_gfx_agent_auto.h => manual/jsb_gfx_agent.h} (100%) delete mode 100644 native/tools/tojs/gfx-agent.ini diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index a25d61d2a0..79ad8c814d 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -907,8 +907,6 @@ cocos_source_files( cocos/bindings/auto/jsb_extension_auto.h cocos/bindings/auto/jsb_gfx_auto.cpp cocos/bindings/auto/jsb_gfx_auto.h - cocos/bindings/auto/jsb_gfx_agent_auto.cpp - cocos/bindings/auto/jsb_gfx_agent_auto.h cocos/bindings/auto/jsb_network_auto.cpp cocos/bindings/auto/jsb_network_auto.h cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -1234,6 +1232,8 @@ cocos_source_files( cocos/bindings/manual/jsb_conversions.h cocos/bindings/manual/jsb_gfx_manual.cpp cocos/bindings/manual/jsb_gfx_manual.h + cocos/bindings/manual/jsb_gfx_agent.cpp + cocos/bindings/manual/jsb_gfx_agent.h cocos/bindings/manual/jsb_global.cpp cocos/bindings/manual/jsb_global.h cocos/bindings/manual/jsb_helper.cpp diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.cpp b/native/cocos/bindings/auto/jsb_gles2_auto.cpp index 54a0b0ff83..eeda7bb766 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles2_auto.cpp @@ -13,47 +13,6 @@ se::Object* __jsb_cc_gfx_GLES2Device_proto = nullptr; se::Class* __jsb_cc_gfx_GLES2Device_class = nullptr; -static bool js_gles2_GLES2Device_checkExtension(se::State& s) -{ - cc::gfx::GLES2Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gles2_GLES2Device_checkExtension : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gles2_GLES2Device_checkExtension : Error processing arguments"); - bool result = cobj->checkExtension(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gles2_GLES2Device_checkExtension : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_gles2_GLES2Device_checkExtension) - -static bool js_gles2_GLES2Device_getThreadID(se::State& s) -{ - cc::gfx::GLES2Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gles2_GLES2Device_getThreadID : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getThreadID(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gles2_GLES2Device_getThreadID : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gles2_GLES2Device_getThreadID) - SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GLES2Device_finalize) static bool js_gles2_GLES2Device_constructor(se::State& s) // constructor.c @@ -86,8 +45,6 @@ bool js_register_gles2_GLES2Device(se::Object* obj) { auto cls = se::Class::create("GLES2Device", obj, __jsb_cc_gfx_Device_proto, _SE(js_gles2_GLES2Device_constructor)); - cls->defineFunction("checkExtension", _SE(js_gles2_GLES2Device_checkExtension)); - cls->defineFunction("getThreadID", _SE(js_gles2_GLES2Device_getThreadID)); cls->defineFinalizeFunction(_SE(js_cc_gfx_GLES2Device_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.h b/native/cocos/bindings/auto/jsb_gles2_auto.h index b5a1c46afd..bac7fe35d2 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.h +++ b/native/cocos/bindings/auto/jsb_gles2_auto.h @@ -12,7 +12,5 @@ bool js_register_cc_gfx_GLES2Device(se::Object* obj); bool register_all_gles2(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::GLES2Device); -SE_DECLARE_FUNC(js_gles2_GLES2Device_checkExtension); -SE_DECLARE_FUNC(js_gles2_GLES2Device_getThreadID); SE_DECLARE_FUNC(js_gles2_GLES2Device_GLES2Device); diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.cpp b/native/cocos/bindings/auto/jsb_gles3_auto.cpp index d6965f909f..6347404eff 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles3_auto.cpp @@ -13,47 +13,6 @@ se::Object* __jsb_cc_gfx_GLES3Device_proto = nullptr; se::Class* __jsb_cc_gfx_GLES3Device_class = nullptr; -static bool js_gles3_GLES3Device_checkExtension(se::State& s) -{ - cc::gfx::GLES3Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gles3_GLES3Device_checkExtension : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gles3_GLES3Device_checkExtension : Error processing arguments"); - bool result = cobj->checkExtension(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gles3_GLES3Device_checkExtension : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_gles3_GLES3Device_checkExtension) - -static bool js_gles3_GLES3Device_getThreadID(se::State& s) -{ - cc::gfx::GLES3Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gles3_GLES3Device_getThreadID : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getThreadID(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gles3_GLES3Device_getThreadID : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gles3_GLES3Device_getThreadID) - SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GLES3Device_finalize) static bool js_gles3_GLES3Device_constructor(se::State& s) // constructor.c @@ -86,8 +45,6 @@ bool js_register_gles3_GLES3Device(se::Object* obj) { auto cls = se::Class::create("GLES3Device", obj, __jsb_cc_gfx_Device_proto, _SE(js_gles3_GLES3Device_constructor)); - cls->defineFunction("checkExtension", _SE(js_gles3_GLES3Device_checkExtension)); - cls->defineFunction("getThreadID", _SE(js_gles3_GLES3Device_getThreadID)); cls->defineFinalizeFunction(_SE(js_cc_gfx_GLES3Device_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.h b/native/cocos/bindings/auto/jsb_gles3_auto.h index e2dafa53f8..be1e8d7569 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.h +++ b/native/cocos/bindings/auto/jsb_gles3_auto.h @@ -12,7 +12,5 @@ bool js_register_cc_gfx_GLES3Device(se::Object* obj); bool register_all_gles3(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::GLES3Device); -SE_DECLARE_FUNC(js_gles3_GLES3Device_checkExtension); -SE_DECLARE_FUNC(js_gles3_GLES3Device_getThreadID); SE_DECLARE_FUNC(js_gles3_GLES3Device_GLES3Device); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp index b76d366b0b..369fe2e0d0 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ b/native/cocos/bindings/auto/jsb_mtl_auto.cpp @@ -13,21 +13,6 @@ se::Object* __jsb_cc_gfx_CCMTLDevice_proto = nullptr; se::Class* __jsb_cc_gfx_CCMTLDevice_class = nullptr; -static bool js_mtl_CCMTLDevice_ensureAutoreleasePool(se::State& s) -{ - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_ensureAutoreleasePool : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->ensureAutoreleasePool(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_mtl_CCMTLDevice_ensureAutoreleasePool) - SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) static bool js_mtl_CCMTLDevice_constructor(se::State& s) // constructor.c @@ -60,7 +45,6 @@ bool js_register_mtl_CCMTLDevice(se::Object* obj) { auto cls = se::Class::create("CCMTLDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_mtl_CCMTLDevice_constructor)); - cls->defineFunction("ensureAutoreleasePool", _SE(js_mtl_CCMTLDevice_ensureAutoreleasePool)); cls->defineFinalizeFunction(_SE(js_cc_gfx_CCMTLDevice_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index 7d7cba1b78..d7cd9b191c 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -12,6 +12,5 @@ bool js_register_cc_gfx_CCMTLDevice(se::Object* obj); bool register_all_mtl(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCMTLDevice); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_ensureAutoreleasePool); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_CCMTLDevice); diff --git a/native/cocos/bindings/auto/jsb_vk_auto.cpp b/native/cocos/bindings/auto/jsb_vk_auto.cpp index 9d723e393f..6c6f0b807f 100644 --- a/native/cocos/bindings/auto/jsb_vk_auto.cpp +++ b/native/cocos/bindings/auto/jsb_vk_auto.cpp @@ -13,28 +13,6 @@ se::Object* __jsb_cc_gfx_CCVKDevice_proto = nullptr; se::Class* __jsb_cc_gfx_CCVKDevice_class = nullptr; -static bool js_vk_CCVKDevice_checkExtension(se::State& s) -{ - cc::gfx::CCVKDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_vk_CCVKDevice_checkExtension : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_vk_CCVKDevice_checkExtension : Error processing arguments"); - bool result = cobj->checkExtension(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_vk_CCVKDevice_checkExtension : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_vk_CCVKDevice_checkExtension) - SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCVKDevice_finalize) static bool js_vk_CCVKDevice_constructor(se::State& s) // constructor.c @@ -67,7 +45,6 @@ bool js_register_vk_CCVKDevice(se::Object* obj) { auto cls = se::Class::create("CCVKDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_vk_CCVKDevice_constructor)); - cls->defineFunction("checkExtension", _SE(js_vk_CCVKDevice_checkExtension)); cls->defineFinalizeFunction(_SE(js_cc_gfx_CCVKDevice_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_vk_auto.h b/native/cocos/bindings/auto/jsb_vk_auto.h index c85af8e604..d78177462a 100644 --- a/native/cocos/bindings/auto/jsb_vk_auto.h +++ b/native/cocos/bindings/auto/jsb_vk_auto.h @@ -12,6 +12,5 @@ bool js_register_cc_gfx_CCVKDevice(se::Object* obj); bool register_all_vk(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCVKDevice); -SE_DECLARE_FUNC(js_vk_CCVKDevice_checkExtension); SE_DECLARE_FUNC(js_vk_CCVKDevice_CCVKDevice); diff --git a/native/cocos/bindings/auto/jsb_gfx_agent_auto.cpp b/native/cocos/bindings/manual/jsb_gfx_agent.cpp similarity index 87% rename from native/cocos/bindings/auto/jsb_gfx_agent_auto.cpp rename to native/cocos/bindings/manual/jsb_gfx_agent.cpp index 36994a1015..6985d9cfbb 100644 --- a/native/cocos/bindings/auto/jsb_gfx_agent_auto.cpp +++ b/native/cocos/bindings/manual/jsb_gfx_agent.cpp @@ -1,4 +1,4 @@ -#include "cocos/bindings/auto/jsb_gfx_agent_auto.h" +#include "cocos/bindings/manual/jsb_gfx_agent.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" #include "renderer/core/gfx-agent/GFXDeviceAgent.h" @@ -24,6 +24,7 @@ static bool js_gfx_agent_DeviceAgent_constructor(se::State& s) // constructor.c SE_PRECONDITION2(ok, false, "js_gfx_agent_DeviceAgent_constructor : Error processing arguments"); cc::gfx::DeviceAgent* cobj = JSB_ALLOC(cc::gfx::DeviceAgent, arg0); s.thisObject()->setPrivateData(cobj); + args[0].toObject()->clearPrivateData(true); // actor device is now under agent's full control (unique_ptr) se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); return true; } @@ -40,7 +41,8 @@ static bool js_cc_gfx_DeviceAgent_finalize(se::State& s) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); cc::gfx::DeviceAgent* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); + // device destruction should happen after all resources which we have no way to control through JS object lifecycles + //JSB_FREE(cobj); // so just skip it here and do it manually } return true; } diff --git a/native/cocos/bindings/auto/jsb_gfx_agent_auto.h b/native/cocos/bindings/manual/jsb_gfx_agent.h similarity index 100% rename from native/cocos/bindings/auto/jsb_gfx_agent_auto.h rename to native/cocos/bindings/manual/jsb_gfx_agent.h diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 09c9493ad3..d483d60c0d 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -92,8 +92,16 @@ void DeviceAgent::destroy() { }); ((CommandBufferAgent *)_cmdBuff)->destroyMessageQueue(); - CC_SAFE_DELETE(_cmdBuff); - CC_SAFE_DELETE(_queue); + if (_cmdBuff) { + ((CommandBufferAgent *)_cmdBuff)->_actor = nullptr; + CC_DELETE(_cmdBuff); + _cmdBuff = nullptr; + } + if (_queue) { + ((QueueAgent *)_queue)->_actor = nullptr; + CC_DELETE(_queue); + _queue = nullptr; + } _mainEncoder->terminateConsumerThread(); CC_SAFE_DELETE(_mainEncoder); diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h index 25cf5458e2..7b4c59598e 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h @@ -18,6 +18,9 @@ public: void destroy() override; void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) override; + +private: + friend class DeviceAgent; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index e5fee82745..3e6fd69c8b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -35,6 +35,8 @@ CCVKDevice::CCVKDevice() { } CCVKDevice::~CCVKDevice() { + int i = 1; + i++; } CCVKGPUContext *CCVKDevice::gpuContext() const { diff --git a/native/tools/tojs/genbindings.py b/native/tools/tojs/genbindings.py index 4ef2942f88..107d113425 100755 --- a/native/tools/tojs/genbindings.py +++ b/native/tools/tojs/genbindings.py @@ -151,7 +151,6 @@ def main(): 'extension.ini' : ('extension', 'jsb_extension_auto'), 'network.ini' : ('network', 'jsb_network_auto'), 'gfx.ini': ('gfx', 'jsb_gfx_auto'), - # 'gfx-agent.ini': ('gfx-agent', 'jsb_gfx_agent_auto'), # CRTP not supported, turned to manual 'gles2.ini': ('gles2', 'jsb_gles2_auto'), 'gles3.ini': ('gles3', 'jsb_gles3_auto'), 'metal.ini': ('metal', 'jsb_mtl_auto'), diff --git a/native/tools/tojs/gfx-agent.ini b/native/tools/tojs/gfx-agent.ini deleted file mode 100644 index dc1c5702f8..0000000000 --- a/native/tools/tojs/gfx-agent.ini +++ /dev/null @@ -1,73 +0,0 @@ -[gfx-agent] -# the prefix to be added to the generated functions. You might or might not use this in your own -# templates -prefix = gfx_agent - -# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) -# all classes will be embedded in that namespace -target_namespace = gfx - -macro_judgement = - -android_headers = - -android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DANDROID -D__ANDROID_API__=14 -gcc-toolchain %(gcc_toolchain_dir)s --sysroot=%(androidndkdir)s/platforms/android-14/arch-arm -idirafter %(androidndkdir)s/sources/android/support/include -idirafter %(androidndkdir)s/sysroot/usr/include -idirafter %(androidndkdir)s/sysroot/usr/include/arm-linux-androideabi -idirafter %(clangllvmdir)s/lib64/clang/5.0/include -I%(androidndkdir)s/sources/cxx-stl/llvm-libc++/include - -clang_headers = -clang_flags = -nostdinc -x c++ -std=c++11 -fsigned-char -U__SSE__ - -cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s/cocos/renderer/core -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/sources -include %(cocosdir)s/cocos/renderer/core/Core.h -cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 - - -cxxgenerator_headers = - -# extra arguments for clang -extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s - -# what headers to parse -headers = %(cocosdir)s/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h - -hpp_headers = %(cocosdir)s/cocos/renderer/core/Core.h %(cocosdir)s/cocos/bindings/auto/jsb_gfx_auto.h - -replace_headers = - -# what classes to produce code for. You can use regular expressions here. When testing the regular -# expression, it will be enclosed in "^$", like this: "^Menu.*$". - -classes = DeviceAgent - -classes_need_extend = - -# what should we skip? in the format ClassName::[function function] -# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also -# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just -# add a single "*" as functions. See bellow for several examples. A special class name is "*", which -# will apply to all class names. This is a convenience wildcard to be able to skip similar named -# functions from all classes. - -skip = DeviceAgent::[copyBuffersToTexture initialize destroy resize acquire present doCreateCommandBuffer createFence createQueue createBuffer createTexture createSampler createShader createInputAssembler createRenderPass createFramebuffer createDescriptorSet createDescriptorSetLayout createPipelineLayout createPipelineState copyBuffersToTexture setMultithreaded getSurfaceTransform getWidth getHeight getNativeWidth getNativeHeight getMemoryStatus getNumDrawCalls getNumInstances getNumTris getMessageQueue getMainAllocator] - -getter_setter = - -rename_functions = - -rename_classes = - -# for all class names, should we remove something when registering in the target VM? -remove_prefix = - -# classes for which there will be no "parent" lookup -classes_have_no_parents = - -# base classes which will be skipped when their sub-classes found them. -base_classes_to_skip = Agent Device - -# classes that create no constructor -# Set is special and we will use a hand-written constructor - -abstract_classes = - -persistent_classes = - -classes_owned_by_cpp = diff --git a/native/tools/tojs/gles2.ini b/native/tools/tojs/gles2.ini index b4e8b61ab8..6b93483eba 100644 --- a/native/tools/tojs/gles2.ini +++ b/native/tools/tojs/gles2.ini @@ -44,7 +44,7 @@ classes_need_extend = # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = GLES2Device::[copyBuffersToTexture stateCache cmdAllocator stagingBufferPool useVAO useDrawInstanced useInstancedArrays useDiscardFramebuffer] +skip = GLES2Device::[copyBuffersToTexture stateCache cmdAllocator stagingBufferPool useVAO useDrawInstanced useInstancedArrays useDiscardFramebuffer checkExtension getThreadID] getter_setter = diff --git a/native/tools/tojs/gles3.ini b/native/tools/tojs/gles3.ini index bc8d9edafe..075ea779de 100644 --- a/native/tools/tojs/gles3.ini +++ b/native/tools/tojs/gles3.ini @@ -44,7 +44,7 @@ classes_need_extend = # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = GLES3Device::[copyBuffersToTexture stateCache cmdAllocator stagingBufferPool] +skip = GLES3Device::[copyBuffersToTexture stateCache cmdAllocator stagingBufferPool checkExtension getThreadID] getter_setter = diff --git a/native/tools/tojs/metal.ini b/native/tools/tojs/metal.ini index c27ccd016d..fab3adbeb5 100644 --- a/native/tools/tojs/metal.ini +++ b/native/tools/tojs/metal.ini @@ -44,7 +44,7 @@ classes_need_extend = # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = CCMTLDevice::[copyBuffersToTexture cmdAllocator gpuStagingBufferPool getMTLCommandQueue getMTKView getMTLDevice getMaximumSamplerUnits getMaximumColorRenderTargets getMaximumBufferBindingIndex isIndirectCommandBufferSupported isIndirectDrawSupported gpuStagingBufferPool isSamplerDescriptorCompareFunctionSupported getInFlightSemaphore] +skip = CCMTLDevice::[copyBuffersToTexture cmdAllocator gpuStagingBufferPool getMTLCommandQueue getMTKView getMTLDevice getMaximumSamplerUnits getMaximumColorRenderTargets getMaximumBufferBindingIndex isIndirectCommandBufferSupported isIndirectDrawSupported gpuStagingBufferPool isSamplerDescriptorCompareFunctionSupported getInFlightSemaphore ensureAutoreleasePool] getter_setter = diff --git a/native/tools/tojs/vulkan.ini b/native/tools/tojs/vulkan.ini index 6d685f786d..1b12c37d30 100644 --- a/native/tools/tojs/vulkan.ini +++ b/native/tools/tojs/vulkan.ini @@ -44,7 +44,7 @@ classes_need_extend = # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = CCVKDevice::[copyBuffersToTexture gpuContext gpuDevice gpuSwapchain gpuBufferHub gpuTransportHub gpuDescriptorHub gpuSemaphorePool gpuDescriptorSetHub gpuFencePool gpuRecycleBin gpuStagingBufferPool] +skip = CCVKDevice::[copyBuffersToTexture gpuContext gpuDevice gpuSwapchain gpuBufferHub gpuTransportHub gpuDescriptorHub gpuSemaphorePool gpuDescriptorSetHub gpuFencePool gpuRecycleBin gpuStagingBufferPool checkExtension] getter_setter = From 1a881d68e8c99a56c7398f7af025f0192683ce44 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 6 Jan 2021 10:37:09 +0800 Subject: [PATCH 097/270] fix android build --- native/cocos/bindings/manual/jsb_gfx_agent.h | 10 +++++----- .../bindings/manual/jsb_module_register.cpp | 2 ++ .../renderer/core/gfx-agent/GFXDeviceAgent.cpp | 2 ++ native/cocos/renderer/gfx-metal/MTLBuffer.h | 1 - native/cocos/renderer/gfx-metal/MTLBuffer.mm | 6 ++---- .../cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 1 + native/cocos/renderer/gfx-metal/MTLDevice.mm | 1 + .../renderer/gfx-metal/MTLRenderCommandEncoder.h | 2 +- native/cocos/renderer/gfx-vulkan/VKContext.cpp | 16 +++++++++------- 9 files changed, 23 insertions(+), 18 deletions(-) diff --git a/native/cocos/bindings/manual/jsb_gfx_agent.h b/native/cocos/bindings/manual/jsb_gfx_agent.h index d021371a26..1da6da14d1 100644 --- a/native/cocos/bindings/manual/jsb_gfx_agent.h +++ b/native/cocos/bindings/manual/jsb_gfx_agent.h @@ -1,11 +1,11 @@ #pragma once #include "base/Config.h" #include -#include "cocos/bindings/jswrapper/SeApi.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "D:\workspace\editor-3d-2\resources\3d\cocos2d-x-lite/cocos/renderer/core/Core.h" -#include "D:\workspace\editor-3d-2\resources\3d\cocos2d-x-lite/cocos/bindings/auto/jsb_gfx_auto.h" -#include "cocos/renderer/core/gfx-agent/GFXDeviceAgent.h" +#include "bindings/jswrapper/SeApi.h" +#include "bindings/manual/jsb_conversions.h" +#include "renderer/core/Core.h" +#include "bindings/auto/jsb_gfx_auto.h" +#include "renderer/core/gfx-agent/GFXDeviceAgent.h" extern se::Object* __jsb_cc_gfx_DeviceAgent_proto; extern se::Class* __jsb_cc_gfx_DeviceAgent_class; diff --git a/native/cocos/bindings/manual/jsb_module_register.cpp b/native/cocos/bindings/manual/jsb_module_register.cpp index b6411c16c5..d5fdba3b85 100644 --- a/native/cocos/bindings/manual/jsb_module_register.cpp +++ b/native/cocos/bindings/manual/jsb_module_register.cpp @@ -40,6 +40,7 @@ #include "cocos/bindings/manual/jsb_network_manual.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_gfx_manual.h" +#include "cocos/bindings/manual/jsb_gfx_agent.h" #include "cocos/bindings/manual/jsb_global.h" #include "cocos/bindings/manual/jsb_platform.h" #include "cocos/bindings/manual/jsb_xmlhttprequest.h" @@ -117,6 +118,7 @@ bool jsb_register_all_modules() { se->addRegisterCallback(register_platform_bindings); se->addRegisterCallback(register_all_gfx); se->addRegisterCallback(register_all_gfx_manual); + se->addRegisterCallback(register_all_gfx_agent); se->addRegisterCallback(register_all_network); se->addRegisterCallback(register_all_network_manual); diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index d483d60c0d..72c13a9b97 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -171,6 +171,7 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { actor, _actor, { actor->bindDeviceContext(true); + CC_LOG_INFO("Device thread detached."); }); } else { ENQUEUE_MESSAGE_1( @@ -182,6 +183,7 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { _mainEncoder->finishWriting(true); // wait till finished _mainEncoder->setImmediateMode(true); _actor->bindRenderContext(true); + CC_LOG_INFO("Device thread joined."); } } diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index 8b43286b20..b6974f7cef 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -66,7 +66,6 @@ private: bool _isIndirectDrawSupported = false; uint _bufferViewOffset = 0; - bool _isDrawIndirectByIndex = false; std::vector _indexedPrimitivesIndirectArguments; std::vector _primitiveIndirectArguments; DrawInfoList _drawInfos; diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index ca6ffdaeea..a64cae16e6 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -82,7 +82,7 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) else if (_usage & BufferUsageBit::INDIRECT) { _drawInfos.resize(_count); - if (_indirectDrawSupported) + if (_isIndirectDrawSupported) { createMTLBuffer(_size, _memUsage); _primitiveIndirectArguments.resize(_count); @@ -174,7 +174,7 @@ void CCMTLBuffer::resize(uint size) if (_usage & BufferUsageBit::INDIRECT) { _drawInfos.resize(_count); - if (_indirectDrawSupported) + if (_isIndirectDrawSupported) { createMTLBuffer(size, _memUsage); _primitiveIndirectArguments.resize(_count); @@ -257,7 +257,6 @@ void CCMTLBuffer::update(void *buffer, uint size) { } updateMTLBuffer(_primitiveIndirectArguments.data(), 0, drawInfoCount * stride); } - memcpy(static_cast(_mtlBuffer.contents), arguments.data(), drawInfoCount * sizeof(MTLDrawPrimitivesIndirectArguments)); } } else @@ -267,7 +266,6 @@ void CCMTLBuffer::update(void *buffer, uint size) { } else { updateMTLBuffer(buffer, 0, size); } -} if (_mtlBuffer) { diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 6299b0f579..ad85d583a5 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -126,6 +126,7 @@ void CCMTLCommandBuffer::end() { // Secondary command buffer should end encoding here _commandEncoder.endEncoding(); } +} bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { const int num = renderPass->getColorRenderTargetNums(); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index ba930fe18c..45fe166330 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -178,6 +178,7 @@ void CCMTLDevice::destroy() { if (_memoryAlarmListenerId != 0) { EventDispatcher::removeCustomEventListener(EVENT_MEMORY_WARNING, _memoryAlarmListenerId); _memoryAlarmListenerId = 0; + } if (_autoreleasePool) { [(NSAutoreleasePool*)_autoreleasePool drain]; _autoreleasePool = nullptr; diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index 59fd1bd6fd..777f4c1ced 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -216,7 +216,7 @@ public: CC_INLINE void setVertexBuffer(const id buffer, uint offset, uint index) { - if (_vertexBufferMap.count(index) > 0 && (buffer == _vertexBufferMap[index])) + if (_vertexBufferMap.count(index) > 0 && (buffer == _vertexBufferMap[index].buffer && offset == _vertexBufferMap[index].offset)) return; _vertexBufferMap[index] = {buffer, offset}; diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 82f277a06d..1f4102bbae 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -285,19 +285,21 @@ bool CCVKContext::initialize(const ContextInfo &info) { surfaceCreateInfo.window = (ANativeWindow *)_windowHandle; VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); - EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [this](const CustomEvent &) -> void { + EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [this](const CustomEvent &event) -> void { if (_gpuContext && _gpuContext->vkSurface != VK_NULL_HANDLE) { + CCVKDevice *device = (CCVKDevice *)_device; + CCVKQueue *queue = (CCVKQueue *)_device->getQueue(); - uint fenceCount = _device->gpuFencePool()->size(); + uint fenceCount = device->gpuFencePool()->size(); if (fenceCount) { - VK_CHECK(vkWaitForFences(_device->gpuDevice()->vkDevice, fenceCount, - _device->gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); + VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, fenceCount, + device->gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); } - _device->destroySwapchain(); - _device->_swapchainReady = false; + device->destroySwapchain(); + device->_swapchainReady = false; vkDestroySurfaceKHR(_gpuContext->vkInstance, _gpuContext->vkSurface, nullptr); _gpuContext->vkSurface = VK_NULL_HANDLE; @@ -314,7 +316,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); - _device->checkSwapchainStatus(); + ((CCVKDevice *)_device)->checkSwapchainStatus(); } }); #elif defined(VK_USE_PLATFORM_WIN32_KHR) From 437bc47c03eca4700d35bacf425f6418cf22be1c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 6 Jan 2021 11:31:08 +0800 Subject: [PATCH 098/270] restore 3d-gfx metal --- native/cocos/renderer/gfx-metal/MTLBuffer.h | 3 +- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 120 +++----- .../renderer/gfx-metal/MTLCommandBuffer.h | 7 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 265 ++++-------------- native/cocos/renderer/gfx-metal/MTLConfig.h | 1 - .../renderer/gfx-metal/MTLDescriptorSet.mm | 4 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 4 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 21 +- .../gfx-metal/MTLRenderCommandEncoder.h | 100 +++---- .../gfx-metal/MTLRenderCommandEncoder.mm | 26 -- 10 files changed, 149 insertions(+), 402 deletions(-) delete mode 100644 native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index b6974f7cef..f39ddacd22 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -61,11 +61,10 @@ private: MTLIndexType _indexType = MTLIndexTypeUInt16; MTLResourceOptions _mtlResourceOptions = MTLResourceStorageModePrivate; NSMutableArray *_dynamicDataBuffers = nil; - bool _tripleEnabled = true; - bool _isDrawIndirectByIndex = false; bool _isIndirectDrawSupported = false; uint _bufferViewOffset = 0; + bool _isDrawIndirectByIndex = false; std::vector _indexedPrimitivesIndirectArguments; std::vector _primitiveIndirectArguments; DrawInfoList _drawInfos; diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index a64cae16e6..bc2c34d368 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -30,27 +30,26 @@ THE SOFTWARE. #include "MTLCommandBuffer.h" #include "MTLDevice.h" #include "MTLUtils.h" +#include "MTLRenderCommandEncoder.h" +#import namespace cc { namespace gfx { -CCMTLBuffer::CCMTLBuffer(Device *device) : Buffer(device) -{ +CCMTLBuffer::CCMTLBuffer(Device *device) : Buffer(device) { _mtlDevice = id(((CCMTLDevice *)_device)->getMTLDevice()); } -bool CCMTLBuffer::initialize(const BufferInfo &info) -{ +bool CCMTLBuffer::initialize(const BufferInfo &info) { _usage = info.usage; _memUsage = info.memUsage; _size = info.size; _stride = std::max(info.stride, 1U); _count = _size / _stride; _flags = info.flags; - if (_usage & BufferUsage::INDEX) - { - switch (_stride) - { + _isIndirectDrawSupported = static_cast(_device)->isIndirectDrawSupported(); + if (_usage & BufferUsage::INDEX) { + switch (_stride) { case 4: _indexType = MTLIndexTypeUInt32; break; case 2: _indexType = MTLIndexTypeUInt16; break; default: @@ -59,15 +58,11 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) } } - if ((_flags & BufferFlagBit::BAKUP_BUFFER) && _size > 0) - { + if ((_flags & BufferFlagBit::BAKUP_BUFFER) && _size > 0) { _buffer = (uint8_t *)CC_MALLOC(_size); if (_buffer) - { _device->getMemoryStatus().bufferSize += _size; - } - else - { + else { CC_LOG_ERROR("CCMTLBuffer: Failed to create backup buffer."); return false; } @@ -75,15 +70,10 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) if (_usage & BufferUsageBit::VERTEX || _usage & BufferUsageBit::UNIFORM || - _usage & BufferUsageBit::INDEX) - { + _usage & BufferUsageBit::INDEX) { createMTLBuffer(_size, _memUsage); - } - else if (_usage & BufferUsageBit::INDIRECT) - { - _drawInfos.resize(_count); - if (_isIndirectDrawSupported) - { + } else if (_usage & BufferUsageBit::INDIRECT) { + if (_isIndirectDrawSupported) { createMTLBuffer(_size, _memUsage); _primitiveIndirectArguments.resize(_count); _indexedPrimitivesIndirectArguments.resize(_count); @@ -95,25 +85,21 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) return true; } -bool CCMTLBuffer::initialize(const BufferViewInfo &info) -{ +bool CCMTLBuffer::initialize(const BufferViewInfo &info) { *this = *static_cast(info.buffer); _bufferViewOffset = info.offset; _isBufferView = true; return true; } -bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) -{ +bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) { _mtlResourceOptions = mu::toMTLResourseOption(usage); - if (_mtlBuffer) - { + if (_mtlBuffer) { [_mtlBuffer release]; } _mtlBuffer = [_mtlDevice newBufferWithLength:size options:_mtlResourceOptions]; - if (_mtlBuffer == nil) - { + if (_mtlBuffer == nil) { CCASSERT(false, "Failed to create MTLBuffer."); return false; } @@ -123,21 +109,17 @@ bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) return true; } -void CCMTLBuffer::destroy() -{ - if (_isBufferView) - { +void CCMTLBuffer::destroy() { + if (_isBufferView) { return; } - if (_mtlBuffer) - { + if (_mtlBuffer) { [_mtlBuffer release]; _mtlBuffer = nil; } - if (_buffer) - { + if (_buffer) { CC_FREE(_buffer); _device->getMemoryStatus().bufferSize -= _size; _buffer = nullptr; @@ -149,10 +131,8 @@ void CCMTLBuffer::destroy() _device->getMemoryStatus().bufferSize -= _size; } -void CCMTLBuffer::resize(uint size) -{ - if (_isBufferView) - { +void CCMTLBuffer::resize(uint size) { + if (_isBufferView) { CC_LOG_WARNING("Cannot resize a buffer view."); return; } @@ -162,8 +142,7 @@ void CCMTLBuffer::resize(uint size) if (_usage & BufferUsageBit::VERTEX || _usage & BufferUsageBit::INDEX || - _usage & BufferUsageBit::UNIFORM) - { + _usage & BufferUsageBit::UNIFORM) { createMTLBuffer(size, _memUsage); } @@ -171,11 +150,8 @@ void CCMTLBuffer::resize(uint size) _size = size; _count = _size / _stride; resizeBuffer(&_buffer, _size, oldSize); - if (_usage & BufferUsageBit::INDIRECT) - { - _drawInfos.resize(_count); - if (_isIndirectDrawSupported) - { + if (_usage & BufferUsageBit::INDIRECT) { + if (_isIndirectDrawSupported) { createMTLBuffer(size, _memUsage); _primitiveIndirectArguments.resize(_count); _indexedPrimitivesIndirectArguments.resize(_count); @@ -192,14 +168,11 @@ void CCMTLBuffer::resizeBuffer(uint8_t **buffer, uint size, uint oldSize) { MemoryStatus &status = _device->getMemoryStatus(); const uint8_t *oldBuffer = *buffer; uint8_t *temp = (uint8_t *)CC_MALLOC(size); - if (temp) - { + if (temp) { memcpy(temp, oldBuffer, std::min(oldSize, size)); *buffer = temp; status.bufferSize += size; - } - else - { + } else { CC_LOG_ERROR("Failed to resize buffer."); return; } @@ -217,22 +190,17 @@ void CCMTLBuffer::update(void *buffer, uint size) { if (_buffer) memcpy(_buffer, buffer, size); - if (_usage & BufferUsageBit::INDIRECT) - { - if (_isIndirectDrawSupported) - { + if (_usage & BufferUsageBit::INDIRECT) { + if (_isIndirectDrawSupported) { uint drawInfoCount = size / _stride; const DrawInfo *drawInfo = static_cast(buffer); - if (drawInfoCount > 0) - { - if (drawInfo->indexCount) - { + if (drawInfoCount > 0) { + if (drawInfo->indexCount) { _isDrawIndirectByIndex = true; uint stride = sizeof(MTLDrawIndexedPrimitivesIndirectArguments); - for (uint i = 0; i < drawInfoCount; ++i) - { + for (uint i = 0; i < drawInfoCount; ++i) { auto &arguments = _indexedPrimitivesIndirectArguments[i]; arguments.indexCount = drawInfo->indexCount; arguments.instanceCount = std::max(drawInfo->instanceCount, 1u); @@ -246,8 +214,7 @@ void CCMTLBuffer::update(void *buffer, uint size) { _isDrawIndirectByIndex = false; uint stride = sizeof(MTLDrawIndexedPrimitivesIndirectArguments); - for (uint i = 0; i < drawInfoCount; ++i) - { + for (uint i = 0; i < drawInfoCount; ++i) { auto &arguments = _primitiveIndirectArguments[i]; arguments.vertexCount = drawInfo->vertexCount; arguments.instanceCount = std::max(drawInfo->instanceCount, 1u); @@ -258,17 +225,16 @@ void CCMTLBuffer::update(void *buffer, uint size) { updateMTLBuffer(_primitiveIndirectArguments.data(), 0, drawInfoCount * stride); } } - } - else - { + } else { memcpy(_drawInfos.data(), buffer, size); } } else { updateMTLBuffer(buffer, 0, size); } +} - if (_mtlBuffer) - { +void CCMTLBuffer::updateMTLBuffer(void *buffer, uint offset, uint size) { + if (_mtlBuffer) { CommandBuffer *cmdBuffer = _device->getCommandBuffer(); cmdBuffer->begin(); static_cast(cmdBuffer)->updateBuffer(this, buffer, size); @@ -279,20 +245,16 @@ void CCMTLBuffer::update(void *buffer, uint size) { } } -void CCMTLBuffer::encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages) -{ - if (_isBufferView) - { +void CCMTLBuffer::encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages) { + if (_isBufferView) { offset += _bufferViewOffset; } - if (stages & ShaderStageFlagBit::VERTEX) - { + if (stages & ShaderStageFlagBit::VERTEX) { encoder.setVertexBuffer(_mtlBuffer, offset, binding); } - if (stages & ShaderStageFlagBit::FRAGMENT) - { + if (stages & ShaderStageFlagBit::FRAGMENT) { encoder.setFragmentBuffer(_mtlBuffer, offset, binding); } } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index f46f1198e5..22183f4172 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -77,21 +77,20 @@ private: void bindDescriptorSets(); bool isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass); + CCMTLGPUPipelineState *_gpuPipelineState = nullptr; + vector _GPUDescriptorSets; vector> _dynamicOffsets; - uint _firstDirtyDescriptorSet = UINT_MAX; + bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; - bool _isSecondary = false; - NSAutoreleasePool *_autoreleasePool = nullptr; CCMTLDevice *_mtlDevice = nullptr; // id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; MTKView *_mtkView = nil; CCMTLRenderCommandEncoder _commandEncoder; - CCMTLGPUPipelineState *_gpuPipelineState = nullptr; CCMTLInputAssembler *_inputAssembler = nullptr; MTLIndexType _indexType = MTLIndexTypeUInt16; MTLPrimitiveType _mtlPrimitiveType = MTLPrimitiveType::MTLPrimitiveTypeTriangle; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index ad85d583a5..cc1334d061 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -51,66 +51,27 @@ CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) _indirectDrawSuppotred = _mtlDevice->isIndirectDrawSupported(); } -bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) -{ +bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) { _type = info.type; _queue = info.queue; return true; } -void CCMTLCommandBuffer::destroy() -{ - if (_autoreleasePool) - { - [_autoreleasePool release]; - _autoreleasePool = nullptr; - } -} - -id CCMTLCommandBuffer::getCurrentDrawable() -{ - if (!_currDrawable) - { - CAMetalLayer *layer = (CAMetalLayer*)_mtlDevice->getMTLLayer(); - _currDrawable = [[layer nextDrawable] retain]; - } - return _currDrawable; -} - -bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) -{ - const int num = renderPass->getColorRenderTargetNums(); - if (num == 0) - { - return true; - } - const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; - return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; +void CCMTLCommandBuffer::destroy() { } void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { if (_commandBufferBegan) return; - if (!_autoreleasePool) { - _mtlDevice->ensureAutoreleasePool(); - _autoreleasePool = [[NSAutoreleasePool alloc] init]; -// CC_LOG_INFO("%d CB POOL: %p ALLOCED for %p", [NSThread currentThread], _autoreleasePool, this); - } - - _isSecondary = renderPass != nullptr && _mtlCommandBuffer; - if (!_isSecondary) - { - // Sub command buffer for parallel shouldn't request any command buffer - _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; - [_mtlCommandBuffer enqueue]; - } + _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; + [_mtlCommandBuffer retain]; + [_mtlCommandBuffer enqueue]; _numTriangles = 0; _numDrawCalls = 0; _numInstances = 0; _GPUDescriptorSets.assign(_GPUDescriptorSets.size(), nullptr); - for (auto &dynamicOffset : _dynamicOffsets) - { + for (auto &dynamicOffset : _dynamicOffsets) { dynamicOffset.clear(); } _firstDirtyDescriptorSet = UINT_MAX; @@ -119,13 +80,8 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; - _commandBufferBegan = false; - if (_isSecondary) - { - // Secondary command buffer should end encoding here - _commandEncoder.endEncoding(); - } + _commandBufferBegan = false; } bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { @@ -133,31 +89,19 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL if (num == 0) { return true; } - if (_autoreleasePool) - { -// CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], _autoreleasePool, this); - [_autoreleasePool drain]; - _autoreleasePool = nullptr; - } + const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; + return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) -{ - // Sub CommandBuffer shouldn't call begin render pass - if (_isSecondary) - { - return; - } - +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { static_cast(renderPass)->setColorAttachment(0, _mtkView.currentDrawable.texture, 0); static_cast(renderPass)->setDepthStencilAttachment(_mtkView.depthStencilTexture, 0); } MTLRenderPassDescriptor *mtlRenderPassDescriptor = static_cast(renderPass)->getMTLRenderPassDescriptor(); - if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) - { - // Metal doesn't apply the viewports and scissors to renderpass load-action clearing. + if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) { + //Metal doesn't apply the viewports and scissors to renderpass load-action clearing. mu::clearRenderArea(_mtlDevice, _mtlCommandBuffer, renderPass, renderArea, colors, depth, stencil); } else { const auto &colorAttachments = renderPass->getColorAttachments(); @@ -171,71 +115,40 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb mtlRenderPassDescriptor.stencilAttachment.clearStencil = stencil; } - if (count > 0) - { - _parallelEncoder = [[_mtlCommandBuffer parallelRenderCommandEncoderWithDescriptor:mtlRenderPassDescriptor] retain]; - // Create command encoders from parallel encoder and assign to command buffers - for (uint i = 0u; i < count; ++i) - { - CCMTLCommandBuffer *cmdBuff = (CCMTLCommandBuffer *)cmdBuffs[i]; - cmdBuff->_commandEncoder.initialize(_parallelEncoder); - cmdBuff->_mtlCommandBuffer = _mtlCommandBuffer; - } - } - else - { - _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); - } + _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); _commandEncoder.setViewport(renderArea); _commandEncoder.setScissor(renderArea); } -void CCMTLCommandBuffer::endRenderPass() -{ - if (_parallelEncoder) - { - [_parallelEncoder endEncoding]; - [_parallelEncoder release]; - _parallelEncoder = nil; - } - else - { - _commandEncoder.endEncoding(); - } +void CCMTLCommandBuffer::endRenderPass() { + _commandEncoder.endEncoding(); } void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) { _gpuPipelineState = static_cast(pso)->getGPUPipelineState(); _mtlPrimitiveType = _gpuPipelineState->primitiveType; -#ifndef TARGET_OS_SIMULATOR - if (@available(iOS 11.0, macOS 10.11)) - { - [_mtlEncoder setDepthClipMode:_gpuPipelineState->depthClipMode]; - } -#endif - [_mtlEncoder setTriangleFillMode:_gpuPipelineState->fillMode]; - [_mtlEncoder setRenderPipelineState:_gpuPipelineState->mtlRenderPipelineState]; + _commandEncoder.setCullMode(_gpuPipelineState->cullMode); + _commandEncoder.setFrontFacingWinding(_gpuPipelineState->winding); + _commandEncoder.setDepthClipMode(_gpuPipelineState->depthClipMode); + _commandEncoder.setTriangleFillMode(_gpuPipelineState->fillMode); + _commandEncoder.setRenderPipelineState(_gpuPipelineState->mtlRenderPipelineState); - if (_gpuPipelineState->mtlDepthStencilState) - { + if (_gpuPipelineState->mtlDepthStencilState) { _commandEncoder.setStencilFrontBackReferenceValue(_gpuPipelineState->stencilRefFront, _gpuPipelineState->stencilRefBack); _commandEncoder.setDepthStencilState(_gpuPipelineState->mtlDepthStencilState); } } -void CCMTLCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) -{ +void CCMTLCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { CCASSERT(set < _GPUDescriptorSets.size(), "Invalid set index"); - if (dynamicOffsetCount) - { + if (dynamicOffsetCount) { _dynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } auto gpuDescriptorSet = static_cast(descriptorSet)->gpuDescriptorSet(); - if (_GPUDescriptorSets[set] != gpuDescriptorSet) - { + if (_GPUDescriptorSets[set] != gpuDescriptorSet) { _GPUDescriptorSets[set] = gpuDescriptorSet; if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } @@ -244,28 +157,14 @@ void CCMTLCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe void CCMTLCommandBuffer::bindInputAssembler(InputAssembler *ia) { if (ia) { _inputAssembler = static_cast(ia); - if (_inputAssembler->getIndexBuffer()) - { - _gpuIndexBuffer.mtlBuffer = static_cast(_inputAssembler->getIndexBuffer())->getMTLBuffer(); - _gpuIndexBuffer.stride = _inputAssembler->getIndexBuffer()->getStride(); - _indexType = static_cast(_inputAssembler->getIndexBuffer())->getIndexType(); - } - - if (_inputAssembler->getIndirectBuffer()) - { - _gpuIndirectBuffer.mtlBuffer = static_cast(_inputAssembler->getIndirectBuffer())->getMTLBuffer(); - _gpuIndirectBuffer.count = _inputAssembler->getIndirectBuffer()->getCount(); - } } } -void CCMTLCommandBuffer::setViewport(const Viewport &vp) -{ +void CCMTLCommandBuffer::setViewport(const Viewport &vp) { _commandEncoder.setViewport(vp); } -void CCMTLCommandBuffer::setScissor(const Rect &rect) -{ +void CCMTLCommandBuffer::setScissor(const Rect &rect) { _commandEncoder.setScissor(rect); } @@ -273,13 +172,11 @@ void CCMTLCommandBuffer::setLineWidth(const float width) { CC_LOG_WARNING("Metal doesn't support setting line width."); } -void CCMTLCommandBuffer::setDepthBias(float constant, float clamp, float slope) -{ +void CCMTLCommandBuffer::setDepthBias(float constant, float clamp, float slope) { _commandEncoder.setDepthBias(constant, clamp, slope); } -void CCMTLCommandBuffer::setBlendConstants(const Color &constants) -{ +void CCMTLCommandBuffer::setBlendConstants(const Color &constants) { _commandEncoder.setBlendColor(constants); } @@ -303,66 +200,43 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { const auto indirectBuffer = static_cast(ia->getIndirectBuffer()); const auto indexBuffer = static_cast(ia->getIndexBuffer()); auto mtlEncoder = _commandEncoder.getMTLEncoder(); - if (_type == CommandBufferType::PRIMARY || _type == CommandBufferType::SECONDARY) - { - if (indirectBuffer) - { - uint count = indirectBuffer->getCount(); - const auto &drawInfos = indirectBuffer->getDrawInfos(); - _numDrawCalls += count; - for (uint i = 0; i < count; ++i) - { - const auto &drawInfo = drawInfos[i]; - if (_type == CommandBufferType::PRIMARY || _type == CommandBufferType::SECONDARY) - { - if (indirectBuffer) - { + if (_type == CommandBufferType::PRIMARY) { + if (indirectBuffer) { const auto indirectMTLBuffer = indirectBuffer->getMTLBuffer(); - if (_indirectDrawSuppotred) - { + if (_indirectDrawSuppotred) { ++_numDrawCalls; - if (indirectBuffer->isDrawIndirectByIndex()) - { + if (indirectBuffer->isDrawIndirectByIndex()) { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexType:_indexType indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:0 indirectBuffer:indirectMTLBuffer indirectBufferOffset:0]; - } - else - { + } else { [mtlEncoder drawPrimitives:_mtlPrimitiveType indirectBuffer:indirectMTLBuffer indirectBufferOffset:0]; } - } - else - { + } else { uint stride = indirectBuffer->getStride(); uint offset = 0; uint drawInfoCount = indirectBuffer->getCount(); const auto &drawInfos = indirectBuffer->getDrawInfos(); _numDrawCalls += drawInfoCount; - for (uint i = 0; i < drawInfoCount; ++i) - { + for (uint i = 0; i < drawInfoCount; ++i) { const auto &drawInfo = drawInfos[i]; offset += drawInfo.firstIndex * stride; - if (indirectBuffer->isDrawIndirectByIndex()) - { - if (drawInfo.instanceCount == 0) - { + if (indirectBuffer->isDrawIndirectByIndex()) { + if (drawInfo.instanceCount == 0) { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexCount:drawInfo.indexCount indexType:_indexType indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:offset]; - } - else - { + } else { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexCount:drawInfo.indexCount indexType:_indexType @@ -370,17 +244,12 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { indexBufferOffset:offset instanceCount:drawInfo.instanceCount]; } - } - else - { - if (drawInfo.instanceCount == 0) - { + } else { + if (drawInfo.instanceCount == 0) { [mtlEncoder drawPrimitives:_mtlPrimitiveType vertexStart:drawInfo.firstIndex vertexCount:drawInfo.vertexCount]; - } - else - { + } else { [mtlEncoder drawPrimitives:_mtlPrimitiveType vertexStart:drawInfo.firstIndex vertexCount:drawInfo.vertexCount @@ -392,20 +261,16 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { } else { DrawInfo drawInfo; static_cast(ia)->extractDrawInfo(drawInfo); - if (drawInfo.indexCount > 0) - { + if (drawInfo.indexCount > 0) { uint offset = 0; offset += drawInfo.firstIndex * indexBuffer->getStride(); - if (drawInfo.instanceCount == 0) - { + if (drawInfo.instanceCount == 0) { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexCount:drawInfo.indexCount indexType:_indexType indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:offset]; - } - else - { + } else { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexCount:drawInfo.indexCount indexType:_indexType @@ -413,17 +278,12 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { indexBufferOffset:offset instanceCount:drawInfo.instanceCount]; } - } - else if (drawInfo.vertexCount) - { - if (drawInfo.instanceCount == 0) - { + } else if (drawInfo.vertexCount) { + if (drawInfo.instanceCount == 0) { [mtlEncoder drawPrimitives:_mtlPrimitiveType vertexStart:drawInfo.firstIndex vertexCount:drawInfo.vertexCount]; - } - else - { + } else { [mtlEncoder drawPrimitives:_mtlPrimitiveType vertexStart:drawInfo.firstIndex vertexCount:drawInfo.vertexCount @@ -495,12 +355,10 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex stagingRegion.sourceSize = {w, h, region.texExtent.depth}; stagingRegion.destinationSlice = region.texSubres.baseArrayLayer; stagingRegion.destinationLevel = region.texSubres.mipLevel; - stagingRegion.destinationOrigin = - { + stagingRegion.destinationOrigin = { static_cast(region.texOffset.x), static_cast(region.texOffset.y), - static_cast(region.texOffset.z) - }; + static_cast(region.texOffset.z)}; totalSize += stagingRegion.sourceBytesPerImage; } @@ -523,8 +381,7 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex bytesPerImage:bytesPerImage]; offset += stagingRegion.sourceBytesPerImage; - if (convertedData != buffers[i]) - { + if (convertedData != buffers[i]) { CC_FREE(convertedData); } } @@ -576,8 +433,8 @@ void CCMTLCommandBuffer::bindDescriptorSets() { } const auto &samplers = _gpuPipelineState->gpuShader->samplers; - for (const auto &iter : samplers) - { + auto mtlEncoder = _commandEncoder.getMTLEncoder(); + for (const auto &iter : samplers) { const auto &sampler = iter.second; const auto gpuDescriptorSet = _GPUDescriptorSets[sampler.set]; @@ -589,20 +446,14 @@ void CCMTLCommandBuffer::bindDescriptorSets() { continue; } - if (sampler.stages & ShaderStageFlagBit::VERTEX) - { - [_mtlEncoder setVertexTexture:gpuDescriptor.texture->getMTLTexture() - atIndex:sampler.textureBinding]; - [_mtlEncoder setVertexSamplerState:gpuDescriptor.sampler->getMTLSamplerState() - atIndex:sampler.samplerBinding]; + if (sampler.stages & ShaderStageFlagBit::VERTEX) { + _commandEncoder.setVertexTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); + _commandEncoder.setVertexSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); } - if (sampler.stages & ShaderStageFlagBit::FRAGMENT) - { - [_mtlEncoder setFragmentTexture:gpuDescriptor.texture->getMTLTexture() - atIndex:sampler.textureBinding]; - [_mtlEncoder setFragmentSamplerState:gpuDescriptor.sampler->getMTLSamplerState() - atIndex:sampler.samplerBinding]; + if (sampler.stages & ShaderStageFlagBit::FRAGMENT) { + _commandEncoder.setFragmentTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); + _commandEncoder.setFragmentSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); } } } diff --git a/native/cocos/renderer/gfx-metal/MTLConfig.h b/native/cocos/renderer/gfx-metal/MTLConfig.h index 361da57717..f2ab0bb9c5 100644 --- a/native/cocos/renderer/gfx-metal/MTLConfig.h +++ b/native/cocos/renderer/gfx-metal/MTLConfig.h @@ -24,4 +24,3 @@ THE SOFTWARE. #pragma once #define MAX_FRAMES_IN_FLIGHT 3 -#define MAX_COMMAND_BUFFER_COUNT 256 diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index 00dab04f11..cec98d58e2 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -49,9 +49,9 @@ bool CCMTLDescriptorSet::initialize(const DescriptorSetInfo &info) { _gpuDescriptorSet = CC_NEW(CCMTLGPUDescriptorSet); _gpuDescriptorSet->descriptorIndices = &gpuDescriptorSetLayout->descriptorIndices; _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount); - for (auto i = 0u, k = 0u; i < bindingCount; i++) { + for (auto i = 0, k = 0; i < bindingCount; i++) { const auto &binding = gpuDescriptorSetLayout->bindings[i]; - for (auto j = 0u; j < binding.count; j++, k++) { + for (auto j = 0; j < binding.count; j++, k++) { _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; } } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index f7d0970e4e..6b232a831c 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -70,8 +70,6 @@ public: CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } - virtual void ensureAutoreleasePool(); - protected: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; virtual Fence *createFence() override; @@ -89,10 +87,10 @@ protected: virtual PipelineState *createPipelineState() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; +private: void onMemoryWarning(); private: - void *_autoreleasePool = nullptr; void *_mtlCommandQueue = nullptr; void *_mtkView = nullptr; void *_mtlDevice = nullptr; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 45fe166330..f407a8a5eb 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -81,7 +81,7 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _mtkView = (MTKView *)_windowHandle; id mtlDevice = ((MTKView *)_mtkView).device; _mtlDevice = mtlDevice; - _mtlCommandQueue = [mtlDevice newCommandQueueWithMaxCommandBufferCount: MAX_COMMAND_BUFFER_COUNT]; + _mtlCommandQueue = [mtlDevice newCommandQueue]; _mtlFeatureSet = mu::highestSupportedFeatureSet(mtlDevice); const auto gpuFamily = mu::getGPUFamily(MTLFeatureSet(_mtlFeatureSet)); @@ -179,11 +179,6 @@ void CCMTLDevice::destroy() { EventDispatcher::removeCustomEventListener(EVENT_MEMORY_WARNING, _memoryAlarmListenerId); _memoryAlarmListenerId = 0; } - if (_autoreleasePool) { - [(NSAutoreleasePool*)_autoreleasePool drain]; - _autoreleasePool = nullptr; - } - CC_SAFE_DESTROY(_queue); CC_SAFE_DESTROY(_cmdBuff); CC_SAFE_DESTROY(_context); @@ -197,17 +192,9 @@ void CCMTLDevice::destroy() { void CCMTLDevice::resize(uint width, uint height) {} -void CCMTLDevice::ensureAutoreleasePool() { - if (!_autoreleasePool) { - _autoreleasePool = [[NSAutoreleasePool alloc] init]; -// CC_LOG_INFO("POOL: %p ALLOCED", _autoreleasePool); - } -} - void CCMTLDevice::acquire() { _inFlightSemaphore->wait(); - ensureAutoreleasePool(); // Clear queue stats CCMTLQueue *queue = static_cast(_queue); queue->_numDrawCalls = 0; @@ -234,12 +221,6 @@ void CCMTLDevice::present() { _inFlightSemaphore->signal(); }]; [mtlCommandBuffer commit]; - - if (_autoreleasePool) { -// CC_LOG_INFO("POOL: %p RELEASED", _autoreleasePool); - [(NSAutoreleasePool*)_autoreleasePool drain]; - _autoreleasePool = nullptr; - } } Fence *CCMTLDevice::createFence() { diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index 777f4c1ced..7c90ae3c15 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -37,15 +37,13 @@ namespace gfx { struct Color; -class CCMTLRenderCommandEncoder final -{ -public: - struct BufferBinding final - { +class CCMTLRenderCommandEncoder final { + struct BufferBinding final { id buffer; uint offset = 0; }; +public: CCMTLRenderCommandEncoder() = default; ~CCMTLRenderCommandEncoder() = default; CCMTLRenderCommandEncoder(const CCMTLRenderCommandEncoder &) = delete; @@ -53,12 +51,10 @@ public: CCMTLRenderCommandEncoder &operator=(const CCMTLRenderCommandEncoder &) = delete; CCMTLRenderCommandEncoder &operator=(CCMTLRenderCommandEncoder &&) = delete; - void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor); - void initialize(id parallelEncoder); - void endEncoding(); - - CC_INLINE void clearStates() - { + CC_INLINE void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) { + _mtlEncoder = [commandBuffer renderCommandEncoderWithDescriptor:descriptor]; + [_mtlEncoder retain]; + _isViewportSet = false; _isScissorRectSet = false; _isCullModeSet = false; @@ -82,14 +78,12 @@ public: _fragmentSamplerMap.clear(); } - CC_INLINE void setViewport(const Rect &rect) - { + CC_INLINE void setViewport(const Rect &rect) { Viewport viewport = {rect.x, rect.y, rect.width, rect.height}; setViewport(viewport); } - CC_INLINE void setViewport(const Viewport &vp) - { + CC_INLINE void setViewport(const Viewport &vp) { if (_isViewportSet && _viewport == vp) return; @@ -98,8 +92,7 @@ public: [_mtlEncoder setViewport:mu::toMTLViewport(_viewport)]; } - CC_INLINE void setScissor(const Rect &rect) - { + CC_INLINE void setScissor(const Rect &rect) { if (_isScissorRectSet && _scissorRect == rect) return; @@ -108,8 +101,7 @@ public: [_mtlEncoder setScissorRect:mu::toMTLScissorRect(_scissorRect)]; } - CC_INLINE void setCullMode(MTLCullMode mode) - { + CC_INLINE void setCullMode(MTLCullMode mode) { if (_isCullModeSet && (_cullMode == mode)) return; @@ -118,8 +110,7 @@ public: [_mtlEncoder setCullMode:mode]; } - CC_INLINE void setFrontFacingWinding(MTLWinding winding) - { + CC_INLINE void setFrontFacingWinding(MTLWinding winding) { if (_isFrontFacingWinding && (_frontFacingWinding == winding)) return; @@ -128,11 +119,9 @@ public: [_mtlEncoder setFrontFacingWinding:_frontFacingWinding]; } - CC_INLINE void setDepthClipMode(MTLDepthClipMode mode) - { + CC_INLINE void setDepthClipMode(MTLDepthClipMode mode) { #ifndef TARGET_OS_SIMULATOR - if (@available(iOS 11.0, macOS 10.11)) - { + if (@available(iOS 11.0, macOS 10.11)) { if (_isDepthClipModeSet && (_depthClipMode == mode)) return; @@ -143,8 +132,7 @@ public: #endif } - CC_INLINE void setTriangleFillMode(MTLTriangleFillMode mode) - { + CC_INLINE void setTriangleFillMode(MTLTriangleFillMode mode) { if (_isTriangleFillModeSet && (_triangleFillMode == mode)) return; @@ -153,8 +141,7 @@ public: [_mtlEncoder setTriangleFillMode:_triangleFillMode]; } - CC_INLINE void setRenderPipelineState(id pipelineState) - { + CC_INLINE void setRenderPipelineState(id pipelineState) { if (_pipelineState == pipelineState) return; @@ -162,8 +149,7 @@ public: _pipelineState = pipelineState; } - CC_INLINE void setStencilFrontBackReferenceValue(uint frontReferenceValue, uint backReferenceValue) - { + CC_INLINE void setStencilFrontBackReferenceValue(uint frontReferenceValue, uint backReferenceValue) { if (_frontReferenceValue == frontReferenceValue && _backReferenceValue == backReferenceValue) return; @@ -173,8 +159,7 @@ public: backReferenceValue:_backReferenceValue]; } - CC_INLINE void setDepthStencilState(id depthStencilState) - { + CC_INLINE void setDepthStencilState(id depthStencilState) { if (_depthStencilState == depthStencilState) return; @@ -182,13 +167,11 @@ public: _depthStencilState = depthStencilState; } - CC_INLINE void setDepthBias(float depthBias, float clamp, float slope) - { + CC_INLINE void setDepthBias(float depthBias, float clamp, float slope) { if (_isDepthBiasSet && math::IsEqualF(_depthBias, depthBias) && math::IsEqualF(_clamp, clamp) && - math::IsEqualF(_slope, slope)) - { + math::IsEqualF(_slope, slope)) { return; } @@ -201,8 +184,7 @@ public: clamp:_clamp]; } - CC_INLINE void setBlendColor(const Color &color) - { + CC_INLINE void setBlendColor(const Color &color) { if (_isBlendColorSet && _blendColor == color) return; @@ -214,10 +196,13 @@ public: alpha:_blendColor.w]; } - CC_INLINE void setVertexBuffer(const id buffer, uint offset, uint index) - { - if (_vertexBufferMap.count(index) > 0 && (buffer == _vertexBufferMap[index].buffer && offset == _vertexBufferMap[index].offset)) - return; + CC_INLINE void setVertexBuffer(const id buffer, uint offset, uint index) { + if (_vertexBufferMap.count(index) > 0) { + const auto &bufferBinding = _vertexBufferMap[index]; + if (buffer == bufferBinding.buffer && offset == bufferBinding.offset) { + return; + } + } _vertexBufferMap[index] = {buffer, offset}; [_mtlEncoder setVertexBuffer:buffer @@ -225,10 +210,8 @@ public: atIndex:index]; } - CC_INLINE void setFragmentBuffer(const id buffer, uint offset, uint index) - { - if (_fragmentBufferMap.count(index) > 0) - { + CC_INLINE void setFragmentBuffer(const id buffer, uint offset, uint index) { + if (_fragmentBufferMap.count(index) > 0) { const auto &bufferBinding = _fragmentBufferMap[index]; if (buffer == bufferBinding.buffer && offset == bufferBinding.offset) { return; @@ -241,8 +224,7 @@ public: atIndex:index]; } - void setVertexTexture(const id texture, uint index) - { + void setVertexTexture(const id texture, uint index) { if (_vertexTextureMap.count(index) > 0 && (texture == _vertexTextureMap[index])) return; @@ -250,8 +232,7 @@ public: [_mtlEncoder setVertexTexture:texture atIndex:index]; } - void setFragmentTexture(const id texture, uint index) - { + void setFragmentTexture(const id texture, uint index) { if (_fragmentTextureMap.count(index) > 0 && (texture == _fragmentTextureMap[index])) return; @@ -259,8 +240,7 @@ public: [_mtlEncoder setFragmentTexture:texture atIndex:index]; } - void setVertexSampler(const id sampler, uint index) - { + void setVertexSampler(const id sampler, uint index) { if (_vertexSamplerMap.count(index) > 0 && (sampler == _vertexSamplerMap[index])) return; @@ -268,8 +248,7 @@ public: [_mtlEncoder setVertexSamplerState:sampler atIndex:index]; } - void setFragmentSampler(const id sampler, uint index) - { + void setFragmentSampler(const id sampler, uint index) { if (_fragmentSamplerMap.count(index) > 0 && (sampler == _fragmentSamplerMap[index])) return; @@ -277,8 +256,13 @@ public: [_mtlEncoder setFragmentSamplerState:sampler atIndex:index]; } - CC_INLINE id const getMTLEncoder() - { + CC_INLINE void endEncoding() { + [_mtlEncoder endEncoding]; + [_mtlEncoder release]; + _mtlEncoder = nil; + } + + CC_INLINE id const getMTLEncoder() { return _mtlEncoder; } @@ -301,7 +285,7 @@ private: float _slope = 0.f; MTLCullMode _cullMode = MTLCullModeNone; MTLWinding _frontFacingWinding = MTLWindingClockwise; - CC_UNUSED MTLDepthClipMode _depthClipMode = MTLDepthClipModeClip; + MTLDepthClipMode _depthClipMode = MTLDepthClipModeClip; MTLTriangleFillMode _triangleFillMode = MTLTriangleFillModeFill; Viewport _viewport; Rect _scissorRect; diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm deleted file mode 100644 index 0a1b11b9b9..0000000000 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.mm +++ /dev/null @@ -1,26 +0,0 @@ -#include "MTLRenderCommandEncoder.h" -#include "MTLStd.h" - -namespace cc { -namespace gfx { - -void CCMTLRenderCommandEncoder::initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) -{ - _mtlEncoder = [[commandBuffer renderCommandEncoderWithDescriptor:descriptor] retain]; - clearStates(); -} - -void CCMTLRenderCommandEncoder::initialize(id parallelEncoder) -{ - _mtlEncoder = [[parallelEncoder renderCommandEncoder] retain]; - clearStates(); -} - -void CCMTLRenderCommandEncoder::endEncoding() -{ - [_mtlEncoder endEncoding]; - [_mtlEncoder release]; - _mtlEncoder = nil; -} -} // namespace gfx -} // namespace cc From f267aad9aaa02706f23be1bce6b52ebf536a4b6b Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 6 Jan 2021 17:09:35 +0800 Subject: [PATCH 099/270] not working: synced secondary recording --- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 343 +++--------------- .../core/gfx-agent/GFXCommandBufferAgent.h | 18 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 13 +- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 2 +- .../GFXPrimaryCommandBufferAgent.cpp | 343 ++++++++++++++++++ .../gfx-agent/GFXPrimaryCommandBufferAgent.h | 46 +++ .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 2 - .../renderer/core/gfx/GFXCommandBuffer.h | 10 +- native/cocos/renderer/core/gfx/GFXDevice.h | 4 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 2 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 4 +- native/cocos/renderer/gfx-gles2/GLES2Device.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 4 +- native/cocos/renderer/gfx-gles3/GLES3Device.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 3 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 2 +- 26 files changed, 465 insertions(+), 355 deletions(-) create mode 100644 native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.cpp create mode 100644 native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.h diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 6d998c2176..c505e8fecb 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -1,7 +1,5 @@ #include "CoreStd.h" -#include "base/job-system/JobSystem.h" -#include "base/threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" #include "GFXDescriptorSetAgent.h" @@ -13,394 +11,137 @@ #include "GFXQueueAgent.h" #include "GFXRenderPassAgent.h" #include "GFXTextureAgent.h" +#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { -void CommandBufferAgent::flushCommands(CommandBufferAgent *const *cmdBuffs, uint count, bool multiThreaded) { - if (count > 1) { - if (multiThreaded) { - JobGraph g(JobSystem::getInstance()); - uint job = g.createForEachIndexJob(1u, count, 1u, [cmdBuffs](uint i) { - cmdBuffs[i]->getMessageQueue()->flushMessages(); - }); - g.run(job); - cmdBuffs[0]->getMessageQueue()->flushMessages(); - g.waitForAll(); - } else { - for (uint i = 0u; i < count; ++i) { - cmdBuffs[i]->getMessageQueue()->flushMessages(); - } - } - } else { - cmdBuffs[0]->getMessageQueue()->flushMessages(); - } -} - CommandBufferAgent::~CommandBufferAgent() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestruct, - actor, _actor, - { - CC_DELETE(actor); - }); -} - -void CommandBufferAgent::initMessageQueue() { - _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); - for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { - _allocatorPools[i] = CC_NEW(LinearAllocatorPool); - } - ((DeviceAgent *)_device)->_allocatorPoolRefs.insert(_allocatorPools.data()); - - _messageQueue = CC_NEW(MessageQueue); - _messageQueue->setImmediateMode(false); -} - -void CommandBufferAgent::destroyMessageQueue() { - ((DeviceAgent *)_device)->getMessageQueue()->kickAndWait(); - CC_SAFE_DELETE(_messageQueue); - - ((DeviceAgent *)_device)->_allocatorPoolRefs.erase(_allocatorPools.data()); - for (LinearAllocatorPool *pool : _allocatorPools) { - CC_SAFE_DELETE(pool); - } - _allocatorPools.clear(); -} - -LinearAllocatorPool *CommandBufferAgent::getAllocator() { - return _allocatorPools[((DeviceAgent *)_device)->_currentIndex]; + CC_SAFE_DELETE(_actor); } bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { - initMessageQueue(); - _type = info.type; _queue = info.queue; CommandBufferInfo actorInfo = info; actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferInit, - actor, getActor(), - info, actorInfo, - { - actor->initialize(info); - }); + _actor->initialize(actorInfo); return true; } void CommandBufferAgent::destroy() { - destroyMessageQueue(); - - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestroy, - actor, getActor(), - { - actor->destroy(); - }); + _actor->destroy(); } -void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { - ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferBegin, - actor, getActor(), - renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, - subpass, subpass, - frameBuffer, frameBuffer ? ((FramebufferAgent *)frameBuffer)->getActor() : nullptr, - submitIndex, submitIndex, - { - actor->begin(renderPass, subpass, frameBuffer, submitIndex); - }); +void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { + if (renderPass) renderPass = ((RenderPassAgent *)renderPass)->getActor(); + if (frameBuffer) frameBuffer = ((FramebufferAgent *)frameBuffer)->getActor(); + _actor->begin(renderPass, subpass, frameBuffer); } void CommandBufferAgent::end() { - ENQUEUE_MESSAGE_1( - _messageQueue, - CommandBufferEnd, - actor, getActor(), - { - actor->end(); - }); - MessageQueue::freeChunksInFreeQueue(_messageQueue); - _messageQueue->finishWriting(); + _actor->end(); } void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { - uint attachmentCount = (uint)renderPass->getColorAttachments().size(); - Color *actorColors = nullptr; - if (attachmentCount) { - actorColors = getAllocator()->allocate(attachmentCount); - memcpy(actorColors, colors, sizeof(Color) * attachmentCount); - } + CCASSERT(0, "Secondary command buffers cannot call beginRenderPass"); + + if (renderPass) renderPass = ((RenderPassAgent *)renderPass)->getActor(); + if (fbo) fbo = ((FramebufferAgent *)fbo)->getActor(); const CommandBuffer **actorSecondaryCBs = nullptr; if (secondaryCBCount) { - actorSecondaryCBs = getAllocator()->allocate(secondaryCBCount); + actorSecondaryCBs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(secondaryCBCount); for (uint i = 0; i < secondaryCBCount; ++i) { actorSecondaryCBs[i] = ((CommandBufferAgent *)secondaryCBs[i])->getActor(); } } - ENQUEUE_MESSAGE_9( - _messageQueue, - CommandBufferBeginRenderPass, - actor, getActor(), - renderPass, ((RenderPassAgent *)renderPass)->getActor(), - fbo, ((FramebufferAgent *)fbo)->getActor(), - renderArea, renderArea, - colors, actorColors, - depth, depth, - stencil, stencil, - secondaryCBCount, secondaryCBCount, - secondaryCBs, actorSecondaryCBs, - { - actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBCount, secondaryCBs); - }); + _actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBCount, actorSecondaryCBs); } void CommandBufferAgent::endRenderPass() { - ENQUEUE_MESSAGE_1( - _messageQueue, - CommandBufferEndRenderPass, - actor, getActor(), - { - actor->endRenderPass(); - }); + CCASSERT(0, "Secondary command buffers cannot call endRenderPass"); + + _actor->endRenderPass(); } void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + CCASSERT(0, "Secondary command buffers cannot call execute"); + if (!count) return; - const CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); + const CommandBuffer **actorCmdBuffs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } - const CommandBufferAgent **agentCmdBuffs = getAllocator()->allocate(count); - for (uint i = 0; i < count; ++i) { - agentCmdBuffs[i] = (CommandBufferAgent *)cmdBuffs[i]; - } - - bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); - - ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferExecute, - actor, getActor(), - cmdBuffs, (CommandBufferAgent *const *)agentCmdBuffs, - actorCmdBuffs, actorCmdBuffs, - count, count, - multiThreaded, multiThreaded, - { - CommandBufferAgent::flushCommands(cmdBuffs, count, multiThreaded); - actor->execute(actorCmdBuffs, count); - }); + _actor->execute(actorCmdBuffs, count); } void CommandBufferAgent::bindPipelineState(PipelineState *pso) { - ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferBindPipelineState, - actor, getActor(), - pso, ((PipelineStateAgent *)pso)->getActor(), - { - actor->bindPipelineState(pso); - }); + if (pso) pso = ((PipelineStateAgent *)pso)->getActor(); + _actor->bindPipelineState(pso); } void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { - uint *actorDynamicOffsets = nullptr; - if (dynamicOffsetCount) { - actorDynamicOffsets = getAllocator()->allocate(dynamicOffsetCount); - memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); - } - - ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferBindDescriptorSet, - actor, getActor(), - set, set, - descriptorSet, ((DescriptorSetAgent *)descriptorSet)->getActor(), - dynamicOffsetCount, dynamicOffsetCount, - dynamicOffsets, actorDynamicOffsets, - { - actor->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); - }); + if (descriptorSet) descriptorSet = ((DescriptorSetAgent *)descriptorSet)->getActor(); + _actor->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); } void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { - ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferBindInputAssembler, - actor, getActor(), - ia, ((InputAssemblerAgent *)ia)->getActor(), - { - actor->bindInputAssembler(ia); - }); + if (ia) ia = ((InputAssemblerAgent *)ia)->getActor(); + _actor->bindInputAssembler(ia); } void CommandBufferAgent::setViewport(const Viewport &vp) { - ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetViewport, - actor, getActor(), - vp, vp, - { - actor->setViewport(vp); - }); + _actor->setViewport(vp); } void CommandBufferAgent::setScissor(const Rect &rect) { - ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetScissor, - actor, getActor(), - rect, rect, - { - actor->setScissor(rect); - }); + _actor->setScissor(rect); } void CommandBufferAgent::setLineWidth(const float width) { - ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetLineWidth, - actor, getActor(), - width, width, - { - actor->setLineWidth(width); - }); + _actor->setLineWidth(width); } void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) { - ENQUEUE_MESSAGE_4( - _messageQueue, - CommandBufferSetDepthBias, - actor, getActor(), - constant, constant, - clamp, clamp, - slope, slope, - { - actor->setDepthBias(constant, clamp, slope); - }); + _actor->setDepthBias(constant, clamp, slope); } void CommandBufferAgent::setBlendConstants(const Color &constants) { - ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetBlendConstants, - actor, getActor(), - constants, constants, - { - actor->setBlendConstants(constants); - }); + _actor->setBlendConstants(constants); } void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { - ENQUEUE_MESSAGE_3( - _messageQueue, - CommandBufferSetDepthBound, - actor, getActor(), - minBounds, minBounds, - maxBounds, maxBounds, - { - actor->setDepthBound(minBounds, maxBounds); - }); + _actor->setDepthBound(minBounds, maxBounds); } void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { - ENQUEUE_MESSAGE_3( - _messageQueue, - CommandBufferSetStencilWriteMask, - actor, getActor(), - face, face, - mask, mask, - { - actor->setStencilWriteMask(face, mask); - }); + _actor->setStencilWriteMask(face, mask); } void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint mask) { - ENQUEUE_MESSAGE_4( - _messageQueue, - CommandBufferSetStencilCompareMask, - actor, getActor(), - face, face, - ref, ref, - mask, mask, - { - actor->setStencilCompareMask(face, ref, mask); - }); + _actor->setStencilCompareMask(face, ref, mask); } void CommandBufferAgent::draw(InputAssembler *ia) { - ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferDraw, - actor, getActor(), - ia, ((InputAssemblerAgent *)ia)->getActor(), - { - actor->draw(ia); - }); + if (ia) ia = ((InputAssemblerAgent *)ia)->getActor(); + _actor->draw(ia); } void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { - MessageQueue *queue = _messageQueue; - - uint8_t *actorData = getAllocator()->allocate(size); - memcpy(actorData, data, size); - - ENQUEUE_MESSAGE_4( - queue, - CommandBufferUpdateBuffer, - actor, getActor(), - buff, ((BufferAgent *)buff)->getActor(), - data, actorData, - size, size, - { - actor->updateBuffer(buff, data, size); - }); + if (buff) buff = ((BufferAgent *)buff)->getActor(); + _actor->updateBuffer(buff, data, size); } void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - LinearAllocatorPool *allocator = getAllocator(); - - BufferTextureCopy *actorRegions = allocator->allocate(count); - memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); - - uint bufferCount = 0u; - for (uint i = 0u; i < count; i++) { - bufferCount += regions[i].texSubres.layerCount; - } - const uint8_t **actorBuffers = allocator->allocate(bufferCount); - for (uint i = 0u, n = 0u; i < count; i++) { - const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); - for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = allocator->allocate(size); - memcpy(buffer, buffers[n], size); - actorBuffers[n++] = buffer; - } - } - - ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferCopyBuffersToTexture, - actor, getActor(), - buffers, actorBuffers, - texture, ((TextureAgent *)texture)->getActor(), - regions, actorRegions, - count, count, - { - actor->copyBuffersToTexture(buffers, texture, regions, count); - }); + if (texture) texture = ((TextureAgent *)texture)->getActor(); + _actor->copyBuffersToTexture(buffers, texture, regions, count); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index e4b6195c72..4c3deace0b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -4,24 +4,18 @@ #include "../gfx/GFXCommandBuffer.h" namespace cc { - -class MessageQueue; - namespace gfx { -class LinearAllocatorPool; - +// For secondary command buffers class CC_DLL CommandBufferAgent final : public Agent { public: using Agent::Agent; CommandBufferAgent(Device *device) = delete; ~CommandBufferAgent() override; - static void flushCommands(CommandBufferAgent *const *cmdBuffs, uint count, bool multiThreaded); - bool initialize(const CommandBufferInfo &info) override; void destroy() override; - void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; void endRenderPass() override; @@ -45,16 +39,8 @@ public: uint getNumInstances() const override { return _actor->getNumInstances(); } uint getNumTris() const override { return _actor->getNumTris(); } - CC_INLINE MessageQueue *getMessageQueue() { return _messageQueue; } - LinearAllocatorPool *getAllocator(); - private: friend class DeviceAgent; - - void initMessageQueue(); - void destroyMessageQueue(); - MessageQueue *_messageQueue = nullptr; - vector _allocatorPools; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 72c13a9b97..312ce91f3a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -10,6 +10,7 @@ #include "GFXLinearAllocatorPool.h" #include "GFXPipelineLayoutAgent.h" #include "GFXPipelineStateAgent.h" +#include "GFXPrimaryCommandBufferAgent.h" #include "GFXQueueAgent.h" #include "GFXRenderPassAgent.h" #include "GFXSamplerAgent.h" @@ -51,8 +52,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { _API = _actor->getGfxAPI(); _deviceName = _actor->getDeviceName(); _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); - _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); - ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); + _cmdBuff = CC_NEW(PrimaryCommandBufferAgent(_actor->getCommandBuffer(), this)); _renderer = _actor->getRenderer(); _vendor = _actor->getVendor(); _maxVertexAttributes = _actor->getMaxVertexAttributes(); @@ -91,7 +91,6 @@ void DeviceAgent::destroy() { actor->destroy(); }); - ((CommandBufferAgent *)_cmdBuff)->destroyMessageQueue(); if (_cmdBuff) { ((CommandBufferAgent *)_cmdBuff)->_actor = nullptr; CC_DELETE(_cmdBuff); @@ -187,10 +186,10 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { } } -CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - CommandBuffer *actor = _actor->doCreateCommandBuffer(info, true); - CommandBufferAgent *agent = CC_NEW(CommandBufferAgent(actor, this)); - return agent; +CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info) { + CommandBuffer *actor = _actor->doCreateCommandBuffer(info); + if (info.type == CommandBufferType::PRIMARY) return CC_NEW(PrimaryCommandBufferAgent(actor, this)); + return CC_NEW(CommandBufferAgent(actor, this)); } Fence *DeviceAgent::createFence() { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 7fa9819dff..859b3acfce 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -33,7 +33,7 @@ public: void acquire() override; void present() override; - CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; Fence *createFence() override; Queue *createQueue() override; Buffer *createBuffer() override; diff --git a/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.cpp new file mode 100644 index 0000000000..9708611757 --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.cpp @@ -0,0 +1,343 @@ +#include "CoreStd.h" + +#include "GFXBufferAgent.h" +#include "GFXDescriptorSetAgent.h" +#include "GFXDeviceAgent.h" +#include "GFXFramebufferAgent.h" +#include "GFXInputAssemblerAgent.h" +#include "GFXLinearAllocatorPool.h" +#include "GFXPipelineStateAgent.h" +#include "GFXPrimaryCommandBufferAgent.h" +#include "GFXQueueAgent.h" +#include "GFXRenderPassAgent.h" +#include "GFXTextureAgent.h" +#include "base/threading/MessageQueue.h" + +namespace cc { +namespace gfx { + +PrimaryCommandBufferAgent::~PrimaryCommandBufferAgent() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + +bool PrimaryCommandBufferAgent::initialize(const CommandBufferInfo &info) { + _type = info.type; + _queue = info.queue; + + CommandBufferInfo actorInfo = info; + actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); + + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); + + return true; +} + +void PrimaryCommandBufferAgent::destroy() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferDestroy, + actor, getActor(), + { + actor->destroy(); + }); +} + +void PrimaryCommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { + ENQUEUE_MESSAGE_4( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferBegin, + actor, getActor(), + renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, + subpass, subpass, + frameBuffer, frameBuffer ? ((FramebufferAgent *)frameBuffer)->getActor() : nullptr, + { + actor->begin(renderPass, subpass, frameBuffer); + }); +} + +void PrimaryCommandBufferAgent::end() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferEnd, + actor, getActor(), + { + actor->end(); + }); +} + +void PrimaryCommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { + uint attachmentCount = (uint)renderPass->getColorAttachments().size(); + Color *actorColors = nullptr; + if (attachmentCount) { + actorColors = ((DeviceAgent *)_device)->getMainAllocator()->allocate(attachmentCount); + memcpy(actorColors, colors, sizeof(Color) * attachmentCount); + } + + const CommandBuffer **actorSecondaryCBs = nullptr; + if (secondaryCBCount) { + actorSecondaryCBs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(secondaryCBCount); + for (uint i = 0; i < secondaryCBCount; ++i) { + actorSecondaryCBs[i] = ((PrimaryCommandBufferAgent *)secondaryCBs[i])->getActor(); + } + } + + ENQUEUE_MESSAGE_9( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferBeginRenderPass, + actor, getActor(), + renderPass, ((RenderPassAgent *)renderPass)->getActor(), + fbo, ((FramebufferAgent *)fbo)->getActor(), + renderArea, renderArea, + colors, actorColors, + depth, depth, + stencil, stencil, + secondaryCBCount, secondaryCBCount, + secondaryCBs, actorSecondaryCBs, + { + actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBCount, secondaryCBs); + }); +} + +void PrimaryCommandBufferAgent::endRenderPass() { + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferEndRenderPass, + actor, getActor(), + { + actor->endRenderPass(); + }); +} + +void PrimaryCommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + if (!count) return; + + const CommandBuffer **actorCmdBuffs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(count); + for (uint i = 0; i < count; ++i) { + actorCmdBuffs[i] = ((PrimaryCommandBufferAgent *)cmdBuffs[i])->getActor(); + } + + ENQUEUE_MESSAGE_3( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferExecute, + actor, getActor(), + cmdBuffs, actorCmdBuffs, + count, count, + { + actor->execute(cmdBuffs, count); + }); +} + +void PrimaryCommandBufferAgent::bindPipelineState(PipelineState *pso) { + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferBindPipelineState, + actor, getActor(), + pso, ((PipelineStateAgent *)pso)->getActor(), + { + actor->bindPipelineState(pso); + }); +} + +void PrimaryCommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { + uint *actorDynamicOffsets = nullptr; + if (dynamicOffsetCount) { + actorDynamicOffsets = ((DeviceAgent *)_device)->getMainAllocator()->allocate(dynamicOffsetCount); + memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); + } + + ENQUEUE_MESSAGE_5( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferBindDescriptorSet, + actor, getActor(), + set, set, + descriptorSet, ((DescriptorSetAgent *)descriptorSet)->getActor(), + dynamicOffsetCount, dynamicOffsetCount, + dynamicOffsets, actorDynamicOffsets, + { + actor->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); + }); +} + +void PrimaryCommandBufferAgent::bindInputAssembler(InputAssembler *ia) { + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferBindInputAssembler, + actor, getActor(), + ia, ((InputAssemblerAgent *)ia)->getActor(), + { + actor->bindInputAssembler(ia); + }); +} + +void PrimaryCommandBufferAgent::setViewport(const Viewport &vp) { + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferSetViewport, + actor, getActor(), + vp, vp, + { + actor->setViewport(vp); + }); +} + +void PrimaryCommandBufferAgent::setScissor(const Rect &rect) { + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferSetScissor, + actor, getActor(), + rect, rect, + { + actor->setScissor(rect); + }); +} + +void PrimaryCommandBufferAgent::setLineWidth(const float width) { + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferSetLineWidth, + actor, getActor(), + width, width, + { + actor->setLineWidth(width); + }); +} + +void PrimaryCommandBufferAgent::setDepthBias(float constant, float clamp, float slope) { + ENQUEUE_MESSAGE_4( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferSetDepthBias, + actor, getActor(), + constant, constant, + clamp, clamp, + slope, slope, + { + actor->setDepthBias(constant, clamp, slope); + }); +} + +void PrimaryCommandBufferAgent::setBlendConstants(const Color &constants) { + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferSetBlendConstants, + actor, getActor(), + constants, constants, + { + actor->setBlendConstants(constants); + }); +} + +void PrimaryCommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { + ENQUEUE_MESSAGE_3( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferSetDepthBound, + actor, getActor(), + minBounds, minBounds, + maxBounds, maxBounds, + { + actor->setDepthBound(minBounds, maxBounds); + }); +} + +void PrimaryCommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { + ENQUEUE_MESSAGE_3( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferSetStencilWriteMask, + actor, getActor(), + face, face, + mask, mask, + { + actor->setStencilWriteMask(face, mask); + }); +} + +void PrimaryCommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint mask) { + ENQUEUE_MESSAGE_4( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferSetStencilCompareMask, + actor, getActor(), + face, face, + ref, ref, + mask, mask, + { + actor->setStencilCompareMask(face, ref, mask); + }); +} + +void PrimaryCommandBufferAgent::draw(InputAssembler *ia) { + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferDraw, + actor, getActor(), + ia, ((InputAssemblerAgent *)ia)->getActor(), + { + actor->draw(ia); + }); +} + +void PrimaryCommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { + MessageQueue *queue = ((DeviceAgent *)_device)->getMessageQueue(); + + uint8_t *actorData = ((DeviceAgent *)_device)->getMainAllocator()->allocate(size); + memcpy(actorData, data, size); + + ENQUEUE_MESSAGE_4( + queue, + CommandBufferUpdateBuffer, + actor, getActor(), + buff, ((BufferAgent *)buff)->getActor(), + data, actorData, + size, size, + { + actor->updateBuffer(buff, data, size); + }); +} + +void PrimaryCommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { + LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); + + BufferTextureCopy *actorRegions = allocator->allocate(count); + memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); + + uint bufferCount = 0u; + for (uint i = 0u; i < count; i++) { + bufferCount += regions[i].texSubres.layerCount; + } + const uint8_t **actorBuffers = allocator->allocate(bufferCount); + for (uint i = 0u, n = 0u; i < count; i++) { + const BufferTextureCopy ®ion = regions[i]; + uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); + for (uint l = 0; l < region.texSubres.layerCount; l++) { + uint8_t *buffer = allocator->allocate(size); + memcpy(buffer, buffers[n], size); + actorBuffers[n++] = buffer; + } + } + + ENQUEUE_MESSAGE_5( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferCopyBuffersToTexture, + actor, getActor(), + buffers, actorBuffers, + texture, ((TextureAgent *)texture)->getActor(), + regions, actorRegions, + count, count, + { + actor->copyBuffersToTexture(buffers, texture, regions, count); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.h new file mode 100644 index 0000000000..4de2840bbb --- /dev/null +++ b/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.h @@ -0,0 +1,46 @@ +#pragma once + +#include "GFXAgent.h" +#include "../gfx/GFXCommandBuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL PrimaryCommandBufferAgent final : public Agent { +public: + using Agent::Agent; + PrimaryCommandBufferAgent(Device *device) = delete; + ~PrimaryCommandBufferAgent() override; + + bool initialize(const CommandBufferInfo &info) override; + void destroy() override; + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + void endRenderPass() override; + void bindPipelineState(PipelineState *pso) override; + void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; + void bindInputAssembler(InputAssembler *ia) override; + void setViewport(const Viewport &vp) override; + void setScissor(const Rect &rect) override; + void setLineWidth(const float width) override; + void setDepthBias(float constant, float clamp, float slope) override; + void setBlendConstants(const Color &constants) override; + void setDepthBound(float minBounds, float maxBounds) override; + void setStencilWriteMask(StencilFace face, uint mask) override; + void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buff, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + + uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } + uint getNumInstances() const override { return _actor->getNumInstances(); } + uint getNumTris() const override { return _actor->getNumTris(); } + +private: + friend class DeviceAgent; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index c7e97a8cdb..a0210d1d3c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -73,8 +73,6 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence { //auto startTime = std::chrono::steady_clock::now(); - CommandBufferAgent::flushCommands(cmdBuffs, count, multiThreaded); - //auto endTime = std::chrono::steady_clock::now(); //float dt = std::chrono::duration_cast(endTime - startTime).count() / 1e6; //static float timeAcc = 0.f; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 865008e0e2..995c6eddaa 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -15,7 +15,7 @@ public: public: virtual bool initialize(const CommandBufferInfo &info) = 0; virtual void destroy() = 0; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) = 0; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) = 0; virtual void end() = 0; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) = 0; virtual void endRenderPass() = 0; @@ -42,12 +42,10 @@ public: bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } - CC_INLINE void begin() { begin(nullptr, 0, nullptr, -1); } - CC_INLINE void begin(int submitIndex) { begin(nullptr, 0, nullptr, submitIndex); } + CC_INLINE void begin() { begin(nullptr, 0, nullptr); } // secondary command buffer specifics - CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr, -1); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr, -1); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { begin(renderPass, subpass, frameBuffer, -1); } + CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr); } + CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr); } CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 0336010939..0cda8e8d24 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -34,7 +34,7 @@ public: virtual void acquire() = 0; virtual void present() = 0; - CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = doCreateCommandBuffer(info, false); res->initialize(info); return res; } + CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = doCreateCommandBuffer(info); res->initialize(info); return res; } CC_INLINE Fence *createFence(const FenceInfo &info) { Fence *res = createFence(); res->initialize(info); return res; } CC_INLINE Queue *createQueue(const QueueInfo &info) { Queue *res = createQueue(); res->initialize(info); return res; } CC_INLINE Buffer *createBuffer(const BufferInfo &info) { Buffer *res = createBuffer(); res->initialize(info); return res; } @@ -96,7 +96,7 @@ public: protected: friend class DeviceAgent; - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) = 0; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) = 0; virtual Fence *createFence() = 0; virtual Queue *createQueue() = 0; virtual Buffer *createBuffer() = 0; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index a515bc228b..f3f0a951d6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -79,7 +79,7 @@ void GLES2CommandBuffer::destroy() { CC_DELETE(_cmdAllocator); } -void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { +void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index b399cf10d5..2937634579 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -42,7 +42,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index fc6f2785b0..2f2aa9ea5d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -242,8 +242,8 @@ void GLES2Device::bindDeviceContext(bool bound) { } } -CommandBuffer *GLES2Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES2PrimaryCommandBuffer(this)); +CommandBuffer *GLES2Device::doCreateCommandBuffer(const CommandBufferInfo &info) { + if (info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES2PrimaryCommandBuffer(this)); return CC_NEW(GLES2CommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 958e73e189..2d76770b00 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -86,7 +86,7 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 4fb66197fa..4c2e6c782a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -79,7 +79,7 @@ void GLES3CommandBuffer::destroy() { CC_DELETE(_cmdAllocator); } -void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { +void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 8a50e58642..ca8957ca41 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -41,7 +41,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 95b18b7db1..4485935e42 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -232,8 +232,8 @@ void GLES3Device::bindDeviceContext(bool bound) { } } -CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer(this)); +CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info) { + if (info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer(this)); return CC_NEW(GLES3CommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 4d6fd6963b..4ae81a6f49 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -73,7 +73,7 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 22183f4172..8db13a30ce 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -49,7 +49,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index cc1334d061..0cea04a7b5 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -60,7 +60,7 @@ bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) { void CCMTLCommandBuffer::destroy() { } -void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { +void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { if (_commandBufferBegan) return; _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 6b232a831c..8e98e6f407 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -71,7 +71,7 @@ public: CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index f407a8a5eb..6e8582db2f 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -231,7 +231,7 @@ Queue *CCMTLDevice::createQueue() { return CC_NEW(CCMTLQueue(this)); } -CommandBuffer *CCMTLDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { +CommandBuffer *CCMTLDevice::doCreateCommandBuffer(const CommandBufferInfo &info) { return CC_NEW(CCMTLCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index efc526cdff..bdb3caba97 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -65,13 +65,12 @@ bool CCVKCommandBuffer::initialize(const CommandBufferInfo &info) { void CCVKCommandBuffer::destroy() { if (_gpuCommandBuffer) { - ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); CC_DELETE(_gpuCommandBuffer); _gpuCommandBuffer = nullptr; } } -void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) { +void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { if (_gpuCommandBuffer->began) return; ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->request(_gpuCommandBuffer); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 4a63671e9c..0bacf480f8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -40,7 +40,7 @@ public: virtual bool initialize(const CommandBufferInfo &info) override; virtual void destroy() override; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer, int submitIndex) override; + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; virtual void endRenderPass() override; diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 1f4102bbae..8667478ba9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 0 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 3e6fd69c8b..948c617b31 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -533,7 +533,7 @@ CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuDevice- CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuDevice->curBackBufferIndex]; } CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } -CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { +CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info) { return CC_NEW(CCVKCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 997d32acf1..deb15daf1e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -92,7 +92,7 @@ public: CCVKGPUStagingBufferPool *gpuStagingBufferPool(); private: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; From f4df2d64abdc02626803f9704be23194d449f225 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 6 Jan 2021 18:24:04 +0800 Subject: [PATCH 100/270] concurrency between passes --- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 350 ++++++++++++++++-- .../core/gfx-agent/GFXCommandBufferAgent.h | 16 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 29 +- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 11 +- .../GFXPrimaryCommandBufferAgent.cpp | 343 ----------------- .../gfx-agent/GFXPrimaryCommandBufferAgent.h | 46 --- native/cocos/renderer/core/gfx/GFXDevice.h | 5 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 4 +- native/cocos/renderer/gfx-gles2/GLES2Device.h | 2 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 4 +- native/cocos/renderer/gfx-gles3/GLES3Device.h | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 2 +- 15 files changed, 367 insertions(+), 453 deletions(-) delete mode 100644 native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.cpp delete mode 100644 native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.h diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index c505e8fecb..7268c1f536 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -1,5 +1,7 @@ #include "CoreStd.h" +#include "base/job-system/JobSystem.h" +#include "base/threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" #include "GFXDescriptorSetAgent.h" @@ -11,137 +13,403 @@ #include "GFXQueueAgent.h" #include "GFXRenderPassAgent.h" #include "GFXTextureAgent.h" -#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { +void CommandBufferAgent::flushCommands(uint count, CommandBufferAgent *const *cmdBuffs, bool multiThreaded) { + uint jobThreadCount = JobSystem::getInstance()->threadCount(); + uint workForThisThread = (count - 1) / jobThreadCount + 1; // ceil(count / jobThreadCount) + + if (count > workForThisThread + 1 && multiThreaded) { // more than one job to dispatch + JobGraph g(JobSystem::getInstance()); + + uint job = g.createForEachIndexJob(workForThisThread, count, 1u, [cmdBuffs](uint i) { + cmdBuffs[i]->getMessageQueue()->flushMessages(); + }); + g.run(job); + + for (uint i = 0u; i < workForThisThread; ++i) { + cmdBuffs[i]->getMessageQueue()->flushMessages(); + } + g.waitForAll(); + } else { + for (uint i = 0u; i < count; ++i) { + cmdBuffs[i]->getMessageQueue()->flushMessages(); + } + } +} + CommandBufferAgent::~CommandBufferAgent() { - CC_SAFE_DELETE(_actor); + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferDestruct, + actor, _actor, + { + CC_DELETE(actor); + }); +} + +void CommandBufferAgent::initMessageQueue() { + _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); + + if (_actor->getType() == CommandBufferType::PRIMARY) { + _messageQueue = ((DeviceAgent *)_device)->getMessageQueue(); + for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { + _allocatorPools[i] = ((DeviceAgent *)_device)->_allocatorPools[i]; + } + } else { + for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { + _allocatorPools[i] = CC_NEW(LinearAllocatorPool); + } + ((DeviceAgent *)_device)->_allocatorPoolRefs.insert(_allocatorPools.data()); + + _messageQueue = CC_NEW(MessageQueue); + _messageQueue->setImmediateMode(false); + } +} + +void CommandBufferAgent::destroyMessageQueue() { + if (_actor->getType() == CommandBufferType::PRIMARY) { + _messageQueue = nullptr; + } else { + ((DeviceAgent *)_device)->getMessageQueue()->kickAndWait(); + CC_SAFE_DELETE(_messageQueue); + + ((DeviceAgent *)_device)->_allocatorPoolRefs.erase(_allocatorPools.data()); + for (LinearAllocatorPool *pool : _allocatorPools) { + CC_SAFE_DELETE(pool); + } + } + _allocatorPools.clear(); +} + +LinearAllocatorPool *CommandBufferAgent::getAllocator() { + return _allocatorPools[((DeviceAgent *)_device)->_currentIndex]; } bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { + initMessageQueue(); + _type = info.type; _queue = info.queue; CommandBufferInfo actorInfo = info; actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); - _actor->initialize(actorInfo); + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); return true; } void CommandBufferAgent::destroy() { - _actor->destroy(); + destroyMessageQueue(); + + ENQUEUE_MESSAGE_1( + ((DeviceAgent *)_device)->getMessageQueue(), + CommandBufferDestroy, + actor, getActor(), + { + actor->destroy(); + }); } void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { - if (renderPass) renderPass = ((RenderPassAgent *)renderPass)->getActor(); - if (frameBuffer) frameBuffer = ((FramebufferAgent *)frameBuffer)->getActor(); - _actor->begin(renderPass, subpass, frameBuffer); + ENQUEUE_MESSAGE_4( + _messageQueue, + CommandBufferBegin, + actor, getActor(), + renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, + subpass, subpass, + frameBuffer, frameBuffer ? ((FramebufferAgent *)frameBuffer)->getActor() : nullptr, + { + actor->begin(renderPass, subpass, frameBuffer); + }); } void CommandBufferAgent::end() { - _actor->end(); + ENQUEUE_MESSAGE_1( + _messageQueue, + CommandBufferEnd, + actor, getActor(), + { + actor->end(); + }); + MessageQueue::freeChunksInFreeQueue(_messageQueue); + _messageQueue->finishWriting(); } void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { - CCASSERT(0, "Secondary command buffers cannot call beginRenderPass"); - - if (renderPass) renderPass = ((RenderPassAgent *)renderPass)->getActor(); - if (fbo) fbo = ((FramebufferAgent *)fbo)->getActor(); + uint attachmentCount = (uint)renderPass->getColorAttachments().size(); + Color *actorColors = nullptr; + if (attachmentCount) { + actorColors = getAllocator()->allocate(attachmentCount); + memcpy(actorColors, colors, sizeof(Color) * attachmentCount); + } const CommandBuffer **actorSecondaryCBs = nullptr; if (secondaryCBCount) { - actorSecondaryCBs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(secondaryCBCount); + actorSecondaryCBs = getAllocator()->allocate(secondaryCBCount); for (uint i = 0; i < secondaryCBCount; ++i) { actorSecondaryCBs[i] = ((CommandBufferAgent *)secondaryCBs[i])->getActor(); } } - _actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBCount, actorSecondaryCBs); + ENQUEUE_MESSAGE_9( + _messageQueue, + CommandBufferBeginRenderPass, + actor, getActor(), + renderPass, ((RenderPassAgent *)renderPass)->getActor(), + fbo, ((FramebufferAgent *)fbo)->getActor(), + renderArea, renderArea, + colors, actorColors, + depth, depth, + stencil, stencil, + secondaryCBCount, secondaryCBCount, + secondaryCBs, actorSecondaryCBs, + { + actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBCount, secondaryCBs); + }); } void CommandBufferAgent::endRenderPass() { - CCASSERT(0, "Secondary command buffers cannot call endRenderPass"); - - _actor->endRenderPass(); + ENQUEUE_MESSAGE_1( + _messageQueue, + CommandBufferEndRenderPass, + actor, getActor(), + { + actor->endRenderPass(); + }); } void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - CCASSERT(0, "Secondary command buffers cannot call execute"); - if (!count) return; - const CommandBuffer **actorCmdBuffs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(count); + const CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } - _actor->execute(actorCmdBuffs, count); + const CommandBufferAgent **agentCmdBuffs = getAllocator()->allocate(count); + for (uint i = 0; i < count; ++i) { + agentCmdBuffs[i] = (CommandBufferAgent *)cmdBuffs[i]; + } + + ENQUEUE_MESSAGE_3( + _messageQueue, + CommandBufferExecute, + actor, getActor(), + cmdBuffs, actorCmdBuffs, + count, count, + { + actor->execute(cmdBuffs, count); + }); } void CommandBufferAgent::bindPipelineState(PipelineState *pso) { - if (pso) pso = ((PipelineStateAgent *)pso)->getActor(); - _actor->bindPipelineState(pso); + ENQUEUE_MESSAGE_2( + _messageQueue, + CommandBufferBindPipelineState, + actor, getActor(), + pso, ((PipelineStateAgent *)pso)->getActor(), + { + actor->bindPipelineState(pso); + }); } void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { - if (descriptorSet) descriptorSet = ((DescriptorSetAgent *)descriptorSet)->getActor(); - _actor->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); + uint *actorDynamicOffsets = nullptr; + if (dynamicOffsetCount) { + actorDynamicOffsets = getAllocator()->allocate(dynamicOffsetCount); + memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); + } + + ENQUEUE_MESSAGE_5( + _messageQueue, + CommandBufferBindDescriptorSet, + actor, getActor(), + set, set, + descriptorSet, ((DescriptorSetAgent *)descriptorSet)->getActor(), + dynamicOffsetCount, dynamicOffsetCount, + dynamicOffsets, actorDynamicOffsets, + { + actor->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); + }); } void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { - if (ia) ia = ((InputAssemblerAgent *)ia)->getActor(); - _actor->bindInputAssembler(ia); + ENQUEUE_MESSAGE_2( + _messageQueue, + CommandBufferBindInputAssembler, + actor, getActor(), + ia, ((InputAssemblerAgent *)ia)->getActor(), + { + actor->bindInputAssembler(ia); + }); } void CommandBufferAgent::setViewport(const Viewport &vp) { - _actor->setViewport(vp); + ENQUEUE_MESSAGE_2( + _messageQueue, + CommandBufferSetViewport, + actor, getActor(), + vp, vp, + { + actor->setViewport(vp); + }); } void CommandBufferAgent::setScissor(const Rect &rect) { - _actor->setScissor(rect); + ENQUEUE_MESSAGE_2( + _messageQueue, + CommandBufferSetScissor, + actor, getActor(), + rect, rect, + { + actor->setScissor(rect); + }); } void CommandBufferAgent::setLineWidth(const float width) { - _actor->setLineWidth(width); + ENQUEUE_MESSAGE_2( + _messageQueue, + CommandBufferSetLineWidth, + actor, getActor(), + width, width, + { + actor->setLineWidth(width); + }); } void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) { - _actor->setDepthBias(constant, clamp, slope); + ENQUEUE_MESSAGE_4( + _messageQueue, + CommandBufferSetDepthBias, + actor, getActor(), + constant, constant, + clamp, clamp, + slope, slope, + { + actor->setDepthBias(constant, clamp, slope); + }); } void CommandBufferAgent::setBlendConstants(const Color &constants) { - _actor->setBlendConstants(constants); + ENQUEUE_MESSAGE_2( + _messageQueue, + CommandBufferSetBlendConstants, + actor, getActor(), + constants, constants, + { + actor->setBlendConstants(constants); + }); } void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { - _actor->setDepthBound(minBounds, maxBounds); + ENQUEUE_MESSAGE_3( + _messageQueue, + CommandBufferSetDepthBound, + actor, getActor(), + minBounds, minBounds, + maxBounds, maxBounds, + { + actor->setDepthBound(minBounds, maxBounds); + }); } void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { - _actor->setStencilWriteMask(face, mask); + ENQUEUE_MESSAGE_3( + _messageQueue, + CommandBufferSetStencilWriteMask, + actor, getActor(), + face, face, + mask, mask, + { + actor->setStencilWriteMask(face, mask); + }); } void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint mask) { - _actor->setStencilCompareMask(face, ref, mask); + ENQUEUE_MESSAGE_4( + _messageQueue, + CommandBufferSetStencilCompareMask, + actor, getActor(), + face, face, + ref, ref, + mask, mask, + { + actor->setStencilCompareMask(face, ref, mask); + }); } void CommandBufferAgent::draw(InputAssembler *ia) { - if (ia) ia = ((InputAssemblerAgent *)ia)->getActor(); - _actor->draw(ia); + ENQUEUE_MESSAGE_2( + _messageQueue, + CommandBufferDraw, + actor, getActor(), + ia, ((InputAssemblerAgent *)ia)->getActor(), + { + actor->draw(ia); + }); } void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { - if (buff) buff = ((BufferAgent *)buff)->getActor(); - _actor->updateBuffer(buff, data, size); + MessageQueue *queue = _messageQueue; + + uint8_t *actorData = getAllocator()->allocate(size); + memcpy(actorData, data, size); + + ENQUEUE_MESSAGE_4( + queue, + CommandBufferUpdateBuffer, + actor, getActor(), + buff, ((BufferAgent *)buff)->getActor(), + data, actorData, + size, size, + { + actor->updateBuffer(buff, data, size); + }); } void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - if (texture) texture = ((TextureAgent *)texture)->getActor(); - _actor->copyBuffersToTexture(buffers, texture, regions, count); + LinearAllocatorPool *allocator = getAllocator(); + + BufferTextureCopy *actorRegions = allocator->allocate(count); + memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); + + uint bufferCount = 0u; + for (uint i = 0u; i < count; i++) { + bufferCount += regions[i].texSubres.layerCount; + } + const uint8_t **actorBuffers = allocator->allocate(bufferCount); + for (uint i = 0u, n = 0u; i < count; i++) { + const BufferTextureCopy ®ion = regions[i]; + uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); + for (uint l = 0; l < region.texSubres.layerCount; l++) { + uint8_t *buffer = allocator->allocate(size); + memcpy(buffer, buffers[n], size); + actorBuffers[n++] = buffer; + } + } + + ENQUEUE_MESSAGE_5( + _messageQueue, + CommandBufferCopyBuffersToTexture, + actor, getActor(), + buffers, actorBuffers, + texture, ((TextureAgent *)texture)->getActor(), + regions, actorRegions, + count, count, + { + actor->copyBuffersToTexture(buffers, texture, regions, count); + }); } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 4c3deace0b..09926da715 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -4,15 +4,21 @@ #include "../gfx/GFXCommandBuffer.h" namespace cc { + +class MessageQueue; + namespace gfx { -// For secondary command buffers +class LinearAllocatorPool; + class CC_DLL CommandBufferAgent final : public Agent { public: using Agent::Agent; CommandBufferAgent(Device *device) = delete; ~CommandBufferAgent() override; + static void flushCommands(uint count, CommandBufferAgent *const *cmdBuffs, bool multiThreaded); + bool initialize(const CommandBufferInfo &info) override; void destroy() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; @@ -39,8 +45,16 @@ public: uint getNumInstances() const override { return _actor->getNumInstances(); } uint getNumTris() const override { return _actor->getNumTris(); } + CC_INLINE MessageQueue *getMessageQueue() { return _messageQueue; } + LinearAllocatorPool *getAllocator(); + private: friend class DeviceAgent; + + void initMessageQueue(); + void destroyMessageQueue(); + MessageQueue *_messageQueue = nullptr; + vector _allocatorPools; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 312ce91f3a..e8361ba0f5 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -10,7 +10,6 @@ #include "GFXLinearAllocatorPool.h" #include "GFXPipelineLayoutAgent.h" #include "GFXPipelineStateAgent.h" -#include "GFXPrimaryCommandBufferAgent.h" #include "GFXQueueAgent.h" #include "GFXRenderPassAgent.h" #include "GFXSamplerAgent.h" @@ -52,7 +51,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { _API = _actor->getGfxAPI(); _deviceName = _actor->getDeviceName(); _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); - _cmdBuff = CC_NEW(PrimaryCommandBufferAgent(_actor->getCommandBuffer(), this)); + _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); _renderer = _actor->getRenderer(); _vendor = _actor->getVendor(); _maxVertexAttributes = _actor->getMaxVertexAttributes(); @@ -76,6 +75,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { _allocatorPools[i] = CC_NEW(LinearAllocatorPool); } + ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); setMultithreaded(true); @@ -92,6 +92,7 @@ void DeviceAgent::destroy() { }); if (_cmdBuff) { + ((CommandBufferAgent *)_cmdBuff)->destroyMessageQueue(); ((CommandBufferAgent *)_cmdBuff)->_actor = nullptr; CC_DELETE(_cmdBuff); _cmdBuff = nullptr; @@ -186,9 +187,8 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { } } -CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info) { - CommandBuffer *actor = _actor->doCreateCommandBuffer(info); - if (info.type == CommandBufferType::PRIMARY) return CC_NEW(PrimaryCommandBufferAgent(actor, this)); +CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + CommandBuffer *actor = _actor->doCreateCommandBuffer(info, true); return CC_NEW(CommandBufferAgent(actor, this)); } @@ -302,5 +302,24 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d }); } +void DeviceAgent::flushCommands(uint count, CommandBuffer *const *cmdBuffs) { + bool multiThreaded = hasFeature(Feature::MULTITHREADED_SUBMISSION); + + const CommandBufferAgent **agentCmdBuffs = getMainAllocator()->allocate(count); + for (uint i = 0; i < count; ++i) { + agentCmdBuffs[i] = (const CommandBufferAgent *)cmdBuffs[i]; + } + + ENQUEUE_MESSAGE_3( + _mainEncoder, + DeviceFlushCommands, + count, count, + cmdBuffs, (CommandBufferAgent *const *)agentCmdBuffs, + multiThreaded, multiThreaded, + { + CommandBufferAgent::flushCommands(count, cmdBuffs, multiThreaded); + }); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 859b3acfce..1fe332a567 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -1,8 +1,8 @@ #pragma once #include "../gfx/GFXDevice.h" -#include "base/threading/Semaphore.h" #include "GFXAgent.h" +#include "base/threading/Semaphore.h" namespace cc { @@ -33,7 +33,7 @@ public: void acquire() override; void present() override; - CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; + CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; Fence *createFence() override; Queue *createQueue() override; Buffer *createBuffer() override; @@ -49,6 +49,7 @@ public: PipelineState *createPipelineState() override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + void flushCommands(uint count, CommandBuffer *const *cmdBuffs) override; void setMultithreaded(bool multithreaded) override; SurfaceTransform getSurfaceTransform() const override { return _actor->getSurfaceTransform(); } uint getWidth() const override { return _actor->getWidth(); } @@ -65,14 +66,14 @@ public: protected: friend class CommandBufferAgent; - + bool _multithreaded{false}; MessageQueue *_mainEncoder{nullptr}; - + uint _currentIndex = 0u; vector _allocatorPools; Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; - + unordered_set _allocatorPoolRefs; }; diff --git a/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.cpp deleted file mode 100644 index 9708611757..0000000000 --- a/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.cpp +++ /dev/null @@ -1,343 +0,0 @@ -#include "CoreStd.h" - -#include "GFXBufferAgent.h" -#include "GFXDescriptorSetAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXFramebufferAgent.h" -#include "GFXInputAssemblerAgent.h" -#include "GFXLinearAllocatorPool.h" -#include "GFXPipelineStateAgent.h" -#include "GFXPrimaryCommandBufferAgent.h" -#include "GFXQueueAgent.h" -#include "GFXRenderPassAgent.h" -#include "GFXTextureAgent.h" -#include "base/threading/MessageQueue.h" - -namespace cc { -namespace gfx { - -PrimaryCommandBufferAgent::~PrimaryCommandBufferAgent() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestruct, - actor, _actor, - { - CC_DELETE(actor); - }); -} - -bool PrimaryCommandBufferAgent::initialize(const CommandBufferInfo &info) { - _type = info.type; - _queue = info.queue; - - CommandBufferInfo actorInfo = info; - actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); - - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferInit, - actor, getActor(), - info, actorInfo, - { - actor->initialize(info); - }); - - return true; -} - -void PrimaryCommandBufferAgent::destroy() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestroy, - actor, getActor(), - { - actor->destroy(); - }); -} - -void PrimaryCommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { - ENQUEUE_MESSAGE_4( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferBegin, - actor, getActor(), - renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, - subpass, subpass, - frameBuffer, frameBuffer ? ((FramebufferAgent *)frameBuffer)->getActor() : nullptr, - { - actor->begin(renderPass, subpass, frameBuffer); - }); -} - -void PrimaryCommandBufferAgent::end() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferEnd, - actor, getActor(), - { - actor->end(); - }); -} - -void PrimaryCommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { - uint attachmentCount = (uint)renderPass->getColorAttachments().size(); - Color *actorColors = nullptr; - if (attachmentCount) { - actorColors = ((DeviceAgent *)_device)->getMainAllocator()->allocate(attachmentCount); - memcpy(actorColors, colors, sizeof(Color) * attachmentCount); - } - - const CommandBuffer **actorSecondaryCBs = nullptr; - if (secondaryCBCount) { - actorSecondaryCBs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(secondaryCBCount); - for (uint i = 0; i < secondaryCBCount; ++i) { - actorSecondaryCBs[i] = ((PrimaryCommandBufferAgent *)secondaryCBs[i])->getActor(); - } - } - - ENQUEUE_MESSAGE_9( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferBeginRenderPass, - actor, getActor(), - renderPass, ((RenderPassAgent *)renderPass)->getActor(), - fbo, ((FramebufferAgent *)fbo)->getActor(), - renderArea, renderArea, - colors, actorColors, - depth, depth, - stencil, stencil, - secondaryCBCount, secondaryCBCount, - secondaryCBs, actorSecondaryCBs, - { - actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBCount, secondaryCBs); - }); -} - -void PrimaryCommandBufferAgent::endRenderPass() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferEndRenderPass, - actor, getActor(), - { - actor->endRenderPass(); - }); -} - -void PrimaryCommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { - if (!count) return; - - const CommandBuffer **actorCmdBuffs = ((DeviceAgent *)_device)->getMainAllocator()->allocate(count); - for (uint i = 0; i < count; ++i) { - actorCmdBuffs[i] = ((PrimaryCommandBufferAgent *)cmdBuffs[i])->getActor(); - } - - ENQUEUE_MESSAGE_3( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferExecute, - actor, getActor(), - cmdBuffs, actorCmdBuffs, - count, count, - { - actor->execute(cmdBuffs, count); - }); -} - -void PrimaryCommandBufferAgent::bindPipelineState(PipelineState *pso) { - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferBindPipelineState, - actor, getActor(), - pso, ((PipelineStateAgent *)pso)->getActor(), - { - actor->bindPipelineState(pso); - }); -} - -void PrimaryCommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { - uint *actorDynamicOffsets = nullptr; - if (dynamicOffsetCount) { - actorDynamicOffsets = ((DeviceAgent *)_device)->getMainAllocator()->allocate(dynamicOffsetCount); - memcpy(actorDynamicOffsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint)); - } - - ENQUEUE_MESSAGE_5( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferBindDescriptorSet, - actor, getActor(), - set, set, - descriptorSet, ((DescriptorSetAgent *)descriptorSet)->getActor(), - dynamicOffsetCount, dynamicOffsetCount, - dynamicOffsets, actorDynamicOffsets, - { - actor->bindDescriptorSet(set, descriptorSet, dynamicOffsetCount, dynamicOffsets); - }); -} - -void PrimaryCommandBufferAgent::bindInputAssembler(InputAssembler *ia) { - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferBindInputAssembler, - actor, getActor(), - ia, ((InputAssemblerAgent *)ia)->getActor(), - { - actor->bindInputAssembler(ia); - }); -} - -void PrimaryCommandBufferAgent::setViewport(const Viewport &vp) { - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferSetViewport, - actor, getActor(), - vp, vp, - { - actor->setViewport(vp); - }); -} - -void PrimaryCommandBufferAgent::setScissor(const Rect &rect) { - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferSetScissor, - actor, getActor(), - rect, rect, - { - actor->setScissor(rect); - }); -} - -void PrimaryCommandBufferAgent::setLineWidth(const float width) { - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferSetLineWidth, - actor, getActor(), - width, width, - { - actor->setLineWidth(width); - }); -} - -void PrimaryCommandBufferAgent::setDepthBias(float constant, float clamp, float slope) { - ENQUEUE_MESSAGE_4( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferSetDepthBias, - actor, getActor(), - constant, constant, - clamp, clamp, - slope, slope, - { - actor->setDepthBias(constant, clamp, slope); - }); -} - -void PrimaryCommandBufferAgent::setBlendConstants(const Color &constants) { - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferSetBlendConstants, - actor, getActor(), - constants, constants, - { - actor->setBlendConstants(constants); - }); -} - -void PrimaryCommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { - ENQUEUE_MESSAGE_3( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferSetDepthBound, - actor, getActor(), - minBounds, minBounds, - maxBounds, maxBounds, - { - actor->setDepthBound(minBounds, maxBounds); - }); -} - -void PrimaryCommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { - ENQUEUE_MESSAGE_3( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferSetStencilWriteMask, - actor, getActor(), - face, face, - mask, mask, - { - actor->setStencilWriteMask(face, mask); - }); -} - -void PrimaryCommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint mask) { - ENQUEUE_MESSAGE_4( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferSetStencilCompareMask, - actor, getActor(), - face, face, - ref, ref, - mask, mask, - { - actor->setStencilCompareMask(face, ref, mask); - }); -} - -void PrimaryCommandBufferAgent::draw(InputAssembler *ia) { - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDraw, - actor, getActor(), - ia, ((InputAssemblerAgent *)ia)->getActor(), - { - actor->draw(ia); - }); -} - -void PrimaryCommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { - MessageQueue *queue = ((DeviceAgent *)_device)->getMessageQueue(); - - uint8_t *actorData = ((DeviceAgent *)_device)->getMainAllocator()->allocate(size); - memcpy(actorData, data, size); - - ENQUEUE_MESSAGE_4( - queue, - CommandBufferUpdateBuffer, - actor, getActor(), - buff, ((BufferAgent *)buff)->getActor(), - data, actorData, - size, size, - { - actor->updateBuffer(buff, data, size); - }); -} - -void PrimaryCommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); - - BufferTextureCopy *actorRegions = allocator->allocate(count); - memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); - - uint bufferCount = 0u; - for (uint i = 0u; i < count; i++) { - bufferCount += regions[i].texSubres.layerCount; - } - const uint8_t **actorBuffers = allocator->allocate(bufferCount); - for (uint i = 0u, n = 0u; i < count; i++) { - const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); - for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = allocator->allocate(size); - memcpy(buffer, buffers[n], size); - actorBuffers[n++] = buffer; - } - } - - ENQUEUE_MESSAGE_5( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferCopyBuffersToTexture, - actor, getActor(), - buffers, actorBuffers, - texture, ((TextureAgent *)texture)->getActor(), - regions, actorRegions, - count, count, - { - actor->copyBuffersToTexture(buffers, texture, regions, count); - }); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.h deleted file mode 100644 index 4de2840bbb..0000000000 --- a/native/cocos/renderer/core/gfx-agent/GFXPrimaryCommandBufferAgent.h +++ /dev/null @@ -1,46 +0,0 @@ -#pragma once - -#include "GFXAgent.h" -#include "../gfx/GFXCommandBuffer.h" - -namespace cc { -namespace gfx { - -class CC_DLL PrimaryCommandBufferAgent final : public Agent { -public: - using Agent::Agent; - PrimaryCommandBufferAgent(Device *device) = delete; - ~PrimaryCommandBufferAgent() override; - - bool initialize(const CommandBufferInfo &info) override; - void destroy() override; - void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; - void end() override; - void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; - void endRenderPass() override; - void bindPipelineState(PipelineState *pso) override; - void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; - void bindInputAssembler(InputAssembler *ia) override; - void setViewport(const Viewport &vp) override; - void setScissor(const Rect &rect) override; - void setLineWidth(const float width) override; - void setDepthBias(float constant, float clamp, float slope) override; - void setBlendConstants(const Color &constants) override; - void setDepthBound(float minBounds, float maxBounds) override; - void setStencilWriteMask(StencilFace face, uint mask) override; - void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - void draw(InputAssembler *ia) override; - void updateBuffer(Buffer *buff, const void *data, uint size) override; - void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; - - uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } - uint getNumInstances() const override { return _actor->getNumInstances(); } - uint getNumTris() const override { return _actor->getNumTris(); } - -private: - friend class DeviceAgent; -}; - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 0cda8e8d24..1e009868a2 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -34,7 +34,7 @@ public: virtual void acquire() = 0; virtual void present() = 0; - CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = doCreateCommandBuffer(info); res->initialize(info); return res; } + CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = doCreateCommandBuffer(info, false); res->initialize(info); return res; } CC_INLINE Fence *createFence(const FenceInfo &info) { Fence *res = createFence(); res->initialize(info); return res; } CC_INLINE Queue *createQueue(const QueueInfo &info) { Queue *res = createQueue(); res->initialize(info); return res; } CC_INLINE Buffer *createBuffer(const BufferInfo &info) { Buffer *res = createBuffer(); res->initialize(info); return res; } @@ -54,6 +54,7 @@ public: copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size())); } + virtual void flushCommands(uint count, CommandBuffer *const *cmdBuffs) {} virtual void setMultithreaded(bool multithreaded) {} virtual SurfaceTransform getSurfaceTransform() const { return _transform; } virtual uint getWidth() const { return _width; } @@ -96,7 +97,7 @@ public: protected: friend class DeviceAgent; - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) = 0; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) = 0; virtual Fence *createFence() = 0; virtual Queue *createQueue() = 0; virtual Buffer *createBuffer() = 0; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 2f2aa9ea5d..fc6f2785b0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -242,8 +242,8 @@ void GLES2Device::bindDeviceContext(bool bound) { } } -CommandBuffer *GLES2Device::doCreateCommandBuffer(const CommandBufferInfo &info) { - if (info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES2PrimaryCommandBuffer(this)); +CommandBuffer *GLES2Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES2PrimaryCommandBuffer(this)); return CC_NEW(GLES2CommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 2d76770b00..958e73e189 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -86,7 +86,7 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 4485935e42..95b18b7db1 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -232,8 +232,8 @@ void GLES3Device::bindDeviceContext(bool bound) { } } -CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info) { - if (info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer(this)); +CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer(this)); return CC_NEW(GLES3CommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 4ae81a6f49..4d6fd6963b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -73,7 +73,7 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 8e98e6f407..6b232a831c 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -71,7 +71,7 @@ public: CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 6e8582db2f..f407a8a5eb 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -231,7 +231,7 @@ Queue *CCMTLDevice::createQueue() { return CC_NEW(CCMTLQueue(this)); } -CommandBuffer *CCMTLDevice::doCreateCommandBuffer(const CommandBufferInfo &info) { +CommandBuffer *CCMTLDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { return CC_NEW(CCMTLCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 948c617b31..3e6fd69c8b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -533,7 +533,7 @@ CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuDevice- CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuDevice->curBackBufferIndex]; } CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } -CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info) { +CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { return CC_NEW(CCVKCommandBuffer(this)); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index deb15daf1e..997d32acf1 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -92,7 +92,7 @@ public: CCVKGPUStagingBufferPool *gpuStagingBufferPool(); private: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info) override; + virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; From 2c1f6f5ae96616606bfc0d6f680f19de7054fb5b Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 7 Jan 2021 11:10:23 +0800 Subject: [PATCH 101/270] fix test case build --- native/cocos/base/CMakeLists.txt | 10 ---------- native/cocos/renderer/core/CMakeLists.txt | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/native/cocos/base/CMakeLists.txt b/native/cocos/base/CMakeLists.txt index e57d5821df..2e632b35b2 100644 --- a/native/cocos/base/CMakeLists.txt +++ b/native/cocos/base/CMakeLists.txt @@ -1,13 +1,3 @@ -if (${COCOS_STATIC}) - set(TBB_BUILD_STATIC ON) - set(TBB_BUILD_SHARED OFF) -else() - set(TBB_BUILD_STATIC OFF) - set(TBB_BUILD_SHARED ON) -endif() -set(TBB_BUILD_TESTS OFF) -add_subdirectory(${GFX_EXTERNAL_PATH}/tbb ${CMAKE_BINARY_DIR}/tbb) - add_subdirectory(job-system) add_subdirectory(threading) diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index 1b814c1b3f..9ed6864c6f 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -27,6 +27,7 @@ set(INCLUDE_FILES ${GFX_EXTERNAL_PATH}/tommyds ${GFX_EXTERNAL_PATH}/concurrentqueue ${GFX_EXTERNAL_PATH}/taskflow + ${GFX_EXTERNAL_PATH}/tbb/include ${COCOS_SRC_PATH}/base ${COCOS_SRC_PATH}/renderer/core ) From 8811ee9bb83cf82d93f31b4cf6ac2f28ebd8dbb1 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 7 Jan 2021 19:17:56 +0800 Subject: [PATCH 102/270] fix cb allocator init --- .../job-system/job-system-tbb/CMakeLists.txt | 16 +++++++--------- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 8 ++++---- .../renderer/core/gfx-agent/GFXDeviceAgent.cpp | 1 + native/cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 -- 5 files changed, 13 insertions(+), 16 deletions(-) diff --git a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt index ab1ef4d4e2..8c0f5d45f9 100644 --- a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt +++ b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt @@ -24,14 +24,18 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) endif() set(CC_BASE_HEADERS + ${COCOS_SRC_PATH}/base/StringUtil.h ${COCOS_SRC_PATH}/base/TypeDef.h ${COCOS_SRC_PATH}/base/Log.h ${COCOS_SRC_PATH}/base/Object.h + ${COCOS_SRC_PATH}/base/UTFString.h ${COCOS_SRC_PATH}/base/memory/Memory.h ${COCOS_SRC_PATH}/math/Math.h ) set(CC_BASE_SOURCES + ${COCOS_SRC_PATH}/base/StringUtil.cpp + ${COCOS_SRC_PATH}/base/UTFString.cpp ${COCOS_SRC_PATH}/base/Log.cpp ${COCOS_SRC_PATH}/base/memory/Memory.cpp ${COCOS_SRC_PATH}/math/Math.cpp @@ -53,15 +57,9 @@ if(COCOS_UNICODE) add_definitions("-DUNICODE -D_UNICODE") endif() -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) - set(TBB_LIBRARIES tbb_static tbbmalloc_static tbbmalloc_proxy_static) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) - set(TBB_LIBRARIES tbb tbbmalloc tbbmalloc_proxy) -endif() - -target_link_libraries(${TARGET_NAME} ${TBB_LIBRARIES}) +add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) +target_link_libraries(${TARGET_NAME} tbb tbbmalloc tbbmalloc_proxy) +target_compile_definitions(${TARGET_NAME} PRIVATE ${CC_EXTERNAL_PRIVATE_DEFINITIONS}) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCTBBJobSystem) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCTBBJobSystem_d) diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 7268c1f536..a2ac0ba3ae 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -53,7 +53,7 @@ CommandBufferAgent::~CommandBufferAgent() { void CommandBufferAgent::initMessageQueue() { _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); - if (_actor->getType() == CommandBufferType::PRIMARY) { + if (_type == CommandBufferType::PRIMARY) { _messageQueue = ((DeviceAgent *)_device)->getMessageQueue(); for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { _allocatorPools[i] = ((DeviceAgent *)_device)->_allocatorPools[i]; @@ -70,7 +70,7 @@ void CommandBufferAgent::initMessageQueue() { } void CommandBufferAgent::destroyMessageQueue() { - if (_actor->getType() == CommandBufferType::PRIMARY) { + if (_type == CommandBufferType::PRIMARY) { _messageQueue = nullptr; } else { ((DeviceAgent *)_device)->getMessageQueue()->kickAndWait(); @@ -89,11 +89,11 @@ LinearAllocatorPool *CommandBufferAgent::getAllocator() { } bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { - initMessageQueue(); - _type = info.type; _queue = info.queue; + initMessageQueue(); + CommandBufferInfo actorInfo = info; actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index e8361ba0f5..ad6aafad3f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -52,6 +52,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { _deviceName = _actor->getDeviceName(); _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); + ((CommandBufferAgent *)_cmdBuff)->_queue = _queue; _renderer = _actor->getRenderer(); _vendor = _actor->getVendor(); _maxVertexAttributes = _actor->getMaxVertexAttributes(); diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 8667478ba9..1f4102bbae 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 0 +#define FORCE_DISABLE_VALIDATION 1 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 3e6fd69c8b..e5fee82745 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -35,8 +35,6 @@ CCVKDevice::CCVKDevice() { } CCVKDevice::~CCVKDevice() { - int i = 1; - i++; } CCVKGPUContext *CCVKDevice::gpuContext() const { From 0194b264d2b39cb6f6bf07321b219b173cb954b7 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 7 Jan 2021 21:25:52 +0800 Subject: [PATCH 103/270] fix test case build --- native/cocos/base/job-system/job-system-tbb/CMakeLists.txt | 7 ++++++- native/cocos/renderer/core/CMakeLists.txt | 1 + native/cocos/renderer/gfx-vulkan/CMakeLists.txt | 5 ++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt index 8c0f5d45f9..557008d6da 100644 --- a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt +++ b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt @@ -57,7 +57,12 @@ if(COCOS_UNICODE) add_definitions("-DUNICODE -D_UNICODE") endif() -add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) +if (COCOS_STATIC) + add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) +else() + add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) +endif() + target_link_libraries(${TARGET_NAME} tbb tbbmalloc tbbmalloc_proxy) target_compile_definitions(${TARGET_NAME} PRIVATE ${CC_EXTERNAL_PRIVATE_DEFINITIONS}) diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt index 9ed6864c6f..5bfba1e729 100644 --- a/native/cocos/renderer/core/CMakeLists.txt +++ b/native/cocos/renderer/core/CMakeLists.txt @@ -141,6 +141,7 @@ else() target_link_libraries(${TARGET_NAME} ${COCOS_EXTERNAL_TARGETS}) endif() target_link_libraries(${TARGET_NAME} TBBJobSystem TFJobSystem Threading) +target_compile_definitions(${TARGET_NAME} PRIVATE ${CC_EXTERNAL_PRIVATE_DEFINITIONS}) if(MSVC) set_property(TARGET ${TARGET_NAME} PROPERTY LINK_FLAGS "/SUBSYSTEM:WINDOWS") diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt index c0fd83ebbb..49b4bdfbbd 100644 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt @@ -64,13 +64,12 @@ endif() if (COCOS_STATIC) add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) - set(TBB_LIBRARIES tbb_static tbbmalloc_static tbbmalloc_proxy_static) else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) - set(TBB_LIBRARIES tbb tbbmalloc tbbmalloc_proxy) endif() -target_link_libraries(${TARGET_NAME} Core glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits ${TBB_LIBRARIES}) +target_link_libraries(${TARGET_NAME} Core glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits tbb tbbmalloc tbbmalloc_proxy) +target_compile_definitions(${TARGET_NAME} PRIVATE ${CC_EXTERNAL_PRIVATE_DEFINITIONS}) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXVulkan) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXVulkan_d) From b06f20ada91b8a57dbfb8d0054c6a9bb966a6fa6 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 7 Jan 2021 21:45:11 +0800 Subject: [PATCH 104/270] one mq each cb --- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 35 ++++++------------- .../core/gfx-agent/GFXDeviceAgent.cpp | 2 ++ 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index a2ac0ba3ae..d1cdc15d3d 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -53,33 +53,22 @@ CommandBufferAgent::~CommandBufferAgent() { void CommandBufferAgent::initMessageQueue() { _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); - if (_type == CommandBufferType::PRIMARY) { - _messageQueue = ((DeviceAgent *)_device)->getMessageQueue(); - for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { - _allocatorPools[i] = ((DeviceAgent *)_device)->_allocatorPools[i]; - } - } else { - for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { - _allocatorPools[i] = CC_NEW(LinearAllocatorPool); - } - ((DeviceAgent *)_device)->_allocatorPoolRefs.insert(_allocatorPools.data()); - - _messageQueue = CC_NEW(MessageQueue); - _messageQueue->setImmediateMode(false); + for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { + _allocatorPools[i] = CC_NEW(LinearAllocatorPool); } + ((DeviceAgent *)_device)->_allocatorPoolRefs.insert(_allocatorPools.data()); + + _messageQueue = CC_NEW(MessageQueue); + _messageQueue->setImmediateMode(false); } void CommandBufferAgent::destroyMessageQueue() { - if (_type == CommandBufferType::PRIMARY) { - _messageQueue = nullptr; - } else { - ((DeviceAgent *)_device)->getMessageQueue()->kickAndWait(); - CC_SAFE_DELETE(_messageQueue); + ((DeviceAgent *)_device)->getMessageQueue()->kickAndWait(); + CC_SAFE_DELETE(_messageQueue); - ((DeviceAgent *)_device)->_allocatorPoolRefs.erase(_allocatorPools.data()); - for (LinearAllocatorPool *pool : _allocatorPools) { - CC_SAFE_DELETE(pool); - } + ((DeviceAgent *)_device)->_allocatorPoolRefs.erase(_allocatorPools.data()); + for (LinearAllocatorPool *pool : _allocatorPools) { + CC_SAFE_DELETE(pool); } _allocatorPools.clear(); } @@ -142,8 +131,6 @@ void CommandBufferAgent::end() { { actor->end(); }); - MessageQueue::freeChunksInFreeQueue(_messageQueue); - _messageQueue->finishWriting(); } void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index ad6aafad3f..92b0c260c8 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -309,6 +309,8 @@ void DeviceAgent::flushCommands(uint count, CommandBuffer *const *cmdBuffs) { const CommandBufferAgent **agentCmdBuffs = getMainAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { agentCmdBuffs[i] = (const CommandBufferAgent *)cmdBuffs[i]; + MessageQueue::freeChunksInFreeQueue(agentCmdBuffs[i]->_messageQueue); + agentCmdBuffs[i]->_messageQueue->finishWriting(); } ENQUEUE_MESSAGE_3( From 6a935a7129e5f49457eaa4ee04bc26f7ccd769c5 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 7 Jan 2021 22:37:37 +0800 Subject: [PATCH 105/270] virtual top node for tbb job graph --- .../job-system/job-system-taskflow/TFJobGraph.cpp | 2 +- .../job-system/job-system-taskflow/TFJobGraph.h | 5 ++--- .../base/job-system/job-system-tbb/TBBJobGraph.cpp | 8 ++------ .../base/job-system/job-system-tbb/TBBJobGraph.h | 13 ++++++++----- native/cocos/base/memory/StlAlloc.h | 4 ++-- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 5 ++--- 6 files changed, 17 insertions(+), 20 deletions(-) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp index 7a8c77ffc8..44398f0fc2 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -9,7 +9,7 @@ void TFJobGraph::makeEdge(uint j1, uint j2) noexcept { _tasks[j1].precede(_tasks[j2]); } -void TFJobGraph::run(uint startJob) noexcept { +void TFJobGraph::run() noexcept { if (_pending) return; _future = _executor->run(_flow); _pending = true; diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index a0056d78ec..d2220912cc 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -10,7 +10,6 @@ using TFJobToken = void; class TFJobGraph final { public: TFJobGraph(TFJobSystem *system) : _executor(&system->_executor) {} - ~TFJobGraph() { _tasks.clear(); } template uint createJob(Function &&func) noexcept; @@ -20,7 +19,7 @@ public: void makeEdge(uint j1, uint j2) noexcept; - void run(uint startJob) noexcept; + void run() noexcept; CC_INLINE void waitForAll() { if (_pending) { @@ -33,7 +32,7 @@ private: tf::Executor *_executor = nullptr; tf::Taskflow _flow; - vector _tasks; + deque _tasks; // existing tasks cannot be invalidated std::future _future; bool _pending = false; diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp index 7bd0967ca6..dd3b2fc4ed 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -16,12 +16,8 @@ void TBBJobGraph::makeEdge(uint j1, uint j2) noexcept { tbb::flow::make_edge(_nodes[j1], _nodes[j2]); } -void TBBJobGraph::run(uint startJob) noexcept { - if (startJob & PARALLEL_JOB_FLAG) { - startJob = _parallelJobs[startJob & PARALLEL_JOB_MASK].predecessor; - } - if (startJob >= _nodes.size()) return; - _nodes[startJob].try_put(tbb::flow::continue_msg()); +void TBBJobGraph::run() noexcept { + _nodes.front().try_put(tbb::flow::continue_msg()); _pending = true; } diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index 8002526314..61e91fbc2b 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -10,7 +10,9 @@ class TBBJobSystem; class TBBJobGraph final { public: - TBBJobGraph(TBBJobSystem *system) {} + TBBJobGraph(TBBJobSystem *system) { + _nodes.emplace_back(_graph, [](TBBJobToken t) {}); + } template uint createJob(Function &&func) noexcept; @@ -20,7 +22,7 @@ public: void makeEdge(uint j1, uint j2) noexcept; - void run(uint startJob) noexcept; + void run() noexcept; CC_INLINE void waitForAll() { if (_pending) { @@ -36,7 +38,7 @@ private: tbb::flow::graph _graph; using TBBJobNode = tbb::flow::continue_node; - vector _nodes; + deque _nodes; // existing nodes cannot be invalidated struct TBBParallelJob { uint predecessor = 0u; @@ -50,17 +52,18 @@ private: template uint TBBJobGraph::createJob(Function &&func) noexcept { _nodes.emplace_back(_graph, func); + tbb::flow::make_edge(_nodes.front(), _nodes.back()); return _nodes.size() - 1u; } template uint TBBJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept { - _nodes.reserve(_nodes.size() + (end - begin) / step + 2); - _nodes.emplace_back(_graph, [](TBBJobToken t) {}); uint predecessorIdx = _nodes.size() - 1u; TBBJobNode &predecessor = _nodes.back(); + tbb::flow::make_edge(_nodes.front(), predecessor); + _nodes.emplace_back(_graph, [](TBBJobToken t) {}); uint successorIdx = _nodes.size() - 1u; TBBJobNode &successor = _nodes.back(); diff --git a/native/cocos/base/memory/StlAlloc.h b/native/cocos/base/memory/StlAlloc.h index b5ca8ef221..e8223e1050 100755 --- a/native/cocos/base/memory/StlAlloc.h +++ b/native/cocos/base/memory/StlAlloc.h @@ -239,7 +239,7 @@ template ::type, typename P = std::l using priority_queue = std::priority_queue; template > -using dequeue = std::deque; +using deque = std::deque; template , typename A = SA> using set = std::set; @@ -269,7 +269,7 @@ template ::type, typename P = std::l using priority_queue = std::priority_queue; template -using dequeue = std::deque; +using deque = std::deque; template > using set = std::set; diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index d1cdc15d3d..bcfe887f97 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -23,11 +23,10 @@ void CommandBufferAgent::flushCommands(uint count, CommandBufferAgent *const *cm if (count > workForThisThread + 1 && multiThreaded) { // more than one job to dispatch JobGraph g(JobSystem::getInstance()); - - uint job = g.createForEachIndexJob(workForThisThread, count, 1u, [cmdBuffs](uint i) { + g.createForEachIndexJob(workForThisThread, count, 1u, [cmdBuffs](uint i) { cmdBuffs[i]->getMessageQueue()->flushMessages(); }); - g.run(job); + g.run(); for (uint i = 0u; i < workForThisThread; ++i) { cmdBuffs[i]->getMessageQueue()->flushMessages(); From 5fedfe84c8791b1f203abd1772d2e21d308c950f Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 7 Jan 2021 18:45:56 +0800 Subject: [PATCH 106/270] Reapply gfx-metal modifications for multi thread encoding and View replacement --- native/cocos/renderer/gfx-metal/MTLBuffer.h | 1 - .../renderer/gfx-metal/MTLCommandBuffer.h | 5 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 100 ++++++++++++++---- native/cocos/renderer/gfx-metal/MTLConfig.h | 1 + native/cocos/renderer/gfx-metal/MTLContext.mm | 9 +- .../renderer/gfx-metal/MTLDescriptorSet.mm | 4 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 10 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 59 ++++++++--- .../gfx-metal/MTLRenderCommandEncoder.h | 14 ++- 9 files changed, 157 insertions(+), 46 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index f39ddacd22..438a573976 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -60,7 +60,6 @@ private: id _mtlBuffer = nullptr; MTLIndexType _indexType = MTLIndexTypeUInt16; MTLResourceOptions _mtlResourceOptions = MTLResourceStorageModePrivate; - NSMutableArray *_dynamicDataBuffers = nil; bool _isIndirectDrawSupported = false; uint _bufferViewOffset = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 8db13a30ce..a8b83593fa 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -85,12 +85,15 @@ private: bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; + bool _isSecondary = false; + NSAutoreleasePool *_autoreleasePool = nullptr; CCMTLDevice *_mtlDevice = nullptr; -// id _currDrawable = nil; + id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; MTKView *_mtkView = nil; CCMTLRenderCommandEncoder _commandEncoder; + id _parallelEncoder = nil; CCMTLInputAssembler *_inputAssembler = nullptr; MTLIndexType _indexType = MTLIndexTypeUInt16; MTLPrimitiveType _mtlPrimitiveType = MTLPrimitiveType::MTLPrimitiveTypeTriangle; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 0cea04a7b5..d06dfed478 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -44,7 +44,9 @@ namespace cc { namespace gfx { CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) -: CommandBuffer(device), _mtlDevice((CCMTLDevice *)device), _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())), _mtkView((MTKView *)(((CCMTLDevice *)device)->getMTKView())) { +: CommandBuffer(device) +, _mtlDevice((CCMTLDevice *)device) +, _mtlCommandQueue(id(((CCMTLDevice *)device)->getMTLCommandQueue())) { const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); _GPUDescriptorSets.resize(setCount); _dynamicOffsets.resize(setCount); @@ -58,14 +60,44 @@ bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) { } void CCMTLCommandBuffer::destroy() { + if (_autoreleasePool) { + [_autoreleasePool release]; + _autoreleasePool = nullptr; + } +} + +id CCMTLCommandBuffer::getCurrentDrawable() { + if (!_currDrawable) { + CAMetalLayer *layer = (CAMetalLayer*)_mtlDevice->getMTLLayer(); + _currDrawable = [[layer nextDrawable] retain]; + } + return _currDrawable; +} + +bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { + const int num = renderPass->getColorRenderTargetNums(); + if (num == 0) { + return true; + } + const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; + return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { if (_commandBufferBegan) return; - _mtlCommandBuffer = [_mtlCommandQueue commandBuffer]; - [_mtlCommandBuffer retain]; - [_mtlCommandBuffer enqueue]; + if (!_autoreleasePool) { + _mtlDevice->ensureAutoreleasePool(); + _autoreleasePool = [[NSAutoreleasePool alloc] init]; +// CC_LOG_INFO("%d CB POOL: %p ALLOCED for %p", [NSThread currentThread], _autoreleasePool, this); + } + + _isSecondary = renderPass != nullptr && _mtlCommandBuffer; + if (!_isSecondary) { + // Sub command buffer for parallel shouldn't request any command buffer + _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; + [_mtlCommandBuffer enqueue]; + } _numTriangles = 0; _numDrawCalls = 0; _numInstances = 0; @@ -80,24 +112,38 @@ void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void CCMTLCommandBuffer::end() { if (!_commandBufferBegan) return; - _commandBufferBegan = false; -} -bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { - const int num = renderPass->getColorRenderTargetNums(); - if (num == 0) { - return true; + if (_isSecondary) { + // Secondary command buffer should end encoding here + _commandEncoder.endEncoding(); + } + + if (_currDrawable) { + [_currDrawable release]; + _currDrawable = nil; + } + + if (_autoreleasePool) { +// CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], _autoreleasePool, this); + [_autoreleasePool drain]; + _autoreleasePool = nullptr; } - const auto &renderTargetSize = renderPass->getRenderTargetSizes()[0]; - return rect.x == 0 && rect.y == 0 && rect.width == renderTargetSize.x && rect.height == renderTargetSize.y; } void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { + // Sub CommandBuffer shouldn't call begin render pass + if (_isSecondary) + { + return; + } + auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { - static_cast(renderPass)->setColorAttachment(0, _mtkView.currentDrawable.texture, 0); - static_cast(renderPass)->setDepthStencilAttachment(_mtkView.depthStencilTexture, 0); + id drawable = getCurrentDrawable(); + id dssTex = (id)_mtlDevice->getDSSTexture(); + static_cast(renderPass)->setColorAttachment(0, drawable.texture, 0); + static_cast(renderPass)->setDepthStencilAttachment(dssTex, 0); } MTLRenderPassDescriptor *mtlRenderPassDescriptor = static_cast(renderPass)->getMTLRenderPassDescriptor(); if (!isRenderingEntireDrawable(renderArea, static_cast(renderPass))) { @@ -115,13 +161,31 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb mtlRenderPassDescriptor.stencilAttachment.clearStencil = stencil; } - _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); + if (secondaryCBCount > 0) { + _parallelEncoder = [[_mtlCommandBuffer parallelRenderCommandEncoderWithDescriptor:mtlRenderPassDescriptor] retain]; + // Create command encoders from parallel encoder and assign to command buffers + for (uint i = 0u; i < secondaryCBCount; ++i) { + CCMTLCommandBuffer *cmdBuff = (CCMTLCommandBuffer *)secondaryCBs[i]; + cmdBuff->_commandEncoder.initialize(_parallelEncoder); + cmdBuff->_mtlCommandBuffer = _mtlCommandBuffer; + } + } + else { + _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); + } _commandEncoder.setViewport(renderArea); _commandEncoder.setScissor(renderArea); } void CCMTLCommandBuffer::endRenderPass() { - _commandEncoder.endEncoding(); + if (_parallelEncoder) { + [_parallelEncoder endEncoding]; + [_parallelEncoder release]; + _parallelEncoder = nil; + } + else { + _commandEncoder.endEncoding(); + } } void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) { @@ -201,7 +265,7 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { const auto indexBuffer = static_cast(ia->getIndexBuffer()); auto mtlEncoder = _commandEncoder.getMTLEncoder(); - if (_type == CommandBufferType::PRIMARY) { + if (_type == CommandBufferType::PRIMARY || _type == CommandBufferType::SECONDARY) { if (indirectBuffer) { const auto indirectMTLBuffer = indirectBuffer->getMTLBuffer(); @@ -306,8 +370,6 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { } } - } else if (_type == CommandBufferType::SECONDARY) { - CC_LOG_ERROR("CommandBufferType::SECONDARY not implemented."); } else { CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); } diff --git a/native/cocos/renderer/gfx-metal/MTLConfig.h b/native/cocos/renderer/gfx-metal/MTLConfig.h index f2ab0bb9c5..361da57717 100644 --- a/native/cocos/renderer/gfx-metal/MTLConfig.h +++ b/native/cocos/renderer/gfx-metal/MTLConfig.h @@ -24,3 +24,4 @@ THE SOFTWARE. #pragma once #define MAX_FRAMES_IN_FLIGHT 3 +#define MAX_COMMAND_BUFFER_COUNT 256 diff --git a/native/cocos/renderer/gfx-metal/MTLContext.mm b/native/cocos/renderer/gfx-metal/MTLContext.mm index 2b2144c754..5113d29d2a 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.mm +++ b/native/cocos/renderer/gfx-metal/MTLContext.mm @@ -54,9 +54,12 @@ CCMTLContext::CCMTLContext(Device *device) bool CCMTLContext::initialize(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; - MTKView *view = (MTKView *)((CCMTLDevice *)_device)->getMTKView(); - _colorFmt = toFormat(view.colorPixelFormat); - _depthStencilFmt = toFormat(view.depthStencilPixelFormat); + + CCMTLDevice *device = (CCMTLDevice *)_device; + CAMetalLayer *layer = (CAMetalLayer *)device->getMTLLayer(); + _colorFmt = toFormat(layer.pixelFormat); + id dssTex = (id)device->getDSSTexture(); + _depthStencilFmt = toFormat(dssTex.pixelFormat); return true; } diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index cec98d58e2..00dab04f11 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -49,9 +49,9 @@ bool CCMTLDescriptorSet::initialize(const DescriptorSetInfo &info) { _gpuDescriptorSet = CC_NEW(CCMTLGPUDescriptorSet); _gpuDescriptorSet->descriptorIndices = &gpuDescriptorSetLayout->descriptorIndices; _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount); - for (auto i = 0, k = 0; i < bindingCount; i++) { + for (auto i = 0u, k = 0u; i < bindingCount; i++) { const auto &binding = gpuDescriptorSetLayout->bindings[i]; - for (auto j = 0; j < binding.count; j++, k++) { + for (auto j = 0u; j < binding.count; j++, k++) { _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; } } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 6b232a831c..232e3c005b 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -60,7 +60,7 @@ public: virtual void present() override; CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } - CC_INLINE void *getMTKView() const { return _mtkView; } + CC_INLINE void *getMTLLayer() const { return _mtlLayer; } CC_INLINE void *getMTLDevice() const { return _mtlDevice; } CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } @@ -69,6 +69,9 @@ public: CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } + CC_INLINE void *getDSSTexture() const { return _dssTex; } + + void ensureAutoreleasePool(); protected: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; @@ -90,10 +93,11 @@ protected: private: void onMemoryWarning(); -private: + void *_autoreleasePool = nullptr; void *_mtlCommandQueue = nullptr; - void *_mtkView = nullptr; void *_mtlDevice = nullptr; + void *_mtlLayer = nullptr; + void *_dssTex = nullptr; unsigned long _mtlFeatureSet = 0; uint _maxSamplerUnits = 0; uint _maxColorRenderTargets = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index f407a8a5eb..cbf0ca1335 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -78,10 +78,16 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _inFlightSemaphore = CC_NEW(CCMTLSemaphore(MAX_FRAMES_IN_FLIGHT)); _currentFrameIndex = 0; - _mtkView = (MTKView *)_windowHandle; - id mtlDevice = ((MTKView *)_mtkView).device; +#if CC_PLATFORM == CC_PLATFORM_MAC_OSX + NSView *view = (NSView *)_windowHandle; +#else + UIView *view = (UIView *)_windowHandle; +#endif + CAMetalLayer *layer = static_cast(view.layer); + _mtlLayer = layer; + id mtlDevice = (id)layer.device; _mtlDevice = mtlDevice; - _mtlCommandQueue = [mtlDevice newCommandQueue]; + _mtlCommandQueue = [mtlDevice newCommandQueueWithMaxCommandBufferCount: MAX_COMMAND_BUFFER_COUNT]; _mtlFeatureSet = mu::highestSupportedFeatureSet(mtlDevice); const auto gpuFamily = mu::getGPUFamily(MTLFeatureSet(_mtlFeatureSet)); @@ -96,10 +102,18 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _uboOffsetAlignment = mu::getMinBufferOffsetAlignment(gpuFamily); _icbSuppored = mu::isIndirectCommandBufferSupported(MTLFeatureSet(_mtlFeatureSet)); _isSamplerDescriptorCompareFunctionSupported = mu::isSamplerDescriptorCompareFunctionSupported(gpuFamily); - MTKView *view = static_cast(_mtkView); - if (view.colorPixelFormat == MTLPixelFormatInvalid) view.colorPixelFormat = MTLPixelFormatBGRA8Unorm; - view.depthStencilPixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); + if (layer.pixelFormat == MTLPixelFormatInvalid) { + layer.pixelFormat = MTLPixelFormatBGRA8Unorm; + } + // Persistent depth stencil texture + MTLTextureDescriptor *dssDescriptor = [[MTLTextureDescriptor alloc] init]; + dssDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); + dssDescriptor.width = info.width; + dssDescriptor.height = info.height; + dssDescriptor.storageMode = MTLStorageModePrivate; + dssDescriptor.usage = MTLTextureUsageRenderTarget; + _dssTex = [mtlDevice newTextureWithDescriptor:dssDescriptor]; _stencilBits = 8; ContextInfo contextCreateInfo; @@ -167,7 +181,7 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _features[static_cast(Feature::FORMAT_D32F)] = mu::isDepthStencilFormatSupported(mtlDevice, Format::D32F, gpuFamily); _features[static_cast(Feature::FORMAT_D32FS8)] = mu::isDepthStencilFormatSupported(mtlDevice, Format::D32F_S8, gpuFamily); - _memoryAlarmListenerId = EventDispatcher::addCustomEventListener(EVENT_MEMORY_WARNING, std::bind(&CCMTLDevice::onMemoryWarning, this)); +// _memoryAlarmListenerId = EventDispatcher::addCustomEventListener(EVENT_MEMORY_WARNING, std::bind(&CCMTLDevice::onMemoryWarning, this)); CC_LOG_INFO("Metal Feature Set: %s", mu::featureSetToString(MTLFeatureSet(_mtlFeatureSet)).c_str()); @@ -175,10 +189,15 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { } void CCMTLDevice::destroy() { - if (_memoryAlarmListenerId != 0) { - EventDispatcher::removeCustomEventListener(EVENT_MEMORY_WARNING, _memoryAlarmListenerId); - _memoryAlarmListenerId = 0; +// if (_memoryAlarmListenerId != 0) { +// EventDispatcher::removeCustomEventListener(EVENT_MEMORY_WARNING, _memoryAlarmListenerId); +// _memoryAlarmListenerId = 0; +// } + if (_autoreleasePool) { + [(NSAutoreleasePool*)_autoreleasePool drain]; + _autoreleasePool = nullptr; } + CC_SAFE_DESTROY(_queue); CC_SAFE_DESTROY(_cmdBuff); CC_SAFE_DESTROY(_context); @@ -192,9 +211,17 @@ void CCMTLDevice::destroy() { void CCMTLDevice::resize(uint width, uint height) {} +void CCMTLDevice::ensureAutoreleasePool() { + if (!_autoreleasePool) { + _autoreleasePool = [[NSAutoreleasePool alloc] init]; +// CC_LOG_INFO("POOL: %p ALLOCED", _autoreleasePool); + } +} + void CCMTLDevice::acquire() { _inFlightSemaphore->wait(); + ensureAutoreleasePool(); // Clear queue stats CCMTLQueue *queue = static_cast(_queue); queue->_numDrawCalls = 0; @@ -212,15 +239,21 @@ void CCMTLDevice::present() { CCMTLGPUStagingBufferPool *bufferPool = _gpuStagingBufferPools[_currentFrameIndex]; _currentFrameIndex = (_currentFrameIndex + 1) % MAX_FRAMES_IN_FLIGHT; - auto mtlCommandBuffer = static_cast(_cmdBuff)->getMTLCommandBuffer(); - auto mtkView = static_cast(_mtkView); - [mtlCommandBuffer presentDrawable:mtkView.currentDrawable]; + CCMTLCommandBuffer *cmdBuff = static_cast(_cmdBuff); + id mtlCommandBuffer = cmdBuff->getMTLCommandBuffer(); + [mtlCommandBuffer presentDrawable:cmdBuff->getCurrentDrawable()]; [mtlCommandBuffer addCompletedHandler:^(id commandBuffer) { [commandBuffer release]; bufferPool->reset(); _inFlightSemaphore->signal(); }]; [mtlCommandBuffer commit]; + + if (_autoreleasePool) { +// CC_LOG_INFO("POOL: %p RELEASED", _autoreleasePool); + [(NSAutoreleasePool*)_autoreleasePool drain]; + _autoreleasePool = nullptr; + } } Fence *CCMTLDevice::createFence() { diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index 7c90ae3c15..d17aa864dd 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -51,10 +51,16 @@ public: CCMTLRenderCommandEncoder &operator=(const CCMTLRenderCommandEncoder &) = delete; CCMTLRenderCommandEncoder &operator=(CCMTLRenderCommandEncoder &&) = delete; - CC_INLINE void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) { - _mtlEncoder = [commandBuffer renderCommandEncoderWithDescriptor:descriptor]; - [_mtlEncoder retain]; + void initialize(id commandBuffer, MTLRenderPassDescriptor *descriptor) { + _mtlEncoder = [[commandBuffer renderCommandEncoderWithDescriptor:descriptor] retain]; + clearStates(); + } + void initialize(id parallelEncoder) { + _mtlEncoder = [[parallelEncoder renderCommandEncoder] retain]; + clearStates(); + } + CC_INLINE void clearStates() { _isViewportSet = false; _isScissorRectSet = false; _isCullModeSet = false; @@ -285,7 +291,7 @@ private: float _slope = 0.f; MTLCullMode _cullMode = MTLCullModeNone; MTLWinding _frontFacingWinding = MTLWindingClockwise; - MTLDepthClipMode _depthClipMode = MTLDepthClipModeClip; + CC_UNUSED MTLDepthClipMode _depthClipMode = MTLDepthClipModeClip; MTLTriangleFillMode _triangleFillMode = MTLTriangleFillModeFill; Viewport _viewport; Rect _scissorRect; From 9eb411fa206f7f58a5416a75879af43e3003b14b Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 7 Jan 2021 23:26:04 +0800 Subject: [PATCH 107/270] Use NSView/UIView instead of MTKView --- native/CMakeLists.txt | 1 + native/cocos/bindings/auto/jsb_gfx_auto.cpp | 31 ------------------- native/cocos/platform/ios/Application-ios.mm | 25 +++------------ native/cocos/platform/ios/View.h | 7 ++--- native/cocos/platform/ios/View.mm | 30 +++++++++--------- native/cocos/platform/mac/Application-mac.mm | 18 ----------- native/cocos/platform/mac/View.h | 12 ++++---- native/cocos/platform/mac/View.mm | 32 ++++++++++++-------- 8 files changed, 49 insertions(+), 107 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 79ad8c814d..418f59cdee 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -1620,6 +1620,7 @@ if(APPLE) "-framework GameController" "-framework Metal" "-framework MetalKit" + "-framework QuartzCore" "-lSQLite3" "-framework Security" "-framework SystemConfiguration" diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 62533ed5ad..abe47fed5e 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -11511,37 +11511,6 @@ static bool js_gfx_CommandBuffer_begin(se::State& s) } } while(false); - do { - if (argc == 4) { - HolderType arg0 = {}; - HolderType arg1 = {}; - HolderType arg2 = {}; - HolderType arg3 = {}; - - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); - if (!ok) { ok = true; break; } - cobj->begin(arg0.value(), arg1.value(), arg2.value(), arg3.value()); - return true; - } - } while(false); - - do { - if (argc == 1) { - HolderType arg0 = {}; - - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - if (!ok) { ok = true; break; } - cobj->begin(arg0.value()); - return true; - } - } while(false); - do { if (argc == 1) { HolderType arg0 = {}; diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index a424e5be63..29302e5945 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -30,7 +30,6 @@ #include "bindings/jswrapper/SeApi.h" #include "audio/include/AudioEngine.h" -#ifndef CC_USE_METAL @interface MyTimer : NSObject { cc::Application* _app; CADisplayLink* _displayLink; @@ -76,7 +75,6 @@ } @end -#endif namespace cc { @@ -106,10 +104,8 @@ namespace { se->evalString(commandBuf); return true; } - -#ifndef CC_USE_METAL + MyTimer* _timer; -#endif } Application* Application::_instance = nullptr; @@ -121,10 +117,8 @@ Application::Application(int width, int height) { EventDispatcher::init(); _viewLogicalSize.x = width; _viewLogicalSize.y = height; - -#ifndef CC_USE_METAL + _timer = [[MyTimer alloc] initWithApp:this fps:_fps]; -#endif } Application::~Application() { @@ -136,10 +130,8 @@ Application::~Application() { se::ScriptEngine::destroyInstance(); Application::_instance = nullptr; - -#ifndef CC_USE_METAL + [_timer release]; -#endif } std::string Application::getCurrentLanguageCode() const { @@ -220,24 +212,17 @@ void Application::copyTextToClipboard(const std::string &text) { bool Application::init() { se::ScriptEngine* se = se::ScriptEngine::getInstance(); se->addRegisterCallback(setCanvasCallback); - -#ifndef CC_USE_METAL + [_timer start]; -#endif - return true; } void Application::onPause() { -#ifndef CC_USE_METAL [_timer pause]; -#endif } void Application::onResume() { -#ifndef CC_USE_METAL [_timer resume]; -#endif } std::string Application::getSystemVersion() { @@ -247,9 +232,7 @@ std::string Application::getSystemVersion() { void Application::setPreferredFramesPerSecond(int fps) { _fps = fps; -#ifndef CC_USE_METAL [_timer changeFPS:_fps]; -#endif } } diff --git a/native/cocos/platform/ios/View.h b/native/cocos/platform/ios/View.h index f63d2c2894..1924b45cc0 100644 --- a/native/cocos/platform/ios/View.h +++ b/native/cocos/platform/ios/View.h @@ -29,13 +29,12 @@ #import #endif -#ifdef CC_USE_METAL -@interface View : MTKView -#else @interface View : UIView -#endif @property(nonatomic, assign)BOOL preventTouch; +#ifdef CC_USE_METAL +@property(nonatomic, assign) id device; +#endif -(void) setPreventTouchEvent:(BOOL) flag; diff --git a/native/cocos/platform/ios/View.mm b/native/cocos/platform/ios/View.mm index b983deace0..c53ca58f41 100644 --- a/native/cocos/platform/ios/View.mm +++ b/native/cocos/platform/ios/View.mm @@ -24,6 +24,7 @@ #import "View.h" #include "bindings/event/EventDispatcher.h" #include "platform/Application.h" +#include namespace { void dispatchEvents(cc::TouchEvent &touchEvent, NSSet *touches) { @@ -43,7 +44,11 @@ void dispatchEvents(cc::TouchEvent &touchEvent, NSSet *touches) { @synthesize preventTouch; -#ifndef CC_USE_METAL +#ifdef CC_USE_METAL ++ (Class)layerClass { + return [CAMetalLayer class]; +} +#else + (Class)layerClass { return [CAEAGLLayer class]; } @@ -51,10 +56,17 @@ void dispatchEvents(cc::TouchEvent &touchEvent, NSSet *touches) { - (id)initWithFrame:(CGRect)frame { #ifdef CC_USE_METAL - if (self = [super initWithFrame:frame device:MTLCreateSystemDefaultDevice()]) { - self.framebufferOnly = YES; - self.delegate = self; + if (self = [super initWithFrame:frame]) { self.preventTouch = FALSE; + + int pixelRatio = [[UIScreen mainScreen] scale]; + CGSize size = CGSizeMake(frame.size.width * pixelRatio, frame.size.height * pixelRatio); + self.contentScaleFactor = pixelRatio; + // Config metal layer + CAMetalLayer *layer = (CAMetalLayer*)self.layer; + layer.pixelFormat = MTLPixelFormatBGRA8Unorm; + layer.device = self.device = MTLCreateSystemDefaultDevice(); + layer.drawableSize = size; } #else if (self = [super initWithFrame:frame]) { @@ -101,14 +113,4 @@ void dispatchEvents(cc::TouchEvent &touchEvent, NSSet *touches) { self.preventTouch = flag; } -#ifdef CC_USE_METAL -- (void)drawInMTKView:(nonnull MTKView *)view { - cc::Application::getInstance()->tick(); -} - -- (void)mtkView:(nonnull MTKView *)view drawableSizeWillChange:(CGSize)size { - //TODO -} -#endif - @end diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index 7498816aae..9167b9d58c 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -100,9 +100,7 @@ bool setCanvasCallback(se::Object *global) { return true; } -#ifndef CC_USE_METAL MyTimer *_timer; -#endif } Application *Application::_instance = nullptr; @@ -117,9 +115,7 @@ Application::Application(int width, int height) { _scheduler = std::make_shared(); EventDispatcher::init(); -#ifndef CC_USE_METAL _timer = [[MyTimer alloc] initWithApp:this fps:_fps]; -#endif } Application::~Application() { @@ -132,29 +128,19 @@ Application::~Application() { se::ScriptEngine::destroyInstance(); Application::_instance = nullptr; - -#ifndef CC_USE_METAL [_timer release]; -#endif } bool Application::init() { se::ScriptEngine *se = se::ScriptEngine::getInstance(); se->addRegisterCallback(setCanvasCallback); - -#ifndef CC_USE_METAL [_timer start]; -#endif - return true; } void Application::setPreferredFramesPerSecond(int fps) { _fps = fps; - -#ifndef CC_USE_METAL [_timer changeFPS:_fps]; -#endif } Application::Platform Application::getPlatform() const { @@ -236,15 +222,11 @@ void Application::copyTextToClipboard(const std::string &text) { } void Application::onPause() { -#ifndef CC_USE_METAL [_timer pause]; -#endif } void Application::onResume() { -#ifndef CC_USE_METAL [_timer resume]; -#endif } std::string Application::getSystemVersion() { diff --git a/native/cocos/platform/mac/View.h b/native/cocos/platform/mac/View.h index 415c3dce3a..67d2424f59 100644 --- a/native/cocos/platform/mac/View.h +++ b/native/cocos/platform/mac/View.h @@ -21,16 +21,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ + +#import #ifdef CC_USE_METAL - #import -#else - #import +#import #endif -#ifdef CC_USE_METAL -@interface View : MTKView -#else @interface View : NSView + +#ifdef CC_USE_METAL +@property(nonatomic, assign) id device; #endif @end diff --git a/native/cocos/platform/mac/View.mm b/native/cocos/platform/mac/View.mm index 5a39b7536b..2469097a06 100644 --- a/native/cocos/platform/mac/View.mm +++ b/native/cocos/platform/mac/View.mm @@ -27,34 +27,40 @@ #include "platform/Application.h" #import #import +#import +#import @implementation View { cc::MouseEvent _mouseEvent; cc::KeyboardEvent _keyboardEvent; } +#ifdef CC_USE_METAL +- (CALayer *)makeBackingLayer +{ + return [CAMetalLayer layer]; +} +#endif + - (instancetype)initWithFrame:(NSRect)frameRect { if (self = [super initWithFrame:frameRect]) { [self.window makeFirstResponder:self]; + #ifdef CC_USE_METAL - self.device = MTLCreateSystemDefaultDevice(); - self.framebufferOnly = YES; - self.delegate = self; + int pixelRatio = [[NSScreen mainScreen] backingScaleFactor]; + CGSize size = CGSizeMake(frameRect.size.width * pixelRatio, frameRect.size.height * pixelRatio); + // Create CAMetalLayer + self.wantsLayer = YES; + // Config metal layer + CAMetalLayer *layer = (CAMetalLayer*)self.layer; + layer.pixelFormat = MTLPixelFormatBGRA8Unorm; + layer.device = self.device = MTLCreateSystemDefaultDevice(); + layer.drawableSize = size; #endif } return self; } -#ifdef CC_USE_METAL -- (void)drawInMTKView:(MTKView *)view { - cc::Application::getInstance()->tick(); -} - -- (void)mtkView:(nonnull MTKView *)view drawableSizeWillChange:(CGSize)size { - CC_LOG_WARNING("CCView::mtkView: drawable size will change: %f x %f", size.width, size.height); -} -#endif - - (void)keyDown:(NSEvent *)event { _keyboardEvent.key = translateKeycode(event.keyCode); _keyboardEvent.action = [event isARepeat] ? cc::KeyboardEvent::Action::REPEAT From baf7a00221e0083c721684e76ea0d39262fb056e Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 8 Jan 2021 11:06:51 +0800 Subject: [PATCH 108/270] fix cmd allocator leak --- native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp | 7 +++++++ .../cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 2 ++ native/cocos/renderer/gfx-gles2/GLES2Queue.cpp | 2 ++ native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp | 7 +++++++ .../cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 2 ++ native/cocos/renderer/gfx-gles3/GLES3Queue.cpp | 2 ++ 6 files changed, 22 insertions(+) diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index f3f0a951d6..eb25aa5b10 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -313,6 +313,8 @@ void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex } void GLES2CommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + CCASSERT(false, "Command 'execute' must be recorded in primary command buffers."); + for (uint i = 0; i < count; ++i) { GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); @@ -350,6 +352,11 @@ void GLES2CommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); + + // current cmd allocator strategy will not work here: (but it doesn't matter anyways) + // allocators are designed to only free the cmds they allocated + // but here we are essentially ¡®transfering' the owner ship + //cmdBuff->_cmdAllocator->clearCmds(cmdPackage); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 69934b0c90..d5cd354c4a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -141,6 +141,8 @@ void GLES2PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, ui cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index 9a1c364673..a38f7f3527 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -59,6 +59,8 @@ void GLES2Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 4c2e6c782a..1c6b19bb41 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -320,6 +320,8 @@ void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex } void GLES3CommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { + CCASSERT(false, "Command 'execute' must be recorded in primary command buffers."); + for (uint i = 0; i < count; ++i) { GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); @@ -357,6 +359,11 @@ void GLES3CommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); + + // current cmd allocator strategy will not work here: (but it doesn't matter anyways) + // allocators are designed to only free the cmds they allocated + // but here we are essentially ¡®transfering' the owner ship + //cmdBuff->_cmdAllocator->clearCmds(cmdPackage); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 4e9cc6b61c..1c7de16367 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -141,6 +141,8 @@ void GLES3PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, ui cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index ab536ec121..0d7400e3ce 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -59,6 +59,8 @@ void GLES3Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); } } } From 4c7119c9b4169675500f3fe29ca028ce4fbc63b6 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 8 Jan 2021 11:58:09 +0800 Subject: [PATCH 109/270] interface adjust --- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 162 +++++++----------- native/cocos/bindings/auto/jsb_gfx_auto.h | 5 +- native/cocos/bindings/auto/jsb_mtl_auto.cpp | 40 +++++ native/cocos/bindings/auto/jsb_mtl_auto.h | 2 + .../core/gfx-agent/GFXCommandBufferAgent.cpp | 17 +- .../core/gfx-agent/GFXCommandBufferAgent.h | 4 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 2 +- .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 18 +- .../renderer/core/gfx-agent/GFXQueueAgent.h | 2 +- .../renderer/core/gfx/GFXCommandBuffer.h | 31 ++-- native/cocos/renderer/core/gfx/GFXDevice.h | 7 +- native/cocos/renderer/core/gfx/GFXQueue.h | 7 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 6 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 4 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 4 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 4 +- .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 2 +- native/cocos/renderer/gfx-gles2/GLES2Queue.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 6 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 4 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 4 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 4 +- .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 2 +- native/cocos/renderer/gfx-gles3/GLES3Queue.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 6 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 6 +- native/cocos/renderer/gfx-metal/MTLQueue.h | 2 +- native/cocos/renderer/gfx-metal/MTLQueue.mm | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 4 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 4 +- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 4 +- native/cocos/renderer/gfx-vulkan/VKQueue.h | 2 +- .../pipeline/forward/ForwardPipeline.cpp | 1 + native/tools/tojs/gfx.ini | 10 +- 35 files changed, 192 insertions(+), 192 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index abe47fed5e..3f5078cca3 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -11511,6 +11511,23 @@ static bool js_gfx_CommandBuffer_begin(se::State& s) } } while(false); + do { + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->begin(arg0.value(), arg1.value(), arg2.value()); + return true; + } + } while(false); + do { if (argc == 1) { HolderType arg0 = {}; @@ -11536,33 +11553,16 @@ static bool js_gfx_CommandBuffer_begin(se::State& s) } } while(false); - do { - if (argc == 3) { - HolderType arg0 = {}; - HolderType arg1 = {}; - HolderType arg2 = {}; - - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); - if (!ok) { ok = true; break; } - cobj->begin(arg0.value(), arg1.value(), arg2.value()); - return true; - } - } while(false); - SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); return false; } SE_BIND_FUNC(js_gfx_CommandBuffer_begin) -static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) +static bool js_gfx_CommandBuffer_beginRenderPassForJS(se::State& s) { CC_UNUSED bool ok = true; cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2( cobj, false, "js_gfx_CommandBuffer_beginRenderPass : Invalid Native Object"); + SE_PRECONDITION2( cobj, false, "js_gfx_CommandBuffer_beginRenderPassForJS : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); do { @@ -11586,21 +11586,20 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) if (!ok) { ok = true; break; } ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); if (!ok) { ok = true; break; } - cobj->beginRenderPass(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + cobj->beginRenderPassForJS(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); return true; } } while(false); do { - if (argc == 8) { + if (argc == 7) { HolderType arg0 = {}; HolderType arg1 = {}; HolderType arg2 = {}; - HolderType arg3 = {}; + HolderType arg3 = {}; HolderType arg4 = {}; HolderType arg5 = {}; - HolderType arg6 = {}; - HolderType arg7 = {}; + HolderType, true> arg6 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); if (!ok) { ok = true; break; } @@ -11616,35 +11615,7 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) if (!ok) { ok = true; break; } ok &= sevalue_to_native(args[6], &arg6, s.thisObject()); if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[7], &arg7, s.thisObject()); - if (!ok) { ok = true; break; } - cobj->beginRenderPass(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value(), arg6.value(), arg7.value()); - return true; - } - } while(false); - - do { - if (argc == 6) { - HolderType arg0 = {}; - HolderType arg1 = {}; - HolderType arg2 = {}; - HolderType arg3 = {}; - HolderType arg4 = {}; - HolderType arg5 = {}; - - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); - if (!ok) { ok = true; break; } - cobj->beginRenderPass(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + cobj->beginRenderPassForJS(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value(), arg6.value()); return true; } } while(false); @@ -11652,7 +11623,7 @@ static bool js_gfx_CommandBuffer_beginRenderPass(se::State& s) SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); return false; } -SE_BIND_FUNC(js_gfx_CommandBuffer_beginRenderPass) +SE_BIND_FUNC(js_gfx_CommandBuffer_beginRenderPassForJS) static bool js_gfx_CommandBuffer_bindDescriptorSetForJS(se::State& s) { @@ -12112,7 +12083,7 @@ bool js_register_gfx_CommandBuffer(se::Object* obj) auto cls = se::Class::create("CommandBuffer", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_CommandBuffer_constructor)); cls->defineFunction("begin", _SE(js_gfx_CommandBuffer_begin)); - cls->defineFunction("beginRenderPass", _SE(js_gfx_CommandBuffer_beginRenderPass)); + cls->defineFunction("beginRenderPass", _SE(js_gfx_CommandBuffer_beginRenderPassForJS)); cls->defineFunction("bindDescriptorSet", _SE(js_gfx_CommandBuffer_bindDescriptorSetForJS)); cls->defineFunction("bindInputAssembler", _SE(js_gfx_CommandBuffer_bindInputAssembler)); cls->defineFunction("bindPipelineState", _SE(js_gfx_CommandBuffer_bindPipelineState)); @@ -13107,59 +13078,24 @@ static bool js_gfx_Queue_isAsync(se::State& s) } SE_BIND_FUNC(js_gfx_Queue_isAsync) -static bool js_gfx_Queue_submit(se::State& s) +static bool js_gfx_Queue_submitForJS(se::State& s) { - CC_UNUSED bool ok = true; cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2( cobj, false, "js_gfx_Queue_submit : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_Queue_submitForJS : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); - do { - if (argc == 1) { - HolderType, true> arg0 = {}; - - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - if (!ok) { ok = true; break; } - cobj->submit(arg0.value()); - return true; - } - } while(false); - - do { - if (argc == 3) { - HolderType arg0 = {}; - HolderType arg1 = {}; - HolderType arg2 = {}; - - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); - if (!ok) { ok = true; break; } - cobj->submit(arg0.value(), arg1.value(), arg2.value()); - return true; - } - } while(false); - - do { - if (argc == 2) { - HolderType, true> arg0 = {}; - HolderType arg1 = {}; - - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - if (!ok) { ok = true; break; } - ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); - if (!ok) { ok = true; break; } - cobj->submit(arg0.value(), arg1.value()); - return true; - } - } while(false); - - SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType, true> arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Queue_submitForJS : Error processing arguments"); + cobj->submitForJS(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); return false; } -SE_BIND_FUNC(js_gfx_Queue_submit) +SE_BIND_FUNC(js_gfx_Queue_submitForJS) SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Queue_finalize) @@ -13196,7 +13132,7 @@ bool js_register_gfx_Queue(se::Object* obj) cls->defineFunction("destroy", _SE(js_gfx_Queue_destroy)); cls->defineFunction("initialize", _SE(js_gfx_Queue_initialize)); cls->defineFunction("isAsync", _SE(js_gfx_Queue_isAsync)); - cls->defineFunction("submit", _SE(js_gfx_Queue_submit)); + cls->defineFunction("submit", _SE(js_gfx_Queue_submitForJS)); cls->defineFinalizeFunction(_SE(js_cc_gfx_Queue_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -15520,6 +15456,25 @@ static bool js_gfx_Device_destroy(se::State& s) } SE_BIND_FUNC(js_gfx_Device_destroy) +static bool js_gfx_Device_flushCommandsForJS(se::State& s) +{ + cc::gfx::Device* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Device_flushCommandsForJS : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType, true> arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Device_flushCommandsForJS : Error processing arguments"); + cobj->flushCommandsForJS(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Device_flushCommandsForJS) + static bool js_gfx_Device_genShaderId(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -16319,6 +16274,7 @@ bool js_register_gfx_Device(se::Object* obj) cls->defineFunction("createSampler", _SE(js_gfx_Device_createSampler)); cls->defineFunction("createShader", _SE(js_gfx_Device_createShader)); cls->defineFunction("destroy", _SE(js_gfx_Device_destroy)); + cls->defineFunction("flushCommands", _SE(js_gfx_Device_flushCommandsForJS)); cls->defineFunction("genShaderId", _SE(js_gfx_Device_genShaderId)); cls->defineFunction("getUboOffsetAlignment", _SE(js_gfx_Device_getUboOffsetAlignment)); cls->defineFunction("hasFeature", _SE(js_gfx_Device_hasFeature)); diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index b685e5c733..c5ec10d425 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -423,7 +423,7 @@ bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::CommandBuffer); SE_DECLARE_FUNC(js_gfx_CommandBuffer_begin); -SE_DECLARE_FUNC(js_gfx_CommandBuffer_beginRenderPass); +SE_DECLARE_FUNC(js_gfx_CommandBuffer_beginRenderPassForJS); SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindDescriptorSetForJS); SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindInputAssembler); SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindPipelineState); @@ -517,7 +517,7 @@ JSB_REGISTER_OBJECT_TYPE(cc::gfx::Queue); SE_DECLARE_FUNC(js_gfx_Queue_destroy); SE_DECLARE_FUNC(js_gfx_Queue_initialize); SE_DECLARE_FUNC(js_gfx_Queue_isAsync); -SE_DECLARE_FUNC(js_gfx_Queue_submit); +SE_DECLARE_FUNC(js_gfx_Queue_submitForJS); SE_DECLARE_FUNC(js_gfx_Queue_Queue); extern se::Object* __jsb_cc_gfx_Sampler_proto; @@ -636,6 +636,7 @@ SE_DECLARE_FUNC(js_gfx_Device_createRenderPass); SE_DECLARE_FUNC(js_gfx_Device_createSampler); SE_DECLARE_FUNC(js_gfx_Device_createShader); SE_DECLARE_FUNC(js_gfx_Device_destroy); +SE_DECLARE_FUNC(js_gfx_Device_flushCommandsForJS); SE_DECLARE_FUNC(js_gfx_Device_genShaderId); SE_DECLARE_FUNC(js_gfx_Device_getUboOffsetAlignment); SE_DECLARE_FUNC(js_gfx_Device_hasFeature); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp index 369fe2e0d0..3d56db8127 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ b/native/cocos/bindings/auto/jsb_mtl_auto.cpp @@ -13,6 +13,44 @@ se::Object* __jsb_cc_gfx_CCMTLDevice_proto = nullptr; se::Class* __jsb_cc_gfx_CCMTLDevice_class = nullptr; +static bool js_mtl_CCMTLDevice_getDSSTexture(se::State& s) +{ + cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getDSSTexture : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + void* result = cobj->getDSSTexture(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getDSSTexture : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_mtl_CCMTLDevice_getDSSTexture) + +static bool js_mtl_CCMTLDevice_getMTLLayer(se::State& s) +{ + cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getMTLLayer : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + void* result = cobj->getMTLLayer(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getMTLLayer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_mtl_CCMTLDevice_getMTLLayer) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) static bool js_mtl_CCMTLDevice_constructor(se::State& s) // constructor.c @@ -45,6 +83,8 @@ bool js_register_mtl_CCMTLDevice(se::Object* obj) { auto cls = se::Class::create("CCMTLDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_mtl_CCMTLDevice_constructor)); + cls->defineFunction("getDSSTexture", _SE(js_mtl_CCMTLDevice_getDSSTexture)); + cls->defineFunction("getMTLLayer", _SE(js_mtl_CCMTLDevice_getMTLLayer)); cls->defineFinalizeFunction(_SE(js_cc_gfx_CCMTLDevice_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index d7cd9b191c..6d5b51906f 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -12,5 +12,7 @@ bool js_register_cc_gfx_CCMTLDevice(se::Object* obj); bool register_all_mtl(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCMTLDevice); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getDSSTexture); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getMTLLayer); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_CCMTLDevice); diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index bcfe887f97..c4576c274a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -132,7 +132,7 @@ void CommandBufferAgent::end() { }); } -void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { +void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *actorColors = nullptr; if (attachmentCount) { @@ -140,9 +140,9 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb memcpy(actorColors, colors, sizeof(Color) * attachmentCount); } - const CommandBuffer **actorSecondaryCBs = nullptr; + CommandBuffer **actorSecondaryCBs = nullptr; if (secondaryCBCount) { - actorSecondaryCBs = getAllocator()->allocate(secondaryCBCount); + actorSecondaryCBs = getAllocator()->allocate(secondaryCBCount); for (uint i = 0; i < secondaryCBCount; ++i) { actorSecondaryCBs[i] = ((CommandBufferAgent *)secondaryCBs[i])->getActor(); } @@ -161,7 +161,7 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb secondaryCBCount, secondaryCBCount, secondaryCBs, actorSecondaryCBs, { - actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBCount, secondaryCBs); + actor->beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, secondaryCBs, secondaryCBCount); }); } @@ -175,19 +175,14 @@ void CommandBufferAgent::endRenderPass() { }); } -void CommandBufferAgent::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { +void CommandBufferAgent::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { if (!count) return; - const CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); + CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } - const CommandBufferAgent **agentCmdBuffs = getAllocator()->allocate(count); - for (uint i = 0; i < count; ++i) { - agentCmdBuffs[i] = (CommandBufferAgent *)cmdBuffs[i]; - } - ENQUEUE_MESSAGE_3( _messageQueue, CommandBufferExecute, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 09926da715..fdf689f51c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -23,7 +23,7 @@ public: void destroy() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; - void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; void endRenderPass() override; void bindPipelineState(PipelineState *pso) override; void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -39,7 +39,7 @@ public: void draw(InputAssembler *ia) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } uint getNumInstances() const override { return _actor->getNumInstances(); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 92b0c260c8..4b6012a008 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -303,7 +303,7 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d }); } -void DeviceAgent::flushCommands(uint count, CommandBuffer *const *cmdBuffs) { +void DeviceAgent::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { bool multiThreaded = hasFeature(Feature::MULTITHREADED_SUBMISSION); const CommandBufferAgent **agentCmdBuffs = getMainAllocator()->allocate(count); diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 1fe332a567..ca9c3c7d54 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -49,7 +49,7 @@ public: PipelineState *createPipelineState() override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - void flushCommands(uint count, CommandBuffer *const *cmdBuffs) override; + void flushCommands(CommandBuffer *const *cmdBuffs, uint count) override; void setMultithreaded(bool multithreaded) override; SurfaceTransform getSurfaceTransform() const override { return _actor->getSurfaceTransform(); } uint getWidth() const override { return _actor->getWidth(); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index a0210d1d3c..fe484e5b51 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -45,31 +45,21 @@ void QueueAgent::destroy() { }); } -void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { +void QueueAgent::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!count) return; LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); - const CommandBuffer **actorCmdBuffs = allocator->allocate(count); + CommandBuffer **actorCmdBuffs = allocator->allocate(count); for (uint i = 0u; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } - const CommandBufferAgent **agentCmdBuffs = allocator->allocate(count); - for (uint i = 0; i < count; ++i) { - agentCmdBuffs[i] = (CommandBufferAgent *)cmdBuffs[i]; - } - - bool multiThreaded = _device->hasFeature(Feature::MULTITHREADED_SUBMISSION); - - ENQUEUE_MESSAGE_6( + ENQUEUE_MESSAGE_3( ((DeviceAgent *)_device)->getMessageQueue(), QueueSubmit, actor, getActor(), - multiThreaded, multiThreaded, - cmdBuffs, (CommandBufferAgent *const *)agentCmdBuffs, actorCmdBuffs, actorCmdBuffs, count, count, - fence, fence, { //auto startTime = std::chrono::steady_clock::now(); @@ -82,7 +72,7 @@ void QueueAgent::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence //CC_LOG_INFO("======== one round ========"); - actor->submit(actorCmdBuffs, count, fence); + actor->submit(actorCmdBuffs, count); }); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h index 7b4c59598e..1b4164bc25 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h @@ -17,7 +17,7 @@ public: bool initialize(const QueueInfo &info) override; void destroy() override; - void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) override; + void submit(CommandBuffer *const *cmdBuffs, uint count) override; private: friend class DeviceAgent; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 995c6eddaa..bdaa430dc8 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -17,7 +17,7 @@ public: virtual void destroy() = 0; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) = 0; virtual void end() = 0; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) = 0; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) = 0; virtual void endRenderPass() = 0; virtual void bindPipelineState(PipelineState *pso) = 0; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) = 0; @@ -33,14 +33,7 @@ public: virtual void draw(InputAssembler *ia) = 0; virtual void updateBuffer(Buffer *buff, const void *data, uint size) = 0; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; - virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) = 0; - - CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { - bindDescriptorSet(set, descriptorSet, 0, nullptr); - } - CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { - bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); - } + virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) = 0; CC_INLINE void begin() { begin(nullptr, 0, nullptr); } // secondary command buffer specifics @@ -53,16 +46,32 @@ public: CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } + CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), secondaryCBs.size()); + } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, 0, nullptr); + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, nullptr, 0); } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, 0, nullptr); + beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, nullptr, 0); } CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } + CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { + bindDescriptorSet(set, descriptorSet, 0, nullptr); + } + CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { + bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); + } + CC_INLINE void beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), secondaryCBs.size()); + } + CC_INLINE void beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, nullptr, 0); + } + CC_INLINE Device *getDevice() const { return _device; } CC_INLINE Queue *getQueue() const { return _queue; } CC_INLINE CommandBufferType getType() const { return _type; } diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 1e009868a2..71b7d83816 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -53,8 +53,7 @@ public: CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *dst, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size())); } - - virtual void flushCommands(uint count, CommandBuffer *const *cmdBuffs) {} + virtual void flushCommands(CommandBuffer *const *cmdBuffs, uint count) {} virtual void setMultithreaded(bool multithreaded) {} virtual SurfaceTransform getSurfaceTransform() const { return _transform; } virtual uint getWidth() const { return _width; } @@ -66,6 +65,10 @@ public: virtual uint getNumInstances() const { return _numInstances; } virtual uint getNumTris() const { return _numTriangles; } + CC_INLINE void flushCommands(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), cmdBuffs.size()); } + + CC_INLINE void flushCommandsForJS(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), cmdBuffs.size()); } + Format getColorFormat() const; Format getDepthStencilFormat() const; CC_INLINE API getGfxAPI() const { return _API; } diff --git a/native/cocos/renderer/core/gfx/GFXQueue.h b/native/cocos/renderer/core/gfx/GFXQueue.h index cc32b136d4..02be217825 100755 --- a/native/cocos/renderer/core/gfx/GFXQueue.h +++ b/native/cocos/renderer/core/gfx/GFXQueue.h @@ -14,14 +14,15 @@ public: public: virtual bool initialize(const QueueInfo &info) = 0; virtual void destroy() = 0; - virtual void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) = 0; + virtual void submit(CommandBuffer *const *cmdBuffs, uint count) = 0; - CC_INLINE void submit(const vector &cmdBuffs) { submit(cmdBuffs, nullptr); } - CC_INLINE void submit(const vector &cmdBuffs, Fence *fence) { submit(cmdBuffs.data(), static_cast(cmdBuffs.size()), fence); } + CC_INLINE void submit(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), cmdBuffs.size()); } CC_INLINE Device *getDevice() const { return _device; } CC_INLINE QueueType getType() const { return _type; } CC_INLINE bool isAsync() const { return _isAsync; } + CC_INLINE void submitForJS(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), cmdBuffs.size()); } + protected: Device *_device = nullptr; QueueType _type = QueueType::GRAPHICS; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index eb25aa5b10..3f1cd351f1 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES2CommandBuffer::end() { } } -void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { +void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { _isInRenderPass = true; GLES2CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); @@ -312,7 +312,7 @@ void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex } } -void GLES2CommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { +void GLES2CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { CCASSERT(false, "Command 'execute' must be recorded in primary command buffers."); for (uint i = 0; i < count; ++i) { @@ -355,7 +355,7 @@ void GLES2CommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t // current cmd allocator strategy will not work here: (but it doesn't matter anyways) // allocators are designed to only free the cmds they allocated - // but here we are essentially ¡®transfering' the owner ship + // but here we are essentially ��transfering' the owner ship //cmdBuff->_cmdAllocator->clearCmds(cmdPackage); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 2937634579..269e51d81e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -44,7 +44,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -60,7 +60,7 @@ public: virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; protected: void BindStates(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index d5cd354c4a..45138c2e0b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -43,7 +43,7 @@ GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer(Device *device) GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { } -void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { +void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { _isInRenderPass = true; GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); @@ -128,7 +128,7 @@ void GLES2PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe } } -void GLES2PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { +void GLES2PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES2PrimaryCommandBuffer *cmdBuff = (GLES2PrimaryCommandBuffer *)cmdBuffs[i]; GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index dd3f08cfc3..0459102997 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -36,12 +36,12 @@ public: GLES2PrimaryCommandBuffer(Device *device); ~GLES2PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index a38f7f3527..99d2dd6d1d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -45,7 +45,7 @@ bool GLES2Queue::initialize(const QueueInfo &info) { void GLES2Queue::destroy() { } -void GLES2Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { +void GLES2Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!_isAsync) { for (uint i = 0; i < count; ++i) { GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.h b/native/cocos/renderer/gfx-gles2/GLES2Queue.h index 49f4d79982..ce5565e72e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.h @@ -37,7 +37,7 @@ public: public: virtual bool initialize(const QueueInfo &info) override; virtual void destroy() override; - virtual void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) override; + virtual void submit(CommandBuffer *const *cmdBuffs, uint count) override; private: uint _numDrawCalls = 0; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 1c6b19bb41..cf406faaba 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES3CommandBuffer::end() { } } -void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { +void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { _isInRenderPass = true; GLES3CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); @@ -319,7 +319,7 @@ void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex } } -void GLES3CommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { +void GLES3CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { CCASSERT(false, "Command 'execute' must be recorded in primary command buffers."); for (uint i = 0; i < count; ++i) { @@ -362,7 +362,7 @@ void GLES3CommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t // current cmd allocator strategy will not work here: (but it doesn't matter anyways) // allocators are designed to only free the cmds they allocated - // but here we are essentially ¡®transfering' the owner ship + // but here we are essentially ��transfering' the owner ship //cmdBuff->_cmdAllocator->clearCmds(cmdPackage); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index ca8957ca41..2921bb4dfe 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -43,7 +43,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -59,7 +59,7 @@ public: virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; protected: virtual void BindStates(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 1c7de16367..61a227d2e8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -43,7 +43,7 @@ GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer(Device *device) GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { } -void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { +void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { _isInRenderPass = true; GLES3GPURenderPass *gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); @@ -128,7 +128,7 @@ void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe } } -void GLES3PrimaryCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint32_t count) { +void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES3PrimaryCommandBuffer *cmdBuff = (GLES3PrimaryCommandBuffer *)cmdBuffs[i]; GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index da65a77449..058e166457 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -36,12 +36,12 @@ public: GLES3PrimaryCommandBuffer(Device *device); ~GLES3PrimaryCommandBuffer(); - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index 0d7400e3ce..c94bd3eb9c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -45,7 +45,7 @@ bool GLES3Queue::initialize(const QueueInfo &info) { void GLES3Queue::destroy() { } -void GLES3Queue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { +void GLES3Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!_isAsync) { for (uint i = 0; i < count; ++i) { GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.h b/native/cocos/renderer/gfx-gles3/GLES3Queue.h index 0a5590bc05..08950bcf83 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.h @@ -37,7 +37,7 @@ public: public: virtual bool initialize(const QueueInfo &info) override; virtual void destroy() override; - virtual void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) override; + virtual void submit(CommandBuffer *const *cmdBuffs, uint count) override; private: uint _numDrawCalls = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index a8b83593fa..10cf8ecbf3 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -51,7 +51,7 @@ public: virtual void destroy() override; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -67,7 +67,7 @@ public: virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } @@ -85,7 +85,7 @@ private: bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; - bool _isSecondary = false; + bool _isSecondary = false; NSAutoreleasePool *_autoreleasePool = nullptr; CCMTLDevice *_mtlDevice = nullptr; id _currDrawable = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index d06dfed478..cb30e7c7bd 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -118,7 +118,7 @@ void CCMTLCommandBuffer::end() { // Secondary command buffer should end encoding here _commandEncoder.endEncoding(); } - + if (_currDrawable) { [_currDrawable release]; _currDrawable = nil; @@ -131,7 +131,7 @@ void CCMTLCommandBuffer::end() { } } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { // Sub CommandBuffer shouldn't call begin render pass if (_isSecondary) { @@ -453,7 +453,7 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex [encoder endEncoding]; } -void CCMTLCommandBuffer::execute(const CommandBuffer *const *commandBuffs, uint32_t count) { +void CCMTLCommandBuffer::execute(CommandBuffer *const *commandBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { auto commandBuffer = static_cast(commandBuffs[i]); _numDrawCalls += commandBuffer->_numDrawCalls; diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.h b/native/cocos/renderer/gfx-metal/MTLQueue.h index 48c4076f1e..cabfdfd4ec 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.h +++ b/native/cocos/renderer/gfx-metal/MTLQueue.h @@ -34,7 +34,7 @@ public: virtual bool initialize(const QueueInfo &info) override; virtual void destroy() override; - virtual void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) override; + virtual void submit(CommandBuffer *const *cmdBuffs, uint count) override; private: uint _numDrawCalls = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.mm b/native/cocos/renderer/gfx-metal/MTLQueue.mm index 044f18c1b8..6ed384aa75 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.mm +++ b/native/cocos/renderer/gfx-metal/MTLQueue.mm @@ -41,7 +41,7 @@ bool CCMTLQueue::initialize(const QueueInfo &info) { void CCMTLQueue::destroy() { } -void CCMTLQueue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { +void CCMTLQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { for (uint i = 0u; i < count; ++i) { const auto *cmdBuffer = cmdBuffs[i]; _numDrawCalls += cmdBuffer->getNumDrawCalls(); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index bdb3caba97..efba86bf22 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -125,7 +125,7 @@ void CCVKCommandBuffer::end() { ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); } -void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) { +void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { _curGPUFBO = ((CCVKFramebuffer *)fbo)->gpuFBO(); CCVKGPURenderPass *gpuRenderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass(); VkFramebuffer framebuffer = _curGPUFBO->vkFramebuffer; @@ -402,7 +402,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { } } -void CCVKCommandBuffer::execute(const CommandBuffer *const *cmdBuffs, uint count) { +void CCVKCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint count) { if (!count) return; _vkCommandBuffers.resize(count); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 0bacf480f8..c02971f0df 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -42,7 +42,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, uint32_t secondaryCBCount, const CommandBuffer *const *secondaryCBs) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; @@ -58,7 +58,7 @@ public: virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buffer, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(const CommandBuffer *const *cmdBuffs, uint count) override; + virtual void execute(CommandBuffer *const *cmdBuffs, uint count) override; CCVKGPUCommandBuffer *gpuCommandBuffer() const { return _gpuCommandBuffer; } diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 6c61c7f41b..49ce171cdb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -58,7 +58,7 @@ void CCVKQueue::destroy() { } } -void CCVKQueue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence) { +void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { CCVKDevice *device = (CCVKDevice *)_device; _gpuQueue->commandBuffers.clear(); device->gpuTransportHub()->depart(); @@ -84,7 +84,7 @@ void CCVKQueue::submit(const CommandBuffer *const *cmdBuffs, uint count, Fence * submitInfo.signalSemaphoreCount = _gpuQueue->nextSignalSemaphore ? 1 : 0; submitInfo.pSignalSemaphores = &_gpuQueue->nextSignalSemaphore; - VkFence vkFence = fence ? ((CCVKFence *)fence)->gpuFence()->vkFence : device->gpuFencePool()->alloc(); + VkFence vkFence = device->gpuFencePool()->alloc(); VK_CHECK(vkQueueSubmit(_gpuQueue->vkQueue, 1, &submitInfo, vkFence)); _gpuQueue->nextWaitSemaphore = _gpuQueue->nextSignalSemaphore; diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.h b/native/cocos/renderer/gfx-vulkan/VKQueue.h index e850a8ca4c..516ad71698 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.h +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.h @@ -39,7 +39,7 @@ public: public: bool initialize(const QueueInfo &info); void destroy(); - void submit(const CommandBuffer *const *cmdBuffs, uint count, Fence *fence); + void submit(CommandBuffer *const *cmdBuffs, uint count); CC_INLINE CCVKGPUQueue *gpuQueue() const { return _gpuQueue; } diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 15698a0e24..1002548226 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -151,6 +151,7 @@ void ForwardPipeline::render(const vector &cameras) { } } _commandBuffers[0]->end(); + _device->flushCommands(_commandBuffers); _device->getQueue()->submit(_commandBuffers); } diff --git a/native/tools/tojs/gfx.ini b/native/tools/tojs/gfx.ini index 04713dbc81..4185fccef2 100644 --- a/native/tools/tojs/gfx.ini +++ b/native/tools/tojs/gfx.ini @@ -45,7 +45,7 @@ classes_need_extend = # functions from all classes. skip = Buffer::[Buffer getDevice initialize update], - CommandBuffer::[CommandBuffer getDevice execute updateBuffer copyBuffersToTexture bindDescriptorSet$], + CommandBuffer::[CommandBuffer getDevice execute updateBuffer copyBuffersToTexture bindDescriptorSet$ beginRenderPass$], Framebuffer::[Framebuffer getDevice], InputAssembler::[InputAssembler getDevice extractDrawInfo], DescriptorSet::[DescriptorSet getDevice], @@ -53,12 +53,12 @@ skip = Buffer::[Buffer getDevice initialize update], PipelineLayout::[PipelineLayout getDevice], PipelineState::[PipelineState getDevice], Fence::[Fence getDevice], - Queue::[Queue getDevice], + Queue::[Queue getDevice submit$], RenderPass::[RenderPass getDevice getColorAttachments getBindings getBindingIndices], Sampler::[Sampler getDevice], Shader::[Shader getDevice], Texture::[Texture getDevice initialize], - Device::[copyBuffersToTexture createBuffer createTexture getInstance], + Device::[copyBuffersToTexture createBuffer createTexture getInstance flushCommands$], Context::[Context] getter_setter = Device::[gfxAPI surfaceTransform deviceName width height nativeWidth nativeHeight memoryStatus context queue commandBuffer renderer vendor numDrawCalls numInstances numTris maxVertexAttributes maxVertexUniformVectors maxFragmentUniformVectors maxTextureUnits maxVertexTextureUnits maxUniformBufferBindings maxUniformBlockSize maxTextureSize maxCubeMapTextureSize depthBits stencilBits colorFormat depthStencilFormat clipSpaceMinZ screenSpaceSignY UVSpaceSignY], @@ -78,7 +78,9 @@ getter_setter = Device::[gfxAPI surfaceTransform deviceName width height nativeW rename_functions = DepthStencilState::[getHash=hash], BlendState::[getHash=hash], RasterizerState::[getHash=hash], - CommandBuffer::[bindDescriptorSetForJS=bindDescriptorSet] + CommandBuffer::[bindDescriptorSetForJS=bindDescriptorSet beginRenderPassForJS=beginRenderPass], + Queue::[submitForJS=submit], + Device::[flushCommandsForJS=flushCommands] rename_classes = Device::GFXDevice From 7cc26a2097d43f37dcf7a508f20b8b82c0fa57e6 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 8 Jan 2021 17:07:42 +0800 Subject: [PATCH 110/270] minor --- native/cocos/renderer/gfx-gles2/GLES2Commands.cpp | 2 +- native/cocos/renderer/gfx-gles3/GLES3Commands.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 79a93ac3c7..ed83eefb78 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -2550,7 +2550,7 @@ void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { GLES2CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; GLES2CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); break; - } // namespace gfx + } case GFXCmdType::DRAW: { GLES2CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; GLES2CmdFuncDraw(device, cmd->drawInfo); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 4c7cfc760c..0a2f0e5c02 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -864,7 +864,7 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) CCASSERT(false, "Unsupported TextureType, create texture failed."); break; } -} // namespace gfx +} void GLES3CmdFuncDestroyTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { if (gpuTexture->glTexture) { From bf78abc63cde2b69e09ac5548c245a244c37942e Mon Sep 17 00:00:00 2001 From: pandamicro Date: Fri, 8 Jan 2021 21:03:59 +0800 Subject: [PATCH 111/270] Fix current drawable access issue --- native/cocos/renderer/gfx-metal/MTLCommandBuffer.h | 1 + native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 13 ++++++++----- native/cocos/renderer/gfx-metal/MTLDevice.mm | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 10cf8ecbf3..867fcb80d3 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -72,6 +72,7 @@ public: CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } id getCurrentDrawable(); + void disposeCurrentDrawable(); private: void bindDescriptorSets(); diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index cb30e7c7bd..7f90f3abd6 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -74,6 +74,13 @@ id CCMTLCommandBuffer::getCurrentDrawable() { return _currDrawable; } +void CCMTLCommandBuffer::disposeCurrentDrawable() { + if (_currDrawable) { + [_currDrawable release]; + _currDrawable = nil; + } +} + bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { const int num = renderPass->getColorRenderTargetNums(); if (num == 0) { @@ -118,11 +125,7 @@ void CCMTLCommandBuffer::end() { // Secondary command buffer should end encoding here _commandEncoder.endEncoding(); } - - if (_currDrawable) { - [_currDrawable release]; - _currDrawable = nil; - } + disposeCurrentDrawable(); if (_autoreleasePool) { // CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], _autoreleasePool, this); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index cbf0ca1335..d0850d9f48 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -248,6 +248,7 @@ void CCMTLDevice::present() { _inFlightSemaphore->signal(); }]; [mtlCommandBuffer commit]; + cmdBuff->disposeCurrentDrawable(); if (_autoreleasePool) { // CC_LOG_INFO("POOL: %p RELEASED", _autoreleasePool); From fa6ccea6c0a9c0f4e72d07ee81acc2b792961ca7 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Fri, 8 Jan 2021 21:43:21 +0800 Subject: [PATCH 112/270] Temporary fix for taskflow on iOS --- native/templates/template-link/common/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/templates/template-link/common/CMakeLists.txt b/native/templates/template-link/common/CMakeLists.txt index 587ca86f67..81c2fdcf48 100644 --- a/native/templates/template-link/common/CMakeLists.txt +++ b/native/templates/template-link/common/CMakeLists.txt @@ -27,8 +27,8 @@ endif() set(DEVELOPMENT_TEAM "" CACHE STRING "APPLE Developtment Team") set(RES_DIR "" CACHE STRING "Resource path") -set(TARGET_IOS_VERSION "9.0") -set(TARGET_OSX_VERSION "10.10") +set(TARGET_IOS_VERSION "12.0") +set(TARGET_OSX_VERSION "10.14") if(RES_DIR) include(${RES_DIR}/proj/cfg.cmake) From cf5b621c89c940229db6f4c126b4eb7500deaab2 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 11 Jan 2021 19:35:41 +0800 Subject: [PATCH 113/270] fix GL cache reset --- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 74 ++++++++++--------- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 2 + .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 73 +++++++++--------- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 2 + 4 files changed, 80 insertions(+), 71 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 5e5ce349d5..44395524a0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -24,6 +24,8 @@ THE SOFTWARE. #include "GLES2Std.h" #include "GLES2Context.h" +#include "GLES2Device.h" +#include "GLES2GPUObjects.h" #include "gles2w.h" #if (CC_PLATFORM == CC_PLATFORM_ANDROID) @@ -288,6 +290,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { } ((GLES2Context *)_device->getContext())->MakeCurrent(); + ((GLES2Device *)_device)->stateCache()->reset(); }); #endif @@ -412,56 +415,55 @@ bool GLES2Context::MakeCurrent(bool bound) { return false; } #endif + _isInitialized = true; + } #if CC_DEBUG > 0 && CC_PLATFORM != CC_PLATFORM_MAC_IOS - GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); - GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); - GL_CHECK(glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL)); + GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); + GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); + GL_CHECK(glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL)); #endif - _isInitialized = true; + ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// + GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); + GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); + GL_CHECK(glActiveTexture(GL_TEXTURE0)); - GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); - GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); - GL_CHECK(glActiveTexture(GL_TEXTURE0)); + ////////////////////////////////////////////////////////////////////////// - ////////////////////////////////////////////////////////////////////////// + GL_CHECK(glEnable(GL_SCISSOR_TEST)); + GL_CHECK(glEnable(GL_CULL_FACE)); + GL_CHECK(glCullFace(GL_BACK)); - GL_CHECK(glEnable(GL_SCISSOR_TEST)); - GL_CHECK(glEnable(GL_CULL_FACE)); - GL_CHECK(glCullFace(GL_BACK)); + GL_CHECK(glFrontFace(GL_CCW)); - GL_CHECK(glFrontFace(GL_CCW)); + //GL_CHECK(glDisable(GL_MULTISAMPLE)); - //GL_CHECK(glDisable(GL_MULTISAMPLE)); + ////////////////////////////////////////////////////////////////////////// + // DepthStencilState + GL_CHECK(glEnable(GL_DEPTH_TEST)); + GL_CHECK(glDepthMask(GL_TRUE)); + GL_CHECK(glDepthFunc(GL_LESS)); - ////////////////////////////////////////////////////////////////////////// - // DepthStencilState - GL_CHECK(glEnable(GL_DEPTH_TEST)); - GL_CHECK(glDepthMask(GL_TRUE)); - GL_CHECK(glDepthFunc(GL_LESS)); + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); - GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); + GL_CHECK(glDisable(GL_STENCIL_TEST)); - GL_CHECK(glDisable(GL_STENCIL_TEST)); + ////////////////////////////////////////////////////////////////////////// + // BlendState - ////////////////////////////////////////////////////////////////////////// - // BlendState - - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); - GL_CHECK(glDisable(GL_BLEND)); - GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); - GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); - GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); - } + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + GL_CHECK(glDisable(GL_BLEND)); + GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); + GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); + GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); + GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index fc6f2785b0..71255378ae 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -222,6 +222,7 @@ void GLES2Device::bindRenderContext(bool bound) { if (bound) { _threadID = std::hash()(std::this_thread::get_id()); + _gpuStateCache->reset(); } } @@ -239,6 +240,7 @@ void GLES2Device::bindDeviceContext(bool bound) { if (bound) { _threadID = std::hash()(std::this_thread::get_id()); + _gpuStateCache->reset(); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 135b2c7ccd..a4b2a84661 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -24,6 +24,8 @@ THE SOFTWARE. #include "GLES3Std.h" #include "GLES3Context.h" +#include "GLES3Device.h" +#include "GLES3GPUObjects.h" #include "gles3w.h" #if (CC_PLATFORM == CC_PLATFORM_ANDROID) @@ -291,6 +293,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { } ((GLES3Context *)_device->getContext())->MakeCurrent(); + ((GLES3Device *)_device)->stateCache()->reset(); }); #endif @@ -413,56 +416,56 @@ bool GLES3Context::MakeCurrent(bool bound) { return false; } #endif + _isInitialized = true; + } #if CC_DEBUG > 0 && CC_PLATFORM != CC_PLATFORM_MAC_IOS - GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); - GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); - GL_CHECK(glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL)); + GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); + GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); + GL_CHECK(glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL)); #endif - _isInitialized = true; - ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// - GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); - GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); - GL_CHECK(glActiveTexture(GL_TEXTURE0)); + GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); + GL_CHECK(glPixelStorei(GL_UNPACK_ALIGNMENT, 1)); + GL_CHECK(glActiveTexture(GL_TEXTURE0)); - ////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////// - GL_CHECK(glEnable(GL_SCISSOR_TEST)); - GL_CHECK(glEnable(GL_CULL_FACE)); - GL_CHECK(glCullFace(GL_BACK)); + GL_CHECK(glEnable(GL_SCISSOR_TEST)); + GL_CHECK(glEnable(GL_CULL_FACE)); + GL_CHECK(glCullFace(GL_BACK)); - GL_CHECK(glFrontFace(GL_CCW)); + GL_CHECK(glFrontFace(GL_CCW)); - //GL_CHECK(glDisable(GL_MULTISAMPLE)); + //GL_CHECK(glDisable(GL_MULTISAMPLE)); - ////////////////////////////////////////////////////////////////////////// - // DepthStencilState - GL_CHECK(glEnable(GL_DEPTH_TEST)); - GL_CHECK(glDepthMask(GL_TRUE)); - GL_CHECK(glDepthFunc(GL_LESS)); + ////////////////////////////////////////////////////////////////////////// + // DepthStencilState + GL_CHECK(glEnable(GL_DEPTH_TEST)); + GL_CHECK(glDepthMask(GL_TRUE)); + GL_CHECK(glDepthFunc(GL_LESS)); - GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); - GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); - GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); - GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); + GL_CHECK(glStencilFuncSeparate(GL_FRONT, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_FRONT, 0xffffffff)); + GL_CHECK(glStencilFuncSeparate(GL_BACK, GL_ALWAYS, 1, 0xffffffff)); + GL_CHECK(glStencilOpSeparate(GL_BACK, GL_KEEP, GL_KEEP, GL_KEEP)); + GL_CHECK(glStencilMaskSeparate(GL_BACK, 0xffffffff)); - GL_CHECK(glDisable(GL_STENCIL_TEST)); + GL_CHECK(glDisable(GL_STENCIL_TEST)); - ////////////////////////////////////////////////////////////////////////// - // BlendState + ////////////////////////////////////////////////////////////////////////// + // BlendState - GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); - GL_CHECK(glDisable(GL_BLEND)); - GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); - GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); - GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); - } + GL_CHECK(glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE)); + GL_CHECK(glDisable(GL_BLEND)); + GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); + GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); + GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); + GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 95b18b7db1..332117e452 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -212,6 +212,7 @@ void GLES3Device::bindRenderContext(bool bound) { if (bound) { _threadID = std::hash()(std::this_thread::get_id()); + _gpuStateCache->reset(); } } @@ -229,6 +230,7 @@ void GLES3Device::bindDeviceContext(bool bound) { if (bound) { _threadID = std::hash()(std::this_thread::get_id()); + _gpuStateCache->reset(); } } From a5496ea1d27a8059cc45ce8d8ce2ffe09740cff1 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 13 Jan 2021 16:23:50 +0800 Subject: [PATCH 114/270] compute shader: GLES3 --- native/cocos/renderer/core/Core.h | 1 - .../core/gfx-agent/GFXCommandBufferAgent.cpp | 29 + .../core/gfx-agent/GFXCommandBufferAgent.h | 2 + .../core/gfx-agent/GFXPipelineStateAgent.cpp | 2 +- .../core/gfx-agent/GFXShaderAgent.cpp | 1 + native/cocos/renderer/core/gfx/GFXCommand.h | 28 - .../renderer/core/gfx/GFXCommandBuffer.h | 3 + .../cocos/renderer/core/gfx/GFXCommandPool.h | 4 +- native/cocos/renderer/core/gfx/GFXDef.h | 86 +- native/cocos/renderer/core/gfx/GFXDevice.h | 2 + native/cocos/renderer/core/gfx/GFXShader.h | 2 + .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 12 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 2 + .../renderer/gfx-gles2/GLES2Commands.cpp | 16 +- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 43 +- .../cocos/renderer/gfx-gles2/GLES2Shader.cpp | 1 + .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 49 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 + .../renderer/gfx-gles3/GLES3Commands.cpp | 162 +- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 83 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 2 - .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 21 +- .../renderer/gfx-gles3/GLES3GPUObjects.h | 27 +- .../renderer/gfx-gles3/GLES3PipelineState.cpp | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 64 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 4 + .../cocos/renderer/gfx-gles3/GLES3Shader.cpp | 2 + native/cocos/renderer/gfx-gles3/gles3w.h | 5 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 + .../renderer/gfx-metal/MTLCommandBuffer.mm | 6 + .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 12 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 + native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 6 + native/cocos/renderer/gfx-vulkan/VKShader.cpp | 1 + native/cocos/renderer/gfx-vulkan/VKUtils.h | 1 + .../thsvs_simpler_vulkan_synchronization.h | 1333 +++++++++++++++++ native/cocos/renderer/gfx-vulkan/volk.c | 311 +++- native/cocos/renderer/gfx-vulkan/volk.h | 213 ++- 38 files changed, 2344 insertions(+), 200 deletions(-) delete mode 100644 native/cocos/renderer/core/gfx/GFXCommand.h create mode 100644 native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index fc6ae5d0e6..1aa39ff91b 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -29,7 +29,6 @@ THE SOFTWARE. #include "base/StringUtil.h" #include "gfx/GFXBuffer.h" -#include "gfx/GFXCommand.h" #include "gfx/GFXCommandBuffer.h" #include "gfx/GFXCommandPool.h" #include "gfx/GFXContext.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index c4576c274a..29942e0b6a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -393,5 +393,34 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex }); } +void CommandBufferAgent::dispatch(const DispatchInfo& info) { + DispatchInfo actorInfo = info; + if (info.indirectBuffer) actorInfo.indirectBuffer = ((BufferAgent *)info.indirectBuffer)->getActor(); + + ENQUEUE_MESSAGE_2( + _messageQueue, + CommandBufferDispatch, + actor, getActor(), + info, actorInfo, + { + actor->dispatch(info); + }); +} + +void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barriers, uint count) { + GlobalBarrier *actorBarriers = getAllocator()->allocate(count); + memcpy(actorBarriers, barriers, count * sizeof(GlobalBarrier)); + + ENQUEUE_MESSAGE_3( + _messageQueue, + CommandBufferDispatch, + actor, getActor(), + barriers, actorBarriers, + count, count, + { + actor->pipelineBarrier(barriers, count); + }); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index fdf689f51c..c834cb93c2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -40,6 +40,8 @@ public: void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + void dispatch(const DispatchInfo &info) override; + void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } uint getNumInstances() const override { return _actor->getNumInstances(); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp index d5c12c7970..692ded924f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp @@ -33,8 +33,8 @@ bool PipelineStateAgent::initialize(const PipelineStateInfo &info) { PipelineStateInfo actorInfo = info; actorInfo.shader = ((ShaderAgent *)info.shader)->getActor(); - actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); actorInfo.pipelineLayout = ((PipelineLayoutAgent *)info.pipelineLayout)->getActor(); + if (info.renderPass) actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); ENQUEUE_MESSAGE_2( ((DeviceAgent *)_device)->getMessageQueue(), diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp index 7ee44cd0e8..0e3d341b50 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp @@ -22,6 +22,7 @@ bool ShaderAgent::initialize(const ShaderInfo &info) { _stages = info.stages; _attributes = info.attributes; _blocks = info.blocks; + _buffers = info.buffers; _samplers = info.samplers; ENQUEUE_MESSAGE_2( diff --git a/native/cocos/renderer/core/gfx/GFXCommand.h b/native/cocos/renderer/core/gfx/GFXCommand.h deleted file mode 100644 index b2fc052b99..0000000000 --- a/native/cocos/renderer/core/gfx/GFXCommand.h +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once - -namespace cc { -namespace gfx { - -enum class GFXCmdType : uint8_t { - BEGIN_RENDER_PASS, - END_RENDER_PASS, - BIND_STATES, - DRAW, - UPDATE_BUFFER, - COPY_BUFFER_TO_TEXTURE, - COUNT, -}; - -class GFXCmd : public Object { -public: - GFXCmdType type; - uint refCount = 0; - - GFXCmd(GFXCmdType _type) : type(_type) {} - virtual ~GFXCmd() {} - - virtual void clear() = 0; -}; - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index bdaa430dc8..c546e02fdd 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -34,6 +34,8 @@ public: virtual void updateBuffer(Buffer *buff, const void *data, uint size) = 0; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) = 0; + virtual void dispatch(const DispatchInfo &info) = 0; + virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) = 0; CC_INLINE void begin() { begin(nullptr, 0, nullptr); } // secondary command buffer specifics @@ -58,6 +60,7 @@ public: CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } + CC_INLINE void pipelineBarrier(const GlobalBarrierList &barriers) { pipelineBarrier(barriers.data(), barriers.size()); } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); diff --git a/native/cocos/renderer/core/gfx/GFXCommandPool.h b/native/cocos/renderer/core/gfx/GFXCommandPool.h index 4d79e9aa4f..1c35cc99d5 100644 --- a/native/cocos/renderer/core/gfx/GFXCommandPool.h +++ b/native/cocos/renderer/core/gfx/GFXCommandPool.h @@ -1,13 +1,11 @@ #pragma once -#include "GFXCommand.h" - namespace cc { namespace gfx { #define INITIAL_CAPACITY 1 -template ::value>> +template class CommandPool { public: CommandPool() : _freeCmds(INITIAL_CAPACITY) { diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index adb547f416..3ad60668d7 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -99,6 +99,7 @@ enum class Feature { STENCIL_WRITE_MASK, STENCIL_COMPARE_MASK, MULTITHREADED_SUBMISSION, + COMPUTE_SHADER, COUNT, }; @@ -494,6 +495,39 @@ enum class TextureLayout { PRESENT_SRC, }; +enum class AccessType { + // Read access + INDIRECT_BUFFER, // Read as an indirect buffer for drawing or dispatch + INDEX_BUFFER, // Read as an index buffer for drawing + VERTEX_BUFFER, // Read as a vertex buffer for drawing + VERTEX_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a vertex shader + VERTEX_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a vertex shader + VERTEX_SHADER_READ_OTHER, // Read as any other resource in a vertex shader + FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a fragment shader + FRAGMENT_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a fragment shader + FRAGMENT_SHADER_READ_OTHER, // Read as any other resource in a fragment shader + COLOR_ATTACHMENT_READ, // Read by standard blending/logic operations or subpass load operations + DEPTH_STENCIL_ATTACHMENT_READ, // Read by depth/stencil tests or subpass load operations + COMPUTE_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a compute shader + COMPUTE_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a compute shader + COMPUTE_SHADER_READ_OTHER, // Read as any other resource in a compute shader + TRANSFER_READ, // Read as the source of a transfer operation + HOST_READ, // Read on the host + PRESENT, // Read by the presentation engine + + // Write access + VERTEX_SHADER_WRITE, // Written as any resource in a vertex shader + FRAGMENT_SHADER_WRITE, // Written as any resource in a fragment shader + COLOR_ATTACHMENT_WRITE, // Written as a color attachment during rendering, or via a subpass store op + DEPTH_STENCIL_ATTACHMENT_WRITE, // Written as a depth/stencil attachment during rendering, or via a subpass store op + COMPUTE_SHADER_WRITE, // Written as any resource in a compute shader + TRANSFER_WRITE, // Written as the destination of a transfer operation + HOST_PREINITIALIZED, // Data pre-filled by host before device access starts + HOST_WRITE, // Written on the host +}; + +typedef cc::vector AccessTypeList; + enum class PipelineBindPoint { GRAPHICS, COMPUTE, @@ -772,6 +806,19 @@ struct DrawInfo { typedef cc::vector DrawInfoList; +#pragma pack(push, 1) +struct DispatchInfo { + uint groupCountX = 0; + uint groupCountY = 0; + uint groupCountZ = 0; + + Buffer *indirectBuffer = nullptr; + uint indirectOffset = 0; +}; +#pragma pack(pop) + +typedef cc::vector DispatchInfoList; + struct IndirectBuffer { DrawInfoList drawInfos; }; @@ -824,14 +871,14 @@ typedef cc::vector ShaderMacroList; struct Uniform { String name; Type type = Type::UNKNOWN; - uint count = 0; + uint count = 0u; }; typedef cc::vector UniformList; struct UniformBlock { - uint set = 0; - uint binding = 0; + uint set = 0u; + uint binding = 0u; String name; UniformList members; uint count = 0u; @@ -840,15 +887,33 @@ struct UniformBlock { typedef cc::vector UniformBlockList; struct UniformSampler { - uint set = 0; - uint binding = 0; + uint set = 0u; + uint binding = 0u; String name; Type type = Type::UNKNOWN; - uint count = 0; + uint count = 0u; }; typedef cc::vector UniformSamplerList; +struct StorageBufferMember { + String name; + Type type = Type::UNKNOWN; + uint count = 0u; +}; + +typedef cc::vector StorageBufferMemberList; + +struct StorageBuffer { + uint set = 0u; + uint binding = 0u; + String name; + StorageBufferMemberList members; + uint count = 0u; +}; + +typedef cc::vector StorageBufferList; + struct ShaderStage { ShaderStageFlagBit stage; String source; @@ -873,6 +938,7 @@ struct ShaderInfo { ShaderStageList stages; AttributeList attributes; UniformBlockList blocks; + StorageBufferList buffers; UniformSamplerList samplers; }; @@ -922,6 +988,13 @@ struct RenderPassInfo { SubPassInfoList subPasses; }; +struct GlobalBarrier { + // using vectors here because there is just too many access types to fit into one integer bits + AccessTypeList prevAccesses; + AccessTypeList nextAccesses; +}; +typedef cc::vector GlobalBarrierList; + typedef cc::vector BufferList; typedef cc::vector TextureList; typedef cc::vector SamplerList; @@ -1032,6 +1105,7 @@ struct PipelineStateInfo { BlendState blendState; PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; DynamicStateFlags dynamicStates = DynamicStateFlagBit::NONE; + PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; }; struct CommandBufferInfo { diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 71b7d83816..dfeae46f59 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -143,6 +143,8 @@ protected: uint _maxFragmentUniformVectors = 0u; uint _maxTextureUnits = 0u; uint _maxVertexTextureUnits = 0u; + uint _maxShaderStorageBufferBindings = 0u; + uint _maxShaderStorageBlockSize = 0u; uint _maxUniformBufferBindings = 0u; uint _maxUniformBlockSize = 0u; uint _maxTextureSize = 0u; diff --git a/native/cocos/renderer/core/gfx/GFXShader.h b/native/cocos/renderer/core/gfx/GFXShader.h index f92eba4deb..09efcd85db 100755 --- a/native/cocos/renderer/core/gfx/GFXShader.h +++ b/native/cocos/renderer/core/gfx/GFXShader.h @@ -21,6 +21,7 @@ public: CC_INLINE const ShaderStageList &getStages() const { return _stages; } CC_INLINE const AttributeList &getAttributes() const { return _attributes; } CC_INLINE const UniformBlockList &getBlocks() const { return _blocks; } + CC_INLINE const StorageBufferList &getBuffers() const { return _buffers; } CC_INLINE const UniformSamplerList &getSamplers() const { return _samplers; } protected: @@ -30,6 +31,7 @@ protected: ShaderStageList _stages; AttributeList _attributes; UniformBlockList _blocks; + StorageBufferList _buffers; UniformSamplerList _samplers; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 3f1cd351f1..aed7652e9c 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -119,12 +119,12 @@ void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb cmd->clearDepth = depth; cmd->clearStencil = stencil; _curCmdPackage->beginRenderPassCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::BEGIN_RENDER_PASS); + _curCmdPackage->cmds.push(GLES2CmdType::BEGIN_RENDER_PASS); } void GLES2CommandBuffer::endRenderPass() { _isInRenderPass = false; - _curCmdPackage->cmds.push(GFXCmdType::END_RENDER_PASS); + _curCmdPackage->cmds.push(GLES2CmdType::END_RENDER_PASS); } void GLES2CommandBuffer::bindPipelineState(PipelineState *pso) { @@ -247,7 +247,7 @@ void GLES2CommandBuffer::draw(InputAssembler *ia) { GLES2CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); ((GLES2InputAssembler *)ia)->ExtractCmdDraw(cmd); _curCmdPackage->drawCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::DRAW); + _curCmdPackage->cmds.push(GLES2CmdType::DRAW); ++_numDrawCalls; _numInstances += ia->getInstanceCount(); @@ -286,7 +286,7 @@ void GLES2CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::UPDATE_BUFFER); + _curCmdPackage->cmds.push(GLES2CmdType::UPDATE_BUFFER); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); @@ -305,7 +305,7 @@ void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex cmd->buffers = buffers; _curCmdPackage->copyBufferToTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); + _curCmdPackage->cmds.push(GLES2CmdType::COPY_BUFFER_TO_TEXTURE); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); @@ -388,7 +388,7 @@ void GLES2CommandBuffer::BindStates() { cmd->stencilCompareMask = _curStencilCompareMask; _curCmdPackage->bindStatesCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::BIND_STATES); + _curCmdPackage->cmds.push(GLES2CmdType::BIND_STATES); _isStateInvalid = false; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 269e51d81e..9c8cb4df29 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -61,6 +61,8 @@ public: virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void dispatch(const DispatchInfo &info) override {} + virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override {} protected: void BindStates(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index ed83eefb78..e16ed19f76 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -2529,39 +2529,39 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { if (!cmdPackage->cmds.size()) return; - static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; + static uint cmdIndices[(int)GLES2CmdType::COUNT] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { - GFXCmdType cmdType = cmdPackage->cmds[i]; + GLES2CmdType cmdType = cmdPackage->cmds[i]; uint &cmdIdx = cmdIndices[(int)cmdType]; switch (cmdType) { - case GFXCmdType::BEGIN_RENDER_PASS: { + case GLES2CmdType::BEGIN_RENDER_PASS: { GLES2CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; GLES2CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); break; } - case GFXCmdType::END_RENDER_PASS: { + case GLES2CmdType::END_RENDER_PASS: { GLES2CmdFuncEndRenderPass(device); break; } - case GFXCmdType::BIND_STATES: { + case GLES2CmdType::BIND_STATES: { GLES2CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; GLES2CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); break; } - case GFXCmdType::DRAW: { + case GLES2CmdType::DRAW: { GLES2CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; GLES2CmdFuncDraw(device, cmd->drawInfo); break; } - case GFXCmdType::UPDATE_BUFFER: { + case GLES2CmdType::UPDATE_BUFFER: { GLES2CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; GLES2CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); break; } - case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { + case GLES2CmdType::COPY_BUFFER_TO_TEXTURE: { GLES2CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; GLES2CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index 870275a108..98e839a50b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -29,6 +29,27 @@ THE SOFTWARE. namespace cc { namespace gfx { +enum class GLES2CmdType : uint8_t { + BEGIN_RENDER_PASS, + END_RENDER_PASS, + BIND_STATES, + DRAW, + UPDATE_BUFFER, + COPY_BUFFER_TO_TEXTURE, + COUNT, +}; + +class GLES2Cmd : public Object { +public: + GLES2CmdType type; + uint refCount = 0; + + GLES2Cmd(GLES2CmdType _type) : type(_type) {} + virtual ~GLES2Cmd() {} + + virtual void clear() = 0; +}; + class GLES2Device; struct GLES2DepthBias final { @@ -69,7 +90,7 @@ struct GLES2BufferTextureCopy final { GLES2TextureSubres texSubres; }; -class GLES2CmdBeginRenderPass final : public GFXCmd { +class GLES2CmdBeginRenderPass final : public GLES2Cmd { public: GLES2GPURenderPass *gpuRenderPass = nullptr; GLES2GPUFramebuffer *gpuFBO = nullptr; @@ -79,7 +100,7 @@ public: float clearDepth = 1.0f; int clearStencil = 0; - GLES2CmdBeginRenderPass() : GFXCmd(GFXCmdType::BEGIN_RENDER_PASS) {} + GLES2CmdBeginRenderPass() : GLES2Cmd(GLES2CmdType::BEGIN_RENDER_PASS) {} virtual void clear() override { gpuFBO = nullptr; @@ -99,7 +120,7 @@ enum class GLES2State { COUNT, }; -class GLES2CmdBindStates final : public GFXCmd { +class GLES2CmdBindStates final : public GLES2Cmd { public: GLES2GPUPipelineState *gpuPipelineState = nullptr; GLES2GPUInputAssembler *gpuInputAssembler = nullptr; @@ -115,7 +136,7 @@ public: GLES2StencilWriteMask stencilWriteMask; GLES2StencilCompareMask stencilCompareMask; - GLES2CmdBindStates() : GFXCmd(GFXCmdType::BIND_STATES) {} + GLES2CmdBindStates() : GLES2Cmd(GLES2CmdType::BIND_STATES) {} virtual void clear() override { gpuPipelineState = nullptr; @@ -125,22 +146,22 @@ public: } }; -class GLES2CmdDraw final : public GFXCmd { +class GLES2CmdDraw final : public GLES2Cmd { public: DrawInfo drawInfo; - GLES2CmdDraw() : GFXCmd(GFXCmdType::DRAW) {} + GLES2CmdDraw() : GLES2Cmd(GLES2CmdType::DRAW) {} virtual void clear() override {} }; -class GLES2CmdUpdateBuffer final : public GFXCmd { +class GLES2CmdUpdateBuffer final : public GLES2Cmd { public: GLES2GPUBuffer *gpuBuffer = nullptr; uint8_t *buffer = nullptr; uint size = 0; uint offset = 0; - GLES2CmdUpdateBuffer() : GFXCmd(GFXCmdType::UPDATE_BUFFER) {} + GLES2CmdUpdateBuffer() : GLES2Cmd(GLES2CmdType::UPDATE_BUFFER) {} virtual void clear() override { gpuBuffer = nullptr; @@ -148,14 +169,14 @@ public: } }; -class GLES2CmdCopyBufferToTexture final : public GFXCmd { +class GLES2CmdCopyBufferToTexture final : public GLES2Cmd { public: GLES2GPUTexture *gpuTexture = nullptr; const BufferTextureCopy *regions = nullptr; uint count = 0u; const uint8_t *const *buffers; - GLES2CmdCopyBufferToTexture() : GFXCmd(GFXCmdType::COPY_BUFFER_TO_TEXTURE) {} + GLES2CmdCopyBufferToTexture() : GLES2Cmd(GLES2CmdType::COPY_BUFFER_TO_TEXTURE) {} virtual void clear() override { gpuTexture = nullptr; @@ -167,7 +188,7 @@ public: class GLES2CmdPackage final : public Object { public: - CachedArray cmds; + CachedArray cmds; CachedArray beginRenderPassCmds; CachedArray bindStatesCmds; CachedArray drawCmds; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp index 86f944ec9a..54cd3ae633 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp @@ -40,6 +40,7 @@ bool GLES2Shader::initialize(const ShaderInfo &info) { _stages = info.stages; _attributes = info.attributes; _blocks = info.blocks; + _buffers = info.buffers; _samplers = info.samplers; _gpuShader = CC_NEW(GLES2GPUShader); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index cf406faaba..73b24cc86d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -119,12 +119,12 @@ void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb cmd->clearDepth = depth; cmd->clearStencil = stencil; _curCmdPackage->beginRenderPassCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::BEGIN_RENDER_PASS); + _curCmdPackage->cmds.push(GLES3CmdType::BEGIN_RENDER_PASS); } void GLES3CommandBuffer::endRenderPass() { _isInRenderPass = false; - _curCmdPackage->cmds.push(GFXCmdType::END_RENDER_PASS); + _curCmdPackage->cmds.push(GLES3CmdType::END_RENDER_PASS); } void GLES3CommandBuffer::bindPipelineState(PipelineState *pso) { @@ -255,7 +255,7 @@ void GLES3CommandBuffer::draw(InputAssembler *ia) { GLES3CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); ((GLES3InputAssembler *)ia)->ExtractCmdDraw(cmd); _curCmdPackage->drawCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::DRAW); + _curCmdPackage->cmds.push(GLES3CmdType::DRAW); ++_numDrawCalls; _numInstances += ia->getInstanceCount(); @@ -291,7 +291,7 @@ void GLES3CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::UPDATE_BUFFER); + _curCmdPackage->cmds.push(GLES3CmdType::UPDATE_BUFFER); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); @@ -312,7 +312,7 @@ void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex cmd->buffers = buffers; _curCmdPackage->copyBufferToTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::COPY_BUFFER_TO_TEXTURE); + _curCmdPackage->cmds.push(GLES3CmdType::COPY_BUFFER_TO_TEXTURE); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); @@ -395,9 +395,46 @@ void GLES3CommandBuffer::BindStates() { cmd->stencilCompareMask = _curStencilCompareMask; _curCmdPackage->bindStatesCmds.push(cmd); - _curCmdPackage->cmds.push(GFXCmdType::BIND_STATES); + _curCmdPackage->cmds.push(GLES3CmdType::BIND_STATES); _isStateInvalid = false; } +void GLES3CommandBuffer::dispatch(const DispatchInfo &info) { + if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || + (_type == CommandBufferType::SECONDARY)) { + + if (_isStateInvalid) { + BindStates(); + } + + GLES3CmdDispatch *cmd = _cmdAllocator->dispatchCmdPool.alloc(); + if (info.indirectBuffer) { + cmd->dispatchInfo.indirectBuffer = ((GLES3Buffer *)info.indirectBuffer)->gpuBuffer(); + cmd->dispatchInfo.indirectOffset = info.indirectOffset; + } else { + cmd->dispatchInfo.groupCountX = info.groupCountX; + cmd->dispatchInfo.groupCountY = info.groupCountY; + cmd->dispatchInfo.groupCountZ = info.groupCountZ; + } + _curCmdPackage->dispatchCmds.push(cmd); + _curCmdPackage->cmds.push(GLES3CmdType::DISPATCH); + } else { + CC_LOG_ERROR("Command 'dispatch' must be recorded outside a render pass."); + } +} + +void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barriers, uint count) { + if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || + (_type == CommandBufferType::SECONDARY)) { + + GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); + MapGLBarriers(barriers, count, cmd->barriers, cmd->barriersByRegion); + _curCmdPackage->barrierCmds.push(cmd); + _curCmdPackage->cmds.push(GLES3CmdType::BARRIER); + } else { + CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); + } +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 2921bb4dfe..969fa031c8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -60,6 +60,8 @@ public: virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void dispatch(const DispatchInfo &info) override; + virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; protected: virtual void BindStates(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 0a2f0e5c02..b3aa0885c6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -600,6 +600,64 @@ const GLenum GLES3_BLEND_FACTORS[] = { }; } // namespace +void MapGLBarriers(const GlobalBarrier *barriers, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { + for (uint i = 0u; i < count; ++i) { + const AccessTypeList &list = barriers[i].nextAccesses; + for (size_t j = 0u; j < list.size(); ++j) { + switch (list[j]) { + case AccessType::INDIRECT_BUFFER: + glBarriers |= GL_COMMAND_BARRIER_BIT; + break; + case AccessType::INDEX_BUFFER: + glBarriers |= GL_ELEMENT_ARRAY_BARRIER_BIT; + break; + case AccessType::VERTEX_BUFFER: + glBarriers |= GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_UNIFORM_BUFFER: + case AccessType::VERTEX_SHADER_READ_UNIFORM_BUFFER: + case AccessType::FRAGMENT_SHADER_READ_UNIFORM_BUFFER: + glBarriersByRegion |= GL_UNIFORM_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_TEXTURE: + case AccessType::VERTEX_SHADER_READ_TEXTURE: + case AccessType::FRAGMENT_SHADER_READ_TEXTURE: + glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; + glBarriersByRegion |= GL_TEXTURE_FETCH_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_OTHER: + case AccessType::VERTEX_SHADER_READ_OTHER: + case AccessType::FRAGMENT_SHADER_READ_OTHER: + glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; + break; + case AccessType::COLOR_ATTACHMENT_READ: + case AccessType::COLOR_ATTACHMENT_WRITE: + case AccessType::DEPTH_STENCIL_ATTACHMENT_READ: + case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: + glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; + break; + case AccessType::TRANSFER_READ: + glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; + break; + case AccessType::VERTEX_SHADER_WRITE: + case AccessType::FRAGMENT_SHADER_WRITE: + case AccessType::COMPUTE_SHADER_WRITE: + glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; + break; + case AccessType::TRANSFER_WRITE: + glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; + glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; + break; + case AccessType::HOST_PREINITIALIZED: + case AccessType::HOST_WRITE: + case AccessType::PRESENT: + default: + break; + } + } + } +} + void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; @@ -1007,6 +1065,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { for (size_t i = 0; i < gpuShader->gpuStages.size(); ++i) { GLES3GPUShaderStage &gpuStage = gpuShader->gpuStages[i]; + uint version = 300; switch (gpuStage.type) { case ShaderStageFlagBit::VERTEX: { @@ -1019,6 +1078,12 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { shaderStageStr = "Fragment Shader"; break; } + case ShaderStageFlagBit::COMPUTE: { + glShaderStage = GL_COMPUTE_SHADER; + shaderStageStr = "Compute Shader"; + version = 310; + break; + } default: { CCASSERT(false, "Unsupported ShaderStageFlagBit"); return; @@ -1026,7 +1091,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } GL_CHECK(gpuStage.glShader = glCreateShader(glShaderStage)); - String shaderSource = "#version 300 es\n" + gpuStage.source; + String shaderSource = StringUtil::Format("#version %u es\n%s", version, gpuStage.source.c_str()); const char *source = shaderSource.c_str(); GL_CHECK(glShaderSource(gpuStage.glShader, 1, (const GLchar **)&source, nullptr)); GL_CHECK(glCompileShader(gpuStage.glShader)); @@ -1114,7 +1179,6 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { gpuInput.binding = gpuInput.glLoc; gpuInput.name = glName; gpuInput.type = MapType(glType); - gpuInput.stride = GLTypeSize(glType); gpuInput.count = glSize; gpuInput.size = gpuInput.stride * gpuInput.count; gpuInput.glType = glType; @@ -1123,12 +1187,15 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { // create uniform blocks GLint blockCount; GL_CHECK(glGetProgramiv(gpuShader->glProgram, GL_ACTIVE_UNIFORM_BLOCKS, &blockCount)); + + uint bufferCount = gpuShader->buffers.size(); // no way to extract storage buffer infos out of GL programs + gpuShader->glBlocks.resize(blockCount + bufferCount); + if (blockCount) { GLint glBlockSize = 0; GLint glBlockUniforms = 0; uint32_t blockIdx = 0; - gpuShader->glBlocks.resize(blockCount); for (GLint i = 0; i < blockCount; ++i) { GLES3GPUUniformBlock &gpuBlock = gpuShader->glBlocks[i]; memset(glName, 0, sizeof(glName)); @@ -1195,6 +1262,17 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } } // if + // create shader storage buffers + for (size_t b = 0; b < bufferCount; ++b) { + StorageBuffer &buffer = gpuShader->buffers[b]; + GLES3GPUUniformBlock &gpuBlock = gpuShader->glBlocks[blockCount + b]; + gpuBlock.set = buffer.set; + gpuBlock.binding = buffer.binding; + gpuBlock.glBinding = buffer.binding + device->bindingMappingInfo().bufferOffsets[buffer.set]; + gpuBlock.isStorage = true; + break; + } + // create uniform samplers if (gpuShader->samplers.size()) { gpuShader->glSamplers.resize(gpuShader->samplers.size()); @@ -1899,16 +1977,30 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli int dynamicOffsetIndex = glBlock.binding < dynamicOffsetSetIndices.size() ? dynamicOffsetSetIndices[glBlock.binding] : -1; if (dynamicOffsetIndex >= 0) offset += dynamicOffsets[dynamicOffsetIndex]; - if (cache->glBindUBOs[glBlock.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || - cache->glBindUBOOffsets[glBlock.glBinding] != offset) { - if (offset) { - GL_CHECK(glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, - offset, gpuDescriptor.gpuBuffer->size)); - } else { - GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); + if (glBlock.isStorage) { + if (cache->glBindSSBOs[glBlock.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || + cache->glBindSSBOOffsets[glBlock.glBinding] != offset) { + if (offset) { + GL_CHECK(glBindBufferRange(GL_SHADER_STORAGE_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, + offset, gpuDescriptor.gpuBuffer->size)); + } else { + GL_CHECK(glBindBufferBase(GL_SHADER_STORAGE_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); + } + cache->glShaderStorageBuffer = cache->glBindSSBOs[glBlock.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; + cache->glBindSSBOOffsets[glBlock.glBinding] = offset; + } + } else { + if (cache->glBindUBOs[glBlock.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || + cache->glBindUBOOffsets[glBlock.glBinding] != offset) { + if (offset) { + GL_CHECK(glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, + offset, gpuDescriptor.gpuBuffer->size)); + } else { + GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); + } + cache->glUniformBuffer = cache->glBindUBOs[glBlock.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; + cache->glBindUBOOffsets[glBlock.glBinding] = offset; } - cache->glUniformBuffer = cache->glBindUBOs[glBlock.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; - cache->glBindUBOOffsets[glBlock.glBinding] = offset; } } @@ -2222,6 +2314,24 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { } } +void GLES3CmdFuncDispatch(GLES3Device *device, const GLES3GPUDispatchInfo &info) { + GLES3GPUStateCache *cache = device->stateCache(); + if (info.indirectBuffer) { + if (cache->glDispatchIndirectBuffer != info.indirectBuffer->glBuffer) { + GL_CHECK(glBindBuffer(GL_DISPATCH_INDIRECT_BUFFER, info.indirectBuffer->glBuffer)); + cache->glDispatchIndirectBuffer = info.indirectBuffer->glBuffer; + } + GL_CHECK(glDispatchComputeIndirect(info.indirectOffset)); + } else { + GL_CHECK(glDispatchCompute(info.groupCountX, info.groupCountY, info.groupCountZ)); + } +} + +void GLES3CmdFuncMemoryBarrier(GLES3Device *device, GLbitfield barriers, GLbitfield barriersByRegion) { + if (barriers) glMemoryBarrier(barriers); + if (barriersByRegion) glMemoryBarrierByRegion(barriersByRegion); +} + void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { @@ -2436,39 +2546,49 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { if (!cmdPackage->cmds.size()) return; - static uint cmdIndices[(int)GFXCmdType::COUNT] = {0}; + static uint cmdIndices[(int)GLES3CmdType::COUNT] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { - GFXCmdType cmdType = cmdPackage->cmds[i]; + GLES3CmdType cmdType = cmdPackage->cmds[i]; uint &cmdIdx = cmdIndices[(int)cmdType]; switch (cmdType) { - case GFXCmdType::BEGIN_RENDER_PASS: { + case GLES3CmdType::BEGIN_RENDER_PASS: { GLES3CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; GLES3CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); break; } - case GFXCmdType::END_RENDER_PASS: { + case GLES3CmdType::END_RENDER_PASS: { GLES3CmdFuncEndRenderPass(device); break; } - case GFXCmdType::BIND_STATES: { + case GLES3CmdType::BIND_STATES: { GLES3CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; GLES3CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); break; - } // case BIND_STATES - case GFXCmdType::DRAW: { + } + case GLES3CmdType::DRAW: { GLES3CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; GLES3CmdFuncDraw(device, cmd->drawInfo); break; } - case GFXCmdType::UPDATE_BUFFER: { + case GLES3CmdType::DISPATCH: { + GLES3CmdDispatch *cmd = cmdPackage->dispatchCmds[cmdIdx]; + GLES3CmdFuncDispatch(device, cmd->dispatchInfo); + break; + } + case GLES3CmdType::BARRIER: { + GLES3CmdBarrier *cmd = cmdPackage->barrierCmds[cmdIdx]; + GLES3CmdFuncMemoryBarrier(device, cmd->barriers, cmd->barriersByRegion); + break; + } + case GLES3CmdType::UPDATE_BUFFER: { GLES3CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; GLES3CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); break; } - case GFXCmdType::COPY_BUFFER_TO_TEXTURE: { + case GLES3CmdType::COPY_BUFFER_TO_TEXTURE: { GLES3CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; GLES3CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 7bb350162e..d66c7d13d5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -29,6 +29,29 @@ THE SOFTWARE. namespace cc { namespace gfx { +enum class GLES3CmdType : uint8_t { + BEGIN_RENDER_PASS, + END_RENDER_PASS, + BIND_STATES, + DRAW, + UPDATE_BUFFER, + COPY_BUFFER_TO_TEXTURE, + DISPATCH, + BARRIER, + COUNT, +}; + +class GLES3Cmd : public Object { +public: + GLES3CmdType type; + uint refCount = 0; + + GLES3Cmd(GLES3CmdType _type) : type(_type) {} + virtual ~GLES3Cmd() {} + + virtual void clear() = 0; +}; + class GLES3Device; struct GLES3DepthBias final { @@ -69,7 +92,7 @@ struct GLES3BufferTextureCopy final { GLES3TextureSubres texSubres; }; -class GLES3CmdBeginRenderPass final : public GFXCmd { +class GLES3CmdBeginRenderPass final : public GLES3Cmd { public: GLES3GPURenderPass *gpuRenderPass = nullptr; GLES3GPUFramebuffer *gpuFBO = nullptr; @@ -79,7 +102,7 @@ public: float clearDepth = 1.0f; int clearStencil = 0; - GLES3CmdBeginRenderPass() : GFXCmd(GFXCmdType::BEGIN_RENDER_PASS) {} + GLES3CmdBeginRenderPass() : GLES3Cmd(GLES3CmdType::BEGIN_RENDER_PASS) {} virtual void clear() override { gpuFBO = nullptr; @@ -99,7 +122,7 @@ enum class GLES3State { COUNT, }; -class GLES3CmdBindStates final : public GFXCmd { +class GLES3CmdBindStates final : public GLES3Cmd { public: GLES3GPUPipelineState *gpuPipelineState = nullptr; GLES3GPUInputAssembler *gpuInputAssembler = nullptr; @@ -115,7 +138,7 @@ public: GLES3StencilWriteMask stencilWriteMask; GLES3StencilCompareMask stencilCompareMask; - GLES3CmdBindStates() : GFXCmd(GFXCmdType::BIND_STATES) {} + GLES3CmdBindStates() : GLES3Cmd(GLES3CmdType::BIND_STATES) {} virtual void clear() override { gpuPipelineState = nullptr; @@ -125,22 +148,45 @@ public: } }; -class GLES3CmdDraw final : public GFXCmd { +class GLES3CmdDraw final : public GLES3Cmd { public: DrawInfo drawInfo; - GLES3CmdDraw() : GFXCmd(GFXCmdType::DRAW) {} + GLES3CmdDraw() : GLES3Cmd(GLES3CmdType::DRAW) {} virtual void clear() override {} }; -class GLES3CmdUpdateBuffer final : public GFXCmd { +class GLES3CmdDispatch final : public GLES3Cmd { +public: + GLES3GPUDispatchInfo dispatchInfo; + + GLES3CmdDispatch() : GLES3Cmd(GLES3CmdType::DISPATCH) {} + virtual void clear() override { + dispatchInfo.indirectBuffer = nullptr; + dispatchInfo.indirectOffset = 0; + } +}; + +class GLES3CmdBarrier final : public GLES3Cmd { +public: + GLbitfield barriers = 0u; + GLbitfield barriersByRegion = 0u; + + GLES3CmdBarrier() : GLES3Cmd(GLES3CmdType::BARRIER) {} + virtual void clear() override { + barriers = 0u; + barriersByRegion = 0u; + } +}; + +class GLES3CmdUpdateBuffer final : public GLES3Cmd { public: GLES3GPUBuffer *gpuBuffer = nullptr; uint8_t *buffer = nullptr; uint size = 0; uint offset = 0; - GLES3CmdUpdateBuffer() : GFXCmd(GFXCmdType::UPDATE_BUFFER) {} + GLES3CmdUpdateBuffer() : GLES3Cmd(GLES3CmdType::UPDATE_BUFFER) {} virtual void clear() override { gpuBuffer = nullptr; @@ -148,14 +194,14 @@ public: } }; -class GLES3CmdCopyBufferToTexture final : public GFXCmd { +class GLES3CmdCopyBufferToTexture final : public GLES3Cmd { public: GLES3GPUTexture *gpuTexture = nullptr; const BufferTextureCopy *regions = nullptr; uint count = 0u; const uint8_t *const *buffers; - GLES3CmdCopyBufferToTexture() : GFXCmd(GFXCmdType::COPY_BUFFER_TO_TEXTURE) {} + GLES3CmdCopyBufferToTexture() : GLES3Cmd(GLES3CmdType::COPY_BUFFER_TO_TEXTURE) {} virtual void clear() override { gpuTexture = nullptr; @@ -167,10 +213,12 @@ public: class GLES3CmdPackage final : public Object { public: - CachedArray cmds; + CachedArray cmds; CachedArray beginRenderPassCmds; CachedArray bindStatesCmds; CachedArray drawCmds; + CachedArray dispatchCmds; + CachedArray barrierCmds; CachedArray updateBufferCmds; CachedArray copyBufferToTextureCmds; }; @@ -180,6 +228,8 @@ public: CommandPool beginRenderPassCmdPool; CommandPool bindStatesCmdPool; CommandPool drawCmdPool; + CommandPool dispatchCmdPool; + CommandPool barrierCmdPool; CommandPool updateBufferCmdPool; CommandPool copyBufferToTextureCmdPool; @@ -193,6 +243,12 @@ public: if (cmd_package->drawCmds.size()) { drawCmdPool.freeCmds(cmd_package->drawCmds); } + if (cmd_package->dispatchCmds.size()) { + dispatchCmdPool.freeCmds(cmd_package->dispatchCmds); + } + if (cmd_package->barrierCmds.size()) { + barrierCmdPool.freeCmds(cmd_package->barrierCmds); + } if (cmd_package->updateBufferCmds.size()) { updateBufferCmdPool.freeCmds(cmd_package->updateBufferCmds); } @@ -207,11 +263,14 @@ public: beginRenderPassCmdPool.release(); bindStatesCmdPool.release(); drawCmdPool.release(); + dispatchCmdPool.release(); + barrierCmdPool.release(); updateBufferCmdPool.release(); copyBufferToTextureCmdPool.release(); } }; +CC_GLES3_API void MapGLBarriers(const GlobalBarrier *barriers, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); CC_GLES3_API void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); @@ -239,6 +298,8 @@ CC_GLES3_API void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer * CC_GLES3_API void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const *buffers, GLES3GPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count); CC_GLES3_API void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage); +CC_GLES3_API void GLES3CmdFuncDispatch(GLES3Device *device, const GLES3GPUDispatchInfo &info); +CC_GLES3_API void GLES3CmdFuncMemoryBarrier(GLES3Device *device, GLbitfield barriers, GLbitfield barriersByRegion); } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index a4b2a84661..15527d90e7 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -309,8 +309,6 @@ bool GLES3Context::initialize(const ContextInfo &info) { _eglSurface = sharedCtx->egl_surface(); _colorFmt = sharedCtx->getColorFormat(); _depthStencilFmt = sharedCtx->getDepthStencilFormat(); - _majorVersion = sharedCtx->major_ver(); - _minorVersion = sharedCtx->minor_ver(); _extensions = sharedCtx->_extensions; _isInitialized = sharedCtx->_isInitialized; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 332117e452..18491e6383 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -84,15 +84,18 @@ bool GLES3Device::initialize(const DeviceInfo &info) { String extStr = (const char *)glGetString(GL_EXTENSIONS); _extensions = StringUtil::Split(extStr, " "); - _features[(int)Feature::TEXTURE_FLOAT] = true; - _features[(int)Feature::TEXTURE_HALF_FLOAT] = true; - _features[(int)Feature::FORMAT_R11G11B10F] = true; - _features[(int)Feature::FORMAT_D24S8] = true; - _features[(int)Feature::MSAA] = true; - _features[(int)Feature::INSTANCED_ARRAYS] = true; - _features[(int)Feature::MULTIPLE_RENDER_TARGETS] = true; + _features[(uint)Feature::TEXTURE_FLOAT] = true; + _features[(uint)Feature::TEXTURE_HALF_FLOAT] = true; + _features[(uint)Feature::FORMAT_R11G11B10F] = true; + _features[(uint)Feature::FORMAT_D24S8] = true; + _features[(uint)Feature::MSAA] = true; + _features[(uint)Feature::INSTANCED_ARRAYS] = true; + _features[(uint)Feature::MULTIPLE_RENDER_TARGETS] = true; _features[(uint)Feature::BLEND_MINMAX] = true; + if (((GLES3Context *)_context)->minor_ver()) + _features[(uint)Feature::COMPUTE_SHADER] = true; + if (checkExtension("color_buffer_float")) _features[(int)Feature::COLOR_FLOAT] = true; @@ -160,6 +163,8 @@ bool GLES3Device::initialize(const DeviceInfo &info) { glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_maxVertexUniformVectors); glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_maxFragmentUniformVectors); glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, (GLint *)&_maxUniformBufferBindings); + glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE, (GLint *)&_maxShaderStorageBlockSize); + glGetIntegerv(GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, (GLint *)&_maxShaderStorageBufferBindings); glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, (GLint *)&_maxUniformBlockSize); glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, (GLint *)&_maxTextureUnits); glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, (GLint *)&_maxVertexTextureUnits); @@ -169,7 +174,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_depthBits); glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_stencilBits); - _gpuStateCache->initialize(_maxTextureUnits, _maxUniformBufferBindings, _maxVertexAttributes); + _gpuStateCache->initialize(_maxTextureUnits, _maxUniformBufferBindings, _maxShaderStorageBufferBindings, _maxVertexAttributes); return true; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 54155f4264..c0f1fe8db9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -122,6 +122,7 @@ struct GLES3GPUUniformBlock final { String name; uint size = 0; uint glBinding = GFX_INVALID_BINDING; + bool isStorage = false; GLES3GPUUniformList glUniforms; GLES3GPUUniformList glActiveUniforms; }; @@ -153,6 +154,7 @@ class GLES3GPUShader final : public Object { public: String name; UniformBlockList blocks; + StorageBufferList buffers; UniformSamplerList samplers; GLuint glProgram = 0; GLES3GPUShaderStageList gpuStages; @@ -256,6 +258,15 @@ class GLES3GPUFence final : public Object { public: }; +struct GLES3GPUDispatchInfo final : public Object { + uint groupCountX = 0; + uint groupCountY = 0; + uint groupCountZ = 0; + + GLES3GPUBuffer *indirectBuffer = nullptr; + uint indirectOffset = 0; +}; + struct GLES3ObjectCache final { size_t numClearColors = 0u; GLES3GPURenderPass *gpuRenderPass = nullptr; @@ -274,6 +285,10 @@ public: GLuint glUniformBuffer = 0; vector glBindUBOs; vector glBindUBOOffsets; + GLuint glShaderStorageBuffer = 0; + vector glBindSSBOs; + vector glBindSSBOOffsets; + GLuint glDispatchIndirectBuffer = 0; GLuint glVAO = 0; uint texUint = 0; vector glTextures; @@ -293,9 +308,11 @@ public: map texUnitCacheMap; GLES3ObjectCache gfxStateCache; - void initialize(size_t texUnits, size_t bufferBindings, size_t vertexAttributes) { - glBindUBOs.resize(bufferBindings, 0u); - glBindUBOOffsets.resize(bufferBindings, 0u); + void initialize(size_t texUnits, size_t uboBindings, size_t ssboBindings, size_t vertexAttributes) { + glBindUBOs.resize(uboBindings, 0u); + glBindUBOOffsets.resize(uboBindings, 0u); + glBindSSBOs.resize(ssboBindings, 0u); + glBindSSBOOffsets.resize(ssboBindings, 0u); glTextures.resize(texUnits, 0u); glSamplers.resize(texUnits, 0u); glEnabledAttribLocs.resize(vertexAttributes, false); @@ -308,6 +325,10 @@ public: glUniformBuffer = 0; glBindUBOs.assign(glBindUBOs.size(), 0u); glBindUBOOffsets.assign(glBindUBOOffsets.size(), 0u); + glShaderStorageBuffer = 0; + glBindSSBOs.assign(glBindSSBOs.size(), 0u); + glBindSSBOOffsets.assign(glBindSSBOOffsets.size(), 0u); + glDispatchIndirectBuffer = 0; glVAO = 0; texUint = 0; glTextures.assign(glTextures.size(), 0u); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp index 16ee5cebdd..17cf438288 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp @@ -74,8 +74,8 @@ bool GLES3PipelineState::initialize(const PipelineStateInfo &info) { _gpuPipelineState->rs = _rasterizerState; _gpuPipelineState->dss = _depthStencilState; _gpuPipelineState->bs = _blendState; - _gpuPipelineState->gpuRenderPass = ((GLES3RenderPass *)_renderPass)->gpuRenderPass(); _gpuPipelineState->gpuPipelineLayout = ((GLES3PipelineLayout *)_pipelineLayout)->gpuPipelineLayout(); + if (_renderPass) _gpuPipelineState->gpuRenderPass = ((GLES3RenderPass *)_renderPass)->gpuRenderPass(); for (uint i = 0; i < 31; i++) { if ((uint)_dynamicStates & (1 << i)) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 61a227d2e8..67a0fc91e5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -62,18 +62,7 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { (_type == CommandBufferType::SECONDARY)) { if (_isStateInvalid) { - vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); - count = std::min(count, _curDynamicOffsets[i].size()); - if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); - } - GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, - _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); - - _isStateInvalid = false; + BindStates(); } DrawInfo drawInfo; @@ -146,5 +135,56 @@ void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t } } +void GLES3PrimaryCommandBuffer::BindStates() { + vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); + count = std::min(count, _curDynamicOffsets[i].size()); + if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + } + GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, + _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); + + _isStateInvalid = false; +} + +void GLES3PrimaryCommandBuffer::dispatch(const DispatchInfo &info) { + if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || + (_type == CommandBufferType::SECONDARY)) { + + if (_isStateInvalid) { + BindStates(); + } + + GLES3GPUDispatchInfo gpuInfo; + if (info.indirectBuffer) { + gpuInfo.indirectBuffer = ((GLES3Buffer *)info.indirectBuffer)->gpuBuffer(); + gpuInfo.indirectOffset = info.indirectOffset; + } else { + gpuInfo.groupCountX = info.groupCountX; + gpuInfo.groupCountY = info.groupCountY; + gpuInfo.groupCountZ = info.groupCountZ; + } + GLES3CmdFuncDispatch((GLES3Device *)_device, gpuInfo); + } else { + CC_LOG_ERROR("Command 'dispatch' must be recorded outside a render pass."); + } +} + +void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barriers, uint count) { + if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || + (_type == CommandBufferType::SECONDARY)) { + + GLbitfield glBarriers = 0u; + GLbitfield glBarriersByRegion = 0u; + MapGLBarriers(barriers, count, glBarriers, glBarriersByRegion); + GLES3CmdFuncMemoryBarrier((GLES3Device *)_device, glBarriers, glBarriersByRegion); + } else { + CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); + } +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 058e166457..3587029594 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -42,6 +42,10 @@ public: virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void dispatch(const DispatchInfo &info) override; + virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; +protected: + virtual void BindStates(); }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp index 078bcf7a4e..8d7d51e651 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp @@ -40,11 +40,13 @@ bool GLES3Shader::initialize(const ShaderInfo &info) { _stages = info.stages; _attributes = info.attributes; _blocks = info.blocks; + _buffers = info.buffers; _samplers = info.samplers; _gpuShader = CC_NEW(GLES3GPUShader); _gpuShader->name = _name; _gpuShader->blocks = _blocks; + _gpuShader->buffers = _buffers; _gpuShader->samplers = _samplers; for (const auto &stage : _stages) { GLES3GPUShaderStage gpuShaderStage = {stage.stage, stage.source}; diff --git a/native/cocos/renderer/gfx-gles3/gles3w.h b/native/cocos/renderer/gfx-gles3/gles3w.h index 84139e4f98..9789979399 100755 --- a/native/cocos/renderer/gfx-gles3/gles3w.h +++ b/native/cocos/renderer/gfx-gles3/gles3w.h @@ -31,15 +31,18 @@ THE SOFTWARE. #define __gl_es30ext_h_ #else #include + #include + #include #endif #else #include + #include + #include #endif #include #include #include -#include #ifndef __gl3_h_ #define __gl3_h_ diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 867fcb80d3..38d6dac070 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -68,6 +68,8 @@ public: virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + virtual void dispatch(const DispatchInfo &info) override; + virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 7f90f3abd6..0472f4333b 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -523,5 +523,11 @@ void CCMTLCommandBuffer::bindDescriptorSets() { } } +void CCMTLCommandBuffer::dispatch(const DispatchInfo &info) { +} + +void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier *barriers, uint count) { +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index efba86bf22..f66ebca9e5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -171,7 +171,7 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo passBeginInfo.pClearValues = clearValues.data(); passBeginInfo.renderArea = {{(int)renderArea.x, (int)renderArea.y}, {renderArea.width, renderArea.height}}; vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, - secondaryCBCount ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); + secondaryCBCount ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); if (!secondaryCBCount) { VkViewport viewport{(float)renderArea.x, (float)renderArea.y, (float)renderArea.width, (float)renderArea.height, 0.f, 1.f}; @@ -465,5 +465,15 @@ void CCVKCommandBuffer::bindDescriptorSets() { _firstDirtyDescriptorSet = UINT_MAX; } +void CCVKCommandBuffer::dispatch(const DispatchInfo &info) { + if (info.indirectBuffer) { + CCVKBuffer *indirectBuffer = (CCVKBuffer *)info.indirectBuffer; + vkCmdDispatchIndirect(_gpuCommandBuffer->vkCommandBuffer, indirectBuffer->gpuBuffer()->vkBuffer, + indirectBuffer->gpuBuffer()->startOffset + indirectBuffer->gpuBufferView()->offset + info.indirectOffset); + } else { + vkCmdDispatch(_gpuCommandBuffer->vkCommandBuffer, info.groupCountX, info.groupCountY, info.groupCountZ); + } +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index c02971f0df..01ec7443f6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -59,6 +59,8 @@ public: virtual void updateBuffer(Buffer *buffer, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint count) override; + virtual void dispatch(const DispatchInfo &info) override; + virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; CCVKGPUCommandBuffer *gpuCommandBuffer() const { return _gpuCommandBuffer; } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index e5fee82745..4d1ff97ac7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -21,6 +21,11 @@ CC_DISABLE_WARNINGS() #define VMA_IMPLEMENTATION #include "vk_mem_alloc.h" +#define THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT +#define THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER +#define THSVS_ERROR_CHECK_POTENTIAL_HAZARD +#define THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION +#include "thsvs_simpler_vulkan_synchronization.h" CC_ENABLE_WARNINGS() namespace cc { @@ -189,6 +194,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _features[(uint)Feature::STENCIL_COMPARE_MASK] = true; _features[(uint)Feature::STENCIL_WRITE_MASK] = true; _features[(uint)Feature::MULTITHREADED_SUBMISSION] = true; + _features[(uint)Feature::COMPUTE_SHADER] = true; _gpuDevice->useMultiDrawIndirect = deviceFeatures.multiDrawIndirect; _gpuDevice->useDescriptorUpdateTemplate = checkExtension(VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME); diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.cpp b/native/cocos/renderer/gfx-vulkan/VKShader.cpp index d43d0eca97..61022dfaa3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKShader.cpp @@ -42,6 +42,7 @@ bool CCVKShader::initialize(const ShaderInfo &info) { _stages = info.stages; _attributes = info.attributes; _blocks = info.blocks; + _buffers = info.buffers; _samplers = info.samplers; _gpuShader = CC_NEW(CCVKGPUShader); diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 53b75b2ae7..0be908c215 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -28,6 +28,7 @@ THE SOFTWARE. #include "vk_mem_alloc.h" #include "volk.h" +#include "thsvs_simpler_vulkan_synchronization.h" #define DEFAULT_TIMEOUT 1000000000 // 1 second diff --git a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h new file mode 100644 index 0000000000..bfd598434d --- /dev/null +++ b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h @@ -0,0 +1,1333 @@ +// Copyright (c) 2017-2019 Tobias Hector + +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +// of the Software, and to permit persons to whom the Software is furnished to do +// so, subject to the following conditions: + +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. + +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +//// Simpler Vulkan Synchronization //// +/* +In an effort to make Vulkan synchronization more accessible, I created this +stb-inspired single-header library in order to somewhat simplify the core +synchronization mechanisms in Vulkan - pipeline barriers and events. + +Rather than the complex maze of enums and bit flags in Vulkan - many +combinations of which are invalid or nonsensical - this library collapses +this to a much shorter list of 40 distinct usage types, and a couple of +options for handling image layouts. + +Use of other synchronization mechanisms such as semaphores, fences and render +passes are not addressed in this API at present. + +USAGE + + #define the symbol THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION in + *one* C/C++ file before the #include of this file; the implementation + will be generated in that file. + +VERSION + + alpha.8 + + Alpha.8 adds a host preinitialization state for linear images, as well as a number of new access sets for extensions released since the last update. + + +VERSION HISTORY + + alpha.7 + + Alpha.7 incorporates a number of fixes from @gwihlidal, and fixes + handling of pipeline stages in the presence of multiple access types or + barriers in light of other recent changes. + + alpha.6 + + Alpha.6 fixes a typo (VK_ACCESS_TYPE_MEMORY_READ|WRITE_BIT should have been VK_ACCESS_MEMORY_READ|WRITE_BIT), and sets the pipeline stage src and dst flag bits to VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT and VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT during initialization, not 0 as per alpha.5 + + alpha.5 + + Alpha.5 now correctly zeroes out the pipeline stage flags before trying to incrementally set bits on them... common theme here, whoops. + + alpha.4 + + Alpha.4 now correctly zeroes out the access types before trying to incrementally set bits on them (!) + + alpha.3 + + Alpha.3 changes the following: + + Uniform and vertex buffer access in one enum, matching D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER: + - THSVS_ACCESS_ANY_SHADER_READ_UNIFORM_BUFFER_OR_VERTEX_BUFFER + + Color read *and* write access, matching D3D12_RESOURCE_STATE_RENDER_TARGET: + - THSVS_ACCESS_COLOR_ATTACHMENT_READ_WRITE + + Also the "THSVS_ACCESS_*_SHADER_READ_SAMPLED_IMAGE" enums have been renamed to the form "THSVS_ACCESS_*_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER" + + alpha.2 + + Alpha.2 adds four new resource states for "ANY SHADER ACCESS": + - THSVS_ACCESS_ANY_SHADER_READ_UNIFORM_BUFFER + - THSVS_ACCESS_ANY_SHADER_READ_SAMPLED_IMAGE + - THSVS_ACCESS_ANY_SHADER_READ_OTHER + - THSVS_ACCESS_ANY_SHADER_WRITE + + alpha.1 + + Alpha.1 adds three new resource states: + - THSVS_ACCESS_GENERAL (Any access on the device) + - THSVS_ACCESS_DEPTH_ATTACHMENT_WRITE_STENCIL_READ_ONLY (Write access to only the depth aspect of a depth/stencil attachment) + - THSVS_ACCESS_STENCIL_ATTACHMENT_WRITE_DEPTH_READ_ONLY (Write access to only the stencil aspect of a depth/stencil attachment) + + It also fixes a couple of typos, and adds clarification as to when extensions need to be enabled to use a feature. + + alpha.0 + + This is the very first public release of this library; future revisions + of this API may change the API in an incompatible manner as feedback is + received. + Once the version becomes stable, incompatible changes will only be made + to major revisions of the API - minor revisions will only contain + bug fixes or minor additions. + +MEMORY ALLOCATION + + The thsvsCmdPipelineBarrier and thWaitEvents commands allocate temporary + storage for the Vulkan barrier equivalents in order to pass them to the + respective Vulkan commands. + + These use the `THSVS_TEMP_ALLOC(size)` and `THSVS_TEMP_FREE(x)` macros, + which are by default set to alloca(size) and ((void)(x)), respectively. + If you don't want to use stack space or would rather use your own + allocation strategy, these can be overridden by defining these macros + in before #include-ing the header file with + THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION defined. + + I'd rather avoid the need for these allocations in what are likely to be + high-traffic commands, but currently just want to ship something - may + revisit this at a future date based on feedback. + +EXPRESSIVENESS COMPARED TO RAW VULKAN + + Despite the fact that this API is fairly simple, it expresses 99% of + what you'd actually ever want to do in practice. + Adding the missing expressiveness would result in increased complexity + which didn't seem worth the trade off - however I would consider adding + something for them in future if it becomes an issue. + + Here's a list of known things you can't express: + + * Execution only dependencies cannot be expressed. + These are occasionally useful in conjunction with semaphores, or when + trying to be clever with scheduling - but their usage is both limited + and fairly tricky to get right anyway. + * Depth/Stencil Input Attachments can be read in a shader using either + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL or + VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL - this library + *always* uses VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL. + It's possible (though highly unlikely) when aliasing images that this + results in unnecessary transitions. + +ERROR CHECKS + + By default, as with the Vulkan API, this library does NOT check for + errors. + However, a number of optional error checks (THSVS_ERROR_CHECK_*) can be + enabled by uncommenting the relevant #defines. + Currently, error checks simply assert at the point a failure is detected + and do not output an error message. + I certainly do not claim they capture *all* possible errors, but they + capture what should be some of the more common ones. + Use of the Vulkan Validation Layers in tandem with this library is + strongly recommended: + https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers + +ISSUES + + This header was clean of warnings using -Wall as of time of publishing + on both gcc 4.8.4 and clang 3.5, using the c99 standard. + + There's a potential pitfall in thsvsCmdPipelineBarrier and thsvsCmdWaitEvents + where alloca is used for temporary allocations. See MEMORY ALLOCATION + for more information. + + Testing of this library is so far extremely limited with no immediate + plans to add to that - so there's bound to be some amount of bugs. + Please raise these issues on the repo issue tracker, or provide a fix + via a pull request yourself if you're so inclined. +*/ + +#ifndef THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_H +#define THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_H 1 + +#include + +/* +ThsvsAccessType defines all potential resource usages in the Vulkan API. +*/ +typedef enum ThsvsAccessType { + THSVS_ACCESS_NONE, // No access. Useful primarily for initialization + +// Read access + // Requires VK_NV_device_generated_commands to be enabled + THSVS_ACCESS_COMMAND_BUFFER_READ_NV, // Command buffer read operation as defined by NV_device_generated_commands + THSVS_ACCESS_INDIRECT_BUFFER, // Read as an indirect buffer for drawing or dispatch + THSVS_ACCESS_INDEX_BUFFER, // Read as an index buffer for drawing + THSVS_ACCESS_VERTEX_BUFFER, // Read as a vertex buffer for drawing + THSVS_ACCESS_VERTEX_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a vertex shader + THSVS_ACCESS_VERTEX_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // Read as a sampled image/uniform texel buffer in a vertex shader + THSVS_ACCESS_VERTEX_SHADER_READ_OTHER, // Read as any other resource in a vertex shader + THSVS_ACCESS_TESSELLATION_CONTROL_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a tessellation control shader + THSVS_ACCESS_TESSELLATION_CONTROL_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // Read as a sampled image/uniform texel buffer in a tessellation control shader + THSVS_ACCESS_TESSELLATION_CONTROL_SHADER_READ_OTHER, // Read as any other resource in a tessellation control shader + THSVS_ACCESS_TESSELLATION_EVALUATION_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a tessellation evaluation shader + THSVS_ACCESS_TESSELLATION_EVALUATION_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // Read as a sampled image/uniform texel buffer in a tessellation evaluation shader + THSVS_ACCESS_TESSELLATION_EVALUATION_SHADER_READ_OTHER, // Read as any other resource in a tessellation evaluation shader + THSVS_ACCESS_GEOMETRY_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a geometry shader + THSVS_ACCESS_GEOMETRY_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER,// Read as a sampled image/uniform texel buffer in a geometry shader + THSVS_ACCESS_GEOMETRY_SHADER_READ_OTHER, // Read as any other resource in a geometry shader + THSVS_ACCESS_TASK_SHADER_READ_UNIFORM_BUFFER_NV, // Read as a uniform buffer in a task shader + THSVS_ACCESS_TASK_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER_NV, // Read as a sampled image/uniform texel buffer in a task shader + THSVS_ACCESS_TASK_SHADER_READ_OTHER_NV, // Read as any other resource in a task shader + THSVS_ACCESS_MESH_SHADER_READ_UNIFORM_BUFFER_NV, // Read as a uniform buffer in a mesh shader + THSVS_ACCESS_MESH_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER_NV, // Read as a sampled image/uniform texel buffer in a mesh shader + THSVS_ACCESS_MESH_SHADER_READ_OTHER_NV, // Read as any other resource in a mesh shader + THSVS_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_EXT, // Read as a transform feedback counter buffer + THSVS_ACCESS_FRAGMENT_DENSITY_MAP_READ_EXT, // Read as a fragment density map image + THSVS_ACCESS_SHADING_RATE_READ_NV, // Read as a shading rate image + THSVS_ACCESS_FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a fragment shader + THSVS_ACCESS_FRAGMENT_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER,// Read as a sampled image/uniform texel buffer in a fragment shader + THSVS_ACCESS_FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT, // Read as an input attachment with a color format in a fragment shader + THSVS_ACCESS_FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT, // Read as an input attachment with a depth/stencil format in a fragment shader + THSVS_ACCESS_FRAGMENT_SHADER_READ_OTHER, // Read as any other resource in a fragment shader + THSVS_ACCESS_COLOR_ATTACHMENT_READ, // Read by standard blending/logic operations or subpass load operations + THSVS_ACCESS_COLOR_ATTACHMENT_ADVANCED_BLENDING_EXT, // Read by advanced blending, standard blending, logic operations, or subpass load operations + THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ, // Read by depth/stencil tests or subpass load operations + THSVS_ACCESS_COMPUTE_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a compute shader + THSVS_ACCESS_COMPUTE_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // Read as a sampled image/uniform texel buffer in a compute shader + THSVS_ACCESS_COMPUTE_SHADER_READ_OTHER, // Read as any other resource in a compute shader + THSVS_ACCESS_ANY_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in any shader + THSVS_ACCESS_ANY_SHADER_READ_UNIFORM_BUFFER_OR_VERTEX_BUFFER, // Read as a uniform buffer in any shader, or a vertex buffer + THSVS_ACCESS_ANY_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // Read as a sampled image in any shader + THSVS_ACCESS_ANY_SHADER_READ_OTHER, // Read as any other resource (excluding attachments) in any shader + THSVS_ACCESS_TRANSFER_READ, // Read as the source of a transfer operation + THSVS_ACCESS_HOST_READ, // Read on the host + + // Requires VK_KHR_swapchain to be enabled + THSVS_ACCESS_PRESENT, // Read by the presentation engine (i.e. vkQueuePresentKHR) + + // Requires VK_EXT_conditional_rendering to be enabled + THSVS_ACCESS_CONDITIONAL_RENDERING_READ_EXT, // Read by conditional rendering + + // Requires VK_NV_ray_tracing to be enabled + THSVS_ACCESS_RAY_TRACING_SHADER_ACCELERATION_STRUCTURE_READ_NV, // Read by a ray tracing shader as an acceleration structure + THSVS_ACCESS_ACCELERATION_STRUCTURE_BUILD_READ_NV, // Read as an acceleration structure during a build + + // Read accesses end + THSVS_END_OF_READ_ACCESS, + +// Write access + // Requires VK_NV_device_generated_commands to be enabled + THSVS_ACCESS_COMMAND_BUFFER_WRITE_NV, // Command buffer write operation + THSVS_ACCESS_VERTEX_SHADER_WRITE, // Written as any resource in a vertex shader + THSVS_ACCESS_TESSELLATION_CONTROL_SHADER_WRITE, // Written as any resource in a tessellation control shader + THSVS_ACCESS_TESSELLATION_EVALUATION_SHADER_WRITE, // Written as any resource in a tessellation evaluation shader + THSVS_ACCESS_GEOMETRY_SHADER_WRITE, // Written as any resource in a geometry shader + + // Requires VK_NV_mesh_shading to be enabled + THSVS_ACCESS_TASK_SHADER_WRITE_NV, // Written as any resource in a task shader + THSVS_ACCESS_MESH_SHADER_WRITE_NV, // Written as any resource in a mesh shader + + // Requires VK_EXT_transform_feedback to be enabled + THSVS_ACCESS_TRANSFORM_FEEDBACK_WRITE_EXT, // Written as a transform feedback buffer + THSVS_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_EXT, // Written as a transform feedback counter buffer + + THSVS_ACCESS_FRAGMENT_SHADER_WRITE, // Written as any resource in a fragment shader + THSVS_ACCESS_COLOR_ATTACHMENT_WRITE, // Written as a color attachment during rendering, or via a subpass store op + THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE, // Written as a depth/stencil attachment during rendering, or via a subpass store op + + // Requires VK_KHR_maintenance2 to be enabled + THSVS_ACCESS_DEPTH_ATTACHMENT_WRITE_STENCIL_READ_ONLY, // Written as a depth aspect of a depth/stencil attachment during rendering, whilst the stencil aspect is read-only + THSVS_ACCESS_STENCIL_ATTACHMENT_WRITE_DEPTH_READ_ONLY, // Written as a stencil aspect of a depth/stencil attachment during rendering, whilst the depth aspect is read-only + + THSVS_ACCESS_COMPUTE_SHADER_WRITE, // Written as any resource in a compute shader + THSVS_ACCESS_ANY_SHADER_WRITE, // Written as any resource in any shader + THSVS_ACCESS_TRANSFER_WRITE, // Written as the destination of a transfer operation + THSVS_ACCESS_HOST_PREINITIALIZED, // Data pre-filled by host before device access starts + THSVS_ACCESS_HOST_WRITE, // Written on the host + + // Requires VK_NV_ray_tracing to be enabled + THSVS_ACCESS_ACCELERATION_STRUCTURE_BUILD_WRITE_NV, // Written as an acceleration structure during a build + + THSVS_ACCESS_COLOR_ATTACHMENT_READ_WRITE, // Read or written as a color attachment during rendering +// General access + THSVS_ACCESS_GENERAL, // Covers any access - useful for debug, generally avoid for performance reasons + +// Number of access types + THSVS_NUM_ACCESS_TYPES +} ThsvsAccessType; + +/* +ThsvsImageLayout defines a handful of layout options for images. +Rather than a list of all possible image layouts, this reduced list is +correlated with the access types to map to the correct Vulkan layouts. +THSVS_IMAGE_LAYOUT_OPTIMAL is usually preferred. +*/ +typedef enum ThsvsImageLayout { + THSVS_IMAGE_LAYOUT_OPTIMAL, // Choose the most optimal layout for each usage. Performs layout transitions as appropriate for the access. + THSVS_IMAGE_LAYOUT_GENERAL, // Layout accessible by all Vulkan access types on a device - no layout transitions except for presentation + + // Requires VK_KHR_shared_presentable_image to be enabled. Can only be used for shared presentable images (i.e. single-buffered swap chains). + THSVS_IMAGE_LAYOUT_GENERAL_AND_PRESENTATION // As GENERAL, but also allows presentation engines to access it - no layout transitions +} ThsvsImageLayout; + +/* +Global barriers define a set of accesses on multiple resources at once. +If a buffer or image doesn't require a queue ownership transfer, or an image +doesn't require a layout transition (e.g. you're using one of the GENERAL +layouts) then a global barrier should be preferred. +Simply define the previous and next access types of resources affected. +*/ +typedef struct ThsvsGlobalBarrier { + uint32_t prevAccessCount; + const ThsvsAccessType* pPrevAccesses; + uint32_t nextAccessCount; + const ThsvsAccessType* pNextAccesses; +} ThsvsGlobalBarrier; + +/* +Buffer barriers should only be used when a queue family ownership transfer +is required - prefer global barriers at all other times. + +Access types are defined in the same way as for a global memory barrier, but +they only affect the buffer range identified by buffer, offset and size, +rather than all resources. +srcQueueFamilyIndex and dstQueueFamilyIndex will be passed unmodified into a +VkBufferMemoryBarrier. + +A buffer barrier defining a queue ownership transfer needs to be executed +twice - once by a queue in the source queue family, and then once again by a +queue in the destination queue family, with a semaphore guaranteeing +execution order between them. +*/ +typedef struct ThsvsBufferBarrier { + uint32_t prevAccessCount; + const ThsvsAccessType* pPrevAccesses; + uint32_t nextAccessCount; + const ThsvsAccessType* pNextAccesses; + uint32_t srcQueueFamilyIndex; + uint32_t dstQueueFamilyIndex; + VkBuffer buffer; + VkDeviceSize offset; + VkDeviceSize size; +} ThsvsBufferBarrier; + +/* +Image barriers should only be used when a queue family ownership transfer +or an image layout transition is required - prefer global barriers at all +other times. +In general it is better to use image barriers with THSVS_IMAGE_LAYOUT_OPTIMAL +than it is to use global barriers with images using either of the +THSVS_IMAGE_LAYOUT_GENERAL* layouts. + +Access types are defined in the same way as for a global memory barrier, but +they only affect the image subresource range identified by image and +subresourceRange, rather than all resources. +srcQueueFamilyIndex, dstQueueFamilyIndex, image, and subresourceRange will +be passed unmodified into a VkImageMemoryBarrier. + +An image barrier defining a queue ownership transfer needs to be executed +twice - once by a queue in the source queue family, and then once again by a +queue in the destination queue family, with a semaphore guaranteeing +execution order between them. + +If discardContents is set to true, the contents of the image become +undefined after the barrier is executed, which can result in a performance +boost over attempting to preserve the contents. +This is particularly useful for transient images where the contents are +going to be immediately overwritten. A good example of when to use this is +when an application re-uses a presented image after vkAcquireNextImageKHR. +*/ +typedef struct ThsvsImageBarrier { + uint32_t prevAccessCount; + const ThsvsAccessType* pPrevAccesses; + uint32_t nextAccessCount; + const ThsvsAccessType* pNextAccesses; + ThsvsImageLayout prevLayout; + ThsvsImageLayout nextLayout; + VkBool32 discardContents; + uint32_t srcQueueFamilyIndex; + uint32_t dstQueueFamilyIndex; + VkImage image; + VkImageSubresourceRange subresourceRange; +} ThsvsImageBarrier; + +/* +Mapping function that translates a global barrier into a set of source and +destination pipeline stages, and a VkMemoryBarrier, that can be used with +Vulkan's synchronization methods. +*/ +void thsvsGetVulkanMemoryBarrier( + ThsvsGlobalBarrier thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkMemoryBarrier* pVkBarrier); + +/* +Mapping function that translates a buffer barrier into a set of source and +destination pipeline stages, and a VkBufferMemoryBarrier, that can be used +with Vulkan's synchronization methods. +*/ +void thsvsGetVulkanBufferMemoryBarrier( + ThsvsBufferBarrier thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkBufferMemoryBarrier* pVkBarrier); + +/* +Mapping function that translates an image barrier into a set of source and +destination pipeline stages, and a VkBufferMemoryBarrier, that can be used +with Vulkan's synchronization methods. +*/ +void thsvsGetVulkanImageMemoryBarrier( + ThsvsImageBarrier thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkImageMemoryBarrier* pVkBarrier); + +/* +Simplified wrapper around vkCmdPipelineBarrier. + +The mapping functions defined above are used to translate the passed in +barrier definitions into a set of pipeline stages and native Vulkan memory +barriers to be passed to vkCmdPipelineBarrier. + +commandBuffer is passed unmodified to vkCmdPipelineBarrier. +*/ +void thsvsCmdPipelineBarrier( + VkCommandBuffer commandBuffer, + const ThsvsGlobalBarrier* pGlobalBarrier, + uint32_t bufferBarrierCount, + const ThsvsBufferBarrier* pBufferBarriers, + uint32_t imageBarrierCount, + const ThsvsImageBarrier* pImageBarriers); + +/* +Wrapper around vkCmdSetEvent. + +Sets an event when the accesses defined by pPrevAccesses are completed. + +commandBuffer and event are passed unmodified to vkCmdSetEvent. +*/ +void thsvsCmdSetEvent( + VkCommandBuffer commandBuffer, + VkEvent event, + uint32_t prevAccessCount, + const ThsvsAccessType* pPrevAccesses); + +/* +Wrapper around vkCmdResetEvent. + +Resets an event when the accesses defined by pPrevAccesses are completed. + +commandBuffer and event are passed unmodified to vkCmdResetEvent. +*/ +void thsvsCmdResetEvent( + VkCommandBuffer commandBuffer, + VkEvent event, + uint32_t prevAccessCount, + const ThsvsAccessType* pPrevAccesses); + +/* +Simplified wrapper around vkCmdWaitEvents. + +The mapping functions defined above are used to translate the passed in +barrier definitions into a set of pipeline stages and native Vulkan memory +barriers to be passed to vkCmdPipelineBarrier. + +commandBuffer, eventCount, and pEvents are passed unmodified to +vkCmdWaitEvents. +*/ +void thsvsCmdWaitEvents( + VkCommandBuffer commandBuffer, + uint32_t eventCount, + const VkEvent* pEvents, + const ThsvsGlobalBarrier* pGlobalBarrier, + uint32_t bufferBarrierCount, + const ThsvsBufferBarrier* pBufferBarriers, + uint32_t imageBarrierCount, + const ThsvsImageBarrier* pImageBarriers); + +#endif // THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_H + +#ifdef THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION + +#include + +//// Optional Error Checking //// +/* +Checks for barriers defining multiple usages that have different layouts +*/ +// #define THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT + +/* +Checks if an image/buffer barrier is used when a global barrier would suffice +*/ +// #define THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER + +/* +Checks if a write access is listed alongside any other access - if so it +points to a potential data hazard that you need to synchronize separately. +In some cases it may simply be over-synchronization however, but it's usually +worth checking. +*/ +// #define THSVS_ERROR_CHECK_POTENTIAL_HAZARD + +/* +Checks if a variety of table lookups (like the access map) are within +a valid range. +*/ +// #define THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + +//// Temporary Memory Allocation //// +/* +Override these if you can't afford the stack space or just want to use a +custom temporary allocator. +These are currently used exclusively to allocate Vulkan memory barriers in +the API, one for each Buffer or Image barrier passed into the pipeline and +event functions. +May consider other allocation strategies in future. +*/ + +// Alloca inclusion code below copied from +// https://github.com/nothings/stb/blob/master/stb_vorbis.c + +// find definition of alloca if it's not in stdlib.h: +#if defined(_MSC_VER) || defined(__MINGW32__) + #include +#endif +#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) + #include +#endif + +#if defined(THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE) || \ + defined(THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER) || \ + defined(THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT) || \ + defined(THSVS_ERROR_CHECK_POTENTIAL_HAZARD) + #include +#endif + +#if !defined(THSVS_TEMP_ALLOC) +#define THSVS_TEMP_ALLOC(size) (alloca(size)) +#endif + +#if !defined(THSVS_TEMP_FREE) +#define THSVS_TEMP_FREE(x) ((void)(x)) +#endif + +typedef struct ThsvsVkAccessInfo { + VkPipelineStageFlags stageMask; + VkAccessFlags accessMask; + VkImageLayout imageLayout; +} ThsvsVkAccessInfo; + +const ThsvsVkAccessInfo ThsvsAccessMap[THSVS_NUM_ACCESS_TYPES] = { + // THSVS_ACCESS_NONE + { 0, + 0, + VK_IMAGE_LAYOUT_UNDEFINED}, + +// Read Access + // THSVS_ACCESS_COMMAND_BUFFER_READ_NV + { VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV, + VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_INDIRECT_BUFFER + { VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT, + VK_ACCESS_INDIRECT_COMMAND_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + + // THSVS_ACCESS_INDEX_BUFFER + { VK_PIPELINE_STAGE_VERTEX_INPUT_BIT, + VK_ACCESS_INDEX_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_VERTEX_BUFFER + { VK_PIPELINE_STAGE_VERTEX_INPUT_BIT, + VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_VERTEX_SHADER_READ_UNIFORM_BUFFER + { VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_VERTEX_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER + { VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_VERTEX_SHADER_READ_OTHER + { VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_TESSELLATION_CONTROL_SHADER_READ_UNIFORM_BUFFER + { VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_TESSELLATION_CONTROL_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER + { VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_TESSELLATION_CONTROL_SHADER_READ_OTHER + { VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_TESSELLATION_EVALUATION_SHADER_READ_UNIFORM_BUFFER + { VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_TESSELLATION_EVALUATION_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER + { VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_TESSELLATION_EVALUATION_SHADER_READ_OTHER + { VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_GEOMETRY_SHADER_READ_UNIFORM_BUFFER + { VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_GEOMETRY_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER + { VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_GEOMETRY_SHADER_READ_OTHER + { VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_TASK_SHADER_READ_UNIFORM_BUFFER_NV + { VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_TASK_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER_NV + { VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_TASK_SHADER_READ_OTHER_NV + { VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_MESH_SHADER_READ_UNIFORM_BUFFER_NV + { VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_MESH_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER_NV + { VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_MESH_SHADER_READ_OTHER_NV + { VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_EXT + { VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT, + VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_FRAGMENT_DENSITY_MAP_READ_EXT + { VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT, + VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT, + VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT}, + // THSVS_ACCESS_SHADING_RATE_READ_NV + { VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV, + VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV, + VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV}, + + // THSVS_ACCESS_FRAGMENT_SHADER_READ_UNIFORM_BUFFER + { VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_FRAGMENT_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER + { VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT + { VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + VK_ACCESS_INPUT_ATTACHMENT_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT + { VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + VK_ACCESS_INPUT_ATTACHMENT_READ_BIT, + VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_FRAGMENT_SHADER_READ_OTHER + { VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_COLOR_ATTACHMENT_READ + { VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, + VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL}, + // THSVS_ACCESS_COLOR_ATTACHMENT_ADVANCED_BLENDING_EXT + { VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, + VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT, + VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL}, + // THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ + { VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, + VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL}, + + // THSVS_ACCESS_COMPUTE_SHADER_READ_UNIFORM_BUFFER + { VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_COMPUTE_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER + { VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_COMPUTE_SHADER_READ_OTHER + { VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_ANY_SHADER_READ_UNIFORM_BUFFER + { VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, + VK_ACCESS_UNIFORM_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_ANY_SHADER_READ_UNIFORM_BUFFER_OR_VERTEX_BUFFER + { VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, + VK_ACCESS_UNIFORM_READ_BIT | VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_ANY_SHADER_READ_SAMPLED_IMAGE + { VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}, + // THSVS_ACCESS_ANY_SHADER_READ_OTHER + { VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, + VK_ACCESS_SHADER_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_TRANSFER_READ + { VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_ACCESS_TRANSFER_READ_BIT, + VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL}, + // THSVS_ACCESS_HOST_READ + { VK_PIPELINE_STAGE_HOST_BIT, + VK_ACCESS_HOST_READ_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_PRESENT + { 0, + 0, + VK_IMAGE_LAYOUT_PRESENT_SRC_KHR}, + // THSVS_ACCESS_CONDITIONAL_RENDERING_READ_EXT + { VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT, + VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT, + VK_IMAGE_LAYOUT_UNDEFINED}, + + // THSVS_ACCESS_RAY_TRACING_SHADER_ACCELERATION_STRUCTURE_READ_NV + { VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_NV, + VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_ACCELERATION_STRUCTURE_BUILD_READ_NV + { VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV, + VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_END_OF_READ_ACCESS + { 0, + 0, + VK_IMAGE_LAYOUT_UNDEFINED}, + +// Write access + // THSVS_ACCESS_COMMAND_BUFFER_WRITE_NV + { VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV, + VK_ACCESS_COMMAND_PREPROCESS_WRITE_BIT_NV, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_VERTEX_SHADER_WRITE + { VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_TESSELLATION_CONTROL_SHADER_WRITE + { VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_TESSELLATION_EVALUATION_SHADER_WRITE + { VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_GEOMETRY_SHADER_WRITE + { VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_TASK_SHADER_WRITE_NV + { VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_MESH_SHADER_WRITE_NV + { VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_TRANSFORM_FEEDBACK_WRITE_EXT + { VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT, + VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_EXT + { VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT, + VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT, + VK_IMAGE_LAYOUT_UNDEFINED}, + // THSVS_ACCESS_FRAGMENT_SHADER_WRITE + { VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_COLOR_ATTACHMENT_WRITE + { VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, + VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, + VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL}, + // THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE + { VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, + VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL}, + // THSVS_ACCESS_DEPTH_ATTACHMENT_WRITE_STENCIL_READ_ONLY + { VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, + VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR}, + // THSVS_ACCESS_STENCIL_ATTACHMENT_WRITE_DEPTH_READ_ONLY + { VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, + VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR}, + + // THSVS_ACCESS_COMPUTE_SHADER_WRITE + { VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_ANY_SHADER_WRITE + { VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, + VK_ACCESS_SHADER_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + + // THSVS_ACCESS_TRANSFER_WRITE + { VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_ACCESS_TRANSFER_WRITE_BIT, + VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL}, + // THSVS_ACCESS_HOST_PREINITIALIZED + { VK_PIPELINE_STAGE_HOST_BIT, + VK_ACCESS_HOST_WRITE_BIT, + VK_IMAGE_LAYOUT_PREINITIALIZED}, + // THSVS_ACCESS_HOST_WRITE + { VK_PIPELINE_STAGE_HOST_BIT, + VK_ACCESS_HOST_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL}, + // THSVS_ACCESS_ACCELERATION_STRUCTURE_BUILD_WRITE_NV + { VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV, + VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV, + VK_IMAGE_LAYOUT_UNDEFINED}, + + // THSVS_ACCESS_COLOR_ATTACHMENT_READ_WRITE + { VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, + VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL}, + // THSVS_ACCESS_GENERAL + { VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, + VK_ACCESS_MEMORY_READ_BIT | VK_ACCESS_MEMORY_WRITE_BIT, + VK_IMAGE_LAYOUT_GENERAL} +}; + +void thsvsGetVulkanMemoryBarrier( + ThsvsGlobalBarrier thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkMemoryBarrier* pVkBarrier) +{ + *pSrcStages = 0; + *pDstStages = 0; + pVkBarrier->sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER; + pVkBarrier->pNext = NULL; + pVkBarrier->srcAccessMask = 0; + pVkBarrier->dstAccessMask = 0; + + for (uint32_t i = 0; i < thBarrier.prevAccessCount; ++i) + { + ThsvsAccessType prevAccess = thBarrier.pPrevAccesses[i]; + const ThsvsVkAccessInfo* pPrevAccessInfo = &ThsvsAccessMap[prevAccess]; + +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the previous access index is a valid range for the lookup + assert(prevAccess < THSVS_NUM_ACCESS_TYPES); +#endif + +#ifdef THSVS_ERROR_CHECK_POTENTIAL_HAZARD + // Asserts that the access is a read, else it's a write and it should appear on its own. + assert(prevAccess < THSVS_END_OF_READ_ACCESS || thBarrier.prevAccessCount == 1); +#endif + + *pSrcStages |= pPrevAccessInfo->stageMask; + + // Add appropriate availability operations - for writes only. + if (prevAccess > THSVS_END_OF_READ_ACCESS) + pVkBarrier->srcAccessMask |= pPrevAccessInfo->accessMask; + } + + for (uint32_t i = 0; i < thBarrier.nextAccessCount; ++i) + { + ThsvsAccessType nextAccess = thBarrier.pNextAccesses[i]; + const ThsvsVkAccessInfo* pNextAccessInfo = &ThsvsAccessMap[nextAccess]; + +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the next access index is a valid range for the lookup + assert(nextAccess < THSVS_NUM_ACCESS_TYPES); +#endif + +#ifdef THSVS_ERROR_CHECK_POTENTIAL_HAZARD + // Asserts that the access is a read, else it's a write and it should appear on its own. + assert(nextAccess < THSVS_END_OF_READ_ACCESS || thBarrier.nextAccessCount == 1); +#endif + *pDstStages |= pNextAccessInfo->stageMask; + + // Add visibility operations as necessary. + // If the src access mask, this is a WAR hazard (or for some reason a "RAR"), + // so the dst access mask can be safely zeroed as these don't need visibility. + if (pVkBarrier->srcAccessMask != 0) + pVkBarrier->dstAccessMask |= pNextAccessInfo->accessMask; + } + + // Ensure that the stage masks are valid if no stages were determined + if (*pSrcStages == 0) + *pSrcStages = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + if (*pDstStages == 0) + *pDstStages = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; +} + +void thsvsGetVulkanBufferMemoryBarrier( + ThsvsBufferBarrier thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkBufferMemoryBarrier* pVkBarrier) +{ + *pSrcStages = 0; + *pDstStages = 0; + pVkBarrier->sType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER; + pVkBarrier->pNext = NULL; + pVkBarrier->srcAccessMask = 0; + pVkBarrier->dstAccessMask = 0; + pVkBarrier->srcQueueFamilyIndex = thBarrier.srcQueueFamilyIndex; + pVkBarrier->dstQueueFamilyIndex = thBarrier.dstQueueFamilyIndex; + pVkBarrier->buffer = thBarrier.buffer; + pVkBarrier->offset = thBarrier.offset; + pVkBarrier->size = thBarrier.size; + + for (uint32_t i = 0; i < thBarrier.prevAccessCount; ++i) + { + ThsvsAccessType prevAccess = thBarrier.pPrevAccesses[i]; + const ThsvsVkAccessInfo* pPrevAccessInfo = &ThsvsAccessMap[prevAccess]; + +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the previous access index is a valid range for the lookup + assert(prevAccess < THSVS_NUM_ACCESS_TYPES); +#endif + +#ifdef THSVS_ERROR_CHECK_POTENTIAL_HAZARD + // Asserts that the access is a read, else it's a write and it should appear on its own. + assert(prevAccess < THSVS_END_OF_READ_ACCESS || thBarrier.prevAccessCount == 1); +#endif + + *pSrcStages |= pPrevAccessInfo->stageMask; + + // Add appropriate availability operations - for writes only. + if (prevAccess > THSVS_END_OF_READ_ACCESS) + pVkBarrier->srcAccessMask |= pPrevAccessInfo->accessMask; + } + + for (uint32_t i = 0; i < thBarrier.nextAccessCount; ++i) + { + ThsvsAccessType nextAccess = thBarrier.pNextAccesses[i]; + const ThsvsVkAccessInfo* pNextAccessInfo = &ThsvsAccessMap[nextAccess]; + +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the next access index is a valid range for the lookup + assert(nextAccess < THSVS_NUM_ACCESS_TYPES); +#endif + +#ifdef THSVS_ERROR_CHECK_POTENTIAL_HAZARD + // Asserts that the access is a read, else it's a write and it should appear on its own. + assert(nextAccess < THSVS_END_OF_READ_ACCESS || thBarrier.nextAccessCount == 1); +#endif + + *pDstStages |= pNextAccessInfo->stageMask; + + // Add visibility operations as necessary. + // If the src access mask, this is a WAR hazard (or for some reason a "RAR"), + // so the dst access mask can be safely zeroed as these don't need visibility. + if (pVkBarrier->srcAccessMask != 0) + pVkBarrier->dstAccessMask |= pNextAccessInfo->accessMask; + } + + // Ensure that the stage masks are valid if no stages were determined + if (*pSrcStages == 0) + *pSrcStages = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + if (*pDstStages == 0) + *pDstStages = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; +} + +void thsvsGetVulkanImageMemoryBarrier( + ThsvsImageBarrier thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkImageMemoryBarrier* pVkBarrier) +{ + *pSrcStages = 0; + *pDstStages = 0; + pVkBarrier->sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; + pVkBarrier->pNext = NULL; + pVkBarrier->srcAccessMask = 0; + pVkBarrier->dstAccessMask = 0; + pVkBarrier->srcQueueFamilyIndex = thBarrier.srcQueueFamilyIndex; + pVkBarrier->dstQueueFamilyIndex = thBarrier.dstQueueFamilyIndex; + pVkBarrier->image = thBarrier.image; + pVkBarrier->subresourceRange = thBarrier.subresourceRange; + pVkBarrier->oldLayout = VK_IMAGE_LAYOUT_UNDEFINED; + pVkBarrier->newLayout = VK_IMAGE_LAYOUT_UNDEFINED; + + for (uint32_t i = 0; i < thBarrier.prevAccessCount; ++i) + { + ThsvsAccessType prevAccess = thBarrier.pPrevAccesses[i]; + const ThsvsVkAccessInfo* pPrevAccessInfo = &ThsvsAccessMap[prevAccess]; + +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the previous access index is a valid range for the lookup + assert(prevAccess < THSVS_NUM_ACCESS_TYPES); +#endif + +#ifdef THSVS_ERROR_CHECK_POTENTIAL_HAZARD + // Asserts that the access is a read, else it's a write and it should appear on its own. + assert(prevAccess < THSVS_END_OF_READ_ACCESS || thBarrier.prevAccessCount == 1); +#endif + + *pSrcStages |= pPrevAccessInfo->stageMask; + + // Add appropriate availability operations - for writes only. + if (prevAccess > THSVS_END_OF_READ_ACCESS) + pVkBarrier->srcAccessMask |= pPrevAccessInfo->accessMask; + + if (thBarrier.discardContents == VK_TRUE) + { + pVkBarrier->oldLayout = VK_IMAGE_LAYOUT_UNDEFINED; + } + else + { + VkImageLayout layout = VK_IMAGE_LAYOUT_UNDEFINED; + + switch(thBarrier.prevLayout) + { + case THSVS_IMAGE_LAYOUT_GENERAL: + if (prevAccess == THSVS_ACCESS_PRESENT) + layout = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR; + else + layout = VK_IMAGE_LAYOUT_GENERAL; + break; + case THSVS_IMAGE_LAYOUT_OPTIMAL: + layout = pPrevAccessInfo->imageLayout; + break; + case THSVS_IMAGE_LAYOUT_GENERAL_AND_PRESENTATION: + layout = VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR; + break; + } + + +#ifdef THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT + assert(pVkBarrier->oldLayout == VK_IMAGE_LAYOUT_UNDEFINED || + pVkBarrier->oldLayout == layout); +#endif + pVkBarrier->oldLayout = layout; + } + +#ifdef THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER + assert(pVkBarrier->srcQueueFamilyIndex != pVkBarrier->dstQueueFamilyIndex); +#endif + } + + for (uint32_t i = 0; i < thBarrier.nextAccessCount; ++i) + { + ThsvsAccessType nextAccess = thBarrier.pNextAccesses[i]; + const ThsvsVkAccessInfo* pNextAccessInfo = &ThsvsAccessMap[nextAccess]; + +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the next access index is a valid range for the lookup + assert(nextAccess < THSVS_NUM_ACCESS_TYPES); +#endif + +#ifdef THSVS_ERROR_CHECK_POTENTIAL_HAZARD + // Asserts that the access is a read, else it's a write and it should appear on its own. + assert(nextAccess < THSVS_END_OF_READ_ACCESS || thBarrier.nextAccessCount == 1); +#endif + + *pDstStages |= pNextAccessInfo->stageMask; + + // Add visibility operations as necessary. + // If the src access mask, this is a WAR hazard (or for some reason a "RAR"), + // so the dst access mask can be safely zeroed as these don't need visibility. + if (pVkBarrier->srcAccessMask != 0) + pVkBarrier->dstAccessMask |= pNextAccessInfo->accessMask; + + VkImageLayout layout = VK_IMAGE_LAYOUT_UNDEFINED; + switch(thBarrier.nextLayout) + { + case THSVS_IMAGE_LAYOUT_GENERAL: + if (nextAccess == THSVS_ACCESS_PRESENT) + layout = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR; + else + layout = VK_IMAGE_LAYOUT_GENERAL; + break; + case THSVS_IMAGE_LAYOUT_OPTIMAL: + layout = pNextAccessInfo->imageLayout; + break; + case THSVS_IMAGE_LAYOUT_GENERAL_AND_PRESENTATION: + layout = VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR; + break; + } + +#ifdef THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT + assert(pVkBarrier->newLayout == VK_IMAGE_LAYOUT_UNDEFINED || + pVkBarrier->newLayout == layout); +#endif + pVkBarrier->newLayout = layout; + } + +#ifdef THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER + assert(pVkBarrier->newLayout != pVkBarrier->oldLayout || + pVkBarrier->srcQueueFamilyIndex != pVkBarrier->dstQueueFamilyIndex); +#endif + + // Ensure that the stage masks are valid if no stages were determined + if (*pSrcStages == 0) + *pSrcStages = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + if (*pDstStages == 0) + *pDstStages = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; +} + +void thsvsCmdPipelineBarrier( + VkCommandBuffer commandBuffer, + const ThsvsGlobalBarrier* pGlobalBarrier, + uint32_t bufferBarrierCount, + const ThsvsBufferBarrier* pBufferBarriers, + uint32_t imageBarrierCount, + const ThsvsImageBarrier* pImageBarriers) +{ + VkMemoryBarrier memoryBarrier; + // Vulkan pipeline barrier command parameters + // commandBuffer; + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + uint32_t memoryBarrierCount = (pGlobalBarrier != NULL) ? 1 : 0; + VkMemoryBarrier* pMemoryBarriers = (pGlobalBarrier != NULL) ? &memoryBarrier : NULL; + uint32_t bufferMemoryBarrierCount = bufferBarrierCount; + VkBufferMemoryBarrier* pBufferMemoryBarriers = NULL; + uint32_t imageMemoryBarrierCount = imageBarrierCount; + VkImageMemoryBarrier* pImageMemoryBarriers = NULL; + + // Global memory barrier + if (pGlobalBarrier != NULL) + { + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + thsvsGetVulkanMemoryBarrier(*pGlobalBarrier, &tempSrcStageMask, &tempDstStageMask, pMemoryBarriers); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + } + + // Buffer memory barriers + if (bufferBarrierCount > 0) + { + pBufferMemoryBarriers = (VkBufferMemoryBarrier*)THSVS_TEMP_ALLOC(sizeof(VkBufferMemoryBarrier) * bufferMemoryBarrierCount); + + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + for (uint32_t i = 0; i < bufferBarrierCount; ++i) + { + thsvsGetVulkanBufferMemoryBarrier(pBufferBarriers[i], &tempSrcStageMask, &tempDstStageMask, &pBufferMemoryBarriers[i]); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + } + } + + // Image memory barriers + if (imageBarrierCount > 0) + { + pImageMemoryBarriers = (VkImageMemoryBarrier*)THSVS_TEMP_ALLOC(sizeof(VkImageMemoryBarrier) * imageMemoryBarrierCount); + + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + for (uint32_t i = 0; i < imageBarrierCount; ++i) + { + thsvsGetVulkanImageMemoryBarrier(pImageBarriers[i], &tempSrcStageMask, &tempDstStageMask, &pImageMemoryBarriers[i]); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + } + } + + vkCmdPipelineBarrier( + commandBuffer, + srcStageMask, + dstStageMask, + 0, + memoryBarrierCount, + pMemoryBarriers, + bufferMemoryBarrierCount, + pBufferMemoryBarriers, + imageMemoryBarrierCount, + pImageMemoryBarriers); + + THSVS_TEMP_FREE(pBufferMemoryBarriers); + THSVS_TEMP_FREE(pImageMemoryBarriers); +} + +void thsvsCmdSetEvent( + VkCommandBuffer commandBuffer, + VkEvent event, + uint32_t prevAccessCount, + const ThsvsAccessType* pPrevAccesses) +{ + VkPipelineStageFlags stageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + + for (uint32_t i = 0; i < prevAccessCount; ++i) + { + ThsvsAccessType prevAccess = pPrevAccesses[i]; + const ThsvsVkAccessInfo* pPrevAccessInfo = &ThsvsAccessMap[prevAccess]; + +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the previous access index is a valid range for the lookup + assert(prevAccess < THSVS_NUM_ACCESS_TYPES); +#endif + + stageMask |= pPrevAccessInfo->stageMask; + } + + vkCmdSetEvent( + commandBuffer, + event, + stageMask); +} + +void thsvsCmdResetEvent( + VkCommandBuffer commandBuffer, + VkEvent event, + uint32_t prevAccessCount, + const ThsvsAccessType* pPrevAccesses) +{ + VkPipelineStageFlags stageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + + for (uint32_t i = 0; i < prevAccessCount; ++i) + { + ThsvsAccessType prevAccess = pPrevAccesses[i]; + const ThsvsVkAccessInfo* pPrevAccessInfo = &ThsvsAccessMap[prevAccess]; + +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the previous access index is a valid range for the lookup + assert(prevAccess < THSVS_NUM_ACCESS_TYPES); +#endif + + stageMask |= pPrevAccessInfo->stageMask; + } + + vkCmdResetEvent( + commandBuffer, + event, + stageMask); +} + +void thsvsCmdWaitEvents( + VkCommandBuffer commandBuffer, + uint32_t eventCount, + const VkEvent* pEvents, + const ThsvsGlobalBarrier* pGlobalBarrier, + uint32_t bufferBarrierCount, + const ThsvsBufferBarrier* pBufferBarriers, + uint32_t imageBarrierCount, + const ThsvsImageBarrier* pImageBarriers) +{ + VkMemoryBarrier memoryBarrier; + // Vulkan pipeline barrier command parameters + // commandBuffer; + // eventCount; + // pEvents; + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + uint32_t memoryBarrierCount = (pGlobalBarrier != NULL) ? 1 : 0; + VkMemoryBarrier* pMemoryBarriers = (pGlobalBarrier != NULL) ? &memoryBarrier : NULL; + uint32_t bufferMemoryBarrierCount = bufferBarrierCount; + VkBufferMemoryBarrier* pBufferMemoryBarriers = NULL; + uint32_t imageMemoryBarrierCount = imageBarrierCount; + VkImageMemoryBarrier* pImageMemoryBarriers = NULL; + + // Global memory barrier + if (pGlobalBarrier != NULL) + { + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + thsvsGetVulkanMemoryBarrier(*pGlobalBarrier, &tempSrcStageMask, &tempDstStageMask, pMemoryBarriers); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + } + + // Buffer memory barriers + if (bufferBarrierCount > 0) + { + pBufferMemoryBarriers = (VkBufferMemoryBarrier*)THSVS_TEMP_ALLOC(sizeof(VkBufferMemoryBarrier) * bufferMemoryBarrierCount); + + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + for (uint32_t i = 0; i < bufferBarrierCount; ++i) + { + thsvsGetVulkanBufferMemoryBarrier(pBufferBarriers[i], &tempSrcStageMask, &tempDstStageMask, &pBufferMemoryBarriers[i]); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + } + } + + // Image memory barriers + if (imageBarrierCount > 0) + { + pImageMemoryBarriers = (VkImageMemoryBarrier*)THSVS_TEMP_ALLOC(sizeof(VkImageMemoryBarrier) * imageMemoryBarrierCount); + + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + for (uint32_t i = 0; i < imageBarrierCount; ++i) + { + thsvsGetVulkanImageMemoryBarrier(pImageBarriers[i], &tempSrcStageMask, &tempDstStageMask, &pImageMemoryBarriers[i]); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + } + } + + vkCmdWaitEvents( + commandBuffer, + eventCount, + pEvents, + srcStageMask, + dstStageMask, + memoryBarrierCount, + pMemoryBarriers, + bufferMemoryBarrierCount, + pBufferMemoryBarriers, + imageMemoryBarrierCount, + pImageMemoryBarriers); + + THSVS_TEMP_FREE(pBufferMemoryBarriers); + THSVS_TEMP_FREE(pImageMemoryBarriers); +} + +#endif // THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION diff --git a/native/cocos/renderer/gfx-vulkan/volk.c b/native/cocos/renderer/gfx-vulkan/volk.c index 5e330bd477..23586ba4bf 100644 --- a/native/cocos/renderer/gfx-vulkan/volk.c +++ b/native/cocos/renderer/gfx-vulkan/volk.c @@ -62,9 +62,9 @@ VkResult volkInitialize(void) vkGetInstanceProcAddr = (PFN_vkGetInstanceProcAddr)dlsym(module, "vkGetInstanceProcAddr"); #else - void* module = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL); + void* module = dlopen("libvulkan.so.1", RTLD_NOW | RTLD_LOCAL); if (!module) - module = dlopen("libvulkan.so.1", RTLD_NOW | RTLD_LOCAL); + module = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL); if (!module) return VK_ERROR_INITIALIZATION_FAILED; @@ -104,6 +104,12 @@ void volkLoadInstance(VkInstance instance) volkGenLoadDevice(instance, vkGetInstanceProcAddrStub); } +void volkLoadInstanceOnly(VkInstance instance) +{ + loadedInstance = instance; + volkGenLoadInstance(instance, vkGetInstanceProcAddrStub); +} + VkInstance volkGetLoadedInstance() { return loadedInstance; @@ -198,6 +204,10 @@ static void volkGenLoadInstance(void* context, PFN_vkVoidFunction (*load)(void*, #if defined(VK_EXT_direct_mode_display) vkReleaseDisplayEXT = (PFN_vkReleaseDisplayEXT)load(context, "vkReleaseDisplayEXT"); #endif /* defined(VK_EXT_direct_mode_display) */ +#if defined(VK_EXT_directfb_surface) + vkCreateDirectFBSurfaceEXT = (PFN_vkCreateDirectFBSurfaceEXT)load(context, "vkCreateDirectFBSurfaceEXT"); + vkGetPhysicalDeviceDirectFBPresentationSupportEXT = (PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT)load(context, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT"); +#endif /* defined(VK_EXT_directfb_surface) */ #if defined(VK_EXT_display_surface_counter) vkGetPhysicalDeviceSurfaceCapabilities2EXT = (PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT)load(context, "vkGetPhysicalDeviceSurfaceCapabilities2EXT"); #endif /* defined(VK_EXT_display_surface_counter) */ @@ -246,6 +256,9 @@ static void volkGenLoadInstance(void* context, PFN_vkVoidFunction (*load)(void*, #if defined(VK_KHR_external_semaphore_capabilities) vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = (PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR)load(context, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR"); #endif /* defined(VK_KHR_external_semaphore_capabilities) */ +#if defined(VK_KHR_fragment_shading_rate) + vkGetPhysicalDeviceFragmentShadingRatesKHR = (PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR)load(context, "vkGetPhysicalDeviceFragmentShadingRatesKHR"); +#endif /* defined(VK_KHR_fragment_shading_rate) */ #if defined(VK_KHR_get_display_properties2) vkGetDisplayModeProperties2KHR = (PFN_vkGetDisplayModeProperties2KHR)load(context, "vkGetDisplayModeProperties2KHR"); vkGetDisplayPlaneCapabilities2KHR = (PFN_vkGetDisplayPlaneCapabilities2KHR)load(context, "vkGetDisplayPlaneCapabilities2KHR"); @@ -301,9 +314,10 @@ static void volkGenLoadInstance(void* context, PFN_vkVoidFunction (*load)(void*, #if defined(VK_NN_vi_surface) vkCreateViSurfaceNN = (PFN_vkCreateViSurfaceNN)load(context, "vkCreateViSurfaceNN"); #endif /* defined(VK_NN_vi_surface) */ -#if defined(VK_NVX_device_generated_commands) - vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX = (PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX)load(context, "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX"); -#endif /* defined(VK_NVX_device_generated_commands) */ +#if defined(VK_NV_acquire_winrt_display) + vkAcquireWinrtDisplayNV = (PFN_vkAcquireWinrtDisplayNV)load(context, "vkAcquireWinrtDisplayNV"); + vkGetWinrtDisplayNV = (PFN_vkGetWinrtDisplayNV)load(context, "vkGetWinrtDisplayNV"); +#endif /* defined(VK_NV_acquire_winrt_display) */ #if defined(VK_NV_cooperative_matrix) vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = (PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV)load(context, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV"); #endif /* defined(VK_NV_cooperative_matrix) */ @@ -520,6 +534,20 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c vkRegisterDeviceEventEXT = (PFN_vkRegisterDeviceEventEXT)load(context, "vkRegisterDeviceEventEXT"); vkRegisterDisplayEventEXT = (PFN_vkRegisterDisplayEventEXT)load(context, "vkRegisterDisplayEventEXT"); #endif /* defined(VK_EXT_display_control) */ +#if defined(VK_EXT_extended_dynamic_state) + vkCmdBindVertexBuffers2EXT = (PFN_vkCmdBindVertexBuffers2EXT)load(context, "vkCmdBindVertexBuffers2EXT"); + vkCmdSetCullModeEXT = (PFN_vkCmdSetCullModeEXT)load(context, "vkCmdSetCullModeEXT"); + vkCmdSetDepthBoundsTestEnableEXT = (PFN_vkCmdSetDepthBoundsTestEnableEXT)load(context, "vkCmdSetDepthBoundsTestEnableEXT"); + vkCmdSetDepthCompareOpEXT = (PFN_vkCmdSetDepthCompareOpEXT)load(context, "vkCmdSetDepthCompareOpEXT"); + vkCmdSetDepthTestEnableEXT = (PFN_vkCmdSetDepthTestEnableEXT)load(context, "vkCmdSetDepthTestEnableEXT"); + vkCmdSetDepthWriteEnableEXT = (PFN_vkCmdSetDepthWriteEnableEXT)load(context, "vkCmdSetDepthWriteEnableEXT"); + vkCmdSetFrontFaceEXT = (PFN_vkCmdSetFrontFaceEXT)load(context, "vkCmdSetFrontFaceEXT"); + vkCmdSetPrimitiveTopologyEXT = (PFN_vkCmdSetPrimitiveTopologyEXT)load(context, "vkCmdSetPrimitiveTopologyEXT"); + vkCmdSetScissorWithCountEXT = (PFN_vkCmdSetScissorWithCountEXT)load(context, "vkCmdSetScissorWithCountEXT"); + vkCmdSetStencilOpEXT = (PFN_vkCmdSetStencilOpEXT)load(context, "vkCmdSetStencilOpEXT"); + vkCmdSetStencilTestEnableEXT = (PFN_vkCmdSetStencilTestEnableEXT)load(context, "vkCmdSetStencilTestEnableEXT"); + vkCmdSetViewportWithCountEXT = (PFN_vkCmdSetViewportWithCountEXT)load(context, "vkCmdSetViewportWithCountEXT"); +#endif /* defined(VK_EXT_extended_dynamic_state) */ #if defined(VK_EXT_external_memory_host) vkGetMemoryHostPointerPropertiesEXT = (PFN_vkGetMemoryHostPointerPropertiesEXT)load(context, "vkGetMemoryHostPointerPropertiesEXT"); #endif /* defined(VK_EXT_external_memory_host) */ @@ -539,6 +567,12 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c #if defined(VK_EXT_line_rasterization) vkCmdSetLineStippleEXT = (PFN_vkCmdSetLineStippleEXT)load(context, "vkCmdSetLineStippleEXT"); #endif /* defined(VK_EXT_line_rasterization) */ +#if defined(VK_EXT_private_data) + vkCreatePrivateDataSlotEXT = (PFN_vkCreatePrivateDataSlotEXT)load(context, "vkCreatePrivateDataSlotEXT"); + vkDestroyPrivateDataSlotEXT = (PFN_vkDestroyPrivateDataSlotEXT)load(context, "vkDestroyPrivateDataSlotEXT"); + vkGetPrivateDataEXT = (PFN_vkGetPrivateDataEXT)load(context, "vkGetPrivateDataEXT"); + vkSetPrivateDataEXT = (PFN_vkSetPrivateDataEXT)load(context, "vkSetPrivateDataEXT"); +#endif /* defined(VK_EXT_private_data) */ #if defined(VK_EXT_sample_locations) vkCmdSetSampleLocationsEXT = (PFN_vkCmdSetSampleLocationsEXT)load(context, "vkCmdSetSampleLocationsEXT"); #endif /* defined(VK_EXT_sample_locations) */ @@ -571,6 +605,24 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c vkReleasePerformanceConfigurationINTEL = (PFN_vkReleasePerformanceConfigurationINTEL)load(context, "vkReleasePerformanceConfigurationINTEL"); vkUninitializePerformanceApiINTEL = (PFN_vkUninitializePerformanceApiINTEL)load(context, "vkUninitializePerformanceApiINTEL"); #endif /* defined(VK_INTEL_performance_query) */ +#if defined(VK_KHR_acceleration_structure) + vkBuildAccelerationStructuresKHR = (PFN_vkBuildAccelerationStructuresKHR)load(context, "vkBuildAccelerationStructuresKHR"); + vkCmdBuildAccelerationStructuresIndirectKHR = (PFN_vkCmdBuildAccelerationStructuresIndirectKHR)load(context, "vkCmdBuildAccelerationStructuresIndirectKHR"); + vkCmdBuildAccelerationStructuresKHR = (PFN_vkCmdBuildAccelerationStructuresKHR)load(context, "vkCmdBuildAccelerationStructuresKHR"); + vkCmdCopyAccelerationStructureKHR = (PFN_vkCmdCopyAccelerationStructureKHR)load(context, "vkCmdCopyAccelerationStructureKHR"); + vkCmdCopyAccelerationStructureToMemoryKHR = (PFN_vkCmdCopyAccelerationStructureToMemoryKHR)load(context, "vkCmdCopyAccelerationStructureToMemoryKHR"); + vkCmdCopyMemoryToAccelerationStructureKHR = (PFN_vkCmdCopyMemoryToAccelerationStructureKHR)load(context, "vkCmdCopyMemoryToAccelerationStructureKHR"); + vkCmdWriteAccelerationStructuresPropertiesKHR = (PFN_vkCmdWriteAccelerationStructuresPropertiesKHR)load(context, "vkCmdWriteAccelerationStructuresPropertiesKHR"); + vkCopyAccelerationStructureKHR = (PFN_vkCopyAccelerationStructureKHR)load(context, "vkCopyAccelerationStructureKHR"); + vkCopyAccelerationStructureToMemoryKHR = (PFN_vkCopyAccelerationStructureToMemoryKHR)load(context, "vkCopyAccelerationStructureToMemoryKHR"); + vkCopyMemoryToAccelerationStructureKHR = (PFN_vkCopyMemoryToAccelerationStructureKHR)load(context, "vkCopyMemoryToAccelerationStructureKHR"); + vkCreateAccelerationStructureKHR = (PFN_vkCreateAccelerationStructureKHR)load(context, "vkCreateAccelerationStructureKHR"); + vkDestroyAccelerationStructureKHR = (PFN_vkDestroyAccelerationStructureKHR)load(context, "vkDestroyAccelerationStructureKHR"); + vkGetAccelerationStructureBuildSizesKHR = (PFN_vkGetAccelerationStructureBuildSizesKHR)load(context, "vkGetAccelerationStructureBuildSizesKHR"); + vkGetAccelerationStructureDeviceAddressKHR = (PFN_vkGetAccelerationStructureDeviceAddressKHR)load(context, "vkGetAccelerationStructureDeviceAddressKHR"); + vkGetDeviceAccelerationStructureCompatibilityKHR = (PFN_vkGetDeviceAccelerationStructureCompatibilityKHR)load(context, "vkGetDeviceAccelerationStructureCompatibilityKHR"); + vkWriteAccelerationStructuresPropertiesKHR = (PFN_vkWriteAccelerationStructuresPropertiesKHR)load(context, "vkWriteAccelerationStructuresPropertiesKHR"); +#endif /* defined(VK_KHR_acceleration_structure) */ #if defined(VK_KHR_bind_memory2) vkBindBufferMemory2KHR = (PFN_vkBindBufferMemory2KHR)load(context, "vkBindBufferMemory2KHR"); vkBindImageMemory2KHR = (PFN_vkBindImageMemory2KHR)load(context, "vkBindImageMemory2KHR"); @@ -580,12 +632,27 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c vkGetBufferOpaqueCaptureAddressKHR = (PFN_vkGetBufferOpaqueCaptureAddressKHR)load(context, "vkGetBufferOpaqueCaptureAddressKHR"); vkGetDeviceMemoryOpaqueCaptureAddressKHR = (PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR)load(context, "vkGetDeviceMemoryOpaqueCaptureAddressKHR"); #endif /* defined(VK_KHR_buffer_device_address) */ +#if defined(VK_KHR_copy_commands2) + vkCmdBlitImage2KHR = (PFN_vkCmdBlitImage2KHR)load(context, "vkCmdBlitImage2KHR"); + vkCmdCopyBuffer2KHR = (PFN_vkCmdCopyBuffer2KHR)load(context, "vkCmdCopyBuffer2KHR"); + vkCmdCopyBufferToImage2KHR = (PFN_vkCmdCopyBufferToImage2KHR)load(context, "vkCmdCopyBufferToImage2KHR"); + vkCmdCopyImage2KHR = (PFN_vkCmdCopyImage2KHR)load(context, "vkCmdCopyImage2KHR"); + vkCmdCopyImageToBuffer2KHR = (PFN_vkCmdCopyImageToBuffer2KHR)load(context, "vkCmdCopyImageToBuffer2KHR"); + vkCmdResolveImage2KHR = (PFN_vkCmdResolveImage2KHR)load(context, "vkCmdResolveImage2KHR"); +#endif /* defined(VK_KHR_copy_commands2) */ #if defined(VK_KHR_create_renderpass2) vkCmdBeginRenderPass2KHR = (PFN_vkCmdBeginRenderPass2KHR)load(context, "vkCmdBeginRenderPass2KHR"); vkCmdEndRenderPass2KHR = (PFN_vkCmdEndRenderPass2KHR)load(context, "vkCmdEndRenderPass2KHR"); vkCmdNextSubpass2KHR = (PFN_vkCmdNextSubpass2KHR)load(context, "vkCmdNextSubpass2KHR"); vkCreateRenderPass2KHR = (PFN_vkCreateRenderPass2KHR)load(context, "vkCreateRenderPass2KHR"); #endif /* defined(VK_KHR_create_renderpass2) */ +#if defined(VK_KHR_deferred_host_operations) + vkCreateDeferredOperationKHR = (PFN_vkCreateDeferredOperationKHR)load(context, "vkCreateDeferredOperationKHR"); + vkDeferredOperationJoinKHR = (PFN_vkDeferredOperationJoinKHR)load(context, "vkDeferredOperationJoinKHR"); + vkDestroyDeferredOperationKHR = (PFN_vkDestroyDeferredOperationKHR)load(context, "vkDestroyDeferredOperationKHR"); + vkGetDeferredOperationMaxConcurrencyKHR = (PFN_vkGetDeferredOperationMaxConcurrencyKHR)load(context, "vkGetDeferredOperationMaxConcurrencyKHR"); + vkGetDeferredOperationResultKHR = (PFN_vkGetDeferredOperationResultKHR)load(context, "vkGetDeferredOperationResultKHR"); +#endif /* defined(VK_KHR_deferred_host_operations) */ #if defined(VK_KHR_descriptor_update_template) vkCreateDescriptorUpdateTemplateKHR = (PFN_vkCreateDescriptorUpdateTemplateKHR)load(context, "vkCreateDescriptorUpdateTemplateKHR"); vkDestroyDescriptorUpdateTemplateKHR = (PFN_vkDestroyDescriptorUpdateTemplateKHR)load(context, "vkDestroyDescriptorUpdateTemplateKHR"); @@ -627,6 +694,9 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c vkGetSemaphoreWin32HandleKHR = (PFN_vkGetSemaphoreWin32HandleKHR)load(context, "vkGetSemaphoreWin32HandleKHR"); vkImportSemaphoreWin32HandleKHR = (PFN_vkImportSemaphoreWin32HandleKHR)load(context, "vkImportSemaphoreWin32HandleKHR"); #endif /* defined(VK_KHR_external_semaphore_win32) */ +#if defined(VK_KHR_fragment_shading_rate) + vkCmdSetFragmentShadingRateKHR = (PFN_vkCmdSetFragmentShadingRateKHR)load(context, "vkCmdSetFragmentShadingRateKHR"); +#endif /* defined(VK_KHR_fragment_shading_rate) */ #if defined(VK_KHR_get_memory_requirements2) vkGetBufferMemoryRequirements2KHR = (PFN_vkGetBufferMemoryRequirements2KHR)load(context, "vkGetBufferMemoryRequirements2KHR"); vkGetImageMemoryRequirements2KHR = (PFN_vkGetImageMemoryRequirements2KHR)load(context, "vkGetImageMemoryRequirements2KHR"); @@ -650,6 +720,15 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c #if defined(VK_KHR_push_descriptor) vkCmdPushDescriptorSetKHR = (PFN_vkCmdPushDescriptorSetKHR)load(context, "vkCmdPushDescriptorSetKHR"); #endif /* defined(VK_KHR_push_descriptor) */ +#if defined(VK_KHR_ray_tracing_pipeline) + vkCmdSetRayTracingPipelineStackSizeKHR = (PFN_vkCmdSetRayTracingPipelineStackSizeKHR)load(context, "vkCmdSetRayTracingPipelineStackSizeKHR"); + vkCmdTraceRaysIndirectKHR = (PFN_vkCmdTraceRaysIndirectKHR)load(context, "vkCmdTraceRaysIndirectKHR"); + vkCmdTraceRaysKHR = (PFN_vkCmdTraceRaysKHR)load(context, "vkCmdTraceRaysKHR"); + vkCreateRayTracingPipelinesKHR = (PFN_vkCreateRayTracingPipelinesKHR)load(context, "vkCreateRayTracingPipelinesKHR"); + vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = (PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR)load(context, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR"); + vkGetRayTracingShaderGroupHandlesKHR = (PFN_vkGetRayTracingShaderGroupHandlesKHR)load(context, "vkGetRayTracingShaderGroupHandlesKHR"); + vkGetRayTracingShaderGroupStackSizeKHR = (PFN_vkGetRayTracingShaderGroupStackSizeKHR)load(context, "vkGetRayTracingShaderGroupStackSizeKHR"); +#endif /* defined(VK_KHR_ray_tracing_pipeline) */ #if defined(VK_KHR_sampler_ycbcr_conversion) vkCreateSamplerYcbcrConversionKHR = (PFN_vkCreateSamplerYcbcrConversionKHR)load(context, "vkCreateSamplerYcbcrConversionKHR"); vkDestroySamplerYcbcrConversionKHR = (PFN_vkDestroySamplerYcbcrConversionKHR)load(context, "vkDestroySamplerYcbcrConversionKHR"); @@ -669,17 +748,8 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c vkSignalSemaphoreKHR = (PFN_vkSignalSemaphoreKHR)load(context, "vkSignalSemaphoreKHR"); vkWaitSemaphoresKHR = (PFN_vkWaitSemaphoresKHR)load(context, "vkWaitSemaphoresKHR"); #endif /* defined(VK_KHR_timeline_semaphore) */ -#if defined(VK_NVX_device_generated_commands) - vkCmdProcessCommandsNVX = (PFN_vkCmdProcessCommandsNVX)load(context, "vkCmdProcessCommandsNVX"); - vkCmdReserveSpaceForCommandsNVX = (PFN_vkCmdReserveSpaceForCommandsNVX)load(context, "vkCmdReserveSpaceForCommandsNVX"); - vkCreateIndirectCommandsLayoutNVX = (PFN_vkCreateIndirectCommandsLayoutNVX)load(context, "vkCreateIndirectCommandsLayoutNVX"); - vkCreateObjectTableNVX = (PFN_vkCreateObjectTableNVX)load(context, "vkCreateObjectTableNVX"); - vkDestroyIndirectCommandsLayoutNVX = (PFN_vkDestroyIndirectCommandsLayoutNVX)load(context, "vkDestroyIndirectCommandsLayoutNVX"); - vkDestroyObjectTableNVX = (PFN_vkDestroyObjectTableNVX)load(context, "vkDestroyObjectTableNVX"); - vkRegisterObjectsNVX = (PFN_vkRegisterObjectsNVX)load(context, "vkRegisterObjectsNVX"); - vkUnregisterObjectsNVX = (PFN_vkUnregisterObjectsNVX)load(context, "vkUnregisterObjectsNVX"); -#endif /* defined(VK_NVX_device_generated_commands) */ #if defined(VK_NVX_image_view_handle) + vkGetImageViewAddressNVX = (PFN_vkGetImageViewAddressNVX)load(context, "vkGetImageViewAddressNVX"); vkGetImageViewHandleNVX = (PFN_vkGetImageViewHandleNVX)load(context, "vkGetImageViewHandleNVX"); #endif /* defined(VK_NVX_image_view_handle) */ #if defined(VK_NV_clip_space_w_scaling) @@ -689,9 +759,20 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c vkCmdSetCheckpointNV = (PFN_vkCmdSetCheckpointNV)load(context, "vkCmdSetCheckpointNV"); vkGetQueueCheckpointDataNV = (PFN_vkGetQueueCheckpointDataNV)load(context, "vkGetQueueCheckpointDataNV"); #endif /* defined(VK_NV_device_diagnostic_checkpoints) */ +#if defined(VK_NV_device_generated_commands) + vkCmdBindPipelineShaderGroupNV = (PFN_vkCmdBindPipelineShaderGroupNV)load(context, "vkCmdBindPipelineShaderGroupNV"); + vkCmdExecuteGeneratedCommandsNV = (PFN_vkCmdExecuteGeneratedCommandsNV)load(context, "vkCmdExecuteGeneratedCommandsNV"); + vkCmdPreprocessGeneratedCommandsNV = (PFN_vkCmdPreprocessGeneratedCommandsNV)load(context, "vkCmdPreprocessGeneratedCommandsNV"); + vkCreateIndirectCommandsLayoutNV = (PFN_vkCreateIndirectCommandsLayoutNV)load(context, "vkCreateIndirectCommandsLayoutNV"); + vkDestroyIndirectCommandsLayoutNV = (PFN_vkDestroyIndirectCommandsLayoutNV)load(context, "vkDestroyIndirectCommandsLayoutNV"); + vkGetGeneratedCommandsMemoryRequirementsNV = (PFN_vkGetGeneratedCommandsMemoryRequirementsNV)load(context, "vkGetGeneratedCommandsMemoryRequirementsNV"); +#endif /* defined(VK_NV_device_generated_commands) */ #if defined(VK_NV_external_memory_win32) vkGetMemoryWin32HandleNV = (PFN_vkGetMemoryWin32HandleNV)load(context, "vkGetMemoryWin32HandleNV"); #endif /* defined(VK_NV_external_memory_win32) */ +#if defined(VK_NV_fragment_shading_rate_enums) + vkCmdSetFragmentShadingRateEnumNV = (PFN_vkCmdSetFragmentShadingRateEnumNV)load(context, "vkCmdSetFragmentShadingRateEnumNV"); +#endif /* defined(VK_NV_fragment_shading_rate_enums) */ #if defined(VK_NV_mesh_shader) vkCmdDrawMeshTasksIndirectCountNV = (PFN_vkCmdDrawMeshTasksIndirectCountNV)load(context, "vkCmdDrawMeshTasksIndirectCountNV"); vkCmdDrawMeshTasksIndirectNV = (PFN_vkCmdDrawMeshTasksIndirectNV)load(context, "vkCmdDrawMeshTasksIndirectNV"); @@ -722,9 +803,9 @@ static void volkGenLoadDevice(void* context, PFN_vkVoidFunction (*load)(void*, c #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) vkGetDeviceGroupSurfacePresentModes2EXT = (PFN_vkGetDeviceGroupSurfacePresentModes2EXT)load(context, "vkGetDeviceGroupSurfacePresentModes2EXT"); #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */ -#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) +#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) vkCmdPushDescriptorSetWithTemplateKHR = (PFN_vkCmdPushDescriptorSetWithTemplateKHR)load(context, "vkCmdPushDescriptorSetWithTemplateKHR"); -#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) */ +#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */ #if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) vkGetDeviceGroupPresentCapabilitiesKHR = (PFN_vkGetDeviceGroupPresentCapabilitiesKHR)load(context, "vkGetDeviceGroupPresentCapabilitiesKHR"); vkGetDeviceGroupSurfacePresentModesKHR = (PFN_vkGetDeviceGroupSurfacePresentModesKHR)load(context, "vkGetDeviceGroupSurfacePresentModesKHR"); @@ -936,6 +1017,20 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, table->vkRegisterDeviceEventEXT = (PFN_vkRegisterDeviceEventEXT)load(context, "vkRegisterDeviceEventEXT"); table->vkRegisterDisplayEventEXT = (PFN_vkRegisterDisplayEventEXT)load(context, "vkRegisterDisplayEventEXT"); #endif /* defined(VK_EXT_display_control) */ +#if defined(VK_EXT_extended_dynamic_state) + table->vkCmdBindVertexBuffers2EXT = (PFN_vkCmdBindVertexBuffers2EXT)load(context, "vkCmdBindVertexBuffers2EXT"); + table->vkCmdSetCullModeEXT = (PFN_vkCmdSetCullModeEXT)load(context, "vkCmdSetCullModeEXT"); + table->vkCmdSetDepthBoundsTestEnableEXT = (PFN_vkCmdSetDepthBoundsTestEnableEXT)load(context, "vkCmdSetDepthBoundsTestEnableEXT"); + table->vkCmdSetDepthCompareOpEXT = (PFN_vkCmdSetDepthCompareOpEXT)load(context, "vkCmdSetDepthCompareOpEXT"); + table->vkCmdSetDepthTestEnableEXT = (PFN_vkCmdSetDepthTestEnableEXT)load(context, "vkCmdSetDepthTestEnableEXT"); + table->vkCmdSetDepthWriteEnableEXT = (PFN_vkCmdSetDepthWriteEnableEXT)load(context, "vkCmdSetDepthWriteEnableEXT"); + table->vkCmdSetFrontFaceEXT = (PFN_vkCmdSetFrontFaceEXT)load(context, "vkCmdSetFrontFaceEXT"); + table->vkCmdSetPrimitiveTopologyEXT = (PFN_vkCmdSetPrimitiveTopologyEXT)load(context, "vkCmdSetPrimitiveTopologyEXT"); + table->vkCmdSetScissorWithCountEXT = (PFN_vkCmdSetScissorWithCountEXT)load(context, "vkCmdSetScissorWithCountEXT"); + table->vkCmdSetStencilOpEXT = (PFN_vkCmdSetStencilOpEXT)load(context, "vkCmdSetStencilOpEXT"); + table->vkCmdSetStencilTestEnableEXT = (PFN_vkCmdSetStencilTestEnableEXT)load(context, "vkCmdSetStencilTestEnableEXT"); + table->vkCmdSetViewportWithCountEXT = (PFN_vkCmdSetViewportWithCountEXT)load(context, "vkCmdSetViewportWithCountEXT"); +#endif /* defined(VK_EXT_extended_dynamic_state) */ #if defined(VK_EXT_external_memory_host) table->vkGetMemoryHostPointerPropertiesEXT = (PFN_vkGetMemoryHostPointerPropertiesEXT)load(context, "vkGetMemoryHostPointerPropertiesEXT"); #endif /* defined(VK_EXT_external_memory_host) */ @@ -955,6 +1050,12 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, #if defined(VK_EXT_line_rasterization) table->vkCmdSetLineStippleEXT = (PFN_vkCmdSetLineStippleEXT)load(context, "vkCmdSetLineStippleEXT"); #endif /* defined(VK_EXT_line_rasterization) */ +#if defined(VK_EXT_private_data) + table->vkCreatePrivateDataSlotEXT = (PFN_vkCreatePrivateDataSlotEXT)load(context, "vkCreatePrivateDataSlotEXT"); + table->vkDestroyPrivateDataSlotEXT = (PFN_vkDestroyPrivateDataSlotEXT)load(context, "vkDestroyPrivateDataSlotEXT"); + table->vkGetPrivateDataEXT = (PFN_vkGetPrivateDataEXT)load(context, "vkGetPrivateDataEXT"); + table->vkSetPrivateDataEXT = (PFN_vkSetPrivateDataEXT)load(context, "vkSetPrivateDataEXT"); +#endif /* defined(VK_EXT_private_data) */ #if defined(VK_EXT_sample_locations) table->vkCmdSetSampleLocationsEXT = (PFN_vkCmdSetSampleLocationsEXT)load(context, "vkCmdSetSampleLocationsEXT"); #endif /* defined(VK_EXT_sample_locations) */ @@ -987,6 +1088,24 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, table->vkReleasePerformanceConfigurationINTEL = (PFN_vkReleasePerformanceConfigurationINTEL)load(context, "vkReleasePerformanceConfigurationINTEL"); table->vkUninitializePerformanceApiINTEL = (PFN_vkUninitializePerformanceApiINTEL)load(context, "vkUninitializePerformanceApiINTEL"); #endif /* defined(VK_INTEL_performance_query) */ +#if defined(VK_KHR_acceleration_structure) + table->vkBuildAccelerationStructuresKHR = (PFN_vkBuildAccelerationStructuresKHR)load(context, "vkBuildAccelerationStructuresKHR"); + table->vkCmdBuildAccelerationStructuresIndirectKHR = (PFN_vkCmdBuildAccelerationStructuresIndirectKHR)load(context, "vkCmdBuildAccelerationStructuresIndirectKHR"); + table->vkCmdBuildAccelerationStructuresKHR = (PFN_vkCmdBuildAccelerationStructuresKHR)load(context, "vkCmdBuildAccelerationStructuresKHR"); + table->vkCmdCopyAccelerationStructureKHR = (PFN_vkCmdCopyAccelerationStructureKHR)load(context, "vkCmdCopyAccelerationStructureKHR"); + table->vkCmdCopyAccelerationStructureToMemoryKHR = (PFN_vkCmdCopyAccelerationStructureToMemoryKHR)load(context, "vkCmdCopyAccelerationStructureToMemoryKHR"); + table->vkCmdCopyMemoryToAccelerationStructureKHR = (PFN_vkCmdCopyMemoryToAccelerationStructureKHR)load(context, "vkCmdCopyMemoryToAccelerationStructureKHR"); + table->vkCmdWriteAccelerationStructuresPropertiesKHR = (PFN_vkCmdWriteAccelerationStructuresPropertiesKHR)load(context, "vkCmdWriteAccelerationStructuresPropertiesKHR"); + table->vkCopyAccelerationStructureKHR = (PFN_vkCopyAccelerationStructureKHR)load(context, "vkCopyAccelerationStructureKHR"); + table->vkCopyAccelerationStructureToMemoryKHR = (PFN_vkCopyAccelerationStructureToMemoryKHR)load(context, "vkCopyAccelerationStructureToMemoryKHR"); + table->vkCopyMemoryToAccelerationStructureKHR = (PFN_vkCopyMemoryToAccelerationStructureKHR)load(context, "vkCopyMemoryToAccelerationStructureKHR"); + table->vkCreateAccelerationStructureKHR = (PFN_vkCreateAccelerationStructureKHR)load(context, "vkCreateAccelerationStructureKHR"); + table->vkDestroyAccelerationStructureKHR = (PFN_vkDestroyAccelerationStructureKHR)load(context, "vkDestroyAccelerationStructureKHR"); + table->vkGetAccelerationStructureBuildSizesKHR = (PFN_vkGetAccelerationStructureBuildSizesKHR)load(context, "vkGetAccelerationStructureBuildSizesKHR"); + table->vkGetAccelerationStructureDeviceAddressKHR = (PFN_vkGetAccelerationStructureDeviceAddressKHR)load(context, "vkGetAccelerationStructureDeviceAddressKHR"); + table->vkGetDeviceAccelerationStructureCompatibilityKHR = (PFN_vkGetDeviceAccelerationStructureCompatibilityKHR)load(context, "vkGetDeviceAccelerationStructureCompatibilityKHR"); + table->vkWriteAccelerationStructuresPropertiesKHR = (PFN_vkWriteAccelerationStructuresPropertiesKHR)load(context, "vkWriteAccelerationStructuresPropertiesKHR"); +#endif /* defined(VK_KHR_acceleration_structure) */ #if defined(VK_KHR_bind_memory2) table->vkBindBufferMemory2KHR = (PFN_vkBindBufferMemory2KHR)load(context, "vkBindBufferMemory2KHR"); table->vkBindImageMemory2KHR = (PFN_vkBindImageMemory2KHR)load(context, "vkBindImageMemory2KHR"); @@ -996,12 +1115,27 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, table->vkGetBufferOpaqueCaptureAddressKHR = (PFN_vkGetBufferOpaqueCaptureAddressKHR)load(context, "vkGetBufferOpaqueCaptureAddressKHR"); table->vkGetDeviceMemoryOpaqueCaptureAddressKHR = (PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR)load(context, "vkGetDeviceMemoryOpaqueCaptureAddressKHR"); #endif /* defined(VK_KHR_buffer_device_address) */ +#if defined(VK_KHR_copy_commands2) + table->vkCmdBlitImage2KHR = (PFN_vkCmdBlitImage2KHR)load(context, "vkCmdBlitImage2KHR"); + table->vkCmdCopyBuffer2KHR = (PFN_vkCmdCopyBuffer2KHR)load(context, "vkCmdCopyBuffer2KHR"); + table->vkCmdCopyBufferToImage2KHR = (PFN_vkCmdCopyBufferToImage2KHR)load(context, "vkCmdCopyBufferToImage2KHR"); + table->vkCmdCopyImage2KHR = (PFN_vkCmdCopyImage2KHR)load(context, "vkCmdCopyImage2KHR"); + table->vkCmdCopyImageToBuffer2KHR = (PFN_vkCmdCopyImageToBuffer2KHR)load(context, "vkCmdCopyImageToBuffer2KHR"); + table->vkCmdResolveImage2KHR = (PFN_vkCmdResolveImage2KHR)load(context, "vkCmdResolveImage2KHR"); +#endif /* defined(VK_KHR_copy_commands2) */ #if defined(VK_KHR_create_renderpass2) table->vkCmdBeginRenderPass2KHR = (PFN_vkCmdBeginRenderPass2KHR)load(context, "vkCmdBeginRenderPass2KHR"); table->vkCmdEndRenderPass2KHR = (PFN_vkCmdEndRenderPass2KHR)load(context, "vkCmdEndRenderPass2KHR"); table->vkCmdNextSubpass2KHR = (PFN_vkCmdNextSubpass2KHR)load(context, "vkCmdNextSubpass2KHR"); table->vkCreateRenderPass2KHR = (PFN_vkCreateRenderPass2KHR)load(context, "vkCreateRenderPass2KHR"); #endif /* defined(VK_KHR_create_renderpass2) */ +#if defined(VK_KHR_deferred_host_operations) + table->vkCreateDeferredOperationKHR = (PFN_vkCreateDeferredOperationKHR)load(context, "vkCreateDeferredOperationKHR"); + table->vkDeferredOperationJoinKHR = (PFN_vkDeferredOperationJoinKHR)load(context, "vkDeferredOperationJoinKHR"); + table->vkDestroyDeferredOperationKHR = (PFN_vkDestroyDeferredOperationKHR)load(context, "vkDestroyDeferredOperationKHR"); + table->vkGetDeferredOperationMaxConcurrencyKHR = (PFN_vkGetDeferredOperationMaxConcurrencyKHR)load(context, "vkGetDeferredOperationMaxConcurrencyKHR"); + table->vkGetDeferredOperationResultKHR = (PFN_vkGetDeferredOperationResultKHR)load(context, "vkGetDeferredOperationResultKHR"); +#endif /* defined(VK_KHR_deferred_host_operations) */ #if defined(VK_KHR_descriptor_update_template) table->vkCreateDescriptorUpdateTemplateKHR = (PFN_vkCreateDescriptorUpdateTemplateKHR)load(context, "vkCreateDescriptorUpdateTemplateKHR"); table->vkDestroyDescriptorUpdateTemplateKHR = (PFN_vkDestroyDescriptorUpdateTemplateKHR)load(context, "vkDestroyDescriptorUpdateTemplateKHR"); @@ -1043,6 +1177,9 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, table->vkGetSemaphoreWin32HandleKHR = (PFN_vkGetSemaphoreWin32HandleKHR)load(context, "vkGetSemaphoreWin32HandleKHR"); table->vkImportSemaphoreWin32HandleKHR = (PFN_vkImportSemaphoreWin32HandleKHR)load(context, "vkImportSemaphoreWin32HandleKHR"); #endif /* defined(VK_KHR_external_semaphore_win32) */ +#if defined(VK_KHR_fragment_shading_rate) + table->vkCmdSetFragmentShadingRateKHR = (PFN_vkCmdSetFragmentShadingRateKHR)load(context, "vkCmdSetFragmentShadingRateKHR"); +#endif /* defined(VK_KHR_fragment_shading_rate) */ #if defined(VK_KHR_get_memory_requirements2) table->vkGetBufferMemoryRequirements2KHR = (PFN_vkGetBufferMemoryRequirements2KHR)load(context, "vkGetBufferMemoryRequirements2KHR"); table->vkGetImageMemoryRequirements2KHR = (PFN_vkGetImageMemoryRequirements2KHR)load(context, "vkGetImageMemoryRequirements2KHR"); @@ -1066,6 +1203,15 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, #if defined(VK_KHR_push_descriptor) table->vkCmdPushDescriptorSetKHR = (PFN_vkCmdPushDescriptorSetKHR)load(context, "vkCmdPushDescriptorSetKHR"); #endif /* defined(VK_KHR_push_descriptor) */ +#if defined(VK_KHR_ray_tracing_pipeline) + table->vkCmdSetRayTracingPipelineStackSizeKHR = (PFN_vkCmdSetRayTracingPipelineStackSizeKHR)load(context, "vkCmdSetRayTracingPipelineStackSizeKHR"); + table->vkCmdTraceRaysIndirectKHR = (PFN_vkCmdTraceRaysIndirectKHR)load(context, "vkCmdTraceRaysIndirectKHR"); + table->vkCmdTraceRaysKHR = (PFN_vkCmdTraceRaysKHR)load(context, "vkCmdTraceRaysKHR"); + table->vkCreateRayTracingPipelinesKHR = (PFN_vkCreateRayTracingPipelinesKHR)load(context, "vkCreateRayTracingPipelinesKHR"); + table->vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = (PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR)load(context, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR"); + table->vkGetRayTracingShaderGroupHandlesKHR = (PFN_vkGetRayTracingShaderGroupHandlesKHR)load(context, "vkGetRayTracingShaderGroupHandlesKHR"); + table->vkGetRayTracingShaderGroupStackSizeKHR = (PFN_vkGetRayTracingShaderGroupStackSizeKHR)load(context, "vkGetRayTracingShaderGroupStackSizeKHR"); +#endif /* defined(VK_KHR_ray_tracing_pipeline) */ #if defined(VK_KHR_sampler_ycbcr_conversion) table->vkCreateSamplerYcbcrConversionKHR = (PFN_vkCreateSamplerYcbcrConversionKHR)load(context, "vkCreateSamplerYcbcrConversionKHR"); table->vkDestroySamplerYcbcrConversionKHR = (PFN_vkDestroySamplerYcbcrConversionKHR)load(context, "vkDestroySamplerYcbcrConversionKHR"); @@ -1085,17 +1231,8 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, table->vkSignalSemaphoreKHR = (PFN_vkSignalSemaphoreKHR)load(context, "vkSignalSemaphoreKHR"); table->vkWaitSemaphoresKHR = (PFN_vkWaitSemaphoresKHR)load(context, "vkWaitSemaphoresKHR"); #endif /* defined(VK_KHR_timeline_semaphore) */ -#if defined(VK_NVX_device_generated_commands) - table->vkCmdProcessCommandsNVX = (PFN_vkCmdProcessCommandsNVX)load(context, "vkCmdProcessCommandsNVX"); - table->vkCmdReserveSpaceForCommandsNVX = (PFN_vkCmdReserveSpaceForCommandsNVX)load(context, "vkCmdReserveSpaceForCommandsNVX"); - table->vkCreateIndirectCommandsLayoutNVX = (PFN_vkCreateIndirectCommandsLayoutNVX)load(context, "vkCreateIndirectCommandsLayoutNVX"); - table->vkCreateObjectTableNVX = (PFN_vkCreateObjectTableNVX)load(context, "vkCreateObjectTableNVX"); - table->vkDestroyIndirectCommandsLayoutNVX = (PFN_vkDestroyIndirectCommandsLayoutNVX)load(context, "vkDestroyIndirectCommandsLayoutNVX"); - table->vkDestroyObjectTableNVX = (PFN_vkDestroyObjectTableNVX)load(context, "vkDestroyObjectTableNVX"); - table->vkRegisterObjectsNVX = (PFN_vkRegisterObjectsNVX)load(context, "vkRegisterObjectsNVX"); - table->vkUnregisterObjectsNVX = (PFN_vkUnregisterObjectsNVX)load(context, "vkUnregisterObjectsNVX"); -#endif /* defined(VK_NVX_device_generated_commands) */ #if defined(VK_NVX_image_view_handle) + table->vkGetImageViewAddressNVX = (PFN_vkGetImageViewAddressNVX)load(context, "vkGetImageViewAddressNVX"); table->vkGetImageViewHandleNVX = (PFN_vkGetImageViewHandleNVX)load(context, "vkGetImageViewHandleNVX"); #endif /* defined(VK_NVX_image_view_handle) */ #if defined(VK_NV_clip_space_w_scaling) @@ -1105,9 +1242,20 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, table->vkCmdSetCheckpointNV = (PFN_vkCmdSetCheckpointNV)load(context, "vkCmdSetCheckpointNV"); table->vkGetQueueCheckpointDataNV = (PFN_vkGetQueueCheckpointDataNV)load(context, "vkGetQueueCheckpointDataNV"); #endif /* defined(VK_NV_device_diagnostic_checkpoints) */ +#if defined(VK_NV_device_generated_commands) + table->vkCmdBindPipelineShaderGroupNV = (PFN_vkCmdBindPipelineShaderGroupNV)load(context, "vkCmdBindPipelineShaderGroupNV"); + table->vkCmdExecuteGeneratedCommandsNV = (PFN_vkCmdExecuteGeneratedCommandsNV)load(context, "vkCmdExecuteGeneratedCommandsNV"); + table->vkCmdPreprocessGeneratedCommandsNV = (PFN_vkCmdPreprocessGeneratedCommandsNV)load(context, "vkCmdPreprocessGeneratedCommandsNV"); + table->vkCreateIndirectCommandsLayoutNV = (PFN_vkCreateIndirectCommandsLayoutNV)load(context, "vkCreateIndirectCommandsLayoutNV"); + table->vkDestroyIndirectCommandsLayoutNV = (PFN_vkDestroyIndirectCommandsLayoutNV)load(context, "vkDestroyIndirectCommandsLayoutNV"); + table->vkGetGeneratedCommandsMemoryRequirementsNV = (PFN_vkGetGeneratedCommandsMemoryRequirementsNV)load(context, "vkGetGeneratedCommandsMemoryRequirementsNV"); +#endif /* defined(VK_NV_device_generated_commands) */ #if defined(VK_NV_external_memory_win32) table->vkGetMemoryWin32HandleNV = (PFN_vkGetMemoryWin32HandleNV)load(context, "vkGetMemoryWin32HandleNV"); #endif /* defined(VK_NV_external_memory_win32) */ +#if defined(VK_NV_fragment_shading_rate_enums) + table->vkCmdSetFragmentShadingRateEnumNV = (PFN_vkCmdSetFragmentShadingRateEnumNV)load(context, "vkCmdSetFragmentShadingRateEnumNV"); +#endif /* defined(VK_NV_fragment_shading_rate_enums) */ #if defined(VK_NV_mesh_shader) table->vkCmdDrawMeshTasksIndirectCountNV = (PFN_vkCmdDrawMeshTasksIndirectCountNV)load(context, "vkCmdDrawMeshTasksIndirectCountNV"); table->vkCmdDrawMeshTasksIndirectNV = (PFN_vkCmdDrawMeshTasksIndirectNV)load(context, "vkCmdDrawMeshTasksIndirectNV"); @@ -1138,9 +1286,9 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) table->vkGetDeviceGroupSurfacePresentModes2EXT = (PFN_vkGetDeviceGroupSurfacePresentModes2EXT)load(context, "vkGetDeviceGroupSurfacePresentModes2EXT"); #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */ -#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) +#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) table->vkCmdPushDescriptorSetWithTemplateKHR = (PFN_vkCmdPushDescriptorSetWithTemplateKHR)load(context, "vkCmdPushDescriptorSetWithTemplateKHR"); -#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) */ +#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */ #if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) table->vkGetDeviceGroupPresentCapabilitiesKHR = (PFN_vkGetDeviceGroupPresentCapabilitiesKHR)load(context, "vkGetDeviceGroupPresentCapabilitiesKHR"); table->vkGetDeviceGroupSurfacePresentModesKHR = (PFN_vkGetDeviceGroupSurfacePresentModesKHR)load(context, "vkGetDeviceGroupSurfacePresentModesKHR"); @@ -1152,8 +1300,12 @@ static void volkGenLoadDeviceTable(struct VolkDeviceTable* table, void* context, } #ifdef __GNUC__ +#ifdef VOLK_DEFAULT_VISIBILITY +# pragma GCC visibility push(default) +#else # pragma GCC visibility push(hidden) #endif +#endif /* VOLK_GENERATE_PROTOTYPES_C */ #if defined(VK_VERSION_1_0) @@ -1400,6 +1552,10 @@ PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT; #if defined(VK_EXT_direct_mode_display) PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT; #endif /* defined(VK_EXT_direct_mode_display) */ +#if defined(VK_EXT_directfb_surface) +PFN_vkCreateDirectFBSurfaceEXT vkCreateDirectFBSurfaceEXT; +PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT vkGetPhysicalDeviceDirectFBPresentationSupportEXT; +#endif /* defined(VK_EXT_directfb_surface) */ #if defined(VK_EXT_discard_rectangles) PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT; #endif /* defined(VK_EXT_discard_rectangles) */ @@ -1412,6 +1568,20 @@ PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT; #if defined(VK_EXT_display_surface_counter) PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT; #endif /* defined(VK_EXT_display_surface_counter) */ +#if defined(VK_EXT_extended_dynamic_state) +PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT; +PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT; +PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT; +PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT; +PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT; +PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT; +PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT; +PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT; +PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT; +PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT; +PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT; +PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT; +#endif /* defined(VK_EXT_extended_dynamic_state) */ #if defined(VK_EXT_external_memory_host) PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT; #endif /* defined(VK_EXT_external_memory_host) */ @@ -1438,6 +1608,12 @@ PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT; #if defined(VK_EXT_metal_surface) PFN_vkCreateMetalSurfaceEXT vkCreateMetalSurfaceEXT; #endif /* defined(VK_EXT_metal_surface) */ +#if defined(VK_EXT_private_data) +PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT; +PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT; +PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT; +PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT; +#endif /* defined(VK_EXT_private_data) */ #if defined(VK_EXT_sample_locations) PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT; PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT; @@ -1480,6 +1656,24 @@ PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationIN PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL; PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL; #endif /* defined(VK_INTEL_performance_query) */ +#if defined(VK_KHR_acceleration_structure) +PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR; +PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR; +PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR; +PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR; +PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR; +PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR; +PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR; +PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR; +PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR; +PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR; +PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR; +PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR; +PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR; +PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR; +PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR; +PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR; +#endif /* defined(VK_KHR_acceleration_structure) */ #if defined(VK_KHR_android_surface) PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR; #endif /* defined(VK_KHR_android_surface) */ @@ -1492,12 +1686,27 @@ PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR; PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR; PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR; #endif /* defined(VK_KHR_buffer_device_address) */ +#if defined(VK_KHR_copy_commands2) +PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR; +PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR; +PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR; +PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR; +PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR; +PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR; +#endif /* defined(VK_KHR_copy_commands2) */ #if defined(VK_KHR_create_renderpass2) PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR; PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR; PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR; PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR; #endif /* defined(VK_KHR_create_renderpass2) */ +#if defined(VK_KHR_deferred_host_operations) +PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR; +PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR; +PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR; +PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR; +PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR; +#endif /* defined(VK_KHR_deferred_host_operations) */ #if defined(VK_KHR_descriptor_update_template) PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR; PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR; @@ -1560,6 +1769,10 @@ PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR; PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR; PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR; #endif /* defined(VK_KHR_external_semaphore_win32) */ +#if defined(VK_KHR_fragment_shading_rate) +PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR; +PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR vkGetPhysicalDeviceFragmentShadingRatesKHR; +#endif /* defined(VK_KHR_fragment_shading_rate) */ #if defined(VK_KHR_get_display_properties2) PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR; PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR; @@ -1604,6 +1817,15 @@ PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR; #if defined(VK_KHR_push_descriptor) PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR; #endif /* defined(VK_KHR_push_descriptor) */ +#if defined(VK_KHR_ray_tracing_pipeline) +PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR; +PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR; +PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR; +PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR; +PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR; +PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR; +PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR; +#endif /* defined(VK_KHR_ray_tracing_pipeline) */ #if defined(VK_KHR_sampler_ycbcr_conversion) PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR; PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR; @@ -1655,20 +1877,14 @@ PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK; #if defined(VK_NN_vi_surface) PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN; #endif /* defined(VK_NN_vi_surface) */ -#if defined(VK_NVX_device_generated_commands) -PFN_vkCmdProcessCommandsNVX vkCmdProcessCommandsNVX; -PFN_vkCmdReserveSpaceForCommandsNVX vkCmdReserveSpaceForCommandsNVX; -PFN_vkCreateIndirectCommandsLayoutNVX vkCreateIndirectCommandsLayoutNVX; -PFN_vkCreateObjectTableNVX vkCreateObjectTableNVX; -PFN_vkDestroyIndirectCommandsLayoutNVX vkDestroyIndirectCommandsLayoutNVX; -PFN_vkDestroyObjectTableNVX vkDestroyObjectTableNVX; -PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX; -PFN_vkRegisterObjectsNVX vkRegisterObjectsNVX; -PFN_vkUnregisterObjectsNVX vkUnregisterObjectsNVX; -#endif /* defined(VK_NVX_device_generated_commands) */ #if defined(VK_NVX_image_view_handle) +PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX; PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX; #endif /* defined(VK_NVX_image_view_handle) */ +#if defined(VK_NV_acquire_winrt_display) +PFN_vkAcquireWinrtDisplayNV vkAcquireWinrtDisplayNV; +PFN_vkGetWinrtDisplayNV vkGetWinrtDisplayNV; +#endif /* defined(VK_NV_acquire_winrt_display) */ #if defined(VK_NV_clip_space_w_scaling) PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV; #endif /* defined(VK_NV_clip_space_w_scaling) */ @@ -1682,12 +1898,23 @@ PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV vkGetPhysi PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV; PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV; #endif /* defined(VK_NV_device_diagnostic_checkpoints) */ +#if defined(VK_NV_device_generated_commands) +PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV; +PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV; +PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV; +PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV; +PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV; +PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV; +#endif /* defined(VK_NV_device_generated_commands) */ #if defined(VK_NV_external_memory_capabilities) PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV; #endif /* defined(VK_NV_external_memory_capabilities) */ #if defined(VK_NV_external_memory_win32) PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV; #endif /* defined(VK_NV_external_memory_win32) */ +#if defined(VK_NV_fragment_shading_rate_enums) +PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV; +#endif /* defined(VK_NV_fragment_shading_rate_enums) */ #if defined(VK_NV_mesh_shader) PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV; PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV; @@ -1718,9 +1945,9 @@ PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV; #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT; #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */ -#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) +#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR; -#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) */ +#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */ #if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR; PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR; diff --git a/native/cocos/renderer/gfx-vulkan/volk.h b/native/cocos/renderer/gfx-vulkan/volk.h index b8777c57b8..62954f1088 100644 --- a/native/cocos/renderer/gfx-vulkan/volk.h +++ b/native/cocos/renderer/gfx-vulkan/volk.h @@ -15,7 +15,7 @@ #endif /* VOLK_GENERATE_VERSION_DEFINE */ -#define VOLK_HEADER_VERSION 131 +#define VOLK_HEADER_VERSION 165 /* VOLK_GENERATE_VERSION_DEFINE */ #ifndef VK_NO_PROTOTYPES @@ -42,11 +42,20 @@ typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES; # include + +# ifdef VK_ENABLE_BETA_EXTENSIONS +# include +# endif # else # include # endif #endif +/* Disable VK_NVX_image_view_handle because SDK 140 introduced a change that can't be used with prior versions */ +#if VK_HEADER_VERSION < 140 +# undef VK_NVX_image_view_handle +#endif + #ifdef __cplusplus extern "C" { #endif @@ -81,6 +90,12 @@ uint32_t volkGetInstanceVersion(void); */ void volkLoadInstance(VkInstance instance); +/** + * Load global function pointers using application-created VkInstance; call this function after creating the Vulkan instance. + * Skips loading device-based function pointers, requires usage of volkLoadDevice afterwards. + */ +void volkLoadInstanceOnly(VkInstance instance); + /** * Load global function pointers using application-created VkDevice; call this function after creating the Vulkan device. * @@ -92,13 +107,13 @@ void volkLoadDevice(VkDevice device); * Return last VkInstance for which global function pointers have been loaded via volkLoadInstance(), * or VK_NULL_HANDLE if volkLoadInstance() has not been called. */ -VkInstance volkGetLoadedInstance(); +VkInstance volkGetLoadedInstance(void); /** * Return last VkDevice for which global function pointers have been loaded via volkLoadDevice(), * or VK_NULL_HANDLE if volkLoadDevice() has not been called. */ -VkDevice volkGetLoadedDevice(); +VkDevice volkGetLoadedDevice(void); /** * Load function pointers using application-created VkDevice into a table. @@ -310,6 +325,20 @@ struct VolkDeviceTable PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT; PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT; #endif /* defined(VK_EXT_display_control) */ +#if defined(VK_EXT_extended_dynamic_state) + PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT; + PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT; + PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT; + PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT; + PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT; + PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT; + PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT; + PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT; + PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT; + PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT; + PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT; + PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT; +#endif /* defined(VK_EXT_extended_dynamic_state) */ #if defined(VK_EXT_external_memory_host) PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT; #endif /* defined(VK_EXT_external_memory_host) */ @@ -329,6 +358,12 @@ struct VolkDeviceTable #if defined(VK_EXT_line_rasterization) PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT; #endif /* defined(VK_EXT_line_rasterization) */ +#if defined(VK_EXT_private_data) + PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT; + PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT; + PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT; + PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT; +#endif /* defined(VK_EXT_private_data) */ #if defined(VK_EXT_sample_locations) PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT; #endif /* defined(VK_EXT_sample_locations) */ @@ -361,6 +396,24 @@ struct VolkDeviceTable PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL; PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL; #endif /* defined(VK_INTEL_performance_query) */ +#if defined(VK_KHR_acceleration_structure) + PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR; + PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR; + PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR; + PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR; + PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR; + PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR; + PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR; + PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR; + PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR; + PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR; + PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR; + PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR; + PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR; + PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR; + PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR; + PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR; +#endif /* defined(VK_KHR_acceleration_structure) */ #if defined(VK_KHR_bind_memory2) PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR; PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR; @@ -370,12 +423,27 @@ struct VolkDeviceTable PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR; PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR; #endif /* defined(VK_KHR_buffer_device_address) */ +#if defined(VK_KHR_copy_commands2) + PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR; + PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR; + PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR; + PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR; + PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR; + PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR; +#endif /* defined(VK_KHR_copy_commands2) */ #if defined(VK_KHR_create_renderpass2) PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR; PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR; PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR; PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR; #endif /* defined(VK_KHR_create_renderpass2) */ +#if defined(VK_KHR_deferred_host_operations) + PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR; + PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR; + PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR; + PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR; + PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR; +#endif /* defined(VK_KHR_deferred_host_operations) */ #if defined(VK_KHR_descriptor_update_template) PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR; PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR; @@ -417,6 +485,9 @@ struct VolkDeviceTable PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR; PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR; #endif /* defined(VK_KHR_external_semaphore_win32) */ +#if defined(VK_KHR_fragment_shading_rate) + PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR; +#endif /* defined(VK_KHR_fragment_shading_rate) */ #if defined(VK_KHR_get_memory_requirements2) PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR; PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR; @@ -440,6 +511,15 @@ struct VolkDeviceTable #if defined(VK_KHR_push_descriptor) PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR; #endif /* defined(VK_KHR_push_descriptor) */ +#if defined(VK_KHR_ray_tracing_pipeline) + PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR; + PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR; + PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR; + PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR; + PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR; + PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR; + PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR; +#endif /* defined(VK_KHR_ray_tracing_pipeline) */ #if defined(VK_KHR_sampler_ycbcr_conversion) PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR; PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR; @@ -459,17 +539,8 @@ struct VolkDeviceTable PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR; PFN_vkWaitSemaphoresKHR vkWaitSemaphoresKHR; #endif /* defined(VK_KHR_timeline_semaphore) */ -#if defined(VK_NVX_device_generated_commands) - PFN_vkCmdProcessCommandsNVX vkCmdProcessCommandsNVX; - PFN_vkCmdReserveSpaceForCommandsNVX vkCmdReserveSpaceForCommandsNVX; - PFN_vkCreateIndirectCommandsLayoutNVX vkCreateIndirectCommandsLayoutNVX; - PFN_vkCreateObjectTableNVX vkCreateObjectTableNVX; - PFN_vkDestroyIndirectCommandsLayoutNVX vkDestroyIndirectCommandsLayoutNVX; - PFN_vkDestroyObjectTableNVX vkDestroyObjectTableNVX; - PFN_vkRegisterObjectsNVX vkRegisterObjectsNVX; - PFN_vkUnregisterObjectsNVX vkUnregisterObjectsNVX; -#endif /* defined(VK_NVX_device_generated_commands) */ #if defined(VK_NVX_image_view_handle) + PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX; PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX; #endif /* defined(VK_NVX_image_view_handle) */ #if defined(VK_NV_clip_space_w_scaling) @@ -479,9 +550,20 @@ struct VolkDeviceTable PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV; PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV; #endif /* defined(VK_NV_device_diagnostic_checkpoints) */ +#if defined(VK_NV_device_generated_commands) + PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV; + PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV; + PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV; + PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV; + PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV; + PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV; +#endif /* defined(VK_NV_device_generated_commands) */ #if defined(VK_NV_external_memory_win32) PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV; #endif /* defined(VK_NV_external_memory_win32) */ +#if defined(VK_NV_fragment_shading_rate_enums) + PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV; +#endif /* defined(VK_NV_fragment_shading_rate_enums) */ #if defined(VK_NV_mesh_shader) PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV; PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV; @@ -512,9 +594,9 @@ struct VolkDeviceTable #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT; #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */ -#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) +#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR; -#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) */ +#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */ #if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR; PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR; @@ -770,6 +852,10 @@ extern PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT; #if defined(VK_EXT_direct_mode_display) extern PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT; #endif /* defined(VK_EXT_direct_mode_display) */ +#if defined(VK_EXT_directfb_surface) +extern PFN_vkCreateDirectFBSurfaceEXT vkCreateDirectFBSurfaceEXT; +extern PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT vkGetPhysicalDeviceDirectFBPresentationSupportEXT; +#endif /* defined(VK_EXT_directfb_surface) */ #if defined(VK_EXT_discard_rectangles) extern PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT; #endif /* defined(VK_EXT_discard_rectangles) */ @@ -782,6 +868,20 @@ extern PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT; #if defined(VK_EXT_display_surface_counter) extern PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT; #endif /* defined(VK_EXT_display_surface_counter) */ +#if defined(VK_EXT_extended_dynamic_state) +extern PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT; +extern PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT; +extern PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT; +extern PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT; +extern PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT; +extern PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT; +extern PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT; +extern PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT; +extern PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT; +extern PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT; +extern PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT; +extern PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT; +#endif /* defined(VK_EXT_extended_dynamic_state) */ #if defined(VK_EXT_external_memory_host) extern PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT; #endif /* defined(VK_EXT_external_memory_host) */ @@ -808,6 +908,12 @@ extern PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT; #if defined(VK_EXT_metal_surface) extern PFN_vkCreateMetalSurfaceEXT vkCreateMetalSurfaceEXT; #endif /* defined(VK_EXT_metal_surface) */ +#if defined(VK_EXT_private_data) +extern PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT; +extern PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT; +extern PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT; +extern PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT; +#endif /* defined(VK_EXT_private_data) */ #if defined(VK_EXT_sample_locations) extern PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT; extern PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT; @@ -850,6 +956,24 @@ extern PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigur extern PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL; extern PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL; #endif /* defined(VK_INTEL_performance_query) */ +#if defined(VK_KHR_acceleration_structure) +extern PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR; +extern PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR; +extern PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR; +extern PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR; +extern PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR; +extern PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR; +extern PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR; +extern PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR; +extern PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR; +extern PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR; +extern PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR; +extern PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR; +extern PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR; +extern PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR; +extern PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR; +extern PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR; +#endif /* defined(VK_KHR_acceleration_structure) */ #if defined(VK_KHR_android_surface) extern PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR; #endif /* defined(VK_KHR_android_surface) */ @@ -862,12 +986,27 @@ extern PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR; extern PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR; extern PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR; #endif /* defined(VK_KHR_buffer_device_address) */ +#if defined(VK_KHR_copy_commands2) +extern PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR; +extern PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR; +extern PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR; +extern PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR; +extern PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR; +extern PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR; +#endif /* defined(VK_KHR_copy_commands2) */ #if defined(VK_KHR_create_renderpass2) extern PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR; extern PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR; extern PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR; extern PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR; #endif /* defined(VK_KHR_create_renderpass2) */ +#if defined(VK_KHR_deferred_host_operations) +extern PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR; +extern PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR; +extern PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR; +extern PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR; +extern PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR; +#endif /* defined(VK_KHR_deferred_host_operations) */ #if defined(VK_KHR_descriptor_update_template) extern PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR; extern PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR; @@ -930,6 +1069,10 @@ extern PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR; extern PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR; extern PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR; #endif /* defined(VK_KHR_external_semaphore_win32) */ +#if defined(VK_KHR_fragment_shading_rate) +extern PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR; +extern PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR vkGetPhysicalDeviceFragmentShadingRatesKHR; +#endif /* defined(VK_KHR_fragment_shading_rate) */ #if defined(VK_KHR_get_display_properties2) extern PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR; extern PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR; @@ -974,6 +1117,15 @@ extern PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatistic #if defined(VK_KHR_push_descriptor) extern PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR; #endif /* defined(VK_KHR_push_descriptor) */ +#if defined(VK_KHR_ray_tracing_pipeline) +extern PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR; +extern PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR; +extern PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR; +extern PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR; +extern PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR; +extern PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR; +extern PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR; +#endif /* defined(VK_KHR_ray_tracing_pipeline) */ #if defined(VK_KHR_sampler_ycbcr_conversion) extern PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR; extern PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR; @@ -1025,20 +1177,14 @@ extern PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK; #if defined(VK_NN_vi_surface) extern PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN; #endif /* defined(VK_NN_vi_surface) */ -#if defined(VK_NVX_device_generated_commands) -extern PFN_vkCmdProcessCommandsNVX vkCmdProcessCommandsNVX; -extern PFN_vkCmdReserveSpaceForCommandsNVX vkCmdReserveSpaceForCommandsNVX; -extern PFN_vkCreateIndirectCommandsLayoutNVX vkCreateIndirectCommandsLayoutNVX; -extern PFN_vkCreateObjectTableNVX vkCreateObjectTableNVX; -extern PFN_vkDestroyIndirectCommandsLayoutNVX vkDestroyIndirectCommandsLayoutNVX; -extern PFN_vkDestroyObjectTableNVX vkDestroyObjectTableNVX; -extern PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX; -extern PFN_vkRegisterObjectsNVX vkRegisterObjectsNVX; -extern PFN_vkUnregisterObjectsNVX vkUnregisterObjectsNVX; -#endif /* defined(VK_NVX_device_generated_commands) */ #if defined(VK_NVX_image_view_handle) +extern PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX; extern PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX; #endif /* defined(VK_NVX_image_view_handle) */ +#if defined(VK_NV_acquire_winrt_display) +extern PFN_vkAcquireWinrtDisplayNV vkAcquireWinrtDisplayNV; +extern PFN_vkGetWinrtDisplayNV vkGetWinrtDisplayNV; +#endif /* defined(VK_NV_acquire_winrt_display) */ #if defined(VK_NV_clip_space_w_scaling) extern PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV; #endif /* defined(VK_NV_clip_space_w_scaling) */ @@ -1052,12 +1198,23 @@ extern PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV vkG extern PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV; extern PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV; #endif /* defined(VK_NV_device_diagnostic_checkpoints) */ +#if defined(VK_NV_device_generated_commands) +extern PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV; +extern PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV; +extern PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV; +extern PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV; +extern PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV; +extern PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV; +#endif /* defined(VK_NV_device_generated_commands) */ #if defined(VK_NV_external_memory_capabilities) extern PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV; #endif /* defined(VK_NV_external_memory_capabilities) */ #if defined(VK_NV_external_memory_win32) extern PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV; #endif /* defined(VK_NV_external_memory_win32) */ +#if defined(VK_NV_fragment_shading_rate_enums) +extern PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV; +#endif /* defined(VK_NV_fragment_shading_rate_enums) */ #if defined(VK_NV_mesh_shader) extern PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV; extern PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV; @@ -1088,9 +1245,9 @@ extern PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePalet #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) extern PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT; #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */ -#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) +#if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) extern PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR; -#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) */ +#endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */ #if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) extern PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR; extern PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR; From f1d96c6d9c443b7c9da0d69520a323e934e337f0 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 13 Jan 2021 17:54:28 +0800 Subject: [PATCH 115/270] compute shader: Vulkan --- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 376 +++++++++++++++++- native/cocos/bindings/auto/jsb_gfx_auto.h | 13 + .../core/gfx-agent/GFXCommandBufferAgent.cpp | 12 +- .../core/gfx-agent/GFXCommandBufferAgent.h | 2 +- .../core/gfx-agent/GFXPipelineStateAgent.cpp | 1 + .../renderer/core/gfx/GFXCommandBuffer.h | 3 +- native/cocos/renderer/core/gfx/GFXDef.h | 36 +- .../renderer/core/gfx/GFXPipelineState.h | 2 + .../renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- .../renderer/gfx-gles2/GLES2PipelineState.cpp | 4 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 4 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 108 ++--- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 2 +- .../renderer/gfx-gles3/GLES3PipelineState.cpp | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 4 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 2 +- .../renderer/gfx-metal/MTLPipelineState.mm | 1 + .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 32 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 5 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 24 +- native/cocos/renderer/gfx-vulkan/VKCommands.h | 3 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 1 + .../renderer/gfx-vulkan/VKPipelineState.cpp | 10 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 49 ++- native/tools/tojs/gfx.ini | 4 +- 29 files changed, 583 insertions(+), 127 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 3f5078cca3..f0afb90757 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -178,6 +178,50 @@ int js_register_gfx_TextureLayout(se::Object* obj) } +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::AccessType *to, se::Object *ctx) +{ + typedef typename std::underlying_type_t under_type; + under_type tmp; + if(sevalue_to_native(from, &tmp, ctx)) { *to = static_cast(tmp); return true;} + return false; +} + +int js_register_gfx_AccessType(se::Object* obj) +{ + auto enum_kls = se::Object::createPlainObject(); + enum_kls->setProperty("INDIRECT_BUFFER", se::Value(0)); + enum_kls->setProperty("INDEX_BUFFER", se::Value(1)); + enum_kls->setProperty("VERTEX_BUFFER", se::Value(2)); + enum_kls->setProperty("VERTEX_SHADER_READ_UNIFORM_BUFFER", se::Value(3)); + enum_kls->setProperty("VERTEX_SHADER_READ_TEXTURE", se::Value(4)); + enum_kls->setProperty("VERTEX_SHADER_READ_OTHER", se::Value(5)); + enum_kls->setProperty("FRAGMENT_SHADER_READ_UNIFORM_BUFFER", se::Value(6)); + enum_kls->setProperty("FRAGMENT_SHADER_READ_TEXTURE", se::Value(7)); + enum_kls->setProperty("FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT", se::Value(8)); + enum_kls->setProperty("FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT", se::Value(9)); + enum_kls->setProperty("FRAGMENT_SHADER_READ_OTHER", se::Value(10)); + enum_kls->setProperty("COLOR_ATTACHMENT_READ", se::Value(11)); + enum_kls->setProperty("DEPTH_STENCIL_ATTACHMENT_READ", se::Value(12)); + enum_kls->setProperty("COMPUTE_SHADER_READ_UNIFORM_BUFFER", se::Value(13)); + enum_kls->setProperty("COMPUTE_SHADER_READ_TEXTURE", se::Value(14)); + enum_kls->setProperty("COMPUTE_SHADER_READ_OTHER", se::Value(15)); + enum_kls->setProperty("TRANSFER_READ", se::Value(16)); + enum_kls->setProperty("HOST_READ", se::Value(17)); + enum_kls->setProperty("PRESENT", se::Value(18)); + enum_kls->setProperty("VERTEX_SHADER_WRITE", se::Value(19)); + enum_kls->setProperty("FRAGMENT_SHADER_WRITE", se::Value(20)); + enum_kls->setProperty("COLOR_ATTACHMENT_WRITE", se::Value(21)); + enum_kls->setProperty("DEPTH_STENCIL_ATTACHMENT_WRITE", se::Value(22)); + enum_kls->setProperty("COMPUTE_SHADER_WRITE", se::Value(23)); + enum_kls->setProperty("TRANSFER_WRITE", se::Value(24)); + enum_kls->setProperty("HOST_PREINITIALIZED", se::Value(25)); + enum_kls->setProperty("HOST_WRITE", se::Value(26)); + obj->setProperty("AccessType", se::Value(enum_kls)); + return true; +} + + template<> bool sevalue_to_native(const se::Value &from, cc::gfx::PrimitiveMode *to, se::Object *ctx) { @@ -5683,6 +5727,33 @@ static bool js_gfx_ShaderInfo_set_blocks(se::State& s) } SE_BIND_PROP_SET(js_gfx_ShaderInfo_set_blocks) +static bool js_gfx_ShaderInfo_get_buffers(se::State& s) +{ + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_get_buffers : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->buffers, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->buffers, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_ShaderInfo_get_buffers) + +static bool js_gfx_ShaderInfo_set_buffers(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_set_buffers : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->buffers, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_ShaderInfo_set_buffers : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_ShaderInfo_set_buffers) + static bool js_gfx_ShaderInfo_get_samplers(se::State& s) { cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); @@ -5739,6 +5810,10 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::ShaderInfo * to, se::Obje if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->blocks), ctx); } + json->getProperty("buffers", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->buffers), ctx); + } json->getProperty("samplers", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->samplers), ctx); @@ -5794,7 +5869,10 @@ static bool js_gfx_ShaderInfo_constructor(se::State& s) ok &= sevalue_to_native(args[3], &(cobj->blocks), nullptr); } if (argc > 4 && !args[4].isUndefined()) { - ok &= sevalue_to_native(args[4], &(cobj->samplers), nullptr); + ok &= sevalue_to_native(args[4], &(cobj->buffers), nullptr); + } + if (argc > 5 && !args[5].isUndefined()) { + ok &= sevalue_to_native(args[5], &(cobj->samplers), nullptr); } if(!ok) { @@ -5837,6 +5915,7 @@ bool js_register_gfx_ShaderInfo(se::Object* obj) cls->defineProperty("stages", _SE(js_gfx_ShaderInfo_get_stages), _SE(js_gfx_ShaderInfo_set_stages)); cls->defineProperty("attributes", _SE(js_gfx_ShaderInfo_get_attributes), _SE(js_gfx_ShaderInfo_set_attributes)); cls->defineProperty("blocks", _SE(js_gfx_ShaderInfo_get_blocks), _SE(js_gfx_ShaderInfo_set_blocks)); + cls->defineProperty("buffers", _SE(js_gfx_ShaderInfo_get_buffers), _SE(js_gfx_ShaderInfo_set_buffers)); cls->defineProperty("samplers", _SE(js_gfx_ShaderInfo_get_samplers), _SE(js_gfx_ShaderInfo_set_samplers)); cls->defineFinalizeFunction(_SE(js_cc_gfx_ShaderInfo_finalize)); cls->install(); @@ -7304,6 +7383,178 @@ bool js_register_gfx_RenderPassInfo(se::Object* obj) return true; } +se::Object* __jsb_cc_gfx_GlobalBarrier_proto = nullptr; +se::Class* __jsb_cc_gfx_GlobalBarrier_class = nullptr; + +static bool js_gfx_GlobalBarrier_get_prevAccesses(se::State& s) +{ + cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_get_prevAccesses : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->prevAccesses, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->prevAccesses, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_GlobalBarrier_get_prevAccesses) + +static bool js_gfx_GlobalBarrier_set_prevAccesses(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_set_prevAccesses : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->prevAccesses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_set_prevAccesses : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_GlobalBarrier_set_prevAccesses) + +static bool js_gfx_GlobalBarrier_get_nextAccesses(se::State& s) +{ + cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_get_nextAccesses : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->nextAccesses, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->nextAccesses, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_GlobalBarrier_get_nextAccesses) + +static bool js_gfx_GlobalBarrier_set_nextAccesses(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_set_nextAccesses : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->nextAccesses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_set_nextAccesses : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_GlobalBarrier_set_nextAccesses) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::GlobalBarrier * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::GlobalBarrier*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("prevAccesses", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->prevAccesses), ctx); + } + json->getProperty("nextAccesses", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->nextAccesses), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GlobalBarrier_finalize) + +static bool js_gfx_GlobalBarrier_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->prevAccesses), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->nextAccesses), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_GlobalBarrier_constructor, __jsb_cc_gfx_GlobalBarrier_class, js_cc_gfx_GlobalBarrier_finalize) + + + + +static bool js_cc_gfx_GlobalBarrier_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_GlobalBarrier_finalize) + +bool js_register_gfx_GlobalBarrier(se::Object* obj) +{ + auto cls = se::Class::create("GlobalBarrier", obj, nullptr, _SE(js_gfx_GlobalBarrier_constructor)); + + cls->defineProperty("prevAccesses", _SE(js_gfx_GlobalBarrier_get_prevAccesses), _SE(js_gfx_GlobalBarrier_set_prevAccesses)); + cls->defineProperty("nextAccesses", _SE(js_gfx_GlobalBarrier_get_nextAccesses), _SE(js_gfx_GlobalBarrier_set_nextAccesses)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_GlobalBarrier_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_GlobalBarrier_proto = cls->getProto(); + __jsb_cc_gfx_GlobalBarrier_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + se::Object* __jsb_cc_gfx_FramebufferInfo_proto = nullptr; se::Class* __jsb_cc_gfx_FramebufferInfo_class = nullptr; @@ -10497,6 +10748,33 @@ static bool js_gfx_PipelineStateInfo_set_dynamicStates(se::State& s) } SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_dynamicStates) +static bool js_gfx_PipelineStateInfo_get_bindPoint(se::State& s) +{ + cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_bindPoint : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->bindPoint, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->bindPoint, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_bindPoint) + +static bool js_gfx_PipelineStateInfo_set_bindPoint(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_bindPoint : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->bindPoint, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_bindPoint : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_bindPoint) + template<> bool sevalue_to_native(const se::Value &from, cc::gfx::PipelineStateInfo * to, se::Object *ctx) @@ -10546,6 +10824,10 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::PipelineStateInfo * to, s if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->dynamicStates), ctx); } + json->getProperty("bindPoint", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->bindPoint), ctx); + } return ok; } @@ -10611,6 +10893,9 @@ static bool js_gfx_PipelineStateInfo_constructor(se::State& s) if (argc > 8 && !args[8].isUndefined()) { ok &= sevalue_to_native(args[8], &(cobj->dynamicStates), nullptr); } + if (argc > 9 && !args[9].isUndefined()) { + ok &= sevalue_to_native(args[9], &(cobj->bindPoint), nullptr); + } if(!ok) { JSB_FREE(cobj); @@ -10657,6 +10942,7 @@ bool js_register_gfx_PipelineStateInfo(se::Object* obj) cls->defineProperty("blendState", _SE(js_gfx_PipelineStateInfo_get_blendState), _SE(js_gfx_PipelineStateInfo_set_blendState)); cls->defineProperty("primitive", _SE(js_gfx_PipelineStateInfo_get_primitive), _SE(js_gfx_PipelineStateInfo_set_primitive)); cls->defineProperty("dynamicStates", _SE(js_gfx_PipelineStateInfo_get_dynamicStates), _SE(js_gfx_PipelineStateInfo_set_dynamicStates)); + cls->defineProperty("bindPoint", _SE(js_gfx_PipelineStateInfo_get_bindPoint), _SE(js_gfx_PipelineStateInfo_set_bindPoint)); cls->defineFinalizeFunction(_SE(js_cc_gfx_PipelineStateInfo_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -11721,6 +12007,25 @@ static bool js_gfx_CommandBuffer_destroy(se::State& s) } SE_BIND_FUNC(js_gfx_CommandBuffer_destroy) +static bool js_gfx_CommandBuffer_dispatch(se::State& s) +{ + cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_CommandBuffer_dispatch : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_dispatch : Error processing arguments"); + cobj->dispatch(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_CommandBuffer_dispatch) + static bool js_gfx_CommandBuffer_draw(se::State& s) { cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); @@ -11887,6 +12192,25 @@ static bool js_gfx_CommandBuffer_initialize(se::State& s) } SE_BIND_FUNC(js_gfx_CommandBuffer_initialize) +static bool js_gfx_CommandBuffer_pipelineBarrier(se::State& s) +{ + cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_CommandBuffer_pipelineBarrier : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_pipelineBarrier : Error processing arguments"); + cobj->pipelineBarrier(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_CommandBuffer_pipelineBarrier) + static bool js_gfx_CommandBuffer_setBlendConstants(se::State& s) { cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); @@ -12088,6 +12412,7 @@ bool js_register_gfx_CommandBuffer(se::Object* obj) cls->defineFunction("bindInputAssembler", _SE(js_gfx_CommandBuffer_bindInputAssembler)); cls->defineFunction("bindPipelineState", _SE(js_gfx_CommandBuffer_bindPipelineState)); cls->defineFunction("destroy", _SE(js_gfx_CommandBuffer_destroy)); + cls->defineFunction("dispatch", _SE(js_gfx_CommandBuffer_dispatch)); cls->defineFunction("draw", _SE(js_gfx_CommandBuffer_draw)); cls->defineFunction("end", _SE(js_gfx_CommandBuffer_end)); cls->defineFunction("endRenderPass", _SE(js_gfx_CommandBuffer_endRenderPass)); @@ -12097,6 +12422,7 @@ bool js_register_gfx_CommandBuffer(se::Object* obj) cls->defineFunction("getQueue", _SE(js_gfx_CommandBuffer_getQueue)); cls->defineFunction("getType", _SE(js_gfx_CommandBuffer_getType)); cls->defineFunction("initialize", _SE(js_gfx_CommandBuffer_initialize)); + cls->defineFunction("pipelineBarrier", _SE(js_gfx_CommandBuffer_pipelineBarrier)); cls->defineFunction("setBlendConstants", _SE(js_gfx_CommandBuffer_setBlendConstants)); cls->defineFunction("setDepthBias", _SE(js_gfx_CommandBuffer_setDepthBias)); cls->defineFunction("setDepthBound", _SE(js_gfx_CommandBuffer_setDepthBound)); @@ -14335,6 +14661,25 @@ static bool js_gfx_PipelineState_destroy(se::State& s) } SE_BIND_FUNC(js_gfx_PipelineState_destroy) +static bool js_gfx_PipelineState_getBindPoint(se::State& s) +{ + cc::gfx::PipelineState* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_PipelineState_getBindPoint : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getBindPoint(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_getBindPoint : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_PipelineState_getBindPoint) + static bool js_gfx_PipelineState_getBlendState(se::State& s) { cc::gfx::PipelineState* cobj = SE_THIS_OBJECT(s); @@ -14565,6 +14910,7 @@ bool js_register_gfx_PipelineState(se::Object* obj) cls->defineProperty("blendState", _SE(js_gfx_PipelineState_getBlendState), nullptr); cls->defineProperty("renderPass", _SE(js_gfx_PipelineState_getRenderPass), nullptr); cls->defineProperty("inputState", _SE(js_gfx_PipelineState_getInputState), nullptr); + cls->defineProperty("bindPoint", _SE(js_gfx_PipelineState_getBindPoint), nullptr); cls->defineProperty("depthStencilState", _SE(js_gfx_PipelineState_getDepthStencilState), nullptr); cls->defineFunction("destroy", _SE(js_gfx_PipelineState_destroy)); cls->defineFunction("getDynamicStates", _SE(js_gfx_PipelineState_getDynamicStates)); @@ -14980,6 +15326,25 @@ static bool js_gfx_Shader_getBlocks(se::State& s) } SE_BIND_PROP_GET(js_gfx_Shader_getBlocks) +static bool js_gfx_Shader_getBuffers(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getBuffers : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getBuffers(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getBuffers : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Shader_getBuffers) + static bool js_gfx_Shader_getID(se::State& s) { cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); @@ -15116,6 +15481,7 @@ bool js_register_gfx_Shader(se::Object* obj) cls->defineProperty("attributes", _SE(js_gfx_Shader_getAttributes), nullptr); cls->defineProperty("stages", _SE(js_gfx_Shader_getStages), nullptr); cls->defineFunction("destroy", _SE(js_gfx_Shader_destroy)); + cls->defineFunction("getBuffers", _SE(js_gfx_Shader_getBuffers)); cls->defineFunction("initialize", _SE(js_gfx_Shader_initialize)); cls->defineFinalizeFunction(_SE(js_cc_gfx_Shader_finalize)); cls->install(); @@ -16309,6 +16675,7 @@ bool register_all_gfx(se::Object* obj) js_register_gfx_Context(ns); js_register_gfx_GFXObject(ns); js_register_gfx_Buffer(ns); + js_register_gfx_Device(ns); js_register_gfx_Texture(ns); js_register_gfx_Uniform(ns); js_register_gfx_DescriptorSet(ns); @@ -16326,22 +16693,23 @@ bool register_all_gfx(se::Object* obj) js_register_gfx_PrimitiveMode(ns); js_register_gfx_TextureSubres(ns); js_register_gfx_InputAssemblerInfo(ns); + js_register_gfx_AccessType(ns); js_register_gfx_TextureInfo(ns); js_register_gfx_PipelineState(ns); js_register_gfx_RenderPassInfo(ns); - js_register_gfx_TextureLayout(ns); + js_register_gfx_Extent(ns); js_register_gfx_Offset(ns); js_register_gfx_CommandBuffer(ns); js_register_gfx_Framebuffer(ns); js_register_gfx_Rect(ns); js_register_gfx_BufferViewInfo(ns); - js_register_gfx_Extent(ns); + js_register_gfx_TextureLayout(ns); js_register_gfx_UniformSampler(ns); js_register_gfx_ShaderInfo(ns); js_register_gfx_PipelineStateInfo(ns); js_register_gfx_Shader(ns); js_register_gfx_BlendState(ns); - js_register_gfx_Device(ns); + js_register_gfx_GlobalBarrier(ns); js_register_gfx_DescriptorSetInfo(ns); js_register_gfx_DescriptorSetLayoutInfo(ns); js_register_gfx_ContextInfo(ns); diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index c5ec10d425..c71aa0dd76 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -265,6 +265,16 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::RenderPassInfo *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::RenderPassInfo); +extern se::Object* __jsb_cc_gfx_GlobalBarrier_proto; +extern se::Class* __jsb_cc_gfx_GlobalBarrier_class; + +bool js_register_cc_gfx_GlobalBarrier(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::GlobalBarrier *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::GlobalBarrier); + extern se::Object* __jsb_cc_gfx_FramebufferInfo_proto; extern se::Class* __jsb_cc_gfx_FramebufferInfo_class; @@ -428,6 +438,7 @@ SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindDescriptorSetForJS); SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindInputAssembler); SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindPipelineState); SE_DECLARE_FUNC(js_gfx_CommandBuffer_destroy); +SE_DECLARE_FUNC(js_gfx_CommandBuffer_dispatch); SE_DECLARE_FUNC(js_gfx_CommandBuffer_draw); SE_DECLARE_FUNC(js_gfx_CommandBuffer_end); SE_DECLARE_FUNC(js_gfx_CommandBuffer_endRenderPass); @@ -437,6 +448,7 @@ SE_DECLARE_FUNC(js_gfx_CommandBuffer_getNumTris); SE_DECLARE_FUNC(js_gfx_CommandBuffer_getQueue); SE_DECLARE_FUNC(js_gfx_CommandBuffer_getType); SE_DECLARE_FUNC(js_gfx_CommandBuffer_initialize); +SE_DECLARE_FUNC(js_gfx_CommandBuffer_pipelineBarrier); SE_DECLARE_FUNC(js_gfx_CommandBuffer_setBlendConstants); SE_DECLARE_FUNC(js_gfx_CommandBuffer_setDepthBias); SE_DECLARE_FUNC(js_gfx_CommandBuffer_setDepthBound); @@ -611,6 +623,7 @@ bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::Shader); SE_DECLARE_FUNC(js_gfx_Shader_destroy); +SE_DECLARE_FUNC(js_gfx_Shader_getBuffers); SE_DECLARE_FUNC(js_gfx_Shader_initialize); SE_DECLARE_FUNC(js_gfx_Shader_Shader); diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 29942e0b6a..681b1cf74f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -407,18 +407,14 @@ void CommandBufferAgent::dispatch(const DispatchInfo& info) { }); } -void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barriers, uint count) { - GlobalBarrier *actorBarriers = getAllocator()->allocate(count); - memcpy(actorBarriers, barriers, count * sizeof(GlobalBarrier)); - - ENQUEUE_MESSAGE_3( +void CommandBufferAgent::pipelineBarrier(const GlobalBarrier& barrier) { + ENQUEUE_MESSAGE_2( _messageQueue, CommandBufferDispatch, actor, getActor(), - barriers, actorBarriers, - count, count, + barrier, barrier, { - actor->pipelineBarrier(barriers, count); + actor->pipelineBarrier(barrier); }); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index c834cb93c2..d8ca03fb55 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -41,7 +41,7 @@ public: void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; void dispatch(const DispatchInfo &info) override; - void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; + void pipelineBarrier(const GlobalBarrier& barrier) override; uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } uint getNumInstances() const override { return _actor->getNumInstances(); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp index 692ded924f..6914c54a9f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp @@ -26,6 +26,7 @@ bool PipelineStateAgent::initialize(const PipelineStateInfo &info) { _inputState = info.inputState; _rasterizerState = info.rasterizerState; _depthStencilState = info.depthStencilState; + _bindPoint = info.bindPoint; _blendState = info.blendState; _dynamicStates = info.dynamicStates; _renderPass = info.renderPass; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index c546e02fdd..9258a451a1 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -35,7 +35,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) = 0; virtual void dispatch(const DispatchInfo &info) = 0; - virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) = 0; + virtual void pipelineBarrier(const GlobalBarrier& barrier) = 0; CC_INLINE void begin() { begin(nullptr, 0, nullptr); } // secondary command buffer specifics @@ -60,7 +60,6 @@ public: CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } - CC_INLINE void pipelineBarrier(const GlobalBarrierList &barriers) { pipelineBarrier(barriers.data(), barriers.size()); } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 3ad60668d7..8629ab96b1 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -497,23 +497,25 @@ enum class TextureLayout { enum class AccessType { // Read access - INDIRECT_BUFFER, // Read as an indirect buffer for drawing or dispatch - INDEX_BUFFER, // Read as an index buffer for drawing - VERTEX_BUFFER, // Read as a vertex buffer for drawing - VERTEX_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a vertex shader - VERTEX_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a vertex shader - VERTEX_SHADER_READ_OTHER, // Read as any other resource in a vertex shader - FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a fragment shader - FRAGMENT_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a fragment shader - FRAGMENT_SHADER_READ_OTHER, // Read as any other resource in a fragment shader - COLOR_ATTACHMENT_READ, // Read by standard blending/logic operations or subpass load operations - DEPTH_STENCIL_ATTACHMENT_READ, // Read by depth/stencil tests or subpass load operations - COMPUTE_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a compute shader - COMPUTE_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a compute shader - COMPUTE_SHADER_READ_OTHER, // Read as any other resource in a compute shader - TRANSFER_READ, // Read as the source of a transfer operation - HOST_READ, // Read on the host - PRESENT, // Read by the presentation engine + INDIRECT_BUFFER, // Read as an indirect buffer for drawing or dispatch + INDEX_BUFFER, // Read as an index buffer for drawing + VERTEX_BUFFER, // Read as a vertex buffer for drawing + VERTEX_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a vertex shader + VERTEX_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a vertex shader + VERTEX_SHADER_READ_OTHER, // Read as any other resource in a vertex shader + FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a fragment shader + FRAGMENT_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a fragment shader + FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT, // Read as an input attachment with a color format in a fragment shader + FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT, // Read as an input attachment with a depth/stencil format in a fragment shader + FRAGMENT_SHADER_READ_OTHER, // Read as any other resource in a fragment shader + COLOR_ATTACHMENT_READ, // Read by standard blending/logic operations or subpass load operations + DEPTH_STENCIL_ATTACHMENT_READ, // Read by depth/stencil tests or subpass load operations + COMPUTE_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a compute shader + COMPUTE_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a compute shader + COMPUTE_SHADER_READ_OTHER, // Read as any other resource in a compute shader + TRANSFER_READ, // Read as the source of a transfer operation + HOST_READ, // Read on the host + PRESENT, // Read by the presentation engine // Write access VERTEX_SHADER_WRITE, // Written as any resource in a vertex shader diff --git a/native/cocos/renderer/core/gfx/GFXPipelineState.h b/native/cocos/renderer/core/gfx/GFXPipelineState.h index 3e0aa7fa56..c2f72b7b34 100755 --- a/native/cocos/renderer/core/gfx/GFXPipelineState.h +++ b/native/cocos/renderer/core/gfx/GFXPipelineState.h @@ -17,6 +17,7 @@ public: CC_INLINE Device *getDevice() const { return _device; } CC_INLINE Shader *getShader() const { return _shader; } + CC_INLINE PipelineBindPoint getBindPoint() const { return _bindPoint; } CC_INLINE PrimitiveMode getPrimitive() const { return _primitive; } CC_INLINE DynamicStateFlags getDynamicStates() const { return _dynamicStates; } CC_INLINE const InputState &getInputState() const { return _inputState; } @@ -29,6 +30,7 @@ public: protected: Device *_device = nullptr; Shader *_shader = nullptr; + PipelineBindPoint _bindPoint = PipelineBindPoint::GRAPHICS; PrimitiveMode _primitive = PrimitiveMode::TRIANGLE_LIST; DynamicStateFlags _dynamicStates = DynamicStateFlags::NONE; InputState _inputState; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 9c8cb4df29..180743da4b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -62,7 +62,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override {} - virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override {} + virtual void pipelineBarrier(const GlobalBarrier& barrier) override {} protected: void BindStates(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp index fcc18bfc37..80306666dd 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp @@ -57,12 +57,12 @@ GLES2PipelineState::~GLES2PipelineState() { } bool GLES2PipelineState::initialize(const PipelineStateInfo &info) { - _primitive = info.primitive; _shader = info.shader; _inputState = info.inputState; _rasterizerState = info.rasterizerState; _depthStencilState = info.depthStencilState; + _bindPoint = info.bindPoint; _blendState = info.blendState; _dynamicStates = info.dynamicStates; _renderPass = info.renderPass; @@ -74,8 +74,8 @@ bool GLES2PipelineState::initialize(const PipelineStateInfo &info) { _gpuPipelineState->rs = _rasterizerState; _gpuPipelineState->dss = _depthStencilState; _gpuPipelineState->bs = _blendState; - _gpuPipelineState->gpuRenderPass = ((GLES2RenderPass *)_renderPass)->gpuRenderPass(); _gpuPipelineState->gpuPipelineLayout = ((GLES2PipelineLayout *)_pipelineLayout)->gpuPipelineLayout(); + if (_renderPass) _gpuPipelineState->gpuRenderPass = ((GLES2RenderPass *)_renderPass)->gpuRenderPass(); for (uint i = 0; i < 31; i++) { if ((uint)_dynamicStates & (1 << i)) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 73b24cc86d..88a7aca104 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -423,12 +423,12 @@ void GLES3CommandBuffer::dispatch(const DispatchInfo &info) { } } -void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barriers, uint count) { +void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier& barrier) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); - MapGLBarriers(barriers, count, cmd->barriers, cmd->barriersByRegion); + MapGLBarriers(barrier, cmd->barriers, cmd->barriersByRegion); _curCmdPackage->barrierCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::BARRIER); } else { diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 969fa031c8..68ca10aefa 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -61,7 +61,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; + virtual void pipelineBarrier(const GlobalBarrier& barrier) override; protected: virtual void BindStates(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index b3aa0885c6..373fc463a3 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -600,60 +600,60 @@ const GLenum GLES3_BLEND_FACTORS[] = { }; } // namespace -void MapGLBarriers(const GlobalBarrier *barriers, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { - for (uint i = 0u; i < count; ++i) { - const AccessTypeList &list = barriers[i].nextAccesses; - for (size_t j = 0u; j < list.size(); ++j) { - switch (list[j]) { - case AccessType::INDIRECT_BUFFER: - glBarriers |= GL_COMMAND_BARRIER_BIT; - break; - case AccessType::INDEX_BUFFER: - glBarriers |= GL_ELEMENT_ARRAY_BARRIER_BIT; - break; - case AccessType::VERTEX_BUFFER: - glBarriers |= GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT; - break; - case AccessType::COMPUTE_SHADER_READ_UNIFORM_BUFFER: - case AccessType::VERTEX_SHADER_READ_UNIFORM_BUFFER: - case AccessType::FRAGMENT_SHADER_READ_UNIFORM_BUFFER: - glBarriersByRegion |= GL_UNIFORM_BARRIER_BIT; - break; - case AccessType::COMPUTE_SHADER_READ_TEXTURE: - case AccessType::VERTEX_SHADER_READ_TEXTURE: - case AccessType::FRAGMENT_SHADER_READ_TEXTURE: - glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; - glBarriersByRegion |= GL_TEXTURE_FETCH_BARRIER_BIT; - break; - case AccessType::COMPUTE_SHADER_READ_OTHER: - case AccessType::VERTEX_SHADER_READ_OTHER: - case AccessType::FRAGMENT_SHADER_READ_OTHER: - glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; - break; - case AccessType::COLOR_ATTACHMENT_READ: - case AccessType::COLOR_ATTACHMENT_WRITE: - case AccessType::DEPTH_STENCIL_ATTACHMENT_READ: - case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: - glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; - break; - case AccessType::TRANSFER_READ: - glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; - break; - case AccessType::VERTEX_SHADER_WRITE: - case AccessType::FRAGMENT_SHADER_WRITE: - case AccessType::COMPUTE_SHADER_WRITE: - glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; - break; - case AccessType::TRANSFER_WRITE: - glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; - glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; - break; - case AccessType::HOST_PREINITIALIZED: - case AccessType::HOST_WRITE: - case AccessType::PRESENT: - default: - break; - } +void MapGLBarriers(const GlobalBarrier &barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { + const AccessTypeList &list = barrier.nextAccesses; + for (size_t j = 0u; j < list.size(); ++j) { + switch (list[j]) { + case AccessType::INDIRECT_BUFFER: + glBarriers |= GL_COMMAND_BARRIER_BIT; + break; + case AccessType::INDEX_BUFFER: + glBarriers |= GL_ELEMENT_ARRAY_BARRIER_BIT; + break; + case AccessType::VERTEX_BUFFER: + glBarriers |= GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_UNIFORM_BUFFER: + case AccessType::VERTEX_SHADER_READ_UNIFORM_BUFFER: + case AccessType::FRAGMENT_SHADER_READ_UNIFORM_BUFFER: + glBarriersByRegion |= GL_UNIFORM_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_TEXTURE: + case AccessType::VERTEX_SHADER_READ_TEXTURE: + case AccessType::FRAGMENT_SHADER_READ_TEXTURE: + glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; + glBarriersByRegion |= GL_TEXTURE_FETCH_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_OTHER: + case AccessType::VERTEX_SHADER_READ_OTHER: + case AccessType::FRAGMENT_SHADER_READ_OTHER: + glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; + break; + case AccessType::COLOR_ATTACHMENT_READ: + case AccessType::COLOR_ATTACHMENT_WRITE: + case AccessType::DEPTH_STENCIL_ATTACHMENT_READ: + case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: + glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; + break; + case AccessType::TRANSFER_READ: + glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; + break; + case AccessType::VERTEX_SHADER_WRITE: + case AccessType::FRAGMENT_SHADER_WRITE: + case AccessType::COMPUTE_SHADER_WRITE: + glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; + break; + case AccessType::TRANSFER_WRITE: + glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; + glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; + break; + case AccessType::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT: + case AccessType::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT: + case AccessType::HOST_PREINITIALIZED: + case AccessType::HOST_WRITE: + case AccessType::PRESENT: + default: + break; } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index d66c7d13d5..cca7cf9740 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -270,7 +270,7 @@ public: } }; -CC_GLES3_API void MapGLBarriers(const GlobalBarrier *barriers, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); +CC_GLES3_API void MapGLBarriers(const GlobalBarrier &barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); CC_GLES3_API void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp index 17cf438288..d7ba57c9e7 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp @@ -57,12 +57,12 @@ GLES3PipelineState::~GLES3PipelineState() { } bool GLES3PipelineState::initialize(const PipelineStateInfo &info) { - _primitive = info.primitive; _shader = info.shader; _inputState = info.inputState; _rasterizerState = info.rasterizerState; _depthStencilState = info.depthStencilState; + _bindPoint = info.bindPoint; _blendState = info.blendState; _dynamicStates = info.dynamicStates; _renderPass = info.renderPass; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 67a0fc91e5..c1c9f8786d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -173,13 +173,13 @@ void GLES3PrimaryCommandBuffer::dispatch(const DispatchInfo &info) { } } -void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barriers, uint count) { +void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier& barrier) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { GLbitfield glBarriers = 0u; GLbitfield glBarriersByRegion = 0u; - MapGLBarriers(barriers, count, glBarriers, glBarriersByRegion); + MapGLBarriers(barrier, glBarriers, glBarriersByRegion); GLES3CmdFuncMemoryBarrier((GLES3Device *)_device, glBarriers, glBarriersByRegion); } else { CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 3587029594..4af60bd7aa 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -43,7 +43,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; + virtual void pipelineBarrier(const GlobalBarrier& barrier) override; protected: virtual void BindStates(); }; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 38d6dac070..366d985580 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -69,7 +69,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; + virtual void pipelineBarrier(const GlobalBarrier& barrier) override; CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 0472f4333b..be6ab13743 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -526,7 +526,7 @@ void CCMTLCommandBuffer::bindDescriptorSets() { void CCMTLCommandBuffer::dispatch(const DispatchInfo &info) { } -void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier *barriers, uint count) { +void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier& barrier) { } } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm index 762eb2b28a..0d2d62482d 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm @@ -47,6 +47,7 @@ bool CCMTLPipelineState::initialize(const PipelineStateInfo &info) { _inputState = info.inputState; _rasterizerState = info.rasterizerState; _depthStencilState = info.depthStencilState; + _bindPoint = info.bindPoint; _blendState = info.blendState; _dynamicStates = info.dynamicStates; _renderPass = info.renderPass; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index f66ebca9e5..fbd9f6de4a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -193,7 +193,7 @@ void CCVKCommandBuffer::bindPipelineState(PipelineState *pso) { CCVKGPUPipelineState *gpuPipelineState = ((CCVKPipelineState *)pso)->gpuPipelineState(); if (_curGPUPipelineState != gpuPipelineState) { - vkCmdBindPipeline(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, gpuPipelineState->vkPipeline); + vkCmdBindPipeline(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_BIND_POINTS[(uint)gpuPipelineState->bindPoint], gpuPipelineState->vkPipeline); _curGPUPipelineState = gpuPipelineState; } } @@ -325,7 +325,7 @@ void CCVKCommandBuffer::setStencilCompareMask(StencilFace face, int reference, u void CCVKCommandBuffer::draw(InputAssembler *ia) { if (_firstDirtyDescriptorSet < _curGPUDescriptorSets.size()) { - bindDescriptorSets(); + bindDescriptorSets(VK_PIPELINE_BIND_POINT_GRAPHICS); } CCVKGPUInputAssembler *gpuInputAssembler = ((CCVKInputAssembler *)ia)->gpuInputAssembler(); @@ -432,7 +432,7 @@ void CCVKCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Text CCVKCmdFuncCopyBuffersToTexture((CCVKDevice *)_device, buffers, ((CCVKTexture *)texture)->gpuTexture(), regions, count, _gpuCommandBuffer); } -void CCVKCommandBuffer::bindDescriptorSets() { +void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { CCVKDevice *device = (CCVKDevice *)_device; CCVKGPUDevice *gpuDevice = device->gpuDevice(); CCVKGPUPipelineLayout *pipelineLayout = _curGPUPipelineState->gpuPipelineLayout; @@ -457,7 +457,7 @@ void CCVKCommandBuffer::bindDescriptorSets() { uint dynamicOffsetEndIndex = dynamicOffsetOffsets[_firstDirtyDescriptorSet + dirtyDescriptorSetCount]; uint dynamicOffsetCount = dynamicOffsetEndIndex - dynamicOffsetStartIndex; vkCmdBindDescriptorSets(_gpuCommandBuffer->vkCommandBuffer, - VK_PIPELINE_BIND_POINT_GRAPHICS, pipelineLayout->vkPipelineLayout, + bindPoint, pipelineLayout->vkPipelineLayout, _firstDirtyDescriptorSet, dirtyDescriptorSetCount, &_curVkDescriptorSets[_firstDirtyDescriptorSet], dynamicOffsetCount, _curDynamicOffsets.data() + dynamicOffsetStartIndex); @@ -466,14 +466,34 @@ void CCVKCommandBuffer::bindDescriptorSets() { } void CCVKCommandBuffer::dispatch(const DispatchInfo &info) { + if (_firstDirtyDescriptorSet < _curGPUDescriptorSets.size()) { + bindDescriptorSets(VK_PIPELINE_BIND_POINT_COMPUTE); + } + if (info.indirectBuffer) { CCVKBuffer *indirectBuffer = (CCVKBuffer *)info.indirectBuffer; - vkCmdDispatchIndirect(_gpuCommandBuffer->vkCommandBuffer, indirectBuffer->gpuBuffer()->vkBuffer, - indirectBuffer->gpuBuffer()->startOffset + indirectBuffer->gpuBufferView()->offset + info.indirectOffset); + vkCmdDispatchIndirect(_gpuCommandBuffer->vkCommandBuffer, indirectBuffer->gpuBuffer()->vkBuffer, + indirectBuffer->gpuBuffer()->startOffset + indirectBuffer->gpuBufferView()->offset + info.indirectOffset); } else { vkCmdDispatch(_gpuCommandBuffer->vkCommandBuffer, info.groupCountX, info.groupCountY, info.groupCountZ); } } +void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier &barrier) { + uint prevCount = barrier.prevAccesses.size(); + uint nextCount = barrier.nextAccesses.size(); + _accessTypes.resize(prevCount + nextCount); + + for (uint i = 0u; i < prevCount; ++i) _accessTypes[i] = THSVS_ACCESS_TYPES[(uint)barrier.prevAccesses[i]]; + for (uint i = 0u; i < nextCount; ++i) _accessTypes[i + prevCount] = THSVS_ACCESS_TYPES[(uint)barrier.nextAccesses[i]]; + + ThsvsGlobalBarrier vkBarrier; + vkBarrier.prevAccessCount = barrier.prevAccesses.size(); + vkBarrier.pPrevAccesses = _accessTypes.data(); + vkBarrier.nextAccessCount = barrier.nextAccesses.size(); + vkBarrier.pNextAccesses = _accessTypes.data() + prevCount; + thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, &vkBarrier, 0, nullptr, 0, nullptr); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 01ec7443f6..166524c8c9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -60,12 +60,12 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barriers, uint count) override; + virtual void pipelineBarrier(const GlobalBarrier& barrier) override; CCVKGPUCommandBuffer *gpuCommandBuffer() const { return _gpuCommandBuffer; } private: - void bindDescriptorSets(); + void bindDescriptorSets(VkPipelineBindPoint bindPoint); CCVKGPUCommandBuffer *_gpuCommandBuffer = nullptr; @@ -89,6 +89,7 @@ private: CCVKStencilWriteMask _curStencilWriteMask; CCVKStencilCompareMask _curStencilCompareMask; + vector _accessTypes; vector _vkCommandBuffers; queue _pendingQueue; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 0eceec0fbb..dd279bfc2a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -266,7 +266,7 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende subpassDescriptions.resize(subpassCount); for (size_t i = 0u; i < subpassCount; i++) { const SubPassInfo &subPassInfo = gpuRenderPass->subPasses[i]; - subpassDescriptions[i].pipelineBindPoint = MapVkPipelineBindPoint(subPassInfo.bindPoint); + subpassDescriptions[i].pipelineBindPoint = VK_PIPELINE_BIND_POINTS[(uint)subPassInfo.bindPoint]; // TODO } } else { // generate a default subpass from attachment info @@ -433,7 +433,27 @@ void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout * VK_CHECK(vkCreatePipelineLayout(gpuDevice->vkDevice, &pipelineLayoutCreateInfo, nullptr, &gpuPipelineLayout->vkPipelineLayout)); } -void CCVKCmdFuncCreatePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState) { +void CCVKCmdFuncCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState) { + VkComputePipelineCreateInfo createInfo{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; + + ///////////////////// Shader Stage ///////////////////// + + const CCVKGPUShaderStageList &stages = gpuPipelineState->gpuShader->gpuStages; + VkPipelineShaderStageCreateInfo stageInfo{VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; + stageInfo.stage = MapVkShaderStageFlagBits(stages[0].type); + stageInfo.module = stages[0].vkShader; + stageInfo.pName = "main"; + + createInfo.stage = stageInfo; + createInfo.layout = gpuPipelineState->gpuPipelineLayout->vkPipelineLayout; + + ///////////////////// Creation ///////////////////// + + VK_CHECK(vkCreateComputePipelines(device->gpuDevice()->vkDevice, device->gpuDevice()->vkPipelineCache, + 1, &createInfo, nullptr, &gpuPipelineState->vkPipeline)); +} + +void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice * device, CCVKGPUPipelineState * gpuPipelineState) { VkGraphicsPipelineCreateInfo createInfo{VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO}; ///////////////////// Shader Stage ///////////////////// diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index 8782aa7826..4e7a938c0d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -64,7 +64,8 @@ CC_VULKAN_API void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFrame CC_VULKAN_API void CCVKCmdFuncCreateShader(CCVKDevice *device, CCVKGPUShader *gpuShader); CC_VULKAN_API void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout); CC_VULKAN_API void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout); -CC_VULKAN_API void CCVKCmdFuncCreatePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); +CC_VULKAN_API void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); +CC_VULKAN_API void CCVKCmdFuncCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); CC_VULKAN_API void CCVKCmdFuncCreateFence(CCVKDevice *device, CCVKGPUFence *gpuFence); CC_VULKAN_API void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const void *buffer, uint size, const CCVKGPUCommandBuffer *cmdBuffer = nullptr); diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 1f4102bbae..8667478ba9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, ot constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 0 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index a2df00b633..d11c70a059 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -273,6 +273,7 @@ public: class CCVKGPUPipelineState final : public Object { public: + PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; CCVKGPUShader *gpuShader = nullptr; CCVKGPUPipelineLayout *gpuPipelineLayout = nullptr; diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index 22438d041b..133f158684 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -46,20 +46,22 @@ bool CCVKPipelineState::initialize(const PipelineStateInfo &info) { _inputState = info.inputState; _rasterizerState = info.rasterizerState; _depthStencilState = info.depthStencilState; + _bindPoint = info.bindPoint; _blendState = info.blendState; _dynamicStates = info.dynamicStates; _renderPass = info.renderPass; _pipelineLayout = info.pipelineLayout; _gpuPipelineState = CC_NEW(CCVKGPUPipelineState); + _gpuPipelineState->bindPoint = _bindPoint; _gpuPipelineState->primitive = _primitive; _gpuPipelineState->gpuShader = ((CCVKShader *)_shader)->gpuShader(); _gpuPipelineState->inputState = _inputState; _gpuPipelineState->rs = _rasterizerState; _gpuPipelineState->dss = _depthStencilState; _gpuPipelineState->bs = _blendState; - _gpuPipelineState->gpuRenderPass = ((CCVKRenderPass *)_renderPass)->gpuRenderPass(); _gpuPipelineState->gpuPipelineLayout = ((CCVKPipelineLayout *)_pipelineLayout)->gpuPipelineLayout(); + if (_renderPass) _gpuPipelineState->gpuRenderPass = ((CCVKRenderPass *)_renderPass)->gpuRenderPass(); for (uint i = 0; i < 31; i++) { if ((uint)_dynamicStates & (1 << i)) { @@ -67,7 +69,11 @@ bool CCVKPipelineState::initialize(const PipelineStateInfo &info) { } } - CCVKCmdFuncCreatePipelineState((CCVKDevice *)_device, _gpuPipelineState); + if (_bindPoint == PipelineBindPoint::GRAPHICS) { + CCVKCmdFuncCreateGraphicsPipelineState((CCVKDevice *)_device, _gpuPipelineState); + } else { + CCVKCmdFuncCreateComputePipelineState((CCVKDevice *)_device, _gpuPipelineState); + } return true; } diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 0be908c215..8fa544c246 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -28,6 +28,7 @@ THE SOFTWARE. #include "vk_mem_alloc.h" #include "volk.h" + #include "thsvs_simpler_vulkan_synchronization.h" #define DEFAULT_TIMEOUT 1000000000 // 1 second @@ -284,18 +285,6 @@ VkPipelineStageFlags MapVkPipelineStageFlags(BufferUsage usage) { return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; } -VkPipelineBindPoint MapVkPipelineBindPoint(PipelineBindPoint bindPoint) { - switch (bindPoint) { - case PipelineBindPoint::GRAPHICS: return VK_PIPELINE_BIND_POINT_GRAPHICS; - case PipelineBindPoint::COMPUTE: return VK_PIPELINE_BIND_POINT_COMPUTE; - case PipelineBindPoint::RAY_TRACING: return VK_PIPELINE_BIND_POINT_RAY_TRACING_NV; - default: { - CCASSERT(false, "Unsupported PipelineBindPoint, convert to VkPipelineBindPoint failed."); - return VK_PIPELINE_BIND_POINT_GRAPHICS; - } - } -} - VkBufferUsageFlagBits MapVkBufferUsageFlagBits(BufferUsage usage) { uint flags = 0u; if (usage & BufferUsage::TRANSFER_SRC) flags |= VK_BUFFER_USAGE_TRANSFER_SRC_BIT; @@ -670,6 +659,42 @@ const VkAccessFlags FULL_ACCESS_FLAGS = VK_ACCESS_INDIRECT_COMMAND_READ_BIT | VK_ACCESS_HOST_READ_BIT | VK_ACCESS_HOST_WRITE_BIT; +const VkPipelineBindPoint VK_PIPELINE_BIND_POINTS[] = { + VK_PIPELINE_BIND_POINT_GRAPHICS, + VK_PIPELINE_BIND_POINT_COMPUTE, + VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR, +}; + +const ThsvsAccessType THSVS_ACCESS_TYPES[] = { + THSVS_ACCESS_INDIRECT_BUFFER, // INDIRECT_BUFFER + THSVS_ACCESS_INDEX_BUFFER, // INDEX_BUFFER + THSVS_ACCESS_VERTEX_BUFFER, // VERTEX_BUFFER + THSVS_ACCESS_VERTEX_SHADER_READ_UNIFORM_BUFFER, // VERTEX_SHADER_READ_UNIFORM_BUFFER + THSVS_ACCESS_VERTEX_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // VERTEX_SHADER_READ_TEXTURE + THSVS_ACCESS_VERTEX_SHADER_READ_OTHER, // VERTEX_SHADER_READ_OTHER + THSVS_ACCESS_FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // FRAGMENT_SHADER_READ_UNIFORM_BUFFER + THSVS_ACCESS_FRAGMENT_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // FRAGMENT_SHADER_READ_TEXTURE + THSVS_ACCESS_FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT, // FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT + THSVS_ACCESS_FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT, // FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT + THSVS_ACCESS_FRAGMENT_SHADER_READ_OTHER, // FRAGMENT_SHADER_READ_OTHER + THSVS_ACCESS_COLOR_ATTACHMENT_READ, // COLOR_ATTACHMENT_READ + THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ, // DEPTH_STENCIL_ATTACHMENT_READ + THSVS_ACCESS_COMPUTE_SHADER_READ_UNIFORM_BUFFER, // COMPUTE_SHADER_READ_UNIFORM_BUFFER + THSVS_ACCESS_COMPUTE_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // COMPUTE_SHADER_READ_TEXTURE + THSVS_ACCESS_COMPUTE_SHADER_READ_OTHER, // COMPUTE_SHADER_READ_OTHER + THSVS_ACCESS_TRANSFER_READ, // TRANSFER_READ + THSVS_ACCESS_HOST_READ, // HOST_READ + THSVS_ACCESS_PRESENT, // PRESENT + THSVS_ACCESS_VERTEX_SHADER_WRITE, // VERTEX_SHADER_WRITE + THSVS_ACCESS_FRAGMENT_SHADER_WRITE, // FRAGMENT_SHADER_WRITE + THSVS_ACCESS_COLOR_ATTACHMENT_WRITE, // COLOR_ATTACHMENT_WRITE + THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE, // DEPTH_STENCIL_ATTACHMENT_WRITE + THSVS_ACCESS_COMPUTE_SHADER_WRITE, // COMPUTE_SHADER_WRITE + THSVS_ACCESS_TRANSFER_WRITE, // TRANSFER_WRITE + THSVS_ACCESS_HOST_PREINITIALIZED, // HOST_PREINITIALIZED + THSVS_ACCESS_HOST_WRITE, // HOST_WRITE +}; + void fullPipelineBarrier(VkCommandBuffer cmdBuff) { #if CC_DEBUG > 0 VkMemoryBarrier memoryBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; diff --git a/native/tools/tojs/gfx.ini b/native/tools/tojs/gfx.ini index 4185fccef2..36c3d7127a 100644 --- a/native/tools/tojs/gfx.ini +++ b/native/tools/tojs/gfx.ini @@ -33,7 +33,7 @@ replace_headers = # what classes to produce code for. You can use regular expressions here. When testing the regular # expression, it will be enclosed in "^$", like this: "^Menu.*$". -classes = GFXObject Device Buffer CommandBuffer Framebuffer InputAssembler DescriptorSet DescriptorSetLayout PipelineLayout PipelineState Fence Queue RenderPass Sampler Shader Texture TextureLayout ContextInfo TextureViewInfo ShaderMacro PushConstantRange InputState PipelineStateInfo FormatInfo MemoryStatus FenceInfo Attribute DeviceInfo BindingMappingInfo RasterizerState DepthStencilState BlendState PrimitiveMode Color DepthStencilAttachment SubPassInfo UniformBlock UniformSampler Uniform ShaderStage DescriptorSetLayoutBinding Format Context BlendTarget FramebufferInfo RenderPassInfo ColorAttachment SamplerInfo DescriptorSetLayoutInfo DescriptorSetInfo InputAssemblerInfo PipelineLayoutInfo ShaderInfo Rect TextureInfo BufferTextureCopy Offset Extent TextureSubres BufferInfo BufferViewInfo +classes = GFXObject Device Buffer CommandBuffer Framebuffer InputAssembler DescriptorSet DescriptorSetLayout PipelineLayout PipelineState Fence Queue RenderPass Sampler Shader Texture TextureLayout ContextInfo TextureViewInfo ShaderMacro PushConstantRange InputState PipelineStateInfo FormatInfo MemoryStatus FenceInfo Attribute DeviceInfo BindingMappingInfo RasterizerState DepthStencilState BlendState AccessType GlobalBarrier PrimitiveMode Color DepthStencilAttachment SubPassInfo UniformBlock UniformSampler Uniform ShaderStage DescriptorSetLayoutBinding Format Context BlendTarget FramebufferInfo RenderPassInfo ColorAttachment SamplerInfo DescriptorSetLayoutInfo DescriptorSetInfo InputAssemblerInfo PipelineLayoutInfo ShaderInfo Rect TextureInfo BufferTextureCopy Offset Extent TextureSubres BufferInfo BufferViewInfo classes_need_extend = @@ -66,7 +66,7 @@ getter_setter = Device::[gfxAPI surfaceTransform deviceName width height nativeW Texture::[type usage format width height depth layerCount levelCount size samples flags buffer], Queue::[type], RenderPass::[hash], - PipelineState::[shader primitive inputState rasterizerState depthStencilState blendState renderPass], + PipelineState::[shader primitive bindPoint inputState rasterizerState depthStencilState blendState renderPass], InputAssembler::[vertexBuffers attributes indexBuffer indirectBuffer vertexCount firstVertex indexCount firstIndex vertexOffset instanceCount firstInstance attributesHash], Commanduffer::[type queue numDrawCalls numInstances numTris], Context::[sharedContext/getSharedContext vsyncMode colorFormat depthStencilFormat], From ee05ce4fa0d58a5da970b9d39cbf5c8abb887a2c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 14 Jan 2021 14:33:22 +0800 Subject: [PATCH 116/270] better storage buffer support --- native/cocos/renderer/core/gfx/GFXDef.h | 9 ------ .../renderer/gfx-gles2/GLES2Commands.cpp | 8 +++--- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 28 ++++++++++++++++--- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- 7 files changed, 32 insertions(+), 21 deletions(-) diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 8629ab96b1..35262efdf2 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -898,19 +898,10 @@ struct UniformSampler { typedef cc::vector UniformSamplerList; -struct StorageBufferMember { - String name; - Type type = Type::UNKNOWN; - uint count = 0u; -}; - -typedef cc::vector StorageBufferMemberList; - struct StorageBuffer { uint set = 0u; uint binding = 0u; String name; - StorageBufferMemberList members; uint count = 0u; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index e16ed19f76..fbaf707be6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1959,7 +1959,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_S, - glWrapS)); + glWrapS)); gpuTexture->glWrapS = glWrapS; } @@ -1969,7 +1969,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->texUint = unit; } GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_WRAP_T, - glWrapT)); + glWrapT)); gpuTexture->glWrapT = glWrapT; } @@ -1979,7 +1979,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->texUint = unit; } GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MIN_FILTER, - glMinFilter)); + glMinFilter)); gpuTexture->glMinFilter = glMinFilter; } @@ -1989,7 +1989,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->texUint = unit; } GL_CHECK(glTexParameteri(gpuTexture->glTarget, GL_TEXTURE_MAG_FILTER, - gpuDescriptor->gpuSampler->glMagFilter)); + gpuDescriptor->gpuSampler->glMagFilter)); gpuTexture->glMagFilter = gpuDescriptor->gpuSampler->glMagFilter; } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 88a7aca104..6f35cede52 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -428,7 +428,7 @@ void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier& barrier) { (_type == CommandBufferType::SECONDARY)) { GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); - MapGLBarriers(barrier, cmd->barriers, cmd->barriersByRegion); + MapGLBarriers(barrier.nextAccesses, cmd->barriers, cmd->barriersByRegion); _curCmdPackage->barrierCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::BARRIER); } else { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 373fc463a3..286d7c4bdc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -600,8 +600,7 @@ const GLenum GLES3_BLEND_FACTORS[] = { }; } // namespace -void MapGLBarriers(const GlobalBarrier &barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { - const AccessTypeList &list = barrier.nextAccesses; +void MapGLBarriers(const AccessTypeList &list, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { for (size_t j = 0u; j < list.size(); ++j) { switch (list[j]) { case AccessType::INDIRECT_BUFFER: @@ -638,8 +637,9 @@ void MapGLBarriers(const GlobalBarrier &barrier, GLbitfield &glBarriers, GLbitfi case AccessType::TRANSFER_READ: glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; break; - case AccessType::VERTEX_SHADER_WRITE: case AccessType::FRAGMENT_SHADER_WRITE: + glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; + break; case AccessType::COMPUTE_SHADER_WRITE: glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; break; @@ -647,6 +647,7 @@ void MapGLBarriers(const GlobalBarrier &barrier, GLbitfield &glBarriers, GLbitfi glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; break; + case AccessType::VERTEX_SHADER_WRITE: case AccessType::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT: case AccessType::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT: case AccessType::HOST_PREINITIALIZED: @@ -714,6 +715,18 @@ void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_UNIFORM_BUFFER, 0)); device->stateCache()->glUniformBuffer = 0; } + } else if (gpuBuffer->usage & BufferUsageBit::STORAGE) { + gpuBuffer->glTarget = GL_SHADER_STORAGE_BUFFER; + GL_CHECK(glGenBuffers(1, &gpuBuffer->glBuffer)); + if (gpuBuffer->size) { + if (device->stateCache()->glShaderStorageBuffer != gpuBuffer->glBuffer) { + GL_CHECK(glBindBuffer(GL_SHADER_STORAGE_BUFFER, gpuBuffer->glBuffer)); + } + + GL_CHECK(glBufferData(GL_SHADER_STORAGE_BUFFER, gpuBuffer->size, nullptr, glUsage)); + GL_CHECK(glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0)); + device->stateCache()->glShaderStorageBuffer = 0; + } } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { gpuBuffer->glTarget = GL_NONE; } else if ((gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || @@ -1270,7 +1283,6 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { gpuBlock.binding = buffer.binding; gpuBlock.glBinding = buffer.binding + device->bindingMappingInfo().bufferOffsets[buffer.set]; gpuBlock.isStorage = true; - break; } // create uniform samplers @@ -2374,6 +2386,14 @@ void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, co GL_CHECK(glBufferSubData(GL_UNIFORM_BUFFER, offset, size, buffer)); break; } + case GL_SHADER_STORAGE_BUFFER: { + if (device->stateCache()->glShaderStorageBuffer != gpuBuffer->glBuffer) { + GL_CHECK(glBindBuffer(GL_SHADER_STORAGE_BUFFER, gpuBuffer->glBuffer)); + device->stateCache()->glShaderStorageBuffer = gpuBuffer->glBuffer; + } + GL_CHECK(glBufferSubData(GL_SHADER_STORAGE_BUFFER, offset, size, buffer)); + break; + } default: CCASSERT(false, "Unsupported BufferType, update buffer failed."); break; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index cca7cf9740..c6b7a27ba9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -270,7 +270,7 @@ public: } }; -CC_GLES3_API void MapGLBarriers(const GlobalBarrier &barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); +CC_GLES3_API void MapGLBarriers(const AccessTypeList &barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); CC_GLES3_API void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index c1c9f8786d..2aa91dc457 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -179,7 +179,7 @@ void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier& barrier) { GLbitfield glBarriers = 0u; GLbitfield glBarriersByRegion = 0u; - MapGLBarriers(barrier, glBarriers, glBarriersByRegion); + MapGLBarriers(barrier.nextAccesses, glBarriers, glBarriersByRegion); GLES3CmdFuncMemoryBarrier((GLES3Device *)_device, glBarriers, glBarriersByRegion); } else { CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 4d1ff97ac7..721c263eb8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -472,7 +472,7 @@ void CCVKDevice::destroy() { CC_SAFE_DESTROY(_context); } -// op-op since we maintain surface size internally +// no-op since we maintain surface size internally void CCVKDevice::resize(uint width, uint height) {} void CCVKDevice::acquire() { From 4d7a2c219a7de7faa838f05cb8a9303c38647ceb Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 15 Jan 2021 10:44:40 +0800 Subject: [PATCH 117/270] storage image support --- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 53 +++++++++++-- .../core/gfx-agent/GFXCommandBufferAgent.h | 2 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 17 +--- .../renderer/core/gfx/GFXCommandBuffer.h | 3 +- native/cocos/renderer/core/gfx/GFXDef.cpp | 2 +- native/cocos/renderer/core/gfx/GFXDef.h | 79 +++++++++++++++++-- native/cocos/renderer/core/gfx/GFXDevice.h | 48 +++-------- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 7 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 22 +++--- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 34 ++++++-- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 2 + .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 17 ++-- .../cocos/renderer/gfx-gles3/CMakeLists.txt | 2 - .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 8 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 59 ++++++++------ .../cocos/renderer/gfx-gles3/GLES3Commands.h | 2 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 40 ++++++---- .../renderer/gfx-gles3/GLES3GPUObjects.h | 8 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 39 ++++++--- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 4 +- .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 17 ++-- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 20 ++--- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 67 +++++++++++++--- .../renderer/gfx-vulkan/VKCommandBuffer.h | 3 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 8 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 35 ++++---- native/cocos/renderer/gfx-vulkan/VKUtils.h | 33 ++++---- .../thsvs_simpler_vulkan_synchronization.h | 6 +- 33 files changed, 414 insertions(+), 233 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 681b1cf74f..cebcfc4070 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -1,7 +1,5 @@ #include "CoreStd.h" -#include "base/job-system/JobSystem.h" -#include "base/threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" #include "GFXDescriptorSetAgent.h" @@ -13,6 +11,8 @@ #include "GFXQueueAgent.h" #include "GFXRenderPassAgent.h" #include "GFXTextureAgent.h" +#include "base/job-system/JobSystem.h" +#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { @@ -393,7 +393,7 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex }); } -void CommandBufferAgent::dispatch(const DispatchInfo& info) { +void CommandBufferAgent::dispatch(const DispatchInfo &info) { DispatchInfo actorInfo = info; if (info.indirectBuffer) actorInfo.indirectBuffer = ((BufferAgent *)info.indirectBuffer)->getActor(); @@ -407,14 +407,53 @@ void CommandBufferAgent::dispatch(const DispatchInfo& info) { }); } -void CommandBufferAgent::pipelineBarrier(const GlobalBarrier& barrier) { - ENQUEUE_MESSAGE_2( +void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { + uint count = 0u; + if (barrier) count += barrier->prevAccessCount + barrier->nextAccessCount; + for (uint b = 0u; b < textureBarrierCount; ++b) { + count += textureBarriers[b].prevAccessCount + textureBarriers[b].nextAccessCount; + } + AccessType *accessTypes = getAllocator()->allocate(count); + + GlobalBarrier *actorBarrier = nullptr; + TextureBarrier *actorTextureBarriers = getAllocator()->allocate(textureBarrierCount); + uint index = 0u; + + if (barrier) { + actorBarrier = getAllocator()->allocate(1); + actorBarrier->prevAccessCount = barrier->prevAccessCount; + actorBarrier->prevAccesses = accessTypes + index; + for (uint i = 0u; i < barrier->prevAccessCount; ++i, ++index) accessTypes[index] = barrier->prevAccesses[i]; + + actorBarrier->nextAccessCount = barrier->nextAccessCount; + actorBarrier->nextAccesses = accessTypes + index; + for (uint i = 0u; i < barrier->nextAccessCount; ++i, ++index) accessTypes[index] = barrier->nextAccesses[i]; + } + + for (uint b = 0u; b < textureBarrierCount; ++b) { + const TextureBarrier &textureBarrier = textureBarriers[b]; + actorTextureBarriers[b] = textureBarrier; + + actorTextureBarriers[b].prevAccesses = accessTypes + index; + for (uint i = 0u; i < textureBarrier.prevAccessCount; ++i, ++index) accessTypes[index] = textureBarrier.prevAccesses[i]; + + actorTextureBarriers[b].nextAccesses = accessTypes + index; + for (uint i = 0u; i < textureBarrier.nextAccessCount; ++i, ++index) accessTypes[index] = textureBarrier.nextAccesses[i]; + + actorTextureBarriers[b].texture = ((TextureAgent *)textureBarrier.texture)->getActor(); + if (textureBarrier.srcQueue) actorTextureBarriers[b].srcQueue = ((QueueAgent *)textureBarrier.srcQueue)->getActor(); + if (textureBarrier.dstQueue) actorTextureBarriers[b].dstQueue = ((QueueAgent *)textureBarrier.dstQueue)->getActor(); + } + + ENQUEUE_MESSAGE_4( _messageQueue, CommandBufferDispatch, actor, getActor(), - barrier, barrier, + barrier, actorBarrier, + textureBarriers, actorTextureBarriers, + textureBarrierCount, textureBarrierCount, { - actor->pipelineBarrier(barrier); + actor->pipelineBarrier(barrier, textureBarriers, textureBarrierCount); }); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index d8ca03fb55..ff59953848 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -41,7 +41,7 @@ public: void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; void dispatch(const DispatchInfo &info) override; - void pipelineBarrier(const GlobalBarrier& barrier) override; + void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } uint getNumInstances() const override { return _actor->getNumInstances(); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 4b6012a008..854c2920ea 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -25,10 +25,6 @@ DeviceAgent::~DeviceAgent() { } bool DeviceAgent::initialize(const DeviceInfo &info) { - _clipSpaceMinZ = _actor->getClipSpaceMinZ(); - _screenSpaceSignY = _actor->getScreenSpaceSignY(); - _UVSpaceSignY = _actor->getUVSpaceSignY(); - _width = info.width; _height = info.height; _nativeWidth = info.nativeWidth; @@ -55,18 +51,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { ((CommandBufferAgent *)_cmdBuff)->_queue = _queue; _renderer = _actor->getRenderer(); _vendor = _actor->getVendor(); - _maxVertexAttributes = _actor->getMaxVertexAttributes(); - _maxVertexUniformVectors = _actor->getMaxVertexUniformVectors(); - _maxFragmentUniformVectors = _actor->getMaxFragmentUniformVectors(); - _maxTextureUnits = _actor->getMaxTextureUnits(); - _maxVertexTextureUnits = _actor->getMaxVertexTextureUnits(); - _maxUniformBufferBindings = _actor->getMaxUniformBufferBindings(); - _maxUniformBlockSize = _actor->getMaxUniformBlockSize(); - _maxTextureSize = _actor->getMaxTextureSize(); - _maxCubeMapTextureSize = _actor->getMaxCubeMapTextureSize(); - _uboOffsetAlignment = _actor->getUboOffsetAlignment(); - _depthBits = _actor->getDepthBits(); - _stencilBits = _actor->getStencilBits(); + _caps = _actor->_caps; memcpy(_features, _actor->_features, (uint)Feature::COUNT * sizeof(bool)); _mainEncoder = CC_NEW(MessageQueue); diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 9258a451a1..b63081b15c 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -35,7 +35,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) = 0; virtual void dispatch(const DispatchInfo &info) = 0; - virtual void pipelineBarrier(const GlobalBarrier& barrier) = 0; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) = 0; CC_INLINE void begin() { begin(nullptr, 0, nullptr); } // secondary command buffer specifics @@ -60,6 +60,7 @@ public: CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } + CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const ImageBarrierList &textureBarriers) { pipelineBarrier(barrier, textureBarriers.data(), textureBarriers.size()); } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); diff --git a/native/cocos/renderer/core/gfx/GFXDef.cpp b/native/cocos/renderer/core/gfx/GFXDef.cpp index 5728d725d6..16c4d08f7f 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.cpp +++ b/native/cocos/renderer/core/gfx/GFXDef.cpp @@ -7,7 +7,7 @@ namespace gfx { const uint DESCRIPTOR_BUFFER_TYPE = (uint)DescriptorType::STORAGE_BUFFER | (uint)DescriptorType::DYNAMIC_STORAGE_BUFFER | (uint)DescriptorType::UNIFORM_BUFFER | (uint)DescriptorType::DYNAMIC_UNIFORM_BUFFER; -const uint DESCRIPTOR_SAMPLER_TYPE = (uint)DescriptorType::SAMPLER; +const uint DESCRIPTOR_SAMPLER_TYPE = (uint)DescriptorType::SAMPLER | (uint)DescriptorType::STORAGE_IMAGE; const uint DESCRIPTOR_DYNAMIC_TYPE = (uint)DescriptorType::DYNAMIC_STORAGE_BUFFER | (uint)DescriptorType::DYNAMIC_UNIFORM_BUFFER; const FormatInfo GFX_FORMAT_INFOS[] = { diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 35262efdf2..1c45502181 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -307,6 +307,14 @@ enum class Type { COUNT, }; +enum class UniformSamplerType { + SAMPLER, + COMBINED_IMAGE_SAMPLER, + SAMPLED_IMAGE, + STORAGE_IMAGE, + INPUT_ATTACHMENT, +}; + enum class BufferUsageBit : FlagBits { NONE = 0, TRANSFER_SRC = 0x1, @@ -599,6 +607,7 @@ enum class DescriptorType : FlagBits { STORAGE_BUFFER = 0x4, DYNAMIC_STORAGE_BUFFER = 0x8, SAMPLER = 0x10, + STORAGE_IMAGE = 0x20, }; enum class QueueType { @@ -636,6 +645,37 @@ enum class VsyncMode { HALF, }; +struct Size { + uint x = 0u; + uint y = 0u; + uint z = 0u; +}; + +struct DeviceCaps { + uint maxVertexAttributes = 0u; + uint maxVertexUniformVectors = 0u; + uint maxFragmentUniformVectors = 0u; + uint maxTextureUnits = 0u; + uint maxImageUnits = 0u; + uint maxVertexTextureUnits = 0u; + uint maxShaderStorageBufferBindings = 0u; + uint maxShaderStorageBlockSize = 0u; + uint maxUniformBufferBindings = 0u; + uint maxUniformBlockSize = 0u; + uint maxTextureSize = 0u; + uint maxCubeMapTextureSize = 0u; + uint uboOffsetAlignment = 0u; + uint depthBits = 0u; + uint stencilBits = 0u; + uint maxComputeSharedMemorySize = 0u; + uint maxComputeWorkGroupInvocations = 0u; + Size maxComputeWorkGroupSize; + Size maxComputeWorkGroupCount; + float clipSpaceMinZ = -1.0f; + float screenSpaceSignY = 1.0f; + float UVSpaceSignY = -1.0f; +}; + struct Offset { int x = 0; int y = 0; @@ -669,16 +709,23 @@ struct Extent { uint depth = 1; }; -struct TextureSubres { +struct TextureSubresLayers { uint mipLevel = 0u; uint baseArrayLayer = 0u; uint layerCount = 1u; }; +struct TextureSubresRange { + uint baseMipLevel = 0u; + uint levelCount = 1u; + uint baseArrayLayer = 0u; + uint layerCount = 1u; +}; + struct TextureCopy { - TextureSubres srcSubres; + TextureSubresLayers srcSubres; Offset srcOffset; - TextureSubres dstSubres; + TextureSubresLayers dstSubres; Offset dstOffset; Extent extent; }; @@ -688,7 +735,7 @@ struct BufferTextureCopy { uint buffTexHeight = 0; Offset texOffset; Extent texExtent; - TextureSubres texSubres; + TextureSubresLayers texSubres; }; typedef cc::vector BufferTextureCopyList; typedef cc::vector BufferDataList; @@ -894,6 +941,7 @@ struct UniformSampler { String name; Type type = Type::UNKNOWN; uint count = 0u; + UniformSamplerType uniformType = UniformSamplerType::COMBINED_IMAGE_SAMPLER; }; typedef cc::vector UniformSamplerList; @@ -982,12 +1030,29 @@ struct RenderPassInfo { }; struct GlobalBarrier { - // using vectors here because there is just too many access types to fit into one integer bits - AccessTypeList prevAccesses; - AccessTypeList nextAccesses; + AccessType *prevAccesses = nullptr; + uint prevAccessCount = 0u; + AccessType *nextAccesses = nullptr; + uint nextAccessCount = 0u; }; typedef cc::vector GlobalBarrierList; +struct TextureBarrier { + AccessType *prevAccesses; + uint prevAccessCount; + AccessType *nextAccesses; + uint nextAccessCount; + + bool isPrevLayoutOptimal = true; + bool isNextLayoutOptimal = true; + bool discardContents = false; + Texture *texture = nullptr; + TextureSubresRange subresRange; + Queue *srcQueue = nullptr; + Queue *dstQueue = nullptr; +}; +typedef cc::vector ImageBarrierList; + typedef cc::vector BufferList; typedef cc::vector TextureList; typedef cc::vector SamplerList; diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index dfeae46f59..2e2504db51 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -69,33 +69,20 @@ public: CC_INLINE void flushCommandsForJS(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), cmdBuffs.size()); } - Format getColorFormat() const; - Format getDepthStencilFormat() const; - CC_INLINE API getGfxAPI() const { return _API; } - CC_INLINE const String &getDeviceName() const { return _deviceName; } CC_INLINE Context *getContext() const { return _context; } CC_INLINE Queue *getQueue() const { return _queue; } CC_INLINE CommandBuffer *getCommandBuffer() const { return _cmdBuff; } + CC_INLINE const DeviceCaps &getCapabilities() const { return _caps; } + CC_INLINE bool hasFeature(Feature feature) const { return _features[static_cast(feature)]; } + CC_INLINE const BindingMappingInfo &bindingMappingInfo() const { return _bindingMappingInfo; } + + CC_INLINE API getGfxAPI() const { return _API; } + CC_INLINE const String &getDeviceName() const { return _deviceName; } CC_INLINE const String &getRenderer() const { return _renderer; } CC_INLINE const String &getVendor() const { return _vendor; } - CC_INLINE int getMaxVertexAttributes() const { return _maxVertexAttributes; } - CC_INLINE int getMaxVertexUniformVectors() const { return _maxVertexUniformVectors; } - CC_INLINE int getMaxFragmentUniformVectors() const { return _maxFragmentUniformVectors; } - CC_INLINE int getMaxTextureUnits() const { return _maxTextureUnits; } - CC_INLINE int getMaxVertexTextureUnits() const { return _maxVertexTextureUnits; } - CC_INLINE int getMaxUniformBufferBindings() const { return _maxUniformBufferBindings; } - CC_INLINE int getMaxUniformBlockSize() const { return _maxUniformBlockSize; } - CC_INLINE int getMaxTextureSize() const { return _maxTextureSize; } - CC_INLINE int getMaxCubeMapTextureSize() const { return _maxCubeMapTextureSize; } - CC_INLINE int getUboOffsetAlignment() const { return _uboOffsetAlignment; } - CC_INLINE int getDepthBits() const { return _depthBits; } - CC_INLINE int getStencilBits() const { return _stencilBits; } - CC_INLINE bool hasFeature(Feature feature) const { return _features[static_cast(feature)]; } - CC_INLINE float getClipSpaceMinZ() const { return _clipSpaceMinZ; } - CC_INLINE float getScreenSpaceSignY() const { return _screenSpaceSignY; } - CC_INLINE float getUVSpaceSignY() const { return _UVSpaceSignY; } - CC_INLINE const BindingMappingInfo &bindingMappingInfo() const { return _bindingMappingInfo; } CC_INLINE uint genShaderId() { return _shaderIdGen++; } + Format getColorFormat() const; + Format getDepthStencilFormat() const; protected: friend class DeviceAgent; @@ -138,26 +125,9 @@ protected: uint _numDrawCalls = 0u; uint _numInstances = 0u; uint _numTriangles = 0u; - uint _maxVertexAttributes = 0u; - uint _maxVertexUniformVectors = 0u; - uint _maxFragmentUniformVectors = 0u; - uint _maxTextureUnits = 0u; - uint _maxVertexTextureUnits = 0u; - uint _maxShaderStorageBufferBindings = 0u; - uint _maxShaderStorageBlockSize = 0u; - uint _maxUniformBufferBindings = 0u; - uint _maxUniformBlockSize = 0u; - uint _maxTextureSize = 0u; - uint _maxCubeMapTextureSize = 0u; - uint _uboOffsetAlignment = 0u; - uint _depthBits = 0u; - uint _stencilBits = 0u; uint _shaderIdGen = 0u; - unordered_map _macros; - float _clipSpaceMinZ = -1.0f; - float _screenSpaceSignY = 1.0f; - float _UVSpaceSignY = -1.0f; BindingMappingInfo _bindingMappingInfo; + DeviceCaps _caps; private: static Device *_instance; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 180743da4b..87eb27294f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -62,7 +62,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override {} - virtual void pipelineBarrier(const GlobalBarrier& barrier) override {} + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override {} protected: void BindStates(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index fbaf707be6..f39ffc0eec 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -973,7 +973,6 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GLchar *logs = (GLchar *)CC_MALLOC(logSize); GL_CHECK(glGetProgramInfoLog(gpuShader->glProgram, logSize, nullptr, logs)); - CC_LOG_ERROR("Failed to link shader '%s'.", gpuShader->name.c_str()); CC_LOG_ERROR(logs); CC_FREE(logs); return; @@ -1126,13 +1125,13 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { if (!texUnitCacheMap.count(sampler.name)) { uint binding = sampler.binding + bindingMappingInfo.samplerOffsets[sampler.set] + arrayOffset; if (sampler.set == bindingMappingInfo.flexibleSet) binding -= flexibleSetBaseOffset; - texUnitCacheMap[sampler.name] = binding % device->getMaxTextureUnits(); + texUnitCacheMap[sampler.name] = binding % device->getCapabilities().maxTextureUnits; arrayOffset += sampler.count - 1; } } if (glActiveSamplers.size()) { - vector usedTexUnits(device->getMaxTextureUnits(), false); + vector usedTexUnits(device->getCapabilities().maxTextureUnits, false); // try to reuse existing mappings first for (uint i = 0u; i < glActiveSamplers.size(); i++) { GLES2GPUUniformSampler &glSampler = glActiveSamplers[i]; @@ -1217,7 +1216,7 @@ void GLES2CmdFuncCreateInputAssembler(GLES2Device *device, GLES2GPUInputAssemble } } - vector streamOffsets(device->getMaxVertexAttributes(), 0u); + vector streamOffsets(device->getCapabilities().maxVertexAttributes, 0u); gpuInputAssembler->glAttribs.resize(gpuInputAssembler->attributes.size()); for (size_t i = 0; i < gpuInputAssembler->glAttribs.size(); ++i) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 71255378ae..32d6ae6756 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -168,18 +168,18 @@ bool GLES2Device::initialize(const DeviceInfo &info) { cmdBuffInfo.queue = _queue; _cmdBuff = createCommandBuffer(cmdBuffInfo); - glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_maxVertexAttributes); - glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_maxVertexUniformVectors); - glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_maxFragmentUniformVectors); - glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, (GLint *)&_maxTextureUnits); - glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, (GLint *)&_maxVertexTextureUnits); - glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&_maxTextureSize); - glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, (GLint *)&_maxCubeMapTextureSize); - glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_depthBits); - glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_stencilBits); - _uboOffsetAlignment = 1u; + glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_caps.maxVertexAttributes); + glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_caps.maxVertexUniformVectors); + glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_caps.maxFragmentUniformVectors); + glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxTextureUnits); + glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxVertexTextureUnits); + glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&_caps.maxTextureSize); + glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, (GLint *)&_caps.maxCubeMapTextureSize); + glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_caps.depthBits); + glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_caps.stencilBits); + _caps.uboOffsetAlignment = 1u; - _gpuStateCache->initialize(_maxTextureUnits, _maxVertexAttributes); + _gpuStateCache->initialize(_caps.maxTextureUnits, _caps.maxVertexAttributes); return true; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 45138c2e0b..1535670d69 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -43,6 +43,23 @@ GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer(Device *device) GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { } +void GLES2PrimaryCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { + _curGPUPipelineState = nullptr; + _curGPUInputAssember = nullptr; + _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); + + _numDrawCalls = 0; + _numInstances = 0; + _numTriangles = 0; +} + +void GLES2PrimaryCommandBuffer::end() { + if (_isStateInvalid) { + BindStates(); + } + _isInRenderPass = false; +} + void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { _isInRenderPass = true; GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); @@ -131,18 +148,21 @@ void GLES2PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe void GLES2PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES2PrimaryCommandBuffer *cmdBuff = (GLES2PrimaryCommandBuffer *)cmdBuffs[i]; - GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + if (!cmdBuff->_pendingPackages.empty()) { + GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + + GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); + } _numDrawCalls += cmdBuff->_numDrawCalls; _numInstances += cmdBuff->_numInstances; _numTriangles += cmdBuff->_numTriangles; - - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); - cmdBuff->_cmdAllocator->clearCmds(cmdPackage); - cmdBuff->_cmdAllocator->reset(); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index 0459102997..d9b03a8354 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -36,6 +36,8 @@ public: GLES2PrimaryCommandBuffer(Device *device); ~GLES2PrimaryCommandBuffer(); + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index 99d2dd6d1d..3a386e543a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -49,18 +49,21 @@ void GLES2Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!_isAsync) { for (uint i = 0; i < count; ++i) { GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; - GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + if (!cmdBuff->_pendingPackages.empty()) { + GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + + GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); + } _numDrawCalls += cmdBuff->_numDrawCalls; _numInstances += cmdBuff->_numInstances; _numTriangles += cmdBuff->_numTriangles; - - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); - cmdBuff->_cmdAllocator->clearCmds(cmdPackage); - cmdBuff->_cmdAllocator->reset(); } } } diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index 4463e204a8..b822d1272c 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -16,8 +16,6 @@ set(INCLUDE_FILES ) if(WIN32) - list(APPEND INCLUDE_FILES ${GFX_EXTERNAL_PATH}/pvrsdk/include) - if(COCOS_CPU_X64) set(PVRSDK_LIB_DIR ${GFX_EXTERNAL_PATH}/pvrsdk/lib/Windows_x86_64) else() diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 6f35cede52..8b8966408b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -80,7 +80,6 @@ void GLES3CommandBuffer::destroy() { } void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { - _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); @@ -88,6 +87,8 @@ void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _numDrawCalls = 0; _numInstances = 0; _numTriangles = 0; + + _cmdAllocator->clearCmds(_curCmdPackage); } void GLES3CommandBuffer::end() { @@ -423,12 +424,13 @@ void GLES3CommandBuffer::dispatch(const DispatchInfo &info) { } } -void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier& barrier) { +void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { + if (!barrier) return; GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); - MapGLBarriers(barrier.nextAccesses, cmd->barriers, cmd->barriersByRegion); + MapGLBarriers(barrier->nextAccesses, barrier->nextAccessCount, cmd->barriers, cmd->barriersByRegion); _curCmdPackage->barrierCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::BARRIER); } else { diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 68ca10aefa..0f4905aab1 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -61,7 +61,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier& barrier) override; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; protected: virtual void BindStates(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 286d7c4bdc..039d489b11 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -600,8 +600,8 @@ const GLenum GLES3_BLEND_FACTORS[] = { }; } // namespace -void MapGLBarriers(const AccessTypeList &list, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { - for (size_t j = 0u; j < list.size(); ++j) { +void MapGLBarriers(const AccessType *list, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { + for (size_t j = 0u; j < count; ++j) { switch (list[j]) { case AccessType::INDIRECT_BUFFER: glBarriers |= GL_COMMAND_BARRIER_BIT; @@ -1158,7 +1158,6 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GLchar *logs = (GLchar *)CC_MALLOC(logSize); GL_CHECK(glGetProgramInfoLog(gpuShader->glProgram, logSize, nullptr, logs)); - CC_LOG_ERROR("Failed to link shader '%s'.", gpuShader->name.c_str()); CC_LOG_ERROR(logs); CC_FREE(logs); return; @@ -1297,6 +1296,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { gpuSampler.name = sampler.name; gpuSampler.type = sampler.type; gpuSampler.count = sampler.count; + gpuSampler.uniformType = sampler.uniformType; gpuSampler.glType = MapGLType(gpuSampler.type); gpuSampler.glLoc = -1; } @@ -1328,26 +1328,28 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { if (!texUnitCacheMap.count(sampler.name)) { uint binding = sampler.binding + bindingMappingInfo.samplerOffsets[sampler.set] + arrayOffset; if (sampler.set == bindingMappingInfo.flexibleSet) binding -= flexibleSetBaseOffset; - texUnitCacheMap[sampler.name] = binding % device->getMaxTextureUnits(); + texUnitCacheMap[sampler.name] = binding % device->getCapabilities().maxTextureUnits; arrayOffset += sampler.count - 1; } } if (glActiveSamplers.size()) { - vector usedTexUnits(device->getMaxTextureUnits(), false); + vector usedTexUnits(device->getCapabilities().maxTextureUnits, false); + vector usedImageUnits(device->getCapabilities().maxImageUnits, false); // try to reuse existing mappings first for (uint i = 0u; i < glActiveSamplers.size(); i++) { GLES3GPUUniformSampler &glSampler = glActiveSamplers[i]; + vector &usedUnits = glSampler.uniformType == UniformSamplerType::STORAGE_IMAGE ? usedImageUnits : usedTexUnits; if (texUnitCacheMap.count(glSampler.name)) { uint cachedUnit = texUnitCacheMap[glSampler.name]; glSampler.glLoc = glActiveSamplerLocations[i]; for (uint t = 0u; t < glSampler.count; t++) { - while (usedTexUnits[cachedUnit]) { - cachedUnit = (cachedUnit + 1) % device->getMaxTextureUnits(); + while (usedUnits[cachedUnit]) { // the shader already compiles so we should be safe to do this here + cachedUnit = (cachedUnit + 1) % device->getCapabilities().maxTextureUnits; } glSampler.units.push_back(cachedUnit); - usedTexUnits[cachedUnit] = true; + usedUnits[cachedUnit] = true; } } } @@ -1355,18 +1357,19 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { uint unitIdx = 0u; for (uint i = 0u; i < glActiveSamplers.size(); i++) { GLES3GPUUniformSampler &glSampler = glActiveSamplers[i]; + vector &usedUnits = glSampler.uniformType == UniformSamplerType::STORAGE_IMAGE ? usedImageUnits : usedTexUnits; if (glSampler.glLoc < 0) { glSampler.glLoc = glActiveSamplerLocations[i]; for (uint t = 0u; t < glSampler.count; t++) { - while (usedTexUnits[unitIdx]) { - unitIdx = (unitIdx + 1) % device->getMaxTextureUnits(); + while (usedUnits[unitIdx]) { + unitIdx = (unitIdx + 1) % device->getCapabilities().maxTextureUnits; } if (!texUnitCacheMap.count(glSampler.name)) { texUnitCacheMap[glSampler.name] = unitIdx; } glSampler.units.push_back(unitIdx); - usedTexUnits[unitIdx] = true; + usedUnits[unitIdx] = true; } } } @@ -1415,7 +1418,7 @@ void GLES3CmdFuncCreateInputAssembler(GLES3Device *device, GLES3GPUInputAssemble } } - vector streamOffsets(device->getMaxVertexAttributes(), 0u); + vector streamOffsets(device->getCapabilities().maxVertexAttributes, 0u); gpuInputAssembler->glAttribs.resize(gpuInputAssembler->attributes.size()); for (size_t i = 0; i < gpuInputAssembler->glAttribs.size(); ++i) { @@ -2024,11 +2027,12 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glSampler.set]; const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSampler.binding); const GLES3GPUDescriptor *gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; + bool isStorage = glSampler.uniformType == UniformSamplerType::STORAGE_IMAGE; for (size_t u = 0; u < glSampler.units.size(); u++, gpuDescriptor++) { uint unit = (uint)glSampler.units[u]; - if (!gpuDescriptor->gpuTexture || !gpuDescriptor->gpuSampler) { + if (!gpuDescriptor->gpuTexture || (!isStorage && !gpuDescriptor->gpuSampler)) { CC_LOG_ERROR("Sampler binding '%s' at set %d binding %d index %d is not bounded", glSampler.name.c_str(), glSampler.set, glSampler.binding, u); continue; @@ -2036,18 +2040,25 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if (gpuDescriptor->gpuTexture->size > 0) { GLuint glTexture = gpuDescriptor->gpuTexture->glTexture; - if (cache->glTextures[unit] != glTexture) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; - } - GL_CHECK(glBindTexture(gpuDescriptor->gpuTexture->glTarget, glTexture)); - cache->glTextures[unit] = glTexture; - } - if (cache->glSamplers[unit] != gpuDescriptor->gpuSampler->glSampler) { - GL_CHECK(glBindSampler(unit, gpuDescriptor->gpuSampler->glSampler)); - cache->glSamplers[unit] = gpuDescriptor->gpuSampler->glSampler; + if (isStorage) { + if (cache->glImages[unit] != glTexture) { + GL_CHECK(glBindImageTexture(unit, glTexture, 0, GL_TRUE, 0, GL_READ_WRITE, gpuDescriptor->gpuTexture->glInternelFmt)); + } + } else { + if (cache->glTextures[unit] != glTexture) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; + } + GL_CHECK(glBindTexture(gpuDescriptor->gpuTexture->glTarget, glTexture)); + cache->glTextures[unit] = glTexture; + } + + if (cache->glSamplers[unit] != gpuDescriptor->gpuSampler->glSampler) { + GL_CHECK(glBindSampler(unit, gpuDescriptor->gpuSampler->glSampler)); + cache->glSamplers[unit] = gpuDescriptor->gpuSampler->glSampler; + } } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index c6b7a27ba9..6f16d3db7b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -270,7 +270,7 @@ public: } }; -CC_GLES3_API void MapGLBarriers(const AccessTypeList &barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); +CC_GLES3_API void MapGLBarriers(const AccessType *barrier, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); CC_GLES3_API void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 18491e6383..dbcf117684 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -159,22 +159,32 @@ bool GLES3Device::initialize(const DeviceInfo &info) { cmdBuffInfo.queue = _queue; _cmdBuff = createCommandBuffer(cmdBuffInfo); - glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_maxVertexAttributes); - glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_maxVertexUniformVectors); - glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_maxFragmentUniformVectors); - glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, (GLint *)&_maxUniformBufferBindings); - glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE, (GLint *)&_maxShaderStorageBlockSize); - glGetIntegerv(GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, (GLint *)&_maxShaderStorageBufferBindings); - glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, (GLint *)&_maxUniformBlockSize); - glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, (GLint *)&_maxTextureUnits); - glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, (GLint *)&_maxVertexTextureUnits); - glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&_maxTextureSize); - glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, (GLint *)&_maxCubeMapTextureSize); - glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, (GLint *)&_uboOffsetAlignment); - glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_depthBits); - glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_stencilBits); + glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_caps.maxVertexAttributes); + glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_caps.maxVertexUniformVectors); + glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_caps.maxFragmentUniformVectors); + glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, (GLint *)&_caps.maxUniformBufferBindings); + glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE, (GLint *)&_caps.maxShaderStorageBlockSize); + glGetIntegerv(GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, (GLint *)&_caps.maxShaderStorageBufferBindings); + glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, (GLint *)&_caps.maxUniformBlockSize); + glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxTextureUnits); + glGetIntegerv(GL_MAX_IMAGE_UNITS, (GLint *)&_caps.maxImageUnits); + glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxVertexTextureUnits); + glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&_caps.maxTextureSize); + glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, (GLint *)&_caps.maxCubeMapTextureSize); + glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, (GLint *)&_caps.uboOffsetAlignment); + glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_caps.depthBits); + glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_caps.stencilBits); + // compute shaders + glGetIntegerv(GL_MAX_COMPUTE_SHARED_MEMORY_SIZE, (GLint *)&_caps.maxComputeSharedMemorySize); + glGetIntegerv(GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS, (GLint *)&_caps.maxComputeWorkGroupInvocations); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 0, (GLint *)&_caps.maxComputeWorkGroupSize.x); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 1, (GLint *)&_caps.maxComputeWorkGroupSize.y); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 2, (GLint *)&_caps.maxComputeWorkGroupSize.z); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 0, (GLint *)&_caps.maxComputeWorkGroupCount.x); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 1, (GLint *)&_caps.maxComputeWorkGroupCount.y); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 2, (GLint *)&_caps.maxComputeWorkGroupCount.z); - _gpuStateCache->initialize(_maxTextureUnits, _maxUniformBufferBindings, _maxShaderStorageBufferBindings, _maxVertexAttributes); + _gpuStateCache->initialize(_caps.maxTextureUnits, _caps.maxTextureUnits, _caps.maxUniformBufferBindings, _caps.maxShaderStorageBufferBindings, _caps.maxVertexAttributes); return true; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index c0f1fe8db9..9b80a15ea0 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -134,6 +134,7 @@ struct GLES3GPUUniformSampler final { String name; Type type = Type::UNKNOWN; uint count = 0u; + UniformSamplerType uniformType = UniformSamplerType::COMBINED_IMAGE_SAMPLER; vector units; GLenum glType = 0; @@ -273,7 +274,7 @@ struct GLES3ObjectCache final { GLES3GPUFramebuffer *gpuFramebuffer = nullptr; GLES3GPUPipelineState *gpuPipelineState = nullptr; GLES3GPUInputAssembler *gpuInputAssembler = nullptr; - bool reverseCW = false; + uint reverseCW = 0u; GLenum glPrimitive = 0; GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; }; @@ -292,6 +293,7 @@ public: GLuint glVAO = 0; uint texUint = 0; vector glTextures; + vector glImages; vector glSamplers; GLuint glProgram = 0; vector glEnabledAttribLocs; @@ -308,13 +310,14 @@ public: map texUnitCacheMap; GLES3ObjectCache gfxStateCache; - void initialize(size_t texUnits, size_t uboBindings, size_t ssboBindings, size_t vertexAttributes) { + void initialize(size_t texUnits, size_t imageUnits, size_t uboBindings, size_t ssboBindings, size_t vertexAttributes) { glBindUBOs.resize(uboBindings, 0u); glBindUBOOffsets.resize(uboBindings, 0u); glBindSSBOs.resize(ssboBindings, 0u); glBindSSBOOffsets.resize(ssboBindings, 0u); glTextures.resize(texUnits, 0u); glSamplers.resize(texUnits, 0u); + glImages.resize(imageUnits, 0u); glEnabledAttribLocs.resize(vertexAttributes, false); glCurrentAttribLocs.resize(vertexAttributes, false); } @@ -332,6 +335,7 @@ public: glVAO = 0; texUint = 0; glTextures.assign(glTextures.size(), 0u); + glImages.assign(glImages.size(), 0u); glSamplers.assign(glSamplers.size(), 0u); glProgram = 0; glEnabledAttribLocs.assign(glEnabledAttribLocs.size(), 0u); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 2aa91dc457..0d961fe461 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -43,6 +43,23 @@ GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer(Device *device) GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { } +void GLES3PrimaryCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { + _curGPUPipelineState = nullptr; + _curGPUInputAssember = nullptr; + _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); + + _numDrawCalls = 0; + _numInstances = 0; + _numTriangles = 0; +} + +void GLES3PrimaryCommandBuffer::end() { + if (_isStateInvalid) { + BindStates(); + } + _isInRenderPass = false; +} + void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { _isInRenderPass = true; GLES3GPURenderPass *gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); @@ -120,18 +137,21 @@ void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES3PrimaryCommandBuffer *cmdBuff = (GLES3PrimaryCommandBuffer *)cmdBuffs[i]; - GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + if (!cmdBuff->_pendingPackages.empty()) { + GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + + GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); + } _numDrawCalls += cmdBuff->_numDrawCalls; _numInstances += cmdBuff->_numInstances; _numTriangles += cmdBuff->_numTriangles; - - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); - cmdBuff->_cmdAllocator->clearCmds(cmdPackage); - cmdBuff->_cmdAllocator->reset(); } } @@ -173,13 +193,14 @@ void GLES3PrimaryCommandBuffer::dispatch(const DispatchInfo &info) { } } -void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier& barrier) { +void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { + if (!barrier) return; GLbitfield glBarriers = 0u; GLbitfield glBarriersByRegion = 0u; - MapGLBarriers(barrier.nextAccesses, glBarriers, glBarriersByRegion); + MapGLBarriers(barrier->nextAccesses, barrier->nextAccessCount, glBarriers, glBarriersByRegion); GLES3CmdFuncMemoryBarrier((GLES3Device *)_device, glBarriers, glBarriersByRegion); } else { CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 4af60bd7aa..020c4c33d8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -36,6 +36,8 @@ public: GLES3PrimaryCommandBuffer(Device *device); ~GLES3PrimaryCommandBuffer(); + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + virtual void end() override; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; @@ -43,7 +45,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier& barrier) override; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; protected: virtual void BindStates(); }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index c94bd3eb9c..fa9cf741aa 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -49,18 +49,21 @@ void GLES3Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!_isAsync) { for (uint i = 0; i < count; ++i) { GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; - GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + if (!cmdBuff->_pendingPackages.empty()) { + GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + + GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); + } _numDrawCalls += cmdBuff->_numDrawCalls; _numInstances += cmdBuff->_numInstances; _numTriangles += cmdBuff->_numTriangles; - - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); - cmdBuff->_cmdAllocator->clearCmds(cmdPackage); - cmdBuff->_cmdAllocator->reset(); } } } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 366d985580..e4365c8d75 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -69,7 +69,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier& barrier) override; + virtual void pipelineBarrier(const GlobalBarrier& barrier, const ImageBarrierList &imageBarriers) override; CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index be6ab13743..fea464f0e1 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -526,7 +526,7 @@ void CCMTLCommandBuffer::bindDescriptorSets() { void CCMTLCommandBuffer::dispatch(const DispatchInfo &info) { } -void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier& barrier) { +void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier& barrier, const ImageBarrierList &imageBarriers) { } } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index d0850d9f48..16bd776a9d 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -53,9 +53,9 @@ namespace cc { namespace gfx { CCMTLDevice::CCMTLDevice() { - _clipSpaceMinZ = 0.0f; - _screenSpaceSignY = 1.0f; - _UVSpaceSignY = 1.0f; + _caps.clipSpaceMinZ = 0.0f; + _caps.screenSpaceSignY = 1.0f; + _caps.UVSpaceSignY = 1.0f; } bool CCMTLDevice::initialize(const DeviceInfo &info) { @@ -92,13 +92,13 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _mtlFeatureSet = mu::highestSupportedFeatureSet(mtlDevice); const auto gpuFamily = mu::getGPUFamily(MTLFeatureSet(_mtlFeatureSet)); _indirectDrawSupported = mu::isIndirectDrawSupported(gpuFamily); - _maxVertexAttributes = mu::getMaxVertexAttributes(gpuFamily); - _maxTextureUnits = _maxVertexTextureUnits = mu::getMaxEntriesInTextureArgumentTable(gpuFamily); - _maxSamplerUnits = mu::getMaxEntriesInSamplerStateArgumentTable(gpuFamily); - _maxTextureSize = mu::getMaxTexture2DWidthHeight(gpuFamily); - _maxCubeMapTextureSize = mu::getMaxCubeMapTextureWidthHeight(gpuFamily); - _maxColorRenderTargets = mu::getMaxColorRenderTarget(gpuFamily); - _maxBufferBindingIndex = mu::getMaxEntriesInBufferArgumentTable(gpuFamily); + _caps.maxVertexAttributes = mu::getMaxVertexAttributes(gpuFamily); + _caps.maxTextureUnits = _caps.maxVertexTextureUnits = mu::getMaxEntriesInTextureArgumentTable(gpuFamily); + _caps.maxSamplerUnits = mu::getMaxEntriesInSamplerStateArgumentTable(gpuFamily); + _caps.maxTextureSize = mu::getMaxTexture2DWidthHeight(gpuFamily); + _caps.maxCubeMapTextureSize = mu::getMaxCubeMapTextureWidthHeight(gpuFamily); + _caps.maxColorRenderTargets = mu::getMaxColorRenderTarget(gpuFamily); + _caps.maxBufferBindingIndex = mu::getMaxEntriesInBufferArgumentTable(gpuFamily); _uboOffsetAlignment = mu::getMinBufferOffsetAlignment(gpuFamily); _icbSuppored = mu::isIndirectCommandBufferSupported(MTLFeatureSet(_mtlFeatureSet)); _isSamplerDescriptorCompareFunctionSupported = mu::isSamplerDescriptorCompareFunctionSupported(gpuFamily); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index fbd9f6de4a..c3f48c4f45 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -479,20 +479,63 @@ void CCVKCommandBuffer::dispatch(const DispatchInfo &info) { } } -void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier &barrier) { - uint prevCount = barrier.prevAccesses.size(); - uint nextCount = barrier.nextAccesses.size(); - _accessTypes.resize(prevCount + nextCount); - - for (uint i = 0u; i < prevCount; ++i) _accessTypes[i] = THSVS_ACCESS_TYPES[(uint)barrier.prevAccesses[i]]; - for (uint i = 0u; i < nextCount; ++i) _accessTypes[i + prevCount] = THSVS_ACCESS_TYPES[(uint)barrier.nextAccesses[i]]; +void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { + uint count = 0u; + if (barrier) count += barrier->prevAccessCount + barrier->nextAccessCount; + for (uint b = 0u; b < textureBarrierCount; ++b) { + count += textureBarriers[b].prevAccessCount + textureBarriers[b].nextAccessCount; + } + _accessTypes.resize(count); ThsvsGlobalBarrier vkBarrier; - vkBarrier.prevAccessCount = barrier.prevAccesses.size(); - vkBarrier.pPrevAccesses = _accessTypes.data(); - vkBarrier.nextAccessCount = barrier.nextAccesses.size(); - vkBarrier.pNextAccesses = _accessTypes.data() + prevCount; - thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, &vkBarrier, 0, nullptr, 0, nullptr); + _textureBarriers.resize(textureBarrierCount); + uint index = 0u; + + if (barrier) { + vkBarrier.prevAccessCount = barrier->prevAccessCount; + vkBarrier.pPrevAccesses = _accessTypes.data() + index; + for (uint i = 0u; i < barrier->prevAccessCount; ++i, ++index) { + _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)barrier->prevAccesses[i]]; + } + + vkBarrier.nextAccessCount = barrier->nextAccessCount; + vkBarrier.pNextAccesses = _accessTypes.data() + index; + for (uint i = 0u; i < barrier->nextAccessCount; ++i, ++index) { + _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)barrier->nextAccesses[i]]; + } + } + + for (uint b = 0u; b < textureBarrierCount; ++b) { + const TextureBarrier &textureBarrier = textureBarriers[b]; + + _textureBarriers[b].prevAccessCount = textureBarrier.prevAccessCount; + _textureBarriers[b].pPrevAccesses = _accessTypes.data() + index; + for (uint i = 0u; i < textureBarrier.prevAccessCount; ++i, ++index) { + _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.prevAccesses[i]]; + } + + _textureBarriers[b].nextAccessCount = textureBarrier.nextAccessCount; + _textureBarriers[b].pNextAccesses = _accessTypes.data() + index; + for (uint i = 0u; i < textureBarrier.nextAccessCount; ++i, ++index) { + _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.nextAccesses[i]]; + } + + _textureBarriers[b].prevLayout = textureBarrier.isPrevLayoutOptimal ? THSVS_IMAGE_LAYOUT_OPTIMAL : THSVS_IMAGE_LAYOUT_GENERAL; + _textureBarriers[b].nextLayout = textureBarrier.isNextLayoutOptimal ? THSVS_IMAGE_LAYOUT_OPTIMAL : THSVS_IMAGE_LAYOUT_GENERAL; + _textureBarriers[b].discardContents = textureBarrier.discardContents; + _textureBarriers[b].srcQueueFamilyIndex = textureBarrier.srcQueue ? ((CCVKQueue *)textureBarrier.srcQueue)->gpuQueue()->queueFamilyIndex : VK_QUEUE_FAMILY_IGNORED; + _textureBarriers[b].dstQueueFamilyIndex = textureBarrier.dstQueue ? ((CCVKQueue *)textureBarrier.dstQueue)->gpuQueue()->queueFamilyIndex : VK_QUEUE_FAMILY_IGNORED; + + const CCVKGPUTexture *gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); + _textureBarriers[b].image = gpuTexture->vkImage; + _textureBarriers[b].subresourceRange.aspectMask = gpuTexture->aspectMask; + _textureBarriers[b].subresourceRange.baseMipLevel = textureBarrier.subresRange.baseMipLevel; + _textureBarriers[b].subresourceRange.levelCount = textureBarrier.subresRange.levelCount; + _textureBarriers[b].subresourceRange.baseArrayLayer = textureBarrier.subresRange.baseArrayLayer; + _textureBarriers[b].subresourceRange.layerCount = textureBarrier.subresRange.layerCount; + } + + thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, barrier ? &vkBarrier : nullptr, 0, nullptr, textureBarrierCount, _textureBarriers.data()); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 166524c8c9..291b23c43a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -60,7 +60,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier& barrier) override; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; CCVKGPUCommandBuffer *gpuCommandBuffer() const { return _gpuCommandBuffer; } @@ -90,6 +90,7 @@ private: CCVKStencilCompareMask _curStencilCompareMask; vector _accessTypes; + vector _textureBarriers; vector _vkCommandBuffers; queue _pendingQueue; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index dd279bfc2a..94373d50f3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -227,8 +227,8 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende gpuRenderPass->clearValues.resize(colorAttachmentCount + hasDepth); for (size_t i = 0u; i < colorAttachmentCount; i++) { const ColorAttachment &attachment = gpuRenderPass->colorAttachments[i]; - const VkImageLayout beginLayout = MapVkImageLayout(attachment.beginLayout); - const VkImageLayout endLayout = MapVkImageLayout(attachment.endLayout); + const VkImageLayout beginLayout = VK_IMAGE_LAYOUTS[(uint)attachment.beginLayout]; + const VkImageLayout endLayout = VK_IMAGE_LAYOUTS[(uint)attachment.endLayout]; const VkAccessFlags beginAccessMask = MapVkAccessFlags(attachment.beginLayout); const VkAccessFlags endAccessMask = MapVkAccessFlags(attachment.endLayout); attachmentDescriptions[i].format = MapVkFormat(attachment.format); @@ -242,8 +242,8 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende } if (hasDepth) { const DepthStencilAttachment &depthStencilAttachment = gpuRenderPass->depthStencilAttachment; - const VkImageLayout beginLayout = MapVkImageLayout(depthStencilAttachment.beginLayout); - const VkImageLayout endLayout = MapVkImageLayout(depthStencilAttachment.endLayout); + const VkImageLayout beginLayout = VK_IMAGE_LAYOUTS[(uint)depthStencilAttachment.beginLayout]; + const VkImageLayout endLayout = VK_IMAGE_LAYOUTS[(uint)depthStencilAttachment.endLayout]; const VkAccessFlags beginAccessMask = MapVkAccessFlags(depthStencilAttachment.beginLayout); const VkAccessFlags endAccessMask = MapVkAccessFlags(depthStencilAttachment.endLayout); const bool hasStencil = GFX_FORMAT_INFOS[(uint)depthStencilAttachment.format].hasStencil; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 579a374d50..85a080a15d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -86,7 +86,7 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { } else if ((uint)binding.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; - instance.descriptorInfos[k].image.imageLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; + instance.descriptorInfos[k].image.imageLayout = binding.descriptorType == DescriptorType::STORAGE_IMAGE ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; } } } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 721c263eb8..7f64b59900 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -34,9 +34,9 @@ namespace gfx { //#define DISABLE_PRE_TRANSFORM CCVKDevice::CCVKDevice() { - _clipSpaceMinZ = 0.0f; - _screenSpaceSignY = -1.0f; - _UVSpaceSignY = 1.0f; + _caps.clipSpaceMinZ = 0.0f; + _caps.screenSpaceSignY = -1.0f; + _caps.UVSpaceSignY = 1.0f; } CCVKDevice::~CCVKDevice() { @@ -242,17 +242,24 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { } const VkPhysicalDeviceLimits &limits = gpuContext->physicalDeviceProperties.limits; - _maxVertexAttributes = limits.maxVertexInputAttributes; - _maxVertexUniformVectors = limits.maxPerStageDescriptorUniformBuffers; - _maxFragmentUniformVectors = limits.maxPerStageDescriptorUniformBuffers; - _maxUniformBufferBindings = limits.maxDescriptorSetUniformBuffers; - _maxUniformBlockSize = limits.maxUniformBufferRange; - _maxTextureUnits = limits.maxDescriptorSetSampledImages; - _maxVertexTextureUnits = limits.maxPerStageDescriptorSampledImages; - _maxTextureSize = limits.maxImageDimension2D; - _maxCubeMapTextureSize = limits.maxImageDimensionCube; - _uboOffsetAlignment = (uint)limits.minUniformBufferOffsetAlignment; - MapDepthStencilBits(_context->getDepthStencilFormat(), _depthBits, _stencilBits); + _caps.maxVertexAttributes = limits.maxVertexInputAttributes; + _caps.maxVertexUniformVectors = limits.maxPerStageDescriptorUniformBuffers; + _caps.maxFragmentUniformVectors = limits.maxPerStageDescriptorUniformBuffers; + _caps.maxUniformBufferBindings = limits.maxDescriptorSetUniformBuffers; + _caps.maxUniformBlockSize = limits.maxUniformBufferRange; + _caps.maxShaderStorageBlockSize = limits.maxStorageBufferRange; + _caps.maxShaderStorageBufferBindings = limits.maxDescriptorSetStorageBuffers; + _caps.maxTextureUnits = limits.maxDescriptorSetSampledImages; + _caps.maxVertexTextureUnits = limits.maxPerStageDescriptorSampledImages; + _caps.maxTextureSize = limits.maxImageDimension2D; + _caps.maxCubeMapTextureSize = limits.maxImageDimensionCube; + _caps.uboOffsetAlignment = (uint)limits.minUniformBufferOffsetAlignment; + // compute shaders + _caps.maxComputeSharedMemorySize = limits.maxComputeSharedMemorySize; + _caps.maxComputeWorkGroupInvocations = limits.maxComputeWorkGroupInvocations; + _caps.maxComputeWorkGroupCount = {limits.maxComputeWorkGroupCount[0], limits.maxComputeWorkGroupCount[1], limits.maxComputeWorkGroupCount[2]}; + _caps.maxComputeWorkGroupSize = {limits.maxComputeWorkGroupSize[0], limits.maxComputeWorkGroupSize[1], limits.maxComputeWorkGroupSize[2]}; + MapDepthStencilBits(_context->getDepthStencilFormat(), _caps.depthBits, _caps.stencilBits); ///////////////////// Resource Initialization ///////////////////// diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 8fa544c246..babede4308 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -210,25 +210,6 @@ VkAttachmentStoreOp MapVkStoreOp(StoreOp storeOp) { } } -VkImageLayout MapVkImageLayout(TextureLayout layout) { - switch (layout) { - case TextureLayout::UNDEFINED: return VK_IMAGE_LAYOUT_UNDEFINED; - case TextureLayout::GENERAL: return VK_IMAGE_LAYOUT_GENERAL; - case TextureLayout::COLOR_ATTACHMENT_OPTIMAL: return VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; - case TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL: return VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; - case TextureLayout::DEPTH_STENCIL_READONLY_OPTIMAL: return VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL; - case TextureLayout::SHADER_READONLY_OPTIMAL: return VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; - case TextureLayout::TRANSFER_SRC_OPTIMAL: return VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; - case TextureLayout::TRANSFER_DST_OPTIMAL: return VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; - case TextureLayout::PREINITIALIZED: return VK_IMAGE_LAYOUT_PREINITIALIZED; - case TextureLayout::PRESENT_SRC: return VK_IMAGE_LAYOUT_PRESENT_SRC_KHR; - default: { - CCASSERT(false, "Unsupported TextureLayout, convert to VkImageLayout failed."); - return VK_IMAGE_LAYOUT_GENERAL; - } - } -} - VkAccessFlags MapVkAccessFlags(TextureLayout layout) { switch (layout) { case TextureLayout::UNDEFINED: return 0; @@ -448,6 +429,7 @@ VkDescriptorType MapVkDescriptorType(DescriptorType type) { case DescriptorType::DYNAMIC_STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; case DescriptorType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; case DescriptorType::SAMPLER: return VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; + case DescriptorType::STORAGE_IMAGE: return VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; default: { CCASSERT(false, "Unsupported DescriptorType, convert to VkDescriptorType failed."); return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; @@ -695,6 +677,19 @@ const ThsvsAccessType THSVS_ACCESS_TYPES[] = { THSVS_ACCESS_HOST_WRITE, // HOST_WRITE }; +const VkImageLayout VK_IMAGE_LAYOUTS[] = { + VK_IMAGE_LAYOUT_UNDEFINED, // UNDEFINED + VK_IMAGE_LAYOUT_GENERAL, // GENERAL + VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, // COLOR_ATTACHMENT_OPTIMAL + VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, // DEPTH_STENCIL_ATTACHMENT_OPTIMAL + VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, // DEPTH_STENCIL_READONLY_OPTIMAL + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, // SHADER_READONLY_OPTIMAL + VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, // TRANSFER_SRC_OPTIMAL + VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, // TRANSFER_DST_OPTIMAL + VK_IMAGE_LAYOUT_PREINITIALIZED, // PREINITIALIZED + VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, // PRESENT_SRC +}; + void fullPipelineBarrier(VkCommandBuffer cmdBuff) { #if CC_DEBUG > 0 VkMemoryBarrier memoryBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; diff --git a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h index bfd598434d..36badaad36 100644 --- a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h +++ b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h @@ -1056,7 +1056,8 @@ void thsvsGetVulkanImageMemoryBarrier( } #ifdef THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER - assert(pVkBarrier->srcQueueFamilyIndex != pVkBarrier->dstQueueFamilyIndex); + assert(pVkBarrier->srcQueueFamilyIndex != pVkBarrier->dstQueueFamilyIndex || + pVkBarrier->srcQueueFamilyIndex == VK_QUEUE_FAMILY_IGNORED); #endif } @@ -1108,8 +1109,7 @@ void thsvsGetVulkanImageMemoryBarrier( } #ifdef THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER - assert(pVkBarrier->newLayout != pVkBarrier->oldLayout || - pVkBarrier->srcQueueFamilyIndex != pVkBarrier->dstQueueFamilyIndex); + assert(pVkBarrier->newLayout != pVkBarrier->oldLayout); #endif // Ensure that the stage masks are valid if no stages were determined From e9efebaa79a9d57c8e0c9c2944e568155de29c6a Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sat, 16 Jan 2021 10:27:04 +0800 Subject: [PATCH 118/270] blit image support --- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 27 +++- .../core/gfx-agent/GFXCommandBufferAgent.h | 1 + .../renderer/core/gfx/GFXCommandBuffer.h | 4 + native/cocos/renderer/core/gfx/GFXDef.h | 25 +++- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 3 + .../renderer/gfx-gles2/GLES2CommandBuffer.h | 1 + .../renderer/gfx-gles2/GLES2Commands.cpp | 2 +- .../renderer/gfx-gles2/GLES2GPUObjects.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 35 ++++- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 1 + .../renderer/gfx-gles3/GLES3Commands.cpp | 138 +++++++++++++----- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 26 ++++ .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 2 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 2 + native/cocos/renderer/gfx-gles3/GLES3Device.h | 3 + .../renderer/gfx-gles3/GLES3GPUObjects.h | 69 ++++++++- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 15 ++ .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 4 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 5 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 5 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 12 +- .../renderer/gfx-metal/MTLPipelineState.mm | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 71 ++++++++- .../renderer/gfx-vulkan/VKCommandBuffer.h | 4 + native/cocos/renderer/gfx-vulkan/VKUtils.h | 5 + 25 files changed, 395 insertions(+), 69 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index cebcfc4070..d3261b2a5d 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -393,6 +393,29 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex }); } +void CommandBufferAgent::blitTexture(Texture* srcTexture, Texture* dstTexture, const TextureBlit* regions, uint count, Filter filter) { + Texture *actorSrcTexture = nullptr; + Texture *actorDstTexture = nullptr; + if (srcTexture) actorSrcTexture = ((TextureAgent *)srcTexture)->getActor(); + if (dstTexture) actorDstTexture = ((TextureAgent *)dstTexture)->getActor(); + + TextureBlit *actorRegions = getAllocator()->allocate(count); + memcpy(actorRegions, regions, count * sizeof(TextureBlit)); + + ENQUEUE_MESSAGE_6( + _messageQueue, + CommandBufferBlitTexture, + actor, getActor(), + srcTexture, actorSrcTexture, + dstTexture, actorDstTexture, + regions, actorRegions, + count, count, + filter, filter, + { + actor->blitTexture(srcTexture, dstTexture, regions, count, filter); + }); +} + void CommandBufferAgent::dispatch(const DispatchInfo &info) { DispatchInfo actorInfo = info; if (info.indirectBuffer) actorInfo.indirectBuffer = ((BufferAgent *)info.indirectBuffer)->getActor(); @@ -440,14 +463,14 @@ void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const Tex actorTextureBarriers[b].nextAccesses = accessTypes + index; for (uint i = 0u; i < textureBarrier.nextAccessCount; ++i, ++index) accessTypes[index] = textureBarrier.nextAccesses[i]; - actorTextureBarriers[b].texture = ((TextureAgent *)textureBarrier.texture)->getActor(); + if (textureBarrier.texture) actorTextureBarriers[b].texture = ((TextureAgent *)textureBarrier.texture)->getActor(); if (textureBarrier.srcQueue) actorTextureBarriers[b].srcQueue = ((QueueAgent *)textureBarrier.srcQueue)->getActor(); if (textureBarrier.dstQueue) actorTextureBarriers[b].dstQueue = ((QueueAgent *)textureBarrier.dstQueue)->getActor(); } ENQUEUE_MESSAGE_4( _messageQueue, - CommandBufferDispatch, + CommandBufferPipelineBarrier, actor, getActor(), barrier, actorBarrier, textureBarriers, actorTextureBarriers, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index ff59953848..2c5a57c2e5 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -39,6 +39,7 @@ public: void draw(InputAssembler *ia) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; void dispatch(const DispatchInfo &info) override; void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index b63081b15c..f3c6691890 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -33,6 +33,7 @@ public: virtual void draw(InputAssembler *ia) = 0; virtual void updateBuffer(Buffer *buff, const void *data, uint size) = 0; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; + virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) = 0; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) = 0; virtual void dispatch(const DispatchInfo &info) = 0; virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) = 0; @@ -60,6 +61,9 @@ public: CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } + CC_INLINE void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter) { + blitTexture(srcTexture, dstTexture, regions.data(), regions.size(), filter); + } CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const ImageBarrierList &textureBarriers) { pipelineBarrier(barrier, textureBarriers.data(), textureBarriers.size()); } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 1c45502181..2ee934893a 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -538,6 +538,12 @@ enum class AccessType { typedef cc::vector AccessTypeList; +// for texture barriers the exact layout can be inferred from access types +enum class TextureBarrierLayout { + OPTIMAL, + GENERAL, +}; + enum class PipelineBindPoint { GRAPHICS, COMPUTE, @@ -591,6 +597,7 @@ enum class DynamicStateFlagBit : FlagBits { STENCIL_COMPARE_MASK = 0x80, }; typedef DynamicStateFlagBit DynamicStateFlags; +CC_ENUM_OPERATORS(DynamicStateFlagBit); typedef cc::vector DynamicStateList; @@ -609,6 +616,7 @@ enum class DescriptorType : FlagBits { SAMPLER = 0x10, STORAGE_IMAGE = 0x20, }; +CC_ENUM_OPERATORS(DescriptorType); enum class QueueType { GRAPHICS, @@ -630,7 +638,7 @@ enum class ClearFlagBit : FlagBits { ALL = COLOR | DEPTH | STENCIL, }; typedef ClearFlagBit ClearFlags; -CC_ENUM_OPERATORS(ClearFlags); +CC_ENUM_OPERATORS(ClearFlagBit); enum class VsyncMode { // The application does not synchronizes with the vertical sync. If application renders faster than the display refreshes, frames are wasted and tearing may be observed. FPS is uncapped. Maximum power consumption. If unsupported, "ON" value will be used instead. Minimum latency. @@ -730,6 +738,16 @@ struct TextureCopy { Extent extent; }; +struct TextureBlit { + TextureSubresLayers srcSubres; + Offset srcOffset; + Extent srcExtent; + TextureSubresLayers dstSubres; + Offset dstOffset; + Extent dstExtent; +}; +typedef cc::vector TextureBlitList; + struct BufferTextureCopy { uint buffStride = 0; uint buffTexHeight = 0; @@ -1043,11 +1061,12 @@ struct TextureBarrier { AccessType *nextAccesses; uint nextAccessCount; - bool isPrevLayoutOptimal = true; - bool isNextLayoutOptimal = true; + TextureBarrierLayout prevLayout = TextureBarrierLayout::OPTIMAL; + TextureBarrierLayout nextLayout = TextureBarrierLayout::OPTIMAL; bool discardContents = false; Texture *texture = nullptr; TextureSubresRange subresRange; + Queue *srcQueue = nullptr; Queue *dstQueue = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index aed7652e9c..5356f24e08 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -312,6 +312,9 @@ void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex } } +void GLES2CommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { +} + void GLES2CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { CCASSERT(false, "Command 'execute' must be recorded in primary command buffers."); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 87eb27294f..7cc1be270f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -60,6 +60,7 @@ public: virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override {} virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override {} diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index f39ffc0eec..7e66698ae5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1104,7 +1104,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { vector glActiveSamplers; vector glActiveSamplerLocations; const BindingMappingInfo &bindingMappingInfo = device->bindingMappingInfo(); - map &texUnitCacheMap = device->stateCache()->texUnitCacheMap; + unordered_map &texUnitCacheMap = device->stateCache()->texUnitCacheMap; uint flexibleSetBaseOffset = 0u; for (uint i = 0u; i < gpuShader->blocks.size(); i++) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index da5c395f8a..17187c2d66 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -321,7 +321,7 @@ public: BlendState bs; bool isCullFaceEnabled = true; bool isStencilTestEnabled = false; - map texUnitCacheMap; + unordered_map texUnitCacheMap; GLES2ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t vertexAttributes) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 8b8966408b..1cc2049c8c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -299,6 +299,24 @@ void GLES3CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) } } +void GLES3CommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { + if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || + (_type == CommandBufferType::SECONDARY)) { + + GLES3CmdBlitTexture *cmd = _cmdAllocator->blitTextureCmdPool.alloc(); + if (srcTexture) cmd->gpuTextureSrc = ((GLES3Texture *)srcTexture)->gpuTexture(); + if (dstTexture) cmd->gpuTextureDst = ((GLES3Texture *)dstTexture)->gpuTexture(); + cmd->regions = regions; + cmd->count = count; + cmd->filter = filter; + + _curCmdPackage->blitTextureCmds.push(cmd); + _curCmdPackage->cmds.push(GLES3CmdType::BLIT_TEXTURE); + } else { + CC_LOG_ERROR("Command 'blitTexture' must be recorded outside a render pass."); + } +} + void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { @@ -342,6 +360,16 @@ void GLES3CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) ++cmd->refCount; _curCmdPackage->drawCmds.push(cmd); } + for (uint j = 0; j < cmdPackage->dispatchCmds.size(); ++j) { + GLES3CmdDispatch *cmd = cmdPackage->dispatchCmds[j]; + ++cmd->refCount; + _curCmdPackage->dispatchCmds.push(cmd); + } + for (uint j = 0; j < cmdPackage->barrierCmds.size(); ++j) { + GLES3CmdBarrier *cmd = cmdPackage->barrierCmds[j]; + ++cmd->refCount; + _curCmdPackage->barrierCmds.push(cmd); + } for (uint j = 0; j < cmdPackage->updateBufferCmds.size(); ++j) { GLES3CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[j]; ++cmd->refCount; @@ -352,6 +380,11 @@ void GLES3CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) ++cmd->refCount; _curCmdPackage->copyBufferToTextureCmds.push(cmd); } + for (uint j = 0; j < cmdPackage->blitTextureCmds.size(); ++j) { + GLES3CmdBlitTexture *cmd = cmdPackage->blitTextureCmds[j]; + ++cmd->refCount; + _curCmdPackage->blitTextureCmds.push(cmd); + } _curCmdPackage->cmds.concat(cmdPackage->cmds); _numDrawCalls += cmdBuff->_numDrawCalls; @@ -363,7 +396,7 @@ void GLES3CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) // current cmd allocator strategy will not work here: (but it doesn't matter anyways) // allocators are designed to only free the cmds they allocated - // but here we are essentially ��transfering' the owner ship + // but here we are essentially 'transfering' the owner ship //cmdBuff->_cmdAllocator->clearCmds(cmdPackage); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 0f4905aab1..4badc95f45 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -59,6 +59,7 @@ public: virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 039d489b11..ee952c6883 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -598,6 +598,13 @@ const GLenum GLES3_BLEND_FACTORS[] = { GL_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_ALPHA, }; + +const GLenum GLES3_FILTERS[] = { + GL_NONE, + GL_NEAREST, + GL_LINEAR, + GL_NONE, +}; } // namespace void MapGLBarriers(const AccessType *list, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { @@ -944,6 +951,8 @@ void GLES3CmdFuncDestroyTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture glTexture = 0; } } + device->framebufferCacheMap()->onTextureDestroy(gpuTexture); + GL_CHECK(glDeleteTextures(1, &gpuTexture->glTexture)); gpuTexture->glTexture = 0; } @@ -1306,11 +1315,11 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { vector glActiveSamplers; vector glActiveSamplerLocations; const BindingMappingInfo &bindingMappingInfo = device->bindingMappingInfo(); - map &texUnitCacheMap = device->stateCache()->texUnitCacheMap; + unordered_map &texUnitCacheMap = device->stateCache()->texUnitCacheMap; uint flexibleSetBaseOffset = 0u; - for (uint i = 0u; i < gpuShader->blocks.size(); i++) { - if (gpuShader->blocks[i].set == bindingMappingInfo.flexibleSet) { + for (UniformBlock &block : gpuShader->blocks) { + if (block.set == bindingMappingInfo.flexibleSet) { flexibleSetBaseOffset++; } } @@ -1319,13 +1328,14 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { for (uint i = 0u; i < gpuShader->samplers.size(); i++) { const UniformSampler &sampler = gpuShader->samplers[i]; - GLint glLoc; + GLint glLoc = 0; GL_CHECK(glLoc = glGetUniformLocation(gpuShader->glProgram, sampler.name.c_str())); if (glLoc >= 0) { glActiveSamplers.push_back(gpuShader->glSamplers[i]); glActiveSamplerLocations.push_back(glLoc); } - if (!texUnitCacheMap.count(sampler.name)) { + if (sampler.uniformType == UniformSamplerType::STORAGE_IMAGE) continue; + if (texUnitCacheMap.count(sampler.name) == 0u) { uint binding = sampler.binding + bindingMappingInfo.samplerOffsets[sampler.set] + arrayOffset; if (sampler.set == bindingMappingInfo.flexibleSet) binding -= flexibleSetBaseOffset; texUnitCacheMap[sampler.name] = binding % device->getCapabilities().maxTextureUnits; @@ -1333,23 +1343,21 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } } - if (glActiveSamplers.size()) { + if (!glActiveSamplers.empty()) { vector usedTexUnits(device->getCapabilities().maxTextureUnits, false); - vector usedImageUnits(device->getCapabilities().maxImageUnits, false); // try to reuse existing mappings first for (uint i = 0u; i < glActiveSamplers.size(); i++) { GLES3GPUUniformSampler &glSampler = glActiveSamplers[i]; - vector &usedUnits = glSampler.uniformType == UniformSamplerType::STORAGE_IMAGE ? usedImageUnits : usedTexUnits; - if (texUnitCacheMap.count(glSampler.name)) { + if (texUnitCacheMap.count(glSampler.name) != 0u) { uint cachedUnit = texUnitCacheMap[glSampler.name]; glSampler.glLoc = glActiveSamplerLocations[i]; for (uint t = 0u; t < glSampler.count; t++) { - while (usedUnits[cachedUnit]) { // the shader already compiles so we should be safe to do this here + while (usedTexUnits[cachedUnit]) { // the shader already compiles so we should be safe to do this here cachedUnit = (cachedUnit + 1) % device->getCapabilities().maxTextureUnits; } glSampler.units.push_back(cachedUnit); - usedUnits[cachedUnit] = true; + usedTexUnits[cachedUnit] = true; } } } @@ -1357,19 +1365,24 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { uint unitIdx = 0u; for (uint i = 0u; i < glActiveSamplers.size(); i++) { GLES3GPUUniformSampler &glSampler = glActiveSamplers[i]; - vector &usedUnits = glSampler.uniformType == UniformSamplerType::STORAGE_IMAGE ? usedImageUnits : usedTexUnits; if (glSampler.glLoc < 0) { glSampler.glLoc = glActiveSamplerLocations[i]; - for (uint t = 0u; t < glSampler.count; t++) { - while (usedUnits[unitIdx]) { - unitIdx = (unitIdx + 1) % device->getCapabilities().maxTextureUnits; + // storage image units are immutable + if (glSampler.uniformType == UniformSamplerType::STORAGE_IMAGE) { + glSampler.units.resize(glSampler.count); + GL_CHECK(glGetUniformiv(gpuShader->glProgram, glSampler.glLoc, glSampler.units.data())); + } else { + for (uint t = 0u; t < glSampler.count; t++) { + while (usedTexUnits[unitIdx]) { + unitIdx = (unitIdx + 1) % device->getCapabilities().maxTextureUnits; + } + if (texUnitCacheMap.count(glSampler.name) == 0u) { + texUnitCacheMap[glSampler.name] = unitIdx; + } + glSampler.units.push_back(unitIdx); + usedTexUnits[unitIdx] = true; } - if (!texUnitCacheMap.count(glSampler.name)) { - texUnitCacheMap[glSampler.name] = unitIdx; - } - glSampler.units.push_back(unitIdx); - usedUnits[unitIdx] = true; } } } @@ -1378,8 +1391,8 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(glUseProgram(gpuShader->glProgram)); } - for (size_t i = 0; i < glActiveSamplers.size(); ++i) { - GLES3GPUUniformSampler &gpuSampler = glActiveSamplers[i]; + for (GLES3GPUUniformSampler &gpuSampler : glActiveSamplers) { + if (gpuSampler.uniformType == UniformSamplerType::STORAGE_IMAGE) continue; GL_CHECK(glUniform1iv(gpuSampler.glLoc, (GLsizei)gpuSampler.units.size(), gpuSampler.units.data())); } @@ -1472,9 +1485,9 @@ void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu if (gpuFBO->isOffscreen) { GL_CHECK(glGenFramebuffers(1, &gpuFBO->glFramebuffer)); - if (device->stateCache()->glFramebuffer != gpuFBO->glFramebuffer) { - GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, gpuFBO->glFramebuffer)); - device->stateCache()->glFramebuffer = gpuFBO->glFramebuffer; + if (device->stateCache()->glDrawFramebuffer != gpuFBO->glFramebuffer) { + GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, gpuFBO->glFramebuffer)); + device->stateCache()->glDrawFramebuffer = gpuFBO->glFramebuffer; } GLenum attachments[GFX_MAX_ATTACHMENTS] = {0}; @@ -1488,7 +1501,7 @@ void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu if (i < colorMipmapLevelCount) { mipmapLevel = gpuFBO->colorMipmapLevels[i]; } - GL_CHECK(glFramebufferTexture2D(GL_FRAMEBUFFER, (GLenum)(GL_COLOR_ATTACHMENT0 + i), gpuColorTexture->glTarget, gpuColorTexture->glTexture, mipmapLevel)); + GL_CHECK(glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, (GLenum)(GL_COLOR_ATTACHMENT0 + i), gpuColorTexture->glTarget, gpuColorTexture->glTexture, mipmapLevel)); attachments[attachmentCount++] = (GLenum)(GL_COLOR_ATTACHMENT0 + i); } @@ -1497,13 +1510,13 @@ void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu if (gpuFBO->gpuDepthStencilTexture) { GLES3GPUTexture *gpuDepthStencilTexture = gpuFBO->gpuDepthStencilTexture; const GLenum glAttachment = GFX_FORMAT_INFOS[(int)gpuDepthStencilTexture->format].hasStencil ? GL_DEPTH_STENCIL_ATTACHMENT : GL_DEPTH_ATTACHMENT; - GL_CHECK(glFramebufferTexture2D(GL_FRAMEBUFFER, glAttachment, gpuDepthStencilTexture->glTarget, gpuDepthStencilTexture->glTexture, gpuFBO->depthStencilMipmapLevel)); + GL_CHECK(glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, glAttachment, gpuDepthStencilTexture->glTarget, gpuDepthStencilTexture->glTexture, gpuFBO->depthStencilMipmapLevel)); } GL_CHECK(glDrawBuffers(attachmentCount, attachments)); GLenum status; - GL_CHECK(status = glCheckFramebufferStatus(GL_FRAMEBUFFER)); + GL_CHECK(status = glCheckFramebufferStatus(GL_DRAW_FRAMEBUFFER)); if (status != GL_FRAMEBUFFER_COMPLETE) { switch (status) { case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: { @@ -1535,9 +1548,9 @@ void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu void GLES3CmdFuncDestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO) { if (gpuFBO->isOffscreen) { if (gpuFBO->glFramebuffer) { - if (device->stateCache()->glFramebuffer == gpuFBO->glFramebuffer) { - GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, 0)); - device->stateCache()->glFramebuffer = 0; + if (device->stateCache()->glDrawFramebuffer == gpuFBO->glFramebuffer) { + GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0)); + device->stateCache()->glDrawFramebuffer = 0; } GL_CHECK(glDeleteFramebuffers(1, &gpuFBO->glFramebuffer)); gpuFBO->glFramebuffer = 0; @@ -1556,9 +1569,9 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen GLES3GPUStateCache *cache = device->stateCache(); if (gpuFramebuffer && gpuRenderPass) { - if (cache->glFramebuffer != gpuFramebuffer->glFramebuffer) { - GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); - cache->glFramebuffer = gpuFramebuffer->glFramebuffer; + if (cache->glDrawFramebuffer != gpuFramebuffer->glFramebuffer) { + GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); + cache->glDrawFramebuffer = gpuFramebuffer->glFramebuffer; // render targets are drawn with flipped-Y gfxStateCache.reverseCW = gpuFramebuffer->isOffscreen; } @@ -1669,7 +1682,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } if (numAttachments) { - GL_CHECK(glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); + GL_CHECK(glInvalidateFramebuffer(GL_DRAW_FRAMEBUFFER, numAttachments, invalidAttachments)); } if (glClears) { @@ -1753,7 +1766,7 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { } if (numAttachments) { - GL_CHECK(glInvalidateFramebuffer(GL_FRAMEBUFFER, numAttachments, invalidAttachments)); + GL_CHECK(glInvalidateFramebuffer(GL_DRAW_FRAMEBUFFER, numAttachments, invalidAttachments)); } } @@ -2574,6 +2587,54 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const } } +void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc, GLES3GPUTexture *gpuTextureDst, const TextureBlit *regions, uint count, Filter filter) { + GLES3GPUStateCache *cache = device->stateCache(); + + GLbitfield mask = 0u; + const FormatInfo &info = GFX_FORMAT_INFOS[(uint)gpuTextureSrc->format]; + if (info.hasDepth || info.hasStencil) { + if (info.hasDepth) mask |= GL_DEPTH_BUFFER_BIT; + if (info.hasStencil) mask |= GL_STENCIL_BUFFER_BIT; + } else { + mask = GL_COLOR_BUFFER_BIT; + } + + for (uint i = 0u; i < count; ++i) { + const TextureBlit ®ion = regions[i]; + + GLuint srcFramebuffer = 0u; + if (gpuTextureSrc) srcFramebuffer = device->framebufferCacheMap()->getFramebufferFromTexture(gpuTextureSrc, region.srcSubres); +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + else + srcFramebuffer = static_cast(device->getContext())->getDefaultFramebuffer(); +#endif + if (cache->glReadFramebuffer != srcFramebuffer) { + GL_CHECK(glBindFramebuffer(GL_READ_FRAMEBUFFER, srcFramebuffer)); + cache->glReadFramebuffer = srcFramebuffer; + } + GLint sample = 0; + glGetIntegerv(GL_SAMPLE_BUFFERS, &sample); + + GLuint dstFramebuffer = 0u; + if (gpuTextureDst) dstFramebuffer = device->framebufferCacheMap()->getFramebufferFromTexture(gpuTextureDst, region.srcSubres); +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + else + srcFramebuffer = static_cast(device->getContext())->getDefaultFramebuffer(); +#endif + if (cache->glDrawFramebuffer != dstFramebuffer) { + GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, dstFramebuffer)); + cache->glDrawFramebuffer = dstFramebuffer; + } + + glGetIntegerv(GL_SAMPLE_BUFFERS, &sample); + + GL_CHECK(glBlitFramebuffer( + region.srcOffset.x, region.srcOffset.y, region.srcOffset.x + region.srcExtent.width, region.srcOffset.y + region.srcExtent.height, + region.dstOffset.x, region.dstOffset.y, region.dstOffset.x + region.dstExtent.width, region.dstOffset.y + region.dstExtent.height, + mask, GLES3_FILTERS[(uint)filter])); + } +} + void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { if (!cmdPackage->cmds.size()) return; @@ -2624,6 +2685,11 @@ void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { GLES3CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; } + case GLES3CmdType::BLIT_TEXTURE: { + GLES3CmdBlitTexture *cmd = cmdPackage->blitTextureCmds[cmdIdx]; + GLES3CmdFuncBlitTexture(device, cmd->gpuTextureSrc, cmd->gpuTextureDst, cmd->regions, cmd->count, cmd->filter); + break; + } default: break; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 6f16d3db7b..b4918daad4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -36,6 +36,7 @@ enum class GLES3CmdType : uint8_t { DRAW, UPDATE_BUFFER, COPY_BUFFER_TO_TEXTURE, + BLIT_TEXTURE, DISPATCH, BARRIER, COUNT, @@ -211,6 +212,24 @@ public: } }; +class GLES3CmdBlitTexture final : public GLES3Cmd { +public: + GLES3GPUTexture *gpuTextureSrc = nullptr; + GLES3GPUTexture *gpuTextureDst = nullptr; + const TextureBlit *regions = nullptr; + uint count = 0u; + Filter filter = Filter::POINT; + + GLES3CmdBlitTexture() : GLES3Cmd(GLES3CmdType::BLIT_TEXTURE) {} + + virtual void clear() override { + gpuTextureSrc = nullptr; + gpuTextureDst = nullptr; + regions = nullptr; + count = 0u; + } +}; + class GLES3CmdPackage final : public Object { public: CachedArray cmds; @@ -221,6 +240,7 @@ public: CachedArray barrierCmds; CachedArray updateBufferCmds; CachedArray copyBufferToTextureCmds; + CachedArray blitTextureCmds; }; class GLES3GPUCommandAllocator final : public Object { @@ -232,6 +252,7 @@ public: CommandPool barrierCmdPool; CommandPool updateBufferCmdPool; CommandPool copyBufferToTextureCmdPool; + CommandPool blitTextureCmdPool; void clearCmds(GLES3CmdPackage *cmd_package) { if (cmd_package->beginRenderPassCmds.size()) { @@ -255,6 +276,9 @@ public: if (cmd_package->copyBufferToTextureCmds.size()) { copyBufferToTextureCmdPool.freeCmds(cmd_package->copyBufferToTextureCmds); } + if (cmd_package->blitTextureCmds.size()) { + blitTextureCmdPool.freeCmds(cmd_package->blitTextureCmds); + } cmd_package->cmds.clear(); } @@ -267,6 +291,7 @@ public: barrierCmdPool.release(); updateBufferCmdPool.release(); copyBufferToTextureCmdPool.release(); + blitTextureCmdPool.release(); } }; @@ -297,6 +322,7 @@ CC_GLES3_API void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo); CC_GLES3_API void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size); CC_GLES3_API void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const *buffers, GLES3GPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count); +CC_GLES3_API void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc, GLES3GPUTexture *gpuTextureDst, const TextureBlit *regions, uint count, Filter filter); CC_GLES3_API void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage); CC_GLES3_API void GLES3CmdFuncDispatch(GLES3Device *device, const GLES3GPUDispatchInfo &info); CC_GLES3_API void GLES3CmdFuncMemoryBarrier(GLES3Device *device, GLbitfield barriers, GLbitfield barriersByRegion); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 15527d90e7..3e5606e81c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -438,7 +438,7 @@ bool GLES3Context::MakeCurrent(bool bound) { GL_CHECK(glFrontFace(GL_CCW)); - //GL_CHECK(glDisable(GL_MULTISAMPLE)); + GL_CHECK(glDisable(GL_SAMPLE_COVERAGE)); ////////////////////////////////////////////////////////////////////////// // DepthStencilState diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index dbcf117684..a43bb7a64d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -69,6 +69,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { _gpuStateCache = CC_NEW(GLES3GPUStateCache); _gpuStagingBufferPool = CC_NEW(GLES3GPUStagingBufferPool); + _gpuFramebufferCacheMap = CC_NEW(GLES3GPUFramebufferCacheMap(_gpuStateCache)); ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; @@ -192,6 +193,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { void GLES3Device::destroy() { CC_SAFE_DESTROY(_queue); CC_SAFE_DESTROY(_cmdBuff); + CC_SAFE_DELETE(_gpuFramebufferCacheMap); CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); CC_SAFE_DESTROY(_deviceContext); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 4d6fd6963b..2d532ee2e9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -30,6 +30,7 @@ namespace gfx { class GLES3Context; class GLES3GPUStateCache; class GLES3GPUStagingBufferPool; +class GLES3GPUFramebufferCacheMap; class CC_GLES3_API GLES3Device final : public Device { public: @@ -60,6 +61,7 @@ public: CC_INLINE GLES3GPUStateCache *stateCache() const { return _gpuStateCache; } CC_INLINE GLES3GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } + CC_INLINE GLES3GPUFramebufferCacheMap *framebufferCacheMap() const { return _gpuFramebufferCacheMap; } CC_INLINE bool checkExtension(const String &extension) const { for (size_t i = 0; i < _extensions.size(); ++i) { @@ -97,6 +99,7 @@ private: GLES3Context *_deviceContext = nullptr; GLES3GPUStateCache *_gpuStateCache = nullptr; GLES3GPUStagingBufferPool *_gpuStagingBufferPool = nullptr; + GLES3GPUFramebufferCacheMap *_gpuFramebufferCacheMap = nullptr; StringArray _extensions; diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 9b80a15ea0..b0e5a8028c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -298,8 +298,8 @@ public: GLuint glProgram = 0; vector glEnabledAttribLocs; vector glCurrentAttribLocs; - GLuint glFramebuffer = 0; - GLuint glReadFBO = 0; + GLuint glReadFramebuffer = 0; + GLuint glDrawFramebuffer = 0; Viewport viewport; Rect scissor; RasterizerState rs; @@ -307,7 +307,7 @@ public: BlendState bs; bool isCullFaceEnabled = true; bool isStencilTestEnabled = false; - map texUnitCacheMap; + unordered_map texUnitCacheMap; GLES3ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t imageUnits, size_t uboBindings, size_t ssboBindings, size_t vertexAttributes) { @@ -340,8 +340,8 @@ public: glProgram = 0; glEnabledAttribLocs.assign(glEnabledAttribLocs.size(), 0u); glCurrentAttribLocs.assign(glCurrentAttribLocs.size(), 0u); - glFramebuffer = 0; - glReadFBO = 0; + glReadFramebuffer = 0; + glDrawFramebuffer = 0; isCullFaceEnabled = true; isStencilTestEnabled = false; @@ -361,6 +361,65 @@ public: } }; +class GLES3GPUFramebufferCacheMap final : public Object { +public: + GLES3GPUFramebufferCacheMap(GLES3GPUStateCache *cache) : _cache(cache) {} + + ~GLES3GPUFramebufferCacheMap() { + } + + GLuint getFramebufferFromTexture(const GLES3GPUTexture *gpuTexture, const TextureSubresLayers &subres) { + // TODO: single layer support using glFramebufferTextureLayer + + if (_map[gpuTexture->glTexture].empty()) _map[gpuTexture->glTexture].resize(gpuTexture->mipLevel, 0u); + + if (!_map[gpuTexture->glTexture][subres.mipLevel]) { + GLuint glFramebuffer = 0u; + GL_CHECK(glGenFramebuffers(1, &glFramebuffer)); + if (_cache->glDrawFramebuffer != glFramebuffer) { + GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, glFramebuffer)); + _cache->glDrawFramebuffer = glFramebuffer; + } + + const FormatInfo &info = GFX_FORMAT_INFOS[(uint)gpuTexture->format]; + GLenum attachment = GL_COLOR_ATTACHMENT0; + if (info.hasStencil) { + attachment = GL_DEPTH_STENCIL_ATTACHMENT; + } else if (info.hasDepth) { + attachment = GL_DEPTH_ATTACHMENT; + } + GL_CHECK(glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, attachment, gpuTexture->glTarget, gpuTexture->glTexture, subres.mipLevel)); + + GLenum status; + GL_CHECK(status = glCheckFramebufferStatus(GL_DRAW_FRAMEBUFFER)); + CCASSERT(status == GL_FRAMEBUFFER_COMPLETE, "frambuffer incomplete"); + + _map[gpuTexture->glTexture][subres.mipLevel] = glFramebuffer; + } + + return _map[gpuTexture->glTexture][subres.mipLevel]; + } + + void onTextureDestroy(const GLES3GPUTexture *gpuTexture) { + if (_map.count(gpuTexture->glTexture)) { + for (GLuint glFramebuffer : _map[gpuTexture->glTexture]) { + if (!glFramebuffer) continue; + + if (_cache->glDrawFramebuffer == glFramebuffer) { + GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0)); + _cache->glDrawFramebuffer = 0; + } + GL_CHECK(glDeleteFramebuffers(1, &glFramebuffer)); + } + _map.erase(gpuTexture->glTexture); + } + } + +private: + GLES3GPUStateCache *_cache = nullptr; + unordered_map> _map; // texture -> mip level -> framebuffer +}; + constexpr size_t chunkSize = 16 * 1024 * 1024; // 16M per block by default class GLES3GPUStagingBufferPool final : public Object { public: diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 0d961fe461..2f8ee63b3d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -134,6 +134,21 @@ void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe } } +void GLES3PrimaryCommandBuffer::blitTexture(Texture* srcTexture, Texture* dstTexture, const TextureBlit* regions, uint count, Filter filter) { + if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || + (_type == CommandBufferType::SECONDARY)) { + + GLES3GPUTexture *gpuTextureSrc = nullptr; + GLES3GPUTexture *gpuTextureDst = nullptr; + if (srcTexture) gpuTextureSrc = ((GLES3Texture *)srcTexture)->gpuTexture(); + if (dstTexture) gpuTextureDst = ((GLES3Texture *)dstTexture)->gpuTexture(); + + GLES3CmdFuncBlitTexture((GLES3Device *)_device, gpuTextureSrc, gpuTextureDst, regions, count, filter); + } else { + CC_LOG_ERROR("Command 'blitTexture' must be recorded outside a render pass."); + } +} + void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { GLES3PrimaryCommandBuffer *cmdBuff = (GLES3PrimaryCommandBuffer *)cmdBuffs[i]; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 020c4c33d8..151789dbac 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -46,8 +46,10 @@ public: virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; + virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; + protected: - virtual void BindStates(); + virtual void BindStates() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index e4365c8d75..c99e30b996 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -67,10 +67,11 @@ public: virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier& barrier, const ImageBarrierList &imageBarriers) override; - + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; + CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } id getCurrentDrawable(); diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index fea464f0e1..5b107ef765 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -523,10 +523,13 @@ void CCMTLCommandBuffer::bindDescriptorSets() { } } +void CCMTLCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { +} + void CCMTLCommandBuffer::dispatch(const DispatchInfo &info) { } -void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier& barrier, const ImageBarrierList &imageBarriers) { +void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { } } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 16bd776a9d..4841ec119b 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -94,12 +94,12 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _indirectDrawSupported = mu::isIndirectDrawSupported(gpuFamily); _caps.maxVertexAttributes = mu::getMaxVertexAttributes(gpuFamily); _caps.maxTextureUnits = _caps.maxVertexTextureUnits = mu::getMaxEntriesInTextureArgumentTable(gpuFamily); - _caps.maxSamplerUnits = mu::getMaxEntriesInSamplerStateArgumentTable(gpuFamily); +// _caps.maxSamplerUnits = mu::getMaxEntriesInSamplerStateArgumentTable(gpuFamily); _caps.maxTextureSize = mu::getMaxTexture2DWidthHeight(gpuFamily); _caps.maxCubeMapTextureSize = mu::getMaxCubeMapTextureWidthHeight(gpuFamily); - _caps.maxColorRenderTargets = mu::getMaxColorRenderTarget(gpuFamily); - _caps.maxBufferBindingIndex = mu::getMaxEntriesInBufferArgumentTable(gpuFamily); - _uboOffsetAlignment = mu::getMinBufferOffsetAlignment(gpuFamily); +// _caps.maxColorRenderTargets = mu::getMaxColorRenderTarget(gpuFamily); +// _caps.maxBufferBindingIndex = mu::getMaxEntriesInBufferArgumentTable(gpuFamily); + _caps.uboOffsetAlignment = mu::getMinBufferOffsetAlignment(gpuFamily); _icbSuppored = mu::isIndirectCommandBufferSupported(MTLFeatureSet(_mtlFeatureSet)); _isSamplerDescriptorCompareFunctionSupported = mu::isSamplerDescriptorCompareFunctionSupported(gpuFamily); @@ -108,13 +108,13 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { } // Persistent depth stencil texture MTLTextureDescriptor *dssDescriptor = [[MTLTextureDescriptor alloc] init]; - dssDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _depthBits); + dssDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _caps.depthBits); dssDescriptor.width = info.width; dssDescriptor.height = info.height; dssDescriptor.storageMode = MTLStorageModePrivate; dssDescriptor.usage = MTLTextureUsageRenderTarget; _dssTex = [mtlDevice newTextureWithDescriptor:dssDescriptor]; - _stencilBits = 8; + _caps.stencilBits = 8; ContextInfo contextCreateInfo; contextCreateInfo.windowHandle = _windowHandle; diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm index 0d2d62482d..90533aa164 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm @@ -169,7 +169,7 @@ void CCMTLPipelineState::setVertexDescriptor(MTLRenderPipelineDescriptor *descri vector> layouts; unordered_map> map; - vector streamOffsets(_device->getMaxVertexAttributes(), 0u); + vector streamOffsets(_device->getCapabilities().maxVertexAttributes, 0u); vector activeAttribIdx(activeAttributes.size(), false); for (const auto &inputAttrib : _inputState.attributes) { auto bufferIndex = static_cast(_shader)->getAvailableBufferBindingIndex(ShaderStageFlagBit::VERTEX, inputAttrib.stream); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index c3f48c4f45..f204862867 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -432,6 +432,48 @@ void CCVKCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Text CCVKCmdFuncCopyBuffersToTexture((CCVKDevice *)_device, buffers, ((CCVKTexture *)texture)->gpuTexture(), regions, count, _gpuCommandBuffer); } +void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { + CCVKGPUTexture *gpuTextureSrc = nullptr; + if (srcTexture) gpuTextureSrc = ((CCVKTexture *)srcTexture)->gpuTexture(); + CCVKGPUTexture *gpuTextureDst = nullptr; + if (dstTexture) gpuTextureDst = ((CCVKTexture *)dstTexture)->gpuTexture(); + + _blitRegions.resize(count); + for (uint i = 0u; i < count; ++i) { + const TextureBlit ®ion = regions[i]; + _blitRegions[i].srcSubresource.aspectMask = gpuTextureSrc ? gpuTextureSrc->aspectMask : VK_IMAGE_ASPECT_COLOR_BIT; + _blitRegions[i].srcSubresource.mipLevel = region.srcSubres.mipLevel; + _blitRegions[i].srcSubresource.baseArrayLayer = region.srcSubres.baseArrayLayer; + _blitRegions[i].srcSubresource.layerCount = region.srcSubres.layerCount; + _blitRegions[i].srcOffsets[0].x = region.srcOffset.x; + _blitRegions[i].srcOffsets[0].y = region.srcOffset.y; + _blitRegions[i].srcOffsets[0].z = region.srcOffset.z; + _blitRegions[i].srcOffsets[1].x = region.srcExtent.width; + _blitRegions[i].srcOffsets[1].y = region.srcExtent.height; + _blitRegions[i].srcOffsets[1].z = region.srcExtent.depth; + + _blitRegions[i].dstSubresource.aspectMask = gpuTextureDst ? gpuTextureDst->aspectMask : VK_IMAGE_ASPECT_COLOR_BIT; + _blitRegions[i].dstSubresource.mipLevel = region.dstSubres.mipLevel; + _blitRegions[i].dstSubresource.baseArrayLayer = region.dstSubres.baseArrayLayer; + _blitRegions[i].dstSubresource.layerCount = region.dstSubres.layerCount; + _blitRegions[i].dstOffsets[0].x = region.dstOffset.x; + _blitRegions[i].dstOffsets[0].y = region.dstOffset.y; + _blitRegions[i].dstOffsets[0].z = region.dstOffset.z; + _blitRegions[i].dstOffsets[1].x = region.dstExtent.width; + _blitRegions[i].dstOffsets[1].y = region.dstExtent.height; + _blitRegions[i].dstOffsets[1].z = region.dstExtent.depth; + } + + CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + VkImage srcImage = gpuTextureSrc ? gpuTextureSrc->vkImage : swapchain->swapchainImages[swapchain->curImageIndex]; + VkImage dstImage = gpuTextureDst ? gpuTextureDst->vkImage : swapchain->swapchainImages[swapchain->curImageIndex]; + + vkCmdBlitImage(_gpuCommandBuffer->vkCommandBuffer, + srcImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, + dstImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, + count, _blitRegions.data(), VK_FILTERS[(uint)filter]); +} + void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { CCVKDevice *device = (CCVKDevice *)_device; CCVKGPUDevice *gpuDevice = device->gpuDevice(); @@ -520,22 +562,35 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.nextAccesses[i]]; } - _textureBarriers[b].prevLayout = textureBarrier.isPrevLayoutOptimal ? THSVS_IMAGE_LAYOUT_OPTIMAL : THSVS_IMAGE_LAYOUT_GENERAL; - _textureBarriers[b].nextLayout = textureBarrier.isNextLayoutOptimal ? THSVS_IMAGE_LAYOUT_OPTIMAL : THSVS_IMAGE_LAYOUT_GENERAL; + _textureBarriers[b].prevLayout = THSVS_IMAGE_LAYOUTS[(uint)textureBarrier.prevLayout]; + _textureBarriers[b].nextLayout = THSVS_IMAGE_LAYOUTS[(uint)textureBarrier.nextLayout]; _textureBarriers[b].discardContents = textureBarrier.discardContents; - _textureBarriers[b].srcQueueFamilyIndex = textureBarrier.srcQueue ? ((CCVKQueue *)textureBarrier.srcQueue)->gpuQueue()->queueFamilyIndex : VK_QUEUE_FAMILY_IGNORED; - _textureBarriers[b].dstQueueFamilyIndex = textureBarrier.dstQueue ? ((CCVKQueue *)textureBarrier.dstQueue)->gpuQueue()->queueFamilyIndex : VK_QUEUE_FAMILY_IGNORED; - const CCVKGPUTexture *gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); - _textureBarriers[b].image = gpuTexture->vkImage; - _textureBarriers[b].subresourceRange.aspectMask = gpuTexture->aspectMask; + if (textureBarrier.texture) { + const CCVKGPUTexture *gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); + _textureBarriers[b].image = gpuTexture->vkImage; + _textureBarriers[b].subresourceRange.aspectMask = gpuTexture->aspectMask; + } else { + const CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + _textureBarriers[b].image = swapchain->swapchainImages[swapchain->curImageIndex]; + _textureBarriers[b].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + } + _textureBarriers[b].subresourceRange.baseMipLevel = textureBarrier.subresRange.baseMipLevel; _textureBarriers[b].subresourceRange.levelCount = textureBarrier.subresRange.levelCount; _textureBarriers[b].subresourceRange.baseArrayLayer = textureBarrier.subresRange.baseArrayLayer; _textureBarriers[b].subresourceRange.layerCount = textureBarrier.subresRange.layerCount; + + _textureBarriers[b].srcQueueFamilyIndex = textureBarrier.srcQueue + ? ((CCVKQueue *)textureBarrier.srcQueue)->gpuQueue()->queueFamilyIndex + : VK_QUEUE_FAMILY_IGNORED; + _textureBarriers[b].dstQueueFamilyIndex = textureBarrier.dstQueue + ? ((CCVKQueue *)textureBarrier.dstQueue)->gpuQueue()->queueFamilyIndex + : VK_QUEUE_FAMILY_IGNORED; } - thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, barrier ? &vkBarrier : nullptr, 0, nullptr, textureBarrierCount, _textureBarriers.data()); + thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, barrier ? &vkBarrier : nullptr, + 0, nullptr, textureBarrierCount, _textureBarriers.data()); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 291b23c43a..d05d3e0bbe 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -58,6 +58,7 @@ public: virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buffer, const void *data, uint size) override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint count) override; virtual void dispatch(const DispatchInfo &info) override; virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; @@ -89,9 +90,12 @@ private: CCVKStencilWriteMask _curStencilWriteMask; CCVKStencilCompareMask _curStencilCompareMask; + // temp storage + vector _blitRegions; vector _accessTypes; vector _textureBarriers; vector _vkCommandBuffers; + queue _pendingQueue; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index babede4308..393d94cbc2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -677,6 +677,11 @@ const ThsvsAccessType THSVS_ACCESS_TYPES[] = { THSVS_ACCESS_HOST_WRITE, // HOST_WRITE }; +const ThsvsImageLayout THSVS_IMAGE_LAYOUTS[] = { + THSVS_IMAGE_LAYOUT_OPTIMAL, + THSVS_IMAGE_LAYOUT_GENERAL, +}; + const VkImageLayout VK_IMAGE_LAYOUTS[] = { VK_IMAGE_LAYOUT_UNDEFINED, // UNDEFINED VK_IMAGE_LAYOUT_GENERAL, // GENERAL From 4a14924bc272ccf7e4d125caf06eaa2457f4b6a9 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sat, 16 Jan 2021 17:31:25 +0800 Subject: [PATCH 119/270] mage barrier deduction --- .../renderer/core/gfx/GFXCommandBuffer.h | 1 + native/cocos/renderer/core/gfx/GFXDef.cpp | 8 +- native/cocos/renderer/core/gfx/GFXDef.h | 7 +- .../renderer/core/gfx/GFXDescriptorSet.cpp | 6 +- .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 4 +- .../gfx-gles2/GLES2DescriptorSetLayout.cpp | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 4 - .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 4 +- .../gfx-gles3/GLES3DescriptorSetLayout.cpp | 2 +- .../renderer/gfx-metal/MTLDescriptorSet.mm | 4 +- .../gfx-metal/MTLDescriptorSetLayout.mm | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 254 ++++++++++++++---- .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 21 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 16 +- .../gfx-vulkan/VKDescriptorSetLayout.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 6 + .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 19 +- .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 3 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 20 +- 20 files changed, 267 insertions(+), 120 deletions(-) diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index f3c6691890..bcdf491408 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -64,6 +64,7 @@ public: CC_INLINE void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter) { blitTexture(srcTexture, dstTexture, regions.data(), regions.size(), filter); } + CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier) { pipelineBarrier(barrier, nullptr, 0u); } CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const ImageBarrierList &textureBarriers) { pipelineBarrier(barrier, textureBarriers.data(), textureBarriers.size()); } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { diff --git a/native/cocos/renderer/core/gfx/GFXDef.cpp b/native/cocos/renderer/core/gfx/GFXDef.cpp index 16c4d08f7f..0d9a17bc50 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.cpp +++ b/native/cocos/renderer/core/gfx/GFXDef.cpp @@ -5,10 +5,10 @@ namespace cc { namespace gfx { -const uint DESCRIPTOR_BUFFER_TYPE = (uint)DescriptorType::STORAGE_BUFFER | (uint)DescriptorType::DYNAMIC_STORAGE_BUFFER | - (uint)DescriptorType::UNIFORM_BUFFER | (uint)DescriptorType::DYNAMIC_UNIFORM_BUFFER; -const uint DESCRIPTOR_SAMPLER_TYPE = (uint)DescriptorType::SAMPLER | (uint)DescriptorType::STORAGE_IMAGE; -const uint DESCRIPTOR_DYNAMIC_TYPE = (uint)DescriptorType::DYNAMIC_STORAGE_BUFFER | (uint)DescriptorType::DYNAMIC_UNIFORM_BUFFER; +const DescriptorType DESCRIPTOR_BUFFER_TYPE = DescriptorType::STORAGE_BUFFER | DescriptorType::DYNAMIC_STORAGE_BUFFER | + DescriptorType::UNIFORM_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; +const DescriptorType DESCRIPTOR_SAMPLER_TYPE = DescriptorType::SAMPLER | DescriptorType::STORAGE_IMAGE; +const DescriptorType DESCRIPTOR_DYNAMIC_TYPE = DescriptorType::DYNAMIC_STORAGE_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; const FormatInfo GFX_FORMAT_INFOS[] = { {"UNKNOWN", 0, 0, FormatType::NONE, false, false, false, false}, diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 2ee934893a..63e456cc58 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -1065,7 +1065,6 @@ struct TextureBarrier { TextureBarrierLayout nextLayout = TextureBarrierLayout::OPTIMAL; bool discardContents = false; Texture *texture = nullptr; - TextureSubresRange subresRange; Queue *srcQueue = nullptr; Queue *dstQueue = nullptr; @@ -1209,9 +1208,9 @@ struct FormatInfo { bool isCompressed = false; }; -extern CC_DLL const uint DESCRIPTOR_BUFFER_TYPE; -extern CC_DLL const uint DESCRIPTOR_SAMPLER_TYPE; -extern CC_DLL const uint DESCRIPTOR_DYNAMIC_TYPE; +extern CC_DLL const DescriptorType DESCRIPTOR_BUFFER_TYPE; +extern CC_DLL const DescriptorType DESCRIPTOR_SAMPLER_TYPE; +extern CC_DLL const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; extern CC_DLL const FormatInfo GFX_FORMAT_INFOS[]; extern CC_DLL const uint GFX_TYPE_SIZES[]; diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp b/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp index 49f0eff207..59ac37fe2e 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp +++ b/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp @@ -19,7 +19,7 @@ void DescriptorSet::bindBuffer(uint binding, Buffer *buffer, uint index) { if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - if ((uint)info.descriptorType & DESCRIPTOR_BUFFER_TYPE) { + if (info.descriptorType & DESCRIPTOR_BUFFER_TYPE) { const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; if (_buffers[descriptorIndex + index] != buffer) { _buffers[descriptorIndex + index] = buffer; @@ -36,7 +36,7 @@ void DescriptorSet::bindTexture(uint binding, Texture *texture, uint index) { if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - if ((uint)info.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { + if (info.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; if (_textures[descriptorIndex + index] != texture) { _textures[descriptorIndex + index] = texture; @@ -53,7 +53,7 @@ void DescriptorSet::bindSampler(uint binding, Sampler *sampler, uint index) { if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - if ((uint)info.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { + if (info.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; if (_samplers[descriptorIndex + index] != sampler) { _samplers[descriptorIndex + index] = sampler; diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index 3248d038e9..cde49b10cd 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -81,7 +81,7 @@ void GLES2DescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { const GLES2GPUDescriptorList &descriptors = _gpuDescriptorSet->gpuDescriptors; for (size_t i = 0; i < descriptors.size(); i++) { - if ((uint)descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { + if (descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { GLES2Buffer *buffer = (GLES2Buffer *)_buffers[i]; if (buffer) { if (buffer->gpuBuffer()) { @@ -90,7 +90,7 @@ void GLES2DescriptorSet::update() { _gpuDescriptorSet->gpuDescriptors[i].gpuBufferView = buffer->gpuBufferView(); } } - } else if ((uint)descriptors[i].type & DESCRIPTOR_SAMPLER_TYPE) { + } else if (descriptors[i].type & DESCRIPTOR_SAMPLER_TYPE) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = ((GLES2Texture *)_textures[i])->gpuTexture(); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp index a395593e9f..1b575673f9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp @@ -69,7 +69,7 @@ bool GLES2DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { for (uint i = 0u; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; - if ((uint)binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { + if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { for (uint j = 0u; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index ee952c6883..961565a83d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -2612,8 +2612,6 @@ void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc GL_CHECK(glBindFramebuffer(GL_READ_FRAMEBUFFER, srcFramebuffer)); cache->glReadFramebuffer = srcFramebuffer; } - GLint sample = 0; - glGetIntegerv(GL_SAMPLE_BUFFERS, &sample); GLuint dstFramebuffer = 0u; if (gpuTextureDst) dstFramebuffer = device->framebufferCacheMap()->getFramebufferFromTexture(gpuTextureDst, region.srcSubres); @@ -2626,8 +2624,6 @@ void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc cache->glDrawFramebuffer = dstFramebuffer; } - glGetIntegerv(GL_SAMPLE_BUFFERS, &sample); - GL_CHECK(glBlitFramebuffer( region.srcOffset.x, region.srcOffset.y, region.srcOffset.x + region.srcExtent.width, region.srcOffset.y + region.srcExtent.height, region.dstOffset.x, region.dstOffset.y, region.dstOffset.x + region.dstExtent.width, region.dstOffset.y + region.dstExtent.height, diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index 0485ad36c4..e18ffdeba8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -81,11 +81,11 @@ void GLES3DescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { const GLES3GPUDescriptorList &descriptors = _gpuDescriptorSet->gpuDescriptors; for (size_t i = 0; i < descriptors.size(); i++) { - if ((uint)descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { + if (descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { if (_buffers[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuBuffer = ((GLES3Buffer *)_buffers[i])->gpuBuffer(); } - } else if ((uint)descriptors[i].type & DESCRIPTOR_SAMPLER_TYPE) { + } else if (descriptors[i].type & DESCRIPTOR_SAMPLER_TYPE) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = ((GLES3Texture *)_textures[i])->gpuTexture(); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp index ac02b23736..601d94ad8f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp @@ -69,7 +69,7 @@ bool GLES3DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { for (uint i = 0u; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; - if ((uint)binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { + if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { for (uint j = 0u; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index 00dab04f11..dd996be7e3 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -71,11 +71,11 @@ void CCMTLDescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { const auto &descriptors = _gpuDescriptorSet->gpuDescriptors; for (size_t i = 0; i < descriptors.size(); i++) { - if (static_cast(descriptors[i].type) & DESCRIPTOR_BUFFER_TYPE) { + if (descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { if (_buffers[i]) { _gpuDescriptorSet->gpuDescriptors[i].buffer = static_cast(_buffers[i]); } - } else if (static_cast(descriptors[i].type) & DESCRIPTOR_SAMPLER_TYPE) { + } else if (descriptors[i].type & DESCRIPTOR_SAMPLER_TYPE) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].texture = static_cast(_textures[i]); } diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm index a5c165f497..9bf8a3ce71 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm @@ -64,7 +64,7 @@ bool CCMTLDescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { for (size_t i = 0; i < bindingCount; i++) { const auto binding = _bindings[i]; - if (static_cast(binding.descriptorType) & DESCRIPTOR_DYNAMIC_TYPE) { + if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { for (uint j = 0; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index f204862867..5bfe96bca8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -143,6 +143,7 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo clearValues[attachmentCount - 1].depthStencil = {depth, (uint)stencil}; } +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC // make previous framebuffer visible for load op if (gpuRenderPass->colorAttachments.size() && gpuRenderPass->colorAttachments[0].loadOp == LoadOp::LOAD) { VkMemoryBarrier barrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; @@ -163,6 +164,7 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, 0, 1, &barrier, 0, nullptr, 0, nullptr); } +#endif VkRenderPassBeginInfo passBeginInfo{VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO}; passBeginInfo.renderPass = gpuRenderPass->vkRenderPass; @@ -183,8 +185,28 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo void CCVKCommandBuffer::endRenderPass() { vkCmdEndRenderPass(_gpuCommandBuffer->vkCommandBuffer); +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC // guard against WAR hazard vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 0, nullptr); +#endif + + for (size_t i = 0u; i < _curGPUFBO->gpuRenderPass->colorAttachments.size(); ++i) { + VkImageLayout layout = VK_IMAGE_LAYOUTS[(uint)_curGPUFBO->gpuRenderPass->colorAttachments[i].endLayout]; + if (_curGPUFBO->gpuColorViews[i]) { + _curGPUFBO->gpuColorViews[i]->gpuTexture->currentLayout = layout; + } else { + _curGPUFBO->swapchain->swapchainImageLayouts[_curGPUFBO->swapchain->curImageIndex] = layout; + } + } + + if (_curGPUFBO->gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { + VkImageLayout layout = VK_IMAGE_LAYOUTS[(uint)_curGPUFBO->gpuRenderPass->depthStencilAttachment.endLayout]; + if (_curGPUFBO->gpuDepthStencilView) { + _curGPUFBO->gpuDepthStencilView->gpuTexture->currentLayout = layout; + } else { + _curGPUFBO->swapchain->depthStencilImageLayouts[_curGPUFBO->swapchain->curImageIndex] = layout; + } + } _curGPUFBO = nullptr; } @@ -433,15 +455,78 @@ void CCVKCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Text } void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { - CCVKGPUTexture *gpuTextureSrc = nullptr; - if (srcTexture) gpuTextureSrc = ((CCVKTexture *)srcTexture)->gpuTexture(); - CCVKGPUTexture *gpuTextureDst = nullptr; - if (dstTexture) gpuTextureDst = ((CCVKTexture *)dstTexture)->gpuTexture(); + VkImageAspectFlags srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + VkImageAspectFlags dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + VkImage srcImage = VK_NULL_HANDLE; + VkImage dstImage = VK_NULL_HANDLE; + VkImageLayout srcImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; + VkImageLayout dstImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; + CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + + if (srcTexture) { + CCVKGPUTexture *gpuTextureSrc = ((CCVKTexture *)srcTexture)->gpuTexture(); + srcAspectMask = gpuTextureSrc->aspectMask; + srcImage = gpuTextureSrc->vkImage; + srcImageLayout = gpuTextureSrc->currentLayout; + } else { + srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + srcImage = swapchain->swapchainImages[swapchain->curImageIndex]; + srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; + +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL + if (swapchain->swapchainImageLayouts[swapchain->curImageIndex] != srcImageLayout) { + VkImageMemoryBarrier barrier{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER}; + barrier.srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; + barrier.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT; + barrier.oldLayout = swapchain->swapchainImageLayouts[swapchain->curImageIndex]; + barrier.newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.image = srcImage; + barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 1, &barrier); + + swapchain->swapchainImageLayouts[swapchain->curImageIndex] = srcImageLayout; + } +#endif + } + + if (dstTexture) { + CCVKGPUTexture *gpuTextureDst = ((CCVKTexture *)dstTexture)->gpuTexture(); + dstAspectMask = gpuTextureDst->aspectMask; + dstImage = gpuTextureDst->vkImage; + dstImageLayout = gpuTextureDst->currentLayout; + } else { + dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + dstImage = swapchain->swapchainImages[swapchain->curImageIndex]; + dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; + +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL + if (swapchain->swapchainImageLayouts[swapchain->curImageIndex] != dstImageLayout) { + VkImageMemoryBarrier barrier{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER}; + barrier.srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; + barrier.dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; + barrier.oldLayout = swapchain->swapchainImageLayouts[swapchain->curImageIndex]; + barrier.newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.image = dstImage; + barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 1, &barrier); + + swapchain->swapchainImageLayouts[swapchain->curImageIndex] = dstImageLayout; + } +#endif + } _blitRegions.resize(count); for (uint i = 0u; i < count; ++i) { const TextureBlit ®ion = regions[i]; - _blitRegions[i].srcSubresource.aspectMask = gpuTextureSrc ? gpuTextureSrc->aspectMask : VK_IMAGE_ASPECT_COLOR_BIT; + _blitRegions[i].srcSubresource.aspectMask = srcAspectMask; _blitRegions[i].srcSubresource.mipLevel = region.srcSubres.mipLevel; _blitRegions[i].srcSubresource.baseArrayLayer = region.srcSubres.baseArrayLayer; _blitRegions[i].srcSubresource.layerCount = region.srcSubres.layerCount; @@ -452,7 +537,7 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co _blitRegions[i].srcOffsets[1].y = region.srcExtent.height; _blitRegions[i].srcOffsets[1].z = region.srcExtent.depth; - _blitRegions[i].dstSubresource.aspectMask = gpuTextureDst ? gpuTextureDst->aspectMask : VK_IMAGE_ASPECT_COLOR_BIT; + _blitRegions[i].dstSubresource.aspectMask = dstAspectMask; _blitRegions[i].dstSubresource.mipLevel = region.dstSubres.mipLevel; _blitRegions[i].dstSubresource.baseArrayLayer = region.dstSubres.baseArrayLayer; _blitRegions[i].dstSubresource.layerCount = region.dstSubres.layerCount; @@ -464,13 +549,9 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co _blitRegions[i].dstOffsets[1].z = region.dstExtent.depth; } - CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); - VkImage srcImage = gpuTextureSrc ? gpuTextureSrc->vkImage : swapchain->swapchainImages[swapchain->curImageIndex]; - VkImage dstImage = gpuTextureDst ? gpuTextureDst->vkImage : swapchain->swapchainImages[swapchain->curImageIndex]; - vkCmdBlitImage(_gpuCommandBuffer->vkCommandBuffer, - srcImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, - dstImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, + srcImage, srcImageLayout, + dstImage, dstImageLayout, count, _blitRegions.data(), VK_FILTERS[(uint)filter]); } @@ -485,7 +566,36 @@ void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { uint dirtyDescriptorSetCount = descriptorSetCount - _firstDirtyDescriptorSet; for (uint i = _firstDirtyDescriptorSet; i < descriptorSetCount; ++i) { if (_curGPUDescriptorSets[i]) { - _curVkDescriptorSets[i] = _curGPUDescriptorSets[i]->instances[gpuDevice->curBackBufferIndex].vkDescriptorSet; + const CCVKGPUDescriptorSet::Instance &instance = _curGPUDescriptorSets[i]->instances[gpuDevice->curBackBufferIndex]; + _curVkDescriptorSets[i] = instance.vkDescriptorSet; + +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL + const CCVKGPUDescriptorList &descriptors = _curGPUDescriptorSets[i]->gpuDescriptors; + for (size_t j = 0u; j < descriptors.size(); ++j) { + if (descriptors[j].type & DESCRIPTOR_SAMPLER_TYPE) { + VkImageLayout ¤tLayout = descriptors[j].gpuTextureView->gpuTexture->currentLayout; + VkImageLayout expectedLayout = instance.descriptorInfos[j].image.imageLayout; + if (currentLayout != expectedLayout) { + + VkImageMemoryBarrier barrier{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER}; + barrier.srcAccessMask = 0; + barrier.dstAccessMask = descriptors[j].gpuTextureView->gpuTexture->accessMask; + barrier.oldLayout = currentLayout; + barrier.newLayout = expectedLayout; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.image = descriptors[j].gpuTextureView->gpuTexture->vkImage; + barrier.subresourceRange.aspectMask = descriptors[j].gpuTextureView->gpuTexture->aspectMask; + barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, + descriptors[j].gpuTextureView->gpuTexture->targetStage, 0, 0, nullptr, 0, nullptr, 1, &barrier); + + currentLayout = expectedLayout; + } + } + } +#endif } else { _curVkDescriptorSets[i] = pipelineLayout->setLayouts[i]->defaultDescriptorSet; } @@ -529,68 +639,94 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text } _accessTypes.resize(count); - ThsvsGlobalBarrier vkBarrier; - _textureBarriers.resize(textureBarrierCount); + VkMemoryBarrier memoryBarrier; + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + uint32_t memoryBarrierCount = barrier ? 1 : 0; + VkMemoryBarrier *pMemoryBarriers = barrier ? &memoryBarrier : nullptr; + uint32_t imageMemoryBarrierCount = textureBarrierCount; + VkImageMemoryBarrier *pImageMemoryBarriers = nullptr; uint index = 0u; if (barrier) { - vkBarrier.prevAccessCount = barrier->prevAccessCount; - vkBarrier.pPrevAccesses = _accessTypes.data() + index; + ThsvsGlobalBarrier globalBarrier; + globalBarrier.prevAccessCount = barrier->prevAccessCount; + globalBarrier.pPrevAccesses = _accessTypes.data() + index; for (uint i = 0u; i < barrier->prevAccessCount; ++i, ++index) { _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)barrier->prevAccesses[i]]; } - vkBarrier.nextAccessCount = barrier->nextAccessCount; - vkBarrier.pNextAccesses = _accessTypes.data() + index; + globalBarrier.nextAccessCount = barrier->nextAccessCount; + globalBarrier.pNextAccesses = _accessTypes.data() + index; for (uint i = 0u; i < barrier->nextAccessCount; ++i, ++index) { _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)barrier->nextAccesses[i]]; } + + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + thsvsGetVulkanMemoryBarrier(globalBarrier, &tempSrcStageMask, &tempDstStageMask, pMemoryBarriers); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; } - for (uint b = 0u; b < textureBarrierCount; ++b) { - const TextureBarrier &textureBarrier = textureBarriers[b]; + if (textureBarrierCount > 0) { + _imageMemoryBarriers.resize(textureBarrierCount); + pImageMemoryBarriers = _imageMemoryBarriers.data(); - _textureBarriers[b].prevAccessCount = textureBarrier.prevAccessCount; - _textureBarriers[b].pPrevAccesses = _accessTypes.data() + index; - for (uint i = 0u; i < textureBarrier.prevAccessCount; ++i, ++index) { - _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.prevAccesses[i]]; + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + for (uint b = 0u; b < textureBarrierCount; ++b) { + const TextureBarrier &textureBarrier = textureBarriers[b]; + ThsvsImageBarrier imageBarrier; + + imageBarrier.prevAccessCount = textureBarrier.prevAccessCount; + imageBarrier.pPrevAccesses = _accessTypes.data() + index; + for (uint i = 0u; i < textureBarrier.prevAccessCount; ++i, ++index) { + _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.prevAccesses[i]]; + } + + imageBarrier.nextAccessCount = textureBarrier.nextAccessCount; + imageBarrier.pNextAccesses = _accessTypes.data() + index; + for (uint i = 0u; i < textureBarrier.nextAccessCount; ++i, ++index) { + _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.nextAccesses[i]]; + } + + imageBarrier.prevLayout = THSVS_IMAGE_LAYOUTS[(uint)textureBarrier.prevLayout]; + imageBarrier.nextLayout = THSVS_IMAGE_LAYOUTS[(uint)textureBarrier.nextLayout]; + imageBarrier.discardContents = textureBarrier.discardContents; + + if (textureBarrier.texture) { + CCVKGPUTexture *gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); + imageBarrier.image = gpuTexture->vkImage; + imageBarrier.subresourceRange.aspectMask = gpuTexture->aspectMask; + } else { + const CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + imageBarrier.image = swapchain->swapchainImages[swapchain->curImageIndex]; + imageBarrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + } + + imageBarrier.subresourceRange.baseMipLevel = 0u; + imageBarrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + imageBarrier.subresourceRange.baseArrayLayer = 0u; + imageBarrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + + imageBarrier.srcQueueFamilyIndex = textureBarrier.srcQueue + ? ((CCVKQueue *)textureBarrier.srcQueue)->gpuQueue()->queueFamilyIndex + : VK_QUEUE_FAMILY_IGNORED; + imageBarrier.dstQueueFamilyIndex = textureBarrier.dstQueue + ? ((CCVKQueue *)textureBarrier.dstQueue)->gpuQueue()->queueFamilyIndex + : VK_QUEUE_FAMILY_IGNORED; + + thsvsGetVulkanImageMemoryBarrier(imageBarrier, &tempSrcStageMask, &tempDstStageMask, &_imageMemoryBarriers[b]); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + + if (textureBarrier.texture) ((CCVKTexture *)textureBarrier.texture)->gpuTexture()->currentLayout = _imageMemoryBarriers[b].newLayout; } - - _textureBarriers[b].nextAccessCount = textureBarrier.nextAccessCount; - _textureBarriers[b].pNextAccesses = _accessTypes.data() + index; - for (uint i = 0u; i < textureBarrier.nextAccessCount; ++i, ++index) { - _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.nextAccesses[i]]; - } - - _textureBarriers[b].prevLayout = THSVS_IMAGE_LAYOUTS[(uint)textureBarrier.prevLayout]; - _textureBarriers[b].nextLayout = THSVS_IMAGE_LAYOUTS[(uint)textureBarrier.nextLayout]; - _textureBarriers[b].discardContents = textureBarrier.discardContents; - - if (textureBarrier.texture) { - const CCVKGPUTexture *gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); - _textureBarriers[b].image = gpuTexture->vkImage; - _textureBarriers[b].subresourceRange.aspectMask = gpuTexture->aspectMask; - } else { - const CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); - _textureBarriers[b].image = swapchain->swapchainImages[swapchain->curImageIndex]; - _textureBarriers[b].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - } - - _textureBarriers[b].subresourceRange.baseMipLevel = textureBarrier.subresRange.baseMipLevel; - _textureBarriers[b].subresourceRange.levelCount = textureBarrier.subresRange.levelCount; - _textureBarriers[b].subresourceRange.baseArrayLayer = textureBarrier.subresRange.baseArrayLayer; - _textureBarriers[b].subresourceRange.layerCount = textureBarrier.subresRange.layerCount; - - _textureBarriers[b].srcQueueFamilyIndex = textureBarrier.srcQueue - ? ((CCVKQueue *)textureBarrier.srcQueue)->gpuQueue()->queueFamilyIndex - : VK_QUEUE_FAMILY_IGNORED; - _textureBarriers[b].dstQueueFamilyIndex = textureBarrier.dstQueue - ? ((CCVKQueue *)textureBarrier.dstQueue)->gpuQueue()->queueFamilyIndex - : VK_QUEUE_FAMILY_IGNORED; } - thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, barrier ? &vkBarrier : nullptr, - 0, nullptr, textureBarrierCount, _textureBarriers.data()); + vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, memoryBarrierCount, pMemoryBarriers, + 0, nullptr, imageMemoryBarrierCount, pImageMemoryBarriers); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index d05d3e0bbe..965c000271 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -93,7 +93,7 @@ private: // temp storage vector _blitRegions; vector _accessTypes; - vector _textureBarriers; + vector _imageMemoryBarriers; vector _vkCommandBuffers; queue _pendingQueue; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 94373d50f3..50a238c81a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -131,7 +131,7 @@ void CCVKCmdFuncCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { //CC_LOG_DEBUG("Allocated texture: %llu %llx %llx %llu %x", res.size, gpuTexture->vkImage, res.deviceMemory, res.offset, res.pMappedData); gpuTexture->layout = MapVkImageLayout(gpuTexture->usage, gpuTexture->format); - gpuTexture->accessMask = MapVkAccessFlags(gpuTexture->usage, gpuTexture->format); + gpuTexture->accessMask = MapVkAccessFlags(gpuTexture->usage); gpuTexture->aspectMask = MapVkImageAspectFlags(gpuTexture->format); gpuTexture->targetStage = MapVkPipelineStageFlags(gpuTexture->usage); } @@ -450,10 +450,10 @@ void CCVKCmdFuncCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineSt ///////////////////// Creation ///////////////////// VK_CHECK(vkCreateComputePipelines(device->gpuDevice()->vkDevice, device->gpuDevice()->vkPipelineCache, - 1, &createInfo, nullptr, &gpuPipelineState->vkPipeline)); + 1, &createInfo, nullptr, &gpuPipelineState->vkPipeline)); } -void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice * device, CCVKGPUPipelineState * gpuPipelineState) { +void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState) { VkGraphicsPipelineCreateInfo createInfo{VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO}; ///////////////////// Shader Stage ///////////////////// @@ -706,6 +706,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *cmdBuffer) { vkCmdCopyBuffer(cmdBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuBuffer->vkBuffer, 1, ®ion); +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC // guard against RAW hazard VkBufferMemoryBarrier barrier{VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER}; barrier.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; @@ -716,6 +717,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const barrier.offset = region.dstOffset; barrier.size = region.size; vkCmdPipelineBarrier(cmdBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, gpuBuffer->targetStage, 0, 0, nullptr, 1, &barrier, 0, nullptr); +#endif }; if (cmdBuffer) { @@ -739,8 +741,11 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b barriers[0].dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; barriers[0].oldLayout = gpuTexture->currentLayout; barriers[0].newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; - vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, gpuTexture->targetStage, VK_PIPELINE_STAGE_TRANSFER_BIT, - VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 1, barriers); + + if (gpuTexture->currentLayout != VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL) { + vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, gpuTexture->targetStage, VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 1, barriers); + } uint totalSize = 0u; vector regionSizes(count); @@ -801,7 +806,7 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b for (uint i = 1u; i < gpuTexture->mipLevels; i++) { barriers[0].subresourceRange.baseMipLevel = i - 1; vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, - VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 1, barriers); + VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 1, barriers); blitInfo.srcSubresource.mipLevel = i - 1; blitInfo.dstSubresource.mipLevel = i; @@ -840,7 +845,7 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b } } - if (!layoutReady) { + if (!layoutReady && gpuTexture->layout != VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL) { barriers[0].srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; barriers[0].dstAccessMask = gpuTexture->accessMask; barriers[0].oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; @@ -894,7 +899,7 @@ void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *gpuDevice, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { if (gpuDescriptorSetLayout->defaultDescriptorSet != VK_NULL_HANDLE) { - gpuDescriptorSetLayout->pool.yield(gpuDescriptorSetLayout->defaultDescriptorSet); + gpuDescriptorSetLayout->pool.yield(gpuDescriptorSetLayout->defaultDescriptorSet); gpuDescriptorSetLayout->defaultDescriptorSet = VK_NULL_HANDLE; } diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 85a080a15d..313923a12f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -66,24 +66,22 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { } CCVKGPUDevice *gpuDevice = ((CCVKDevice *)_device)->gpuDevice(); - if (gpuDevice->useDescriptorUpdateTemplate) { - _gpuDescriptorSet->pUpdateTemplate = &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate; - } + _gpuDescriptorSet->gpuLayout = gpuDescriptorSetLayout; _gpuDescriptorSet->instances.resize(gpuDevice->backBufferCount); for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { - CCVKGPUDescriptorSet::DescriptorSetInstance &instance = _gpuDescriptorSet->instances[t]; + CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); instance.descriptorInfos.resize(descriptorCount, {}); for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; for (uint j = 0; j < binding.count; ++j, ++k) { - if ((uint)binding.descriptorType & DESCRIPTOR_BUFFER_TYPE) { + if (binding.descriptorType & DESCRIPTOR_BUFFER_TYPE) { instance.descriptorInfos[k].buffer.buffer = gpuDevice->defaultBuffer.vkBuffer; instance.descriptorInfos[k].buffer.offset = gpuDevice->defaultBuffer.startOffset; instance.descriptorInfos[k].buffer.range = gpuDevice->defaultBuffer.size; - } else if ((uint)binding.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { + } else if (binding.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; instance.descriptorInfos[k].image.imageLayout = binding.descriptorType == DescriptorType::STORAGE_IMAGE ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; @@ -137,7 +135,7 @@ void CCVKDescriptorSet::destroy() { CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { - CCVKGPUDescriptorSet::DescriptorSetInstance &instance = _gpuDescriptorSet->instances[t]; + CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; for (uint i = 0u; i < _gpuDescriptorSet->gpuDescriptors.size(); i++) { CCVKGPUDescriptor &binding = _gpuDescriptorSet->gpuDescriptors[i]; @@ -179,7 +177,7 @@ void CCVKDescriptorSet::update() { for (size_t i = 0u; i < descriptorCount; i++) { CCVKGPUDescriptor &binding = _gpuDescriptorSet->gpuDescriptors[i]; - if ((uint)binding.type & DESCRIPTOR_BUFFER_TYPE) { + if (binding.type & DESCRIPTOR_BUFFER_TYPE) { if (_buffers[i]) { CCVKGPUBufferView *bufferView = ((CCVKBuffer *)_buffers[i])->gpuBufferView(); if (binding.gpuBufferView != bufferView) { @@ -197,7 +195,7 @@ void CCVKDescriptorSet::update() { binding.gpuBufferView = bufferView; } } - } else if ((uint)binding.type & DESCRIPTOR_SAMPLER_TYPE) { + } else if (binding.type & DESCRIPTOR_SAMPLER_TYPE) { if (_textures[i]) { CCVKGPUTextureView *textureView = ((CCVKTexture *)_textures[i])->gpuTextureView(); if (binding.gpuTextureView != textureView) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp index 001147b979..a3a14169d8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp @@ -70,7 +70,7 @@ bool CCVKDescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { for (uint i = 0u; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; - if ((uint)binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { + if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { for (uint j = 0u; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 7f64b59900..d8f814fd72 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -718,6 +718,9 @@ bool CCVKDevice::checkSwapchainStatus() { }, true); // submit immediately + _gpuSwapchain->swapchainImageLayouts.assign(imageCount, VK_IMAGE_LAYOUT_PRESENT_SRC_KHR); + _gpuSwapchain->depthStencilImageLayouts.assign(imageCount, hasStencil ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL); + for (FramebufferListMapIter it = _gpuSwapchain->vkSwapchainFramebufferListMap.begin(); it != _gpuSwapchain->vkSwapchainFramebufferListMap.end(); it++) { CCVKCmdFuncCreateFramebuffer(this, it->first); @@ -728,6 +731,9 @@ bool CCVKDevice::checkSwapchainStatus() { void CCVKDevice::destroySwapchain() { if (_gpuSwapchain->vkSwapchain != VK_NULL_HANDLE) { + _gpuSwapchain->swapchainImageLayouts.clear(); + _gpuSwapchain->depthStencilImageLayouts.clear(); + _gpuSwapchain->depthStencilImageViews.clear(); _gpuSwapchain->depthStencilImages.clear(); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index d11c70a059..02b4ebdc0f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -175,6 +175,8 @@ public: VkSwapchainKHR vkSwapchain = VK_NULL_HANDLE; vector vkSwapchainImageViews; FramebufferListMap vkSwapchainFramebufferListMap; + vector swapchainImageLayouts; + vector depthStencilImageLayouts; // external references vector swapchainImages; vector depthStencilImages; @@ -242,22 +244,22 @@ struct CCVKGPUDescriptor { }; typedef vector CCVKGPUDescriptorList; +class CCVKGPUDescriptorSetLayout; class CCVKGPUDescriptorSet final : public Object { public: CCVKGPUDescriptorList gpuDescriptors; // references - VkDescriptorUpdateTemplate *pUpdateTemplate = nullptr; + CCVKGPUDescriptorSetLayout *gpuLayout = nullptr; - struct DescriptorSetInstance { + struct Instance { VkDescriptorSet vkDescriptorSet = VK_NULL_HANDLE; vector descriptorInfos; vector descriptorUpdateEntries; }; - vector instances; // per swapchain image + vector instances; // per swapchain image }; -class CCVKGPUDescriptorSetLayout; typedef vector CCVKGPUDescriptorSetLayoutList; class CCVKGPUPipelineLayout final : public Object { @@ -889,11 +891,10 @@ public: private: void update(CCVKGPUDescriptorSet *gpuDescriptorSet) { - CCVKGPUDescriptorSet::DescriptorSetInstance &instance = gpuDescriptorSet->instances[_device->curBackBufferIndex]; - if (gpuDescriptorSet->pUpdateTemplate) { - vkUpdateDescriptorSetWithTemplateKHR(_device->vkDevice, - instance.vkDescriptorSet, - *gpuDescriptorSet->pUpdateTemplate, instance.descriptorInfos.data()); + CCVKGPUDescriptorSet::Instance &instance = gpuDescriptorSet->instances[_device->curBackBufferIndex]; + if (gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate) { + vkUpdateDescriptorSetWithTemplateKHR(_device->vkDevice, instance.vkDescriptorSet, + gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate, instance.descriptorInfos.data()); } else { vector &entries = instance.descriptorUpdateEntries; vkUpdateDescriptorSets(_device->vkDevice, entries.size(), entries.data(), 0, nullptr); diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index 0c3cfdb57a..f25914b4ba 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -23,6 +23,7 @@ THE SOFTWARE. ****************************************************************************/ #include "VKStd.h" +#include "VKCommandBuffer.h" #include "VKCommands.h" #include "VKDevice.h" #include "VKTexture.h" @@ -177,7 +178,7 @@ void CCVKTexture::destroy() { void CCVKTexture::resize(uint width, uint height) { CCASSERT(!_isTextureView, "Cannot resize texture views"); - + if (_width != width || _height != height) { uint size = FormatSize(_format, width, height, _depth); const uint old_size = _size; diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 393d94cbc2..0074d8087f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -33,6 +33,12 @@ THE SOFTWARE. #define DEFAULT_TIMEOUT 1000000000 // 1 second +#define BARRIER_DEDUCTION_LEVEL_NONE 0 +#define BARRIER_DEDUCTION_LEVEL_BASIC 1 +#define BARRIER_DEDUCTION_LEVEL_FULL 2 + +#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_FULL + namespace cc { namespace gfx { @@ -229,16 +235,12 @@ VkAccessFlags MapVkAccessFlags(TextureLayout layout) { } } -VkAccessFlags MapVkAccessFlags(TextureUsage usage, Format format) { +VkAccessFlags MapVkAccessFlags(TextureUsage usage) { if (usage & TextureUsage::COLOR_ATTACHMENT) return VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) return VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; if (usage & TextureUsage::INPUT_ATTACHMENT) return VK_ACCESS_INPUT_ATTACHMENT_READ_BIT; - if (usage & TextureUsage::SAMPLED) { - if (GFX_FORMAT_INFOS[(uint)format].hasDepth) - return VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT; - else - return VK_ACCESS_SHADER_READ_BIT; - } + if (usage & TextureUsage::STORAGE) return VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; + if (usage & TextureUsage::SAMPLED) return VK_ACCESS_SHADER_READ_BIT; if (usage & TextureUsage::TRANSFER_SRC) return VK_ACCESS_TRANSFER_READ_BIT; if (usage & TextureUsage::TRANSFER_DST) return VK_ACCESS_TRANSFER_WRITE_BIT; return VK_ACCESS_SHADER_READ_BIT; @@ -249,7 +251,7 @@ VkAccessFlags MapVkAccessFlags(BufferUsage usage) { if (usage & BufferUsage::INDEX) return VK_ACCESS_INDEX_READ_BIT; if (usage & BufferUsage::UNIFORM) return VK_ACCESS_UNIFORM_READ_BIT; if (usage & BufferUsage::INDIRECT) return VK_ACCESS_INDIRECT_COMMAND_READ_BIT; - if (usage & BufferUsage::STORAGE) return VK_ACCESS_SHADER_READ_BIT; + if (usage & BufferUsage::STORAGE) return VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; if (usage & BufferUsage::TRANSFER_SRC) return VK_ACCESS_TRANSFER_READ_BIT; if (usage & BufferUsage::TRANSFER_DST) return VK_ACCESS_TRANSFER_WRITE_BIT; return VK_ACCESS_UNIFORM_READ_BIT; @@ -336,6 +338,7 @@ VkImageUsageFlagBits MapVkImageUsageFlagBits(TextureUsage usage) { VkImageLayout MapVkImageLayout(TextureUsage usage, Format format) { const FormatInfo &info = GFX_FORMAT_INFOS[(uint)format]; + if (usage & TextureUsage::STORAGE) return VK_IMAGE_LAYOUT_GENERAL; // storage image has to be general if (usage & TextureUsage::SAMPLED) { if (info.hasDepth && info.hasStencil) return VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL; @@ -371,6 +374,7 @@ VkImageAspectFlags MapVkImageAspectFlags(Format format) { VkPipelineStageFlags MapVkPipelineStageFlags(TextureUsage usage) { if (usage & TextureUsage::COLOR_ATTACHMENT) return VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) return VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; + if (usage & TextureUsage::STORAGE) return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; if (usage & TextureUsage::SAMPLED) return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; if (usage & TextureUsage::TRANSFER_SRC) return VK_PIPELINE_STAGE_TRANSFER_BIT; if (usage & TextureUsage::TRANSFER_DST) return VK_PIPELINE_STAGE_TRANSFER_BIT; From d5fcead8531b9085d28160dbda6e20e06f7e7d05 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 18 Jan 2021 18:48:37 +0800 Subject: [PATCH 120/270] load EGL/GLES dynamically --- .../cocos/renderer/gfx-gles2/CMakeLists.txt | 26 - native/cocos/renderer/gfx-gles2/gles2w.c | 802 ---------- native/cocos/renderer/gfx-gles2/gles2w.cpp | 805 ++++++++++ native/cocos/renderer/gfx-gles2/gles2w.h | 1308 +++++------------ .../cocos/renderer/gfx-gles3/CMakeLists.txt | 27 +- native/cocos/renderer/gfx-gles3/gles3w.c | 795 ---------- native/cocos/renderer/gfx-gles3/gles3w.cpp | 803 ++++++++++ native/cocos/renderer/gfx-gles3/gles3w.h | 1267 +++++----------- 8 files changed, 2302 insertions(+), 3531 deletions(-) delete mode 100755 native/cocos/renderer/gfx-gles2/gles2w.c create mode 100644 native/cocos/renderer/gfx-gles2/gles2w.cpp delete mode 100755 native/cocos/renderer/gfx-gles3/gles3w.c create mode 100644 native/cocos/renderer/gfx-gles3/gles3w.cpp diff --git a/native/cocos/renderer/gfx-gles2/CMakeLists.txt b/native/cocos/renderer/gfx-gles2/CMakeLists.txt index 402f24fab1..87140ae5e4 100644 --- a/native/cocos/renderer/gfx-gles2/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles2/CMakeLists.txt @@ -15,31 +15,6 @@ set(INCLUDE_FILES ${COCOS_SRC_PATH}/renderer/gfx-gles2 ) -if(WIN32) - list(APPEND INCLUDE_FILES ${GFX_EXTERNAL_PATH}/pvrsdk/include) - -if(COCOS_CPU_X64) - set(PVRSDK_LIB_DIR ${GFX_EXTERNAL_PATH}/pvrsdk/lib/Windows_x86_64) -else() - set(PVRSDK_LIB_DIR ${GFX_EXTERNAL_PATH}/pvrsdk/lib/Windows_x86_32) -endif() - - link_libraries( - ${PVRSDK_LIB_DIR}/libEGL.lib - ${PVRSDK_LIB_DIR}/libGLESv2.lib - ) -endif() - -if(COCOS_PLATFORM_OSX) - list(APPEND INCLUDE_FILES ${GFX_EXTERNAL_PATH}/pvrsdk/include) - set(PVRSDK_LIB_DIR ${GFX_EXTERNAL_PATH}/pvrsdk/lib/OSX_x86) - - link_libraries( - ${PVRSDK_LIB_DIR}/libEGL.dylib - ${PVRSDK_LIB_DIR}/libGLESv2.dylib - ) -endif() - include_directories( ${INCLUDE_FILES} ) # --------------------------------------------------------------------- @@ -89,7 +64,6 @@ else() endif() target_link_libraries(${TARGET_NAME} Core) -target_include_directories(${TARGET_NAME} PUBLIC ${GFX_EXTERNAL_PATH}/khronos) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLES2) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES2_d) diff --git a/native/cocos/renderer/gfx-gles2/gles2w.c b/native/cocos/renderer/gfx-gles2/gles2w.c deleted file mode 100755 index 05914cbc96..0000000000 --- a/native/cocos/renderer/gfx-gles2/gles2w.c +++ /dev/null @@ -1,802 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "gles2w.h" - -#if defined(_WIN32) && !defined(ANDROID) - #define WIN32_LEAN_AND_MEAN 1 - #include - #include - -static HMODULE libgl; - -static int open_libgl(void) { - libgl = LoadLibraryA("libGLESv2.dll"); - return (libgl != NULL); -} - -static void close_libgl(void) { - FreeLibrary(libgl); -} - -static void *get_proc(const char *proc) { - void *res; - - res = (void *)eglGetProcAddress(proc); - if (!res) - res = (void *)GetProcAddress(libgl, proc); - return res; -} -#elif defined(__APPLE__) || defined(__APPLE_CC__) - #import - #import - #import - #import - #import - -// Routine to run a system command and retrieve the output. -// From http://stackoverflow.com/questions/478898/how-to-execute-a-command-and-get-output-of-command-within-c -std::string ES2_EXEC(const char *cmd) { - FILE *pipe = popen(cmd, "r"); - if (!pipe) return "ERROR"; - char buffer[128]; - std::string result = ""; - while (!feof(pipe)) { - if (fgets(buffer, 128, pipe) != NULL) - result += buffer; - } - pclose(pipe); - return result; -} - -static CFBundleRef g_es2Bundle; -static CFURLRef g_es2BundleURL; - -static int open_libgl(void) { - CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); - NSString *sysVersion = [UIDevice currentDevice].systemVersion; - NSArray *sysVersionComponents = [sysVersion componentsSeparatedByString:@"."]; - //BOOL isSimulator = ([[UIDevice currentDevice].model rangeOfString:@"Simulator"].location != NSNotFound); - - #if TARGET_IPHONE_SIMULATOR - bool isSimulator = true; - #else - bool isSimulator = false; - #endif - if (isSimulator) { - // Ask where Xcode is installed - std::string xcodePath = "/Applications/Xcode.app/Contents/Developer\n"; - - // The result contains an end line character. Remove it. - size_t pos = xcodePath.find("\n"); - xcodePath.erase(pos); - - char tempPath[PATH_MAX]; - sprintf(tempPath, - "%s/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator%s.%s.sdk/System/Library/Frameworks/OpenGLES.framework", - xcodePath.c_str(), - [[sysVersionComponents objectAtIndex:0] cStringUsingEncoding:NSUTF8StringEncoding], - [[sysVersionComponents objectAtIndex:1] cStringUsingEncoding:NSUTF8StringEncoding]); - frameworkPath = CFStringCreateWithCString(kCFAllocatorDefault, tempPath, kCFStringEncodingUTF8); - } - - g_es2BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - frameworkPath, - kCFURLPOSIXPathStyle, true); - - CFRelease(frameworkPath); - - g_es2Bundle = CFBundleCreate(kCFAllocatorDefault, g_es2BundleURL); - - return (g_es2Bundle != NULL); -} - -static void close_libgl(void) { - CFRelease(g_es2Bundle); - CFRelease(g_es2BundleURL); -} - -static void *get_proc(const char *proc) { - void *res; - - CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, - kCFStringEncodingASCII); - res = CFBundleGetFunctionPointerForName(g_es2Bundle, procname); - CFRelease(procname); - return res; -} -#elif defined(__EMSCRIPTEN__) - #include -static void open_libgl() {} -static void close_libgl() {} -static void *get_proc(const char *proc) { - return (void *)eglGetProcAddress(proc); -} -#else - #include - #include - -static void *libgl; - -static int open_libgl(void) { - libgl = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); - return libgl != NULL; -} - -static void close_libgl(void) { - dlclose(libgl); -} - -static void *get_proc(const char *proc) { - void *res; - res = dlsym(libgl, proc); - return res; -} -#endif - -static struct { - int major, minor; -} version; - -static int parse_version(void) { - version.major = 2; - version.minor = 0; - - return 0; -} - -static void load_procs(void); - -int gles2wInit(void) { - if (!open_libgl()) { - return 0; - } - - load_procs(); - close_libgl(); - parse_version(); - - return 1; -} - -int gles2wIsSupported(int major, int minor) { - if (major < 2) - return 0; - if (version.major == major) - return version.minor >= minor; - return version.major >= major; -} - -void *gles2wGetProcAddress(const char *proc) { - return get_proc(proc); -} - -PFNGLACTIVETEXTUREPROC gles2wActiveTexture; -PFNGLATTACHSHADERPROC gles2wAttachShader; -PFNGLBINDATTRIBLOCATIONPROC gles2wBindAttribLocation; -PFNGLBINDBUFFERPROC gles2wBindBuffer; -PFNGLBINDFRAMEBUFFERPROC gles2wBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC gles2wBindRenderbuffer; -PFNGLBINDTEXTUREPROC gles2wBindTexture; -PFNGLBLENDCOLORPROC gles2wBlendColor; -PFNGLBLENDEQUATIONPROC gles2wBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC gles2wBlendEquationSeparate; -PFNGLBLENDFUNCPROC gles2wBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC gles2wBlendFuncSeparate; -PFNGLBUFFERDATAPROC gles2wBufferData; -PFNGLBUFFERSUBDATAPROC gles2wBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC gles2wCheckFramebufferStatus; -PFNGLCLEARPROC gles2wClear; -PFNGLCLEARCOLORPROC gles2wClearColor; -PFNGLCLEARDEPTHFPROC gles2wClearDepthf; -PFNGLCLEARSTENCILPROC gles2wClearStencil; -PFNGLCOLORMASKPROC gles2wColorMask; -PFNGLCOMPILESHADERPROC gles2wCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC gles2wCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC gles2wCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC gles2wCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC gles2wCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC gles2wCreateProgram; -PFNGLCREATESHADERPROC gles2wCreateShader; -PFNGLCULLFACEPROC gles2wCullFace; -PFNGLDELETEBUFFERSPROC gles2wDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC gles2wDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC gles2wDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC gles2wDeleteRenderbuffers; -PFNGLDELETESHADERPROC gles2wDeleteShader; -PFNGLDELETETEXTURESPROC gles2wDeleteTextures; -PFNGLDEPTHFUNCPROC gles2wDepthFunc; -PFNGLDEPTHMASKPROC gles2wDepthMask; -PFNGLDEPTHRANGEFPROC gles2wDepthRangef; -PFNGLDETACHSHADERPROC gles2wDetachShader; -PFNGLDISABLEPROC gles2wDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC gles2wDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC gles2wDrawArrays; -PFNGLDRAWELEMENTSPROC gles2wDrawElements; -PFNGLENABLEPROC gles2wEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC gles2wEnableVertexAttribArray; -PFNGLFINISHPROC gles2wFinish; -PFNGLFLUSHPROC gles2wFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC gles2wFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC gles2wFramebufferTexture2D; -PFNGLFRONTFACEPROC gles2wFrontFace; -PFNGLGENBUFFERSPROC gles2wGenBuffers; -PFNGLGENERATEMIPMAPPROC gles2wGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC gles2wGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC gles2wGenRenderbuffers; -PFNGLGENTEXTURESPROC gles2wGenTextures; -PFNGLGETACTIVEATTRIBPROC gles2wGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC gles2wGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC gles2wGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC gles2wGetAttribLocation; -PFNGLGETBOOLEANVPROC gles2wGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC gles2wGetBufferParameteriv; -PFNGLGETERRORPROC gles2wGetError; -PFNGLGETFLOATVPROC gles2wGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC gles2wGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC gles2wGetIntegerv; -PFNGLGETPROGRAMIVPROC gles2wGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC gles2wGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC gles2wGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC gles2wGetShaderiv; -PFNGLGETSHADERINFOLOGPROC gles2wGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC gles2wGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC gles2wGetShaderSource; -PFNGLGETSTRINGPROC gles2wGetString; -PFNGLGETTEXPARAMETERFVPROC gles2wGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC gles2wGetTexParameteriv; -PFNGLGETUNIFORMFVPROC gles2wGetUniformfv; -PFNGLGETUNIFORMIVPROC gles2wGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC gles2wGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC gles2wGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC gles2wGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC gles2wGetVertexAttribPointerv; -PFNGLHINTPROC gles2wHint; -PFNGLISBUFFERPROC gles2wIsBuffer; -PFNGLISENABLEDPROC gles2wIsEnabled; -PFNGLISFRAMEBUFFERPROC gles2wIsFramebuffer; -PFNGLISPROGRAMPROC gles2wIsProgram; -PFNGLISRENDERBUFFERPROC gles2wIsRenderbuffer; -PFNGLISSHADERPROC gles2wIsShader; -PFNGLISTEXTUREPROC gles2wIsTexture; -PFNGLLINEWIDTHPROC gles2wLineWidth; -PFNGLLINKPROGRAMPROC gles2wLinkProgram; -PFNGLPIXELSTOREIPROC gles2wPixelStorei; -PFNGLPOLYGONOFFSETPROC gles2wPolygonOffset; -PFNGLREADPIXELSPROC gles2wReadPixels; -PFNGLRELEASESHADERCOMPILERPROC gles2wReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC gles2wRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC gles2wSampleCoverage; -PFNGLSCISSORPROC gles2wScissor; -PFNGLSHADERBINARYPROC gles2wShaderBinary; -PFNGLSHADERSOURCEPROC gles2wShaderSource; -PFNGLSTENCILFUNCPROC gles2wStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC gles2wStencilFuncSeparate; -PFNGLSTENCILMASKPROC gles2wStencilMask; -PFNGLSTENCILMASKSEPARATEPROC gles2wStencilMaskSeparate; -PFNGLSTENCILOPPROC gles2wStencilOp; -PFNGLSTENCILOPSEPARATEPROC gles2wStencilOpSeparate; -PFNGLTEXIMAGE2DPROC gles2wTexImage2D; -PFNGLTEXPARAMETERFPROC gles2wTexParameterf; -PFNGLTEXPARAMETERFVPROC gles2wTexParameterfv; -PFNGLTEXPARAMETERIPROC gles2wTexParameteri; -PFNGLTEXPARAMETERIVPROC gles2wTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC gles2wTexSubImage2D; -PFNGLUNIFORM1FPROC gles2wUniform1f; -PFNGLUNIFORM1FVPROC gles2wUniform1fv; -PFNGLUNIFORM1IPROC gles2wUniform1i; -PFNGLUNIFORM1IVPROC gles2wUniform1iv; -PFNGLUNIFORM2FPROC gles2wUniform2f; -PFNGLUNIFORM2FVPROC gles2wUniform2fv; -PFNGLUNIFORM2IPROC gles2wUniform2i; -PFNGLUNIFORM2IVPROC gles2wUniform2iv; -PFNGLUNIFORM3FPROC gles2wUniform3f; -PFNGLUNIFORM3FVPROC gles2wUniform3fv; -PFNGLUNIFORM3IPROC gles2wUniform3i; -PFNGLUNIFORM3IVPROC gles2wUniform3iv; -PFNGLUNIFORM4FPROC gles2wUniform4f; -PFNGLUNIFORM4FVPROC gles2wUniform4fv; -PFNGLUNIFORM4IPROC gles2wUniform4i; -PFNGLUNIFORM4IVPROC gles2wUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC gles2wUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC gles2wUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC gles2wUniformMatrix4fv; -PFNGLUSEPROGRAMPROC gles2wUseProgram; -PFNGLVALIDATEPROGRAMPROC gles2wValidateProgram; -PFNGLVERTEXATTRIB1FPROC gles2wVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC gles2wVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC gles2wVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC gles2wVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC gles2wVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC gles2wVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC gles2wVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC gles2wVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC gles2wVertexAttribPointer; -PFNGLVIEWPORTPROC gles2wViewport; -PFNGLEGLIMAGETARGETTEXTURE2DOESPROC gles2wEGLImageTargetTexture2DOES; -PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC gles2wEGLImageTargetRenderbufferStorageOES; -PFNGLGETPROGRAMBINARYOESPROC gles2wGetProgramBinaryOES; -PFNGLPROGRAMBINARYOESPROC gles2wProgramBinaryOES; -PFNGLMAPBUFFEROESPROC gles2wMapBufferOES; -PFNGLUNMAPBUFFEROESPROC gles2wUnmapBufferOES; -PFNGLGETBUFFERPOINTERVOESPROC gles2wGetBufferPointervOES; -PFNGLTEXIMAGE3DOESPROC gles2wTexImage3DOES; -PFNGLTEXSUBIMAGE3DOESPROC gles2wTexSubImage3DOES; -PFNGLCOPYTEXSUBIMAGE3DOESPROC gles2wCopyTexSubImage3DOES; -PFNGLCOMPRESSEDTEXIMAGE3DOESPROC gles2wCompressedTexImage3DOES; -PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC gles2wCompressedTexSubImage3DOES; -PFNGLFRAMEBUFFERTEXTURE3DOESPROC gles2wFramebufferTexture3DOES; -PFNGLBINDVERTEXARRAYOESPROC gles2wBindVertexArrayOES; -PFNGLDELETEVERTEXARRAYSOESPROC gles2wDeleteVertexArraysOES; -PFNGLGENVERTEXARRAYSOESPROC gles2wGenVertexArraysOES; -PFNGLISVERTEXARRAYOESPROC gles2wIsVertexArrayOES; -PFNGLDEBUGMESSAGECONTROLKHRPROC gles2wDebugMessageControlKHR; -PFNGLDEBUGMESSAGEINSERTKHRPROC gles2wDebugMessageInsertKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC gles2wDebugMessageCallbackKHR; -PFNGLGETDEBUGMESSAGELOGKHRPROC gles2wGetDebugMessageLogKHR; -PFNGLPUSHDEBUGGROUPKHRPROC gles2wPushDebugGroupKHR; -PFNGLPOPDEBUGGROUPKHRPROC gles2wPopDebugGroupKHR; -PFNGLOBJECTLABELKHRPROC gles2wObjectLabelKHR; -PFNGLGETOBJECTLABELKHRPROC gles2wGetObjectLabelKHR; -PFNGLOBJECTPTRLABELKHRPROC gles2wObjectPtrLabelKHR; -PFNGLGETOBJECTPTRLABELKHRPROC gles2wGetObjectPtrLabelKHR; -PFNGLGETPOINTERVKHRPROC gles2wGetPointervKHR; -PFNGLGETPERFMONITORGROUPSAMDPROC gles2wGetPerfMonitorGroupsAMD; -PFNGLGETPERFMONITORCOUNTERSAMDPROC gles2wGetPerfMonitorCountersAMD; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC gles2wGetPerfMonitorGroupStringAMD; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC gles2wGetPerfMonitorCounterStringAMD; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC gles2wGetPerfMonitorCounterInfoAMD; -PFNGLGENPERFMONITORSAMDPROC gles2wGenPerfMonitorsAMD; -PFNGLDELETEPERFMONITORSAMDPROC gles2wDeletePerfMonitorsAMD; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC gles2wSelectPerfMonitorCountersAMD; -PFNGLBEGINPERFMONITORAMDPROC gles2wBeginPerfMonitorAMD; -PFNGLENDPERFMONITORAMDPROC gles2wEndPerfMonitorAMD; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC gles2wGetPerfMonitorCounterDataAMD; -PFNGLBLITFRAMEBUFFERANGLEPROC gles2wBlitFramebufferANGLE; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC gles2wRenderbufferStorageMultisampleANGLE; -PFNGLDRAWARRAYSINSTANCEDANGLEPROC gles2wDrawArraysInstancedANGLE; -PFNGLDRAWELEMENTSINSTANCEDANGLEPROC gles2wDrawElementsInstancedANGLE; -PFNGLVERTEXATTRIBDIVISORANGLEPROC gles2wVertexAttribDivisorANGLE; -PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC gles2wGetTranslatedShaderSourceANGLE; -PFNGLDRAWARRAYSINSTANCEDEXTPROC gles2wDrawArraysInstancedEXT; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC gles2wDrawElementsInstancedEXT; -PFNGLVERTEXATTRIBDIVISOREXTPROC gles2wVertexAttribDivisorEXT; -PFNGLCOPYTEXTURELEVELSAPPLEPROC gles2wCopyTextureLevelsAPPLE; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC gles2wRenderbufferStorageMultisampleAPPLE; -PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC gles2wResolveMultisampleFramebufferAPPLE; -PFNGLFENCESYNCAPPLEPROC gles2wFenceSyncAPPLE; -PFNGLISSYNCAPPLEPROC gles2wIsSyncAPPLE; -PFNGLDELETESYNCAPPLEPROC gles2wDeleteSyncAPPLE; -PFNGLCLIENTWAITSYNCAPPLEPROC gles2wClientWaitSyncAPPLE; -PFNGLWAITSYNCAPPLEPROC gles2wWaitSyncAPPLE; -PFNGLGETINTEGER64VAPPLEPROC gles2wGetInteger64vAPPLE; -PFNGLGETSYNCIVAPPLEPROC gles2wGetSyncivAPPLE; -PFNGLLABELOBJECTEXTPROC gles2wLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC gles2wGetObjectLabelEXT; -PFNGLINSERTEVENTMARKEREXTPROC gles2wInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC gles2wPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC gles2wPopGroupMarkerEXT; -PFNGLDISCARDFRAMEBUFFEREXTPROC gles2wDiscardFramebufferEXT; -PFNGLGENQUERIESEXTPROC gles2wGenQueriesEXT; -PFNGLDELETEQUERIESEXTPROC gles2wDeleteQueriesEXT; -PFNGLISQUERYEXTPROC gles2wIsQueryEXT; -PFNGLBEGINQUERYEXTPROC gles2wBeginQueryEXT; -PFNGLENDQUERYEXTPROC gles2wEndQueryEXT; -PFNGLQUERYCOUNTEREXTPROC gles2wQueryCounterEXT; -PFNGLGETQUERYIVEXTPROC gles2wGetQueryivEXT; -PFNGLGETQUERYOBJECTIVEXTPROC gles2wGetQueryObjectivEXT; -PFNGLGETQUERYOBJECTUIVEXTPROC gles2wGetQueryObjectuivEXT; -PFNGLGETQUERYOBJECTI64VEXTPROC gles2wGetQueryObjecti64vEXT; -PFNGLGETQUERYOBJECTUI64VEXTPROC gles2wGetQueryObjectui64vEXT; -PFNGLMAPBUFFERRANGEEXTPROC gles2wMapBufferRangeEXT; -PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC gles2wFlushMappedBufferRangeEXT; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC gles2wRenderbufferStorageMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC gles2wFramebufferTexture2DMultisampleEXT; -PFNGLREADBUFFERINDEXEDEXTPROC gles2wReadBufferIndexedEXT; -PFNGLDRAWBUFFERSINDEXEDEXTPROC gles2wDrawBuffersIndexedEXT; -PFNGLGETINTEGERI_VEXTPROC gles2wGetIntegeri_vEXT; -PFNGLMULTIDRAWARRAYSEXTPROC gles2wMultiDrawArraysEXT; -PFNGLMULTIDRAWELEMENTSEXTPROC gles2wMultiDrawElementsEXT; -PFNGLGETGRAPHICSRESETSTATUSEXTPROC gles2wGetGraphicsResetStatusEXT; -PFNGLREADNPIXELSEXTPROC gles2wReadnPixelsEXT; -PFNGLGETNUNIFORMFVEXTPROC gles2wGetnUniformfvEXT; -PFNGLGETNUNIFORMIVEXTPROC gles2wGetnUniformivEXT; -PFNGLUSEPROGRAMSTAGESEXTPROC gles2wUseProgramStagesEXT; -PFNGLACTIVESHADERPROGRAMEXTPROC gles2wActiveShaderProgramEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC gles2wCreateShaderProgramvEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC gles2wBindProgramPipelineEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC gles2wDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC gles2wGenProgramPipelinesEXT; -PFNGLISPROGRAMPIPELINEEXTPROC gles2wIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC gles2wProgramParameteriEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC gles2wGetProgramPipelineivEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC gles2wProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC gles2wProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC gles2wProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC gles2wProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC gles2wProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC gles2wProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC gles2wProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC gles2wProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC gles2wProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC gles2wProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC gles2wProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC gles2wProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC gles2wProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC gles2wProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC gles2wProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC gles2wProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC gles2wProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC gles2wProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC gles2wProgramUniformMatrix4fvEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC gles2wValidateProgramPipelineEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC gles2wGetProgramPipelineInfoLogEXT; -PFNGLTEXSTORAGE1DEXTPROC gles2wTexStorage1DEXT; -PFNGLTEXSTORAGE2DEXTPROC gles2wTexStorage2DEXT; -PFNGLTEXSTORAGE3DEXTPROC gles2wTexStorage3DEXT; -PFNGLTEXTURESTORAGE1DEXTPROC gles2wTextureStorage1DEXT; -PFNGLTEXTURESTORAGE2DEXTPROC gles2wTextureStorage2DEXT; -PFNGLTEXTURESTORAGE3DEXTPROC gles2wTextureStorage3DEXT; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC gles2wRenderbufferStorageMultisampleIMG; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC gles2wFramebufferTexture2DMultisampleIMG; -PFNGLCOVERAGEMASKNVPROC gles2wCoverageMaskNV; -PFNGLCOVERAGEOPERATIONNVPROC gles2wCoverageOperationNV; -PFNGLDRAWBUFFERSNVPROC gles2wDrawBuffersNV; -PFNGLDRAWARRAYSINSTANCEDNVPROC gles2wDrawArraysInstancedNV; -PFNGLDRAWELEMENTSINSTANCEDNVPROC gles2wDrawElementsInstancedNV; -PFNGLDELETEFENCESNVPROC gles2wDeleteFencesNV; -PFNGLGENFENCESNVPROC gles2wGenFencesNV; -PFNGLISFENCENVPROC gles2wIsFenceNV; -PFNGLTESTFENCENVPROC gles2wTestFenceNV; -PFNGLGETFENCEIVNVPROC gles2wGetFenceivNV; -PFNGLFINISHFENCENVPROC gles2wFinishFenceNV; -PFNGLSETFENCENVPROC gles2wSetFenceNV; -PFNGLBLITFRAMEBUFFERNVPROC gles2wBlitFramebufferNV; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC gles2wRenderbufferStorageMultisampleNV; -PFNGLVERTEXATTRIBDIVISORNVPROC gles2wVertexAttribDivisorNV; -PFNGLREADBUFFERNVPROC gles2wReadBufferNV; -PFNGLALPHAFUNCQCOMPROC gles2wAlphaFuncQCOM; -PFNGLGETDRIVERCONTROLSQCOMPROC gles2wGetDriverControlsQCOM; -PFNGLGETDRIVERCONTROLSTRINGQCOMPROC gles2wGetDriverControlStringQCOM; -PFNGLENABLEDRIVERCONTROLQCOMPROC gles2wEnableDriverControlQCOM; -PFNGLDISABLEDRIVERCONTROLQCOMPROC gles2wDisableDriverControlQCOM; -PFNGLEXTGETTEXTURESQCOMPROC gles2wExtGetTexturesQCOM; -PFNGLEXTGETBUFFERSQCOMPROC gles2wExtGetBuffersQCOM; -PFNGLEXTGETRENDERBUFFERSQCOMPROC gles2wExtGetRenderbuffersQCOM; -PFNGLEXTGETFRAMEBUFFERSQCOMPROC gles2wExtGetFramebuffersQCOM; -PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC gles2wExtGetTexLevelParameterivQCOM; -PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC gles2wExtTexObjectStateOverrideiQCOM; -PFNGLEXTGETTEXSUBIMAGEQCOMPROC gles2wExtGetTexSubImageQCOM; -PFNGLEXTGETBUFFERPOINTERVQCOMPROC gles2wExtGetBufferPointervQCOM; -PFNGLEXTGETSHADERSQCOMPROC gles2wExtGetShadersQCOM; -PFNGLEXTGETPROGRAMSQCOMPROC gles2wExtGetProgramsQCOM; -PFNGLEXTISPROGRAMBINARYQCOMPROC gles2wExtIsProgramBinaryQCOM; -PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC gles2wExtGetProgramBinarySourceQCOM; -PFNGLSTARTTILINGQCOMPROC gles2wStartTilingQCOM; -PFNGLENDTILINGQCOMPROC gles2wEndTilingQCOM; - -static void load_procs(void) { - gles2wActiveTexture = (PFNGLACTIVETEXTUREPROC)get_proc("glActiveTexture"); - gles2wAttachShader = (PFNGLATTACHSHADERPROC)get_proc("glAttachShader"); - gles2wBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)get_proc("glBindAttribLocation"); - gles2wBindBuffer = (PFNGLBINDBUFFERPROC)get_proc("glBindBuffer"); - gles2wBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)get_proc("glBindFramebuffer"); - gles2wBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)get_proc("glBindRenderbuffer"); - gles2wBindTexture = (PFNGLBINDTEXTUREPROC)get_proc("glBindTexture"); - gles2wBlendColor = (PFNGLBLENDCOLORPROC)get_proc("glBlendColor"); - gles2wBlendEquation = (PFNGLBLENDEQUATIONPROC)get_proc("glBlendEquation"); - gles2wBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)get_proc("glBlendEquationSeparate"); - gles2wBlendFunc = (PFNGLBLENDFUNCPROC)get_proc("glBlendFunc"); - gles2wBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)get_proc("glBlendFuncSeparate"); - gles2wBufferData = (PFNGLBUFFERDATAPROC)get_proc("glBufferData"); - gles2wBufferSubData = (PFNGLBUFFERSUBDATAPROC)get_proc("glBufferSubData"); - gles2wCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)get_proc("glCheckFramebufferStatus"); - gles2wClear = (PFNGLCLEARPROC)get_proc("glClear"); - gles2wClearColor = (PFNGLCLEARCOLORPROC)get_proc("glClearColor"); - gles2wClearDepthf = (PFNGLCLEARDEPTHFPROC)get_proc("glClearDepthf"); - gles2wClearStencil = (PFNGLCLEARSTENCILPROC)get_proc("glClearStencil"); - gles2wColorMask = (PFNGLCOLORMASKPROC)get_proc("glColorMask"); - gles2wCompileShader = (PFNGLCOMPILESHADERPROC)get_proc("glCompileShader"); - gles2wCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)get_proc("glCompressedTexImage2D"); - gles2wCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)get_proc("glCompressedTexSubImage2D"); - gles2wCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)get_proc("glCopyTexImage2D"); - gles2wCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)get_proc("glCopyTexSubImage2D"); - gles2wCreateProgram = (PFNGLCREATEPROGRAMPROC)get_proc("glCreateProgram"); - gles2wCreateShader = (PFNGLCREATESHADERPROC)get_proc("glCreateShader"); - gles2wCullFace = (PFNGLCULLFACEPROC)get_proc("glCullFace"); - gles2wDeleteBuffers = (PFNGLDELETEBUFFERSPROC)get_proc("glDeleteBuffers"); - gles2wDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)get_proc("glDeleteFramebuffers"); - gles2wDeleteProgram = (PFNGLDELETEPROGRAMPROC)get_proc("glDeleteProgram"); - gles2wDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)get_proc("glDeleteRenderbuffers"); - gles2wDeleteShader = (PFNGLDELETESHADERPROC)get_proc("glDeleteShader"); - gles2wDeleteTextures = (PFNGLDELETETEXTURESPROC)get_proc("glDeleteTextures"); - gles2wDepthFunc = (PFNGLDEPTHFUNCPROC)get_proc("glDepthFunc"); - gles2wDepthMask = (PFNGLDEPTHMASKPROC)get_proc("glDepthMask"); - gles2wDepthRangef = (PFNGLDEPTHRANGEFPROC)get_proc("glDepthRangef"); - gles2wDetachShader = (PFNGLDETACHSHADERPROC)get_proc("glDetachShader"); - gles2wDisable = (PFNGLDISABLEPROC)get_proc("glDisable"); - gles2wDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)get_proc("glDisableVertexAttribArray"); - gles2wDrawArrays = (PFNGLDRAWARRAYSPROC)get_proc("glDrawArrays"); - gles2wDrawElements = (PFNGLDRAWELEMENTSPROC)get_proc("glDrawElements"); - gles2wEnable = (PFNGLENABLEPROC)get_proc("glEnable"); - gles2wEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)get_proc("glEnableVertexAttribArray"); - gles2wFinish = (PFNGLFINISHPROC)get_proc("glFinish"); - gles2wFlush = (PFNGLFLUSHPROC)get_proc("glFlush"); - gles2wFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)get_proc("glFramebufferRenderbuffer"); - gles2wFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)get_proc("glFramebufferTexture2D"); - gles2wFrontFace = (PFNGLFRONTFACEPROC)get_proc("glFrontFace"); - gles2wGenBuffers = (PFNGLGENBUFFERSPROC)get_proc("glGenBuffers"); - gles2wGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)get_proc("glGenerateMipmap"); - gles2wGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)get_proc("glGenFramebuffers"); - gles2wGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)get_proc("glGenRenderbuffers"); - gles2wGenTextures = (PFNGLGENTEXTURESPROC)get_proc("glGenTextures"); - gles2wGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)get_proc("glGetActiveAttrib"); - gles2wGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)get_proc("glGetActiveUniform"); - gles2wGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)get_proc("glGetAttachedShaders"); - gles2wGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)get_proc("glGetAttribLocation"); - gles2wGetBooleanv = (PFNGLGETBOOLEANVPROC)get_proc("glGetBooleanv"); - gles2wGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)get_proc("glGetBufferParameteriv"); - gles2wGetError = (PFNGLGETERRORPROC)get_proc("glGetError"); - gles2wGetFloatv = (PFNGLGETFLOATVPROC)get_proc("glGetFloatv"); - gles2wGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)get_proc("glGetFramebufferAttachmentParameteriv"); - gles2wGetIntegerv = (PFNGLGETINTEGERVPROC)get_proc("glGetIntegerv"); - gles2wGetProgramiv = (PFNGLGETPROGRAMIVPROC)get_proc("glGetProgramiv"); - gles2wGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)get_proc("glGetProgramInfoLog"); - gles2wGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)get_proc("glGetRenderbufferParameteriv"); - gles2wGetShaderiv = (PFNGLGETSHADERIVPROC)get_proc("glGetShaderiv"); - gles2wGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)get_proc("glGetShaderInfoLog"); - gles2wGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)get_proc("glGetShaderPrecisionFormat"); - gles2wGetShaderSource = (PFNGLGETSHADERSOURCEPROC)get_proc("glGetShaderSource"); - gles2wGetString = (PFNGLGETSTRINGPROC)get_proc("glGetString"); - gles2wGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)get_proc("glGetTexParameterfv"); - gles2wGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)get_proc("glGetTexParameteriv"); - gles2wGetUniformfv = (PFNGLGETUNIFORMFVPROC)get_proc("glGetUniformfv"); - gles2wGetUniformiv = (PFNGLGETUNIFORMIVPROC)get_proc("glGetUniformiv"); - gles2wGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)get_proc("glGetUniformLocation"); - gles2wGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)get_proc("glGetVertexAttribfv"); - gles2wGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)get_proc("glGetVertexAttribiv"); - gles2wGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)get_proc("glGetVertexAttribPointerv"); - gles2wHint = (PFNGLHINTPROC)get_proc("glHint"); - gles2wIsBuffer = (PFNGLISBUFFERPROC)get_proc("glIsBuffer"); - gles2wIsEnabled = (PFNGLISENABLEDPROC)get_proc("glIsEnabled"); - gles2wIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)get_proc("glIsFramebuffer"); - gles2wIsProgram = (PFNGLISPROGRAMPROC)get_proc("glIsProgram"); - gles2wIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)get_proc("glIsRenderbuffer"); - gles2wIsShader = (PFNGLISSHADERPROC)get_proc("glIsShader"); - gles2wIsTexture = (PFNGLISTEXTUREPROC)get_proc("glIsTexture"); - gles2wLineWidth = (PFNGLLINEWIDTHPROC)get_proc("glLineWidth"); - gles2wLinkProgram = (PFNGLLINKPROGRAMPROC)get_proc("glLinkProgram"); - gles2wPixelStorei = (PFNGLPIXELSTOREIPROC)get_proc("glPixelStorei"); - gles2wPolygonOffset = (PFNGLPOLYGONOFFSETPROC)get_proc("glPolygonOffset"); - gles2wReadPixels = (PFNGLREADPIXELSPROC)get_proc("glReadPixels"); - gles2wReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)get_proc("glReleaseShaderCompiler"); - gles2wRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)get_proc("glRenderbufferStorage"); - gles2wSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)get_proc("glSampleCoverage"); - gles2wScissor = (PFNGLSCISSORPROC)get_proc("glScissor"); - gles2wShaderBinary = (PFNGLSHADERBINARYPROC)get_proc("glShaderBinary"); - gles2wShaderSource = (PFNGLSHADERSOURCEPROC)get_proc("glShaderSource"); - gles2wStencilFunc = (PFNGLSTENCILFUNCPROC)get_proc("glStencilFunc"); - gles2wStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)get_proc("glStencilFuncSeparate"); - gles2wStencilMask = (PFNGLSTENCILMASKPROC)get_proc("glStencilMask"); - gles2wStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)get_proc("glStencilMaskSeparate"); - gles2wStencilOp = (PFNGLSTENCILOPPROC)get_proc("glStencilOp"); - gles2wStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)get_proc("glStencilOpSeparate"); - gles2wTexImage2D = (PFNGLTEXIMAGE2DPROC)get_proc("glTexImage2D"); - gles2wTexParameterf = (PFNGLTEXPARAMETERFPROC)get_proc("glTexParameterf"); - gles2wTexParameterfv = (PFNGLTEXPARAMETERFVPROC)get_proc("glTexParameterfv"); - gles2wTexParameteri = (PFNGLTEXPARAMETERIPROC)get_proc("glTexParameteri"); - gles2wTexParameteriv = (PFNGLTEXPARAMETERIVPROC)get_proc("glTexParameteriv"); - gles2wTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)get_proc("glTexSubImage2D"); - gles2wUniform1f = (PFNGLUNIFORM1FPROC)get_proc("glUniform1f"); - gles2wUniform1fv = (PFNGLUNIFORM1FVPROC)get_proc("glUniform1fv"); - gles2wUniform1i = (PFNGLUNIFORM1IPROC)get_proc("glUniform1i"); - gles2wUniform1iv = (PFNGLUNIFORM1IVPROC)get_proc("glUniform1iv"); - gles2wUniform2f = (PFNGLUNIFORM2FPROC)get_proc("glUniform2f"); - gles2wUniform2fv = (PFNGLUNIFORM2FVPROC)get_proc("glUniform2fv"); - gles2wUniform2i = (PFNGLUNIFORM2IPROC)get_proc("glUniform2i"); - gles2wUniform2iv = (PFNGLUNIFORM2IVPROC)get_proc("glUniform2iv"); - gles2wUniform3f = (PFNGLUNIFORM3FPROC)get_proc("glUniform3f"); - gles2wUniform3fv = (PFNGLUNIFORM3FVPROC)get_proc("glUniform3fv"); - gles2wUniform3i = (PFNGLUNIFORM3IPROC)get_proc("glUniform3i"); - gles2wUniform3iv = (PFNGLUNIFORM3IVPROC)get_proc("glUniform3iv"); - gles2wUniform4f = (PFNGLUNIFORM4FPROC)get_proc("glUniform4f"); - gles2wUniform4fv = (PFNGLUNIFORM4FVPROC)get_proc("glUniform4fv"); - gles2wUniform4i = (PFNGLUNIFORM4IPROC)get_proc("glUniform4i"); - gles2wUniform4iv = (PFNGLUNIFORM4IVPROC)get_proc("glUniform4iv"); - gles2wUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)get_proc("glUniformMatrix2fv"); - gles2wUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)get_proc("glUniformMatrix3fv"); - gles2wUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)get_proc("glUniformMatrix4fv"); - gles2wUseProgram = (PFNGLUSEPROGRAMPROC)get_proc("glUseProgram"); - gles2wValidateProgram = (PFNGLVALIDATEPROGRAMPROC)get_proc("glValidateProgram"); - gles2wVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)get_proc("glVertexAttrib1f"); - gles2wVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)get_proc("glVertexAttrib1fv"); - gles2wVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)get_proc("glVertexAttrib2f"); - gles2wVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)get_proc("glVertexAttrib2fv"); - gles2wVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)get_proc("glVertexAttrib3f"); - gles2wVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)get_proc("glVertexAttrib3fv"); - gles2wVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)get_proc("glVertexAttrib4f"); - gles2wVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)get_proc("glVertexAttrib4fv"); - gles2wVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)get_proc("glVertexAttribPointer"); - gles2wViewport = (PFNGLVIEWPORTPROC)get_proc("glViewport"); - gles2wEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)get_proc("glEGLImageTargetTexture2DOES"); - gles2wEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)get_proc("glEGLImageTargetRenderbufferStorageOES"); - gles2wGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)get_proc("glGetProgramBinaryOES"); - gles2wProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)get_proc("glProgramBinaryOES"); - gles2wMapBufferOES = (PFNGLMAPBUFFEROESPROC)get_proc("glMapBufferOES"); - gles2wUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)get_proc("glUnmapBufferOES"); - gles2wGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)get_proc("glGetBufferPointervOES"); - gles2wTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)get_proc("glTexImage3DOES"); - gles2wTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)get_proc("glTexSubImage3DOES"); - gles2wCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)get_proc("glCopyTexSubImage3DOES"); - gles2wCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)get_proc("glCompressedTexImage3DOES"); - gles2wCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)get_proc("glCompressedTexSubImage3DOES"); - gles2wFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)get_proc("glFramebufferTexture3DOES"); - gles2wBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)get_proc("glBindVertexArrayOES"); - gles2wDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)get_proc("glDeleteVertexArraysOES"); - gles2wGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)get_proc("glGenVertexArraysOES"); - gles2wIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)get_proc("glIsVertexArrayOES"); - gles2wDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)get_proc("glDebugMessageControlKHR"); - gles2wDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)get_proc("glDebugMessageInsertKHR"); - gles2wDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)get_proc("glDebugMessageCallbackKHR"); - gles2wGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)get_proc("glGetDebugMessageLogKHR"); - gles2wPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)get_proc("glPushDebugGroupKHR"); - gles2wPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)get_proc("glPopDebugGroupKHR"); - gles2wObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)get_proc("glObjectLabelKHR"); - gles2wGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)get_proc("glGetObjectLabelKHR"); - gles2wObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)get_proc("glObjectPtrLabelKHR"); - gles2wGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)get_proc("glGetObjectPtrLabelKHR"); - gles2wGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)get_proc("glGetPointervKHR"); - gles2wGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)get_proc("glGetPerfMonitorGroupsAMD"); - gles2wGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)get_proc("glGetPerfMonitorCountersAMD"); - gles2wGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)get_proc("glGetPerfMonitorGroupStringAMD"); - gles2wGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)get_proc("glGetPerfMonitorCounterStringAMD"); - gles2wGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)get_proc("glGetPerfMonitorCounterInfoAMD"); - gles2wGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)get_proc("glGenPerfMonitorsAMD"); - gles2wDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)get_proc("glDeletePerfMonitorsAMD"); - gles2wSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)get_proc("glSelectPerfMonitorCountersAMD"); - gles2wBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)get_proc("glBeginPerfMonitorAMD"); - gles2wEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)get_proc("glEndPerfMonitorAMD"); - gles2wGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)get_proc("glGetPerfMonitorCounterDataAMD"); - gles2wBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)get_proc("glBlitFramebufferANGLE"); - gles2wRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)get_proc("glRenderbufferStorageMultisampleANGLE"); - gles2wDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)get_proc("glDrawArraysInstancedANGLE"); - gles2wDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)get_proc("glDrawElementsInstancedANGLE"); - gles2wVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)get_proc("glVertexAttribDivisorANGLE"); - gles2wGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)get_proc("glGetTranslatedShaderSourceANGLE"); - gles2wDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)get_proc("glDrawArraysInstancedEXT"); - gles2wDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)get_proc("glDrawElementsInstancedEXT"); - gles2wVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)get_proc("glVertexAttribDivisorEXT"); - gles2wCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)get_proc("glCopyTextureLevelsAPPLE"); - gles2wRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)get_proc("glRenderbufferStorageMultisampleAPPLE"); - gles2wResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)get_proc("glResolveMultisampleFramebufferAPPLE"); - gles2wFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)get_proc("glFenceSyncAPPLE"); - gles2wIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)get_proc("glIsSyncAPPLE"); - gles2wDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)get_proc("glDeleteSyncAPPLE"); - gles2wClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)get_proc("glClientWaitSyncAPPLE"); - gles2wWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)get_proc("glWaitSyncAPPLE"); - gles2wGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)get_proc("glGetInteger64vAPPLE"); - gles2wGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)get_proc("glGetSyncivAPPLE"); - gles2wLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)get_proc("glLabelObjectEXT"); - gles2wGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)get_proc("glGetObjectLabelEXT"); - gles2wInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)get_proc("glInsertEventMarkerEXT"); - gles2wPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)get_proc("glPushGroupMarkerEXT"); - gles2wPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)get_proc("glPopGroupMarkerEXT"); - gles2wDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)get_proc("glDiscardFramebufferEXT"); - gles2wGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)get_proc("glGenQueriesEXT"); - gles2wDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)get_proc("glDeleteQueriesEXT"); - gles2wIsQueryEXT = (PFNGLISQUERYEXTPROC)get_proc("glIsQueryEXT"); - gles2wBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)get_proc("glBeginQueryEXT"); - gles2wEndQueryEXT = (PFNGLENDQUERYEXTPROC)get_proc("glEndQueryEXT"); - gles2wQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)get_proc("glQueryCounterEXT"); - gles2wGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)get_proc("glGetQueryivEXT"); - gles2wGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)get_proc("glGetQueryObjectivEXT"); - gles2wGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)get_proc("glGetQueryObjectuivEXT"); - gles2wGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)get_proc("glGetQueryObjecti64vEXT"); - gles2wGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)get_proc("glGetQueryObjectui64vEXT"); - gles2wMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)get_proc("glMapBufferRangeEXT"); - gles2wFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)get_proc("glFlushMappedBufferRangeEXT"); - gles2wRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)get_proc("glRenderbufferStorageMultisampleEXT"); - gles2wFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)get_proc("glFramebufferTexture2DMultisampleEXT"); - gles2wReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)get_proc("glReadBufferIndexedEXT"); - gles2wDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)get_proc("glDrawBuffersIndexedEXT"); - gles2wGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)get_proc("glGetIntegeri_vEXT"); - gles2wMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)get_proc("glMultiDrawArraysEXT"); - gles2wMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)get_proc("glMultiDrawElementsEXT"); - gles2wGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)get_proc("glGetGraphicsResetStatusEXT"); - gles2wReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)get_proc("glReadnPixelsEXT"); - gles2wGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)get_proc("glGetnUniformfvEXT"); - gles2wGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)get_proc("glGetnUniformivEXT"); - gles2wUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)get_proc("glUseProgramStagesEXT"); - gles2wActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)get_proc("glActiveShaderProgramEXT"); - gles2wCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)get_proc("glCreateShaderProgramvEXT"); - gles2wBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)get_proc("glBindProgramPipelineEXT"); - gles2wDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)get_proc("glDeleteProgramPipelinesEXT"); - gles2wGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)get_proc("glGenProgramPipelinesEXT"); - gles2wIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)get_proc("glIsProgramPipelineEXT"); - gles2wProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)get_proc("glProgramParameteriEXT"); - gles2wGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)get_proc("glGetProgramPipelineivEXT"); - gles2wProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)get_proc("glProgramUniform1iEXT"); - gles2wProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)get_proc("glProgramUniform2iEXT"); - gles2wProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)get_proc("glProgramUniform3iEXT"); - gles2wProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)get_proc("glProgramUniform4iEXT"); - gles2wProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)get_proc("glProgramUniform1fEXT"); - gles2wProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)get_proc("glProgramUniform2fEXT"); - gles2wProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)get_proc("glProgramUniform3fEXT"); - gles2wProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)get_proc("glProgramUniform4fEXT"); - gles2wProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)get_proc("glProgramUniform1ivEXT"); - gles2wProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)get_proc("glProgramUniform2ivEXT"); - gles2wProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)get_proc("glProgramUniform3ivEXT"); - gles2wProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)get_proc("glProgramUniform4ivEXT"); - gles2wProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)get_proc("glProgramUniform1fvEXT"); - gles2wProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)get_proc("glProgramUniform2fvEXT"); - gles2wProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)get_proc("glProgramUniform3fvEXT"); - gles2wProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)get_proc("glProgramUniform4fvEXT"); - gles2wProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)get_proc("glProgramUniformMatrix2fvEXT"); - gles2wProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)get_proc("glProgramUniformMatrix3fvEXT"); - gles2wProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)get_proc("glProgramUniformMatrix4fvEXT"); - gles2wValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)get_proc("glValidateProgramPipelineEXT"); - gles2wGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)get_proc("glGetProgramPipelineInfoLogEXT"); - gles2wTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)get_proc("glTexStorage1DEXT"); - gles2wTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)get_proc("glTexStorage2DEXT"); - gles2wTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)get_proc("glTexStorage3DEXT"); - gles2wTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)get_proc("glTextureStorage1DEXT"); - gles2wTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)get_proc("glTextureStorage2DEXT"); - gles2wTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)get_proc("glTextureStorage3DEXT"); - gles2wRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)get_proc("glRenderbufferStorageMultisampleIMG"); - gles2wFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)get_proc("glFramebufferTexture2DMultisampleIMG"); - gles2wCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)get_proc("glCoverageMaskNV"); - gles2wCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)get_proc("glCoverageOperationNV"); - gles2wDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)get_proc("glDrawBuffersNV"); - gles2wDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)get_proc("glDrawArraysInstancedNV"); - gles2wDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)get_proc("glDrawElementsInstancedNV"); - gles2wDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)get_proc("glDeleteFencesNV"); - gles2wGenFencesNV = (PFNGLGENFENCESNVPROC)get_proc("glGenFencesNV"); - gles2wIsFenceNV = (PFNGLISFENCENVPROC)get_proc("glIsFenceNV"); - gles2wTestFenceNV = (PFNGLTESTFENCENVPROC)get_proc("glTestFenceNV"); - gles2wGetFenceivNV = (PFNGLGETFENCEIVNVPROC)get_proc("glGetFenceivNV"); - gles2wFinishFenceNV = (PFNGLFINISHFENCENVPROC)get_proc("glFinishFenceNV"); - gles2wSetFenceNV = (PFNGLSETFENCENVPROC)get_proc("glSetFenceNV"); - gles2wBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)get_proc("glBlitFramebufferNV"); - gles2wRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)get_proc("glRenderbufferStorageMultisampleNV"); - gles2wVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)get_proc("glVertexAttribDivisorNV"); - gles2wReadBufferNV = (PFNGLREADBUFFERNVPROC)get_proc("glReadBufferNV"); - gles2wAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)get_proc("glAlphaFuncQCOM"); - gles2wGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)get_proc("glGetDriverControlsQCOM"); - gles2wGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)get_proc("glGetDriverControlStringQCOM"); - gles2wEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)get_proc("glEnableDriverControlQCOM"); - gles2wDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)get_proc("glDisableDriverControlQCOM"); - gles2wExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)get_proc("glExtGetTexturesQCOM"); - gles2wExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)get_proc("glExtGetBuffersQCOM"); - gles2wExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)get_proc("glExtGetRenderbuffersQCOM"); - gles2wExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)get_proc("glExtGetFramebuffersQCOM"); - gles2wExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)get_proc("glExtGetTexLevelParameterivQCOM"); - gles2wExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)get_proc("glExtTexObjectStateOverrideiQCOM"); - gles2wExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)get_proc("glExtGetTexSubImageQCOM"); - gles2wExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)get_proc("glExtGetBufferPointervQCOM"); - gles2wExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)get_proc("glExtGetShadersQCOM"); - gles2wExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)get_proc("glExtGetProgramsQCOM"); - gles2wExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)get_proc("glExtIsProgramBinaryQCOM"); - gles2wExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)get_proc("glExtGetProgramBinarySourceQCOM"); - gles2wStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)get_proc("glStartTilingQCOM"); - gles2wEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)get_proc("glEndTilingQCOM"); -} diff --git a/native/cocos/renderer/gfx-gles2/gles2w.cpp b/native/cocos/renderer/gfx-gles2/gles2w.cpp new file mode 100644 index 0000000000..3746272d05 --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/gles2w.cpp @@ -0,0 +1,805 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gles2w.h" + +#if defined(_WIN32) && !defined(ANDROID) + #define WIN32_LEAN_AND_MEAN 1 + #include + +static HMODULE libegl = NULL; +static HMODULE libgles = NULL; + +static bool open_libgl(void) { + libegl = LoadLibraryA("libEGL.dll"); + libgles = LoadLibraryA("libGLESv2.dll"); + return (libegl && libgles); +} + +static void *get_egl_proc(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = eglGetProcAddress(proc); + if (!res) res = (void *)GetProcAddress(libegl, proc); + return res; +} + +static void *get_gles_proc(const char *proc) { + void *res = eglGetProcAddress(proc); + if (!res) res = (void *)GetProcAddress(libgles, proc); + return res; +} +#elif defined(__APPLE__) || defined(__APPLE_CC__) + #import + #import + #import + #import + #import + +// Routine to run a system command and retrieve the output. +// From http://stackoverflow.com/questions/478898/how-to-execute-a-command-and-get-output-of-command-within-c +std::string ES2_EXEC(const char *cmd) { + FILE *pipe = popen(cmd, "r"); + if (!pipe) return "ERROR"; + char buffer[128]; + std::string result = ""; + while (!feof(pipe)) { + if (fgets(buffer, 128, pipe) != NULL) + result += buffer; + } + pclose(pipe); + return result; +} + +static CFBundleRef g_es2Bundle; +static CFURLRef g_es2BundleURL; + +static bool open_libgl(void) { + CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); + NSString *sysVersion = [UIDevice currentDevice].systemVersion; + NSArray *sysVersionComponents = [sysVersion componentsSeparatedByString:@"."]; + //BOOL isSimulator = ([[UIDevice currentDevice].model rangeOfString:@"Simulator"].location != NSNotFound); + + #if TARGET_IPHONE_SIMULATOR + bool isSimulator = true; + #else + bool isSimulator = false; + #endif + if (isSimulator) { + // Ask where Xcode is installed + std::string xcodePath = "/Applications/Xcode.app/Contents/Developer\n"; + + // The result contains an end line character. Remove it. + size_t pos = xcodePath.find("\n"); + xcodePath.erase(pos); + + char tempPath[PATH_MAX]; + sprintf(tempPath, + "%s/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator%s.%s.sdk/System/Library/Frameworks/OpenGLES.framework", + xcodePath.c_str(), + [[sysVersionComponents objectAtIndex:0] cStringUsingEncoding:NSUTF8StringEncoding], + [[sysVersionComponents objectAtIndex:1] cStringUsingEncoding:NSUTF8StringEncoding]); + frameworkPath = CFStringCreateWithCString(kCFAllocatorDefault, tempPath, kCFStringEncodingUTF8); + } + + g_es2BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, + frameworkPath, + kCFURLPOSIXPathStyle, true); + + CFRelease(frameworkPath); + + g_es2Bundle = CFBundleCreate(kCFAllocatorDefault, g_es2BundleURL); + + return (g_es2Bundle != NULL); +} + +static void *get_gles_proc(const char *proc) { + void *res; + + CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, + kCFStringEncodingASCII); + res = CFBundleGetFunctionPointerForName(g_es2Bundle, procname); + CFRelease(procname); + return res; +} +#elif defined(__EMSCRIPTEN__) +static void open_libgl() {} +static void *get_gles_proc(const char *proc) { + return (void *)eglGetProcAddress(proc); +} +#else + #include + +static void *libegl = nullptr; +static void *libgles = nullptr; + +static bool open_libgl(void) { + libegl = dlopen("libEGL.so", RTLD_LAZY | RTLD_GLOBAL); + libgles = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); + return (libegl && libgles); +} + +static void *get_egl_proc(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = eglGetProcAddress(proc); + if (!res) res = dlsym(libegl, proc); + return res; +} + +static void *get_gles_proc(const char *proc) { + void *res = eglGetProcAddress(proc); + if (!res) res = dlsym(libgles, proc); + return res; +} +#endif + +static void load_procs(void); + +bool gles2wInit() { + if (!open_libgl()) { + return 0; + } + + load_procs(); + + return 1; +} + +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLSWAPINTERVALPROC eglSwapInterval; +PFNEGLBINDAPIPROC eglBindAPI; + +PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLATTACHSHADERPROC glAttachShader; +PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +PFNGLBINDBUFFERPROC glBindBuffer; +PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +PFNGLBINDTEXTUREPROC glBindTexture; +PFNGLBLENDCOLORPROC glBlendColor; +PFNGLBLENDEQUATIONPROC glBlendEquation; +PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +PFNGLBLENDFUNCPROC glBlendFunc; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +PFNGLBUFFERDATAPROC glBufferData; +PFNGLBUFFERSUBDATAPROC glBufferSubData; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +PFNGLCLEARPROC glClear; +PFNGLCLEARCOLORPROC glClearColor; +PFNGLCLEARDEPTHFPROC glClearDepthf; +PFNGLCLEARSTENCILPROC glClearStencil; +PFNGLCOLORMASKPROC glColorMask; +PFNGLCOMPILESHADERPROC glCompileShader; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +PFNGLCREATEPROGRAMPROC glCreateProgram; +PFNGLCREATESHADERPROC glCreateShader; +PFNGLCULLFACEPROC glCullFace; +PFNGLDELETEBUFFERSPROC glDeleteBuffers; +PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +PFNGLDELETEPROGRAMPROC glDeleteProgram; +PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +PFNGLDELETESHADERPROC glDeleteShader; +PFNGLDELETETEXTURESPROC glDeleteTextures; +PFNGLDEPTHFUNCPROC glDepthFunc; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEFPROC glDepthRangef; +PFNGLDETACHSHADERPROC glDetachShader; +PFNGLDISABLEPROC glDisable; +PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +PFNGLDRAWARRAYSPROC glDrawArrays; +PFNGLDRAWELEMENTSPROC glDrawElements; +PFNGLENABLEPROC glEnable; +PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +PFNGLFINISHPROC glFinish; +PFNGLFLUSHPROC glFlush; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +PFNGLFRONTFACEPROC glFrontFace; +PFNGLGENBUFFERSPROC glGenBuffers; +PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +PFNGLGENTEXTURESPROC glGenTextures; +PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +PFNGLGETBOOLEANVPROC glGetBooleanv; +PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +PFNGLGETERRORPROC glGetError; +PFNGLGETFLOATVPROC glGetFloatv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETPROGRAMIVPROC glGetProgramiv; +PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +PFNGLGETSHADERIVPROC glGetShaderiv; +PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +PFNGLGETSHADERSOURCEPROC glGetShaderSource; +PFNGLGETSTRINGPROC glGetString; +PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +PFNGLGETUNIFORMFVPROC glGetUniformfv; +PFNGLGETUNIFORMIVPROC glGetUniformiv; +PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +PFNGLHINTPROC glHint; +PFNGLISBUFFERPROC glIsBuffer; +PFNGLISENABLEDPROC glIsEnabled; +PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +PFNGLISPROGRAMPROC glIsProgram; +PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +PFNGLISSHADERPROC glIsShader; +PFNGLISTEXTUREPROC glIsTexture; +PFNGLLINEWIDTHPROC glLineWidth; +PFNGLLINKPROGRAMPROC glLinkProgram; +PFNGLPIXELSTOREIPROC glPixelStorei; +PFNGLPOLYGONOFFSETPROC glPolygonOffset; +PFNGLREADPIXELSPROC glReadPixels; +PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +PFNGLSCISSORPROC glScissor; +PFNGLSHADERBINARYPROC glShaderBinary; +PFNGLSHADERSOURCEPROC glShaderSource; +PFNGLSTENCILFUNCPROC glStencilFunc; +PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +PFNGLSTENCILMASKPROC glStencilMask; +PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +PFNGLSTENCILOPPROC glStencilOp; +PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +PFNGLTEXIMAGE2DPROC glTexImage2D; +PFNGLTEXPARAMETERFPROC glTexParameterf; +PFNGLTEXPARAMETERFVPROC glTexParameterfv; +PFNGLTEXPARAMETERIPROC glTexParameteri; +PFNGLTEXPARAMETERIVPROC glTexParameteriv; +PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +PFNGLUNIFORM1FPROC glUniform1f; +PFNGLUNIFORM1FVPROC glUniform1fv; +PFNGLUNIFORM1IPROC glUniform1i; +PFNGLUNIFORM1IVPROC glUniform1iv; +PFNGLUNIFORM2FPROC glUniform2f; +PFNGLUNIFORM2FVPROC glUniform2fv; +PFNGLUNIFORM2IPROC glUniform2i; +PFNGLUNIFORM2IVPROC glUniform2iv; +PFNGLUNIFORM3FPROC glUniform3f; +PFNGLUNIFORM3FVPROC glUniform3fv; +PFNGLUNIFORM3IPROC glUniform3i; +PFNGLUNIFORM3IVPROC glUniform3iv; +PFNGLUNIFORM4FPROC glUniform4f; +PFNGLUNIFORM4FVPROC glUniform4fv; +PFNGLUNIFORM4IPROC glUniform4i; +PFNGLUNIFORM4IVPROC glUniform4iv; +PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +PFNGLUSEPROGRAMPROC glUseProgram; +PFNGLVALIDATEPROGRAMPROC glValidateProgram; +PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +PFNGLVIEWPORTPROC glViewport; +PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +PFNGLMAPBUFFEROESPROC glMapBufferOES; +PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +PFNGLISQUERYEXTPROC glIsQueryEXT; +PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +PFNGLENDQUERYEXTPROC glEndQueryEXT; +PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; +PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; +PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +PFNGLGENFENCESNVPROC glGenFencesNV; +PFNGLISFENCENVPROC glIsFenceNV; +PFNGLTESTFENCENVPROC glTestFenceNV; +PFNGLGETFENCEIVNVPROC glGetFenceivNV; +PFNGLFINISHFENCENVPROC glFinishFenceNV; +PFNGLSETFENCENVPROC glSetFenceNV; +PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +PFNGLREADBUFFERNVPROC glReadBufferNV; +PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +PFNGLENDTILINGQCOMPROC glEndTilingQCOM; + +static void load_procs(void) { + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)get_egl_proc("eglGetProcAddress"); + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)get_egl_proc("eglChooseConfig"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)get_egl_proc("eglCreateContext"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)get_egl_proc("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)get_egl_proc("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)get_egl_proc("eglDestroySurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)get_egl_proc("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)get_egl_proc("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)get_egl_proc("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)get_egl_proc("eglMakeCurrent"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)get_egl_proc("eglQueryString"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)get_egl_proc("eglSwapBuffers"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)get_egl_proc("eglSwapInterval"); + eglBindAPI = (PFNEGLBINDAPIPROC)get_egl_proc("eglBindAPI"); + + glActiveTexture = (PFNGLACTIVETEXTUREPROC)get_gles_proc("glActiveTexture"); + glAttachShader = (PFNGLATTACHSHADERPROC)get_gles_proc("glAttachShader"); + glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)get_gles_proc("glBindAttribLocation"); + glBindBuffer = (PFNGLBINDBUFFERPROC)get_gles_proc("glBindBuffer"); + glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)get_gles_proc("glBindFramebuffer"); + glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)get_gles_proc("glBindRenderbuffer"); + glBindTexture = (PFNGLBINDTEXTUREPROC)get_gles_proc("glBindTexture"); + glBlendColor = (PFNGLBLENDCOLORPROC)get_gles_proc("glBlendColor"); + glBlendEquation = (PFNGLBLENDEQUATIONPROC)get_gles_proc("glBlendEquation"); + glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)get_gles_proc("glBlendEquationSeparate"); + glBlendFunc = (PFNGLBLENDFUNCPROC)get_gles_proc("glBlendFunc"); + glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)get_gles_proc("glBlendFuncSeparate"); + glBufferData = (PFNGLBUFFERDATAPROC)get_gles_proc("glBufferData"); + glBufferSubData = (PFNGLBUFFERSUBDATAPROC)get_gles_proc("glBufferSubData"); + glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)get_gles_proc("glCheckFramebufferStatus"); + glClear = (PFNGLCLEARPROC)get_gles_proc("glClear"); + glClearColor = (PFNGLCLEARCOLORPROC)get_gles_proc("glClearColor"); + glClearDepthf = (PFNGLCLEARDEPTHFPROC)get_gles_proc("glClearDepthf"); + glClearStencil = (PFNGLCLEARSTENCILPROC)get_gles_proc("glClearStencil"); + glColorMask = (PFNGLCOLORMASKPROC)get_gles_proc("glColorMask"); + glCompileShader = (PFNGLCOMPILESHADERPROC)get_gles_proc("glCompileShader"); + glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)get_gles_proc("glCompressedTexImage2D"); + glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)get_gles_proc("glCompressedTexSubImage2D"); + glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)get_gles_proc("glCopyTexImage2D"); + glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)get_gles_proc("glCopyTexSubImage2D"); + glCreateProgram = (PFNGLCREATEPROGRAMPROC)get_gles_proc("glCreateProgram"); + glCreateShader = (PFNGLCREATESHADERPROC)get_gles_proc("glCreateShader"); + glCullFace = (PFNGLCULLFACEPROC)get_gles_proc("glCullFace"); + glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)get_gles_proc("glDeleteBuffers"); + glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)get_gles_proc("glDeleteFramebuffers"); + glDeleteProgram = (PFNGLDELETEPROGRAMPROC)get_gles_proc("glDeleteProgram"); + glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)get_gles_proc("glDeleteRenderbuffers"); + glDeleteShader = (PFNGLDELETESHADERPROC)get_gles_proc("glDeleteShader"); + glDeleteTextures = (PFNGLDELETETEXTURESPROC)get_gles_proc("glDeleteTextures"); + glDepthFunc = (PFNGLDEPTHFUNCPROC)get_gles_proc("glDepthFunc"); + glDepthMask = (PFNGLDEPTHMASKPROC)get_gles_proc("glDepthMask"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC)get_gles_proc("glDepthRangef"); + glDetachShader = (PFNGLDETACHSHADERPROC)get_gles_proc("glDetachShader"); + glDisable = (PFNGLDISABLEPROC)get_gles_proc("glDisable"); + glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)get_gles_proc("glDisableVertexAttribArray"); + glDrawArrays = (PFNGLDRAWARRAYSPROC)get_gles_proc("glDrawArrays"); + glDrawElements = (PFNGLDRAWELEMENTSPROC)get_gles_proc("glDrawElements"); + glEnable = (PFNGLENABLEPROC)get_gles_proc("glEnable"); + glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)get_gles_proc("glEnableVertexAttribArray"); + glFinish = (PFNGLFINISHPROC)get_gles_proc("glFinish"); + glFlush = (PFNGLFLUSHPROC)get_gles_proc("glFlush"); + glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)get_gles_proc("glFramebufferRenderbuffer"); + glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)get_gles_proc("glFramebufferTexture2D"); + glFrontFace = (PFNGLFRONTFACEPROC)get_gles_proc("glFrontFace"); + glGenBuffers = (PFNGLGENBUFFERSPROC)get_gles_proc("glGenBuffers"); + glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)get_gles_proc("glGenerateMipmap"); + glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)get_gles_proc("glGenFramebuffers"); + glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)get_gles_proc("glGenRenderbuffers"); + glGenTextures = (PFNGLGENTEXTURESPROC)get_gles_proc("glGenTextures"); + glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)get_gles_proc("glGetActiveAttrib"); + glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)get_gles_proc("glGetActiveUniform"); + glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)get_gles_proc("glGetAttachedShaders"); + glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)get_gles_proc("glGetAttribLocation"); + glGetBooleanv = (PFNGLGETBOOLEANVPROC)get_gles_proc("glGetBooleanv"); + glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)get_gles_proc("glGetBufferParameteriv"); + glGetError = (PFNGLGETERRORPROC)get_gles_proc("glGetError"); + glGetFloatv = (PFNGLGETFLOATVPROC)get_gles_proc("glGetFloatv"); + glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)get_gles_proc("glGetFramebufferAttachmentParameteriv"); + glGetIntegerv = (PFNGLGETINTEGERVPROC)get_gles_proc("glGetIntegerv"); + glGetProgramiv = (PFNGLGETPROGRAMIVPROC)get_gles_proc("glGetProgramiv"); + glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)get_gles_proc("glGetProgramInfoLog"); + glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)get_gles_proc("glGetRenderbufferParameteriv"); + glGetShaderiv = (PFNGLGETSHADERIVPROC)get_gles_proc("glGetShaderiv"); + glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)get_gles_proc("glGetShaderInfoLog"); + glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)get_gles_proc("glGetShaderPrecisionFormat"); + glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)get_gles_proc("glGetShaderSource"); + glGetString = (PFNGLGETSTRINGPROC)get_gles_proc("glGetString"); + glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)get_gles_proc("glGetTexParameterfv"); + glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)get_gles_proc("glGetTexParameteriv"); + glGetUniformfv = (PFNGLGETUNIFORMFVPROC)get_gles_proc("glGetUniformfv"); + glGetUniformiv = (PFNGLGETUNIFORMIVPROC)get_gles_proc("glGetUniformiv"); + glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)get_gles_proc("glGetUniformLocation"); + glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)get_gles_proc("glGetVertexAttribfv"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)get_gles_proc("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)get_gles_proc("glGetVertexAttribPointerv"); + glHint = (PFNGLHINTPROC)get_gles_proc("glHint"); + glIsBuffer = (PFNGLISBUFFERPROC)get_gles_proc("glIsBuffer"); + glIsEnabled = (PFNGLISENABLEDPROC)get_gles_proc("glIsEnabled"); + glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)get_gles_proc("glIsFramebuffer"); + glIsProgram = (PFNGLISPROGRAMPROC)get_gles_proc("glIsProgram"); + glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)get_gles_proc("glIsRenderbuffer"); + glIsShader = (PFNGLISSHADERPROC)get_gles_proc("glIsShader"); + glIsTexture = (PFNGLISTEXTUREPROC)get_gles_proc("glIsTexture"); + glLineWidth = (PFNGLLINEWIDTHPROC)get_gles_proc("glLineWidth"); + glLinkProgram = (PFNGLLINKPROGRAMPROC)get_gles_proc("glLinkProgram"); + glPixelStorei = (PFNGLPIXELSTOREIPROC)get_gles_proc("glPixelStorei"); + glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)get_gles_proc("glPolygonOffset"); + glReadPixels = (PFNGLREADPIXELSPROC)get_gles_proc("glReadPixels"); + glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)get_gles_proc("glReleaseShaderCompiler"); + glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)get_gles_proc("glRenderbufferStorage"); + glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)get_gles_proc("glSampleCoverage"); + glScissor = (PFNGLSCISSORPROC)get_gles_proc("glScissor"); + glShaderBinary = (PFNGLSHADERBINARYPROC)get_gles_proc("glShaderBinary"); + glShaderSource = (PFNGLSHADERSOURCEPROC)get_gles_proc("glShaderSource"); + glStencilFunc = (PFNGLSTENCILFUNCPROC)get_gles_proc("glStencilFunc"); + glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)get_gles_proc("glStencilFuncSeparate"); + glStencilMask = (PFNGLSTENCILMASKPROC)get_gles_proc("glStencilMask"); + glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)get_gles_proc("glStencilMaskSeparate"); + glStencilOp = (PFNGLSTENCILOPPROC)get_gles_proc("glStencilOp"); + glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)get_gles_proc("glStencilOpSeparate"); + glTexImage2D = (PFNGLTEXIMAGE2DPROC)get_gles_proc("glTexImage2D"); + glTexParameterf = (PFNGLTEXPARAMETERFPROC)get_gles_proc("glTexParameterf"); + glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)get_gles_proc("glTexParameterfv"); + glTexParameteri = (PFNGLTEXPARAMETERIPROC)get_gles_proc("glTexParameteri"); + glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)get_gles_proc("glTexParameteriv"); + glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)get_gles_proc("glTexSubImage2D"); + glUniform1f = (PFNGLUNIFORM1FPROC)get_gles_proc("glUniform1f"); + glUniform1fv = (PFNGLUNIFORM1FVPROC)get_gles_proc("glUniform1fv"); + glUniform1i = (PFNGLUNIFORM1IPROC)get_gles_proc("glUniform1i"); + glUniform1iv = (PFNGLUNIFORM1IVPROC)get_gles_proc("glUniform1iv"); + glUniform2f = (PFNGLUNIFORM2FPROC)get_gles_proc("glUniform2f"); + glUniform2fv = (PFNGLUNIFORM2FVPROC)get_gles_proc("glUniform2fv"); + glUniform2i = (PFNGLUNIFORM2IPROC)get_gles_proc("glUniform2i"); + glUniform2iv = (PFNGLUNIFORM2IVPROC)get_gles_proc("glUniform2iv"); + glUniform3f = (PFNGLUNIFORM3FPROC)get_gles_proc("glUniform3f"); + glUniform3fv = (PFNGLUNIFORM3FVPROC)get_gles_proc("glUniform3fv"); + glUniform3i = (PFNGLUNIFORM3IPROC)get_gles_proc("glUniform3i"); + glUniform3iv = (PFNGLUNIFORM3IVPROC)get_gles_proc("glUniform3iv"); + glUniform4f = (PFNGLUNIFORM4FPROC)get_gles_proc("glUniform4f"); + glUniform4fv = (PFNGLUNIFORM4FVPROC)get_gles_proc("glUniform4fv"); + glUniform4i = (PFNGLUNIFORM4IPROC)get_gles_proc("glUniform4i"); + glUniform4iv = (PFNGLUNIFORM4IVPROC)get_gles_proc("glUniform4iv"); + glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)get_gles_proc("glUniformMatrix2fv"); + glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)get_gles_proc("glUniformMatrix3fv"); + glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)get_gles_proc("glUniformMatrix4fv"); + glUseProgram = (PFNGLUSEPROGRAMPROC)get_gles_proc("glUseProgram"); + glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)get_gles_proc("glValidateProgram"); + glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)get_gles_proc("glVertexAttrib1f"); + glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)get_gles_proc("glVertexAttrib1fv"); + glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)get_gles_proc("glVertexAttrib2f"); + glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)get_gles_proc("glVertexAttrib2fv"); + glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)get_gles_proc("glVertexAttrib3f"); + glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)get_gles_proc("glVertexAttrib3fv"); + glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)get_gles_proc("glVertexAttrib4f"); + glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)get_gles_proc("glVertexAttrib4fv"); + glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)get_gles_proc("glVertexAttribPointer"); + glViewport = (PFNGLVIEWPORTPROC)get_gles_proc("glViewport"); + glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)get_gles_proc("glEGLImageTargetTexture2DOES"); + glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)get_gles_proc("glEGLImageTargetRenderbufferStorageOES"); + glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)get_gles_proc("glGetProgramBinaryOES"); + glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)get_gles_proc("glProgramBinaryOES"); + glMapBufferOES = (PFNGLMAPBUFFEROESPROC)get_gles_proc("glMapBufferOES"); + glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)get_gles_proc("glUnmapBufferOES"); + glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)get_gles_proc("glGetBufferPointervOES"); + glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)get_gles_proc("glTexImage3DOES"); + glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)get_gles_proc("glTexSubImage3DOES"); + glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)get_gles_proc("glCopyTexSubImage3DOES"); + glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)get_gles_proc("glCompressedTexImage3DOES"); + glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)get_gles_proc("glCompressedTexSubImage3DOES"); + glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)get_gles_proc("glFramebufferTexture3DOES"); + glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)get_gles_proc("glBindVertexArrayOES"); + glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)get_gles_proc("glDeleteVertexArraysOES"); + glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)get_gles_proc("glGenVertexArraysOES"); + glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)get_gles_proc("glIsVertexArrayOES"); + glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)get_gles_proc("glDebugMessageControlKHR"); + glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)get_gles_proc("glDebugMessageInsertKHR"); + glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)get_gles_proc("glDebugMessageCallbackKHR"); + glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)get_gles_proc("glGetDebugMessageLogKHR"); + glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)get_gles_proc("glPushDebugGroupKHR"); + glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)get_gles_proc("glPopDebugGroupKHR"); + glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)get_gles_proc("glObjectLabelKHR"); + glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)get_gles_proc("glGetObjectLabelKHR"); + glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)get_gles_proc("glObjectPtrLabelKHR"); + glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)get_gles_proc("glGetObjectPtrLabelKHR"); + glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)get_gles_proc("glGetPointervKHR"); + glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)get_gles_proc("glGetPerfMonitorGroupsAMD"); + glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)get_gles_proc("glGetPerfMonitorCountersAMD"); + glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)get_gles_proc("glGetPerfMonitorGroupStringAMD"); + glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)get_gles_proc("glGetPerfMonitorCounterStringAMD"); + glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)get_gles_proc("glGetPerfMonitorCounterInfoAMD"); + glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)get_gles_proc("glGenPerfMonitorsAMD"); + glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)get_gles_proc("glDeletePerfMonitorsAMD"); + glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)get_gles_proc("glSelectPerfMonitorCountersAMD"); + glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)get_gles_proc("glBeginPerfMonitorAMD"); + glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)get_gles_proc("glEndPerfMonitorAMD"); + glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)get_gles_proc("glGetPerfMonitorCounterDataAMD"); + glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)get_gles_proc("glBlitFramebufferANGLE"); + glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)get_gles_proc("glRenderbufferStorageMultisampleANGLE"); + glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)get_gles_proc("glDrawArraysInstancedANGLE"); + glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)get_gles_proc("glDrawElementsInstancedANGLE"); + glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)get_gles_proc("glVertexAttribDivisorANGLE"); + glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)get_gles_proc("glGetTranslatedShaderSourceANGLE"); + glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)get_gles_proc("glDrawArraysInstancedEXT"); + glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)get_gles_proc("glDrawElementsInstancedEXT"); + glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)get_gles_proc("glVertexAttribDivisorEXT"); + glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)get_gles_proc("glCopyTextureLevelsAPPLE"); + glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)get_gles_proc("glRenderbufferStorageMultisampleAPPLE"); + glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)get_gles_proc("glResolveMultisampleFramebufferAPPLE"); + glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)get_gles_proc("glFenceSyncAPPLE"); + glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)get_gles_proc("glIsSyncAPPLE"); + glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)get_gles_proc("glDeleteSyncAPPLE"); + glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)get_gles_proc("glClientWaitSyncAPPLE"); + glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)get_gles_proc("glWaitSyncAPPLE"); + glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)get_gles_proc("glGetInteger64vAPPLE"); + glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)get_gles_proc("glGetSyncivAPPLE"); + glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)get_gles_proc("glLabelObjectEXT"); + glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)get_gles_proc("glGetObjectLabelEXT"); + glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)get_gles_proc("glInsertEventMarkerEXT"); + glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)get_gles_proc("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)get_gles_proc("glPopGroupMarkerEXT"); + glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)get_gles_proc("glDiscardFramebufferEXT"); + glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)get_gles_proc("glGenQueriesEXT"); + glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)get_gles_proc("glDeleteQueriesEXT"); + glIsQueryEXT = (PFNGLISQUERYEXTPROC)get_gles_proc("glIsQueryEXT"); + glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)get_gles_proc("glBeginQueryEXT"); + glEndQueryEXT = (PFNGLENDQUERYEXTPROC)get_gles_proc("glEndQueryEXT"); + glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)get_gles_proc("glQueryCounterEXT"); + glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)get_gles_proc("glGetQueryivEXT"); + glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)get_gles_proc("glGetQueryObjectivEXT"); + glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)get_gles_proc("glGetQueryObjectuivEXT"); + glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)get_gles_proc("glGetQueryObjecti64vEXT"); + glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)get_gles_proc("glGetQueryObjectui64vEXT"); + glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)get_gles_proc("glMapBufferRangeEXT"); + glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)get_gles_proc("glFlushMappedBufferRangeEXT"); + glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)get_gles_proc("glRenderbufferStorageMultisampleEXT"); + glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)get_gles_proc("glFramebufferTexture2DMultisampleEXT"); + glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)get_gles_proc("glReadBufferIndexedEXT"); + glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)get_gles_proc("glDrawBuffersIndexedEXT"); + glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)get_gles_proc("glGetIntegeri_vEXT"); + glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)get_gles_proc("glMultiDrawArraysEXT"); + glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)get_gles_proc("glMultiDrawElementsEXT"); + glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)get_gles_proc("glGetGraphicsResetStatusEXT"); + glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)get_gles_proc("glReadnPixelsEXT"); + glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)get_gles_proc("glGetnUniformfvEXT"); + glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)get_gles_proc("glGetnUniformivEXT"); + glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)get_gles_proc("glUseProgramStagesEXT"); + glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)get_gles_proc("glActiveShaderProgramEXT"); + glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)get_gles_proc("glCreateShaderProgramvEXT"); + glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)get_gles_proc("glBindProgramPipelineEXT"); + glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)get_gles_proc("glDeleteProgramPipelinesEXT"); + glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)get_gles_proc("glGenProgramPipelinesEXT"); + glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)get_gles_proc("glIsProgramPipelineEXT"); + glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)get_gles_proc("glProgramParameteriEXT"); + glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)get_gles_proc("glGetProgramPipelineivEXT"); + glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)get_gles_proc("glProgramUniform1iEXT"); + glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)get_gles_proc("glProgramUniform2iEXT"); + glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)get_gles_proc("glProgramUniform3iEXT"); + glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)get_gles_proc("glProgramUniform4iEXT"); + glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)get_gles_proc("glProgramUniform1fEXT"); + glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)get_gles_proc("glProgramUniform2fEXT"); + glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)get_gles_proc("glProgramUniform3fEXT"); + glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)get_gles_proc("glProgramUniform4fEXT"); + glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)get_gles_proc("glProgramUniform1ivEXT"); + glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)get_gles_proc("glProgramUniform2ivEXT"); + glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)get_gles_proc("glProgramUniform3ivEXT"); + glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)get_gles_proc("glProgramUniform4ivEXT"); + glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)get_gles_proc("glProgramUniform1fvEXT"); + glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)get_gles_proc("glProgramUniform2fvEXT"); + glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)get_gles_proc("glProgramUniform3fvEXT"); + glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)get_gles_proc("glProgramUniform4fvEXT"); + glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)get_gles_proc("glProgramUniformMatrix2fvEXT"); + glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)get_gles_proc("glProgramUniformMatrix3fvEXT"); + glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)get_gles_proc("glProgramUniformMatrix4fvEXT"); + glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)get_gles_proc("glValidateProgramPipelineEXT"); + glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)get_gles_proc("glGetProgramPipelineInfoLogEXT"); + glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)get_gles_proc("glTexStorage1DEXT"); + glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)get_gles_proc("glTexStorage2DEXT"); + glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)get_gles_proc("glTexStorage3DEXT"); + glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)get_gles_proc("glTextureStorage1DEXT"); + glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)get_gles_proc("glTextureStorage2DEXT"); + glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)get_gles_proc("glTextureStorage3DEXT"); + glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)get_gles_proc("glRenderbufferStorageMultisampleIMG"); + glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)get_gles_proc("glFramebufferTexture2DMultisampleIMG"); + glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)get_gles_proc("glCoverageMaskNV"); + glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)get_gles_proc("glCoverageOperationNV"); + glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)get_gles_proc("glDrawBuffersNV"); + glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)get_gles_proc("glDrawArraysInstancedNV"); + glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)get_gles_proc("glDrawElementsInstancedNV"); + glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)get_gles_proc("glDeleteFencesNV"); + glGenFencesNV = (PFNGLGENFENCESNVPROC)get_gles_proc("glGenFencesNV"); + glIsFenceNV = (PFNGLISFENCENVPROC)get_gles_proc("glIsFenceNV"); + glTestFenceNV = (PFNGLTESTFENCENVPROC)get_gles_proc("glTestFenceNV"); + glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)get_gles_proc("glGetFenceivNV"); + glFinishFenceNV = (PFNGLFINISHFENCENVPROC)get_gles_proc("glFinishFenceNV"); + glSetFenceNV = (PFNGLSETFENCENVPROC)get_gles_proc("glSetFenceNV"); + glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)get_gles_proc("glBlitFramebufferNV"); + glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)get_gles_proc("glRenderbufferStorageMultisampleNV"); + glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)get_gles_proc("glVertexAttribDivisorNV"); + glReadBufferNV = (PFNGLREADBUFFERNVPROC)get_gles_proc("glReadBufferNV"); + glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)get_gles_proc("glAlphaFuncQCOM"); + glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)get_gles_proc("glGetDriverControlsQCOM"); + glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)get_gles_proc("glGetDriverControlStringQCOM"); + glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)get_gles_proc("glEnableDriverControlQCOM"); + glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)get_gles_proc("glDisableDriverControlQCOM"); + glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)get_gles_proc("glExtGetTexturesQCOM"); + glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)get_gles_proc("glExtGetBuffersQCOM"); + glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)get_gles_proc("glExtGetRenderbuffersQCOM"); + glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)get_gles_proc("glExtGetFramebuffersQCOM"); + glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)get_gles_proc("glExtGetTexLevelParameterivQCOM"); + glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)get_gles_proc("glExtTexObjectStateOverrideiQCOM"); + glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)get_gles_proc("glExtGetTexSubImageQCOM"); + glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)get_gles_proc("glExtGetBufferPointervQCOM"); + glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)get_gles_proc("glExtGetShadersQCOM"); + glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)get_gles_proc("glExtGetProgramsQCOM"); + glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)get_gles_proc("glExtIsProgramBinaryQCOM"); + glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)get_gles_proc("glExtGetProgramBinarySourceQCOM"); + glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)get_gles_proc("glStartTilingQCOM"); + glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)get_gles_proc("glEndTilingQCOM"); +} diff --git a/native/cocos/renderer/gfx-gles2/gles2w.h b/native/cocos/renderer/gfx-gles2/gles2w.h index 1f5987572e..f8fd2c0eaa 100755 --- a/native/cocos/renderer/gfx-gles2/gles2w.h +++ b/native/cocos/renderer/gfx-gles2/gles2w.h @@ -23,974 +23,360 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -#if defined(__APPLE__) || defined(__APPLE_CC__) - #include - #if TARGET_OS_IPHONE - #include - // Prevent Apple's non-standard extension header from being included - #define __gl_es20ext_h_ - #else - #include +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #ifdef __OBJC__ + #include #endif #else - #include + #define EGL_EGL_PROTOTYPES 0 + #include + #include + #include #endif +#ifndef EGL_KHR_create_context + #define EGL_KHR_create_context 1 + #define EGL_CONTEXT_MAJOR_VERSION_KHR EGL_CONTEXT_CLIENT_VERSION + #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB + #define EGL_CONTEXT_FLAGS_KHR 0x30FC + #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD + #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD + #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE + #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF + #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 + #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 + #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 + #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 + #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 + #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 +#endif + +#define GL_GLES_PROTOTYPES 0 +#include + #include #include #include -typedef khronos_int64_t GLint64EXT; -typedef khronos_uint64_t GLuint64EXT; +bool gles2wInit(); -#ifndef __gl2_h_ - #define __gl2_h_ -#endif +/* egl api */ +extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; +extern PFNEGLCREATECONTEXTPROC eglCreateContext; +extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; +extern PFNEGLGETDISPLAYPROC eglGetDisplay; +extern PFNEGLGETERRORPROC eglGetError; +extern PFNEGLINITIALIZEPROC eglInitialize; +extern PFNEGLMAKECURRENTPROC eglMakeCurrent; +extern PFNEGLQUERYSTRINGPROC eglQueryString; +extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +extern PFNEGLSWAPINTERVALPROC eglSwapInterval; +extern PFNEGLBINDAPIPROC eglBindAPI; +extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef GL_EXT_texture_sRGB - #define GL_EXT_texture_sRGB 1 - - #define GL_SRGB_EXT 0x8C40 - #define GL_SRGB8_EXT 0x8C41 - #define GL_SRGB_ALPHA_EXT 0x8C42 - #define GL_SRGB8_ALPHA8_EXT 0x8C43 - #define GL_SLUMINANCE_ALPHA_EXT 0x8C44 - #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 - #define GL_SLUMINANCE_EXT 0x8C46 - #define GL_SLUMINANCE8_EXT 0x8C47 - #define GL_COMPRESSED_SRGB_EXT 0x8C48 - #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 - #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A - #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B - #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C - #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D - #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E - #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F - -#endif /* GL_EXT_texture_sRGB */ - -/* gles2w api */ -int gles2wInit(void); -int gles2wIsSupported(int major, int minor); -void *gles2wGetProcAddress(const char *proc); - -/* OpenGL functions */ -typedef void(GL_APIENTRY *PFNGLACTIVETEXTUREPROC)(GLenum texture); -typedef void(GL_APIENTRY *PFNGLATTACHSHADERPROC)(GLuint program, GLuint shader); -typedef void(GL_APIENTRY *PFNGLBINDATTRIBLOCATIONPROC)(GLuint program, GLuint index, const GLchar *name); -typedef void(GL_APIENTRY *PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); -typedef void(GL_APIENTRY *PFNGLBINDFRAMEBUFFERPROC)(GLenum target, GLuint framebuffer); -typedef void(GL_APIENTRY *PFNGLBINDRENDERBUFFERPROC)(GLenum target, GLuint renderbuffer); -typedef void(GL_APIENTRY *PFNGLBINDTEXTUREPROC)(GLenum target, GLuint texture); -typedef void(GL_APIENTRY *PFNGLBLENDCOLORPROC)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef void(GL_APIENTRY *PFNGLBLENDEQUATIONPROC)(GLenum mode); -typedef void(GL_APIENTRY *PFNGLBLENDEQUATIONSEPARATEPROC)(GLenum modeRGB, GLenum modeAlpha); -typedef void(GL_APIENTRY *PFNGLBLENDFUNCPROC)(GLenum sfactor, GLenum dfactor); -typedef void(GL_APIENTRY *PFNGLBLENDFUNCSEPARATEPROC)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void(GL_APIENTRY *PFNGLBUFFERDATAPROC)(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); -typedef void(GL_APIENTRY *PFNGLBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); -typedef GLenum(GL_APIENTRY *PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target); -typedef void(GL_APIENTRY *PFNGLCLEARPROC)(GLbitfield mask); -typedef void(GL_APIENTRY *PFNGLCLEARCOLORPROC)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef void(GL_APIENTRY *PFNGLCLEARDEPTHFPROC)(GLclampf depth); -typedef void(GL_APIENTRY *PFNGLCLEARSTENCILPROC)(GLint s); -typedef void(GL_APIENTRY *PFNGLCOLORMASKPROC)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef void(GL_APIENTRY *PFNGLCOMPILESHADERPROC)(GLuint shader); -typedef void(GL_APIENTRY *PFNGLCOMPRESSEDTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void(GL_APIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void(GL_APIENTRY *PFNGLCOPYTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void(GL_APIENTRY *PFNGLCOPYTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef GLuint(GL_APIENTRY *PFNGLCREATEPROGRAMPROC)(void); -typedef GLuint(GL_APIENTRY *PFNGLCREATESHADERPROC)(GLenum type); -typedef void(GL_APIENTRY *PFNGLCULLFACEPROC)(GLenum mode); -typedef void(GL_APIENTRY *PFNGLDELETEBUFFERSPROC)(GLsizei n, const GLuint *buffers); -typedef void(GL_APIENTRY *PFNGLDELETEFRAMEBUFFERSPROC)(GLsizei n, const GLuint *framebuffers); -typedef void(GL_APIENTRY *PFNGLDELETEPROGRAMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLDELETERENDERBUFFERSPROC)(GLsizei n, const GLuint *renderbuffers); -typedef void(GL_APIENTRY *PFNGLDELETESHADERPROC)(GLuint shader); -typedef void(GL_APIENTRY *PFNGLDELETETEXTURESPROC)(GLsizei n, const GLuint *textures); -typedef void(GL_APIENTRY *PFNGLDEPTHFUNCPROC)(GLenum func); -typedef void(GL_APIENTRY *PFNGLDEPTHMASKPROC)(GLboolean flag); -typedef void(GL_APIENTRY *PFNGLDEPTHRANGEFPROC)(GLclampf zNear, GLclampf zFar); -typedef void(GL_APIENTRY *PFNGLDETACHSHADERPROC)(GLuint program, GLuint shader); -typedef void(GL_APIENTRY *PFNGLDISABLEPROC)(GLenum cap); -typedef void(GL_APIENTRY *PFNGLDISABLEVERTEXATTRIBARRAYPROC)(GLuint index); -typedef void(GL_APIENTRY *PFNGLDRAWARRAYSPROC)(GLenum mode, GLint first, GLsizei count); -typedef void(GL_APIENTRY *PFNGLDRAWELEMENTSPROC)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); -typedef void(GL_APIENTRY *PFNGLENABLEPROC)(GLenum cap); -typedef void(GL_APIENTRY *PFNGLENABLEVERTEXATTRIBARRAYPROC)(GLuint index); -typedef void(GL_APIENTRY *PFNGLFINISHPROC)(void); -typedef void(GL_APIENTRY *PFNGLFLUSHPROC)(void); -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERRENDERBUFFERPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERTEXTURE2DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void(GL_APIENTRY *PFNGLFRONTFACEPROC)(GLenum mode); -typedef void(GL_APIENTRY *PFNGLGENBUFFERSPROC)(GLsizei n, GLuint *buffers); -typedef void(GL_APIENTRY *PFNGLGENERATEMIPMAPPROC)(GLenum target); -typedef void(GL_APIENTRY *PFNGLGENFRAMEBUFFERSPROC)(GLsizei n, GLuint *framebuffers); -typedef void(GL_APIENTRY *PFNGLGENRENDERBUFFERSPROC)(GLsizei n, GLuint *renderbuffers); -typedef void(GL_APIENTRY *PFNGLGENTEXTURESPROC)(GLsizei n, GLuint *textures); -typedef void(GL_APIENTRY *PFNGLGETACTIVEATTRIBPROC)(GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void(GL_APIENTRY *PFNGLGETACTIVEUNIFORMPROC)(GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void(GL_APIENTRY *PFNGLGETATTACHEDSHADERSPROC)(GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders); -typedef GLint(GL_APIENTRY *PFNGLGETATTRIBLOCATIONPROC)(GLuint program, const GLchar *name); -typedef void(GL_APIENTRY *PFNGLGETBOOLEANVPROC)(GLenum pname, GLboolean *params); -typedef void(GL_APIENTRY *PFNGLGETBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -typedef GLenum(GL_APIENTRY *PFNGLGETERRORPROC)(void); -typedef void(GL_APIENTRY *PFNGLGETFLOATVPROC)(GLenum pname, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)(GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETINTEGERVPROC)(GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMIVPROC)(GLuint program, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMINFOLOGPROC)(GLuint program, GLsizei bufsize, GLsizei *length, GLchar *infolog); -typedef void(GL_APIENTRY *PFNGLGETRENDERBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETSHADERIVPROC)(GLuint shader, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETSHADERINFOLOGPROC)(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *infolog); -typedef void(GL_APIENTRY *PFNGLGETSHADERPRECISIONFORMATPROC)(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -typedef void(GL_APIENTRY *PFNGLGETSHADERSOURCEPROC)(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); -typedef const GLubyte *(GL_APIENTRY *PFNGLGETSTRINGPROC)(GLenum name); -typedef void(GL_APIENTRY *PFNGLGETTEXPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLGETTEXPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETUNIFORMFVPROC)(GLuint program, GLint location, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLGETUNIFORMIVPROC)(GLuint program, GLint location, GLint *params); -typedef GLint(GL_APIENTRY *PFNGLGETUNIFORMLOCATIONPROC)(GLuint program, const GLchar *name); -typedef void(GL_APIENTRY *PFNGLGETVERTEXATTRIBFVPROC)(GLuint index, GLenum pname, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLGETVERTEXATTRIBIVPROC)(GLuint index, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint index, GLenum pname, GLvoid **pointer); -typedef void(GL_APIENTRY *PFNGLHINTPROC)(GLenum target, GLenum mode); -typedef GLboolean(GL_APIENTRY *PFNGLISBUFFERPROC)(GLuint buffer); -typedef GLboolean(GL_APIENTRY *PFNGLISENABLEDPROC)(GLenum cap); -typedef GLboolean(GL_APIENTRY *PFNGLISFRAMEBUFFERPROC)(GLuint framebuffer); -typedef GLboolean(GL_APIENTRY *PFNGLISPROGRAMPROC)(GLuint program); -typedef GLboolean(GL_APIENTRY *PFNGLISRENDERBUFFERPROC)(GLuint renderbuffer); -typedef GLboolean(GL_APIENTRY *PFNGLISSHADERPROC)(GLuint shader); -typedef GLboolean(GL_APIENTRY *PFNGLISTEXTUREPROC)(GLuint texture); -typedef void(GL_APIENTRY *PFNGLLINEWIDTHPROC)(GLfloat width); -typedef void(GL_APIENTRY *PFNGLLINKPROGRAMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLPIXELSTOREIPROC)(GLenum pname, GLint param); -typedef void(GL_APIENTRY *PFNGLPOLYGONOFFSETPROC)(GLfloat factor, GLfloat units); -typedef void(GL_APIENTRY *PFNGLREADPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLRELEASESHADERCOMPILERPROC)(void); -typedef void(GL_APIENTRY *PFNGLRENDERBUFFERSTORAGEPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLSAMPLECOVERAGEPROC)(GLclampf value, GLboolean invert); -typedef void(GL_APIENTRY *PFNGLSCISSORPROC)(GLint x, GLint y, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLSHADERBINARYPROC)(GLsizei n, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); -typedef void(GL_APIENTRY *PFNGLSHADERSOURCEPROC)(GLuint shader, GLsizei count, const GLchar *const *string, const GLint *length); -typedef void(GL_APIENTRY *PFNGLSTENCILFUNCPROC)(GLenum func, GLint ref, GLuint mask); -typedef void(GL_APIENTRY *PFNGLSTENCILFUNCSEPARATEPROC)(GLenum face, GLenum func, GLint ref, GLuint mask); -typedef void(GL_APIENTRY *PFNGLSTENCILMASKPROC)(GLuint mask); -typedef void(GL_APIENTRY *PFNGLSTENCILMASKSEPARATEPROC)(GLenum face, GLuint mask); -typedef void(GL_APIENTRY *PFNGLSTENCILOPPROC)(GLenum fail, GLenum zfail, GLenum zpass); -typedef void(GL_APIENTRY *PFNGLSTENCILOPSEPARATEPROC)(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); -typedef void(GL_APIENTRY *PFNGLTEXIMAGE2DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLTEXPARAMETERFPROC)(GLenum target, GLenum pname, GLfloat param); -typedef void(GL_APIENTRY *PFNGLTEXPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat *params); -typedef void(GL_APIENTRY *PFNGLTEXPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); -typedef void(GL_APIENTRY *PFNGLTEXPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint *params); -typedef void(GL_APIENTRY *PFNGLTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLUNIFORM1FPROC)(GLint location, GLfloat x); -typedef void(GL_APIENTRY *PFNGLUNIFORM1FVPROC)(GLint location, GLsizei count, const GLfloat *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM1IPROC)(GLint location, GLint x); -typedef void(GL_APIENTRY *PFNGLUNIFORM1IVPROC)(GLint location, GLsizei count, const GLint *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM2FPROC)(GLint location, GLfloat x, GLfloat y); -typedef void(GL_APIENTRY *PFNGLUNIFORM2FVPROC)(GLint location, GLsizei count, const GLfloat *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM2IPROC)(GLint location, GLint x, GLint y); -typedef void(GL_APIENTRY *PFNGLUNIFORM2IVPROC)(GLint location, GLsizei count, const GLint *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM3FPROC)(GLint location, GLfloat x, GLfloat y, GLfloat z); -typedef void(GL_APIENTRY *PFNGLUNIFORM3FVPROC)(GLint location, GLsizei count, const GLfloat *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM3IPROC)(GLint location, GLint x, GLint y, GLint z); -typedef void(GL_APIENTRY *PFNGLUNIFORM3IVPROC)(GLint location, GLsizei count, const GLint *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM4FPROC)(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void(GL_APIENTRY *PFNGLUNIFORM4FVPROC)(GLint location, GLsizei count, const GLfloat *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM4IPROC)(GLint location, GLint x, GLint y, GLint z, GLint w); -typedef void(GL_APIENTRY *PFNGLUNIFORM4IVPROC)(GLint location, GLsizei count, const GLint *v); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUSEPROGRAMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLVALIDATEPROGRAMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB1FPROC)(GLuint indx, GLfloat x); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB1FVPROC)(GLuint indx, const GLfloat *values); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB2FPROC)(GLuint indx, GLfloat x, GLfloat y); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB2FVPROC)(GLuint indx, const GLfloat *values); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB3FPROC)(GLuint indx, GLfloat x, GLfloat y, GLfloat z); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB3FVPROC)(GLuint indx, const GLfloat *values); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB4FPROC)(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB4FVPROC)(GLuint indx, const GLfloat *values); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBPOINTERPROC)(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *ptr); -typedef void(GL_APIENTRY *PFNGLVIEWPORTPROC)(GLint x, GLint y, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)(GLenum target, GLeglImageOES image); -typedef void(GL_APIENTRY *PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)(GLenum target, GLeglImageOES image); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMBINARYOESPROC)(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); -typedef void(GL_APIENTRY *PFNGLPROGRAMBINARYOESPROC)(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); -typedef void *(GL_APIENTRY *PFNGLMAPBUFFEROESPROC)(GLenum target, GLenum access); -typedef GLboolean(GL_APIENTRY *PFNGLUNMAPBUFFEROESPROC)(GLenum target); -typedef void(GL_APIENTRY *PFNGLGETBUFFERPOINTERVOESPROC)(GLenum target, GLenum pname, GLvoid **params); -typedef void(GL_APIENTRY *PFNGLTEXIMAGE3DOESPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLTEXSUBIMAGE3DOESPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLCOPYTEXSUBIMAGE3DOESPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void(GL_APIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERTEXTURE3DOESPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -typedef void(GL_APIENTRY *PFNGLBINDVERTEXARRAYOESPROC)(GLuint array); -typedef void(GL_APIENTRY *PFNGLDELETEVERTEXARRAYSOESPROC)(GLsizei n, const GLuint *arrays); -typedef void(GL_APIENTRY *PFNGLGENVERTEXARRAYSOESPROC)(GLsizei n, GLuint *arrays); -typedef GLboolean(GL_APIENTRY *PFNGLISVERTEXARRAYOESPROC)(GLuint array); -typedef void(GL_APIENTRY *PFNGLDEBUGMESSAGECONTROLKHRPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -typedef void(GL_APIENTRY *PFNGLDEBUGMESSAGEINSERTKHRPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -typedef void(GL_APIENTRY *PFNGLDEBUGMESSAGECALLBACKKHRPROC)(GLDEBUGPROCKHR callback, const void *userParam); -typedef GLuint(GL_APIENTRY *PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -typedef void(GL_APIENTRY *PFNGLPUSHDEBUGGROUPKHRPROC)(GLenum source, GLuint id, GLsizei length, const GLchar *message); -typedef void(GL_APIENTRY *PFNGLPOPDEBUGGROUPKHRPROC)(void); -typedef void(GL_APIENTRY *PFNGLOBJECTLABELKHRPROC)(GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -typedef void(GL_APIENTRY *PFNGLGETOBJECTLABELKHRPROC)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -typedef void(GL_APIENTRY *PFNGLOBJECTPTRLABELKHRPROC)(const void *ptr, GLsizei length, const GLchar *label); -typedef void(GL_APIENTRY *PFNGLGETOBJECTPTRLABELKHRPROC)(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -typedef void(GL_APIENTRY *PFNGLGETPOINTERVKHRPROC)(GLenum pname, void **params); -typedef void(GL_APIENTRY *PFNGLGETPERFMONITORGROUPSAMDPROC)(GLint *numGroups, GLsizei groupsSize, GLuint *groups); -typedef void(GL_APIENTRY *PFNGLGETPERFMONITORCOUNTERSAMDPROC)(GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); -typedef void(GL_APIENTRY *PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); -typedef void(GL_APIENTRY *PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); -typedef void(GL_APIENTRY *PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)(GLuint group, GLuint counter, GLenum pname, GLvoid *data); -typedef void(GL_APIENTRY *PFNGLGENPERFMONITORSAMDPROC)(GLsizei n, GLuint *monitors); -typedef void(GL_APIENTRY *PFNGLDELETEPERFMONITORSAMDPROC)(GLsizei n, GLuint *monitors); -typedef void(GL_APIENTRY *PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); -typedef void(GL_APIENTRY *PFNGLBEGINPERFMONITORAMDPROC)(GLuint monitor); -typedef void(GL_APIENTRY *PFNGLENDPERFMONITORAMDPROC)(GLuint monitor); -typedef void(GL_APIENTRY *PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); -typedef void(GL_APIENTRY *PFNGLBLITFRAMEBUFFERANGLEPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void(GL_APIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLDRAWARRAYSINSTANCEDANGLEPROC)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); -typedef void(GL_APIENTRY *PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBDIVISORANGLEPROC)(GLuint index, GLuint divisor); -typedef void(GL_APIENTRY *PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); -typedef void(GL_APIENTRY *PFNGLDRAWARRAYSINSTANCEDEXTPROC)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); -typedef void(GL_APIENTRY *PFNGLDRAWELEMENTSINSTANCEDEXTPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBDIVISOREXTPROC)(GLuint index, GLuint divisor); -typedef void(GL_APIENTRY *PFNGLCOPYTEXTURELEVELSAPPLEPROC)(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); -typedef void(GL_APIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)(GLenum, GLsizei, GLenum, GLsizei, GLsizei); -typedef void(GL_APIENTRY *PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)(void); -typedef GLsync(GL_APIENTRY *PFNGLFENCESYNCAPPLEPROC)(GLenum condition, GLbitfield flags); -typedef GLboolean(GL_APIENTRY *PFNGLISSYNCAPPLEPROC)(GLsync sync); -typedef void(GL_APIENTRY *PFNGLDELETESYNCAPPLEPROC)(GLsync sync); -typedef GLenum(GL_APIENTRY *PFNGLCLIENTWAITSYNCAPPLEPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void(GL_APIENTRY *PFNGLWAITSYNCAPPLEPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void(GL_APIENTRY *PFNGLGETINTEGER64VAPPLEPROC)(GLenum pname, GLint64 *params); -typedef void(GL_APIENTRY *PFNGLGETSYNCIVAPPLEPROC)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -typedef void(GL_APIENTRY *PFNGLLABELOBJECTEXTPROC)(GLenum type, GLuint object, GLsizei length, const GLchar *label); -typedef void(GL_APIENTRY *PFNGLGETOBJECTLABELEXTPROC)(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -typedef void(GL_APIENTRY *PFNGLINSERTEVENTMARKEREXTPROC)(GLsizei length, const GLchar *marker); -typedef void(GL_APIENTRY *PFNGLPUSHGROUPMARKEREXTPROC)(GLsizei length, const GLchar *marker); -typedef void(GL_APIENTRY *PFNGLPOPGROUPMARKEREXTPROC)(void); -typedef void(GL_APIENTRY *PFNGLDISCARDFRAMEBUFFEREXTPROC)(GLenum target, GLsizei numAttachments, const GLenum *attachments); -typedef void(GL_APIENTRY *PFNGLGENQUERIESEXTPROC)(GLsizei n, GLuint *ids); -typedef void(GL_APIENTRY *PFNGLDELETEQUERIESEXTPROC)(GLsizei n, const GLuint *ids); -typedef GLboolean(GL_APIENTRY *PFNGLISQUERYEXTPROC)(GLuint id); -typedef void(GL_APIENTRY *PFNGLBEGINQUERYEXTPROC)(GLenum target, GLuint id); -typedef void(GL_APIENTRY *PFNGLENDQUERYEXTPROC)(GLenum target); -typedef void(GL_APIENTRY *PFNGLQUERYCOUNTEREXTPROC)(GLuint id, GLenum target); -typedef void(GL_APIENTRY *PFNGLGETQUERYIVEXTPROC)(GLenum target, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETQUERYOBJECTIVEXTPROC)(GLuint id, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETQUERYOBJECTUIVEXTPROC)(GLuint id, GLenum pname, GLuint *params); -typedef void(GL_APIENTRY *PFNGLGETQUERYOBJECTI64VEXTPROC)(GLuint id, GLenum pname, GLint64EXT *params); -typedef void(GL_APIENTRY *PFNGLGETQUERYOBJECTUI64VEXTPROC)(GLuint id, GLenum pname, GLuint64EXT *params); -typedef void *(GL_APIENTRY *PFNGLMAPBUFFERRANGEEXTPROC)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void(GL_APIENTRY *PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)(GLenum target, GLintptr offset, GLsizeiptr length); -typedef void(GL_APIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)(GLenum, GLsizei, GLenum, GLsizei, GLsizei); -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)(GLenum, GLenum, GLenum, GLuint, GLint, GLsizei); -typedef void(GL_APIENTRY *PFNGLREADBUFFERINDEXEDEXTPROC)(GLenum src, GLint index); -typedef void(GL_APIENTRY *PFNGLDRAWBUFFERSINDEXEDEXTPROC)(GLint n, const GLenum *location, const GLint *indices); -typedef void(GL_APIENTRY *PFNGLGETINTEGERI_VEXTPROC)(GLenum target, GLuint index, GLint *data); -typedef void(GL_APIENTRY *PFNGLMULTIDRAWARRAYSEXTPROC)(GLenum, const GLint *, const GLsizei *, GLsizei); -//typedef void (GL_APIENTRY* PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei); -typedef GLenum(GL_APIENTRY *PFNGLGETGRAPHICSRESETSTATUSEXTPROC)(void); -typedef void(GL_APIENTRY *PFNGLREADNPIXELSEXTPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); -typedef void(GL_APIENTRY *PFNGLGETNUNIFORMFVEXTPROC)(GLuint program, GLint location, GLsizei bufSize, float *params); -typedef void(GL_APIENTRY *PFNGLGETNUNIFORMIVEXTPROC)(GLuint program, GLint location, GLsizei bufSize, GLint *params); -typedef void(GL_APIENTRY *PFNGLUSEPROGRAMSTAGESEXTPROC)(GLuint pipeline, GLbitfield stages, GLuint program); -typedef void(GL_APIENTRY *PFNGLACTIVESHADERPROGRAMEXTPROC)(GLuint pipeline, GLuint program); -typedef GLuint(GL_APIENTRY *PFNGLCREATESHADERPROGRAMVEXTPROC)(GLenum type, GLsizei count, const GLchar **strings); -typedef void(GL_APIENTRY *PFNGLBINDPROGRAMPIPELINEEXTPROC)(GLuint pipeline); -typedef void(GL_APIENTRY *PFNGLDELETEPROGRAMPIPELINESEXTPROC)(GLsizei n, const GLuint *pipelines); -typedef void(GL_APIENTRY *PFNGLGENPROGRAMPIPELINESEXTPROC)(GLsizei n, GLuint *pipelines); -typedef GLboolean(GL_APIENTRY *PFNGLISPROGRAMPIPELINEEXTPROC)(GLuint pipeline); -typedef void(GL_APIENTRY *PFNGLPROGRAMPARAMETERIEXTPROC)(GLuint program, GLenum pname, GLint value); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMPIPELINEIVEXTPROC)(GLuint pipeline, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM1IEXTPROC)(GLuint program, GLint location, GLint x); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM2IEXTPROC)(GLuint program, GLint location, GLint x, GLint y); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM3IEXTPROC)(GLuint program, GLint location, GLint x, GLint y, GLint z); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM4IEXTPROC)(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM1FEXTPROC)(GLuint program, GLint location, GLfloat x); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM2FEXTPROC)(GLuint program, GLint location, GLfloat x, GLfloat y); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM3FEXTPROC)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM4FEXTPROC)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM1IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM2IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM3IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM4IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM1FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM2FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM3FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM4FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)(GLuint pipeline); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -typedef void(GL_APIENTRY *PFNGLTEXSTORAGE1DEXTPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void(GL_APIENTRY *PFNGLTEXSTORAGE2DEXTPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLTEXSTORAGE3DEXTPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void(GL_APIENTRY *PFNGLTEXTURESTORAGE1DEXTPROC)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -typedef void(GL_APIENTRY *PFNGLTEXTURESTORAGE2DEXTPROC)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLTEXTURESTORAGE3DEXTPROC)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void(GL_APIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)(GLenum, GLsizei, GLenum, GLsizei, GLsizei); -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)(GLenum, GLenum, GLenum, GLuint, GLint, GLsizei); -typedef void(GL_APIENTRY *PFNGLCOVERAGEMASKNVPROC)(GLboolean mask); -typedef void(GL_APIENTRY *PFNGLCOVERAGEOPERATIONNVPROC)(GLenum operation); -typedef void(GL_APIENTRY *PFNGLDRAWBUFFERSNVPROC)(GLsizei n, const GLenum *bufs); -typedef void(GL_APIENTRY *PFNGLDRAWARRAYSINSTANCEDNVPROC)(GLenum mode, GLint first, GLsizei count, GLsizei primcount); -typedef void(GL_APIENTRY *PFNGLDRAWELEMENTSINSTANCEDNVPROC)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); -typedef void(GL_APIENTRY *PFNGLDELETEFENCESNVPROC)(GLsizei, const GLuint *); -typedef void(GL_APIENTRY *PFNGLGENFENCESNVPROC)(GLsizei, GLuint *); -typedef GLboolean(GL_APIENTRY *PFNGLISFENCENVPROC)(GLuint); -typedef GLboolean(GL_APIENTRY *PFNGLTESTFENCENVPROC)(GLuint); -typedef void(GL_APIENTRY *PFNGLGETFENCEIVNVPROC)(GLuint, GLenum, GLint *); -typedef void(GL_APIENTRY *PFNGLFINISHFENCENVPROC)(GLuint); -typedef void(GL_APIENTRY *PFNGLSETFENCENVPROC)(GLuint, GLenum); -typedef void(GL_APIENTRY *PFNGLBLITFRAMEBUFFERNVPROC)(int srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void(GL_APIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBDIVISORNVPROC)(GLuint index, GLuint divisor); -typedef void(GL_APIENTRY *PFNGLREADBUFFERNVPROC)(GLenum mode); -typedef void(GL_APIENTRY *PFNGLALPHAFUNCQCOMPROC)(GLenum func, GLclampf ref); -typedef void(GL_APIENTRY *PFNGLGETDRIVERCONTROLSQCOMPROC)(GLint *num, GLsizei size, GLuint *driverControls); -typedef void(GL_APIENTRY *PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); -typedef void(GL_APIENTRY *PFNGLENABLEDRIVERCONTROLQCOMPROC)(GLuint driverControl); -typedef void(GL_APIENTRY *PFNGLDISABLEDRIVERCONTROLQCOMPROC)(GLuint driverControl); -typedef void(GL_APIENTRY *PFNGLEXTGETTEXTURESQCOMPROC)(GLuint *textures, GLint maxTextures, GLint *numTextures); -typedef void(GL_APIENTRY *PFNGLEXTGETBUFFERSQCOMPROC)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers); -typedef void(GL_APIENTRY *PFNGLEXTGETRENDERBUFFERSQCOMPROC)(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); -typedef void(GL_APIENTRY *PFNGLEXTGETFRAMEBUFFERSQCOMPROC)(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); -typedef void(GL_APIENTRY *PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)(GLenum target, GLenum pname, GLint param); -typedef void(GL_APIENTRY *PFNGLEXTGETTEXSUBIMAGEQCOMPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); -typedef void(GL_APIENTRY *PFNGLEXTGETBUFFERPOINTERVQCOMPROC)(GLenum target, GLvoid **params); -typedef void(GL_APIENTRY *PFNGLEXTGETSHADERSQCOMPROC)(GLuint *shaders, GLint maxShaders, GLint *numShaders); -typedef void(GL_APIENTRY *PFNGLEXTGETPROGRAMSQCOMPROC)(GLuint *programs, GLint maxPrograms, GLint *numPrograms); -typedef GLboolean(GL_APIENTRY *PFNGLEXTISPROGRAMBINARYQCOMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)(GLuint program, GLenum shadertype, GLchar *source, GLint *length); -typedef void(GL_APIENTRY *PFNGLSTARTTILINGQCOMPROC)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); -typedef void(GL_APIENTRY *PFNGLENDTILINGQCOMPROC)(GLbitfield preserveMask); - -extern PFNGLACTIVETEXTUREPROC gles2wActiveTexture; -extern PFNGLATTACHSHADERPROC gles2wAttachShader; -extern PFNGLBINDATTRIBLOCATIONPROC gles2wBindAttribLocation; -extern PFNGLBINDBUFFERPROC gles2wBindBuffer; -extern PFNGLBINDFRAMEBUFFERPROC gles2wBindFramebuffer; -extern PFNGLBINDRENDERBUFFERPROC gles2wBindRenderbuffer; -extern PFNGLBINDTEXTUREPROC gles2wBindTexture; -extern PFNGLBLENDCOLORPROC gles2wBlendColor; -extern PFNGLBLENDEQUATIONPROC gles2wBlendEquation; -extern PFNGLBLENDEQUATIONSEPARATEPROC gles2wBlendEquationSeparate; -extern PFNGLBLENDFUNCPROC gles2wBlendFunc; -extern PFNGLBLENDFUNCSEPARATEPROC gles2wBlendFuncSeparate; -extern PFNGLBUFFERDATAPROC gles2wBufferData; -extern PFNGLBUFFERSUBDATAPROC gles2wBufferSubData; -extern PFNGLCHECKFRAMEBUFFERSTATUSPROC gles2wCheckFramebufferStatus; -extern PFNGLCLEARPROC gles2wClear; -extern PFNGLCLEARCOLORPROC gles2wClearColor; -extern PFNGLCLEARDEPTHFPROC gles2wClearDepthf; -extern PFNGLCLEARSTENCILPROC gles2wClearStencil; -extern PFNGLCOLORMASKPROC gles2wColorMask; -extern PFNGLCOMPILESHADERPROC gles2wCompileShader; -extern PFNGLCOMPRESSEDTEXIMAGE2DPROC gles2wCompressedTexImage2D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC gles2wCompressedTexSubImage2D; -extern PFNGLCOPYTEXIMAGE2DPROC gles2wCopyTexImage2D; -extern PFNGLCOPYTEXSUBIMAGE2DPROC gles2wCopyTexSubImage2D; -extern PFNGLCREATEPROGRAMPROC gles2wCreateProgram; -extern PFNGLCREATESHADERPROC gles2wCreateShader; -extern PFNGLCULLFACEPROC gles2wCullFace; -extern PFNGLDELETEBUFFERSPROC gles2wDeleteBuffers; -extern PFNGLDELETEFRAMEBUFFERSPROC gles2wDeleteFramebuffers; -extern PFNGLDELETEPROGRAMPROC gles2wDeleteProgram; -extern PFNGLDELETERENDERBUFFERSPROC gles2wDeleteRenderbuffers; -extern PFNGLDELETESHADERPROC gles2wDeleteShader; -extern PFNGLDELETETEXTURESPROC gles2wDeleteTextures; -extern PFNGLDEPTHFUNCPROC gles2wDepthFunc; -extern PFNGLDEPTHMASKPROC gles2wDepthMask; -extern PFNGLDEPTHRANGEFPROC gles2wDepthRangef; -extern PFNGLDETACHSHADERPROC gles2wDetachShader; -extern PFNGLDISABLEPROC gles2wDisable; -extern PFNGLDISABLEVERTEXATTRIBARRAYPROC gles2wDisableVertexAttribArray; -extern PFNGLDRAWARRAYSPROC gles2wDrawArrays; -extern PFNGLDRAWELEMENTSPROC gles2wDrawElements; -extern PFNGLENABLEPROC gles2wEnable; -extern PFNGLENABLEVERTEXATTRIBARRAYPROC gles2wEnableVertexAttribArray; -extern PFNGLFINISHPROC gles2wFinish; -extern PFNGLFLUSHPROC gles2wFlush; -extern PFNGLFRAMEBUFFERRENDERBUFFERPROC gles2wFramebufferRenderbuffer; -extern PFNGLFRAMEBUFFERTEXTURE2DPROC gles2wFramebufferTexture2D; -extern PFNGLFRONTFACEPROC gles2wFrontFace; -extern PFNGLGENBUFFERSPROC gles2wGenBuffers; -extern PFNGLGENERATEMIPMAPPROC gles2wGenerateMipmap; -extern PFNGLGENFRAMEBUFFERSPROC gles2wGenFramebuffers; -extern PFNGLGENRENDERBUFFERSPROC gles2wGenRenderbuffers; -extern PFNGLGENTEXTURESPROC gles2wGenTextures; -extern PFNGLGETACTIVEATTRIBPROC gles2wGetActiveAttrib; -extern PFNGLGETACTIVEUNIFORMPROC gles2wGetActiveUniform; -extern PFNGLGETATTACHEDSHADERSPROC gles2wGetAttachedShaders; -extern PFNGLGETATTRIBLOCATIONPROC gles2wGetAttribLocation; -extern PFNGLGETBOOLEANVPROC gles2wGetBooleanv; -extern PFNGLGETBUFFERPARAMETERIVPROC gles2wGetBufferParameteriv; -extern PFNGLGETERRORPROC gles2wGetError; -extern PFNGLGETFLOATVPROC gles2wGetFloatv; -extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC gles2wGetFramebufferAttachmentParameteriv; -extern PFNGLGETINTEGERVPROC gles2wGetIntegerv; -extern PFNGLGETPROGRAMIVPROC gles2wGetProgramiv; -extern PFNGLGETPROGRAMINFOLOGPROC gles2wGetProgramInfoLog; -extern PFNGLGETRENDERBUFFERPARAMETERIVPROC gles2wGetRenderbufferParameteriv; -extern PFNGLGETSHADERIVPROC gles2wGetShaderiv; -extern PFNGLGETSHADERINFOLOGPROC gles2wGetShaderInfoLog; -extern PFNGLGETSHADERPRECISIONFORMATPROC gles2wGetShaderPrecisionFormat; -extern PFNGLGETSHADERSOURCEPROC gles2wGetShaderSource; -extern PFNGLGETSTRINGPROC gles2wGetString; -extern PFNGLGETTEXPARAMETERFVPROC gles2wGetTexParameterfv; -extern PFNGLGETTEXPARAMETERIVPROC gles2wGetTexParameteriv; -extern PFNGLGETUNIFORMFVPROC gles2wGetUniformfv; -extern PFNGLGETUNIFORMIVPROC gles2wGetUniformiv; -extern PFNGLGETUNIFORMLOCATIONPROC gles2wGetUniformLocation; -extern PFNGLGETVERTEXATTRIBFVPROC gles2wGetVertexAttribfv; -extern PFNGLGETVERTEXATTRIBIVPROC gles2wGetVertexAttribiv; -extern PFNGLGETVERTEXATTRIBPOINTERVPROC gles2wGetVertexAttribPointerv; -extern PFNGLHINTPROC gles2wHint; -extern PFNGLISBUFFERPROC gles2wIsBuffer; -extern PFNGLISENABLEDPROC gles2wIsEnabled; -extern PFNGLISFRAMEBUFFERPROC gles2wIsFramebuffer; -extern PFNGLISPROGRAMPROC gles2wIsProgram; -extern PFNGLISRENDERBUFFERPROC gles2wIsRenderbuffer; -extern PFNGLISSHADERPROC gles2wIsShader; -extern PFNGLISTEXTUREPROC gles2wIsTexture; -extern PFNGLLINEWIDTHPROC gles2wLineWidth; -extern PFNGLLINKPROGRAMPROC gles2wLinkProgram; -extern PFNGLPIXELSTOREIPROC gles2wPixelStorei; -extern PFNGLPOLYGONOFFSETPROC gles2wPolygonOffset; -extern PFNGLREADPIXELSPROC gles2wReadPixels; -extern PFNGLRELEASESHADERCOMPILERPROC gles2wReleaseShaderCompiler; -extern PFNGLRENDERBUFFERSTORAGEPROC gles2wRenderbufferStorage; -extern PFNGLSAMPLECOVERAGEPROC gles2wSampleCoverage; -extern PFNGLSCISSORPROC gles2wScissor; -extern PFNGLSHADERBINARYPROC gles2wShaderBinary; -extern PFNGLSHADERSOURCEPROC gles2wShaderSource; -extern PFNGLSTENCILFUNCPROC gles2wStencilFunc; -extern PFNGLSTENCILFUNCSEPARATEPROC gles2wStencilFuncSeparate; -extern PFNGLSTENCILMASKPROC gles2wStencilMask; -extern PFNGLSTENCILMASKSEPARATEPROC gles2wStencilMaskSeparate; -extern PFNGLSTENCILOPPROC gles2wStencilOp; -extern PFNGLSTENCILOPSEPARATEPROC gles2wStencilOpSeparate; -extern PFNGLTEXIMAGE2DPROC gles2wTexImage2D; -extern PFNGLTEXPARAMETERFPROC gles2wTexParameterf; -extern PFNGLTEXPARAMETERFVPROC gles2wTexParameterfv; -extern PFNGLTEXPARAMETERIPROC gles2wTexParameteri; -extern PFNGLTEXPARAMETERIVPROC gles2wTexParameteriv; -extern PFNGLTEXSUBIMAGE2DPROC gles2wTexSubImage2D; -extern PFNGLUNIFORM1FPROC gles2wUniform1f; -extern PFNGLUNIFORM1FVPROC gles2wUniform1fv; -extern PFNGLUNIFORM1IPROC gles2wUniform1i; -extern PFNGLUNIFORM1IVPROC gles2wUniform1iv; -extern PFNGLUNIFORM2FPROC gles2wUniform2f; -extern PFNGLUNIFORM2FVPROC gles2wUniform2fv; -extern PFNGLUNIFORM2IPROC gles2wUniform2i; -extern PFNGLUNIFORM2IVPROC gles2wUniform2iv; -extern PFNGLUNIFORM3FPROC gles2wUniform3f; -extern PFNGLUNIFORM3FVPROC gles2wUniform3fv; -extern PFNGLUNIFORM3IPROC gles2wUniform3i; -extern PFNGLUNIFORM3IVPROC gles2wUniform3iv; -extern PFNGLUNIFORM4FPROC gles2wUniform4f; -extern PFNGLUNIFORM4FVPROC gles2wUniform4fv; -extern PFNGLUNIFORM4IPROC gles2wUniform4i; -extern PFNGLUNIFORM4IVPROC gles2wUniform4iv; -extern PFNGLUNIFORMMATRIX2FVPROC gles2wUniformMatrix2fv; -extern PFNGLUNIFORMMATRIX3FVPROC gles2wUniformMatrix3fv; -extern PFNGLUNIFORMMATRIX4FVPROC gles2wUniformMatrix4fv; -extern PFNGLUSEPROGRAMPROC gles2wUseProgram; -extern PFNGLVALIDATEPROGRAMPROC gles2wValidateProgram; -extern PFNGLVERTEXATTRIB1FPROC gles2wVertexAttrib1f; -extern PFNGLVERTEXATTRIB1FVPROC gles2wVertexAttrib1fv; -extern PFNGLVERTEXATTRIB2FPROC gles2wVertexAttrib2f; -extern PFNGLVERTEXATTRIB2FVPROC gles2wVertexAttrib2fv; -extern PFNGLVERTEXATTRIB3FPROC gles2wVertexAttrib3f; -extern PFNGLVERTEXATTRIB3FVPROC gles2wVertexAttrib3fv; -extern PFNGLVERTEXATTRIB4FPROC gles2wVertexAttrib4f; -extern PFNGLVERTEXATTRIB4FVPROC gles2wVertexAttrib4fv; -extern PFNGLVERTEXATTRIBPOINTERPROC gles2wVertexAttribPointer; -extern PFNGLVIEWPORTPROC gles2wViewport; -extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC gles2wEGLImageTargetTexture2DOES; -extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC gles2wEGLImageTargetRenderbufferStorageOES; -extern PFNGLGETPROGRAMBINARYOESPROC gles2wGetProgramBinaryOES; -extern PFNGLPROGRAMBINARYOESPROC gles2wProgramBinaryOES; -extern PFNGLMAPBUFFEROESPROC gles2wMapBufferOES; -extern PFNGLUNMAPBUFFEROESPROC gles2wUnmapBufferOES; -extern PFNGLGETBUFFERPOINTERVOESPROC gles2wGetBufferPointervOES; -extern PFNGLTEXIMAGE3DOESPROC gles2wTexImage3DOES; -extern PFNGLTEXSUBIMAGE3DOESPROC gles2wTexSubImage3DOES; -extern PFNGLCOPYTEXSUBIMAGE3DOESPROC gles2wCopyTexSubImage3DOES; -extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC gles2wCompressedTexImage3DOES; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC gles2wCompressedTexSubImage3DOES; -extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC gles2wFramebufferTexture3DOES; -extern PFNGLBINDVERTEXARRAYOESPROC gles2wBindVertexArrayOES; -extern PFNGLDELETEVERTEXARRAYSOESPROC gles2wDeleteVertexArraysOES; -extern PFNGLGENVERTEXARRAYSOESPROC gles2wGenVertexArraysOES; -extern PFNGLISVERTEXARRAYOESPROC gles2wIsVertexArrayOES; -extern PFNGLDEBUGMESSAGECONTROLKHRPROC gles2wDebugMessageControlKHR; -extern PFNGLDEBUGMESSAGEINSERTKHRPROC gles2wDebugMessageInsertKHR; -extern PFNGLDEBUGMESSAGECALLBACKKHRPROC gles2wDebugMessageCallbackKHR; -extern PFNGLGETDEBUGMESSAGELOGKHRPROC gles2wGetDebugMessageLogKHR; -extern PFNGLPUSHDEBUGGROUPKHRPROC gles2wPushDebugGroupKHR; -extern PFNGLPOPDEBUGGROUPKHRPROC gles2wPopDebugGroupKHR; -extern PFNGLOBJECTLABELKHRPROC gles2wObjectLabelKHR; -extern PFNGLGETOBJECTLABELKHRPROC gles2wGetObjectLabelKHR; -extern PFNGLOBJECTPTRLABELKHRPROC gles2wObjectPtrLabelKHR; -extern PFNGLGETOBJECTPTRLABELKHRPROC gles2wGetObjectPtrLabelKHR; -extern PFNGLGETPOINTERVKHRPROC gles2wGetPointervKHR; -extern PFNGLGETPERFMONITORGROUPSAMDPROC gles2wGetPerfMonitorGroupsAMD; -extern PFNGLGETPERFMONITORCOUNTERSAMDPROC gles2wGetPerfMonitorCountersAMD; -extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC gles2wGetPerfMonitorGroupStringAMD; -extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC gles2wGetPerfMonitorCounterStringAMD; -extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC gles2wGetPerfMonitorCounterInfoAMD; -extern PFNGLGENPERFMONITORSAMDPROC gles2wGenPerfMonitorsAMD; -extern PFNGLDELETEPERFMONITORSAMDPROC gles2wDeletePerfMonitorsAMD; -extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC gles2wSelectPerfMonitorCountersAMD; -extern PFNGLBEGINPERFMONITORAMDPROC gles2wBeginPerfMonitorAMD; -extern PFNGLENDPERFMONITORAMDPROC gles2wEndPerfMonitorAMD; -extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC gles2wGetPerfMonitorCounterDataAMD; -extern PFNGLBLITFRAMEBUFFERANGLEPROC gles2wBlitFramebufferANGLE; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC gles2wRenderbufferStorageMultisampleANGLE; -extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC gles2wDrawArraysInstancedANGLE; -extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC gles2wDrawElementsInstancedANGLE; -extern PFNGLVERTEXATTRIBDIVISORANGLEPROC gles2wVertexAttribDivisorANGLE; -extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC gles2wGetTranslatedShaderSourceANGLE; -extern PFNGLDRAWARRAYSINSTANCEDEXTPROC gles2wDrawArraysInstancedEXT; -extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC gles2wDrawElementsInstancedEXT; -extern PFNGLVERTEXATTRIBDIVISOREXTPROC gles2wVertexAttribDivisorEXT; -extern PFNGLCOPYTEXTURELEVELSAPPLEPROC gles2wCopyTextureLevelsAPPLE; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC gles2wRenderbufferStorageMultisampleAPPLE; -extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC gles2wResolveMultisampleFramebufferAPPLE; -extern PFNGLFENCESYNCAPPLEPROC gles2wFenceSyncAPPLE; -extern PFNGLISSYNCAPPLEPROC gles2wIsSyncAPPLE; -extern PFNGLDELETESYNCAPPLEPROC gles2wDeleteSyncAPPLE; -extern PFNGLCLIENTWAITSYNCAPPLEPROC gles2wClientWaitSyncAPPLE; -extern PFNGLWAITSYNCAPPLEPROC gles2wWaitSyncAPPLE; -extern PFNGLGETINTEGER64VAPPLEPROC gles2wGetInteger64vAPPLE; -extern PFNGLGETSYNCIVAPPLEPROC gles2wGetSyncivAPPLE; -extern PFNGLLABELOBJECTEXTPROC gles2wLabelObjectEXT; -extern PFNGLGETOBJECTLABELEXTPROC gles2wGetObjectLabelEXT; -extern PFNGLINSERTEVENTMARKEREXTPROC gles2wInsertEventMarkerEXT; -extern PFNGLPUSHGROUPMARKEREXTPROC gles2wPushGroupMarkerEXT; -extern PFNGLPOPGROUPMARKEREXTPROC gles2wPopGroupMarkerEXT; -extern PFNGLDISCARDFRAMEBUFFEREXTPROC gles2wDiscardFramebufferEXT; -extern PFNGLGENQUERIESEXTPROC gles2wGenQueriesEXT; -extern PFNGLDELETEQUERIESEXTPROC gles2wDeleteQueriesEXT; -extern PFNGLISQUERYEXTPROC gles2wIsQueryEXT; -extern PFNGLBEGINQUERYEXTPROC gles2wBeginQueryEXT; -extern PFNGLENDQUERYEXTPROC gles2wEndQueryEXT; -extern PFNGLQUERYCOUNTEREXTPROC gles2wQueryCounterEXT; -extern PFNGLGETQUERYIVEXTPROC gles2wGetQueryivEXT; -extern PFNGLGETQUERYOBJECTIVEXTPROC gles2wGetQueryObjectivEXT; -extern PFNGLGETQUERYOBJECTUIVEXTPROC gles2wGetQueryObjectuivEXT; -extern PFNGLGETQUERYOBJECTI64VEXTPROC gles2wGetQueryObjecti64vEXT; -extern PFNGLGETQUERYOBJECTUI64VEXTPROC gles2wGetQueryObjectui64vEXT; -extern PFNGLMAPBUFFERRANGEEXTPROC gles2wMapBufferRangeEXT; -extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC gles2wFlushMappedBufferRangeEXT; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC gles2wRenderbufferStorageMultisampleEXT; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC gles2wFramebufferTexture2DMultisampleEXT; -extern PFNGLREADBUFFERINDEXEDEXTPROC gles2wReadBufferIndexedEXT; -extern PFNGLDRAWBUFFERSINDEXEDEXTPROC gles2wDrawBuffersIndexedEXT; -extern PFNGLGETINTEGERI_VEXTPROC gles2wGetIntegeri_vEXT; -extern PFNGLMULTIDRAWARRAYSEXTPROC gles2wMultiDrawArraysEXT; -extern PFNGLMULTIDRAWELEMENTSEXTPROC gles2wMultiDrawElementsEXT; -extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC gles2wGetGraphicsResetStatusEXT; -extern PFNGLREADNPIXELSEXTPROC gles2wReadnPixelsEXT; -extern PFNGLGETNUNIFORMFVEXTPROC gles2wGetnUniformfvEXT; -extern PFNGLGETNUNIFORMIVEXTPROC gles2wGetnUniformivEXT; -extern PFNGLUSEPROGRAMSTAGESEXTPROC gles2wUseProgramStagesEXT; -extern PFNGLACTIVESHADERPROGRAMEXTPROC gles2wActiveShaderProgramEXT; -extern PFNGLCREATESHADERPROGRAMVEXTPROC gles2wCreateShaderProgramvEXT; -extern PFNGLBINDPROGRAMPIPELINEEXTPROC gles2wBindProgramPipelineEXT; -extern PFNGLDELETEPROGRAMPIPELINESEXTPROC gles2wDeleteProgramPipelinesEXT; -extern PFNGLGENPROGRAMPIPELINESEXTPROC gles2wGenProgramPipelinesEXT; -extern PFNGLISPROGRAMPIPELINEEXTPROC gles2wIsProgramPipelineEXT; -extern PFNGLPROGRAMPARAMETERIEXTPROC gles2wProgramParameteriEXT; -extern PFNGLGETPROGRAMPIPELINEIVEXTPROC gles2wGetProgramPipelineivEXT; -extern PFNGLPROGRAMUNIFORM1IEXTPROC gles2wProgramUniform1iEXT; -extern PFNGLPROGRAMUNIFORM2IEXTPROC gles2wProgramUniform2iEXT; -extern PFNGLPROGRAMUNIFORM3IEXTPROC gles2wProgramUniform3iEXT; -extern PFNGLPROGRAMUNIFORM4IEXTPROC gles2wProgramUniform4iEXT; -extern PFNGLPROGRAMUNIFORM1FEXTPROC gles2wProgramUniform1fEXT; -extern PFNGLPROGRAMUNIFORM2FEXTPROC gles2wProgramUniform2fEXT; -extern PFNGLPROGRAMUNIFORM3FEXTPROC gles2wProgramUniform3fEXT; -extern PFNGLPROGRAMUNIFORM4FEXTPROC gles2wProgramUniform4fEXT; -extern PFNGLPROGRAMUNIFORM1IVEXTPROC gles2wProgramUniform1ivEXT; -extern PFNGLPROGRAMUNIFORM2IVEXTPROC gles2wProgramUniform2ivEXT; -extern PFNGLPROGRAMUNIFORM3IVEXTPROC gles2wProgramUniform3ivEXT; -extern PFNGLPROGRAMUNIFORM4IVEXTPROC gles2wProgramUniform4ivEXT; -extern PFNGLPROGRAMUNIFORM1FVEXTPROC gles2wProgramUniform1fvEXT; -extern PFNGLPROGRAMUNIFORM2FVEXTPROC gles2wProgramUniform2fvEXT; -extern PFNGLPROGRAMUNIFORM3FVEXTPROC gles2wProgramUniform3fvEXT; -extern PFNGLPROGRAMUNIFORM4FVEXTPROC gles2wProgramUniform4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC gles2wProgramUniformMatrix2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC gles2wProgramUniformMatrix3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC gles2wProgramUniformMatrix4fvEXT; -extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC gles2wValidateProgramPipelineEXT; -extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC gles2wGetProgramPipelineInfoLogEXT; -extern PFNGLTEXSTORAGE1DEXTPROC gles2wTexStorage1DEXT; -extern PFNGLTEXSTORAGE2DEXTPROC gles2wTexStorage2DEXT; -extern PFNGLTEXSTORAGE3DEXTPROC gles2wTexStorage3DEXT; -extern PFNGLTEXTURESTORAGE1DEXTPROC gles2wTextureStorage1DEXT; -extern PFNGLTEXTURESTORAGE2DEXTPROC gles2wTextureStorage2DEXT; -extern PFNGLTEXTURESTORAGE3DEXTPROC gles2wTextureStorage3DEXT; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC gles2wRenderbufferStorageMultisampleIMG; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC gles2wFramebufferTexture2DMultisampleIMG; -extern PFNGLCOVERAGEMASKNVPROC gles2wCoverageMaskNV; -extern PFNGLCOVERAGEOPERATIONNVPROC gles2wCoverageOperationNV; -extern PFNGLDRAWBUFFERSNVPROC gles2wDrawBuffersNV; -extern PFNGLDRAWARRAYSINSTANCEDNVPROC gles2wDrawArraysInstancedNV; -extern PFNGLDRAWELEMENTSINSTANCEDNVPROC gles2wDrawElementsInstancedNV; -extern PFNGLDELETEFENCESNVPROC gles2wDeleteFencesNV; -extern PFNGLGENFENCESNVPROC gles2wGenFencesNV; -extern PFNGLISFENCENVPROC gles2wIsFenceNV; -extern PFNGLTESTFENCENVPROC gles2wTestFenceNV; -extern PFNGLGETFENCEIVNVPROC gles2wGetFenceivNV; -extern PFNGLFINISHFENCENVPROC gles2wFinishFenceNV; -extern PFNGLSETFENCENVPROC gles2wSetFenceNV; -extern PFNGLBLITFRAMEBUFFERNVPROC gles2wBlitFramebufferNV; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC gles2wRenderbufferStorageMultisampleNV; -extern PFNGLVERTEXATTRIBDIVISORNVPROC gles2wVertexAttribDivisorNV; -extern PFNGLREADBUFFERNVPROC gles2wReadBufferNV; -extern PFNGLALPHAFUNCQCOMPROC gles2wAlphaFuncQCOM; -extern PFNGLGETDRIVERCONTROLSQCOMPROC gles2wGetDriverControlsQCOM; -extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC gles2wGetDriverControlStringQCOM; -extern PFNGLENABLEDRIVERCONTROLQCOMPROC gles2wEnableDriverControlQCOM; -extern PFNGLDISABLEDRIVERCONTROLQCOMPROC gles2wDisableDriverControlQCOM; -extern PFNGLEXTGETTEXTURESQCOMPROC gles2wExtGetTexturesQCOM; -extern PFNGLEXTGETBUFFERSQCOMPROC gles2wExtGetBuffersQCOM; -extern PFNGLEXTGETRENDERBUFFERSQCOMPROC gles2wExtGetRenderbuffersQCOM; -extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC gles2wExtGetFramebuffersQCOM; -extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC gles2wExtGetTexLevelParameterivQCOM; -extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC gles2wExtTexObjectStateOverrideiQCOM; -extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC gles2wExtGetTexSubImageQCOM; -extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC gles2wExtGetBufferPointervQCOM; -extern PFNGLEXTGETSHADERSQCOMPROC gles2wExtGetShadersQCOM; -extern PFNGLEXTGETPROGRAMSQCOMPROC gles2wExtGetProgramsQCOM; -extern PFNGLEXTISPROGRAMBINARYQCOMPROC gles2wExtIsProgramBinaryQCOM; -extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC gles2wExtGetProgramBinarySourceQCOM; -extern PFNGLSTARTTILINGQCOMPROC gles2wStartTilingQCOM; -extern PFNGLENDTILINGQCOMPROC gles2wEndTilingQCOM; - -#define glActiveTexture gles2wActiveTexture -#define glAttachShader gles2wAttachShader -#define glBindAttribLocation gles2wBindAttribLocation -#define glBindBuffer gles2wBindBuffer -#define glBindFramebuffer gles2wBindFramebuffer -#define glBindRenderbuffer gles2wBindRenderbuffer -#define glBindTexture gles2wBindTexture -#define glBlendColor gles2wBlendColor -#define glBlendEquation gles2wBlendEquation -#define glBlendEquationSeparate gles2wBlendEquationSeparate -#define glBlendFunc gles2wBlendFunc -#define glBlendFuncSeparate gles2wBlendFuncSeparate -#define glBufferData gles2wBufferData -#define glBufferSubData gles2wBufferSubData -#define glCheckFramebufferStatus gles2wCheckFramebufferStatus -#define glClear gles2wClear -#define glClearColor gles2wClearColor -#define glClearDepthf gles2wClearDepthf -#define glClearStencil gles2wClearStencil -#define glColorMask gles2wColorMask -#define glCompileShader gles2wCompileShader -#define glCompressedTexImage2D gles2wCompressedTexImage2D -#define glCompressedTexSubImage2D gles2wCompressedTexSubImage2D -#define glCopyTexImage2D gles2wCopyTexImage2D -#define glCopyTexSubImage2D gles2wCopyTexSubImage2D -#define glCreateProgram gles2wCreateProgram -#define glCreateShader gles2wCreateShader -#define glCullFace gles2wCullFace -#define glDeleteBuffers gles2wDeleteBuffers -#define glDeleteFramebuffers gles2wDeleteFramebuffers -#define glDeleteProgram gles2wDeleteProgram -#define glDeleteRenderbuffers gles2wDeleteRenderbuffers -#define glDeleteShader gles2wDeleteShader -#define glDeleteTextures gles2wDeleteTextures -#define glDepthFunc gles2wDepthFunc -#define glDepthMask gles2wDepthMask -#define glDepthRangef gles2wDepthRangef -#define glDetachShader gles2wDetachShader -#define glDisable gles2wDisable -#define glDisableVertexAttribArray gles2wDisableVertexAttribArray -#define glDrawArrays gles2wDrawArrays -#define glDrawElements gles2wDrawElements -#define glEnable gles2wEnable -#define glEnableVertexAttribArray gles2wEnableVertexAttribArray -#define glFinish gles2wFinish -#define glFlush gles2wFlush -#define glFramebufferRenderbuffer gles2wFramebufferRenderbuffer -#define glFramebufferTexture2D gles2wFramebufferTexture2D -#define glFrontFace gles2wFrontFace -#define glGenBuffers gles2wGenBuffers -#define glGenerateMipmap gles2wGenerateMipmap -#define glGenFramebuffers gles2wGenFramebuffers -#define glGenRenderbuffers gles2wGenRenderbuffers -#define glGenTextures gles2wGenTextures -#define glGetActiveAttrib gles2wGetActiveAttrib -#define glGetActiveUniform gles2wGetActiveUniform -#define glGetAttachedShaders gles2wGetAttachedShaders -#define glGetAttribLocation gles2wGetAttribLocation -#define glGetBooleanv gles2wGetBooleanv -#define glGetBufferParameteriv gles2wGetBufferParameteriv -#define glGetError gles2wGetError -#define glGetFloatv gles2wGetFloatv -#define glGetFramebufferAttachmentParameteriv gles2wGetFramebufferAttachmentParameteriv -#define glGetIntegerv gles2wGetIntegerv -#define glGetProgramiv gles2wGetProgramiv -#define glGetProgramInfoLog gles2wGetProgramInfoLog -#define glGetRenderbufferParameteriv gles2wGetRenderbufferParameteriv -#define glGetShaderiv gles2wGetShaderiv -#define glGetShaderInfoLog gles2wGetShaderInfoLog -#define glGetShaderPrecisionFormat gles2wGetShaderPrecisionFormat -#define glGetShaderSource gles2wGetShaderSource -#define glGetString gles2wGetString -#define glGetTexParameterfv gles2wGetTexParameterfv -#define glGetTexParameteriv gles2wGetTexParameteriv -#define glGetUniformfv gles2wGetUniformfv -#define glGetUniformiv gles2wGetUniformiv -#define glGetUniformLocation gles2wGetUniformLocation -#define glGetVertexAttribfv gles2wGetVertexAttribfv -#define glGetVertexAttribiv gles2wGetVertexAttribiv -#define glGetVertexAttribPointerv gles2wGetVertexAttribPointerv -#define glHint gles2wHint -#define glIsBuffer gles2wIsBuffer -#define glIsEnabled gles2wIsEnabled -#define glIsFramebuffer gles2wIsFramebuffer -#define glIsProgram gles2wIsProgram -#define glIsRenderbuffer gles2wIsRenderbuffer -#define glIsShader gles2wIsShader -#define glIsTexture gles2wIsTexture -#define glLineWidth gles2wLineWidth -#define glLinkProgram gles2wLinkProgram -#define glPixelStorei gles2wPixelStorei -#define glPolygonOffset gles2wPolygonOffset -#define glReadPixels gles2wReadPixels -#define glReleaseShaderCompiler gles2wReleaseShaderCompiler -#define glRenderbufferStorage gles2wRenderbufferStorage -#define glSampleCoverage gles2wSampleCoverage -#define glScissor gles2wScissor -#define glShaderBinary gles2wShaderBinary -#define glShaderSource gles2wShaderSource -#define glStencilFunc gles2wStencilFunc -#define glStencilFuncSeparate gles2wStencilFuncSeparate -#define glStencilMask gles2wStencilMask -#define glStencilMaskSeparate gles2wStencilMaskSeparate -#define glStencilOp gles2wStencilOp -#define glStencilOpSeparate gles2wStencilOpSeparate -#define glTexImage2D gles2wTexImage2D -#define glTexParameterf gles2wTexParameterf -#define glTexParameterfv gles2wTexParameterfv -#define glTexParameteri gles2wTexParameteri -#define glTexParameteriv gles2wTexParameteriv -#define glTexSubImage2D gles2wTexSubImage2D -#define glUniform1f gles2wUniform1f -#define glUniform1fv gles2wUniform1fv -#define glUniform1i gles2wUniform1i -#define glUniform1iv gles2wUniform1iv -#define glUniform2f gles2wUniform2f -#define glUniform2fv gles2wUniform2fv -#define glUniform2i gles2wUniform2i -#define glUniform2iv gles2wUniform2iv -#define glUniform3f gles2wUniform3f -#define glUniform3fv gles2wUniform3fv -#define glUniform3i gles2wUniform3i -#define glUniform3iv gles2wUniform3iv -#define glUniform4f gles2wUniform4f -#define glUniform4fv gles2wUniform4fv -#define glUniform4i gles2wUniform4i -#define glUniform4iv gles2wUniform4iv -#define glUniformMatrix2fv gles2wUniformMatrix2fv -#define glUniformMatrix3fv gles2wUniformMatrix3fv -#define glUniformMatrix4fv gles2wUniformMatrix4fv -#define glUseProgram gles2wUseProgram -#define glValidateProgram gles2wValidateProgram -#define glVertexAttrib1f gles2wVertexAttrib1f -#define glVertexAttrib1fv gles2wVertexAttrib1fv -#define glVertexAttrib2f gles2wVertexAttrib2f -#define glVertexAttrib2fv gles2wVertexAttrib2fv -#define glVertexAttrib3f gles2wVertexAttrib3f -#define glVertexAttrib3fv gles2wVertexAttrib3fv -#define glVertexAttrib4f gles2wVertexAttrib4f -#define glVertexAttrib4fv gles2wVertexAttrib4fv -#define glVertexAttribPointer gles2wVertexAttribPointer -#define glViewport gles2wViewport -#define glEGLImageTargetTexture2DOES gles2wEGLImageTargetTexture2DOES -#define glEGLImageTargetRenderbufferStorageOES gles2wEGLImageTargetRenderbufferStorageOES -#define glGetProgramBinaryOES gles2wGetProgramBinaryOES -#define glProgramBinaryOES gles2wProgramBinaryOES -#define glMapBufferOES gles2wMapBufferOES -#define glUnmapBufferOES gles2wUnmapBufferOES -#define glGetBufferPointervOES gles2wGetBufferPointervOES -#define glTexImage3DOES gles2wTexImage3DOES -#define glTexSubImage3DOES gles2wTexSubImage3DOES -#define glCopyTexSubImage3DOES gles2wCopyTexSubImage3DOES -#define glCompressedTexImage3DOES gles2wCompressedTexImage3DOES -#define glCompressedTexSubImage3DOES gles2wCompressedTexSubImage3DOES -#define glFramebufferTexture3DOES gles2wFramebufferTexture3DOES -#define glBindVertexArrayOES gles2wBindVertexArrayOES -#define glDeleteVertexArraysOES gles2wDeleteVertexArraysOES -#define glGenVertexArraysOES gles2wGenVertexArraysOES -#define glIsVertexArrayOES gles2wIsVertexArrayOES -#define glDebugMessageControlKHR gles2wDebugMessageControlKHR -#define glDebugMessageInsertKHR gles2wDebugMessageInsertKHR -#define glDebugMessageCallbackKHR gles2wDebugMessageCallbackKHR -#define glGetDebugMessageLogKHR gles2wGetDebugMessageLogKHR -#define glPushDebugGroupKHR gles2wPushDebugGroupKHR -#define glPopDebugGroupKHR gles2wPopDebugGroupKHR -#define glObjectLabelKHR gles2wObjectLabelKHR -#define glGetObjectLabelKHR gles2wGetObjectLabelKHR -#define glObjectPtrLabelKHR gles2wObjectPtrLabelKHR -#define glGetObjectPtrLabelKHR gles2wGetObjectPtrLabelKHR -#define glGetPointervKHR gles2wGetPointervKHR -#define glGetPerfMonitorGroupsAMD gles2wGetPerfMonitorGroupsAMD -#define glGetPerfMonitorCountersAMD gles2wGetPerfMonitorCountersAMD -#define glGetPerfMonitorGroupStringAMD gles2wGetPerfMonitorGroupStringAMD -#define glGetPerfMonitorCounterStringAMD gles2wGetPerfMonitorCounterStringAMD -#define glGetPerfMonitorCounterInfoAMD gles2wGetPerfMonitorCounterInfoAMD -#define glGenPerfMonitorsAMD gles2wGenPerfMonitorsAMD -#define glDeletePerfMonitorsAMD gles2wDeletePerfMonitorsAMD -#define glSelectPerfMonitorCountersAMD gles2wSelectPerfMonitorCountersAMD -#define glBeginPerfMonitorAMD gles2wBeginPerfMonitorAMD -#define glEndPerfMonitorAMD gles2wEndPerfMonitorAMD -#define glGetPerfMonitorCounterDataAMD gles2wGetPerfMonitorCounterDataAMD -#define glBlitFramebufferANGLE gles2wBlitFramebufferANGLE -#define glRenderbufferStorageMultisampleANGLE gles2wRenderbufferStorageMultisampleANGLE -#define glDrawArraysInstancedANGLE gles2wDrawArraysInstancedANGLE -#define glDrawElementsInstancedANGLE gles2wDrawElementsInstancedANGLE -#define glVertexAttribDivisorANGLE gles2wVertexAttribDivisorANGLE -#define glGetTranslatedShaderSourceANGLE gles2wGetTranslatedShaderSourceANGLE -#define glDrawArraysInstancedEXT gles2wDrawArraysInstancedEXT -#define glDrawElementsInstancedEXT gles2wDrawElementsInstancedEXT -#define glVertexAttribDivisorEXT gles2wVertexAttribDivisorEXT -#define glCopyTextureLevelsAPPLE gles2wCopyTextureLevelsAPPLE -#define glRenderbufferStorageMultisampleAPPLE gles2wRenderbufferStorageMultisampleAPPLE -#define glResolveMultisampleFramebufferAPPLE gles2wResolveMultisampleFramebufferAPPLE -#define glFenceSyncAPPLE gles2wFenceSyncAPPLE -#define glIsSyncAPPLE gles2wIsSyncAPPLE -#define glDeleteSyncAPPLE gles2wDeleteSyncAPPLE -#define glClientWaitSyncAPPLE gles2wClientWaitSyncAPPLE -#define glWaitSyncAPPLE gles2wWaitSyncAPPLE -#define glGetInteger64vAPPLE gles2wGetInteger64vAPPLE -#define glGetSyncivAPPLE gles2wGetSyncivAPPLE -#define glLabelObjectEXT gles2wLabelObjectEXT -#define glGetObjectLabelEXT gles2wGetObjectLabelEXT -#define glInsertEventMarkerEXT gles2wInsertEventMarkerEXT -#define glPushGroupMarkerEXT gles2wPushGroupMarkerEXT -#define glPopGroupMarkerEXT gles2wPopGroupMarkerEXT -#define glDiscardFramebufferEXT gles2wDiscardFramebufferEXT -#define glGenQueriesEXT gles2wGenQueriesEXT -#define glDeleteQueriesEXT gles2wDeleteQueriesEXT -#define glIsQueryEXT gles2wIsQueryEXT -#define glBeginQueryEXT gles2wBeginQueryEXT -#define glEndQueryEXT gles2wEndQueryEXT -#define glQueryCounterEXT gles2wQueryCounterEXT -#define glGetQueryivEXT gles2wGetQueryivEXT -#define glGetQueryObjectivEXT gles2wGetQueryObjectivEXT -#define glGetQueryObjectuivEXT gles2wGetQueryObjectuivEXT -#define glGetQueryObjecti64vEXT gles2wGetQueryObjecti64vEXT -#define glGetQueryObjectui64vEXT gles2wGetQueryObjectui64vEXT -#define glMapBufferRangeEXT gles2wMapBufferRangeEXT -#define glFlushMappedBufferRangeEXT gles2wFlushMappedBufferRangeEXT -#define glRenderbufferStorageMultisampleEXT gles2wRenderbufferStorageMultisampleEXT -#define glFramebufferTexture2DMultisampleEXT gles2wFramebufferTexture2DMultisampleEXT -#define glReadBufferIndexedEXT gles2wReadBufferIndexedEXT -#define glDrawBuffersIndexedEXT gles2wDrawBuffersIndexedEXT -#define glGetIntegeri_vEXT gles2wGetIntegeri_vEXT -#define glMultiDrawArraysEXT gles2wMultiDrawArraysEXT -#define glMultiDrawElementsEXT gles2wMultiDrawElementsEXT -#define glGetGraphicsResetStatusEXT gles2wGetGraphicsResetStatusEXT -#define glReadnPixelsEXT gles2wReadnPixelsEXT -#define glGetnUniformfvEXT gles2wGetnUniformfvEXT -#define glGetnUniformivEXT gles2wGetnUniformivEXT -#define glUseProgramStagesEXT gles2wUseProgramStagesEXT -#define glActiveShaderProgramEXT gles2wActiveShaderProgramEXT -#define glCreateShaderProgramvEXT gles2wCreateShaderProgramvEXT -#define glBindProgramPipelineEXT gles2wBindProgramPipelineEXT -#define glDeleteProgramPipelinesEXT gles2wDeleteProgramPipelinesEXT -#define glGenProgramPipelinesEXT gles2wGenProgramPipelinesEXT -#define glIsProgramPipelineEXT gles2wIsProgramPipelineEXT -#define glProgramParameteriEXT gles2wProgramParameteriEXT -#define glGetProgramPipelineivEXT gles2wGetProgramPipelineivEXT -#define glProgramUniform1iEXT gles2wProgramUniform1iEXT -#define glProgramUniform2iEXT gles2wProgramUniform2iEXT -#define glProgramUniform3iEXT gles2wProgramUniform3iEXT -#define glProgramUniform4iEXT gles2wProgramUniform4iEXT -#define glProgramUniform1fEXT gles2wProgramUniform1fEXT -#define glProgramUniform2fEXT gles2wProgramUniform2fEXT -#define glProgramUniform3fEXT gles2wProgramUniform3fEXT -#define glProgramUniform4fEXT gles2wProgramUniform4fEXT -#define glProgramUniform1ivEXT gles2wProgramUniform1ivEXT -#define glProgramUniform2ivEXT gles2wProgramUniform2ivEXT -#define glProgramUniform3ivEXT gles2wProgramUniform3ivEXT -#define glProgramUniform4ivEXT gles2wProgramUniform4ivEXT -#define glProgramUniform1fvEXT gles2wProgramUniform1fvEXT -#define glProgramUniform2fvEXT gles2wProgramUniform2fvEXT -#define glProgramUniform3fvEXT gles2wProgramUniform3fvEXT -#define glProgramUniform4fvEXT gles2wProgramUniform4fvEXT -#define glProgramUniformMatrix2fvEXT gles2wProgramUniformMatrix2fvEXT -#define glProgramUniformMatrix3fvEXT gles2wProgramUniformMatrix3fvEXT -#define glProgramUniformMatrix4fvEXT gles2wProgramUniformMatrix4fvEXT -#define glValidateProgramPipelineEXT gles2wValidateProgramPipelineEXT -#define glGetProgramPipelineInfoLogEXT gles2wGetProgramPipelineInfoLogEXT -#define glTexStorage1DEXT gles2wTexStorage1DEXT -#define glTexStorage2DEXT gles2wTexStorage2DEXT -#define glTexStorage3DEXT gles2wTexStorage3DEXT -#define glTextureStorage1DEXT gles2wTextureStorage1DEXT -#define glTextureStorage2DEXT gles2wTextureStorage2DEXT -#define glTextureStorage3DEXT gles2wTextureStorage3DEXT -#define glRenderbufferStorageMultisampleIMG gles2wRenderbufferStorageMultisampleIMG -#define glFramebufferTexture2DMultisampleIMG gles2wFramebufferTexture2DMultisampleIMG -#define glCoverageMaskNV gles2wCoverageMaskNV -#define glCoverageOperationNV gles2wCoverageOperationNV -#define glDrawBuffersNV gles2wDrawBuffersNV -#define glDrawArraysInstancedNV gles2wDrawArraysInstancedNV -#define glDrawElementsInstancedNV gles2wDrawElementsInstancedNV -#define glDeleteFencesNV gles2wDeleteFencesNV -#define glGenFencesNV gles2wGenFencesNV -#define glIsFenceNV gles2wIsFenceNV -#define glTestFenceNV gles2wTestFenceNV -#define glGetFenceivNV gles2wGetFenceivNV -#define glFinishFenceNV gles2wFinishFenceNV -#define glSetFenceNV gles2wSetFenceNV -#define glBlitFramebufferNV gles2wBlitFramebufferNV -#define glRenderbufferStorageMultisampleNV gles2wRenderbufferStorageMultisampleNV -#define glVertexAttribDivisorNV gles2wVertexAttribDivisorNV -#define glReadBufferNV gles2wReadBufferNV -#define glAlphaFuncQCOM gles2wAlphaFuncQCOM -#define glGetDriverControlsQCOM gles2wGetDriverControlsQCOM -#define glGetDriverControlStringQCOM gles2wGetDriverControlStringQCOM -#define glEnableDriverControlQCOM gles2wEnableDriverControlQCOM -#define glDisableDriverControlQCOM gles2wDisableDriverControlQCOM -#define glExtGetTexturesQCOM gles2wExtGetTexturesQCOM -#define glExtGetBuffersQCOM gles2wExtGetBuffersQCOM -#define glExtGetRenderbuffersQCOM gles2wExtGetRenderbuffersQCOM -#define glExtGetFramebuffersQCOM gles2wExtGetFramebuffersQCOM -#define glExtGetTexLevelParameterivQCOM gles2wExtGetTexLevelParameterivQCOM -#define glExtTexObjectStateOverrideiQCOM gles2wExtTexObjectStateOverrideiQCOM -#define glExtGetTexSubImageQCOM gles2wExtGetTexSubImageQCOM -#define glExtGetBufferPointervQCOM gles2wExtGetBufferPointervQCOM -#define glExtGetShadersQCOM gles2wExtGetShadersQCOM -#define glExtGetProgramsQCOM gles2wExtGetProgramsQCOM -#define glExtIsProgramBinaryQCOM gles2wExtIsProgramBinaryQCOM -#define glExtGetProgramBinarySourceQCOM gles2wExtGetProgramBinarySourceQCOM -#define glStartTilingQCOM gles2wStartTilingQCOM -#define glEndTilingQCOM gles2wEndTilingQCOM - -#ifdef __cplusplus -} -#endif +/* gles api */ +extern PFNGLACTIVETEXTUREPROC glActiveTexture; +extern PFNGLATTACHSHADERPROC glAttachShader; +extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +extern PFNGLBINDBUFFERPROC glBindBuffer; +extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +extern PFNGLBINDTEXTUREPROC glBindTexture; +extern PFNGLBLENDCOLORPROC glBlendColor; +extern PFNGLBLENDEQUATIONPROC glBlendEquation; +extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +extern PFNGLBLENDFUNCPROC glBlendFunc; +extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +extern PFNGLBUFFERDATAPROC glBufferData; +extern PFNGLBUFFERSUBDATAPROC glBufferSubData; +extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +extern PFNGLCLEARPROC glClear; +extern PFNGLCLEARCOLORPROC glClearColor; +extern PFNGLCLEARDEPTHFPROC glClearDepthf; +extern PFNGLCLEARSTENCILPROC glClearStencil; +extern PFNGLCOLORMASKPROC glColorMask; +extern PFNGLCOMPILESHADERPROC glCompileShader; +extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +extern PFNGLCREATEPROGRAMPROC glCreateProgram; +extern PFNGLCREATESHADERPROC glCreateShader; +extern PFNGLCULLFACEPROC glCullFace; +extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; +extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +extern PFNGLDELETEPROGRAMPROC glDeleteProgram; +extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +extern PFNGLDELETESHADERPROC glDeleteShader; +extern PFNGLDELETETEXTURESPROC glDeleteTextures; +extern PFNGLDEPTHFUNCPROC glDepthFunc; +extern PFNGLDEPTHMASKPROC glDepthMask; +extern PFNGLDEPTHRANGEFPROC glDepthRangef; +extern PFNGLDETACHSHADERPROC glDetachShader; +extern PFNGLDISABLEPROC glDisable; +extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +extern PFNGLDRAWARRAYSPROC glDrawArrays; +extern PFNGLDRAWELEMENTSPROC glDrawElements; +extern PFNGLENABLEPROC glEnable; +extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +extern PFNGLFINISHPROC glFinish; +extern PFNGLFLUSHPROC glFlush; +extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +extern PFNGLFRONTFACEPROC glFrontFace; +extern PFNGLGENBUFFERSPROC glGenBuffers; +extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +extern PFNGLGENTEXTURESPROC glGenTextures; +extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +extern PFNGLGETBOOLEANVPROC glGetBooleanv; +extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +extern PFNGLGETERRORPROC glGetError; +extern PFNGLGETFLOATVPROC glGetFloatv; +extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +extern PFNGLGETINTEGERVPROC glGetIntegerv; +extern PFNGLGETPROGRAMIVPROC glGetProgramiv; +extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +extern PFNGLGETSHADERIVPROC glGetShaderiv; +extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; +extern PFNGLGETSTRINGPROC glGetString; +extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +extern PFNGLGETUNIFORMFVPROC glGetUniformfv; +extern PFNGLGETUNIFORMIVPROC glGetUniformiv; +extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +extern PFNGLHINTPROC glHint; +extern PFNGLISBUFFERPROC glIsBuffer; +extern PFNGLISENABLEDPROC glIsEnabled; +extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +extern PFNGLISPROGRAMPROC glIsProgram; +extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +extern PFNGLISSHADERPROC glIsShader; +extern PFNGLISTEXTUREPROC glIsTexture; +extern PFNGLLINEWIDTHPROC glLineWidth; +extern PFNGLLINKPROGRAMPROC glLinkProgram; +extern PFNGLPIXELSTOREIPROC glPixelStorei; +extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; +extern PFNGLREADPIXELSPROC glReadPixels; +extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +extern PFNGLSCISSORPROC glScissor; +extern PFNGLSHADERBINARYPROC glShaderBinary; +extern PFNGLSHADERSOURCEPROC glShaderSource; +extern PFNGLSTENCILFUNCPROC glStencilFunc; +extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +extern PFNGLSTENCILMASKPROC glStencilMask; +extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +extern PFNGLSTENCILOPPROC glStencilOp; +extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +extern PFNGLTEXIMAGE2DPROC glTexImage2D; +extern PFNGLTEXPARAMETERFPROC glTexParameterf; +extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; +extern PFNGLTEXPARAMETERIPROC glTexParameteri; +extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; +extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +extern PFNGLUNIFORM1FPROC glUniform1f; +extern PFNGLUNIFORM1FVPROC glUniform1fv; +extern PFNGLUNIFORM1IPROC glUniform1i; +extern PFNGLUNIFORM1IVPROC glUniform1iv; +extern PFNGLUNIFORM2FPROC glUniform2f; +extern PFNGLUNIFORM2FVPROC glUniform2fv; +extern PFNGLUNIFORM2IPROC glUniform2i; +extern PFNGLUNIFORM2IVPROC glUniform2iv; +extern PFNGLUNIFORM3FPROC glUniform3f; +extern PFNGLUNIFORM3FVPROC glUniform3fv; +extern PFNGLUNIFORM3IPROC glUniform3i; +extern PFNGLUNIFORM3IVPROC glUniform3iv; +extern PFNGLUNIFORM4FPROC glUniform4f; +extern PFNGLUNIFORM4FVPROC glUniform4fv; +extern PFNGLUNIFORM4IPROC glUniform4i; +extern PFNGLUNIFORM4IVPROC glUniform4iv; +extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +extern PFNGLUSEPROGRAMPROC glUseProgram; +extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; +extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +extern PFNGLVIEWPORTPROC glViewport; +extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +extern PFNGLMAPBUFFEROESPROC glMapBufferOES; +extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +extern PFNGLISQUERYEXTPROC glIsQueryEXT; +extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +extern PFNGLENDQUERYEXTPROC glEndQueryEXT; +extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; +extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; +extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +extern PFNGLGENFENCESNVPROC glGenFencesNV; +extern PFNGLISFENCENVPROC glIsFenceNV; +extern PFNGLTESTFENCENVPROC glTestFenceNV; +extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; +extern PFNGLFINISHFENCENVPROC glFinishFenceNV; +extern PFNGLSETFENCENVPROC glSetFenceNV; +extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +extern PFNGLREADBUFFERNVPROC glReadBufferNV; +extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index b822d1272c..390243110f 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -15,29 +15,6 @@ set(INCLUDE_FILES ${COCOS_SRC_PATH}/renderer/gfx-gles3 ) -if(WIN32) - if(COCOS_CPU_X64) - set(PVRSDK_LIB_DIR ${GFX_EXTERNAL_PATH}/pvrsdk/lib/Windows_x86_64) - else() - set(PVRSDK_LIB_DIR ${GFX_EXTERNAL_PATH}/pvrsdk/lib/Windows_x86_32) - endif() - - link_libraries( - ${PVRSDK_LIB_DIR}/libEGL.lib - ${PVRSDK_LIB_DIR}/libGLESv2.lib - ) -endif() - -if(COCOS_PLATFORM_OSX) - list(APPEND INCLUDE_FILES ${GFX_EXTERNAL_PATH}/pvrsdk/include) - set(PVRSDK_LIB_DIR ${GFX_EXTERNAL_PATH}/pvrsdk/lib/OSX_x86) - - link_libraries( - ${PVRSDK_LIB_DIR}/libEGL.dylib - ${PVRSDK_LIB_DIR}/libGLESv2.dylib - ) -endif() - include_directories( ${INCLUDE_FILES} ) # --------------------------------------------------------------------- @@ -68,6 +45,10 @@ else() list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/gles3w.mm") endif() +if(COCOS_PLATFORM_OSX) + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/GLES3Context.mm") +endif() + add_definitions("-DCC_GLES3_EXPORTS") if(WIN32) add_definitions("-DGLEW_BUILD") diff --git a/native/cocos/renderer/gfx-gles3/gles3w.c b/native/cocos/renderer/gfx-gles3/gles3w.c deleted file mode 100755 index ce93f3298d..0000000000 --- a/native/cocos/renderer/gfx-gles3/gles3w.c +++ /dev/null @@ -1,795 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "gles3w.h" - -#if defined(_WIN32) && !defined(ANDROID) -#define WIN32_LEAN_AND_MEAN 1 -#include -#include - -static HMODULE libgl; - -static int open_libgl(void) -{ - libgl = LoadLibraryA("libGLESv2.dll"); - return (libgl != NULL); -} - -static void close_libgl(void) -{ - FreeLibrary(libgl); -} - -static void *get_proc(const char *proc) -{ - void *res; - - res = (void*)eglGetProcAddress(proc); - if (!res) - res = (void*)GetProcAddress(libgl, proc); - return res; -} -#elif defined(__APPLE__) || defined(__APPLE_CC__) -#import -#import -#import -#import -#import -#import - -// Routine to run a system command and retrieve the output. -// From http://stackoverflow.com/questions/478898/how-to-execute-a-command-and-get-output-of-command-within-c -std::string ES3_EXEC(const char* cmd) { - FILE* pipe = popen(cmd, "r"); - if (!pipe) return "ERROR"; - char buffer[128]; - std::string result = ""; - while(!feof(pipe)) { - if(fgets(buffer, 128, pipe) != NULL) - result += buffer; - } - pclose(pipe); - return result; -} - -static CFBundleRef g_es3Bundle; -static CFURLRef g_es3BundleURL; - -static int open_libgl(void) -{ - CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); - NSString *sysVersion = [UIDevice currentDevice].systemVersion; - NSArray *sysVersionComponents = [sysVersion componentsSeparatedByString:@"."]; - //BOOL isSimulator = ([[UIDevice currentDevice].model rangeOfString:@"Simulator"].location != NSNotFound); - -#if TARGET_IPHONE_SIMULATOR - bool isSimulator = true; -#else - bool isSimulator = false; -#endif - if(isSimulator) - { - // Ask where Xcode is installed - std::string xcodePath = "/Applications/Xcode.app/Contents/Developer\n"; - - // The result contains an end line character. Remove it. - size_t pos = xcodePath.find("\n"); - xcodePath.erase(pos); - - char tempPath[PATH_MAX]; - sprintf(tempPath, - "%s/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator%s.%s.sdk/System/Library/Frameworks/OpenGLES.framework", - xcodePath.c_str(), - [[sysVersionComponents objectAtIndex:0] cStringUsingEncoding:NSUTF8StringEncoding], - [[sysVersionComponents objectAtIndex:1] cStringUsingEncoding:NSUTF8StringEncoding]); - frameworkPath = CFStringCreateWithCString(kCFAllocatorDefault, tempPath, kCFStringEncodingUTF8); - } - - g_es3BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - frameworkPath, - kCFURLPOSIXPathStyle, true); - - CFRelease(frameworkPath); - - g_es3Bundle = CFBundleCreate(kCFAllocatorDefault, g_es3BundleURL); - - return (g_es3Bundle != NULL); -} - -static void close_libgl(void) -{ - CFRelease(g_es3Bundle); - CFRelease(g_es3BundleURL); -} - -static void *get_proc(const char *proc) -{ - void *res; - - CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, - kCFStringEncodingASCII); - res = CFBundleGetFunctionPointerForName(g_es3Bundle, procname); - CFRelease(procname); - return res; -} -#else -#include -#include - -static void *libgl; - -static int open_libgl(void) -{ - libgl = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); - return (libgl != NULL); -} - -static void close_libgl(void) -{ - dlclose(libgl); -} - -static void *get_proc(const char *proc) -{ - void *res; - res = dlsym(libgl, proc); - return res; -} -#endif - -static struct { - int major, minor; -} version; - -static int parse_version(void) -{ - if (!glGetIntegerv) - return -1; - - glGetIntegerv(GL_MAJOR_VERSION, &version.major); - glGetIntegerv(GL_MINOR_VERSION, &version.minor); - - if (version.major < 3) - return -1; - return 0; -} - -static void load_procs(void); - -int gles3wInit(void) -{ - if (!open_libgl()) - { - return 0; - } - - load_procs(); - close_libgl(); - parse_version(); - - return 1; -} - -int gles3wIsSupported(int major, int minor) -{ - if (major <= 3) - return 0; - if (version.major == major) - return version.minor >= minor; - return version.major >= major; -} - -void *gles3wGetProcAddress(const char *proc) -{ - return get_proc(proc); -} - -PFNGLACTIVETEXTUREPROC gles3wActiveTexture; -PFNGLATTACHSHADERPROC gles3wAttachShader; -PFNGLBINDATTRIBLOCATIONPROC gles3wBindAttribLocation; -PFNGLBINDBUFFERPROC gles3wBindBuffer; -PFNGLBINDFRAMEBUFFERPROC gles3wBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC gles3wBindRenderbuffer; -PFNGLBINDTEXTUREPROC gles3wBindTexture; -PFNGLBLENDCOLORPROC gles3wBlendColor; -PFNGLBLENDEQUATIONPROC gles3wBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC gles3wBlendEquationSeparate; -PFNGLBLENDFUNCPROC gles3wBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC gles3wBlendFuncSeparate; -PFNGLBUFFERDATAPROC gles3wBufferData; -PFNGLBUFFERSUBDATAPROC gles3wBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC gles3wCheckFramebufferStatus; -PFNGLCLEARPROC gles3wClear; -PFNGLCLEARCOLORPROC gles3wClearColor; -PFNGLCLEARDEPTHFPROC gles3wClearDepthf; -PFNGLCLEARSTENCILPROC gles3wClearStencil; -PFNGLCOLORMASKPROC gles3wColorMask; -PFNGLCOMPILESHADERPROC gles3wCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC gles3wCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC gles3wCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC gles3wCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC gles3wCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC gles3wCreateProgram; -PFNGLCREATESHADERPROC gles3wCreateShader; -PFNGLCULLFACEPROC gles3wCullFace; -PFNGLDELETEBUFFERSPROC gles3wDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC gles3wDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC gles3wDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC gles3wDeleteRenderbuffers; -PFNGLDELETESHADERPROC gles3wDeleteShader; -PFNGLDELETETEXTURESPROC gles3wDeleteTextures; -PFNGLDEPTHFUNCPROC gles3wDepthFunc; -PFNGLDEPTHMASKPROC gles3wDepthMask; -PFNGLDEPTHRANGEFPROC gles3wDepthRangef; -PFNGLDETACHSHADERPROC gles3wDetachShader; -PFNGLDISABLEPROC gles3wDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC gles3wDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC gles3wDrawArrays; -PFNGLDRAWELEMENTSPROC gles3wDrawElements; -PFNGLENABLEPROC gles3wEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC gles3wEnableVertexAttribArray; -PFNGLFINISHPROC gles3wFinish; -PFNGLFLUSHPROC gles3wFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC gles3wFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC gles3wFramebufferTexture2D; -PFNGLFRONTFACEPROC gles3wFrontFace; -PFNGLGENBUFFERSPROC gles3wGenBuffers; -PFNGLGENERATEMIPMAPPROC gles3wGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC gles3wGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC gles3wGenRenderbuffers; -PFNGLGENTEXTURESPROC gles3wGenTextures; -PFNGLGETACTIVEATTRIBPROC gles3wGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC gles3wGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC gles3wGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC gles3wGetAttribLocation; -PFNGLGETBOOLEANVPROC gles3wGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC gles3wGetBufferParameteriv; -PFNGLGETERRORPROC gles3wGetError; -PFNGLGETFLOATVPROC gles3wGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC gles3wGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC gles3wGetIntegerv; -PFNGLGETPROGRAMIVPROC gles3wGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC gles3wGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC gles3wGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC gles3wGetShaderiv; -PFNGLGETSHADERINFOLOGPROC gles3wGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC gles3wGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC gles3wGetShaderSource; -PFNGLGETSTRINGPROC gles3wGetString; -PFNGLGETTEXPARAMETERFVPROC gles3wGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC gles3wGetTexParameteriv; -PFNGLGETUNIFORMFVPROC gles3wGetUniformfv; -PFNGLGETUNIFORMIVPROC gles3wGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC gles3wGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC gles3wGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC gles3wGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC gles3wGetVertexAttribPointerv; -PFNGLHINTPROC gles3wHint; -PFNGLISBUFFERPROC gles3wIsBuffer; -PFNGLISENABLEDPROC gles3wIsEnabled; -PFNGLISFRAMEBUFFERPROC gles3wIsFramebuffer; -PFNGLISPROGRAMPROC gles3wIsProgram; -PFNGLISRENDERBUFFERPROC gles3wIsRenderbuffer; -PFNGLISSHADERPROC gles3wIsShader; -PFNGLISTEXTUREPROC gles3wIsTexture; -PFNGLLINEWIDTHPROC gles3wLineWidth; -PFNGLLINKPROGRAMPROC gles3wLinkProgram; -PFNGLPIXELSTOREIPROC gles3wPixelStorei; -PFNGLPOLYGONOFFSETPROC gles3wPolygonOffset; -PFNGLREADPIXELSPROC gles3wReadPixels; -PFNGLRELEASESHADERCOMPILERPROC gles3wReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC gles3wRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC gles3wSampleCoverage; -PFNGLSCISSORPROC gles3wScissor; -PFNGLSHADERBINARYPROC gles3wShaderBinary; -PFNGLSHADERSOURCEPROC gles3wShaderSource; -PFNGLSTENCILFUNCPROC gles3wStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC gles3wStencilFuncSeparate; -PFNGLSTENCILMASKPROC gles3wStencilMask; -PFNGLSTENCILMASKSEPARATEPROC gles3wStencilMaskSeparate; -PFNGLSTENCILOPPROC gles3wStencilOp; -PFNGLSTENCILOPSEPARATEPROC gles3wStencilOpSeparate; -PFNGLTEXIMAGE2DPROC gles3wTexImage2D; -PFNGLTEXPARAMETERFPROC gles3wTexParameterf; -PFNGLTEXPARAMETERFVPROC gles3wTexParameterfv; -PFNGLTEXPARAMETERIPROC gles3wTexParameteri; -PFNGLTEXPARAMETERIVPROC gles3wTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC gles3wTexSubImage2D; -PFNGLUNIFORM1FPROC gles3wUniform1f; -PFNGLUNIFORM1FVPROC gles3wUniform1fv; -PFNGLUNIFORM1IPROC gles3wUniform1i; -PFNGLUNIFORM1IVPROC gles3wUniform1iv; -PFNGLUNIFORM2FPROC gles3wUniform2f; -PFNGLUNIFORM2FVPROC gles3wUniform2fv; -PFNGLUNIFORM2IPROC gles3wUniform2i; -PFNGLUNIFORM2IVPROC gles3wUniform2iv; -PFNGLUNIFORM3FPROC gles3wUniform3f; -PFNGLUNIFORM3FVPROC gles3wUniform3fv; -PFNGLUNIFORM3IPROC gles3wUniform3i; -PFNGLUNIFORM3IVPROC gles3wUniform3iv; -PFNGLUNIFORM4FPROC gles3wUniform4f; -PFNGLUNIFORM4FVPROC gles3wUniform4fv; -PFNGLUNIFORM4IPROC gles3wUniform4i; -PFNGLUNIFORM4IVPROC gles3wUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC gles3wUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC gles3wUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC gles3wUniformMatrix4fv; -PFNGLUSEPROGRAMPROC gles3wUseProgram; -PFNGLVALIDATEPROGRAMPROC gles3wValidateProgram; -PFNGLVERTEXATTRIB1FPROC gles3wVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC gles3wVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC gles3wVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC gles3wVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC gles3wVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC gles3wVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC gles3wVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC gles3wVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC gles3wVertexAttribPointer; -PFNGLVIEWPORTPROC gles3wViewport; -PFNGLREADBUFFERPROC gles3wReadBuffer; -PFNGLDRAWRANGEELEMENTSPROC gles3wDrawRangeElements; -PFNGLTEXIMAGE3DPROC gles3wTexImage3D; -PFNGLTEXSUBIMAGE3DPROC gles3wTexSubImage3D; -PFNGLCOPYTEXSUBIMAGE3DPROC gles3wCopyTexSubImage3D; -PFNGLCOMPRESSEDTEXIMAGE3DPROC gles3wCompressedTexImage3D; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC gles3wCompressedTexSubImage3D; -PFNGLGENQUERIESPROC gles3wGenQueries; -PFNGLDELETEQUERIESPROC gles3wDeleteQueries; -PFNGLISQUERYPROC gles3wIsQuery; -PFNGLBEGINQUERYPROC gles3wBeginQuery; -PFNGLENDQUERYPROC gles3wEndQuery; -PFNGLGETQUERYIVPROC gles3wGetQueryiv; -PFNGLGETQUERYOBJECTUIVPROC gles3wGetQueryObjectuiv; -PFNGLUNMAPBUFFERPROC gles3wUnmapBuffer; -PFNGLGETBUFFERPOINTERVPROC gles3wGetBufferPointerv; -PFNGLDRAWBUFFERSPROC gles3wDrawBuffers; -PFNGLUNIFORMMATRIX2X3FVPROC gles3wUniformMatrix2x3fv; -PFNGLUNIFORMMATRIX3X2FVPROC gles3wUniformMatrix3x2fv; -PFNGLUNIFORMMATRIX2X4FVPROC gles3wUniformMatrix2x4fv; -PFNGLUNIFORMMATRIX4X2FVPROC gles3wUniformMatrix4x2fv; -PFNGLUNIFORMMATRIX3X4FVPROC gles3wUniformMatrix3x4fv; -PFNGLUNIFORMMATRIX4X3FVPROC gles3wUniformMatrix4x3fv; -PFNGLBLITFRAMEBUFFERPROC gles3wBlitFramebuffer; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC gles3wRenderbufferStorageMultisample; -PFNGLFRAMEBUFFERTEXTURELAYERPROC gles3wFramebufferTextureLayer; -PFNGLMAPBUFFERRANGEPROC gles3wMapBufferRange; -PFNGLFLUSHMAPPEDBUFFERRANGEPROC gles3wFlushMappedBufferRange; -PFNGLBINDVERTEXARRAYPROC gles3wBindVertexArray; -PFNGLDELETEVERTEXARRAYSPROC gles3wDeleteVertexArrays; -PFNGLGENVERTEXARRAYSPROC gles3wGenVertexArrays; -PFNGLISVERTEXARRAYPROC gles3wIsVertexArray; -PFNGLGETINTEGERI_VPROC gles3wGetIntegeri_v; -PFNGLBEGINTRANSFORMFEEDBACKPROC gles3wBeginTransformFeedback; -PFNGLENDTRANSFORMFEEDBACKPROC gles3wEndTransformFeedback; -PFNGLBINDBUFFERRANGEPROC gles3wBindBufferRange; -PFNGLBINDBUFFERBASEPROC gles3wBindBufferBase; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC gles3wTransformFeedbackVaryings; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC gles3wGetTransformFeedbackVarying; -PFNGLVERTEXATTRIBIPOINTERPROC gles3wVertexAttribIPointer; -PFNGLGETVERTEXATTRIBIIVPROC gles3wGetVertexAttribIiv; -PFNGLGETVERTEXATTRIBIUIVPROC gles3wGetVertexAttribIuiv; -PFNGLVERTEXATTRIBI4IPROC gles3wVertexAttribI4i; -PFNGLVERTEXATTRIBI4UIPROC gles3wVertexAttribI4ui; -PFNGLVERTEXATTRIBI4IVPROC gles3wVertexAttribI4iv; -PFNGLVERTEXATTRIBI4UIVPROC gles3wVertexAttribI4uiv; -PFNGLGETUNIFORMUIVPROC gles3wGetUniformuiv; -PFNGLGETFRAGDATALOCATIONPROC gles3wGetFragDataLocation; -PFNGLUNIFORM1UIPROC gles3wUniform1ui; -PFNGLUNIFORM2UIPROC gles3wUniform2ui; -PFNGLUNIFORM3UIPROC gles3wUniform3ui; -PFNGLUNIFORM4UIPROC gles3wUniform4ui; -PFNGLUNIFORM1UIVPROC gles3wUniform1uiv; -PFNGLUNIFORM2UIVPROC gles3wUniform2uiv; -PFNGLUNIFORM3UIVPROC gles3wUniform3uiv; -PFNGLUNIFORM4UIVPROC gles3wUniform4uiv; -PFNGLCLEARBUFFERIVPROC gles3wClearBufferiv; -PFNGLCLEARBUFFERUIVPROC gles3wClearBufferuiv; -PFNGLCLEARBUFFERFVPROC gles3wClearBufferfv; -PFNGLCLEARBUFFERFIPROC gles3wClearBufferfi; -PFNGLGETSTRINGIPROC gles3wGetStringi; -PFNGLCOPYBUFFERSUBDATAPROC gles3wCopyBufferSubData; -PFNGLGETUNIFORMINDICESPROC gles3wGetUniformIndices; -PFNGLGETACTIVEUNIFORMSIVPROC gles3wGetActiveUniformsiv; -PFNGLGETUNIFORMBLOCKINDEXPROC gles3wGetUniformBlockIndex; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC gles3wGetActiveUniformBlockiv; -PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC gles3wGetActiveUniformBlockName; -PFNGLUNIFORMBLOCKBINDINGPROC gles3wUniformBlockBinding; -PFNGLDRAWARRAYSINSTANCEDPROC gles3wDrawArraysInstanced; -PFNGLDRAWELEMENTSINSTANCEDPROC gles3wDrawElementsInstanced; -PFNGLFENCESYNCPROC gles3wFenceSync; -PFNGLISSYNCPROC gles3wIsSync; -PFNGLDELETESYNCPROC gles3wDeleteSync; -PFNGLCLIENTWAITSYNCPROC gles3wClientWaitSync; -PFNGLWAITSYNCPROC gles3wWaitSync; -PFNGLGETINTEGER64VPROC gles3wGetInteger64v; -PFNGLGETSYNCIVPROC gles3wGetSynciv; -PFNGLGETINTEGER64I_VPROC gles3wGetInteger64i_v; -PFNGLGETBUFFERPARAMETERI64VPROC gles3wGetBufferParameteri64v; -PFNGLGENSAMPLERSPROC gles3wGenSamplers; -PFNGLDELETESAMPLERSPROC gles3wDeleteSamplers; -PFNGLISSAMPLERPROC gles3wIsSampler; -PFNGLBINDSAMPLERPROC gles3wBindSampler; -PFNGLSAMPLERPARAMETERIPROC gles3wSamplerParameteri; -PFNGLSAMPLERPARAMETERIVPROC gles3wSamplerParameteriv; -PFNGLSAMPLERPARAMETERFPROC gles3wSamplerParameterf; -PFNGLSAMPLERPARAMETERFVPROC gles3wSamplerParameterfv; -PFNGLGETSAMPLERPARAMETERIVPROC gles3wGetSamplerParameteriv; -PFNGLGETSAMPLERPARAMETERFVPROC gles3wGetSamplerParameterfv; -PFNGLVERTEXATTRIBDIVISORPROC gles3wVertexAttribDivisor; -PFNGLBINDTRANSFORMFEEDBACKPROC gles3wBindTransformFeedback; -PFNGLDELETETRANSFORMFEEDBACKSPROC gles3wDeleteTransformFeedbacks; -PFNGLGENTRANSFORMFEEDBACKSPROC gles3wGenTransformFeedbacks; -PFNGLISTRANSFORMFEEDBACKPROC gles3wIsTransformFeedback; -PFNGLPAUSETRANSFORMFEEDBACKPROC gles3wPauseTransformFeedback; -PFNGLRESUMETRANSFORMFEEDBACKPROC gles3wResumeTransformFeedback; -PFNGLGETPROGRAMBINARYPROC gles3wGetProgramBinary; -PFNGLPROGRAMBINARYPROC gles3wProgramBinary; -PFNGLPROGRAMPARAMETERIPROC gles3wProgramParameteri; -PFNGLINVALIDATEFRAMEBUFFERPROC gles3wInvalidateFramebuffer; -PFNGLINVALIDATESUBFRAMEBUFFERPROC gles3wInvalidateSubFramebuffer; -PFNGLTEXSTORAGE2DPROC gles3wTexStorage2D; -PFNGLTEXSTORAGE3DPROC gles3wTexStorage3D; -PFNGLGETINTERNALFORMATIVPROC gles3wGetInternalformativ; -PFNGLUSEPROGRAMSTAGESEXTPROC gles3wUseProgramStagesEXT; -PFNGLACTIVESHADERPROGRAMEXTPROC gles3wActiveShaderProgramEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC gles3wCreateShaderProgramvEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC gles3wBindProgramPipelineEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC gles3wDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC gles3wGenProgramPipelinesEXT; -PFNGLISPROGRAMPIPELINEEXTPROC gles3wIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC gles3wProgramParameteriEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC gles3wGetProgramPipelineivEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC gles3wProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC gles3wProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC gles3wProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC gles3wProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC gles3wProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC gles3wProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC gles3wProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC gles3wProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC gles3wProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC gles3wProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC gles3wProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC gles3wProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC gles3wProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC gles3wProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC gles3wProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC gles3wProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC gles3wProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC gles3wProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC gles3wProgramUniformMatrix4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC gles3wProgramUniformMatrix2x3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC gles3wProgramUniformMatrix3x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC gles3wProgramUniformMatrix2x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC gles3wProgramUniformMatrix4x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC gles3wProgramUniformMatrix3x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC gles3wProgramUniformMatrix4x3fvEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC gles3wValidateProgramPipelineEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC gles3wGetProgramPipelineInfoLogEXT; -PFNGLLABELOBJECTEXTPROC gles3wLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC gles3wGetObjectLabelEXT; -PFNGLINSERTEVENTMARKEREXTPROC gles3wInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC gles3wPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC gles3wPopGroupMarkerEXT; - -PFNGLDEBUGMESSAGECONTROLKHRPROC gles3wDebugMessageControlKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC gles3wDebugMessageCallbackKHR; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC gles3wFramebufferTexture2DMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC gles3wFramebufferTexture2DMultisampleIMG; - -static void load_procs(void) -{ - gles3wActiveTexture = (PFNGLACTIVETEXTUREPROC) get_proc("glActiveTexture"); - gles3wAttachShader = (PFNGLATTACHSHADERPROC) get_proc("glAttachShader"); - gles3wBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC) get_proc("glBindAttribLocation"); - gles3wBindBuffer = (PFNGLBINDBUFFERPROC) get_proc("glBindBuffer"); - gles3wBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC) get_proc("glBindFramebuffer"); - gles3wBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC) get_proc("glBindRenderbuffer"); - gles3wBindTexture = (PFNGLBINDTEXTUREPROC) get_proc("glBindTexture"); - gles3wBlendColor = (PFNGLBLENDCOLORPROC) get_proc("glBlendColor"); - gles3wBlendEquation = (PFNGLBLENDEQUATIONPROC) get_proc("glBlendEquation"); - gles3wBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC) get_proc("glBlendEquationSeparate"); - gles3wBlendFunc = (PFNGLBLENDFUNCPROC) get_proc("glBlendFunc"); - gles3wBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC) get_proc("glBlendFuncSeparate"); - gles3wBufferData = (PFNGLBUFFERDATAPROC) get_proc("glBufferData"); - gles3wBufferSubData = (PFNGLBUFFERSUBDATAPROC) get_proc("glBufferSubData"); - gles3wCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC) get_proc("glCheckFramebufferStatus"); - gles3wClear = (PFNGLCLEARPROC) get_proc("glClear"); - gles3wClearColor = (PFNGLCLEARCOLORPROC) get_proc("glClearColor"); - gles3wClearDepthf = (PFNGLCLEARDEPTHFPROC) get_proc("glClearDepthf"); - gles3wClearStencil = (PFNGLCLEARSTENCILPROC) get_proc("glClearStencil"); - gles3wColorMask = (PFNGLCOLORMASKPROC) get_proc("glColorMask"); - gles3wCompileShader = (PFNGLCOMPILESHADERPROC) get_proc("glCompileShader"); - gles3wCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC) get_proc("glCompressedTexImage2D"); - gles3wCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) get_proc("glCompressedTexSubImage2D"); - gles3wCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC) get_proc("glCopyTexImage2D"); - gles3wCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC) get_proc("glCopyTexSubImage2D"); - gles3wCreateProgram = (PFNGLCREATEPROGRAMPROC) get_proc("glCreateProgram"); - gles3wCreateShader = (PFNGLCREATESHADERPROC) get_proc("glCreateShader"); - gles3wCullFace = (PFNGLCULLFACEPROC) get_proc("glCullFace"); - gles3wDeleteBuffers = (PFNGLDELETEBUFFERSPROC) get_proc("glDeleteBuffers"); - gles3wDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC) get_proc("glDeleteFramebuffers"); - gles3wDeleteProgram = (PFNGLDELETEPROGRAMPROC) get_proc("glDeleteProgram"); - gles3wDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC) get_proc("glDeleteRenderbuffers"); - gles3wDeleteShader = (PFNGLDELETESHADERPROC) get_proc("glDeleteShader"); - gles3wDeleteTextures = (PFNGLDELETETEXTURESPROC) get_proc("glDeleteTextures"); - gles3wDepthFunc = (PFNGLDEPTHFUNCPROC) get_proc("glDepthFunc"); - gles3wDepthMask = (PFNGLDEPTHMASKPROC) get_proc("glDepthMask"); - gles3wDepthRangef = (PFNGLDEPTHRANGEFPROC) get_proc("glDepthRangef"); - gles3wDetachShader = (PFNGLDETACHSHADERPROC) get_proc("glDetachShader"); - gles3wDisable = (PFNGLDISABLEPROC) get_proc("glDisable"); - gles3wDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC) get_proc("glDisableVertexAttribArray"); - gles3wDrawArrays = (PFNGLDRAWARRAYSPROC) get_proc("glDrawArrays"); - gles3wDrawElements = (PFNGLDRAWELEMENTSPROC) get_proc("glDrawElements"); - gles3wEnable = (PFNGLENABLEPROC) get_proc("glEnable"); - gles3wEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC) get_proc("glEnableVertexAttribArray"); - gles3wFinish = (PFNGLFINISHPROC) get_proc("glFinish"); - gles3wFlush = (PFNGLFLUSHPROC) get_proc("glFlush"); - gles3wFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC) get_proc("glFramebufferRenderbuffer"); - gles3wFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC) get_proc("glFramebufferTexture2D"); - gles3wFrontFace = (PFNGLFRONTFACEPROC) get_proc("glFrontFace"); - gles3wGenBuffers = (PFNGLGENBUFFERSPROC) get_proc("glGenBuffers"); - gles3wGenerateMipmap = (PFNGLGENERATEMIPMAPPROC) get_proc("glGenerateMipmap"); - gles3wGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC) get_proc("glGenFramebuffers"); - gles3wGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC) get_proc("glGenRenderbuffers"); - gles3wGenTextures = (PFNGLGENTEXTURESPROC) get_proc("glGenTextures"); - gles3wGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC) get_proc("glGetActiveAttrib"); - gles3wGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC) get_proc("glGetActiveUniform"); - gles3wGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC) get_proc("glGetAttachedShaders"); - gles3wGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC) get_proc("glGetAttribLocation"); - gles3wGetBooleanv = (PFNGLGETBOOLEANVPROC) get_proc("glGetBooleanv"); - gles3wGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC) get_proc("glGetBufferParameteriv"); - gles3wGetError = (PFNGLGETERRORPROC) get_proc("glGetError"); - gles3wGetFloatv = (PFNGLGETFLOATVPROC) get_proc("glGetFloatv"); - gles3wGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) get_proc("glGetFramebufferAttachmentParameteriv"); - gles3wGetIntegerv = (PFNGLGETINTEGERVPROC) get_proc("glGetIntegerv"); - gles3wGetProgramiv = (PFNGLGETPROGRAMIVPROC) get_proc("glGetProgramiv"); - gles3wGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC) get_proc("glGetProgramInfoLog"); - gles3wGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC) get_proc("glGetRenderbufferParameteriv"); - gles3wGetShaderiv = (PFNGLGETSHADERIVPROC) get_proc("glGetShaderiv"); - gles3wGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC) get_proc("glGetShaderInfoLog"); - gles3wGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC) get_proc("glGetShaderPrecisionFormat"); - gles3wGetShaderSource = (PFNGLGETSHADERSOURCEPROC) get_proc("glGetShaderSource"); - gles3wGetString = (PFNGLGETSTRINGPROC) get_proc("glGetString"); - gles3wGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC) get_proc("glGetTexParameterfv"); - gles3wGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC) get_proc("glGetTexParameteriv"); - gles3wGetUniformfv = (PFNGLGETUNIFORMFVPROC) get_proc("glGetUniformfv"); - gles3wGetUniformiv = (PFNGLGETUNIFORMIVPROC) get_proc("glGetUniformiv"); - gles3wGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC) get_proc("glGetUniformLocation"); - gles3wGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC) get_proc("glGetVertexAttribfv"); - gles3wGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC) get_proc("glGetVertexAttribiv"); - gles3wGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC) get_proc("glGetVertexAttribPointerv"); - gles3wHint = (PFNGLHINTPROC) get_proc("glHint"); - gles3wIsBuffer = (PFNGLISBUFFERPROC) get_proc("glIsBuffer"); - gles3wIsEnabled = (PFNGLISENABLEDPROC) get_proc("glIsEnabled"); - gles3wIsFramebuffer = (PFNGLISFRAMEBUFFERPROC) get_proc("glIsFramebuffer"); - gles3wIsProgram = (PFNGLISPROGRAMPROC) get_proc("glIsProgram"); - gles3wIsRenderbuffer = (PFNGLISRENDERBUFFERPROC) get_proc("glIsRenderbuffer"); - gles3wIsShader = (PFNGLISSHADERPROC) get_proc("glIsShader"); - gles3wIsTexture = (PFNGLISTEXTUREPROC) get_proc("glIsTexture"); - gles3wLineWidth = (PFNGLLINEWIDTHPROC) get_proc("glLineWidth"); - gles3wLinkProgram = (PFNGLLINKPROGRAMPROC) get_proc("glLinkProgram"); - gles3wPixelStorei = (PFNGLPIXELSTOREIPROC) get_proc("glPixelStorei"); - gles3wPolygonOffset = (PFNGLPOLYGONOFFSETPROC) get_proc("glPolygonOffset"); - gles3wReadPixels = (PFNGLREADPIXELSPROC) get_proc("glReadPixels"); - gles3wReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC) get_proc("glReleaseShaderCompiler"); - gles3wRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC) get_proc("glRenderbufferStorage"); - gles3wSampleCoverage = (PFNGLSAMPLECOVERAGEPROC) get_proc("glSampleCoverage"); - gles3wScissor = (PFNGLSCISSORPROC) get_proc("glScissor"); - gles3wShaderBinary = (PFNGLSHADERBINARYPROC) get_proc("glShaderBinary"); - gles3wShaderSource = (PFNGLSHADERSOURCEPROC) get_proc("glShaderSource"); - gles3wStencilFunc = (PFNGLSTENCILFUNCPROC) get_proc("glStencilFunc"); - gles3wStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC) get_proc("glStencilFuncSeparate"); - gles3wStencilMask = (PFNGLSTENCILMASKPROC) get_proc("glStencilMask"); - gles3wStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC) get_proc("glStencilMaskSeparate"); - gles3wStencilOp = (PFNGLSTENCILOPPROC) get_proc("glStencilOp"); - gles3wStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC) get_proc("glStencilOpSeparate"); - gles3wTexImage2D = (PFNGLTEXIMAGE2DPROC) get_proc("glTexImage2D"); - gles3wTexParameterf = (PFNGLTEXPARAMETERFPROC) get_proc("glTexParameterf"); - gles3wTexParameterfv = (PFNGLTEXPARAMETERFVPROC) get_proc("glTexParameterfv"); - gles3wTexParameteri = (PFNGLTEXPARAMETERIPROC) get_proc("glTexParameteri"); - gles3wTexParameteriv = (PFNGLTEXPARAMETERIVPROC) get_proc("glTexParameteriv"); - gles3wTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC) get_proc("glTexSubImage2D"); - gles3wUniform1f = (PFNGLUNIFORM1FPROC) get_proc("glUniform1f"); - gles3wUniform1fv = (PFNGLUNIFORM1FVPROC) get_proc("glUniform1fv"); - gles3wUniform1i = (PFNGLUNIFORM1IPROC) get_proc("glUniform1i"); - gles3wUniform1iv = (PFNGLUNIFORM1IVPROC) get_proc("glUniform1iv"); - gles3wUniform2f = (PFNGLUNIFORM2FPROC) get_proc("glUniform2f"); - gles3wUniform2fv = (PFNGLUNIFORM2FVPROC) get_proc("glUniform2fv"); - gles3wUniform2i = (PFNGLUNIFORM2IPROC) get_proc("glUniform2i"); - gles3wUniform2iv = (PFNGLUNIFORM2IVPROC) get_proc("glUniform2iv"); - gles3wUniform3f = (PFNGLUNIFORM3FPROC) get_proc("glUniform3f"); - gles3wUniform3fv = (PFNGLUNIFORM3FVPROC) get_proc("glUniform3fv"); - gles3wUniform3i = (PFNGLUNIFORM3IPROC) get_proc("glUniform3i"); - gles3wUniform3iv = (PFNGLUNIFORM3IVPROC) get_proc("glUniform3iv"); - gles3wUniform4f = (PFNGLUNIFORM4FPROC) get_proc("glUniform4f"); - gles3wUniform4fv = (PFNGLUNIFORM4FVPROC) get_proc("glUniform4fv"); - gles3wUniform4i = (PFNGLUNIFORM4IPROC) get_proc("glUniform4i"); - gles3wUniform4iv = (PFNGLUNIFORM4IVPROC) get_proc("glUniform4iv"); - gles3wUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC) get_proc("glUniformMatrix2fv"); - gles3wUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC) get_proc("glUniformMatrix3fv"); - gles3wUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC) get_proc("glUniformMatrix4fv"); - gles3wUseProgram = (PFNGLUSEPROGRAMPROC) get_proc("glUseProgram"); - gles3wValidateProgram = (PFNGLVALIDATEPROGRAMPROC) get_proc("glValidateProgram"); - gles3wVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC) get_proc("glVertexAttrib1f"); - gles3wVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC) get_proc("glVertexAttrib1fv"); - gles3wVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC) get_proc("glVertexAttrib2f"); - gles3wVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC) get_proc("glVertexAttrib2fv"); - gles3wVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC) get_proc("glVertexAttrib3f"); - gles3wVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC) get_proc("glVertexAttrib3fv"); - gles3wVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC) get_proc("glVertexAttrib4f"); - gles3wVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC) get_proc("glVertexAttrib4fv"); - gles3wVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC) get_proc("glVertexAttribPointer"); - gles3wViewport = (PFNGLVIEWPORTPROC) get_proc("glViewport"); - gles3wReadBuffer = (PFNGLREADBUFFERPROC) get_proc("glReadBuffer"); - gles3wDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC) get_proc("glDrawRangeElements"); - gles3wTexImage3D = (PFNGLTEXIMAGE3DPROC) get_proc("glTexImage3D"); - gles3wTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC) get_proc("glTexSubImage3D"); - gles3wCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC) get_proc("glCopyTexSubImage3D"); - gles3wCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC) get_proc("glCompressedTexImage3D"); - gles3wCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) get_proc("glCompressedTexSubImage3D"); - gles3wGenQueries = (PFNGLGENQUERIESPROC) get_proc("glGenQueries"); - gles3wDeleteQueries = (PFNGLDELETEQUERIESPROC) get_proc("glDeleteQueries"); - gles3wIsQuery = (PFNGLISQUERYPROC) get_proc("glIsQuery"); - gles3wBeginQuery = (PFNGLBEGINQUERYPROC) get_proc("glBeginQuery"); - gles3wEndQuery = (PFNGLENDQUERYPROC) get_proc("glEndQuery"); - gles3wGetQueryiv = (PFNGLGETQUERYIVPROC) get_proc("glGetQueryiv"); - gles3wGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC) get_proc("glGetQueryObjectuiv"); - gles3wUnmapBuffer = (PFNGLUNMAPBUFFERPROC) get_proc("glUnmapBuffer"); - gles3wGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC) get_proc("glGetBufferPointerv"); - gles3wDrawBuffers = (PFNGLDRAWBUFFERSPROC) get_proc("glDrawBuffers"); - gles3wUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC) get_proc("glUniformMatrix2x3fv"); - gles3wUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC) get_proc("glUniformMatrix3x2fv"); - gles3wUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC) get_proc("glUniformMatrix2x4fv"); - gles3wUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC) get_proc("glUniformMatrix4x2fv"); - gles3wUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC) get_proc("glUniformMatrix3x4fv"); - gles3wUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC) get_proc("glUniformMatrix4x3fv"); - gles3wBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC) get_proc("glBlitFramebuffer"); - gles3wRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) get_proc("glRenderbufferStorageMultisample"); - gles3wFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC) get_proc("glFramebufferTextureLayer"); - gles3wMapBufferRange = (PFNGLMAPBUFFERRANGEPROC) get_proc("glMapBufferRange"); - gles3wFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC) get_proc("glFlushMappedBufferRange"); - gles3wBindVertexArray = (PFNGLBINDVERTEXARRAYPROC) get_proc("glBindVertexArray"); - gles3wDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC) get_proc("glDeleteVertexArrays"); - gles3wGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC) get_proc("glGenVertexArrays"); - gles3wIsVertexArray = (PFNGLISVERTEXARRAYPROC) get_proc("glIsVertexArray"); - gles3wGetIntegeri_v = (PFNGLGETINTEGERI_VPROC) get_proc("glGetIntegeri_v"); - gles3wBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC) get_proc("glBeginTransformFeedback"); - gles3wEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC) get_proc("glEndTransformFeedback"); - gles3wBindBufferRange = (PFNGLBINDBUFFERRANGEPROC) get_proc("glBindBufferRange"); - gles3wBindBufferBase = (PFNGLBINDBUFFERBASEPROC) get_proc("glBindBufferBase"); - gles3wTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC) get_proc("glTransformFeedbackVaryings"); - gles3wGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) get_proc("glGetTransformFeedbackVarying"); - gles3wVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC) get_proc("glVertexAttribIPointer"); - gles3wGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC) get_proc("glGetVertexAttribIiv"); - gles3wGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC) get_proc("glGetVertexAttribIuiv"); - gles3wVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC) get_proc("glVertexAttribI4i"); - gles3wVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC) get_proc("glVertexAttribI4ui"); - gles3wVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC) get_proc("glVertexAttribI4iv"); - gles3wVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC) get_proc("glVertexAttribI4uiv"); - gles3wGetUniformuiv = (PFNGLGETUNIFORMUIVPROC) get_proc("glGetUniformuiv"); - gles3wGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC) get_proc("glGetFragDataLocation"); - gles3wUniform1ui = (PFNGLUNIFORM1UIPROC) get_proc("glUniform1ui"); - gles3wUniform2ui = (PFNGLUNIFORM2UIPROC) get_proc("glUniform2ui"); - gles3wUniform3ui = (PFNGLUNIFORM3UIPROC) get_proc("glUniform3ui"); - gles3wUniform4ui = (PFNGLUNIFORM4UIPROC) get_proc("glUniform4ui"); - gles3wUniform1uiv = (PFNGLUNIFORM1UIVPROC) get_proc("glUniform1uiv"); - gles3wUniform2uiv = (PFNGLUNIFORM2UIVPROC) get_proc("glUniform2uiv"); - gles3wUniform3uiv = (PFNGLUNIFORM3UIVPROC) get_proc("glUniform3uiv"); - gles3wUniform4uiv = (PFNGLUNIFORM4UIVPROC) get_proc("glUniform4uiv"); - gles3wClearBufferiv = (PFNGLCLEARBUFFERIVPROC) get_proc("glClearBufferiv"); - gles3wClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC) get_proc("glClearBufferuiv"); - gles3wClearBufferfv = (PFNGLCLEARBUFFERFVPROC) get_proc("glClearBufferfv"); - gles3wClearBufferfi = (PFNGLCLEARBUFFERFIPROC) get_proc("glClearBufferfi"); - gles3wGetStringi = (PFNGLGETSTRINGIPROC) get_proc("glGetStringi"); - gles3wCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC) get_proc("glCopyBufferSubData"); - gles3wGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC) get_proc("glGetUniformIndices"); - gles3wGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC) get_proc("glGetActiveUniformsiv"); - gles3wGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC) get_proc("glGetUniformBlockIndex"); - gles3wGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC) get_proc("glGetActiveUniformBlockiv"); - gles3wGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) get_proc("glGetActiveUniformBlockName"); - gles3wUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC) get_proc("glUniformBlockBinding"); - gles3wDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC) get_proc("glDrawArraysInstanced"); - gles3wDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC) get_proc("glDrawElementsInstanced"); - gles3wFenceSync = (PFNGLFENCESYNCPROC) get_proc("glFenceSync"); - gles3wIsSync = (PFNGLISSYNCPROC) get_proc("glIsSync"); - gles3wDeleteSync = (PFNGLDELETESYNCPROC) get_proc("glDeleteSync"); - gles3wClientWaitSync = (PFNGLCLIENTWAITSYNCPROC) get_proc("glClientWaitSync"); - gles3wWaitSync = (PFNGLWAITSYNCPROC) get_proc("glWaitSync"); - gles3wGetInteger64v = (PFNGLGETINTEGER64VPROC) get_proc("glGetInteger64v"); - gles3wGetSynciv = (PFNGLGETSYNCIVPROC) get_proc("glGetSynciv"); - gles3wGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC) get_proc("glGetInteger64i_v"); - gles3wGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC) get_proc("glGetBufferParameteri64v"); - gles3wGenSamplers = (PFNGLGENSAMPLERSPROC) get_proc("glGenSamplers"); - gles3wDeleteSamplers = (PFNGLDELETESAMPLERSPROC) get_proc("glDeleteSamplers"); - gles3wIsSampler = (PFNGLISSAMPLERPROC) get_proc("glIsSampler"); - gles3wBindSampler = (PFNGLBINDSAMPLERPROC) get_proc("glBindSampler"); - gles3wSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC) get_proc("glSamplerParameteri"); - gles3wSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC) get_proc("glSamplerParameteriv"); - gles3wSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC) get_proc("glSamplerParameterf"); - gles3wSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC) get_proc("glSamplerParameterfv"); - gles3wGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC) get_proc("glGetSamplerParameteriv"); - gles3wGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC) get_proc("glGetSamplerParameterfv"); - gles3wVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC) get_proc("glVertexAttribDivisor"); - gles3wBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC) get_proc("glBindTransformFeedback"); - gles3wDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC) get_proc("glDeleteTransformFeedbacks"); - gles3wGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC) get_proc("glGenTransformFeedbacks"); - gles3wIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC) get_proc("glIsTransformFeedback"); - gles3wPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC) get_proc("glPauseTransformFeedback"); - gles3wResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC) get_proc("glResumeTransformFeedback"); - gles3wGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC) get_proc("glGetProgramBinary"); - gles3wProgramBinary = (PFNGLPROGRAMBINARYPROC) get_proc("glProgramBinary"); - gles3wProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC) get_proc("glProgramParameteri"); - gles3wInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC) get_proc("glInvalidateFramebuffer"); - gles3wInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC) get_proc("glInvalidateSubFramebuffer"); - gles3wTexStorage2D = (PFNGLTEXSTORAGE2DPROC) get_proc("glTexStorage2D"); - gles3wTexStorage3D = (PFNGLTEXSTORAGE3DPROC) get_proc("glTexStorage3D"); - gles3wGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC) get_proc("glGetInternalformativ"); - gles3wLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC) get_proc("glLabelObjectEXT"); - gles3wGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC) get_proc("glGetObjectLabelEXT"); - gles3wInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC) get_proc("glInsertEventMarkerEXT"); - gles3wPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC) get_proc("glPushGroupMarkerEXT"); - gles3wPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC) get_proc("glPopGroupMarkerEXT"); - gles3wUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC) get_proc("glUseProgramStagesEXT"); - gles3wActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC) get_proc("glActiveShaderProgramEXT"); - gles3wCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC) get_proc("glCreateShaderProgramvEXT"); - gles3wBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC) get_proc("glBindProgramPipelineEXT"); - gles3wDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC) get_proc("glDeleteProgramPipelinesEXT"); - gles3wGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC) get_proc("glGenProgramPipelinesEXT"); - gles3wIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC) get_proc("glIsProgramPipelineEXT"); - gles3wProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC) get_proc("glProgramParameteriEXT"); - gles3wGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC) get_proc("glGetProgramPipelineivEXT"); - gles3wProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC) get_proc("glProgramUniform1iEXT"); - gles3wProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC) get_proc("glProgramUniform2iEXT"); - gles3wProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC) get_proc("glProgramUniform3iEXT"); - gles3wProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC) get_proc("glProgramUniform4iEXT"); - gles3wProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC) get_proc("glProgramUniform1fEXT"); - gles3wProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC) get_proc("glProgramUniform2fEXT"); - gles3wProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC) get_proc("glProgramUniform3fEXT"); - gles3wProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC) get_proc("glProgramUniform4fEXT"); - gles3wProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC) get_proc("glProgramUniform1ivEXT"); - gles3wProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC) get_proc("glProgramUniform2ivEXT"); - gles3wProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC) get_proc("glProgramUniform3ivEXT"); - gles3wProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC) get_proc("glProgramUniform4ivEXT"); - gles3wProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC) get_proc("glProgramUniform1fvEXT"); - gles3wProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC) get_proc("glProgramUniform2fvEXT"); - gles3wProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC) get_proc("glProgramUniform3fvEXT"); - gles3wProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC) get_proc("glProgramUniform4fvEXT"); - gles3wProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) get_proc("glProgramUniformMatrix2fvEXT"); - gles3wProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) get_proc("glProgramUniformMatrix3fvEXT"); - gles3wProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) get_proc("glProgramUniformMatrix4fvEXT"); - gles3wProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) get_proc("glProgramUniformMatrix2x3fvEXT"); - gles3wProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) get_proc("glProgramUniformMatrix3x2fvEXT"); - gles3wProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) get_proc("glProgramUniformMatrix2x4fvEXT"); - gles3wProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) get_proc("glProgramUniformMatrix4x2fvEXT"); - gles3wProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) get_proc("glProgramUniformMatrix3x4fvEXT"); - gles3wProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) get_proc("glProgramUniformMatrix4x3fvEXT"); - gles3wValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) get_proc("glValidateProgramPipelineEXT"); - gles3wGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) get_proc("glGetProgramPipelineInfoLogEXT"); - - gles3wDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)get_proc("glDebugMessageControlKHR"); - gles3wDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)get_proc("glDebugMessageCallbackKHR"); - gles3wFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)get_proc("glFramebufferTexture2DMultisampleEXT"); - gles3wFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)get_proc("glFramebufferTexture2DMultisampleIMG"); -} diff --git a/native/cocos/renderer/gfx-gles3/gles3w.cpp b/native/cocos/renderer/gfx-gles3/gles3w.cpp new file mode 100644 index 0000000000..6d47e91487 --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/gles3w.cpp @@ -0,0 +1,803 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gles3w.h" + +#if defined(_WIN32) && !defined(ANDROID) + #define WIN32_LEAN_AND_MEAN 1 + #include + +static HMODULE libegl = NULL; +static HMODULE libgles = NULL; + +static bool open_libgl(void) { + libegl = LoadLibraryA("libEGL.dll"); + libgles = LoadLibraryA("libGLESv2.dll"); + return (libegl && libgles); +} + +static void *get_egl_proc(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = eglGetProcAddress(proc); + if (!res) res = (void *)GetProcAddress(libegl, proc); + return res; +} + +static void *get_gles_proc(const char *proc) { + void *res = eglGetProcAddress(proc); + if (!res) res = (void *)GetProcAddress(libgles, proc); + return res; +} +#elif defined(__APPLE__) || defined(__APPLE_CC__) + #import + #import + #import + #import + #import + #import + +// Routine to run a system command and retrieve the output. +// From http://stackoverflow.com/questions/478898/how-to-execute-a-command-and-get-output-of-command-within-c +std::string ES3_EXEC(const char *cmd) { + FILE *pipe = popen(cmd, "r"); + if (!pipe) return "ERROR"; + char buffer[128]; + std::string result = ""; + while (!feof(pipe)) { + if (fgets(buffer, 128, pipe) != NULL) + result += buffer; + } + pclose(pipe); + return result; +} + +static CFBundleRef g_es3Bundle; +static CFURLRef g_es3BundleURL; + +static bool open_libgl(void) { + CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); + NSString *sysVersion = [UIDevice currentDevice].systemVersion; + NSArray *sysVersionComponents = [sysVersion componentsSeparatedByString:@"."]; + //BOOL isSimulator = ([[UIDevice currentDevice].model rangeOfString:@"Simulator"].location != NSNotFound); + + #if TARGET_IPHONE_SIMULATOR + bool isSimulator = true; + #else + bool isSimulator = false; + #endif + if (isSimulator) { + // Ask where Xcode is installed + std::string xcodePath = "/Applications/Xcode.app/Contents/Developer\n"; + + // The result contains an end line character. Remove it. + size_t pos = xcodePath.find("\n"); + xcodePath.erase(pos); + + char tempPath[PATH_MAX]; + sprintf(tempPath, + "%s/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator%s.%s.sdk/System/Library/Frameworks/OpenGLES.framework", + xcodePath.c_str(), + [[sysVersionComponents objectAtIndex:0] cStringUsingEncoding:NSUTF8StringEncoding], + [[sysVersionComponents objectAtIndex:1] cStringUsingEncoding:NSUTF8StringEncoding]); + frameworkPath = CFStringCreateWithCString(kCFAllocatorDefault, tempPath, kCFStringEncodingUTF8); + } + + g_es3BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, + frameworkPath, + kCFURLPOSIXPathStyle, true); + + CFRelease(frameworkPath); + + g_es3Bundle = CFBundleCreate(kCFAllocatorDefault, g_es3BundleURL); + + return (g_es3Bundle != NULL); +} + +static void *get_gles_proc(const char *proc) { + void *res; + + CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, + kCFStringEncodingASCII); + res = CFBundleGetFunctionPointerForName(g_es3Bundle, procname); + CFRelease(procname); + return res; +} +#elif defined(__EMSCRIPTEN__) +static void open_libgl() {} +static void close_libgl() {} +static void *get_gles_proc(const char *proc) { + return (void *)eglGetProcAddress(proc); +} +#else + #include + +static void *libegl = nullptr; +static void *libgles = nullptr; + +static bool open_libgl(void) { + libegl = dlopen("libEGL.so", RTLD_LAZY | RTLD_GLOBAL); + libgles = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); + return (libegl && libgles); +} + +static void *get_egl_proc(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = eglGetProcAddress(proc); + if (!res) res = dlsym(libegl, proc); + return res; +} + +static void *get_gles_proc(const char *proc) { + void *res = eglGetProcAddress(proc); + if (!res) res = dlsym(libgles, proc); + return res; +} +#endif + +static void load_procs(void); + +bool gles3wInit(void) { + if (!open_libgl()) { + return 0; + } + + load_procs(); + + return 1; +} + +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLSWAPINTERVALPROC eglSwapInterval; +PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLATTACHSHADERPROC glAttachShader; +PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +PFNGLBINDBUFFERPROC glBindBuffer; +PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +PFNGLBINDTEXTUREPROC glBindTexture; +PFNGLBLENDCOLORPROC glBlendColor; +PFNGLBLENDEQUATIONPROC glBlendEquation; +PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +PFNGLBLENDFUNCPROC glBlendFunc; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +PFNGLBUFFERDATAPROC glBufferData; +PFNGLBUFFERSUBDATAPROC glBufferSubData; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +PFNGLCLEARPROC glClear; +PFNGLCLEARCOLORPROC glClearColor; +PFNGLCLEARDEPTHFPROC glClearDepthf; +PFNGLCLEARSTENCILPROC glClearStencil; +PFNGLCOLORMASKPROC glColorMask; +PFNGLCOMPILESHADERPROC glCompileShader; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +PFNGLCREATEPROGRAMPROC glCreateProgram; +PFNGLCREATESHADERPROC glCreateShader; +PFNGLCULLFACEPROC glCullFace; +PFNGLDELETEBUFFERSPROC glDeleteBuffers; +PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +PFNGLDELETEPROGRAMPROC glDeleteProgram; +PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +PFNGLDELETESHADERPROC glDeleteShader; +PFNGLDELETETEXTURESPROC glDeleteTextures; +PFNGLDEPTHFUNCPROC glDepthFunc; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEFPROC glDepthRangef; +PFNGLDETACHSHADERPROC glDetachShader; +PFNGLDISABLEPROC glDisable; +PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +PFNGLDRAWARRAYSPROC glDrawArrays; +PFNGLDRAWELEMENTSPROC glDrawElements; +PFNGLENABLEPROC glEnable; +PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +PFNGLFINISHPROC glFinish; +PFNGLFLUSHPROC glFlush; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +PFNGLFRONTFACEPROC glFrontFace; +PFNGLGENBUFFERSPROC glGenBuffers; +PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +PFNGLGENTEXTURESPROC glGenTextures; +PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +PFNGLGETBOOLEANVPROC glGetBooleanv; +PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +PFNGLGETERRORPROC glGetError; +PFNGLGETFLOATVPROC glGetFloatv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETPROGRAMIVPROC glGetProgramiv; +PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +PFNGLGETSHADERIVPROC glGetShaderiv; +PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +PFNGLGETSHADERSOURCEPROC glGetShaderSource; +PFNGLGETSTRINGPROC glGetString; +PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +PFNGLGETUNIFORMFVPROC glGetUniformfv; +PFNGLGETUNIFORMIVPROC glGetUniformiv; +PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +PFNGLHINTPROC glHint; +PFNGLISBUFFERPROC glIsBuffer; +PFNGLISENABLEDPROC glIsEnabled; +PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +PFNGLISPROGRAMPROC glIsProgram; +PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +PFNGLISSHADERPROC glIsShader; +PFNGLISTEXTUREPROC glIsTexture; +PFNGLLINEWIDTHPROC glLineWidth; +PFNGLLINKPROGRAMPROC glLinkProgram; +PFNGLPIXELSTOREIPROC glPixelStorei; +PFNGLPOLYGONOFFSETPROC glPolygonOffset; +PFNGLREADPIXELSPROC glReadPixels; +PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +PFNGLSCISSORPROC glScissor; +PFNGLSHADERBINARYPROC glShaderBinary; +PFNGLSHADERSOURCEPROC glShaderSource; +PFNGLSTENCILFUNCPROC glStencilFunc; +PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +PFNGLSTENCILMASKPROC glStencilMask; +PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +PFNGLSTENCILOPPROC glStencilOp; +PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +PFNGLTEXIMAGE2DPROC glTexImage2D; +PFNGLTEXPARAMETERFPROC glTexParameterf; +PFNGLTEXPARAMETERFVPROC glTexParameterfv; +PFNGLTEXPARAMETERIPROC glTexParameteri; +PFNGLTEXPARAMETERIVPROC glTexParameteriv; +PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +PFNGLUNIFORM1FPROC glUniform1f; +PFNGLUNIFORM1FVPROC glUniform1fv; +PFNGLUNIFORM1IPROC glUniform1i; +PFNGLUNIFORM1IVPROC glUniform1iv; +PFNGLUNIFORM2FPROC glUniform2f; +PFNGLUNIFORM2FVPROC glUniform2fv; +PFNGLUNIFORM2IPROC glUniform2i; +PFNGLUNIFORM2IVPROC glUniform2iv; +PFNGLUNIFORM3FPROC glUniform3f; +PFNGLUNIFORM3FVPROC glUniform3fv; +PFNGLUNIFORM3IPROC glUniform3i; +PFNGLUNIFORM3IVPROC glUniform3iv; +PFNGLUNIFORM4FPROC glUniform4f; +PFNGLUNIFORM4FVPROC glUniform4fv; +PFNGLUNIFORM4IPROC glUniform4i; +PFNGLUNIFORM4IVPROC glUniform4iv; +PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +PFNGLUSEPROGRAMPROC glUseProgram; +PFNGLVALIDATEPROGRAMPROC glValidateProgram; +PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +PFNGLVIEWPORTPROC glViewport; +PFNGLREADBUFFERPROC glReadBuffer; +PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +PFNGLTEXIMAGE3DPROC glTexImage3D; +PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +PFNGLGENQUERIESPROC glGenQueries; +PFNGLDELETEQUERIESPROC glDeleteQueries; +PFNGLISQUERYPROC glIsQuery; +PFNGLBEGINQUERYPROC glBeginQuery; +PFNGLENDQUERYPROC glEndQuery; +PFNGLGETQUERYIVPROC glGetQueryiv; +PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +PFNGLUNMAPBUFFERPROC glUnmapBuffer; +PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +PFNGLDRAWBUFFERSPROC glDrawBuffers; +PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +PFNGLISVERTEXARRAYPROC glIsVertexArray; +PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +PFNGLBINDBUFFERBASEPROC glBindBufferBase; +PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +PFNGLUNIFORM1UIPROC glUniform1ui; +PFNGLUNIFORM2UIPROC glUniform2ui; +PFNGLUNIFORM3UIPROC glUniform3ui; +PFNGLUNIFORM4UIPROC glUniform4ui; +PFNGLUNIFORM1UIVPROC glUniform1uiv; +PFNGLUNIFORM2UIVPROC glUniform2uiv; +PFNGLUNIFORM3UIVPROC glUniform3uiv; +PFNGLUNIFORM4UIVPROC glUniform4uiv; +PFNGLCLEARBUFFERIVPROC glClearBufferiv; +PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +PFNGLCLEARBUFFERFVPROC glClearBufferfv; +PFNGLCLEARBUFFERFIPROC glClearBufferfi; +PFNGLGETSTRINGIPROC glGetStringi; +PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +PFNGLFENCESYNCPROC glFenceSync; +PFNGLISSYNCPROC glIsSync; +PFNGLDELETESYNCPROC glDeleteSync; +PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +PFNGLWAITSYNCPROC glWaitSync; +PFNGLGETINTEGER64VPROC glGetInteger64v; +PFNGLGETSYNCIVPROC glGetSynciv; +PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +PFNGLGENSAMPLERSPROC glGenSamplers; +PFNGLDELETESAMPLERSPROC glDeleteSamplers; +PFNGLISSAMPLERPROC glIsSampler; +PFNGLBINDSAMPLERPROC glBindSampler; +PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +PFNGLPROGRAMBINARYPROC glProgramBinary; +PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +PFNGLTEXSTORAGE2DPROC glTexStorage2D; +PFNGLTEXSTORAGE3DPROC glTexStorage3D; +PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; +PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; +PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; + +PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; + +PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; +PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +PFNGLMEMORYBARRIERPROC glMemoryBarrier; +PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; + +static void load_procs(void) { + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)get_egl_proc("eglGetProcAddress"); + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)get_egl_proc("eglChooseConfig"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)get_egl_proc("eglCreateContext"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)get_egl_proc("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)get_egl_proc("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)get_egl_proc("eglDestroySurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)get_egl_proc("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)get_egl_proc("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)get_egl_proc("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)get_egl_proc("eglMakeCurrent"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)get_egl_proc("eglQueryString"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)get_egl_proc("eglSwapBuffers"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)get_egl_proc("eglSwapInterval"); + eglBindAPI = (PFNEGLBINDAPIPROC)get_egl_proc("eglBindAPI"); + + glActiveTexture = (PFNGLACTIVETEXTUREPROC)get_gles_proc("glActiveTexture"); + glAttachShader = (PFNGLATTACHSHADERPROC)get_gles_proc("glAttachShader"); + glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)get_gles_proc("glBindAttribLocation"); + glBindBuffer = (PFNGLBINDBUFFERPROC)get_gles_proc("glBindBuffer"); + glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)get_gles_proc("glBindFramebuffer"); + glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)get_gles_proc("glBindRenderbuffer"); + glBindTexture = (PFNGLBINDTEXTUREPROC)get_gles_proc("glBindTexture"); + glBlendColor = (PFNGLBLENDCOLORPROC)get_gles_proc("glBlendColor"); + glBlendEquation = (PFNGLBLENDEQUATIONPROC)get_gles_proc("glBlendEquation"); + glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)get_gles_proc("glBlendEquationSeparate"); + glBlendFunc = (PFNGLBLENDFUNCPROC)get_gles_proc("glBlendFunc"); + glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)get_gles_proc("glBlendFuncSeparate"); + glBufferData = (PFNGLBUFFERDATAPROC)get_gles_proc("glBufferData"); + glBufferSubData = (PFNGLBUFFERSUBDATAPROC)get_gles_proc("glBufferSubData"); + glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)get_gles_proc("glCheckFramebufferStatus"); + glClear = (PFNGLCLEARPROC)get_gles_proc("glClear"); + glClearColor = (PFNGLCLEARCOLORPROC)get_gles_proc("glClearColor"); + glClearDepthf = (PFNGLCLEARDEPTHFPROC)get_gles_proc("glClearDepthf"); + glClearStencil = (PFNGLCLEARSTENCILPROC)get_gles_proc("glClearStencil"); + glColorMask = (PFNGLCOLORMASKPROC)get_gles_proc("glColorMask"); + glCompileShader = (PFNGLCOMPILESHADERPROC)get_gles_proc("glCompileShader"); + glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)get_gles_proc("glCompressedTexImage2D"); + glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)get_gles_proc("glCompressedTexSubImage2D"); + glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)get_gles_proc("glCopyTexImage2D"); + glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)get_gles_proc("glCopyTexSubImage2D"); + glCreateProgram = (PFNGLCREATEPROGRAMPROC)get_gles_proc("glCreateProgram"); + glCreateShader = (PFNGLCREATESHADERPROC)get_gles_proc("glCreateShader"); + glCullFace = (PFNGLCULLFACEPROC)get_gles_proc("glCullFace"); + glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)get_gles_proc("glDeleteBuffers"); + glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)get_gles_proc("glDeleteFramebuffers"); + glDeleteProgram = (PFNGLDELETEPROGRAMPROC)get_gles_proc("glDeleteProgram"); + glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)get_gles_proc("glDeleteRenderbuffers"); + glDeleteShader = (PFNGLDELETESHADERPROC)get_gles_proc("glDeleteShader"); + glDeleteTextures = (PFNGLDELETETEXTURESPROC)get_gles_proc("glDeleteTextures"); + glDepthFunc = (PFNGLDEPTHFUNCPROC)get_gles_proc("glDepthFunc"); + glDepthMask = (PFNGLDEPTHMASKPROC)get_gles_proc("glDepthMask"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC)get_gles_proc("glDepthRangef"); + glDetachShader = (PFNGLDETACHSHADERPROC)get_gles_proc("glDetachShader"); + glDisable = (PFNGLDISABLEPROC)get_gles_proc("glDisable"); + glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)get_gles_proc("glDisableVertexAttribArray"); + glDrawArrays = (PFNGLDRAWARRAYSPROC)get_gles_proc("glDrawArrays"); + glDrawElements = (PFNGLDRAWELEMENTSPROC)get_gles_proc("glDrawElements"); + glEnable = (PFNGLENABLEPROC)get_gles_proc("glEnable"); + glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)get_gles_proc("glEnableVertexAttribArray"); + glFinish = (PFNGLFINISHPROC)get_gles_proc("glFinish"); + glFlush = (PFNGLFLUSHPROC)get_gles_proc("glFlush"); + glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)get_gles_proc("glFramebufferRenderbuffer"); + glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)get_gles_proc("glFramebufferTexture2D"); + glFrontFace = (PFNGLFRONTFACEPROC)get_gles_proc("glFrontFace"); + glGenBuffers = (PFNGLGENBUFFERSPROC)get_gles_proc("glGenBuffers"); + glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)get_gles_proc("glGenerateMipmap"); + glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)get_gles_proc("glGenFramebuffers"); + glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)get_gles_proc("glGenRenderbuffers"); + glGenTextures = (PFNGLGENTEXTURESPROC)get_gles_proc("glGenTextures"); + glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)get_gles_proc("glGetActiveAttrib"); + glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)get_gles_proc("glGetActiveUniform"); + glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)get_gles_proc("glGetAttachedShaders"); + glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)get_gles_proc("glGetAttribLocation"); + glGetBooleanv = (PFNGLGETBOOLEANVPROC)get_gles_proc("glGetBooleanv"); + glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)get_gles_proc("glGetBufferParameteriv"); + glGetError = (PFNGLGETERRORPROC)get_gles_proc("glGetError"); + glGetFloatv = (PFNGLGETFLOATVPROC)get_gles_proc("glGetFloatv"); + glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)get_gles_proc("glGetFramebufferAttachmentParameteriv"); + glGetIntegerv = (PFNGLGETINTEGERVPROC)get_gles_proc("glGetIntegerv"); + glGetProgramiv = (PFNGLGETPROGRAMIVPROC)get_gles_proc("glGetProgramiv"); + glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)get_gles_proc("glGetProgramInfoLog"); + glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)get_gles_proc("glGetRenderbufferParameteriv"); + glGetShaderiv = (PFNGLGETSHADERIVPROC)get_gles_proc("glGetShaderiv"); + glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)get_gles_proc("glGetShaderInfoLog"); + glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)get_gles_proc("glGetShaderPrecisionFormat"); + glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)get_gles_proc("glGetShaderSource"); + glGetString = (PFNGLGETSTRINGPROC)get_gles_proc("glGetString"); + glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)get_gles_proc("glGetTexParameterfv"); + glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)get_gles_proc("glGetTexParameteriv"); + glGetUniformfv = (PFNGLGETUNIFORMFVPROC)get_gles_proc("glGetUniformfv"); + glGetUniformiv = (PFNGLGETUNIFORMIVPROC)get_gles_proc("glGetUniformiv"); + glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)get_gles_proc("glGetUniformLocation"); + glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)get_gles_proc("glGetVertexAttribfv"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)get_gles_proc("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)get_gles_proc("glGetVertexAttribPointerv"); + glHint = (PFNGLHINTPROC)get_gles_proc("glHint"); + glIsBuffer = (PFNGLISBUFFERPROC)get_gles_proc("glIsBuffer"); + glIsEnabled = (PFNGLISENABLEDPROC)get_gles_proc("glIsEnabled"); + glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)get_gles_proc("glIsFramebuffer"); + glIsProgram = (PFNGLISPROGRAMPROC)get_gles_proc("glIsProgram"); + glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)get_gles_proc("glIsRenderbuffer"); + glIsShader = (PFNGLISSHADERPROC)get_gles_proc("glIsShader"); + glIsTexture = (PFNGLISTEXTUREPROC)get_gles_proc("glIsTexture"); + glLineWidth = (PFNGLLINEWIDTHPROC)get_gles_proc("glLineWidth"); + glLinkProgram = (PFNGLLINKPROGRAMPROC)get_gles_proc("glLinkProgram"); + glPixelStorei = (PFNGLPIXELSTOREIPROC)get_gles_proc("glPixelStorei"); + glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)get_gles_proc("glPolygonOffset"); + glReadPixels = (PFNGLREADPIXELSPROC)get_gles_proc("glReadPixels"); + glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)get_gles_proc("glReleaseShaderCompiler"); + glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)get_gles_proc("glRenderbufferStorage"); + glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)get_gles_proc("glSampleCoverage"); + glScissor = (PFNGLSCISSORPROC)get_gles_proc("glScissor"); + glShaderBinary = (PFNGLSHADERBINARYPROC)get_gles_proc("glShaderBinary"); + glShaderSource = (PFNGLSHADERSOURCEPROC)get_gles_proc("glShaderSource"); + glStencilFunc = (PFNGLSTENCILFUNCPROC)get_gles_proc("glStencilFunc"); + glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)get_gles_proc("glStencilFuncSeparate"); + glStencilMask = (PFNGLSTENCILMASKPROC)get_gles_proc("glStencilMask"); + glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)get_gles_proc("glStencilMaskSeparate"); + glStencilOp = (PFNGLSTENCILOPPROC)get_gles_proc("glStencilOp"); + glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)get_gles_proc("glStencilOpSeparate"); + glTexImage2D = (PFNGLTEXIMAGE2DPROC)get_gles_proc("glTexImage2D"); + glTexParameterf = (PFNGLTEXPARAMETERFPROC)get_gles_proc("glTexParameterf"); + glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)get_gles_proc("glTexParameterfv"); + glTexParameteri = (PFNGLTEXPARAMETERIPROC)get_gles_proc("glTexParameteri"); + glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)get_gles_proc("glTexParameteriv"); + glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)get_gles_proc("glTexSubImage2D"); + glUniform1f = (PFNGLUNIFORM1FPROC)get_gles_proc("glUniform1f"); + glUniform1fv = (PFNGLUNIFORM1FVPROC)get_gles_proc("glUniform1fv"); + glUniform1i = (PFNGLUNIFORM1IPROC)get_gles_proc("glUniform1i"); + glUniform1iv = (PFNGLUNIFORM1IVPROC)get_gles_proc("glUniform1iv"); + glUniform2f = (PFNGLUNIFORM2FPROC)get_gles_proc("glUniform2f"); + glUniform2fv = (PFNGLUNIFORM2FVPROC)get_gles_proc("glUniform2fv"); + glUniform2i = (PFNGLUNIFORM2IPROC)get_gles_proc("glUniform2i"); + glUniform2iv = (PFNGLUNIFORM2IVPROC)get_gles_proc("glUniform2iv"); + glUniform3f = (PFNGLUNIFORM3FPROC)get_gles_proc("glUniform3f"); + glUniform3fv = (PFNGLUNIFORM3FVPROC)get_gles_proc("glUniform3fv"); + glUniform3i = (PFNGLUNIFORM3IPROC)get_gles_proc("glUniform3i"); + glUniform3iv = (PFNGLUNIFORM3IVPROC)get_gles_proc("glUniform3iv"); + glUniform4f = (PFNGLUNIFORM4FPROC)get_gles_proc("glUniform4f"); + glUniform4fv = (PFNGLUNIFORM4FVPROC)get_gles_proc("glUniform4fv"); + glUniform4i = (PFNGLUNIFORM4IPROC)get_gles_proc("glUniform4i"); + glUniform4iv = (PFNGLUNIFORM4IVPROC)get_gles_proc("glUniform4iv"); + glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)get_gles_proc("glUniformMatrix2fv"); + glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)get_gles_proc("glUniformMatrix3fv"); + glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)get_gles_proc("glUniformMatrix4fv"); + glUseProgram = (PFNGLUSEPROGRAMPROC)get_gles_proc("glUseProgram"); + glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)get_gles_proc("glValidateProgram"); + glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)get_gles_proc("glVertexAttrib1f"); + glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)get_gles_proc("glVertexAttrib1fv"); + glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)get_gles_proc("glVertexAttrib2f"); + glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)get_gles_proc("glVertexAttrib2fv"); + glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)get_gles_proc("glVertexAttrib3f"); + glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)get_gles_proc("glVertexAttrib3fv"); + glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)get_gles_proc("glVertexAttrib4f"); + glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)get_gles_proc("glVertexAttrib4fv"); + glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)get_gles_proc("glVertexAttribPointer"); + glViewport = (PFNGLVIEWPORTPROC)get_gles_proc("glViewport"); + glReadBuffer = (PFNGLREADBUFFERPROC)get_gles_proc("glReadBuffer"); + glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)get_gles_proc("glDrawRangeElements"); + glTexImage3D = (PFNGLTEXIMAGE3DPROC)get_gles_proc("glTexImage3D"); + glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)get_gles_proc("glTexSubImage3D"); + glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)get_gles_proc("glCopyTexSubImage3D"); + glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)get_gles_proc("glCompressedTexImage3D"); + glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)get_gles_proc("glCompressedTexSubImage3D"); + glGenQueries = (PFNGLGENQUERIESPROC)get_gles_proc("glGenQueries"); + glDeleteQueries = (PFNGLDELETEQUERIESPROC)get_gles_proc("glDeleteQueries"); + glIsQuery = (PFNGLISQUERYPROC)get_gles_proc("glIsQuery"); + glBeginQuery = (PFNGLBEGINQUERYPROC)get_gles_proc("glBeginQuery"); + glEndQuery = (PFNGLENDQUERYPROC)get_gles_proc("glEndQuery"); + glGetQueryiv = (PFNGLGETQUERYIVPROC)get_gles_proc("glGetQueryiv"); + glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)get_gles_proc("glGetQueryObjectuiv"); + glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)get_gles_proc("glUnmapBuffer"); + glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)get_gles_proc("glGetBufferPointerv"); + glDrawBuffers = (PFNGLDRAWBUFFERSPROC)get_gles_proc("glDrawBuffers"); + glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)get_gles_proc("glUniformMatrix2x3fv"); + glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)get_gles_proc("glUniformMatrix3x2fv"); + glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)get_gles_proc("glUniformMatrix2x4fv"); + glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)get_gles_proc("glUniformMatrix4x2fv"); + glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)get_gles_proc("glUniformMatrix3x4fv"); + glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)get_gles_proc("glUniformMatrix4x3fv"); + glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)get_gles_proc("glBlitFramebuffer"); + glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)get_gles_proc("glRenderbufferStorageMultisample"); + glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)get_gles_proc("glFramebufferTextureLayer"); + glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)get_gles_proc("glMapBufferRange"); + glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)get_gles_proc("glFlushMappedBufferRange"); + glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)get_gles_proc("glBindVertexArray"); + glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)get_gles_proc("glDeleteVertexArrays"); + glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)get_gles_proc("glGenVertexArrays"); + glIsVertexArray = (PFNGLISVERTEXARRAYPROC)get_gles_proc("glIsVertexArray"); + glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)get_gles_proc("glGetIntegeri_v"); + glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)get_gles_proc("glBeginTransformFeedback"); + glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)get_gles_proc("glEndTransformFeedback"); + glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)get_gles_proc("glBindBufferRange"); + glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)get_gles_proc("glBindBufferBase"); + glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)get_gles_proc("glTransformFeedbackVaryings"); + glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)get_gles_proc("glGetTransformFeedbackVarying"); + glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)get_gles_proc("glVertexAttribIPointer"); + glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)get_gles_proc("glGetVertexAttribIiv"); + glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)get_gles_proc("glGetVertexAttribIuiv"); + glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)get_gles_proc("glVertexAttribI4i"); + glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)get_gles_proc("glVertexAttribI4ui"); + glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)get_gles_proc("glVertexAttribI4iv"); + glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)get_gles_proc("glVertexAttribI4uiv"); + glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)get_gles_proc("glGetUniformuiv"); + glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)get_gles_proc("glGetFragDataLocation"); + glUniform1ui = (PFNGLUNIFORM1UIPROC)get_gles_proc("glUniform1ui"); + glUniform2ui = (PFNGLUNIFORM2UIPROC)get_gles_proc("glUniform2ui"); + glUniform3ui = (PFNGLUNIFORM3UIPROC)get_gles_proc("glUniform3ui"); + glUniform4ui = (PFNGLUNIFORM4UIPROC)get_gles_proc("glUniform4ui"); + glUniform1uiv = (PFNGLUNIFORM1UIVPROC)get_gles_proc("glUniform1uiv"); + glUniform2uiv = (PFNGLUNIFORM2UIVPROC)get_gles_proc("glUniform2uiv"); + glUniform3uiv = (PFNGLUNIFORM3UIVPROC)get_gles_proc("glUniform3uiv"); + glUniform4uiv = (PFNGLUNIFORM4UIVPROC)get_gles_proc("glUniform4uiv"); + glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)get_gles_proc("glClearBufferiv"); + glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)get_gles_proc("glClearBufferuiv"); + glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)get_gles_proc("glClearBufferfv"); + glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)get_gles_proc("glClearBufferfi"); + glGetStringi = (PFNGLGETSTRINGIPROC)get_gles_proc("glGetStringi"); + glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)get_gles_proc("glCopyBufferSubData"); + glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)get_gles_proc("glGetUniformIndices"); + glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)get_gles_proc("glGetActiveUniformsiv"); + glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)get_gles_proc("glGetUniformBlockIndex"); + glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)get_gles_proc("glGetActiveUniformBlockiv"); + glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)get_gles_proc("glGetActiveUniformBlockName"); + glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)get_gles_proc("glUniformBlockBinding"); + glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)get_gles_proc("glDrawArraysInstanced"); + glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)get_gles_proc("glDrawElementsInstanced"); + glFenceSync = (PFNGLFENCESYNCPROC)get_gles_proc("glFenceSync"); + glIsSync = (PFNGLISSYNCPROC)get_gles_proc("glIsSync"); + glDeleteSync = (PFNGLDELETESYNCPROC)get_gles_proc("glDeleteSync"); + glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)get_gles_proc("glClientWaitSync"); + glWaitSync = (PFNGLWAITSYNCPROC)get_gles_proc("glWaitSync"); + glGetInteger64v = (PFNGLGETINTEGER64VPROC)get_gles_proc("glGetInteger64v"); + glGetSynciv = (PFNGLGETSYNCIVPROC)get_gles_proc("glGetSynciv"); + glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)get_gles_proc("glGetInteger64i_v"); + glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)get_gles_proc("glGetBufferParameteri64v"); + glGenSamplers = (PFNGLGENSAMPLERSPROC)get_gles_proc("glGenSamplers"); + glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)get_gles_proc("glDeleteSamplers"); + glIsSampler = (PFNGLISSAMPLERPROC)get_gles_proc("glIsSampler"); + glBindSampler = (PFNGLBINDSAMPLERPROC)get_gles_proc("glBindSampler"); + glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)get_gles_proc("glSamplerParameteri"); + glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)get_gles_proc("glSamplerParameteriv"); + glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)get_gles_proc("glSamplerParameterf"); + glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)get_gles_proc("glSamplerParameterfv"); + glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)get_gles_proc("glGetSamplerParameteriv"); + glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)get_gles_proc("glGetSamplerParameterfv"); + glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)get_gles_proc("glVertexAttribDivisor"); + glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)get_gles_proc("glBindTransformFeedback"); + glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)get_gles_proc("glDeleteTransformFeedbacks"); + glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)get_gles_proc("glGenTransformFeedbacks"); + glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)get_gles_proc("glIsTransformFeedback"); + glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)get_gles_proc("glPauseTransformFeedback"); + glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)get_gles_proc("glResumeTransformFeedback"); + glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)get_gles_proc("glGetProgramBinary"); + glProgramBinary = (PFNGLPROGRAMBINARYPROC)get_gles_proc("glProgramBinary"); + glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)get_gles_proc("glProgramParameteri"); + glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)get_gles_proc("glInvalidateFramebuffer"); + glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)get_gles_proc("glInvalidateSubFramebuffer"); + glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)get_gles_proc("glTexStorage2D"); + glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)get_gles_proc("glTexStorage3D"); + glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)get_gles_proc("glGetInternalformativ"); + glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)get_gles_proc("glLabelObjectEXT"); + glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)get_gles_proc("glGetObjectLabelEXT"); + glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)get_gles_proc("glInsertEventMarkerEXT"); + glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)get_gles_proc("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)get_gles_proc("glPopGroupMarkerEXT"); + glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)get_gles_proc("glUseProgramStagesEXT"); + glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)get_gles_proc("glActiveShaderProgramEXT"); + glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)get_gles_proc("glCreateShaderProgramvEXT"); + glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)get_gles_proc("glBindProgramPipelineEXT"); + glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)get_gles_proc("glDeleteProgramPipelinesEXT"); + glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)get_gles_proc("glGenProgramPipelinesEXT"); + glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)get_gles_proc("glIsProgramPipelineEXT"); + glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)get_gles_proc("glProgramParameteriEXT"); + glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)get_gles_proc("glGetProgramPipelineivEXT"); + glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)get_gles_proc("glProgramUniform1iEXT"); + glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)get_gles_proc("glProgramUniform2iEXT"); + glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)get_gles_proc("glProgramUniform3iEXT"); + glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)get_gles_proc("glProgramUniform4iEXT"); + glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)get_gles_proc("glProgramUniform1fEXT"); + glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)get_gles_proc("glProgramUniform2fEXT"); + glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)get_gles_proc("glProgramUniform3fEXT"); + glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)get_gles_proc("glProgramUniform4fEXT"); + glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)get_gles_proc("glProgramUniform1ivEXT"); + glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)get_gles_proc("glProgramUniform2ivEXT"); + glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)get_gles_proc("glProgramUniform3ivEXT"); + glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)get_gles_proc("glProgramUniform4ivEXT"); + glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)get_gles_proc("glProgramUniform1fvEXT"); + glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)get_gles_proc("glProgramUniform2fvEXT"); + glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)get_gles_proc("glProgramUniform3fvEXT"); + glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)get_gles_proc("glProgramUniform4fvEXT"); + glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)get_gles_proc("glProgramUniformMatrix2fvEXT"); + glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)get_gles_proc("glProgramUniformMatrix3fvEXT"); + glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)get_gles_proc("glProgramUniformMatrix4fvEXT"); + glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)get_gles_proc("glProgramUniformMatrix2x3fvEXT"); + glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)get_gles_proc("glProgramUniformMatrix3x2fvEXT"); + glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)get_gles_proc("glProgramUniformMatrix2x4fvEXT"); + glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)get_gles_proc("glProgramUniformMatrix4x2fvEXT"); + glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)get_gles_proc("glProgramUniformMatrix3x4fvEXT"); + glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)get_gles_proc("glProgramUniformMatrix4x3fvEXT"); + glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)get_gles_proc("glValidateProgramPipelineEXT"); + glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)get_gles_proc("glGetProgramPipelineInfoLogEXT"); + + glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)get_gles_proc("glDebugMessageControlKHR"); + glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)get_gles_proc("glDebugMessageCallbackKHR"); + glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)get_gles_proc("glFramebufferTexture2DMultisampleEXT"); + glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)get_gles_proc("glFramebufferTexture2DMultisampleIMG"); + + glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)get_gles_proc("glDispatchCompute"); + glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)get_gles_proc("glDispatchComputeIndirect"); + glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)get_gles_proc("glGetProgramInterfaceiv"); + glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)get_gles_proc("glGetProgramResourceName"); + glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)get_gles_proc("glGetProgramResourceiv"); + glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)get_gles_proc("glBindImageTexture"); + glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)get_gles_proc("glMemoryBarrier"); + glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)get_gles_proc("glMemoryBarrierByRegion"); +} diff --git a/native/cocos/renderer/gfx-gles3/gles3w.h b/native/cocos/renderer/gfx-gles3/gles3w.h index 9789979399..c5a3725c4a 100755 --- a/native/cocos/renderer/gfx-gles3/gles3w.h +++ b/native/cocos/renderer/gfx-gles3/gles3w.h @@ -23,939 +23,358 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -#if defined(__APPLE__) || defined(__APPLE_CC__) - #include - #if TARGET_OS_IPHONE - #include - // Prevent Apple's non-standard extension header from being included - #define __gl_es30ext_h_ - #else - #include - #include - #include +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #ifdef __OBJC__ + #include #endif #else - #include - #include - #include + #define EGL_EGL_PROTOTYPES 0 + #include + #include + #include #endif +#ifndef EGL_KHR_create_context + #define EGL_KHR_create_context 1 + #define EGL_CONTEXT_MAJOR_VERSION_KHR EGL_CONTEXT_CLIENT_VERSION + #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB + #define EGL_CONTEXT_FLAGS_KHR 0x30FC + #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD + #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD + #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE + #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF + #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 + #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 + #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 + #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 + #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 + #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 +#endif + +#define GL_GLES_PROTOTYPES 0 +#include + #include #include #include -#ifndef __gl3_h_ - #define __gl3_h_ -#endif +bool gles3wInit(); -#ifdef __cplusplus -extern "C" { -#endif +/* egl api */ +extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; +extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; +extern PFNEGLCREATECONTEXTPROC eglCreateContext; +extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; +extern PFNEGLGETDISPLAYPROC eglGetDisplay; +extern PFNEGLGETERRORPROC eglGetError; +extern PFNEGLINITIALIZEPROC eglInitialize; +extern PFNEGLMAKECURRENTPROC eglMakeCurrent; +extern PFNEGLQUERYSTRINGPROC eglQueryString; +extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +extern PFNEGLSWAPINTERVALPROC eglSwapInterval; +extern PFNEGLBINDAPIPROC eglBindAPI; -#ifndef GL_EXT_texture_sRGB - #define GL_EXT_texture_sRGB 1 +/* gles api */ +extern PFNGLACTIVETEXTUREPROC glActiveTexture; +extern PFNGLATTACHSHADERPROC glAttachShader; +extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +extern PFNGLBINDBUFFERPROC glBindBuffer; +extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +extern PFNGLBINDTEXTUREPROC glBindTexture; +extern PFNGLBLENDCOLORPROC glBlendColor; +extern PFNGLBLENDEQUATIONPROC glBlendEquation; +extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +extern PFNGLBLENDFUNCPROC glBlendFunc; +extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +extern PFNGLBUFFERDATAPROC glBufferData; +extern PFNGLBUFFERSUBDATAPROC glBufferSubData; +extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +extern PFNGLCLEARPROC glClear; +extern PFNGLCLEARCOLORPROC glClearColor; +extern PFNGLCLEARDEPTHFPROC glClearDepthf; +extern PFNGLCLEARSTENCILPROC glClearStencil; +extern PFNGLCOLORMASKPROC glColorMask; +extern PFNGLCOMPILESHADERPROC glCompileShader; +extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +extern PFNGLCREATEPROGRAMPROC glCreateProgram; +extern PFNGLCREATESHADERPROC glCreateShader; +extern PFNGLCULLFACEPROC glCullFace; +extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; +extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +extern PFNGLDELETEPROGRAMPROC glDeleteProgram; +extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +extern PFNGLDELETESHADERPROC glDeleteShader; +extern PFNGLDELETETEXTURESPROC glDeleteTextures; +extern PFNGLDEPTHFUNCPROC glDepthFunc; +extern PFNGLDEPTHMASKPROC glDepthMask; +extern PFNGLDEPTHRANGEFPROC glDepthRangef; +extern PFNGLDETACHSHADERPROC glDetachShader; +extern PFNGLDISABLEPROC glDisable; +extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +extern PFNGLDRAWARRAYSPROC glDrawArrays; +extern PFNGLDRAWELEMENTSPROC glDrawElements; +extern PFNGLENABLEPROC glEnable; +extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +extern PFNGLFINISHPROC glFinish; +extern PFNGLFLUSHPROC glFlush; +extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +extern PFNGLFRONTFACEPROC glFrontFace; +extern PFNGLGENBUFFERSPROC glGenBuffers; +extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +extern PFNGLGENTEXTURESPROC glGenTextures; +extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +extern PFNGLGETBOOLEANVPROC glGetBooleanv; +extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +extern PFNGLGETERRORPROC glGetError; +extern PFNGLGETFLOATVPROC glGetFloatv; +extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +extern PFNGLGETINTEGERVPROC glGetIntegerv; +extern PFNGLGETPROGRAMIVPROC glGetProgramiv; +extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +extern PFNGLGETSHADERIVPROC glGetShaderiv; +extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; +extern PFNGLGETSTRINGPROC glGetString; +extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +extern PFNGLGETUNIFORMFVPROC glGetUniformfv; +extern PFNGLGETUNIFORMIVPROC glGetUniformiv; +extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +extern PFNGLHINTPROC glHint; +extern PFNGLISBUFFERPROC glIsBuffer; +extern PFNGLISENABLEDPROC glIsEnabled; +extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +extern PFNGLISPROGRAMPROC glIsProgram; +extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +extern PFNGLISSHADERPROC glIsShader; +extern PFNGLISTEXTUREPROC glIsTexture; +extern PFNGLLINEWIDTHPROC glLineWidth; +extern PFNGLLINKPROGRAMPROC glLinkProgram; +extern PFNGLPIXELSTOREIPROC glPixelStorei; +extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; +extern PFNGLREADPIXELSPROC glReadPixels; +extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +extern PFNGLSCISSORPROC glScissor; +extern PFNGLSHADERBINARYPROC glShaderBinary; +extern PFNGLSHADERSOURCEPROC glShaderSource; +extern PFNGLSTENCILFUNCPROC glStencilFunc; +extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +extern PFNGLSTENCILMASKPROC glStencilMask; +extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +extern PFNGLSTENCILOPPROC glStencilOp; +extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +extern PFNGLTEXIMAGE2DPROC glTexImage2D; +extern PFNGLTEXPARAMETERFPROC glTexParameterf; +extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; +extern PFNGLTEXPARAMETERIPROC glTexParameteri; +extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; +extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +extern PFNGLUNIFORM1FPROC glUniform1f; +extern PFNGLUNIFORM1FVPROC glUniform1fv; +extern PFNGLUNIFORM1IPROC glUniform1i; +extern PFNGLUNIFORM1IVPROC glUniform1iv; +extern PFNGLUNIFORM2FPROC glUniform2f; +extern PFNGLUNIFORM2FVPROC glUniform2fv; +extern PFNGLUNIFORM2IPROC glUniform2i; +extern PFNGLUNIFORM2IVPROC glUniform2iv; +extern PFNGLUNIFORM3FPROC glUniform3f; +extern PFNGLUNIFORM3FVPROC glUniform3fv; +extern PFNGLUNIFORM3IPROC glUniform3i; +extern PFNGLUNIFORM3IVPROC glUniform3iv; +extern PFNGLUNIFORM4FPROC glUniform4f; +extern PFNGLUNIFORM4FVPROC glUniform4fv; +extern PFNGLUNIFORM4IPROC glUniform4i; +extern PFNGLUNIFORM4IVPROC glUniform4iv; +extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +extern PFNGLUSEPROGRAMPROC glUseProgram; +extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; +extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +extern PFNGLVIEWPORTPROC glViewport; +extern PFNGLREADBUFFERPROC glReadBuffer; +extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +extern PFNGLTEXIMAGE3DPROC glTexImage3D; +extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +extern PFNGLGENQUERIESPROC glGenQueries; +extern PFNGLDELETEQUERIESPROC glDeleteQueries; +extern PFNGLISQUERYPROC glIsQuery; +extern PFNGLBEGINQUERYPROC glBeginQuery; +extern PFNGLENDQUERYPROC glEndQuery; +extern PFNGLGETQUERYIVPROC glGetQueryiv; +extern PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +extern PFNGLUNMAPBUFFERPROC glUnmapBuffer; +extern PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +extern PFNGLDRAWBUFFERSPROC glDrawBuffers; +extern PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +extern PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +extern PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +extern PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +extern PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +extern PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +extern PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +extern PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +extern PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +extern PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +extern PFNGLISVERTEXARRAYPROC glIsVertexArray; +extern PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +extern PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +extern PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +extern PFNGLBINDBUFFERBASEPROC glBindBufferBase; +extern PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +extern PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +extern PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +extern PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +extern PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +extern PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +extern PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +extern PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +extern PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +extern PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +extern PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +extern PFNGLUNIFORM1UIPROC glUniform1ui; +extern PFNGLUNIFORM2UIPROC glUniform2ui; +extern PFNGLUNIFORM3UIPROC glUniform3ui; +extern PFNGLUNIFORM4UIPROC glUniform4ui; +extern PFNGLUNIFORM1UIVPROC glUniform1uiv; +extern PFNGLUNIFORM2UIVPROC glUniform2uiv; +extern PFNGLUNIFORM3UIVPROC glUniform3uiv; +extern PFNGLUNIFORM4UIVPROC glUniform4uiv; +extern PFNGLCLEARBUFFERIVPROC glClearBufferiv; +extern PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +extern PFNGLCLEARBUFFERFVPROC glClearBufferfv; +extern PFNGLCLEARBUFFERFIPROC glClearBufferfi; +extern PFNGLGETSTRINGIPROC glGetStringi; +extern PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +extern PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +extern PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +extern PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +extern PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +extern PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +extern PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +extern PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +extern PFNGLFENCESYNCPROC glFenceSync; +extern PFNGLISSYNCPROC glIsSync; +extern PFNGLDELETESYNCPROC glDeleteSync; +extern PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +extern PFNGLWAITSYNCPROC glWaitSync; +extern PFNGLGETINTEGER64VPROC glGetInteger64v; +extern PFNGLGETSYNCIVPROC glGetSynciv; +extern PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +extern PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +extern PFNGLGENSAMPLERSPROC glGenSamplers; +extern PFNGLDELETESAMPLERSPROC glDeleteSamplers; +extern PFNGLISSAMPLERPROC glIsSampler; +extern PFNGLBINDSAMPLERPROC glBindSampler; +extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +extern PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +extern PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +extern PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +extern PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +extern PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +extern PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +extern PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +extern PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +extern PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +extern PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +extern PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +extern PFNGLPROGRAMBINARYPROC glProgramBinary; +extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +extern PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +extern PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +extern PFNGLTEXSTORAGE2DPROC glTexStorage2D; +extern PFNGLTEXSTORAGE3DPROC glTexStorage3D; +extern PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; +extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; +extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; - #define GL_SRGB_EXT 0x8C40 - #define GL_SRGB8_EXT 0x8C41 - #define GL_SRGB_ALPHA_EXT 0x8C42 - #define GL_SRGB8_ALPHA8_EXT 0x8C43 - #define GL_SLUMINANCE_ALPHA_EXT 0x8C44 - #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 - #define GL_SLUMINANCE_EXT 0x8C46 - #define GL_SLUMINANCE8_EXT 0x8C47 - #define GL_COMPRESSED_SRGB_EXT 0x8C48 - #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 - #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A - #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B - #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C - #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D - #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E - #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F +extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* GL_EXT_texture_sRGB */ - -/* gles3w api */ -int gles3wInit(); -int gles3wIsSupported(int major, int minor); -void *gles3wGetProcAddress(const char *proc); - -/* OpenGL functions */ -typedef void(GL_APIENTRY *PFNGLACTIVETEXTUREPROC)(GLenum texture); -typedef void(GL_APIENTRY *PFNGLATTACHSHADERPROC)(GLuint program, GLuint shader); -typedef void(GL_APIENTRY *PFNGLBINDATTRIBLOCATIONPROC)(GLuint program, GLuint index, const GLchar *name); -typedef void(GL_APIENTRY *PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); -typedef void(GL_APIENTRY *PFNGLBINDFRAMEBUFFERPROC)(GLenum target, GLuint framebuffer); -typedef void(GL_APIENTRY *PFNGLBINDRENDERBUFFERPROC)(GLenum target, GLuint renderbuffer); -typedef void(GL_APIENTRY *PFNGLBINDTEXTUREPROC)(GLenum target, GLuint texture); -typedef void(GL_APIENTRY *PFNGLBLENDCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void(GL_APIENTRY *PFNGLBLENDEQUATIONPROC)(GLenum mode); -typedef void(GL_APIENTRY *PFNGLBLENDEQUATIONSEPARATEPROC)(GLenum modeRGB, GLenum modeAlpha); -typedef void(GL_APIENTRY *PFNGLBLENDFUNCPROC)(GLenum sfactor, GLenum dfactor); -typedef void(GL_APIENTRY *PFNGLBLENDFUNCSEPARATEPROC)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -typedef void(GL_APIENTRY *PFNGLBUFFERDATAPROC)(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); -typedef void(GL_APIENTRY *PFNGLBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); -typedef GLenum(GL_APIENTRY *PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target); -typedef void(GL_APIENTRY *PFNGLCLEARPROC)(GLbitfield mask); -typedef void(GL_APIENTRY *PFNGLCLEARCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -typedef void(GL_APIENTRY *PFNGLCLEARDEPTHFPROC)(GLfloat depth); -typedef void(GL_APIENTRY *PFNGLCLEARSTENCILPROC)(GLint s); -typedef void(GL_APIENTRY *PFNGLCOLORMASKPROC)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef void(GL_APIENTRY *PFNGLCOMPILESHADERPROC)(GLuint shader); -typedef void(GL_APIENTRY *PFNGLCOMPRESSEDTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void(GL_APIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void(GL_APIENTRY *PFNGLCOPYTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef void(GL_APIENTRY *PFNGLCOPYTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef GLuint(GL_APIENTRY *PFNGLCREATEPROGRAMPROC)(void); -typedef GLuint(GL_APIENTRY *PFNGLCREATESHADERPROC)(GLenum type); -typedef void(GL_APIENTRY *PFNGLCULLFACEPROC)(GLenum mode); -typedef void(GL_APIENTRY *PFNGLDELETEBUFFERSPROC)(GLsizei n, const GLuint *buffers); -typedef void(GL_APIENTRY *PFNGLDELETEFRAMEBUFFERSPROC)(GLsizei n, const GLuint *framebuffers); -typedef void(GL_APIENTRY *PFNGLDELETEPROGRAMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLDELETERENDERBUFFERSPROC)(GLsizei n, const GLuint *renderbuffers); -typedef void(GL_APIENTRY *PFNGLDELETESHADERPROC)(GLuint shader); -typedef void(GL_APIENTRY *PFNGLDELETETEXTURESPROC)(GLsizei n, const GLuint *textures); -typedef void(GL_APIENTRY *PFNGLDEPTHFUNCPROC)(GLenum func); -typedef void(GL_APIENTRY *PFNGLDEPTHMASKPROC)(GLboolean flag); -typedef void(GL_APIENTRY *PFNGLDEPTHRANGEFPROC)(GLfloat n, GLfloat f); -typedef void(GL_APIENTRY *PFNGLDETACHSHADERPROC)(GLuint program, GLuint shader); -typedef void(GL_APIENTRY *PFNGLDISABLEPROC)(GLenum cap); -typedef void(GL_APIENTRY *PFNGLDISABLEVERTEXATTRIBARRAYPROC)(GLuint index); -typedef void(GL_APIENTRY *PFNGLDRAWARRAYSPROC)(GLenum mode, GLint first, GLsizei count); -typedef void(GL_APIENTRY *PFNGLDRAWELEMENTSPROC)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); -typedef void(GL_APIENTRY *PFNGLENABLEPROC)(GLenum cap); -typedef void(GL_APIENTRY *PFNGLENABLEVERTEXATTRIBARRAYPROC)(GLuint index); -typedef void(GL_APIENTRY *PFNGLFINISHPROC)(void); -typedef void(GL_APIENTRY *PFNGLFLUSHPROC)(void); -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERRENDERBUFFERPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERTEXTURE2DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef void(GL_APIENTRY *PFNGLFRONTFACEPROC)(GLenum mode); -typedef void(GL_APIENTRY *PFNGLGENBUFFERSPROC)(GLsizei n, GLuint *buffers); -typedef void(GL_APIENTRY *PFNGLGENERATEMIPMAPPROC)(GLenum target); -typedef void(GL_APIENTRY *PFNGLGENFRAMEBUFFERSPROC)(GLsizei n, GLuint *framebuffers); -typedef void(GL_APIENTRY *PFNGLGENRENDERBUFFERSPROC)(GLsizei n, GLuint *renderbuffers); -typedef void(GL_APIENTRY *PFNGLGENTEXTURESPROC)(GLsizei n, GLuint *textures); -typedef void(GL_APIENTRY *PFNGLGETACTIVEATTRIBPROC)(GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void(GL_APIENTRY *PFNGLGETACTIVEUNIFORMPROC)(GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -typedef void(GL_APIENTRY *PFNGLGETATTACHEDSHADERSPROC)(GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders); -typedef GLint(GL_APIENTRY *PFNGLGETATTRIBLOCATIONPROC)(GLuint program, const GLchar *name); -typedef void(GL_APIENTRY *PFNGLGETBOOLEANVPROC)(GLenum pname, GLboolean *params); -typedef void(GL_APIENTRY *PFNGLGETBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -typedef GLenum(GL_APIENTRY *PFNGLGETERRORPROC)(void); -typedef void(GL_APIENTRY *PFNGLGETFLOATVPROC)(GLenum pname, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)(GLenum target, GLenum attachment, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETINTEGERVPROC)(GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMIVPROC)(GLuint program, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMINFOLOGPROC)(GLuint program, GLsizei bufsize, GLsizei *length, GLchar *infolog); -typedef void(GL_APIENTRY *PFNGLGETRENDERBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETSHADERIVPROC)(GLuint shader, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETSHADERINFOLOGPROC)(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *infolog); -typedef void(GL_APIENTRY *PFNGLGETSHADERPRECISIONFORMATPROC)(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -typedef void(GL_APIENTRY *PFNGLGETSHADERSOURCEPROC)(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); -typedef const GLubyte *(GL_APIENTRY *PFNGLGETSTRINGPROC)(GLenum name); -typedef void(GL_APIENTRY *PFNGLGETTEXPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLGETTEXPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETUNIFORMFVPROC)(GLuint program, GLint location, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLGETUNIFORMIVPROC)(GLuint program, GLint location, GLint *params); -typedef GLint(GL_APIENTRY *PFNGLGETUNIFORMLOCATIONPROC)(GLuint program, const GLchar *name); -typedef void(GL_APIENTRY *PFNGLGETVERTEXATTRIBFVPROC)(GLuint index, GLenum pname, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLGETVERTEXATTRIBIVPROC)(GLuint index, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint index, GLenum pname, GLvoid **pointer); -typedef void(GL_APIENTRY *PFNGLHINTPROC)(GLenum target, GLenum mode); -typedef GLboolean(GL_APIENTRY *PFNGLISBUFFERPROC)(GLuint buffer); -typedef GLboolean(GL_APIENTRY *PFNGLISENABLEDPROC)(GLenum cap); -typedef GLboolean(GL_APIENTRY *PFNGLISFRAMEBUFFERPROC)(GLuint framebuffer); -typedef GLboolean(GL_APIENTRY *PFNGLISPROGRAMPROC)(GLuint program); -typedef GLboolean(GL_APIENTRY *PFNGLISRENDERBUFFERPROC)(GLuint renderbuffer); -typedef GLboolean(GL_APIENTRY *PFNGLISSHADERPROC)(GLuint shader); -typedef GLboolean(GL_APIENTRY *PFNGLISTEXTUREPROC)(GLuint texture); -typedef void(GL_APIENTRY *PFNGLLINEWIDTHPROC)(GLfloat width); -typedef void(GL_APIENTRY *PFNGLLINKPROGRAMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLPIXELSTOREIPROC)(GLenum pname, GLint param); -typedef void(GL_APIENTRY *PFNGLPOLYGONOFFSETPROC)(GLfloat factor, GLfloat units); -typedef void(GL_APIENTRY *PFNGLREADPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLRELEASESHADERCOMPILERPROC)(void); -typedef void(GL_APIENTRY *PFNGLRENDERBUFFERSTORAGEPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLSAMPLECOVERAGEPROC)(GLfloat value, GLboolean invert); -typedef void(GL_APIENTRY *PFNGLSCISSORPROC)(GLint x, GLint y, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLSHADERBINARYPROC)(GLsizei n, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); -typedef void(GL_APIENTRY *PFNGLSHADERSOURCEPROC)(GLuint shader, GLsizei count, const GLchar *const *string, const GLint *length); -typedef void(GL_APIENTRY *PFNGLSTENCILFUNCPROC)(GLenum func, GLint ref, GLuint mask); -typedef void(GL_APIENTRY *PFNGLSTENCILFUNCSEPARATEPROC)(GLenum face, GLenum func, GLint ref, GLuint mask); -typedef void(GL_APIENTRY *PFNGLSTENCILMASKPROC)(GLuint mask); -typedef void(GL_APIENTRY *PFNGLSTENCILMASKSEPARATEPROC)(GLenum face, GLuint mask); -typedef void(GL_APIENTRY *PFNGLSTENCILOPPROC)(GLenum fail, GLenum zfail, GLenum zpass); -typedef void(GL_APIENTRY *PFNGLSTENCILOPSEPARATEPROC)(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); -typedef void(GL_APIENTRY *PFNGLTEXIMAGE2DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLTEXPARAMETERFPROC)(GLenum target, GLenum pname, GLfloat param); -typedef void(GL_APIENTRY *PFNGLTEXPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat *params); -typedef void(GL_APIENTRY *PFNGLTEXPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); -typedef void(GL_APIENTRY *PFNGLTEXPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint *params); -typedef void(GL_APIENTRY *PFNGLTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLUNIFORM1FPROC)(GLint location, GLfloat x); -typedef void(GL_APIENTRY *PFNGLUNIFORM1FVPROC)(GLint location, GLsizei count, const GLfloat *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM1IPROC)(GLint location, GLint x); -typedef void(GL_APIENTRY *PFNGLUNIFORM1IVPROC)(GLint location, GLsizei count, const GLint *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM2FPROC)(GLint location, GLfloat x, GLfloat y); -typedef void(GL_APIENTRY *PFNGLUNIFORM2FVPROC)(GLint location, GLsizei count, const GLfloat *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM2IPROC)(GLint location, GLint x, GLint y); -typedef void(GL_APIENTRY *PFNGLUNIFORM2IVPROC)(GLint location, GLsizei count, const GLint *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM3FPROC)(GLint location, GLfloat x, GLfloat y, GLfloat z); -typedef void(GL_APIENTRY *PFNGLUNIFORM3FVPROC)(GLint location, GLsizei count, const GLfloat *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM3IPROC)(GLint location, GLint x, GLint y, GLint z); -typedef void(GL_APIENTRY *PFNGLUNIFORM3IVPROC)(GLint location, GLsizei count, const GLint *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM4FPROC)(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void(GL_APIENTRY *PFNGLUNIFORM4FVPROC)(GLint location, GLsizei count, const GLfloat *v); -typedef void(GL_APIENTRY *PFNGLUNIFORM4IPROC)(GLint location, GLint x, GLint y, GLint z, GLint w); -typedef void(GL_APIENTRY *PFNGLUNIFORM4IVPROC)(GLint location, GLsizei count, const GLint *v); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUSEPROGRAMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLVALIDATEPROGRAMPROC)(GLuint program); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB1FPROC)(GLuint indx, GLfloat x); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB1FVPROC)(GLuint indx, const GLfloat *values); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB2FPROC)(GLuint indx, GLfloat x, GLfloat y); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB2FVPROC)(GLuint indx, const GLfloat *values); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB3FPROC)(GLuint indx, GLfloat x, GLfloat y, GLfloat z); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB3FVPROC)(GLuint indx, const GLfloat *values); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB4FPROC)(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIB4FVPROC)(GLuint indx, const GLfloat *values); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBPOINTERPROC)(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *ptr); -typedef void(GL_APIENTRY *PFNGLVIEWPORTPROC)(GLint x, GLint y, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLREADBUFFERPROC)(GLenum mode); -typedef void(GL_APIENTRY *PFNGLDRAWRANGEELEMENTSPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -typedef void(GL_APIENTRY *PFNGLTEXIMAGE3DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); -typedef void(GL_APIENTRY *PFNGLCOPYTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLCOMPRESSEDTEXIMAGE3DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -typedef void(GL_APIENTRY *PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -typedef void(GL_APIENTRY *PFNGLGENQUERIESPROC)(GLsizei n, GLuint *ids); -typedef void(GL_APIENTRY *PFNGLDELETEQUERIESPROC)(GLsizei n, const GLuint *ids); -typedef GLboolean(GL_APIENTRY *PFNGLISQUERYPROC)(GLuint id); -typedef void(GL_APIENTRY *PFNGLBEGINQUERYPROC)(GLenum target, GLuint id); -typedef void(GL_APIENTRY *PFNGLENDQUERYPROC)(GLenum target); -typedef void(GL_APIENTRY *PFNGLGETQUERYIVPROC)(GLenum target, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETQUERYOBJECTUIVPROC)(GLuint id, GLenum pname, GLuint *params); -typedef GLboolean(GL_APIENTRY *PFNGLUNMAPBUFFERPROC)(GLenum target); -typedef void(GL_APIENTRY *PFNGLGETBUFFERPOINTERVPROC)(GLenum target, GLenum pname, GLvoid **params); -typedef void(GL_APIENTRY *PFNGLDRAWBUFFERSPROC)(GLsizei n, const GLenum *bufs); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX2X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX3X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX2X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX4X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX3X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLUNIFORMMATRIX4X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLBLITFRAMEBUFFERPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -typedef void(GL_APIENTRY *PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERTEXTURELAYERPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -typedef GLvoid *(GL_APIENTRY *PFNGLMAPBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -typedef void(GL_APIENTRY *PFNGLFLUSHMAPPEDBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length); -typedef void(GL_APIENTRY *PFNGLBINDVERTEXARRAYPROC)(GLuint array); -typedef void(GL_APIENTRY *PFNGLDELETEVERTEXARRAYSPROC)(GLsizei n, const GLuint *arrays); -typedef void(GL_APIENTRY *PFNGLGENVERTEXARRAYSPROC)(GLsizei n, GLuint *arrays); -typedef GLboolean(GL_APIENTRY *PFNGLISVERTEXARRAYPROC)(GLuint array); -typedef void(GL_APIENTRY *PFNGLGETINTEGERI_VPROC)(GLenum target, GLuint index, GLint *data); -typedef void(GL_APIENTRY *PFNGLBEGINTRANSFORMFEEDBACKPROC)(GLenum primitiveMode); -typedef void(GL_APIENTRY *PFNGLENDTRANSFORMFEEDBACKPROC)(void); -typedef void(GL_APIENTRY *PFNGLBINDBUFFERRANGEPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -typedef void(GL_APIENTRY *PFNGLBINDBUFFERBASEPROC)(GLenum target, GLuint index, GLuint buffer); -typedef void(GL_APIENTRY *PFNGLTRANSFORMFEEDBACKVARYINGSPROC)(GLuint program, GLsizei count, const GLchar *const *varyings, GLenum bufferMode); -typedef void(GL_APIENTRY *PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBIPOINTERPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -typedef void(GL_APIENTRY *PFNGLGETVERTEXATTRIBIIVPROC)(GLuint index, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETVERTEXATTRIBIUIVPROC)(GLuint index, GLenum pname, GLuint *params); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBI4IPROC)(GLuint index, GLint x, GLint y, GLint z, GLint w); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBI4UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBI4IVPROC)(GLuint index, const GLint *v); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBI4UIVPROC)(GLuint index, const GLuint *v); -typedef void(GL_APIENTRY *PFNGLGETUNIFORMUIVPROC)(GLuint program, GLint location, GLuint *params); -typedef GLint(GL_APIENTRY *PFNGLGETFRAGDATALOCATIONPROC)(GLuint program, const GLchar *name); -typedef void(GL_APIENTRY *PFNGLUNIFORM1UIPROC)(GLint location, GLuint v0); -typedef void(GL_APIENTRY *PFNGLUNIFORM2UIPROC)(GLint location, GLuint v0, GLuint v1); -typedef void(GL_APIENTRY *PFNGLUNIFORM3UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2); -typedef void(GL_APIENTRY *PFNGLUNIFORM4UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -typedef void(GL_APIENTRY *PFNGLUNIFORM1UIVPROC)(GLint location, GLsizei count, const GLuint *value); -typedef void(GL_APIENTRY *PFNGLUNIFORM2UIVPROC)(GLint location, GLsizei count, const GLuint *value); -typedef void(GL_APIENTRY *PFNGLUNIFORM3UIVPROC)(GLint location, GLsizei count, const GLuint *value); -typedef void(GL_APIENTRY *PFNGLUNIFORM4UIVPROC)(GLint location, GLsizei count, const GLuint *value); -typedef void(GL_APIENTRY *PFNGLCLEARBUFFERIVPROC)(GLenum buffer, GLint drawbuffer, const GLint *value); -typedef void(GL_APIENTRY *PFNGLCLEARBUFFERUIVPROC)(GLenum buffer, GLint drawbuffer, const GLuint *value); -typedef void(GL_APIENTRY *PFNGLCLEARBUFFERFVPROC)(GLenum buffer, GLint drawbuffer, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLCLEARBUFFERFIPROC)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -typedef const GLubyte *(GL_APIENTRY *PFNGLGETSTRINGIPROC)(GLenum name, GLuint index); -typedef void(GL_APIENTRY *PFNGLCOPYBUFFERSUBDATAPROC)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -typedef void(GL_APIENTRY *PFNGLGETUNIFORMINDICESPROC)(GLuint program, GLsizei uniformCount, const GLchar *const *uniformNames, GLuint *uniformIndices); -typedef void(GL_APIENTRY *PFNGLGETACTIVEUNIFORMSIVPROC)(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -typedef GLuint(GL_APIENTRY *PFNGLGETUNIFORMBLOCKINDEXPROC)(GLuint program, const GLchar *uniformBlockName); -typedef void(GL_APIENTRY *PFNGLGETACTIVEUNIFORMBLOCKIVPROC)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -typedef void(GL_APIENTRY *PFNGLUNIFORMBLOCKBINDINGPROC)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -typedef void(GL_APIENTRY *PFNGLDRAWARRAYSINSTANCEDPROC)(GLenum mode, GLint first, GLsizei count, GLsizei instanceCount); -typedef void(GL_APIENTRY *PFNGLDRAWELEMENTSINSTANCEDPROC)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount); -typedef GLsync(GL_APIENTRY *PFNGLFENCESYNCPROC)(GLenum condition, GLbitfield flags); -typedef GLboolean(GL_APIENTRY *PFNGLISSYNCPROC)(GLsync sync); -typedef void(GL_APIENTRY *PFNGLDELETESYNCPROC)(GLsync sync); -typedef GLenum(GL_APIENTRY *PFNGLCLIENTWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void(GL_APIENTRY *PFNGLWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); -typedef void(GL_APIENTRY *PFNGLGETINTEGER64VPROC)(GLenum pname, GLint64 *params); -typedef void(GL_APIENTRY *PFNGLGETSYNCIVPROC)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); -typedef void(GL_APIENTRY *PFNGLGETINTEGER64I_VPROC)(GLenum target, GLuint index, GLint64 *data); -typedef void(GL_APIENTRY *PFNGLGETBUFFERPARAMETERI64VPROC)(GLenum target, GLenum pname, GLint64 *params); -typedef void(GL_APIENTRY *PFNGLGENSAMPLERSPROC)(GLsizei count, GLuint *samplers); -typedef void(GL_APIENTRY *PFNGLDELETESAMPLERSPROC)(GLsizei count, const GLuint *samplers); -typedef GLboolean(GL_APIENTRY *PFNGLISSAMPLERPROC)(GLuint sampler); -typedef void(GL_APIENTRY *PFNGLBINDSAMPLERPROC)(GLuint unit, GLuint sampler); -typedef void(GL_APIENTRY *PFNGLSAMPLERPARAMETERIPROC)(GLuint sampler, GLenum pname, GLint param); -typedef void(GL_APIENTRY *PFNGLSAMPLERPARAMETERIVPROC)(GLuint sampler, GLenum pname, const GLint *param); -typedef void(GL_APIENTRY *PFNGLSAMPLERPARAMETERFPROC)(GLuint sampler, GLenum pname, GLfloat param); -typedef void(GL_APIENTRY *PFNGLSAMPLERPARAMETERFVPROC)(GLuint sampler, GLenum pname, const GLfloat *param); -typedef void(GL_APIENTRY *PFNGLGETSAMPLERPARAMETERIVPROC)(GLuint sampler, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLGETSAMPLERPARAMETERFVPROC)(GLuint sampler, GLenum pname, GLfloat *params); -typedef void(GL_APIENTRY *PFNGLVERTEXATTRIBDIVISORPROC)(GLuint index, GLuint divisor); -typedef void(GL_APIENTRY *PFNGLBINDTRANSFORMFEEDBACKPROC)(GLenum target, GLuint id); -typedef void(GL_APIENTRY *PFNGLDELETETRANSFORMFEEDBACKSPROC)(GLsizei n, const GLuint *ids); -typedef void(GL_APIENTRY *PFNGLGENTRANSFORMFEEDBACKSPROC)(GLsizei n, GLuint *ids); -typedef GLboolean(GL_APIENTRY *PFNGLISTRANSFORMFEEDBACKPROC)(GLuint id); -typedef void(GL_APIENTRY *PFNGLPAUSETRANSFORMFEEDBACKPROC)(void); -typedef void(GL_APIENTRY *PFNGLRESUMETRANSFORMFEEDBACKPROC)(void); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMBINARYPROC)(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); -typedef void(GL_APIENTRY *PFNGLPROGRAMBINARYPROC)(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length); -typedef void(GL_APIENTRY *PFNGLPROGRAMPARAMETERIPROC)(GLuint program, GLenum pname, GLint value); -typedef void(GL_APIENTRY *PFNGLINVALIDATEFRAMEBUFFERPROC)(GLenum target, GLsizei numAttachments, const GLenum *attachments); -typedef void(GL_APIENTRY *PFNGLINVALIDATESUBFRAMEBUFFERPROC)(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLTEXSTORAGE2DPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -typedef void(GL_APIENTRY *PFNGLTEXSTORAGE3DPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -typedef void(GL_APIENTRY *PFNGLGETINTERNALFORMATIVPROC)(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); -typedef void(GL_APIENTRY *PFNGLLABELOBJECTEXTPROC)(GLenum type, GLuint object, GLsizei length, const GLchar *label); -typedef void(GL_APIENTRY *PFNGLGETOBJECTLABELEXTPROC)(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); -typedef void(GL_APIENTRY *PFNGLINSERTEVENTMARKEREXTPROC)(GLsizei length, const GLchar *marker); -typedef void(GL_APIENTRY *PFNGLPUSHGROUPMARKEREXTPROC)(GLsizei length, const GLchar *marker); -typedef void(GL_APIENTRY *PFNGLPOPGROUPMARKEREXTPROC)(void); -typedef void(GL_APIENTRY *PFNGLUSEPROGRAMSTAGESEXTPROC)(GLuint pipeline, GLbitfield stages, GLuint program); -typedef void(GL_APIENTRY *PFNGLACTIVESHADERPROGRAMEXTPROC)(GLuint pipeline, GLuint program); -typedef GLuint(GL_APIENTRY *PFNGLCREATESHADERPROGRAMVEXTPROC)(GLenum type, GLsizei count, const GLchar **strings); -typedef void(GL_APIENTRY *PFNGLBINDPROGRAMPIPELINEEXTPROC)(GLuint pipeline); -typedef void(GL_APIENTRY *PFNGLDELETEPROGRAMPIPELINESEXTPROC)(GLsizei n, const GLuint *pipelines); -typedef void(GL_APIENTRY *PFNGLGENPROGRAMPIPELINESEXTPROC)(GLsizei n, GLuint *pipelines); -typedef GLboolean(GL_APIENTRY *PFNGLISPROGRAMPIPELINEEXTPROC)(GLuint pipeline); -typedef void(GL_APIENTRY *PFNGLPROGRAMPARAMETERIEXTPROC)(GLuint program, GLenum pname, GLint value); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMPIPELINEIVEXTPROC)(GLuint pipeline, GLenum pname, GLint *params); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM1IEXTPROC)(GLuint program, GLint location, GLint x); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM2IEXTPROC)(GLuint program, GLint location, GLint x, GLint y); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM3IEXTPROC)(GLuint program, GLint location, GLint x, GLint y, GLint z); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM4IEXTPROC)(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM1FEXTPROC)(GLuint program, GLint location, GLfloat x); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM2FEXTPROC)(GLuint program, GLint location, GLfloat x, GLfloat y); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM3FEXTPROC)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM4FEXTPROC)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM1IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM2IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM3IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM4IVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM1FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM2FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM3FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORM4FVEXTPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -typedef void(GL_APIENTRY *PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)(GLuint pipeline); -typedef void(GL_APIENTRY *PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); - -typedef void(GL_APIENTRY *PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)(GLenum, GLenum, GLenum, GLuint, GLint, GLsizei); - -extern PFNGLACTIVETEXTUREPROC gles3wActiveTexture; -extern PFNGLATTACHSHADERPROC gles3wAttachShader; -extern PFNGLBINDATTRIBLOCATIONPROC gles3wBindAttribLocation; -extern PFNGLBINDBUFFERPROC gles3wBindBuffer; -extern PFNGLBINDFRAMEBUFFERPROC gles3wBindFramebuffer; -extern PFNGLBINDRENDERBUFFERPROC gles3wBindRenderbuffer; -extern PFNGLBINDTEXTUREPROC gles3wBindTexture; -extern PFNGLBLENDCOLORPROC gles3wBlendColor; -extern PFNGLBLENDEQUATIONPROC gles3wBlendEquation; -extern PFNGLBLENDEQUATIONSEPARATEPROC gles3wBlendEquationSeparate; -extern PFNGLBLENDFUNCPROC gles3wBlendFunc; -extern PFNGLBLENDFUNCSEPARATEPROC gles3wBlendFuncSeparate; -extern PFNGLBUFFERDATAPROC gles3wBufferData; -extern PFNGLBUFFERSUBDATAPROC gles3wBufferSubData; -extern PFNGLCHECKFRAMEBUFFERSTATUSPROC gles3wCheckFramebufferStatus; -extern PFNGLCLEARPROC gles3wClear; -extern PFNGLCLEARCOLORPROC gles3wClearColor; -extern PFNGLCLEARDEPTHFPROC gles3wClearDepthf; -extern PFNGLCLEARSTENCILPROC gles3wClearStencil; -extern PFNGLCOLORMASKPROC gles3wColorMask; -extern PFNGLCOMPILESHADERPROC gles3wCompileShader; -extern PFNGLCOMPRESSEDTEXIMAGE2DPROC gles3wCompressedTexImage2D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC gles3wCompressedTexSubImage2D; -extern PFNGLCOPYTEXIMAGE2DPROC gles3wCopyTexImage2D; -extern PFNGLCOPYTEXSUBIMAGE2DPROC gles3wCopyTexSubImage2D; -extern PFNGLCREATEPROGRAMPROC gles3wCreateProgram; -extern PFNGLCREATESHADERPROC gles3wCreateShader; -extern PFNGLCULLFACEPROC gles3wCullFace; -extern PFNGLDELETEBUFFERSPROC gles3wDeleteBuffers; -extern PFNGLDELETEFRAMEBUFFERSPROC gles3wDeleteFramebuffers; -extern PFNGLDELETEPROGRAMPROC gles3wDeleteProgram; -extern PFNGLDELETERENDERBUFFERSPROC gles3wDeleteRenderbuffers; -extern PFNGLDELETESHADERPROC gles3wDeleteShader; -extern PFNGLDELETETEXTURESPROC gles3wDeleteTextures; -extern PFNGLDEPTHFUNCPROC gles3wDepthFunc; -extern PFNGLDEPTHMASKPROC gles3wDepthMask; -extern PFNGLDEPTHRANGEFPROC gles3wDepthRangef; -extern PFNGLDETACHSHADERPROC gles3wDetachShader; -extern PFNGLDISABLEPROC gles3wDisable; -extern PFNGLDISABLEVERTEXATTRIBARRAYPROC gles3wDisableVertexAttribArray; -extern PFNGLDRAWARRAYSPROC gles3wDrawArrays; -extern PFNGLDRAWELEMENTSPROC gles3wDrawElements; -extern PFNGLENABLEPROC gles3wEnable; -extern PFNGLENABLEVERTEXATTRIBARRAYPROC gles3wEnableVertexAttribArray; -extern PFNGLFINISHPROC gles3wFinish; -extern PFNGLFLUSHPROC gles3wFlush; -extern PFNGLFRAMEBUFFERRENDERBUFFERPROC gles3wFramebufferRenderbuffer; -extern PFNGLFRAMEBUFFERTEXTURE2DPROC gles3wFramebufferTexture2D; -extern PFNGLFRONTFACEPROC gles3wFrontFace; -extern PFNGLGENBUFFERSPROC gles3wGenBuffers; -extern PFNGLGENERATEMIPMAPPROC gles3wGenerateMipmap; -extern PFNGLGENFRAMEBUFFERSPROC gles3wGenFramebuffers; -extern PFNGLGENRENDERBUFFERSPROC gles3wGenRenderbuffers; -extern PFNGLGENTEXTURESPROC gles3wGenTextures; -extern PFNGLGETACTIVEATTRIBPROC gles3wGetActiveAttrib; -extern PFNGLGETACTIVEUNIFORMPROC gles3wGetActiveUniform; -extern PFNGLGETATTACHEDSHADERSPROC gles3wGetAttachedShaders; -extern PFNGLGETATTRIBLOCATIONPROC gles3wGetAttribLocation; -extern PFNGLGETBOOLEANVPROC gles3wGetBooleanv; -extern PFNGLGETBUFFERPARAMETERIVPROC gles3wGetBufferParameteriv; -extern PFNGLGETERRORPROC gles3wGetError; -extern PFNGLGETFLOATVPROC gles3wGetFloatv; -extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC gles3wGetFramebufferAttachmentParameteriv; -extern PFNGLGETINTEGERVPROC gles3wGetIntegerv; -extern PFNGLGETPROGRAMIVPROC gles3wGetProgramiv; -extern PFNGLGETPROGRAMINFOLOGPROC gles3wGetProgramInfoLog; -extern PFNGLGETRENDERBUFFERPARAMETERIVPROC gles3wGetRenderbufferParameteriv; -extern PFNGLGETSHADERIVPROC gles3wGetShaderiv; -extern PFNGLGETSHADERINFOLOGPROC gles3wGetShaderInfoLog; -extern PFNGLGETSHADERPRECISIONFORMATPROC gles3wGetShaderPrecisionFormat; -extern PFNGLGETSHADERSOURCEPROC gles3wGetShaderSource; -extern PFNGLGETSTRINGPROC gles3wGetString; -extern PFNGLGETTEXPARAMETERFVPROC gles3wGetTexParameterfv; -extern PFNGLGETTEXPARAMETERIVPROC gles3wGetTexParameteriv; -extern PFNGLGETUNIFORMFVPROC gles3wGetUniformfv; -extern PFNGLGETUNIFORMIVPROC gles3wGetUniformiv; -extern PFNGLGETUNIFORMLOCATIONPROC gles3wGetUniformLocation; -extern PFNGLGETVERTEXATTRIBFVPROC gles3wGetVertexAttribfv; -extern PFNGLGETVERTEXATTRIBIVPROC gles3wGetVertexAttribiv; -extern PFNGLGETVERTEXATTRIBPOINTERVPROC gles3wGetVertexAttribPointerv; -extern PFNGLHINTPROC gles3wHint; -extern PFNGLISBUFFERPROC gles3wIsBuffer; -extern PFNGLISENABLEDPROC gles3wIsEnabled; -extern PFNGLISFRAMEBUFFERPROC gles3wIsFramebuffer; -extern PFNGLISPROGRAMPROC gles3wIsProgram; -extern PFNGLISRENDERBUFFERPROC gles3wIsRenderbuffer; -extern PFNGLISSHADERPROC gles3wIsShader; -extern PFNGLISTEXTUREPROC gles3wIsTexture; -extern PFNGLLINEWIDTHPROC gles3wLineWidth; -extern PFNGLLINKPROGRAMPROC gles3wLinkProgram; -extern PFNGLPIXELSTOREIPROC gles3wPixelStorei; -extern PFNGLPOLYGONOFFSETPROC gles3wPolygonOffset; -extern PFNGLREADPIXELSPROC gles3wReadPixels; -extern PFNGLRELEASESHADERCOMPILERPROC gles3wReleaseShaderCompiler; -extern PFNGLRENDERBUFFERSTORAGEPROC gles3wRenderbufferStorage; -extern PFNGLSAMPLECOVERAGEPROC gles3wSampleCoverage; -extern PFNGLSCISSORPROC gles3wScissor; -extern PFNGLSHADERBINARYPROC gles3wShaderBinary; -extern PFNGLSHADERSOURCEPROC gles3wShaderSource; -extern PFNGLSTENCILFUNCPROC gles3wStencilFunc; -extern PFNGLSTENCILFUNCSEPARATEPROC gles3wStencilFuncSeparate; -extern PFNGLSTENCILMASKPROC gles3wStencilMask; -extern PFNGLSTENCILMASKSEPARATEPROC gles3wStencilMaskSeparate; -extern PFNGLSTENCILOPPROC gles3wStencilOp; -extern PFNGLSTENCILOPSEPARATEPROC gles3wStencilOpSeparate; -extern PFNGLTEXIMAGE2DPROC gles3wTexImage2D; -extern PFNGLTEXPARAMETERFPROC gles3wTexParameterf; -extern PFNGLTEXPARAMETERFVPROC gles3wTexParameterfv; -extern PFNGLTEXPARAMETERIPROC gles3wTexParameteri; -extern PFNGLTEXPARAMETERIVPROC gles3wTexParameteriv; -extern PFNGLTEXSUBIMAGE2DPROC gles3wTexSubImage2D; -extern PFNGLUNIFORM1FPROC gles3wUniform1f; -extern PFNGLUNIFORM1FVPROC gles3wUniform1fv; -extern PFNGLUNIFORM1IPROC gles3wUniform1i; -extern PFNGLUNIFORM1IVPROC gles3wUniform1iv; -extern PFNGLUNIFORM2FPROC gles3wUniform2f; -extern PFNGLUNIFORM2FVPROC gles3wUniform2fv; -extern PFNGLUNIFORM2IPROC gles3wUniform2i; -extern PFNGLUNIFORM2IVPROC gles3wUniform2iv; -extern PFNGLUNIFORM3FPROC gles3wUniform3f; -extern PFNGLUNIFORM3FVPROC gles3wUniform3fv; -extern PFNGLUNIFORM3IPROC gles3wUniform3i; -extern PFNGLUNIFORM3IVPROC gles3wUniform3iv; -extern PFNGLUNIFORM4FPROC gles3wUniform4f; -extern PFNGLUNIFORM4FVPROC gles3wUniform4fv; -extern PFNGLUNIFORM4IPROC gles3wUniform4i; -extern PFNGLUNIFORM4IVPROC gles3wUniform4iv; -extern PFNGLUNIFORMMATRIX2FVPROC gles3wUniformMatrix2fv; -extern PFNGLUNIFORMMATRIX3FVPROC gles3wUniformMatrix3fv; -extern PFNGLUNIFORMMATRIX4FVPROC gles3wUniformMatrix4fv; -extern PFNGLUSEPROGRAMPROC gles3wUseProgram; -extern PFNGLVALIDATEPROGRAMPROC gles3wValidateProgram; -extern PFNGLVERTEXATTRIB1FPROC gles3wVertexAttrib1f; -extern PFNGLVERTEXATTRIB1FVPROC gles3wVertexAttrib1fv; -extern PFNGLVERTEXATTRIB2FPROC gles3wVertexAttrib2f; -extern PFNGLVERTEXATTRIB2FVPROC gles3wVertexAttrib2fv; -extern PFNGLVERTEXATTRIB3FPROC gles3wVertexAttrib3f; -extern PFNGLVERTEXATTRIB3FVPROC gles3wVertexAttrib3fv; -extern PFNGLVERTEXATTRIB4FPROC gles3wVertexAttrib4f; -extern PFNGLVERTEXATTRIB4FVPROC gles3wVertexAttrib4fv; -extern PFNGLVERTEXATTRIBPOINTERPROC gles3wVertexAttribPointer; -extern PFNGLVIEWPORTPROC gles3wViewport; -extern PFNGLREADBUFFERPROC gles3wReadBuffer; -extern PFNGLDRAWRANGEELEMENTSPROC gles3wDrawRangeElements; -extern PFNGLTEXIMAGE3DPROC gles3wTexImage3D; -extern PFNGLTEXSUBIMAGE3DPROC gles3wTexSubImage3D; -extern PFNGLCOPYTEXSUBIMAGE3DPROC gles3wCopyTexSubImage3D; -extern PFNGLCOMPRESSEDTEXIMAGE3DPROC gles3wCompressedTexImage3D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC gles3wCompressedTexSubImage3D; -extern PFNGLGENQUERIESPROC gles3wGenQueries; -extern PFNGLDELETEQUERIESPROC gles3wDeleteQueries; -extern PFNGLISQUERYPROC gles3wIsQuery; -extern PFNGLBEGINQUERYPROC gles3wBeginQuery; -extern PFNGLENDQUERYPROC gles3wEndQuery; -extern PFNGLGETQUERYIVPROC gles3wGetQueryiv; -extern PFNGLGETQUERYOBJECTUIVPROC gles3wGetQueryObjectuiv; -extern PFNGLUNMAPBUFFERPROC gles3wUnmapBuffer; -extern PFNGLGETBUFFERPOINTERVPROC gles3wGetBufferPointerv; -extern PFNGLDRAWBUFFERSPROC gles3wDrawBuffers; -extern PFNGLUNIFORMMATRIX2X3FVPROC gles3wUniformMatrix2x3fv; -extern PFNGLUNIFORMMATRIX3X2FVPROC gles3wUniformMatrix3x2fv; -extern PFNGLUNIFORMMATRIX2X4FVPROC gles3wUniformMatrix2x4fv; -extern PFNGLUNIFORMMATRIX4X2FVPROC gles3wUniformMatrix4x2fv; -extern PFNGLUNIFORMMATRIX3X4FVPROC gles3wUniformMatrix3x4fv; -extern PFNGLUNIFORMMATRIX4X3FVPROC gles3wUniformMatrix4x3fv; -extern PFNGLBLITFRAMEBUFFERPROC gles3wBlitFramebuffer; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC gles3wRenderbufferStorageMultisample; -extern PFNGLFRAMEBUFFERTEXTURELAYERPROC gles3wFramebufferTextureLayer; -extern PFNGLMAPBUFFERRANGEPROC gles3wMapBufferRange; -extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC gles3wFlushMappedBufferRange; -extern PFNGLBINDVERTEXARRAYPROC gles3wBindVertexArray; -extern PFNGLDELETEVERTEXARRAYSPROC gles3wDeleteVertexArrays; -extern PFNGLGENVERTEXARRAYSPROC gles3wGenVertexArrays; -extern PFNGLISVERTEXARRAYPROC gles3wIsVertexArray; -extern PFNGLGETINTEGERI_VPROC gles3wGetIntegeri_v; -extern PFNGLBEGINTRANSFORMFEEDBACKPROC gles3wBeginTransformFeedback; -extern PFNGLENDTRANSFORMFEEDBACKPROC gles3wEndTransformFeedback; -extern PFNGLBINDBUFFERRANGEPROC gles3wBindBufferRange; -extern PFNGLBINDBUFFERBASEPROC gles3wBindBufferBase; -extern PFNGLTRANSFORMFEEDBACKVARYINGSPROC gles3wTransformFeedbackVaryings; -extern PFNGLGETTRANSFORMFEEDBACKVARYINGPROC gles3wGetTransformFeedbackVarying; -extern PFNGLVERTEXATTRIBIPOINTERPROC gles3wVertexAttribIPointer; -extern PFNGLGETVERTEXATTRIBIIVPROC gles3wGetVertexAttribIiv; -extern PFNGLGETVERTEXATTRIBIUIVPROC gles3wGetVertexAttribIuiv; -extern PFNGLVERTEXATTRIBI4IPROC gles3wVertexAttribI4i; -extern PFNGLVERTEXATTRIBI4UIPROC gles3wVertexAttribI4ui; -extern PFNGLVERTEXATTRIBI4IVPROC gles3wVertexAttribI4iv; -extern PFNGLVERTEXATTRIBI4UIVPROC gles3wVertexAttribI4uiv; -extern PFNGLGETUNIFORMUIVPROC gles3wGetUniformuiv; -extern PFNGLGETFRAGDATALOCATIONPROC gles3wGetFragDataLocation; -extern PFNGLUNIFORM1UIPROC gles3wUniform1ui; -extern PFNGLUNIFORM2UIPROC gles3wUniform2ui; -extern PFNGLUNIFORM3UIPROC gles3wUniform3ui; -extern PFNGLUNIFORM4UIPROC gles3wUniform4ui; -extern PFNGLUNIFORM1UIVPROC gles3wUniform1uiv; -extern PFNGLUNIFORM2UIVPROC gles3wUniform2uiv; -extern PFNGLUNIFORM3UIVPROC gles3wUniform3uiv; -extern PFNGLUNIFORM4UIVPROC gles3wUniform4uiv; -extern PFNGLCLEARBUFFERIVPROC gles3wClearBufferiv; -extern PFNGLCLEARBUFFERUIVPROC gles3wClearBufferuiv; -extern PFNGLCLEARBUFFERFVPROC gles3wClearBufferfv; -extern PFNGLCLEARBUFFERFIPROC gles3wClearBufferfi; -extern PFNGLGETSTRINGIPROC gles3wGetStringi; -extern PFNGLCOPYBUFFERSUBDATAPROC gles3wCopyBufferSubData; -extern PFNGLGETUNIFORMINDICESPROC gles3wGetUniformIndices; -extern PFNGLGETACTIVEUNIFORMSIVPROC gles3wGetActiveUniformsiv; -extern PFNGLGETUNIFORMBLOCKINDEXPROC gles3wGetUniformBlockIndex; -extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC gles3wGetActiveUniformBlockiv; -extern PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC gles3wGetActiveUniformBlockName; -extern PFNGLUNIFORMBLOCKBINDINGPROC gles3wUniformBlockBinding; -extern PFNGLDRAWARRAYSINSTANCEDPROC gles3wDrawArraysInstanced; -extern PFNGLDRAWELEMENTSINSTANCEDPROC gles3wDrawElementsInstanced; -extern PFNGLFENCESYNCPROC gles3wFenceSync; -extern PFNGLISSYNCPROC gles3wIsSync; -extern PFNGLDELETESYNCPROC gles3wDeleteSync; -extern PFNGLCLIENTWAITSYNCPROC gles3wClientWaitSync; -extern PFNGLWAITSYNCPROC gles3wWaitSync; -extern PFNGLGETINTEGER64VPROC gles3wGetInteger64v; -extern PFNGLGETSYNCIVPROC gles3wGetSynciv; -extern PFNGLGETINTEGER64I_VPROC gles3wGetInteger64i_v; -extern PFNGLGETBUFFERPARAMETERI64VPROC gles3wGetBufferParameteri64v; -extern PFNGLGENSAMPLERSPROC gles3wGenSamplers; -extern PFNGLDELETESAMPLERSPROC gles3wDeleteSamplers; -extern PFNGLISSAMPLERPROC gles3wIsSampler; -extern PFNGLBINDSAMPLERPROC gles3wBindSampler; -extern PFNGLSAMPLERPARAMETERIPROC gles3wSamplerParameteri; -extern PFNGLSAMPLERPARAMETERIVPROC gles3wSamplerParameteriv; -extern PFNGLSAMPLERPARAMETERFPROC gles3wSamplerParameterf; -extern PFNGLSAMPLERPARAMETERFVPROC gles3wSamplerParameterfv; -extern PFNGLGETSAMPLERPARAMETERIVPROC gles3wGetSamplerParameteriv; -extern PFNGLGETSAMPLERPARAMETERFVPROC gles3wGetSamplerParameterfv; -extern PFNGLVERTEXATTRIBDIVISORPROC gles3wVertexAttribDivisor; -extern PFNGLBINDTRANSFORMFEEDBACKPROC gles3wBindTransformFeedback; -extern PFNGLDELETETRANSFORMFEEDBACKSPROC gles3wDeleteTransformFeedbacks; -extern PFNGLGENTRANSFORMFEEDBACKSPROC gles3wGenTransformFeedbacks; -extern PFNGLISTRANSFORMFEEDBACKPROC gles3wIsTransformFeedback; -extern PFNGLPAUSETRANSFORMFEEDBACKPROC gles3wPauseTransformFeedback; -extern PFNGLRESUMETRANSFORMFEEDBACKPROC gles3wResumeTransformFeedback; -extern PFNGLGETPROGRAMBINARYPROC gles3wGetProgramBinary; -extern PFNGLPROGRAMBINARYPROC gles3wProgramBinary; -extern PFNGLPROGRAMPARAMETERIPROC gles3wProgramParameteri; -extern PFNGLINVALIDATEFRAMEBUFFERPROC gles3wInvalidateFramebuffer; -extern PFNGLINVALIDATESUBFRAMEBUFFERPROC gles3wInvalidateSubFramebuffer; -extern PFNGLTEXSTORAGE2DPROC gles3wTexStorage2D; -extern PFNGLTEXSTORAGE3DPROC gles3wTexStorage3D; -extern PFNGLGETINTERNALFORMATIVPROC gles3wGetInternalformativ; -extern PFNGLLABELOBJECTEXTPROC gles3wLabelObjectEXT; -extern PFNGLGETOBJECTLABELEXTPROC gles3wGetObjectLabelEXT; -extern PFNGLINSERTEVENTMARKEREXTPROC gles3wInsertEventMarkerEXT; -extern PFNGLPUSHGROUPMARKEREXTPROC gles3wPushGroupMarkerEXT; -extern PFNGLPOPGROUPMARKEREXTPROC gles3wPopGroupMarkerEXT; -extern PFNGLUSEPROGRAMSTAGESEXTPROC gles3wUseProgramStagesEXT; -extern PFNGLACTIVESHADERPROGRAMEXTPROC gles3wActiveShaderProgramEXT; -extern PFNGLCREATESHADERPROGRAMVEXTPROC gles3wCreateShaderProgramvEXT; -extern PFNGLBINDPROGRAMPIPELINEEXTPROC gles3wBindProgramPipelineEXT; -extern PFNGLDELETEPROGRAMPIPELINESEXTPROC gles3wDeleteProgramPipelinesEXT; -extern PFNGLGENPROGRAMPIPELINESEXTPROC gles3wGenProgramPipelinesEXT; -extern PFNGLISPROGRAMPIPELINEEXTPROC gles3wIsProgramPipelineEXT; -extern PFNGLPROGRAMPARAMETERIEXTPROC gles3wProgramParameteriEXT; -extern PFNGLGETPROGRAMPIPELINEIVEXTPROC gles3wGetProgramPipelineivEXT; -extern PFNGLPROGRAMUNIFORM1IEXTPROC gles3wProgramUniform1iEXT; -extern PFNGLPROGRAMUNIFORM2IEXTPROC gles3wProgramUniform2iEXT; -extern PFNGLPROGRAMUNIFORM3IEXTPROC gles3wProgramUniform3iEXT; -extern PFNGLPROGRAMUNIFORM4IEXTPROC gles3wProgramUniform4iEXT; -extern PFNGLPROGRAMUNIFORM1FEXTPROC gles3wProgramUniform1fEXT; -extern PFNGLPROGRAMUNIFORM2FEXTPROC gles3wProgramUniform2fEXT; -extern PFNGLPROGRAMUNIFORM3FEXTPROC gles3wProgramUniform3fEXT; -extern PFNGLPROGRAMUNIFORM4FEXTPROC gles3wProgramUniform4fEXT; -extern PFNGLPROGRAMUNIFORM1IVEXTPROC gles3wProgramUniform1ivEXT; -extern PFNGLPROGRAMUNIFORM2IVEXTPROC gles3wProgramUniform2ivEXT; -extern PFNGLPROGRAMUNIFORM3IVEXTPROC gles3wProgramUniform3ivEXT; -extern PFNGLPROGRAMUNIFORM4IVEXTPROC gles3wProgramUniform4ivEXT; -extern PFNGLPROGRAMUNIFORM1FVEXTPROC gles3wProgramUniform1fvEXT; -extern PFNGLPROGRAMUNIFORM2FVEXTPROC gles3wProgramUniform2fvEXT; -extern PFNGLPROGRAMUNIFORM3FVEXTPROC gles3wProgramUniform3fvEXT; -extern PFNGLPROGRAMUNIFORM4FVEXTPROC gles3wProgramUniform4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC gles3wProgramUniformMatrix2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC gles3wProgramUniformMatrix3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC gles3wProgramUniformMatrix4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC gles3wProgramUniformMatrix2x3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC gles3wProgramUniformMatrix3x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC gles3wProgramUniformMatrix2x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC gles3wProgramUniformMatrix4x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC gles3wProgramUniformMatrix3x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC gles3wProgramUniformMatrix4x3fvEXT; -extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC gles3wValidateProgramPipelineEXT; -extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC gles3wGetProgramPipelineInfoLogEXT; - -extern PFNGLDEBUGMESSAGECONTROLKHRPROC gles3wDebugMessageControlKHR; -extern PFNGLDEBUGMESSAGECALLBACKKHRPROC gles3wDebugMessageCallbackKHR; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC gles3wFramebufferTexture2DMultisampleEXT; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC gles3wFramebufferTexture2DMultisampleIMG; - -#define glActiveTexture gles3wActiveTexture -#define glAttachShader gles3wAttachShader -#define glBindAttribLocation gles3wBindAttribLocation -#define glBindBuffer gles3wBindBuffer -#define glBindFramebuffer gles3wBindFramebuffer -#define glBindRenderbuffer gles3wBindRenderbuffer -#define glBindTexture gles3wBindTexture -#define glBlendColor gles3wBlendColor -#define glBlendEquation gles3wBlendEquation -#define glBlendEquationSeparate gles3wBlendEquationSeparate -#define glBlendFunc gles3wBlendFunc -#define glBlendFuncSeparate gles3wBlendFuncSeparate -#define glBufferData gles3wBufferData -#define glBufferSubData gles3wBufferSubData -#define glCheckFramebufferStatus gles3wCheckFramebufferStatus -#define glClear gles3wClear -#define glClearColor gles3wClearColor -#define glClearDepthf gles3wClearDepthf -#define glClearStencil gles3wClearStencil -#define glColorMask gles3wColorMask -#define glCompileShader gles3wCompileShader -#define glCompressedTexImage2D gles3wCompressedTexImage2D -#define glCompressedTexSubImage2D gles3wCompressedTexSubImage2D -#define glCopyTexImage2D gles3wCopyTexImage2D -#define glCopyTexSubImage2D gles3wCopyTexSubImage2D -#define glCreateProgram gles3wCreateProgram -#define glCreateShader gles3wCreateShader -#define glCullFace gles3wCullFace -#define glDeleteBuffers gles3wDeleteBuffers -#define glDeleteFramebuffers gles3wDeleteFramebuffers -#define glDeleteProgram gles3wDeleteProgram -#define glDeleteRenderbuffers gles3wDeleteRenderbuffers -#define glDeleteShader gles3wDeleteShader -#define glDeleteTextures gles3wDeleteTextures -#define glDepthFunc gles3wDepthFunc -#define glDepthMask gles3wDepthMask -#define glDepthRangef gles3wDepthRangef -#define glDetachShader gles3wDetachShader -#define glDisable gles3wDisable -#define glDisableVertexAttribArray gles3wDisableVertexAttribArray -#define glDrawArrays gles3wDrawArrays -#define glDrawElements gles3wDrawElements -#define glEnable gles3wEnable -#define glEnableVertexAttribArray gles3wEnableVertexAttribArray -#define glFinish gles3wFinish -#define glFlush gles3wFlush -#define glFramebufferRenderbuffer gles3wFramebufferRenderbuffer -#define glFramebufferTexture2D gles3wFramebufferTexture2D -#define glFrontFace gles3wFrontFace -#define glGenBuffers gles3wGenBuffers -#define glGenerateMipmap gles3wGenerateMipmap -#define glGenFramebuffers gles3wGenFramebuffers -#define glGenRenderbuffers gles3wGenRenderbuffers -#define glGenTextures gles3wGenTextures -#define glGetActiveAttrib gles3wGetActiveAttrib -#define glGetActiveUniform gles3wGetActiveUniform -#define glGetAttachedShaders gles3wGetAttachedShaders -#define glGetAttribLocation gles3wGetAttribLocation -#define glGetBooleanv gles3wGetBooleanv -#define glGetBufferParameteriv gles3wGetBufferParameteriv -#define glGetError gles3wGetError -#define glGetFloatv gles3wGetFloatv -#define glGetFramebufferAttachmentParameteriv gles3wGetFramebufferAttachmentParameteriv -#define glGetIntegerv gles3wGetIntegerv -#define glGetProgramiv gles3wGetProgramiv -#define glGetProgramInfoLog gles3wGetProgramInfoLog -#define glGetRenderbufferParameteriv gles3wGetRenderbufferParameteriv -#define glGetShaderiv gles3wGetShaderiv -#define glGetShaderInfoLog gles3wGetShaderInfoLog -#define glGetShaderPrecisionFormat gles3wGetShaderPrecisionFormat -#define glGetShaderSource gles3wGetShaderSource -#define glGetString gles3wGetString -#define glGetTexParameterfv gles3wGetTexParameterfv -#define glGetTexParameteriv gles3wGetTexParameteriv -#define glGetUniformfv gles3wGetUniformfv -#define glGetUniformiv gles3wGetUniformiv -#define glGetUniformLocation gles3wGetUniformLocation -#define glGetVertexAttribfv gles3wGetVertexAttribfv -#define glGetVertexAttribiv gles3wGetVertexAttribiv -#define glGetVertexAttribPointerv gles3wGetVertexAttribPointerv -#define glHint gles3wHint -#define glIsBuffer gles3wIsBuffer -#define glIsEnabled gles3wIsEnabled -#define glIsFramebuffer gles3wIsFramebuffer -#define glIsProgram gles3wIsProgram -#define glIsRenderbuffer gles3wIsRenderbuffer -#define glIsShader gles3wIsShader -#define glIsTexture gles3wIsTexture -#define glLineWidth gles3wLineWidth -#define glLinkProgram gles3wLinkProgram -#define glPixelStorei gles3wPixelStorei -#define glPolygonOffset gles3wPolygonOffset -#define glReadPixels gles3wReadPixels -#define glReleaseShaderCompiler gles3wReleaseShaderCompiler -#define glRenderbufferStorage gles3wRenderbufferStorage -#define glSampleCoverage gles3wSampleCoverage -#define glScissor gles3wScissor -#define glShaderBinary gles3wShaderBinary -#define glShaderSource gles3wShaderSource -#define glStencilFunc gles3wStencilFunc -#define glStencilFuncSeparate gles3wStencilFuncSeparate -#define glStencilMask gles3wStencilMask -#define glStencilMaskSeparate gles3wStencilMaskSeparate -#define glStencilOp gles3wStencilOp -#define glStencilOpSeparate gles3wStencilOpSeparate -#define glTexImage2D gles3wTexImage2D -#define glTexParameterf gles3wTexParameterf -#define glTexParameterfv gles3wTexParameterfv -#define glTexParameteri gles3wTexParameteri -#define glTexParameteriv gles3wTexParameteriv -#define glTexSubImage2D gles3wTexSubImage2D -#define glUniform1f gles3wUniform1f -#define glUniform1fv gles3wUniform1fv -#define glUniform1i gles3wUniform1i -#define glUniform1iv gles3wUniform1iv -#define glUniform2f gles3wUniform2f -#define glUniform2fv gles3wUniform2fv -#define glUniform2i gles3wUniform2i -#define glUniform2iv gles3wUniform2iv -#define glUniform3f gles3wUniform3f -#define glUniform3fv gles3wUniform3fv -#define glUniform3i gles3wUniform3i -#define glUniform3iv gles3wUniform3iv -#define glUniform4f gles3wUniform4f -#define glUniform4fv gles3wUniform4fv -#define glUniform4i gles3wUniform4i -#define glUniform4iv gles3wUniform4iv -#define glUniformMatrix2fv gles3wUniformMatrix2fv -#define glUniformMatrix3fv gles3wUniformMatrix3fv -#define glUniformMatrix4fv gles3wUniformMatrix4fv -#define glUseProgram gles3wUseProgram -#define glValidateProgram gles3wValidateProgram -#define glVertexAttrib1f gles3wVertexAttrib1f -#define glVertexAttrib1fv gles3wVertexAttrib1fv -#define glVertexAttrib2f gles3wVertexAttrib2f -#define glVertexAttrib2fv gles3wVertexAttrib2fv -#define glVertexAttrib3f gles3wVertexAttrib3f -#define glVertexAttrib3fv gles3wVertexAttrib3fv -#define glVertexAttrib4f gles3wVertexAttrib4f -#define glVertexAttrib4fv gles3wVertexAttrib4fv -#define glVertexAttribPointer gles3wVertexAttribPointer -#define glViewport gles3wViewport -#define glReadBuffer gles3wReadBuffer -#define glDrawRangeElements gles3wDrawRangeElements -#define glTexImage3D gles3wTexImage3D -#define glTexSubImage3D gles3wTexSubImage3D -#define glCopyTexSubImage3D gles3wCopyTexSubImage3D -#define glCompressedTexImage3D gles3wCompressedTexImage3D -#define glCompressedTexSubImage3D gles3wCompressedTexSubImage3D -#define glGenQueries gles3wGenQueries -#define glDeleteQueries gles3wDeleteQueries -#define glIsQuery gles3wIsQuery -#define glBeginQuery gles3wBeginQuery -#define glEndQuery gles3wEndQuery -#define glGetQueryiv gles3wGetQueryiv -#define glGetQueryObjectuiv gles3wGetQueryObjectuiv -#define glUnmapBuffer gles3wUnmapBuffer -#define glGetBufferPointerv gles3wGetBufferPointerv -#define glDrawBuffers gles3wDrawBuffers -#define glUniformMatrix2x3fv gles3wUniformMatrix2x3fv -#define glUniformMatrix3x2fv gles3wUniformMatrix3x2fv -#define glUniformMatrix2x4fv gles3wUniformMatrix2x4fv -#define glUniformMatrix4x2fv gles3wUniformMatrix4x2fv -#define glUniformMatrix3x4fv gles3wUniformMatrix3x4fv -#define glUniformMatrix4x3fv gles3wUniformMatrix4x3fv -#define glBlitFramebuffer gles3wBlitFramebuffer -#define glRenderbufferStorageMultisample gles3wRenderbufferStorageMultisample -#define glFramebufferTextureLayer gles3wFramebufferTextureLayer -#define glMapBufferRange gles3wMapBufferRange -#define glFlushMappedBufferRange gles3wFlushMappedBufferRange -#define glBindVertexArray gles3wBindVertexArray -#define glDeleteVertexArrays gles3wDeleteVertexArrays -#define glGenVertexArrays gles3wGenVertexArrays -#define glIsVertexArray gles3wIsVertexArray -#define glGetIntegeri_v gles3wGetIntegeri_v -#define glBeginTransformFeedback gles3wBeginTransformFeedback -#define glEndTransformFeedback gles3wEndTransformFeedback -#define glBindBufferRange gles3wBindBufferRange -#define glBindBufferBase gles3wBindBufferBase -#define glTransformFeedbackVaryings gles3wTransformFeedbackVaryings -#define glGetTransformFeedbackVarying gles3wGetTransformFeedbackVarying -#define glVertexAttribIPointer gles3wVertexAttribIPointer -#define glGetVertexAttribIiv gles3wGetVertexAttribIiv -#define glGetVertexAttribIuiv gles3wGetVertexAttribIuiv -#define glVertexAttribI4i gles3wVertexAttribI4i -#define glVertexAttribI4ui gles3wVertexAttribI4ui -#define glVertexAttribI4iv gles3wVertexAttribI4iv -#define glVertexAttribI4uiv gles3wVertexAttribI4uiv -#define glGetUniformuiv gles3wGetUniformuiv -#define glGetFragDataLocation gles3wGetFragDataLocation -#define glUniform1ui gles3wUniform1ui -#define glUniform2ui gles3wUniform2ui -#define glUniform3ui gles3wUniform3ui -#define glUniform4ui gles3wUniform4ui -#define glUniform1uiv gles3wUniform1uiv -#define glUniform2uiv gles3wUniform2uiv -#define glUniform3uiv gles3wUniform3uiv -#define glUniform4uiv gles3wUniform4uiv -#define glClearBufferiv gles3wClearBufferiv -#define glClearBufferuiv gles3wClearBufferuiv -#define glClearBufferfv gles3wClearBufferfv -#define glClearBufferfi gles3wClearBufferfi -#define glGetStringi gles3wGetStringi -#define glCopyBufferSubData gles3wCopyBufferSubData -#define glGetUniformIndices gles3wGetUniformIndices -#define glGetActiveUniformsiv gles3wGetActiveUniformsiv -#define glGetUniformBlockIndex gles3wGetUniformBlockIndex -#define glGetActiveUniformBlockiv gles3wGetActiveUniformBlockiv -#define glGetActiveUniformBlockName gles3wGetActiveUniformBlockName -#define glUniformBlockBinding gles3wUniformBlockBinding -#define glDrawArraysInstanced gles3wDrawArraysInstanced -#define glDrawElementsInstanced gles3wDrawElementsInstanced -#define glFenceSync gles3wFenceSync -#define glIsSync gles3wIsSync -#define glDeleteSync gles3wDeleteSync -#define glClientWaitSync gles3wClientWaitSync -#define glWaitSync gles3wWaitSync -#define glGetInteger64v gles3wGetInteger64v -#define glGetSynciv gles3wGetSynciv -#define glGetInteger64i_v gles3wGetInteger64i_v -#define glGetBufferParameteri64v gles3wGetBufferParameteri64v -#define glGenSamplers gles3wGenSamplers -#define glDeleteSamplers gles3wDeleteSamplers -#define glIsSampler gles3wIsSampler -#define glBindSampler gles3wBindSampler -#define glSamplerParameteri gles3wSamplerParameteri -#define glSamplerParameteriv gles3wSamplerParameteriv -#define glSamplerParameterf gles3wSamplerParameterf -#define glSamplerParameterfv gles3wSamplerParameterfv -#define glGetSamplerParameteriv gles3wGetSamplerParameteriv -#define glGetSamplerParameterfv gles3wGetSamplerParameterfv -#define glVertexAttribDivisor gles3wVertexAttribDivisor -#define glBindTransformFeedback gles3wBindTransformFeedback -#define glDeleteTransformFeedbacks gles3wDeleteTransformFeedbacks -#define glGenTransformFeedbacks gles3wGenTransformFeedbacks -#define glIsTransformFeedback gles3wIsTransformFeedback -#define glPauseTransformFeedback gles3wPauseTransformFeedback -#define glResumeTransformFeedback gles3wResumeTransformFeedback -#define glGetProgramBinary gles3wGetProgramBinary -#define glProgramBinary gles3wProgramBinary -#define glProgramParameteri gles3wProgramParameteri -#define glInvalidateFramebuffer gles3wInvalidateFramebuffer -#define glInvalidateSubFramebuffer gles3wInvalidateSubFramebuffer -#define glTexStorage2D gles3wTexStorage2D -#define glTexStorage3D gles3wTexStorage3D -#define glGetInternalformativ gles3wGetInternalformativ -#define glLabelObjectEXT gles3wLabelObjectEXT -#define glGetObjectLabelEXT gles3wGetObjectLabelEXT -#define glInsertEventMarkerEXT gles3wInsertEventMarkerEXT -#define glPushGroupMarkerEXT gles3wPushGroupMarkerEXT -#define glPopGroupMarkerEXT gles3wPopGroupMarkerEXT -#define glUseProgramStagesEXT gles3wUseProgramStagesEXT -#define glActiveShaderProgramEXT gles3wActiveShaderProgramEXT -#define glCreateShaderProgramvEXT gles3wCreateShaderProgramvEXT -#define glBindProgramPipelineEXT gles3wBindProgramPipelineEXT -#define glDeleteProgramPipelinesEXT gles3wDeleteProgramPipelinesEXT -#define glGenProgramPipelinesEXT gles3wGenProgramPipelinesEXT -#define glIsProgramPipelineEXT gles3wIsProgramPipelineEXT -#define glProgramParameteriEXT gles3wProgramParameteriEXT -#define glGetProgramPipelineivEXT gles3wGetProgramPipelineivEXT -#define glProgramUniform1iEXT gles3wProgramUniform1iEXT -#define glProgramUniform2iEXT gles3wProgramUniform2iEXT -#define glProgramUniform3iEXT gles3wProgramUniform3iEXT -#define glProgramUniform4iEXT gles3wProgramUniform4iEXT -#define glProgramUniform1fEXT gles3wProgramUniform1fEXT -#define glProgramUniform2fEXT gles3wProgramUniform2fEXT -#define glProgramUniform3fEXT gles3wProgramUniform3fEXT -#define glProgramUniform4fEXT gles3wProgramUniform4fEXT -#define glProgramUniform1ivEXT gles3wProgramUniform1ivEXT -#define glProgramUniform2ivEXT gles3wProgramUniform2ivEXT -#define glProgramUniform3ivEXT gles3wProgramUniform3ivEXT -#define glProgramUniform4ivEXT gles3wProgramUniform4ivEXT -#define glProgramUniform1fvEXT gles3wProgramUniform1fvEXT -#define glProgramUniform2fvEXT gles3wProgramUniform2fvEXT -#define glProgramUniform3fvEXT gles3wProgramUniform3fvEXT -#define glProgramUniform4fvEXT gles3wProgramUniform4fvEXT -#define glProgramUniformMatrix2fvEXT gles3wProgramUniformMatrix2fvEXT -#define glProgramUniformMatrix3fvEXT gles3wProgramUniformMatrix3fvEXT -#define glProgramUniformMatrix4fvEXT gles3wProgramUniformMatrix4fvEXT -#define glProgramUniformMatrix2x3fvEXT gles3wProgramUniformMatrix2x3fvEXT -#define glProgramUniformMatrix3x2fvEXT gles3wProgramUniformMatrix3x2fvEXT -#define glProgramUniformMatrix2x4fvEXT gles3wProgramUniformMatrix2x4fvEXT -#define glProgramUniformMatrix4x2fvEXT gles3wProgramUniformMatrix4x2fvEXT -#define glProgramUniformMatrix3x4fvEXT gles3wProgramUniformMatrix3x4fvEXT -#define glProgramUniformMatrix4x3fvEXT gles3wProgramUniformMatrix4x3fvEXT -#define glValidateProgramPipelineEXT gles3wValidateProgramPipelineEXT -#define glGetProgramPipelineInfoLogEXT gles3wGetProgramPipelineInfoLogEXT - -#define glDebugMessageControlKHR gles3wDebugMessageControlKHR -#define glDebugMessageCallbackKHR gles3wDebugMessageCallbackKHR -#define glFramebufferTexture2DMultisampleEXT gles3wFramebufferTexture2DMultisampleEXT -#define glFramebufferTexture2DMultisampleIMG gles3wFramebufferTexture2DMultisampleIMG - -#ifdef __cplusplus -} -#endif +extern PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +extern PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; +extern PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +extern PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +extern PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +extern PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +extern PFNGLMEMORYBARRIERPROC glMemoryBarrier; +extern PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; From 09e384abfcb97d02758284928b66795a93ac9b81 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 18 Jan 2021 18:48:00 +0800 Subject: [PATCH 121/270] explicit shader resource info --- .../core/gfx-agent/GFXShaderAgent.cpp | 6 +- native/cocos/renderer/core/gfx/GFXDef.cpp | 6 +- native/cocos/renderer/core/gfx/GFXDef.h | 122 +++++- .../renderer/core/gfx/GFXDescriptorSet.cpp | 8 +- native/cocos/renderer/core/gfx/GFXShader.h | 14 +- .../cocos/renderer/gfx-gles2/CMakeLists.txt | 2 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 3 +- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 9 +- .../cocos/renderer/gfx-gles2/GLES2Context.h | 27 +- .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 2 +- native/cocos/renderer/gfx-gles2/gles2w.cpp | 86 +--- native/cocos/renderer/gfx-gles2/gles2w.h | 3 +- .../cocos/renderer/gfx-gles3/CMakeLists.txt | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 387 +++++++++--------- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 16 +- .../cocos/renderer/gfx-gles3/GLES3Context.h | 27 +- .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 2 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 4 +- native/cocos/renderer/gfx-gles3/GLES3Device.h | 1 + .../renderer/gfx-gles3/GLES3GPUObjects.h | 43 +- .../cocos/renderer/gfx-gles3/GLES3Shader.cpp | 8 + native/cocos/renderer/gfx-gles3/gles3w.cpp | 88 +--- native/cocos/renderer/gfx-gles3/gles3w.h | 1 + .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 2 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 4 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 7 +- 26 files changed, 416 insertions(+), 464 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp index 0e3d341b50..700fa3d721 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp @@ -1,8 +1,8 @@ #include "CoreStd.h" -#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXShaderAgent.h" +#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { @@ -23,7 +23,11 @@ bool ShaderAgent::initialize(const ShaderInfo &info) { _attributes = info.attributes; _blocks = info.blocks; _buffers = info.buffers; + _samplerTextures = info.samplerTextures; _samplers = info.samplers; + _textures = info.textures; + _images = info.images; + _subpassInputs = info.subpassInputs; ENQUEUE_MESSAGE_2( ((DeviceAgent *)_device)->getMessageQueue(), diff --git a/native/cocos/renderer/core/gfx/GFXDef.cpp b/native/cocos/renderer/core/gfx/GFXDef.cpp index 0d9a17bc50..1f576e4d91 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.cpp +++ b/native/cocos/renderer/core/gfx/GFXDef.cpp @@ -7,7 +7,7 @@ namespace gfx { const DescriptorType DESCRIPTOR_BUFFER_TYPE = DescriptorType::STORAGE_BUFFER | DescriptorType::DYNAMIC_STORAGE_BUFFER | DescriptorType::UNIFORM_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; -const DescriptorType DESCRIPTOR_SAMPLER_TYPE = DescriptorType::SAMPLER | DescriptorType::STORAGE_IMAGE; +const DescriptorType DESCRIPTOR_TEXTURE_TYPE = DescriptorType::SAMPLER_TEXTURE | DescriptorType::SAMPLER | DescriptorType::TEXTURE | DescriptorType::STORAGE_IMAGE | DescriptorType::INPUT_ATTACHMENT; const DescriptorType DESCRIPTOR_DYNAMIC_TYPE = DescriptorType::DYNAMIC_STORAGE_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; const FormatInfo GFX_FORMAT_INFOS[] = { @@ -143,6 +143,10 @@ const FormatInfo GFX_FORMAT_INFOS[] = { {"ASTC_SRGBA_12x12", 1, 4, FormatType::UNORM, true, false, false, true}, }; +bool isCombinedImageSampler(Type type) { return type >= Type::SAMPLER1D && type <= Type::SAMPLER_CUBE; } +bool isSampledImage(Type type) { return type >= Type::TEXTURE1D && type <= Type::TEXTURE_CUBE; } +bool isStorageImage(Type type) { return type >= Type::IMAGE1D && type <= Type::IMAGE_CUBE; } + uint FormatSize(Format format, uint width, uint height, uint depth) { if (!GFX_FORMAT_INFOS[(uint)format].isCompressed) { diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 63e456cc58..7f4539e566 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -298,21 +298,41 @@ enum class Type { MAT4X2, MAT4X3, MAT4, + // combined image samplers SAMPLER1D, SAMPLER1D_ARRAY, SAMPLER2D, SAMPLER2D_ARRAY, SAMPLER3D, SAMPLER_CUBE, + // sampler + SAMPLER, + // sampled textures + TEXTURE1D, + TEXTURE1D_ARRAY, + TEXTURE2D, + TEXTURE2D_ARRAY, + TEXTURE3D, + TEXTURE_CUBE, + // storage images + IMAGE1D, + IMAGE1D_ARRAY, + IMAGE2D, + IMAGE2D_ARRAY, + IMAGE3D, + IMAGE_CUBE, + // input attachment + SUBPASS_INPUT, COUNT, }; +bool isCombinedImageSampler(Type type); +bool isSampledImage(Type type); +bool isStorageImage(Type type); -enum class UniformSamplerType { - SAMPLER, - COMBINED_IMAGE_SAMPLER, - SAMPLED_IMAGE, - STORAGE_IMAGE, - INPUT_ATTACHMENT, +enum class UniformMemoryAccessType { + READ_ONLY, + WRITE_ONLY, + READ_WRITE, }; enum class BufferUsageBit : FlagBits { @@ -539,7 +559,7 @@ enum class AccessType { typedef cc::vector AccessTypeList; // for texture barriers the exact layout can be inferred from access types -enum class TextureBarrierLayout { +enum class TextureBarrierLayout { OPTIMAL, GENERAL, }; @@ -613,8 +633,11 @@ enum class DescriptorType : FlagBits { DYNAMIC_UNIFORM_BUFFER = 0x2, STORAGE_BUFFER = 0x4, DYNAMIC_STORAGE_BUFFER = 0x8, - SAMPLER = 0x10, - STORAGE_IMAGE = 0x20, + SAMPLER_TEXTURE = 0x10, + SAMPLER = 0x20, + TEXTURE = 0x40, + STORAGE_IMAGE = 0x80, + INPUT_ATTACHMENT = 0x100, }; CC_ENUM_OPERATORS(DescriptorType); @@ -641,15 +664,26 @@ typedef ClearFlagBit ClearFlags; CC_ENUM_OPERATORS(ClearFlagBit); enum class VsyncMode { - // The application does not synchronizes with the vertical sync. If application renders faster than the display refreshes, frames are wasted and tearing may be observed. FPS is uncapped. Maximum power consumption. If unsupported, "ON" value will be used instead. Minimum latency. + // The application does not synchronizes with the vertical sync. + // If application renders faster than the display refreshes, frames are wasted and tearing may be observed. + // FPS is uncapped. Maximum power consumption. If unsupported, "ON" value will be used instead. Minimum latency. OFF, - // The application is always synchronized with the vertical sync. Tearing does not happen. FPS is capped to the display's refresh rate. For fast applications, battery life is improved. Always supported. + // The application is always synchronized with the vertical sync. Tearing does not happen. + // FPS is capped to the display's refresh rate. For fast applications, battery life is improved. Always supported. ON, - // The application synchronizes with the vertical sync, but only if the application rendering speed is greater than refresh rate. Compared to OFF, there is no tearing. Compared to ON, the FPS will be improved for "slower" applications. If unsupported, "ON" value will be used instead. Recommended for most applications. Default if supported. + // The application synchronizes with the vertical sync, but only if the application rendering speed is greater than refresh rate. + // Compared to OFF, there is no tearing. Compared to ON, the FPS will be improved for "slower" applications. + // If unsupported, "ON" value will be used instead. Recommended for most applications. Default if supported. RELAXED, - // The presentation engine will always use the latest fully rendered image. Compared to OFF, no tearing will be observed. Compared to ON, battery power will be worse, especially for faster applications. If unsupported, "OFF" will be attempted next. + // The presentation engine will always use the latest fully rendered image. + // Compared to OFF, no tearing will be observed. + // Compared to ON, battery power will be worse, especially for faster applications. + // If unsupported, "OFF" will be attempted next. MAILBOX, - // The application is capped to using half the vertical sync time. FPS artificially capped to Half the display speed (usually 30fps) to maintain battery. Best possible battery savings. Worst possible performance. Recommended for specific applications where battery saving is critical. + // The application is capped to using half the vertical sync time. + // FPS artificially capped to Half the display speed (usually 30fps) to maintain battery. + // Best possible battery savings. Worst possible performance. + // Recommended for specific applications where battery saving is critical. HALF, }; @@ -953,25 +987,64 @@ struct UniformBlock { typedef cc::vector UniformBlockList; -struct UniformSampler { +struct UniformSamplerTexture { uint set = 0u; uint binding = 0u; String name; Type type = Type::UNKNOWN; uint count = 0u; - UniformSamplerType uniformType = UniformSamplerType::COMBINED_IMAGE_SAMPLER; }; -typedef cc::vector UniformSamplerList; +typedef cc::vector UniformSamplerTextureList; -struct StorageBuffer { +struct UniformSampler { uint set = 0u; uint binding = 0u; String name; uint count = 0u; }; -typedef cc::vector StorageBufferList; +typedef cc::vector UniformSamplerList; + +struct UniformTexture { + uint set = 0u; + uint binding = 0u; + String name; + Type type = Type::UNKNOWN; + uint count = 0u; +}; + +typedef cc::vector UniformTextureList; + +struct UniformStorageImage { + uint set = 0u; + uint binding = 0u; + String name; + Type type = Type::UNKNOWN; + uint count = 0u; + UniformMemoryAccessType memoryAccess = UniformMemoryAccessType::READ_WRITE; +}; + +typedef cc::vector UniformStorageImageList; + +struct UniformStorageBuffer { + uint set = 0u; + uint binding = 0u; + String name; + uint count = 0u; + UniformMemoryAccessType memoryAccess = UniformMemoryAccessType::READ_WRITE; +}; + +typedef cc::vector UniformStorageBufferList; + +struct UniformInputAttachment { + uint set = 0u; + uint binding = 0u; + String name; + uint count = 0u; +}; + +typedef cc::vector UniformInputAttachmentList; struct ShaderStage { ShaderStageFlagBit stage; @@ -990,17 +1063,22 @@ struct Attribute { }; typedef cc::vector AttributeList; -typedef cc::vector BufferList; struct ShaderInfo { String name; ShaderStageList stages; AttributeList attributes; UniformBlockList blocks; - StorageBufferList buffers; + UniformStorageBufferList buffers; + UniformSamplerTextureList samplerTextures; UniformSamplerList samplers; + UniformTextureList textures; + UniformStorageImageList images; + UniformInputAttachmentList subpassInputs; }; +typedef cc::vector BufferList; + struct InputAssemblerInfo { AttributeList attributes; BufferList vertexBuffers; @@ -1209,7 +1287,7 @@ struct FormatInfo { }; extern CC_DLL const DescriptorType DESCRIPTOR_BUFFER_TYPE; -extern CC_DLL const DescriptorType DESCRIPTOR_SAMPLER_TYPE; +extern CC_DLL const DescriptorType DESCRIPTOR_TEXTURE_TYPE; extern CC_DLL const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; extern CC_DLL const FormatInfo GFX_FORMAT_INFOS[]; diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp b/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp index 59ac37fe2e..f2e8651ba3 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp +++ b/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp @@ -36,14 +36,14 @@ void DescriptorSet::bindTexture(uint binding, Texture *texture, uint index) { if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - if (info.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { + if (info.descriptorType & DESCRIPTOR_TEXTURE_TYPE) { const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; if (_textures[descriptorIndex + index] != texture) { _textures[descriptorIndex + index] = texture; _isDirty = true; } } else { - CCASSERT(false, "Setting binding is not DESCRIPTOR_SAMPLER_TYPE."); + CCASSERT(false, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE."); } } @@ -53,14 +53,14 @@ void DescriptorSet::bindSampler(uint binding, Sampler *sampler, uint index) { if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - if (info.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { + if (info.descriptorType & DESCRIPTOR_TEXTURE_TYPE) { const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; if (_samplers[descriptorIndex + index] != sampler) { _samplers[descriptorIndex + index] = sampler; _isDirty = true; } } else { - CCASSERT(false, "Setting binding is not DESCRIPTOR_SAMPLER_TYPE."); + CCASSERT(false, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE."); } } diff --git a/native/cocos/renderer/core/gfx/GFXShader.h b/native/cocos/renderer/core/gfx/GFXShader.h index 09efcd85db..c53a6d276f 100755 --- a/native/cocos/renderer/core/gfx/GFXShader.h +++ b/native/cocos/renderer/core/gfx/GFXShader.h @@ -21,8 +21,12 @@ public: CC_INLINE const ShaderStageList &getStages() const { return _stages; } CC_INLINE const AttributeList &getAttributes() const { return _attributes; } CC_INLINE const UniformBlockList &getBlocks() const { return _blocks; } - CC_INLINE const StorageBufferList &getBuffers() const { return _buffers; } + CC_INLINE const UniformStorageBufferList &getBuffers() const { return _buffers; } + CC_INLINE const UniformSamplerTextureList &getSamplerTextures() const { return _samplerTextures; } CC_INLINE const UniformSamplerList &getSamplers() const { return _samplers; } + CC_INLINE const UniformTextureList &getTextures() const { return _textures; } + CC_INLINE const UniformStorageImageList &getImages() const { return _images; } + CC_INLINE const UniformInputAttachmentList &getSubpassInputs() const { return _subpassInputs; } protected: Device *_device = nullptr; @@ -31,11 +35,15 @@ protected: ShaderStageList _stages; AttributeList _attributes; UniformBlockList _blocks; - StorageBufferList _buffers; + UniformStorageBufferList _buffers; + UniformSamplerTextureList _samplerTextures; UniformSamplerList _samplers; + UniformTextureList _textures; + UniformStorageImageList _images; + UniformInputAttachmentList _subpassInputs; }; } // namespace gfx } // namespace cc -#endif // CC_CORE_GFX_TEXTURE_VIEW_H_ +#endif // CC_CORE_GFX_SHADER_H_ diff --git a/native/cocos/renderer/gfx-gles2/CMakeLists.txt b/native/cocos/renderer/gfx-gles2/CMakeLists.txt index 87140ae5e4..6f62adb791 100644 --- a/native/cocos/renderer/gfx-gles2/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles2/CMakeLists.txt @@ -40,7 +40,7 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) endif() if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/gles2w.c") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/gles2w.cpp") else() list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/gles2w.mm") endif() diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 7e66698ae5..1f388cafef 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1056,7 +1056,6 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { gpuSampler.set = sampler.set; gpuSampler.binding = sampler.binding; gpuSampler.name = sampler.name; - gpuSampler.type = sampler.type; gpuSampler.count = sampler.count; gpuSampler.glType = MapGLType(gpuSampler.type); gpuSampler.glLoc = -1; @@ -1106,6 +1105,8 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { const BindingMappingInfo &bindingMappingInfo = device->bindingMappingInfo(); unordered_map &texUnitCacheMap = device->stateCache()->texUnitCacheMap; + // sampler bindings in the flexible set comes strictly after buffer bindings + // so we need to subtract the buffer count for these samplers uint flexibleSetBaseOffset = 0u; for (uint i = 0u; i < gpuShader->blocks.size(); i++) { if (gpuShader->blocks[i].set == bindingMappingInfo.flexibleSet) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 44395524a0..6bf73fbda9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -26,7 +26,6 @@ THE SOFTWARE. #include "GLES2Context.h" #include "GLES2Device.h" #include "GLES2GPUObjects.h" -#include "gles2w.h" #if (CC_PLATFORM == CC_PLATFORM_ANDROID) #include "android/native_window.h" @@ -108,6 +107,10 @@ bool GLES2Context::initialize(const ContextInfo &info) { ////////////////////////////////////////////////////////////////////////// + if (!gles2wInit()) { + return false; + } + if (!info.sharedCtx) { _isPrimaryContex = true; _windowHandle = info.windowHandle; @@ -143,10 +146,6 @@ bool GLES2Context::initialize(const ContextInfo &info) { // rather than any other API (such as OpenVG). EGL_CHECK(eglBindAPI(EGL_OPENGL_ES_API)); - if (!gles2wInit()) { - return false; - } - _colorFmt = Format::RGBA8; _depthStencilFmt = Format::D24S8; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.h b/native/cocos/renderer/gfx-gles2/GLES2Context.h index 24985d31e9..db58fe2a62 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.h @@ -24,32 +24,7 @@ THE SOFTWARE. #ifndef CC_GFXGLES2_EGL_CONTEXT_H_ #define CC_GFXGLES2_EGL_CONTEXT_H_ -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #ifdef __OBJC__ - #include - #endif -#else - #include - #include - #include -#endif - -#ifndef EGL_KHR_create_context - #define EGL_KHR_create_context 1 - #define EGL_CONTEXT_MAJOR_VERSION_KHR EGL_CONTEXT_CLIENT_VERSION - #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB - #define EGL_CONTEXT_FLAGS_KHR 0x30FC - #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD - #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD - #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE - #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF - #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 - #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 - #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 - #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 - #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 - #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 -#endif +#include "gles2w.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index cde49b10cd..8f5e450d10 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -90,7 +90,7 @@ void GLES2DescriptorSet::update() { _gpuDescriptorSet->gpuDescriptors[i].gpuBufferView = buffer->gpuBufferView(); } } - } else if (descriptors[i].type & DESCRIPTOR_SAMPLER_TYPE) { + } else if (descriptors[i].type & DESCRIPTOR_TEXTURE_TYPE) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = ((GLES2Texture *)_textures[i])->gpuTexture(); } diff --git a/native/cocos/renderer/gfx-gles2/gles2w.cpp b/native/cocos/renderer/gfx-gles2/gles2w.cpp index 3746272d05..34ee44bbd9 100644 --- a/native/cocos/renderer/gfx-gles2/gles2w.cpp +++ b/native/cocos/renderer/gfx-gles2/gles2w.cpp @@ -38,91 +38,21 @@ static bool open_libgl(void) { static void *get_egl_proc(const char *proc) { void *res = nullptr; - if (eglGetProcAddress) res = eglGetProcAddress(proc); + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); if (!res) res = (void *)GetProcAddress(libegl, proc); return res; } static void *get_gles_proc(const char *proc) { - void *res = eglGetProcAddress(proc); + void *res = (void *)eglGetProcAddress(proc); if (!res) res = (void *)GetProcAddress(libgles, proc); return res; } -#elif defined(__APPLE__) || defined(__APPLE_CC__) - #import - #import - #import - #import - #import - -// Routine to run a system command and retrieve the output. -// From http://stackoverflow.com/questions/478898/how-to-execute-a-command-and-get-output-of-command-within-c -std::string ES2_EXEC(const char *cmd) { - FILE *pipe = popen(cmd, "r"); - if (!pipe) return "ERROR"; - char buffer[128]; - std::string result = ""; - while (!feof(pipe)) { - if (fgets(buffer, 128, pipe) != NULL) - result += buffer; - } - pclose(pipe); - return result; -} - -static CFBundleRef g_es2Bundle; -static CFURLRef g_es2BundleURL; - -static bool open_libgl(void) { - CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); - NSString *sysVersion = [UIDevice currentDevice].systemVersion; - NSArray *sysVersionComponents = [sysVersion componentsSeparatedByString:@"."]; - //BOOL isSimulator = ([[UIDevice currentDevice].model rangeOfString:@"Simulator"].location != NSNotFound); - - #if TARGET_IPHONE_SIMULATOR - bool isSimulator = true; - #else - bool isSimulator = false; - #endif - if (isSimulator) { - // Ask where Xcode is installed - std::string xcodePath = "/Applications/Xcode.app/Contents/Developer\n"; - - // The result contains an end line character. Remove it. - size_t pos = xcodePath.find("\n"); - xcodePath.erase(pos); - - char tempPath[PATH_MAX]; - sprintf(tempPath, - "%s/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator%s.%s.sdk/System/Library/Frameworks/OpenGLES.framework", - xcodePath.c_str(), - [[sysVersionComponents objectAtIndex:0] cStringUsingEncoding:NSUTF8StringEncoding], - [[sysVersionComponents objectAtIndex:1] cStringUsingEncoding:NSUTF8StringEncoding]); - frameworkPath = CFStringCreateWithCString(kCFAllocatorDefault, tempPath, kCFStringEncodingUTF8); - } - - g_es2BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - frameworkPath, - kCFURLPOSIXPathStyle, true); - - CFRelease(frameworkPath); - - g_es2Bundle = CFBundleCreate(kCFAllocatorDefault, g_es2BundleURL); - - return (g_es2Bundle != NULL); -} - -static void *get_gles_proc(const char *proc) { - void *res; - - CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, - kCFStringEncodingASCII); - res = CFBundleGetFunctionPointerForName(g_es2Bundle, procname); - CFRelease(procname); - return res; -} #elif defined(__EMSCRIPTEN__) static void open_libgl() {} +static void *get_egl_proc(const char *proc) { + return (void *)eglGetProcAddress(proc); +} static void *get_gles_proc(const char *proc) { return (void *)eglGetProcAddress(proc); } @@ -140,13 +70,13 @@ static bool open_libgl(void) { static void *get_egl_proc(const char *proc) { void *res = nullptr; - if (eglGetProcAddress) res = eglGetProcAddress(proc); + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); if (!res) res = dlsym(libegl, proc); return res; } static void *get_gles_proc(const char *proc) { - void *res = eglGetProcAddress(proc); + void *res = (void *)eglGetProcAddress(proc); if (!res) res = dlsym(libgles, proc); return res; } @@ -178,6 +108,7 @@ PFNEGLQUERYSTRINGPROC eglQueryString; PFNEGLSWAPBUFFERSPROC eglSwapBuffers; PFNEGLSWAPINTERVALPROC eglSwapInterval; PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; PFNGLACTIVETEXTUREPROC glActiveTexture; PFNGLATTACHSHADERPROC glAttachShader; @@ -498,6 +429,7 @@ static void load_procs(void) { eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)get_egl_proc("eglSwapBuffers"); eglSwapInterval = (PFNEGLSWAPINTERVALPROC)get_egl_proc("eglSwapInterval"); eglBindAPI = (PFNEGLBINDAPIPROC)get_egl_proc("eglBindAPI"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)get_egl_proc("eglGetConfigAttrib"); glActiveTexture = (PFNGLACTIVETEXTUREPROC)get_gles_proc("glActiveTexture"); glAttachShader = (PFNGLATTACHSHADERPROC)get_gles_proc("glAttachShader"); diff --git a/native/cocos/renderer/gfx-gles2/gles2w.h b/native/cocos/renderer/gfx-gles2/gles2w.h index f8fd2c0eaa..67431e326f 100755 --- a/native/cocos/renderer/gfx-gles2/gles2w.h +++ b/native/cocos/renderer/gfx-gles2/gles2w.h @@ -61,6 +61,7 @@ THE SOFTWARE. bool gles2wInit(); /* egl api */ +extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; extern PFNEGLCREATECONTEXTPROC eglCreateContext; extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; @@ -74,7 +75,7 @@ extern PFNEGLQUERYSTRINGPROC eglQueryString; extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; extern PFNEGLSWAPINTERVALPROC eglSwapInterval; extern PFNEGLBINDAPIPROC eglBindAPI; -extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; +extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; /* gles api */ extern PFNGLACTIVETEXTUREPROC glActiveTexture; diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index 390243110f..81e07e9e4e 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -40,7 +40,7 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) endif() if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/gles3w.c") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/gles3w.cpp") else() list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/gles3w.mm") endif() diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 961565a83d..fe9511f0bc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -605,6 +605,12 @@ const GLenum GLES3_FILTERS[] = { GL_LINEAR, GL_NONE, }; + +const GLenum GL_MEMORY_ACCESS[] = { + GL_READ_ONLY, + GL_WRITE_ONLY, + GL_READ_WRITE, +}; } // namespace void MapGLBarriers(const AccessType *list, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { @@ -1205,149 +1211,125 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { gpuInput.glType = glType; } - // create uniform blocks + // create buffers GLint blockCount; GL_CHECK(glGetProgramiv(gpuShader->glProgram, GL_ACTIVE_UNIFORM_BLOCKS, &blockCount)); - uint bufferCount = gpuShader->buffers.size(); // no way to extract storage buffer infos out of GL programs - gpuShader->glBlocks.resize(blockCount + bufferCount); - - if (blockCount) { - GLint glBlockSize = 0; - GLint glBlockUniforms = 0; - uint32_t blockIdx = 0; - - for (GLint i = 0; i < blockCount; ++i) { - GLES3GPUUniformBlock &gpuBlock = gpuShader->glBlocks[i]; - memset(glName, 0, sizeof(glName)); - GL_CHECK(glGetActiveUniformBlockName(gpuShader->glProgram, i, 255, &glLength, glName)); - - char *offset = strchr(glName, '['); - if (offset) { - glName[offset - glName] = '\0'; - } - - gpuBlock.name = glName; - gpuBlock.binding = GFX_INVALID_BINDING; - for (size_t b = 0; b < gpuShader->blocks.size(); ++b) { - UniformBlock &block = gpuShader->blocks[b]; - if (block.name == gpuBlock.name) { - gpuBlock.set = block.set; - gpuBlock.binding = block.binding; - gpuBlock.glBinding = block.binding + device->bindingMappingInfo().bufferOffsets[block.set]; - break; - } - } - - if (gpuBlock.binding != GFX_INVALID_BINDING) { - blockIdx = i; - - GL_CHECK(glUniformBlockBinding(gpuShader->glProgram, blockIdx, gpuBlock.glBinding)); - - GL_CHECK(glGetActiveUniformBlockiv(gpuShader->glProgram, i, GL_UNIFORM_BLOCK_DATA_SIZE, &glBlockSize)); - GL_CHECK(glGetActiveUniformBlockiv(gpuShader->glProgram, i, GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS, &glBlockUniforms)); - GL_CHECK(glUniformBlockBinding(gpuShader->glProgram, blockIdx, gpuBlock.glBinding)); - - gpuBlock.size = glBlockSize; - gpuBlock.glUniforms.resize(glBlockUniforms); - - vector indices(glBlockUniforms); - GL_CHECK(glGetActiveUniformBlockiv(gpuShader->glProgram, i, GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, &indices[0])); - // vector sizes(glBlockUniforms); - // GL_CHECK(glGetActiveUniformsiv(gpuShader->glProgram, glBlockUniforms, (const GLuint*)indices.data(), GL_UNIFORM_SIZE, &sizes[0])); - vector offsets(glBlockUniforms); - GL_CHECK(glGetActiveUniformsiv(gpuShader->glProgram, glBlockUniforms, (const GLuint *)indices.data(), GL_UNIFORM_OFFSET, &offsets[0])); - - for (GLint u = 0; u < glBlockUniforms; ++u) { - GLES3GPUUniform &uniform = gpuBlock.glUniforms[u]; - - GLint idx = indices[u]; - memset(glName, 0, sizeof(glName)); - GL_CHECK(glGetActiveUniform(gpuShader->glProgram, idx, 255, &glLength, &glSize, &glType, glName)); - offset = strchr(glName, '['); - if (offset) { - glName[offset - glName] = '\0'; - } - - uniform.binding = GFX_INVALID_BINDING; - uniform.name = glName; - uniform.type = MapType(glType); - uniform.stride = GFX_TYPE_SIZES[(int)uniform.type]; - uniform.count = glSize; - uniform.size = uniform.stride * uniform.count; - uniform.offset = offsets[u]; - uniform.glType = glType; - uniform.glLoc = -1; - } - } // if - } - } // if - - // create shader storage buffers - for (size_t b = 0; b < bufferCount; ++b) { - StorageBuffer &buffer = gpuShader->buffers[b]; - GLES3GPUUniformBlock &gpuBlock = gpuShader->glBlocks[blockCount + b]; - gpuBlock.set = buffer.set; - gpuBlock.binding = buffer.binding; - gpuBlock.glBinding = buffer.binding + device->bindingMappingInfo().bufferOffsets[buffer.set]; - gpuBlock.isStorage = true; + GLint bufferCount = 0; + if (device->getMinorVersion() > 0) { + GL_CHECK(glGetProgramInterfaceiv(gpuShader->glProgram, GL_SHADER_STORAGE_BLOCK, GL_ACTIVE_RESOURCES, &bufferCount)); } - // create uniform samplers - if (gpuShader->samplers.size()) { - gpuShader->glSamplers.resize(gpuShader->samplers.size()); + gpuShader->glBuffers.resize(blockCount + bufferCount); - for (size_t i = 0; i < gpuShader->glSamplers.size(); ++i) { - UniformSampler &sampler = gpuShader->samplers[i]; - GLES3GPUUniformSampler &gpuSampler = gpuShader->glSamplers[i]; - gpuSampler.set = sampler.set; - gpuSampler.binding = sampler.binding; - gpuSampler.name = sampler.name; - gpuSampler.type = sampler.type; - gpuSampler.count = sampler.count; - gpuSampler.uniformType = sampler.uniformType; - gpuSampler.glType = MapGLType(gpuSampler.type); - gpuSampler.glLoc = -1; + for (GLint i = 0; i < blockCount; ++i) { + GLES3GPUUniformBuffer &glBlock = gpuShader->glBuffers[i]; + memset(glName, 0, sizeof(glName)); + GL_CHECK(glGetActiveUniformBlockName(gpuShader->glProgram, i, 255, &glLength, glName)); + + char *offset = strchr(glName, '['); + if (offset) { + glName[offset - glName] = '\0'; + } + + glBlock.name = glName; + glBlock.set = GFX_INVALID_BINDING; + glBlock.binding = GFX_INVALID_BINDING; + for (size_t b = 0; b < gpuShader->blocks.size(); ++b) { + UniformBlock &block = gpuShader->blocks[b]; + if (block.name == glBlock.name) { + glBlock.set = block.set; + glBlock.binding = block.binding; + glBlock.glBinding = block.binding + device->bindingMappingInfo().bufferOffsets[block.set]; + GL_CHECK(glUniformBlockBinding(gpuShader->glProgram, i, glBlock.glBinding)); + break; + } + } + } + + for (GLint i = 0; i < bufferCount; ++i) { + GLES3GPUUniformBuffer &glBuffer = gpuShader->glBuffers[blockCount + i]; + memset(glName, 0, sizeof(glName)); + GL_CHECK(glGetProgramResourceName(gpuShader->glProgram, GL_SHADER_STORAGE_BLOCK, i, 255, &glLength, glName)); + + char *offset = strchr(glName, '['); + if (offset) { + glName[offset - glName] = '\0'; + } + + glBuffer.name = glName; + glBuffer.set = GFX_INVALID_BINDING; + glBuffer.binding = GFX_INVALID_BINDING; + glBuffer.isStorage = true; + for (size_t b = 0; b < gpuShader->blocks.size(); ++b) { + UniformStorageBuffer &buffer = gpuShader->buffers[b]; + if (buffer.name == glBuffer.name) { + glBuffer.set = buffer.set; + glBuffer.binding = buffer.binding; + + // no way to specify SSBO bindings here until 4.3 core + GLenum prop = GL_BUFFER_BINDING; + GL_CHECK(glGetProgramResourceiv(gpuShader->glProgram, GL_SHADER_STORAGE_BLOCK, i, 1, &prop, 1, nullptr, (GLint *)&glBuffer.glBinding)); + break; + } + } + } + + // create uniform sampler textures + if (gpuShader->samplerTextures.size()) { + gpuShader->glSamplerTextures.resize(gpuShader->samplerTextures.size()); + + for (size_t i = 0; i < gpuShader->glSamplerTextures.size(); ++i) { + UniformSamplerTexture &samplerTexture = gpuShader->samplerTextures[i]; + GLES3GPUUniformSamplerTexture &gpuSamplerTexture = gpuShader->glSamplerTextures[i]; + gpuSamplerTexture.set = samplerTexture.set; + gpuSamplerTexture.binding = samplerTexture.binding; + gpuSamplerTexture.name = samplerTexture.name; + gpuSamplerTexture.type = samplerTexture.type; + gpuSamplerTexture.count = samplerTexture.count; + gpuSamplerTexture.glType = MapGLType(gpuSamplerTexture.type); + gpuSamplerTexture.glLoc = -1; } } // texture unit index mapping optimization - vector glActiveSamplers; + vector glActiveSamplerTextures; vector glActiveSamplerLocations; const BindingMappingInfo &bindingMappingInfo = device->bindingMappingInfo(); unordered_map &texUnitCacheMap = device->stateCache()->texUnitCacheMap; + // sampler bindings in the flexible set comes strictly after buffer bindings + // so we need to subtract the buffer count for these samplers uint flexibleSetBaseOffset = 0u; - for (UniformBlock &block : gpuShader->blocks) { - if (block.set == bindingMappingInfo.flexibleSet) { + for (GLES3GPUUniformBuffer &buffer : gpuShader->glBuffers) { + if (buffer.set == bindingMappingInfo.flexibleSet) { flexibleSetBaseOffset++; } } uint arrayOffset = 0u; - for (uint i = 0u; i < gpuShader->samplers.size(); i++) { - const UniformSampler &sampler = gpuShader->samplers[i]; - GLint glLoc = 0; - GL_CHECK(glLoc = glGetUniformLocation(gpuShader->glProgram, sampler.name.c_str())); + for (uint i = 0u; i < gpuShader->samplerTextures.size(); i++) { + const UniformSamplerTexture &samplerTexture = gpuShader->samplerTextures[i]; + GLint glLoc = -1; + GL_CHECK(glLoc = glGetUniformLocation(gpuShader->glProgram, samplerTexture.name.c_str())); if (glLoc >= 0) { - glActiveSamplers.push_back(gpuShader->glSamplers[i]); + glActiveSamplerTextures.push_back(gpuShader->glSamplerTextures[i]); glActiveSamplerLocations.push_back(glLoc); } - if (sampler.uniformType == UniformSamplerType::STORAGE_IMAGE) continue; - if (texUnitCacheMap.count(sampler.name) == 0u) { - uint binding = sampler.binding + bindingMappingInfo.samplerOffsets[sampler.set] + arrayOffset; - if (sampler.set == bindingMappingInfo.flexibleSet) binding -= flexibleSetBaseOffset; - texUnitCacheMap[sampler.name] = binding % device->getCapabilities().maxTextureUnits; - arrayOffset += sampler.count - 1; + if (texUnitCacheMap.count(samplerTexture.name) == 0u) { + uint binding = samplerTexture.binding + bindingMappingInfo.samplerOffsets[samplerTexture.set] + arrayOffset; + if (samplerTexture.set == bindingMappingInfo.flexibleSet) binding -= flexibleSetBaseOffset; + texUnitCacheMap[samplerTexture.name] = binding % device->getCapabilities().maxTextureUnits; + arrayOffset += samplerTexture.count - 1; } } - if (!glActiveSamplers.empty()) { + if (!glActiveSamplerTextures.empty()) { vector usedTexUnits(device->getCapabilities().maxTextureUnits, false); // try to reuse existing mappings first - for (uint i = 0u; i < glActiveSamplers.size(); i++) { - GLES3GPUUniformSampler &glSampler = glActiveSamplers[i]; + for (uint i = 0u; i < glActiveSamplerTextures.size(); i++) { + GLES3GPUUniformSamplerTexture &glSampler = glActiveSamplerTextures[i]; if (texUnitCacheMap.count(glSampler.name) != 0u) { uint cachedUnit = texUnitCacheMap[glSampler.name]; @@ -1363,26 +1345,20 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } // fill in the rest sequencially uint unitIdx = 0u; - for (uint i = 0u; i < glActiveSamplers.size(); i++) { - GLES3GPUUniformSampler &glSampler = glActiveSamplers[i]; + for (uint i = 0u; i < glActiveSamplerTextures.size(); i++) { + GLES3GPUUniformSamplerTexture &glSampler = glActiveSamplerTextures[i]; if (glSampler.glLoc < 0) { glSampler.glLoc = glActiveSamplerLocations[i]; - // storage image units are immutable - if (glSampler.uniformType == UniformSamplerType::STORAGE_IMAGE) { - glSampler.units.resize(glSampler.count); - GL_CHECK(glGetUniformiv(gpuShader->glProgram, glSampler.glLoc, glSampler.units.data())); - } else { - for (uint t = 0u; t < glSampler.count; t++) { - while (usedTexUnits[unitIdx]) { - unitIdx = (unitIdx + 1) % device->getCapabilities().maxTextureUnits; - } - if (texUnitCacheMap.count(glSampler.name) == 0u) { - texUnitCacheMap[glSampler.name] = unitIdx; - } - glSampler.units.push_back(unitIdx); - usedTexUnits[unitIdx] = true; + for (uint t = 0u; t < glSampler.count; t++) { + while (usedTexUnits[unitIdx]) { + unitIdx = (unitIdx + 1) % device->getCapabilities().maxTextureUnits; } + if (texUnitCacheMap.count(glSampler.name) == 0u) { + texUnitCacheMap[glSampler.name] = unitIdx; + } + glSampler.units.push_back(unitIdx); + usedTexUnits[unitIdx] = true; } } } @@ -1391,18 +1367,38 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(glUseProgram(gpuShader->glProgram)); } - for (GLES3GPUUniformSampler &gpuSampler : glActiveSamplers) { - if (gpuSampler.uniformType == UniformSamplerType::STORAGE_IMAGE) continue; - GL_CHECK(glUniform1iv(gpuSampler.glLoc, (GLsizei)gpuSampler.units.size(), gpuSampler.units.data())); + for (GLES3GPUUniformSamplerTexture &gpuSamplerTexture : glActiveSamplerTextures) { + GL_CHECK(glUniform1iv(gpuSamplerTexture.glLoc, (GLsizei)gpuSamplerTexture.units.size(), gpuSamplerTexture.units.data())); } if (device->stateCache()->glProgram != gpuShader->glProgram) { GL_CHECK(glUseProgram(device->stateCache()->glProgram)); } } + gpuShader->glSamplerTextures = glActiveSamplerTextures; - // strip out the inactive ones - gpuShader->glSamplers = glActiveSamplers; + // create uniform storage images + if (gpuShader->images.size()) { + for (size_t i = 0; i < gpuShader->images.size(); ++i) { + UniformStorageImage &image = gpuShader->images[i]; + GLint glLoc = -1; + GL_CHECK(glLoc = glGetUniformLocation(gpuShader->glProgram, image.name.c_str())); + if (glLoc >= 0) { + GLES3GPUUniformStorageImage gpuImage; + gpuImage.set = image.set; + gpuImage.binding = image.binding; + gpuImage.name = image.name; + gpuImage.type = image.type; + gpuImage.count = image.count; + gpuImage.glMemoryAccess = GL_MEMORY_ACCESS[(uint)image.memoryAccess]; + gpuImage.units.resize(gpuImage.count); + gpuImage.glLoc = glLoc; + // storage image units are immutable + GL_CHECK(glGetUniformiv(gpuShader->glProgram, gpuImage.glLoc, gpuImage.units.data())); + gpuShader->glImages.push_back(gpuImage); + } + } + } } void GLES3CmdFuncDestroyShader(GLES3Device *device, GLES3GPUShader *gpuShader) { @@ -1982,96 +1978,117 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli // bind descriptor sets if (gpuPipelineState && gpuPipelineState->gpuShader && gpuPipelineState->gpuPipelineLayout) { - size_t blockLen = gpuPipelineState->gpuShader->glBlocks.size(); const vector> &dynamicOffsetIndices = gpuPipelineState->gpuPipelineLayout->dynamicOffsetIndices; - for (size_t j = 0; j < blockLen; j++) { - const GLES3GPUUniformBlock &glBlock = gpuPipelineState->gpuShader->glBlocks[j]; + size_t bufferLen = gpuPipelineState->gpuShader->glBuffers.size(); + for (size_t j = 0; j < bufferLen; j++) { + const GLES3GPUUniformBuffer &glBuffer = gpuPipelineState->gpuShader->glBuffers[j]; - CCASSERT(gpuDescriptorSets.size() > glBlock.set, "Invalid set index"); - const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glBlock.set]; - const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glBlock.binding); + CCASSERT(gpuDescriptorSets.size() > glBuffer.set, "Invalid set index"); + const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glBuffer.set]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glBuffer.binding); const GLES3GPUDescriptor &gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; if (!gpuDescriptor.gpuBuffer) { CC_LOG_ERROR("Buffer binding '%s' at set %d binding %d is not bounded", - glBlock.name.c_str(), glBlock.set, glBlock.binding); + glBuffer.name.c_str(), glBuffer.set, glBuffer.binding); continue; } uint offset = gpuDescriptor.gpuBuffer->glOffset; - const vector &dynamicOffsetSetIndices = dynamicOffsetIndices[glBlock.set]; - int dynamicOffsetIndex = glBlock.binding < dynamicOffsetSetIndices.size() ? dynamicOffsetSetIndices[glBlock.binding] : -1; + const vector &dynamicOffsetSetIndices = dynamicOffsetIndices[glBuffer.set]; + int dynamicOffsetIndex = glBuffer.binding < dynamicOffsetSetIndices.size() ? dynamicOffsetSetIndices[glBuffer.binding] : -1; if (dynamicOffsetIndex >= 0) offset += dynamicOffsets[dynamicOffsetIndex]; - if (glBlock.isStorage) { - if (cache->glBindSSBOs[glBlock.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || - cache->glBindSSBOOffsets[glBlock.glBinding] != offset) { + if (glBuffer.isStorage) { + if (cache->glBindSSBOs[glBuffer.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || + cache->glBindSSBOOffsets[glBuffer.glBinding] != offset) { if (offset) { - GL_CHECK(glBindBufferRange(GL_SHADER_STORAGE_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, + GL_CHECK(glBindBufferRange(GL_SHADER_STORAGE_BUFFER, glBuffer.glBinding, gpuDescriptor.gpuBuffer->glBuffer, offset, gpuDescriptor.gpuBuffer->size)); } else { - GL_CHECK(glBindBufferBase(GL_SHADER_STORAGE_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); + GL_CHECK(glBindBufferBase(GL_SHADER_STORAGE_BUFFER, glBuffer.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); } - cache->glShaderStorageBuffer = cache->glBindSSBOs[glBlock.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; - cache->glBindSSBOOffsets[glBlock.glBinding] = offset; + cache->glShaderStorageBuffer = cache->glBindSSBOs[glBuffer.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; + cache->glBindSSBOOffsets[glBuffer.glBinding] = offset; } } else { - if (cache->glBindUBOs[glBlock.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || - cache->glBindUBOOffsets[glBlock.glBinding] != offset) { + if (cache->glBindUBOs[glBuffer.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || + cache->glBindUBOOffsets[glBuffer.glBinding] != offset) { if (offset) { - GL_CHECK(glBindBufferRange(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer, + GL_CHECK(glBindBufferRange(GL_UNIFORM_BUFFER, glBuffer.glBinding, gpuDescriptor.gpuBuffer->glBuffer, offset, gpuDescriptor.gpuBuffer->size)); } else { - GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBlock.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); + GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBuffer.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); } - cache->glUniformBuffer = cache->glBindUBOs[glBlock.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; - cache->glBindUBOOffsets[glBlock.glBinding] = offset; + cache->glUniformBuffer = cache->glBindUBOs[glBuffer.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; + cache->glBindUBOOffsets[glBuffer.glBinding] = offset; } } } - size_t samplerLen = gpuPipelineState->gpuShader->glSamplers.size(); - for (size_t j = 0; j < samplerLen; j++) { - const GLES3GPUUniformSampler &glSampler = gpuPipelineState->gpuShader->glSamplers[j]; + size_t samplerTextureLen = gpuPipelineState->gpuShader->glSamplerTextures.size(); + for (size_t j = 0; j < samplerTextureLen; j++) { + const GLES3GPUUniformSamplerTexture &glSamplerTexture = gpuPipelineState->gpuShader->glSamplerTextures[j]; - CCASSERT(gpuDescriptorSets.size() > glSampler.set, "Invalid set index"); - const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glSampler.set]; - const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSampler.binding); + CCASSERT(gpuDescriptorSets.size() > glSamplerTexture.set, "Invalid set index"); + const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glSamplerTexture.set]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSamplerTexture.binding); const GLES3GPUDescriptor *gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; - bool isStorage = glSampler.uniformType == UniformSamplerType::STORAGE_IMAGE; - for (size_t u = 0; u < glSampler.units.size(); u++, gpuDescriptor++) { - uint unit = (uint)glSampler.units[u]; + for (size_t u = 0; u < glSamplerTexture.units.size(); u++, gpuDescriptor++) { + uint unit = (uint)glSamplerTexture.units[u]; - if (!gpuDescriptor->gpuTexture || (!isStorage && !gpuDescriptor->gpuSampler)) { - CC_LOG_ERROR("Sampler binding '%s' at set %d binding %d index %d is not bounded", - glSampler.name.c_str(), glSampler.set, glSampler.binding, u); + if (!gpuDescriptor->gpuTexture || !gpuDescriptor->gpuSampler) { + CC_LOG_ERROR("Sampler texture '%s' at binding %d set %d index %d is not bounded", + glSamplerTexture.name.c_str(), glSamplerTexture.set, glSamplerTexture.binding, u); continue; } if (gpuDescriptor->gpuTexture->size > 0) { GLuint glTexture = gpuDescriptor->gpuTexture->glTexture; - if (isStorage) { - if (cache->glImages[unit] != glTexture) { - GL_CHECK(glBindImageTexture(unit, glTexture, 0, GL_TRUE, 0, GL_READ_WRITE, gpuDescriptor->gpuTexture->glInternelFmt)); - } - } else { - if (cache->glTextures[unit] != glTexture) { - if (cache->texUint != unit) { - GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); - cache->texUint = unit; - } - GL_CHECK(glBindTexture(gpuDescriptor->gpuTexture->glTarget, glTexture)); - cache->glTextures[unit] = glTexture; + if (cache->glTextures[unit] != glTexture) { + if (cache->texUint != unit) { + GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); + cache->texUint = unit; } + GL_CHECK(glBindTexture(gpuDescriptor->gpuTexture->glTarget, glTexture)); + cache->glTextures[unit] = glTexture; + } - if (cache->glSamplers[unit] != gpuDescriptor->gpuSampler->glSampler) { - GL_CHECK(glBindSampler(unit, gpuDescriptor->gpuSampler->glSampler)); - cache->glSamplers[unit] = gpuDescriptor->gpuSampler->glSampler; - } + if (cache->glSamplers[unit] != gpuDescriptor->gpuSampler->glSampler) { + GL_CHECK(glBindSampler(unit, gpuDescriptor->gpuSampler->glSampler)); + cache->glSamplers[unit] = gpuDescriptor->gpuSampler->glSampler; + } + } + } + } + + size_t imageLen = gpuPipelineState->gpuShader->glImages.size(); + for (size_t j = 0; j < imageLen; j++) { + const GLES3GPUUniformStorageImage &glImage = gpuPipelineState->gpuShader->glImages[j]; + + CCASSERT(gpuDescriptorSets.size() > glImage.set, "Invalid set index"); + const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glImage.set]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glImage.binding); + const GLES3GPUDescriptor *gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; + + for (size_t u = 0; u < glImage.units.size(); u++, gpuDescriptor++) { + uint unit = (uint)glImage.units[u]; + + if (!gpuDescriptor->gpuTexture) { + CC_LOG_ERROR("Storage image '%s' at binding %d set %d index %d is not bounded", + glImage.name.c_str(), glImage.set, glImage.binding, u); + continue; + } + + if (gpuDescriptor->gpuTexture->size > 0) { + GLuint glTexture = gpuDescriptor->gpuTexture->glTexture; + + if (cache->glImages[unit] != glTexture) { + GL_CHECK(glBindImageTexture(unit, glTexture, 0, GL_TRUE, 0, glImage.glMemoryAccess, gpuDescriptor->gpuTexture->glInternelFmt)); } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 3e5606e81c..574c2ffbc8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -26,7 +26,6 @@ THE SOFTWARE. #include "GLES3Context.h" #include "GLES3Device.h" #include "GLES3GPUObjects.h" -#include "gles3w.h" #if (CC_PLATFORM == CC_PLATFORM_ANDROID) #include "android/native_window.h" @@ -103,6 +102,10 @@ bool GLES3Context::initialize(const ContextInfo &info) { ////////////////////////////////////////////////////////////////////////// + if (!gles3wInit()) { + return false; + } + if (!info.sharedCtx) { _isPrimaryContex = true; _windowHandle = info.windowHandle; @@ -133,15 +136,11 @@ bool GLES3Context::initialize(const ContextInfo &info) { return false; } - // Make OpenGL ES the current API. - // EGL needs a way to know that any subsequent EGL calls are going to be affecting OpenGL ES, - // rather than any other API (such as OpenVG). + // Make OpenGL ES the current API. + // EGL needs a way to know that any subsequent EGL calls are going to be affecting OpenGL ES, + // rather than any other API (such as OpenVG). EGL_CHECK(eglBindAPI(EGL_OPENGL_ES_API)); - if (!gles3wInit()) { - return false; - } - _colorFmt = Format::RGBA8; _depthStencilFmt = Format::D24S8; @@ -423,7 +422,6 @@ bool GLES3Context::MakeCurrent(bool bound) { GL_CHECK(glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL)); #endif - ////////////////////////////////////////////////////////////////////////// GL_CHECK(glPixelStorei(GL_PACK_ALIGNMENT, 1)); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.h b/native/cocos/renderer/gfx-gles3/GLES3Context.h index 407e012d6a..63cfcb2ddc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.h @@ -24,32 +24,7 @@ THE SOFTWARE. #ifndef CC_GFXGLES3_EGL_CONTEXT_H_ #define CC_GFXGLES3_EGL_CONTEXT_H_ -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #ifdef __OBJC__ - #include - #endif -#else - #include - #include - #include -#endif - -#ifndef EGL_KHR_create_context - #define EGL_KHR_create_context 1 - #define EGL_CONTEXT_MAJOR_VERSION_KHR EGL_CONTEXT_CLIENT_VERSION - #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB - #define EGL_CONTEXT_FLAGS_KHR 0x30FC - #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD - #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD - #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE - #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF - #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 - #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 - #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 - #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 - #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 - #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 -#endif +#include "gles3w.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index e18ffdeba8..9df8235ba9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -85,7 +85,7 @@ void GLES3DescriptorSet::update() { if (_buffers[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuBuffer = ((GLES3Buffer *)_buffers[i])->gpuBuffer(); } - } else if (descriptors[i].type & DESCRIPTOR_SAMPLER_TYPE) { + } else if (descriptors[i].type & DESCRIPTOR_TEXTURE_TYPE) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = ((GLES3Texture *)_textures[i])->gpuTexture(); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index a43bb7a64d..9337493019 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -185,7 +185,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 1, (GLint *)&_caps.maxComputeWorkGroupCount.y); glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 2, (GLint *)&_caps.maxComputeWorkGroupCount.z); - _gpuStateCache->initialize(_caps.maxTextureUnits, _caps.maxTextureUnits, _caps.maxUniformBufferBindings, _caps.maxShaderStorageBufferBindings, _caps.maxVertexAttributes); + _gpuStateCache->initialize(_caps.maxTextureUnits, _caps.maxImageUnits, _caps.maxUniformBufferBindings, _caps.maxShaderStorageBufferBindings, _caps.maxVertexAttributes); return true; } @@ -251,6 +251,8 @@ void GLES3Device::bindDeviceContext(bool bound) { } } +uint GLES3Device::getMinorVersion() const { return ((GLES3Context *)_context)->minor_ver(); } + CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer(this)); return CC_NEW(GLES3CommandBuffer(this)); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 2d532ee2e9..1ff7b43b47 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -73,6 +73,7 @@ public: } CC_INLINE uint getThreadID() const { return _threadID; } + uint getMinorVersion() const; protected: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index b0e5a8028c..13ca410c98 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -115,32 +115,41 @@ struct GLES3GPUUniform final { }; typedef vector GLES3GPUUniformList; -struct GLES3GPUUniformBlock final { +struct GLES3GPUUniformBuffer final { uint set = GFX_INVALID_BINDING; uint binding = GFX_INVALID_BINDING; - uint idx = 0; String name; uint size = 0; - uint glBinding = GFX_INVALID_BINDING; + uint glBinding = 0xffffffff; bool isStorage = false; - GLES3GPUUniformList glUniforms; - GLES3GPUUniformList glActiveUniforms; }; -typedef vector GLES3GPUUniformBlockList; +typedef vector GLES3GPUUniformBufferList; -struct GLES3GPUUniformSampler final { +struct GLES3GPUUniformSamplerTexture final { uint set = 0; uint binding = 0; String name; Type type = Type::UNKNOWN; uint count = 0u; - UniformSamplerType uniformType = UniformSamplerType::COMBINED_IMAGE_SAMPLER; vector units; GLenum glType = 0; GLint glLoc = -1; }; -typedef vector GLES3GPUUniformSamplerList; +typedef vector GLES3GPUUniformSamplerTextureList; + +struct GLES3GPUUniformStorageImage final { + uint set = 0; + uint binding = 0; + String name; + Type type = Type::UNKNOWN; + uint count = 0u; + + vector units; + GLenum glMemoryAccess = GL_READ_WRITE; + GLint glLoc = -1; +}; +typedef vector GLES3GPUUniformStorageImageList; struct GLES3GPUShaderStage final { GLES3GPUShaderStage(ShaderStageFlagBit t, String s, GLuint shader = 0) @@ -155,13 +164,19 @@ class GLES3GPUShader final : public Object { public: String name; UniformBlockList blocks; - StorageBufferList buffers; + UniformStorageBufferList buffers; + UniformSamplerTextureList samplerTextures; UniformSamplerList samplers; - GLuint glProgram = 0; + UniformTextureList textures; + UniformStorageImageList images; + UniformInputAttachmentList subpassInputs; + GLES3GPUShaderStageList gpuStages; + GLuint glProgram = 0; GLES3GPUInputList glInputs; - GLES3GPUUniformBlockList glBlocks; - GLES3GPUUniformSamplerList glSamplers; + GLES3GPUUniformBufferList glBuffers; + GLES3GPUUniformSamplerTextureList glSamplerTextures; + GLES3GPUUniformStorageImageList glImages; }; struct GLES3GPUAttribute final { @@ -397,7 +412,7 @@ public: _map[gpuTexture->glTexture][subres.mipLevel] = glFramebuffer; } - return _map[gpuTexture->glTexture][subres.mipLevel]; + return _map[gpuTexture->glTexture][subres.mipLevel]; } void onTextureDestroy(const GLES3GPUTexture *gpuTexture) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp index 8d7d51e651..ec34b1bb70 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp @@ -41,13 +41,21 @@ bool GLES3Shader::initialize(const ShaderInfo &info) { _attributes = info.attributes; _blocks = info.blocks; _buffers = info.buffers; + _samplerTextures = info.samplerTextures; _samplers = info.samplers; + _textures = info.textures; + _images = info.images; + _subpassInputs = info.subpassInputs; _gpuShader = CC_NEW(GLES3GPUShader); _gpuShader->name = _name; _gpuShader->blocks = _blocks; _gpuShader->buffers = _buffers; + _gpuShader->samplerTextures = _samplerTextures; _gpuShader->samplers = _samplers; + _gpuShader->textures = _textures; + _gpuShader->images = _images; + _gpuShader->subpassInputs = _subpassInputs; for (const auto &stage : _stages) { GLES3GPUShaderStage gpuShaderStage = {stage.stage, stage.source}; _gpuShader->gpuStages.emplace_back(std::move(gpuShaderStage)); diff --git a/native/cocos/renderer/gfx-gles3/gles3w.cpp b/native/cocos/renderer/gfx-gles3/gles3w.cpp index 6d47e91487..57912235d0 100644 --- a/native/cocos/renderer/gfx-gles3/gles3w.cpp +++ b/native/cocos/renderer/gfx-gles3/gles3w.cpp @@ -38,93 +38,21 @@ static bool open_libgl(void) { static void *get_egl_proc(const char *proc) { void *res = nullptr; - if (eglGetProcAddress) res = eglGetProcAddress(proc); + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); if (!res) res = (void *)GetProcAddress(libegl, proc); return res; } static void *get_gles_proc(const char *proc) { - void *res = eglGetProcAddress(proc); + void *res = (void *)eglGetProcAddress(proc); if (!res) res = (void *)GetProcAddress(libgles, proc); return res; } -#elif defined(__APPLE__) || defined(__APPLE_CC__) - #import - #import - #import - #import - #import - #import - -// Routine to run a system command and retrieve the output. -// From http://stackoverflow.com/questions/478898/how-to-execute-a-command-and-get-output-of-command-within-c -std::string ES3_EXEC(const char *cmd) { - FILE *pipe = popen(cmd, "r"); - if (!pipe) return "ERROR"; - char buffer[128]; - std::string result = ""; - while (!feof(pipe)) { - if (fgets(buffer, 128, pipe) != NULL) - result += buffer; - } - pclose(pipe); - return result; -} - -static CFBundleRef g_es3Bundle; -static CFURLRef g_es3BundleURL; - -static bool open_libgl(void) { - CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); - NSString *sysVersion = [UIDevice currentDevice].systemVersion; - NSArray *sysVersionComponents = [sysVersion componentsSeparatedByString:@"."]; - //BOOL isSimulator = ([[UIDevice currentDevice].model rangeOfString:@"Simulator"].location != NSNotFound); - - #if TARGET_IPHONE_SIMULATOR - bool isSimulator = true; - #else - bool isSimulator = false; - #endif - if (isSimulator) { - // Ask where Xcode is installed - std::string xcodePath = "/Applications/Xcode.app/Contents/Developer\n"; - - // The result contains an end line character. Remove it. - size_t pos = xcodePath.find("\n"); - xcodePath.erase(pos); - - char tempPath[PATH_MAX]; - sprintf(tempPath, - "%s/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator%s.%s.sdk/System/Library/Frameworks/OpenGLES.framework", - xcodePath.c_str(), - [[sysVersionComponents objectAtIndex:0] cStringUsingEncoding:NSUTF8StringEncoding], - [[sysVersionComponents objectAtIndex:1] cStringUsingEncoding:NSUTF8StringEncoding]); - frameworkPath = CFStringCreateWithCString(kCFAllocatorDefault, tempPath, kCFStringEncodingUTF8); - } - - g_es3BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - frameworkPath, - kCFURLPOSIXPathStyle, true); - - CFRelease(frameworkPath); - - g_es3Bundle = CFBundleCreate(kCFAllocatorDefault, g_es3BundleURL); - - return (g_es3Bundle != NULL); -} - -static void *get_gles_proc(const char *proc) { - void *res; - - CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, - kCFStringEncodingASCII); - res = CFBundleGetFunctionPointerForName(g_es3Bundle, procname); - CFRelease(procname); - return res; -} #elif defined(__EMSCRIPTEN__) static void open_libgl() {} -static void close_libgl() {} +static void *get_egl_proc(const char *proc) { + return (void *)eglGetProcAddress(proc); +} static void *get_gles_proc(const char *proc) { return (void *)eglGetProcAddress(proc); } @@ -142,13 +70,13 @@ static bool open_libgl(void) { static void *get_egl_proc(const char *proc) { void *res = nullptr; - if (eglGetProcAddress) res = eglGetProcAddress(proc); + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); if (!res) res = dlsym(libegl, proc); return res; } static void *get_gles_proc(const char *proc) { - void *res = eglGetProcAddress(proc); + void *res = (void *)eglGetProcAddress(proc); if (!res) res = dlsym(libgles, proc); return res; } @@ -180,6 +108,7 @@ PFNEGLSWAPBUFFERSPROC eglSwapBuffers; PFNEGLSWAPINTERVALPROC eglSwapInterval; PFNEGLBINDAPIPROC eglBindAPI; PFNEGLGETPROCADDRESSPROC eglGetProcAddress; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; PFNGLACTIVETEXTUREPROC glActiveTexture; PFNGLATTACHSHADERPROC glAttachShader; @@ -498,6 +427,7 @@ static void load_procs(void) { eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)get_egl_proc("eglSwapBuffers"); eglSwapInterval = (PFNEGLSWAPINTERVALPROC)get_egl_proc("eglSwapInterval"); eglBindAPI = (PFNEGLBINDAPIPROC)get_egl_proc("eglBindAPI"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)get_egl_proc("eglGetConfigAttrib"); glActiveTexture = (PFNGLACTIVETEXTUREPROC)get_gles_proc("glActiveTexture"); glAttachShader = (PFNGLATTACHSHADERPROC)get_gles_proc("glAttachShader"); diff --git a/native/cocos/renderer/gfx-gles3/gles3w.h b/native/cocos/renderer/gfx-gles3/gles3w.h index c5a3725c4a..3379dd1fab 100755 --- a/native/cocos/renderer/gfx-gles3/gles3w.h +++ b/native/cocos/renderer/gfx-gles3/gles3w.h @@ -75,6 +75,7 @@ extern PFNEGLQUERYSTRINGPROC eglQueryString; extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; extern PFNEGLSWAPINTERVALPROC eglSwapInterval; extern PFNEGLBINDAPIPROC eglBindAPI; +extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; /* gles api */ extern PFNGLACTIVETEXTUREPROC glActiveTexture; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 5bfe96bca8..cad0eac3df 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -572,7 +572,7 @@ void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL const CCVKGPUDescriptorList &descriptors = _curGPUDescriptorSets[i]->gpuDescriptors; for (size_t j = 0u; j < descriptors.size(); ++j) { - if (descriptors[j].type & DESCRIPTOR_SAMPLER_TYPE) { + if (descriptors[j].type & DESCRIPTOR_TEXTURE_TYPE) { VkImageLayout ¤tLayout = descriptors[j].gpuTextureView->gpuTexture->currentLayout; VkImageLayout expectedLayout = instance.descriptorInfos[j].image.imageLayout; if (currentLayout != expectedLayout) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 313923a12f..e5ccc1f027 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -81,7 +81,7 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { instance.descriptorInfos[k].buffer.buffer = gpuDevice->defaultBuffer.vkBuffer; instance.descriptorInfos[k].buffer.offset = gpuDevice->defaultBuffer.startOffset; instance.descriptorInfos[k].buffer.range = gpuDevice->defaultBuffer.size; - } else if (binding.descriptorType & DESCRIPTOR_SAMPLER_TYPE) { + } else if (binding.descriptorType & DESCRIPTOR_TEXTURE_TYPE) { instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; instance.descriptorInfos[k].image.imageLayout = binding.descriptorType == DescriptorType::STORAGE_IMAGE ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; @@ -195,7 +195,7 @@ void CCVKDescriptorSet::update() { binding.gpuBufferView = bufferView; } } - } else if (binding.type & DESCRIPTOR_SAMPLER_TYPE) { + } else if (binding.type & DESCRIPTOR_TEXTURE_TYPE) { if (_textures[i]) { CCVKGPUTextureView *textureView = ((CCVKTexture *)_textures[i])->gpuTextureView(); if (binding.gpuTextureView != textureView) { diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 0074d8087f..33a25155e9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -37,7 +37,7 @@ THE SOFTWARE. #define BARRIER_DEDUCTION_LEVEL_BASIC 1 #define BARRIER_DEDUCTION_LEVEL_FULL 2 -#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_FULL +#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_BASIC namespace cc { namespace gfx { @@ -432,8 +432,11 @@ VkDescriptorType MapVkDescriptorType(DescriptorType type) { case DescriptorType::UNIFORM_BUFFER: return VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; case DescriptorType::DYNAMIC_STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; case DescriptorType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; - case DescriptorType::SAMPLER: return VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; + case DescriptorType::SAMPLER_TEXTURE: return VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; + case DescriptorType::SAMPLER: return VK_DESCRIPTOR_TYPE_SAMPLER; + case DescriptorType::TEXTURE: return VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; case DescriptorType::STORAGE_IMAGE: return VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; + case DescriptorType::INPUT_ATTACHMENT: return VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; default: { CCASSERT(false, "Unsupported DescriptorType, convert to VkDescriptorType failed."); return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; From 62c79a82995fef7d807b987d3d7dd26f4a475b06 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 18 Jan 2021 23:21:11 +0800 Subject: [PATCH 122/270] gles wrangler generator --- native/cocos/renderer/gfx-gles2/eglw.h | 21 + native/cocos/renderer/gfx-gles2/eglw_auto.cpp | 660 +++++ native/cocos/renderer/gfx-gles2/eglw_auto.h | 332 +++ native/cocos/renderer/gfx-gles2/gles2w.cpp | 696 +---- native/cocos/renderer/gfx-gles2/gles2w.h | 360 +-- .../cocos/renderer/gfx-gles2/gles2w_auto.cpp | 2128 ++++++++++++++ native/cocos/renderer/gfx-gles2/gles2w_auto.h | 1066 +++++++ native/cocos/renderer/gfx-gles3/eglw.h | 21 + native/cocos/renderer/gfx-gles3/eglw_auto.cpp | 660 +++++ native/cocos/renderer/gfx-gles3/eglw_auto.h | 332 +++ native/cocos/renderer/gfx-gles3/gles3w.cpp | 692 +---- native/cocos/renderer/gfx-gles3/gles3w.h | 358 +-- .../cocos/renderer/gfx-gles3/gles3w_auto.cpp | 2616 +++++++++++++++++ native/cocos/renderer/gfx-gles3/gles3w_auto.h | 1310 +++++++++ native/cocos/renderer/gfx-vulkan/VKUtils.h | 53 +- .../tools/gles-wrangler-generator/.gitignore | 3 + .../tools/gles-wrangler-generator/generate.js | 108 + .../gles-wrangler-generator/package-lock.json | 26 + .../gles-wrangler-generator/package.json | 15 + 19 files changed, 9381 insertions(+), 2076 deletions(-) create mode 100644 native/cocos/renderer/gfx-gles2/eglw.h create mode 100644 native/cocos/renderer/gfx-gles2/eglw_auto.cpp create mode 100644 native/cocos/renderer/gfx-gles2/eglw_auto.h create mode 100644 native/cocos/renderer/gfx-gles2/gles2w_auto.cpp create mode 100644 native/cocos/renderer/gfx-gles2/gles2w_auto.h create mode 100644 native/cocos/renderer/gfx-gles3/eglw.h create mode 100644 native/cocos/renderer/gfx-gles3/eglw_auto.cpp create mode 100644 native/cocos/renderer/gfx-gles3/eglw_auto.h create mode 100644 native/cocos/renderer/gfx-gles3/gles3w_auto.cpp create mode 100644 native/cocos/renderer/gfx-gles3/gles3w_auto.h create mode 100644 native/tools/gles-wrangler-generator/.gitignore create mode 100644 native/tools/gles-wrangler-generator/generate.js create mode 100644 native/tools/gles-wrangler-generator/package-lock.json create mode 100644 native/tools/gles-wrangler-generator/package.json diff --git a/native/cocos/renderer/gfx-gles2/eglw.h b/native/cocos/renderer/gfx-gles2/eglw.h new file mode 100644 index 0000000000..0ca7801481 --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/eglw.h @@ -0,0 +1,21 @@ +#pragma once + +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #ifdef __OBJC__ + #include + #endif +#else + #define EGL_EGL_PROTOTYPES 0 + #include + #include + #include +#endif + +#define GL_GLES_PROTOTYPES 0 +#include + +#include +#include +#include + +void *eglwLoad(const char *proc); \ No newline at end of file diff --git a/native/cocos/renderer/gfx-gles2/eglw_auto.cpp b/native/cocos/renderer/gfx-gles2/eglw_auto.cpp new file mode 100644 index 0000000000..abd246591e --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/eglw_auto.cpp @@ -0,0 +1,660 @@ +#include "eglw.h" + +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +PFNEGLGETCONFIGSPROC eglGetConfigs; +PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYCONTEXTPROC eglQueryContext; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLQUERYSURFACEPROC eglQuerySurface; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLTERMINATEPROC eglTerminate; +PFNEGLWAITGLPROC eglWaitGL; +PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLQUERYAPIPROC eglQueryAPI; +PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +PFNEGLRELEASETHREADPROC eglReleaseThread; +PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +PFNEGLCREATESYNCPROC eglCreateSync; +PFNEGLDESTROYSYNCPROC eglDestroySync; +PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +PFNEGLCREATEIMAGEPROC eglCreateImage; +PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +PFNEGLFENCENVPROC eglFenceNV; +PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + +void eglwLoadProcs() { + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)eglwLoad("eglGetProcAddress"); + + /* EGL_VERSION_1_0 */ + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)eglwLoad("eglChooseConfig"); + eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)eglwLoad("eglCopyBuffers"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)eglwLoad("eglCreateContext"); + eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)eglwLoad("eglCreatePbufferSurface"); + eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)eglwLoad("eglCreatePixmapSurface"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)eglwLoad("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)eglwLoad("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)eglwLoad("eglDestroySurface"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)eglwLoad("eglGetConfigAttrib"); + eglGetConfigs = (PFNEGLGETCONFIGSPROC)eglwLoad("eglGetConfigs"); + eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)eglwLoad("eglGetCurrentDisplay"); + eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)eglwLoad("eglGetCurrentSurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)eglwLoad("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)eglwLoad("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)eglwLoad("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)eglwLoad("eglMakeCurrent"); + eglQueryContext = (PFNEGLQUERYCONTEXTPROC)eglwLoad("eglQueryContext"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)eglwLoad("eglQueryString"); + eglQuerySurface = (PFNEGLQUERYSURFACEPROC)eglwLoad("eglQuerySurface"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)eglwLoad("eglSwapBuffers"); + eglTerminate = (PFNEGLTERMINATEPROC)eglwLoad("eglTerminate"); + eglWaitGL = (PFNEGLWAITGLPROC)eglwLoad("eglWaitGL"); + eglWaitNative = (PFNEGLWAITNATIVEPROC)eglwLoad("eglWaitNative"); + + + /* EGL_VERSION_1_1 */ + eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)eglwLoad("eglBindTexImage"); + eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)eglwLoad("eglReleaseTexImage"); + eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)eglwLoad("eglSurfaceAttrib"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)eglwLoad("eglSwapInterval"); + + + /* EGL_VERSION_1_2 */ + eglBindAPI = (PFNEGLBINDAPIPROC)eglwLoad("eglBindAPI"); + eglQueryAPI = (PFNEGLQUERYAPIPROC)eglwLoad("eglQueryAPI"); + eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)eglwLoad("eglCreatePbufferFromClientBuffer"); + eglReleaseThread = (PFNEGLRELEASETHREADPROC)eglwLoad("eglReleaseThread"); + eglWaitClient = (PFNEGLWAITCLIENTPROC)eglwLoad("eglWaitClient"); + + + /* EGL_VERSION_1_3 */ + + /* EGL_VERSION_1_4 */ + eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)eglwLoad("eglGetCurrentContext"); + + + /* EGL_VERSION_1_5 */ + eglCreateSync = (PFNEGLCREATESYNCPROC)eglwLoad("eglCreateSync"); + eglDestroySync = (PFNEGLDESTROYSYNCPROC)eglwLoad("eglDestroySync"); + eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)eglwLoad("eglClientWaitSync"); + eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)eglwLoad("eglGetSyncAttrib"); + + eglCreateImage = (PFNEGLCREATEIMAGEPROC)eglwLoad("eglCreateImage"); + eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)eglwLoad("eglDestroyImage"); + + eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)eglwLoad("eglGetPlatformDisplay"); + eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)eglwLoad("eglCreatePlatformWindowSurface"); + eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)eglwLoad("eglCreatePlatformPixmapSurface"); + + eglWaitSync = (PFNEGLWAITSYNCPROC)eglwLoad("eglWaitSync"); + + +#if defined(EGL_ANDROID_blob_cache) + eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)eglwLoad("eglSetBlobCacheFuncsANDROID"); +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) + eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglCreateNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) + eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglGetNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) + eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)eglwLoad("eglDupNativeFenceFDANDROID"); +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) + eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)eglwLoad("eglPresentationTimeANDROID"); +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) + eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)eglwLoad("eglGetCompositorTimingSupportedANDROID"); + eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)eglwLoad("eglGetCompositorTimingANDROID"); + eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)eglwLoad("eglGetNextFrameIdANDROID"); + eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)eglwLoad("eglGetFrameTimestampSupportedANDROID"); + eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)eglwLoad("eglGetFrameTimestampsANDROID"); +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) + eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)eglwLoad("eglQuerySurfacePointerANGLE"); +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) + eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)eglwLoad("eglClientSignalSyncEXT"); +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) + eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)eglwLoad("eglQueryDeviceAttribEXT"); + eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)eglwLoad("eglQueryDeviceStringEXT"); + eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)eglwLoad("eglQueryDevicesEXT"); + eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)eglwLoad("eglQueryDisplayAttribEXT"); +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) + eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)eglwLoad("eglQueryDmaBufFormatsEXT"); + eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)eglwLoad("eglQueryDmaBufModifiersEXT"); +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) + eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)eglwLoad("eglGetOutputLayersEXT"); + eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)eglwLoad("eglGetOutputPortsEXT"); + eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglOutputLayerAttribEXT"); + eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglQueryOutputLayerAttribEXT"); + eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)eglwLoad("eglQueryOutputLayerStringEXT"); + eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglOutputPortAttribEXT"); + eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglQueryOutputPortAttribEXT"); + eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)eglwLoad("eglQueryOutputPortStringEXT"); +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) + eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)eglwLoad("eglGetPlatformDisplayEXT"); + eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)eglwLoad("eglCreatePlatformWindowSurfaceEXT"); + eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)eglwLoad("eglCreatePlatformPixmapSurfaceEXT"); +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) + eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)eglwLoad("eglStreamConsumerOutputEXT"); +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) + eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)eglwLoad("eglSwapBuffersWithDamageEXT"); +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) + eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)eglwLoad("eglUnsignalSyncEXT"); +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) + eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)eglwLoad("eglCreatePixmapSurfaceHI"); +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) + eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)eglwLoad("eglCreateSync64KHR"); +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) + eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)eglwLoad("eglDebugMessageControlKHR"); + eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)eglwLoad("eglQueryDebugKHR"); + eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)eglwLoad("eglLabelObjectKHR"); +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) + eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)eglwLoad("eglQueryDisplayAttribKHR"); +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) + eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)eglwLoad("eglCreateSyncKHR"); + eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)eglwLoad("eglDestroySyncKHR"); + eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)eglwLoad("eglClientWaitSyncKHR"); + eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)eglwLoad("eglGetSyncAttribKHR"); +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) + eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)eglwLoad("eglCreateImageKHR"); + eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)eglwLoad("eglDestroyImageKHR"); +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) + eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)eglwLoad("eglLockSurfaceKHR"); + eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)eglwLoad("eglUnlockSurfaceKHR"); +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) + eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)eglwLoad("eglQuerySurface64KHR"); +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) + eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)eglwLoad("eglSetDamageRegionKHR"); +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) + eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)eglwLoad("eglSignalSyncKHR"); +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) + eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)eglwLoad("eglCreateStreamKHR"); + eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)eglwLoad("eglDestroyStreamKHR"); + eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)eglwLoad("eglStreamAttribKHR"); + eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)eglwLoad("eglQueryStreamKHR"); + eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)eglwLoad("eglQueryStreamu64KHR"); +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) + eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)eglwLoad("eglCreateStreamAttribKHR"); + eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)eglwLoad("eglSetStreamAttribKHR"); + eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)eglwLoad("eglQueryStreamAttribKHR"); + eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)eglwLoad("eglStreamConsumerAcquireAttribKHR"); + eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)eglwLoad("eglStreamConsumerReleaseAttribKHR"); +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) + eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)eglwLoad("eglStreamConsumerGLTextureExternalKHR"); + eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)eglwLoad("eglStreamConsumerAcquireKHR"); + eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)eglwLoad("eglStreamConsumerReleaseKHR"); +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) + eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)eglwLoad("eglGetStreamFileDescriptorKHR"); + eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)eglwLoad("eglCreateStreamFromFileDescriptorKHR"); +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) + eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)eglwLoad("eglQueryStreamTimeKHR"); +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) + eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)eglwLoad("eglCreateStreamProducerSurfaceKHR"); +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) + eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)eglwLoad("eglSwapBuffersWithDamageKHR"); +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) + eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)eglwLoad("eglWaitSyncKHR"); +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) + eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)eglwLoad("eglCreateDRMImageMESA"); + eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)eglwLoad("eglExportDRMImageMESA"); +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) + eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)eglwLoad("eglExportDMABUFImageQueryMESA"); + eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)eglwLoad("eglExportDMABUFImageMESA"); +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) + eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)eglwLoad("eglGetDisplayDriverConfig"); + eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)eglwLoad("eglGetDisplayDriverName"); +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) + eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)eglwLoad("eglSwapBuffersRegionNOK"); +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) + eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)eglwLoad("eglSwapBuffersRegion2NOK"); +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) + eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)eglwLoad("eglQueryNativeDisplayNV"); + eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)eglwLoad("eglQueryNativeWindowNV"); + eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)eglwLoad("eglQueryNativePixmapNV"); +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) + eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)eglwLoad("eglPostSubBufferNV"); +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) + eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)eglwLoad("eglStreamConsumerGLTextureExternalAttribsNV"); +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) + eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)eglwLoad("eglStreamImageConsumerConnectNV"); + eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)eglwLoad("eglQueryStreamConsumerEventNV"); + eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)eglwLoad("eglStreamAcquireImageNV"); + eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)eglwLoad("eglStreamReleaseImageNV"); +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) + eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)eglwLoad("eglStreamFlushNV"); +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) + eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)eglwLoad("eglQueryDisplayAttribNV"); + eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)eglwLoad("eglSetStreamMetadataNV"); + eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)eglwLoad("eglQueryStreamMetadataNV"); +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) + eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)eglwLoad("eglResetStreamNV"); +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) + eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)eglwLoad("eglCreateStreamSyncNV"); +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) + eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)eglwLoad("eglCreateFenceSyncNV"); + eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)eglwLoad("eglDestroySyncNV"); + eglFenceNV = (PFNEGLFENCENVPROC)eglwLoad("eglFenceNV"); + eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)eglwLoad("eglClientWaitSyncNV"); + eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)eglwLoad("eglSignalSyncNV"); + eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)eglwLoad("eglGetSyncAttribNV"); +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) + eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)eglwLoad("eglGetSystemTimeFrequencyNV"); + eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)eglwLoad("eglGetSystemTimeNV"); +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) + eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)eglwLoad("eglCompositorSetContextListEXT"); + eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetContextAttributesEXT"); + eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)eglwLoad("eglCompositorSetWindowListEXT"); + eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetWindowAttributesEXT"); + eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)eglwLoad("eglCompositorBindTexWindowEXT"); + eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)eglwLoad("eglCompositorSetSizeEXT"); + eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)eglwLoad("eglCompositorSwapPolicyEXT"); +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) + eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglBindWaylandDisplayWL"); + eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglUnbindWaylandDisplayWL"); + eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)eglwLoad("eglQueryWaylandBufferWL"); +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) + eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)eglwLoad("eglCreateWaylandBufferFromImageWL"); +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + +} diff --git a/native/cocos/renderer/gfx-gles2/eglw_auto.h b/native/cocos/renderer/gfx-gles2/eglw_auto.h new file mode 100644 index 0000000000..b1390af355 --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/eglw_auto.h @@ -0,0 +1,332 @@ +#pragma once + +void eglwLoadProcs(); + +extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; +extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +extern PFNEGLCREATECONTEXTPROC eglCreateContext; +extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; +extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +extern PFNEGLGETCONFIGSPROC eglGetConfigs; +extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +extern PFNEGLGETDISPLAYPROC eglGetDisplay; +extern PFNEGLGETERRORPROC eglGetError; +extern PFNEGLINITIALIZEPROC eglInitialize; +extern PFNEGLMAKECURRENTPROC eglMakeCurrent; +extern PFNEGLQUERYCONTEXTPROC eglQueryContext; +extern PFNEGLQUERYSTRINGPROC eglQueryString; +extern PFNEGLQUERYSURFACEPROC eglQuerySurface; +extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +extern PFNEGLTERMINATEPROC eglTerminate; +extern PFNEGLWAITGLPROC eglWaitGL; +extern PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +extern PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +extern PFNEGLBINDAPIPROC eglBindAPI; +extern PFNEGLQUERYAPIPROC eglQueryAPI; +extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +extern PFNEGLRELEASETHREADPROC eglReleaseThread; +extern PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +extern PFNEGLCREATESYNCPROC eglCreateSync; +extern PFNEGLDESTROYSYNCPROC eglDestroySync; +extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +extern PFNEGLCREATEIMAGEPROC eglCreateImage; +extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +extern PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +extern PFNEGLFENCENVPROC eglFenceNV; +extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + diff --git a/native/cocos/renderer/gfx-gles2/gles2w.cpp b/native/cocos/renderer/gfx-gles2/gles2w.cpp index 34ee44bbd9..ba726d1008 100644 --- a/native/cocos/renderer/gfx-gles2/gles2w.cpp +++ b/native/cocos/renderer/gfx-gles2/gles2w.cpp @@ -23,6 +23,21 @@ THE SOFTWARE. ****************************************************************************/ #include "gles2w.h" +bool gles2wInit(void) { + if (!gles2wOpen()) { + return false; + } + + eglwLoadProcs(); + gles2wLoadProcs(); + + return true; +} + +void *eglwLoad(const char *proc) { + return gles2wLoad(proc); +} + #if defined(_WIN32) && !defined(ANDROID) #define WIN32_LEAN_AND_MEAN 1 #include @@ -30,30 +45,21 @@ THE SOFTWARE. static HMODULE libegl = NULL; static HMODULE libgles = NULL; -static bool open_libgl(void) { +bool gles2wOpen() { libegl = LoadLibraryA("libEGL.dll"); libgles = LoadLibraryA("libGLESv2.dll"); return (libegl && libgles); } -static void *get_egl_proc(const char *proc) { +void *gles2wLoad(const char *proc) { void *res = nullptr; if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); if (!res) res = (void *)GetProcAddress(libegl, proc); return res; } - -static void *get_gles_proc(const char *proc) { - void *res = (void *)eglGetProcAddress(proc); - if (!res) res = (void *)GetProcAddress(libgles, proc); - return res; -} #elif defined(__EMSCRIPTEN__) -static void open_libgl() {} -static void *get_egl_proc(const char *proc) { - return (void *)eglGetProcAddress(proc); -} -static void *get_gles_proc(const char *proc) { +bool gles2wOpen() { return true; } +void *gles2wLoad(const char *proc) { return (void *)eglGetProcAddress(proc); } #else @@ -62,676 +68,18 @@ static void *get_gles_proc(const char *proc) { static void *libegl = nullptr; static void *libgles = nullptr; -static bool open_libgl(void) { +bool gles2wOpen() { libegl = dlopen("libEGL.so", RTLD_LAZY | RTLD_GLOBAL); libgles = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); return (libegl && libgles); } -static void *get_egl_proc(const char *proc) { +void *gles2wLoad(const char *proc) { void *res = nullptr; if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); if (!res) res = dlsym(libegl, proc); return res; } - -static void *get_gles_proc(const char *proc) { - void *res = (void *)eglGetProcAddress(proc); - if (!res) res = dlsym(libgles, proc); - return res; -} #endif -static void load_procs(void); - -bool gles2wInit() { - if (!open_libgl()) { - return 0; - } - - load_procs(); - - return 1; -} - -PFNEGLGETPROCADDRESSPROC eglGetProcAddress; -PFNEGLCHOOSECONFIGPROC eglChooseConfig; -PFNEGLCREATECONTEXTPROC eglCreateContext; -PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -PFNEGLDESTROYSURFACEPROC eglDestroySurface; -PFNEGLGETDISPLAYPROC eglGetDisplay; -PFNEGLGETERRORPROC eglGetError; -PFNEGLINITIALIZEPROC eglInitialize; -PFNEGLMAKECURRENTPROC eglMakeCurrent; -PFNEGLQUERYSTRINGPROC eglQueryString; -PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -PFNEGLSWAPINTERVALPROC eglSwapInterval; -PFNEGLBINDAPIPROC eglBindAPI; -PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; - -PFNGLACTIVETEXTUREPROC glActiveTexture; -PFNGLATTACHSHADERPROC glAttachShader; -PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -PFNGLBINDBUFFERPROC glBindBuffer; -PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -PFNGLBINDTEXTUREPROC glBindTexture; -PFNGLBLENDCOLORPROC glBlendColor; -PFNGLBLENDEQUATIONPROC glBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -PFNGLBLENDFUNCPROC glBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -PFNGLBUFFERDATAPROC glBufferData; -PFNGLBUFFERSUBDATAPROC glBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -PFNGLCLEARPROC glClear; -PFNGLCLEARCOLORPROC glClearColor; -PFNGLCLEARDEPTHFPROC glClearDepthf; -PFNGLCLEARSTENCILPROC glClearStencil; -PFNGLCOLORMASKPROC glColorMask; -PFNGLCOMPILESHADERPROC glCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC glCreateProgram; -PFNGLCREATESHADERPROC glCreateShader; -PFNGLCULLFACEPROC glCullFace; -PFNGLDELETEBUFFERSPROC glDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC glDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -PFNGLDELETESHADERPROC glDeleteShader; -PFNGLDELETETEXTURESPROC glDeleteTextures; -PFNGLDEPTHFUNCPROC glDepthFunc; -PFNGLDEPTHMASKPROC glDepthMask; -PFNGLDEPTHRANGEFPROC glDepthRangef; -PFNGLDETACHSHADERPROC glDetachShader; -PFNGLDISABLEPROC glDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC glDrawArrays; -PFNGLDRAWELEMENTSPROC glDrawElements; -PFNGLENABLEPROC glEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -PFNGLFINISHPROC glFinish; -PFNGLFLUSHPROC glFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -PFNGLFRONTFACEPROC glFrontFace; -PFNGLGENBUFFERSPROC glGenBuffers; -PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -PFNGLGENTEXTURESPROC glGenTextures; -PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -PFNGLGETBOOLEANVPROC glGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -PFNGLGETERRORPROC glGetError; -PFNGLGETFLOATVPROC glGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC glGetIntegerv; -PFNGLGETPROGRAMIVPROC glGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC glGetShaderiv; -PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC glGetShaderSource; -PFNGLGETSTRINGPROC glGetString; -PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -PFNGLGETUNIFORMFVPROC glGetUniformfv; -PFNGLGETUNIFORMIVPROC glGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -PFNGLHINTPROC glHint; -PFNGLISBUFFERPROC glIsBuffer; -PFNGLISENABLEDPROC glIsEnabled; -PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -PFNGLISPROGRAMPROC glIsProgram; -PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -PFNGLISSHADERPROC glIsShader; -PFNGLISTEXTUREPROC glIsTexture; -PFNGLLINEWIDTHPROC glLineWidth; -PFNGLLINKPROGRAMPROC glLinkProgram; -PFNGLPIXELSTOREIPROC glPixelStorei; -PFNGLPOLYGONOFFSETPROC glPolygonOffset; -PFNGLREADPIXELSPROC glReadPixels; -PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -PFNGLSCISSORPROC glScissor; -PFNGLSHADERBINARYPROC glShaderBinary; -PFNGLSHADERSOURCEPROC glShaderSource; -PFNGLSTENCILFUNCPROC glStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -PFNGLSTENCILMASKPROC glStencilMask; -PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -PFNGLSTENCILOPPROC glStencilOp; -PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -PFNGLTEXIMAGE2DPROC glTexImage2D; -PFNGLTEXPARAMETERFPROC glTexParameterf; -PFNGLTEXPARAMETERFVPROC glTexParameterfv; -PFNGLTEXPARAMETERIPROC glTexParameteri; -PFNGLTEXPARAMETERIVPROC glTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -PFNGLUNIFORM1FPROC glUniform1f; -PFNGLUNIFORM1FVPROC glUniform1fv; -PFNGLUNIFORM1IPROC glUniform1i; -PFNGLUNIFORM1IVPROC glUniform1iv; -PFNGLUNIFORM2FPROC glUniform2f; -PFNGLUNIFORM2FVPROC glUniform2fv; -PFNGLUNIFORM2IPROC glUniform2i; -PFNGLUNIFORM2IVPROC glUniform2iv; -PFNGLUNIFORM3FPROC glUniform3f; -PFNGLUNIFORM3FVPROC glUniform3fv; -PFNGLUNIFORM3IPROC glUniform3i; -PFNGLUNIFORM3IVPROC glUniform3iv; -PFNGLUNIFORM4FPROC glUniform4f; -PFNGLUNIFORM4FVPROC glUniform4fv; -PFNGLUNIFORM4IPROC glUniform4i; -PFNGLUNIFORM4IVPROC glUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -PFNGLUSEPROGRAMPROC glUseProgram; -PFNGLVALIDATEPROGRAMPROC glValidateProgram; -PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -PFNGLVIEWPORTPROC glViewport; -PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -PFNGLMAPBUFFEROESPROC glMapBufferOES; -PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -PFNGLISQUERYEXTPROC glIsQueryEXT; -PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -PFNGLENDQUERYEXTPROC glEndQueryEXT; -PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; -PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -PFNGLGENFENCESNVPROC glGenFencesNV; -PFNGLISFENCENVPROC glIsFenceNV; -PFNGLTESTFENCENVPROC glTestFenceNV; -PFNGLGETFENCEIVNVPROC glGetFenceivNV; -PFNGLFINISHFENCENVPROC glFinishFenceNV; -PFNGLSETFENCENVPROC glSetFenceNV; -PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -PFNGLREADBUFFERNVPROC glReadBufferNV; -PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -PFNGLENDTILINGQCOMPROC glEndTilingQCOM; - -static void load_procs(void) { - eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)get_egl_proc("eglGetProcAddress"); - eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)get_egl_proc("eglChooseConfig"); - eglCreateContext = (PFNEGLCREATECONTEXTPROC)get_egl_proc("eglCreateContext"); - eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)get_egl_proc("eglCreateWindowSurface"); - eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)get_egl_proc("eglDestroyContext"); - eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)get_egl_proc("eglDestroySurface"); - eglGetDisplay = (PFNEGLGETDISPLAYPROC)get_egl_proc("eglGetDisplay"); - eglGetError = (PFNEGLGETERRORPROC)get_egl_proc("eglGetError"); - eglInitialize = (PFNEGLINITIALIZEPROC)get_egl_proc("eglInitialize"); - eglMakeCurrent = (PFNEGLMAKECURRENTPROC)get_egl_proc("eglMakeCurrent"); - eglQueryString = (PFNEGLQUERYSTRINGPROC)get_egl_proc("eglQueryString"); - eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)get_egl_proc("eglSwapBuffers"); - eglSwapInterval = (PFNEGLSWAPINTERVALPROC)get_egl_proc("eglSwapInterval"); - eglBindAPI = (PFNEGLBINDAPIPROC)get_egl_proc("eglBindAPI"); - eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)get_egl_proc("eglGetConfigAttrib"); - - glActiveTexture = (PFNGLACTIVETEXTUREPROC)get_gles_proc("glActiveTexture"); - glAttachShader = (PFNGLATTACHSHADERPROC)get_gles_proc("glAttachShader"); - glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)get_gles_proc("glBindAttribLocation"); - glBindBuffer = (PFNGLBINDBUFFERPROC)get_gles_proc("glBindBuffer"); - glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)get_gles_proc("glBindFramebuffer"); - glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)get_gles_proc("glBindRenderbuffer"); - glBindTexture = (PFNGLBINDTEXTUREPROC)get_gles_proc("glBindTexture"); - glBlendColor = (PFNGLBLENDCOLORPROC)get_gles_proc("glBlendColor"); - glBlendEquation = (PFNGLBLENDEQUATIONPROC)get_gles_proc("glBlendEquation"); - glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)get_gles_proc("glBlendEquationSeparate"); - glBlendFunc = (PFNGLBLENDFUNCPROC)get_gles_proc("glBlendFunc"); - glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)get_gles_proc("glBlendFuncSeparate"); - glBufferData = (PFNGLBUFFERDATAPROC)get_gles_proc("glBufferData"); - glBufferSubData = (PFNGLBUFFERSUBDATAPROC)get_gles_proc("glBufferSubData"); - glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)get_gles_proc("glCheckFramebufferStatus"); - glClear = (PFNGLCLEARPROC)get_gles_proc("glClear"); - glClearColor = (PFNGLCLEARCOLORPROC)get_gles_proc("glClearColor"); - glClearDepthf = (PFNGLCLEARDEPTHFPROC)get_gles_proc("glClearDepthf"); - glClearStencil = (PFNGLCLEARSTENCILPROC)get_gles_proc("glClearStencil"); - glColorMask = (PFNGLCOLORMASKPROC)get_gles_proc("glColorMask"); - glCompileShader = (PFNGLCOMPILESHADERPROC)get_gles_proc("glCompileShader"); - glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)get_gles_proc("glCompressedTexImage2D"); - glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)get_gles_proc("glCompressedTexSubImage2D"); - glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)get_gles_proc("glCopyTexImage2D"); - glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)get_gles_proc("glCopyTexSubImage2D"); - glCreateProgram = (PFNGLCREATEPROGRAMPROC)get_gles_proc("glCreateProgram"); - glCreateShader = (PFNGLCREATESHADERPROC)get_gles_proc("glCreateShader"); - glCullFace = (PFNGLCULLFACEPROC)get_gles_proc("glCullFace"); - glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)get_gles_proc("glDeleteBuffers"); - glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)get_gles_proc("glDeleteFramebuffers"); - glDeleteProgram = (PFNGLDELETEPROGRAMPROC)get_gles_proc("glDeleteProgram"); - glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)get_gles_proc("glDeleteRenderbuffers"); - glDeleteShader = (PFNGLDELETESHADERPROC)get_gles_proc("glDeleteShader"); - glDeleteTextures = (PFNGLDELETETEXTURESPROC)get_gles_proc("glDeleteTextures"); - glDepthFunc = (PFNGLDEPTHFUNCPROC)get_gles_proc("glDepthFunc"); - glDepthMask = (PFNGLDEPTHMASKPROC)get_gles_proc("glDepthMask"); - glDepthRangef = (PFNGLDEPTHRANGEFPROC)get_gles_proc("glDepthRangef"); - glDetachShader = (PFNGLDETACHSHADERPROC)get_gles_proc("glDetachShader"); - glDisable = (PFNGLDISABLEPROC)get_gles_proc("glDisable"); - glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)get_gles_proc("glDisableVertexAttribArray"); - glDrawArrays = (PFNGLDRAWARRAYSPROC)get_gles_proc("glDrawArrays"); - glDrawElements = (PFNGLDRAWELEMENTSPROC)get_gles_proc("glDrawElements"); - glEnable = (PFNGLENABLEPROC)get_gles_proc("glEnable"); - glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)get_gles_proc("glEnableVertexAttribArray"); - glFinish = (PFNGLFINISHPROC)get_gles_proc("glFinish"); - glFlush = (PFNGLFLUSHPROC)get_gles_proc("glFlush"); - glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)get_gles_proc("glFramebufferRenderbuffer"); - glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)get_gles_proc("glFramebufferTexture2D"); - glFrontFace = (PFNGLFRONTFACEPROC)get_gles_proc("glFrontFace"); - glGenBuffers = (PFNGLGENBUFFERSPROC)get_gles_proc("glGenBuffers"); - glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)get_gles_proc("glGenerateMipmap"); - glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)get_gles_proc("glGenFramebuffers"); - glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)get_gles_proc("glGenRenderbuffers"); - glGenTextures = (PFNGLGENTEXTURESPROC)get_gles_proc("glGenTextures"); - glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)get_gles_proc("glGetActiveAttrib"); - glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)get_gles_proc("glGetActiveUniform"); - glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)get_gles_proc("glGetAttachedShaders"); - glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)get_gles_proc("glGetAttribLocation"); - glGetBooleanv = (PFNGLGETBOOLEANVPROC)get_gles_proc("glGetBooleanv"); - glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)get_gles_proc("glGetBufferParameteriv"); - glGetError = (PFNGLGETERRORPROC)get_gles_proc("glGetError"); - glGetFloatv = (PFNGLGETFLOATVPROC)get_gles_proc("glGetFloatv"); - glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)get_gles_proc("glGetFramebufferAttachmentParameteriv"); - glGetIntegerv = (PFNGLGETINTEGERVPROC)get_gles_proc("glGetIntegerv"); - glGetProgramiv = (PFNGLGETPROGRAMIVPROC)get_gles_proc("glGetProgramiv"); - glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)get_gles_proc("glGetProgramInfoLog"); - glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)get_gles_proc("glGetRenderbufferParameteriv"); - glGetShaderiv = (PFNGLGETSHADERIVPROC)get_gles_proc("glGetShaderiv"); - glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)get_gles_proc("glGetShaderInfoLog"); - glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)get_gles_proc("glGetShaderPrecisionFormat"); - glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)get_gles_proc("glGetShaderSource"); - glGetString = (PFNGLGETSTRINGPROC)get_gles_proc("glGetString"); - glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)get_gles_proc("glGetTexParameterfv"); - glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)get_gles_proc("glGetTexParameteriv"); - glGetUniformfv = (PFNGLGETUNIFORMFVPROC)get_gles_proc("glGetUniformfv"); - glGetUniformiv = (PFNGLGETUNIFORMIVPROC)get_gles_proc("glGetUniformiv"); - glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)get_gles_proc("glGetUniformLocation"); - glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)get_gles_proc("glGetVertexAttribfv"); - glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)get_gles_proc("glGetVertexAttribiv"); - glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)get_gles_proc("glGetVertexAttribPointerv"); - glHint = (PFNGLHINTPROC)get_gles_proc("glHint"); - glIsBuffer = (PFNGLISBUFFERPROC)get_gles_proc("glIsBuffer"); - glIsEnabled = (PFNGLISENABLEDPROC)get_gles_proc("glIsEnabled"); - glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)get_gles_proc("glIsFramebuffer"); - glIsProgram = (PFNGLISPROGRAMPROC)get_gles_proc("glIsProgram"); - glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)get_gles_proc("glIsRenderbuffer"); - glIsShader = (PFNGLISSHADERPROC)get_gles_proc("glIsShader"); - glIsTexture = (PFNGLISTEXTUREPROC)get_gles_proc("glIsTexture"); - glLineWidth = (PFNGLLINEWIDTHPROC)get_gles_proc("glLineWidth"); - glLinkProgram = (PFNGLLINKPROGRAMPROC)get_gles_proc("glLinkProgram"); - glPixelStorei = (PFNGLPIXELSTOREIPROC)get_gles_proc("glPixelStorei"); - glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)get_gles_proc("glPolygonOffset"); - glReadPixels = (PFNGLREADPIXELSPROC)get_gles_proc("glReadPixels"); - glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)get_gles_proc("glReleaseShaderCompiler"); - glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)get_gles_proc("glRenderbufferStorage"); - glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)get_gles_proc("glSampleCoverage"); - glScissor = (PFNGLSCISSORPROC)get_gles_proc("glScissor"); - glShaderBinary = (PFNGLSHADERBINARYPROC)get_gles_proc("glShaderBinary"); - glShaderSource = (PFNGLSHADERSOURCEPROC)get_gles_proc("glShaderSource"); - glStencilFunc = (PFNGLSTENCILFUNCPROC)get_gles_proc("glStencilFunc"); - glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)get_gles_proc("glStencilFuncSeparate"); - glStencilMask = (PFNGLSTENCILMASKPROC)get_gles_proc("glStencilMask"); - glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)get_gles_proc("glStencilMaskSeparate"); - glStencilOp = (PFNGLSTENCILOPPROC)get_gles_proc("glStencilOp"); - glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)get_gles_proc("glStencilOpSeparate"); - glTexImage2D = (PFNGLTEXIMAGE2DPROC)get_gles_proc("glTexImage2D"); - glTexParameterf = (PFNGLTEXPARAMETERFPROC)get_gles_proc("glTexParameterf"); - glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)get_gles_proc("glTexParameterfv"); - glTexParameteri = (PFNGLTEXPARAMETERIPROC)get_gles_proc("glTexParameteri"); - glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)get_gles_proc("glTexParameteriv"); - glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)get_gles_proc("glTexSubImage2D"); - glUniform1f = (PFNGLUNIFORM1FPROC)get_gles_proc("glUniform1f"); - glUniform1fv = (PFNGLUNIFORM1FVPROC)get_gles_proc("glUniform1fv"); - glUniform1i = (PFNGLUNIFORM1IPROC)get_gles_proc("glUniform1i"); - glUniform1iv = (PFNGLUNIFORM1IVPROC)get_gles_proc("glUniform1iv"); - glUniform2f = (PFNGLUNIFORM2FPROC)get_gles_proc("glUniform2f"); - glUniform2fv = (PFNGLUNIFORM2FVPROC)get_gles_proc("glUniform2fv"); - glUniform2i = (PFNGLUNIFORM2IPROC)get_gles_proc("glUniform2i"); - glUniform2iv = (PFNGLUNIFORM2IVPROC)get_gles_proc("glUniform2iv"); - glUniform3f = (PFNGLUNIFORM3FPROC)get_gles_proc("glUniform3f"); - glUniform3fv = (PFNGLUNIFORM3FVPROC)get_gles_proc("glUniform3fv"); - glUniform3i = (PFNGLUNIFORM3IPROC)get_gles_proc("glUniform3i"); - glUniform3iv = (PFNGLUNIFORM3IVPROC)get_gles_proc("glUniform3iv"); - glUniform4f = (PFNGLUNIFORM4FPROC)get_gles_proc("glUniform4f"); - glUniform4fv = (PFNGLUNIFORM4FVPROC)get_gles_proc("glUniform4fv"); - glUniform4i = (PFNGLUNIFORM4IPROC)get_gles_proc("glUniform4i"); - glUniform4iv = (PFNGLUNIFORM4IVPROC)get_gles_proc("glUniform4iv"); - glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)get_gles_proc("glUniformMatrix2fv"); - glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)get_gles_proc("glUniformMatrix3fv"); - glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)get_gles_proc("glUniformMatrix4fv"); - glUseProgram = (PFNGLUSEPROGRAMPROC)get_gles_proc("glUseProgram"); - glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)get_gles_proc("glValidateProgram"); - glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)get_gles_proc("glVertexAttrib1f"); - glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)get_gles_proc("glVertexAttrib1fv"); - glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)get_gles_proc("glVertexAttrib2f"); - glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)get_gles_proc("glVertexAttrib2fv"); - glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)get_gles_proc("glVertexAttrib3f"); - glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)get_gles_proc("glVertexAttrib3fv"); - glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)get_gles_proc("glVertexAttrib4f"); - glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)get_gles_proc("glVertexAttrib4fv"); - glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)get_gles_proc("glVertexAttribPointer"); - glViewport = (PFNGLVIEWPORTPROC)get_gles_proc("glViewport"); - glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)get_gles_proc("glEGLImageTargetTexture2DOES"); - glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)get_gles_proc("glEGLImageTargetRenderbufferStorageOES"); - glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)get_gles_proc("glGetProgramBinaryOES"); - glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)get_gles_proc("glProgramBinaryOES"); - glMapBufferOES = (PFNGLMAPBUFFEROESPROC)get_gles_proc("glMapBufferOES"); - glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)get_gles_proc("glUnmapBufferOES"); - glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)get_gles_proc("glGetBufferPointervOES"); - glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)get_gles_proc("glTexImage3DOES"); - glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)get_gles_proc("glTexSubImage3DOES"); - glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)get_gles_proc("glCopyTexSubImage3DOES"); - glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)get_gles_proc("glCompressedTexImage3DOES"); - glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)get_gles_proc("glCompressedTexSubImage3DOES"); - glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)get_gles_proc("glFramebufferTexture3DOES"); - glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)get_gles_proc("glBindVertexArrayOES"); - glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)get_gles_proc("glDeleteVertexArraysOES"); - glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)get_gles_proc("glGenVertexArraysOES"); - glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)get_gles_proc("glIsVertexArrayOES"); - glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)get_gles_proc("glDebugMessageControlKHR"); - glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)get_gles_proc("glDebugMessageInsertKHR"); - glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)get_gles_proc("glDebugMessageCallbackKHR"); - glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)get_gles_proc("glGetDebugMessageLogKHR"); - glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)get_gles_proc("glPushDebugGroupKHR"); - glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)get_gles_proc("glPopDebugGroupKHR"); - glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)get_gles_proc("glObjectLabelKHR"); - glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)get_gles_proc("glGetObjectLabelKHR"); - glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)get_gles_proc("glObjectPtrLabelKHR"); - glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)get_gles_proc("glGetObjectPtrLabelKHR"); - glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)get_gles_proc("glGetPointervKHR"); - glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)get_gles_proc("glGetPerfMonitorGroupsAMD"); - glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)get_gles_proc("glGetPerfMonitorCountersAMD"); - glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)get_gles_proc("glGetPerfMonitorGroupStringAMD"); - glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)get_gles_proc("glGetPerfMonitorCounterStringAMD"); - glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)get_gles_proc("glGetPerfMonitorCounterInfoAMD"); - glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)get_gles_proc("glGenPerfMonitorsAMD"); - glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)get_gles_proc("glDeletePerfMonitorsAMD"); - glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)get_gles_proc("glSelectPerfMonitorCountersAMD"); - glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)get_gles_proc("glBeginPerfMonitorAMD"); - glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)get_gles_proc("glEndPerfMonitorAMD"); - glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)get_gles_proc("glGetPerfMonitorCounterDataAMD"); - glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)get_gles_proc("glBlitFramebufferANGLE"); - glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)get_gles_proc("glRenderbufferStorageMultisampleANGLE"); - glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)get_gles_proc("glDrawArraysInstancedANGLE"); - glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)get_gles_proc("glDrawElementsInstancedANGLE"); - glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)get_gles_proc("glVertexAttribDivisorANGLE"); - glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)get_gles_proc("glGetTranslatedShaderSourceANGLE"); - glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)get_gles_proc("glDrawArraysInstancedEXT"); - glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)get_gles_proc("glDrawElementsInstancedEXT"); - glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)get_gles_proc("glVertexAttribDivisorEXT"); - glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)get_gles_proc("glCopyTextureLevelsAPPLE"); - glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)get_gles_proc("glRenderbufferStorageMultisampleAPPLE"); - glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)get_gles_proc("glResolveMultisampleFramebufferAPPLE"); - glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)get_gles_proc("glFenceSyncAPPLE"); - glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)get_gles_proc("glIsSyncAPPLE"); - glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)get_gles_proc("glDeleteSyncAPPLE"); - glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)get_gles_proc("glClientWaitSyncAPPLE"); - glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)get_gles_proc("glWaitSyncAPPLE"); - glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)get_gles_proc("glGetInteger64vAPPLE"); - glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)get_gles_proc("glGetSyncivAPPLE"); - glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)get_gles_proc("glLabelObjectEXT"); - glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)get_gles_proc("glGetObjectLabelEXT"); - glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)get_gles_proc("glInsertEventMarkerEXT"); - glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)get_gles_proc("glPushGroupMarkerEXT"); - glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)get_gles_proc("glPopGroupMarkerEXT"); - glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)get_gles_proc("glDiscardFramebufferEXT"); - glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)get_gles_proc("glGenQueriesEXT"); - glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)get_gles_proc("glDeleteQueriesEXT"); - glIsQueryEXT = (PFNGLISQUERYEXTPROC)get_gles_proc("glIsQueryEXT"); - glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)get_gles_proc("glBeginQueryEXT"); - glEndQueryEXT = (PFNGLENDQUERYEXTPROC)get_gles_proc("glEndQueryEXT"); - glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)get_gles_proc("glQueryCounterEXT"); - glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)get_gles_proc("glGetQueryivEXT"); - glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)get_gles_proc("glGetQueryObjectivEXT"); - glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)get_gles_proc("glGetQueryObjectuivEXT"); - glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)get_gles_proc("glGetQueryObjecti64vEXT"); - glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)get_gles_proc("glGetQueryObjectui64vEXT"); - glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)get_gles_proc("glMapBufferRangeEXT"); - glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)get_gles_proc("glFlushMappedBufferRangeEXT"); - glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)get_gles_proc("glRenderbufferStorageMultisampleEXT"); - glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)get_gles_proc("glFramebufferTexture2DMultisampleEXT"); - glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)get_gles_proc("glReadBufferIndexedEXT"); - glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)get_gles_proc("glDrawBuffersIndexedEXT"); - glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)get_gles_proc("glGetIntegeri_vEXT"); - glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)get_gles_proc("glMultiDrawArraysEXT"); - glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)get_gles_proc("glMultiDrawElementsEXT"); - glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)get_gles_proc("glGetGraphicsResetStatusEXT"); - glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)get_gles_proc("glReadnPixelsEXT"); - glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)get_gles_proc("glGetnUniformfvEXT"); - glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)get_gles_proc("glGetnUniformivEXT"); - glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)get_gles_proc("glUseProgramStagesEXT"); - glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)get_gles_proc("glActiveShaderProgramEXT"); - glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)get_gles_proc("glCreateShaderProgramvEXT"); - glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)get_gles_proc("glBindProgramPipelineEXT"); - glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)get_gles_proc("glDeleteProgramPipelinesEXT"); - glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)get_gles_proc("glGenProgramPipelinesEXT"); - glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)get_gles_proc("glIsProgramPipelineEXT"); - glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)get_gles_proc("glProgramParameteriEXT"); - glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)get_gles_proc("glGetProgramPipelineivEXT"); - glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)get_gles_proc("glProgramUniform1iEXT"); - glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)get_gles_proc("glProgramUniform2iEXT"); - glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)get_gles_proc("glProgramUniform3iEXT"); - glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)get_gles_proc("glProgramUniform4iEXT"); - glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)get_gles_proc("glProgramUniform1fEXT"); - glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)get_gles_proc("glProgramUniform2fEXT"); - glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)get_gles_proc("glProgramUniform3fEXT"); - glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)get_gles_proc("glProgramUniform4fEXT"); - glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)get_gles_proc("glProgramUniform1ivEXT"); - glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)get_gles_proc("glProgramUniform2ivEXT"); - glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)get_gles_proc("glProgramUniform3ivEXT"); - glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)get_gles_proc("glProgramUniform4ivEXT"); - glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)get_gles_proc("glProgramUniform1fvEXT"); - glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)get_gles_proc("glProgramUniform2fvEXT"); - glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)get_gles_proc("glProgramUniform3fvEXT"); - glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)get_gles_proc("glProgramUniform4fvEXT"); - glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)get_gles_proc("glProgramUniformMatrix2fvEXT"); - glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)get_gles_proc("glProgramUniformMatrix3fvEXT"); - glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)get_gles_proc("glProgramUniformMatrix4fvEXT"); - glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)get_gles_proc("glValidateProgramPipelineEXT"); - glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)get_gles_proc("glGetProgramPipelineInfoLogEXT"); - glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)get_gles_proc("glTexStorage1DEXT"); - glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)get_gles_proc("glTexStorage2DEXT"); - glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)get_gles_proc("glTexStorage3DEXT"); - glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)get_gles_proc("glTextureStorage1DEXT"); - glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)get_gles_proc("glTextureStorage2DEXT"); - glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)get_gles_proc("glTextureStorage3DEXT"); - glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)get_gles_proc("glRenderbufferStorageMultisampleIMG"); - glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)get_gles_proc("glFramebufferTexture2DMultisampleIMG"); - glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)get_gles_proc("glCoverageMaskNV"); - glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)get_gles_proc("glCoverageOperationNV"); - glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)get_gles_proc("glDrawBuffersNV"); - glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)get_gles_proc("glDrawArraysInstancedNV"); - glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)get_gles_proc("glDrawElementsInstancedNV"); - glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)get_gles_proc("glDeleteFencesNV"); - glGenFencesNV = (PFNGLGENFENCESNVPROC)get_gles_proc("glGenFencesNV"); - glIsFenceNV = (PFNGLISFENCENVPROC)get_gles_proc("glIsFenceNV"); - glTestFenceNV = (PFNGLTESTFENCENVPROC)get_gles_proc("glTestFenceNV"); - glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)get_gles_proc("glGetFenceivNV"); - glFinishFenceNV = (PFNGLFINISHFENCENVPROC)get_gles_proc("glFinishFenceNV"); - glSetFenceNV = (PFNGLSETFENCENVPROC)get_gles_proc("glSetFenceNV"); - glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)get_gles_proc("glBlitFramebufferNV"); - glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)get_gles_proc("glRenderbufferStorageMultisampleNV"); - glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)get_gles_proc("glVertexAttribDivisorNV"); - glReadBufferNV = (PFNGLREADBUFFERNVPROC)get_gles_proc("glReadBufferNV"); - glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)get_gles_proc("glAlphaFuncQCOM"); - glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)get_gles_proc("glGetDriverControlsQCOM"); - glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)get_gles_proc("glGetDriverControlStringQCOM"); - glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)get_gles_proc("glEnableDriverControlQCOM"); - glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)get_gles_proc("glDisableDriverControlQCOM"); - glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)get_gles_proc("glExtGetTexturesQCOM"); - glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)get_gles_proc("glExtGetBuffersQCOM"); - glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)get_gles_proc("glExtGetRenderbuffersQCOM"); - glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)get_gles_proc("glExtGetFramebuffersQCOM"); - glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)get_gles_proc("glExtGetTexLevelParameterivQCOM"); - glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)get_gles_proc("glExtTexObjectStateOverrideiQCOM"); - glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)get_gles_proc("glExtGetTexSubImageQCOM"); - glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)get_gles_proc("glExtGetBufferPointervQCOM"); - glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)get_gles_proc("glExtGetShadersQCOM"); - glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)get_gles_proc("glExtGetProgramsQCOM"); - glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)get_gles_proc("glExtIsProgramBinaryQCOM"); - glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)get_gles_proc("glExtGetProgramBinarySourceQCOM"); - glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)get_gles_proc("glStartTilingQCOM"); - glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)get_gles_proc("glEndTilingQCOM"); -} +/* GLES2W_GENERATE_IMPLEMENTATION */ diff --git a/native/cocos/renderer/gfx-gles2/gles2w.h b/native/cocos/renderer/gfx-gles2/gles2w.h index 67431e326f..89032470dd 100755 --- a/native/cocos/renderer/gfx-gles2/gles2w.h +++ b/native/cocos/renderer/gfx-gles2/gles2w.h @@ -23,361 +23,13 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #ifdef __OBJC__ - #include - #endif -#else - #define EGL_EGL_PROTOTYPES 0 - #include - #include - #include -#endif - -#ifndef EGL_KHR_create_context - #define EGL_KHR_create_context 1 - #define EGL_CONTEXT_MAJOR_VERSION_KHR EGL_CONTEXT_CLIENT_VERSION - #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB - #define EGL_CONTEXT_FLAGS_KHR 0x30FC - #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD - #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD - #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE - #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF - #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 - #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 - #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 - #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 - #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 - #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 -#endif - -#define GL_GLES_PROTOTYPES 0 -#include - -#include -#include -#include +#include "eglw.h" +#include "eglw_auto.h" +#include "gles2w_auto.h" bool gles2wInit(); -/* egl api */ -extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; -extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; -extern PFNEGLCREATECONTEXTPROC eglCreateContext; -extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; -extern PFNEGLGETDISPLAYPROC eglGetDisplay; -extern PFNEGLGETERRORPROC eglGetError; -extern PFNEGLINITIALIZEPROC eglInitialize; -extern PFNEGLMAKECURRENTPROC eglMakeCurrent; -extern PFNEGLQUERYSTRINGPROC eglQueryString; -extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -extern PFNEGLSWAPINTERVALPROC eglSwapInterval; -extern PFNEGLBINDAPIPROC eglBindAPI; -extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +bool gles2wOpen(); +void *gles2wLoad(const char *proc); -/* gles api */ -extern PFNGLACTIVETEXTUREPROC glActiveTexture; -extern PFNGLATTACHSHADERPROC glAttachShader; -extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -extern PFNGLBINDBUFFERPROC glBindBuffer; -extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -extern PFNGLBINDTEXTUREPROC glBindTexture; -extern PFNGLBLENDCOLORPROC glBlendColor; -extern PFNGLBLENDEQUATIONPROC glBlendEquation; -extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -extern PFNGLBLENDFUNCPROC glBlendFunc; -extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -extern PFNGLBUFFERDATAPROC glBufferData; -extern PFNGLBUFFERSUBDATAPROC glBufferSubData; -extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -extern PFNGLCLEARPROC glClear; -extern PFNGLCLEARCOLORPROC glClearColor; -extern PFNGLCLEARDEPTHFPROC glClearDepthf; -extern PFNGLCLEARSTENCILPROC glClearStencil; -extern PFNGLCOLORMASKPROC glColorMask; -extern PFNGLCOMPILESHADERPROC glCompileShader; -extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -extern PFNGLCREATEPROGRAMPROC glCreateProgram; -extern PFNGLCREATESHADERPROC glCreateShader; -extern PFNGLCULLFACEPROC glCullFace; -extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; -extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -extern PFNGLDELETEPROGRAMPROC glDeleteProgram; -extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -extern PFNGLDELETESHADERPROC glDeleteShader; -extern PFNGLDELETETEXTURESPROC glDeleteTextures; -extern PFNGLDEPTHFUNCPROC glDepthFunc; -extern PFNGLDEPTHMASKPROC glDepthMask; -extern PFNGLDEPTHRANGEFPROC glDepthRangef; -extern PFNGLDETACHSHADERPROC glDetachShader; -extern PFNGLDISABLEPROC glDisable; -extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -extern PFNGLDRAWARRAYSPROC glDrawArrays; -extern PFNGLDRAWELEMENTSPROC glDrawElements; -extern PFNGLENABLEPROC glEnable; -extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -extern PFNGLFINISHPROC glFinish; -extern PFNGLFLUSHPROC glFlush; -extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -extern PFNGLFRONTFACEPROC glFrontFace; -extern PFNGLGENBUFFERSPROC glGenBuffers; -extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -extern PFNGLGENTEXTURESPROC glGenTextures; -extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -extern PFNGLGETBOOLEANVPROC glGetBooleanv; -extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -extern PFNGLGETERRORPROC glGetError; -extern PFNGLGETFLOATVPROC glGetFloatv; -extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -extern PFNGLGETINTEGERVPROC glGetIntegerv; -extern PFNGLGETPROGRAMIVPROC glGetProgramiv; -extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -extern PFNGLGETSHADERIVPROC glGetShaderiv; -extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; -extern PFNGLGETSTRINGPROC glGetString; -extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -extern PFNGLGETUNIFORMFVPROC glGetUniformfv; -extern PFNGLGETUNIFORMIVPROC glGetUniformiv; -extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -extern PFNGLHINTPROC glHint; -extern PFNGLISBUFFERPROC glIsBuffer; -extern PFNGLISENABLEDPROC glIsEnabled; -extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -extern PFNGLISPROGRAMPROC glIsProgram; -extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -extern PFNGLISSHADERPROC glIsShader; -extern PFNGLISTEXTUREPROC glIsTexture; -extern PFNGLLINEWIDTHPROC glLineWidth; -extern PFNGLLINKPROGRAMPROC glLinkProgram; -extern PFNGLPIXELSTOREIPROC glPixelStorei; -extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; -extern PFNGLREADPIXELSPROC glReadPixels; -extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -extern PFNGLSCISSORPROC glScissor; -extern PFNGLSHADERBINARYPROC glShaderBinary; -extern PFNGLSHADERSOURCEPROC glShaderSource; -extern PFNGLSTENCILFUNCPROC glStencilFunc; -extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -extern PFNGLSTENCILMASKPROC glStencilMask; -extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -extern PFNGLSTENCILOPPROC glStencilOp; -extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -extern PFNGLTEXIMAGE2DPROC glTexImage2D; -extern PFNGLTEXPARAMETERFPROC glTexParameterf; -extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; -extern PFNGLTEXPARAMETERIPROC glTexParameteri; -extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; -extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -extern PFNGLUNIFORM1FPROC glUniform1f; -extern PFNGLUNIFORM1FVPROC glUniform1fv; -extern PFNGLUNIFORM1IPROC glUniform1i; -extern PFNGLUNIFORM1IVPROC glUniform1iv; -extern PFNGLUNIFORM2FPROC glUniform2f; -extern PFNGLUNIFORM2FVPROC glUniform2fv; -extern PFNGLUNIFORM2IPROC glUniform2i; -extern PFNGLUNIFORM2IVPROC glUniform2iv; -extern PFNGLUNIFORM3FPROC glUniform3f; -extern PFNGLUNIFORM3FVPROC glUniform3fv; -extern PFNGLUNIFORM3IPROC glUniform3i; -extern PFNGLUNIFORM3IVPROC glUniform3iv; -extern PFNGLUNIFORM4FPROC glUniform4f; -extern PFNGLUNIFORM4FVPROC glUniform4fv; -extern PFNGLUNIFORM4IPROC glUniform4i; -extern PFNGLUNIFORM4IVPROC glUniform4iv; -extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -extern PFNGLUSEPROGRAMPROC glUseProgram; -extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; -extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -extern PFNGLVIEWPORTPROC glViewport; -extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -extern PFNGLMAPBUFFEROESPROC glMapBufferOES; -extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -extern PFNGLISQUERYEXTPROC glIsQueryEXT; -extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -extern PFNGLENDQUERYEXTPROC glEndQueryEXT; -extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; -extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; -extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -extern PFNGLGENFENCESNVPROC glGenFencesNV; -extern PFNGLISFENCENVPROC glIsFenceNV; -extern PFNGLTESTFENCENVPROC glTestFenceNV; -extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; -extern PFNGLFINISHFENCENVPROC glFinishFenceNV; -extern PFNGLSETFENCENVPROC glSetFenceNV; -extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -extern PFNGLREADBUFFERNVPROC glReadBufferNV; -extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +/* GLES2W_GENERATE_DECLARATION */ diff --git a/native/cocos/renderer/gfx-gles2/gles2w_auto.cpp b/native/cocos/renderer/gfx-gles2/gles2w_auto.cpp new file mode 100644 index 0000000000..790e835b9d --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/gles2w_auto.cpp @@ -0,0 +1,2128 @@ +#include "gles2w.h" + +/* GL_ES_VERSION_2_0 */ +PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLATTACHSHADERPROC glAttachShader; +PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +PFNGLBINDBUFFERPROC glBindBuffer; +PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +PFNGLBINDTEXTUREPROC glBindTexture; +PFNGLBLENDCOLORPROC glBlendColor; +PFNGLBLENDEQUATIONPROC glBlendEquation; +PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +PFNGLBLENDFUNCPROC glBlendFunc; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +PFNGLBUFFERDATAPROC glBufferData; +PFNGLBUFFERSUBDATAPROC glBufferSubData; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +PFNGLCLEARPROC glClear; +PFNGLCLEARCOLORPROC glClearColor; +PFNGLCLEARDEPTHFPROC glClearDepthf; +PFNGLCLEARSTENCILPROC glClearStencil; +PFNGLCOLORMASKPROC glColorMask; +PFNGLCOMPILESHADERPROC glCompileShader; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +PFNGLCREATEPROGRAMPROC glCreateProgram; +PFNGLCREATESHADERPROC glCreateShader; +PFNGLCULLFACEPROC glCullFace; +PFNGLDELETEBUFFERSPROC glDeleteBuffers; +PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +PFNGLDELETEPROGRAMPROC glDeleteProgram; +PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +PFNGLDELETESHADERPROC glDeleteShader; +PFNGLDELETETEXTURESPROC glDeleteTextures; +PFNGLDEPTHFUNCPROC glDepthFunc; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEFPROC glDepthRangef; +PFNGLDETACHSHADERPROC glDetachShader; +PFNGLDISABLEPROC glDisable; +PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +PFNGLDRAWARRAYSPROC glDrawArrays; +PFNGLDRAWELEMENTSPROC glDrawElements; +PFNGLENABLEPROC glEnable; +PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +PFNGLFINISHPROC glFinish; +PFNGLFLUSHPROC glFlush; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +PFNGLFRONTFACEPROC glFrontFace; +PFNGLGENBUFFERSPROC glGenBuffers; +PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +PFNGLGENTEXTURESPROC glGenTextures; +PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +PFNGLGETBOOLEANVPROC glGetBooleanv; +PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +PFNGLGETERRORPROC glGetError; +PFNGLGETFLOATVPROC glGetFloatv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETPROGRAMIVPROC glGetProgramiv; +PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +PFNGLGETSHADERIVPROC glGetShaderiv; +PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +PFNGLGETSHADERSOURCEPROC glGetShaderSource; +PFNGLGETSTRINGPROC glGetString; +PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +PFNGLGETUNIFORMFVPROC glGetUniformfv; +PFNGLGETUNIFORMIVPROC glGetUniformiv; +PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +PFNGLHINTPROC glHint; +PFNGLISBUFFERPROC glIsBuffer; +PFNGLISENABLEDPROC glIsEnabled; +PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +PFNGLISPROGRAMPROC glIsProgram; +PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +PFNGLISSHADERPROC glIsShader; +PFNGLISTEXTUREPROC glIsTexture; +PFNGLLINEWIDTHPROC glLineWidth; +PFNGLLINKPROGRAMPROC glLinkProgram; +PFNGLPIXELSTOREIPROC glPixelStorei; +PFNGLPOLYGONOFFSETPROC glPolygonOffset; +PFNGLREADPIXELSPROC glReadPixels; +PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +PFNGLSCISSORPROC glScissor; +PFNGLSHADERBINARYPROC glShaderBinary; +PFNGLSHADERSOURCEPROC glShaderSource; +PFNGLSTENCILFUNCPROC glStencilFunc; +PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +PFNGLSTENCILMASKPROC glStencilMask; +PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +PFNGLSTENCILOPPROC glStencilOp; +PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +PFNGLTEXIMAGE2DPROC glTexImage2D; +PFNGLTEXPARAMETERFPROC glTexParameterf; +PFNGLTEXPARAMETERFVPROC glTexParameterfv; +PFNGLTEXPARAMETERIPROC glTexParameteri; +PFNGLTEXPARAMETERIVPROC glTexParameteriv; +PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +PFNGLUNIFORM1FPROC glUniform1f; +PFNGLUNIFORM1FVPROC glUniform1fv; +PFNGLUNIFORM1IPROC glUniform1i; +PFNGLUNIFORM1IVPROC glUniform1iv; +PFNGLUNIFORM2FPROC glUniform2f; +PFNGLUNIFORM2FVPROC glUniform2fv; +PFNGLUNIFORM2IPROC glUniform2i; +PFNGLUNIFORM2IVPROC glUniform2iv; +PFNGLUNIFORM3FPROC glUniform3f; +PFNGLUNIFORM3FVPROC glUniform3fv; +PFNGLUNIFORM3IPROC glUniform3i; +PFNGLUNIFORM3IVPROC glUniform3iv; +PFNGLUNIFORM4FPROC glUniform4f; +PFNGLUNIFORM4FVPROC glUniform4fv; +PFNGLUNIFORM4IPROC glUniform4i; +PFNGLUNIFORM4IVPROC glUniform4iv; +PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +PFNGLUSEPROGRAMPROC glUseProgram; +PFNGLVALIDATEPROGRAMPROC glValidateProgram; +PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +PFNGLVIEWPORTPROC glViewport; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +PFNGLISQUERYEXTPROC glIsQueryEXT; +PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +PFNGLENDQUERYEXTPROC glEndQueryEXT; +PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +PFNGLENABLEIEXTPROC glEnableiEXT; +PFNGLDISABLEIEXTPROC glDisableiEXT; +PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +PFNGLGENFENCESNVPROC glGenFencesNV; +PFNGLISFENCENVPROC glIsFenceNV; +PFNGLTESTFENCENVPROC glTestFenceNV; +PFNGLGETFENCEIVNVPROC glGetFenceivNV; +PFNGLFINISHFENCENVPROC glFinishFenceNV; +PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +PFNGLGENPATHSNVPROC glGenPathsNV; +PFNGLDELETEPATHSNVPROC glDeletePathsNV; +PFNGLISPATHNVPROC glIsPathNV; +PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +PFNGLPATHCOORDSNVPROC glPathCoordsNV; +PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +PFNGLPATHSTRINGNVPROC glPathStringNV; +PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +PFNGLCOPYPATHNVPROC glCopyPathNV; +PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +PFNGLENABLEINVPROC glEnableiNV; +PFNGLDISABLEINVPROC glDisableiNV; +PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +PFNGLENABLEIOESPROC glEnableiOES; +PFNGLDISABLEIOESPROC glDisableiOES; +PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +PFNGLCOLORMASKIOESPROC glColorMaskiOES; +PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +PFNGLMAPBUFFEROESPROC glMapBufferOES; +PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +PFNGLTEXBUFFEROESPROC glTexBufferOES; +PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + +void gles2wLoadProcs() { + /* GL_ES_VERSION_2_0 */ + glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles2wLoad("glActiveTexture"); + glAttachShader = (PFNGLATTACHSHADERPROC)gles2wLoad("glAttachShader"); + glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles2wLoad("glBindAttribLocation"); + glBindBuffer = (PFNGLBINDBUFFERPROC)gles2wLoad("glBindBuffer"); + glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles2wLoad("glBindFramebuffer"); + glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles2wLoad("glBindRenderbuffer"); + glBindTexture = (PFNGLBINDTEXTUREPROC)gles2wLoad("glBindTexture"); + glBlendColor = (PFNGLBLENDCOLORPROC)gles2wLoad("glBlendColor"); + glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles2wLoad("glBlendEquation"); + glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles2wLoad("glBlendEquationSeparate"); + glBlendFunc = (PFNGLBLENDFUNCPROC)gles2wLoad("glBlendFunc"); + glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles2wLoad("glBlendFuncSeparate"); + glBufferData = (PFNGLBUFFERDATAPROC)gles2wLoad("glBufferData"); + glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles2wLoad("glBufferSubData"); + glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles2wLoad("glCheckFramebufferStatus"); + glClear = (PFNGLCLEARPROC)gles2wLoad("glClear"); + glClearColor = (PFNGLCLEARCOLORPROC)gles2wLoad("glClearColor"); + glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles2wLoad("glClearDepthf"); + glClearStencil = (PFNGLCLEARSTENCILPROC)gles2wLoad("glClearStencil"); + glColorMask = (PFNGLCOLORMASKPROC)gles2wLoad("glColorMask"); + glCompileShader = (PFNGLCOMPILESHADERPROC)gles2wLoad("glCompileShader"); + glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles2wLoad("glCompressedTexImage2D"); + glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles2wLoad("glCompressedTexSubImage2D"); + glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles2wLoad("glCopyTexImage2D"); + glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles2wLoad("glCopyTexSubImage2D"); + glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles2wLoad("glCreateProgram"); + glCreateShader = (PFNGLCREATESHADERPROC)gles2wLoad("glCreateShader"); + glCullFace = (PFNGLCULLFACEPROC)gles2wLoad("glCullFace"); + glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles2wLoad("glDeleteBuffers"); + glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles2wLoad("glDeleteFramebuffers"); + glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles2wLoad("glDeleteProgram"); + glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles2wLoad("glDeleteRenderbuffers"); + glDeleteShader = (PFNGLDELETESHADERPROC)gles2wLoad("glDeleteShader"); + glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles2wLoad("glDeleteTextures"); + glDepthFunc = (PFNGLDEPTHFUNCPROC)gles2wLoad("glDepthFunc"); + glDepthMask = (PFNGLDEPTHMASKPROC)gles2wLoad("glDepthMask"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles2wLoad("glDepthRangef"); + glDetachShader = (PFNGLDETACHSHADERPROC)gles2wLoad("glDetachShader"); + glDisable = (PFNGLDISABLEPROC)gles2wLoad("glDisable"); + glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glDisableVertexAttribArray"); + glDrawArrays = (PFNGLDRAWARRAYSPROC)gles2wLoad("glDrawArrays"); + glDrawElements = (PFNGLDRAWELEMENTSPROC)gles2wLoad("glDrawElements"); + glEnable = (PFNGLENABLEPROC)gles2wLoad("glEnable"); + glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glEnableVertexAttribArray"); + glFinish = (PFNGLFINISHPROC)gles2wLoad("glFinish"); + glFlush = (PFNGLFLUSHPROC)gles2wLoad("glFlush"); + glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles2wLoad("glFramebufferRenderbuffer"); + glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles2wLoad("glFramebufferTexture2D"); + glFrontFace = (PFNGLFRONTFACEPROC)gles2wLoad("glFrontFace"); + glGenBuffers = (PFNGLGENBUFFERSPROC)gles2wLoad("glGenBuffers"); + glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles2wLoad("glGenerateMipmap"); + glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles2wLoad("glGenFramebuffers"); + glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles2wLoad("glGenRenderbuffers"); + glGenTextures = (PFNGLGENTEXTURESPROC)gles2wLoad("glGenTextures"); + glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles2wLoad("glGetActiveAttrib"); + glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles2wLoad("glGetActiveUniform"); + glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles2wLoad("glGetAttachedShaders"); + glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles2wLoad("glGetAttribLocation"); + glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles2wLoad("glGetBooleanv"); + glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles2wLoad("glGetBufferParameteriv"); + glGetError = (PFNGLGETERRORPROC)gles2wLoad("glGetError"); + glGetFloatv = (PFNGLGETFLOATVPROC)gles2wLoad("glGetFloatv"); + glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles2wLoad("glGetFramebufferAttachmentParameteriv"); + glGetIntegerv = (PFNGLGETINTEGERVPROC)gles2wLoad("glGetIntegerv"); + glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles2wLoad("glGetProgramiv"); + glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles2wLoad("glGetProgramInfoLog"); + glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles2wLoad("glGetRenderbufferParameteriv"); + glGetShaderiv = (PFNGLGETSHADERIVPROC)gles2wLoad("glGetShaderiv"); + glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles2wLoad("glGetShaderInfoLog"); + glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles2wLoad("glGetShaderPrecisionFormat"); + glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles2wLoad("glGetShaderSource"); + glGetString = (PFNGLGETSTRINGPROC)gles2wLoad("glGetString"); + glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles2wLoad("glGetTexParameterfv"); + glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles2wLoad("glGetTexParameteriv"); + glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles2wLoad("glGetUniformfv"); + glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles2wLoad("glGetUniformiv"); + glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles2wLoad("glGetUniformLocation"); + glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles2wLoad("glGetVertexAttribfv"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles2wLoad("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles2wLoad("glGetVertexAttribPointerv"); + glHint = (PFNGLHINTPROC)gles2wLoad("glHint"); + glIsBuffer = (PFNGLISBUFFERPROC)gles2wLoad("glIsBuffer"); + glIsEnabled = (PFNGLISENABLEDPROC)gles2wLoad("glIsEnabled"); + glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles2wLoad("glIsFramebuffer"); + glIsProgram = (PFNGLISPROGRAMPROC)gles2wLoad("glIsProgram"); + glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles2wLoad("glIsRenderbuffer"); + glIsShader = (PFNGLISSHADERPROC)gles2wLoad("glIsShader"); + glIsTexture = (PFNGLISTEXTUREPROC)gles2wLoad("glIsTexture"); + glLineWidth = (PFNGLLINEWIDTHPROC)gles2wLoad("glLineWidth"); + glLinkProgram = (PFNGLLINKPROGRAMPROC)gles2wLoad("glLinkProgram"); + glPixelStorei = (PFNGLPIXELSTOREIPROC)gles2wLoad("glPixelStorei"); + glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles2wLoad("glPolygonOffset"); + glReadPixels = (PFNGLREADPIXELSPROC)gles2wLoad("glReadPixels"); + glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles2wLoad("glReleaseShaderCompiler"); + glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles2wLoad("glRenderbufferStorage"); + glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles2wLoad("glSampleCoverage"); + glScissor = (PFNGLSCISSORPROC)gles2wLoad("glScissor"); + glShaderBinary = (PFNGLSHADERBINARYPROC)gles2wLoad("glShaderBinary"); + glShaderSource = (PFNGLSHADERSOURCEPROC)gles2wLoad("glShaderSource"); + glStencilFunc = (PFNGLSTENCILFUNCPROC)gles2wLoad("glStencilFunc"); + glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles2wLoad("glStencilFuncSeparate"); + glStencilMask = (PFNGLSTENCILMASKPROC)gles2wLoad("glStencilMask"); + glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles2wLoad("glStencilMaskSeparate"); + glStencilOp = (PFNGLSTENCILOPPROC)gles2wLoad("glStencilOp"); + glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles2wLoad("glStencilOpSeparate"); + glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles2wLoad("glTexImage2D"); + glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles2wLoad("glTexParameterf"); + glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles2wLoad("glTexParameterfv"); + glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles2wLoad("glTexParameteri"); + glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles2wLoad("glTexParameteriv"); + glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles2wLoad("glTexSubImage2D"); + glUniform1f = (PFNGLUNIFORM1FPROC)gles2wLoad("glUniform1f"); + glUniform1fv = (PFNGLUNIFORM1FVPROC)gles2wLoad("glUniform1fv"); + glUniform1i = (PFNGLUNIFORM1IPROC)gles2wLoad("glUniform1i"); + glUniform1iv = (PFNGLUNIFORM1IVPROC)gles2wLoad("glUniform1iv"); + glUniform2f = (PFNGLUNIFORM2FPROC)gles2wLoad("glUniform2f"); + glUniform2fv = (PFNGLUNIFORM2FVPROC)gles2wLoad("glUniform2fv"); + glUniform2i = (PFNGLUNIFORM2IPROC)gles2wLoad("glUniform2i"); + glUniform2iv = (PFNGLUNIFORM2IVPROC)gles2wLoad("glUniform2iv"); + glUniform3f = (PFNGLUNIFORM3FPROC)gles2wLoad("glUniform3f"); + glUniform3fv = (PFNGLUNIFORM3FVPROC)gles2wLoad("glUniform3fv"); + glUniform3i = (PFNGLUNIFORM3IPROC)gles2wLoad("glUniform3i"); + glUniform3iv = (PFNGLUNIFORM3IVPROC)gles2wLoad("glUniform3iv"); + glUniform4f = (PFNGLUNIFORM4FPROC)gles2wLoad("glUniform4f"); + glUniform4fv = (PFNGLUNIFORM4FVPROC)gles2wLoad("glUniform4fv"); + glUniform4i = (PFNGLUNIFORM4IPROC)gles2wLoad("glUniform4i"); + glUniform4iv = (PFNGLUNIFORM4IVPROC)gles2wLoad("glUniform4iv"); + glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles2wLoad("glUniformMatrix2fv"); + glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles2wLoad("glUniformMatrix3fv"); + glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles2wLoad("glUniformMatrix4fv"); + glUseProgram = (PFNGLUSEPROGRAMPROC)gles2wLoad("glUseProgram"); + glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles2wLoad("glValidateProgram"); + glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles2wLoad("glVertexAttrib1f"); + glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles2wLoad("glVertexAttrib1fv"); + glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles2wLoad("glVertexAttrib2f"); + glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles2wLoad("glVertexAttrib2fv"); + glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles2wLoad("glVertexAttrib3f"); + glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles2wLoad("glVertexAttrib3fv"); + glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles2wLoad("glVertexAttrib4f"); + glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles2wLoad("glVertexAttrib4fv"); + glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles2wLoad("glVertexAttribPointer"); + glViewport = (PFNGLVIEWPORTPROC)gles2wLoad("glViewport"); + + +#if defined(GL_AMD_framebuffer_multisample_advanced) + glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); + glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) + glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles2wLoad("glGetPerfMonitorGroupsAMD"); + glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glGetPerfMonitorCountersAMD"); + glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorGroupStringAMD"); + glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorCounterStringAMD"); + glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles2wLoad("glGetPerfMonitorCounterInfoAMD"); + glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles2wLoad("glGenPerfMonitorsAMD"); + glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles2wLoad("glDeletePerfMonitorsAMD"); + glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glSelectPerfMonitorCountersAMD"); + glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles2wLoad("glBeginPerfMonitorAMD"); + glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles2wLoad("glEndPerfMonitorAMD"); + glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles2wLoad("glGetPerfMonitorCounterDataAMD"); +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) + glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles2wLoad("glBlitFramebufferANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) + glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles2wLoad("glRenderbufferStorageMultisampleANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) + glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles2wLoad("glDrawArraysInstancedANGLE"); + glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles2wLoad("glDrawElementsInstancedANGLE"); + glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles2wLoad("glVertexAttribDivisorANGLE"); +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) + glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles2wLoad("glGetTranslatedShaderSourceANGLE"); +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) + glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles2wLoad("glCopyTextureLevelsAPPLE"); +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) + glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles2wLoad("glRenderbufferStorageMultisampleAPPLE"); + glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles2wLoad("glResolveMultisampleFramebufferAPPLE"); +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) + glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles2wLoad("glFenceSyncAPPLE"); + glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles2wLoad("glIsSyncAPPLE"); + glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles2wLoad("glDeleteSyncAPPLE"); + glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles2wLoad("glClientWaitSyncAPPLE"); + glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles2wLoad("glWaitSyncAPPLE"); + glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles2wLoad("glGetInteger64vAPPLE"); + glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles2wLoad("glGetSyncivAPPLE"); +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) + glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTexStorageEXT"); + + glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTextureStorageEXT"); +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) + glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawArraysInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) + glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles2wLoad("glBindFragDataLocationIndexedEXT"); + glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles2wLoad("glBindFragDataLocationEXT"); + glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles2wLoad("glGetProgramResourceLocationIndexEXT"); + glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles2wLoad("glGetFragDataIndexEXT"); +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) + glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles2wLoad("glBufferStorageEXT"); +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) + glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles2wLoad("glClearTexImageEXT"); + glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles2wLoad("glClearTexSubImageEXT"); +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) + glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles2wLoad("glClipControlEXT"); +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) + glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles2wLoad("glCopyImageSubDataEXT"); +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) + glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles2wLoad("glLabelObjectEXT"); + glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles2wLoad("glGetObjectLabelEXT"); +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) + glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles2wLoad("glInsertEventMarkerEXT"); + glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles2wLoad("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles2wLoad("glPopGroupMarkerEXT"); +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) + glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles2wLoad("glDiscardFramebufferEXT"); +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) + glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles2wLoad("glGenQueriesEXT"); + glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles2wLoad("glDeleteQueriesEXT"); + glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles2wLoad("glIsQueryEXT"); + glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles2wLoad("glBeginQueryEXT"); + glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles2wLoad("glEndQueryEXT"); + glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles2wLoad("glQueryCounterEXT"); + glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles2wLoad("glGetQueryivEXT"); + glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles2wLoad("glGetQueryObjectivEXT"); + glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles2wLoad("glGetQueryObjectuivEXT"); + glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles2wLoad("glGetQueryObjecti64vEXT"); + glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles2wLoad("glGetQueryObjectui64vEXT"); + glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles2wLoad("glGetInteger64vEXT"); +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) + glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles2wLoad("glDrawBuffersEXT"); +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) + glEnableiEXT = (PFNGLENABLEIEXTPROC)gles2wLoad("glEnableiEXT"); + glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles2wLoad("glDisableiEXT"); + glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles2wLoad("glBlendEquationiEXT"); + glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles2wLoad("glBlendEquationSeparateiEXT"); + glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles2wLoad("glBlendFunciEXT"); + glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles2wLoad("glBlendFuncSeparateiEXT"); + glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles2wLoad("glColorMaskiEXT"); + glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles2wLoad("glIsEnablediEXT"); +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) + glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsBaseVertexEXT"); + glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawRangeElementsBaseVertexEXT"); + glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexEXT"); + glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glMultiDrawElementsBaseVertexEXT"); +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) + glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles2wLoad("glDrawArraysInstancedEXT"); + glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles2wLoad("glDrawElementsInstancedEXT"); +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) + glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles2wLoad("glDrawTransformFeedbackEXT"); + glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles2wLoad("glDrawTransformFeedbackInstancedEXT"); +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) + glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glBufferStorageExternalEXT"); + glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glNamedBufferStorageExternalEXT"); +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) + glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles2wLoad("glFramebufferTextureEXT"); +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) + glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles2wLoad("glVertexAttribDivisorEXT"); +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) + glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles2wLoad("glMapBufferRangeEXT"); + glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles2wLoad("glFlushMappedBufferRangeEXT"); +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) + glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles2wLoad("glGetUnsignedBytevEXT"); + glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles2wLoad("glGetUnsignedBytei_vEXT"); + glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles2wLoad("glDeleteMemoryObjectsEXT"); + glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles2wLoad("glIsMemoryObjectEXT"); + glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles2wLoad("glCreateMemoryObjectsEXT"); + glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glMemoryObjectParameterivEXT"); + glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glGetMemoryObjectParameterivEXT"); + glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles2wLoad("glTexStorageMem2DEXT"); + glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem2DMultisampleEXT"); + glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles2wLoad("glTexStorageMem3DEXT"); + glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem3DMultisampleEXT"); + glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glBufferStorageMemEXT"); + + glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles2wLoad("glTextureStorageMem2DEXT"); + glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem2DMultisampleEXT"); + glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles2wLoad("glTextureStorageMem3DEXT"); + glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem3DMultisampleEXT"); + glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glNamedBufferStorageMemEXT"); +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) + glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles2wLoad("glImportMemoryFdEXT"); +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) + glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles2wLoad("glImportMemoryWin32HandleEXT"); + glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles2wLoad("glImportMemoryWin32NameEXT"); +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) + glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles2wLoad("glMultiDrawArraysEXT"); + glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles2wLoad("glMultiDrawElementsEXT"); +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) + glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles2wLoad("glMultiDrawArraysIndirectEXT"); + glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles2wLoad("glMultiDrawElementsIndirectEXT"); +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) + glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles2wLoad("glRenderbufferStorageMultisampleEXT"); + glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles2wLoad("glFramebufferTexture2DMultisampleEXT"); +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) + glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles2wLoad("glReadBufferIndexedEXT"); + glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles2wLoad("glDrawBuffersIndexedEXT"); + glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles2wLoad("glGetIntegeri_vEXT"); +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) + glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles2wLoad("glPolygonOffsetClampEXT"); +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) + glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles2wLoad("glPrimitiveBoundingBoxEXT"); +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) + glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles2wLoad("glRasterSamplesEXT"); +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) + glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles2wLoad("glGetGraphicsResetStatusEXT"); + glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles2wLoad("glReadnPixelsEXT"); + glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles2wLoad("glGetnUniformfvEXT"); + glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles2wLoad("glGetnUniformivEXT"); +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) + glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles2wLoad("glGenSemaphoresEXT"); + glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles2wLoad("glDeleteSemaphoresEXT"); + glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles2wLoad("glIsSemaphoreEXT"); + glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glSemaphoreParameterui64vEXT"); + glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glGetSemaphoreParameterui64vEXT"); + glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles2wLoad("glWaitSemaphoreEXT"); + glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles2wLoad("glSignalSemaphoreEXT"); +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) + glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles2wLoad("glImportSemaphoreFdEXT"); +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) + glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles2wLoad("glImportSemaphoreWin32HandleEXT"); + glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles2wLoad("glImportSemaphoreWin32NameEXT"); +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) + glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles2wLoad("glActiveShaderProgramEXT"); + glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles2wLoad("glBindProgramPipelineEXT"); + glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles2wLoad("glCreateShaderProgramvEXT"); + glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles2wLoad("glDeleteProgramPipelinesEXT"); + glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles2wLoad("glGenProgramPipelinesEXT"); + glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles2wLoad("glGetProgramPipelineInfoLogEXT"); + glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles2wLoad("glGetProgramPipelineivEXT"); + glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles2wLoad("glIsProgramPipelineEXT"); + glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles2wLoad("glProgramParameteriEXT"); + glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles2wLoad("glProgramUniform1fEXT"); + glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles2wLoad("glProgramUniform1fvEXT"); + glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles2wLoad("glProgramUniform1iEXT"); + glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles2wLoad("glProgramUniform1ivEXT"); + glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles2wLoad("glProgramUniform2fEXT"); + glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles2wLoad("glProgramUniform2fvEXT"); + glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles2wLoad("glProgramUniform2iEXT"); + glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles2wLoad("glProgramUniform2ivEXT"); + glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles2wLoad("glProgramUniform3fEXT"); + glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles2wLoad("glProgramUniform3fvEXT"); + glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles2wLoad("glProgramUniform3iEXT"); + glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles2wLoad("glProgramUniform3ivEXT"); + glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles2wLoad("glProgramUniform4fEXT"); + glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles2wLoad("glProgramUniform4fvEXT"); + glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles2wLoad("glProgramUniform4iEXT"); + glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles2wLoad("glProgramUniform4ivEXT"); + glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles2wLoad("glProgramUniformMatrix2fvEXT"); + glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles2wLoad("glProgramUniformMatrix3fvEXT"); + glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles2wLoad("glProgramUniformMatrix4fvEXT"); + glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles2wLoad("glUseProgramStagesEXT"); + glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles2wLoad("glValidateProgramPipelineEXT"); + + glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles2wLoad("glProgramUniform1uiEXT"); + glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles2wLoad("glProgramUniform2uiEXT"); + glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles2wLoad("glProgramUniform3uiEXT"); + glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles2wLoad("glProgramUniform4uiEXT"); + glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles2wLoad("glProgramUniform1uivEXT"); + glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles2wLoad("glProgramUniform2uivEXT"); + glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles2wLoad("glProgramUniform3uivEXT"); + glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles2wLoad("glProgramUniform4uivEXT"); + glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x3fvEXT"); + glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x2fvEXT"); + glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x4fvEXT"); + glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x2fvEXT"); + glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x4fvEXT"); + glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x3fvEXT"); +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) + glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles2wLoad("glFramebufferFetchBarrierEXT"); +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) + glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glFramebufferPixelLocalStorageSizeEXT"); + glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); + glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles2wLoad("glClearPixelLocalStorageuiEXT"); +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) + glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles2wLoad("glTexPageCommitmentEXT"); +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) + glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles2wLoad("glPatchParameteriEXT"); +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) + glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles2wLoad("glTexParameterIivEXT"); + glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles2wLoad("glTexParameterIuivEXT"); + glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles2wLoad("glGetTexParameterIivEXT"); + glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles2wLoad("glGetTexParameterIuivEXT"); + glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glSamplerParameterIivEXT"); + glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glSamplerParameterIuivEXT"); + glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glGetSamplerParameterIivEXT"); + glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glGetSamplerParameterIuivEXT"); +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) + glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles2wLoad("glTexBufferEXT"); + glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles2wLoad("glTexBufferRangeEXT"); +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) + glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles2wLoad("glTexStorage1DEXT"); + glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles2wLoad("glTexStorage2DEXT"); + glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles2wLoad("glTexStorage3DEXT"); + + glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles2wLoad("glTextureStorage1DEXT"); + glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles2wLoad("glTextureStorage2DEXT"); + glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles2wLoad("glTextureStorage3DEXT"); +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) + glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles2wLoad("glTextureViewEXT"); +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) + glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles2wLoad("glCreateSemaphoresNV"); + glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glSemaphoreParameterivNV"); + glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glGetSemaphoreParameterivNV"); +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) + glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glAcquireKeyedMutexWin32EXT"); + glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glReleaseKeyedMutexWin32EXT"); +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) + glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles2wLoad("glWindowRectanglesEXT"); +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) + glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles2wLoad("glGetTextureHandleIMG"); + glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles2wLoad("glGetTextureSamplerHandleIMG"); + glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glUniformHandleui64IMG"); + glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glUniformHandleui64vIMG"); + glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glProgramUniformHandleui64IMG"); + glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glProgramUniformHandleui64vIMG"); +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) + glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DDownsampleIMG"); + glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTextureLayerDownsampleIMG"); +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) + glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles2wLoad("glRenderbufferStorageMultisampleIMG"); + glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DMultisampleIMG"); +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) + glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles2wLoad("glApplyFramebufferAttachmentCMAAINTEL"); +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) + glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles2wLoad("glBeginPerfQueryINTEL"); + glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles2wLoad("glCreatePerfQueryINTEL"); + glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles2wLoad("glDeletePerfQueryINTEL"); + glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles2wLoad("glEndPerfQueryINTEL"); + glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles2wLoad("glGetFirstPerfQueryIdINTEL"); + glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles2wLoad("glGetNextPerfQueryIdINTEL"); + glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles2wLoad("glGetPerfCounterInfoINTEL"); + glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles2wLoad("glGetPerfQueryDataINTEL"); + glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles2wLoad("glGetPerfQueryIdByNameINTEL"); + glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles2wLoad("glGetPerfQueryInfoINTEL"); +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) + glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles2wLoad("glBlendBarrierKHR"); +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) + glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("glDebugMessageControlKHR"); + glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles2wLoad("glDebugMessageInsertKHR"); + glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles2wLoad("glDebugMessageCallbackKHR"); + glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles2wLoad("glGetDebugMessageLogKHR"); + glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles2wLoad("glPushDebugGroupKHR"); + glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles2wLoad("glPopDebugGroupKHR"); + glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles2wLoad("glObjectLabelKHR"); + glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles2wLoad("glGetObjectLabelKHR"); + glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles2wLoad("glObjectPtrLabelKHR"); + glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles2wLoad("glGetObjectPtrLabelKHR"); + glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles2wLoad("glGetPointervKHR"); +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) + glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles2wLoad("glGetGraphicsResetStatusKHR"); + glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles2wLoad("glReadnPixelsKHR"); + glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles2wLoad("glGetnUniformfvKHR"); + glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles2wLoad("glGetnUniformivKHR"); + glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles2wLoad("glGetnUniformuivKHR"); +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) + glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles2wLoad("glMaxShaderCompilerThreadsKHR"); +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) + glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles2wLoad("glFramebufferParameteriMESA"); + glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles2wLoad("glGetFramebufferParameterivMESA"); +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) + glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles2wLoad("glGetTextureHandleNV"); + glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles2wLoad("glGetTextureSamplerHandleNV"); + glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glMakeTextureHandleResidentNV"); + glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeTextureHandleNonResidentNV"); + glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles2wLoad("glGetImageHandleNV"); + glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glMakeImageHandleResidentNV"); + glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeImageHandleNonResidentNV"); + glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles2wLoad("glUniformHandleui64NV"); + glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glUniformHandleui64vNV"); + glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles2wLoad("glProgramUniformHandleui64NV"); + glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glProgramUniformHandleui64vNV"); + glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glIsTextureHandleResidentNV"); + glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glIsImageHandleResidentNV"); +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) + glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles2wLoad("glBlendParameteriNV"); + glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles2wLoad("glBlendBarrierNV"); +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) + glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles2wLoad("glViewportPositionWScaleNV"); +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) + glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles2wLoad("glBeginConditionalRenderNV"); + glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles2wLoad("glEndConditionalRenderNV"); +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) + glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles2wLoad("glSubpixelPrecisionBiasNV"); +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) + glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles2wLoad("glConservativeRasterParameteriNV"); +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) + glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles2wLoad("glCopyBufferSubDataNV"); +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) + glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles2wLoad("glCoverageMaskNV"); + glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles2wLoad("glCoverageOperationNV"); +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) + glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles2wLoad("glDrawBuffersNV"); +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) + glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles2wLoad("glDrawArraysInstancedNV"); + glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles2wLoad("glDrawElementsInstancedNV"); +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) + glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles2wLoad("glDrawVkImageNV"); + glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles2wLoad("glGetVkProcAddrNV"); + glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles2wLoad("glWaitVkSemaphoreNV"); + glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles2wLoad("glSignalVkSemaphoreNV"); + glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles2wLoad("glSignalVkFenceNV"); +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) + glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles2wLoad("glDeleteFencesNV"); + glGenFencesNV = (PFNGLGENFENCESNVPROC)gles2wLoad("glGenFencesNV"); + glIsFenceNV = (PFNGLISFENCENVPROC)gles2wLoad("glIsFenceNV"); + glTestFenceNV = (PFNGLTESTFENCENVPROC)gles2wLoad("glTestFenceNV"); + glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles2wLoad("glGetFenceivNV"); + glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles2wLoad("glFinishFenceNV"); + glSetFenceNV = (PFNGLSETFENCENVPROC)gles2wLoad("glSetFenceNV"); +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) + glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles2wLoad("glFragmentCoverageColorNV"); +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) + glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles2wLoad("glBlitFramebufferNV"); +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) + glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glCoverageModulationTableNV"); + glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glGetCoverageModulationTableNV"); + glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles2wLoad("glCoverageModulationNV"); +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) + glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles2wLoad("glRenderbufferStorageMultisampleNV"); +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) + glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles2wLoad("glUniform1i64NV"); + glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles2wLoad("glUniform2i64NV"); + glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles2wLoad("glUniform3i64NV"); + glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles2wLoad("glUniform4i64NV"); + glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles2wLoad("glUniform1i64vNV"); + glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles2wLoad("glUniform2i64vNV"); + glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles2wLoad("glUniform3i64vNV"); + glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles2wLoad("glUniform4i64vNV"); + glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles2wLoad("glUniform1ui64NV"); + glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles2wLoad("glUniform2ui64NV"); + glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles2wLoad("glUniform3ui64NV"); + glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles2wLoad("glUniform4ui64NV"); + glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles2wLoad("glUniform1ui64vNV"); + glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles2wLoad("glUniform2ui64vNV"); + glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles2wLoad("glUniform3ui64vNV"); + glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles2wLoad("glUniform4ui64vNV"); + glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles2wLoad("glGetUniformi64vNV"); + + glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles2wLoad("glProgramUniform1i64NV"); + glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles2wLoad("glProgramUniform2i64NV"); + glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles2wLoad("glProgramUniform3i64NV"); + glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles2wLoad("glProgramUniform4i64NV"); + glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles2wLoad("glProgramUniform1i64vNV"); + glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles2wLoad("glProgramUniform2i64vNV"); + glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles2wLoad("glProgramUniform3i64vNV"); + glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles2wLoad("glProgramUniform4i64vNV"); + glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles2wLoad("glProgramUniform1ui64NV"); + glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles2wLoad("glProgramUniform2ui64NV"); + glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles2wLoad("glProgramUniform3ui64NV"); + glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles2wLoad("glProgramUniform4ui64NV"); + glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles2wLoad("glProgramUniform1ui64vNV"); + glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles2wLoad("glProgramUniform2ui64vNV"); + glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles2wLoad("glProgramUniform3ui64vNV"); + glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles2wLoad("glProgramUniform4ui64vNV"); +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) + glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles2wLoad("glVertexAttribDivisorNV"); +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) + glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles2wLoad("glGetInternalformatSampleivNV"); +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) + glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles2wLoad("glGetMemoryObjectDetachedResourcesuivNV"); + glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles2wLoad("glResetMemoryObjectParameterNV"); + glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles2wLoad("glTexAttachMemoryNV"); + glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles2wLoad("glBufferAttachMemoryNV"); + + glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles2wLoad("glTextureAttachMemoryNV"); + glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles2wLoad("glNamedBufferAttachMemoryNV"); +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) + glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glBufferPageCommitmentMemNV"); + glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexPageCommitmentMemNV"); + + glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glNamedBufferPageCommitmentMemNV"); + glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexturePageCommitmentMemNV"); +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) + glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles2wLoad("glDrawMeshTasksNV"); + glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectCountNV"); +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) + glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles2wLoad("glUniformMatrix2x3fvNV"); + glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles2wLoad("glUniformMatrix3x2fvNV"); + glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles2wLoad("glUniformMatrix2x4fvNV"); + glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles2wLoad("glUniformMatrix4x2fvNV"); + glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles2wLoad("glUniformMatrix3x4fvNV"); + glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles2wLoad("glUniformMatrix4x3fvNV"); +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) + glGenPathsNV = (PFNGLGENPATHSNVPROC)gles2wLoad("glGenPathsNV"); + glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles2wLoad("glDeletePathsNV"); + glIsPathNV = (PFNGLISPATHNVPROC)gles2wLoad("glIsPathNV"); + glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles2wLoad("glPathCommandsNV"); + glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles2wLoad("glPathCoordsNV"); + glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles2wLoad("glPathSubCommandsNV"); + glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles2wLoad("glPathSubCoordsNV"); + glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles2wLoad("glPathStringNV"); + glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles2wLoad("glPathGlyphsNV"); + glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles2wLoad("glPathGlyphRangeNV"); + glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles2wLoad("glWeightPathsNV"); + glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles2wLoad("glCopyPathNV"); + glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles2wLoad("glInterpolatePathsNV"); + glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles2wLoad("glTransformPathNV"); + glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles2wLoad("glPathParameterivNV"); + glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles2wLoad("glPathParameteriNV"); + glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles2wLoad("glPathParameterfvNV"); + glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles2wLoad("glPathParameterfNV"); + glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles2wLoad("glPathDashArrayNV"); + glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles2wLoad("glPathStencilFuncNV"); + glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles2wLoad("glPathStencilDepthOffsetNV"); + glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles2wLoad("glStencilFillPathNV"); + glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles2wLoad("glStencilStrokePathNV"); + glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilFillPathInstancedNV"); + glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilStrokePathInstancedNV"); + glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles2wLoad("glPathCoverDepthFuncNV"); + glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles2wLoad("glCoverFillPathNV"); + glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles2wLoad("glCoverStrokePathNV"); + glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glCoverFillPathInstancedNV"); + glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glCoverStrokePathInstancedNV"); + glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles2wLoad("glGetPathParameterivNV"); + glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles2wLoad("glGetPathParameterfvNV"); + glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles2wLoad("glGetPathCommandsNV"); + glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles2wLoad("glGetPathCoordsNV"); + glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles2wLoad("glGetPathDashArrayNV"); + glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles2wLoad("glGetPathMetricsNV"); + glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles2wLoad("glGetPathMetricRangeNV"); + glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles2wLoad("glGetPathSpacingNV"); + glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles2wLoad("glIsPointInFillPathNV"); + glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles2wLoad("glIsPointInStrokePathNV"); + glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles2wLoad("glGetPathLengthNV"); + glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles2wLoad("glPointAlongPathNV"); + + glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles2wLoad("glMatrixLoad3x2fNV"); + glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles2wLoad("glMatrixLoad3x3fNV"); + glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixLoadTranspose3x3fNV"); + glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles2wLoad("glMatrixMult3x2fNV"); + glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles2wLoad("glMatrixMult3x3fNV"); + glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixMultTranspose3x3fNV"); + glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles2wLoad("glStencilThenCoverFillPathNV"); + glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles2wLoad("glStencilThenCoverStrokePathNV"); + glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverFillPathInstancedNV"); + glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverStrokePathInstancedNV"); + glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles2wLoad("glPathGlyphIndexRangeNV"); + + glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathGlyphIndexArrayNV"); + glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathMemoryGlyphIndexArrayNV"); + glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles2wLoad("glProgramPathFragmentInputGenNV"); + glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles2wLoad("glGetProgramResourcefvNV"); + + glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles2wLoad("glMatrixFrustumEXT"); + glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles2wLoad("glMatrixLoadIdentityEXT"); + glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles2wLoad("glMatrixLoadTransposefEXT"); + glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles2wLoad("glMatrixLoadTransposedEXT"); + glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles2wLoad("glMatrixLoadfEXT"); + glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles2wLoad("glMatrixLoaddEXT"); + glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles2wLoad("glMatrixMultTransposefEXT"); + glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles2wLoad("glMatrixMultTransposedEXT"); + glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles2wLoad("glMatrixMultfEXT"); + glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles2wLoad("glMatrixMultdEXT"); + glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles2wLoad("glMatrixOrthoEXT"); + glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles2wLoad("glMatrixPopEXT"); + glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles2wLoad("glMatrixPushEXT"); + glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles2wLoad("glMatrixRotatefEXT"); + glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles2wLoad("glMatrixRotatedEXT"); + glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles2wLoad("glMatrixScalefEXT"); + glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles2wLoad("glMatrixScaledEXT"); + glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles2wLoad("glMatrixTranslatefEXT"); + glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles2wLoad("glMatrixTranslatedEXT"); +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) + glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles2wLoad("glPolygonModeNV"); +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) + glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles2wLoad("glReadBufferNV"); +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) + glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glFramebufferSampleLocationsfvNV"); + glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glNamedFramebufferSampleLocationsfvNV"); + glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles2wLoad("glResolveDepthValuesNV"); +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) + glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles2wLoad("glScissorExclusiveNV"); + glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles2wLoad("glScissorExclusiveArrayvNV"); +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) + glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles2wLoad("glBindShadingRateImageNV"); + glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glGetShadingRateImagePaletteNV"); + glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles2wLoad("glGetShadingRateSampleLocationivNV"); + glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles2wLoad("glShadingRateImageBarrierNV"); + glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glShadingRateImagePaletteNV"); + glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles2wLoad("glShadingRateSampleOrderNV"); + glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles2wLoad("glShadingRateSampleOrderCustomNV"); +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) + glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles2wLoad("glViewportArrayvNV"); + glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles2wLoad("glViewportIndexedfNV"); + glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles2wLoad("glViewportIndexedfvNV"); + glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles2wLoad("glScissorArrayvNV"); + glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles2wLoad("glScissorIndexedNV"); + glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles2wLoad("glScissorIndexedvNV"); + glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles2wLoad("glDepthRangeArrayfvNV"); + glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles2wLoad("glDepthRangeIndexedfNV"); + glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles2wLoad("glGetFloati_vNV"); + glEnableiNV = (PFNGLENABLEINVPROC)gles2wLoad("glEnableiNV"); + glDisableiNV = (PFNGLDISABLEINVPROC)gles2wLoad("glDisableiNV"); + glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles2wLoad("glIsEnablediNV"); +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) + glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles2wLoad("glViewportSwizzleNV"); +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) + glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles2wLoad("glEGLImageTargetTexture2DOES"); + glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles2wLoad("glEGLImageTargetRenderbufferStorageOES"); +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) + glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles2wLoad("glCopyImageSubDataOES"); +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) + glEnableiOES = (PFNGLENABLEIOESPROC)gles2wLoad("glEnableiOES"); + glDisableiOES = (PFNGLDISABLEIOESPROC)gles2wLoad("glDisableiOES"); + glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles2wLoad("glBlendEquationiOES"); + glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles2wLoad("glBlendEquationSeparateiOES"); + glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles2wLoad("glBlendFunciOES"); + glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles2wLoad("glBlendFuncSeparateiOES"); + glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles2wLoad("glColorMaskiOES"); + glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles2wLoad("glIsEnablediOES"); +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) + glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawElementsBaseVertexOES"); + glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawRangeElementsBaseVertexOES"); + glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles2wLoad("glDrawElementsInstancedBaseVertexOES"); +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) + glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles2wLoad("glFramebufferTextureOES"); +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) + glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles2wLoad("glGetProgramBinaryOES"); + glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles2wLoad("glProgramBinaryOES"); +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) + glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles2wLoad("glMapBufferOES"); + glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles2wLoad("glUnmapBufferOES"); + glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles2wLoad("glGetBufferPointervOES"); +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) + glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles2wLoad("glPrimitiveBoundingBoxOES"); +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) + glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles2wLoad("glMinSampleShadingOES"); +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) + glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles2wLoad("glPatchParameteriOES"); +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) + glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles2wLoad("glTexImage3DOES"); + glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles2wLoad("glTexSubImage3DOES"); + glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles2wLoad("glCopyTexSubImage3DOES"); + glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles2wLoad("glCompressedTexImage3DOES"); + glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles2wLoad("glCompressedTexSubImage3DOES"); + glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles2wLoad("glFramebufferTexture3DOES"); +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) + glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles2wLoad("glTexParameterIivOES"); + glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles2wLoad("glTexParameterIuivOES"); + glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles2wLoad("glGetTexParameterIivOES"); + glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles2wLoad("glGetTexParameterIuivOES"); + glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glSamplerParameterIivOES"); + glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glSamplerParameterIuivOES"); + glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glGetSamplerParameterIivOES"); + glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glGetSamplerParameterIuivOES"); +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) + glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles2wLoad("glTexBufferOES"); + glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles2wLoad("glTexBufferRangeOES"); +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) + glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles2wLoad("glTexStorage3DMultisampleOES"); +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) + glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles2wLoad("glTextureViewOES"); +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) + glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles2wLoad("glBindVertexArrayOES"); + glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles2wLoad("glDeleteVertexArraysOES"); + glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles2wLoad("glGenVertexArraysOES"); + glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles2wLoad("glIsVertexArrayOES"); +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) + glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles2wLoad("glViewportArrayvOES"); + glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles2wLoad("glViewportIndexedfOES"); + glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles2wLoad("glViewportIndexedfvOES"); + glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles2wLoad("glScissorArrayvOES"); + glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles2wLoad("glScissorIndexedOES"); + glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles2wLoad("glScissorIndexedvOES"); + glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles2wLoad("glDepthRangeArrayfvOES"); + glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles2wLoad("glDepthRangeIndexedfOES"); + glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles2wLoad("glGetFloati_vOES"); +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) + glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultiviewOVR"); +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) + glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultisampleMultiviewOVR"); +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) + glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles2wLoad("glAlphaFuncQCOM"); +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) + glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles2wLoad("glGetDriverControlsQCOM"); + glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles2wLoad("glGetDriverControlStringQCOM"); + glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glEnableDriverControlQCOM"); + glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glDisableDriverControlQCOM"); +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) + glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles2wLoad("glExtGetTexturesQCOM"); + glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles2wLoad("glExtGetBuffersQCOM"); + glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles2wLoad("glExtGetRenderbuffersQCOM"); + glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles2wLoad("glExtGetFramebuffersQCOM"); + glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles2wLoad("glExtGetTexLevelParameterivQCOM"); + glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles2wLoad("glExtTexObjectStateOverrideiQCOM"); + glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles2wLoad("glExtGetTexSubImageQCOM"); + glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles2wLoad("glExtGetBufferPointervQCOM"); +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) + glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles2wLoad("glExtGetShadersQCOM"); + glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles2wLoad("glExtGetProgramsQCOM"); + glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles2wLoad("glExtIsProgramBinaryQCOM"); + glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles2wLoad("glExtGetProgramBinarySourceQCOM"); +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) + glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles2wLoad("glFramebufferFoveationConfigQCOM"); + glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glFramebufferFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) + glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles2wLoad("glTexEstimateMotionQCOM"); + glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles2wLoad("glTexEstimateMotionRegionsQCOM"); +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) + glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles2wLoad("glExtrapolateTex2DQCOM"); +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) + glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glTextureFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) + glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles2wLoad("glFramebufferFetchBarrierQCOM"); +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) + glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles2wLoad("glShadingRateQCOM"); +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) + glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles2wLoad("glStartTilingQCOM"); + glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles2wLoad("glEndTilingQCOM"); +#endif /* defined(GL_QCOM_tiled_rendering) */ + +} diff --git a/native/cocos/renderer/gfx-gles2/gles2w_auto.h b/native/cocos/renderer/gfx-gles2/gles2w_auto.h new file mode 100644 index 0000000000..e4db5ec0af --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/gles2w_auto.h @@ -0,0 +1,1066 @@ +#pragma once + +void gles2wLoadProcs(); + +/* GL_ES_VERSION_2_0 */ +extern PFNGLACTIVETEXTUREPROC glActiveTexture; +extern PFNGLATTACHSHADERPROC glAttachShader; +extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +extern PFNGLBINDBUFFERPROC glBindBuffer; +extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +extern PFNGLBINDTEXTUREPROC glBindTexture; +extern PFNGLBLENDCOLORPROC glBlendColor; +extern PFNGLBLENDEQUATIONPROC glBlendEquation; +extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +extern PFNGLBLENDFUNCPROC glBlendFunc; +extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +extern PFNGLBUFFERDATAPROC glBufferData; +extern PFNGLBUFFERSUBDATAPROC glBufferSubData; +extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +extern PFNGLCLEARPROC glClear; +extern PFNGLCLEARCOLORPROC glClearColor; +extern PFNGLCLEARDEPTHFPROC glClearDepthf; +extern PFNGLCLEARSTENCILPROC glClearStencil; +extern PFNGLCOLORMASKPROC glColorMask; +extern PFNGLCOMPILESHADERPROC glCompileShader; +extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +extern PFNGLCREATEPROGRAMPROC glCreateProgram; +extern PFNGLCREATESHADERPROC glCreateShader; +extern PFNGLCULLFACEPROC glCullFace; +extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; +extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +extern PFNGLDELETEPROGRAMPROC glDeleteProgram; +extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +extern PFNGLDELETESHADERPROC glDeleteShader; +extern PFNGLDELETETEXTURESPROC glDeleteTextures; +extern PFNGLDEPTHFUNCPROC glDepthFunc; +extern PFNGLDEPTHMASKPROC glDepthMask; +extern PFNGLDEPTHRANGEFPROC glDepthRangef; +extern PFNGLDETACHSHADERPROC glDetachShader; +extern PFNGLDISABLEPROC glDisable; +extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +extern PFNGLDRAWARRAYSPROC glDrawArrays; +extern PFNGLDRAWELEMENTSPROC glDrawElements; +extern PFNGLENABLEPROC glEnable; +extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +extern PFNGLFINISHPROC glFinish; +extern PFNGLFLUSHPROC glFlush; +extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +extern PFNGLFRONTFACEPROC glFrontFace; +extern PFNGLGENBUFFERSPROC glGenBuffers; +extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +extern PFNGLGENTEXTURESPROC glGenTextures; +extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +extern PFNGLGETBOOLEANVPROC glGetBooleanv; +extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +extern PFNGLGETERRORPROC glGetError; +extern PFNGLGETFLOATVPROC glGetFloatv; +extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +extern PFNGLGETINTEGERVPROC glGetIntegerv; +extern PFNGLGETPROGRAMIVPROC glGetProgramiv; +extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +extern PFNGLGETSHADERIVPROC glGetShaderiv; +extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; +extern PFNGLGETSTRINGPROC glGetString; +extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +extern PFNGLGETUNIFORMFVPROC glGetUniformfv; +extern PFNGLGETUNIFORMIVPROC glGetUniformiv; +extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +extern PFNGLHINTPROC glHint; +extern PFNGLISBUFFERPROC glIsBuffer; +extern PFNGLISENABLEDPROC glIsEnabled; +extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +extern PFNGLISPROGRAMPROC glIsProgram; +extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +extern PFNGLISSHADERPROC glIsShader; +extern PFNGLISTEXTUREPROC glIsTexture; +extern PFNGLLINEWIDTHPROC glLineWidth; +extern PFNGLLINKPROGRAMPROC glLinkProgram; +extern PFNGLPIXELSTOREIPROC glPixelStorei; +extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; +extern PFNGLREADPIXELSPROC glReadPixels; +extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +extern PFNGLSCISSORPROC glScissor; +extern PFNGLSHADERBINARYPROC glShaderBinary; +extern PFNGLSHADERSOURCEPROC glShaderSource; +extern PFNGLSTENCILFUNCPROC glStencilFunc; +extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +extern PFNGLSTENCILMASKPROC glStencilMask; +extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +extern PFNGLSTENCILOPPROC glStencilOp; +extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +extern PFNGLTEXIMAGE2DPROC glTexImage2D; +extern PFNGLTEXPARAMETERFPROC glTexParameterf; +extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; +extern PFNGLTEXPARAMETERIPROC glTexParameteri; +extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; +extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +extern PFNGLUNIFORM1FPROC glUniform1f; +extern PFNGLUNIFORM1FVPROC glUniform1fv; +extern PFNGLUNIFORM1IPROC glUniform1i; +extern PFNGLUNIFORM1IVPROC glUniform1iv; +extern PFNGLUNIFORM2FPROC glUniform2f; +extern PFNGLUNIFORM2FVPROC glUniform2fv; +extern PFNGLUNIFORM2IPROC glUniform2i; +extern PFNGLUNIFORM2IVPROC glUniform2iv; +extern PFNGLUNIFORM3FPROC glUniform3f; +extern PFNGLUNIFORM3FVPROC glUniform3fv; +extern PFNGLUNIFORM3IPROC glUniform3i; +extern PFNGLUNIFORM3IVPROC glUniform3iv; +extern PFNGLUNIFORM4FPROC glUniform4f; +extern PFNGLUNIFORM4FVPROC glUniform4fv; +extern PFNGLUNIFORM4IPROC glUniform4i; +extern PFNGLUNIFORM4IVPROC glUniform4iv; +extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +extern PFNGLUSEPROGRAMPROC glUseProgram; +extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; +extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +extern PFNGLVIEWPORTPROC glViewport; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +extern PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +extern PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +extern PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +extern PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +extern PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +extern PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +extern PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +extern PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +extern PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +extern PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +extern PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +extern PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +extern PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +extern PFNGLISQUERYEXTPROC glIsQueryEXT; +extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +extern PFNGLENDQUERYEXTPROC glEndQueryEXT; +extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +extern PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +extern PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +extern PFNGLENABLEIEXTPROC glEnableiEXT; +extern PFNGLDISABLEIEXTPROC glDisableiEXT; +extern PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +extern PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +extern PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +extern PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +extern PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +extern PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +extern PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +extern PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +extern PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +extern PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +extern PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +extern PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +extern PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +extern PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +extern PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +extern PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +extern PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +extern PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +extern PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +extern PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +extern PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +extern PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +extern PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +extern PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +extern PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +extern PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +extern PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +extern PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +extern PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +extern PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +extern PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +extern PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +extern PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +extern PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +extern PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +extern PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +extern PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +extern PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +extern PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +extern PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +extern PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +extern PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +extern PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +extern PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +extern PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +extern PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +extern PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +extern PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +extern PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +extern PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +extern PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +extern PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +extern PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +extern PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +extern PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +extern PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +extern PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +extern PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +extern PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +extern PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +extern PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +extern PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +extern PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +extern PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +extern PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +extern PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +extern PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +extern PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +extern PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +extern PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +extern PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +extern PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +extern PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +extern PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +extern PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +extern PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +extern PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +extern PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +extern PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +extern PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +extern PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +extern PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +extern PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +extern PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +extern PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +extern PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +extern PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +extern PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +extern PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +extern PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +extern PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +extern PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +extern PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +extern PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +extern PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +extern PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +extern PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +extern PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +extern PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +extern PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +extern PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +extern PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +extern PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +extern PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +extern PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +extern PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +extern PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +extern PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +extern PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +extern PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +extern PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +extern PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +extern PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +extern PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +extern PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +extern PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +extern PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +extern PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +extern PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +extern PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +extern PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +extern PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +extern PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +extern PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +extern PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +extern PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +extern PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +extern PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +extern PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +extern PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +extern PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +extern PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +extern PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +extern PFNGLGENFENCESNVPROC glGenFencesNV; +extern PFNGLISFENCENVPROC glIsFenceNV; +extern PFNGLTESTFENCENVPROC glTestFenceNV; +extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; +extern PFNGLFINISHFENCENVPROC glFinishFenceNV; +extern PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +extern PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +extern PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +extern PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +extern PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +extern PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +extern PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +extern PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +extern PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +extern PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +extern PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +extern PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +extern PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +extern PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +extern PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +extern PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +extern PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +extern PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +extern PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +extern PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +extern PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +extern PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +extern PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +extern PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +extern PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +extern PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +extern PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +extern PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +extern PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +extern PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +extern PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +extern PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +extern PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +extern PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +extern PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +extern PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +extern PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +extern PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +extern PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +extern PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +extern PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +extern PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +extern PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +extern PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +extern PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +extern PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +extern PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +extern PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +extern PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +extern PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +extern PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +extern PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +extern PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +extern PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +extern PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +extern PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +extern PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +extern PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +extern PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +extern PFNGLGENPATHSNVPROC glGenPathsNV; +extern PFNGLDELETEPATHSNVPROC glDeletePathsNV; +extern PFNGLISPATHNVPROC glIsPathNV; +extern PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +extern PFNGLPATHCOORDSNVPROC glPathCoordsNV; +extern PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +extern PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +extern PFNGLPATHSTRINGNVPROC glPathStringNV; +extern PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +extern PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +extern PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +extern PFNGLCOPYPATHNVPROC glCopyPathNV; +extern PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +extern PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +extern PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +extern PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +extern PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +extern PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +extern PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +extern PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +extern PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +extern PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +extern PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +extern PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +extern PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +extern PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +extern PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +extern PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +extern PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +extern PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +extern PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +extern PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +extern PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +extern PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +extern PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +extern PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +extern PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +extern PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +extern PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +extern PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +extern PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +extern PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +extern PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +extern PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +extern PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +extern PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +extern PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +extern PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +extern PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +extern PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +extern PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +extern PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +extern PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +extern PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +extern PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +extern PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +extern PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +extern PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +extern PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +extern PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +extern PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +extern PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +extern PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +extern PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +extern PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +extern PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +extern PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +extern PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +extern PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +extern PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +extern PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +extern PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +extern PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +extern PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +extern PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +extern PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +extern PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +extern PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +extern PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +extern PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +extern PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +extern PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +extern PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +extern PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +extern PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +extern PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +extern PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +extern PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +extern PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +extern PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +extern PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +extern PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +extern PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +extern PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +extern PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +extern PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +extern PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +extern PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +extern PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +extern PFNGLENABLEINVPROC glEnableiNV; +extern PFNGLDISABLEINVPROC glDisableiNV; +extern PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +extern PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +extern PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +extern PFNGLENABLEIOESPROC glEnableiOES; +extern PFNGLDISABLEIOESPROC glDisableiOES; +extern PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +extern PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +extern PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +extern PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +extern PFNGLCOLORMASKIOESPROC glColorMaskiOES; +extern PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +extern PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +extern PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +extern PFNGLMAPBUFFEROESPROC glMapBufferOES; +extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +extern PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +extern PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +extern PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +extern PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +extern PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +extern PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +extern PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +extern PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +extern PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +extern PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +extern PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +extern PFNGLTEXBUFFEROESPROC glTexBufferOES; +extern PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +extern PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +extern PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +extern PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +extern PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +extern PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +extern PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +extern PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +extern PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +extern PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +extern PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +extern PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +extern PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +extern PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +extern PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +extern PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +extern PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +extern PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +extern PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +extern PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +extern PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +extern PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + diff --git a/native/cocos/renderer/gfx-gles3/eglw.h b/native/cocos/renderer/gfx-gles3/eglw.h new file mode 100644 index 0000000000..0ca7801481 --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/eglw.h @@ -0,0 +1,21 @@ +#pragma once + +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #ifdef __OBJC__ + #include + #endif +#else + #define EGL_EGL_PROTOTYPES 0 + #include + #include + #include +#endif + +#define GL_GLES_PROTOTYPES 0 +#include + +#include +#include +#include + +void *eglwLoad(const char *proc); \ No newline at end of file diff --git a/native/cocos/renderer/gfx-gles3/eglw_auto.cpp b/native/cocos/renderer/gfx-gles3/eglw_auto.cpp new file mode 100644 index 0000000000..abd246591e --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/eglw_auto.cpp @@ -0,0 +1,660 @@ +#include "eglw.h" + +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +PFNEGLGETCONFIGSPROC eglGetConfigs; +PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYCONTEXTPROC eglQueryContext; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLQUERYSURFACEPROC eglQuerySurface; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLTERMINATEPROC eglTerminate; +PFNEGLWAITGLPROC eglWaitGL; +PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLQUERYAPIPROC eglQueryAPI; +PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +PFNEGLRELEASETHREADPROC eglReleaseThread; +PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +PFNEGLCREATESYNCPROC eglCreateSync; +PFNEGLDESTROYSYNCPROC eglDestroySync; +PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +PFNEGLCREATEIMAGEPROC eglCreateImage; +PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +PFNEGLFENCENVPROC eglFenceNV; +PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + +void eglwLoadProcs() { + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)eglwLoad("eglGetProcAddress"); + + /* EGL_VERSION_1_0 */ + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)eglwLoad("eglChooseConfig"); + eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)eglwLoad("eglCopyBuffers"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)eglwLoad("eglCreateContext"); + eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)eglwLoad("eglCreatePbufferSurface"); + eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)eglwLoad("eglCreatePixmapSurface"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)eglwLoad("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)eglwLoad("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)eglwLoad("eglDestroySurface"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)eglwLoad("eglGetConfigAttrib"); + eglGetConfigs = (PFNEGLGETCONFIGSPROC)eglwLoad("eglGetConfigs"); + eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)eglwLoad("eglGetCurrentDisplay"); + eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)eglwLoad("eglGetCurrentSurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)eglwLoad("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)eglwLoad("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)eglwLoad("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)eglwLoad("eglMakeCurrent"); + eglQueryContext = (PFNEGLQUERYCONTEXTPROC)eglwLoad("eglQueryContext"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)eglwLoad("eglQueryString"); + eglQuerySurface = (PFNEGLQUERYSURFACEPROC)eglwLoad("eglQuerySurface"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)eglwLoad("eglSwapBuffers"); + eglTerminate = (PFNEGLTERMINATEPROC)eglwLoad("eglTerminate"); + eglWaitGL = (PFNEGLWAITGLPROC)eglwLoad("eglWaitGL"); + eglWaitNative = (PFNEGLWAITNATIVEPROC)eglwLoad("eglWaitNative"); + + + /* EGL_VERSION_1_1 */ + eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)eglwLoad("eglBindTexImage"); + eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)eglwLoad("eglReleaseTexImage"); + eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)eglwLoad("eglSurfaceAttrib"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)eglwLoad("eglSwapInterval"); + + + /* EGL_VERSION_1_2 */ + eglBindAPI = (PFNEGLBINDAPIPROC)eglwLoad("eglBindAPI"); + eglQueryAPI = (PFNEGLQUERYAPIPROC)eglwLoad("eglQueryAPI"); + eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)eglwLoad("eglCreatePbufferFromClientBuffer"); + eglReleaseThread = (PFNEGLRELEASETHREADPROC)eglwLoad("eglReleaseThread"); + eglWaitClient = (PFNEGLWAITCLIENTPROC)eglwLoad("eglWaitClient"); + + + /* EGL_VERSION_1_3 */ + + /* EGL_VERSION_1_4 */ + eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)eglwLoad("eglGetCurrentContext"); + + + /* EGL_VERSION_1_5 */ + eglCreateSync = (PFNEGLCREATESYNCPROC)eglwLoad("eglCreateSync"); + eglDestroySync = (PFNEGLDESTROYSYNCPROC)eglwLoad("eglDestroySync"); + eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)eglwLoad("eglClientWaitSync"); + eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)eglwLoad("eglGetSyncAttrib"); + + eglCreateImage = (PFNEGLCREATEIMAGEPROC)eglwLoad("eglCreateImage"); + eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)eglwLoad("eglDestroyImage"); + + eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)eglwLoad("eglGetPlatformDisplay"); + eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)eglwLoad("eglCreatePlatformWindowSurface"); + eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)eglwLoad("eglCreatePlatformPixmapSurface"); + + eglWaitSync = (PFNEGLWAITSYNCPROC)eglwLoad("eglWaitSync"); + + +#if defined(EGL_ANDROID_blob_cache) + eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)eglwLoad("eglSetBlobCacheFuncsANDROID"); +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) + eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglCreateNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) + eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglGetNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) + eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)eglwLoad("eglDupNativeFenceFDANDROID"); +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) + eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)eglwLoad("eglPresentationTimeANDROID"); +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) + eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)eglwLoad("eglGetCompositorTimingSupportedANDROID"); + eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)eglwLoad("eglGetCompositorTimingANDROID"); + eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)eglwLoad("eglGetNextFrameIdANDROID"); + eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)eglwLoad("eglGetFrameTimestampSupportedANDROID"); + eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)eglwLoad("eglGetFrameTimestampsANDROID"); +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) + eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)eglwLoad("eglQuerySurfacePointerANGLE"); +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) + eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)eglwLoad("eglClientSignalSyncEXT"); +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) + eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)eglwLoad("eglQueryDeviceAttribEXT"); + eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)eglwLoad("eglQueryDeviceStringEXT"); + eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)eglwLoad("eglQueryDevicesEXT"); + eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)eglwLoad("eglQueryDisplayAttribEXT"); +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) + eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)eglwLoad("eglQueryDmaBufFormatsEXT"); + eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)eglwLoad("eglQueryDmaBufModifiersEXT"); +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) + eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)eglwLoad("eglGetOutputLayersEXT"); + eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)eglwLoad("eglGetOutputPortsEXT"); + eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglOutputLayerAttribEXT"); + eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglQueryOutputLayerAttribEXT"); + eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)eglwLoad("eglQueryOutputLayerStringEXT"); + eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglOutputPortAttribEXT"); + eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglQueryOutputPortAttribEXT"); + eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)eglwLoad("eglQueryOutputPortStringEXT"); +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) + eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)eglwLoad("eglGetPlatformDisplayEXT"); + eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)eglwLoad("eglCreatePlatformWindowSurfaceEXT"); + eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)eglwLoad("eglCreatePlatformPixmapSurfaceEXT"); +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) + eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)eglwLoad("eglStreamConsumerOutputEXT"); +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) + eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)eglwLoad("eglSwapBuffersWithDamageEXT"); +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) + eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)eglwLoad("eglUnsignalSyncEXT"); +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) + eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)eglwLoad("eglCreatePixmapSurfaceHI"); +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) + eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)eglwLoad("eglCreateSync64KHR"); +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) + eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)eglwLoad("eglDebugMessageControlKHR"); + eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)eglwLoad("eglQueryDebugKHR"); + eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)eglwLoad("eglLabelObjectKHR"); +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) + eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)eglwLoad("eglQueryDisplayAttribKHR"); +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) + eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)eglwLoad("eglCreateSyncKHR"); + eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)eglwLoad("eglDestroySyncKHR"); + eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)eglwLoad("eglClientWaitSyncKHR"); + eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)eglwLoad("eglGetSyncAttribKHR"); +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) + eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)eglwLoad("eglCreateImageKHR"); + eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)eglwLoad("eglDestroyImageKHR"); +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) + eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)eglwLoad("eglLockSurfaceKHR"); + eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)eglwLoad("eglUnlockSurfaceKHR"); +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) + eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)eglwLoad("eglQuerySurface64KHR"); +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) + eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)eglwLoad("eglSetDamageRegionKHR"); +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) + eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)eglwLoad("eglSignalSyncKHR"); +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) + eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)eglwLoad("eglCreateStreamKHR"); + eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)eglwLoad("eglDestroyStreamKHR"); + eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)eglwLoad("eglStreamAttribKHR"); + eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)eglwLoad("eglQueryStreamKHR"); + eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)eglwLoad("eglQueryStreamu64KHR"); +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) + eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)eglwLoad("eglCreateStreamAttribKHR"); + eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)eglwLoad("eglSetStreamAttribKHR"); + eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)eglwLoad("eglQueryStreamAttribKHR"); + eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)eglwLoad("eglStreamConsumerAcquireAttribKHR"); + eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)eglwLoad("eglStreamConsumerReleaseAttribKHR"); +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) + eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)eglwLoad("eglStreamConsumerGLTextureExternalKHR"); + eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)eglwLoad("eglStreamConsumerAcquireKHR"); + eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)eglwLoad("eglStreamConsumerReleaseKHR"); +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) + eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)eglwLoad("eglGetStreamFileDescriptorKHR"); + eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)eglwLoad("eglCreateStreamFromFileDescriptorKHR"); +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) + eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)eglwLoad("eglQueryStreamTimeKHR"); +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) + eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)eglwLoad("eglCreateStreamProducerSurfaceKHR"); +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) + eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)eglwLoad("eglSwapBuffersWithDamageKHR"); +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) + eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)eglwLoad("eglWaitSyncKHR"); +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) + eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)eglwLoad("eglCreateDRMImageMESA"); + eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)eglwLoad("eglExportDRMImageMESA"); +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) + eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)eglwLoad("eglExportDMABUFImageQueryMESA"); + eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)eglwLoad("eglExportDMABUFImageMESA"); +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) + eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)eglwLoad("eglGetDisplayDriverConfig"); + eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)eglwLoad("eglGetDisplayDriverName"); +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) + eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)eglwLoad("eglSwapBuffersRegionNOK"); +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) + eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)eglwLoad("eglSwapBuffersRegion2NOK"); +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) + eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)eglwLoad("eglQueryNativeDisplayNV"); + eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)eglwLoad("eglQueryNativeWindowNV"); + eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)eglwLoad("eglQueryNativePixmapNV"); +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) + eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)eglwLoad("eglPostSubBufferNV"); +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) + eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)eglwLoad("eglStreamConsumerGLTextureExternalAttribsNV"); +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) + eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)eglwLoad("eglStreamImageConsumerConnectNV"); + eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)eglwLoad("eglQueryStreamConsumerEventNV"); + eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)eglwLoad("eglStreamAcquireImageNV"); + eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)eglwLoad("eglStreamReleaseImageNV"); +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) + eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)eglwLoad("eglStreamFlushNV"); +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) + eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)eglwLoad("eglQueryDisplayAttribNV"); + eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)eglwLoad("eglSetStreamMetadataNV"); + eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)eglwLoad("eglQueryStreamMetadataNV"); +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) + eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)eglwLoad("eglResetStreamNV"); +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) + eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)eglwLoad("eglCreateStreamSyncNV"); +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) + eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)eglwLoad("eglCreateFenceSyncNV"); + eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)eglwLoad("eglDestroySyncNV"); + eglFenceNV = (PFNEGLFENCENVPROC)eglwLoad("eglFenceNV"); + eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)eglwLoad("eglClientWaitSyncNV"); + eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)eglwLoad("eglSignalSyncNV"); + eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)eglwLoad("eglGetSyncAttribNV"); +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) + eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)eglwLoad("eglGetSystemTimeFrequencyNV"); + eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)eglwLoad("eglGetSystemTimeNV"); +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) + eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)eglwLoad("eglCompositorSetContextListEXT"); + eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetContextAttributesEXT"); + eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)eglwLoad("eglCompositorSetWindowListEXT"); + eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetWindowAttributesEXT"); + eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)eglwLoad("eglCompositorBindTexWindowEXT"); + eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)eglwLoad("eglCompositorSetSizeEXT"); + eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)eglwLoad("eglCompositorSwapPolicyEXT"); +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) + eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglBindWaylandDisplayWL"); + eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglUnbindWaylandDisplayWL"); + eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)eglwLoad("eglQueryWaylandBufferWL"); +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) + eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)eglwLoad("eglCreateWaylandBufferFromImageWL"); +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + +} diff --git a/native/cocos/renderer/gfx-gles3/eglw_auto.h b/native/cocos/renderer/gfx-gles3/eglw_auto.h new file mode 100644 index 0000000000..b1390af355 --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/eglw_auto.h @@ -0,0 +1,332 @@ +#pragma once + +void eglwLoadProcs(); + +extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; +extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +extern PFNEGLCREATECONTEXTPROC eglCreateContext; +extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; +extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +extern PFNEGLGETCONFIGSPROC eglGetConfigs; +extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +extern PFNEGLGETDISPLAYPROC eglGetDisplay; +extern PFNEGLGETERRORPROC eglGetError; +extern PFNEGLINITIALIZEPROC eglInitialize; +extern PFNEGLMAKECURRENTPROC eglMakeCurrent; +extern PFNEGLQUERYCONTEXTPROC eglQueryContext; +extern PFNEGLQUERYSTRINGPROC eglQueryString; +extern PFNEGLQUERYSURFACEPROC eglQuerySurface; +extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +extern PFNEGLTERMINATEPROC eglTerminate; +extern PFNEGLWAITGLPROC eglWaitGL; +extern PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +extern PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +extern PFNEGLBINDAPIPROC eglBindAPI; +extern PFNEGLQUERYAPIPROC eglQueryAPI; +extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +extern PFNEGLRELEASETHREADPROC eglReleaseThread; +extern PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +extern PFNEGLCREATESYNCPROC eglCreateSync; +extern PFNEGLDESTROYSYNCPROC eglDestroySync; +extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +extern PFNEGLCREATEIMAGEPROC eglCreateImage; +extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +extern PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +extern PFNEGLFENCENVPROC eglFenceNV; +extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + diff --git a/native/cocos/renderer/gfx-gles3/gles3w.cpp b/native/cocos/renderer/gfx-gles3/gles3w.cpp index 57912235d0..785a7e7fc0 100644 --- a/native/cocos/renderer/gfx-gles3/gles3w.cpp +++ b/native/cocos/renderer/gfx-gles3/gles3w.cpp @@ -23,6 +23,21 @@ THE SOFTWARE. ****************************************************************************/ #include "gles3w.h" +bool gles3wInit(void) { + if (!gles3wOpen()) { + return false; + } + + eglwLoadProcs(); + gles3wLoadProcs(); + + return true; +} + +void* eglwLoad(const char* proc) { + return gles3wLoad(proc); +} + #if defined(_WIN32) && !defined(ANDROID) #define WIN32_LEAN_AND_MEAN 1 #include @@ -30,30 +45,21 @@ THE SOFTWARE. static HMODULE libegl = NULL; static HMODULE libgles = NULL; -static bool open_libgl(void) { +bool gles3wOpen() { libegl = LoadLibraryA("libEGL.dll"); libgles = LoadLibraryA("libGLESv2.dll"); return (libegl && libgles); } -static void *get_egl_proc(const char *proc) { +void *gles3wLoad(const char *proc) { void *res = nullptr; if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); if (!res) res = (void *)GetProcAddress(libegl, proc); return res; } - -static void *get_gles_proc(const char *proc) { - void *res = (void *)eglGetProcAddress(proc); - if (!res) res = (void *)GetProcAddress(libgles, proc); - return res; -} #elif defined(__EMSCRIPTEN__) -static void open_libgl() {} -static void *get_egl_proc(const char *proc) { - return (void *)eglGetProcAddress(proc); -} -static void *get_gles_proc(const char *proc) { +bool gles3wOpen() { return true; } +void *gles3wLoad(const char *proc) { return (void *)eglGetProcAddress(proc); } #else @@ -62,672 +68,18 @@ static void *get_gles_proc(const char *proc) { static void *libegl = nullptr; static void *libgles = nullptr; -static bool open_libgl(void) { +bool gles3wOpen() { libegl = dlopen("libEGL.so", RTLD_LAZY | RTLD_GLOBAL); libgles = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); return (libegl && libgles); } -static void *get_egl_proc(const char *proc) { +void *gles3wLoad(const char *proc) { void *res = nullptr; if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); if (!res) res = dlsym(libegl, proc); return res; } - -static void *get_gles_proc(const char *proc) { - void *res = (void *)eglGetProcAddress(proc); - if (!res) res = dlsym(libgles, proc); - return res; -} #endif -static void load_procs(void); - -bool gles3wInit(void) { - if (!open_libgl()) { - return 0; - } - - load_procs(); - - return 1; -} - -PFNEGLCHOOSECONFIGPROC eglChooseConfig; -PFNEGLCREATECONTEXTPROC eglCreateContext; -PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -PFNEGLDESTROYSURFACEPROC eglDestroySurface; -PFNEGLGETDISPLAYPROC eglGetDisplay; -PFNEGLGETERRORPROC eglGetError; -PFNEGLINITIALIZEPROC eglInitialize; -PFNEGLMAKECURRENTPROC eglMakeCurrent; -PFNEGLQUERYSTRINGPROC eglQueryString; -PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -PFNEGLSWAPINTERVALPROC eglSwapInterval; -PFNEGLBINDAPIPROC eglBindAPI; -PFNEGLGETPROCADDRESSPROC eglGetProcAddress; -PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; - -PFNGLACTIVETEXTUREPROC glActiveTexture; -PFNGLATTACHSHADERPROC glAttachShader; -PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -PFNGLBINDBUFFERPROC glBindBuffer; -PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -PFNGLBINDTEXTUREPROC glBindTexture; -PFNGLBLENDCOLORPROC glBlendColor; -PFNGLBLENDEQUATIONPROC glBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -PFNGLBLENDFUNCPROC glBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -PFNGLBUFFERDATAPROC glBufferData; -PFNGLBUFFERSUBDATAPROC glBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -PFNGLCLEARPROC glClear; -PFNGLCLEARCOLORPROC glClearColor; -PFNGLCLEARDEPTHFPROC glClearDepthf; -PFNGLCLEARSTENCILPROC glClearStencil; -PFNGLCOLORMASKPROC glColorMask; -PFNGLCOMPILESHADERPROC glCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC glCreateProgram; -PFNGLCREATESHADERPROC glCreateShader; -PFNGLCULLFACEPROC glCullFace; -PFNGLDELETEBUFFERSPROC glDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC glDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -PFNGLDELETESHADERPROC glDeleteShader; -PFNGLDELETETEXTURESPROC glDeleteTextures; -PFNGLDEPTHFUNCPROC glDepthFunc; -PFNGLDEPTHMASKPROC glDepthMask; -PFNGLDEPTHRANGEFPROC glDepthRangef; -PFNGLDETACHSHADERPROC glDetachShader; -PFNGLDISABLEPROC glDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC glDrawArrays; -PFNGLDRAWELEMENTSPROC glDrawElements; -PFNGLENABLEPROC glEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -PFNGLFINISHPROC glFinish; -PFNGLFLUSHPROC glFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -PFNGLFRONTFACEPROC glFrontFace; -PFNGLGENBUFFERSPROC glGenBuffers; -PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -PFNGLGENTEXTURESPROC glGenTextures; -PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -PFNGLGETBOOLEANVPROC glGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -PFNGLGETERRORPROC glGetError; -PFNGLGETFLOATVPROC glGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC glGetIntegerv; -PFNGLGETPROGRAMIVPROC glGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC glGetShaderiv; -PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC glGetShaderSource; -PFNGLGETSTRINGPROC glGetString; -PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -PFNGLGETUNIFORMFVPROC glGetUniformfv; -PFNGLGETUNIFORMIVPROC glGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -PFNGLHINTPROC glHint; -PFNGLISBUFFERPROC glIsBuffer; -PFNGLISENABLEDPROC glIsEnabled; -PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -PFNGLISPROGRAMPROC glIsProgram; -PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -PFNGLISSHADERPROC glIsShader; -PFNGLISTEXTUREPROC glIsTexture; -PFNGLLINEWIDTHPROC glLineWidth; -PFNGLLINKPROGRAMPROC glLinkProgram; -PFNGLPIXELSTOREIPROC glPixelStorei; -PFNGLPOLYGONOFFSETPROC glPolygonOffset; -PFNGLREADPIXELSPROC glReadPixels; -PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -PFNGLSCISSORPROC glScissor; -PFNGLSHADERBINARYPROC glShaderBinary; -PFNGLSHADERSOURCEPROC glShaderSource; -PFNGLSTENCILFUNCPROC glStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -PFNGLSTENCILMASKPROC glStencilMask; -PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -PFNGLSTENCILOPPROC glStencilOp; -PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -PFNGLTEXIMAGE2DPROC glTexImage2D; -PFNGLTEXPARAMETERFPROC glTexParameterf; -PFNGLTEXPARAMETERFVPROC glTexParameterfv; -PFNGLTEXPARAMETERIPROC glTexParameteri; -PFNGLTEXPARAMETERIVPROC glTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -PFNGLUNIFORM1FPROC glUniform1f; -PFNGLUNIFORM1FVPROC glUniform1fv; -PFNGLUNIFORM1IPROC glUniform1i; -PFNGLUNIFORM1IVPROC glUniform1iv; -PFNGLUNIFORM2FPROC glUniform2f; -PFNGLUNIFORM2FVPROC glUniform2fv; -PFNGLUNIFORM2IPROC glUniform2i; -PFNGLUNIFORM2IVPROC glUniform2iv; -PFNGLUNIFORM3FPROC glUniform3f; -PFNGLUNIFORM3FVPROC glUniform3fv; -PFNGLUNIFORM3IPROC glUniform3i; -PFNGLUNIFORM3IVPROC glUniform3iv; -PFNGLUNIFORM4FPROC glUniform4f; -PFNGLUNIFORM4FVPROC glUniform4fv; -PFNGLUNIFORM4IPROC glUniform4i; -PFNGLUNIFORM4IVPROC glUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -PFNGLUSEPROGRAMPROC glUseProgram; -PFNGLVALIDATEPROGRAMPROC glValidateProgram; -PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -PFNGLVIEWPORTPROC glViewport; -PFNGLREADBUFFERPROC glReadBuffer; -PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; -PFNGLTEXIMAGE3DPROC glTexImage3D; -PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; -PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; -PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; -PFNGLGENQUERIESPROC glGenQueries; -PFNGLDELETEQUERIESPROC glDeleteQueries; -PFNGLISQUERYPROC glIsQuery; -PFNGLBEGINQUERYPROC glBeginQuery; -PFNGLENDQUERYPROC glEndQuery; -PFNGLGETQUERYIVPROC glGetQueryiv; -PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; -PFNGLUNMAPBUFFERPROC glUnmapBuffer; -PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; -PFNGLDRAWBUFFERSPROC glDrawBuffers; -PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; -PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; -PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; -PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; -PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; -PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; -PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; -PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; -PFNGLMAPBUFFERRANGEPROC glMapBufferRange; -PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; -PFNGLBINDVERTEXARRAYPROC glBindVertexArray; -PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; -PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; -PFNGLISVERTEXARRAYPROC glIsVertexArray; -PFNGLGETINTEGERI_VPROC glGetIntegeri_v; -PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; -PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; -PFNGLBINDBUFFERRANGEPROC glBindBufferRange; -PFNGLBINDBUFFERBASEPROC glBindBufferBase; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; -PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; -PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; -PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; -PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; -PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; -PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; -PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; -PFNGLGETUNIFORMUIVPROC glGetUniformuiv; -PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; -PFNGLUNIFORM1UIPROC glUniform1ui; -PFNGLUNIFORM2UIPROC glUniform2ui; -PFNGLUNIFORM3UIPROC glUniform3ui; -PFNGLUNIFORM4UIPROC glUniform4ui; -PFNGLUNIFORM1UIVPROC glUniform1uiv; -PFNGLUNIFORM2UIVPROC glUniform2uiv; -PFNGLUNIFORM3UIVPROC glUniform3uiv; -PFNGLUNIFORM4UIVPROC glUniform4uiv; -PFNGLCLEARBUFFERIVPROC glClearBufferiv; -PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; -PFNGLCLEARBUFFERFVPROC glClearBufferfv; -PFNGLCLEARBUFFERFIPROC glClearBufferfi; -PFNGLGETSTRINGIPROC glGetStringi; -PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; -PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; -PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; -PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; -PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; -PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; -PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; -PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; -PFNGLFENCESYNCPROC glFenceSync; -PFNGLISSYNCPROC glIsSync; -PFNGLDELETESYNCPROC glDeleteSync; -PFNGLCLIENTWAITSYNCPROC glClientWaitSync; -PFNGLWAITSYNCPROC glWaitSync; -PFNGLGETINTEGER64VPROC glGetInteger64v; -PFNGLGETSYNCIVPROC glGetSynciv; -PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; -PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; -PFNGLGENSAMPLERSPROC glGenSamplers; -PFNGLDELETESAMPLERSPROC glDeleteSamplers; -PFNGLISSAMPLERPROC glIsSampler; -PFNGLBINDSAMPLERPROC glBindSampler; -PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; -PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; -PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; -PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; -PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; -PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; -PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; -PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; -PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; -PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; -PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; -PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; -PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; -PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; -PFNGLPROGRAMBINARYPROC glProgramBinary; -PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; -PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; -PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; -PFNGLTEXSTORAGE2DPROC glTexStorage2D; -PFNGLTEXSTORAGE3DPROC glTexStorage3D; -PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; -PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; - -PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; - -PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; -PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; -PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; -PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; -PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; -PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; -PFNGLMEMORYBARRIERPROC glMemoryBarrier; -PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; - -static void load_procs(void) { - eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)get_egl_proc("eglGetProcAddress"); - eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)get_egl_proc("eglChooseConfig"); - eglCreateContext = (PFNEGLCREATECONTEXTPROC)get_egl_proc("eglCreateContext"); - eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)get_egl_proc("eglCreateWindowSurface"); - eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)get_egl_proc("eglDestroyContext"); - eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)get_egl_proc("eglDestroySurface"); - eglGetDisplay = (PFNEGLGETDISPLAYPROC)get_egl_proc("eglGetDisplay"); - eglGetError = (PFNEGLGETERRORPROC)get_egl_proc("eglGetError"); - eglInitialize = (PFNEGLINITIALIZEPROC)get_egl_proc("eglInitialize"); - eglMakeCurrent = (PFNEGLMAKECURRENTPROC)get_egl_proc("eglMakeCurrent"); - eglQueryString = (PFNEGLQUERYSTRINGPROC)get_egl_proc("eglQueryString"); - eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)get_egl_proc("eglSwapBuffers"); - eglSwapInterval = (PFNEGLSWAPINTERVALPROC)get_egl_proc("eglSwapInterval"); - eglBindAPI = (PFNEGLBINDAPIPROC)get_egl_proc("eglBindAPI"); - eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)get_egl_proc("eglGetConfigAttrib"); - - glActiveTexture = (PFNGLACTIVETEXTUREPROC)get_gles_proc("glActiveTexture"); - glAttachShader = (PFNGLATTACHSHADERPROC)get_gles_proc("glAttachShader"); - glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)get_gles_proc("glBindAttribLocation"); - glBindBuffer = (PFNGLBINDBUFFERPROC)get_gles_proc("glBindBuffer"); - glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)get_gles_proc("glBindFramebuffer"); - glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)get_gles_proc("glBindRenderbuffer"); - glBindTexture = (PFNGLBINDTEXTUREPROC)get_gles_proc("glBindTexture"); - glBlendColor = (PFNGLBLENDCOLORPROC)get_gles_proc("glBlendColor"); - glBlendEquation = (PFNGLBLENDEQUATIONPROC)get_gles_proc("glBlendEquation"); - glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)get_gles_proc("glBlendEquationSeparate"); - glBlendFunc = (PFNGLBLENDFUNCPROC)get_gles_proc("glBlendFunc"); - glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)get_gles_proc("glBlendFuncSeparate"); - glBufferData = (PFNGLBUFFERDATAPROC)get_gles_proc("glBufferData"); - glBufferSubData = (PFNGLBUFFERSUBDATAPROC)get_gles_proc("glBufferSubData"); - glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)get_gles_proc("glCheckFramebufferStatus"); - glClear = (PFNGLCLEARPROC)get_gles_proc("glClear"); - glClearColor = (PFNGLCLEARCOLORPROC)get_gles_proc("glClearColor"); - glClearDepthf = (PFNGLCLEARDEPTHFPROC)get_gles_proc("glClearDepthf"); - glClearStencil = (PFNGLCLEARSTENCILPROC)get_gles_proc("glClearStencil"); - glColorMask = (PFNGLCOLORMASKPROC)get_gles_proc("glColorMask"); - glCompileShader = (PFNGLCOMPILESHADERPROC)get_gles_proc("glCompileShader"); - glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)get_gles_proc("glCompressedTexImage2D"); - glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)get_gles_proc("glCompressedTexSubImage2D"); - glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)get_gles_proc("glCopyTexImage2D"); - glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)get_gles_proc("glCopyTexSubImage2D"); - glCreateProgram = (PFNGLCREATEPROGRAMPROC)get_gles_proc("glCreateProgram"); - glCreateShader = (PFNGLCREATESHADERPROC)get_gles_proc("glCreateShader"); - glCullFace = (PFNGLCULLFACEPROC)get_gles_proc("glCullFace"); - glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)get_gles_proc("glDeleteBuffers"); - glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)get_gles_proc("glDeleteFramebuffers"); - glDeleteProgram = (PFNGLDELETEPROGRAMPROC)get_gles_proc("glDeleteProgram"); - glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)get_gles_proc("glDeleteRenderbuffers"); - glDeleteShader = (PFNGLDELETESHADERPROC)get_gles_proc("glDeleteShader"); - glDeleteTextures = (PFNGLDELETETEXTURESPROC)get_gles_proc("glDeleteTextures"); - glDepthFunc = (PFNGLDEPTHFUNCPROC)get_gles_proc("glDepthFunc"); - glDepthMask = (PFNGLDEPTHMASKPROC)get_gles_proc("glDepthMask"); - glDepthRangef = (PFNGLDEPTHRANGEFPROC)get_gles_proc("glDepthRangef"); - glDetachShader = (PFNGLDETACHSHADERPROC)get_gles_proc("glDetachShader"); - glDisable = (PFNGLDISABLEPROC)get_gles_proc("glDisable"); - glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)get_gles_proc("glDisableVertexAttribArray"); - glDrawArrays = (PFNGLDRAWARRAYSPROC)get_gles_proc("glDrawArrays"); - glDrawElements = (PFNGLDRAWELEMENTSPROC)get_gles_proc("glDrawElements"); - glEnable = (PFNGLENABLEPROC)get_gles_proc("glEnable"); - glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)get_gles_proc("glEnableVertexAttribArray"); - glFinish = (PFNGLFINISHPROC)get_gles_proc("glFinish"); - glFlush = (PFNGLFLUSHPROC)get_gles_proc("glFlush"); - glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)get_gles_proc("glFramebufferRenderbuffer"); - glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)get_gles_proc("glFramebufferTexture2D"); - glFrontFace = (PFNGLFRONTFACEPROC)get_gles_proc("glFrontFace"); - glGenBuffers = (PFNGLGENBUFFERSPROC)get_gles_proc("glGenBuffers"); - glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)get_gles_proc("glGenerateMipmap"); - glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)get_gles_proc("glGenFramebuffers"); - glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)get_gles_proc("glGenRenderbuffers"); - glGenTextures = (PFNGLGENTEXTURESPROC)get_gles_proc("glGenTextures"); - glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)get_gles_proc("glGetActiveAttrib"); - glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)get_gles_proc("glGetActiveUniform"); - glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)get_gles_proc("glGetAttachedShaders"); - glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)get_gles_proc("glGetAttribLocation"); - glGetBooleanv = (PFNGLGETBOOLEANVPROC)get_gles_proc("glGetBooleanv"); - glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)get_gles_proc("glGetBufferParameteriv"); - glGetError = (PFNGLGETERRORPROC)get_gles_proc("glGetError"); - glGetFloatv = (PFNGLGETFLOATVPROC)get_gles_proc("glGetFloatv"); - glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)get_gles_proc("glGetFramebufferAttachmentParameteriv"); - glGetIntegerv = (PFNGLGETINTEGERVPROC)get_gles_proc("glGetIntegerv"); - glGetProgramiv = (PFNGLGETPROGRAMIVPROC)get_gles_proc("glGetProgramiv"); - glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)get_gles_proc("glGetProgramInfoLog"); - glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)get_gles_proc("glGetRenderbufferParameteriv"); - glGetShaderiv = (PFNGLGETSHADERIVPROC)get_gles_proc("glGetShaderiv"); - glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)get_gles_proc("glGetShaderInfoLog"); - glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)get_gles_proc("glGetShaderPrecisionFormat"); - glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)get_gles_proc("glGetShaderSource"); - glGetString = (PFNGLGETSTRINGPROC)get_gles_proc("glGetString"); - glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)get_gles_proc("glGetTexParameterfv"); - glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)get_gles_proc("glGetTexParameteriv"); - glGetUniformfv = (PFNGLGETUNIFORMFVPROC)get_gles_proc("glGetUniformfv"); - glGetUniformiv = (PFNGLGETUNIFORMIVPROC)get_gles_proc("glGetUniformiv"); - glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)get_gles_proc("glGetUniformLocation"); - glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)get_gles_proc("glGetVertexAttribfv"); - glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)get_gles_proc("glGetVertexAttribiv"); - glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)get_gles_proc("glGetVertexAttribPointerv"); - glHint = (PFNGLHINTPROC)get_gles_proc("glHint"); - glIsBuffer = (PFNGLISBUFFERPROC)get_gles_proc("glIsBuffer"); - glIsEnabled = (PFNGLISENABLEDPROC)get_gles_proc("glIsEnabled"); - glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)get_gles_proc("glIsFramebuffer"); - glIsProgram = (PFNGLISPROGRAMPROC)get_gles_proc("glIsProgram"); - glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)get_gles_proc("glIsRenderbuffer"); - glIsShader = (PFNGLISSHADERPROC)get_gles_proc("glIsShader"); - glIsTexture = (PFNGLISTEXTUREPROC)get_gles_proc("glIsTexture"); - glLineWidth = (PFNGLLINEWIDTHPROC)get_gles_proc("glLineWidth"); - glLinkProgram = (PFNGLLINKPROGRAMPROC)get_gles_proc("glLinkProgram"); - glPixelStorei = (PFNGLPIXELSTOREIPROC)get_gles_proc("glPixelStorei"); - glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)get_gles_proc("glPolygonOffset"); - glReadPixels = (PFNGLREADPIXELSPROC)get_gles_proc("glReadPixels"); - glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)get_gles_proc("glReleaseShaderCompiler"); - glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)get_gles_proc("glRenderbufferStorage"); - glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)get_gles_proc("glSampleCoverage"); - glScissor = (PFNGLSCISSORPROC)get_gles_proc("glScissor"); - glShaderBinary = (PFNGLSHADERBINARYPROC)get_gles_proc("glShaderBinary"); - glShaderSource = (PFNGLSHADERSOURCEPROC)get_gles_proc("glShaderSource"); - glStencilFunc = (PFNGLSTENCILFUNCPROC)get_gles_proc("glStencilFunc"); - glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)get_gles_proc("glStencilFuncSeparate"); - glStencilMask = (PFNGLSTENCILMASKPROC)get_gles_proc("glStencilMask"); - glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)get_gles_proc("glStencilMaskSeparate"); - glStencilOp = (PFNGLSTENCILOPPROC)get_gles_proc("glStencilOp"); - glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)get_gles_proc("glStencilOpSeparate"); - glTexImage2D = (PFNGLTEXIMAGE2DPROC)get_gles_proc("glTexImage2D"); - glTexParameterf = (PFNGLTEXPARAMETERFPROC)get_gles_proc("glTexParameterf"); - glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)get_gles_proc("glTexParameterfv"); - glTexParameteri = (PFNGLTEXPARAMETERIPROC)get_gles_proc("glTexParameteri"); - glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)get_gles_proc("glTexParameteriv"); - glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)get_gles_proc("glTexSubImage2D"); - glUniform1f = (PFNGLUNIFORM1FPROC)get_gles_proc("glUniform1f"); - glUniform1fv = (PFNGLUNIFORM1FVPROC)get_gles_proc("glUniform1fv"); - glUniform1i = (PFNGLUNIFORM1IPROC)get_gles_proc("glUniform1i"); - glUniform1iv = (PFNGLUNIFORM1IVPROC)get_gles_proc("glUniform1iv"); - glUniform2f = (PFNGLUNIFORM2FPROC)get_gles_proc("glUniform2f"); - glUniform2fv = (PFNGLUNIFORM2FVPROC)get_gles_proc("glUniform2fv"); - glUniform2i = (PFNGLUNIFORM2IPROC)get_gles_proc("glUniform2i"); - glUniform2iv = (PFNGLUNIFORM2IVPROC)get_gles_proc("glUniform2iv"); - glUniform3f = (PFNGLUNIFORM3FPROC)get_gles_proc("glUniform3f"); - glUniform3fv = (PFNGLUNIFORM3FVPROC)get_gles_proc("glUniform3fv"); - glUniform3i = (PFNGLUNIFORM3IPROC)get_gles_proc("glUniform3i"); - glUniform3iv = (PFNGLUNIFORM3IVPROC)get_gles_proc("glUniform3iv"); - glUniform4f = (PFNGLUNIFORM4FPROC)get_gles_proc("glUniform4f"); - glUniform4fv = (PFNGLUNIFORM4FVPROC)get_gles_proc("glUniform4fv"); - glUniform4i = (PFNGLUNIFORM4IPROC)get_gles_proc("glUniform4i"); - glUniform4iv = (PFNGLUNIFORM4IVPROC)get_gles_proc("glUniform4iv"); - glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)get_gles_proc("glUniformMatrix2fv"); - glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)get_gles_proc("glUniformMatrix3fv"); - glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)get_gles_proc("glUniformMatrix4fv"); - glUseProgram = (PFNGLUSEPROGRAMPROC)get_gles_proc("glUseProgram"); - glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)get_gles_proc("glValidateProgram"); - glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)get_gles_proc("glVertexAttrib1f"); - glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)get_gles_proc("glVertexAttrib1fv"); - glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)get_gles_proc("glVertexAttrib2f"); - glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)get_gles_proc("glVertexAttrib2fv"); - glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)get_gles_proc("glVertexAttrib3f"); - glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)get_gles_proc("glVertexAttrib3fv"); - glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)get_gles_proc("glVertexAttrib4f"); - glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)get_gles_proc("glVertexAttrib4fv"); - glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)get_gles_proc("glVertexAttribPointer"); - glViewport = (PFNGLVIEWPORTPROC)get_gles_proc("glViewport"); - glReadBuffer = (PFNGLREADBUFFERPROC)get_gles_proc("glReadBuffer"); - glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)get_gles_proc("glDrawRangeElements"); - glTexImage3D = (PFNGLTEXIMAGE3DPROC)get_gles_proc("glTexImage3D"); - glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)get_gles_proc("glTexSubImage3D"); - glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)get_gles_proc("glCopyTexSubImage3D"); - glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)get_gles_proc("glCompressedTexImage3D"); - glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)get_gles_proc("glCompressedTexSubImage3D"); - glGenQueries = (PFNGLGENQUERIESPROC)get_gles_proc("glGenQueries"); - glDeleteQueries = (PFNGLDELETEQUERIESPROC)get_gles_proc("glDeleteQueries"); - glIsQuery = (PFNGLISQUERYPROC)get_gles_proc("glIsQuery"); - glBeginQuery = (PFNGLBEGINQUERYPROC)get_gles_proc("glBeginQuery"); - glEndQuery = (PFNGLENDQUERYPROC)get_gles_proc("glEndQuery"); - glGetQueryiv = (PFNGLGETQUERYIVPROC)get_gles_proc("glGetQueryiv"); - glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)get_gles_proc("glGetQueryObjectuiv"); - glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)get_gles_proc("glUnmapBuffer"); - glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)get_gles_proc("glGetBufferPointerv"); - glDrawBuffers = (PFNGLDRAWBUFFERSPROC)get_gles_proc("glDrawBuffers"); - glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)get_gles_proc("glUniformMatrix2x3fv"); - glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)get_gles_proc("glUniformMatrix3x2fv"); - glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)get_gles_proc("glUniformMatrix2x4fv"); - glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)get_gles_proc("glUniformMatrix4x2fv"); - glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)get_gles_proc("glUniformMatrix3x4fv"); - glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)get_gles_proc("glUniformMatrix4x3fv"); - glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)get_gles_proc("glBlitFramebuffer"); - glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)get_gles_proc("glRenderbufferStorageMultisample"); - glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)get_gles_proc("glFramebufferTextureLayer"); - glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)get_gles_proc("glMapBufferRange"); - glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)get_gles_proc("glFlushMappedBufferRange"); - glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)get_gles_proc("glBindVertexArray"); - glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)get_gles_proc("glDeleteVertexArrays"); - glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)get_gles_proc("glGenVertexArrays"); - glIsVertexArray = (PFNGLISVERTEXARRAYPROC)get_gles_proc("glIsVertexArray"); - glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)get_gles_proc("glGetIntegeri_v"); - glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)get_gles_proc("glBeginTransformFeedback"); - glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)get_gles_proc("glEndTransformFeedback"); - glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)get_gles_proc("glBindBufferRange"); - glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)get_gles_proc("glBindBufferBase"); - glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)get_gles_proc("glTransformFeedbackVaryings"); - glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)get_gles_proc("glGetTransformFeedbackVarying"); - glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)get_gles_proc("glVertexAttribIPointer"); - glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)get_gles_proc("glGetVertexAttribIiv"); - glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)get_gles_proc("glGetVertexAttribIuiv"); - glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)get_gles_proc("glVertexAttribI4i"); - glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)get_gles_proc("glVertexAttribI4ui"); - glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)get_gles_proc("glVertexAttribI4iv"); - glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)get_gles_proc("glVertexAttribI4uiv"); - glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)get_gles_proc("glGetUniformuiv"); - glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)get_gles_proc("glGetFragDataLocation"); - glUniform1ui = (PFNGLUNIFORM1UIPROC)get_gles_proc("glUniform1ui"); - glUniform2ui = (PFNGLUNIFORM2UIPROC)get_gles_proc("glUniform2ui"); - glUniform3ui = (PFNGLUNIFORM3UIPROC)get_gles_proc("glUniform3ui"); - glUniform4ui = (PFNGLUNIFORM4UIPROC)get_gles_proc("glUniform4ui"); - glUniform1uiv = (PFNGLUNIFORM1UIVPROC)get_gles_proc("glUniform1uiv"); - glUniform2uiv = (PFNGLUNIFORM2UIVPROC)get_gles_proc("glUniform2uiv"); - glUniform3uiv = (PFNGLUNIFORM3UIVPROC)get_gles_proc("glUniform3uiv"); - glUniform4uiv = (PFNGLUNIFORM4UIVPROC)get_gles_proc("glUniform4uiv"); - glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)get_gles_proc("glClearBufferiv"); - glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)get_gles_proc("glClearBufferuiv"); - glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)get_gles_proc("glClearBufferfv"); - glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)get_gles_proc("glClearBufferfi"); - glGetStringi = (PFNGLGETSTRINGIPROC)get_gles_proc("glGetStringi"); - glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)get_gles_proc("glCopyBufferSubData"); - glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)get_gles_proc("glGetUniformIndices"); - glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)get_gles_proc("glGetActiveUniformsiv"); - glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)get_gles_proc("glGetUniformBlockIndex"); - glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)get_gles_proc("glGetActiveUniformBlockiv"); - glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)get_gles_proc("glGetActiveUniformBlockName"); - glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)get_gles_proc("glUniformBlockBinding"); - glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)get_gles_proc("glDrawArraysInstanced"); - glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)get_gles_proc("glDrawElementsInstanced"); - glFenceSync = (PFNGLFENCESYNCPROC)get_gles_proc("glFenceSync"); - glIsSync = (PFNGLISSYNCPROC)get_gles_proc("glIsSync"); - glDeleteSync = (PFNGLDELETESYNCPROC)get_gles_proc("glDeleteSync"); - glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)get_gles_proc("glClientWaitSync"); - glWaitSync = (PFNGLWAITSYNCPROC)get_gles_proc("glWaitSync"); - glGetInteger64v = (PFNGLGETINTEGER64VPROC)get_gles_proc("glGetInteger64v"); - glGetSynciv = (PFNGLGETSYNCIVPROC)get_gles_proc("glGetSynciv"); - glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)get_gles_proc("glGetInteger64i_v"); - glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)get_gles_proc("glGetBufferParameteri64v"); - glGenSamplers = (PFNGLGENSAMPLERSPROC)get_gles_proc("glGenSamplers"); - glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)get_gles_proc("glDeleteSamplers"); - glIsSampler = (PFNGLISSAMPLERPROC)get_gles_proc("glIsSampler"); - glBindSampler = (PFNGLBINDSAMPLERPROC)get_gles_proc("glBindSampler"); - glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)get_gles_proc("glSamplerParameteri"); - glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)get_gles_proc("glSamplerParameteriv"); - glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)get_gles_proc("glSamplerParameterf"); - glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)get_gles_proc("glSamplerParameterfv"); - glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)get_gles_proc("glGetSamplerParameteriv"); - glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)get_gles_proc("glGetSamplerParameterfv"); - glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)get_gles_proc("glVertexAttribDivisor"); - glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)get_gles_proc("glBindTransformFeedback"); - glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)get_gles_proc("glDeleteTransformFeedbacks"); - glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)get_gles_proc("glGenTransformFeedbacks"); - glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)get_gles_proc("glIsTransformFeedback"); - glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)get_gles_proc("glPauseTransformFeedback"); - glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)get_gles_proc("glResumeTransformFeedback"); - glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)get_gles_proc("glGetProgramBinary"); - glProgramBinary = (PFNGLPROGRAMBINARYPROC)get_gles_proc("glProgramBinary"); - glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)get_gles_proc("glProgramParameteri"); - glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)get_gles_proc("glInvalidateFramebuffer"); - glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)get_gles_proc("glInvalidateSubFramebuffer"); - glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)get_gles_proc("glTexStorage2D"); - glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)get_gles_proc("glTexStorage3D"); - glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)get_gles_proc("glGetInternalformativ"); - glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)get_gles_proc("glLabelObjectEXT"); - glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)get_gles_proc("glGetObjectLabelEXT"); - glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)get_gles_proc("glInsertEventMarkerEXT"); - glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)get_gles_proc("glPushGroupMarkerEXT"); - glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)get_gles_proc("glPopGroupMarkerEXT"); - glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)get_gles_proc("glUseProgramStagesEXT"); - glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)get_gles_proc("glActiveShaderProgramEXT"); - glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)get_gles_proc("glCreateShaderProgramvEXT"); - glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)get_gles_proc("glBindProgramPipelineEXT"); - glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)get_gles_proc("glDeleteProgramPipelinesEXT"); - glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)get_gles_proc("glGenProgramPipelinesEXT"); - glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)get_gles_proc("glIsProgramPipelineEXT"); - glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)get_gles_proc("glProgramParameteriEXT"); - glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)get_gles_proc("glGetProgramPipelineivEXT"); - glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)get_gles_proc("glProgramUniform1iEXT"); - glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)get_gles_proc("glProgramUniform2iEXT"); - glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)get_gles_proc("glProgramUniform3iEXT"); - glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)get_gles_proc("glProgramUniform4iEXT"); - glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)get_gles_proc("glProgramUniform1fEXT"); - glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)get_gles_proc("glProgramUniform2fEXT"); - glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)get_gles_proc("glProgramUniform3fEXT"); - glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)get_gles_proc("glProgramUniform4fEXT"); - glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)get_gles_proc("glProgramUniform1ivEXT"); - glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)get_gles_proc("glProgramUniform2ivEXT"); - glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)get_gles_proc("glProgramUniform3ivEXT"); - glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)get_gles_proc("glProgramUniform4ivEXT"); - glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)get_gles_proc("glProgramUniform1fvEXT"); - glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)get_gles_proc("glProgramUniform2fvEXT"); - glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)get_gles_proc("glProgramUniform3fvEXT"); - glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)get_gles_proc("glProgramUniform4fvEXT"); - glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)get_gles_proc("glProgramUniformMatrix2fvEXT"); - glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)get_gles_proc("glProgramUniformMatrix3fvEXT"); - glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)get_gles_proc("glProgramUniformMatrix4fvEXT"); - glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)get_gles_proc("glProgramUniformMatrix2x3fvEXT"); - glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)get_gles_proc("glProgramUniformMatrix3x2fvEXT"); - glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)get_gles_proc("glProgramUniformMatrix2x4fvEXT"); - glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)get_gles_proc("glProgramUniformMatrix4x2fvEXT"); - glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)get_gles_proc("glProgramUniformMatrix3x4fvEXT"); - glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)get_gles_proc("glProgramUniformMatrix4x3fvEXT"); - glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)get_gles_proc("glValidateProgramPipelineEXT"); - glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)get_gles_proc("glGetProgramPipelineInfoLogEXT"); - - glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)get_gles_proc("glDebugMessageControlKHR"); - glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)get_gles_proc("glDebugMessageCallbackKHR"); - glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)get_gles_proc("glFramebufferTexture2DMultisampleEXT"); - glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)get_gles_proc("glFramebufferTexture2DMultisampleIMG"); - - glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)get_gles_proc("glDispatchCompute"); - glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)get_gles_proc("glDispatchComputeIndirect"); - glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)get_gles_proc("glGetProgramInterfaceiv"); - glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)get_gles_proc("glGetProgramResourceName"); - glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)get_gles_proc("glGetProgramResourceiv"); - glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)get_gles_proc("glBindImageTexture"); - glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)get_gles_proc("glMemoryBarrier"); - glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)get_gles_proc("glMemoryBarrierByRegion"); -} +/* GLES3W_GENERATE_IMPLEMENTATION */ diff --git a/native/cocos/renderer/gfx-gles3/gles3w.h b/native/cocos/renderer/gfx-gles3/gles3w.h index 3379dd1fab..ceeb8377ca 100755 --- a/native/cocos/renderer/gfx-gles3/gles3w.h +++ b/native/cocos/renderer/gfx-gles3/gles3w.h @@ -23,359 +23,13 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #ifdef __OBJC__ - #include - #endif -#else - #define EGL_EGL_PROTOTYPES 0 - #include - #include - #include -#endif - -#ifndef EGL_KHR_create_context - #define EGL_KHR_create_context 1 - #define EGL_CONTEXT_MAJOR_VERSION_KHR EGL_CONTEXT_CLIENT_VERSION - #define EGL_CONTEXT_MINOR_VERSION_KHR 0x30FB - #define EGL_CONTEXT_FLAGS_KHR 0x30FC - #define EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR 0x30FD - #define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR 0x31BD - #define EGL_NO_RESET_NOTIFICATION_KHR 0x31BE - #define EGL_LOSE_CONTEXT_ON_RESET_KHR 0x31BF - #define EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR 0x00000001 - #define EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR 0x00000002 - #define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 - #define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 - #define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 - #define EGL_OPENGL_ES3_BIT_KHR 0x00000040 -#endif - -#define GL_GLES_PROTOTYPES 0 -#include - -#include -#include -#include +#include "eglw.h" +#include "eglw_auto.h" +#include "gles3w_auto.h" bool gles3wInit(); -/* egl api */ -extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; -extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; -extern PFNEGLCREATECONTEXTPROC eglCreateContext; -extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; -extern PFNEGLGETDISPLAYPROC eglGetDisplay; -extern PFNEGLGETERRORPROC eglGetError; -extern PFNEGLINITIALIZEPROC eglInitialize; -extern PFNEGLMAKECURRENTPROC eglMakeCurrent; -extern PFNEGLQUERYSTRINGPROC eglQueryString; -extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -extern PFNEGLSWAPINTERVALPROC eglSwapInterval; -extern PFNEGLBINDAPIPROC eglBindAPI; -extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +bool gles3wOpen(); +void *gles3wLoad(const char *proc); -/* gles api */ -extern PFNGLACTIVETEXTUREPROC glActiveTexture; -extern PFNGLATTACHSHADERPROC glAttachShader; -extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -extern PFNGLBINDBUFFERPROC glBindBuffer; -extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -extern PFNGLBINDTEXTUREPROC glBindTexture; -extern PFNGLBLENDCOLORPROC glBlendColor; -extern PFNGLBLENDEQUATIONPROC glBlendEquation; -extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -extern PFNGLBLENDFUNCPROC glBlendFunc; -extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -extern PFNGLBUFFERDATAPROC glBufferData; -extern PFNGLBUFFERSUBDATAPROC glBufferSubData; -extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -extern PFNGLCLEARPROC glClear; -extern PFNGLCLEARCOLORPROC glClearColor; -extern PFNGLCLEARDEPTHFPROC glClearDepthf; -extern PFNGLCLEARSTENCILPROC glClearStencil; -extern PFNGLCOLORMASKPROC glColorMask; -extern PFNGLCOMPILESHADERPROC glCompileShader; -extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -extern PFNGLCREATEPROGRAMPROC glCreateProgram; -extern PFNGLCREATESHADERPROC glCreateShader; -extern PFNGLCULLFACEPROC glCullFace; -extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; -extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -extern PFNGLDELETEPROGRAMPROC glDeleteProgram; -extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -extern PFNGLDELETESHADERPROC glDeleteShader; -extern PFNGLDELETETEXTURESPROC glDeleteTextures; -extern PFNGLDEPTHFUNCPROC glDepthFunc; -extern PFNGLDEPTHMASKPROC glDepthMask; -extern PFNGLDEPTHRANGEFPROC glDepthRangef; -extern PFNGLDETACHSHADERPROC glDetachShader; -extern PFNGLDISABLEPROC glDisable; -extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -extern PFNGLDRAWARRAYSPROC glDrawArrays; -extern PFNGLDRAWELEMENTSPROC glDrawElements; -extern PFNGLENABLEPROC glEnable; -extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -extern PFNGLFINISHPROC glFinish; -extern PFNGLFLUSHPROC glFlush; -extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -extern PFNGLFRONTFACEPROC glFrontFace; -extern PFNGLGENBUFFERSPROC glGenBuffers; -extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -extern PFNGLGENTEXTURESPROC glGenTextures; -extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -extern PFNGLGETBOOLEANVPROC glGetBooleanv; -extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -extern PFNGLGETERRORPROC glGetError; -extern PFNGLGETFLOATVPROC glGetFloatv; -extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -extern PFNGLGETINTEGERVPROC glGetIntegerv; -extern PFNGLGETPROGRAMIVPROC glGetProgramiv; -extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -extern PFNGLGETSHADERIVPROC glGetShaderiv; -extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; -extern PFNGLGETSTRINGPROC glGetString; -extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -extern PFNGLGETUNIFORMFVPROC glGetUniformfv; -extern PFNGLGETUNIFORMIVPROC glGetUniformiv; -extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -extern PFNGLHINTPROC glHint; -extern PFNGLISBUFFERPROC glIsBuffer; -extern PFNGLISENABLEDPROC glIsEnabled; -extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -extern PFNGLISPROGRAMPROC glIsProgram; -extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -extern PFNGLISSHADERPROC glIsShader; -extern PFNGLISTEXTUREPROC glIsTexture; -extern PFNGLLINEWIDTHPROC glLineWidth; -extern PFNGLLINKPROGRAMPROC glLinkProgram; -extern PFNGLPIXELSTOREIPROC glPixelStorei; -extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; -extern PFNGLREADPIXELSPROC glReadPixels; -extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -extern PFNGLSCISSORPROC glScissor; -extern PFNGLSHADERBINARYPROC glShaderBinary; -extern PFNGLSHADERSOURCEPROC glShaderSource; -extern PFNGLSTENCILFUNCPROC glStencilFunc; -extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -extern PFNGLSTENCILMASKPROC glStencilMask; -extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -extern PFNGLSTENCILOPPROC glStencilOp; -extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -extern PFNGLTEXIMAGE2DPROC glTexImage2D; -extern PFNGLTEXPARAMETERFPROC glTexParameterf; -extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; -extern PFNGLTEXPARAMETERIPROC glTexParameteri; -extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; -extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -extern PFNGLUNIFORM1FPROC glUniform1f; -extern PFNGLUNIFORM1FVPROC glUniform1fv; -extern PFNGLUNIFORM1IPROC glUniform1i; -extern PFNGLUNIFORM1IVPROC glUniform1iv; -extern PFNGLUNIFORM2FPROC glUniform2f; -extern PFNGLUNIFORM2FVPROC glUniform2fv; -extern PFNGLUNIFORM2IPROC glUniform2i; -extern PFNGLUNIFORM2IVPROC glUniform2iv; -extern PFNGLUNIFORM3FPROC glUniform3f; -extern PFNGLUNIFORM3FVPROC glUniform3fv; -extern PFNGLUNIFORM3IPROC glUniform3i; -extern PFNGLUNIFORM3IVPROC glUniform3iv; -extern PFNGLUNIFORM4FPROC glUniform4f; -extern PFNGLUNIFORM4FVPROC glUniform4fv; -extern PFNGLUNIFORM4IPROC glUniform4i; -extern PFNGLUNIFORM4IVPROC glUniform4iv; -extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -extern PFNGLUSEPROGRAMPROC glUseProgram; -extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; -extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -extern PFNGLVIEWPORTPROC glViewport; -extern PFNGLREADBUFFERPROC glReadBuffer; -extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; -extern PFNGLTEXIMAGE3DPROC glTexImage3D; -extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; -extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; -extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; -extern PFNGLGENQUERIESPROC glGenQueries; -extern PFNGLDELETEQUERIESPROC glDeleteQueries; -extern PFNGLISQUERYPROC glIsQuery; -extern PFNGLBEGINQUERYPROC glBeginQuery; -extern PFNGLENDQUERYPROC glEndQuery; -extern PFNGLGETQUERYIVPROC glGetQueryiv; -extern PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; -extern PFNGLUNMAPBUFFERPROC glUnmapBuffer; -extern PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; -extern PFNGLDRAWBUFFERSPROC glDrawBuffers; -extern PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; -extern PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; -extern PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; -extern PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; -extern PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; -extern PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; -extern PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; -extern PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; -extern PFNGLMAPBUFFERRANGEPROC glMapBufferRange; -extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; -extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray; -extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; -extern PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; -extern PFNGLISVERTEXARRAYPROC glIsVertexArray; -extern PFNGLGETINTEGERI_VPROC glGetIntegeri_v; -extern PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; -extern PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; -extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange; -extern PFNGLBINDBUFFERBASEPROC glBindBufferBase; -extern PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; -extern PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; -extern PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; -extern PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; -extern PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; -extern PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; -extern PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; -extern PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; -extern PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; -extern PFNGLGETUNIFORMUIVPROC glGetUniformuiv; -extern PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; -extern PFNGLUNIFORM1UIPROC glUniform1ui; -extern PFNGLUNIFORM2UIPROC glUniform2ui; -extern PFNGLUNIFORM3UIPROC glUniform3ui; -extern PFNGLUNIFORM4UIPROC glUniform4ui; -extern PFNGLUNIFORM1UIVPROC glUniform1uiv; -extern PFNGLUNIFORM2UIVPROC glUniform2uiv; -extern PFNGLUNIFORM3UIVPROC glUniform3uiv; -extern PFNGLUNIFORM4UIVPROC glUniform4uiv; -extern PFNGLCLEARBUFFERIVPROC glClearBufferiv; -extern PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; -extern PFNGLCLEARBUFFERFVPROC glClearBufferfv; -extern PFNGLCLEARBUFFERFIPROC glClearBufferfi; -extern PFNGLGETSTRINGIPROC glGetStringi; -extern PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; -extern PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; -extern PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; -extern PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; -extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; -extern PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; -extern PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; -extern PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; -extern PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; -extern PFNGLFENCESYNCPROC glFenceSync; -extern PFNGLISSYNCPROC glIsSync; -extern PFNGLDELETESYNCPROC glDeleteSync; -extern PFNGLCLIENTWAITSYNCPROC glClientWaitSync; -extern PFNGLWAITSYNCPROC glWaitSync; -extern PFNGLGETINTEGER64VPROC glGetInteger64v; -extern PFNGLGETSYNCIVPROC glGetSynciv; -extern PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; -extern PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; -extern PFNGLGENSAMPLERSPROC glGenSamplers; -extern PFNGLDELETESAMPLERSPROC glDeleteSamplers; -extern PFNGLISSAMPLERPROC glIsSampler; -extern PFNGLBINDSAMPLERPROC glBindSampler; -extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; -extern PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; -extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; -extern PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; -extern PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; -extern PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; -extern PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; -extern PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; -extern PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; -extern PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; -extern PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; -extern PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; -extern PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; -extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; -extern PFNGLPROGRAMBINARYPROC glProgramBinary; -extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; -extern PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; -extern PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; -extern PFNGLTEXSTORAGE2DPROC glTexStorage2D; -extern PFNGLTEXSTORAGE3DPROC glTexStorage3D; -extern PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; -extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; -extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; - -extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; - -extern PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; -extern PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; -extern PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; -extern PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; -extern PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; -extern PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; -extern PFNGLMEMORYBARRIERPROC glMemoryBarrier; -extern PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; +/* GLES3W_GENERATE_DECLARATION */ diff --git a/native/cocos/renderer/gfx-gles3/gles3w_auto.cpp b/native/cocos/renderer/gfx-gles3/gles3w_auto.cpp new file mode 100644 index 0000000000..8e6630113c --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/gles3w_auto.cpp @@ -0,0 +1,2616 @@ +#include "gles3w.h" + +/* GL_ES_VERSION_2_0 */ +PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLATTACHSHADERPROC glAttachShader; +PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +PFNGLBINDBUFFERPROC glBindBuffer; +PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +PFNGLBINDTEXTUREPROC glBindTexture; +PFNGLBLENDCOLORPROC glBlendColor; +PFNGLBLENDEQUATIONPROC glBlendEquation; +PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +PFNGLBLENDFUNCPROC glBlendFunc; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +PFNGLBUFFERDATAPROC glBufferData; +PFNGLBUFFERSUBDATAPROC glBufferSubData; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +PFNGLCLEARPROC glClear; +PFNGLCLEARCOLORPROC glClearColor; +PFNGLCLEARDEPTHFPROC glClearDepthf; +PFNGLCLEARSTENCILPROC glClearStencil; +PFNGLCOLORMASKPROC glColorMask; +PFNGLCOMPILESHADERPROC glCompileShader; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +PFNGLCREATEPROGRAMPROC glCreateProgram; +PFNGLCREATESHADERPROC glCreateShader; +PFNGLCULLFACEPROC glCullFace; +PFNGLDELETEBUFFERSPROC glDeleteBuffers; +PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +PFNGLDELETEPROGRAMPROC glDeleteProgram; +PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +PFNGLDELETESHADERPROC glDeleteShader; +PFNGLDELETETEXTURESPROC glDeleteTextures; +PFNGLDEPTHFUNCPROC glDepthFunc; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEFPROC glDepthRangef; +PFNGLDETACHSHADERPROC glDetachShader; +PFNGLDISABLEPROC glDisable; +PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +PFNGLDRAWARRAYSPROC glDrawArrays; +PFNGLDRAWELEMENTSPROC glDrawElements; +PFNGLENABLEPROC glEnable; +PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +PFNGLFINISHPROC glFinish; +PFNGLFLUSHPROC glFlush; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +PFNGLFRONTFACEPROC glFrontFace; +PFNGLGENBUFFERSPROC glGenBuffers; +PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +PFNGLGENTEXTURESPROC glGenTextures; +PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +PFNGLGETBOOLEANVPROC glGetBooleanv; +PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +PFNGLGETERRORPROC glGetError; +PFNGLGETFLOATVPROC glGetFloatv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETPROGRAMIVPROC glGetProgramiv; +PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +PFNGLGETSHADERIVPROC glGetShaderiv; +PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +PFNGLGETSHADERSOURCEPROC glGetShaderSource; +PFNGLGETSTRINGPROC glGetString; +PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +PFNGLGETUNIFORMFVPROC glGetUniformfv; +PFNGLGETUNIFORMIVPROC glGetUniformiv; +PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +PFNGLHINTPROC glHint; +PFNGLISBUFFERPROC glIsBuffer; +PFNGLISENABLEDPROC glIsEnabled; +PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +PFNGLISPROGRAMPROC glIsProgram; +PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +PFNGLISSHADERPROC glIsShader; +PFNGLISTEXTUREPROC glIsTexture; +PFNGLLINEWIDTHPROC glLineWidth; +PFNGLLINKPROGRAMPROC glLinkProgram; +PFNGLPIXELSTOREIPROC glPixelStorei; +PFNGLPOLYGONOFFSETPROC glPolygonOffset; +PFNGLREADPIXELSPROC glReadPixels; +PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +PFNGLSCISSORPROC glScissor; +PFNGLSHADERBINARYPROC glShaderBinary; +PFNGLSHADERSOURCEPROC glShaderSource; +PFNGLSTENCILFUNCPROC glStencilFunc; +PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +PFNGLSTENCILMASKPROC glStencilMask; +PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +PFNGLSTENCILOPPROC glStencilOp; +PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +PFNGLTEXIMAGE2DPROC glTexImage2D; +PFNGLTEXPARAMETERFPROC glTexParameterf; +PFNGLTEXPARAMETERFVPROC glTexParameterfv; +PFNGLTEXPARAMETERIPROC glTexParameteri; +PFNGLTEXPARAMETERIVPROC glTexParameteriv; +PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +PFNGLUNIFORM1FPROC glUniform1f; +PFNGLUNIFORM1FVPROC glUniform1fv; +PFNGLUNIFORM1IPROC glUniform1i; +PFNGLUNIFORM1IVPROC glUniform1iv; +PFNGLUNIFORM2FPROC glUniform2f; +PFNGLUNIFORM2FVPROC glUniform2fv; +PFNGLUNIFORM2IPROC glUniform2i; +PFNGLUNIFORM2IVPROC glUniform2iv; +PFNGLUNIFORM3FPROC glUniform3f; +PFNGLUNIFORM3FVPROC glUniform3fv; +PFNGLUNIFORM3IPROC glUniform3i; +PFNGLUNIFORM3IVPROC glUniform3iv; +PFNGLUNIFORM4FPROC glUniform4f; +PFNGLUNIFORM4FVPROC glUniform4fv; +PFNGLUNIFORM4IPROC glUniform4i; +PFNGLUNIFORM4IVPROC glUniform4iv; +PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +PFNGLUSEPROGRAMPROC glUseProgram; +PFNGLVALIDATEPROGRAMPROC glValidateProgram; +PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +PFNGLVIEWPORTPROC glViewport; + + +/* GL_ES_VERSION_3_0 */ +PFNGLREADBUFFERPROC glReadBuffer; +PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +PFNGLTEXIMAGE3DPROC glTexImage3D; +PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +PFNGLGENQUERIESPROC glGenQueries; +PFNGLDELETEQUERIESPROC glDeleteQueries; +PFNGLISQUERYPROC glIsQuery; +PFNGLBEGINQUERYPROC glBeginQuery; +PFNGLENDQUERYPROC glEndQuery; +PFNGLGETQUERYIVPROC glGetQueryiv; +PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +PFNGLUNMAPBUFFERPROC glUnmapBuffer; +PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +PFNGLDRAWBUFFERSPROC glDrawBuffers; +PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +PFNGLISVERTEXARRAYPROC glIsVertexArray; +PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +PFNGLBINDBUFFERBASEPROC glBindBufferBase; +PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +PFNGLUNIFORM1UIPROC glUniform1ui; +PFNGLUNIFORM2UIPROC glUniform2ui; +PFNGLUNIFORM3UIPROC glUniform3ui; +PFNGLUNIFORM4UIPROC glUniform4ui; +PFNGLUNIFORM1UIVPROC glUniform1uiv; +PFNGLUNIFORM2UIVPROC glUniform2uiv; +PFNGLUNIFORM3UIVPROC glUniform3uiv; +PFNGLUNIFORM4UIVPROC glUniform4uiv; +PFNGLCLEARBUFFERIVPROC glClearBufferiv; +PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +PFNGLCLEARBUFFERFVPROC glClearBufferfv; +PFNGLCLEARBUFFERFIPROC glClearBufferfi; +PFNGLGETSTRINGIPROC glGetStringi; +PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +PFNGLFENCESYNCPROC glFenceSync; +PFNGLISSYNCPROC glIsSync; +PFNGLDELETESYNCPROC glDeleteSync; +PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +PFNGLWAITSYNCPROC glWaitSync; +PFNGLGETINTEGER64VPROC glGetInteger64v; +PFNGLGETSYNCIVPROC glGetSynciv; +PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +PFNGLGENSAMPLERSPROC glGenSamplers; +PFNGLDELETESAMPLERSPROC glDeleteSamplers; +PFNGLISSAMPLERPROC glIsSampler; +PFNGLBINDSAMPLERPROC glBindSampler; +PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +PFNGLPROGRAMBINARYPROC glProgramBinary; +PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +PFNGLTEXSTORAGE2DPROC glTexStorage2D; +PFNGLTEXSTORAGE3DPROC glTexStorage3D; +PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; + + +/* GL_ES_VERSION_3_1 */ +PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; + +PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; +PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; + +PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; +PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; + +PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; +PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; + +PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; +PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; +PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; +PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; +PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; +PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; +PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; +PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; +PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; +PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; +PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; +PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; +PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; +PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; +PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; +PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; +PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; +PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; +PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; +PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; +PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; +PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; +PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; +PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; +PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; +PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; +PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; +PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; +PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; +PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; +PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; +PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; +PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; +PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; +PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; +PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; +PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; +PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; +PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; +PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; +PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; +PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; +PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; + +PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +PFNGLGETBOOLEANI_VPROC glGetBooleani_v; +PFNGLMEMORYBARRIERPROC glMemoryBarrier; +PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; + +PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; +PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; +PFNGLSAMPLEMASKIPROC glSampleMaski; +PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; +PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; + +PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; +PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; +PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; +PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; +PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; + + +/* GL_ES_VERSION_3_2 */ +PFNGLBLENDBARRIERPROC glBlendBarrier; + +PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; + +PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; +PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; +PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; +PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; +PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; +PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; +PFNGLOBJECTLABELPROC glObjectLabel; +PFNGLGETOBJECTLABELPROC glGetObjectLabel; +PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; +PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; +PFNGLGETPOINTERVPROC glGetPointerv; + +PFNGLENABLEIPROC glEnablei; +PFNGLDISABLEIPROC glDisablei; +PFNGLBLENDEQUATIONIPROC glBlendEquationi; +PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; +PFNGLBLENDFUNCIPROC glBlendFunci; +PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; +PFNGLCOLORMASKIPROC glColorMaski; +PFNGLISENABLEDIPROC glIsEnabledi; + +PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; +PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; + +PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; + +PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; + +PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; +PFNGLREADNPIXELSPROC glReadnPixels; +PFNGLGETNUNIFORMFVPROC glGetnUniformfv; +PFNGLGETNUNIFORMIVPROC glGetnUniformiv; +PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; + +PFNGLMINSAMPLESHADINGPROC glMinSampleShading; + +PFNGLPATCHPARAMETERIPROC glPatchParameteri; + +PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; +PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; +PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; +PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; +PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; +PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; +PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; +PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; + +PFNGLTEXBUFFERPROC glTexBuffer; +PFNGLTEXBUFFERRANGEPROC glTexBufferRange; + +PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +PFNGLISQUERYEXTPROC glIsQueryEXT; +PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +PFNGLENDQUERYEXTPROC glEndQueryEXT; +PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +PFNGLENABLEIEXTPROC glEnableiEXT; +PFNGLDISABLEIEXTPROC glDisableiEXT; +PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +PFNGLGENFENCESNVPROC glGenFencesNV; +PFNGLISFENCENVPROC glIsFenceNV; +PFNGLTESTFENCENVPROC glTestFenceNV; +PFNGLGETFENCEIVNVPROC glGetFenceivNV; +PFNGLFINISHFENCENVPROC glFinishFenceNV; +PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +PFNGLGENPATHSNVPROC glGenPathsNV; +PFNGLDELETEPATHSNVPROC glDeletePathsNV; +PFNGLISPATHNVPROC glIsPathNV; +PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +PFNGLPATHCOORDSNVPROC glPathCoordsNV; +PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +PFNGLPATHSTRINGNVPROC glPathStringNV; +PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +PFNGLCOPYPATHNVPROC glCopyPathNV; +PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +PFNGLENABLEINVPROC glEnableiNV; +PFNGLDISABLEINVPROC glDisableiNV; +PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +PFNGLENABLEIOESPROC glEnableiOES; +PFNGLDISABLEIOESPROC glDisableiOES; +PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +PFNGLCOLORMASKIOESPROC glColorMaskiOES; +PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +PFNGLMAPBUFFEROESPROC glMapBufferOES; +PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +PFNGLTEXBUFFEROESPROC glTexBufferOES; +PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + +void gles3wLoadProcs() { + /* GL_ES_VERSION_2_0 */ + glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles3wLoad("glActiveTexture"); + glAttachShader = (PFNGLATTACHSHADERPROC)gles3wLoad("glAttachShader"); + glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles3wLoad("glBindAttribLocation"); + glBindBuffer = (PFNGLBINDBUFFERPROC)gles3wLoad("glBindBuffer"); + glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles3wLoad("glBindFramebuffer"); + glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles3wLoad("glBindRenderbuffer"); + glBindTexture = (PFNGLBINDTEXTUREPROC)gles3wLoad("glBindTexture"); + glBlendColor = (PFNGLBLENDCOLORPROC)gles3wLoad("glBlendColor"); + glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles3wLoad("glBlendEquation"); + glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles3wLoad("glBlendEquationSeparate"); + glBlendFunc = (PFNGLBLENDFUNCPROC)gles3wLoad("glBlendFunc"); + glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles3wLoad("glBlendFuncSeparate"); + glBufferData = (PFNGLBUFFERDATAPROC)gles3wLoad("glBufferData"); + glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles3wLoad("glBufferSubData"); + glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles3wLoad("glCheckFramebufferStatus"); + glClear = (PFNGLCLEARPROC)gles3wLoad("glClear"); + glClearColor = (PFNGLCLEARCOLORPROC)gles3wLoad("glClearColor"); + glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles3wLoad("glClearDepthf"); + glClearStencil = (PFNGLCLEARSTENCILPROC)gles3wLoad("glClearStencil"); + glColorMask = (PFNGLCOLORMASKPROC)gles3wLoad("glColorMask"); + glCompileShader = (PFNGLCOMPILESHADERPROC)gles3wLoad("glCompileShader"); + glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles3wLoad("glCompressedTexImage2D"); + glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles3wLoad("glCompressedTexSubImage2D"); + glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles3wLoad("glCopyTexImage2D"); + glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles3wLoad("glCopyTexSubImage2D"); + glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles3wLoad("glCreateProgram"); + glCreateShader = (PFNGLCREATESHADERPROC)gles3wLoad("glCreateShader"); + glCullFace = (PFNGLCULLFACEPROC)gles3wLoad("glCullFace"); + glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles3wLoad("glDeleteBuffers"); + glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles3wLoad("glDeleteFramebuffers"); + glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles3wLoad("glDeleteProgram"); + glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles3wLoad("glDeleteRenderbuffers"); + glDeleteShader = (PFNGLDELETESHADERPROC)gles3wLoad("glDeleteShader"); + glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles3wLoad("glDeleteTextures"); + glDepthFunc = (PFNGLDEPTHFUNCPROC)gles3wLoad("glDepthFunc"); + glDepthMask = (PFNGLDEPTHMASKPROC)gles3wLoad("glDepthMask"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles3wLoad("glDepthRangef"); + glDetachShader = (PFNGLDETACHSHADERPROC)gles3wLoad("glDetachShader"); + glDisable = (PFNGLDISABLEPROC)gles3wLoad("glDisable"); + glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glDisableVertexAttribArray"); + glDrawArrays = (PFNGLDRAWARRAYSPROC)gles3wLoad("glDrawArrays"); + glDrawElements = (PFNGLDRAWELEMENTSPROC)gles3wLoad("glDrawElements"); + glEnable = (PFNGLENABLEPROC)gles3wLoad("glEnable"); + glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glEnableVertexAttribArray"); + glFinish = (PFNGLFINISHPROC)gles3wLoad("glFinish"); + glFlush = (PFNGLFLUSHPROC)gles3wLoad("glFlush"); + glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles3wLoad("glFramebufferRenderbuffer"); + glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles3wLoad("glFramebufferTexture2D"); + glFrontFace = (PFNGLFRONTFACEPROC)gles3wLoad("glFrontFace"); + glGenBuffers = (PFNGLGENBUFFERSPROC)gles3wLoad("glGenBuffers"); + glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles3wLoad("glGenerateMipmap"); + glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles3wLoad("glGenFramebuffers"); + glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles3wLoad("glGenRenderbuffers"); + glGenTextures = (PFNGLGENTEXTURESPROC)gles3wLoad("glGenTextures"); + glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles3wLoad("glGetActiveAttrib"); + glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles3wLoad("glGetActiveUniform"); + glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles3wLoad("glGetAttachedShaders"); + glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles3wLoad("glGetAttribLocation"); + glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles3wLoad("glGetBooleanv"); + glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles3wLoad("glGetBufferParameteriv"); + glGetError = (PFNGLGETERRORPROC)gles3wLoad("glGetError"); + glGetFloatv = (PFNGLGETFLOATVPROC)gles3wLoad("glGetFloatv"); + glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles3wLoad("glGetFramebufferAttachmentParameteriv"); + glGetIntegerv = (PFNGLGETINTEGERVPROC)gles3wLoad("glGetIntegerv"); + glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles3wLoad("glGetProgramiv"); + glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles3wLoad("glGetProgramInfoLog"); + glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles3wLoad("glGetRenderbufferParameteriv"); + glGetShaderiv = (PFNGLGETSHADERIVPROC)gles3wLoad("glGetShaderiv"); + glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles3wLoad("glGetShaderInfoLog"); + glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles3wLoad("glGetShaderPrecisionFormat"); + glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles3wLoad("glGetShaderSource"); + glGetString = (PFNGLGETSTRINGPROC)gles3wLoad("glGetString"); + glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles3wLoad("glGetTexParameterfv"); + glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles3wLoad("glGetTexParameteriv"); + glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles3wLoad("glGetUniformfv"); + glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles3wLoad("glGetUniformiv"); + glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles3wLoad("glGetUniformLocation"); + glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles3wLoad("glGetVertexAttribfv"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles3wLoad("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles3wLoad("glGetVertexAttribPointerv"); + glHint = (PFNGLHINTPROC)gles3wLoad("glHint"); + glIsBuffer = (PFNGLISBUFFERPROC)gles3wLoad("glIsBuffer"); + glIsEnabled = (PFNGLISENABLEDPROC)gles3wLoad("glIsEnabled"); + glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles3wLoad("glIsFramebuffer"); + glIsProgram = (PFNGLISPROGRAMPROC)gles3wLoad("glIsProgram"); + glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles3wLoad("glIsRenderbuffer"); + glIsShader = (PFNGLISSHADERPROC)gles3wLoad("glIsShader"); + glIsTexture = (PFNGLISTEXTUREPROC)gles3wLoad("glIsTexture"); + glLineWidth = (PFNGLLINEWIDTHPROC)gles3wLoad("glLineWidth"); + glLinkProgram = (PFNGLLINKPROGRAMPROC)gles3wLoad("glLinkProgram"); + glPixelStorei = (PFNGLPIXELSTOREIPROC)gles3wLoad("glPixelStorei"); + glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles3wLoad("glPolygonOffset"); + glReadPixels = (PFNGLREADPIXELSPROC)gles3wLoad("glReadPixels"); + glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles3wLoad("glReleaseShaderCompiler"); + glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles3wLoad("glRenderbufferStorage"); + glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles3wLoad("glSampleCoverage"); + glScissor = (PFNGLSCISSORPROC)gles3wLoad("glScissor"); + glShaderBinary = (PFNGLSHADERBINARYPROC)gles3wLoad("glShaderBinary"); + glShaderSource = (PFNGLSHADERSOURCEPROC)gles3wLoad("glShaderSource"); + glStencilFunc = (PFNGLSTENCILFUNCPROC)gles3wLoad("glStencilFunc"); + glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles3wLoad("glStencilFuncSeparate"); + glStencilMask = (PFNGLSTENCILMASKPROC)gles3wLoad("glStencilMask"); + glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles3wLoad("glStencilMaskSeparate"); + glStencilOp = (PFNGLSTENCILOPPROC)gles3wLoad("glStencilOp"); + glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles3wLoad("glStencilOpSeparate"); + glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles3wLoad("glTexImage2D"); + glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles3wLoad("glTexParameterf"); + glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles3wLoad("glTexParameterfv"); + glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles3wLoad("glTexParameteri"); + glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles3wLoad("glTexParameteriv"); + glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles3wLoad("glTexSubImage2D"); + glUniform1f = (PFNGLUNIFORM1FPROC)gles3wLoad("glUniform1f"); + glUniform1fv = (PFNGLUNIFORM1FVPROC)gles3wLoad("glUniform1fv"); + glUniform1i = (PFNGLUNIFORM1IPROC)gles3wLoad("glUniform1i"); + glUniform1iv = (PFNGLUNIFORM1IVPROC)gles3wLoad("glUniform1iv"); + glUniform2f = (PFNGLUNIFORM2FPROC)gles3wLoad("glUniform2f"); + glUniform2fv = (PFNGLUNIFORM2FVPROC)gles3wLoad("glUniform2fv"); + glUniform2i = (PFNGLUNIFORM2IPROC)gles3wLoad("glUniform2i"); + glUniform2iv = (PFNGLUNIFORM2IVPROC)gles3wLoad("glUniform2iv"); + glUniform3f = (PFNGLUNIFORM3FPROC)gles3wLoad("glUniform3f"); + glUniform3fv = (PFNGLUNIFORM3FVPROC)gles3wLoad("glUniform3fv"); + glUniform3i = (PFNGLUNIFORM3IPROC)gles3wLoad("glUniform3i"); + glUniform3iv = (PFNGLUNIFORM3IVPROC)gles3wLoad("glUniform3iv"); + glUniform4f = (PFNGLUNIFORM4FPROC)gles3wLoad("glUniform4f"); + glUniform4fv = (PFNGLUNIFORM4FVPROC)gles3wLoad("glUniform4fv"); + glUniform4i = (PFNGLUNIFORM4IPROC)gles3wLoad("glUniform4i"); + glUniform4iv = (PFNGLUNIFORM4IVPROC)gles3wLoad("glUniform4iv"); + glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles3wLoad("glUniformMatrix2fv"); + glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles3wLoad("glUniformMatrix3fv"); + glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles3wLoad("glUniformMatrix4fv"); + glUseProgram = (PFNGLUSEPROGRAMPROC)gles3wLoad("glUseProgram"); + glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles3wLoad("glValidateProgram"); + glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles3wLoad("glVertexAttrib1f"); + glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles3wLoad("glVertexAttrib1fv"); + glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles3wLoad("glVertexAttrib2f"); + glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles3wLoad("glVertexAttrib2fv"); + glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles3wLoad("glVertexAttrib3f"); + glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles3wLoad("glVertexAttrib3fv"); + glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles3wLoad("glVertexAttrib4f"); + glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles3wLoad("glVertexAttrib4fv"); + glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles3wLoad("glVertexAttribPointer"); + glViewport = (PFNGLVIEWPORTPROC)gles3wLoad("glViewport"); + + + /* GL_ES_VERSION_3_0 */ + glReadBuffer = (PFNGLREADBUFFERPROC)gles3wLoad("glReadBuffer"); + glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)gles3wLoad("glDrawRangeElements"); + glTexImage3D = (PFNGLTEXIMAGE3DPROC)gles3wLoad("glTexImage3D"); + glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)gles3wLoad("glTexSubImage3D"); + glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)gles3wLoad("glCopyTexSubImage3D"); + glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)gles3wLoad("glCompressedTexImage3D"); + glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)gles3wLoad("glCompressedTexSubImage3D"); + glGenQueries = (PFNGLGENQUERIESPROC)gles3wLoad("glGenQueries"); + glDeleteQueries = (PFNGLDELETEQUERIESPROC)gles3wLoad("glDeleteQueries"); + glIsQuery = (PFNGLISQUERYPROC)gles3wLoad("glIsQuery"); + glBeginQuery = (PFNGLBEGINQUERYPROC)gles3wLoad("glBeginQuery"); + glEndQuery = (PFNGLENDQUERYPROC)gles3wLoad("glEndQuery"); + glGetQueryiv = (PFNGLGETQUERYIVPROC)gles3wLoad("glGetQueryiv"); + glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)gles3wLoad("glGetQueryObjectuiv"); + glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)gles3wLoad("glUnmapBuffer"); + glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)gles3wLoad("glGetBufferPointerv"); + glDrawBuffers = (PFNGLDRAWBUFFERSPROC)gles3wLoad("glDrawBuffers"); + glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)gles3wLoad("glUniformMatrix2x3fv"); + glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)gles3wLoad("glUniformMatrix3x2fv"); + glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)gles3wLoad("glUniformMatrix2x4fv"); + glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)gles3wLoad("glUniformMatrix4x2fv"); + glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)gles3wLoad("glUniformMatrix3x4fv"); + glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)gles3wLoad("glUniformMatrix4x3fv"); + glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)gles3wLoad("glBlitFramebuffer"); + glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)gles3wLoad("glRenderbufferStorageMultisample"); + glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)gles3wLoad("glFramebufferTextureLayer"); + glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)gles3wLoad("glMapBufferRange"); + glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)gles3wLoad("glFlushMappedBufferRange"); + glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)gles3wLoad("glBindVertexArray"); + glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)gles3wLoad("glDeleteVertexArrays"); + glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)gles3wLoad("glGenVertexArrays"); + glIsVertexArray = (PFNGLISVERTEXARRAYPROC)gles3wLoad("glIsVertexArray"); + glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)gles3wLoad("glGetIntegeri_v"); + glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)gles3wLoad("glBeginTransformFeedback"); + glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)gles3wLoad("glEndTransformFeedback"); + glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)gles3wLoad("glBindBufferRange"); + glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)gles3wLoad("glBindBufferBase"); + glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)gles3wLoad("glTransformFeedbackVaryings"); + glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)gles3wLoad("glGetTransformFeedbackVarying"); + glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)gles3wLoad("glVertexAttribIPointer"); + glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)gles3wLoad("glGetVertexAttribIiv"); + glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)gles3wLoad("glGetVertexAttribIuiv"); + glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)gles3wLoad("glVertexAttribI4i"); + glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)gles3wLoad("glVertexAttribI4ui"); + glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)gles3wLoad("glVertexAttribI4iv"); + glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)gles3wLoad("glVertexAttribI4uiv"); + glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)gles3wLoad("glGetUniformuiv"); + glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)gles3wLoad("glGetFragDataLocation"); + glUniform1ui = (PFNGLUNIFORM1UIPROC)gles3wLoad("glUniform1ui"); + glUniform2ui = (PFNGLUNIFORM2UIPROC)gles3wLoad("glUniform2ui"); + glUniform3ui = (PFNGLUNIFORM3UIPROC)gles3wLoad("glUniform3ui"); + glUniform4ui = (PFNGLUNIFORM4UIPROC)gles3wLoad("glUniform4ui"); + glUniform1uiv = (PFNGLUNIFORM1UIVPROC)gles3wLoad("glUniform1uiv"); + glUniform2uiv = (PFNGLUNIFORM2UIVPROC)gles3wLoad("glUniform2uiv"); + glUniform3uiv = (PFNGLUNIFORM3UIVPROC)gles3wLoad("glUniform3uiv"); + glUniform4uiv = (PFNGLUNIFORM4UIVPROC)gles3wLoad("glUniform4uiv"); + glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)gles3wLoad("glClearBufferiv"); + glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)gles3wLoad("glClearBufferuiv"); + glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)gles3wLoad("glClearBufferfv"); + glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)gles3wLoad("glClearBufferfi"); + glGetStringi = (PFNGLGETSTRINGIPROC)gles3wLoad("glGetStringi"); + glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)gles3wLoad("glCopyBufferSubData"); + glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)gles3wLoad("glGetUniformIndices"); + glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)gles3wLoad("glGetActiveUniformsiv"); + glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)gles3wLoad("glGetUniformBlockIndex"); + glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)gles3wLoad("glGetActiveUniformBlockiv"); + glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)gles3wLoad("glGetActiveUniformBlockName"); + glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)gles3wLoad("glUniformBlockBinding"); + glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)gles3wLoad("glDrawArraysInstanced"); + glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)gles3wLoad("glDrawElementsInstanced"); + glFenceSync = (PFNGLFENCESYNCPROC)gles3wLoad("glFenceSync"); + glIsSync = (PFNGLISSYNCPROC)gles3wLoad("glIsSync"); + glDeleteSync = (PFNGLDELETESYNCPROC)gles3wLoad("glDeleteSync"); + glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)gles3wLoad("glClientWaitSync"); + glWaitSync = (PFNGLWAITSYNCPROC)gles3wLoad("glWaitSync"); + glGetInteger64v = (PFNGLGETINTEGER64VPROC)gles3wLoad("glGetInteger64v"); + glGetSynciv = (PFNGLGETSYNCIVPROC)gles3wLoad("glGetSynciv"); + glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)gles3wLoad("glGetInteger64i_v"); + glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)gles3wLoad("glGetBufferParameteri64v"); + glGenSamplers = (PFNGLGENSAMPLERSPROC)gles3wLoad("glGenSamplers"); + glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)gles3wLoad("glDeleteSamplers"); + glIsSampler = (PFNGLISSAMPLERPROC)gles3wLoad("glIsSampler"); + glBindSampler = (PFNGLBINDSAMPLERPROC)gles3wLoad("glBindSampler"); + glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)gles3wLoad("glSamplerParameteri"); + glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)gles3wLoad("glSamplerParameteriv"); + glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)gles3wLoad("glSamplerParameterf"); + glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)gles3wLoad("glSamplerParameterfv"); + glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)gles3wLoad("glGetSamplerParameteriv"); + glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)gles3wLoad("glGetSamplerParameterfv"); + glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)gles3wLoad("glVertexAttribDivisor"); + glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)gles3wLoad("glBindTransformFeedback"); + glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)gles3wLoad("glDeleteTransformFeedbacks"); + glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)gles3wLoad("glGenTransformFeedbacks"); + glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)gles3wLoad("glIsTransformFeedback"); + glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)gles3wLoad("glPauseTransformFeedback"); + glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)gles3wLoad("glResumeTransformFeedback"); + glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)gles3wLoad("glGetProgramBinary"); + glProgramBinary = (PFNGLPROGRAMBINARYPROC)gles3wLoad("glProgramBinary"); + glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)gles3wLoad("glProgramParameteri"); + glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)gles3wLoad("glInvalidateFramebuffer"); + glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)gles3wLoad("glInvalidateSubFramebuffer"); + glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)gles3wLoad("glTexStorage2D"); + glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)gles3wLoad("glTexStorage3D"); + glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)gles3wLoad("glGetInternalformativ"); + + + /* GL_ES_VERSION_3_1 */ + glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)gles3wLoad("glDispatchCompute"); + glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)gles3wLoad("glDispatchComputeIndirect"); + + glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)gles3wLoad("glDrawArraysIndirect"); + glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)gles3wLoad("glDrawElementsIndirect"); + + glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)gles3wLoad("glFramebufferParameteri"); + glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)gles3wLoad("glGetFramebufferParameteriv"); + + glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)gles3wLoad("glGetProgramInterfaceiv"); + glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)gles3wLoad("glGetProgramResourceIndex"); + glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)gles3wLoad("glGetProgramResourceName"); + glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)gles3wLoad("glGetProgramResourceiv"); + glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)gles3wLoad("glGetProgramResourceLocation"); + + glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)gles3wLoad("glUseProgramStages"); + glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)gles3wLoad("glActiveShaderProgram"); + glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)gles3wLoad("glCreateShaderProgramv"); + glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)gles3wLoad("glBindProgramPipeline"); + glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)gles3wLoad("glDeleteProgramPipelines"); + glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)gles3wLoad("glGenProgramPipelines"); + glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)gles3wLoad("glIsProgramPipeline"); + glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)gles3wLoad("glGetProgramPipelineiv"); + glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)gles3wLoad("glProgramUniform1i"); + glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)gles3wLoad("glProgramUniform2i"); + glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)gles3wLoad("glProgramUniform3i"); + glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)gles3wLoad("glProgramUniform4i"); + glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)gles3wLoad("glProgramUniform1ui"); + glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)gles3wLoad("glProgramUniform2ui"); + glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)gles3wLoad("glProgramUniform3ui"); + glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)gles3wLoad("glProgramUniform4ui"); + glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)gles3wLoad("glProgramUniform1f"); + glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)gles3wLoad("glProgramUniform2f"); + glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)gles3wLoad("glProgramUniform3f"); + glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)gles3wLoad("glProgramUniform4f"); + glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)gles3wLoad("glProgramUniform1iv"); + glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)gles3wLoad("glProgramUniform2iv"); + glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)gles3wLoad("glProgramUniform3iv"); + glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)gles3wLoad("glProgramUniform4iv"); + glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)gles3wLoad("glProgramUniform1uiv"); + glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)gles3wLoad("glProgramUniform2uiv"); + glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)gles3wLoad("glProgramUniform3uiv"); + glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)gles3wLoad("glProgramUniform4uiv"); + glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)gles3wLoad("glProgramUniform1fv"); + glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)gles3wLoad("glProgramUniform2fv"); + glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)gles3wLoad("glProgramUniform3fv"); + glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)gles3wLoad("glProgramUniform4fv"); + glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)gles3wLoad("glProgramUniformMatrix2fv"); + glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)gles3wLoad("glProgramUniformMatrix3fv"); + glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)gles3wLoad("glProgramUniformMatrix4fv"); + glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)gles3wLoad("glProgramUniformMatrix2x3fv"); + glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)gles3wLoad("glProgramUniformMatrix3x2fv"); + glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)gles3wLoad("glProgramUniformMatrix2x4fv"); + glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)gles3wLoad("glProgramUniformMatrix4x2fv"); + glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)gles3wLoad("glProgramUniformMatrix3x4fv"); + glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)gles3wLoad("glProgramUniformMatrix4x3fv"); + glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)gles3wLoad("glValidateProgramPipeline"); + glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)gles3wLoad("glGetProgramPipelineInfoLog"); + + glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)gles3wLoad("glBindImageTexture"); + glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)gles3wLoad("glGetBooleani_v"); + glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)gles3wLoad("glMemoryBarrier"); + glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)gles3wLoad("glMemoryBarrierByRegion"); + + glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)gles3wLoad("glTexStorage2DMultisample"); + glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)gles3wLoad("glGetMultisamplefv"); + glSampleMaski = (PFNGLSAMPLEMASKIPROC)gles3wLoad("glSampleMaski"); + glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)gles3wLoad("glGetTexLevelParameteriv"); + glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)gles3wLoad("glGetTexLevelParameterfv"); + + glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)gles3wLoad("glBindVertexBuffer"); + glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)gles3wLoad("glVertexAttribFormat"); + glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)gles3wLoad("glVertexAttribIFormat"); + glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)gles3wLoad("glVertexAttribBinding"); + glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)gles3wLoad("glVertexBindingDivisor"); + + + /* GL_ES_VERSION_3_2 */ + glBlendBarrier = (PFNGLBLENDBARRIERPROC)gles3wLoad("glBlendBarrier"); + + glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)gles3wLoad("glCopyImageSubData"); + + glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)gles3wLoad("glDebugMessageControl"); + glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)gles3wLoad("glDebugMessageInsert"); + glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)gles3wLoad("glDebugMessageCallback"); + glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)gles3wLoad("glGetDebugMessageLog"); + glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)gles3wLoad("glPushDebugGroup"); + glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)gles3wLoad("glPopDebugGroup"); + glObjectLabel = (PFNGLOBJECTLABELPROC)gles3wLoad("glObjectLabel"); + glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)gles3wLoad("glGetObjectLabel"); + glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)gles3wLoad("glObjectPtrLabel"); + glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)gles3wLoad("glGetObjectPtrLabel"); + glGetPointerv = (PFNGLGETPOINTERVPROC)gles3wLoad("glGetPointerv"); + + glEnablei = (PFNGLENABLEIPROC)gles3wLoad("glEnablei"); + glDisablei = (PFNGLDISABLEIPROC)gles3wLoad("glDisablei"); + glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)gles3wLoad("glBlendEquationi"); + glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)gles3wLoad("glBlendEquationSeparatei"); + glBlendFunci = (PFNGLBLENDFUNCIPROC)gles3wLoad("glBlendFunci"); + glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)gles3wLoad("glBlendFuncSeparatei"); + glColorMaski = (PFNGLCOLORMASKIPROC)gles3wLoad("glColorMaski"); + glIsEnabledi = (PFNGLISENABLEDIPROC)gles3wLoad("glIsEnabledi"); + + glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawElementsBaseVertex"); + glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawRangeElementsBaseVertex"); + glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)gles3wLoad("glDrawElementsInstancedBaseVertex"); + + glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)gles3wLoad("glFramebufferTexture"); + + glPrimitiveBoundingBox = (PFNGLPRIMITIVEBOUNDINGBOXPROC)gles3wLoad("glPrimitiveBoundingBox"); + + glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)gles3wLoad("glGetGraphicsResetStatus"); + glReadnPixels = (PFNGLREADNPIXELSPROC)gles3wLoad("glReadnPixels"); + glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)gles3wLoad("glGetnUniformfv"); + glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)gles3wLoad("glGetnUniformiv"); + glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)gles3wLoad("glGetnUniformuiv"); + + glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)gles3wLoad("glMinSampleShading"); + + glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)gles3wLoad("glPatchParameteri"); + + glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)gles3wLoad("glTexParameterIiv"); + glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)gles3wLoad("glTexParameterIuiv"); + glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)gles3wLoad("glGetTexParameterIiv"); + glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)gles3wLoad("glGetTexParameterIuiv"); + glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)gles3wLoad("glSamplerParameterIiv"); + glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)gles3wLoad("glSamplerParameterIuiv"); + glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)gles3wLoad("glGetSamplerParameterIiv"); + glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)gles3wLoad("glGetSamplerParameterIuiv"); + + glTexBuffer = (PFNGLTEXBUFFERPROC)gles3wLoad("glTexBuffer"); + glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)gles3wLoad("glTexBufferRange"); + + glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)gles3wLoad("glTexStorage3DMultisample"); + + +#if defined(GL_AMD_framebuffer_multisample_advanced) + glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); + glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) + glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles3wLoad("glGetPerfMonitorGroupsAMD"); + glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glGetPerfMonitorCountersAMD"); + glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorGroupStringAMD"); + glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorCounterStringAMD"); + glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles3wLoad("glGetPerfMonitorCounterInfoAMD"); + glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles3wLoad("glGenPerfMonitorsAMD"); + glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles3wLoad("glDeletePerfMonitorsAMD"); + glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glSelectPerfMonitorCountersAMD"); + glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles3wLoad("glBeginPerfMonitorAMD"); + glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles3wLoad("glEndPerfMonitorAMD"); + glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles3wLoad("glGetPerfMonitorCounterDataAMD"); +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) + glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles3wLoad("glBlitFramebufferANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) + glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles3wLoad("glRenderbufferStorageMultisampleANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) + glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles3wLoad("glDrawArraysInstancedANGLE"); + glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles3wLoad("glDrawElementsInstancedANGLE"); + glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles3wLoad("glVertexAttribDivisorANGLE"); +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) + glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles3wLoad("glGetTranslatedShaderSourceANGLE"); +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) + glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles3wLoad("glCopyTextureLevelsAPPLE"); +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) + glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles3wLoad("glRenderbufferStorageMultisampleAPPLE"); + glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles3wLoad("glResolveMultisampleFramebufferAPPLE"); +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) + glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles3wLoad("glFenceSyncAPPLE"); + glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles3wLoad("glIsSyncAPPLE"); + glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles3wLoad("glDeleteSyncAPPLE"); + glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles3wLoad("glClientWaitSyncAPPLE"); + glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles3wLoad("glWaitSyncAPPLE"); + glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles3wLoad("glGetInteger64vAPPLE"); + glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles3wLoad("glGetSyncivAPPLE"); +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) + glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTexStorageEXT"); + + glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTextureStorageEXT"); +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) + glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawArraysInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) + glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles3wLoad("glBindFragDataLocationIndexedEXT"); + glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles3wLoad("glBindFragDataLocationEXT"); + glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles3wLoad("glGetProgramResourceLocationIndexEXT"); + glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles3wLoad("glGetFragDataIndexEXT"); +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) + glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles3wLoad("glBufferStorageEXT"); +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) + glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles3wLoad("glClearTexImageEXT"); + glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles3wLoad("glClearTexSubImageEXT"); +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) + glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles3wLoad("glClipControlEXT"); +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) + glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles3wLoad("glCopyImageSubDataEXT"); +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) + glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles3wLoad("glLabelObjectEXT"); + glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles3wLoad("glGetObjectLabelEXT"); +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) + glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles3wLoad("glInsertEventMarkerEXT"); + glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles3wLoad("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles3wLoad("glPopGroupMarkerEXT"); +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) + glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles3wLoad("glDiscardFramebufferEXT"); +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) + glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles3wLoad("glGenQueriesEXT"); + glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles3wLoad("glDeleteQueriesEXT"); + glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles3wLoad("glIsQueryEXT"); + glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles3wLoad("glBeginQueryEXT"); + glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles3wLoad("glEndQueryEXT"); + glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles3wLoad("glQueryCounterEXT"); + glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles3wLoad("glGetQueryivEXT"); + glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles3wLoad("glGetQueryObjectivEXT"); + glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles3wLoad("glGetQueryObjectuivEXT"); + glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles3wLoad("glGetQueryObjecti64vEXT"); + glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles3wLoad("glGetQueryObjectui64vEXT"); + glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles3wLoad("glGetInteger64vEXT"); +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) + glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles3wLoad("glDrawBuffersEXT"); +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) + glEnableiEXT = (PFNGLENABLEIEXTPROC)gles3wLoad("glEnableiEXT"); + glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles3wLoad("glDisableiEXT"); + glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles3wLoad("glBlendEquationiEXT"); + glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles3wLoad("glBlendEquationSeparateiEXT"); + glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles3wLoad("glBlendFunciEXT"); + glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles3wLoad("glBlendFuncSeparateiEXT"); + glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles3wLoad("glColorMaskiEXT"); + glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles3wLoad("glIsEnablediEXT"); +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) + glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsBaseVertexEXT"); + glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawRangeElementsBaseVertexEXT"); + glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexEXT"); + glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glMultiDrawElementsBaseVertexEXT"); +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) + glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles3wLoad("glDrawArraysInstancedEXT"); + glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles3wLoad("glDrawElementsInstancedEXT"); +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) + glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles3wLoad("glDrawTransformFeedbackEXT"); + glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles3wLoad("glDrawTransformFeedbackInstancedEXT"); +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) + glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glBufferStorageExternalEXT"); + glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glNamedBufferStorageExternalEXT"); +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) + glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles3wLoad("glFramebufferTextureEXT"); +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) + glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles3wLoad("glVertexAttribDivisorEXT"); +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) + glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles3wLoad("glMapBufferRangeEXT"); + glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles3wLoad("glFlushMappedBufferRangeEXT"); +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) + glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles3wLoad("glGetUnsignedBytevEXT"); + glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles3wLoad("glGetUnsignedBytei_vEXT"); + glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles3wLoad("glDeleteMemoryObjectsEXT"); + glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles3wLoad("glIsMemoryObjectEXT"); + glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles3wLoad("glCreateMemoryObjectsEXT"); + glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glMemoryObjectParameterivEXT"); + glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glGetMemoryObjectParameterivEXT"); + glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles3wLoad("glTexStorageMem2DEXT"); + glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem2DMultisampleEXT"); + glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles3wLoad("glTexStorageMem3DEXT"); + glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem3DMultisampleEXT"); + glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glBufferStorageMemEXT"); + + glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles3wLoad("glTextureStorageMem2DEXT"); + glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem2DMultisampleEXT"); + glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles3wLoad("glTextureStorageMem3DEXT"); + glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem3DMultisampleEXT"); + glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glNamedBufferStorageMemEXT"); +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) + glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles3wLoad("glImportMemoryFdEXT"); +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) + glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles3wLoad("glImportMemoryWin32HandleEXT"); + glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles3wLoad("glImportMemoryWin32NameEXT"); +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) + glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles3wLoad("glMultiDrawArraysEXT"); + glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles3wLoad("glMultiDrawElementsEXT"); +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) + glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles3wLoad("glMultiDrawArraysIndirectEXT"); + glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles3wLoad("glMultiDrawElementsIndirectEXT"); +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) + glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles3wLoad("glRenderbufferStorageMultisampleEXT"); + glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles3wLoad("glFramebufferTexture2DMultisampleEXT"); +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) + glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles3wLoad("glReadBufferIndexedEXT"); + glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles3wLoad("glDrawBuffersIndexedEXT"); + glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles3wLoad("glGetIntegeri_vEXT"); +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) + glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles3wLoad("glPolygonOffsetClampEXT"); +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) + glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles3wLoad("glPrimitiveBoundingBoxEXT"); +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) + glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles3wLoad("glRasterSamplesEXT"); +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) + glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles3wLoad("glGetGraphicsResetStatusEXT"); + glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles3wLoad("glReadnPixelsEXT"); + glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles3wLoad("glGetnUniformfvEXT"); + glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles3wLoad("glGetnUniformivEXT"); +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) + glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles3wLoad("glGenSemaphoresEXT"); + glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles3wLoad("glDeleteSemaphoresEXT"); + glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles3wLoad("glIsSemaphoreEXT"); + glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glSemaphoreParameterui64vEXT"); + glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glGetSemaphoreParameterui64vEXT"); + glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles3wLoad("glWaitSemaphoreEXT"); + glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles3wLoad("glSignalSemaphoreEXT"); +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) + glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles3wLoad("glImportSemaphoreFdEXT"); +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) + glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles3wLoad("glImportSemaphoreWin32HandleEXT"); + glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles3wLoad("glImportSemaphoreWin32NameEXT"); +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) + glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles3wLoad("glActiveShaderProgramEXT"); + glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles3wLoad("glBindProgramPipelineEXT"); + glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles3wLoad("glCreateShaderProgramvEXT"); + glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles3wLoad("glDeleteProgramPipelinesEXT"); + glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles3wLoad("glGenProgramPipelinesEXT"); + glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles3wLoad("glGetProgramPipelineInfoLogEXT"); + glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles3wLoad("glGetProgramPipelineivEXT"); + glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles3wLoad("glIsProgramPipelineEXT"); + glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles3wLoad("glProgramParameteriEXT"); + glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles3wLoad("glProgramUniform1fEXT"); + glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles3wLoad("glProgramUniform1fvEXT"); + glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles3wLoad("glProgramUniform1iEXT"); + glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles3wLoad("glProgramUniform1ivEXT"); + glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles3wLoad("glProgramUniform2fEXT"); + glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles3wLoad("glProgramUniform2fvEXT"); + glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles3wLoad("glProgramUniform2iEXT"); + glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles3wLoad("glProgramUniform2ivEXT"); + glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles3wLoad("glProgramUniform3fEXT"); + glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles3wLoad("glProgramUniform3fvEXT"); + glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles3wLoad("glProgramUniform3iEXT"); + glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles3wLoad("glProgramUniform3ivEXT"); + glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles3wLoad("glProgramUniform4fEXT"); + glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles3wLoad("glProgramUniform4fvEXT"); + glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles3wLoad("glProgramUniform4iEXT"); + glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles3wLoad("glProgramUniform4ivEXT"); + glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles3wLoad("glProgramUniformMatrix2fvEXT"); + glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles3wLoad("glProgramUniformMatrix3fvEXT"); + glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles3wLoad("glProgramUniformMatrix4fvEXT"); + glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles3wLoad("glUseProgramStagesEXT"); + glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles3wLoad("glValidateProgramPipelineEXT"); + + glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles3wLoad("glProgramUniform1uiEXT"); + glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles3wLoad("glProgramUniform2uiEXT"); + glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles3wLoad("glProgramUniform3uiEXT"); + glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles3wLoad("glProgramUniform4uiEXT"); + glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles3wLoad("glProgramUniform1uivEXT"); + glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles3wLoad("glProgramUniform2uivEXT"); + glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles3wLoad("glProgramUniform3uivEXT"); + glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles3wLoad("glProgramUniform4uivEXT"); + glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x3fvEXT"); + glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x2fvEXT"); + glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x4fvEXT"); + glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x2fvEXT"); + glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x4fvEXT"); + glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x3fvEXT"); +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) + glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles3wLoad("glFramebufferFetchBarrierEXT"); +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) + glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glFramebufferPixelLocalStorageSizeEXT"); + glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); + glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles3wLoad("glClearPixelLocalStorageuiEXT"); +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) + glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles3wLoad("glTexPageCommitmentEXT"); +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) + glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles3wLoad("glPatchParameteriEXT"); +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) + glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles3wLoad("glTexParameterIivEXT"); + glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles3wLoad("glTexParameterIuivEXT"); + glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles3wLoad("glGetTexParameterIivEXT"); + glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles3wLoad("glGetTexParameterIuivEXT"); + glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glSamplerParameterIivEXT"); + glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glSamplerParameterIuivEXT"); + glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glGetSamplerParameterIivEXT"); + glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glGetSamplerParameterIuivEXT"); +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) + glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles3wLoad("glTexBufferEXT"); + glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles3wLoad("glTexBufferRangeEXT"); +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) + glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles3wLoad("glTexStorage1DEXT"); + glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles3wLoad("glTexStorage2DEXT"); + glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles3wLoad("glTexStorage3DEXT"); + + glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles3wLoad("glTextureStorage1DEXT"); + glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles3wLoad("glTextureStorage2DEXT"); + glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles3wLoad("glTextureStorage3DEXT"); +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) + glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles3wLoad("glTextureViewEXT"); +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) + glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles3wLoad("glCreateSemaphoresNV"); + glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glSemaphoreParameterivNV"); + glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glGetSemaphoreParameterivNV"); +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) + glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glAcquireKeyedMutexWin32EXT"); + glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glReleaseKeyedMutexWin32EXT"); +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) + glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles3wLoad("glWindowRectanglesEXT"); +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) + glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles3wLoad("glGetTextureHandleIMG"); + glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles3wLoad("glGetTextureSamplerHandleIMG"); + glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glUniformHandleui64IMG"); + glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glUniformHandleui64vIMG"); + glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glProgramUniformHandleui64IMG"); + glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glProgramUniformHandleui64vIMG"); +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) + glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DDownsampleIMG"); + glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTextureLayerDownsampleIMG"); +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) + glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles3wLoad("glRenderbufferStorageMultisampleIMG"); + glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DMultisampleIMG"); +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) + glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles3wLoad("glApplyFramebufferAttachmentCMAAINTEL"); +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) + glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles3wLoad("glBeginPerfQueryINTEL"); + glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles3wLoad("glCreatePerfQueryINTEL"); + glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles3wLoad("glDeletePerfQueryINTEL"); + glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles3wLoad("glEndPerfQueryINTEL"); + glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles3wLoad("glGetFirstPerfQueryIdINTEL"); + glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles3wLoad("glGetNextPerfQueryIdINTEL"); + glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles3wLoad("glGetPerfCounterInfoINTEL"); + glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles3wLoad("glGetPerfQueryDataINTEL"); + glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles3wLoad("glGetPerfQueryIdByNameINTEL"); + glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles3wLoad("glGetPerfQueryInfoINTEL"); +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) + glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles3wLoad("glBlendBarrierKHR"); +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) + glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("glDebugMessageControlKHR"); + glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles3wLoad("glDebugMessageInsertKHR"); + glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles3wLoad("glDebugMessageCallbackKHR"); + glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles3wLoad("glGetDebugMessageLogKHR"); + glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles3wLoad("glPushDebugGroupKHR"); + glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles3wLoad("glPopDebugGroupKHR"); + glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles3wLoad("glObjectLabelKHR"); + glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles3wLoad("glGetObjectLabelKHR"); + glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles3wLoad("glObjectPtrLabelKHR"); + glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles3wLoad("glGetObjectPtrLabelKHR"); + glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles3wLoad("glGetPointervKHR"); +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) + glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles3wLoad("glGetGraphicsResetStatusKHR"); + glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles3wLoad("glReadnPixelsKHR"); + glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles3wLoad("glGetnUniformfvKHR"); + glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles3wLoad("glGetnUniformivKHR"); + glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles3wLoad("glGetnUniformuivKHR"); +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) + glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles3wLoad("glMaxShaderCompilerThreadsKHR"); +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) + glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles3wLoad("glFramebufferParameteriMESA"); + glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles3wLoad("glGetFramebufferParameterivMESA"); +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) + glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles3wLoad("glGetTextureHandleNV"); + glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles3wLoad("glGetTextureSamplerHandleNV"); + glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glMakeTextureHandleResidentNV"); + glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeTextureHandleNonResidentNV"); + glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles3wLoad("glGetImageHandleNV"); + glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glMakeImageHandleResidentNV"); + glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeImageHandleNonResidentNV"); + glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles3wLoad("glUniformHandleui64NV"); + glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glUniformHandleui64vNV"); + glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles3wLoad("glProgramUniformHandleui64NV"); + glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glProgramUniformHandleui64vNV"); + glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glIsTextureHandleResidentNV"); + glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glIsImageHandleResidentNV"); +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) + glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles3wLoad("glBlendParameteriNV"); + glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles3wLoad("glBlendBarrierNV"); +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) + glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles3wLoad("glViewportPositionWScaleNV"); +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) + glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles3wLoad("glBeginConditionalRenderNV"); + glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles3wLoad("glEndConditionalRenderNV"); +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) + glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles3wLoad("glSubpixelPrecisionBiasNV"); +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) + glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles3wLoad("glConservativeRasterParameteriNV"); +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) + glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles3wLoad("glCopyBufferSubDataNV"); +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) + glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles3wLoad("glCoverageMaskNV"); + glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles3wLoad("glCoverageOperationNV"); +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) + glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles3wLoad("glDrawBuffersNV"); +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) + glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles3wLoad("glDrawArraysInstancedNV"); + glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles3wLoad("glDrawElementsInstancedNV"); +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) + glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles3wLoad("glDrawVkImageNV"); + glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles3wLoad("glGetVkProcAddrNV"); + glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles3wLoad("glWaitVkSemaphoreNV"); + glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles3wLoad("glSignalVkSemaphoreNV"); + glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles3wLoad("glSignalVkFenceNV"); +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) + glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles3wLoad("glDeleteFencesNV"); + glGenFencesNV = (PFNGLGENFENCESNVPROC)gles3wLoad("glGenFencesNV"); + glIsFenceNV = (PFNGLISFENCENVPROC)gles3wLoad("glIsFenceNV"); + glTestFenceNV = (PFNGLTESTFENCENVPROC)gles3wLoad("glTestFenceNV"); + glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles3wLoad("glGetFenceivNV"); + glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles3wLoad("glFinishFenceNV"); + glSetFenceNV = (PFNGLSETFENCENVPROC)gles3wLoad("glSetFenceNV"); +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) + glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles3wLoad("glFragmentCoverageColorNV"); +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) + glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles3wLoad("glBlitFramebufferNV"); +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) + glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glCoverageModulationTableNV"); + glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glGetCoverageModulationTableNV"); + glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles3wLoad("glCoverageModulationNV"); +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) + glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles3wLoad("glRenderbufferStorageMultisampleNV"); +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) + glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles3wLoad("glUniform1i64NV"); + glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles3wLoad("glUniform2i64NV"); + glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles3wLoad("glUniform3i64NV"); + glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles3wLoad("glUniform4i64NV"); + glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles3wLoad("glUniform1i64vNV"); + glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles3wLoad("glUniform2i64vNV"); + glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles3wLoad("glUniform3i64vNV"); + glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles3wLoad("glUniform4i64vNV"); + glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles3wLoad("glUniform1ui64NV"); + glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles3wLoad("glUniform2ui64NV"); + glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles3wLoad("glUniform3ui64NV"); + glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles3wLoad("glUniform4ui64NV"); + glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles3wLoad("glUniform1ui64vNV"); + glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles3wLoad("glUniform2ui64vNV"); + glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles3wLoad("glUniform3ui64vNV"); + glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles3wLoad("glUniform4ui64vNV"); + glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles3wLoad("glGetUniformi64vNV"); + + glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles3wLoad("glProgramUniform1i64NV"); + glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles3wLoad("glProgramUniform2i64NV"); + glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles3wLoad("glProgramUniform3i64NV"); + glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles3wLoad("glProgramUniform4i64NV"); + glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles3wLoad("glProgramUniform1i64vNV"); + glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles3wLoad("glProgramUniform2i64vNV"); + glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles3wLoad("glProgramUniform3i64vNV"); + glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles3wLoad("glProgramUniform4i64vNV"); + glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles3wLoad("glProgramUniform1ui64NV"); + glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles3wLoad("glProgramUniform2ui64NV"); + glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles3wLoad("glProgramUniform3ui64NV"); + glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles3wLoad("glProgramUniform4ui64NV"); + glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles3wLoad("glProgramUniform1ui64vNV"); + glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles3wLoad("glProgramUniform2ui64vNV"); + glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles3wLoad("glProgramUniform3ui64vNV"); + glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles3wLoad("glProgramUniform4ui64vNV"); +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) + glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles3wLoad("glVertexAttribDivisorNV"); +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) + glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles3wLoad("glGetInternalformatSampleivNV"); +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) + glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles3wLoad("glGetMemoryObjectDetachedResourcesuivNV"); + glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles3wLoad("glResetMemoryObjectParameterNV"); + glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles3wLoad("glTexAttachMemoryNV"); + glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles3wLoad("glBufferAttachMemoryNV"); + + glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles3wLoad("glTextureAttachMemoryNV"); + glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles3wLoad("glNamedBufferAttachMemoryNV"); +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) + glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glBufferPageCommitmentMemNV"); + glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexPageCommitmentMemNV"); + + glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glNamedBufferPageCommitmentMemNV"); + glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexturePageCommitmentMemNV"); +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) + glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles3wLoad("glDrawMeshTasksNV"); + glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectCountNV"); +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) + glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles3wLoad("glUniformMatrix2x3fvNV"); + glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles3wLoad("glUniformMatrix3x2fvNV"); + glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles3wLoad("glUniformMatrix2x4fvNV"); + glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles3wLoad("glUniformMatrix4x2fvNV"); + glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles3wLoad("glUniformMatrix3x4fvNV"); + glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles3wLoad("glUniformMatrix4x3fvNV"); +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) + glGenPathsNV = (PFNGLGENPATHSNVPROC)gles3wLoad("glGenPathsNV"); + glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles3wLoad("glDeletePathsNV"); + glIsPathNV = (PFNGLISPATHNVPROC)gles3wLoad("glIsPathNV"); + glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles3wLoad("glPathCommandsNV"); + glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles3wLoad("glPathCoordsNV"); + glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles3wLoad("glPathSubCommandsNV"); + glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles3wLoad("glPathSubCoordsNV"); + glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles3wLoad("glPathStringNV"); + glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles3wLoad("glPathGlyphsNV"); + glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles3wLoad("glPathGlyphRangeNV"); + glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles3wLoad("glWeightPathsNV"); + glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles3wLoad("glCopyPathNV"); + glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles3wLoad("glInterpolatePathsNV"); + glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles3wLoad("glTransformPathNV"); + glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles3wLoad("glPathParameterivNV"); + glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles3wLoad("glPathParameteriNV"); + glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles3wLoad("glPathParameterfvNV"); + glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles3wLoad("glPathParameterfNV"); + glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles3wLoad("glPathDashArrayNV"); + glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles3wLoad("glPathStencilFuncNV"); + glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles3wLoad("glPathStencilDepthOffsetNV"); + glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles3wLoad("glStencilFillPathNV"); + glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles3wLoad("glStencilStrokePathNV"); + glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilFillPathInstancedNV"); + glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilStrokePathInstancedNV"); + glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles3wLoad("glPathCoverDepthFuncNV"); + glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles3wLoad("glCoverFillPathNV"); + glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles3wLoad("glCoverStrokePathNV"); + glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glCoverFillPathInstancedNV"); + glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glCoverStrokePathInstancedNV"); + glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles3wLoad("glGetPathParameterivNV"); + glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles3wLoad("glGetPathParameterfvNV"); + glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles3wLoad("glGetPathCommandsNV"); + glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles3wLoad("glGetPathCoordsNV"); + glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles3wLoad("glGetPathDashArrayNV"); + glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles3wLoad("glGetPathMetricsNV"); + glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles3wLoad("glGetPathMetricRangeNV"); + glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles3wLoad("glGetPathSpacingNV"); + glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles3wLoad("glIsPointInFillPathNV"); + glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles3wLoad("glIsPointInStrokePathNV"); + glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles3wLoad("glGetPathLengthNV"); + glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles3wLoad("glPointAlongPathNV"); + + glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles3wLoad("glMatrixLoad3x2fNV"); + glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles3wLoad("glMatrixLoad3x3fNV"); + glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixLoadTranspose3x3fNV"); + glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles3wLoad("glMatrixMult3x2fNV"); + glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles3wLoad("glMatrixMult3x3fNV"); + glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixMultTranspose3x3fNV"); + glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles3wLoad("glStencilThenCoverFillPathNV"); + glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles3wLoad("glStencilThenCoverStrokePathNV"); + glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverFillPathInstancedNV"); + glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverStrokePathInstancedNV"); + glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles3wLoad("glPathGlyphIndexRangeNV"); + + glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathGlyphIndexArrayNV"); + glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathMemoryGlyphIndexArrayNV"); + glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles3wLoad("glProgramPathFragmentInputGenNV"); + glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles3wLoad("glGetProgramResourcefvNV"); + + glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles3wLoad("glMatrixFrustumEXT"); + glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles3wLoad("glMatrixLoadIdentityEXT"); + glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles3wLoad("glMatrixLoadTransposefEXT"); + glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles3wLoad("glMatrixLoadTransposedEXT"); + glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles3wLoad("glMatrixLoadfEXT"); + glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles3wLoad("glMatrixLoaddEXT"); + glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles3wLoad("glMatrixMultTransposefEXT"); + glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles3wLoad("glMatrixMultTransposedEXT"); + glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles3wLoad("glMatrixMultfEXT"); + glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles3wLoad("glMatrixMultdEXT"); + glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles3wLoad("glMatrixOrthoEXT"); + glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles3wLoad("glMatrixPopEXT"); + glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles3wLoad("glMatrixPushEXT"); + glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles3wLoad("glMatrixRotatefEXT"); + glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles3wLoad("glMatrixRotatedEXT"); + glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles3wLoad("glMatrixScalefEXT"); + glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles3wLoad("glMatrixScaledEXT"); + glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles3wLoad("glMatrixTranslatefEXT"); + glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles3wLoad("glMatrixTranslatedEXT"); +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) + glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles3wLoad("glPolygonModeNV"); +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) + glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles3wLoad("glReadBufferNV"); +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) + glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glFramebufferSampleLocationsfvNV"); + glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glNamedFramebufferSampleLocationsfvNV"); + glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles3wLoad("glResolveDepthValuesNV"); +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) + glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles3wLoad("glScissorExclusiveNV"); + glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles3wLoad("glScissorExclusiveArrayvNV"); +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) + glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles3wLoad("glBindShadingRateImageNV"); + glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glGetShadingRateImagePaletteNV"); + glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles3wLoad("glGetShadingRateSampleLocationivNV"); + glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles3wLoad("glShadingRateImageBarrierNV"); + glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glShadingRateImagePaletteNV"); + glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles3wLoad("glShadingRateSampleOrderNV"); + glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles3wLoad("glShadingRateSampleOrderCustomNV"); +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) + glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles3wLoad("glViewportArrayvNV"); + glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles3wLoad("glViewportIndexedfNV"); + glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles3wLoad("glViewportIndexedfvNV"); + glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles3wLoad("glScissorArrayvNV"); + glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles3wLoad("glScissorIndexedNV"); + glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles3wLoad("glScissorIndexedvNV"); + glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles3wLoad("glDepthRangeArrayfvNV"); + glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles3wLoad("glDepthRangeIndexedfNV"); + glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles3wLoad("glGetFloati_vNV"); + glEnableiNV = (PFNGLENABLEINVPROC)gles3wLoad("glEnableiNV"); + glDisableiNV = (PFNGLDISABLEINVPROC)gles3wLoad("glDisableiNV"); + glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles3wLoad("glIsEnablediNV"); +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) + glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles3wLoad("glViewportSwizzleNV"); +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) + glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles3wLoad("glEGLImageTargetTexture2DOES"); + glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles3wLoad("glEGLImageTargetRenderbufferStorageOES"); +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) + glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles3wLoad("glCopyImageSubDataOES"); +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) + glEnableiOES = (PFNGLENABLEIOESPROC)gles3wLoad("glEnableiOES"); + glDisableiOES = (PFNGLDISABLEIOESPROC)gles3wLoad("glDisableiOES"); + glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles3wLoad("glBlendEquationiOES"); + glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles3wLoad("glBlendEquationSeparateiOES"); + glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles3wLoad("glBlendFunciOES"); + glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles3wLoad("glBlendFuncSeparateiOES"); + glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles3wLoad("glColorMaskiOES"); + glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles3wLoad("glIsEnablediOES"); +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) + glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawElementsBaseVertexOES"); + glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawRangeElementsBaseVertexOES"); + glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles3wLoad("glDrawElementsInstancedBaseVertexOES"); +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) + glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles3wLoad("glFramebufferTextureOES"); +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) + glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles3wLoad("glGetProgramBinaryOES"); + glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles3wLoad("glProgramBinaryOES"); +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) + glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles3wLoad("glMapBufferOES"); + glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles3wLoad("glUnmapBufferOES"); + glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles3wLoad("glGetBufferPointervOES"); +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) + glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles3wLoad("glPrimitiveBoundingBoxOES"); +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) + glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles3wLoad("glMinSampleShadingOES"); +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) + glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles3wLoad("glPatchParameteriOES"); +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) + glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles3wLoad("glTexImage3DOES"); + glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles3wLoad("glTexSubImage3DOES"); + glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles3wLoad("glCopyTexSubImage3DOES"); + glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles3wLoad("glCompressedTexImage3DOES"); + glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles3wLoad("glCompressedTexSubImage3DOES"); + glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles3wLoad("glFramebufferTexture3DOES"); +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) + glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles3wLoad("glTexParameterIivOES"); + glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles3wLoad("glTexParameterIuivOES"); + glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles3wLoad("glGetTexParameterIivOES"); + glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles3wLoad("glGetTexParameterIuivOES"); + glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glSamplerParameterIivOES"); + glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glSamplerParameterIuivOES"); + glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glGetSamplerParameterIivOES"); + glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glGetSamplerParameterIuivOES"); +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) + glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles3wLoad("glTexBufferOES"); + glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles3wLoad("glTexBufferRangeOES"); +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) + glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles3wLoad("glTexStorage3DMultisampleOES"); +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) + glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles3wLoad("glTextureViewOES"); +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) + glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles3wLoad("glBindVertexArrayOES"); + glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles3wLoad("glDeleteVertexArraysOES"); + glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles3wLoad("glGenVertexArraysOES"); + glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles3wLoad("glIsVertexArrayOES"); +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) + glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles3wLoad("glViewportArrayvOES"); + glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles3wLoad("glViewportIndexedfOES"); + glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles3wLoad("glViewportIndexedfvOES"); + glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles3wLoad("glScissorArrayvOES"); + glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles3wLoad("glScissorIndexedOES"); + glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles3wLoad("glScissorIndexedvOES"); + glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles3wLoad("glDepthRangeArrayfvOES"); + glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles3wLoad("glDepthRangeIndexedfOES"); + glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles3wLoad("glGetFloati_vOES"); +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) + glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultiviewOVR"); +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) + glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultisampleMultiviewOVR"); +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) + glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles3wLoad("glAlphaFuncQCOM"); +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) + glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles3wLoad("glGetDriverControlsQCOM"); + glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles3wLoad("glGetDriverControlStringQCOM"); + glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glEnableDriverControlQCOM"); + glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glDisableDriverControlQCOM"); +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) + glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles3wLoad("glExtGetTexturesQCOM"); + glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles3wLoad("glExtGetBuffersQCOM"); + glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles3wLoad("glExtGetRenderbuffersQCOM"); + glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles3wLoad("glExtGetFramebuffersQCOM"); + glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles3wLoad("glExtGetTexLevelParameterivQCOM"); + glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles3wLoad("glExtTexObjectStateOverrideiQCOM"); + glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles3wLoad("glExtGetTexSubImageQCOM"); + glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles3wLoad("glExtGetBufferPointervQCOM"); +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) + glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles3wLoad("glExtGetShadersQCOM"); + glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles3wLoad("glExtGetProgramsQCOM"); + glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles3wLoad("glExtIsProgramBinaryQCOM"); + glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles3wLoad("glExtGetProgramBinarySourceQCOM"); +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) + glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles3wLoad("glFramebufferFoveationConfigQCOM"); + glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glFramebufferFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) + glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles3wLoad("glTexEstimateMotionQCOM"); + glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles3wLoad("glTexEstimateMotionRegionsQCOM"); +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) + glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles3wLoad("glExtrapolateTex2DQCOM"); +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) + glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glTextureFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) + glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles3wLoad("glFramebufferFetchBarrierQCOM"); +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) + glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles3wLoad("glShadingRateQCOM"); +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) + glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles3wLoad("glStartTilingQCOM"); + glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles3wLoad("glEndTilingQCOM"); +#endif /* defined(GL_QCOM_tiled_rendering) */ + +} diff --git a/native/cocos/renderer/gfx-gles3/gles3w_auto.h b/native/cocos/renderer/gfx-gles3/gles3w_auto.h new file mode 100644 index 0000000000..0fbb0b956c --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/gles3w_auto.h @@ -0,0 +1,1310 @@ +#pragma once + +void gles3wLoadProcs(); + +/* GL_ES_VERSION_2_0 */ +extern PFNGLACTIVETEXTUREPROC glActiveTexture; +extern PFNGLATTACHSHADERPROC glAttachShader; +extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +extern PFNGLBINDBUFFERPROC glBindBuffer; +extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +extern PFNGLBINDTEXTUREPROC glBindTexture; +extern PFNGLBLENDCOLORPROC glBlendColor; +extern PFNGLBLENDEQUATIONPROC glBlendEquation; +extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +extern PFNGLBLENDFUNCPROC glBlendFunc; +extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +extern PFNGLBUFFERDATAPROC glBufferData; +extern PFNGLBUFFERSUBDATAPROC glBufferSubData; +extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +extern PFNGLCLEARPROC glClear; +extern PFNGLCLEARCOLORPROC glClearColor; +extern PFNGLCLEARDEPTHFPROC glClearDepthf; +extern PFNGLCLEARSTENCILPROC glClearStencil; +extern PFNGLCOLORMASKPROC glColorMask; +extern PFNGLCOMPILESHADERPROC glCompileShader; +extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +extern PFNGLCREATEPROGRAMPROC glCreateProgram; +extern PFNGLCREATESHADERPROC glCreateShader; +extern PFNGLCULLFACEPROC glCullFace; +extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; +extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +extern PFNGLDELETEPROGRAMPROC glDeleteProgram; +extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +extern PFNGLDELETESHADERPROC glDeleteShader; +extern PFNGLDELETETEXTURESPROC glDeleteTextures; +extern PFNGLDEPTHFUNCPROC glDepthFunc; +extern PFNGLDEPTHMASKPROC glDepthMask; +extern PFNGLDEPTHRANGEFPROC glDepthRangef; +extern PFNGLDETACHSHADERPROC glDetachShader; +extern PFNGLDISABLEPROC glDisable; +extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +extern PFNGLDRAWARRAYSPROC glDrawArrays; +extern PFNGLDRAWELEMENTSPROC glDrawElements; +extern PFNGLENABLEPROC glEnable; +extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +extern PFNGLFINISHPROC glFinish; +extern PFNGLFLUSHPROC glFlush; +extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +extern PFNGLFRONTFACEPROC glFrontFace; +extern PFNGLGENBUFFERSPROC glGenBuffers; +extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +extern PFNGLGENTEXTURESPROC glGenTextures; +extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +extern PFNGLGETBOOLEANVPROC glGetBooleanv; +extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +extern PFNGLGETERRORPROC glGetError; +extern PFNGLGETFLOATVPROC glGetFloatv; +extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +extern PFNGLGETINTEGERVPROC glGetIntegerv; +extern PFNGLGETPROGRAMIVPROC glGetProgramiv; +extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +extern PFNGLGETSHADERIVPROC glGetShaderiv; +extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; +extern PFNGLGETSTRINGPROC glGetString; +extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +extern PFNGLGETUNIFORMFVPROC glGetUniformfv; +extern PFNGLGETUNIFORMIVPROC glGetUniformiv; +extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +extern PFNGLHINTPROC glHint; +extern PFNGLISBUFFERPROC glIsBuffer; +extern PFNGLISENABLEDPROC glIsEnabled; +extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +extern PFNGLISPROGRAMPROC glIsProgram; +extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +extern PFNGLISSHADERPROC glIsShader; +extern PFNGLISTEXTUREPROC glIsTexture; +extern PFNGLLINEWIDTHPROC glLineWidth; +extern PFNGLLINKPROGRAMPROC glLinkProgram; +extern PFNGLPIXELSTOREIPROC glPixelStorei; +extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; +extern PFNGLREADPIXELSPROC glReadPixels; +extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +extern PFNGLSCISSORPROC glScissor; +extern PFNGLSHADERBINARYPROC glShaderBinary; +extern PFNGLSHADERSOURCEPROC glShaderSource; +extern PFNGLSTENCILFUNCPROC glStencilFunc; +extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +extern PFNGLSTENCILMASKPROC glStencilMask; +extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +extern PFNGLSTENCILOPPROC glStencilOp; +extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +extern PFNGLTEXIMAGE2DPROC glTexImage2D; +extern PFNGLTEXPARAMETERFPROC glTexParameterf; +extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; +extern PFNGLTEXPARAMETERIPROC glTexParameteri; +extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; +extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +extern PFNGLUNIFORM1FPROC glUniform1f; +extern PFNGLUNIFORM1FVPROC glUniform1fv; +extern PFNGLUNIFORM1IPROC glUniform1i; +extern PFNGLUNIFORM1IVPROC glUniform1iv; +extern PFNGLUNIFORM2FPROC glUniform2f; +extern PFNGLUNIFORM2FVPROC glUniform2fv; +extern PFNGLUNIFORM2IPROC glUniform2i; +extern PFNGLUNIFORM2IVPROC glUniform2iv; +extern PFNGLUNIFORM3FPROC glUniform3f; +extern PFNGLUNIFORM3FVPROC glUniform3fv; +extern PFNGLUNIFORM3IPROC glUniform3i; +extern PFNGLUNIFORM3IVPROC glUniform3iv; +extern PFNGLUNIFORM4FPROC glUniform4f; +extern PFNGLUNIFORM4FVPROC glUniform4fv; +extern PFNGLUNIFORM4IPROC glUniform4i; +extern PFNGLUNIFORM4IVPROC glUniform4iv; +extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +extern PFNGLUSEPROGRAMPROC glUseProgram; +extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; +extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +extern PFNGLVIEWPORTPROC glViewport; + + +/* GL_ES_VERSION_3_0 */ +extern PFNGLREADBUFFERPROC glReadBuffer; +extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +extern PFNGLTEXIMAGE3DPROC glTexImage3D; +extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +extern PFNGLGENQUERIESPROC glGenQueries; +extern PFNGLDELETEQUERIESPROC glDeleteQueries; +extern PFNGLISQUERYPROC glIsQuery; +extern PFNGLBEGINQUERYPROC glBeginQuery; +extern PFNGLENDQUERYPROC glEndQuery; +extern PFNGLGETQUERYIVPROC glGetQueryiv; +extern PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +extern PFNGLUNMAPBUFFERPROC glUnmapBuffer; +extern PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +extern PFNGLDRAWBUFFERSPROC glDrawBuffers; +extern PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +extern PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +extern PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +extern PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +extern PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +extern PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +extern PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +extern PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +extern PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +extern PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +extern PFNGLISVERTEXARRAYPROC glIsVertexArray; +extern PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +extern PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +extern PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +extern PFNGLBINDBUFFERBASEPROC glBindBufferBase; +extern PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +extern PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +extern PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +extern PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +extern PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +extern PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +extern PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +extern PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +extern PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +extern PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +extern PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +extern PFNGLUNIFORM1UIPROC glUniform1ui; +extern PFNGLUNIFORM2UIPROC glUniform2ui; +extern PFNGLUNIFORM3UIPROC glUniform3ui; +extern PFNGLUNIFORM4UIPROC glUniform4ui; +extern PFNGLUNIFORM1UIVPROC glUniform1uiv; +extern PFNGLUNIFORM2UIVPROC glUniform2uiv; +extern PFNGLUNIFORM3UIVPROC glUniform3uiv; +extern PFNGLUNIFORM4UIVPROC glUniform4uiv; +extern PFNGLCLEARBUFFERIVPROC glClearBufferiv; +extern PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +extern PFNGLCLEARBUFFERFVPROC glClearBufferfv; +extern PFNGLCLEARBUFFERFIPROC glClearBufferfi; +extern PFNGLGETSTRINGIPROC glGetStringi; +extern PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +extern PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +extern PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +extern PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +extern PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +extern PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +extern PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +extern PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +extern PFNGLFENCESYNCPROC glFenceSync; +extern PFNGLISSYNCPROC glIsSync; +extern PFNGLDELETESYNCPROC glDeleteSync; +extern PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +extern PFNGLWAITSYNCPROC glWaitSync; +extern PFNGLGETINTEGER64VPROC glGetInteger64v; +extern PFNGLGETSYNCIVPROC glGetSynciv; +extern PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +extern PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +extern PFNGLGENSAMPLERSPROC glGenSamplers; +extern PFNGLDELETESAMPLERSPROC glDeleteSamplers; +extern PFNGLISSAMPLERPROC glIsSampler; +extern PFNGLBINDSAMPLERPROC glBindSampler; +extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +extern PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +extern PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +extern PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +extern PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +extern PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +extern PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +extern PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +extern PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +extern PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +extern PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +extern PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +extern PFNGLPROGRAMBINARYPROC glProgramBinary; +extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +extern PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +extern PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +extern PFNGLTEXSTORAGE2DPROC glTexStorage2D; +extern PFNGLTEXSTORAGE3DPROC glTexStorage3D; +extern PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; + + +/* GL_ES_VERSION_3_1 */ +extern PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +extern PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; + +extern PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; +extern PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; + +extern PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; +extern PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; + +extern PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +extern PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; +extern PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +extern PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +extern PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; + +extern PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; +extern PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; +extern PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; +extern PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; +extern PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; +extern PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; +extern PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; +extern PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; +extern PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; +extern PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; +extern PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; +extern PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; +extern PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; +extern PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; +extern PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; +extern PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; +extern PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; +extern PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; +extern PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; +extern PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; +extern PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; +extern PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; +extern PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; +extern PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; +extern PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; +extern PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; +extern PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; +extern PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; +extern PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; +extern PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; +extern PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; +extern PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; +extern PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; +extern PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; +extern PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; +extern PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; +extern PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; +extern PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; +extern PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; +extern PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; +extern PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; +extern PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; +extern PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; + +extern PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +extern PFNGLGETBOOLEANI_VPROC glGetBooleani_v; +extern PFNGLMEMORYBARRIERPROC glMemoryBarrier; +extern PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; + +extern PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; +extern PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; +extern PFNGLSAMPLEMASKIPROC glSampleMaski; +extern PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; +extern PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; + +extern PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; +extern PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; +extern PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; +extern PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; +extern PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; + + +/* GL_ES_VERSION_3_2 */ +extern PFNGLBLENDBARRIERPROC glBlendBarrier; + +extern PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; + +extern PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; +extern PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; +extern PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; +extern PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; +extern PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; +extern PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; +extern PFNGLOBJECTLABELPROC glObjectLabel; +extern PFNGLGETOBJECTLABELPROC glGetObjectLabel; +extern PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; +extern PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; +extern PFNGLGETPOINTERVPROC glGetPointerv; + +extern PFNGLENABLEIPROC glEnablei; +extern PFNGLDISABLEIPROC glDisablei; +extern PFNGLBLENDEQUATIONIPROC glBlendEquationi; +extern PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; +extern PFNGLBLENDFUNCIPROC glBlendFunci; +extern PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; +extern PFNGLCOLORMASKIPROC glColorMaski; +extern PFNGLISENABLEDIPROC glIsEnabledi; + +extern PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; + +extern PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; + +extern PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; + +extern PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; +extern PFNGLREADNPIXELSPROC glReadnPixels; +extern PFNGLGETNUNIFORMFVPROC glGetnUniformfv; +extern PFNGLGETNUNIFORMIVPROC glGetnUniformiv; +extern PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; + +extern PFNGLMINSAMPLESHADINGPROC glMinSampleShading; + +extern PFNGLPATCHPARAMETERIPROC glPatchParameteri; + +extern PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; +extern PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; +extern PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; +extern PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; +extern PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; +extern PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; +extern PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; +extern PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; + +extern PFNGLTEXBUFFERPROC glTexBuffer; +extern PFNGLTEXBUFFERRANGEPROC glTexBufferRange; + +extern PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +extern PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +extern PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +extern PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +extern PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +extern PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +extern PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +extern PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +extern PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +extern PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +extern PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +extern PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +extern PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +extern PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +extern PFNGLISQUERYEXTPROC glIsQueryEXT; +extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +extern PFNGLENDQUERYEXTPROC glEndQueryEXT; +extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +extern PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +extern PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +extern PFNGLENABLEIEXTPROC glEnableiEXT; +extern PFNGLDISABLEIEXTPROC glDisableiEXT; +extern PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +extern PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +extern PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +extern PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +extern PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +extern PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +extern PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +extern PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +extern PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +extern PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +extern PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +extern PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +extern PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +extern PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +extern PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +extern PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +extern PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +extern PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +extern PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +extern PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +extern PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +extern PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +extern PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +extern PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +extern PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +extern PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +extern PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +extern PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +extern PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +extern PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +extern PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +extern PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +extern PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +extern PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +extern PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +extern PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +extern PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +extern PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +extern PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +extern PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +extern PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +extern PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +extern PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +extern PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +extern PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +extern PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +extern PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +extern PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +extern PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +extern PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +extern PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +extern PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +extern PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +extern PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +extern PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +extern PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +extern PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +extern PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +extern PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +extern PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +extern PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +extern PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +extern PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +extern PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +extern PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +extern PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +extern PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +extern PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +extern PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +extern PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +extern PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +extern PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +extern PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +extern PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +extern PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +extern PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +extern PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +extern PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +extern PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +extern PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +extern PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +extern PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +extern PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +extern PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +extern PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +extern PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +extern PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +extern PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +extern PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +extern PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +extern PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +extern PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +extern PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +extern PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +extern PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +extern PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +extern PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +extern PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +extern PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +extern PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +extern PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +extern PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +extern PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +extern PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +extern PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +extern PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +extern PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +extern PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +extern PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +extern PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +extern PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +extern PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +extern PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +extern PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +extern PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +extern PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +extern PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +extern PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +extern PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +extern PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +extern PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +extern PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +extern PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +extern PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +extern PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +extern PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +extern PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +extern PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +extern PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +extern PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +extern PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +extern PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +extern PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +extern PFNGLGENFENCESNVPROC glGenFencesNV; +extern PFNGLISFENCENVPROC glIsFenceNV; +extern PFNGLTESTFENCENVPROC glTestFenceNV; +extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; +extern PFNGLFINISHFENCENVPROC glFinishFenceNV; +extern PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +extern PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +extern PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +extern PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +extern PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +extern PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +extern PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +extern PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +extern PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +extern PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +extern PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +extern PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +extern PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +extern PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +extern PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +extern PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +extern PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +extern PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +extern PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +extern PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +extern PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +extern PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +extern PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +extern PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +extern PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +extern PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +extern PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +extern PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +extern PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +extern PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +extern PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +extern PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +extern PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +extern PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +extern PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +extern PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +extern PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +extern PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +extern PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +extern PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +extern PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +extern PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +extern PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +extern PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +extern PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +extern PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +extern PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +extern PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +extern PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +extern PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +extern PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +extern PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +extern PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +extern PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +extern PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +extern PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +extern PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +extern PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +extern PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +extern PFNGLGENPATHSNVPROC glGenPathsNV; +extern PFNGLDELETEPATHSNVPROC glDeletePathsNV; +extern PFNGLISPATHNVPROC glIsPathNV; +extern PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +extern PFNGLPATHCOORDSNVPROC glPathCoordsNV; +extern PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +extern PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +extern PFNGLPATHSTRINGNVPROC glPathStringNV; +extern PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +extern PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +extern PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +extern PFNGLCOPYPATHNVPROC glCopyPathNV; +extern PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +extern PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +extern PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +extern PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +extern PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +extern PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +extern PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +extern PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +extern PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +extern PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +extern PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +extern PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +extern PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +extern PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +extern PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +extern PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +extern PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +extern PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +extern PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +extern PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +extern PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +extern PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +extern PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +extern PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +extern PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +extern PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +extern PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +extern PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +extern PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +extern PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +extern PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +extern PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +extern PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +extern PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +extern PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +extern PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +extern PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +extern PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +extern PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +extern PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +extern PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +extern PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +extern PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +extern PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +extern PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +extern PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +extern PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +extern PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +extern PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +extern PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +extern PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +extern PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +extern PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +extern PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +extern PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +extern PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +extern PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +extern PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +extern PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +extern PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +extern PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +extern PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +extern PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +extern PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +extern PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +extern PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +extern PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +extern PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +extern PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +extern PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +extern PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +extern PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +extern PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +extern PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +extern PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +extern PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +extern PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +extern PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +extern PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +extern PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +extern PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +extern PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +extern PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +extern PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +extern PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +extern PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +extern PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +extern PFNGLENABLEINVPROC glEnableiNV; +extern PFNGLDISABLEINVPROC glDisableiNV; +extern PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +extern PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +extern PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +extern PFNGLENABLEIOESPROC glEnableiOES; +extern PFNGLDISABLEIOESPROC glDisableiOES; +extern PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +extern PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +extern PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +extern PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +extern PFNGLCOLORMASKIOESPROC glColorMaskiOES; +extern PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +extern PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +extern PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +extern PFNGLMAPBUFFEROESPROC glMapBufferOES; +extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +extern PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +extern PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +extern PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +extern PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +extern PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +extern PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +extern PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +extern PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +extern PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +extern PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +extern PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +extern PFNGLTEXBUFFEROESPROC glTexBufferOES; +extern PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +extern PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +extern PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +extern PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +extern PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +extern PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +extern PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +extern PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +extern PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +extern PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +extern PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +extern PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +extern PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +extern PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +extern PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +extern PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +extern PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +extern PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +extern PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +extern PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +extern PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +extern PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 33a25155e9..0a445e6e81 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -632,22 +632,6 @@ const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODES[] = { VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, // BORDER }; -const VkAccessFlags FULL_ACCESS_FLAGS = VK_ACCESS_INDIRECT_COMMAND_READ_BIT | - VK_ACCESS_INDEX_READ_BIT | - VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT | - VK_ACCESS_UNIFORM_READ_BIT | - VK_ACCESS_INPUT_ATTACHMENT_READ_BIT | - VK_ACCESS_SHADER_READ_BIT | - VK_ACCESS_SHADER_WRITE_BIT | - VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | - VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | - VK_ACCESS_TRANSFER_READ_BIT | - VK_ACCESS_TRANSFER_WRITE_BIT | - VK_ACCESS_HOST_READ_BIT | - VK_ACCESS_HOST_WRITE_BIT; - const VkPipelineBindPoint VK_PIPELINE_BIND_POINTS[] = { VK_PIPELINE_BIND_POINT_GRAPHICS, VK_PIPELINE_BIND_POINT_COMPUTE, @@ -690,18 +674,35 @@ const ThsvsImageLayout THSVS_IMAGE_LAYOUTS[] = { }; const VkImageLayout VK_IMAGE_LAYOUTS[] = { - VK_IMAGE_LAYOUT_UNDEFINED, // UNDEFINED - VK_IMAGE_LAYOUT_GENERAL, // GENERAL - VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, // COLOR_ATTACHMENT_OPTIMAL - VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, // DEPTH_STENCIL_ATTACHMENT_OPTIMAL - VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, // DEPTH_STENCIL_READONLY_OPTIMAL - VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, // SHADER_READONLY_OPTIMAL - VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, // TRANSFER_SRC_OPTIMAL - VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, // TRANSFER_DST_OPTIMAL - VK_IMAGE_LAYOUT_PREINITIALIZED, // PREINITIALIZED - VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, // PRESENT_SRC + VK_IMAGE_LAYOUT_UNDEFINED, + VK_IMAGE_LAYOUT_GENERAL, + VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, + VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, + VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, + VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, + VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, + VK_IMAGE_LAYOUT_PREINITIALIZED, + VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, }; +const VkAccessFlags FULL_ACCESS_FLAGS = + VK_ACCESS_INDIRECT_COMMAND_READ_BIT | + VK_ACCESS_INDEX_READ_BIT | + VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT | + VK_ACCESS_UNIFORM_READ_BIT | + VK_ACCESS_INPUT_ATTACHMENT_READ_BIT | + VK_ACCESS_SHADER_READ_BIT | + VK_ACCESS_SHADER_WRITE_BIT | + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | + VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | + VK_ACCESS_TRANSFER_READ_BIT | + VK_ACCESS_TRANSFER_WRITE_BIT | + VK_ACCESS_HOST_READ_BIT | + VK_ACCESS_HOST_WRITE_BIT; + void fullPipelineBarrier(VkCommandBuffer cmdBuff) { #if CC_DEBUG > 0 VkMemoryBarrier memoryBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; diff --git a/native/tools/gles-wrangler-generator/.gitignore b/native/tools/gles-wrangler-generator/.gitignore new file mode 100644 index 0000000000..d59fbc8996 --- /dev/null +++ b/native/tools/gles-wrangler-generator/.gitignore @@ -0,0 +1,3 @@ +node_modules +specs +output diff --git a/native/tools/gles-wrangler-generator/generate.js b/native/tools/gles-wrangler-generator/generate.js new file mode 100644 index 0000000000..2fc9fb680c --- /dev/null +++ b/native/tools/gles-wrangler-generator/generate.js @@ -0,0 +1,108 @@ +const fs = require('fs'); +const parser = require('fast-xml-parser'); +const axios = require('axios'); + +const eglRegistry = { local: `${__dirname}/specs/egl.xml`, remote: 'https://www.khronos.org/registry/EGL/api/egl.xml' }; +const glRegistry = { local: `${__dirname}/specs/gl.xml`, remote: 'https://www.khronos.org/registry/OpenGL/xml/gl.xml' }; + +async function downloadSpec(specInfo) { + if (fs.existsSync(specInfo.local)) return; + fs.writeFileSync(specInfo.local, (await axios.get(specInfo.remote)).data); +} + +(async () => { + if (!fs.existsSync('specs')) fs.mkdirSync('specs'); + await downloadSpec(eglRegistry); + await downloadSpec(glRegistry); + const parseOpt = { + attributeNamePrefix : "", + ignoreAttributes : false, + ignoreNameSpace : false, + allowBooleanAttributes : true, + parseNodeValue : true, + parseAttributeValue : true, + trimValues: true, + parseTrueNumberOnly: false, + arrayMode: true, + }; + + const glSpec = parser.parse(fs.readFileSync(glRegistry.local).toString(), parseOpt).registry[0]; + const eglSpec = parser.parse(fs.readFileSync(eglRegistry.local).toString(), parseOpt).registry[0]; + + function generate(spec, featureNames, moduleName, bootstraps = []) { + const nameRecord = new Set(); + let headerDecl = ''; + let implDef = ''; + let implLoad = ''; + const writeCommand = (name) => { + headerDecl += `extern PFN${name.toUpperCase()}PROC ${name};\n`; + implDef += `PFN${name.toUpperCase()}PROC ${name};\n`; + implLoad += ` ${name} = (PFN${name.toUpperCase()}PROC)${moduleName}Load("${name}");\n`; + nameRecord.add(name); + }; + const append = (content) => { + headerDecl += content; + implDef += content; + implLoad += content; + }; + for (const bootstrap of bootstraps) { + writeCommand(bootstrap); + append(`\n`); + } + for (const featureName of featureNames) { + headerDecl += `/* ${featureName} */\n`; + implDef += `/* ${featureName} */\n`; + implLoad += ` /* ${featureName} */\n`; + const feature = spec.feature.find((f) => f.name === featureName); + for (const manifest of feature.require) { + if (!manifest.command) continue; + for (const command of manifest.command) { + if (nameRecord.has(command.name)) continue; + writeCommand(command.name); + } + append(`\n`); + } + append(`\n`); + } + const featureAPI = spec.feature.find((f) => f.name === featureNames[0]).api; + for (const extension of spec.extensions[0].extension) { + if (!extension.supported.includes(featureAPI) || !extension.require) continue; + let needDeclare = false; + for (const require of extension.require) { + if (require.api && !require.api.includes(featureAPI) || + !require.command || !require.command.length || + require.command.every((cmd) => nameRecord.has(cmd.name))) continue; + if (!needDeclare) { + append(`#if defined(${extension.name})\n`); + needDeclare = true; + } else { + append(`\n`); + } + for (const command of require.command) { + if (nameRecord.has(command.name)) continue; + writeCommand(command.name); + } + } + if (needDeclare) { + append(`#endif /* defined(${extension.name}) */\n\n`); + } + } + if (!fs.existsSync('output')) fs.mkdirSync('output'); + fs.writeFileSync(`${__dirname}/output/${moduleName}_auto.h`, `#pragma once\n\nvoid ${moduleName}LoadProcs();\n\n${headerDecl}`); + fs.writeFileSync(`${__dirname}/output/${moduleName}_auto.cpp`, `#include "${moduleName}.h"\n\n${implDef}void ${moduleName}LoadProcs() {\n${implLoad}}\n`); + } + + generate(eglSpec, ['EGL_VERSION_1_0', 'EGL_VERSION_1_1', 'EGL_VERSION_1_2', 'EGL_VERSION_1_3', 'EGL_VERSION_1_4', 'EGL_VERSION_1_5'], 'eglw', ['eglGetProcAddress']); + generate(glSpec, ['GL_ES_VERSION_2_0'], 'gles2w'); + generate(glSpec, ['GL_ES_VERSION_2_0', 'GL_ES_VERSION_3_0', 'GL_ES_VERSION_3_1', 'GL_ES_VERSION_3_2'], 'gles3w'); + + fs.createReadStream(`${__dirname}/output/eglw_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/eglw_auto.h`)); + fs.createReadStream(`${__dirname}/output/eglw_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/eglw_auto.cpp`)); + fs.createReadStream(`${__dirname}/output/gles2w_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/gles2w_auto.h`)); + fs.createReadStream(`${__dirname}/output/gles2w_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/gles2w_auto.cpp`)); + + fs.createReadStream(`${__dirname}/output/eglw_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/eglw_auto.h`)); + fs.createReadStream(`${__dirname}/output/eglw_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/eglw_auto.cpp`)); + fs.createReadStream(`${__dirname}/output/gles3w_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w_auto.h`)); + fs.createReadStream(`${__dirname}/output/gles3w_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w_auto.cpp`)); +})(); diff --git a/native/tools/gles-wrangler-generator/package-lock.json b/native/tools/gles-wrangler-generator/package-lock.json new file mode 100644 index 0000000000..03d5514fcc --- /dev/null +++ b/native/tools/gles-wrangler-generator/package-lock.json @@ -0,0 +1,26 @@ +{ + "name": "gles-wrangler-generator", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "axios": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "requires": { + "follow-redirects": "^1.10.0" + } + }, + "fast-xml-parser": { + "version": "3.17.6", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-3.17.6.tgz", + "integrity": "sha512-40WHI/5d2MOzf1sD2bSaTXlPn1lueJLAX6j1xH5dSAr6tNeut8B9ktEL6sjAK9yVON4uNj9//axOdBJUuruCzw==" + }, + "follow-redirects": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz", + "integrity": "sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==" + } + } +} diff --git a/native/tools/gles-wrangler-generator/package.json b/native/tools/gles-wrangler-generator/package.json new file mode 100644 index 0000000000..9827990fd5 --- /dev/null +++ b/native/tools/gles-wrangler-generator/package.json @@ -0,0 +1,15 @@ +{ + "name": "gles-wrangler-generator", + "version": "1.0.0", + "description": "EGL/GLES loader code generator", + "main": "generate.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "YunHsiao", + "license": "MIT", + "dependencies": { + "axios": "^0.21.1", + "fast-xml-parser": "^3.17.6" + } +} From b0d59f12f65565cb95eb914db82a3436eb44ebc6 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 19 Jan 2021 14:34:02 +0800 Subject: [PATCH 123/270] structure --- native/cocos/renderer/gfx-gles2/eglw.h | 21 - native/cocos/renderer/gfx-gles2/eglw_auto.cpp | 660 ---- native/cocos/renderer/gfx-gles2/eglw_auto.h | 332 -- native/cocos/renderer/gfx-gles2/gles2w.cpp | 2813 +++++++++++++- native/cocos/renderer/gfx-gles2/gles2w.h | 1416 ++++++- .../cocos/renderer/gfx-gles2/gles2w_auto.cpp | 2128 ----------- native/cocos/renderer/gfx-gles2/gles2w_auto.h | 1066 ------ native/cocos/renderer/gfx-gles3/eglw.h | 21 - native/cocos/renderer/gfx-gles3/eglw_auto.cpp | 660 ---- native/cocos/renderer/gfx-gles3/eglw_auto.h | 332 -- native/cocos/renderer/gfx-gles3/gles3w.cpp | 3301 ++++++++++++++++- native/cocos/renderer/gfx-gles3/gles3w.h | 1660 ++++++++- .../cocos/renderer/gfx-gles3/gles3w_auto.cpp | 2616 ------------- native/cocos/renderer/gfx-gles3/gles3w_auto.h | 1310 ------- .../tools/gles-wrangler-generator/generate.js | 62 +- 15 files changed, 9194 insertions(+), 9204 deletions(-) delete mode 100644 native/cocos/renderer/gfx-gles2/eglw.h delete mode 100644 native/cocos/renderer/gfx-gles2/eglw_auto.cpp delete mode 100644 native/cocos/renderer/gfx-gles2/eglw_auto.h delete mode 100644 native/cocos/renderer/gfx-gles2/gles2w_auto.cpp delete mode 100644 native/cocos/renderer/gfx-gles2/gles2w_auto.h delete mode 100644 native/cocos/renderer/gfx-gles3/eglw.h delete mode 100644 native/cocos/renderer/gfx-gles3/eglw_auto.cpp delete mode 100644 native/cocos/renderer/gfx-gles3/eglw_auto.h delete mode 100644 native/cocos/renderer/gfx-gles3/gles3w_auto.cpp delete mode 100644 native/cocos/renderer/gfx-gles3/gles3w_auto.h diff --git a/native/cocos/renderer/gfx-gles2/eglw.h b/native/cocos/renderer/gfx-gles2/eglw.h deleted file mode 100644 index 0ca7801481..0000000000 --- a/native/cocos/renderer/gfx-gles2/eglw.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #ifdef __OBJC__ - #include - #endif -#else - #define EGL_EGL_PROTOTYPES 0 - #include - #include - #include -#endif - -#define GL_GLES_PROTOTYPES 0 -#include - -#include -#include -#include - -void *eglwLoad(const char *proc); \ No newline at end of file diff --git a/native/cocos/renderer/gfx-gles2/eglw_auto.cpp b/native/cocos/renderer/gfx-gles2/eglw_auto.cpp deleted file mode 100644 index abd246591e..0000000000 --- a/native/cocos/renderer/gfx-gles2/eglw_auto.cpp +++ /dev/null @@ -1,660 +0,0 @@ -#include "eglw.h" - -PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -PFNEGLCHOOSECONFIGPROC eglChooseConfig; -PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -PFNEGLCREATECONTEXTPROC eglCreateContext; -PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -PFNEGLDESTROYSURFACEPROC eglDestroySurface; -PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -PFNEGLGETCONFIGSPROC eglGetConfigs; -PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -PFNEGLGETDISPLAYPROC eglGetDisplay; -PFNEGLGETERRORPROC eglGetError; -PFNEGLINITIALIZEPROC eglInitialize; -PFNEGLMAKECURRENTPROC eglMakeCurrent; -PFNEGLQUERYCONTEXTPROC eglQueryContext; -PFNEGLQUERYSTRINGPROC eglQueryString; -PFNEGLQUERYSURFACEPROC eglQuerySurface; -PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -PFNEGLTERMINATEPROC eglTerminate; -PFNEGLWAITGLPROC eglWaitGL; -PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -PFNEGLBINDAPIPROC eglBindAPI; -PFNEGLQUERYAPIPROC eglQueryAPI; -PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -PFNEGLRELEASETHREADPROC eglReleaseThread; -PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -PFNEGLCREATESYNCPROC eglCreateSync; -PFNEGLDESTROYSYNCPROC eglDestroySync; -PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -PFNEGLCREATEIMAGEPROC eglCreateImage; -PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -PFNEGLFENCENVPROC eglFenceNV; -PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -void eglwLoadProcs() { - eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)eglwLoad("eglGetProcAddress"); - - /* EGL_VERSION_1_0 */ - eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)eglwLoad("eglChooseConfig"); - eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)eglwLoad("eglCopyBuffers"); - eglCreateContext = (PFNEGLCREATECONTEXTPROC)eglwLoad("eglCreateContext"); - eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)eglwLoad("eglCreatePbufferSurface"); - eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)eglwLoad("eglCreatePixmapSurface"); - eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)eglwLoad("eglCreateWindowSurface"); - eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)eglwLoad("eglDestroyContext"); - eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)eglwLoad("eglDestroySurface"); - eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)eglwLoad("eglGetConfigAttrib"); - eglGetConfigs = (PFNEGLGETCONFIGSPROC)eglwLoad("eglGetConfigs"); - eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)eglwLoad("eglGetCurrentDisplay"); - eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)eglwLoad("eglGetCurrentSurface"); - eglGetDisplay = (PFNEGLGETDISPLAYPROC)eglwLoad("eglGetDisplay"); - eglGetError = (PFNEGLGETERRORPROC)eglwLoad("eglGetError"); - eglInitialize = (PFNEGLINITIALIZEPROC)eglwLoad("eglInitialize"); - eglMakeCurrent = (PFNEGLMAKECURRENTPROC)eglwLoad("eglMakeCurrent"); - eglQueryContext = (PFNEGLQUERYCONTEXTPROC)eglwLoad("eglQueryContext"); - eglQueryString = (PFNEGLQUERYSTRINGPROC)eglwLoad("eglQueryString"); - eglQuerySurface = (PFNEGLQUERYSURFACEPROC)eglwLoad("eglQuerySurface"); - eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)eglwLoad("eglSwapBuffers"); - eglTerminate = (PFNEGLTERMINATEPROC)eglwLoad("eglTerminate"); - eglWaitGL = (PFNEGLWAITGLPROC)eglwLoad("eglWaitGL"); - eglWaitNative = (PFNEGLWAITNATIVEPROC)eglwLoad("eglWaitNative"); - - - /* EGL_VERSION_1_1 */ - eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)eglwLoad("eglBindTexImage"); - eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)eglwLoad("eglReleaseTexImage"); - eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)eglwLoad("eglSurfaceAttrib"); - eglSwapInterval = (PFNEGLSWAPINTERVALPROC)eglwLoad("eglSwapInterval"); - - - /* EGL_VERSION_1_2 */ - eglBindAPI = (PFNEGLBINDAPIPROC)eglwLoad("eglBindAPI"); - eglQueryAPI = (PFNEGLQUERYAPIPROC)eglwLoad("eglQueryAPI"); - eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)eglwLoad("eglCreatePbufferFromClientBuffer"); - eglReleaseThread = (PFNEGLRELEASETHREADPROC)eglwLoad("eglReleaseThread"); - eglWaitClient = (PFNEGLWAITCLIENTPROC)eglwLoad("eglWaitClient"); - - - /* EGL_VERSION_1_3 */ - - /* EGL_VERSION_1_4 */ - eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)eglwLoad("eglGetCurrentContext"); - - - /* EGL_VERSION_1_5 */ - eglCreateSync = (PFNEGLCREATESYNCPROC)eglwLoad("eglCreateSync"); - eglDestroySync = (PFNEGLDESTROYSYNCPROC)eglwLoad("eglDestroySync"); - eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)eglwLoad("eglClientWaitSync"); - eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)eglwLoad("eglGetSyncAttrib"); - - eglCreateImage = (PFNEGLCREATEIMAGEPROC)eglwLoad("eglCreateImage"); - eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)eglwLoad("eglDestroyImage"); - - eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)eglwLoad("eglGetPlatformDisplay"); - eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)eglwLoad("eglCreatePlatformWindowSurface"); - eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)eglwLoad("eglCreatePlatformPixmapSurface"); - - eglWaitSync = (PFNEGLWAITSYNCPROC)eglwLoad("eglWaitSync"); - - -#if defined(EGL_ANDROID_blob_cache) - eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)eglwLoad("eglSetBlobCacheFuncsANDROID"); -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) - eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglCreateNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) - eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglGetNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) - eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)eglwLoad("eglDupNativeFenceFDANDROID"); -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) - eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)eglwLoad("eglPresentationTimeANDROID"); -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) - eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)eglwLoad("eglGetCompositorTimingSupportedANDROID"); - eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)eglwLoad("eglGetCompositorTimingANDROID"); - eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)eglwLoad("eglGetNextFrameIdANDROID"); - eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)eglwLoad("eglGetFrameTimestampSupportedANDROID"); - eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)eglwLoad("eglGetFrameTimestampsANDROID"); -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) - eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)eglwLoad("eglQuerySurfacePointerANGLE"); -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) - eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)eglwLoad("eglClientSignalSyncEXT"); -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) - eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)eglwLoad("eglQueryDeviceAttribEXT"); - eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)eglwLoad("eglQueryDeviceStringEXT"); - eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)eglwLoad("eglQueryDevicesEXT"); - eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)eglwLoad("eglQueryDisplayAttribEXT"); -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) - eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)eglwLoad("eglQueryDmaBufFormatsEXT"); - eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)eglwLoad("eglQueryDmaBufModifiersEXT"); -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) - eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)eglwLoad("eglGetOutputLayersEXT"); - eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)eglwLoad("eglGetOutputPortsEXT"); - eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglOutputLayerAttribEXT"); - eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglQueryOutputLayerAttribEXT"); - eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)eglwLoad("eglQueryOutputLayerStringEXT"); - eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglOutputPortAttribEXT"); - eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglQueryOutputPortAttribEXT"); - eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)eglwLoad("eglQueryOutputPortStringEXT"); -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) - eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)eglwLoad("eglGetPlatformDisplayEXT"); - eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)eglwLoad("eglCreatePlatformWindowSurfaceEXT"); - eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)eglwLoad("eglCreatePlatformPixmapSurfaceEXT"); -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) - eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)eglwLoad("eglStreamConsumerOutputEXT"); -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) - eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)eglwLoad("eglSwapBuffersWithDamageEXT"); -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) - eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)eglwLoad("eglUnsignalSyncEXT"); -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) - eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)eglwLoad("eglCreatePixmapSurfaceHI"); -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) - eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)eglwLoad("eglCreateSync64KHR"); -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) - eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)eglwLoad("eglDebugMessageControlKHR"); - eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)eglwLoad("eglQueryDebugKHR"); - eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)eglwLoad("eglLabelObjectKHR"); -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) - eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)eglwLoad("eglQueryDisplayAttribKHR"); -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) - eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)eglwLoad("eglCreateSyncKHR"); - eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)eglwLoad("eglDestroySyncKHR"); - eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)eglwLoad("eglClientWaitSyncKHR"); - eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)eglwLoad("eglGetSyncAttribKHR"); -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) - eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)eglwLoad("eglCreateImageKHR"); - eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)eglwLoad("eglDestroyImageKHR"); -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) - eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)eglwLoad("eglLockSurfaceKHR"); - eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)eglwLoad("eglUnlockSurfaceKHR"); -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) - eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)eglwLoad("eglQuerySurface64KHR"); -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) - eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)eglwLoad("eglSetDamageRegionKHR"); -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) - eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)eglwLoad("eglSignalSyncKHR"); -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) - eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)eglwLoad("eglCreateStreamKHR"); - eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)eglwLoad("eglDestroyStreamKHR"); - eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)eglwLoad("eglStreamAttribKHR"); - eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)eglwLoad("eglQueryStreamKHR"); - eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)eglwLoad("eglQueryStreamu64KHR"); -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) - eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)eglwLoad("eglCreateStreamAttribKHR"); - eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)eglwLoad("eglSetStreamAttribKHR"); - eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)eglwLoad("eglQueryStreamAttribKHR"); - eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)eglwLoad("eglStreamConsumerAcquireAttribKHR"); - eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)eglwLoad("eglStreamConsumerReleaseAttribKHR"); -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) - eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)eglwLoad("eglStreamConsumerGLTextureExternalKHR"); - eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)eglwLoad("eglStreamConsumerAcquireKHR"); - eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)eglwLoad("eglStreamConsumerReleaseKHR"); -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) - eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)eglwLoad("eglGetStreamFileDescriptorKHR"); - eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)eglwLoad("eglCreateStreamFromFileDescriptorKHR"); -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) - eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)eglwLoad("eglQueryStreamTimeKHR"); -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) - eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)eglwLoad("eglCreateStreamProducerSurfaceKHR"); -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) - eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)eglwLoad("eglSwapBuffersWithDamageKHR"); -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) - eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)eglwLoad("eglWaitSyncKHR"); -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) - eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)eglwLoad("eglCreateDRMImageMESA"); - eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)eglwLoad("eglExportDRMImageMESA"); -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) - eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)eglwLoad("eglExportDMABUFImageQueryMESA"); - eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)eglwLoad("eglExportDMABUFImageMESA"); -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) - eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)eglwLoad("eglGetDisplayDriverConfig"); - eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)eglwLoad("eglGetDisplayDriverName"); -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) - eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)eglwLoad("eglSwapBuffersRegionNOK"); -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) - eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)eglwLoad("eglSwapBuffersRegion2NOK"); -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) - eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)eglwLoad("eglQueryNativeDisplayNV"); - eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)eglwLoad("eglQueryNativeWindowNV"); - eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)eglwLoad("eglQueryNativePixmapNV"); -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) - eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)eglwLoad("eglPostSubBufferNV"); -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) - eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)eglwLoad("eglStreamConsumerGLTextureExternalAttribsNV"); -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) - eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)eglwLoad("eglStreamImageConsumerConnectNV"); - eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)eglwLoad("eglQueryStreamConsumerEventNV"); - eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)eglwLoad("eglStreamAcquireImageNV"); - eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)eglwLoad("eglStreamReleaseImageNV"); -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) - eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)eglwLoad("eglStreamFlushNV"); -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) - eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)eglwLoad("eglQueryDisplayAttribNV"); - eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)eglwLoad("eglSetStreamMetadataNV"); - eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)eglwLoad("eglQueryStreamMetadataNV"); -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) - eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)eglwLoad("eglResetStreamNV"); -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) - eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)eglwLoad("eglCreateStreamSyncNV"); -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) - eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)eglwLoad("eglCreateFenceSyncNV"); - eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)eglwLoad("eglDestroySyncNV"); - eglFenceNV = (PFNEGLFENCENVPROC)eglwLoad("eglFenceNV"); - eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)eglwLoad("eglClientWaitSyncNV"); - eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)eglwLoad("eglSignalSyncNV"); - eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)eglwLoad("eglGetSyncAttribNV"); -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) - eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)eglwLoad("eglGetSystemTimeFrequencyNV"); - eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)eglwLoad("eglGetSystemTimeNV"); -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) - eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)eglwLoad("eglCompositorSetContextListEXT"); - eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetContextAttributesEXT"); - eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)eglwLoad("eglCompositorSetWindowListEXT"); - eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetWindowAttributesEXT"); - eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)eglwLoad("eglCompositorBindTexWindowEXT"); - eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)eglwLoad("eglCompositorSetSizeEXT"); - eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)eglwLoad("eglCompositorSwapPolicyEXT"); -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) - eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglBindWaylandDisplayWL"); - eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglUnbindWaylandDisplayWL"); - eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)eglwLoad("eglQueryWaylandBufferWL"); -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) - eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)eglwLoad("eglCreateWaylandBufferFromImageWL"); -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -} diff --git a/native/cocos/renderer/gfx-gles2/eglw_auto.h b/native/cocos/renderer/gfx-gles2/eglw_auto.h deleted file mode 100644 index b1390af355..0000000000 --- a/native/cocos/renderer/gfx-gles2/eglw_auto.h +++ /dev/null @@ -1,332 +0,0 @@ -#pragma once - -void eglwLoadProcs(); - -extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; -extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -extern PFNEGLCREATECONTEXTPROC eglCreateContext; -extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; -extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -extern PFNEGLGETCONFIGSPROC eglGetConfigs; -extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -extern PFNEGLGETDISPLAYPROC eglGetDisplay; -extern PFNEGLGETERRORPROC eglGetError; -extern PFNEGLINITIALIZEPROC eglInitialize; -extern PFNEGLMAKECURRENTPROC eglMakeCurrent; -extern PFNEGLQUERYCONTEXTPROC eglQueryContext; -extern PFNEGLQUERYSTRINGPROC eglQueryString; -extern PFNEGLQUERYSURFACEPROC eglQuerySurface; -extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -extern PFNEGLTERMINATEPROC eglTerminate; -extern PFNEGLWAITGLPROC eglWaitGL; -extern PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -extern PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -extern PFNEGLBINDAPIPROC eglBindAPI; -extern PFNEGLQUERYAPIPROC eglQueryAPI; -extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -extern PFNEGLRELEASETHREADPROC eglReleaseThread; -extern PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -extern PFNEGLCREATESYNCPROC eglCreateSync; -extern PFNEGLDESTROYSYNCPROC eglDestroySync; -extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -extern PFNEGLCREATEIMAGEPROC eglCreateImage; -extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -extern PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -extern PFNEGLFENCENVPROC eglFenceNV; -extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - diff --git a/native/cocos/renderer/gfx-gles2/gles2w.cpp b/native/cocos/renderer/gfx-gles2/gles2w.cpp index ba726d1008..d3df40410b 100644 --- a/native/cocos/renderer/gfx-gles2/gles2w.cpp +++ b/native/cocos/renderer/gfx-gles2/gles2w.cpp @@ -23,21 +23,6 @@ THE SOFTWARE. ****************************************************************************/ #include "gles2w.h" -bool gles2wInit(void) { - if (!gles2wOpen()) { - return false; - } - - eglwLoadProcs(); - gles2wLoadProcs(); - - return true; -} - -void *eglwLoad(const char *proc) { - return gles2wLoad(proc); -} - #if defined(_WIN32) && !defined(ANDROID) #define WIN32_LEAN_AND_MEAN 1 #include @@ -82,4 +67,2802 @@ void *gles2wLoad(const char *proc) { } #endif +static void gles2wLoadProcs(); + +bool gles2wInit(void) { + if (!gles2wOpen()) { + return false; + } + + gles2wLoadProcs(); + + return true; +} + /* GLES2W_GENERATE_IMPLEMENTATION */ + +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +PFNEGLGETCONFIGSPROC eglGetConfigs; +PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYCONTEXTPROC eglQueryContext; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLQUERYSURFACEPROC eglQuerySurface; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLTERMINATEPROC eglTerminate; +PFNEGLWAITGLPROC eglWaitGL; +PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLQUERYAPIPROC eglQueryAPI; +PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +PFNEGLRELEASETHREADPROC eglReleaseThread; +PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +PFNEGLCREATESYNCPROC eglCreateSync; +PFNEGLDESTROYSYNCPROC eglDestroySync; +PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +PFNEGLCREATEIMAGEPROC eglCreateImage; +PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +PFNEGLFENCENVPROC eglFenceNV; +PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + +/* GL_ES_VERSION_2_0 */ +PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLATTACHSHADERPROC glAttachShader; +PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +PFNGLBINDBUFFERPROC glBindBuffer; +PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +PFNGLBINDTEXTUREPROC glBindTexture; +PFNGLBLENDCOLORPROC glBlendColor; +PFNGLBLENDEQUATIONPROC glBlendEquation; +PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +PFNGLBLENDFUNCPROC glBlendFunc; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +PFNGLBUFFERDATAPROC glBufferData; +PFNGLBUFFERSUBDATAPROC glBufferSubData; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +PFNGLCLEARPROC glClear; +PFNGLCLEARCOLORPROC glClearColor; +PFNGLCLEARDEPTHFPROC glClearDepthf; +PFNGLCLEARSTENCILPROC glClearStencil; +PFNGLCOLORMASKPROC glColorMask; +PFNGLCOMPILESHADERPROC glCompileShader; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +PFNGLCREATEPROGRAMPROC glCreateProgram; +PFNGLCREATESHADERPROC glCreateShader; +PFNGLCULLFACEPROC glCullFace; +PFNGLDELETEBUFFERSPROC glDeleteBuffers; +PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +PFNGLDELETEPROGRAMPROC glDeleteProgram; +PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +PFNGLDELETESHADERPROC glDeleteShader; +PFNGLDELETETEXTURESPROC glDeleteTextures; +PFNGLDEPTHFUNCPROC glDepthFunc; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEFPROC glDepthRangef; +PFNGLDETACHSHADERPROC glDetachShader; +PFNGLDISABLEPROC glDisable; +PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +PFNGLDRAWARRAYSPROC glDrawArrays; +PFNGLDRAWELEMENTSPROC glDrawElements; +PFNGLENABLEPROC glEnable; +PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +PFNGLFINISHPROC glFinish; +PFNGLFLUSHPROC glFlush; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +PFNGLFRONTFACEPROC glFrontFace; +PFNGLGENBUFFERSPROC glGenBuffers; +PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +PFNGLGENTEXTURESPROC glGenTextures; +PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +PFNGLGETBOOLEANVPROC glGetBooleanv; +PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +PFNGLGETERRORPROC glGetError; +PFNGLGETFLOATVPROC glGetFloatv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETPROGRAMIVPROC glGetProgramiv; +PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +PFNGLGETSHADERIVPROC glGetShaderiv; +PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +PFNGLGETSHADERSOURCEPROC glGetShaderSource; +PFNGLGETSTRINGPROC glGetString; +PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +PFNGLGETUNIFORMFVPROC glGetUniformfv; +PFNGLGETUNIFORMIVPROC glGetUniformiv; +PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +PFNGLHINTPROC glHint; +PFNGLISBUFFERPROC glIsBuffer; +PFNGLISENABLEDPROC glIsEnabled; +PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +PFNGLISPROGRAMPROC glIsProgram; +PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +PFNGLISSHADERPROC glIsShader; +PFNGLISTEXTUREPROC glIsTexture; +PFNGLLINEWIDTHPROC glLineWidth; +PFNGLLINKPROGRAMPROC glLinkProgram; +PFNGLPIXELSTOREIPROC glPixelStorei; +PFNGLPOLYGONOFFSETPROC glPolygonOffset; +PFNGLREADPIXELSPROC glReadPixels; +PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +PFNGLSCISSORPROC glScissor; +PFNGLSHADERBINARYPROC glShaderBinary; +PFNGLSHADERSOURCEPROC glShaderSource; +PFNGLSTENCILFUNCPROC glStencilFunc; +PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +PFNGLSTENCILMASKPROC glStencilMask; +PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +PFNGLSTENCILOPPROC glStencilOp; +PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +PFNGLTEXIMAGE2DPROC glTexImage2D; +PFNGLTEXPARAMETERFPROC glTexParameterf; +PFNGLTEXPARAMETERFVPROC glTexParameterfv; +PFNGLTEXPARAMETERIPROC glTexParameteri; +PFNGLTEXPARAMETERIVPROC glTexParameteriv; +PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +PFNGLUNIFORM1FPROC glUniform1f; +PFNGLUNIFORM1FVPROC glUniform1fv; +PFNGLUNIFORM1IPROC glUniform1i; +PFNGLUNIFORM1IVPROC glUniform1iv; +PFNGLUNIFORM2FPROC glUniform2f; +PFNGLUNIFORM2FVPROC glUniform2fv; +PFNGLUNIFORM2IPROC glUniform2i; +PFNGLUNIFORM2IVPROC glUniform2iv; +PFNGLUNIFORM3FPROC glUniform3f; +PFNGLUNIFORM3FVPROC glUniform3fv; +PFNGLUNIFORM3IPROC glUniform3i; +PFNGLUNIFORM3IVPROC glUniform3iv; +PFNGLUNIFORM4FPROC glUniform4f; +PFNGLUNIFORM4FVPROC glUniform4fv; +PFNGLUNIFORM4IPROC glUniform4i; +PFNGLUNIFORM4IVPROC glUniform4iv; +PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +PFNGLUSEPROGRAMPROC glUseProgram; +PFNGLVALIDATEPROGRAMPROC glValidateProgram; +PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +PFNGLVIEWPORTPROC glViewport; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +PFNGLISQUERYEXTPROC glIsQueryEXT; +PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +PFNGLENDQUERYEXTPROC glEndQueryEXT; +PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +PFNGLENABLEIEXTPROC glEnableiEXT; +PFNGLDISABLEIEXTPROC glDisableiEXT; +PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +PFNGLGENFENCESNVPROC glGenFencesNV; +PFNGLISFENCENVPROC glIsFenceNV; +PFNGLTESTFENCENVPROC glTestFenceNV; +PFNGLGETFENCEIVNVPROC glGetFenceivNV; +PFNGLFINISHFENCENVPROC glFinishFenceNV; +PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +PFNGLGENPATHSNVPROC glGenPathsNV; +PFNGLDELETEPATHSNVPROC glDeletePathsNV; +PFNGLISPATHNVPROC glIsPathNV; +PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +PFNGLPATHCOORDSNVPROC glPathCoordsNV; +PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +PFNGLPATHSTRINGNVPROC glPathStringNV; +PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +PFNGLCOPYPATHNVPROC glCopyPathNV; +PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +PFNGLENABLEINVPROC glEnableiNV; +PFNGLDISABLEINVPROC glDisableiNV; +PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +PFNGLENABLEIOESPROC glEnableiOES; +PFNGLDISABLEIOESPROC glDisableiOES; +PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +PFNGLCOLORMASKIOESPROC glColorMaskiOES; +PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +PFNGLMAPBUFFEROESPROC glMapBufferOES; +PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +PFNGLTEXBUFFEROESPROC glTexBufferOES; +PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + + +static void gles2wLoadProcs() { + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles2wLoad("eglGetProcAddress"); + + /* EGL_VERSION_1_0 */ + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)gles2wLoad("eglChooseConfig"); + eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)gles2wLoad("eglCopyBuffers"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)gles2wLoad("eglCreateContext"); + eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)gles2wLoad("eglCreatePbufferSurface"); + eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)gles2wLoad("eglCreatePixmapSurface"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)gles2wLoad("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)gles2wLoad("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)gles2wLoad("eglDestroySurface"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)gles2wLoad("eglGetConfigAttrib"); + eglGetConfigs = (PFNEGLGETCONFIGSPROC)gles2wLoad("eglGetConfigs"); + eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)gles2wLoad("eglGetCurrentDisplay"); + eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)gles2wLoad("eglGetCurrentSurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)gles2wLoad("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)gles2wLoad("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)gles2wLoad("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)gles2wLoad("eglMakeCurrent"); + eglQueryContext = (PFNEGLQUERYCONTEXTPROC)gles2wLoad("eglQueryContext"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)gles2wLoad("eglQueryString"); + eglQuerySurface = (PFNEGLQUERYSURFACEPROC)gles2wLoad("eglQuerySurface"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)gles2wLoad("eglSwapBuffers"); + eglTerminate = (PFNEGLTERMINATEPROC)gles2wLoad("eglTerminate"); + eglWaitGL = (PFNEGLWAITGLPROC)gles2wLoad("eglWaitGL"); + eglWaitNative = (PFNEGLWAITNATIVEPROC)gles2wLoad("eglWaitNative"); + + + /* EGL_VERSION_1_1 */ + eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)gles2wLoad("eglBindTexImage"); + eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)gles2wLoad("eglReleaseTexImage"); + eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)gles2wLoad("eglSurfaceAttrib"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)gles2wLoad("eglSwapInterval"); + + + /* EGL_VERSION_1_2 */ + eglBindAPI = (PFNEGLBINDAPIPROC)gles2wLoad("eglBindAPI"); + eglQueryAPI = (PFNEGLQUERYAPIPROC)gles2wLoad("eglQueryAPI"); + eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)gles2wLoad("eglCreatePbufferFromClientBuffer"); + eglReleaseThread = (PFNEGLRELEASETHREADPROC)gles2wLoad("eglReleaseThread"); + eglWaitClient = (PFNEGLWAITCLIENTPROC)gles2wLoad("eglWaitClient"); + + + /* EGL_VERSION_1_3 */ + + /* EGL_VERSION_1_4 */ + eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)gles2wLoad("eglGetCurrentContext"); + + + /* EGL_VERSION_1_5 */ + eglCreateSync = (PFNEGLCREATESYNCPROC)gles2wLoad("eglCreateSync"); + eglDestroySync = (PFNEGLDESTROYSYNCPROC)gles2wLoad("eglDestroySync"); + eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)gles2wLoad("eglClientWaitSync"); + eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)gles2wLoad("eglGetSyncAttrib"); + + eglCreateImage = (PFNEGLCREATEIMAGEPROC)gles2wLoad("eglCreateImage"); + eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)gles2wLoad("eglDestroyImage"); + + eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)gles2wLoad("eglGetPlatformDisplay"); + eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)gles2wLoad("eglCreatePlatformWindowSurface"); + eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)gles2wLoad("eglCreatePlatformPixmapSurface"); + + eglWaitSync = (PFNEGLWAITSYNCPROC)gles2wLoad("eglWaitSync"); + + +#if defined(EGL_ANDROID_blob_cache) + eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)gles2wLoad("eglSetBlobCacheFuncsANDROID"); +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) + eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)gles2wLoad("eglCreateNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) + eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)gles2wLoad("eglGetNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) + eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)gles2wLoad("eglDupNativeFenceFDANDROID"); +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) + eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)gles2wLoad("eglPresentationTimeANDROID"); +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) + eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)gles2wLoad("eglGetCompositorTimingSupportedANDROID"); + eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)gles2wLoad("eglGetCompositorTimingANDROID"); + eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)gles2wLoad("eglGetNextFrameIdANDROID"); + eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)gles2wLoad("eglGetFrameTimestampSupportedANDROID"); + eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)gles2wLoad("eglGetFrameTimestampsANDROID"); +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) + eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)gles2wLoad("eglQuerySurfacePointerANGLE"); +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) + eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)gles2wLoad("eglClientSignalSyncEXT"); +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) + eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)gles2wLoad("eglQueryDeviceAttribEXT"); + eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)gles2wLoad("eglQueryDeviceStringEXT"); + eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)gles2wLoad("eglQueryDevicesEXT"); + eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)gles2wLoad("eglQueryDisplayAttribEXT"); +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) + eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)gles2wLoad("eglQueryDmaBufFormatsEXT"); + eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)gles2wLoad("eglQueryDmaBufModifiersEXT"); +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) + eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)gles2wLoad("eglGetOutputLayersEXT"); + eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)gles2wLoad("eglGetOutputPortsEXT"); + eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)gles2wLoad("eglOutputLayerAttribEXT"); + eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)gles2wLoad("eglQueryOutputLayerAttribEXT"); + eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)gles2wLoad("eglQueryOutputLayerStringEXT"); + eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)gles2wLoad("eglOutputPortAttribEXT"); + eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)gles2wLoad("eglQueryOutputPortAttribEXT"); + eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)gles2wLoad("eglQueryOutputPortStringEXT"); +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) + eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)gles2wLoad("eglGetPlatformDisplayEXT"); + eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)gles2wLoad("eglCreatePlatformWindowSurfaceEXT"); + eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)gles2wLoad("eglCreatePlatformPixmapSurfaceEXT"); +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) + eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)gles2wLoad("eglStreamConsumerOutputEXT"); +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) + eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)gles2wLoad("eglSwapBuffersWithDamageEXT"); +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) + eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)gles2wLoad("eglUnsignalSyncEXT"); +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) + eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)gles2wLoad("eglCreatePixmapSurfaceHI"); +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) + eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)gles2wLoad("eglCreateSync64KHR"); +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) + eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("eglDebugMessageControlKHR"); + eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)gles2wLoad("eglQueryDebugKHR"); + eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)gles2wLoad("eglLabelObjectKHR"); +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) + eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)gles2wLoad("eglQueryDisplayAttribKHR"); +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) + eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)gles2wLoad("eglCreateSyncKHR"); + eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)gles2wLoad("eglDestroySyncKHR"); + eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)gles2wLoad("eglClientWaitSyncKHR"); + eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)gles2wLoad("eglGetSyncAttribKHR"); +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) + eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gles2wLoad("eglCreateImageKHR"); + eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gles2wLoad("eglDestroyImageKHR"); +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) + eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)gles2wLoad("eglLockSurfaceKHR"); + eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)gles2wLoad("eglUnlockSurfaceKHR"); +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) + eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)gles2wLoad("eglQuerySurface64KHR"); +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) + eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)gles2wLoad("eglSetDamageRegionKHR"); +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) + eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)gles2wLoad("eglSignalSyncKHR"); +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) + eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)gles2wLoad("eglCreateStreamKHR"); + eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)gles2wLoad("eglDestroyStreamKHR"); + eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)gles2wLoad("eglStreamAttribKHR"); + eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)gles2wLoad("eglQueryStreamKHR"); + eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)gles2wLoad("eglQueryStreamu64KHR"); +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) + eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)gles2wLoad("eglCreateStreamAttribKHR"); + eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)gles2wLoad("eglSetStreamAttribKHR"); + eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)gles2wLoad("eglQueryStreamAttribKHR"); + eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)gles2wLoad("eglStreamConsumerAcquireAttribKHR"); + eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)gles2wLoad("eglStreamConsumerReleaseAttribKHR"); +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) + eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)gles2wLoad("eglStreamConsumerGLTextureExternalKHR"); + eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)gles2wLoad("eglStreamConsumerAcquireKHR"); + eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)gles2wLoad("eglStreamConsumerReleaseKHR"); +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) + eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)gles2wLoad("eglGetStreamFileDescriptorKHR"); + eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)gles2wLoad("eglCreateStreamFromFileDescriptorKHR"); +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) + eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)gles2wLoad("eglQueryStreamTimeKHR"); +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) + eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)gles2wLoad("eglCreateStreamProducerSurfaceKHR"); +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) + eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)gles2wLoad("eglSwapBuffersWithDamageKHR"); +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) + eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)gles2wLoad("eglWaitSyncKHR"); +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) + eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)gles2wLoad("eglCreateDRMImageMESA"); + eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)gles2wLoad("eglExportDRMImageMESA"); +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) + eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)gles2wLoad("eglExportDMABUFImageQueryMESA"); + eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)gles2wLoad("eglExportDMABUFImageMESA"); +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) + eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)gles2wLoad("eglGetDisplayDriverConfig"); + eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)gles2wLoad("eglGetDisplayDriverName"); +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) + eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)gles2wLoad("eglSwapBuffersRegionNOK"); +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) + eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)gles2wLoad("eglSwapBuffersRegion2NOK"); +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) + eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)gles2wLoad("eglQueryNativeDisplayNV"); + eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)gles2wLoad("eglQueryNativeWindowNV"); + eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)gles2wLoad("eglQueryNativePixmapNV"); +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) + eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)gles2wLoad("eglPostSubBufferNV"); +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) + eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)gles2wLoad("eglStreamConsumerGLTextureExternalAttribsNV"); +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) + eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)gles2wLoad("eglStreamImageConsumerConnectNV"); + eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)gles2wLoad("eglQueryStreamConsumerEventNV"); + eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)gles2wLoad("eglStreamAcquireImageNV"); + eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)gles2wLoad("eglStreamReleaseImageNV"); +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) + eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)gles2wLoad("eglStreamFlushNV"); +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) + eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)gles2wLoad("eglQueryDisplayAttribNV"); + eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)gles2wLoad("eglSetStreamMetadataNV"); + eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)gles2wLoad("eglQueryStreamMetadataNV"); +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) + eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)gles2wLoad("eglResetStreamNV"); +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) + eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)gles2wLoad("eglCreateStreamSyncNV"); +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) + eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)gles2wLoad("eglCreateFenceSyncNV"); + eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)gles2wLoad("eglDestroySyncNV"); + eglFenceNV = (PFNEGLFENCENVPROC)gles2wLoad("eglFenceNV"); + eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)gles2wLoad("eglClientWaitSyncNV"); + eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)gles2wLoad("eglSignalSyncNV"); + eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)gles2wLoad("eglGetSyncAttribNV"); +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) + eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)gles2wLoad("eglGetSystemTimeFrequencyNV"); + eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)gles2wLoad("eglGetSystemTimeNV"); +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) + eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)gles2wLoad("eglCompositorSetContextListEXT"); + eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)gles2wLoad("eglCompositorSetContextAttributesEXT"); + eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)gles2wLoad("eglCompositorSetWindowListEXT"); + eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)gles2wLoad("eglCompositorSetWindowAttributesEXT"); + eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)gles2wLoad("eglCompositorBindTexWindowEXT"); + eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)gles2wLoad("eglCompositorSetSizeEXT"); + eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)gles2wLoad("eglCompositorSwapPolicyEXT"); +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) + eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)gles2wLoad("eglBindWaylandDisplayWL"); + eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)gles2wLoad("eglUnbindWaylandDisplayWL"); + eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)gles2wLoad("eglQueryWaylandBufferWL"); +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) + eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles2wLoad("eglCreateWaylandBufferFromImageWL"); +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + + /* GL_ES_VERSION_2_0 */ + glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles2wLoad("glActiveTexture"); + glAttachShader = (PFNGLATTACHSHADERPROC)gles2wLoad("glAttachShader"); + glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles2wLoad("glBindAttribLocation"); + glBindBuffer = (PFNGLBINDBUFFERPROC)gles2wLoad("glBindBuffer"); + glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles2wLoad("glBindFramebuffer"); + glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles2wLoad("glBindRenderbuffer"); + glBindTexture = (PFNGLBINDTEXTUREPROC)gles2wLoad("glBindTexture"); + glBlendColor = (PFNGLBLENDCOLORPROC)gles2wLoad("glBlendColor"); + glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles2wLoad("glBlendEquation"); + glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles2wLoad("glBlendEquationSeparate"); + glBlendFunc = (PFNGLBLENDFUNCPROC)gles2wLoad("glBlendFunc"); + glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles2wLoad("glBlendFuncSeparate"); + glBufferData = (PFNGLBUFFERDATAPROC)gles2wLoad("glBufferData"); + glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles2wLoad("glBufferSubData"); + glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles2wLoad("glCheckFramebufferStatus"); + glClear = (PFNGLCLEARPROC)gles2wLoad("glClear"); + glClearColor = (PFNGLCLEARCOLORPROC)gles2wLoad("glClearColor"); + glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles2wLoad("glClearDepthf"); + glClearStencil = (PFNGLCLEARSTENCILPROC)gles2wLoad("glClearStencil"); + glColorMask = (PFNGLCOLORMASKPROC)gles2wLoad("glColorMask"); + glCompileShader = (PFNGLCOMPILESHADERPROC)gles2wLoad("glCompileShader"); + glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles2wLoad("glCompressedTexImage2D"); + glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles2wLoad("glCompressedTexSubImage2D"); + glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles2wLoad("glCopyTexImage2D"); + glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles2wLoad("glCopyTexSubImage2D"); + glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles2wLoad("glCreateProgram"); + glCreateShader = (PFNGLCREATESHADERPROC)gles2wLoad("glCreateShader"); + glCullFace = (PFNGLCULLFACEPROC)gles2wLoad("glCullFace"); + glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles2wLoad("glDeleteBuffers"); + glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles2wLoad("glDeleteFramebuffers"); + glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles2wLoad("glDeleteProgram"); + glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles2wLoad("glDeleteRenderbuffers"); + glDeleteShader = (PFNGLDELETESHADERPROC)gles2wLoad("glDeleteShader"); + glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles2wLoad("glDeleteTextures"); + glDepthFunc = (PFNGLDEPTHFUNCPROC)gles2wLoad("glDepthFunc"); + glDepthMask = (PFNGLDEPTHMASKPROC)gles2wLoad("glDepthMask"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles2wLoad("glDepthRangef"); + glDetachShader = (PFNGLDETACHSHADERPROC)gles2wLoad("glDetachShader"); + glDisable = (PFNGLDISABLEPROC)gles2wLoad("glDisable"); + glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glDisableVertexAttribArray"); + glDrawArrays = (PFNGLDRAWARRAYSPROC)gles2wLoad("glDrawArrays"); + glDrawElements = (PFNGLDRAWELEMENTSPROC)gles2wLoad("glDrawElements"); + glEnable = (PFNGLENABLEPROC)gles2wLoad("glEnable"); + glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glEnableVertexAttribArray"); + glFinish = (PFNGLFINISHPROC)gles2wLoad("glFinish"); + glFlush = (PFNGLFLUSHPROC)gles2wLoad("glFlush"); + glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles2wLoad("glFramebufferRenderbuffer"); + glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles2wLoad("glFramebufferTexture2D"); + glFrontFace = (PFNGLFRONTFACEPROC)gles2wLoad("glFrontFace"); + glGenBuffers = (PFNGLGENBUFFERSPROC)gles2wLoad("glGenBuffers"); + glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles2wLoad("glGenerateMipmap"); + glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles2wLoad("glGenFramebuffers"); + glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles2wLoad("glGenRenderbuffers"); + glGenTextures = (PFNGLGENTEXTURESPROC)gles2wLoad("glGenTextures"); + glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles2wLoad("glGetActiveAttrib"); + glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles2wLoad("glGetActiveUniform"); + glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles2wLoad("glGetAttachedShaders"); + glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles2wLoad("glGetAttribLocation"); + glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles2wLoad("glGetBooleanv"); + glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles2wLoad("glGetBufferParameteriv"); + glGetError = (PFNGLGETERRORPROC)gles2wLoad("glGetError"); + glGetFloatv = (PFNGLGETFLOATVPROC)gles2wLoad("glGetFloatv"); + glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles2wLoad("glGetFramebufferAttachmentParameteriv"); + glGetIntegerv = (PFNGLGETINTEGERVPROC)gles2wLoad("glGetIntegerv"); + glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles2wLoad("glGetProgramiv"); + glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles2wLoad("glGetProgramInfoLog"); + glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles2wLoad("glGetRenderbufferParameteriv"); + glGetShaderiv = (PFNGLGETSHADERIVPROC)gles2wLoad("glGetShaderiv"); + glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles2wLoad("glGetShaderInfoLog"); + glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles2wLoad("glGetShaderPrecisionFormat"); + glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles2wLoad("glGetShaderSource"); + glGetString = (PFNGLGETSTRINGPROC)gles2wLoad("glGetString"); + glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles2wLoad("glGetTexParameterfv"); + glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles2wLoad("glGetTexParameteriv"); + glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles2wLoad("glGetUniformfv"); + glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles2wLoad("glGetUniformiv"); + glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles2wLoad("glGetUniformLocation"); + glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles2wLoad("glGetVertexAttribfv"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles2wLoad("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles2wLoad("glGetVertexAttribPointerv"); + glHint = (PFNGLHINTPROC)gles2wLoad("glHint"); + glIsBuffer = (PFNGLISBUFFERPROC)gles2wLoad("glIsBuffer"); + glIsEnabled = (PFNGLISENABLEDPROC)gles2wLoad("glIsEnabled"); + glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles2wLoad("glIsFramebuffer"); + glIsProgram = (PFNGLISPROGRAMPROC)gles2wLoad("glIsProgram"); + glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles2wLoad("glIsRenderbuffer"); + glIsShader = (PFNGLISSHADERPROC)gles2wLoad("glIsShader"); + glIsTexture = (PFNGLISTEXTUREPROC)gles2wLoad("glIsTexture"); + glLineWidth = (PFNGLLINEWIDTHPROC)gles2wLoad("glLineWidth"); + glLinkProgram = (PFNGLLINKPROGRAMPROC)gles2wLoad("glLinkProgram"); + glPixelStorei = (PFNGLPIXELSTOREIPROC)gles2wLoad("glPixelStorei"); + glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles2wLoad("glPolygonOffset"); + glReadPixels = (PFNGLREADPIXELSPROC)gles2wLoad("glReadPixels"); + glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles2wLoad("glReleaseShaderCompiler"); + glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles2wLoad("glRenderbufferStorage"); + glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles2wLoad("glSampleCoverage"); + glScissor = (PFNGLSCISSORPROC)gles2wLoad("glScissor"); + glShaderBinary = (PFNGLSHADERBINARYPROC)gles2wLoad("glShaderBinary"); + glShaderSource = (PFNGLSHADERSOURCEPROC)gles2wLoad("glShaderSource"); + glStencilFunc = (PFNGLSTENCILFUNCPROC)gles2wLoad("glStencilFunc"); + glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles2wLoad("glStencilFuncSeparate"); + glStencilMask = (PFNGLSTENCILMASKPROC)gles2wLoad("glStencilMask"); + glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles2wLoad("glStencilMaskSeparate"); + glStencilOp = (PFNGLSTENCILOPPROC)gles2wLoad("glStencilOp"); + glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles2wLoad("glStencilOpSeparate"); + glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles2wLoad("glTexImage2D"); + glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles2wLoad("glTexParameterf"); + glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles2wLoad("glTexParameterfv"); + glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles2wLoad("glTexParameteri"); + glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles2wLoad("glTexParameteriv"); + glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles2wLoad("glTexSubImage2D"); + glUniform1f = (PFNGLUNIFORM1FPROC)gles2wLoad("glUniform1f"); + glUniform1fv = (PFNGLUNIFORM1FVPROC)gles2wLoad("glUniform1fv"); + glUniform1i = (PFNGLUNIFORM1IPROC)gles2wLoad("glUniform1i"); + glUniform1iv = (PFNGLUNIFORM1IVPROC)gles2wLoad("glUniform1iv"); + glUniform2f = (PFNGLUNIFORM2FPROC)gles2wLoad("glUniform2f"); + glUniform2fv = (PFNGLUNIFORM2FVPROC)gles2wLoad("glUniform2fv"); + glUniform2i = (PFNGLUNIFORM2IPROC)gles2wLoad("glUniform2i"); + glUniform2iv = (PFNGLUNIFORM2IVPROC)gles2wLoad("glUniform2iv"); + glUniform3f = (PFNGLUNIFORM3FPROC)gles2wLoad("glUniform3f"); + glUniform3fv = (PFNGLUNIFORM3FVPROC)gles2wLoad("glUniform3fv"); + glUniform3i = (PFNGLUNIFORM3IPROC)gles2wLoad("glUniform3i"); + glUniform3iv = (PFNGLUNIFORM3IVPROC)gles2wLoad("glUniform3iv"); + glUniform4f = (PFNGLUNIFORM4FPROC)gles2wLoad("glUniform4f"); + glUniform4fv = (PFNGLUNIFORM4FVPROC)gles2wLoad("glUniform4fv"); + glUniform4i = (PFNGLUNIFORM4IPROC)gles2wLoad("glUniform4i"); + glUniform4iv = (PFNGLUNIFORM4IVPROC)gles2wLoad("glUniform4iv"); + glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles2wLoad("glUniformMatrix2fv"); + glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles2wLoad("glUniformMatrix3fv"); + glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles2wLoad("glUniformMatrix4fv"); + glUseProgram = (PFNGLUSEPROGRAMPROC)gles2wLoad("glUseProgram"); + glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles2wLoad("glValidateProgram"); + glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles2wLoad("glVertexAttrib1f"); + glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles2wLoad("glVertexAttrib1fv"); + glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles2wLoad("glVertexAttrib2f"); + glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles2wLoad("glVertexAttrib2fv"); + glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles2wLoad("glVertexAttrib3f"); + glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles2wLoad("glVertexAttrib3fv"); + glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles2wLoad("glVertexAttrib4f"); + glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles2wLoad("glVertexAttrib4fv"); + glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles2wLoad("glVertexAttribPointer"); + glViewport = (PFNGLVIEWPORTPROC)gles2wLoad("glViewport"); + + +#if defined(GL_AMD_framebuffer_multisample_advanced) + glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); + glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) + glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles2wLoad("glGetPerfMonitorGroupsAMD"); + glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glGetPerfMonitorCountersAMD"); + glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorGroupStringAMD"); + glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorCounterStringAMD"); + glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles2wLoad("glGetPerfMonitorCounterInfoAMD"); + glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles2wLoad("glGenPerfMonitorsAMD"); + glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles2wLoad("glDeletePerfMonitorsAMD"); + glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glSelectPerfMonitorCountersAMD"); + glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles2wLoad("glBeginPerfMonitorAMD"); + glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles2wLoad("glEndPerfMonitorAMD"); + glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles2wLoad("glGetPerfMonitorCounterDataAMD"); +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) + glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles2wLoad("glBlitFramebufferANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) + glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles2wLoad("glRenderbufferStorageMultisampleANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) + glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles2wLoad("glDrawArraysInstancedANGLE"); + glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles2wLoad("glDrawElementsInstancedANGLE"); + glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles2wLoad("glVertexAttribDivisorANGLE"); +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) + glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles2wLoad("glGetTranslatedShaderSourceANGLE"); +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) + glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles2wLoad("glCopyTextureLevelsAPPLE"); +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) + glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles2wLoad("glRenderbufferStorageMultisampleAPPLE"); + glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles2wLoad("glResolveMultisampleFramebufferAPPLE"); +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) + glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles2wLoad("glFenceSyncAPPLE"); + glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles2wLoad("glIsSyncAPPLE"); + glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles2wLoad("glDeleteSyncAPPLE"); + glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles2wLoad("glClientWaitSyncAPPLE"); + glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles2wLoad("glWaitSyncAPPLE"); + glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles2wLoad("glGetInteger64vAPPLE"); + glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles2wLoad("glGetSyncivAPPLE"); +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) + glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTexStorageEXT"); + + glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTextureStorageEXT"); +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) + glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawArraysInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) + glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles2wLoad("glBindFragDataLocationIndexedEXT"); + glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles2wLoad("glBindFragDataLocationEXT"); + glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles2wLoad("glGetProgramResourceLocationIndexEXT"); + glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles2wLoad("glGetFragDataIndexEXT"); +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) + glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles2wLoad("glBufferStorageEXT"); +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) + glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles2wLoad("glClearTexImageEXT"); + glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles2wLoad("glClearTexSubImageEXT"); +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) + glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles2wLoad("glClipControlEXT"); +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) + glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles2wLoad("glCopyImageSubDataEXT"); +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) + glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles2wLoad("glLabelObjectEXT"); + glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles2wLoad("glGetObjectLabelEXT"); +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) + glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles2wLoad("glInsertEventMarkerEXT"); + glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles2wLoad("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles2wLoad("glPopGroupMarkerEXT"); +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) + glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles2wLoad("glDiscardFramebufferEXT"); +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) + glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles2wLoad("glGenQueriesEXT"); + glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles2wLoad("glDeleteQueriesEXT"); + glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles2wLoad("glIsQueryEXT"); + glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles2wLoad("glBeginQueryEXT"); + glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles2wLoad("glEndQueryEXT"); + glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles2wLoad("glQueryCounterEXT"); + glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles2wLoad("glGetQueryivEXT"); + glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles2wLoad("glGetQueryObjectivEXT"); + glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles2wLoad("glGetQueryObjectuivEXT"); + glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles2wLoad("glGetQueryObjecti64vEXT"); + glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles2wLoad("glGetQueryObjectui64vEXT"); + glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles2wLoad("glGetInteger64vEXT"); +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) + glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles2wLoad("glDrawBuffersEXT"); +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) + glEnableiEXT = (PFNGLENABLEIEXTPROC)gles2wLoad("glEnableiEXT"); + glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles2wLoad("glDisableiEXT"); + glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles2wLoad("glBlendEquationiEXT"); + glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles2wLoad("glBlendEquationSeparateiEXT"); + glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles2wLoad("glBlendFunciEXT"); + glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles2wLoad("glBlendFuncSeparateiEXT"); + glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles2wLoad("glColorMaskiEXT"); + glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles2wLoad("glIsEnablediEXT"); +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) + glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsBaseVertexEXT"); + glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawRangeElementsBaseVertexEXT"); + glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexEXT"); + glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glMultiDrawElementsBaseVertexEXT"); +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) + glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles2wLoad("glDrawArraysInstancedEXT"); + glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles2wLoad("glDrawElementsInstancedEXT"); +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) + glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles2wLoad("glDrawTransformFeedbackEXT"); + glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles2wLoad("glDrawTransformFeedbackInstancedEXT"); +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) + glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glBufferStorageExternalEXT"); + glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glNamedBufferStorageExternalEXT"); +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) + glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles2wLoad("glFramebufferTextureEXT"); +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) + glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles2wLoad("glVertexAttribDivisorEXT"); +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) + glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles2wLoad("glMapBufferRangeEXT"); + glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles2wLoad("glFlushMappedBufferRangeEXT"); +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) + glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles2wLoad("glGetUnsignedBytevEXT"); + glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles2wLoad("glGetUnsignedBytei_vEXT"); + glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles2wLoad("glDeleteMemoryObjectsEXT"); + glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles2wLoad("glIsMemoryObjectEXT"); + glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles2wLoad("glCreateMemoryObjectsEXT"); + glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glMemoryObjectParameterivEXT"); + glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glGetMemoryObjectParameterivEXT"); + glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles2wLoad("glTexStorageMem2DEXT"); + glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem2DMultisampleEXT"); + glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles2wLoad("glTexStorageMem3DEXT"); + glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem3DMultisampleEXT"); + glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glBufferStorageMemEXT"); + + glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles2wLoad("glTextureStorageMem2DEXT"); + glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem2DMultisampleEXT"); + glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles2wLoad("glTextureStorageMem3DEXT"); + glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem3DMultisampleEXT"); + glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glNamedBufferStorageMemEXT"); +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) + glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles2wLoad("glImportMemoryFdEXT"); +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) + glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles2wLoad("glImportMemoryWin32HandleEXT"); + glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles2wLoad("glImportMemoryWin32NameEXT"); +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) + glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles2wLoad("glMultiDrawArraysEXT"); + glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles2wLoad("glMultiDrawElementsEXT"); +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) + glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles2wLoad("glMultiDrawArraysIndirectEXT"); + glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles2wLoad("glMultiDrawElementsIndirectEXT"); +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) + glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles2wLoad("glRenderbufferStorageMultisampleEXT"); + glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles2wLoad("glFramebufferTexture2DMultisampleEXT"); +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) + glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles2wLoad("glReadBufferIndexedEXT"); + glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles2wLoad("glDrawBuffersIndexedEXT"); + glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles2wLoad("glGetIntegeri_vEXT"); +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) + glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles2wLoad("glPolygonOffsetClampEXT"); +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) + glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles2wLoad("glPrimitiveBoundingBoxEXT"); +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) + glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles2wLoad("glRasterSamplesEXT"); +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) + glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles2wLoad("glGetGraphicsResetStatusEXT"); + glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles2wLoad("glReadnPixelsEXT"); + glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles2wLoad("glGetnUniformfvEXT"); + glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles2wLoad("glGetnUniformivEXT"); +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) + glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles2wLoad("glGenSemaphoresEXT"); + glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles2wLoad("glDeleteSemaphoresEXT"); + glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles2wLoad("glIsSemaphoreEXT"); + glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glSemaphoreParameterui64vEXT"); + glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glGetSemaphoreParameterui64vEXT"); + glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles2wLoad("glWaitSemaphoreEXT"); + glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles2wLoad("glSignalSemaphoreEXT"); +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) + glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles2wLoad("glImportSemaphoreFdEXT"); +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) + glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles2wLoad("glImportSemaphoreWin32HandleEXT"); + glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles2wLoad("glImportSemaphoreWin32NameEXT"); +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) + glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles2wLoad("glActiveShaderProgramEXT"); + glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles2wLoad("glBindProgramPipelineEXT"); + glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles2wLoad("glCreateShaderProgramvEXT"); + glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles2wLoad("glDeleteProgramPipelinesEXT"); + glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles2wLoad("glGenProgramPipelinesEXT"); + glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles2wLoad("glGetProgramPipelineInfoLogEXT"); + glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles2wLoad("glGetProgramPipelineivEXT"); + glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles2wLoad("glIsProgramPipelineEXT"); + glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles2wLoad("glProgramParameteriEXT"); + glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles2wLoad("glProgramUniform1fEXT"); + glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles2wLoad("glProgramUniform1fvEXT"); + glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles2wLoad("glProgramUniform1iEXT"); + glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles2wLoad("glProgramUniform1ivEXT"); + glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles2wLoad("glProgramUniform2fEXT"); + glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles2wLoad("glProgramUniform2fvEXT"); + glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles2wLoad("glProgramUniform2iEXT"); + glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles2wLoad("glProgramUniform2ivEXT"); + glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles2wLoad("glProgramUniform3fEXT"); + glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles2wLoad("glProgramUniform3fvEXT"); + glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles2wLoad("glProgramUniform3iEXT"); + glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles2wLoad("glProgramUniform3ivEXT"); + glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles2wLoad("glProgramUniform4fEXT"); + glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles2wLoad("glProgramUniform4fvEXT"); + glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles2wLoad("glProgramUniform4iEXT"); + glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles2wLoad("glProgramUniform4ivEXT"); + glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles2wLoad("glProgramUniformMatrix2fvEXT"); + glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles2wLoad("glProgramUniformMatrix3fvEXT"); + glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles2wLoad("glProgramUniformMatrix4fvEXT"); + glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles2wLoad("glUseProgramStagesEXT"); + glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles2wLoad("glValidateProgramPipelineEXT"); + + glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles2wLoad("glProgramUniform1uiEXT"); + glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles2wLoad("glProgramUniform2uiEXT"); + glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles2wLoad("glProgramUniform3uiEXT"); + glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles2wLoad("glProgramUniform4uiEXT"); + glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles2wLoad("glProgramUniform1uivEXT"); + glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles2wLoad("glProgramUniform2uivEXT"); + glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles2wLoad("glProgramUniform3uivEXT"); + glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles2wLoad("glProgramUniform4uivEXT"); + glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x3fvEXT"); + glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x2fvEXT"); + glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x4fvEXT"); + glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x2fvEXT"); + glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x4fvEXT"); + glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x3fvEXT"); +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) + glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles2wLoad("glFramebufferFetchBarrierEXT"); +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) + glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glFramebufferPixelLocalStorageSizeEXT"); + glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); + glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles2wLoad("glClearPixelLocalStorageuiEXT"); +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) + glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles2wLoad("glTexPageCommitmentEXT"); +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) + glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles2wLoad("glPatchParameteriEXT"); +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) + glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles2wLoad("glTexParameterIivEXT"); + glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles2wLoad("glTexParameterIuivEXT"); + glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles2wLoad("glGetTexParameterIivEXT"); + glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles2wLoad("glGetTexParameterIuivEXT"); + glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glSamplerParameterIivEXT"); + glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glSamplerParameterIuivEXT"); + glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glGetSamplerParameterIivEXT"); + glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glGetSamplerParameterIuivEXT"); +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) + glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles2wLoad("glTexBufferEXT"); + glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles2wLoad("glTexBufferRangeEXT"); +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) + glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles2wLoad("glTexStorage1DEXT"); + glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles2wLoad("glTexStorage2DEXT"); + glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles2wLoad("glTexStorage3DEXT"); + + glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles2wLoad("glTextureStorage1DEXT"); + glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles2wLoad("glTextureStorage2DEXT"); + glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles2wLoad("glTextureStorage3DEXT"); +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) + glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles2wLoad("glTextureViewEXT"); +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) + glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles2wLoad("glCreateSemaphoresNV"); + glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glSemaphoreParameterivNV"); + glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glGetSemaphoreParameterivNV"); +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) + glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glAcquireKeyedMutexWin32EXT"); + glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glReleaseKeyedMutexWin32EXT"); +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) + glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles2wLoad("glWindowRectanglesEXT"); +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) + glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles2wLoad("glGetTextureHandleIMG"); + glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles2wLoad("glGetTextureSamplerHandleIMG"); + glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glUniformHandleui64IMG"); + glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glUniformHandleui64vIMG"); + glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glProgramUniformHandleui64IMG"); + glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glProgramUniformHandleui64vIMG"); +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) + glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DDownsampleIMG"); + glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTextureLayerDownsampleIMG"); +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) + glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles2wLoad("glRenderbufferStorageMultisampleIMG"); + glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DMultisampleIMG"); +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) + glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles2wLoad("glApplyFramebufferAttachmentCMAAINTEL"); +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) + glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles2wLoad("glBeginPerfQueryINTEL"); + glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles2wLoad("glCreatePerfQueryINTEL"); + glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles2wLoad("glDeletePerfQueryINTEL"); + glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles2wLoad("glEndPerfQueryINTEL"); + glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles2wLoad("glGetFirstPerfQueryIdINTEL"); + glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles2wLoad("glGetNextPerfQueryIdINTEL"); + glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles2wLoad("glGetPerfCounterInfoINTEL"); + glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles2wLoad("glGetPerfQueryDataINTEL"); + glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles2wLoad("glGetPerfQueryIdByNameINTEL"); + glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles2wLoad("glGetPerfQueryInfoINTEL"); +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) + glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles2wLoad("glBlendBarrierKHR"); +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) + glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("glDebugMessageControlKHR"); + glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles2wLoad("glDebugMessageInsertKHR"); + glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles2wLoad("glDebugMessageCallbackKHR"); + glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles2wLoad("glGetDebugMessageLogKHR"); + glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles2wLoad("glPushDebugGroupKHR"); + glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles2wLoad("glPopDebugGroupKHR"); + glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles2wLoad("glObjectLabelKHR"); + glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles2wLoad("glGetObjectLabelKHR"); + glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles2wLoad("glObjectPtrLabelKHR"); + glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles2wLoad("glGetObjectPtrLabelKHR"); + glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles2wLoad("glGetPointervKHR"); +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) + glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles2wLoad("glGetGraphicsResetStatusKHR"); + glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles2wLoad("glReadnPixelsKHR"); + glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles2wLoad("glGetnUniformfvKHR"); + glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles2wLoad("glGetnUniformivKHR"); + glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles2wLoad("glGetnUniformuivKHR"); +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) + glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles2wLoad("glMaxShaderCompilerThreadsKHR"); +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) + glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles2wLoad("glFramebufferParameteriMESA"); + glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles2wLoad("glGetFramebufferParameterivMESA"); +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) + glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles2wLoad("glGetTextureHandleNV"); + glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles2wLoad("glGetTextureSamplerHandleNV"); + glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glMakeTextureHandleResidentNV"); + glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeTextureHandleNonResidentNV"); + glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles2wLoad("glGetImageHandleNV"); + glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glMakeImageHandleResidentNV"); + glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeImageHandleNonResidentNV"); + glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles2wLoad("glUniformHandleui64NV"); + glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glUniformHandleui64vNV"); + glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles2wLoad("glProgramUniformHandleui64NV"); + glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glProgramUniformHandleui64vNV"); + glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glIsTextureHandleResidentNV"); + glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glIsImageHandleResidentNV"); +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) + glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles2wLoad("glBlendParameteriNV"); + glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles2wLoad("glBlendBarrierNV"); +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) + glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles2wLoad("glViewportPositionWScaleNV"); +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) + glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles2wLoad("glBeginConditionalRenderNV"); + glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles2wLoad("glEndConditionalRenderNV"); +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) + glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles2wLoad("glSubpixelPrecisionBiasNV"); +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) + glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles2wLoad("glConservativeRasterParameteriNV"); +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) + glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles2wLoad("glCopyBufferSubDataNV"); +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) + glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles2wLoad("glCoverageMaskNV"); + glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles2wLoad("glCoverageOperationNV"); +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) + glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles2wLoad("glDrawBuffersNV"); +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) + glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles2wLoad("glDrawArraysInstancedNV"); + glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles2wLoad("glDrawElementsInstancedNV"); +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) + glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles2wLoad("glDrawVkImageNV"); + glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles2wLoad("glGetVkProcAddrNV"); + glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles2wLoad("glWaitVkSemaphoreNV"); + glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles2wLoad("glSignalVkSemaphoreNV"); + glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles2wLoad("glSignalVkFenceNV"); +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) + glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles2wLoad("glDeleteFencesNV"); + glGenFencesNV = (PFNGLGENFENCESNVPROC)gles2wLoad("glGenFencesNV"); + glIsFenceNV = (PFNGLISFENCENVPROC)gles2wLoad("glIsFenceNV"); + glTestFenceNV = (PFNGLTESTFENCENVPROC)gles2wLoad("glTestFenceNV"); + glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles2wLoad("glGetFenceivNV"); + glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles2wLoad("glFinishFenceNV"); + glSetFenceNV = (PFNGLSETFENCENVPROC)gles2wLoad("glSetFenceNV"); +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) + glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles2wLoad("glFragmentCoverageColorNV"); +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) + glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles2wLoad("glBlitFramebufferNV"); +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) + glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glCoverageModulationTableNV"); + glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glGetCoverageModulationTableNV"); + glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles2wLoad("glCoverageModulationNV"); +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) + glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles2wLoad("glRenderbufferStorageMultisampleNV"); +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) + glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles2wLoad("glUniform1i64NV"); + glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles2wLoad("glUniform2i64NV"); + glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles2wLoad("glUniform3i64NV"); + glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles2wLoad("glUniform4i64NV"); + glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles2wLoad("glUniform1i64vNV"); + glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles2wLoad("glUniform2i64vNV"); + glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles2wLoad("glUniform3i64vNV"); + glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles2wLoad("glUniform4i64vNV"); + glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles2wLoad("glUniform1ui64NV"); + glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles2wLoad("glUniform2ui64NV"); + glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles2wLoad("glUniform3ui64NV"); + glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles2wLoad("glUniform4ui64NV"); + glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles2wLoad("glUniform1ui64vNV"); + glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles2wLoad("glUniform2ui64vNV"); + glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles2wLoad("glUniform3ui64vNV"); + glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles2wLoad("glUniform4ui64vNV"); + glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles2wLoad("glGetUniformi64vNV"); + + glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles2wLoad("glProgramUniform1i64NV"); + glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles2wLoad("glProgramUniform2i64NV"); + glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles2wLoad("glProgramUniform3i64NV"); + glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles2wLoad("glProgramUniform4i64NV"); + glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles2wLoad("glProgramUniform1i64vNV"); + glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles2wLoad("glProgramUniform2i64vNV"); + glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles2wLoad("glProgramUniform3i64vNV"); + glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles2wLoad("glProgramUniform4i64vNV"); + glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles2wLoad("glProgramUniform1ui64NV"); + glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles2wLoad("glProgramUniform2ui64NV"); + glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles2wLoad("glProgramUniform3ui64NV"); + glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles2wLoad("glProgramUniform4ui64NV"); + glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles2wLoad("glProgramUniform1ui64vNV"); + glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles2wLoad("glProgramUniform2ui64vNV"); + glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles2wLoad("glProgramUniform3ui64vNV"); + glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles2wLoad("glProgramUniform4ui64vNV"); +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) + glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles2wLoad("glVertexAttribDivisorNV"); +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) + glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles2wLoad("glGetInternalformatSampleivNV"); +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) + glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles2wLoad("glGetMemoryObjectDetachedResourcesuivNV"); + glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles2wLoad("glResetMemoryObjectParameterNV"); + glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles2wLoad("glTexAttachMemoryNV"); + glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles2wLoad("glBufferAttachMemoryNV"); + + glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles2wLoad("glTextureAttachMemoryNV"); + glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles2wLoad("glNamedBufferAttachMemoryNV"); +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) + glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glBufferPageCommitmentMemNV"); + glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexPageCommitmentMemNV"); + + glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glNamedBufferPageCommitmentMemNV"); + glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexturePageCommitmentMemNV"); +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) + glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles2wLoad("glDrawMeshTasksNV"); + glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectCountNV"); +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) + glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles2wLoad("glUniformMatrix2x3fvNV"); + glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles2wLoad("glUniformMatrix3x2fvNV"); + glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles2wLoad("glUniformMatrix2x4fvNV"); + glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles2wLoad("glUniformMatrix4x2fvNV"); + glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles2wLoad("glUniformMatrix3x4fvNV"); + glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles2wLoad("glUniformMatrix4x3fvNV"); +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) + glGenPathsNV = (PFNGLGENPATHSNVPROC)gles2wLoad("glGenPathsNV"); + glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles2wLoad("glDeletePathsNV"); + glIsPathNV = (PFNGLISPATHNVPROC)gles2wLoad("glIsPathNV"); + glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles2wLoad("glPathCommandsNV"); + glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles2wLoad("glPathCoordsNV"); + glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles2wLoad("glPathSubCommandsNV"); + glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles2wLoad("glPathSubCoordsNV"); + glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles2wLoad("glPathStringNV"); + glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles2wLoad("glPathGlyphsNV"); + glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles2wLoad("glPathGlyphRangeNV"); + glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles2wLoad("glWeightPathsNV"); + glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles2wLoad("glCopyPathNV"); + glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles2wLoad("glInterpolatePathsNV"); + glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles2wLoad("glTransformPathNV"); + glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles2wLoad("glPathParameterivNV"); + glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles2wLoad("glPathParameteriNV"); + glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles2wLoad("glPathParameterfvNV"); + glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles2wLoad("glPathParameterfNV"); + glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles2wLoad("glPathDashArrayNV"); + glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles2wLoad("glPathStencilFuncNV"); + glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles2wLoad("glPathStencilDepthOffsetNV"); + glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles2wLoad("glStencilFillPathNV"); + glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles2wLoad("glStencilStrokePathNV"); + glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilFillPathInstancedNV"); + glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilStrokePathInstancedNV"); + glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles2wLoad("glPathCoverDepthFuncNV"); + glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles2wLoad("glCoverFillPathNV"); + glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles2wLoad("glCoverStrokePathNV"); + glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glCoverFillPathInstancedNV"); + glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glCoverStrokePathInstancedNV"); + glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles2wLoad("glGetPathParameterivNV"); + glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles2wLoad("glGetPathParameterfvNV"); + glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles2wLoad("glGetPathCommandsNV"); + glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles2wLoad("glGetPathCoordsNV"); + glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles2wLoad("glGetPathDashArrayNV"); + glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles2wLoad("glGetPathMetricsNV"); + glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles2wLoad("glGetPathMetricRangeNV"); + glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles2wLoad("glGetPathSpacingNV"); + glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles2wLoad("glIsPointInFillPathNV"); + glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles2wLoad("glIsPointInStrokePathNV"); + glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles2wLoad("glGetPathLengthNV"); + glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles2wLoad("glPointAlongPathNV"); + + glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles2wLoad("glMatrixLoad3x2fNV"); + glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles2wLoad("glMatrixLoad3x3fNV"); + glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixLoadTranspose3x3fNV"); + glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles2wLoad("glMatrixMult3x2fNV"); + glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles2wLoad("glMatrixMult3x3fNV"); + glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixMultTranspose3x3fNV"); + glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles2wLoad("glStencilThenCoverFillPathNV"); + glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles2wLoad("glStencilThenCoverStrokePathNV"); + glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverFillPathInstancedNV"); + glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverStrokePathInstancedNV"); + glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles2wLoad("glPathGlyphIndexRangeNV"); + + glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathGlyphIndexArrayNV"); + glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathMemoryGlyphIndexArrayNV"); + glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles2wLoad("glProgramPathFragmentInputGenNV"); + glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles2wLoad("glGetProgramResourcefvNV"); + + glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles2wLoad("glMatrixFrustumEXT"); + glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles2wLoad("glMatrixLoadIdentityEXT"); + glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles2wLoad("glMatrixLoadTransposefEXT"); + glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles2wLoad("glMatrixLoadTransposedEXT"); + glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles2wLoad("glMatrixLoadfEXT"); + glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles2wLoad("glMatrixLoaddEXT"); + glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles2wLoad("glMatrixMultTransposefEXT"); + glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles2wLoad("glMatrixMultTransposedEXT"); + glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles2wLoad("glMatrixMultfEXT"); + glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles2wLoad("glMatrixMultdEXT"); + glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles2wLoad("glMatrixOrthoEXT"); + glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles2wLoad("glMatrixPopEXT"); + glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles2wLoad("glMatrixPushEXT"); + glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles2wLoad("glMatrixRotatefEXT"); + glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles2wLoad("glMatrixRotatedEXT"); + glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles2wLoad("glMatrixScalefEXT"); + glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles2wLoad("glMatrixScaledEXT"); + glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles2wLoad("glMatrixTranslatefEXT"); + glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles2wLoad("glMatrixTranslatedEXT"); +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) + glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles2wLoad("glPolygonModeNV"); +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) + glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles2wLoad("glReadBufferNV"); +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) + glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glFramebufferSampleLocationsfvNV"); + glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glNamedFramebufferSampleLocationsfvNV"); + glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles2wLoad("glResolveDepthValuesNV"); +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) + glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles2wLoad("glScissorExclusiveNV"); + glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles2wLoad("glScissorExclusiveArrayvNV"); +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) + glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles2wLoad("glBindShadingRateImageNV"); + glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glGetShadingRateImagePaletteNV"); + glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles2wLoad("glGetShadingRateSampleLocationivNV"); + glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles2wLoad("glShadingRateImageBarrierNV"); + glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glShadingRateImagePaletteNV"); + glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles2wLoad("glShadingRateSampleOrderNV"); + glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles2wLoad("glShadingRateSampleOrderCustomNV"); +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) + glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles2wLoad("glViewportArrayvNV"); + glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles2wLoad("glViewportIndexedfNV"); + glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles2wLoad("glViewportIndexedfvNV"); + glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles2wLoad("glScissorArrayvNV"); + glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles2wLoad("glScissorIndexedNV"); + glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles2wLoad("glScissorIndexedvNV"); + glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles2wLoad("glDepthRangeArrayfvNV"); + glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles2wLoad("glDepthRangeIndexedfNV"); + glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles2wLoad("glGetFloati_vNV"); + glEnableiNV = (PFNGLENABLEINVPROC)gles2wLoad("glEnableiNV"); + glDisableiNV = (PFNGLDISABLEINVPROC)gles2wLoad("glDisableiNV"); + glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles2wLoad("glIsEnablediNV"); +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) + glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles2wLoad("glViewportSwizzleNV"); +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) + glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles2wLoad("glEGLImageTargetTexture2DOES"); + glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles2wLoad("glEGLImageTargetRenderbufferStorageOES"); +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) + glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles2wLoad("glCopyImageSubDataOES"); +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) + glEnableiOES = (PFNGLENABLEIOESPROC)gles2wLoad("glEnableiOES"); + glDisableiOES = (PFNGLDISABLEIOESPROC)gles2wLoad("glDisableiOES"); + glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles2wLoad("glBlendEquationiOES"); + glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles2wLoad("glBlendEquationSeparateiOES"); + glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles2wLoad("glBlendFunciOES"); + glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles2wLoad("glBlendFuncSeparateiOES"); + glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles2wLoad("glColorMaskiOES"); + glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles2wLoad("glIsEnablediOES"); +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) + glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawElementsBaseVertexOES"); + glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawRangeElementsBaseVertexOES"); + glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles2wLoad("glDrawElementsInstancedBaseVertexOES"); +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) + glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles2wLoad("glFramebufferTextureOES"); +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) + glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles2wLoad("glGetProgramBinaryOES"); + glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles2wLoad("glProgramBinaryOES"); +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) + glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles2wLoad("glMapBufferOES"); + glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles2wLoad("glUnmapBufferOES"); + glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles2wLoad("glGetBufferPointervOES"); +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) + glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles2wLoad("glPrimitiveBoundingBoxOES"); +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) + glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles2wLoad("glMinSampleShadingOES"); +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) + glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles2wLoad("glPatchParameteriOES"); +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) + glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles2wLoad("glTexImage3DOES"); + glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles2wLoad("glTexSubImage3DOES"); + glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles2wLoad("glCopyTexSubImage3DOES"); + glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles2wLoad("glCompressedTexImage3DOES"); + glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles2wLoad("glCompressedTexSubImage3DOES"); + glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles2wLoad("glFramebufferTexture3DOES"); +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) + glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles2wLoad("glTexParameterIivOES"); + glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles2wLoad("glTexParameterIuivOES"); + glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles2wLoad("glGetTexParameterIivOES"); + glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles2wLoad("glGetTexParameterIuivOES"); + glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glSamplerParameterIivOES"); + glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glSamplerParameterIuivOES"); + glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glGetSamplerParameterIivOES"); + glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glGetSamplerParameterIuivOES"); +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) + glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles2wLoad("glTexBufferOES"); + glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles2wLoad("glTexBufferRangeOES"); +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) + glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles2wLoad("glTexStorage3DMultisampleOES"); +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) + glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles2wLoad("glTextureViewOES"); +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) + glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles2wLoad("glBindVertexArrayOES"); + glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles2wLoad("glDeleteVertexArraysOES"); + glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles2wLoad("glGenVertexArraysOES"); + glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles2wLoad("glIsVertexArrayOES"); +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) + glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles2wLoad("glViewportArrayvOES"); + glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles2wLoad("glViewportIndexedfOES"); + glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles2wLoad("glViewportIndexedfvOES"); + glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles2wLoad("glScissorArrayvOES"); + glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles2wLoad("glScissorIndexedOES"); + glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles2wLoad("glScissorIndexedvOES"); + glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles2wLoad("glDepthRangeArrayfvOES"); + glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles2wLoad("glDepthRangeIndexedfOES"); + glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles2wLoad("glGetFloati_vOES"); +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) + glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultiviewOVR"); +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) + glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultisampleMultiviewOVR"); +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) + glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles2wLoad("glAlphaFuncQCOM"); +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) + glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles2wLoad("glGetDriverControlsQCOM"); + glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles2wLoad("glGetDriverControlStringQCOM"); + glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glEnableDriverControlQCOM"); + glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glDisableDriverControlQCOM"); +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) + glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles2wLoad("glExtGetTexturesQCOM"); + glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles2wLoad("glExtGetBuffersQCOM"); + glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles2wLoad("glExtGetRenderbuffersQCOM"); + glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles2wLoad("glExtGetFramebuffersQCOM"); + glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles2wLoad("glExtGetTexLevelParameterivQCOM"); + glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles2wLoad("glExtTexObjectStateOverrideiQCOM"); + glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles2wLoad("glExtGetTexSubImageQCOM"); + glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles2wLoad("glExtGetBufferPointervQCOM"); +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) + glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles2wLoad("glExtGetShadersQCOM"); + glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles2wLoad("glExtGetProgramsQCOM"); + glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles2wLoad("glExtIsProgramBinaryQCOM"); + glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles2wLoad("glExtGetProgramBinarySourceQCOM"); +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) + glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles2wLoad("glFramebufferFoveationConfigQCOM"); + glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glFramebufferFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) + glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles2wLoad("glTexEstimateMotionQCOM"); + glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles2wLoad("glTexEstimateMotionRegionsQCOM"); +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) + glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles2wLoad("glExtrapolateTex2DQCOM"); +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) + glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glTextureFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) + glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles2wLoad("glFramebufferFetchBarrierQCOM"); +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) + glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles2wLoad("glShadingRateQCOM"); +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) + glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles2wLoad("glStartTilingQCOM"); + glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles2wLoad("glEndTilingQCOM"); +#endif /* defined(GL_QCOM_tiled_rendering) */ + +} diff --git a/native/cocos/renderer/gfx-gles2/gles2w.h b/native/cocos/renderer/gfx-gles2/gles2w.h index 89032470dd..f2fd0ec2c0 100755 --- a/native/cocos/renderer/gfx-gles2/gles2w.h +++ b/native/cocos/renderer/gfx-gles2/gles2w.h @@ -23,13 +23,1417 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -#include "eglw.h" -#include "eglw_auto.h" -#include "gles2w_auto.h" +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #ifdef __OBJC__ + #include + #endif +#else + #define EGL_EGL_PROTOTYPES 0 + #include + #include + #include +#endif + +#define GL_GLES_PROTOTYPES 0 +#include + +#include +#include +#include bool gles2wInit(); -bool gles2wOpen(); -void *gles2wLoad(const char *proc); - /* GLES2W_GENERATE_DECLARATION */ + +extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; +extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +extern PFNEGLCREATECONTEXTPROC eglCreateContext; +extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; +extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +extern PFNEGLGETCONFIGSPROC eglGetConfigs; +extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +extern PFNEGLGETDISPLAYPROC eglGetDisplay; +extern PFNEGLGETERRORPROC eglGetError; +extern PFNEGLINITIALIZEPROC eglInitialize; +extern PFNEGLMAKECURRENTPROC eglMakeCurrent; +extern PFNEGLQUERYCONTEXTPROC eglQueryContext; +extern PFNEGLQUERYSTRINGPROC eglQueryString; +extern PFNEGLQUERYSURFACEPROC eglQuerySurface; +extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +extern PFNEGLTERMINATEPROC eglTerminate; +extern PFNEGLWAITGLPROC eglWaitGL; +extern PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +extern PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +extern PFNEGLBINDAPIPROC eglBindAPI; +extern PFNEGLQUERYAPIPROC eglQueryAPI; +extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +extern PFNEGLRELEASETHREADPROC eglReleaseThread; +extern PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +extern PFNEGLCREATESYNCPROC eglCreateSync; +extern PFNEGLDESTROYSYNCPROC eglDestroySync; +extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +extern PFNEGLCREATEIMAGEPROC eglCreateImage; +extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +extern PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +extern PFNEGLFENCENVPROC eglFenceNV; +extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + +/* GL_ES_VERSION_2_0 */ +extern PFNGLACTIVETEXTUREPROC glActiveTexture; +extern PFNGLATTACHSHADERPROC glAttachShader; +extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +extern PFNGLBINDBUFFERPROC glBindBuffer; +extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +extern PFNGLBINDTEXTUREPROC glBindTexture; +extern PFNGLBLENDCOLORPROC glBlendColor; +extern PFNGLBLENDEQUATIONPROC glBlendEquation; +extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +extern PFNGLBLENDFUNCPROC glBlendFunc; +extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +extern PFNGLBUFFERDATAPROC glBufferData; +extern PFNGLBUFFERSUBDATAPROC glBufferSubData; +extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +extern PFNGLCLEARPROC glClear; +extern PFNGLCLEARCOLORPROC glClearColor; +extern PFNGLCLEARDEPTHFPROC glClearDepthf; +extern PFNGLCLEARSTENCILPROC glClearStencil; +extern PFNGLCOLORMASKPROC glColorMask; +extern PFNGLCOMPILESHADERPROC glCompileShader; +extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +extern PFNGLCREATEPROGRAMPROC glCreateProgram; +extern PFNGLCREATESHADERPROC glCreateShader; +extern PFNGLCULLFACEPROC glCullFace; +extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; +extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +extern PFNGLDELETEPROGRAMPROC glDeleteProgram; +extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +extern PFNGLDELETESHADERPROC glDeleteShader; +extern PFNGLDELETETEXTURESPROC glDeleteTextures; +extern PFNGLDEPTHFUNCPROC glDepthFunc; +extern PFNGLDEPTHMASKPROC glDepthMask; +extern PFNGLDEPTHRANGEFPROC glDepthRangef; +extern PFNGLDETACHSHADERPROC glDetachShader; +extern PFNGLDISABLEPROC glDisable; +extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +extern PFNGLDRAWARRAYSPROC glDrawArrays; +extern PFNGLDRAWELEMENTSPROC glDrawElements; +extern PFNGLENABLEPROC glEnable; +extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +extern PFNGLFINISHPROC glFinish; +extern PFNGLFLUSHPROC glFlush; +extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +extern PFNGLFRONTFACEPROC glFrontFace; +extern PFNGLGENBUFFERSPROC glGenBuffers; +extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +extern PFNGLGENTEXTURESPROC glGenTextures; +extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +extern PFNGLGETBOOLEANVPROC glGetBooleanv; +extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +extern PFNGLGETERRORPROC glGetError; +extern PFNGLGETFLOATVPROC glGetFloatv; +extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +extern PFNGLGETINTEGERVPROC glGetIntegerv; +extern PFNGLGETPROGRAMIVPROC glGetProgramiv; +extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +extern PFNGLGETSHADERIVPROC glGetShaderiv; +extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; +extern PFNGLGETSTRINGPROC glGetString; +extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +extern PFNGLGETUNIFORMFVPROC glGetUniformfv; +extern PFNGLGETUNIFORMIVPROC glGetUniformiv; +extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +extern PFNGLHINTPROC glHint; +extern PFNGLISBUFFERPROC glIsBuffer; +extern PFNGLISENABLEDPROC glIsEnabled; +extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +extern PFNGLISPROGRAMPROC glIsProgram; +extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +extern PFNGLISSHADERPROC glIsShader; +extern PFNGLISTEXTUREPROC glIsTexture; +extern PFNGLLINEWIDTHPROC glLineWidth; +extern PFNGLLINKPROGRAMPROC glLinkProgram; +extern PFNGLPIXELSTOREIPROC glPixelStorei; +extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; +extern PFNGLREADPIXELSPROC glReadPixels; +extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +extern PFNGLSCISSORPROC glScissor; +extern PFNGLSHADERBINARYPROC glShaderBinary; +extern PFNGLSHADERSOURCEPROC glShaderSource; +extern PFNGLSTENCILFUNCPROC glStencilFunc; +extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +extern PFNGLSTENCILMASKPROC glStencilMask; +extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +extern PFNGLSTENCILOPPROC glStencilOp; +extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +extern PFNGLTEXIMAGE2DPROC glTexImage2D; +extern PFNGLTEXPARAMETERFPROC glTexParameterf; +extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; +extern PFNGLTEXPARAMETERIPROC glTexParameteri; +extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; +extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +extern PFNGLUNIFORM1FPROC glUniform1f; +extern PFNGLUNIFORM1FVPROC glUniform1fv; +extern PFNGLUNIFORM1IPROC glUniform1i; +extern PFNGLUNIFORM1IVPROC glUniform1iv; +extern PFNGLUNIFORM2FPROC glUniform2f; +extern PFNGLUNIFORM2FVPROC glUniform2fv; +extern PFNGLUNIFORM2IPROC glUniform2i; +extern PFNGLUNIFORM2IVPROC glUniform2iv; +extern PFNGLUNIFORM3FPROC glUniform3f; +extern PFNGLUNIFORM3FVPROC glUniform3fv; +extern PFNGLUNIFORM3IPROC glUniform3i; +extern PFNGLUNIFORM3IVPROC glUniform3iv; +extern PFNGLUNIFORM4FPROC glUniform4f; +extern PFNGLUNIFORM4FVPROC glUniform4fv; +extern PFNGLUNIFORM4IPROC glUniform4i; +extern PFNGLUNIFORM4IVPROC glUniform4iv; +extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +extern PFNGLUSEPROGRAMPROC glUseProgram; +extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; +extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +extern PFNGLVIEWPORTPROC glViewport; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +extern PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +extern PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +extern PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +extern PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +extern PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +extern PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +extern PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +extern PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +extern PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +extern PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +extern PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +extern PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +extern PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +extern PFNGLISQUERYEXTPROC glIsQueryEXT; +extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +extern PFNGLENDQUERYEXTPROC glEndQueryEXT; +extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +extern PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +extern PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +extern PFNGLENABLEIEXTPROC glEnableiEXT; +extern PFNGLDISABLEIEXTPROC glDisableiEXT; +extern PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +extern PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +extern PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +extern PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +extern PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +extern PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +extern PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +extern PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +extern PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +extern PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +extern PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +extern PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +extern PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +extern PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +extern PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +extern PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +extern PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +extern PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +extern PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +extern PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +extern PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +extern PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +extern PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +extern PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +extern PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +extern PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +extern PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +extern PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +extern PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +extern PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +extern PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +extern PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +extern PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +extern PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +extern PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +extern PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +extern PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +extern PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +extern PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +extern PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +extern PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +extern PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +extern PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +extern PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +extern PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +extern PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +extern PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +extern PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +extern PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +extern PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +extern PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +extern PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +extern PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +extern PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +extern PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +extern PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +extern PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +extern PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +extern PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +extern PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +extern PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +extern PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +extern PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +extern PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +extern PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +extern PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +extern PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +extern PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +extern PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +extern PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +extern PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +extern PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +extern PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +extern PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +extern PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +extern PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +extern PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +extern PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +extern PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +extern PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +extern PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +extern PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +extern PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +extern PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +extern PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +extern PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +extern PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +extern PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +extern PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +extern PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +extern PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +extern PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +extern PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +extern PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +extern PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +extern PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +extern PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +extern PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +extern PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +extern PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +extern PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +extern PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +extern PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +extern PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +extern PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +extern PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +extern PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +extern PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +extern PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +extern PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +extern PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +extern PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +extern PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +extern PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +extern PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +extern PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +extern PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +extern PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +extern PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +extern PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +extern PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +extern PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +extern PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +extern PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +extern PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +extern PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +extern PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +extern PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +extern PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +extern PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +extern PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +extern PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +extern PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +extern PFNGLGENFENCESNVPROC glGenFencesNV; +extern PFNGLISFENCENVPROC glIsFenceNV; +extern PFNGLTESTFENCENVPROC glTestFenceNV; +extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; +extern PFNGLFINISHFENCENVPROC glFinishFenceNV; +extern PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +extern PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +extern PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +extern PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +extern PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +extern PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +extern PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +extern PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +extern PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +extern PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +extern PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +extern PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +extern PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +extern PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +extern PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +extern PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +extern PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +extern PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +extern PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +extern PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +extern PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +extern PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +extern PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +extern PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +extern PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +extern PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +extern PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +extern PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +extern PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +extern PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +extern PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +extern PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +extern PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +extern PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +extern PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +extern PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +extern PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +extern PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +extern PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +extern PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +extern PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +extern PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +extern PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +extern PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +extern PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +extern PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +extern PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +extern PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +extern PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +extern PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +extern PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +extern PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +extern PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +extern PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +extern PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +extern PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +extern PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +extern PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +extern PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +extern PFNGLGENPATHSNVPROC glGenPathsNV; +extern PFNGLDELETEPATHSNVPROC glDeletePathsNV; +extern PFNGLISPATHNVPROC glIsPathNV; +extern PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +extern PFNGLPATHCOORDSNVPROC glPathCoordsNV; +extern PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +extern PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +extern PFNGLPATHSTRINGNVPROC glPathStringNV; +extern PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +extern PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +extern PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +extern PFNGLCOPYPATHNVPROC glCopyPathNV; +extern PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +extern PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +extern PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +extern PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +extern PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +extern PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +extern PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +extern PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +extern PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +extern PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +extern PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +extern PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +extern PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +extern PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +extern PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +extern PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +extern PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +extern PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +extern PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +extern PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +extern PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +extern PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +extern PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +extern PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +extern PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +extern PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +extern PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +extern PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +extern PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +extern PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +extern PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +extern PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +extern PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +extern PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +extern PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +extern PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +extern PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +extern PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +extern PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +extern PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +extern PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +extern PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +extern PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +extern PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +extern PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +extern PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +extern PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +extern PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +extern PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +extern PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +extern PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +extern PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +extern PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +extern PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +extern PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +extern PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +extern PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +extern PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +extern PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +extern PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +extern PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +extern PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +extern PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +extern PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +extern PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +extern PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +extern PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +extern PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +extern PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +extern PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +extern PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +extern PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +extern PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +extern PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +extern PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +extern PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +extern PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +extern PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +extern PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +extern PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +extern PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +extern PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +extern PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +extern PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +extern PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +extern PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +extern PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +extern PFNGLENABLEINVPROC glEnableiNV; +extern PFNGLDISABLEINVPROC glDisableiNV; +extern PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +extern PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +extern PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +extern PFNGLENABLEIOESPROC glEnableiOES; +extern PFNGLDISABLEIOESPROC glDisableiOES; +extern PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +extern PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +extern PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +extern PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +extern PFNGLCOLORMASKIOESPROC glColorMaskiOES; +extern PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +extern PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +extern PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +extern PFNGLMAPBUFFEROESPROC glMapBufferOES; +extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +extern PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +extern PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +extern PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +extern PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +extern PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +extern PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +extern PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +extern PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +extern PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +extern PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +extern PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +extern PFNGLTEXBUFFEROESPROC glTexBufferOES; +extern PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +extern PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +extern PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +extern PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +extern PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +extern PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +extern PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +extern PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +extern PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +extern PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +extern PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +extern PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +extern PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +extern PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +extern PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +extern PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +extern PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +extern PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +extern PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +extern PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +extern PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +extern PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + + diff --git a/native/cocos/renderer/gfx-gles2/gles2w_auto.cpp b/native/cocos/renderer/gfx-gles2/gles2w_auto.cpp deleted file mode 100644 index 790e835b9d..0000000000 --- a/native/cocos/renderer/gfx-gles2/gles2w_auto.cpp +++ /dev/null @@ -1,2128 +0,0 @@ -#include "gles2w.h" - -/* GL_ES_VERSION_2_0 */ -PFNGLACTIVETEXTUREPROC glActiveTexture; -PFNGLATTACHSHADERPROC glAttachShader; -PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -PFNGLBINDBUFFERPROC glBindBuffer; -PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -PFNGLBINDTEXTUREPROC glBindTexture; -PFNGLBLENDCOLORPROC glBlendColor; -PFNGLBLENDEQUATIONPROC glBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -PFNGLBLENDFUNCPROC glBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -PFNGLBUFFERDATAPROC glBufferData; -PFNGLBUFFERSUBDATAPROC glBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -PFNGLCLEARPROC glClear; -PFNGLCLEARCOLORPROC glClearColor; -PFNGLCLEARDEPTHFPROC glClearDepthf; -PFNGLCLEARSTENCILPROC glClearStencil; -PFNGLCOLORMASKPROC glColorMask; -PFNGLCOMPILESHADERPROC glCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC glCreateProgram; -PFNGLCREATESHADERPROC glCreateShader; -PFNGLCULLFACEPROC glCullFace; -PFNGLDELETEBUFFERSPROC glDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC glDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -PFNGLDELETESHADERPROC glDeleteShader; -PFNGLDELETETEXTURESPROC glDeleteTextures; -PFNGLDEPTHFUNCPROC glDepthFunc; -PFNGLDEPTHMASKPROC glDepthMask; -PFNGLDEPTHRANGEFPROC glDepthRangef; -PFNGLDETACHSHADERPROC glDetachShader; -PFNGLDISABLEPROC glDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC glDrawArrays; -PFNGLDRAWELEMENTSPROC glDrawElements; -PFNGLENABLEPROC glEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -PFNGLFINISHPROC glFinish; -PFNGLFLUSHPROC glFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -PFNGLFRONTFACEPROC glFrontFace; -PFNGLGENBUFFERSPROC glGenBuffers; -PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -PFNGLGENTEXTURESPROC glGenTextures; -PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -PFNGLGETBOOLEANVPROC glGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -PFNGLGETERRORPROC glGetError; -PFNGLGETFLOATVPROC glGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC glGetIntegerv; -PFNGLGETPROGRAMIVPROC glGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC glGetShaderiv; -PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC glGetShaderSource; -PFNGLGETSTRINGPROC glGetString; -PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -PFNGLGETUNIFORMFVPROC glGetUniformfv; -PFNGLGETUNIFORMIVPROC glGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -PFNGLHINTPROC glHint; -PFNGLISBUFFERPROC glIsBuffer; -PFNGLISENABLEDPROC glIsEnabled; -PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -PFNGLISPROGRAMPROC glIsProgram; -PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -PFNGLISSHADERPROC glIsShader; -PFNGLISTEXTUREPROC glIsTexture; -PFNGLLINEWIDTHPROC glLineWidth; -PFNGLLINKPROGRAMPROC glLinkProgram; -PFNGLPIXELSTOREIPROC glPixelStorei; -PFNGLPOLYGONOFFSETPROC glPolygonOffset; -PFNGLREADPIXELSPROC glReadPixels; -PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -PFNGLSCISSORPROC glScissor; -PFNGLSHADERBINARYPROC glShaderBinary; -PFNGLSHADERSOURCEPROC glShaderSource; -PFNGLSTENCILFUNCPROC glStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -PFNGLSTENCILMASKPROC glStencilMask; -PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -PFNGLSTENCILOPPROC glStencilOp; -PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -PFNGLTEXIMAGE2DPROC glTexImage2D; -PFNGLTEXPARAMETERFPROC glTexParameterf; -PFNGLTEXPARAMETERFVPROC glTexParameterfv; -PFNGLTEXPARAMETERIPROC glTexParameteri; -PFNGLTEXPARAMETERIVPROC glTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -PFNGLUNIFORM1FPROC glUniform1f; -PFNGLUNIFORM1FVPROC glUniform1fv; -PFNGLUNIFORM1IPROC glUniform1i; -PFNGLUNIFORM1IVPROC glUniform1iv; -PFNGLUNIFORM2FPROC glUniform2f; -PFNGLUNIFORM2FVPROC glUniform2fv; -PFNGLUNIFORM2IPROC glUniform2i; -PFNGLUNIFORM2IVPROC glUniform2iv; -PFNGLUNIFORM3FPROC glUniform3f; -PFNGLUNIFORM3FVPROC glUniform3fv; -PFNGLUNIFORM3IPROC glUniform3i; -PFNGLUNIFORM3IVPROC glUniform3iv; -PFNGLUNIFORM4FPROC glUniform4f; -PFNGLUNIFORM4FVPROC glUniform4fv; -PFNGLUNIFORM4IPROC glUniform4i; -PFNGLUNIFORM4IVPROC glUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -PFNGLUSEPROGRAMPROC glUseProgram; -PFNGLVALIDATEPROGRAMPROC glValidateProgram; -PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -PFNGLVIEWPORTPROC glViewport; - - -#if defined(GL_AMD_framebuffer_multisample_advanced) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; -PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) -PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) -PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) -PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) -PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) -PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) -PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) -PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; - -PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) -PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) -PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; -PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; -PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; -PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) -PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) -PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; -PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) -PFNGLCLIPCONTROLEXTPROC glClipControlEXT; -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) -PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) -PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) -PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) -PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) -PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -PFNGLISQUERYEXTPROC glIsQueryEXT; -PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -PFNGLENDQUERYEXTPROC glEndQueryEXT; -PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) -PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) -PFNGLENABLEIEXTPROC glEnableiEXT; -PFNGLDISABLEIEXTPROC glDisableiEXT; -PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; -PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; -PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; -PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; -PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; -PFNGLISENABLEDIEXTPROC glIsEnablediEXT; -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; -PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; -PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) -PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; -PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) -PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; -PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) -PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) -PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) -PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; -PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; -PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; -PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; -PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; -PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; -PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; -PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; -PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; -PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; -PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; -PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; - -PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; -PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; -PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; -PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; -PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) -PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) -PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; -PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) -PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) -PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; -PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) -PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) -PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) -PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) -PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) -PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; -PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; -PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; -PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; -PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; -PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; -PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) -PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) -PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; -PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) -PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; - -PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; -PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; -PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; -PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; -PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; -PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; -PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; -PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) -PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) -PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; -PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; -PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) -PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) -PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) -PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; -PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; -PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; -PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; -PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; -PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; -PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; -PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) -PFNGLTEXBUFFEREXTPROC glTexBufferEXT; -PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) -PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; - -PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) -PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) -PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; -PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; -PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) -PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; -PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) -PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) -PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; -PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; -PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; -PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; -PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; -PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) -PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; -PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) -PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) -PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; -PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; -PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; -PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; -PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; -PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; -PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; -PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; -PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; -PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) -PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) -PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) -PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; -PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; -PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; -PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; -PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) -PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) -PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; -PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) -PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; -PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; -PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; -PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; -PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; -PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; -PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; -PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; -PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; -PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; -PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; -PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; -PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) -PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; -PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) -PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) -PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; -PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) -PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) -PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) -PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) -PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) -PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) -PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; -PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; -PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; -PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; -PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) -PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -PFNGLGENFENCESNVPROC glGenFencesNV; -PFNGLISFENCENVPROC glIsFenceNV; -PFNGLTESTFENCENVPROC glTestFenceNV; -PFNGLGETFENCEIVNVPROC glGetFenceivNV; -PFNGLFINISHFENCENVPROC glFinishFenceNV; -PFNGLSETFENCENVPROC glSetFenceNV; -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) -PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) -PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) -PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; -PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; -PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) -PFNGLUNIFORM1I64NVPROC glUniform1i64NV; -PFNGLUNIFORM2I64NVPROC glUniform2i64NV; -PFNGLUNIFORM3I64NVPROC glUniform3i64NV; -PFNGLUNIFORM4I64NVPROC glUniform4i64NV; -PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; -PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; -PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; -PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; -PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; -PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; -PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; -PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; -PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; -PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; -PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; -PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; -PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; - -PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; -PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; -PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; -PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; -PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; -PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; -PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; -PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; -PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; -PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; -PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; -PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; -PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; -PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; -PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; -PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) -PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) -PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) -PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; -PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; -PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; -PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; - -PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; -PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) -PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; -PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; - -PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; -PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) -PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; -PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) -PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; -PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; -PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; -PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; -PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; -PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) -PFNGLGENPATHSNVPROC glGenPathsNV; -PFNGLDELETEPATHSNVPROC glDeletePathsNV; -PFNGLISPATHNVPROC glIsPathNV; -PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; -PFNGLPATHCOORDSNVPROC glPathCoordsNV; -PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; -PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; -PFNGLPATHSTRINGNVPROC glPathStringNV; -PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; -PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; -PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; -PFNGLCOPYPATHNVPROC glCopyPathNV; -PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; -PFNGLTRANSFORMPATHNVPROC glTransformPathNV; -PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; -PFNGLPATHPARAMETERINVPROC glPathParameteriNV; -PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; -PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; -PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; -PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; -PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; -PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; -PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; -PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; -PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; -PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; -PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; -PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; -PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; -PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; -PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; -PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; -PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; -PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; -PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; -PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; -PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; -PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; -PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; -PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; -PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; -PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; - -PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; -PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; -PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; -PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; -PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; -PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; -PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; -PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; -PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; -PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; -PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; - -PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; -PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; -PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; -PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; - -PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; -PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; -PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; -PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; -PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; -PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; -PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; -PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; -PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; -PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; -PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; -PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; -PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; -PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; -PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; -PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; -PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; -PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; -PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) -PFNGLPOLYGONMODENVPROC glPolygonModeNV; -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) -PFNGLREADBUFFERNVPROC glReadBufferNV; -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) -PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; -PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; -PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) -PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; -PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) -PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; -PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; -PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; -PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; -PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; -PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; -PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) -PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; -PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; -PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; -PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; -PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; -PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; -PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; -PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; -PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; -PFNGLENABLEINVPROC glEnableiNV; -PFNGLDISABLEINVPROC glDisableiNV; -PFNGLISENABLEDINVPROC glIsEnablediNV; -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) -PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) -PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) -PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) -PFNGLENABLEIOESPROC glEnableiOES; -PFNGLDISABLEIOESPROC glDisableiOES; -PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; -PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; -PFNGLBLENDFUNCIOESPROC glBlendFunciOES; -PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; -PFNGLCOLORMASKIOESPROC glColorMaskiOES; -PFNGLISENABLEDIOESPROC glIsEnablediOES; -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; -PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) -PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) -PFNGLMAPBUFFEROESPROC glMapBufferOES; -PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) -PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) -PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) -PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) -PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; -PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; -PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; -PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; -PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; -PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; -PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; -PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) -PFNGLTEXBUFFEROESPROC glTexBufferOES; -PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) -PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) -PFNGLTEXTUREVIEWOESPROC glTextureViewOES; -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) -PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) -PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; -PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; -PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; -PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; -PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; -PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; -PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; -PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; -PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) -PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) -PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) -PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) -PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) -PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) -PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) -PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; -PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) -PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; -PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) -PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) -PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) -PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) -PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) -PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -PFNGLENDTILINGQCOMPROC glEndTilingQCOM; -#endif /* defined(GL_QCOM_tiled_rendering) */ - -void gles2wLoadProcs() { - /* GL_ES_VERSION_2_0 */ - glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles2wLoad("glActiveTexture"); - glAttachShader = (PFNGLATTACHSHADERPROC)gles2wLoad("glAttachShader"); - glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles2wLoad("glBindAttribLocation"); - glBindBuffer = (PFNGLBINDBUFFERPROC)gles2wLoad("glBindBuffer"); - glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles2wLoad("glBindFramebuffer"); - glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles2wLoad("glBindRenderbuffer"); - glBindTexture = (PFNGLBINDTEXTUREPROC)gles2wLoad("glBindTexture"); - glBlendColor = (PFNGLBLENDCOLORPROC)gles2wLoad("glBlendColor"); - glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles2wLoad("glBlendEquation"); - glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles2wLoad("glBlendEquationSeparate"); - glBlendFunc = (PFNGLBLENDFUNCPROC)gles2wLoad("glBlendFunc"); - glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles2wLoad("glBlendFuncSeparate"); - glBufferData = (PFNGLBUFFERDATAPROC)gles2wLoad("glBufferData"); - glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles2wLoad("glBufferSubData"); - glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles2wLoad("glCheckFramebufferStatus"); - glClear = (PFNGLCLEARPROC)gles2wLoad("glClear"); - glClearColor = (PFNGLCLEARCOLORPROC)gles2wLoad("glClearColor"); - glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles2wLoad("glClearDepthf"); - glClearStencil = (PFNGLCLEARSTENCILPROC)gles2wLoad("glClearStencil"); - glColorMask = (PFNGLCOLORMASKPROC)gles2wLoad("glColorMask"); - glCompileShader = (PFNGLCOMPILESHADERPROC)gles2wLoad("glCompileShader"); - glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles2wLoad("glCompressedTexImage2D"); - glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles2wLoad("glCompressedTexSubImage2D"); - glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles2wLoad("glCopyTexImage2D"); - glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles2wLoad("glCopyTexSubImage2D"); - glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles2wLoad("glCreateProgram"); - glCreateShader = (PFNGLCREATESHADERPROC)gles2wLoad("glCreateShader"); - glCullFace = (PFNGLCULLFACEPROC)gles2wLoad("glCullFace"); - glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles2wLoad("glDeleteBuffers"); - glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles2wLoad("glDeleteFramebuffers"); - glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles2wLoad("glDeleteProgram"); - glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles2wLoad("glDeleteRenderbuffers"); - glDeleteShader = (PFNGLDELETESHADERPROC)gles2wLoad("glDeleteShader"); - glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles2wLoad("glDeleteTextures"); - glDepthFunc = (PFNGLDEPTHFUNCPROC)gles2wLoad("glDepthFunc"); - glDepthMask = (PFNGLDEPTHMASKPROC)gles2wLoad("glDepthMask"); - glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles2wLoad("glDepthRangef"); - glDetachShader = (PFNGLDETACHSHADERPROC)gles2wLoad("glDetachShader"); - glDisable = (PFNGLDISABLEPROC)gles2wLoad("glDisable"); - glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glDisableVertexAttribArray"); - glDrawArrays = (PFNGLDRAWARRAYSPROC)gles2wLoad("glDrawArrays"); - glDrawElements = (PFNGLDRAWELEMENTSPROC)gles2wLoad("glDrawElements"); - glEnable = (PFNGLENABLEPROC)gles2wLoad("glEnable"); - glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glEnableVertexAttribArray"); - glFinish = (PFNGLFINISHPROC)gles2wLoad("glFinish"); - glFlush = (PFNGLFLUSHPROC)gles2wLoad("glFlush"); - glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles2wLoad("glFramebufferRenderbuffer"); - glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles2wLoad("glFramebufferTexture2D"); - glFrontFace = (PFNGLFRONTFACEPROC)gles2wLoad("glFrontFace"); - glGenBuffers = (PFNGLGENBUFFERSPROC)gles2wLoad("glGenBuffers"); - glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles2wLoad("glGenerateMipmap"); - glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles2wLoad("glGenFramebuffers"); - glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles2wLoad("glGenRenderbuffers"); - glGenTextures = (PFNGLGENTEXTURESPROC)gles2wLoad("glGenTextures"); - glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles2wLoad("glGetActiveAttrib"); - glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles2wLoad("glGetActiveUniform"); - glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles2wLoad("glGetAttachedShaders"); - glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles2wLoad("glGetAttribLocation"); - glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles2wLoad("glGetBooleanv"); - glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles2wLoad("glGetBufferParameteriv"); - glGetError = (PFNGLGETERRORPROC)gles2wLoad("glGetError"); - glGetFloatv = (PFNGLGETFLOATVPROC)gles2wLoad("glGetFloatv"); - glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles2wLoad("glGetFramebufferAttachmentParameteriv"); - glGetIntegerv = (PFNGLGETINTEGERVPROC)gles2wLoad("glGetIntegerv"); - glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles2wLoad("glGetProgramiv"); - glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles2wLoad("glGetProgramInfoLog"); - glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles2wLoad("glGetRenderbufferParameteriv"); - glGetShaderiv = (PFNGLGETSHADERIVPROC)gles2wLoad("glGetShaderiv"); - glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles2wLoad("glGetShaderInfoLog"); - glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles2wLoad("glGetShaderPrecisionFormat"); - glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles2wLoad("glGetShaderSource"); - glGetString = (PFNGLGETSTRINGPROC)gles2wLoad("glGetString"); - glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles2wLoad("glGetTexParameterfv"); - glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles2wLoad("glGetTexParameteriv"); - glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles2wLoad("glGetUniformfv"); - glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles2wLoad("glGetUniformiv"); - glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles2wLoad("glGetUniformLocation"); - glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles2wLoad("glGetVertexAttribfv"); - glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles2wLoad("glGetVertexAttribiv"); - glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles2wLoad("glGetVertexAttribPointerv"); - glHint = (PFNGLHINTPROC)gles2wLoad("glHint"); - glIsBuffer = (PFNGLISBUFFERPROC)gles2wLoad("glIsBuffer"); - glIsEnabled = (PFNGLISENABLEDPROC)gles2wLoad("glIsEnabled"); - glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles2wLoad("glIsFramebuffer"); - glIsProgram = (PFNGLISPROGRAMPROC)gles2wLoad("glIsProgram"); - glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles2wLoad("glIsRenderbuffer"); - glIsShader = (PFNGLISSHADERPROC)gles2wLoad("glIsShader"); - glIsTexture = (PFNGLISTEXTUREPROC)gles2wLoad("glIsTexture"); - glLineWidth = (PFNGLLINEWIDTHPROC)gles2wLoad("glLineWidth"); - glLinkProgram = (PFNGLLINKPROGRAMPROC)gles2wLoad("glLinkProgram"); - glPixelStorei = (PFNGLPIXELSTOREIPROC)gles2wLoad("glPixelStorei"); - glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles2wLoad("glPolygonOffset"); - glReadPixels = (PFNGLREADPIXELSPROC)gles2wLoad("glReadPixels"); - glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles2wLoad("glReleaseShaderCompiler"); - glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles2wLoad("glRenderbufferStorage"); - glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles2wLoad("glSampleCoverage"); - glScissor = (PFNGLSCISSORPROC)gles2wLoad("glScissor"); - glShaderBinary = (PFNGLSHADERBINARYPROC)gles2wLoad("glShaderBinary"); - glShaderSource = (PFNGLSHADERSOURCEPROC)gles2wLoad("glShaderSource"); - glStencilFunc = (PFNGLSTENCILFUNCPROC)gles2wLoad("glStencilFunc"); - glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles2wLoad("glStencilFuncSeparate"); - glStencilMask = (PFNGLSTENCILMASKPROC)gles2wLoad("glStencilMask"); - glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles2wLoad("glStencilMaskSeparate"); - glStencilOp = (PFNGLSTENCILOPPROC)gles2wLoad("glStencilOp"); - glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles2wLoad("glStencilOpSeparate"); - glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles2wLoad("glTexImage2D"); - glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles2wLoad("glTexParameterf"); - glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles2wLoad("glTexParameterfv"); - glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles2wLoad("glTexParameteri"); - glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles2wLoad("glTexParameteriv"); - glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles2wLoad("glTexSubImage2D"); - glUniform1f = (PFNGLUNIFORM1FPROC)gles2wLoad("glUniform1f"); - glUniform1fv = (PFNGLUNIFORM1FVPROC)gles2wLoad("glUniform1fv"); - glUniform1i = (PFNGLUNIFORM1IPROC)gles2wLoad("glUniform1i"); - glUniform1iv = (PFNGLUNIFORM1IVPROC)gles2wLoad("glUniform1iv"); - glUniform2f = (PFNGLUNIFORM2FPROC)gles2wLoad("glUniform2f"); - glUniform2fv = (PFNGLUNIFORM2FVPROC)gles2wLoad("glUniform2fv"); - glUniform2i = (PFNGLUNIFORM2IPROC)gles2wLoad("glUniform2i"); - glUniform2iv = (PFNGLUNIFORM2IVPROC)gles2wLoad("glUniform2iv"); - glUniform3f = (PFNGLUNIFORM3FPROC)gles2wLoad("glUniform3f"); - glUniform3fv = (PFNGLUNIFORM3FVPROC)gles2wLoad("glUniform3fv"); - glUniform3i = (PFNGLUNIFORM3IPROC)gles2wLoad("glUniform3i"); - glUniform3iv = (PFNGLUNIFORM3IVPROC)gles2wLoad("glUniform3iv"); - glUniform4f = (PFNGLUNIFORM4FPROC)gles2wLoad("glUniform4f"); - glUniform4fv = (PFNGLUNIFORM4FVPROC)gles2wLoad("glUniform4fv"); - glUniform4i = (PFNGLUNIFORM4IPROC)gles2wLoad("glUniform4i"); - glUniform4iv = (PFNGLUNIFORM4IVPROC)gles2wLoad("glUniform4iv"); - glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles2wLoad("glUniformMatrix2fv"); - glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles2wLoad("glUniformMatrix3fv"); - glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles2wLoad("glUniformMatrix4fv"); - glUseProgram = (PFNGLUSEPROGRAMPROC)gles2wLoad("glUseProgram"); - glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles2wLoad("glValidateProgram"); - glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles2wLoad("glVertexAttrib1f"); - glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles2wLoad("glVertexAttrib1fv"); - glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles2wLoad("glVertexAttrib2f"); - glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles2wLoad("glVertexAttrib2fv"); - glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles2wLoad("glVertexAttrib3f"); - glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles2wLoad("glVertexAttrib3fv"); - glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles2wLoad("glVertexAttrib4f"); - glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles2wLoad("glVertexAttrib4fv"); - glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles2wLoad("glVertexAttribPointer"); - glViewport = (PFNGLVIEWPORTPROC)gles2wLoad("glViewport"); - - -#if defined(GL_AMD_framebuffer_multisample_advanced) - glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); - glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) - glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles2wLoad("glGetPerfMonitorGroupsAMD"); - glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glGetPerfMonitorCountersAMD"); - glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorGroupStringAMD"); - glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorCounterStringAMD"); - glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles2wLoad("glGetPerfMonitorCounterInfoAMD"); - glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles2wLoad("glGenPerfMonitorsAMD"); - glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles2wLoad("glDeletePerfMonitorsAMD"); - glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glSelectPerfMonitorCountersAMD"); - glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles2wLoad("glBeginPerfMonitorAMD"); - glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles2wLoad("glEndPerfMonitorAMD"); - glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles2wLoad("glGetPerfMonitorCounterDataAMD"); -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) - glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles2wLoad("glBlitFramebufferANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) - glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles2wLoad("glRenderbufferStorageMultisampleANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) - glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles2wLoad("glDrawArraysInstancedANGLE"); - glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles2wLoad("glDrawElementsInstancedANGLE"); - glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles2wLoad("glVertexAttribDivisorANGLE"); -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) - glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles2wLoad("glGetTranslatedShaderSourceANGLE"); -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) - glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles2wLoad("glCopyTextureLevelsAPPLE"); -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) - glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles2wLoad("glRenderbufferStorageMultisampleAPPLE"); - glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles2wLoad("glResolveMultisampleFramebufferAPPLE"); -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) - glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles2wLoad("glFenceSyncAPPLE"); - glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles2wLoad("glIsSyncAPPLE"); - glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles2wLoad("glDeleteSyncAPPLE"); - glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles2wLoad("glClientWaitSyncAPPLE"); - glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles2wLoad("glWaitSyncAPPLE"); - glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles2wLoad("glGetInteger64vAPPLE"); - glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles2wLoad("glGetSyncivAPPLE"); -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) - glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTexStorageEXT"); - - glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTextureStorageEXT"); -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) - glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawArraysInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) - glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles2wLoad("glBindFragDataLocationIndexedEXT"); - glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles2wLoad("glBindFragDataLocationEXT"); - glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles2wLoad("glGetProgramResourceLocationIndexEXT"); - glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles2wLoad("glGetFragDataIndexEXT"); -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) - glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles2wLoad("glBufferStorageEXT"); -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) - glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles2wLoad("glClearTexImageEXT"); - glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles2wLoad("glClearTexSubImageEXT"); -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) - glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles2wLoad("glClipControlEXT"); -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) - glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles2wLoad("glCopyImageSubDataEXT"); -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) - glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles2wLoad("glLabelObjectEXT"); - glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles2wLoad("glGetObjectLabelEXT"); -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) - glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles2wLoad("glInsertEventMarkerEXT"); - glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles2wLoad("glPushGroupMarkerEXT"); - glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles2wLoad("glPopGroupMarkerEXT"); -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) - glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles2wLoad("glDiscardFramebufferEXT"); -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) - glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles2wLoad("glGenQueriesEXT"); - glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles2wLoad("glDeleteQueriesEXT"); - glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles2wLoad("glIsQueryEXT"); - glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles2wLoad("glBeginQueryEXT"); - glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles2wLoad("glEndQueryEXT"); - glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles2wLoad("glQueryCounterEXT"); - glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles2wLoad("glGetQueryivEXT"); - glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles2wLoad("glGetQueryObjectivEXT"); - glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles2wLoad("glGetQueryObjectuivEXT"); - glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles2wLoad("glGetQueryObjecti64vEXT"); - glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles2wLoad("glGetQueryObjectui64vEXT"); - glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles2wLoad("glGetInteger64vEXT"); -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) - glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles2wLoad("glDrawBuffersEXT"); -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) - glEnableiEXT = (PFNGLENABLEIEXTPROC)gles2wLoad("glEnableiEXT"); - glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles2wLoad("glDisableiEXT"); - glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles2wLoad("glBlendEquationiEXT"); - glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles2wLoad("glBlendEquationSeparateiEXT"); - glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles2wLoad("glBlendFunciEXT"); - glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles2wLoad("glBlendFuncSeparateiEXT"); - glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles2wLoad("glColorMaskiEXT"); - glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles2wLoad("glIsEnablediEXT"); -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) - glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsBaseVertexEXT"); - glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawRangeElementsBaseVertexEXT"); - glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexEXT"); - glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glMultiDrawElementsBaseVertexEXT"); -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) - glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles2wLoad("glDrawArraysInstancedEXT"); - glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles2wLoad("glDrawElementsInstancedEXT"); -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) - glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles2wLoad("glDrawTransformFeedbackEXT"); - glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles2wLoad("glDrawTransformFeedbackInstancedEXT"); -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) - glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glBufferStorageExternalEXT"); - glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glNamedBufferStorageExternalEXT"); -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) - glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles2wLoad("glFramebufferTextureEXT"); -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) - glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles2wLoad("glVertexAttribDivisorEXT"); -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) - glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles2wLoad("glMapBufferRangeEXT"); - glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles2wLoad("glFlushMappedBufferRangeEXT"); -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) - glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles2wLoad("glGetUnsignedBytevEXT"); - glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles2wLoad("glGetUnsignedBytei_vEXT"); - glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles2wLoad("glDeleteMemoryObjectsEXT"); - glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles2wLoad("glIsMemoryObjectEXT"); - glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles2wLoad("glCreateMemoryObjectsEXT"); - glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glMemoryObjectParameterivEXT"); - glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glGetMemoryObjectParameterivEXT"); - glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles2wLoad("glTexStorageMem2DEXT"); - glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem2DMultisampleEXT"); - glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles2wLoad("glTexStorageMem3DEXT"); - glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem3DMultisampleEXT"); - glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glBufferStorageMemEXT"); - - glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles2wLoad("glTextureStorageMem2DEXT"); - glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem2DMultisampleEXT"); - glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles2wLoad("glTextureStorageMem3DEXT"); - glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem3DMultisampleEXT"); - glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glNamedBufferStorageMemEXT"); -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) - glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles2wLoad("glImportMemoryFdEXT"); -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) - glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles2wLoad("glImportMemoryWin32HandleEXT"); - glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles2wLoad("glImportMemoryWin32NameEXT"); -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) - glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles2wLoad("glMultiDrawArraysEXT"); - glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles2wLoad("glMultiDrawElementsEXT"); -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) - glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles2wLoad("glMultiDrawArraysIndirectEXT"); - glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles2wLoad("glMultiDrawElementsIndirectEXT"); -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) - glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles2wLoad("glRenderbufferStorageMultisampleEXT"); - glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles2wLoad("glFramebufferTexture2DMultisampleEXT"); -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) - glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles2wLoad("glReadBufferIndexedEXT"); - glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles2wLoad("glDrawBuffersIndexedEXT"); - glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles2wLoad("glGetIntegeri_vEXT"); -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) - glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles2wLoad("glPolygonOffsetClampEXT"); -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) - glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles2wLoad("glPrimitiveBoundingBoxEXT"); -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) - glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles2wLoad("glRasterSamplesEXT"); -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) - glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles2wLoad("glGetGraphicsResetStatusEXT"); - glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles2wLoad("glReadnPixelsEXT"); - glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles2wLoad("glGetnUniformfvEXT"); - glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles2wLoad("glGetnUniformivEXT"); -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) - glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles2wLoad("glGenSemaphoresEXT"); - glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles2wLoad("glDeleteSemaphoresEXT"); - glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles2wLoad("glIsSemaphoreEXT"); - glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glSemaphoreParameterui64vEXT"); - glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glGetSemaphoreParameterui64vEXT"); - glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles2wLoad("glWaitSemaphoreEXT"); - glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles2wLoad("glSignalSemaphoreEXT"); -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) - glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles2wLoad("glImportSemaphoreFdEXT"); -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) - glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles2wLoad("glImportSemaphoreWin32HandleEXT"); - glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles2wLoad("glImportSemaphoreWin32NameEXT"); -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) - glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles2wLoad("glActiveShaderProgramEXT"); - glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles2wLoad("glBindProgramPipelineEXT"); - glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles2wLoad("glCreateShaderProgramvEXT"); - glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles2wLoad("glDeleteProgramPipelinesEXT"); - glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles2wLoad("glGenProgramPipelinesEXT"); - glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles2wLoad("glGetProgramPipelineInfoLogEXT"); - glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles2wLoad("glGetProgramPipelineivEXT"); - glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles2wLoad("glIsProgramPipelineEXT"); - glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles2wLoad("glProgramParameteriEXT"); - glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles2wLoad("glProgramUniform1fEXT"); - glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles2wLoad("glProgramUniform1fvEXT"); - glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles2wLoad("glProgramUniform1iEXT"); - glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles2wLoad("glProgramUniform1ivEXT"); - glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles2wLoad("glProgramUniform2fEXT"); - glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles2wLoad("glProgramUniform2fvEXT"); - glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles2wLoad("glProgramUniform2iEXT"); - glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles2wLoad("glProgramUniform2ivEXT"); - glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles2wLoad("glProgramUniform3fEXT"); - glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles2wLoad("glProgramUniform3fvEXT"); - glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles2wLoad("glProgramUniform3iEXT"); - glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles2wLoad("glProgramUniform3ivEXT"); - glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles2wLoad("glProgramUniform4fEXT"); - glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles2wLoad("glProgramUniform4fvEXT"); - glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles2wLoad("glProgramUniform4iEXT"); - glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles2wLoad("glProgramUniform4ivEXT"); - glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles2wLoad("glProgramUniformMatrix2fvEXT"); - glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles2wLoad("glProgramUniformMatrix3fvEXT"); - glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles2wLoad("glProgramUniformMatrix4fvEXT"); - glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles2wLoad("glUseProgramStagesEXT"); - glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles2wLoad("glValidateProgramPipelineEXT"); - - glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles2wLoad("glProgramUniform1uiEXT"); - glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles2wLoad("glProgramUniform2uiEXT"); - glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles2wLoad("glProgramUniform3uiEXT"); - glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles2wLoad("glProgramUniform4uiEXT"); - glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles2wLoad("glProgramUniform1uivEXT"); - glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles2wLoad("glProgramUniform2uivEXT"); - glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles2wLoad("glProgramUniform3uivEXT"); - glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles2wLoad("glProgramUniform4uivEXT"); - glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x3fvEXT"); - glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x2fvEXT"); - glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x4fvEXT"); - glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x2fvEXT"); - glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x4fvEXT"); - glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x3fvEXT"); -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) - glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles2wLoad("glFramebufferFetchBarrierEXT"); -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) - glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glFramebufferPixelLocalStorageSizeEXT"); - glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); - glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles2wLoad("glClearPixelLocalStorageuiEXT"); -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) - glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles2wLoad("glTexPageCommitmentEXT"); -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) - glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles2wLoad("glPatchParameteriEXT"); -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) - glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles2wLoad("glTexParameterIivEXT"); - glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles2wLoad("glTexParameterIuivEXT"); - glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles2wLoad("glGetTexParameterIivEXT"); - glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles2wLoad("glGetTexParameterIuivEXT"); - glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glSamplerParameterIivEXT"); - glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glSamplerParameterIuivEXT"); - glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glGetSamplerParameterIivEXT"); - glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glGetSamplerParameterIuivEXT"); -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) - glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles2wLoad("glTexBufferEXT"); - glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles2wLoad("glTexBufferRangeEXT"); -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) - glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles2wLoad("glTexStorage1DEXT"); - glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles2wLoad("glTexStorage2DEXT"); - glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles2wLoad("glTexStorage3DEXT"); - - glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles2wLoad("glTextureStorage1DEXT"); - glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles2wLoad("glTextureStorage2DEXT"); - glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles2wLoad("glTextureStorage3DEXT"); -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) - glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles2wLoad("glTextureViewEXT"); -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) - glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles2wLoad("glCreateSemaphoresNV"); - glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glSemaphoreParameterivNV"); - glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glGetSemaphoreParameterivNV"); -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) - glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glAcquireKeyedMutexWin32EXT"); - glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glReleaseKeyedMutexWin32EXT"); -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) - glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles2wLoad("glWindowRectanglesEXT"); -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) - glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles2wLoad("glGetTextureHandleIMG"); - glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles2wLoad("glGetTextureSamplerHandleIMG"); - glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glUniformHandleui64IMG"); - glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glUniformHandleui64vIMG"); - glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glProgramUniformHandleui64IMG"); - glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glProgramUniformHandleui64vIMG"); -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) - glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DDownsampleIMG"); - glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTextureLayerDownsampleIMG"); -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) - glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles2wLoad("glRenderbufferStorageMultisampleIMG"); - glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DMultisampleIMG"); -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) - glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles2wLoad("glApplyFramebufferAttachmentCMAAINTEL"); -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) - glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles2wLoad("glBeginPerfQueryINTEL"); - glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles2wLoad("glCreatePerfQueryINTEL"); - glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles2wLoad("glDeletePerfQueryINTEL"); - glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles2wLoad("glEndPerfQueryINTEL"); - glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles2wLoad("glGetFirstPerfQueryIdINTEL"); - glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles2wLoad("glGetNextPerfQueryIdINTEL"); - glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles2wLoad("glGetPerfCounterInfoINTEL"); - glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles2wLoad("glGetPerfQueryDataINTEL"); - glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles2wLoad("glGetPerfQueryIdByNameINTEL"); - glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles2wLoad("glGetPerfQueryInfoINTEL"); -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) - glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles2wLoad("glBlendBarrierKHR"); -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) - glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("glDebugMessageControlKHR"); - glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles2wLoad("glDebugMessageInsertKHR"); - glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles2wLoad("glDebugMessageCallbackKHR"); - glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles2wLoad("glGetDebugMessageLogKHR"); - glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles2wLoad("glPushDebugGroupKHR"); - glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles2wLoad("glPopDebugGroupKHR"); - glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles2wLoad("glObjectLabelKHR"); - glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles2wLoad("glGetObjectLabelKHR"); - glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles2wLoad("glObjectPtrLabelKHR"); - glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles2wLoad("glGetObjectPtrLabelKHR"); - glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles2wLoad("glGetPointervKHR"); -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) - glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles2wLoad("glGetGraphicsResetStatusKHR"); - glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles2wLoad("glReadnPixelsKHR"); - glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles2wLoad("glGetnUniformfvKHR"); - glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles2wLoad("glGetnUniformivKHR"); - glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles2wLoad("glGetnUniformuivKHR"); -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) - glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles2wLoad("glMaxShaderCompilerThreadsKHR"); -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) - glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles2wLoad("glFramebufferParameteriMESA"); - glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles2wLoad("glGetFramebufferParameterivMESA"); -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) - glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles2wLoad("glGetTextureHandleNV"); - glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles2wLoad("glGetTextureSamplerHandleNV"); - glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glMakeTextureHandleResidentNV"); - glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeTextureHandleNonResidentNV"); - glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles2wLoad("glGetImageHandleNV"); - glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glMakeImageHandleResidentNV"); - glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeImageHandleNonResidentNV"); - glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles2wLoad("glUniformHandleui64NV"); - glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glUniformHandleui64vNV"); - glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles2wLoad("glProgramUniformHandleui64NV"); - glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glProgramUniformHandleui64vNV"); - glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glIsTextureHandleResidentNV"); - glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glIsImageHandleResidentNV"); -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) - glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles2wLoad("glBlendParameteriNV"); - glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles2wLoad("glBlendBarrierNV"); -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) - glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles2wLoad("glViewportPositionWScaleNV"); -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) - glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles2wLoad("glBeginConditionalRenderNV"); - glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles2wLoad("glEndConditionalRenderNV"); -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) - glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles2wLoad("glSubpixelPrecisionBiasNV"); -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) - glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles2wLoad("glConservativeRasterParameteriNV"); -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) - glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles2wLoad("glCopyBufferSubDataNV"); -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) - glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles2wLoad("glCoverageMaskNV"); - glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles2wLoad("glCoverageOperationNV"); -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) - glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles2wLoad("glDrawBuffersNV"); -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) - glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles2wLoad("glDrawArraysInstancedNV"); - glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles2wLoad("glDrawElementsInstancedNV"); -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) - glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles2wLoad("glDrawVkImageNV"); - glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles2wLoad("glGetVkProcAddrNV"); - glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles2wLoad("glWaitVkSemaphoreNV"); - glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles2wLoad("glSignalVkSemaphoreNV"); - glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles2wLoad("glSignalVkFenceNV"); -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) - glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles2wLoad("glDeleteFencesNV"); - glGenFencesNV = (PFNGLGENFENCESNVPROC)gles2wLoad("glGenFencesNV"); - glIsFenceNV = (PFNGLISFENCENVPROC)gles2wLoad("glIsFenceNV"); - glTestFenceNV = (PFNGLTESTFENCENVPROC)gles2wLoad("glTestFenceNV"); - glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles2wLoad("glGetFenceivNV"); - glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles2wLoad("glFinishFenceNV"); - glSetFenceNV = (PFNGLSETFENCENVPROC)gles2wLoad("glSetFenceNV"); -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) - glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles2wLoad("glFragmentCoverageColorNV"); -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) - glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles2wLoad("glBlitFramebufferNV"); -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) - glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glCoverageModulationTableNV"); - glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glGetCoverageModulationTableNV"); - glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles2wLoad("glCoverageModulationNV"); -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) - glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles2wLoad("glRenderbufferStorageMultisampleNV"); -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) - glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles2wLoad("glUniform1i64NV"); - glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles2wLoad("glUniform2i64NV"); - glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles2wLoad("glUniform3i64NV"); - glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles2wLoad("glUniform4i64NV"); - glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles2wLoad("glUniform1i64vNV"); - glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles2wLoad("glUniform2i64vNV"); - glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles2wLoad("glUniform3i64vNV"); - glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles2wLoad("glUniform4i64vNV"); - glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles2wLoad("glUniform1ui64NV"); - glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles2wLoad("glUniform2ui64NV"); - glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles2wLoad("glUniform3ui64NV"); - glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles2wLoad("glUniform4ui64NV"); - glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles2wLoad("glUniform1ui64vNV"); - glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles2wLoad("glUniform2ui64vNV"); - glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles2wLoad("glUniform3ui64vNV"); - glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles2wLoad("glUniform4ui64vNV"); - glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles2wLoad("glGetUniformi64vNV"); - - glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles2wLoad("glProgramUniform1i64NV"); - glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles2wLoad("glProgramUniform2i64NV"); - glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles2wLoad("glProgramUniform3i64NV"); - glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles2wLoad("glProgramUniform4i64NV"); - glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles2wLoad("glProgramUniform1i64vNV"); - glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles2wLoad("glProgramUniform2i64vNV"); - glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles2wLoad("glProgramUniform3i64vNV"); - glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles2wLoad("glProgramUniform4i64vNV"); - glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles2wLoad("glProgramUniform1ui64NV"); - glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles2wLoad("glProgramUniform2ui64NV"); - glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles2wLoad("glProgramUniform3ui64NV"); - glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles2wLoad("glProgramUniform4ui64NV"); - glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles2wLoad("glProgramUniform1ui64vNV"); - glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles2wLoad("glProgramUniform2ui64vNV"); - glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles2wLoad("glProgramUniform3ui64vNV"); - glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles2wLoad("glProgramUniform4ui64vNV"); -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) - glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles2wLoad("glVertexAttribDivisorNV"); -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) - glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles2wLoad("glGetInternalformatSampleivNV"); -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) - glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles2wLoad("glGetMemoryObjectDetachedResourcesuivNV"); - glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles2wLoad("glResetMemoryObjectParameterNV"); - glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles2wLoad("glTexAttachMemoryNV"); - glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles2wLoad("glBufferAttachMemoryNV"); - - glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles2wLoad("glTextureAttachMemoryNV"); - glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles2wLoad("glNamedBufferAttachMemoryNV"); -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) - glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glBufferPageCommitmentMemNV"); - glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexPageCommitmentMemNV"); - - glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glNamedBufferPageCommitmentMemNV"); - glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexturePageCommitmentMemNV"); -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) - glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles2wLoad("glDrawMeshTasksNV"); - glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectCountNV"); -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) - glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles2wLoad("glUniformMatrix2x3fvNV"); - glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles2wLoad("glUniformMatrix3x2fvNV"); - glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles2wLoad("glUniformMatrix2x4fvNV"); - glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles2wLoad("glUniformMatrix4x2fvNV"); - glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles2wLoad("glUniformMatrix3x4fvNV"); - glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles2wLoad("glUniformMatrix4x3fvNV"); -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) - glGenPathsNV = (PFNGLGENPATHSNVPROC)gles2wLoad("glGenPathsNV"); - glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles2wLoad("glDeletePathsNV"); - glIsPathNV = (PFNGLISPATHNVPROC)gles2wLoad("glIsPathNV"); - glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles2wLoad("glPathCommandsNV"); - glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles2wLoad("glPathCoordsNV"); - glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles2wLoad("glPathSubCommandsNV"); - glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles2wLoad("glPathSubCoordsNV"); - glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles2wLoad("glPathStringNV"); - glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles2wLoad("glPathGlyphsNV"); - glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles2wLoad("glPathGlyphRangeNV"); - glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles2wLoad("glWeightPathsNV"); - glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles2wLoad("glCopyPathNV"); - glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles2wLoad("glInterpolatePathsNV"); - glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles2wLoad("glTransformPathNV"); - glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles2wLoad("glPathParameterivNV"); - glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles2wLoad("glPathParameteriNV"); - glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles2wLoad("glPathParameterfvNV"); - glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles2wLoad("glPathParameterfNV"); - glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles2wLoad("glPathDashArrayNV"); - glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles2wLoad("glPathStencilFuncNV"); - glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles2wLoad("glPathStencilDepthOffsetNV"); - glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles2wLoad("glStencilFillPathNV"); - glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles2wLoad("glStencilStrokePathNV"); - glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilFillPathInstancedNV"); - glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilStrokePathInstancedNV"); - glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles2wLoad("glPathCoverDepthFuncNV"); - glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles2wLoad("glCoverFillPathNV"); - glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles2wLoad("glCoverStrokePathNV"); - glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glCoverFillPathInstancedNV"); - glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glCoverStrokePathInstancedNV"); - glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles2wLoad("glGetPathParameterivNV"); - glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles2wLoad("glGetPathParameterfvNV"); - glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles2wLoad("glGetPathCommandsNV"); - glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles2wLoad("glGetPathCoordsNV"); - glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles2wLoad("glGetPathDashArrayNV"); - glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles2wLoad("glGetPathMetricsNV"); - glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles2wLoad("glGetPathMetricRangeNV"); - glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles2wLoad("glGetPathSpacingNV"); - glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles2wLoad("glIsPointInFillPathNV"); - glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles2wLoad("glIsPointInStrokePathNV"); - glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles2wLoad("glGetPathLengthNV"); - glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles2wLoad("glPointAlongPathNV"); - - glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles2wLoad("glMatrixLoad3x2fNV"); - glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles2wLoad("glMatrixLoad3x3fNV"); - glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixLoadTranspose3x3fNV"); - glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles2wLoad("glMatrixMult3x2fNV"); - glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles2wLoad("glMatrixMult3x3fNV"); - glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixMultTranspose3x3fNV"); - glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles2wLoad("glStencilThenCoverFillPathNV"); - glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles2wLoad("glStencilThenCoverStrokePathNV"); - glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverFillPathInstancedNV"); - glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverStrokePathInstancedNV"); - glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles2wLoad("glPathGlyphIndexRangeNV"); - - glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathGlyphIndexArrayNV"); - glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathMemoryGlyphIndexArrayNV"); - glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles2wLoad("glProgramPathFragmentInputGenNV"); - glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles2wLoad("glGetProgramResourcefvNV"); - - glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles2wLoad("glMatrixFrustumEXT"); - glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles2wLoad("glMatrixLoadIdentityEXT"); - glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles2wLoad("glMatrixLoadTransposefEXT"); - glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles2wLoad("glMatrixLoadTransposedEXT"); - glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles2wLoad("glMatrixLoadfEXT"); - glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles2wLoad("glMatrixLoaddEXT"); - glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles2wLoad("glMatrixMultTransposefEXT"); - glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles2wLoad("glMatrixMultTransposedEXT"); - glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles2wLoad("glMatrixMultfEXT"); - glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles2wLoad("glMatrixMultdEXT"); - glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles2wLoad("glMatrixOrthoEXT"); - glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles2wLoad("glMatrixPopEXT"); - glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles2wLoad("glMatrixPushEXT"); - glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles2wLoad("glMatrixRotatefEXT"); - glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles2wLoad("glMatrixRotatedEXT"); - glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles2wLoad("glMatrixScalefEXT"); - glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles2wLoad("glMatrixScaledEXT"); - glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles2wLoad("glMatrixTranslatefEXT"); - glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles2wLoad("glMatrixTranslatedEXT"); -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) - glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles2wLoad("glPolygonModeNV"); -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) - glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles2wLoad("glReadBufferNV"); -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) - glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glFramebufferSampleLocationsfvNV"); - glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glNamedFramebufferSampleLocationsfvNV"); - glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles2wLoad("glResolveDepthValuesNV"); -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) - glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles2wLoad("glScissorExclusiveNV"); - glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles2wLoad("glScissorExclusiveArrayvNV"); -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) - glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles2wLoad("glBindShadingRateImageNV"); - glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glGetShadingRateImagePaletteNV"); - glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles2wLoad("glGetShadingRateSampleLocationivNV"); - glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles2wLoad("glShadingRateImageBarrierNV"); - glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glShadingRateImagePaletteNV"); - glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles2wLoad("glShadingRateSampleOrderNV"); - glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles2wLoad("glShadingRateSampleOrderCustomNV"); -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) - glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles2wLoad("glViewportArrayvNV"); - glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles2wLoad("glViewportIndexedfNV"); - glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles2wLoad("glViewportIndexedfvNV"); - glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles2wLoad("glScissorArrayvNV"); - glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles2wLoad("glScissorIndexedNV"); - glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles2wLoad("glScissorIndexedvNV"); - glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles2wLoad("glDepthRangeArrayfvNV"); - glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles2wLoad("glDepthRangeIndexedfNV"); - glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles2wLoad("glGetFloati_vNV"); - glEnableiNV = (PFNGLENABLEINVPROC)gles2wLoad("glEnableiNV"); - glDisableiNV = (PFNGLDISABLEINVPROC)gles2wLoad("glDisableiNV"); - glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles2wLoad("glIsEnablediNV"); -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) - glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles2wLoad("glViewportSwizzleNV"); -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) - glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles2wLoad("glEGLImageTargetTexture2DOES"); - glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles2wLoad("glEGLImageTargetRenderbufferStorageOES"); -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) - glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles2wLoad("glCopyImageSubDataOES"); -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) - glEnableiOES = (PFNGLENABLEIOESPROC)gles2wLoad("glEnableiOES"); - glDisableiOES = (PFNGLDISABLEIOESPROC)gles2wLoad("glDisableiOES"); - glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles2wLoad("glBlendEquationiOES"); - glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles2wLoad("glBlendEquationSeparateiOES"); - glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles2wLoad("glBlendFunciOES"); - glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles2wLoad("glBlendFuncSeparateiOES"); - glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles2wLoad("glColorMaskiOES"); - glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles2wLoad("glIsEnablediOES"); -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) - glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawElementsBaseVertexOES"); - glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawRangeElementsBaseVertexOES"); - glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles2wLoad("glDrawElementsInstancedBaseVertexOES"); -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) - glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles2wLoad("glFramebufferTextureOES"); -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) - glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles2wLoad("glGetProgramBinaryOES"); - glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles2wLoad("glProgramBinaryOES"); -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) - glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles2wLoad("glMapBufferOES"); - glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles2wLoad("glUnmapBufferOES"); - glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles2wLoad("glGetBufferPointervOES"); -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) - glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles2wLoad("glPrimitiveBoundingBoxOES"); -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) - glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles2wLoad("glMinSampleShadingOES"); -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) - glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles2wLoad("glPatchParameteriOES"); -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) - glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles2wLoad("glTexImage3DOES"); - glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles2wLoad("glTexSubImage3DOES"); - glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles2wLoad("glCopyTexSubImage3DOES"); - glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles2wLoad("glCompressedTexImage3DOES"); - glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles2wLoad("glCompressedTexSubImage3DOES"); - glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles2wLoad("glFramebufferTexture3DOES"); -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) - glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles2wLoad("glTexParameterIivOES"); - glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles2wLoad("glTexParameterIuivOES"); - glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles2wLoad("glGetTexParameterIivOES"); - glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles2wLoad("glGetTexParameterIuivOES"); - glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glSamplerParameterIivOES"); - glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glSamplerParameterIuivOES"); - glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glGetSamplerParameterIivOES"); - glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glGetSamplerParameterIuivOES"); -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) - glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles2wLoad("glTexBufferOES"); - glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles2wLoad("glTexBufferRangeOES"); -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) - glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles2wLoad("glTexStorage3DMultisampleOES"); -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) - glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles2wLoad("glTextureViewOES"); -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) - glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles2wLoad("glBindVertexArrayOES"); - glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles2wLoad("glDeleteVertexArraysOES"); - glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles2wLoad("glGenVertexArraysOES"); - glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles2wLoad("glIsVertexArrayOES"); -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) - glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles2wLoad("glViewportArrayvOES"); - glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles2wLoad("glViewportIndexedfOES"); - glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles2wLoad("glViewportIndexedfvOES"); - glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles2wLoad("glScissorArrayvOES"); - glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles2wLoad("glScissorIndexedOES"); - glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles2wLoad("glScissorIndexedvOES"); - glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles2wLoad("glDepthRangeArrayfvOES"); - glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles2wLoad("glDepthRangeIndexedfOES"); - glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles2wLoad("glGetFloati_vOES"); -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) - glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultiviewOVR"); -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) - glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultisampleMultiviewOVR"); -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) - glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles2wLoad("glAlphaFuncQCOM"); -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) - glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles2wLoad("glGetDriverControlsQCOM"); - glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles2wLoad("glGetDriverControlStringQCOM"); - glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glEnableDriverControlQCOM"); - glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glDisableDriverControlQCOM"); -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) - glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles2wLoad("glExtGetTexturesQCOM"); - glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles2wLoad("glExtGetBuffersQCOM"); - glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles2wLoad("glExtGetRenderbuffersQCOM"); - glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles2wLoad("glExtGetFramebuffersQCOM"); - glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles2wLoad("glExtGetTexLevelParameterivQCOM"); - glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles2wLoad("glExtTexObjectStateOverrideiQCOM"); - glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles2wLoad("glExtGetTexSubImageQCOM"); - glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles2wLoad("glExtGetBufferPointervQCOM"); -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) - glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles2wLoad("glExtGetShadersQCOM"); - glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles2wLoad("glExtGetProgramsQCOM"); - glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles2wLoad("glExtIsProgramBinaryQCOM"); - glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles2wLoad("glExtGetProgramBinarySourceQCOM"); -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) - glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles2wLoad("glFramebufferFoveationConfigQCOM"); - glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glFramebufferFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) - glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles2wLoad("glTexEstimateMotionQCOM"); - glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles2wLoad("glTexEstimateMotionRegionsQCOM"); -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) - glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles2wLoad("glExtrapolateTex2DQCOM"); -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) - glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glTextureFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) - glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles2wLoad("glFramebufferFetchBarrierQCOM"); -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) - glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles2wLoad("glShadingRateQCOM"); -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) - glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles2wLoad("glStartTilingQCOM"); - glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles2wLoad("glEndTilingQCOM"); -#endif /* defined(GL_QCOM_tiled_rendering) */ - -} diff --git a/native/cocos/renderer/gfx-gles2/gles2w_auto.h b/native/cocos/renderer/gfx-gles2/gles2w_auto.h deleted file mode 100644 index e4db5ec0af..0000000000 --- a/native/cocos/renderer/gfx-gles2/gles2w_auto.h +++ /dev/null @@ -1,1066 +0,0 @@ -#pragma once - -void gles2wLoadProcs(); - -/* GL_ES_VERSION_2_0 */ -extern PFNGLACTIVETEXTUREPROC glActiveTexture; -extern PFNGLATTACHSHADERPROC glAttachShader; -extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -extern PFNGLBINDBUFFERPROC glBindBuffer; -extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -extern PFNGLBINDTEXTUREPROC glBindTexture; -extern PFNGLBLENDCOLORPROC glBlendColor; -extern PFNGLBLENDEQUATIONPROC glBlendEquation; -extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -extern PFNGLBLENDFUNCPROC glBlendFunc; -extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -extern PFNGLBUFFERDATAPROC glBufferData; -extern PFNGLBUFFERSUBDATAPROC glBufferSubData; -extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -extern PFNGLCLEARPROC glClear; -extern PFNGLCLEARCOLORPROC glClearColor; -extern PFNGLCLEARDEPTHFPROC glClearDepthf; -extern PFNGLCLEARSTENCILPROC glClearStencil; -extern PFNGLCOLORMASKPROC glColorMask; -extern PFNGLCOMPILESHADERPROC glCompileShader; -extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -extern PFNGLCREATEPROGRAMPROC glCreateProgram; -extern PFNGLCREATESHADERPROC glCreateShader; -extern PFNGLCULLFACEPROC glCullFace; -extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; -extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -extern PFNGLDELETEPROGRAMPROC glDeleteProgram; -extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -extern PFNGLDELETESHADERPROC glDeleteShader; -extern PFNGLDELETETEXTURESPROC glDeleteTextures; -extern PFNGLDEPTHFUNCPROC glDepthFunc; -extern PFNGLDEPTHMASKPROC glDepthMask; -extern PFNGLDEPTHRANGEFPROC glDepthRangef; -extern PFNGLDETACHSHADERPROC glDetachShader; -extern PFNGLDISABLEPROC glDisable; -extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -extern PFNGLDRAWARRAYSPROC glDrawArrays; -extern PFNGLDRAWELEMENTSPROC glDrawElements; -extern PFNGLENABLEPROC glEnable; -extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -extern PFNGLFINISHPROC glFinish; -extern PFNGLFLUSHPROC glFlush; -extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -extern PFNGLFRONTFACEPROC glFrontFace; -extern PFNGLGENBUFFERSPROC glGenBuffers; -extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -extern PFNGLGENTEXTURESPROC glGenTextures; -extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -extern PFNGLGETBOOLEANVPROC glGetBooleanv; -extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -extern PFNGLGETERRORPROC glGetError; -extern PFNGLGETFLOATVPROC glGetFloatv; -extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -extern PFNGLGETINTEGERVPROC glGetIntegerv; -extern PFNGLGETPROGRAMIVPROC glGetProgramiv; -extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -extern PFNGLGETSHADERIVPROC glGetShaderiv; -extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; -extern PFNGLGETSTRINGPROC glGetString; -extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -extern PFNGLGETUNIFORMFVPROC glGetUniformfv; -extern PFNGLGETUNIFORMIVPROC glGetUniformiv; -extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -extern PFNGLHINTPROC glHint; -extern PFNGLISBUFFERPROC glIsBuffer; -extern PFNGLISENABLEDPROC glIsEnabled; -extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -extern PFNGLISPROGRAMPROC glIsProgram; -extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -extern PFNGLISSHADERPROC glIsShader; -extern PFNGLISTEXTUREPROC glIsTexture; -extern PFNGLLINEWIDTHPROC glLineWidth; -extern PFNGLLINKPROGRAMPROC glLinkProgram; -extern PFNGLPIXELSTOREIPROC glPixelStorei; -extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; -extern PFNGLREADPIXELSPROC glReadPixels; -extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -extern PFNGLSCISSORPROC glScissor; -extern PFNGLSHADERBINARYPROC glShaderBinary; -extern PFNGLSHADERSOURCEPROC glShaderSource; -extern PFNGLSTENCILFUNCPROC glStencilFunc; -extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -extern PFNGLSTENCILMASKPROC glStencilMask; -extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -extern PFNGLSTENCILOPPROC glStencilOp; -extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -extern PFNGLTEXIMAGE2DPROC glTexImage2D; -extern PFNGLTEXPARAMETERFPROC glTexParameterf; -extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; -extern PFNGLTEXPARAMETERIPROC glTexParameteri; -extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; -extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -extern PFNGLUNIFORM1FPROC glUniform1f; -extern PFNGLUNIFORM1FVPROC glUniform1fv; -extern PFNGLUNIFORM1IPROC glUniform1i; -extern PFNGLUNIFORM1IVPROC glUniform1iv; -extern PFNGLUNIFORM2FPROC glUniform2f; -extern PFNGLUNIFORM2FVPROC glUniform2fv; -extern PFNGLUNIFORM2IPROC glUniform2i; -extern PFNGLUNIFORM2IVPROC glUniform2iv; -extern PFNGLUNIFORM3FPROC glUniform3f; -extern PFNGLUNIFORM3FVPROC glUniform3fv; -extern PFNGLUNIFORM3IPROC glUniform3i; -extern PFNGLUNIFORM3IVPROC glUniform3iv; -extern PFNGLUNIFORM4FPROC glUniform4f; -extern PFNGLUNIFORM4FVPROC glUniform4fv; -extern PFNGLUNIFORM4IPROC glUniform4i; -extern PFNGLUNIFORM4IVPROC glUniform4iv; -extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -extern PFNGLUSEPROGRAMPROC glUseProgram; -extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; -extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -extern PFNGLVIEWPORTPROC glViewport; - - -#if defined(GL_AMD_framebuffer_multisample_advanced) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; -extern PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) -extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) -extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) -extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) -extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) -extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) -extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) -extern PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; - -extern PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) -extern PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) -extern PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; -extern PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; -extern PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; -extern PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) -extern PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) -extern PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; -extern PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) -extern PFNGLCLIPCONTROLEXTPROC glClipControlEXT; -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) -extern PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) -extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) -extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) -extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) -extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -extern PFNGLISQUERYEXTPROC glIsQueryEXT; -extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -extern PFNGLENDQUERYEXTPROC glEndQueryEXT; -extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -extern PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) -extern PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) -extern PFNGLENABLEIEXTPROC glEnableiEXT; -extern PFNGLDISABLEIEXTPROC glDisableiEXT; -extern PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; -extern PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; -extern PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; -extern PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; -extern PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; -extern PFNGLISENABLEDIEXTPROC glIsEnablediEXT; -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) -extern PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; -extern PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; -extern PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) -extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) -extern PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; -extern PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) -extern PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; -extern PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) -extern PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) -extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) -extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) -extern PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; -extern PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; -extern PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; -extern PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; -extern PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; -extern PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; -extern PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; -extern PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; -extern PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; -extern PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; -extern PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; -extern PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; - -extern PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; -extern PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; -extern PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; -extern PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; -extern PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) -extern PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) -extern PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; -extern PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) -extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) -extern PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; -extern PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) -extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) -extern PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) -extern PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) -extern PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) -extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) -extern PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; -extern PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; -extern PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; -extern PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; -extern PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; -extern PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; -extern PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) -extern PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) -extern PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; -extern PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) -extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; - -extern PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; -extern PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; -extern PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; -extern PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; -extern PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; -extern PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; -extern PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; -extern PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) -extern PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) -extern PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; -extern PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; -extern PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) -extern PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) -extern PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) -extern PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; -extern PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; -extern PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; -extern PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; -extern PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; -extern PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; -extern PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; -extern PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) -extern PFNGLTEXBUFFEREXTPROC glTexBufferEXT; -extern PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) -extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; - -extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) -extern PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) -extern PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; -extern PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; -extern PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) -extern PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; -extern PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) -extern PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) -extern PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; -extern PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; -extern PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; -extern PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; -extern PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; -extern PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) -extern PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; -extern PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) -extern PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) -extern PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; -extern PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; -extern PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; -extern PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; -extern PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; -extern PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; -extern PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; -extern PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; -extern PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; -extern PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) -extern PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) -extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) -extern PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; -extern PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; -extern PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; -extern PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; -extern PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) -extern PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) -extern PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; -extern PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) -extern PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; -extern PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; -extern PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; -extern PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; -extern PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; -extern PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; -extern PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; -extern PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; -extern PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; -extern PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; -extern PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; -extern PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; -extern PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) -extern PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; -extern PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) -extern PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) -extern PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; -extern PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) -extern PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) -extern PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) -extern PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) -extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) -extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) -extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) -extern PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; -extern PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; -extern PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; -extern PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; -extern PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) -extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -extern PFNGLGENFENCESNVPROC glGenFencesNV; -extern PFNGLISFENCENVPROC glIsFenceNV; -extern PFNGLTESTFENCENVPROC glTestFenceNV; -extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; -extern PFNGLFINISHFENCENVPROC glFinishFenceNV; -extern PFNGLSETFENCENVPROC glSetFenceNV; -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) -extern PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) -extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) -extern PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; -extern PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; -extern PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) -extern PFNGLUNIFORM1I64NVPROC glUniform1i64NV; -extern PFNGLUNIFORM2I64NVPROC glUniform2i64NV; -extern PFNGLUNIFORM3I64NVPROC glUniform3i64NV; -extern PFNGLUNIFORM4I64NVPROC glUniform4i64NV; -extern PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; -extern PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; -extern PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; -extern PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; -extern PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; -extern PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; -extern PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; -extern PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; -extern PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; -extern PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; -extern PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; -extern PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; -extern PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; - -extern PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; -extern PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; -extern PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; -extern PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; -extern PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; -extern PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; -extern PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; -extern PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; -extern PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; -extern PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; -extern PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; -extern PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; -extern PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; -extern PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; -extern PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; -extern PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) -extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) -extern PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) -extern PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; -extern PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; -extern PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; -extern PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; - -extern PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; -extern PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) -extern PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; -extern PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; - -extern PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; -extern PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) -extern PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; -extern PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; -extern PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; -extern PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) -extern PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; -extern PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; -extern PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; -extern PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; -extern PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; -extern PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) -extern PFNGLGENPATHSNVPROC glGenPathsNV; -extern PFNGLDELETEPATHSNVPROC glDeletePathsNV; -extern PFNGLISPATHNVPROC glIsPathNV; -extern PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; -extern PFNGLPATHCOORDSNVPROC glPathCoordsNV; -extern PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; -extern PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; -extern PFNGLPATHSTRINGNVPROC glPathStringNV; -extern PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; -extern PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; -extern PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; -extern PFNGLCOPYPATHNVPROC glCopyPathNV; -extern PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; -extern PFNGLTRANSFORMPATHNVPROC glTransformPathNV; -extern PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; -extern PFNGLPATHPARAMETERINVPROC glPathParameteriNV; -extern PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; -extern PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; -extern PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; -extern PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; -extern PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; -extern PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; -extern PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; -extern PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; -extern PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; -extern PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; -extern PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; -extern PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; -extern PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; -extern PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; -extern PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; -extern PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; -extern PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; -extern PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; -extern PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; -extern PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; -extern PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; -extern PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; -extern PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; -extern PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; -extern PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; -extern PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; - -extern PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; -extern PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; -extern PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; -extern PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; -extern PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; -extern PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; -extern PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; -extern PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; -extern PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; -extern PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; -extern PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; - -extern PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; -extern PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; -extern PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; -extern PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; - -extern PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; -extern PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; -extern PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; -extern PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; -extern PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; -extern PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; -extern PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; -extern PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; -extern PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; -extern PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; -extern PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; -extern PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; -extern PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; -extern PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; -extern PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; -extern PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; -extern PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; -extern PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; -extern PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) -extern PFNGLPOLYGONMODENVPROC glPolygonModeNV; -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) -extern PFNGLREADBUFFERNVPROC glReadBufferNV; -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) -extern PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; -extern PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; -extern PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) -extern PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; -extern PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) -extern PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; -extern PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; -extern PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; -extern PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; -extern PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; -extern PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; -extern PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) -extern PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; -extern PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; -extern PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; -extern PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; -extern PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; -extern PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; -extern PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; -extern PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; -extern PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; -extern PFNGLENABLEINVPROC glEnableiNV; -extern PFNGLDISABLEINVPROC glDisableiNV; -extern PFNGLISENABLEDINVPROC glIsEnablediNV; -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) -extern PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) -extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) -extern PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) -extern PFNGLENABLEIOESPROC glEnableiOES; -extern PFNGLDISABLEIOESPROC glDisableiOES; -extern PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; -extern PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; -extern PFNGLBLENDFUNCIOESPROC glBlendFunciOES; -extern PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; -extern PFNGLCOLORMASKIOESPROC glColorMaskiOES; -extern PFNGLISENABLEDIOESPROC glIsEnablediOES; -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) -extern PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; -extern PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) -extern PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) -extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) -extern PFNGLMAPBUFFEROESPROC glMapBufferOES; -extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) -extern PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) -extern PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) -extern PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) -extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) -extern PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; -extern PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; -extern PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; -extern PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; -extern PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; -extern PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; -extern PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; -extern PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) -extern PFNGLTEXBUFFEROESPROC glTexBufferOES; -extern PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) -extern PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) -extern PFNGLTEXTUREVIEWOESPROC glTextureViewOES; -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) -extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) -extern PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; -extern PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; -extern PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; -extern PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; -extern PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; -extern PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; -extern PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; -extern PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; -extern PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) -extern PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) -extern PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) -extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) -extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) -extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) -extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) -extern PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; -extern PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) -extern PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; -extern PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) -extern PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) -extern PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) -extern PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) -extern PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) -extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; -#endif /* defined(GL_QCOM_tiled_rendering) */ - diff --git a/native/cocos/renderer/gfx-gles3/eglw.h b/native/cocos/renderer/gfx-gles3/eglw.h deleted file mode 100644 index 0ca7801481..0000000000 --- a/native/cocos/renderer/gfx-gles3/eglw.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #ifdef __OBJC__ - #include - #endif -#else - #define EGL_EGL_PROTOTYPES 0 - #include - #include - #include -#endif - -#define GL_GLES_PROTOTYPES 0 -#include - -#include -#include -#include - -void *eglwLoad(const char *proc); \ No newline at end of file diff --git a/native/cocos/renderer/gfx-gles3/eglw_auto.cpp b/native/cocos/renderer/gfx-gles3/eglw_auto.cpp deleted file mode 100644 index abd246591e..0000000000 --- a/native/cocos/renderer/gfx-gles3/eglw_auto.cpp +++ /dev/null @@ -1,660 +0,0 @@ -#include "eglw.h" - -PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -PFNEGLCHOOSECONFIGPROC eglChooseConfig; -PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -PFNEGLCREATECONTEXTPROC eglCreateContext; -PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -PFNEGLDESTROYSURFACEPROC eglDestroySurface; -PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -PFNEGLGETCONFIGSPROC eglGetConfigs; -PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -PFNEGLGETDISPLAYPROC eglGetDisplay; -PFNEGLGETERRORPROC eglGetError; -PFNEGLINITIALIZEPROC eglInitialize; -PFNEGLMAKECURRENTPROC eglMakeCurrent; -PFNEGLQUERYCONTEXTPROC eglQueryContext; -PFNEGLQUERYSTRINGPROC eglQueryString; -PFNEGLQUERYSURFACEPROC eglQuerySurface; -PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -PFNEGLTERMINATEPROC eglTerminate; -PFNEGLWAITGLPROC eglWaitGL; -PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -PFNEGLBINDAPIPROC eglBindAPI; -PFNEGLQUERYAPIPROC eglQueryAPI; -PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -PFNEGLRELEASETHREADPROC eglReleaseThread; -PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -PFNEGLCREATESYNCPROC eglCreateSync; -PFNEGLDESTROYSYNCPROC eglDestroySync; -PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -PFNEGLCREATEIMAGEPROC eglCreateImage; -PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -PFNEGLFENCENVPROC eglFenceNV; -PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -void eglwLoadProcs() { - eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)eglwLoad("eglGetProcAddress"); - - /* EGL_VERSION_1_0 */ - eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)eglwLoad("eglChooseConfig"); - eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)eglwLoad("eglCopyBuffers"); - eglCreateContext = (PFNEGLCREATECONTEXTPROC)eglwLoad("eglCreateContext"); - eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)eglwLoad("eglCreatePbufferSurface"); - eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)eglwLoad("eglCreatePixmapSurface"); - eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)eglwLoad("eglCreateWindowSurface"); - eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)eglwLoad("eglDestroyContext"); - eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)eglwLoad("eglDestroySurface"); - eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)eglwLoad("eglGetConfigAttrib"); - eglGetConfigs = (PFNEGLGETCONFIGSPROC)eglwLoad("eglGetConfigs"); - eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)eglwLoad("eglGetCurrentDisplay"); - eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)eglwLoad("eglGetCurrentSurface"); - eglGetDisplay = (PFNEGLGETDISPLAYPROC)eglwLoad("eglGetDisplay"); - eglGetError = (PFNEGLGETERRORPROC)eglwLoad("eglGetError"); - eglInitialize = (PFNEGLINITIALIZEPROC)eglwLoad("eglInitialize"); - eglMakeCurrent = (PFNEGLMAKECURRENTPROC)eglwLoad("eglMakeCurrent"); - eglQueryContext = (PFNEGLQUERYCONTEXTPROC)eglwLoad("eglQueryContext"); - eglQueryString = (PFNEGLQUERYSTRINGPROC)eglwLoad("eglQueryString"); - eglQuerySurface = (PFNEGLQUERYSURFACEPROC)eglwLoad("eglQuerySurface"); - eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)eglwLoad("eglSwapBuffers"); - eglTerminate = (PFNEGLTERMINATEPROC)eglwLoad("eglTerminate"); - eglWaitGL = (PFNEGLWAITGLPROC)eglwLoad("eglWaitGL"); - eglWaitNative = (PFNEGLWAITNATIVEPROC)eglwLoad("eglWaitNative"); - - - /* EGL_VERSION_1_1 */ - eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)eglwLoad("eglBindTexImage"); - eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)eglwLoad("eglReleaseTexImage"); - eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)eglwLoad("eglSurfaceAttrib"); - eglSwapInterval = (PFNEGLSWAPINTERVALPROC)eglwLoad("eglSwapInterval"); - - - /* EGL_VERSION_1_2 */ - eglBindAPI = (PFNEGLBINDAPIPROC)eglwLoad("eglBindAPI"); - eglQueryAPI = (PFNEGLQUERYAPIPROC)eglwLoad("eglQueryAPI"); - eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)eglwLoad("eglCreatePbufferFromClientBuffer"); - eglReleaseThread = (PFNEGLRELEASETHREADPROC)eglwLoad("eglReleaseThread"); - eglWaitClient = (PFNEGLWAITCLIENTPROC)eglwLoad("eglWaitClient"); - - - /* EGL_VERSION_1_3 */ - - /* EGL_VERSION_1_4 */ - eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)eglwLoad("eglGetCurrentContext"); - - - /* EGL_VERSION_1_5 */ - eglCreateSync = (PFNEGLCREATESYNCPROC)eglwLoad("eglCreateSync"); - eglDestroySync = (PFNEGLDESTROYSYNCPROC)eglwLoad("eglDestroySync"); - eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)eglwLoad("eglClientWaitSync"); - eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)eglwLoad("eglGetSyncAttrib"); - - eglCreateImage = (PFNEGLCREATEIMAGEPROC)eglwLoad("eglCreateImage"); - eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)eglwLoad("eglDestroyImage"); - - eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)eglwLoad("eglGetPlatformDisplay"); - eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)eglwLoad("eglCreatePlatformWindowSurface"); - eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)eglwLoad("eglCreatePlatformPixmapSurface"); - - eglWaitSync = (PFNEGLWAITSYNCPROC)eglwLoad("eglWaitSync"); - - -#if defined(EGL_ANDROID_blob_cache) - eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)eglwLoad("eglSetBlobCacheFuncsANDROID"); -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) - eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglCreateNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) - eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglGetNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) - eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)eglwLoad("eglDupNativeFenceFDANDROID"); -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) - eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)eglwLoad("eglPresentationTimeANDROID"); -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) - eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)eglwLoad("eglGetCompositorTimingSupportedANDROID"); - eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)eglwLoad("eglGetCompositorTimingANDROID"); - eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)eglwLoad("eglGetNextFrameIdANDROID"); - eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)eglwLoad("eglGetFrameTimestampSupportedANDROID"); - eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)eglwLoad("eglGetFrameTimestampsANDROID"); -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) - eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)eglwLoad("eglQuerySurfacePointerANGLE"); -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) - eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)eglwLoad("eglClientSignalSyncEXT"); -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) - eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)eglwLoad("eglQueryDeviceAttribEXT"); - eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)eglwLoad("eglQueryDeviceStringEXT"); - eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)eglwLoad("eglQueryDevicesEXT"); - eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)eglwLoad("eglQueryDisplayAttribEXT"); -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) - eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)eglwLoad("eglQueryDmaBufFormatsEXT"); - eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)eglwLoad("eglQueryDmaBufModifiersEXT"); -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) - eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)eglwLoad("eglGetOutputLayersEXT"); - eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)eglwLoad("eglGetOutputPortsEXT"); - eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglOutputLayerAttribEXT"); - eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglQueryOutputLayerAttribEXT"); - eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)eglwLoad("eglQueryOutputLayerStringEXT"); - eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglOutputPortAttribEXT"); - eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglQueryOutputPortAttribEXT"); - eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)eglwLoad("eglQueryOutputPortStringEXT"); -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) - eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)eglwLoad("eglGetPlatformDisplayEXT"); - eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)eglwLoad("eglCreatePlatformWindowSurfaceEXT"); - eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)eglwLoad("eglCreatePlatformPixmapSurfaceEXT"); -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) - eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)eglwLoad("eglStreamConsumerOutputEXT"); -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) - eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)eglwLoad("eglSwapBuffersWithDamageEXT"); -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) - eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)eglwLoad("eglUnsignalSyncEXT"); -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) - eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)eglwLoad("eglCreatePixmapSurfaceHI"); -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) - eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)eglwLoad("eglCreateSync64KHR"); -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) - eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)eglwLoad("eglDebugMessageControlKHR"); - eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)eglwLoad("eglQueryDebugKHR"); - eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)eglwLoad("eglLabelObjectKHR"); -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) - eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)eglwLoad("eglQueryDisplayAttribKHR"); -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) - eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)eglwLoad("eglCreateSyncKHR"); - eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)eglwLoad("eglDestroySyncKHR"); - eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)eglwLoad("eglClientWaitSyncKHR"); - eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)eglwLoad("eglGetSyncAttribKHR"); -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) - eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)eglwLoad("eglCreateImageKHR"); - eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)eglwLoad("eglDestroyImageKHR"); -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) - eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)eglwLoad("eglLockSurfaceKHR"); - eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)eglwLoad("eglUnlockSurfaceKHR"); -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) - eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)eglwLoad("eglQuerySurface64KHR"); -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) - eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)eglwLoad("eglSetDamageRegionKHR"); -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) - eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)eglwLoad("eglSignalSyncKHR"); -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) - eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)eglwLoad("eglCreateStreamKHR"); - eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)eglwLoad("eglDestroyStreamKHR"); - eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)eglwLoad("eglStreamAttribKHR"); - eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)eglwLoad("eglQueryStreamKHR"); - eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)eglwLoad("eglQueryStreamu64KHR"); -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) - eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)eglwLoad("eglCreateStreamAttribKHR"); - eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)eglwLoad("eglSetStreamAttribKHR"); - eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)eglwLoad("eglQueryStreamAttribKHR"); - eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)eglwLoad("eglStreamConsumerAcquireAttribKHR"); - eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)eglwLoad("eglStreamConsumerReleaseAttribKHR"); -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) - eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)eglwLoad("eglStreamConsumerGLTextureExternalKHR"); - eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)eglwLoad("eglStreamConsumerAcquireKHR"); - eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)eglwLoad("eglStreamConsumerReleaseKHR"); -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) - eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)eglwLoad("eglGetStreamFileDescriptorKHR"); - eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)eglwLoad("eglCreateStreamFromFileDescriptorKHR"); -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) - eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)eglwLoad("eglQueryStreamTimeKHR"); -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) - eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)eglwLoad("eglCreateStreamProducerSurfaceKHR"); -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) - eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)eglwLoad("eglSwapBuffersWithDamageKHR"); -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) - eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)eglwLoad("eglWaitSyncKHR"); -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) - eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)eglwLoad("eglCreateDRMImageMESA"); - eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)eglwLoad("eglExportDRMImageMESA"); -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) - eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)eglwLoad("eglExportDMABUFImageQueryMESA"); - eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)eglwLoad("eglExportDMABUFImageMESA"); -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) - eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)eglwLoad("eglGetDisplayDriverConfig"); - eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)eglwLoad("eglGetDisplayDriverName"); -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) - eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)eglwLoad("eglSwapBuffersRegionNOK"); -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) - eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)eglwLoad("eglSwapBuffersRegion2NOK"); -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) - eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)eglwLoad("eglQueryNativeDisplayNV"); - eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)eglwLoad("eglQueryNativeWindowNV"); - eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)eglwLoad("eglQueryNativePixmapNV"); -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) - eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)eglwLoad("eglPostSubBufferNV"); -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) - eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)eglwLoad("eglStreamConsumerGLTextureExternalAttribsNV"); -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) - eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)eglwLoad("eglStreamImageConsumerConnectNV"); - eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)eglwLoad("eglQueryStreamConsumerEventNV"); - eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)eglwLoad("eglStreamAcquireImageNV"); - eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)eglwLoad("eglStreamReleaseImageNV"); -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) - eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)eglwLoad("eglStreamFlushNV"); -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) - eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)eglwLoad("eglQueryDisplayAttribNV"); - eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)eglwLoad("eglSetStreamMetadataNV"); - eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)eglwLoad("eglQueryStreamMetadataNV"); -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) - eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)eglwLoad("eglResetStreamNV"); -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) - eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)eglwLoad("eglCreateStreamSyncNV"); -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) - eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)eglwLoad("eglCreateFenceSyncNV"); - eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)eglwLoad("eglDestroySyncNV"); - eglFenceNV = (PFNEGLFENCENVPROC)eglwLoad("eglFenceNV"); - eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)eglwLoad("eglClientWaitSyncNV"); - eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)eglwLoad("eglSignalSyncNV"); - eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)eglwLoad("eglGetSyncAttribNV"); -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) - eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)eglwLoad("eglGetSystemTimeFrequencyNV"); - eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)eglwLoad("eglGetSystemTimeNV"); -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) - eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)eglwLoad("eglCompositorSetContextListEXT"); - eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetContextAttributesEXT"); - eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)eglwLoad("eglCompositorSetWindowListEXT"); - eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetWindowAttributesEXT"); - eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)eglwLoad("eglCompositorBindTexWindowEXT"); - eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)eglwLoad("eglCompositorSetSizeEXT"); - eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)eglwLoad("eglCompositorSwapPolicyEXT"); -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) - eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglBindWaylandDisplayWL"); - eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglUnbindWaylandDisplayWL"); - eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)eglwLoad("eglQueryWaylandBufferWL"); -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) - eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)eglwLoad("eglCreateWaylandBufferFromImageWL"); -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -} diff --git a/native/cocos/renderer/gfx-gles3/eglw_auto.h b/native/cocos/renderer/gfx-gles3/eglw_auto.h deleted file mode 100644 index b1390af355..0000000000 --- a/native/cocos/renderer/gfx-gles3/eglw_auto.h +++ /dev/null @@ -1,332 +0,0 @@ -#pragma once - -void eglwLoadProcs(); - -extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; -extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -extern PFNEGLCREATECONTEXTPROC eglCreateContext; -extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; -extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -extern PFNEGLGETCONFIGSPROC eglGetConfigs; -extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -extern PFNEGLGETDISPLAYPROC eglGetDisplay; -extern PFNEGLGETERRORPROC eglGetError; -extern PFNEGLINITIALIZEPROC eglInitialize; -extern PFNEGLMAKECURRENTPROC eglMakeCurrent; -extern PFNEGLQUERYCONTEXTPROC eglQueryContext; -extern PFNEGLQUERYSTRINGPROC eglQueryString; -extern PFNEGLQUERYSURFACEPROC eglQuerySurface; -extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -extern PFNEGLTERMINATEPROC eglTerminate; -extern PFNEGLWAITGLPROC eglWaitGL; -extern PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -extern PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -extern PFNEGLBINDAPIPROC eglBindAPI; -extern PFNEGLQUERYAPIPROC eglQueryAPI; -extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -extern PFNEGLRELEASETHREADPROC eglReleaseThread; -extern PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -extern PFNEGLCREATESYNCPROC eglCreateSync; -extern PFNEGLDESTROYSYNCPROC eglDestroySync; -extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -extern PFNEGLCREATEIMAGEPROC eglCreateImage; -extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -extern PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -extern PFNEGLFENCENVPROC eglFenceNV; -extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - diff --git a/native/cocos/renderer/gfx-gles3/gles3w.cpp b/native/cocos/renderer/gfx-gles3/gles3w.cpp index 785a7e7fc0..657c76f898 100644 --- a/native/cocos/renderer/gfx-gles3/gles3w.cpp +++ b/native/cocos/renderer/gfx-gles3/gles3w.cpp @@ -23,21 +23,6 @@ THE SOFTWARE. ****************************************************************************/ #include "gles3w.h" -bool gles3wInit(void) { - if (!gles3wOpen()) { - return false; - } - - eglwLoadProcs(); - gles3wLoadProcs(); - - return true; -} - -void* eglwLoad(const char* proc) { - return gles3wLoad(proc); -} - #if defined(_WIN32) && !defined(ANDROID) #define WIN32_LEAN_AND_MEAN 1 #include @@ -82,4 +67,3290 @@ void *gles3wLoad(const char *proc) { } #endif +static void gles3wLoadProcs(); + +bool gles3wInit(void) { + if (!gles3wOpen()) { + return false; + } + + gles3wLoadProcs(); + + return true; +} + /* GLES3W_GENERATE_IMPLEMENTATION */ + +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +PFNEGLGETCONFIGSPROC eglGetConfigs; +PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYCONTEXTPROC eglQueryContext; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLQUERYSURFACEPROC eglQuerySurface; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLTERMINATEPROC eglTerminate; +PFNEGLWAITGLPROC eglWaitGL; +PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLQUERYAPIPROC eglQueryAPI; +PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +PFNEGLRELEASETHREADPROC eglReleaseThread; +PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +PFNEGLCREATESYNCPROC eglCreateSync; +PFNEGLDESTROYSYNCPROC eglDestroySync; +PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +PFNEGLCREATEIMAGEPROC eglCreateImage; +PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +PFNEGLFENCENVPROC eglFenceNV; +PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + +/* GL_ES_VERSION_2_0 */ +PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLATTACHSHADERPROC glAttachShader; +PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +PFNGLBINDBUFFERPROC glBindBuffer; +PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +PFNGLBINDTEXTUREPROC glBindTexture; +PFNGLBLENDCOLORPROC glBlendColor; +PFNGLBLENDEQUATIONPROC glBlendEquation; +PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +PFNGLBLENDFUNCPROC glBlendFunc; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +PFNGLBUFFERDATAPROC glBufferData; +PFNGLBUFFERSUBDATAPROC glBufferSubData; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +PFNGLCLEARPROC glClear; +PFNGLCLEARCOLORPROC glClearColor; +PFNGLCLEARDEPTHFPROC glClearDepthf; +PFNGLCLEARSTENCILPROC glClearStencil; +PFNGLCOLORMASKPROC glColorMask; +PFNGLCOMPILESHADERPROC glCompileShader; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +PFNGLCREATEPROGRAMPROC glCreateProgram; +PFNGLCREATESHADERPROC glCreateShader; +PFNGLCULLFACEPROC glCullFace; +PFNGLDELETEBUFFERSPROC glDeleteBuffers; +PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +PFNGLDELETEPROGRAMPROC glDeleteProgram; +PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +PFNGLDELETESHADERPROC glDeleteShader; +PFNGLDELETETEXTURESPROC glDeleteTextures; +PFNGLDEPTHFUNCPROC glDepthFunc; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEFPROC glDepthRangef; +PFNGLDETACHSHADERPROC glDetachShader; +PFNGLDISABLEPROC glDisable; +PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +PFNGLDRAWARRAYSPROC glDrawArrays; +PFNGLDRAWELEMENTSPROC glDrawElements; +PFNGLENABLEPROC glEnable; +PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +PFNGLFINISHPROC glFinish; +PFNGLFLUSHPROC glFlush; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +PFNGLFRONTFACEPROC glFrontFace; +PFNGLGENBUFFERSPROC glGenBuffers; +PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +PFNGLGENTEXTURESPROC glGenTextures; +PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +PFNGLGETBOOLEANVPROC glGetBooleanv; +PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +PFNGLGETERRORPROC glGetError; +PFNGLGETFLOATVPROC glGetFloatv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETPROGRAMIVPROC glGetProgramiv; +PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +PFNGLGETSHADERIVPROC glGetShaderiv; +PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +PFNGLGETSHADERSOURCEPROC glGetShaderSource; +PFNGLGETSTRINGPROC glGetString; +PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +PFNGLGETUNIFORMFVPROC glGetUniformfv; +PFNGLGETUNIFORMIVPROC glGetUniformiv; +PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +PFNGLHINTPROC glHint; +PFNGLISBUFFERPROC glIsBuffer; +PFNGLISENABLEDPROC glIsEnabled; +PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +PFNGLISPROGRAMPROC glIsProgram; +PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +PFNGLISSHADERPROC glIsShader; +PFNGLISTEXTUREPROC glIsTexture; +PFNGLLINEWIDTHPROC glLineWidth; +PFNGLLINKPROGRAMPROC glLinkProgram; +PFNGLPIXELSTOREIPROC glPixelStorei; +PFNGLPOLYGONOFFSETPROC glPolygonOffset; +PFNGLREADPIXELSPROC glReadPixels; +PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +PFNGLSCISSORPROC glScissor; +PFNGLSHADERBINARYPROC glShaderBinary; +PFNGLSHADERSOURCEPROC glShaderSource; +PFNGLSTENCILFUNCPROC glStencilFunc; +PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +PFNGLSTENCILMASKPROC glStencilMask; +PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +PFNGLSTENCILOPPROC glStencilOp; +PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +PFNGLTEXIMAGE2DPROC glTexImage2D; +PFNGLTEXPARAMETERFPROC glTexParameterf; +PFNGLTEXPARAMETERFVPROC glTexParameterfv; +PFNGLTEXPARAMETERIPROC glTexParameteri; +PFNGLTEXPARAMETERIVPROC glTexParameteriv; +PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +PFNGLUNIFORM1FPROC glUniform1f; +PFNGLUNIFORM1FVPROC glUniform1fv; +PFNGLUNIFORM1IPROC glUniform1i; +PFNGLUNIFORM1IVPROC glUniform1iv; +PFNGLUNIFORM2FPROC glUniform2f; +PFNGLUNIFORM2FVPROC glUniform2fv; +PFNGLUNIFORM2IPROC glUniform2i; +PFNGLUNIFORM2IVPROC glUniform2iv; +PFNGLUNIFORM3FPROC glUniform3f; +PFNGLUNIFORM3FVPROC glUniform3fv; +PFNGLUNIFORM3IPROC glUniform3i; +PFNGLUNIFORM3IVPROC glUniform3iv; +PFNGLUNIFORM4FPROC glUniform4f; +PFNGLUNIFORM4FVPROC glUniform4fv; +PFNGLUNIFORM4IPROC glUniform4i; +PFNGLUNIFORM4IVPROC glUniform4iv; +PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +PFNGLUSEPROGRAMPROC glUseProgram; +PFNGLVALIDATEPROGRAMPROC glValidateProgram; +PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +PFNGLVIEWPORTPROC glViewport; + + +/* GL_ES_VERSION_3_0 */ +PFNGLREADBUFFERPROC glReadBuffer; +PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +PFNGLTEXIMAGE3DPROC glTexImage3D; +PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +PFNGLGENQUERIESPROC glGenQueries; +PFNGLDELETEQUERIESPROC glDeleteQueries; +PFNGLISQUERYPROC glIsQuery; +PFNGLBEGINQUERYPROC glBeginQuery; +PFNGLENDQUERYPROC glEndQuery; +PFNGLGETQUERYIVPROC glGetQueryiv; +PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +PFNGLUNMAPBUFFERPROC glUnmapBuffer; +PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +PFNGLDRAWBUFFERSPROC glDrawBuffers; +PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +PFNGLISVERTEXARRAYPROC glIsVertexArray; +PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +PFNGLBINDBUFFERBASEPROC glBindBufferBase; +PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +PFNGLUNIFORM1UIPROC glUniform1ui; +PFNGLUNIFORM2UIPROC glUniform2ui; +PFNGLUNIFORM3UIPROC glUniform3ui; +PFNGLUNIFORM4UIPROC glUniform4ui; +PFNGLUNIFORM1UIVPROC glUniform1uiv; +PFNGLUNIFORM2UIVPROC glUniform2uiv; +PFNGLUNIFORM3UIVPROC glUniform3uiv; +PFNGLUNIFORM4UIVPROC glUniform4uiv; +PFNGLCLEARBUFFERIVPROC glClearBufferiv; +PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +PFNGLCLEARBUFFERFVPROC glClearBufferfv; +PFNGLCLEARBUFFERFIPROC glClearBufferfi; +PFNGLGETSTRINGIPROC glGetStringi; +PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +PFNGLFENCESYNCPROC glFenceSync; +PFNGLISSYNCPROC glIsSync; +PFNGLDELETESYNCPROC glDeleteSync; +PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +PFNGLWAITSYNCPROC glWaitSync; +PFNGLGETINTEGER64VPROC glGetInteger64v; +PFNGLGETSYNCIVPROC glGetSynciv; +PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +PFNGLGENSAMPLERSPROC glGenSamplers; +PFNGLDELETESAMPLERSPROC glDeleteSamplers; +PFNGLISSAMPLERPROC glIsSampler; +PFNGLBINDSAMPLERPROC glBindSampler; +PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +PFNGLPROGRAMBINARYPROC glProgramBinary; +PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +PFNGLTEXSTORAGE2DPROC glTexStorage2D; +PFNGLTEXSTORAGE3DPROC glTexStorage3D; +PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; + + +/* GL_ES_VERSION_3_1 */ +PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; + +PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; +PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; + +PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; +PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; + +PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; +PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; + +PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; +PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; +PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; +PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; +PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; +PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; +PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; +PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; +PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; +PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; +PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; +PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; +PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; +PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; +PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; +PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; +PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; +PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; +PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; +PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; +PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; +PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; +PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; +PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; +PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; +PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; +PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; +PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; +PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; +PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; +PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; +PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; +PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; +PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; +PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; +PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; +PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; +PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; +PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; +PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; +PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; +PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; +PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; + +PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +PFNGLGETBOOLEANI_VPROC glGetBooleani_v; +PFNGLMEMORYBARRIERPROC glMemoryBarrier; +PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; + +PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; +PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; +PFNGLSAMPLEMASKIPROC glSampleMaski; +PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; +PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; + +PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; +PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; +PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; +PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; +PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; + + +/* GL_ES_VERSION_3_2 */ +PFNGLBLENDBARRIERPROC glBlendBarrier; + +PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; + +PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; +PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; +PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; +PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; +PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; +PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; +PFNGLOBJECTLABELPROC glObjectLabel; +PFNGLGETOBJECTLABELPROC glGetObjectLabel; +PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; +PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; +PFNGLGETPOINTERVPROC glGetPointerv; + +PFNGLENABLEIPROC glEnablei; +PFNGLDISABLEIPROC glDisablei; +PFNGLBLENDEQUATIONIPROC glBlendEquationi; +PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; +PFNGLBLENDFUNCIPROC glBlendFunci; +PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; +PFNGLCOLORMASKIPROC glColorMaski; +PFNGLISENABLEDIPROC glIsEnabledi; + +PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; +PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; + +PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; + +PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; + +PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; +PFNGLREADNPIXELSPROC glReadnPixels; +PFNGLGETNUNIFORMFVPROC glGetnUniformfv; +PFNGLGETNUNIFORMIVPROC glGetnUniformiv; +PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; + +PFNGLMINSAMPLESHADINGPROC glMinSampleShading; + +PFNGLPATCHPARAMETERIPROC glPatchParameteri; + +PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; +PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; +PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; +PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; +PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; +PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; +PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; +PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; + +PFNGLTEXBUFFERPROC glTexBuffer; +PFNGLTEXBUFFERRANGEPROC glTexBufferRange; + +PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +PFNGLISQUERYEXTPROC glIsQueryEXT; +PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +PFNGLENDQUERYEXTPROC glEndQueryEXT; +PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +PFNGLENABLEIEXTPROC glEnableiEXT; +PFNGLDISABLEIEXTPROC glDisableiEXT; +PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +PFNGLGENFENCESNVPROC glGenFencesNV; +PFNGLISFENCENVPROC glIsFenceNV; +PFNGLTESTFENCENVPROC glTestFenceNV; +PFNGLGETFENCEIVNVPROC glGetFenceivNV; +PFNGLFINISHFENCENVPROC glFinishFenceNV; +PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +PFNGLGENPATHSNVPROC glGenPathsNV; +PFNGLDELETEPATHSNVPROC glDeletePathsNV; +PFNGLISPATHNVPROC glIsPathNV; +PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +PFNGLPATHCOORDSNVPROC glPathCoordsNV; +PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +PFNGLPATHSTRINGNVPROC glPathStringNV; +PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +PFNGLCOPYPATHNVPROC glCopyPathNV; +PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +PFNGLENABLEINVPROC glEnableiNV; +PFNGLDISABLEINVPROC glDisableiNV; +PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +PFNGLENABLEIOESPROC glEnableiOES; +PFNGLDISABLEIOESPROC glDisableiOES; +PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +PFNGLCOLORMASKIOESPROC glColorMaskiOES; +PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +PFNGLMAPBUFFEROESPROC glMapBufferOES; +PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +PFNGLTEXBUFFEROESPROC glTexBufferOES; +PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + + +static void gles3wLoadProcs() { + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles3wLoad("eglGetProcAddress"); + + /* EGL_VERSION_1_0 */ + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)gles3wLoad("eglChooseConfig"); + eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)gles3wLoad("eglCopyBuffers"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)gles3wLoad("eglCreateContext"); + eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)gles3wLoad("eglCreatePbufferSurface"); + eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)gles3wLoad("eglCreatePixmapSurface"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)gles3wLoad("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)gles3wLoad("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)gles3wLoad("eglDestroySurface"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)gles3wLoad("eglGetConfigAttrib"); + eglGetConfigs = (PFNEGLGETCONFIGSPROC)gles3wLoad("eglGetConfigs"); + eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)gles3wLoad("eglGetCurrentDisplay"); + eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)gles3wLoad("eglGetCurrentSurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)gles3wLoad("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)gles3wLoad("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)gles3wLoad("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)gles3wLoad("eglMakeCurrent"); + eglQueryContext = (PFNEGLQUERYCONTEXTPROC)gles3wLoad("eglQueryContext"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)gles3wLoad("eglQueryString"); + eglQuerySurface = (PFNEGLQUERYSURFACEPROC)gles3wLoad("eglQuerySurface"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)gles3wLoad("eglSwapBuffers"); + eglTerminate = (PFNEGLTERMINATEPROC)gles3wLoad("eglTerminate"); + eglWaitGL = (PFNEGLWAITGLPROC)gles3wLoad("eglWaitGL"); + eglWaitNative = (PFNEGLWAITNATIVEPROC)gles3wLoad("eglWaitNative"); + + + /* EGL_VERSION_1_1 */ + eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)gles3wLoad("eglBindTexImage"); + eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)gles3wLoad("eglReleaseTexImage"); + eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)gles3wLoad("eglSurfaceAttrib"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)gles3wLoad("eglSwapInterval"); + + + /* EGL_VERSION_1_2 */ + eglBindAPI = (PFNEGLBINDAPIPROC)gles3wLoad("eglBindAPI"); + eglQueryAPI = (PFNEGLQUERYAPIPROC)gles3wLoad("eglQueryAPI"); + eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)gles3wLoad("eglCreatePbufferFromClientBuffer"); + eglReleaseThread = (PFNEGLRELEASETHREADPROC)gles3wLoad("eglReleaseThread"); + eglWaitClient = (PFNEGLWAITCLIENTPROC)gles3wLoad("eglWaitClient"); + + + /* EGL_VERSION_1_3 */ + + /* EGL_VERSION_1_4 */ + eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)gles3wLoad("eglGetCurrentContext"); + + + /* EGL_VERSION_1_5 */ + eglCreateSync = (PFNEGLCREATESYNCPROC)gles3wLoad("eglCreateSync"); + eglDestroySync = (PFNEGLDESTROYSYNCPROC)gles3wLoad("eglDestroySync"); + eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)gles3wLoad("eglClientWaitSync"); + eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)gles3wLoad("eglGetSyncAttrib"); + + eglCreateImage = (PFNEGLCREATEIMAGEPROC)gles3wLoad("eglCreateImage"); + eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)gles3wLoad("eglDestroyImage"); + + eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)gles3wLoad("eglGetPlatformDisplay"); + eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)gles3wLoad("eglCreatePlatformWindowSurface"); + eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)gles3wLoad("eglCreatePlatformPixmapSurface"); + + eglWaitSync = (PFNEGLWAITSYNCPROC)gles3wLoad("eglWaitSync"); + + +#if defined(EGL_ANDROID_blob_cache) + eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)gles3wLoad("eglSetBlobCacheFuncsANDROID"); +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) + eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)gles3wLoad("eglCreateNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) + eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)gles3wLoad("eglGetNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) + eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)gles3wLoad("eglDupNativeFenceFDANDROID"); +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) + eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)gles3wLoad("eglPresentationTimeANDROID"); +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) + eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)gles3wLoad("eglGetCompositorTimingSupportedANDROID"); + eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)gles3wLoad("eglGetCompositorTimingANDROID"); + eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)gles3wLoad("eglGetNextFrameIdANDROID"); + eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)gles3wLoad("eglGetFrameTimestampSupportedANDROID"); + eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)gles3wLoad("eglGetFrameTimestampsANDROID"); +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) + eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)gles3wLoad("eglQuerySurfacePointerANGLE"); +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) + eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)gles3wLoad("eglClientSignalSyncEXT"); +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) + eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)gles3wLoad("eglQueryDeviceAttribEXT"); + eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)gles3wLoad("eglQueryDeviceStringEXT"); + eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)gles3wLoad("eglQueryDevicesEXT"); + eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)gles3wLoad("eglQueryDisplayAttribEXT"); +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) + eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)gles3wLoad("eglQueryDmaBufFormatsEXT"); + eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)gles3wLoad("eglQueryDmaBufModifiersEXT"); +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) + eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)gles3wLoad("eglGetOutputLayersEXT"); + eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)gles3wLoad("eglGetOutputPortsEXT"); + eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)gles3wLoad("eglOutputLayerAttribEXT"); + eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)gles3wLoad("eglQueryOutputLayerAttribEXT"); + eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)gles3wLoad("eglQueryOutputLayerStringEXT"); + eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)gles3wLoad("eglOutputPortAttribEXT"); + eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)gles3wLoad("eglQueryOutputPortAttribEXT"); + eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)gles3wLoad("eglQueryOutputPortStringEXT"); +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) + eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)gles3wLoad("eglGetPlatformDisplayEXT"); + eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)gles3wLoad("eglCreatePlatformWindowSurfaceEXT"); + eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)gles3wLoad("eglCreatePlatformPixmapSurfaceEXT"); +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) + eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)gles3wLoad("eglStreamConsumerOutputEXT"); +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) + eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)gles3wLoad("eglSwapBuffersWithDamageEXT"); +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) + eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)gles3wLoad("eglUnsignalSyncEXT"); +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) + eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)gles3wLoad("eglCreatePixmapSurfaceHI"); +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) + eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)gles3wLoad("eglCreateSync64KHR"); +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) + eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("eglDebugMessageControlKHR"); + eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)gles3wLoad("eglQueryDebugKHR"); + eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)gles3wLoad("eglLabelObjectKHR"); +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) + eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)gles3wLoad("eglQueryDisplayAttribKHR"); +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) + eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)gles3wLoad("eglCreateSyncKHR"); + eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)gles3wLoad("eglDestroySyncKHR"); + eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)gles3wLoad("eglClientWaitSyncKHR"); + eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)gles3wLoad("eglGetSyncAttribKHR"); +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) + eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gles3wLoad("eglCreateImageKHR"); + eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gles3wLoad("eglDestroyImageKHR"); +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) + eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)gles3wLoad("eglLockSurfaceKHR"); + eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)gles3wLoad("eglUnlockSurfaceKHR"); +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) + eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)gles3wLoad("eglQuerySurface64KHR"); +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) + eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)gles3wLoad("eglSetDamageRegionKHR"); +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) + eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)gles3wLoad("eglSignalSyncKHR"); +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) + eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)gles3wLoad("eglCreateStreamKHR"); + eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)gles3wLoad("eglDestroyStreamKHR"); + eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)gles3wLoad("eglStreamAttribKHR"); + eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)gles3wLoad("eglQueryStreamKHR"); + eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)gles3wLoad("eglQueryStreamu64KHR"); +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) + eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)gles3wLoad("eglCreateStreamAttribKHR"); + eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)gles3wLoad("eglSetStreamAttribKHR"); + eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)gles3wLoad("eglQueryStreamAttribKHR"); + eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)gles3wLoad("eglStreamConsumerAcquireAttribKHR"); + eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)gles3wLoad("eglStreamConsumerReleaseAttribKHR"); +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) + eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)gles3wLoad("eglStreamConsumerGLTextureExternalKHR"); + eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)gles3wLoad("eglStreamConsumerAcquireKHR"); + eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)gles3wLoad("eglStreamConsumerReleaseKHR"); +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) + eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)gles3wLoad("eglGetStreamFileDescriptorKHR"); + eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)gles3wLoad("eglCreateStreamFromFileDescriptorKHR"); +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) + eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)gles3wLoad("eglQueryStreamTimeKHR"); +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) + eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)gles3wLoad("eglCreateStreamProducerSurfaceKHR"); +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) + eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)gles3wLoad("eglSwapBuffersWithDamageKHR"); +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) + eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)gles3wLoad("eglWaitSyncKHR"); +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) + eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)gles3wLoad("eglCreateDRMImageMESA"); + eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)gles3wLoad("eglExportDRMImageMESA"); +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) + eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)gles3wLoad("eglExportDMABUFImageQueryMESA"); + eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)gles3wLoad("eglExportDMABUFImageMESA"); +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) + eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)gles3wLoad("eglGetDisplayDriverConfig"); + eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)gles3wLoad("eglGetDisplayDriverName"); +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) + eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)gles3wLoad("eglSwapBuffersRegionNOK"); +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) + eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)gles3wLoad("eglSwapBuffersRegion2NOK"); +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) + eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)gles3wLoad("eglQueryNativeDisplayNV"); + eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)gles3wLoad("eglQueryNativeWindowNV"); + eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)gles3wLoad("eglQueryNativePixmapNV"); +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) + eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)gles3wLoad("eglPostSubBufferNV"); +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) + eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)gles3wLoad("eglStreamConsumerGLTextureExternalAttribsNV"); +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) + eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)gles3wLoad("eglStreamImageConsumerConnectNV"); + eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)gles3wLoad("eglQueryStreamConsumerEventNV"); + eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)gles3wLoad("eglStreamAcquireImageNV"); + eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)gles3wLoad("eglStreamReleaseImageNV"); +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) + eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)gles3wLoad("eglStreamFlushNV"); +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) + eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)gles3wLoad("eglQueryDisplayAttribNV"); + eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)gles3wLoad("eglSetStreamMetadataNV"); + eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)gles3wLoad("eglQueryStreamMetadataNV"); +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) + eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)gles3wLoad("eglResetStreamNV"); +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) + eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)gles3wLoad("eglCreateStreamSyncNV"); +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) + eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)gles3wLoad("eglCreateFenceSyncNV"); + eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)gles3wLoad("eglDestroySyncNV"); + eglFenceNV = (PFNEGLFENCENVPROC)gles3wLoad("eglFenceNV"); + eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)gles3wLoad("eglClientWaitSyncNV"); + eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)gles3wLoad("eglSignalSyncNV"); + eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)gles3wLoad("eglGetSyncAttribNV"); +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) + eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)gles3wLoad("eglGetSystemTimeFrequencyNV"); + eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)gles3wLoad("eglGetSystemTimeNV"); +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) + eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)gles3wLoad("eglCompositorSetContextListEXT"); + eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)gles3wLoad("eglCompositorSetContextAttributesEXT"); + eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)gles3wLoad("eglCompositorSetWindowListEXT"); + eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)gles3wLoad("eglCompositorSetWindowAttributesEXT"); + eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)gles3wLoad("eglCompositorBindTexWindowEXT"); + eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)gles3wLoad("eglCompositorSetSizeEXT"); + eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)gles3wLoad("eglCompositorSwapPolicyEXT"); +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) + eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)gles3wLoad("eglBindWaylandDisplayWL"); + eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)gles3wLoad("eglUnbindWaylandDisplayWL"); + eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)gles3wLoad("eglQueryWaylandBufferWL"); +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) + eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles3wLoad("eglCreateWaylandBufferFromImageWL"); +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + + /* GL_ES_VERSION_2_0 */ + glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles3wLoad("glActiveTexture"); + glAttachShader = (PFNGLATTACHSHADERPROC)gles3wLoad("glAttachShader"); + glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles3wLoad("glBindAttribLocation"); + glBindBuffer = (PFNGLBINDBUFFERPROC)gles3wLoad("glBindBuffer"); + glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles3wLoad("glBindFramebuffer"); + glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles3wLoad("glBindRenderbuffer"); + glBindTexture = (PFNGLBINDTEXTUREPROC)gles3wLoad("glBindTexture"); + glBlendColor = (PFNGLBLENDCOLORPROC)gles3wLoad("glBlendColor"); + glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles3wLoad("glBlendEquation"); + glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles3wLoad("glBlendEquationSeparate"); + glBlendFunc = (PFNGLBLENDFUNCPROC)gles3wLoad("glBlendFunc"); + glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles3wLoad("glBlendFuncSeparate"); + glBufferData = (PFNGLBUFFERDATAPROC)gles3wLoad("glBufferData"); + glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles3wLoad("glBufferSubData"); + glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles3wLoad("glCheckFramebufferStatus"); + glClear = (PFNGLCLEARPROC)gles3wLoad("glClear"); + glClearColor = (PFNGLCLEARCOLORPROC)gles3wLoad("glClearColor"); + glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles3wLoad("glClearDepthf"); + glClearStencil = (PFNGLCLEARSTENCILPROC)gles3wLoad("glClearStencil"); + glColorMask = (PFNGLCOLORMASKPROC)gles3wLoad("glColorMask"); + glCompileShader = (PFNGLCOMPILESHADERPROC)gles3wLoad("glCompileShader"); + glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles3wLoad("glCompressedTexImage2D"); + glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles3wLoad("glCompressedTexSubImage2D"); + glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles3wLoad("glCopyTexImage2D"); + glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles3wLoad("glCopyTexSubImage2D"); + glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles3wLoad("glCreateProgram"); + glCreateShader = (PFNGLCREATESHADERPROC)gles3wLoad("glCreateShader"); + glCullFace = (PFNGLCULLFACEPROC)gles3wLoad("glCullFace"); + glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles3wLoad("glDeleteBuffers"); + glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles3wLoad("glDeleteFramebuffers"); + glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles3wLoad("glDeleteProgram"); + glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles3wLoad("glDeleteRenderbuffers"); + glDeleteShader = (PFNGLDELETESHADERPROC)gles3wLoad("glDeleteShader"); + glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles3wLoad("glDeleteTextures"); + glDepthFunc = (PFNGLDEPTHFUNCPROC)gles3wLoad("glDepthFunc"); + glDepthMask = (PFNGLDEPTHMASKPROC)gles3wLoad("glDepthMask"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles3wLoad("glDepthRangef"); + glDetachShader = (PFNGLDETACHSHADERPROC)gles3wLoad("glDetachShader"); + glDisable = (PFNGLDISABLEPROC)gles3wLoad("glDisable"); + glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glDisableVertexAttribArray"); + glDrawArrays = (PFNGLDRAWARRAYSPROC)gles3wLoad("glDrawArrays"); + glDrawElements = (PFNGLDRAWELEMENTSPROC)gles3wLoad("glDrawElements"); + glEnable = (PFNGLENABLEPROC)gles3wLoad("glEnable"); + glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glEnableVertexAttribArray"); + glFinish = (PFNGLFINISHPROC)gles3wLoad("glFinish"); + glFlush = (PFNGLFLUSHPROC)gles3wLoad("glFlush"); + glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles3wLoad("glFramebufferRenderbuffer"); + glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles3wLoad("glFramebufferTexture2D"); + glFrontFace = (PFNGLFRONTFACEPROC)gles3wLoad("glFrontFace"); + glGenBuffers = (PFNGLGENBUFFERSPROC)gles3wLoad("glGenBuffers"); + glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles3wLoad("glGenerateMipmap"); + glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles3wLoad("glGenFramebuffers"); + glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles3wLoad("glGenRenderbuffers"); + glGenTextures = (PFNGLGENTEXTURESPROC)gles3wLoad("glGenTextures"); + glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles3wLoad("glGetActiveAttrib"); + glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles3wLoad("glGetActiveUniform"); + glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles3wLoad("glGetAttachedShaders"); + glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles3wLoad("glGetAttribLocation"); + glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles3wLoad("glGetBooleanv"); + glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles3wLoad("glGetBufferParameteriv"); + glGetError = (PFNGLGETERRORPROC)gles3wLoad("glGetError"); + glGetFloatv = (PFNGLGETFLOATVPROC)gles3wLoad("glGetFloatv"); + glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles3wLoad("glGetFramebufferAttachmentParameteriv"); + glGetIntegerv = (PFNGLGETINTEGERVPROC)gles3wLoad("glGetIntegerv"); + glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles3wLoad("glGetProgramiv"); + glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles3wLoad("glGetProgramInfoLog"); + glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles3wLoad("glGetRenderbufferParameteriv"); + glGetShaderiv = (PFNGLGETSHADERIVPROC)gles3wLoad("glGetShaderiv"); + glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles3wLoad("glGetShaderInfoLog"); + glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles3wLoad("glGetShaderPrecisionFormat"); + glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles3wLoad("glGetShaderSource"); + glGetString = (PFNGLGETSTRINGPROC)gles3wLoad("glGetString"); + glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles3wLoad("glGetTexParameterfv"); + glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles3wLoad("glGetTexParameteriv"); + glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles3wLoad("glGetUniformfv"); + glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles3wLoad("glGetUniformiv"); + glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles3wLoad("glGetUniformLocation"); + glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles3wLoad("glGetVertexAttribfv"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles3wLoad("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles3wLoad("glGetVertexAttribPointerv"); + glHint = (PFNGLHINTPROC)gles3wLoad("glHint"); + glIsBuffer = (PFNGLISBUFFERPROC)gles3wLoad("glIsBuffer"); + glIsEnabled = (PFNGLISENABLEDPROC)gles3wLoad("glIsEnabled"); + glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles3wLoad("glIsFramebuffer"); + glIsProgram = (PFNGLISPROGRAMPROC)gles3wLoad("glIsProgram"); + glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles3wLoad("glIsRenderbuffer"); + glIsShader = (PFNGLISSHADERPROC)gles3wLoad("glIsShader"); + glIsTexture = (PFNGLISTEXTUREPROC)gles3wLoad("glIsTexture"); + glLineWidth = (PFNGLLINEWIDTHPROC)gles3wLoad("glLineWidth"); + glLinkProgram = (PFNGLLINKPROGRAMPROC)gles3wLoad("glLinkProgram"); + glPixelStorei = (PFNGLPIXELSTOREIPROC)gles3wLoad("glPixelStorei"); + glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles3wLoad("glPolygonOffset"); + glReadPixels = (PFNGLREADPIXELSPROC)gles3wLoad("glReadPixels"); + glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles3wLoad("glReleaseShaderCompiler"); + glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles3wLoad("glRenderbufferStorage"); + glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles3wLoad("glSampleCoverage"); + glScissor = (PFNGLSCISSORPROC)gles3wLoad("glScissor"); + glShaderBinary = (PFNGLSHADERBINARYPROC)gles3wLoad("glShaderBinary"); + glShaderSource = (PFNGLSHADERSOURCEPROC)gles3wLoad("glShaderSource"); + glStencilFunc = (PFNGLSTENCILFUNCPROC)gles3wLoad("glStencilFunc"); + glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles3wLoad("glStencilFuncSeparate"); + glStencilMask = (PFNGLSTENCILMASKPROC)gles3wLoad("glStencilMask"); + glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles3wLoad("glStencilMaskSeparate"); + glStencilOp = (PFNGLSTENCILOPPROC)gles3wLoad("glStencilOp"); + glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles3wLoad("glStencilOpSeparate"); + glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles3wLoad("glTexImage2D"); + glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles3wLoad("glTexParameterf"); + glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles3wLoad("glTexParameterfv"); + glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles3wLoad("glTexParameteri"); + glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles3wLoad("glTexParameteriv"); + glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles3wLoad("glTexSubImage2D"); + glUniform1f = (PFNGLUNIFORM1FPROC)gles3wLoad("glUniform1f"); + glUniform1fv = (PFNGLUNIFORM1FVPROC)gles3wLoad("glUniform1fv"); + glUniform1i = (PFNGLUNIFORM1IPROC)gles3wLoad("glUniform1i"); + glUniform1iv = (PFNGLUNIFORM1IVPROC)gles3wLoad("glUniform1iv"); + glUniform2f = (PFNGLUNIFORM2FPROC)gles3wLoad("glUniform2f"); + glUniform2fv = (PFNGLUNIFORM2FVPROC)gles3wLoad("glUniform2fv"); + glUniform2i = (PFNGLUNIFORM2IPROC)gles3wLoad("glUniform2i"); + glUniform2iv = (PFNGLUNIFORM2IVPROC)gles3wLoad("glUniform2iv"); + glUniform3f = (PFNGLUNIFORM3FPROC)gles3wLoad("glUniform3f"); + glUniform3fv = (PFNGLUNIFORM3FVPROC)gles3wLoad("glUniform3fv"); + glUniform3i = (PFNGLUNIFORM3IPROC)gles3wLoad("glUniform3i"); + glUniform3iv = (PFNGLUNIFORM3IVPROC)gles3wLoad("glUniform3iv"); + glUniform4f = (PFNGLUNIFORM4FPROC)gles3wLoad("glUniform4f"); + glUniform4fv = (PFNGLUNIFORM4FVPROC)gles3wLoad("glUniform4fv"); + glUniform4i = (PFNGLUNIFORM4IPROC)gles3wLoad("glUniform4i"); + glUniform4iv = (PFNGLUNIFORM4IVPROC)gles3wLoad("glUniform4iv"); + glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles3wLoad("glUniformMatrix2fv"); + glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles3wLoad("glUniformMatrix3fv"); + glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles3wLoad("glUniformMatrix4fv"); + glUseProgram = (PFNGLUSEPROGRAMPROC)gles3wLoad("glUseProgram"); + glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles3wLoad("glValidateProgram"); + glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles3wLoad("glVertexAttrib1f"); + glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles3wLoad("glVertexAttrib1fv"); + glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles3wLoad("glVertexAttrib2f"); + glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles3wLoad("glVertexAttrib2fv"); + glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles3wLoad("glVertexAttrib3f"); + glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles3wLoad("glVertexAttrib3fv"); + glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles3wLoad("glVertexAttrib4f"); + glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles3wLoad("glVertexAttrib4fv"); + glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles3wLoad("glVertexAttribPointer"); + glViewport = (PFNGLVIEWPORTPROC)gles3wLoad("glViewport"); + + + /* GL_ES_VERSION_3_0 */ + glReadBuffer = (PFNGLREADBUFFERPROC)gles3wLoad("glReadBuffer"); + glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)gles3wLoad("glDrawRangeElements"); + glTexImage3D = (PFNGLTEXIMAGE3DPROC)gles3wLoad("glTexImage3D"); + glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)gles3wLoad("glTexSubImage3D"); + glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)gles3wLoad("glCopyTexSubImage3D"); + glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)gles3wLoad("glCompressedTexImage3D"); + glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)gles3wLoad("glCompressedTexSubImage3D"); + glGenQueries = (PFNGLGENQUERIESPROC)gles3wLoad("glGenQueries"); + glDeleteQueries = (PFNGLDELETEQUERIESPROC)gles3wLoad("glDeleteQueries"); + glIsQuery = (PFNGLISQUERYPROC)gles3wLoad("glIsQuery"); + glBeginQuery = (PFNGLBEGINQUERYPROC)gles3wLoad("glBeginQuery"); + glEndQuery = (PFNGLENDQUERYPROC)gles3wLoad("glEndQuery"); + glGetQueryiv = (PFNGLGETQUERYIVPROC)gles3wLoad("glGetQueryiv"); + glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)gles3wLoad("glGetQueryObjectuiv"); + glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)gles3wLoad("glUnmapBuffer"); + glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)gles3wLoad("glGetBufferPointerv"); + glDrawBuffers = (PFNGLDRAWBUFFERSPROC)gles3wLoad("glDrawBuffers"); + glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)gles3wLoad("glUniformMatrix2x3fv"); + glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)gles3wLoad("glUniformMatrix3x2fv"); + glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)gles3wLoad("glUniformMatrix2x4fv"); + glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)gles3wLoad("glUniformMatrix4x2fv"); + glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)gles3wLoad("glUniformMatrix3x4fv"); + glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)gles3wLoad("glUniformMatrix4x3fv"); + glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)gles3wLoad("glBlitFramebuffer"); + glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)gles3wLoad("glRenderbufferStorageMultisample"); + glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)gles3wLoad("glFramebufferTextureLayer"); + glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)gles3wLoad("glMapBufferRange"); + glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)gles3wLoad("glFlushMappedBufferRange"); + glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)gles3wLoad("glBindVertexArray"); + glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)gles3wLoad("glDeleteVertexArrays"); + glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)gles3wLoad("glGenVertexArrays"); + glIsVertexArray = (PFNGLISVERTEXARRAYPROC)gles3wLoad("glIsVertexArray"); + glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)gles3wLoad("glGetIntegeri_v"); + glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)gles3wLoad("glBeginTransformFeedback"); + glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)gles3wLoad("glEndTransformFeedback"); + glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)gles3wLoad("glBindBufferRange"); + glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)gles3wLoad("glBindBufferBase"); + glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)gles3wLoad("glTransformFeedbackVaryings"); + glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)gles3wLoad("glGetTransformFeedbackVarying"); + glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)gles3wLoad("glVertexAttribIPointer"); + glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)gles3wLoad("glGetVertexAttribIiv"); + glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)gles3wLoad("glGetVertexAttribIuiv"); + glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)gles3wLoad("glVertexAttribI4i"); + glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)gles3wLoad("glVertexAttribI4ui"); + glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)gles3wLoad("glVertexAttribI4iv"); + glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)gles3wLoad("glVertexAttribI4uiv"); + glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)gles3wLoad("glGetUniformuiv"); + glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)gles3wLoad("glGetFragDataLocation"); + glUniform1ui = (PFNGLUNIFORM1UIPROC)gles3wLoad("glUniform1ui"); + glUniform2ui = (PFNGLUNIFORM2UIPROC)gles3wLoad("glUniform2ui"); + glUniform3ui = (PFNGLUNIFORM3UIPROC)gles3wLoad("glUniform3ui"); + glUniform4ui = (PFNGLUNIFORM4UIPROC)gles3wLoad("glUniform4ui"); + glUniform1uiv = (PFNGLUNIFORM1UIVPROC)gles3wLoad("glUniform1uiv"); + glUniform2uiv = (PFNGLUNIFORM2UIVPROC)gles3wLoad("glUniform2uiv"); + glUniform3uiv = (PFNGLUNIFORM3UIVPROC)gles3wLoad("glUniform3uiv"); + glUniform4uiv = (PFNGLUNIFORM4UIVPROC)gles3wLoad("glUniform4uiv"); + glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)gles3wLoad("glClearBufferiv"); + glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)gles3wLoad("glClearBufferuiv"); + glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)gles3wLoad("glClearBufferfv"); + glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)gles3wLoad("glClearBufferfi"); + glGetStringi = (PFNGLGETSTRINGIPROC)gles3wLoad("glGetStringi"); + glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)gles3wLoad("glCopyBufferSubData"); + glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)gles3wLoad("glGetUniformIndices"); + glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)gles3wLoad("glGetActiveUniformsiv"); + glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)gles3wLoad("glGetUniformBlockIndex"); + glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)gles3wLoad("glGetActiveUniformBlockiv"); + glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)gles3wLoad("glGetActiveUniformBlockName"); + glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)gles3wLoad("glUniformBlockBinding"); + glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)gles3wLoad("glDrawArraysInstanced"); + glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)gles3wLoad("glDrawElementsInstanced"); + glFenceSync = (PFNGLFENCESYNCPROC)gles3wLoad("glFenceSync"); + glIsSync = (PFNGLISSYNCPROC)gles3wLoad("glIsSync"); + glDeleteSync = (PFNGLDELETESYNCPROC)gles3wLoad("glDeleteSync"); + glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)gles3wLoad("glClientWaitSync"); + glWaitSync = (PFNGLWAITSYNCPROC)gles3wLoad("glWaitSync"); + glGetInteger64v = (PFNGLGETINTEGER64VPROC)gles3wLoad("glGetInteger64v"); + glGetSynciv = (PFNGLGETSYNCIVPROC)gles3wLoad("glGetSynciv"); + glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)gles3wLoad("glGetInteger64i_v"); + glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)gles3wLoad("glGetBufferParameteri64v"); + glGenSamplers = (PFNGLGENSAMPLERSPROC)gles3wLoad("glGenSamplers"); + glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)gles3wLoad("glDeleteSamplers"); + glIsSampler = (PFNGLISSAMPLERPROC)gles3wLoad("glIsSampler"); + glBindSampler = (PFNGLBINDSAMPLERPROC)gles3wLoad("glBindSampler"); + glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)gles3wLoad("glSamplerParameteri"); + glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)gles3wLoad("glSamplerParameteriv"); + glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)gles3wLoad("glSamplerParameterf"); + glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)gles3wLoad("glSamplerParameterfv"); + glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)gles3wLoad("glGetSamplerParameteriv"); + glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)gles3wLoad("glGetSamplerParameterfv"); + glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)gles3wLoad("glVertexAttribDivisor"); + glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)gles3wLoad("glBindTransformFeedback"); + glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)gles3wLoad("glDeleteTransformFeedbacks"); + glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)gles3wLoad("glGenTransformFeedbacks"); + glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)gles3wLoad("glIsTransformFeedback"); + glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)gles3wLoad("glPauseTransformFeedback"); + glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)gles3wLoad("glResumeTransformFeedback"); + glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)gles3wLoad("glGetProgramBinary"); + glProgramBinary = (PFNGLPROGRAMBINARYPROC)gles3wLoad("glProgramBinary"); + glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)gles3wLoad("glProgramParameteri"); + glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)gles3wLoad("glInvalidateFramebuffer"); + glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)gles3wLoad("glInvalidateSubFramebuffer"); + glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)gles3wLoad("glTexStorage2D"); + glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)gles3wLoad("glTexStorage3D"); + glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)gles3wLoad("glGetInternalformativ"); + + + /* GL_ES_VERSION_3_1 */ + glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)gles3wLoad("glDispatchCompute"); + glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)gles3wLoad("glDispatchComputeIndirect"); + + glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)gles3wLoad("glDrawArraysIndirect"); + glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)gles3wLoad("glDrawElementsIndirect"); + + glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)gles3wLoad("glFramebufferParameteri"); + glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)gles3wLoad("glGetFramebufferParameteriv"); + + glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)gles3wLoad("glGetProgramInterfaceiv"); + glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)gles3wLoad("glGetProgramResourceIndex"); + glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)gles3wLoad("glGetProgramResourceName"); + glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)gles3wLoad("glGetProgramResourceiv"); + glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)gles3wLoad("glGetProgramResourceLocation"); + + glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)gles3wLoad("glUseProgramStages"); + glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)gles3wLoad("glActiveShaderProgram"); + glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)gles3wLoad("glCreateShaderProgramv"); + glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)gles3wLoad("glBindProgramPipeline"); + glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)gles3wLoad("glDeleteProgramPipelines"); + glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)gles3wLoad("glGenProgramPipelines"); + glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)gles3wLoad("glIsProgramPipeline"); + glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)gles3wLoad("glGetProgramPipelineiv"); + glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)gles3wLoad("glProgramUniform1i"); + glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)gles3wLoad("glProgramUniform2i"); + glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)gles3wLoad("glProgramUniform3i"); + glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)gles3wLoad("glProgramUniform4i"); + glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)gles3wLoad("glProgramUniform1ui"); + glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)gles3wLoad("glProgramUniform2ui"); + glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)gles3wLoad("glProgramUniform3ui"); + glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)gles3wLoad("glProgramUniform4ui"); + glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)gles3wLoad("glProgramUniform1f"); + glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)gles3wLoad("glProgramUniform2f"); + glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)gles3wLoad("glProgramUniform3f"); + glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)gles3wLoad("glProgramUniform4f"); + glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)gles3wLoad("glProgramUniform1iv"); + glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)gles3wLoad("glProgramUniform2iv"); + glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)gles3wLoad("glProgramUniform3iv"); + glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)gles3wLoad("glProgramUniform4iv"); + glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)gles3wLoad("glProgramUniform1uiv"); + glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)gles3wLoad("glProgramUniform2uiv"); + glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)gles3wLoad("glProgramUniform3uiv"); + glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)gles3wLoad("glProgramUniform4uiv"); + glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)gles3wLoad("glProgramUniform1fv"); + glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)gles3wLoad("glProgramUniform2fv"); + glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)gles3wLoad("glProgramUniform3fv"); + glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)gles3wLoad("glProgramUniform4fv"); + glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)gles3wLoad("glProgramUniformMatrix2fv"); + glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)gles3wLoad("glProgramUniformMatrix3fv"); + glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)gles3wLoad("glProgramUniformMatrix4fv"); + glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)gles3wLoad("glProgramUniformMatrix2x3fv"); + glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)gles3wLoad("glProgramUniformMatrix3x2fv"); + glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)gles3wLoad("glProgramUniformMatrix2x4fv"); + glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)gles3wLoad("glProgramUniformMatrix4x2fv"); + glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)gles3wLoad("glProgramUniformMatrix3x4fv"); + glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)gles3wLoad("glProgramUniformMatrix4x3fv"); + glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)gles3wLoad("glValidateProgramPipeline"); + glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)gles3wLoad("glGetProgramPipelineInfoLog"); + + glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)gles3wLoad("glBindImageTexture"); + glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)gles3wLoad("glGetBooleani_v"); + glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)gles3wLoad("glMemoryBarrier"); + glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)gles3wLoad("glMemoryBarrierByRegion"); + + glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)gles3wLoad("glTexStorage2DMultisample"); + glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)gles3wLoad("glGetMultisamplefv"); + glSampleMaski = (PFNGLSAMPLEMASKIPROC)gles3wLoad("glSampleMaski"); + glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)gles3wLoad("glGetTexLevelParameteriv"); + glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)gles3wLoad("glGetTexLevelParameterfv"); + + glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)gles3wLoad("glBindVertexBuffer"); + glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)gles3wLoad("glVertexAttribFormat"); + glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)gles3wLoad("glVertexAttribIFormat"); + glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)gles3wLoad("glVertexAttribBinding"); + glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)gles3wLoad("glVertexBindingDivisor"); + + + /* GL_ES_VERSION_3_2 */ + glBlendBarrier = (PFNGLBLENDBARRIERPROC)gles3wLoad("glBlendBarrier"); + + glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)gles3wLoad("glCopyImageSubData"); + + glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)gles3wLoad("glDebugMessageControl"); + glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)gles3wLoad("glDebugMessageInsert"); + glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)gles3wLoad("glDebugMessageCallback"); + glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)gles3wLoad("glGetDebugMessageLog"); + glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)gles3wLoad("glPushDebugGroup"); + glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)gles3wLoad("glPopDebugGroup"); + glObjectLabel = (PFNGLOBJECTLABELPROC)gles3wLoad("glObjectLabel"); + glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)gles3wLoad("glGetObjectLabel"); + glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)gles3wLoad("glObjectPtrLabel"); + glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)gles3wLoad("glGetObjectPtrLabel"); + glGetPointerv = (PFNGLGETPOINTERVPROC)gles3wLoad("glGetPointerv"); + + glEnablei = (PFNGLENABLEIPROC)gles3wLoad("glEnablei"); + glDisablei = (PFNGLDISABLEIPROC)gles3wLoad("glDisablei"); + glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)gles3wLoad("glBlendEquationi"); + glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)gles3wLoad("glBlendEquationSeparatei"); + glBlendFunci = (PFNGLBLENDFUNCIPROC)gles3wLoad("glBlendFunci"); + glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)gles3wLoad("glBlendFuncSeparatei"); + glColorMaski = (PFNGLCOLORMASKIPROC)gles3wLoad("glColorMaski"); + glIsEnabledi = (PFNGLISENABLEDIPROC)gles3wLoad("glIsEnabledi"); + + glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawElementsBaseVertex"); + glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawRangeElementsBaseVertex"); + glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)gles3wLoad("glDrawElementsInstancedBaseVertex"); + + glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)gles3wLoad("glFramebufferTexture"); + + glPrimitiveBoundingBox = (PFNGLPRIMITIVEBOUNDINGBOXPROC)gles3wLoad("glPrimitiveBoundingBox"); + + glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)gles3wLoad("glGetGraphicsResetStatus"); + glReadnPixels = (PFNGLREADNPIXELSPROC)gles3wLoad("glReadnPixels"); + glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)gles3wLoad("glGetnUniformfv"); + glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)gles3wLoad("glGetnUniformiv"); + glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)gles3wLoad("glGetnUniformuiv"); + + glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)gles3wLoad("glMinSampleShading"); + + glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)gles3wLoad("glPatchParameteri"); + + glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)gles3wLoad("glTexParameterIiv"); + glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)gles3wLoad("glTexParameterIuiv"); + glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)gles3wLoad("glGetTexParameterIiv"); + glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)gles3wLoad("glGetTexParameterIuiv"); + glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)gles3wLoad("glSamplerParameterIiv"); + glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)gles3wLoad("glSamplerParameterIuiv"); + glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)gles3wLoad("glGetSamplerParameterIiv"); + glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)gles3wLoad("glGetSamplerParameterIuiv"); + + glTexBuffer = (PFNGLTEXBUFFERPROC)gles3wLoad("glTexBuffer"); + glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)gles3wLoad("glTexBufferRange"); + + glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)gles3wLoad("glTexStorage3DMultisample"); + + +#if defined(GL_AMD_framebuffer_multisample_advanced) + glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); + glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) + glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles3wLoad("glGetPerfMonitorGroupsAMD"); + glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glGetPerfMonitorCountersAMD"); + glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorGroupStringAMD"); + glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorCounterStringAMD"); + glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles3wLoad("glGetPerfMonitorCounterInfoAMD"); + glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles3wLoad("glGenPerfMonitorsAMD"); + glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles3wLoad("glDeletePerfMonitorsAMD"); + glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glSelectPerfMonitorCountersAMD"); + glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles3wLoad("glBeginPerfMonitorAMD"); + glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles3wLoad("glEndPerfMonitorAMD"); + glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles3wLoad("glGetPerfMonitorCounterDataAMD"); +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) + glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles3wLoad("glBlitFramebufferANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) + glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles3wLoad("glRenderbufferStorageMultisampleANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) + glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles3wLoad("glDrawArraysInstancedANGLE"); + glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles3wLoad("glDrawElementsInstancedANGLE"); + glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles3wLoad("glVertexAttribDivisorANGLE"); +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) + glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles3wLoad("glGetTranslatedShaderSourceANGLE"); +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) + glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles3wLoad("glCopyTextureLevelsAPPLE"); +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) + glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles3wLoad("glRenderbufferStorageMultisampleAPPLE"); + glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles3wLoad("glResolveMultisampleFramebufferAPPLE"); +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) + glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles3wLoad("glFenceSyncAPPLE"); + glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles3wLoad("glIsSyncAPPLE"); + glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles3wLoad("glDeleteSyncAPPLE"); + glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles3wLoad("glClientWaitSyncAPPLE"); + glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles3wLoad("glWaitSyncAPPLE"); + glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles3wLoad("glGetInteger64vAPPLE"); + glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles3wLoad("glGetSyncivAPPLE"); +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) + glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTexStorageEXT"); + + glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTextureStorageEXT"); +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) + glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawArraysInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) + glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles3wLoad("glBindFragDataLocationIndexedEXT"); + glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles3wLoad("glBindFragDataLocationEXT"); + glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles3wLoad("glGetProgramResourceLocationIndexEXT"); + glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles3wLoad("glGetFragDataIndexEXT"); +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) + glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles3wLoad("glBufferStorageEXT"); +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) + glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles3wLoad("glClearTexImageEXT"); + glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles3wLoad("glClearTexSubImageEXT"); +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) + glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles3wLoad("glClipControlEXT"); +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) + glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles3wLoad("glCopyImageSubDataEXT"); +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) + glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles3wLoad("glLabelObjectEXT"); + glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles3wLoad("glGetObjectLabelEXT"); +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) + glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles3wLoad("glInsertEventMarkerEXT"); + glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles3wLoad("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles3wLoad("glPopGroupMarkerEXT"); +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) + glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles3wLoad("glDiscardFramebufferEXT"); +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) + glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles3wLoad("glGenQueriesEXT"); + glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles3wLoad("glDeleteQueriesEXT"); + glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles3wLoad("glIsQueryEXT"); + glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles3wLoad("glBeginQueryEXT"); + glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles3wLoad("glEndQueryEXT"); + glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles3wLoad("glQueryCounterEXT"); + glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles3wLoad("glGetQueryivEXT"); + glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles3wLoad("glGetQueryObjectivEXT"); + glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles3wLoad("glGetQueryObjectuivEXT"); + glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles3wLoad("glGetQueryObjecti64vEXT"); + glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles3wLoad("glGetQueryObjectui64vEXT"); + glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles3wLoad("glGetInteger64vEXT"); +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) + glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles3wLoad("glDrawBuffersEXT"); +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) + glEnableiEXT = (PFNGLENABLEIEXTPROC)gles3wLoad("glEnableiEXT"); + glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles3wLoad("glDisableiEXT"); + glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles3wLoad("glBlendEquationiEXT"); + glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles3wLoad("glBlendEquationSeparateiEXT"); + glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles3wLoad("glBlendFunciEXT"); + glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles3wLoad("glBlendFuncSeparateiEXT"); + glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles3wLoad("glColorMaskiEXT"); + glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles3wLoad("glIsEnablediEXT"); +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) + glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsBaseVertexEXT"); + glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawRangeElementsBaseVertexEXT"); + glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexEXT"); + glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glMultiDrawElementsBaseVertexEXT"); +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) + glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles3wLoad("glDrawArraysInstancedEXT"); + glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles3wLoad("glDrawElementsInstancedEXT"); +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) + glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles3wLoad("glDrawTransformFeedbackEXT"); + glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles3wLoad("glDrawTransformFeedbackInstancedEXT"); +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) + glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glBufferStorageExternalEXT"); + glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glNamedBufferStorageExternalEXT"); +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) + glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles3wLoad("glFramebufferTextureEXT"); +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) + glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles3wLoad("glVertexAttribDivisorEXT"); +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) + glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles3wLoad("glMapBufferRangeEXT"); + glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles3wLoad("glFlushMappedBufferRangeEXT"); +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) + glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles3wLoad("glGetUnsignedBytevEXT"); + glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles3wLoad("glGetUnsignedBytei_vEXT"); + glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles3wLoad("glDeleteMemoryObjectsEXT"); + glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles3wLoad("glIsMemoryObjectEXT"); + glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles3wLoad("glCreateMemoryObjectsEXT"); + glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glMemoryObjectParameterivEXT"); + glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glGetMemoryObjectParameterivEXT"); + glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles3wLoad("glTexStorageMem2DEXT"); + glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem2DMultisampleEXT"); + glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles3wLoad("glTexStorageMem3DEXT"); + glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem3DMultisampleEXT"); + glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glBufferStorageMemEXT"); + + glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles3wLoad("glTextureStorageMem2DEXT"); + glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem2DMultisampleEXT"); + glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles3wLoad("glTextureStorageMem3DEXT"); + glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem3DMultisampleEXT"); + glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glNamedBufferStorageMemEXT"); +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) + glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles3wLoad("glImportMemoryFdEXT"); +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) + glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles3wLoad("glImportMemoryWin32HandleEXT"); + glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles3wLoad("glImportMemoryWin32NameEXT"); +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) + glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles3wLoad("glMultiDrawArraysEXT"); + glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles3wLoad("glMultiDrawElementsEXT"); +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) + glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles3wLoad("glMultiDrawArraysIndirectEXT"); + glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles3wLoad("glMultiDrawElementsIndirectEXT"); +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) + glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles3wLoad("glRenderbufferStorageMultisampleEXT"); + glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles3wLoad("glFramebufferTexture2DMultisampleEXT"); +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) + glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles3wLoad("glReadBufferIndexedEXT"); + glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles3wLoad("glDrawBuffersIndexedEXT"); + glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles3wLoad("glGetIntegeri_vEXT"); +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) + glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles3wLoad("glPolygonOffsetClampEXT"); +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) + glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles3wLoad("glPrimitiveBoundingBoxEXT"); +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) + glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles3wLoad("glRasterSamplesEXT"); +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) + glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles3wLoad("glGetGraphicsResetStatusEXT"); + glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles3wLoad("glReadnPixelsEXT"); + glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles3wLoad("glGetnUniformfvEXT"); + glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles3wLoad("glGetnUniformivEXT"); +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) + glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles3wLoad("glGenSemaphoresEXT"); + glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles3wLoad("glDeleteSemaphoresEXT"); + glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles3wLoad("glIsSemaphoreEXT"); + glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glSemaphoreParameterui64vEXT"); + glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glGetSemaphoreParameterui64vEXT"); + glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles3wLoad("glWaitSemaphoreEXT"); + glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles3wLoad("glSignalSemaphoreEXT"); +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) + glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles3wLoad("glImportSemaphoreFdEXT"); +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) + glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles3wLoad("glImportSemaphoreWin32HandleEXT"); + glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles3wLoad("glImportSemaphoreWin32NameEXT"); +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) + glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles3wLoad("glActiveShaderProgramEXT"); + glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles3wLoad("glBindProgramPipelineEXT"); + glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles3wLoad("glCreateShaderProgramvEXT"); + glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles3wLoad("glDeleteProgramPipelinesEXT"); + glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles3wLoad("glGenProgramPipelinesEXT"); + glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles3wLoad("glGetProgramPipelineInfoLogEXT"); + glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles3wLoad("glGetProgramPipelineivEXT"); + glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles3wLoad("glIsProgramPipelineEXT"); + glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles3wLoad("glProgramParameteriEXT"); + glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles3wLoad("glProgramUniform1fEXT"); + glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles3wLoad("glProgramUniform1fvEXT"); + glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles3wLoad("glProgramUniform1iEXT"); + glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles3wLoad("glProgramUniform1ivEXT"); + glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles3wLoad("glProgramUniform2fEXT"); + glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles3wLoad("glProgramUniform2fvEXT"); + glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles3wLoad("glProgramUniform2iEXT"); + glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles3wLoad("glProgramUniform2ivEXT"); + glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles3wLoad("glProgramUniform3fEXT"); + glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles3wLoad("glProgramUniform3fvEXT"); + glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles3wLoad("glProgramUniform3iEXT"); + glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles3wLoad("glProgramUniform3ivEXT"); + glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles3wLoad("glProgramUniform4fEXT"); + glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles3wLoad("glProgramUniform4fvEXT"); + glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles3wLoad("glProgramUniform4iEXT"); + glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles3wLoad("glProgramUniform4ivEXT"); + glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles3wLoad("glProgramUniformMatrix2fvEXT"); + glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles3wLoad("glProgramUniformMatrix3fvEXT"); + glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles3wLoad("glProgramUniformMatrix4fvEXT"); + glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles3wLoad("glUseProgramStagesEXT"); + glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles3wLoad("glValidateProgramPipelineEXT"); + + glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles3wLoad("glProgramUniform1uiEXT"); + glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles3wLoad("glProgramUniform2uiEXT"); + glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles3wLoad("glProgramUniform3uiEXT"); + glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles3wLoad("glProgramUniform4uiEXT"); + glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles3wLoad("glProgramUniform1uivEXT"); + glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles3wLoad("glProgramUniform2uivEXT"); + glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles3wLoad("glProgramUniform3uivEXT"); + glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles3wLoad("glProgramUniform4uivEXT"); + glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x3fvEXT"); + glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x2fvEXT"); + glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x4fvEXT"); + glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x2fvEXT"); + glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x4fvEXT"); + glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x3fvEXT"); +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) + glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles3wLoad("glFramebufferFetchBarrierEXT"); +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) + glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glFramebufferPixelLocalStorageSizeEXT"); + glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); + glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles3wLoad("glClearPixelLocalStorageuiEXT"); +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) + glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles3wLoad("glTexPageCommitmentEXT"); +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) + glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles3wLoad("glPatchParameteriEXT"); +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) + glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles3wLoad("glTexParameterIivEXT"); + glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles3wLoad("glTexParameterIuivEXT"); + glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles3wLoad("glGetTexParameterIivEXT"); + glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles3wLoad("glGetTexParameterIuivEXT"); + glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glSamplerParameterIivEXT"); + glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glSamplerParameterIuivEXT"); + glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glGetSamplerParameterIivEXT"); + glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glGetSamplerParameterIuivEXT"); +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) + glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles3wLoad("glTexBufferEXT"); + glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles3wLoad("glTexBufferRangeEXT"); +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) + glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles3wLoad("glTexStorage1DEXT"); + glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles3wLoad("glTexStorage2DEXT"); + glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles3wLoad("glTexStorage3DEXT"); + + glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles3wLoad("glTextureStorage1DEXT"); + glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles3wLoad("glTextureStorage2DEXT"); + glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles3wLoad("glTextureStorage3DEXT"); +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) + glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles3wLoad("glTextureViewEXT"); +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) + glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles3wLoad("glCreateSemaphoresNV"); + glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glSemaphoreParameterivNV"); + glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glGetSemaphoreParameterivNV"); +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) + glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glAcquireKeyedMutexWin32EXT"); + glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glReleaseKeyedMutexWin32EXT"); +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) + glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles3wLoad("glWindowRectanglesEXT"); +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) + glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles3wLoad("glGetTextureHandleIMG"); + glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles3wLoad("glGetTextureSamplerHandleIMG"); + glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glUniformHandleui64IMG"); + glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glUniformHandleui64vIMG"); + glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glProgramUniformHandleui64IMG"); + glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glProgramUniformHandleui64vIMG"); +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) + glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DDownsampleIMG"); + glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTextureLayerDownsampleIMG"); +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) + glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles3wLoad("glRenderbufferStorageMultisampleIMG"); + glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DMultisampleIMG"); +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) + glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles3wLoad("glApplyFramebufferAttachmentCMAAINTEL"); +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) + glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles3wLoad("glBeginPerfQueryINTEL"); + glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles3wLoad("glCreatePerfQueryINTEL"); + glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles3wLoad("glDeletePerfQueryINTEL"); + glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles3wLoad("glEndPerfQueryINTEL"); + glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles3wLoad("glGetFirstPerfQueryIdINTEL"); + glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles3wLoad("glGetNextPerfQueryIdINTEL"); + glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles3wLoad("glGetPerfCounterInfoINTEL"); + glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles3wLoad("glGetPerfQueryDataINTEL"); + glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles3wLoad("glGetPerfQueryIdByNameINTEL"); + glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles3wLoad("glGetPerfQueryInfoINTEL"); +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) + glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles3wLoad("glBlendBarrierKHR"); +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) + glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("glDebugMessageControlKHR"); + glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles3wLoad("glDebugMessageInsertKHR"); + glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles3wLoad("glDebugMessageCallbackKHR"); + glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles3wLoad("glGetDebugMessageLogKHR"); + glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles3wLoad("glPushDebugGroupKHR"); + glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles3wLoad("glPopDebugGroupKHR"); + glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles3wLoad("glObjectLabelKHR"); + glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles3wLoad("glGetObjectLabelKHR"); + glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles3wLoad("glObjectPtrLabelKHR"); + glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles3wLoad("glGetObjectPtrLabelKHR"); + glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles3wLoad("glGetPointervKHR"); +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) + glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles3wLoad("glGetGraphicsResetStatusKHR"); + glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles3wLoad("glReadnPixelsKHR"); + glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles3wLoad("glGetnUniformfvKHR"); + glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles3wLoad("glGetnUniformivKHR"); + glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles3wLoad("glGetnUniformuivKHR"); +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) + glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles3wLoad("glMaxShaderCompilerThreadsKHR"); +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) + glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles3wLoad("glFramebufferParameteriMESA"); + glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles3wLoad("glGetFramebufferParameterivMESA"); +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) + glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles3wLoad("glGetTextureHandleNV"); + glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles3wLoad("glGetTextureSamplerHandleNV"); + glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glMakeTextureHandleResidentNV"); + glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeTextureHandleNonResidentNV"); + glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles3wLoad("glGetImageHandleNV"); + glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glMakeImageHandleResidentNV"); + glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeImageHandleNonResidentNV"); + glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles3wLoad("glUniformHandleui64NV"); + glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glUniformHandleui64vNV"); + glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles3wLoad("glProgramUniformHandleui64NV"); + glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glProgramUniformHandleui64vNV"); + glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glIsTextureHandleResidentNV"); + glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glIsImageHandleResidentNV"); +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) + glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles3wLoad("glBlendParameteriNV"); + glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles3wLoad("glBlendBarrierNV"); +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) + glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles3wLoad("glViewportPositionWScaleNV"); +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) + glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles3wLoad("glBeginConditionalRenderNV"); + glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles3wLoad("glEndConditionalRenderNV"); +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) + glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles3wLoad("glSubpixelPrecisionBiasNV"); +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) + glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles3wLoad("glConservativeRasterParameteriNV"); +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) + glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles3wLoad("glCopyBufferSubDataNV"); +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) + glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles3wLoad("glCoverageMaskNV"); + glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles3wLoad("glCoverageOperationNV"); +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) + glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles3wLoad("glDrawBuffersNV"); +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) + glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles3wLoad("glDrawArraysInstancedNV"); + glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles3wLoad("glDrawElementsInstancedNV"); +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) + glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles3wLoad("glDrawVkImageNV"); + glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles3wLoad("glGetVkProcAddrNV"); + glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles3wLoad("glWaitVkSemaphoreNV"); + glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles3wLoad("glSignalVkSemaphoreNV"); + glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles3wLoad("glSignalVkFenceNV"); +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) + glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles3wLoad("glDeleteFencesNV"); + glGenFencesNV = (PFNGLGENFENCESNVPROC)gles3wLoad("glGenFencesNV"); + glIsFenceNV = (PFNGLISFENCENVPROC)gles3wLoad("glIsFenceNV"); + glTestFenceNV = (PFNGLTESTFENCENVPROC)gles3wLoad("glTestFenceNV"); + glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles3wLoad("glGetFenceivNV"); + glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles3wLoad("glFinishFenceNV"); + glSetFenceNV = (PFNGLSETFENCENVPROC)gles3wLoad("glSetFenceNV"); +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) + glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles3wLoad("glFragmentCoverageColorNV"); +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) + glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles3wLoad("glBlitFramebufferNV"); +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) + glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glCoverageModulationTableNV"); + glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glGetCoverageModulationTableNV"); + glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles3wLoad("glCoverageModulationNV"); +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) + glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles3wLoad("glRenderbufferStorageMultisampleNV"); +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) + glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles3wLoad("glUniform1i64NV"); + glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles3wLoad("glUniform2i64NV"); + glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles3wLoad("glUniform3i64NV"); + glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles3wLoad("glUniform4i64NV"); + glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles3wLoad("glUniform1i64vNV"); + glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles3wLoad("glUniform2i64vNV"); + glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles3wLoad("glUniform3i64vNV"); + glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles3wLoad("glUniform4i64vNV"); + glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles3wLoad("glUniform1ui64NV"); + glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles3wLoad("glUniform2ui64NV"); + glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles3wLoad("glUniform3ui64NV"); + glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles3wLoad("glUniform4ui64NV"); + glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles3wLoad("glUniform1ui64vNV"); + glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles3wLoad("glUniform2ui64vNV"); + glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles3wLoad("glUniform3ui64vNV"); + glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles3wLoad("glUniform4ui64vNV"); + glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles3wLoad("glGetUniformi64vNV"); + + glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles3wLoad("glProgramUniform1i64NV"); + glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles3wLoad("glProgramUniform2i64NV"); + glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles3wLoad("glProgramUniform3i64NV"); + glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles3wLoad("glProgramUniform4i64NV"); + glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles3wLoad("glProgramUniform1i64vNV"); + glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles3wLoad("glProgramUniform2i64vNV"); + glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles3wLoad("glProgramUniform3i64vNV"); + glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles3wLoad("glProgramUniform4i64vNV"); + glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles3wLoad("glProgramUniform1ui64NV"); + glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles3wLoad("glProgramUniform2ui64NV"); + glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles3wLoad("glProgramUniform3ui64NV"); + glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles3wLoad("glProgramUniform4ui64NV"); + glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles3wLoad("glProgramUniform1ui64vNV"); + glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles3wLoad("glProgramUniform2ui64vNV"); + glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles3wLoad("glProgramUniform3ui64vNV"); + glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles3wLoad("glProgramUniform4ui64vNV"); +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) + glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles3wLoad("glVertexAttribDivisorNV"); +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) + glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles3wLoad("glGetInternalformatSampleivNV"); +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) + glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles3wLoad("glGetMemoryObjectDetachedResourcesuivNV"); + glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles3wLoad("glResetMemoryObjectParameterNV"); + glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles3wLoad("glTexAttachMemoryNV"); + glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles3wLoad("glBufferAttachMemoryNV"); + + glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles3wLoad("glTextureAttachMemoryNV"); + glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles3wLoad("glNamedBufferAttachMemoryNV"); +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) + glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glBufferPageCommitmentMemNV"); + glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexPageCommitmentMemNV"); + + glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glNamedBufferPageCommitmentMemNV"); + glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexturePageCommitmentMemNV"); +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) + glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles3wLoad("glDrawMeshTasksNV"); + glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectCountNV"); +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) + glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles3wLoad("glUniformMatrix2x3fvNV"); + glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles3wLoad("glUniformMatrix3x2fvNV"); + glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles3wLoad("glUniformMatrix2x4fvNV"); + glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles3wLoad("glUniformMatrix4x2fvNV"); + glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles3wLoad("glUniformMatrix3x4fvNV"); + glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles3wLoad("glUniformMatrix4x3fvNV"); +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) + glGenPathsNV = (PFNGLGENPATHSNVPROC)gles3wLoad("glGenPathsNV"); + glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles3wLoad("glDeletePathsNV"); + glIsPathNV = (PFNGLISPATHNVPROC)gles3wLoad("glIsPathNV"); + glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles3wLoad("glPathCommandsNV"); + glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles3wLoad("glPathCoordsNV"); + glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles3wLoad("glPathSubCommandsNV"); + glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles3wLoad("glPathSubCoordsNV"); + glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles3wLoad("glPathStringNV"); + glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles3wLoad("glPathGlyphsNV"); + glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles3wLoad("glPathGlyphRangeNV"); + glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles3wLoad("glWeightPathsNV"); + glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles3wLoad("glCopyPathNV"); + glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles3wLoad("glInterpolatePathsNV"); + glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles3wLoad("glTransformPathNV"); + glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles3wLoad("glPathParameterivNV"); + glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles3wLoad("glPathParameteriNV"); + glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles3wLoad("glPathParameterfvNV"); + glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles3wLoad("glPathParameterfNV"); + glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles3wLoad("glPathDashArrayNV"); + glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles3wLoad("glPathStencilFuncNV"); + glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles3wLoad("glPathStencilDepthOffsetNV"); + glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles3wLoad("glStencilFillPathNV"); + glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles3wLoad("glStencilStrokePathNV"); + glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilFillPathInstancedNV"); + glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilStrokePathInstancedNV"); + glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles3wLoad("glPathCoverDepthFuncNV"); + glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles3wLoad("glCoverFillPathNV"); + glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles3wLoad("glCoverStrokePathNV"); + glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glCoverFillPathInstancedNV"); + glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glCoverStrokePathInstancedNV"); + glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles3wLoad("glGetPathParameterivNV"); + glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles3wLoad("glGetPathParameterfvNV"); + glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles3wLoad("glGetPathCommandsNV"); + glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles3wLoad("glGetPathCoordsNV"); + glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles3wLoad("glGetPathDashArrayNV"); + glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles3wLoad("glGetPathMetricsNV"); + glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles3wLoad("glGetPathMetricRangeNV"); + glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles3wLoad("glGetPathSpacingNV"); + glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles3wLoad("glIsPointInFillPathNV"); + glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles3wLoad("glIsPointInStrokePathNV"); + glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles3wLoad("glGetPathLengthNV"); + glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles3wLoad("glPointAlongPathNV"); + + glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles3wLoad("glMatrixLoad3x2fNV"); + glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles3wLoad("glMatrixLoad3x3fNV"); + glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixLoadTranspose3x3fNV"); + glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles3wLoad("glMatrixMult3x2fNV"); + glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles3wLoad("glMatrixMult3x3fNV"); + glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixMultTranspose3x3fNV"); + glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles3wLoad("glStencilThenCoverFillPathNV"); + glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles3wLoad("glStencilThenCoverStrokePathNV"); + glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverFillPathInstancedNV"); + glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverStrokePathInstancedNV"); + glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles3wLoad("glPathGlyphIndexRangeNV"); + + glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathGlyphIndexArrayNV"); + glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathMemoryGlyphIndexArrayNV"); + glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles3wLoad("glProgramPathFragmentInputGenNV"); + glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles3wLoad("glGetProgramResourcefvNV"); + + glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles3wLoad("glMatrixFrustumEXT"); + glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles3wLoad("glMatrixLoadIdentityEXT"); + glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles3wLoad("glMatrixLoadTransposefEXT"); + glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles3wLoad("glMatrixLoadTransposedEXT"); + glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles3wLoad("glMatrixLoadfEXT"); + glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles3wLoad("glMatrixLoaddEXT"); + glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles3wLoad("glMatrixMultTransposefEXT"); + glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles3wLoad("glMatrixMultTransposedEXT"); + glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles3wLoad("glMatrixMultfEXT"); + glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles3wLoad("glMatrixMultdEXT"); + glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles3wLoad("glMatrixOrthoEXT"); + glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles3wLoad("glMatrixPopEXT"); + glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles3wLoad("glMatrixPushEXT"); + glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles3wLoad("glMatrixRotatefEXT"); + glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles3wLoad("glMatrixRotatedEXT"); + glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles3wLoad("glMatrixScalefEXT"); + glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles3wLoad("glMatrixScaledEXT"); + glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles3wLoad("glMatrixTranslatefEXT"); + glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles3wLoad("glMatrixTranslatedEXT"); +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) + glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles3wLoad("glPolygonModeNV"); +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) + glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles3wLoad("glReadBufferNV"); +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) + glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glFramebufferSampleLocationsfvNV"); + glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glNamedFramebufferSampleLocationsfvNV"); + glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles3wLoad("glResolveDepthValuesNV"); +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) + glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles3wLoad("glScissorExclusiveNV"); + glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles3wLoad("glScissorExclusiveArrayvNV"); +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) + glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles3wLoad("glBindShadingRateImageNV"); + glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glGetShadingRateImagePaletteNV"); + glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles3wLoad("glGetShadingRateSampleLocationivNV"); + glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles3wLoad("glShadingRateImageBarrierNV"); + glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glShadingRateImagePaletteNV"); + glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles3wLoad("glShadingRateSampleOrderNV"); + glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles3wLoad("glShadingRateSampleOrderCustomNV"); +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) + glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles3wLoad("glViewportArrayvNV"); + glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles3wLoad("glViewportIndexedfNV"); + glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles3wLoad("glViewportIndexedfvNV"); + glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles3wLoad("glScissorArrayvNV"); + glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles3wLoad("glScissorIndexedNV"); + glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles3wLoad("glScissorIndexedvNV"); + glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles3wLoad("glDepthRangeArrayfvNV"); + glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles3wLoad("glDepthRangeIndexedfNV"); + glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles3wLoad("glGetFloati_vNV"); + glEnableiNV = (PFNGLENABLEINVPROC)gles3wLoad("glEnableiNV"); + glDisableiNV = (PFNGLDISABLEINVPROC)gles3wLoad("glDisableiNV"); + glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles3wLoad("glIsEnablediNV"); +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) + glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles3wLoad("glViewportSwizzleNV"); +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) + glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles3wLoad("glEGLImageTargetTexture2DOES"); + glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles3wLoad("glEGLImageTargetRenderbufferStorageOES"); +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) + glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles3wLoad("glCopyImageSubDataOES"); +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) + glEnableiOES = (PFNGLENABLEIOESPROC)gles3wLoad("glEnableiOES"); + glDisableiOES = (PFNGLDISABLEIOESPROC)gles3wLoad("glDisableiOES"); + glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles3wLoad("glBlendEquationiOES"); + glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles3wLoad("glBlendEquationSeparateiOES"); + glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles3wLoad("glBlendFunciOES"); + glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles3wLoad("glBlendFuncSeparateiOES"); + glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles3wLoad("glColorMaskiOES"); + glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles3wLoad("glIsEnablediOES"); +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) + glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawElementsBaseVertexOES"); + glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawRangeElementsBaseVertexOES"); + glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles3wLoad("glDrawElementsInstancedBaseVertexOES"); +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) + glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles3wLoad("glFramebufferTextureOES"); +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) + glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles3wLoad("glGetProgramBinaryOES"); + glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles3wLoad("glProgramBinaryOES"); +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) + glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles3wLoad("glMapBufferOES"); + glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles3wLoad("glUnmapBufferOES"); + glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles3wLoad("glGetBufferPointervOES"); +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) + glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles3wLoad("glPrimitiveBoundingBoxOES"); +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) + glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles3wLoad("glMinSampleShadingOES"); +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) + glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles3wLoad("glPatchParameteriOES"); +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) + glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles3wLoad("glTexImage3DOES"); + glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles3wLoad("glTexSubImage3DOES"); + glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles3wLoad("glCopyTexSubImage3DOES"); + glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles3wLoad("glCompressedTexImage3DOES"); + glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles3wLoad("glCompressedTexSubImage3DOES"); + glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles3wLoad("glFramebufferTexture3DOES"); +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) + glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles3wLoad("glTexParameterIivOES"); + glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles3wLoad("glTexParameterIuivOES"); + glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles3wLoad("glGetTexParameterIivOES"); + glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles3wLoad("glGetTexParameterIuivOES"); + glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glSamplerParameterIivOES"); + glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glSamplerParameterIuivOES"); + glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glGetSamplerParameterIivOES"); + glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glGetSamplerParameterIuivOES"); +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) + glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles3wLoad("glTexBufferOES"); + glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles3wLoad("glTexBufferRangeOES"); +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) + glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles3wLoad("glTexStorage3DMultisampleOES"); +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) + glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles3wLoad("glTextureViewOES"); +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) + glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles3wLoad("glBindVertexArrayOES"); + glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles3wLoad("glDeleteVertexArraysOES"); + glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles3wLoad("glGenVertexArraysOES"); + glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles3wLoad("glIsVertexArrayOES"); +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) + glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles3wLoad("glViewportArrayvOES"); + glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles3wLoad("glViewportIndexedfOES"); + glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles3wLoad("glViewportIndexedfvOES"); + glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles3wLoad("glScissorArrayvOES"); + glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles3wLoad("glScissorIndexedOES"); + glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles3wLoad("glScissorIndexedvOES"); + glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles3wLoad("glDepthRangeArrayfvOES"); + glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles3wLoad("glDepthRangeIndexedfOES"); + glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles3wLoad("glGetFloati_vOES"); +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) + glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultiviewOVR"); +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) + glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultisampleMultiviewOVR"); +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) + glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles3wLoad("glAlphaFuncQCOM"); +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) + glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles3wLoad("glGetDriverControlsQCOM"); + glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles3wLoad("glGetDriverControlStringQCOM"); + glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glEnableDriverControlQCOM"); + glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glDisableDriverControlQCOM"); +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) + glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles3wLoad("glExtGetTexturesQCOM"); + glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles3wLoad("glExtGetBuffersQCOM"); + glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles3wLoad("glExtGetRenderbuffersQCOM"); + glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles3wLoad("glExtGetFramebuffersQCOM"); + glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles3wLoad("glExtGetTexLevelParameterivQCOM"); + glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles3wLoad("glExtTexObjectStateOverrideiQCOM"); + glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles3wLoad("glExtGetTexSubImageQCOM"); + glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles3wLoad("glExtGetBufferPointervQCOM"); +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) + glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles3wLoad("glExtGetShadersQCOM"); + glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles3wLoad("glExtGetProgramsQCOM"); + glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles3wLoad("glExtIsProgramBinaryQCOM"); + glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles3wLoad("glExtGetProgramBinarySourceQCOM"); +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) + glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles3wLoad("glFramebufferFoveationConfigQCOM"); + glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glFramebufferFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) + glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles3wLoad("glTexEstimateMotionQCOM"); + glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles3wLoad("glTexEstimateMotionRegionsQCOM"); +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) + glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles3wLoad("glExtrapolateTex2DQCOM"); +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) + glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glTextureFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) + glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles3wLoad("glFramebufferFetchBarrierQCOM"); +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) + glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles3wLoad("glShadingRateQCOM"); +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) + glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles3wLoad("glStartTilingQCOM"); + glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles3wLoad("glEndTilingQCOM"); +#endif /* defined(GL_QCOM_tiled_rendering) */ + +} diff --git a/native/cocos/renderer/gfx-gles3/gles3w.h b/native/cocos/renderer/gfx-gles3/gles3w.h index ceeb8377ca..69c85e53bd 100755 --- a/native/cocos/renderer/gfx-gles3/gles3w.h +++ b/native/cocos/renderer/gfx-gles3/gles3w.h @@ -23,13 +23,1661 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -#include "eglw.h" -#include "eglw_auto.h" -#include "gles3w_auto.h" +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #ifdef __OBJC__ + #include + #endif +#else + #define EGL_EGL_PROTOTYPES 0 + #include + #include + #include +#endif + +#define GL_GLES_PROTOTYPES 0 +#include + +#include +#include +#include bool gles3wInit(); -bool gles3wOpen(); -void *gles3wLoad(const char *proc); - /* GLES3W_GENERATE_DECLARATION */ + +extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; +extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +extern PFNEGLCREATECONTEXTPROC eglCreateContext; +extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; +extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +extern PFNEGLGETCONFIGSPROC eglGetConfigs; +extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +extern PFNEGLGETDISPLAYPROC eglGetDisplay; +extern PFNEGLGETERRORPROC eglGetError; +extern PFNEGLINITIALIZEPROC eglInitialize; +extern PFNEGLMAKECURRENTPROC eglMakeCurrent; +extern PFNEGLQUERYCONTEXTPROC eglQueryContext; +extern PFNEGLQUERYSTRINGPROC eglQueryString; +extern PFNEGLQUERYSURFACEPROC eglQuerySurface; +extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +extern PFNEGLTERMINATEPROC eglTerminate; +extern PFNEGLWAITGLPROC eglWaitGL; +extern PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +extern PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +extern PFNEGLBINDAPIPROC eglBindAPI; +extern PFNEGLQUERYAPIPROC eglQueryAPI; +extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +extern PFNEGLRELEASETHREADPROC eglReleaseThread; +extern PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +extern PFNEGLCREATESYNCPROC eglCreateSync; +extern PFNEGLDESTROYSYNCPROC eglDestroySync; +extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +extern PFNEGLCREATEIMAGEPROC eglCreateImage; +extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +extern PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +extern PFNEGLFENCENVPROC eglFenceNV; +extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + +/* GL_ES_VERSION_2_0 */ +extern PFNGLACTIVETEXTUREPROC glActiveTexture; +extern PFNGLATTACHSHADERPROC glAttachShader; +extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +extern PFNGLBINDBUFFERPROC glBindBuffer; +extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +extern PFNGLBINDTEXTUREPROC glBindTexture; +extern PFNGLBLENDCOLORPROC glBlendColor; +extern PFNGLBLENDEQUATIONPROC glBlendEquation; +extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +extern PFNGLBLENDFUNCPROC glBlendFunc; +extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +extern PFNGLBUFFERDATAPROC glBufferData; +extern PFNGLBUFFERSUBDATAPROC glBufferSubData; +extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +extern PFNGLCLEARPROC glClear; +extern PFNGLCLEARCOLORPROC glClearColor; +extern PFNGLCLEARDEPTHFPROC glClearDepthf; +extern PFNGLCLEARSTENCILPROC glClearStencil; +extern PFNGLCOLORMASKPROC glColorMask; +extern PFNGLCOMPILESHADERPROC glCompileShader; +extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +extern PFNGLCREATEPROGRAMPROC glCreateProgram; +extern PFNGLCREATESHADERPROC glCreateShader; +extern PFNGLCULLFACEPROC glCullFace; +extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; +extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +extern PFNGLDELETEPROGRAMPROC glDeleteProgram; +extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +extern PFNGLDELETESHADERPROC glDeleteShader; +extern PFNGLDELETETEXTURESPROC glDeleteTextures; +extern PFNGLDEPTHFUNCPROC glDepthFunc; +extern PFNGLDEPTHMASKPROC glDepthMask; +extern PFNGLDEPTHRANGEFPROC glDepthRangef; +extern PFNGLDETACHSHADERPROC glDetachShader; +extern PFNGLDISABLEPROC glDisable; +extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +extern PFNGLDRAWARRAYSPROC glDrawArrays; +extern PFNGLDRAWELEMENTSPROC glDrawElements; +extern PFNGLENABLEPROC glEnable; +extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +extern PFNGLFINISHPROC glFinish; +extern PFNGLFLUSHPROC glFlush; +extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +extern PFNGLFRONTFACEPROC glFrontFace; +extern PFNGLGENBUFFERSPROC glGenBuffers; +extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +extern PFNGLGENTEXTURESPROC glGenTextures; +extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +extern PFNGLGETBOOLEANVPROC glGetBooleanv; +extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +extern PFNGLGETERRORPROC glGetError; +extern PFNGLGETFLOATVPROC glGetFloatv; +extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +extern PFNGLGETINTEGERVPROC glGetIntegerv; +extern PFNGLGETPROGRAMIVPROC glGetProgramiv; +extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +extern PFNGLGETSHADERIVPROC glGetShaderiv; +extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; +extern PFNGLGETSTRINGPROC glGetString; +extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +extern PFNGLGETUNIFORMFVPROC glGetUniformfv; +extern PFNGLGETUNIFORMIVPROC glGetUniformiv; +extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +extern PFNGLHINTPROC glHint; +extern PFNGLISBUFFERPROC glIsBuffer; +extern PFNGLISENABLEDPROC glIsEnabled; +extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +extern PFNGLISPROGRAMPROC glIsProgram; +extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +extern PFNGLISSHADERPROC glIsShader; +extern PFNGLISTEXTUREPROC glIsTexture; +extern PFNGLLINEWIDTHPROC glLineWidth; +extern PFNGLLINKPROGRAMPROC glLinkProgram; +extern PFNGLPIXELSTOREIPROC glPixelStorei; +extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; +extern PFNGLREADPIXELSPROC glReadPixels; +extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +extern PFNGLSCISSORPROC glScissor; +extern PFNGLSHADERBINARYPROC glShaderBinary; +extern PFNGLSHADERSOURCEPROC glShaderSource; +extern PFNGLSTENCILFUNCPROC glStencilFunc; +extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +extern PFNGLSTENCILMASKPROC glStencilMask; +extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +extern PFNGLSTENCILOPPROC glStencilOp; +extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +extern PFNGLTEXIMAGE2DPROC glTexImage2D; +extern PFNGLTEXPARAMETERFPROC glTexParameterf; +extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; +extern PFNGLTEXPARAMETERIPROC glTexParameteri; +extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; +extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +extern PFNGLUNIFORM1FPROC glUniform1f; +extern PFNGLUNIFORM1FVPROC glUniform1fv; +extern PFNGLUNIFORM1IPROC glUniform1i; +extern PFNGLUNIFORM1IVPROC glUniform1iv; +extern PFNGLUNIFORM2FPROC glUniform2f; +extern PFNGLUNIFORM2FVPROC glUniform2fv; +extern PFNGLUNIFORM2IPROC glUniform2i; +extern PFNGLUNIFORM2IVPROC glUniform2iv; +extern PFNGLUNIFORM3FPROC glUniform3f; +extern PFNGLUNIFORM3FVPROC glUniform3fv; +extern PFNGLUNIFORM3IPROC glUniform3i; +extern PFNGLUNIFORM3IVPROC glUniform3iv; +extern PFNGLUNIFORM4FPROC glUniform4f; +extern PFNGLUNIFORM4FVPROC glUniform4fv; +extern PFNGLUNIFORM4IPROC glUniform4i; +extern PFNGLUNIFORM4IVPROC glUniform4iv; +extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +extern PFNGLUSEPROGRAMPROC glUseProgram; +extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; +extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +extern PFNGLVIEWPORTPROC glViewport; + + +/* GL_ES_VERSION_3_0 */ +extern PFNGLREADBUFFERPROC glReadBuffer; +extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +extern PFNGLTEXIMAGE3DPROC glTexImage3D; +extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +extern PFNGLGENQUERIESPROC glGenQueries; +extern PFNGLDELETEQUERIESPROC glDeleteQueries; +extern PFNGLISQUERYPROC glIsQuery; +extern PFNGLBEGINQUERYPROC glBeginQuery; +extern PFNGLENDQUERYPROC glEndQuery; +extern PFNGLGETQUERYIVPROC glGetQueryiv; +extern PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +extern PFNGLUNMAPBUFFERPROC glUnmapBuffer; +extern PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +extern PFNGLDRAWBUFFERSPROC glDrawBuffers; +extern PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +extern PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +extern PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +extern PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +extern PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +extern PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +extern PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +extern PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +extern PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +extern PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +extern PFNGLISVERTEXARRAYPROC glIsVertexArray; +extern PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +extern PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +extern PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +extern PFNGLBINDBUFFERBASEPROC glBindBufferBase; +extern PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +extern PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +extern PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +extern PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +extern PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +extern PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +extern PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +extern PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +extern PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +extern PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +extern PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +extern PFNGLUNIFORM1UIPROC glUniform1ui; +extern PFNGLUNIFORM2UIPROC glUniform2ui; +extern PFNGLUNIFORM3UIPROC glUniform3ui; +extern PFNGLUNIFORM4UIPROC glUniform4ui; +extern PFNGLUNIFORM1UIVPROC glUniform1uiv; +extern PFNGLUNIFORM2UIVPROC glUniform2uiv; +extern PFNGLUNIFORM3UIVPROC glUniform3uiv; +extern PFNGLUNIFORM4UIVPROC glUniform4uiv; +extern PFNGLCLEARBUFFERIVPROC glClearBufferiv; +extern PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +extern PFNGLCLEARBUFFERFVPROC glClearBufferfv; +extern PFNGLCLEARBUFFERFIPROC glClearBufferfi; +extern PFNGLGETSTRINGIPROC glGetStringi; +extern PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +extern PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +extern PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +extern PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +extern PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +extern PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +extern PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +extern PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +extern PFNGLFENCESYNCPROC glFenceSync; +extern PFNGLISSYNCPROC glIsSync; +extern PFNGLDELETESYNCPROC glDeleteSync; +extern PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +extern PFNGLWAITSYNCPROC glWaitSync; +extern PFNGLGETINTEGER64VPROC glGetInteger64v; +extern PFNGLGETSYNCIVPROC glGetSynciv; +extern PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +extern PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +extern PFNGLGENSAMPLERSPROC glGenSamplers; +extern PFNGLDELETESAMPLERSPROC glDeleteSamplers; +extern PFNGLISSAMPLERPROC glIsSampler; +extern PFNGLBINDSAMPLERPROC glBindSampler; +extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +extern PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +extern PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +extern PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +extern PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +extern PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +extern PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +extern PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +extern PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +extern PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +extern PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +extern PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +extern PFNGLPROGRAMBINARYPROC glProgramBinary; +extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +extern PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +extern PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +extern PFNGLTEXSTORAGE2DPROC glTexStorage2D; +extern PFNGLTEXSTORAGE3DPROC glTexStorage3D; +extern PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; + + +/* GL_ES_VERSION_3_1 */ +extern PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +extern PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; + +extern PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; +extern PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; + +extern PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; +extern PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; + +extern PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +extern PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; +extern PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +extern PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +extern PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; + +extern PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; +extern PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; +extern PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; +extern PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; +extern PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; +extern PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; +extern PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; +extern PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; +extern PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; +extern PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; +extern PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; +extern PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; +extern PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; +extern PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; +extern PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; +extern PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; +extern PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; +extern PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; +extern PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; +extern PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; +extern PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; +extern PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; +extern PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; +extern PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; +extern PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; +extern PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; +extern PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; +extern PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; +extern PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; +extern PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; +extern PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; +extern PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; +extern PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; +extern PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; +extern PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; +extern PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; +extern PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; +extern PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; +extern PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; +extern PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; +extern PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; +extern PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; +extern PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; + +extern PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +extern PFNGLGETBOOLEANI_VPROC glGetBooleani_v; +extern PFNGLMEMORYBARRIERPROC glMemoryBarrier; +extern PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; + +extern PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; +extern PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; +extern PFNGLSAMPLEMASKIPROC glSampleMaski; +extern PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; +extern PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; + +extern PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; +extern PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; +extern PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; +extern PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; +extern PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; + + +/* GL_ES_VERSION_3_2 */ +extern PFNGLBLENDBARRIERPROC glBlendBarrier; + +extern PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; + +extern PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; +extern PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; +extern PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; +extern PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; +extern PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; +extern PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; +extern PFNGLOBJECTLABELPROC glObjectLabel; +extern PFNGLGETOBJECTLABELPROC glGetObjectLabel; +extern PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; +extern PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; +extern PFNGLGETPOINTERVPROC glGetPointerv; + +extern PFNGLENABLEIPROC glEnablei; +extern PFNGLDISABLEIPROC glDisablei; +extern PFNGLBLENDEQUATIONIPROC glBlendEquationi; +extern PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; +extern PFNGLBLENDFUNCIPROC glBlendFunci; +extern PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; +extern PFNGLCOLORMASKIPROC glColorMaski; +extern PFNGLISENABLEDIPROC glIsEnabledi; + +extern PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; + +extern PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; + +extern PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; + +extern PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; +extern PFNGLREADNPIXELSPROC glReadnPixels; +extern PFNGLGETNUNIFORMFVPROC glGetnUniformfv; +extern PFNGLGETNUNIFORMIVPROC glGetnUniformiv; +extern PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; + +extern PFNGLMINSAMPLESHADINGPROC glMinSampleShading; + +extern PFNGLPATCHPARAMETERIPROC glPatchParameteri; + +extern PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; +extern PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; +extern PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; +extern PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; +extern PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; +extern PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; +extern PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; +extern PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; + +extern PFNGLTEXBUFFERPROC glTexBuffer; +extern PFNGLTEXBUFFERRANGEPROC glTexBufferRange; + +extern PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +extern PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +extern PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +extern PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +extern PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +extern PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +extern PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +extern PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +extern PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +extern PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +extern PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +extern PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +extern PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +extern PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +extern PFNGLISQUERYEXTPROC glIsQueryEXT; +extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +extern PFNGLENDQUERYEXTPROC glEndQueryEXT; +extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +extern PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +extern PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +extern PFNGLENABLEIEXTPROC glEnableiEXT; +extern PFNGLDISABLEIEXTPROC glDisableiEXT; +extern PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +extern PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +extern PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +extern PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +extern PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +extern PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +extern PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +extern PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +extern PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +extern PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +extern PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +extern PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +extern PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +extern PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +extern PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +extern PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +extern PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +extern PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +extern PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +extern PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +extern PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +extern PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +extern PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +extern PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +extern PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +extern PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +extern PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +extern PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +extern PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +extern PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +extern PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +extern PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +extern PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +extern PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +extern PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +extern PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +extern PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +extern PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +extern PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +extern PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +extern PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +extern PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +extern PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +extern PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +extern PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +extern PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +extern PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +extern PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +extern PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +extern PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +extern PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +extern PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +extern PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +extern PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +extern PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +extern PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +extern PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +extern PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +extern PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +extern PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +extern PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +extern PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +extern PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +extern PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +extern PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +extern PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +extern PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +extern PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +extern PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +extern PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +extern PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +extern PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +extern PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +extern PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +extern PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +extern PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +extern PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +extern PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +extern PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +extern PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +extern PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +extern PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +extern PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +extern PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +extern PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +extern PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +extern PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +extern PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +extern PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +extern PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +extern PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +extern PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +extern PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +extern PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +extern PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +extern PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +extern PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +extern PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +extern PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +extern PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +extern PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +extern PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +extern PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +extern PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +extern PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +extern PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +extern PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +extern PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +extern PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +extern PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +extern PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +extern PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +extern PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +extern PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +extern PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +extern PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +extern PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +extern PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +extern PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +extern PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +extern PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +extern PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +extern PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +extern PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +extern PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +extern PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +extern PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +extern PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +extern PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +extern PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +extern PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +extern PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +extern PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +extern PFNGLGENFENCESNVPROC glGenFencesNV; +extern PFNGLISFENCENVPROC glIsFenceNV; +extern PFNGLTESTFENCENVPROC glTestFenceNV; +extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; +extern PFNGLFINISHFENCENVPROC glFinishFenceNV; +extern PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +extern PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +extern PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +extern PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +extern PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +extern PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +extern PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +extern PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +extern PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +extern PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +extern PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +extern PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +extern PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +extern PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +extern PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +extern PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +extern PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +extern PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +extern PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +extern PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +extern PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +extern PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +extern PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +extern PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +extern PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +extern PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +extern PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +extern PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +extern PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +extern PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +extern PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +extern PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +extern PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +extern PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +extern PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +extern PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +extern PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +extern PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +extern PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +extern PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +extern PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +extern PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +extern PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +extern PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +extern PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +extern PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +extern PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +extern PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +extern PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +extern PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +extern PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +extern PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +extern PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +extern PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +extern PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +extern PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +extern PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +extern PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +extern PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +extern PFNGLGENPATHSNVPROC glGenPathsNV; +extern PFNGLDELETEPATHSNVPROC glDeletePathsNV; +extern PFNGLISPATHNVPROC glIsPathNV; +extern PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +extern PFNGLPATHCOORDSNVPROC glPathCoordsNV; +extern PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +extern PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +extern PFNGLPATHSTRINGNVPROC glPathStringNV; +extern PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +extern PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +extern PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +extern PFNGLCOPYPATHNVPROC glCopyPathNV; +extern PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +extern PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +extern PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +extern PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +extern PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +extern PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +extern PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +extern PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +extern PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +extern PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +extern PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +extern PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +extern PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +extern PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +extern PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +extern PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +extern PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +extern PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +extern PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +extern PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +extern PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +extern PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +extern PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +extern PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +extern PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +extern PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +extern PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +extern PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +extern PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +extern PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +extern PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +extern PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +extern PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +extern PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +extern PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +extern PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +extern PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +extern PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +extern PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +extern PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +extern PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +extern PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +extern PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +extern PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +extern PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +extern PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +extern PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +extern PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +extern PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +extern PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +extern PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +extern PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +extern PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +extern PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +extern PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +extern PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +extern PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +extern PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +extern PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +extern PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +extern PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +extern PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +extern PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +extern PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +extern PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +extern PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +extern PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +extern PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +extern PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +extern PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +extern PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +extern PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +extern PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +extern PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +extern PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +extern PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +extern PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +extern PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +extern PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +extern PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +extern PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +extern PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +extern PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +extern PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +extern PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +extern PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +extern PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +extern PFNGLENABLEINVPROC glEnableiNV; +extern PFNGLDISABLEINVPROC glDisableiNV; +extern PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +extern PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +extern PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +extern PFNGLENABLEIOESPROC glEnableiOES; +extern PFNGLDISABLEIOESPROC glDisableiOES; +extern PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +extern PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +extern PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +extern PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +extern PFNGLCOLORMASKIOESPROC glColorMaskiOES; +extern PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +extern PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +extern PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +extern PFNGLMAPBUFFEROESPROC glMapBufferOES; +extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +extern PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +extern PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +extern PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +extern PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +extern PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +extern PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +extern PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +extern PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +extern PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +extern PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +extern PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +extern PFNGLTEXBUFFEROESPROC glTexBufferOES; +extern PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +extern PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +extern PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +extern PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +extern PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +extern PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +extern PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +extern PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +extern PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +extern PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +extern PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +extern PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +extern PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +extern PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +extern PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +extern PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +extern PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +extern PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +extern PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +extern PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +extern PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +extern PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + + diff --git a/native/cocos/renderer/gfx-gles3/gles3w_auto.cpp b/native/cocos/renderer/gfx-gles3/gles3w_auto.cpp deleted file mode 100644 index 8e6630113c..0000000000 --- a/native/cocos/renderer/gfx-gles3/gles3w_auto.cpp +++ /dev/null @@ -1,2616 +0,0 @@ -#include "gles3w.h" - -/* GL_ES_VERSION_2_0 */ -PFNGLACTIVETEXTUREPROC glActiveTexture; -PFNGLATTACHSHADERPROC glAttachShader; -PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -PFNGLBINDBUFFERPROC glBindBuffer; -PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -PFNGLBINDTEXTUREPROC glBindTexture; -PFNGLBLENDCOLORPROC glBlendColor; -PFNGLBLENDEQUATIONPROC glBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -PFNGLBLENDFUNCPROC glBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -PFNGLBUFFERDATAPROC glBufferData; -PFNGLBUFFERSUBDATAPROC glBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -PFNGLCLEARPROC glClear; -PFNGLCLEARCOLORPROC glClearColor; -PFNGLCLEARDEPTHFPROC glClearDepthf; -PFNGLCLEARSTENCILPROC glClearStencil; -PFNGLCOLORMASKPROC glColorMask; -PFNGLCOMPILESHADERPROC glCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC glCreateProgram; -PFNGLCREATESHADERPROC glCreateShader; -PFNGLCULLFACEPROC glCullFace; -PFNGLDELETEBUFFERSPROC glDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC glDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -PFNGLDELETESHADERPROC glDeleteShader; -PFNGLDELETETEXTURESPROC glDeleteTextures; -PFNGLDEPTHFUNCPROC glDepthFunc; -PFNGLDEPTHMASKPROC glDepthMask; -PFNGLDEPTHRANGEFPROC glDepthRangef; -PFNGLDETACHSHADERPROC glDetachShader; -PFNGLDISABLEPROC glDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC glDrawArrays; -PFNGLDRAWELEMENTSPROC glDrawElements; -PFNGLENABLEPROC glEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -PFNGLFINISHPROC glFinish; -PFNGLFLUSHPROC glFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -PFNGLFRONTFACEPROC glFrontFace; -PFNGLGENBUFFERSPROC glGenBuffers; -PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -PFNGLGENTEXTURESPROC glGenTextures; -PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -PFNGLGETBOOLEANVPROC glGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -PFNGLGETERRORPROC glGetError; -PFNGLGETFLOATVPROC glGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC glGetIntegerv; -PFNGLGETPROGRAMIVPROC glGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC glGetShaderiv; -PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC glGetShaderSource; -PFNGLGETSTRINGPROC glGetString; -PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -PFNGLGETUNIFORMFVPROC glGetUniformfv; -PFNGLGETUNIFORMIVPROC glGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -PFNGLHINTPROC glHint; -PFNGLISBUFFERPROC glIsBuffer; -PFNGLISENABLEDPROC glIsEnabled; -PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -PFNGLISPROGRAMPROC glIsProgram; -PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -PFNGLISSHADERPROC glIsShader; -PFNGLISTEXTUREPROC glIsTexture; -PFNGLLINEWIDTHPROC glLineWidth; -PFNGLLINKPROGRAMPROC glLinkProgram; -PFNGLPIXELSTOREIPROC glPixelStorei; -PFNGLPOLYGONOFFSETPROC glPolygonOffset; -PFNGLREADPIXELSPROC glReadPixels; -PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -PFNGLSCISSORPROC glScissor; -PFNGLSHADERBINARYPROC glShaderBinary; -PFNGLSHADERSOURCEPROC glShaderSource; -PFNGLSTENCILFUNCPROC glStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -PFNGLSTENCILMASKPROC glStencilMask; -PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -PFNGLSTENCILOPPROC glStencilOp; -PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -PFNGLTEXIMAGE2DPROC glTexImage2D; -PFNGLTEXPARAMETERFPROC glTexParameterf; -PFNGLTEXPARAMETERFVPROC glTexParameterfv; -PFNGLTEXPARAMETERIPROC glTexParameteri; -PFNGLTEXPARAMETERIVPROC glTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -PFNGLUNIFORM1FPROC glUniform1f; -PFNGLUNIFORM1FVPROC glUniform1fv; -PFNGLUNIFORM1IPROC glUniform1i; -PFNGLUNIFORM1IVPROC glUniform1iv; -PFNGLUNIFORM2FPROC glUniform2f; -PFNGLUNIFORM2FVPROC glUniform2fv; -PFNGLUNIFORM2IPROC glUniform2i; -PFNGLUNIFORM2IVPROC glUniform2iv; -PFNGLUNIFORM3FPROC glUniform3f; -PFNGLUNIFORM3FVPROC glUniform3fv; -PFNGLUNIFORM3IPROC glUniform3i; -PFNGLUNIFORM3IVPROC glUniform3iv; -PFNGLUNIFORM4FPROC glUniform4f; -PFNGLUNIFORM4FVPROC glUniform4fv; -PFNGLUNIFORM4IPROC glUniform4i; -PFNGLUNIFORM4IVPROC glUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -PFNGLUSEPROGRAMPROC glUseProgram; -PFNGLVALIDATEPROGRAMPROC glValidateProgram; -PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -PFNGLVIEWPORTPROC glViewport; - - -/* GL_ES_VERSION_3_0 */ -PFNGLREADBUFFERPROC glReadBuffer; -PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; -PFNGLTEXIMAGE3DPROC glTexImage3D; -PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; -PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; -PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; -PFNGLGENQUERIESPROC glGenQueries; -PFNGLDELETEQUERIESPROC glDeleteQueries; -PFNGLISQUERYPROC glIsQuery; -PFNGLBEGINQUERYPROC glBeginQuery; -PFNGLENDQUERYPROC glEndQuery; -PFNGLGETQUERYIVPROC glGetQueryiv; -PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; -PFNGLUNMAPBUFFERPROC glUnmapBuffer; -PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; -PFNGLDRAWBUFFERSPROC glDrawBuffers; -PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; -PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; -PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; -PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; -PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; -PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; -PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; -PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; -PFNGLMAPBUFFERRANGEPROC glMapBufferRange; -PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; -PFNGLBINDVERTEXARRAYPROC glBindVertexArray; -PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; -PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; -PFNGLISVERTEXARRAYPROC glIsVertexArray; -PFNGLGETINTEGERI_VPROC glGetIntegeri_v; -PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; -PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; -PFNGLBINDBUFFERRANGEPROC glBindBufferRange; -PFNGLBINDBUFFERBASEPROC glBindBufferBase; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; -PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; -PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; -PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; -PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; -PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; -PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; -PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; -PFNGLGETUNIFORMUIVPROC glGetUniformuiv; -PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; -PFNGLUNIFORM1UIPROC glUniform1ui; -PFNGLUNIFORM2UIPROC glUniform2ui; -PFNGLUNIFORM3UIPROC glUniform3ui; -PFNGLUNIFORM4UIPROC glUniform4ui; -PFNGLUNIFORM1UIVPROC glUniform1uiv; -PFNGLUNIFORM2UIVPROC glUniform2uiv; -PFNGLUNIFORM3UIVPROC glUniform3uiv; -PFNGLUNIFORM4UIVPROC glUniform4uiv; -PFNGLCLEARBUFFERIVPROC glClearBufferiv; -PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; -PFNGLCLEARBUFFERFVPROC glClearBufferfv; -PFNGLCLEARBUFFERFIPROC glClearBufferfi; -PFNGLGETSTRINGIPROC glGetStringi; -PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; -PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; -PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; -PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; -PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; -PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; -PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; -PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; -PFNGLFENCESYNCPROC glFenceSync; -PFNGLISSYNCPROC glIsSync; -PFNGLDELETESYNCPROC glDeleteSync; -PFNGLCLIENTWAITSYNCPROC glClientWaitSync; -PFNGLWAITSYNCPROC glWaitSync; -PFNGLGETINTEGER64VPROC glGetInteger64v; -PFNGLGETSYNCIVPROC glGetSynciv; -PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; -PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; -PFNGLGENSAMPLERSPROC glGenSamplers; -PFNGLDELETESAMPLERSPROC glDeleteSamplers; -PFNGLISSAMPLERPROC glIsSampler; -PFNGLBINDSAMPLERPROC glBindSampler; -PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; -PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; -PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; -PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; -PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; -PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; -PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; -PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; -PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; -PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; -PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; -PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; -PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; -PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; -PFNGLPROGRAMBINARYPROC glProgramBinary; -PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; -PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; -PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; -PFNGLTEXSTORAGE2DPROC glTexStorage2D; -PFNGLTEXSTORAGE3DPROC glTexStorage3D; -PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; - - -/* GL_ES_VERSION_3_1 */ -PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; -PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; - -PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; -PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; - -PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; -PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; - -PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; -PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; -PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; -PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; -PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; - -PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; -PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; -PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; -PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; -PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; -PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; -PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; -PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; -PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; -PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; -PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; -PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; -PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; -PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; -PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; -PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; -PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; -PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; -PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; -PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; -PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; -PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; -PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; -PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; -PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; -PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; -PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; -PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; -PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; -PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; -PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; -PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; -PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; -PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; -PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; -PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; -PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; -PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; -PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; -PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; -PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; -PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; -PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; - -PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; -PFNGLGETBOOLEANI_VPROC glGetBooleani_v; -PFNGLMEMORYBARRIERPROC glMemoryBarrier; -PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; - -PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; -PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; -PFNGLSAMPLEMASKIPROC glSampleMaski; -PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; -PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; - -PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; -PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; -PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; -PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; -PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; - - -/* GL_ES_VERSION_3_2 */ -PFNGLBLENDBARRIERPROC glBlendBarrier; - -PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; - -PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; -PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; -PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; -PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; -PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; -PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; -PFNGLOBJECTLABELPROC glObjectLabel; -PFNGLGETOBJECTLABELPROC glGetObjectLabel; -PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; -PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; -PFNGLGETPOINTERVPROC glGetPointerv; - -PFNGLENABLEIPROC glEnablei; -PFNGLDISABLEIPROC glDisablei; -PFNGLBLENDEQUATIONIPROC glBlendEquationi; -PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; -PFNGLBLENDFUNCIPROC glBlendFunci; -PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; -PFNGLCOLORMASKIPROC glColorMaski; -PFNGLISENABLEDIPROC glIsEnabledi; - -PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; -PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; - -PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; - -PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; - -PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; -PFNGLREADNPIXELSPROC glReadnPixels; -PFNGLGETNUNIFORMFVPROC glGetnUniformfv; -PFNGLGETNUNIFORMIVPROC glGetnUniformiv; -PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; - -PFNGLMINSAMPLESHADINGPROC glMinSampleShading; - -PFNGLPATCHPARAMETERIPROC glPatchParameteri; - -PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; -PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; -PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; -PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; -PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; -PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; -PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; -PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; - -PFNGLTEXBUFFERPROC glTexBuffer; -PFNGLTEXBUFFERRANGEPROC glTexBufferRange; - -PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; - - -#if defined(GL_AMD_framebuffer_multisample_advanced) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; -PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) -PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) -PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) -PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) -PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) -PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) -PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) -PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; - -PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) -PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) -PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; -PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; -PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; -PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) -PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) -PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; -PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) -PFNGLCLIPCONTROLEXTPROC glClipControlEXT; -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) -PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) -PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) -PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) -PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) -PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -PFNGLISQUERYEXTPROC glIsQueryEXT; -PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -PFNGLENDQUERYEXTPROC glEndQueryEXT; -PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) -PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) -PFNGLENABLEIEXTPROC glEnableiEXT; -PFNGLDISABLEIEXTPROC glDisableiEXT; -PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; -PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; -PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; -PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; -PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; -PFNGLISENABLEDIEXTPROC glIsEnablediEXT; -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; -PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; -PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) -PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; -PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) -PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; -PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) -PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) -PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) -PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; -PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; -PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; -PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; -PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; -PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; -PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; -PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; -PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; -PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; -PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; -PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; - -PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; -PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; -PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; -PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; -PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) -PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) -PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; -PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) -PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) -PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; -PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) -PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) -PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) -PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) -PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) -PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; -PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; -PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; -PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; -PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; -PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; -PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) -PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) -PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; -PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) -PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; - -PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; -PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; -PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; -PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; -PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; -PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; -PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; -PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) -PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) -PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; -PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; -PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) -PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) -PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) -PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; -PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; -PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; -PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; -PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; -PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; -PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; -PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) -PFNGLTEXBUFFEREXTPROC glTexBufferEXT; -PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) -PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; - -PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) -PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) -PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; -PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; -PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) -PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; -PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) -PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) -PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; -PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; -PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; -PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; -PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; -PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) -PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; -PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) -PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) -PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; -PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; -PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; -PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; -PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; -PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; -PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; -PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; -PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; -PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) -PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) -PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) -PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; -PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; -PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; -PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; -PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) -PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) -PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; -PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) -PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; -PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; -PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; -PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; -PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; -PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; -PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; -PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; -PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; -PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; -PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; -PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; -PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) -PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; -PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) -PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) -PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; -PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) -PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) -PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) -PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) -PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) -PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) -PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; -PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; -PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; -PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; -PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) -PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -PFNGLGENFENCESNVPROC glGenFencesNV; -PFNGLISFENCENVPROC glIsFenceNV; -PFNGLTESTFENCENVPROC glTestFenceNV; -PFNGLGETFENCEIVNVPROC glGetFenceivNV; -PFNGLFINISHFENCENVPROC glFinishFenceNV; -PFNGLSETFENCENVPROC glSetFenceNV; -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) -PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) -PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) -PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; -PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; -PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) -PFNGLUNIFORM1I64NVPROC glUniform1i64NV; -PFNGLUNIFORM2I64NVPROC glUniform2i64NV; -PFNGLUNIFORM3I64NVPROC glUniform3i64NV; -PFNGLUNIFORM4I64NVPROC glUniform4i64NV; -PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; -PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; -PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; -PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; -PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; -PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; -PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; -PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; -PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; -PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; -PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; -PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; -PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; - -PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; -PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; -PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; -PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; -PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; -PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; -PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; -PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; -PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; -PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; -PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; -PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; -PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; -PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; -PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; -PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) -PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) -PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) -PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; -PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; -PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; -PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; - -PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; -PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) -PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; -PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; - -PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; -PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) -PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; -PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) -PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; -PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; -PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; -PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; -PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; -PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) -PFNGLGENPATHSNVPROC glGenPathsNV; -PFNGLDELETEPATHSNVPROC glDeletePathsNV; -PFNGLISPATHNVPROC glIsPathNV; -PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; -PFNGLPATHCOORDSNVPROC glPathCoordsNV; -PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; -PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; -PFNGLPATHSTRINGNVPROC glPathStringNV; -PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; -PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; -PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; -PFNGLCOPYPATHNVPROC glCopyPathNV; -PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; -PFNGLTRANSFORMPATHNVPROC glTransformPathNV; -PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; -PFNGLPATHPARAMETERINVPROC glPathParameteriNV; -PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; -PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; -PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; -PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; -PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; -PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; -PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; -PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; -PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; -PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; -PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; -PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; -PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; -PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; -PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; -PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; -PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; -PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; -PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; -PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; -PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; -PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; -PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; -PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; -PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; -PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; - -PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; -PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; -PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; -PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; -PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; -PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; -PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; -PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; -PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; -PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; -PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; - -PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; -PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; -PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; -PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; - -PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; -PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; -PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; -PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; -PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; -PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; -PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; -PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; -PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; -PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; -PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; -PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; -PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; -PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; -PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; -PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; -PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; -PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; -PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) -PFNGLPOLYGONMODENVPROC glPolygonModeNV; -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) -PFNGLREADBUFFERNVPROC glReadBufferNV; -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) -PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; -PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; -PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) -PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; -PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) -PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; -PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; -PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; -PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; -PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; -PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; -PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) -PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; -PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; -PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; -PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; -PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; -PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; -PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; -PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; -PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; -PFNGLENABLEINVPROC glEnableiNV; -PFNGLDISABLEINVPROC glDisableiNV; -PFNGLISENABLEDINVPROC glIsEnablediNV; -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) -PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) -PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) -PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) -PFNGLENABLEIOESPROC glEnableiOES; -PFNGLDISABLEIOESPROC glDisableiOES; -PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; -PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; -PFNGLBLENDFUNCIOESPROC glBlendFunciOES; -PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; -PFNGLCOLORMASKIOESPROC glColorMaskiOES; -PFNGLISENABLEDIOESPROC glIsEnablediOES; -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; -PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) -PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) -PFNGLMAPBUFFEROESPROC glMapBufferOES; -PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) -PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) -PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) -PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) -PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; -PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; -PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; -PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; -PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; -PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; -PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; -PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) -PFNGLTEXBUFFEROESPROC glTexBufferOES; -PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) -PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) -PFNGLTEXTUREVIEWOESPROC glTextureViewOES; -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) -PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) -PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; -PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; -PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; -PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; -PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; -PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; -PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; -PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; -PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) -PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) -PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) -PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) -PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) -PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) -PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) -PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; -PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) -PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; -PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) -PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) -PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) -PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) -PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) -PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -PFNGLENDTILINGQCOMPROC glEndTilingQCOM; -#endif /* defined(GL_QCOM_tiled_rendering) */ - -void gles3wLoadProcs() { - /* GL_ES_VERSION_2_0 */ - glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles3wLoad("glActiveTexture"); - glAttachShader = (PFNGLATTACHSHADERPROC)gles3wLoad("glAttachShader"); - glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles3wLoad("glBindAttribLocation"); - glBindBuffer = (PFNGLBINDBUFFERPROC)gles3wLoad("glBindBuffer"); - glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles3wLoad("glBindFramebuffer"); - glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles3wLoad("glBindRenderbuffer"); - glBindTexture = (PFNGLBINDTEXTUREPROC)gles3wLoad("glBindTexture"); - glBlendColor = (PFNGLBLENDCOLORPROC)gles3wLoad("glBlendColor"); - glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles3wLoad("glBlendEquation"); - glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles3wLoad("glBlendEquationSeparate"); - glBlendFunc = (PFNGLBLENDFUNCPROC)gles3wLoad("glBlendFunc"); - glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles3wLoad("glBlendFuncSeparate"); - glBufferData = (PFNGLBUFFERDATAPROC)gles3wLoad("glBufferData"); - glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles3wLoad("glBufferSubData"); - glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles3wLoad("glCheckFramebufferStatus"); - glClear = (PFNGLCLEARPROC)gles3wLoad("glClear"); - glClearColor = (PFNGLCLEARCOLORPROC)gles3wLoad("glClearColor"); - glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles3wLoad("glClearDepthf"); - glClearStencil = (PFNGLCLEARSTENCILPROC)gles3wLoad("glClearStencil"); - glColorMask = (PFNGLCOLORMASKPROC)gles3wLoad("glColorMask"); - glCompileShader = (PFNGLCOMPILESHADERPROC)gles3wLoad("glCompileShader"); - glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles3wLoad("glCompressedTexImage2D"); - glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles3wLoad("glCompressedTexSubImage2D"); - glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles3wLoad("glCopyTexImage2D"); - glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles3wLoad("glCopyTexSubImage2D"); - glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles3wLoad("glCreateProgram"); - glCreateShader = (PFNGLCREATESHADERPROC)gles3wLoad("glCreateShader"); - glCullFace = (PFNGLCULLFACEPROC)gles3wLoad("glCullFace"); - glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles3wLoad("glDeleteBuffers"); - glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles3wLoad("glDeleteFramebuffers"); - glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles3wLoad("glDeleteProgram"); - glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles3wLoad("glDeleteRenderbuffers"); - glDeleteShader = (PFNGLDELETESHADERPROC)gles3wLoad("glDeleteShader"); - glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles3wLoad("glDeleteTextures"); - glDepthFunc = (PFNGLDEPTHFUNCPROC)gles3wLoad("glDepthFunc"); - glDepthMask = (PFNGLDEPTHMASKPROC)gles3wLoad("glDepthMask"); - glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles3wLoad("glDepthRangef"); - glDetachShader = (PFNGLDETACHSHADERPROC)gles3wLoad("glDetachShader"); - glDisable = (PFNGLDISABLEPROC)gles3wLoad("glDisable"); - glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glDisableVertexAttribArray"); - glDrawArrays = (PFNGLDRAWARRAYSPROC)gles3wLoad("glDrawArrays"); - glDrawElements = (PFNGLDRAWELEMENTSPROC)gles3wLoad("glDrawElements"); - glEnable = (PFNGLENABLEPROC)gles3wLoad("glEnable"); - glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glEnableVertexAttribArray"); - glFinish = (PFNGLFINISHPROC)gles3wLoad("glFinish"); - glFlush = (PFNGLFLUSHPROC)gles3wLoad("glFlush"); - glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles3wLoad("glFramebufferRenderbuffer"); - glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles3wLoad("glFramebufferTexture2D"); - glFrontFace = (PFNGLFRONTFACEPROC)gles3wLoad("glFrontFace"); - glGenBuffers = (PFNGLGENBUFFERSPROC)gles3wLoad("glGenBuffers"); - glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles3wLoad("glGenerateMipmap"); - glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles3wLoad("glGenFramebuffers"); - glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles3wLoad("glGenRenderbuffers"); - glGenTextures = (PFNGLGENTEXTURESPROC)gles3wLoad("glGenTextures"); - glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles3wLoad("glGetActiveAttrib"); - glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles3wLoad("glGetActiveUniform"); - glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles3wLoad("glGetAttachedShaders"); - glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles3wLoad("glGetAttribLocation"); - glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles3wLoad("glGetBooleanv"); - glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles3wLoad("glGetBufferParameteriv"); - glGetError = (PFNGLGETERRORPROC)gles3wLoad("glGetError"); - glGetFloatv = (PFNGLGETFLOATVPROC)gles3wLoad("glGetFloatv"); - glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles3wLoad("glGetFramebufferAttachmentParameteriv"); - glGetIntegerv = (PFNGLGETINTEGERVPROC)gles3wLoad("glGetIntegerv"); - glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles3wLoad("glGetProgramiv"); - glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles3wLoad("glGetProgramInfoLog"); - glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles3wLoad("glGetRenderbufferParameteriv"); - glGetShaderiv = (PFNGLGETSHADERIVPROC)gles3wLoad("glGetShaderiv"); - glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles3wLoad("glGetShaderInfoLog"); - glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles3wLoad("glGetShaderPrecisionFormat"); - glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles3wLoad("glGetShaderSource"); - glGetString = (PFNGLGETSTRINGPROC)gles3wLoad("glGetString"); - glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles3wLoad("glGetTexParameterfv"); - glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles3wLoad("glGetTexParameteriv"); - glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles3wLoad("glGetUniformfv"); - glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles3wLoad("glGetUniformiv"); - glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles3wLoad("glGetUniformLocation"); - glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles3wLoad("glGetVertexAttribfv"); - glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles3wLoad("glGetVertexAttribiv"); - glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles3wLoad("glGetVertexAttribPointerv"); - glHint = (PFNGLHINTPROC)gles3wLoad("glHint"); - glIsBuffer = (PFNGLISBUFFERPROC)gles3wLoad("glIsBuffer"); - glIsEnabled = (PFNGLISENABLEDPROC)gles3wLoad("glIsEnabled"); - glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles3wLoad("glIsFramebuffer"); - glIsProgram = (PFNGLISPROGRAMPROC)gles3wLoad("glIsProgram"); - glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles3wLoad("glIsRenderbuffer"); - glIsShader = (PFNGLISSHADERPROC)gles3wLoad("glIsShader"); - glIsTexture = (PFNGLISTEXTUREPROC)gles3wLoad("glIsTexture"); - glLineWidth = (PFNGLLINEWIDTHPROC)gles3wLoad("glLineWidth"); - glLinkProgram = (PFNGLLINKPROGRAMPROC)gles3wLoad("glLinkProgram"); - glPixelStorei = (PFNGLPIXELSTOREIPROC)gles3wLoad("glPixelStorei"); - glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles3wLoad("glPolygonOffset"); - glReadPixels = (PFNGLREADPIXELSPROC)gles3wLoad("glReadPixels"); - glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles3wLoad("glReleaseShaderCompiler"); - glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles3wLoad("glRenderbufferStorage"); - glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles3wLoad("glSampleCoverage"); - glScissor = (PFNGLSCISSORPROC)gles3wLoad("glScissor"); - glShaderBinary = (PFNGLSHADERBINARYPROC)gles3wLoad("glShaderBinary"); - glShaderSource = (PFNGLSHADERSOURCEPROC)gles3wLoad("glShaderSource"); - glStencilFunc = (PFNGLSTENCILFUNCPROC)gles3wLoad("glStencilFunc"); - glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles3wLoad("glStencilFuncSeparate"); - glStencilMask = (PFNGLSTENCILMASKPROC)gles3wLoad("glStencilMask"); - glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles3wLoad("glStencilMaskSeparate"); - glStencilOp = (PFNGLSTENCILOPPROC)gles3wLoad("glStencilOp"); - glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles3wLoad("glStencilOpSeparate"); - glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles3wLoad("glTexImage2D"); - glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles3wLoad("glTexParameterf"); - glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles3wLoad("glTexParameterfv"); - glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles3wLoad("glTexParameteri"); - glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles3wLoad("glTexParameteriv"); - glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles3wLoad("glTexSubImage2D"); - glUniform1f = (PFNGLUNIFORM1FPROC)gles3wLoad("glUniform1f"); - glUniform1fv = (PFNGLUNIFORM1FVPROC)gles3wLoad("glUniform1fv"); - glUniform1i = (PFNGLUNIFORM1IPROC)gles3wLoad("glUniform1i"); - glUniform1iv = (PFNGLUNIFORM1IVPROC)gles3wLoad("glUniform1iv"); - glUniform2f = (PFNGLUNIFORM2FPROC)gles3wLoad("glUniform2f"); - glUniform2fv = (PFNGLUNIFORM2FVPROC)gles3wLoad("glUniform2fv"); - glUniform2i = (PFNGLUNIFORM2IPROC)gles3wLoad("glUniform2i"); - glUniform2iv = (PFNGLUNIFORM2IVPROC)gles3wLoad("glUniform2iv"); - glUniform3f = (PFNGLUNIFORM3FPROC)gles3wLoad("glUniform3f"); - glUniform3fv = (PFNGLUNIFORM3FVPROC)gles3wLoad("glUniform3fv"); - glUniform3i = (PFNGLUNIFORM3IPROC)gles3wLoad("glUniform3i"); - glUniform3iv = (PFNGLUNIFORM3IVPROC)gles3wLoad("glUniform3iv"); - glUniform4f = (PFNGLUNIFORM4FPROC)gles3wLoad("glUniform4f"); - glUniform4fv = (PFNGLUNIFORM4FVPROC)gles3wLoad("glUniform4fv"); - glUniform4i = (PFNGLUNIFORM4IPROC)gles3wLoad("glUniform4i"); - glUniform4iv = (PFNGLUNIFORM4IVPROC)gles3wLoad("glUniform4iv"); - glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles3wLoad("glUniformMatrix2fv"); - glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles3wLoad("glUniformMatrix3fv"); - glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles3wLoad("glUniformMatrix4fv"); - glUseProgram = (PFNGLUSEPROGRAMPROC)gles3wLoad("glUseProgram"); - glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles3wLoad("glValidateProgram"); - glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles3wLoad("glVertexAttrib1f"); - glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles3wLoad("glVertexAttrib1fv"); - glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles3wLoad("glVertexAttrib2f"); - glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles3wLoad("glVertexAttrib2fv"); - glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles3wLoad("glVertexAttrib3f"); - glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles3wLoad("glVertexAttrib3fv"); - glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles3wLoad("glVertexAttrib4f"); - glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles3wLoad("glVertexAttrib4fv"); - glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles3wLoad("glVertexAttribPointer"); - glViewport = (PFNGLVIEWPORTPROC)gles3wLoad("glViewport"); - - - /* GL_ES_VERSION_3_0 */ - glReadBuffer = (PFNGLREADBUFFERPROC)gles3wLoad("glReadBuffer"); - glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)gles3wLoad("glDrawRangeElements"); - glTexImage3D = (PFNGLTEXIMAGE3DPROC)gles3wLoad("glTexImage3D"); - glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)gles3wLoad("glTexSubImage3D"); - glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)gles3wLoad("glCopyTexSubImage3D"); - glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)gles3wLoad("glCompressedTexImage3D"); - glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)gles3wLoad("glCompressedTexSubImage3D"); - glGenQueries = (PFNGLGENQUERIESPROC)gles3wLoad("glGenQueries"); - glDeleteQueries = (PFNGLDELETEQUERIESPROC)gles3wLoad("glDeleteQueries"); - glIsQuery = (PFNGLISQUERYPROC)gles3wLoad("glIsQuery"); - glBeginQuery = (PFNGLBEGINQUERYPROC)gles3wLoad("glBeginQuery"); - glEndQuery = (PFNGLENDQUERYPROC)gles3wLoad("glEndQuery"); - glGetQueryiv = (PFNGLGETQUERYIVPROC)gles3wLoad("glGetQueryiv"); - glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)gles3wLoad("glGetQueryObjectuiv"); - glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)gles3wLoad("glUnmapBuffer"); - glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)gles3wLoad("glGetBufferPointerv"); - glDrawBuffers = (PFNGLDRAWBUFFERSPROC)gles3wLoad("glDrawBuffers"); - glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)gles3wLoad("glUniformMatrix2x3fv"); - glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)gles3wLoad("glUniformMatrix3x2fv"); - glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)gles3wLoad("glUniformMatrix2x4fv"); - glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)gles3wLoad("glUniformMatrix4x2fv"); - glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)gles3wLoad("glUniformMatrix3x4fv"); - glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)gles3wLoad("glUniformMatrix4x3fv"); - glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)gles3wLoad("glBlitFramebuffer"); - glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)gles3wLoad("glRenderbufferStorageMultisample"); - glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)gles3wLoad("glFramebufferTextureLayer"); - glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)gles3wLoad("glMapBufferRange"); - glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)gles3wLoad("glFlushMappedBufferRange"); - glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)gles3wLoad("glBindVertexArray"); - glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)gles3wLoad("glDeleteVertexArrays"); - glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)gles3wLoad("glGenVertexArrays"); - glIsVertexArray = (PFNGLISVERTEXARRAYPROC)gles3wLoad("glIsVertexArray"); - glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)gles3wLoad("glGetIntegeri_v"); - glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)gles3wLoad("glBeginTransformFeedback"); - glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)gles3wLoad("glEndTransformFeedback"); - glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)gles3wLoad("glBindBufferRange"); - glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)gles3wLoad("glBindBufferBase"); - glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)gles3wLoad("glTransformFeedbackVaryings"); - glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)gles3wLoad("glGetTransformFeedbackVarying"); - glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)gles3wLoad("glVertexAttribIPointer"); - glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)gles3wLoad("glGetVertexAttribIiv"); - glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)gles3wLoad("glGetVertexAttribIuiv"); - glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)gles3wLoad("glVertexAttribI4i"); - glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)gles3wLoad("glVertexAttribI4ui"); - glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)gles3wLoad("glVertexAttribI4iv"); - glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)gles3wLoad("glVertexAttribI4uiv"); - glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)gles3wLoad("glGetUniformuiv"); - glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)gles3wLoad("glGetFragDataLocation"); - glUniform1ui = (PFNGLUNIFORM1UIPROC)gles3wLoad("glUniform1ui"); - glUniform2ui = (PFNGLUNIFORM2UIPROC)gles3wLoad("glUniform2ui"); - glUniform3ui = (PFNGLUNIFORM3UIPROC)gles3wLoad("glUniform3ui"); - glUniform4ui = (PFNGLUNIFORM4UIPROC)gles3wLoad("glUniform4ui"); - glUniform1uiv = (PFNGLUNIFORM1UIVPROC)gles3wLoad("glUniform1uiv"); - glUniform2uiv = (PFNGLUNIFORM2UIVPROC)gles3wLoad("glUniform2uiv"); - glUniform3uiv = (PFNGLUNIFORM3UIVPROC)gles3wLoad("glUniform3uiv"); - glUniform4uiv = (PFNGLUNIFORM4UIVPROC)gles3wLoad("glUniform4uiv"); - glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)gles3wLoad("glClearBufferiv"); - glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)gles3wLoad("glClearBufferuiv"); - glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)gles3wLoad("glClearBufferfv"); - glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)gles3wLoad("glClearBufferfi"); - glGetStringi = (PFNGLGETSTRINGIPROC)gles3wLoad("glGetStringi"); - glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)gles3wLoad("glCopyBufferSubData"); - glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)gles3wLoad("glGetUniformIndices"); - glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)gles3wLoad("glGetActiveUniformsiv"); - glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)gles3wLoad("glGetUniformBlockIndex"); - glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)gles3wLoad("glGetActiveUniformBlockiv"); - glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)gles3wLoad("glGetActiveUniformBlockName"); - glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)gles3wLoad("glUniformBlockBinding"); - glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)gles3wLoad("glDrawArraysInstanced"); - glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)gles3wLoad("glDrawElementsInstanced"); - glFenceSync = (PFNGLFENCESYNCPROC)gles3wLoad("glFenceSync"); - glIsSync = (PFNGLISSYNCPROC)gles3wLoad("glIsSync"); - glDeleteSync = (PFNGLDELETESYNCPROC)gles3wLoad("glDeleteSync"); - glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)gles3wLoad("glClientWaitSync"); - glWaitSync = (PFNGLWAITSYNCPROC)gles3wLoad("glWaitSync"); - glGetInteger64v = (PFNGLGETINTEGER64VPROC)gles3wLoad("glGetInteger64v"); - glGetSynciv = (PFNGLGETSYNCIVPROC)gles3wLoad("glGetSynciv"); - glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)gles3wLoad("glGetInteger64i_v"); - glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)gles3wLoad("glGetBufferParameteri64v"); - glGenSamplers = (PFNGLGENSAMPLERSPROC)gles3wLoad("glGenSamplers"); - glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)gles3wLoad("glDeleteSamplers"); - glIsSampler = (PFNGLISSAMPLERPROC)gles3wLoad("glIsSampler"); - glBindSampler = (PFNGLBINDSAMPLERPROC)gles3wLoad("glBindSampler"); - glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)gles3wLoad("glSamplerParameteri"); - glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)gles3wLoad("glSamplerParameteriv"); - glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)gles3wLoad("glSamplerParameterf"); - glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)gles3wLoad("glSamplerParameterfv"); - glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)gles3wLoad("glGetSamplerParameteriv"); - glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)gles3wLoad("glGetSamplerParameterfv"); - glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)gles3wLoad("glVertexAttribDivisor"); - glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)gles3wLoad("glBindTransformFeedback"); - glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)gles3wLoad("glDeleteTransformFeedbacks"); - glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)gles3wLoad("glGenTransformFeedbacks"); - glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)gles3wLoad("glIsTransformFeedback"); - glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)gles3wLoad("glPauseTransformFeedback"); - glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)gles3wLoad("glResumeTransformFeedback"); - glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)gles3wLoad("glGetProgramBinary"); - glProgramBinary = (PFNGLPROGRAMBINARYPROC)gles3wLoad("glProgramBinary"); - glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)gles3wLoad("glProgramParameteri"); - glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)gles3wLoad("glInvalidateFramebuffer"); - glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)gles3wLoad("glInvalidateSubFramebuffer"); - glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)gles3wLoad("glTexStorage2D"); - glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)gles3wLoad("glTexStorage3D"); - glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)gles3wLoad("glGetInternalformativ"); - - - /* GL_ES_VERSION_3_1 */ - glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)gles3wLoad("glDispatchCompute"); - glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)gles3wLoad("glDispatchComputeIndirect"); - - glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)gles3wLoad("glDrawArraysIndirect"); - glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)gles3wLoad("glDrawElementsIndirect"); - - glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)gles3wLoad("glFramebufferParameteri"); - glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)gles3wLoad("glGetFramebufferParameteriv"); - - glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)gles3wLoad("glGetProgramInterfaceiv"); - glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)gles3wLoad("glGetProgramResourceIndex"); - glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)gles3wLoad("glGetProgramResourceName"); - glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)gles3wLoad("glGetProgramResourceiv"); - glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)gles3wLoad("glGetProgramResourceLocation"); - - glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)gles3wLoad("glUseProgramStages"); - glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)gles3wLoad("glActiveShaderProgram"); - glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)gles3wLoad("glCreateShaderProgramv"); - glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)gles3wLoad("glBindProgramPipeline"); - glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)gles3wLoad("glDeleteProgramPipelines"); - glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)gles3wLoad("glGenProgramPipelines"); - glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)gles3wLoad("glIsProgramPipeline"); - glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)gles3wLoad("glGetProgramPipelineiv"); - glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)gles3wLoad("glProgramUniform1i"); - glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)gles3wLoad("glProgramUniform2i"); - glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)gles3wLoad("glProgramUniform3i"); - glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)gles3wLoad("glProgramUniform4i"); - glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)gles3wLoad("glProgramUniform1ui"); - glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)gles3wLoad("glProgramUniform2ui"); - glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)gles3wLoad("glProgramUniform3ui"); - glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)gles3wLoad("glProgramUniform4ui"); - glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)gles3wLoad("glProgramUniform1f"); - glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)gles3wLoad("glProgramUniform2f"); - glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)gles3wLoad("glProgramUniform3f"); - glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)gles3wLoad("glProgramUniform4f"); - glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)gles3wLoad("glProgramUniform1iv"); - glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)gles3wLoad("glProgramUniform2iv"); - glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)gles3wLoad("glProgramUniform3iv"); - glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)gles3wLoad("glProgramUniform4iv"); - glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)gles3wLoad("glProgramUniform1uiv"); - glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)gles3wLoad("glProgramUniform2uiv"); - glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)gles3wLoad("glProgramUniform3uiv"); - glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)gles3wLoad("glProgramUniform4uiv"); - glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)gles3wLoad("glProgramUniform1fv"); - glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)gles3wLoad("glProgramUniform2fv"); - glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)gles3wLoad("glProgramUniform3fv"); - glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)gles3wLoad("glProgramUniform4fv"); - glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)gles3wLoad("glProgramUniformMatrix2fv"); - glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)gles3wLoad("glProgramUniformMatrix3fv"); - glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)gles3wLoad("glProgramUniformMatrix4fv"); - glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)gles3wLoad("glProgramUniformMatrix2x3fv"); - glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)gles3wLoad("glProgramUniformMatrix3x2fv"); - glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)gles3wLoad("glProgramUniformMatrix2x4fv"); - glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)gles3wLoad("glProgramUniformMatrix4x2fv"); - glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)gles3wLoad("glProgramUniformMatrix3x4fv"); - glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)gles3wLoad("glProgramUniformMatrix4x3fv"); - glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)gles3wLoad("glValidateProgramPipeline"); - glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)gles3wLoad("glGetProgramPipelineInfoLog"); - - glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)gles3wLoad("glBindImageTexture"); - glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)gles3wLoad("glGetBooleani_v"); - glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)gles3wLoad("glMemoryBarrier"); - glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)gles3wLoad("glMemoryBarrierByRegion"); - - glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)gles3wLoad("glTexStorage2DMultisample"); - glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)gles3wLoad("glGetMultisamplefv"); - glSampleMaski = (PFNGLSAMPLEMASKIPROC)gles3wLoad("glSampleMaski"); - glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)gles3wLoad("glGetTexLevelParameteriv"); - glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)gles3wLoad("glGetTexLevelParameterfv"); - - glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)gles3wLoad("glBindVertexBuffer"); - glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)gles3wLoad("glVertexAttribFormat"); - glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)gles3wLoad("glVertexAttribIFormat"); - glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)gles3wLoad("glVertexAttribBinding"); - glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)gles3wLoad("glVertexBindingDivisor"); - - - /* GL_ES_VERSION_3_2 */ - glBlendBarrier = (PFNGLBLENDBARRIERPROC)gles3wLoad("glBlendBarrier"); - - glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)gles3wLoad("glCopyImageSubData"); - - glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)gles3wLoad("glDebugMessageControl"); - glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)gles3wLoad("glDebugMessageInsert"); - glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)gles3wLoad("glDebugMessageCallback"); - glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)gles3wLoad("glGetDebugMessageLog"); - glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)gles3wLoad("glPushDebugGroup"); - glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)gles3wLoad("glPopDebugGroup"); - glObjectLabel = (PFNGLOBJECTLABELPROC)gles3wLoad("glObjectLabel"); - glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)gles3wLoad("glGetObjectLabel"); - glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)gles3wLoad("glObjectPtrLabel"); - glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)gles3wLoad("glGetObjectPtrLabel"); - glGetPointerv = (PFNGLGETPOINTERVPROC)gles3wLoad("glGetPointerv"); - - glEnablei = (PFNGLENABLEIPROC)gles3wLoad("glEnablei"); - glDisablei = (PFNGLDISABLEIPROC)gles3wLoad("glDisablei"); - glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)gles3wLoad("glBlendEquationi"); - glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)gles3wLoad("glBlendEquationSeparatei"); - glBlendFunci = (PFNGLBLENDFUNCIPROC)gles3wLoad("glBlendFunci"); - glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)gles3wLoad("glBlendFuncSeparatei"); - glColorMaski = (PFNGLCOLORMASKIPROC)gles3wLoad("glColorMaski"); - glIsEnabledi = (PFNGLISENABLEDIPROC)gles3wLoad("glIsEnabledi"); - - glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawElementsBaseVertex"); - glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawRangeElementsBaseVertex"); - glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)gles3wLoad("glDrawElementsInstancedBaseVertex"); - - glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)gles3wLoad("glFramebufferTexture"); - - glPrimitiveBoundingBox = (PFNGLPRIMITIVEBOUNDINGBOXPROC)gles3wLoad("glPrimitiveBoundingBox"); - - glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)gles3wLoad("glGetGraphicsResetStatus"); - glReadnPixels = (PFNGLREADNPIXELSPROC)gles3wLoad("glReadnPixels"); - glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)gles3wLoad("glGetnUniformfv"); - glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)gles3wLoad("glGetnUniformiv"); - glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)gles3wLoad("glGetnUniformuiv"); - - glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)gles3wLoad("glMinSampleShading"); - - glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)gles3wLoad("glPatchParameteri"); - - glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)gles3wLoad("glTexParameterIiv"); - glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)gles3wLoad("glTexParameterIuiv"); - glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)gles3wLoad("glGetTexParameterIiv"); - glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)gles3wLoad("glGetTexParameterIuiv"); - glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)gles3wLoad("glSamplerParameterIiv"); - glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)gles3wLoad("glSamplerParameterIuiv"); - glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)gles3wLoad("glGetSamplerParameterIiv"); - glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)gles3wLoad("glGetSamplerParameterIuiv"); - - glTexBuffer = (PFNGLTEXBUFFERPROC)gles3wLoad("glTexBuffer"); - glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)gles3wLoad("glTexBufferRange"); - - glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)gles3wLoad("glTexStorage3DMultisample"); - - -#if defined(GL_AMD_framebuffer_multisample_advanced) - glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); - glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) - glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles3wLoad("glGetPerfMonitorGroupsAMD"); - glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glGetPerfMonitorCountersAMD"); - glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorGroupStringAMD"); - glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorCounterStringAMD"); - glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles3wLoad("glGetPerfMonitorCounterInfoAMD"); - glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles3wLoad("glGenPerfMonitorsAMD"); - glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles3wLoad("glDeletePerfMonitorsAMD"); - glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glSelectPerfMonitorCountersAMD"); - glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles3wLoad("glBeginPerfMonitorAMD"); - glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles3wLoad("glEndPerfMonitorAMD"); - glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles3wLoad("glGetPerfMonitorCounterDataAMD"); -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) - glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles3wLoad("glBlitFramebufferANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) - glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles3wLoad("glRenderbufferStorageMultisampleANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) - glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles3wLoad("glDrawArraysInstancedANGLE"); - glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles3wLoad("glDrawElementsInstancedANGLE"); - glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles3wLoad("glVertexAttribDivisorANGLE"); -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) - glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles3wLoad("glGetTranslatedShaderSourceANGLE"); -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) - glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles3wLoad("glCopyTextureLevelsAPPLE"); -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) - glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles3wLoad("glRenderbufferStorageMultisampleAPPLE"); - glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles3wLoad("glResolveMultisampleFramebufferAPPLE"); -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) - glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles3wLoad("glFenceSyncAPPLE"); - glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles3wLoad("glIsSyncAPPLE"); - glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles3wLoad("glDeleteSyncAPPLE"); - glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles3wLoad("glClientWaitSyncAPPLE"); - glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles3wLoad("glWaitSyncAPPLE"); - glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles3wLoad("glGetInteger64vAPPLE"); - glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles3wLoad("glGetSyncivAPPLE"); -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) - glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTexStorageEXT"); - - glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTextureStorageEXT"); -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) - glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawArraysInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) - glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles3wLoad("glBindFragDataLocationIndexedEXT"); - glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles3wLoad("glBindFragDataLocationEXT"); - glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles3wLoad("glGetProgramResourceLocationIndexEXT"); - glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles3wLoad("glGetFragDataIndexEXT"); -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) - glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles3wLoad("glBufferStorageEXT"); -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) - glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles3wLoad("glClearTexImageEXT"); - glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles3wLoad("glClearTexSubImageEXT"); -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) - glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles3wLoad("glClipControlEXT"); -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) - glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles3wLoad("glCopyImageSubDataEXT"); -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) - glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles3wLoad("glLabelObjectEXT"); - glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles3wLoad("glGetObjectLabelEXT"); -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) - glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles3wLoad("glInsertEventMarkerEXT"); - glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles3wLoad("glPushGroupMarkerEXT"); - glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles3wLoad("glPopGroupMarkerEXT"); -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) - glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles3wLoad("glDiscardFramebufferEXT"); -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) - glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles3wLoad("glGenQueriesEXT"); - glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles3wLoad("glDeleteQueriesEXT"); - glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles3wLoad("glIsQueryEXT"); - glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles3wLoad("glBeginQueryEXT"); - glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles3wLoad("glEndQueryEXT"); - glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles3wLoad("glQueryCounterEXT"); - glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles3wLoad("glGetQueryivEXT"); - glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles3wLoad("glGetQueryObjectivEXT"); - glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles3wLoad("glGetQueryObjectuivEXT"); - glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles3wLoad("glGetQueryObjecti64vEXT"); - glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles3wLoad("glGetQueryObjectui64vEXT"); - glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles3wLoad("glGetInteger64vEXT"); -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) - glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles3wLoad("glDrawBuffersEXT"); -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) - glEnableiEXT = (PFNGLENABLEIEXTPROC)gles3wLoad("glEnableiEXT"); - glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles3wLoad("glDisableiEXT"); - glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles3wLoad("glBlendEquationiEXT"); - glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles3wLoad("glBlendEquationSeparateiEXT"); - glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles3wLoad("glBlendFunciEXT"); - glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles3wLoad("glBlendFuncSeparateiEXT"); - glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles3wLoad("glColorMaskiEXT"); - glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles3wLoad("glIsEnablediEXT"); -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) - glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsBaseVertexEXT"); - glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawRangeElementsBaseVertexEXT"); - glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexEXT"); - glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glMultiDrawElementsBaseVertexEXT"); -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) - glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles3wLoad("glDrawArraysInstancedEXT"); - glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles3wLoad("glDrawElementsInstancedEXT"); -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) - glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles3wLoad("glDrawTransformFeedbackEXT"); - glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles3wLoad("glDrawTransformFeedbackInstancedEXT"); -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) - glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glBufferStorageExternalEXT"); - glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glNamedBufferStorageExternalEXT"); -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) - glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles3wLoad("glFramebufferTextureEXT"); -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) - glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles3wLoad("glVertexAttribDivisorEXT"); -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) - glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles3wLoad("glMapBufferRangeEXT"); - glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles3wLoad("glFlushMappedBufferRangeEXT"); -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) - glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles3wLoad("glGetUnsignedBytevEXT"); - glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles3wLoad("glGetUnsignedBytei_vEXT"); - glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles3wLoad("glDeleteMemoryObjectsEXT"); - glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles3wLoad("glIsMemoryObjectEXT"); - glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles3wLoad("glCreateMemoryObjectsEXT"); - glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glMemoryObjectParameterivEXT"); - glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glGetMemoryObjectParameterivEXT"); - glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles3wLoad("glTexStorageMem2DEXT"); - glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem2DMultisampleEXT"); - glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles3wLoad("glTexStorageMem3DEXT"); - glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem3DMultisampleEXT"); - glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glBufferStorageMemEXT"); - - glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles3wLoad("glTextureStorageMem2DEXT"); - glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem2DMultisampleEXT"); - glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles3wLoad("glTextureStorageMem3DEXT"); - glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem3DMultisampleEXT"); - glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glNamedBufferStorageMemEXT"); -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) - glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles3wLoad("glImportMemoryFdEXT"); -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) - glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles3wLoad("glImportMemoryWin32HandleEXT"); - glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles3wLoad("glImportMemoryWin32NameEXT"); -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) - glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles3wLoad("glMultiDrawArraysEXT"); - glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles3wLoad("glMultiDrawElementsEXT"); -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) - glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles3wLoad("glMultiDrawArraysIndirectEXT"); - glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles3wLoad("glMultiDrawElementsIndirectEXT"); -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) - glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles3wLoad("glRenderbufferStorageMultisampleEXT"); - glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles3wLoad("glFramebufferTexture2DMultisampleEXT"); -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) - glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles3wLoad("glReadBufferIndexedEXT"); - glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles3wLoad("glDrawBuffersIndexedEXT"); - glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles3wLoad("glGetIntegeri_vEXT"); -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) - glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles3wLoad("glPolygonOffsetClampEXT"); -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) - glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles3wLoad("glPrimitiveBoundingBoxEXT"); -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) - glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles3wLoad("glRasterSamplesEXT"); -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) - glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles3wLoad("glGetGraphicsResetStatusEXT"); - glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles3wLoad("glReadnPixelsEXT"); - glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles3wLoad("glGetnUniformfvEXT"); - glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles3wLoad("glGetnUniformivEXT"); -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) - glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles3wLoad("glGenSemaphoresEXT"); - glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles3wLoad("glDeleteSemaphoresEXT"); - glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles3wLoad("glIsSemaphoreEXT"); - glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glSemaphoreParameterui64vEXT"); - glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glGetSemaphoreParameterui64vEXT"); - glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles3wLoad("glWaitSemaphoreEXT"); - glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles3wLoad("glSignalSemaphoreEXT"); -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) - glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles3wLoad("glImportSemaphoreFdEXT"); -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) - glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles3wLoad("glImportSemaphoreWin32HandleEXT"); - glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles3wLoad("glImportSemaphoreWin32NameEXT"); -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) - glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles3wLoad("glActiveShaderProgramEXT"); - glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles3wLoad("glBindProgramPipelineEXT"); - glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles3wLoad("glCreateShaderProgramvEXT"); - glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles3wLoad("glDeleteProgramPipelinesEXT"); - glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles3wLoad("glGenProgramPipelinesEXT"); - glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles3wLoad("glGetProgramPipelineInfoLogEXT"); - glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles3wLoad("glGetProgramPipelineivEXT"); - glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles3wLoad("glIsProgramPipelineEXT"); - glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles3wLoad("glProgramParameteriEXT"); - glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles3wLoad("glProgramUniform1fEXT"); - glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles3wLoad("glProgramUniform1fvEXT"); - glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles3wLoad("glProgramUniform1iEXT"); - glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles3wLoad("glProgramUniform1ivEXT"); - glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles3wLoad("glProgramUniform2fEXT"); - glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles3wLoad("glProgramUniform2fvEXT"); - glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles3wLoad("glProgramUniform2iEXT"); - glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles3wLoad("glProgramUniform2ivEXT"); - glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles3wLoad("glProgramUniform3fEXT"); - glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles3wLoad("glProgramUniform3fvEXT"); - glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles3wLoad("glProgramUniform3iEXT"); - glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles3wLoad("glProgramUniform3ivEXT"); - glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles3wLoad("glProgramUniform4fEXT"); - glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles3wLoad("glProgramUniform4fvEXT"); - glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles3wLoad("glProgramUniform4iEXT"); - glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles3wLoad("glProgramUniform4ivEXT"); - glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles3wLoad("glProgramUniformMatrix2fvEXT"); - glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles3wLoad("glProgramUniformMatrix3fvEXT"); - glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles3wLoad("glProgramUniformMatrix4fvEXT"); - glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles3wLoad("glUseProgramStagesEXT"); - glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles3wLoad("glValidateProgramPipelineEXT"); - - glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles3wLoad("glProgramUniform1uiEXT"); - glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles3wLoad("glProgramUniform2uiEXT"); - glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles3wLoad("glProgramUniform3uiEXT"); - glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles3wLoad("glProgramUniform4uiEXT"); - glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles3wLoad("glProgramUniform1uivEXT"); - glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles3wLoad("glProgramUniform2uivEXT"); - glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles3wLoad("glProgramUniform3uivEXT"); - glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles3wLoad("glProgramUniform4uivEXT"); - glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x3fvEXT"); - glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x2fvEXT"); - glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x4fvEXT"); - glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x2fvEXT"); - glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x4fvEXT"); - glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x3fvEXT"); -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) - glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles3wLoad("glFramebufferFetchBarrierEXT"); -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) - glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glFramebufferPixelLocalStorageSizeEXT"); - glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); - glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles3wLoad("glClearPixelLocalStorageuiEXT"); -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) - glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles3wLoad("glTexPageCommitmentEXT"); -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) - glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles3wLoad("glPatchParameteriEXT"); -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) - glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles3wLoad("glTexParameterIivEXT"); - glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles3wLoad("glTexParameterIuivEXT"); - glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles3wLoad("glGetTexParameterIivEXT"); - glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles3wLoad("glGetTexParameterIuivEXT"); - glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glSamplerParameterIivEXT"); - glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glSamplerParameterIuivEXT"); - glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glGetSamplerParameterIivEXT"); - glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glGetSamplerParameterIuivEXT"); -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) - glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles3wLoad("glTexBufferEXT"); - glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles3wLoad("glTexBufferRangeEXT"); -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) - glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles3wLoad("glTexStorage1DEXT"); - glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles3wLoad("glTexStorage2DEXT"); - glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles3wLoad("glTexStorage3DEXT"); - - glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles3wLoad("glTextureStorage1DEXT"); - glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles3wLoad("glTextureStorage2DEXT"); - glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles3wLoad("glTextureStorage3DEXT"); -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) - glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles3wLoad("glTextureViewEXT"); -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) - glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles3wLoad("glCreateSemaphoresNV"); - glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glSemaphoreParameterivNV"); - glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glGetSemaphoreParameterivNV"); -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) - glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glAcquireKeyedMutexWin32EXT"); - glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glReleaseKeyedMutexWin32EXT"); -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) - glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles3wLoad("glWindowRectanglesEXT"); -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) - glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles3wLoad("glGetTextureHandleIMG"); - glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles3wLoad("glGetTextureSamplerHandleIMG"); - glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glUniformHandleui64IMG"); - glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glUniformHandleui64vIMG"); - glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glProgramUniformHandleui64IMG"); - glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glProgramUniformHandleui64vIMG"); -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) - glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DDownsampleIMG"); - glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTextureLayerDownsampleIMG"); -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) - glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles3wLoad("glRenderbufferStorageMultisampleIMG"); - glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DMultisampleIMG"); -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) - glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles3wLoad("glApplyFramebufferAttachmentCMAAINTEL"); -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) - glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles3wLoad("glBeginPerfQueryINTEL"); - glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles3wLoad("glCreatePerfQueryINTEL"); - glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles3wLoad("glDeletePerfQueryINTEL"); - glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles3wLoad("glEndPerfQueryINTEL"); - glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles3wLoad("glGetFirstPerfQueryIdINTEL"); - glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles3wLoad("glGetNextPerfQueryIdINTEL"); - glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles3wLoad("glGetPerfCounterInfoINTEL"); - glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles3wLoad("glGetPerfQueryDataINTEL"); - glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles3wLoad("glGetPerfQueryIdByNameINTEL"); - glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles3wLoad("glGetPerfQueryInfoINTEL"); -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) - glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles3wLoad("glBlendBarrierKHR"); -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) - glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("glDebugMessageControlKHR"); - glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles3wLoad("glDebugMessageInsertKHR"); - glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles3wLoad("glDebugMessageCallbackKHR"); - glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles3wLoad("glGetDebugMessageLogKHR"); - glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles3wLoad("glPushDebugGroupKHR"); - glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles3wLoad("glPopDebugGroupKHR"); - glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles3wLoad("glObjectLabelKHR"); - glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles3wLoad("glGetObjectLabelKHR"); - glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles3wLoad("glObjectPtrLabelKHR"); - glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles3wLoad("glGetObjectPtrLabelKHR"); - glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles3wLoad("glGetPointervKHR"); -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) - glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles3wLoad("glGetGraphicsResetStatusKHR"); - glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles3wLoad("glReadnPixelsKHR"); - glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles3wLoad("glGetnUniformfvKHR"); - glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles3wLoad("glGetnUniformivKHR"); - glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles3wLoad("glGetnUniformuivKHR"); -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) - glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles3wLoad("glMaxShaderCompilerThreadsKHR"); -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) - glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles3wLoad("glFramebufferParameteriMESA"); - glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles3wLoad("glGetFramebufferParameterivMESA"); -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) - glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles3wLoad("glGetTextureHandleNV"); - glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles3wLoad("glGetTextureSamplerHandleNV"); - glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glMakeTextureHandleResidentNV"); - glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeTextureHandleNonResidentNV"); - glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles3wLoad("glGetImageHandleNV"); - glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glMakeImageHandleResidentNV"); - glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeImageHandleNonResidentNV"); - glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles3wLoad("glUniformHandleui64NV"); - glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glUniformHandleui64vNV"); - glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles3wLoad("glProgramUniformHandleui64NV"); - glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glProgramUniformHandleui64vNV"); - glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glIsTextureHandleResidentNV"); - glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glIsImageHandleResidentNV"); -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) - glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles3wLoad("glBlendParameteriNV"); - glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles3wLoad("glBlendBarrierNV"); -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) - glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles3wLoad("glViewportPositionWScaleNV"); -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) - glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles3wLoad("glBeginConditionalRenderNV"); - glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles3wLoad("glEndConditionalRenderNV"); -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) - glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles3wLoad("glSubpixelPrecisionBiasNV"); -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) - glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles3wLoad("glConservativeRasterParameteriNV"); -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) - glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles3wLoad("glCopyBufferSubDataNV"); -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) - glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles3wLoad("glCoverageMaskNV"); - glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles3wLoad("glCoverageOperationNV"); -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) - glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles3wLoad("glDrawBuffersNV"); -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) - glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles3wLoad("glDrawArraysInstancedNV"); - glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles3wLoad("glDrawElementsInstancedNV"); -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) - glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles3wLoad("glDrawVkImageNV"); - glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles3wLoad("glGetVkProcAddrNV"); - glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles3wLoad("glWaitVkSemaphoreNV"); - glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles3wLoad("glSignalVkSemaphoreNV"); - glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles3wLoad("glSignalVkFenceNV"); -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) - glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles3wLoad("glDeleteFencesNV"); - glGenFencesNV = (PFNGLGENFENCESNVPROC)gles3wLoad("glGenFencesNV"); - glIsFenceNV = (PFNGLISFENCENVPROC)gles3wLoad("glIsFenceNV"); - glTestFenceNV = (PFNGLTESTFENCENVPROC)gles3wLoad("glTestFenceNV"); - glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles3wLoad("glGetFenceivNV"); - glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles3wLoad("glFinishFenceNV"); - glSetFenceNV = (PFNGLSETFENCENVPROC)gles3wLoad("glSetFenceNV"); -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) - glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles3wLoad("glFragmentCoverageColorNV"); -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) - glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles3wLoad("glBlitFramebufferNV"); -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) - glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glCoverageModulationTableNV"); - glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glGetCoverageModulationTableNV"); - glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles3wLoad("glCoverageModulationNV"); -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) - glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles3wLoad("glRenderbufferStorageMultisampleNV"); -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) - glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles3wLoad("glUniform1i64NV"); - glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles3wLoad("glUniform2i64NV"); - glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles3wLoad("glUniform3i64NV"); - glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles3wLoad("glUniform4i64NV"); - glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles3wLoad("glUniform1i64vNV"); - glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles3wLoad("glUniform2i64vNV"); - glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles3wLoad("glUniform3i64vNV"); - glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles3wLoad("glUniform4i64vNV"); - glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles3wLoad("glUniform1ui64NV"); - glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles3wLoad("glUniform2ui64NV"); - glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles3wLoad("glUniform3ui64NV"); - glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles3wLoad("glUniform4ui64NV"); - glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles3wLoad("glUniform1ui64vNV"); - glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles3wLoad("glUniform2ui64vNV"); - glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles3wLoad("glUniform3ui64vNV"); - glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles3wLoad("glUniform4ui64vNV"); - glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles3wLoad("glGetUniformi64vNV"); - - glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles3wLoad("glProgramUniform1i64NV"); - glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles3wLoad("glProgramUniform2i64NV"); - glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles3wLoad("glProgramUniform3i64NV"); - glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles3wLoad("glProgramUniform4i64NV"); - glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles3wLoad("glProgramUniform1i64vNV"); - glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles3wLoad("glProgramUniform2i64vNV"); - glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles3wLoad("glProgramUniform3i64vNV"); - glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles3wLoad("glProgramUniform4i64vNV"); - glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles3wLoad("glProgramUniform1ui64NV"); - glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles3wLoad("glProgramUniform2ui64NV"); - glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles3wLoad("glProgramUniform3ui64NV"); - glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles3wLoad("glProgramUniform4ui64NV"); - glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles3wLoad("glProgramUniform1ui64vNV"); - glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles3wLoad("glProgramUniform2ui64vNV"); - glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles3wLoad("glProgramUniform3ui64vNV"); - glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles3wLoad("glProgramUniform4ui64vNV"); -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) - glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles3wLoad("glVertexAttribDivisorNV"); -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) - glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles3wLoad("glGetInternalformatSampleivNV"); -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) - glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles3wLoad("glGetMemoryObjectDetachedResourcesuivNV"); - glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles3wLoad("glResetMemoryObjectParameterNV"); - glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles3wLoad("glTexAttachMemoryNV"); - glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles3wLoad("glBufferAttachMemoryNV"); - - glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles3wLoad("glTextureAttachMemoryNV"); - glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles3wLoad("glNamedBufferAttachMemoryNV"); -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) - glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glBufferPageCommitmentMemNV"); - glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexPageCommitmentMemNV"); - - glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glNamedBufferPageCommitmentMemNV"); - glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexturePageCommitmentMemNV"); -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) - glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles3wLoad("glDrawMeshTasksNV"); - glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectCountNV"); -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) - glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles3wLoad("glUniformMatrix2x3fvNV"); - glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles3wLoad("glUniformMatrix3x2fvNV"); - glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles3wLoad("glUniformMatrix2x4fvNV"); - glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles3wLoad("glUniformMatrix4x2fvNV"); - glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles3wLoad("glUniformMatrix3x4fvNV"); - glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles3wLoad("glUniformMatrix4x3fvNV"); -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) - glGenPathsNV = (PFNGLGENPATHSNVPROC)gles3wLoad("glGenPathsNV"); - glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles3wLoad("glDeletePathsNV"); - glIsPathNV = (PFNGLISPATHNVPROC)gles3wLoad("glIsPathNV"); - glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles3wLoad("glPathCommandsNV"); - glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles3wLoad("glPathCoordsNV"); - glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles3wLoad("glPathSubCommandsNV"); - glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles3wLoad("glPathSubCoordsNV"); - glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles3wLoad("glPathStringNV"); - glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles3wLoad("glPathGlyphsNV"); - glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles3wLoad("glPathGlyphRangeNV"); - glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles3wLoad("glWeightPathsNV"); - glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles3wLoad("glCopyPathNV"); - glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles3wLoad("glInterpolatePathsNV"); - glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles3wLoad("glTransformPathNV"); - glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles3wLoad("glPathParameterivNV"); - glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles3wLoad("glPathParameteriNV"); - glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles3wLoad("glPathParameterfvNV"); - glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles3wLoad("glPathParameterfNV"); - glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles3wLoad("glPathDashArrayNV"); - glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles3wLoad("glPathStencilFuncNV"); - glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles3wLoad("glPathStencilDepthOffsetNV"); - glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles3wLoad("glStencilFillPathNV"); - glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles3wLoad("glStencilStrokePathNV"); - glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilFillPathInstancedNV"); - glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilStrokePathInstancedNV"); - glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles3wLoad("glPathCoverDepthFuncNV"); - glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles3wLoad("glCoverFillPathNV"); - glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles3wLoad("glCoverStrokePathNV"); - glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glCoverFillPathInstancedNV"); - glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glCoverStrokePathInstancedNV"); - glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles3wLoad("glGetPathParameterivNV"); - glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles3wLoad("glGetPathParameterfvNV"); - glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles3wLoad("glGetPathCommandsNV"); - glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles3wLoad("glGetPathCoordsNV"); - glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles3wLoad("glGetPathDashArrayNV"); - glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles3wLoad("glGetPathMetricsNV"); - glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles3wLoad("glGetPathMetricRangeNV"); - glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles3wLoad("glGetPathSpacingNV"); - glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles3wLoad("glIsPointInFillPathNV"); - glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles3wLoad("glIsPointInStrokePathNV"); - glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles3wLoad("glGetPathLengthNV"); - glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles3wLoad("glPointAlongPathNV"); - - glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles3wLoad("glMatrixLoad3x2fNV"); - glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles3wLoad("glMatrixLoad3x3fNV"); - glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixLoadTranspose3x3fNV"); - glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles3wLoad("glMatrixMult3x2fNV"); - glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles3wLoad("glMatrixMult3x3fNV"); - glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixMultTranspose3x3fNV"); - glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles3wLoad("glStencilThenCoverFillPathNV"); - glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles3wLoad("glStencilThenCoverStrokePathNV"); - glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverFillPathInstancedNV"); - glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverStrokePathInstancedNV"); - glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles3wLoad("glPathGlyphIndexRangeNV"); - - glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathGlyphIndexArrayNV"); - glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathMemoryGlyphIndexArrayNV"); - glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles3wLoad("glProgramPathFragmentInputGenNV"); - glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles3wLoad("glGetProgramResourcefvNV"); - - glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles3wLoad("glMatrixFrustumEXT"); - glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles3wLoad("glMatrixLoadIdentityEXT"); - glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles3wLoad("glMatrixLoadTransposefEXT"); - glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles3wLoad("glMatrixLoadTransposedEXT"); - glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles3wLoad("glMatrixLoadfEXT"); - glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles3wLoad("glMatrixLoaddEXT"); - glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles3wLoad("glMatrixMultTransposefEXT"); - glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles3wLoad("glMatrixMultTransposedEXT"); - glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles3wLoad("glMatrixMultfEXT"); - glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles3wLoad("glMatrixMultdEXT"); - glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles3wLoad("glMatrixOrthoEXT"); - glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles3wLoad("glMatrixPopEXT"); - glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles3wLoad("glMatrixPushEXT"); - glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles3wLoad("glMatrixRotatefEXT"); - glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles3wLoad("glMatrixRotatedEXT"); - glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles3wLoad("glMatrixScalefEXT"); - glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles3wLoad("glMatrixScaledEXT"); - glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles3wLoad("glMatrixTranslatefEXT"); - glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles3wLoad("glMatrixTranslatedEXT"); -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) - glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles3wLoad("glPolygonModeNV"); -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) - glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles3wLoad("glReadBufferNV"); -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) - glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glFramebufferSampleLocationsfvNV"); - glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glNamedFramebufferSampleLocationsfvNV"); - glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles3wLoad("glResolveDepthValuesNV"); -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) - glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles3wLoad("glScissorExclusiveNV"); - glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles3wLoad("glScissorExclusiveArrayvNV"); -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) - glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles3wLoad("glBindShadingRateImageNV"); - glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glGetShadingRateImagePaletteNV"); - glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles3wLoad("glGetShadingRateSampleLocationivNV"); - glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles3wLoad("glShadingRateImageBarrierNV"); - glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glShadingRateImagePaletteNV"); - glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles3wLoad("glShadingRateSampleOrderNV"); - glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles3wLoad("glShadingRateSampleOrderCustomNV"); -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) - glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles3wLoad("glViewportArrayvNV"); - glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles3wLoad("glViewportIndexedfNV"); - glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles3wLoad("glViewportIndexedfvNV"); - glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles3wLoad("glScissorArrayvNV"); - glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles3wLoad("glScissorIndexedNV"); - glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles3wLoad("glScissorIndexedvNV"); - glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles3wLoad("glDepthRangeArrayfvNV"); - glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles3wLoad("glDepthRangeIndexedfNV"); - glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles3wLoad("glGetFloati_vNV"); - glEnableiNV = (PFNGLENABLEINVPROC)gles3wLoad("glEnableiNV"); - glDisableiNV = (PFNGLDISABLEINVPROC)gles3wLoad("glDisableiNV"); - glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles3wLoad("glIsEnablediNV"); -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) - glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles3wLoad("glViewportSwizzleNV"); -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) - glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles3wLoad("glEGLImageTargetTexture2DOES"); - glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles3wLoad("glEGLImageTargetRenderbufferStorageOES"); -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) - glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles3wLoad("glCopyImageSubDataOES"); -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) - glEnableiOES = (PFNGLENABLEIOESPROC)gles3wLoad("glEnableiOES"); - glDisableiOES = (PFNGLDISABLEIOESPROC)gles3wLoad("glDisableiOES"); - glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles3wLoad("glBlendEquationiOES"); - glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles3wLoad("glBlendEquationSeparateiOES"); - glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles3wLoad("glBlendFunciOES"); - glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles3wLoad("glBlendFuncSeparateiOES"); - glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles3wLoad("glColorMaskiOES"); - glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles3wLoad("glIsEnablediOES"); -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) - glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawElementsBaseVertexOES"); - glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawRangeElementsBaseVertexOES"); - glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles3wLoad("glDrawElementsInstancedBaseVertexOES"); -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) - glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles3wLoad("glFramebufferTextureOES"); -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) - glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles3wLoad("glGetProgramBinaryOES"); - glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles3wLoad("glProgramBinaryOES"); -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) - glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles3wLoad("glMapBufferOES"); - glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles3wLoad("glUnmapBufferOES"); - glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles3wLoad("glGetBufferPointervOES"); -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) - glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles3wLoad("glPrimitiveBoundingBoxOES"); -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) - glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles3wLoad("glMinSampleShadingOES"); -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) - glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles3wLoad("glPatchParameteriOES"); -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) - glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles3wLoad("glTexImage3DOES"); - glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles3wLoad("glTexSubImage3DOES"); - glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles3wLoad("glCopyTexSubImage3DOES"); - glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles3wLoad("glCompressedTexImage3DOES"); - glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles3wLoad("glCompressedTexSubImage3DOES"); - glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles3wLoad("glFramebufferTexture3DOES"); -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) - glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles3wLoad("glTexParameterIivOES"); - glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles3wLoad("glTexParameterIuivOES"); - glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles3wLoad("glGetTexParameterIivOES"); - glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles3wLoad("glGetTexParameterIuivOES"); - glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glSamplerParameterIivOES"); - glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glSamplerParameterIuivOES"); - glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glGetSamplerParameterIivOES"); - glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glGetSamplerParameterIuivOES"); -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) - glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles3wLoad("glTexBufferOES"); - glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles3wLoad("glTexBufferRangeOES"); -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) - glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles3wLoad("glTexStorage3DMultisampleOES"); -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) - glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles3wLoad("glTextureViewOES"); -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) - glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles3wLoad("glBindVertexArrayOES"); - glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles3wLoad("glDeleteVertexArraysOES"); - glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles3wLoad("glGenVertexArraysOES"); - glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles3wLoad("glIsVertexArrayOES"); -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) - glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles3wLoad("glViewportArrayvOES"); - glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles3wLoad("glViewportIndexedfOES"); - glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles3wLoad("glViewportIndexedfvOES"); - glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles3wLoad("glScissorArrayvOES"); - glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles3wLoad("glScissorIndexedOES"); - glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles3wLoad("glScissorIndexedvOES"); - glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles3wLoad("glDepthRangeArrayfvOES"); - glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles3wLoad("glDepthRangeIndexedfOES"); - glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles3wLoad("glGetFloati_vOES"); -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) - glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultiviewOVR"); -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) - glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultisampleMultiviewOVR"); -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) - glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles3wLoad("glAlphaFuncQCOM"); -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) - glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles3wLoad("glGetDriverControlsQCOM"); - glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles3wLoad("glGetDriverControlStringQCOM"); - glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glEnableDriverControlQCOM"); - glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glDisableDriverControlQCOM"); -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) - glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles3wLoad("glExtGetTexturesQCOM"); - glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles3wLoad("glExtGetBuffersQCOM"); - glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles3wLoad("glExtGetRenderbuffersQCOM"); - glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles3wLoad("glExtGetFramebuffersQCOM"); - glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles3wLoad("glExtGetTexLevelParameterivQCOM"); - glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles3wLoad("glExtTexObjectStateOverrideiQCOM"); - glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles3wLoad("glExtGetTexSubImageQCOM"); - glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles3wLoad("glExtGetBufferPointervQCOM"); -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) - glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles3wLoad("glExtGetShadersQCOM"); - glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles3wLoad("glExtGetProgramsQCOM"); - glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles3wLoad("glExtIsProgramBinaryQCOM"); - glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles3wLoad("glExtGetProgramBinarySourceQCOM"); -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) - glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles3wLoad("glFramebufferFoveationConfigQCOM"); - glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glFramebufferFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) - glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles3wLoad("glTexEstimateMotionQCOM"); - glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles3wLoad("glTexEstimateMotionRegionsQCOM"); -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) - glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles3wLoad("glExtrapolateTex2DQCOM"); -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) - glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glTextureFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) - glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles3wLoad("glFramebufferFetchBarrierQCOM"); -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) - glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles3wLoad("glShadingRateQCOM"); -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) - glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles3wLoad("glStartTilingQCOM"); - glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles3wLoad("glEndTilingQCOM"); -#endif /* defined(GL_QCOM_tiled_rendering) */ - -} diff --git a/native/cocos/renderer/gfx-gles3/gles3w_auto.h b/native/cocos/renderer/gfx-gles3/gles3w_auto.h deleted file mode 100644 index 0fbb0b956c..0000000000 --- a/native/cocos/renderer/gfx-gles3/gles3w_auto.h +++ /dev/null @@ -1,1310 +0,0 @@ -#pragma once - -void gles3wLoadProcs(); - -/* GL_ES_VERSION_2_0 */ -extern PFNGLACTIVETEXTUREPROC glActiveTexture; -extern PFNGLATTACHSHADERPROC glAttachShader; -extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -extern PFNGLBINDBUFFERPROC glBindBuffer; -extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -extern PFNGLBINDTEXTUREPROC glBindTexture; -extern PFNGLBLENDCOLORPROC glBlendColor; -extern PFNGLBLENDEQUATIONPROC glBlendEquation; -extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -extern PFNGLBLENDFUNCPROC glBlendFunc; -extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -extern PFNGLBUFFERDATAPROC glBufferData; -extern PFNGLBUFFERSUBDATAPROC glBufferSubData; -extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -extern PFNGLCLEARPROC glClear; -extern PFNGLCLEARCOLORPROC glClearColor; -extern PFNGLCLEARDEPTHFPROC glClearDepthf; -extern PFNGLCLEARSTENCILPROC glClearStencil; -extern PFNGLCOLORMASKPROC glColorMask; -extern PFNGLCOMPILESHADERPROC glCompileShader; -extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -extern PFNGLCREATEPROGRAMPROC glCreateProgram; -extern PFNGLCREATESHADERPROC glCreateShader; -extern PFNGLCULLFACEPROC glCullFace; -extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; -extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -extern PFNGLDELETEPROGRAMPROC glDeleteProgram; -extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -extern PFNGLDELETESHADERPROC glDeleteShader; -extern PFNGLDELETETEXTURESPROC glDeleteTextures; -extern PFNGLDEPTHFUNCPROC glDepthFunc; -extern PFNGLDEPTHMASKPROC glDepthMask; -extern PFNGLDEPTHRANGEFPROC glDepthRangef; -extern PFNGLDETACHSHADERPROC glDetachShader; -extern PFNGLDISABLEPROC glDisable; -extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -extern PFNGLDRAWARRAYSPROC glDrawArrays; -extern PFNGLDRAWELEMENTSPROC glDrawElements; -extern PFNGLENABLEPROC glEnable; -extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -extern PFNGLFINISHPROC glFinish; -extern PFNGLFLUSHPROC glFlush; -extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -extern PFNGLFRONTFACEPROC glFrontFace; -extern PFNGLGENBUFFERSPROC glGenBuffers; -extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -extern PFNGLGENTEXTURESPROC glGenTextures; -extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -extern PFNGLGETBOOLEANVPROC glGetBooleanv; -extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -extern PFNGLGETERRORPROC glGetError; -extern PFNGLGETFLOATVPROC glGetFloatv; -extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -extern PFNGLGETINTEGERVPROC glGetIntegerv; -extern PFNGLGETPROGRAMIVPROC glGetProgramiv; -extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -extern PFNGLGETSHADERIVPROC glGetShaderiv; -extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; -extern PFNGLGETSTRINGPROC glGetString; -extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -extern PFNGLGETUNIFORMFVPROC glGetUniformfv; -extern PFNGLGETUNIFORMIVPROC glGetUniformiv; -extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -extern PFNGLHINTPROC glHint; -extern PFNGLISBUFFERPROC glIsBuffer; -extern PFNGLISENABLEDPROC glIsEnabled; -extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -extern PFNGLISPROGRAMPROC glIsProgram; -extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -extern PFNGLISSHADERPROC glIsShader; -extern PFNGLISTEXTUREPROC glIsTexture; -extern PFNGLLINEWIDTHPROC glLineWidth; -extern PFNGLLINKPROGRAMPROC glLinkProgram; -extern PFNGLPIXELSTOREIPROC glPixelStorei; -extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; -extern PFNGLREADPIXELSPROC glReadPixels; -extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -extern PFNGLSCISSORPROC glScissor; -extern PFNGLSHADERBINARYPROC glShaderBinary; -extern PFNGLSHADERSOURCEPROC glShaderSource; -extern PFNGLSTENCILFUNCPROC glStencilFunc; -extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -extern PFNGLSTENCILMASKPROC glStencilMask; -extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -extern PFNGLSTENCILOPPROC glStencilOp; -extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -extern PFNGLTEXIMAGE2DPROC glTexImage2D; -extern PFNGLTEXPARAMETERFPROC glTexParameterf; -extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; -extern PFNGLTEXPARAMETERIPROC glTexParameteri; -extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; -extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -extern PFNGLUNIFORM1FPROC glUniform1f; -extern PFNGLUNIFORM1FVPROC glUniform1fv; -extern PFNGLUNIFORM1IPROC glUniform1i; -extern PFNGLUNIFORM1IVPROC glUniform1iv; -extern PFNGLUNIFORM2FPROC glUniform2f; -extern PFNGLUNIFORM2FVPROC glUniform2fv; -extern PFNGLUNIFORM2IPROC glUniform2i; -extern PFNGLUNIFORM2IVPROC glUniform2iv; -extern PFNGLUNIFORM3FPROC glUniform3f; -extern PFNGLUNIFORM3FVPROC glUniform3fv; -extern PFNGLUNIFORM3IPROC glUniform3i; -extern PFNGLUNIFORM3IVPROC glUniform3iv; -extern PFNGLUNIFORM4FPROC glUniform4f; -extern PFNGLUNIFORM4FVPROC glUniform4fv; -extern PFNGLUNIFORM4IPROC glUniform4i; -extern PFNGLUNIFORM4IVPROC glUniform4iv; -extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -extern PFNGLUSEPROGRAMPROC glUseProgram; -extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; -extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -extern PFNGLVIEWPORTPROC glViewport; - - -/* GL_ES_VERSION_3_0 */ -extern PFNGLREADBUFFERPROC glReadBuffer; -extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; -extern PFNGLTEXIMAGE3DPROC glTexImage3D; -extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; -extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; -extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; -extern PFNGLGENQUERIESPROC glGenQueries; -extern PFNGLDELETEQUERIESPROC glDeleteQueries; -extern PFNGLISQUERYPROC glIsQuery; -extern PFNGLBEGINQUERYPROC glBeginQuery; -extern PFNGLENDQUERYPROC glEndQuery; -extern PFNGLGETQUERYIVPROC glGetQueryiv; -extern PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; -extern PFNGLUNMAPBUFFERPROC glUnmapBuffer; -extern PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; -extern PFNGLDRAWBUFFERSPROC glDrawBuffers; -extern PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; -extern PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; -extern PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; -extern PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; -extern PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; -extern PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; -extern PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; -extern PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; -extern PFNGLMAPBUFFERRANGEPROC glMapBufferRange; -extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; -extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray; -extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; -extern PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; -extern PFNGLISVERTEXARRAYPROC glIsVertexArray; -extern PFNGLGETINTEGERI_VPROC glGetIntegeri_v; -extern PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; -extern PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; -extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange; -extern PFNGLBINDBUFFERBASEPROC glBindBufferBase; -extern PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; -extern PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; -extern PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; -extern PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; -extern PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; -extern PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; -extern PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; -extern PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; -extern PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; -extern PFNGLGETUNIFORMUIVPROC glGetUniformuiv; -extern PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; -extern PFNGLUNIFORM1UIPROC glUniform1ui; -extern PFNGLUNIFORM2UIPROC glUniform2ui; -extern PFNGLUNIFORM3UIPROC glUniform3ui; -extern PFNGLUNIFORM4UIPROC glUniform4ui; -extern PFNGLUNIFORM1UIVPROC glUniform1uiv; -extern PFNGLUNIFORM2UIVPROC glUniform2uiv; -extern PFNGLUNIFORM3UIVPROC glUniform3uiv; -extern PFNGLUNIFORM4UIVPROC glUniform4uiv; -extern PFNGLCLEARBUFFERIVPROC glClearBufferiv; -extern PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; -extern PFNGLCLEARBUFFERFVPROC glClearBufferfv; -extern PFNGLCLEARBUFFERFIPROC glClearBufferfi; -extern PFNGLGETSTRINGIPROC glGetStringi; -extern PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; -extern PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; -extern PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; -extern PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; -extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; -extern PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; -extern PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; -extern PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; -extern PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; -extern PFNGLFENCESYNCPROC glFenceSync; -extern PFNGLISSYNCPROC glIsSync; -extern PFNGLDELETESYNCPROC glDeleteSync; -extern PFNGLCLIENTWAITSYNCPROC glClientWaitSync; -extern PFNGLWAITSYNCPROC glWaitSync; -extern PFNGLGETINTEGER64VPROC glGetInteger64v; -extern PFNGLGETSYNCIVPROC glGetSynciv; -extern PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; -extern PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; -extern PFNGLGENSAMPLERSPROC glGenSamplers; -extern PFNGLDELETESAMPLERSPROC glDeleteSamplers; -extern PFNGLISSAMPLERPROC glIsSampler; -extern PFNGLBINDSAMPLERPROC glBindSampler; -extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; -extern PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; -extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; -extern PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; -extern PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; -extern PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; -extern PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; -extern PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; -extern PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; -extern PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; -extern PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; -extern PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; -extern PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; -extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; -extern PFNGLPROGRAMBINARYPROC glProgramBinary; -extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; -extern PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; -extern PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; -extern PFNGLTEXSTORAGE2DPROC glTexStorage2D; -extern PFNGLTEXSTORAGE3DPROC glTexStorage3D; -extern PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; - - -/* GL_ES_VERSION_3_1 */ -extern PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; -extern PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; - -extern PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; -extern PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; - -extern PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; -extern PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; - -extern PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; -extern PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; -extern PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; -extern PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; -extern PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; - -extern PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; -extern PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; -extern PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; -extern PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; -extern PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; -extern PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; -extern PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; -extern PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; -extern PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; -extern PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; -extern PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; -extern PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; -extern PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; -extern PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; -extern PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; -extern PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; -extern PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; -extern PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; -extern PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; -extern PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; -extern PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; -extern PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; -extern PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; -extern PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; -extern PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; -extern PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; -extern PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; -extern PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; -extern PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; -extern PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; -extern PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; -extern PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; -extern PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; -extern PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; -extern PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; -extern PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; -extern PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; -extern PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; -extern PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; -extern PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; -extern PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; -extern PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; -extern PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; - -extern PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; -extern PFNGLGETBOOLEANI_VPROC glGetBooleani_v; -extern PFNGLMEMORYBARRIERPROC glMemoryBarrier; -extern PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; - -extern PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; -extern PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; -extern PFNGLSAMPLEMASKIPROC glSampleMaski; -extern PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; -extern PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; - -extern PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; -extern PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; -extern PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; -extern PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; -extern PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; - - -/* GL_ES_VERSION_3_2 */ -extern PFNGLBLENDBARRIERPROC glBlendBarrier; - -extern PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; - -extern PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; -extern PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; -extern PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; -extern PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; -extern PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; -extern PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; -extern PFNGLOBJECTLABELPROC glObjectLabel; -extern PFNGLGETOBJECTLABELPROC glGetObjectLabel; -extern PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; -extern PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; -extern PFNGLGETPOINTERVPROC glGetPointerv; - -extern PFNGLENABLEIPROC glEnablei; -extern PFNGLDISABLEIPROC glDisablei; -extern PFNGLBLENDEQUATIONIPROC glBlendEquationi; -extern PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; -extern PFNGLBLENDFUNCIPROC glBlendFunci; -extern PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; -extern PFNGLCOLORMASKIPROC glColorMaski; -extern PFNGLISENABLEDIPROC glIsEnabledi; - -extern PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; -extern PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; - -extern PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; - -extern PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; - -extern PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; -extern PFNGLREADNPIXELSPROC glReadnPixels; -extern PFNGLGETNUNIFORMFVPROC glGetnUniformfv; -extern PFNGLGETNUNIFORMIVPROC glGetnUniformiv; -extern PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; - -extern PFNGLMINSAMPLESHADINGPROC glMinSampleShading; - -extern PFNGLPATCHPARAMETERIPROC glPatchParameteri; - -extern PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; -extern PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; -extern PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; -extern PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; -extern PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; -extern PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; -extern PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; -extern PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; - -extern PFNGLTEXBUFFERPROC glTexBuffer; -extern PFNGLTEXBUFFERRANGEPROC glTexBufferRange; - -extern PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; - - -#if defined(GL_AMD_framebuffer_multisample_advanced) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; -extern PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) -extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) -extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) -extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) -extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) -extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) -extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) -extern PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; - -extern PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) -extern PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) -extern PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; -extern PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; -extern PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; -extern PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) -extern PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) -extern PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; -extern PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) -extern PFNGLCLIPCONTROLEXTPROC glClipControlEXT; -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) -extern PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) -extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) -extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) -extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) -extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -extern PFNGLISQUERYEXTPROC glIsQueryEXT; -extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -extern PFNGLENDQUERYEXTPROC glEndQueryEXT; -extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -extern PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) -extern PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) -extern PFNGLENABLEIEXTPROC glEnableiEXT; -extern PFNGLDISABLEIEXTPROC glDisableiEXT; -extern PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; -extern PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; -extern PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; -extern PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; -extern PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; -extern PFNGLISENABLEDIEXTPROC glIsEnablediEXT; -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) -extern PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; -extern PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; -extern PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) -extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) -extern PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; -extern PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) -extern PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; -extern PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) -extern PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) -extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) -extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) -extern PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; -extern PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; -extern PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; -extern PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; -extern PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; -extern PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; -extern PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; -extern PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; -extern PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; -extern PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; -extern PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; -extern PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; - -extern PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; -extern PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; -extern PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; -extern PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; -extern PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) -extern PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) -extern PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; -extern PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) -extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) -extern PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; -extern PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) -extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) -extern PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) -extern PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) -extern PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) -extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) -extern PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; -extern PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; -extern PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; -extern PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; -extern PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; -extern PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; -extern PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) -extern PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) -extern PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; -extern PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) -extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; - -extern PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; -extern PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; -extern PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; -extern PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; -extern PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; -extern PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; -extern PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; -extern PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) -extern PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) -extern PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; -extern PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; -extern PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) -extern PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) -extern PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) -extern PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; -extern PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; -extern PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; -extern PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; -extern PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; -extern PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; -extern PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; -extern PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) -extern PFNGLTEXBUFFEREXTPROC glTexBufferEXT; -extern PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) -extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; - -extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) -extern PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) -extern PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; -extern PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; -extern PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) -extern PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; -extern PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) -extern PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) -extern PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; -extern PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; -extern PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; -extern PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; -extern PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; -extern PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) -extern PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; -extern PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) -extern PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) -extern PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; -extern PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; -extern PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; -extern PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; -extern PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; -extern PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; -extern PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; -extern PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; -extern PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; -extern PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) -extern PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) -extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) -extern PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; -extern PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; -extern PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; -extern PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; -extern PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) -extern PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) -extern PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; -extern PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) -extern PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; -extern PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; -extern PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; -extern PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; -extern PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; -extern PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; -extern PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; -extern PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; -extern PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; -extern PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; -extern PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; -extern PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; -extern PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) -extern PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; -extern PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) -extern PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) -extern PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; -extern PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) -extern PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) -extern PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) -extern PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) -extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) -extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) -extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) -extern PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; -extern PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; -extern PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; -extern PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; -extern PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) -extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -extern PFNGLGENFENCESNVPROC glGenFencesNV; -extern PFNGLISFENCENVPROC glIsFenceNV; -extern PFNGLTESTFENCENVPROC glTestFenceNV; -extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; -extern PFNGLFINISHFENCENVPROC glFinishFenceNV; -extern PFNGLSETFENCENVPROC glSetFenceNV; -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) -extern PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) -extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) -extern PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; -extern PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; -extern PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) -extern PFNGLUNIFORM1I64NVPROC glUniform1i64NV; -extern PFNGLUNIFORM2I64NVPROC glUniform2i64NV; -extern PFNGLUNIFORM3I64NVPROC glUniform3i64NV; -extern PFNGLUNIFORM4I64NVPROC glUniform4i64NV; -extern PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; -extern PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; -extern PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; -extern PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; -extern PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; -extern PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; -extern PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; -extern PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; -extern PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; -extern PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; -extern PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; -extern PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; -extern PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; - -extern PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; -extern PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; -extern PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; -extern PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; -extern PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; -extern PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; -extern PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; -extern PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; -extern PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; -extern PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; -extern PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; -extern PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; -extern PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; -extern PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; -extern PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; -extern PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) -extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) -extern PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) -extern PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; -extern PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; -extern PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; -extern PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; - -extern PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; -extern PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) -extern PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; -extern PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; - -extern PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; -extern PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) -extern PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; -extern PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; -extern PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; -extern PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) -extern PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; -extern PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; -extern PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; -extern PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; -extern PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; -extern PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) -extern PFNGLGENPATHSNVPROC glGenPathsNV; -extern PFNGLDELETEPATHSNVPROC glDeletePathsNV; -extern PFNGLISPATHNVPROC glIsPathNV; -extern PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; -extern PFNGLPATHCOORDSNVPROC glPathCoordsNV; -extern PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; -extern PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; -extern PFNGLPATHSTRINGNVPROC glPathStringNV; -extern PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; -extern PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; -extern PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; -extern PFNGLCOPYPATHNVPROC glCopyPathNV; -extern PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; -extern PFNGLTRANSFORMPATHNVPROC glTransformPathNV; -extern PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; -extern PFNGLPATHPARAMETERINVPROC glPathParameteriNV; -extern PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; -extern PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; -extern PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; -extern PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; -extern PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; -extern PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; -extern PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; -extern PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; -extern PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; -extern PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; -extern PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; -extern PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; -extern PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; -extern PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; -extern PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; -extern PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; -extern PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; -extern PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; -extern PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; -extern PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; -extern PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; -extern PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; -extern PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; -extern PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; -extern PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; -extern PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; - -extern PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; -extern PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; -extern PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; -extern PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; -extern PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; -extern PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; -extern PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; -extern PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; -extern PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; -extern PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; -extern PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; - -extern PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; -extern PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; -extern PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; -extern PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; - -extern PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; -extern PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; -extern PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; -extern PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; -extern PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; -extern PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; -extern PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; -extern PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; -extern PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; -extern PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; -extern PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; -extern PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; -extern PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; -extern PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; -extern PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; -extern PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; -extern PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; -extern PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; -extern PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) -extern PFNGLPOLYGONMODENVPROC glPolygonModeNV; -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) -extern PFNGLREADBUFFERNVPROC glReadBufferNV; -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) -extern PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; -extern PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; -extern PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) -extern PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; -extern PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) -extern PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; -extern PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; -extern PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; -extern PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; -extern PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; -extern PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; -extern PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) -extern PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; -extern PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; -extern PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; -extern PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; -extern PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; -extern PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; -extern PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; -extern PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; -extern PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; -extern PFNGLENABLEINVPROC glEnableiNV; -extern PFNGLDISABLEINVPROC glDisableiNV; -extern PFNGLISENABLEDINVPROC glIsEnablediNV; -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) -extern PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) -extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) -extern PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) -extern PFNGLENABLEIOESPROC glEnableiOES; -extern PFNGLDISABLEIOESPROC glDisableiOES; -extern PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; -extern PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; -extern PFNGLBLENDFUNCIOESPROC glBlendFunciOES; -extern PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; -extern PFNGLCOLORMASKIOESPROC glColorMaskiOES; -extern PFNGLISENABLEDIOESPROC glIsEnablediOES; -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) -extern PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; -extern PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) -extern PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) -extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) -extern PFNGLMAPBUFFEROESPROC glMapBufferOES; -extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) -extern PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) -extern PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) -extern PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) -extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) -extern PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; -extern PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; -extern PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; -extern PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; -extern PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; -extern PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; -extern PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; -extern PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) -extern PFNGLTEXBUFFEROESPROC glTexBufferOES; -extern PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) -extern PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) -extern PFNGLTEXTUREVIEWOESPROC glTextureViewOES; -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) -extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) -extern PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; -extern PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; -extern PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; -extern PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; -extern PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; -extern PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; -extern PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; -extern PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; -extern PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) -extern PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) -extern PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) -extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) -extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) -extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) -extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) -extern PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; -extern PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) -extern PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; -extern PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) -extern PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) -extern PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) -extern PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) -extern PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) -extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; -#endif /* defined(GL_QCOM_tiled_rendering) */ - diff --git a/native/tools/gles-wrangler-generator/generate.js b/native/tools/gles-wrangler-generator/generate.js index 2fc9fb680c..26b6e10e02 100644 --- a/native/tools/gles-wrangler-generator/generate.js +++ b/native/tools/gles-wrangler-generator/generate.js @@ -5,7 +5,7 @@ const axios = require('axios'); const eglRegistry = { local: `${__dirname}/specs/egl.xml`, remote: 'https://www.khronos.org/registry/EGL/api/egl.xml' }; const glRegistry = { local: `${__dirname}/specs/gl.xml`, remote: 'https://www.khronos.org/registry/OpenGL/xml/gl.xml' }; -async function downloadSpec(specInfo) { +const downloadSpec = async (specInfo) => { if (fs.existsSync(specInfo.local)) return; fs.writeFileSync(specInfo.local, (await axios.get(specInfo.remote)).data); } @@ -29,21 +29,21 @@ async function downloadSpec(specInfo) { const glSpec = parser.parse(fs.readFileSync(glRegistry.local).toString(), parseOpt).registry[0]; const eglSpec = parser.parse(fs.readFileSync(eglRegistry.local).toString(), parseOpt).registry[0]; - function generate(spec, featureNames, moduleName, bootstraps = []) { + const generate = (spec, featureNames, moduleName, bootstraps = []) => { const nameRecord = new Set(); let headerDecl = ''; - let implDef = ''; - let implLoad = ''; + let sourceDef = ''; + let sourceLoad = ''; const writeCommand = (name) => { headerDecl += `extern PFN${name.toUpperCase()}PROC ${name};\n`; - implDef += `PFN${name.toUpperCase()}PROC ${name};\n`; - implLoad += ` ${name} = (PFN${name.toUpperCase()}PROC)${moduleName}Load("${name}");\n`; + sourceDef += `PFN${name.toUpperCase()}PROC ${name};\n`; + sourceLoad += ` ${name} = (PFN${name.toUpperCase()}PROC)${moduleName}Load("${name}");\n`; nameRecord.add(name); }; const append = (content) => { headerDecl += content; - implDef += content; - implLoad += content; + sourceDef += content; + sourceLoad += content; }; for (const bootstrap of bootstraps) { writeCommand(bootstrap); @@ -51,8 +51,8 @@ async function downloadSpec(specInfo) { } for (const featureName of featureNames) { headerDecl += `/* ${featureName} */\n`; - implDef += `/* ${featureName} */\n`; - implLoad += ` /* ${featureName} */\n`; + sourceDef += `/* ${featureName} */\n`; + sourceLoad += ` /* ${featureName} */\n`; const feature = spec.feature.find((f) => f.name === featureName); for (const manifest of feature.require) { if (!manifest.command) continue; @@ -87,14 +87,23 @@ async function downloadSpec(specInfo) { append(`#endif /* defined(${extension.name}) */\n\n`); } } - if (!fs.existsSync('output')) fs.mkdirSync('output'); - fs.writeFileSync(`${__dirname}/output/${moduleName}_auto.h`, `#pragma once\n\nvoid ${moduleName}LoadProcs();\n\n${headerDecl}`); - fs.writeFileSync(`${__dirname}/output/${moduleName}_auto.cpp`, `#include "${moduleName}.h"\n\n${implDef}void ${moduleName}LoadProcs() {\n${implLoad}}\n`); + return { headerDecl, sourceDef, sourceLoad }; } - generate(eglSpec, ['EGL_VERSION_1_0', 'EGL_VERSION_1_1', 'EGL_VERSION_1_2', 'EGL_VERSION_1_3', 'EGL_VERSION_1_4', 'EGL_VERSION_1_5'], 'eglw', ['eglGetProcAddress']); - generate(glSpec, ['GL_ES_VERSION_2_0'], 'gles2w'); - generate(glSpec, ['GL_ES_VERSION_2_0', 'GL_ES_VERSION_3_0', 'GL_ES_VERSION_3_1', 'GL_ES_VERSION_3_2'], 'gles3w'); + const eglSrc = generate(eglSpec, ['EGL_VERSION_1_0', 'EGL_VERSION_1_1', 'EGL_VERSION_1_2', 'EGL_VERSION_1_3', 'EGL_VERSION_1_4', 'EGL_VERSION_1_5'], 'eglw', ['eglGetProcAddress']); + const es2Src = generate(glSpec, ['GL_ES_VERSION_2_0'], 'gles2w'); + const es3Src = generate(glSpec, ['GL_ES_VERSION_2_0', 'GL_ES_VERSION_3_0', 'GL_ES_VERSION_3_1', 'GL_ES_VERSION_3_2'], 'gles3w'); + + /* * + const output = (moduleName, generatedSrc) => { + if (!fs.existsSync('output')) fs.mkdirSync('output'); + fs.writeFileSync(`${__dirname}/output/${moduleName}_auto.h`, `#pragma once\n\nvoid ${moduleName}LoadProcs();\n\n${generatedSrc.headerDecl}`); + fs.writeFileSync(`${__dirname}/output/${moduleName}_auto.cpp`, `#include "${moduleName}.h"\n\n` + + `${generatedSrc.sourceDef}void ${moduleName}LoadProcs() {\n${generatedSrc.sourceLoad}}\n`); + }; + output('eglw', eglSrc); + output('gles2w', es2Src); + output('gles3w', es3Src); fs.createReadStream(`${__dirname}/output/eglw_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/eglw_auto.h`)); fs.createReadStream(`${__dirname}/output/eglw_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/eglw_auto.cpp`)); @@ -105,4 +114,25 @@ async function downloadSpec(specInfo) { fs.createReadStream(`${__dirname}/output/eglw_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/eglw_auto.cpp`)); fs.createReadStream(`${__dirname}/output/gles3w_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w_auto.h`)); fs.createReadStream(`${__dirname}/output/gles3w_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w_auto.cpp`)); + /* */ + const update = (path, moduleName, generatedSrc) => { + let header = fs.readFileSync(`${path}.h`); + let source = fs.readFileSync(`${path}.cpp`); + let flag = `/\* ${moduleName.toUpperCase()}_GENERATE_DECLARATION *\/`; + header = header.slice(0, header.indexOf(flag) + flag.length); + header += `\n\n${eglSrc.headerDecl}\n${generatedSrc.headerDecl}\n`; + + flag = `/\* ${moduleName.toUpperCase()}_GENERATE_IMPLEMENTATION *\/`; + source = source.slice(0, source.indexOf(flag) + flag.length); + const eglLoad = eglSrc.sourceLoad.replace(/eglwLoad/g, `${moduleName}Load`); + source += `\n\n${eglSrc.sourceDef}\n${generatedSrc.sourceDef}\n` + + `static void ${moduleName}LoadProcs() {\n${eglLoad}\n${generatedSrc.sourceLoad}}\n`; + + fs.writeFileSync(`${path}.h`, header); + fs.writeFileSync(`${path}.cpp`, source); + }; + + update(`${__dirname}/../../cocos/renderer/gfx-gles2/gles2w`, 'gles2w', es2Src); + update(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w`, 'gles3w', es3Src); + /* */ })(); From 8403b7f24c31e31c40ccb7893fd03d0ed7380053 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 19 Jan 2021 15:52:44 +0800 Subject: [PATCH 124/270] fix mac build --- native/cocos/renderer/gfx-gles2/gles2w.mm | 3600 +++++++++++---- native/cocos/renderer/gfx-gles3/gles3w.mm | 4077 ++++++++++++++--- .../tools/gles-wrangler-generator/generate.js | 33 +- 3 files changed, 6160 insertions(+), 1550 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/gles2w.mm b/native/cocos/renderer/gfx-gles2/gles2w.mm index 8d6042d559..675928bc88 100755 --- a/native/cocos/renderer/gfx-gles2/gles2w.mm +++ b/native/cocos/renderer/gfx-gles2/gles2w.mm @@ -23,70 +23,27 @@ THE SOFTWARE. ****************************************************************************/ #include "gles2w.h" -#if defined(_WIN32) && !defined(ANDROID) -#define WIN32_LEAN_AND_MEAN 1 -#include -#include - -static HMODULE libgl; - -static int open_libgl(void) -{ - libgl = LoadLibraryA("libGLESv2.dll"); - return (libgl != NULL); -} - -static void close_libgl(void) -{ - FreeLibrary(libgl); -} - -static void *get_proc(const char *proc) -{ - void *res; - - res = (void*)eglGetProcAddress(proc); - if (!res) - res = (void*)GetProcAddress(libgl, proc); - return res; -} -#elif defined(__APPLE__) || defined(__APPLE_CC__) #if TARGET_OS_IPHONE -#import -#import -#import -#import -#import - -// Routine to run a system command and retrieve the output. -// From http://stackoverflow.com/questions/478898/how-to-execute-a-command-and-get-output-of-command-within-c -std::string ES2_EXEC(const char* cmd) { - FILE* pipe = popen(cmd, "r"); - if (!pipe) return "ERROR"; - char buffer[128]; - std::string result = ""; - while(!feof(pipe)) { - if(fgets(buffer, 128, pipe) != NULL) - result += buffer; - } - pclose(pipe); - return result; -} + #import + #import + #import + #import + #import + #import static CFBundleRef g_es2Bundle; static CFURLRef g_es2BundleURL; -static int open_libgl(void) -{ -#if TARGET_IPHONE_SIMULATOR +static int gles2wOpen(void) { + #if TARGET_IPHONE_SIMULATOR CFStringRef frameworkPath = CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework"); -#else + #else CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); -#endif + #endif g_es2BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - frameworkPath, - kCFURLPOSIXPathStyle, true); + frameworkPath, + kCFURLPOSIXPathStyle, true); CFRelease(frameworkPath); @@ -95,14 +52,7 @@ static int open_libgl(void) return (g_es2Bundle != NULL); } -static void close_libgl(void) -{ - CFRelease(g_es2Bundle); - CFRelease(g_es2BundleURL); -} - -static void *get_proc(const char *proc) -{ +static void *gles2wLoad(const char *proc) { void *res; CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, @@ -112,724 +62,2836 @@ static void *get_proc(const char *proc) return res; } #else -// macos -#include -#include -#include -#import -#import + // macos + #include + #include + #include + #import + #import -static void* libgl; +static void *libegl; +static void *libgl; -static int open_libgl(void) -{ +static int gles2wOpen(void) { NSURL *appURL = [[NSBundle mainBundle] bundleURL]; + std::string libPath(appURL.resourceSpecifier.UTF8String); + libPath.append("/Contents/Frameworks/libEGL.dylib"); + libegl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); + if (!libegl) printf("%s\n", dlerror()); + + libPath = appURL.resourceSpecifier.UTF8String; libPath.append("/Contents/Frameworks/libGLESv2.dylib"); - - libgl = dlopen(libPath.c_str(), RTLD_LOCAL|RTLD_LAZY); - if (!libgl) - printf("%s\n", dlerror()); - return (libgl != NULL); + libgl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); + if (!libgl) printf("%s\n", dlerror()); + + return (libegl && libgl); } -static void close_libgl(void) -{ - dlclose(libgl); -} - -static void *get_proc(const char *proc) -{ - void *res; - - res = (void*)eglGetProcAddress(proc); - if (!res) - res = (void*)dlsym(libgl, proc); +static void *gles2wLoad(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); + if (!res) res = (void *)dlsym(libegl, proc); return res; } #endif // #if TARGET_OS_IPHONE -#elif defined(__EMSCRIPTEN__) -#include -static void open_libgl() {} -static void close_libgl() {} -static void *get_proc(const char *proc) -{ - return (void*)eglGetProcAddress(proc); -} -#else -#include -#include -static void *libgl; +static void gles2wLoadProcs(); -static int open_libgl(void) -{ - libgl = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); - return libgl != NULL; +bool gles2wInit() { + if (!gles2wOpen()) { + return false; + } + + gles2wLoadProcs(); + + return true; } -static void close_libgl(void) -{ - dlclose(libgl); -} - -static void *get_proc(const char *proc) -{ - void *res; - res = dlsym(libgl, proc); - return res; -} -#endif - -static struct { - int major, minor; -} version; - -static int parse_version(void) -{ - version.major = 2; - version.minor = 0; - - return 0; -} - -static void load_procs(void); - -int gles2wInit(void) -{ - if (!open_libgl()) - { - return 0; - } - - load_procs(); - close_libgl(); - parse_version(); - - return 1; -} - -int gles2wIsSupported(int major, int minor) -{ - if (major < 2) - return 0; - if (version.major == major) - return version.minor >= minor; - return version.major >= major; -} - -void *gles2wGetProcAddress(const char *proc) -{ - return get_proc(proc); -} - -PFNGLACTIVETEXTUREPROC gles2wActiveTexture; -PFNGLATTACHSHADERPROC gles2wAttachShader; -PFNGLBINDATTRIBLOCATIONPROC gles2wBindAttribLocation; -PFNGLBINDBUFFERPROC gles2wBindBuffer; -PFNGLBINDFRAMEBUFFERPROC gles2wBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC gles2wBindRenderbuffer; -PFNGLBINDTEXTUREPROC gles2wBindTexture; -PFNGLBLENDCOLORPROC gles2wBlendColor; -PFNGLBLENDEQUATIONPROC gles2wBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC gles2wBlendEquationSeparate; -PFNGLBLENDFUNCPROC gles2wBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC gles2wBlendFuncSeparate; -PFNGLBUFFERDATAPROC gles2wBufferData; -PFNGLBUFFERSUBDATAPROC gles2wBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC gles2wCheckFramebufferStatus; -PFNGLCLEARPROC gles2wClear; -PFNGLCLEARCOLORPROC gles2wClearColor; -PFNGLCLEARDEPTHFPROC gles2wClearDepthf; -PFNGLCLEARSTENCILPROC gles2wClearStencil; -PFNGLCOLORMASKPROC gles2wColorMask; -PFNGLCOMPILESHADERPROC gles2wCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC gles2wCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC gles2wCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC gles2wCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC gles2wCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC gles2wCreateProgram; -PFNGLCREATESHADERPROC gles2wCreateShader; -PFNGLCULLFACEPROC gles2wCullFace; -PFNGLDELETEBUFFERSPROC gles2wDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC gles2wDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC gles2wDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC gles2wDeleteRenderbuffers; -PFNGLDELETESHADERPROC gles2wDeleteShader; -PFNGLDELETETEXTURESPROC gles2wDeleteTextures; -PFNGLDEPTHFUNCPROC gles2wDepthFunc; -PFNGLDEPTHMASKPROC gles2wDepthMask; -PFNGLDEPTHRANGEFPROC gles2wDepthRangef; -PFNGLDETACHSHADERPROC gles2wDetachShader; -PFNGLDISABLEPROC gles2wDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC gles2wDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC gles2wDrawArrays; -PFNGLDRAWELEMENTSPROC gles2wDrawElements; -PFNGLENABLEPROC gles2wEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC gles2wEnableVertexAttribArray; -PFNGLFINISHPROC gles2wFinish; -PFNGLFLUSHPROC gles2wFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC gles2wFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC gles2wFramebufferTexture2D; -PFNGLFRONTFACEPROC gles2wFrontFace; -PFNGLGENBUFFERSPROC gles2wGenBuffers; -PFNGLGENERATEMIPMAPPROC gles2wGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC gles2wGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC gles2wGenRenderbuffers; -PFNGLGENTEXTURESPROC gles2wGenTextures; -PFNGLGETACTIVEATTRIBPROC gles2wGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC gles2wGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC gles2wGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC gles2wGetAttribLocation; -PFNGLGETBOOLEANVPROC gles2wGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC gles2wGetBufferParameteriv; -PFNGLGETERRORPROC gles2wGetError; -PFNGLGETFLOATVPROC gles2wGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC gles2wGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC gles2wGetIntegerv; -PFNGLGETPROGRAMIVPROC gles2wGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC gles2wGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC gles2wGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC gles2wGetShaderiv; -PFNGLGETSHADERINFOLOGPROC gles2wGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC gles2wGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC gles2wGetShaderSource; -PFNGLGETSTRINGPROC gles2wGetString; -PFNGLGETTEXPARAMETERFVPROC gles2wGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC gles2wGetTexParameteriv; -PFNGLGETUNIFORMFVPROC gles2wGetUniformfv; -PFNGLGETUNIFORMIVPROC gles2wGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC gles2wGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC gles2wGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC gles2wGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC gles2wGetVertexAttribPointerv; -PFNGLHINTPROC gles2wHint; -PFNGLISBUFFERPROC gles2wIsBuffer; -PFNGLISENABLEDPROC gles2wIsEnabled; -PFNGLISFRAMEBUFFERPROC gles2wIsFramebuffer; -PFNGLISPROGRAMPROC gles2wIsProgram; -PFNGLISRENDERBUFFERPROC gles2wIsRenderbuffer; -PFNGLISSHADERPROC gles2wIsShader; -PFNGLISTEXTUREPROC gles2wIsTexture; -PFNGLLINEWIDTHPROC gles2wLineWidth; -PFNGLLINKPROGRAMPROC gles2wLinkProgram; -PFNGLPIXELSTOREIPROC gles2wPixelStorei; -PFNGLPOLYGONOFFSETPROC gles2wPolygonOffset; -PFNGLREADPIXELSPROC gles2wReadPixels; -PFNGLRELEASESHADERCOMPILERPROC gles2wReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC gles2wRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC gles2wSampleCoverage; -PFNGLSCISSORPROC gles2wScissor; -PFNGLSHADERBINARYPROC gles2wShaderBinary; -PFNGLSHADERSOURCEPROC gles2wShaderSource; -PFNGLSTENCILFUNCPROC gles2wStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC gles2wStencilFuncSeparate; -PFNGLSTENCILMASKPROC gles2wStencilMask; -PFNGLSTENCILMASKSEPARATEPROC gles2wStencilMaskSeparate; -PFNGLSTENCILOPPROC gles2wStencilOp; -PFNGLSTENCILOPSEPARATEPROC gles2wStencilOpSeparate; -PFNGLTEXIMAGE2DPROC gles2wTexImage2D; -PFNGLTEXPARAMETERFPROC gles2wTexParameterf; -PFNGLTEXPARAMETERFVPROC gles2wTexParameterfv; -PFNGLTEXPARAMETERIPROC gles2wTexParameteri; -PFNGLTEXPARAMETERIVPROC gles2wTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC gles2wTexSubImage2D; -PFNGLUNIFORM1FPROC gles2wUniform1f; -PFNGLUNIFORM1FVPROC gles2wUniform1fv; -PFNGLUNIFORM1IPROC gles2wUniform1i; -PFNGLUNIFORM1IVPROC gles2wUniform1iv; -PFNGLUNIFORM2FPROC gles2wUniform2f; -PFNGLUNIFORM2FVPROC gles2wUniform2fv; -PFNGLUNIFORM2IPROC gles2wUniform2i; -PFNGLUNIFORM2IVPROC gles2wUniform2iv; -PFNGLUNIFORM3FPROC gles2wUniform3f; -PFNGLUNIFORM3FVPROC gles2wUniform3fv; -PFNGLUNIFORM3IPROC gles2wUniform3i; -PFNGLUNIFORM3IVPROC gles2wUniform3iv; -PFNGLUNIFORM4FPROC gles2wUniform4f; -PFNGLUNIFORM4FVPROC gles2wUniform4fv; -PFNGLUNIFORM4IPROC gles2wUniform4i; -PFNGLUNIFORM4IVPROC gles2wUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC gles2wUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC gles2wUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC gles2wUniformMatrix4fv; -PFNGLUSEPROGRAMPROC gles2wUseProgram; -PFNGLVALIDATEPROGRAMPROC gles2wValidateProgram; -PFNGLVERTEXATTRIB1FPROC gles2wVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC gles2wVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC gles2wVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC gles2wVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC gles2wVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC gles2wVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC gles2wVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC gles2wVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC gles2wVertexAttribPointer; -PFNGLVIEWPORTPROC gles2wViewport; -PFNGLEGLIMAGETARGETTEXTURE2DOESPROC gles2wEGLImageTargetTexture2DOES; -PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC gles2wEGLImageTargetRenderbufferStorageOES; -PFNGLGETPROGRAMBINARYOESPROC gles2wGetProgramBinaryOES; -PFNGLPROGRAMBINARYOESPROC gles2wProgramBinaryOES; -PFNGLMAPBUFFEROESPROC gles2wMapBufferOES; -PFNGLUNMAPBUFFEROESPROC gles2wUnmapBufferOES; -PFNGLGETBUFFERPOINTERVOESPROC gles2wGetBufferPointervOES; -PFNGLTEXIMAGE3DOESPROC gles2wTexImage3DOES; -PFNGLTEXSUBIMAGE3DOESPROC gles2wTexSubImage3DOES; -PFNGLCOPYTEXSUBIMAGE3DOESPROC gles2wCopyTexSubImage3DOES; -PFNGLCOMPRESSEDTEXIMAGE3DOESPROC gles2wCompressedTexImage3DOES; -PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC gles2wCompressedTexSubImage3DOES; -PFNGLFRAMEBUFFERTEXTURE3DOESPROC gles2wFramebufferTexture3DOES; -PFNGLBINDVERTEXARRAYOESPROC gles2wBindVertexArrayOES; -PFNGLDELETEVERTEXARRAYSOESPROC gles2wDeleteVertexArraysOES; -PFNGLGENVERTEXARRAYSOESPROC gles2wGenVertexArraysOES; -PFNGLISVERTEXARRAYOESPROC gles2wIsVertexArrayOES; -PFNGLDEBUGMESSAGECONTROLKHRPROC gles2wDebugMessageControlKHR; -PFNGLDEBUGMESSAGEINSERTKHRPROC gles2wDebugMessageInsertKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC gles2wDebugMessageCallbackKHR; -PFNGLGETDEBUGMESSAGELOGKHRPROC gles2wGetDebugMessageLogKHR; -PFNGLPUSHDEBUGGROUPKHRPROC gles2wPushDebugGroupKHR; -PFNGLPOPDEBUGGROUPKHRPROC gles2wPopDebugGroupKHR; -PFNGLOBJECTLABELKHRPROC gles2wObjectLabelKHR; -PFNGLGETOBJECTLABELKHRPROC gles2wGetObjectLabelKHR; -PFNGLOBJECTPTRLABELKHRPROC gles2wObjectPtrLabelKHR; -PFNGLGETOBJECTPTRLABELKHRPROC gles2wGetObjectPtrLabelKHR; -PFNGLGETPOINTERVKHRPROC gles2wGetPointervKHR; -PFNGLGETPERFMONITORGROUPSAMDPROC gles2wGetPerfMonitorGroupsAMD; -PFNGLGETPERFMONITORCOUNTERSAMDPROC gles2wGetPerfMonitorCountersAMD; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC gles2wGetPerfMonitorGroupStringAMD; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC gles2wGetPerfMonitorCounterStringAMD; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC gles2wGetPerfMonitorCounterInfoAMD; -PFNGLGENPERFMONITORSAMDPROC gles2wGenPerfMonitorsAMD; -PFNGLDELETEPERFMONITORSAMDPROC gles2wDeletePerfMonitorsAMD; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC gles2wSelectPerfMonitorCountersAMD; -PFNGLBEGINPERFMONITORAMDPROC gles2wBeginPerfMonitorAMD; -PFNGLENDPERFMONITORAMDPROC gles2wEndPerfMonitorAMD; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC gles2wGetPerfMonitorCounterDataAMD; -PFNGLBLITFRAMEBUFFERANGLEPROC gles2wBlitFramebufferANGLE; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC gles2wRenderbufferStorageMultisampleANGLE; -PFNGLDRAWARRAYSINSTANCEDANGLEPROC gles2wDrawArraysInstancedANGLE; -PFNGLDRAWELEMENTSINSTANCEDANGLEPROC gles2wDrawElementsInstancedANGLE; -PFNGLVERTEXATTRIBDIVISORANGLEPROC gles2wVertexAttribDivisorANGLE; -PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC gles2wGetTranslatedShaderSourceANGLE; -PFNGLDRAWARRAYSINSTANCEDEXTPROC gles2wDrawArraysInstancedEXT; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC gles2wDrawElementsInstancedEXT; -PFNGLVERTEXATTRIBDIVISOREXTPROC gles2wVertexAttribDivisorEXT; -PFNGLCOPYTEXTURELEVELSAPPLEPROC gles2wCopyTextureLevelsAPPLE; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC gles2wRenderbufferStorageMultisampleAPPLE; -PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC gles2wResolveMultisampleFramebufferAPPLE; -PFNGLFENCESYNCAPPLEPROC gles2wFenceSyncAPPLE; -PFNGLISSYNCAPPLEPROC gles2wIsSyncAPPLE; -PFNGLDELETESYNCAPPLEPROC gles2wDeleteSyncAPPLE; -PFNGLCLIENTWAITSYNCAPPLEPROC gles2wClientWaitSyncAPPLE; -PFNGLWAITSYNCAPPLEPROC gles2wWaitSyncAPPLE; -PFNGLGETINTEGER64VAPPLEPROC gles2wGetInteger64vAPPLE; -PFNGLGETSYNCIVAPPLEPROC gles2wGetSyncivAPPLE; -PFNGLLABELOBJECTEXTPROC gles2wLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC gles2wGetObjectLabelEXT; -PFNGLINSERTEVENTMARKEREXTPROC gles2wInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC gles2wPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC gles2wPopGroupMarkerEXT; -PFNGLDISCARDFRAMEBUFFEREXTPROC gles2wDiscardFramebufferEXT; -PFNGLGENQUERIESEXTPROC gles2wGenQueriesEXT; -PFNGLDELETEQUERIESEXTPROC gles2wDeleteQueriesEXT; -PFNGLISQUERYEXTPROC gles2wIsQueryEXT; -PFNGLBEGINQUERYEXTPROC gles2wBeginQueryEXT; -PFNGLENDQUERYEXTPROC gles2wEndQueryEXT; -PFNGLQUERYCOUNTEREXTPROC gles2wQueryCounterEXT; -PFNGLGETQUERYIVEXTPROC gles2wGetQueryivEXT; -PFNGLGETQUERYOBJECTIVEXTPROC gles2wGetQueryObjectivEXT; -PFNGLGETQUERYOBJECTUIVEXTPROC gles2wGetQueryObjectuivEXT; -PFNGLGETQUERYOBJECTI64VEXTPROC gles2wGetQueryObjecti64vEXT; -PFNGLGETQUERYOBJECTUI64VEXTPROC gles2wGetQueryObjectui64vEXT; -PFNGLMAPBUFFERRANGEEXTPROC gles2wMapBufferRangeEXT; -PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC gles2wFlushMappedBufferRangeEXT; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC gles2wRenderbufferStorageMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC gles2wFramebufferTexture2DMultisampleEXT; -PFNGLREADBUFFERINDEXEDEXTPROC gles2wReadBufferIndexedEXT; -PFNGLDRAWBUFFERSINDEXEDEXTPROC gles2wDrawBuffersIndexedEXT; -PFNGLGETINTEGERI_VEXTPROC gles2wGetIntegeri_vEXT; -PFNGLMULTIDRAWARRAYSEXTPROC gles2wMultiDrawArraysEXT; -PFNGLMULTIDRAWELEMENTSEXTPROC gles2wMultiDrawElementsEXT; -PFNGLGETGRAPHICSRESETSTATUSEXTPROC gles2wGetGraphicsResetStatusEXT; -PFNGLREADNPIXELSEXTPROC gles2wReadnPixelsEXT; -PFNGLGETNUNIFORMFVEXTPROC gles2wGetnUniformfvEXT; -PFNGLGETNUNIFORMIVEXTPROC gles2wGetnUniformivEXT; -PFNGLUSEPROGRAMSTAGESEXTPROC gles2wUseProgramStagesEXT; -PFNGLACTIVESHADERPROGRAMEXTPROC gles2wActiveShaderProgramEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC gles2wCreateShaderProgramvEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC gles2wBindProgramPipelineEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC gles2wDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC gles2wGenProgramPipelinesEXT; -PFNGLISPROGRAMPIPELINEEXTPROC gles2wIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC gles2wProgramParameteriEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC gles2wGetProgramPipelineivEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC gles2wProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC gles2wProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC gles2wProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC gles2wProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC gles2wProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC gles2wProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC gles2wProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC gles2wProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC gles2wProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC gles2wProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC gles2wProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC gles2wProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC gles2wProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC gles2wProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC gles2wProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC gles2wProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC gles2wProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC gles2wProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC gles2wProgramUniformMatrix4fvEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC gles2wValidateProgramPipelineEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC gles2wGetProgramPipelineInfoLogEXT; -PFNGLTEXSTORAGE1DEXTPROC gles2wTexStorage1DEXT; -PFNGLTEXSTORAGE2DEXTPROC gles2wTexStorage2DEXT; -PFNGLTEXSTORAGE3DEXTPROC gles2wTexStorage3DEXT; -PFNGLTEXTURESTORAGE1DEXTPROC gles2wTextureStorage1DEXT; -PFNGLTEXTURESTORAGE2DEXTPROC gles2wTextureStorage2DEXT; -PFNGLTEXTURESTORAGE3DEXTPROC gles2wTextureStorage3DEXT; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC gles2wRenderbufferStorageMultisampleIMG; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC gles2wFramebufferTexture2DMultisampleIMG; -PFNGLCOVERAGEMASKNVPROC gles2wCoverageMaskNV; -PFNGLCOVERAGEOPERATIONNVPROC gles2wCoverageOperationNV; -PFNGLDRAWBUFFERSNVPROC gles2wDrawBuffersNV; -PFNGLDRAWARRAYSINSTANCEDNVPROC gles2wDrawArraysInstancedNV; -PFNGLDRAWELEMENTSINSTANCEDNVPROC gles2wDrawElementsInstancedNV; -PFNGLDELETEFENCESNVPROC gles2wDeleteFencesNV; -PFNGLGENFENCESNVPROC gles2wGenFencesNV; -PFNGLISFENCENVPROC gles2wIsFenceNV; -PFNGLTESTFENCENVPROC gles2wTestFenceNV; -PFNGLGETFENCEIVNVPROC gles2wGetFenceivNV; -PFNGLFINISHFENCENVPROC gles2wFinishFenceNV; -PFNGLSETFENCENVPROC gles2wSetFenceNV; -PFNGLBLITFRAMEBUFFERNVPROC gles2wBlitFramebufferNV; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC gles2wRenderbufferStorageMultisampleNV; -PFNGLVERTEXATTRIBDIVISORNVPROC gles2wVertexAttribDivisorNV; -PFNGLREADBUFFERNVPROC gles2wReadBufferNV; -PFNGLALPHAFUNCQCOMPROC gles2wAlphaFuncQCOM; -PFNGLGETDRIVERCONTROLSQCOMPROC gles2wGetDriverControlsQCOM; -PFNGLGETDRIVERCONTROLSTRINGQCOMPROC gles2wGetDriverControlStringQCOM; -PFNGLENABLEDRIVERCONTROLQCOMPROC gles2wEnableDriverControlQCOM; -PFNGLDISABLEDRIVERCONTROLQCOMPROC gles2wDisableDriverControlQCOM; -PFNGLEXTGETTEXTURESQCOMPROC gles2wExtGetTexturesQCOM; -PFNGLEXTGETBUFFERSQCOMPROC gles2wExtGetBuffersQCOM; -PFNGLEXTGETRENDERBUFFERSQCOMPROC gles2wExtGetRenderbuffersQCOM; -PFNGLEXTGETFRAMEBUFFERSQCOMPROC gles2wExtGetFramebuffersQCOM; -PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC gles2wExtGetTexLevelParameterivQCOM; -PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC gles2wExtTexObjectStateOverrideiQCOM; -PFNGLEXTGETTEXSUBIMAGEQCOMPROC gles2wExtGetTexSubImageQCOM; -PFNGLEXTGETBUFFERPOINTERVQCOMPROC gles2wExtGetBufferPointervQCOM; -PFNGLEXTGETSHADERSQCOMPROC gles2wExtGetShadersQCOM; -PFNGLEXTGETPROGRAMSQCOMPROC gles2wExtGetProgramsQCOM; -PFNGLEXTISPROGRAMBINARYQCOMPROC gles2wExtIsProgramBinaryQCOM; -PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC gles2wExtGetProgramBinarySourceQCOM; -PFNGLSTARTTILINGQCOMPROC gles2wStartTilingQCOM; -PFNGLENDTILINGQCOMPROC gles2wEndTilingQCOM; - -static void load_procs(void) -{ - gles2wActiveTexture = (PFNGLACTIVETEXTUREPROC) get_proc("glActiveTexture"); - gles2wAttachShader = (PFNGLATTACHSHADERPROC) get_proc("glAttachShader"); - gles2wBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC) get_proc("glBindAttribLocation"); - gles2wBindBuffer = (PFNGLBINDBUFFERPROC) get_proc("glBindBuffer"); - gles2wBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC) get_proc("glBindFramebuffer"); - gles2wBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC) get_proc("glBindRenderbuffer"); - gles2wBindTexture = (PFNGLBINDTEXTUREPROC) get_proc("glBindTexture"); - gles2wBlendColor = (PFNGLBLENDCOLORPROC) get_proc("glBlendColor"); - gles2wBlendEquation = (PFNGLBLENDEQUATIONPROC) get_proc("glBlendEquation"); - gles2wBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC) get_proc("glBlendEquationSeparate"); - gles2wBlendFunc = (PFNGLBLENDFUNCPROC) get_proc("glBlendFunc"); - gles2wBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC) get_proc("glBlendFuncSeparate"); - gles2wBufferData = (PFNGLBUFFERDATAPROC) get_proc("glBufferData"); - gles2wBufferSubData = (PFNGLBUFFERSUBDATAPROC) get_proc("glBufferSubData"); - gles2wCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC) get_proc("glCheckFramebufferStatus"); - gles2wClear = (PFNGLCLEARPROC) get_proc("glClear"); - gles2wClearColor = (PFNGLCLEARCOLORPROC) get_proc("glClearColor"); - gles2wClearDepthf = (PFNGLCLEARDEPTHFPROC) get_proc("glClearDepthf"); - gles2wClearStencil = (PFNGLCLEARSTENCILPROC) get_proc("glClearStencil"); - gles2wColorMask = (PFNGLCOLORMASKPROC) get_proc("glColorMask"); - gles2wCompileShader = (PFNGLCOMPILESHADERPROC) get_proc("glCompileShader"); - gles2wCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC) get_proc("glCompressedTexImage2D"); - gles2wCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) get_proc("glCompressedTexSubImage2D"); - gles2wCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC) get_proc("glCopyTexImage2D"); - gles2wCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC) get_proc("glCopyTexSubImage2D"); - gles2wCreateProgram = (PFNGLCREATEPROGRAMPROC) get_proc("glCreateProgram"); - gles2wCreateShader = (PFNGLCREATESHADERPROC) get_proc("glCreateShader"); - gles2wCullFace = (PFNGLCULLFACEPROC) get_proc("glCullFace"); - gles2wDeleteBuffers = (PFNGLDELETEBUFFERSPROC) get_proc("glDeleteBuffers"); - gles2wDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC) get_proc("glDeleteFramebuffers"); - gles2wDeleteProgram = (PFNGLDELETEPROGRAMPROC) get_proc("glDeleteProgram"); - gles2wDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC) get_proc("glDeleteRenderbuffers"); - gles2wDeleteShader = (PFNGLDELETESHADERPROC) get_proc("glDeleteShader"); - gles2wDeleteTextures = (PFNGLDELETETEXTURESPROC) get_proc("glDeleteTextures"); - gles2wDepthFunc = (PFNGLDEPTHFUNCPROC) get_proc("glDepthFunc"); - gles2wDepthMask = (PFNGLDEPTHMASKPROC) get_proc("glDepthMask"); - gles2wDepthRangef = (PFNGLDEPTHRANGEFPROC) get_proc("glDepthRangef"); - gles2wDetachShader = (PFNGLDETACHSHADERPROC) get_proc("glDetachShader"); - gles2wDisable = (PFNGLDISABLEPROC) get_proc("glDisable"); - gles2wDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC) get_proc("glDisableVertexAttribArray"); - gles2wDrawArrays = (PFNGLDRAWARRAYSPROC) get_proc("glDrawArrays"); - gles2wDrawElements = (PFNGLDRAWELEMENTSPROC) get_proc("glDrawElements"); - gles2wEnable = (PFNGLENABLEPROC) get_proc("glEnable"); - gles2wEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC) get_proc("glEnableVertexAttribArray"); - gles2wFinish = (PFNGLFINISHPROC) get_proc("glFinish"); - gles2wFlush = (PFNGLFLUSHPROC) get_proc("glFlush"); - gles2wFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC) get_proc("glFramebufferRenderbuffer"); - gles2wFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC) get_proc("glFramebufferTexture2D"); - gles2wFrontFace = (PFNGLFRONTFACEPROC) get_proc("glFrontFace"); - gles2wGenBuffers = (PFNGLGENBUFFERSPROC) get_proc("glGenBuffers"); - gles2wGenerateMipmap = (PFNGLGENERATEMIPMAPPROC) get_proc("glGenerateMipmap"); - gles2wGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC) get_proc("glGenFramebuffers"); - gles2wGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC) get_proc("glGenRenderbuffers"); - gles2wGenTextures = (PFNGLGENTEXTURESPROC) get_proc("glGenTextures"); - gles2wGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC) get_proc("glGetActiveAttrib"); - gles2wGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC) get_proc("glGetActiveUniform"); - gles2wGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC) get_proc("glGetAttachedShaders"); - gles2wGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC) get_proc("glGetAttribLocation"); - gles2wGetBooleanv = (PFNGLGETBOOLEANVPROC) get_proc("glGetBooleanv"); - gles2wGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC) get_proc("glGetBufferParameteriv"); - gles2wGetError = (PFNGLGETERRORPROC) get_proc("glGetError"); - gles2wGetFloatv = (PFNGLGETFLOATVPROC) get_proc("glGetFloatv"); - gles2wGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) get_proc("glGetFramebufferAttachmentParameteriv"); - gles2wGetIntegerv = (PFNGLGETINTEGERVPROC) get_proc("glGetIntegerv"); - gles2wGetProgramiv = (PFNGLGETPROGRAMIVPROC) get_proc("glGetProgramiv"); - gles2wGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC) get_proc("glGetProgramInfoLog"); - gles2wGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC) get_proc("glGetRenderbufferParameteriv"); - gles2wGetShaderiv = (PFNGLGETSHADERIVPROC) get_proc("glGetShaderiv"); - gles2wGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC) get_proc("glGetShaderInfoLog"); - gles2wGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC) get_proc("glGetShaderPrecisionFormat"); - gles2wGetShaderSource = (PFNGLGETSHADERSOURCEPROC) get_proc("glGetShaderSource"); - gles2wGetString = (PFNGLGETSTRINGPROC) get_proc("glGetString"); - gles2wGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC) get_proc("glGetTexParameterfv"); - gles2wGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC) get_proc("glGetTexParameteriv"); - gles2wGetUniformfv = (PFNGLGETUNIFORMFVPROC) get_proc("glGetUniformfv"); - gles2wGetUniformiv = (PFNGLGETUNIFORMIVPROC) get_proc("glGetUniformiv"); - gles2wGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC) get_proc("glGetUniformLocation"); - gles2wGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC) get_proc("glGetVertexAttribfv"); - gles2wGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC) get_proc("glGetVertexAttribiv"); - gles2wGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC) get_proc("glGetVertexAttribPointerv"); - gles2wHint = (PFNGLHINTPROC) get_proc("glHint"); - gles2wIsBuffer = (PFNGLISBUFFERPROC) get_proc("glIsBuffer"); - gles2wIsEnabled = (PFNGLISENABLEDPROC) get_proc("glIsEnabled"); - gles2wIsFramebuffer = (PFNGLISFRAMEBUFFERPROC) get_proc("glIsFramebuffer"); - gles2wIsProgram = (PFNGLISPROGRAMPROC) get_proc("glIsProgram"); - gles2wIsRenderbuffer = (PFNGLISRENDERBUFFERPROC) get_proc("glIsRenderbuffer"); - gles2wIsShader = (PFNGLISSHADERPROC) get_proc("glIsShader"); - gles2wIsTexture = (PFNGLISTEXTUREPROC) get_proc("glIsTexture"); - gles2wLineWidth = (PFNGLLINEWIDTHPROC) get_proc("glLineWidth"); - gles2wLinkProgram = (PFNGLLINKPROGRAMPROC) get_proc("glLinkProgram"); - gles2wPixelStorei = (PFNGLPIXELSTOREIPROC) get_proc("glPixelStorei"); - gles2wPolygonOffset = (PFNGLPOLYGONOFFSETPROC) get_proc("glPolygonOffset"); - gles2wReadPixels = (PFNGLREADPIXELSPROC) get_proc("glReadPixels"); - gles2wReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC) get_proc("glReleaseShaderCompiler"); - gles2wRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC) get_proc("glRenderbufferStorage"); - gles2wSampleCoverage = (PFNGLSAMPLECOVERAGEPROC) get_proc("glSampleCoverage"); - gles2wScissor = (PFNGLSCISSORPROC) get_proc("glScissor"); - gles2wShaderBinary = (PFNGLSHADERBINARYPROC) get_proc("glShaderBinary"); - gles2wShaderSource = (PFNGLSHADERSOURCEPROC) get_proc("glShaderSource"); - gles2wStencilFunc = (PFNGLSTENCILFUNCPROC) get_proc("glStencilFunc"); - gles2wStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC) get_proc("glStencilFuncSeparate"); - gles2wStencilMask = (PFNGLSTENCILMASKPROC) get_proc("glStencilMask"); - gles2wStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC) get_proc("glStencilMaskSeparate"); - gles2wStencilOp = (PFNGLSTENCILOPPROC) get_proc("glStencilOp"); - gles2wStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC) get_proc("glStencilOpSeparate"); - gles2wTexImage2D = (PFNGLTEXIMAGE2DPROC) get_proc("glTexImage2D"); - gles2wTexParameterf = (PFNGLTEXPARAMETERFPROC) get_proc("glTexParameterf"); - gles2wTexParameterfv = (PFNGLTEXPARAMETERFVPROC) get_proc("glTexParameterfv"); - gles2wTexParameteri = (PFNGLTEXPARAMETERIPROC) get_proc("glTexParameteri"); - gles2wTexParameteriv = (PFNGLTEXPARAMETERIVPROC) get_proc("glTexParameteriv"); - gles2wTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC) get_proc("glTexSubImage2D"); - gles2wUniform1f = (PFNGLUNIFORM1FPROC) get_proc("glUniform1f"); - gles2wUniform1fv = (PFNGLUNIFORM1FVPROC) get_proc("glUniform1fv"); - gles2wUniform1i = (PFNGLUNIFORM1IPROC) get_proc("glUniform1i"); - gles2wUniform1iv = (PFNGLUNIFORM1IVPROC) get_proc("glUniform1iv"); - gles2wUniform2f = (PFNGLUNIFORM2FPROC) get_proc("glUniform2f"); - gles2wUniform2fv = (PFNGLUNIFORM2FVPROC) get_proc("glUniform2fv"); - gles2wUniform2i = (PFNGLUNIFORM2IPROC) get_proc("glUniform2i"); - gles2wUniform2iv = (PFNGLUNIFORM2IVPROC) get_proc("glUniform2iv"); - gles2wUniform3f = (PFNGLUNIFORM3FPROC) get_proc("glUniform3f"); - gles2wUniform3fv = (PFNGLUNIFORM3FVPROC) get_proc("glUniform3fv"); - gles2wUniform3i = (PFNGLUNIFORM3IPROC) get_proc("glUniform3i"); - gles2wUniform3iv = (PFNGLUNIFORM3IVPROC) get_proc("glUniform3iv"); - gles2wUniform4f = (PFNGLUNIFORM4FPROC) get_proc("glUniform4f"); - gles2wUniform4fv = (PFNGLUNIFORM4FVPROC) get_proc("glUniform4fv"); - gles2wUniform4i = (PFNGLUNIFORM4IPROC) get_proc("glUniform4i"); - gles2wUniform4iv = (PFNGLUNIFORM4IVPROC) get_proc("glUniform4iv"); - gles2wUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC) get_proc("glUniformMatrix2fv"); - gles2wUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC) get_proc("glUniformMatrix3fv"); - gles2wUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC) get_proc("glUniformMatrix4fv"); - gles2wUseProgram = (PFNGLUSEPROGRAMPROC) get_proc("glUseProgram"); - gles2wValidateProgram = (PFNGLVALIDATEPROGRAMPROC) get_proc("glValidateProgram"); - gles2wVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC) get_proc("glVertexAttrib1f"); - gles2wVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC) get_proc("glVertexAttrib1fv"); - gles2wVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC) get_proc("glVertexAttrib2f"); - gles2wVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC) get_proc("glVertexAttrib2fv"); - gles2wVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC) get_proc("glVertexAttrib3f"); - gles2wVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC) get_proc("glVertexAttrib3fv"); - gles2wVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC) get_proc("glVertexAttrib4f"); - gles2wVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC) get_proc("glVertexAttrib4fv"); - gles2wVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC) get_proc("glVertexAttribPointer"); - gles2wViewport = (PFNGLVIEWPORTPROC) get_proc("glViewport"); - gles2wEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) get_proc("glEGLImageTargetTexture2DOES"); - gles2wEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) get_proc("glEGLImageTargetRenderbufferStorageOES"); - gles2wGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC) get_proc("glGetProgramBinaryOES"); - gles2wProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC) get_proc("glProgramBinaryOES"); - gles2wMapBufferOES = (PFNGLMAPBUFFEROESPROC) get_proc("glMapBufferOES"); - gles2wUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC) get_proc("glUnmapBufferOES"); - gles2wGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC) get_proc("glGetBufferPointervOES"); - gles2wTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC) get_proc("glTexImage3DOES"); - gles2wTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC) get_proc("glTexSubImage3DOES"); - gles2wCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC) get_proc("glCopyTexSubImage3DOES"); - gles2wCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) get_proc("glCompressedTexImage3DOES"); - gles2wCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) get_proc("glCompressedTexSubImage3DOES"); - gles2wFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC) get_proc("glFramebufferTexture3DOES"); - gles2wBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC) get_proc("glBindVertexArrayOES"); - gles2wDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC) get_proc("glDeleteVertexArraysOES"); - gles2wGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC) get_proc("glGenVertexArraysOES"); - gles2wIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC) get_proc("glIsVertexArrayOES"); - gles2wDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC) get_proc("glDebugMessageControlKHR"); - gles2wDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC) get_proc("glDebugMessageInsertKHR"); - gles2wDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC) get_proc("glDebugMessageCallbackKHR"); - gles2wGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC) get_proc("glGetDebugMessageLogKHR"); - gles2wPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC) get_proc("glPushDebugGroupKHR"); - gles2wPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC) get_proc("glPopDebugGroupKHR"); - gles2wObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC) get_proc("glObjectLabelKHR"); - gles2wGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC) get_proc("glGetObjectLabelKHR"); - gles2wObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC) get_proc("glObjectPtrLabelKHR"); - gles2wGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC) get_proc("glGetObjectPtrLabelKHR"); - gles2wGetPointervKHR = (PFNGLGETPOINTERVKHRPROC) get_proc("glGetPointervKHR"); - gles2wGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC) get_proc("glGetPerfMonitorGroupsAMD"); - gles2wGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC) get_proc("glGetPerfMonitorCountersAMD"); - gles2wGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) get_proc("glGetPerfMonitorGroupStringAMD"); - gles2wGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) get_proc("glGetPerfMonitorCounterStringAMD"); - gles2wGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) get_proc("glGetPerfMonitorCounterInfoAMD"); - gles2wGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC) get_proc("glGenPerfMonitorsAMD"); - gles2wDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC) get_proc("glDeletePerfMonitorsAMD"); - gles2wSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) get_proc("glSelectPerfMonitorCountersAMD"); - gles2wBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC) get_proc("glBeginPerfMonitorAMD"); - gles2wEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC) get_proc("glEndPerfMonitorAMD"); - gles2wGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) get_proc("glGetPerfMonitorCounterDataAMD"); - gles2wBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC) get_proc("glBlitFramebufferANGLE"); - gles2wRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) get_proc("glRenderbufferStorageMultisampleANGLE"); - gles2wDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC) get_proc("glDrawArraysInstancedANGLE"); - gles2wDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) get_proc("glDrawElementsInstancedANGLE"); - gles2wVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC) get_proc("glVertexAttribDivisorANGLE"); - gles2wGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) get_proc("glGetTranslatedShaderSourceANGLE"); - gles2wDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC) get_proc("glDrawArraysInstancedEXT"); - gles2wDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC) get_proc("glDrawElementsInstancedEXT"); - gles2wVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC) get_proc("glVertexAttribDivisorEXT"); - gles2wCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC) get_proc("glCopyTextureLevelsAPPLE"); - gles2wRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) get_proc("glRenderbufferStorageMultisampleAPPLE"); - gles2wResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) get_proc("glResolveMultisampleFramebufferAPPLE"); - gles2wFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC) get_proc("glFenceSyncAPPLE"); - gles2wIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC) get_proc("glIsSyncAPPLE"); - gles2wDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC) get_proc("glDeleteSyncAPPLE"); - gles2wClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC) get_proc("glClientWaitSyncAPPLE"); - gles2wWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC) get_proc("glWaitSyncAPPLE"); - gles2wGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC) get_proc("glGetInteger64vAPPLE"); - gles2wGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC) get_proc("glGetSyncivAPPLE"); - gles2wLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC) get_proc("glLabelObjectEXT"); - gles2wGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC) get_proc("glGetObjectLabelEXT"); - gles2wInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC) get_proc("glInsertEventMarkerEXT"); - gles2wPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC) get_proc("glPushGroupMarkerEXT"); - gles2wPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC) get_proc("glPopGroupMarkerEXT"); - gles2wDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC) get_proc("glDiscardFramebufferEXT"); - gles2wGenQueriesEXT = (PFNGLGENQUERIESEXTPROC) get_proc("glGenQueriesEXT"); - gles2wDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC) get_proc("glDeleteQueriesEXT"); - gles2wIsQueryEXT = (PFNGLISQUERYEXTPROC) get_proc("glIsQueryEXT"); - gles2wBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC) get_proc("glBeginQueryEXT"); - gles2wEndQueryEXT = (PFNGLENDQUERYEXTPROC) get_proc("glEndQueryEXT"); - gles2wQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC) get_proc("glQueryCounterEXT"); - gles2wGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC) get_proc("glGetQueryivEXT"); - gles2wGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC) get_proc("glGetQueryObjectivEXT"); - gles2wGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC) get_proc("glGetQueryObjectuivEXT"); - gles2wGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC) get_proc("glGetQueryObjecti64vEXT"); - gles2wGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC) get_proc("glGetQueryObjectui64vEXT"); - gles2wMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC) get_proc("glMapBufferRangeEXT"); - gles2wFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) get_proc("glFlushMappedBufferRangeEXT"); - gles2wRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) get_proc("glRenderbufferStorageMultisampleEXT"); - gles2wFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) get_proc("glFramebufferTexture2DMultisampleEXT"); - gles2wReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC) get_proc("glReadBufferIndexedEXT"); - gles2wDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC) get_proc("glDrawBuffersIndexedEXT"); - gles2wGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC) get_proc("glGetIntegeri_vEXT"); - gles2wMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC) get_proc("glMultiDrawArraysEXT"); - gles2wMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC) get_proc("glMultiDrawElementsEXT"); - gles2wGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC) get_proc("glGetGraphicsResetStatusEXT"); - gles2wReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC) get_proc("glReadnPixelsEXT"); - gles2wGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC) get_proc("glGetnUniformfvEXT"); - gles2wGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC) get_proc("glGetnUniformivEXT"); - gles2wUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC) get_proc("glUseProgramStagesEXT"); - gles2wActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC) get_proc("glActiveShaderProgramEXT"); - gles2wCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC) get_proc("glCreateShaderProgramvEXT"); - gles2wBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC) get_proc("glBindProgramPipelineEXT"); - gles2wDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC) get_proc("glDeleteProgramPipelinesEXT"); - gles2wGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC) get_proc("glGenProgramPipelinesEXT"); - gles2wIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC) get_proc("glIsProgramPipelineEXT"); - gles2wProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC) get_proc("glProgramParameteriEXT"); - gles2wGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC) get_proc("glGetProgramPipelineivEXT"); - gles2wProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC) get_proc("glProgramUniform1iEXT"); - gles2wProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC) get_proc("glProgramUniform2iEXT"); - gles2wProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC) get_proc("glProgramUniform3iEXT"); - gles2wProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC) get_proc("glProgramUniform4iEXT"); - gles2wProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC) get_proc("glProgramUniform1fEXT"); - gles2wProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC) get_proc("glProgramUniform2fEXT"); - gles2wProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC) get_proc("glProgramUniform3fEXT"); - gles2wProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC) get_proc("glProgramUniform4fEXT"); - gles2wProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC) get_proc("glProgramUniform1ivEXT"); - gles2wProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC) get_proc("glProgramUniform2ivEXT"); - gles2wProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC) get_proc("glProgramUniform3ivEXT"); - gles2wProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC) get_proc("glProgramUniform4ivEXT"); - gles2wProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC) get_proc("glProgramUniform1fvEXT"); - gles2wProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC) get_proc("glProgramUniform2fvEXT"); - gles2wProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC) get_proc("glProgramUniform3fvEXT"); - gles2wProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC) get_proc("glProgramUniform4fvEXT"); - gles2wProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) get_proc("glProgramUniformMatrix2fvEXT"); - gles2wProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) get_proc("glProgramUniformMatrix3fvEXT"); - gles2wProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) get_proc("glProgramUniformMatrix4fvEXT"); - gles2wValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) get_proc("glValidateProgramPipelineEXT"); - gles2wGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) get_proc("glGetProgramPipelineInfoLogEXT"); - gles2wTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC) get_proc("glTexStorage1DEXT"); - gles2wTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC) get_proc("glTexStorage2DEXT"); - gles2wTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC) get_proc("glTexStorage3DEXT"); - gles2wTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC) get_proc("glTextureStorage1DEXT"); - gles2wTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC) get_proc("glTextureStorage2DEXT"); - gles2wTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC) get_proc("glTextureStorage3DEXT"); - gles2wRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) get_proc("glRenderbufferStorageMultisampleIMG"); - gles2wFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) get_proc("glFramebufferTexture2DMultisampleIMG"); - gles2wCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC) get_proc("glCoverageMaskNV"); - gles2wCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC) get_proc("glCoverageOperationNV"); - gles2wDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC) get_proc("glDrawBuffersNV"); - gles2wDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC) get_proc("glDrawArraysInstancedNV"); - gles2wDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC) get_proc("glDrawElementsInstancedNV"); - gles2wDeleteFencesNV = (PFNGLDELETEFENCESNVPROC) get_proc("glDeleteFencesNV"); - gles2wGenFencesNV = (PFNGLGENFENCESNVPROC) get_proc("glGenFencesNV"); - gles2wIsFenceNV = (PFNGLISFENCENVPROC) get_proc("glIsFenceNV"); - gles2wTestFenceNV = (PFNGLTESTFENCENVPROC) get_proc("glTestFenceNV"); - gles2wGetFenceivNV = (PFNGLGETFENCEIVNVPROC) get_proc("glGetFenceivNV"); - gles2wFinishFenceNV = (PFNGLFINISHFENCENVPROC) get_proc("glFinishFenceNV"); - gles2wSetFenceNV = (PFNGLSETFENCENVPROC) get_proc("glSetFenceNV"); - gles2wBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC) get_proc("glBlitFramebufferNV"); - gles2wRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) get_proc("glRenderbufferStorageMultisampleNV"); - gles2wVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC) get_proc("glVertexAttribDivisorNV"); - gles2wReadBufferNV = (PFNGLREADBUFFERNVPROC) get_proc("glReadBufferNV"); - gles2wAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC) get_proc("glAlphaFuncQCOM"); - gles2wGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC) get_proc("glGetDriverControlsQCOM"); - gles2wGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) get_proc("glGetDriverControlStringQCOM"); - gles2wEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC) get_proc("glEnableDriverControlQCOM"); - gles2wDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC) get_proc("glDisableDriverControlQCOM"); - gles2wExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC) get_proc("glExtGetTexturesQCOM"); - gles2wExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC) get_proc("glExtGetBuffersQCOM"); - gles2wExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC) get_proc("glExtGetRenderbuffersQCOM"); - gles2wExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC) get_proc("glExtGetFramebuffersQCOM"); - gles2wExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) get_proc("glExtGetTexLevelParameterivQCOM"); - gles2wExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) get_proc("glExtTexObjectStateOverrideiQCOM"); - gles2wExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC) get_proc("glExtGetTexSubImageQCOM"); - gles2wExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC) get_proc("glExtGetBufferPointervQCOM"); - gles2wExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC) get_proc("glExtGetShadersQCOM"); - gles2wExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC) get_proc("glExtGetProgramsQCOM"); - gles2wExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC) get_proc("glExtIsProgramBinaryQCOM"); - gles2wExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) get_proc("glExtGetProgramBinarySourceQCOM"); - gles2wStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC) get_proc("glStartTilingQCOM"); - gles2wEndTilingQCOM = (PFNGLENDTILINGQCOMPROC) get_proc("glEndTilingQCOM"); +/* GLES2W_GENERATE_IMPLEMENTATION */ + +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +PFNEGLGETCONFIGSPROC eglGetConfigs; +PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYCONTEXTPROC eglQueryContext; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLQUERYSURFACEPROC eglQuerySurface; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLTERMINATEPROC eglTerminate; +PFNEGLWAITGLPROC eglWaitGL; +PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLQUERYAPIPROC eglQueryAPI; +PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +PFNEGLRELEASETHREADPROC eglReleaseThread; +PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +PFNEGLCREATESYNCPROC eglCreateSync; +PFNEGLDESTROYSYNCPROC eglDestroySync; +PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +PFNEGLCREATEIMAGEPROC eglCreateImage; +PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +PFNEGLFENCENVPROC eglFenceNV; +PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + +/* GL_ES_VERSION_2_0 */ +PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLATTACHSHADERPROC glAttachShader; +PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +PFNGLBINDBUFFERPROC glBindBuffer; +PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +PFNGLBINDTEXTUREPROC glBindTexture; +PFNGLBLENDCOLORPROC glBlendColor; +PFNGLBLENDEQUATIONPROC glBlendEquation; +PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +PFNGLBLENDFUNCPROC glBlendFunc; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +PFNGLBUFFERDATAPROC glBufferData; +PFNGLBUFFERSUBDATAPROC glBufferSubData; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +PFNGLCLEARPROC glClear; +PFNGLCLEARCOLORPROC glClearColor; +PFNGLCLEARDEPTHFPROC glClearDepthf; +PFNGLCLEARSTENCILPROC glClearStencil; +PFNGLCOLORMASKPROC glColorMask; +PFNGLCOMPILESHADERPROC glCompileShader; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +PFNGLCREATEPROGRAMPROC glCreateProgram; +PFNGLCREATESHADERPROC glCreateShader; +PFNGLCULLFACEPROC glCullFace; +PFNGLDELETEBUFFERSPROC glDeleteBuffers; +PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +PFNGLDELETEPROGRAMPROC glDeleteProgram; +PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +PFNGLDELETESHADERPROC glDeleteShader; +PFNGLDELETETEXTURESPROC glDeleteTextures; +PFNGLDEPTHFUNCPROC glDepthFunc; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEFPROC glDepthRangef; +PFNGLDETACHSHADERPROC glDetachShader; +PFNGLDISABLEPROC glDisable; +PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +PFNGLDRAWARRAYSPROC glDrawArrays; +PFNGLDRAWELEMENTSPROC glDrawElements; +PFNGLENABLEPROC glEnable; +PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +PFNGLFINISHPROC glFinish; +PFNGLFLUSHPROC glFlush; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +PFNGLFRONTFACEPROC glFrontFace; +PFNGLGENBUFFERSPROC glGenBuffers; +PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +PFNGLGENTEXTURESPROC glGenTextures; +PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +PFNGLGETBOOLEANVPROC glGetBooleanv; +PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +PFNGLGETERRORPROC glGetError; +PFNGLGETFLOATVPROC glGetFloatv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETPROGRAMIVPROC glGetProgramiv; +PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +PFNGLGETSHADERIVPROC glGetShaderiv; +PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +PFNGLGETSHADERSOURCEPROC glGetShaderSource; +PFNGLGETSTRINGPROC glGetString; +PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +PFNGLGETUNIFORMFVPROC glGetUniformfv; +PFNGLGETUNIFORMIVPROC glGetUniformiv; +PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +PFNGLHINTPROC glHint; +PFNGLISBUFFERPROC glIsBuffer; +PFNGLISENABLEDPROC glIsEnabled; +PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +PFNGLISPROGRAMPROC glIsProgram; +PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +PFNGLISSHADERPROC glIsShader; +PFNGLISTEXTUREPROC glIsTexture; +PFNGLLINEWIDTHPROC glLineWidth; +PFNGLLINKPROGRAMPROC glLinkProgram; +PFNGLPIXELSTOREIPROC glPixelStorei; +PFNGLPOLYGONOFFSETPROC glPolygonOffset; +PFNGLREADPIXELSPROC glReadPixels; +PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +PFNGLSCISSORPROC glScissor; +PFNGLSHADERBINARYPROC glShaderBinary; +PFNGLSHADERSOURCEPROC glShaderSource; +PFNGLSTENCILFUNCPROC glStencilFunc; +PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +PFNGLSTENCILMASKPROC glStencilMask; +PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +PFNGLSTENCILOPPROC glStencilOp; +PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +PFNGLTEXIMAGE2DPROC glTexImage2D; +PFNGLTEXPARAMETERFPROC glTexParameterf; +PFNGLTEXPARAMETERFVPROC glTexParameterfv; +PFNGLTEXPARAMETERIPROC glTexParameteri; +PFNGLTEXPARAMETERIVPROC glTexParameteriv; +PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +PFNGLUNIFORM1FPROC glUniform1f; +PFNGLUNIFORM1FVPROC glUniform1fv; +PFNGLUNIFORM1IPROC glUniform1i; +PFNGLUNIFORM1IVPROC glUniform1iv; +PFNGLUNIFORM2FPROC glUniform2f; +PFNGLUNIFORM2FVPROC glUniform2fv; +PFNGLUNIFORM2IPROC glUniform2i; +PFNGLUNIFORM2IVPROC glUniform2iv; +PFNGLUNIFORM3FPROC glUniform3f; +PFNGLUNIFORM3FVPROC glUniform3fv; +PFNGLUNIFORM3IPROC glUniform3i; +PFNGLUNIFORM3IVPROC glUniform3iv; +PFNGLUNIFORM4FPROC glUniform4f; +PFNGLUNIFORM4FVPROC glUniform4fv; +PFNGLUNIFORM4IPROC glUniform4i; +PFNGLUNIFORM4IVPROC glUniform4iv; +PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +PFNGLUSEPROGRAMPROC glUseProgram; +PFNGLVALIDATEPROGRAMPROC glValidateProgram; +PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +PFNGLVIEWPORTPROC glViewport; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +PFNGLISQUERYEXTPROC glIsQueryEXT; +PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +PFNGLENDQUERYEXTPROC glEndQueryEXT; +PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +PFNGLENABLEIEXTPROC glEnableiEXT; +PFNGLDISABLEIEXTPROC glDisableiEXT; +PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +PFNGLGENFENCESNVPROC glGenFencesNV; +PFNGLISFENCENVPROC glIsFenceNV; +PFNGLTESTFENCENVPROC glTestFenceNV; +PFNGLGETFENCEIVNVPROC glGetFenceivNV; +PFNGLFINISHFENCENVPROC glFinishFenceNV; +PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +PFNGLGENPATHSNVPROC glGenPathsNV; +PFNGLDELETEPATHSNVPROC glDeletePathsNV; +PFNGLISPATHNVPROC glIsPathNV; +PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +PFNGLPATHCOORDSNVPROC glPathCoordsNV; +PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +PFNGLPATHSTRINGNVPROC glPathStringNV; +PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +PFNGLCOPYPATHNVPROC glCopyPathNV; +PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +PFNGLENABLEINVPROC glEnableiNV; +PFNGLDISABLEINVPROC glDisableiNV; +PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +PFNGLENABLEIOESPROC glEnableiOES; +PFNGLDISABLEIOESPROC glDisableiOES; +PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +PFNGLCOLORMASKIOESPROC glColorMaskiOES; +PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +PFNGLMAPBUFFEROESPROC glMapBufferOES; +PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +PFNGLTEXBUFFEROESPROC glTexBufferOES; +PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + + +static void gles2wLoadProcs() { + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles2wLoad("eglGetProcAddress"); + + /* EGL_VERSION_1_0 */ + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)gles2wLoad("eglChooseConfig"); + eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)gles2wLoad("eglCopyBuffers"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)gles2wLoad("eglCreateContext"); + eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)gles2wLoad("eglCreatePbufferSurface"); + eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)gles2wLoad("eglCreatePixmapSurface"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)gles2wLoad("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)gles2wLoad("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)gles2wLoad("eglDestroySurface"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)gles2wLoad("eglGetConfigAttrib"); + eglGetConfigs = (PFNEGLGETCONFIGSPROC)gles2wLoad("eglGetConfigs"); + eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)gles2wLoad("eglGetCurrentDisplay"); + eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)gles2wLoad("eglGetCurrentSurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)gles2wLoad("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)gles2wLoad("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)gles2wLoad("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)gles2wLoad("eglMakeCurrent"); + eglQueryContext = (PFNEGLQUERYCONTEXTPROC)gles2wLoad("eglQueryContext"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)gles2wLoad("eglQueryString"); + eglQuerySurface = (PFNEGLQUERYSURFACEPROC)gles2wLoad("eglQuerySurface"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)gles2wLoad("eglSwapBuffers"); + eglTerminate = (PFNEGLTERMINATEPROC)gles2wLoad("eglTerminate"); + eglWaitGL = (PFNEGLWAITGLPROC)gles2wLoad("eglWaitGL"); + eglWaitNative = (PFNEGLWAITNATIVEPROC)gles2wLoad("eglWaitNative"); + + + /* EGL_VERSION_1_1 */ + eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)gles2wLoad("eglBindTexImage"); + eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)gles2wLoad("eglReleaseTexImage"); + eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)gles2wLoad("eglSurfaceAttrib"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)gles2wLoad("eglSwapInterval"); + + + /* EGL_VERSION_1_2 */ + eglBindAPI = (PFNEGLBINDAPIPROC)gles2wLoad("eglBindAPI"); + eglQueryAPI = (PFNEGLQUERYAPIPROC)gles2wLoad("eglQueryAPI"); + eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)gles2wLoad("eglCreatePbufferFromClientBuffer"); + eglReleaseThread = (PFNEGLRELEASETHREADPROC)gles2wLoad("eglReleaseThread"); + eglWaitClient = (PFNEGLWAITCLIENTPROC)gles2wLoad("eglWaitClient"); + + + /* EGL_VERSION_1_3 */ + + /* EGL_VERSION_1_4 */ + eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)gles2wLoad("eglGetCurrentContext"); + + + /* EGL_VERSION_1_5 */ + eglCreateSync = (PFNEGLCREATESYNCPROC)gles2wLoad("eglCreateSync"); + eglDestroySync = (PFNEGLDESTROYSYNCPROC)gles2wLoad("eglDestroySync"); + eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)gles2wLoad("eglClientWaitSync"); + eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)gles2wLoad("eglGetSyncAttrib"); + + eglCreateImage = (PFNEGLCREATEIMAGEPROC)gles2wLoad("eglCreateImage"); + eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)gles2wLoad("eglDestroyImage"); + + eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)gles2wLoad("eglGetPlatformDisplay"); + eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)gles2wLoad("eglCreatePlatformWindowSurface"); + eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)gles2wLoad("eglCreatePlatformPixmapSurface"); + + eglWaitSync = (PFNEGLWAITSYNCPROC)gles2wLoad("eglWaitSync"); + + +#if defined(EGL_ANDROID_blob_cache) + eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)gles2wLoad("eglSetBlobCacheFuncsANDROID"); +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) + eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)gles2wLoad("eglCreateNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) + eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)gles2wLoad("eglGetNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) + eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)gles2wLoad("eglDupNativeFenceFDANDROID"); +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) + eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)gles2wLoad("eglPresentationTimeANDROID"); +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) + eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)gles2wLoad("eglGetCompositorTimingSupportedANDROID"); + eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)gles2wLoad("eglGetCompositorTimingANDROID"); + eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)gles2wLoad("eglGetNextFrameIdANDROID"); + eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)gles2wLoad("eglGetFrameTimestampSupportedANDROID"); + eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)gles2wLoad("eglGetFrameTimestampsANDROID"); +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) + eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)gles2wLoad("eglQuerySurfacePointerANGLE"); +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) + eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)gles2wLoad("eglClientSignalSyncEXT"); +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) + eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)gles2wLoad("eglQueryDeviceAttribEXT"); + eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)gles2wLoad("eglQueryDeviceStringEXT"); + eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)gles2wLoad("eglQueryDevicesEXT"); + eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)gles2wLoad("eglQueryDisplayAttribEXT"); +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) + eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)gles2wLoad("eglQueryDmaBufFormatsEXT"); + eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)gles2wLoad("eglQueryDmaBufModifiersEXT"); +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) + eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)gles2wLoad("eglGetOutputLayersEXT"); + eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)gles2wLoad("eglGetOutputPortsEXT"); + eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)gles2wLoad("eglOutputLayerAttribEXT"); + eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)gles2wLoad("eglQueryOutputLayerAttribEXT"); + eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)gles2wLoad("eglQueryOutputLayerStringEXT"); + eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)gles2wLoad("eglOutputPortAttribEXT"); + eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)gles2wLoad("eglQueryOutputPortAttribEXT"); + eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)gles2wLoad("eglQueryOutputPortStringEXT"); +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) + eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)gles2wLoad("eglGetPlatformDisplayEXT"); + eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)gles2wLoad("eglCreatePlatformWindowSurfaceEXT"); + eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)gles2wLoad("eglCreatePlatformPixmapSurfaceEXT"); +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) + eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)gles2wLoad("eglStreamConsumerOutputEXT"); +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) + eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)gles2wLoad("eglSwapBuffersWithDamageEXT"); +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) + eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)gles2wLoad("eglUnsignalSyncEXT"); +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) + eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)gles2wLoad("eglCreatePixmapSurfaceHI"); +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) + eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)gles2wLoad("eglCreateSync64KHR"); +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) + eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("eglDebugMessageControlKHR"); + eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)gles2wLoad("eglQueryDebugKHR"); + eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)gles2wLoad("eglLabelObjectKHR"); +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) + eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)gles2wLoad("eglQueryDisplayAttribKHR"); +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) + eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)gles2wLoad("eglCreateSyncKHR"); + eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)gles2wLoad("eglDestroySyncKHR"); + eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)gles2wLoad("eglClientWaitSyncKHR"); + eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)gles2wLoad("eglGetSyncAttribKHR"); +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) + eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gles2wLoad("eglCreateImageKHR"); + eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gles2wLoad("eglDestroyImageKHR"); +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) + eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)gles2wLoad("eglLockSurfaceKHR"); + eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)gles2wLoad("eglUnlockSurfaceKHR"); +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) + eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)gles2wLoad("eglQuerySurface64KHR"); +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) + eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)gles2wLoad("eglSetDamageRegionKHR"); +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) + eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)gles2wLoad("eglSignalSyncKHR"); +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) + eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)gles2wLoad("eglCreateStreamKHR"); + eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)gles2wLoad("eglDestroyStreamKHR"); + eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)gles2wLoad("eglStreamAttribKHR"); + eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)gles2wLoad("eglQueryStreamKHR"); + eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)gles2wLoad("eglQueryStreamu64KHR"); +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) + eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)gles2wLoad("eglCreateStreamAttribKHR"); + eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)gles2wLoad("eglSetStreamAttribKHR"); + eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)gles2wLoad("eglQueryStreamAttribKHR"); + eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)gles2wLoad("eglStreamConsumerAcquireAttribKHR"); + eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)gles2wLoad("eglStreamConsumerReleaseAttribKHR"); +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) + eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)gles2wLoad("eglStreamConsumerGLTextureExternalKHR"); + eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)gles2wLoad("eglStreamConsumerAcquireKHR"); + eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)gles2wLoad("eglStreamConsumerReleaseKHR"); +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) + eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)gles2wLoad("eglGetStreamFileDescriptorKHR"); + eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)gles2wLoad("eglCreateStreamFromFileDescriptorKHR"); +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) + eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)gles2wLoad("eglQueryStreamTimeKHR"); +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) + eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)gles2wLoad("eglCreateStreamProducerSurfaceKHR"); +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) + eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)gles2wLoad("eglSwapBuffersWithDamageKHR"); +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) + eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)gles2wLoad("eglWaitSyncKHR"); +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) + eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)gles2wLoad("eglCreateDRMImageMESA"); + eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)gles2wLoad("eglExportDRMImageMESA"); +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) + eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)gles2wLoad("eglExportDMABUFImageQueryMESA"); + eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)gles2wLoad("eglExportDMABUFImageMESA"); +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) + eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)gles2wLoad("eglGetDisplayDriverConfig"); + eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)gles2wLoad("eglGetDisplayDriverName"); +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) + eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)gles2wLoad("eglSwapBuffersRegionNOK"); +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) + eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)gles2wLoad("eglSwapBuffersRegion2NOK"); +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) + eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)gles2wLoad("eglQueryNativeDisplayNV"); + eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)gles2wLoad("eglQueryNativeWindowNV"); + eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)gles2wLoad("eglQueryNativePixmapNV"); +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) + eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)gles2wLoad("eglPostSubBufferNV"); +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) + eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)gles2wLoad("eglStreamConsumerGLTextureExternalAttribsNV"); +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) + eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)gles2wLoad("eglStreamImageConsumerConnectNV"); + eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)gles2wLoad("eglQueryStreamConsumerEventNV"); + eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)gles2wLoad("eglStreamAcquireImageNV"); + eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)gles2wLoad("eglStreamReleaseImageNV"); +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) + eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)gles2wLoad("eglStreamFlushNV"); +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) + eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)gles2wLoad("eglQueryDisplayAttribNV"); + eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)gles2wLoad("eglSetStreamMetadataNV"); + eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)gles2wLoad("eglQueryStreamMetadataNV"); +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) + eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)gles2wLoad("eglResetStreamNV"); +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) + eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)gles2wLoad("eglCreateStreamSyncNV"); +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) + eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)gles2wLoad("eglCreateFenceSyncNV"); + eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)gles2wLoad("eglDestroySyncNV"); + eglFenceNV = (PFNEGLFENCENVPROC)gles2wLoad("eglFenceNV"); + eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)gles2wLoad("eglClientWaitSyncNV"); + eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)gles2wLoad("eglSignalSyncNV"); + eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)gles2wLoad("eglGetSyncAttribNV"); +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) + eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)gles2wLoad("eglGetSystemTimeFrequencyNV"); + eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)gles2wLoad("eglGetSystemTimeNV"); +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) + eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)gles2wLoad("eglCompositorSetContextListEXT"); + eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)gles2wLoad("eglCompositorSetContextAttributesEXT"); + eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)gles2wLoad("eglCompositorSetWindowListEXT"); + eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)gles2wLoad("eglCompositorSetWindowAttributesEXT"); + eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)gles2wLoad("eglCompositorBindTexWindowEXT"); + eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)gles2wLoad("eglCompositorSetSizeEXT"); + eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)gles2wLoad("eglCompositorSwapPolicyEXT"); +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) + eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)gles2wLoad("eglBindWaylandDisplayWL"); + eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)gles2wLoad("eglUnbindWaylandDisplayWL"); + eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)gles2wLoad("eglQueryWaylandBufferWL"); +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) + eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles2wLoad("eglCreateWaylandBufferFromImageWL"); +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + + /* GL_ES_VERSION_2_0 */ + glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles2wLoad("glActiveTexture"); + glAttachShader = (PFNGLATTACHSHADERPROC)gles2wLoad("glAttachShader"); + glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles2wLoad("glBindAttribLocation"); + glBindBuffer = (PFNGLBINDBUFFERPROC)gles2wLoad("glBindBuffer"); + glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles2wLoad("glBindFramebuffer"); + glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles2wLoad("glBindRenderbuffer"); + glBindTexture = (PFNGLBINDTEXTUREPROC)gles2wLoad("glBindTexture"); + glBlendColor = (PFNGLBLENDCOLORPROC)gles2wLoad("glBlendColor"); + glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles2wLoad("glBlendEquation"); + glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles2wLoad("glBlendEquationSeparate"); + glBlendFunc = (PFNGLBLENDFUNCPROC)gles2wLoad("glBlendFunc"); + glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles2wLoad("glBlendFuncSeparate"); + glBufferData = (PFNGLBUFFERDATAPROC)gles2wLoad("glBufferData"); + glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles2wLoad("glBufferSubData"); + glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles2wLoad("glCheckFramebufferStatus"); + glClear = (PFNGLCLEARPROC)gles2wLoad("glClear"); + glClearColor = (PFNGLCLEARCOLORPROC)gles2wLoad("glClearColor"); + glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles2wLoad("glClearDepthf"); + glClearStencil = (PFNGLCLEARSTENCILPROC)gles2wLoad("glClearStencil"); + glColorMask = (PFNGLCOLORMASKPROC)gles2wLoad("glColorMask"); + glCompileShader = (PFNGLCOMPILESHADERPROC)gles2wLoad("glCompileShader"); + glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles2wLoad("glCompressedTexImage2D"); + glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles2wLoad("glCompressedTexSubImage2D"); + glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles2wLoad("glCopyTexImage2D"); + glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles2wLoad("glCopyTexSubImage2D"); + glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles2wLoad("glCreateProgram"); + glCreateShader = (PFNGLCREATESHADERPROC)gles2wLoad("glCreateShader"); + glCullFace = (PFNGLCULLFACEPROC)gles2wLoad("glCullFace"); + glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles2wLoad("glDeleteBuffers"); + glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles2wLoad("glDeleteFramebuffers"); + glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles2wLoad("glDeleteProgram"); + glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles2wLoad("glDeleteRenderbuffers"); + glDeleteShader = (PFNGLDELETESHADERPROC)gles2wLoad("glDeleteShader"); + glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles2wLoad("glDeleteTextures"); + glDepthFunc = (PFNGLDEPTHFUNCPROC)gles2wLoad("glDepthFunc"); + glDepthMask = (PFNGLDEPTHMASKPROC)gles2wLoad("glDepthMask"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles2wLoad("glDepthRangef"); + glDetachShader = (PFNGLDETACHSHADERPROC)gles2wLoad("glDetachShader"); + glDisable = (PFNGLDISABLEPROC)gles2wLoad("glDisable"); + glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glDisableVertexAttribArray"); + glDrawArrays = (PFNGLDRAWARRAYSPROC)gles2wLoad("glDrawArrays"); + glDrawElements = (PFNGLDRAWELEMENTSPROC)gles2wLoad("glDrawElements"); + glEnable = (PFNGLENABLEPROC)gles2wLoad("glEnable"); + glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glEnableVertexAttribArray"); + glFinish = (PFNGLFINISHPROC)gles2wLoad("glFinish"); + glFlush = (PFNGLFLUSHPROC)gles2wLoad("glFlush"); + glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles2wLoad("glFramebufferRenderbuffer"); + glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles2wLoad("glFramebufferTexture2D"); + glFrontFace = (PFNGLFRONTFACEPROC)gles2wLoad("glFrontFace"); + glGenBuffers = (PFNGLGENBUFFERSPROC)gles2wLoad("glGenBuffers"); + glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles2wLoad("glGenerateMipmap"); + glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles2wLoad("glGenFramebuffers"); + glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles2wLoad("glGenRenderbuffers"); + glGenTextures = (PFNGLGENTEXTURESPROC)gles2wLoad("glGenTextures"); + glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles2wLoad("glGetActiveAttrib"); + glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles2wLoad("glGetActiveUniform"); + glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles2wLoad("glGetAttachedShaders"); + glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles2wLoad("glGetAttribLocation"); + glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles2wLoad("glGetBooleanv"); + glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles2wLoad("glGetBufferParameteriv"); + glGetError = (PFNGLGETERRORPROC)gles2wLoad("glGetError"); + glGetFloatv = (PFNGLGETFLOATVPROC)gles2wLoad("glGetFloatv"); + glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles2wLoad("glGetFramebufferAttachmentParameteriv"); + glGetIntegerv = (PFNGLGETINTEGERVPROC)gles2wLoad("glGetIntegerv"); + glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles2wLoad("glGetProgramiv"); + glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles2wLoad("glGetProgramInfoLog"); + glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles2wLoad("glGetRenderbufferParameteriv"); + glGetShaderiv = (PFNGLGETSHADERIVPROC)gles2wLoad("glGetShaderiv"); + glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles2wLoad("glGetShaderInfoLog"); + glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles2wLoad("glGetShaderPrecisionFormat"); + glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles2wLoad("glGetShaderSource"); + glGetString = (PFNGLGETSTRINGPROC)gles2wLoad("glGetString"); + glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles2wLoad("glGetTexParameterfv"); + glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles2wLoad("glGetTexParameteriv"); + glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles2wLoad("glGetUniformfv"); + glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles2wLoad("glGetUniformiv"); + glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles2wLoad("glGetUniformLocation"); + glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles2wLoad("glGetVertexAttribfv"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles2wLoad("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles2wLoad("glGetVertexAttribPointerv"); + glHint = (PFNGLHINTPROC)gles2wLoad("glHint"); + glIsBuffer = (PFNGLISBUFFERPROC)gles2wLoad("glIsBuffer"); + glIsEnabled = (PFNGLISENABLEDPROC)gles2wLoad("glIsEnabled"); + glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles2wLoad("glIsFramebuffer"); + glIsProgram = (PFNGLISPROGRAMPROC)gles2wLoad("glIsProgram"); + glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles2wLoad("glIsRenderbuffer"); + glIsShader = (PFNGLISSHADERPROC)gles2wLoad("glIsShader"); + glIsTexture = (PFNGLISTEXTUREPROC)gles2wLoad("glIsTexture"); + glLineWidth = (PFNGLLINEWIDTHPROC)gles2wLoad("glLineWidth"); + glLinkProgram = (PFNGLLINKPROGRAMPROC)gles2wLoad("glLinkProgram"); + glPixelStorei = (PFNGLPIXELSTOREIPROC)gles2wLoad("glPixelStorei"); + glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles2wLoad("glPolygonOffset"); + glReadPixels = (PFNGLREADPIXELSPROC)gles2wLoad("glReadPixels"); + glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles2wLoad("glReleaseShaderCompiler"); + glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles2wLoad("glRenderbufferStorage"); + glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles2wLoad("glSampleCoverage"); + glScissor = (PFNGLSCISSORPROC)gles2wLoad("glScissor"); + glShaderBinary = (PFNGLSHADERBINARYPROC)gles2wLoad("glShaderBinary"); + glShaderSource = (PFNGLSHADERSOURCEPROC)gles2wLoad("glShaderSource"); + glStencilFunc = (PFNGLSTENCILFUNCPROC)gles2wLoad("glStencilFunc"); + glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles2wLoad("glStencilFuncSeparate"); + glStencilMask = (PFNGLSTENCILMASKPROC)gles2wLoad("glStencilMask"); + glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles2wLoad("glStencilMaskSeparate"); + glStencilOp = (PFNGLSTENCILOPPROC)gles2wLoad("glStencilOp"); + glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles2wLoad("glStencilOpSeparate"); + glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles2wLoad("glTexImage2D"); + glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles2wLoad("glTexParameterf"); + glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles2wLoad("glTexParameterfv"); + glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles2wLoad("glTexParameteri"); + glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles2wLoad("glTexParameteriv"); + glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles2wLoad("glTexSubImage2D"); + glUniform1f = (PFNGLUNIFORM1FPROC)gles2wLoad("glUniform1f"); + glUniform1fv = (PFNGLUNIFORM1FVPROC)gles2wLoad("glUniform1fv"); + glUniform1i = (PFNGLUNIFORM1IPROC)gles2wLoad("glUniform1i"); + glUniform1iv = (PFNGLUNIFORM1IVPROC)gles2wLoad("glUniform1iv"); + glUniform2f = (PFNGLUNIFORM2FPROC)gles2wLoad("glUniform2f"); + glUniform2fv = (PFNGLUNIFORM2FVPROC)gles2wLoad("glUniform2fv"); + glUniform2i = (PFNGLUNIFORM2IPROC)gles2wLoad("glUniform2i"); + glUniform2iv = (PFNGLUNIFORM2IVPROC)gles2wLoad("glUniform2iv"); + glUniform3f = (PFNGLUNIFORM3FPROC)gles2wLoad("glUniform3f"); + glUniform3fv = (PFNGLUNIFORM3FVPROC)gles2wLoad("glUniform3fv"); + glUniform3i = (PFNGLUNIFORM3IPROC)gles2wLoad("glUniform3i"); + glUniform3iv = (PFNGLUNIFORM3IVPROC)gles2wLoad("glUniform3iv"); + glUniform4f = (PFNGLUNIFORM4FPROC)gles2wLoad("glUniform4f"); + glUniform4fv = (PFNGLUNIFORM4FVPROC)gles2wLoad("glUniform4fv"); + glUniform4i = (PFNGLUNIFORM4IPROC)gles2wLoad("glUniform4i"); + glUniform4iv = (PFNGLUNIFORM4IVPROC)gles2wLoad("glUniform4iv"); + glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles2wLoad("glUniformMatrix2fv"); + glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles2wLoad("glUniformMatrix3fv"); + glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles2wLoad("glUniformMatrix4fv"); + glUseProgram = (PFNGLUSEPROGRAMPROC)gles2wLoad("glUseProgram"); + glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles2wLoad("glValidateProgram"); + glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles2wLoad("glVertexAttrib1f"); + glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles2wLoad("glVertexAttrib1fv"); + glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles2wLoad("glVertexAttrib2f"); + glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles2wLoad("glVertexAttrib2fv"); + glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles2wLoad("glVertexAttrib3f"); + glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles2wLoad("glVertexAttrib3fv"); + glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles2wLoad("glVertexAttrib4f"); + glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles2wLoad("glVertexAttrib4fv"); + glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles2wLoad("glVertexAttribPointer"); + glViewport = (PFNGLVIEWPORTPROC)gles2wLoad("glViewport"); + + +#if defined(GL_AMD_framebuffer_multisample_advanced) + glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); + glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) + glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles2wLoad("glGetPerfMonitorGroupsAMD"); + glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glGetPerfMonitorCountersAMD"); + glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorGroupStringAMD"); + glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorCounterStringAMD"); + glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles2wLoad("glGetPerfMonitorCounterInfoAMD"); + glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles2wLoad("glGenPerfMonitorsAMD"); + glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles2wLoad("glDeletePerfMonitorsAMD"); + glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glSelectPerfMonitorCountersAMD"); + glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles2wLoad("glBeginPerfMonitorAMD"); + glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles2wLoad("glEndPerfMonitorAMD"); + glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles2wLoad("glGetPerfMonitorCounterDataAMD"); +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) + glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles2wLoad("glBlitFramebufferANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) + glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles2wLoad("glRenderbufferStorageMultisampleANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) + glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles2wLoad("glDrawArraysInstancedANGLE"); + glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles2wLoad("glDrawElementsInstancedANGLE"); + glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles2wLoad("glVertexAttribDivisorANGLE"); +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) + glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles2wLoad("glGetTranslatedShaderSourceANGLE"); +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) + glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles2wLoad("glCopyTextureLevelsAPPLE"); +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) + glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles2wLoad("glRenderbufferStorageMultisampleAPPLE"); + glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles2wLoad("glResolveMultisampleFramebufferAPPLE"); +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) + glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles2wLoad("glFenceSyncAPPLE"); + glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles2wLoad("glIsSyncAPPLE"); + glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles2wLoad("glDeleteSyncAPPLE"); + glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles2wLoad("glClientWaitSyncAPPLE"); + glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles2wLoad("glWaitSyncAPPLE"); + glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles2wLoad("glGetInteger64vAPPLE"); + glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles2wLoad("glGetSyncivAPPLE"); +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) + glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTexStorageEXT"); + + glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTextureStorageEXT"); +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) + glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawArraysInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) + glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles2wLoad("glBindFragDataLocationIndexedEXT"); + glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles2wLoad("glBindFragDataLocationEXT"); + glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles2wLoad("glGetProgramResourceLocationIndexEXT"); + glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles2wLoad("glGetFragDataIndexEXT"); +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) + glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles2wLoad("glBufferStorageEXT"); +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) + glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles2wLoad("glClearTexImageEXT"); + glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles2wLoad("glClearTexSubImageEXT"); +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) + glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles2wLoad("glClipControlEXT"); +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) + glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles2wLoad("glCopyImageSubDataEXT"); +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) + glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles2wLoad("glLabelObjectEXT"); + glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles2wLoad("glGetObjectLabelEXT"); +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) + glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles2wLoad("glInsertEventMarkerEXT"); + glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles2wLoad("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles2wLoad("glPopGroupMarkerEXT"); +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) + glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles2wLoad("glDiscardFramebufferEXT"); +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) + glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles2wLoad("glGenQueriesEXT"); + glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles2wLoad("glDeleteQueriesEXT"); + glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles2wLoad("glIsQueryEXT"); + glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles2wLoad("glBeginQueryEXT"); + glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles2wLoad("glEndQueryEXT"); + glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles2wLoad("glQueryCounterEXT"); + glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles2wLoad("glGetQueryivEXT"); + glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles2wLoad("glGetQueryObjectivEXT"); + glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles2wLoad("glGetQueryObjectuivEXT"); + glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles2wLoad("glGetQueryObjecti64vEXT"); + glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles2wLoad("glGetQueryObjectui64vEXT"); + glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles2wLoad("glGetInteger64vEXT"); +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) + glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles2wLoad("glDrawBuffersEXT"); +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) + glEnableiEXT = (PFNGLENABLEIEXTPROC)gles2wLoad("glEnableiEXT"); + glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles2wLoad("glDisableiEXT"); + glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles2wLoad("glBlendEquationiEXT"); + glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles2wLoad("glBlendEquationSeparateiEXT"); + glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles2wLoad("glBlendFunciEXT"); + glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles2wLoad("glBlendFuncSeparateiEXT"); + glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles2wLoad("glColorMaskiEXT"); + glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles2wLoad("glIsEnablediEXT"); +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) + glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsBaseVertexEXT"); + glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawRangeElementsBaseVertexEXT"); + glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexEXT"); + glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glMultiDrawElementsBaseVertexEXT"); +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) + glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles2wLoad("glDrawArraysInstancedEXT"); + glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles2wLoad("glDrawElementsInstancedEXT"); +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) + glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles2wLoad("glDrawTransformFeedbackEXT"); + glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles2wLoad("glDrawTransformFeedbackInstancedEXT"); +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) + glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glBufferStorageExternalEXT"); + glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glNamedBufferStorageExternalEXT"); +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) + glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles2wLoad("glFramebufferTextureEXT"); +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) + glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles2wLoad("glVertexAttribDivisorEXT"); +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) + glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles2wLoad("glMapBufferRangeEXT"); + glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles2wLoad("glFlushMappedBufferRangeEXT"); +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) + glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles2wLoad("glGetUnsignedBytevEXT"); + glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles2wLoad("glGetUnsignedBytei_vEXT"); + glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles2wLoad("glDeleteMemoryObjectsEXT"); + glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles2wLoad("glIsMemoryObjectEXT"); + glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles2wLoad("glCreateMemoryObjectsEXT"); + glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glMemoryObjectParameterivEXT"); + glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glGetMemoryObjectParameterivEXT"); + glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles2wLoad("glTexStorageMem2DEXT"); + glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem2DMultisampleEXT"); + glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles2wLoad("glTexStorageMem3DEXT"); + glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem3DMultisampleEXT"); + glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glBufferStorageMemEXT"); + + glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles2wLoad("glTextureStorageMem2DEXT"); + glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem2DMultisampleEXT"); + glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles2wLoad("glTextureStorageMem3DEXT"); + glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem3DMultisampleEXT"); + glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glNamedBufferStorageMemEXT"); +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) + glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles2wLoad("glImportMemoryFdEXT"); +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) + glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles2wLoad("glImportMemoryWin32HandleEXT"); + glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles2wLoad("glImportMemoryWin32NameEXT"); +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) + glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles2wLoad("glMultiDrawArraysEXT"); + glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles2wLoad("glMultiDrawElementsEXT"); +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) + glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles2wLoad("glMultiDrawArraysIndirectEXT"); + glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles2wLoad("glMultiDrawElementsIndirectEXT"); +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) + glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles2wLoad("glRenderbufferStorageMultisampleEXT"); + glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles2wLoad("glFramebufferTexture2DMultisampleEXT"); +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) + glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles2wLoad("glReadBufferIndexedEXT"); + glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles2wLoad("glDrawBuffersIndexedEXT"); + glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles2wLoad("glGetIntegeri_vEXT"); +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) + glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles2wLoad("glPolygonOffsetClampEXT"); +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) + glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles2wLoad("glPrimitiveBoundingBoxEXT"); +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) + glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles2wLoad("glRasterSamplesEXT"); +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) + glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles2wLoad("glGetGraphicsResetStatusEXT"); + glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles2wLoad("glReadnPixelsEXT"); + glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles2wLoad("glGetnUniformfvEXT"); + glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles2wLoad("glGetnUniformivEXT"); +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) + glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles2wLoad("glGenSemaphoresEXT"); + glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles2wLoad("glDeleteSemaphoresEXT"); + glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles2wLoad("glIsSemaphoreEXT"); + glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glSemaphoreParameterui64vEXT"); + glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glGetSemaphoreParameterui64vEXT"); + glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles2wLoad("glWaitSemaphoreEXT"); + glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles2wLoad("glSignalSemaphoreEXT"); +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) + glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles2wLoad("glImportSemaphoreFdEXT"); +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) + glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles2wLoad("glImportSemaphoreWin32HandleEXT"); + glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles2wLoad("glImportSemaphoreWin32NameEXT"); +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) + glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles2wLoad("glActiveShaderProgramEXT"); + glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles2wLoad("glBindProgramPipelineEXT"); + glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles2wLoad("glCreateShaderProgramvEXT"); + glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles2wLoad("glDeleteProgramPipelinesEXT"); + glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles2wLoad("glGenProgramPipelinesEXT"); + glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles2wLoad("glGetProgramPipelineInfoLogEXT"); + glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles2wLoad("glGetProgramPipelineivEXT"); + glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles2wLoad("glIsProgramPipelineEXT"); + glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles2wLoad("glProgramParameteriEXT"); + glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles2wLoad("glProgramUniform1fEXT"); + glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles2wLoad("glProgramUniform1fvEXT"); + glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles2wLoad("glProgramUniform1iEXT"); + glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles2wLoad("glProgramUniform1ivEXT"); + glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles2wLoad("glProgramUniform2fEXT"); + glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles2wLoad("glProgramUniform2fvEXT"); + glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles2wLoad("glProgramUniform2iEXT"); + glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles2wLoad("glProgramUniform2ivEXT"); + glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles2wLoad("glProgramUniform3fEXT"); + glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles2wLoad("glProgramUniform3fvEXT"); + glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles2wLoad("glProgramUniform3iEXT"); + glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles2wLoad("glProgramUniform3ivEXT"); + glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles2wLoad("glProgramUniform4fEXT"); + glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles2wLoad("glProgramUniform4fvEXT"); + glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles2wLoad("glProgramUniform4iEXT"); + glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles2wLoad("glProgramUniform4ivEXT"); + glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles2wLoad("glProgramUniformMatrix2fvEXT"); + glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles2wLoad("glProgramUniformMatrix3fvEXT"); + glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles2wLoad("glProgramUniformMatrix4fvEXT"); + glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles2wLoad("glUseProgramStagesEXT"); + glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles2wLoad("glValidateProgramPipelineEXT"); + + glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles2wLoad("glProgramUniform1uiEXT"); + glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles2wLoad("glProgramUniform2uiEXT"); + glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles2wLoad("glProgramUniform3uiEXT"); + glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles2wLoad("glProgramUniform4uiEXT"); + glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles2wLoad("glProgramUniform1uivEXT"); + glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles2wLoad("glProgramUniform2uivEXT"); + glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles2wLoad("glProgramUniform3uivEXT"); + glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles2wLoad("glProgramUniform4uivEXT"); + glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x3fvEXT"); + glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x2fvEXT"); + glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x4fvEXT"); + glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x2fvEXT"); + glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x4fvEXT"); + glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x3fvEXT"); +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) + glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles2wLoad("glFramebufferFetchBarrierEXT"); +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) + glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glFramebufferPixelLocalStorageSizeEXT"); + glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); + glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles2wLoad("glClearPixelLocalStorageuiEXT"); +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) + glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles2wLoad("glTexPageCommitmentEXT"); +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) + glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles2wLoad("glPatchParameteriEXT"); +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) + glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles2wLoad("glTexParameterIivEXT"); + glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles2wLoad("glTexParameterIuivEXT"); + glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles2wLoad("glGetTexParameterIivEXT"); + glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles2wLoad("glGetTexParameterIuivEXT"); + glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glSamplerParameterIivEXT"); + glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glSamplerParameterIuivEXT"); + glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glGetSamplerParameterIivEXT"); + glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glGetSamplerParameterIuivEXT"); +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) + glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles2wLoad("glTexBufferEXT"); + glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles2wLoad("glTexBufferRangeEXT"); +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) + glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles2wLoad("glTexStorage1DEXT"); + glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles2wLoad("glTexStorage2DEXT"); + glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles2wLoad("glTexStorage3DEXT"); + + glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles2wLoad("glTextureStorage1DEXT"); + glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles2wLoad("glTextureStorage2DEXT"); + glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles2wLoad("glTextureStorage3DEXT"); +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) + glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles2wLoad("glTextureViewEXT"); +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) + glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles2wLoad("glCreateSemaphoresNV"); + glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glSemaphoreParameterivNV"); + glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glGetSemaphoreParameterivNV"); +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) + glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glAcquireKeyedMutexWin32EXT"); + glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glReleaseKeyedMutexWin32EXT"); +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) + glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles2wLoad("glWindowRectanglesEXT"); +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) + glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles2wLoad("glGetTextureHandleIMG"); + glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles2wLoad("glGetTextureSamplerHandleIMG"); + glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glUniformHandleui64IMG"); + glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glUniformHandleui64vIMG"); + glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glProgramUniformHandleui64IMG"); + glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glProgramUniformHandleui64vIMG"); +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) + glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DDownsampleIMG"); + glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTextureLayerDownsampleIMG"); +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) + glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles2wLoad("glRenderbufferStorageMultisampleIMG"); + glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DMultisampleIMG"); +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) + glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles2wLoad("glApplyFramebufferAttachmentCMAAINTEL"); +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) + glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles2wLoad("glBeginPerfQueryINTEL"); + glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles2wLoad("glCreatePerfQueryINTEL"); + glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles2wLoad("glDeletePerfQueryINTEL"); + glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles2wLoad("glEndPerfQueryINTEL"); + glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles2wLoad("glGetFirstPerfQueryIdINTEL"); + glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles2wLoad("glGetNextPerfQueryIdINTEL"); + glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles2wLoad("glGetPerfCounterInfoINTEL"); + glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles2wLoad("glGetPerfQueryDataINTEL"); + glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles2wLoad("glGetPerfQueryIdByNameINTEL"); + glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles2wLoad("glGetPerfQueryInfoINTEL"); +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) + glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles2wLoad("glBlendBarrierKHR"); +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) + glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("glDebugMessageControlKHR"); + glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles2wLoad("glDebugMessageInsertKHR"); + glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles2wLoad("glDebugMessageCallbackKHR"); + glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles2wLoad("glGetDebugMessageLogKHR"); + glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles2wLoad("glPushDebugGroupKHR"); + glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles2wLoad("glPopDebugGroupKHR"); + glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles2wLoad("glObjectLabelKHR"); + glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles2wLoad("glGetObjectLabelKHR"); + glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles2wLoad("glObjectPtrLabelKHR"); + glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles2wLoad("glGetObjectPtrLabelKHR"); + glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles2wLoad("glGetPointervKHR"); +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) + glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles2wLoad("glGetGraphicsResetStatusKHR"); + glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles2wLoad("glReadnPixelsKHR"); + glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles2wLoad("glGetnUniformfvKHR"); + glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles2wLoad("glGetnUniformivKHR"); + glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles2wLoad("glGetnUniformuivKHR"); +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) + glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles2wLoad("glMaxShaderCompilerThreadsKHR"); +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) + glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles2wLoad("glFramebufferParameteriMESA"); + glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles2wLoad("glGetFramebufferParameterivMESA"); +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) + glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles2wLoad("glGetTextureHandleNV"); + glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles2wLoad("glGetTextureSamplerHandleNV"); + glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glMakeTextureHandleResidentNV"); + glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeTextureHandleNonResidentNV"); + glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles2wLoad("glGetImageHandleNV"); + glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glMakeImageHandleResidentNV"); + glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeImageHandleNonResidentNV"); + glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles2wLoad("glUniformHandleui64NV"); + glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glUniformHandleui64vNV"); + glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles2wLoad("glProgramUniformHandleui64NV"); + glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glProgramUniformHandleui64vNV"); + glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glIsTextureHandleResidentNV"); + glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glIsImageHandleResidentNV"); +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) + glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles2wLoad("glBlendParameteriNV"); + glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles2wLoad("glBlendBarrierNV"); +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) + glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles2wLoad("glViewportPositionWScaleNV"); +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) + glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles2wLoad("glBeginConditionalRenderNV"); + glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles2wLoad("glEndConditionalRenderNV"); +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) + glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles2wLoad("glSubpixelPrecisionBiasNV"); +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) + glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles2wLoad("glConservativeRasterParameteriNV"); +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) + glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles2wLoad("glCopyBufferSubDataNV"); +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) + glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles2wLoad("glCoverageMaskNV"); + glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles2wLoad("glCoverageOperationNV"); +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) + glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles2wLoad("glDrawBuffersNV"); +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) + glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles2wLoad("glDrawArraysInstancedNV"); + glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles2wLoad("glDrawElementsInstancedNV"); +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) + glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles2wLoad("glDrawVkImageNV"); + glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles2wLoad("glGetVkProcAddrNV"); + glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles2wLoad("glWaitVkSemaphoreNV"); + glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles2wLoad("glSignalVkSemaphoreNV"); + glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles2wLoad("glSignalVkFenceNV"); +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) + glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles2wLoad("glDeleteFencesNV"); + glGenFencesNV = (PFNGLGENFENCESNVPROC)gles2wLoad("glGenFencesNV"); + glIsFenceNV = (PFNGLISFENCENVPROC)gles2wLoad("glIsFenceNV"); + glTestFenceNV = (PFNGLTESTFENCENVPROC)gles2wLoad("glTestFenceNV"); + glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles2wLoad("glGetFenceivNV"); + glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles2wLoad("glFinishFenceNV"); + glSetFenceNV = (PFNGLSETFENCENVPROC)gles2wLoad("glSetFenceNV"); +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) + glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles2wLoad("glFragmentCoverageColorNV"); +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) + glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles2wLoad("glBlitFramebufferNV"); +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) + glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glCoverageModulationTableNV"); + glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glGetCoverageModulationTableNV"); + glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles2wLoad("glCoverageModulationNV"); +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) + glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles2wLoad("glRenderbufferStorageMultisampleNV"); +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) + glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles2wLoad("glUniform1i64NV"); + glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles2wLoad("glUniform2i64NV"); + glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles2wLoad("glUniform3i64NV"); + glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles2wLoad("glUniform4i64NV"); + glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles2wLoad("glUniform1i64vNV"); + glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles2wLoad("glUniform2i64vNV"); + glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles2wLoad("glUniform3i64vNV"); + glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles2wLoad("glUniform4i64vNV"); + glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles2wLoad("glUniform1ui64NV"); + glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles2wLoad("glUniform2ui64NV"); + glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles2wLoad("glUniform3ui64NV"); + glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles2wLoad("glUniform4ui64NV"); + glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles2wLoad("glUniform1ui64vNV"); + glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles2wLoad("glUniform2ui64vNV"); + glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles2wLoad("glUniform3ui64vNV"); + glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles2wLoad("glUniform4ui64vNV"); + glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles2wLoad("glGetUniformi64vNV"); + + glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles2wLoad("glProgramUniform1i64NV"); + glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles2wLoad("glProgramUniform2i64NV"); + glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles2wLoad("glProgramUniform3i64NV"); + glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles2wLoad("glProgramUniform4i64NV"); + glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles2wLoad("glProgramUniform1i64vNV"); + glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles2wLoad("glProgramUniform2i64vNV"); + glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles2wLoad("glProgramUniform3i64vNV"); + glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles2wLoad("glProgramUniform4i64vNV"); + glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles2wLoad("glProgramUniform1ui64NV"); + glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles2wLoad("glProgramUniform2ui64NV"); + glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles2wLoad("glProgramUniform3ui64NV"); + glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles2wLoad("glProgramUniform4ui64NV"); + glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles2wLoad("glProgramUniform1ui64vNV"); + glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles2wLoad("glProgramUniform2ui64vNV"); + glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles2wLoad("glProgramUniform3ui64vNV"); + glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles2wLoad("glProgramUniform4ui64vNV"); +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) + glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles2wLoad("glVertexAttribDivisorNV"); +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) + glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles2wLoad("glGetInternalformatSampleivNV"); +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) + glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles2wLoad("glGetMemoryObjectDetachedResourcesuivNV"); + glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles2wLoad("glResetMemoryObjectParameterNV"); + glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles2wLoad("glTexAttachMemoryNV"); + glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles2wLoad("glBufferAttachMemoryNV"); + + glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles2wLoad("glTextureAttachMemoryNV"); + glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles2wLoad("glNamedBufferAttachMemoryNV"); +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) + glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glBufferPageCommitmentMemNV"); + glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexPageCommitmentMemNV"); + + glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glNamedBufferPageCommitmentMemNV"); + glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexturePageCommitmentMemNV"); +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) + glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles2wLoad("glDrawMeshTasksNV"); + glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectCountNV"); +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) + glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles2wLoad("glUniformMatrix2x3fvNV"); + glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles2wLoad("glUniformMatrix3x2fvNV"); + glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles2wLoad("glUniformMatrix2x4fvNV"); + glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles2wLoad("glUniformMatrix4x2fvNV"); + glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles2wLoad("glUniformMatrix3x4fvNV"); + glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles2wLoad("glUniformMatrix4x3fvNV"); +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) + glGenPathsNV = (PFNGLGENPATHSNVPROC)gles2wLoad("glGenPathsNV"); + glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles2wLoad("glDeletePathsNV"); + glIsPathNV = (PFNGLISPATHNVPROC)gles2wLoad("glIsPathNV"); + glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles2wLoad("glPathCommandsNV"); + glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles2wLoad("glPathCoordsNV"); + glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles2wLoad("glPathSubCommandsNV"); + glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles2wLoad("glPathSubCoordsNV"); + glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles2wLoad("glPathStringNV"); + glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles2wLoad("glPathGlyphsNV"); + glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles2wLoad("glPathGlyphRangeNV"); + glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles2wLoad("glWeightPathsNV"); + glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles2wLoad("glCopyPathNV"); + glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles2wLoad("glInterpolatePathsNV"); + glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles2wLoad("glTransformPathNV"); + glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles2wLoad("glPathParameterivNV"); + glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles2wLoad("glPathParameteriNV"); + glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles2wLoad("glPathParameterfvNV"); + glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles2wLoad("glPathParameterfNV"); + glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles2wLoad("glPathDashArrayNV"); + glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles2wLoad("glPathStencilFuncNV"); + glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles2wLoad("glPathStencilDepthOffsetNV"); + glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles2wLoad("glStencilFillPathNV"); + glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles2wLoad("glStencilStrokePathNV"); + glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilFillPathInstancedNV"); + glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilStrokePathInstancedNV"); + glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles2wLoad("glPathCoverDepthFuncNV"); + glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles2wLoad("glCoverFillPathNV"); + glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles2wLoad("glCoverStrokePathNV"); + glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glCoverFillPathInstancedNV"); + glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glCoverStrokePathInstancedNV"); + glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles2wLoad("glGetPathParameterivNV"); + glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles2wLoad("glGetPathParameterfvNV"); + glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles2wLoad("glGetPathCommandsNV"); + glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles2wLoad("glGetPathCoordsNV"); + glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles2wLoad("glGetPathDashArrayNV"); + glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles2wLoad("glGetPathMetricsNV"); + glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles2wLoad("glGetPathMetricRangeNV"); + glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles2wLoad("glGetPathSpacingNV"); + glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles2wLoad("glIsPointInFillPathNV"); + glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles2wLoad("glIsPointInStrokePathNV"); + glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles2wLoad("glGetPathLengthNV"); + glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles2wLoad("glPointAlongPathNV"); + + glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles2wLoad("glMatrixLoad3x2fNV"); + glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles2wLoad("glMatrixLoad3x3fNV"); + glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixLoadTranspose3x3fNV"); + glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles2wLoad("glMatrixMult3x2fNV"); + glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles2wLoad("glMatrixMult3x3fNV"); + glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixMultTranspose3x3fNV"); + glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles2wLoad("glStencilThenCoverFillPathNV"); + glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles2wLoad("glStencilThenCoverStrokePathNV"); + glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverFillPathInstancedNV"); + glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverStrokePathInstancedNV"); + glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles2wLoad("glPathGlyphIndexRangeNV"); + + glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathGlyphIndexArrayNV"); + glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathMemoryGlyphIndexArrayNV"); + glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles2wLoad("glProgramPathFragmentInputGenNV"); + glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles2wLoad("glGetProgramResourcefvNV"); + + glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles2wLoad("glMatrixFrustumEXT"); + glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles2wLoad("glMatrixLoadIdentityEXT"); + glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles2wLoad("glMatrixLoadTransposefEXT"); + glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles2wLoad("glMatrixLoadTransposedEXT"); + glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles2wLoad("glMatrixLoadfEXT"); + glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles2wLoad("glMatrixLoaddEXT"); + glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles2wLoad("glMatrixMultTransposefEXT"); + glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles2wLoad("glMatrixMultTransposedEXT"); + glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles2wLoad("glMatrixMultfEXT"); + glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles2wLoad("glMatrixMultdEXT"); + glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles2wLoad("glMatrixOrthoEXT"); + glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles2wLoad("glMatrixPopEXT"); + glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles2wLoad("glMatrixPushEXT"); + glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles2wLoad("glMatrixRotatefEXT"); + glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles2wLoad("glMatrixRotatedEXT"); + glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles2wLoad("glMatrixScalefEXT"); + glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles2wLoad("glMatrixScaledEXT"); + glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles2wLoad("glMatrixTranslatefEXT"); + glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles2wLoad("glMatrixTranslatedEXT"); +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) + glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles2wLoad("glPolygonModeNV"); +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) + glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles2wLoad("glReadBufferNV"); +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) + glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glFramebufferSampleLocationsfvNV"); + glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glNamedFramebufferSampleLocationsfvNV"); + glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles2wLoad("glResolveDepthValuesNV"); +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) + glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles2wLoad("glScissorExclusiveNV"); + glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles2wLoad("glScissorExclusiveArrayvNV"); +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) + glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles2wLoad("glBindShadingRateImageNV"); + glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glGetShadingRateImagePaletteNV"); + glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles2wLoad("glGetShadingRateSampleLocationivNV"); + glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles2wLoad("glShadingRateImageBarrierNV"); + glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glShadingRateImagePaletteNV"); + glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles2wLoad("glShadingRateSampleOrderNV"); + glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles2wLoad("glShadingRateSampleOrderCustomNV"); +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) + glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles2wLoad("glViewportArrayvNV"); + glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles2wLoad("glViewportIndexedfNV"); + glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles2wLoad("glViewportIndexedfvNV"); + glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles2wLoad("glScissorArrayvNV"); + glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles2wLoad("glScissorIndexedNV"); + glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles2wLoad("glScissorIndexedvNV"); + glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles2wLoad("glDepthRangeArrayfvNV"); + glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles2wLoad("glDepthRangeIndexedfNV"); + glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles2wLoad("glGetFloati_vNV"); + glEnableiNV = (PFNGLENABLEINVPROC)gles2wLoad("glEnableiNV"); + glDisableiNV = (PFNGLDISABLEINVPROC)gles2wLoad("glDisableiNV"); + glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles2wLoad("glIsEnablediNV"); +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) + glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles2wLoad("glViewportSwizzleNV"); +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) + glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles2wLoad("glEGLImageTargetTexture2DOES"); + glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles2wLoad("glEGLImageTargetRenderbufferStorageOES"); +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) + glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles2wLoad("glCopyImageSubDataOES"); +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) + glEnableiOES = (PFNGLENABLEIOESPROC)gles2wLoad("glEnableiOES"); + glDisableiOES = (PFNGLDISABLEIOESPROC)gles2wLoad("glDisableiOES"); + glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles2wLoad("glBlendEquationiOES"); + glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles2wLoad("glBlendEquationSeparateiOES"); + glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles2wLoad("glBlendFunciOES"); + glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles2wLoad("glBlendFuncSeparateiOES"); + glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles2wLoad("glColorMaskiOES"); + glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles2wLoad("glIsEnablediOES"); +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) + glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawElementsBaseVertexOES"); + glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawRangeElementsBaseVertexOES"); + glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles2wLoad("glDrawElementsInstancedBaseVertexOES"); +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) + glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles2wLoad("glFramebufferTextureOES"); +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) + glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles2wLoad("glGetProgramBinaryOES"); + glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles2wLoad("glProgramBinaryOES"); +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) + glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles2wLoad("glMapBufferOES"); + glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles2wLoad("glUnmapBufferOES"); + glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles2wLoad("glGetBufferPointervOES"); +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) + glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles2wLoad("glPrimitiveBoundingBoxOES"); +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) + glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles2wLoad("glMinSampleShadingOES"); +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) + glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles2wLoad("glPatchParameteriOES"); +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) + glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles2wLoad("glTexImage3DOES"); + glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles2wLoad("glTexSubImage3DOES"); + glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles2wLoad("glCopyTexSubImage3DOES"); + glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles2wLoad("glCompressedTexImage3DOES"); + glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles2wLoad("glCompressedTexSubImage3DOES"); + glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles2wLoad("glFramebufferTexture3DOES"); +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) + glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles2wLoad("glTexParameterIivOES"); + glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles2wLoad("glTexParameterIuivOES"); + glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles2wLoad("glGetTexParameterIivOES"); + glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles2wLoad("glGetTexParameterIuivOES"); + glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glSamplerParameterIivOES"); + glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glSamplerParameterIuivOES"); + glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glGetSamplerParameterIivOES"); + glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glGetSamplerParameterIuivOES"); +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) + glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles2wLoad("glTexBufferOES"); + glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles2wLoad("glTexBufferRangeOES"); +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) + glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles2wLoad("glTexStorage3DMultisampleOES"); +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) + glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles2wLoad("glTextureViewOES"); +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) + glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles2wLoad("glBindVertexArrayOES"); + glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles2wLoad("glDeleteVertexArraysOES"); + glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles2wLoad("glGenVertexArraysOES"); + glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles2wLoad("glIsVertexArrayOES"); +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) + glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles2wLoad("glViewportArrayvOES"); + glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles2wLoad("glViewportIndexedfOES"); + glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles2wLoad("glViewportIndexedfvOES"); + glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles2wLoad("glScissorArrayvOES"); + glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles2wLoad("glScissorIndexedOES"); + glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles2wLoad("glScissorIndexedvOES"); + glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles2wLoad("glDepthRangeArrayfvOES"); + glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles2wLoad("glDepthRangeIndexedfOES"); + glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles2wLoad("glGetFloati_vOES"); +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) + glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultiviewOVR"); +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) + glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultisampleMultiviewOVR"); +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) + glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles2wLoad("glAlphaFuncQCOM"); +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) + glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles2wLoad("glGetDriverControlsQCOM"); + glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles2wLoad("glGetDriverControlStringQCOM"); + glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glEnableDriverControlQCOM"); + glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glDisableDriverControlQCOM"); +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) + glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles2wLoad("glExtGetTexturesQCOM"); + glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles2wLoad("glExtGetBuffersQCOM"); + glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles2wLoad("glExtGetRenderbuffersQCOM"); + glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles2wLoad("glExtGetFramebuffersQCOM"); + glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles2wLoad("glExtGetTexLevelParameterivQCOM"); + glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles2wLoad("glExtTexObjectStateOverrideiQCOM"); + glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles2wLoad("glExtGetTexSubImageQCOM"); + glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles2wLoad("glExtGetBufferPointervQCOM"); +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) + glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles2wLoad("glExtGetShadersQCOM"); + glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles2wLoad("glExtGetProgramsQCOM"); + glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles2wLoad("glExtIsProgramBinaryQCOM"); + glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles2wLoad("glExtGetProgramBinarySourceQCOM"); +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) + glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles2wLoad("glFramebufferFoveationConfigQCOM"); + glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glFramebufferFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) + glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles2wLoad("glTexEstimateMotionQCOM"); + glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles2wLoad("glTexEstimateMotionRegionsQCOM"); +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) + glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles2wLoad("glExtrapolateTex2DQCOM"); +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) + glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glTextureFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) + glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles2wLoad("glFramebufferFetchBarrierQCOM"); +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) + glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles2wLoad("glShadingRateQCOM"); +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) + glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles2wLoad("glStartTilingQCOM"); + glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles2wLoad("glEndTilingQCOM"); +#endif /* defined(GL_QCOM_tiled_rendering) */ + } diff --git a/native/cocos/renderer/gfx-gles3/gles3w.mm b/native/cocos/renderer/gfx-gles3/gles3w.mm index 065a7be7ad..064b15c2e9 100755 --- a/native/cocos/renderer/gfx-gles3/gles3w.mm +++ b/native/cocos/renderer/gfx-gles3/gles3w.mm @@ -23,87 +23,36 @@ THE SOFTWARE. ****************************************************************************/ #include "gles3w.h" -#if defined(_WIN32) && !defined(ANDROID) -#define WIN32_LEAN_AND_MEAN 1 -#include -#include - -static HMODULE libgl; - -static int open_libgl(void) -{ - libgl = LoadLibraryA("libGLESv2.dll"); - return (libgl != NULL); -} - -static void close_libgl(void) -{ - FreeLibrary(libgl); -} - -static void *get_proc(const char *proc) -{ - void *res; - - res = (void*)eglGetProcAddress(proc); - if (!res) - res = (void*)GetProcAddress(libgl, proc); - return res; -} -#elif defined(__APPLE__) || defined(__APPLE_CC__) #if TARGET_OS_IPHONE -#import -#import -#import -#import -#import -#import - -// Routine to run a system command and retrieve the output. -// From http://stackoverflow.com/questions/478898/how-to-execute-a-command-and-get-output-of-command-within-c -std::string ES3_EXEC(const char* cmd) { - FILE* pipe = popen(cmd, "r"); - if (!pipe) return "ERROR"; - char buffer[128]; - std::string result = ""; - while(!feof(pipe)) { - if(fgets(buffer, 128, pipe) != NULL) - result += buffer; - } - pclose(pipe); - return result; -} + #import + #import + #import + #import + #import + #import static CFBundleRef g_es3Bundle; static CFURLRef g_es3BundleURL; -static int open_libgl(void) -{ -#if TARGET_IPHONE_SIMULATOR +static int gles3wOpen(void) { + #if TARGET_IPHONE_SIMULATOR CFStringRef frameworkPath = CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework"); -#else + #else CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); -#endif - + #endif + g_es3BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, frameworkPath, kCFURLPOSIXPathStyle, true); - + CFRelease(frameworkPath); - + g_es3Bundle = CFBundleCreate(kCFAllocatorDefault, g_es3BundleURL); - + return (g_es3Bundle != NULL); } -static void close_libgl(void) -{ - CFRelease(g_es3Bundle); - CFRelease(g_es3BundleURL); -} - -static void *get_proc(const char *proc) -{ +static void *gles3wLoad(const char *proc) { void *res; CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, @@ -113,708 +62,3324 @@ static void *get_proc(const char *proc) return res; } #else -// macos -#include -#include -#include -#import -#import + // macos + #include + #include + #include + #import + #import -static void* libgl; +static void *libegl; +static void *libgl; -static int open_libgl(void) -{ +static int gles3wOpen(void) { NSURL *appURL = [[NSBundle mainBundle] bundleURL]; + std::string libPath(appURL.resourceSpecifier.UTF8String); + libPath.append("/Contents/Frameworks/libEGL.dylib"); + libegl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); + if (!libegl) printf("%s\n", dlerror()); + + libPath = appURL.resourceSpecifier.UTF8String; libPath.append("/Contents/Frameworks/libGLESv2.dylib"); - - libgl = dlopen(libPath.c_str(), RTLD_LOCAL|RTLD_LAZY); - if (!libgl) - printf("%s\n", dlerror()); - return (libgl != NULL); + libgl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); + if (!libgl) printf("%s\n", dlerror()); + + return (libegl && libgl); } -static void close_libgl(void) -{ - dlclose(libgl); -} - -static void *get_proc(const char *proc) -{ - void *res; - - res = (void*)eglGetProcAddress(proc); - if (!res) - res = (void*)dlsym(libgl, proc); +static void *gles3wLoad(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); + if (!res) res = (void *)dlsym(libegl, proc); return res; } #endif // #if TARGET_OS_IPHONE -#elif defined(__EMSCRIPTEN__) -#include -static void open_libgl() {} -static void close_libgl() {} -static void *get_proc(const char *proc) -{ - return (void*)eglGetProcAddress(proc); -} -#else -#include -#include -static void *libgl; +static void gles3wLoadProcs(); -static int open_libgl(void) -{ - libgl = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); - return (libgl != NULL); +bool gles3wInit() { + if (!gles3wOpen()) { + return false; + } + + gles3wLoadProcs(); + + return true; } -static void close_libgl(void) -{ - dlclose(libgl); -} - -static void *get_proc(const char *proc) -{ - void *res; - res = dlsym(libgl, proc); - return res; -} -#endif - -static struct { - int major, minor; -} version; - -static int parse_version(void) -{ - if (!glGetIntegerv) - return -1; - - glGetIntegerv(GL_MAJOR_VERSION, &version.major); - glGetIntegerv(GL_MINOR_VERSION, &version.minor); - - if (version.major < 3) - return -1; - return 0; -} - -static void load_procs(void); - -int gles3wInit(void) -{ - if (!open_libgl()) - { - NSLog(@"Failed to open libgl"); - return 0; - } - - load_procs(); - close_libgl(); - parse_version(); - - return 1; -} - -int gles3wIsSupported(int major, int minor) -{ - if (major <= 3) - return 0; - if (version.major == major) - return version.minor >= minor; - return version.major >= major; -} - -void *gles3wGetProcAddress(const char *proc) -{ - return get_proc(proc); -} - -PFNGLACTIVETEXTUREPROC gles3wActiveTexture; -PFNGLATTACHSHADERPROC gles3wAttachShader; -PFNGLBINDATTRIBLOCATIONPROC gles3wBindAttribLocation; -PFNGLBINDBUFFERPROC gles3wBindBuffer; -PFNGLBINDFRAMEBUFFERPROC gles3wBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC gles3wBindRenderbuffer; -PFNGLBINDTEXTUREPROC gles3wBindTexture; -PFNGLBLENDCOLORPROC gles3wBlendColor; -PFNGLBLENDEQUATIONPROC gles3wBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC gles3wBlendEquationSeparate; -PFNGLBLENDFUNCPROC gles3wBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC gles3wBlendFuncSeparate; -PFNGLBUFFERDATAPROC gles3wBufferData; -PFNGLBUFFERSUBDATAPROC gles3wBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC gles3wCheckFramebufferStatus; -PFNGLCLEARPROC gles3wClear; -PFNGLCLEARCOLORPROC gles3wClearColor; -PFNGLCLEARDEPTHFPROC gles3wClearDepthf; -PFNGLCLEARSTENCILPROC gles3wClearStencil; -PFNGLCOLORMASKPROC gles3wColorMask; -PFNGLCOMPILESHADERPROC gles3wCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC gles3wCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC gles3wCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC gles3wCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC gles3wCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC gles3wCreateProgram; -PFNGLCREATESHADERPROC gles3wCreateShader; -PFNGLCULLFACEPROC gles3wCullFace; -PFNGLDELETEBUFFERSPROC gles3wDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC gles3wDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC gles3wDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC gles3wDeleteRenderbuffers; -PFNGLDELETESHADERPROC gles3wDeleteShader; -PFNGLDELETETEXTURESPROC gles3wDeleteTextures; -PFNGLDEPTHFUNCPROC gles3wDepthFunc; -PFNGLDEPTHMASKPROC gles3wDepthMask; -PFNGLDEPTHRANGEFPROC gles3wDepthRangef; -PFNGLDETACHSHADERPROC gles3wDetachShader; -PFNGLDISABLEPROC gles3wDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC gles3wDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC gles3wDrawArrays; -PFNGLDRAWELEMENTSPROC gles3wDrawElements; -PFNGLENABLEPROC gles3wEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC gles3wEnableVertexAttribArray; -PFNGLFINISHPROC gles3wFinish; -PFNGLFLUSHPROC gles3wFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC gles3wFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC gles3wFramebufferTexture2D; -PFNGLFRONTFACEPROC gles3wFrontFace; -PFNGLGENBUFFERSPROC gles3wGenBuffers; -PFNGLGENERATEMIPMAPPROC gles3wGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC gles3wGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC gles3wGenRenderbuffers; -PFNGLGENTEXTURESPROC gles3wGenTextures; -PFNGLGETACTIVEATTRIBPROC gles3wGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC gles3wGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC gles3wGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC gles3wGetAttribLocation; -PFNGLGETBOOLEANVPROC gles3wGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC gles3wGetBufferParameteriv; -PFNGLGETERRORPROC gles3wGetError; -PFNGLGETFLOATVPROC gles3wGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC gles3wGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC gles3wGetIntegerv; -PFNGLGETPROGRAMIVPROC gles3wGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC gles3wGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC gles3wGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC gles3wGetShaderiv; -PFNGLGETSHADERINFOLOGPROC gles3wGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC gles3wGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC gles3wGetShaderSource; -PFNGLGETSTRINGPROC gles3wGetString; -PFNGLGETTEXPARAMETERFVPROC gles3wGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC gles3wGetTexParameteriv; -PFNGLGETUNIFORMFVPROC gles3wGetUniformfv; -PFNGLGETUNIFORMIVPROC gles3wGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC gles3wGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC gles3wGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC gles3wGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC gles3wGetVertexAttribPointerv; -PFNGLHINTPROC gles3wHint; -PFNGLISBUFFERPROC gles3wIsBuffer; -PFNGLISENABLEDPROC gles3wIsEnabled; -PFNGLISFRAMEBUFFERPROC gles3wIsFramebuffer; -PFNGLISPROGRAMPROC gles3wIsProgram; -PFNGLISRENDERBUFFERPROC gles3wIsRenderbuffer; -PFNGLISSHADERPROC gles3wIsShader; -PFNGLISTEXTUREPROC gles3wIsTexture; -PFNGLLINEWIDTHPROC gles3wLineWidth; -PFNGLLINKPROGRAMPROC gles3wLinkProgram; -PFNGLPIXELSTOREIPROC gles3wPixelStorei; -PFNGLPOLYGONOFFSETPROC gles3wPolygonOffset; -PFNGLREADPIXELSPROC gles3wReadPixels; -PFNGLRELEASESHADERCOMPILERPROC gles3wReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC gles3wRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC gles3wSampleCoverage; -PFNGLSCISSORPROC gles3wScissor; -PFNGLSHADERBINARYPROC gles3wShaderBinary; -PFNGLSHADERSOURCEPROC gles3wShaderSource; -PFNGLSTENCILFUNCPROC gles3wStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC gles3wStencilFuncSeparate; -PFNGLSTENCILMASKPROC gles3wStencilMask; -PFNGLSTENCILMASKSEPARATEPROC gles3wStencilMaskSeparate; -PFNGLSTENCILOPPROC gles3wStencilOp; -PFNGLSTENCILOPSEPARATEPROC gles3wStencilOpSeparate; -PFNGLTEXIMAGE2DPROC gles3wTexImage2D; -PFNGLTEXPARAMETERFPROC gles3wTexParameterf; -PFNGLTEXPARAMETERFVPROC gles3wTexParameterfv; -PFNGLTEXPARAMETERIPROC gles3wTexParameteri; -PFNGLTEXPARAMETERIVPROC gles3wTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC gles3wTexSubImage2D; -PFNGLUNIFORM1FPROC gles3wUniform1f; -PFNGLUNIFORM1FVPROC gles3wUniform1fv; -PFNGLUNIFORM1IPROC gles3wUniform1i; -PFNGLUNIFORM1IVPROC gles3wUniform1iv; -PFNGLUNIFORM2FPROC gles3wUniform2f; -PFNGLUNIFORM2FVPROC gles3wUniform2fv; -PFNGLUNIFORM2IPROC gles3wUniform2i; -PFNGLUNIFORM2IVPROC gles3wUniform2iv; -PFNGLUNIFORM3FPROC gles3wUniform3f; -PFNGLUNIFORM3FVPROC gles3wUniform3fv; -PFNGLUNIFORM3IPROC gles3wUniform3i; -PFNGLUNIFORM3IVPROC gles3wUniform3iv; -PFNGLUNIFORM4FPROC gles3wUniform4f; -PFNGLUNIFORM4FVPROC gles3wUniform4fv; -PFNGLUNIFORM4IPROC gles3wUniform4i; -PFNGLUNIFORM4IVPROC gles3wUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC gles3wUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC gles3wUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC gles3wUniformMatrix4fv; -PFNGLUSEPROGRAMPROC gles3wUseProgram; -PFNGLVALIDATEPROGRAMPROC gles3wValidateProgram; -PFNGLVERTEXATTRIB1FPROC gles3wVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC gles3wVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC gles3wVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC gles3wVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC gles3wVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC gles3wVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC gles3wVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC gles3wVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC gles3wVertexAttribPointer; -PFNGLVIEWPORTPROC gles3wViewport; -PFNGLREADBUFFERPROC gles3wReadBuffer; -PFNGLDRAWRANGEELEMENTSPROC gles3wDrawRangeElements; -PFNGLTEXIMAGE3DPROC gles3wTexImage3D; -PFNGLTEXSUBIMAGE3DPROC gles3wTexSubImage3D; -PFNGLCOPYTEXSUBIMAGE3DPROC gles3wCopyTexSubImage3D; -PFNGLCOMPRESSEDTEXIMAGE3DPROC gles3wCompressedTexImage3D; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC gles3wCompressedTexSubImage3D; -PFNGLGENQUERIESPROC gles3wGenQueries; -PFNGLDELETEQUERIESPROC gles3wDeleteQueries; -PFNGLISQUERYPROC gles3wIsQuery; -PFNGLBEGINQUERYPROC gles3wBeginQuery; -PFNGLENDQUERYPROC gles3wEndQuery; -PFNGLGETQUERYIVPROC gles3wGetQueryiv; -PFNGLGETQUERYOBJECTUIVPROC gles3wGetQueryObjectuiv; -PFNGLUNMAPBUFFERPROC gles3wUnmapBuffer; -PFNGLGETBUFFERPOINTERVPROC gles3wGetBufferPointerv; -PFNGLDRAWBUFFERSPROC gles3wDrawBuffers; -PFNGLUNIFORMMATRIX2X3FVPROC gles3wUniformMatrix2x3fv; -PFNGLUNIFORMMATRIX3X2FVPROC gles3wUniformMatrix3x2fv; -PFNGLUNIFORMMATRIX2X4FVPROC gles3wUniformMatrix2x4fv; -PFNGLUNIFORMMATRIX4X2FVPROC gles3wUniformMatrix4x2fv; -PFNGLUNIFORMMATRIX3X4FVPROC gles3wUniformMatrix3x4fv; -PFNGLUNIFORMMATRIX4X3FVPROC gles3wUniformMatrix4x3fv; -PFNGLBLITFRAMEBUFFERPROC gles3wBlitFramebuffer; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC gles3wRenderbufferStorageMultisample; -PFNGLFRAMEBUFFERTEXTURELAYERPROC gles3wFramebufferTextureLayer; -PFNGLMAPBUFFERRANGEPROC gles3wMapBufferRange; -PFNGLFLUSHMAPPEDBUFFERRANGEPROC gles3wFlushMappedBufferRange; -PFNGLBINDVERTEXARRAYPROC gles3wBindVertexArray; -PFNGLDELETEVERTEXARRAYSPROC gles3wDeleteVertexArrays; -PFNGLGENVERTEXARRAYSPROC gles3wGenVertexArrays; -PFNGLISVERTEXARRAYPROC gles3wIsVertexArray; -PFNGLGETINTEGERI_VPROC gles3wGetIntegeri_v; -PFNGLBEGINTRANSFORMFEEDBACKPROC gles3wBeginTransformFeedback; -PFNGLENDTRANSFORMFEEDBACKPROC gles3wEndTransformFeedback; -PFNGLBINDBUFFERRANGEPROC gles3wBindBufferRange; -PFNGLBINDBUFFERBASEPROC gles3wBindBufferBase; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC gles3wTransformFeedbackVaryings; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC gles3wGetTransformFeedbackVarying; -PFNGLVERTEXATTRIBIPOINTERPROC gles3wVertexAttribIPointer; -PFNGLGETVERTEXATTRIBIIVPROC gles3wGetVertexAttribIiv; -PFNGLGETVERTEXATTRIBIUIVPROC gles3wGetVertexAttribIuiv; -PFNGLVERTEXATTRIBI4IPROC gles3wVertexAttribI4i; -PFNGLVERTEXATTRIBI4UIPROC gles3wVertexAttribI4ui; -PFNGLVERTEXATTRIBI4IVPROC gles3wVertexAttribI4iv; -PFNGLVERTEXATTRIBI4UIVPROC gles3wVertexAttribI4uiv; -PFNGLGETUNIFORMUIVPROC gles3wGetUniformuiv; -PFNGLGETFRAGDATALOCATIONPROC gles3wGetFragDataLocation; -PFNGLUNIFORM1UIPROC gles3wUniform1ui; -PFNGLUNIFORM2UIPROC gles3wUniform2ui; -PFNGLUNIFORM3UIPROC gles3wUniform3ui; -PFNGLUNIFORM4UIPROC gles3wUniform4ui; -PFNGLUNIFORM1UIVPROC gles3wUniform1uiv; -PFNGLUNIFORM2UIVPROC gles3wUniform2uiv; -PFNGLUNIFORM3UIVPROC gles3wUniform3uiv; -PFNGLUNIFORM4UIVPROC gles3wUniform4uiv; -PFNGLCLEARBUFFERIVPROC gles3wClearBufferiv; -PFNGLCLEARBUFFERUIVPROC gles3wClearBufferuiv; -PFNGLCLEARBUFFERFVPROC gles3wClearBufferfv; -PFNGLCLEARBUFFERFIPROC gles3wClearBufferfi; -PFNGLGETSTRINGIPROC gles3wGetStringi; -PFNGLCOPYBUFFERSUBDATAPROC gles3wCopyBufferSubData; -PFNGLGETUNIFORMINDICESPROC gles3wGetUniformIndices; -PFNGLGETACTIVEUNIFORMSIVPROC gles3wGetActiveUniformsiv; -PFNGLGETUNIFORMBLOCKINDEXPROC gles3wGetUniformBlockIndex; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC gles3wGetActiveUniformBlockiv; -PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC gles3wGetActiveUniformBlockName; -PFNGLUNIFORMBLOCKBINDINGPROC gles3wUniformBlockBinding; -PFNGLDRAWARRAYSINSTANCEDPROC gles3wDrawArraysInstanced; -PFNGLDRAWELEMENTSINSTANCEDPROC gles3wDrawElementsInstanced; -PFNGLFENCESYNCPROC gles3wFenceSync; -PFNGLISSYNCPROC gles3wIsSync; -PFNGLDELETESYNCPROC gles3wDeleteSync; -PFNGLCLIENTWAITSYNCPROC gles3wClientWaitSync; -PFNGLWAITSYNCPROC gles3wWaitSync; -PFNGLGETINTEGER64VPROC gles3wGetInteger64v; -PFNGLGETSYNCIVPROC gles3wGetSynciv; -PFNGLGETINTEGER64I_VPROC gles3wGetInteger64i_v; -PFNGLGETBUFFERPARAMETERI64VPROC gles3wGetBufferParameteri64v; -PFNGLGENSAMPLERSPROC gles3wGenSamplers; -PFNGLDELETESAMPLERSPROC gles3wDeleteSamplers; -PFNGLISSAMPLERPROC gles3wIsSampler; -PFNGLBINDSAMPLERPROC gles3wBindSampler; -PFNGLSAMPLERPARAMETERIPROC gles3wSamplerParameteri; -PFNGLSAMPLERPARAMETERIVPROC gles3wSamplerParameteriv; -PFNGLSAMPLERPARAMETERFPROC gles3wSamplerParameterf; -PFNGLSAMPLERPARAMETERFVPROC gles3wSamplerParameterfv; -PFNGLGETSAMPLERPARAMETERIVPROC gles3wGetSamplerParameteriv; -PFNGLGETSAMPLERPARAMETERFVPROC gles3wGetSamplerParameterfv; -PFNGLVERTEXATTRIBDIVISORPROC gles3wVertexAttribDivisor; -PFNGLBINDTRANSFORMFEEDBACKPROC gles3wBindTransformFeedback; -PFNGLDELETETRANSFORMFEEDBACKSPROC gles3wDeleteTransformFeedbacks; -PFNGLGENTRANSFORMFEEDBACKSPROC gles3wGenTransformFeedbacks; -PFNGLISTRANSFORMFEEDBACKPROC gles3wIsTransformFeedback; -PFNGLPAUSETRANSFORMFEEDBACKPROC gles3wPauseTransformFeedback; -PFNGLRESUMETRANSFORMFEEDBACKPROC gles3wResumeTransformFeedback; -PFNGLGETPROGRAMBINARYPROC gles3wGetProgramBinary; -PFNGLPROGRAMBINARYPROC gles3wProgramBinary; -PFNGLPROGRAMPARAMETERIPROC gles3wProgramParameteri; -PFNGLINVALIDATEFRAMEBUFFERPROC gles3wInvalidateFramebuffer; -PFNGLINVALIDATESUBFRAMEBUFFERPROC gles3wInvalidateSubFramebuffer; -PFNGLTEXSTORAGE2DPROC gles3wTexStorage2D; -PFNGLTEXSTORAGE3DPROC gles3wTexStorage3D; -PFNGLGETINTERNALFORMATIVPROC gles3wGetInternalformativ; -PFNGLUSEPROGRAMSTAGESEXTPROC gles3wUseProgramStagesEXT; -PFNGLACTIVESHADERPROGRAMEXTPROC gles3wActiveShaderProgramEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC gles3wCreateShaderProgramvEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC gles3wBindProgramPipelineEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC gles3wDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC gles3wGenProgramPipelinesEXT; -PFNGLISPROGRAMPIPELINEEXTPROC gles3wIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC gles3wProgramParameteriEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC gles3wGetProgramPipelineivEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC gles3wProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC gles3wProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC gles3wProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC gles3wProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC gles3wProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC gles3wProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC gles3wProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC gles3wProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC gles3wProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC gles3wProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC gles3wProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC gles3wProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC gles3wProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC gles3wProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC gles3wProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC gles3wProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC gles3wProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC gles3wProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC gles3wProgramUniformMatrix4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC gles3wProgramUniformMatrix2x3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC gles3wProgramUniformMatrix3x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC gles3wProgramUniformMatrix2x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC gles3wProgramUniformMatrix4x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC gles3wProgramUniformMatrix3x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC gles3wProgramUniformMatrix4x3fvEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC gles3wValidateProgramPipelineEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC gles3wGetProgramPipelineInfoLogEXT; -PFNGLLABELOBJECTEXTPROC gles3wLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC gles3wGetObjectLabelEXT; -PFNGLINSERTEVENTMARKEREXTPROC gles3wInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC gles3wPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC gles3wPopGroupMarkerEXT; - -PFNGLDEBUGMESSAGECONTROLKHRPROC gles3wDebugMessageControlKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC gles3wDebugMessageCallbackKHR; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC gles3wFramebufferTexture2DMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC gles3wFramebufferTexture2DMultisampleIMG; - -static void load_procs(void) -{ - gles3wActiveTexture = (PFNGLACTIVETEXTUREPROC) get_proc("glActiveTexture"); - gles3wAttachShader = (PFNGLATTACHSHADERPROC) get_proc("glAttachShader"); - gles3wBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC) get_proc("glBindAttribLocation"); - gles3wBindBuffer = (PFNGLBINDBUFFERPROC) get_proc("glBindBuffer"); - gles3wBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC) get_proc("glBindFramebuffer"); - gles3wBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC) get_proc("glBindRenderbuffer"); - gles3wBindTexture = (PFNGLBINDTEXTUREPROC) get_proc("glBindTexture"); - gles3wBlendColor = (PFNGLBLENDCOLORPROC) get_proc("glBlendColor"); - gles3wBlendEquation = (PFNGLBLENDEQUATIONPROC) get_proc("glBlendEquation"); - gles3wBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC) get_proc("glBlendEquationSeparate"); - gles3wBlendFunc = (PFNGLBLENDFUNCPROC) get_proc("glBlendFunc"); - gles3wBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC) get_proc("glBlendFuncSeparate"); - gles3wBufferData = (PFNGLBUFFERDATAPROC) get_proc("glBufferData"); - gles3wBufferSubData = (PFNGLBUFFERSUBDATAPROC) get_proc("glBufferSubData"); - gles3wCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC) get_proc("glCheckFramebufferStatus"); - gles3wClear = (PFNGLCLEARPROC) get_proc("glClear"); - gles3wClearColor = (PFNGLCLEARCOLORPROC) get_proc("glClearColor"); - gles3wClearDepthf = (PFNGLCLEARDEPTHFPROC) get_proc("glClearDepthf"); - gles3wClearStencil = (PFNGLCLEARSTENCILPROC) get_proc("glClearStencil"); - gles3wColorMask = (PFNGLCOLORMASKPROC) get_proc("glColorMask"); - gles3wCompileShader = (PFNGLCOMPILESHADERPROC) get_proc("glCompileShader"); - gles3wCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC) get_proc("glCompressedTexImage2D"); - gles3wCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) get_proc("glCompressedTexSubImage2D"); - gles3wCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC) get_proc("glCopyTexImage2D"); - gles3wCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC) get_proc("glCopyTexSubImage2D"); - gles3wCreateProgram = (PFNGLCREATEPROGRAMPROC) get_proc("glCreateProgram"); - gles3wCreateShader = (PFNGLCREATESHADERPROC) get_proc("glCreateShader"); - gles3wCullFace = (PFNGLCULLFACEPROC) get_proc("glCullFace"); - gles3wDeleteBuffers = (PFNGLDELETEBUFFERSPROC) get_proc("glDeleteBuffers"); - gles3wDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC) get_proc("glDeleteFramebuffers"); - gles3wDeleteProgram = (PFNGLDELETEPROGRAMPROC) get_proc("glDeleteProgram"); - gles3wDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC) get_proc("glDeleteRenderbuffers"); - gles3wDeleteShader = (PFNGLDELETESHADERPROC) get_proc("glDeleteShader"); - gles3wDeleteTextures = (PFNGLDELETETEXTURESPROC) get_proc("glDeleteTextures"); - gles3wDepthFunc = (PFNGLDEPTHFUNCPROC) get_proc("glDepthFunc"); - gles3wDepthMask = (PFNGLDEPTHMASKPROC) get_proc("glDepthMask"); - gles3wDepthRangef = (PFNGLDEPTHRANGEFPROC) get_proc("glDepthRangef"); - gles3wDetachShader = (PFNGLDETACHSHADERPROC) get_proc("glDetachShader"); - gles3wDisable = (PFNGLDISABLEPROC) get_proc("glDisable"); - gles3wDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC) get_proc("glDisableVertexAttribArray"); - gles3wDrawArrays = (PFNGLDRAWARRAYSPROC) get_proc("glDrawArrays"); - gles3wDrawElements = (PFNGLDRAWELEMENTSPROC) get_proc("glDrawElements"); - gles3wEnable = (PFNGLENABLEPROC) get_proc("glEnable"); - gles3wEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC) get_proc("glEnableVertexAttribArray"); - gles3wFinish = (PFNGLFINISHPROC) get_proc("glFinish"); - gles3wFlush = (PFNGLFLUSHPROC) get_proc("glFlush"); - gles3wFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC) get_proc("glFramebufferRenderbuffer"); - gles3wFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC) get_proc("glFramebufferTexture2D"); - gles3wFrontFace = (PFNGLFRONTFACEPROC) get_proc("glFrontFace"); - gles3wGenBuffers = (PFNGLGENBUFFERSPROC) get_proc("glGenBuffers"); - gles3wGenerateMipmap = (PFNGLGENERATEMIPMAPPROC) get_proc("glGenerateMipmap"); - gles3wGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC) get_proc("glGenFramebuffers"); - gles3wGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC) get_proc("glGenRenderbuffers"); - gles3wGenTextures = (PFNGLGENTEXTURESPROC) get_proc("glGenTextures"); - gles3wGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC) get_proc("glGetActiveAttrib"); - gles3wGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC) get_proc("glGetActiveUniform"); - gles3wGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC) get_proc("glGetAttachedShaders"); - gles3wGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC) get_proc("glGetAttribLocation"); - gles3wGetBooleanv = (PFNGLGETBOOLEANVPROC) get_proc("glGetBooleanv"); - gles3wGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC) get_proc("glGetBufferParameteriv"); - gles3wGetError = (PFNGLGETERRORPROC) get_proc("glGetError"); - gles3wGetFloatv = (PFNGLGETFLOATVPROC) get_proc("glGetFloatv"); - gles3wGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) get_proc("glGetFramebufferAttachmentParameteriv"); - gles3wGetIntegerv = (PFNGLGETINTEGERVPROC) get_proc("glGetIntegerv"); - gles3wGetProgramiv = (PFNGLGETPROGRAMIVPROC) get_proc("glGetProgramiv"); - gles3wGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC) get_proc("glGetProgramInfoLog"); - gles3wGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC) get_proc("glGetRenderbufferParameteriv"); - gles3wGetShaderiv = (PFNGLGETSHADERIVPROC) get_proc("glGetShaderiv"); - gles3wGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC) get_proc("glGetShaderInfoLog"); - gles3wGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC) get_proc("glGetShaderPrecisionFormat"); - gles3wGetShaderSource = (PFNGLGETSHADERSOURCEPROC) get_proc("glGetShaderSource"); - gles3wGetString = (PFNGLGETSTRINGPROC) get_proc("glGetString"); - gles3wGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC) get_proc("glGetTexParameterfv"); - gles3wGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC) get_proc("glGetTexParameteriv"); - gles3wGetUniformfv = (PFNGLGETUNIFORMFVPROC) get_proc("glGetUniformfv"); - gles3wGetUniformiv = (PFNGLGETUNIFORMIVPROC) get_proc("glGetUniformiv"); - gles3wGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC) get_proc("glGetUniformLocation"); - gles3wGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC) get_proc("glGetVertexAttribfv"); - gles3wGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC) get_proc("glGetVertexAttribiv"); - gles3wGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC) get_proc("glGetVertexAttribPointerv"); - gles3wHint = (PFNGLHINTPROC) get_proc("glHint"); - gles3wIsBuffer = (PFNGLISBUFFERPROC) get_proc("glIsBuffer"); - gles3wIsEnabled = (PFNGLISENABLEDPROC) get_proc("glIsEnabled"); - gles3wIsFramebuffer = (PFNGLISFRAMEBUFFERPROC) get_proc("glIsFramebuffer"); - gles3wIsProgram = (PFNGLISPROGRAMPROC) get_proc("glIsProgram"); - gles3wIsRenderbuffer = (PFNGLISRENDERBUFFERPROC) get_proc("glIsRenderbuffer"); - gles3wIsShader = (PFNGLISSHADERPROC) get_proc("glIsShader"); - gles3wIsTexture = (PFNGLISTEXTUREPROC) get_proc("glIsTexture"); - gles3wLineWidth = (PFNGLLINEWIDTHPROC) get_proc("glLineWidth"); - gles3wLinkProgram = (PFNGLLINKPROGRAMPROC) get_proc("glLinkProgram"); - gles3wPixelStorei = (PFNGLPIXELSTOREIPROC) get_proc("glPixelStorei"); - gles3wPolygonOffset = (PFNGLPOLYGONOFFSETPROC) get_proc("glPolygonOffset"); - gles3wReadPixels = (PFNGLREADPIXELSPROC) get_proc("glReadPixels"); - gles3wReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC) get_proc("glReleaseShaderCompiler"); - gles3wRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC) get_proc("glRenderbufferStorage"); - gles3wSampleCoverage = (PFNGLSAMPLECOVERAGEPROC) get_proc("glSampleCoverage"); - gles3wScissor = (PFNGLSCISSORPROC) get_proc("glScissor"); - gles3wShaderBinary = (PFNGLSHADERBINARYPROC) get_proc("glShaderBinary"); - gles3wShaderSource = (PFNGLSHADERSOURCEPROC) get_proc("glShaderSource"); - gles3wStencilFunc = (PFNGLSTENCILFUNCPROC) get_proc("glStencilFunc"); - gles3wStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC) get_proc("glStencilFuncSeparate"); - gles3wStencilMask = (PFNGLSTENCILMASKPROC) get_proc("glStencilMask"); - gles3wStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC) get_proc("glStencilMaskSeparate"); - gles3wStencilOp = (PFNGLSTENCILOPPROC) get_proc("glStencilOp"); - gles3wStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC) get_proc("glStencilOpSeparate"); - gles3wTexImage2D = (PFNGLTEXIMAGE2DPROC) get_proc("glTexImage2D"); - gles3wTexParameterf = (PFNGLTEXPARAMETERFPROC) get_proc("glTexParameterf"); - gles3wTexParameterfv = (PFNGLTEXPARAMETERFVPROC) get_proc("glTexParameterfv"); - gles3wTexParameteri = (PFNGLTEXPARAMETERIPROC) get_proc("glTexParameteri"); - gles3wTexParameteriv = (PFNGLTEXPARAMETERIVPROC) get_proc("glTexParameteriv"); - gles3wTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC) get_proc("glTexSubImage2D"); - gles3wUniform1f = (PFNGLUNIFORM1FPROC) get_proc("glUniform1f"); - gles3wUniform1fv = (PFNGLUNIFORM1FVPROC) get_proc("glUniform1fv"); - gles3wUniform1i = (PFNGLUNIFORM1IPROC) get_proc("glUniform1i"); - gles3wUniform1iv = (PFNGLUNIFORM1IVPROC) get_proc("glUniform1iv"); - gles3wUniform2f = (PFNGLUNIFORM2FPROC) get_proc("glUniform2f"); - gles3wUniform2fv = (PFNGLUNIFORM2FVPROC) get_proc("glUniform2fv"); - gles3wUniform2i = (PFNGLUNIFORM2IPROC) get_proc("glUniform2i"); - gles3wUniform2iv = (PFNGLUNIFORM2IVPROC) get_proc("glUniform2iv"); - gles3wUniform3f = (PFNGLUNIFORM3FPROC) get_proc("glUniform3f"); - gles3wUniform3fv = (PFNGLUNIFORM3FVPROC) get_proc("glUniform3fv"); - gles3wUniform3i = (PFNGLUNIFORM3IPROC) get_proc("glUniform3i"); - gles3wUniform3iv = (PFNGLUNIFORM3IVPROC) get_proc("glUniform3iv"); - gles3wUniform4f = (PFNGLUNIFORM4FPROC) get_proc("glUniform4f"); - gles3wUniform4fv = (PFNGLUNIFORM4FVPROC) get_proc("glUniform4fv"); - gles3wUniform4i = (PFNGLUNIFORM4IPROC) get_proc("glUniform4i"); - gles3wUniform4iv = (PFNGLUNIFORM4IVPROC) get_proc("glUniform4iv"); - gles3wUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC) get_proc("glUniformMatrix2fv"); - gles3wUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC) get_proc("glUniformMatrix3fv"); - gles3wUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC) get_proc("glUniformMatrix4fv"); - gles3wUseProgram = (PFNGLUSEPROGRAMPROC) get_proc("glUseProgram"); - gles3wValidateProgram = (PFNGLVALIDATEPROGRAMPROC) get_proc("glValidateProgram"); - gles3wVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC) get_proc("glVertexAttrib1f"); - gles3wVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC) get_proc("glVertexAttrib1fv"); - gles3wVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC) get_proc("glVertexAttrib2f"); - gles3wVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC) get_proc("glVertexAttrib2fv"); - gles3wVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC) get_proc("glVertexAttrib3f"); - gles3wVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC) get_proc("glVertexAttrib3fv"); - gles3wVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC) get_proc("glVertexAttrib4f"); - gles3wVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC) get_proc("glVertexAttrib4fv"); - gles3wVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC) get_proc("glVertexAttribPointer"); - gles3wViewport = (PFNGLVIEWPORTPROC) get_proc("glViewport"); - gles3wReadBuffer = (PFNGLREADBUFFERPROC) get_proc("glReadBuffer"); - gles3wDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC) get_proc("glDrawRangeElements"); - gles3wTexImage3D = (PFNGLTEXIMAGE3DPROC) get_proc("glTexImage3D"); - gles3wTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC) get_proc("glTexSubImage3D"); - gles3wCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC) get_proc("glCopyTexSubImage3D"); - gles3wCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC) get_proc("glCompressedTexImage3D"); - gles3wCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) get_proc("glCompressedTexSubImage3D"); - gles3wGenQueries = (PFNGLGENQUERIESPROC) get_proc("glGenQueries"); - gles3wDeleteQueries = (PFNGLDELETEQUERIESPROC) get_proc("glDeleteQueries"); - gles3wIsQuery = (PFNGLISQUERYPROC) get_proc("glIsQuery"); - gles3wBeginQuery = (PFNGLBEGINQUERYPROC) get_proc("glBeginQuery"); - gles3wEndQuery = (PFNGLENDQUERYPROC) get_proc("glEndQuery"); - gles3wGetQueryiv = (PFNGLGETQUERYIVPROC) get_proc("glGetQueryiv"); - gles3wGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC) get_proc("glGetQueryObjectuiv"); - gles3wUnmapBuffer = (PFNGLUNMAPBUFFERPROC) get_proc("glUnmapBuffer"); - gles3wGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC) get_proc("glGetBufferPointerv"); - gles3wDrawBuffers = (PFNGLDRAWBUFFERSPROC) get_proc("glDrawBuffers"); - gles3wUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC) get_proc("glUniformMatrix2x3fv"); - gles3wUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC) get_proc("glUniformMatrix3x2fv"); - gles3wUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC) get_proc("glUniformMatrix2x4fv"); - gles3wUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC) get_proc("glUniformMatrix4x2fv"); - gles3wUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC) get_proc("glUniformMatrix3x4fv"); - gles3wUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC) get_proc("glUniformMatrix4x3fv"); - gles3wBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC) get_proc("glBlitFramebuffer"); - gles3wRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) get_proc("glRenderbufferStorageMultisample"); - gles3wFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC) get_proc("glFramebufferTextureLayer"); - gles3wMapBufferRange = (PFNGLMAPBUFFERRANGEPROC) get_proc("glMapBufferRange"); - gles3wFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC) get_proc("glFlushMappedBufferRange"); - gles3wBindVertexArray = (PFNGLBINDVERTEXARRAYPROC) get_proc("glBindVertexArray"); - gles3wDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC) get_proc("glDeleteVertexArrays"); - gles3wGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC) get_proc("glGenVertexArrays"); - gles3wIsVertexArray = (PFNGLISVERTEXARRAYPROC) get_proc("glIsVertexArray"); - gles3wGetIntegeri_v = (PFNGLGETINTEGERI_VPROC) get_proc("glGetIntegeri_v"); - gles3wBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC) get_proc("glBeginTransformFeedback"); - gles3wEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC) get_proc("glEndTransformFeedback"); - gles3wBindBufferRange = (PFNGLBINDBUFFERRANGEPROC) get_proc("glBindBufferRange"); - gles3wBindBufferBase = (PFNGLBINDBUFFERBASEPROC) get_proc("glBindBufferBase"); - gles3wTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC) get_proc("glTransformFeedbackVaryings"); - gles3wGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) get_proc("glGetTransformFeedbackVarying"); - gles3wVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC) get_proc("glVertexAttribIPointer"); - gles3wGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC) get_proc("glGetVertexAttribIiv"); - gles3wGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC) get_proc("glGetVertexAttribIuiv"); - gles3wVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC) get_proc("glVertexAttribI4i"); - gles3wVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC) get_proc("glVertexAttribI4ui"); - gles3wVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC) get_proc("glVertexAttribI4iv"); - gles3wVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC) get_proc("glVertexAttribI4uiv"); - gles3wGetUniformuiv = (PFNGLGETUNIFORMUIVPROC) get_proc("glGetUniformuiv"); - gles3wGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC) get_proc("glGetFragDataLocation"); - gles3wUniform1ui = (PFNGLUNIFORM1UIPROC) get_proc("glUniform1ui"); - gles3wUniform2ui = (PFNGLUNIFORM2UIPROC) get_proc("glUniform2ui"); - gles3wUniform3ui = (PFNGLUNIFORM3UIPROC) get_proc("glUniform3ui"); - gles3wUniform4ui = (PFNGLUNIFORM4UIPROC) get_proc("glUniform4ui"); - gles3wUniform1uiv = (PFNGLUNIFORM1UIVPROC) get_proc("glUniform1uiv"); - gles3wUniform2uiv = (PFNGLUNIFORM2UIVPROC) get_proc("glUniform2uiv"); - gles3wUniform3uiv = (PFNGLUNIFORM3UIVPROC) get_proc("glUniform3uiv"); - gles3wUniform4uiv = (PFNGLUNIFORM4UIVPROC) get_proc("glUniform4uiv"); - gles3wClearBufferiv = (PFNGLCLEARBUFFERIVPROC) get_proc("glClearBufferiv"); - gles3wClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC) get_proc("glClearBufferuiv"); - gles3wClearBufferfv = (PFNGLCLEARBUFFERFVPROC) get_proc("glClearBufferfv"); - gles3wClearBufferfi = (PFNGLCLEARBUFFERFIPROC) get_proc("glClearBufferfi"); - gles3wGetStringi = (PFNGLGETSTRINGIPROC) get_proc("glGetStringi"); - gles3wCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC) get_proc("glCopyBufferSubData"); - gles3wGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC) get_proc("glGetUniformIndices"); - gles3wGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC) get_proc("glGetActiveUniformsiv"); - gles3wGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC) get_proc("glGetUniformBlockIndex"); - gles3wGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC) get_proc("glGetActiveUniformBlockiv"); - gles3wGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) get_proc("glGetActiveUniformBlockName"); - gles3wUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC) get_proc("glUniformBlockBinding"); - gles3wDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC) get_proc("glDrawArraysInstanced"); - gles3wDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC) get_proc("glDrawElementsInstanced"); - gles3wFenceSync = (PFNGLFENCESYNCPROC) get_proc("glFenceSync"); - gles3wIsSync = (PFNGLISSYNCPROC) get_proc("glIsSync"); - gles3wDeleteSync = (PFNGLDELETESYNCPROC) get_proc("glDeleteSync"); - gles3wClientWaitSync = (PFNGLCLIENTWAITSYNCPROC) get_proc("glClientWaitSync"); - gles3wWaitSync = (PFNGLWAITSYNCPROC) get_proc("glWaitSync"); - gles3wGetInteger64v = (PFNGLGETINTEGER64VPROC) get_proc("glGetInteger64v"); - gles3wGetSynciv = (PFNGLGETSYNCIVPROC) get_proc("glGetSynciv"); - gles3wGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC) get_proc("glGetInteger64i_v"); - gles3wGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC) get_proc("glGetBufferParameteri64v"); - gles3wGenSamplers = (PFNGLGENSAMPLERSPROC) get_proc("glGenSamplers"); - gles3wDeleteSamplers = (PFNGLDELETESAMPLERSPROC) get_proc("glDeleteSamplers"); - gles3wIsSampler = (PFNGLISSAMPLERPROC) get_proc("glIsSampler"); - gles3wBindSampler = (PFNGLBINDSAMPLERPROC) get_proc("glBindSampler"); - gles3wSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC) get_proc("glSamplerParameteri"); - gles3wSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC) get_proc("glSamplerParameteriv"); - gles3wSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC) get_proc("glSamplerParameterf"); - gles3wSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC) get_proc("glSamplerParameterfv"); - gles3wGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC) get_proc("glGetSamplerParameteriv"); - gles3wGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC) get_proc("glGetSamplerParameterfv"); - gles3wVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC) get_proc("glVertexAttribDivisor"); - gles3wBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC) get_proc("glBindTransformFeedback"); - gles3wDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC) get_proc("glDeleteTransformFeedbacks"); - gles3wGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC) get_proc("glGenTransformFeedbacks"); - gles3wIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC) get_proc("glIsTransformFeedback"); - gles3wPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC) get_proc("glPauseTransformFeedback"); - gles3wResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC) get_proc("glResumeTransformFeedback"); - gles3wGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC) get_proc("glGetProgramBinary"); - gles3wProgramBinary = (PFNGLPROGRAMBINARYPROC) get_proc("glProgramBinary"); - gles3wProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC) get_proc("glProgramParameteri"); - gles3wInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC) get_proc("glInvalidateFramebuffer"); - gles3wInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC) get_proc("glInvalidateSubFramebuffer"); - gles3wTexStorage2D = (PFNGLTEXSTORAGE2DPROC) get_proc("glTexStorage2D"); - gles3wTexStorage3D = (PFNGLTEXSTORAGE3DPROC) get_proc("glTexStorage3D"); - gles3wGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC) get_proc("glGetInternalformativ"); - gles3wLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC) get_proc("glLabelObjectEXT"); - gles3wGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC) get_proc("glGetObjectLabelEXT"); - gles3wInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC) get_proc("glInsertEventMarkerEXT"); - gles3wPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC) get_proc("glPushGroupMarkerEXT"); - gles3wPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC) get_proc("glPopGroupMarkerEXT"); - gles3wUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC) get_proc("glUseProgramStagesEXT"); - gles3wActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC) get_proc("glActiveShaderProgramEXT"); - gles3wCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC) get_proc("glCreateShaderProgramvEXT"); - gles3wBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC) get_proc("glBindProgramPipelineEXT"); - gles3wDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC) get_proc("glDeleteProgramPipelinesEXT"); - gles3wGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC) get_proc("glGenProgramPipelinesEXT"); - gles3wIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC) get_proc("glIsProgramPipelineEXT"); - gles3wProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC) get_proc("glProgramParameteriEXT"); - gles3wGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC) get_proc("glGetProgramPipelineivEXT"); - gles3wProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC) get_proc("glProgramUniform1iEXT"); - gles3wProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC) get_proc("glProgramUniform2iEXT"); - gles3wProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC) get_proc("glProgramUniform3iEXT"); - gles3wProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC) get_proc("glProgramUniform4iEXT"); - gles3wProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC) get_proc("glProgramUniform1fEXT"); - gles3wProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC) get_proc("glProgramUniform2fEXT"); - gles3wProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC) get_proc("glProgramUniform3fEXT"); - gles3wProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC) get_proc("glProgramUniform4fEXT"); - gles3wProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC) get_proc("glProgramUniform1ivEXT"); - gles3wProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC) get_proc("glProgramUniform2ivEXT"); - gles3wProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC) get_proc("glProgramUniform3ivEXT"); - gles3wProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC) get_proc("glProgramUniform4ivEXT"); - gles3wProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC) get_proc("glProgramUniform1fvEXT"); - gles3wProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC) get_proc("glProgramUniform2fvEXT"); - gles3wProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC) get_proc("glProgramUniform3fvEXT"); - gles3wProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC) get_proc("glProgramUniform4fvEXT"); - gles3wProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) get_proc("glProgramUniformMatrix2fvEXT"); - gles3wProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) get_proc("glProgramUniformMatrix3fvEXT"); - gles3wProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) get_proc("glProgramUniformMatrix4fvEXT"); - gles3wProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) get_proc("glProgramUniformMatrix2x3fvEXT"); - gles3wProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) get_proc("glProgramUniformMatrix3x2fvEXT"); - gles3wProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) get_proc("glProgramUniformMatrix2x4fvEXT"); - gles3wProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) get_proc("glProgramUniformMatrix4x2fvEXT"); - gles3wProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) get_proc("glProgramUniformMatrix3x4fvEXT"); - gles3wProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) get_proc("glProgramUniformMatrix4x3fvEXT"); - gles3wValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) get_proc("glValidateProgramPipelineEXT"); - gles3wGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) get_proc("glGetProgramPipelineInfoLogEXT"); - - gles3wDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)get_proc("glDebugMessageControlKHR"); - gles3wDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)get_proc("glDebugMessageCallbackKHR"); - gles3wFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)get_proc("glFramebufferTexture2DMultisampleEXT"); - gles3wFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)get_proc("glFramebufferTexture2DMultisampleIMG"); +/* GLES3W_GENERATE_IMPLEMENTATION */ + +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +PFNEGLGETCONFIGSPROC eglGetConfigs; +PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYCONTEXTPROC eglQueryContext; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLQUERYSURFACEPROC eglQuerySurface; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLTERMINATEPROC eglTerminate; +PFNEGLWAITGLPROC eglWaitGL; +PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLQUERYAPIPROC eglQueryAPI; +PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +PFNEGLRELEASETHREADPROC eglReleaseThread; +PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +PFNEGLCREATESYNCPROC eglCreateSync; +PFNEGLDESTROYSYNCPROC eglDestroySync; +PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +PFNEGLCREATEIMAGEPROC eglCreateImage; +PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +PFNEGLFENCENVPROC eglFenceNV; +PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + +/* GL_ES_VERSION_2_0 */ +PFNGLACTIVETEXTUREPROC glActiveTexture; +PFNGLATTACHSHADERPROC glAttachShader; +PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; +PFNGLBINDBUFFERPROC glBindBuffer; +PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; +PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; +PFNGLBINDTEXTUREPROC glBindTexture; +PFNGLBLENDCOLORPROC glBlendColor; +PFNGLBLENDEQUATIONPROC glBlendEquation; +PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; +PFNGLBLENDFUNCPROC glBlendFunc; +PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; +PFNGLBUFFERDATAPROC glBufferData; +PFNGLBUFFERSUBDATAPROC glBufferSubData; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; +PFNGLCLEARPROC glClear; +PFNGLCLEARCOLORPROC glClearColor; +PFNGLCLEARDEPTHFPROC glClearDepthf; +PFNGLCLEARSTENCILPROC glClearStencil; +PFNGLCOLORMASKPROC glColorMask; +PFNGLCOMPILESHADERPROC glCompileShader; +PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; +PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; +PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; +PFNGLCREATEPROGRAMPROC glCreateProgram; +PFNGLCREATESHADERPROC glCreateShader; +PFNGLCULLFACEPROC glCullFace; +PFNGLDELETEBUFFERSPROC glDeleteBuffers; +PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; +PFNGLDELETEPROGRAMPROC glDeleteProgram; +PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; +PFNGLDELETESHADERPROC glDeleteShader; +PFNGLDELETETEXTURESPROC glDeleteTextures; +PFNGLDEPTHFUNCPROC glDepthFunc; +PFNGLDEPTHMASKPROC glDepthMask; +PFNGLDEPTHRANGEFPROC glDepthRangef; +PFNGLDETACHSHADERPROC glDetachShader; +PFNGLDISABLEPROC glDisable; +PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; +PFNGLDRAWARRAYSPROC glDrawArrays; +PFNGLDRAWELEMENTSPROC glDrawElements; +PFNGLENABLEPROC glEnable; +PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; +PFNGLFINISHPROC glFinish; +PFNGLFLUSHPROC glFlush; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; +PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; +PFNGLFRONTFACEPROC glFrontFace; +PFNGLGENBUFFERSPROC glGenBuffers; +PFNGLGENERATEMIPMAPPROC glGenerateMipmap; +PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; +PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; +PFNGLGENTEXTURESPROC glGenTextures; +PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; +PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; +PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; +PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; +PFNGLGETBOOLEANVPROC glGetBooleanv; +PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; +PFNGLGETERRORPROC glGetError; +PFNGLGETFLOATVPROC glGetFloatv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; +PFNGLGETINTEGERVPROC glGetIntegerv; +PFNGLGETPROGRAMIVPROC glGetProgramiv; +PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; +PFNGLGETSHADERIVPROC glGetShaderiv; +PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; +PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; +PFNGLGETSHADERSOURCEPROC glGetShaderSource; +PFNGLGETSTRINGPROC glGetString; +PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; +PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; +PFNGLGETUNIFORMFVPROC glGetUniformfv; +PFNGLGETUNIFORMIVPROC glGetUniformiv; +PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; +PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; +PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; +PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; +PFNGLHINTPROC glHint; +PFNGLISBUFFERPROC glIsBuffer; +PFNGLISENABLEDPROC glIsEnabled; +PFNGLISFRAMEBUFFERPROC glIsFramebuffer; +PFNGLISPROGRAMPROC glIsProgram; +PFNGLISRENDERBUFFERPROC glIsRenderbuffer; +PFNGLISSHADERPROC glIsShader; +PFNGLISTEXTUREPROC glIsTexture; +PFNGLLINEWIDTHPROC glLineWidth; +PFNGLLINKPROGRAMPROC glLinkProgram; +PFNGLPIXELSTOREIPROC glPixelStorei; +PFNGLPOLYGONOFFSETPROC glPolygonOffset; +PFNGLREADPIXELSPROC glReadPixels; +PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; +PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; +PFNGLSAMPLECOVERAGEPROC glSampleCoverage; +PFNGLSCISSORPROC glScissor; +PFNGLSHADERBINARYPROC glShaderBinary; +PFNGLSHADERSOURCEPROC glShaderSource; +PFNGLSTENCILFUNCPROC glStencilFunc; +PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; +PFNGLSTENCILMASKPROC glStencilMask; +PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; +PFNGLSTENCILOPPROC glStencilOp; +PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; +PFNGLTEXIMAGE2DPROC glTexImage2D; +PFNGLTEXPARAMETERFPROC glTexParameterf; +PFNGLTEXPARAMETERFVPROC glTexParameterfv; +PFNGLTEXPARAMETERIPROC glTexParameteri; +PFNGLTEXPARAMETERIVPROC glTexParameteriv; +PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; +PFNGLUNIFORM1FPROC glUniform1f; +PFNGLUNIFORM1FVPROC glUniform1fv; +PFNGLUNIFORM1IPROC glUniform1i; +PFNGLUNIFORM1IVPROC glUniform1iv; +PFNGLUNIFORM2FPROC glUniform2f; +PFNGLUNIFORM2FVPROC glUniform2fv; +PFNGLUNIFORM2IPROC glUniform2i; +PFNGLUNIFORM2IVPROC glUniform2iv; +PFNGLUNIFORM3FPROC glUniform3f; +PFNGLUNIFORM3FVPROC glUniform3fv; +PFNGLUNIFORM3IPROC glUniform3i; +PFNGLUNIFORM3IVPROC glUniform3iv; +PFNGLUNIFORM4FPROC glUniform4f; +PFNGLUNIFORM4FVPROC glUniform4fv; +PFNGLUNIFORM4IPROC glUniform4i; +PFNGLUNIFORM4IVPROC glUniform4iv; +PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; +PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; +PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; +PFNGLUSEPROGRAMPROC glUseProgram; +PFNGLVALIDATEPROGRAMPROC glValidateProgram; +PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; +PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; +PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; +PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; +PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; +PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; +PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; +PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; +PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; +PFNGLVIEWPORTPROC glViewport; + + +/* GL_ES_VERSION_3_0 */ +PFNGLREADBUFFERPROC glReadBuffer; +PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +PFNGLTEXIMAGE3DPROC glTexImage3D; +PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +PFNGLGENQUERIESPROC glGenQueries; +PFNGLDELETEQUERIESPROC glDeleteQueries; +PFNGLISQUERYPROC glIsQuery; +PFNGLBEGINQUERYPROC glBeginQuery; +PFNGLENDQUERYPROC glEndQuery; +PFNGLGETQUERYIVPROC glGetQueryiv; +PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +PFNGLUNMAPBUFFERPROC glUnmapBuffer; +PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +PFNGLDRAWBUFFERSPROC glDrawBuffers; +PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +PFNGLISVERTEXARRAYPROC glIsVertexArray; +PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +PFNGLBINDBUFFERBASEPROC glBindBufferBase; +PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +PFNGLUNIFORM1UIPROC glUniform1ui; +PFNGLUNIFORM2UIPROC glUniform2ui; +PFNGLUNIFORM3UIPROC glUniform3ui; +PFNGLUNIFORM4UIPROC glUniform4ui; +PFNGLUNIFORM1UIVPROC glUniform1uiv; +PFNGLUNIFORM2UIVPROC glUniform2uiv; +PFNGLUNIFORM3UIVPROC glUniform3uiv; +PFNGLUNIFORM4UIVPROC glUniform4uiv; +PFNGLCLEARBUFFERIVPROC glClearBufferiv; +PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +PFNGLCLEARBUFFERFVPROC glClearBufferfv; +PFNGLCLEARBUFFERFIPROC glClearBufferfi; +PFNGLGETSTRINGIPROC glGetStringi; +PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +PFNGLFENCESYNCPROC glFenceSync; +PFNGLISSYNCPROC glIsSync; +PFNGLDELETESYNCPROC glDeleteSync; +PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +PFNGLWAITSYNCPROC glWaitSync; +PFNGLGETINTEGER64VPROC glGetInteger64v; +PFNGLGETSYNCIVPROC glGetSynciv; +PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +PFNGLGENSAMPLERSPROC glGenSamplers; +PFNGLDELETESAMPLERSPROC glDeleteSamplers; +PFNGLISSAMPLERPROC glIsSampler; +PFNGLBINDSAMPLERPROC glBindSampler; +PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +PFNGLPROGRAMBINARYPROC glProgramBinary; +PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +PFNGLTEXSTORAGE2DPROC glTexStorage2D; +PFNGLTEXSTORAGE3DPROC glTexStorage3D; +PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; + + +/* GL_ES_VERSION_3_1 */ +PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; + +PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; +PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; + +PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; +PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; + +PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; +PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; + +PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; +PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; +PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; +PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; +PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; +PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; +PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; +PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; +PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; +PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; +PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; +PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; +PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; +PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; +PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; +PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; +PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; +PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; +PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; +PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; +PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; +PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; +PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; +PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; +PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; +PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; +PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; +PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; +PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; +PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; +PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; +PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; +PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; +PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; +PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; +PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; +PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; +PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; +PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; +PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; +PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; +PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; +PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; + +PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +PFNGLGETBOOLEANI_VPROC glGetBooleani_v; +PFNGLMEMORYBARRIERPROC glMemoryBarrier; +PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; + +PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; +PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; +PFNGLSAMPLEMASKIPROC glSampleMaski; +PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; +PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; + +PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; +PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; +PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; +PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; +PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; + + +/* GL_ES_VERSION_3_2 */ +PFNGLBLENDBARRIERPROC glBlendBarrier; + +PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; + +PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; +PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; +PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; +PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; +PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; +PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; +PFNGLOBJECTLABELPROC glObjectLabel; +PFNGLGETOBJECTLABELPROC glGetObjectLabel; +PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; +PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; +PFNGLGETPOINTERVPROC glGetPointerv; + +PFNGLENABLEIPROC glEnablei; +PFNGLDISABLEIPROC glDisablei; +PFNGLBLENDEQUATIONIPROC glBlendEquationi; +PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; +PFNGLBLENDFUNCIPROC glBlendFunci; +PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; +PFNGLCOLORMASKIPROC glColorMaski; +PFNGLISENABLEDIPROC glIsEnabledi; + +PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; +PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; + +PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; + +PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; + +PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; +PFNGLREADNPIXELSPROC glReadnPixels; +PFNGLGETNUNIFORMFVPROC glGetnUniformfv; +PFNGLGETNUNIFORMIVPROC glGetnUniformiv; +PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; + +PFNGLMINSAMPLESHADINGPROC glMinSampleShading; + +PFNGLPATCHPARAMETERIPROC glPatchParameteri; + +PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; +PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; +PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; +PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; +PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; +PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; +PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; +PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; + +PFNGLTEXBUFFERPROC glTexBuffer; +PFNGLTEXBUFFERRANGEPROC glTexBufferRange; + +PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; + + +#if defined(GL_AMD_framebuffer_multisample_advanced) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; +PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) +PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; +PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; +PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; +PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; +PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; +PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; +PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; +PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; +PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; +PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; +PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) +PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) +PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; +PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; +PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) +PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) +PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; +PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) +PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; +PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; +PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; +PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; +PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; +PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; +PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) +PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; + +PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) +PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) +PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; +PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; +PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; +PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) +PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) +PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; +PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) +PFNGLCLIPCONTROLEXTPROC glClipControlEXT; +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) +PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) +PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; +PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) +PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; +PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; +PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) +PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) +PFNGLGENQUERIESEXTPROC glGenQueriesEXT; +PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; +PFNGLISQUERYEXTPROC glIsQueryEXT; +PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; +PFNGLENDQUERYEXTPROC glEndQueryEXT; +PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; +PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; +PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; +PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; +PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; +PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; +PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) +PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) +PFNGLENABLEIEXTPROC glEnableiEXT; +PFNGLDISABLEIEXTPROC glDisableiEXT; +PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; +PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; +PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; +PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; +PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; +PFNGLISENABLEDIEXTPROC glIsEnablediEXT; +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; +PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; +PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; +PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) +PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; +PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) +PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; +PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) +PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) +PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; +PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) +PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; +PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; +PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; +PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; +PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; +PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; +PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; +PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; +PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; +PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; +PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; +PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; + +PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; +PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; +PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; +PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; +PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) +PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) +PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; +PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) +PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; +PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) +PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; +PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) +PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; +PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; +PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) +PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) +PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) +PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; +PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; +PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; +PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) +PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; +PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; +PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; +PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; +PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; +PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; +PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) +PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) +PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; +PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) +PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; +PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; +PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; +PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; +PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; +PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; +PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; +PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; +PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; +PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; +PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; +PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; +PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; +PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; +PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; +PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; +PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; +PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; +PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; +PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; +PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; +PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; +PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; +PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; +PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; +PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; +PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; +PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; + +PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; +PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; +PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; +PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; +PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; +PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; +PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; +PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; +PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; +PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; +PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) +PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) +PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; +PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; +PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) +PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) +PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) +PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; +PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; +PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; +PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; +PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; +PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; +PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; +PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) +PFNGLTEXBUFFEREXTPROC glTexBufferEXT; +PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) +PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; +PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; +PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; + +PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; +PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; +PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) +PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) +PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; +PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; +PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) +PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; +PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) +PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) +PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; +PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; +PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; +PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; +PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; +PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) +PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; +PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; +PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) +PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) +PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; +PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; +PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; +PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; +PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; +PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; +PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; +PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; +PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; +PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) +PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) +PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; +PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; +PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; +PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; +PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; +PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; +PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; +PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; +PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; +PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; +PFNGLGETPOINTERVKHRPROC glGetPointervKHR; +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) +PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; +PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; +PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; +PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; +PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) +PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) +PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; +PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) +PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; +PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; +PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; +PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; +PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; +PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; +PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; +PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; +PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; +PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; +PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; +PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; +PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) +PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; +PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) +PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) +PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; +PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) +PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) +PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) +PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) +PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; +PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) +PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) +PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; +PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) +PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; +PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; +PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; +PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; +PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) +PFNGLDELETEFENCESNVPROC glDeleteFencesNV; +PFNGLGENFENCESNVPROC glGenFencesNV; +PFNGLISFENCENVPROC glIsFenceNV; +PFNGLTESTFENCENVPROC glTestFenceNV; +PFNGLGETFENCEIVNVPROC glGetFenceivNV; +PFNGLFINISHFENCENVPROC glFinishFenceNV; +PFNGLSETFENCENVPROC glSetFenceNV; +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) +PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) +PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) +PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; +PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; +PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) +PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) +PFNGLUNIFORM1I64NVPROC glUniform1i64NV; +PFNGLUNIFORM2I64NVPROC glUniform2i64NV; +PFNGLUNIFORM3I64NVPROC glUniform3i64NV; +PFNGLUNIFORM4I64NVPROC glUniform4i64NV; +PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; +PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; +PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; +PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; +PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; +PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; +PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; +PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; +PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; +PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; +PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; +PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; +PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; + +PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; +PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; +PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; +PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; +PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; +PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; +PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; +PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; +PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; +PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; +PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; +PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; +PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; +PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; +PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; +PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) +PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) +PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) +PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; +PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; +PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; +PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; + +PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; +PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) +PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; +PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; + +PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; +PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) +PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; +PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; +PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) +PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; +PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; +PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; +PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; +PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; +PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) +PFNGLGENPATHSNVPROC glGenPathsNV; +PFNGLDELETEPATHSNVPROC glDeletePathsNV; +PFNGLISPATHNVPROC glIsPathNV; +PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; +PFNGLPATHCOORDSNVPROC glPathCoordsNV; +PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; +PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; +PFNGLPATHSTRINGNVPROC glPathStringNV; +PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; +PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; +PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; +PFNGLCOPYPATHNVPROC glCopyPathNV; +PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; +PFNGLTRANSFORMPATHNVPROC glTransformPathNV; +PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; +PFNGLPATHPARAMETERINVPROC glPathParameteriNV; +PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; +PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; +PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; +PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; +PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; +PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; +PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; +PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; +PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; +PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; +PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; +PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; +PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; +PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; +PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; +PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; +PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; +PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; +PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; +PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; +PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; +PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; +PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; +PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; +PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; +PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; + +PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; +PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; +PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; +PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; +PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; +PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; +PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; +PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; +PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; +PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; +PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; + +PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; +PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; +PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; +PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; + +PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; +PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; +PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; +PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; +PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; +PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; +PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; +PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; +PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; +PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; +PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; +PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; +PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; +PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; +PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; +PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; +PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; +PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; +PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) +PFNGLPOLYGONMODENVPROC glPolygonModeNV; +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) +PFNGLREADBUFFERNVPROC glReadBufferNV; +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) +PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; +PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; +PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) +PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; +PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) +PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; +PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; +PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; +PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; +PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; +PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; +PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) +PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; +PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; +PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; +PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; +PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; +PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; +PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; +PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; +PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; +PFNGLENABLEINVPROC glEnableiNV; +PFNGLDISABLEINVPROC glDisableiNV; +PFNGLISENABLEDINVPROC glIsEnablediNV; +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) +PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) +PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; +PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) +PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) +PFNGLENABLEIOESPROC glEnableiOES; +PFNGLDISABLEIOESPROC glDisableiOES; +PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; +PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; +PFNGLBLENDFUNCIOESPROC glBlendFunciOES; +PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; +PFNGLCOLORMASKIOESPROC glColorMaskiOES; +PFNGLISENABLEDIOESPROC glIsEnablediOES; +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) +PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; +PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) +PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) +PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; +PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) +PFNGLMAPBUFFEROESPROC glMapBufferOES; +PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; +PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) +PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) +PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) +PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) +PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; +PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; +PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; +PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; +PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; +PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) +PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; +PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; +PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; +PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; +PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; +PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; +PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; +PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) +PFNGLTEXBUFFEROESPROC glTexBufferOES; +PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) +PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) +PFNGLTEXTUREVIEWOESPROC glTextureViewOES; +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) +PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; +PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; +PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; +PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) +PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; +PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; +PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; +PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; +PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; +PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; +PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; +PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; +PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) +PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) +PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) +PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) +PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; +PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; +PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; +PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) +PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; +PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; +PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; +PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; +PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; +PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; +PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; +PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) +PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; +PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; +PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; +PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) +PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; +PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) +PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; +PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) +PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) +PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) +PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) +PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) +PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; +PFNGLENDTILINGQCOMPROC glEndTilingQCOM; +#endif /* defined(GL_QCOM_tiled_rendering) */ + + +static void gles3wLoadProcs() { + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles3wLoad("eglGetProcAddress"); + + /* EGL_VERSION_1_0 */ + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)gles3wLoad("eglChooseConfig"); + eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)gles3wLoad("eglCopyBuffers"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)gles3wLoad("eglCreateContext"); + eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)gles3wLoad("eglCreatePbufferSurface"); + eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)gles3wLoad("eglCreatePixmapSurface"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)gles3wLoad("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)gles3wLoad("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)gles3wLoad("eglDestroySurface"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)gles3wLoad("eglGetConfigAttrib"); + eglGetConfigs = (PFNEGLGETCONFIGSPROC)gles3wLoad("eglGetConfigs"); + eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)gles3wLoad("eglGetCurrentDisplay"); + eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)gles3wLoad("eglGetCurrentSurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)gles3wLoad("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)gles3wLoad("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)gles3wLoad("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)gles3wLoad("eglMakeCurrent"); + eglQueryContext = (PFNEGLQUERYCONTEXTPROC)gles3wLoad("eglQueryContext"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)gles3wLoad("eglQueryString"); + eglQuerySurface = (PFNEGLQUERYSURFACEPROC)gles3wLoad("eglQuerySurface"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)gles3wLoad("eglSwapBuffers"); + eglTerminate = (PFNEGLTERMINATEPROC)gles3wLoad("eglTerminate"); + eglWaitGL = (PFNEGLWAITGLPROC)gles3wLoad("eglWaitGL"); + eglWaitNative = (PFNEGLWAITNATIVEPROC)gles3wLoad("eglWaitNative"); + + + /* EGL_VERSION_1_1 */ + eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)gles3wLoad("eglBindTexImage"); + eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)gles3wLoad("eglReleaseTexImage"); + eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)gles3wLoad("eglSurfaceAttrib"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)gles3wLoad("eglSwapInterval"); + + + /* EGL_VERSION_1_2 */ + eglBindAPI = (PFNEGLBINDAPIPROC)gles3wLoad("eglBindAPI"); + eglQueryAPI = (PFNEGLQUERYAPIPROC)gles3wLoad("eglQueryAPI"); + eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)gles3wLoad("eglCreatePbufferFromClientBuffer"); + eglReleaseThread = (PFNEGLRELEASETHREADPROC)gles3wLoad("eglReleaseThread"); + eglWaitClient = (PFNEGLWAITCLIENTPROC)gles3wLoad("eglWaitClient"); + + + /* EGL_VERSION_1_3 */ + + /* EGL_VERSION_1_4 */ + eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)gles3wLoad("eglGetCurrentContext"); + + + /* EGL_VERSION_1_5 */ + eglCreateSync = (PFNEGLCREATESYNCPROC)gles3wLoad("eglCreateSync"); + eglDestroySync = (PFNEGLDESTROYSYNCPROC)gles3wLoad("eglDestroySync"); + eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)gles3wLoad("eglClientWaitSync"); + eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)gles3wLoad("eglGetSyncAttrib"); + + eglCreateImage = (PFNEGLCREATEIMAGEPROC)gles3wLoad("eglCreateImage"); + eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)gles3wLoad("eglDestroyImage"); + + eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)gles3wLoad("eglGetPlatformDisplay"); + eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)gles3wLoad("eglCreatePlatformWindowSurface"); + eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)gles3wLoad("eglCreatePlatformPixmapSurface"); + + eglWaitSync = (PFNEGLWAITSYNCPROC)gles3wLoad("eglWaitSync"); + + +#if defined(EGL_ANDROID_blob_cache) + eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)gles3wLoad("eglSetBlobCacheFuncsANDROID"); +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) + eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)gles3wLoad("eglCreateNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) + eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)gles3wLoad("eglGetNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) + eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)gles3wLoad("eglDupNativeFenceFDANDROID"); +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) + eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)gles3wLoad("eglPresentationTimeANDROID"); +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) + eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)gles3wLoad("eglGetCompositorTimingSupportedANDROID"); + eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)gles3wLoad("eglGetCompositorTimingANDROID"); + eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)gles3wLoad("eglGetNextFrameIdANDROID"); + eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)gles3wLoad("eglGetFrameTimestampSupportedANDROID"); + eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)gles3wLoad("eglGetFrameTimestampsANDROID"); +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) + eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)gles3wLoad("eglQuerySurfacePointerANGLE"); +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) + eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)gles3wLoad("eglClientSignalSyncEXT"); +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) + eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)gles3wLoad("eglQueryDeviceAttribEXT"); + eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)gles3wLoad("eglQueryDeviceStringEXT"); + eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)gles3wLoad("eglQueryDevicesEXT"); + eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)gles3wLoad("eglQueryDisplayAttribEXT"); +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) + eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)gles3wLoad("eglQueryDmaBufFormatsEXT"); + eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)gles3wLoad("eglQueryDmaBufModifiersEXT"); +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) + eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)gles3wLoad("eglGetOutputLayersEXT"); + eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)gles3wLoad("eglGetOutputPortsEXT"); + eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)gles3wLoad("eglOutputLayerAttribEXT"); + eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)gles3wLoad("eglQueryOutputLayerAttribEXT"); + eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)gles3wLoad("eglQueryOutputLayerStringEXT"); + eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)gles3wLoad("eglOutputPortAttribEXT"); + eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)gles3wLoad("eglQueryOutputPortAttribEXT"); + eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)gles3wLoad("eglQueryOutputPortStringEXT"); +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) + eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)gles3wLoad("eglGetPlatformDisplayEXT"); + eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)gles3wLoad("eglCreatePlatformWindowSurfaceEXT"); + eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)gles3wLoad("eglCreatePlatformPixmapSurfaceEXT"); +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) + eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)gles3wLoad("eglStreamConsumerOutputEXT"); +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) + eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)gles3wLoad("eglSwapBuffersWithDamageEXT"); +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) + eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)gles3wLoad("eglUnsignalSyncEXT"); +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) + eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)gles3wLoad("eglCreatePixmapSurfaceHI"); +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) + eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)gles3wLoad("eglCreateSync64KHR"); +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) + eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("eglDebugMessageControlKHR"); + eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)gles3wLoad("eglQueryDebugKHR"); + eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)gles3wLoad("eglLabelObjectKHR"); +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) + eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)gles3wLoad("eglQueryDisplayAttribKHR"); +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) + eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)gles3wLoad("eglCreateSyncKHR"); + eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)gles3wLoad("eglDestroySyncKHR"); + eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)gles3wLoad("eglClientWaitSyncKHR"); + eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)gles3wLoad("eglGetSyncAttribKHR"); +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) + eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gles3wLoad("eglCreateImageKHR"); + eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gles3wLoad("eglDestroyImageKHR"); +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) + eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)gles3wLoad("eglLockSurfaceKHR"); + eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)gles3wLoad("eglUnlockSurfaceKHR"); +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) + eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)gles3wLoad("eglQuerySurface64KHR"); +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) + eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)gles3wLoad("eglSetDamageRegionKHR"); +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) + eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)gles3wLoad("eglSignalSyncKHR"); +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) + eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)gles3wLoad("eglCreateStreamKHR"); + eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)gles3wLoad("eglDestroyStreamKHR"); + eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)gles3wLoad("eglStreamAttribKHR"); + eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)gles3wLoad("eglQueryStreamKHR"); + eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)gles3wLoad("eglQueryStreamu64KHR"); +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) + eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)gles3wLoad("eglCreateStreamAttribKHR"); + eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)gles3wLoad("eglSetStreamAttribKHR"); + eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)gles3wLoad("eglQueryStreamAttribKHR"); + eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)gles3wLoad("eglStreamConsumerAcquireAttribKHR"); + eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)gles3wLoad("eglStreamConsumerReleaseAttribKHR"); +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) + eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)gles3wLoad("eglStreamConsumerGLTextureExternalKHR"); + eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)gles3wLoad("eglStreamConsumerAcquireKHR"); + eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)gles3wLoad("eglStreamConsumerReleaseKHR"); +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) + eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)gles3wLoad("eglGetStreamFileDescriptorKHR"); + eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)gles3wLoad("eglCreateStreamFromFileDescriptorKHR"); +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) + eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)gles3wLoad("eglQueryStreamTimeKHR"); +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) + eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)gles3wLoad("eglCreateStreamProducerSurfaceKHR"); +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) + eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)gles3wLoad("eglSwapBuffersWithDamageKHR"); +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) + eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)gles3wLoad("eglWaitSyncKHR"); +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) + eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)gles3wLoad("eglCreateDRMImageMESA"); + eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)gles3wLoad("eglExportDRMImageMESA"); +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) + eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)gles3wLoad("eglExportDMABUFImageQueryMESA"); + eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)gles3wLoad("eglExportDMABUFImageMESA"); +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) + eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)gles3wLoad("eglGetDisplayDriverConfig"); + eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)gles3wLoad("eglGetDisplayDriverName"); +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) + eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)gles3wLoad("eglSwapBuffersRegionNOK"); +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) + eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)gles3wLoad("eglSwapBuffersRegion2NOK"); +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) + eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)gles3wLoad("eglQueryNativeDisplayNV"); + eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)gles3wLoad("eglQueryNativeWindowNV"); + eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)gles3wLoad("eglQueryNativePixmapNV"); +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) + eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)gles3wLoad("eglPostSubBufferNV"); +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) + eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)gles3wLoad("eglStreamConsumerGLTextureExternalAttribsNV"); +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) + eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)gles3wLoad("eglStreamImageConsumerConnectNV"); + eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)gles3wLoad("eglQueryStreamConsumerEventNV"); + eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)gles3wLoad("eglStreamAcquireImageNV"); + eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)gles3wLoad("eglStreamReleaseImageNV"); +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) + eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)gles3wLoad("eglStreamFlushNV"); +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) + eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)gles3wLoad("eglQueryDisplayAttribNV"); + eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)gles3wLoad("eglSetStreamMetadataNV"); + eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)gles3wLoad("eglQueryStreamMetadataNV"); +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) + eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)gles3wLoad("eglResetStreamNV"); +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) + eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)gles3wLoad("eglCreateStreamSyncNV"); +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) + eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)gles3wLoad("eglCreateFenceSyncNV"); + eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)gles3wLoad("eglDestroySyncNV"); + eglFenceNV = (PFNEGLFENCENVPROC)gles3wLoad("eglFenceNV"); + eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)gles3wLoad("eglClientWaitSyncNV"); + eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)gles3wLoad("eglSignalSyncNV"); + eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)gles3wLoad("eglGetSyncAttribNV"); +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) + eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)gles3wLoad("eglGetSystemTimeFrequencyNV"); + eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)gles3wLoad("eglGetSystemTimeNV"); +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) + eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)gles3wLoad("eglCompositorSetContextListEXT"); + eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)gles3wLoad("eglCompositorSetContextAttributesEXT"); + eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)gles3wLoad("eglCompositorSetWindowListEXT"); + eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)gles3wLoad("eglCompositorSetWindowAttributesEXT"); + eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)gles3wLoad("eglCompositorBindTexWindowEXT"); + eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)gles3wLoad("eglCompositorSetSizeEXT"); + eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)gles3wLoad("eglCompositorSwapPolicyEXT"); +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) + eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)gles3wLoad("eglBindWaylandDisplayWL"); + eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)gles3wLoad("eglUnbindWaylandDisplayWL"); + eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)gles3wLoad("eglQueryWaylandBufferWL"); +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) + eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles3wLoad("eglCreateWaylandBufferFromImageWL"); +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + + /* GL_ES_VERSION_2_0 */ + glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles3wLoad("glActiveTexture"); + glAttachShader = (PFNGLATTACHSHADERPROC)gles3wLoad("glAttachShader"); + glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles3wLoad("glBindAttribLocation"); + glBindBuffer = (PFNGLBINDBUFFERPROC)gles3wLoad("glBindBuffer"); + glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles3wLoad("glBindFramebuffer"); + glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles3wLoad("glBindRenderbuffer"); + glBindTexture = (PFNGLBINDTEXTUREPROC)gles3wLoad("glBindTexture"); + glBlendColor = (PFNGLBLENDCOLORPROC)gles3wLoad("glBlendColor"); + glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles3wLoad("glBlendEquation"); + glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles3wLoad("glBlendEquationSeparate"); + glBlendFunc = (PFNGLBLENDFUNCPROC)gles3wLoad("glBlendFunc"); + glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles3wLoad("glBlendFuncSeparate"); + glBufferData = (PFNGLBUFFERDATAPROC)gles3wLoad("glBufferData"); + glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles3wLoad("glBufferSubData"); + glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles3wLoad("glCheckFramebufferStatus"); + glClear = (PFNGLCLEARPROC)gles3wLoad("glClear"); + glClearColor = (PFNGLCLEARCOLORPROC)gles3wLoad("glClearColor"); + glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles3wLoad("glClearDepthf"); + glClearStencil = (PFNGLCLEARSTENCILPROC)gles3wLoad("glClearStencil"); + glColorMask = (PFNGLCOLORMASKPROC)gles3wLoad("glColorMask"); + glCompileShader = (PFNGLCOMPILESHADERPROC)gles3wLoad("glCompileShader"); + glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles3wLoad("glCompressedTexImage2D"); + glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles3wLoad("glCompressedTexSubImage2D"); + glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles3wLoad("glCopyTexImage2D"); + glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles3wLoad("glCopyTexSubImage2D"); + glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles3wLoad("glCreateProgram"); + glCreateShader = (PFNGLCREATESHADERPROC)gles3wLoad("glCreateShader"); + glCullFace = (PFNGLCULLFACEPROC)gles3wLoad("glCullFace"); + glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles3wLoad("glDeleteBuffers"); + glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles3wLoad("glDeleteFramebuffers"); + glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles3wLoad("glDeleteProgram"); + glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles3wLoad("glDeleteRenderbuffers"); + glDeleteShader = (PFNGLDELETESHADERPROC)gles3wLoad("glDeleteShader"); + glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles3wLoad("glDeleteTextures"); + glDepthFunc = (PFNGLDEPTHFUNCPROC)gles3wLoad("glDepthFunc"); + glDepthMask = (PFNGLDEPTHMASKPROC)gles3wLoad("glDepthMask"); + glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles3wLoad("glDepthRangef"); + glDetachShader = (PFNGLDETACHSHADERPROC)gles3wLoad("glDetachShader"); + glDisable = (PFNGLDISABLEPROC)gles3wLoad("glDisable"); + glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glDisableVertexAttribArray"); + glDrawArrays = (PFNGLDRAWARRAYSPROC)gles3wLoad("glDrawArrays"); + glDrawElements = (PFNGLDRAWELEMENTSPROC)gles3wLoad("glDrawElements"); + glEnable = (PFNGLENABLEPROC)gles3wLoad("glEnable"); + glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glEnableVertexAttribArray"); + glFinish = (PFNGLFINISHPROC)gles3wLoad("glFinish"); + glFlush = (PFNGLFLUSHPROC)gles3wLoad("glFlush"); + glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles3wLoad("glFramebufferRenderbuffer"); + glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles3wLoad("glFramebufferTexture2D"); + glFrontFace = (PFNGLFRONTFACEPROC)gles3wLoad("glFrontFace"); + glGenBuffers = (PFNGLGENBUFFERSPROC)gles3wLoad("glGenBuffers"); + glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles3wLoad("glGenerateMipmap"); + glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles3wLoad("glGenFramebuffers"); + glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles3wLoad("glGenRenderbuffers"); + glGenTextures = (PFNGLGENTEXTURESPROC)gles3wLoad("glGenTextures"); + glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles3wLoad("glGetActiveAttrib"); + glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles3wLoad("glGetActiveUniform"); + glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles3wLoad("glGetAttachedShaders"); + glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles3wLoad("glGetAttribLocation"); + glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles3wLoad("glGetBooleanv"); + glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles3wLoad("glGetBufferParameteriv"); + glGetError = (PFNGLGETERRORPROC)gles3wLoad("glGetError"); + glGetFloatv = (PFNGLGETFLOATVPROC)gles3wLoad("glGetFloatv"); + glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles3wLoad("glGetFramebufferAttachmentParameteriv"); + glGetIntegerv = (PFNGLGETINTEGERVPROC)gles3wLoad("glGetIntegerv"); + glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles3wLoad("glGetProgramiv"); + glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles3wLoad("glGetProgramInfoLog"); + glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles3wLoad("glGetRenderbufferParameteriv"); + glGetShaderiv = (PFNGLGETSHADERIVPROC)gles3wLoad("glGetShaderiv"); + glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles3wLoad("glGetShaderInfoLog"); + glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles3wLoad("glGetShaderPrecisionFormat"); + glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles3wLoad("glGetShaderSource"); + glGetString = (PFNGLGETSTRINGPROC)gles3wLoad("glGetString"); + glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles3wLoad("glGetTexParameterfv"); + glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles3wLoad("glGetTexParameteriv"); + glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles3wLoad("glGetUniformfv"); + glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles3wLoad("glGetUniformiv"); + glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles3wLoad("glGetUniformLocation"); + glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles3wLoad("glGetVertexAttribfv"); + glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles3wLoad("glGetVertexAttribiv"); + glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles3wLoad("glGetVertexAttribPointerv"); + glHint = (PFNGLHINTPROC)gles3wLoad("glHint"); + glIsBuffer = (PFNGLISBUFFERPROC)gles3wLoad("glIsBuffer"); + glIsEnabled = (PFNGLISENABLEDPROC)gles3wLoad("glIsEnabled"); + glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles3wLoad("glIsFramebuffer"); + glIsProgram = (PFNGLISPROGRAMPROC)gles3wLoad("glIsProgram"); + glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles3wLoad("glIsRenderbuffer"); + glIsShader = (PFNGLISSHADERPROC)gles3wLoad("glIsShader"); + glIsTexture = (PFNGLISTEXTUREPROC)gles3wLoad("glIsTexture"); + glLineWidth = (PFNGLLINEWIDTHPROC)gles3wLoad("glLineWidth"); + glLinkProgram = (PFNGLLINKPROGRAMPROC)gles3wLoad("glLinkProgram"); + glPixelStorei = (PFNGLPIXELSTOREIPROC)gles3wLoad("glPixelStorei"); + glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles3wLoad("glPolygonOffset"); + glReadPixels = (PFNGLREADPIXELSPROC)gles3wLoad("glReadPixels"); + glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles3wLoad("glReleaseShaderCompiler"); + glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles3wLoad("glRenderbufferStorage"); + glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles3wLoad("glSampleCoverage"); + glScissor = (PFNGLSCISSORPROC)gles3wLoad("glScissor"); + glShaderBinary = (PFNGLSHADERBINARYPROC)gles3wLoad("glShaderBinary"); + glShaderSource = (PFNGLSHADERSOURCEPROC)gles3wLoad("glShaderSource"); + glStencilFunc = (PFNGLSTENCILFUNCPROC)gles3wLoad("glStencilFunc"); + glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles3wLoad("glStencilFuncSeparate"); + glStencilMask = (PFNGLSTENCILMASKPROC)gles3wLoad("glStencilMask"); + glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles3wLoad("glStencilMaskSeparate"); + glStencilOp = (PFNGLSTENCILOPPROC)gles3wLoad("glStencilOp"); + glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles3wLoad("glStencilOpSeparate"); + glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles3wLoad("glTexImage2D"); + glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles3wLoad("glTexParameterf"); + glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles3wLoad("glTexParameterfv"); + glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles3wLoad("glTexParameteri"); + glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles3wLoad("glTexParameteriv"); + glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles3wLoad("glTexSubImage2D"); + glUniform1f = (PFNGLUNIFORM1FPROC)gles3wLoad("glUniform1f"); + glUniform1fv = (PFNGLUNIFORM1FVPROC)gles3wLoad("glUniform1fv"); + glUniform1i = (PFNGLUNIFORM1IPROC)gles3wLoad("glUniform1i"); + glUniform1iv = (PFNGLUNIFORM1IVPROC)gles3wLoad("glUniform1iv"); + glUniform2f = (PFNGLUNIFORM2FPROC)gles3wLoad("glUniform2f"); + glUniform2fv = (PFNGLUNIFORM2FVPROC)gles3wLoad("glUniform2fv"); + glUniform2i = (PFNGLUNIFORM2IPROC)gles3wLoad("glUniform2i"); + glUniform2iv = (PFNGLUNIFORM2IVPROC)gles3wLoad("glUniform2iv"); + glUniform3f = (PFNGLUNIFORM3FPROC)gles3wLoad("glUniform3f"); + glUniform3fv = (PFNGLUNIFORM3FVPROC)gles3wLoad("glUniform3fv"); + glUniform3i = (PFNGLUNIFORM3IPROC)gles3wLoad("glUniform3i"); + glUniform3iv = (PFNGLUNIFORM3IVPROC)gles3wLoad("glUniform3iv"); + glUniform4f = (PFNGLUNIFORM4FPROC)gles3wLoad("glUniform4f"); + glUniform4fv = (PFNGLUNIFORM4FVPROC)gles3wLoad("glUniform4fv"); + glUniform4i = (PFNGLUNIFORM4IPROC)gles3wLoad("glUniform4i"); + glUniform4iv = (PFNGLUNIFORM4IVPROC)gles3wLoad("glUniform4iv"); + glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles3wLoad("glUniformMatrix2fv"); + glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles3wLoad("glUniformMatrix3fv"); + glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles3wLoad("glUniformMatrix4fv"); + glUseProgram = (PFNGLUSEPROGRAMPROC)gles3wLoad("glUseProgram"); + glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles3wLoad("glValidateProgram"); + glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles3wLoad("glVertexAttrib1f"); + glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles3wLoad("glVertexAttrib1fv"); + glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles3wLoad("glVertexAttrib2f"); + glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles3wLoad("glVertexAttrib2fv"); + glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles3wLoad("glVertexAttrib3f"); + glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles3wLoad("glVertexAttrib3fv"); + glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles3wLoad("glVertexAttrib4f"); + glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles3wLoad("glVertexAttrib4fv"); + glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles3wLoad("glVertexAttribPointer"); + glViewport = (PFNGLVIEWPORTPROC)gles3wLoad("glViewport"); + + + /* GL_ES_VERSION_3_0 */ + glReadBuffer = (PFNGLREADBUFFERPROC)gles3wLoad("glReadBuffer"); + glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)gles3wLoad("glDrawRangeElements"); + glTexImage3D = (PFNGLTEXIMAGE3DPROC)gles3wLoad("glTexImage3D"); + glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)gles3wLoad("glTexSubImage3D"); + glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)gles3wLoad("glCopyTexSubImage3D"); + glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)gles3wLoad("glCompressedTexImage3D"); + glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)gles3wLoad("glCompressedTexSubImage3D"); + glGenQueries = (PFNGLGENQUERIESPROC)gles3wLoad("glGenQueries"); + glDeleteQueries = (PFNGLDELETEQUERIESPROC)gles3wLoad("glDeleteQueries"); + glIsQuery = (PFNGLISQUERYPROC)gles3wLoad("glIsQuery"); + glBeginQuery = (PFNGLBEGINQUERYPROC)gles3wLoad("glBeginQuery"); + glEndQuery = (PFNGLENDQUERYPROC)gles3wLoad("glEndQuery"); + glGetQueryiv = (PFNGLGETQUERYIVPROC)gles3wLoad("glGetQueryiv"); + glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)gles3wLoad("glGetQueryObjectuiv"); + glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)gles3wLoad("glUnmapBuffer"); + glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)gles3wLoad("glGetBufferPointerv"); + glDrawBuffers = (PFNGLDRAWBUFFERSPROC)gles3wLoad("glDrawBuffers"); + glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)gles3wLoad("glUniformMatrix2x3fv"); + glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)gles3wLoad("glUniformMatrix3x2fv"); + glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)gles3wLoad("glUniformMatrix2x4fv"); + glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)gles3wLoad("glUniformMatrix4x2fv"); + glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)gles3wLoad("glUniformMatrix3x4fv"); + glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)gles3wLoad("glUniformMatrix4x3fv"); + glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)gles3wLoad("glBlitFramebuffer"); + glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)gles3wLoad("glRenderbufferStorageMultisample"); + glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)gles3wLoad("glFramebufferTextureLayer"); + glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)gles3wLoad("glMapBufferRange"); + glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)gles3wLoad("glFlushMappedBufferRange"); + glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)gles3wLoad("glBindVertexArray"); + glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)gles3wLoad("glDeleteVertexArrays"); + glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)gles3wLoad("glGenVertexArrays"); + glIsVertexArray = (PFNGLISVERTEXARRAYPROC)gles3wLoad("glIsVertexArray"); + glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)gles3wLoad("glGetIntegeri_v"); + glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)gles3wLoad("glBeginTransformFeedback"); + glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)gles3wLoad("glEndTransformFeedback"); + glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)gles3wLoad("glBindBufferRange"); + glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)gles3wLoad("glBindBufferBase"); + glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)gles3wLoad("glTransformFeedbackVaryings"); + glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)gles3wLoad("glGetTransformFeedbackVarying"); + glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)gles3wLoad("glVertexAttribIPointer"); + glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)gles3wLoad("glGetVertexAttribIiv"); + glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)gles3wLoad("glGetVertexAttribIuiv"); + glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)gles3wLoad("glVertexAttribI4i"); + glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)gles3wLoad("glVertexAttribI4ui"); + glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)gles3wLoad("glVertexAttribI4iv"); + glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)gles3wLoad("glVertexAttribI4uiv"); + glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)gles3wLoad("glGetUniformuiv"); + glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)gles3wLoad("glGetFragDataLocation"); + glUniform1ui = (PFNGLUNIFORM1UIPROC)gles3wLoad("glUniform1ui"); + glUniform2ui = (PFNGLUNIFORM2UIPROC)gles3wLoad("glUniform2ui"); + glUniform3ui = (PFNGLUNIFORM3UIPROC)gles3wLoad("glUniform3ui"); + glUniform4ui = (PFNGLUNIFORM4UIPROC)gles3wLoad("glUniform4ui"); + glUniform1uiv = (PFNGLUNIFORM1UIVPROC)gles3wLoad("glUniform1uiv"); + glUniform2uiv = (PFNGLUNIFORM2UIVPROC)gles3wLoad("glUniform2uiv"); + glUniform3uiv = (PFNGLUNIFORM3UIVPROC)gles3wLoad("glUniform3uiv"); + glUniform4uiv = (PFNGLUNIFORM4UIVPROC)gles3wLoad("glUniform4uiv"); + glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)gles3wLoad("glClearBufferiv"); + glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)gles3wLoad("glClearBufferuiv"); + glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)gles3wLoad("glClearBufferfv"); + glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)gles3wLoad("glClearBufferfi"); + glGetStringi = (PFNGLGETSTRINGIPROC)gles3wLoad("glGetStringi"); + glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)gles3wLoad("glCopyBufferSubData"); + glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)gles3wLoad("glGetUniformIndices"); + glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)gles3wLoad("glGetActiveUniformsiv"); + glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)gles3wLoad("glGetUniformBlockIndex"); + glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)gles3wLoad("glGetActiveUniformBlockiv"); + glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)gles3wLoad("glGetActiveUniformBlockName"); + glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)gles3wLoad("glUniformBlockBinding"); + glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)gles3wLoad("glDrawArraysInstanced"); + glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)gles3wLoad("glDrawElementsInstanced"); + glFenceSync = (PFNGLFENCESYNCPROC)gles3wLoad("glFenceSync"); + glIsSync = (PFNGLISSYNCPROC)gles3wLoad("glIsSync"); + glDeleteSync = (PFNGLDELETESYNCPROC)gles3wLoad("glDeleteSync"); + glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)gles3wLoad("glClientWaitSync"); + glWaitSync = (PFNGLWAITSYNCPROC)gles3wLoad("glWaitSync"); + glGetInteger64v = (PFNGLGETINTEGER64VPROC)gles3wLoad("glGetInteger64v"); + glGetSynciv = (PFNGLGETSYNCIVPROC)gles3wLoad("glGetSynciv"); + glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)gles3wLoad("glGetInteger64i_v"); + glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)gles3wLoad("glGetBufferParameteri64v"); + glGenSamplers = (PFNGLGENSAMPLERSPROC)gles3wLoad("glGenSamplers"); + glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)gles3wLoad("glDeleteSamplers"); + glIsSampler = (PFNGLISSAMPLERPROC)gles3wLoad("glIsSampler"); + glBindSampler = (PFNGLBINDSAMPLERPROC)gles3wLoad("glBindSampler"); + glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)gles3wLoad("glSamplerParameteri"); + glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)gles3wLoad("glSamplerParameteriv"); + glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)gles3wLoad("glSamplerParameterf"); + glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)gles3wLoad("glSamplerParameterfv"); + glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)gles3wLoad("glGetSamplerParameteriv"); + glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)gles3wLoad("glGetSamplerParameterfv"); + glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)gles3wLoad("glVertexAttribDivisor"); + glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)gles3wLoad("glBindTransformFeedback"); + glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)gles3wLoad("glDeleteTransformFeedbacks"); + glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)gles3wLoad("glGenTransformFeedbacks"); + glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)gles3wLoad("glIsTransformFeedback"); + glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)gles3wLoad("glPauseTransformFeedback"); + glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)gles3wLoad("glResumeTransformFeedback"); + glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)gles3wLoad("glGetProgramBinary"); + glProgramBinary = (PFNGLPROGRAMBINARYPROC)gles3wLoad("glProgramBinary"); + glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)gles3wLoad("glProgramParameteri"); + glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)gles3wLoad("glInvalidateFramebuffer"); + glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)gles3wLoad("glInvalidateSubFramebuffer"); + glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)gles3wLoad("glTexStorage2D"); + glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)gles3wLoad("glTexStorage3D"); + glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)gles3wLoad("glGetInternalformativ"); + + + /* GL_ES_VERSION_3_1 */ + glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)gles3wLoad("glDispatchCompute"); + glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)gles3wLoad("glDispatchComputeIndirect"); + + glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)gles3wLoad("glDrawArraysIndirect"); + glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)gles3wLoad("glDrawElementsIndirect"); + + glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)gles3wLoad("glFramebufferParameteri"); + glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)gles3wLoad("glGetFramebufferParameteriv"); + + glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)gles3wLoad("glGetProgramInterfaceiv"); + glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)gles3wLoad("glGetProgramResourceIndex"); + glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)gles3wLoad("glGetProgramResourceName"); + glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)gles3wLoad("glGetProgramResourceiv"); + glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)gles3wLoad("glGetProgramResourceLocation"); + + glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)gles3wLoad("glUseProgramStages"); + glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)gles3wLoad("glActiveShaderProgram"); + glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)gles3wLoad("glCreateShaderProgramv"); + glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)gles3wLoad("glBindProgramPipeline"); + glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)gles3wLoad("glDeleteProgramPipelines"); + glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)gles3wLoad("glGenProgramPipelines"); + glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)gles3wLoad("glIsProgramPipeline"); + glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)gles3wLoad("glGetProgramPipelineiv"); + glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)gles3wLoad("glProgramUniform1i"); + glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)gles3wLoad("glProgramUniform2i"); + glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)gles3wLoad("glProgramUniform3i"); + glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)gles3wLoad("glProgramUniform4i"); + glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)gles3wLoad("glProgramUniform1ui"); + glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)gles3wLoad("glProgramUniform2ui"); + glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)gles3wLoad("glProgramUniform3ui"); + glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)gles3wLoad("glProgramUniform4ui"); + glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)gles3wLoad("glProgramUniform1f"); + glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)gles3wLoad("glProgramUniform2f"); + glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)gles3wLoad("glProgramUniform3f"); + glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)gles3wLoad("glProgramUniform4f"); + glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)gles3wLoad("glProgramUniform1iv"); + glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)gles3wLoad("glProgramUniform2iv"); + glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)gles3wLoad("glProgramUniform3iv"); + glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)gles3wLoad("glProgramUniform4iv"); + glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)gles3wLoad("glProgramUniform1uiv"); + glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)gles3wLoad("glProgramUniform2uiv"); + glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)gles3wLoad("glProgramUniform3uiv"); + glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)gles3wLoad("glProgramUniform4uiv"); + glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)gles3wLoad("glProgramUniform1fv"); + glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)gles3wLoad("glProgramUniform2fv"); + glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)gles3wLoad("glProgramUniform3fv"); + glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)gles3wLoad("glProgramUniform4fv"); + glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)gles3wLoad("glProgramUniformMatrix2fv"); + glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)gles3wLoad("glProgramUniformMatrix3fv"); + glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)gles3wLoad("glProgramUniformMatrix4fv"); + glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)gles3wLoad("glProgramUniformMatrix2x3fv"); + glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)gles3wLoad("glProgramUniformMatrix3x2fv"); + glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)gles3wLoad("glProgramUniformMatrix2x4fv"); + glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)gles3wLoad("glProgramUniformMatrix4x2fv"); + glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)gles3wLoad("glProgramUniformMatrix3x4fv"); + glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)gles3wLoad("glProgramUniformMatrix4x3fv"); + glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)gles3wLoad("glValidateProgramPipeline"); + glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)gles3wLoad("glGetProgramPipelineInfoLog"); + + glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)gles3wLoad("glBindImageTexture"); + glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)gles3wLoad("glGetBooleani_v"); + glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)gles3wLoad("glMemoryBarrier"); + glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)gles3wLoad("glMemoryBarrierByRegion"); + + glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)gles3wLoad("glTexStorage2DMultisample"); + glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)gles3wLoad("glGetMultisamplefv"); + glSampleMaski = (PFNGLSAMPLEMASKIPROC)gles3wLoad("glSampleMaski"); + glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)gles3wLoad("glGetTexLevelParameteriv"); + glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)gles3wLoad("glGetTexLevelParameterfv"); + + glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)gles3wLoad("glBindVertexBuffer"); + glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)gles3wLoad("glVertexAttribFormat"); + glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)gles3wLoad("glVertexAttribIFormat"); + glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)gles3wLoad("glVertexAttribBinding"); + glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)gles3wLoad("glVertexBindingDivisor"); + + + /* GL_ES_VERSION_3_2 */ + glBlendBarrier = (PFNGLBLENDBARRIERPROC)gles3wLoad("glBlendBarrier"); + + glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)gles3wLoad("glCopyImageSubData"); + + glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)gles3wLoad("glDebugMessageControl"); + glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)gles3wLoad("glDebugMessageInsert"); + glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)gles3wLoad("glDebugMessageCallback"); + glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)gles3wLoad("glGetDebugMessageLog"); + glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)gles3wLoad("glPushDebugGroup"); + glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)gles3wLoad("glPopDebugGroup"); + glObjectLabel = (PFNGLOBJECTLABELPROC)gles3wLoad("glObjectLabel"); + glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)gles3wLoad("glGetObjectLabel"); + glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)gles3wLoad("glObjectPtrLabel"); + glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)gles3wLoad("glGetObjectPtrLabel"); + glGetPointerv = (PFNGLGETPOINTERVPROC)gles3wLoad("glGetPointerv"); + + glEnablei = (PFNGLENABLEIPROC)gles3wLoad("glEnablei"); + glDisablei = (PFNGLDISABLEIPROC)gles3wLoad("glDisablei"); + glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)gles3wLoad("glBlendEquationi"); + glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)gles3wLoad("glBlendEquationSeparatei"); + glBlendFunci = (PFNGLBLENDFUNCIPROC)gles3wLoad("glBlendFunci"); + glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)gles3wLoad("glBlendFuncSeparatei"); + glColorMaski = (PFNGLCOLORMASKIPROC)gles3wLoad("glColorMaski"); + glIsEnabledi = (PFNGLISENABLEDIPROC)gles3wLoad("glIsEnabledi"); + + glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawElementsBaseVertex"); + glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawRangeElementsBaseVertex"); + glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)gles3wLoad("glDrawElementsInstancedBaseVertex"); + + glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)gles3wLoad("glFramebufferTexture"); + + glPrimitiveBoundingBox = (PFNGLPRIMITIVEBOUNDINGBOXPROC)gles3wLoad("glPrimitiveBoundingBox"); + + glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)gles3wLoad("glGetGraphicsResetStatus"); + glReadnPixels = (PFNGLREADNPIXELSPROC)gles3wLoad("glReadnPixels"); + glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)gles3wLoad("glGetnUniformfv"); + glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)gles3wLoad("glGetnUniformiv"); + glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)gles3wLoad("glGetnUniformuiv"); + + glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)gles3wLoad("glMinSampleShading"); + + glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)gles3wLoad("glPatchParameteri"); + + glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)gles3wLoad("glTexParameterIiv"); + glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)gles3wLoad("glTexParameterIuiv"); + glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)gles3wLoad("glGetTexParameterIiv"); + glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)gles3wLoad("glGetTexParameterIuiv"); + glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)gles3wLoad("glSamplerParameterIiv"); + glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)gles3wLoad("glSamplerParameterIuiv"); + glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)gles3wLoad("glGetSamplerParameterIiv"); + glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)gles3wLoad("glGetSamplerParameterIuiv"); + + glTexBuffer = (PFNGLTEXBUFFERPROC)gles3wLoad("glTexBuffer"); + glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)gles3wLoad("glTexBufferRange"); + + glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)gles3wLoad("glTexStorage3DMultisample"); + + +#if defined(GL_AMD_framebuffer_multisample_advanced) + glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); + glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); +#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ + +#if defined(GL_AMD_performance_monitor) + glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles3wLoad("glGetPerfMonitorGroupsAMD"); + glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glGetPerfMonitorCountersAMD"); + glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorGroupStringAMD"); + glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorCounterStringAMD"); + glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles3wLoad("glGetPerfMonitorCounterInfoAMD"); + glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles3wLoad("glGenPerfMonitorsAMD"); + glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles3wLoad("glDeletePerfMonitorsAMD"); + glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glSelectPerfMonitorCountersAMD"); + glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles3wLoad("glBeginPerfMonitorAMD"); + glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles3wLoad("glEndPerfMonitorAMD"); + glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles3wLoad("glGetPerfMonitorCounterDataAMD"); +#endif /* defined(GL_AMD_performance_monitor) */ + +#if defined(GL_ANGLE_framebuffer_blit) + glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles3wLoad("glBlitFramebufferANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_blit) */ + +#if defined(GL_ANGLE_framebuffer_multisample) + glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles3wLoad("glRenderbufferStorageMultisampleANGLE"); +#endif /* defined(GL_ANGLE_framebuffer_multisample) */ + +#if defined(GL_ANGLE_instanced_arrays) + glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles3wLoad("glDrawArraysInstancedANGLE"); + glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles3wLoad("glDrawElementsInstancedANGLE"); + glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles3wLoad("glVertexAttribDivisorANGLE"); +#endif /* defined(GL_ANGLE_instanced_arrays) */ + +#if defined(GL_ANGLE_translated_shader_source) + glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles3wLoad("glGetTranslatedShaderSourceANGLE"); +#endif /* defined(GL_ANGLE_translated_shader_source) */ + +#if defined(GL_APPLE_copy_texture_levels) + glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles3wLoad("glCopyTextureLevelsAPPLE"); +#endif /* defined(GL_APPLE_copy_texture_levels) */ + +#if defined(GL_APPLE_framebuffer_multisample) + glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles3wLoad("glRenderbufferStorageMultisampleAPPLE"); + glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles3wLoad("glResolveMultisampleFramebufferAPPLE"); +#endif /* defined(GL_APPLE_framebuffer_multisample) */ + +#if defined(GL_APPLE_sync) + glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles3wLoad("glFenceSyncAPPLE"); + glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles3wLoad("glIsSyncAPPLE"); + glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles3wLoad("glDeleteSyncAPPLE"); + glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles3wLoad("glClientWaitSyncAPPLE"); + glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles3wLoad("glWaitSyncAPPLE"); + glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles3wLoad("glGetInteger64vAPPLE"); + glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles3wLoad("glGetSyncivAPPLE"); +#endif /* defined(GL_APPLE_sync) */ + +#if defined(GL_EXT_EGL_image_storage) + glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTexStorageEXT"); + + glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTextureStorageEXT"); +#endif /* defined(GL_EXT_EGL_image_storage) */ + +#if defined(GL_EXT_base_instance) + glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawArraysInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseInstanceEXT"); + glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); +#endif /* defined(GL_EXT_base_instance) */ + +#if defined(GL_EXT_blend_func_extended) + glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles3wLoad("glBindFragDataLocationIndexedEXT"); + glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles3wLoad("glBindFragDataLocationEXT"); + glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles3wLoad("glGetProgramResourceLocationIndexEXT"); + glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles3wLoad("glGetFragDataIndexEXT"); +#endif /* defined(GL_EXT_blend_func_extended) */ + +#if defined(GL_EXT_buffer_storage) + glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles3wLoad("glBufferStorageEXT"); +#endif /* defined(GL_EXT_buffer_storage) */ + +#if defined(GL_EXT_clear_texture) + glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles3wLoad("glClearTexImageEXT"); + glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles3wLoad("glClearTexSubImageEXT"); +#endif /* defined(GL_EXT_clear_texture) */ + +#if defined(GL_EXT_clip_control) + glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles3wLoad("glClipControlEXT"); +#endif /* defined(GL_EXT_clip_control) */ + +#if defined(GL_EXT_copy_image) + glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles3wLoad("glCopyImageSubDataEXT"); +#endif /* defined(GL_EXT_copy_image) */ + +#if defined(GL_EXT_debug_label) + glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles3wLoad("glLabelObjectEXT"); + glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles3wLoad("glGetObjectLabelEXT"); +#endif /* defined(GL_EXT_debug_label) */ + +#if defined(GL_EXT_debug_marker) + glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles3wLoad("glInsertEventMarkerEXT"); + glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles3wLoad("glPushGroupMarkerEXT"); + glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles3wLoad("glPopGroupMarkerEXT"); +#endif /* defined(GL_EXT_debug_marker) */ + +#if defined(GL_EXT_discard_framebuffer) + glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles3wLoad("glDiscardFramebufferEXT"); +#endif /* defined(GL_EXT_discard_framebuffer) */ + +#if defined(GL_EXT_disjoint_timer_query) + glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles3wLoad("glGenQueriesEXT"); + glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles3wLoad("glDeleteQueriesEXT"); + glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles3wLoad("glIsQueryEXT"); + glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles3wLoad("glBeginQueryEXT"); + glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles3wLoad("glEndQueryEXT"); + glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles3wLoad("glQueryCounterEXT"); + glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles3wLoad("glGetQueryivEXT"); + glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles3wLoad("glGetQueryObjectivEXT"); + glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles3wLoad("glGetQueryObjectuivEXT"); + glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles3wLoad("glGetQueryObjecti64vEXT"); + glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles3wLoad("glGetQueryObjectui64vEXT"); + glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles3wLoad("glGetInteger64vEXT"); +#endif /* defined(GL_EXT_disjoint_timer_query) */ + +#if defined(GL_EXT_draw_buffers) + glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles3wLoad("glDrawBuffersEXT"); +#endif /* defined(GL_EXT_draw_buffers) */ + +#if defined(GL_EXT_draw_buffers_indexed) + glEnableiEXT = (PFNGLENABLEIEXTPROC)gles3wLoad("glEnableiEXT"); + glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles3wLoad("glDisableiEXT"); + glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles3wLoad("glBlendEquationiEXT"); + glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles3wLoad("glBlendEquationSeparateiEXT"); + glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles3wLoad("glBlendFunciEXT"); + glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles3wLoad("glBlendFuncSeparateiEXT"); + glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles3wLoad("glColorMaskiEXT"); + glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles3wLoad("glIsEnablediEXT"); +#endif /* defined(GL_EXT_draw_buffers_indexed) */ + +#if defined(GL_EXT_draw_elements_base_vertex) + glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsBaseVertexEXT"); + glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawRangeElementsBaseVertexEXT"); + glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexEXT"); + glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glMultiDrawElementsBaseVertexEXT"); +#endif /* defined(GL_EXT_draw_elements_base_vertex) */ + +#if defined(GL_EXT_draw_instanced) + glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles3wLoad("glDrawArraysInstancedEXT"); + glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles3wLoad("glDrawElementsInstancedEXT"); +#endif /* defined(GL_EXT_draw_instanced) */ + +#if defined(GL_EXT_draw_transform_feedback) + glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles3wLoad("glDrawTransformFeedbackEXT"); + glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles3wLoad("glDrawTransformFeedbackInstancedEXT"); +#endif /* defined(GL_EXT_draw_transform_feedback) */ + +#if defined(GL_EXT_external_buffer) + glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glBufferStorageExternalEXT"); + glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glNamedBufferStorageExternalEXT"); +#endif /* defined(GL_EXT_external_buffer) */ + +#if defined(GL_EXT_geometry_shader) + glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles3wLoad("glFramebufferTextureEXT"); +#endif /* defined(GL_EXT_geometry_shader) */ + +#if defined(GL_EXT_instanced_arrays) + glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles3wLoad("glVertexAttribDivisorEXT"); +#endif /* defined(GL_EXT_instanced_arrays) */ + +#if defined(GL_EXT_map_buffer_range) + glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles3wLoad("glMapBufferRangeEXT"); + glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles3wLoad("glFlushMappedBufferRangeEXT"); +#endif /* defined(GL_EXT_map_buffer_range) */ + +#if defined(GL_EXT_memory_object) + glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles3wLoad("glGetUnsignedBytevEXT"); + glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles3wLoad("glGetUnsignedBytei_vEXT"); + glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles3wLoad("glDeleteMemoryObjectsEXT"); + glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles3wLoad("glIsMemoryObjectEXT"); + glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles3wLoad("glCreateMemoryObjectsEXT"); + glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glMemoryObjectParameterivEXT"); + glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glGetMemoryObjectParameterivEXT"); + glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles3wLoad("glTexStorageMem2DEXT"); + glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem2DMultisampleEXT"); + glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles3wLoad("glTexStorageMem3DEXT"); + glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem3DMultisampleEXT"); + glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glBufferStorageMemEXT"); + + glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles3wLoad("glTextureStorageMem2DEXT"); + glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem2DMultisampleEXT"); + glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles3wLoad("glTextureStorageMem3DEXT"); + glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem3DMultisampleEXT"); + glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glNamedBufferStorageMemEXT"); +#endif /* defined(GL_EXT_memory_object) */ + +#if defined(GL_EXT_memory_object_fd) + glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles3wLoad("glImportMemoryFdEXT"); +#endif /* defined(GL_EXT_memory_object_fd) */ + +#if defined(GL_EXT_memory_object_win32) + glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles3wLoad("glImportMemoryWin32HandleEXT"); + glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles3wLoad("glImportMemoryWin32NameEXT"); +#endif /* defined(GL_EXT_memory_object_win32) */ + +#if defined(GL_EXT_multi_draw_arrays) + glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles3wLoad("glMultiDrawArraysEXT"); + glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles3wLoad("glMultiDrawElementsEXT"); +#endif /* defined(GL_EXT_multi_draw_arrays) */ + +#if defined(GL_EXT_multi_draw_indirect) + glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles3wLoad("glMultiDrawArraysIndirectEXT"); + glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles3wLoad("glMultiDrawElementsIndirectEXT"); +#endif /* defined(GL_EXT_multi_draw_indirect) */ + +#if defined(GL_EXT_multisampled_render_to_texture) + glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles3wLoad("glRenderbufferStorageMultisampleEXT"); + glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles3wLoad("glFramebufferTexture2DMultisampleEXT"); +#endif /* defined(GL_EXT_multisampled_render_to_texture) */ + +#if defined(GL_EXT_multiview_draw_buffers) + glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles3wLoad("glReadBufferIndexedEXT"); + glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles3wLoad("glDrawBuffersIndexedEXT"); + glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles3wLoad("glGetIntegeri_vEXT"); +#endif /* defined(GL_EXT_multiview_draw_buffers) */ + +#if defined(GL_EXT_polygon_offset_clamp) + glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles3wLoad("glPolygonOffsetClampEXT"); +#endif /* defined(GL_EXT_polygon_offset_clamp) */ + +#if defined(GL_EXT_primitive_bounding_box) + glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles3wLoad("glPrimitiveBoundingBoxEXT"); +#endif /* defined(GL_EXT_primitive_bounding_box) */ + +#if defined(GL_EXT_raster_multisample) + glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles3wLoad("glRasterSamplesEXT"); +#endif /* defined(GL_EXT_raster_multisample) */ + +#if defined(GL_EXT_robustness) + glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles3wLoad("glGetGraphicsResetStatusEXT"); + glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles3wLoad("glReadnPixelsEXT"); + glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles3wLoad("glGetnUniformfvEXT"); + glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles3wLoad("glGetnUniformivEXT"); +#endif /* defined(GL_EXT_robustness) */ + +#if defined(GL_EXT_semaphore) + glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles3wLoad("glGenSemaphoresEXT"); + glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles3wLoad("glDeleteSemaphoresEXT"); + glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles3wLoad("glIsSemaphoreEXT"); + glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glSemaphoreParameterui64vEXT"); + glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glGetSemaphoreParameterui64vEXT"); + glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles3wLoad("glWaitSemaphoreEXT"); + glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles3wLoad("glSignalSemaphoreEXT"); +#endif /* defined(GL_EXT_semaphore) */ + +#if defined(GL_EXT_semaphore_fd) + glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles3wLoad("glImportSemaphoreFdEXT"); +#endif /* defined(GL_EXT_semaphore_fd) */ + +#if defined(GL_EXT_semaphore_win32) + glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles3wLoad("glImportSemaphoreWin32HandleEXT"); + glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles3wLoad("glImportSemaphoreWin32NameEXT"); +#endif /* defined(GL_EXT_semaphore_win32) */ + +#if defined(GL_EXT_separate_shader_objects) + glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles3wLoad("glActiveShaderProgramEXT"); + glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles3wLoad("glBindProgramPipelineEXT"); + glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles3wLoad("glCreateShaderProgramvEXT"); + glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles3wLoad("glDeleteProgramPipelinesEXT"); + glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles3wLoad("glGenProgramPipelinesEXT"); + glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles3wLoad("glGetProgramPipelineInfoLogEXT"); + glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles3wLoad("glGetProgramPipelineivEXT"); + glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles3wLoad("glIsProgramPipelineEXT"); + glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles3wLoad("glProgramParameteriEXT"); + glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles3wLoad("glProgramUniform1fEXT"); + glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles3wLoad("glProgramUniform1fvEXT"); + glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles3wLoad("glProgramUniform1iEXT"); + glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles3wLoad("glProgramUniform1ivEXT"); + glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles3wLoad("glProgramUniform2fEXT"); + glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles3wLoad("glProgramUniform2fvEXT"); + glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles3wLoad("glProgramUniform2iEXT"); + glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles3wLoad("glProgramUniform2ivEXT"); + glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles3wLoad("glProgramUniform3fEXT"); + glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles3wLoad("glProgramUniform3fvEXT"); + glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles3wLoad("glProgramUniform3iEXT"); + glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles3wLoad("glProgramUniform3ivEXT"); + glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles3wLoad("glProgramUniform4fEXT"); + glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles3wLoad("glProgramUniform4fvEXT"); + glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles3wLoad("glProgramUniform4iEXT"); + glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles3wLoad("glProgramUniform4ivEXT"); + glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles3wLoad("glProgramUniformMatrix2fvEXT"); + glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles3wLoad("glProgramUniformMatrix3fvEXT"); + glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles3wLoad("glProgramUniformMatrix4fvEXT"); + glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles3wLoad("glUseProgramStagesEXT"); + glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles3wLoad("glValidateProgramPipelineEXT"); + + glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles3wLoad("glProgramUniform1uiEXT"); + glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles3wLoad("glProgramUniform2uiEXT"); + glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles3wLoad("glProgramUniform3uiEXT"); + glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles3wLoad("glProgramUniform4uiEXT"); + glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles3wLoad("glProgramUniform1uivEXT"); + glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles3wLoad("glProgramUniform2uivEXT"); + glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles3wLoad("glProgramUniform3uivEXT"); + glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles3wLoad("glProgramUniform4uivEXT"); + glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x3fvEXT"); + glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x2fvEXT"); + glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x4fvEXT"); + glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x2fvEXT"); + glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x4fvEXT"); + glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x3fvEXT"); +#endif /* defined(GL_EXT_separate_shader_objects) */ + +#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) + glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles3wLoad("glFramebufferFetchBarrierEXT"); +#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ + +#if defined(GL_EXT_shader_pixel_local_storage2) + glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glFramebufferPixelLocalStorageSizeEXT"); + glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); + glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles3wLoad("glClearPixelLocalStorageuiEXT"); +#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ + +#if defined(GL_EXT_sparse_texture) + glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles3wLoad("glTexPageCommitmentEXT"); +#endif /* defined(GL_EXT_sparse_texture) */ + +#if defined(GL_EXT_tessellation_shader) + glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles3wLoad("glPatchParameteriEXT"); +#endif /* defined(GL_EXT_tessellation_shader) */ + +#if defined(GL_EXT_texture_border_clamp) + glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles3wLoad("glTexParameterIivEXT"); + glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles3wLoad("glTexParameterIuivEXT"); + glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles3wLoad("glGetTexParameterIivEXT"); + glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles3wLoad("glGetTexParameterIuivEXT"); + glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glSamplerParameterIivEXT"); + glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glSamplerParameterIuivEXT"); + glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glGetSamplerParameterIivEXT"); + glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glGetSamplerParameterIuivEXT"); +#endif /* defined(GL_EXT_texture_border_clamp) */ + +#if defined(GL_EXT_texture_buffer) + glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles3wLoad("glTexBufferEXT"); + glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles3wLoad("glTexBufferRangeEXT"); +#endif /* defined(GL_EXT_texture_buffer) */ + +#if defined(GL_EXT_texture_storage) + glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles3wLoad("glTexStorage1DEXT"); + glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles3wLoad("glTexStorage2DEXT"); + glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles3wLoad("glTexStorage3DEXT"); + + glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles3wLoad("glTextureStorage1DEXT"); + glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles3wLoad("glTextureStorage2DEXT"); + glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles3wLoad("glTextureStorage3DEXT"); +#endif /* defined(GL_EXT_texture_storage) */ + +#if defined(GL_EXT_texture_view) + glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles3wLoad("glTextureViewEXT"); +#endif /* defined(GL_EXT_texture_view) */ + +#if defined(GL_NV_timeline_semaphore) + glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles3wLoad("glCreateSemaphoresNV"); + glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glSemaphoreParameterivNV"); + glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glGetSemaphoreParameterivNV"); +#endif /* defined(GL_NV_timeline_semaphore) */ + +#if defined(GL_EXT_win32_keyed_mutex) + glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glAcquireKeyedMutexWin32EXT"); + glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glReleaseKeyedMutexWin32EXT"); +#endif /* defined(GL_EXT_win32_keyed_mutex) */ + +#if defined(GL_EXT_window_rectangles) + glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles3wLoad("glWindowRectanglesEXT"); +#endif /* defined(GL_EXT_window_rectangles) */ + +#if defined(GL_IMG_bindless_texture) + glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles3wLoad("glGetTextureHandleIMG"); + glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles3wLoad("glGetTextureSamplerHandleIMG"); + glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glUniformHandleui64IMG"); + glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glUniformHandleui64vIMG"); + glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glProgramUniformHandleui64IMG"); + glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glProgramUniformHandleui64vIMG"); +#endif /* defined(GL_IMG_bindless_texture) */ + +#if defined(GL_IMG_framebuffer_downsample) + glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DDownsampleIMG"); + glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTextureLayerDownsampleIMG"); +#endif /* defined(GL_IMG_framebuffer_downsample) */ + +#if defined(GL_IMG_multisampled_render_to_texture) + glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles3wLoad("glRenderbufferStorageMultisampleIMG"); + glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DMultisampleIMG"); +#endif /* defined(GL_IMG_multisampled_render_to_texture) */ + +#if defined(GL_INTEL_framebuffer_CMAA) + glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles3wLoad("glApplyFramebufferAttachmentCMAAINTEL"); +#endif /* defined(GL_INTEL_framebuffer_CMAA) */ + +#if defined(GL_INTEL_performance_query) + glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles3wLoad("glBeginPerfQueryINTEL"); + glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles3wLoad("glCreatePerfQueryINTEL"); + glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles3wLoad("glDeletePerfQueryINTEL"); + glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles3wLoad("glEndPerfQueryINTEL"); + glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles3wLoad("glGetFirstPerfQueryIdINTEL"); + glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles3wLoad("glGetNextPerfQueryIdINTEL"); + glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles3wLoad("glGetPerfCounterInfoINTEL"); + glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles3wLoad("glGetPerfQueryDataINTEL"); + glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles3wLoad("glGetPerfQueryIdByNameINTEL"); + glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles3wLoad("glGetPerfQueryInfoINTEL"); +#endif /* defined(GL_INTEL_performance_query) */ + +#if defined(GL_KHR_blend_equation_advanced) + glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles3wLoad("glBlendBarrierKHR"); +#endif /* defined(GL_KHR_blend_equation_advanced) */ + +#if defined(GL_KHR_debug) + glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("glDebugMessageControlKHR"); + glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles3wLoad("glDebugMessageInsertKHR"); + glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles3wLoad("glDebugMessageCallbackKHR"); + glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles3wLoad("glGetDebugMessageLogKHR"); + glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles3wLoad("glPushDebugGroupKHR"); + glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles3wLoad("glPopDebugGroupKHR"); + glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles3wLoad("glObjectLabelKHR"); + glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles3wLoad("glGetObjectLabelKHR"); + glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles3wLoad("glObjectPtrLabelKHR"); + glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles3wLoad("glGetObjectPtrLabelKHR"); + glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles3wLoad("glGetPointervKHR"); +#endif /* defined(GL_KHR_debug) */ + +#if defined(GL_KHR_robustness) + glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles3wLoad("glGetGraphicsResetStatusKHR"); + glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles3wLoad("glReadnPixelsKHR"); + glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles3wLoad("glGetnUniformfvKHR"); + glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles3wLoad("glGetnUniformivKHR"); + glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles3wLoad("glGetnUniformuivKHR"); +#endif /* defined(GL_KHR_robustness) */ + +#if defined(GL_KHR_parallel_shader_compile) + glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles3wLoad("glMaxShaderCompilerThreadsKHR"); +#endif /* defined(GL_KHR_parallel_shader_compile) */ + +#if defined(GL_MESA_framebuffer_flip_y) + glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles3wLoad("glFramebufferParameteriMESA"); + glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles3wLoad("glGetFramebufferParameterivMESA"); +#endif /* defined(GL_MESA_framebuffer_flip_y) */ + +#if defined(GL_NV_bindless_texture) + glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles3wLoad("glGetTextureHandleNV"); + glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles3wLoad("glGetTextureSamplerHandleNV"); + glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glMakeTextureHandleResidentNV"); + glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeTextureHandleNonResidentNV"); + glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles3wLoad("glGetImageHandleNV"); + glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glMakeImageHandleResidentNV"); + glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeImageHandleNonResidentNV"); + glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles3wLoad("glUniformHandleui64NV"); + glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glUniformHandleui64vNV"); + glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles3wLoad("glProgramUniformHandleui64NV"); + glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glProgramUniformHandleui64vNV"); + glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glIsTextureHandleResidentNV"); + glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glIsImageHandleResidentNV"); +#endif /* defined(GL_NV_bindless_texture) */ + +#if defined(GL_NV_blend_equation_advanced) + glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles3wLoad("glBlendParameteriNV"); + glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles3wLoad("glBlendBarrierNV"); +#endif /* defined(GL_NV_blend_equation_advanced) */ + +#if defined(GL_NV_clip_space_w_scaling) + glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles3wLoad("glViewportPositionWScaleNV"); +#endif /* defined(GL_NV_clip_space_w_scaling) */ + +#if defined(GL_NV_conditional_render) + glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles3wLoad("glBeginConditionalRenderNV"); + glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles3wLoad("glEndConditionalRenderNV"); +#endif /* defined(GL_NV_conditional_render) */ + +#if defined(GL_NV_conservative_raster) + glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles3wLoad("glSubpixelPrecisionBiasNV"); +#endif /* defined(GL_NV_conservative_raster) */ + +#if defined(GL_NV_conservative_raster_pre_snap_triangles) + glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles3wLoad("glConservativeRasterParameteriNV"); +#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ + +#if defined(GL_NV_copy_buffer) + glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles3wLoad("glCopyBufferSubDataNV"); +#endif /* defined(GL_NV_copy_buffer) */ + +#if defined(GL_NV_coverage_sample) + glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles3wLoad("glCoverageMaskNV"); + glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles3wLoad("glCoverageOperationNV"); +#endif /* defined(GL_NV_coverage_sample) */ + +#if defined(GL_NV_draw_buffers) + glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles3wLoad("glDrawBuffersNV"); +#endif /* defined(GL_NV_draw_buffers) */ + +#if defined(GL_NV_draw_instanced) + glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles3wLoad("glDrawArraysInstancedNV"); + glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles3wLoad("glDrawElementsInstancedNV"); +#endif /* defined(GL_NV_draw_instanced) */ + +#if defined(GL_NV_draw_vulkan_image) + glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles3wLoad("glDrawVkImageNV"); + glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles3wLoad("glGetVkProcAddrNV"); + glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles3wLoad("glWaitVkSemaphoreNV"); + glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles3wLoad("glSignalVkSemaphoreNV"); + glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles3wLoad("glSignalVkFenceNV"); +#endif /* defined(GL_NV_draw_vulkan_image) */ + +#if defined(GL_NV_fence) + glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles3wLoad("glDeleteFencesNV"); + glGenFencesNV = (PFNGLGENFENCESNVPROC)gles3wLoad("glGenFencesNV"); + glIsFenceNV = (PFNGLISFENCENVPROC)gles3wLoad("glIsFenceNV"); + glTestFenceNV = (PFNGLTESTFENCENVPROC)gles3wLoad("glTestFenceNV"); + glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles3wLoad("glGetFenceivNV"); + glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles3wLoad("glFinishFenceNV"); + glSetFenceNV = (PFNGLSETFENCENVPROC)gles3wLoad("glSetFenceNV"); +#endif /* defined(GL_NV_fence) */ + +#if defined(GL_NV_fragment_coverage_to_color) + glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles3wLoad("glFragmentCoverageColorNV"); +#endif /* defined(GL_NV_fragment_coverage_to_color) */ + +#if defined(GL_NV_framebuffer_blit) + glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles3wLoad("glBlitFramebufferNV"); +#endif /* defined(GL_NV_framebuffer_blit) */ + +#if defined(GL_NV_framebuffer_mixed_samples) + glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glCoverageModulationTableNV"); + glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glGetCoverageModulationTableNV"); + glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles3wLoad("glCoverageModulationNV"); +#endif /* defined(GL_NV_framebuffer_mixed_samples) */ + +#if defined(GL_NV_framebuffer_multisample) + glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles3wLoad("glRenderbufferStorageMultisampleNV"); +#endif /* defined(GL_NV_framebuffer_multisample) */ + +#if defined(GL_NV_gpu_shader5) + glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles3wLoad("glUniform1i64NV"); + glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles3wLoad("glUniform2i64NV"); + glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles3wLoad("glUniform3i64NV"); + glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles3wLoad("glUniform4i64NV"); + glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles3wLoad("glUniform1i64vNV"); + glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles3wLoad("glUniform2i64vNV"); + glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles3wLoad("glUniform3i64vNV"); + glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles3wLoad("glUniform4i64vNV"); + glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles3wLoad("glUniform1ui64NV"); + glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles3wLoad("glUniform2ui64NV"); + glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles3wLoad("glUniform3ui64NV"); + glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles3wLoad("glUniform4ui64NV"); + glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles3wLoad("glUniform1ui64vNV"); + glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles3wLoad("glUniform2ui64vNV"); + glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles3wLoad("glUniform3ui64vNV"); + glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles3wLoad("glUniform4ui64vNV"); + glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles3wLoad("glGetUniformi64vNV"); + + glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles3wLoad("glProgramUniform1i64NV"); + glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles3wLoad("glProgramUniform2i64NV"); + glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles3wLoad("glProgramUniform3i64NV"); + glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles3wLoad("glProgramUniform4i64NV"); + glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles3wLoad("glProgramUniform1i64vNV"); + glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles3wLoad("glProgramUniform2i64vNV"); + glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles3wLoad("glProgramUniform3i64vNV"); + glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles3wLoad("glProgramUniform4i64vNV"); + glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles3wLoad("glProgramUniform1ui64NV"); + glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles3wLoad("glProgramUniform2ui64NV"); + glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles3wLoad("glProgramUniform3ui64NV"); + glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles3wLoad("glProgramUniform4ui64NV"); + glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles3wLoad("glProgramUniform1ui64vNV"); + glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles3wLoad("glProgramUniform2ui64vNV"); + glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles3wLoad("glProgramUniform3ui64vNV"); + glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles3wLoad("glProgramUniform4ui64vNV"); +#endif /* defined(GL_NV_gpu_shader5) */ + +#if defined(GL_NV_instanced_arrays) + glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles3wLoad("glVertexAttribDivisorNV"); +#endif /* defined(GL_NV_instanced_arrays) */ + +#if defined(GL_NV_internalformat_sample_query) + glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles3wLoad("glGetInternalformatSampleivNV"); +#endif /* defined(GL_NV_internalformat_sample_query) */ + +#if defined(GL_NV_memory_attachment) + glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles3wLoad("glGetMemoryObjectDetachedResourcesuivNV"); + glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles3wLoad("glResetMemoryObjectParameterNV"); + glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles3wLoad("glTexAttachMemoryNV"); + glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles3wLoad("glBufferAttachMemoryNV"); + + glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles3wLoad("glTextureAttachMemoryNV"); + glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles3wLoad("glNamedBufferAttachMemoryNV"); +#endif /* defined(GL_NV_memory_attachment) */ + +#if defined(GL_NV_memory_object_sparse) + glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glBufferPageCommitmentMemNV"); + glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexPageCommitmentMemNV"); + + glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glNamedBufferPageCommitmentMemNV"); + glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexturePageCommitmentMemNV"); +#endif /* defined(GL_NV_memory_object_sparse) */ + +#if defined(GL_NV_mesh_shader) + glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles3wLoad("glDrawMeshTasksNV"); + glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectNV"); + glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectCountNV"); +#endif /* defined(GL_NV_mesh_shader) */ + +#if defined(GL_NV_non_square_matrices) + glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles3wLoad("glUniformMatrix2x3fvNV"); + glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles3wLoad("glUniformMatrix3x2fvNV"); + glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles3wLoad("glUniformMatrix2x4fvNV"); + glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles3wLoad("glUniformMatrix4x2fvNV"); + glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles3wLoad("glUniformMatrix3x4fvNV"); + glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles3wLoad("glUniformMatrix4x3fvNV"); +#endif /* defined(GL_NV_non_square_matrices) */ + +#if defined(GL_NV_path_rendering) + glGenPathsNV = (PFNGLGENPATHSNVPROC)gles3wLoad("glGenPathsNV"); + glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles3wLoad("glDeletePathsNV"); + glIsPathNV = (PFNGLISPATHNVPROC)gles3wLoad("glIsPathNV"); + glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles3wLoad("glPathCommandsNV"); + glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles3wLoad("glPathCoordsNV"); + glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles3wLoad("glPathSubCommandsNV"); + glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles3wLoad("glPathSubCoordsNV"); + glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles3wLoad("glPathStringNV"); + glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles3wLoad("glPathGlyphsNV"); + glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles3wLoad("glPathGlyphRangeNV"); + glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles3wLoad("glWeightPathsNV"); + glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles3wLoad("glCopyPathNV"); + glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles3wLoad("glInterpolatePathsNV"); + glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles3wLoad("glTransformPathNV"); + glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles3wLoad("glPathParameterivNV"); + glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles3wLoad("glPathParameteriNV"); + glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles3wLoad("glPathParameterfvNV"); + glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles3wLoad("glPathParameterfNV"); + glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles3wLoad("glPathDashArrayNV"); + glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles3wLoad("glPathStencilFuncNV"); + glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles3wLoad("glPathStencilDepthOffsetNV"); + glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles3wLoad("glStencilFillPathNV"); + glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles3wLoad("glStencilStrokePathNV"); + glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilFillPathInstancedNV"); + glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilStrokePathInstancedNV"); + glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles3wLoad("glPathCoverDepthFuncNV"); + glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles3wLoad("glCoverFillPathNV"); + glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles3wLoad("glCoverStrokePathNV"); + glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glCoverFillPathInstancedNV"); + glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glCoverStrokePathInstancedNV"); + glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles3wLoad("glGetPathParameterivNV"); + glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles3wLoad("glGetPathParameterfvNV"); + glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles3wLoad("glGetPathCommandsNV"); + glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles3wLoad("glGetPathCoordsNV"); + glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles3wLoad("glGetPathDashArrayNV"); + glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles3wLoad("glGetPathMetricsNV"); + glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles3wLoad("glGetPathMetricRangeNV"); + glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles3wLoad("glGetPathSpacingNV"); + glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles3wLoad("glIsPointInFillPathNV"); + glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles3wLoad("glIsPointInStrokePathNV"); + glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles3wLoad("glGetPathLengthNV"); + glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles3wLoad("glPointAlongPathNV"); + + glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles3wLoad("glMatrixLoad3x2fNV"); + glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles3wLoad("glMatrixLoad3x3fNV"); + glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixLoadTranspose3x3fNV"); + glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles3wLoad("glMatrixMult3x2fNV"); + glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles3wLoad("glMatrixMult3x3fNV"); + glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixMultTranspose3x3fNV"); + glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles3wLoad("glStencilThenCoverFillPathNV"); + glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles3wLoad("glStencilThenCoverStrokePathNV"); + glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverFillPathInstancedNV"); + glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverStrokePathInstancedNV"); + glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles3wLoad("glPathGlyphIndexRangeNV"); + + glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathGlyphIndexArrayNV"); + glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathMemoryGlyphIndexArrayNV"); + glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles3wLoad("glProgramPathFragmentInputGenNV"); + glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles3wLoad("glGetProgramResourcefvNV"); + + glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles3wLoad("glMatrixFrustumEXT"); + glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles3wLoad("glMatrixLoadIdentityEXT"); + glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles3wLoad("glMatrixLoadTransposefEXT"); + glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles3wLoad("glMatrixLoadTransposedEXT"); + glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles3wLoad("glMatrixLoadfEXT"); + glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles3wLoad("glMatrixLoaddEXT"); + glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles3wLoad("glMatrixMultTransposefEXT"); + glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles3wLoad("glMatrixMultTransposedEXT"); + glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles3wLoad("glMatrixMultfEXT"); + glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles3wLoad("glMatrixMultdEXT"); + glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles3wLoad("glMatrixOrthoEXT"); + glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles3wLoad("glMatrixPopEXT"); + glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles3wLoad("glMatrixPushEXT"); + glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles3wLoad("glMatrixRotatefEXT"); + glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles3wLoad("glMatrixRotatedEXT"); + glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles3wLoad("glMatrixScalefEXT"); + glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles3wLoad("glMatrixScaledEXT"); + glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles3wLoad("glMatrixTranslatefEXT"); + glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles3wLoad("glMatrixTranslatedEXT"); +#endif /* defined(GL_NV_path_rendering) */ + +#if defined(GL_NV_polygon_mode) + glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles3wLoad("glPolygonModeNV"); +#endif /* defined(GL_NV_polygon_mode) */ + +#if defined(GL_NV_read_buffer) + glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles3wLoad("glReadBufferNV"); +#endif /* defined(GL_NV_read_buffer) */ + +#if defined(GL_NV_sample_locations) + glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glFramebufferSampleLocationsfvNV"); + glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glNamedFramebufferSampleLocationsfvNV"); + glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles3wLoad("glResolveDepthValuesNV"); +#endif /* defined(GL_NV_sample_locations) */ + +#if defined(GL_NV_scissor_exclusive) + glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles3wLoad("glScissorExclusiveNV"); + glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles3wLoad("glScissorExclusiveArrayvNV"); +#endif /* defined(GL_NV_scissor_exclusive) */ + +#if defined(GL_NV_shading_rate_image) + glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles3wLoad("glBindShadingRateImageNV"); + glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glGetShadingRateImagePaletteNV"); + glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles3wLoad("glGetShadingRateSampleLocationivNV"); + glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles3wLoad("glShadingRateImageBarrierNV"); + glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glShadingRateImagePaletteNV"); + glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles3wLoad("glShadingRateSampleOrderNV"); + glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles3wLoad("glShadingRateSampleOrderCustomNV"); +#endif /* defined(GL_NV_shading_rate_image) */ + +#if defined(GL_NV_viewport_array) + glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles3wLoad("glViewportArrayvNV"); + glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles3wLoad("glViewportIndexedfNV"); + glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles3wLoad("glViewportIndexedfvNV"); + glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles3wLoad("glScissorArrayvNV"); + glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles3wLoad("glScissorIndexedNV"); + glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles3wLoad("glScissorIndexedvNV"); + glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles3wLoad("glDepthRangeArrayfvNV"); + glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles3wLoad("glDepthRangeIndexedfNV"); + glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles3wLoad("glGetFloati_vNV"); + glEnableiNV = (PFNGLENABLEINVPROC)gles3wLoad("glEnableiNV"); + glDisableiNV = (PFNGLDISABLEINVPROC)gles3wLoad("glDisableiNV"); + glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles3wLoad("glIsEnablediNV"); +#endif /* defined(GL_NV_viewport_array) */ + +#if defined(GL_NV_viewport_swizzle) + glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles3wLoad("glViewportSwizzleNV"); +#endif /* defined(GL_NV_viewport_swizzle) */ + +#if defined(GL_OES_EGL_image) + glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles3wLoad("glEGLImageTargetTexture2DOES"); + glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles3wLoad("glEGLImageTargetRenderbufferStorageOES"); +#endif /* defined(GL_OES_EGL_image) */ + +#if defined(GL_OES_copy_image) + glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles3wLoad("glCopyImageSubDataOES"); +#endif /* defined(GL_OES_copy_image) */ + +#if defined(GL_OES_draw_buffers_indexed) + glEnableiOES = (PFNGLENABLEIOESPROC)gles3wLoad("glEnableiOES"); + glDisableiOES = (PFNGLDISABLEIOESPROC)gles3wLoad("glDisableiOES"); + glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles3wLoad("glBlendEquationiOES"); + glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles3wLoad("glBlendEquationSeparateiOES"); + glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles3wLoad("glBlendFunciOES"); + glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles3wLoad("glBlendFuncSeparateiOES"); + glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles3wLoad("glColorMaskiOES"); + glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles3wLoad("glIsEnablediOES"); +#endif /* defined(GL_OES_draw_buffers_indexed) */ + +#if defined(GL_OES_draw_elements_base_vertex) + glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawElementsBaseVertexOES"); + glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawRangeElementsBaseVertexOES"); + glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles3wLoad("glDrawElementsInstancedBaseVertexOES"); +#endif /* defined(GL_OES_draw_elements_base_vertex) */ + +#if defined(GL_OES_geometry_shader) + glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles3wLoad("glFramebufferTextureOES"); +#endif /* defined(GL_OES_geometry_shader) */ + +#if defined(GL_OES_get_program_binary) + glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles3wLoad("glGetProgramBinaryOES"); + glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles3wLoad("glProgramBinaryOES"); +#endif /* defined(GL_OES_get_program_binary) */ + +#if defined(GL_OES_mapbuffer) + glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles3wLoad("glMapBufferOES"); + glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles3wLoad("glUnmapBufferOES"); + glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles3wLoad("glGetBufferPointervOES"); +#endif /* defined(GL_OES_mapbuffer) */ + +#if defined(GL_OES_primitive_bounding_box) + glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles3wLoad("glPrimitiveBoundingBoxOES"); +#endif /* defined(GL_OES_primitive_bounding_box) */ + +#if defined(GL_OES_sample_shading) + glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles3wLoad("glMinSampleShadingOES"); +#endif /* defined(GL_OES_sample_shading) */ + +#if defined(GL_OES_tessellation_shader) + glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles3wLoad("glPatchParameteriOES"); +#endif /* defined(GL_OES_tessellation_shader) */ + +#if defined(GL_OES_texture_3D) + glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles3wLoad("glTexImage3DOES"); + glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles3wLoad("glTexSubImage3DOES"); + glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles3wLoad("glCopyTexSubImage3DOES"); + glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles3wLoad("glCompressedTexImage3DOES"); + glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles3wLoad("glCompressedTexSubImage3DOES"); + glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles3wLoad("glFramebufferTexture3DOES"); +#endif /* defined(GL_OES_texture_3D) */ + +#if defined(GL_OES_texture_border_clamp) + glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles3wLoad("glTexParameterIivOES"); + glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles3wLoad("glTexParameterIuivOES"); + glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles3wLoad("glGetTexParameterIivOES"); + glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles3wLoad("glGetTexParameterIuivOES"); + glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glSamplerParameterIivOES"); + glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glSamplerParameterIuivOES"); + glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glGetSamplerParameterIivOES"); + glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glGetSamplerParameterIuivOES"); +#endif /* defined(GL_OES_texture_border_clamp) */ + +#if defined(GL_OES_texture_buffer) + glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles3wLoad("glTexBufferOES"); + glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles3wLoad("glTexBufferRangeOES"); +#endif /* defined(GL_OES_texture_buffer) */ + +#if defined(GL_OES_texture_storage_multisample_2d_array) + glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles3wLoad("glTexStorage3DMultisampleOES"); +#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ + +#if defined(GL_OES_texture_view) + glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles3wLoad("glTextureViewOES"); +#endif /* defined(GL_OES_texture_view) */ + +#if defined(GL_OES_vertex_array_object) + glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles3wLoad("glBindVertexArrayOES"); + glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles3wLoad("glDeleteVertexArraysOES"); + glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles3wLoad("glGenVertexArraysOES"); + glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles3wLoad("glIsVertexArrayOES"); +#endif /* defined(GL_OES_vertex_array_object) */ + +#if defined(GL_OES_viewport_array) + glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles3wLoad("glViewportArrayvOES"); + glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles3wLoad("glViewportIndexedfOES"); + glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles3wLoad("glViewportIndexedfvOES"); + glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles3wLoad("glScissorArrayvOES"); + glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles3wLoad("glScissorIndexedOES"); + glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles3wLoad("glScissorIndexedvOES"); + glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles3wLoad("glDepthRangeArrayfvOES"); + glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles3wLoad("glDepthRangeIndexedfOES"); + glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles3wLoad("glGetFloati_vOES"); +#endif /* defined(GL_OES_viewport_array) */ + +#if defined(GL_OVR_multiview) + glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultiviewOVR"); +#endif /* defined(GL_OVR_multiview) */ + +#if defined(GL_OVR_multiview_multisampled_render_to_texture) + glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultisampleMultiviewOVR"); +#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ + +#if defined(GL_QCOM_alpha_test) + glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles3wLoad("glAlphaFuncQCOM"); +#endif /* defined(GL_QCOM_alpha_test) */ + +#if defined(GL_QCOM_driver_control) + glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles3wLoad("glGetDriverControlsQCOM"); + glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles3wLoad("glGetDriverControlStringQCOM"); + glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glEnableDriverControlQCOM"); + glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glDisableDriverControlQCOM"); +#endif /* defined(GL_QCOM_driver_control) */ + +#if defined(GL_QCOM_extended_get) + glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles3wLoad("glExtGetTexturesQCOM"); + glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles3wLoad("glExtGetBuffersQCOM"); + glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles3wLoad("glExtGetRenderbuffersQCOM"); + glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles3wLoad("glExtGetFramebuffersQCOM"); + glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles3wLoad("glExtGetTexLevelParameterivQCOM"); + glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles3wLoad("glExtTexObjectStateOverrideiQCOM"); + glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles3wLoad("glExtGetTexSubImageQCOM"); + glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles3wLoad("glExtGetBufferPointervQCOM"); +#endif /* defined(GL_QCOM_extended_get) */ + +#if defined(GL_QCOM_extended_get2) + glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles3wLoad("glExtGetShadersQCOM"); + glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles3wLoad("glExtGetProgramsQCOM"); + glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles3wLoad("glExtIsProgramBinaryQCOM"); + glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles3wLoad("glExtGetProgramBinarySourceQCOM"); +#endif /* defined(GL_QCOM_extended_get2) */ + +#if defined(GL_QCOM_framebuffer_foveated) + glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles3wLoad("glFramebufferFoveationConfigQCOM"); + glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glFramebufferFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_framebuffer_foveated) */ + +#if defined(GL_QCOM_motion_estimation) + glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles3wLoad("glTexEstimateMotionQCOM"); + glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles3wLoad("glTexEstimateMotionRegionsQCOM"); +#endif /* defined(GL_QCOM_motion_estimation) */ + +#if defined(GL_QCOM_frame_extrapolation) + glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles3wLoad("glExtrapolateTex2DQCOM"); +#endif /* defined(GL_QCOM_frame_extrapolation) */ + +#if defined(GL_QCOM_texture_foveated) + glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glTextureFoveationParametersQCOM"); +#endif /* defined(GL_QCOM_texture_foveated) */ + +#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) + glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles3wLoad("glFramebufferFetchBarrierQCOM"); +#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ + +#if defined(GL_QCOM_shading_rate) + glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles3wLoad("glShadingRateQCOM"); +#endif /* defined(GL_QCOM_shading_rate) */ + +#if defined(GL_QCOM_tiled_rendering) + glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles3wLoad("glStartTilingQCOM"); + glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles3wLoad("glEndTilingQCOM"); +#endif /* defined(GL_QCOM_tiled_rendering) */ + } diff --git a/native/tools/gles-wrangler-generator/generate.js b/native/tools/gles-wrangler-generator/generate.js index 26b6e10e02..ada78e6c3e 100644 --- a/native/tools/gles-wrangler-generator/generate.js +++ b/native/tools/gles-wrangler-generator/generate.js @@ -94,45 +94,28 @@ const downloadSpec = async (specInfo) => { const es2Src = generate(glSpec, ['GL_ES_VERSION_2_0'], 'gles2w'); const es3Src = generate(glSpec, ['GL_ES_VERSION_2_0', 'GL_ES_VERSION_3_0', 'GL_ES_VERSION_3_1', 'GL_ES_VERSION_3_2'], 'gles3w'); - /* * - const output = (moduleName, generatedSrc) => { - if (!fs.existsSync('output')) fs.mkdirSync('output'); - fs.writeFileSync(`${__dirname}/output/${moduleName}_auto.h`, `#pragma once\n\nvoid ${moduleName}LoadProcs();\n\n${generatedSrc.headerDecl}`); - fs.writeFileSync(`${__dirname}/output/${moduleName}_auto.cpp`, `#include "${moduleName}.h"\n\n` + - `${generatedSrc.sourceDef}void ${moduleName}LoadProcs() {\n${generatedSrc.sourceLoad}}\n`); - }; - output('eglw', eglSrc); - output('gles2w', es2Src); - output('gles3w', es3Src); - - fs.createReadStream(`${__dirname}/output/eglw_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/eglw_auto.h`)); - fs.createReadStream(`${__dirname}/output/eglw_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/eglw_auto.cpp`)); - fs.createReadStream(`${__dirname}/output/gles2w_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/gles2w_auto.h`)); - fs.createReadStream(`${__dirname}/output/gles2w_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles2/gles2w_auto.cpp`)); - - fs.createReadStream(`${__dirname}/output/eglw_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/eglw_auto.h`)); - fs.createReadStream(`${__dirname}/output/eglw_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/eglw_auto.cpp`)); - fs.createReadStream(`${__dirname}/output/gles3w_auto.h`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w_auto.h`)); - fs.createReadStream(`${__dirname}/output/gles3w_auto.cpp`).pipe(fs.createWriteStream(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w_auto.cpp`)); - /* */ const update = (path, moduleName, generatedSrc) => { let header = fs.readFileSync(`${path}.h`); let source = fs.readFileSync(`${path}.cpp`); + let sourceOC = fs.readFileSync(`${path}.mm`); + let flag = `/\* ${moduleName.toUpperCase()}_GENERATE_DECLARATION *\/`; header = header.slice(0, header.indexOf(flag) + flag.length); header += `\n\n${eglSrc.headerDecl}\n${generatedSrc.headerDecl}\n`; flag = `/\* ${moduleName.toUpperCase()}_GENERATE_IMPLEMENTATION *\/`; - source = source.slice(0, source.indexOf(flag) + flag.length); const eglLoad = eglSrc.sourceLoad.replace(/eglwLoad/g, `${moduleName}Load`); - source += `\n\n${eglSrc.sourceDef}\n${generatedSrc.sourceDef}\n` + - `static void ${moduleName}LoadProcs() {\n${eglLoad}\n${generatedSrc.sourceLoad}}\n`; + const generatedSource = `\n\n${eglSrc.sourceDef}\n${generatedSrc.sourceDef}\n` + + `static void ${moduleName}LoadProcs() {\n${eglLoad}\n${generatedSrc.sourceLoad}}\n`; + + source = source.slice(0, source.indexOf(flag) + flag.length) + generatedSource; + sourceOC = sourceOC.slice(0, sourceOC.indexOf(flag) + flag.length) + generatedSource; fs.writeFileSync(`${path}.h`, header); fs.writeFileSync(`${path}.cpp`, source); + fs.writeFileSync(`${path}.mm`, sourceOC); }; update(`${__dirname}/../../cocos/renderer/gfx-gles2/gles2w`, 'gles2w', es2Src); update(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w`, 'gles3w', es3Src); - /* */ })(); From acd04d92c6756453dc920b6b3fed9908d1dfca91 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 19 Jan 2021 16:54:25 +0800 Subject: [PATCH 125/270] fix iOS build --- native/cocos/renderer/gfx-gles2/gles2w.cpp | 10 +++- native/cocos/renderer/gfx-gles2/gles2w.h | 9 ++-- native/cocos/renderer/gfx-gles2/gles2w.mm | 22 ++++++--- native/cocos/renderer/gfx-gles3/gles3w.cpp | 10 +++- native/cocos/renderer/gfx-gles3/gles3w.h | 9 ++-- native/cocos/renderer/gfx-gles3/gles3w.mm | 23 ++++++--- .../tools/gles-wrangler-generator/generate.js | 48 ++++++++++++++----- 7 files changed, 95 insertions(+), 36 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/gles2w.cpp b/native/cocos/renderer/gfx-gles2/gles2w.cpp index d3df40410b..debfadccbe 100644 --- a/native/cocos/renderer/gfx-gles2/gles2w.cpp +++ b/native/cocos/renderer/gfx-gles2/gles2w.cpp @@ -79,8 +79,7 @@ bool gles2wInit(void) { return true; } -/* GLES2W_GENERATE_IMPLEMENTATION */ - +/* GLES2W_GENERATE_EGL_DEFINITION */ PFNEGLGETPROCADDRESSPROC eglGetProcAddress; /* EGL_VERSION_1_0 */ @@ -409,7 +408,9 @@ PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ +/* GLES2W_GENERATE_EGL_DEFINITION */ +/* GLES2W_GENERATE_GLES_DEFINITION */ /* GL_ES_VERSION_2_0 */ PFNGLACTIVETEXTUREPROC glActiveTexture; PFNGLATTACHSHADERPROC glAttachShader; @@ -1472,8 +1473,10 @@ PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; PFNGLENDTILINGQCOMPROC glEndTilingQCOM; #endif /* defined(GL_QCOM_tiled_rendering) */ +/* GLES2W_GENERATE_GLES_DEFINITION */ static void gles2wLoadProcs() { + /* GLES2W_GENERATE_EGL_LOAD */ eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles2wLoad("eglGetProcAddress"); /* EGL_VERSION_1_0 */ @@ -1802,7 +1805,9 @@ static void gles2wLoadProcs() { eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles2wLoad("eglCreateWaylandBufferFromImageWL"); #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + /* GLES2W_GENERATE_EGL_LOAD */ + /* GLES2W_GENERATE_GLES_LOAD */ /* GL_ES_VERSION_2_0 */ glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles2wLoad("glActiveTexture"); glAttachShader = (PFNGLATTACHSHADERPROC)gles2wLoad("glAttachShader"); @@ -2865,4 +2870,5 @@ static void gles2wLoadProcs() { glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles2wLoad("glEndTilingQCOM"); #endif /* defined(GL_QCOM_tiled_rendering) */ + /* GLES2W_GENERATE_GLES_LOAD */ } diff --git a/native/cocos/renderer/gfx-gles2/gles2w.h b/native/cocos/renderer/gfx-gles2/gles2w.h index f2fd0ec2c0..3dd46bf8e9 100755 --- a/native/cocos/renderer/gfx-gles2/gles2w.h +++ b/native/cocos/renderer/gfx-gles2/gles2w.h @@ -43,8 +43,8 @@ THE SOFTWARE. bool gles2wInit(); -/* GLES2W_GENERATE_DECLARATION */ - +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) +/* GLES2W_GENERATE_EGL_DECLARATION */ extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; /* EGL_VERSION_1_0 */ @@ -373,7 +373,10 @@ extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ +/* GLES2W_GENERATE_EGL_DECLARATION */ +#endif +/* GLES2W_GENERATE_GLES_DECLARATION */ /* GL_ES_VERSION_2_0 */ extern PFNGLACTIVETEXTUREPROC glActiveTexture; extern PFNGLATTACHSHADERPROC glAttachShader; @@ -1436,4 +1439,4 @@ extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; #endif /* defined(GL_QCOM_tiled_rendering) */ - +/* GLES2W_GENERATE_GLES_DECLARATION */ diff --git a/native/cocos/renderer/gfx-gles2/gles2w.mm b/native/cocos/renderer/gfx-gles2/gles2w.mm index 675928bc88..1fee84ba57 100755 --- a/native/cocos/renderer/gfx-gles2/gles2w.mm +++ b/native/cocos/renderer/gfx-gles2/gles2w.mm @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ #include "gles2w.h" -#if TARGET_OS_IPHONE +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) #import #import #import @@ -34,7 +34,7 @@ THE SOFTWARE. static CFBundleRef g_es2Bundle; static CFURLRef g_es2BundleURL; -static int gles2wOpen(void) { +static int gles2wOpen() { #if TARGET_IPHONE_SIMULATOR CFStringRef frameworkPath = CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework"); #else @@ -72,7 +72,7 @@ static void *gles2wLoad(const char *proc) { static void *libegl; static void *libgl; -static int gles2wOpen(void) { +static int gles2wOpen() { NSURL *appURL = [[NSBundle mainBundle] bundleURL]; std::string libPath(appURL.resourceSpecifier.UTF8String); @@ -94,7 +94,7 @@ static void *gles2wLoad(const char *proc) { if (!res) res = (void *)dlsym(libegl, proc); return res; } -#endif // #if TARGET_OS_IPHONE +#endif static void gles2wLoadProcs(); @@ -108,8 +108,8 @@ bool gles2wInit() { return true; } -/* GLES2W_GENERATE_IMPLEMENTATION */ - +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) +/* GLES2W_GENERATE_EGL_DEFINITION */ PFNEGLGETPROCADDRESSPROC eglGetProcAddress; /* EGL_VERSION_1_0 */ @@ -438,7 +438,10 @@ PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ +/* GLES2W_GENERATE_EGL_DEFINITION */ +#endif +/* GLES2W_GENERATE_GLES_DEFINITION */ /* GL_ES_VERSION_2_0 */ PFNGLACTIVETEXTUREPROC glActiveTexture; PFNGLATTACHSHADERPROC glAttachShader; @@ -1501,8 +1504,11 @@ PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; PFNGLENDTILINGQCOMPROC glEndTilingQCOM; #endif /* defined(GL_QCOM_tiled_rendering) */ +/* GLES2W_GENERATE_GLES_DEFINITION */ static void gles2wLoadProcs() { +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) + /* GLES2W_GENERATE_EGL_LOAD */ eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles2wLoad("eglGetProcAddress"); /* EGL_VERSION_1_0 */ @@ -1831,7 +1837,10 @@ static void gles2wLoadProcs() { eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles2wLoad("eglCreateWaylandBufferFromImageWL"); #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + /* GLES2W_GENERATE_EGL_LOAD */ +#endif + /* GLES2W_GENERATE_GLES_LOAD */ /* GL_ES_VERSION_2_0 */ glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles2wLoad("glActiveTexture"); glAttachShader = (PFNGLATTACHSHADERPROC)gles2wLoad("glAttachShader"); @@ -2894,4 +2903,5 @@ static void gles2wLoadProcs() { glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles2wLoad("glEndTilingQCOM"); #endif /* defined(GL_QCOM_tiled_rendering) */ + /* GLES2W_GENERATE_GLES_LOAD */ } diff --git a/native/cocos/renderer/gfx-gles3/gles3w.cpp b/native/cocos/renderer/gfx-gles3/gles3w.cpp index 657c76f898..8c1b9c8f8b 100644 --- a/native/cocos/renderer/gfx-gles3/gles3w.cpp +++ b/native/cocos/renderer/gfx-gles3/gles3w.cpp @@ -79,8 +79,7 @@ bool gles3wInit(void) { return true; } -/* GLES3W_GENERATE_IMPLEMENTATION */ - +/* GLES3W_GENERATE_EGL_DEFINITION */ PFNEGLGETPROCADDRESSPROC eglGetProcAddress; /* EGL_VERSION_1_0 */ @@ -409,7 +408,9 @@ PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ +/* GLES3W_GENERATE_EGL_DEFINITION */ +/* GLES3W_GENERATE_GLES_DEFINITION */ /* GL_ES_VERSION_2_0 */ PFNGLACTIVETEXTUREPROC glActiveTexture; PFNGLATTACHSHADERPROC glAttachShader; @@ -1716,8 +1717,10 @@ PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; PFNGLENDTILINGQCOMPROC glEndTilingQCOM; #endif /* defined(GL_QCOM_tiled_rendering) */ +/* GLES3W_GENERATE_GLES_DEFINITION */ static void gles3wLoadProcs() { + /* GLES3W_GENERATE_EGL_LOAD */ eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles3wLoad("eglGetProcAddress"); /* EGL_VERSION_1_0 */ @@ -2046,7 +2049,9 @@ static void gles3wLoadProcs() { eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles3wLoad("eglCreateWaylandBufferFromImageWL"); #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + /* GLES3W_GENERATE_EGL_LOAD */ + /* GLES3W_GENERATE_GLES_LOAD */ /* GL_ES_VERSION_2_0 */ glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles3wLoad("glActiveTexture"); glAttachShader = (PFNGLATTACHSHADERPROC)gles3wLoad("glAttachShader"); @@ -3353,4 +3358,5 @@ static void gles3wLoadProcs() { glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles3wLoad("glEndTilingQCOM"); #endif /* defined(GL_QCOM_tiled_rendering) */ + /* GLES3W_GENERATE_GLES_LOAD */ } diff --git a/native/cocos/renderer/gfx-gles3/gles3w.h b/native/cocos/renderer/gfx-gles3/gles3w.h index 69c85e53bd..6b5ee9cf4b 100755 --- a/native/cocos/renderer/gfx-gles3/gles3w.h +++ b/native/cocos/renderer/gfx-gles3/gles3w.h @@ -43,8 +43,8 @@ THE SOFTWARE. bool gles3wInit(); -/* GLES3W_GENERATE_DECLARATION */ - +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) +/* GLES3W_GENERATE_EGL_DECLARATION */ extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; /* EGL_VERSION_1_0 */ @@ -373,7 +373,10 @@ extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ +/* GLES3W_GENERATE_EGL_DECLARATION */ +#endif +/* GLES3W_GENERATE_GLES_DECLARATION */ /* GL_ES_VERSION_2_0 */ extern PFNGLACTIVETEXTUREPROC glActiveTexture; extern PFNGLATTACHSHADERPROC glAttachShader; @@ -1680,4 +1683,4 @@ extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; #endif /* defined(GL_QCOM_tiled_rendering) */ - +/* GLES3W_GENERATE_GLES_DECLARATION */ diff --git a/native/cocos/renderer/gfx-gles3/gles3w.mm b/native/cocos/renderer/gfx-gles3/gles3w.mm index 064b15c2e9..30910def0a 100755 --- a/native/cocos/renderer/gfx-gles3/gles3w.mm +++ b/native/cocos/renderer/gfx-gles3/gles3w.mm @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ #include "gles3w.h" -#if TARGET_OS_IPHONE +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) #import #import #import @@ -34,7 +34,7 @@ THE SOFTWARE. static CFBundleRef g_es3Bundle; static CFURLRef g_es3BundleURL; -static int gles3wOpen(void) { +static int gles3wOpen() { #if TARGET_IPHONE_SIMULATOR CFStringRef frameworkPath = CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework"); #else @@ -62,7 +62,6 @@ static void *gles3wLoad(const char *proc) { return res; } #else - // macos #include #include #include @@ -72,7 +71,7 @@ static void *gles3wLoad(const char *proc) { static void *libegl; static void *libgl; -static int gles3wOpen(void) { +static int gles3wOpen() { NSURL *appURL = [[NSBundle mainBundle] bundleURL]; std::string libPath(appURL.resourceSpecifier.UTF8String); @@ -94,7 +93,7 @@ static void *gles3wLoad(const char *proc) { if (!res) res = (void *)dlsym(libegl, proc); return res; } -#endif // #if TARGET_OS_IPHONE +#endif static void gles3wLoadProcs(); @@ -108,8 +107,8 @@ bool gles3wInit() { return true; } -/* GLES3W_GENERATE_IMPLEMENTATION */ - +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) +/* GLES3W_GENERATE_EGL_DEFINITION */ PFNEGLGETPROCADDRESSPROC eglGetProcAddress; /* EGL_VERSION_1_0 */ @@ -438,7 +437,10 @@ PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ +/* GLES3W_GENERATE_EGL_DEFINITION */ +#endif +/* GLES3W_GENERATE_GLES_DEFINITION */ /* GL_ES_VERSION_2_0 */ PFNGLACTIVETEXTUREPROC glActiveTexture; PFNGLATTACHSHADERPROC glAttachShader; @@ -1745,8 +1747,11 @@ PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; PFNGLENDTILINGQCOMPROC glEndTilingQCOM; #endif /* defined(GL_QCOM_tiled_rendering) */ +/* GLES3W_GENERATE_GLES_DEFINITION */ static void gles3wLoadProcs() { +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) + /* GLES3W_GENERATE_EGL_LOAD */ eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles3wLoad("eglGetProcAddress"); /* EGL_VERSION_1_0 */ @@ -2075,7 +2080,10 @@ static void gles3wLoadProcs() { eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles3wLoad("eglCreateWaylandBufferFromImageWL"); #endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + /* GLES3W_GENERATE_EGL_LOAD */ +#endif + /* GLES3W_GENERATE_GLES_LOAD */ /* GL_ES_VERSION_2_0 */ glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles3wLoad("glActiveTexture"); glAttachShader = (PFNGLATTACHSHADERPROC)gles3wLoad("glAttachShader"); @@ -3382,4 +3390,5 @@ static void gles3wLoadProcs() { glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles3wLoad("glEndTilingQCOM"); #endif /* defined(GL_QCOM_tiled_rendering) */ + /* GLES3W_GENERATE_GLES_LOAD */ } diff --git a/native/tools/gles-wrangler-generator/generate.js b/native/tools/gles-wrangler-generator/generate.js index ada78e6c3e..494faaf35e 100644 --- a/native/tools/gles-wrangler-generator/generate.js +++ b/native/tools/gles-wrangler-generator/generate.js @@ -10,12 +10,23 @@ const downloadSpec = async (specInfo) => { fs.writeFileSync(specInfo.local, (await axios.get(specInfo.remote)).data); } +const options = { + clear: false, +}; +const argc = process.argv.length; +for (let i = 2; i < argc; i++) { + const arg = process.argv[i]; + if (arg === '--clear') { + options.clear = true; + } +} + (async () => { if (!fs.existsSync('specs')) fs.mkdirSync('specs'); await downloadSpec(eglRegistry); await downloadSpec(glRegistry); const parseOpt = { - attributeNamePrefix : "", + attributeNamePrefix : '', ignoreAttributes : false, ignoreNameSpace : false, allowBooleanAttributes : true, @@ -50,9 +61,8 @@ const downloadSpec = async (specInfo) => { append(`\n`); } for (const featureName of featureNames) { - headerDecl += `/* ${featureName} */\n`; - sourceDef += `/* ${featureName} */\n`; - sourceLoad += ` /* ${featureName} */\n`; + sourceLoad += ` `; + append(`/* ${featureName} */\n`); const feature = spec.feature.find((f) => f.name === featureName); for (const manifest of feature.require) { if (!manifest.command) continue; @@ -94,22 +104,34 @@ const downloadSpec = async (specInfo) => { const es2Src = generate(glSpec, ['GL_ES_VERSION_2_0'], 'gles2w'); const es3Src = generate(glSpec, ['GL_ES_VERSION_2_0', 'GL_ES_VERSION_3_0', 'GL_ES_VERSION_3_1', 'GL_ES_VERSION_3_2'], 'gles3w'); + const updateBlock = (source, moduleName, keyword, content, indentEnd) => { + const flag = `/\\* ${moduleName.toUpperCase()}_GENERATE_${keyword} \\*/\n`; + const flagRE = new RegExp(flag, 'g'); + const indices = []; + while (flagRE.exec(source)) indices.push(flagRE.lastIndex); + indices[1] -= flag.length - 2; // two escape characters + if (options.clear) content = ''; + if (indentEnd) content += ' '; + return source.slice(0, indices[0]) + content + source.slice(indices[1]); + }; + const update = (path, moduleName, generatedSrc) => { let header = fs.readFileSync(`${path}.h`); let source = fs.readFileSync(`${path}.cpp`); let sourceOC = fs.readFileSync(`${path}.mm`); - let flag = `/\* ${moduleName.toUpperCase()}_GENERATE_DECLARATION *\/`; - header = header.slice(0, header.indexOf(flag) + flag.length); - header += `\n\n${eglSrc.headerDecl}\n${generatedSrc.headerDecl}\n`; + header = updateBlock(header, moduleName, 'EGL_DECLARATION', eglSrc.headerDecl); + header = updateBlock(header, moduleName, 'GLES_DECLARATION', generatedSrc.headerDecl); - flag = `/\* ${moduleName.toUpperCase()}_GENERATE_IMPLEMENTATION *\/`; - const eglLoad = eglSrc.sourceLoad.replace(/eglwLoad/g, `${moduleName}Load`); - const generatedSource = `\n\n${eglSrc.sourceDef}\n${generatedSrc.sourceDef}\n` + - `static void ${moduleName}LoadProcs() {\n${eglLoad}\n${generatedSrc.sourceLoad}}\n`; + source = updateBlock(source, moduleName, 'EGL_DEFINITION', eglSrc.sourceDef); + source = updateBlock(source, moduleName, 'GLES_DEFINITION', generatedSrc.sourceDef); + source = updateBlock(source, moduleName, 'EGL_LOAD', eglSrc.sourceLoad.replace(/eglwLoad/g, `${moduleName}Load`), true); + source = updateBlock(source, moduleName, 'GLES_LOAD', generatedSrc.sourceLoad, true); - source = source.slice(0, source.indexOf(flag) + flag.length) + generatedSource; - sourceOC = sourceOC.slice(0, sourceOC.indexOf(flag) + flag.length) + generatedSource; + sourceOC = updateBlock(sourceOC, moduleName, 'EGL_DEFINITION', eglSrc.sourceDef); + sourceOC = updateBlock(sourceOC, moduleName, 'GLES_DEFINITION', generatedSrc.sourceDef); + sourceOC = updateBlock(sourceOC, moduleName, 'EGL_LOAD', eglSrc.sourceLoad.replace(/eglwLoad/g, `${moduleName}Load`), true); + sourceOC = updateBlock(sourceOC, moduleName, 'GLES_LOAD', generatedSrc.sourceLoad, true); fs.writeFileSync(`${path}.h`, header); fs.writeFileSync(`${path}.cpp`, source); From 8afd0f49ab0d8d8dcf4b00982d4825c7e43619ae Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 20 Jan 2021 16:23:50 +0800 Subject: [PATCH 126/270] Improve NSAutoreleasePool usage --- .../renderer/gfx-metal/MTLCommandBuffer.mm | 30 ++++++++++--------- native/cocos/renderer/gfx-metal/MTLDevice.h | 2 -- native/cocos/renderer/gfx-metal/MTLDevice.mm | 12 +++----- 3 files changed, 20 insertions(+), 24 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 5b107ef765..d5235a49bd 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -93,18 +93,21 @@ bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTL void CCMTLCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { if (_commandBufferBegan) return; - if (!_autoreleasePool) { - _mtlDevice->ensureAutoreleasePool(); - _autoreleasePool = [[NSAutoreleasePool alloc] init]; -// CC_LOG_INFO("%d CB POOL: %p ALLOCED for %p", [NSThread currentThread], _autoreleasePool, this); - } - _isSecondary = renderPass != nullptr && _mtlCommandBuffer; if (!_isSecondary) { - // Sub command buffer for parallel shouldn't request any command buffer + // Only primary command buffer should request command buffer explicitly _mtlCommandBuffer = [[_mtlCommandQueue commandBuffer] retain]; [_mtlCommandBuffer enqueue]; } + else { + // Secondary command buffer is likely to be recorded in a separated thread + if (_autoreleasePool) { + [_autoreleasePool drain]; + _autoreleasePool = nil; + } + _autoreleasePool = [[NSAutoreleasePool alloc] init]; + // CC_LOG_INFO("%d CB POOL: %p ALLOCED for %p", [NSThread currentThread], _autoreleasePool, this); + } _numTriangles = 0; _numDrawCalls = 0; _numInstances = 0; @@ -124,13 +127,12 @@ void CCMTLCommandBuffer::end() { if (_isSecondary) { // Secondary command buffer should end encoding here _commandEncoder.endEncoding(); - } - disposeCurrentDrawable(); - - if (_autoreleasePool) { -// CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], _autoreleasePool, this); - [_autoreleasePool drain]; - _autoreleasePool = nullptr; + + if (_autoreleasePool) { + // CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], _autoreleasePool, this); + [_autoreleasePool drain]; + _autoreleasePool = nullptr; + } } } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 232e3c005b..7ed0518c14 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -70,8 +70,6 @@ public: CC_INLINE CCMTLGPUStagingBufferPool *gpuStagingBufferPool() const { return _gpuStagingBufferPools[_currentFrameIndex]; } CC_INLINE bool isSamplerDescriptorCompareFunctionSupported() const { return _isSamplerDescriptorCompareFunctionSupported; } CC_INLINE void *getDSSTexture() const { return _dssTex; } - - void ensureAutoreleasePool(); protected: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 4841ec119b..f8fe6d4ff9 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -211,17 +211,13 @@ void CCMTLDevice::destroy() { void CCMTLDevice::resize(uint width, uint height) {} -void CCMTLDevice::ensureAutoreleasePool() { - if (!_autoreleasePool) { - _autoreleasePool = [[NSAutoreleasePool alloc] init]; -// CC_LOG_INFO("POOL: %p ALLOCED", _autoreleasePool); - } -} - void CCMTLDevice::acquire() { _inFlightSemaphore->wait(); - ensureAutoreleasePool(); + if (!_autoreleasePool) { + _autoreleasePool = [[NSAutoreleasePool alloc] init]; + CC_LOG_INFO("POOL: %p ALLOCED", _autoreleasePool); + } // Clear queue stats CCMTLQueue *queue = static_cast(_queue); queue->_numDrawCalls = 0; From fb31d268f814190be663da54a74e365f25347d26 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 20 Jan 2021 16:24:42 +0800 Subject: [PATCH 127/270] Fix encoder setMultithreaded API --- native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp | 3 ++- native/cocos/renderer/pipeline/helper/SharedMemory.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 854c2920ea..43006ae6e8 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -55,7 +55,6 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { memcpy(_features, _actor->_features, (uint)Feature::COUNT * sizeof(bool)); _mainEncoder = CC_NEW(MessageQueue); - _mainEncoder->runConsumerThread(); _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { @@ -152,6 +151,7 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { if (multithreaded) { _mainEncoder->setImmediateMode(false); _actor->bindRenderContext(false); + _mainEncoder->runConsumerThread(); ENQUEUE_MESSAGE_1( _mainEncoder, DeviceMakeCurrent, actor, _actor, @@ -166,6 +166,7 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { { actor->bindDeviceContext(false); }); + _mainEncoder->terminateConsumerThread(); _mainEncoder->finishWriting(true); // wait till finished _mainEncoder->setImmediateMode(true); _actor->bindRenderContext(true); diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index 84af76618d..c7c4ada7ab 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -83,7 +83,7 @@ extern gfx::BlendState *getBlendStateImpl(uint index); #define GET_INSTANCED_ATTRIBUTE_ARRAY(index) SharedMemory::getHandleArray(se::PoolType::INSTANCED_ATTRIBUTE_ARRAY, index) #define GET_LIGHT_ARRAY(index) SharedMemory::getHandleArray(se::PoolType::LIGHT_ARRAY, index) #define GET_BLEND_TARGET_ARRAY(index) SharedMemory::getHandleArray(se::PoolType::BLEND_TARGET_ARRAY, index) -#define GET_UI_BATCH_ARRAY(index) SharedMemory::getHandleArray(se::PoolType::UI_BATCH_ARRAY, index) +#define GET_UI_BATCH_ARRAY(index) SharedMemory::getHandleArray(se::PoolType::UI_BATCH_ARRAY, index) // Get raw buffer or gfx object. #define GET_RAW_BUFFER(index, size) SharedMemory::getRawBuffer(se::PoolType::RAW_BUFFER, index, size) From 19b4b28c37ea2765c0accb101e780b403ac729a7 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 20 Jan 2021 16:28:35 +0800 Subject: [PATCH 128/270] Ensure commit all command buffers before present --- .../renderer/gfx-metal/MTLCommandBuffer.h | 3 -- .../renderer/gfx-metal/MTLCommandBuffer.mm | 17 +-------- native/cocos/renderer/gfx-metal/MTLDevice.h | 8 +++- native/cocos/renderer/gfx-metal/MTLDevice.mm | 38 ++++++++++++------- native/cocos/renderer/gfx-metal/MTLQueue.mm | 19 +++++++++- 5 files changed, 51 insertions(+), 34 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index c99e30b996..d72f3f667b 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -74,8 +74,6 @@ public: CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } - id getCurrentDrawable(); - void disposeCurrentDrawable(); private: void bindDescriptorSets(); @@ -92,7 +90,6 @@ private: bool _isSecondary = false; NSAutoreleasePool *_autoreleasePool = nullptr; CCMTLDevice *_mtlDevice = nullptr; - id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; MTKView *_mtkView = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index d5235a49bd..6164e4d05c 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -66,21 +66,6 @@ void CCMTLCommandBuffer::destroy() { } } -id CCMTLCommandBuffer::getCurrentDrawable() { - if (!_currDrawable) { - CAMetalLayer *layer = (CAMetalLayer*)_mtlDevice->getMTLLayer(); - _currDrawable = [[layer nextDrawable] retain]; - } - return _currDrawable; -} - -void CCMTLCommandBuffer::disposeCurrentDrawable() { - if (_currDrawable) { - [_currDrawable release]; - _currDrawable = nil; - } -} - bool CCMTLCommandBuffer::isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass) { const int num = renderPass->getColorRenderTargetNums(); if (num == 0) { @@ -145,7 +130,7 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb auto isOffscreen = static_cast(fbo)->isOffscreen(); if (!isOffscreen) { - id drawable = getCurrentDrawable(); + id drawable = (id)_mtlDevice->getCurrentDrawable(); id dssTex = (id)_mtlDevice->getDSSTexture(); static_cast(renderPass)->setColorAttachment(0, drawable.texture, 0); static_cast(renderPass)->setDepthStencilAttachment(dssTex, 0); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 7ed0518c14..2ca46dccf9 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -58,6 +58,10 @@ public: virtual void resize(uint width, uint height) override; virtual void acquire() override; virtual void present() override; + + void presentCompleted(); + void* getCurrentDrawable(); + void disposeCurrentDrawable(); CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } CC_INLINE void *getMTLLayer() const { return _mtlLayer; } @@ -96,6 +100,7 @@ private: void *_mtlDevice = nullptr; void *_mtlLayer = nullptr; void *_dssTex = nullptr; + void *_activeDrawable = nullptr; unsigned long _mtlFeatureSet = 0; uint _maxSamplerUnits = 0; uint _maxColorRenderTargets = 0; @@ -104,8 +109,9 @@ private: bool _indirectDrawSupported = false; bool _isSamplerDescriptorCompareFunctionSupported = false; CCMTLGPUStagingBufferPool *_gpuStagingBufferPools[MAX_FRAMES_IN_FLIGHT] = {nullptr}; - CCMTLSemaphore *_inFlightSemaphore = nullptr; + CCMTLGPUStagingBufferPool *_currentBufferPool = nullptr; uint _currentFrameIndex = 0; + CCMTLSemaphore *_inFlightSemaphore = nullptr; uint32_t _memoryAlarmListenerId = 0; }; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index f8fe6d4ff9..35430ab976 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -216,7 +216,7 @@ void CCMTLDevice::acquire() { if (!_autoreleasePool) { _autoreleasePool = [[NSAutoreleasePool alloc] init]; - CC_LOG_INFO("POOL: %p ALLOCED", _autoreleasePool); +// CC_LOG_INFO("POOL: %p ALLOCED", _autoreleasePool); } // Clear queue stats CCMTLQueue *queue = static_cast(_queue); @@ -232,20 +232,9 @@ void CCMTLDevice::present() { _numTriangles = queue->_numTriangles; //hold this pointer before update _currentFrameIndex - CCMTLGPUStagingBufferPool *bufferPool = _gpuStagingBufferPools[_currentFrameIndex]; + _currentBufferPool = _gpuStagingBufferPools[_currentFrameIndex]; _currentFrameIndex = (_currentFrameIndex + 1) % MAX_FRAMES_IN_FLIGHT; - CCMTLCommandBuffer *cmdBuff = static_cast(_cmdBuff); - id mtlCommandBuffer = cmdBuff->getMTLCommandBuffer(); - [mtlCommandBuffer presentDrawable:cmdBuff->getCurrentDrawable()]; - [mtlCommandBuffer addCompletedHandler:^(id commandBuffer) { - [commandBuffer release]; - bufferPool->reset(); - _inFlightSemaphore->signal(); - }]; - [mtlCommandBuffer commit]; - cmdBuff->disposeCurrentDrawable(); - if (_autoreleasePool) { // CC_LOG_INFO("POOL: %p RELEASED", _autoreleasePool); [(NSAutoreleasePool*)_autoreleasePool drain]; @@ -253,6 +242,29 @@ void CCMTLDevice::present() { } } +void CCMTLDevice::presentCompleted() { + if (_currentBufferPool) { + _currentBufferPool->reset(); + _currentBufferPool = nullptr; + } + _inFlightSemaphore->signal(); +} + +void *CCMTLDevice::getCurrentDrawable() { + if (!_activeDrawable) { + CAMetalLayer *layer = (CAMetalLayer*)getMTLLayer(); + _activeDrawable = [[layer nextDrawable] retain]; + } + return _activeDrawable; +} + +void CCMTLDevice::disposeCurrentDrawable() { + if (_activeDrawable) { + [(id)_activeDrawable release]; + _activeDrawable = nil; + } +} + Fence *CCMTLDevice::createFence() { return CC_NEW(CCMTLFence(this)); } diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.mm b/native/cocos/renderer/gfx-metal/MTLQueue.mm index 6ed384aa75..640f5acb8a 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.mm +++ b/native/cocos/renderer/gfx-metal/MTLQueue.mm @@ -24,6 +24,8 @@ THE SOFTWARE. #include "MTLStd.h" #include "MTLQueue.h" +#include "MTLDevice.h" +#include "MTLCommandBuffer.h" namespace cc { namespace gfx { @@ -43,10 +45,25 @@ void CCMTLQueue::destroy() { void CCMTLQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { for (uint i = 0u; i < count; ++i) { - const auto *cmdBuffer = cmdBuffs[i]; + CCMTLCommandBuffer *cmdBuffer = (CCMTLCommandBuffer *)cmdBuffs[i]; _numDrawCalls += cmdBuffer->getNumDrawCalls(); _numInstances += cmdBuffer->getNumInstances(); _numTriangles += cmdBuffer->getNumTris(); + id mtlCmdBuffer = cmdBuffer->getMTLCommandBuffer(); + + // Must do present before commit last command buffer. + if (i == count-1) { + CCMTLDevice* device = (CCMTLDevice*)_device; + id currDrawable = (id)device->getCurrentDrawable(); + + [mtlCmdBuffer presentDrawable:currDrawable]; + [mtlCmdBuffer addCompletedHandler:^(id commandBuffer) { + [commandBuffer release]; + device->presentCompleted(); + }]; + device->disposeCurrentDrawable(); + } + [mtlCmdBuffer commit]; } } From c4a74bcd5d1d7711bdce32bdef622ac68edfb0e0 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 20 Jan 2021 17:31:00 +0800 Subject: [PATCH 129/270] Fix command buffer cumulate issue --- native/cocos/renderer/gfx-metal/MTLQueue.mm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.mm b/native/cocos/renderer/gfx-metal/MTLQueue.mm index 640f5acb8a..b5b99d3a04 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.mm +++ b/native/cocos/renderer/gfx-metal/MTLQueue.mm @@ -51,11 +51,15 @@ void CCMTLQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { _numTriangles += cmdBuffer->getNumTris(); id mtlCmdBuffer = cmdBuffer->getMTLCommandBuffer(); - // Must do present before commit last command buffer. - if (i == count-1) { + if (i < count-1) { + [mtlCmdBuffer addCompletedHandler:^(id commandBuffer) { + [commandBuffer release]; + }]; + } + else { + // Must do present before commit last command buffer. CCMTLDevice* device = (CCMTLDevice*)_device; id currDrawable = (id)device->getCurrentDrawable(); - [mtlCmdBuffer presentDrawable:currDrawable]; [mtlCmdBuffer addCompletedHandler:^(id commandBuffer) { [commandBuffer release]; From d590b0e800093e348bea1d8e8b8f6eb3aebbb35b Mon Sep 17 00:00:00 2001 From: pandamicro Date: Wed, 20 Jan 2021 18:32:55 +0800 Subject: [PATCH 130/270] Fix update issue --- native/cocos/renderer/core/gfx/GFXDef.h | 1 + native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 8 +++----- native/cocos/renderer/gfx-metal/MTLDevice.mm | 6 +++--- native/cocos/renderer/gfx-metal/MTLUtils.mm | 4 ++-- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 7f4539e566..65515e148e 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -700,6 +700,7 @@ struct DeviceCaps { uint maxTextureUnits = 0u; uint maxImageUnits = 0u; uint maxVertexTextureUnits = 0u; + uint maxColorRenderTargets = 0u; uint maxShaderStorageBufferBindings = 0u; uint maxShaderStorageBlockSize = 0u; uint maxUniformBufferBindings = 0u; diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index dd996be7e3..c923a2e2f0 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -75,7 +75,7 @@ void CCMTLDescriptorSet::update() { if (_buffers[i]) { _gpuDescriptorSet->gpuDescriptors[i].buffer = static_cast(_buffers[i]); } - } else if (descriptors[i].type & DESCRIPTOR_SAMPLER_TYPE) { + } else if (descriptors[i].type & DESCRIPTOR_TEXTURE_TYPE) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].texture = static_cast(_textures[i]); } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 2ca46dccf9..033b0b84df 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -66,8 +66,8 @@ public: CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } CC_INLINE void *getMTLLayer() const { return _mtlLayer; } CC_INLINE void *getMTLDevice() const { return _mtlDevice; } - CC_INLINE uint getMaximumSamplerUnits() const { return _maxSamplerUnits; } - CC_INLINE uint getMaximumColorRenderTargets() const { return _maxColorRenderTargets; } + CC_INLINE uint getMaximumSamplerUnits() const { return _caps.maxTextureUnits; } + CC_INLINE uint getMaximumColorRenderTargets() const { return _caps.maxColorRenderTargets; } CC_INLINE uint getMaximumBufferBindingIndex() const { return _maxBufferBindingIndex; } CC_INLINE bool isIndirectCommandBufferSupported() const { return _icbSuppored; } CC_INLINE bool isIndirectDrawSupported() const { return _indirectDrawSupported; } @@ -102,8 +102,6 @@ private: void *_dssTex = nullptr; void *_activeDrawable = nullptr; unsigned long _mtlFeatureSet = 0; - uint _maxSamplerUnits = 0; - uint _maxColorRenderTargets = 0; uint _maxBufferBindingIndex = 0; bool _icbSuppored = false; bool _indirectDrawSupported = false; @@ -112,7 +110,7 @@ private: CCMTLGPUStagingBufferPool *_currentBufferPool = nullptr; uint _currentFrameIndex = 0; CCMTLSemaphore *_inFlightSemaphore = nullptr; - uint32_t _memoryAlarmListenerId = 0; + CC_UNUSED uint32_t _memoryAlarmListenerId = 0; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 35430ab976..cef7e3d624 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -94,12 +94,12 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _indirectDrawSupported = mu::isIndirectDrawSupported(gpuFamily); _caps.maxVertexAttributes = mu::getMaxVertexAttributes(gpuFamily); _caps.maxTextureUnits = _caps.maxVertexTextureUnits = mu::getMaxEntriesInTextureArgumentTable(gpuFamily); -// _caps.maxSamplerUnits = mu::getMaxEntriesInSamplerStateArgumentTable(gpuFamily); + _caps.maxTextureUnits = mu::getMaxEntriesInSamplerStateArgumentTable(gpuFamily); _caps.maxTextureSize = mu::getMaxTexture2DWidthHeight(gpuFamily); _caps.maxCubeMapTextureSize = mu::getMaxCubeMapTextureWidthHeight(gpuFamily); -// _caps.maxColorRenderTargets = mu::getMaxColorRenderTarget(gpuFamily); -// _caps.maxBufferBindingIndex = mu::getMaxEntriesInBufferArgumentTable(gpuFamily); + _caps.maxColorRenderTargets = mu::getMaxColorRenderTarget(gpuFamily); _caps.uboOffsetAlignment = mu::getMinBufferOffsetAlignment(gpuFamily); + _maxBufferBindingIndex = mu::getMaxEntriesInBufferArgumentTable(gpuFamily); _icbSuppored = mu::isIndirectCommandBufferSupported(MTLFeatureSet(_mtlFeatureSet)); _isSamplerDescriptorCompareFunctionSupported = mu::isSamplerDescriptorCompareFunctionSupported(gpuFamily); diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index 0c63a59780..8e6d57c73a 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -666,7 +666,7 @@ String compileGLSLShader2Msl(const String &src, for (const auto &sampler : resources.sampled_images) { auto set = msl.get_decoration(sampler.id, spv::DecorationDescriptorSet); auto binding = msl.get_decoration(sampler.id, spv::DecorationBinding); - int size = 1, s = -1; + int size = 1; const spirv_cross::SPIRType &type = msl.get_type(sampler.type_id); if (type.array_size_literal[0]) { size = type.array[0]; @@ -1508,7 +1508,7 @@ bool pixelFormatIsColorRenderable(Format format) { } MTLBlitOption getBlitOption(Format format) { - const MTLPixelFormat pixelFormat = toMTLPixelFormat(format); + CC_UNUSED const MTLPixelFormat pixelFormat = toMTLPixelFormat(format); #if CC_PLATFORM == CC_PLATFORM_MAC_IOS if (pixelFormat >= MTLPixelFormatPVRTC_RGB_2BPP && pixelFormat <= MTLPixelFormatPVRTC_RGBA_4BPP_sRGB) { return MTLBlitOptionRowLinearPVRTC; From ec0088baaf10bee8f419519054cb2245abe2c6c0 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 21 Jan 2021 18:42:10 +0800 Subject: [PATCH 131/270] vk: barrier refactor --- native/cocos/base/Macros.h | 2 +- .../renderer/core/gfx/GFXCommandBuffer.h | 2 +- native/cocos/renderer/core/gfx/GFXDef.cpp | 28 ++++ native/cocos/renderer/core/gfx/GFXDef.h | 141 ++++++++++-------- .../cocos/renderer/core/gfx/GFXRenderPass.cpp | 10 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 39 +++-- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 116 +++++++------- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 138 +++++++---------- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 35 ++++- .../renderer/gfx-vulkan/VKDescriptorSet.h | 1 - native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 13 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 3 + .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 116 +++++++++----- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 12 +- native/cocos/renderer/gfx-vulkan/VKQueue.h | 4 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 121 +-------------- .../thsvs_simpler_vulkan_synchronization.h | 12 +- 20 files changed, 393 insertions(+), 406 deletions(-) diff --git a/native/cocos/base/Macros.h b/native/cocos/base/Macros.h index 5bbe8141d8..88fea54b20 100644 --- a/native/cocos/base/Macros.h +++ b/native/cocos/base/Macros.h @@ -320,7 +320,7 @@ It should work same as apples CFSwapInt32LittleToHost(..) #elif CC_PLATFORM == CC_PLATFORM_MAC_OSX && CC_ENDIAN == CC_ENDIAN_BIG #define CC_CPU CC_CPU_PPC #elif CC_PLATFORM == CC_PLATFORM_MAC_OSX - #define COCOS_CPU CC_CPU_X86 + #define CC_CPU CC_CPU_X86 #elif CC_PLATFORM == CC_PLATFORM_MAC_IOS && (defined(__i386__) || defined(__x86_64__)) #define CC_CPU CC_CPU_X86 #elif defined(__arm__) || defined(_M_ARM) || defined(__arm64__) || defined(_aarch64_) diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index bcdf491408..6698161c20 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -65,7 +65,7 @@ public: blitTexture(srcTexture, dstTexture, regions.data(), regions.size(), filter); } CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier) { pipelineBarrier(barrier, nullptr, 0u); } - CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const ImageBarrierList &textureBarriers) { pipelineBarrier(barrier, textureBarriers.data(), textureBarriers.size()); } + CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers) { pipelineBarrier(barrier, textureBarriers.data(), textureBarriers.size()); } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); diff --git a/native/cocos/renderer/core/gfx/GFXDef.cpp b/native/cocos/renderer/core/gfx/GFXDef.cpp index 1f576e4d91..799e51afc8 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.cpp +++ b/native/cocos/renderer/core/gfx/GFXDef.cpp @@ -10,6 +10,34 @@ const DescriptorType DESCRIPTOR_BUFFER_TYPE = DescriptorType::STORAGE_BUFFER | D const DescriptorType DESCRIPTOR_TEXTURE_TYPE = DescriptorType::SAMPLER_TEXTURE | DescriptorType::SAMPLER | DescriptorType::TEXTURE | DescriptorType::STORAGE_IMAGE | DescriptorType::INPUT_ATTACHMENT; const DescriptorType DESCRIPTOR_DYNAMIC_TYPE = DescriptorType::DYNAMIC_STORAGE_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; +const AccessType AccessTypeV::INDIRECT_BUFFER = AccessType::INDIRECT_BUFFER; +const AccessType AccessTypeV::INDEX_BUFFER = AccessType::INDEX_BUFFER; +const AccessType AccessTypeV::VERTEX_BUFFER = AccessType::VERTEX_BUFFER; +const AccessType AccessTypeV::VERTEX_SHADER_READ_UNIFORM_BUFFER = AccessType::VERTEX_SHADER_READ_UNIFORM_BUFFER; +const AccessType AccessTypeV::VERTEX_SHADER_READ_TEXTURE = AccessType::VERTEX_SHADER_READ_TEXTURE; +const AccessType AccessTypeV::VERTEX_SHADER_READ_OTHER = AccessType::VERTEX_SHADER_READ_OTHER; +const AccessType AccessTypeV::FRAGMENT_SHADER_READ_UNIFORM_BUFFER = AccessType::FRAGMENT_SHADER_READ_UNIFORM_BUFFER; +const AccessType AccessTypeV::FRAGMENT_SHADER_READ_TEXTURE = AccessType::FRAGMENT_SHADER_READ_TEXTURE; +const AccessType AccessTypeV::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT = AccessType::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT; +const AccessType AccessTypeV::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT = AccessType::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT; +const AccessType AccessTypeV::FRAGMENT_SHADER_READ_OTHER = AccessType::FRAGMENT_SHADER_READ_OTHER; +const AccessType AccessTypeV::COLOR_ATTACHMENT_READ = AccessType::COLOR_ATTACHMENT_READ; +const AccessType AccessTypeV::DEPTH_STENCIL_ATTACHMENT_READ = AccessType::DEPTH_STENCIL_ATTACHMENT_READ; +const AccessType AccessTypeV::COMPUTE_SHADER_READ_UNIFORM_BUFFER = AccessType::COMPUTE_SHADER_READ_UNIFORM_BUFFER; +const AccessType AccessTypeV::COMPUTE_SHADER_READ_TEXTURE = AccessType::COMPUTE_SHADER_READ_TEXTURE; +const AccessType AccessTypeV::COMPUTE_SHADER_READ_OTHER = AccessType::COMPUTE_SHADER_READ_OTHER; +const AccessType AccessTypeV::TRANSFER_READ = AccessType::TRANSFER_READ; +const AccessType AccessTypeV::HOST_READ = AccessType::HOST_READ; +const AccessType AccessTypeV::PRESENT = AccessType::PRESENT; +const AccessType AccessTypeV::VERTEX_SHADER_WRITE = AccessType::VERTEX_SHADER_WRITE; +const AccessType AccessTypeV::FRAGMENT_SHADER_WRITE = AccessType::FRAGMENT_SHADER_WRITE; +const AccessType AccessTypeV::COLOR_ATTACHMENT_WRITE = AccessType::COLOR_ATTACHMENT_WRITE; +const AccessType AccessTypeV::DEPTH_STENCIL_ATTACHMENT_WRITE = AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE; +const AccessType AccessTypeV::COMPUTE_SHADER_WRITE = AccessType::COMPUTE_SHADER_WRITE; +const AccessType AccessTypeV::TRANSFER_WRITE = AccessType::TRANSFER_WRITE; +const AccessType AccessTypeV::HOST_PREINITIALIZED = AccessType::HOST_PREINITIALIZED; +const AccessType AccessTypeV::HOST_WRITE = AccessType::HOST_WRITE; + const FormatInfo GFX_FORMAT_INFOS[] = { {"UNKNOWN", 0, 0, FormatType::NONE, false, false, false, false}, {"A8", 1, 1, FormatType::UNORM, true, false, false, false}, diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 65515e148e..ef81f44467 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -329,12 +329,6 @@ bool isCombinedImageSampler(Type type); bool isSampledImage(Type type); bool isStorageImage(Type type); -enum class UniformMemoryAccessType { - READ_ONLY, - WRITE_ONLY, - READ_WRITE, -}; - enum class BufferUsageBit : FlagBits { NONE = 0, TRANSFER_SRC = 0x1, @@ -355,13 +349,13 @@ enum class BufferFlagBit : FlagBits { typedef BufferFlagBit BufferFlags; CC_ENUM_OPERATORS(BufferFlagBit); -enum class BufferAccessBit : FlagBits { +enum class MemoryAccessBit : FlagBits { NONE = 0, - READ = 0x1, - WRITE = 0x2, + READ_ONLY = 0x1, + WRITE_ONLY = 0x2, + READ_WRITE = READ_ONLY | WRITE_ONLY, }; -typedef BufferAccessBit BufferAccess; -CC_ENUM_OPERATORS(BufferAccessBit); +typedef MemoryAccessBit MemoryAccess; enum class MemoryUsageBit : FlagBits { NONE = 0, @@ -397,9 +391,8 @@ CC_ENUM_OPERATORS(TextureUsageBit); enum class TextureFlagBit : FlagBits { NONE = 0, GEN_MIPMAP = 0x1, - CUBEMAP = 0x2, - BAKUP_BUFFER = 0x4, - IMMUTABLE = 0x8, + BAKUP_BUFFER = 0x2, + IMMUTABLE = 0x4, }; typedef TextureFlagBit TextureFlags; CC_ENUM_OPERATORS(TextureFlagBit); @@ -510,20 +503,9 @@ enum class StoreOp { DISCARD, // Don't write the source to the destination }; -enum class TextureLayout { - UNDEFINED, - GENERAL, - COLOR_ATTACHMENT_OPTIMAL, - DEPTH_STENCIL_ATTACHMENT_OPTIMAL, - DEPTH_STENCIL_READONLY_OPTIMAL, - SHADER_READONLY_OPTIMAL, - TRANSFER_SRC_OPTIMAL, - TRANSFER_DST_OPTIMAL, - PREINITIALIZED, - PRESENT_SRC, -}; - enum class AccessType { + NONE, + // Read access INDIRECT_BUFFER, // Read as an indirect buffer for drawing or dispatch INDEX_BUFFER, // Read as an index buffer for drawing @@ -556,13 +538,37 @@ enum class AccessType { HOST_WRITE, // Written on the host }; -typedef cc::vector AccessTypeList; +namespace AccessTypeV { +extern const AccessType INDIRECT_BUFFER; +extern const AccessType INDEX_BUFFER; +extern const AccessType VERTEX_BUFFER; +extern const AccessType VERTEX_SHADER_READ_UNIFORM_BUFFER; +extern const AccessType VERTEX_SHADER_READ_TEXTURE; +extern const AccessType VERTEX_SHADER_READ_OTHER; +extern const AccessType FRAGMENT_SHADER_READ_UNIFORM_BUFFER; +extern const AccessType FRAGMENT_SHADER_READ_TEXTURE; +extern const AccessType FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT; +extern const AccessType FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT; +extern const AccessType FRAGMENT_SHADER_READ_OTHER; +extern const AccessType COLOR_ATTACHMENT_READ; +extern const AccessType DEPTH_STENCIL_ATTACHMENT_READ; +extern const AccessType COMPUTE_SHADER_READ_UNIFORM_BUFFER; +extern const AccessType COMPUTE_SHADER_READ_TEXTURE; +extern const AccessType COMPUTE_SHADER_READ_OTHER; +extern const AccessType TRANSFER_READ; +extern const AccessType HOST_READ; +extern const AccessType PRESENT; +extern const AccessType VERTEX_SHADER_WRITE; +extern const AccessType FRAGMENT_SHADER_WRITE; +extern const AccessType COLOR_ATTACHMENT_WRITE; +extern const AccessType DEPTH_STENCIL_ATTACHMENT_WRITE; +extern const AccessType COMPUTE_SHADER_WRITE; +extern const AccessType TRANSFER_WRITE; +extern const AccessType HOST_PREINITIALIZED; +extern const AccessType HOST_WRITE; +} // namespace AccessTypeV -// for texture barriers the exact layout can be inferred from access types -enum class TextureBarrierLayout { - OPTIMAL, - GENERAL, -}; +typedef cc::vector AccessTypeList; enum class PipelineBindPoint { GRAPHICS, @@ -815,7 +821,6 @@ struct Viewport { } }; -#pragma pack(push, 1) struct Color { float x = 0.0f; float y = 0.0f; @@ -829,7 +834,6 @@ struct Color { math::IsEqualF(w, rhs.w)); } }; -#pragma pack(pop) typedef cc::vector ColorList; /** @@ -894,7 +898,6 @@ struct BufferViewInfo { uint range = 0u; }; -#pragma pack(push, 1) struct DrawInfo { uint vertexCount = 0; uint firstVertex = 0; @@ -904,11 +907,9 @@ struct DrawInfo { uint instanceCount = 0; uint firstInstance = 0; }; -#pragma pack(pop) typedef cc::vector DrawInfoList; -#pragma pack(push, 1) struct DispatchInfo { uint groupCountX = 0; uint groupCountY = 0; @@ -917,7 +918,6 @@ struct DispatchInfo { Buffer *indirectBuffer = nullptr; uint indirectOffset = 0; }; -#pragma pack(pop) typedef cc::vector DispatchInfoList; @@ -1023,7 +1023,7 @@ struct UniformStorageImage { String name; Type type = Type::UNKNOWN; uint count = 0u; - UniformMemoryAccessType memoryAccess = UniformMemoryAccessType::READ_WRITE; + MemoryAccess memoryAccess = MemoryAccess::READ_WRITE; }; typedef cc::vector UniformStorageImageList; @@ -1033,7 +1033,7 @@ struct UniformStorageBuffer { uint binding = 0u; String name; uint count = 0u; - UniformMemoryAccessType memoryAccess = UniformMemoryAccessType::READ_WRITE; + MemoryAccess memoryAccess = MemoryAccess::READ_WRITE; }; typedef cc::vector UniformStorageBufferList; @@ -1048,7 +1048,7 @@ struct UniformInputAttachment { typedef cc::vector UniformInputAttachmentList; struct ShaderStage { - ShaderStageFlagBit stage; + ShaderStageFlagBit stage = ShaderStageFlagBit::NONE; String source; }; @@ -1089,24 +1089,24 @@ struct InputAssemblerInfo { struct ColorAttachment { Format format = Format::UNKNOWN; - uint sampleCount = 1; + SampleCount sampleCount = SampleCount::X1; LoadOp loadOp = LoadOp::CLEAR; StoreOp storeOp = StoreOp::STORE; - TextureLayout beginLayout = TextureLayout::UNDEFINED; - TextureLayout endLayout = TextureLayout::PRESENT_SRC; + AccessType beginAccess = AccessType::NONE; + AccessType endAccess = AccessType::PRESENT; }; typedef cc::vector ColorAttachmentList; struct DepthStencilAttachment { Format format = Format::UNKNOWN; - uint sampleCount = 1; + SampleCount sampleCount = SampleCount::X1; LoadOp depthLoadOp = LoadOp::CLEAR; StoreOp depthStoreOp = StoreOp::STORE; LoadOp stencilLoadOp = LoadOp::CLEAR; StoreOp stencilStoreOp = StoreOp::STORE; - TextureLayout beginLayout = TextureLayout::UNDEFINED; - TextureLayout endLayout = TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL; + AccessType beginAccess = AccessType::NONE; + AccessType endAccess = AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE; }; struct SubPassInfo { @@ -1127,28 +1127,39 @@ struct RenderPassInfo { }; struct GlobalBarrier { - AccessType *prevAccesses = nullptr; + AccessType const *prevAccesses = nullptr; uint prevAccessCount = 0u; - AccessType *nextAccesses = nullptr; + AccessType const *nextAccesses = nullptr; uint nextAccessCount = 0u; }; typedef cc::vector GlobalBarrierList; struct TextureBarrier { - AccessType *prevAccesses; - uint prevAccessCount; - AccessType *nextAccesses; - uint nextAccessCount; + AccessType const *prevAccesses = nullptr; + uint prevAccessCount = 0u; + AccessType const *nextAccesses = nullptr; + uint nextAccessCount = 0u; - TextureBarrierLayout prevLayout = TextureBarrierLayout::OPTIMAL; - TextureBarrierLayout nextLayout = TextureBarrierLayout::OPTIMAL; bool discardContents = false; Texture *texture = nullptr; Queue *srcQueue = nullptr; Queue *dstQueue = nullptr; }; -typedef cc::vector ImageBarrierList; +typedef cc::vector TextureBarrierList; + +struct BufferBarrier { + AccessType const *prevAccesses = nullptr; + uint prevAccessCount = 0u; + AccessType const *nextAccesses = nullptr; + uint nextAccessCount = 0u; + + Buffer *buffer = nullptr; + + Queue *srcQueue = nullptr; + Queue *dstQueue = nullptr; +}; +typedef cc::vector BufferBarrierList; typedef cc::vector BufferList; typedef cc::vector TextureList; @@ -1166,7 +1177,7 @@ struct DescriptorSetLayoutBinding { uint binding = GFX_INVALID_BINDING; DescriptorType descriptorType = DescriptorType::UNKNOWN; uint count = 0; - ShaderStageFlagBit stageFlags = ShaderStageFlagBit::NONE; + ShaderStageFlags stageFlags = ShaderStageFlagBit::NONE; SamplerList immutableSamplers; }; typedef cc::vector DescriptorSetLayoutBindingList; @@ -1287,21 +1298,21 @@ struct FormatInfo { bool isCompressed = false; }; -extern CC_DLL const DescriptorType DESCRIPTOR_BUFFER_TYPE; -extern CC_DLL const DescriptorType DESCRIPTOR_TEXTURE_TYPE; -extern CC_DLL const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; +extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; +extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; +extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; -extern CC_DLL const FormatInfo GFX_FORMAT_INFOS[]; -extern CC_DLL const uint GFX_TYPE_SIZES[]; +extern const FormatInfo GFX_FORMAT_INFOS[]; +extern const uint GFX_TYPE_SIZES[]; struct MemoryStatus { uint bufferSize = 0; uint textureSize = 0; }; -extern CC_DLL uint FormatSize(Format format, uint width, uint height, uint depth); +extern uint FormatSize(Format format, uint width, uint height, uint depth); -extern CC_DLL uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips); +extern uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips); } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp index e89bee3f5e..50426e5bfd 100755 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp +++ b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp @@ -22,27 +22,27 @@ uint RenderPass::computeHash() const { if (iaIndex >= _colorAttachments.size()) break; const auto ia = _colorAttachments[iaIndex]; seed ^= (uint)(ia.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= ia.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)ia.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (const auto &caIndex : subPass.colors) { if (caIndex >= _colorAttachments.size()) break; const auto ca = _colorAttachments[caIndex]; seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } if (subPass.depthStencil < _colorAttachments.size()) { const auto ds = _colorAttachments[subPass.depthStencil]; seed ^= (uint)(ds.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= ds.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)ds.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } } } else { for (const auto &colorAttachment : _colorAttachments) { seed ^= (uint)(colorAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= colorAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)colorAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } seed ^= (uint)(_depthStencilAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= _depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)_depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } return static_cast(seed); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 1cc2049c8c..2cc0e5fe53 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -463,7 +463,7 @@ void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Tex if (!barrier) return; GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); - MapGLBarriers(barrier->nextAccesses, barrier->nextAccessCount, cmd->barriers, cmd->barriersByRegion); + MapGLBarriers(barrier, cmd->barriers, cmd->barriersByRegion); _curCmdPackage->barrierCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::BARRIER); } else { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index fe9511f0bc..507c043c20 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -613,9 +613,25 @@ const GLenum GL_MEMORY_ACCESS[] = { }; } // namespace -void MapGLBarriers(const AccessType *list, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { - for (size_t j = 0u; j < count; ++j) { - switch (list[j]) { +void MapGLBarriers(const GlobalBarrier *barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { + bool hasShaderWrites = false; + for (size_t i = 0u; i < barrier->prevAccessCount; ++i) { + switch (barrier->prevAccesses[i]) { + case AccessType::COMPUTE_SHADER_WRITE: + case AccessType::VERTEX_SHADER_WRITE: + case AccessType::FRAGMENT_SHADER_WRITE: + case AccessType::COLOR_ATTACHMENT_WRITE: + case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: + hasShaderWrites = true; + break; + default: + break; + } + } + if (!hasShaderWrites) return; + + for (size_t i = 0u; i < barrier->nextAccessCount; ++i) { + switch (barrier->nextAccesses[i]) { case AccessType::INDIRECT_BUFFER: glBarriers |= GL_COMMAND_BARRIER_BIT; break; @@ -633,6 +649,8 @@ void MapGLBarriers(const AccessType *list, uint count, GLbitfield &glBarriers, G case AccessType::COMPUTE_SHADER_READ_TEXTURE: case AccessType::VERTEX_SHADER_READ_TEXTURE: case AccessType::FRAGMENT_SHADER_READ_TEXTURE: + case AccessType::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT: + case AccessType::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT: glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; glBarriersByRegion |= GL_TEXTURE_FETCH_BARRIER_BIT; break; @@ -642,27 +660,26 @@ void MapGLBarriers(const AccessType *list, uint count, GLbitfield &glBarriers, G glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; break; case AccessType::COLOR_ATTACHMENT_READ: - case AccessType::COLOR_ATTACHMENT_WRITE: case AccessType::DEPTH_STENCIL_ATTACHMENT_READ: - case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; break; case AccessType::TRANSFER_READ: glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; break; - case AccessType::FRAGMENT_SHADER_WRITE: - glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; - break; case AccessType::COMPUTE_SHADER_WRITE: + case AccessType::VERTEX_SHADER_WRITE: + case AccessType::FRAGMENT_SHADER_WRITE: + glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; break; + case AccessType::COLOR_ATTACHMENT_WRITE: + case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: + glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; + break; case AccessType::TRANSFER_WRITE: glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; break; - case AccessType::VERTEX_SHADER_WRITE: - case AccessType::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT: - case AccessType::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT: case AccessType::HOST_PREINITIALIZED: case AccessType::HOST_WRITE: case AccessType::PRESENT: diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index b4918daad4..20c6fe9b68 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -295,7 +295,7 @@ public: } }; -CC_GLES3_API void MapGLBarriers(const AccessType *barrier, uint count, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); +CC_GLES3_API void MapGLBarriers(const GlobalBarrier *barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); CC_GLES3_API void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 2f8ee63b3d..77c652f30f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -215,7 +215,7 @@ void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, co GLbitfield glBarriers = 0u; GLbitfield glBarriersByRegion = 0u; - MapGLBarriers(barrier->nextAccesses, barrier->nextAccessCount, glBarriers, glBarriersByRegion); + MapGLBarriers(barrier, glBarriers, glBarriersByRegion); GLES3CmdFuncMemoryBarrier((GLES3Device *)_device, glBarriers, glBarriersByRegion); } else { CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index cad0eac3df..c97aea7782 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -73,7 +73,7 @@ void CCVKCommandBuffer::destroy() { void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { if (_gpuCommandBuffer->began) return; - ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->request(_gpuCommandBuffer); + ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool()->request(_gpuCommandBuffer); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; @@ -122,7 +122,7 @@ void CCVKCommandBuffer::end() { _gpuCommandBuffer->began = false; _pendingQueue.push(_gpuCommandBuffer->vkCommandBuffer); - ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool(std::this_thread::get_id())->yield(_gpuCommandBuffer); + ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool()->yield(_gpuCommandBuffer); } void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { @@ -164,6 +164,15 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, 0, 1, &barrier, 0, nullptr, 0, nullptr); } + + // guard against RAW hazard + //ThsvsAccessType prevType = THSVS_ACCESS_TRANSFER_WRITE; + //ThsvsGlobalBarrier barrier{}; + //barrier.prevAccessCount = 1; + //barrier.pPrevAccesses = &prevType; + //barrier.nextAccessCount = gpuBuffer->accessTypes.size(); + //barrier.pNextAccesses = gpuBuffer->accessTypes.data(); + //thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, &barrier, 0, nullptr, 0, nullptr); #endif VkRenderPassBeginInfo passBeginInfo{VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO}; @@ -191,20 +200,20 @@ void CCVKCommandBuffer::endRenderPass() { #endif for (size_t i = 0u; i < _curGPUFBO->gpuRenderPass->colorAttachments.size(); ++i) { - VkImageLayout layout = VK_IMAGE_LAYOUTS[(uint)_curGPUFBO->gpuRenderPass->colorAttachments[i].endLayout]; + ThsvsAccessType accessType = THSVS_ACCESS_TYPES[(uint)_curGPUFBO->gpuRenderPass->colorAttachments[i].endAccess]; if (_curGPUFBO->gpuColorViews[i]) { - _curGPUFBO->gpuColorViews[i]->gpuTexture->currentLayout = layout; + _curGPUFBO->gpuColorViews[i]->gpuTexture->currentAccessTypes.assign({accessType}); } else { - _curGPUFBO->swapchain->swapchainImageLayouts[_curGPUFBO->swapchain->curImageIndex] = layout; + _curGPUFBO->swapchain->swapchainImageAccessTypes[_curGPUFBO->swapchain->curImageIndex].assign({accessType}); } } if (_curGPUFBO->gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { - VkImageLayout layout = VK_IMAGE_LAYOUTS[(uint)_curGPUFBO->gpuRenderPass->depthStencilAttachment.endLayout]; + ThsvsAccessType accessType = THSVS_ACCESS_TYPES[(uint)_curGPUFBO->gpuRenderPass->depthStencilAttachment.endAccess]; if (_curGPUFBO->gpuDepthStencilView) { - _curGPUFBO->gpuDepthStencilView->gpuTexture->currentLayout = layout; + _curGPUFBO->gpuDepthStencilView->gpuTexture->currentAccessTypes.assign({accessType}); } else { - _curGPUFBO->swapchain->depthStencilImageLayouts[_curGPUFBO->swapchain->curImageIndex] = layout; + _curGPUFBO->swapchain->depthStencilImageAccessTypes[_curGPUFBO->swapchain->curImageIndex].assign({accessType}); } } @@ -374,7 +383,6 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { sizeof(VkDrawIndirectCommand)); } } else { - // If multi draw is not available, we must issue separate draw commands if (gpuIndirectBuffer->isDrawIndirectByIndex) { for (VkDeviceSize j = 0u; j < drawInfoCount; j++) { vkCmdDrawIndexedIndirect(_gpuCommandBuffer->vkCommandBuffer, @@ -467,28 +475,31 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co CCVKGPUTexture *gpuTextureSrc = ((CCVKTexture *)srcTexture)->gpuTexture(); srcAspectMask = gpuTextureSrc->aspectMask; srcImage = gpuTextureSrc->vkImage; - srcImageLayout = gpuTextureSrc->currentLayout; + srcImageLayout = (gpuTextureSrc->layoutRule == THSVS_IMAGE_LAYOUT_OPTIMAL ? VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL : VK_IMAGE_LAYOUT_GENERAL); } else { srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; srcImage = swapchain->swapchainImages[swapchain->curImageIndex]; srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL - if (swapchain->swapchainImageLayouts[swapchain->curImageIndex] != srcImageLayout) { - VkImageMemoryBarrier barrier{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER}; - barrier.srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; - barrier.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT; - barrier.oldLayout = swapchain->swapchainImageLayouts[swapchain->curImageIndex]; - barrier.newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; + vector &curAccessTypes = swapchain->swapchainImageAccessTypes[swapchain->curImageIndex]; + if (std::find(curAccessTypes.begin(), curAccessTypes.end(), THSVS_ACCESS_TRANSFER_READ) == curAccessTypes.end()) { + ThsvsImageBarrier barrier{}; + barrier.prevAccessCount = curAccessTypes.size(); + barrier.pPrevAccesses = curAccessTypes.data(); + barrier.nextAccessCount = 1; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; + barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.image = srcImage; barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 1, &barrier); + thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); - swapchain->swapchainImageLayouts[swapchain->curImageIndex] = srcImageLayout; + curAccessTypes.assign({THSVS_ACCESS_TRANSFER_READ}); } #endif } @@ -497,28 +508,31 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co CCVKGPUTexture *gpuTextureDst = ((CCVKTexture *)dstTexture)->gpuTexture(); dstAspectMask = gpuTextureDst->aspectMask; dstImage = gpuTextureDst->vkImage; - dstImageLayout = gpuTextureDst->currentLayout; + dstImageLayout = (gpuTextureDst->layoutRule == THSVS_IMAGE_LAYOUT_OPTIMAL ? VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL : VK_IMAGE_LAYOUT_GENERAL); } else { dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; dstImage = swapchain->swapchainImages[swapchain->curImageIndex]; dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL - if (swapchain->swapchainImageLayouts[swapchain->curImageIndex] != dstImageLayout) { - VkImageMemoryBarrier barrier{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER}; - barrier.srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; - barrier.dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; - barrier.oldLayout = swapchain->swapchainImageLayouts[swapchain->curImageIndex]; - barrier.newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; + vector &curAccessTypes = swapchain->swapchainImageAccessTypes[swapchain->curImageIndex]; + if (std::find(curAccessTypes.begin(), curAccessTypes.end(), THSVS_ACCESS_TRANSFER_WRITE) == curAccessTypes.end()) { + ThsvsImageBarrier barrier{}; + barrier.prevAccessCount = curAccessTypes.size(); + barrier.pPrevAccesses = curAccessTypes.data(); + barrier.nextAccessCount = 1; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.image = dstImage; barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 1, &barrier); + thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); - swapchain->swapchainImageLayouts[swapchain->curImageIndex] = dstImageLayout; + curAccessTypes.assign({THSVS_ACCESS_TRANSFER_WRITE}); } #endif } @@ -568,34 +582,6 @@ void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { if (_curGPUDescriptorSets[i]) { const CCVKGPUDescriptorSet::Instance &instance = _curGPUDescriptorSets[i]->instances[gpuDevice->curBackBufferIndex]; _curVkDescriptorSets[i] = instance.vkDescriptorSet; - -#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL - const CCVKGPUDescriptorList &descriptors = _curGPUDescriptorSets[i]->gpuDescriptors; - for (size_t j = 0u; j < descriptors.size(); ++j) { - if (descriptors[j].type & DESCRIPTOR_TEXTURE_TYPE) { - VkImageLayout ¤tLayout = descriptors[j].gpuTextureView->gpuTexture->currentLayout; - VkImageLayout expectedLayout = instance.descriptorInfos[j].image.imageLayout; - if (currentLayout != expectedLayout) { - - VkImageMemoryBarrier barrier{VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER}; - barrier.srcAccessMask = 0; - barrier.dstAccessMask = descriptors[j].gpuTextureView->gpuTexture->accessMask; - barrier.oldLayout = currentLayout; - barrier.newLayout = expectedLayout; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.image = descriptors[j].gpuTextureView->gpuTexture->vkImage; - barrier.subresourceRange.aspectMask = descriptors[j].gpuTextureView->gpuTexture->aspectMask; - barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, - descriptors[j].gpuTextureView->gpuTexture->targetStage, 0, 0, nullptr, 0, nullptr, 1, &barrier); - - currentLayout = expectedLayout; - } - } - } -#endif } else { _curVkDescriptorSets[i] = pipelineLayout->setLayouts[i]->defaultDescriptorSet; } @@ -649,7 +635,7 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text uint index = 0u; if (barrier) { - ThsvsGlobalBarrier globalBarrier; + ThsvsGlobalBarrier globalBarrier{}; globalBarrier.prevAccessCount = barrier->prevAccessCount; globalBarrier.pPrevAccesses = _accessTypes.data() + index; for (uint i = 0u; i < barrier->prevAccessCount; ++i, ++index) { @@ -677,7 +663,7 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text VkPipelineStageFlags tempDstStageMask = 0; for (uint b = 0u; b < textureBarrierCount; ++b) { const TextureBarrier &textureBarrier = textureBarriers[b]; - ThsvsImageBarrier imageBarrier; + ThsvsImageBarrier imageBarrier{}; imageBarrier.prevAccessCount = textureBarrier.prevAccessCount; imageBarrier.pPrevAccesses = _accessTypes.data() + index; @@ -691,18 +677,20 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.nextAccesses[i]]; } - imageBarrier.prevLayout = THSVS_IMAGE_LAYOUTS[(uint)textureBarrier.prevLayout]; - imageBarrier.nextLayout = THSVS_IMAGE_LAYOUTS[(uint)textureBarrier.nextLayout]; imageBarrier.discardContents = textureBarrier.discardContents; + CCVKGPUTexture *gpuTexture = nullptr; + CCVKGPUSwapchain *swapchain = nullptr; if (textureBarrier.texture) { - CCVKGPUTexture *gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); + gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); imageBarrier.image = gpuTexture->vkImage; imageBarrier.subresourceRange.aspectMask = gpuTexture->aspectMask; + imageBarrier.prevLayout = imageBarrier.nextLayout = gpuTexture->layoutRule; } else { - const CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); imageBarrier.image = swapchain->swapchainImages[swapchain->curImageIndex]; imageBarrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + imageBarrier.prevLayout = imageBarrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; } imageBarrier.subresourceRange.baseMipLevel = 0u; @@ -721,7 +709,11 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text srcStageMask |= tempSrcStageMask; dstStageMask |= tempDstStageMask; - if (textureBarrier.texture) ((CCVKTexture *)textureBarrier.texture)->gpuTexture()->currentLayout = _imageMemoryBarriers[b].newLayout; + if (gpuTexture) { + gpuTexture->currentAccessTypes.assign(imageBarrier.pNextAccesses, imageBarrier.pNextAccesses + imageBarrier.nextAccessCount); + } else { + swapchain->swapchainImageAccessTypes[swapchain->curImageIndex].assign(imageBarrier.pNextAccesses, imageBarrier.pNextAccesses + imageBarrier.nextAccessCount); + } } } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 50a238c81a..081513226d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -37,7 +37,8 @@ THE SOFTWARE. namespace cc { namespace gfx { -CCVKGPUCommandBufferPool *CCVKGPUDevice::getCommandBufferPool(std::thread::id threadID) { +CCVKGPUCommandBufferPool *CCVKGPUDevice::getCommandBufferPool() { + std::thread::id threadID = std::this_thread::get_id(); if (!commandBufferPools.count(threadID)) { //std::scoped_lock guard(mutex); commandBufferPools[threadID] = CC_NEW(CCVKGPUCommandBufferPool(this)); @@ -130,10 +131,8 @@ void CCVKCmdFuncCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { VK_CHECK(vmaCreateImage(device->gpuDevice()->memoryAllocator, &createInfo, &allocInfo, &gpuTexture->vkImage, &gpuTexture->vmaAllocation, &res)); //CC_LOG_DEBUG("Allocated texture: %llu %llx %llx %llu %x", res.size, gpuTexture->vkImage, res.deviceMemory, res.offset, res.pMappedData); - gpuTexture->layout = MapVkImageLayout(gpuTexture->usage, gpuTexture->format); - gpuTexture->accessMask = MapVkAccessFlags(gpuTexture->usage); gpuTexture->aspectMask = MapVkImageAspectFlags(gpuTexture->format); - gpuTexture->targetStage = MapVkPipelineStageFlags(gpuTexture->usage); + gpuTexture->layoutRule = gpuTexture->usage & TextureUsage::STORAGE ? THSVS_IMAGE_LAYOUT_GENERAL : THSVS_IMAGE_LAYOUT_OPTIMAL; // as per vulkan spec } void CCVKCmdFuncCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTextureView) { @@ -215,9 +214,6 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { gpuBuffer->mappedData = (uint8_t *)res.pMappedData; gpuBuffer->startOffset = 0; // we are creating one VkBuffer each for now - - gpuBuffer->accessMask = MapVkAccessFlags(gpuBuffer->usage); - gpuBuffer->targetStage = MapVkPipelineStageFlags(gpuBuffer->usage); } void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRenderPass) { @@ -225,37 +221,42 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende const size_t hasDepth = gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN ? 1 : 0; vector attachmentDescriptions(colorAttachmentCount + hasDepth); gpuRenderPass->clearValues.resize(colorAttachmentCount + hasDepth); + + ThsvsImageBarrier barrier{1, nullptr, 1, nullptr, THSVS_IMAGE_LAYOUT_OPTIMAL, THSVS_IMAGE_LAYOUT_OPTIMAL, false}; + VkPipelineStageFlags srcStages = 0; + VkPipelineStageFlags dstStages = 0; + VkImageMemoryBarrier vkBarrier; for (size_t i = 0u; i < colorAttachmentCount; i++) { const ColorAttachment &attachment = gpuRenderPass->colorAttachments[i]; - const VkImageLayout beginLayout = VK_IMAGE_LAYOUTS[(uint)attachment.beginLayout]; - const VkImageLayout endLayout = VK_IMAGE_LAYOUTS[(uint)attachment.endLayout]; - const VkAccessFlags beginAccessMask = MapVkAccessFlags(attachment.beginLayout); - const VkAccessFlags endAccessMask = MapVkAccessFlags(attachment.endLayout); + barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)attachment.beginAccess]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)attachment.endAccess]; + if (attachment.loadOp != LoadOp::LOAD) barrier.discardContents = true; + thsvsGetVulkanImageMemoryBarrier(barrier, &srcStages, &dstStages, &vkBarrier); + attachmentDescriptions[i].format = MapVkFormat(attachment.format); attachmentDescriptions[i].samples = MapVkSampleCount(attachment.sampleCount); attachmentDescriptions[i].loadOp = MapVkLoadOp(attachment.loadOp); attachmentDescriptions[i].storeOp = MapVkStoreOp(attachment.storeOp); attachmentDescriptions[i].stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; attachmentDescriptions[i].stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; - attachmentDescriptions[i].initialLayout = beginLayout; - attachmentDescriptions[i].finalLayout = endLayout; + attachmentDescriptions[i].initialLayout = vkBarrier.oldLayout; + attachmentDescriptions[i].finalLayout = vkBarrier.newLayout; } if (hasDepth) { const DepthStencilAttachment &depthStencilAttachment = gpuRenderPass->depthStencilAttachment; - const VkImageLayout beginLayout = VK_IMAGE_LAYOUTS[(uint)depthStencilAttachment.beginLayout]; - const VkImageLayout endLayout = VK_IMAGE_LAYOUTS[(uint)depthStencilAttachment.endLayout]; - const VkAccessFlags beginAccessMask = MapVkAccessFlags(depthStencilAttachment.beginLayout); - const VkAccessFlags endAccessMask = MapVkAccessFlags(depthStencilAttachment.endLayout); - const bool hasStencil = GFX_FORMAT_INFOS[(uint)depthStencilAttachment.format].hasStencil; - const VkImageAspectFlags aspectMask = hasStencil ? VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT; + barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)depthStencilAttachment.beginAccess]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)depthStencilAttachment.endAccess]; + if (depthStencilAttachment.depthLoadOp != LoadOp::LOAD && depthStencilAttachment.stencilLoadOp != LoadOp::LOAD) barrier.discardContents = true; + thsvsGetVulkanImageMemoryBarrier(barrier, &srcStages, &dstStages, &vkBarrier); + attachmentDescriptions[colorAttachmentCount].format = MapVkFormat(depthStencilAttachment.format); attachmentDescriptions[colorAttachmentCount].samples = MapVkSampleCount(depthStencilAttachment.sampleCount); attachmentDescriptions[colorAttachmentCount].loadOp = MapVkLoadOp(depthStencilAttachment.depthLoadOp); attachmentDescriptions[colorAttachmentCount].storeOp = MapVkStoreOp(depthStencilAttachment.depthStoreOp); attachmentDescriptions[colorAttachmentCount].stencilLoadOp = MapVkLoadOp(depthStencilAttachment.stencilLoadOp); attachmentDescriptions[colorAttachmentCount].stencilStoreOp = MapVkStoreOp(depthStencilAttachment.stencilStoreOp); - attachmentDescriptions[colorAttachmentCount].initialLayout = beginLayout; - attachmentDescriptions[colorAttachmentCount].finalLayout = endLayout; + attachmentDescriptions[colorAttachmentCount].initialLayout = vkBarrier.oldLayout; + attachmentDescriptions[colorAttachmentCount].finalLayout = vkBarrier.newLayout; } const size_t subpassCount = gpuRenderPass->subPasses.size(); @@ -705,19 +706,6 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const VkBufferCopy region{stagingBuffer.startOffset, gpuBuffer->startOffset, sizeToUpload}; auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *cmdBuffer) { vkCmdCopyBuffer(cmdBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuBuffer->vkBuffer, 1, ®ion); - -#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC - // guard against RAW hazard - VkBufferMemoryBarrier barrier{VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER}; - barrier.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; - barrier.dstAccessMask = gpuBuffer->accessMask; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.buffer = gpuBuffer->vkBuffer; - barrier.offset = region.dstOffset; - barrier.size = region.size; - vkCmdPipelineBarrier(cmdBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, gpuBuffer->targetStage, 0, 0, nullptr, 1, &barrier, 0, nullptr); -#endif }; if (cmdBuffer) { @@ -729,22 +717,23 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *buffers, CCVKGPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count, const CCVKGPUCommandBuffer *cmdBuff) { - VkImageMemoryBarrier barriers[2]{}; - barriers[0].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; - barriers[0].image = gpuTexture->vkImage; - barriers[0].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[0].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[0].subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barriers[0].subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - barriers[0].subresourceRange.aspectMask = gpuTexture->aspectMask; - barriers[0].srcAccessMask = gpuTexture->accessMask; - barriers[0].dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; - barriers[0].oldLayout = gpuTexture->currentLayout; - barriers[0].newLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; + vector &curTypes = gpuTexture->currentAccessTypes; - if (gpuTexture->currentLayout != VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL) { - vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, gpuTexture->targetStage, VK_PIPELINE_STAGE_TRANSFER_BIT, - VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 1, barriers); + ThsvsImageBarrier barrier{}; + barrier.image = gpuTexture->vkImage; + barrier.discardContents = false; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + barrier.subresourceRange.aspectMask = gpuTexture->aspectMask; + barrier.prevAccessCount = curTypes.size(); + barrier.pPrevAccesses = curTypes.data(); + barrier.nextAccessCount = 1; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + + if (std::find(curTypes.begin(), curTypes.end(), THSVS_ACCESS_TRANSFER_WRITE) == curTypes.end()) { + thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); } uint totalSize = 0u; @@ -780,7 +769,6 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b vkCmdCopyBufferToImage(cmdBuff->vkCommandBuffer, stagingBuffer.vkBuffer, gpuTexture->vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, stagingRegions.size(), stagingRegions.data()); - bool layoutReady = false; if (gpuTexture->flags & TextureFlags::GEN_MIPMAP) { VkFormatProperties formatProperties; vkGetPhysicalDeviceFormatProperties(device->gpuContext()->physicalDevice, MapVkFormat(gpuTexture->format), &formatProperties); @@ -797,16 +785,14 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b blitInfo.dstSubresource.layerCount = gpuTexture->arrayLayers; blitInfo.srcOffsets[1] = {width, height, 1}; blitInfo.dstOffsets[1] = {std::max(width >> 1, 1), std::max(height >> 1, 1), 1}; - barriers[0].subresourceRange.levelCount = 1; - barriers[0].srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; - barriers[0].dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT; - barriers[0].oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; - barriers[0].newLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; + barrier.subresourceRange.levelCount = 1; + barrier.prevAccessCount = 1; + barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; for (uint i = 1u; i < gpuTexture->mipLevels; i++) { - barriers[0].subresourceRange.baseMipLevel = i - 1; - vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, - VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 1, barriers); + barrier.subresourceRange.baseMipLevel = i - 1; + thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); blitInfo.srcSubresource.mipLevel = i - 1; blitInfo.dstSubresource.mipLevel = i; @@ -819,42 +805,20 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b blitInfo.dstOffsets[1].y = std::max(h >> 1, 1); } - barriers[0].subresourceRange.baseMipLevel = gpuTexture->mipLevels - 1; - barriers[0].dstAccessMask = gpuTexture->accessMask; - barriers[0].newLayout = gpuTexture->layout; + barrier.subresourceRange.baseMipLevel = 0; + barrier.subresourceRange.levelCount = gpuTexture->mipLevels - 1; + barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; - barriers[1].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER; - barriers[1].image = gpuTexture->vkImage; - barriers[1].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[1].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[1].subresourceRange.aspectMask = gpuTexture->aspectMask; - barriers[1].subresourceRange.baseMipLevel = 0; - barriers[1].subresourceRange.levelCount = gpuTexture->mipLevels - 1; - barriers[1].subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - barriers[1].srcAccessMask = VK_ACCESS_TRANSFER_READ_BIT; - barriers[1].dstAccessMask = gpuTexture->accessMask; - barriers[1].oldLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; - barriers[1].newLayout = gpuTexture->layout; - - vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, gpuTexture->targetStage, - VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 2, barriers); - layoutReady = true; + thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); } else { const char *formatName = GFX_FORMAT_INFOS[(uint)gpuTexture->format].name.c_str(); CC_LOG_WARNING("CCVKCmdFuncCopyBuffersToTexture: generate mipmap for %s is not supported on this platform", formatName); } } - if (!layoutReady && gpuTexture->layout != VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL) { - barriers[0].srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; - barriers[0].dstAccessMask = gpuTexture->accessMask; - barriers[0].oldLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; - barriers[0].newLayout = gpuTexture->layout; - vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, gpuTexture->targetStage, - VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, 1, barriers); - } - - gpuTexture->currentLayout = gpuTexture->layout; + curTypes.assign({THSVS_ACCESS_TRANSFER_WRITE}); + device->gpuTextureLayoutManager()->checkIn(gpuTexture); } void CCVKCmdFuncDestroyRenderPass(CCVKGPUDevice *gpuDevice, CCVKGPURenderPass *gpuRenderPass) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index e5ccc1f027..c1d1bf69ac 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -27,8 +27,8 @@ THE SOFTWARE. #include "VKCommands.h" #include "VKDescriptorSet.h" #include "VKDescriptorSetLayout.h" -#include "VKPipelineLayout.h" #include "VKDevice.h" +#include "VKPipelineLayout.h" #include "VKSampler.h" #include "VKShader.h" #include "VKTexture.h" @@ -60,8 +60,37 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; + CCVKGPUDescriptor &gpuDescriptor = _gpuDescriptorSet->gpuDescriptors[k]; for (uint j = 0; j < binding.count; ++j, ++k) { - _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; + gpuDescriptor.type = binding.descriptorType; + switch (binding.descriptorType) { + case DescriptorType::UNIFORM_BUFFER: + case DescriptorType::DYNAMIC_UNIFORM_BUFFER: + if (binding.stageFlags & ShaderStageFlags::COMPUTE) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_UNIFORM_BUFFER); + if (binding.stageFlags & ShaderStageFlags::VERTEX) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_UNIFORM_BUFFER); + if (binding.stageFlags & ShaderStageFlags::FRAGMENT) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_UNIFORM_BUFFER); + break; + case DescriptorType::STORAGE_BUFFER: + case DescriptorType::DYNAMIC_STORAGE_BUFFER: + case DescriptorType::STORAGE_IMAGE: + // here we don't handle write accesses, which should be handled manually + if (binding.stageFlags & ShaderStageFlags::COMPUTE) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_OTHER); + if (binding.stageFlags & ShaderStageFlags::VERTEX) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_OTHER); + if (binding.stageFlags & ShaderStageFlags::FRAGMENT) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_OTHER); + break; + case DescriptorType::SAMPLER_TEXTURE: + case DescriptorType::TEXTURE: + if (binding.stageFlags & ShaderStageFlags::COMPUTE) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); + if (binding.stageFlags & ShaderStageFlags::VERTEX) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); + if (binding.stageFlags & ShaderStageFlags::FRAGMENT) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); + break; + case DescriptorType::INPUT_ATTACHMENT: + gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT); + break; + case DescriptorType::SAMPLER: + default: + break; + } } } @@ -172,6 +201,7 @@ void CCVKDescriptorSet::destroy() { void CCVKDescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { CCVKGPUDescriptorHub *descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); + CCVKGPUTextureLayoutManager *layoutMgr = ((CCVKDevice *)_device)->gpuTextureLayoutManager(); uint descriptorCount = _gpuDescriptorSet->gpuDescriptors.size(); for (size_t i = 0u; i < descriptorCount; i++) { @@ -207,6 +237,7 @@ void CCVKDescriptorSet::update() { if (textureView) { descriptorHub->connect(textureView, &descriptorInfo.image); descriptorHub->update(textureView, &descriptorInfo.image); + layoutMgr->checkIn(textureView->gpuTexture, binding.accessTypes.data(), binding.accessTypes.size()); } } binding.gpuTextureView = textureView; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h index 9b6de4d99e..86ce4eb345 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h @@ -34,7 +34,6 @@ public: CCVKDescriptorSet(Device *device); ~CCVKDescriptorSet(); -public: virtual bool initialize(const DescriptorSetInfo &info) override; virtual void destroy() override; virtual void update() override; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index d8f814fd72..ab423d5e23 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -309,11 +309,11 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { } _gpuBufferHub = CC_NEW(CCVKGPUBufferHub(_gpuDevice)); - _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice)); - _gpuTransportHub->link(((CCVKQueue *)_queue)->gpuQueue()); + _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice, ((CCVKQueue *)_queue)->gpuQueue())); _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); + _gpuTextureLayoutManager = CC_NEW(CCVKGPUTextureLayoutManager(_gpuDevice)); CommandBufferInfo cmdBuffInfo; cmdBuffInfo.type = CommandBufferType::PRIMARY; @@ -411,6 +411,7 @@ void CCVKDevice::destroy() { CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); CC_SAFE_DELETE(_gpuDescriptorSetHub); + CC_SAFE_DELETE(_gpuTextureLayoutManager); uint backBufferCount = ((CCVKContext *)_context)->gpuContext()->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { @@ -718,8 +719,8 @@ bool CCVKDevice::checkSwapchainStatus() { }, true); // submit immediately - _gpuSwapchain->swapchainImageLayouts.assign(imageCount, VK_IMAGE_LAYOUT_PRESENT_SRC_KHR); - _gpuSwapchain->depthStencilImageLayouts.assign(imageCount, hasStencil ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL); + _gpuSwapchain->swapchainImageAccessTypes.assign(imageCount, {THSVS_ACCESS_PRESENT}); + _gpuSwapchain->depthStencilImageAccessTypes.assign(imageCount, {THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ}); for (FramebufferListMapIter it = _gpuSwapchain->vkSwapchainFramebufferListMap.begin(); it != _gpuSwapchain->vkSwapchainFramebufferListMap.end(); it++) { @@ -731,8 +732,8 @@ bool CCVKDevice::checkSwapchainStatus() { void CCVKDevice::destroySwapchain() { if (_gpuSwapchain->vkSwapchain != VK_NULL_HANDLE) { - _gpuSwapchain->swapchainImageLayouts.clear(); - _gpuSwapchain->depthStencilImageLayouts.clear(); + _gpuSwapchain->swapchainImageAccessTypes.clear(); + _gpuSwapchain->depthStencilImageAccessTypes.clear(); _gpuSwapchain->depthStencilImageViews.clear(); _gpuSwapchain->depthStencilImages.clear(); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 997d32acf1..b7a06565fd 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -38,6 +38,7 @@ class CCVKGPUTransportHub; class CCVKGPUDescriptorHub; class CCVKGPUSemaphorePool; class CCVKGPUDescriptorSetHub; +class CCVKGPUTextureLayoutManager; class CCVKGPUFencePool; class CCVKGPURecycleBin; @@ -86,6 +87,7 @@ public: CC_INLINE CCVKGPUDescriptorHub *gpuDescriptorHub() { return _gpuDescriptorHub; } CC_INLINE CCVKGPUSemaphorePool *gpuSemaphorePool() { return _gpuSemaphorePool; } CC_INLINE CCVKGPUDescriptorSetHub *gpuDescriptorSetHub() { return _gpuDescriptorSetHub; } + CC_INLINE CCVKGPUTextureLayoutManager *gpuTextureLayoutManager() { return _gpuTextureLayoutManager; } CCVKGPUFencePool *gpuFencePool(); CCVKGPURecycleBin *gpuRecycleBin(); @@ -124,6 +126,7 @@ private: CCVKGPUDescriptorHub *_gpuDescriptorHub = nullptr; CCVKGPUSemaphorePool *_gpuSemaphorePool = nullptr; CCVKGPUDescriptorSetHub *_gpuDescriptorSetHub = nullptr; + CCVKGPUTextureLayoutManager *_gpuTextureLayoutManager = nullptr; vector _layers; vector _extensions; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 02b4ebdc0f..4cbd233b6d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -58,7 +58,10 @@ public: ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; SubPassInfoList subPasses; + VkRenderPass vkRenderPass; + + // helper storage vector clearValues; }; @@ -75,15 +78,15 @@ public: uint mipLevels = 1u; SampleCount samples = SampleCount::X1; TextureFlags flags = TextureFlagBit::NONE; + VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + ThsvsImageLayout layoutRule = THSVS_IMAGE_LAYOUT_OPTIMAL; bool isPowerOf2 = false; VkImage vkImage = VK_NULL_HANDLE; VmaAllocation vmaAllocation = VK_NULL_HANDLE; - VkImageLayout layout = VK_IMAGE_LAYOUT_UNDEFINED; - VkImageLayout currentLayout = VK_IMAGE_LAYOUT_UNDEFINED; - VkAccessFlags accessMask = VK_ACCESS_SHADER_READ_BIT; - VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - VkPipelineStageFlags targetStage = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT; + + vector currentAccessTypes; + vector renderAccessTypes; // gathered from desriptor sets }; class CCVKGPUTextureView final : public Object { @@ -132,9 +135,6 @@ public: vector indirectCmds; vector indexedIndirectCmds; - VkAccessFlags accessMask = VK_ACCESS_SHADER_READ_BIT; - VkPipelineStageFlags targetStage = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT; - uint8_t *mappedData = nullptr; VmaAllocation vmaAllocation = VK_NULL_HANDLE; @@ -175,8 +175,8 @@ public: VkSwapchainKHR vkSwapchain = VK_NULL_HANDLE; vector vkSwapchainImageViews; FramebufferListMap vkSwapchainFramebufferListMap; - vector swapchainImageLayouts; - vector depthStencilImageLayouts; + vector> swapchainImageAccessTypes; + vector> depthStencilImageAccessTypes; // external references vector swapchainImages; vector depthStencilImages; @@ -206,7 +206,7 @@ struct CCVKGPUShaderStage { CCVKGPUShaderStage(ShaderStageFlagBit t, String s) : type(t), source(s) { } - ShaderStageFlagBit type; + ShaderStageFlagBit type = ShaderStageFlagBit::NONE; String source; VkShaderModule vkShader = VK_NULL_HANDLE; }; @@ -238,6 +238,7 @@ union CCVKDescriptorInfo { }; struct CCVKGPUDescriptor { DescriptorType type = DescriptorType::UNKNOWN; + vector accessTypes; CCVKGPUBufferView *gpuBufferView = nullptr; CCVKGPUTextureView *gpuTextureView = nullptr; CCVKGPUSampler *gpuSampler = nullptr; @@ -326,7 +327,7 @@ public: CommandBufferPools commandBufferPools; - CCVKGPUCommandBufferPool *getCommandBufferPool(std::thread::id threadID); + CCVKGPUCommandBufferPool *getCommandBufferPool(); }; /** @@ -905,6 +906,60 @@ private: vector> _setsToBeUpdated; }; +class CCVKGPUTextureLayoutManager final : public Object { +public: + CCVKGPUTextureLayoutManager(CCVKGPUDevice *device) + : _device(device) {} + + void checkIn(CCVKGPUTexture *gpuTexture, const ThsvsAccessType *newTypes = nullptr, uint newTypeCount = 0) { + vector &target = gpuTexture->renderAccessTypes; + for (uint i = 0u; i < newTypeCount; ++i) { + if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { + target.push_back(newTypes[i]); + } + } + if (!std::is_permutation(gpuTexture->currentAccessTypes.begin(), gpuTexture->currentAccessTypes.end(), target.begin(), target.end())) { + _texturesToBeChecked.insert(gpuTexture); + } + } + + void update(CCVKGPUCommandBuffer *cmdBuffer) { + ThsvsImageBarrier barrier{}; + VkPipelineStageFlags srcStages = 0; + VkPipelineStageFlags dstStages = 0; + VkImageMemoryBarrier vkBarrier; + + for (CCVKGPUTexture *gpuTexture : _texturesToBeChecked) { + barrier.prevAccessCount = gpuTexture->currentAccessTypes.size(); + barrier.pPrevAccesses = gpuTexture->currentAccessTypes.data(); + barrier.nextAccessCount = gpuTexture->renderAccessTypes.size(); + barrier.pNextAccesses = gpuTexture->renderAccessTypes.data(); + barrier.discardContents = false; + barrier.prevLayout = gpuTexture->layoutRule; + barrier.nextLayout = gpuTexture->layoutRule; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.image = gpuTexture->vkImage; + barrier.subresourceRange.aspectMask = gpuTexture->aspectMask; + barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + thsvsGetVulkanImageMemoryBarrier(barrier, &srcStages, &dstStages, &vkBarrier); + + if (vkBarrier.oldLayout != vkBarrier.newLayout) { + vkCmdPipelineBarrier(cmdBuffer->vkCommandBuffer, srcStages, dstStages, 0, 0, nullptr, 0, nullptr, 1, &vkBarrier); + } + gpuTexture->currentAccessTypes = gpuTexture->renderAccessTypes; + } + _texturesToBeChecked.clear(); + } + + CC_INLINE bool needUpdate() { return !_texturesToBeChecked.empty(); } + +private: + unordered_set _texturesToBeChecked; + CCVKGPUDevice *_device = nullptr; +}; + /** * Manages buffer update events, across all back buffer instances. */ @@ -1046,8 +1101,13 @@ private: //#define ASYNC_BUFFER_UPDATE class CCVKGPUTransportHub final : public Object { public: - CCVKGPUTransportHub(CCVKGPUDevice *device) - : _device(device) { + CCVKGPUTransportHub(CCVKGPUDevice *device, CCVKGPUQueue *queue) + : _device(device), _queue(queue) { + _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; + _cmdBuff.queueFamilyIndex = _queue->queueFamilyIndex; + + VkFenceCreateInfo createInfo{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO}; + VK_CHECK(vkCreateFence(_device->vkDevice, &createInfo, nullptr, &_fence)); } ~CCVKGPUTransportHub() { @@ -1057,23 +1117,13 @@ public: } } - void link(CCVKGPUQueue *queue) { - _queue = queue; - - _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; - _cmdBuff.queueFamilyIndex = _queue->queueFamilyIndex; - - VkFenceCreateInfo createInfo{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO}; - VK_CHECK(vkCreateFence(_device->vkDevice, &createInfo, nullptr, &_fence)); - } - CC_INLINE bool empty() { return !_cmdBuff.vkCommandBuffer; } template void checkIn(const TFunc &record, bool immediateSubmission = false) { - CCVKGPUCommandBufferPool *commandBufferPool = _device->getCommandBufferPool(std::this_thread::get_id()); + CCVKGPUCommandBufferPool *commandBufferPool = _device->getCommandBufferPool(); if (!_cmdBuff.vkCommandBuffer) { commandBufferPool->request(&_cmdBuff); @@ -1097,21 +1147,19 @@ public: } } - void depart() { - if (_cmdBuff.vkCommandBuffer) { - CCVKGPUCommandBufferPool *commandBufferPool = _device->getCommandBufferPool(std::this_thread::get_id()); - - VK_CHECK(vkEndCommandBuffer(_cmdBuff.vkCommandBuffer)); - _queue->commandBuffers.push(_cmdBuff.vkCommandBuffer); - commandBufferPool->yield(&_cmdBuff); - _cmdBuff.vkCommandBuffer = VK_NULL_HANDLE; + VkCommandBuffer readyForFlight() { + VkCommandBuffer vkCommandBuffer = _cmdBuff.vkCommandBuffer; + if (vkCommandBuffer) { + VK_CHECK(vkEndCommandBuffer(vkCommandBuffer)); + _device->getCommandBufferPool()->yield(&_cmdBuff); } + return vkCommandBuffer; } private: CCVKGPUDevice *_device = nullptr; - CCVKGPUQueue *_queue = nullptr; + CCVKGPUQueue *_queue = nullptr; CCVKGPUCommandBuffer _cmdBuff; VkFence _fence = VK_NULL_HANDLE; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 49ce171cdb..273e20451d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -61,7 +61,17 @@ void CCVKQueue::destroy() { void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { CCVKDevice *device = (CCVKDevice *)_device; _gpuQueue->commandBuffers.clear(); - device->gpuTransportHub()->depart(); + + CCVKGPUTextureLayoutManager *layoutMgr = device->gpuTextureLayoutManager(); + if (layoutMgr->needUpdate()) { + device->gpuTransportHub()->checkIn([layoutMgr](CCVKGPUCommandBuffer *cmdBuffer) { + layoutMgr->update(cmdBuffer); + }); + } + + if (!device->gpuTransportHub()->empty()) { + _gpuQueue->commandBuffers.push(device->gpuTransportHub()->readyForFlight()); + } for (uint i = 0u; i < count; ++i) { CCVKCommandBuffer *cmdBuff = (CCVKCommandBuffer *)cmdBuffs[i]; diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.h b/native/cocos/renderer/gfx-vulkan/VKQueue.h index 516ad71698..2059785bce 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.h +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.h @@ -36,7 +36,6 @@ public: friend class CCVKDevice; -public: bool initialize(const QueueInfo &info); void destroy(); void submit(CommandBuffer *const *cmdBuffs, uint count); @@ -44,7 +43,8 @@ public: CC_INLINE CCVKGPUQueue *gpuQueue() const { return _gpuQueue; } private: - CCVKGPUQueue *_gpuQueue; + CCVKGPUQueue *_gpuQueue = nullptr; + uint _numDrawCalls = 0; uint _numInstances = 0; uint _numTriangles = 0; diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 0a445e6e81..d8b3f3c9d8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -37,7 +37,7 @@ THE SOFTWARE. #define BARRIER_DEDUCTION_LEVEL_BASIC 1 #define BARRIER_DEDUCTION_LEVEL_FULL 2 -#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_BASIC +#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_FULL namespace cc { namespace gfx { @@ -174,25 +174,6 @@ VkFormat MapVkFormat(Format format) { } } -VkSampleCountFlagBits MapVkSampleCount(uint sampleCount) { - if (sampleCount == 1) - return VK_SAMPLE_COUNT_1_BIT; - else if (sampleCount == 2) - return VK_SAMPLE_COUNT_2_BIT; - else if (sampleCount == 4) - return VK_SAMPLE_COUNT_4_BIT; - else if (sampleCount == 8) - return VK_SAMPLE_COUNT_8_BIT; - else if (sampleCount == 16) - return VK_SAMPLE_COUNT_16_BIT; - else if (sampleCount == 32) - return VK_SAMPLE_COUNT_32_BIT; - else if (sampleCount == 64) - return VK_SAMPLE_COUNT_64_BIT; - else - return VK_SAMPLE_COUNT_1_BIT; -} - VkAttachmentLoadOp MapVkLoadOp(LoadOp loadOp) { switch (loadOp) { case LoadOp::CLEAR: return VK_ATTACHMENT_LOAD_OP_CLEAR; @@ -216,58 +197,6 @@ VkAttachmentStoreOp MapVkStoreOp(StoreOp storeOp) { } } -VkAccessFlags MapVkAccessFlags(TextureLayout layout) { - switch (layout) { - case TextureLayout::UNDEFINED: return 0; - case TextureLayout::GENERAL: return 0; - case TextureLayout::COLOR_ATTACHMENT_OPTIMAL: return VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; - case TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL: return VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; - case TextureLayout::DEPTH_STENCIL_READONLY_OPTIMAL: return VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT; - case TextureLayout::SHADER_READONLY_OPTIMAL: return VK_ACCESS_SHADER_READ_BIT; - case TextureLayout::TRANSFER_SRC_OPTIMAL: return VK_ACCESS_TRANSFER_READ_BIT; - case TextureLayout::TRANSFER_DST_OPTIMAL: return VK_ACCESS_TRANSFER_WRITE_BIT; - case TextureLayout::PREINITIALIZED: return 0; - case TextureLayout::PRESENT_SRC: return 0; - default: { - CCASSERT(false, "Unsupported TextureLayout, convert to VkImageLayout failed."); - return 0; - } - } -} - -VkAccessFlags MapVkAccessFlags(TextureUsage usage) { - if (usage & TextureUsage::COLOR_ATTACHMENT) return VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; - if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) return VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; - if (usage & TextureUsage::INPUT_ATTACHMENT) return VK_ACCESS_INPUT_ATTACHMENT_READ_BIT; - if (usage & TextureUsage::STORAGE) return VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; - if (usage & TextureUsage::SAMPLED) return VK_ACCESS_SHADER_READ_BIT; - if (usage & TextureUsage::TRANSFER_SRC) return VK_ACCESS_TRANSFER_READ_BIT; - if (usage & TextureUsage::TRANSFER_DST) return VK_ACCESS_TRANSFER_WRITE_BIT; - return VK_ACCESS_SHADER_READ_BIT; -} - -VkAccessFlags MapVkAccessFlags(BufferUsage usage) { - if (usage & BufferUsage::VERTEX) return VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT; - if (usage & BufferUsage::INDEX) return VK_ACCESS_INDEX_READ_BIT; - if (usage & BufferUsage::UNIFORM) return VK_ACCESS_UNIFORM_READ_BIT; - if (usage & BufferUsage::INDIRECT) return VK_ACCESS_INDIRECT_COMMAND_READ_BIT; - if (usage & BufferUsage::STORAGE) return VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT; - if (usage & BufferUsage::TRANSFER_SRC) return VK_ACCESS_TRANSFER_READ_BIT; - if (usage & BufferUsage::TRANSFER_DST) return VK_ACCESS_TRANSFER_WRITE_BIT; - return VK_ACCESS_UNIFORM_READ_BIT; -} - -VkPipelineStageFlags MapVkPipelineStageFlags(BufferUsage usage) { - if (usage & BufferUsage::VERTEX) return VK_PIPELINE_STAGE_VERTEX_INPUT_BIT; - if (usage & BufferUsage::INDEX) return VK_PIPELINE_STAGE_VERTEX_INPUT_BIT; - if (usage & BufferUsage::UNIFORM) return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; - if (usage & BufferUsage::INDIRECT) return VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT; - if (usage & BufferUsage::STORAGE) return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; - if (usage & BufferUsage::TRANSFER_SRC) return VK_PIPELINE_STAGE_TRANSFER_BIT; - if (usage & BufferUsage::TRANSFER_DST) return VK_PIPELINE_STAGE_TRANSFER_BIT; - return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; -} - VkBufferUsageFlagBits MapVkBufferUsageFlagBits(BufferUsage usage) { uint flags = 0u; if (usage & BufferUsage::TRANSFER_SRC) flags |= VK_BUFFER_USAGE_TRANSFER_SRC_BIT; @@ -336,29 +265,6 @@ VkImageUsageFlagBits MapVkImageUsageFlagBits(TextureUsage usage) { return (VkImageUsageFlagBits)flags; } -VkImageLayout MapVkImageLayout(TextureUsage usage, Format format) { - const FormatInfo &info = GFX_FORMAT_INFOS[(uint)format]; - if (usage & TextureUsage::STORAGE) return VK_IMAGE_LAYOUT_GENERAL; // storage image has to be general - if (usage & TextureUsage::SAMPLED) { - if (info.hasDepth && info.hasStencil) - return VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL; - else if (info.hasDepth) - return VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL; - else - return VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; - } - if (usage & TextureUsage::COLOR_ATTACHMENT) return VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; - if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) { - if (info.hasStencil) - return VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; - else - return VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL; - } - if (usage & TextureUsage::TRANSFER_SRC) return VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; - if (usage & TextureUsage::TRANSFER_DST) return VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; - return VK_IMAGE_LAYOUT_UNDEFINED; -} - VkImageAspectFlags MapVkImageAspectFlags(Format format) { VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; const FormatInfo &info = GFX_FORMAT_INFOS[(uint)format]; @@ -371,25 +277,6 @@ VkImageAspectFlags MapVkImageAspectFlags(Format format) { return aspectMask; } -VkPipelineStageFlags MapVkPipelineStageFlags(TextureUsage usage) { - if (usage & TextureUsage::COLOR_ATTACHMENT) return VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; - if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) return VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT; - if (usage & TextureUsage::STORAGE) return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; - if (usage & TextureUsage::SAMPLED) return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; - if (usage & TextureUsage::TRANSFER_SRC) return VK_PIPELINE_STAGE_TRANSFER_BIT; - if (usage & TextureUsage::TRANSFER_DST) return VK_PIPELINE_STAGE_TRANSFER_BIT; - return VK_PIPELINE_STAGE_VERTEX_SHADER_BIT; -} - -uint selectMemoryType(const VkPhysicalDeviceMemoryProperties &memoryProperties, uint memoryTypeBits, VkMemoryPropertyFlags flags) { - for (uint i = 0u; i < memoryProperties.memoryTypeCount; ++i) - if ((memoryTypeBits & (1 << i)) != 0 && (memoryProperties.memoryTypes[i].propertyFlags & flags) == flags) - return i; - - CCASSERT(false, "No compatible memory type found."); - return ~0u; -} - VkImageCreateFlags MapVkImageCreateFlags(TextureType type) { uint res = 0u; switch (type) { @@ -639,6 +526,7 @@ const VkPipelineBindPoint VK_PIPELINE_BIND_POINTS[] = { }; const ThsvsAccessType THSVS_ACCESS_TYPES[] = { + THSVS_ACCESS_NONE, // NONE THSVS_ACCESS_INDIRECT_BUFFER, // INDIRECT_BUFFER THSVS_ACCESS_INDEX_BUFFER, // INDEX_BUFFER THSVS_ACCESS_VERTEX_BUFFER, // VERTEX_BUFFER @@ -668,11 +556,6 @@ const ThsvsAccessType THSVS_ACCESS_TYPES[] = { THSVS_ACCESS_HOST_WRITE, // HOST_WRITE }; -const ThsvsImageLayout THSVS_IMAGE_LAYOUTS[] = { - THSVS_IMAGE_LAYOUT_OPTIMAL, - THSVS_IMAGE_LAYOUT_GENERAL, -}; - const VkImageLayout VK_IMAGE_LAYOUTS[] = { VK_IMAGE_LAYOUT_UNDEFINED, VK_IMAGE_LAYOUT_GENERAL, diff --git a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h index 36badaad36..838b9229d5 100644 --- a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h +++ b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h @@ -930,6 +930,10 @@ void thsvsGetVulkanBufferMemoryBarrier( pVkBarrier->offset = thBarrier.offset; pVkBarrier->size = thBarrier.size; +#ifdef THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER + assert(pVkBarrier->srcQueueFamilyIndex != pVkBarrier->dstQueueFamilyIndex); +#endif + for (uint32_t i = 0; i < thBarrier.prevAccessCount; ++i) { ThsvsAccessType prevAccess = thBarrier.pPrevAccesses[i]; @@ -1054,11 +1058,6 @@ void thsvsGetVulkanImageMemoryBarrier( #endif pVkBarrier->oldLayout = layout; } - -#ifdef THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER - assert(pVkBarrier->srcQueueFamilyIndex != pVkBarrier->dstQueueFamilyIndex || - pVkBarrier->srcQueueFamilyIndex == VK_QUEUE_FAMILY_IGNORED); -#endif } for (uint32_t i = 0; i < thBarrier.nextAccessCount; ++i) @@ -1109,7 +1108,8 @@ void thsvsGetVulkanImageMemoryBarrier( } #ifdef THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER - assert(pVkBarrier->newLayout != pVkBarrier->oldLayout); + assert(pVkBarrier->newLayout != pVkBarrier->oldLayout || + pVkBarrier->srcQueueFamilyIndex != pVkBarrier->dstQueueFamilyIndex); #endif // Ensure that the stage masks are valid if no stages were determined From 4c0f767d2b62059e01f65dd9ddd9aaae60ed3279 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Sat, 23 Jan 2021 09:35:23 +0800 Subject: [PATCH 132/270] Extracts the shared content of the pipeline. (#3244) * Extracts the shared content of the pipeline. * remove ubo in forward --- native/CMakeLists.txt | 8 +- native/cocos/bindings/dop/PoolType.h | 1 + .../renderer/pipeline/PipelineSceneData.cpp | 59 +++ .../renderer/pipeline/PipelineSceneData.h | 69 ++++ .../cocos/renderer/pipeline/PipelineUBO.cpp | 366 ++++++++++++++++++ native/cocos/renderer/pipeline/PipelineUBO.h | 69 ++++ .../renderer/pipeline/PlanarShadowQueue.cpp | 12 +- .../pipeline/RenderAdditiveLightQueue.cpp | 150 +------ .../pipeline/RenderAdditiveLightQueue.h | 3 - .../renderer/pipeline/RenderPipeline.cpp | 13 +- .../cocos/renderer/pipeline/RenderPipeline.h | 9 + .../pipeline/{forward => }/SceneCulling.cpp | 23 +- .../pipeline/{forward => }/SceneCulling.h | 6 +- .../pipeline/ShadowMapBatchedQueue.cpp | 72 +--- .../renderer/pipeline/ShadowMapBatchedQueue.h | 1 - .../renderer/pipeline/forward/ForwardFlow.cpp | 2 +- .../pipeline/forward/ForwardPipeline.cpp | 245 +----------- .../pipeline/forward/ForwardPipeline.h | 45 +-- .../pipeline/forward/ForwardStage.cpp | 12 +- .../renderer/pipeline/helper/SharedMemory.cpp | 1 + .../renderer/pipeline/helper/SharedMemory.h | 20 +- .../renderer/pipeline/shadow/ShadowFlow.cpp | 34 +- .../renderer/pipeline/shadow/ShadowFlow.h | 2 +- .../renderer/pipeline/shadow/ShadowStage.cpp | 13 +- native/templates/cocos2dx_files.json | 8 +- native/tools/tojs/pipeline.ini | 4 +- 26 files changed, 702 insertions(+), 545 deletions(-) create mode 100644 native/cocos/renderer/pipeline/PipelineSceneData.cpp create mode 100644 native/cocos/renderer/pipeline/PipelineSceneData.h create mode 100644 native/cocos/renderer/pipeline/PipelineUBO.cpp create mode 100644 native/cocos/renderer/pipeline/PipelineUBO.h rename native/cocos/renderer/pipeline/{forward => }/SceneCulling.cpp (92%) rename native/cocos/renderer/pipeline/{forward => }/SceneCulling.h (94%) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 1d0a74d1bd..405bac5826 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -606,14 +606,18 @@ cocos_source_files( cocos/renderer/pipeline/PlanarShadowQueue.h cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp cocos/renderer/pipeline/ShadowMapBatchedQueue.h + cocos/renderer/pipeline/PipelineUBO.cpp + cocos/renderer/pipeline/PipelineUBO.h + cocos/renderer/pipeline/PipelineSceneData.cpp + cocos/renderer/pipeline/PipelineSceneData.h cocos/renderer/pipeline/forward/ForwardFlow.cpp cocos/renderer/pipeline/forward/ForwardFlow.h cocos/renderer/pipeline/forward/ForwardPipeline.cpp cocos/renderer/pipeline/forward/ForwardPipeline.h cocos/renderer/pipeline/forward/ForwardStage.cpp cocos/renderer/pipeline/forward/ForwardStage.h - cocos/renderer/pipeline/forward/SceneCulling.cpp - cocos/renderer/pipeline/forward/SceneCulling.h + cocos/renderer/pipeline/SceneCulling.cpp + cocos/renderer/pipeline/SceneCulling.h cocos/renderer/pipeline/forward/UIPhase.cpp cocos/renderer/pipeline/forward/UIPhase.h cocos/renderer/pipeline/shadow/ShadowFlow.cpp diff --git a/native/cocos/bindings/dop/PoolType.h b/native/cocos/bindings/dop/PoolType.h index 6000a0d720..c18930af7e 100644 --- a/native/cocos/bindings/dop/PoolType.h +++ b/native/cocos/bindings/dop/PoolType.h @@ -35,6 +35,7 @@ enum class PoolType { BLEND_TARGET, BLEND_STATE, UI_BATCH, + PIPELINE_SHARED_SCENE_DATA, // array SUB_MODEL_ARRAY = 200, diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.cpp b/native/cocos/renderer/pipeline/PipelineSceneData.cpp new file mode 100644 index 0000000000..fd01be25fe --- /dev/null +++ b/native/cocos/renderer/pipeline/PipelineSceneData.cpp @@ -0,0 +1,59 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ + +#include "PipelineSceneData.h" +#include "gfx/GFXCommandBuffer.h" +#include "gfx/GFXDevice.h" +#include "gfx/GFXFramebuffer.h" + +namespace cc { +namespace pipeline { + +void PipelineSceneData::activate(gfx::Device *device, RenderPipeline *pipeline) +{ + _device = device; + _pipeline = pipeline; + + _sphere = CC_NEW(Sphere); +} + +void PipelineSceneData::setPipelineSharedSceneData(uint handle) +{ + _sharedSceneData = GET_PIPELINE_SHARED_SCENE_DATA(handle); +} + +void PipelineSceneData::destroy() +{ + CC_SAFE_DELETE(_sphere); + + for (auto &pair : _shadowFrameBufferMap) { + pair.second->destroy(); + delete pair.second; + } + + _shadowFrameBufferMap.clear(); +} + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.h b/native/cocos/renderer/pipeline/PipelineSceneData.h new file mode 100644 index 0000000000..6504df33de --- /dev/null +++ b/native/cocos/renderer/pipeline/PipelineSceneData.h @@ -0,0 +1,69 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "helper/SharedMemory.h" +#include "Define.h" + +namespace cc { + +namespace gfx { +class Framebuffer; +} + +namespace pipeline { + +class RenderPipeline; + +class CC_DLL PipelineSceneData : public Object { +public: + PipelineSceneData() = default; + virtual ~PipelineSceneData() = default; + void activate(gfx::Device *device, RenderPipeline *pipeline); + void setPipelineSharedSceneData (uint handle); + void destroy(); + + CC_INLINE void setShadowFramebuffer(const Light *light, gfx::Framebuffer *framebuffer) { _shadowFrameBufferMap.emplace(light, framebuffer); } + CC_INLINE const std::unordered_map &getShadowFramebufferMap() const { return _shadowFrameBufferMap; } + CC_INLINE PipelineSharedSceneData* getSharedData() const { return _sharedSceneData; } + CC_INLINE const RenderObjectList &getRenderObjects() const { return _renderObjects; } + CC_INLINE const RenderObjectList &getShadowObjects() const { return _shadowObjects; } + CC_INLINE void setRenderObjects(RenderObjectList &&ro) { _renderObjects = std::forward(ro); } + CC_INLINE void setShadowObjects(RenderObjectList &&ro) { _shadowObjects = std::forward(ro); } + CC_INLINE Sphere* getSphere() const {return _sphere; } +private: + RenderObjectList _renderObjects; + RenderObjectList _shadowObjects; + + PipelineSharedSceneData *_sharedSceneData = nullptr; + RenderPipeline *_pipeline = nullptr; + gfx::Device *_device = nullptr; + Sphere *_sphere = nullptr; + + std::unordered_map _shadowFrameBufferMap; +}; + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp new file mode 100644 index 0000000000..137f25e62e --- /dev/null +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -0,0 +1,366 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ + +#include "PipelineUBO.h" +#include "platform/Application.h" +#include "SceneCulling.h" +#include "gfx/GFXDevice.h" +#include "RenderPipeline.h" + +namespace cc { + +namespace pipeline { + +#define TO_VEC3(dst, src, offset) \ + dst[offset] = src.x; \ + dst[offset + 1] = src.y; \ + dst[offset + 2] = src.z; +#define TO_VEC4(dst, src, offset) \ + dst[offset] = src.x; \ + dst[offset + 1] = src.y; \ + dst[offset + 2] = src.z; \ + dst[offset + 3] = src.w; \ + +Mat4 matShadowViewProj; + +void PipelineUBO::updateGlobalUBOView(const RenderPipeline *pipeline, std::array &bufferView) +{ + const auto root = GET_ROOT(); + auto device = gfx::Device::getInstance(); + auto &uboGlobalView = bufferView; + + const auto shadingWidth = std::floor(device->getWidth()); + const auto shadingHeight = std::floor(device->getHeight()); + + // update UBOGlobal + uboGlobalView[UBOGlobal::TIME_OFFSET] = root->cumulativeTime; + uboGlobalView[UBOGlobal::TIME_OFFSET + 1] = root->frameTime; + uboGlobalView[UBOGlobal::TIME_OFFSET + 2] = Application::getInstance()->getTotalFrames(); + + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = device->getWidth(); + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1] = device->getHeight(); + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET]; + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1]; + + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = shadingWidth; + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1] = shadingHeight; + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET]; + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; +} + +void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera) +{ + const auto scene = camera->getScene(); + const Light *mainLight = nullptr; + if (scene->mainLightID) mainLight = scene->getMainLight(); + auto sceneData = pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + const auto fpScale = sharedData->fpScale; + const auto descriptorSet = pipeline->getDescriptorSet(); + auto ambient = sharedData->getAmbient(); + auto fog = sharedData->getFog(); + auto isHDR = sharedData->isHDR; + auto shadingScale = sharedData->shadingScale; + + auto *device = gfx::Device::getInstance(); + auto &uboCameraView = bufferView; + + const auto shadingWidth = std::floor(device->getWidth()); + const auto shadingHeight = std::floor(device->getHeight()); + + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = camera->width / shadingWidth * shadingScale; + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1] = camera->height / shadingHeight * shadingScale; + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 2] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET]; + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 3] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1]; + + const auto exposure = camera->exposure; + uboCameraView[UBOCamera::EXPOSURE_OFFSET] = exposure; + uboCameraView[UBOCamera::EXPOSURE_OFFSET + 1] = 1.0f / exposure; + uboCameraView[UBOCamera::EXPOSURE_OFFSET + 2] = isHDR ? 1.0f : 0.0; + uboCameraView[UBOCamera::EXPOSURE_OFFSET + 3] = fpScale / exposure; + + if (mainLight) { + TO_VEC3(uboCameraView, mainLight->direction, UBOCamera::MAIN_LIT_DIR_OFFSET); + TO_VEC3(uboCameraView, mainLight->color, UBOCamera::MAIN_LIT_COLOR_OFFSET); + if (mainLight->useColorTemperature) { + const auto colorTempRGB = mainLight->colorTemperatureRGB; + uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET] *= colorTempRGB.x; + uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 1] *= colorTempRGB.y; + uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 2] *= colorTempRGB.z; + } + + if (isHDR) { + uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 3] = mainLight->luminance * fpScale; + } else { + uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 3] = mainLight->luminance * exposure; + } + } else { + TO_VEC3(uboCameraView, Vec3::UNIT_Z, UBOCamera::MAIN_LIT_DIR_OFFSET); + TO_VEC4(uboCameraView, Vec4::ZERO, UBOCamera::MAIN_LIT_COLOR_OFFSET); + } + + Vec4 skyColor = ambient->skyColor; + if (isHDR) { + skyColor.w = ambient->skyIllum * fpScale; + } else { + skyColor.w = ambient->skyIllum * exposure; + } + TO_VEC4(uboCameraView, skyColor, UBOCamera::AMBIENT_SKY_OFFSET); + + uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET] = ambient->groundAlbedo.x; + uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 1] = ambient->groundAlbedo.y; + uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 2] = ambient->groundAlbedo.z; + const auto envmap = descriptorSet->getTexture((uint)PipelineGlobalBindings::SAMPLER_ENVIRONMENT); + if (envmap) uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = envmap->getLevelCount(); + + memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_OFFSET, camera->matView.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_INV_OFFSET, camera->getNode()->worldMatrix.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProj.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInv.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProj.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInv.m, sizeof(cc::Mat4)); + TO_VEC3(uboCameraView, camera->position, UBOCamera::CAMERA_POS_OFFSET); + + auto projectionSignY = device->getScreenSpaceSignY(); + if (camera->getWindow()->hasOffScreenAttachments) { + projectionSignY *= device->getUVSpaceSignY(); // need flipping if drawing on render targets + } + uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = projectionSignY; + + if (fog->enabled) { + TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); + + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; + + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; + } +} + +void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera) +{ + const auto scene = camera->getScene(); + const Light *mainLight = nullptr; + if (scene->mainLightID) mainLight = scene->getMainLight(); + auto *device = gfx::Device::getInstance(); + const auto sceneData = pipeline->getPipelineSceneData(); + const auto shadowInfo = sceneData->getSharedData()->getShadows(); + auto &shadowUBO = bufferView; + auto sphere = sceneData->getSphere(); + + if (shadowInfo->enabled) { + if (mainLight && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { + const auto node = mainLight->getNode(); + cc::Mat4 matShadowCamera; + + // light proj + float x = 0.0f, y = 0.0f, farClamp = 0.0f; + if (shadowInfo->autoAdapt) { + Vec3 tmpCenter; + getShadowWorldMatrix(sphere, node->worldRotation, mainLight->direction, matShadowCamera, tmpCenter); + + const float radius = sphere->radius; + x = radius * shadowInfo->aspect; + y = radius; + + const float halfFar = tmpCenter.distance(sphere->center); + farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); + } else { + matShadowCamera = mainLight->getNode()->worldMatrix; + + x = shadowInfo->orthoSize * shadowInfo->aspect; + y = shadowInfo->orthoSize; + + farClamp = shadowInfo->farValue; + } + + const auto matShadowView = matShadowCamera.getInversed(); + const auto projectionSinY = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); + Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getClipSpaceMinZ(), projectionSinY, &matShadowViewProj); + + matShadowViewProj.multiply(matShadowView); + float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; + memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); + memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); + } else if (mainLight && shadowInfo->getShadowType() == ShadowType::PLANAR) { + updateDirLight(shadowInfo, mainLight, shadowUBO); + } + + memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); + } +} + +void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std::array &bufferView, const Light *light) +{ + const auto sceneData = pipeline->getPipelineSceneData(); + auto shadowInfo = sceneData->getSharedData()->getShadows(); + auto *device = gfx::Device::getInstance(); + auto sphere = sceneData->getSphere(); + auto &shadowUBO = bufferView; + switch (light->getType()) { + case LightType::DIRECTIONAL: { + cc::Mat4 matShadowCamera; + + float x = 0.0f, y = 0.0f, farClamp = 0.0f; + if (shadowInfo->autoAdapt) { + Vec3 tmpCenter; + getShadowWorldMatrix(sphere, light->getNode()->worldRotation, light->direction, matShadowCamera, tmpCenter); + + const auto radius = sphere->radius; + x = radius * shadowInfo->aspect; + y = radius; + + const float halfFar = tmpCenter.distance(sphere->center); + farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); + } else { + matShadowCamera = light->getNode()->worldMatrix; + + x = shadowInfo->orthoSize * shadowInfo->aspect; + y = shadowInfo->orthoSize; + + farClamp = shadowInfo->farValue; + } + + const auto matShadowView = matShadowCamera.getInversed(); + const auto projectionSinY = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); + Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getClipSpaceMinZ(), projectionSinY, &matShadowViewProj); + + matShadowViewProj.multiply(matShadowView); + memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); + } break; + case LightType::SPOT: { + const auto &matShadowCamera = light->getNode()->worldMatrix; + + const auto matShadowView = matShadowCamera.getInversed(); + cc::Mat4::createPerspective(light->spotAngle, light->aspect, 0.001f, light->range, &matShadowViewProj); + + matShadowViewProj.multiply(matShadowView); + memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); + } break; + default:; + } + + float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); + memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); +} + +void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) +{ + _device = device; + _pipeline = pipeline; + + const auto descriptorSet = pipeline->getDescriptorSet(); + + auto globalUBO = _device->createBuffer({ + gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, + UBOGlobal::SIZE, + UBOGlobal::SIZE, + gfx::BufferFlagBit::NONE, + }); + descriptorSet->bindBuffer(UBOGlobal::BINDING, globalUBO); + + auto cameraUBO = _device->createBuffer({ + gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, + UBOCamera::SIZE, + UBOCamera::SIZE, + gfx::BufferFlagBit::NONE, + }); + descriptorSet->bindBuffer(UBOCamera::BINDING, cameraUBO); + + auto shadowUBO = _device->createBuffer({ + gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, + UBOShadow::SIZE, + UBOShadow::SIZE, + gfx::BufferFlagBit::NONE, + }); + descriptorSet->bindBuffer(UBOShadow::BINDING, shadowUBO); +} + +void PipelineUBO::destroy() +{ +} + +void PipelineUBO::updateGlobalUBO() +{ + const auto ds = _pipeline->getDescriptorSet(); + const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + ds->update(); + PipelineUBO::updateGlobalUBOView(_pipeline, _globalUBO); + cmdBuffer->updateBuffer(ds->getBuffer(UBOGlobal::BINDING), _globalUBO.data(), UBOGlobal::SIZE); +} + +void PipelineUBO::updateCameraUBO(const Camera *camera) +{ + const auto ds = _pipeline->getDescriptorSet(); + const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera); + cmdBuffer->updateBuffer(ds->getBuffer(UBOCamera::BINDING), _cameraUBO.data(), UBOCamera::SIZE); +} + +void PipelineUBO::updateShadowUBO(const Camera *camera) +{ + const auto ds = _pipeline->getDescriptorSet(); + const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto shadowInfo = sceneData->getSharedData()->getShadows(); + const auto scene = camera->getScene(); + if (!shadowInfo->enabled) return; + const auto &shadowFrameBufferMap = sceneData->getShadowFramebufferMap(); + const Light *mainLight = nullptr; + if (scene->mainLightID) mainLight = scene->getMainLight(); + ds->update(); + if (mainLight && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { + if (shadowFrameBufferMap.count(mainLight) > 0) { + auto *texture = shadowFrameBufferMap.at(mainLight)->getColorTextures()[0]; + if (texture) { + ds->bindTexture(SHADOWMAP::BINDING, texture); + } + } + } + PipelineUBO::updateShadowUBOView(_pipeline, _shadowUBO, camera); + cmdBuffer->updateBuffer(ds->getBuffer(UBOShadow::BINDING), _shadowUBO.data(), UBOShadow::SIZE); +} + +void PipelineUBO::updateShadowUBOLight(const Light *light) +{ + const auto ds = _pipeline->getDescriptorSet(); + const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + PipelineUBO::updateShadowUBOLightView(_pipeline, _shadowUBO, light); + ds->getBuffer(UBOShadow::BINDING)->update(_shadowUBO.data(), UBOShadow::SIZE); +} + +void PipelineUBO::updateShadowUBORange(uint offset, const Mat4* data) +{ + memcpy(_shadowUBO.data() + offset, data->m, sizeof(data)); +} + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/PipelineUBO.h b/native/cocos/renderer/pipeline/PipelineUBO.h new file mode 100644 index 0000000000..a19ab6f326 --- /dev/null +++ b/native/cocos/renderer/pipeline/PipelineUBO.h @@ -0,0 +1,69 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include +#include "helper/SharedMemory.h" +#include "Define.h" + +namespace cc { + +class Mat4; +class Color; + +namespace pipeline { + +class RenderPipeline; +class Device; + +class CC_DLL PipelineUBO : public Object { +public: + static void updateGlobalUBOView(const RenderPipeline *pipeline, std::array &bufferView); + static void updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera); + static void updateShadowUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera); + static void updateShadowUBOLightView(const RenderPipeline *pipeline, std::array &bufferView, const Light *light); + +public: + PipelineUBO() = default; + virtual ~PipelineUBO() = default; + void activate(gfx::Device *device, RenderPipeline *pipeline); + void destroy(); + void updateGlobalUBO(); + void updateCameraUBO(const Camera *camera); + void updateShadowUBO(const Camera *camera); + void updateShadowUBOLight(const Light *light); + void updateShadowUBORange(uint offset, const Mat4* data); + void destroyShadowFrameBuffers(); +private: + RenderPipeline *_pipeline = nullptr; + gfx::Device *_device = nullptr; + + std::array _globalUBO; + std::array _cameraUBO; + std::array _shadowUBO; +}; + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index db21e61761..1efda94e7f 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -48,11 +48,13 @@ PlanarShadowQueue::PlanarShadowQueue(RenderPipeline *pipeline) void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *cmdBufferer) { clear(); - const auto *shadowInfo = _pipeline->getShadows(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + const auto *shadowInfo = sharedData->getShadows(); if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR) { return; } - _pipeline->updateShadowUBO(camera); - + const auto pipelineUBO = _pipeline->getPipelineUBO(); + pipelineUBO->updateShadowUBO(camera); const auto *scene = camera->getScene(); const bool shadowVisible = camera->visibility & static_cast(LayerList::DEFAULT); @@ -102,7 +104,9 @@ void PlanarShadowQueue::clear() { } void PlanarShadowQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer) { - const auto *shadowInfo = _pipeline->getShadows(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + const auto *shadowInfo = sharedData->getShadows(); if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR || _pendingModels.empty()) { return; } _instancedQueue->recordCommandBuffer(device, renderPass, cmdBuffer); diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index d8d65108ab..19ee2a483d 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -41,28 +41,14 @@ THE SOFTWARE. #include "gfx/GFXSampler.h" #include "gfx/GFXTexture.h" #include "Define.h" -#include "forward/SceneCulling.h" +#include "SceneCulling.h" namespace cc { namespace pipeline { -namespace { -#define TO_VEC3(dst, src, offset) \ - dst[offset] = src.x; \ - dst[offset + 1] = src.y; \ - dst[offset + 2] = src.z; -#define TO_VEC4(dst, src, offset) \ - dst[offset] = src.x; \ - dst[offset + 1] = src.y; \ - dst[offset + 2] = src.z; \ - dst[offset + 3] = src.w; -} // namespace RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _pipeline(static_cast(pipeline)), _instancedQueue(CC_NEW(RenderInstancedQueue)), _batchedQueue(CC_NEW(RenderBatchedQueue)) { - _renderObjects = _pipeline->getRenderObjects(); - _fpScale = _pipeline->getFpScale(); - _isHDR = _pipeline->isHDR(); auto *device = gfx::Device::getInstance(); const auto alignment = device->getUboOffsetAlignment(); _lightBufferStride = ((UBOForwardLight::SIZE + alignment - 1) / alignment) * alignment; @@ -163,7 +149,7 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm updateUBOs(camera, cmdBufferer); updateLightDescriptorSet(camera, cmdBufferer); - const auto &renderObjects = _pipeline->getRenderObjects(); + const auto &renderObjects = _pipeline->getPipelineSceneData()->getRenderObjects(); for (const auto &renderObject : renderObjects) { const auto model = renderObject.model; if (!getLightPassIndex(model, lightPassIndices)) continue; @@ -253,6 +239,8 @@ void RenderAdditiveLightQueue::clear() { void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { const auto exposure = camera->exposure; const auto validLightCount = _validLights.size(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); if (validLightCount > _lightBufferCount) { _firstLightBufferView->destroy(); @@ -286,8 +274,8 @@ void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuff _lightBufferData[index++] = color.y; _lightBufferData[index++] = color.z; } - if (_isHDR) { - _lightBufferData[index] = light->luminance * _fpScale * _lightMeterScale; + if (sharedData->isHDR) { + _lightBufferData[index] = light->luminance * sharedData->fpScale * _lightMeterScale; } else { _lightBufferData[index] = light->luminance * exposure * _lightMeterScale; } @@ -315,7 +303,8 @@ void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuff } void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { - auto *shadowInfo = _pipeline->getShadows(); + const auto sceneData = _pipeline->getPipelineSceneData(); + auto *shadowInfo = sceneData->getSharedData()->getShadows(); const auto scene = camera->getScene(); const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); @@ -332,7 +321,9 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf _globalUBO.fill(0.0f); _shadowUBO.fill(0.0f); - updateGlobalDescriptorSet(camera, cmdBuffer); + + PipelineUBO::updateGlobalUBOView(_pipeline, _globalUBO); + PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera); switch (light->getType()) { case LightType::SPOT: { @@ -356,7 +347,7 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); memcpy(_shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); // Spot light sampler binding - const auto &shadowFramebufferMap = _pipeline->getShadowFramebufferMap(); + const auto &shadowFramebufferMap = sceneData->getShadowFramebufferMap(); if (shadowFramebufferMap.count(light) > 0) { auto *texture = shadowFramebufferMap.at(light)->getColorTextures()[0]; if (texture) { @@ -381,123 +372,6 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf } } -void RenderAdditiveLightQueue::updateGlobalDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { - const auto root = GET_ROOT(); - const auto scene = camera->getScene(); - - const auto shadingScale = _pipeline->getShadingScale(); - auto &uboGlobalView = _globalUBO; - auto *device = gfx::Device::getInstance(); - - const auto shadingWidth = std::floor(device->getWidth()); - const auto shadingHeight = std::floor(device->getHeight()); - - // update UBOGlobal - uboGlobalView[UBOGlobal::TIME_OFFSET] = root->cumulativeTime; - uboGlobalView[UBOGlobal::TIME_OFFSET + 1] = root->frameTime; - uboGlobalView[UBOGlobal::TIME_OFFSET + 2] = Application::getInstance()->getTotalFrames(); - - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = device->getWidth(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1] = device->getHeight(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET]; - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1]; - - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = shadingWidth; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1] = shadingHeight; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET]; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; - - // update camera ubo - updateCameraUBO(camera, cmdBuffer); -} - -void RenderAdditiveLightQueue::updateCameraUBO(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { - const auto scene = camera->getScene(); - - const Light *mainLight = nullptr; - if (scene->mainLightID) mainLight = scene->getMainLight(); - - const auto ambient = _pipeline->getAmbient(); - const auto fog = _pipeline->getFog(); - const auto shadingScale = _pipeline->getShadingScale(); - auto &uboCameraView = _cameraUBO; - auto *device = gfx::Device::getInstance(); - - const auto shadingWidth = std::floor(device->getWidth()); - const auto shadingHeight = std::floor(device->getHeight()); - - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = camera->width / shadingWidth * shadingScale; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1] = camera->height / shadingHeight * shadingScale; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 2] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET]; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 3] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1]; - - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_OFFSET, camera->matView.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_INV_OFFSET, camera->getNode()->worldMatrix.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProj.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInv.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProj.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInv.m, sizeof(cc::Mat4)); - TO_VEC3(uboCameraView, camera->position, UBOCamera::CAMERA_POS_OFFSET); - - auto projectionSignY = device->getScreenSpaceSignY(); - if (camera->getWindow()->hasOffScreenAttachments) { - projectionSignY *= device->getUVSpaceSignY(); // need flipping if drawing on render targets - } - uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = projectionSignY; - - const auto exposure = camera->exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET] = exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 1] = 1.0f / exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 2] = _isHDR ? 1.0f : 0.0; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 3] = _fpScale / exposure; - - if (mainLight) { - TO_VEC3(uboCameraView, mainLight->direction, UBOCamera::MAIN_LIT_DIR_OFFSET); - TO_VEC3(uboCameraView, mainLight->color, UBOCamera::MAIN_LIT_COLOR_OFFSET); - if (mainLight->useColorTemperature) { - const auto colorTempRGB = mainLight->colorTemperatureRGB; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET] *= colorTempRGB.x; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 1] *= colorTempRGB.y; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 2] *= colorTempRGB.z; - } - - if (_isHDR) { - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 3] = mainLight->luminance * _fpScale; - } else { - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 3] = mainLight->luminance * exposure; - } - } else { - TO_VEC3(uboCameraView, Vec3::UNIT_Z, UBOCamera::MAIN_LIT_DIR_OFFSET); - TO_VEC4(uboCameraView, Vec4::ZERO, UBOCamera::MAIN_LIT_COLOR_OFFSET); - } - - Vec4 skyColor = ambient->skyColor; - if (_isHDR) { - skyColor.w = ambient->skyIllum * _fpScale; - } else { - skyColor.w = ambient->skyIllum * exposure; - } - TO_VEC4(uboCameraView, skyColor, UBOCamera::AMBIENT_SKY_OFFSET); - - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET] = ambient->groundAlbedo.x; - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 1] = ambient->groundAlbedo.y; - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 2] = ambient->groundAlbedo.z; - const auto *envmap = _pipeline->getDescriptorSet()->getTexture((uint)PipelineGlobalBindings::SAMPLER_ENVIRONMENT); - if (envmap) uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = envmap->getLevelCount(); - - if (fog->enabled) { - TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); - - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; - - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; - } -} - bool RenderAdditiveLightQueue::getLightPassIndex(const ModelView *model, vector &lightPassIndices) const { lightPassIndices.clear(); bool hasValidLightPass = false; diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h index 9582d7360e..9aacc92f88 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h @@ -76,7 +76,6 @@ private: vector _validLights; vector _lightIndices; vector _lightPasses; - vector _renderObjects; vector _dynamicOffsets; vector _lightBufferData; RenderInstancedQueue *_instancedQueue = nullptr; @@ -90,8 +89,6 @@ private: std::array _cameraUBO; std::array _shadowUBO; - float _fpScale = 0; - bool _isHDR = false; uint _lightBufferStride = 0; uint _lightBufferElementCount = 0; uint _lightBufferCount = 16; diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index deb599fc3e..38a31d734b 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -42,6 +42,8 @@ RenderPipeline::RenderPipeline() RenderPipeline::_instance = this; setDescriptorSetLayout(); + _pipelineUBO = new PipelineUBO(); + _pipelineSceneData = new PipelineSceneData(); } RenderPipeline::~RenderPipeline() { @@ -110,7 +112,9 @@ bool RenderPipeline::activate() { CC_DELETE(_descriptorSet); } _descriptorSet = _device->createDescriptorSet({_descriptorSetLayout}); - + _pipelineUBO->activate(_device, this); + _pipelineSceneData->activate(_device, this); + for (const auto flow : _flows) flow->activate(this); @@ -146,6 +150,8 @@ void RenderPipeline::destroy() { CC_SAFE_DESTROY(_descriptorSetLayout); CC_SAFE_DESTROY(_descriptorSet); + CC_SAFE_DESTROY(_pipelineUBO); + CC_SAFE_DESTROY(_pipelineSceneData); for (const auto cmdBuffer : _commandBuffers) { cmdBuffer->destroy(); @@ -157,5 +163,10 @@ void RenderPipeline::destroy() { CC_SAFE_DELETE(_defaultTexture); } +void RenderPipeline::setPipelineSharedSceneData(uint handle) +{ + _pipelineSceneData->setPipelineSharedSceneData(handle); +} + } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/RenderPipeline.h b/native/cocos/renderer/pipeline/RenderPipeline.h index 20ea79162b..05f6b21f85 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.h +++ b/native/cocos/renderer/pipeline/RenderPipeline.h @@ -27,6 +27,8 @@ THE SOFTWARE. #include "Define.h" #include "helper/DefineMap.h" #include "helper/SharedMemory.h" +#include "PipelineUBO.h" +#include "PipelineSceneData.h" namespace cc { namespace gfx { @@ -54,6 +56,8 @@ public: virtual void destroy(); virtual bool initialize(const RenderPipelineInfo &info); virtual void render(const vector &cameras); + + void setPipelineSharedSceneData(uint handle); CC_INLINE const RenderFlowList &getFlows() const { return _flows; } CC_INLINE uint getTag() const { return _tag; } @@ -63,6 +67,9 @@ public: CC_INLINE gfx::DescriptorSet *getDescriptorSet() const { return _descriptorSet; } CC_INLINE gfx::DescriptorSetLayout *getDescriptorSetLayout() const { return _descriptorSetLayout; } CC_INLINE gfx::Texture *getDefaultTexture() const { return _defaultTexture; } + CC_INLINE PipelineSceneData *getPipelineSceneData() const { return _pipelineSceneData; } + CC_INLINE const gfx::CommandBufferList &getCommandBuffers() const { return _commandBuffers; } + CC_INLINE PipelineUBO *getPipelineUBO() const { return _pipelineUBO; } protected: static RenderPipeline *_instance; @@ -77,6 +84,8 @@ protected: gfx::Device *_device = nullptr; gfx::DescriptorSetLayout *_descriptorSetLayout = nullptr; gfx::DescriptorSet *_descriptorSet = nullptr; + PipelineUBO *_pipelineUBO = nullptr; + PipelineSceneData *_pipelineSceneData = nullptr; // has not initBuiltinRes, // create temporary default Texture to binding sampler2d gfx::Texture *_defaultTexture = nullptr; diff --git a/native/cocos/renderer/pipeline/forward/SceneCulling.cpp b/native/cocos/renderer/pipeline/SceneCulling.cpp similarity index 92% rename from native/cocos/renderer/pipeline/forward/SceneCulling.cpp rename to native/cocos/renderer/pipeline/SceneCulling.cpp index 8161132e13..d182bc956d 100644 --- a/native/cocos/renderer/pipeline/forward/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/SceneCulling.cpp @@ -25,9 +25,9 @@ THE SOFTWARE. #include #include "SceneCulling.h" -#include "../Define.h" -#include "../helper/SharedMemory.h" -#include "ForwardPipeline.h" +#include "Define.h" +#include "helper/SharedMemory.h" +#include "RenderPipeline.h" #include "gfx/GFXBuffer.h" #include "gfx/GFXDescriptorSet.h" #include "math/Quaternion.h" @@ -158,8 +158,9 @@ void updateDirLight(Shadows *shadows, const Light *light, std::arraygetScene(); + const auto sceneData = pipeline->getPipelineSceneData(); castBoundsInitialized = false; @@ -189,14 +190,16 @@ void shadowCollecting(ForwardPipeline *pipeline, Camera *camera) { } } - pipeline->getSphere()->define(castWorldBounds); + sceneData->getSphere()->define(castWorldBounds); - pipeline->setShadowObjects(std::move(shadowObjects)); + sceneData->setShadowObjects(std::move(shadowObjects)); } -void sceneCulling(ForwardPipeline *pipeline, Camera *camera) { - const auto shadows = pipeline->getShadows(); - const auto skyBox = pipeline->getSkybox(); +void sceneCulling(RenderPipeline *pipeline, Camera *camera) { + const auto sceneData = pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + const auto shadows = sharedData->getShadows(); + const auto skyBox = sharedData->getSkybox(); const auto scene = camera->getScene(); const Light *mainLight = nullptr; @@ -237,7 +240,7 @@ void sceneCulling(ForwardPipeline *pipeline, Camera *camera) { } } - pipeline->setRenderObjects(std::move(renderObjects)); + sceneData->setRenderObjects(std::move(renderObjects)); } } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/forward/SceneCulling.h b/native/cocos/renderer/pipeline/SceneCulling.h similarity index 94% rename from native/cocos/renderer/pipeline/forward/SceneCulling.h rename to native/cocos/renderer/pipeline/SceneCulling.h index 80fff47395..193e097b8b 100644 --- a/native/cocos/renderer/pipeline/forward/SceneCulling.h +++ b/native/cocos/renderer/pipeline/SceneCulling.h @@ -33,7 +33,7 @@ namespace pipeline { struct RenderObject; struct Model; struct Camera; -class ForwardPipeline; +class RenderPipeline; struct Sphere; struct Light; struct Sphere; @@ -42,8 +42,8 @@ struct Shadows; RenderObject genRenderObject(Model *, const Camera *); void lightCollecting(Camera *, std::vector&); -void shadowCollecting(ForwardPipeline *, Camera *); -void sceneCulling(ForwardPipeline *, Camera *); +void shadowCollecting(RenderPipeline *, Camera *); +void sceneCulling(RenderPipeline *, Camera *); void updateSphereLight(Shadows *shadows, const Light *light, std::array &); void updateDirLight(Shadows *shadows, const Light *light, std::array&); void getShadowWorldMatrix(const Sphere *sphere, const cc::Vec4 &rotation, const cc::Vec3 &dir, cc::Mat4 &shadowWorldMat, cc::Vec3 &out); diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp index 043465b409..db2a10b089 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp @@ -31,11 +31,13 @@ THE SOFTWARE. #include "RenderInstancedQueue.h" #include "ShadowMapBatchedQueue.h" #include "forward/ForwardPipeline.h" -#include "forward/SceneCulling.h" +#include "SceneCulling.h" #include "gfx/GFXCommandBuffer.h" #include "gfx/GFXDescriptorSet.h" #include "gfx/GFXDevice.h" #include "helper/SharedMemory.h" +#include "PipelineSceneData.h" +#include "PipelineUBO.h" namespace cc { namespace pipeline { @@ -49,11 +51,12 @@ ShadowMapBatchedQueue::ShadowMapBatchedQueue(ForwardPipeline *pipeline) void ShadowMapBatchedQueue::gatherLightPasses(const Light *light, gfx::CommandBuffer *cmdBufferer) { clear(); - - const auto *shadowInfo = _pipeline->getShadows(); - const auto &shadowObjects = _pipeline->getShadowObjects(); + + const auto *sceneData = _pipeline->getPipelineSceneData(); + const auto *shadowInfo = sceneData->getSharedData()->getShadows(); + const auto &shadowObjects = sceneData->getShadowObjects(); if (light && shadowInfo->enabled && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { - updateUBOs(light, cmdBufferer); + _pipeline->getPipelineUBO()->updateShadowUBOLight(light); for (const auto ro : shadowObjects) { const auto *model = ro.model; @@ -145,65 +148,6 @@ void ShadowMapBatchedQueue::destroy() { _buffer = nullptr; } -void ShadowMapBatchedQueue::updateUBOs(const Light *light, gfx::CommandBuffer *cmdBufferer) const { - const auto *shadowInfo = _pipeline->getShadows(); - auto shadowUBO = _pipeline->getShadowUBO(); - auto *device = gfx::Device::getInstance(); - - switch (light->getType()) { - case LightType::DIRECTIONAL: { - cc::Mat4 matShadowCamera; - - float x = 0.0f, y = 0.0f, farClamp = 0.0f; - if (shadowInfo->autoAdapt) { - Vec3 tmpCenter; - getShadowWorldMatrix(_pipeline->getSphere(), light->getNode()->worldRotation, light->direction, matShadowCamera, tmpCenter); - - const auto radius = _pipeline->getSphere()->radius; - x = radius * shadowInfo->aspect; - y = radius; - - const float halfFar = tmpCenter.distance(_pipeline->getSphere()->center); - farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); - } else { - matShadowCamera = light->getNode()->worldMatrix; - - x = shadowInfo->orthoSize * shadowInfo->aspect; - y = shadowInfo->orthoSize; - - farClamp = shadowInfo->farValue; - } - - const auto matShadowView = matShadowCamera.getInversed(); - - cc::Mat4 matShadowViewProj; - const auto projectionSinY = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); - Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getClipSpaceMinZ(), projectionSinY, &matShadowViewProj); - - matShadowViewProj.multiply(matShadowView); - memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - } break; - case LightType::SPOT: { - const auto &matShadowCamera = light->getNode()->worldMatrix; - - const auto matShadowView = matShadowCamera.getInversed(); - - cc::Mat4 matShadowViewProj; - cc::Mat4::createPerspective(light->spotAngle, light->aspect, 0.001f, light->range, &matShadowViewProj); - - matShadowViewProj.multiply(matShadowView); - memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - } break; - default:; - } - - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; - memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); - memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); - - cmdBufferer->updateBuffer(_pipeline->getDescriptorSet()->getBuffer(UBOShadow::BINDING), shadowUBO.data(), UBOShadow::SIZE); -} - int ShadowMapBatchedQueue::getShadowPassIndex(const ModelView *model) const { const auto subModelArrayID = model->getSubModelID(); const auto count = subModelArrayID[0]; diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h index ef3f75ff13..bed2a0f5ec 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h @@ -54,7 +54,6 @@ public: void recordCommandBuffer(gfx::Device *, gfx::RenderPass *, gfx::CommandBuffer *) const; private: - void updateUBOs(const Light *, gfx::CommandBuffer *) const; int getShadowPassIndex(const ModelView *model) const; private: diff --git a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp index 39a12502ca..bfba1137fa 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp @@ -24,7 +24,7 @@ THE SOFTWARE. #include "ForwardFlow.h" #include "ForwardPipeline.h" #include "ForwardStage.h" -#include "SceneCulling.h" +#include "../SceneCulling.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index b19842ead3..97bfd227e4 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -24,7 +24,7 @@ THE SOFTWARE. #include "ForwardPipeline.h" #include "../shadow/ShadowFlow.h" #include "ForwardFlow.h" -#include "SceneCulling.h" +#include "../SceneCulling.h" #include "gfx/GFXBuffer.h" #include "gfx/GFXCommandBuffer.h" #include "gfx/GFXDescriptorSet.h" @@ -87,30 +87,6 @@ gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFla return renderPass; } -void ForwardPipeline::setFog(uint fog) { - _fog = GET_FOG(fog); -} - -void ForwardPipeline::setAmbient(uint ambient) { - _ambient = GET_AMBIENT(ambient); -} - -void ForwardPipeline::setSkybox(uint skybox) { - _skybox = GET_SKYBOX(skybox); -} - -void ForwardPipeline::setShadows(uint shadows) { - _shadows = GET_SHADOWS(shadows); -} - -void ForwardPipeline::destroyShadowFrameBuffers() { - for (auto &pair : _shadowFrameBufferMap) { - pair.second->destroy(); - delete pair.second; - } - _shadowFrameBufferMap.clear(); -} - bool ForwardPipeline::initialize(const RenderPipelineInfo &info) { RenderPipeline::initialize(info); @@ -123,7 +99,6 @@ bool ForwardPipeline::initialize(const RenderPipelineInfo &info) { forwardFlow->initialize(ForwardFlow::getInitializeInfo()); _flows.emplace_back(forwardFlow); } - _sphere = CC_NEW(Sphere); return true; } @@ -144,10 +119,10 @@ bool ForwardPipeline::activate() { void ForwardPipeline::render(const vector &cameras) { _commandBuffers[0]->begin(); - updateGlobalUBO(); + _pipelineUBO->updateGlobalUBO(); for (const auto cameraId : cameras) { Camera *camera = GET_CAMERA(cameraId); - updateCameraUBO(camera); + _pipelineUBO->updateCameraUBO(camera); for (const auto flow : _flows) { flow->render(camera); } @@ -156,215 +131,10 @@ void ForwardPipeline::render(const vector &cameras) { _device->getQueue()->submit(_commandBuffers); } -void ForwardPipeline::updateCameraUBO(Camera *camera) { - const auto scene = camera->getScene(); - const Light *mainLight = nullptr; - if (scene->mainLightID) mainLight = scene->getMainLight(); - const auto ambient = _ambient; - const auto fog = _fog; - - auto *device = gfx::Device::getInstance(); - auto &uboCameraView = _cameraUBO; - - const auto shadingWidth = std::floor(_device->getWidth()); - const auto shadingHeight = std::floor(_device->getHeight()); - - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = camera->width / shadingWidth * _shadingScale; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1] = camera->height / shadingHeight * _shadingScale; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 2] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET]; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 3] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1]; - - const auto exposure = camera->exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET] = exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 1] = 1.0f / exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 2] = _isHDR ? 1.0f : 0.0; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 3] = _fpScale / exposure; - - if (mainLight) { - TO_VEC3(uboCameraView, mainLight->direction, UBOCamera::MAIN_LIT_DIR_OFFSET); - TO_VEC3(uboCameraView, mainLight->color, UBOCamera::MAIN_LIT_COLOR_OFFSET); - if (mainLight->useColorTemperature) { - const auto colorTempRGB = mainLight->colorTemperatureRGB; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET] *= colorTempRGB.x; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 1] *= colorTempRGB.y; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 2] *= colorTempRGB.z; - } - - if (_isHDR) { - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 3] = mainLight->luminance * _fpScale; - } else { - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 3] = mainLight->luminance * exposure; - } - } else { - TO_VEC3(uboCameraView, Vec3::UNIT_Z, UBOCamera::MAIN_LIT_DIR_OFFSET); - TO_VEC4(uboCameraView, Vec4::ZERO, UBOCamera::MAIN_LIT_COLOR_OFFSET); - } - - Vec4 skyColor = ambient->skyColor; - if (_isHDR) { - skyColor.w = ambient->skyIllum * _fpScale; - } else { - skyColor.w = ambient->skyIllum * exposure; - } - TO_VEC4(uboCameraView, skyColor, UBOCamera::AMBIENT_SKY_OFFSET); - - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET] = ambient->groundAlbedo.x; - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 1] = ambient->groundAlbedo.y; - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 2] = ambient->groundAlbedo.z; - const auto envmap = _descriptorSet->getTexture((uint)PipelineGlobalBindings::SAMPLER_ENVIRONMENT); - if (envmap) uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = envmap->getLevelCount(); - - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_OFFSET, camera->matView.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_INV_OFFSET, camera->getNode()->worldMatrix.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProj.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInv.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProj.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInv.m, sizeof(cc::Mat4)); - TO_VEC3(uboCameraView, camera->position, UBOCamera::CAMERA_POS_OFFSET); - - auto projectionSignY = _device->getScreenSpaceSignY(); - if (camera->getWindow()->hasOffScreenAttachments) { - projectionSignY *= _device->getUVSpaceSignY(); // need flipping if drawing on render targets - } - uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = projectionSignY; - - if (fog->enabled) { - TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); - - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; - - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; - } - - // update ubos - _commandBuffers[0]->updateBuffer(_descriptorSet->getBuffer(UBOCamera::BINDING), _cameraUBO.data(), UBOCamera::SIZE); -} - -void ForwardPipeline::updateShadowUBO(Camera *camera) { - _descriptorSet->update(); - const auto scene = camera->getScene(); - const Light *mainLight = nullptr; - if (scene->mainLightID) mainLight = scene->getMainLight(); - auto *device = gfx::Device::getInstance(); - const auto shadowInfo = _shadows; - if (shadowInfo->enabled) { - if (mainLight && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { - if (_shadowFrameBufferMap.count(mainLight) > 0) { - auto *texture = _shadowFrameBufferMap.at(mainLight)->getColorTextures()[0]; - if (texture) { - this->_descriptorSet->bindTexture(SHADOWMAP::BINDING, texture); - } - } - - const auto node = mainLight->getNode(); - cc::Mat4 matShadowCamera; - - // light proj - float x = 0.0f, y = 0.0f, farClamp = 0.0f; - if (shadowInfo->autoAdapt) { - Vec3 tmpCenter; - getShadowWorldMatrix(_sphere, node->worldRotation, mainLight->direction, matShadowCamera, tmpCenter); - - const float radius = _sphere->radius; - x = radius * shadowInfo->aspect; - y = radius; - - const float halfFar = tmpCenter.distance(_sphere->center); - farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); - } else { - matShadowCamera = mainLight->getNode()->worldMatrix; - - x = shadowInfo->orthoSize * shadowInfo->aspect; - y = shadowInfo->orthoSize; - - farClamp = shadowInfo->farValue; - } - - const auto matShadowView = matShadowCamera.getInversed(); - - Mat4 matShadowViewProj; - const auto projectionSinY = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); - Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getClipSpaceMinZ(), projectionSinY, &matShadowViewProj); - - matShadowViewProj.multiply(matShadowView); - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; - memcpy(_shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - memcpy(_shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); - } else if (mainLight && shadowInfo->getShadowType() == ShadowType::PLANAR) { - updateDirLight(shadowInfo, mainLight, _shadowUBO); - } - - memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); - _commandBuffers[0]->updateBuffer(_descriptorSet->getBuffer(UBOShadow::BINDING), _shadowUBO.data(), UBOShadow::SIZE); - } -} - -void ForwardPipeline::updateGlobalUBO() { - _descriptorSet->update(); - - const auto root = GET_ROOT(); - auto &uboGlobalView = _globalUBO; - - const auto shadingWidth = std::floor(_device->getWidth()); - const auto shadingHeight = std::floor(_device->getHeight()); - - // update UBOGlobal - uboGlobalView[UBOGlobal::TIME_OFFSET] = root->cumulativeTime; - uboGlobalView[UBOGlobal::TIME_OFFSET + 1] = root->frameTime; - uboGlobalView[UBOGlobal::TIME_OFFSET + 2] = Application::getInstance()->getTotalFrames(); - - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = _device->getWidth(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1] = _device->getHeight(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET]; - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1]; - - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = shadingWidth; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1] = shadingHeight; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET]; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; - - // update ubos - _commandBuffers[0]->updateBuffer(_descriptorSet->getBuffer(UBOGlobal::BINDING), _globalUBO.data(), UBOGlobal::SIZE); -} - bool ForwardPipeline::activeRenderer() { _commandBuffers.push_back(_device->getCommandBuffer()); - - _globalUBO.fill(0.f); - _cameraUBO.fill(0.f); - _shadowUBO.fill(0.f); - - auto globalUBO = _device->createBuffer({ - gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, - UBOGlobal::SIZE, - UBOGlobal::SIZE, - gfx::BufferFlagBit::NONE, - }); - _descriptorSet->bindBuffer(UBOGlobal::BINDING, globalUBO); + const auto sharedData = _pipelineSceneData->getSharedData(); - auto cameraUBO = _device->createBuffer({ - gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, - UBOCamera::SIZE, - UBOCamera::SIZE, - gfx::BufferFlagBit::NONE, - }); - _descriptorSet->bindBuffer(UBOCamera::BINDING, cameraUBO); - - auto shadowUBO = _device->createBuffer({ - gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, - UBOShadow::SIZE, - UBOShadow::SIZE, - gfx::BufferFlagBit::NONE, - }); - _descriptorSet->bindBuffer(UBOShadow::BINDING, shadowUBO); - gfx::SamplerInfo info{ gfx::Filter::LINEAR, gfx::Filter::LINEAR, @@ -385,9 +155,8 @@ bool ForwardPipeline::activeRenderer() { this->_descriptorSet->bindTexture(SPOT_LIGHTING_MAP::BINDING, getDefaultTexture()); _descriptorSet->update(); - // update global defines when all states initialized. - _macros.setValue("CC_USE_HDR", _isHDR); + _macros.setValue("CC_USE_HDR", static_cast(sharedData->isHDR)); _macros.setValue("CC_SUPPORT_FLOAT_TEXTURE", _device->hasFeature(gfx::Feature::TEXTURE_FLOAT)); return true; @@ -411,10 +180,6 @@ void ForwardPipeline::destroy() { _commandBuffers.clear(); - CC_SAFE_DELETE(_sphere); - - _shadowFrameBufferMap.clear(); - RenderPipeline::destroy(); } diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h index ed3fae503e..1a35db375c 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h @@ -51,68 +51,25 @@ public: virtual bool activate() override; virtual void render(const vector &cameras) override; - void updateGlobalUBO(); - void updateCameraUBO(Camera *camera); - void updateShadowUBO(Camera *camera); - CC_INLINE void setHDR(bool isHDR) { _isHDR = isHDR; } - gfx::RenderPass *getOrCreateRenderPass(gfx::ClearFlags clearFlags); - void setFog(uint); - void setAmbient(uint); - void setSkybox(uint); - void setShadows(uint); - void destroyShadowFrameBuffers(); - - CC_INLINE void setShadowFramebuffer(const Light *light, gfx::Framebuffer *framebuffer) { _shadowFrameBufferMap.emplace(light, framebuffer); } - CC_INLINE const std::unordered_map &getShadowFramebufferMap() const { return _shadowFrameBufferMap; } + CC_INLINE gfx::Buffer *getLightsUBO() const { return _lightsUBO; } CC_INLINE const LightList &getValidLights() const { return _validLights; } CC_INLINE const gfx::BufferList &getLightBuffers() const { return _lightBuffers; } CC_INLINE const UintList &getLightIndexOffsets() const { return _lightIndexOffsets; } CC_INLINE const UintList &getLightIndices() const { return _lightIndices; } - CC_INLINE const RenderObjectList &getRenderObjects() const { return _renderObjects; } - CC_INLINE const RenderObjectList &getShadowObjects() const { return _shadowObjects; } - CC_INLINE const gfx::CommandBufferList &getCommandBuffers() const { return _commandBuffers; } - CC_INLINE float getShadingScale() const { return _shadingScale; } - CC_INLINE float getFpScale() const { return _fpScale; } - CC_INLINE bool isHDR() const { return _isHDR; } - CC_INLINE const Fog *getFog() const { return _fog; } - CC_INLINE const Ambient *getAmbient() const { return _ambient; } - CC_INLINE const Skybox *getSkybox() const { return _skybox; } - CC_INLINE Shadows *getShadows() const { return _shadows; } - CC_INLINE Sphere *getSphere() const { return _sphere; } - CC_INLINE std::array getShadowUBO() const { return _shadowUBO; } - - CC_INLINE void setRenderObjects(RenderObjectList &&ro) { _renderObjects = std::forward(ro); } - CC_INLINE void setShadowObjects(RenderObjectList &&ro) { _shadowObjects = std::forward(ro); } private: bool activeRenderer(); void updateUBO(Camera *); private: - const Fog *_fog = nullptr; - const Ambient *_ambient = nullptr; - const Skybox *_skybox = nullptr; - Shadows *_shadows = nullptr; gfx::Buffer *_lightsUBO = nullptr; LightList _validLights; gfx::BufferList _lightBuffers; UintList _lightIndexOffsets; UintList _lightIndices; - RenderObjectList _renderObjects; - RenderObjectList _shadowObjects; map _renderPasses; - std::array _globalUBO; - std::array _cameraUBO; - std::array _shadowUBO; - Sphere *_sphere = nullptr; - - float _shadingScale = 1.0f; - bool _isHDR = false; - float _fpScale = 1.0f / 1024.0f; - - std::unordered_map _shadowFrameBufferMap; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp index 37bec812d7..400738cf85 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp @@ -118,7 +118,9 @@ void ForwardStage::render(Camera *camera) { _instancedQueue->clear(); _batchedQueue->clear(); auto pipeline = static_cast(_pipeline); - const auto &renderObjects = pipeline->getRenderObjects(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + const auto &renderObjects = sceneData->getRenderObjects(); for (auto queue : _renderQueues) { queue->clear(); @@ -169,13 +171,13 @@ void ForwardStage::render(Camera *camera) { uint h = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->width : camera->height; _renderArea.x = camera->viewportX * w; _renderArea.y = camera->viewportY * h; - _renderArea.width = camera->viewportWidth * w * pipeline->getShadingScale(); - _renderArea.height = camera->viewportHeight * h * pipeline->getShadingScale(); + _renderArea.width = camera->viewportWidth * w * sharedData->shadingScale; + _renderArea.height = camera->viewportHeight * h * sharedData->shadingScale; if (static_cast(camera->clearFlag) & gfx::ClearFlagBit::COLOR) { - if (pipeline->isHDR()) { + if (sharedData->isHDR) { SRGBToLinear(_clearColors[0], camera->clearColor); - auto scale = pipeline->getFpScale() / camera->exposure; + auto scale = sharedData->fpScale / camera->exposure; _clearColors[0].x *= scale; _clearColors[0].y *= scale; _clearColors[0].z *= scale; diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp index f76ed13edf..512fdfa8f6 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp @@ -48,6 +48,7 @@ const se::PoolType RenderWindow::type = se::PoolType::RENDER_WINDOW; const se::PoolType Shadows::type = se::PoolType::SHADOW; const se::PoolType Sphere::type = se::PoolType::SPHERE; const se::PoolType UIBatch::type = se::PoolType::UI_BATCH; +const se::PoolType PipelineSharedSceneData::type = se::PoolType::PIPELINE_SHARED_SCENE_DATA; void AABB::getBoundary(cc::Vec3 &minPos, cc::Vec3 &maxPos) const { minPos = center - halfExtents; diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index 84af76618d..d8445c6b9b 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -65,7 +65,8 @@ extern gfx::BlendState *getBlendStateImpl(uint index); #define GET_DEPTH_STENCIL_STATE(index) SharedMemory::getBuffer(se::PoolType::DEPTH_STENCIL_STATE, index) #define GET_BLEND_TARGET(index) SharedMemory::getBuffer(se::PoolType::BLEND_TARGET, index) #define GET_BLEND_STATE(index) getBlendStateImpl(index) -#define GET_UI_BATCH(index) SharedMemory::getBuffer(index) +#define GET_UI_BATCH(index) SharedMemory::getBuffer(index) +#define GET_PIPELINE_SHARED_SCENE_DATA(index) SharedMemory::getBuffer(index) //Get object pool data #define GET_DESCRIPTOR_SET(index) SharedMemory::getObject(index) @@ -472,6 +473,23 @@ struct CC_DLL Skybox { const static se::PoolType type; }; +struct CC_DLL PipelineSharedSceneData { + uint32_t shadow = 0; + uint32_t skybox = 0; + uint32_t ambient = 0; + uint32_t fog = 0; + uint32_t isHDR = 0; + uint32_t shadingScale = 0; + uint32_t fpScale = 0; + + CC_INLINE Shadows* getShadows() const {return GET_SHADOWS(shadow);} + CC_INLINE Skybox* getSkybox() const {return GET_SKYBOX(skybox);} + CC_INLINE Ambient* getAmbient() const {return GET_AMBIENT(ambient);} + CC_INLINE Fog* getFog() const {return GET_FOG(fog);} + + const static se::PoolType type; +}; + struct CC_DLL Root { float cumulativeTime = 0; float frameTime = 0; diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index 2a0e641956..cd64e0b9c9 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -32,7 +32,7 @@ THE SOFTWARE. #include "gfx/GFXFramebuffer.h" #include "gfx/GFXRenderPass.h" #include "gfx/GFXTexture.h" -#include "../forward/SceneCulling.h" +#include "../SceneCulling.h" namespace cc { namespace pipeline { @@ -62,18 +62,18 @@ void ShadowFlow::activate(RenderPipeline *pipeline) { } void ShadowFlow::render(Camera *camera) { - auto *pipeline = static_cast(_pipeline); - const auto *shadowInfo = pipeline->getShadows(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto *shadowInfo = sceneData->getSharedData()->getShadows(); if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::SHADOWMAP) return; lightCollecting(camera, _validLights); - shadowCollecting(pipeline, camera); - if (pipeline->getShadowObjects().size() == 0) return; + shadowCollecting(_pipeline, camera); + if (sceneData->getShadowObjects().size() == 0) return; - const auto &shadowFramebufferMap = pipeline->getShadowFramebufferMap(); + const auto &shadowFramebufferMap = sceneData->getShadowFramebufferMap(); for (const auto *light : _validLights) { if (!shadowFramebufferMap.count(light)) { - initShadowFrameBuffer(pipeline, light); + initShadowFrameBuffer(_pipeline, light); } auto *shadowFrameBuffer = shadowFramebufferMap.at(light); @@ -89,14 +89,14 @@ void ShadowFlow::render(Camera *camera) { // After the shadowMap rendering of all lights is completed, // restore the ShadowUBO data of the main light. - pipeline->updateShadowUBO(camera); + _pipeline->getPipelineUBO()->updateShadowUBO(camera); } void ShadowFlow::resizeShadowMap(const Light *light, const uint width, const uint height) const { - auto *pipeline = static_cast(_pipeline); + auto sceneData = _pipeline->getPipelineSceneData(); - if (pipeline->getShadowFramebufferMap().count(light)) { - auto *framebuffer = pipeline->getShadowFramebufferMap().at(light); + if (sceneData->getShadowFramebufferMap().count(light)) { + auto *framebuffer = sceneData->getShadowFramebufferMap().at(light); if (!framebuffer) { return; @@ -122,9 +122,11 @@ void ShadowFlow::resizeShadowMap(const Light *light, const uint width, const uin } } -void ShadowFlow::initShadowFrameBuffer(ForwardPipeline *pipeline, const Light *light) { - auto device = gfx::Device::getInstance(); - const auto shadowMapSize = static_cast(this->_pipeline)->getShadows()->size; +void ShadowFlow::initShadowFrameBuffer(RenderPipeline *pipeline, const Light *light) { + const auto device = gfx::Device::getInstance(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto *shadowInfo = sceneData->getSharedData()->getShadows(); + const auto shadowMapSize = shadowInfo->size; const auto width = (uint)shadowMapSize.x; const auto height = (uint)shadowMapSize.y; @@ -175,12 +177,10 @@ void ShadowFlow::initShadowFrameBuffer(ForwardPipeline *pipeline, const Light *l {}, //colorMipmapLevels }); - pipeline->setShadowFramebuffer(light, framebuffer); + pipeline->getPipelineSceneData()->setShadowFramebuffer(light, framebuffer); } void ShadowFlow::destroy() { - static_cast(_pipeline)->destroyShadowFrameBuffers(); - if (_renderPass) { _renderPass->destroy(); _renderPass = nullptr; diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h index 0e7590d2df..b62992c0b2 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h @@ -46,7 +46,7 @@ public: private: void resizeShadowMap(const Light *light, const uint width, const uint height) const; - void initShadowFrameBuffer(ForwardPipeline *pipeline, const Light *light); + void initShadowFrameBuffer(RenderPipeline *pipeline, const Light *light); private: static RenderFlowInfo _initInfo; diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp index 81680cd4e3..da6a8ac79c 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp @@ -62,29 +62,30 @@ void ShadowStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { } void ShadowStage::render(Camera *camera) { - const auto pipeline = static_cast(_pipeline); - const auto shadowInfo = pipeline->getShadows(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + const auto *shadowInfo = sceneData->getSharedData()->getShadows(); if (!_light || !_framebuffer) { return; } - auto cmdBuffer = pipeline->getCommandBuffers()[0]; + auto cmdBuffer = _pipeline->getCommandBuffers()[0]; _additiveShadowQueue->gatherLightPasses(_light, cmdBuffer); const auto shadowMapSize = shadowInfo->size; _renderArea.x = (int)(camera->viewportX * shadowMapSize.x); _renderArea.y = (int)(camera->viewportY * shadowMapSize.y); - _renderArea.width = (uint)(camera->viewportWidth * shadowMapSize.x * pipeline->getShadingScale()); - _renderArea.height = (uint)(camera->viewportHeight * shadowMapSize.y * pipeline->getShadingScale()); + _renderArea.width = (uint)(camera->viewportWidth * shadowMapSize.x * sharedData->shadingScale); + _renderArea.height = (uint)(camera->viewportHeight * shadowMapSize.y * sharedData->shadingScale); _clearColors[0] = {1.0f, 1.0f, 1.0f, 1.0f}; auto* renderPass = _framebuffer->getRenderPass(); cmdBuffer->beginRenderPass(renderPass, _framebuffer, _renderArea, _clearColors, camera->clearDepth, camera->clearStencil); - cmdBuffer->bindDescriptorSet(GLOBAL_SET, pipeline->getDescriptorSet()); + cmdBuffer->bindDescriptorSet(GLOBAL_SET, _pipeline->getDescriptorSet()); _additiveShadowQueue->recordCommandBuffer(_device, renderPass, cmdBuffer); cmdBuffer->endRenderPass(); diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 9c771d5ffa..e327c97e98 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -812,14 +812,18 @@ "cocos/renderer/pipeline/RenderStage.h", "cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp", "cocos/renderer/pipeline/ShadowMapBatchedQueue.h", + "cocos/renderer/pipeline/PipelineUBO.cpp", + "cocos/renderer/pipeline/PipelineUBO.h", + "cocos/renderer/pipeline/PipelineSceneData.cpp", + "cocos/renderer/pipeline/PipelineSceneData.h", "cocos/renderer/pipeline/forward/ForwardFlow.cpp", "cocos/renderer/pipeline/forward/ForwardFlow.h", "cocos/renderer/pipeline/forward/ForwardPipeline.cpp", "cocos/renderer/pipeline/forward/ForwardPipeline.h", "cocos/renderer/pipeline/forward/ForwardStage.cpp", "cocos/renderer/pipeline/forward/ForwardStage.h", - "cocos/renderer/pipeline/forward/SceneCulling.cpp", - "cocos/renderer/pipeline/forward/SceneCulling.h", + "cocos/renderer/pipeline/SceneCulling.cpp", + "cocos/renderer/pipeline/SceneCulling.h", "cocos/renderer/pipeline/forward/UIPhase.cpp", "cocos/renderer/pipeline/forward/UIPhase.h", "cocos/renderer/pipeline/helper/DefineMap.cpp", diff --git a/native/tools/tojs/pipeline.ini b/native/tools/tojs/pipeline.ini index 1b43f6e7de..05ee174d80 100644 --- a/native/tools/tojs/pipeline.ini +++ b/native/tools/tojs/pipeline.ini @@ -40,8 +40,8 @@ classes = RenderPipeline ForwardPipeline ForwardFlow ForwardStage ShadowFlow Sha # add a single "*" as functions. See bellow for several examples. A special class name is "*", which # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = ForwardPipeline::[updateUBOs setHDR getOrCreateRenderPass getLightsUBO getValidLights getLightBuffers getLightIndexOffsets getLightIndices getRenderObjects getShadowObjects getCommandBuffers getShadingScale getFpScale isHDR setRenderObjects setShadowObjects getFog getAmbient getSkybox getShadows getShadowUBO setShadowFramebuffer getShadowFramebufferMap destroyShadowFrameBuffers updateShadowUBO updateCameraUBO updateGlobalUBO], - RenderPipeline::[getFlows getTag getGlobalBindings getMacros getDefaultTexture], +skip = ForwardPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLightBuffers getLightIndexOffsets getLightIndices getCommandBuffers], + RenderPipeline::[getFlows getTag getGlobalBindings getMacros getDefaultTexture getPipelineSceneData getPipelineUBO getCommandBuffers], RenderFlow::[render destroy getPriority getName], RenderStage::[render destroy getPriority getName], ForwardFlow::[initialize activate destroy render], From 6d5c823b82e650a77e5189d1a5a1f0416c99dd22 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 22 Jan 2021 18:29:35 +0800 Subject: [PATCH 133/270] vk: disable all barrier deduction for now --- native/.clang-format | 5 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 33 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 15 +- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 2 +- native/cocos/renderer/core/gfx/GFXDef.h | 629 +++++++++--------- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 7 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 237 ++++--- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 530 ++++++++------- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 162 +++-- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 32 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 307 ++++----- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 431 ++++++------ native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 20 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 16 +- .../thsvs_simpler_vulkan_synchronization.h | 134 ++-- 15 files changed, 1299 insertions(+), 1261 deletions(-) diff --git a/native/.clang-format b/native/.clang-format index a45ccbda73..854d58334d 100644 --- a/native/.clang-format +++ b/native/.clang-format @@ -16,7 +16,7 @@ ObjCSpaceAfterProperty: true ColumnLimit: 0 -AlignTrailingComments: true +AlignTrailingComments: true AllowShortCaseLabelsOnASingleLine: true @@ -26,4 +26,7 @@ ConstructorInitializerIndentWidth: 0 ConstructorInitializerAllOnOneLineOrOnePerLine: true AlignConsecutiveMacros: true +AlignConsecutiveAssignments: true +AlignConsecutiveDeclarations: true + IndentPPDirectives: BeforeHash diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index d3261b2a5d..8182d46375 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -18,7 +18,7 @@ namespace cc { namespace gfx { void CommandBufferAgent::flushCommands(uint count, CommandBufferAgent *const *cmdBuffs, bool multiThreaded) { - uint jobThreadCount = JobSystem::getInstance()->threadCount(); + uint jobThreadCount = JobSystem::getInstance()->threadCount(); uint workForThisThread = (count - 1) / jobThreadCount + 1; // ceil(count / jobThreadCount) if (count > workForThisThread + 1 && multiThreaded) { // more than one job to dispatch @@ -55,17 +55,18 @@ void CommandBufferAgent::initMessageQueue() { for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { _allocatorPools[i] = CC_NEW(LinearAllocatorPool); } - ((DeviceAgent *)_device)->_allocatorPoolRefs.insert(_allocatorPools.data()); + DeviceAgent *device = (DeviceAgent *)_device; + device->_cmdBuffRefs.insert(this); _messageQueue = CC_NEW(MessageQueue); - _messageQueue->setImmediateMode(false); + if (device->_multithreaded) _messageQueue->setImmediateMode(false); } void CommandBufferAgent::destroyMessageQueue() { ((DeviceAgent *)_device)->getMessageQueue()->kickAndWait(); CC_SAFE_DELETE(_messageQueue); - ((DeviceAgent *)_device)->_allocatorPoolRefs.erase(_allocatorPools.data()); + ((DeviceAgent *)_device)->_cmdBuffRefs.erase(this); for (LinearAllocatorPool *pool : _allocatorPools) { CC_SAFE_DELETE(pool); } @@ -77,13 +78,13 @@ LinearAllocatorPool *CommandBufferAgent::getAllocator() { } bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { - _type = info.type; + _type = info.type; _queue = info.queue; initMessageQueue(); CommandBufferInfo actorInfo = info; - actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); + actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); ENQUEUE_MESSAGE_2( ((DeviceAgent *)_device)->getMessageQueue(), @@ -133,8 +134,8 @@ void CommandBufferAgent::end() { } void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { - uint attachmentCount = (uint)renderPass->getColorAttachments().size(); - Color *actorColors = nullptr; + uint attachmentCount = (uint)renderPass->getColorAttachments().size(); + Color *actorColors = nullptr; if (attachmentCount) { actorColors = getAllocator()->allocate(attachmentCount); memcpy(actorColors, colors, sizeof(Color) * attachmentCount); @@ -372,7 +373,7 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex const uint8_t **actorBuffers = allocator->allocate(bufferCount); for (uint i = 0u, n = 0u; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); + uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { uint8_t *buffer = allocator->allocate(size); memcpy(buffer, buffers[n], size); @@ -393,7 +394,7 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex }); } -void CommandBufferAgent::blitTexture(Texture* srcTexture, Texture* dstTexture, const TextureBlit* regions, uint count, Filter filter) { +void CommandBufferAgent::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { Texture *actorSrcTexture = nullptr; Texture *actorDstTexture = nullptr; if (srcTexture) actorSrcTexture = ((TextureAgent *)srcTexture)->getActor(); @@ -438,24 +439,24 @@ void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const Tex } AccessType *accessTypes = getAllocator()->allocate(count); - GlobalBarrier *actorBarrier = nullptr; + GlobalBarrier * actorBarrier = nullptr; TextureBarrier *actorTextureBarriers = getAllocator()->allocate(textureBarrierCount); - uint index = 0u; + uint index = 0u; if (barrier) { - actorBarrier = getAllocator()->allocate(1); + actorBarrier = getAllocator()->allocate(1); actorBarrier->prevAccessCount = barrier->prevAccessCount; - actorBarrier->prevAccesses = accessTypes + index; + actorBarrier->prevAccesses = accessTypes + index; for (uint i = 0u; i < barrier->prevAccessCount; ++i, ++index) accessTypes[index] = barrier->prevAccesses[i]; actorBarrier->nextAccessCount = barrier->nextAccessCount; - actorBarrier->nextAccesses = accessTypes + index; + actorBarrier->nextAccesses = accessTypes + index; for (uint i = 0u; i < barrier->nextAccessCount; ++i, ++index) accessTypes[index] = barrier->nextAccesses[i]; } for (uint b = 0u; b < textureBarrierCount; ++b) { const TextureBarrier &textureBarrier = textureBarriers[b]; - actorTextureBarriers[b] = textureBarrier; + actorTextureBarriers[b] = textureBarrier; actorTextureBarriers[b].prevAccesses = accessTypes + index; for (uint i = 0u; i < textureBarrier.prevAccessCount; ++i, ++index) accessTypes[index] = textureBarrier.prevAccesses[i]; diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 43006ae6e8..4e6d270271 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -62,7 +62,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { } ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); - setMultithreaded(true); + //setMultithreaded(true); return true; } @@ -139,8 +139,8 @@ void DeviceAgent::present() { _frameBoundarySemaphore.Wait(); getMainAllocator()->reset(); - for (LinearAllocatorPool **allocatorPools : _allocatorPoolRefs) { - allocatorPools[_currentIndex]->reset(); + for (CommandBufferAgent *cmdBuff : _cmdBuffRefs) { + cmdBuff->_allocatorPools[_currentIndex]->reset(); } } @@ -159,6 +159,9 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { actor->bindDeviceContext(true); CC_LOG_INFO("Device thread detached."); }); + for (CommandBufferAgent *cmdBuff : _cmdBuffRefs) { + cmdBuff->_messageQueue->setImmediateMode(false); + } } else { ENQUEUE_MESSAGE_1( _mainEncoder, DeviceMakeCurrent, @@ -167,9 +170,11 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { actor->bindDeviceContext(false); }); _mainEncoder->terminateConsumerThread(); - _mainEncoder->finishWriting(true); // wait till finished _mainEncoder->setImmediateMode(true); _actor->bindRenderContext(true); + for (CommandBufferAgent *cmdBuff : _cmdBuffRefs) { + cmdBuff->_messageQueue->setImmediateMode(true); + } CC_LOG_INFO("Device thread joined."); } } @@ -290,6 +295,8 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d } void DeviceAgent::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { + if (!_multithreaded) return; // all command buffers are immediately executed + bool multiThreaded = hasFeature(Feature::MULTITHREADED_SUBMISSION); const CommandBufferAgent **agentCmdBuffs = getMainAllocator()->allocate(count); diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index ca9c3c7d54..0e70ca6d88 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -74,7 +74,7 @@ protected: vector _allocatorPools; Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; - unordered_set _allocatorPoolRefs; + unordered_set _cmdBuffRefs; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index ef81f44467..f209fdfc5f 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -330,37 +330,37 @@ bool isSampledImage(Type type); bool isStorageImage(Type type); enum class BufferUsageBit : FlagBits { - NONE = 0, + NONE = 0, TRANSFER_SRC = 0x1, TRANSFER_DST = 0x2, - INDEX = 0x4, - VERTEX = 0x8, - UNIFORM = 0x10, - STORAGE = 0x20, - INDIRECT = 0x40, + INDEX = 0x4, + VERTEX = 0x8, + UNIFORM = 0x10, + STORAGE = 0x20, + INDIRECT = 0x40, }; typedef BufferUsageBit BufferUsage; CC_ENUM_OPERATORS(BufferUsageBit); enum class BufferFlagBit : FlagBits { - NONE = 0, + NONE = 0, BAKUP_BUFFER = 0x4, }; typedef BufferFlagBit BufferFlags; CC_ENUM_OPERATORS(BufferFlagBit); enum class MemoryAccessBit : FlagBits { - NONE = 0, - READ_ONLY = 0x1, + NONE = 0, + READ_ONLY = 0x1, WRITE_ONLY = 0x2, READ_WRITE = READ_ONLY | WRITE_ONLY, }; typedef MemoryAccessBit MemoryAccess; enum class MemoryUsageBit : FlagBits { - NONE = 0, + NONE = 0, DEVICE = 0x1, - HOST = 0x2, + HOST = 0x2, }; typedef MemoryUsageBit MemoryUsage; CC_ENUM_OPERATORS(MemoryUsageBit); @@ -375,24 +375,24 @@ enum class TextureType { }; enum class TextureUsageBit : FlagBits { - NONE = 0, - TRANSFER_SRC = 0x1, - TRANSFER_DST = 0x2, - SAMPLED = 0x4, - STORAGE = 0x8, - COLOR_ATTACHMENT = 0x10, + NONE = 0, + TRANSFER_SRC = 0x1, + TRANSFER_DST = 0x2, + SAMPLED = 0x4, + STORAGE = 0x8, + COLOR_ATTACHMENT = 0x10, DEPTH_STENCIL_ATTACHMENT = 0x20, - TRANSIENT_ATTACHMENT = 0x40, - INPUT_ATTACHMENT = 0x80, + TRANSIENT_ATTACHMENT = 0x40, + INPUT_ATTACHMENT = 0x80, }; typedef TextureUsageBit TextureUsage; CC_ENUM_OPERATORS(TextureUsageBit); enum class TextureFlagBit : FlagBits { - NONE = 0, - GEN_MIPMAP = 0x1, + NONE = 0, + GEN_MIPMAP = 0x1, BAKUP_BUFFER = 0x2, - IMMUTABLE = 0x4, + IMMUTABLE = 0x4, }; typedef TextureFlagBit TextureFlags; CC_ENUM_OPERATORS(TextureFlagBit); @@ -471,23 +471,23 @@ enum class BlendOp { enum class ColorMask : FlagBits { NONE = 0x0, - R = 0x1, - G = 0x2, - B = 0x4, - A = 0x8, - ALL = R | G | B | A, + R = 0x1, + G = 0x2, + B = 0x4, + A = 0x8, + ALL = R | G | B | A, }; CC_ENUM_OPERATORS(ColorMask); enum class ShaderStageFlagBit : FlagBits { - NONE = 0x0, - VERTEX = 0x1, - CONTROL = 0x2, + NONE = 0x0, + VERTEX = 0x1, + CONTROL = 0x2, EVALUATION = 0x4, - GEOMETRY = 0x8, - FRAGMENT = 0x10, - COMPUTE = 0x20, - ALL = 0x3f, + GEOMETRY = 0x8, + FRAGMENT = 0x10, + COMPUTE = 0x20, + ALL = 0x3f, }; typedef ShaderStageFlagBit ShaderStageFlags; CC_ENUM_OPERATORS(ShaderStageFlagBit); @@ -612,14 +612,14 @@ enum class CullMode { }; enum class DynamicStateFlagBit : FlagBits { - NONE = 0x0, - VIEWPORT = 0x1, - SCISSOR = 0x2, - LINE_WIDTH = 0x4, - DEPTH_BIAS = 0x8, - BLEND_CONSTANTS = 0x10, - DEPTH_BOUNDS = 0x20, - STENCIL_WRITE_MASK = 0x40, + NONE = 0x0, + VIEWPORT = 0x1, + SCISSOR = 0x2, + LINE_WIDTH = 0x4, + DEPTH_BIAS = 0x8, + BLEND_CONSTANTS = 0x10, + DEPTH_BOUNDS = 0x20, + STENCIL_WRITE_MASK = 0x40, STENCIL_COMPARE_MASK = 0x80, }; typedef DynamicStateFlagBit DynamicStateFlags; @@ -634,16 +634,16 @@ enum class StencilFace { }; enum class DescriptorType : FlagBits { - UNKNOWN = 0, - UNIFORM_BUFFER = 0x1, + UNKNOWN = 0, + UNIFORM_BUFFER = 0x1, DYNAMIC_UNIFORM_BUFFER = 0x2, - STORAGE_BUFFER = 0x4, + STORAGE_BUFFER = 0x4, DYNAMIC_STORAGE_BUFFER = 0x8, - SAMPLER_TEXTURE = 0x10, - SAMPLER = 0x20, - TEXTURE = 0x40, - STORAGE_IMAGE = 0x80, - INPUT_ATTACHMENT = 0x100, + SAMPLER_TEXTURE = 0x10, + SAMPLER = 0x20, + TEXTURE = 0x40, + STORAGE_IMAGE = 0x80, + INPUT_ATTACHMENT = 0x100, }; CC_ENUM_OPERATORS(DescriptorType); @@ -659,12 +659,12 @@ enum class CommandBufferType { }; enum class ClearFlagBit : FlagBits { - NONE = 0, - COLOR = 0x1, - DEPTH = 0x2, - STENCIL = 0x4, + NONE = 0, + COLOR = 0x1, + DEPTH = 0x2, + STENCIL = 0x4, DEPTH_STENCIL = DEPTH | STENCIL, - ALL = COLOR | DEPTH | STENCIL, + ALL = COLOR | DEPTH | STENCIL, }; typedef ClearFlagBit ClearFlags; CC_ENUM_OPERATORS(ClearFlagBit); @@ -700,29 +700,29 @@ struct Size { }; struct DeviceCaps { - uint maxVertexAttributes = 0u; - uint maxVertexUniformVectors = 0u; - uint maxFragmentUniformVectors = 0u; - uint maxTextureUnits = 0u; - uint maxImageUnits = 0u; - uint maxVertexTextureUnits = 0u; - uint maxColorRenderTargets = 0u; - uint maxShaderStorageBufferBindings = 0u; - uint maxShaderStorageBlockSize = 0u; - uint maxUniformBufferBindings = 0u; - uint maxUniformBlockSize = 0u; - uint maxTextureSize = 0u; - uint maxCubeMapTextureSize = 0u; - uint uboOffsetAlignment = 0u; - uint depthBits = 0u; - uint stencilBits = 0u; - uint maxComputeSharedMemorySize = 0u; - uint maxComputeWorkGroupInvocations = 0u; - Size maxComputeWorkGroupSize; - Size maxComputeWorkGroupCount; - float clipSpaceMinZ = -1.0f; + uint maxVertexAttributes = 0u; + uint maxVertexUniformVectors = 0u; + uint maxFragmentUniformVectors = 0u; + uint maxTextureUnits = 0u; + uint maxImageUnits = 0u; + uint maxVertexTextureUnits = 0u; + uint maxColorRenderTargets = 0u; + uint maxShaderStorageBufferBindings = 0u; + uint maxShaderStorageBlockSize = 0u; + uint maxUniformBufferBindings = 0u; + uint maxUniformBlockSize = 0u; + uint maxTextureSize = 0u; + uint maxCubeMapTextureSize = 0u; + uint uboOffsetAlignment = 0u; + uint depthBits = 0u; + uint stencilBits = 0u; + uint maxComputeSharedMemorySize = 0u; + uint maxComputeWorkGroupInvocations = 0u; + Size maxComputeWorkGroupSize; + Size maxComputeWorkGroupCount; + float clipSpaceMinZ = -1.0f; float screenSpaceSignY = 1.0f; - float UVSpaceSignY = -1.0f; + float UVSpaceSignY = -1.0f; }; struct Offset { @@ -732,9 +732,9 @@ struct Offset { }; struct Rect { - int x = 0; - int y = 0; - uint width = 1u; + int x = 0; + int y = 0; + uint width = 1u; uint height = 1u; bool operator==(const Rect &rs) { @@ -753,57 +753,57 @@ struct Rect { }; struct Extent { - uint width = 0; + uint width = 0; uint height = 0; - uint depth = 1; + uint depth = 1; }; struct TextureSubresLayers { - uint mipLevel = 0u; + uint mipLevel = 0u; uint baseArrayLayer = 0u; - uint layerCount = 1u; + uint layerCount = 1u; }; struct TextureSubresRange { - uint baseMipLevel = 0u; - uint levelCount = 1u; + uint baseMipLevel = 0u; + uint levelCount = 1u; uint baseArrayLayer = 0u; - uint layerCount = 1u; + uint layerCount = 1u; }; struct TextureCopy { TextureSubresLayers srcSubres; - Offset srcOffset; + Offset srcOffset; TextureSubresLayers dstSubres; - Offset dstOffset; - Extent extent; + Offset dstOffset; + Extent extent; }; struct TextureBlit { TextureSubresLayers srcSubres; - Offset srcOffset; - Extent srcExtent; + Offset srcOffset; + Extent srcExtent; TextureSubresLayers dstSubres; - Offset dstOffset; - Extent dstExtent; + Offset dstOffset; + Extent dstExtent; }; typedef cc::vector TextureBlitList; struct BufferTextureCopy { - uint buffStride = 0; - uint buffTexHeight = 0; - Offset texOffset; - Extent texExtent; + uint buffStride = 0; + uint buffTexHeight = 0; + Offset texOffset; + Extent texExtent; TextureSubresLayers texSubres; }; typedef cc::vector BufferTextureCopyList; -typedef cc::vector BufferDataList; +typedef cc::vector BufferDataList; struct Viewport { - int left = 0; - int top = 0; - uint width = 0; - uint height = 0; + int left = 0; + int top = 0; + uint width = 0; + uint height = 0; float minDepth = 0.0f; float maxDepth = 1.0f; @@ -850,60 +850,60 @@ typedef cc::vector ColorList; struct BindingMappingInfo { cc::vector bufferOffsets; cc::vector samplerOffsets; - uint flexibleSet = 0u; + uint flexibleSet = 0u; }; struct DeviceInfo { - uintptr_t windowHandle = 0; - uint width = 0; - uint height = 0; - uint nativeWidth = 0; - uint nativeHeight = 0; - Context *sharedCtx = nullptr; + uintptr_t windowHandle = 0; + uint width = 0; + uint height = 0; + uint nativeWidth = 0; + uint nativeHeight = 0; + Context * sharedCtx = nullptr; BindingMappingInfo bindingMappingInfo; }; struct WindowInfo { - String title; - int left = 0; - int top = 0; - uint width = 800; - uint height = 600; - Format colorFmt = Format::UNKNOWN; - Format depthStencilFmt = Format::UNKNOWN; - bool isOffscreen = false; - bool isFullscreen = false; - VsyncMode vsyncMode = VsyncMode::OFF; - uintptr_t windowHandle = 0; - RenderPass *renderPass = nullptr; + String title; + int left = 0; + int top = 0; + uint width = 800; + uint height = 600; + Format colorFmt = Format::UNKNOWN; + Format depthStencilFmt = Format::UNKNOWN; + bool isOffscreen = false; + bool isFullscreen = false; + VsyncMode vsyncMode = VsyncMode::OFF; + uintptr_t windowHandle = 0; + RenderPass *renderPass = nullptr; }; struct ContextInfo { uintptr_t windowHandle = 0; - Context *sharedCtx = nullptr; - VsyncMode vsyncMode = VsyncMode::RELAXED; + Context * sharedCtx = nullptr; + VsyncMode vsyncMode = VsyncMode::RELAXED; }; struct BufferInfo { - BufferUsage usage = BufferUsage::NONE; + BufferUsage usage = BufferUsage::NONE; MemoryUsage memUsage = MemoryUsage::NONE; - uint size = 0; - uint stride = 0; // in bytes - BufferFlags flags = BufferFlagBit::NONE; + uint size = 0; + uint stride = 0; // in bytes + BufferFlags flags = BufferFlagBit::NONE; }; struct BufferViewInfo { Buffer *buffer = nullptr; - uint offset = 0u; - uint range = 0u; + uint offset = 0u; + uint range = 0u; }; struct DrawInfo { - uint vertexCount = 0; - uint firstVertex = 0; - uint indexCount = 0; - uint firstIndex = 0; - uint vertexOffset = 0; + uint vertexCount = 0; + uint firstVertex = 0; + uint indexCount = 0; + uint firstIndex = 0; + uint vertexOffset = 0; uint instanceCount = 0; uint firstInstance = 0; }; @@ -916,7 +916,7 @@ struct DispatchInfo { uint groupCountZ = 0; Buffer *indirectBuffer = nullptr; - uint indirectOffset = 0; + uint indirectOffset = 0; }; typedef cc::vector DispatchInfoList; @@ -926,41 +926,41 @@ struct IndirectBuffer { }; struct TextureInfo { - TextureType type = TextureType::TEX2D; - TextureUsage usage = TextureUsageBit::NONE; - Format format = Format::UNKNOWN; - uint width = 0u; - uint height = 0u; - TextureFlags flags = TextureFlagBit::NONE; - uint layerCount = 1u; - uint levelCount = 1u; - SampleCount samples = SampleCount::X1; - uint depth = 1u; + TextureType type = TextureType::TEX2D; + TextureUsage usage = TextureUsageBit::NONE; + Format format = Format::UNKNOWN; + uint width = 0u; + uint height = 0u; + TextureFlags flags = TextureFlagBit::NONE; + uint layerCount = 1u; + uint levelCount = 1u; + SampleCount samples = SampleCount::X1; + uint depth = 1u; }; struct TextureViewInfo { - Texture *texture = nullptr; - TextureType type = TextureType::TEX2D; - Format format = Format::UNKNOWN; - uint baseLevel = 0u; - uint levelCount = 1u; - uint baseLayer = 0u; - uint layerCount = 1u; + Texture * texture = nullptr; + TextureType type = TextureType::TEX2D; + Format format = Format::UNKNOWN; + uint baseLevel = 0u; + uint levelCount = 1u; + uint baseLayer = 0u; + uint layerCount = 1u; }; struct SamplerInfo { - Filter minFilter = Filter::LINEAR; - Filter magFilter = Filter::LINEAR; - Filter mipFilter = Filter::NONE; - Address addressU = Address::WRAP; - Address addressV = Address::WRAP; - Address addressW = Address::WRAP; - uint maxAnisotropy = 16; - ComparisonFunc cmpFunc = ComparisonFunc::NEVER; - Color borderColor; - uint minLOD = 0; - uint maxLOD = 1000; - float mipLODBias = 0.0f; + Filter minFilter = Filter::LINEAR; + Filter magFilter = Filter::LINEAR; + Filter mipFilter = Filter::NONE; + Address addressU = Address::WRAP; + Address addressV = Address::WRAP; + Address addressW = Address::WRAP; + uint maxAnisotropy = 16; + ComparisonFunc cmpFunc = ComparisonFunc::NEVER; + Color borderColor; + uint minLOD = 0; + uint maxLOD = 1000; + float mipLODBias = 0.0f; }; struct ShaderMacro { @@ -972,109 +972,109 @@ typedef cc::vector ShaderMacroList; struct Uniform { String name; - Type type = Type::UNKNOWN; - uint count = 0u; + Type type = Type::UNKNOWN; + uint count = 0u; }; typedef cc::vector UniformList; struct UniformBlock { - uint set = 0u; - uint binding = 0u; - String name; + uint set = 0u; + uint binding = 0u; + String name; UniformList members; - uint count = 0u; + uint count = 0u; }; typedef cc::vector UniformBlockList; struct UniformSamplerTexture { - uint set = 0u; - uint binding = 0u; + uint set = 0u; + uint binding = 0u; String name; - Type type = Type::UNKNOWN; - uint count = 0u; + Type type = Type::UNKNOWN; + uint count = 0u; }; typedef cc::vector UniformSamplerTextureList; struct UniformSampler { - uint set = 0u; - uint binding = 0u; + uint set = 0u; + uint binding = 0u; String name; - uint count = 0u; + uint count = 0u; }; typedef cc::vector UniformSamplerList; struct UniformTexture { - uint set = 0u; - uint binding = 0u; + uint set = 0u; + uint binding = 0u; String name; - Type type = Type::UNKNOWN; - uint count = 0u; + Type type = Type::UNKNOWN; + uint count = 0u; }; typedef cc::vector UniformTextureList; struct UniformStorageImage { - uint set = 0u; - uint binding = 0u; - String name; - Type type = Type::UNKNOWN; - uint count = 0u; + uint set = 0u; + uint binding = 0u; + String name; + Type type = Type::UNKNOWN; + uint count = 0u; MemoryAccess memoryAccess = MemoryAccess::READ_WRITE; }; typedef cc::vector UniformStorageImageList; struct UniformStorageBuffer { - uint set = 0u; - uint binding = 0u; - String name; - uint count = 0u; + uint set = 0u; + uint binding = 0u; + String name; + uint count = 0u; MemoryAccess memoryAccess = MemoryAccess::READ_WRITE; }; typedef cc::vector UniformStorageBufferList; struct UniformInputAttachment { - uint set = 0u; - uint binding = 0u; + uint set = 0u; + uint binding = 0u; String name; - uint count = 0u; + uint count = 0u; }; typedef cc::vector UniformInputAttachmentList; struct ShaderStage { ShaderStageFlagBit stage = ShaderStageFlagBit::NONE; - String source; + String source; }; typedef cc::vector ShaderStageList; struct Attribute { String name; - Format format = Format::UNKNOWN; - bool isNormalized = false; - uint stream = 0; - bool isInstanced = false; - uint location = 0; + Format format = Format::UNKNOWN; + bool isNormalized = false; + uint stream = 0; + bool isInstanced = false; + uint location = 0; }; typedef cc::vector AttributeList; struct ShaderInfo { - String name; - ShaderStageList stages; - AttributeList attributes; - UniformBlockList blocks; - UniformStorageBufferList buffers; - UniformSamplerTextureList samplerTextures; - UniformSamplerList samplers; - UniformTextureList textures; - UniformStorageImageList images; + String name; + ShaderStageList stages; + AttributeList attributes; + UniformBlockList blocks; + UniformStorageBufferList buffers; + UniformSamplerTextureList samplerTextures; + UniformSamplerList samplers; + UniformTextureList textures; + UniformStorageImageList images; UniformInputAttachmentList subpassInputs; }; @@ -1082,66 +1082,65 @@ typedef cc::vector BufferList; struct InputAssemblerInfo { AttributeList attributes; - BufferList vertexBuffers; - Buffer *indexBuffer = nullptr; - Buffer *indirectBuffer = nullptr; + BufferList vertexBuffers; + Buffer * indexBuffer = nullptr; + Buffer * indirectBuffer = nullptr; }; struct ColorAttachment { - Format format = Format::UNKNOWN; + Format format = Format::UNKNOWN; SampleCount sampleCount = SampleCount::X1; - LoadOp loadOp = LoadOp::CLEAR; - StoreOp storeOp = StoreOp::STORE; - AccessType beginAccess = AccessType::NONE; - AccessType endAccess = AccessType::PRESENT; + LoadOp loadOp = LoadOp::CLEAR; + StoreOp storeOp = StoreOp::STORE; + AccessType beginAccess = AccessType::NONE; + AccessType endAccess = AccessType::PRESENT; }; typedef cc::vector ColorAttachmentList; struct DepthStencilAttachment { - Format format = Format::UNKNOWN; - SampleCount sampleCount = SampleCount::X1; - LoadOp depthLoadOp = LoadOp::CLEAR; - StoreOp depthStoreOp = StoreOp::STORE; - LoadOp stencilLoadOp = LoadOp::CLEAR; - StoreOp stencilStoreOp = StoreOp::STORE; - AccessType beginAccess = AccessType::NONE; - AccessType endAccess = AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE; + Format format = Format::UNKNOWN; + SampleCount sampleCount = SampleCount::X1; + LoadOp depthLoadOp = LoadOp::CLEAR; + StoreOp depthStoreOp = StoreOp::STORE; + LoadOp stencilLoadOp = LoadOp::CLEAR; + StoreOp stencilStoreOp = StoreOp::STORE; + AccessType beginAccess = AccessType::NONE; + AccessType endAccess = AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE; }; struct SubPassInfo { - PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; cc::vector inputs; cc::vector colors; cc::vector resolves; - uint8_t depthStencil = GFX_INVALID_BINDING; + uint8_t depthStencil = GFX_INVALID_BINDING; cc::vector preserves; }; typedef cc::vector SubPassInfoList; struct RenderPassInfo { - ColorAttachmentList colorAttachments; + ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; - SubPassInfoList subPasses; + SubPassInfoList subPasses; }; struct GlobalBarrier { - AccessType const *prevAccesses = nullptr; - uint prevAccessCount = 0u; - AccessType const *nextAccesses = nullptr; - uint nextAccessCount = 0u; + AccessType const *prevAccesses = nullptr; + uint prevAccessCount = 0u; + AccessType const *nextAccesses = nullptr; + uint nextAccessCount = 0u; }; typedef cc::vector GlobalBarrierList; struct TextureBarrier { - AccessType const *prevAccesses = nullptr; - uint prevAccessCount = 0u; - AccessType const *nextAccesses = nullptr; - uint nextAccessCount = 0u; + AccessType const *prevAccesses = nullptr; + uint prevAccessCount = 0u; + AccessType const *nextAccesses = nullptr; + uint nextAccessCount = 0u; - bool discardContents = false; - Texture *texture = nullptr; + bool discardContents = false; + Texture *texture = nullptr; Queue *srcQueue = nullptr; Queue *dstQueue = nullptr; @@ -1149,10 +1148,10 @@ struct TextureBarrier { typedef cc::vector TextureBarrierList; struct BufferBarrier { - AccessType const *prevAccesses = nullptr; - uint prevAccessCount = 0u; - AccessType const *nextAccesses = nullptr; - uint nextAccessCount = 0u; + AccessType const *prevAccesses = nullptr; + uint prevAccessCount = 0u; + AccessType const *nextAccesses = nullptr; + uint nextAccessCount = 0u; Buffer *buffer = nullptr; @@ -1161,24 +1160,24 @@ struct BufferBarrier { }; typedef cc::vector BufferBarrierList; -typedef cc::vector BufferList; +typedef cc::vector BufferList; typedef cc::vector TextureList; typedef cc::vector SamplerList; struct FramebufferInfo { - RenderPass *renderPass = nullptr; - TextureList colorTextures; - Texture *depthStencilTexture = nullptr; + RenderPass * renderPass = nullptr; + TextureList colorTextures; + Texture * depthStencilTexture = nullptr; cc::vector colorMipmapLevels; - uint depthStencilMipmapLevel = 0; + uint depthStencilMipmapLevel = 0; }; struct DescriptorSetLayoutBinding { - uint binding = GFX_INVALID_BINDING; - DescriptorType descriptorType = DescriptorType::UNKNOWN; - uint count = 0; - ShaderStageFlags stageFlags = ShaderStageFlagBit::NONE; - SamplerList immutableSamplers; + uint binding = GFX_INVALID_BINDING; + DescriptorType descriptorType = DescriptorType::UNKNOWN; + uint count = 0; + ShaderStageFlags stageFlags = ShaderStageFlagBit::NONE; + SamplerList immutableSamplers; }; typedef cc::vector DescriptorSetLayoutBindingList; @@ -1202,81 +1201,81 @@ struct InputState { // Use uint32_t for all boolean values to convert memory to RasterizerState* in shared memory. struct RasterizerState { - uint32_t isDiscard = 0; - PolygonMode polygonMode = PolygonMode::FILL; - ShadeModel shadeModel = ShadeModel::GOURAND; - CullMode cullMode = CullMode::BACK; - uint32_t isFrontFaceCCW = 1; - uint32_t depthBiasEnabled = 0; - float depthBias = 0.0f; - float depthBiasClamp = 0.0f; - float depthBiasSlop = 0.0f; - uint32_t isDepthClip = 1; - uint32_t isMultisample = 0; - float lineWidth = 1.0f; + uint32_t isDiscard = 0; + PolygonMode polygonMode = PolygonMode::FILL; + ShadeModel shadeModel = ShadeModel::GOURAND; + CullMode cullMode = CullMode::BACK; + uint32_t isFrontFaceCCW = 1; + uint32_t depthBiasEnabled = 0; + float depthBias = 0.0f; + float depthBiasClamp = 0.0f; + float depthBiasSlop = 0.0f; + uint32_t isDepthClip = 1; + uint32_t isMultisample = 0; + float lineWidth = 1.0f; }; // Use uint32_t for all boolean values to convert memory to DepthStencilState* in shared memory. struct DepthStencilState { - uint32_t depthTest = 1; - uint32_t depthWrite = 1; - ComparisonFunc depthFunc = ComparisonFunc::LESS; - uint32_t stencilTestFront = 0; - ComparisonFunc stencilFuncFront = ComparisonFunc::ALWAYS; - uint32_t stencilReadMaskFront = 0xffffffff; - uint32_t stencilWriteMaskFront = 0xffffffff; - StencilOp stencilFailOpFront = StencilOp::KEEP; - StencilOp stencilZFailOpFront = StencilOp::KEEP; - StencilOp stencilPassOpFront = StencilOp::KEEP; - uint32_t stencilRefFront = 1; - uint32_t stencilTestBack = 0; - ComparisonFunc stencilFuncBack = ComparisonFunc::ALWAYS; - uint32_t stencilReadMaskBack = 0xffffffff; - uint32_t stencilWriteMaskBack = 0xffffffff; - StencilOp stencilFailOpBack = StencilOp::KEEP; - StencilOp stencilZFailOpBack = StencilOp::KEEP; - StencilOp stencilPassOpBack = StencilOp::KEEP; - uint32_t stencilRefBack = 1; + uint32_t depthTest = 1; + uint32_t depthWrite = 1; + ComparisonFunc depthFunc = ComparisonFunc::LESS; + uint32_t stencilTestFront = 0; + ComparisonFunc stencilFuncFront = ComparisonFunc::ALWAYS; + uint32_t stencilReadMaskFront = 0xffffffff; + uint32_t stencilWriteMaskFront = 0xffffffff; + StencilOp stencilFailOpFront = StencilOp::KEEP; + StencilOp stencilZFailOpFront = StencilOp::KEEP; + StencilOp stencilPassOpFront = StencilOp::KEEP; + uint32_t stencilRefFront = 1; + uint32_t stencilTestBack = 0; + ComparisonFunc stencilFuncBack = ComparisonFunc::ALWAYS; + uint32_t stencilReadMaskBack = 0xffffffff; + uint32_t stencilWriteMaskBack = 0xffffffff; + StencilOp stencilFailOpBack = StencilOp::KEEP; + StencilOp stencilZFailOpBack = StencilOp::KEEP; + StencilOp stencilPassOpBack = StencilOp::KEEP; + uint32_t stencilRefBack = 1; }; // Use uint32_t for all boolean values to do convert memory to BlendTarget* in shared memory. struct BlendTarget { - uint32_t blend = 0; - BlendFactor blendSrc = BlendFactor::ONE; - BlendFactor blendDst = BlendFactor::ZERO; - BlendOp blendEq = BlendOp::ADD; - BlendFactor blendSrcAlpha = BlendFactor::ONE; - BlendFactor blendDstAlpha = BlendFactor::ZERO; - BlendOp blendAlphaEq = BlendOp::ADD; - ColorMask blendColorMask = ColorMask::ALL; + uint32_t blend = 0; + BlendFactor blendSrc = BlendFactor::ONE; + BlendFactor blendDst = BlendFactor::ZERO; + BlendOp blendEq = BlendOp::ADD; + BlendFactor blendSrcAlpha = BlendFactor::ONE; + BlendFactor blendDstAlpha = BlendFactor::ZERO; + BlendOp blendAlphaEq = BlendOp::ADD; + ColorMask blendColorMask = ColorMask::ALL; }; typedef cc::vector BlendTargetList; // Use uint32_t for all boolean values to do memeory copy in shared memory. struct BlendState { - uint32_t isA2C = 0; - uint32_t isIndepend = 0; - Color blendColor; + uint32_t isA2C = 0; + uint32_t isIndepend = 0; + Color blendColor; BlendTargetList targets{1}; }; struct PipelineStateInfo { - Shader *shader = nullptr; - PipelineLayout *pipelineLayout = nullptr; - RenderPass *renderPass = nullptr; - InputState inputState; - RasterizerState rasterizerState; + Shader * shader = nullptr; + PipelineLayout * pipelineLayout = nullptr; + RenderPass * renderPass = nullptr; + InputState inputState; + RasterizerState rasterizerState; DepthStencilState depthStencilState; - BlendState blendState; - PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; + BlendState blendState; + PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; DynamicStateFlags dynamicStates = DynamicStateFlagBit::NONE; - PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; + PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; }; struct CommandBufferInfo { - Queue *queue = nullptr; - CommandBufferType type = CommandBufferType::PRIMARY; + Queue * queue = nullptr; + CommandBufferType type = CommandBufferType::PRIMARY; }; typedef cc::vector CommandBufferList; @@ -1288,14 +1287,14 @@ struct FenceInfo { }; struct FormatInfo { - String name; - uint size = 0; - uint count = 0; - FormatType type = FormatType::NONE; - bool hasAlpha = false; - bool hasDepth = false; - bool hasStencil = false; - bool isCompressed = false; + String name; + uint size = 0; + uint count = 0; + FormatType type = FormatType::NONE; + bool hasAlpha = false; + bool hasDepth = false; + bool hasStencil = false; + bool isCompressed = false; }; extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; @@ -1303,10 +1302,10 @@ extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; extern const FormatInfo GFX_FORMAT_INFOS[]; -extern const uint GFX_TYPE_SIZES[]; +extern const uint GFX_TYPE_SIZES[]; struct MemoryStatus { - uint bufferSize = 0; + uint bufferSize = 0; uint textureSize = 0; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index d4310e19a9..39860a3828 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -186,10 +186,9 @@ void CCVKBuffer::update(void *buffer, uint size) { memcpy(_buffer, buffer, size); } - CommandBuffer *cmdBuff = _device->getCommandBuffer(); - cmdBuff->begin(); - const CCVKGPUCommandBuffer *gpuCommandBuffer = ((CCVKCommandBuffer *)cmdBuff)->gpuCommandBuffer(); - CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, _gpuBuffer, buffer, size, gpuCommandBuffer); + ((CCVKDevice *)_device)->gpuTransportHub()->checkIn([this, buffer, size](CCVKGPUCommandBuffer *gpuCommandBuffer) { + CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, _gpuBuffer, buffer, size, gpuCommandBuffer); + }); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index c97aea7782..3cee96f34a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -47,11 +47,11 @@ CCVKCommandBuffer::~CCVKCommandBuffer() { } bool CCVKCommandBuffer::initialize(const CommandBufferInfo &info) { - _type = info.type; + _type = info.type; _queue = info.queue; - _gpuCommandBuffer = CC_NEW(CCVKGPUCommandBuffer); - _gpuCommandBuffer->level = MapVkCommandBufferLevel(_type); + _gpuCommandBuffer = CC_NEW(CCVKGPUCommandBuffer); + _gpuCommandBuffer->level = MapVkCommandBufferLevel(_type); _gpuCommandBuffer->queueFamilyIndex = ((CCVKQueue *)_queue)->gpuQueue()->queueFamilyIndex; size_t setCount = ((CCVKDevice *)_device)->bindingMappingInfo().bufferOffsets.size(); @@ -95,7 +95,7 @@ void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer return; } inheritanceInfo.renderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass()->vkRenderPass; - inheritanceInfo.subpass = subpass; + inheritanceInfo.subpass = subpass; if (frameBuffer) { CCVKGPUFramebuffer *gpuFBO = ((CCVKFramebuffer *)frameBuffer)->gpuFBO(); if (gpuFBO->isOffscreen) @@ -115,7 +115,7 @@ void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void CCVKCommandBuffer::end() { if (!_gpuCommandBuffer->began) return; - _curGPUFBO = nullptr; + _curGPUFBO = nullptr; _curGPUInputAssember = nullptr; _curViewport.width = _curViewport.height = _curScissor.width = _curScissor.height = 0u; VK_CHECK(vkEndCommandBuffer(_gpuCommandBuffer->vkCommandBuffer)); @@ -125,25 +125,26 @@ void CCVKCommandBuffer::end() { ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool()->yield(_gpuCommandBuffer); } -void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { - _curGPUFBO = ((CCVKFramebuffer *)fbo)->gpuFBO(); +void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, + float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { + _curGPUFBO = ((CCVKFramebuffer *)fbo)->gpuFBO(); CCVKGPURenderPass *gpuRenderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass(); - VkFramebuffer framebuffer = _curGPUFBO->vkFramebuffer; + VkFramebuffer framebuffer = _curGPUFBO->vkFramebuffer; if (!_curGPUFBO->isOffscreen) { framebuffer = _curGPUFBO->swapchain->vkSwapchainFramebufferListMap[_curGPUFBO][_curGPUFBO->swapchain->curImageIndex]; } - vector &clearValues = gpuRenderPass->clearValues; - size_t attachmentCount = clearValues.size(); + vector &clearValues = gpuRenderPass->clearValues; + size_t attachmentCount = clearValues.size(); if (attachmentCount) { - for (size_t i = 0u; i < attachmentCount - 1; i++) { + for (size_t i = 0u; i < attachmentCount - 1; ++i) { clearValues[i].color = {{colors[i].x, colors[i].y, colors[i].z, colors[i].w}}; } clearValues[attachmentCount - 1].depthStencil = {depth, (uint)stencil}; } -#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL // make previous framebuffer visible for load op if (gpuRenderPass->colorAttachments.size() && gpuRenderPass->colorAttachments[0].loadOp == LoadOp::LOAD) { VkMemoryBarrier barrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; @@ -176,11 +177,11 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo #endif VkRenderPassBeginInfo passBeginInfo{VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO}; - passBeginInfo.renderPass = gpuRenderPass->vkRenderPass; - passBeginInfo.framebuffer = framebuffer; + passBeginInfo.renderPass = gpuRenderPass->vkRenderPass; + passBeginInfo.framebuffer = framebuffer; passBeginInfo.clearValueCount = clearValues.size(); - passBeginInfo.pClearValues = clearValues.data(); - passBeginInfo.renderArea = {{(int)renderArea.x, (int)renderArea.y}, {renderArea.width, renderArea.height}}; + passBeginInfo.pClearValues = clearValues.data(); + passBeginInfo.renderArea = {{(int)renderArea.x, (int)renderArea.y}, {renderArea.width, renderArea.height}}; vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, secondaryCBCount ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); @@ -194,7 +195,7 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo void CCVKCommandBuffer::endRenderPass() { vkCmdEndRenderPass(_gpuCommandBuffer->vkCommandBuffer); -#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL // guard against WAR hazard vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 0, nullptr); #endif @@ -239,7 +240,7 @@ void CCVKCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } if (dynamicOffsetCount) { - _curDynamicOffsetPtrs[set] = dynamicOffsets; + _curDynamicOffsetPtrs[set] = dynamicOffsets; _curDynamicOffsetCounts[set] = dynamicOffsetCount; if (set < _firstDirtyDescriptorSet) _firstDirtyDescriptorSet = set; } @@ -256,8 +257,8 @@ void CCVKCommandBuffer::bindInputAssembler(InputAssembler *ia) { gpuInputAssembler->vertexBufferOffsets.resize(vbCount); } - for (size_t i = 0u; i < vbCount; i++) { - gpuInputAssembler->vertexBuffers[i] = gpuInputAssembler->gpuVertexBuffers[i]->vkBuffer; + for (size_t i = 0u; i < vbCount; ++i) { + gpuInputAssembler->vertexBuffers[i] = gpuInputAssembler->gpuVertexBuffers[i]->vkBuffer; gpuInputAssembler->vertexBufferOffsets[i] = gpuInputAssembler->gpuVertexBuffers[i]->startOffset; } @@ -302,8 +303,8 @@ void CCVKCommandBuffer::setDepthBias(float constant, float clamp, float slope) { math::IsNotEqualF(_curDepthBias.clamp, clamp) || math::IsNotEqualF(_curDepthBias.slope, slope)) { _curDepthBias.constant = constant; - _curDepthBias.clamp = clamp; - _curDepthBias.slope = slope; + _curDepthBias.clamp = clamp; + _curDepthBias.slope = slope; vkCmdSetDepthBias(_gpuCommandBuffer->vkCommandBuffer, constant, clamp, slope); } } @@ -333,7 +334,7 @@ void CCVKCommandBuffer::setDepthBound(float minBounds, float maxBounds) { void CCVKCommandBuffer::setStencilWriteMask(StencilFace face, uint mask) { if ((_curStencilWriteMask.face != face) || (_curStencilWriteMask.write_mask != mask)) { - _curStencilWriteMask.face = face; + _curStencilWriteMask.face = face; _curStencilWriteMask.write_mask = mask; vkCmdSetStencilWriteMask(_gpuCommandBuffer->vkCommandBuffer, face == StencilFace::FRONT ? VK_STENCIL_FACE_FRONT_BIT : VK_STENCIL_FACE_BACK_BIT, mask); @@ -344,8 +345,8 @@ void CCVKCommandBuffer::setStencilCompareMask(StencilFace face, int reference, u if ((_curStencilCompareMask.face != face) || (_curStencilCompareMask.reference != reference) || (_curStencilCompareMask.compareMask != mask)) { - _curStencilCompareMask.face = face; - _curStencilCompareMask.reference = reference; + _curStencilCompareMask.face = face; + _curStencilCompareMask.reference = reference; _curStencilCompareMask.compareMask = mask; VkStencilFaceFlagBits vkFace = (face == StencilFace::FRONT ? VK_STENCIL_FACE_FRONT_BIT : VK_STENCIL_FACE_BACK_BIT); @@ -360,14 +361,14 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { } CCVKGPUInputAssembler *gpuInputAssembler = ((CCVKInputAssembler *)ia)->gpuInputAssembler(); - CCVKGPUBuffer *gpuIndirectBuffer = gpuInputAssembler->gpuIndirectBuffer; + CCVKGPUBuffer * gpuIndirectBuffer = gpuInputAssembler->gpuIndirectBuffer; DrawInfo drawInfo; if (gpuIndirectBuffer) { - uint drawInfoCount = gpuIndirectBuffer->count; - CCVKGPUDevice *gpuDevice = static_cast(_device)->gpuDevice(); - VkDeviceSize offset = gpuIndirectBuffer->startOffset + gpuDevice->curBackBufferIndex * gpuIndirectBuffer->instanceSize; + uint drawInfoCount = gpuIndirectBuffer->count; + CCVKGPUDevice *gpuDevice = static_cast(_device)->gpuDevice(); + VkDeviceSize offset = gpuIndirectBuffer->startOffset + gpuDevice->curBackBufferIndex * gpuIndirectBuffer->instanceSize; if (gpuDevice->useMultiDrawIndirect) { if (gpuIndirectBuffer->isDrawIndirectByIndex) { vkCmdDrawIndexedIndirect(_gpuCommandBuffer->vkCommandBuffer, @@ -384,7 +385,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { } } else { if (gpuIndirectBuffer->isDrawIndirectByIndex) { - for (VkDeviceSize j = 0u; j < drawInfoCount; j++) { + for (VkDeviceSize j = 0u; j < drawInfoCount; ++j) { vkCmdDrawIndexedIndirect(_gpuCommandBuffer->vkCommandBuffer, gpuIndirectBuffer->vkBuffer, offset + j * sizeof(VkDrawIndexedIndirectCommand), @@ -392,7 +393,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { sizeof(VkDrawIndexedIndirectCommand)); } } else { - for (VkDeviceSize j = 0u; j < drawInfoCount; j++) { + for (VkDeviceSize j = 0u; j < drawInfoCount; ++j) { vkCmdDrawIndirect(_gpuCommandBuffer->vkCommandBuffer, gpuIndirectBuffer->vkBuffer, offset + j * sizeof(VkDrawIndirectCommand), @@ -403,7 +404,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { } } else { ((CCVKInputAssembler *)ia)->extractDrawInfo(drawInfo); - uint instanceCount = std::max(drawInfo.instanceCount, 1u); + uint instanceCount = std::max(drawInfo.instanceCount, 1u); bool hasIndexBuffer = gpuInputAssembler->gpuIndexBuffer && drawInfo.indexCount > 0; if (hasIndexBuffer) { @@ -463,37 +464,37 @@ void CCVKCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Text } void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { - VkImageAspectFlags srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - VkImageAspectFlags dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - VkImage srcImage = VK_NULL_HANDLE; - VkImage dstImage = VK_NULL_HANDLE; - VkImageLayout srcImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; - VkImageLayout dstImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; - CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + VkImageAspectFlags srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + VkImageAspectFlags dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + VkImage srcImage = VK_NULL_HANDLE; + VkImage dstImage = VK_NULL_HANDLE; + VkImageLayout srcImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; + VkImageLayout dstImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; + CCVKGPUSwapchain * swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); if (srcTexture) { CCVKGPUTexture *gpuTextureSrc = ((CCVKTexture *)srcTexture)->gpuTexture(); - srcAspectMask = gpuTextureSrc->aspectMask; - srcImage = gpuTextureSrc->vkImage; - srcImageLayout = (gpuTextureSrc->layoutRule == THSVS_IMAGE_LAYOUT_OPTIMAL ? VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL : VK_IMAGE_LAYOUT_GENERAL); + srcAspectMask = gpuTextureSrc->aspectMask; + srcImage = gpuTextureSrc->vkImage; + srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; } else { - srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - srcImage = swapchain->swapchainImages[swapchain->curImageIndex]; + srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + srcImage = swapchain->swapchainImages[swapchain->curImageIndex]; srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL vector &curAccessTypes = swapchain->swapchainImageAccessTypes[swapchain->curImageIndex]; if (std::find(curAccessTypes.begin(), curAccessTypes.end(), THSVS_ACCESS_TRANSFER_READ) == curAccessTypes.end()) { ThsvsImageBarrier barrier{}; - barrier.prevAccessCount = curAccessTypes.size(); - barrier.pPrevAccesses = curAccessTypes.data(); - barrier.nextAccessCount = 1; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; - barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.image = srcImage; + barrier.prevAccessCount = curAccessTypes.size(); + barrier.pPrevAccesses = curAccessTypes.data(); + barrier.nextAccessCount = 1; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; + barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.image = srcImage; barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; @@ -506,27 +507,27 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co if (dstTexture) { CCVKGPUTexture *gpuTextureDst = ((CCVKTexture *)dstTexture)->gpuTexture(); - dstAspectMask = gpuTextureDst->aspectMask; - dstImage = gpuTextureDst->vkImage; - dstImageLayout = (gpuTextureDst->layoutRule == THSVS_IMAGE_LAYOUT_OPTIMAL ? VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL : VK_IMAGE_LAYOUT_GENERAL); + dstAspectMask = gpuTextureDst->aspectMask; + dstImage = gpuTextureDst->vkImage; + dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; } else { - dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - dstImage = swapchain->swapchainImages[swapchain->curImageIndex]; + dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + dstImage = swapchain->swapchainImages[swapchain->curImageIndex]; dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL vector &curAccessTypes = swapchain->swapchainImageAccessTypes[swapchain->curImageIndex]; if (std::find(curAccessTypes.begin(), curAccessTypes.end(), THSVS_ACCESS_TRANSFER_WRITE) == curAccessTypes.end()) { ThsvsImageBarrier barrier{}; - barrier.prevAccessCount = curAccessTypes.size(); - barrier.pPrevAccesses = curAccessTypes.data(); - barrier.nextAccessCount = 1; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; - barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.image = dstImage; + barrier.prevAccessCount = curAccessTypes.size(); + barrier.pPrevAccesses = curAccessTypes.data(); + barrier.nextAccessCount = 1; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.image = dstImage; barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; @@ -539,28 +540,28 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co _blitRegions.resize(count); for (uint i = 0u; i < count; ++i) { - const TextureBlit ®ion = regions[i]; - _blitRegions[i].srcSubresource.aspectMask = srcAspectMask; - _blitRegions[i].srcSubresource.mipLevel = region.srcSubres.mipLevel; + const TextureBlit ®ion = regions[i]; + _blitRegions[i].srcSubresource.aspectMask = srcAspectMask; + _blitRegions[i].srcSubresource.mipLevel = region.srcSubres.mipLevel; _blitRegions[i].srcSubresource.baseArrayLayer = region.srcSubres.baseArrayLayer; - _blitRegions[i].srcSubresource.layerCount = region.srcSubres.layerCount; - _blitRegions[i].srcOffsets[0].x = region.srcOffset.x; - _blitRegions[i].srcOffsets[0].y = region.srcOffset.y; - _blitRegions[i].srcOffsets[0].z = region.srcOffset.z; - _blitRegions[i].srcOffsets[1].x = region.srcExtent.width; - _blitRegions[i].srcOffsets[1].y = region.srcExtent.height; - _blitRegions[i].srcOffsets[1].z = region.srcExtent.depth; + _blitRegions[i].srcSubresource.layerCount = region.srcSubres.layerCount; + _blitRegions[i].srcOffsets[0].x = region.srcOffset.x; + _blitRegions[i].srcOffsets[0].y = region.srcOffset.y; + _blitRegions[i].srcOffsets[0].z = region.srcOffset.z; + _blitRegions[i].srcOffsets[1].x = region.srcExtent.width; + _blitRegions[i].srcOffsets[1].y = region.srcExtent.height; + _blitRegions[i].srcOffsets[1].z = region.srcExtent.depth; - _blitRegions[i].dstSubresource.aspectMask = dstAspectMask; - _blitRegions[i].dstSubresource.mipLevel = region.dstSubres.mipLevel; + _blitRegions[i].dstSubresource.aspectMask = dstAspectMask; + _blitRegions[i].dstSubresource.mipLevel = region.dstSubres.mipLevel; _blitRegions[i].dstSubresource.baseArrayLayer = region.dstSubres.baseArrayLayer; - _blitRegions[i].dstSubresource.layerCount = region.dstSubres.layerCount; - _blitRegions[i].dstOffsets[0].x = region.dstOffset.x; - _blitRegions[i].dstOffsets[0].y = region.dstOffset.y; - _blitRegions[i].dstOffsets[0].z = region.dstOffset.z; - _blitRegions[i].dstOffsets[1].x = region.dstExtent.width; - _blitRegions[i].dstOffsets[1].y = region.dstExtent.height; - _blitRegions[i].dstOffsets[1].z = region.dstExtent.depth; + _blitRegions[i].dstSubresource.layerCount = region.dstSubres.layerCount; + _blitRegions[i].dstOffsets[0].x = region.dstOffset.x; + _blitRegions[i].dstOffsets[0].y = region.dstOffset.y; + _blitRegions[i].dstOffsets[0].z = region.dstOffset.z; + _blitRegions[i].dstOffsets[1].x = region.dstExtent.width; + _blitRegions[i].dstOffsets[1].y = region.dstExtent.height; + _blitRegions[i].dstOffsets[1].z = region.dstExtent.depth; } vkCmdBlitImage(_gpuCommandBuffer->vkCommandBuffer, @@ -570,18 +571,18 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co } void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { - CCVKDevice *device = (CCVKDevice *)_device; - CCVKGPUDevice *gpuDevice = device->gpuDevice(); - CCVKGPUPipelineLayout *pipelineLayout = _curGPUPipelineState->gpuPipelineLayout; - vector &dynamicOffsetOffsets = pipelineLayout->dynamicOffsetOffsets; - uint descriptorSetCount = pipelineLayout->setLayouts.size(); + CCVKDevice * device = (CCVKDevice *)_device; + CCVKGPUDevice * gpuDevice = device->gpuDevice(); + CCVKGPUPipelineLayout *pipelineLayout = _curGPUPipelineState->gpuPipelineLayout; + vector & dynamicOffsetOffsets = pipelineLayout->dynamicOffsetOffsets; + uint descriptorSetCount = pipelineLayout->setLayouts.size(); _curDynamicOffsets.resize(pipelineLayout->dynamicOffsetCount); uint dirtyDescriptorSetCount = descriptorSetCount - _firstDirtyDescriptorSet; for (uint i = _firstDirtyDescriptorSet; i < descriptorSetCount; ++i) { if (_curGPUDescriptorSets[i]) { const CCVKGPUDescriptorSet::Instance &instance = _curGPUDescriptorSets[i]->instances[gpuDevice->curBackBufferIndex]; - _curVkDescriptorSets[i] = instance.vkDescriptorSet; + _curVkDescriptorSets[i] = instance.vkDescriptorSet; } else { _curVkDescriptorSets[i] = pipelineLayout->setLayouts[i]->defaultDescriptorSet; } @@ -592,8 +593,8 @@ void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { } uint dynamicOffsetStartIndex = dynamicOffsetOffsets[_firstDirtyDescriptorSet]; - uint dynamicOffsetEndIndex = dynamicOffsetOffsets[_firstDirtyDescriptorSet + dirtyDescriptorSetCount]; - uint dynamicOffsetCount = dynamicOffsetEndIndex - dynamicOffsetStartIndex; + uint dynamicOffsetEndIndex = dynamicOffsetOffsets[_firstDirtyDescriptorSet + dirtyDescriptorSetCount]; + uint dynamicOffsetCount = dynamicOffsetEndIndex - dynamicOffsetStartIndex; vkCmdBindDescriptorSets(_gpuCommandBuffer->vkCommandBuffer, bindPoint, pipelineLayout->vkPipelineLayout, _firstDirtyDescriptorSet, dirtyDescriptorSetCount, @@ -625,25 +626,24 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text } _accessTypes.resize(count); - VkMemoryBarrier memoryBarrier; - VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; - VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; - uint32_t memoryBarrierCount = barrier ? 1 : 0; - VkMemoryBarrier *pMemoryBarriers = barrier ? &memoryBarrier : nullptr; - uint32_t imageMemoryBarrierCount = textureBarrierCount; - VkImageMemoryBarrier *pImageMemoryBarriers = nullptr; - uint index = 0u; + VkMemoryBarrier memoryBarrier; + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + uint32_t memoryBarrierCount = barrier ? 1 : 0; + VkMemoryBarrier * pMemoryBarriers = barrier ? &memoryBarrier : nullptr; + VkImageMemoryBarrier *pImageMemoryBarriers = nullptr; + uint index = 0u; if (barrier) { ThsvsGlobalBarrier globalBarrier{}; globalBarrier.prevAccessCount = barrier->prevAccessCount; - globalBarrier.pPrevAccesses = _accessTypes.data() + index; + globalBarrier.pPrevAccesses = _accessTypes.data() + index; for (uint i = 0u; i < barrier->prevAccessCount; ++i, ++index) { _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)barrier->prevAccesses[i]]; } globalBarrier.nextAccessCount = barrier->nextAccessCount; - globalBarrier.pNextAccesses = _accessTypes.data() + index; + globalBarrier.pNextAccesses = _accessTypes.data() + index; for (uint i = 0u; i < barrier->nextAccessCount; ++i, ++index) { _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)barrier->nextAccesses[i]]; } @@ -663,40 +663,39 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text VkPipelineStageFlags tempDstStageMask = 0; for (uint b = 0u; b < textureBarrierCount; ++b) { const TextureBarrier &textureBarrier = textureBarriers[b]; - ThsvsImageBarrier imageBarrier{}; + ThsvsImageBarrier imageBarrier{}; imageBarrier.prevAccessCount = textureBarrier.prevAccessCount; - imageBarrier.pPrevAccesses = _accessTypes.data() + index; + imageBarrier.pPrevAccesses = _accessTypes.data() + index; for (uint i = 0u; i < textureBarrier.prevAccessCount; ++i, ++index) { _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.prevAccesses[i]]; } imageBarrier.nextAccessCount = textureBarrier.nextAccessCount; - imageBarrier.pNextAccesses = _accessTypes.data() + index; + imageBarrier.pNextAccesses = _accessTypes.data() + index; for (uint i = 0u; i < textureBarrier.nextAccessCount; ++i, ++index) { _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.nextAccesses[i]]; } imageBarrier.discardContents = textureBarrier.discardContents; + imageBarrier.prevLayout = imageBarrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - CCVKGPUTexture *gpuTexture = nullptr; - CCVKGPUSwapchain *swapchain = nullptr; + CCVKGPUTexture * gpuTexture = nullptr; + CCVKGPUSwapchain *swapchain = nullptr; if (textureBarrier.texture) { - gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); - imageBarrier.image = gpuTexture->vkImage; + gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); + imageBarrier.image = gpuTexture->vkImage; imageBarrier.subresourceRange.aspectMask = gpuTexture->aspectMask; - imageBarrier.prevLayout = imageBarrier.nextLayout = gpuTexture->layoutRule; } else { - swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); - imageBarrier.image = swapchain->swapchainImages[swapchain->curImageIndex]; + swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + imageBarrier.image = swapchain->swapchainImages[swapchain->curImageIndex]; imageBarrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - imageBarrier.prevLayout = imageBarrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; } - imageBarrier.subresourceRange.baseMipLevel = 0u; - imageBarrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + imageBarrier.subresourceRange.baseMipLevel = 0u; + imageBarrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; imageBarrier.subresourceRange.baseArrayLayer = 0u; - imageBarrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + imageBarrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; imageBarrier.srcQueueFamilyIndex = textureBarrier.srcQueue ? ((CCVKQueue *)textureBarrier.srcQueue)->gpuQueue()->queueFamilyIndex @@ -718,7 +717,7 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text } vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, memoryBarrierCount, pMemoryBarriers, - 0, nullptr, imageMemoryBarrierCount, pImageMemoryBarriers); + 0, nullptr, textureBarrierCount, pImageMemoryBarriers); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 081513226d..e3b684eb86 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -69,11 +69,11 @@ void insertVkDynamicStates(vector &out, const vectortype) { case QueueType::GRAPHICS: - queueType = VK_QUEUE_GRAPHICS_BIT; + queueType = VK_QUEUE_GRAPHICS_BIT; needPresentable = VK_TRUE; break; case QueueType::COMPUTE: queueType = VK_QUEUE_COMPUTE_BIT; break; @@ -84,8 +84,8 @@ void CCVKCmdFuncGetDeviceQueue(CCVKDevice *device, CCVKGPUQueue *gpuQueue) { size_t queueCount = context->queueFamilyProperties.size(); for (size_t i = 0u; i < queueCount; ++i) { - const VkQueueFamilyProperties &properties = context->queueFamilyProperties[i]; - const VkBool32 isPresentable = context->queueFamilyPresentables[i]; + const VkQueueFamilyProperties &properties = context->queueFamilyProperties[i]; + const VkBool32 isPresentable = context->queueFamilyPresentables[i]; if (properties.queueCount > 0 && (properties.queueFlags & queueType) && (!needPresentable || isPresentable)) { vkGetDeviceQueue(device->gpuDevice()->vkDevice, i, 0, &gpuQueue->vkQueue); gpuQueue->queueFamilyIndex = i; @@ -97,9 +97,9 @@ void CCVKCmdFuncGetDeviceQueue(CCVKDevice *device, CCVKGPUQueue *gpuQueue) { void CCVKCmdFuncCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { if (!gpuTexture->size) return; - VkFormat format = MapVkFormat(gpuTexture->format); + VkFormat format = MapVkFormat(gpuTexture->format); VkFormatFeatureFlags features = MapVkFormatFeatureFlags(gpuTexture->usage); - VkFormatProperties formatProperties; + VkFormatProperties formatProperties; vkGetPhysicalDeviceFormatProperties(device->gpuContext()->physicalDevice, format, &formatProperties); if (!(formatProperties.optimalTilingFeatures & features)) { const char *formatName = GFX_FORMAT_INFOS[(uint)gpuTexture->format].name.c_str(); @@ -113,15 +113,15 @@ void CCVKCmdFuncCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { } VkImageCreateInfo createInfo{VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO}; - createInfo.flags = MapVkImageCreateFlags(gpuTexture->type); - createInfo.imageType = MapVkImageType(gpuTexture->type); - createInfo.format = format; - createInfo.extent = {gpuTexture->width, gpuTexture->height, gpuTexture->depth}; - createInfo.mipLevels = gpuTexture->mipLevels; - createInfo.arrayLayers = gpuTexture->arrayLayers; - createInfo.samples = MapVkSampleCount(gpuTexture->samples); - createInfo.tiling = VK_IMAGE_TILING_OPTIMAL; - createInfo.usage = usageFlags; + createInfo.flags = MapVkImageCreateFlags(gpuTexture->type); + createInfo.imageType = MapVkImageType(gpuTexture->type); + createInfo.format = format; + createInfo.extent = {gpuTexture->width, gpuTexture->height, gpuTexture->depth}; + createInfo.mipLevels = gpuTexture->mipLevels; + createInfo.arrayLayers = gpuTexture->arrayLayers; + createInfo.samples = MapVkSampleCount(gpuTexture->samples); + createInfo.tiling = VK_IMAGE_TILING_OPTIMAL; + createInfo.usage = usageFlags; createInfo.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; VmaAllocationCreateInfo allocInfo{}; @@ -139,14 +139,14 @@ void CCVKCmdFuncCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTex if (!gpuTextureView->gpuTexture || !gpuTextureView->gpuTexture->vkImage) return; VkImageViewCreateInfo createInfo{VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO}; - createInfo.image = gpuTextureView->gpuTexture->vkImage; - createInfo.viewType = MapVkImageViewType(gpuTextureView->type); - createInfo.format = MapVkFormat(gpuTextureView->format); - createInfo.subresourceRange.aspectMask = GFX_FORMAT_INFOS[(uint)gpuTextureView->format].hasDepth ? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_COLOR_BIT; - createInfo.subresourceRange.baseMipLevel = gpuTextureView->baseLevel; - createInfo.subresourceRange.levelCount = gpuTextureView->levelCount; + createInfo.image = gpuTextureView->gpuTexture->vkImage; + createInfo.viewType = MapVkImageViewType(gpuTextureView->type); + createInfo.format = MapVkFormat(gpuTextureView->format); + createInfo.subresourceRange.aspectMask = GFX_FORMAT_INFOS[(uint)gpuTextureView->format].hasDepth ? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_COLOR_BIT; + createInfo.subresourceRange.baseMipLevel = gpuTextureView->baseLevel; + createInfo.subresourceRange.levelCount = gpuTextureView->levelCount; createInfo.subresourceRange.baseArrayLayer = gpuTextureView->baseLayer; - createInfo.subresourceRange.layerCount = gpuTextureView->layerCount; + createInfo.subresourceRange.layerCount = gpuTextureView->layerCount; VK_CHECK(vkCreateImageView(device->gpuDevice()->vkDevice, &createInfo, nullptr, &gpuTextureView->vkImageView)); @@ -155,21 +155,21 @@ void CCVKCmdFuncCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTex void CCVKCmdFuncCreateSampler(CCVKDevice *device, CCVKGPUSampler *gpuSampler) { VkSamplerCreateInfo createInfo{VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO}; - CCVKGPUContext *context = device->gpuContext(); + CCVKGPUContext * context = device->gpuContext(); - createInfo.magFilter = VK_FILTERS[(uint)gpuSampler->magFilter]; - createInfo.minFilter = VK_FILTERS[(uint)gpuSampler->minFilter]; - createInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODES[(uint)gpuSampler->mipFilter]; - createInfo.addressModeU = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressU]; - createInfo.addressModeV = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressV]; - createInfo.addressModeW = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressW]; - createInfo.mipLodBias = gpuSampler->mipLODBias; + createInfo.magFilter = VK_FILTERS[(uint)gpuSampler->magFilter]; + createInfo.minFilter = VK_FILTERS[(uint)gpuSampler->minFilter]; + createInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODES[(uint)gpuSampler->mipFilter]; + createInfo.addressModeU = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressU]; + createInfo.addressModeV = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressV]; + createInfo.addressModeW = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressW]; + createInfo.mipLodBias = gpuSampler->mipLODBias; createInfo.anisotropyEnable = gpuSampler->maxAnisotropy && context->physicalDeviceFeatures.samplerAnisotropy; - createInfo.maxAnisotropy = std::min(context->physicalDeviceProperties.limits.maxSamplerAnisotropy, (float)gpuSampler->maxAnisotropy); - createInfo.compareEnable = VK_TRUE; - createInfo.compareOp = VK_CMP_FUNCS[(uint)gpuSampler->cmpFunc]; - createInfo.minLod = (float)gpuSampler->minLOD; - createInfo.maxLod = (float)gpuSampler->maxLOD; + createInfo.maxAnisotropy = std::min(context->physicalDeviceProperties.limits.maxSamplerAnisotropy, (float)gpuSampler->maxAnisotropy); + createInfo.compareEnable = VK_TRUE; + createInfo.compareOp = VK_CMP_FUNCS[(uint)gpuSampler->cmpFunc]; + createInfo.minLod = (float)gpuSampler->minLOD; + createInfo.maxLod = (float)gpuSampler->maxLOD; //createInfo.borderColor; // TODO VK_CHECK(vkCreateSampler(device->gpuDevice()->vkDevice, &createInfo, nullptr, &gpuSampler->vkSampler)); @@ -185,7 +185,7 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { gpuBuffer->instanceSize = 0u; VkBufferCreateInfo bufferInfo{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; - bufferInfo.size = gpuBuffer->size; + bufferInfo.size = gpuBuffer->size; bufferInfo.usage = MapVkBufferUsageFlagBits(gpuBuffer->usage); VmaAllocationCreateInfo allocInfo{}; @@ -212,101 +212,132 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { VK_CHECK(vmaCreateBuffer(device->gpuDevice()->memoryAllocator, &bufferInfo, &allocInfo, &gpuBuffer->vkBuffer, &gpuBuffer->vmaAllocation, &res)); //CC_LOG_DEBUG("Allocated buffer: %llu, %llx %llx %llu %x", res.size, gpuBuffer->vkBuffer, res.deviceMemory, res.offset, res.pMappedData); - gpuBuffer->mappedData = (uint8_t *)res.pMappedData; + gpuBuffer->mappedData = (uint8_t *)res.pMappedData; gpuBuffer->startOffset = 0; // we are creating one VkBuffer each for now } void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRenderPass) { + static vector attachmentDescriptions; + static vector subpassDescriptions; + static vector attachmentReferences; + static vector subpassDependencies; + const size_t colorAttachmentCount = gpuRenderPass->colorAttachments.size(); - const size_t hasDepth = gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN ? 1 : 0; - vector attachmentDescriptions(colorAttachmentCount + hasDepth); + const size_t hasDepth = gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN ? 1 : 0; + attachmentDescriptions.resize(colorAttachmentCount + hasDepth); gpuRenderPass->clearValues.resize(colorAttachmentCount + hasDepth); - ThsvsImageBarrier barrier{1, nullptr, 1, nullptr, THSVS_IMAGE_LAYOUT_OPTIMAL, THSVS_IMAGE_LAYOUT_OPTIMAL, false}; - VkPipelineStageFlags srcStages = 0; - VkPipelineStageFlags dstStages = 0; - VkImageMemoryBarrier vkBarrier; - for (size_t i = 0u; i < colorAttachmentCount; i++) { + for (size_t i = 0u; i < colorAttachmentCount; ++i) { const ColorAttachment &attachment = gpuRenderPass->colorAttachments[i]; - barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)attachment.beginAccess]; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)attachment.endAccess]; - if (attachment.loadOp != LoadOp::LOAD) barrier.discardContents = true; - thsvsGetVulkanImageMemoryBarrier(barrier, &srcStages, &dstStages, &vkBarrier); + ThsvsAccessType srcAccess = THSVS_ACCESS_TYPES[(uint)attachment.beginAccess]; + ThsvsAccessType dstAccess = THSVS_ACCESS_TYPES[(uint)attachment.endAccess]; - attachmentDescriptions[i].format = MapVkFormat(attachment.format); - attachmentDescriptions[i].samples = MapVkSampleCount(attachment.sampleCount); - attachmentDescriptions[i].loadOp = MapVkLoadOp(attachment.loadOp); - attachmentDescriptions[i].storeOp = MapVkStoreOp(attachment.storeOp); - attachmentDescriptions[i].stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; + attachmentDescriptions[i].format = MapVkFormat(attachment.format); + attachmentDescriptions[i].samples = MapVkSampleCount(attachment.sampleCount); + attachmentDescriptions[i].loadOp = MapVkLoadOp(attachment.loadOp); + attachmentDescriptions[i].storeOp = MapVkStoreOp(attachment.storeOp); + attachmentDescriptions[i].stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; attachmentDescriptions[i].stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; - attachmentDescriptions[i].initialLayout = vkBarrier.oldLayout; - attachmentDescriptions[i].finalLayout = vkBarrier.newLayout; + attachmentDescriptions[i].initialLayout = ThsvsAccessMap[srcAccess].imageLayout; + attachmentDescriptions[i].finalLayout = ThsvsAccessMap[dstAccess].imageLayout; } if (hasDepth) { const DepthStencilAttachment &depthStencilAttachment = gpuRenderPass->depthStencilAttachment; - barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)depthStencilAttachment.beginAccess]; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)depthStencilAttachment.endAccess]; - if (depthStencilAttachment.depthLoadOp != LoadOp::LOAD && depthStencilAttachment.stencilLoadOp != LoadOp::LOAD) barrier.discardContents = true; - thsvsGetVulkanImageMemoryBarrier(barrier, &srcStages, &dstStages, &vkBarrier); + ThsvsAccessType srcAccess = THSVS_ACCESS_TYPES[(uint)depthStencilAttachment.beginAccess]; + ThsvsAccessType dstAccess = THSVS_ACCESS_TYPES[(uint)depthStencilAttachment.endAccess]; - attachmentDescriptions[colorAttachmentCount].format = MapVkFormat(depthStencilAttachment.format); - attachmentDescriptions[colorAttachmentCount].samples = MapVkSampleCount(depthStencilAttachment.sampleCount); - attachmentDescriptions[colorAttachmentCount].loadOp = MapVkLoadOp(depthStencilAttachment.depthLoadOp); - attachmentDescriptions[colorAttachmentCount].storeOp = MapVkStoreOp(depthStencilAttachment.depthStoreOp); - attachmentDescriptions[colorAttachmentCount].stencilLoadOp = MapVkLoadOp(depthStencilAttachment.stencilLoadOp); + attachmentDescriptions[colorAttachmentCount].format = MapVkFormat(depthStencilAttachment.format); + attachmentDescriptions[colorAttachmentCount].samples = MapVkSampleCount(depthStencilAttachment.sampleCount); + attachmentDescriptions[colorAttachmentCount].loadOp = MapVkLoadOp(depthStencilAttachment.depthLoadOp); + attachmentDescriptions[colorAttachmentCount].storeOp = MapVkStoreOp(depthStencilAttachment.depthStoreOp); + attachmentDescriptions[colorAttachmentCount].stencilLoadOp = MapVkLoadOp(depthStencilAttachment.stencilLoadOp); attachmentDescriptions[colorAttachmentCount].stencilStoreOp = MapVkStoreOp(depthStencilAttachment.stencilStoreOp); - attachmentDescriptions[colorAttachmentCount].initialLayout = vkBarrier.oldLayout; - attachmentDescriptions[colorAttachmentCount].finalLayout = vkBarrier.newLayout; + attachmentDescriptions[colorAttachmentCount].initialLayout = ThsvsAccessMap[srcAccess].imageLayout; + attachmentDescriptions[colorAttachmentCount].finalLayout = ThsvsAccessMap[dstAccess].imageLayout; } - const size_t subpassCount = gpuRenderPass->subPasses.size(); - vector subpassDescriptions(1); - vector attachmentReferences; + size_t subpassCount = gpuRenderPass->subPasses.size(); + attachmentReferences.clear(); + subpassDependencies.clear(); if (subpassCount) { // pass on user-specified subpasses - subpassDescriptions.resize(subpassCount); - for (size_t i = 0u; i < subpassCount; i++) { - const SubPassInfo &subPassInfo = gpuRenderPass->subPasses[i]; - subpassDescriptions[i].pipelineBindPoint = VK_PIPELINE_BIND_POINTS[(uint)subPassInfo.bindPoint]; - // TODO - } + subpassDescriptions.resize(subpassCount, {}); + // TODO + //for (size_t i = 0u; i < subpassCount; ++i) { + // const SubPassInfo &subPassInfo = gpuRenderPass->subPasses[i]; + // subpassDescriptions[i].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; + //} } else { // generate a default subpass from attachment info - for (size_t i = 0u; i < colorAttachmentCount; i++) { + subpassCount = 1u; + subpassDescriptions.resize(subpassCount, {}); + for (size_t i = 0u; i < colorAttachmentCount; ++i) { attachmentReferences.push_back({(uint32_t)i, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL}); } attachmentReferences.push_back({(uint32_t)colorAttachmentCount, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL}); + subpassDescriptions[0].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; subpassDescriptions[0].colorAttachmentCount = attachmentReferences.size() - 1; - subpassDescriptions[0].pColorAttachments = attachmentReferences.data(); + subpassDescriptions[0].pColorAttachments = attachmentReferences.data(); if (hasDepth) subpassDescriptions[0].pDepthStencilAttachment = &attachmentReferences.back(); + + // explicitly declare dependencies if needed + VkSubpassDependency dependency{0, VK_SUBPASS_EXTERNAL}; + auto dependencyCheck = [&dependency, colorAttachmentCount, gpuRenderPass](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { + if (attachmentDescriptions[ref.attachment].finalLayout != ref.layout) { + AccessType endAccess = AccessType::NONE; + if (ref.attachment < colorAttachmentCount) { + endAccess = gpuRenderPass->colorAttachments[ref.attachment].endAccess; + } else { + endAccess = gpuRenderPass->depthStencilAttachment.endAccess; + } + const ThsvsVkAccessInfo &info = ThsvsAccessMap[THSVS_ACCESS_TYPES[(uint)endAccess]]; + if (info.accessMask) { + dependency.srcStageMask |= srcStage; + dependency.srcAccessMask |= srcAccess; + dependency.dstAccessMask |= info.accessMask; + dependency.dstStageMask |= info.stageMask; + } + } + }; + for (size_t j = 0u; j < subpassDescriptions[0].colorAttachmentCount; ++j) { + dependencyCheck(subpassDescriptions[0].pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); + } + if (subpassDescriptions[0].pDepthStencilAttachment) { + dependencyCheck(*subpassDescriptions[0].pDepthStencilAttachment, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); + } + if (dependency.dstAccessMask) { + subpassDependencies.push_back(dependency); + } } VkRenderPassCreateInfo renderPassCreateInfo{VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO}; renderPassCreateInfo.attachmentCount = attachmentDescriptions.size(); - renderPassCreateInfo.pAttachments = attachmentDescriptions.data(); - renderPassCreateInfo.subpassCount = subpassDescriptions.size(); - renderPassCreateInfo.pSubpasses = subpassDescriptions.data(); + renderPassCreateInfo.pAttachments = attachmentDescriptions.data(); + renderPassCreateInfo.subpassCount = subpassDescriptions.size(); + renderPassCreateInfo.pSubpasses = subpassDescriptions.data(); + renderPassCreateInfo.dependencyCount = subpassDependencies.size(); + renderPassCreateInfo.pDependencies = subpassDependencies.data(); VK_CHECK(vkCreateRenderPass(device->gpuDevice()->vkDevice, &renderPassCreateInfo, nullptr, &gpuRenderPass->vkRenderPass)); } void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFramebuffer) { - size_t colorViewCount = gpuFramebuffer->gpuColorViews.size(); - bool depthSpecified = gpuFramebuffer->gpuDepthStencilView; - bool hasDepth = gpuFramebuffer->gpuRenderPass->depthStencilAttachment.format == device->getDepthStencilFormat(); + size_t colorViewCount = gpuFramebuffer->gpuColorViews.size(); + bool depthSpecified = gpuFramebuffer->gpuDepthStencilView; + bool hasDepth = gpuFramebuffer->gpuRenderPass->depthStencilAttachment.format == device->getDepthStencilFormat(); vector attachments(colorViewCount + (depthSpecified || hasDepth ? 1 : 0)); - uint swapchainImageIndices = 0; - CCVKGPUTexture *gpuTexture = nullptr; - for (size_t i = 0u; i < colorViewCount; i++) { + uint swapchainImageIndices = 0; + CCVKGPUTexture * gpuTexture = nullptr; + for (size_t i = 0u; i < colorViewCount; ++i) { CCVKGPUTextureView *texView = gpuFramebuffer->gpuColorViews[i]; if (texView) { - gpuTexture = gpuFramebuffer->gpuColorViews[i]->gpuTexture; + gpuTexture = gpuFramebuffer->gpuColorViews[i]->gpuTexture; attachments[i] = gpuFramebuffer->gpuColorViews[i]->vkImageView; } else { swapchainImageIndices |= (1 << i); } } if (depthSpecified) { - gpuTexture = gpuFramebuffer->gpuDepthStencilView->gpuTexture; + gpuTexture = gpuFramebuffer->gpuDepthStencilView->gpuTexture; attachments[colorViewCount] = gpuFramebuffer->gpuDepthStencilView->vkImageView; } else if (hasDepth) { swapchainImageIndices |= (1 << colorViewCount); @@ -315,19 +346,19 @@ void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFra if (gpuFramebuffer->isOffscreen) { VkFramebufferCreateInfo createInfo{VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO}; - createInfo.renderPass = gpuFramebuffer->gpuRenderPass->vkRenderPass; + createInfo.renderPass = gpuFramebuffer->gpuRenderPass->vkRenderPass; createInfo.attachmentCount = attachments.size(); - createInfo.pAttachments = attachments.data(); - createInfo.width = gpuTexture ? gpuTexture->width : 1; - createInfo.height = gpuTexture ? gpuTexture->height : 1; - createInfo.layers = 1; + createInfo.pAttachments = attachments.data(); + createInfo.width = gpuTexture ? gpuTexture->width : 1; + createInfo.height = gpuTexture ? gpuTexture->height : 1; + createInfo.layers = 1; VK_CHECK(vkCreateFramebuffer(device->gpuDevice()->vkDevice, &createInfo, nullptr, &gpuFramebuffer->vkFramebuffer)); } else { // swapchain-related framebuffers need special treatments: rebuild is needed // whenever a user-specified attachment or swapchain itself is changed - gpuFramebuffer->swapchain = device->gpuSwapchain(); - FramebufferListMap &fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; + gpuFramebuffer->swapchain = device->gpuSwapchain(); + FramebufferListMap & fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; FramebufferListMapIter fboListMapIter = fboListMap.find(gpuFramebuffer); if (fboListMapIter != fboListMap.end() && fboListMapIter->second.size()) { return; @@ -339,14 +370,14 @@ void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFra fboListMap.emplace(std::piecewise_construct, std::forward_as_tuple(gpuFramebuffer), std::forward_as_tuple(swapchainImageCount)); } VkFramebufferCreateInfo createInfo{VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO}; - createInfo.renderPass = gpuFramebuffer->gpuRenderPass->vkRenderPass; + createInfo.renderPass = gpuFramebuffer->gpuRenderPass->vkRenderPass; createInfo.attachmentCount = attachments.size(); - createInfo.pAttachments = attachments.data(); - createInfo.width = device->getWidth(); - createInfo.height = device->getHeight(); - createInfo.layers = 1; - for (size_t i = 0u; i < swapchainImageCount; i++) { - for (size_t j = 0u; j < colorViewCount; j++) { + createInfo.pAttachments = attachments.data(); + createInfo.width = device->getWidth(); + createInfo.height = device->getHeight(); + createInfo.layers = 1; + for (size_t i = 0u; i < swapchainImageCount; ++i) { + for (size_t j = 0u; j < colorViewCount; ++j) { if (swapchainImageIndices & (1 << j)) { attachments[j] = gpuFramebuffer->swapchain->vkSwapchainImageViews[i]; } @@ -361,32 +392,32 @@ void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFra void CCVKCmdFuncCreateShader(CCVKDevice *device, CCVKGPUShader *gpuShader) { for (CCVKGPUShaderStage &stage : gpuShader->gpuStages) { - vector spirv = GLSL2SPIRV(stage.type, "#version 450\n" + stage.source, ((CCVKContext *)device->getContext())->minorVersion()); + vector spirv = GLSL2SPIRV(stage.type, "#version 450\n" + stage.source, ((CCVKContext *)device->getContext())->minorVersion()); VkShaderModuleCreateInfo createInfo{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; createInfo.codeSize = spirv.size() * sizeof(unsigned int); - createInfo.pCode = spirv.data(); + createInfo.pCode = spirv.data(); VK_CHECK(vkCreateShaderModule(device->gpuDevice()->vkDevice, &createInfo, nullptr, &stage.vkShader)); } CC_LOG_INFO("Shader '%s' compilation succeeded.", gpuShader->name.c_str()); } void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { - CCVKGPUDevice *gpuDevice = device->gpuDevice(); - size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); + CCVKGPUDevice *gpuDevice = device->gpuDevice(); + size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); gpuDescriptorSetLayout->vkBindings.resize(bindingCount); - for (size_t i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; - VkDescriptorSetLayoutBinding &vkBinding = gpuDescriptorSetLayout->vkBindings[i]; - vkBinding.stageFlags = MapVkShaderStageFlags(binding.stageFlags); - vkBinding.descriptorType = MapVkDescriptorType(binding.descriptorType); - vkBinding.binding = binding.binding; - vkBinding.descriptorCount = binding.count; + for (size_t i = 0u; i < bindingCount; ++i) { + const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; + VkDescriptorSetLayoutBinding & vkBinding = gpuDescriptorSetLayout->vkBindings[i]; + vkBinding.stageFlags = MapVkShaderStageFlags(binding.stageFlags); + vkBinding.descriptorType = MapVkDescriptorType(binding.descriptorType); + vkBinding.binding = binding.binding; + vkBinding.descriptorCount = binding.count; } VkDescriptorSetLayoutCreateInfo setCreateInfo{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO}; setCreateInfo.bindingCount = bindingCount; - setCreateInfo.pBindings = gpuDescriptorSetLayout->vkBindings.data(); + setCreateInfo.pBindings = gpuDescriptorSetLayout->vkBindings.data(); VK_CHECK(vkCreateDescriptorSetLayout(gpuDevice->vkDevice, &setCreateInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorSetLayout)); gpuDescriptorSetLayout->pool.link(gpuDevice, gpuDescriptorSetLayout->maxSetsPerPool, gpuDescriptorSetLayout->vkBindings, gpuDescriptorSetLayout->vkDescriptorSetLayout); @@ -397,40 +428,40 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS const vector &bindings = gpuDescriptorSetLayout->vkBindings; vector entries(bindingCount); - for (size_t j = 0u, k = 0u; j < bindingCount; j++) { + for (size_t j = 0u, k = 0u; j < bindingCount; ++j) { const VkDescriptorSetLayoutBinding &binding = bindings[j]; if (binding.descriptorType != VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) { - entries[j].dstBinding = binding.binding; + entries[j].dstBinding = binding.binding; entries[j].dstArrayElement = 0; entries[j].descriptorCount = binding.descriptorCount; - entries[j].descriptorType = binding.descriptorType; - entries[j].offset = sizeof(CCVKDescriptorInfo) * k; - entries[j].stride = sizeof(CCVKDescriptorInfo); + entries[j].descriptorType = binding.descriptorType; + entries[j].offset = sizeof(CCVKDescriptorInfo) * k; + entries[j].stride = sizeof(CCVKDescriptorInfo); k += binding.descriptorCount; } // TODO: inline UBOs } VkDescriptorUpdateTemplateCreateInfo createInfo = {VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO}; - createInfo.descriptorUpdateEntryCount = bindingCount; - createInfo.pDescriptorUpdateEntries = entries.data(); - createInfo.templateType = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET; - createInfo.descriptorSetLayout = gpuDescriptorSetLayout->vkDescriptorSetLayout; + createInfo.descriptorUpdateEntryCount = bindingCount; + createInfo.pDescriptorUpdateEntries = entries.data(); + createInfo.templateType = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET; + createInfo.descriptorSetLayout = gpuDescriptorSetLayout->vkDescriptorSetLayout; VK_CHECK(vkCreateDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, &createInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate)); } } void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout) { - CCVKGPUDevice *gpuDevice = device->gpuDevice(); - size_t layoutCount = gpuPipelineLayout->setLayouts.size(); + CCVKGPUDevice *gpuDevice = device->gpuDevice(); + size_t layoutCount = gpuPipelineLayout->setLayouts.size(); vector descriptorSetLayouts(layoutCount); - for (uint i = 0; i < layoutCount; i++) { + for (uint i = 0; i < layoutCount; ++i) { descriptorSetLayouts[i] = gpuPipelineLayout->setLayouts[i]->vkDescriptorSetLayout; } VkPipelineLayoutCreateInfo pipelineLayoutCreateInfo{VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO}; pipelineLayoutCreateInfo.setLayoutCount = layoutCount; - pipelineLayoutCreateInfo.pSetLayouts = descriptorSetLayouts.data(); + pipelineLayoutCreateInfo.pSetLayouts = descriptorSetLayouts.data(); VK_CHECK(vkCreatePipelineLayout(gpuDevice->vkDevice, &pipelineLayoutCreateInfo, nullptr, &gpuPipelineLayout->vkPipelineLayout)); } @@ -439,13 +470,13 @@ void CCVKCmdFuncCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineSt ///////////////////// Shader Stage ///////////////////// - const CCVKGPUShaderStageList &stages = gpuPipelineState->gpuShader->gpuStages; + const CCVKGPUShaderStageList & stages = gpuPipelineState->gpuShader->gpuStages; VkPipelineShaderStageCreateInfo stageInfo{VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; - stageInfo.stage = MapVkShaderStageFlagBits(stages[0].type); + stageInfo.stage = MapVkShaderStageFlagBits(stages[0].type); stageInfo.module = stages[0].vkShader; - stageInfo.pName = "main"; + stageInfo.pName = "main"; - createInfo.stage = stageInfo; + createInfo.stage = stageInfo; createInfo.layout = gpuPipelineState->gpuPipelineLayout->vkPipelineLayout; ///////////////////// Creation ///////////////////// @@ -459,34 +490,34 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS ///////////////////// Shader Stage ///////////////////// - const CCVKGPUShaderStageList &stages = gpuPipelineState->gpuShader->gpuStages; - const size_t stageCount = stages.size(); + const CCVKGPUShaderStageList & stages = gpuPipelineState->gpuShader->gpuStages; + const size_t stageCount = stages.size(); vector stageInfos(stageCount, {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}); - for (size_t i = 0u; i < stageCount; i++) { - stageInfos[i].stage = MapVkShaderStageFlagBits(stages[i].type); + for (size_t i = 0u; i < stageCount; ++i) { + stageInfos[i].stage = MapVkShaderStageFlagBits(stages[i].type); stageInfos[i].module = stages[i].vkShader; - stageInfos[i].pName = "main"; + stageInfos[i].pName = "main"; } createInfo.stageCount = stageCount; - createInfo.pStages = stageInfos.data(); + createInfo.pStages = stageInfos.data(); ///////////////////// Input State ///////////////////// - const AttributeList &attributes = gpuPipelineState->inputState.attributes; - const size_t attributeCount = attributes.size(); - size_t bindingCount = 1u; - for (size_t i = 0u; i < attributeCount; i++) { + const AttributeList &attributes = gpuPipelineState->inputState.attributes; + const size_t attributeCount = attributes.size(); + size_t bindingCount = 1u; + for (size_t i = 0u; i < attributeCount; ++i) { const Attribute &attr = attributes[i]; - bindingCount = std::max((size_t)bindingCount, (size_t)(attr.stream + 1)); + bindingCount = std::max((size_t)bindingCount, (size_t)(attr.stream + 1)); } vector bindingDescriptions(bindingCount); - for (size_t i = 0u; i < bindingCount; i++) { - bindingDescriptions[i].binding = i; - bindingDescriptions[i].stride = 0; + for (size_t i = 0u; i < bindingCount; ++i) { + bindingDescriptions[i].binding = i; + bindingDescriptions[i].stride = 0; bindingDescriptions[i].inputRate = VK_VERTEX_INPUT_RATE_VERTEX; } - for (size_t i = 0u; i < attributeCount; i++) { + for (size_t i = 0u; i < attributeCount; ++i) { const Attribute &attr = attributes[i]; bindingDescriptions[attr.stream].stride += GFX_FORMAT_INFOS[(uint)attr.format].size; if (attr.isInstanced) { @@ -494,44 +525,44 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS } } - const AttributeList &shaderAttrs = gpuPipelineState->gpuShader->attributes; - const size_t shaderAttrCount = shaderAttrs.size(); + const AttributeList & shaderAttrs = gpuPipelineState->gpuShader->attributes; + const size_t shaderAttrCount = shaderAttrs.size(); vector attributeDescriptions(shaderAttrCount); - vector offsets(bindingCount, 0); + vector offsets(bindingCount, 0); - for (size_t i = 0; i < shaderAttrCount; i++) { + for (size_t i = 0; i < shaderAttrCount; ++i) { bool attributeFound = false; offsets.assign(bindingCount, 0); for (const Attribute &attr : attributes) { if (shaderAttrs[i].name == attr.name) { attributeDescriptions[i].location = shaderAttrs[i].location; - attributeDescriptions[i].binding = attr.stream; - attributeDescriptions[i].format = MapVkFormat(attr.format); - attributeDescriptions[i].offset = offsets[attr.stream]; - attributeFound = true; + attributeDescriptions[i].binding = attr.stream; + attributeDescriptions[i].format = MapVkFormat(attr.format); + attributeDescriptions[i].offset = offsets[attr.stream]; + attributeFound = true; break; } offsets[attr.stream] += GFX_FORMAT_INFOS[(uint)attr.format].size; } if (!attributeFound) { // handle absent attribute attributeDescriptions[i].location = shaderAttrs[i].location; - attributeDescriptions[i].binding = 0; - attributeDescriptions[i].format = MapVkFormat(shaderAttrs[i].format); - attributeDescriptions[i].offset = 0; // reuse the first attribute as dummy data + attributeDescriptions[i].binding = 0; + attributeDescriptions[i].format = MapVkFormat(shaderAttrs[i].format); + attributeDescriptions[i].offset = 0; // reuse the first attribute as dummy data } } VkPipelineVertexInputStateCreateInfo vertexInput{VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO}; - vertexInput.vertexBindingDescriptionCount = bindingCount; - vertexInput.pVertexBindingDescriptions = bindingDescriptions.data(); + vertexInput.vertexBindingDescriptionCount = bindingCount; + vertexInput.pVertexBindingDescriptions = bindingDescriptions.data(); vertexInput.vertexAttributeDescriptionCount = shaderAttrCount; - vertexInput.pVertexAttributeDescriptions = attributeDescriptions.data(); - createInfo.pVertexInputState = &vertexInput; + vertexInput.pVertexAttributeDescriptions = attributeDescriptions.data(); + createInfo.pVertexInputState = &vertexInput; ///////////////////// Input Asembly State ///////////////////// VkPipelineInputAssemblyStateCreateInfo inputAssembly{VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO}; - inputAssembly.topology = VK_PRIMITIVE_MODES[(uint)gpuPipelineState->primitive]; + inputAssembly.topology = VK_PRIMITIVE_MODES[(uint)gpuPipelineState->primitive]; createInfo.pInputAssemblyState = &inputAssembly; ///////////////////// Dynamic State ///////////////////// @@ -541,15 +572,15 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS VkPipelineDynamicStateCreateInfo dynamicState{VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO}; dynamicState.dynamicStateCount = dynamicStates.size(); - dynamicState.pDynamicStates = dynamicStates.data(); - createInfo.pDynamicState = &dynamicState; + dynamicState.pDynamicStates = dynamicStates.data(); + createInfo.pDynamicState = &dynamicState; ///////////////////// Viewport State ///////////////////// VkPipelineViewportStateCreateInfo viewportState{VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO}; viewportState.viewportCount = 1; // dynamic by default - viewportState.scissorCount = 1; // dynamic by default - createInfo.pViewportState = &viewportState; + viewportState.scissorCount = 1; // dynamic by default + createInfo.pViewportState = &viewportState; ///////////////////// Rasterization State ///////////////////// @@ -557,20 +588,20 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS //rasterizationState.depthClampEnable; rasterizationState.rasterizerDiscardEnable = gpuPipelineState->rs.isDiscard; - rasterizationState.polygonMode = VK_POLYGON_MODES[(uint)gpuPipelineState->rs.polygonMode]; - rasterizationState.cullMode = VK_CULL_MODES[(uint)gpuPipelineState->rs.cullMode]; - rasterizationState.frontFace = gpuPipelineState->rs.isFrontFaceCCW ? VK_FRONT_FACE_COUNTER_CLOCKWISE : VK_FRONT_FACE_CLOCKWISE; - rasterizationState.depthBiasEnable = gpuPipelineState->rs.depthBiasEnabled; + rasterizationState.polygonMode = VK_POLYGON_MODES[(uint)gpuPipelineState->rs.polygonMode]; + rasterizationState.cullMode = VK_CULL_MODES[(uint)gpuPipelineState->rs.cullMode]; + rasterizationState.frontFace = gpuPipelineState->rs.isFrontFaceCCW ? VK_FRONT_FACE_COUNTER_CLOCKWISE : VK_FRONT_FACE_CLOCKWISE; + rasterizationState.depthBiasEnable = gpuPipelineState->rs.depthBiasEnabled; rasterizationState.depthBiasConstantFactor = gpuPipelineState->rs.depthBias; - rasterizationState.depthBiasClamp = gpuPipelineState->rs.depthBiasClamp; - rasterizationState.depthBiasSlopeFactor = gpuPipelineState->rs.depthBiasSlop; - rasterizationState.lineWidth = gpuPipelineState->rs.lineWidth; - createInfo.pRasterizationState = &rasterizationState; + rasterizationState.depthBiasClamp = gpuPipelineState->rs.depthBiasClamp; + rasterizationState.depthBiasSlopeFactor = gpuPipelineState->rs.depthBiasSlop; + rasterizationState.lineWidth = gpuPipelineState->rs.lineWidth; + createInfo.pRasterizationState = &rasterizationState; ///////////////////// Multisample State ///////////////////// VkPipelineMultisampleStateCreateInfo multisampleState{VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO}; - multisampleState.rasterizationSamples = VK_SAMPLE_COUNT_1_BIT; + multisampleState.rasterizationSamples = VK_SAMPLE_COUNT_1_BIT; multisampleState.alphaToCoverageEnable = gpuPipelineState->bs.isA2C; //multisampleState.sampleShadingEnable; //multisampleState.minSampleShading; @@ -581,10 +612,11 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS ///////////////////// Depth Stencil State ///////////////////// VkPipelineDepthStencilStateCreateInfo depthStencilState = {VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO}; - depthStencilState.depthTestEnable = gpuPipelineState->dss.depthTest; - depthStencilState.depthWriteEnable = gpuPipelineState->dss.depthWrite; - depthStencilState.depthCompareOp = VK_CMP_FUNCS[(uint)gpuPipelineState->dss.depthFunc]; - depthStencilState.stencilTestEnable = gpuPipelineState->dss.stencilTestFront; + depthStencilState.depthTestEnable = gpuPipelineState->dss.depthTest; + depthStencilState.depthWriteEnable = gpuPipelineState->dss.depthWrite; + depthStencilState.depthCompareOp = VK_CMP_FUNCS[(uint)gpuPipelineState->dss.depthFunc]; + depthStencilState.stencilTestEnable = gpuPipelineState->dss.stencilTestFront; + depthStencilState.front = { VK_STENCIL_OPS[(uint)gpuPipelineState->dss.stencilFailOpFront], VK_STENCIL_OPS[(uint)gpuPipelineState->dss.stencilPassOpFront], @@ -610,35 +642,35 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS ///////////////////// Blend State ///////////////////// - size_t blendTargetCount = gpuPipelineState->bs.targets.size(); + size_t blendTargetCount = gpuPipelineState->bs.targets.size(); vector blendTargets(blendTargetCount); - for (size_t i = 0u; i < blendTargetCount; i++) { - BlendTarget &target = gpuPipelineState->bs.targets[i]; - blendTargets[i].blendEnable = target.blend; + for (size_t i = 0u; i < blendTargetCount; ++i) { + BlendTarget &target = gpuPipelineState->bs.targets[i]; + blendTargets[i].blendEnable = target.blend; blendTargets[i].srcColorBlendFactor = VK_BLEND_FACTORS[(uint)target.blendSrc]; blendTargets[i].dstColorBlendFactor = VK_BLEND_FACTORS[(uint)target.blendDst]; - blendTargets[i].colorBlendOp = VK_BLEND_OPS[(uint)target.blendEq]; + blendTargets[i].colorBlendOp = VK_BLEND_OPS[(uint)target.blendEq]; blendTargets[i].srcAlphaBlendFactor = VK_BLEND_FACTORS[(uint)target.blendSrcAlpha]; blendTargets[i].dstAlphaBlendFactor = VK_BLEND_FACTORS[(uint)target.blendDstAlpha]; - blendTargets[i].alphaBlendOp = VK_BLEND_OPS[(uint)target.blendAlphaEq]; - blendTargets[i].colorWriteMask = MapVkColorComponentFlags(target.blendColorMask); + blendTargets[i].alphaBlendOp = VK_BLEND_OPS[(uint)target.blendAlphaEq]; + blendTargets[i].colorWriteMask = MapVkColorComponentFlags(target.blendColorMask); } Color &blendColor = gpuPipelineState->bs.blendColor; VkPipelineColorBlendStateCreateInfo colorBlendState{VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO}; //colorBlendState.logicOpEnable; //colorBlendState.logicOp; - colorBlendState.attachmentCount = blendTargetCount; - colorBlendState.pAttachments = blendTargets.data(); + colorBlendState.attachmentCount = blendTargetCount; + colorBlendState.pAttachments = blendTargets.data(); colorBlendState.blendConstants[0] = blendColor.x; colorBlendState.blendConstants[1] = blendColor.y; colorBlendState.blendConstants[2] = blendColor.z; colorBlendState.blendConstants[3] = blendColor.w; - createInfo.pColorBlendState = &colorBlendState; + createInfo.pColorBlendState = &colorBlendState; ///////////////////// References ///////////////////// - createInfo.layout = gpuPipelineState->gpuPipelineLayout->vkPipelineLayout; + createInfo.layout = gpuPipelineState->gpuPipelineLayout->vkPipelineLayout; createInfo.renderPass = gpuPipelineState->gpuRenderPass->vkRenderPass; ///////////////////// Creation ///////////////////// @@ -656,34 +688,34 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const if (!gpuBuffer) return; const void *dataToUpload = nullptr; - size_t sizeToUpload = 0u; + size_t sizeToUpload = 0u; if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { - size_t drawInfoCount = size / sizeof(DrawInfo); - const DrawInfo *drawInfo = static_cast(buffer); + size_t drawInfoCount = size / sizeof(DrawInfo); + const DrawInfo *drawInfo = static_cast(buffer); if (drawInfoCount > 0) { if (drawInfo->indexCount) { - for (size_t i = 0; i < drawInfoCount; i++) { - gpuBuffer->indexedIndirectCmds[i].indexCount = drawInfo->indexCount; + for (size_t i = 0; i < drawInfoCount; ++i) { + gpuBuffer->indexedIndirectCmds[i].indexCount = drawInfo->indexCount; gpuBuffer->indexedIndirectCmds[i].instanceCount = std::max(drawInfo->instanceCount, 1u); - gpuBuffer->indexedIndirectCmds[i].firstIndex = drawInfo->firstIndex; - gpuBuffer->indexedIndirectCmds[i].vertexOffset = drawInfo->vertexOffset; + gpuBuffer->indexedIndirectCmds[i].firstIndex = drawInfo->firstIndex; + gpuBuffer->indexedIndirectCmds[i].vertexOffset = drawInfo->vertexOffset; gpuBuffer->indexedIndirectCmds[i].firstInstance = drawInfo->firstInstance; drawInfo++; } - dataToUpload = gpuBuffer->indexedIndirectCmds.data(); - sizeToUpload = drawInfoCount * sizeof(VkDrawIndexedIndirectCommand); + dataToUpload = gpuBuffer->indexedIndirectCmds.data(); + sizeToUpload = drawInfoCount * sizeof(VkDrawIndexedIndirectCommand); gpuBuffer->isDrawIndirectByIndex = true; } else { - for (size_t i = 0; i < drawInfoCount; i++) { - gpuBuffer->indirectCmds[i].vertexCount = drawInfo->vertexCount; + for (size_t i = 0; i < drawInfoCount; ++i) { + gpuBuffer->indirectCmds[i].vertexCount = drawInfo->vertexCount; gpuBuffer->indirectCmds[i].instanceCount = drawInfo->instanceCount; - gpuBuffer->indirectCmds[i].firstVertex = drawInfo->firstVertex; + gpuBuffer->indirectCmds[i].firstVertex = drawInfo->firstVertex; gpuBuffer->indirectCmds[i].firstInstance = drawInfo->firstInstance; drawInfo++; } - dataToUpload = gpuBuffer->indirectCmds.data(); - sizeToUpload = drawInfoCount * sizeof(VkDrawIndirectCommand); + dataToUpload = gpuBuffer->indirectCmds.data(); + sizeToUpload = drawInfoCount * sizeof(VkDrawIndirectCommand); gpuBuffer->isDrawIndirectByIndex = false; } } @@ -704,8 +736,8 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const memcpy(stagingBuffer.mappedData, dataToUpload, sizeToUpload); VkBufferCopy region{stagingBuffer.startOffset, gpuBuffer->startOffset, sizeToUpload}; - auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *cmdBuffer) { - vkCmdCopyBuffer(cmdBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuBuffer->vkBuffer, 1, ®ion); + auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *gpuCommandBuffer) { + vkCmdCopyBuffer(gpuCommandBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuBuffer->vkBuffer, 1, ®ion); }; if (cmdBuffer) { @@ -720,47 +752,47 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b vector &curTypes = gpuTexture->currentAccessTypes; ThsvsImageBarrier barrier{}; - barrier.image = gpuTexture->vkImage; - barrier.discardContents = false; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.image = gpuTexture->vkImage; + barrier.discardContents = false; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; barrier.subresourceRange.aspectMask = gpuTexture->aspectMask; - barrier.prevAccessCount = curTypes.size(); - barrier.pPrevAccesses = curTypes.data(); - barrier.nextAccessCount = 1; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + barrier.prevAccessCount = curTypes.size(); + barrier.pPrevAccesses = curTypes.data(); + barrier.nextAccessCount = 1; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; if (std::find(curTypes.begin(), curTypes.end(), THSVS_ACCESS_TRANSFER_WRITE) == curTypes.end()) { thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); } - uint totalSize = 0u; + uint totalSize = 0u; vector regionSizes(count); for (size_t i = 0u; i < count; ++i) { const BufferTextureCopy ®ion = regions[i]; - uint w = region.buffStride > 0 ? region.buffStride : region.texExtent.width; - uint h = region.buffTexHeight > 0 ? region.buffTexHeight : region.texExtent.height; - totalSize += regionSizes[i] = FormatSize(gpuTexture->format, w, h, region.texExtent.depth); + uint w = region.buffStride > 0 ? region.buffStride : region.texExtent.width; + uint h = region.buffTexHeight > 0 ? region.buffTexHeight : region.texExtent.height; + totalSize += regionSizes[i] = FormatSize(gpuTexture->format, w, h, region.texExtent.depth); } CCVKGPUBuffer stagingBuffer; stagingBuffer.size = totalSize; - uint texelSize = GFX_FORMAT_INFOS[(uint)gpuTexture->format].size; + uint texelSize = GFX_FORMAT_INFOS[(uint)gpuTexture->format].size; device->gpuStagingBufferPool()->alloc(&stagingBuffer, texelSize); vector stagingRegions(count); - VkDeviceSize offset = 0; + VkDeviceSize offset = 0; for (size_t i = 0u; i < count; ++i) { - const BufferTextureCopy ®ion = regions[i]; - VkBufferImageCopy &stagingRegion = stagingRegions[i]; - stagingRegion.bufferOffset = stagingBuffer.startOffset + offset; - stagingRegion.bufferRowLength = region.buffStride; - stagingRegion.bufferImageHeight = region.buffTexHeight; - stagingRegion.imageSubresource = {gpuTexture->aspectMask, region.texSubres.mipLevel, region.texSubres.baseArrayLayer, region.texSubres.layerCount}; - stagingRegion.imageOffset = {region.texOffset.x, region.texOffset.y, region.texOffset.z}; - stagingRegion.imageExtent = {region.texExtent.width, region.texExtent.height, region.texExtent.depth}; + const BufferTextureCopy ®ion = regions[i]; + VkBufferImageCopy & stagingRegion = stagingRegions[i]; + stagingRegion.bufferOffset = stagingBuffer.startOffset + offset; + stagingRegion.bufferRowLength = region.buffStride; + stagingRegion.bufferImageHeight = region.buffTexHeight; + stagingRegion.imageSubresource = {gpuTexture->aspectMask, region.texSubres.mipLevel, region.texSubres.baseArrayLayer, region.texSubres.layerCount}; + stagingRegion.imageOffset = {region.texOffset.x, region.texOffset.y, region.texOffset.z}; + stagingRegion.imageExtent = {region.texExtent.width, region.texExtent.height, region.texExtent.depth}; memcpy(stagingBuffer.mappedData + offset, buffers[i], regionSizes[i]); offset += regionSizes[i]; @@ -775,22 +807,22 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b VkFormatFeatureFlags mipmapFeatures = VK_FORMAT_FEATURE_BLIT_SRC_BIT | VK_FORMAT_FEATURE_BLIT_DST_BIT | VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT; if (formatProperties.optimalTilingFeatures & mipmapFeatures) { - const int32_t width = gpuTexture->width; + const int32_t width = gpuTexture->width; const int32_t height = gpuTexture->height; VkImageBlit blitInfo{}; - blitInfo.srcSubresource.aspectMask = gpuTexture->aspectMask; - blitInfo.srcSubresource.layerCount = gpuTexture->arrayLayers; - blitInfo.dstSubresource.aspectMask = gpuTexture->aspectMask; - blitInfo.dstSubresource.layerCount = gpuTexture->arrayLayers; - blitInfo.srcOffsets[1] = {width, height, 1}; - blitInfo.dstOffsets[1] = {std::max(width >> 1, 1), std::max(height >> 1, 1), 1}; + blitInfo.srcSubresource.aspectMask = gpuTexture->aspectMask; + blitInfo.srcSubresource.layerCount = gpuTexture->arrayLayers; + blitInfo.dstSubresource.aspectMask = gpuTexture->aspectMask; + blitInfo.dstSubresource.layerCount = gpuTexture->arrayLayers; + blitInfo.srcOffsets[1] = {width, height, 1}; + blitInfo.dstOffsets[1] = {std::max(width >> 1, 1), std::max(height >> 1, 1), 1}; barrier.subresourceRange.levelCount = 1; - barrier.prevAccessCount = 1; - barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; + barrier.prevAccessCount = 1; + barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; - for (uint i = 1u; i < gpuTexture->mipLevels; i++) { + for (uint i = 1u; i < gpuTexture->mipLevels; ++i) { barrier.subresourceRange.baseMipLevel = i - 1; thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); @@ -801,14 +833,14 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b const int32_t w = blitInfo.srcOffsets[1].x = blitInfo.dstOffsets[1].x; const int32_t h = blitInfo.srcOffsets[1].y = blitInfo.dstOffsets[1].y; - blitInfo.dstOffsets[1].x = std::max(w >> 1, 1); - blitInfo.dstOffsets[1].y = std::max(h >> 1, 1); + blitInfo.dstOffsets[1].x = std::max(w >> 1, 1); + blitInfo.dstOffsets[1].y = std::max(h >> 1, 1); } barrier.subresourceRange.baseMipLevel = 0; - barrier.subresourceRange.levelCount = gpuTexture->mipLevels - 1; - barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + barrier.subresourceRange.levelCount = gpuTexture->mipLevels - 1; + barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); } else { @@ -849,10 +881,10 @@ void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer gpuFramebuffer->vkFramebuffer = VK_NULL_HANDLE; } } else { - FramebufferListMap &fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; + FramebufferListMap & fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; FramebufferListMapIter fboListMapIter = fboListMap.find(gpuFramebuffer); if (fboListMapIter != fboListMap.end()) { - for (size_t i = 0u; i < fboListMapIter->second.size(); i++) { + for (size_t i = 0u; i < fboListMapIter->second.size(); ++i) { vkDestroyFramebuffer(gpuDevice->vkDevice, fboListMapIter->second[i], nullptr); } fboListMapIter->second.clear(); @@ -900,20 +932,20 @@ void CCVKCmdFuncDestroyFence(CCVKGPUDevice *gpuDevice, CCVKGPUFence *gpuFence) { } void CCVKGPURecycleBin::clear() { - for (uint i = 0u; i < _count; i++) { + for (uint i = 0u; i < _count; ++i) { Resource &res = _resources[i]; switch (res.type) { case RecycledType::BUFFER: if (res.buffer.vkBuffer) { vmaDestroyBuffer(_device->memoryAllocator, res.buffer.vkBuffer, res.buffer.vmaAllocation); - res.buffer.vkBuffer = VK_NULL_HANDLE; + res.buffer.vkBuffer = VK_NULL_HANDLE; res.buffer.vmaAllocation = VK_NULL_HANDLE; } break; case RecycledType::TEXTURE: if (res.image.vkImage) { vmaDestroyImage(_device->memoryAllocator, res.image.vkImage, res.image.vmaAllocation); - res.image.vkImage = VK_NULL_HANDLE; + res.image.vkImage = VK_NULL_HANDLE; res.image.vmaAllocation = VK_NULL_HANDLE; } break; diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 8667478ba9..fb04b9364e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -40,60 +40,51 @@ namespace gfx { namespace { -constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, otherwise minorVersion = (FORCE_MINOR_VERSION - 1) -constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled +constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, otherwise minorVersion = (FORCE_MINOR_VERSION - 1) +constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 #define FORCE_DISABLE_VALIDATION 0 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION -VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, - VkDebugUtilsMessageTypeFlagsEXT messageType, +VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, + VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT *callbackData, - void *userData) { - // GPU-assisted validation might throw this due to driver reasons which is safe to ignore - if (strstr(callbackData->pMessage, "Failure to instrument shader")) { - return VK_FALSE; - } - - // Log debug messge - if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT) { - CC_LOG_WARNING("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); - } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) { + void * userData) { + if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) { CC_LOG_ERROR("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); + } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT) { + CC_LOG_WARNING("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); + } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT) { + //CC_LOG_INFO("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); + } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT) { + //CC_LOG_DEBUG("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); + } else { + CC_LOG_ERROR("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); } return VK_FALSE; } -VKAPI_ATTR VkBool32 VKAPI_CALL debugReportCallback(VkDebugReportFlagsEXT flags, +VKAPI_ATTR VkBool32 VKAPI_CALL debugReportCallback(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT type, - uint64_t object, - size_t location, - int32_t messageCode, - const char *layerPrefix, - const char *message, - void *userData) { - // GPU-assisted validation might throw this due to driver reasons which is safe to ignore - if (strstr(message, "Failure to instrument shader")) { - return VK_FALSE; - } - - // These are thrown randomly when missing proper vulkan drivers - // at which time we should try to shut down the backend gracefully instead of freezing at assertions - if (strstr(message, "setupLoaderTermPhysDevs") || strstr(message, "setupLoaderTrampPhysDevs")) { - return VK_FALSE; - } - + uint64_t object, + size_t location, + int32_t messageCode, + const char * layerPrefix, + const char * message, + void * userData) { if (flags & VK_DEBUG_REPORT_ERROR_BIT_EXT) { - CC_LOG_ERROR("VError: %s: %s", layerPrefix, message); + CC_LOG_ERROR("%s: %s", layerPrefix, message); CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); - } else if (flags & VK_DEBUG_REPORT_WARNING_BIT_EXT) { - CC_LOG_ERROR("VWarning: %s: %s", layerPrefix, message); - } else if (flags & VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT) { - CC_LOG_INFO("VPerfWarning: %s: %s", layerPrefix, message); + } else if (flags & (VK_DEBUG_REPORT_WARNING_BIT_EXT | VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT)) { + CC_LOG_WARNING("%s: %s", layerPrefix, message); + } else if (flags & VK_DEBUG_REPORT_INFORMATION_BIT_EXT) { + //CC_LOG_INFO("%s: %s", layerPrefix, message); + } else if (flags & VK_DEBUG_REPORT_DEBUG_BIT_EXT) { + //CC_LOG_DEBUG("%s: %s", layerPrefix, message); } else { - CC_LOG_INFO("VInfo: %s: %s", layerPrefix, message); + CC_LOG_ERROR("%s: %s", layerPrefix, message); } return VK_FALSE; } @@ -109,7 +100,7 @@ CCVKContext::~CCVKContext() { bool CCVKContext::initialize(const ContextInfo &info) { - _vsyncMode = info.vsyncMode; + _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; if (!info.sharedCtx) { @@ -223,42 +214,37 @@ bool CCVKContext::initialize(const ContextInfo &info) { VkApplicationInfo app{VK_STRUCTURE_TYPE_APPLICATION_INFO}; app.pEngineName = "Cocos Creator"; - app.apiVersion = apiVersion; + app.apiVersion = apiVersion; VkInstanceCreateInfo instanceInfo{VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO}; - instanceInfo.pApplicationInfo = &app; - instanceInfo.enabledExtensionCount = toUint(_extensions.size()); + instanceInfo.pApplicationInfo = &app; + instanceInfo.enabledExtensionCount = toUint(_extensions.size()); instanceInfo.ppEnabledExtensionNames = _extensions.data(); - instanceInfo.enabledLayerCount = toUint(_layers.size()); - instanceInfo.ppEnabledLayerNames = _layers.data(); + instanceInfo.enabledLayerCount = toUint(_layers.size()); + instanceInfo.ppEnabledLayerNames = _layers.data(); #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VkDebugUtilsMessengerCreateInfoEXT debugUtilsCreateInfo{VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT}; VkDebugReportCallbackCreateInfoEXT debugReportCreateInfo{VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT}; if (debugUtils) { - debugUtilsCreateInfo.messageSeverity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT | VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT; - debugUtilsCreateInfo.messageType = VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT; + debugUtilsCreateInfo.messageSeverity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT | + VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT | + VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT | + VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT; + debugUtilsCreateInfo.messageType = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT | VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT | VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT; debugUtilsCreateInfo.pfnUserCallback = debugUtilsMessengerCallback; instanceInfo.pNext = &debugUtilsCreateInfo; } else { - debugReportCreateInfo.flags = VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT; + debugReportCreateInfo.flags = VK_DEBUG_REPORT_ERROR_BIT_EXT | + VK_DEBUG_REPORT_WARNING_BIT_EXT | + VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT | + VK_DEBUG_REPORT_INFORMATION_BIT_EXT | + VK_DEBUG_REPORT_DEBUG_BIT_EXT; debugReportCreateInfo.pfnCallback = debugReportCallback; instanceInfo.pNext = &debugReportCreateInfo; } - - VkValidationFeaturesEXT features = {VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT}; - VkValidationFeatureEnableEXT enables[] = {VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT}; - features.enabledValidationFeatureCount = 1; - features.pEnabledValidationFeatures = enables; - if (_minorVersion >= 1 && isLayerSupported("VK_LAYER_KHRONOS_validation", supportedLayers)) { - if (debugUtils) { - debugUtilsCreateInfo.pNext = &features; - } else { - debugReportCreateInfo.pNext = &features; - } - } #endif // Create the Vulkan instance @@ -311,8 +297,8 @@ bool CCVKContext::initialize(const ContextInfo &info) { if (_gpuContext && _gpuContext->vkSurface == VK_NULL_HANDLE) { VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo{ - VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; - surfaceCreateInfo.window = (ANativeWindow *) _windowHandle; + VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; + surfaceCreateInfo.window = (ANativeWindow *)_windowHandle; VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); @@ -322,7 +308,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { #elif defined(VK_USE_PLATFORM_WIN32_KHR) VkWin32SurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR}; surfaceCreateInfo.hinstance = (HINSTANCE)GetModuleHandle(0); - surfaceCreateInfo.hwnd = (HWND)_windowHandle; + surfaceCreateInfo.hwnd = (HWND)_windowHandle; VK_CHECK(vkCreateWin32SurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #elif defined(VK_USE_PLATFORM_METAL_EXT) VkMetalSurfaceCreateInfoEXT surfaceCreateInfo{VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT}; @@ -336,7 +322,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { #elif defined(VK_USE_PLATFORM_XCB_KHR) VkXcbSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR}; surfaceCreateInfo.connection = nullptr; // TODO - surfaceCreateInfo.window = (xcb_window_t)_windowHandle; + surfaceCreateInfo.window = (xcb_window_t)_windowHandle; VK_CHECK(vkCreateXcbSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #else #pragma error Platform not supported @@ -374,14 +360,14 @@ bool CCVKContext::initialize(const ContextInfo &info) { deviceIndex = 0; } - _gpuContext->physicalDevice = physicalDeviceHandles[deviceIndex]; + _gpuContext->physicalDevice = physicalDeviceHandles[deviceIndex]; _gpuContext->physicalDeviceProperties = physicalDeviceProperties[deviceIndex]; vkGetPhysicalDeviceFeatures(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceFeatures); if (_minorVersion >= 1 || checkExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME)) { vkGetPhysicalDeviceProperties2KHR(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceProperties2); - _gpuContext->physicalDeviceFeatures2.pNext = &_gpuContext->physicalDeviceVulkan11Features; + _gpuContext->physicalDeviceFeatures2.pNext = &_gpuContext->physicalDeviceVulkan11Features; _gpuContext->physicalDeviceVulkan11Features.pNext = &_gpuContext->physicalDeviceVulkan12Features; vkGetPhysicalDeviceFeatures2KHR(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceFeatures2); } @@ -402,7 +388,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { ///////////////////// Swapchain Preperation ///////////////////// - _colorFmt = Format::BGRA8; + _colorFmt = Format::BGRA8; _depthStencilFmt = Format::D24S8; VkSurfaceCapabilitiesKHR surfaceCapabilities{}; @@ -418,21 +404,21 @@ bool CCVKContext::initialize(const ContextInfo &info) { vector presentModes(presentModeCount); VK_CHECK(vkGetPhysicalDeviceSurfacePresentModesKHR(_gpuContext->physicalDevice, _gpuContext->vkSurface, &presentModeCount, presentModes.data())); - VkFormat colorFormat = VK_FORMAT_B8G8R8A8_UNORM; - VkColorSpaceKHR colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR; + VkFormat colorFormat = VK_FORMAT_B8G8R8A8_UNORM; + VkColorSpaceKHR colorSpace = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR; // If the surface format list only includes one entry with VK_FORMAT_UNDEFINED, // there is no preferered format, so we assume VK_FORMAT_B8G8R8A8_UNORM if ((surfaceFormatCount == 1) && (surfaceFormats[0].format == VK_FORMAT_UNDEFINED)) { colorFormat = VK_FORMAT_B8G8R8A8_UNORM; - colorSpace = surfaceFormats[0].colorSpace; + colorSpace = surfaceFormats[0].colorSpace; } else { // iterate over the list of available surface format and // check for the presence of VK_FORMAT_B8G8R8A8_UNORM bool imageFormatFound = false; for (VkSurfaceFormatKHR &surfaceFormat : surfaceFormats) { if (surfaceFormat.format == VK_FORMAT_B8G8R8A8_UNORM) { - colorFormat = surfaceFormat.format; - colorSpace = surfaceFormat.colorSpace; + colorFormat = surfaceFormat.format; + colorSpace = surfaceFormat.colorSpace; imageFormatFound = true; break; } @@ -442,7 +428,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { // select the first available color format if (!imageFormatFound) { colorFormat = surfaceFormats[0].format; - colorSpace = surfaceFormats[0].colorSpace; + colorSpace = surfaceFormats[0].colorSpace; switch (colorFormat) { case VK_FORMAT_R8G8B8A8_UNORM: _colorFmt = Format::RGBA8; break; case VK_FORMAT_R8G8B8A8_SRGB: _colorFmt = Format::SRGB8_A8; break; @@ -498,7 +484,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { desiredNumberOfSwapchainImages = surfaceCapabilities.maxImageCount; } - VkExtent2D imageExtent = {1u, 1u}; + VkExtent2D imageExtent = {1u, 1u}; VkSurfaceTransformFlagBitsKHR preTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR; // Find a supported composite alpha format (not all devices support alpha opaque) @@ -527,25 +513,25 @@ bool CCVKContext::initialize(const ContextInfo &info) { imageUsage |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; } - _gpuContext->swapchainCreateInfo.surface = _gpuContext->vkSurface; - _gpuContext->swapchainCreateInfo.minImageCount = desiredNumberOfSwapchainImages; - _gpuContext->swapchainCreateInfo.imageFormat = colorFormat; - _gpuContext->swapchainCreateInfo.imageColorSpace = colorSpace; - _gpuContext->swapchainCreateInfo.imageExtent = imageExtent; - _gpuContext->swapchainCreateInfo.imageUsage = imageUsage; + _gpuContext->swapchainCreateInfo.surface = _gpuContext->vkSurface; + _gpuContext->swapchainCreateInfo.minImageCount = desiredNumberOfSwapchainImages; + _gpuContext->swapchainCreateInfo.imageFormat = colorFormat; + _gpuContext->swapchainCreateInfo.imageColorSpace = colorSpace; + _gpuContext->swapchainCreateInfo.imageExtent = imageExtent; + _gpuContext->swapchainCreateInfo.imageUsage = imageUsage; _gpuContext->swapchainCreateInfo.imageArrayLayers = 1; - _gpuContext->swapchainCreateInfo.preTransform = preTransform; - _gpuContext->swapchainCreateInfo.compositeAlpha = compositeAlpha; - _gpuContext->swapchainCreateInfo.presentMode = swapchainPresentMode; - _gpuContext->swapchainCreateInfo.clipped = VK_TRUE; // Setting clipped to VK_TRUE allows the implementation to discard rendering outside of the surface area + _gpuContext->swapchainCreateInfo.preTransform = preTransform; + _gpuContext->swapchainCreateInfo.compositeAlpha = compositeAlpha; + _gpuContext->swapchainCreateInfo.presentMode = swapchainPresentMode; + _gpuContext->swapchainCreateInfo.clipped = VK_TRUE; // Setting clipped to VK_TRUE allows the implementation to discard rendering outside of the surface area } else { CCVKContext *sharedCtx = (CCVKContext *)info.sharedCtx; - _majorVersion = sharedCtx->majorVersion(); - _minorVersion = sharedCtx->minorVersion(); - _layers = sharedCtx->getLayers(); - _extensions = sharedCtx->getExtensions(); - _gpuContext = sharedCtx->gpuContext(); + _majorVersion = sharedCtx->majorVersion(); + _minorVersion = sharedCtx->minorVersion(); + _layers = sharedCtx->getLayers(); + _extensions = sharedCtx->getExtensions(); + _gpuContext = sharedCtx->gpuContext(); } return true; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index c1d1bf69ac..c18c812d26 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -48,8 +48,8 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { _layout = info.layout; CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); - const uint bindingCount = gpuDescriptorSetLayout->bindings.size(); - const uint descriptorCount = gpuDescriptorSetLayout->descriptorCount; + const uint bindingCount = gpuDescriptorSetLayout->bindings.size(); + const uint descriptorCount = gpuDescriptorSetLayout->descriptorCount; _buffers.resize(descriptorCount); _textures.resize(descriptorCount); @@ -60,9 +60,9 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; - CCVKGPUDescriptor &gpuDescriptor = _gpuDescriptorSet->gpuDescriptors[k]; for (uint j = 0; j < binding.count; ++j, ++k) { - gpuDescriptor.type = binding.descriptorType; + CCVKGPUDescriptor &gpuDescriptor = _gpuDescriptorSet->gpuDescriptors[k]; + gpuDescriptor.type = binding.descriptorType; switch (binding.descriptorType) { case DescriptorType::UNIFORM_BUFFER: case DescriptorType::DYNAMIC_UNIFORM_BUFFER: @@ -94,13 +94,13 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { } } - CCVKGPUDevice *gpuDevice = ((CCVKDevice *)_device)->gpuDevice(); + CCVKGPUDevice *gpuDevice = ((CCVKDevice *)_device)->gpuDevice(); _gpuDescriptorSet->gpuLayout = gpuDescriptorSetLayout; _gpuDescriptorSet->instances.resize(gpuDevice->backBufferCount); for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; - instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); + instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(); instance.descriptorInfos.resize(descriptorCount, {}); for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { @@ -109,10 +109,10 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { if (binding.descriptorType & DESCRIPTOR_BUFFER_TYPE) { instance.descriptorInfos[k].buffer.buffer = gpuDevice->defaultBuffer.vkBuffer; instance.descriptorInfos[k].buffer.offset = gpuDevice->defaultBuffer.startOffset; - instance.descriptorInfos[k].buffer.range = gpuDevice->defaultBuffer.size; + instance.descriptorInfos[k].buffer.range = gpuDevice->defaultBuffer.size; } else if (binding.descriptorType & DESCRIPTOR_TEXTURE_TYPE) { - instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; - instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; + instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; + instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; instance.descriptorInfos[k].image.imageLayout = binding.descriptorType == DescriptorType::STORAGE_IMAGE ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; } } @@ -125,11 +125,11 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { for (size_t i = 0u, j = 0u; i < descriptorCount; i++) { const VkDescriptorSetLayoutBinding &descriptor = gpuDescriptorSetLayout->vkBindings[i]; for (size_t k = 0u; k < descriptor.descriptorCount; k++, j++) { - entries[j].dstSet = instance.vkDescriptorSet; - entries[j].dstBinding = descriptor.binding; + entries[j].dstSet = instance.vkDescriptorSet; + entries[j].dstBinding = descriptor.binding; entries[j].dstArrayElement = k; entries[j].descriptorCount = 1; // better not to assume that the descriptor infos would be contiguous - entries[j].descriptorType = descriptor.descriptorType; + entries[j].descriptorType = descriptor.descriptorType; switch (entries[j].descriptorType) { case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER: @@ -160,7 +160,7 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { void CCVKDescriptorSet::destroy() { if (_gpuDescriptorSet) { - CCVKGPUDescriptorHub *descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); + CCVKGPUDescriptorHub * descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { @@ -200,9 +200,9 @@ void CCVKDescriptorSet::destroy() { void CCVKDescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { - CCVKGPUDescriptorHub *descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); - CCVKGPUTextureLayoutManager *layoutMgr = ((CCVKDevice *)_device)->gpuTextureLayoutManager(); - uint descriptorCount = _gpuDescriptorSet->gpuDescriptors.size(); + CCVKGPUDescriptorHub * descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); + CCVKGPUTextureLayoutManager *layoutMgr = ((CCVKDevice *)_device)->gpuTextureLayoutManager(); + uint descriptorCount = _gpuDescriptorSet->gpuDescriptors.size(); for (size_t i = 0u; i < descriptorCount; i++) { CCVKGPUDescriptor &binding = _gpuDescriptorSet->gpuDescriptors[i]; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index ab423d5e23..718875fc23 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -34,9 +34,9 @@ namespace gfx { //#define DISABLE_PRE_TRANSFORM CCVKDevice::CCVKDevice() { - _caps.clipSpaceMinZ = 0.0f; + _caps.clipSpaceMinZ = 0.0f; _caps.screenSpaceSignY = -1.0f; - _caps.UVSpaceSignY = 1.0f; + _caps.UVSpaceSignY = 1.0f; } CCVKDevice::~CCVKDevice() { @@ -47,11 +47,11 @@ CCVKGPUContext *CCVKDevice::gpuContext() const { } bool CCVKDevice::initialize(const DeviceInfo &info) { - _API = API::VULKAN; - _deviceName = "Vulkan"; - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; + _API = API::VULKAN; + _deviceName = "Vulkan"; + _width = info.width; + _height = info.height; + _nativeWidth = info.nativeWidth; _nativeHeight = info.nativeHeight; _windowHandle = info.windowHandle; @@ -65,17 +65,17 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { ContextInfo contextCreateInfo; contextCreateInfo.windowHandle = _windowHandle; - contextCreateInfo.sharedCtx = info.sharedCtx; + contextCreateInfo.sharedCtx = info.sharedCtx; _context = CC_NEW(CCVKContext(this)); if (!_context->initialize(contextCreateInfo)) { destroy(); return false; } - const CCVKContext *context = (CCVKContext *)_context; - const CCVKGPUContext *gpuContext = ((CCVKContext *)_context)->gpuContext(); + const CCVKContext * context = (CCVKContext *)_context; + const CCVKGPUContext * gpuContext = ((CCVKContext *)_context)->gpuContext(); const VkPhysicalDeviceFeatures2 &deviceFeatures2 = gpuContext->physicalDeviceFeatures2; - const VkPhysicalDeviceFeatures &deviceFeatures = deviceFeatures2.features; + const VkPhysicalDeviceFeatures & deviceFeatures = deviceFeatures2.features; //const VkPhysicalDeviceVulkan11Features &deviceVulkan11Features = gpuContext->physicalDeviceVulkan11Features; //const VkPhysicalDeviceVulkan12Features &deviceVulkan12Features = gpuContext->physicalDeviceVulkan12Features; @@ -92,22 +92,23 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME, VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, }; - VkPhysicalDeviceFeatures2 requestedFeatures2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2}; + VkPhysicalDeviceFeatures2 requestedFeatures2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2}; VkPhysicalDeviceVulkan11Features requestedVulkan11Features{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES}; VkPhysicalDeviceVulkan12Features requestedVulkan12Features{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES}; // features should be enabled like this: requestedFeatures2.features.textureCompressionASTC_LDR = deviceFeatures.textureCompressionASTC_LDR; - requestedFeatures2.features.textureCompressionBC = deviceFeatures.textureCompressionBC; - requestedFeatures2.features.textureCompressionETC2 = deviceFeatures.textureCompressionETC2; - requestedFeatures2.features.samplerAnisotropy = deviceFeatures.samplerAnisotropy; - requestedFeatures2.features.depthBounds = deviceFeatures.depthBounds; - requestedFeatures2.features.multiDrawIndirect = deviceFeatures.multiDrawIndirect; + requestedFeatures2.features.textureCompressionBC = deviceFeatures.textureCompressionBC; + requestedFeatures2.features.textureCompressionETC2 = deviceFeatures.textureCompressionETC2; + requestedFeatures2.features.samplerAnisotropy = deviceFeatures.samplerAnisotropy; + requestedFeatures2.features.depthBounds = deviceFeatures.depthBounds; + requestedFeatures2.features.multiDrawIndirect = deviceFeatures.multiDrawIndirect; #if CC_DEBUG > 0 // GPU-assisted validation - requestedFeatures2.features.shaderInt64 = deviceFeatures.shaderInt64; - requestedFeatures2.features.fragmentStoresAndAtomics = deviceFeatures.fragmentStoresAndAtomics; + requestedFeatures2.features.shaderInt64 = deviceFeatures.shaderInt64; + requestedFeatures2.features.fragmentStoresAndAtomics = deviceFeatures.fragmentStoresAndAtomics; requestedFeatures2.features.vertexPipelineStoresAndAtomics = deviceFeatures.vertexPipelineStoresAndAtomics; + requestedExtensions.push_back(VK_KHR_SHADER_NON_SEMANTIC_INFO_EXTENSION_NAME); #endif ///////////////////// Device Creation ///////////////////// @@ -138,9 +139,9 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { } // prepare the device queues - uint queueFamilyPropertiesCount = toUint(gpuContext->queueFamilyProperties.size()); + uint queueFamilyPropertiesCount = toUint(gpuContext->queueFamilyProperties.size()); vector queueCreateInfos(queueFamilyPropertiesCount, {VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO}); - vector> queuePriorities(queueFamilyPropertiesCount); + vector> queuePriorities(queueFamilyPropertiesCount); for (uint queueFamilyIndex = 0u; queueFamilyIndex < queueFamilyPropertiesCount; ++queueFamilyIndex) { const VkQueueFamilyProperties &queueFamilyProperty = gpuContext->queueFamilyProperties[queueFamilyIndex]; @@ -150,17 +151,17 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { VkDeviceQueueCreateInfo &queueCreateInfo = queueCreateInfos[queueFamilyIndex]; queueCreateInfo.queueFamilyIndex = queueFamilyIndex; - queueCreateInfo.queueCount = queueFamilyProperty.queueCount; + queueCreateInfo.queueCount = queueFamilyProperty.queueCount; queueCreateInfo.pQueuePriorities = queuePriorities[queueFamilyIndex].data(); } VkDeviceCreateInfo deviceCreateInfo{VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO}; - deviceCreateInfo.queueCreateInfoCount = toUint(queueCreateInfos.size()); - deviceCreateInfo.pQueueCreateInfos = queueCreateInfos.data(); - deviceCreateInfo.enabledLayerCount = toUint(_layers.size()); - deviceCreateInfo.ppEnabledLayerNames = _layers.data(); - deviceCreateInfo.enabledExtensionCount = toUint(_extensions.size()); + deviceCreateInfo.queueCreateInfoCount = toUint(queueCreateInfos.size()); + deviceCreateInfo.pQueueCreateInfos = queueCreateInfos.data(); + deviceCreateInfo.enabledLayerCount = toUint(_layers.size()); + deviceCreateInfo.ppEnabledLayerNames = _layers.data(); + deviceCreateInfo.enabledExtensionCount = toUint(_extensions.size()); deviceCreateInfo.ppEnabledExtensionNames = _extensions.data(); if (context->minorVersion() < 1 && !context->checkExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME)) { @@ -168,7 +169,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { } else { deviceCreateInfo.pNext = &requestedFeatures2; if (context->minorVersion() >= 2) { - requestedFeatures2.pNext = &requestedVulkan11Features; + requestedFeatures2.pNext = &requestedVulkan11Features; requestedVulkan11Features.pNext = &requestedVulkan12Features; } } @@ -177,30 +178,30 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { ///////////////////// Gather Device Properties ///////////////////// - _features[(uint)Feature::COLOR_FLOAT] = true; - _features[(uint)Feature::COLOR_HALF_FLOAT] = true; - _features[(uint)Feature::TEXTURE_FLOAT] = true; - _features[(uint)Feature::TEXTURE_HALF_FLOAT] = true; - _features[(uint)Feature::TEXTURE_FLOAT_LINEAR] = true; + _features[(uint)Feature::COLOR_FLOAT] = true; + _features[(uint)Feature::COLOR_HALF_FLOAT] = true; + _features[(uint)Feature::TEXTURE_FLOAT] = true; + _features[(uint)Feature::TEXTURE_HALF_FLOAT] = true; + _features[(uint)Feature::TEXTURE_FLOAT_LINEAR] = true; _features[(uint)Feature::TEXTURE_HALF_FLOAT_LINEAR] = true; - _features[(uint)Feature::FORMAT_R11G11B10F] = true; - _features[(uint)Feature::MSAA] = true; - _features[(uint)Feature::ELEMENT_INDEX_UINT] = true; - _features[(uint)Feature::INSTANCED_ARRAYS] = true; - _features[(uint)Feature::MULTIPLE_RENDER_TARGETS] = true; - _features[(uint)Feature::BLEND_MINMAX] = true; - _features[(uint)Feature::DEPTH_BOUNDS] = deviceFeatures.depthBounds; - _features[(uint)Feature::LINE_WIDTH] = true; - _features[(uint)Feature::STENCIL_COMPARE_MASK] = true; - _features[(uint)Feature::STENCIL_WRITE_MASK] = true; - _features[(uint)Feature::MULTITHREADED_SUBMISSION] = true; - _features[(uint)Feature::COMPUTE_SHADER] = true; + _features[(uint)Feature::FORMAT_R11G11B10F] = true; + _features[(uint)Feature::MSAA] = true; + _features[(uint)Feature::ELEMENT_INDEX_UINT] = true; + _features[(uint)Feature::INSTANCED_ARRAYS] = true; + _features[(uint)Feature::MULTIPLE_RENDER_TARGETS] = true; + _features[(uint)Feature::BLEND_MINMAX] = true; + _features[(uint)Feature::DEPTH_BOUNDS] = deviceFeatures.depthBounds; + _features[(uint)Feature::LINE_WIDTH] = true; + _features[(uint)Feature::STENCIL_COMPARE_MASK] = true; + _features[(uint)Feature::STENCIL_WRITE_MASK] = true; + _features[(uint)Feature::MULTITHREADED_SUBMISSION] = true; + _features[(uint)Feature::COMPUTE_SHADER] = true; - _gpuDevice->useMultiDrawIndirect = deviceFeatures.multiDrawIndirect; + _gpuDevice->useMultiDrawIndirect = deviceFeatures.multiDrawIndirect; _gpuDevice->useDescriptorUpdateTemplate = checkExtension(VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME); VkFormatFeatureFlags requiredFeatures = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT | VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT; - VkFormatProperties formatProperties; + VkFormatProperties formatProperties; vkGetPhysicalDeviceFormatProperties(gpuContext->physicalDevice, VK_FORMAT_R8G8B8_UNORM, &formatProperties); if (formatProperties.optimalTilingFeatures & requiredFeatures) { _features[(uint)Feature::FORMAT_RGB8] = true; @@ -242,55 +243,55 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { } const VkPhysicalDeviceLimits &limits = gpuContext->physicalDeviceProperties.limits; - _caps.maxVertexAttributes = limits.maxVertexInputAttributes; - _caps.maxVertexUniformVectors = limits.maxPerStageDescriptorUniformBuffers; - _caps.maxFragmentUniformVectors = limits.maxPerStageDescriptorUniformBuffers; - _caps.maxUniformBufferBindings = limits.maxDescriptorSetUniformBuffers; - _caps.maxUniformBlockSize = limits.maxUniformBufferRange; - _caps.maxShaderStorageBlockSize = limits.maxStorageBufferRange; + _caps.maxVertexAttributes = limits.maxVertexInputAttributes; + _caps.maxVertexUniformVectors = limits.maxPerStageDescriptorUniformBuffers; + _caps.maxFragmentUniformVectors = limits.maxPerStageDescriptorUniformBuffers; + _caps.maxUniformBufferBindings = limits.maxDescriptorSetUniformBuffers; + _caps.maxUniformBlockSize = limits.maxUniformBufferRange; + _caps.maxShaderStorageBlockSize = limits.maxStorageBufferRange; _caps.maxShaderStorageBufferBindings = limits.maxDescriptorSetStorageBuffers; - _caps.maxTextureUnits = limits.maxDescriptorSetSampledImages; - _caps.maxVertexTextureUnits = limits.maxPerStageDescriptorSampledImages; - _caps.maxTextureSize = limits.maxImageDimension2D; - _caps.maxCubeMapTextureSize = limits.maxImageDimensionCube; - _caps.uboOffsetAlignment = (uint)limits.minUniformBufferOffsetAlignment; + _caps.maxTextureUnits = limits.maxDescriptorSetSampledImages; + _caps.maxVertexTextureUnits = limits.maxPerStageDescriptorSampledImages; + _caps.maxTextureSize = limits.maxImageDimension2D; + _caps.maxCubeMapTextureSize = limits.maxImageDimensionCube; + _caps.uboOffsetAlignment = (uint)limits.minUniformBufferOffsetAlignment; // compute shaders - _caps.maxComputeSharedMemorySize = limits.maxComputeSharedMemorySize; + _caps.maxComputeSharedMemorySize = limits.maxComputeSharedMemorySize; _caps.maxComputeWorkGroupInvocations = limits.maxComputeWorkGroupInvocations; - _caps.maxComputeWorkGroupCount = {limits.maxComputeWorkGroupCount[0], limits.maxComputeWorkGroupCount[1], limits.maxComputeWorkGroupCount[2]}; - _caps.maxComputeWorkGroupSize = {limits.maxComputeWorkGroupSize[0], limits.maxComputeWorkGroupSize[1], limits.maxComputeWorkGroupSize[2]}; + _caps.maxComputeWorkGroupCount = {limits.maxComputeWorkGroupCount[0], limits.maxComputeWorkGroupCount[1], limits.maxComputeWorkGroupCount[2]}; + _caps.maxComputeWorkGroupSize = {limits.maxComputeWorkGroupSize[0], limits.maxComputeWorkGroupSize[1], limits.maxComputeWorkGroupSize[2]}; MapDepthStencilBits(_context->getDepthStencilFormat(), _caps.depthBits, _caps.stencilBits); ///////////////////// Resource Initialization ///////////////////// VmaVulkanFunctions vmaVulkanFunc{}; - vmaVulkanFunc.vkAllocateMemory = vkAllocateMemory; - vmaVulkanFunc.vkBindBufferMemory = vkBindBufferMemory; - vmaVulkanFunc.vkBindImageMemory = vkBindImageMemory; - vmaVulkanFunc.vkCreateBuffer = vkCreateBuffer; - vmaVulkanFunc.vkCreateImage = vkCreateImage; - vmaVulkanFunc.vkDestroyBuffer = vkDestroyBuffer; - vmaVulkanFunc.vkDestroyImage = vkDestroyImage; - vmaVulkanFunc.vkFlushMappedMemoryRanges = vkFlushMappedMemoryRanges; - vmaVulkanFunc.vkFreeMemory = vkFreeMemory; - vmaVulkanFunc.vkGetBufferMemoryRequirements = vkGetBufferMemoryRequirements; - vmaVulkanFunc.vkGetImageMemoryRequirements = vkGetImageMemoryRequirements; + vmaVulkanFunc.vkAllocateMemory = vkAllocateMemory; + vmaVulkanFunc.vkBindBufferMemory = vkBindBufferMemory; + vmaVulkanFunc.vkBindImageMemory = vkBindImageMemory; + vmaVulkanFunc.vkCreateBuffer = vkCreateBuffer; + vmaVulkanFunc.vkCreateImage = vkCreateImage; + vmaVulkanFunc.vkDestroyBuffer = vkDestroyBuffer; + vmaVulkanFunc.vkDestroyImage = vkDestroyImage; + vmaVulkanFunc.vkFlushMappedMemoryRanges = vkFlushMappedMemoryRanges; + vmaVulkanFunc.vkFreeMemory = vkFreeMemory; + vmaVulkanFunc.vkGetBufferMemoryRequirements = vkGetBufferMemoryRequirements; + vmaVulkanFunc.vkGetImageMemoryRequirements = vkGetImageMemoryRequirements; vmaVulkanFunc.vkGetPhysicalDeviceMemoryProperties = vkGetPhysicalDeviceMemoryProperties; - vmaVulkanFunc.vkGetPhysicalDeviceProperties = vkGetPhysicalDeviceProperties; - vmaVulkanFunc.vkInvalidateMappedMemoryRanges = vkInvalidateMappedMemoryRanges; - vmaVulkanFunc.vkMapMemory = vkMapMemory; - vmaVulkanFunc.vkUnmapMemory = vkUnmapMemory; + vmaVulkanFunc.vkGetPhysicalDeviceProperties = vkGetPhysicalDeviceProperties; + vmaVulkanFunc.vkInvalidateMappedMemoryRanges = vkInvalidateMappedMemoryRanges; + vmaVulkanFunc.vkMapMemory = vkMapMemory; + vmaVulkanFunc.vkUnmapMemory = vkUnmapMemory; VmaAllocatorCreateInfo allocatorInfo{}; allocatorInfo.physicalDevice = gpuContext->physicalDevice; - allocatorInfo.device = _gpuDevice->vkDevice; - allocatorInfo.instance = gpuContext->vkInstance; + allocatorInfo.device = _gpuDevice->vkDevice; + allocatorInfo.instance = gpuContext->vkInstance; if (checkExtension(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME) && checkExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME)) { allocatorInfo.flags |= VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT; vmaVulkanFunc.vkGetBufferMemoryRequirements2KHR = vkGetBufferMemoryRequirements2KHR; - vmaVulkanFunc.vkGetImageMemoryRequirements2KHR = vkGetImageMemoryRequirements2KHR; + vmaVulkanFunc.vkGetImageMemoryRequirements2KHR = vkGetImageMemoryRequirements2KHR; } allocatorInfo.pVulkanFunctions = &vmaVulkanFunc; @@ -299,7 +300,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { QueueInfo queueInfo; queueInfo.type = QueueType::GRAPHICS; - _queue = createQueue(queueInfo); + _queue = createQueue(queueInfo); uint backBufferCount = gpuContext->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { @@ -308,34 +309,49 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _gpuStagingBufferPools.push_back(CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice))); } - _gpuBufferHub = CC_NEW(CCVKGPUBufferHub(_gpuDevice)); - _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice, ((CCVKQueue *)_queue)->gpuQueue())); - _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); - _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); - _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); + _gpuBufferHub = CC_NEW(CCVKGPUBufferHub(_gpuDevice)); + _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice, ((CCVKQueue *)_queue)->gpuQueue())); + _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); + _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); + _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); _gpuTextureLayoutManager = CC_NEW(CCVKGPUTextureLayoutManager(_gpuDevice)); CommandBufferInfo cmdBuffInfo; - cmdBuffInfo.type = CommandBufferType::PRIMARY; + cmdBuffInfo.type = CommandBufferType::PRIMARY; cmdBuffInfo.queue = _queue; - _cmdBuff = createCommandBuffer(cmdBuffInfo); + _cmdBuff = createCommandBuffer(cmdBuffInfo); CCVKCmdFuncCreateSampler(this, &_gpuDevice->defaultSampler); _gpuDevice->defaultTexture.format = Format::RGBA8; - _gpuDevice->defaultTexture.usage = TextureUsageBit::SAMPLED; + _gpuDevice->defaultTexture.usage = TextureUsageBit::SAMPLED; _gpuDevice->defaultTexture.width = _gpuDevice->defaultTexture.height = 1u; - _gpuDevice->defaultTexture.size = FormatSize(Format::RGBA8, 1u, 1u, 1u); + _gpuDevice->defaultTexture.size = FormatSize(Format::RGBA8, 1u, 1u, 1u); CCVKCmdFuncCreateTexture(this, &_gpuDevice->defaultTexture); _gpuDevice->defaultTextureView.gpuTexture = &_gpuDevice->defaultTexture; - _gpuDevice->defaultTextureView.format = Format::RGBA8; + _gpuDevice->defaultTextureView.format = Format::RGBA8; CCVKCmdFuncCreateTextureView(this, &_gpuDevice->defaultTextureView); - _gpuDevice->defaultBuffer.usage = BufferUsage::UNIFORM; + ThsvsImageBarrier barrier{}; + barrier.nextAccessCount = 1; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::VERTEX_SHADER_READ_TEXTURE]; + barrier.image = _gpuDevice->defaultTexture.vkImage; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + gpuTransportHub()->checkIn( + [&barrier](const CCVKGPUCommandBuffer *gpuCommandBuffer) { + thsvsCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); + }, + true); // submit immediately + + _gpuDevice->defaultBuffer.usage = BufferUsage::UNIFORM; _gpuDevice->defaultBuffer.memUsage = MemoryUsage::HOST | MemoryUsage::DEVICE; _gpuDevice->defaultBuffer.size = _gpuDevice->defaultBuffer.stride = 16u; - _gpuDevice->defaultBuffer.count = 1u; + _gpuDevice->defaultBuffer.count = 1u; CCVKCmdFuncCreateBuffer(this, &_gpuDevice->defaultBuffer); VkPipelineCacheCreateInfo pipelineCacheInfo{VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO}; @@ -343,12 +359,12 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { for (uint i = 0u; i < gpuContext->swapchainCreateInfo.minImageCount; i++) { TextureInfo depthStencilTexInfo; - depthStencilTexInfo.type = TextureType::TEX2D; - depthStencilTexInfo.usage = TextureUsageBit::DEPTH_STENCIL_ATTACHMENT | TextureUsageBit::SAMPLED; + depthStencilTexInfo.type = TextureType::TEX2D; + depthStencilTexInfo.usage = TextureUsageBit::DEPTH_STENCIL_ATTACHMENT | TextureUsageBit::SAMPLED; depthStencilTexInfo.format = _context->getDepthStencilFormat(); - depthStencilTexInfo.width = _width; + depthStencilTexInfo.width = _width; depthStencilTexInfo.height = _height; - CCVKTexture *texture = (CCVKTexture *)createTexture(depthStencilTexInfo); + CCVKTexture *texture = (CCVKTexture *)createTexture(depthStencilTexInfo); _depthStencilTextures.push_back(texture); } @@ -372,9 +388,9 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { } uint32_t apiVersion = gpuContext->physicalDeviceProperties.apiVersion; - _renderer = gpuContext->physicalDeviceProperties.deviceName; - _vendor = MapVendorName(gpuContext->physicalDeviceProperties.vendorID); - _version = StringUtil::Format("%d.%d.%d", VK_VERSION_MAJOR(apiVersion), + _renderer = gpuContext->physicalDeviceProperties.deviceName; + _vendor = MapVendorName(gpuContext->physicalDeviceProperties.vendorID); + _version = StringUtil::Format("%d.%d.%d", VK_VERSION_MAJOR(apiVersion), VK_VERSION_MINOR(apiVersion), VK_VERSION_PATCH(apiVersion)); CC_LOG_INFO("Vulkan device initialized."); @@ -439,7 +455,7 @@ void CCVKDevice::destroy() { if (_gpuDevice->defaultBuffer.vkBuffer) { vmaDestroyBuffer(_gpuDevice->memoryAllocator, _gpuDevice->defaultBuffer.vkBuffer, _gpuDevice->defaultBuffer.vmaAllocation); - _gpuDevice->defaultBuffer.vkBuffer = VK_NULL_HANDLE; + _gpuDevice->defaultBuffer.vkBuffer = VK_NULL_HANDLE; _gpuDevice->defaultBuffer.vmaAllocation = VK_NULL_HANDLE; } if (_gpuDevice->defaultTextureView.vkImageView) { @@ -448,7 +464,7 @@ void CCVKDevice::destroy() { } if (_gpuDevice->defaultTexture.vkImage) { vmaDestroyImage(_gpuDevice->memoryAllocator, _gpuDevice->defaultTexture.vkImage, _gpuDevice->defaultTexture.vmaAllocation); - _gpuDevice->defaultTexture.vkImage = VK_NULL_HANDLE; + _gpuDevice->defaultTexture.vkImage = VK_NULL_HANDLE; _gpuDevice->defaultTexture.vmaAllocation = VK_NULL_HANDLE; } CCVKCmdFuncDestroySampler(_gpuDevice, &_gpuDevice->defaultSampler); @@ -488,10 +504,10 @@ void CCVKDevice::acquire() { if (!checkSwapchainStatus()) return; - queue->_numDrawCalls = 0; - queue->_numInstances = 0; - queue->_numTriangles = 0; - queue->gpuQueue()->nextWaitSemaphore = VK_NULL_HANDLE; + queue->_numDrawCalls = 0; + queue->_numInstances = 0; + queue->_numTriangles = 0; + queue->gpuQueue()->nextWaitSemaphore = VK_NULL_HANDLE; queue->gpuQueue()->nextSignalSemaphore = VK_NULL_HANDLE; _gpuBufferHub->flush(); @@ -504,23 +520,23 @@ void CCVKDevice::acquire() { assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); - queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; + queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; queue->gpuQueue()->nextSignalSemaphore = _gpuSemaphorePool->alloc(); } void CCVKDevice::present() { CCVKQueue *queue = (CCVKQueue *)_queue; - _numDrawCalls = queue->_numDrawCalls; - _numInstances = queue->_numInstances; - _numTriangles = queue->_numTriangles; + _numDrawCalls = queue->_numDrawCalls; + _numInstances = queue->_numInstances; + _numTriangles = queue->_numTriangles; if (queue->gpuQueue()->nextWaitSemaphore) { // don't present if not acquired VkPresentInfoKHR presentInfo{VK_STRUCTURE_TYPE_PRESENT_INFO_KHR}; presentInfo.waitSemaphoreCount = 1; - presentInfo.pWaitSemaphores = &queue->gpuQueue()->nextWaitSemaphore; - presentInfo.swapchainCount = 1; - presentInfo.pSwapchains = &_gpuSwapchain->vkSwapchain; - presentInfo.pImageIndices = &_gpuSwapchain->curImageIndex; + presentInfo.pWaitSemaphores = &queue->gpuQueue()->nextWaitSemaphore; + presentInfo.swapchainCount = 1; + presentInfo.pSwapchains = &_gpuSwapchain->vkSwapchain; + presentInfo.pImageIndices = &_gpuSwapchain->curImageIndex; VkResult res = vkQueuePresentKHR(queue->gpuQueue()->vkQueue, &presentInfo); #ifndef DISABLE_PRE_TRANSFORM @@ -541,8 +557,8 @@ void CCVKDevice::present() { } } -CCVKGPUFencePool *CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuDevice->curBackBufferIndex]; } -CCVKGPURecycleBin *CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuDevice->curBackBufferIndex]; } +CCVKGPUFencePool * CCVKDevice::gpuFencePool() { return _gpuFencePools[_gpuDevice->curBackBufferIndex]; } +CCVKGPURecycleBin * CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuDevice->curBackBufferIndex]; } CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { @@ -602,9 +618,9 @@ PipelineState *CCVKDevice::createPipelineState() { } void CCVKDevice::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - _cmdBuff->begin(); - const CCVKGPUCommandBuffer *gpuCommandBuffer = ((CCVKCommandBuffer *)_cmdBuff)->gpuCommandBuffer(); - CCVKCmdFuncCopyBuffersToTexture(this, buffers, ((CCVKTexture *)dst)->gpuTexture(), regions, count, gpuCommandBuffer); + gpuTransportHub()->checkIn([this, buffers, dst, regions, count](CCVKGPUCommandBuffer *gpuCommandBuffer) { + CCVKCmdFuncCopyBuffersToTexture(this, buffers, ((CCVKTexture *)dst)->gpuTexture(), regions, count, gpuCommandBuffer); + }); } bool CCVKDevice::checkSwapchainStatus() { @@ -613,7 +629,7 @@ bool CCVKDevice::checkSwapchainStatus() { VkSurfaceCapabilitiesKHR surfaceCapabilities; VK_CHECK(vkGetPhysicalDeviceSurfaceCapabilitiesKHR(context->physicalDevice, context->vkSurface, &surfaceCapabilities)); - uint newWidth = surfaceCapabilities.currentExtent.width; + uint newWidth = surfaceCapabilities.currentExtent.width; uint newHeight = surfaceCapabilities.currentExtent.height; VkSurfaceTransformFlagBitsKHR preTransform = surfaceCapabilities.currentTransform; @@ -623,7 +639,7 @@ bool CCVKDevice::checkSwapchainStatus() { if (preTransform & TRANSFORMS_THAT_REQUIRE_FLIPPING) { newHeight = surfaceCapabilities.currentExtent.width; - newWidth = surfaceCapabilities.currentExtent.height; + newWidth = surfaceCapabilities.currentExtent.height; } if (context->swapchainCreateInfo.preTransform == preTransform && @@ -633,7 +649,7 @@ bool CCVKDevice::checkSwapchainStatus() { } if (newWidth == (uint)-1) { - context->swapchainCreateInfo.imageExtent.width = _width; + context->swapchainCreateInfo.imageExtent.width = _width; context->swapchainCreateInfo.imageExtent.height = _height; } else { _nativeWidth = _width = context->swapchainCreateInfo.imageExtent.width = newWidth; @@ -644,9 +660,9 @@ bool CCVKDevice::checkSwapchainStatus() { return _swapchainReady = false; } - _transform = MapSurfaceTransform(preTransform); + _transform = MapSurfaceTransform(preTransform); context->swapchainCreateInfo.preTransform = preTransform; - context->swapchainCreateInfo.surface = context->vkSurface; + context->swapchainCreateInfo.surface = context->vkSurface; context->swapchainCreateInfo.oldSwapchain = _gpuSwapchain->vkSwapchain; CC_LOG_INFO("Resizing surface: %dx%d, surface rotation: %d degrees", newWidth, newHeight, (uint)_transform * 90); @@ -659,8 +675,8 @@ bool CCVKDevice::checkSwapchainStatus() { destroySwapchain(); _gpuDevice->curBackBufferIndex = 0u; - _gpuSwapchain->curImageIndex = 0; - _gpuSwapchain->vkSwapchain = vkSwapchain; + _gpuSwapchain->curImageIndex = 0; + _gpuSwapchain->vkSwapchain = vkSwapchain; uint imageCount; VK_CHECK(vkGetSwapchainImagesKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, &imageCount, nullptr)); @@ -675,9 +691,9 @@ bool CCVKDevice::checkSwapchainStatus() { _gpuSwapchain->depthStencilImageViews.push_back(((CCVKTexture *)_depthStencilTextures[i])->gpuTextureView()->vkImageView); VkImageViewCreateInfo imageViewCreateInfo{VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO}; - imageViewCreateInfo.image = _gpuSwapchain->swapchainImages[i]; - imageViewCreateInfo.viewType = VK_IMAGE_VIEW_TYPE_2D; - imageViewCreateInfo.format = context->swapchainCreateInfo.imageFormat; + imageViewCreateInfo.image = _gpuSwapchain->swapchainImages[i]; + imageViewCreateInfo.viewType = VK_IMAGE_VIEW_TYPE_2D; + imageViewCreateInfo.format = context->swapchainCreateInfo.imageFormat; imageViewCreateInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; imageViewCreateInfo.subresourceRange.levelCount = 1; imageViewCreateInfo.subresourceRange.layerCount = 1; @@ -685,37 +701,30 @@ bool CCVKDevice::checkSwapchainStatus() { VK_CHECK(vkCreateImageView(_gpuDevice->vkDevice, &imageViewCreateInfo, nullptr, &_gpuSwapchain->vkSwapchainImageViews[i])); } - bool hasStencil = GFX_FORMAT_INFOS[(uint)_context->getDepthStencilFormat()].hasStencil; - vector barriers(imageCount * 2, {VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER}); + bool hasStencil = GFX_FORMAT_INFOS[(uint)_context->getDepthStencilFormat()].hasStencil; + vector barriers(imageCount * 2, ThsvsImageBarrier{}); for (uint i = 0u; i < imageCount; i++) { - barriers[i].image = _gpuSwapchain->swapchainImages[i]; - barriers[i].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[i].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barriers[i].nextAccessCount = 1; + barriers[i].pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::COLOR_ATTACHMENT_WRITE]; + barriers[i].image = _gpuSwapchain->swapchainImages[i]; + barriers[i].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barriers[i].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barriers[i].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; barriers[i].subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; barriers[i].subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - barriers[i].srcAccessMask = 0; - barriers[i].dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; - barriers[i].oldLayout = VK_IMAGE_LAYOUT_UNDEFINED; - barriers[i].newLayout = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR; - barriers[imageCount + i].image = _gpuSwapchain->depthStencilImages[i]; - barriers[imageCount + i].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[imageCount + i].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barriers[imageCount + i].nextAccessCount = 1; + barriers[imageCount + i].pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE]; + barriers[imageCount + i].image = _gpuSwapchain->depthStencilImages[i]; + barriers[imageCount + i].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barriers[imageCount + i].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barriers[imageCount + i].subresourceRange.aspectMask = hasStencil ? VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT; barriers[imageCount + i].subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; barriers[imageCount + i].subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - barriers[imageCount + i].srcAccessMask = 0; - barriers[imageCount + i].dstAccessMask = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; - barriers[imageCount + i].oldLayout = VK_IMAGE_LAYOUT_UNDEFINED; - barriers[imageCount + i].newLayout = hasStencil ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL; } gpuTransportHub()->checkIn( - [&](const CCVKGPUCommandBuffer *cmdBuff) { - vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, - VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, imageCount, barriers.data()); - vkCmdPipelineBarrier(cmdBuff->vkCommandBuffer, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, - VK_DEPENDENCY_BY_REGION_BIT, 0, nullptr, 0, nullptr, imageCount, barriers.data() + imageCount); + [&](const CCVKGPUCommandBuffer *gpuCommandBuffer) { + thsvsCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, nullptr, 0, nullptr, imageCount, barriers.data()); }, true); // submit immediately diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 4cbd233b6d..e2b5242b33 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -34,20 +34,20 @@ namespace gfx { class CCVKGPUContext final : public Object { public: - VkInstance vkInstance = VK_NULL_HANDLE; + VkInstance vkInstance = VK_NULL_HANDLE; VkDebugUtilsMessengerEXT vkDebugUtilsMessenger = VK_NULL_HANDLE; - VkDebugReportCallbackEXT vkDebugReport = VK_NULL_HANDLE; + VkDebugReportCallbackEXT vkDebugReport = VK_NULL_HANDLE; - VkPhysicalDevice physicalDevice = VK_NULL_HANDLE; - VkPhysicalDeviceFeatures physicalDeviceFeatures{}; - VkPhysicalDeviceFeatures2 physicalDeviceFeatures2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2}; + VkPhysicalDevice physicalDevice = VK_NULL_HANDLE; + VkPhysicalDeviceFeatures physicalDeviceFeatures{}; + VkPhysicalDeviceFeatures2 physicalDeviceFeatures2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2}; VkPhysicalDeviceVulkan11Features physicalDeviceVulkan11Features{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES}; VkPhysicalDeviceVulkan12Features physicalDeviceVulkan12Features{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES}; - VkPhysicalDeviceProperties physicalDeviceProperties{}; - VkPhysicalDeviceProperties2 physicalDeviceProperties2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2}; + VkPhysicalDeviceProperties physicalDeviceProperties{}; + VkPhysicalDeviceProperties2 physicalDeviceProperties2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2}; VkPhysicalDeviceMemoryProperties physicalDeviceMemoryProperties{}; - vector queueFamilyProperties; - vector queueFamilyPresentables; + vector queueFamilyProperties; + vector queueFamilyPresentables; VkSurfaceKHR vkSurface = VK_NULL_HANDLE; @@ -55,9 +55,9 @@ public: }; class CCVKGPURenderPass final : public Object { public: - ColorAttachmentList colorAttachments; + ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; - SubPassInfoList subPasses; + SubPassInfoList subPasses; VkRenderPass vkRenderPass; @@ -67,22 +67,22 @@ public: class CCVKGPUTexture final : public Object { public: - TextureType type = TextureType::TEX2D; - Format format = Format::UNKNOWN; - TextureUsage usage = TextureUsageBit::NONE; - uint width = 0u; - uint height = 0u; - uint depth = 1u; - uint size = 0u; - uint arrayLayers = 1u; - uint mipLevels = 1u; - SampleCount samples = SampleCount::X1; - TextureFlags flags = TextureFlagBit::NONE; - VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - ThsvsImageLayout layoutRule = THSVS_IMAGE_LAYOUT_OPTIMAL; - bool isPowerOf2 = false; + TextureType type = TextureType::TEX2D; + Format format = Format::UNKNOWN; + TextureUsage usage = TextureUsageBit::NONE; + uint width = 0u; + uint height = 0u; + uint depth = 1u; + uint size = 0u; + uint arrayLayers = 1u; + uint mipLevels = 1u; + SampleCount samples = SampleCount::X1; + TextureFlags flags = TextureFlagBit::NONE; + VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + ThsvsImageLayout layoutRule = THSVS_IMAGE_LAYOUT_OPTIMAL; + bool isPowerOf2 = false; - VkImage vkImage = VK_NULL_HANDLE; + VkImage vkImage = VK_NULL_HANDLE; VmaAllocation vmaAllocation = VK_NULL_HANDLE; vector currentAccessTypes; @@ -92,12 +92,12 @@ public: class CCVKGPUTextureView final : public Object { public: CCVKGPUTexture *gpuTexture = nullptr; - TextureType type = TextureType::TEX2D; - Format format = Format::UNKNOWN; - uint baseLevel = 0u; - uint levelCount = 1u; - uint baseLayer = 0u; - uint layerCount = 1u; + TextureType type = TextureType::TEX2D; + Format format = Format::UNKNOWN; + uint baseLevel = 0u; + uint levelCount = 1u; + uint baseLayer = 0u; + uint layerCount = 1u; // descriptor infos VkImageView vkImageView = VK_NULL_HANDLE; @@ -106,18 +106,18 @@ typedef vector CCVKGPUTextureViewList; class CCVKGPUSampler final : public Object { public: - Filter minFilter = Filter::LINEAR; - Filter magFilter = Filter::LINEAR; - Filter mipFilter = Filter::NONE; - Address addressU = Address::WRAP; - Address addressV = Address::WRAP; - Address addressW = Address::WRAP; - uint maxAnisotropy = 16u; - ComparisonFunc cmpFunc = ComparisonFunc::NEVER; - Color borderColor; - uint minLOD = 0u; - uint maxLOD = 1000u; - float mipLODBias = 0.0f; + Filter minFilter = Filter::LINEAR; + Filter magFilter = Filter::LINEAR; + Filter mipFilter = Filter::NONE; + Address addressU = Address::WRAP; + Address addressV = Address::WRAP; + Address addressW = Address::WRAP; + uint maxAnisotropy = 16u; + ComparisonFunc cmpFunc = ComparisonFunc::NEVER; + Color borderColor; + uint minLOD = 0u; + uint maxLOD = 1000u; + float mipLODBias = 0.0f; // descriptor infos VkSampler vkSampler; @@ -125,23 +125,23 @@ public: class CCVKGPUBuffer final : public Object { public: - BufferUsage usage = BufferUsage::NONE; + BufferUsage usage = BufferUsage::NONE; MemoryUsage memUsage = MemoryUsage::NONE; - uint stride = 0u; - uint count = 0u; - void *buffer = nullptr; + uint stride = 0u; + uint count = 0u; + void * buffer = nullptr; - bool isDrawIndirectByIndex = false; - vector indirectCmds; + bool isDrawIndirectByIndex = false; + vector indirectCmds; vector indexedIndirectCmds; - uint8_t *mappedData = nullptr; + uint8_t * mappedData = nullptr; VmaAllocation vmaAllocation = VK_NULL_HANDLE; // descriptor infos - VkBuffer vkBuffer = VK_NULL_HANDLE; + VkBuffer vkBuffer = VK_NULL_HANDLE; VkDeviceSize startOffset = 0u; - VkDeviceSize size = 0u; + VkDeviceSize size = 0u; VkDeviceSize instanceSize = 0u; // per-back-buffer instance }; @@ -150,55 +150,55 @@ typedef vector CCVKGPUBufferList; class CCVKGPUBufferView final : public Object { public: CCVKGPUBuffer *gpuBuffer = nullptr; - uint offset = 0u; - uint range = 0u; + uint offset = 0u; + uint range = 0u; }; class CCVKGPUSwapchain; class CCVKGPUFramebuffer final : public Object { public: - CCVKGPURenderPass *gpuRenderPass = nullptr; + CCVKGPURenderPass * gpuRenderPass = nullptr; CCVKGPUTextureViewList gpuColorViews; - CCVKGPUTextureView *gpuDepthStencilView = nullptr; - VkFramebuffer vkFramebuffer = VK_NULL_HANDLE; - CCVKGPUSwapchain *swapchain = nullptr; - bool isOffscreen = true; + CCVKGPUTextureView * gpuDepthStencilView = nullptr; + VkFramebuffer vkFramebuffer = VK_NULL_HANDLE; + CCVKGPUSwapchain * swapchain = nullptr; + bool isOffscreen = true; }; -typedef vector FramebufferList; +typedef vector FramebufferList; typedef unordered_map FramebufferListMap; -typedef FramebufferListMap::iterator FramebufferListMapIter; +typedef FramebufferListMap::iterator FramebufferListMapIter; class CCVKGPUSwapchain final : public Object { public: - uint curImageIndex = 0u; - VkSwapchainKHR vkSwapchain = VK_NULL_HANDLE; - vector vkSwapchainImageViews; - FramebufferListMap vkSwapchainFramebufferListMap; + uint curImageIndex = 0u; + VkSwapchainKHR vkSwapchain = VK_NULL_HANDLE; + vector vkSwapchainImageViews; + FramebufferListMap vkSwapchainFramebufferListMap; vector> swapchainImageAccessTypes; vector> depthStencilImageAccessTypes; // external references - vector swapchainImages; - vector depthStencilImages; + vector swapchainImages; + vector depthStencilImages; vector depthStencilImageViews; }; class CCVKGPUCommandBuffer final : public Object { public: - VkCommandBuffer vkCommandBuffer = VK_NULL_HANDLE; - VkCommandBufferLevel level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; - uint queueFamilyIndex = 0u; - bool began = false; + VkCommandBuffer vkCommandBuffer = VK_NULL_HANDLE; + VkCommandBufferLevel level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; + uint queueFamilyIndex = 0u; + bool began = false; }; class CCVKGPUQueue final : public Object { public: - QueueType type = QueueType::GRAPHICS; - VkQueue vkQueue = VK_NULL_HANDLE; - uint queueFamilyIndex = 0u; - VkSemaphore nextWaitSemaphore = VK_NULL_HANDLE; - VkSemaphore nextSignalSemaphore = VK_NULL_HANDLE; - VkPipelineStageFlags submitStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; + QueueType type = QueueType::GRAPHICS; + VkQueue vkQueue = VK_NULL_HANDLE; + uint queueFamilyIndex = 0u; + VkSemaphore nextWaitSemaphore = VK_NULL_HANDLE; + VkSemaphore nextSignalSemaphore = VK_NULL_HANDLE; + VkPipelineStageFlags submitStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; CachedArray commandBuffers; }; @@ -207,41 +207,41 @@ struct CCVKGPUShaderStage { : type(t), source(s) { } ShaderStageFlagBit type = ShaderStageFlagBit::NONE; - String source; - VkShaderModule vkShader = VK_NULL_HANDLE; + String source; + VkShaderModule vkShader = VK_NULL_HANDLE; }; typedef vector CCVKGPUShaderStageList; class CCVKGPUShader final : public Object { public: - String name; - AttributeList attributes; - UniformBlockList blocks; - UniformSamplerList samplers; + String name; + AttributeList attributes; + UniformBlockList blocks; + UniformSamplerList samplers; CCVKGPUShaderStageList gpuStages; }; class CCVKGPUInputAssembler final : public Object { public: - AttributeList attributes; - CCVKGPUBufferList gpuVertexBuffers; - CCVKGPUBuffer *gpuIndexBuffer = nullptr; - CCVKGPUBuffer *gpuIndirectBuffer = nullptr; - vector vertexBuffers; + AttributeList attributes; + CCVKGPUBufferList gpuVertexBuffers; + CCVKGPUBuffer * gpuIndexBuffer = nullptr; + CCVKGPUBuffer * gpuIndirectBuffer = nullptr; + vector vertexBuffers; vector vertexBufferOffsets; }; union CCVKDescriptorInfo { - VkDescriptorImageInfo image; + VkDescriptorImageInfo image; VkDescriptorBufferInfo buffer; - VkBufferView texelBufferView; + VkBufferView texelBufferView; }; struct CCVKGPUDescriptor { - DescriptorType type = DescriptorType::UNKNOWN; + DescriptorType type = DescriptorType::UNKNOWN; vector accessTypes; - CCVKGPUBufferView *gpuBufferView = nullptr; - CCVKGPUTextureView *gpuTextureView = nullptr; - CCVKGPUSampler *gpuSampler = nullptr; + CCVKGPUBufferView * gpuBufferView = nullptr; + CCVKGPUTextureView * gpuTextureView = nullptr; + CCVKGPUSampler * gpuSampler = nullptr; }; typedef vector CCVKGPUDescriptorList; @@ -254,8 +254,8 @@ public: CCVKGPUDescriptorSetLayout *gpuLayout = nullptr; struct Instance { - VkDescriptorSet vkDescriptorSet = VK_NULL_HANDLE; - vector descriptorInfos; + VkDescriptorSet vkDescriptorSet = VK_NULL_HANDLE; + vector descriptorInfos; vector descriptorUpdateEntries; }; vector instances; // per swapchain image @@ -271,22 +271,22 @@ public: // helper storage vector dynamicOffsetOffsets; - uint dynamicOffsetCount; + uint dynamicOffsetCount; }; class CCVKGPUPipelineState final : public Object { public: - PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; - PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; - CCVKGPUShader *gpuShader = nullptr; + PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; + PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; + CCVKGPUShader * gpuShader = nullptr; CCVKGPUPipelineLayout *gpuPipelineLayout = nullptr; - InputState inputState; - RasterizerState rs; - DepthStencilState dss; - BlendState bs; - DynamicStateList dynamicStates; - CCVKGPURenderPass *gpuRenderPass = nullptr; - VkPipeline vkPipeline = VK_NULL_HANDLE; + InputState inputState; + RasterizerState rs; + DepthStencilState dss; + BlendState bs; + DynamicStateList dynamicStates; + CCVKGPURenderPass * gpuRenderPass = nullptr; + VkPipeline vkPipeline = VK_NULL_HANDLE; }; class CCVKGPUFence final : public Object { @@ -297,23 +297,23 @@ public: class CCVKGPUCommandBufferPool; class CCVKGPUDevice final : public Object { public: - VkDevice vkDevice = VK_NULL_HANDLE; - vector layers; + VkDevice vkDevice = VK_NULL_HANDLE; + vector layers; vector extensions; - VmaAllocator memoryAllocator = VK_NULL_HANDLE; - VkPipelineCache vkPipelineCache = VK_NULL_HANDLE; + VmaAllocator memoryAllocator = VK_NULL_HANDLE; + VkPipelineCache vkPipelineCache = VK_NULL_HANDLE; uint curBackBufferIndex = 0u; - uint backBufferCount = 3u; + uint backBufferCount = 3u; bool useDescriptorUpdateTemplate = false; - bool useMultiDrawIndirect = false; + bool useMultiDrawIndirect = false; // for default backup usages - CCVKGPUSampler defaultSampler; - CCVKGPUTexture defaultTexture; + CCVKGPUSampler defaultSampler; + CCVKGPUTexture defaultTexture; CCVKGPUTextureView defaultTextureView; - CCVKGPUBuffer defaultBuffer; + CCVKGPUBuffer defaultBuffer; CCVKGPUSwapchain *swapchain = nullptr; // reference @@ -352,7 +352,7 @@ public: return _fences[_count++]; } - VkFence fence = VK_NULL_HANDLE; + VkFence fence = VK_NULL_HANDLE; VkFenceCreateInfo createInfo{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO}; VK_CHECK(vkCreateFence(_device->vkDevice, &createInfo, nullptr, &fence)); _fences.push_back(fence); @@ -377,8 +377,8 @@ public: } private: - CCVKGPUDevice *_device = nullptr; - uint _count = 0u; + CCVKGPUDevice * _device = nullptr; + uint _count = 0u; vector _fences; }; @@ -404,7 +404,7 @@ public: return _semaphores[_count++]; } - VkSemaphore semaphore = VK_NULL_HANDLE; + VkSemaphore semaphore = VK_NULL_HANDLE; VkSemaphoreCreateInfo createInfo{VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO}; VK_CHECK(vkCreateSemaphore(_device->vkDevice, &createInfo, nullptr, &semaphore)); _semaphores.push_back(semaphore); @@ -422,8 +422,8 @@ public: } private: - CCVKGPUDevice *_device; - uint _count = 0u; + CCVKGPUDevice * _device; + uint _count = 0u; vector _semaphores; }; @@ -443,12 +443,12 @@ public: } void link(CCVKGPUDevice *device, uint maxSetsPerPool, vector &bindings, VkDescriptorSetLayout setLayout) { - _device = device; + _device = device; _maxSetsPerPool = maxSetsPerPool; _setLayouts.insert(_setLayouts.begin(), _maxSetsPerPool, setLayout); unordered_map typeMap; - for (size_t i = 0u; i < bindings.size(); i++) { + for (size_t i = 0u; i < bindings.size(); ++i) { VkDescriptorSetLayoutBinding &vkBinding = bindings[i]; typeMap[vkBinding.descriptorType] += maxSetsPerPool * vkBinding.descriptorCount; } @@ -468,7 +468,7 @@ public: VkDescriptorSet output = VK_NULL_HANDLE; size_t size = _pools.size(); - uint idx = 0u; + uint idx = 0u; for (; idx < size; idx++) { if (_pools[idx].freeSets.size()) { output = _pools[idx].freeSets.back(); @@ -480,9 +480,9 @@ public: if (idx >= size) { VkDescriptorPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO}; - createInfo.maxSets = _maxSetsPerPool; + createInfo.maxSets = _maxSetsPerPool; createInfo.poolSizeCount = _poolSizes.size(); - createInfo.pPoolSizes = _poolSizes.data(); + createInfo.pPoolSizes = _poolSizes.data(); VkDescriptorPool descriptorPool; VK_CHECK(vkCreateDescriptorPool(_device->vkDevice, &createInfo, nullptr, &descriptorPool)); @@ -490,9 +490,9 @@ public: _pools[idx].freeSets.resize(_maxSetsPerPool); VkDescriptorSetAllocateInfo info{VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO}; - info.pSetLayouts = _setLayouts.data(); + info.pSetLayouts = _setLayouts.data(); info.descriptorSetCount = _maxSetsPerPool; - info.descriptorPool = descriptorPool; + info.descriptorPool = descriptorPool; VK_CHECK(vkAllocateDescriptorSets(_device->vkDevice, &info, _pools[idx].freeSets.data())); } @@ -516,32 +516,32 @@ private: CCVKGPUDevice *_device = nullptr; struct DescriptorSetPool { - VkDescriptorPool vkPool = VK_NULL_HANDLE; + VkDescriptorPool vkPool = VK_NULL_HANDLE; unordered_set activeSets; - vector freeSets; + vector freeSets; }; vector _pools; - vector _poolSizes; + vector _poolSizes; vector _setLayouts; - uint _maxSetsPerPool = 0u; + uint _maxSetsPerPool = 0u; }; class CCVKGPUDescriptorSetLayout final : public Object { public: DescriptorSetLayoutBindingList bindings; - vector dynamicBindings; + vector dynamicBindings; vector vkBindings; - VkDescriptorSetLayout vkDescriptorSetLayout = VK_NULL_HANDLE; - VkDescriptorUpdateTemplate vkDescriptorUpdateTemplate = VK_NULL_HANDLE; - VkDescriptorSet defaultDescriptorSet = VK_NULL_HANDLE; + VkDescriptorSetLayout vkDescriptorSetLayout = VK_NULL_HANDLE; + VkDescriptorUpdateTemplate vkDescriptorUpdateTemplate = VK_NULL_HANDLE; + VkDescriptorSet defaultDescriptorSet = VK_NULL_HANDLE; vector bindingIndices; vector descriptorIndices; - uint descriptorCount = 0u; + uint descriptorCount = 0u; - uint maxSetsPerPool = 10u; + uint maxSetsPerPool = 10u; CCVKGPUDescriptorSetPool pool; }; @@ -585,7 +585,7 @@ public: if (!_pools.count(hash)) { VkCommandPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO}; createInfo.queueFamilyIndex = gpuCommandBuffer->queueFamilyIndex; - createInfo.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT; + createInfo.flags = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT; VK_CHECK(vkCreateCommandPool(_device->vkDevice, &createInfo, nullptr, &_pools[hash].vkCommandPool)); } CommandBufferPool &pool = _pools[hash]; @@ -595,9 +595,9 @@ public: gpuCommandBuffer->vkCommandBuffer = availableList.pop(); } else { VkCommandBufferAllocateInfo allocateInfo{VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO}; - allocateInfo.commandPool = pool.vkCommandPool; + allocateInfo.commandPool = pool.vkCommandPool; allocateInfo.commandBufferCount = 1; - allocateInfo.level = gpuCommandBuffer->level; + allocateInfo.level = gpuCommandBuffer->level; VK_CHECK(vkAllocateCommandBuffers(_device->vkDevice, &allocateInfo, &gpuCommandBuffer->vkCommandBuffer)); } } @@ -619,7 +619,7 @@ public: CommandBufferPool &pool = it->second; bool needsReset = false; - for (uint i = 0u; i < 2u; i++) { + for (uint i = 0u; i < 2u; ++i) { CachedArray &usedList = pool.usedCommandBuffers[i]; if (usedList.size()) { pool.commandBuffers[i].concat(usedList); @@ -635,13 +635,13 @@ public: private: struct CommandBufferPool { - VkCommandPool vkCommandPool = VK_NULL_HANDLE; + VkCommandPool vkCommandPool = VK_NULL_HANDLE; CachedArray commandBuffers[2]; CachedArray usedCommandBuffers[2]; }; - CCVKGPUDevice *_device = nullptr; - uint _lastBackBufferIndex = 0u; + CCVKGPUDevice *_device = nullptr; + uint _lastBackBufferIndex = 0u; unordered_map _pools; }; @@ -649,7 +649,7 @@ private: /** * Staging buffer pool, based on multiple fix-sized VkBuffer blocks. */ -constexpr size_t chunkSize = 32 * 1024 * 1024; // 32M per block by default +constexpr size_t chunkSize = 32 * 1024 * 1024; // 32M per block by default class CCVKGPUStagingBufferPool final : public Object { public: CCVKGPUStagingBufferPool(CCVKGPUDevice *device) @@ -664,13 +664,13 @@ public: } CC_INLINE void alloc(CCVKGPUBuffer *gpuBuffer) { alloc(gpuBuffer, 1u); } - void alloc(CCVKGPUBuffer *gpuBuffer, uint alignment) { - size_t bufferCount = _pool.size(); - Buffer *buffer = nullptr; - VkDeviceSize offset = 0u; + void alloc(CCVKGPUBuffer *gpuBuffer, uint alignment) { + size_t bufferCount = _pool.size(); + Buffer * buffer = nullptr; + VkDeviceSize offset = 0u; for (size_t idx = 0u; idx < bufferCount; idx++) { Buffer *cur = &_pool[idx]; - offset = roundUp(cur->curOffset, alignment); + offset = roundUp(cur->curOffset, alignment); if (chunkSize - offset >= gpuBuffer->size) { buffer = cur; break; @@ -680,7 +680,7 @@ public: _pool.resize(bufferCount + 1); buffer = &_pool.back(); VkBufferCreateInfo bufferInfo{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; - bufferInfo.size = chunkSize; + bufferInfo.size = chunkSize; bufferInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; VmaAllocationCreateInfo allocInfo{}; allocInfo.flags = VMA_ALLOCATION_CREATE_MAPPED_BIT; @@ -688,12 +688,12 @@ public: VmaAllocationInfo res; VK_CHECK(vmaCreateBuffer(_device->memoryAllocator, &bufferInfo, &allocInfo, &buffer->vkBuffer, &buffer->vmaAllocation, &res)); buffer->mappedData = (uint8_t *)res.pMappedData; - offset = 0u; + offset = 0u; } - gpuBuffer->vkBuffer = buffer->vkBuffer; + gpuBuffer->vkBuffer = buffer->vkBuffer; gpuBuffer->startOffset = offset; - gpuBuffer->mappedData = buffer->mappedData + offset; - buffer->curOffset = offset + gpuBuffer->size; + gpuBuffer->mappedData = buffer->mappedData + offset; + buffer->curOffset = offset + gpuBuffer->size; } void reset() { @@ -704,8 +704,8 @@ public: private: struct Buffer { - VkBuffer vkBuffer = VK_NULL_HANDLE; - uint8_t *mappedData = nullptr; + VkBuffer vkBuffer = VK_NULL_HANDLE; + uint8_t * mappedData = nullptr; VmaAllocation vmaAllocation = VK_NULL_HANDLE; VkDeviceSize curOffset = 0u; @@ -739,7 +739,7 @@ public: auto it = _buffers.find(buffer); if (it == _buffers.end()) return; auto &descriptors = it->second; - for (uint i = 0u; i < descriptors.size(); i++) { + for (uint i = 0u; i < descriptors.size(); ++i) { _doUpdate(buffer, descriptors[i]); } } @@ -747,7 +747,7 @@ public: auto it = _buffers.find(buffer); if (it == _buffers.end()) return; auto &descriptors = it->second; - for (uint i = 0u; i < descriptors.size(); i++) { + for (uint i = 0u; i < descriptors.size(); ++i) { if (descriptors[i] == descriptor) { _doUpdate(buffer, descriptor); break; @@ -758,7 +758,7 @@ public: auto it = _textures.find(texture); if (it == _textures.end()) return; auto &descriptors = it->second; - for (uint i = 0u; i < descriptors.size(); i++) { + for (uint i = 0u; i < descriptors.size(); ++i) { _doUpdate(texture, descriptors[i]); } } @@ -766,7 +766,7 @@ public: auto it = _textures.find(texture); if (it == _textures.end()) return; auto &descriptors = it->second; - for (uint i = 0u; i < descriptors.size(); i++) { + for (uint i = 0u; i < descriptors.size(); ++i) { if (descriptors[i] == descriptor) { _doUpdate(texture, descriptor); break; @@ -777,7 +777,7 @@ public: auto it = _samplers.find(sampler); if (it == _samplers.end()) return; auto &descriptors = it->second; - for (uint i = 0u; i < descriptors.size(); i++) { + for (uint i = 0u; i < descriptors.size(); ++i) { _doUpdate(sampler, descriptors[i]); } } @@ -785,7 +785,7 @@ public: auto it = _samplers.find(sampler); if (it == _samplers.end()) return; auto &descriptors = it->second; - for (uint i = 0u; i < descriptors.size(); i++) { + for (uint i = 0u; i < descriptors.size(); ++i) { if (descriptors[i] == descriptor) { _doUpdate(sampler, descriptor); break; @@ -834,9 +834,9 @@ public: private: CC_INLINE void _doUpdate(const CCVKGPUBufferView *buffer, VkDescriptorBufferInfo *descriptor) { VkDeviceSize instanceOffset = _bufferInstaceIndices[descriptor] * buffer->gpuBuffer->instanceSize; - descriptor->buffer = buffer->gpuBuffer->vkBuffer; - descriptor->offset = buffer->gpuBuffer->startOffset + instanceOffset + buffer->offset; - descriptor->range = buffer->range; + descriptor->buffer = buffer->gpuBuffer->vkBuffer; + descriptor->offset = buffer->gpuBuffer->startOffset + instanceOffset + buffer->offset; + descriptor->range = buffer->range; } CC_INLINE void _doUpdate(const CCVKGPUTextureView *texture, VkDescriptorImageInfo *descriptor) { @@ -847,10 +847,10 @@ private: descriptor->sampler = sampler->vkSampler; } - unordered_map _bufferInstaceIndices; + unordered_map _bufferInstaceIndices; unordered_map> _buffers; unordered_map> _textures; - unordered_map> _samplers; + unordered_map> _samplers; }; /** @@ -902,7 +902,7 @@ private: } } - CCVKGPUDevice *_device = nullptr; + CCVKGPUDevice * _device = nullptr; vector> _setsToBeUpdated; }; @@ -918,37 +918,38 @@ public: target.push_back(newTypes[i]); } } - if (!std::is_permutation(gpuTexture->currentAccessTypes.begin(), gpuTexture->currentAccessTypes.end(), target.begin(), target.end())) { - _texturesToBeChecked.insert(gpuTexture); - } + _texturesToBeChecked.insert(gpuTexture); } void update(CCVKGPUCommandBuffer *cmdBuffer) { ThsvsImageBarrier barrier{}; + barrier.discardContents = false; + barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + VkPipelineStageFlags srcStages = 0; VkPipelineStageFlags dstStages = 0; VkImageMemoryBarrier vkBarrier; for (CCVKGPUTexture *gpuTexture : _texturesToBeChecked) { - barrier.prevAccessCount = gpuTexture->currentAccessTypes.size(); - barrier.pPrevAccesses = gpuTexture->currentAccessTypes.data(); - barrier.nextAccessCount = gpuTexture->renderAccessTypes.size(); - barrier.pNextAccesses = gpuTexture->renderAccessTypes.data(); - barrier.discardContents = false; - barrier.prevLayout = gpuTexture->layoutRule; - barrier.nextLayout = gpuTexture->layoutRule; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.image = gpuTexture->vkImage; - barrier.subresourceRange.aspectMask = gpuTexture->aspectMask; - barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - thsvsGetVulkanImageMemoryBarrier(barrier, &srcStages, &dstStages, &vkBarrier); + vector &render = gpuTexture->renderAccessTypes; + vector ¤t = gpuTexture->currentAccessTypes; + if (!std::is_permutation(current.begin(), current.end(), render.begin(), render.end())) { + barrier.prevAccessCount = current.size(); + barrier.pPrevAccesses = current.data(); + barrier.nextAccessCount = render.size(); + barrier.pNextAccesses = render.data(); + barrier.image = gpuTexture->vkImage; + barrier.subresourceRange.aspectMask = gpuTexture->aspectMask; + thsvsGetVulkanImageMemoryBarrier(barrier, &srcStages, &dstStages, &vkBarrier); - if (vkBarrier.oldLayout != vkBarrier.newLayout) { vkCmdPipelineBarrier(cmdBuffer->vkCommandBuffer, srcStages, dstStages, 0, 0, nullptr, 0, nullptr, 1, &vkBarrier); + current = render; } - gpuTexture->currentAccessTypes = gpuTexture->renderAccessTypes; } _texturesToBeChecked.clear(); } @@ -957,7 +958,7 @@ public: private: unordered_set _texturesToBeChecked; - CCVKGPUDevice *_device = nullptr; + CCVKGPUDevice * _device = nullptr; }; /** @@ -999,8 +1000,8 @@ public: private: struct BufferUpdate { - const void *src = nullptr; - size_t size = 0u; + const void *src = nullptr; + size_t size = 0u; }; uint8_t *update(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { uint8_t *dst = gpuBuffer->mappedData + _device->curBackBufferIndex * gpuBuffer->instanceSize; @@ -1008,7 +1009,7 @@ private: return dst; } - CCVKGPUDevice *_device = nullptr; + CCVKGPUDevice * _device = nullptr; vector> _buffersToBeUpdated; }; @@ -1029,7 +1030,7 @@ public: _resources.resize(_count * 2); \ } \ Resource &res = _resources[_count++]; \ - res.type = typeValue; \ + res.type = typeValue; \ expr; \ } DEFINE_RECYCLE_BIN_COLLECT_FN(CCVKGPUBuffer, RecycledType::BUFFER, (res.buffer = {gpuRes->vkBuffer, gpuRes->vmaAllocation})) @@ -1062,36 +1063,36 @@ private: FENCE, }; struct Buffer { - VkBuffer vkBuffer; + VkBuffer vkBuffer; VmaAllocation vmaAllocation; }; struct Image { - VkImage vkImage; + VkImage vkImage; VmaAllocation vmaAllocation; }; struct Resource { - RecycledType type = RecycledType::UNKNOWN; - bool isView = false; + RecycledType type = RecycledType::UNKNOWN; + bool isView = false; union { // resizable resources, cannot take over directly // or descriptor sets won't work - Buffer buffer; - Image image; + Buffer buffer; + Image image; VkImageView vkImageView; - CCVKGPURenderPass *gpuRenderPass; - CCVKGPUFramebuffer *gpuFramebuffer; - CCVKGPUSampler *gpuSampler; - CCVKGPUShader *gpuShader; + CCVKGPURenderPass * gpuRenderPass; + CCVKGPUFramebuffer * gpuFramebuffer; + CCVKGPUSampler * gpuSampler; + CCVKGPUShader * gpuShader; CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout; - CCVKGPUPipelineLayout *gpuPipelineLayout; - CCVKGPUPipelineState *gpuPipelineState; - CCVKGPUFence *gpuFence; + CCVKGPUPipelineLayout * gpuPipelineLayout; + CCVKGPUPipelineState * gpuPipelineState; + CCVKGPUFence * gpuFence; }; }; - CCVKGPUDevice *_device = nullptr; + CCVKGPUDevice * _device = nullptr; vector _resources; - uint _count = 0u; + uint _count = 0u; }; /** @@ -1103,7 +1104,7 @@ class CCVKGPUTransportHub final : public Object { public: CCVKGPUTransportHub(CCVKGPUDevice *device, CCVKGPUQueue *queue) : _device(device), _queue(queue) { - _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; + _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; _cmdBuff.queueFamilyIndex = _queue->queueFamilyIndex; VkFenceCreateInfo createInfo{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO}; @@ -1138,7 +1139,7 @@ public: VK_CHECK(vkEndCommandBuffer(_cmdBuff.vkCommandBuffer)); VkSubmitInfo submitInfo{VK_STRUCTURE_TYPE_SUBMIT_INFO}; submitInfo.commandBufferCount = 1; - submitInfo.pCommandBuffers = &_cmdBuff.vkCommandBuffer; + submitInfo.pCommandBuffers = &_cmdBuff.vkCommandBuffer; VK_CHECK(vkQueueSubmit(_queue->vkQueue, 1, &submitInfo, _fence)); VK_CHECK(vkWaitForFences(_device->vkDevice, 1, &_fence, VK_TRUE, DEFAULT_TIMEOUT)); vkResetFences(_device->vkDevice, 1, &_fence); @@ -1159,9 +1160,9 @@ public: private: CCVKGPUDevice *_device = nullptr; - CCVKGPUQueue *_queue = nullptr; + CCVKGPUQueue * _queue = nullptr; CCVKGPUCommandBuffer _cmdBuff; - VkFence _fence = VK_NULL_HANDLE; + VkFence _fence = VK_NULL_HANDLE; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 273e20451d..4adc8e2339 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -40,10 +40,10 @@ CCVKQueue::~CCVKQueue() { } bool CCVKQueue::initialize(const QueueInfo &info) { - _type = info.type; + _type = info.type; _isAsync = true; - _gpuQueue = CC_NEW(CCVKGPUQueue); + _gpuQueue = CC_NEW(CCVKGPUQueue); _gpuQueue->type = _type; CCVKCmdFuncGetDeviceQueue((CCVKDevice *)_device, _gpuQueue); @@ -62,12 +62,14 @@ void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { CCVKDevice *device = (CCVKDevice *)_device; _gpuQueue->commandBuffers.clear(); +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC CCVKGPUTextureLayoutManager *layoutMgr = device->gpuTextureLayoutManager(); if (layoutMgr->needUpdate()) { device->gpuTransportHub()->checkIn([layoutMgr](CCVKGPUCommandBuffer *cmdBuffer) { layoutMgr->update(cmdBuffer); }); } +#endif if (!device->gpuTransportHub()->empty()) { _gpuQueue->commandBuffers.push(device->gpuTransportHub()->readyForFlight()); @@ -86,18 +88,18 @@ void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { } VkSubmitInfo submitInfo{VK_STRUCTURE_TYPE_SUBMIT_INFO}; - submitInfo.waitSemaphoreCount = _gpuQueue->nextWaitSemaphore ? 1 : 0; - submitInfo.pWaitSemaphores = &_gpuQueue->nextWaitSemaphore; - submitInfo.pWaitDstStageMask = &_gpuQueue->submitStageMask; - submitInfo.commandBufferCount = _gpuQueue->commandBuffers.size(); - submitInfo.pCommandBuffers = &_gpuQueue->commandBuffers[0]; + submitInfo.waitSemaphoreCount = _gpuQueue->nextWaitSemaphore ? 1 : 0; + submitInfo.pWaitSemaphores = &_gpuQueue->nextWaitSemaphore; + submitInfo.pWaitDstStageMask = &_gpuQueue->submitStageMask; + submitInfo.commandBufferCount = _gpuQueue->commandBuffers.size(); + submitInfo.pCommandBuffers = &_gpuQueue->commandBuffers[0]; submitInfo.signalSemaphoreCount = _gpuQueue->nextSignalSemaphore ? 1 : 0; - submitInfo.pSignalSemaphores = &_gpuQueue->nextSignalSemaphore; + submitInfo.pSignalSemaphores = &_gpuQueue->nextSignalSemaphore; VkFence vkFence = device->gpuFencePool()->alloc(); VK_CHECK(vkQueueSubmit(_gpuQueue->vkQueue, 1, &submitInfo, vkFence)); - _gpuQueue->nextWaitSemaphore = _gpuQueue->nextSignalSemaphore; + _gpuQueue->nextWaitSemaphore = _gpuQueue->nextSignalSemaphore; _gpuQueue->nextSignalSemaphore = device->gpuSemaphorePool()->alloc(); } diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index d8b3f3c9d8..1008cf2427 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -37,7 +37,7 @@ THE SOFTWARE. #define BARRIER_DEDUCTION_LEVEL_BASIC 1 #define BARRIER_DEDUCTION_LEVEL_FULL 2 -#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_FULL +#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_NONE namespace cc { namespace gfx { @@ -267,7 +267,7 @@ VkImageUsageFlagBits MapVkImageUsageFlagBits(TextureUsage usage) { VkImageAspectFlags MapVkImageAspectFlags(Format format) { VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - const FormatInfo &info = GFX_FORMAT_INFOS[(uint)format]; + const FormatInfo & info = GFX_FORMAT_INFOS[(uint)format]; if (info.hasDepth) { aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; } @@ -390,27 +390,27 @@ String MapVendorName(uint32_t vendorID) { void MapDepthStencilBits(Format format, uint &depthBits, uint &stencilBits) { switch (format) { case Format::D16: - depthBits = 16; + depthBits = 16; stencilBits = 0; break; case Format::D16S8: - depthBits = 16; + depthBits = 16; stencilBits = 8; break; case Format::D24: - depthBits = 24; + depthBits = 24; stencilBits = 0; break; case Format::D24S8: - depthBits = 24; + depthBits = 24; stencilBits = 8; break; case Format::D32F: - depthBits = 32; + depthBits = 32; stencilBits = 0; break; case Format::D32F_S8: - depthBits = 32; + depthBits = 32; stencilBits = 8; break; default: break; diff --git a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h index 838b9229d5..da0f63b6a4 100644 --- a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h +++ b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h @@ -471,73 +471,6 @@ void thsvsCmdWaitEvents( uint32_t imageBarrierCount, const ThsvsImageBarrier* pImageBarriers); -#endif // THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_H - -#ifdef THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION - -#include - -//// Optional Error Checking //// -/* -Checks for barriers defining multiple usages that have different layouts -*/ -// #define THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT - -/* -Checks if an image/buffer barrier is used when a global barrier would suffice -*/ -// #define THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER - -/* -Checks if a write access is listed alongside any other access - if so it -points to a potential data hazard that you need to synchronize separately. -In some cases it may simply be over-synchronization however, but it's usually -worth checking. -*/ -// #define THSVS_ERROR_CHECK_POTENTIAL_HAZARD - -/* -Checks if a variety of table lookups (like the access map) are within -a valid range. -*/ -// #define THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE - -//// Temporary Memory Allocation //// -/* -Override these if you can't afford the stack space or just want to use a -custom temporary allocator. -These are currently used exclusively to allocate Vulkan memory barriers in -the API, one for each Buffer or Image barrier passed into the pipeline and -event functions. -May consider other allocation strategies in future. -*/ - -// Alloca inclusion code below copied from -// https://github.com/nothings/stb/blob/master/stb_vorbis.c - -// find definition of alloca if it's not in stdlib.h: -#if defined(_MSC_VER) || defined(__MINGW32__) - #include -#endif -#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) - #include -#endif - -#if defined(THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE) || \ - defined(THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER) || \ - defined(THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT) || \ - defined(THSVS_ERROR_CHECK_POTENTIAL_HAZARD) - #include -#endif - -#if !defined(THSVS_TEMP_ALLOC) -#define THSVS_TEMP_ALLOC(size) (alloca(size)) -#endif - -#if !defined(THSVS_TEMP_FREE) -#define THSVS_TEMP_FREE(x) ((void)(x)) -#endif - typedef struct ThsvsVkAccessInfo { VkPipelineStageFlags stageMask; VkAccessFlags accessMask; @@ -847,6 +780,73 @@ const ThsvsVkAccessInfo ThsvsAccessMap[THSVS_NUM_ACCESS_TYPES] = { VK_IMAGE_LAYOUT_GENERAL} }; +#endif // THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_H + +#ifdef THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION + +#include + +//// Optional Error Checking //// +/* +Checks for barriers defining multiple usages that have different layouts +*/ +// #define THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT + +/* +Checks if an image/buffer barrier is used when a global barrier would suffice +*/ +// #define THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER + +/* +Checks if a write access is listed alongside any other access - if so it +points to a potential data hazard that you need to synchronize separately. +In some cases it may simply be over-synchronization however, but it's usually +worth checking. +*/ +// #define THSVS_ERROR_CHECK_POTENTIAL_HAZARD + +/* +Checks if a variety of table lookups (like the access map) are within +a valid range. +*/ +// #define THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + +//// Temporary Memory Allocation //// +/* +Override these if you can't afford the stack space or just want to use a +custom temporary allocator. +These are currently used exclusively to allocate Vulkan memory barriers in +the API, one for each Buffer or Image barrier passed into the pipeline and +event functions. +May consider other allocation strategies in future. +*/ + +// Alloca inclusion code below copied from +// https://github.com/nothings/stb/blob/master/stb_vorbis.c + +// find definition of alloca if it's not in stdlib.h: +#if defined(_MSC_VER) || defined(__MINGW32__) + #include +#endif +#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) + #include +#endif + +#if defined(THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE) || \ + defined(THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER) || \ + defined(THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT) || \ + defined(THSVS_ERROR_CHECK_POTENTIAL_HAZARD) + #include +#endif + +#if !defined(THSVS_TEMP_ALLOC) +#define THSVS_TEMP_ALLOC(size) (alloca(size)) +#endif + +#if !defined(THSVS_TEMP_FREE) +#define THSVS_TEMP_FREE(x) ((void)(x)) +#endif + void thsvsGetVulkanMemoryBarrier( ThsvsGlobalBarrier thBarrier, VkPipelineStageFlags* pSrcStages, From b35d2929407889b2bb5edd9e081a6c84dd1723ee Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 25 Jan 2021 11:34:38 +0800 Subject: [PATCH 134/270] vk: remove all thsvsCmdPipelineBarrier --- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 54 ++++++++++++++++--- native/cocos/renderer/gfx-vulkan/VKCommands.h | 2 + .../cocos/renderer/gfx-vulkan/VKContext.cpp | 4 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 47 +++++++++------- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 33 +----------- .../thsvs_simpler_vulkan_synchronization.h | 48 ++++++++--------- 6 files changed, 103 insertions(+), 85 deletions(-) diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index e3b684eb86..c451e655d5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -748,7 +748,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const } void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *buffers, CCVKGPUTexture *gpuTexture, - const BufferTextureCopy *regions, uint count, const CCVKGPUCommandBuffer *cmdBuff) { + const BufferTextureCopy *regions, uint count, const CCVKGPUCommandBuffer *gpuCommandBuffer) { vector &curTypes = gpuTexture->currentAccessTypes; ThsvsImageBarrier barrier{}; @@ -765,7 +765,7 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; if (std::find(curTypes.begin(), curTypes.end(), THSVS_ACCESS_TRANSFER_WRITE) == curTypes.end()) { - thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); + CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); } uint totalSize = 0u; @@ -798,7 +798,7 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b offset += regionSizes[i]; } - vkCmdCopyBufferToImage(cmdBuff->vkCommandBuffer, stagingBuffer.vkBuffer, gpuTexture->vkImage, + vkCmdCopyBufferToImage(gpuCommandBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuTexture->vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, stagingRegions.size(), stagingRegions.data()); if (gpuTexture->flags & TextureFlags::GEN_MIPMAP) { @@ -824,11 +824,11 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b for (uint i = 1u; i < gpuTexture->mipLevels; ++i) { barrier.subresourceRange.baseMipLevel = i - 1; - thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); + CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); blitInfo.srcSubresource.mipLevel = i - 1; blitInfo.dstSubresource.mipLevel = i; - vkCmdBlitImage(cmdBuff->vkCommandBuffer, gpuTexture->vkImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, + vkCmdBlitImage(gpuCommandBuffer->vkCommandBuffer, gpuTexture->vkImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, gpuTexture->vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, &blitInfo, VK_FILTER_LINEAR); const int32_t w = blitInfo.srcOffsets[1].x = blitInfo.dstOffsets[1].x; @@ -842,7 +842,7 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; - thsvsCmdPipelineBarrier(cmdBuff->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); + CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); } else { const char *formatName = GFX_FORMAT_INFOS[(uint)gpuTexture->format].name.c_str(); CC_LOG_WARNING("CCVKCmdFuncCopyBuffersToTexture: generate mipmap for %s is not supported on this platform", formatName); @@ -931,6 +931,18 @@ void CCVKCmdFuncDestroyFence(CCVKGPUDevice *gpuDevice, CCVKGPUFence *gpuFence) { } } +void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier) { + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + VkImageMemoryBarrier vkBarrier; + thsvsGetVulkanImageMemoryBarrier(imageBarrier, &tempSrcStageMask, &tempDstStageMask, &vkBarrier); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, 0, nullptr, 0, nullptr, 1, &vkBarrier); +} + void CCVKGPURecycleBin::clear() { for (uint i = 0u; i < _count; ++i) { Resource &res = _resources[i]; @@ -1018,5 +1030,33 @@ void CCVKGPURecycleBin::clear() { _count = 0; } -} // namespace gfx +void CCVKGPUTextureLayoutManager::update(CCVKGPUCommandBuffer *gpuCommandBuffer) { + ThsvsImageBarrier barrier{}; + barrier.discardContents = false; + barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + + for (CCVKGPUTexture *gpuTexture : _texturesToBeChecked) { + vector &render = gpuTexture->renderAccessTypes; + vector ¤t = gpuTexture->currentAccessTypes; + if (!std::is_permutation(current.begin(), current.end(), render.begin(), render.end())) { + barrier.prevAccessCount = current.size(); + barrier.pPrevAccesses = current.data(); + barrier.nextAccessCount = render.size(); + barrier.pNextAccesses = render.data(); + barrier.image = gpuTexture->vkImage; + barrier.subresourceRange.aspectMask = gpuTexture->aspectMask; + CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); + + current = render; + } + } + _texturesToBeChecked.clear(); +} + +} // namespace cc } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index 4e7a938c0d..903ae46bc9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -80,6 +80,8 @@ CC_VULKAN_API void CCVKCmdFuncDestroyPipelineLayout(CCVKGPUDevice *device, CCVKG CC_VULKAN_API void CCVKCmdFuncDestroyPipelineState(CCVKGPUDevice *device, CCVKGPUPipelineState *gpuPipelineState); CC_VULKAN_API void CCVKCmdFuncDestroyFence(CCVKGPUDevice *device, CCVKGPUFence *gpuFence); +CC_VULKAN_API void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier); + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index fb04b9364e..152d51ab5c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -53,7 +53,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSe void * userData) { if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) { CC_LOG_ERROR("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); - CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); + //CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT) { CC_LOG_WARNING("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT) { @@ -76,7 +76,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugReportCallback(VkDebugReportFlagsEXT fl void * userData) { if (flags & VK_DEBUG_REPORT_ERROR_BIT_EXT) { CC_LOG_ERROR("%s: %s", layerPrefix, message); - CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); + //CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); } else if (flags & (VK_DEBUG_REPORT_WARNING_BIT_EXT | VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT)) { CC_LOG_WARNING("%s: %s", layerPrefix, message); } else if (flags & VK_DEBUG_REPORT_INFORMATION_BIT_EXT) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 718875fc23..1af145078a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -344,7 +344,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; gpuTransportHub()->checkIn( [&barrier](const CCVKGPUCommandBuffer *gpuCommandBuffer) { - thsvsCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); + CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); }, true); // submit immediately @@ -701,30 +701,37 @@ bool CCVKDevice::checkSwapchainStatus() { VK_CHECK(vkCreateImageView(_gpuDevice->vkDevice, &imageViewCreateInfo, nullptr, &_gpuSwapchain->vkSwapchainImageViews[i])); } - bool hasStencil = GFX_FORMAT_INFOS[(uint)_context->getDepthStencilFormat()].hasStencil; - vector barriers(imageCount * 2, ThsvsImageBarrier{}); + bool hasStencil = GFX_FORMAT_INFOS[(uint)_context->getDepthStencilFormat()].hasStencil; + vector barriers(imageCount * 2, VkImageMemoryBarrier{}); + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + ThsvsImageBarrier tempBarrier{}; + tempBarrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + tempBarrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + tempBarrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + tempBarrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; for (uint i = 0u; i < imageCount; i++) { - barriers[i].nextAccessCount = 1; - barriers[i].pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::COLOR_ATTACHMENT_WRITE]; - barriers[i].image = _gpuSwapchain->swapchainImages[i]; - barriers[i].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[i].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[i].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - barriers[i].subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barriers[i].subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + tempBarrier.nextAccessCount = 1; + tempBarrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::COLOR_ATTACHMENT_WRITE]; + tempBarrier.image = _gpuSwapchain->swapchainImages[i]; + tempBarrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + thsvsGetVulkanImageMemoryBarrier(tempBarrier, &tempSrcStageMask, &tempDstStageMask, &barriers[i]); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; - barriers[imageCount + i].nextAccessCount = 1; - barriers[imageCount + i].pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE]; - barriers[imageCount + i].image = _gpuSwapchain->depthStencilImages[i]; - barriers[imageCount + i].srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[imageCount + i].dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barriers[imageCount + i].subresourceRange.aspectMask = hasStencil ? VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT; - barriers[imageCount + i].subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barriers[imageCount + i].subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + tempBarrier.nextAccessCount = 1; + tempBarrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE]; + tempBarrier.image = _gpuSwapchain->depthStencilImages[i]; + tempBarrier.subresourceRange.aspectMask = hasStencil ? VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT; + thsvsGetVulkanImageMemoryBarrier(tempBarrier, &tempSrcStageMask, &tempDstStageMask, &barriers[imageCount + i]); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; } gpuTransportHub()->checkIn( [&](const CCVKGPUCommandBuffer *gpuCommandBuffer) { - thsvsCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, nullptr, 0, nullptr, imageCount, barriers.data()); + vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, 0, nullptr, 0, nullptr, imageCount, barriers.data()); }, true); // submit immediately diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index e2b5242b33..d2e85e0b42 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -921,38 +921,7 @@ public: _texturesToBeChecked.insert(gpuTexture); } - void update(CCVKGPUCommandBuffer *cmdBuffer) { - ThsvsImageBarrier barrier{}; - barrier.discardContents = false; - barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - - VkPipelineStageFlags srcStages = 0; - VkPipelineStageFlags dstStages = 0; - VkImageMemoryBarrier vkBarrier; - - for (CCVKGPUTexture *gpuTexture : _texturesToBeChecked) { - vector &render = gpuTexture->renderAccessTypes; - vector ¤t = gpuTexture->currentAccessTypes; - if (!std::is_permutation(current.begin(), current.end(), render.begin(), render.end())) { - barrier.prevAccessCount = current.size(); - barrier.pPrevAccesses = current.data(); - barrier.nextAccessCount = render.size(); - barrier.pNextAccesses = render.data(); - barrier.image = gpuTexture->vkImage; - barrier.subresourceRange.aspectMask = gpuTexture->aspectMask; - thsvsGetVulkanImageMemoryBarrier(barrier, &srcStages, &dstStages, &vkBarrier); - - vkCmdPipelineBarrier(cmdBuffer->vkCommandBuffer, srcStages, dstStages, 0, 0, nullptr, 0, nullptr, 1, &vkBarrier); - current = render; - } - } - _texturesToBeChecked.clear(); - } + void update(CCVKGPUCommandBuffer *gpuCommandBuffer); CC_INLINE bool needUpdate() { return !_texturesToBeChecked.empty(); } diff --git a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h index da0f63b6a4..93dc99fb37 100644 --- a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h +++ b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h @@ -381,10 +381,10 @@ destination pipeline stages, and a VkMemoryBarrier, that can be used with Vulkan's synchronization methods. */ void thsvsGetVulkanMemoryBarrier( - ThsvsGlobalBarrier thBarrier, - VkPipelineStageFlags* pSrcStages, - VkPipelineStageFlags* pDstStages, - VkMemoryBarrier* pVkBarrier); + const ThsvsGlobalBarrier& thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkMemoryBarrier* pVkBarrier); /* Mapping function that translates a buffer barrier into a set of source and @@ -392,10 +392,10 @@ destination pipeline stages, and a VkBufferMemoryBarrier, that can be used with Vulkan's synchronization methods. */ void thsvsGetVulkanBufferMemoryBarrier( - ThsvsBufferBarrier thBarrier, - VkPipelineStageFlags* pSrcStages, - VkPipelineStageFlags* pDstStages, - VkBufferMemoryBarrier* pVkBarrier); + const ThsvsBufferBarrier& thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkBufferMemoryBarrier* pVkBarrier); /* Mapping function that translates an image barrier into a set of source and @@ -403,10 +403,10 @@ destination pipeline stages, and a VkBufferMemoryBarrier, that can be used with Vulkan's synchronization methods. */ void thsvsGetVulkanImageMemoryBarrier( - ThsvsImageBarrier thBarrier, - VkPipelineStageFlags* pSrcStages, - VkPipelineStageFlags* pDstStages, - VkImageMemoryBarrier* pVkBarrier); + const ThsvsImageBarrier& thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkImageMemoryBarrier* pVkBarrier); /* Simplified wrapper around vkCmdPipelineBarrier. @@ -848,10 +848,10 @@ May consider other allocation strategies in future. #endif void thsvsGetVulkanMemoryBarrier( - ThsvsGlobalBarrier thBarrier, - VkPipelineStageFlags* pSrcStages, - VkPipelineStageFlags* pDstStages, - VkMemoryBarrier* pVkBarrier) + const ThsvsGlobalBarrier& thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkMemoryBarrier* pVkBarrier) { *pSrcStages = 0; *pDstStages = 0; @@ -913,10 +913,10 @@ void thsvsGetVulkanMemoryBarrier( } void thsvsGetVulkanBufferMemoryBarrier( - ThsvsBufferBarrier thBarrier, - VkPipelineStageFlags* pSrcStages, - VkPipelineStageFlags* pDstStages, - VkBufferMemoryBarrier* pVkBarrier) + const ThsvsBufferBarrier& thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkBufferMemoryBarrier* pVkBarrier) { *pSrcStages = 0; *pDstStages = 0; @@ -988,10 +988,10 @@ void thsvsGetVulkanBufferMemoryBarrier( } void thsvsGetVulkanImageMemoryBarrier( - ThsvsImageBarrier thBarrier, - VkPipelineStageFlags* pSrcStages, - VkPipelineStageFlags* pDstStages, - VkImageMemoryBarrier* pVkBarrier) + const ThsvsImageBarrier& thBarrier, + VkPipelineStageFlags* pSrcStages, + VkPipelineStageFlags* pDstStages, + VkImageMemoryBarrier* pVkBarrier) { *pSrcStages = 0; *pDstStages = 0; From a3a6b149d0216d9fa0961614104f5e863310564c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 25 Jan 2021 15:38:03 +0800 Subject: [PATCH 135/270] barrier as explicit state object --- native/cocos/renderer/core/Core.h | 3 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 51 ++-- .../core/gfx-agent/GFXCommandBufferAgent.h | 2 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 14 +- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 59 ++--- .../renderer/core/gfx/GFXCommandBuffer.h | 8 +- native/cocos/renderer/core/gfx/GFXDef.h | 38 ++- native/cocos/renderer/core/gfx/GFXDevice.h | 238 ++++++++++++------ native/cocos/renderer/core/gfx/GFXFence.cpp | 16 -- native/cocos/renderer/core/gfx/GFXFence.h | 27 -- .../renderer/core/gfx/GFXGlobalBarrier.cpp | 16 ++ .../renderer/core/gfx/GFXGlobalBarrier.h | 28 +++ .../renderer/core/gfx/GFXTextureBarrier.cpp | 16 ++ .../renderer/core/gfx/GFXTextureBarrier.h | 28 +++ .../renderer/gfx-gles2/GLES2CommandBuffer.h | 2 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 13 +- native/cocos/renderer/gfx-gles2/GLES2Device.h | 6 +- .../cocos/renderer/gfx-gles2/GLES2Fence.cpp | 68 ----- native/cocos/renderer/gfx-gles2/GLES2Fence.h | 50 ---- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 106 ++++---- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 76 ------ .../cocos/renderer/gfx-gles3/GLES3Commands.h | 1 - .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 84 ++++--- native/cocos/renderer/gfx-gles3/GLES3Device.h | 60 ++--- .../cocos/renderer/gfx-gles3/GLES3Fence.cpp | 69 ----- native/cocos/renderer/gfx-gles3/GLES3Fence.h | 50 ---- .../renderer/gfx-gles3/GLES3GPUObjects.h | 4 +- .../renderer/gfx-gles3/GLES3GlobalBarrier.cpp | 101 ++++++++ .../renderer/gfx-gles3/GLES3GlobalBarrier.h | 25 ++ .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 19 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 2 +- native/cocos/renderer/gfx-metal/MTLFence.h | 42 ---- native/cocos/renderer/gfx-metal/MTLFence.mm | 50 ---- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 112 +++------ .../renderer/gfx-vulkan/VKCommandBuffer.h | 3 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 19 -- native/cocos/renderer/gfx-vulkan/VKCommands.h | 2 - native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 15 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 64 ++--- native/cocos/renderer/gfx-vulkan/VKFence.cpp | 69 ----- native/cocos/renderer/gfx-vulkan/VKFence.h | 52 ---- .../cocos/renderer/gfx-vulkan/VKFramebuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 22 +- .../renderer/gfx-vulkan/VKGlobalBarrier.cpp | 42 ++++ .../renderer/gfx-vulkan/VKGlobalBarrier.h | 25 ++ native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 1 - .../renderer/gfx-vulkan/VKTextureBarrier.cpp | 56 +++++ .../renderer/gfx-vulkan/VKTextureBarrier.h | 25 ++ 49 files changed, 843 insertions(+), 1040 deletions(-) delete mode 100644 native/cocos/renderer/core/gfx/GFXFence.cpp delete mode 100644 native/cocos/renderer/core/gfx/GFXFence.h create mode 100644 native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp create mode 100644 native/cocos/renderer/core/gfx/GFXGlobalBarrier.h create mode 100644 native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp create mode 100644 native/cocos/renderer/core/gfx/GFXTextureBarrier.h delete mode 100644 native/cocos/renderer/gfx-gles2/GLES2Fence.cpp delete mode 100644 native/cocos/renderer/gfx-gles2/GLES2Fence.h delete mode 100644 native/cocos/renderer/gfx-gles3/GLES3Fence.cpp delete mode 100644 native/cocos/renderer/gfx-gles3/GLES3Fence.h create mode 100644 native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp create mode 100644 native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h delete mode 100644 native/cocos/renderer/gfx-metal/MTLFence.h delete mode 100644 native/cocos/renderer/gfx-metal/MTLFence.mm delete mode 100644 native/cocos/renderer/gfx-vulkan/VKFence.cpp delete mode 100644 native/cocos/renderer/gfx-vulkan/VKFence.h create mode 100644 native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp create mode 100644 native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h create mode 100644 native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp create mode 100644 native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index 1aa39ff91b..dcfaab7a47 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -35,8 +35,9 @@ THE SOFTWARE. #include "gfx/GFXDescriptorSet.h" #include "gfx/GFXDescriptorSetLayout.h" #include "gfx/GFXDevice.h" -#include "gfx/GFXFence.h" #include "gfx/GFXFramebuffer.h" +#include "gfx/GFXGlobalBarrier.h" +#include "gfx/GFXTextureBarrier.h" #include "gfx/GFXInputAssembler.h" #include "gfx/GFXPipelineLayout.h" #include "gfx/GFXPipelineState.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 8182d46375..8e80c0548d 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -431,53 +431,30 @@ void CommandBufferAgent::dispatch(const DispatchInfo &info) { }); } -void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { - uint count = 0u; - if (barrier) count += barrier->prevAccessCount + barrier->nextAccessCount; - for (uint b = 0u; b < textureBarrierCount; ++b) { - count += textureBarriers[b].prevAccessCount + textureBarriers[b].nextAccessCount; - } - AccessType *accessTypes = getAllocator()->allocate(count); +void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { + TextureBarrier **actorTextureBarriers = nullptr; + Texture **actorTextures = nullptr; - GlobalBarrier * actorBarrier = nullptr; - TextureBarrier *actorTextureBarriers = getAllocator()->allocate(textureBarrierCount); - uint index = 0u; + if (textureBarrierCount) { + actorTextureBarriers = getAllocator()->allocate(textureBarrierCount); + memcpy(actorTextureBarriers, textureBarriers, textureBarrierCount * sizeof(TextureBarrier *)); - if (barrier) { - actorBarrier = getAllocator()->allocate(1); - actorBarrier->prevAccessCount = barrier->prevAccessCount; - actorBarrier->prevAccesses = accessTypes + index; - for (uint i = 0u; i < barrier->prevAccessCount; ++i, ++index) accessTypes[index] = barrier->prevAccesses[i]; - - actorBarrier->nextAccessCount = barrier->nextAccessCount; - actorBarrier->nextAccesses = accessTypes + index; - for (uint i = 0u; i < barrier->nextAccessCount; ++i, ++index) accessTypes[index] = barrier->nextAccesses[i]; + actorTextures = getAllocator()->allocate(textureBarrierCount); + for (uint i = 0u; i < textureBarrierCount; ++i) { + actorTextures[i] = textures[i] ? ((TextureAgent *)textures[i])->getActor() : nullptr; + } } - for (uint b = 0u; b < textureBarrierCount; ++b) { - const TextureBarrier &textureBarrier = textureBarriers[b]; - actorTextureBarriers[b] = textureBarrier; - - actorTextureBarriers[b].prevAccesses = accessTypes + index; - for (uint i = 0u; i < textureBarrier.prevAccessCount; ++i, ++index) accessTypes[index] = textureBarrier.prevAccesses[i]; - - actorTextureBarriers[b].nextAccesses = accessTypes + index; - for (uint i = 0u; i < textureBarrier.nextAccessCount; ++i, ++index) accessTypes[index] = textureBarrier.nextAccesses[i]; - - if (textureBarrier.texture) actorTextureBarriers[b].texture = ((TextureAgent *)textureBarrier.texture)->getActor(); - if (textureBarrier.srcQueue) actorTextureBarriers[b].srcQueue = ((QueueAgent *)textureBarrier.srcQueue)->getActor(); - if (textureBarrier.dstQueue) actorTextureBarriers[b].dstQueue = ((QueueAgent *)textureBarrier.dstQueue)->getActor(); - } - - ENQUEUE_MESSAGE_4( + ENQUEUE_MESSAGE_5( _messageQueue, CommandBufferPipelineBarrier, actor, getActor(), - barrier, actorBarrier, + barrier, barrier, textureBarriers, actorTextureBarriers, + textures, actorTextures, textureBarrierCount, textureBarrierCount, { - actor->pipelineBarrier(barrier, textureBarriers, textureBarrierCount); + actor->pipelineBarrier(barrier, textureBarriers, textures, textureBarrierCount); }); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 2c5a57c2e5..44a018647a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -42,7 +42,7 @@ public: void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; void dispatch(const DispatchInfo &info) override; - void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; + void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } uint getNumInstances() const override { return _actor->getNumInstances(); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 4e6d270271..09568928de 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -62,7 +62,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { } ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); - //setMultithreaded(true); + setMultithreaded(true); return true; } @@ -184,10 +184,6 @@ CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info, return CC_NEW(CommandBufferAgent(actor, this)); } -Fence *DeviceAgent::createFence() { - return _actor->createFence(); -} - Queue *DeviceAgent::createQueue() { Queue *actor = _actor->createQueue(); QueueAgent *agent = CC_NEW(QueueAgent(actor, this)); @@ -260,6 +256,14 @@ PipelineState *DeviceAgent::createPipelineState() { return agent; } +GlobalBarrier *DeviceAgent::createGlobalBarrier() { + return _actor->createGlobalBarrier(); +} + +TextureBarrier *DeviceAgent::createTextureBarrier() { + return _actor->createTextureBarrier(); +} + void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { LinearAllocatorPool *allocator = getMainAllocator(); diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 0e70ca6d88..338ccf0a8b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -16,7 +16,7 @@ constexpr uint MAX_CPU_FRAME_AHEAD = 1u; // one per CPU core struct SubmitContext final { - MessageQueue *encoder{nullptr}; + MessageQueue * encoder{nullptr}; CommandBuffer *commandBuffer{nullptr}; }; @@ -33,46 +33,47 @@ public: void acquire() override; void present() override; - CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - Fence *createFence() override; - Queue *createQueue() override; - Buffer *createBuffer() override; - Texture *createTexture() override; - Sampler *createSampler() override; - Shader *createShader() override; - InputAssembler *createInputAssembler() override; - RenderPass *createRenderPass() override; - Framebuffer *createFramebuffer() override; - DescriptorSet *createDescriptorSet() override; + CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + Queue * createQueue() override; + Buffer * createBuffer() override; + Texture * createTexture() override; + Sampler * createSampler() override; + Shader * createShader() override; + InputAssembler * createInputAssembler() override; + RenderPass * createRenderPass() override; + Framebuffer * createFramebuffer() override; + DescriptorSet * createDescriptorSet() override; DescriptorSetLayout *createDescriptorSetLayout() override; - PipelineLayout *createPipelineLayout() override; - PipelineState *createPipelineState() override; - void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + PipelineLayout * createPipelineLayout() override; + PipelineState * createPipelineState() override; + GlobalBarrier * createGlobalBarrier() override; + TextureBarrier * createTextureBarrier() override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; - void flushCommands(CommandBuffer *const *cmdBuffs, uint count) override; - void setMultithreaded(bool multithreaded) override; + void flushCommands(CommandBuffer *const *cmdBuffs, uint count) override; + void setMultithreaded(bool multithreaded) override; SurfaceTransform getSurfaceTransform() const override { return _actor->getSurfaceTransform(); } - uint getWidth() const override { return _actor->getWidth(); } - uint getHeight() const override { return _actor->getHeight(); } - uint getNativeWidth() const override { return _actor->getNativeWidth(); } - uint getNativeHeight() const override { return _actor->getNativeHeight(); } - MemoryStatus &getMemoryStatus() override { return _actor->getMemoryStatus(); } - uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } - uint getNumInstances() const override { return _actor->getNumInstances(); } - uint getNumTris() const override { return _actor->getNumTris(); } + uint getWidth() const override { return _actor->getWidth(); } + uint getHeight() const override { return _actor->getHeight(); } + uint getNativeWidth() const override { return _actor->getNativeWidth(); } + uint getNativeHeight() const override { return _actor->getNativeHeight(); } + MemoryStatus & getMemoryStatus() override { return _actor->getMemoryStatus(); } + uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } + uint getNumInstances() const override { return _actor->getNumInstances(); } + uint getNumTris() const override { return _actor->getNumTris(); } - MessageQueue *getMessageQueue() const { return _mainEncoder; } + MessageQueue * getMessageQueue() const { return _mainEncoder; } LinearAllocatorPool *getMainAllocator() const { return _allocatorPools[_currentIndex]; } protected: friend class CommandBufferAgent; - bool _multithreaded{false}; + bool _multithreaded{false}; MessageQueue *_mainEncoder{nullptr}; - uint _currentIndex = 0u; + uint _currentIndex = 0u; vector _allocatorPools; - Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; + Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; unordered_set _cmdBuffRefs; }; diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 6698161c20..1cd543282e 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -36,7 +36,7 @@ public: virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) = 0; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) = 0; virtual void dispatch(const DispatchInfo &info) = 0; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) = 0; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) = 0; CC_INLINE void begin() { begin(nullptr, 0, nullptr); } // secondary command buffer specifics @@ -64,8 +64,10 @@ public: CC_INLINE void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter) { blitTexture(srcTexture, dstTexture, regions.data(), regions.size(), filter); } - CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier) { pipelineBarrier(barrier, nullptr, 0u); } - CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers) { pipelineBarrier(barrier, textureBarriers.data(), textureBarriers.size()); } + CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier) { pipelineBarrier(barrier, nullptr, nullptr, 0u); } + CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers, const TextureList &textures) { + pipelineBarrier(barrier, textureBarriers.data(), textures.data(), textureBarriers.size()); + } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index f209fdfc5f..caeea97160 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -6,6 +6,8 @@ namespace gfx { class Device; class Buffer; +class GlobalBarrier; +class TextureBarrier; class Texture; class Sampler; class Shader; @@ -41,8 +43,10 @@ enum class ObjectType { DESCRIPTOR_SET, INPUT_ASSEMBLER, COMMAND_BUFFER, - FENCE, QUEUE, + GLOBAL_BARRIER, + TEXTURE_BARRIER, + BUFFER_BARRIER, }; enum class Status { @@ -1079,6 +1083,7 @@ struct ShaderInfo { }; typedef cc::vector BufferList; +typedef cc::vector TextureBarrierList; struct InputAssemblerInfo { AttributeList attributes; @@ -1125,40 +1130,33 @@ struct RenderPassInfo { SubPassInfoList subPasses; }; -struct GlobalBarrier { - AccessType const *prevAccesses = nullptr; - uint prevAccessCount = 0u; - AccessType const *nextAccesses = nullptr; - uint nextAccessCount = 0u; +struct GlobalBarrierInfo { + vector prevAccesses; + vector nextAccesses; }; -typedef cc::vector GlobalBarrierList; +typedef cc::vector GlobalBarrierInfoList; -struct TextureBarrier { - AccessType const *prevAccesses = nullptr; - uint prevAccessCount = 0u; - AccessType const *nextAccesses = nullptr; - uint nextAccessCount = 0u; +struct TextureBarrierInfo { + vector prevAccesses; + vector nextAccesses; bool discardContents = false; - Texture *texture = nullptr; Queue *srcQueue = nullptr; Queue *dstQueue = nullptr; }; -typedef cc::vector TextureBarrierList; +typedef cc::vector TextureBarrierInfoList; -struct BufferBarrier { - AccessType const *prevAccesses = nullptr; - uint prevAccessCount = 0u; - AccessType const *nextAccesses = nullptr; - uint nextAccessCount = 0u; +struct BufferBarrierInfo { + vector prevAccesses; + vector nextAccesses; Buffer *buffer = nullptr; Queue *srcQueue = nullptr; Queue *dstQueue = nullptr; }; -typedef cc::vector BufferBarrierList; +typedef cc::vector BufferBarrierInfoList; typedef cc::vector BufferList; typedef cc::vector TextureList; diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 2e2504db51..74d14ecd5e 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -1,21 +1,22 @@ #ifndef CC_CORE_GFX_DEVICE_H_ #define CC_CORE_GFX_DEVICE_H_ +#include "GFXBuffer.h" +#include "GFXCommandBuffer.h" #include "GFXDef.h" -#include "GFXFence.h" -#include "GFXQueue.h" -#include "GFXSampler.h" -#include "GFXInputAssembler.h" -#include "GFXRenderPass.h" -#include "GFXFramebuffer.h" +#include "GFXDescriptorSet.h" #include "GFXDescriptorSetLayout.h" +#include "GFXFramebuffer.h" +#include "GFXGlobalBarrier.h" +#include "GFXInputAssembler.h" #include "GFXPipelineLayout.h" #include "GFXPipelineState.h" -#include "GFXCommandBuffer.h" -#include "GFXDescriptorSet.h" -#include "GFXBuffer.h" -#include "GFXTexture.h" +#include "GFXQueue.h" +#include "GFXRenderPass.h" +#include "GFXSampler.h" #include "GFXShader.h" +#include "GFXTexture.h" +#include "GFXTextureBarrier.h" namespace cc { namespace gfx { @@ -25,45 +26,115 @@ public: static Device *getInstance(); Device(); - Device(Device* device): Device() {} + Device(Device *device) : Device() {} virtual ~Device(); virtual bool initialize(const DeviceInfo &info) = 0; - virtual void destroy() = 0; - virtual void resize(uint width, uint height) = 0; - virtual void acquire() = 0; - virtual void present() = 0; + virtual void destroy() = 0; + virtual void resize(uint width, uint height) = 0; + virtual void acquire() = 0; + virtual void present() = 0; - CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { CommandBuffer *res = doCreateCommandBuffer(info, false); res->initialize(info); return res; } - CC_INLINE Fence *createFence(const FenceInfo &info) { Fence *res = createFence(); res->initialize(info); return res; } - CC_INLINE Queue *createQueue(const QueueInfo &info) { Queue *res = createQueue(); res->initialize(info); return res; } - CC_INLINE Buffer *createBuffer(const BufferInfo &info) { Buffer *res = createBuffer(); res->initialize(info); return res; } - CC_INLINE Buffer *createBuffer(const BufferViewInfo &info) { Buffer *res = createBuffer(); res->initialize(info); return res; } - CC_INLINE Texture *createTexture(const TextureInfo &info) { Texture *res = createTexture(); res->initialize(info); return res; } - CC_INLINE Texture *createTexture(const TextureViewInfo &info) { Texture *res = createTexture(); res->initialize(info); return res; } - CC_INLINE Sampler *createSampler(const SamplerInfo &info) { Sampler *res = createSampler(); res->initialize(info); return res; } - CC_INLINE Shader *createShader(const ShaderInfo &info) { Shader *res = createShader(); res->initialize(info); return res; } - CC_INLINE InputAssembler *createInputAssembler(const InputAssemblerInfo &info) { InputAssembler *res = createInputAssembler(); res->initialize(info); return res; } - CC_INLINE RenderPass *createRenderPass(const RenderPassInfo &info) { RenderPass *res = createRenderPass(); res->initialize(info); return res; } - CC_INLINE Framebuffer *createFramebuffer(const FramebufferInfo &info) { Framebuffer *res = createFramebuffer(); res->initialize(info); return res; } - CC_INLINE DescriptorSet *createDescriptorSet(const DescriptorSetInfo &info) { DescriptorSet *res = createDescriptorSet(); res->initialize(info); return res; } - CC_INLINE DescriptorSetLayout *createDescriptorSetLayout(const DescriptorSetLayoutInfo &info) { DescriptorSetLayout *res = createDescriptorSetLayout(); res->initialize(info); return res; } - CC_INLINE PipelineLayout *createPipelineLayout(const PipelineLayoutInfo &info) { PipelineLayout *res = createPipelineLayout(); res->initialize(info); return res; } - CC_INLINE PipelineState *createPipelineState(const PipelineStateInfo &info) { PipelineState *res = createPipelineState(); res->initialize(info); return res; } + virtual void flushCommands(CommandBuffer *const *cmdBuffs, uint count) {} + virtual void setMultithreaded(bool multithreaded) {} + virtual SurfaceTransform getSurfaceTransform() const { return _transform; } + virtual uint getWidth() const { return _width; } + virtual uint getHeight() const { return _height; } + virtual uint getNativeWidth() const { return _nativeWidth; } + virtual uint getNativeHeight() const { return _nativeHeight; } + virtual MemoryStatus & getMemoryStatus() { return _memoryStatus; } + virtual uint getNumDrawCalls() const { return _numDrawCalls; } + virtual uint getNumInstances() const { return _numInstances; } + virtual uint getNumTris() const { return _numTriangles; } + + CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { + CommandBuffer *res = doCreateCommandBuffer(info, false); + res->initialize(info); + return res; + } + CC_INLINE Queue *createQueue(const QueueInfo &info) { + Queue *res = createQueue(); + res->initialize(info); + return res; + } + CC_INLINE Buffer *createBuffer(const BufferInfo &info) { + Buffer *res = createBuffer(); + res->initialize(info); + return res; + } + CC_INLINE Buffer *createBuffer(const BufferViewInfo &info) { + Buffer *res = createBuffer(); + res->initialize(info); + return res; + } + CC_INLINE Texture *createTexture(const TextureInfo &info) { + Texture *res = createTexture(); + res->initialize(info); + return res; + } + CC_INLINE Texture *createTexture(const TextureViewInfo &info) { + Texture *res = createTexture(); + res->initialize(info); + return res; + } + CC_INLINE Sampler *createSampler(const SamplerInfo &info) { + Sampler *res = createSampler(); + res->initialize(info); + return res; + } + CC_INLINE Shader *createShader(const ShaderInfo &info) { + Shader *res = createShader(); + res->initialize(info); + return res; + } + CC_INLINE InputAssembler *createInputAssembler(const InputAssemblerInfo &info) { + InputAssembler *res = createInputAssembler(); + res->initialize(info); + return res; + } + CC_INLINE RenderPass *createRenderPass(const RenderPassInfo &info) { + RenderPass *res = createRenderPass(); + res->initialize(info); + return res; + } + CC_INLINE Framebuffer *createFramebuffer(const FramebufferInfo &info) { + Framebuffer *res = createFramebuffer(); + res->initialize(info); + return res; + } + CC_INLINE DescriptorSet *createDescriptorSet(const DescriptorSetInfo &info) { + DescriptorSet *res = createDescriptorSet(); + res->initialize(info); + return res; + } + CC_INLINE DescriptorSetLayout *createDescriptorSetLayout(const DescriptorSetLayoutInfo &info) { + DescriptorSetLayout *res = createDescriptorSetLayout(); + res->initialize(info); + return res; + } + CC_INLINE PipelineLayout *createPipelineLayout(const PipelineLayoutInfo &info) { + PipelineLayout *res = createPipelineLayout(); + res->initialize(info); + return res; + } + CC_INLINE PipelineState *createPipelineState(const PipelineStateInfo &info) { + PipelineState *res = createPipelineState(); + res->initialize(info); + return res; + } + CC_INLINE GlobalBarrier *createGlobalBarrier(const GlobalBarrierInfo &info) { + GlobalBarrier *res = createGlobalBarrier(); + res->initialize(info); + return res; + } + CC_INLINE TextureBarrier *createTextureBarrier(const TextureBarrierInfo &info) { + TextureBarrier *res = createTextureBarrier(); + res->initialize(info); + return res; + } CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *dst, const BufferTextureCopyList ®ions) { copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size())); } - virtual void flushCommands(CommandBuffer *const *cmdBuffs, uint count) {} - virtual void setMultithreaded(bool multithreaded) {} - virtual SurfaceTransform getSurfaceTransform() const { return _transform; } - virtual uint getWidth() const { return _width; } - virtual uint getHeight() const { return _height; } - virtual uint getNativeWidth() const { return _nativeWidth; } - virtual uint getNativeHeight() const { return _nativeHeight; } - virtual MemoryStatus &getMemoryStatus() { return _memoryStatus; } - virtual uint getNumDrawCalls() const { return _numDrawCalls; } - virtual uint getNumInstances() const { return _numInstances; } - virtual uint getNumTris() const { return _numTriangles; } CC_INLINE void flushCommands(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), cmdBuffs.size()); } @@ -73,61 +144,62 @@ public: CC_INLINE Queue *getQueue() const { return _queue; } CC_INLINE CommandBuffer *getCommandBuffer() const { return _cmdBuff; } CC_INLINE const DeviceCaps &getCapabilities() const { return _caps; } - CC_INLINE bool hasFeature(Feature feature) const { return _features[static_cast(feature)]; } + CC_INLINE bool hasFeature(Feature feature) const { return _features[static_cast(feature)]; } CC_INLINE const BindingMappingInfo &bindingMappingInfo() const { return _bindingMappingInfo; } - CC_INLINE API getGfxAPI() const { return _API; } + CC_INLINE API getGfxAPI() const { return _API; } CC_INLINE const String &getDeviceName() const { return _deviceName; } CC_INLINE const String &getRenderer() const { return _renderer; } CC_INLINE const String &getVendor() const { return _vendor; } - CC_INLINE uint genShaderId() { return _shaderIdGen++; } - Format getColorFormat() const; - Format getDepthStencilFormat() const; + CC_INLINE uint genShaderId() { return _shaderIdGen++; } + Format getColorFormat() const; + Format getDepthStencilFormat() const; protected: friend class DeviceAgent; - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) = 0; - virtual Fence *createFence() = 0; - virtual Queue *createQueue() = 0; - virtual Buffer *createBuffer() = 0; - virtual Texture *createTexture() = 0; - virtual Sampler *createSampler() = 0; - virtual Shader *createShader() = 0; - virtual InputAssembler *createInputAssembler() = 0; - virtual RenderPass *createRenderPass() = 0; - virtual Framebuffer *createFramebuffer() = 0; - virtual DescriptorSet *createDescriptorSet() = 0; - virtual DescriptorSetLayout *createDescriptorSetLayout() = 0; - virtual PipelineLayout *createPipelineLayout() = 0; - virtual PipelineState *createPipelineState() = 0; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) = 0; + virtual CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) = 0; + virtual Queue * createQueue() = 0; + virtual Buffer * createBuffer() = 0; + virtual Texture * createTexture() = 0; + virtual Sampler * createSampler() = 0; + virtual Shader * createShader() = 0; + virtual InputAssembler * createInputAssembler() = 0; + virtual RenderPass * createRenderPass() = 0; + virtual Framebuffer * createFramebuffer() = 0; + virtual DescriptorSet * createDescriptorSet() = 0; + virtual DescriptorSetLayout *createDescriptorSetLayout() = 0; + virtual PipelineLayout * createPipelineLayout() = 0; + virtual PipelineState * createPipelineState() = 0; + virtual GlobalBarrier * createGlobalBarrier() = 0; + virtual TextureBarrier * createTextureBarrier() = 0; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) = 0; virtual void bindRenderContext(bool bound) {} virtual void bindDeviceContext(bool bound) {} - API _API = API::UNKNOWN; - SurfaceTransform _transform = SurfaceTransform::IDENTITY; - String _deviceName; - String _renderer; - String _vendor; - String _version; - bool _features[static_cast(Feature::COUNT)]; - uint _width = 0; - uint _height = 0; - uint _nativeWidth = 0; - uint _nativeHeight = 0; - MemoryStatus _memoryStatus; - uintptr_t _windowHandle = 0; - Context *_context = nullptr; - Queue *_queue = nullptr; - CommandBuffer *_cmdBuff = nullptr; - uint _numDrawCalls = 0u; - uint _numInstances = 0u; - uint _numTriangles = 0u; - uint _shaderIdGen = 0u; + API _API = API::UNKNOWN; + SurfaceTransform _transform = SurfaceTransform::IDENTITY; + String _deviceName; + String _renderer; + String _vendor; + String _version; + bool _features[static_cast(Feature::COUNT)]; + uint _width = 0; + uint _height = 0; + uint _nativeWidth = 0; + uint _nativeHeight = 0; + MemoryStatus _memoryStatus; + uintptr_t _windowHandle = 0; + Context * _context = nullptr; + Queue * _queue = nullptr; + CommandBuffer * _cmdBuff = nullptr; + uint _numDrawCalls = 0u; + uint _numInstances = 0u; + uint _numTriangles = 0u; + uint _shaderIdGen = 0u; BindingMappingInfo _bindingMappingInfo; - DeviceCaps _caps; + DeviceCaps _caps; private: static Device *_instance; diff --git a/native/cocos/renderer/core/gfx/GFXFence.cpp b/native/cocos/renderer/core/gfx/GFXFence.cpp deleted file mode 100644 index 8657915d6a..0000000000 --- a/native/cocos/renderer/core/gfx/GFXFence.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "CoreStd.h" - -#include "GFXFence.h" - -namespace cc { -namespace gfx { - -Fence::Fence(Device *device) -: GFXObject(ObjectType::FENCE), _device(device) { -} - -Fence::~Fence() { -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXFence.h b/native/cocos/renderer/core/gfx/GFXFence.h deleted file mode 100644 index fb2f9f80c8..0000000000 --- a/native/cocos/renderer/core/gfx/GFXFence.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef CC_CORE_GFX_FENCE_H_ -#define CC_CORE_GFX_FENCE_H_ - -#include "GFXDef.h" - -namespace cc { -namespace gfx { - -class CC_DLL Fence : public GFXObject { -public: - Fence(Device *device); - virtual ~Fence(); - -public: - virtual bool initialize(const FenceInfo &info) = 0; - virtual void destroy() = 0; - virtual void wait() = 0; - virtual void reset() = 0; - -protected: - Device *_device = nullptr; -}; - -} // namespace gfx -} // namespace cc - -#endif // CC_CORE_GFX_FENCE_H_ diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp new file mode 100644 index 0000000000..84fdf17abe --- /dev/null +++ b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp @@ -0,0 +1,16 @@ +#include "CoreStd.h" + +#include "GFXGlobalBarrier.h" + +namespace cc { +namespace gfx { + +GlobalBarrier::GlobalBarrier(Device *device) +: GFXObject(ObjectType::GLOBAL_BARRIER), _device(device) { +} + +GlobalBarrier::~GlobalBarrier() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h new file mode 100644 index 0000000000..160d2f11bd --- /dev/null +++ b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h @@ -0,0 +1,28 @@ +#ifndef CC_CORE_GFX_GLOBAL_BARRIER_H_ +#define CC_CORE_GFX_GLOBAL_BARRIER_H_ + +#include "GFXDef.h" + +namespace cc { +namespace gfx { + +class CC_DLL GlobalBarrier : public GFXObject { +public: + GlobalBarrier(Device *device); + virtual ~GlobalBarrier(); + + CC_INLINE const GlobalBarrierInfo &get() const { return _info; } + +protected: + friend class Device; + + virtual bool initialize(const GlobalBarrierInfo &info) { return true; } + + Device *_device = nullptr; + GlobalBarrierInfo _info; +}; + +} // namespace gfx +} // namespace cc + +#endif // CC_CORE_GFX_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp b/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp new file mode 100644 index 0000000000..f3a11fa336 --- /dev/null +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp @@ -0,0 +1,16 @@ +#include "CoreStd.h" + +#include "GFXTextureBarrier.h" + +namespace cc { +namespace gfx { + +TextureBarrier::TextureBarrier(Device *device) +: GFXObject(ObjectType::TEXTURE_BARRIER), _device(device) { +} + +TextureBarrier::~TextureBarrier() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h new file mode 100644 index 0000000000..859176d707 --- /dev/null +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h @@ -0,0 +1,28 @@ +#ifndef CC_CORE_GFX_TEXTURE_BARRIER_H_ +#define CC_CORE_GFX_TEXTURE_BARRIER_H_ + +#include "GFXDef.h" + +namespace cc { +namespace gfx { + +class CC_DLL TextureBarrier : public GFXObject { +public: + TextureBarrier(Device *device); + virtual ~TextureBarrier(); + + CC_INLINE const TextureBarrierInfo &get() const { return _info; } + +protected: + friend class Device; + + virtual bool initialize(const TextureBarrierInfo &info) { return true; } + + Device *_device = nullptr; + TextureBarrierInfo _info; +}; + +} // namespace gfx +} // namespace cc + +#endif // CC_CORE_GFX_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 7cc1be270f..d8cfb26d59 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -63,7 +63,7 @@ public: virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override {} - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override {} + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override {} protected: void BindStates(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 32d6ae6756..1614d6aa8d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -30,7 +30,6 @@ THE SOFTWARE. #include "GLES2DescriptorSet.h" #include "GLES2DescriptorSetLayout.h" #include "GLES2Device.h" -#include "GLES2Fence.h" #include "GLES2Framebuffer.h" #include "GLES2InputAssembler.h" #include "GLES2PipelineLayout.h" @@ -249,10 +248,6 @@ CommandBuffer *GLES2Device::doCreateCommandBuffer(const CommandBufferInfo &info, return CC_NEW(GLES2CommandBuffer(this)); } -Fence *GLES2Device::createFence() { - return CC_NEW(GLES2Fence(this)); -} - Queue *GLES2Device::createQueue() { return CC_NEW(GLES2Queue(this)); } @@ -301,6 +296,14 @@ PipelineState *GLES2Device::createPipelineState() { return CC_NEW(GLES2PipelineState(this)); } +GlobalBarrier *GLES2Device::createGlobalBarrier() { + return CC_NEW(GlobalBarrier(this)); +} + +TextureBarrier *GLES2Device::createTextureBarrier() { + return CC_NEW(TextureBarrier(this)); +} + void GLES2Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { GLES2CmdFuncCopyBuffersToTexture(this, buffers, ((GLES2Texture *)dst)->gpuTexture(), regions, count); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 958e73e189..f0b7931f0d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -45,7 +45,6 @@ public: ~GLES2Device(); using Device::createCommandBuffer; - using Device::createFence; using Device::createQueue; using Device::createBuffer; using Device::createTexture; @@ -59,6 +58,8 @@ public: using Device::createPipelineLayout; using Device::createPipelineState; using Device::copyBuffersToTexture; + using Device::createGlobalBarrier; + using Device::createTextureBarrier; virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; @@ -87,7 +88,6 @@ public: protected: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; virtual Texture *createTexture() override; @@ -100,6 +100,8 @@ protected: virtual DescriptorSetLayout *createDescriptorSetLayout() override; virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; + virtual GlobalBarrier * createGlobalBarrier() override; + virtual TextureBarrier * createTextureBarrier() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; virtual void bindRenderContext(bool bound) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Fence.cpp b/native/cocos/renderer/gfx-gles2/GLES2Fence.cpp deleted file mode 100644 index 016e35974a..0000000000 --- a/native/cocos/renderer/gfx-gles2/GLES2Fence.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "GLES2Std.h" -#include "GLES2Fence.h" -#include "GLES2Device.h" -#include "GLES2GPUObjects.h" - -namespace cc { -namespace gfx { - -GLES2Fence::GLES2Fence(Device *device) -: Fence(device) { -} - -GLES2Fence::~GLES2Fence() { -} - -bool GLES2Fence::initialize(const FenceInfo &info) { - _gpuFence = CC_NEW(GLES2GPUFence); - if (!_gpuFence) { - CC_LOG_ERROR("GLES2Fence: CC_NEW GLES2GPUFence failed."); - return false; - } - - // TODO - return true; -} - -void GLES2Fence::destroy() { - if (_gpuFence) { - // TODO - - CC_DELETE(_gpuFence); - _gpuFence = nullptr; - } -} - -void GLES2Fence::wait() { - // TODO -} - -void GLES2Fence::reset() { - // TODO -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-gles2/GLES2Fence.h b/native/cocos/renderer/gfx-gles2/GLES2Fence.h deleted file mode 100644 index 5371712681..0000000000 --- a/native/cocos/renderer/gfx-gles2/GLES2Fence.h +++ /dev/null @@ -1,50 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#ifndef CC_GFXGLES2_FENCE_H_ -#define CC_GFXGLES2_FENCE_H_ - -namespace cc { -namespace gfx { - -class GLES2GPUFence; - -class CC_GLES2_API GLES2Fence final : public Fence { -public: - GLES2Fence(Device *device); - ~GLES2Fence(); - -public: - virtual bool initialize(const FenceInfo &info) override; - virtual void destroy() override; - virtual void wait() override; - virtual void reset() override; - -private: - GLES2GPUFence *_gpuFence = nullptr; -}; - -} // namespace gfx -} // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 2cc0e5fe53..cb10be64ab 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -28,6 +28,7 @@ THE SOFTWARE. #include "GLES3DescriptorSet.h" #include "GLES3Device.h" #include "GLES3Framebuffer.h" +#include "GLES3GlobalBarrier.h" #include "GLES3InputAssembler.h" #include "GLES3PipelineState.h" #include "GLES3RenderPass.h" @@ -44,10 +45,10 @@ GLES3CommandBuffer::~GLES3CommandBuffer() { } bool GLES3CommandBuffer::initialize(const CommandBufferInfo &info) { - _type = info.type; + _type = info.type; _queue = info.queue; - _cmdAllocator = CC_NEW(GLES3GPUCommandAllocator); + _cmdAllocator = CC_NEW(GLES3GPUCommandAllocator); _curCmdPackage = CC_NEW(GLES3CmdPackage); size_t setCount = ((GLES3Device *)_device)->bindingMappingInfo().bufferOffsets.size(); @@ -110,14 +111,14 @@ void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb _isInRenderPass = true; GLES3CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); - cmd->gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); - cmd->gpuFBO = ((GLES3Framebuffer *)fbo)->gpuFBO(); - cmd->renderArea = renderArea; - cmd->numClearColors = cmd->gpuRenderPass->colorAttachments.size(); + cmd->gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); + cmd->gpuFBO = ((GLES3Framebuffer *)fbo)->gpuFBO(); + cmd->renderArea = renderArea; + cmd->numClearColors = cmd->gpuRenderPass->colorAttachments.size(); for (size_t i = 0; i < cmd->numClearColors; ++i) { cmd->clearColors[i] = colors[i]; } - cmd->clearDepth = depth; + cmd->clearDepth = depth; cmd->clearStencil = stencil; _curCmdPackage->beginRenderPassCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::BEGIN_RENDER_PASS); @@ -132,7 +133,7 @@ void GLES3CommandBuffer::bindPipelineState(PipelineState *pso) { GLES3GPUPipelineState *gpuPipelineState = ((GLES3PipelineState *)pso)->gpuPipelineState(); if (_curGPUPipelineState != gpuPipelineState) { _curGPUPipelineState = gpuPipelineState; - _isStateInvalid = true; + _isStateInvalid = true; } } @@ -142,7 +143,7 @@ void GLES3CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe GLES3GPUDescriptorSet *gpuDescriptorSet = ((GLES3DescriptorSet *)descriptorSet)->gpuDescriptorSet(); if (_curGPUDescriptorSets[set] != gpuDescriptorSet) { _curGPUDescriptorSets[set] = gpuDescriptorSet; - _isStateInvalid = true; + _isStateInvalid = true; } if (dynamicOffsetCount) { _curDynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); @@ -152,7 +153,7 @@ void GLES3CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe void GLES3CommandBuffer::bindInputAssembler(InputAssembler *ia) { _curGPUInputAssember = ((GLES3InputAssembler *)ia)->gpuInputAssembler(); - _isStateInvalid = true; + _isStateInvalid = true; } void GLES3CommandBuffer::setViewport(const Viewport &vp) { @@ -164,7 +165,7 @@ void GLES3CommandBuffer::setViewport(const Viewport &vp) { math::IsNotEqualF(_curViewport.minDepth, vp.minDepth) || math::IsNotEqualF(_curViewport.maxDepth, vp.maxDepth)) { - _curViewport = vp; + _curViewport = vp; _isStateInvalid = true; } } @@ -175,14 +176,14 @@ void GLES3CommandBuffer::setScissor(const Rect &rect) { (_curScissor.width != rect.width) || (_curScissor.height != rect.height)) { - _curScissor = rect; + _curScissor = rect; _isStateInvalid = true; } } void GLES3CommandBuffer::setLineWidth(const float width) { if (math::IsNotEqualF(_curLineWidth, width)) { - _curLineWidth = width; + _curLineWidth = width; _isStateInvalid = true; } } @@ -193,9 +194,9 @@ void GLES3CommandBuffer::setDepthBias(float constant, float clamp, float slope) math::IsNotEqualF(_curDepthBias.slope, slope)) { _curDepthBias.constant = constant; - _curDepthBias.clamp = clamp; - _curDepthBias.slope = slope; - _isStateInvalid = true; + _curDepthBias.clamp = clamp; + _curDepthBias.slope = slope; + _isStateInvalid = true; } } @@ -209,7 +210,7 @@ void GLES3CommandBuffer::setBlendConstants(const Color &constants) { _curBlendConstants.y = constants.y; _curBlendConstants.z = constants.z; _curBlendConstants.w = constants.w; - _isStateInvalid = true; + _isStateInvalid = true; } } @@ -219,7 +220,7 @@ void GLES3CommandBuffer::setDepthBound(float minBounds, float maxBounds) { _curDepthBounds.minBounds = minBounds; _curDepthBounds.maxBounds = maxBounds; - _isStateInvalid = true; + _isStateInvalid = true; } } @@ -227,9 +228,9 @@ void GLES3CommandBuffer::setStencilWriteMask(StencilFace face, uint mask) { if ((_curStencilWriteMask.face != face) || (_curStencilWriteMask.writeMask != mask)) { - _curStencilWriteMask.face = face; + _curStencilWriteMask.face = face; _curStencilWriteMask.writeMask = mask; - _isStateInvalid = true; + _isStateInvalid = true; } } @@ -238,10 +239,10 @@ void GLES3CommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint m (_curStencilCompareMask.refrence != ref) || (_curStencilCompareMask.compareMask != mask)) { - _curStencilCompareMask.face = face; - _curStencilCompareMask.refrence = ref; + _curStencilCompareMask.face = face; + _curStencilCompareMask.refrence = ref; _curStencilCompareMask.compareMask = mask; - _isStateInvalid = true; + _isStateInvalid = true; } } @@ -287,9 +288,9 @@ void GLES3CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) GLES3GPUBuffer *gpuBuffer = ((GLES3Buffer *)buff)->gpuBuffer(); if (gpuBuffer) { GLES3CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); - cmd->gpuBuffer = gpuBuffer; - cmd->size = size; - cmd->buffer = (uint8_t *)data; + cmd->gpuBuffer = gpuBuffer; + cmd->size = size; + cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::UPDATE_BUFFER); @@ -307,8 +308,8 @@ void GLES3CommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, c if (srcTexture) cmd->gpuTextureSrc = ((GLES3Texture *)srcTexture)->gpuTexture(); if (dstTexture) cmd->gpuTextureDst = ((GLES3Texture *)dstTexture)->gpuTexture(); cmd->regions = regions; - cmd->count = count; - cmd->filter = filter; + cmd->count = count; + cmd->filter = filter; _curCmdPackage->blitTextureCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::BLIT_TEXTURE); @@ -324,11 +325,11 @@ void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex GLES3GPUTexture *gpuTexture = ((GLES3Texture *)texture)->gpuTexture(); if (gpuTexture) { GLES3CmdCopyBufferToTexture *cmd = _cmdAllocator->copyBufferToTextureCmdPool.alloc(); - cmd->gpuTexture = gpuTexture; - cmd->gpuTexture = gpuTexture; - cmd->regions = regions; - cmd->count = count; - cmd->buffers = buffers; + cmd->gpuTexture = gpuTexture; + cmd->gpuTexture = gpuTexture; + cmd->regions = regions; + cmd->count = count; + cmd->buffers = buffers; _curCmdPackage->copyBufferToTextureCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::COPY_BUFFER_TO_TEXTURE); @@ -342,8 +343,8 @@ void GLES3CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) CCASSERT(false, "Command 'execute' must be recorded in primary command buffers."); for (uint i = 0; i < count; ++i) { - GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; - GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; + GLES3CmdPackage * cmdPackage = cmdBuff->_pendingPackages.front(); for (uint j = 0; j < cmdPackage->beginRenderPassCmds.size(); ++j) { GLES3CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[j]; @@ -403,9 +404,9 @@ void GLES3CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) void GLES3CommandBuffer::BindStates() { GLES3CmdBindStates *cmd = _cmdAllocator->bindStatesCmdPool.alloc(); - cmd->gpuPipelineState = _curGPUPipelineState; - cmd->gpuInputAssembler = _curGPUInputAssember; - cmd->gpuDescriptorSets = _curGPUDescriptorSets; + cmd->gpuPipelineState = _curGPUPipelineState; + cmd->gpuInputAssembler = _curGPUInputAssember; + cmd->gpuDescriptorSets = _curGPUDescriptorSets; vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); @@ -416,16 +417,16 @@ void GLES3CommandBuffer::BindStates() { if (count) memcpy(&cmd->dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } - cmd->viewport = _curViewport; - cmd->scissor = _curScissor; - cmd->lineWidth = _curLineWidth; - cmd->depthBias = _curDepthBias; - cmd->blendConstants.x = _curBlendConstants.x; - cmd->blendConstants.y = _curBlendConstants.y; - cmd->blendConstants.z = _curBlendConstants.z; - cmd->blendConstants.w = _curBlendConstants.w; - cmd->depthBounds = _curDepthBounds; - cmd->stencilWriteMask = _curStencilWriteMask; + cmd->viewport = _curViewport; + cmd->scissor = _curScissor; + cmd->lineWidth = _curLineWidth; + cmd->depthBias = _curDepthBias; + cmd->blendConstants.x = _curBlendConstants.x; + cmd->blendConstants.y = _curBlendConstants.y; + cmd->blendConstants.z = _curBlendConstants.z; + cmd->blendConstants.w = _curBlendConstants.w; + cmd->depthBounds = _curDepthBounds; + cmd->stencilWriteMask = _curStencilWriteMask; cmd->stencilCompareMask = _curStencilCompareMask; _curCmdPackage->bindStatesCmds.push(cmd); @@ -457,13 +458,16 @@ void GLES3CommandBuffer::dispatch(const DispatchInfo &info) { } } -void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { +void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { if (!barrier) return; - GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); - MapGLBarriers(barrier, cmd->barriers, cmd->barriersByRegion); + const GLES3GPUGlobalBarrier *gpuBarrier = ((GLES3GlobalBarrier *)barrier)->gpuBarrier(); + + GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); + cmd->barriers = gpuBarrier->glBarriers; + cmd->barriersByRegion = gpuBarrier->glBarriersByRegion; _curCmdPackage->barrierCmds.push(cmd); _curCmdPackage->cmds.push(GLES3CmdType::BARRIER); } else { diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 4badc95f45..c9b0355cbc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -62,7 +62,7 @@ public: virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; protected: virtual void BindStates(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 507c043c20..638d54a680 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -613,82 +613,6 @@ const GLenum GL_MEMORY_ACCESS[] = { }; } // namespace -void MapGLBarriers(const GlobalBarrier *barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion) { - bool hasShaderWrites = false; - for (size_t i = 0u; i < barrier->prevAccessCount; ++i) { - switch (barrier->prevAccesses[i]) { - case AccessType::COMPUTE_SHADER_WRITE: - case AccessType::VERTEX_SHADER_WRITE: - case AccessType::FRAGMENT_SHADER_WRITE: - case AccessType::COLOR_ATTACHMENT_WRITE: - case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: - hasShaderWrites = true; - break; - default: - break; - } - } - if (!hasShaderWrites) return; - - for (size_t i = 0u; i < barrier->nextAccessCount; ++i) { - switch (barrier->nextAccesses[i]) { - case AccessType::INDIRECT_BUFFER: - glBarriers |= GL_COMMAND_BARRIER_BIT; - break; - case AccessType::INDEX_BUFFER: - glBarriers |= GL_ELEMENT_ARRAY_BARRIER_BIT; - break; - case AccessType::VERTEX_BUFFER: - glBarriers |= GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT; - break; - case AccessType::COMPUTE_SHADER_READ_UNIFORM_BUFFER: - case AccessType::VERTEX_SHADER_READ_UNIFORM_BUFFER: - case AccessType::FRAGMENT_SHADER_READ_UNIFORM_BUFFER: - glBarriersByRegion |= GL_UNIFORM_BARRIER_BIT; - break; - case AccessType::COMPUTE_SHADER_READ_TEXTURE: - case AccessType::VERTEX_SHADER_READ_TEXTURE: - case AccessType::FRAGMENT_SHADER_READ_TEXTURE: - case AccessType::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT: - case AccessType::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT: - glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; - glBarriersByRegion |= GL_TEXTURE_FETCH_BARRIER_BIT; - break; - case AccessType::COMPUTE_SHADER_READ_OTHER: - case AccessType::VERTEX_SHADER_READ_OTHER: - case AccessType::FRAGMENT_SHADER_READ_OTHER: - glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; - break; - case AccessType::COLOR_ATTACHMENT_READ: - case AccessType::DEPTH_STENCIL_ATTACHMENT_READ: - glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; - break; - case AccessType::TRANSFER_READ: - glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; - break; - case AccessType::COMPUTE_SHADER_WRITE: - case AccessType::VERTEX_SHADER_WRITE: - case AccessType::FRAGMENT_SHADER_WRITE: - glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; - glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; - break; - case AccessType::COLOR_ATTACHMENT_WRITE: - case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: - glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; - break; - case AccessType::TRANSFER_WRITE: - glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; - glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; - break; - case AccessType::HOST_PREINITIALIZED: - case AccessType::HOST_WRITE: - case AccessType::PRESENT: - default: - break; - } - } -} - void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 20c6fe9b68..723d20b4ed 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -295,7 +295,6 @@ public: } }; -CC_GLES3_API void MapGLBarriers(const GlobalBarrier *barrier, GLbitfield &glBarriers, GLbitfield &glBarriersByRegion); CC_GLES3_API void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); CC_GLES3_API void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 9337493019..6e31552ff2 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -29,8 +29,8 @@ THE SOFTWARE. #include "GLES3DescriptorSet.h" #include "GLES3DescriptorSetLayout.h" #include "GLES3Device.h" -#include "GLES3Fence.h" #include "GLES3Framebuffer.h" +#include "GLES3GlobalBarrier.h" #include "GLES3InputAssembler.h" #include "GLES3PipelineLayout.h" #include "GLES3PipelineState.h" @@ -51,11 +51,11 @@ GLES3Device::~GLES3Device() { } bool GLES3Device::initialize(const DeviceInfo &info) { - _API = API::GLES3; - _deviceName = "GLES3"; - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; + _API = API::GLES3; + _deviceName = "GLES3"; + _width = info.width; + _height = info.height; + _nativeWidth = info.nativeWidth; _nativeHeight = info.nativeHeight; _windowHandle = info.windowHandle; @@ -67,13 +67,13 @@ bool GLES3Device::initialize(const DeviceInfo &info) { _bindingMappingInfo.samplerOffsets.push_back(0); } - _gpuStateCache = CC_NEW(GLES3GPUStateCache); - _gpuStagingBufferPool = CC_NEW(GLES3GPUStagingBufferPool); + _gpuStateCache = CC_NEW(GLES3GPUStateCache); + _gpuStagingBufferPool = CC_NEW(GLES3GPUStagingBufferPool); _gpuFramebufferCacheMap = CC_NEW(GLES3GPUFramebufferCacheMap(_gpuStateCache)); ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = info.sharedCtx; + ctxInfo.sharedCtx = info.sharedCtx; _renderContext = CC_NEW(GLES3Context(this)); if (!_renderContext->initialize(ctxInfo)) { @@ -83,16 +83,16 @@ bool GLES3Device::initialize(const DeviceInfo &info) { bindRenderContext(true); String extStr = (const char *)glGetString(GL_EXTENSIONS); - _extensions = StringUtil::Split(extStr, " "); + _extensions = StringUtil::Split(extStr, " "); - _features[(uint)Feature::TEXTURE_FLOAT] = true; - _features[(uint)Feature::TEXTURE_HALF_FLOAT] = true; - _features[(uint)Feature::FORMAT_R11G11B10F] = true; - _features[(uint)Feature::FORMAT_D24S8] = true; - _features[(uint)Feature::MSAA] = true; - _features[(uint)Feature::INSTANCED_ARRAYS] = true; + _features[(uint)Feature::TEXTURE_FLOAT] = true; + _features[(uint)Feature::TEXTURE_HALF_FLOAT] = true; + _features[(uint)Feature::FORMAT_R11G11B10F] = true; + _features[(uint)Feature::FORMAT_D24S8] = true; + _features[(uint)Feature::MSAA] = true; + _features[(uint)Feature::INSTANCED_ARRAYS] = true; _features[(uint)Feature::MULTIPLE_RENDER_TARGETS] = true; - _features[(uint)Feature::BLEND_MINMAX] = true; + _features[(uint)Feature::BLEND_MINMAX] = true; if (((GLES3Context *)_context)->minor_ver()) _features[(uint)Feature::COMPUTE_SHADER] = true; @@ -128,20 +128,20 @@ bool GLES3Device::initialize(const DeviceInfo &info) { _features[(int)Feature::FORMAT_ASTC] = true; compressedFmts += "astc "; } - _features[static_cast(Feature::DEPTH_BOUNDS)] = true; - _features[static_cast(Feature::LINE_WIDTH)] = true; + _features[static_cast(Feature::DEPTH_BOUNDS)] = true; + _features[static_cast(Feature::LINE_WIDTH)] = true; _features[static_cast(Feature::STENCIL_COMPARE_MASK)] = true; - _features[static_cast(Feature::STENCIL_WRITE_MASK)] = true; - _features[static_cast(Feature::FORMAT_RGB8)] = true; - _features[static_cast(Feature::FORMAT_D16)] = true; - _features[static_cast(Feature::FORMAT_D24)] = true; - _features[static_cast(Feature::FORMAT_D32F)] = true; - _features[static_cast(Feature::FORMAT_D24S8)] = true; - _features[static_cast(Feature::FORMAT_D32FS8)] = true; + _features[static_cast(Feature::STENCIL_WRITE_MASK)] = true; + _features[static_cast(Feature::FORMAT_RGB8)] = true; + _features[static_cast(Feature::FORMAT_D16)] = true; + _features[static_cast(Feature::FORMAT_D24)] = true; + _features[static_cast(Feature::FORMAT_D32F)] = true; + _features[static_cast(Feature::FORMAT_D24S8)] = true; + _features[static_cast(Feature::FORMAT_D32FS8)] = true; _renderer = (const char *)glGetString(GL_RENDERER); - _vendor = (const char *)glGetString(GL_VENDOR); - _version = (const char *)glGetString(GL_VERSION); + _vendor = (const char *)glGetString(GL_VENDOR); + _version = (const char *)glGetString(GL_VERSION); CC_LOG_INFO("GLES3 device initialized."); CC_LOG_INFO("RENDERER: %s", _renderer.c_str()); @@ -153,12 +153,12 @@ bool GLES3Device::initialize(const DeviceInfo &info) { QueueInfo queueInfo; queueInfo.type = QueueType::GRAPHICS; - _queue = createQueue(queueInfo); + _queue = createQueue(queueInfo); CommandBufferInfo cmdBuffInfo; - cmdBuffInfo.type = CommandBufferType::PRIMARY; + cmdBuffInfo.type = CommandBufferType::PRIMARY; cmdBuffInfo.queue = _queue; - _cmdBuff = createCommandBuffer(cmdBuffInfo); + _cmdBuff = createCommandBuffer(cmdBuffInfo); glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_caps.maxVertexAttributes); glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_caps.maxVertexUniformVectors); @@ -201,7 +201,7 @@ void GLES3Device::destroy() { } void GLES3Device::resize(uint width, uint height) { - _width = width; + _width = width; _height = height; } @@ -211,9 +211,9 @@ void GLES3Device::acquire() { void GLES3Device::present() { GLES3Queue *queue = (GLES3Queue *)_queue; - _numDrawCalls = queue->_numDrawCalls; - _numInstances = queue->_numInstances; - _numTriangles = queue->_numTriangles; + _numDrawCalls = queue->_numDrawCalls; + _numInstances = queue->_numInstances; + _numTriangles = queue->_numTriangles; _context->present(); @@ -237,7 +237,7 @@ void GLES3Device::bindDeviceContext(bool bound) { if (!_deviceContext) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = _renderContext; + ctxInfo.sharedCtx = _renderContext; _deviceContext = CC_NEW(GLES3Context(this)); _deviceContext->initialize(ctxInfo); @@ -258,10 +258,6 @@ CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info, return CC_NEW(GLES3CommandBuffer(this)); } -Fence *GLES3Device::createFence() { - return CC_NEW(GLES3Fence(this)); -} - Queue *GLES3Device::createQueue() { return CC_NEW(GLES3Queue(this)); } @@ -310,6 +306,14 @@ PipelineState *GLES3Device::createPipelineState() { return CC_NEW(GLES3PipelineState(this)); } +GlobalBarrier *GLES3Device::createGlobalBarrier() { + return CC_NEW(GLES3GlobalBarrier(this)); +} + +TextureBarrier *GLES3Device::createTextureBarrier() { + return CC_NEW(TextureBarrier(this)); +} + void GLES3Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { GLES3CmdFuncCopyBuffersToTexture(this, buffers, ((GLES3Texture *)dst)->gpuTexture(), regions, count); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 1ff7b43b47..e0a0da0752 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -37,21 +37,22 @@ public: GLES3Device(); ~GLES3Device(); - using Device::createCommandBuffer; - using Device::createFence; - using Device::createQueue; + using Device::copyBuffersToTexture; using Device::createBuffer; - using Device::createTexture; - using Device::createSampler; - using Device::createShader; - using Device::createInputAssembler; - using Device::createRenderPass; - using Device::createFramebuffer; + using Device::createCommandBuffer; using Device::createDescriptorSet; using Device::createDescriptorSetLayout; + using Device::createFramebuffer; + using Device::createInputAssembler; using Device::createPipelineLayout; using Device::createPipelineState; - using Device::copyBuffersToTexture; + using Device::createQueue; + using Device::createRenderPass; + using Device::createSampler; + using Device::createShader; + using Device::createTexture; + using Device::createGlobalBarrier; + using Device::createTextureBarrier; virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; @@ -73,33 +74,34 @@ public: } CC_INLINE uint getThreadID() const { return _threadID; } - uint getMinorVersion() const; + uint getMinorVersion() const; protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; + virtual CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual Queue * createQueue() override; + virtual Buffer * createBuffer() override; + virtual Texture * createTexture() override; + virtual Sampler * createSampler() override; + virtual Shader * createShader() override; + virtual InputAssembler * createInputAssembler() override; + virtual RenderPass * createRenderPass() override; + virtual Framebuffer * createFramebuffer() override; + virtual DescriptorSet * createDescriptorSet() override; virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual PipelineLayout * createPipelineLayout() override; + virtual PipelineState * createPipelineState() override; + virtual GlobalBarrier * createGlobalBarrier() override; + virtual TextureBarrier * createTextureBarrier() override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; virtual void bindRenderContext(bool bound) override; virtual void bindDeviceContext(bool bound) override; private: - GLES3Context *_renderContext = nullptr; - GLES3Context *_deviceContext = nullptr; - GLES3GPUStateCache *_gpuStateCache = nullptr; - GLES3GPUStagingBufferPool *_gpuStagingBufferPool = nullptr; + GLES3Context * _renderContext = nullptr; + GLES3Context * _deviceContext = nullptr; + GLES3GPUStateCache * _gpuStateCache = nullptr; + GLES3GPUStagingBufferPool * _gpuStagingBufferPool = nullptr; GLES3GPUFramebufferCacheMap *_gpuFramebufferCacheMap = nullptr; StringArray _extensions; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Fence.cpp b/native/cocos/renderer/gfx-gles3/GLES3Fence.cpp deleted file mode 100644 index b88e0cb1c7..0000000000 --- a/native/cocos/renderer/gfx-gles3/GLES3Fence.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "GLES3Std.h" -#include "GLES3Fence.h" -#include "GLES3Device.h" -#include "GLES3GPUObjects.h" - -namespace cc { -namespace gfx { - -GLES3Fence::GLES3Fence(Device *device) -: Fence(device) { -} - -GLES3Fence::~GLES3Fence() { -} - -bool GLES3Fence::initialize(const FenceInfo &info) { - _gpuFence = CC_NEW(GLES3GPUFence); - if (!_gpuFence) { - CC_LOG_ERROR("GLES2Fence: CC_NEW GLES3GPUFence failed."); - return false; - } - - // TODO - - return true; -} - -void GLES3Fence::destroy() { - if (_gpuFence) { - // TODO - - CC_DELETE(_gpuFence); - _gpuFence = nullptr; - } -} - -void GLES3Fence::wait() { - // TODO -} - -void GLES3Fence::reset() { - // TODO -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3Fence.h b/native/cocos/renderer/gfx-gles3/GLES3Fence.h deleted file mode 100644 index df11e05b8a..0000000000 --- a/native/cocos/renderer/gfx-gles3/GLES3Fence.h +++ /dev/null @@ -1,50 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#ifndef CC_GFXGLES3_FENCE_H_ -#define CC_GFXGLES3_FENCE_H_ - -namespace cc { -namespace gfx { - -class GLES3GPUFence; - -class CC_GLES3_API GLES3Fence final : public Fence { -public: - GLES3Fence(Device *device); - ~GLES3Fence(); - -public: - virtual bool initialize(const FenceInfo &info) override; - virtual void destroy() override; - virtual void wait() override; - virtual void reset() override; - -private: - GLES3GPUFence *_gpuFence = nullptr; -}; - -} // namespace gfx -} // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 13ca410c98..9deede5cf3 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -270,8 +270,10 @@ public: const vector *descriptorIndices = nullptr; }; -class GLES3GPUFence final : public Object { +class GLES3GPUGlobalBarrier final : public Object { public: + GLbitfield glBarriers = 0u; + GLbitfield glBarriersByRegion = 0u; }; struct GLES3GPUDispatchInfo final : public Object { diff --git a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp new file mode 100644 index 0000000000..9f97791439 --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp @@ -0,0 +1,101 @@ +#include "GLES3Std.h" + +#include "GLES3GPUObjects.h" +#include "GLES3GlobalBarrier.h" + +namespace cc { +namespace gfx { + +GLES3GlobalBarrier::GLES3GlobalBarrier(Device *device) +: GlobalBarrier(device) { +} + +GLES3GlobalBarrier::~GLES3GlobalBarrier() { + CC_SAFE_DELETE(_gpuBarrier); +} + +bool GLES3GlobalBarrier::initialize(const GlobalBarrierInfo &info) { + _info = info; + + _gpuBarrier = CC_NEW(GLES3GPUGlobalBarrier); + + bool hasShaderWrites = false; + for (size_t i = 0u; i < info.prevAccesses.size(); ++i) { + switch (info.prevAccesses[i]) { + case AccessType::COMPUTE_SHADER_WRITE: + case AccessType::VERTEX_SHADER_WRITE: + case AccessType::FRAGMENT_SHADER_WRITE: + case AccessType::COLOR_ATTACHMENT_WRITE: + case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: + hasShaderWrites = true; + break; + default: + break; + } + } + + if (hasShaderWrites) { + for (size_t i = 0u; i < info.nextAccesses.size(); ++i) { + switch (info.nextAccesses[i]) { + case AccessType::INDIRECT_BUFFER: + _gpuBarrier->glBarriers |= GL_COMMAND_BARRIER_BIT; + break; + case AccessType::INDEX_BUFFER: + _gpuBarrier->glBarriers |= GL_ELEMENT_ARRAY_BARRIER_BIT; + break; + case AccessType::VERTEX_BUFFER: + _gpuBarrier->glBarriers |= GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_UNIFORM_BUFFER: + case AccessType::VERTEX_SHADER_READ_UNIFORM_BUFFER: + case AccessType::FRAGMENT_SHADER_READ_UNIFORM_BUFFER: + _gpuBarrier->glBarriersByRegion |= GL_UNIFORM_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_TEXTURE: + case AccessType::VERTEX_SHADER_READ_TEXTURE: + case AccessType::FRAGMENT_SHADER_READ_TEXTURE: + case AccessType::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT: + case AccessType::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT: + _gpuBarrier->glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; + _gpuBarrier->glBarriersByRegion |= GL_TEXTURE_FETCH_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_READ_OTHER: + case AccessType::VERTEX_SHADER_READ_OTHER: + case AccessType::FRAGMENT_SHADER_READ_OTHER: + _gpuBarrier->glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; + break; + case AccessType::COLOR_ATTACHMENT_READ: + case AccessType::DEPTH_STENCIL_ATTACHMENT_READ: + _gpuBarrier->glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; + break; + case AccessType::TRANSFER_READ: + _gpuBarrier->glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; + break; + case AccessType::COMPUTE_SHADER_WRITE: + case AccessType::VERTEX_SHADER_WRITE: + case AccessType::FRAGMENT_SHADER_WRITE: + _gpuBarrier->glBarriersByRegion |= GL_SHADER_IMAGE_ACCESS_BARRIER_BIT; + _gpuBarrier->glBarriersByRegion |= GL_SHADER_STORAGE_BARRIER_BIT; + break; + case AccessType::COLOR_ATTACHMENT_WRITE: + case AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE: + _gpuBarrier->glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; + break; + case AccessType::TRANSFER_WRITE: + _gpuBarrier->glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; + _gpuBarrier->glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; + break; + case AccessType::HOST_PREINITIALIZED: + case AccessType::HOST_WRITE: + case AccessType::PRESENT: + default: + break; + } + } + } + + return true; +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h new file mode 100644 index 0000000000..a8e8969f66 --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h @@ -0,0 +1,25 @@ +#ifndef CC_GFXGLES3_GLOBAL_BARRIER_H_ +#define CC_GFXGLES3_GLOBAL_BARRIER_H_ + +namespace cc { +namespace gfx { + +class GLES3GPUGlobalBarrier; + +class CC_DLL GLES3GlobalBarrier : public GlobalBarrier { +public: + GLES3GlobalBarrier(Device *device); + ~GLES3GlobalBarrier(); + + CC_INLINE const GLES3GPUGlobalBarrier *gpuBarrier() const { return _gpuBarrier; } + +protected: + bool initialize(const GlobalBarrierInfo &info) override; + + GLES3GPUGlobalBarrier *_gpuBarrier = nullptr; +}; + +} // namespace gfx +} // namespace cc + +#endif // CC_GFXVULKAN_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 77c652f30f..0346cbdca6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -27,6 +27,7 @@ THE SOFTWARE. #include "GLES3DescriptorSet.h" #include "GLES3Device.h" #include "GLES3Framebuffer.h" +#include "GLES3GlobalBarrier.h" #include "GLES3InputAssembler.h" #include "GLES3PipelineState.h" #include "GLES3PrimaryCommandBuffer.h" @@ -61,8 +62,8 @@ void GLES3PrimaryCommandBuffer::end() { } void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { - _isInRenderPass = true; - GLES3GPURenderPass *gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); + _isInRenderPass = true; + GLES3GPURenderPass * gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); GLES3CmdFuncBeginRenderPass((GLES3Device *)_device, gpuRenderPass, gpuFramebuffer, @@ -134,7 +135,7 @@ void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe } } -void GLES3PrimaryCommandBuffer::blitTexture(Texture* srcTexture, Texture* dstTexture, const TextureBlit* regions, uint count, Filter filter) { +void GLES3PrimaryCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { @@ -172,7 +173,7 @@ void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t void GLES3PrimaryCommandBuffer::BindStates() { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); @@ -180,7 +181,7 @@ void GLES3PrimaryCommandBuffer::BindStates() { if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, - _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); + _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); _isStateInvalid = false; } @@ -208,15 +209,13 @@ void GLES3PrimaryCommandBuffer::dispatch(const DispatchInfo &info) { } } -void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { +void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || (_type == CommandBufferType::SECONDARY)) { if (!barrier) return; - GLbitfield glBarriers = 0u; - GLbitfield glBarriersByRegion = 0u; - MapGLBarriers(barrier, glBarriers, glBarriersByRegion); - GLES3CmdFuncMemoryBarrier((GLES3Device *)_device, glBarriers, glBarriersByRegion); + const GLES3GPUGlobalBarrier *gpuBarrier = ((GLES3GlobalBarrier *)barrier)->gpuBarrier(); + GLES3CmdFuncMemoryBarrier((GLES3Device *)_device, gpuBarrier->glBarriers, gpuBarrier->glBarriersByRegion); } else { CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 151789dbac..9ad57cb850 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -45,7 +45,7 @@ public: virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; protected: diff --git a/native/cocos/renderer/gfx-metal/MTLFence.h b/native/cocos/renderer/gfx-metal/MTLFence.h deleted file mode 100644 index 9adf2b0839..0000000000 --- a/native/cocos/renderer/gfx-metal/MTLFence.h +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#pragma once -namespace cc { -namespace gfx { - -class CCMTLFence : public Fence { -public: - CCMTLFence(Device *device); - ~CCMTLFence() = default; - - virtual bool initialize(const FenceInfo &info) override; - virtual void destroy() override; - virtual void wait() override; - virtual void reset() override; - -private: -}; - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-metal/MTLFence.mm b/native/cocos/renderer/gfx-metal/MTLFence.mm deleted file mode 100644 index 5bfd1f3708..0000000000 --- a/native/cocos/renderer/gfx-metal/MTLFence.mm +++ /dev/null @@ -1,50 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "MTLStd.h" - -#include "MTLDevice.h" -#include "MTLFence.h" - -namespace cc { -namespace gfx { - -CCMTLFence::CCMTLFence(Device *device) -: Fence(device) { -} - -bool CCMTLFence::initialize(const FenceInfo &info) { - return true; -} - -void CCMTLFence::destroy() { -} - -void CCMTLFence::wait() { -} - -void CCMTLFence::reset() { -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 3cee96f34a..d7dea1a9de 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -30,11 +30,13 @@ THE SOFTWARE. #include "VKDescriptorSet.h" #include "VKDevice.h" #include "VKFramebuffer.h" +#include "VKGlobalBarrier.h" #include "VKInputAssembler.h" #include "VKPipelineState.h" #include "VKQueue.h" #include "VKRenderPass.h" #include "VKTexture.h" +#include "VKTextureBarrier.h" namespace cc { namespace gfx { @@ -618,105 +620,47 @@ void CCVKCommandBuffer::dispatch(const DispatchInfo &info) { } } -void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { - uint count = 0u; - if (barrier) count += barrier->prevAccessCount + barrier->nextAccessCount; - for (uint b = 0u; b < textureBarrierCount; ++b) { - count += textureBarriers[b].prevAccessCount + textureBarriers[b].nextAccessCount; - } - _accessTypes.resize(count); - - VkMemoryBarrier memoryBarrier; - VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; - VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; - uint32_t memoryBarrierCount = barrier ? 1 : 0; - VkMemoryBarrier * pMemoryBarriers = barrier ? &memoryBarrier : nullptr; - VkImageMemoryBarrier *pImageMemoryBarriers = nullptr; - uint index = 0u; +void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + VkMemoryBarrier const * pMemoryBarrier = nullptr; + uint memoryBarrierCount = 0u; + VkImageMemoryBarrier const *pImageMemoryBarriers = nullptr; if (barrier) { - ThsvsGlobalBarrier globalBarrier{}; - globalBarrier.prevAccessCount = barrier->prevAccessCount; - globalBarrier.pPrevAccesses = _accessTypes.data() + index; - for (uint i = 0u; i < barrier->prevAccessCount; ++i, ++index) { - _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)barrier->prevAccesses[i]]; - } - - globalBarrier.nextAccessCount = barrier->nextAccessCount; - globalBarrier.pNextAccesses = _accessTypes.data() + index; - for (uint i = 0u; i < barrier->nextAccessCount; ++i, ++index) { - _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)barrier->nextAccesses[i]]; - } - - VkPipelineStageFlags tempSrcStageMask = 0; - VkPipelineStageFlags tempDstStageMask = 0; - thsvsGetVulkanMemoryBarrier(globalBarrier, &tempSrcStageMask, &tempDstStageMask, pMemoryBarriers); - srcStageMask |= tempSrcStageMask; - dstStageMask |= tempDstStageMask; + const CCVKGPUGlobalBarrier *gpuBarrier = ((CCVKGlobalBarrier *)barrier)->gpuBarrier(); + srcStageMask |= gpuBarrier->srcStageMask; + dstStageMask |= gpuBarrier->dstStageMask; + pMemoryBarrier = &gpuBarrier->vkBarrier; + memoryBarrierCount = 1u; } if (textureBarrierCount > 0) { _imageMemoryBarriers.resize(textureBarrierCount); pImageMemoryBarriers = _imageMemoryBarriers.data(); - VkPipelineStageFlags tempSrcStageMask = 0; - VkPipelineStageFlags tempDstStageMask = 0; - for (uint b = 0u; b < textureBarrierCount; ++b) { - const TextureBarrier &textureBarrier = textureBarriers[b]; - ThsvsImageBarrier imageBarrier{}; + for (uint i = 0u; i < textureBarrierCount; ++i) { + const CCVKGPUTextureBarrier *gpuBarrier = ((CCVKTextureBarrier *)textureBarriers[i])->gpuBarrier(); + _imageMemoryBarriers[i] = gpuBarrier->vkBarrier; - imageBarrier.prevAccessCount = textureBarrier.prevAccessCount; - imageBarrier.pPrevAccesses = _accessTypes.data() + index; - for (uint i = 0u; i < textureBarrier.prevAccessCount; ++i, ++index) { - _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.prevAccesses[i]]; - } - - imageBarrier.nextAccessCount = textureBarrier.nextAccessCount; - imageBarrier.pNextAccesses = _accessTypes.data() + index; - for (uint i = 0u; i < textureBarrier.nextAccessCount; ++i, ++index) { - _accessTypes[index] = THSVS_ACCESS_TYPES[(uint)textureBarrier.nextAccesses[i]]; - } - - imageBarrier.discardContents = textureBarrier.discardContents; - imageBarrier.prevLayout = imageBarrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - - CCVKGPUTexture * gpuTexture = nullptr; - CCVKGPUSwapchain *swapchain = nullptr; - if (textureBarrier.texture) { - gpuTexture = ((CCVKTexture *)textureBarrier.texture)->gpuTexture(); - imageBarrier.image = gpuTexture->vkImage; - imageBarrier.subresourceRange.aspectMask = gpuTexture->aspectMask; + if (textures[i]) { + CCVKGPUTexture *gpuTexture = ((CCVKTexture *)textures[i])->gpuTexture(); + _imageMemoryBarriers[i].image = gpuTexture->vkImage; + _imageMemoryBarriers[i].subresourceRange.aspectMask = gpuTexture->aspectMask; + gpuTexture->currentAccessTypes.assign(gpuBarrier->barrier.pNextAccesses, gpuBarrier->barrier.pNextAccesses + gpuBarrier->barrier.nextAccessCount); } else { - swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); - imageBarrier.image = swapchain->swapchainImages[swapchain->curImageIndex]; - imageBarrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + _imageMemoryBarriers[i].image = swapchain->swapchainImages[swapchain->curImageIndex]; + _imageMemoryBarriers[i].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + swapchain->swapchainImageAccessTypes[swapchain->curImageIndex].assign(gpuBarrier->barrier.pNextAccesses, gpuBarrier->barrier.pNextAccesses + gpuBarrier->barrier.nextAccessCount); } - imageBarrier.subresourceRange.baseMipLevel = 0u; - imageBarrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - imageBarrier.subresourceRange.baseArrayLayer = 0u; - imageBarrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - - imageBarrier.srcQueueFamilyIndex = textureBarrier.srcQueue - ? ((CCVKQueue *)textureBarrier.srcQueue)->gpuQueue()->queueFamilyIndex - : VK_QUEUE_FAMILY_IGNORED; - imageBarrier.dstQueueFamilyIndex = textureBarrier.dstQueue - ? ((CCVKQueue *)textureBarrier.dstQueue)->gpuQueue()->queueFamilyIndex - : VK_QUEUE_FAMILY_IGNORED; - - thsvsGetVulkanImageMemoryBarrier(imageBarrier, &tempSrcStageMask, &tempDstStageMask, &_imageMemoryBarriers[b]); - srcStageMask |= tempSrcStageMask; - dstStageMask |= tempDstStageMask; - - if (gpuTexture) { - gpuTexture->currentAccessTypes.assign(imageBarrier.pNextAccesses, imageBarrier.pNextAccesses + imageBarrier.nextAccessCount); - } else { - swapchain->swapchainImageAccessTypes[swapchain->curImageIndex].assign(imageBarrier.pNextAccesses, imageBarrier.pNextAccesses + imageBarrier.nextAccessCount); - } + srcStageMask |= gpuBarrier->srcStageMask; + dstStageMask |= gpuBarrier->dstStageMask; } } - vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, memoryBarrierCount, pMemoryBarriers, + vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, memoryBarrierCount, pMemoryBarrier, 0, nullptr, textureBarrierCount, pImageMemoryBarriers); } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 965c000271..274aba0287 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -61,7 +61,7 @@ public: virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; CCVKGPUCommandBuffer *gpuCommandBuffer() const { return _gpuCommandBuffer; } @@ -92,7 +92,6 @@ private: // temp storage vector _blitRegions; - vector _accessTypes; vector _imageMemoryBarriers; vector _vkCommandBuffers; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index c451e655d5..c0caeceaac 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -679,11 +679,6 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS 1, &createInfo, nullptr, &gpuPipelineState->vkPipeline)); } -void CCVKCmdFuncCreateFence(CCVKDevice *device, CCVKGPUFence *gpuFence) { - VkFenceCreateInfo createInfo{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO}; - VK_CHECK(vkCreateFence(device->gpuDevice()->vkDevice, &createInfo, nullptr, &gpuFence->vkFence)); -} - void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const void *buffer, uint size, const CCVKGPUCommandBuffer *cmdBuffer) { if (!gpuBuffer) return; @@ -924,13 +919,6 @@ void CCVKCmdFuncDestroyPipelineState(CCVKGPUDevice *gpuDevice, CCVKGPUPipelineSt } } -void CCVKCmdFuncDestroyFence(CCVKGPUDevice *gpuDevice, CCVKGPUFence *gpuFence) { - if (gpuFence->vkFence) { - vkDestroyFence(gpuDevice->vkDevice, gpuFence->vkFence, nullptr); - gpuFence->vkFence = VK_NULL_HANDLE; - } -} - void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier) { VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; @@ -1016,13 +1004,6 @@ void CCVKGPURecycleBin::clear() { res.gpuPipelineState = nullptr; } break; - case RecycledType::FENCE: - if (res.gpuFence) { - CCVKCmdFuncDestroyFence(_device, res.gpuFence); - CC_DELETE(res.gpuFence); - res.gpuFence = nullptr; - } - break; default: break; } res.type = RecycledType::UNKNOWN; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index 903ae46bc9..763668af59 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -66,7 +66,6 @@ CC_VULKAN_API void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVK CC_VULKAN_API void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout); CC_VULKAN_API void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); CC_VULKAN_API void CCVKCmdFuncCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); -CC_VULKAN_API void CCVKCmdFuncCreateFence(CCVKDevice *device, CCVKGPUFence *gpuFence); CC_VULKAN_API void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const void *buffer, uint size, const CCVKGPUCommandBuffer *cmdBuffer = nullptr); CC_VULKAN_API void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *buffers, CCVKGPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count, const CCVKGPUCommandBuffer *cmdBuff); @@ -78,7 +77,6 @@ CC_VULKAN_API void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *device, CCVKGPUF CC_VULKAN_API void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout); CC_VULKAN_API void CCVKCmdFuncDestroyPipelineLayout(CCVKGPUDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout); CC_VULKAN_API void CCVKCmdFuncDestroyPipelineState(CCVKGPUDevice *device, CCVKGPUPipelineState *gpuPipelineState); -CC_VULKAN_API void CCVKCmdFuncDestroyFence(CCVKGPUDevice *device, CCVKGPUFence *gpuFence); CC_VULKAN_API void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 1af145078a..2d506c4ab5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -6,8 +6,8 @@ #include "VKDescriptorSet.h" #include "VKDescriptorSetLayout.h" #include "VKDevice.h" -#include "VKFence.h" #include "VKFramebuffer.h" +#include "VKGlobalBarrier.h" #include "VKInputAssembler.h" #include "VKPipelineLayout.h" #include "VKPipelineState.h" @@ -16,6 +16,7 @@ #include "VKSampler.h" #include "VKShader.h" #include "VKTexture.h" +#include "VKTextureBarrier.h" #include "VKUtils.h" CC_DISABLE_WARNINGS() @@ -565,10 +566,6 @@ CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info, return CC_NEW(CCVKCommandBuffer(this)); } -Fence *CCVKDevice::createFence() { - return CC_NEW(CCVKFence(this)); -} - Queue *CCVKDevice::createQueue() { return CC_NEW(CCVKQueue(this)); } @@ -617,6 +614,14 @@ PipelineState *CCVKDevice::createPipelineState() { return CC_NEW(CCVKPipelineState(this)); } +GlobalBarrier *CCVKDevice::createGlobalBarrier() { + return CC_NEW(CCVKGlobalBarrier(this)); +} + +TextureBarrier *CCVKDevice::createTextureBarrier() { + return CC_NEW(CCVKTextureBarrier(this)); +} + void CCVKDevice::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { gpuTransportHub()->checkIn([this, buffers, dst, regions, count](CCVKGPUCommandBuffer *gpuCommandBuffer) { CCVKCmdFuncCopyBuffersToTexture(this, buffers, ((CCVKTexture *)dst)->gpuTexture(), regions, count, gpuCommandBuffer); diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index b7a06565fd..195bb86d91 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -55,8 +55,8 @@ public: using Device::createCommandBuffer; using Device::createDescriptorSet; using Device::createDescriptorSetLayout; - using Device::createFence; using Device::createFramebuffer; + using Device::createGlobalBarrier; using Device::createInputAssembler; using Device::createPipelineLayout; using Device::createPipelineState; @@ -65,12 +65,13 @@ public: using Device::createSampler; using Device::createShader; using Device::createTexture; + using Device::createTextureBarrier; - virtual bool initialize(const DeviceInfo &info) override; - virtual void destroy() override; - virtual void resize(uint width, uint height) override; - virtual void acquire() override; - virtual void present() override; + virtual bool initialize(const DeviceInfo &info) override; + virtual void destroy() override; + virtual void resize(uint width, uint height) override; + virtual void acquire() override; + virtual void present() override; CC_INLINE bool checkExtension(const String &extension) const { return std::find_if(_extensions.begin(), _extensions.end(), [extension](const char *device_extension) { @@ -89,43 +90,44 @@ public: CC_INLINE CCVKGPUDescriptorSetHub *gpuDescriptorSetHub() { return _gpuDescriptorSetHub; } CC_INLINE CCVKGPUTextureLayoutManager *gpuTextureLayoutManager() { return _gpuTextureLayoutManager; } - CCVKGPUFencePool *gpuFencePool(); - CCVKGPURecycleBin *gpuRecycleBin(); + CCVKGPUFencePool * gpuFencePool(); + CCVKGPURecycleBin * gpuRecycleBin(); CCVKGPUStagingBufferPool *gpuStagingBufferPool(); private: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Fence *createFence() override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; + virtual CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual Queue * createQueue() override; + virtual Buffer * createBuffer() override; + virtual Texture * createTexture() override; + virtual Sampler * createSampler() override; + virtual Shader * createShader() override; + virtual InputAssembler * createInputAssembler() override; + virtual RenderPass * createRenderPass() override; + virtual Framebuffer * createFramebuffer() override; + virtual DescriptorSet * createDescriptorSet() override; virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual PipelineLayout * createPipelineLayout() override; + virtual PipelineState * createPipelineState() override; + virtual GlobalBarrier * createGlobalBarrier() override; + virtual TextureBarrier * createTextureBarrier() override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; void destroySwapchain(); bool checkSwapchainStatus(); - CCVKGPUDevice *_gpuDevice = nullptr; - CCVKGPUSwapchain *_gpuSwapchain = nullptr; + CCVKGPUDevice * _gpuDevice = nullptr; + CCVKGPUSwapchain * _gpuSwapchain = nullptr; vector _depthStencilTextures; - vector _gpuFencePools; - vector _gpuRecycleBins; + vector _gpuFencePools; + vector _gpuRecycleBins; vector _gpuStagingBufferPools; - CCVKGPUBufferHub *_gpuBufferHub = nullptr; - CCVKGPUTransportHub *_gpuTransportHub = nullptr; - CCVKGPUDescriptorHub *_gpuDescriptorHub = nullptr; - CCVKGPUSemaphorePool *_gpuSemaphorePool = nullptr; - CCVKGPUDescriptorSetHub *_gpuDescriptorSetHub = nullptr; + CCVKGPUBufferHub * _gpuBufferHub = nullptr; + CCVKGPUTransportHub * _gpuTransportHub = nullptr; + CCVKGPUDescriptorHub * _gpuDescriptorHub = nullptr; + CCVKGPUSemaphorePool * _gpuSemaphorePool = nullptr; + CCVKGPUDescriptorSetHub * _gpuDescriptorSetHub = nullptr; CCVKGPUTextureLayoutManager *_gpuTextureLayoutManager = nullptr; vector _layers; diff --git a/native/cocos/renderer/gfx-vulkan/VKFence.cpp b/native/cocos/renderer/gfx-vulkan/VKFence.cpp deleted file mode 100644 index c2917fdb87..0000000000 --- a/native/cocos/renderer/gfx-vulkan/VKFence.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "VKStd.h" - -#include "VKDevice.h" -#include "VKFence.h" -#include "VKCommands.h" - -namespace cc { -namespace gfx { - -CCVKFence::CCVKFence(Device *device) -: Fence(device) { -} - -CCVKFence::~CCVKFence() { -} - -bool CCVKFence::initialize(const FenceInfo &info) { - _gpuFence = CC_NEW(CCVKGPUFence); - if (!_gpuFence) { - CC_LOG_ERROR("CCVKFence: CC_NEW CCVKGPUFence failed."); - return false; - } - - CCVKCmdFuncCreateFence((CCVKDevice *)_device, _gpuFence); - - return true; -} - -void CCVKFence::destroy() { - if (_gpuFence) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuFence); - _gpuFence = nullptr; - } -} - -// TODO: move these two to device -void CCVKFence::wait() { - VK_CHECK(vkWaitForFences(((CCVKDevice *)_device)->gpuDevice()->vkDevice, 1, &_gpuFence->vkFence, VK_TRUE, DEFAULT_TIMEOUT)); -} - -void CCVKFence::reset() { - VK_CHECK(vkResetFences(((CCVKDevice *)_device)->gpuDevice()->vkDevice, 1, &_gpuFence->vkFence)); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKFence.h b/native/cocos/renderer/gfx-vulkan/VKFence.h deleted file mode 100644 index 503f099bff..0000000000 --- a/native/cocos/renderer/gfx-vulkan/VKFence.h +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#ifndef CC_GFXVULKAN_FENCE_H_ -#define CC_GFXVULKAN_FENCE_H_ - -namespace cc { -namespace gfx { - -class CCVKGPUFence; - -class CC_VULKAN_API CCVKFence final : public Fence { -public: - CCVKFence(Device *device); - virtual ~CCVKFence() override; - -public: - virtual bool initialize(const FenceInfo &info) override; - virtual void destroy() override; - virtual void wait() override; - virtual void reset() override; - - CC_INLINE CCVKGPUFence *gpuFence() { return _gpuFence; } - -private: - CCVKGPUFence *_gpuFence = nullptr; -}; - -} // namespace gfx -} // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h index 92e13ac58f..915581b6d3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h @@ -32,7 +32,7 @@ class CCVKGPUFramebuffer; class CC_VULKAN_API CCVKFramebuffer final : public Framebuffer { public: CCVKFramebuffer(Device *device); - ~CCVKFramebuffer(); + ~CCVKFramebuffer() override; public: bool initialize(const FramebufferInfo &info); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index d2e85e0b42..33a5a806e5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -289,9 +289,24 @@ public: VkPipeline vkPipeline = VK_NULL_HANDLE; }; -class CCVKGPUFence final : public Object { +class CCVKGPUGlobalBarrier final : public Object { public: - VkFence vkFence; + VkPipelineStageFlags srcStageMask = 0u; + VkPipelineStageFlags dstStageMask = 0u; + VkMemoryBarrier vkBarrier{}; + + vector accessTypes; + ThsvsGlobalBarrier barrier{}; +}; + +class CCVKGPUTextureBarrier final : public Object { +public: + VkPipelineStageFlags srcStageMask = 0u; + VkPipelineStageFlags dstStageMask = 0u; + VkImageMemoryBarrier vkBarrier{}; + + vector accessTypes; + ThsvsImageBarrier barrier{}; }; class CCVKGPUCommandBufferPool; @@ -1012,7 +1027,6 @@ public: DEFINE_RECYCLE_BIN_COLLECT_FN(CCVKGPUDescriptorSetLayout, RecycledType::DESCRIPTOR_SET_LAYOUT, res.gpuDescriptorSetLayout = gpuRes) DEFINE_RECYCLE_BIN_COLLECT_FN(CCVKGPUPipelineLayout, RecycledType::PIPELINE_LAYOUT, res.gpuPipelineLayout = gpuRes) DEFINE_RECYCLE_BIN_COLLECT_FN(CCVKGPUPipelineState, RecycledType::PIPELINE_STATE, res.gpuPipelineState = gpuRes) - DEFINE_RECYCLE_BIN_COLLECT_FN(CCVKGPUFence, RecycledType::FENCE, res.gpuFence = gpuRes) void clear(); @@ -1029,7 +1043,6 @@ private: DESCRIPTOR_SET_LAYOUT, PIPELINE_LAYOUT, PIPELINE_STATE, - FENCE, }; struct Buffer { VkBuffer vkBuffer; @@ -1056,7 +1069,6 @@ private: CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout; CCVKGPUPipelineLayout * gpuPipelineLayout; CCVKGPUPipelineState * gpuPipelineState; - CCVKGPUFence * gpuFence; }; }; CCVKGPUDevice * _device = nullptr; diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp new file mode 100644 index 0000000000..90ec0ff741 --- /dev/null +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp @@ -0,0 +1,42 @@ +#include "VKStd.h" + +#include "VKCommands.h" +#include "VKGlobalBarrier.h" + +namespace cc { +namespace gfx { + +CCVKGlobalBarrier::CCVKGlobalBarrier(Device *device) +: GlobalBarrier(device) { +} + +CCVKGlobalBarrier::~CCVKGlobalBarrier() { + CC_SAFE_DELETE(_gpuBarrier); +} + +bool CCVKGlobalBarrier::initialize(const GlobalBarrierInfo &info) { + _info = info; + + _gpuBarrier = CC_NEW(CCVKGPUGlobalBarrier); + _gpuBarrier->accessTypes.resize(info.prevAccesses.size() + info.nextAccesses.size()); + + uint index = 0u; + for (AccessType type : info.prevAccesses) { + _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[(uint)type]; + } + for (AccessType type : info.nextAccesses) { + _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[(uint)type]; + } + + _gpuBarrier->barrier.prevAccessCount = info.prevAccesses.size(); + _gpuBarrier->barrier.pPrevAccesses = _gpuBarrier->accessTypes.data(); + _gpuBarrier->barrier.nextAccessCount = info.nextAccesses.size(); + _gpuBarrier->barrier.pNextAccesses = _gpuBarrier->accessTypes.data() + info.prevAccesses.size(); + + thsvsGetVulkanMemoryBarrier(_gpuBarrier->barrier, &_gpuBarrier->srcStageMask, &_gpuBarrier->dstStageMask, &_gpuBarrier->vkBarrier); + + return true; +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h new file mode 100644 index 0000000000..4e0673a2d9 --- /dev/null +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h @@ -0,0 +1,25 @@ +#ifndef CC_GFXVULKAN_GLOBAL_BARRIER_H_ +#define CC_GFXVULKAN_GLOBAL_BARRIER_H_ + +namespace cc { +namespace gfx { + +class CCVKGPUGlobalBarrier; + +class CC_DLL CCVKGlobalBarrier : public GlobalBarrier { +public: + CCVKGlobalBarrier(Device *device); + ~CCVKGlobalBarrier(); + + CC_INLINE const CCVKGPUGlobalBarrier *gpuBarrier() const { return _gpuBarrier; } + +protected: + bool initialize(const GlobalBarrierInfo &info) override; + + CCVKGPUGlobalBarrier *_gpuBarrier = nullptr; +}; + +} // namespace gfx +} // namespace cc + +#endif // CC_GFXVULKAN_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 4adc8e2339..08f9de4db6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -26,7 +26,6 @@ THE SOFTWARE. #include "VKCommandBuffer.h" #include "VKCommands.h" #include "VKDevice.h" -#include "VKFence.h" #include "VKQueue.h" namespace cc { diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp new file mode 100644 index 0000000000..e11be5caed --- /dev/null +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp @@ -0,0 +1,56 @@ +#include "VKStd.h" + +#include "VKGPUObjects.h" +#include "VKQueue.h" +#include "VKTextureBarrier.h" + +namespace cc { +namespace gfx { + +CCVKTextureBarrier::CCVKTextureBarrier(Device *device) +: TextureBarrier(device) { +} + +CCVKTextureBarrier::~CCVKTextureBarrier() { + CC_SAFE_DELETE(_gpuBarrier); +} + +bool CCVKTextureBarrier::initialize(const TextureBarrierInfo &info) { + _info = info; + + _gpuBarrier = CC_NEW(CCVKGPUTextureBarrier); + _gpuBarrier->accessTypes.resize(info.prevAccesses.size() + info.nextAccesses.size()); + + uint index = 0u; + for (AccessType type : info.prevAccesses) { + _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[(uint)type]; + } + for (AccessType type : info.nextAccesses) { + _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[(uint)type]; + } + + _gpuBarrier->barrier.prevAccessCount = info.prevAccesses.size(); + _gpuBarrier->barrier.pPrevAccesses = _gpuBarrier->accessTypes.data(); + _gpuBarrier->barrier.nextAccessCount = info.nextAccesses.size(); + _gpuBarrier->barrier.pNextAccesses = _gpuBarrier->accessTypes.data() + info.prevAccesses.size(); + + _gpuBarrier->barrier.prevLayout = _gpuBarrier->barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + _gpuBarrier->barrier.discardContents = info.discardContents; + _gpuBarrier->barrier.subresourceRange.baseMipLevel = 0u; + _gpuBarrier->barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + _gpuBarrier->barrier.subresourceRange.baseArrayLayer = 0u; + _gpuBarrier->barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + _gpuBarrier->barrier.srcQueueFamilyIndex = info.srcQueue + ? ((CCVKQueue *)info.srcQueue)->gpuQueue()->queueFamilyIndex + : VK_QUEUE_FAMILY_IGNORED; + _gpuBarrier->barrier.dstQueueFamilyIndex = info.dstQueue + ? ((CCVKQueue *)info.dstQueue)->gpuQueue()->queueFamilyIndex + : VK_QUEUE_FAMILY_IGNORED; + + thsvsGetVulkanImageMemoryBarrier(_gpuBarrier->barrier, &_gpuBarrier->srcStageMask, &_gpuBarrier->dstStageMask, &_gpuBarrier->vkBarrier); + + return true; +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h new file mode 100644 index 0000000000..616f0ce49d --- /dev/null +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h @@ -0,0 +1,25 @@ +#ifndef CC_GFXVULKAN_TEXTURE_BARRIER_H_ +#define CC_GFXVULKAN_TEXTURE_BARRIER_H_ + +namespace cc { +namespace gfx { + +class CCVKGPUTextureBarrier; + +class CC_DLL CCVKTextureBarrier : public TextureBarrier { +public: + CCVKTextureBarrier(Device *device); + ~CCVKTextureBarrier(); + + CC_INLINE const CCVKGPUTextureBarrier *gpuBarrier() const { return _gpuBarrier; } + +protected: + bool initialize(const TextureBarrierInfo &info) override; + + CCVKGPUTextureBarrier *_gpuBarrier = nullptr; +}; + +} // namespace gfx +} // namespace cc + +#endif // CC_GFXVULKAN_TEXTURE_BARRIER_H_ From 6bb9c3c7ee5d5a2dc42e41ff7a35c9dd0d869073 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 25 Jan 2021 17:40:15 +0800 Subject: [PATCH 136/270] more hash functions --- .../core/gfx-agent/GFXRenderPassAgent.cpp | 10 +++--- native/cocos/renderer/core/gfx/GFXDef.h | 11 ------- .../renderer/core/gfx/GFXGlobalBarrier.cpp | 13 ++++++++ .../renderer/core/gfx/GFXGlobalBarrier.h | 2 ++ .../cocos/renderer/core/gfx/GFXRenderPass.cpp | 33 +++++++++---------- .../cocos/renderer/core/gfx/GFXRenderPass.h | 4 +-- native/cocos/renderer/core/gfx/GFXSampler.h | 1 - native/cocos/renderer/core/gfx/GFXShader.h | 1 - .../renderer/core/gfx/GFXTextureBarrier.cpp | 17 ++++++++++ .../renderer/core/gfx/GFXTextureBarrier.h | 2 ++ .../renderer/gfx-gles2/GLES2RenderPass.cpp | 2 +- .../renderer/gfx-gles3/GLES3RenderPass.cpp | 2 +- .../cocos/renderer/gfx-metal/MTLRenderPass.mm | 2 +- .../renderer/gfx-vulkan/VKRenderPass.cpp | 2 +- 14 files changed, 61 insertions(+), 41 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp index d03a01a2ec..38b4a148d0 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp @@ -1,13 +1,13 @@ #include "CoreStd.h" -#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXRenderPassAgent.h" +#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { -RenderPassAgent::~RenderPassAgent(){ +RenderPassAgent::~RenderPassAgent() { ENQUEUE_MESSAGE_1( ((DeviceAgent *)_device)->getMessageQueue(), RenderPassDestruct, @@ -19,10 +19,10 @@ RenderPassAgent::~RenderPassAgent(){ bool RenderPassAgent::initialize(const RenderPassInfo &info) { - _colorAttachments = info.colorAttachments; + _colorAttachments = info.colorAttachments; _depthStencilAttachment = info.depthStencilAttachment; - _subPasses = info.subPasses; - _hash = computeHash(); + _subPasses = info.subPasses; + _hash = computeHash(info); ENQUEUE_MESSAGE_2( ((DeviceAgent *)_device)->getMessageQueue(), diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index caeea97160..75bcef15e9 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -1147,17 +1147,6 @@ struct TextureBarrierInfo { }; typedef cc::vector TextureBarrierInfoList; -struct BufferBarrierInfo { - vector prevAccesses; - vector nextAccesses; - - Buffer *buffer = nullptr; - - Queue *srcQueue = nullptr; - Queue *dstQueue = nullptr; -}; -typedef cc::vector BufferBarrierInfoList; - typedef cc::vector BufferList; typedef cc::vector TextureList; typedef cc::vector SamplerList; diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp index 84fdf17abe..66477a8dd2 100644 --- a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp +++ b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp @@ -12,5 +12,18 @@ GlobalBarrier::GlobalBarrier(Device *device) GlobalBarrier::~GlobalBarrier() { } +uint GlobalBarrier::computeHash(const GlobalBarrierInfo& info) { + uint seed = info.prevAccesses.size() + info.nextAccesses.size(); + + for (const AccessType type : info.prevAccesses) { + seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + for (const AccessType type : info.nextAccesses) { + seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + + return seed; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h index 160d2f11bd..f3e8cb0ffa 100644 --- a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h +++ b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h @@ -11,6 +11,8 @@ public: GlobalBarrier(Device *device); virtual ~GlobalBarrier(); + static uint computeHash(const GlobalBarrierInfo &info); + CC_INLINE const GlobalBarrierInfo &get() const { return _info; } protected: diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp index 50426e5bfd..fd4e19b9cb 100755 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp +++ b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp @@ -13,39 +13,38 @@ RenderPass::~RenderPass() { } // Based on render pass compatibility -uint RenderPass::computeHash() const { - // https://stackoverflow.com/questions/20511347/a-good-hash-function-for-a-vector - size_t seed = _colorAttachments.size() * 2 + 2; - if (_subPasses.size()) { - for (const auto &subPass : _subPasses) { - for (const auto &iaIndex : subPass.inputs) { - if (iaIndex >= _colorAttachments.size()) break; - const auto ia = _colorAttachments[iaIndex]; +uint RenderPass::computeHash(const RenderPassInfo &info) { + uint seed = info.colorAttachments.size() * 2 + 2; + if (info.subPasses.size()) { + for (const SubPassInfo &subPass : info.subPasses) { + for (const uint8_t iaIndex : subPass.inputs) { + if (iaIndex >= info.colorAttachments.size()) break; + const ColorAttachment &ia = info.colorAttachments[iaIndex]; seed ^= (uint)(ia.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ia.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - for (const auto &caIndex : subPass.colors) { - if (caIndex >= _colorAttachments.size()) break; - const auto ca = _colorAttachments[caIndex]; + for (const uint8_t caIndex : subPass.colors) { + if (caIndex >= info.colorAttachments.size()) break; + const ColorAttachment &ca = info.colorAttachments[caIndex]; seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - if (subPass.depthStencil < _colorAttachments.size()) { - const auto ds = _colorAttachments[subPass.depthStencil]; + if (subPass.depthStencil < info.colorAttachments.size()) { + const ColorAttachment &ds = info.colorAttachments[subPass.depthStencil]; seed ^= (uint)(ds.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ds.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } } } else { - for (const auto &colorAttachment : _colorAttachments) { + for (const ColorAttachment &colorAttachment : info.colorAttachments) { seed ^= (uint)(colorAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)colorAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - seed ^= (uint)(_depthStencilAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)_depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.depthStencilAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - return static_cast(seed); + return seed; } } // namespace gfx diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.h b/native/cocos/renderer/core/gfx/GFXRenderPass.h index 0d51c94ac0..7b1e3e2ade 100755 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.h +++ b/native/cocos/renderer/core/gfx/GFXRenderPass.h @@ -11,7 +11,8 @@ public: RenderPass(Device *device); virtual ~RenderPass(); -public: + static uint computeHash(const RenderPassInfo &info); + virtual bool initialize(const RenderPassInfo &info) = 0; virtual void destroy() = 0; @@ -22,7 +23,6 @@ public: CC_INLINE uint getHash() const { return _hash; } protected: - uint computeHash() const; Device *_device = nullptr; ColorAttachmentList _colorAttachments; diff --git a/native/cocos/renderer/core/gfx/GFXSampler.h b/native/cocos/renderer/core/gfx/GFXSampler.h index 0c32176e0a..eb4d2557b8 100755 --- a/native/cocos/renderer/core/gfx/GFXSampler.h +++ b/native/cocos/renderer/core/gfx/GFXSampler.h @@ -11,7 +11,6 @@ public: Sampler(Device *device); virtual ~Sampler(); -public: virtual bool initialize(const SamplerInfo &info) = 0; virtual void destroy() = 0; diff --git a/native/cocos/renderer/core/gfx/GFXShader.h b/native/cocos/renderer/core/gfx/GFXShader.h index c53a6d276f..1696c6fbae 100755 --- a/native/cocos/renderer/core/gfx/GFXShader.h +++ b/native/cocos/renderer/core/gfx/GFXShader.h @@ -11,7 +11,6 @@ public: Shader(Device *device); virtual ~Shader(); -public: virtual bool initialize(const ShaderInfo &info) = 0; virtual void destroy() = 0; diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp b/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp index f3a11fa336..5990bcbc75 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp @@ -12,5 +12,22 @@ TextureBarrier::TextureBarrier(Device *device) TextureBarrier::~TextureBarrier() { } +uint TextureBarrier::computeHash(const TextureBarrierInfo &info) { + uint seed = info.prevAccesses.size() + info.nextAccesses.size() + 3; + + for (const AccessType type : info.prevAccesses) { + seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + for (const AccessType type : info.nextAccesses) { + seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + + seed ^= info.discardContents + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.srcQueue + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.dstQueue + 0x9e3779b9 + (seed << 6) + (seed >> 2); + + return seed; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h index 859176d707..feebb25436 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h @@ -11,6 +11,8 @@ public: TextureBarrier(Device *device); virtual ~TextureBarrier(); + static uint computeHash(const TextureBarrierInfo &info); + CC_INLINE const TextureBarrierInfo &get() const { return _info; } protected: diff --git a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp index 3d9a7ed971..ea48176a6e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp @@ -44,7 +44,7 @@ bool GLES2RenderPass::initialize(const RenderPassInfo &info) { _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; - _hash = computeHash(); + _hash = computeHash(info); return true; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp index fc94a1fd6b..525eb1679f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp @@ -44,7 +44,7 @@ bool GLES3RenderPass::initialize(const RenderPassInfo &info) { _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; - _hash = computeHash(); + _hash = computeHash(info); return true; } diff --git a/native/cocos/renderer/gfx-metal/MTLRenderPass.mm b/native/cocos/renderer/gfx-metal/MTLRenderPass.mm index f6fc76a62d..b029b3fdad 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderPass.mm +++ b/native/cocos/renderer/gfx-metal/MTLRenderPass.mm @@ -52,7 +52,7 @@ bool CCMTLRenderPass::initialize(const RenderPassInfo &info) { _mtlRenderPassDescriptor.stencilAttachment.loadAction = mu::toMTLLoadAction(_depthStencilAttachment.stencilLoadOp); _mtlRenderPassDescriptor.stencilAttachment.storeAction = mu::toMTLStoreAction(_depthStencilAttachment.stencilStoreOp); - _hash = computeHash(); + _hash = computeHash(info); return true; } diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index 5c533c9da0..1e10ebb1bb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -48,7 +48,7 @@ bool CCVKRenderPass::initialize(const RenderPassInfo &info) { _gpuRenderPass->subPasses = _subPasses; CCVKCmdFuncCreateRenderPass((CCVKDevice *)_device, _gpuRenderPass); - _hash = computeHash(); + _hash = computeHash(info); return true; } From d9f00368cc4362cdf14665c53b053923c55fc3e0 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 25 Jan 2021 18:24:18 +0800 Subject: [PATCH 137/270] fix ios build --- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 7 +---- native/cocos/renderer/core/gfx/GFXQueue.h | 2 -- .../renderer/core/gfx/GFXTextureBarrier.cpp | 5 ++-- .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 28 +++++++++---------- .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 28 +++++++++---------- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 3 +- native/cocos/renderer/gfx-metal/MTLDevice.h | 6 ++-- native/cocos/renderer/gfx-metal/MTLDevice.mm | 13 +++++---- native/cocos/renderer/gfx-metal/MTLTexture.mm | 2 +- native/cocos/renderer/gfx-metal/MTLUtils.mm | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 4 ++- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 1 - 13 files changed, 49 insertions(+), 54 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 338ccf0a8b..6d2e108230 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -12,14 +12,9 @@ namespace gfx { class LinearAllocatorPool; class CommandBuffer; +class CommandBufferAgent; constexpr uint MAX_CPU_FRAME_AHEAD = 1u; -// one per CPU core -struct SubmitContext final { - MessageQueue * encoder{nullptr}; - CommandBuffer *commandBuffer{nullptr}; -}; - class CC_DLL DeviceAgent final : public Agent { public: using Agent::Agent; diff --git a/native/cocos/renderer/core/gfx/GFXQueue.h b/native/cocos/renderer/core/gfx/GFXQueue.h index 02be217825..b603b3caf8 100755 --- a/native/cocos/renderer/core/gfx/GFXQueue.h +++ b/native/cocos/renderer/core/gfx/GFXQueue.h @@ -19,14 +19,12 @@ public: CC_INLINE void submit(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), cmdBuffs.size()); } CC_INLINE Device *getDevice() const { return _device; } CC_INLINE QueueType getType() const { return _type; } - CC_INLINE bool isAsync() const { return _isAsync; } CC_INLINE void submitForJS(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), cmdBuffs.size()); } protected: Device *_device = nullptr; QueueType _type = QueueType::GRAPHICS; - bool _isAsync = false; }; } // namespace gfx diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp b/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp index 5990bcbc75..d3e61da35a 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp @@ -1,5 +1,6 @@ #include "CoreStd.h" +#include "GFXQueue.h" #include "GFXTextureBarrier.h" namespace cc { @@ -23,8 +24,8 @@ uint TextureBarrier::computeHash(const TextureBarrierInfo &info) { } seed ^= info.discardContents + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.srcQueue + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.dstQueue + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.srcQueue ? (uint)info.srcQueue->getType() : 0u) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.dstQueue ? (uint)info.dstQueue->getType() : 0u) + 0x9e3779b9 + (seed << 6) + (seed >> 2); return seed; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index 3a386e543a..c30d2716b6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -46,25 +46,23 @@ void GLES2Queue::destroy() { } void GLES2Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { - if (!_isAsync) { - for (uint i = 0; i < count; ++i) { - GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; + for (uint i = 0; i < count; ++i) { + GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; - if (!cmdBuff->_pendingPackages.empty()) { - GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + if (!cmdBuff->_pendingPackages.empty()) { + GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); - cmdBuff->_cmdAllocator->clearCmds(cmdPackage); - cmdBuff->_cmdAllocator->reset(); - } - - _numDrawCalls += cmdBuff->_numDrawCalls; - _numInstances += cmdBuff->_numInstances; - _numTriangles += cmdBuff->_numTriangles; + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); } + + _numDrawCalls += cmdBuff->_numDrawCalls; + _numInstances += cmdBuff->_numInstances; + _numTriangles += cmdBuff->_numTriangles; } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index fa9cf741aa..2f1dfac38e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -46,25 +46,23 @@ void GLES3Queue::destroy() { } void GLES3Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { - if (!_isAsync) { - for (uint i = 0; i < count; ++i) { - GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; + for (uint i = 0; i < count; ++i) { + GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; - if (!cmdBuff->_pendingPackages.empty()) { - GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); + if (!cmdBuff->_pendingPackages.empty()) { + GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); - cmdBuff->_pendingPackages.pop(); - cmdBuff->_freePackages.push(cmdPackage); - cmdBuff->_cmdAllocator->clearCmds(cmdPackage); - cmdBuff->_cmdAllocator->reset(); - } - - _numDrawCalls += cmdBuff->_numDrawCalls; - _numInstances += cmdBuff->_numInstances; - _numTriangles += cmdBuff->_numTriangles; + cmdBuff->_pendingPackages.pop(); + cmdBuff->_freePackages.push(cmdPackage); + cmdBuff->_cmdAllocator->clearCmds(cmdPackage); + cmdBuff->_cmdAllocator->reset(); } + + _numDrawCalls += cmdBuff->_numDrawCalls; + _numInstances += cmdBuff->_numInstances; + _numTriangles += cmdBuff->_numTriangles; } } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index d72f3f667b..cb533c5080 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -70,7 +70,7 @@ public: virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) override; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 6164e4d05c..f15c8e9994 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -28,7 +28,6 @@ THE SOFTWARE. #include "MTLCommands.h" #include "MTLDescriptorSet.h" #include "MTLDevice.h" -#include "MTLFence.h" #include "MTLFramebuffer.h" #include "MTLInputAssembler.h" #include "MTLPipelineState.h" @@ -516,7 +515,7 @@ void CCMTLCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, c void CCMTLCommandBuffer::dispatch(const DispatchInfo &info) { } -void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *textureBarriers, uint textureBarrierCount) { +void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { } } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 033b0b84df..725dc31755 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -38,7 +38,6 @@ public: ~CCMTLDevice() = default; using Device::createCommandBuffer; - using Device::createFence; using Device::createQueue; using Device::createBuffer; using Device::createTexture; @@ -52,6 +51,8 @@ public: using Device::createPipelineLayout; using Device::createPipelineState; using Device::copyBuffersToTexture; + using Device::createGlobalBarrier; + using Device::createTextureBarrier; virtual bool initialize(const DeviceInfo &info) override; virtual void destroy() override; @@ -77,7 +78,6 @@ public: protected: virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Fence *createFence() override; virtual Queue *createQueue() override; virtual Buffer *createBuffer() override; virtual Texture *createTexture() override; @@ -90,6 +90,8 @@ protected: virtual DescriptorSetLayout *createDescriptorSetLayout() override; virtual PipelineLayout *createPipelineLayout() override; virtual PipelineState *createPipelineState() override; + virtual GlobalBarrier *createGlobalBarrier() override; + virtual TextureBarrier *createTextureBarrier() override; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; private: diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index cef7e3d624..794b98b5d9 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -30,7 +30,6 @@ THE SOFTWARE. #include "MTLDescriptorSet.h" #include "MTLDescriptorSetLayout.h" #include "MTLDevice.h" -#include "MTLFence.h" #include "MTLFramebuffer.h" #include "MTLInputAssembler.h" #include "MTLPipelineLayout.h" @@ -265,10 +264,6 @@ void CCMTLDevice::disposeCurrentDrawable() { } } -Fence *CCMTLDevice::createFence() { - return CC_NEW(CCMTLFence(this)); -} - Queue *CCMTLDevice::createQueue() { return CC_NEW(CCMTLQueue(this)); } @@ -321,6 +316,14 @@ PipelineState *CCMTLDevice::createPipelineState() { return CC_NEW(CCMTLPipelineState(this)); } +GlobalBarrier *CCMTLDevice::createGlobalBarrier() { + return CC_NEW(GlobalBarrier(this)); +} + +TextureBarrier *CCMTLDevice::createTextureBarrier() { + return CC_NEW(TextureBarrier(this)); +} + void CCMTLDevice::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { // This assumes the default command buffer will get submitted every frame, // which is true for now but may change in the future. This appoach gives us diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.mm b/native/cocos/renderer/gfx-metal/MTLTexture.mm index 798dc2aca7..a2cf14eeba 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.mm +++ b/native/cocos/renderer/gfx-metal/MTLTexture.mm @@ -186,7 +186,7 @@ bool CCMTLTexture::createMTLTexture() { descriptor.textureType = mu::toMTLTextureType(_type); descriptor.sampleCount = mu::toMTLSampleCount(_samples); descriptor.mipmapLevelCount = _levelCount; - descriptor.arrayLength = _flags & TextureFlagBit::CUBEMAP ? 1 : _layerCount; + descriptor.arrayLength = _type == TextureType::CUBE ? 1 : _layerCount; if (_usage & TextureUsage::COLOR_ATTACHMENT || _usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT || _usage & TextureUsage::INPUT_ATTACHMENT || diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index 8e6d57c73a..3f5847170b 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -612,7 +612,7 @@ String compileGLSLShader2Msl(const String &src, Device *device, CCMTLGPUShader *gpuShader) { #if CC_USE_METAL - String shaderSource("#version 310 es\n"); + String shaderSource("#version 460\n"); shaderSource.append(src); const auto &spv = GLSL2SPIRV(shaderType, shaderSource); if (spv.size() == 0) diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 2d506c4ab5..0db9a7bfd2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -519,7 +519,9 @@ void CCVKDevice::acquire() { VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); - assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); +#if CC_PLATFORM != CC_PLATFORM_MAC_IOS && CC_PLATFORM != CC_PLATFORM_MAC_OSX + assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); // MoltenVK seems to be not consistent +#endif // CC_PLATFORM != CC_PLATFORM_MAC_IOS && CC_PLATFORM != CC_PLATFORM_MAC_OSX queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; queue->gpuQueue()->nextSignalSemaphore = _gpuSemaphorePool->alloc(); diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 08f9de4db6..8e90477018 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -40,7 +40,6 @@ CCVKQueue::~CCVKQueue() { bool CCVKQueue::initialize(const QueueInfo &info) { _type = info.type; - _isAsync = true; _gpuQueue = CC_NEW(CCVKGPUQueue); _gpuQueue->type = _type; From 9689c96ebc8aff531646bb6721a48f23511c763b Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 25 Jan 2021 18:51:16 +0800 Subject: [PATCH 138/270] GLES3: fix SSBO/FBO cache update --- .../renderer/gfx-gles3/GLES3Commands.cpp | 318 +++++++++--------- .../renderer/gfx-gles3/GLES3GPUObjects.h | 6 +- .../renderer/gfx-gles3/GLES3GlobalBarrier.cpp | 5 + 3 files changed, 174 insertions(+), 155 deletions(-) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 638d54a680..88759dff34 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -614,7 +614,7 @@ const GLenum GL_MEMORY_ACCESS[] = { } // namespace void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { - GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); + GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->usage & BufferUsageBit::VERTEX) { @@ -624,7 +624,7 @@ void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (USE_VAO) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -644,7 +644,7 @@ void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (USE_VAO) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -685,7 +685,7 @@ void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { gpuBuffer->glTarget = GL_NONE; } else if ((gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); gpuBuffer->glTarget = GL_NONE; } else { CCASSERT(false, "Unsupported BufferType, create buffer failed."); @@ -701,7 +701,7 @@ void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (USE_VAO) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -713,7 +713,7 @@ void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (USE_VAO) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -727,7 +727,7 @@ void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (ubo[i] == gpuBuffer->glBuffer) { GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, i, 0)); device->stateCache()->glUniformBuffer = 0; - ubo[i] = 0; + ubo[i] = 0; } } if (device->stateCache()->glUniformBuffer == gpuBuffer->glBuffer) { @@ -735,6 +735,20 @@ void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { device->stateCache()->glUniformBuffer = 0; } } + if (gpuBuffer->usage & BufferUsageBit::STORAGE) { + vector &ssbo = device->stateCache()->glBindSSBOs; + for (GLuint i = 0; i < ssbo.size(); i++) { + if (ssbo[i] == gpuBuffer->glBuffer) { + GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, i, 0)); + device->stateCache()->glShaderStorageBuffer = 0; + ssbo[i] = 0; + } + } + if (device->stateCache()->glShaderStorageBuffer == gpuBuffer->glBuffer) { + GL_CHECK(glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0)); + device->stateCache()->glShaderStorageBuffer = 0; + } + } GL_CHECK(glDeleteBuffers(1, &gpuBuffer->glBuffer)); gpuBuffer->glBuffer = 0; } @@ -752,7 +766,7 @@ void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (USE_VAO) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -771,7 +785,7 @@ void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (USE_VAO) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -803,7 +817,7 @@ void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (gpuBuffer->buffer) { CC_FREE(gpuBuffer->buffer); } - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); gpuBuffer->glTarget = GL_NONE; } else { CCASSERT(false, "Unsupported BufferType, resize buffer failed."); @@ -813,8 +827,8 @@ void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { gpuTexture->glInternelFmt = MapGLInternalFormat(gpuTexture->format); - gpuTexture->glFormat = MapGLFormat(gpuTexture->format); - gpuTexture->glType = FormatToGLType(gpuTexture->format); + gpuTexture->glFormat = MapGLFormat(gpuTexture->format); + gpuTexture->glType = FormatToGLType(gpuTexture->format); switch (gpuTexture->type) { case TextureType::TEX2D: { @@ -907,8 +921,8 @@ void GLES3CmdFuncDestroyTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture void GLES3CmdFuncResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { gpuTexture->glInternelFmt = MapGLInternalFormat(gpuTexture->format); - gpuTexture->glFormat = MapGLFormat(gpuTexture->format); - gpuTexture->glType = FormatToGLType(gpuTexture->format); + gpuTexture->glFormat = MapGLFormat(gpuTexture->format); + gpuTexture->glType = FormatToGLType(gpuTexture->format); switch (gpuTexture->type) { case TextureType::TEX2D: { @@ -1030,27 +1044,27 @@ void GLES3CmdFuncDestroySampler(GLES3Device *device, GLES3GPUSampler *gpuSampler void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GLenum glShaderStage = 0; String shaderStageStr; - GLint status; + GLint status; for (size_t i = 0; i < gpuShader->gpuStages.size(); ++i) { GLES3GPUShaderStage &gpuStage = gpuShader->gpuStages[i]; - uint version = 300; + uint version = 300; switch (gpuStage.type) { case ShaderStageFlagBit::VERTEX: { - glShaderStage = GL_VERTEX_SHADER; + glShaderStage = GL_VERTEX_SHADER; shaderStageStr = "Vertex Shader"; break; } case ShaderStageFlagBit::FRAGMENT: { - glShaderStage = GL_FRAGMENT_SHADER; + glShaderStage = GL_FRAGMENT_SHADER; shaderStageStr = "Fragment Shader"; break; } case ShaderStageFlagBit::COMPUTE: { - glShaderStage = GL_COMPUTE_SHADER; + glShaderStage = GL_COMPUTE_SHADER; shaderStageStr = "Compute Shader"; - version = 310; + version = 310; break; } default: { @@ -1060,8 +1074,8 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } GL_CHECK(gpuStage.glShader = glCreateShader(glShaderStage)); - String shaderSource = StringUtil::Format("#version %u es\n%s", version, gpuStage.source.c_str()); - const char *source = shaderSource.c_str(); + String shaderSource = StringUtil::Format("#version %u es\n%s", version, gpuStage.source.c_str()); + const char *source = shaderSource.c_str(); GL_CHECK(glShaderSource(gpuStage.glShader, 1, (const GLchar **)&source, nullptr)); GL_CHECK(glCompileShader(gpuStage.glShader)); @@ -1123,14 +1137,14 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { CC_LOG_INFO("Shader '%s' compilation succeeded.", gpuShader->name.c_str()); GLint attrMaxLength = 0; - GLint attrCount = 0; + GLint attrCount = 0; GL_CHECK(glGetProgramiv(gpuShader->glProgram, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &attrMaxLength)); GL_CHECK(glGetProgramiv(gpuShader->glProgram, GL_ACTIVE_ATTRIBUTES, &attrCount)); - GLchar glName[256]; + GLchar glName[256]; GLsizei glLength; GLsizei glSize; - GLenum glType; + GLenum glType; gpuShader->glInputs.resize(attrCount); for (GLint i = 0; i < attrCount; ++i) { @@ -1145,11 +1159,11 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(gpuInput.glLoc = glGetAttribLocation(gpuShader->glProgram, glName)); gpuInput.binding = gpuInput.glLoc; - gpuInput.name = glName; - gpuInput.type = MapType(glType); - gpuInput.count = glSize; - gpuInput.size = gpuInput.stride * gpuInput.count; - gpuInput.glType = glType; + gpuInput.name = glName; + gpuInput.type = MapType(glType); + gpuInput.count = glSize; + gpuInput.size = gpuInput.stride * gpuInput.count; + gpuInput.glType = glType; } // create buffers @@ -1173,14 +1187,14 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { glName[offset - glName] = '\0'; } - glBlock.name = glName; - glBlock.set = GFX_INVALID_BINDING; + glBlock.name = glName; + glBlock.set = GFX_INVALID_BINDING; glBlock.binding = GFX_INVALID_BINDING; for (size_t b = 0; b < gpuShader->blocks.size(); ++b) { UniformBlock &block = gpuShader->blocks[b]; if (block.name == glBlock.name) { - glBlock.set = block.set; - glBlock.binding = block.binding; + glBlock.set = block.set; + glBlock.binding = block.binding; glBlock.glBinding = block.binding + device->bindingMappingInfo().bufferOffsets[block.set]; GL_CHECK(glUniformBlockBinding(gpuShader->glProgram, i, glBlock.glBinding)); break; @@ -1198,14 +1212,14 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { glName[offset - glName] = '\0'; } - glBuffer.name = glName; - glBuffer.set = GFX_INVALID_BINDING; - glBuffer.binding = GFX_INVALID_BINDING; + glBuffer.name = glName; + glBuffer.set = GFX_INVALID_BINDING; + glBuffer.binding = GFX_INVALID_BINDING; glBuffer.isStorage = true; for (size_t b = 0; b < gpuShader->blocks.size(); ++b) { UniformStorageBuffer &buffer = gpuShader->buffers[b]; if (buffer.name == glBuffer.name) { - glBuffer.set = buffer.set; + glBuffer.set = buffer.set; glBuffer.binding = buffer.binding; // no way to specify SSBO bindings here until 4.3 core @@ -1221,23 +1235,23 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { gpuShader->glSamplerTextures.resize(gpuShader->samplerTextures.size()); for (size_t i = 0; i < gpuShader->glSamplerTextures.size(); ++i) { - UniformSamplerTexture &samplerTexture = gpuShader->samplerTextures[i]; + UniformSamplerTexture & samplerTexture = gpuShader->samplerTextures[i]; GLES3GPUUniformSamplerTexture &gpuSamplerTexture = gpuShader->glSamplerTextures[i]; - gpuSamplerTexture.set = samplerTexture.set; - gpuSamplerTexture.binding = samplerTexture.binding; - gpuSamplerTexture.name = samplerTexture.name; - gpuSamplerTexture.type = samplerTexture.type; - gpuSamplerTexture.count = samplerTexture.count; - gpuSamplerTexture.glType = MapGLType(gpuSamplerTexture.type); - gpuSamplerTexture.glLoc = -1; + gpuSamplerTexture.set = samplerTexture.set; + gpuSamplerTexture.binding = samplerTexture.binding; + gpuSamplerTexture.name = samplerTexture.name; + gpuSamplerTexture.type = samplerTexture.type; + gpuSamplerTexture.count = samplerTexture.count; + gpuSamplerTexture.glType = MapGLType(gpuSamplerTexture.type); + gpuSamplerTexture.glLoc = -1; } } // texture unit index mapping optimization vector glActiveSamplerTextures; - vector glActiveSamplerLocations; - const BindingMappingInfo &bindingMappingInfo = device->bindingMappingInfo(); - unordered_map &texUnitCacheMap = device->stateCache()->texUnitCacheMap; + vector glActiveSamplerLocations; + const BindingMappingInfo & bindingMappingInfo = device->bindingMappingInfo(); + unordered_map & texUnitCacheMap = device->stateCache()->texUnitCacheMap; // sampler bindings in the flexible set comes strictly after buffer bindings // so we need to subtract the buffer count for these samplers @@ -1252,7 +1266,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { for (uint i = 0u; i < gpuShader->samplerTextures.size(); i++) { const UniformSamplerTexture &samplerTexture = gpuShader->samplerTextures[i]; - GLint glLoc = -1; + GLint glLoc = -1; GL_CHECK(glLoc = glGetUniformLocation(gpuShader->glProgram, samplerTexture.name.c_str())); if (glLoc >= 0) { glActiveSamplerTextures.push_back(gpuShader->glSamplerTextures[i]); @@ -1322,15 +1336,15 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { if (gpuShader->images.size()) { for (size_t i = 0; i < gpuShader->images.size(); ++i) { UniformStorageImage &image = gpuShader->images[i]; - GLint glLoc = -1; + GLint glLoc = -1; GL_CHECK(glLoc = glGetUniformLocation(gpuShader->glProgram, image.name.c_str())); if (glLoc >= 0) { GLES3GPUUniformStorageImage gpuImage; - gpuImage.set = image.set; - gpuImage.binding = image.binding; - gpuImage.name = image.name; - gpuImage.type = image.type; - gpuImage.count = image.count; + gpuImage.set = image.set; + gpuImage.binding = image.binding; + gpuImage.name = image.name; + gpuImage.type = image.type; + gpuImage.count = image.count; gpuImage.glMemoryAccess = GL_MEMORY_ACCESS[(uint)image.memoryAccess]; gpuImage.units.resize(gpuImage.count); gpuImage.glLoc = glLoc; @@ -1348,7 +1362,7 @@ void GLES3CmdFuncDestroyShader(GLES3Device *device, GLES3GPUShader *gpuShader) { if (device->stateCache()->glProgram == gpuShader->glProgram) { GL_CHECK(glUseProgram(0)); device->stateCache()->glProgram = 0; - gfxStateCache.gpuPipelineState = nullptr; + gfxStateCache.gpuPipelineState = nullptr; } GL_CHECK(glDeleteProgram(gpuShader->glProgram)); gpuShader->glProgram = 0; @@ -1373,21 +1387,21 @@ void GLES3CmdFuncCreateInputAssembler(GLES3Device *device, GLES3GPUInputAssemble gpuInputAssembler->glAttribs.resize(gpuInputAssembler->attributes.size()); for (size_t i = 0; i < gpuInputAssembler->glAttribs.size(); ++i) { GLES3GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[i]; - const Attribute &attrib = gpuInputAssembler->attributes[i]; - GLES3GPUBuffer *gpuVB = (GLES3GPUBuffer *)gpuInputAssembler->gpuVertexBuffers[attrib.stream]; + const Attribute & attrib = gpuInputAssembler->attributes[i]; + GLES3GPUBuffer * gpuVB = (GLES3GPUBuffer *)gpuInputAssembler->gpuVertexBuffers[attrib.stream]; - gpuAttribute.name = attrib.name; - gpuAttribute.glType = FormatToGLType(attrib.format); - gpuAttribute.size = GFX_FORMAT_INFOS[(int)attrib.format].size; - gpuAttribute.count = GFX_FORMAT_INFOS[(int)attrib.format].count; + gpuAttribute.name = attrib.name; + gpuAttribute.glType = FormatToGLType(attrib.format); + gpuAttribute.size = GFX_FORMAT_INFOS[(int)attrib.format].size; + gpuAttribute.count = GFX_FORMAT_INFOS[(int)attrib.format].count; gpuAttribute.componentCount = GLComponentCount(gpuAttribute.glType); - gpuAttribute.isNormalized = attrib.isNormalized; - gpuAttribute.isInstanced = attrib.isInstanced; - gpuAttribute.offset = streamOffsets[attrib.stream]; + gpuAttribute.isNormalized = attrib.isNormalized; + gpuAttribute.isInstanced = attrib.isInstanced; + gpuAttribute.offset = streamOffsets[attrib.stream]; if (gpuVB) { gpuAttribute.glBuffer = gpuVB->glBuffer; - gpuAttribute.stride = gpuVB->stride; + gpuAttribute.stride = gpuVB->stride; } streamOffsets[attrib.stream] += gpuAttribute.size; } @@ -1398,7 +1412,7 @@ void GLES3CmdFuncDestroyInputAssembler(GLES3Device *device, GLES3GPUInputAssembl for (auto it = gpuInputAssembler->glVAOs.begin(); it != gpuInputAssembler->glVAOs.end(); ++it) { if (device->stateCache()->glVAO == it->second) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } GL_CHECK(glDeleteVertexArrays(1, &it->second)); @@ -1407,8 +1421,8 @@ void GLES3CmdFuncDestroyInputAssembler(GLES3Device *device, GLES3GPUInputAssembl } void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO) { - size_t colorViewCount = gpuFBO->gpuColorTextures.size(); - uint swapchainImageIndices = 0; + size_t colorViewCount = gpuFBO->gpuColorTextures.size(); + uint swapchainImageIndices = 0; for (size_t i = 0; i < colorViewCount; ++i) { if (!gpuFBO->gpuColorTextures[i]) { swapchainImageIndices |= (1 << i); @@ -1428,7 +1442,7 @@ void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu } GLenum attachments[GFX_MAX_ATTACHMENTS] = {0}; - uint attachmentCount = 0; + uint attachmentCount = 0; size_t colorMipmapLevelCount = gpuFBO->colorMipmapLevels.size(); for (size_t i = 0; i < gpuFBO->gpuColorTextures.size(); ++i) { @@ -1446,7 +1460,7 @@ void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu if (gpuFBO->gpuDepthStencilTexture) { GLES3GPUTexture *gpuDepthStencilTexture = gpuFBO->gpuDepthStencilTexture; - const GLenum glAttachment = GFX_FORMAT_INFOS[(int)gpuDepthStencilTexture->format].hasStencil ? GL_DEPTH_STENCIL_ATTACHMENT : GL_DEPTH_ATTACHMENT; + const GLenum glAttachment = GFX_FORMAT_INFOS[(int)gpuDepthStencilTexture->format].hasStencil ? GL_DEPTH_STENCIL_ATTACHMENT : GL_DEPTH_ATTACHMENT; GL_CHECK(glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, glAttachment, gpuDepthStencilTexture->glTarget, gpuDepthStencilTexture->glTexture, gpuFBO->depthStencilMipmapLevel)); } @@ -1497,9 +1511,9 @@ void GLES3CmdFuncDestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gp void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRenderPass, GLES3GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - gfxStateCache.gpuRenderPass = gpuRenderPass; - gfxStateCache.gpuFramebuffer = gpuFramebuffer; - gfxStateCache.numClearColors = numClearColors; + gfxStateCache.gpuRenderPass = gpuRenderPass; + gfxStateCache.gpuFramebuffer = gpuFramebuffer; + gfxStateCache.numClearColors = numClearColors; GLenum *invalidAttachments = gfxStateCache.invalidAttachments; @@ -1518,9 +1532,9 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen cache->viewport.width != renderArea.width || cache->viewport.height != renderArea.height) { GL_CHECK(glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); - cache->viewport.left = renderArea.x; - cache->viewport.top = renderArea.y; - cache->viewport.width = renderArea.width; + cache->viewport.left = renderArea.x; + cache->viewport.top = renderArea.y; + cache->viewport.width = renderArea.width; cache->viewport.height = renderArea.height; } @@ -1529,14 +1543,14 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen cache->scissor.width != renderArea.width || cache->scissor.height != renderArea.height) { GL_CHECK(glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); - cache->scissor.x = renderArea.x; - cache->scissor.y = renderArea.y; - cache->scissor.width = renderArea.width; + cache->scissor.x = renderArea.x; + cache->scissor.y = renderArea.y; + cache->scissor.width = renderArea.width; cache->scissor.height = renderArea.height; } - GLbitfield glClears = 0; - uint numAttachments = 0; + GLbitfield glClears = 0; + uint numAttachments = 0; for (uint j = 0; j < numClearColors; ++j) { const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; @@ -1653,11 +1667,11 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } void GLES3CmdFuncEndRenderPass(GLES3Device *device) { - GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - size_t numClearColors = gfxStateCache.numClearColors; - GLES3GPURenderPass *gpuRenderPass = gfxStateCache.gpuRenderPass; - GLES3GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; - GLenum *invalidAttachments = gfxStateCache.invalidAttachments; + GLES3ObjectCache & gfxStateCache = device->stateCache()->gfxStateCache; + size_t numClearColors = gfxStateCache.numClearColors; + GLES3GPURenderPass * gpuRenderPass = gfxStateCache.gpuRenderPass; + GLES3GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; + GLenum * invalidAttachments = gfxStateCache.invalidAttachments; uint numAttachments = 0; for (uint j = 0; j < numClearColors; ++j) { @@ -1713,18 +1727,18 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3StencilWriteMask &stencilWriteMask, GLES3StencilCompareMask &stencilCompareMask) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLES3GPUStateCache *cache = device->stateCache(); - bool isShaderChanged = false; + GLES3GPUStateCache *cache = device->stateCache(); + bool isShaderChanged = false; if (gpuPipelineState && gpuPipelineState != gfxStateCache.gpuPipelineState) { gfxStateCache.gpuPipelineState = gpuPipelineState; - gfxStateCache.glPrimitive = gpuPipelineState->glPrimitive; + gfxStateCache.glPrimitive = gpuPipelineState->glPrimitive; if (gpuPipelineState->gpuShader) { if (cache->glProgram != gpuPipelineState->gpuShader->glProgram) { GL_CHECK(glUseProgram(gpuPipelineState->gpuShader->glProgram)); cache->glProgram = gpuPipelineState->gpuShader->glProgram; - isShaderChanged = true; + isShaderChanged = true; } } @@ -1808,8 +1822,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], gpuPipelineState->dss.stencilRefFront, gpuPipelineState->dss.stencilReadMaskFront)); - cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; - cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; + cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; + cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; cache->dss.stencilReadMaskFront = gpuPipelineState->dss.stencilReadMaskFront; } if (cache->dss.stencilFailOpFront != gpuPipelineState->dss.stencilFailOpFront || @@ -1819,9 +1833,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront])); - cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; + cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; cache->dss.stencilZFailOpFront = gpuPipelineState->dss.stencilZFailOpFront; - cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; + cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; } if (cache->dss.stencilWriteMaskFront != gpuPipelineState->dss.stencilWriteMaskFront) { GL_CHECK(glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront)); @@ -1836,8 +1850,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], gpuPipelineState->dss.stencilRefBack, gpuPipelineState->dss.stencilReadMaskBack)); - cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; - cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; + cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; + cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; } if (cache->dss.stencilFailOpBack != gpuPipelineState->dss.stencilFailOpBack || @@ -1847,9 +1861,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], GLES3_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack])); - cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; + cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; - cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; + cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; } if (cache->dss.stencilWriteMaskBack != gpuPipelineState->dss.stencilWriteMaskBack) { GL_CHECK(glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack)); @@ -1877,8 +1891,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->bs.blendColor = gpuPipelineState->bs.blendColor; } - BlendTarget &cacheTarget = cache->bs.targets[0]; - const BlendTarget &target = gpuPipelineState->bs.targets[0]; + BlendTarget & cacheTarget = cache->bs.targets[0]; + const BlendTarget &target = gpuPipelineState->bs.targets[0]; if (cacheTarget.blend != target.blend) { if (!cacheTarget.blend) { GL_CHECK(glEnable(GL_BLEND)); @@ -1891,7 +1905,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cacheTarget.blendAlphaEq != target.blendAlphaEq) { GL_CHECK(glBlendEquationSeparate(GLES3_BLEND_OPS[(int)target.blendEq], GLES3_BLEND_OPS[(int)target.blendAlphaEq])); - cacheTarget.blendEq = target.blendEq; + cacheTarget.blendEq = target.blendEq; cacheTarget.blendAlphaEq = target.blendAlphaEq; } if (cacheTarget.blendSrc != target.blendSrc || @@ -1902,8 +1916,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3_BLEND_FACTORS[(int)target.blendDst], GLES3_BLEND_FACTORS[(int)target.blendSrcAlpha], GLES3_BLEND_FACTORS[(int)target.blendDstAlpha])); - cacheTarget.blendSrc = target.blendSrc; - cacheTarget.blendDst = target.blendDst; + cacheTarget.blendSrc = target.blendSrc; + cacheTarget.blendDst = target.blendDst; cacheTarget.blendSrcAlpha = target.blendSrcAlpha; cacheTarget.blendDstAlpha = target.blendDstAlpha; } @@ -1927,8 +1941,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli CCASSERT(gpuDescriptorSets.size() > glBuffer.set, "Invalid set index"); const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glBuffer.set]; - const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glBuffer.binding); - const GLES3GPUDescriptor &gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glBuffer.binding); + const GLES3GPUDescriptor & gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; if (!gpuDescriptor.gpuBuffer) { CC_LOG_ERROR("Buffer binding '%s' at set %d binding %d is not bounded", @@ -1939,7 +1953,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli uint offset = gpuDescriptor.gpuBuffer->glOffset; const vector &dynamicOffsetSetIndices = dynamicOffsetIndices[glBuffer.set]; - int dynamicOffsetIndex = glBuffer.binding < dynamicOffsetSetIndices.size() ? dynamicOffsetSetIndices[glBuffer.binding] : -1; + int dynamicOffsetIndex = glBuffer.binding < dynamicOffsetSetIndices.size() ? dynamicOffsetSetIndices[glBuffer.binding] : -1; if (dynamicOffsetIndex >= 0) offset += dynamicOffsets[dynamicOffsetIndex]; if (glBuffer.isStorage) { @@ -1952,7 +1966,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GL_CHECK(glBindBufferBase(GL_SHADER_STORAGE_BUFFER, glBuffer.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); } cache->glShaderStorageBuffer = cache->glBindSSBOs[glBuffer.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; - cache->glBindSSBOOffsets[glBuffer.glBinding] = offset; + cache->glBindSSBOOffsets[glBuffer.glBinding] = offset; } } else { if (cache->glBindUBOs[glBuffer.glBinding] != gpuDescriptor.gpuBuffer->glBuffer || @@ -1964,7 +1978,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GL_CHECK(glBindBufferBase(GL_UNIFORM_BUFFER, glBuffer.glBinding, gpuDescriptor.gpuBuffer->glBuffer)); } cache->glUniformBuffer = cache->glBindUBOs[glBuffer.glBinding] = gpuDescriptor.gpuBuffer->glBuffer; - cache->glBindUBOOffsets[glBuffer.glBinding] = offset; + cache->glBindUBOOffsets[glBuffer.glBinding] = offset; } } } @@ -1975,8 +1989,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli CCASSERT(gpuDescriptorSets.size() > glSamplerTexture.set, "Invalid set index"); const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glSamplerTexture.set]; - const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSamplerTexture.binding); - const GLES3GPUDescriptor *gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSamplerTexture.binding); + const GLES3GPUDescriptor * gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; for (size_t u = 0; u < glSamplerTexture.units.size(); u++, gpuDescriptor++) { uint unit = (uint)glSamplerTexture.units[u]; @@ -2013,8 +2027,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli CCASSERT(gpuDescriptorSets.size() > glImage.set, "Invalid set index"); const GLES3GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glImage.set]; - const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glImage.binding); - const GLES3GPUDescriptor *gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glImage.binding); + const GLES3GPUDescriptor * gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; for (size_t u = 0; u < glImage.units.size(); u++, gpuDescriptor++) { uint unit = (uint)glImage.units[u]; @@ -2041,7 +2055,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { gfxStateCache.gpuInputAssembler = gpuInputAssembler; if (USE_VAO) { - GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); + GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); GLuint glVAO = gpuInputAssembler->glVAOs[hash]; if (!glVAO) { GL_CHECK(glGenVertexArrays(1, &glVAO)); @@ -2058,8 +2072,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, gpuAttribute.glBuffer)); for (uint c = 0; c < gpuAttribute.componentCount; ++c) { - GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; + GLint glLoc = gpuInput.glLoc + c; + uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; GL_CHECK(glEnableVertexAttribArray(glLoc)); cache->glEnabledAttribLocs[glLoc] = true; @@ -2078,8 +2092,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GL_CHECK(glBindVertexArray(0)); GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); - cache->glVAO = 0; - cache->glArrayBuffer = 0; + cache->glVAO = 0; + cache->glArrayBuffer = 0; cache->glElementArrayBuffer = 0; } @@ -2103,8 +2117,8 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } for (uint c = 0; c < gpuAttribute.componentCount; ++c) { - GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; + GLint glLoc = gpuInput.glLoc + c; + uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; GL_CHECK(glEnableVertexAttribArray(glLoc)); cache->glCurrentAttribLocs[glLoc] = true; cache->glEnabledAttribLocs[glLoc] = true; @@ -2165,7 +2179,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli if ((cache->rs.depthBias != depthBias.constant) || (cache->rs.depthBiasSlop != depthBias.slope)) { GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); - cache->rs.depthBias = depthBias.constant; + cache->rs.depthBias = depthBias.constant; cache->rs.depthBiasSlop = depthBias.slope; } break; @@ -2200,7 +2214,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli (cache->dss.stencilWriteMaskBack != stencilWriteMask.writeMask)) { GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; - cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; + cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } break; } @@ -2214,7 +2228,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], stencilCompareMask.refrence, stencilCompareMask.compareMask)); - cache->dss.stencilRefFront = stencilCompareMask.refrence; + cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; } break; @@ -2225,7 +2239,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], stencilCompareMask.refrence, stencilCompareMask.compareMask)); - cache->dss.stencilRefBack = stencilCompareMask.refrence; + cache->dss.stencilRefBack = stencilCompareMask.refrence; cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } break; @@ -2242,10 +2256,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], stencilCompareMask.refrence, stencilCompareMask.compareMask)); - cache->dss.stencilRefFront = stencilCompareMask.refrence; + cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; - cache->dss.stencilRefBack = stencilCompareMask.refrence; - cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; + cache->dss.stencilRefBack = stencilCompareMask.refrence; + cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } break; } @@ -2259,10 +2273,10 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { - GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLES3GPUPipelineState *gpuPipelineState = gfxStateCache.gpuPipelineState; + GLES3ObjectCache & gfxStateCache = device->stateCache()->gfxStateCache; + GLES3GPUPipelineState * gpuPipelineState = gfxStateCache.gpuPipelineState; GLES3GPUInputAssembler *gpuInputAssembler = gfxStateCache.gpuInputAssembler; - GLenum glPrimitive = gfxStateCache.glPrimitive; + GLenum glPrimitive = gfxStateCache.glPrimitive; if (gpuInputAssembler && gpuPipelineState) { if (!gpuInputAssembler->gpuIndirectBuffer) { @@ -2337,7 +2351,7 @@ void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, co case GL_ARRAY_BUFFER: { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } if (device->stateCache()->glArrayBuffer != gpuBuffer->glBuffer) { @@ -2350,7 +2364,7 @@ void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, co case GL_ELEMENT_ARRAY_BUFFER: { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } if (device->stateCache()->glElementArrayBuffer != gpuBuffer->glBuffer) { @@ -2391,7 +2405,7 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const } bool isCompressed = GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed; - uint n = 0; + uint n = 0; switch (gpuTexture->glTarget) { case GL_TEXTURE_2D: { @@ -2399,9 +2413,9 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const uint h; for (size_t i = 0; i < count; ++i) { const BufferTextureCopy ®ion = regions[i]; - w = region.texExtent.width; - h = region.texExtent.height; - const uint8_t *buff = buffers[n++]; + w = region.texExtent.width; + h = region.texExtent.height; + const uint8_t *buff = buffers[n++]; if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_2D, @@ -2429,13 +2443,13 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const uint w; uint h; for (size_t i = 0; i < count; ++i) { - const BufferTextureCopy ®ion = regions[i]; - uint d = region.texSubres.layerCount; - uint layerCount = d + region.texSubres.baseArrayLayer; + const BufferTextureCopy ®ion = regions[i]; + uint d = region.texSubres.layerCount; + uint layerCount = d + region.texSubres.baseArrayLayer; for (uint z = region.texSubres.baseArrayLayer; z < layerCount; ++z) { - w = region.texExtent.width; - h = region.texExtent.height; + w = region.texExtent.width; + h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); @@ -2469,10 +2483,10 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const uint d; for (size_t i = 0; i < count; ++i) { const BufferTextureCopy ®ion = regions[i]; - w = region.texExtent.width; - h = region.texExtent.height; - d = region.texExtent.depth; - const uint8_t *buff = buffers[n++]; + w = region.texExtent.width; + h = region.texExtent.height; + d = region.texExtent.depth; + const uint8_t *buff = buffers[n++]; if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3D(GL_TEXTURE_3D, @@ -2503,11 +2517,11 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const uint h; uint f; for (size_t i = 0; i < count; ++i) { - const BufferTextureCopy ®ion = regions[i]; - uint faceCount = region.texSubres.baseArrayLayer + region.texSubres.layerCount; + const BufferTextureCopy ®ion = regions[i]; + uint faceCount = region.texSubres.baseArrayLayer + region.texSubres.layerCount; for (f = region.texSubres.baseArrayLayer; f < faceCount; ++f) { - w = region.texExtent.width; - h = region.texExtent.height; + w = region.texExtent.width; + h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); @@ -2548,7 +2562,7 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc, GLES3GPUTexture *gpuTextureDst, const TextureBlit *regions, uint count, Filter filter) { GLES3GPUStateCache *cache = device->stateCache(); - GLbitfield mask = 0u; + GLbitfield mask = 0u; const FormatInfo &info = GFX_FORMAT_INFOS[(uint)gpuTextureSrc->format]; if (info.hasDepth || info.hasStencil) { if (info.hasDepth) mask |= GL_DEPTH_BUFFER_BIT; @@ -2597,7 +2611,7 @@ void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { GLES3CmdType cmdType = cmdPackage->cmds[i]; - uint &cmdIdx = cmdIndices[(int)cmdType]; + uint & cmdIdx = cmdIndices[(int)cmdType]; switch (cmdType) { case GLES3CmdType::BEGIN_RENDER_PASS: { diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 9deede5cf3..0c6d5f63d6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -422,9 +422,9 @@ public: for (GLuint glFramebuffer : _map[gpuTexture->glTexture]) { if (!glFramebuffer) continue; - if (_cache->glDrawFramebuffer == glFramebuffer) { - GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0)); - _cache->glDrawFramebuffer = 0; + if (_cache->glDrawFramebuffer == glFramebuffer || _cache->glReadFramebuffer == glFramebuffer) { + GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, 0)); + _cache->glDrawFramebuffer = _cache->glReadFramebuffer = 0; } GL_CHECK(glDeleteFramebuffers(1, &glFramebuffer)); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp index 9f97791439..1832c9a304 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp @@ -69,6 +69,9 @@ bool GLES3GlobalBarrier::initialize(const GlobalBarrierInfo &info) { _gpuBarrier->glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; break; case AccessType::TRANSFER_READ: + _gpuBarrier->glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; + _gpuBarrier->glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; + _gpuBarrier->glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; _gpuBarrier->glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; break; case AccessType::COMPUTE_SHADER_WRITE: @@ -82,8 +85,10 @@ bool GLES3GlobalBarrier::initialize(const GlobalBarrierInfo &info) { _gpuBarrier->glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; break; case AccessType::TRANSFER_WRITE: + _gpuBarrier->glBarriersByRegion |= GL_FRAMEBUFFER_BARRIER_BIT; _gpuBarrier->glBarriers |= GL_TEXTURE_UPDATE_BARRIER_BIT; _gpuBarrier->glBarriers |= GL_BUFFER_UPDATE_BARRIER_BIT; + _gpuBarrier->glBarriers |= GL_PIXEL_BUFFER_BARRIER_BIT; break; case AccessType::HOST_PREINITIALIZED: case AccessType::HOST_WRITE: From ba9587bb47313bf200ebc296a203358c27cd89af Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Tue, 26 Jan 2021 16:05:38 +0800 Subject: [PATCH 139/270] Remove the dependency of planar shadow on forward pipeline. (#3248) --- native/cocos/renderer/pipeline/PlanarShadowQueue.cpp | 3 +-- native/cocos/renderer/pipeline/PlanarShadowQueue.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index 1efda94e7f..d0d93ee1d2 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -33,7 +33,6 @@ THE SOFTWARE. #include "RenderInstancedQueue.h" #include "gfx/GFXCommandBuffer.h" #include "helper/SharedMemory.h" -#include "forward/ForwardPipeline.h" #include "gfx/GFXDescriptorSet.h" #include "gfx/GFXDevice.h" #include "gfx/GFXShader.h" @@ -42,7 +41,7 @@ namespace cc { namespace pipeline { PlanarShadowQueue::PlanarShadowQueue(RenderPipeline *pipeline) -:_pipeline(static_cast(pipeline)){ +:_pipeline(pipeline){ _instancedQueue = CC_NEW(RenderInstancedQueue); } diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.h b/native/cocos/renderer/pipeline/PlanarShadowQueue.h index d5a039f2ce..0c13faf36d 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.h +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.h @@ -33,7 +33,6 @@ class Shader; } // namespace gfx namespace pipeline { class RenderPipeline; -class ForwardPipeline; struct ModelView; struct SubModelView; struct PassView; @@ -61,7 +60,7 @@ public: void destroy(); private: - ForwardPipeline *_pipeline = nullptr; + RenderPipeline *_pipeline = nullptr; RenderInstancedQueue *_instancedQueue = nullptr; std::vector _pendingModels; }; From 6ebd9a1985fd31901311f6bceaec7a69dc00aaff Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 26 Jan 2021 16:57:31 +0800 Subject: [PATCH 140/270] misc fixes --- .../core/gfx-agent/GFXRenderPassAgent.cpp | 4 +- native/cocos/renderer/core/gfx/GFXDef.cpp | 28 -------- native/cocos/renderer/core/gfx/GFXDef.h | 54 ++++------------ .../cocos/renderer/core/gfx/GFXRenderPass.cpp | 26 ++++---- .../cocos/renderer/core/gfx/GFXRenderPass.h | 7 +- .../renderer/gfx-gles2/GLES2RenderPass.cpp | 2 +- .../renderer/gfx-gles3/GLES3RenderPass.cpp | 2 +- .../cocos/renderer/gfx-metal/MTLRenderPass.mm | 2 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 64 +++++++++++++++---- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 38 ++++++----- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 41 +++++++----- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 23 +++++-- .../renderer/gfx-vulkan/VKRenderPass.cpp | 6 +- 14 files changed, 153 insertions(+), 146 deletions(-) diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp index 38b4a148d0..e344e61406 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp @@ -21,8 +21,8 @@ bool RenderPassAgent::initialize(const RenderPassInfo &info) { _colorAttachments = info.colorAttachments; _depthStencilAttachment = info.depthStencilAttachment; - _subPasses = info.subPasses; - _hash = computeHash(info); + _subpasses = info.subpasses; + _hash = computeHash(); ENQUEUE_MESSAGE_2( ((DeviceAgent *)_device)->getMessageQueue(), diff --git a/native/cocos/renderer/core/gfx/GFXDef.cpp b/native/cocos/renderer/core/gfx/GFXDef.cpp index 799e51afc8..1f576e4d91 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.cpp +++ b/native/cocos/renderer/core/gfx/GFXDef.cpp @@ -10,34 +10,6 @@ const DescriptorType DESCRIPTOR_BUFFER_TYPE = DescriptorType::STORAGE_BUFFER | D const DescriptorType DESCRIPTOR_TEXTURE_TYPE = DescriptorType::SAMPLER_TEXTURE | DescriptorType::SAMPLER | DescriptorType::TEXTURE | DescriptorType::STORAGE_IMAGE | DescriptorType::INPUT_ATTACHMENT; const DescriptorType DESCRIPTOR_DYNAMIC_TYPE = DescriptorType::DYNAMIC_STORAGE_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; -const AccessType AccessTypeV::INDIRECT_BUFFER = AccessType::INDIRECT_BUFFER; -const AccessType AccessTypeV::INDEX_BUFFER = AccessType::INDEX_BUFFER; -const AccessType AccessTypeV::VERTEX_BUFFER = AccessType::VERTEX_BUFFER; -const AccessType AccessTypeV::VERTEX_SHADER_READ_UNIFORM_BUFFER = AccessType::VERTEX_SHADER_READ_UNIFORM_BUFFER; -const AccessType AccessTypeV::VERTEX_SHADER_READ_TEXTURE = AccessType::VERTEX_SHADER_READ_TEXTURE; -const AccessType AccessTypeV::VERTEX_SHADER_READ_OTHER = AccessType::VERTEX_SHADER_READ_OTHER; -const AccessType AccessTypeV::FRAGMENT_SHADER_READ_UNIFORM_BUFFER = AccessType::FRAGMENT_SHADER_READ_UNIFORM_BUFFER; -const AccessType AccessTypeV::FRAGMENT_SHADER_READ_TEXTURE = AccessType::FRAGMENT_SHADER_READ_TEXTURE; -const AccessType AccessTypeV::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT = AccessType::FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT; -const AccessType AccessTypeV::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT = AccessType::FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT; -const AccessType AccessTypeV::FRAGMENT_SHADER_READ_OTHER = AccessType::FRAGMENT_SHADER_READ_OTHER; -const AccessType AccessTypeV::COLOR_ATTACHMENT_READ = AccessType::COLOR_ATTACHMENT_READ; -const AccessType AccessTypeV::DEPTH_STENCIL_ATTACHMENT_READ = AccessType::DEPTH_STENCIL_ATTACHMENT_READ; -const AccessType AccessTypeV::COMPUTE_SHADER_READ_UNIFORM_BUFFER = AccessType::COMPUTE_SHADER_READ_UNIFORM_BUFFER; -const AccessType AccessTypeV::COMPUTE_SHADER_READ_TEXTURE = AccessType::COMPUTE_SHADER_READ_TEXTURE; -const AccessType AccessTypeV::COMPUTE_SHADER_READ_OTHER = AccessType::COMPUTE_SHADER_READ_OTHER; -const AccessType AccessTypeV::TRANSFER_READ = AccessType::TRANSFER_READ; -const AccessType AccessTypeV::HOST_READ = AccessType::HOST_READ; -const AccessType AccessTypeV::PRESENT = AccessType::PRESENT; -const AccessType AccessTypeV::VERTEX_SHADER_WRITE = AccessType::VERTEX_SHADER_WRITE; -const AccessType AccessTypeV::FRAGMENT_SHADER_WRITE = AccessType::FRAGMENT_SHADER_WRITE; -const AccessType AccessTypeV::COLOR_ATTACHMENT_WRITE = AccessType::COLOR_ATTACHMENT_WRITE; -const AccessType AccessTypeV::DEPTH_STENCIL_ATTACHMENT_WRITE = AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE; -const AccessType AccessTypeV::COMPUTE_SHADER_WRITE = AccessType::COMPUTE_SHADER_WRITE; -const AccessType AccessTypeV::TRANSFER_WRITE = AccessType::TRANSFER_WRITE; -const AccessType AccessTypeV::HOST_PREINITIALIZED = AccessType::HOST_PREINITIALIZED; -const AccessType AccessTypeV::HOST_WRITE = AccessType::HOST_WRITE; - const FormatInfo GFX_FORMAT_INFOS[] = { {"UNKNOWN", 0, 0, FormatType::NONE, false, false, false, false}, {"A8", 1, 1, FormatType::UNORM, true, false, false, false}, diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 75bcef15e9..357a9f62cf 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -26,7 +26,7 @@ class Window; class Context; #define GFX_MAX_ATTACHMENTS 4 -#define GFX_INVALID_BINDING ((uint8_t)-1) +#define GFX_INVALID_BINDING ((uint)-1) #define GFX_INVALID_HANDLE ((uint)-1) enum class ObjectType { @@ -542,36 +542,6 @@ enum class AccessType { HOST_WRITE, // Written on the host }; -namespace AccessTypeV { -extern const AccessType INDIRECT_BUFFER; -extern const AccessType INDEX_BUFFER; -extern const AccessType VERTEX_BUFFER; -extern const AccessType VERTEX_SHADER_READ_UNIFORM_BUFFER; -extern const AccessType VERTEX_SHADER_READ_TEXTURE; -extern const AccessType VERTEX_SHADER_READ_OTHER; -extern const AccessType FRAGMENT_SHADER_READ_UNIFORM_BUFFER; -extern const AccessType FRAGMENT_SHADER_READ_TEXTURE; -extern const AccessType FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT; -extern const AccessType FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT; -extern const AccessType FRAGMENT_SHADER_READ_OTHER; -extern const AccessType COLOR_ATTACHMENT_READ; -extern const AccessType DEPTH_STENCIL_ATTACHMENT_READ; -extern const AccessType COMPUTE_SHADER_READ_UNIFORM_BUFFER; -extern const AccessType COMPUTE_SHADER_READ_TEXTURE; -extern const AccessType COMPUTE_SHADER_READ_OTHER; -extern const AccessType TRANSFER_READ; -extern const AccessType HOST_READ; -extern const AccessType PRESENT; -extern const AccessType VERTEX_SHADER_WRITE; -extern const AccessType FRAGMENT_SHADER_WRITE; -extern const AccessType COLOR_ATTACHMENT_WRITE; -extern const AccessType DEPTH_STENCIL_ATTACHMENT_WRITE; -extern const AccessType COMPUTE_SHADER_WRITE; -extern const AccessType TRANSFER_WRITE; -extern const AccessType HOST_PREINITIALIZED; -extern const AccessType HOST_WRITE; -} // namespace AccessTypeV - typedef cc::vector AccessTypeList; enum class PipelineBindPoint { @@ -959,7 +929,7 @@ struct SamplerInfo { Address addressU = Address::WRAP; Address addressV = Address::WRAP; Address addressW = Address::WRAP; - uint maxAnisotropy = 16; + uint maxAnisotropy = 0u; ComparisonFunc cmpFunc = ComparisonFunc::NEVER; Color borderColor; uint minLOD = 0; @@ -1082,7 +1052,7 @@ struct ShaderInfo { UniformInputAttachmentList subpassInputs; }; -typedef cc::vector BufferList; +typedef cc::vector BufferList; typedef cc::vector TextureBarrierList; struct InputAssemblerInfo { @@ -1114,20 +1084,20 @@ struct DepthStencilAttachment { AccessType endAccess = AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE; }; -struct SubPassInfo { - cc::vector inputs; - cc::vector colors; - cc::vector resolves; - uint8_t depthStencil = GFX_INVALID_BINDING; - cc::vector preserves; +struct SubpassInfo { + cc::vector inputs; + cc::vector colors; + cc::vector resolves; + cc::vector preserves; + uint depthStencil = GFX_INVALID_BINDING; }; -typedef cc::vector SubPassInfoList; +typedef cc::vector SubpassInfoList; struct RenderPassInfo { ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; - SubPassInfoList subPasses; + SubpassInfoList subpasses; }; struct GlobalBarrierInfo { @@ -1140,7 +1110,7 @@ struct TextureBarrierInfo { vector prevAccesses; vector nextAccesses; - bool discardContents = false; + bool discardContents = false; Queue *srcQueue = nullptr; Queue *dstQueue = nullptr; diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp index fd4e19b9cb..e80ba0fb5f 100755 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp +++ b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp @@ -13,35 +13,35 @@ RenderPass::~RenderPass() { } // Based on render pass compatibility -uint RenderPass::computeHash(const RenderPassInfo &info) { - uint seed = info.colorAttachments.size() * 2 + 2; - if (info.subPasses.size()) { - for (const SubPassInfo &subPass : info.subPasses) { +uint RenderPass::computeHash() { + uint seed = _colorAttachments.size() * 2 + 2; + if (_subpasses.size()) { + for (const SubpassInfo &subPass : _subpasses) { for (const uint8_t iaIndex : subPass.inputs) { - if (iaIndex >= info.colorAttachments.size()) break; - const ColorAttachment &ia = info.colorAttachments[iaIndex]; + if (iaIndex >= _colorAttachments.size()) break; + const ColorAttachment &ia = _colorAttachments[iaIndex]; seed ^= (uint)(ia.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ia.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (const uint8_t caIndex : subPass.colors) { - if (caIndex >= info.colorAttachments.size()) break; - const ColorAttachment &ca = info.colorAttachments[caIndex]; + if (caIndex >= _colorAttachments.size()) break; + const ColorAttachment &ca = _colorAttachments[caIndex]; seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - if (subPass.depthStencil < info.colorAttachments.size()) { - const ColorAttachment &ds = info.colorAttachments[subPass.depthStencil]; + if (subPass.depthStencil < _colorAttachments.size()) { + const ColorAttachment &ds = _colorAttachments[subPass.depthStencil]; seed ^= (uint)(ds.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ds.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } } } else { - for (const ColorAttachment &colorAttachment : info.colorAttachments) { + for (const ColorAttachment &colorAttachment : _colorAttachments) { seed ^= (uint)(colorAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)colorAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - seed ^= (uint)(info.depthStencilAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(_depthStencilAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)_depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } return seed; diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.h b/native/cocos/renderer/core/gfx/GFXRenderPass.h index 7b1e3e2ade..4ccf96069d 100755 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.h +++ b/native/cocos/renderer/core/gfx/GFXRenderPass.h @@ -11,23 +11,22 @@ public: RenderPass(Device *device); virtual ~RenderPass(); - static uint computeHash(const RenderPassInfo &info); - virtual bool initialize(const RenderPassInfo &info) = 0; virtual void destroy() = 0; CC_INLINE Device *getDevice() const { return _device; } CC_INLINE const ColorAttachmentList &getColorAttachments() const { return _colorAttachments; } CC_INLINE const DepthStencilAttachment &getDepthStencilAttachment() const { return _depthStencilAttachment; } - CC_INLINE const SubPassInfoList &getSubPasses() const { return _subPasses; } + CC_INLINE const SubpassInfoList &getSubpasses() const { return _subpasses; } CC_INLINE uint getHash() const { return _hash; } protected: + uint computeHash(); Device *_device = nullptr; ColorAttachmentList _colorAttachments; DepthStencilAttachment _depthStencilAttachment; - SubPassInfoList _subPasses; + SubpassInfoList _subpasses; uint _hash = 0; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp index ea48176a6e..3d9a7ed971 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp @@ -44,7 +44,7 @@ bool GLES2RenderPass::initialize(const RenderPassInfo &info) { _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; - _hash = computeHash(info); + _hash = computeHash(); return true; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp index 525eb1679f..fc94a1fd6b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp @@ -44,7 +44,7 @@ bool GLES3RenderPass::initialize(const RenderPassInfo &info) { _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; - _hash = computeHash(info); + _hash = computeHash(); return true; } diff --git a/native/cocos/renderer/gfx-metal/MTLRenderPass.mm b/native/cocos/renderer/gfx-metal/MTLRenderPass.mm index b029b3fdad..f6fc76a62d 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderPass.mm +++ b/native/cocos/renderer/gfx-metal/MTLRenderPass.mm @@ -52,7 +52,7 @@ bool CCMTLRenderPass::initialize(const RenderPassInfo &info) { _mtlRenderPassDescriptor.stencilAttachment.loadAction = mu::toMTLLoadAction(_depthStencilAttachment.stencilLoadOp); _mtlRenderPassDescriptor.stencilAttachment.storeAction = mu::toMTLStoreAction(_depthStencilAttachment.stencilStoreOp); - _hash = computeHash(info); + _hash = computeHash(); return true; } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index c0caeceaac..32a150ae0d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -256,7 +256,7 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende attachmentDescriptions[colorAttachmentCount].finalLayout = ThsvsAccessMap[dstAccess].imageLayout; } - size_t subpassCount = gpuRenderPass->subPasses.size(); + size_t subpassCount = gpuRenderPass->subpasses.size(); attachmentReferences.clear(); subpassDependencies.clear(); @@ -280,9 +280,37 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende if (hasDepth) subpassDescriptions[0].pDepthStencilAttachment = &attachmentReferences.back(); // explicitly declare dependencies if needed - VkSubpassDependency dependency{0, VK_SUBPASS_EXTERNAL}; - auto dependencyCheck = [&dependency, colorAttachmentCount, gpuRenderPass](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { - if (attachmentDescriptions[ref.attachment].finalLayout != ref.layout) { + VkSubpassDependency beginDependency = {VK_SUBPASS_EXTERNAL, 0, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; + auto beginDependencyCheck = [&beginDependency, colorAttachmentCount, gpuRenderPass](const VkAttachmentReference &ref, VkPipelineStageFlags dstStage, VkAccessFlags dstAccess) { + const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; + if (desc.loadOp != VK_ATTACHMENT_LOAD_OP_DONT_CARE && desc.initialLayout != ref.layout) { + AccessType beginAccess = AccessType::NONE; + if (ref.attachment < colorAttachmentCount) { + beginAccess = gpuRenderPass->colorAttachments[ref.attachment].beginAccess; + } else { + beginAccess = gpuRenderPass->depthStencilAttachment.beginAccess; + } + const ThsvsVkAccessInfo &info = ThsvsAccessMap[THSVS_ACCESS_TYPES[(uint)beginAccess]]; + beginDependency.srcStageMask |= info.stageMask; + beginDependency.srcAccessMask |= info.accessMask; + beginDependency.dstStageMask |= dstStage; + beginDependency.dstAccessMask |= dstAccess; + } + }; + for (size_t j = 0u; j < subpassDescriptions[0].colorAttachmentCount; ++j) { + beginDependencyCheck(subpassDescriptions[0].pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); + } + if (subpassDescriptions[0].pDepthStencilAttachment) { + beginDependencyCheck(*subpassDescriptions[0].pDepthStencilAttachment, VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); + } + if (beginDependency.dstAccessMask) { + subpassDependencies.push_back(beginDependency); + } + + VkSubpassDependency endDependency{0, VK_SUBPASS_EXTERNAL}; + auto endDependencyCheck = [&endDependency, colorAttachmentCount, gpuRenderPass](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { + const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; + if (desc.storeOp == VK_ATTACHMENT_STORE_OP_STORE && desc.finalLayout != ref.layout) { AccessType endAccess = AccessType::NONE; if (ref.attachment < colorAttachmentCount) { endAccess = gpuRenderPass->colorAttachments[ref.attachment].endAccess; @@ -291,21 +319,21 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende } const ThsvsVkAccessInfo &info = ThsvsAccessMap[THSVS_ACCESS_TYPES[(uint)endAccess]]; if (info.accessMask) { - dependency.srcStageMask |= srcStage; - dependency.srcAccessMask |= srcAccess; - dependency.dstAccessMask |= info.accessMask; - dependency.dstStageMask |= info.stageMask; + endDependency.srcStageMask |= srcStage; + endDependency.srcAccessMask |= srcAccess; + endDependency.dstStageMask |= info.stageMask; + endDependency.dstAccessMask |= info.accessMask; } } }; for (size_t j = 0u; j < subpassDescriptions[0].colorAttachmentCount; ++j) { - dependencyCheck(subpassDescriptions[0].pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); + endDependencyCheck(subpassDescriptions[0].pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); } if (subpassDescriptions[0].pDepthStencilAttachment) { - dependencyCheck(*subpassDescriptions[0].pDepthStencilAttachment, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); + endDependencyCheck(*subpassDescriptions[0].pDepthStencilAttachment, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); } - if (dependency.dstAccessMask) { - subpassDependencies.push_back(dependency); + if (endDependency.dstAccessMask) { + subpassDependencies.push_back(endDependency); } } @@ -446,7 +474,11 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS createInfo.pDescriptorUpdateEntries = entries.data(); createInfo.templateType = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET; createInfo.descriptorSetLayout = gpuDescriptorSetLayout->vkDescriptorSetLayout; - VK_CHECK(vkCreateDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, &createInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate)); + if (gpuDevice->minorVersion > 0) { + VK_CHECK(vkCreateDescriptorUpdateTemplate(gpuDevice->vkDevice, &createInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate)); + } else { + VK_CHECK(vkCreateDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, &createInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorUpdateTemplate)); + } } } @@ -895,7 +927,11 @@ void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *gpuDevice, CCVKGPUDesc } if (gpuDescriptorSetLayout->vkDescriptorUpdateTemplate != VK_NULL_HANDLE) { - vkDestroyDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, gpuDescriptorSetLayout->vkDescriptorUpdateTemplate, nullptr); + if (gpuDevice->minorVersion > 0) { + vkDestroyDescriptorUpdateTemplate(gpuDevice->vkDevice, gpuDescriptorSetLayout->vkDescriptorUpdateTemplate, nullptr); + } else { + vkDestroyDescriptorUpdateTemplateKHR(gpuDevice->vkDevice, gpuDescriptorSetLayout->vkDescriptorUpdateTemplate, nullptr); + } gpuDescriptorSetLayout->vkDescriptorUpdateTemplate = VK_NULL_HANDLE; } diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 152d51ab5c..ef549e6daf 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -114,7 +114,6 @@ bool CCVKContext::initialize(const ContextInfo &info) { }; vector requestedExtensions{ VK_KHR_SURFACE_EXTENSION_NAME, - VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, }; ///////////////////// Instance Creation ///////////////////// @@ -123,6 +122,19 @@ bool CCVKContext::initialize(const ContextInfo &info) { return false; } + uint apiVersion = VK_API_VERSION_1_0; + if (vkEnumerateInstanceVersion) { + vkEnumerateInstanceVersion(&apiVersion); + if (FORCE_MINOR_VERSION) { + apiVersion = VK_MAKE_VERSION(1, FORCE_MINOR_VERSION - 1, 0); + } + } + + uint minorVersion = VK_VERSION_MINOR(apiVersion); + if (minorVersion < 1) { + requestedExtensions.push_back(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME); + } + uint availableLayerCount; VK_CHECK(vkEnumerateInstanceLayerProperties(&availableLayerCount, nullptr)); vector supportedLayers(availableLayerCount); @@ -204,14 +216,6 @@ bool CCVKContext::initialize(const ContextInfo &info) { } } - uint apiVersion = VK_API_VERSION_1_0; - if (vkEnumerateInstanceVersion) { - vkEnumerateInstanceVersion(&apiVersion); - if (FORCE_MINOR_VERSION) { - apiVersion = VK_MAKE_VERSION(1, FORCE_MINOR_VERSION - 1, 0); - } - } - VkApplicationInfo app{VK_STRUCTURE_TYPE_APPLICATION_INFO}; app.pEngineName = "Cocos Creator"; app.apiVersion = apiVersion; @@ -364,12 +368,19 @@ bool CCVKContext::initialize(const ContextInfo &info) { _gpuContext->physicalDeviceProperties = physicalDeviceProperties[deviceIndex]; vkGetPhysicalDeviceFeatures(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceFeatures); - if (_minorVersion >= 1 || checkExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME)) { - vkGetPhysicalDeviceProperties2KHR(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceProperties2); + _majorVersion = VK_VERSION_MAJOR(_gpuContext->physicalDeviceProperties.apiVersion); + _minorVersion = VK_VERSION_MINOR(_gpuContext->physicalDeviceProperties.apiVersion); + if (_minorVersion >= 1 || checkExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME)) { _gpuContext->physicalDeviceFeatures2.pNext = &_gpuContext->physicalDeviceVulkan11Features; _gpuContext->physicalDeviceVulkan11Features.pNext = &_gpuContext->physicalDeviceVulkan12Features; - vkGetPhysicalDeviceFeatures2KHR(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceFeatures2); + if (_minorVersion >= 1) { + vkGetPhysicalDeviceProperties2(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceProperties2); + vkGetPhysicalDeviceFeatures2(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceFeatures2); + } else { + vkGetPhysicalDeviceProperties2KHR(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceProperties2); + vkGetPhysicalDeviceFeatures2KHR(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceFeatures2); + } } vkGetPhysicalDeviceMemoryProperties(_gpuContext->physicalDevice, &_gpuContext->physicalDeviceMemoryProperties); @@ -383,9 +394,6 @@ bool CCVKContext::initialize(const ContextInfo &info) { _gpuContext->vkSurface, &_gpuContext->queueFamilyPresentables[propertyIndex]); } - _majorVersion = VK_VERSION_MAJOR(_gpuContext->physicalDeviceProperties.apiVersion); - _minorVersion = VK_VERSION_MINOR(_gpuContext->physicalDeviceProperties.apiVersion); - ///////////////////// Swapchain Preperation ///////////////////// _colorFmt = Format::BGRA8; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index c18c812d26..dfb1c363de 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -122,7 +122,7 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { vector &entries = instance.descriptorUpdateEntries; entries.resize(descriptorCount, {VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET}); - for (size_t i = 0u, j = 0u; i < descriptorCount; i++) { + for (size_t i = 0u, j = 0u; i < bindingCount; i++) { const VkDescriptorSetLayoutBinding &descriptor = gpuDescriptorSetLayout->vkBindings[i]; for (size_t k = 0u; k < descriptor.descriptorCount; k++, j++) { entries[j].dstSet = instance.vkDescriptorSet; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 0db9a7bfd2..08f0820ea2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -80,6 +80,11 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { //const VkPhysicalDeviceVulkan11Features &deviceVulkan11Features = gpuContext->physicalDeviceVulkan11Features; //const VkPhysicalDeviceVulkan12Features &deviceVulkan12Features = gpuContext->physicalDeviceVulkan12Features; + ///////////////////// Device Creation ///////////////////// + + _gpuDevice = CC_NEW(CCVKGPUDevice); + _gpuDevice->minorVersion = context->minorVersion(); + // only enable the absolute essentials for now vector requestedValidationLayers{}; @@ -89,10 +94,13 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { vector requestedExtensions{ VK_KHR_SWAPCHAIN_EXTENSION_NAME, - VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME, - VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME, - VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME, }; + if (_gpuDevice->minorVersion < 1) { + requestedExtensions.push_back(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME); + requestedExtensions.push_back(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME); + requestedExtensions.push_back(VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME); + } + VkPhysicalDeviceFeatures2 requestedFeatures2{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2}; VkPhysicalDeviceVulkan11Features requestedVulkan11Features{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES}; VkPhysicalDeviceVulkan12Features requestedVulkan12Features{VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES}; @@ -112,10 +120,6 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { requestedExtensions.push_back(VK_KHR_SHADER_NON_SEMANTIC_INFO_EXTENSION_NAME); #endif - ///////////////////// Device Creation ///////////////////// - - _gpuDevice = CC_NEW(CCVKGPUDevice); - // check extensions uint availableLayerCount; VK_CHECK(vkEnumerateDeviceLayerProperties(gpuContext->physicalDevice, &availableLayerCount, nullptr)); @@ -164,12 +168,12 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { deviceCreateInfo.ppEnabledLayerNames = _layers.data(); deviceCreateInfo.enabledExtensionCount = toUint(_extensions.size()); deviceCreateInfo.ppEnabledExtensionNames = _extensions.data(); - if (context->minorVersion() < 1 && + if (_gpuDevice->minorVersion < 1 && !context->checkExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME)) { deviceCreateInfo.pEnabledFeatures = &requestedFeatures2.features; } else { deviceCreateInfo.pNext = &requestedFeatures2; - if (context->minorVersion() >= 2) { + if (_gpuDevice->minorVersion >= 2) { requestedFeatures2.pNext = &requestedVulkan11Features; requestedVulkan11Features.pNext = &requestedVulkan12Features; } @@ -199,7 +203,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _features[(uint)Feature::COMPUTE_SHADER] = true; _gpuDevice->useMultiDrawIndirect = deviceFeatures.multiDrawIndirect; - _gpuDevice->useDescriptorUpdateTemplate = checkExtension(VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME); + _gpuDevice->useDescriptorUpdateTemplate = _gpuDevice->minorVersion > 0 || checkExtension(VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME); VkFormatFeatureFlags requiredFeatures = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT | VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT; VkFormatProperties formatProperties; @@ -256,12 +260,15 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _caps.maxTextureSize = limits.maxImageDimension2D; _caps.maxCubeMapTextureSize = limits.maxImageDimensionCube; _caps.uboOffsetAlignment = (uint)limits.minUniformBufferOffsetAlignment; + MapDepthStencilBits(_context->getDepthStencilFormat(), _caps.depthBits, _caps.stencilBits); // compute shaders _caps.maxComputeSharedMemorySize = limits.maxComputeSharedMemorySize; _caps.maxComputeWorkGroupInvocations = limits.maxComputeWorkGroupInvocations; _caps.maxComputeWorkGroupCount = {limits.maxComputeWorkGroupCount[0], limits.maxComputeWorkGroupCount[1], limits.maxComputeWorkGroupCount[2]}; _caps.maxComputeWorkGroupSize = {limits.maxComputeWorkGroupSize[0], limits.maxComputeWorkGroupSize[1], limits.maxComputeWorkGroupSize[2]}; - MapDepthStencilBits(_context->getDepthStencilFormat(), _caps.depthBits, _caps.stencilBits); +#if defined(VK_USE_PLATFORM_ANDROID_KHR) + _caps.maxComputeWorkGroupInvocations = 64; // Arm: UNASSIGNED-BestPractices-vkCreateComputePipelines-compute-work-group-size +#endif // defined(VK_USE_PLATFORM_ANDROID_KHR) ///////////////////// Resource Initialization ///////////////////// @@ -288,8 +295,12 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { allocatorInfo.device = _gpuDevice->vkDevice; allocatorInfo.instance = gpuContext->vkInstance; - if (checkExtension(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME) && - checkExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME)) { + if (_gpuDevice->minorVersion > 0) { + allocatorInfo.flags |= VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT; + vmaVulkanFunc.vkGetBufferMemoryRequirements2KHR = vkGetBufferMemoryRequirements2; + vmaVulkanFunc.vkGetImageMemoryRequirements2KHR = vkGetImageMemoryRequirements2; + } else if (checkExtension(VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME) && + checkExtension(VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME)) { allocatorInfo.flags |= VMA_ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT; vmaVulkanFunc.vkGetBufferMemoryRequirements2KHR = vkGetBufferMemoryRequirements2KHR; vmaVulkanFunc.vkGetImageMemoryRequirements2KHR = vkGetImageMemoryRequirements2KHR; @@ -519,9 +530,9 @@ void CCVKDevice::acquire() { VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); -#if CC_PLATFORM != CC_PLATFORM_MAC_IOS && CC_PLATFORM != CC_PLATFORM_MAC_OSX +#if defined(VK_USE_PLATFORM_METAL_EXT) assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); // MoltenVK seems to be not consistent -#endif // CC_PLATFORM != CC_PLATFORM_MAC_IOS && CC_PLATFORM != CC_PLATFORM_MAC_OSX +#endif // defined(VK_USE_PLATFORM_METAL_EXT) queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; queue->gpuQueue()->nextSignalSemaphore = _gpuSemaphorePool->alloc(); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 33a5a806e5..fd45efe85e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -57,7 +57,11 @@ class CCVKGPURenderPass final : public Object { public: ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; - SubPassInfoList subPasses; + SubpassInfoList subpasses; + + // per attachment + vector> beginAccesses; + vector> EndAccesses; VkRenderPass vkRenderPass; @@ -112,7 +116,7 @@ public: Address addressU = Address::WRAP; Address addressV = Address::WRAP; Address addressW = Address::WRAP; - uint maxAnisotropy = 16u; + uint maxAnisotropy = 0u; ComparisonFunc cmpFunc = ComparisonFunc::NEVER; Color borderColor; uint minLOD = 0u; @@ -296,7 +300,7 @@ public: VkMemoryBarrier vkBarrier{}; vector accessTypes; - ThsvsGlobalBarrier barrier{}; + ThsvsGlobalBarrier barrier{}; }; class CCVKGPUTextureBarrier final : public Object { @@ -306,7 +310,7 @@ public: VkImageMemoryBarrier vkBarrier{}; vector accessTypes; - ThsvsImageBarrier barrier{}; + ThsvsImageBarrier barrier{}; }; class CCVKGPUCommandBufferPool; @@ -317,6 +321,7 @@ public: vector extensions; VmaAllocator memoryAllocator = VK_NULL_HANDLE; VkPipelineCache vkPipelineCache = VK_NULL_HANDLE; + uint minorVersion = 0u; uint curBackBufferIndex = 0u; uint backBufferCount = 3u; @@ -876,6 +881,11 @@ public: CCVKGPUDescriptorSetHub(CCVKGPUDevice *device) : _device(device) { _setsToBeUpdated.resize(device->backBufferCount); + if (device->minorVersion > 0) { + _updateFn = vkUpdateDescriptorSetWithTemplate; + } else { + _updateFn = vkUpdateDescriptorSetWithTemplateKHR; + } } void record(CCVKGPUDescriptorSet *gpuDescriptorSet) { @@ -909,8 +919,8 @@ private: void update(CCVKGPUDescriptorSet *gpuDescriptorSet) { CCVKGPUDescriptorSet::Instance &instance = gpuDescriptorSet->instances[_device->curBackBufferIndex]; if (gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate) { - vkUpdateDescriptorSetWithTemplateKHR(_device->vkDevice, instance.vkDescriptorSet, - gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate, instance.descriptorInfos.data()); + _updateFn(_device->vkDevice, instance.vkDescriptorSet, + gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate, instance.descriptorInfos.data()); } else { vector &entries = instance.descriptorUpdateEntries; vkUpdateDescriptorSets(_device->vkDevice, entries.size(), entries.data(), 0, nullptr); @@ -919,6 +929,7 @@ private: CCVKGPUDevice * _device = nullptr; vector> _setsToBeUpdated; + PFN_vkUpdateDescriptorSetWithTemplate _updateFn = nullptr; }; class CCVKGPUTextureLayoutManager final : public Object { diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index 1e10ebb1bb..74119f3f1e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -40,15 +40,15 @@ CCVKRenderPass::~CCVKRenderPass() { bool CCVKRenderPass::initialize(const RenderPassInfo &info) { _colorAttachments = info.colorAttachments; _depthStencilAttachment = info.depthStencilAttachment; - _subPasses = info.subPasses; + _subpasses = info.subpasses; _gpuRenderPass = CC_NEW(CCVKGPURenderPass); _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; - _gpuRenderPass->subPasses = _subPasses; + _gpuRenderPass->subpasses = _subpasses; CCVKCmdFuncCreateRenderPass((CCVKDevice *)_device, _gpuRenderPass); - _hash = computeHash(info); + _hash = computeHash(); return true; } From 785cc14c27f2034964701f764caa39e51a2f0f66 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 26 Jan 2021 19:12:21 +0800 Subject: [PATCH 141/270] render pass accept array of access types --- native/cocos/renderer/core/gfx/GFXDef.h | 28 +-- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 13 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 147 ++++++++------ .../cocos/renderer/gfx-vulkan/VKContext.cpp | 14 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 10 +- .../thsvs_simpler_vulkan_synchronization.h | 180 ++++++++++++------ 6 files changed, 244 insertions(+), 148 deletions(-) diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 357a9f62cf..40d5d6487b 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -1063,25 +1063,25 @@ struct InputAssemblerInfo { }; struct ColorAttachment { - Format format = Format::UNKNOWN; - SampleCount sampleCount = SampleCount::X1; - LoadOp loadOp = LoadOp::CLEAR; - StoreOp storeOp = StoreOp::STORE; - AccessType beginAccess = AccessType::NONE; - AccessType endAccess = AccessType::PRESENT; + Format format = Format::UNKNOWN; + SampleCount sampleCount = SampleCount::X1; + LoadOp loadOp = LoadOp::CLEAR; + StoreOp storeOp = StoreOp::STORE; + vector beginAccesses; + vector endAccesses{AccessType::PRESENT}; }; typedef cc::vector ColorAttachmentList; struct DepthStencilAttachment { - Format format = Format::UNKNOWN; - SampleCount sampleCount = SampleCount::X1; - LoadOp depthLoadOp = LoadOp::CLEAR; - StoreOp depthStoreOp = StoreOp::STORE; - LoadOp stencilLoadOp = LoadOp::CLEAR; - StoreOp stencilStoreOp = StoreOp::STORE; - AccessType beginAccess = AccessType::NONE; - AccessType endAccess = AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE; + Format format = Format::UNKNOWN; + SampleCount sampleCount = SampleCount::X1; + LoadOp depthLoadOp = LoadOp::CLEAR; + StoreOp depthStoreOp = StoreOp::STORE; + LoadOp stencilLoadOp = LoadOp::CLEAR; + StoreOp stencilStoreOp = StoreOp::STORE; + vector beginAccesses; + vector endAccesses{AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; }; struct SubpassInfo { diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index d7dea1a9de..ac976d6287 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -202,21 +202,20 @@ void CCVKCommandBuffer::endRenderPass() { vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 0, nullptr); #endif - for (size_t i = 0u; i < _curGPUFBO->gpuRenderPass->colorAttachments.size(); ++i) { - ThsvsAccessType accessType = THSVS_ACCESS_TYPES[(uint)_curGPUFBO->gpuRenderPass->colorAttachments[i].endAccess]; + size_t colorAttachmentCount = _curGPUFBO->gpuRenderPass->colorAttachments.size(); + for (size_t i = 0u; i < colorAttachmentCount; ++i) { if (_curGPUFBO->gpuColorViews[i]) { - _curGPUFBO->gpuColorViews[i]->gpuTexture->currentAccessTypes.assign({accessType}); + _curGPUFBO->gpuColorViews[i]->gpuTexture->currentAccessTypes = _curGPUFBO->gpuRenderPass->endAccesses[i]; } else { - _curGPUFBO->swapchain->swapchainImageAccessTypes[_curGPUFBO->swapchain->curImageIndex].assign({accessType}); + _curGPUFBO->swapchain->swapchainImageAccessTypes[_curGPUFBO->swapchain->curImageIndex] = _curGPUFBO->gpuRenderPass->endAccesses[i]; } } if (_curGPUFBO->gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { - ThsvsAccessType accessType = THSVS_ACCESS_TYPES[(uint)_curGPUFBO->gpuRenderPass->depthStencilAttachment.endAccess]; if (_curGPUFBO->gpuDepthStencilView) { - _curGPUFBO->gpuDepthStencilView->gpuTexture->currentAccessTypes.assign({accessType}); + _curGPUFBO->gpuDepthStencilView->gpuTexture->currentAccessTypes = _curGPUFBO->gpuRenderPass->endAccesses[colorAttachmentCount]; } else { - _curGPUFBO->swapchain->depthStencilImageAccessTypes[_curGPUFBO->swapchain->curImageIndex].assign({accessType}); + _curGPUFBO->swapchain->depthStencilImageAccessTypes[_curGPUFBO->swapchain->curImageIndex] = _curGPUFBO->gpuRenderPass->endAccesses[colorAttachmentCount]; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 32a150ae0d..86af75a800 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -226,11 +226,27 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende const size_t hasDepth = gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN ? 1 : 0; attachmentDescriptions.resize(colorAttachmentCount + hasDepth); gpuRenderPass->clearValues.resize(colorAttachmentCount + hasDepth); + gpuRenderPass->beginAccesses.resize(colorAttachmentCount + hasDepth); + gpuRenderPass->endAccesses.resize(colorAttachmentCount + hasDepth); + vector beginAccessInfos(colorAttachmentCount + hasDepth); + vector endAccessInfos(colorAttachmentCount + hasDepth); for (size_t i = 0u; i < colorAttachmentCount; ++i) { const ColorAttachment &attachment = gpuRenderPass->colorAttachments[i]; - ThsvsAccessType srcAccess = THSVS_ACCESS_TYPES[(uint)attachment.beginAccess]; - ThsvsAccessType dstAccess = THSVS_ACCESS_TYPES[(uint)attachment.endAccess]; + + vector &beginAccesses = gpuRenderPass->beginAccesses[i]; + vector &endAccesses = gpuRenderPass->endAccesses[i]; + CCVKAccessInfo & beginAccessInfo = beginAccessInfos[i]; + CCVKAccessInfo & endAccessInfo = endAccessInfos[i]; + + for (AccessType type : attachment.beginAccesses) { + beginAccesses.push_back(THSVS_ACCESS_TYPES[(uint)type]); + } + for (AccessType type : attachment.endAccesses) { + endAccesses.push_back(THSVS_ACCESS_TYPES[(uint)type]); + } + thsvsGetAccessInfo(beginAccesses.size(), beginAccesses.data(), &beginAccessInfo.stageMask, &beginAccessInfo.accessMask, &beginAccessInfo.imageLayout, &beginAccessInfo.hasWriteAccess); + thsvsGetAccessInfo(endAccesses.size(), endAccesses.data(), &endAccessInfo.stageMask, &endAccessInfo.accessMask, &endAccessInfo.imageLayout, &endAccessInfo.hasWriteAccess); attachmentDescriptions[i].format = MapVkFormat(attachment.format); attachmentDescriptions[i].samples = MapVkSampleCount(attachment.sampleCount); @@ -238,13 +254,25 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende attachmentDescriptions[i].storeOp = MapVkStoreOp(attachment.storeOp); attachmentDescriptions[i].stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; attachmentDescriptions[i].stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; - attachmentDescriptions[i].initialLayout = ThsvsAccessMap[srcAccess].imageLayout; - attachmentDescriptions[i].finalLayout = ThsvsAccessMap[dstAccess].imageLayout; + attachmentDescriptions[i].initialLayout = beginAccessInfo.imageLayout; + attachmentDescriptions[i].finalLayout = endAccessInfo.imageLayout; } if (hasDepth) { const DepthStencilAttachment &depthStencilAttachment = gpuRenderPass->depthStencilAttachment; - ThsvsAccessType srcAccess = THSVS_ACCESS_TYPES[(uint)depthStencilAttachment.beginAccess]; - ThsvsAccessType dstAccess = THSVS_ACCESS_TYPES[(uint)depthStencilAttachment.endAccess]; + + vector &beginAccesses = gpuRenderPass->beginAccesses[colorAttachmentCount]; + vector &endAccesses = gpuRenderPass->endAccesses[colorAttachmentCount]; + CCVKAccessInfo & beginAccessInfo = beginAccessInfos[colorAttachmentCount]; + CCVKAccessInfo & endAccessInfo = endAccessInfos[colorAttachmentCount]; + + for (AccessType type : depthStencilAttachment.beginAccesses) { + beginAccesses.push_back(THSVS_ACCESS_TYPES[(uint)type]); + } + for (AccessType type : depthStencilAttachment.endAccesses) { + endAccesses.push_back(THSVS_ACCESS_TYPES[(uint)type]); + } + thsvsGetAccessInfo(beginAccesses.size(), beginAccesses.data(), &beginAccessInfo.stageMask, &beginAccessInfo.accessMask, &beginAccessInfo.imageLayout, &beginAccessInfo.hasWriteAccess); + thsvsGetAccessInfo(endAccesses.size(), endAccesses.data(), &endAccessInfo.stageMask, &endAccessInfo.accessMask, &endAccessInfo.imageLayout, &endAccessInfo.hasWriteAccess); attachmentDescriptions[colorAttachmentCount].format = MapVkFormat(depthStencilAttachment.format); attachmentDescriptions[colorAttachmentCount].samples = MapVkSampleCount(depthStencilAttachment.sampleCount); @@ -252,8 +280,8 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende attachmentDescriptions[colorAttachmentCount].storeOp = MapVkStoreOp(depthStencilAttachment.depthStoreOp); attachmentDescriptions[colorAttachmentCount].stencilLoadOp = MapVkLoadOp(depthStencilAttachment.stencilLoadOp); attachmentDescriptions[colorAttachmentCount].stencilStoreOp = MapVkStoreOp(depthStencilAttachment.stencilStoreOp); - attachmentDescriptions[colorAttachmentCount].initialLayout = ThsvsAccessMap[srcAccess].imageLayout; - attachmentDescriptions[colorAttachmentCount].finalLayout = ThsvsAccessMap[dstAccess].imageLayout; + attachmentDescriptions[colorAttachmentCount].initialLayout = beginAccessInfo.imageLayout; + attachmentDescriptions[colorAttachmentCount].finalLayout = endAccessInfo.imageLayout; } size_t subpassCount = gpuRenderPass->subpasses.size(); @@ -278,63 +306,60 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende subpassDescriptions[0].colorAttachmentCount = attachmentReferences.size() - 1; subpassDescriptions[0].pColorAttachments = attachmentReferences.data(); if (hasDepth) subpassDescriptions[0].pDepthStencilAttachment = &attachmentReferences.back(); + } - // explicitly declare dependencies if needed - VkSubpassDependency beginDependency = {VK_SUBPASS_EXTERNAL, 0, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; - auto beginDependencyCheck = [&beginDependency, colorAttachmentCount, gpuRenderPass](const VkAttachmentReference &ref, VkPipelineStageFlags dstStage, VkAccessFlags dstAccess) { - const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; - if (desc.loadOp != VK_ATTACHMENT_LOAD_OP_DONT_CARE && desc.initialLayout != ref.layout) { - AccessType beginAccess = AccessType::NONE; - if (ref.attachment < colorAttachmentCount) { - beginAccess = gpuRenderPass->colorAttachments[ref.attachment].beginAccess; - } else { - beginAccess = gpuRenderPass->depthStencilAttachment.beginAccess; - } - const ThsvsVkAccessInfo &info = ThsvsAccessMap[THSVS_ACCESS_TYPES[(uint)beginAccess]]; - beginDependency.srcStageMask |= info.stageMask; - beginDependency.srcAccessMask |= info.accessMask; - beginDependency.dstStageMask |= dstStage; - beginDependency.dstAccessMask |= dstAccess; - } - }; - for (size_t j = 0u; j < subpassDescriptions[0].colorAttachmentCount; ++j) { - beginDependencyCheck(subpassDescriptions[0].pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); - } - if (subpassDescriptions[0].pDepthStencilAttachment) { - beginDependencyCheck(*subpassDescriptions[0].pDepthStencilAttachment, VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); - } - if (beginDependency.dstAccessMask) { - subpassDependencies.push_back(beginDependency); - } + // explicitly declare external dependencies if needed - VkSubpassDependency endDependency{0, VK_SUBPASS_EXTERNAL}; - auto endDependencyCheck = [&endDependency, colorAttachmentCount, gpuRenderPass](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { - const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; - if (desc.storeOp == VK_ATTACHMENT_STORE_OP_STORE && desc.finalLayout != ref.layout) { - AccessType endAccess = AccessType::NONE; - if (ref.attachment < colorAttachmentCount) { - endAccess = gpuRenderPass->colorAttachments[ref.attachment].endAccess; - } else { - endAccess = gpuRenderPass->depthStencilAttachment.endAccess; - } - const ThsvsVkAccessInfo &info = ThsvsAccessMap[THSVS_ACCESS_TYPES[(uint)endAccess]]; - if (info.accessMask) { - endDependency.srcStageMask |= srcStage; - endDependency.srcAccessMask |= srcAccess; - endDependency.dstStageMask |= info.stageMask; - endDependency.dstAccessMask |= info.accessMask; - } + // wait for resources to become available by the specified access types + VkSubpassDependency beginDependency{VK_SUBPASS_EXTERNAL, 0, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; + auto beginDependencyCheck = [&beginDependency, &beginAccessInfos](const VkAttachmentReference &ref, VkPipelineStageFlags dstStage, + VkPipelineStageFlags dstAccessRead, VkAccessFlags dstAccessWrite) { + const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; + const CCVKAccessInfo & info = beginAccessInfos[ref.attachment]; + if (desc.loadOp == VK_ATTACHMENT_LOAD_OP_DONT_CARE) return; + if (desc.initialLayout != ref.layout || info.hasWriteAccess || desc.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR) { + beginDependency.srcStageMask |= info.stageMask; + beginDependency.dstStageMask |= dstStage; + if (desc.initialLayout != ref.layout || info.hasWriteAccess) { + beginDependency.srcAccessMask |= info.hasWriteAccess ? info.accessMask : 0; + beginDependency.dstAccessMask |= (desc.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR ? dstAccessWrite : dstAccessRead); } - }; - for (size_t j = 0u; j < subpassDescriptions[0].colorAttachmentCount; ++j) { - endDependencyCheck(subpassDescriptions[0].pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); } - if (subpassDescriptions[0].pDepthStencilAttachment) { - endDependencyCheck(*subpassDescriptions[0].pDepthStencilAttachment, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); - } - if (endDependency.dstAccessMask) { - subpassDependencies.push_back(endDependency); + }; + VkSubpassDescription &firstSubpass = subpassDescriptions[0]; + for (size_t j = 0u; j < firstSubpass.colorAttachmentCount; ++j) { + beginDependencyCheck(firstSubpass.pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); + } + if (firstSubpass.pDepthStencilAttachment) { + beginDependencyCheck(*firstSubpass.pDepthStencilAttachment, VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); + } + if (beginDependency.srcStageMask != VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT) { + subpassDependencies.push_back(beginDependency); + } + + // make rendering result visible for the specified access types + VkSubpassDependency endDependency{subpassCount - 1, VK_SUBPASS_EXTERNAL, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; + auto endDependencyCheck = [&endDependency, &endAccessInfos](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { + const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; + if (desc.storeOp == VK_ATTACHMENT_STORE_OP_STORE) { + const CCVKAccessInfo &info = endAccessInfos[ref.attachment]; + endDependency.srcStageMask |= srcStage; + endDependency.srcAccessMask |= srcAccess; + endDependency.dstStageMask |= info.stageMask; + endDependency.dstAccessMask |= info.accessMask; } + }; + VkSubpassDescription &lastSubpass = subpassDescriptions[subpassCount - 1]; + for (size_t j = 0u; j < lastSubpass.colorAttachmentCount; ++j) { + endDependencyCheck(lastSubpass.pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); + } + if (lastSubpass.pDepthStencilAttachment) { + endDependencyCheck(*lastSubpass.pDepthStencilAttachment, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); + } + if (endDependency.dstAccessMask) { + subpassDependencies.push_back(endDependency); } VkRenderPassCreateInfo renderPassCreateInfo{VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO}; @@ -1075,5 +1100,5 @@ void CCVKGPUTextureLayoutManager::update(CCVKGPUCommandBuffer *gpuCommandBuffer) _texturesToBeChecked.clear(); } -} // namespace cc +} // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index ef549e6daf..5f351ec319 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -54,15 +54,18 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSe if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) { CC_LOG_ERROR("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); //CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); + return VK_FALSE; } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT) { CC_LOG_WARNING("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); + return VK_FALSE; } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT) { //CC_LOG_INFO("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); + return VK_FALSE; } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT) { //CC_LOG_DEBUG("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); - } else { - CC_LOG_ERROR("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); + return VK_FALSE; } + CC_LOG_ERROR("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); return VK_FALSE; } @@ -77,15 +80,18 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugReportCallback(VkDebugReportFlagsEXT fl if (flags & VK_DEBUG_REPORT_ERROR_BIT_EXT) { CC_LOG_ERROR("%s: %s", layerPrefix, message); //CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); + return VK_FALSE; } else if (flags & (VK_DEBUG_REPORT_WARNING_BIT_EXT | VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT)) { CC_LOG_WARNING("%s: %s", layerPrefix, message); + return VK_FALSE; } else if (flags & VK_DEBUG_REPORT_INFORMATION_BIT_EXT) { //CC_LOG_INFO("%s: %s", layerPrefix, message); + return VK_FALSE; } else if (flags & VK_DEBUG_REPORT_DEBUG_BIT_EXT) { //CC_LOG_DEBUG("%s: %s", layerPrefix, message); - } else { - CC_LOG_ERROR("%s: %s", layerPrefix, message); + return VK_FALSE; } + CC_LOG_ERROR("%s: %s", layerPrefix, message); return VK_FALSE; } #endif diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index fd45efe85e..22807cf85d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -53,6 +53,14 @@ public: VkSwapchainCreateInfoKHR swapchainCreateInfo{VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR}; }; + +struct CCVKAccessInfo { + VkPipelineStageFlags stageMask; + VkAccessFlags accessMask; + VkImageLayout imageLayout; + bool hasWriteAccess; +}; + class CCVKGPURenderPass final : public Object { public: ColorAttachmentList colorAttachments; @@ -61,7 +69,7 @@ public: // per attachment vector> beginAccesses; - vector> EndAccesses; + vector> endAccesses; VkRenderPass vkRenderPass; diff --git a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h index 93dc99fb37..d63b2c2dd9 100644 --- a/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h +++ b/native/cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h @@ -375,6 +375,18 @@ typedef struct ThsvsImageBarrier { VkImageSubresourceRange subresourceRange; } ThsvsImageBarrier; +/* +Mapping function that translates a set of accesses into the corresponding +pipeline stages, VkAccessFlags, and image layout. +*/ +void thsvsGetAccessInfo( + uint32_t accessCount, + const ThsvsAccessType* pAccesses, + VkPipelineStageFlags* pStageMask, + VkAccessFlags* pAccessMask, + VkImageLayout* pImageLayout, + bool* pHasWriteAccess); + /* Mapping function that translates a global barrier into a set of source and destination pipeline stages, and a VkMemoryBarrier, that can be used with @@ -471,6 +483,73 @@ void thsvsCmdWaitEvents( uint32_t imageBarrierCount, const ThsvsImageBarrier* pImageBarriers); +#endif // THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_H + +#ifdef THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION + +#include + +//// Optional Error Checking //// +/* +Checks for barriers defining multiple usages that have different layouts +*/ +// #define THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT + +/* +Checks if an image/buffer barrier is used when a global barrier would suffice +*/ +// #define THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER + +/* +Checks if a write access is listed alongside any other access - if so it +points to a potential data hazard that you need to synchronize separately. +In some cases it may simply be over-synchronization however, but it's usually +worth checking. +*/ +// #define THSVS_ERROR_CHECK_POTENTIAL_HAZARD + +/* +Checks if a variety of table lookups (like the access map) are within +a valid range. +*/ +// #define THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + +//// Temporary Memory Allocation //// +/* +Override these if you can't afford the stack space or just want to use a +custom temporary allocator. +These are currently used exclusively to allocate Vulkan memory barriers in +the API, one for each Buffer or Image barrier passed into the pipeline and +event functions. +May consider other allocation strategies in future. +*/ + +// Alloca inclusion code below copied from +// https://github.com/nothings/stb/blob/master/stb_vorbis.c + +// find definition of alloca if it's not in stdlib.h: +#if defined(_MSC_VER) || defined(__MINGW32__) + #include +#endif +#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) + #include +#endif + +#if defined(THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE) || \ + defined(THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER) || \ + defined(THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT) || \ + defined(THSVS_ERROR_CHECK_POTENTIAL_HAZARD) + #include +#endif + +#if !defined(THSVS_TEMP_ALLOC) +#define THSVS_TEMP_ALLOC(size) (alloca(size)) +#endif + +#if !defined(THSVS_TEMP_FREE) +#define THSVS_TEMP_FREE(x) ((void)(x)) +#endif + typedef struct ThsvsVkAccessInfo { VkPipelineStageFlags stageMask; VkAccessFlags accessMask; @@ -780,72 +859,51 @@ const ThsvsVkAccessInfo ThsvsAccessMap[THSVS_NUM_ACCESS_TYPES] = { VK_IMAGE_LAYOUT_GENERAL} }; -#endif // THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_H +void thsvsGetAccessInfo( + uint32_t accessCount, + const ThsvsAccessType* pAccesses, + VkPipelineStageFlags* pStageMask, + VkAccessFlags* pAccessMask, + VkImageLayout* pImageLayout, + bool* pHasWriteAccess) +{ + *pStageMask = 0; + *pAccessMask = 0; + *pImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; + *pHasWriteAccess = false; -#ifdef THSVS_SIMPLER_VULKAN_SYNCHRONIZATION_IMPLEMENTATION + for (uint32_t i = 0; i < accessCount; ++i) + { + ThsvsAccessType access = pAccesses[i]; + const ThsvsVkAccessInfo* pAccessInfo = &ThsvsAccessMap[access]; -#include - -//// Optional Error Checking //// -/* -Checks for barriers defining multiple usages that have different layouts -*/ -// #define THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT - -/* -Checks if an image/buffer barrier is used when a global barrier would suffice -*/ -// #define THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER - -/* -Checks if a write access is listed alongside any other access - if so it -points to a potential data hazard that you need to synchronize separately. -In some cases it may simply be over-synchronization however, but it's usually -worth checking. -*/ -// #define THSVS_ERROR_CHECK_POTENTIAL_HAZARD - -/* -Checks if a variety of table lookups (like the access map) are within -a valid range. -*/ -// #define THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE - -//// Temporary Memory Allocation //// -/* -Override these if you can't afford the stack space or just want to use a -custom temporary allocator. -These are currently used exclusively to allocate Vulkan memory barriers in -the API, one for each Buffer or Image barrier passed into the pipeline and -event functions. -May consider other allocation strategies in future. -*/ - -// Alloca inclusion code below copied from -// https://github.com/nothings/stb/blob/master/stb_vorbis.c - -// find definition of alloca if it's not in stdlib.h: -#if defined(_MSC_VER) || defined(__MINGW32__) - #include -#endif -#if defined(__linux__) || defined(__linux) || defined(__EMSCRIPTEN__) - #include +#ifdef THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE + // Asserts that the previous access index is a valid range for the lookup + assert(access < THSVS_NUM_ACCESS_TYPES); #endif -#if defined(THSVS_ERROR_CHECK_ACCESS_TYPE_IN_RANGE) || \ - defined(THSVS_ERROR_CHECK_COULD_USE_GLOBAL_BARRIER) || \ - defined(THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT) || \ - defined(THSVS_ERROR_CHECK_POTENTIAL_HAZARD) - #include +#ifdef THSVS_ERROR_CHECK_POTENTIAL_HAZARD + // Asserts that the access is a read, else it's a write and it should appear on its own. + assert(access < THSVS_END_OF_READ_ACCESS || accessCount == 1); #endif -#if !defined(THSVS_TEMP_ALLOC) -#define THSVS_TEMP_ALLOC(size) (alloca(size)) + *pStageMask |= pAccessInfo->stageMask; + + if (access > THSVS_END_OF_READ_ACCESS) + *pHasWriteAccess = true; + + *pAccessMask |= pAccessInfo->accessMask; + + VkImageLayout layout = pAccessInfo->imageLayout; + +#ifdef THSVS_ERROR_CHECK_MIXED_IMAGE_LAYOUT + assert(*pImageLayout == VK_IMAGE_LAYOUT_UNDEFINED || + *pImageLayout == layout); #endif -#if !defined(THSVS_TEMP_FREE) -#define THSVS_TEMP_FREE(x) ((void)(x)) -#endif + *pImageLayout = layout; + } +} void thsvsGetVulkanMemoryBarrier( const ThsvsGlobalBarrier& thBarrier, @@ -899,7 +957,7 @@ void thsvsGetVulkanMemoryBarrier( *pDstStages |= pNextAccessInfo->stageMask; // Add visibility operations as necessary. - // If the src access mask, this is a WAR hazard (or for some reason a "RAR"), + // If the src access mask is zero, this is a WAR hazard (or for some reason a "RAR"), // so the dst access mask can be safely zeroed as these don't need visibility. if (pVkBarrier->srcAccessMask != 0) pVkBarrier->dstAccessMask |= pNextAccessInfo->accessMask; @@ -974,7 +1032,7 @@ void thsvsGetVulkanBufferMemoryBarrier( *pDstStages |= pNextAccessInfo->stageMask; // Add visibility operations as necessary. - // If the src access mask, this is a WAR hazard (or for some reason a "RAR"), + // If the src access mask is zero, this is a WAR hazard (or for some reason a "RAR"), // so the dst access mask can be safely zeroed as these don't need visibility. if (pVkBarrier->srcAccessMask != 0) pVkBarrier->dstAccessMask |= pNextAccessInfo->accessMask; @@ -1078,7 +1136,7 @@ void thsvsGetVulkanImageMemoryBarrier( *pDstStages |= pNextAccessInfo->stageMask; // Add visibility operations as necessary. - // If the src access mask, this is a WAR hazard (or for some reason a "RAR"), + // If the src access mask is zero, this is a WAR hazard (or for some reason a "RAR"), // so the dst access mask can be safely zeroed as these don't need visibility. if (pVkBarrier->srcAccessMask != 0) pVkBarrier->dstAccessMask |= pNextAccessInfo->accessMask; From ae743ada836453312e1c6883bf2ff86bb06e4c48 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 28 Jan 2021 20:07:44 +0800 Subject: [PATCH 142/270] Fix merge issues --- native/cocos/renderer/core/gfx/GFXCommandBuffer.h | 2 +- native/cocos/renderer/gfx-metal/MTLCommandBuffer.h | 2 +- native/cocos/renderer/gfx-metal/MTLQueue.h | 2 +- native/cocos/renderer/gfx-metal/MTLQueue.mm | 2 +- native/cocos/renderer/gfx-metal/MTLUtils.mm | 10 ---------- 5 files changed, 4 insertions(+), 14 deletions(-) diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 1cd543282e..16ed5b378f 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -44,7 +44,7 @@ public: CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr); } CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } - CC_INLINE void execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } + CC_INLINE void execute(CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); } CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index a04cfcc108..b5ef83c68c 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -69,7 +69,7 @@ public: void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; - void execute(const CommandBuffer *const *cmdBuffs, uint32_t count) override; + void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; void dispatch(const DispatchInfo &info) override; void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.h b/native/cocos/renderer/gfx-metal/MTLQueue.h index 840c50ead9..7aa4eaddd4 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.h +++ b/native/cocos/renderer/gfx-metal/MTLQueue.h @@ -38,7 +38,7 @@ public: bool initialize(const QueueInfo &info) override; void destroy() override; - void submit(const CommandBuffer *const *cmdBuffs, uint count) override; + void submit(CommandBuffer *const *cmdBuffs, uint count) override; private: uint _numDrawCalls = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.mm b/native/cocos/renderer/gfx-metal/MTLQueue.mm index 535da8f4ec..b5b99d3a04 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.mm +++ b/native/cocos/renderer/gfx-metal/MTLQueue.mm @@ -43,7 +43,7 @@ bool CCMTLQueue::initialize(const QueueInfo &info) { void CCMTLQueue::destroy() { } -void CCMTLQueue::submit(const CommandBuffer *const *cmdBuffs, uint count) { +void CCMTLQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { for (uint i = 0u; i < count; ++i) { CCMTLCommandBuffer *cmdBuffer = (CCMTLCommandBuffer *)cmdBuffs[i]; _numDrawCalls += cmdBuffer->getNumDrawCalls(); diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index f78bb87afe..fe6cd4dee4 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -1523,16 +1523,6 @@ bool mu::pixelFormatIsColorRenderable(Format format) { return !isCompressedFormat && !is422Format && !(pixelFormat == MTLPixelFormatInvalid); } -MTLBlitOption getBlitOption(Format format) { - CC_UNUSED const MTLPixelFormat pixelFormat = toMTLPixelFormat(format); -#if CC_PLATFORM == CC_PLATFORM_MAC_IOS - if (pixelFormat >= MTLPixelFormatPVRTC_RGB_2BPP && pixelFormat <= MTLPixelFormatPVRTC_RGBA_4BPP_sRGB) { - return MTLBlitOptionRowLinearPVRTC; - } -#endif - return MTLBlitOptionNone; -} - //CompareFunction of MTLSamplerDescriptor is only supported on MTLFeatureSet_iOS_GPUFamily3_v1 and later bool mu::isSamplerDescriptorCompareFunctionSupported(uint family) { #if CC_PLATFORM == CC_PLATFORM_MAC_IOS From 6c9594864c43ccb08a6a3c2bbe4294552de1066c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 29 Jan 2021 17:09:56 +0800 Subject: [PATCH 143/270] gfx: define generator --- .../cocos/renderer/core/gfx/GFXDef-common.h | 1208 +++++++++++++++++ native/cocos/renderer/core/gfx/GFXDef.h | 1195 +--------------- native/tools/gfx-define-generator/.gitignore | 3 + native/tools/gfx-define-generator/generate.js | 255 ++++ .../gfx-define-generator/package-lock.json | 21 + .../tools/gfx-define-generator/package.json | 14 + 6 files changed, 1509 insertions(+), 1187 deletions(-) create mode 100644 native/cocos/renderer/core/gfx/GFXDef-common.h create mode 100644 native/tools/gfx-define-generator/.gitignore create mode 100644 native/tools/gfx-define-generator/generate.js create mode 100644 native/tools/gfx-define-generator/package-lock.json create mode 100644 native/tools/gfx-define-generator/package.json diff --git a/native/cocos/renderer/core/gfx/GFXDef-common.h b/native/cocos/renderer/core/gfx/GFXDef-common.h new file mode 100644 index 0000000000..8fe650a831 --- /dev/null +++ b/native/cocos/renderer/core/gfx/GFXDef-common.h @@ -0,0 +1,1208 @@ +#ifndef CC_CORE_GFX_DEF_COMMON_H_ +#define CC_CORE_GFX_DEF_COMMON_H_ + +/** + * This file should be synced with engine/cocos/core/gfx/define.ts + * every time changes being made, by manually running: + * node tools/gfx-define-generator/generate.js + * + * Due to Clang AST's incompleteness for now we are parsing this header manually. + * Some caveat: + * * native-specific structs should not be included here, put them in GFXDef.h instead + * * no typedefs, only usings + * * define struct members first, then other helper functions + * * macros are hardcoded in the generator for now + * * aliases can only be used as types, not values (e.g. BufferUsage::NONE is illegal) + * * parser directives can be specified in comments right after struct member declarations: + * * @ts-nullable: declare the member optional + * * @ts-overrides `YAML declaration`: overrides any parsed results, use with caution + * * each struct member have to be specified in a single line, including optional parser directives + */ + +namespace cc { +namespace gfx { + +#define GFX_MAX_ATTACHMENTS 4 +#define GFX_INVALID_BINDING ((uint)-1) + +using BufferList = vector; +using TextureList = vector; +using SamplerList = vector; +using DescriptorSetLayoutList = vector; + +enum class ObjectType { + UNKNOWN, + BUFFER, + TEXTURE, + RENDER_PASS, + FRAMEBUFFER, + SAMPLER, + SHADER, + DESCRIPTOR_SET_LAYOUT, + PIPELINE_LAYOUT, + PIPELINE_STATE, + DESCRIPTOR_SET, + INPUT_ASSEMBLER, + COMMAND_BUFFER, + QUEUE, + GLOBAL_BARRIER, + TEXTURE_BARRIER, + BUFFER_BARRIER, +}; + +enum class Status { + UNREADY, + FAILED, + SUCCESS, +}; + +enum class API { + UNKNOWN, + GLES2, + GLES3, + METAL, + VULKAN, + WEBGL, + WEBGL2, + WEBGPU, +}; + +enum class SurfaceTransform { + IDENTITY, + ROTATE_90, + ROTATE_180, + ROTATE_270, +}; + +enum class Feature { + COLOR_FLOAT, + COLOR_HALF_FLOAT, + TEXTURE_FLOAT, + TEXTURE_HALF_FLOAT, + TEXTURE_FLOAT_LINEAR, + TEXTURE_HALF_FLOAT_LINEAR, + FORMAT_R11G11B10F, + FORMAT_D16, + FORMAT_D16S8, + FORMAT_D24, + FORMAT_D24S8, + FORMAT_D32F, + FORMAT_D32FS8, + FORMAT_ETC1, + FORMAT_ETC2, + FORMAT_DXT, + FORMAT_PVRTC, + FORMAT_ASTC, + FORMAT_RGB8, + MSAA, + ELEMENT_INDEX_UINT, + INSTANCED_ARRAYS, + MULTIPLE_RENDER_TARGETS, + BLEND_MINMAX, + DEPTH_BOUNDS, + LINE_WIDTH, + STENCIL_WRITE_MASK, + STENCIL_COMPARE_MASK, + MULTITHREADED_SUBMISSION, + COMPUTE_SHADER, + COUNT, +}; + +enum class Format { + + UNKNOWN, + + A8, + L8, + LA8, + + R8, + R8SN, + R8UI, + R8I, + R16F, + R16UI, + R16I, + R32F, + R32UI, + R32I, + + RG8, + RG8SN, + RG8UI, + RG8I, + RG16F, + RG16UI, + RG16I, + RG32F, + RG32UI, + RG32I, + + RGB8, + SRGB8, + RGB8SN, + RGB8UI, + RGB8I, + RGB16F, + RGB16UI, + RGB16I, + RGB32F, + RGB32UI, + RGB32I, + + RGBA8, + BGRA8, + SRGB8_A8, + RGBA8SN, + RGBA8UI, + RGBA8I, + RGBA16F, + RGBA16UI, + RGBA16I, + RGBA32F, + RGBA32UI, + RGBA32I, + + // Special Format + R5G6B5, + R11G11B10F, + RGB5A1, + RGBA4, + RGB10A2, + RGB10A2UI, + RGB9E5, + + // Depth-Stencil Format + D16, + D16S8, + D24, + D24S8, + D32F, + D32F_S8, + + // Compressed Format + + // Block Compression Format, DDS (DirectDraw Surface) + // DXT1: 3 channels (5:6:5), 1/8 origianl size, with 0 or 1 bit of alpha + BC1, + BC1_ALPHA, + BC1_SRGB, + BC1_SRGB_ALPHA, + // DXT3: 4 channels (5:6:5), 1/4 origianl size, with 4 bits of alpha + BC2, + BC2_SRGB, + // DXT5: 4 channels (5:6:5), 1/4 origianl size, with 8 bits of alpha + BC3, + BC3_SRGB, + // 1 channel (8), 1/4 origianl size + BC4, + BC4_SNORM, + // 2 channels (8:8), 1/2 origianl size + BC5, + BC5_SNORM, + // 3 channels (16:16:16), half-floating point, 1/6 origianl size + // UF16: unsigned float, 5 exponent bits + 11 mantissa bits + // SF16: signed float, 1 signed bit + 5 exponent bits + 10 mantissa bits + BC6H_UF16, + BC6H_SF16, + // 4 channels (4~7 bits per channel) with 0 to 8 bits of alpha, 1/3 original size + BC7, + BC7_SRGB, + + // Ericsson Texture Compression Format + ETC_RGB8, + ETC2_RGB8, + ETC2_SRGB8, + ETC2_RGB8_A1, + ETC2_SRGB8_A1, + ETC2_RGBA8, + ETC2_SRGB8_A8, + EAC_R11, + EAC_R11SN, + EAC_RG11, + EAC_RG11SN, + + // PVRTC (PowerVR) + PVRTC_RGB2, + PVRTC_RGBA2, + PVRTC_RGB4, + PVRTC_RGBA4, + PVRTC2_2BPP, + PVRTC2_4BPP, + + // ASTC (Adaptive Scalable Texture Compression) + ASTC_RGBA_4x4, + ASTC_RGBA_5x4, + ASTC_RGBA_5x5, + ASTC_RGBA_6x5, + ASTC_RGBA_6x6, + ASTC_RGBA_8x5, + ASTC_RGBA_8x6, + ASTC_RGBA_8x8, + ASTC_RGBA_10x5, + ASTC_RGBA_10x6, + ASTC_RGBA_10x8, + ASTC_RGBA_10x10, + ASTC_RGBA_12x10, + ASTC_RGBA_12x12, + + // ASTC (Adaptive Scalable Texture Compression) SRGB + ASTC_SRGBA_4x4, + ASTC_SRGBA_5x4, + ASTC_SRGBA_5x5, + ASTC_SRGBA_6x5, + ASTC_SRGBA_6x6, + ASTC_SRGBA_8x5, + ASTC_SRGBA_8x6, + ASTC_SRGBA_8x8, + ASTC_SRGBA_10x5, + ASTC_SRGBA_10x6, + ASTC_SRGBA_10x8, + ASTC_SRGBA_10x10, + ASTC_SRGBA_12x10, + ASTC_SRGBA_12x12, + + // Total count + COUNT, +}; + +enum class FormatType { + NONE, + UNORM, + SNORM, + UINT, + INT, + UFLOAT, + FLOAT, +}; + +enum class Type { + UNKNOWN, + BOOL, + BOOL2, + BOOL3, + BOOL4, + INT, + INT2, + INT3, + INT4, + UINT, + UINT2, + UINT3, + UINT4, + FLOAT, + FLOAT2, + FLOAT3, + FLOAT4, + MAT2, + MAT2X3, + MAT2X4, + MAT3X2, + MAT3, + MAT3X4, + MAT4X2, + MAT4X3, + MAT4, + // combined image samplers + SAMPLER1D, + SAMPLER1D_ARRAY, + SAMPLER2D, + SAMPLER2D_ARRAY, + SAMPLER3D, + SAMPLER_CUBE, + // sampler + SAMPLER, + // sampled textures + TEXTURE1D, + TEXTURE1D_ARRAY, + TEXTURE2D, + TEXTURE2D_ARRAY, + TEXTURE3D, + TEXTURE_CUBE, + // storage images + IMAGE1D, + IMAGE1D_ARRAY, + IMAGE2D, + IMAGE2D_ARRAY, + IMAGE3D, + IMAGE_CUBE, + // input attachment + SUBPASS_INPUT, + COUNT, +}; +bool isCombinedImageSampler(Type type); +bool isSampledImage(Type type); +bool isStorageImage(Type type); + +enum class BufferUsageBit : FlagBits { + NONE = 0, + TRANSFER_SRC = 0x1, + TRANSFER_DST = 0x2, + INDEX = 0x4, + VERTEX = 0x8, + UNIFORM = 0x10, + STORAGE = 0x20, + INDIRECT = 0x40, +}; +using BufferUsage = BufferUsageBit; +CC_ENUM_OPERATORS(BufferUsageBit); + +enum class BufferFlagBit : FlagBits { + NONE = 0, + BAKUP_BUFFER = 0x4, +}; +using BufferFlags = BufferFlagBit; +CC_ENUM_OPERATORS(BufferFlagBit); + +enum class MemoryAccessBit : FlagBits { + NONE = 0, + READ_ONLY = 0x1, + WRITE_ONLY = 0x2, + READ_WRITE = READ_ONLY | WRITE_ONLY, +}; +using MemoryAccess = MemoryAccessBit; + +enum class MemoryUsageBit : FlagBits { + NONE = 0, + DEVICE = 0x1, + HOST = 0x2, +}; +using MemoryUsage = MemoryUsageBit; +CC_ENUM_OPERATORS(MemoryUsageBit); + +enum class TextureType { + TEX1D, + TEX2D, + TEX3D, + CUBE, + TEX1D_ARRAY, + TEX2D_ARRAY, +}; + +enum class TextureUsageBit : FlagBits { + NONE = 0, + TRANSFER_SRC = 0x1, + TRANSFER_DST = 0x2, + SAMPLED = 0x4, + STORAGE = 0x8, + COLOR_ATTACHMENT = 0x10, + DEPTH_STENCIL_ATTACHMENT = 0x20, + TRANSIENT_ATTACHMENT = 0x40, + INPUT_ATTACHMENT = 0x80, +}; +using TextureUsage = TextureUsageBit; +CC_ENUM_OPERATORS(TextureUsageBit); + +enum class TextureFlagBit : FlagBits { + NONE = 0, + GEN_MIPMAP = 0x1, + BAKUP_BUFFER = 0x2, + IMMUTABLE = 0x4, +}; +using TextureFlags = TextureFlagBit; +CC_ENUM_OPERATORS(TextureFlagBit); + +enum class SampleCount { + X1, + X2, + X4, + X8, + X16, + X32, + X64, +}; + +enum class Filter { + NONE, + POINT, + LINEAR, + ANISOTROPIC, +}; + +enum class Address { + WRAP, + MIRROR, + CLAMP, + BORDER, +}; + +enum class ComparisonFunc { + NEVER, + LESS, + EQUAL, + LESS_EQUAL, + GREATER, + NOT_EQUAL, + GREATER_EQUAL, + ALWAYS, +}; + +enum class StencilOp { + ZERO, + KEEP, + REPLACE, + INCR, + DECR, + INVERT, + INCR_WRAP, + DECR_WRAP, +}; + +enum class BlendFactor { + ZERO, + ONE, + SRC_ALPHA, + DST_ALPHA, + ONE_MINUS_SRC_ALPHA, + ONE_MINUS_DST_ALPHA, + SRC_COLOR, + DST_COLOR, + ONE_MINUS_SRC_COLOR, + ONE_MINUS_DST_COLOR, + SRC_ALPHA_SATURATE, + CONSTANT_COLOR, + ONE_MINUS_CONSTANT_COLOR, + CONSTANT_ALPHA, + ONE_MINUS_CONSTANT_ALPHA, +}; + +enum class BlendOp { + ADD, + SUB, + REV_SUB, + MIN, + MAX, +}; + +enum class ColorMask : FlagBits { + NONE = 0x0, + R = 0x1, + G = 0x2, + B = 0x4, + A = 0x8, + ALL = R | G | B | A, +}; +CC_ENUM_OPERATORS(ColorMask); + +enum class ShaderStageFlagBit : FlagBits { + NONE = 0x0, + VERTEX = 0x1, + CONTROL = 0x2, + EVALUATION = 0x4, + GEOMETRY = 0x8, + FRAGMENT = 0x10, + COMPUTE = 0x20, + ALL = 0x3f, +}; +using ShaderStageFlags = ShaderStageFlagBit; +CC_ENUM_OPERATORS(ShaderStageFlagBit); + +enum class LoadOp { + LOAD, // Load the contents from the fbo from previous + CLEAR, // Clear the fbo + DISCARD, // Ignore writing to the fbo and keep old data +}; + +enum class StoreOp { + STORE, // Write the source to the destination + DISCARD, // Don't write the source to the destination +}; + +enum class AccessType { + NONE, + + // Read access + INDIRECT_BUFFER, // Read as an indirect buffer for drawing or dispatch + INDEX_BUFFER, // Read as an index buffer for drawing + VERTEX_BUFFER, // Read as a vertex buffer for drawing + VERTEX_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a vertex shader + VERTEX_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a vertex shader + VERTEX_SHADER_READ_OTHER, // Read as any other resource in a vertex shader + FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a fragment shader + FRAGMENT_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a fragment shader + FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT, // Read as an input attachment with a color format in a fragment shader + FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT, // Read as an input attachment with a depth/stencil format in a fragment shader + FRAGMENT_SHADER_READ_OTHER, // Read as any other resource in a fragment shader + COLOR_ATTACHMENT_READ, // Read by standard blending/logic operations or subpass load operations + DEPTH_STENCIL_ATTACHMENT_READ, // Read by depth/stencil tests or subpass load operations + COMPUTE_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a compute shader + COMPUTE_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a compute shader + COMPUTE_SHADER_READ_OTHER, // Read as any other resource in a compute shader + TRANSFER_READ, // Read as the source of a transfer operation + HOST_READ, // Read on the host + PRESENT, // Read by the presentation engine + + // Write access + VERTEX_SHADER_WRITE, // Written as any resource in a vertex shader + FRAGMENT_SHADER_WRITE, // Written as any resource in a fragment shader + COLOR_ATTACHMENT_WRITE, // Written as a color attachment during rendering, or via a subpass store op + DEPTH_STENCIL_ATTACHMENT_WRITE, // Written as a depth/stencil attachment during rendering, or via a subpass store op + COMPUTE_SHADER_WRITE, // Written as any resource in a compute shader + TRANSFER_WRITE, // Written as the destination of a transfer operation + HOST_PREINITIALIZED, // Data pre-filled by host before device access starts + HOST_WRITE, // Written on the host +}; + +using AccessTypeList = vector; + +enum class PipelineBindPoint { + GRAPHICS, + COMPUTE, + RAY_TRACING, +}; + +enum class PrimitiveMode { + POINT_LIST, + LINE_LIST, + LINE_STRIP, + LINE_LOOP, + LINE_LIST_ADJACENCY, + LINE_STRIP_ADJACENCY, + ISO_LINE_LIST, + // raycast detectable: + TRIANGLE_LIST, + TRIANGLE_STRIP, + TRIANGLE_FAN, + TRIANGLE_LIST_ADJACENCY, + TRIANGLE_STRIP_ADJACENCY, + TRIANGLE_PATCH_ADJACENCY, + QUAD_PATCH_LIST, +}; + +enum class PolygonMode { + FILL, + POINT, + LINE, +}; + +enum class ShadeModel { + GOURAND, + FLAT, +}; + +enum class CullMode { + NONE, + FRONT, + BACK, +}; + +enum class DynamicStateFlagBit : FlagBits { + NONE = 0x0, + VIEWPORT = 0x1, + SCISSOR = 0x2, + LINE_WIDTH = 0x4, + DEPTH_BIAS = 0x8, + BLEND_CONSTANTS = 0x10, + DEPTH_BOUNDS = 0x20, + STENCIL_WRITE_MASK = 0x40, + STENCIL_COMPARE_MASK = 0x80, +}; +using DynamicStateFlags = DynamicStateFlagBit; +CC_ENUM_OPERATORS(DynamicStateFlagBit); + +using DynamicStateList = vector; + +enum class StencilFace { + FRONT, + BACK, + ALL, +}; + +enum class DescriptorType : FlagBits { + UNKNOWN = 0, + UNIFORM_BUFFER = 0x1, + DYNAMIC_UNIFORM_BUFFER = 0x2, + STORAGE_BUFFER = 0x4, + DYNAMIC_STORAGE_BUFFER = 0x8, + SAMPLER_TEXTURE = 0x10, + SAMPLER = 0x20, + TEXTURE = 0x40, + STORAGE_IMAGE = 0x80, + INPUT_ATTACHMENT = 0x100, +}; +CC_ENUM_OPERATORS(DescriptorType); + +enum class QueueType { + GRAPHICS, + COMPUTE, + TRANSFER, +}; + +enum class CommandBufferType { + PRIMARY, + SECONDARY, +}; + +enum class ClearFlagBit : FlagBits { + NONE = 0, + COLOR = 0x1, + DEPTH = 0x2, + STENCIL = 0x4, + DEPTH_STENCIL = DEPTH | STENCIL, + ALL = COLOR | DEPTH | STENCIL, +}; +using ClearFlags = ClearFlagBit; +CC_ENUM_OPERATORS(ClearFlagBit); + +struct Size { + uint x = 0u; + uint y = 0u; + uint z = 0u; +}; + +struct DeviceCaps { + uint maxVertexAttributes = 0u; + uint maxVertexUniformVectors = 0u; + uint maxFragmentUniformVectors = 0u; + uint maxTextureUnits = 0u; + uint maxImageUnits = 0u; + uint maxVertexTextureUnits = 0u; + uint maxColorRenderTargets = 0u; + uint maxShaderStorageBufferBindings = 0u; + uint maxShaderStorageBlockSize = 0u; + uint maxUniformBufferBindings = 0u; + uint maxUniformBlockSize = 0u; + uint maxTextureSize = 0u; + uint maxCubeMapTextureSize = 0u; + uint uboOffsetAlignment = 0u; + uint depthBits = 0u; + uint stencilBits = 0u; + uint maxComputeSharedMemorySize = 0u; + uint maxComputeWorkGroupInvocations = 0u; + Size maxComputeWorkGroupSize; + Size maxComputeWorkGroupCount; + float clipSpaceMinZ = -1.0f; + float screenSpaceSignY = 1.0f; + float UVSpaceSignY = -1.0f; +}; + +struct Offset { + int x = 0; + int y = 0; + int z = 0; +}; + +struct Rect { + int x = 0; + int y = 0; + uint width = 1u; + uint height = 1u; + + bool operator==(const Rect &rs) { + if (x == rs.x && + y == rs.y && + width == rs.width && + height == rs.height) { + return true; + } else + return false; + } + + bool operator!=(const Rect &rs) { + return !(*this == rs); + } +}; + +struct Extent { + uint width = 0u; + uint height = 0u; + uint depth = 1u; +}; + +struct TextureSubresLayers { + uint mipLevel = 0u; + uint baseArrayLayer = 0u; + uint layerCount = 1u; +}; + +struct TextureSubresRange { + uint baseMipLevel = 0u; + uint levelCount = 1u; + uint baseArrayLayer = 0u; + uint layerCount = 1u; +}; + +struct TextureCopy { + TextureSubresLayers srcSubres; + Offset srcOffset; + TextureSubresLayers dstSubres; + Offset dstOffset; + Extent extent; +}; + +struct TextureBlit { + TextureSubresLayers srcSubres; + Offset srcOffset; + Extent srcExtent; + TextureSubresLayers dstSubres; + Offset dstOffset; + Extent dstExtent; +}; +using TextureBlitList = vector; + +struct BufferTextureCopy { + uint buffStride = 0; + uint buffTexHeight = 0; + Offset texOffset; + Extent texExtent; + TextureSubresLayers texSubres; +}; +using BufferTextureCopyList = vector; + +struct Viewport { + int left = 0; + int top = 0; + uint width = 0; + uint height = 0; + float minDepth = 0.0f; + float maxDepth = 1.0f; + + bool operator==(const Viewport &rs) { + return (left == rs.left && + top == rs.top && + width == rs.width && + height == rs.height && + math::IsEqualF(minDepth, rs.minDepth) && + math::IsEqualF(maxDepth, maxDepth)); + } + + bool operator!=(const Viewport &rs) { + return !(*this == rs); + } +}; + +struct Color { + float x = 0.0f; + float y = 0.0f; + float z = 0.0f; + float w = 0.0f; + + bool operator==(const Color &rhs) { + return (math::IsEqualF(x, rhs.x) && + math::IsEqualF(y, rhs.y) && + math::IsEqualF(z, rhs.z) && + math::IsEqualF(w, rhs.w)); + } +}; +using ColorList = vector; + +/** + * For non-vulkan backends, to maintain compatibility and maximize + * descriptor cache-locality, descriptor-set-based binding numbers need + * to be mapped to backend-specific bindings based on maximum limit + * of available descriptor slots in each set. + * + * The GFX layer assumes the binding numbers for each descriptor type inside each set + * are guaranteed to be consecutive, so the mapping procedure is reduced + * to a simple shifting operation. This data structure specifies the + * offsets for each descriptor type in each set. + */ +struct BindingMappingInfo { + vector bufferOffsets; + vector samplerOffsets; + uint flexibleSet = 0u; +}; + +struct BufferInfo { + BufferUsage usage = BufferUsageBit::NONE; + MemoryUsage memUsage = MemoryUsageBit::NONE; + uint size = 0u; + uint stride = 0u; // in bytes + BufferFlags flags = BufferFlagBit::NONE; +}; + +struct BufferViewInfo { + Buffer *buffer = nullptr; + uint offset = 0u; + uint range = 0u; +}; + +struct DrawInfo { + uint vertexCount = 0u; + uint firstVertex = 0u; + uint indexCount = 0u; + uint firstIndex = 0u; + uint vertexOffset = 0u; + uint instanceCount = 0u; + uint firstInstance = 0u; +}; + +using DrawInfoList = vector; + +struct DispatchInfo { + uint groupCountX = 0u; + uint groupCountY = 0u; + uint groupCountZ = 0u; + + Buffer *indirectBuffer = nullptr; // @ts-nullable + uint indirectOffset = 0u; +}; + +using DispatchInfoList = vector; + +struct IndirectBuffer { + DrawInfoList drawInfos; +}; + +struct TextureInfo { + TextureType type = TextureType::TEX2D; + TextureUsage usage = TextureUsageBit::NONE; + Format format = Format::UNKNOWN; + uint width = 0u; + uint height = 0u; + TextureFlags flags = TextureFlagBit::NONE; + uint layerCount = 1u; + uint levelCount = 1u; + SampleCount samples = SampleCount::X1; + uint depth = 1u; +}; + +struct TextureViewInfo { + Texture * texture = nullptr; + TextureType type = TextureType::TEX2D; + Format format = Format::UNKNOWN; + uint baseLevel = 0u; + uint levelCount = 1u; + uint baseLayer = 0u; + uint layerCount = 1u; +}; + +struct SamplerInfo { + Filter minFilter = Filter::LINEAR; + Filter magFilter = Filter::LINEAR; + Filter mipFilter = Filter::NONE; + Address addressU = Address::WRAP; + Address addressV = Address::WRAP; + Address addressW = Address::WRAP; + uint maxAnisotropy = 0u; + ComparisonFunc cmpFunc = ComparisonFunc::NEVER; + Color borderColor; + uint minLOD = 0; + uint maxLOD = 1000; + float mipLODBias = 0.0f; +}; + +struct ShaderMacro { + String macro; + String value; +}; + +using ShaderMacroList = vector; + +struct Uniform { + String name; + Type type = Type::UNKNOWN; + uint count = 0u; +}; + +using UniformList = vector; + +struct UniformBlock { + uint set = 0u; + uint binding = 0u; + String name; + UniformList members; + uint count = 0u; +}; + +using UniformBlockList = vector; + +struct UniformSamplerTexture { + uint set = 0u; + uint binding = 0u; + String name; + Type type = Type::UNKNOWN; + uint count = 0u; +}; + +using UniformSamplerTextureList = vector; + +struct UniformSampler { + uint set = 0u; + uint binding = 0u; + String name; + uint count = 0u; +}; + +using UniformSamplerList = vector; + +struct UniformTexture { + uint set = 0u; + uint binding = 0u; + String name; + Type type = Type::UNKNOWN; + uint count = 0u; +}; + +using UniformTextureList = vector; + +struct UniformStorageImage { + uint set = 0u; + uint binding = 0u; + String name; + Type type = Type::UNKNOWN; + uint count = 0u; + MemoryAccess memoryAccess = MemoryAccessBit::READ_WRITE; +}; + +using UniformStorageImageList = vector; + +struct UniformStorageBuffer { + uint set = 0u; + uint binding = 0u; + String name; + uint count = 0u; + MemoryAccess memoryAccess = MemoryAccessBit::READ_WRITE; +}; + +using UniformStorageBufferList = vector; + +struct UniformInputAttachment { + uint set = 0u; + uint binding = 0u; + String name; + uint count = 0u; +}; + +using UniformInputAttachmentList = vector; + +struct ShaderStage { + ShaderStageFlagBit stage = ShaderStageFlagBit::NONE; + String source; +}; + +using ShaderStageList = vector; + +struct Attribute { + String name; + Format format = Format::UNKNOWN; + bool isNormalized = false; + uint stream = 0; + bool isInstanced = false; + uint location = 0; +}; + +using AttributeList = vector; + +struct ShaderInfo { + String name; + ShaderStageList stages; + AttributeList attributes; + UniformBlockList blocks; + UniformStorageBufferList buffers; + UniformSamplerTextureList samplerTextures; + UniformSamplerList samplers; + UniformTextureList textures; + UniformStorageImageList images; + UniformInputAttachmentList subpassInputs; +}; + +struct InputAssemblerInfo { + AttributeList attributes; + BufferList vertexBuffers; + Buffer * indexBuffer = nullptr; // @ts-nullable + Buffer * indirectBuffer = nullptr; // @ts-nullable +}; + +struct ColorAttachment { + Format format = Format::UNKNOWN; + SampleCount sampleCount = SampleCount::X1; + LoadOp loadOp = LoadOp::CLEAR; + StoreOp storeOp = StoreOp::STORE; + vector beginAccesses; + vector endAccesses{AccessType::PRESENT}; +}; + +using ColorAttachmentList = vector; + +struct DepthStencilAttachment { + Format format = Format::UNKNOWN; + SampleCount sampleCount = SampleCount::X1; + LoadOp depthLoadOp = LoadOp::CLEAR; + StoreOp depthStoreOp = StoreOp::STORE; + LoadOp stencilLoadOp = LoadOp::CLEAR; + StoreOp stencilStoreOp = StoreOp::STORE; + vector beginAccesses; + vector endAccesses{AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; +}; + +struct SubpassInfo { + vector inputs; + vector colors; + vector resolves; + vector preserves; + uint depthStencil = GFX_INVALID_BINDING; +}; + +using SubpassInfoList = vector; + +struct RenderPassInfo { + ColorAttachmentList colorAttachments; + DepthStencilAttachment depthStencilAttachment; + SubpassInfoList subpasses; +}; + +struct GlobalBarrierInfo { + vector prevAccesses; + vector nextAccesses; +}; +using GlobalBarrierInfoList = vector; + +struct TextureBarrierInfo { + vector prevAccesses; + vector nextAccesses; + + bool discardContents = false; + + Queue *srcQueue = nullptr; // @ts-nullable + Queue *dstQueue = nullptr; // @ts-nullable +}; +using TextureBarrierInfoList = vector; + +struct FramebufferInfo { + RenderPass * renderPass = nullptr; + TextureList colorTextures; // @ts-overrides { type: '(Texture | null)[]' } + Texture * depthStencilTexture = nullptr; // @ts-nullable + vector colorMipmapLevels; + uint depthStencilMipmapLevel = 0; +}; + +struct DescriptorSetLayoutBinding { + uint binding = GFX_INVALID_BINDING; + DescriptorType descriptorType = DescriptorType::UNKNOWN; + uint count = 0; + ShaderStageFlags stageFlags = ShaderStageFlagBit::NONE; + SamplerList immutableSamplers; +}; +using DescriptorSetLayoutBindingList = vector; + +struct DescriptorSetLayoutInfo { + DescriptorSetLayoutBindingList bindings; +}; + +struct DescriptorSetInfo { + DescriptorSetLayout *layout = nullptr; +}; + +struct PipelineLayoutInfo { + DescriptorSetLayoutList setLayouts; +}; + +struct InputState { + AttributeList attributes; +}; + +// Use uint for all boolean values to convert memory to RasterizerState* in shared memory. +struct RasterizerState { + uint isDiscard = 0; + PolygonMode polygonMode = PolygonMode::FILL; + ShadeModel shadeModel = ShadeModel::GOURAND; + CullMode cullMode = CullMode::BACK; + uint isFrontFaceCCW = 1; + uint depthBiasEnabled = 0; + float depthBias = 0.0f; + float depthBiasClamp = 0.0f; + float depthBiasSlop = 0.0f; + uint isDepthClip = 1; + uint isMultisample = 0; + float lineWidth = 1.0f; +}; + +// Use uint for all boolean values to convert memory to DepthStencilState* in shared memory. +struct DepthStencilState { + uint depthTest = 1; + uint depthWrite = 1; + ComparisonFunc depthFunc = ComparisonFunc::LESS; + uint stencilTestFront = 0; + ComparisonFunc stencilFuncFront = ComparisonFunc::ALWAYS; + uint stencilReadMaskFront = 0xffffffff; + uint stencilWriteMaskFront = 0xffffffff; + StencilOp stencilFailOpFront = StencilOp::KEEP; + StencilOp stencilZFailOpFront = StencilOp::KEEP; + StencilOp stencilPassOpFront = StencilOp::KEEP; + uint stencilRefFront = 1; + uint stencilTestBack = 0; + ComparisonFunc stencilFuncBack = ComparisonFunc::ALWAYS; + uint stencilReadMaskBack = 0xffffffff; + uint stencilWriteMaskBack = 0xffffffff; + StencilOp stencilFailOpBack = StencilOp::KEEP; + StencilOp stencilZFailOpBack = StencilOp::KEEP; + StencilOp stencilPassOpBack = StencilOp::KEEP; + uint stencilRefBack = 1; +}; + +// Use uint for all boolean values to do convert memory to BlendTarget* in shared memory. +struct BlendTarget { + uint blend = 0; + BlendFactor blendSrc = BlendFactor::ONE; + BlendFactor blendDst = BlendFactor::ZERO; + BlendOp blendEq = BlendOp::ADD; + BlendFactor blendSrcAlpha = BlendFactor::ONE; + BlendFactor blendDstAlpha = BlendFactor::ZERO; + BlendOp blendAlphaEq = BlendOp::ADD; + ColorMask blendColorMask = ColorMask::ALL; +}; + +using BlendTargetList = vector; + +// Use uint for all boolean values to do memeory copy in shared memory. +struct BlendState { + uint isA2C = 0; + uint isIndepend = 0; + Color blendColor; + BlendTargetList targets{1}; +}; + +struct PipelineStateInfo { + Shader * shader = nullptr; + PipelineLayout * pipelineLayout = nullptr; + RenderPass * renderPass = nullptr; + InputState inputState; + RasterizerState rasterizerState; + DepthStencilState depthStencilState; + BlendState blendState; + PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; + DynamicStateFlags dynamicStates = DynamicStateFlagBit::NONE; + PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; +}; + +struct CommandBufferInfo { + Queue * queue = nullptr; + CommandBufferType type = CommandBufferType::PRIMARY; +}; + +struct QueueInfo { + QueueType type = QueueType::GRAPHICS; +}; + +struct FormatInfo { + const String name; + const uint size = 0; + const uint count = 0; + const FormatType type = FormatType::NONE; + const bool hasAlpha = false; + const bool hasDepth = false; + const bool hasStencil = false; + const bool isCompressed = false; +}; + +extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; +extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; +extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; + +extern const FormatInfo GFX_FORMAT_INFOS[]; +extern const uint GFX_TYPE_SIZES[]; + +struct MemoryStatus { + uint bufferSize = 0; + uint textureSize = 0; +}; + +extern uint FormatSize(Format format, uint width, uint height, uint depth); + +extern uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips); + +} // namespace gfx +} // namespace cc + +#endif // CC_CORE_GFX_DEF_COMMON_H_ diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 40d5d6487b..04173654a5 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -20,628 +20,21 @@ class PipelineState; class DescriptorSet; class CommandAllocator; class CommandBuffer; -class Fence; class Queue; class Window; class Context; -#define GFX_MAX_ATTACHMENTS 4 -#define GFX_INVALID_BINDING ((uint)-1) -#define GFX_INVALID_HANDLE ((uint)-1) +using TextureBarrierList = vector; +using BufferDataList = vector; +using CommandBufferList = vector; -enum class ObjectType { - UNKNOWN, - BUFFER, - TEXTURE, - RENDER_PASS, - FRAMEBUFFER, - SAMPLER, - SHADER, - DESCRIPTOR_SET_LAYOUT, - PIPELINE_LAYOUT, - PIPELINE_STATE, - DESCRIPTOR_SET, - INPUT_ASSEMBLER, - COMMAND_BUFFER, - QUEUE, - GLOBAL_BARRIER, - TEXTURE_BARRIER, - BUFFER_BARRIER, -}; +} // namespace gfx +} // namespace cc -enum class Status { - UNREADY, - FAILED, - SUCCESS, -}; +#include "GFXDef-common.h" -enum class API { - UNKNOWN, - GLES2, - GLES3, - METAL, - VULKAN, - WEBGL, - WEBGL2, - WEBGPU, -}; - -enum class SurfaceTransform { - IDENTITY, - ROTATE_90, - ROTATE_180, - ROTATE_270, -}; - -enum class Feature { - COLOR_FLOAT, - COLOR_HALF_FLOAT, - TEXTURE_FLOAT, - TEXTURE_HALF_FLOAT, - TEXTURE_FLOAT_LINEAR, - TEXTURE_HALF_FLOAT_LINEAR, - FORMAT_R11G11B10F, - FORMAT_D16, - FORMAT_D16S8, - FORMAT_D24, - FORMAT_D24S8, - FORMAT_D32F, - FORMAT_D32FS8, - FORMAT_ETC1, - FORMAT_ETC2, - FORMAT_DXT, - FORMAT_PVRTC, - FORMAT_ASTC, - FORMAT_RGB8, - MSAA, - ELEMENT_INDEX_UINT, - INSTANCED_ARRAYS, - MULTIPLE_RENDER_TARGETS, - BLEND_MINMAX, - DEPTH_BOUNDS, - LINE_WIDTH, - STENCIL_WRITE_MASK, - STENCIL_COMPARE_MASK, - MULTITHREADED_SUBMISSION, - COMPUTE_SHADER, - COUNT, -}; - -enum class Format { - - UNKNOWN, - - A8, - L8, - LA8, - - R8, - R8SN, - R8UI, - R8I, - R16F, - R16UI, - R16I, - R32F, - R32UI, - R32I, - - RG8, - RG8SN, - RG8UI, - RG8I, - RG16F, - RG16UI, - RG16I, - RG32F, - RG32UI, - RG32I, - - RGB8, - SRGB8, - RGB8SN, - RGB8UI, - RGB8I, - RGB16F, - RGB16UI, - RGB16I, - RGB32F, - RGB32UI, - RGB32I, - - RGBA8, - BGRA8, - SRGB8_A8, - RGBA8SN, - RGBA8UI, - RGBA8I, - RGBA16F, - RGBA16UI, - RGBA16I, - RGBA32F, - RGBA32UI, - RGBA32I, - - // Special Format - R5G6B5, - R11G11B10F, - RGB5A1, - RGBA4, - RGB10A2, - RGB10A2UI, - RGB9E5, - - // Depth-Stencil Format - D16, - D16S8, - D24, - D24S8, - D32F, - D32F_S8, - - // Compressed Format - - // Block Compression Format, DDS (DirectDraw Surface) - // DXT1: 3 channels (5:6:5), 1/8 origianl size, with 0 or 1 bit of alpha - BC1, - BC1_ALPHA, - BC1_SRGB, - BC1_SRGB_ALPHA, - // DXT3: 4 channels (5:6:5), 1/4 origianl size, with 4 bits of alpha - BC2, - BC2_SRGB, - // DXT5: 4 channels (5:6:5), 1/4 origianl size, with 8 bits of alpha - BC3, - BC3_SRGB, - // 1 channel (8), 1/4 origianl size - BC4, - BC4_SNORM, - // 2 channels (8:8), 1/2 origianl size - BC5, - BC5_SNORM, - // 3 channels (16:16:16), half-floating point, 1/6 origianl size - // UF16: unsigned float, 5 exponent bits + 11 mantissa bits - // SF16: signed float, 1 signed bit + 5 exponent bits + 10 mantissa bits - BC6H_UF16, - BC6H_SF16, - // 4 channels (4~7 bits per channel) with 0 to 8 bits of alpha, 1/3 original size - BC7, - BC7_SRGB, - - // Ericsson Texture Compression Format - ETC_RGB8, - ETC2_RGB8, - ETC2_SRGB8, - ETC2_RGB8_A1, - ETC2_SRGB8_A1, - ETC2_RGBA8, - ETC2_SRGB8_A8, - EAC_R11, - EAC_R11SN, - EAC_RG11, - EAC_RG11SN, - - // PVRTC (PowerVR) - PVRTC_RGB2, - PVRTC_RGBA2, - PVRTC_RGB4, - PVRTC_RGBA4, - PVRTC2_2BPP, - PVRTC2_4BPP, - - // ASTC (Adaptive Scalable Texture Compression) - ASTC_RGBA_4x4, - ASTC_RGBA_5x4, - ASTC_RGBA_5x5, - ASTC_RGBA_6x5, - ASTC_RGBA_6x6, - ASTC_RGBA_8x5, - ASTC_RGBA_8x6, - ASTC_RGBA_8x8, - ASTC_RGBA_10x5, - ASTC_RGBA_10x6, - ASTC_RGBA_10x8, - ASTC_RGBA_10x10, - ASTC_RGBA_12x10, - ASTC_RGBA_12x12, - - // ASTC (Adaptive Scalable Texture Compression) SRGB - ASTC_SRGBA_4x4, - ASTC_SRGBA_5x4, - ASTC_SRGBA_5x5, - ASTC_SRGBA_6x5, - ASTC_SRGBA_6x6, - ASTC_SRGBA_8x5, - ASTC_SRGBA_8x6, - ASTC_SRGBA_8x8, - ASTC_SRGBA_10x5, - ASTC_SRGBA_10x6, - ASTC_SRGBA_10x8, - ASTC_SRGBA_10x10, - ASTC_SRGBA_12x10, - ASTC_SRGBA_12x12, - - // Total count - COUNT, -}; - -enum class FormatType { - NONE, - UNORM, - SNORM, - UINT, - INT, - UFLOAT, - FLOAT, -}; - -enum class Type { - UNKNOWN, - BOOL, - BOOL2, - BOOL3, - BOOL4, - INT, - INT2, - INT3, - INT4, - UINT, - UINT2, - UINT3, - UINT4, - FLOAT, - FLOAT2, - FLOAT3, - FLOAT4, - MAT2, - MAT2X3, - MAT2X4, - MAT3X2, - MAT3, - MAT3X4, - MAT4X2, - MAT4X3, - MAT4, - // combined image samplers - SAMPLER1D, - SAMPLER1D_ARRAY, - SAMPLER2D, - SAMPLER2D_ARRAY, - SAMPLER3D, - SAMPLER_CUBE, - // sampler - SAMPLER, - // sampled textures - TEXTURE1D, - TEXTURE1D_ARRAY, - TEXTURE2D, - TEXTURE2D_ARRAY, - TEXTURE3D, - TEXTURE_CUBE, - // storage images - IMAGE1D, - IMAGE1D_ARRAY, - IMAGE2D, - IMAGE2D_ARRAY, - IMAGE3D, - IMAGE_CUBE, - // input attachment - SUBPASS_INPUT, - COUNT, -}; -bool isCombinedImageSampler(Type type); -bool isSampledImage(Type type); -bool isStorageImage(Type type); - -enum class BufferUsageBit : FlagBits { - NONE = 0, - TRANSFER_SRC = 0x1, - TRANSFER_DST = 0x2, - INDEX = 0x4, - VERTEX = 0x8, - UNIFORM = 0x10, - STORAGE = 0x20, - INDIRECT = 0x40, -}; -typedef BufferUsageBit BufferUsage; -CC_ENUM_OPERATORS(BufferUsageBit); - -enum class BufferFlagBit : FlagBits { - NONE = 0, - BAKUP_BUFFER = 0x4, -}; -typedef BufferFlagBit BufferFlags; -CC_ENUM_OPERATORS(BufferFlagBit); - -enum class MemoryAccessBit : FlagBits { - NONE = 0, - READ_ONLY = 0x1, - WRITE_ONLY = 0x2, - READ_WRITE = READ_ONLY | WRITE_ONLY, -}; -typedef MemoryAccessBit MemoryAccess; - -enum class MemoryUsageBit : FlagBits { - NONE = 0, - DEVICE = 0x1, - HOST = 0x2, -}; -typedef MemoryUsageBit MemoryUsage; -CC_ENUM_OPERATORS(MemoryUsageBit); - -enum class TextureType { - TEX1D, - TEX2D, - TEX3D, - CUBE, - TEX1D_ARRAY, - TEX2D_ARRAY, -}; - -enum class TextureUsageBit : FlagBits { - NONE = 0, - TRANSFER_SRC = 0x1, - TRANSFER_DST = 0x2, - SAMPLED = 0x4, - STORAGE = 0x8, - COLOR_ATTACHMENT = 0x10, - DEPTH_STENCIL_ATTACHMENT = 0x20, - TRANSIENT_ATTACHMENT = 0x40, - INPUT_ATTACHMENT = 0x80, -}; -typedef TextureUsageBit TextureUsage; -CC_ENUM_OPERATORS(TextureUsageBit); - -enum class TextureFlagBit : FlagBits { - NONE = 0, - GEN_MIPMAP = 0x1, - BAKUP_BUFFER = 0x2, - IMMUTABLE = 0x4, -}; -typedef TextureFlagBit TextureFlags; -CC_ENUM_OPERATORS(TextureFlagBit); - -enum class SampleCount { - X1, - X2, - X4, - X8, - X16, - X32, - X64, -}; - -enum class Filter { - NONE, - POINT, - LINEAR, - ANISOTROPIC, -}; - -enum class Address { - WRAP, - MIRROR, - CLAMP, - BORDER, -}; - -enum class ComparisonFunc { - NEVER, - LESS, - EQUAL, - LESS_EQUAL, - GREATER, - NOT_EQUAL, - GREATER_EQUAL, - ALWAYS, -}; - -enum class StencilOp { - ZERO, - KEEP, - REPLACE, - INCR, - DECR, - INVERT, - INCR_WRAP, - DECR_WRAP, -}; - -enum class BlendFactor { - ZERO, - ONE, - SRC_ALPHA, - DST_ALPHA, - ONE_MINUS_SRC_ALPHA, - ONE_MINUS_DST_ALPHA, - SRC_COLOR, - DST_COLOR, - ONE_MINUS_SRC_COLOR, - ONE_MINUS_DST_COLOR, - SRC_ALPHA_SATURATE, - CONSTANT_COLOR, - ONE_MINUS_CONSTANT_COLOR, - CONSTANT_ALPHA, - ONE_MINUS_CONSTANT_ALPHA, -}; - -enum class BlendOp { - ADD, - SUB, - REV_SUB, - MIN, - MAX, -}; - -enum class ColorMask : FlagBits { - NONE = 0x0, - R = 0x1, - G = 0x2, - B = 0x4, - A = 0x8, - ALL = R | G | B | A, -}; -CC_ENUM_OPERATORS(ColorMask); - -enum class ShaderStageFlagBit : FlagBits { - NONE = 0x0, - VERTEX = 0x1, - CONTROL = 0x2, - EVALUATION = 0x4, - GEOMETRY = 0x8, - FRAGMENT = 0x10, - COMPUTE = 0x20, - ALL = 0x3f, -}; -typedef ShaderStageFlagBit ShaderStageFlags; -CC_ENUM_OPERATORS(ShaderStageFlagBit); - -enum class LoadOp { - LOAD, // Load the contents from the fbo from previous - CLEAR, // Clear the fbo - DISCARD, // Ignore writing to the fbo and keep old data -}; - -enum class StoreOp { - STORE, // Write the source to the destination - DISCARD, // Don't write the source to the destination -}; - -enum class AccessType { - NONE, - - // Read access - INDIRECT_BUFFER, // Read as an indirect buffer for drawing or dispatch - INDEX_BUFFER, // Read as an index buffer for drawing - VERTEX_BUFFER, // Read as a vertex buffer for drawing - VERTEX_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a vertex shader - VERTEX_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a vertex shader - VERTEX_SHADER_READ_OTHER, // Read as any other resource in a vertex shader - FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a fragment shader - FRAGMENT_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a fragment shader - FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT, // Read as an input attachment with a color format in a fragment shader - FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT, // Read as an input attachment with a depth/stencil format in a fragment shader - FRAGMENT_SHADER_READ_OTHER, // Read as any other resource in a fragment shader - COLOR_ATTACHMENT_READ, // Read by standard blending/logic operations or subpass load operations - DEPTH_STENCIL_ATTACHMENT_READ, // Read by depth/stencil tests or subpass load operations - COMPUTE_SHADER_READ_UNIFORM_BUFFER, // Read as a uniform buffer in a compute shader - COMPUTE_SHADER_READ_TEXTURE, // Read as a sampled image/uniform texel buffer in a compute shader - COMPUTE_SHADER_READ_OTHER, // Read as any other resource in a compute shader - TRANSFER_READ, // Read as the source of a transfer operation - HOST_READ, // Read on the host - PRESENT, // Read by the presentation engine - - // Write access - VERTEX_SHADER_WRITE, // Written as any resource in a vertex shader - FRAGMENT_SHADER_WRITE, // Written as any resource in a fragment shader - COLOR_ATTACHMENT_WRITE, // Written as a color attachment during rendering, or via a subpass store op - DEPTH_STENCIL_ATTACHMENT_WRITE, // Written as a depth/stencil attachment during rendering, or via a subpass store op - COMPUTE_SHADER_WRITE, // Written as any resource in a compute shader - TRANSFER_WRITE, // Written as the destination of a transfer operation - HOST_PREINITIALIZED, // Data pre-filled by host before device access starts - HOST_WRITE, // Written on the host -}; - -typedef cc::vector AccessTypeList; - -enum class PipelineBindPoint { - GRAPHICS, - COMPUTE, - RAY_TRACING, -}; - -enum class PrimitiveMode { - POINT_LIST, - LINE_LIST, - LINE_STRIP, - LINE_LOOP, - LINE_LIST_ADJACENCY, - LINE_STRIP_ADJACENCY, - ISO_LINE_LIST, - // raycast detectable: - TRIANGLE_LIST, - TRIANGLE_STRIP, - TRIANGLE_FAN, - TRIANGLE_LIST_ADJACENCY, - TRIANGLE_STRIP_ADJACENCY, - TRIANGLE_PATCH_ADJACENCY, - QUAD_PATCH_LIST, -}; - -enum class PolygonMode { - FILL, - POINT, - LINE, -}; - -enum class ShadeModel { - GOURAND, - FLAT, -}; - -enum class CullMode { - NONE, - FRONT, - BACK, -}; - -enum class DynamicStateFlagBit : FlagBits { - NONE = 0x0, - VIEWPORT = 0x1, - SCISSOR = 0x2, - LINE_WIDTH = 0x4, - DEPTH_BIAS = 0x8, - BLEND_CONSTANTS = 0x10, - DEPTH_BOUNDS = 0x20, - STENCIL_WRITE_MASK = 0x40, - STENCIL_COMPARE_MASK = 0x80, -}; -typedef DynamicStateFlagBit DynamicStateFlags; -CC_ENUM_OPERATORS(DynamicStateFlagBit); - -typedef cc::vector DynamicStateList; - -enum class StencilFace { - FRONT, - BACK, - ALL, -}; - -enum class DescriptorType : FlagBits { - UNKNOWN = 0, - UNIFORM_BUFFER = 0x1, - DYNAMIC_UNIFORM_BUFFER = 0x2, - STORAGE_BUFFER = 0x4, - DYNAMIC_STORAGE_BUFFER = 0x8, - SAMPLER_TEXTURE = 0x10, - SAMPLER = 0x20, - TEXTURE = 0x40, - STORAGE_IMAGE = 0x80, - INPUT_ATTACHMENT = 0x100, -}; -CC_ENUM_OPERATORS(DescriptorType); - -enum class QueueType { - GRAPHICS, - COMPUTE, - TRANSFER, -}; - -enum class CommandBufferType { - PRIMARY, - SECONDARY, -}; - -enum class ClearFlagBit : FlagBits { - NONE = 0, - COLOR = 0x1, - DEPTH = 0x2, - STENCIL = 0x4, - DEPTH_STENCIL = DEPTH | STENCIL, - ALL = COLOR | DEPTH | STENCIL, -}; -typedef ClearFlagBit ClearFlags; -CC_ENUM_OPERATORS(ClearFlagBit); +namespace cc { +namespace gfx { enum class VsyncMode { // The application does not synchronizes with the vertical sync. @@ -667,166 +60,6 @@ enum class VsyncMode { HALF, }; -struct Size { - uint x = 0u; - uint y = 0u; - uint z = 0u; -}; - -struct DeviceCaps { - uint maxVertexAttributes = 0u; - uint maxVertexUniformVectors = 0u; - uint maxFragmentUniformVectors = 0u; - uint maxTextureUnits = 0u; - uint maxImageUnits = 0u; - uint maxVertexTextureUnits = 0u; - uint maxColorRenderTargets = 0u; - uint maxShaderStorageBufferBindings = 0u; - uint maxShaderStorageBlockSize = 0u; - uint maxUniformBufferBindings = 0u; - uint maxUniformBlockSize = 0u; - uint maxTextureSize = 0u; - uint maxCubeMapTextureSize = 0u; - uint uboOffsetAlignment = 0u; - uint depthBits = 0u; - uint stencilBits = 0u; - uint maxComputeSharedMemorySize = 0u; - uint maxComputeWorkGroupInvocations = 0u; - Size maxComputeWorkGroupSize; - Size maxComputeWorkGroupCount; - float clipSpaceMinZ = -1.0f; - float screenSpaceSignY = 1.0f; - float UVSpaceSignY = -1.0f; -}; - -struct Offset { - int x = 0; - int y = 0; - int z = 0; -}; - -struct Rect { - int x = 0; - int y = 0; - uint width = 1u; - uint height = 1u; - - bool operator==(const Rect &rs) { - if (x == rs.x && - y == rs.y && - width == rs.width && - height == rs.height) { - return true; - } else - return false; - } - - bool operator!=(const Rect &rs) { - return !(*this == rs); - } -}; - -struct Extent { - uint width = 0; - uint height = 0; - uint depth = 1; -}; - -struct TextureSubresLayers { - uint mipLevel = 0u; - uint baseArrayLayer = 0u; - uint layerCount = 1u; -}; - -struct TextureSubresRange { - uint baseMipLevel = 0u; - uint levelCount = 1u; - uint baseArrayLayer = 0u; - uint layerCount = 1u; -}; - -struct TextureCopy { - TextureSubresLayers srcSubres; - Offset srcOffset; - TextureSubresLayers dstSubres; - Offset dstOffset; - Extent extent; -}; - -struct TextureBlit { - TextureSubresLayers srcSubres; - Offset srcOffset; - Extent srcExtent; - TextureSubresLayers dstSubres; - Offset dstOffset; - Extent dstExtent; -}; -typedef cc::vector TextureBlitList; - -struct BufferTextureCopy { - uint buffStride = 0; - uint buffTexHeight = 0; - Offset texOffset; - Extent texExtent; - TextureSubresLayers texSubres; -}; -typedef cc::vector BufferTextureCopyList; -typedef cc::vector BufferDataList; - -struct Viewport { - int left = 0; - int top = 0; - uint width = 0; - uint height = 0; - float minDepth = 0.0f; - float maxDepth = 1.0f; - - bool operator==(const Viewport &rs) { - return (left == rs.left && - top == rs.top && - width == rs.width && - height == rs.height && - math::IsEqualF(minDepth, rs.minDepth) && - math::IsEqualF(maxDepth, maxDepth)); - } - - bool operator!=(const Viewport &rs) { - return !(*this == rs); - } -}; - -struct Color { - float x = 0.0f; - float y = 0.0f; - float z = 0.0f; - float w = 0.0f; - - bool operator==(const Color &rhs) { - return (math::IsEqualF(x, rhs.x) && - math::IsEqualF(y, rhs.y) && - math::IsEqualF(z, rhs.z) && - math::IsEqualF(w, rhs.w)); - } -}; -typedef cc::vector ColorList; - -/** - * For non-vulkan backends, to maintain compatibility and maximize - * descriptor cache-locality, descriptor-set-based binding numbers need - * to be mapped to backend-specific bindings based on maximum limit - * of available descriptor slots in each set. - * - * The GFX layer assumes the binding numbers for each descriptor type inside each set - * are guaranteed to be consecutive, so the mapping procedure is reduced - * to a simple shifting operation. This data structure specifies the - * offsets for each descriptor type in each set. - */ -struct BindingMappingInfo { - cc::vector bufferOffsets; - cc::vector samplerOffsets; - uint flexibleSet = 0u; -}; - struct DeviceInfo { uintptr_t windowHandle = 0; uint width = 0; @@ -858,418 +91,6 @@ struct ContextInfo { VsyncMode vsyncMode = VsyncMode::RELAXED; }; -struct BufferInfo { - BufferUsage usage = BufferUsage::NONE; - MemoryUsage memUsage = MemoryUsage::NONE; - uint size = 0; - uint stride = 0; // in bytes - BufferFlags flags = BufferFlagBit::NONE; -}; - -struct BufferViewInfo { - Buffer *buffer = nullptr; - uint offset = 0u; - uint range = 0u; -}; - -struct DrawInfo { - uint vertexCount = 0; - uint firstVertex = 0; - uint indexCount = 0; - uint firstIndex = 0; - uint vertexOffset = 0; - uint instanceCount = 0; - uint firstInstance = 0; -}; - -typedef cc::vector DrawInfoList; - -struct DispatchInfo { - uint groupCountX = 0; - uint groupCountY = 0; - uint groupCountZ = 0; - - Buffer *indirectBuffer = nullptr; - uint indirectOffset = 0; -}; - -typedef cc::vector DispatchInfoList; - -struct IndirectBuffer { - DrawInfoList drawInfos; -}; - -struct TextureInfo { - TextureType type = TextureType::TEX2D; - TextureUsage usage = TextureUsageBit::NONE; - Format format = Format::UNKNOWN; - uint width = 0u; - uint height = 0u; - TextureFlags flags = TextureFlagBit::NONE; - uint layerCount = 1u; - uint levelCount = 1u; - SampleCount samples = SampleCount::X1; - uint depth = 1u; -}; - -struct TextureViewInfo { - Texture * texture = nullptr; - TextureType type = TextureType::TEX2D; - Format format = Format::UNKNOWN; - uint baseLevel = 0u; - uint levelCount = 1u; - uint baseLayer = 0u; - uint layerCount = 1u; -}; - -struct SamplerInfo { - Filter minFilter = Filter::LINEAR; - Filter magFilter = Filter::LINEAR; - Filter mipFilter = Filter::NONE; - Address addressU = Address::WRAP; - Address addressV = Address::WRAP; - Address addressW = Address::WRAP; - uint maxAnisotropy = 0u; - ComparisonFunc cmpFunc = ComparisonFunc::NEVER; - Color borderColor; - uint minLOD = 0; - uint maxLOD = 1000; - float mipLODBias = 0.0f; -}; - -struct ShaderMacro { - String macro; - String value; -}; - -typedef cc::vector ShaderMacroList; - -struct Uniform { - String name; - Type type = Type::UNKNOWN; - uint count = 0u; -}; - -typedef cc::vector UniformList; - -struct UniformBlock { - uint set = 0u; - uint binding = 0u; - String name; - UniformList members; - uint count = 0u; -}; - -typedef cc::vector UniformBlockList; - -struct UniformSamplerTexture { - uint set = 0u; - uint binding = 0u; - String name; - Type type = Type::UNKNOWN; - uint count = 0u; -}; - -typedef cc::vector UniformSamplerTextureList; - -struct UniformSampler { - uint set = 0u; - uint binding = 0u; - String name; - uint count = 0u; -}; - -typedef cc::vector UniformSamplerList; - -struct UniformTexture { - uint set = 0u; - uint binding = 0u; - String name; - Type type = Type::UNKNOWN; - uint count = 0u; -}; - -typedef cc::vector UniformTextureList; - -struct UniformStorageImage { - uint set = 0u; - uint binding = 0u; - String name; - Type type = Type::UNKNOWN; - uint count = 0u; - MemoryAccess memoryAccess = MemoryAccess::READ_WRITE; -}; - -typedef cc::vector UniformStorageImageList; - -struct UniformStorageBuffer { - uint set = 0u; - uint binding = 0u; - String name; - uint count = 0u; - MemoryAccess memoryAccess = MemoryAccess::READ_WRITE; -}; - -typedef cc::vector UniformStorageBufferList; - -struct UniformInputAttachment { - uint set = 0u; - uint binding = 0u; - String name; - uint count = 0u; -}; - -typedef cc::vector UniformInputAttachmentList; - -struct ShaderStage { - ShaderStageFlagBit stage = ShaderStageFlagBit::NONE; - String source; -}; - -typedef cc::vector ShaderStageList; - -struct Attribute { - String name; - Format format = Format::UNKNOWN; - bool isNormalized = false; - uint stream = 0; - bool isInstanced = false; - uint location = 0; -}; - -typedef cc::vector AttributeList; - -struct ShaderInfo { - String name; - ShaderStageList stages; - AttributeList attributes; - UniformBlockList blocks; - UniformStorageBufferList buffers; - UniformSamplerTextureList samplerTextures; - UniformSamplerList samplers; - UniformTextureList textures; - UniformStorageImageList images; - UniformInputAttachmentList subpassInputs; -}; - -typedef cc::vector BufferList; -typedef cc::vector TextureBarrierList; - -struct InputAssemblerInfo { - AttributeList attributes; - BufferList vertexBuffers; - Buffer * indexBuffer = nullptr; - Buffer * indirectBuffer = nullptr; -}; - -struct ColorAttachment { - Format format = Format::UNKNOWN; - SampleCount sampleCount = SampleCount::X1; - LoadOp loadOp = LoadOp::CLEAR; - StoreOp storeOp = StoreOp::STORE; - vector beginAccesses; - vector endAccesses{AccessType::PRESENT}; -}; - -typedef cc::vector ColorAttachmentList; - -struct DepthStencilAttachment { - Format format = Format::UNKNOWN; - SampleCount sampleCount = SampleCount::X1; - LoadOp depthLoadOp = LoadOp::CLEAR; - StoreOp depthStoreOp = StoreOp::STORE; - LoadOp stencilLoadOp = LoadOp::CLEAR; - StoreOp stencilStoreOp = StoreOp::STORE; - vector beginAccesses; - vector endAccesses{AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; -}; - -struct SubpassInfo { - cc::vector inputs; - cc::vector colors; - cc::vector resolves; - cc::vector preserves; - uint depthStencil = GFX_INVALID_BINDING; -}; - -typedef cc::vector SubpassInfoList; - -struct RenderPassInfo { - ColorAttachmentList colorAttachments; - DepthStencilAttachment depthStencilAttachment; - SubpassInfoList subpasses; -}; - -struct GlobalBarrierInfo { - vector prevAccesses; - vector nextAccesses; -}; -typedef cc::vector GlobalBarrierInfoList; - -struct TextureBarrierInfo { - vector prevAccesses; - vector nextAccesses; - - bool discardContents = false; - - Queue *srcQueue = nullptr; - Queue *dstQueue = nullptr; -}; -typedef cc::vector TextureBarrierInfoList; - -typedef cc::vector BufferList; -typedef cc::vector TextureList; -typedef cc::vector SamplerList; - -struct FramebufferInfo { - RenderPass * renderPass = nullptr; - TextureList colorTextures; - Texture * depthStencilTexture = nullptr; - cc::vector colorMipmapLevels; - uint depthStencilMipmapLevel = 0; -}; - -struct DescriptorSetLayoutBinding { - uint binding = GFX_INVALID_BINDING; - DescriptorType descriptorType = DescriptorType::UNKNOWN; - uint count = 0; - ShaderStageFlags stageFlags = ShaderStageFlagBit::NONE; - SamplerList immutableSamplers; -}; -typedef cc::vector DescriptorSetLayoutBindingList; - -struct DescriptorSetLayoutInfo { - DescriptorSetLayoutBindingList bindings; -}; - -struct DescriptorSetInfo { - DescriptorSetLayout *layout = nullptr; -}; - -typedef cc::vector DescriptorSetLayoutList; - -struct PipelineLayoutInfo { - DescriptorSetLayoutList setLayouts; -}; - -struct InputState { - AttributeList attributes; -}; - -// Use uint32_t for all boolean values to convert memory to RasterizerState* in shared memory. -struct RasterizerState { - uint32_t isDiscard = 0; - PolygonMode polygonMode = PolygonMode::FILL; - ShadeModel shadeModel = ShadeModel::GOURAND; - CullMode cullMode = CullMode::BACK; - uint32_t isFrontFaceCCW = 1; - uint32_t depthBiasEnabled = 0; - float depthBias = 0.0f; - float depthBiasClamp = 0.0f; - float depthBiasSlop = 0.0f; - uint32_t isDepthClip = 1; - uint32_t isMultisample = 0; - float lineWidth = 1.0f; -}; - -// Use uint32_t for all boolean values to convert memory to DepthStencilState* in shared memory. -struct DepthStencilState { - uint32_t depthTest = 1; - uint32_t depthWrite = 1; - ComparisonFunc depthFunc = ComparisonFunc::LESS; - uint32_t stencilTestFront = 0; - ComparisonFunc stencilFuncFront = ComparisonFunc::ALWAYS; - uint32_t stencilReadMaskFront = 0xffffffff; - uint32_t stencilWriteMaskFront = 0xffffffff; - StencilOp stencilFailOpFront = StencilOp::KEEP; - StencilOp stencilZFailOpFront = StencilOp::KEEP; - StencilOp stencilPassOpFront = StencilOp::KEEP; - uint32_t stencilRefFront = 1; - uint32_t stencilTestBack = 0; - ComparisonFunc stencilFuncBack = ComparisonFunc::ALWAYS; - uint32_t stencilReadMaskBack = 0xffffffff; - uint32_t stencilWriteMaskBack = 0xffffffff; - StencilOp stencilFailOpBack = StencilOp::KEEP; - StencilOp stencilZFailOpBack = StencilOp::KEEP; - StencilOp stencilPassOpBack = StencilOp::KEEP; - uint32_t stencilRefBack = 1; -}; - -// Use uint32_t for all boolean values to do convert memory to BlendTarget* in shared memory. -struct BlendTarget { - uint32_t blend = 0; - BlendFactor blendSrc = BlendFactor::ONE; - BlendFactor blendDst = BlendFactor::ZERO; - BlendOp blendEq = BlendOp::ADD; - BlendFactor blendSrcAlpha = BlendFactor::ONE; - BlendFactor blendDstAlpha = BlendFactor::ZERO; - BlendOp blendAlphaEq = BlendOp::ADD; - ColorMask blendColorMask = ColorMask::ALL; -}; - -typedef cc::vector BlendTargetList; - -// Use uint32_t for all boolean values to do memeory copy in shared memory. -struct BlendState { - uint32_t isA2C = 0; - uint32_t isIndepend = 0; - Color blendColor; - BlendTargetList targets{1}; -}; - -struct PipelineStateInfo { - Shader * shader = nullptr; - PipelineLayout * pipelineLayout = nullptr; - RenderPass * renderPass = nullptr; - InputState inputState; - RasterizerState rasterizerState; - DepthStencilState depthStencilState; - BlendState blendState; - PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; - DynamicStateFlags dynamicStates = DynamicStateFlagBit::NONE; - PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; -}; - -struct CommandBufferInfo { - Queue * queue = nullptr; - CommandBufferType type = CommandBufferType::PRIMARY; -}; -typedef cc::vector CommandBufferList; - -struct QueueInfo { - QueueType type = QueueType::GRAPHICS; -}; - -struct FenceInfo { -}; - -struct FormatInfo { - String name; - uint size = 0; - uint count = 0; - FormatType type = FormatType::NONE; - bool hasAlpha = false; - bool hasDepth = false; - bool hasStencil = false; - bool isCompressed = false; -}; - -extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; -extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; -extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; - -extern const FormatInfo GFX_FORMAT_INFOS[]; -extern const uint GFX_TYPE_SIZES[]; - -struct MemoryStatus { - uint bufferSize = 0; - uint textureSize = 0; -}; - -extern uint FormatSize(Format format, uint width, uint height, uint depth); - -extern uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips); - } // namespace gfx } // namespace cc diff --git a/native/tools/gfx-define-generator/.gitignore b/native/tools/gfx-define-generator/.gitignore new file mode 100644 index 0000000000..80ca3016ad --- /dev/null +++ b/native/tools/gfx-define-generator/.gitignore @@ -0,0 +1,3 @@ +define.ts +engine_root_cache.txt +node_modules diff --git a/native/tools/gfx-define-generator/generate.js b/native/tools/gfx-define-generator/generate.js new file mode 100644 index 0000000000..9158dfdc85 --- /dev/null +++ b/native/tools/gfx-define-generator/generate.js @@ -0,0 +1,255 @@ +const ps = require('path'); +const fs = require('fs'); +const yaml = require('js-yaml'); +const { InferencePriority } = require('typescript'); + +const options = { + engineRoot: '', + clear: false, + nonVerbatimCopy: false, + debug: false, +}; +const argc = process.argv.length; +for (let i = 2; i < argc; i++) { + const arg = process.argv[i]; + if (arg === '--engine' && i < argc - 1) { + options.engineRoot = ps.resolve(process.argv[++i]); + } else if (arg === '--default-engine') { + options.engineRoot = 'default'; + } else if (arg === '--clear') { + options.clear = true; + } else if (arg === '--nonVerbatimCopy') { + options.nonVerbatimCopy = true; + } else if (arg === '--debug') { + options.debug = true; + } +} + +const defaultEngineRoot = ps.join(__dirname, '../../../engine'); +const cacheFile = ps.join(__dirname, 'engine_root_cache.txt'); +if (options.engineRoot) { + if (options.engineRoot === 'default') options.engineRoot = defaultEngineRoot; + if (fs.existsSync(options.engineRoot)) fs.writeFileSync(cacheFile, options.engineRoot); +} else { + if (fs.existsSync(cacheFile)) options.engineRoot = fs.readFileSync(cacheFile); + if (!options.engineRoot) options.engineRoot = defaultEngineRoot; +} + +// TODO: remove this after state info refactor +const ignoreList = { PipelineStateInfo: true, BlendTarget: true, BlendState: true, DepthStencilState: true, RasterizerState: true }; + +let header = fs.readFileSync(`${__dirname}/../../cocos/renderer/core/gfx/GFXDef-common.h`).toString(); +header = header.replace(/\r\n/g, '\n'); + +const enumRE = /enum\s+class\s+(\w+).*?{\s*?\n(.+?)};/gs; +const enumValueRE = /(\w+).*?(?:=\s*(.*?))?,/g; +const enumMap = {}; +let enumCap = enumRE.exec(header); +while (enumCap) { + const e = enumMap[enumCap[1]] = {}; + e.keys = {}; + + if (options.nonVerbatimCopy) { + let values = enumCap[2].replace(/\s*\/\/.*$/gm, ''); + let valueCap = enumValueRE.exec(values); + let val = -1; + while (valueCap) { + if (valueCap[2]) { + val = Number.parseInt(valueCap[2]); + if (Number.isNaN(val)) val = valueCap[2]; + else val = `0x${val.toString(16)}`; + e.customKey = true; + } else { + val++; + } + e.keys[valueCap[1]] = val; + + valueCap = enumValueRE.exec(values); + } + } else { + e.fullContent = enumCap[2]; + } + + enumCap = enumRE.exec(header); +} + +// now discard all block comments +header = header.replace(/\/\*.*?\*\//gs, ''); +header = header.replace(/\s*[*&](.)/g, (_, c) => (c === '>' ? '' : ' ') + c); +header = header.replace(/vector<(.+?)>/g, '$1[]'); + +const typedefRE = /using\s+(.+?)\s*=\s*(.+?);/gs; +const typedefMap = { lists: {}, others: [] }; +let typedefCap = typedefRE.exec(header); +while (typedefCap) { + const alias = typedefCap[1]; + const source = typedefCap[2]; + if (source.endsWith('[]')) { + typedefMap.lists[alias] = source; + } else { + typedefMap.others.push({ alias, source }); + } + typedefCap = typedefRE.exec(header); +} + +const getMemberList = (() => { + const getMatchingPair = (string, startIdx, begSymbol, endSymbol) => { + if (string[startIdx] !== begSymbol) return startIdx; + let depth = 1; + let i = startIdx + 1; + for (; i < string.length; i++) { + if (string[i] === begSymbol) depth++; + if (string[i] === endSymbol) depth--; + if (depth === 0) break; + } + return i; + }; + return (string, startIdx) => { + let begIdx = startIdx; + let endIdx = string.length; + let scopeReady = false; + for (let i = startIdx; i < endIdx; ++i) { + if (string[i] === '/' && string[i+1] === '/') { // skip comments + i = string.indexOf('\n', i); + } else if (!scopeReady && string[i] === '{') { + begIdx = i + 1; + endIdx = getMatchingPair(string, i, '{', '}') - 1; + scopeReady = true; + } else if (string[i] === '(') { // end with any function declarations // TODO: fragile dependency on parenthesis + endIdx = i; + } + } + return string.slice(begIdx, endIdx); + }; +})(); + +const structRE = /struct\s+(\w+).*?{\s*(.+?)\s*};/gs; +const structMemberRE = /^\s*(const\w*\s*)?([\w\[\]]+)\s+?(\w+)(?:\s*=?\s*(.*?))?;(?:\s*\/\/\s*@ts-(.*?)$)?/gm; +const structMap = {}; +let structCap = structRE.exec(header); +while (structCap) { + const struct = structMap[structCap[1]] = {}; + struct.member = {}; + // structRE can not reliably extract the corrent member declaration range + const memberList = getMemberList(header, structCap.index); + + let memberCap = structMemberRE.exec(memberList); + while (memberCap) { + + let type = memberCap[2]; + let readonly = false; + if (typedefMap.lists[type]) { + type = typedefMap.lists[type]; + } else { + type = type.replace(/(\b)(?:uintptr_t|uint|int|float)(\b)/, '$1number$1'); + type = type.replace(/(\b)(?:bool)(\b)/, '$1boolean$2'); + type = type.replace(/(\b)(?:String)(\b)/, '$1string$2'); + } + if (memberCap[1]) readonly = true; + + let value = memberCap[4]; + let n = Number.parseInt(value); + if (!Number.isNaN(n)) { + if (!value.startsWith('0x')) value = n; // keep hexadecimal numbers + } else if (value) { + value = value.replace(/GFX_MAX_ATTACHMENTS/, '4'); + value = value.replace(/GFX_INVALID_BINDING/, '-1'); + value = value.replace(/nullptr/, 'null!'); + value = value.replace('::', '.'); + value = value.replace(/{(.*?)}/, (_, value) => { + const count = Number.parseInt(value); + if (Number.isNaN(count)) return `[${value}]`; + const ctorStr = `new ${type.slice(0, -2)}(), `; + return `[${ctorStr.repeat(count).slice(0, -2)}]`; + }); + } else { + if (type.endsWith('[]')) value = '[]'; + else if (type === 'string') value = '\'\''; + else value = `new ${type}()`; + } + + const info = struct.member[memberCap[3]] = { readonly, type, value }; + + const directives = memberCap[5]; + if (directives) { + if (directives.startsWith('nullable')) { + info.type += ' | null'; + info.value = 'null'; + } else if (directives.startsWith('overrides')) { + let overrides = {}; + try { overrides = yaml.load(memberCap[5].slice(9)); } + catch (e) { console.warn(e); } + Object.assign(info, overrides); + } + } + + memberCap = structMemberRE.exec(memberList); + } + + structCap = structRE.exec(header); +} + + +let output = ''; + +for (const name of Object.keys(enumMap)) { + const e = enumMap[name]; + output += `export enum ${name} {\n`; + + if (options.nonVerbatimCopy) { + for (const key in e.keys) { + if (e.customKey) { + output += ` ${key} = ${e.keys[key]},\n`; + } else { + output += ` ${key},\n`; + } + } + } else { + output += e.fullContent; + } + + output += `}\n\n`; +} + +for (const typedef of typedefMap.others) { + output += `export type ${typedef.alias} = ${typedef.source};\n`; +} +output += `\n`; + +for (const name of Object.keys(structMap)) { + if (name in ignoreList) continue; + + output += `export class ${name} {\n declare private _token: never; `; + output += `// to make sure all usages must be an instance of this exact class, not assembled from plain object`; + output += `\n\n constructor (\n`; + + const struct = structMap[name]; + for (const key in struct.member) { + const info = struct.member[key]; + let { readonly, type, value } = info; + const decl = readonly ? `readonly ${key}` : key; + if (value || value === 0) { + output += ` public ${decl}: ${type} = ${value},\n`; + } else { + output += ` public ${decl}: ${type},\n`; + } + } + + output += ` ) {}\n}\n\n`; +} + +if (options.clear) output = ''; + +const outputFile = options.debug ? `${__dirname}/define.ts` : ps.join(options.engineRoot, 'cocos/core/gfx/define.ts'); +let source = fs.readFileSync(outputFile).toString(); + +const begGuardRE = /![A-Z ]+!\s*=+\s*\*\//; +const begGuardCap = source.match(begGuardRE); +const begIdx = begGuardCap ? begGuardCap.index + begGuardCap[0].length : undefined; + +const endGuardRE = /\/\*\*\s*\*\s*=+\s*![A-Z ]+!/g; +let endGuardCap = endGuardRE.exec(source); +if (endGuardCap) endGuardCap = endGuardRE.exec(source); +const endIdx = endGuardCap ? endGuardCap.index : undefined; + +fs.writeFileSync(outputFile, `${source.slice(0, begIdx)}\n\n${output}${source.slice(endIdx)}`); diff --git a/native/tools/gfx-define-generator/package-lock.json b/native/tools/gfx-define-generator/package-lock.json new file mode 100644 index 0000000000..4dc83b33ae --- /dev/null +++ b/native/tools/gfx-define-generator/package-lock.json @@ -0,0 +1,21 @@ +{ + "name": "gfx-define-generator", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "js-yaml": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", + "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", + "requires": { + "argparse": "^2.0.1" + } + } + } +} diff --git a/native/tools/gfx-define-generator/package.json b/native/tools/gfx-define-generator/package.json new file mode 100644 index 0000000000..0345b9eef7 --- /dev/null +++ b/native/tools/gfx-define-generator/package.json @@ -0,0 +1,14 @@ +{ + "name": "gfx-define-generator", + "version": "1.0.0", + "description": "GFX layer definition generator", + "main": "generate.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "YunHsiao", + "license": "MIT", + "dependencies": { + "js-yaml": "^4.0.0" + } +} From 5fc7a37cd1fcdf7deb4ac782e39c0c433b5b4b50 Mon Sep 17 00:00:00 2001 From: lawrence-liuyue <32774732+lawrence-liuyue@users.noreply.github.com> Date: Tue, 2 Feb 2021 22:16:53 +0800 Subject: [PATCH 144/270] Hw deferred pipeline (#3179) --- native/CMakeLists.txt | 12 + .../cocos/bindings/auto/jsb_pipeline_auto.cpp | 542 ++++++++++++++---- .../cocos/bindings/auto/jsb_pipeline_auto.h | 72 ++- native/cocos/renderer/pipeline/Define.cpp | 75 +++ native/cocos/renderer/pipeline/Define.h | 59 ++ .../cocos/renderer/pipeline/PipelineUBO.cpp | 28 +- native/cocos/renderer/pipeline/PipelineUBO.h | 4 +- .../pipeline/RenderAdditiveLightQueue.cpp | 2 +- .../pipeline/RenderAdditiveLightQueue.h | 2 +- .../renderer/pipeline/RenderPipeline.cpp | 12 + .../cocos/renderer/pipeline/RenderPipeline.h | 1 + native/cocos/renderer/pipeline/RenderStage.h | 3 +- .../pipeline/deferred/DeferredPipeline.cpp | 326 +++++++++++ .../pipeline/deferred/DeferredPipeline.h | 96 ++++ .../pipeline/deferred/GbufferFlow.cpp | 189 ++++++ .../renderer/pipeline/deferred/GbufferFlow.h | 67 +++ .../pipeline/deferred/GbufferStage.cpp | 184 ++++++ .../renderer/pipeline/deferred/GbufferStage.h | 63 ++ .../pipeline/deferred/LightingFlow.cpp | 168 ++++++ .../renderer/pipeline/deferred/LightingFlow.h | 63 ++ .../pipeline/deferred/LightingStage.cpp | 369 ++++++++++++ .../pipeline/deferred/LightingStage.h | 76 +++ .../pipeline/deferred/PostprocessStage.cpp | 90 +++ .../pipeline/deferred/PostprocessStage.h | 50 ++ .../pipeline/forward/ForwardPipeline.cpp | 2 +- .../renderer/pipeline/helper/SharedMemory.h | 14 +- native/tools/tojs/pipeline.ini | 16 +- 27 files changed, 2446 insertions(+), 139 deletions(-) create mode 100644 native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp create mode 100644 native/cocos/renderer/pipeline/deferred/DeferredPipeline.h create mode 100644 native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp create mode 100644 native/cocos/renderer/pipeline/deferred/GbufferFlow.h create mode 100644 native/cocos/renderer/pipeline/deferred/GbufferStage.cpp create mode 100644 native/cocos/renderer/pipeline/deferred/GbufferStage.h create mode 100644 native/cocos/renderer/pipeline/deferred/LightingFlow.cpp create mode 100644 native/cocos/renderer/pipeline/deferred/LightingFlow.h create mode 100644 native/cocos/renderer/pipeline/deferred/LightingStage.cpp create mode 100644 native/cocos/renderer/pipeline/deferred/LightingStage.h create mode 100644 native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp create mode 100644 native/cocos/renderer/pipeline/deferred/PostprocessStage.h diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 405bac5826..7e26674cef 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -620,6 +620,18 @@ cocos_source_files( cocos/renderer/pipeline/SceneCulling.h cocos/renderer/pipeline/forward/UIPhase.cpp cocos/renderer/pipeline/forward/UIPhase.h + cocos/renderer/pipeline/deferred/DeferredPipeline.cpp + cocos/renderer/pipeline/deferred/DeferredPipeline.h + cocos/renderer/pipeline/deferred/GbufferFlow.cpp + cocos/renderer/pipeline/deferred/GbufferFlow.h + cocos/renderer/pipeline/deferred/GbufferStage.cpp + cocos/renderer/pipeline/deferred/GbufferStage.h + cocos/renderer/pipeline/deferred/LightingFlow.cpp + cocos/renderer/pipeline/deferred/LightingFlow.h + cocos/renderer/pipeline/deferred/LightingStage.cpp + cocos/renderer/pipeline/deferred/LightingStage.h + cocos/renderer/pipeline/deferred/PostprocessStage.cpp + cocos/renderer/pipeline/deferred/PostprocessStage.h cocos/renderer/pipeline/shadow/ShadowFlow.cpp cocos/renderer/pipeline/shadow/ShadowFlow.h cocos/renderer/pipeline/shadow/ShadowStage.cpp diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp index 40cf1dff70..beccbd8dbd 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -12,6 +12,12 @@ #include "renderer/pipeline/Define.h" #include "renderer/pipeline/helper/SharedMemory.h" #include "renderer/pipeline/InstancedBuffer.h" +#include "renderer/pipeline/deferred/DeferredPipeline.h" +#include "renderer/pipeline/deferred/GbufferFlow.h" +#include "renderer/pipeline/deferred/GbufferStage.h" +#include "renderer/pipeline/deferred/LightingFlow.h" +#include "renderer/pipeline/deferred/LightingStage.h" +#include "renderer/pipeline/deferred/PostprocessStage.h" #include "cocos/renderer/core/Core.h" #include "cocos/renderer/core/gfx/GFXDescriptorSet.h" @@ -2057,6 +2063,25 @@ static bool js_pipeline_RenderPipeline_getDescriptorSetLayout(se::State& s) } SE_BIND_PROP_GET(js_pipeline_RenderPipeline_getDescriptorSetLayout) +static bool js_pipeline_RenderPipeline_getDevice(se::State& s) +{ + cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_pipeline_RenderPipeline_getDevice : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::gfx::Device* result = cobj->getDevice(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_pipeline_RenderPipeline_getDevice : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_pipeline_RenderPipeline_getDevice) + static bool js_pipeline_RenderPipeline_initialize(se::State& s) { cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); @@ -2098,6 +2123,25 @@ static bool js_pipeline_RenderPipeline_render(se::State& s) } SE_BIND_FUNC(js_pipeline_RenderPipeline_render) +static bool js_pipeline_RenderPipeline_setPipelineSharedSceneData(se::State& s) +{ + cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_pipeline_RenderPipeline_setPipelineSharedSceneData : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_pipeline_RenderPipeline_setPipelineSharedSceneData : Error processing arguments"); + cobj->setPipelineSharedSceneData(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_pipeline_RenderPipeline_setPipelineSharedSceneData) + static bool js_pipeline_RenderPipeline_setValue(se::State& s) { cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); @@ -2147,8 +2191,10 @@ bool js_register_pipeline_RenderPipeline(se::Object* obj) cls->defineProperty("descriptorSetLayout", _SE(js_pipeline_RenderPipeline_getDescriptorSetLayout), nullptr); cls->defineFunction("activate", _SE(js_pipeline_RenderPipeline_activate)); cls->defineFunction("destroy", _SE(js_pipeline_RenderPipeline_destroy)); + cls->defineFunction("getDevice", _SE(js_pipeline_RenderPipeline_getDevice)); cls->defineFunction("initialize", _SE(js_pipeline_RenderPipeline_initialize)); cls->defineFunction("render", _SE(js_pipeline_RenderPipeline_render)); + cls->defineFunction("setPipelineSharedSceneData", _SE(js_pipeline_RenderPipeline_setPipelineSharedSceneData)); cls->defineFunction("setValue", _SE(js_pipeline_RenderPipeline_setValue)); cls->defineStaticFunction("getInstance", _SE(js_pipeline_RenderPipeline_getInstance)); cls->install(); @@ -2164,101 +2210,6 @@ bool js_register_pipeline_RenderPipeline(se::Object* obj) se::Object* __jsb_cc_pipeline_ForwardPipeline_proto = nullptr; se::Class* __jsb_cc_pipeline_ForwardPipeline_class = nullptr; -static bool js_pipeline_ForwardPipeline_getSphere(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_getSphere : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - cc::pipeline::Sphere* result = cobj->getSphere(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_getSphere : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_getSphere) - -static bool js_pipeline_ForwardPipeline_setAmbient(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_setAmbient : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_setAmbient : Error processing arguments"); - cobj->setAmbient(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_setAmbient) - -static bool js_pipeline_ForwardPipeline_setFog(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_setFog : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_setFog : Error processing arguments"); - cobj->setFog(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_setFog) - -static bool js_pipeline_ForwardPipeline_setShadows(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_setShadows : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_setShadows : Error processing arguments"); - cobj->setShadows(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_setShadows) - -static bool js_pipeline_ForwardPipeline_setSkybox(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_setSkybox : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_setSkybox : Error processing arguments"); - cobj->setSkybox(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_setSkybox) - SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_ForwardPipeline_finalize) static bool js_pipeline_ForwardPipeline_constructor(se::State& s) // constructor.c @@ -2291,11 +2242,6 @@ bool js_register_pipeline_ForwardPipeline(se::Object* obj) { auto cls = se::Class::create("ForwardPipeline", obj, __jsb_cc_pipeline_RenderPipeline_proto, _SE(js_pipeline_ForwardPipeline_constructor)); - cls->defineFunction("getSphere", _SE(js_pipeline_ForwardPipeline_getSphere)); - cls->defineFunction("setAmbient", _SE(js_pipeline_ForwardPipeline_setAmbient)); - cls->defineFunction("setFog", _SE(js_pipeline_ForwardPipeline_setFog)); - cls->defineFunction("setShadows", _SE(js_pipeline_ForwardPipeline_setShadows)); - cls->defineFunction("setSkybox", _SE(js_pipeline_ForwardPipeline_setSkybox)); cls->defineFinalizeFunction(_SE(js_cc_pipeline_ForwardPipeline_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -2962,6 +2908,25 @@ static bool js_pipeline_RenderStage_activate(se::State& s) } SE_BIND_FUNC(js_pipeline_RenderStage_activate) +static bool js_pipeline_RenderStage_getFlow(se::State& s) +{ + cc::pipeline::RenderStage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_pipeline_RenderStage_getFlow : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::RenderFlow* result = cobj->getFlow(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_pipeline_RenderStage_getFlow : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_pipeline_RenderStage_getFlow) + static bool js_pipeline_RenderStage_getTag(se::State& s) { cc::pipeline::RenderStage* cobj = SE_THIS_OBJECT(s); @@ -3011,6 +2976,7 @@ bool js_register_pipeline_RenderStage(se::Object* obj) auto cls = se::Class::create("RenderStage", obj, nullptr, nullptr); cls->defineFunction("activate", _SE(js_pipeline_RenderStage_activate)); + cls->defineFunction("getFlow", _SE(js_pipeline_RenderStage_getFlow)); cls->defineFunction("getTag", _SE(js_pipeline_RenderStage_getTag)); cls->defineFunction("initialize", _SE(js_pipeline_RenderStage_initialize)); cls->install(); @@ -3383,6 +3349,354 @@ bool js_register_pipeline_InstancedBuffer(se::Object* obj) return true; } +se::Object* __jsb_cc_pipeline_DeferredPipeline_proto = nullptr; +se::Class* __jsb_cc_pipeline_DeferredPipeline_class = nullptr; + +SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_DeferredPipeline_finalize) + +static bool js_pipeline_DeferredPipeline_constructor(se::State& s) // constructor.c +{ + cc::pipeline::DeferredPipeline* cobj = JSB_ALLOC(cc::pipeline::DeferredPipeline); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_pipeline_DeferredPipeline_constructor, __jsb_cc_pipeline_DeferredPipeline_class, js_cc_pipeline_DeferredPipeline_finalize) + + + +extern se::Object* __jsb_cc_pipeline_RenderPipeline_proto; + +static bool js_cc_pipeline_DeferredPipeline_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::pipeline::DeferredPipeline* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_pipeline_DeferredPipeline_finalize) + +bool js_register_pipeline_DeferredPipeline(se::Object* obj) +{ + auto cls = se::Class::create("DeferredPipeline", obj, __jsb_cc_pipeline_RenderPipeline_proto, _SE(js_pipeline_DeferredPipeline_constructor)); + + cls->defineFinalizeFunction(_SE(js_cc_pipeline_DeferredPipeline_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_pipeline_DeferredPipeline_proto = cls->getProto(); + __jsb_cc_pipeline_DeferredPipeline_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_pipeline_GbufferFlow_proto = nullptr; +se::Class* __jsb_cc_pipeline_GbufferFlow_class = nullptr; + +static bool js_pipeline_GbufferFlow_getInitializeInfo(se::State& s) +{ + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const cc::pipeline::RenderFlowInfo& result = cc::pipeline::GbufferFlow::getInitializeInfo(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_pipeline_GbufferFlow_getInitializeInfo : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_pipeline_GbufferFlow_getInitializeInfo) + +SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_GbufferFlow_finalize) + +static bool js_pipeline_GbufferFlow_constructor(se::State& s) // constructor.c +{ + cc::pipeline::GbufferFlow* cobj = JSB_ALLOC(cc::pipeline::GbufferFlow); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_pipeline_GbufferFlow_constructor, __jsb_cc_pipeline_GbufferFlow_class, js_cc_pipeline_GbufferFlow_finalize) + + + +extern se::Object* __jsb_cc_pipeline_RenderFlow_proto; + +static bool js_cc_pipeline_GbufferFlow_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::pipeline::GbufferFlow* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_pipeline_GbufferFlow_finalize) + +bool js_register_pipeline_GbufferFlow(se::Object* obj) +{ + auto cls = se::Class::create("GbufferFlow", obj, __jsb_cc_pipeline_RenderFlow_proto, _SE(js_pipeline_GbufferFlow_constructor)); + + cls->defineStaticFunction("getInitializeInfo", _SE(js_pipeline_GbufferFlow_getInitializeInfo)); + cls->defineFinalizeFunction(_SE(js_cc_pipeline_GbufferFlow_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_pipeline_GbufferFlow_proto = cls->getProto(); + __jsb_cc_pipeline_GbufferFlow_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_pipeline_GbufferStage_proto = nullptr; +se::Class* __jsb_cc_pipeline_GbufferStage_class = nullptr; + +static bool js_pipeline_GbufferStage_getInitializeInfo(se::State& s) +{ + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const cc::pipeline::RenderStageInfo& result = cc::pipeline::GbufferStage::getInitializeInfo(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_pipeline_GbufferStage_getInitializeInfo : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_pipeline_GbufferStage_getInitializeInfo) + +SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_GbufferStage_finalize) + +static bool js_pipeline_GbufferStage_constructor(se::State& s) // constructor.c +{ + cc::pipeline::GbufferStage* cobj = JSB_ALLOC(cc::pipeline::GbufferStage); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_pipeline_GbufferStage_constructor, __jsb_cc_pipeline_GbufferStage_class, js_cc_pipeline_GbufferStage_finalize) + + + +extern se::Object* __jsb_cc_pipeline_RenderStage_proto; + +static bool js_cc_pipeline_GbufferStage_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::pipeline::GbufferStage* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_pipeline_GbufferStage_finalize) + +bool js_register_pipeline_GbufferStage(se::Object* obj) +{ + auto cls = se::Class::create("GbufferStage", obj, __jsb_cc_pipeline_RenderStage_proto, _SE(js_pipeline_GbufferStage_constructor)); + + cls->defineStaticFunction("getInitializeInfo", _SE(js_pipeline_GbufferStage_getInitializeInfo)); + cls->defineFinalizeFunction(_SE(js_cc_pipeline_GbufferStage_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_pipeline_GbufferStage_proto = cls->getProto(); + __jsb_cc_pipeline_GbufferStage_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_pipeline_LightingFlow_proto = nullptr; +se::Class* __jsb_cc_pipeline_LightingFlow_class = nullptr; + +static bool js_pipeline_LightingFlow_getInitializeInfo(se::State& s) +{ + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const cc::pipeline::RenderFlowInfo& result = cc::pipeline::LightingFlow::getInitializeInfo(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_pipeline_LightingFlow_getInitializeInfo : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_pipeline_LightingFlow_getInitializeInfo) + +SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_LightingFlow_finalize) + +static bool js_pipeline_LightingFlow_constructor(se::State& s) // constructor.c +{ + cc::pipeline::LightingFlow* cobj = JSB_ALLOC(cc::pipeline::LightingFlow); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_pipeline_LightingFlow_constructor, __jsb_cc_pipeline_LightingFlow_class, js_cc_pipeline_LightingFlow_finalize) + + + +extern se::Object* __jsb_cc_pipeline_RenderFlow_proto; + +static bool js_cc_pipeline_LightingFlow_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::pipeline::LightingFlow* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_pipeline_LightingFlow_finalize) + +bool js_register_pipeline_LightingFlow(se::Object* obj) +{ + auto cls = se::Class::create("LightingFlow", obj, __jsb_cc_pipeline_RenderFlow_proto, _SE(js_pipeline_LightingFlow_constructor)); + + cls->defineStaticFunction("getInitializeInfo", _SE(js_pipeline_LightingFlow_getInitializeInfo)); + cls->defineFinalizeFunction(_SE(js_cc_pipeline_LightingFlow_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_pipeline_LightingFlow_proto = cls->getProto(); + __jsb_cc_pipeline_LightingFlow_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_pipeline_LightingStage_proto = nullptr; +se::Class* __jsb_cc_pipeline_LightingStage_class = nullptr; + +static bool js_pipeline_LightingStage_getInitializeInfo(se::State& s) +{ + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const cc::pipeline::RenderStageInfo& result = cc::pipeline::LightingStage::getInitializeInfo(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_pipeline_LightingStage_getInitializeInfo : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_pipeline_LightingStage_getInitializeInfo) + +SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_LightingStage_finalize) + +static bool js_pipeline_LightingStage_constructor(se::State& s) // constructor.c +{ + cc::pipeline::LightingStage* cobj = JSB_ALLOC(cc::pipeline::LightingStage); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_pipeline_LightingStage_constructor, __jsb_cc_pipeline_LightingStage_class, js_cc_pipeline_LightingStage_finalize) + + + +extern se::Object* __jsb_cc_pipeline_RenderStage_proto; + +static bool js_cc_pipeline_LightingStage_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::pipeline::LightingStage* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_pipeline_LightingStage_finalize) + +bool js_register_pipeline_LightingStage(se::Object* obj) +{ + auto cls = se::Class::create("LightingStage", obj, __jsb_cc_pipeline_RenderStage_proto, _SE(js_pipeline_LightingStage_constructor)); + + cls->defineStaticFunction("getInitializeInfo", _SE(js_pipeline_LightingStage_getInitializeInfo)); + cls->defineFinalizeFunction(_SE(js_cc_pipeline_LightingStage_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_pipeline_LightingStage_proto = cls->getProto(); + __jsb_cc_pipeline_LightingStage_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_pipeline_PostprocessStage_proto = nullptr; +se::Class* __jsb_cc_pipeline_PostprocessStage_class = nullptr; + +SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_PostprocessStage_finalize) + +static bool js_pipeline_PostprocessStage_constructor(se::State& s) // constructor.c +{ + cc::pipeline::PostprocessStage* cobj = JSB_ALLOC(cc::pipeline::PostprocessStage); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_pipeline_PostprocessStage_constructor, __jsb_cc_pipeline_PostprocessStage_class, js_cc_pipeline_PostprocessStage_finalize) + + + +extern se::Object* __jsb_cc_pipeline_RenderStage_proto; + +static bool js_cc_pipeline_PostprocessStage_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::pipeline::PostprocessStage* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_pipeline_PostprocessStage_finalize) + +bool js_register_pipeline_PostprocessStage(se::Object* obj) +{ + auto cls = se::Class::create("PostprocessStage", obj, __jsb_cc_pipeline_RenderStage_proto, _SE(js_pipeline_PostprocessStage_constructor)); + + cls->defineFinalizeFunction(_SE(js_cc_pipeline_PostprocessStage_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_pipeline_PostprocessStage_proto = cls->getProto(); + __jsb_cc_pipeline_PostprocessStage_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + bool register_all_pipeline(se::Object* obj) { // Get the ns @@ -3395,21 +3709,27 @@ bool register_all_pipeline(se::Object* obj) } se::Object* ns = nsVal.toObject(); - js_register_pipeline_RenderQueueDesc(ns); - js_register_pipeline_RenderFlow(ns); - js_register_pipeline_PassView(ns); - js_register_pipeline_RenderStageInfo(ns); - js_register_pipeline_RenderPipeline(ns); - js_register_pipeline_ForwardPipeline(ns); - js_register_pipeline_RenderPipelineInfo(ns); - js_register_pipeline_Light(ns); js_register_pipeline_RenderStage(ns); + js_register_pipeline_PostprocessStage(ns); js_register_pipeline_ForwardStage(ns); - js_register_pipeline_ShadowStage(ns); - js_register_pipeline_RenderFlowInfo(ns); - js_register_pipeline_ForwardFlow(ns); + js_register_pipeline_GbufferStage(ns); js_register_pipeline_InstancedBuffer(ns); + js_register_pipeline_RenderStageInfo(ns); + js_register_pipeline_LightingStage(ns); + js_register_pipeline_ShadowStage(ns); + js_register_pipeline_RenderFlow(ns); + js_register_pipeline_ForwardFlow(ns); + js_register_pipeline_RenderPipeline(ns); + js_register_pipeline_DeferredPipeline(ns); + js_register_pipeline_GbufferFlow(ns); + js_register_pipeline_PassView(ns); + js_register_pipeline_ForwardPipeline(ns); + js_register_pipeline_Light(ns); + js_register_pipeline_RenderFlowInfo(ns); js_register_pipeline_RenderWindow(ns); + js_register_pipeline_RenderQueueDesc(ns); + js_register_pipeline_RenderPipelineInfo(ns); + js_register_pipeline_LightingFlow(ns); js_register_pipeline_ShadowFlow(ns); return true; } diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.h b/native/cocos/bindings/auto/jsb_pipeline_auto.h index ffdff6555d..9404b1884b 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.h +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.h @@ -15,6 +15,12 @@ #include "cocos/renderer/pipeline/Define.h" #include "cocos/renderer/pipeline/helper/SharedMemory.h" #include "cocos/renderer/pipeline/InstancedBuffer.h" +#include "cocos/renderer/pipeline/deferred/DeferredPipeline.h" +#include "cocos/renderer/pipeline/deferred/GbufferFlow.h" +#include "cocos/renderer/pipeline/deferred/GbufferStage.h" +#include "cocos/renderer/pipeline/deferred/LightingFlow.h" +#include "cocos/renderer/pipeline/deferred/LightingStage.h" +#include "cocos/renderer/pipeline/deferred/PostprocessStage.h" extern se::Object* __jsb_cc_pipeline_RenderQueueDesc_proto; extern se::Class* __jsb_cc_pipeline_RenderQueueDesc_class; @@ -88,8 +94,10 @@ bool register_all_pipeline(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::pipeline::RenderPipeline); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_activate); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_destroy); +SE_DECLARE_FUNC(js_pipeline_RenderPipeline_getDevice); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_initialize); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_render); +SE_DECLARE_FUNC(js_pipeline_RenderPipeline_setPipelineSharedSceneData); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_setValue); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_getInstance); @@ -100,11 +108,6 @@ bool js_register_cc_pipeline_ForwardPipeline(se::Object* obj); bool register_all_pipeline(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::pipeline::ForwardPipeline); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_getSphere); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_setAmbient); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_setFog); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_setShadows); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_setSkybox); SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_ForwardPipeline); extern se::Object* __jsb_cc_pipeline_RenderFlowInfo_proto; @@ -156,6 +159,7 @@ bool register_all_pipeline(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::pipeline::RenderStage); SE_DECLARE_FUNC(js_pipeline_RenderStage_activate); +SE_DECLARE_FUNC(js_pipeline_RenderStage_getFlow); SE_DECLARE_FUNC(js_pipeline_RenderStage_getTag); SE_DECLARE_FUNC(js_pipeline_RenderStage_initialize); @@ -203,3 +207,61 @@ SE_DECLARE_FUNC(js_pipeline_InstancedBuffer_setDynamicOffset); SE_DECLARE_FUNC(js_pipeline_InstancedBuffer_get); SE_DECLARE_FUNC(js_pipeline_InstancedBuffer_InstancedBuffer); +extern se::Object* __jsb_cc_pipeline_DeferredPipeline_proto; +extern se::Class* __jsb_cc_pipeline_DeferredPipeline_class; + +bool js_register_cc_pipeline_DeferredPipeline(se::Object* obj); +bool register_all_pipeline(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::pipeline::DeferredPipeline); +SE_DECLARE_FUNC(js_pipeline_DeferredPipeline_DeferredPipeline); + +extern se::Object* __jsb_cc_pipeline_GbufferFlow_proto; +extern se::Class* __jsb_cc_pipeline_GbufferFlow_class; + +bool js_register_cc_pipeline_GbufferFlow(se::Object* obj); +bool register_all_pipeline(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::pipeline::GbufferFlow); +SE_DECLARE_FUNC(js_pipeline_GbufferFlow_getInitializeInfo); +SE_DECLARE_FUNC(js_pipeline_GbufferFlow_GbufferFlow); + +extern se::Object* __jsb_cc_pipeline_GbufferStage_proto; +extern se::Class* __jsb_cc_pipeline_GbufferStage_class; + +bool js_register_cc_pipeline_GbufferStage(se::Object* obj); +bool register_all_pipeline(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::pipeline::GbufferStage); +SE_DECLARE_FUNC(js_pipeline_GbufferStage_getInitializeInfo); +SE_DECLARE_FUNC(js_pipeline_GbufferStage_GbufferStage); + +extern se::Object* __jsb_cc_pipeline_LightingFlow_proto; +extern se::Class* __jsb_cc_pipeline_LightingFlow_class; + +bool js_register_cc_pipeline_LightingFlow(se::Object* obj); +bool register_all_pipeline(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::pipeline::LightingFlow); +SE_DECLARE_FUNC(js_pipeline_LightingFlow_getInitializeInfo); +SE_DECLARE_FUNC(js_pipeline_LightingFlow_LightingFlow); + +extern se::Object* __jsb_cc_pipeline_LightingStage_proto; +extern se::Class* __jsb_cc_pipeline_LightingStage_class; + +bool js_register_cc_pipeline_LightingStage(se::Object* obj); +bool register_all_pipeline(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::pipeline::LightingStage); +SE_DECLARE_FUNC(js_pipeline_LightingStage_getInitializeInfo); +SE_DECLARE_FUNC(js_pipeline_LightingStage_LightingStage); + +extern se::Object* __jsb_cc_pipeline_PostprocessStage_proto; +extern se::Class* __jsb_cc_pipeline_PostprocessStage_class; + +bool js_register_cc_pipeline_PostprocessStage(se::Object* obj); +bool register_all_pipeline(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::pipeline::PostprocessStage); +SE_DECLARE_FUNC(js_pipeline_PostprocessStage_PostprocessStage); + diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index 2a35acb2e1..1d658f3443 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -247,6 +247,81 @@ const gfx::UniformSampler SHADOWMAP::LAYOUT = { 1, }; +const String SAMPLERGBUFFERALBEDOMAP::NAME = "cc_gbuffer_albedoMap"; +const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERALBEDOMAP::DESCRIPTOR = { + SAMPLERGBUFFERALBEDOMAP::BINDING, + gfx::DescriptorType::SAMPLER, + 1, + gfx::ShaderStageFlagBit::FRAGMENT, +}; +const gfx::UniformSampler SAMPLERGBUFFERALBEDOMAP::LAYOUT = { + GLOBAL_SET, + SAMPLERGBUFFERALBEDOMAP::BINDING, + SAMPLERGBUFFERALBEDOMAP::NAME, + gfx::Type::SAMPLER2D, + 1, +}; + +const String SAMPLERGBUFFERPOSITIONMAP::NAME = "cc_gbuffer_positionMap"; +const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERPOSITIONMAP::DESCRIPTOR = { + SAMPLERGBUFFERPOSITIONMAP::BINDING, + gfx::DescriptorType::SAMPLER, + 1, + gfx::ShaderStageFlagBit::FRAGMENT, +}; +const gfx::UniformSampler SAMPLERGBUFFERPOSITIONMAP::LAYOUT = { + GLOBAL_SET, + SAMPLERGBUFFERPOSITIONMAP::BINDING, + SAMPLERGBUFFERPOSITIONMAP::NAME, + gfx::Type::SAMPLER2D, + 1, +}; + +const String SAMPLERGBUFFERNORMALMAP::NAME = "cc_gbuffer_normalMap"; +const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERNORMALMAP::DESCRIPTOR = { + SAMPLERGBUFFERNORMALMAP::BINDING, + gfx::DescriptorType::SAMPLER, + 1, + gfx::ShaderStageFlagBit::FRAGMENT, +}; +const gfx::UniformSampler SAMPLERGBUFFERNORMALMAP::LAYOUT = { + GLOBAL_SET, + SAMPLERGBUFFERNORMALMAP::BINDING, + SAMPLERGBUFFERNORMALMAP::NAME, + gfx::Type::SAMPLER2D, + 1, +}; + +const String SAMPLERGBUFFEREMISSIVEMAP::NAME = "cc_gbuffer_emissiveMap"; +const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFEREMISSIVEMAP::DESCRIPTOR = { + SAMPLERGBUFFEREMISSIVEMAP::BINDING, + gfx::DescriptorType::SAMPLER, + 1, + gfx::ShaderStageFlagBit::FRAGMENT, +}; +const gfx::UniformSampler SAMPLERGBUFFEREMISSIVEMAP::LAYOUT = { + GLOBAL_SET, + SAMPLERGBUFFEREMISSIVEMAP::BINDING, + SAMPLERGBUFFEREMISSIVEMAP::NAME, + gfx::Type::SAMPLER2D, + 1, +}; + +const String SAMPLERLIGHTINGRESULTMAP::NAME = "cc_lighting_resultMap"; +const gfx::DescriptorSetLayoutBinding SAMPLERLIGHTINGRESULTMAP::DESCRIPTOR = { + SAMPLERLIGHTINGRESULTMAP::BINDING, + gfx::DescriptorType::SAMPLER, + 1, + gfx::ShaderStageFlagBit::FRAGMENT, +}; +const gfx::UniformSampler SAMPLERLIGHTINGRESULTMAP::LAYOUT = { + GLOBAL_SET, + SAMPLERLIGHTINGRESULTMAP::BINDING, + SAMPLERLIGHTINGRESULTMAP::NAME, + gfx::Type::SAMPLER2D, + 1, +}; + const String ENVIRONMENT::NAME = "cc_environment"; const gfx::DescriptorSetLayoutBinding ENVIRONMENT::DESCRIPTOR = { ENVIRONMENT::BINDING, diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index 6cf10c4394..db107937b0 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -175,6 +175,11 @@ enum class CC_DLL PipelineGlobalBindings { SAMPLER_SHADOWMAP, SAMPLER_ENVIRONMENT, // don't put this as the first sampler binding due to Mac GL driver issues: cubemap at texture unit 0 causes rendering issues SAMPLER_SPOT_LIGHTING_MAP, + SAMPLER_GBUFFER_ALBEDOMAP, + SAMPLER_GBUFFER_POSITIONMAP, + SAMPLER_GBUFFER_NORMALMAP, + SAMPLER_GBUFFER_EMISSIVEMAP, + SAMPLER_LIGHTING_RESULTMAP, COUNT, }; @@ -233,6 +238,10 @@ struct CC_DLL UBOForwardLight { static const String NAME; }; +struct CC_DLL UBODeferredLight { + static constexpr uint LIGHTS_PER_PASS = 10; +}; + struct CC_DLL UBOSkinningTexture { static constexpr uint JOINTS_TEXTURE_INFO_OFFSET = 0; static constexpr uint COUNT = UBOSkinningTexture::JOINTS_TEXTURE_INFO_OFFSET + 4; @@ -294,6 +303,21 @@ enum class CC_DLL RenderFlowTag { UI, }; +enum class CC_DLL DeferredStagePriority { + GBUFFER = 10, + LIGHTING = 15, + TRANSPARANT = 18, + POSTPROCESS = 19, + UI = 20 +}; + +enum class CC_DLL DeferredFlowPriority { + SHADOW = 0, + GBUFFER = 1, + LIGHTING = 5, + UI = 10 +}; + struct CC_DLL UBOGlobal : public Object { static constexpr uint TIME_OFFSET = 0; static constexpr uint SCREEN_SIZE_OFFSET = UBOGlobal::TIME_OFFSET + 4; @@ -400,6 +424,41 @@ struct CC_DLL SHADOWMAP : public Object { static const String NAME; }; +struct CC_DLL SAMPLERGBUFFERALBEDOMAP : public Object { + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP); + static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; + static const gfx::UniformSampler LAYOUT; + static const String NAME; +}; + +struct CC_DLL SAMPLERGBUFFERPOSITIONMAP : public Object { + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP); + static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; + static const gfx::UniformSampler LAYOUT; + static const String NAME; +}; + +struct CC_DLL SAMPLERGBUFFERNORMALMAP : public Object { + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP); + static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; + static const gfx::UniformSampler LAYOUT; + static const String NAME; +}; + +struct CC_DLL SAMPLERGBUFFEREMISSIVEMAP : public Object { + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP); + static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; + static const gfx::UniformSampler LAYOUT; + static const String NAME; +}; + +struct CC_DLL SAMPLERLIGHTINGRESULTMAP : public Object { + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP); + static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; + static const gfx::UniformSampler LAYOUT; + static const String NAME; +}; + struct CC_DLL ENVIRONMENT : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_ENVIRONMENT); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index 137f25e62e..bda398e3f8 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -69,7 +69,8 @@ void PipelineUBO::updateGlobalUBOView(const RenderPipeline *pipeline, std::array uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; } -void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera) +void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, + const Camera *camera, bool hasOffScreenAttachments) { const auto scene = camera->getScene(); const Light *mainLight = nullptr; @@ -136,17 +137,22 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_OFFSET, camera->matView.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_INV_OFFSET, camera->getNode()->worldMatrix.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProj.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInv.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProj.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInv.m, sizeof(cc::Mat4)); TO_VEC3(uboCameraView, camera->position, UBOCamera::CAMERA_POS_OFFSET); - auto projectionSignY = device->getScreenSpaceSignY(); - if (camera->getWindow()->hasOffScreenAttachments) { - projectionSignY *= device->getUVSpaceSignY(); // need flipping if drawing on render targets + if (hasOffScreenAttachments) { + memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProjOffscreen.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInvOffscreen.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProjOffscreen.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInvOffscreen.m, sizeof(cc::Mat4)); + uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); + } + else { + memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProj.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInv.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProj.m, sizeof(cc::Mat4)); + memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInv.m, sizeof(cc::Mat4)); + uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = device->getScreenSpaceSignY(); } - uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = projectionSignY; if (fog->enabled) { TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); @@ -317,11 +323,11 @@ void PipelineUBO::updateGlobalUBO() cmdBuffer->updateBuffer(ds->getBuffer(UBOGlobal::BINDING), _globalUBO.data(), UBOGlobal::SIZE); } -void PipelineUBO::updateCameraUBO(const Camera *camera) +void PipelineUBO::updateCameraUBO(const Camera *camera, bool hasOffScreenAttachments) { const auto ds = _pipeline->getDescriptorSet(); const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; - PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera); + PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera, hasOffScreenAttachments); cmdBuffer->updateBuffer(ds->getBuffer(UBOCamera::BINDING), _cameraUBO.data(), UBOCamera::SIZE); } diff --git a/native/cocos/renderer/pipeline/PipelineUBO.h b/native/cocos/renderer/pipeline/PipelineUBO.h index a19ab6f326..8d34b1b0c9 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.h +++ b/native/cocos/renderer/pipeline/PipelineUBO.h @@ -41,7 +41,7 @@ class Device; class CC_DLL PipelineUBO : public Object { public: static void updateGlobalUBOView(const RenderPipeline *pipeline, std::array &bufferView); - static void updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera); + static void updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera, bool hasOffScreenAttachments); static void updateShadowUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera); static void updateShadowUBOLightView(const RenderPipeline *pipeline, std::array &bufferView, const Light *light); @@ -51,7 +51,7 @@ public: void activate(gfx::Device *device, RenderPipeline *pipeline); void destroy(); void updateGlobalUBO(); - void updateCameraUBO(const Camera *camera); + void updateCameraUBO(const Camera *camera, bool hasOffScreenAttachments); void updateShadowUBO(const Camera *camera); void updateShadowUBOLight(const Light *light); void updateShadowUBORange(uint offset, const Mat4* data); diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index 19ee2a483d..c40bb56935 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -323,7 +323,7 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf _shadowUBO.fill(0.0f); PipelineUBO::updateGlobalUBOView(_pipeline, _globalUBO); - PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera); + PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera, camera->getWindow()->hasOffScreenAttachments); switch (light->getType()) { case LightType::SPOT: { diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h index 9aacc92f88..24ce6feb87 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h @@ -62,7 +62,7 @@ public: private: void clear(); void updateUBOs(const Camera *camera, gfx::CommandBuffer *cmdBuffer); - void updateCameraUBO(const Camera *camera, gfx::CommandBuffer *cmdBuffer); + void updateCameraUBO(const Camera *camera, gfx::CommandBuffer *cmdBuffer, bool hasOffScreenAttachments); void updateLightDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer); void updateGlobalDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer); bool getLightPassIndex(const ModelView *model, vector &lightPassIndices) const; diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index 38a31d734b..b883e4c630 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -49,6 +49,12 @@ RenderPipeline::RenderPipeline() RenderPipeline::~RenderPipeline() { } +#define INIT_GLOBAL_DESCSET_LAYOUT(info) \ +do { \ + globalDescriptorSetLayout.samplers[info::NAME] = info::LAYOUT; \ + globalDescriptorSetLayout.bindings[info::BINDING] = info::DESCRIPTOR; \ +} while (0) + void RenderPipeline::setDescriptorSetLayout() { globalDescriptorSetLayout.bindings.resize(static_cast(PipelineGlobalBindings::COUNT)); @@ -65,6 +71,12 @@ void RenderPipeline::setDescriptorSetLayout() { globalDescriptorSetLayout.samplers[SPOT_LIGHTING_MAP::NAME] = SPOT_LIGHTING_MAP::LAYOUT; globalDescriptorSetLayout.bindings[SPOT_LIGHTING_MAP::BINDING] = SPOT_LIGHTING_MAP::DESCRIPTOR; + INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERGBUFFERALBEDOMAP); + INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERGBUFFERPOSITIONMAP); + INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERGBUFFEREMISSIVEMAP); + INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERGBUFFERNORMALMAP); + INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERLIGHTINGRESULTMAP); + localDescriptorSetLayout.bindings.resize(static_cast(ModelLocalBindings::COUNT)); localDescriptorSetLayout.blocks[UBOLocalBatched::NAME] = UBOLocalBatched::LAYOUT; localDescriptorSetLayout.bindings[UBOLocalBatched::BINDING] = UBOLocalBatched::DESCRIPTOR; diff --git a/native/cocos/renderer/pipeline/RenderPipeline.h b/native/cocos/renderer/pipeline/RenderPipeline.h index 05f6b21f85..5dffd4f0d5 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.h +++ b/native/cocos/renderer/pipeline/RenderPipeline.h @@ -70,6 +70,7 @@ public: CC_INLINE PipelineSceneData *getPipelineSceneData() const { return _pipelineSceneData; } CC_INLINE const gfx::CommandBufferList &getCommandBuffers() const { return _commandBuffers; } CC_INLINE PipelineUBO *getPipelineUBO() const { return _pipelineUBO; } + CC_INLINE gfx::Device *getDevice() { return _device; } protected: static RenderPipeline *_instance; diff --git a/native/cocos/renderer/pipeline/RenderStage.h b/native/cocos/renderer/pipeline/RenderStage.h index 1a1c90686d..9e2255d86b 100644 --- a/native/cocos/renderer/pipeline/RenderStage.h +++ b/native/cocos/renderer/pipeline/RenderStage.h @@ -59,6 +59,7 @@ public: CC_INLINE const String &getName() const { return _name; } CC_INLINE uint getPriority() const { return _priority; } CC_INLINE uint getTag() const { return _tag; } + CC_INLINE RenderFlow *getFlow() const {return _flow;} protected: RenderQueueDescList _renderQueueDescriptors; @@ -69,7 +70,7 @@ protected: String _name; uint _priority = 0; uint _tag = 0; - gfx::ColorList _clearColors = {{0, 0, 0, 1.0f}}; + gfx::ColorList _clearColors = {{0, 0, 0, 0.0f}, {0, 0, 0, 0.0f}, {0, 0, 0, 0.0f}, {0, 0, 0, 0.0f}}; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp new file mode 100644 index 0000000000..257e44352d --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -0,0 +1,326 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#include "DeferredPipeline.h" +#include "../helper/SharedMemory.h" +#include "GbufferFlow.h" +#include "LightingFlow.h" +#include "../shadow/ShadowFlow.h" +#include "../SceneCulling.h" +#include "gfx/GFXBuffer.h" +#include "gfx/GFXCommandBuffer.h" +#include "gfx/GFXDescriptorSet.h" +#include "gfx/GFXDevice.h" +#include "gfx/GFXQueue.h" +#include "gfx/GFXRenderPass.h" +#include "gfx/GFXTexture.h" +#include "gfx/GFXFramebuffer.h" +#include "gfx/GFXSampler.h" +#include "platform/Application.h" + +namespace cc { +namespace pipeline { +namespace { +#define TO_VEC3(dst, src, offset) \ + dst[offset] = src.x; \ + dst[offset + 1] = src.y; \ + dst[offset + 2] = src.z; +#define TO_VEC4(dst, src, offset) \ + dst[offset] = src.x; \ + dst[offset + 1] = src.y; \ + dst[offset + 2] = src.z; \ + dst[offset + 3] = src.w; +} // namespace + +gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFlags) { + if (_renderPasses.find(clearFlags) != _renderPasses.end()) { + return _renderPasses[clearFlags]; + } + + auto device = gfx::Device::getInstance(); + gfx::ColorAttachment colorAttachment; + gfx::DepthStencilAttachment depthStencilAttachment; + colorAttachment.format = device->getColorFormat(); + depthStencilAttachment.format = device->getDepthStencilFormat(); + depthStencilAttachment.stencilStoreOp = gfx::StoreOp::DISCARD; + depthStencilAttachment.depthStoreOp = gfx::StoreOp::DISCARD; + + if (!(clearFlags & gfx::ClearFlagBit::COLOR)) { + if (clearFlags & static_cast(SKYBOX_FLAG)) { + colorAttachment.loadOp = gfx::LoadOp::DISCARD; + } else { + colorAttachment.loadOp = gfx::LoadOp::LOAD; + colorAttachment.beginLayout = gfx::TextureLayout::PRESENT_SRC; + } + } + + if (static_cast(clearFlags & gfx::ClearFlagBit::DEPTH_STENCIL) != gfx::ClearFlagBit::DEPTH_STENCIL) { + if (!(clearFlags & gfx::ClearFlagBit::DEPTH)) depthStencilAttachment.depthLoadOp = gfx::LoadOp::LOAD; + if (!(clearFlags & gfx::ClearFlagBit::STENCIL)) depthStencilAttachment.stencilLoadOp = gfx::LoadOp::LOAD; + depthStencilAttachment.beginLayout = gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL; + } + + auto renderPass = device->createRenderPass({ + {colorAttachment}, + depthStencilAttachment, + }); + _renderPasses[clearFlags] = renderPass; + + return renderPass; +} + +bool DeferredPipeline::initialize(const RenderPipelineInfo &info) { + RenderPipeline::initialize(info); + + if (_flows.size() == 0) { + auto shadowFlow = CC_NEW(ShadowFlow); + shadowFlow->initialize(ShadowFlow::getInitializeInfo()); + _flows.emplace_back(shadowFlow); + + auto gbufferFlow = CC_NEW(GbufferFlow); + gbufferFlow->initialize(GbufferFlow::getInitializeInfo()); + _flows.emplace_back(gbufferFlow); + + auto lightingFlow = CC_NEW(LightingFlow); + lightingFlow->initialize(LightingFlow::getInitializeInfo()); + _flows.emplace_back(lightingFlow); + } + + return true; +} + +bool DeferredPipeline::activate() { + if (!RenderPipeline::activate()) { + CC_LOG_ERROR("RenderPipeline active failed."); + return false; + } + + if (!activeRenderer()) { + CC_LOG_ERROR("DeferredPipeline startup failed!"); + return false; + } + + return true; +} + +void DeferredPipeline::render(const vector &cameras) { + if (cameras.size() == 0) return; + _commandBuffers[0]->begin(); + _pipelineUBO->updateGlobalUBO(); + Camera *camera = GET_CAMERA(cameras[0]); + _pipelineUBO->updateCameraUBO(camera, true); + for (const auto flow : _flows) { + flow->render(camera); + } + _commandBuffers[0]->end(); + _device->getQueue()->submit(_commandBuffers); +} + +bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffer* &quadVB, gfx::InputAssembler* &quadIA, gfx::SurfaceTransform surfaceTransform) { + // step 1 create vertex buffer + uint vbStride = sizeof(float) * 4; + uint vbSize = vbStride * 4; + quadVB = _device->createBuffer({gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, vbSize, vbStride}); + if (!quadVB) { + return false; + } + + float vbData[16] = {0}; + int n = 0; + switch (surfaceTransform) { + case (gfx::SurfaceTransform::IDENTITY): + n = 0; + vbData[n++] = -1.0; vbData[n++] = -1.0; vbData[n++] = 0.0; vbData[n++] = 1.0; + vbData[n++] = 1.0; vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; + vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; vbData[n++] = 0.0; + vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; + break; + case (gfx::SurfaceTransform::ROTATE_90): + n = 0; + vbData[n++] = -1.0; vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; + vbData[n++] = 1.0; vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; + vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; vbData[n++] = 1.0; + vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; vbData[n++] = 0.0; + break; + case (gfx::SurfaceTransform::ROTATE_180): + n = 0; + vbData[n++] = -1.0; vbData[n++] = -1.0; vbData[n++] = 0.0; vbData[n++] = 0.0; + vbData[n++] = 1.0; vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; + vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; vbData[n++] = 1.0; + vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; + break; + case (gfx::SurfaceTransform::ROTATE_270): + n = 0; + vbData[n++] = -1.0; vbData[n++] = -1.0; vbData[n++] = 0.0; vbData[n++] = 0.0; + vbData[n++] = 1.0; vbData[n++] = -1.0; vbData[n++] = 0.0; vbData[n++] = 1.0; + vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; + vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; + break; + default: + break; + } + + quadVB->update(vbData, sizeof(vbData)); + + // step 2 create index buffer + uint ibStride = 4; + uint ibSize = ibStride * 6; + + quadIB =_device->createBuffer({gfx::BufferUsageBit::INDEX | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, ibSize, ibStride}); + + if (!quadIB) { + return false; + } + + unsigned int ibData[] = {0, 1, 2, 1, 3, 2}; + quadIB->update(ibData, sizeof(ibData)); + + // step 3 create input assembler + gfx::InputAssemblerInfo info; + info.attributes.push_back({"a_position", gfx::Format::RG32F}); + info.attributes.push_back({"a_texCoord", gfx::Format::RG32F}); + info.vertexBuffers.push_back(quadVB); + info.indexBuffer = quadIB; + quadIA = _device->createInputAssembler(info); + if (!quadIA) { + return false; + } + + return true; +} + +gfx::Rect DeferredPipeline::getRenderArea(Camera *camera, bool onScreen) { + gfx::Rect renderArea; + uint w, h; + if (onScreen) { + w = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->height : camera->width; + h = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->width : camera->height; + } + else { + w = camera->width; + h = camera->height; + } + + renderArea.x = camera->viewportX * w; + renderArea.y = camera->viewportY * h; + renderArea.width = camera->viewportWidth * w * _pipelineSceneData->getSharedData()->shadingScale; + renderArea.height = camera->viewportHeight * h * _pipelineSceneData->getSharedData()->shadingScale; + return renderArea; +} + +void DeferredPipeline::destroyQuadInputAssembler() { + if (_quadIB) { + _quadIB->destroy(); + _quadIB = nullptr; + } + + if (_quadVBOnscreen) { + _quadVBOnscreen->destroy(); + _quadVBOnscreen = nullptr; + } + + if (_quadVBOffscreen) { + _quadVBOffscreen->destroy(); + _quadVBOffscreen = nullptr; + } + + if (_quadIAOnscreen) { + _quadIAOnscreen->destroy(); + _quadIAOnscreen = nullptr; + } + + if (_quadIAOffscreen) { + _quadIAOffscreen->destroy(); + _quadIAOffscreen = nullptr; + } +} + +bool DeferredPipeline::activeRenderer() { + _commandBuffers.push_back(_device->getCommandBuffer()); + const auto sharedData = _pipelineSceneData->getSharedData(); + + gfx::SamplerInfo info{ + gfx::Filter::LINEAR, + gfx::Filter::LINEAR, + gfx::Filter::NONE, + gfx::Address::CLAMP, + gfx::Address::CLAMP, + gfx::Address::CLAMP, + }; + const auto shadowMapSamplerHash = genSamplerHash(std::move(info)); + const auto shadowMapSampler = getSampler(shadowMapSamplerHash); + + // Main light sampler binding + this->_descriptorSet->bindSampler(SHADOWMAP::BINDING, shadowMapSampler); + this->_descriptorSet->bindTexture(SHADOWMAP::BINDING, getDefaultTexture()); + + // Spot light sampler binding + this->_descriptorSet->bindSampler(SPOT_LIGHTING_MAP::BINDING, shadowMapSampler); + this->_descriptorSet->bindTexture(SPOT_LIGHTING_MAP::BINDING, getDefaultTexture()); + + _descriptorSet->update(); + + // update global defines when all states initialized. + _macros.setValue("CC_USE_HDR", static_cast(sharedData->isHDR)); + _macros.setValue("CC_SUPPORT_FLOAT_TEXTURE", _device->hasFeature(gfx::Feature::TEXTURE_FLOAT)); + + if (!createQuadInputAssembler(_quadIB, _quadVBOffscreen, _quadIAOffscreen, gfx::SurfaceTransform::IDENTITY)) { + return false; + } + + if (!createQuadInputAssembler(_quadIB, _quadVBOnscreen, _quadIAOnscreen, _device->getSurfaceTransform())) { + return false; + } + + return true; +} + +void DeferredPipeline::destroy() { + destroyQuadInputAssembler(); + + if (_descriptorSet) { + _descriptorSet->getBuffer(UBOGlobal::BINDING)->destroy(); + _descriptorSet->getBuffer(UBOCamera::BINDING)->destroy(); + _descriptorSet->getBuffer(UBOShadow::BINDING)->destroy(); + _descriptorSet->getSampler(SHADOWMAP::BINDING)->destroy(); + _descriptorSet->getTexture(SHADOWMAP::BINDING)->destroy(); + _descriptorSet->getSampler(SPOT_LIGHTING_MAP::BINDING)->destroy(); + _descriptorSet->getTexture(SPOT_LIGHTING_MAP::BINDING)->destroy(); + } + + for (auto &it : _renderPasses) { + it.second->destroy(); + } + _renderPasses.clear(); + + _commandBuffers.clear(); + + RenderPipeline::destroy(); +} + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h new file mode 100644 index 0000000000..a2d1661322 --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -0,0 +1,96 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#pragma once + +#include + +#include "../RenderPipeline.h" +#include "../helper/SharedMemory.h" +#include "../../core/gfx/GFXBuffer.h" +#include "../../core/gfx/GFXInputAssembler.h" + +namespace cc { +namespace pipeline { +struct UBOGlobal; +struct UBOCamera; +struct UBOShadow; +struct Fog; +struct Ambient; +struct Skybox; +struct Shadows; +struct Sphere; +class Framebuffer; +class Camera; + +class CC_DLL DeferredPipeline : public RenderPipeline { +public: + DeferredPipeline() = default; + ~DeferredPipeline() = default; + + virtual bool initialize(const RenderPipelineInfo &info) override; + virtual void destroy() override; + virtual bool activate() override; + virtual void render(const vector &cameras) override; + + gfx::RenderPass *getOrCreateRenderPass(gfx::ClearFlags clearFlags); + + CC_INLINE gfx::Buffer *getLightsUBO() const { return _lightsUBO; } + CC_INLINE const LightList &getValidLights() const { return _validLights; } + CC_INLINE const gfx::BufferList &getLightBuffers() const { return _lightBuffers; } + CC_INLINE const UintList &getLightIndexOffsets() const { return _lightIndexOffsets; } + CC_INLINE const UintList &getLightIndices() const { return _lightIndices; } + gfx::InputAssembler *getQuadIAOnScreen(){return _quadIAOnscreen;} + gfx::InputAssembler *getQuadIAOffScreen(){return _quadIAOffscreen;} + void setDepth(gfx::Texture *tex) {_depth = tex;} + gfx::Texture *getDepth(){return _depth;} + gfx::Rect getRenderArea(Camera *view, bool onScreen); + +private: + bool activeRenderer(); + bool createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffer* &quadVB, gfx::InputAssembler* &quadIA, + gfx::SurfaceTransform surfaceTransform); + void destroyQuadInputAssembler(); + +private: + gfx::Buffer *_lightsUBO = nullptr; + LightList _validLights; + gfx::BufferList _lightBuffers; + UintList _lightIndexOffsets; + UintList _lightIndices; + map _renderPasses; + + // light stage + gfx::Buffer *_quadIB = nullptr; + gfx::Buffer *_quadVBOnscreen = nullptr; + gfx::Buffer *_quadVBOffscreen = nullptr; + gfx::InputAssembler *_quadIAOnscreen = nullptr; + gfx::InputAssembler *_quadIAOffscreen = nullptr; + + gfx::Texture *_depth = nullptr; +}; + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp new file mode 100644 index 0000000000..072f7795ba --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp @@ -0,0 +1,189 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#include "GbufferFlow.h" +#include "DeferredPipeline.h" +#include "GbufferStage.h" +#include "../SceneCulling.h" +#include "../../core/gfx/GFXDevice.h" +#include "../../core/gfx/GFXDescriptorSet.h" +#include "../../core/gfx/GFXSampler.h" +#include "gfx/GFXRenderPass.h" + +namespace cc { +namespace pipeline { +RenderFlowInfo GbufferFlow::_initInfo = { + "GbufferFlow", + static_cast(DeferredFlowPriority::GBUFFER), + static_cast(RenderFlowTag::SCENE), + {}, +}; +const RenderFlowInfo &GbufferFlow::getInitializeInfo() { return GbufferFlow::_initInfo; } + +GbufferFlow::~GbufferFlow() { +} + +bool GbufferFlow::initialize(const RenderFlowInfo &info) { + RenderFlow::initialize(info); + + if (_stages.size() == 0) { + GbufferStage *gbufferStage = CC_NEW(GbufferStage); + gbufferStage->initialize(GbufferStage::getInitializeInfo()); + _stages.emplace_back(gbufferStage); + } + + return true; +} + +void GbufferFlow::createRenderPass(gfx::Device *device) { + if (_gbufferRenderPass != nullptr) { + return; + } + + gfx::RenderPassInfo info; + + gfx::ColorAttachment color = { + gfx::Format::RGBA16F, + 1, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + gfx::TextureLayout::UNDEFINED, + gfx::TextureLayout::COLOR_ATTACHMENT_OPTIMAL + }; + + for (int i = 0; i < 4; i++) { + info.colorAttachments.push_back(color); + } + + gfx::DepthStencilAttachment depth = { + device->getDepthStencilFormat(), + 1, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + gfx::TextureLayout::UNDEFINED, + gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL + }; + + info.depthStencilAttachment = depth; + _gbufferRenderPass = device->createRenderPass(info); +} + +void GbufferFlow::createRenderTargets(gfx::Device *device) { + gfx::TextureInfo info = { + gfx::TextureType::TEX2D, + gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, + gfx::Format::RGBA16F, + _width, + _height, + }; + + if (_gbufferRenderTargets.empty()) { + for (int i = 0; i < 4; i++) { + gfx::Texture *tex = device->createTexture(info); + _gbufferRenderTargets.push_back(tex); + } + } + + if (!_depth) { + info.usage = gfx::TextureUsageBit::DEPTH_STENCIL_ATTACHMENT; + info.format = device->getDepthStencilFormat(); + _depth = device->createTexture(info); + + DeferredPipeline *pp = dynamic_cast(_pipeline); + pp->setDepth(_depth); + } + + if (!_gbufferFrameBuffer) { + gfx::FramebufferInfo fbInfo = { + _gbufferRenderPass, + _gbufferRenderTargets, + _depth, + }; + + _gbufferFrameBuffer = device->createFramebuffer(fbInfo); + } +} + +void GbufferFlow::activate(RenderPipeline *pipeline) { + RenderFlow::activate(pipeline); + + gfx::Device *device = pipeline->getDevice(); + if (device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || + device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { + _width = device->getWidth(); + _height = device->getHeight(); + } + else { + _width = device->getHeight(); + _height = device->getWidth(); + } + + createRenderPass(device); + createRenderTargets(device); + + pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), _gbufferFrameBuffer->getColorTextures()[0]); + pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), _gbufferFrameBuffer->getColorTextures()[1]); + pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), _gbufferFrameBuffer->getColorTextures()[2]); + pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), _gbufferFrameBuffer->getColorTextures()[3]); + + gfx::SamplerInfo sInfo = { + gfx::Filter::LINEAR, + gfx::Filter::LINEAR, + gfx::Filter::NONE, + gfx::Address::CLAMP, + gfx::Address::CLAMP, + gfx::Address::CLAMP, + }; + + uint hash = genSamplerHash(sInfo); + gfx::Sampler *gbufferSampler = getSampler(hash); + pipeline->getDescriptorSet()->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), gbufferSampler); + pipeline->getDescriptorSet()->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), gbufferSampler); + pipeline->getDescriptorSet()->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), gbufferSampler); + pipeline->getDescriptorSet()->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), gbufferSampler); +} + +void GbufferFlow::render(Camera *camera) { + auto pipeline = static_cast(_pipeline); + sceneCulling(pipeline, camera); + RenderFlow::render(camera); +} + +void GbufferFlow::destroy() { + RenderFlow::destroy(); +} + +} // namespace pipeline +} // namespace cc \ No newline at end of file diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.h b/native/cocos/renderer/pipeline/deferred/GbufferFlow.h new file mode 100644 index 0000000000..8321d0d06f --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.h @@ -0,0 +1,67 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#pragma once + +#include "../RenderFlow.h" + +namespace cc { +namespace pipeline { + +class Camera; +class GbufferStage; + +class CC_DLL GbufferFlow : public RenderFlow { +public: + static const RenderFlowInfo &getInitializeInfo(); + + GbufferFlow() = default; + virtual ~GbufferFlow(); + + virtual bool initialize(const RenderFlowInfo &info) override; + virtual void activate(RenderPipeline *pipeline) override; + virtual void destroy() override; + virtual void render(Camera *camera) override; + gfx::Framebuffer *getFrameBuffer() {return _gbufferFrameBuffer;} + +private: + void createRenderPass(gfx::Device *device); + void createRenderTargets(gfx::Device *device); + +private: + static RenderFlowInfo _initInfo; + + gfx::RenderPass *_gbufferRenderPass = nullptr; + gfx::TextureList _gbufferRenderTargets; + gfx::Framebuffer *_gbufferFrameBuffer = nullptr; + gfx::Texture *_depth = nullptr; + uint _width; + uint _height; + + GbufferStage *_GbufferStage = nullptr; +}; + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp new file mode 100644 index 0000000000..c0a8979d45 --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp @@ -0,0 +1,184 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#include "GbufferStage.h" +#include "GbufferFlow.h" +#include "../BatchedBuffer.h" +#include "../InstancedBuffer.h" +#include "../PlanarShadowQueue.h" +#include "../RenderBatchedQueue.h" +#include "../RenderInstancedQueue.h" +#include "../RenderQueue.h" +#include "../helper/SharedMemory.h" +#include "DeferredPipeline.h" +#include "gfx/GFXCommandBuffer.h" +#include "gfx/GFXDevice.h" +#include "gfx/GFXFramebuffer.h" +#include "gfx/GFXQueue.h" + +namespace cc { +namespace pipeline { +namespace { +void SRGBToLinear(gfx::Color &out, const gfx::Color &gamma) { + out.x = gamma.x * gamma.x; + out.y = gamma.y * gamma.y; + out.z = gamma.z * gamma.z; +} + +void LinearToSRGB(gfx::Color &out, const gfx::Color &linear) { + out.x = std::sqrt(linear.x); + out.y = std::sqrt(linear.y); + out.z = std::sqrt(linear.z); +} +} // namespace + +RenderStageInfo GbufferStage::_initInfo = { + "GbufferStage", + static_cast(DeferredStagePriority::GBUFFER), + static_cast(RenderFlowTag::SCENE), + {{false, RenderQueueSortMode::FRONT_TO_BACK, {"default"}}, + {true, RenderQueueSortMode::BACK_TO_FRONT, {"default", "planarShadow"}}}}; +const RenderStageInfo &GbufferStage::getInitializeInfo() { return GbufferStage::_initInfo; } + +GbufferStage::GbufferStage() : RenderStage() { + _batchedQueue = CC_NEW(RenderBatchedQueue); + _instancedQueue = CC_NEW(RenderInstancedQueue); +} + +GbufferStage::~GbufferStage() { +} + +bool GbufferStage::initialize(const RenderStageInfo &info) { + RenderStage::initialize(info); + _renderQueueDescriptors = info.renderQueues; + _phaseID = getPhaseID("deferred-gbuffer"); + return true; +} + +void GbufferStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { + RenderStage::activate(pipeline, flow); + for (const auto &descriptor : _renderQueueDescriptors) { + uint phase = 0; + for (const auto &stage : descriptor.stages) { + phase |= getPhaseID(stage); + } + + std::function sortFunc = opaqueCompareFn; + switch (descriptor.sortMode) { + case RenderQueueSortMode::BACK_TO_FRONT: + sortFunc = transparentCompareFn; + break; + case RenderQueueSortMode::FRONT_TO_BACK: + sortFunc = opaqueCompareFn; + default: + break; + } + + RenderQueueCreateInfo info = {descriptor.isTransparent, phase, sortFunc}; + _renderQueues.emplace_back(CC_NEW(RenderQueue(std::move(info)))); + } + + _planarShadowQueue = CC_NEW(PlanarShadowQueue(_pipeline)); +} + +void GbufferStage::destroy() { + CC_SAFE_DELETE(_batchedQueue); + CC_SAFE_DELETE(_instancedQueue); + CC_SAFE_DELETE(_planarShadowQueue); + RenderStage::destroy(); +} + +void GbufferStage::render(Camera *camera) { + _instancedQueue->clear(); + _batchedQueue->clear(); + auto pipeline = static_cast(_pipeline); + const auto &renderObjects = _pipeline->getPipelineSceneData()->getRenderObjects(); + if (renderObjects.empty()) { + return; + } + + for (auto queue : _renderQueues) { + queue->clear(); + } + + uint m = 0, p = 0; + size_t k = 0; + for (size_t i = 0; i < renderObjects.size(); ++i) { + const auto &ro = renderObjects[i]; + const auto model = ro.model; + const auto subModelID = model->getSubModelID(); + const auto subModelCount = subModelID[0]; + for (m = 1; m <= subModelCount; ++m) { + auto subModel = model->getSubModelView(subModelID[m]); + for (p = 0; p < subModel->passCount; ++p) { + const PassView *pass = subModel->getPassView(p); + + if (pass->phase != _phaseID) continue; + if (pass->getBatchingScheme() == BatchingSchemes::INSTANCING) { + auto instancedBuffer = InstancedBuffer::get(subModel->passID[p]); + instancedBuffer->merge(model, subModel, p); + _instancedQueue->add(instancedBuffer); + } else if (pass->getBatchingScheme() == BatchingSchemes::VB_MERGING) { + auto batchedBuffer = BatchedBuffer::get(subModel->passID[p]); + batchedBuffer->merge(subModel, p, model); + _batchedQueue->add(batchedBuffer); + } else { + for (k = 0; k < _renderQueues.size(); k++) { + _renderQueues[k]->insertRenderPass(ro, m, p); + } + } + } + } + } + for (auto queue : _renderQueues) { + queue->sort(); + } + + auto cmdBuff = pipeline->getCommandBuffers()[0]; + + _instancedQueue->uploadBuffers(cmdBuff); + _batchedQueue->uploadBuffers(cmdBuff); + + // render area is not oriented + _renderArea = pipeline->getRenderArea(camera, false); + + GbufferFlow *flow = dynamic_cast(getFlow()); + assert(flow != nullptr); + auto framebuffer = flow->getFrameBuffer(); + auto renderPass = framebuffer->getRenderPass(); + + cmdBuff->beginRenderPass(renderPass, framebuffer, _renderArea, _clearColors, camera->clearDepth, camera->clearStencil); + cmdBuff->bindDescriptorSet(GLOBAL_SET, _pipeline->getDescriptorSet()); + + _renderQueues[0]->recordCommandBuffer(_device, renderPass, cmdBuff); + _instancedQueue->recordCommandBuffer(_device, renderPass, cmdBuff); + _batchedQueue->recordCommandBuffer(_device, renderPass, cmdBuff); + //_renderQueues[1]->recordCommandBuffer(_device, renderPass, cmdBuff); + + cmdBuff->endRenderPass(); +} + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.h b/native/cocos/renderer/pipeline/deferred/GbufferStage.h new file mode 100644 index 0000000000..4afd61c75a --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.h @@ -0,0 +1,63 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#pragma once + +#include "../RenderStage.h" +#include "../../core/gfx/GFXFramebuffer.h" + +namespace cc { +namespace pipeline { + +class RenderFlow; +class Camera; +class RenderBatchedQueue; +class RenderInstancedQueue; +class RenderAdditiveLightQueue; +class PlanarShadowQueue; + +class CC_DLL GbufferStage : public RenderStage { +public: + static const RenderStageInfo &getInitializeInfo(); + + GbufferStage(); + ~GbufferStage(); + + virtual bool initialize(const RenderStageInfo &info) override; + virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; + virtual void destroy() override; + virtual void render(Camera *camera) override; + +private: + static RenderStageInfo _initInfo; + PlanarShadowQueue *_planarShadowQueue = nullptr; + RenderBatchedQueue *_batchedQueue = nullptr; + RenderInstancedQueue *_instancedQueue = nullptr; + gfx::Rect _renderArea; + uint _phaseID = 0; +}; + +} // namespace pipeline +} // namespace cc \ No newline at end of file diff --git a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp new file mode 100644 index 0000000000..37f24cfbbe --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp @@ -0,0 +1,168 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#include "LightingFlow.h" +#include "DeferredPipeline.h" +#include "LightingStage.h" +#include "../SceneCulling.h" +#include "gfx/GFXDevice.h" +#include "gfx/GFXDescriptorSet.h" +#include "gfx/GFXFramebuffer.h" +#include "gfx/GFXDevice.h" + +namespace cc { +namespace pipeline { +RenderFlowInfo LightingFlow::_initInfo = { + "LightingFlow", + static_cast(DeferredFlowPriority::LIGHTING), + static_cast(RenderFlowTag::SCENE), + {}, +}; +const RenderFlowInfo &LightingFlow::getInitializeInfo() { return LightingFlow::_initInfo; } + +LightingFlow::~LightingFlow() { +} + +bool LightingFlow::initialize(const RenderFlowInfo &info) { + RenderFlow::initialize(info); + + if (_stages.size() == 0) { + auto stage = CC_NEW(LightingStage); + stage->initialize(LightingStage::getInitializeInfo()); + _stages.emplace_back(stage); + } + + return true; +} + +void LightingFlow::createRenderPass(gfx::Device *device) { + if (_lightingRenderPass == nullptr) { + gfx::ColorAttachment cAttch = { + gfx::Format::RGBA16F, + 1, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + gfx::TextureLayout::UNDEFINED, + gfx::TextureLayout::COLOR_ATTACHMENT_OPTIMAL + }; + gfx::RenderPassInfo info; + info.colorAttachments.push_back(cAttch); + info.depthStencilAttachment = { + device->getDepthStencilFormat(), + 1, + gfx::LoadOp::LOAD, + gfx::StoreOp::DISCARD, + gfx::LoadOp::DISCARD, + gfx::StoreOp::DISCARD, + gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL, + gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL + }; + + _lightingRenderPass = device->createRenderPass(info); + assert(_lightingRenderPass != nullptr); + } +} + +void LightingFlow::createFrameBuffer(gfx::Device *device) { + if (_lightingRenderTarget == nullptr) { + gfx::TextureInfo rtInfo = { + gfx::TextureType::TEX2D, + gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, + gfx::Format::RGBA16F, + _width, + _height, + }; + _lightingRenderTarget = device->createTexture(rtInfo); + } + + if (!_lightingFrameBuff) { + gfx::FramebufferInfo fbInfo; + fbInfo.renderPass = _lightingRenderPass; + fbInfo.colorTextures.push_back(_lightingRenderTarget); + fbInfo.depthStencilTexture = _depth; + _lightingFrameBuff = device->createFramebuffer(fbInfo); + assert(_lightingFrameBuff != nullptr); + } +} + +void LightingFlow::activate(RenderPipeline *pipeline) { + RenderFlow::activate(pipeline); + if (_lightingRenderPass != nullptr) { + return; + } + + const auto device = pipeline->getDevice(); + if (device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || + device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { + _width = device->getWidth(); + _height = device->getHeight(); + } + else { + _width = device->getHeight(); + _height = device->getWidth(); + } + + DeferredPipeline *pp = dynamic_cast(pipeline); + assert(pp != nullptr); + _depth = pp->getDepth(); + + // create renderpass + createRenderPass(device); + + // create framebuffer + createFrameBuffer(device); + + // bind sampler and texture, used in postprocess + pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), + _lightingFrameBuff->getColorTextures()[0]); + + gfx::SamplerInfo spInfo = { + gfx::Filter::LINEAR, + gfx::Filter::LINEAR, + gfx::Filter::NONE, + gfx::Address::CLAMP, + gfx::Address::CLAMP, + gfx::Address::CLAMP + }; + + auto spHash = genSamplerHash(spInfo); + gfx::Sampler *copySampler = getSampler(spHash); + pipeline->getDescriptorSet()->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), + copySampler); +} + +void LightingFlow::render(Camera *camera) { + auto pipeline = dynamic_cast(_pipeline); + RenderFlow::render(camera); +} + +void LightingFlow::destroy() { + RenderFlow::destroy(); +} + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/LightingFlow.h b/native/cocos/renderer/pipeline/deferred/LightingFlow.h new file mode 100644 index 0000000000..b5cc6d217e --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/LightingFlow.h @@ -0,0 +1,63 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#pragma once + +#include "../RenderFlow.h" + +namespace cc { +namespace pipeline { + +class RenderView; + +class CC_DLL LightingFlow : public RenderFlow { +public: + static const RenderFlowInfo &getInitializeInfo(); + + LightingFlow() = default; + virtual ~LightingFlow(); + + virtual bool initialize(const RenderFlowInfo &info) override; + virtual void activate(RenderPipeline *pipeline) override; + virtual void destroy() override; + virtual void render(Camera *camera) override; + + void createRenderPass(gfx::Device *device); + void createFrameBuffer(gfx::Device *device); + gfx::Framebuffer *getLightingFrameBuffer(){return _lightingFrameBuff;} + +private: + static RenderFlowInfo _initInfo; + + gfx::RenderPass *_lightingRenderPass = nullptr; + gfx::Texture *_lightingRenderTarget = nullptr; + gfx::Texture *_depth = nullptr; + gfx::Framebuffer *_lightingFrameBuff = nullptr; + uint _width; + uint _height; +}; + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp new file mode 100644 index 0000000000..5b88b93a5e --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp @@ -0,0 +1,369 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#include "LightingStage.h" +#include "LightingFlow.h" +#include "../BatchedBuffer.h" +#include "../InstancedBuffer.h" +#include "../PlanarShadowQueue.h" +#include "../RenderBatchedQueue.h" +#include "../RenderInstancedQueue.h" +#include "../RenderQueue.h" +#include "../helper/SharedMemory.h" +#include "DeferredPipeline.h" +#include "gfx/GFXCommandBuffer.h" +#include "gfx/GFXDevice.h" +#include "gfx/GFXFramebuffer.h" +#include "gfx/GFXQueue.h" +#include "gfx/GFXDescriptorSet.h" +#include "../PipelineStateManager.h" + +namespace cc { +namespace pipeline { +namespace { +void SRGBToLinear(gfx::Color &out, const gfx::Color &gamma) { + out.x = gamma.x * gamma.x; + out.y = gamma.y * gamma.y; + out.z = gamma.z * gamma.z; +} + +void LinearToSRGB(gfx::Color &out, const gfx::Color &linear) { + out.x = std::sqrt(linear.x); + out.y = std::sqrt(linear.y); + out.z = std::sqrt(linear.z); +} +} // namespace + +RenderStageInfo LightingStage::_initInfo = { + "LightingStage", + static_cast(DeferredStagePriority::LIGHTING), + static_cast(RenderFlowTag::SCENE), + {{false, RenderQueueSortMode::FRONT_TO_BACK, {"default"}}, + {true, RenderQueueSortMode::BACK_TO_FRONT, {"default", "planarShadow"}}}}; + +const RenderStageInfo &LightingStage::getInitializeInfo() { return LightingStage::_initInfo; } + +LightingStage::LightingStage() : RenderStage() { +} + +LightingStage::~LightingStage() { + _deferredLitsBufs->destroy(); + _deferredLitsBufs = nullptr; + _deferredLitsBufView->destroy(); + _deferredLitsBufView = nullptr; +} + +bool LightingStage::initialize(const RenderStageInfo &info) { + RenderStage::initialize(info); + _renderQueueDescriptors = info.renderQueues; + _phaseID = getPhaseID("deferred-lighting"); + _transparentPhaseID = getPhaseID("deferred-transparent"); + return true; +} + +void LightingStage::gatherLights(Camera *camera) { + DeferredPipeline *pipeline = dynamic_cast(_pipeline); + if (!pipeline) { + return; + } + + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + + gfx::CommandBuffer *cmdBuf = pipeline->getCommandBuffers()[0]; + auto scene = camera->getScene(); + const auto sphereLightArrayID = scene->getSphereLightArrayID(); + auto sphereCount = sphereLightArrayID ? sphereLightArrayID[0] : 0; + const auto spotLightArrayID = scene->getSpotLightArrayID(); + auto spotCount = spotLightArrayID ? spotLightArrayID[0] : 0; + + Sphere sphere; + auto exposure = camera->exposure; + int idx = 0; + int elementLen = sizeof(cc::Vec4) / sizeof(float); + int fieldLen = elementLen * _maxDeferredLights; + uint offset = 0; + cc::Vec4 tmpArray; + + for (int i = 1; i <= sphereCount && idx < _maxDeferredLights; i++, idx++) { + const auto light = scene->getSphereLight(sphereLightArrayID[i]); + sphere.setCenter(light->position); + sphere.setRadius(light->range); + if (!sphere_frustum(&sphere, camera->getFrustum())) { + continue; + } + // position + offset = idx * elementLen; + _lightBufferData[offset] = light->position.x; + _lightBufferData[offset + 1] = light->position.y; + _lightBufferData[offset + 2] = light->position.z; + _lightBufferData[offset + 3] = 0; + + // color + offset = idx * elementLen + fieldLen; + tmpArray.set(light->color.x, light->color.y, light->color.z, 0); + if (light->useColorTemperature) { + tmpArray.x *= light->colorTemperatureRGB.x; + tmpArray.y *= light->colorTemperatureRGB.y; + tmpArray.z *= light->colorTemperatureRGB.z; + } + + if (sharedData->isHDR) { + tmpArray.w = light->luminance * sharedData->fpScale * _lightMeterScale; + } else { + tmpArray.w = light->luminance * exposure * _lightMeterScale; + } + + _lightBufferData[offset + 0] = tmpArray.x; + _lightBufferData[offset + 1] = tmpArray.y; + _lightBufferData[offset + 2] = tmpArray.z; + _lightBufferData[offset + 3] = tmpArray.w; + + // size range angle + offset = idx * elementLen + fieldLen * 2; + _lightBufferData[offset] = light->size; + _lightBufferData[offset + 1] = light->range; + _lightBufferData[offset + 2] = 0; + } + + for (int i = 1; i <= spotCount && idx < _maxDeferredLights; i++, idx++) { + const auto light = scene->getSpotLight(spotLightArrayID[i]); + sphere.setCenter(light->position); + sphere.setRadius(light->range); + if (!sphere_frustum(&sphere, camera->getFrustum())) { + continue; + } + // position + offset = idx * elementLen; + _lightBufferData[offset] = light->position.x; + _lightBufferData[offset + 1] = light->position.y; + _lightBufferData[offset + 2] = light->position.z; + _lightBufferData[offset + 3] = 1; + + // color + offset = idx * elementLen + fieldLen; + tmpArray.set(light->color.x, light->color.y, light->color.z, 0); + if (light->useColorTemperature) { + tmpArray.x *= light->colorTemperatureRGB.x; + tmpArray.y *= light->colorTemperatureRGB.y; + tmpArray.z *= light->colorTemperatureRGB.z; + } + + if (sharedData->isHDR) { + tmpArray.w = light->luminance * sharedData->fpScale * _lightMeterScale; + } else { + tmpArray.w = light->luminance * exposure * _lightMeterScale; + } + + _lightBufferData[offset + 0] = tmpArray.x; + _lightBufferData[offset + 1] = tmpArray.y; + _lightBufferData[offset + 2] = tmpArray.z; + _lightBufferData[offset + 3] = tmpArray.w; + + // size range angle + offset = idx * elementLen + fieldLen * 2; + _lightBufferData[offset] = light->size; + _lightBufferData[offset + 1] = light->range; + _lightBufferData[offset + 2] = light->spotAngle; + + // dir + offset = idx * elementLen + fieldLen * 3; + _lightBufferData[offset] = light->direction.x; + _lightBufferData[offset + 1] = light->direction.y; + _lightBufferData[offset + 2] = light->direction.z; + } + + // the count of lights is set to cc_lightDir[0].w + _lightBufferData[fieldLen * 3 + 3] = idx; + cmdBuf->updateBuffer(_deferredLitsBufs, _lightBufferData.data()); +} + +void LightingStage::initLightingBuffer() { + const auto device = _pipeline->getDevice(); + + // color/pos/dir/angle 都是vec4存储, 最后一个vec4只要x存储光源个数 + uint totalSize = sizeof(Vec4) * 4 * _maxDeferredLights; + totalSize = std::ceil((float)totalSize / device->getUboOffsetAlignment()) * device->getUboOffsetAlignment(); + + // create lighting buffer and view + if (_deferredLitsBufs == nullptr) { + gfx::BufferInfo bfInfo = { + gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, + totalSize, + static_cast(device->getUboOffsetAlignment()), + }; + _deferredLitsBufs = device->createBuffer(bfInfo); + assert(_deferredLitsBufs != nullptr); + } + + if (_deferredLitsBufView == nullptr) { + gfx::BufferViewInfo bvInfo = {_deferredLitsBufs, 0, totalSize}; + _deferredLitsBufView = device->createBuffer(bvInfo); + assert(_deferredLitsBufView != nullptr); + _descriptorSet->bindBuffer(static_cast(ModelLocalBindings::UBO_FORWARD_LIGHTS), _deferredLitsBufView); + } + + _lightBufferData.resize(totalSize / sizeof(float)); +} + +void LightingStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { + RenderStage::activate(pipeline, flow); + + const auto device = pipeline->getDevice(); + + // create descriptorset/layout + gfx::DescriptorSetLayoutInfo layoutInfo = {localDescriptorSetLayout.bindings}; + _descLayout = device->createDescriptorSetLayout(layoutInfo); + + gfx::DescriptorSetInfo setInfo = {_descLayout}; + _descriptorSet = device->createDescriptorSet(setInfo); + + // create lighting buffer and view + initLightingBuffer(); + + for (const auto &descriptor : _renderQueueDescriptors) { + uint phase = 0; + for (const auto &stage : descriptor.stages) { + phase |= getPhaseID(stage); + } + + std::function sortFunc = opaqueCompareFn; + switch (descriptor.sortMode) { + case RenderQueueSortMode::BACK_TO_FRONT: + sortFunc = transparentCompareFn; + break; + case RenderQueueSortMode::FRONT_TO_BACK: + sortFunc = opaqueCompareFn; + default: + break; + } + + RenderQueueCreateInfo info = {descriptor.isTransparent, phase, sortFunc}; + _renderQueues.emplace_back(CC_NEW(RenderQueue(std::move(info)))); + } + + _planarShadowQueue = CC_NEW(PlanarShadowQueue(_pipeline)); +} + +void LightingStage::destroy() { + CC_SAFE_DELETE(_planarShadowQueue); + RenderStage::destroy(); +} + +void LightingStage::render(Camera *camera) { + auto pipeline = static_cast(_pipeline); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + + auto cmdBuff = pipeline->getCommandBuffers()[0]; + + // lighting info + gatherLights(camera); + _descriptorSet->update(); + + vector dynamicOffsets = {0}; + cmdBuff->bindDescriptorSet(static_cast(SetIndex::LOCAL), _descriptorSet, dynamicOffsets); + + // draw quad + gfx::Rect renderArea = pipeline->getRenderArea(camera, false); + + gfx::Color clearColor = {0.0, 0.0, 0.0, 1.0}; + if (camera->clearFlag | static_cast( gfx::ClearFlagBit::COLOR)) { + if (sharedData->isHDR) { + SRGBToLinear(clearColor, camera->clearColor); + const auto scale = sharedData->fpScale / camera->exposure; + clearColor.x *= scale; + clearColor.y *= scale; + clearColor.z *= scale; + } else { + clearColor = camera->clearColor; + } + } + + clearColor.w = camera->clearColor.w; + + LightingFlow *flow = dynamic_cast(_flow); + assert(flow != nullptr); + + auto frameBuffer = flow->getLightingFrameBuffer(); + auto renderPass = frameBuffer->getRenderPass(); + + cmdBuff->beginRenderPass(renderPass, frameBuffer, renderArea, &clearColor, + camera->clearDepth, camera->clearStencil); + + cmdBuff->bindDescriptorSet(static_cast(SetIndex::GLOBAL), pipeline->getDescriptorSet()); + + // get pso and draw quad + PassView *pass = sceneData->getSharedData()->getDeferredLightPass(); + gfx::Shader *shader = sceneData->getSharedData()->getDeferredLightPassShader(); + + gfx::InputAssembler* inputAssembler = pipeline->getQuadIAOffScreen(); + gfx::PipelineState *pState =PipelineStateManager::getOrCreatePipelineState( + pass, shader, inputAssembler, renderPass); + assert(pState != nullptr); + + cmdBuff->bindPipelineState(pState); + cmdBuff->bindInputAssembler(inputAssembler); + cmdBuff->draw(inputAssembler); + + // planerQueue + _planarShadowQueue->recordCommandBuffer(_device, renderPass, cmdBuff); + + // transparent + for (auto queue : _renderQueues) { + queue->clear(); + } + const auto &renderObjects = sceneData->getRenderObjects(); + + uint m = 0, p = 0; + size_t k = 0; + for (size_t i = 0; i < renderObjects.size(); ++i) { + const auto &ro = renderObjects[i]; + const auto model = ro.model; + const auto subModelID = model->getSubModelID(); + const auto subModelCount = subModelID[0]; + for (m = 1; m <= subModelCount; ++m) { + auto subModel = model->getSubModelView(subModelID[m]); + for (p = 0; p < subModel->passCount; ++p) { + const PassView *pass = subModel->getPassView(p); + + if (pass->phase != _transparentPhaseID) continue; + for (k = 0; k < _renderQueues.size(); k++) { + _renderQueues[k]->insertRenderPass(ro, m, p); + } + } + } + } + for (auto queue : _renderQueues) { + queue->sort(); + queue->recordCommandBuffer(_device, renderPass, cmdBuff); + } + + cmdBuff->endRenderPass(); +} + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.h b/native/cocos/renderer/pipeline/deferred/LightingStage.h new file mode 100644 index 0000000000..cadbc2c02f --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.h @@ -0,0 +1,76 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#pragma once + +#include "../RenderStage.h" + +namespace cc { +namespace pipeline { + +class RenderFlow; +class Camera; +class RenderBatchedQueue; +class RenderInstancedQueue; +class RenderAdditiveLightQueue; +class PlanarShadowQueue; + +class CC_DLL LightingStage : public RenderStage { +public: + static const RenderStageInfo &getInitializeInfo(); + + LightingStage(); + ~LightingStage(); + + virtual bool initialize(const RenderStageInfo &info) override; + virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; + virtual void destroy() override; + virtual void render(Camera *camera) override; + + void initLightingBuffer(); + +private: + void gatherLights(Camera *camera); + +private: + static RenderStageInfo _initInfo; + PlanarShadowQueue *_planarShadowQueue = nullptr; + gfx::Rect _renderArea; + uint _phaseID = 0; + uint _transparentPhaseID = 0; + + gfx::Buffer *_deferredLitsBufs = nullptr; + gfx::Buffer *_deferredLitsBufView = nullptr; + std::vector _lightBufferData; + uint _lightBufferStride = 0; + uint _lightBufferElementCount = 0; + float _lightMeterScale = 10000.0; + gfx::DescriptorSet *_descriptorSet = nullptr; + gfx::DescriptorSetLayout *_descLayout = nullptr; + uint _maxDeferredLights = UBODeferredLight::LIGHTS_PER_PASS; +}; + +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp new file mode 100644 index 0000000000..168efdb69e --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp @@ -0,0 +1,90 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#include "PostprocessStage.h" +#include "DeferredPipeline.h" +#include "gfx/GFXFramebuffer.h" +#include "gfx/GFXCommandBuffer.h" +#include "../helper/SharedMemory.h" +#include "../PipelineStateManager.h" +#include "gfx/GFXDevice.h" + +namespace cc { +namespace pipeline { +RenderStageInfo PostprocessStage::_initInfo = { + "PostprocessStage", + static_cast(DeferredStagePriority::POSTPROCESS), + 0, +}; + +bool PostprocessStage::initialize(const RenderStageInfo &info) { + RenderStage::initialize(info); + return true; +} + +void PostprocessStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { + RenderStage::activate(pipeline, flow); +} + +void PostprocessStage::destroy() { +} + +void PostprocessStage::render(Camera *camera) { + DeferredPipeline *pp = dynamic_cast(_pipeline); + assert(pp != nullptr); + gfx::Device *device = pp->getDevice(); + gfx::CommandBuffer *cmdBf = pp->getCommandBuffers()[0]; + + _pipeline->getPipelineUBO()->updateCameraUBO(camera, camera->getWindow()->hasOffScreenAttachments); + gfx::Rect renderArea = pp->getRenderArea(camera, !camera->getWindow()->hasOffScreenAttachments); + + gfx::Color color = {0, 0, 0, 1}; + gfx::ColorList clst; + clst.push_back(color); + + gfx::Framebuffer *fb = camera->getWindow()->getFramebuffer(); + gfx::RenderPass *rp = fb->getRenderPass() ? + fb->getRenderPass() : pp->getOrCreateRenderPass(static_cast(camera->clearFlag)); + + cmdBf->beginRenderPass(rp, fb, renderArea, clst, camera->clearDepth, camera->clearStencil); + cmdBf->bindDescriptorSet(static_cast(SetIndex::GLOBAL), pp->getDescriptorSet()); + + // post proces + const auto sceneData = _pipeline->getPipelineSceneData(); + PassView *pv = sceneData->getSharedData()->getDeferredPostPass(); + gfx::Shader *sd = sceneData->getSharedData()->getDeferredPostPassShader(); + + gfx::InputAssembler *ia = camera->getWindow()->hasOffScreenAttachments ? pp->getQuadIAOffScreen() : pp->getQuadIAOnScreen(); + + gfx::PipelineState *pso = PipelineStateManager::getOrCreatePipelineState(pv, sd, ia, rp); + assert(pso != nullptr); + + cmdBf->bindPipelineState(pso); + cmdBf->bindInputAssembler(ia); + cmdBf->draw(ia); + cmdBf->endRenderPass(); +} +} // namespace pipeline +} // namespace cc \ No newline at end of file diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h new file mode 100644 index 0000000000..89aadc2fc3 --- /dev/null +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h @@ -0,0 +1,50 @@ +/* + Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. + + https://www.cocos.com/ + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ + +#pragma once + +#include "../RenderStage.h" + +namespace cc { +namespace pipeline { + +class Camera; + +class CC_DLL PostprocessStage : public RenderStage { +public: + PostprocessStage() {}; + ~PostprocessStage() {}; + + virtual bool initialize(const RenderStageInfo &info) override; + virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; + virtual void destroy() override; + virtual void render(Camera *camera) override; + +private: + gfx::Rect _renderArea; + static RenderStageInfo _initInfo; +}; +} // namespace pipeline +} // namespace cc \ No newline at end of file diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 97bfd227e4..8aa30e3a32 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -122,7 +122,7 @@ void ForwardPipeline::render(const vector &cameras) { _pipelineUBO->updateGlobalUBO(); for (const auto cameraId : cameras) { Camera *camera = GET_CAMERA(cameraId); - _pipelineUBO->updateCameraUBO(camera); + _pipelineUBO->updateCameraUBO(camera, camera->getWindow()->hasOffScreenAttachments); for (const auto flow : _flows) { flow->render(camera); } diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index d8445c6b9b..72ef3c64c7 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -379,6 +379,10 @@ struct CC_DLL Camera { cc::Mat4 matViewProjInv; cc::Mat4 matProj; cc::Mat4 matProjInv; + cc::Mat4 matViewProjOffscreen; + cc::Mat4 matViewProjInvOffscreen; + cc::Mat4 matProjOffscreen; + cc::Mat4 matProjInvOffscreen; CC_INLINE const Node *getNode() const { return GET_NODE(nodeID); } CC_INLINE const Scene *getScene() const { return GET_SCENE(sceneID); } @@ -481,12 +485,20 @@ struct CC_DLL PipelineSharedSceneData { uint32_t isHDR = 0; uint32_t shadingScale = 0; uint32_t fpScale = 0; + uint32_t deferredLightPass = 0; + uint32_t deferredLightPassShader = 0; + uint32_t deferredPostPass = 0; + uint32_t deferredPostPassShader = 0; CC_INLINE Shadows* getShadows() const {return GET_SHADOWS(shadow);} CC_INLINE Skybox* getSkybox() const {return GET_SKYBOX(skybox);} CC_INLINE Ambient* getAmbient() const {return GET_AMBIENT(ambient);} CC_INLINE Fog* getFog() const {return GET_FOG(fog);} - + CC_INLINE PassView* getDeferredLightPass() const {return GET_PASS(deferredLightPass);} + CC_INLINE gfx::Shader* getDeferredLightPassShader() const {return GET_SHADER(deferredLightPassShader);} + CC_INLINE PassView* getDeferredPostPass() const {return GET_PASS(deferredPostPass);} + CC_INLINE gfx::Shader* getDeferredPostPassShader() const {return GET_SHADER(deferredPostPassShader);} + const static se::PoolType type; }; diff --git a/native/tools/tojs/pipeline.ini b/native/tools/tojs/pipeline.ini index 05ee174d80..39d87a6fc6 100644 --- a/native/tools/tojs/pipeline.ini +++ b/native/tools/tojs/pipeline.ini @@ -26,13 +26,13 @@ cxxgenerator_headers = extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s # what headers to parse -headers = %(cocosdir)s/cocos/renderer/pipeline/forward/ForwardPipeline.h %(cocosdir)s/cocos/renderer/pipeline/forward/ForwardFlow.h %(cocosdir)s/cocos/renderer/pipeline/forward/ForwardStage.h %(cocosdir)s/cocos/renderer/pipeline/shadow/ShadowFlow.h %(cocosdir)s/cocos/renderer/pipeline/shadow/ShadowStage.h %(cocosdir)s/cocos/renderer/pipeline/RenderPipeline.h %(cocosdir)s/cocos/renderer/pipeline/RenderFlow.h %(cocosdir)s/cocos/renderer/pipeline/RenderStage.h %(cocosdir)s/cocos/renderer/pipeline/Define.h %(cocosdir)s/cocos/renderer/pipeline/helper/SharedMemory.h %(cocosdir)s/cocos/renderer/pipeline/InstancedBuffer.h +headers = %(cocosdir)s/cocos/renderer/pipeline/forward/ForwardPipeline.h %(cocosdir)s/cocos/renderer/pipeline/forward/ForwardFlow.h %(cocosdir)s/cocos/renderer/pipeline/forward/ForwardStage.h %(cocosdir)s/cocos/renderer/pipeline/shadow/ShadowFlow.h %(cocosdir)s/cocos/renderer/pipeline/shadow/ShadowStage.h %(cocosdir)s/cocos/renderer/pipeline/RenderPipeline.h %(cocosdir)s/cocos/renderer/pipeline/RenderFlow.h %(cocosdir)s/cocos/renderer/pipeline/RenderStage.h %(cocosdir)s/cocos/renderer/pipeline/Define.h %(cocosdir)s/cocos/renderer/pipeline/helper/SharedMemory.h %(cocosdir)s/cocos/renderer/pipeline/InstancedBuffer.h %(cocosdir)s/cocos/renderer/pipeline/deferred/DeferredPipeline.h %(cocosdir)s/cocos/renderer/pipeline/deferred/GbufferFlow.h %(cocosdir)s/cocos/renderer/pipeline/deferred/GbufferStage.h %(cocosdir)s/cocos/renderer/pipeline/deferred/LightingFlow.h %(cocosdir)s/cocos/renderer/pipeline/deferred/LightingStage.h %(cocosdir)s/cocos/renderer/pipeline/deferred/PostprocessStage.h hpp_headers = cocos/bindings/auto/jsb_gfx_auto.h # what classes to produce code for. You can use regular expressions here. When testing the regular # expression, it will be enclosed in "^$", like this: "^Menu*$". -classes = RenderPipeline ForwardPipeline ForwardFlow ForwardStage ShadowFlow ShadowStage RenderPipelineInfo RenderFlowInfo RenderStageInfo RenderQueueDesc RenderFlow RenderStage RenderWindow InstancedBuffer Light PassView +classes = RenderPipeline ForwardPipeline ForwardFlow ForwardStage ShadowFlow ShadowStage RenderPipelineInfo RenderFlowInfo RenderStageInfo RenderQueueDesc RenderFlow RenderStage RenderWindow InstancedBuffer Light PassView DeferredPipeline GbufferStage GbufferFlow LightingStage LightingFlow PostprocessStage # what should we skip? in the format ClassName::[function function] # ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also @@ -48,9 +48,15 @@ skip = ForwardPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLi ForwardStage::[initialize activate destroy render], ShadowFlow::[initialize activate destroy render], ShadowStage::[initialize activate destroy render], - InstancedBuffer::[merge uploadBuffers clear getInstances getPass hasPendingModels dynamicOffsets] + InstancedBuffer::[merge uploadBuffers clear getInstances getPass hasPendingModels dynamicOffsets], + DeferredPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLightBuffers getLightIndexOffsets getLightIndices getQuadIAOnScreen getQuadIAOffScreen setDepth getDepth getRenderArea createQuadInputAssembler destroyQuadInputAssembler], + GbufferFlow::[initialize activate destroy render getFrameBuffer createRenderPass createRenderTargets], + GbufferStage::[initialize activate destroy render], + LightingFlow::[initialize activate destroy render createRenderPass createFrameBuffer getLightingFrameBuffer], + LightingStage::[initialize activate destroy render initLightingBuffer gatherLights], + PostprocessStage::[initialize activate destroy render] -rename_functions = +rename_functions = getter_setter= RenderPipeline::[descriptorSet descriptorSetLayout] @@ -60,7 +66,7 @@ rename_classes = remove_prefix = # classes for which there will be no "parent" lookup -classes_have_no_parents = +classes_have_no_parents = # base classes which will be skipped when their sub-classes found them. base_classes_to_skip = Clonable Object From 8c96bfa86026adc68253c3cb748856f92649b1b4 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 1 Feb 2021 16:39:19 +0800 Subject: [PATCH 145/270] editor adapt --- native/CMakeLists.txt | 55 +- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 10108 +++++++++++----- native/cocos/bindings/auto/jsb_gfx_auto.h | 378 +- native/cocos/bindings/auto/jsb_gles3_auto.cpp | 20 + native/cocos/bindings/auto/jsb_gles3_auto.h | 1 + native/cocos/bindings/auto/jsb_mtl_auto.cpp | 52 + native/cocos/bindings/auto/jsb_mtl_auto.h | 3 + .../cocos/bindings/auto/jsb_pipeline_auto.cpp | 120 +- .../cocos/bindings/auto/jsb_pipeline_auto.h | 6 +- .../cocos/bindings/manual/jsb_conversions.h | 1 - native/cocos/renderer/core/Core.h | 1 - .../core/gfx-agent/GFXDeviceAgent.cpp | 2 +- .../core/gfx-agent/GFXSamplerAgent.cpp | 2 - .../cocos/renderer/core/gfx/GFXDef-common.h | 78 +- native/cocos/renderer/core/gfx/GFXDef.h | 41 +- .../renderer/core/gfx/GFXGlobalBarrier.h | 2 +- native/cocos/renderer/core/gfx/GFXSampler.h | 4 - .../renderer/core/gfx/GFXTextureBarrier.h | 2 +- .../GLESCommandPool.h} | 26 +- .../cocos/renderer/gfx-gles-common/eglw.cpp | 726 ++ native/cocos/renderer/gfx-gles-common/eglw.h | 376 + .../{gfx-gles2 => gfx-gles-common}/gles2w.cpp | 751 +- .../{gfx-gles2 => gfx-gles-common}/gles2w.h | 368 +- .../cocos/renderer/gfx-gles-common/gles3w.cpp | 554 + .../cocos/renderer/gfx-gles-common/gles3w.h | 288 + .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 12 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 18 +- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 44 +- .../cocos/renderer/gfx-gles2/GLES2Context.h | 2 +- .../renderer/gfx-gles2/GLES2GPUObjects.h | 4 +- .../cocos/renderer/gfx-gles2/GLES2Sampler.cpp | 4 - .../renderer/gfx-gles2/GLES2Wrangler.cpp | 79 + .../cocos/renderer/gfx-gles2/GLES2Wrangler.h | 43 + .../cocos/renderer/gfx-gles2/GLES2Wrangler.mm | 108 + native/cocos/renderer/gfx-gles2/gles2w.mm | 2907 ----- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 18 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 30 +- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 59 +- .../cocos/renderer/gfx-gles3/GLES3Context.h | 2 +- .../renderer/gfx-gles3/GLES3GPUObjects.h | 4 +- .../cocos/renderer/gfx-gles3/GLES3Sampler.cpp | 4 - .../renderer/gfx-gles3/GLES3Wrangler.cpp | 80 + .../cocos/renderer/gfx-gles3/GLES3Wrangler.h | 44 + .../cocos/renderer/gfx-gles3/GLES3Wrangler.mm | 108 + native/cocos/renderer/gfx-gles3/gles3w.cpp | 3362 ----- native/cocos/renderer/gfx-gles3/gles3w.h | 1686 --- native/cocos/renderer/gfx-gles3/gles3w.mm | 3394 ------ .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 102 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 143 +- native/cocos/renderer/gfx-vulkan/VKCommands.h | 1 + .../cocos/renderer/gfx-vulkan/VKContext.cpp | 6 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 11 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 6 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 6 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 35 +- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 6 +- .../cocos/renderer/gfx-vulkan/VKSampler.cpp | 4 - native/cocos/renderer/gfx-vulkan/VKUtils.h | 2 +- native/cocos/renderer/pipeline/Define.cpp | 40 +- native/cocos/renderer/pipeline/Define.h | 22 +- .../cocos/renderer/pipeline/PipelineUBO.cpp | 12 +- .../pipeline/RenderAdditiveLightQueue.cpp | 2 +- .../pipeline/forward/ForwardPipeline.cpp | 4 +- .../renderer/pipeline/shadow/ShadowFlow.cpp | 24 +- native/tools/bindings-generator/generator.py | 23 +- native/tools/gfx-define-generator/generate.js | 43 +- .../tools/gles-wrangler-generator/generate.js | 57 +- native/tools/tojs/genbindings.py | 28 +- native/tools/tojs/gfx.ini | 18 +- native/tools/tojs/gles2.ini | 2 +- native/tools/tojs/gles3.ini | 2 +- native/tools/tojs/vulkan.ini | 2 +- 72 files changed, 10095 insertions(+), 16483 deletions(-) rename native/cocos/renderer/{core/gfx/GFXCommandPool.h => gfx-gles-common/GLESCommandPool.h} (80%) create mode 100644 native/cocos/renderer/gfx-gles-common/eglw.cpp create mode 100644 native/cocos/renderer/gfx-gles-common/eglw.h rename native/cocos/renderer/{gfx-gles2 => gfx-gles-common}/gles2w.cpp (78%) rename native/cocos/renderer/{gfx-gles2 => gfx-gles-common}/gles2w.h (78%) mode change 100755 => 100644 create mode 100644 native/cocos/renderer/gfx-gles-common/gles3w.cpp create mode 100644 native/cocos/renderer/gfx-gles-common/gles3w.h create mode 100644 native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp create mode 100644 native/cocos/renderer/gfx-gles2/GLES2Wrangler.h create mode 100644 native/cocos/renderer/gfx-gles2/GLES2Wrangler.mm delete mode 100755 native/cocos/renderer/gfx-gles2/gles2w.mm create mode 100644 native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp create mode 100644 native/cocos/renderer/gfx-gles3/GLES3Wrangler.h create mode 100644 native/cocos/renderer/gfx-gles3/GLES3Wrangler.mm delete mode 100644 native/cocos/renderer/gfx-gles3/gles3w.cpp delete mode 100755 native/cocos/renderer/gfx-gles3/gles3w.h delete mode 100755 native/cocos/renderer/gfx-gles3/gles3w.mm diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 110bce3e01..d80dddda21 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -92,7 +92,7 @@ endfunction() ################################# options ############################################ -# default fallback options +# default fallback options set_if_undefined(USE_SE_V8 ON) set_if_undefined(USE_V8_DEBUGGER ON) set_if_undefined(USE_SOCKET ON) @@ -573,18 +573,19 @@ cocos_source_files( cocos/renderer/core/gfx/GFXObject.cpp cocos/renderer/core/gfx/GFXBuffer.cpp cocos/renderer/core/gfx/GFXBuffer.h - cocos/renderer/core/gfx/GFXCommand.h cocos/renderer/core/gfx/GFXCommandBuffer.cpp cocos/renderer/core/gfx/GFXCommandBuffer.h - cocos/renderer/core/gfx/GFXCommandPool.h cocos/renderer/core/gfx/GFXContext.cpp cocos/renderer/core/gfx/GFXContext.h cocos/renderer/core/gfx/GFXDef.cpp cocos/renderer/core/gfx/GFXDef.h + cocos/renderer/core/gfx/GFXDef-common.h cocos/renderer/core/gfx/GFXDevice.cpp cocos/renderer/core/gfx/GFXDevice.h cocos/renderer/core/gfx/GFXFramebuffer.cpp cocos/renderer/core/gfx/GFXFramebuffer.h + cocos/renderer/core/gfx/GFXGlobalBarrier.cpp + cocos/renderer/core/gfx/GFXGlobalBarrier.h cocos/renderer/core/gfx/GFXInputAssembler.cpp cocos/renderer/core/gfx/GFXInputAssembler.h cocos/renderer/core/gfx/GFXDescriptorSet.cpp @@ -605,8 +606,8 @@ cocos_source_files( cocos/renderer/core/gfx/GFXShader.h cocos/renderer/core/gfx/GFXTexture.cpp cocos/renderer/core/gfx/GFXTexture.h - cocos/renderer/core/gfx/GFXFence.h - cocos/renderer/core/gfx/GFXFence.cpp + cocos/renderer/core/gfx/GFXTextureBarrier.cpp + cocos/renderer/core/gfx/GFXTextureBarrier.h cocos/renderer/core/gfx-agent/GFXAgent.h cocos/renderer/core/gfx-agent/GFXBufferAgent.h cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -687,6 +688,15 @@ cocos_source_files( cocos/renderer/pipeline/helper/SharedMemory.cpp ) +if(CC_USE_GLES2 OR CC_USE_GLES3) +cocos_source_files( + cocos/renderer/gfx-gles-common/GLESCommandPool.h + cocos/renderer/gfx-gles-common/eglw.cpp + cocos/renderer/gfx-gles-common/gles2w.cpp + cocos/renderer/gfx-gles-common/gles3w.cpp +) +endif() + if(CC_USE_GLES2) cocos_source_files( cocos/renderer/gfx-gles2/GFXGLES2.h @@ -697,6 +707,7 @@ if(CC_USE_GLES2) cocos/renderer/gfx-gles2/GLES2Commands.cpp cocos/renderer/gfx-gles2/GLES2Commands.h cocos/renderer/gfx-gles2/GLES2Context.h + cocos/renderer/gfx-gles2/GLES2Context.cpp cocos/renderer/gfx-gles2/GLES2Device.cpp cocos/renderer/gfx-gles2/GLES2Device.h cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp @@ -726,23 +737,23 @@ if(CC_USE_GLES2) cocos/renderer/gfx-gles2/GLES2Std.h cocos/renderer/gfx-gles2/GLES2Texture.cpp cocos/renderer/gfx-gles2/GLES2Texture.h - cocos/renderer/gfx-gles2/gles2w.h - cocos/renderer/gfx-gles2/GLES2Fence.h - cocos/renderer/gfx-gles2/GLES2Fence.cpp + cocos/renderer/gfx-gles2/GLES2Wrangler.h ) if(APPLE) cocos_source_files( - cocos/renderer/gfx-gles2/GLES2Context.mm - cocos/renderer/gfx-gles2/gles2w.mm + cocos/renderer/gfx-gles2/GLES2Wrangler.mm ) else() cocos_source_files( - cocos/renderer/gfx-gles2/GLES2Context.cpp - cocos/renderer/gfx-gles2/gles2w.c + cocos/renderer/gfx-gles2/GLES2Wrangler.cpp + ) + endif() + if(IOS) + cocos_source_files( + cocos/renderer/gfx-gles2/GLES2Context.mm ) endif() - endif() if(CC_USE_GLES3) @@ -760,6 +771,8 @@ if(CC_USE_GLES3) cocos/renderer/gfx-gles3/GLES3Device.h cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp cocos/renderer/gfx-gles3/GLES3Framebuffer.h + cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp + cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h cocos/renderer/gfx-gles3/GLES3GPUObjects.h cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp cocos/renderer/gfx-gles3/GLES3InputAssembler.h @@ -785,17 +798,15 @@ if(CC_USE_GLES3) cocos/renderer/gfx-gles3/GLES3Std.h cocos/renderer/gfx-gles3/GLES3Texture.cpp cocos/renderer/gfx-gles3/GLES3Texture.h - cocos/renderer/gfx-gles3/gles3w.h - cocos/renderer/gfx-gles3/GLES3Fence.h - cocos/renderer/gfx-gles3/GLES3Fence.cpp + cocos/renderer/gfx-gles3/GLES3Wrangler.h ) if(APPLE) cocos_source_files( - cocos/renderer/gfx-gles3/gles3w.mm + cocos/renderer/gfx-gles3/GLES3Wrangler.mm ) else() cocos_source_files( - cocos/renderer/gfx-gles3/gles3w.c + cocos/renderer/gfx-gles3/GLES3Wrangler.cpp ) endif() if(IOS) @@ -843,8 +854,6 @@ if(CC_USE_METAL) cocos/renderer/gfx-metal/MTLTexture.mm cocos/renderer/gfx-metal/MTLUtils.h cocos/renderer/gfx-metal/MTLUtils.mm - cocos/renderer/gfx-metal/MTLFence.h - cocos/renderer/gfx-metal/MTLFence.mm cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h cocos/renderer/gfx-metal/MTLConfig.h cocos/renderer/gfx-metal/MTLSemaphore.h @@ -868,6 +877,8 @@ if(CC_USE_VULKAN) cocos/renderer/gfx-vulkan/VKDevice.h cocos/renderer/gfx-vulkan/VKFramebuffer.cpp cocos/renderer/gfx-vulkan/VKFramebuffer.h + cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp + cocos/renderer/gfx-vulkan/VKGlobalBarrier.h cocos/renderer/gfx-vulkan/VKGPUObjects.h cocos/renderer/gfx-vulkan/VKInputAssembler.cpp cocos/renderer/gfx-vulkan/VKInputAssembler.h @@ -892,9 +903,9 @@ if(CC_USE_VULKAN) cocos/renderer/gfx-vulkan/VKStd.h cocos/renderer/gfx-vulkan/VKTexture.cpp cocos/renderer/gfx-vulkan/VKTexture.h + cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp + cocos/renderer/gfx-vulkan/VKTextureBarrier.h cocos/renderer/gfx-vulkan/VKUtils.h - cocos/renderer/gfx-vulkan/VKFence.h - cocos/renderer/gfx-vulkan/VKFence.cpp cocos/renderer/gfx-vulkan/volk.h cocos/renderer/gfx-vulkan/volk.c ) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index f0afb90757..4a65f67cd0 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -10,247 +10,1120 @@ #ifndef JSB_FREE #define JSB_FREE(ptr) delete ptr #endif +se::Object* __jsb_cc_gfx_Size_proto = nullptr; +se::Class* __jsb_cc_gfx_Size_class = nullptr; + +static bool js_gfx_Size_get_x(se::State& s) +{ + cc::gfx::Size* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Size_get_x : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->x, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->x, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Size_get_x) + +static bool js_gfx_Size_set_x(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Size* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Size_set_x : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->x, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Size_set_x : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Size_set_x) + +static bool js_gfx_Size_get_y(se::State& s) +{ + cc::gfx::Size* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Size_get_y : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->y, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->y, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Size_get_y) + +static bool js_gfx_Size_set_y(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Size* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Size_set_y : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->y, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Size_set_y : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Size_set_y) + +static bool js_gfx_Size_get_z(se::State& s) +{ + cc::gfx::Size* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Size_get_z : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->z, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->z, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Size_get_z) + +static bool js_gfx_Size_set_z(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Size* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Size_set_z : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->z, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Size_set_z : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Size_set_z) template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::Format *to, se::Object *ctx) +bool sevalue_to_native(const se::Value &from, cc::gfx::Size * to, se::Object *ctx) { - typedef typename std::underlying_type_t under_type; - under_type tmp; - if(sevalue_to_native(from, &tmp, ctx)) { *to = static_cast(tmp); return true;} - return false; + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::Size*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("x", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->x), ctx); + } + json->getProperty("y", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->y), ctx); + } + json->getProperty("z", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->z), ctx); + } + return ok; } -int js_register_gfx_Format(se::Object* obj) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Size_finalize) + +static bool js_gfx_Size_constructor(se::State& s) { - auto enum_kls = se::Object::createPlainObject(); - enum_kls->setProperty("UNKNOWN", se::Value(0)); - enum_kls->setProperty("A8", se::Value(1)); - enum_kls->setProperty("L8", se::Value(2)); - enum_kls->setProperty("LA8", se::Value(3)); - enum_kls->setProperty("R8", se::Value(4)); - enum_kls->setProperty("R8SN", se::Value(5)); - enum_kls->setProperty("R8UI", se::Value(6)); - enum_kls->setProperty("R8I", se::Value(7)); - enum_kls->setProperty("R16F", se::Value(8)); - enum_kls->setProperty("R16UI", se::Value(9)); - enum_kls->setProperty("R16I", se::Value(10)); - enum_kls->setProperty("R32F", se::Value(11)); - enum_kls->setProperty("R32UI", se::Value(12)); - enum_kls->setProperty("R32I", se::Value(13)); - enum_kls->setProperty("RG8", se::Value(14)); - enum_kls->setProperty("RG8SN", se::Value(15)); - enum_kls->setProperty("RG8UI", se::Value(16)); - enum_kls->setProperty("RG8I", se::Value(17)); - enum_kls->setProperty("RG16F", se::Value(18)); - enum_kls->setProperty("RG16UI", se::Value(19)); - enum_kls->setProperty("RG16I", se::Value(20)); - enum_kls->setProperty("RG32F", se::Value(21)); - enum_kls->setProperty("RG32UI", se::Value(22)); - enum_kls->setProperty("RG32I", se::Value(23)); - enum_kls->setProperty("RGB8", se::Value(24)); - enum_kls->setProperty("SRGB8", se::Value(25)); - enum_kls->setProperty("RGB8SN", se::Value(26)); - enum_kls->setProperty("RGB8UI", se::Value(27)); - enum_kls->setProperty("RGB8I", se::Value(28)); - enum_kls->setProperty("RGB16F", se::Value(29)); - enum_kls->setProperty("RGB16UI", se::Value(30)); - enum_kls->setProperty("RGB16I", se::Value(31)); - enum_kls->setProperty("RGB32F", se::Value(32)); - enum_kls->setProperty("RGB32UI", se::Value(33)); - enum_kls->setProperty("RGB32I", se::Value(34)); - enum_kls->setProperty("RGBA8", se::Value(35)); - enum_kls->setProperty("BGRA8", se::Value(36)); - enum_kls->setProperty("SRGB8_A8", se::Value(37)); - enum_kls->setProperty("RGBA8SN", se::Value(38)); - enum_kls->setProperty("RGBA8UI", se::Value(39)); - enum_kls->setProperty("RGBA8I", se::Value(40)); - enum_kls->setProperty("RGBA16F", se::Value(41)); - enum_kls->setProperty("RGBA16UI", se::Value(42)); - enum_kls->setProperty("RGBA16I", se::Value(43)); - enum_kls->setProperty("RGBA32F", se::Value(44)); - enum_kls->setProperty("RGBA32UI", se::Value(45)); - enum_kls->setProperty("RGBA32I", se::Value(46)); - enum_kls->setProperty("R5G6B5", se::Value(47)); - enum_kls->setProperty("R11G11B10F", se::Value(48)); - enum_kls->setProperty("RGB5A1", se::Value(49)); - enum_kls->setProperty("RGBA4", se::Value(50)); - enum_kls->setProperty("RGB10A2", se::Value(51)); - enum_kls->setProperty("RGB10A2UI", se::Value(52)); - enum_kls->setProperty("RGB9E5", se::Value(53)); - enum_kls->setProperty("D16", se::Value(54)); - enum_kls->setProperty("D16S8", se::Value(55)); - enum_kls->setProperty("D24", se::Value(56)); - enum_kls->setProperty("D24S8", se::Value(57)); - enum_kls->setProperty("D32F", se::Value(58)); - enum_kls->setProperty("D32F_S8", se::Value(59)); - enum_kls->setProperty("BC1", se::Value(60)); - enum_kls->setProperty("BC1_ALPHA", se::Value(61)); - enum_kls->setProperty("BC1_SRGB", se::Value(62)); - enum_kls->setProperty("BC1_SRGB_ALPHA", se::Value(63)); - enum_kls->setProperty("BC2", se::Value(64)); - enum_kls->setProperty("BC2_SRGB", se::Value(65)); - enum_kls->setProperty("BC3", se::Value(66)); - enum_kls->setProperty("BC3_SRGB", se::Value(67)); - enum_kls->setProperty("BC4", se::Value(68)); - enum_kls->setProperty("BC4_SNORM", se::Value(69)); - enum_kls->setProperty("BC5", se::Value(70)); - enum_kls->setProperty("BC5_SNORM", se::Value(71)); - enum_kls->setProperty("BC6H_UF16", se::Value(72)); - enum_kls->setProperty("BC6H_SF16", se::Value(73)); - enum_kls->setProperty("BC7", se::Value(74)); - enum_kls->setProperty("BC7_SRGB", se::Value(75)); - enum_kls->setProperty("ETC_RGB8", se::Value(76)); - enum_kls->setProperty("ETC2_RGB8", se::Value(77)); - enum_kls->setProperty("ETC2_SRGB8", se::Value(78)); - enum_kls->setProperty("ETC2_RGB8_A1", se::Value(79)); - enum_kls->setProperty("ETC2_SRGB8_A1", se::Value(80)); - enum_kls->setProperty("ETC2_RGBA8", se::Value(81)); - enum_kls->setProperty("ETC2_SRGB8_A8", se::Value(82)); - enum_kls->setProperty("EAC_R11", se::Value(83)); - enum_kls->setProperty("EAC_R11SN", se::Value(84)); - enum_kls->setProperty("EAC_RG11", se::Value(85)); - enum_kls->setProperty("EAC_RG11SN", se::Value(86)); - enum_kls->setProperty("PVRTC_RGB2", se::Value(87)); - enum_kls->setProperty("PVRTC_RGBA2", se::Value(88)); - enum_kls->setProperty("PVRTC_RGB4", se::Value(89)); - enum_kls->setProperty("PVRTC_RGBA4", se::Value(90)); - enum_kls->setProperty("PVRTC2_2BPP", se::Value(91)); - enum_kls->setProperty("PVRTC2_4BPP", se::Value(92)); - enum_kls->setProperty("ASTC_RGBA_4x4", se::Value(93)); - enum_kls->setProperty("ASTC_RGBA_5x4", se::Value(94)); - enum_kls->setProperty("ASTC_RGBA_5x5", se::Value(95)); - enum_kls->setProperty("ASTC_RGBA_6x5", se::Value(96)); - enum_kls->setProperty("ASTC_RGBA_6x6", se::Value(97)); - enum_kls->setProperty("ASTC_RGBA_8x5", se::Value(98)); - enum_kls->setProperty("ASTC_RGBA_8x6", se::Value(99)); - enum_kls->setProperty("ASTC_RGBA_8x8", se::Value(100)); - enum_kls->setProperty("ASTC_RGBA_10x5", se::Value(101)); - enum_kls->setProperty("ASTC_RGBA_10x6", se::Value(102)); - enum_kls->setProperty("ASTC_RGBA_10x8", se::Value(103)); - enum_kls->setProperty("ASTC_RGBA_10x10", se::Value(104)); - enum_kls->setProperty("ASTC_RGBA_12x10", se::Value(105)); - enum_kls->setProperty("ASTC_RGBA_12x12", se::Value(106)); - enum_kls->setProperty("ASTC_SRGBA_4x4", se::Value(107)); - enum_kls->setProperty("ASTC_SRGBA_5x4", se::Value(108)); - enum_kls->setProperty("ASTC_SRGBA_5x5", se::Value(109)); - enum_kls->setProperty("ASTC_SRGBA_6x5", se::Value(110)); - enum_kls->setProperty("ASTC_SRGBA_6x6", se::Value(111)); - enum_kls->setProperty("ASTC_SRGBA_8x5", se::Value(112)); - enum_kls->setProperty("ASTC_SRGBA_8x6", se::Value(113)); - enum_kls->setProperty("ASTC_SRGBA_8x8", se::Value(114)); - enum_kls->setProperty("ASTC_SRGBA_10x5", se::Value(115)); - enum_kls->setProperty("ASTC_SRGBA_10x6", se::Value(116)); - enum_kls->setProperty("ASTC_SRGBA_10x8", se::Value(117)); - enum_kls->setProperty("ASTC_SRGBA_10x10", se::Value(118)); - enum_kls->setProperty("ASTC_SRGBA_12x10", se::Value(119)); - enum_kls->setProperty("ASTC_SRGBA_12x12", se::Value(120)); - enum_kls->setProperty("COUNT", se::Value(121)); - obj->setProperty("Format", se::Value(enum_kls)); + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::Size* cobj = JSB_ALLOC(cc::gfx::Size); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::Size* cobj = JSB_ALLOC(cc::gfx::Size); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::Size* cobj = JSB_ALLOC(cc::gfx::Size); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->x), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->y), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->z), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_Size_constructor, __jsb_cc_gfx_Size_class, js_cc_gfx_Size_finalize) + + + + +static bool js_cc_gfx_Size_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::Size* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } return true; } +SE_BIND_FINALIZE_FUNC(js_cc_gfx_Size_finalize) + +bool js_register_gfx_Size(se::Object* obj) +{ + auto cls = se::Class::create("Size", obj, nullptr, _SE(js_gfx_Size_constructor)); + + cls->defineProperty("x", _SE(js_gfx_Size_get_x), _SE(js_gfx_Size_set_x)); + cls->defineProperty("y", _SE(js_gfx_Size_get_y), _SE(js_gfx_Size_set_y)); + cls->defineProperty("z", _SE(js_gfx_Size_get_z), _SE(js_gfx_Size_set_z)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_Size_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_Size_proto = cls->getProto(); + __jsb_cc_gfx_Size_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_DeviceCaps_proto = nullptr; +se::Class* __jsb_cc_gfx_DeviceCaps_class = nullptr; + +static bool js_gfx_DeviceCaps_get_maxVertexAttributes(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxVertexAttributes : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxVertexAttributes, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxVertexAttributes, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxVertexAttributes) + +static bool js_gfx_DeviceCaps_set_maxVertexAttributes(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxVertexAttributes : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxVertexAttributes, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxVertexAttributes : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxVertexAttributes) + +static bool js_gfx_DeviceCaps_get_maxVertexUniformVectors(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxVertexUniformVectors : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxVertexUniformVectors, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxVertexUniformVectors, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxVertexUniformVectors) + +static bool js_gfx_DeviceCaps_set_maxVertexUniformVectors(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxVertexUniformVectors : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxVertexUniformVectors, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxVertexUniformVectors : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxVertexUniformVectors) + +static bool js_gfx_DeviceCaps_get_maxFragmentUniformVectors(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxFragmentUniformVectors : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxFragmentUniformVectors, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxFragmentUniformVectors, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxFragmentUniformVectors) + +static bool js_gfx_DeviceCaps_set_maxFragmentUniformVectors(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxFragmentUniformVectors : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxFragmentUniformVectors, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxFragmentUniformVectors : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxFragmentUniformVectors) + +static bool js_gfx_DeviceCaps_get_maxTextureUnits(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxTextureUnits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxTextureUnits, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxTextureUnits, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxTextureUnits) + +static bool js_gfx_DeviceCaps_set_maxTextureUnits(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxTextureUnits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxTextureUnits, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxTextureUnits : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxTextureUnits) + +static bool js_gfx_DeviceCaps_get_maxImageUnits(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxImageUnits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxImageUnits, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxImageUnits, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxImageUnits) + +static bool js_gfx_DeviceCaps_set_maxImageUnits(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxImageUnits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxImageUnits, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxImageUnits : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxImageUnits) + +static bool js_gfx_DeviceCaps_get_maxVertexTextureUnits(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxVertexTextureUnits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxVertexTextureUnits, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxVertexTextureUnits, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxVertexTextureUnits) + +static bool js_gfx_DeviceCaps_set_maxVertexTextureUnits(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxVertexTextureUnits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxVertexTextureUnits, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxVertexTextureUnits : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxVertexTextureUnits) + +static bool js_gfx_DeviceCaps_get_maxColorRenderTargets(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxColorRenderTargets : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxColorRenderTargets, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxColorRenderTargets, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxColorRenderTargets) + +static bool js_gfx_DeviceCaps_set_maxColorRenderTargets(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxColorRenderTargets : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxColorRenderTargets, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxColorRenderTargets : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxColorRenderTargets) + +static bool js_gfx_DeviceCaps_get_maxShaderStorageBufferBindings(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxShaderStorageBufferBindings : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxShaderStorageBufferBindings, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxShaderStorageBufferBindings, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxShaderStorageBufferBindings) + +static bool js_gfx_DeviceCaps_set_maxShaderStorageBufferBindings(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxShaderStorageBufferBindings : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxShaderStorageBufferBindings, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxShaderStorageBufferBindings : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxShaderStorageBufferBindings) + +static bool js_gfx_DeviceCaps_get_maxShaderStorageBlockSize(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxShaderStorageBlockSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxShaderStorageBlockSize, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxShaderStorageBlockSize, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxShaderStorageBlockSize) + +static bool js_gfx_DeviceCaps_set_maxShaderStorageBlockSize(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxShaderStorageBlockSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxShaderStorageBlockSize, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxShaderStorageBlockSize : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxShaderStorageBlockSize) + +static bool js_gfx_DeviceCaps_get_maxUniformBufferBindings(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxUniformBufferBindings : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxUniformBufferBindings, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxUniformBufferBindings, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxUniformBufferBindings) + +static bool js_gfx_DeviceCaps_set_maxUniformBufferBindings(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxUniformBufferBindings : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxUniformBufferBindings, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxUniformBufferBindings : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxUniformBufferBindings) + +static bool js_gfx_DeviceCaps_get_maxUniformBlockSize(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxUniformBlockSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxUniformBlockSize, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxUniformBlockSize, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxUniformBlockSize) + +static bool js_gfx_DeviceCaps_set_maxUniformBlockSize(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxUniformBlockSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxUniformBlockSize, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxUniformBlockSize : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxUniformBlockSize) + +static bool js_gfx_DeviceCaps_get_maxTextureSize(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxTextureSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxTextureSize, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxTextureSize, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxTextureSize) + +static bool js_gfx_DeviceCaps_set_maxTextureSize(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxTextureSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxTextureSize, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxTextureSize : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxTextureSize) + +static bool js_gfx_DeviceCaps_get_maxCubeMapTextureSize(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxCubeMapTextureSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxCubeMapTextureSize, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxCubeMapTextureSize, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxCubeMapTextureSize) + +static bool js_gfx_DeviceCaps_set_maxCubeMapTextureSize(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxCubeMapTextureSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxCubeMapTextureSize, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxCubeMapTextureSize : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxCubeMapTextureSize) + +static bool js_gfx_DeviceCaps_get_uboOffsetAlignment(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_uboOffsetAlignment : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->uboOffsetAlignment, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->uboOffsetAlignment, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_uboOffsetAlignment) + +static bool js_gfx_DeviceCaps_set_uboOffsetAlignment(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_uboOffsetAlignment : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->uboOffsetAlignment, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_uboOffsetAlignment : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_uboOffsetAlignment) + +static bool js_gfx_DeviceCaps_get_depthBits(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_depthBits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->depthBits, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->depthBits, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_depthBits) + +static bool js_gfx_DeviceCaps_set_depthBits(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_depthBits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->depthBits, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_depthBits : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_depthBits) + +static bool js_gfx_DeviceCaps_get_stencilBits(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_stencilBits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->stencilBits, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->stencilBits, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_stencilBits) + +static bool js_gfx_DeviceCaps_set_stencilBits(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_stencilBits : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->stencilBits, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_stencilBits : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_stencilBits) + +static bool js_gfx_DeviceCaps_get_maxComputeSharedMemorySize(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxComputeSharedMemorySize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxComputeSharedMemorySize, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxComputeSharedMemorySize, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxComputeSharedMemorySize) + +static bool js_gfx_DeviceCaps_set_maxComputeSharedMemorySize(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxComputeSharedMemorySize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxComputeSharedMemorySize, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxComputeSharedMemorySize : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxComputeSharedMemorySize) + +static bool js_gfx_DeviceCaps_get_maxComputeWorkGroupInvocations(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxComputeWorkGroupInvocations : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxComputeWorkGroupInvocations, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxComputeWorkGroupInvocations, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxComputeWorkGroupInvocations) + +static bool js_gfx_DeviceCaps_set_maxComputeWorkGroupInvocations(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxComputeWorkGroupInvocations : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxComputeWorkGroupInvocations, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxComputeWorkGroupInvocations : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxComputeWorkGroupInvocations) + +static bool js_gfx_DeviceCaps_get_maxComputeWorkGroupSize(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxComputeWorkGroupSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxComputeWorkGroupSize, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxComputeWorkGroupSize, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxComputeWorkGroupSize) + +static bool js_gfx_DeviceCaps_set_maxComputeWorkGroupSize(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxComputeWorkGroupSize : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxComputeWorkGroupSize, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxComputeWorkGroupSize : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxComputeWorkGroupSize) + +static bool js_gfx_DeviceCaps_get_maxComputeWorkGroupCount(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_maxComputeWorkGroupCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxComputeWorkGroupCount, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxComputeWorkGroupCount, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_maxComputeWorkGroupCount) + +static bool js_gfx_DeviceCaps_set_maxComputeWorkGroupCount(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_maxComputeWorkGroupCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxComputeWorkGroupCount, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_maxComputeWorkGroupCount : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxComputeWorkGroupCount) + +static bool js_gfx_DeviceCaps_get_clipSpaceMinZ(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_clipSpaceMinZ : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->clipSpaceMinZ, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->clipSpaceMinZ, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_clipSpaceMinZ) + +static bool js_gfx_DeviceCaps_set_clipSpaceMinZ(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_clipSpaceMinZ : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->clipSpaceMinZ, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_clipSpaceMinZ : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_clipSpaceMinZ) + +static bool js_gfx_DeviceCaps_get_screenSpaceSignY(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_screenSpaceSignY : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->screenSpaceSignY, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->screenSpaceSignY, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_screenSpaceSignY) + +static bool js_gfx_DeviceCaps_set_screenSpaceSignY(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_screenSpaceSignY : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->screenSpaceSignY, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_screenSpaceSignY : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_screenSpaceSignY) + +static bool js_gfx_DeviceCaps_get_UVSpaceSignY(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_UVSpaceSignY : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->UVSpaceSignY, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->UVSpaceSignY, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_UVSpaceSignY) + +static bool js_gfx_DeviceCaps_set_UVSpaceSignY(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_UVSpaceSignY : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->UVSpaceSignY, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_UVSpaceSignY : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_UVSpaceSignY) template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::TextureLayout *to, se::Object *ctx) +bool sevalue_to_native(const se::Value &from, cc::gfx::DeviceCaps * to, se::Object *ctx) { - typedef typename std::underlying_type_t under_type; - under_type tmp; - if(sevalue_to_native(from, &tmp, ctx)) { *to = static_cast(tmp); return true;} - return false; + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::DeviceCaps*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("maxVertexAttributes", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxVertexAttributes), ctx); + } + json->getProperty("maxVertexUniformVectors", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxVertexUniformVectors), ctx); + } + json->getProperty("maxFragmentUniformVectors", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxFragmentUniformVectors), ctx); + } + json->getProperty("maxTextureUnits", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxTextureUnits), ctx); + } + json->getProperty("maxImageUnits", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxImageUnits), ctx); + } + json->getProperty("maxVertexTextureUnits", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxVertexTextureUnits), ctx); + } + json->getProperty("maxColorRenderTargets", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxColorRenderTargets), ctx); + } + json->getProperty("maxShaderStorageBufferBindings", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxShaderStorageBufferBindings), ctx); + } + json->getProperty("maxShaderStorageBlockSize", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxShaderStorageBlockSize), ctx); + } + json->getProperty("maxUniformBufferBindings", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxUniformBufferBindings), ctx); + } + json->getProperty("maxUniformBlockSize", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxUniformBlockSize), ctx); + } + json->getProperty("maxTextureSize", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxTextureSize), ctx); + } + json->getProperty("maxCubeMapTextureSize", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxCubeMapTextureSize), ctx); + } + json->getProperty("uboOffsetAlignment", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->uboOffsetAlignment), ctx); + } + json->getProperty("depthBits", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->depthBits), ctx); + } + json->getProperty("stencilBits", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->stencilBits), ctx); + } + json->getProperty("maxComputeSharedMemorySize", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxComputeSharedMemorySize), ctx); + } + json->getProperty("maxComputeWorkGroupInvocations", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxComputeWorkGroupInvocations), ctx); + } + json->getProperty("maxComputeWorkGroupSize", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxComputeWorkGroupSize), ctx); + } + json->getProperty("maxComputeWorkGroupCount", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxComputeWorkGroupCount), ctx); + } + json->getProperty("clipSpaceMinZ", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->clipSpaceMinZ), ctx); + } + json->getProperty("screenSpaceSignY", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->screenSpaceSignY), ctx); + } + json->getProperty("UVSpaceSignY", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->UVSpaceSignY), ctx); + } + return ok; } -int js_register_gfx_TextureLayout(se::Object* obj) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_DeviceCaps_finalize) + +static bool js_gfx_DeviceCaps_constructor(se::State& s) { - auto enum_kls = se::Object::createPlainObject(); - enum_kls->setProperty("UNDEFINED", se::Value(0)); - enum_kls->setProperty("GENERAL", se::Value(1)); - enum_kls->setProperty("COLOR_ATTACHMENT_OPTIMAL", se::Value(2)); - enum_kls->setProperty("DEPTH_STENCIL_ATTACHMENT_OPTIMAL", se::Value(3)); - enum_kls->setProperty("DEPTH_STENCIL_READONLY_OPTIMAL", se::Value(4)); - enum_kls->setProperty("SHADER_READONLY_OPTIMAL", se::Value(5)); - enum_kls->setProperty("TRANSFER_SRC_OPTIMAL", se::Value(6)); - enum_kls->setProperty("TRANSFER_DST_OPTIMAL", se::Value(7)); - enum_kls->setProperty("PREINITIALIZED", se::Value(8)); - enum_kls->setProperty("PRESENT_SRC", se::Value(9)); - obj->setProperty("TextureLayout", se::Value(enum_kls)); + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::DeviceCaps* cobj = JSB_ALLOC(cc::gfx::DeviceCaps); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::DeviceCaps* cobj = JSB_ALLOC(cc::gfx::DeviceCaps); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::DeviceCaps* cobj = JSB_ALLOC(cc::gfx::DeviceCaps); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->maxVertexAttributes), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->maxVertexUniformVectors), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->maxFragmentUniformVectors), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->maxTextureUnits), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->maxImageUnits), nullptr); + } + if (argc > 5 && !args[5].isUndefined()) { + ok &= sevalue_to_native(args[5], &(cobj->maxVertexTextureUnits), nullptr); + } + if (argc > 6 && !args[6].isUndefined()) { + ok &= sevalue_to_native(args[6], &(cobj->maxColorRenderTargets), nullptr); + } + if (argc > 7 && !args[7].isUndefined()) { + ok &= sevalue_to_native(args[7], &(cobj->maxShaderStorageBufferBindings), nullptr); + } + if (argc > 8 && !args[8].isUndefined()) { + ok &= sevalue_to_native(args[8], &(cobj->maxShaderStorageBlockSize), nullptr); + } + if (argc > 9 && !args[9].isUndefined()) { + ok &= sevalue_to_native(args[9], &(cobj->maxUniformBufferBindings), nullptr); + } + if (argc > 10 && !args[10].isUndefined()) { + ok &= sevalue_to_native(args[10], &(cobj->maxUniformBlockSize), nullptr); + } + if (argc > 11 && !args[11].isUndefined()) { + ok &= sevalue_to_native(args[11], &(cobj->maxTextureSize), nullptr); + } + if (argc > 12 && !args[12].isUndefined()) { + ok &= sevalue_to_native(args[12], &(cobj->maxCubeMapTextureSize), nullptr); + } + if (argc > 13 && !args[13].isUndefined()) { + ok &= sevalue_to_native(args[13], &(cobj->uboOffsetAlignment), nullptr); + } + if (argc > 14 && !args[14].isUndefined()) { + ok &= sevalue_to_native(args[14], &(cobj->depthBits), nullptr); + } + if (argc > 15 && !args[15].isUndefined()) { + ok &= sevalue_to_native(args[15], &(cobj->stencilBits), nullptr); + } + if (argc > 16 && !args[16].isUndefined()) { + ok &= sevalue_to_native(args[16], &(cobj->maxComputeSharedMemorySize), nullptr); + } + if (argc > 17 && !args[17].isUndefined()) { + ok &= sevalue_to_native(args[17], &(cobj->maxComputeWorkGroupInvocations), nullptr); + } + if (argc > 18 && !args[18].isUndefined()) { + ok &= sevalue_to_native(args[18], &(cobj->maxComputeWorkGroupSize), nullptr); + } + if (argc > 19 && !args[19].isUndefined()) { + ok &= sevalue_to_native(args[19], &(cobj->maxComputeWorkGroupCount), nullptr); + } + if (argc > 20 && !args[20].isUndefined()) { + ok &= sevalue_to_native(args[20], &(cobj->clipSpaceMinZ), nullptr); + } + if (argc > 21 && !args[21].isUndefined()) { + ok &= sevalue_to_native(args[21], &(cobj->screenSpaceSignY), nullptr); + } + if (argc > 22 && !args[22].isUndefined()) { + ok &= sevalue_to_native(args[22], &(cobj->UVSpaceSignY), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_DeviceCaps_constructor, __jsb_cc_gfx_DeviceCaps_class, js_cc_gfx_DeviceCaps_finalize) + + + + +static bool js_cc_gfx_DeviceCaps_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_DeviceCaps_finalize) + +bool js_register_gfx_DeviceCaps(se::Object* obj) +{ + auto cls = se::Class::create("DeviceCaps", obj, nullptr, _SE(js_gfx_DeviceCaps_constructor)); + + cls->defineProperty("maxVertexAttributes", _SE(js_gfx_DeviceCaps_get_maxVertexAttributes), _SE(js_gfx_DeviceCaps_set_maxVertexAttributes)); + cls->defineProperty("maxVertexUniformVectors", _SE(js_gfx_DeviceCaps_get_maxVertexUniformVectors), _SE(js_gfx_DeviceCaps_set_maxVertexUniformVectors)); + cls->defineProperty("maxFragmentUniformVectors", _SE(js_gfx_DeviceCaps_get_maxFragmentUniformVectors), _SE(js_gfx_DeviceCaps_set_maxFragmentUniformVectors)); + cls->defineProperty("maxTextureUnits", _SE(js_gfx_DeviceCaps_get_maxTextureUnits), _SE(js_gfx_DeviceCaps_set_maxTextureUnits)); + cls->defineProperty("maxImageUnits", _SE(js_gfx_DeviceCaps_get_maxImageUnits), _SE(js_gfx_DeviceCaps_set_maxImageUnits)); + cls->defineProperty("maxVertexTextureUnits", _SE(js_gfx_DeviceCaps_get_maxVertexTextureUnits), _SE(js_gfx_DeviceCaps_set_maxVertexTextureUnits)); + cls->defineProperty("maxColorRenderTargets", _SE(js_gfx_DeviceCaps_get_maxColorRenderTargets), _SE(js_gfx_DeviceCaps_set_maxColorRenderTargets)); + cls->defineProperty("maxShaderStorageBufferBindings", _SE(js_gfx_DeviceCaps_get_maxShaderStorageBufferBindings), _SE(js_gfx_DeviceCaps_set_maxShaderStorageBufferBindings)); + cls->defineProperty("maxShaderStorageBlockSize", _SE(js_gfx_DeviceCaps_get_maxShaderStorageBlockSize), _SE(js_gfx_DeviceCaps_set_maxShaderStorageBlockSize)); + cls->defineProperty("maxUniformBufferBindings", _SE(js_gfx_DeviceCaps_get_maxUniformBufferBindings), _SE(js_gfx_DeviceCaps_set_maxUniformBufferBindings)); + cls->defineProperty("maxUniformBlockSize", _SE(js_gfx_DeviceCaps_get_maxUniformBlockSize), _SE(js_gfx_DeviceCaps_set_maxUniformBlockSize)); + cls->defineProperty("maxTextureSize", _SE(js_gfx_DeviceCaps_get_maxTextureSize), _SE(js_gfx_DeviceCaps_set_maxTextureSize)); + cls->defineProperty("maxCubeMapTextureSize", _SE(js_gfx_DeviceCaps_get_maxCubeMapTextureSize), _SE(js_gfx_DeviceCaps_set_maxCubeMapTextureSize)); + cls->defineProperty("uboOffsetAlignment", _SE(js_gfx_DeviceCaps_get_uboOffsetAlignment), _SE(js_gfx_DeviceCaps_set_uboOffsetAlignment)); + cls->defineProperty("depthBits", _SE(js_gfx_DeviceCaps_get_depthBits), _SE(js_gfx_DeviceCaps_set_depthBits)); + cls->defineProperty("stencilBits", _SE(js_gfx_DeviceCaps_get_stencilBits), _SE(js_gfx_DeviceCaps_set_stencilBits)); + cls->defineProperty("maxComputeSharedMemorySize", _SE(js_gfx_DeviceCaps_get_maxComputeSharedMemorySize), _SE(js_gfx_DeviceCaps_set_maxComputeSharedMemorySize)); + cls->defineProperty("maxComputeWorkGroupInvocations", _SE(js_gfx_DeviceCaps_get_maxComputeWorkGroupInvocations), _SE(js_gfx_DeviceCaps_set_maxComputeWorkGroupInvocations)); + cls->defineProperty("maxComputeWorkGroupSize", _SE(js_gfx_DeviceCaps_get_maxComputeWorkGroupSize), _SE(js_gfx_DeviceCaps_set_maxComputeWorkGroupSize)); + cls->defineProperty("maxComputeWorkGroupCount", _SE(js_gfx_DeviceCaps_get_maxComputeWorkGroupCount), _SE(js_gfx_DeviceCaps_set_maxComputeWorkGroupCount)); + cls->defineProperty("clipSpaceMinZ", _SE(js_gfx_DeviceCaps_get_clipSpaceMinZ), _SE(js_gfx_DeviceCaps_set_clipSpaceMinZ)); + cls->defineProperty("screenSpaceSignY", _SE(js_gfx_DeviceCaps_get_screenSpaceSignY), _SE(js_gfx_DeviceCaps_set_screenSpaceSignY)); + cls->defineProperty("UVSpaceSignY", _SE(js_gfx_DeviceCaps_get_UVSpaceSignY), _SE(js_gfx_DeviceCaps_set_UVSpaceSignY)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_DeviceCaps_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_DeviceCaps_proto = cls->getProto(); + __jsb_cc_gfx_DeviceCaps_class = cls; + + se::ScriptEngine::getInstance()->clearException(); return true; } - -template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::AccessType *to, se::Object *ctx) -{ - typedef typename std::underlying_type_t under_type; - under_type tmp; - if(sevalue_to_native(from, &tmp, ctx)) { *to = static_cast(tmp); return true;} - return false; -} - -int js_register_gfx_AccessType(se::Object* obj) -{ - auto enum_kls = se::Object::createPlainObject(); - enum_kls->setProperty("INDIRECT_BUFFER", se::Value(0)); - enum_kls->setProperty("INDEX_BUFFER", se::Value(1)); - enum_kls->setProperty("VERTEX_BUFFER", se::Value(2)); - enum_kls->setProperty("VERTEX_SHADER_READ_UNIFORM_BUFFER", se::Value(3)); - enum_kls->setProperty("VERTEX_SHADER_READ_TEXTURE", se::Value(4)); - enum_kls->setProperty("VERTEX_SHADER_READ_OTHER", se::Value(5)); - enum_kls->setProperty("FRAGMENT_SHADER_READ_UNIFORM_BUFFER", se::Value(6)); - enum_kls->setProperty("FRAGMENT_SHADER_READ_TEXTURE", se::Value(7)); - enum_kls->setProperty("FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT", se::Value(8)); - enum_kls->setProperty("FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT", se::Value(9)); - enum_kls->setProperty("FRAGMENT_SHADER_READ_OTHER", se::Value(10)); - enum_kls->setProperty("COLOR_ATTACHMENT_READ", se::Value(11)); - enum_kls->setProperty("DEPTH_STENCIL_ATTACHMENT_READ", se::Value(12)); - enum_kls->setProperty("COMPUTE_SHADER_READ_UNIFORM_BUFFER", se::Value(13)); - enum_kls->setProperty("COMPUTE_SHADER_READ_TEXTURE", se::Value(14)); - enum_kls->setProperty("COMPUTE_SHADER_READ_OTHER", se::Value(15)); - enum_kls->setProperty("TRANSFER_READ", se::Value(16)); - enum_kls->setProperty("HOST_READ", se::Value(17)); - enum_kls->setProperty("PRESENT", se::Value(18)); - enum_kls->setProperty("VERTEX_SHADER_WRITE", se::Value(19)); - enum_kls->setProperty("FRAGMENT_SHADER_WRITE", se::Value(20)); - enum_kls->setProperty("COLOR_ATTACHMENT_WRITE", se::Value(21)); - enum_kls->setProperty("DEPTH_STENCIL_ATTACHMENT_WRITE", se::Value(22)); - enum_kls->setProperty("COMPUTE_SHADER_WRITE", se::Value(23)); - enum_kls->setProperty("TRANSFER_WRITE", se::Value(24)); - enum_kls->setProperty("HOST_PREINITIALIZED", se::Value(25)); - enum_kls->setProperty("HOST_WRITE", se::Value(26)); - obj->setProperty("AccessType", se::Value(enum_kls)); - return true; -} - - -template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::PrimitiveMode *to, se::Object *ctx) -{ - typedef typename std::underlying_type_t under_type; - under_type tmp; - if(sevalue_to_native(from, &tmp, ctx)) { *to = static_cast(tmp); return true;} - return false; -} - -int js_register_gfx_PrimitiveMode(se::Object* obj) -{ - auto enum_kls = se::Object::createPlainObject(); - enum_kls->setProperty("POINT_LIST", se::Value(0)); - enum_kls->setProperty("LINE_LIST", se::Value(1)); - enum_kls->setProperty("LINE_STRIP", se::Value(2)); - enum_kls->setProperty("LINE_LOOP", se::Value(3)); - enum_kls->setProperty("LINE_LIST_ADJACENCY", se::Value(4)); - enum_kls->setProperty("LINE_STRIP_ADJACENCY", se::Value(5)); - enum_kls->setProperty("ISO_LINE_LIST", se::Value(6)); - enum_kls->setProperty("TRIANGLE_LIST", se::Value(7)); - enum_kls->setProperty("TRIANGLE_STRIP", se::Value(8)); - enum_kls->setProperty("TRIANGLE_FAN", se::Value(9)); - enum_kls->setProperty("TRIANGLE_LIST_ADJACENCY", se::Value(10)); - enum_kls->setProperty("TRIANGLE_STRIP_ADJACENCY", se::Value(11)); - enum_kls->setProperty("TRIANGLE_PATCH_ADJACENCY", se::Value(12)); - enum_kls->setProperty("QUAD_PATCH_LIST", se::Value(13)); - obj->setProperty("PrimitiveMode", se::Value(enum_kls)); - return true; -} se::Object* __jsb_cc_gfx_Offset_proto = nullptr; se::Class* __jsb_cc_gfx_Offset_class = nullptr; @@ -907,13 +1780,13 @@ bool js_register_gfx_Extent(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_TextureSubres_proto = nullptr; -se::Class* __jsb_cc_gfx_TextureSubres_class = nullptr; +se::Object* __jsb_cc_gfx_TextureSubresLayers_proto = nullptr; +se::Class* __jsb_cc_gfx_TextureSubresLayers_class = nullptr; -static bool js_gfx_TextureSubres_get_mipLevel(se::State& s) +static bool js_gfx_TextureSubresLayers_get_mipLevel(se::State& s) { - cc::gfx::TextureSubres* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubres_get_mipLevel : Invalid Native Object"); + cc::gfx::TextureSubresLayers* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresLayers_get_mipLevel : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -922,25 +1795,25 @@ static bool js_gfx_TextureSubres_get_mipLevel(se::State& s) SE_HOLD_RETURN_VALUE(cobj->mipLevel, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_TextureSubres_get_mipLevel) +SE_BIND_PROP_GET(js_gfx_TextureSubresLayers_get_mipLevel) -static bool js_gfx_TextureSubres_set_mipLevel(se::State& s) +static bool js_gfx_TextureSubresLayers_set_mipLevel(se::State& s) { const auto& args = s.args(); - cc::gfx::TextureSubres* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubres_set_mipLevel : Invalid Native Object"); + cc::gfx::TextureSubresLayers* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresLayers_set_mipLevel : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->mipLevel, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_TextureSubres_set_mipLevel : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_TextureSubresLayers_set_mipLevel : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_TextureSubres_set_mipLevel) +SE_BIND_PROP_SET(js_gfx_TextureSubresLayers_set_mipLevel) -static bool js_gfx_TextureSubres_get_baseArrayLayer(se::State& s) +static bool js_gfx_TextureSubresLayers_get_baseArrayLayer(se::State& s) { - cc::gfx::TextureSubres* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubres_get_baseArrayLayer : Invalid Native Object"); + cc::gfx::TextureSubresLayers* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresLayers_get_baseArrayLayer : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -949,25 +1822,25 @@ static bool js_gfx_TextureSubres_get_baseArrayLayer(se::State& s) SE_HOLD_RETURN_VALUE(cobj->baseArrayLayer, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_TextureSubres_get_baseArrayLayer) +SE_BIND_PROP_GET(js_gfx_TextureSubresLayers_get_baseArrayLayer) -static bool js_gfx_TextureSubres_set_baseArrayLayer(se::State& s) +static bool js_gfx_TextureSubresLayers_set_baseArrayLayer(se::State& s) { const auto& args = s.args(); - cc::gfx::TextureSubres* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubres_set_baseArrayLayer : Invalid Native Object"); + cc::gfx::TextureSubresLayers* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresLayers_set_baseArrayLayer : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->baseArrayLayer, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_TextureSubres_set_baseArrayLayer : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_TextureSubresLayers_set_baseArrayLayer : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_TextureSubres_set_baseArrayLayer) +SE_BIND_PROP_SET(js_gfx_TextureSubresLayers_set_baseArrayLayer) -static bool js_gfx_TextureSubres_get_layerCount(se::State& s) +static bool js_gfx_TextureSubresLayers_get_layerCount(se::State& s) { - cc::gfx::TextureSubres* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubres_get_layerCount : Invalid Native Object"); + cc::gfx::TextureSubresLayers* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresLayers_get_layerCount : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -976,28 +1849,28 @@ static bool js_gfx_TextureSubres_get_layerCount(se::State& s) SE_HOLD_RETURN_VALUE(cobj->layerCount, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_TextureSubres_get_layerCount) +SE_BIND_PROP_GET(js_gfx_TextureSubresLayers_get_layerCount) -static bool js_gfx_TextureSubres_set_layerCount(se::State& s) +static bool js_gfx_TextureSubresLayers_set_layerCount(se::State& s) { const auto& args = s.args(); - cc::gfx::TextureSubres* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubres_set_layerCount : Invalid Native Object"); + cc::gfx::TextureSubresLayers* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresLayers_set_layerCount : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->layerCount, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_TextureSubres_set_layerCount : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_TextureSubresLayers_set_layerCount : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_TextureSubres_set_layerCount) +SE_BIND_PROP_SET(js_gfx_TextureSubresLayers_set_layerCount) template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::TextureSubres * to, se::Object *ctx) +bool sevalue_to_native(const se::Value &from, cc::gfx::TextureSubresLayers * to, se::Object *ctx) { assert(from.isObject()); se::Object *json = from.toObject(); - auto* data = (cc::gfx::TextureSubres*)json->getPrivateData(); + auto* data = (cc::gfx::TextureSubresLayers*)json->getPrivateData(); if (data) { *to = *data; return true; @@ -1019,9 +1892,9 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::TextureSubres * to, se::O return ok; } -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_TextureSubres_finalize) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_TextureSubresLayers_finalize) -static bool js_gfx_TextureSubres_constructor(se::State& s) +static bool js_gfx_TextureSubresLayers_constructor(se::State& s) { CC_UNUSED bool ok = true; const auto& args = s.args(); @@ -1029,7 +1902,7 @@ static bool js_gfx_TextureSubres_constructor(se::State& s) if(argc == 0) { - cc::gfx::TextureSubres* cobj = JSB_ALLOC(cc::gfx::TextureSubres); + cc::gfx::TextureSubresLayers* cobj = JSB_ALLOC(cc::gfx::TextureSubresLayers); s.thisObject()->setPrivateData(cobj); se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); return true; @@ -1039,7 +1912,7 @@ static bool js_gfx_TextureSubres_constructor(se::State& s) se::Object *json = args[0].toObject(); se::Value field; - cc::gfx::TextureSubres* cobj = JSB_ALLOC(cc::gfx::TextureSubres); + cc::gfx::TextureSubresLayers* cobj = JSB_ALLOC(cc::gfx::TextureSubresLayers); ok &= sevalue_to_native(args[0], cobj, s.thisObject()); if(!ok) { JSB_FREE(cobj); @@ -1053,7 +1926,7 @@ static bool js_gfx_TextureSubres_constructor(se::State& s) } else { - cc::gfx::TextureSubres* cobj = JSB_ALLOC(cc::gfx::TextureSubres); + cc::gfx::TextureSubresLayers* cobj = JSB_ALLOC(cc::gfx::TextureSubresLayers); if (argc > 0 && !args[0].isUndefined()) { ok &= sevalue_to_native(args[0], &(cobj->mipLevel), nullptr); } @@ -1078,37 +1951,868 @@ static bool js_gfx_TextureSubres_constructor(se::State& s) SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); return false; } -SE_BIND_CTOR(js_gfx_TextureSubres_constructor, __jsb_cc_gfx_TextureSubres_class, js_cc_gfx_TextureSubres_finalize) +SE_BIND_CTOR(js_gfx_TextureSubresLayers_constructor, __jsb_cc_gfx_TextureSubresLayers_class, js_cc_gfx_TextureSubresLayers_finalize) -static bool js_cc_gfx_TextureSubres_finalize(se::State& s) +static bool js_cc_gfx_TextureSubresLayers_finalize(se::State& s) { - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::TextureSubres* cobj = SE_THIS_OBJECT(s); + cc::gfx::TextureSubresLayers* cobj = SE_THIS_OBJECT(s); JSB_FREE(cobj); } return true; } -SE_BIND_FINALIZE_FUNC(js_cc_gfx_TextureSubres_finalize) +SE_BIND_FINALIZE_FUNC(js_cc_gfx_TextureSubresLayers_finalize) -bool js_register_gfx_TextureSubres(se::Object* obj) +bool js_register_gfx_TextureSubresLayers(se::Object* obj) { - auto cls = se::Class::create("TextureSubres", obj, nullptr, _SE(js_gfx_TextureSubres_constructor)); + auto cls = se::Class::create("TextureSubresLayers", obj, nullptr, _SE(js_gfx_TextureSubresLayers_constructor)); - cls->defineProperty("mipLevel", _SE(js_gfx_TextureSubres_get_mipLevel), _SE(js_gfx_TextureSubres_set_mipLevel)); - cls->defineProperty("baseArrayLayer", _SE(js_gfx_TextureSubres_get_baseArrayLayer), _SE(js_gfx_TextureSubres_set_baseArrayLayer)); - cls->defineProperty("layerCount", _SE(js_gfx_TextureSubres_get_layerCount), _SE(js_gfx_TextureSubres_set_layerCount)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_TextureSubres_finalize)); + cls->defineProperty("mipLevel", _SE(js_gfx_TextureSubresLayers_get_mipLevel), _SE(js_gfx_TextureSubresLayers_set_mipLevel)); + cls->defineProperty("baseArrayLayer", _SE(js_gfx_TextureSubresLayers_get_baseArrayLayer), _SE(js_gfx_TextureSubresLayers_set_baseArrayLayer)); + cls->defineProperty("layerCount", _SE(js_gfx_TextureSubresLayers_get_layerCount), _SE(js_gfx_TextureSubresLayers_set_layerCount)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_TextureSubresLayers_finalize)); cls->install(); - JSBClassType::registerClass(cls); + JSBClassType::registerClass(cls); - __jsb_cc_gfx_TextureSubres_proto = cls->getProto(); - __jsb_cc_gfx_TextureSubres_class = cls; + __jsb_cc_gfx_TextureSubresLayers_proto = cls->getProto(); + __jsb_cc_gfx_TextureSubresLayers_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_TextureSubresRange_proto = nullptr; +se::Class* __jsb_cc_gfx_TextureSubresRange_class = nullptr; + +static bool js_gfx_TextureSubresRange_get_baseMipLevel(se::State& s) +{ + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresRange_get_baseMipLevel : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->baseMipLevel, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->baseMipLevel, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureSubresRange_get_baseMipLevel) + +static bool js_gfx_TextureSubresRange_set_baseMipLevel(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresRange_set_baseMipLevel : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->baseMipLevel, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureSubresRange_set_baseMipLevel : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureSubresRange_set_baseMipLevel) + +static bool js_gfx_TextureSubresRange_get_levelCount(se::State& s) +{ + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresRange_get_levelCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->levelCount, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->levelCount, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureSubresRange_get_levelCount) + +static bool js_gfx_TextureSubresRange_set_levelCount(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresRange_set_levelCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->levelCount, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureSubresRange_set_levelCount : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureSubresRange_set_levelCount) + +static bool js_gfx_TextureSubresRange_get_baseArrayLayer(se::State& s) +{ + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresRange_get_baseArrayLayer : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->baseArrayLayer, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->baseArrayLayer, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureSubresRange_get_baseArrayLayer) + +static bool js_gfx_TextureSubresRange_set_baseArrayLayer(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresRange_set_baseArrayLayer : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->baseArrayLayer, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureSubresRange_set_baseArrayLayer : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureSubresRange_set_baseArrayLayer) + +static bool js_gfx_TextureSubresRange_get_layerCount(se::State& s) +{ + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresRange_get_layerCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->layerCount, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->layerCount, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureSubresRange_get_layerCount) + +static bool js_gfx_TextureSubresRange_set_layerCount(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureSubresRange_set_layerCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->layerCount, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureSubresRange_set_layerCount : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureSubresRange_set_layerCount) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::TextureSubresRange * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::TextureSubresRange*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("baseMipLevel", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->baseMipLevel), ctx); + } + json->getProperty("levelCount", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->levelCount), ctx); + } + json->getProperty("baseArrayLayer", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->baseArrayLayer), ctx); + } + json->getProperty("layerCount", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->layerCount), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_TextureSubresRange_finalize) + +static bool js_gfx_TextureSubresRange_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::TextureSubresRange* cobj = JSB_ALLOC(cc::gfx::TextureSubresRange); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::TextureSubresRange* cobj = JSB_ALLOC(cc::gfx::TextureSubresRange); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::TextureSubresRange* cobj = JSB_ALLOC(cc::gfx::TextureSubresRange); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->baseMipLevel), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->levelCount), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->baseArrayLayer), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->layerCount), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_TextureSubresRange_constructor, __jsb_cc_gfx_TextureSubresRange_class, js_cc_gfx_TextureSubresRange_finalize) + + + + +static bool js_cc_gfx_TextureSubresRange_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::TextureSubresRange* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_TextureSubresRange_finalize) + +bool js_register_gfx_TextureSubresRange(se::Object* obj) +{ + auto cls = se::Class::create("TextureSubresRange", obj, nullptr, _SE(js_gfx_TextureSubresRange_constructor)); + + cls->defineProperty("baseMipLevel", _SE(js_gfx_TextureSubresRange_get_baseMipLevel), _SE(js_gfx_TextureSubresRange_set_baseMipLevel)); + cls->defineProperty("levelCount", _SE(js_gfx_TextureSubresRange_get_levelCount), _SE(js_gfx_TextureSubresRange_set_levelCount)); + cls->defineProperty("baseArrayLayer", _SE(js_gfx_TextureSubresRange_get_baseArrayLayer), _SE(js_gfx_TextureSubresRange_set_baseArrayLayer)); + cls->defineProperty("layerCount", _SE(js_gfx_TextureSubresRange_get_layerCount), _SE(js_gfx_TextureSubresRange_set_layerCount)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_TextureSubresRange_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_TextureSubresRange_proto = cls->getProto(); + __jsb_cc_gfx_TextureSubresRange_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_TextureCopy_proto = nullptr; +se::Class* __jsb_cc_gfx_TextureCopy_class = nullptr; + +static bool js_gfx_TextureCopy_get_srcSubres(se::State& s) +{ + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_get_srcSubres : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->srcSubres, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->srcSubres, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureCopy_get_srcSubres) + +static bool js_gfx_TextureCopy_set_srcSubres(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_set_srcSubres : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->srcSubres, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureCopy_set_srcSubres : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureCopy_set_srcSubres) + +static bool js_gfx_TextureCopy_get_srcOffset(se::State& s) +{ + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_get_srcOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->srcOffset, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->srcOffset, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureCopy_get_srcOffset) + +static bool js_gfx_TextureCopy_set_srcOffset(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_set_srcOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->srcOffset, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureCopy_set_srcOffset : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureCopy_set_srcOffset) + +static bool js_gfx_TextureCopy_get_dstSubres(se::State& s) +{ + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_get_dstSubres : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->dstSubres, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->dstSubres, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureCopy_get_dstSubres) + +static bool js_gfx_TextureCopy_set_dstSubres(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_set_dstSubres : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->dstSubres, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureCopy_set_dstSubres : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureCopy_set_dstSubres) + +static bool js_gfx_TextureCopy_get_dstOffset(se::State& s) +{ + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_get_dstOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->dstOffset, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->dstOffset, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureCopy_get_dstOffset) + +static bool js_gfx_TextureCopy_set_dstOffset(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_set_dstOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->dstOffset, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureCopy_set_dstOffset : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureCopy_set_dstOffset) + +static bool js_gfx_TextureCopy_get_extent(se::State& s) +{ + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_get_extent : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->extent, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->extent, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureCopy_get_extent) + +static bool js_gfx_TextureCopy_set_extent(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureCopy_set_extent : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->extent, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureCopy_set_extent : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureCopy_set_extent) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::TextureCopy * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::TextureCopy*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("srcSubres", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->srcSubres), ctx); + } + json->getProperty("srcOffset", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->srcOffset), ctx); + } + json->getProperty("dstSubres", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->dstSubres), ctx); + } + json->getProperty("dstOffset", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->dstOffset), ctx); + } + json->getProperty("extent", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->extent), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_TextureCopy_finalize) + +static bool js_gfx_TextureCopy_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::TextureCopy* cobj = JSB_ALLOC(cc::gfx::TextureCopy); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::TextureCopy* cobj = JSB_ALLOC(cc::gfx::TextureCopy); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::TextureCopy* cobj = JSB_ALLOC(cc::gfx::TextureCopy); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->srcSubres), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->srcOffset), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->dstSubres), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->dstOffset), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->extent), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_TextureCopy_constructor, __jsb_cc_gfx_TextureCopy_class, js_cc_gfx_TextureCopy_finalize) + + + + +static bool js_cc_gfx_TextureCopy_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::TextureCopy* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_TextureCopy_finalize) + +bool js_register_gfx_TextureCopy(se::Object* obj) +{ + auto cls = se::Class::create("TextureCopy", obj, nullptr, _SE(js_gfx_TextureCopy_constructor)); + + cls->defineProperty("srcSubres", _SE(js_gfx_TextureCopy_get_srcSubres), _SE(js_gfx_TextureCopy_set_srcSubres)); + cls->defineProperty("srcOffset", _SE(js_gfx_TextureCopy_get_srcOffset), _SE(js_gfx_TextureCopy_set_srcOffset)); + cls->defineProperty("dstSubres", _SE(js_gfx_TextureCopy_get_dstSubres), _SE(js_gfx_TextureCopy_set_dstSubres)); + cls->defineProperty("dstOffset", _SE(js_gfx_TextureCopy_get_dstOffset), _SE(js_gfx_TextureCopy_set_dstOffset)); + cls->defineProperty("extent", _SE(js_gfx_TextureCopy_get_extent), _SE(js_gfx_TextureCopy_set_extent)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_TextureCopy_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_TextureCopy_proto = cls->getProto(); + __jsb_cc_gfx_TextureCopy_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_TextureBlit_proto = nullptr; +se::Class* __jsb_cc_gfx_TextureBlit_class = nullptr; + +static bool js_gfx_TextureBlit_get_srcSubres(se::State& s) +{ + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_get_srcSubres : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->srcSubres, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->srcSubres, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBlit_get_srcSubres) + +static bool js_gfx_TextureBlit_set_srcSubres(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_set_srcSubres : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->srcSubres, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBlit_set_srcSubres : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBlit_set_srcSubres) + +static bool js_gfx_TextureBlit_get_srcOffset(se::State& s) +{ + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_get_srcOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->srcOffset, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->srcOffset, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBlit_get_srcOffset) + +static bool js_gfx_TextureBlit_set_srcOffset(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_set_srcOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->srcOffset, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBlit_set_srcOffset : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBlit_set_srcOffset) + +static bool js_gfx_TextureBlit_get_srcExtent(se::State& s) +{ + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_get_srcExtent : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->srcExtent, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->srcExtent, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBlit_get_srcExtent) + +static bool js_gfx_TextureBlit_set_srcExtent(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_set_srcExtent : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->srcExtent, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBlit_set_srcExtent : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBlit_set_srcExtent) + +static bool js_gfx_TextureBlit_get_dstSubres(se::State& s) +{ + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_get_dstSubres : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->dstSubres, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->dstSubres, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBlit_get_dstSubres) + +static bool js_gfx_TextureBlit_set_dstSubres(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_set_dstSubres : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->dstSubres, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBlit_set_dstSubres : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBlit_set_dstSubres) + +static bool js_gfx_TextureBlit_get_dstOffset(se::State& s) +{ + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_get_dstOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->dstOffset, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->dstOffset, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBlit_get_dstOffset) + +static bool js_gfx_TextureBlit_set_dstOffset(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_set_dstOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->dstOffset, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBlit_set_dstOffset : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBlit_set_dstOffset) + +static bool js_gfx_TextureBlit_get_dstExtent(se::State& s) +{ + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_get_dstExtent : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->dstExtent, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->dstExtent, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBlit_get_dstExtent) + +static bool js_gfx_TextureBlit_set_dstExtent(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBlit_set_dstExtent : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->dstExtent, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBlit_set_dstExtent : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBlit_set_dstExtent) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::TextureBlit * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::TextureBlit*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("srcSubres", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->srcSubres), ctx); + } + json->getProperty("srcOffset", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->srcOffset), ctx); + } + json->getProperty("srcExtent", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->srcExtent), ctx); + } + json->getProperty("dstSubres", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->dstSubres), ctx); + } + json->getProperty("dstOffset", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->dstOffset), ctx); + } + json->getProperty("dstExtent", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->dstExtent), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_TextureBlit_finalize) + +static bool js_gfx_TextureBlit_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::TextureBlit* cobj = JSB_ALLOC(cc::gfx::TextureBlit); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::TextureBlit* cobj = JSB_ALLOC(cc::gfx::TextureBlit); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::TextureBlit* cobj = JSB_ALLOC(cc::gfx::TextureBlit); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->srcSubres), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->srcOffset), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->srcExtent), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->dstSubres), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->dstOffset), nullptr); + } + if (argc > 5 && !args[5].isUndefined()) { + ok &= sevalue_to_native(args[5], &(cobj->dstExtent), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_TextureBlit_constructor, __jsb_cc_gfx_TextureBlit_class, js_cc_gfx_TextureBlit_finalize) + + + + +static bool js_cc_gfx_TextureBlit_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::TextureBlit* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_TextureBlit_finalize) + +bool js_register_gfx_TextureBlit(se::Object* obj) +{ + auto cls = se::Class::create("TextureBlit", obj, nullptr, _SE(js_gfx_TextureBlit_constructor)); + + cls->defineProperty("srcSubres", _SE(js_gfx_TextureBlit_get_srcSubres), _SE(js_gfx_TextureBlit_set_srcSubres)); + cls->defineProperty("srcOffset", _SE(js_gfx_TextureBlit_get_srcOffset), _SE(js_gfx_TextureBlit_set_srcOffset)); + cls->defineProperty("srcExtent", _SE(js_gfx_TextureBlit_get_srcExtent), _SE(js_gfx_TextureBlit_set_srcExtent)); + cls->defineProperty("dstSubres", _SE(js_gfx_TextureBlit_get_dstSubres), _SE(js_gfx_TextureBlit_set_dstSubres)); + cls->defineProperty("dstOffset", _SE(js_gfx_TextureBlit_get_dstOffset), _SE(js_gfx_TextureBlit_set_dstOffset)); + cls->defineProperty("dstExtent", _SE(js_gfx_TextureBlit_get_dstExtent), _SE(js_gfx_TextureBlit_set_dstExtent)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_TextureBlit_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_TextureBlit_proto = cls->getProto(); + __jsb_cc_gfx_TextureBlit_class = cls; se::ScriptEngine::getInstance()->clearException(); return true; @@ -1391,6 +3095,318 @@ bool js_register_gfx_BufferTextureCopy(se::Object* obj) return true; } +se::Object* __jsb_cc_gfx_Viewport_proto = nullptr; +se::Class* __jsb_cc_gfx_Viewport_class = nullptr; + +static bool js_gfx_Viewport_get_left(se::State& s) +{ + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_get_left : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->left, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->left, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Viewport_get_left) + +static bool js_gfx_Viewport_set_left(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_set_left : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->left, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Viewport_set_left : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Viewport_set_left) + +static bool js_gfx_Viewport_get_top(se::State& s) +{ + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_get_top : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->top, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->top, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Viewport_get_top) + +static bool js_gfx_Viewport_set_top(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_set_top : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->top, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Viewport_set_top : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Viewport_set_top) + +static bool js_gfx_Viewport_get_width(se::State& s) +{ + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_get_width : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->width, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->width, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Viewport_get_width) + +static bool js_gfx_Viewport_set_width(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_set_width : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->width, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Viewport_set_width : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Viewport_set_width) + +static bool js_gfx_Viewport_get_height(se::State& s) +{ + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_get_height : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->height, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->height, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Viewport_get_height) + +static bool js_gfx_Viewport_set_height(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_set_height : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->height, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Viewport_set_height : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Viewport_set_height) + +static bool js_gfx_Viewport_get_minDepth(se::State& s) +{ + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_get_minDepth : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->minDepth, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->minDepth, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Viewport_get_minDepth) + +static bool js_gfx_Viewport_set_minDepth(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_set_minDepth : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->minDepth, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Viewport_set_minDepth : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Viewport_set_minDepth) + +static bool js_gfx_Viewport_get_maxDepth(se::State& s) +{ + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_get_maxDepth : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->maxDepth, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->maxDepth, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_Viewport_get_maxDepth) + +static bool js_gfx_Viewport_set_maxDepth(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Viewport_set_maxDepth : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->maxDepth, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Viewport_set_maxDepth : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_Viewport_set_maxDepth) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::Viewport * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::Viewport*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("left", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->left), ctx); + } + json->getProperty("top", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->top), ctx); + } + json->getProperty("width", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->width), ctx); + } + json->getProperty("height", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->height), ctx); + } + json->getProperty("minDepth", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->minDepth), ctx); + } + json->getProperty("maxDepth", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->maxDepth), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Viewport_finalize) + +static bool js_gfx_Viewport_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::Viewport* cobj = JSB_ALLOC(cc::gfx::Viewport); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::Viewport* cobj = JSB_ALLOC(cc::gfx::Viewport); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::Viewport* cobj = JSB_ALLOC(cc::gfx::Viewport); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->left), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->top), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->width), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->height), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->minDepth), nullptr); + } + if (argc > 5 && !args[5].isUndefined()) { + ok &= sevalue_to_native(args[5], &(cobj->maxDepth), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_Viewport_constructor, __jsb_cc_gfx_Viewport_class, js_cc_gfx_Viewport_finalize) + + + + +static bool js_cc_gfx_Viewport_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::Viewport* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_Viewport_finalize) + +bool js_register_gfx_Viewport(se::Object* obj) +{ + auto cls = se::Class::create("Viewport", obj, nullptr, _SE(js_gfx_Viewport_constructor)); + + cls->defineProperty("left", _SE(js_gfx_Viewport_get_left), _SE(js_gfx_Viewport_set_left)); + cls->defineProperty("top", _SE(js_gfx_Viewport_get_top), _SE(js_gfx_Viewport_set_top)); + cls->defineProperty("width", _SE(js_gfx_Viewport_get_width), _SE(js_gfx_Viewport_set_width)); + cls->defineProperty("height", _SE(js_gfx_Viewport_get_height), _SE(js_gfx_Viewport_set_height)); + cls->defineProperty("minDepth", _SE(js_gfx_Viewport_get_minDepth), _SE(js_gfx_Viewport_set_minDepth)); + cls->defineProperty("maxDepth", _SE(js_gfx_Viewport_get_maxDepth), _SE(js_gfx_Viewport_set_maxDepth)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_Viewport_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_Viewport_proto = cls->getProto(); + __jsb_cc_gfx_Viewport_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + se::Object* __jsb_cc_gfx_Color_proto = nullptr; se::Class* __jsb_cc_gfx_Color_class = nullptr; @@ -1840,560 +3856,6 @@ bool js_register_gfx_BindingMappingInfo(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_DeviceInfo_proto = nullptr; -se::Class* __jsb_cc_gfx_DeviceInfo_class = nullptr; - -static bool js_gfx_DeviceInfo_get_windowHandle(se::State& s) -{ - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_windowHandle : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->windowHandle, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->windowHandle, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_windowHandle) - -static bool js_gfx_DeviceInfo_set_windowHandle(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_windowHandle : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->windowHandle, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_windowHandle : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_windowHandle) - -static bool js_gfx_DeviceInfo_get_width(se::State& s) -{ - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_width : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->width, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->width, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_width) - -static bool js_gfx_DeviceInfo_set_width(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_width : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->width, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_width : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_width) - -static bool js_gfx_DeviceInfo_get_height(se::State& s) -{ - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_height : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->height, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->height, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_height) - -static bool js_gfx_DeviceInfo_set_height(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_height : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->height, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_height : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_height) - -static bool js_gfx_DeviceInfo_get_nativeWidth(se::State& s) -{ - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_nativeWidth : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->nativeWidth, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->nativeWidth, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_nativeWidth) - -static bool js_gfx_DeviceInfo_set_nativeWidth(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_nativeWidth : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->nativeWidth, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_nativeWidth : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_nativeWidth) - -static bool js_gfx_DeviceInfo_get_nativeHeight(se::State& s) -{ - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_nativeHeight : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->nativeHeight, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->nativeHeight, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_nativeHeight) - -static bool js_gfx_DeviceInfo_set_nativeHeight(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_nativeHeight : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->nativeHeight, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_nativeHeight : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_nativeHeight) - -static bool js_gfx_DeviceInfo_get_sharedCtx(se::State& s) -{ - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_sharedCtx : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->sharedCtx, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->sharedCtx, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_sharedCtx) - -static bool js_gfx_DeviceInfo_set_sharedCtx(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_sharedCtx : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->sharedCtx, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_sharedCtx : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_sharedCtx) - -static bool js_gfx_DeviceInfo_get_bindingMappingInfo(se::State& s) -{ - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_bindingMappingInfo : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->bindingMappingInfo, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->bindingMappingInfo, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_bindingMappingInfo) - -static bool js_gfx_DeviceInfo_set_bindingMappingInfo(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_bindingMappingInfo : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->bindingMappingInfo, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_bindingMappingInfo : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_bindingMappingInfo) - - -template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::DeviceInfo * to, se::Object *ctx) -{ - assert(from.isObject()); - se::Object *json = from.toObject(); - auto* data = (cc::gfx::DeviceInfo*)json->getPrivateData(); - if (data) { - *to = *data; - return true; - } - se::Value field; - bool ok = true; - json->getProperty("windowHandle", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->windowHandle), ctx); - } - json->getProperty("width", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->width), ctx); - } - json->getProperty("height", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->height), ctx); - } - json->getProperty("nativeWidth", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->nativeWidth), ctx); - } - json->getProperty("nativeHeight", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->nativeHeight), ctx); - } - json->getProperty("sharedCtx", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->sharedCtx), ctx); - } - json->getProperty("bindingMappingInfo", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->bindingMappingInfo), ctx); - } - return ok; -} - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_DeviceInfo_finalize) - -static bool js_gfx_DeviceInfo_constructor(se::State& s) -{ - CC_UNUSED bool ok = true; - const auto& args = s.args(); - size_t argc = args.size(); - - if(argc == 0) - { - cc::gfx::DeviceInfo* cobj = JSB_ALLOC(cc::gfx::DeviceInfo); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - else if(argc == 1 && args[0].isObject()) - { - se::Object *json = args[0].toObject(); - se::Value field; - - cc::gfx::DeviceInfo* cobj = JSB_ALLOC(cc::gfx::DeviceInfo); - ok &= sevalue_to_native(args[0], cobj, s.thisObject()); - if(!ok) { - JSB_FREE(cobj); - SE_REPORT_ERROR("argument convertion error"); - return false; - } - - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - else - { - cc::gfx::DeviceInfo* cobj = JSB_ALLOC(cc::gfx::DeviceInfo); - if (argc > 0 && !args[0].isUndefined()) { - ok &= sevalue_to_native(args[0], &(cobj->windowHandle), nullptr); - } - if (argc > 1 && !args[1].isUndefined()) { - ok &= sevalue_to_native(args[1], &(cobj->width), nullptr); - } - if (argc > 2 && !args[2].isUndefined()) { - ok &= sevalue_to_native(args[2], &(cobj->height), nullptr); - } - if (argc > 3 && !args[3].isUndefined()) { - ok &= sevalue_to_native(args[3], &(cobj->nativeWidth), nullptr); - } - if (argc > 4 && !args[4].isUndefined()) { - ok &= sevalue_to_native(args[4], &(cobj->nativeHeight), nullptr); - } - if (argc > 5 && !args[5].isUndefined()) { - ok &= sevalue_to_native(args[5], &(cobj->sharedCtx), nullptr); - } - if (argc > 6 && !args[6].isUndefined()) { - ok &= sevalue_to_native(args[6], &(cobj->bindingMappingInfo), nullptr); - } - - if(!ok) { - JSB_FREE(cobj); - SE_REPORT_ERROR("Argument convertion error"); - return false; - } - - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - - SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); - return false; -} -SE_BIND_CTOR(js_gfx_DeviceInfo_constructor, __jsb_cc_gfx_DeviceInfo_class, js_cc_gfx_DeviceInfo_finalize) - - - - -static bool js_cc_gfx_DeviceInfo_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_DeviceInfo_finalize) - -bool js_register_gfx_DeviceInfo(se::Object* obj) -{ - auto cls = se::Class::create("DeviceInfo", obj, nullptr, _SE(js_gfx_DeviceInfo_constructor)); - - cls->defineProperty("windowHandle", _SE(js_gfx_DeviceInfo_get_windowHandle), _SE(js_gfx_DeviceInfo_set_windowHandle)); - cls->defineProperty("width", _SE(js_gfx_DeviceInfo_get_width), _SE(js_gfx_DeviceInfo_set_width)); - cls->defineProperty("height", _SE(js_gfx_DeviceInfo_get_height), _SE(js_gfx_DeviceInfo_set_height)); - cls->defineProperty("nativeWidth", _SE(js_gfx_DeviceInfo_get_nativeWidth), _SE(js_gfx_DeviceInfo_set_nativeWidth)); - cls->defineProperty("nativeHeight", _SE(js_gfx_DeviceInfo_get_nativeHeight), _SE(js_gfx_DeviceInfo_set_nativeHeight)); - cls->defineProperty("sharedCtx", _SE(js_gfx_DeviceInfo_get_sharedCtx), _SE(js_gfx_DeviceInfo_set_sharedCtx)); - cls->defineProperty("bindingMappingInfo", _SE(js_gfx_DeviceInfo_get_bindingMappingInfo), _SE(js_gfx_DeviceInfo_set_bindingMappingInfo)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_DeviceInfo_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_DeviceInfo_proto = cls->getProto(); - __jsb_cc_gfx_DeviceInfo_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -se::Object* __jsb_cc_gfx_ContextInfo_proto = nullptr; -se::Class* __jsb_cc_gfx_ContextInfo_class = nullptr; - -static bool js_gfx_ContextInfo_get_windowHandle(se::State& s) -{ - cc::gfx::ContextInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ContextInfo_get_windowHandle : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->windowHandle, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->windowHandle, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_ContextInfo_get_windowHandle) - -static bool js_gfx_ContextInfo_set_windowHandle(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::ContextInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ContextInfo_set_windowHandle : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->windowHandle, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_ContextInfo_set_windowHandle : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_ContextInfo_set_windowHandle) - -static bool js_gfx_ContextInfo_get_sharedCtx(se::State& s) -{ - cc::gfx::ContextInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ContextInfo_get_sharedCtx : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->sharedCtx, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->sharedCtx, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_ContextInfo_get_sharedCtx) - -static bool js_gfx_ContextInfo_set_sharedCtx(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::ContextInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ContextInfo_set_sharedCtx : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->sharedCtx, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_ContextInfo_set_sharedCtx : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_ContextInfo_set_sharedCtx) - -static bool js_gfx_ContextInfo_get_vsyncMode(se::State& s) -{ - cc::gfx::ContextInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ContextInfo_get_vsyncMode : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->vsyncMode, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->vsyncMode, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_ContextInfo_get_vsyncMode) - -static bool js_gfx_ContextInfo_set_vsyncMode(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::ContextInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ContextInfo_set_vsyncMode : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->vsyncMode, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_ContextInfo_set_vsyncMode : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_ContextInfo_set_vsyncMode) - - -template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::ContextInfo * to, se::Object *ctx) -{ - assert(from.isObject()); - se::Object *json = from.toObject(); - auto* data = (cc::gfx::ContextInfo*)json->getPrivateData(); - if (data) { - *to = *data; - return true; - } - se::Value field; - bool ok = true; - json->getProperty("windowHandle", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->windowHandle), ctx); - } - json->getProperty("sharedCtx", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->sharedCtx), ctx); - } - json->getProperty("vsyncMode", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->vsyncMode), ctx); - } - return ok; -} - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_ContextInfo_finalize) - -static bool js_gfx_ContextInfo_constructor(se::State& s) -{ - CC_UNUSED bool ok = true; - const auto& args = s.args(); - size_t argc = args.size(); - - if(argc == 0) - { - cc::gfx::ContextInfo* cobj = JSB_ALLOC(cc::gfx::ContextInfo); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - else if(argc == 1 && args[0].isObject()) - { - se::Object *json = args[0].toObject(); - se::Value field; - - cc::gfx::ContextInfo* cobj = JSB_ALLOC(cc::gfx::ContextInfo); - ok &= sevalue_to_native(args[0], cobj, s.thisObject()); - if(!ok) { - JSB_FREE(cobj); - SE_REPORT_ERROR("argument convertion error"); - return false; - } - - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - else - { - cc::gfx::ContextInfo* cobj = JSB_ALLOC(cc::gfx::ContextInfo); - if (argc > 0 && !args[0].isUndefined()) { - ok &= sevalue_to_native(args[0], &(cobj->windowHandle), nullptr); - } - if (argc > 1 && !args[1].isUndefined()) { - ok &= sevalue_to_native(args[1], &(cobj->sharedCtx), nullptr); - } - if (argc > 2 && !args[2].isUndefined()) { - ok &= sevalue_to_native(args[2], &(cobj->vsyncMode), nullptr); - } - - if(!ok) { - JSB_FREE(cobj); - SE_REPORT_ERROR("Argument convertion error"); - return false; - } - - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - - SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); - return false; -} -SE_BIND_CTOR(js_gfx_ContextInfo_constructor, __jsb_cc_gfx_ContextInfo_class, js_cc_gfx_ContextInfo_finalize) - - - - -static bool js_cc_gfx_ContextInfo_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::ContextInfo* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_ContextInfo_finalize) - -bool js_register_gfx_ContextInfo(se::Object* obj) -{ - auto cls = se::Class::create("ContextInfo", obj, nullptr, _SE(js_gfx_ContextInfo_constructor)); - - cls->defineProperty("windowHandle", _SE(js_gfx_ContextInfo_get_windowHandle), _SE(js_gfx_ContextInfo_set_windowHandle)); - cls->defineProperty("sharedCtx", _SE(js_gfx_ContextInfo_get_sharedCtx), _SE(js_gfx_ContextInfo_set_sharedCtx)); - cls->defineProperty("vsyncMode", _SE(js_gfx_ContextInfo_get_vsyncMode), _SE(js_gfx_ContextInfo_set_vsyncMode)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_ContextInfo_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_ContextInfo_proto = cls->getProto(); - __jsb_cc_gfx_ContextInfo_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - se::Object* __jsb_cc_gfx_BufferInfo_proto = nullptr; se::Class* __jsb_cc_gfx_BufferInfo_class = nullptr; @@ -2878,6 +4340,750 @@ bool js_register_gfx_BufferViewInfo(se::Object* obj) return true; } +se::Object* __jsb_cc_gfx_DrawInfo_proto = nullptr; +se::Class* __jsb_cc_gfx_DrawInfo_class = nullptr; + +static bool js_gfx_DrawInfo_get_vertexCount(se::State& s) +{ + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_get_vertexCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->vertexCount, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->vertexCount, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DrawInfo_get_vertexCount) + +static bool js_gfx_DrawInfo_set_vertexCount(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_set_vertexCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->vertexCount, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DrawInfo_set_vertexCount : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DrawInfo_set_vertexCount) + +static bool js_gfx_DrawInfo_get_firstVertex(se::State& s) +{ + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_get_firstVertex : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->firstVertex, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->firstVertex, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DrawInfo_get_firstVertex) + +static bool js_gfx_DrawInfo_set_firstVertex(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_set_firstVertex : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->firstVertex, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DrawInfo_set_firstVertex : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DrawInfo_set_firstVertex) + +static bool js_gfx_DrawInfo_get_indexCount(se::State& s) +{ + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_get_indexCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->indexCount, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->indexCount, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DrawInfo_get_indexCount) + +static bool js_gfx_DrawInfo_set_indexCount(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_set_indexCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->indexCount, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DrawInfo_set_indexCount : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DrawInfo_set_indexCount) + +static bool js_gfx_DrawInfo_get_firstIndex(se::State& s) +{ + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_get_firstIndex : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->firstIndex, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->firstIndex, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DrawInfo_get_firstIndex) + +static bool js_gfx_DrawInfo_set_firstIndex(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_set_firstIndex : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->firstIndex, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DrawInfo_set_firstIndex : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DrawInfo_set_firstIndex) + +static bool js_gfx_DrawInfo_get_vertexOffset(se::State& s) +{ + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_get_vertexOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->vertexOffset, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->vertexOffset, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DrawInfo_get_vertexOffset) + +static bool js_gfx_DrawInfo_set_vertexOffset(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_set_vertexOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->vertexOffset, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DrawInfo_set_vertexOffset : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DrawInfo_set_vertexOffset) + +static bool js_gfx_DrawInfo_get_instanceCount(se::State& s) +{ + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_get_instanceCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->instanceCount, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->instanceCount, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DrawInfo_get_instanceCount) + +static bool js_gfx_DrawInfo_set_instanceCount(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_set_instanceCount : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->instanceCount, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DrawInfo_set_instanceCount : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DrawInfo_set_instanceCount) + +static bool js_gfx_DrawInfo_get_firstInstance(se::State& s) +{ + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_get_firstInstance : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->firstInstance, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->firstInstance, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DrawInfo_get_firstInstance) + +static bool js_gfx_DrawInfo_set_firstInstance(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DrawInfo_set_firstInstance : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->firstInstance, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DrawInfo_set_firstInstance : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DrawInfo_set_firstInstance) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::DrawInfo * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::DrawInfo*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("vertexCount", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->vertexCount), ctx); + } + json->getProperty("firstVertex", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->firstVertex), ctx); + } + json->getProperty("indexCount", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->indexCount), ctx); + } + json->getProperty("firstIndex", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->firstIndex), ctx); + } + json->getProperty("vertexOffset", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->vertexOffset), ctx); + } + json->getProperty("instanceCount", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->instanceCount), ctx); + } + json->getProperty("firstInstance", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->firstInstance), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_DrawInfo_finalize) + +static bool js_gfx_DrawInfo_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::DrawInfo* cobj = JSB_ALLOC(cc::gfx::DrawInfo); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::DrawInfo* cobj = JSB_ALLOC(cc::gfx::DrawInfo); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::DrawInfo* cobj = JSB_ALLOC(cc::gfx::DrawInfo); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->vertexCount), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->firstVertex), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->indexCount), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->firstIndex), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->vertexOffset), nullptr); + } + if (argc > 5 && !args[5].isUndefined()) { + ok &= sevalue_to_native(args[5], &(cobj->instanceCount), nullptr); + } + if (argc > 6 && !args[6].isUndefined()) { + ok &= sevalue_to_native(args[6], &(cobj->firstInstance), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_DrawInfo_constructor, __jsb_cc_gfx_DrawInfo_class, js_cc_gfx_DrawInfo_finalize) + + + + +static bool js_cc_gfx_DrawInfo_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::DrawInfo* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_DrawInfo_finalize) + +bool js_register_gfx_DrawInfo(se::Object* obj) +{ + auto cls = se::Class::create("DrawInfo", obj, nullptr, _SE(js_gfx_DrawInfo_constructor)); + + cls->defineProperty("vertexCount", _SE(js_gfx_DrawInfo_get_vertexCount), _SE(js_gfx_DrawInfo_set_vertexCount)); + cls->defineProperty("firstVertex", _SE(js_gfx_DrawInfo_get_firstVertex), _SE(js_gfx_DrawInfo_set_firstVertex)); + cls->defineProperty("indexCount", _SE(js_gfx_DrawInfo_get_indexCount), _SE(js_gfx_DrawInfo_set_indexCount)); + cls->defineProperty("firstIndex", _SE(js_gfx_DrawInfo_get_firstIndex), _SE(js_gfx_DrawInfo_set_firstIndex)); + cls->defineProperty("vertexOffset", _SE(js_gfx_DrawInfo_get_vertexOffset), _SE(js_gfx_DrawInfo_set_vertexOffset)); + cls->defineProperty("instanceCount", _SE(js_gfx_DrawInfo_get_instanceCount), _SE(js_gfx_DrawInfo_set_instanceCount)); + cls->defineProperty("firstInstance", _SE(js_gfx_DrawInfo_get_firstInstance), _SE(js_gfx_DrawInfo_set_firstInstance)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_DrawInfo_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_DrawInfo_proto = cls->getProto(); + __jsb_cc_gfx_DrawInfo_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_DispatchInfo_proto = nullptr; +se::Class* __jsb_cc_gfx_DispatchInfo_class = nullptr; + +static bool js_gfx_DispatchInfo_get_groupCountX(se::State& s) +{ + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_get_groupCountX : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->groupCountX, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->groupCountX, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DispatchInfo_get_groupCountX) + +static bool js_gfx_DispatchInfo_set_groupCountX(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_set_groupCountX : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->groupCountX, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DispatchInfo_set_groupCountX : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DispatchInfo_set_groupCountX) + +static bool js_gfx_DispatchInfo_get_groupCountY(se::State& s) +{ + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_get_groupCountY : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->groupCountY, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->groupCountY, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DispatchInfo_get_groupCountY) + +static bool js_gfx_DispatchInfo_set_groupCountY(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_set_groupCountY : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->groupCountY, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DispatchInfo_set_groupCountY : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DispatchInfo_set_groupCountY) + +static bool js_gfx_DispatchInfo_get_groupCountZ(se::State& s) +{ + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_get_groupCountZ : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->groupCountZ, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->groupCountZ, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DispatchInfo_get_groupCountZ) + +static bool js_gfx_DispatchInfo_set_groupCountZ(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_set_groupCountZ : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->groupCountZ, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DispatchInfo_set_groupCountZ : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DispatchInfo_set_groupCountZ) + +static bool js_gfx_DispatchInfo_get_indirectBuffer(se::State& s) +{ + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_get_indirectBuffer : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->indirectBuffer, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->indirectBuffer, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DispatchInfo_get_indirectBuffer) + +static bool js_gfx_DispatchInfo_set_indirectBuffer(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_set_indirectBuffer : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->indirectBuffer, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DispatchInfo_set_indirectBuffer : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DispatchInfo_set_indirectBuffer) + +static bool js_gfx_DispatchInfo_get_indirectOffset(se::State& s) +{ + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_get_indirectOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->indirectOffset, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->indirectOffset, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DispatchInfo_get_indirectOffset) + +static bool js_gfx_DispatchInfo_set_indirectOffset(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DispatchInfo_set_indirectOffset : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->indirectOffset, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DispatchInfo_set_indirectOffset : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DispatchInfo_set_indirectOffset) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::DispatchInfo * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::DispatchInfo*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("groupCountX", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->groupCountX), ctx); + } + json->getProperty("groupCountY", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->groupCountY), ctx); + } + json->getProperty("groupCountZ", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->groupCountZ), ctx); + } + json->getProperty("indirectBuffer", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->indirectBuffer), ctx); + } + json->getProperty("indirectOffset", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->indirectOffset), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_DispatchInfo_finalize) + +static bool js_gfx_DispatchInfo_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::DispatchInfo* cobj = JSB_ALLOC(cc::gfx::DispatchInfo); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::DispatchInfo* cobj = JSB_ALLOC(cc::gfx::DispatchInfo); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::DispatchInfo* cobj = JSB_ALLOC(cc::gfx::DispatchInfo); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->groupCountX), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->groupCountY), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->groupCountZ), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->indirectBuffer), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->indirectOffset), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_DispatchInfo_constructor, __jsb_cc_gfx_DispatchInfo_class, js_cc_gfx_DispatchInfo_finalize) + + + + +static bool js_cc_gfx_DispatchInfo_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::DispatchInfo* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_DispatchInfo_finalize) + +bool js_register_gfx_DispatchInfo(se::Object* obj) +{ + auto cls = se::Class::create("DispatchInfo", obj, nullptr, _SE(js_gfx_DispatchInfo_constructor)); + + cls->defineProperty("groupCountX", _SE(js_gfx_DispatchInfo_get_groupCountX), _SE(js_gfx_DispatchInfo_set_groupCountX)); + cls->defineProperty("groupCountY", _SE(js_gfx_DispatchInfo_get_groupCountY), _SE(js_gfx_DispatchInfo_set_groupCountY)); + cls->defineProperty("groupCountZ", _SE(js_gfx_DispatchInfo_get_groupCountZ), _SE(js_gfx_DispatchInfo_set_groupCountZ)); + cls->defineProperty("indirectBuffer", _SE(js_gfx_DispatchInfo_get_indirectBuffer), _SE(js_gfx_DispatchInfo_set_indirectBuffer)); + cls->defineProperty("indirectOffset", _SE(js_gfx_DispatchInfo_get_indirectOffset), _SE(js_gfx_DispatchInfo_set_indirectOffset)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_DispatchInfo_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_DispatchInfo_proto = cls->getProto(); + __jsb_cc_gfx_DispatchInfo_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_IndirectBuffer_proto = nullptr; +se::Class* __jsb_cc_gfx_IndirectBuffer_class = nullptr; + +static bool js_gfx_IndirectBuffer_get_drawInfos(se::State& s) +{ + cc::gfx::IndirectBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_IndirectBuffer_get_drawInfos : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->drawInfos, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->drawInfos, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_IndirectBuffer_get_drawInfos) + +static bool js_gfx_IndirectBuffer_set_drawInfos(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::IndirectBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_IndirectBuffer_set_drawInfos : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->drawInfos, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_IndirectBuffer_set_drawInfos : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_IndirectBuffer_set_drawInfos) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::IndirectBuffer * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::IndirectBuffer*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("drawInfos", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->drawInfos), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_IndirectBuffer_finalize) + +static bool js_gfx_IndirectBuffer_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::IndirectBuffer* cobj = JSB_ALLOC(cc::gfx::IndirectBuffer); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::IndirectBuffer* cobj = JSB_ALLOC(cc::gfx::IndirectBuffer); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->drawInfos), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_IndirectBuffer_constructor, __jsb_cc_gfx_IndirectBuffer_class, js_cc_gfx_IndirectBuffer_finalize) + + + + +static bool js_cc_gfx_IndirectBuffer_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::IndirectBuffer* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_IndirectBuffer_finalize) + +bool js_register_gfx_IndirectBuffer(se::Object* obj) +{ + auto cls = se::Class::create("IndirectBuffer", obj, nullptr, _SE(js_gfx_IndirectBuffer_constructor)); + + cls->defineProperty("drawInfos", _SE(js_gfx_IndirectBuffer_get_drawInfos), _SE(js_gfx_IndirectBuffer_set_drawInfos)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_IndirectBuffer_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_IndirectBuffer_proto = cls->getProto(); + __jsb_cc_gfx_IndirectBuffer_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + se::Object* __jsb_cc_gfx_TextureInfo_proto = nullptr; se::Class* __jsb_cc_gfx_TextureInfo_class = nullptr; @@ -3923,60 +6129,6 @@ static bool js_gfx_SamplerInfo_set_borderColor(se::State& s) } SE_BIND_PROP_SET(js_gfx_SamplerInfo_set_borderColor) -static bool js_gfx_SamplerInfo_get_minLOD(se::State& s) -{ - cc::gfx::SamplerInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SamplerInfo_get_minLOD : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->minLOD, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->minLOD, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_SamplerInfo_get_minLOD) - -static bool js_gfx_SamplerInfo_set_minLOD(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::SamplerInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SamplerInfo_set_minLOD : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->minLOD, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_SamplerInfo_set_minLOD : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_SamplerInfo_set_minLOD) - -static bool js_gfx_SamplerInfo_get_maxLOD(se::State& s) -{ - cc::gfx::SamplerInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SamplerInfo_get_maxLOD : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->maxLOD, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->maxLOD, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_SamplerInfo_get_maxLOD) - -static bool js_gfx_SamplerInfo_set_maxLOD(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::SamplerInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SamplerInfo_set_maxLOD : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->maxLOD, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_SamplerInfo_set_maxLOD : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_SamplerInfo_set_maxLOD) - static bool js_gfx_SamplerInfo_get_mipLODBias(se::State& s) { cc::gfx::SamplerInfo* cobj = SE_THIS_OBJECT(s); @@ -4053,14 +6205,6 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::SamplerInfo * to, se::Obj if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->borderColor), ctx); } - json->getProperty("minLOD", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->minLOD), ctx); - } - json->getProperty("maxLOD", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->maxLOD), ctx); - } json->getProperty("mipLODBias", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->mipLODBias), ctx); @@ -4131,13 +6275,7 @@ static bool js_gfx_SamplerInfo_constructor(se::State& s) ok &= sevalue_to_native(args[8], &(cobj->borderColor), nullptr); } if (argc > 9 && !args[9].isUndefined()) { - ok &= sevalue_to_native(args[9], &(cobj->minLOD), nullptr); - } - if (argc > 10 && !args[10].isUndefined()) { - ok &= sevalue_to_native(args[10], &(cobj->maxLOD), nullptr); - } - if (argc > 11 && !args[11].isUndefined()) { - ok &= sevalue_to_native(args[11], &(cobj->mipLODBias), nullptr); + ok &= sevalue_to_native(args[9], &(cobj->mipLODBias), nullptr); } if(!ok) { @@ -4185,8 +6323,6 @@ bool js_register_gfx_SamplerInfo(se::Object* obj) cls->defineProperty("maxAnisotropy", _SE(js_gfx_SamplerInfo_get_maxAnisotropy), _SE(js_gfx_SamplerInfo_set_maxAnisotropy)); cls->defineProperty("cmpFunc", _SE(js_gfx_SamplerInfo_get_cmpFunc), _SE(js_gfx_SamplerInfo_set_cmpFunc)); cls->defineProperty("borderColor", _SE(js_gfx_SamplerInfo_get_borderColor), _SE(js_gfx_SamplerInfo_set_borderColor)); - cls->defineProperty("minLOD", _SE(js_gfx_SamplerInfo_get_minLOD), _SE(js_gfx_SamplerInfo_set_minLOD)); - cls->defineProperty("maxLOD", _SE(js_gfx_SamplerInfo_get_maxLOD), _SE(js_gfx_SamplerInfo_set_maxLOD)); cls->defineProperty("mipLODBias", _SE(js_gfx_SamplerInfo_get_mipLODBias), _SE(js_gfx_SamplerInfo_set_mipLODBias)); cls->defineFinalizeFunction(_SE(js_cc_gfx_SamplerInfo_finalize)); cls->install(); @@ -4199,178 +6335,6 @@ bool js_register_gfx_SamplerInfo(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_ShaderMacro_proto = nullptr; -se::Class* __jsb_cc_gfx_ShaderMacro_class = nullptr; - -static bool js_gfx_ShaderMacro_get_macro(se::State& s) -{ - cc::gfx::ShaderMacro* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ShaderMacro_get_macro : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->macro, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->macro, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_ShaderMacro_get_macro) - -static bool js_gfx_ShaderMacro_set_macro(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::ShaderMacro* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ShaderMacro_set_macro : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->macro, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_ShaderMacro_set_macro : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_ShaderMacro_set_macro) - -static bool js_gfx_ShaderMacro_get_value(se::State& s) -{ - cc::gfx::ShaderMacro* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ShaderMacro_get_value : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->value, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->value, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_ShaderMacro_get_value) - -static bool js_gfx_ShaderMacro_set_value(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::ShaderMacro* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ShaderMacro_set_value : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->value, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_ShaderMacro_set_value : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_ShaderMacro_set_value) - - -template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::ShaderMacro * to, se::Object *ctx) -{ - assert(from.isObject()); - se::Object *json = from.toObject(); - auto* data = (cc::gfx::ShaderMacro*)json->getPrivateData(); - if (data) { - *to = *data; - return true; - } - se::Value field; - bool ok = true; - json->getProperty("macro", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->macro), ctx); - } - json->getProperty("value", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->value), ctx); - } - return ok; -} - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_ShaderMacro_finalize) - -static bool js_gfx_ShaderMacro_constructor(se::State& s) -{ - CC_UNUSED bool ok = true; - const auto& args = s.args(); - size_t argc = args.size(); - - if(argc == 0) - { - cc::gfx::ShaderMacro* cobj = JSB_ALLOC(cc::gfx::ShaderMacro); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - else if(argc == 1 && args[0].isObject()) - { - se::Object *json = args[0].toObject(); - se::Value field; - - cc::gfx::ShaderMacro* cobj = JSB_ALLOC(cc::gfx::ShaderMacro); - ok &= sevalue_to_native(args[0], cobj, s.thisObject()); - if(!ok) { - JSB_FREE(cobj); - SE_REPORT_ERROR("argument convertion error"); - return false; - } - - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - else - { - cc::gfx::ShaderMacro* cobj = JSB_ALLOC(cc::gfx::ShaderMacro); - if (argc > 0 && !args[0].isUndefined()) { - ok &= sevalue_to_native(args[0], &(cobj->macro), nullptr); - } - if (argc > 1 && !args[1].isUndefined()) { - ok &= sevalue_to_native(args[1], &(cobj->value), nullptr); - } - - if(!ok) { - JSB_FREE(cobj); - SE_REPORT_ERROR("Argument convertion error"); - return false; - } - - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - - SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); - return false; -} -SE_BIND_CTOR(js_gfx_ShaderMacro_constructor, __jsb_cc_gfx_ShaderMacro_class, js_cc_gfx_ShaderMacro_finalize) - - - - -static bool js_cc_gfx_ShaderMacro_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::ShaderMacro* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_ShaderMacro_finalize) - -bool js_register_gfx_ShaderMacro(se::Object* obj) -{ - auto cls = se::Class::create("ShaderMacro", obj, nullptr, _SE(js_gfx_ShaderMacro_constructor)); - - cls->defineProperty("macro", _SE(js_gfx_ShaderMacro_get_macro), _SE(js_gfx_ShaderMacro_set_macro)); - cls->defineProperty("value", _SE(js_gfx_ShaderMacro_get_value), _SE(js_gfx_ShaderMacro_set_value)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_ShaderMacro_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_ShaderMacro_proto = cls->getProto(); - __jsb_cc_gfx_ShaderMacro_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - se::Object* __jsb_cc_gfx_Uniform_proto = nullptr; se::Class* __jsb_cc_gfx_Uniform_class = nullptr; @@ -4855,6 +6819,283 @@ bool js_register_gfx_UniformBlock(se::Object* obj) return true; } +se::Object* __jsb_cc_gfx_UniformSamplerTexture_proto = nullptr; +se::Class* __jsb_cc_gfx_UniformSamplerTexture_class = nullptr; + +static bool js_gfx_UniformSamplerTexture_get_set(se::State& s) +{ + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_get_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->set, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->set, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformSamplerTexture_get_set) + +static bool js_gfx_UniformSamplerTexture_set_set(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_set_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->set, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformSamplerTexture_set_set : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformSamplerTexture_set_set) + +static bool js_gfx_UniformSamplerTexture_get_binding(se::State& s) +{ + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_get_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->binding, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->binding, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformSamplerTexture_get_binding) + +static bool js_gfx_UniformSamplerTexture_set_binding(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_set_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->binding, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformSamplerTexture_set_binding : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformSamplerTexture_set_binding) + +static bool js_gfx_UniformSamplerTexture_get_name(se::State& s) +{ + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_get_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->name, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->name, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformSamplerTexture_get_name) + +static bool js_gfx_UniformSamplerTexture_set_name(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_set_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->name, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformSamplerTexture_set_name : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformSamplerTexture_set_name) + +static bool js_gfx_UniformSamplerTexture_get_type(se::State& s) +{ + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_get_type : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->type, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->type, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformSamplerTexture_get_type) + +static bool js_gfx_UniformSamplerTexture_set_type(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_set_type : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->type, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformSamplerTexture_set_type : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformSamplerTexture_set_type) + +static bool js_gfx_UniformSamplerTexture_get_count(se::State& s) +{ + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_get_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->count, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->count, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformSamplerTexture_get_count) + +static bool js_gfx_UniformSamplerTexture_set_count(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformSamplerTexture_set_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->count, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformSamplerTexture_set_count : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformSamplerTexture_set_count) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::UniformSamplerTexture * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::UniformSamplerTexture*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("set", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->set), ctx); + } + json->getProperty("binding", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->binding), ctx); + } + json->getProperty("name", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->name), ctx); + } + json->getProperty("type", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->type), ctx); + } + json->getProperty("count", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->count), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_UniformSamplerTexture_finalize) + +static bool js_gfx_UniformSamplerTexture_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::UniformSamplerTexture* cobj = JSB_ALLOC(cc::gfx::UniformSamplerTexture); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::UniformSamplerTexture* cobj = JSB_ALLOC(cc::gfx::UniformSamplerTexture); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::UniformSamplerTexture* cobj = JSB_ALLOC(cc::gfx::UniformSamplerTexture); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->set), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->binding), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->name), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->type), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->count), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_UniformSamplerTexture_constructor, __jsb_cc_gfx_UniformSamplerTexture_class, js_cc_gfx_UniformSamplerTexture_finalize) + + + + +static bool js_cc_gfx_UniformSamplerTexture_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::UniformSamplerTexture* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_UniformSamplerTexture_finalize) + +bool js_register_gfx_UniformSamplerTexture(se::Object* obj) +{ + auto cls = se::Class::create("UniformSamplerTexture", obj, nullptr, _SE(js_gfx_UniformSamplerTexture_constructor)); + + cls->defineProperty("set", _SE(js_gfx_UniformSamplerTexture_get_set), _SE(js_gfx_UniformSamplerTexture_set_set)); + cls->defineProperty("binding", _SE(js_gfx_UniformSamplerTexture_get_binding), _SE(js_gfx_UniformSamplerTexture_set_binding)); + cls->defineProperty("name", _SE(js_gfx_UniformSamplerTexture_get_name), _SE(js_gfx_UniformSamplerTexture_set_name)); + cls->defineProperty("type", _SE(js_gfx_UniformSamplerTexture_get_type), _SE(js_gfx_UniformSamplerTexture_set_type)); + cls->defineProperty("count", _SE(js_gfx_UniformSamplerTexture_get_count), _SE(js_gfx_UniformSamplerTexture_set_count)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_UniformSamplerTexture_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_UniformSamplerTexture_proto = cls->getProto(); + __jsb_cc_gfx_UniformSamplerTexture_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + se::Object* __jsb_cc_gfx_UniformSampler_proto = nullptr; se::Class* __jsb_cc_gfx_UniformSampler_class = nullptr; @@ -4939,33 +7180,6 @@ static bool js_gfx_UniformSampler_set_name(se::State& s) } SE_BIND_PROP_SET(js_gfx_UniformSampler_set_name) -static bool js_gfx_UniformSampler_get_type(se::State& s) -{ - cc::gfx::UniformSampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_UniformSampler_get_type : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->type, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->type, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_UniformSampler_get_type) - -static bool js_gfx_UniformSampler_set_type(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::UniformSampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_UniformSampler_set_type : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->type, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_UniformSampler_set_type : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_UniformSampler_set_type) - static bool js_gfx_UniformSampler_get_count(se::State& s) { cc::gfx::UniformSampler* cobj = SE_THIS_OBJECT(s); @@ -5018,10 +7232,6 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::UniformSampler * to, se:: if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->name), ctx); } - json->getProperty("type", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->type), ctx); - } json->getProperty("count", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->count), ctx); @@ -5074,10 +7284,7 @@ static bool js_gfx_UniformSampler_constructor(se::State& s) ok &= sevalue_to_native(args[2], &(cobj->name), nullptr); } if (argc > 3 && !args[3].isUndefined()) { - ok &= sevalue_to_native(args[3], &(cobj->type), nullptr); - } - if (argc > 4 && !args[4].isUndefined()) { - ok &= sevalue_to_native(args[4], &(cobj->count), nullptr); + ok &= sevalue_to_native(args[3], &(cobj->count), nullptr); } if(!ok) { @@ -5119,7 +7326,6 @@ bool js_register_gfx_UniformSampler(se::Object* obj) cls->defineProperty("set", _SE(js_gfx_UniformSampler_get_set), _SE(js_gfx_UniformSampler_set_set)); cls->defineProperty("binding", _SE(js_gfx_UniformSampler_get_binding), _SE(js_gfx_UniformSampler_set_binding)); cls->defineProperty("name", _SE(js_gfx_UniformSampler_get_name), _SE(js_gfx_UniformSampler_set_name)); - cls->defineProperty("type", _SE(js_gfx_UniformSampler_get_type), _SE(js_gfx_UniformSampler_set_type)); cls->defineProperty("count", _SE(js_gfx_UniformSampler_get_count), _SE(js_gfx_UniformSampler_set_count)); cls->defineFinalizeFunction(_SE(js_cc_gfx_UniformSampler_finalize)); cls->install(); @@ -5132,6 +7338,1114 @@ bool js_register_gfx_UniformSampler(se::Object* obj) return true; } +se::Object* __jsb_cc_gfx_UniformTexture_proto = nullptr; +se::Class* __jsb_cc_gfx_UniformTexture_class = nullptr; + +static bool js_gfx_UniformTexture_get_set(se::State& s) +{ + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_get_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->set, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->set, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformTexture_get_set) + +static bool js_gfx_UniformTexture_set_set(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_set_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->set, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformTexture_set_set : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformTexture_set_set) + +static bool js_gfx_UniformTexture_get_binding(se::State& s) +{ + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_get_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->binding, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->binding, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformTexture_get_binding) + +static bool js_gfx_UniformTexture_set_binding(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_set_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->binding, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformTexture_set_binding : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformTexture_set_binding) + +static bool js_gfx_UniformTexture_get_name(se::State& s) +{ + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_get_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->name, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->name, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformTexture_get_name) + +static bool js_gfx_UniformTexture_set_name(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_set_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->name, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformTexture_set_name : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformTexture_set_name) + +static bool js_gfx_UniformTexture_get_type(se::State& s) +{ + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_get_type : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->type, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->type, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformTexture_get_type) + +static bool js_gfx_UniformTexture_set_type(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_set_type : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->type, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformTexture_set_type : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformTexture_set_type) + +static bool js_gfx_UniformTexture_get_count(se::State& s) +{ + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_get_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->count, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->count, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformTexture_get_count) + +static bool js_gfx_UniformTexture_set_count(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformTexture_set_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->count, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformTexture_set_count : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformTexture_set_count) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::UniformTexture * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::UniformTexture*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("set", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->set), ctx); + } + json->getProperty("binding", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->binding), ctx); + } + json->getProperty("name", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->name), ctx); + } + json->getProperty("type", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->type), ctx); + } + json->getProperty("count", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->count), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_UniformTexture_finalize) + +static bool js_gfx_UniformTexture_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::UniformTexture* cobj = JSB_ALLOC(cc::gfx::UniformTexture); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::UniformTexture* cobj = JSB_ALLOC(cc::gfx::UniformTexture); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::UniformTexture* cobj = JSB_ALLOC(cc::gfx::UniformTexture); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->set), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->binding), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->name), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->type), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->count), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_UniformTexture_constructor, __jsb_cc_gfx_UniformTexture_class, js_cc_gfx_UniformTexture_finalize) + + + + +static bool js_cc_gfx_UniformTexture_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::UniformTexture* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_UniformTexture_finalize) + +bool js_register_gfx_UniformTexture(se::Object* obj) +{ + auto cls = se::Class::create("UniformTexture", obj, nullptr, _SE(js_gfx_UniformTexture_constructor)); + + cls->defineProperty("set", _SE(js_gfx_UniformTexture_get_set), _SE(js_gfx_UniformTexture_set_set)); + cls->defineProperty("binding", _SE(js_gfx_UniformTexture_get_binding), _SE(js_gfx_UniformTexture_set_binding)); + cls->defineProperty("name", _SE(js_gfx_UniformTexture_get_name), _SE(js_gfx_UniformTexture_set_name)); + cls->defineProperty("type", _SE(js_gfx_UniformTexture_get_type), _SE(js_gfx_UniformTexture_set_type)); + cls->defineProperty("count", _SE(js_gfx_UniformTexture_get_count), _SE(js_gfx_UniformTexture_set_count)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_UniformTexture_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_UniformTexture_proto = cls->getProto(); + __jsb_cc_gfx_UniformTexture_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_UniformStorageImage_proto = nullptr; +se::Class* __jsb_cc_gfx_UniformStorageImage_class = nullptr; + +static bool js_gfx_UniformStorageImage_get_set(se::State& s) +{ + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_get_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->set, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->set, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageImage_get_set) + +static bool js_gfx_UniformStorageImage_set_set(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_set_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->set, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageImage_set_set : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageImage_set_set) + +static bool js_gfx_UniformStorageImage_get_binding(se::State& s) +{ + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_get_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->binding, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->binding, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageImage_get_binding) + +static bool js_gfx_UniformStorageImage_set_binding(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_set_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->binding, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageImage_set_binding : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageImage_set_binding) + +static bool js_gfx_UniformStorageImage_get_name(se::State& s) +{ + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_get_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->name, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->name, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageImage_get_name) + +static bool js_gfx_UniformStorageImage_set_name(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_set_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->name, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageImage_set_name : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageImage_set_name) + +static bool js_gfx_UniformStorageImage_get_type(se::State& s) +{ + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_get_type : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->type, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->type, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageImage_get_type) + +static bool js_gfx_UniformStorageImage_set_type(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_set_type : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->type, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageImage_set_type : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageImage_set_type) + +static bool js_gfx_UniformStorageImage_get_count(se::State& s) +{ + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_get_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->count, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->count, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageImage_get_count) + +static bool js_gfx_UniformStorageImage_set_count(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_set_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->count, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageImage_set_count : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageImage_set_count) + +static bool js_gfx_UniformStorageImage_get_memoryAccess(se::State& s) +{ + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_get_memoryAccess : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->memoryAccess, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->memoryAccess, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageImage_get_memoryAccess) + +static bool js_gfx_UniformStorageImage_set_memoryAccess(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageImage_set_memoryAccess : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->memoryAccess, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageImage_set_memoryAccess : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageImage_set_memoryAccess) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::UniformStorageImage * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::UniformStorageImage*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("set", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->set), ctx); + } + json->getProperty("binding", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->binding), ctx); + } + json->getProperty("name", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->name), ctx); + } + json->getProperty("type", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->type), ctx); + } + json->getProperty("count", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->count), ctx); + } + json->getProperty("memoryAccess", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->memoryAccess), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_UniformStorageImage_finalize) + +static bool js_gfx_UniformStorageImage_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::UniformStorageImage* cobj = JSB_ALLOC(cc::gfx::UniformStorageImage); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::UniformStorageImage* cobj = JSB_ALLOC(cc::gfx::UniformStorageImage); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::UniformStorageImage* cobj = JSB_ALLOC(cc::gfx::UniformStorageImage); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->set), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->binding), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->name), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->type), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->count), nullptr); + } + if (argc > 5 && !args[5].isUndefined()) { + ok &= sevalue_to_native(args[5], &(cobj->memoryAccess), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_UniformStorageImage_constructor, __jsb_cc_gfx_UniformStorageImage_class, js_cc_gfx_UniformStorageImage_finalize) + + + + +static bool js_cc_gfx_UniformStorageImage_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::UniformStorageImage* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_UniformStorageImage_finalize) + +bool js_register_gfx_UniformStorageImage(se::Object* obj) +{ + auto cls = se::Class::create("UniformStorageImage", obj, nullptr, _SE(js_gfx_UniformStorageImage_constructor)); + + cls->defineProperty("set", _SE(js_gfx_UniformStorageImage_get_set), _SE(js_gfx_UniformStorageImage_set_set)); + cls->defineProperty("binding", _SE(js_gfx_UniformStorageImage_get_binding), _SE(js_gfx_UniformStorageImage_set_binding)); + cls->defineProperty("name", _SE(js_gfx_UniformStorageImage_get_name), _SE(js_gfx_UniformStorageImage_set_name)); + cls->defineProperty("type", _SE(js_gfx_UniformStorageImage_get_type), _SE(js_gfx_UniformStorageImage_set_type)); + cls->defineProperty("count", _SE(js_gfx_UniformStorageImage_get_count), _SE(js_gfx_UniformStorageImage_set_count)); + cls->defineProperty("memoryAccess", _SE(js_gfx_UniformStorageImage_get_memoryAccess), _SE(js_gfx_UniformStorageImage_set_memoryAccess)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_UniformStorageImage_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_UniformStorageImage_proto = cls->getProto(); + __jsb_cc_gfx_UniformStorageImage_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_UniformStorageBuffer_proto = nullptr; +se::Class* __jsb_cc_gfx_UniformStorageBuffer_class = nullptr; + +static bool js_gfx_UniformStorageBuffer_get_set(se::State& s) +{ + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_get_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->set, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->set, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageBuffer_get_set) + +static bool js_gfx_UniformStorageBuffer_set_set(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_set_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->set, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageBuffer_set_set : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageBuffer_set_set) + +static bool js_gfx_UniformStorageBuffer_get_binding(se::State& s) +{ + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_get_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->binding, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->binding, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageBuffer_get_binding) + +static bool js_gfx_UniformStorageBuffer_set_binding(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_set_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->binding, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageBuffer_set_binding : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageBuffer_set_binding) + +static bool js_gfx_UniformStorageBuffer_get_name(se::State& s) +{ + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_get_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->name, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->name, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageBuffer_get_name) + +static bool js_gfx_UniformStorageBuffer_set_name(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_set_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->name, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageBuffer_set_name : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageBuffer_set_name) + +static bool js_gfx_UniformStorageBuffer_get_count(se::State& s) +{ + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_get_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->count, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->count, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageBuffer_get_count) + +static bool js_gfx_UniformStorageBuffer_set_count(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_set_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->count, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageBuffer_set_count : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageBuffer_set_count) + +static bool js_gfx_UniformStorageBuffer_get_memoryAccess(se::State& s) +{ + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_get_memoryAccess : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->memoryAccess, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->memoryAccess, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformStorageBuffer_get_memoryAccess) + +static bool js_gfx_UniformStorageBuffer_set_memoryAccess(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformStorageBuffer_set_memoryAccess : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->memoryAccess, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformStorageBuffer_set_memoryAccess : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformStorageBuffer_set_memoryAccess) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::UniformStorageBuffer * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::UniformStorageBuffer*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("set", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->set), ctx); + } + json->getProperty("binding", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->binding), ctx); + } + json->getProperty("name", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->name), ctx); + } + json->getProperty("count", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->count), ctx); + } + json->getProperty("memoryAccess", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->memoryAccess), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_UniformStorageBuffer_finalize) + +static bool js_gfx_UniformStorageBuffer_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::UniformStorageBuffer* cobj = JSB_ALLOC(cc::gfx::UniformStorageBuffer); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::UniformStorageBuffer* cobj = JSB_ALLOC(cc::gfx::UniformStorageBuffer); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::UniformStorageBuffer* cobj = JSB_ALLOC(cc::gfx::UniformStorageBuffer); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->set), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->binding), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->name), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->count), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->memoryAccess), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_UniformStorageBuffer_constructor, __jsb_cc_gfx_UniformStorageBuffer_class, js_cc_gfx_UniformStorageBuffer_finalize) + + + + +static bool js_cc_gfx_UniformStorageBuffer_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::UniformStorageBuffer* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_UniformStorageBuffer_finalize) + +bool js_register_gfx_UniformStorageBuffer(se::Object* obj) +{ + auto cls = se::Class::create("UniformStorageBuffer", obj, nullptr, _SE(js_gfx_UniformStorageBuffer_constructor)); + + cls->defineProperty("set", _SE(js_gfx_UniformStorageBuffer_get_set), _SE(js_gfx_UniformStorageBuffer_set_set)); + cls->defineProperty("binding", _SE(js_gfx_UniformStorageBuffer_get_binding), _SE(js_gfx_UniformStorageBuffer_set_binding)); + cls->defineProperty("name", _SE(js_gfx_UniformStorageBuffer_get_name), _SE(js_gfx_UniformStorageBuffer_set_name)); + cls->defineProperty("count", _SE(js_gfx_UniformStorageBuffer_get_count), _SE(js_gfx_UniformStorageBuffer_set_count)); + cls->defineProperty("memoryAccess", _SE(js_gfx_UniformStorageBuffer_get_memoryAccess), _SE(js_gfx_UniformStorageBuffer_set_memoryAccess)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_UniformStorageBuffer_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_UniformStorageBuffer_proto = cls->getProto(); + __jsb_cc_gfx_UniformStorageBuffer_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_UniformInputAttachment_proto = nullptr; +se::Class* __jsb_cc_gfx_UniformInputAttachment_class = nullptr; + +static bool js_gfx_UniformInputAttachment_get_set(se::State& s) +{ + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformInputAttachment_get_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->set, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->set, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformInputAttachment_get_set) + +static bool js_gfx_UniformInputAttachment_set_set(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformInputAttachment_set_set : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->set, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformInputAttachment_set_set : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformInputAttachment_set_set) + +static bool js_gfx_UniformInputAttachment_get_binding(se::State& s) +{ + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformInputAttachment_get_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->binding, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->binding, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformInputAttachment_get_binding) + +static bool js_gfx_UniformInputAttachment_set_binding(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformInputAttachment_set_binding : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->binding, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformInputAttachment_set_binding : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformInputAttachment_set_binding) + +static bool js_gfx_UniformInputAttachment_get_name(se::State& s) +{ + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformInputAttachment_get_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->name, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->name, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformInputAttachment_get_name) + +static bool js_gfx_UniformInputAttachment_set_name(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformInputAttachment_set_name : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->name, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformInputAttachment_set_name : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformInputAttachment_set_name) + +static bool js_gfx_UniformInputAttachment_get_count(se::State& s) +{ + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformInputAttachment_get_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->count, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->count, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_UniformInputAttachment_get_count) + +static bool js_gfx_UniformInputAttachment_set_count(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_UniformInputAttachment_set_count : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->count, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_UniformInputAttachment_set_count : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_UniformInputAttachment_set_count) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::UniformInputAttachment * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::UniformInputAttachment*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("set", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->set), ctx); + } + json->getProperty("binding", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->binding), ctx); + } + json->getProperty("name", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->name), ctx); + } + json->getProperty("count", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->count), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_UniformInputAttachment_finalize) + +static bool js_gfx_UniformInputAttachment_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::UniformInputAttachment* cobj = JSB_ALLOC(cc::gfx::UniformInputAttachment); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::UniformInputAttachment* cobj = JSB_ALLOC(cc::gfx::UniformInputAttachment); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::UniformInputAttachment* cobj = JSB_ALLOC(cc::gfx::UniformInputAttachment); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->set), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->binding), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->name), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->count), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_UniformInputAttachment_constructor, __jsb_cc_gfx_UniformInputAttachment_class, js_cc_gfx_UniformInputAttachment_finalize) + + + + +static bool js_cc_gfx_UniformInputAttachment_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::UniformInputAttachment* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_UniformInputAttachment_finalize) + +bool js_register_gfx_UniformInputAttachment(se::Object* obj) +{ + auto cls = se::Class::create("UniformInputAttachment", obj, nullptr, _SE(js_gfx_UniformInputAttachment_constructor)); + + cls->defineProperty("set", _SE(js_gfx_UniformInputAttachment_get_set), _SE(js_gfx_UniformInputAttachment_set_set)); + cls->defineProperty("binding", _SE(js_gfx_UniformInputAttachment_get_binding), _SE(js_gfx_UniformInputAttachment_set_binding)); + cls->defineProperty("name", _SE(js_gfx_UniformInputAttachment_get_name), _SE(js_gfx_UniformInputAttachment_set_name)); + cls->defineProperty("count", _SE(js_gfx_UniformInputAttachment_get_count), _SE(js_gfx_UniformInputAttachment_set_count)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_UniformInputAttachment_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_UniformInputAttachment_proto = cls->getProto(); + __jsb_cc_gfx_UniformInputAttachment_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + se::Object* __jsb_cc_gfx_ShaderStage_proto = nullptr; se::Class* __jsb_cc_gfx_ShaderStage_class = nullptr; @@ -5754,6 +9068,33 @@ static bool js_gfx_ShaderInfo_set_buffers(se::State& s) } SE_BIND_PROP_SET(js_gfx_ShaderInfo_set_buffers) +static bool js_gfx_ShaderInfo_get_samplerTextures(se::State& s) +{ + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_get_samplerTextures : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->samplerTextures, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->samplerTextures, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_ShaderInfo_get_samplerTextures) + +static bool js_gfx_ShaderInfo_set_samplerTextures(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_set_samplerTextures : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->samplerTextures, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_ShaderInfo_set_samplerTextures : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_ShaderInfo_set_samplerTextures) + static bool js_gfx_ShaderInfo_get_samplers(se::State& s) { cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); @@ -5781,6 +9122,87 @@ static bool js_gfx_ShaderInfo_set_samplers(se::State& s) } SE_BIND_PROP_SET(js_gfx_ShaderInfo_set_samplers) +static bool js_gfx_ShaderInfo_get_textures(se::State& s) +{ + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_get_textures : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->textures, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->textures, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_ShaderInfo_get_textures) + +static bool js_gfx_ShaderInfo_set_textures(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_set_textures : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->textures, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_ShaderInfo_set_textures : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_ShaderInfo_set_textures) + +static bool js_gfx_ShaderInfo_get_images(se::State& s) +{ + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_get_images : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->images, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->images, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_ShaderInfo_get_images) + +static bool js_gfx_ShaderInfo_set_images(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_set_images : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->images, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_ShaderInfo_set_images : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_ShaderInfo_set_images) + +static bool js_gfx_ShaderInfo_get_subpassInputs(se::State& s) +{ + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_get_subpassInputs : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->subpassInputs, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->subpassInputs, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_ShaderInfo_get_subpassInputs) + +static bool js_gfx_ShaderInfo_set_subpassInputs(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::ShaderInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_ShaderInfo_set_subpassInputs : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->subpassInputs, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_ShaderInfo_set_subpassInputs : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_ShaderInfo_set_subpassInputs) + template<> bool sevalue_to_native(const se::Value &from, cc::gfx::ShaderInfo * to, se::Object *ctx) @@ -5814,10 +9236,26 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::ShaderInfo * to, se::Obje if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->buffers), ctx); } + json->getProperty("samplerTextures", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->samplerTextures), ctx); + } json->getProperty("samplers", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->samplers), ctx); } + json->getProperty("textures", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->textures), ctx); + } + json->getProperty("images", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->images), ctx); + } + json->getProperty("subpassInputs", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->subpassInputs), ctx); + } return ok; } @@ -5872,7 +9310,19 @@ static bool js_gfx_ShaderInfo_constructor(se::State& s) ok &= sevalue_to_native(args[4], &(cobj->buffers), nullptr); } if (argc > 5 && !args[5].isUndefined()) { - ok &= sevalue_to_native(args[5], &(cobj->samplers), nullptr); + ok &= sevalue_to_native(args[5], &(cobj->samplerTextures), nullptr); + } + if (argc > 6 && !args[6].isUndefined()) { + ok &= sevalue_to_native(args[6], &(cobj->samplers), nullptr); + } + if (argc > 7 && !args[7].isUndefined()) { + ok &= sevalue_to_native(args[7], &(cobj->textures), nullptr); + } + if (argc > 8 && !args[8].isUndefined()) { + ok &= sevalue_to_native(args[8], &(cobj->images), nullptr); + } + if (argc > 9 && !args[9].isUndefined()) { + ok &= sevalue_to_native(args[9], &(cobj->subpassInputs), nullptr); } if(!ok) { @@ -5916,7 +9366,11 @@ bool js_register_gfx_ShaderInfo(se::Object* obj) cls->defineProperty("attributes", _SE(js_gfx_ShaderInfo_get_attributes), _SE(js_gfx_ShaderInfo_set_attributes)); cls->defineProperty("blocks", _SE(js_gfx_ShaderInfo_get_blocks), _SE(js_gfx_ShaderInfo_set_blocks)); cls->defineProperty("buffers", _SE(js_gfx_ShaderInfo_get_buffers), _SE(js_gfx_ShaderInfo_set_buffers)); + cls->defineProperty("samplerTextures", _SE(js_gfx_ShaderInfo_get_samplerTextures), _SE(js_gfx_ShaderInfo_set_samplerTextures)); cls->defineProperty("samplers", _SE(js_gfx_ShaderInfo_get_samplers), _SE(js_gfx_ShaderInfo_set_samplers)); + cls->defineProperty("textures", _SE(js_gfx_ShaderInfo_get_textures), _SE(js_gfx_ShaderInfo_set_textures)); + cls->defineProperty("images", _SE(js_gfx_ShaderInfo_get_images), _SE(js_gfx_ShaderInfo_set_images)); + cls->defineProperty("subpassInputs", _SE(js_gfx_ShaderInfo_get_subpassInputs), _SE(js_gfx_ShaderInfo_set_subpassInputs)); cls->defineFinalizeFunction(_SE(js_cc_gfx_ShaderInfo_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -6281,59 +9735,59 @@ static bool js_gfx_ColorAttachment_set_storeOp(se::State& s) } SE_BIND_PROP_SET(js_gfx_ColorAttachment_set_storeOp) -static bool js_gfx_ColorAttachment_get_beginLayout(se::State& s) +static bool js_gfx_ColorAttachment_get_beginAccesses(se::State& s) { cc::gfx::ColorAttachment* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ColorAttachment_get_beginLayout : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_ColorAttachment_get_beginAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; - ok &= nativevalue_to_se(cobj->beginLayout, jsret, s.thisObject() /*ctx*/); + ok &= nativevalue_to_se(cobj->beginAccesses, jsret, s.thisObject() /*ctx*/); s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->beginLayout, s.thisObject(), s.rval()); + SE_HOLD_RETURN_VALUE(cobj->beginAccesses, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_ColorAttachment_get_beginLayout) +SE_BIND_PROP_GET(js_gfx_ColorAttachment_get_beginAccesses) -static bool js_gfx_ColorAttachment_set_beginLayout(se::State& s) +static bool js_gfx_ColorAttachment_set_beginAccesses(se::State& s) { const auto& args = s.args(); cc::gfx::ColorAttachment* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ColorAttachment_set_beginLayout : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_ColorAttachment_set_beginAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->beginLayout, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_ColorAttachment_set_beginLayout : Error processing new value"); + ok &= sevalue_to_native(args[0], &cobj->beginAccesses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_ColorAttachment_set_beginAccesses : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_ColorAttachment_set_beginLayout) +SE_BIND_PROP_SET(js_gfx_ColorAttachment_set_beginAccesses) -static bool js_gfx_ColorAttachment_get_endLayout(se::State& s) +static bool js_gfx_ColorAttachment_get_endAccesses(se::State& s) { cc::gfx::ColorAttachment* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ColorAttachment_get_endLayout : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_ColorAttachment_get_endAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; - ok &= nativevalue_to_se(cobj->endLayout, jsret, s.thisObject() /*ctx*/); + ok &= nativevalue_to_se(cobj->endAccesses, jsret, s.thisObject() /*ctx*/); s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->endLayout, s.thisObject(), s.rval()); + SE_HOLD_RETURN_VALUE(cobj->endAccesses, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_ColorAttachment_get_endLayout) +SE_BIND_PROP_GET(js_gfx_ColorAttachment_get_endAccesses) -static bool js_gfx_ColorAttachment_set_endLayout(se::State& s) +static bool js_gfx_ColorAttachment_set_endAccesses(se::State& s) { const auto& args = s.args(); cc::gfx::ColorAttachment* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_ColorAttachment_set_endLayout : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_ColorAttachment_set_endAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->endLayout, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_ColorAttachment_set_endLayout : Error processing new value"); + ok &= sevalue_to_native(args[0], &cobj->endAccesses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_ColorAttachment_set_endAccesses : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_ColorAttachment_set_endLayout) +SE_BIND_PROP_SET(js_gfx_ColorAttachment_set_endAccesses) template<> @@ -6364,13 +9818,13 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::ColorAttachment * to, se: if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->storeOp), ctx); } - json->getProperty("beginLayout", &field); + json->getProperty("beginAccesses", &field); if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->beginLayout), ctx); + ok &= sevalue_to_native(field, &(to->beginAccesses), ctx); } - json->getProperty("endLayout", &field); + json->getProperty("endAccesses", &field); if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->endLayout), ctx); + ok &= sevalue_to_native(field, &(to->endAccesses), ctx); } return ok; } @@ -6423,10 +9877,10 @@ static bool js_gfx_ColorAttachment_constructor(se::State& s) ok &= sevalue_to_native(args[3], &(cobj->storeOp), nullptr); } if (argc > 4 && !args[4].isUndefined()) { - ok &= sevalue_to_native(args[4], &(cobj->beginLayout), nullptr); + ok &= sevalue_to_native(args[4], &(cobj->beginAccesses), nullptr); } if (argc > 5 && !args[5].isUndefined()) { - ok &= sevalue_to_native(args[5], &(cobj->endLayout), nullptr); + ok &= sevalue_to_native(args[5], &(cobj->endAccesses), nullptr); } if(!ok) { @@ -6469,8 +9923,8 @@ bool js_register_gfx_ColorAttachment(se::Object* obj) cls->defineProperty("sampleCount", _SE(js_gfx_ColorAttachment_get_sampleCount), _SE(js_gfx_ColorAttachment_set_sampleCount)); cls->defineProperty("loadOp", _SE(js_gfx_ColorAttachment_get_loadOp), _SE(js_gfx_ColorAttachment_set_loadOp)); cls->defineProperty("storeOp", _SE(js_gfx_ColorAttachment_get_storeOp), _SE(js_gfx_ColorAttachment_set_storeOp)); - cls->defineProperty("beginLayout", _SE(js_gfx_ColorAttachment_get_beginLayout), _SE(js_gfx_ColorAttachment_set_beginLayout)); - cls->defineProperty("endLayout", _SE(js_gfx_ColorAttachment_get_endLayout), _SE(js_gfx_ColorAttachment_set_endLayout)); + cls->defineProperty("beginAccesses", _SE(js_gfx_ColorAttachment_get_beginAccesses), _SE(js_gfx_ColorAttachment_set_beginAccesses)); + cls->defineProperty("endAccesses", _SE(js_gfx_ColorAttachment_get_endAccesses), _SE(js_gfx_ColorAttachment_set_endAccesses)); cls->defineFinalizeFunction(_SE(js_cc_gfx_ColorAttachment_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -6647,59 +10101,59 @@ static bool js_gfx_DepthStencilAttachment_set_stencilStoreOp(se::State& s) } SE_BIND_PROP_SET(js_gfx_DepthStencilAttachment_set_stencilStoreOp) -static bool js_gfx_DepthStencilAttachment_get_beginLayout(se::State& s) +static bool js_gfx_DepthStencilAttachment_get_beginAccesses(se::State& s) { cc::gfx::DepthStencilAttachment* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DepthStencilAttachment_get_beginLayout : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_DepthStencilAttachment_get_beginAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; - ok &= nativevalue_to_se(cobj->beginLayout, jsret, s.thisObject() /*ctx*/); + ok &= nativevalue_to_se(cobj->beginAccesses, jsret, s.thisObject() /*ctx*/); s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->beginLayout, s.thisObject(), s.rval()); + SE_HOLD_RETURN_VALUE(cobj->beginAccesses, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_DepthStencilAttachment_get_beginLayout) +SE_BIND_PROP_GET(js_gfx_DepthStencilAttachment_get_beginAccesses) -static bool js_gfx_DepthStencilAttachment_set_beginLayout(se::State& s) +static bool js_gfx_DepthStencilAttachment_set_beginAccesses(se::State& s) { const auto& args = s.args(); cc::gfx::DepthStencilAttachment* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DepthStencilAttachment_set_beginLayout : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_DepthStencilAttachment_set_beginAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->beginLayout, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DepthStencilAttachment_set_beginLayout : Error processing new value"); + ok &= sevalue_to_native(args[0], &cobj->beginAccesses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DepthStencilAttachment_set_beginAccesses : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_DepthStencilAttachment_set_beginLayout) +SE_BIND_PROP_SET(js_gfx_DepthStencilAttachment_set_beginAccesses) -static bool js_gfx_DepthStencilAttachment_get_endLayout(se::State& s) +static bool js_gfx_DepthStencilAttachment_get_endAccesses(se::State& s) { cc::gfx::DepthStencilAttachment* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DepthStencilAttachment_get_endLayout : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_DepthStencilAttachment_get_endAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; - ok &= nativevalue_to_se(cobj->endLayout, jsret, s.thisObject() /*ctx*/); + ok &= nativevalue_to_se(cobj->endAccesses, jsret, s.thisObject() /*ctx*/); s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->endLayout, s.thisObject(), s.rval()); + SE_HOLD_RETURN_VALUE(cobj->endAccesses, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_DepthStencilAttachment_get_endLayout) +SE_BIND_PROP_GET(js_gfx_DepthStencilAttachment_get_endAccesses) -static bool js_gfx_DepthStencilAttachment_set_endLayout(se::State& s) +static bool js_gfx_DepthStencilAttachment_set_endAccesses(se::State& s) { const auto& args = s.args(); cc::gfx::DepthStencilAttachment* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DepthStencilAttachment_set_endLayout : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_DepthStencilAttachment_set_endAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->endLayout, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DepthStencilAttachment_set_endLayout : Error processing new value"); + ok &= sevalue_to_native(args[0], &cobj->endAccesses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DepthStencilAttachment_set_endAccesses : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_DepthStencilAttachment_set_endLayout) +SE_BIND_PROP_SET(js_gfx_DepthStencilAttachment_set_endAccesses) template<> @@ -6738,13 +10192,13 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::DepthStencilAttachment * if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->stencilStoreOp), ctx); } - json->getProperty("beginLayout", &field); + json->getProperty("beginAccesses", &field); if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->beginLayout), ctx); + ok &= sevalue_to_native(field, &(to->beginAccesses), ctx); } - json->getProperty("endLayout", &field); + json->getProperty("endAccesses", &field); if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->endLayout), ctx); + ok &= sevalue_to_native(field, &(to->endAccesses), ctx); } return ok; } @@ -6803,10 +10257,10 @@ static bool js_gfx_DepthStencilAttachment_constructor(se::State& s) ok &= sevalue_to_native(args[5], &(cobj->stencilStoreOp), nullptr); } if (argc > 6 && !args[6].isUndefined()) { - ok &= sevalue_to_native(args[6], &(cobj->beginLayout), nullptr); + ok &= sevalue_to_native(args[6], &(cobj->beginAccesses), nullptr); } if (argc > 7 && !args[7].isUndefined()) { - ok &= sevalue_to_native(args[7], &(cobj->endLayout), nullptr); + ok &= sevalue_to_native(args[7], &(cobj->endAccesses), nullptr); } if(!ok) { @@ -6851,8 +10305,8 @@ bool js_register_gfx_DepthStencilAttachment(se::Object* obj) cls->defineProperty("depthStoreOp", _SE(js_gfx_DepthStencilAttachment_get_depthStoreOp), _SE(js_gfx_DepthStencilAttachment_set_depthStoreOp)); cls->defineProperty("stencilLoadOp", _SE(js_gfx_DepthStencilAttachment_get_stencilLoadOp), _SE(js_gfx_DepthStencilAttachment_set_stencilLoadOp)); cls->defineProperty("stencilStoreOp", _SE(js_gfx_DepthStencilAttachment_get_stencilStoreOp), _SE(js_gfx_DepthStencilAttachment_set_stencilStoreOp)); - cls->defineProperty("beginLayout", _SE(js_gfx_DepthStencilAttachment_get_beginLayout), _SE(js_gfx_DepthStencilAttachment_set_beginLayout)); - cls->defineProperty("endLayout", _SE(js_gfx_DepthStencilAttachment_get_endLayout), _SE(js_gfx_DepthStencilAttachment_set_endLayout)); + cls->defineProperty("beginAccesses", _SE(js_gfx_DepthStencilAttachment_get_beginAccesses), _SE(js_gfx_DepthStencilAttachment_set_beginAccesses)); + cls->defineProperty("endAccesses", _SE(js_gfx_DepthStencilAttachment_get_endAccesses), _SE(js_gfx_DepthStencilAttachment_set_endAccesses)); cls->defineFinalizeFunction(_SE(js_cc_gfx_DepthStencilAttachment_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -6864,40 +10318,13 @@ bool js_register_gfx_DepthStencilAttachment(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_SubPassInfo_proto = nullptr; -se::Class* __jsb_cc_gfx_SubPassInfo_class = nullptr; +se::Object* __jsb_cc_gfx_SubpassInfo_proto = nullptr; +se::Class* __jsb_cc_gfx_SubpassInfo_class = nullptr; -static bool js_gfx_SubPassInfo_get_bindPoint(se::State& s) +static bool js_gfx_SubpassInfo_get_inputs(se::State& s) { - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_get_bindPoint : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->bindPoint, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->bindPoint, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_SubPassInfo_get_bindPoint) - -static bool js_gfx_SubPassInfo_set_bindPoint(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_set_bindPoint : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->bindPoint, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_SubPassInfo_set_bindPoint : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_SubPassInfo_set_bindPoint) - -static bool js_gfx_SubPassInfo_get_inputs(se::State& s) -{ - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_get_inputs : Invalid Native Object"); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_get_inputs : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -6906,25 +10333,25 @@ static bool js_gfx_SubPassInfo_get_inputs(se::State& s) SE_HOLD_RETURN_VALUE(cobj->inputs, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_SubPassInfo_get_inputs) +SE_BIND_PROP_GET(js_gfx_SubpassInfo_get_inputs) -static bool js_gfx_SubPassInfo_set_inputs(se::State& s) +static bool js_gfx_SubpassInfo_set_inputs(se::State& s) { const auto& args = s.args(); - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_set_inputs : Invalid Native Object"); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_set_inputs : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->inputs, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_SubPassInfo_set_inputs : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_SubpassInfo_set_inputs : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_SubPassInfo_set_inputs) +SE_BIND_PROP_SET(js_gfx_SubpassInfo_set_inputs) -static bool js_gfx_SubPassInfo_get_colors(se::State& s) +static bool js_gfx_SubpassInfo_get_colors(se::State& s) { - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_get_colors : Invalid Native Object"); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_get_colors : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -6933,25 +10360,25 @@ static bool js_gfx_SubPassInfo_get_colors(se::State& s) SE_HOLD_RETURN_VALUE(cobj->colors, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_SubPassInfo_get_colors) +SE_BIND_PROP_GET(js_gfx_SubpassInfo_get_colors) -static bool js_gfx_SubPassInfo_set_colors(se::State& s) +static bool js_gfx_SubpassInfo_set_colors(se::State& s) { const auto& args = s.args(); - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_set_colors : Invalid Native Object"); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_set_colors : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->colors, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_SubPassInfo_set_colors : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_SubpassInfo_set_colors : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_SubPassInfo_set_colors) +SE_BIND_PROP_SET(js_gfx_SubpassInfo_set_colors) -static bool js_gfx_SubPassInfo_get_resolves(se::State& s) +static bool js_gfx_SubpassInfo_get_resolves(se::State& s) { - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_get_resolves : Invalid Native Object"); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_get_resolves : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -6960,52 +10387,25 @@ static bool js_gfx_SubPassInfo_get_resolves(se::State& s) SE_HOLD_RETURN_VALUE(cobj->resolves, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_SubPassInfo_get_resolves) +SE_BIND_PROP_GET(js_gfx_SubpassInfo_get_resolves) -static bool js_gfx_SubPassInfo_set_resolves(se::State& s) +static bool js_gfx_SubpassInfo_set_resolves(se::State& s) { const auto& args = s.args(); - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_set_resolves : Invalid Native Object"); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_set_resolves : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->resolves, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_SubPassInfo_set_resolves : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_SubpassInfo_set_resolves : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_SubPassInfo_set_resolves) +SE_BIND_PROP_SET(js_gfx_SubpassInfo_set_resolves) -static bool js_gfx_SubPassInfo_get_depthStencil(se::State& s) +static bool js_gfx_SubpassInfo_get_preserves(se::State& s) { - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_get_depthStencil : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->depthStencil, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->depthStencil, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_SubPassInfo_get_depthStencil) - -static bool js_gfx_SubPassInfo_set_depthStencil(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_set_depthStencil : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->depthStencil, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_SubPassInfo_set_depthStencil : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_SubPassInfo_set_depthStencil) - -static bool js_gfx_SubPassInfo_get_preserves(se::State& s) -{ - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_get_preserves : Invalid Native Object"); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_get_preserves : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -7014,38 +10414,61 @@ static bool js_gfx_SubPassInfo_get_preserves(se::State& s) SE_HOLD_RETURN_VALUE(cobj->preserves, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_SubPassInfo_get_preserves) +SE_BIND_PROP_GET(js_gfx_SubpassInfo_get_preserves) -static bool js_gfx_SubPassInfo_set_preserves(se::State& s) +static bool js_gfx_SubpassInfo_set_preserves(se::State& s) { const auto& args = s.args(); - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_SubPassInfo_set_preserves : Invalid Native Object"); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_set_preserves : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->preserves, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_SubPassInfo_set_preserves : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_SubpassInfo_set_preserves : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_SubPassInfo_set_preserves) +SE_BIND_PROP_SET(js_gfx_SubpassInfo_set_preserves) + +static bool js_gfx_SubpassInfo_get_depthStencil(se::State& s) +{ + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_get_depthStencil : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->depthStencil, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->depthStencil, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_SubpassInfo_get_depthStencil) + +static bool js_gfx_SubpassInfo_set_depthStencil(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_SubpassInfo_set_depthStencil : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->depthStencil, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_SubpassInfo_set_depthStencil : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_SubpassInfo_set_depthStencil) template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::SubPassInfo * to, se::Object *ctx) +bool sevalue_to_native(const se::Value &from, cc::gfx::SubpassInfo * to, se::Object *ctx) { assert(from.isObject()); se::Object *json = from.toObject(); - auto* data = (cc::gfx::SubPassInfo*)json->getPrivateData(); + auto* data = (cc::gfx::SubpassInfo*)json->getPrivateData(); if (data) { *to = *data; return true; } se::Value field; bool ok = true; - json->getProperty("bindPoint", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->bindPoint), ctx); - } json->getProperty("inputs", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->inputs), ctx); @@ -7058,20 +10481,20 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::SubPassInfo * to, se::Obj if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->resolves), ctx); } - json->getProperty("depthStencil", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->depthStencil), ctx); - } json->getProperty("preserves", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->preserves), ctx); } + json->getProperty("depthStencil", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->depthStencil), ctx); + } return ok; } -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_SubPassInfo_finalize) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_SubpassInfo_finalize) -static bool js_gfx_SubPassInfo_constructor(se::State& s) +static bool js_gfx_SubpassInfo_constructor(se::State& s) { CC_UNUSED bool ok = true; const auto& args = s.args(); @@ -7079,7 +10502,7 @@ static bool js_gfx_SubPassInfo_constructor(se::State& s) if(argc == 0) { - cc::gfx::SubPassInfo* cobj = JSB_ALLOC(cc::gfx::SubPassInfo); + cc::gfx::SubpassInfo* cobj = JSB_ALLOC(cc::gfx::SubpassInfo); s.thisObject()->setPrivateData(cobj); se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); return true; @@ -7089,7 +10512,7 @@ static bool js_gfx_SubPassInfo_constructor(se::State& s) se::Object *json = args[0].toObject(); se::Value field; - cc::gfx::SubPassInfo* cobj = JSB_ALLOC(cc::gfx::SubPassInfo); + cc::gfx::SubpassInfo* cobj = JSB_ALLOC(cc::gfx::SubpassInfo); ok &= sevalue_to_native(args[0], cobj, s.thisObject()); if(!ok) { JSB_FREE(cobj); @@ -7103,25 +10526,22 @@ static bool js_gfx_SubPassInfo_constructor(se::State& s) } else { - cc::gfx::SubPassInfo* cobj = JSB_ALLOC(cc::gfx::SubPassInfo); + cc::gfx::SubpassInfo* cobj = JSB_ALLOC(cc::gfx::SubpassInfo); if (argc > 0 && !args[0].isUndefined()) { - ok &= sevalue_to_native(args[0], &(cobj->bindPoint), nullptr); + ok &= sevalue_to_native(args[0], &(cobj->inputs), nullptr); } if (argc > 1 && !args[1].isUndefined()) { - ok &= sevalue_to_native(args[1], &(cobj->inputs), nullptr); + ok &= sevalue_to_native(args[1], &(cobj->colors), nullptr); } if (argc > 2 && !args[2].isUndefined()) { - ok &= sevalue_to_native(args[2], &(cobj->colors), nullptr); + ok &= sevalue_to_native(args[2], &(cobj->resolves), nullptr); } if (argc > 3 && !args[3].isUndefined()) { - ok &= sevalue_to_native(args[3], &(cobj->resolves), nullptr); + ok &= sevalue_to_native(args[3], &(cobj->preserves), nullptr); } if (argc > 4 && !args[4].isUndefined()) { ok &= sevalue_to_native(args[4], &(cobj->depthStencil), nullptr); } - if (argc > 5 && !args[5].isUndefined()) { - ok &= sevalue_to_native(args[5], &(cobj->preserves), nullptr); - } if(!ok) { JSB_FREE(cobj); @@ -7137,40 +10557,39 @@ static bool js_gfx_SubPassInfo_constructor(se::State& s) SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); return false; } -SE_BIND_CTOR(js_gfx_SubPassInfo_constructor, __jsb_cc_gfx_SubPassInfo_class, js_cc_gfx_SubPassInfo_finalize) +SE_BIND_CTOR(js_gfx_SubpassInfo_constructor, __jsb_cc_gfx_SubpassInfo_class, js_cc_gfx_SubpassInfo_finalize) -static bool js_cc_gfx_SubPassInfo_finalize(se::State& s) +static bool js_cc_gfx_SubpassInfo_finalize(se::State& s) { - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::SubPassInfo* cobj = SE_THIS_OBJECT(s); + cc::gfx::SubpassInfo* cobj = SE_THIS_OBJECT(s); JSB_FREE(cobj); } return true; } -SE_BIND_FINALIZE_FUNC(js_cc_gfx_SubPassInfo_finalize) +SE_BIND_FINALIZE_FUNC(js_cc_gfx_SubpassInfo_finalize) -bool js_register_gfx_SubPassInfo(se::Object* obj) +bool js_register_gfx_SubpassInfo(se::Object* obj) { - auto cls = se::Class::create("SubPassInfo", obj, nullptr, _SE(js_gfx_SubPassInfo_constructor)); + auto cls = se::Class::create("SubpassInfo", obj, nullptr, _SE(js_gfx_SubpassInfo_constructor)); - cls->defineProperty("bindPoint", _SE(js_gfx_SubPassInfo_get_bindPoint), _SE(js_gfx_SubPassInfo_set_bindPoint)); - cls->defineProperty("inputs", _SE(js_gfx_SubPassInfo_get_inputs), _SE(js_gfx_SubPassInfo_set_inputs)); - cls->defineProperty("colors", _SE(js_gfx_SubPassInfo_get_colors), _SE(js_gfx_SubPassInfo_set_colors)); - cls->defineProperty("resolves", _SE(js_gfx_SubPassInfo_get_resolves), _SE(js_gfx_SubPassInfo_set_resolves)); - cls->defineProperty("depthStencil", _SE(js_gfx_SubPassInfo_get_depthStencil), _SE(js_gfx_SubPassInfo_set_depthStencil)); - cls->defineProperty("preserves", _SE(js_gfx_SubPassInfo_get_preserves), _SE(js_gfx_SubPassInfo_set_preserves)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_SubPassInfo_finalize)); + cls->defineProperty("inputs", _SE(js_gfx_SubpassInfo_get_inputs), _SE(js_gfx_SubpassInfo_set_inputs)); + cls->defineProperty("colors", _SE(js_gfx_SubpassInfo_get_colors), _SE(js_gfx_SubpassInfo_set_colors)); + cls->defineProperty("resolves", _SE(js_gfx_SubpassInfo_get_resolves), _SE(js_gfx_SubpassInfo_set_resolves)); + cls->defineProperty("preserves", _SE(js_gfx_SubpassInfo_get_preserves), _SE(js_gfx_SubpassInfo_set_preserves)); + cls->defineProperty("depthStencil", _SE(js_gfx_SubpassInfo_get_depthStencil), _SE(js_gfx_SubpassInfo_set_depthStencil)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_SubpassInfo_finalize)); cls->install(); - JSBClassType::registerClass(cls); + JSBClassType::registerClass(cls); - __jsb_cc_gfx_SubPassInfo_proto = cls->getProto(); - __jsb_cc_gfx_SubPassInfo_class = cls; + __jsb_cc_gfx_SubpassInfo_proto = cls->getProto(); + __jsb_cc_gfx_SubpassInfo_class = cls; se::ScriptEngine::getInstance()->clearException(); return true; @@ -7233,32 +10652,32 @@ static bool js_gfx_RenderPassInfo_set_depthStencilAttachment(se::State& s) } SE_BIND_PROP_SET(js_gfx_RenderPassInfo_set_depthStencilAttachment) -static bool js_gfx_RenderPassInfo_get_subPasses(se::State& s) +static bool js_gfx_RenderPassInfo_get_subpasses(se::State& s) { cc::gfx::RenderPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_RenderPassInfo_get_subPasses : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPassInfo_get_subpasses : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; - ok &= nativevalue_to_se(cobj->subPasses, jsret, s.thisObject() /*ctx*/); + ok &= nativevalue_to_se(cobj->subpasses, jsret, s.thisObject() /*ctx*/); s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->subPasses, s.thisObject(), s.rval()); + SE_HOLD_RETURN_VALUE(cobj->subpasses, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_RenderPassInfo_get_subPasses) +SE_BIND_PROP_GET(js_gfx_RenderPassInfo_get_subpasses) -static bool js_gfx_RenderPassInfo_set_subPasses(se::State& s) +static bool js_gfx_RenderPassInfo_set_subpasses(se::State& s) { const auto& args = s.args(); cc::gfx::RenderPassInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_RenderPassInfo_set_subPasses : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPassInfo_set_subpasses : Invalid Native Object"); CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->subPasses, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_RenderPassInfo_set_subPasses : Error processing new value"); + ok &= sevalue_to_native(args[0], &cobj->subpasses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPassInfo_set_subpasses : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_RenderPassInfo_set_subPasses) +SE_BIND_PROP_SET(js_gfx_RenderPassInfo_set_subpasses) template<> @@ -7281,9 +10700,9 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::RenderPassInfo * to, se:: if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->depthStencilAttachment), ctx); } - json->getProperty("subPasses", &field); + json->getProperty("subpasses", &field); if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->subPasses), ctx); + ok &= sevalue_to_native(field, &(to->subpasses), ctx); } return ok; } @@ -7330,7 +10749,7 @@ static bool js_gfx_RenderPassInfo_constructor(se::State& s) ok &= sevalue_to_native(args[1], &(cobj->depthStencilAttachment), nullptr); } if (argc > 2 && !args[2].isUndefined()) { - ok &= sevalue_to_native(args[2], &(cobj->subPasses), nullptr); + ok &= sevalue_to_native(args[2], &(cobj->subpasses), nullptr); } if(!ok) { @@ -7371,7 +10790,7 @@ bool js_register_gfx_RenderPassInfo(se::Object* obj) cls->defineProperty("colorAttachments", _SE(js_gfx_RenderPassInfo_get_colorAttachments), _SE(js_gfx_RenderPassInfo_set_colorAttachments)); cls->defineProperty("depthStencilAttachment", _SE(js_gfx_RenderPassInfo_get_depthStencilAttachment), _SE(js_gfx_RenderPassInfo_set_depthStencilAttachment)); - cls->defineProperty("subPasses", _SE(js_gfx_RenderPassInfo_get_subPasses), _SE(js_gfx_RenderPassInfo_set_subPasses)); + cls->defineProperty("subpasses", _SE(js_gfx_RenderPassInfo_get_subpasses), _SE(js_gfx_RenderPassInfo_set_subpasses)); cls->defineFinalizeFunction(_SE(js_cc_gfx_RenderPassInfo_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -7383,13 +10802,13 @@ bool js_register_gfx_RenderPassInfo(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_GlobalBarrier_proto = nullptr; -se::Class* __jsb_cc_gfx_GlobalBarrier_class = nullptr; +se::Object* __jsb_cc_gfx_GlobalBarrierInfo_proto = nullptr; +se::Class* __jsb_cc_gfx_GlobalBarrierInfo_class = nullptr; -static bool js_gfx_GlobalBarrier_get_prevAccesses(se::State& s) +static bool js_gfx_GlobalBarrierInfo_get_prevAccesses(se::State& s) { - cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_get_prevAccesses : Invalid Native Object"); + cc::gfx::GlobalBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrierInfo_get_prevAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -7398,25 +10817,25 @@ static bool js_gfx_GlobalBarrier_get_prevAccesses(se::State& s) SE_HOLD_RETURN_VALUE(cobj->prevAccesses, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_GlobalBarrier_get_prevAccesses) +SE_BIND_PROP_GET(js_gfx_GlobalBarrierInfo_get_prevAccesses) -static bool js_gfx_GlobalBarrier_set_prevAccesses(se::State& s) +static bool js_gfx_GlobalBarrierInfo_set_prevAccesses(se::State& s) { const auto& args = s.args(); - cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_set_prevAccesses : Invalid Native Object"); + cc::gfx::GlobalBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrierInfo_set_prevAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->prevAccesses, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_set_prevAccesses : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrierInfo_set_prevAccesses : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_GlobalBarrier_set_prevAccesses) +SE_BIND_PROP_SET(js_gfx_GlobalBarrierInfo_set_prevAccesses) -static bool js_gfx_GlobalBarrier_get_nextAccesses(se::State& s) +static bool js_gfx_GlobalBarrierInfo_get_nextAccesses(se::State& s) { - cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_get_nextAccesses : Invalid Native Object"); + cc::gfx::GlobalBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrierInfo_get_nextAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -7425,28 +10844,28 @@ static bool js_gfx_GlobalBarrier_get_nextAccesses(se::State& s) SE_HOLD_RETURN_VALUE(cobj->nextAccesses, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_GlobalBarrier_get_nextAccesses) +SE_BIND_PROP_GET(js_gfx_GlobalBarrierInfo_get_nextAccesses) -static bool js_gfx_GlobalBarrier_set_nextAccesses(se::State& s) +static bool js_gfx_GlobalBarrierInfo_set_nextAccesses(se::State& s) { const auto& args = s.args(); - cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_set_nextAccesses : Invalid Native Object"); + cc::gfx::GlobalBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrierInfo_set_nextAccesses : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->nextAccesses, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_set_nextAccesses : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrierInfo_set_nextAccesses : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_GlobalBarrier_set_nextAccesses) +SE_BIND_PROP_SET(js_gfx_GlobalBarrierInfo_set_nextAccesses) template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::GlobalBarrier * to, se::Object *ctx) +bool sevalue_to_native(const se::Value &from, cc::gfx::GlobalBarrierInfo * to, se::Object *ctx) { assert(from.isObject()); se::Object *json = from.toObject(); - auto* data = (cc::gfx::GlobalBarrier*)json->getPrivateData(); + auto* data = (cc::gfx::GlobalBarrierInfo*)json->getPrivateData(); if (data) { *to = *data; return true; @@ -7464,9 +10883,9 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::GlobalBarrier * to, se::O return ok; } -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GlobalBarrier_finalize) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GlobalBarrierInfo_finalize) -static bool js_gfx_GlobalBarrier_constructor(se::State& s) +static bool js_gfx_GlobalBarrierInfo_constructor(se::State& s) { CC_UNUSED bool ok = true; const auto& args = s.args(); @@ -7474,7 +10893,7 @@ static bool js_gfx_GlobalBarrier_constructor(se::State& s) if(argc == 0) { - cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier); + cc::gfx::GlobalBarrierInfo* cobj = JSB_ALLOC(cc::gfx::GlobalBarrierInfo); s.thisObject()->setPrivateData(cobj); se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); return true; @@ -7484,7 +10903,7 @@ static bool js_gfx_GlobalBarrier_constructor(se::State& s) se::Object *json = args[0].toObject(); se::Value field; - cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier); + cc::gfx::GlobalBarrierInfo* cobj = JSB_ALLOC(cc::gfx::GlobalBarrierInfo); ok &= sevalue_to_native(args[0], cobj, s.thisObject()); if(!ok) { JSB_FREE(cobj); @@ -7498,7 +10917,7 @@ static bool js_gfx_GlobalBarrier_constructor(se::State& s) } else { - cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier); + cc::gfx::GlobalBarrierInfo* cobj = JSB_ALLOC(cc::gfx::GlobalBarrierInfo); if (argc > 0 && !args[0].isUndefined()) { ok &= sevalue_to_native(args[0], &(cobj->prevAccesses), nullptr); } @@ -7520,36 +10939,313 @@ static bool js_gfx_GlobalBarrier_constructor(se::State& s) SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); return false; } -SE_BIND_CTOR(js_gfx_GlobalBarrier_constructor, __jsb_cc_gfx_GlobalBarrier_class, js_cc_gfx_GlobalBarrier_finalize) +SE_BIND_CTOR(js_gfx_GlobalBarrierInfo_constructor, __jsb_cc_gfx_GlobalBarrierInfo_class, js_cc_gfx_GlobalBarrierInfo_finalize) -static bool js_cc_gfx_GlobalBarrier_finalize(se::State& s) +static bool js_cc_gfx_GlobalBarrierInfo_finalize(se::State& s) { - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); + cc::gfx::GlobalBarrierInfo* cobj = SE_THIS_OBJECT(s); JSB_FREE(cobj); } return true; } -SE_BIND_FINALIZE_FUNC(js_cc_gfx_GlobalBarrier_finalize) +SE_BIND_FINALIZE_FUNC(js_cc_gfx_GlobalBarrierInfo_finalize) -bool js_register_gfx_GlobalBarrier(se::Object* obj) +bool js_register_gfx_GlobalBarrierInfo(se::Object* obj) { - auto cls = se::Class::create("GlobalBarrier", obj, nullptr, _SE(js_gfx_GlobalBarrier_constructor)); + auto cls = se::Class::create("GlobalBarrierInfo", obj, nullptr, _SE(js_gfx_GlobalBarrierInfo_constructor)); - cls->defineProperty("prevAccesses", _SE(js_gfx_GlobalBarrier_get_prevAccesses), _SE(js_gfx_GlobalBarrier_set_prevAccesses)); - cls->defineProperty("nextAccesses", _SE(js_gfx_GlobalBarrier_get_nextAccesses), _SE(js_gfx_GlobalBarrier_set_nextAccesses)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_GlobalBarrier_finalize)); + cls->defineProperty("prevAccesses", _SE(js_gfx_GlobalBarrierInfo_get_prevAccesses), _SE(js_gfx_GlobalBarrierInfo_set_prevAccesses)); + cls->defineProperty("nextAccesses", _SE(js_gfx_GlobalBarrierInfo_get_nextAccesses), _SE(js_gfx_GlobalBarrierInfo_set_nextAccesses)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_GlobalBarrierInfo_finalize)); cls->install(); - JSBClassType::registerClass(cls); + JSBClassType::registerClass(cls); - __jsb_cc_gfx_GlobalBarrier_proto = cls->getProto(); - __jsb_cc_gfx_GlobalBarrier_class = cls; + __jsb_cc_gfx_GlobalBarrierInfo_proto = cls->getProto(); + __jsb_cc_gfx_GlobalBarrierInfo_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_TextureBarrierInfo_proto = nullptr; +se::Class* __jsb_cc_gfx_TextureBarrierInfo_class = nullptr; + +static bool js_gfx_TextureBarrierInfo_get_prevAccesses(se::State& s) +{ + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_get_prevAccesses : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->prevAccesses, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->prevAccesses, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBarrierInfo_get_prevAccesses) + +static bool js_gfx_TextureBarrierInfo_set_prevAccesses(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_set_prevAccesses : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->prevAccesses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrierInfo_set_prevAccesses : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBarrierInfo_set_prevAccesses) + +static bool js_gfx_TextureBarrierInfo_get_nextAccesses(se::State& s) +{ + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_get_nextAccesses : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->nextAccesses, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->nextAccesses, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBarrierInfo_get_nextAccesses) + +static bool js_gfx_TextureBarrierInfo_set_nextAccesses(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_set_nextAccesses : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->nextAccesses, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrierInfo_set_nextAccesses : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBarrierInfo_set_nextAccesses) + +static bool js_gfx_TextureBarrierInfo_get_discardContents(se::State& s) +{ + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_get_discardContents : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->discardContents, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->discardContents, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBarrierInfo_get_discardContents) + +static bool js_gfx_TextureBarrierInfo_set_discardContents(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_set_discardContents : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->discardContents, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrierInfo_set_discardContents : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBarrierInfo_set_discardContents) + +static bool js_gfx_TextureBarrierInfo_get_srcQueue(se::State& s) +{ + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_get_srcQueue : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->srcQueue, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->srcQueue, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBarrierInfo_get_srcQueue) + +static bool js_gfx_TextureBarrierInfo_set_srcQueue(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_set_srcQueue : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->srcQueue, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrierInfo_set_srcQueue : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBarrierInfo_set_srcQueue) + +static bool js_gfx_TextureBarrierInfo_get_dstQueue(se::State& s) +{ + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_get_dstQueue : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->dstQueue, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->dstQueue, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_TextureBarrierInfo_get_dstQueue) + +static bool js_gfx_TextureBarrierInfo_set_dstQueue(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrierInfo_set_dstQueue : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->dstQueue, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrierInfo_set_dstQueue : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_TextureBarrierInfo_set_dstQueue) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::TextureBarrierInfo * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::TextureBarrierInfo*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("prevAccesses", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->prevAccesses), ctx); + } + json->getProperty("nextAccesses", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->nextAccesses), ctx); + } + json->getProperty("discardContents", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->discardContents), ctx); + } + json->getProperty("srcQueue", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->srcQueue), ctx); + } + json->getProperty("dstQueue", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->dstQueue), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_TextureBarrierInfo_finalize) + +static bool js_gfx_TextureBarrierInfo_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::TextureBarrierInfo* cobj = JSB_ALLOC(cc::gfx::TextureBarrierInfo); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::TextureBarrierInfo* cobj = JSB_ALLOC(cc::gfx::TextureBarrierInfo); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::TextureBarrierInfo* cobj = JSB_ALLOC(cc::gfx::TextureBarrierInfo); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->prevAccesses), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->nextAccesses), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->discardContents), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->srcQueue), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->dstQueue), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_TextureBarrierInfo_constructor, __jsb_cc_gfx_TextureBarrierInfo_class, js_cc_gfx_TextureBarrierInfo_finalize) + + + + +static bool js_cc_gfx_TextureBarrierInfo_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::TextureBarrierInfo* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_TextureBarrierInfo_finalize) + +bool js_register_gfx_TextureBarrierInfo(se::Object* obj) +{ + auto cls = se::Class::create("TextureBarrierInfo", obj, nullptr, _SE(js_gfx_TextureBarrierInfo_constructor)); + + cls->defineProperty("prevAccesses", _SE(js_gfx_TextureBarrierInfo_get_prevAccesses), _SE(js_gfx_TextureBarrierInfo_set_prevAccesses)); + cls->defineProperty("nextAccesses", _SE(js_gfx_TextureBarrierInfo_get_nextAccesses), _SE(js_gfx_TextureBarrierInfo_set_nextAccesses)); + cls->defineProperty("discardContents", _SE(js_gfx_TextureBarrierInfo_get_discardContents), _SE(js_gfx_TextureBarrierInfo_set_discardContents)); + cls->defineProperty("srcQueue", _SE(js_gfx_TextureBarrierInfo_get_srcQueue), _SE(js_gfx_TextureBarrierInfo_set_srcQueue)); + cls->defineProperty("dstQueue", _SE(js_gfx_TextureBarrierInfo_get_dstQueue), _SE(js_gfx_TextureBarrierInfo_set_dstQueue)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_TextureBarrierInfo_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_TextureBarrierInfo_proto = cls->getProto(); + __jsb_cc_gfx_TextureBarrierInfo_class = cls; se::ScriptEngine::getInstance()->clearException(); return true; @@ -10502,546 +14198,40 @@ bool js_register_gfx_BlendState(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_PipelineStateInfo_proto = nullptr; -se::Class* __jsb_cc_gfx_PipelineStateInfo_class = nullptr; +se::Object* __jsb_cc_gfx_CommandBufferInfo_proto = nullptr; +se::Class* __jsb_cc_gfx_CommandBufferInfo_class = nullptr; -static bool js_gfx_PipelineStateInfo_get_shader(se::State& s) +static bool js_gfx_CommandBufferInfo_get_queue(se::State& s) { - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_shader : Invalid Native Object"); + cc::gfx::CommandBufferInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_CommandBufferInfo_get_queue : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; - ok &= nativevalue_to_se(cobj->shader, jsret, s.thisObject() /*ctx*/); + ok &= nativevalue_to_se(cobj->queue, jsret, s.thisObject() /*ctx*/); s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->shader, s.thisObject(), s.rval()); + SE_HOLD_RETURN_VALUE(cobj->queue, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_shader) +SE_BIND_PROP_GET(js_gfx_CommandBufferInfo_get_queue) -static bool js_gfx_PipelineStateInfo_set_shader(se::State& s) +static bool js_gfx_CommandBufferInfo_set_queue(se::State& s) { const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_shader : Invalid Native Object"); + cc::gfx::CommandBufferInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_CommandBufferInfo_set_queue : Invalid Native Object"); CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->shader, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_shader : Error processing new value"); + ok &= sevalue_to_native(args[0], &cobj->queue, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_CommandBufferInfo_set_queue : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_shader) +SE_BIND_PROP_SET(js_gfx_CommandBufferInfo_set_queue) -static bool js_gfx_PipelineStateInfo_get_pipelineLayout(se::State& s) +static bool js_gfx_CommandBufferInfo_get_type(se::State& s) { - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_pipelineLayout : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->pipelineLayout, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->pipelineLayout, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_pipelineLayout) - -static bool js_gfx_PipelineStateInfo_set_pipelineLayout(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_pipelineLayout : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->pipelineLayout, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_pipelineLayout : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_pipelineLayout) - -static bool js_gfx_PipelineStateInfo_get_renderPass(se::State& s) -{ - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_renderPass : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->renderPass, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->renderPass, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_renderPass) - -static bool js_gfx_PipelineStateInfo_set_renderPass(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_renderPass : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->renderPass, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_renderPass : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_renderPass) - -static bool js_gfx_PipelineStateInfo_get_inputState(se::State& s) -{ - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_inputState : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->inputState, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->inputState, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_inputState) - -static bool js_gfx_PipelineStateInfo_set_inputState(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_inputState : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->inputState, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_inputState : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_inputState) - -static bool js_gfx_PipelineStateInfo_get_rasterizerState(se::State& s) -{ - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_rasterizerState : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->rasterizerState, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->rasterizerState, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_rasterizerState) - -static bool js_gfx_PipelineStateInfo_set_rasterizerState(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_rasterizerState : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->rasterizerState, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_rasterizerState : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_rasterizerState) - -static bool js_gfx_PipelineStateInfo_get_depthStencilState(se::State& s) -{ - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_depthStencilState : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->depthStencilState, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->depthStencilState, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_depthStencilState) - -static bool js_gfx_PipelineStateInfo_set_depthStencilState(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_depthStencilState : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->depthStencilState, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_depthStencilState : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_depthStencilState) - -static bool js_gfx_PipelineStateInfo_get_blendState(se::State& s) -{ - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_blendState : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->blendState, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->blendState, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_blendState) - -static bool js_gfx_PipelineStateInfo_set_blendState(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_blendState : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->blendState, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_blendState : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_blendState) - -static bool js_gfx_PipelineStateInfo_get_primitive(se::State& s) -{ - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_primitive : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->primitive, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->primitive, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_primitive) - -static bool js_gfx_PipelineStateInfo_set_primitive(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_primitive : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->primitive, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_primitive : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_primitive) - -static bool js_gfx_PipelineStateInfo_get_dynamicStates(se::State& s) -{ - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_dynamicStates : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->dynamicStates, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->dynamicStates, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_dynamicStates) - -static bool js_gfx_PipelineStateInfo_set_dynamicStates(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_dynamicStates : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->dynamicStates, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_dynamicStates : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_dynamicStates) - -static bool js_gfx_PipelineStateInfo_get_bindPoint(se::State& s) -{ - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_get_bindPoint : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->bindPoint, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->bindPoint, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_PipelineStateInfo_get_bindPoint) - -static bool js_gfx_PipelineStateInfo_set_bindPoint(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_PipelineStateInfo_set_bindPoint : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->bindPoint, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineStateInfo_set_bindPoint : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_PipelineStateInfo_set_bindPoint) - - -template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::PipelineStateInfo * to, se::Object *ctx) -{ - assert(from.isObject()); - se::Object *json = from.toObject(); - auto* data = (cc::gfx::PipelineStateInfo*)json->getPrivateData(); - if (data) { - *to = *data; - return true; - } - se::Value field; - bool ok = true; - json->getProperty("shader", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->shader), ctx); - } - json->getProperty("pipelineLayout", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->pipelineLayout), ctx); - } - json->getProperty("renderPass", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->renderPass), ctx); - } - json->getProperty("inputState", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->inputState), ctx); - } - json->getProperty("rasterizerState", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->rasterizerState), ctx); - } - json->getProperty("depthStencilState", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->depthStencilState), ctx); - } - json->getProperty("blendState", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->blendState), ctx); - } - json->getProperty("primitive", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->primitive), ctx); - } - json->getProperty("dynamicStates", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->dynamicStates), ctx); - } - json->getProperty("bindPoint", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->bindPoint), ctx); - } - return ok; -} - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_PipelineStateInfo_finalize) - -static bool js_gfx_PipelineStateInfo_constructor(se::State& s) -{ - CC_UNUSED bool ok = true; - const auto& args = s.args(); - size_t argc = args.size(); - - if(argc == 0) - { - cc::gfx::PipelineStateInfo* cobj = JSB_ALLOC(cc::gfx::PipelineStateInfo); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - else if(argc == 1 && args[0].isObject()) - { - se::Object *json = args[0].toObject(); - se::Value field; - - cc::gfx::PipelineStateInfo* cobj = JSB_ALLOC(cc::gfx::PipelineStateInfo); - ok &= sevalue_to_native(args[0], cobj, s.thisObject()); - if(!ok) { - JSB_FREE(cobj); - SE_REPORT_ERROR("argument convertion error"); - return false; - } - - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - else - { - cc::gfx::PipelineStateInfo* cobj = JSB_ALLOC(cc::gfx::PipelineStateInfo); - if (argc > 0 && !args[0].isUndefined()) { - ok &= sevalue_to_native(args[0], &(cobj->shader), nullptr); - } - if (argc > 1 && !args[1].isUndefined()) { - ok &= sevalue_to_native(args[1], &(cobj->pipelineLayout), nullptr); - } - if (argc > 2 && !args[2].isUndefined()) { - ok &= sevalue_to_native(args[2], &(cobj->renderPass), nullptr); - } - if (argc > 3 && !args[3].isUndefined()) { - ok &= sevalue_to_native(args[3], &(cobj->inputState), nullptr); - } - if (argc > 4 && !args[4].isUndefined()) { - ok &= sevalue_to_native(args[4], &(cobj->rasterizerState), nullptr); - } - if (argc > 5 && !args[5].isUndefined()) { - ok &= sevalue_to_native(args[5], &(cobj->depthStencilState), nullptr); - } - if (argc > 6 && !args[6].isUndefined()) { - ok &= sevalue_to_native(args[6], &(cobj->blendState), nullptr); - } - if (argc > 7 && !args[7].isUndefined()) { - ok &= sevalue_to_native(args[7], &(cobj->primitive), nullptr); - } - if (argc > 8 && !args[8].isUndefined()) { - ok &= sevalue_to_native(args[8], &(cobj->dynamicStates), nullptr); - } - if (argc > 9 && !args[9].isUndefined()) { - ok &= sevalue_to_native(args[9], &(cobj->bindPoint), nullptr); - } - - if(!ok) { - JSB_FREE(cobj); - SE_REPORT_ERROR("Argument convertion error"); - return false; - } - - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; - } - - SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); - return false; -} -SE_BIND_CTOR(js_gfx_PipelineStateInfo_constructor, __jsb_cc_gfx_PipelineStateInfo_class, js_cc_gfx_PipelineStateInfo_finalize) - - - - -static bool js_cc_gfx_PipelineStateInfo_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::PipelineStateInfo* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_PipelineStateInfo_finalize) - -bool js_register_gfx_PipelineStateInfo(se::Object* obj) -{ - auto cls = se::Class::create("PipelineStateInfo", obj, nullptr, _SE(js_gfx_PipelineStateInfo_constructor)); - - cls->defineProperty("shader", _SE(js_gfx_PipelineStateInfo_get_shader), _SE(js_gfx_PipelineStateInfo_set_shader)); - cls->defineProperty("pipelineLayout", _SE(js_gfx_PipelineStateInfo_get_pipelineLayout), _SE(js_gfx_PipelineStateInfo_set_pipelineLayout)); - cls->defineProperty("renderPass", _SE(js_gfx_PipelineStateInfo_get_renderPass), _SE(js_gfx_PipelineStateInfo_set_renderPass)); - cls->defineProperty("inputState", _SE(js_gfx_PipelineStateInfo_get_inputState), _SE(js_gfx_PipelineStateInfo_set_inputState)); - cls->defineProperty("rasterizerState", _SE(js_gfx_PipelineStateInfo_get_rasterizerState), _SE(js_gfx_PipelineStateInfo_set_rasterizerState)); - cls->defineProperty("depthStencilState", _SE(js_gfx_PipelineStateInfo_get_depthStencilState), _SE(js_gfx_PipelineStateInfo_set_depthStencilState)); - cls->defineProperty("blendState", _SE(js_gfx_PipelineStateInfo_get_blendState), _SE(js_gfx_PipelineStateInfo_set_blendState)); - cls->defineProperty("primitive", _SE(js_gfx_PipelineStateInfo_get_primitive), _SE(js_gfx_PipelineStateInfo_set_primitive)); - cls->defineProperty("dynamicStates", _SE(js_gfx_PipelineStateInfo_get_dynamicStates), _SE(js_gfx_PipelineStateInfo_set_dynamicStates)); - cls->defineProperty("bindPoint", _SE(js_gfx_PipelineStateInfo_get_bindPoint), _SE(js_gfx_PipelineStateInfo_set_bindPoint)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_PipelineStateInfo_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_PipelineStateInfo_proto = cls->getProto(); - __jsb_cc_gfx_PipelineStateInfo_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -se::Object* __jsb_cc_gfx_FormatInfo_proto = nullptr; -se::Class* __jsb_cc_gfx_FormatInfo_class = nullptr; - -static bool js_gfx_FormatInfo_get_name(se::State& s) -{ - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_get_name : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->name, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->name, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_FormatInfo_get_name) - -static bool js_gfx_FormatInfo_set_name(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_set_name : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->name, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_FormatInfo_set_name : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_FormatInfo_set_name) - -static bool js_gfx_FormatInfo_get_size(se::State& s) -{ - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_get_size : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->size, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->size, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_FormatInfo_get_size) - -static bool js_gfx_FormatInfo_set_size(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_set_size : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->size, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_FormatInfo_set_size : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_FormatInfo_set_size) - -static bool js_gfx_FormatInfo_get_count(se::State& s) -{ - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_get_count : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->count, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->count, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_FormatInfo_get_count) - -static bool js_gfx_FormatInfo_set_count(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_set_count : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->count, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_FormatInfo_set_count : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_FormatInfo_set_count) - -static bool js_gfx_FormatInfo_get_type(se::State& s) -{ - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_get_type : Invalid Native Object"); + cc::gfx::CommandBufferInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_CommandBufferInfo_get_type : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; @@ -11050,180 +14240,48 @@ static bool js_gfx_FormatInfo_get_type(se::State& s) SE_HOLD_RETURN_VALUE(cobj->type, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_FormatInfo_get_type) +SE_BIND_PROP_GET(js_gfx_CommandBufferInfo_get_type) -static bool js_gfx_FormatInfo_set_type(se::State& s) +static bool js_gfx_CommandBufferInfo_set_type(se::State& s) { const auto& args = s.args(); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_set_type : Invalid Native Object"); + cc::gfx::CommandBufferInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_CommandBufferInfo_set_type : Invalid Native Object"); CC_UNUSED bool ok = true; ok &= sevalue_to_native(args[0], &cobj->type, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_FormatInfo_set_type : Error processing new value"); + SE_PRECONDITION2(ok, false, "js_gfx_CommandBufferInfo_set_type : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_FormatInfo_set_type) - -static bool js_gfx_FormatInfo_get_hasAlpha(se::State& s) -{ - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_get_hasAlpha : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->hasAlpha, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->hasAlpha, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_FormatInfo_get_hasAlpha) - -static bool js_gfx_FormatInfo_set_hasAlpha(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_set_hasAlpha : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->hasAlpha, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_FormatInfo_set_hasAlpha : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_FormatInfo_set_hasAlpha) - -static bool js_gfx_FormatInfo_get_hasDepth(se::State& s) -{ - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_get_hasDepth : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->hasDepth, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->hasDepth, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_FormatInfo_get_hasDepth) - -static bool js_gfx_FormatInfo_set_hasDepth(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_set_hasDepth : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->hasDepth, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_FormatInfo_set_hasDepth : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_FormatInfo_set_hasDepth) - -static bool js_gfx_FormatInfo_get_hasStencil(se::State& s) -{ - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_get_hasStencil : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->hasStencil, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->hasStencil, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_FormatInfo_get_hasStencil) - -static bool js_gfx_FormatInfo_set_hasStencil(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_set_hasStencil : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->hasStencil, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_FormatInfo_set_hasStencil : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_FormatInfo_set_hasStencil) - -static bool js_gfx_FormatInfo_get_isCompressed(se::State& s) -{ - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_get_isCompressed : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->isCompressed, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->isCompressed, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_FormatInfo_get_isCompressed) - -static bool js_gfx_FormatInfo_set_isCompressed(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_FormatInfo_set_isCompressed : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->isCompressed, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_FormatInfo_set_isCompressed : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_FormatInfo_set_isCompressed) +SE_BIND_PROP_SET(js_gfx_CommandBufferInfo_set_type) template<> -bool sevalue_to_native(const se::Value &from, cc::gfx::FormatInfo * to, se::Object *ctx) +bool sevalue_to_native(const se::Value &from, cc::gfx::CommandBufferInfo * to, se::Object *ctx) { assert(from.isObject()); se::Object *json = from.toObject(); - auto* data = (cc::gfx::FormatInfo*)json->getPrivateData(); + auto* data = (cc::gfx::CommandBufferInfo*)json->getPrivateData(); if (data) { *to = *data; return true; } se::Value field; bool ok = true; - json->getProperty("name", &field); + json->getProperty("queue", &field); if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->name), ctx); - } - json->getProperty("size", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->size), ctx); - } - json->getProperty("count", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->count), ctx); + ok &= sevalue_to_native(field, &(to->queue), ctx); } json->getProperty("type", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->type), ctx); } - json->getProperty("hasAlpha", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->hasAlpha), ctx); - } - json->getProperty("hasDepth", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->hasDepth), ctx); - } - json->getProperty("hasStencil", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->hasStencil), ctx); - } - json->getProperty("isCompressed", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->isCompressed), ctx); - } return ok; } -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_FormatInfo_finalize) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CommandBufferInfo_finalize) -static bool js_gfx_FormatInfo_constructor(se::State& s) +static bool js_gfx_CommandBufferInfo_constructor(se::State& s) { CC_UNUSED bool ok = true; const auto& args = s.args(); @@ -11231,7 +14289,7 @@ static bool js_gfx_FormatInfo_constructor(se::State& s) if(argc == 0) { - cc::gfx::FormatInfo* cobj = JSB_ALLOC(cc::gfx::FormatInfo); + cc::gfx::CommandBufferInfo* cobj = JSB_ALLOC(cc::gfx::CommandBufferInfo); s.thisObject()->setPrivateData(cobj); se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); return true; @@ -11241,7 +14299,7 @@ static bool js_gfx_FormatInfo_constructor(se::State& s) se::Object *json = args[0].toObject(); se::Value field; - cc::gfx::FormatInfo* cobj = JSB_ALLOC(cc::gfx::FormatInfo); + cc::gfx::CommandBufferInfo* cobj = JSB_ALLOC(cc::gfx::CommandBufferInfo); ok &= sevalue_to_native(args[0], cobj, s.thisObject()); if(!ok) { JSB_FREE(cobj); @@ -11255,30 +14313,12 @@ static bool js_gfx_FormatInfo_constructor(se::State& s) } else { - cc::gfx::FormatInfo* cobj = JSB_ALLOC(cc::gfx::FormatInfo); + cc::gfx::CommandBufferInfo* cobj = JSB_ALLOC(cc::gfx::CommandBufferInfo); if (argc > 0 && !args[0].isUndefined()) { - ok &= sevalue_to_native(args[0], &(cobj->name), nullptr); + ok &= sevalue_to_native(args[0], &(cobj->queue), nullptr); } if (argc > 1 && !args[1].isUndefined()) { - ok &= sevalue_to_native(args[1], &(cobj->size), nullptr); - } - if (argc > 2 && !args[2].isUndefined()) { - ok &= sevalue_to_native(args[2], &(cobj->count), nullptr); - } - if (argc > 3 && !args[3].isUndefined()) { - ok &= sevalue_to_native(args[3], &(cobj->type), nullptr); - } - if (argc > 4 && !args[4].isUndefined()) { - ok &= sevalue_to_native(args[4], &(cobj->hasAlpha), nullptr); - } - if (argc > 5 && !args[5].isUndefined()) { - ok &= sevalue_to_native(args[5], &(cobj->hasDepth), nullptr); - } - if (argc > 6 && !args[6].isUndefined()) { - ok &= sevalue_to_native(args[6], &(cobj->hasStencil), nullptr); - } - if (argc > 7 && !args[7].isUndefined()) { - ok &= sevalue_to_native(args[7], &(cobj->isCompressed), nullptr); + ok &= sevalue_to_native(args[1], &(cobj->type), nullptr); } if(!ok) { @@ -11295,42 +14335,156 @@ static bool js_gfx_FormatInfo_constructor(se::State& s) SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); return false; } -SE_BIND_CTOR(js_gfx_FormatInfo_constructor, __jsb_cc_gfx_FormatInfo_class, js_cc_gfx_FormatInfo_finalize) +SE_BIND_CTOR(js_gfx_CommandBufferInfo_constructor, __jsb_cc_gfx_CommandBufferInfo_class, js_cc_gfx_CommandBufferInfo_finalize) -static bool js_cc_gfx_FormatInfo_finalize(se::State& s) +static bool js_cc_gfx_CommandBufferInfo_finalize(se::State& s) { - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::FormatInfo* cobj = SE_THIS_OBJECT(s); + cc::gfx::CommandBufferInfo* cobj = SE_THIS_OBJECT(s); JSB_FREE(cobj); } return true; } -SE_BIND_FINALIZE_FUNC(js_cc_gfx_FormatInfo_finalize) +SE_BIND_FINALIZE_FUNC(js_cc_gfx_CommandBufferInfo_finalize) -bool js_register_gfx_FormatInfo(se::Object* obj) +bool js_register_gfx_CommandBufferInfo(se::Object* obj) { - auto cls = se::Class::create("FormatInfo", obj, nullptr, _SE(js_gfx_FormatInfo_constructor)); + auto cls = se::Class::create("CommandBufferInfo", obj, nullptr, _SE(js_gfx_CommandBufferInfo_constructor)); - cls->defineProperty("name", _SE(js_gfx_FormatInfo_get_name), _SE(js_gfx_FormatInfo_set_name)); - cls->defineProperty("size", _SE(js_gfx_FormatInfo_get_size), _SE(js_gfx_FormatInfo_set_size)); - cls->defineProperty("count", _SE(js_gfx_FormatInfo_get_count), _SE(js_gfx_FormatInfo_set_count)); - cls->defineProperty("type", _SE(js_gfx_FormatInfo_get_type), _SE(js_gfx_FormatInfo_set_type)); - cls->defineProperty("hasAlpha", _SE(js_gfx_FormatInfo_get_hasAlpha), _SE(js_gfx_FormatInfo_set_hasAlpha)); - cls->defineProperty("hasDepth", _SE(js_gfx_FormatInfo_get_hasDepth), _SE(js_gfx_FormatInfo_set_hasDepth)); - cls->defineProperty("hasStencil", _SE(js_gfx_FormatInfo_get_hasStencil), _SE(js_gfx_FormatInfo_set_hasStencil)); - cls->defineProperty("isCompressed", _SE(js_gfx_FormatInfo_get_isCompressed), _SE(js_gfx_FormatInfo_set_isCompressed)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_FormatInfo_finalize)); + cls->defineProperty("queue", _SE(js_gfx_CommandBufferInfo_get_queue), _SE(js_gfx_CommandBufferInfo_set_queue)); + cls->defineProperty("type", _SE(js_gfx_CommandBufferInfo_get_type), _SE(js_gfx_CommandBufferInfo_set_type)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_CommandBufferInfo_finalize)); cls->install(); - JSBClassType::registerClass(cls); + JSBClassType::registerClass(cls); - __jsb_cc_gfx_FormatInfo_proto = cls->getProto(); - __jsb_cc_gfx_FormatInfo_class = cls; + __jsb_cc_gfx_CommandBufferInfo_proto = cls->getProto(); + __jsb_cc_gfx_CommandBufferInfo_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_QueueInfo_proto = nullptr; +se::Class* __jsb_cc_gfx_QueueInfo_class = nullptr; + +static bool js_gfx_QueueInfo_get_type(se::State& s) +{ + cc::gfx::QueueInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_QueueInfo_get_type : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->type, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->type, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_QueueInfo_get_type) + +static bool js_gfx_QueueInfo_set_type(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::QueueInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_QueueInfo_set_type : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->type, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_QueueInfo_set_type : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_QueueInfo_set_type) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::QueueInfo * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::QueueInfo*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("type", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->type), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_QueueInfo_finalize) + +static bool js_gfx_QueueInfo_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::QueueInfo* cobj = JSB_ALLOC(cc::gfx::QueueInfo); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::QueueInfo* cobj = JSB_ALLOC(cc::gfx::QueueInfo); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->type), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_QueueInfo_constructor, __jsb_cc_gfx_QueueInfo_class, js_cc_gfx_QueueInfo_finalize) + + + + +static bool js_cc_gfx_QueueInfo_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::QueueInfo* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_QueueInfo_finalize) + +bool js_register_gfx_QueueInfo(se::Object* obj) +{ + auto cls = se::Class::create("QueueInfo", obj, nullptr, _SE(js_gfx_QueueInfo_constructor)); + + cls->defineProperty("type", _SE(js_gfx_QueueInfo_get_type), _SE(js_gfx_QueueInfo_set_type)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_QueueInfo_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_QueueInfo_proto = cls->getProto(); + __jsb_cc_gfx_QueueInfo_class = cls; se::ScriptEngine::getInstance()->clearException(); return true; @@ -11508,6 +14662,353 @@ bool js_register_gfx_MemoryStatus(se::Object* obj) return true; } +se::Object* __jsb_cc_gfx_DeviceInfo_proto = nullptr; +se::Class* __jsb_cc_gfx_DeviceInfo_class = nullptr; + +static bool js_gfx_DeviceInfo_get_windowHandle(se::State& s) +{ + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_windowHandle : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->windowHandle, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->windowHandle, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_windowHandle) + +static bool js_gfx_DeviceInfo_set_windowHandle(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_windowHandle : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->windowHandle, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_windowHandle : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_windowHandle) + +static bool js_gfx_DeviceInfo_get_width(se::State& s) +{ + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_width : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->width, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->width, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_width) + +static bool js_gfx_DeviceInfo_set_width(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_width : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->width, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_width : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_width) + +static bool js_gfx_DeviceInfo_get_height(se::State& s) +{ + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_height : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->height, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->height, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_height) + +static bool js_gfx_DeviceInfo_set_height(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_height : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->height, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_height : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_height) + +static bool js_gfx_DeviceInfo_get_nativeWidth(se::State& s) +{ + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_nativeWidth : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->nativeWidth, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->nativeWidth, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_nativeWidth) + +static bool js_gfx_DeviceInfo_set_nativeWidth(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_nativeWidth : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->nativeWidth, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_nativeWidth : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_nativeWidth) + +static bool js_gfx_DeviceInfo_get_nativeHeight(se::State& s) +{ + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_nativeHeight : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->nativeHeight, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->nativeHeight, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_nativeHeight) + +static bool js_gfx_DeviceInfo_set_nativeHeight(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_nativeHeight : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->nativeHeight, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_nativeHeight : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_nativeHeight) + +static bool js_gfx_DeviceInfo_get_sharedCtx(se::State& s) +{ + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_sharedCtx : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->sharedCtx, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->sharedCtx, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_sharedCtx) + +static bool js_gfx_DeviceInfo_set_sharedCtx(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_sharedCtx : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->sharedCtx, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_sharedCtx : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_sharedCtx) + +static bool js_gfx_DeviceInfo_get_bindingMappingInfo(se::State& s) +{ + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_bindingMappingInfo : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->bindingMappingInfo, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->bindingMappingInfo, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_bindingMappingInfo) + +static bool js_gfx_DeviceInfo_set_bindingMappingInfo(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_bindingMappingInfo : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->bindingMappingInfo, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_bindingMappingInfo : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_bindingMappingInfo) + + +template<> +bool sevalue_to_native(const se::Value &from, cc::gfx::DeviceInfo * to, se::Object *ctx) +{ + assert(from.isObject()); + se::Object *json = from.toObject(); + auto* data = (cc::gfx::DeviceInfo*)json->getPrivateData(); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + json->getProperty("windowHandle", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->windowHandle), ctx); + } + json->getProperty("width", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->width), ctx); + } + json->getProperty("height", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->height), ctx); + } + json->getProperty("nativeWidth", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->nativeWidth), ctx); + } + json->getProperty("nativeHeight", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->nativeHeight), ctx); + } + json->getProperty("sharedCtx", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->sharedCtx), ctx); + } + json->getProperty("bindingMappingInfo", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->bindingMappingInfo), ctx); + } + return ok; +} + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_DeviceInfo_finalize) + +static bool js_gfx_DeviceInfo_constructor(se::State& s) +{ + CC_UNUSED bool ok = true; + const auto& args = s.args(); + size_t argc = args.size(); + + if(argc == 0) + { + cc::gfx::DeviceInfo* cobj = JSB_ALLOC(cc::gfx::DeviceInfo); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else if(argc == 1 && args[0].isObject()) + { + se::Object *json = args[0].toObject(); + se::Value field; + + cc::gfx::DeviceInfo* cobj = JSB_ALLOC(cc::gfx::DeviceInfo); + ok &= sevalue_to_native(args[0], cobj, s.thisObject()); + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + else + { + cc::gfx::DeviceInfo* cobj = JSB_ALLOC(cc::gfx::DeviceInfo); + if (argc > 0 && !args[0].isUndefined()) { + ok &= sevalue_to_native(args[0], &(cobj->windowHandle), nullptr); + } + if (argc > 1 && !args[1].isUndefined()) { + ok &= sevalue_to_native(args[1], &(cobj->width), nullptr); + } + if (argc > 2 && !args[2].isUndefined()) { + ok &= sevalue_to_native(args[2], &(cobj->height), nullptr); + } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->nativeWidth), nullptr); + } + if (argc > 4 && !args[4].isUndefined()) { + ok &= sevalue_to_native(args[4], &(cobj->nativeHeight), nullptr); + } + if (argc > 5 && !args[5].isUndefined()) { + ok &= sevalue_to_native(args[5], &(cobj->sharedCtx), nullptr); + } + if (argc > 6 && !args[6].isUndefined()) { + ok &= sevalue_to_native(args[6], &(cobj->bindingMappingInfo), nullptr); + } + + if(!ok) { + JSB_FREE(cobj); + SE_REPORT_ERROR("Argument convertion error"); + return false; + } + + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; + } + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_CTOR(js_gfx_DeviceInfo_constructor, __jsb_cc_gfx_DeviceInfo_class, js_cc_gfx_DeviceInfo_finalize) + + + + +static bool js_cc_gfx_DeviceInfo_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_DeviceInfo_finalize) + +bool js_register_gfx_DeviceInfo(se::Object* obj) +{ + auto cls = se::Class::create("DeviceInfo", obj, nullptr, _SE(js_gfx_DeviceInfo_constructor)); + + cls->defineProperty("windowHandle", _SE(js_gfx_DeviceInfo_get_windowHandle), _SE(js_gfx_DeviceInfo_set_windowHandle)); + cls->defineProperty("width", _SE(js_gfx_DeviceInfo_get_width), _SE(js_gfx_DeviceInfo_set_width)); + cls->defineProperty("height", _SE(js_gfx_DeviceInfo_get_height), _SE(js_gfx_DeviceInfo_set_height)); + cls->defineProperty("nativeWidth", _SE(js_gfx_DeviceInfo_get_nativeWidth), _SE(js_gfx_DeviceInfo_set_nativeWidth)); + cls->defineProperty("nativeHeight", _SE(js_gfx_DeviceInfo_get_nativeHeight), _SE(js_gfx_DeviceInfo_set_nativeHeight)); + cls->defineProperty("sharedCtx", _SE(js_gfx_DeviceInfo_get_sharedCtx), _SE(js_gfx_DeviceInfo_set_sharedCtx)); + cls->defineProperty("bindingMappingInfo", _SE(js_gfx_DeviceInfo_get_bindingMappingInfo), _SE(js_gfx_DeviceInfo_set_bindingMappingInfo)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_DeviceInfo_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_DeviceInfo_proto = cls->getProto(); + __jsb_cc_gfx_DeviceInfo_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + se::Object* __jsb_cc_gfx_GFXObject_proto = nullptr; se::Class* __jsb_cc_gfx_GFXObject_class = nullptr; @@ -11856,7 +15357,7 @@ static bool js_gfx_CommandBuffer_beginRenderPassForJS(se::State& s) HolderType arg0 = {}; HolderType arg1 = {}; HolderType arg2 = {}; - HolderType arg3 = {}; + HolderType, true> arg3 = {}; HolderType arg4 = {}; HolderType arg5 = {}; @@ -11882,7 +15383,7 @@ static bool js_gfx_CommandBuffer_beginRenderPassForJS(se::State& s) HolderType arg0 = {}; HolderType arg1 = {}; HolderType arg2 = {}; - HolderType arg3 = {}; + HolderType, true> arg3 = {}; HolderType arg4 = {}; HolderType arg5 = {}; HolderType, true> arg6 = {}; @@ -11992,6 +15493,61 @@ static bool js_gfx_CommandBuffer_bindPipelineState(se::State& s) } SE_BIND_FUNC(js_gfx_CommandBuffer_bindPipelineState) +static bool js_gfx_CommandBuffer_blitTexture(se::State& s) +{ + CC_UNUSED bool ok = true; + cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2( cobj, false, "js_gfx_CommandBuffer_blitTexture : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + do { + if (argc == 4) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType, true> arg2 = {}; + HolderType arg3 = {}; + + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->blitTexture(arg0.value(), arg1.value(), arg2.value(), arg3.value()); + return true; + } + } while(false); + + do { + if (argc == 5) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->blitTexture(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value()); + return true; + } + } while(false); + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); + return false; +} +SE_BIND_FUNC(js_gfx_CommandBuffer_blitTexture) + static bool js_gfx_CommandBuffer_destroy(se::State& s) { cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); @@ -12194,19 +15750,60 @@ SE_BIND_FUNC(js_gfx_CommandBuffer_initialize) static bool js_gfx_CommandBuffer_pipelineBarrier(se::State& s) { + CC_UNUSED bool ok = true; cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_CommandBuffer_pipelineBarrier : Invalid Native Object"); + SE_PRECONDITION2( cobj, false, "js_gfx_CommandBuffer_pipelineBarrier : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_pipelineBarrier : Error processing arguments"); - cobj->pipelineBarrier(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + do { + if (argc == 1) { + HolderType arg0 = {}; + + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->pipelineBarrier(arg0.value()); + return true; + } + } while(false); + + do { + if (argc == 4) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->pipelineBarrier(arg0.value(), arg1.value(), arg2.value(), arg3.value()); + return true; + } + } while(false); + + do { + if (argc == 3) { + HolderType arg0 = {}; + HolderType, true> arg1 = {}; + HolderType, true> arg2 = {}; + + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + if (!ok) { ok = true; break; } + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->pipelineBarrier(arg0.value(), arg1.value(), arg2.value()); + return true; + } + } while(false); + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); return false; } SE_BIND_FUNC(js_gfx_CommandBuffer_pipelineBarrier) @@ -12411,6 +16008,7 @@ bool js_register_gfx_CommandBuffer(se::Object* obj) cls->defineFunction("bindDescriptorSet", _SE(js_gfx_CommandBuffer_bindDescriptorSetForJS)); cls->defineFunction("bindInputAssembler", _SE(js_gfx_CommandBuffer_bindInputAssembler)); cls->defineFunction("bindPipelineState", _SE(js_gfx_CommandBuffer_bindPipelineState)); + cls->defineFunction("blitTexture", _SE(js_gfx_CommandBuffer_blitTexture)); cls->defineFunction("destroy", _SE(js_gfx_CommandBuffer_destroy)); cls->defineFunction("dispatch", _SE(js_gfx_CommandBuffer_dispatch)); cls->defineFunction("draw", _SE(js_gfx_CommandBuffer_draw)); @@ -13210,13 +16808,13 @@ bool js_register_gfx_DescriptorSetLayout(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_Fence_proto = nullptr; -se::Class* __jsb_cc_gfx_Fence_class = nullptr; +se::Object* __jsb_cc_gfx_Framebuffer_proto = nullptr; +se::Class* __jsb_cc_gfx_Framebuffer_class = nullptr; -static bool js_gfx_Fence_destroy(se::State& s) +static bool js_gfx_Framebuffer_destroy(se::State& s) { - cc::gfx::Fence* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Fence_destroy : Invalid Native Object"); + cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_destroy : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); if (argc == 0) { @@ -13226,569 +16824,221 @@ static bool js_gfx_Fence_destroy(se::State& s) SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); return false; } -SE_BIND_FUNC(js_gfx_Fence_destroy) +SE_BIND_FUNC(js_gfx_Framebuffer_destroy) -static bool js_gfx_Fence_initialize(se::State& s) +static bool js_gfx_Framebuffer_getColorTextures(se::State& s) { - cc::gfx::Fence* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Fence_initialize : Invalid Native Object"); + cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_getColorTextures : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getColorTextures(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getColorTextures : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Framebuffer_getColorTextures) + +static bool js_gfx_Framebuffer_getDepthStencilTexture(se::State& s) +{ + cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_getDepthStencilTexture : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::gfx::Texture* result = cobj->getDepthStencilTexture(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getDepthStencilTexture : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Framebuffer_getDepthStencilTexture) + +static bool js_gfx_Framebuffer_getRenderPass(se::State& s) +{ + cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_getRenderPass : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::gfx::RenderPass* result = cobj->getRenderPass(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getRenderPass : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Framebuffer_getRenderPass) + +static bool js_gfx_Framebuffer_initialize(se::State& s) +{ + cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_initialize : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 1) { - HolderType arg0 = {}; + HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_Fence_initialize : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_initialize : Error processing arguments"); bool result = cobj->initialize(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Fence_initialize : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_initialize : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); return false; } -SE_BIND_FUNC(js_gfx_Fence_initialize) +SE_BIND_FUNC(js_gfx_Framebuffer_initialize) -static bool js_gfx_Fence_reset(se::State& s) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Framebuffer_finalize) + +static bool js_gfx_Framebuffer_constructor(se::State& s) // constructor.c { - cc::gfx::Fence* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Fence_reset : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->reset(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + //#3 cc::gfx::Framebuffer: is_skip_construtor True + se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Framebuffer constructor is skipped\")"); return false; } -SE_BIND_FUNC(js_gfx_Fence_reset) - -static bool js_gfx_Fence_wait(se::State& s) -{ - cc::gfx::Fence* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Fence_wait : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->wait(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Fence_wait) - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Fence_finalize) - -static bool js_gfx_Fence_constructor(se::State& s) // constructor.c -{ - //#3 cc::gfx::Fence: is_skip_construtor True - se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Fence constructor is skipped\")"); - return false; -} -SE_BIND_CTOR(js_gfx_Fence_constructor, __jsb_cc_gfx_Fence_class, js_cc_gfx_Fence_finalize) +SE_BIND_CTOR(js_gfx_Framebuffer_constructor, __jsb_cc_gfx_Framebuffer_class, js_cc_gfx_Framebuffer_finalize) extern se::Object* __jsb_cc_gfx_GFXObject_proto; -static bool js_cc_gfx_Fence_finalize(se::State& s) +static bool js_cc_gfx_Framebuffer_finalize(se::State& s) { - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::Fence* cobj = SE_THIS_OBJECT(s); + cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); JSB_FREE(cobj); } return true; } -SE_BIND_FINALIZE_FUNC(js_cc_gfx_Fence_finalize) +SE_BIND_FINALIZE_FUNC(js_cc_gfx_Framebuffer_finalize) -bool js_register_gfx_Fence(se::Object* obj) +bool js_register_gfx_Framebuffer(se::Object* obj) { - auto cls = se::Class::create("Fence", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Fence_constructor)); + auto cls = se::Class::create("Framebuffer", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Framebuffer_constructor)); - cls->defineFunction("destroy", _SE(js_gfx_Fence_destroy)); - cls->defineFunction("initialize", _SE(js_gfx_Fence_initialize)); - cls->defineFunction("reset", _SE(js_gfx_Fence_reset)); - cls->defineFunction("wait", _SE(js_gfx_Fence_wait)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_Fence_finalize)); + cls->defineProperty("colorTextures", _SE(js_gfx_Framebuffer_getColorTextures), nullptr); + cls->defineProperty("renderPass", _SE(js_gfx_Framebuffer_getRenderPass), nullptr); + cls->defineProperty("depthStencilTexture", _SE(js_gfx_Framebuffer_getDepthStencilTexture), nullptr); + cls->defineFunction("destroy", _SE(js_gfx_Framebuffer_destroy)); + cls->defineFunction("initialize", _SE(js_gfx_Framebuffer_initialize)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_Framebuffer_finalize)); cls->install(); - JSBClassType::registerClass(cls); + JSBClassType::registerClass(cls); - __jsb_cc_gfx_Fence_proto = cls->getProto(); - __jsb_cc_gfx_Fence_class = cls; + __jsb_cc_gfx_Framebuffer_proto = cls->getProto(); + __jsb_cc_gfx_Framebuffer_class = cls; se::ScriptEngine::getInstance()->clearException(); return true; } -se::Object* __jsb_cc_gfx_Queue_proto = nullptr; -se::Class* __jsb_cc_gfx_Queue_class = nullptr; +se::Object* __jsb_cc_gfx_GlobalBarrier_proto = nullptr; +se::Class* __jsb_cc_gfx_GlobalBarrier_class = nullptr; -static bool js_gfx_Queue_destroy(se::State& s) +static bool js_gfx_GlobalBarrier_get(se::State& s) { - cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Queue_destroy : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->destroy(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Queue_destroy) - -static bool js_gfx_Queue_getType(se::State& s) -{ - cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Queue_getType : Invalid Native Object"); + cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_get : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - int result = (int)cobj->getType(); + const cc::gfx::GlobalBarrierInfo& result = cobj->get(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Queue_getType : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_get : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); return false; } -SE_BIND_PROP_GET(js_gfx_Queue_getType) +SE_BIND_FUNC(js_gfx_GlobalBarrier_get) -static bool js_gfx_Queue_initialize(se::State& s) +static bool js_gfx_GlobalBarrier_computeHash(se::State& s) { - cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Queue_initialize : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_Queue_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, nullptr); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_computeHash : Error processing arguments"); + unsigned int result = cc::gfx::GlobalBarrier::computeHash(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Queue_initialize : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_computeHash : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); return false; } -SE_BIND_FUNC(js_gfx_Queue_initialize) +SE_BIND_FUNC(js_gfx_GlobalBarrier_computeHash) -static bool js_gfx_Queue_isAsync(se::State& s) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GlobalBarrier_finalize) + +static bool js_gfx_GlobalBarrier_constructor(se::State& s) // constructor.c { - cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Queue_isAsync : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); CC_UNUSED bool ok = true; - if (argc == 0) { - bool result = cobj->isAsync(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Queue_isAsync : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Queue_isAsync) - -static bool js_gfx_Queue_submitForJS(se::State& s) -{ - cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Queue_submitForJS : Invalid Native Object"); const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType, true> arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_Queue_submitForJS : Error processing arguments"); - cobj->submitForJS(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; + cc::gfx::Device* arg0 = nullptr; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_constructor : Error processing arguments"); + cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier, arg0); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; } -SE_BIND_FUNC(js_gfx_Queue_submitForJS) - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Queue_finalize) - -static bool js_gfx_Queue_constructor(se::State& s) // constructor.c -{ - //#3 cc::gfx::Queue: is_skip_construtor True - se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Queue constructor is skipped\")"); - return false; -} -SE_BIND_CTOR(js_gfx_Queue_constructor, __jsb_cc_gfx_Queue_class, js_cc_gfx_Queue_finalize) +SE_BIND_CTOR(js_gfx_GlobalBarrier_constructor, __jsb_cc_gfx_GlobalBarrier_class, js_cc_gfx_GlobalBarrier_finalize) extern se::Object* __jsb_cc_gfx_GFXObject_proto; -static bool js_cc_gfx_Queue_finalize(se::State& s) +static bool js_cc_gfx_GlobalBarrier_finalize(se::State& s) { - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); + cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); JSB_FREE(cobj); } return true; } -SE_BIND_FINALIZE_FUNC(js_cc_gfx_Queue_finalize) +SE_BIND_FINALIZE_FUNC(js_cc_gfx_GlobalBarrier_finalize) -bool js_register_gfx_Queue(se::Object* obj) +bool js_register_gfx_GlobalBarrier(se::Object* obj) { - auto cls = se::Class::create("Queue", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Queue_constructor)); + auto cls = se::Class::create("GlobalBarrier", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_GlobalBarrier_constructor)); - cls->defineProperty("type", _SE(js_gfx_Queue_getType), nullptr); - cls->defineFunction("destroy", _SE(js_gfx_Queue_destroy)); - cls->defineFunction("initialize", _SE(js_gfx_Queue_initialize)); - cls->defineFunction("isAsync", _SE(js_gfx_Queue_isAsync)); - cls->defineFunction("submit", _SE(js_gfx_Queue_submitForJS)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_Queue_finalize)); + cls->defineFunction("get", _SE(js_gfx_GlobalBarrier_get)); + cls->defineStaticFunction("computeHash", _SE(js_gfx_GlobalBarrier_computeHash)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_GlobalBarrier_finalize)); cls->install(); - JSBClassType::registerClass(cls); + JSBClassType::registerClass(cls); - __jsb_cc_gfx_Queue_proto = cls->getProto(); - __jsb_cc_gfx_Queue_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -se::Object* __jsb_cc_gfx_Sampler_proto = nullptr; -se::Class* __jsb_cc_gfx_Sampler_class = nullptr; - -static bool js_gfx_Sampler_destroy(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_destroy : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->destroy(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Sampler_destroy) - -static bool js_gfx_Sampler_getAddressU(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getAddressU : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = (int)cobj->getAddressU(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressU : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getAddressU) - -static bool js_gfx_Sampler_getAddressV(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getAddressV : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = (int)cobj->getAddressV(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressV : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getAddressV) - -static bool js_gfx_Sampler_getAddressW(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getAddressW : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = (int)cobj->getAddressW(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressW : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getAddressW) - -static bool js_gfx_Sampler_getBorderColor(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getBorderColor : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const cc::gfx::Color& result = cobj->getBorderColor(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getBorderColor : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getBorderColor) - -static bool js_gfx_Sampler_getCmpFunc(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getCmpFunc : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = (int)cobj->getCmpFunc(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getCmpFunc : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getCmpFunc) - -static bool js_gfx_Sampler_getMagFilter(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMagFilter : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = (int)cobj->getMagFilter(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMagFilter : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getMagFilter) - -static bool js_gfx_Sampler_getMaxAnisotropy(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMaxAnisotropy : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getMaxAnisotropy(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMaxAnisotropy : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getMaxAnisotropy) - -static bool js_gfx_Sampler_getMaxLOD(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMaxLOD : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getMaxLOD(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMaxLOD : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getMaxLOD) - -static bool js_gfx_Sampler_getMinFilter(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMinFilter : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = (int)cobj->getMinFilter(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMinFilter : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getMinFilter) - -static bool js_gfx_Sampler_getMinLOD(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMinLOD : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getMinLOD(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMinLOD : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getMinLOD) - -static bool js_gfx_Sampler_getMipFilter(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMipFilter : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = (int)cobj->getMipFilter(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMipFilter : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getMipFilter) - -static bool js_gfx_Sampler_getMipLODBias(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMipLODBias : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - float result = cobj->getMipLODBias(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMipLODBias : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Sampler_getMipLODBias) - -static bool js_gfx_Sampler_initialize(se::State& s) -{ - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_initialize : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_gfx_Sampler_initialize) - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Sampler_finalize) - -static bool js_gfx_Sampler_constructor(se::State& s) // constructor.c -{ - //#3 cc::gfx::Sampler: is_skip_construtor True - se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Sampler constructor is skipped\")"); - return false; -} -SE_BIND_CTOR(js_gfx_Sampler_constructor, __jsb_cc_gfx_Sampler_class, js_cc_gfx_Sampler_finalize) - - - -extern se::Object* __jsb_cc_gfx_GFXObject_proto; - -static bool js_cc_gfx_Sampler_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_Sampler_finalize) - -bool js_register_gfx_Sampler(se::Object* obj) -{ - auto cls = se::Class::create("Sampler", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Sampler_constructor)); - - cls->defineProperty("borderColor", _SE(js_gfx_Sampler_getBorderColor), nullptr); - cls->defineProperty("mipFilter", _SE(js_gfx_Sampler_getMipFilter), nullptr); - cls->defineProperty("minFilter", _SE(js_gfx_Sampler_getMinFilter), nullptr); - cls->defineProperty("maxLOD", _SE(js_gfx_Sampler_getMaxLOD), nullptr); - cls->defineProperty("magFilter", _SE(js_gfx_Sampler_getMagFilter), nullptr); - cls->defineProperty("addressU", _SE(js_gfx_Sampler_getAddressU), nullptr); - cls->defineProperty("addressV", _SE(js_gfx_Sampler_getAddressV), nullptr); - cls->defineProperty("addressW", _SE(js_gfx_Sampler_getAddressW), nullptr); - cls->defineProperty("cmpFunc", _SE(js_gfx_Sampler_getCmpFunc), nullptr); - cls->defineProperty("maxAnisotropy", _SE(js_gfx_Sampler_getMaxAnisotropy), nullptr); - cls->defineProperty("mipLODBias", _SE(js_gfx_Sampler_getMipLODBias), nullptr); - cls->defineProperty("minLOD", _SE(js_gfx_Sampler_getMinLOD), nullptr); - cls->defineFunction("destroy", _SE(js_gfx_Sampler_destroy)); - cls->defineFunction("initialize", _SE(js_gfx_Sampler_initialize)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_Sampler_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_Sampler_proto = cls->getProto(); - __jsb_cc_gfx_Sampler_class = cls; + __jsb_cc_gfx_GlobalBarrier_proto = cls->getProto(); + __jsb_cc_gfx_GlobalBarrier_class = cls; se::ScriptEngine::getInstance()->clearException(); return true; @@ -14251,294 +17501,6 @@ bool js_register_gfx_InputAssembler(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_RenderPass_proto = nullptr; -se::Class* __jsb_cc_gfx_RenderPass_class = nullptr; - -static bool js_gfx_RenderPass_destroy(se::State& s) -{ - cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_destroy : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->destroy(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_RenderPass_destroy) - -static bool js_gfx_RenderPass_getDepthStencilAttachment(se::State& s) -{ - cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_getDepthStencilAttachment : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const cc::gfx::DepthStencilAttachment& result = cobj->getDepthStencilAttachment(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getDepthStencilAttachment : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_RenderPass_getDepthStencilAttachment) - -static bool js_gfx_RenderPass_getHash(se::State& s) -{ - cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_getHash : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getHash(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getHash : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_RenderPass_getHash) - -static bool js_gfx_RenderPass_getSubPasses(se::State& s) -{ - cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_getSubPasses : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const std::vector& result = cobj->getSubPasses(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getSubPasses : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_RenderPass_getSubPasses) - -static bool js_gfx_RenderPass_initialize(se::State& s) -{ - cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_initialize : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_gfx_RenderPass_initialize) - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_RenderPass_finalize) - -static bool js_gfx_RenderPass_constructor(se::State& s) // constructor.c -{ - //#3 cc::gfx::RenderPass: is_skip_construtor True - se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::RenderPass constructor is skipped\")"); - return false; -} -SE_BIND_CTOR(js_gfx_RenderPass_constructor, __jsb_cc_gfx_RenderPass_class, js_cc_gfx_RenderPass_finalize) - - - -extern se::Object* __jsb_cc_gfx_GFXObject_proto; - -static bool js_cc_gfx_RenderPass_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_RenderPass_finalize) - -bool js_register_gfx_RenderPass(se::Object* obj) -{ - auto cls = se::Class::create("RenderPass", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_RenderPass_constructor)); - - cls->defineProperty("hash", _SE(js_gfx_RenderPass_getHash), nullptr); - cls->defineFunction("destroy", _SE(js_gfx_RenderPass_destroy)); - cls->defineFunction("getDepthStencilAttachment", _SE(js_gfx_RenderPass_getDepthStencilAttachment)); - cls->defineFunction("getSubPasses", _SE(js_gfx_RenderPass_getSubPasses)); - cls->defineFunction("initialize", _SE(js_gfx_RenderPass_initialize)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_RenderPass_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_RenderPass_proto = cls->getProto(); - __jsb_cc_gfx_RenderPass_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -se::Object* __jsb_cc_gfx_Framebuffer_proto = nullptr; -se::Class* __jsb_cc_gfx_Framebuffer_class = nullptr; - -static bool js_gfx_Framebuffer_destroy(se::State& s) -{ - cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_destroy : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->destroy(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Framebuffer_destroy) - -static bool js_gfx_Framebuffer_getColorTextures(se::State& s) -{ - cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_getColorTextures : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const std::vector& result = cobj->getColorTextures(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getColorTextures : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Framebuffer_getColorTextures) - -static bool js_gfx_Framebuffer_getDepthStencilTexture(se::State& s) -{ - cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_getDepthStencilTexture : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - cc::gfx::Texture* result = cobj->getDepthStencilTexture(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getDepthStencilTexture : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Framebuffer_getDepthStencilTexture) - -static bool js_gfx_Framebuffer_getRenderPass(se::State& s) -{ - cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_getRenderPass : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - cc::gfx::RenderPass* result = cobj->getRenderPass(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_getRenderPass : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Framebuffer_getRenderPass) - -static bool js_gfx_Framebuffer_initialize(se::State& s) -{ - cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Framebuffer_initialize : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_gfx_Framebuffer_initialize) - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Framebuffer_finalize) - -static bool js_gfx_Framebuffer_constructor(se::State& s) // constructor.c -{ - //#3 cc::gfx::Framebuffer: is_skip_construtor True - se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Framebuffer constructor is skipped\")"); - return false; -} -SE_BIND_CTOR(js_gfx_Framebuffer_constructor, __jsb_cc_gfx_Framebuffer_class, js_cc_gfx_Framebuffer_finalize) - - - -extern se::Object* __jsb_cc_gfx_GFXObject_proto; - -static bool js_cc_gfx_Framebuffer_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::Framebuffer* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_Framebuffer_finalize) - -bool js_register_gfx_Framebuffer(se::Object* obj) -{ - auto cls = se::Class::create("Framebuffer", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Framebuffer_constructor)); - - cls->defineProperty("colorTextures", _SE(js_gfx_Framebuffer_getColorTextures), nullptr); - cls->defineProperty("renderPass", _SE(js_gfx_Framebuffer_getRenderPass), nullptr); - cls->defineProperty("depthStencilTexture", _SE(js_gfx_Framebuffer_getDepthStencilTexture), nullptr); - cls->defineFunction("destroy", _SE(js_gfx_Framebuffer_destroy)); - cls->defineFunction("initialize", _SE(js_gfx_Framebuffer_initialize)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_Framebuffer_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_Framebuffer_proto = cls->getProto(); - __jsb_cc_gfx_Framebuffer_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - se::Object* __jsb_cc_gfx_PipelineLayout_proto = nullptr; se::Class* __jsb_cc_gfx_PipelineLayout_class = nullptr; @@ -14927,6 +17889,862 @@ bool js_register_gfx_PipelineState(se::Object* obj) return true; } +se::Object* __jsb_cc_gfx_Queue_proto = nullptr; +se::Class* __jsb_cc_gfx_Queue_class = nullptr; + +static bool js_gfx_Queue_destroy(se::State& s) +{ + cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Queue_destroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->destroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Queue_destroy) + +static bool js_gfx_Queue_getType(se::State& s) +{ + cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Queue_getType : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getType(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Queue_getType : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Queue_getType) + +static bool js_gfx_Queue_initialize(se::State& s) +{ + cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Queue_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Queue_initialize : Error processing arguments"); + bool result = cobj->initialize(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Queue_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Queue_initialize) + +static bool js_gfx_Queue_submitForJS(se::State& s) +{ + cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Queue_submitForJS : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType, true> arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Queue_submitForJS : Error processing arguments"); + cobj->submitForJS(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Queue_submitForJS) + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Queue_finalize) + +static bool js_gfx_Queue_constructor(se::State& s) // constructor.c +{ + //#3 cc::gfx::Queue: is_skip_construtor True + se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Queue constructor is skipped\")"); + return false; +} +SE_BIND_CTOR(js_gfx_Queue_constructor, __jsb_cc_gfx_Queue_class, js_cc_gfx_Queue_finalize) + + + +extern se::Object* __jsb_cc_gfx_GFXObject_proto; + +static bool js_cc_gfx_Queue_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::Queue* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_Queue_finalize) + +bool js_register_gfx_Queue(se::Object* obj) +{ + auto cls = se::Class::create("Queue", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Queue_constructor)); + + cls->defineProperty("type", _SE(js_gfx_Queue_getType), nullptr); + cls->defineFunction("destroy", _SE(js_gfx_Queue_destroy)); + cls->defineFunction("initialize", _SE(js_gfx_Queue_initialize)); + cls->defineFunction("submit", _SE(js_gfx_Queue_submitForJS)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_Queue_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_Queue_proto = cls->getProto(); + __jsb_cc_gfx_Queue_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_RenderPass_proto = nullptr; +se::Class* __jsb_cc_gfx_RenderPass_class = nullptr; + +static bool js_gfx_RenderPass_destroy(se::State& s) +{ + cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_destroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->destroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_RenderPass_destroy) + +static bool js_gfx_RenderPass_getDepthStencilAttachment(se::State& s) +{ + cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_getDepthStencilAttachment : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const cc::gfx::DepthStencilAttachment& result = cobj->getDepthStencilAttachment(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getDepthStencilAttachment : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_RenderPass_getDepthStencilAttachment) + +static bool js_gfx_RenderPass_getHash(se::State& s) +{ + cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_getHash : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getHash(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getHash : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_RenderPass_getHash) + +static bool js_gfx_RenderPass_getSubpasses(se::State& s) +{ + cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_getSubpasses : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getSubpasses(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getSubpasses : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_RenderPass_getSubpasses) + +static bool js_gfx_RenderPass_initialize(se::State& s) +{ + cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_initialize : Error processing arguments"); + bool result = cobj->initialize(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_RenderPass_initialize) + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_RenderPass_finalize) + +static bool js_gfx_RenderPass_constructor(se::State& s) // constructor.c +{ + //#3 cc::gfx::RenderPass: is_skip_construtor True + se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::RenderPass constructor is skipped\")"); + return false; +} +SE_BIND_CTOR(js_gfx_RenderPass_constructor, __jsb_cc_gfx_RenderPass_class, js_cc_gfx_RenderPass_finalize) + + + +extern se::Object* __jsb_cc_gfx_GFXObject_proto; + +static bool js_cc_gfx_RenderPass_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_RenderPass_finalize) + +bool js_register_gfx_RenderPass(se::Object* obj) +{ + auto cls = se::Class::create("RenderPass", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_RenderPass_constructor)); + + cls->defineProperty("hash", _SE(js_gfx_RenderPass_getHash), nullptr); + cls->defineFunction("destroy", _SE(js_gfx_RenderPass_destroy)); + cls->defineFunction("getDepthStencilAttachment", _SE(js_gfx_RenderPass_getDepthStencilAttachment)); + cls->defineFunction("getSubpasses", _SE(js_gfx_RenderPass_getSubpasses)); + cls->defineFunction("initialize", _SE(js_gfx_RenderPass_initialize)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_RenderPass_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_RenderPass_proto = cls->getProto(); + __jsb_cc_gfx_RenderPass_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_Sampler_proto = nullptr; +se::Class* __jsb_cc_gfx_Sampler_class = nullptr; + +static bool js_gfx_Sampler_destroy(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_destroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->destroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Sampler_destroy) + +static bool js_gfx_Sampler_getAddressU(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getAddressU : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getAddressU(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressU : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getAddressU) + +static bool js_gfx_Sampler_getAddressV(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getAddressV : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getAddressV(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressV : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getAddressV) + +static bool js_gfx_Sampler_getAddressW(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getAddressW : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getAddressW(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getAddressW : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getAddressW) + +static bool js_gfx_Sampler_getBorderColor(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getBorderColor : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const cc::gfx::Color& result = cobj->getBorderColor(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getBorderColor : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getBorderColor) + +static bool js_gfx_Sampler_getCmpFunc(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getCmpFunc : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getCmpFunc(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getCmpFunc : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getCmpFunc) + +static bool js_gfx_Sampler_getMagFilter(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMagFilter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getMagFilter(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMagFilter : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getMagFilter) + +static bool js_gfx_Sampler_getMaxAnisotropy(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMaxAnisotropy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMaxAnisotropy(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMaxAnisotropy : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getMaxAnisotropy) + +static bool js_gfx_Sampler_getMinFilter(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMinFilter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getMinFilter(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMinFilter : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getMinFilter) + +static bool js_gfx_Sampler_getMipFilter(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMipFilter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + int result = (int)cobj->getMipFilter(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMipFilter : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getMipFilter) + +static bool js_gfx_Sampler_getMipLODBias(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_getMipLODBias : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + float result = cobj->getMipLODBias(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_getMipLODBias : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Sampler_getMipLODBias) + +static bool js_gfx_Sampler_initialize(se::State& s) +{ + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Sampler_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_initialize : Error processing arguments"); + bool result = cobj->initialize(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Sampler_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Sampler_initialize) + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Sampler_finalize) + +static bool js_gfx_Sampler_constructor(se::State& s) // constructor.c +{ + //#3 cc::gfx::Sampler: is_skip_construtor True + se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Sampler constructor is skipped\")"); + return false; +} +SE_BIND_CTOR(js_gfx_Sampler_constructor, __jsb_cc_gfx_Sampler_class, js_cc_gfx_Sampler_finalize) + + + +extern se::Object* __jsb_cc_gfx_GFXObject_proto; + +static bool js_cc_gfx_Sampler_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::Sampler* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_Sampler_finalize) + +bool js_register_gfx_Sampler(se::Object* obj) +{ + auto cls = se::Class::create("Sampler", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Sampler_constructor)); + + cls->defineProperty("borderColor", _SE(js_gfx_Sampler_getBorderColor), nullptr); + cls->defineProperty("mipFilter", _SE(js_gfx_Sampler_getMipFilter), nullptr); + cls->defineProperty("minFilter", _SE(js_gfx_Sampler_getMinFilter), nullptr); + cls->defineProperty("magFilter", _SE(js_gfx_Sampler_getMagFilter), nullptr); + cls->defineProperty("addressU", _SE(js_gfx_Sampler_getAddressU), nullptr); + cls->defineProperty("addressV", _SE(js_gfx_Sampler_getAddressV), nullptr); + cls->defineProperty("addressW", _SE(js_gfx_Sampler_getAddressW), nullptr); + cls->defineProperty("cmpFunc", _SE(js_gfx_Sampler_getCmpFunc), nullptr); + cls->defineProperty("maxAnisotropy", _SE(js_gfx_Sampler_getMaxAnisotropy), nullptr); + cls->defineProperty("mipLODBias", _SE(js_gfx_Sampler_getMipLODBias), nullptr); + cls->defineFunction("destroy", _SE(js_gfx_Sampler_destroy)); + cls->defineFunction("initialize", _SE(js_gfx_Sampler_initialize)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_Sampler_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_Sampler_proto = cls->getProto(); + __jsb_cc_gfx_Sampler_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + +se::Object* __jsb_cc_gfx_Shader_proto = nullptr; +se::Class* __jsb_cc_gfx_Shader_class = nullptr; + +static bool js_gfx_Shader_destroy(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_destroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->destroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Shader_destroy) + +static bool js_gfx_Shader_getAttributes(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getAttributes : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getAttributes(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getAttributes : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Shader_getAttributes) + +static bool js_gfx_Shader_getBlocks(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getBlocks : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getBlocks(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getBlocks : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Shader_getBlocks) + +static bool js_gfx_Shader_getBuffers(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getBuffers : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getBuffers(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getBuffers : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Shader_getBuffers) + +static bool js_gfx_Shader_getID(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getID : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getID(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getID : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Shader_getID) + +static bool js_gfx_Shader_getImages(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getImages : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getImages(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getImages : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Shader_getImages) + +static bool js_gfx_Shader_getName(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getName : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const cc::String& result = cobj->getName(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getName : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Shader_getName) + +static bool js_gfx_Shader_getSamplerTextures(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getSamplerTextures : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getSamplerTextures(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getSamplerTextures : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Shader_getSamplerTextures) + +static bool js_gfx_Shader_getSamplers(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getSamplers : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getSamplers(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getSamplers : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Shader_getSamplers) + +static bool js_gfx_Shader_getStages(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getStages : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getStages(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getStages : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_Shader_getStages) + +static bool js_gfx_Shader_getSubpassInputs(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getSubpassInputs : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getSubpassInputs(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getSubpassInputs : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Shader_getSubpassInputs) + +static bool js_gfx_Shader_getTextures(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getTextures : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getTextures(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_getTextures : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Shader_getTextures) + +static bool js_gfx_Shader_initialize(se::State& s) +{ + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Shader_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_initialize : Error processing arguments"); + bool result = cobj->initialize(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Shader_initialize : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Shader_initialize) + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Shader_finalize) + +static bool js_gfx_Shader_constructor(se::State& s) // constructor.c +{ + //#3 cc::gfx::Shader: is_skip_construtor True + se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Shader constructor is skipped\")"); + return false; +} +SE_BIND_CTOR(js_gfx_Shader_constructor, __jsb_cc_gfx_Shader_class, js_cc_gfx_Shader_finalize) + + + +extern se::Object* __jsb_cc_gfx_GFXObject_proto; + +static bool js_cc_gfx_Shader_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_Shader_finalize) + +bool js_register_gfx_Shader(se::Object* obj) +{ + auto cls = se::Class::create("Shader", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Shader_constructor)); + + cls->defineProperty("blocks", _SE(js_gfx_Shader_getBlocks), nullptr); + cls->defineProperty("name", _SE(js_gfx_Shader_getName), nullptr); + cls->defineProperty("samplers", _SE(js_gfx_Shader_getSamplers), nullptr); + cls->defineProperty("shaderID", _SE(js_gfx_Shader_getID), nullptr); + cls->defineProperty("attributes", _SE(js_gfx_Shader_getAttributes), nullptr); + cls->defineProperty("stages", _SE(js_gfx_Shader_getStages), nullptr); + cls->defineFunction("destroy", _SE(js_gfx_Shader_destroy)); + cls->defineFunction("getBuffers", _SE(js_gfx_Shader_getBuffers)); + cls->defineFunction("getImages", _SE(js_gfx_Shader_getImages)); + cls->defineFunction("getSamplerTextures", _SE(js_gfx_Shader_getSamplerTextures)); + cls->defineFunction("getSubpassInputs", _SE(js_gfx_Shader_getSubpassInputs)); + cls->defineFunction("getTextures", _SE(js_gfx_Shader_getTextures)); + cls->defineFunction("initialize", _SE(js_gfx_Shader_initialize)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_Shader_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_Shader_proto = cls->getProto(); + __jsb_cc_gfx_Shader_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} + se::Object* __jsb_cc_gfx_Texture_proto = nullptr; se::Class* __jsb_cc_gfx_Texture_class = nullptr; @@ -15270,225 +19088,93 @@ bool js_register_gfx_Texture(se::Object* obj) return true; } -se::Object* __jsb_cc_gfx_Shader_proto = nullptr; -se::Class* __jsb_cc_gfx_Shader_class = nullptr; +se::Object* __jsb_cc_gfx_TextureBarrier_proto = nullptr; +se::Class* __jsb_cc_gfx_TextureBarrier_class = nullptr; -static bool js_gfx_Shader_destroy(se::State& s) +static bool js_gfx_TextureBarrier_get(se::State& s) { - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_destroy : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->destroy(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Shader_destroy) - -static bool js_gfx_Shader_getAttributes(se::State& s) -{ - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getAttributes : Invalid Native Object"); + cc::gfx::TextureBarrier* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrier_get : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - const std::vector& result = cobj->getAttributes(); + const cc::gfx::TextureBarrierInfo& result = cobj->get(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_getAttributes : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrier_get : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); return false; } -SE_BIND_PROP_GET(js_gfx_Shader_getAttributes) +SE_BIND_FUNC(js_gfx_TextureBarrier_get) -static bool js_gfx_Shader_getBlocks(se::State& s) +static bool js_gfx_TextureBarrier_computeHash(se::State& s) { - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getBlocks : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const std::vector& result = cobj->getBlocks(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_getBlocks : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Shader_getBlocks) - -static bool js_gfx_Shader_getBuffers(se::State& s) -{ - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getBuffers : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const std::vector& result = cobj->getBuffers(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_getBuffers : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Shader_getBuffers) - -static bool js_gfx_Shader_getID(se::State& s) -{ - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getID : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getID(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_getID : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Shader_getID) - -static bool js_gfx_Shader_getName(se::State& s) -{ - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getName : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const cc::String& result = cobj->getName(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_getName : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Shader_getName) - -static bool js_gfx_Shader_getSamplers(se::State& s) -{ - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getSamplers : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const std::vector& result = cobj->getSamplers(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_getSamplers : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Shader_getSamplers) - -static bool js_gfx_Shader_getStages(se::State& s) -{ - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_getStages : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const std::vector& result = cobj->getStages(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_getStages : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Shader_getStages) - -static bool js_gfx_Shader_initialize(se::State& s) -{ - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Shader_initialize : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, nullptr); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrier_computeHash : Error processing arguments"); + unsigned int result = cc::gfx::TextureBarrier::computeHash(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_initialize : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrier_computeHash : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); return false; } -SE_BIND_FUNC(js_gfx_Shader_initialize) +SE_BIND_FUNC(js_gfx_TextureBarrier_computeHash) -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Shader_finalize) +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_TextureBarrier_finalize) -static bool js_gfx_Shader_constructor(se::State& s) // constructor.c +static bool js_gfx_TextureBarrier_constructor(se::State& s) // constructor.c { - //#3 cc::gfx::Shader: is_skip_construtor True - se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::Shader constructor is skipped\")"); - return false; + CC_UNUSED bool ok = true; + const auto& args = s.args(); + cc::gfx::Device* arg0 = nullptr; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrier_constructor : Error processing arguments"); + cc::gfx::TextureBarrier* cobj = JSB_ALLOC(cc::gfx::TextureBarrier, arg0); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; } -SE_BIND_CTOR(js_gfx_Shader_constructor, __jsb_cc_gfx_Shader_class, js_cc_gfx_Shader_finalize) +SE_BIND_CTOR(js_gfx_TextureBarrier_constructor, __jsb_cc_gfx_TextureBarrier_class, js_cc_gfx_TextureBarrier_finalize) extern se::Object* __jsb_cc_gfx_GFXObject_proto; -static bool js_cc_gfx_Shader_finalize(se::State& s) +static bool js_cc_gfx_TextureBarrier_finalize(se::State& s) { - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::Shader* cobj = SE_THIS_OBJECT(s); + cc::gfx::TextureBarrier* cobj = SE_THIS_OBJECT(s); JSB_FREE(cobj); } return true; } -SE_BIND_FINALIZE_FUNC(js_cc_gfx_Shader_finalize) +SE_BIND_FINALIZE_FUNC(js_cc_gfx_TextureBarrier_finalize) -bool js_register_gfx_Shader(se::Object* obj) +bool js_register_gfx_TextureBarrier(se::Object* obj) { - auto cls = se::Class::create("Shader", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_Shader_constructor)); + auto cls = se::Class::create("TextureBarrier", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_TextureBarrier_constructor)); - cls->defineProperty("blocks", _SE(js_gfx_Shader_getBlocks), nullptr); - cls->defineProperty("name", _SE(js_gfx_Shader_getName), nullptr); - cls->defineProperty("samplers", _SE(js_gfx_Shader_getSamplers), nullptr); - cls->defineProperty("shaderID", _SE(js_gfx_Shader_getID), nullptr); - cls->defineProperty("attributes", _SE(js_gfx_Shader_getAttributes), nullptr); - cls->defineProperty("stages", _SE(js_gfx_Shader_getStages), nullptr); - cls->defineFunction("destroy", _SE(js_gfx_Shader_destroy)); - cls->defineFunction("getBuffers", _SE(js_gfx_Shader_getBuffers)); - cls->defineFunction("initialize", _SE(js_gfx_Shader_initialize)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_Shader_finalize)); + cls->defineFunction("get", _SE(js_gfx_TextureBarrier_get)); + cls->defineStaticFunction("computeHash", _SE(js_gfx_TextureBarrier_computeHash)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_TextureBarrier_finalize)); cls->install(); - JSBClassType::registerClass(cls); + JSBClassType::registerClass(cls); - __jsb_cc_gfx_Shader_proto = cls->getProto(); - __jsb_cc_gfx_Shader_class = cls; + __jsb_cc_gfx_TextureBarrier_proto = cls->getProto(); + __jsb_cc_gfx_TextureBarrier_class = cls; se::ScriptEngine::getInstance()->clearException(); return true; @@ -15600,29 +19286,6 @@ static bool js_gfx_Device_createDescriptorSetLayout(se::State& s) } SE_BIND_FUNC(js_gfx_Device_createDescriptorSetLayout) -static bool js_gfx_Device_createFence(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_createFence : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_Device_createFence : Error processing arguments"); - cc::gfx::Fence* result = cobj->createFence(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_createFence : Error processing arguments"); - se::NonRefNativePtrCreatedByCtorMap::emplace(result); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_gfx_Device_createFence) - static bool js_gfx_Device_createFramebuffer(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -15646,6 +19309,29 @@ static bool js_gfx_Device_createFramebuffer(se::State& s) } SE_BIND_FUNC(js_gfx_Device_createFramebuffer) +static bool js_gfx_Device_createGlobalBarrier(se::State& s) +{ + cc::gfx::Device* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Device_createGlobalBarrier : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_Device_createGlobalBarrier : Error processing arguments"); + cc::gfx::GlobalBarrier* result = cobj->createGlobalBarrier(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Device_createGlobalBarrier : Error processing arguments"); + se::NonRefNativePtrCreatedByCtorMap::emplace(result); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Device_createGlobalBarrier) + static bool js_gfx_Device_createInputAssembler(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -15860,24 +19546,24 @@ static bool js_gfx_Device_genShaderId(se::State& s) } SE_BIND_FUNC(js_gfx_Device_genShaderId) -static bool js_gfx_Device_getClipSpaceMinZ(se::State& s) +static bool js_gfx_Device_getCapabilities(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getClipSpaceMinZ : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_Device_getCapabilities : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - float result = cobj->getClipSpaceMinZ(); + const cc::gfx::DeviceCaps& result = cobj->getCapabilities(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getClipSpaceMinZ : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_Device_getCapabilities : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); return false; } -SE_BIND_PROP_GET(js_gfx_Device_getClipSpaceMinZ) +SE_BIND_PROP_GET(js_gfx_Device_getCapabilities) static bool js_gfx_Device_getColorFormat(se::State& s) { @@ -15936,25 +19622,6 @@ static bool js_gfx_Device_getContext(se::State& s) } SE_BIND_PROP_GET(js_gfx_Device_getContext) -static bool js_gfx_Device_getDepthBits(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getDepthBits : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getDepthBits(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getDepthBits : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getDepthBits) - static bool js_gfx_Device_getDepthStencilFormat(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -16031,177 +19698,6 @@ static bool js_gfx_Device_getHeight(se::State& s) } SE_BIND_PROP_GET(js_gfx_Device_getHeight) -static bool js_gfx_Device_getMaxCubeMapTextureSize(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxCubeMapTextureSize : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxCubeMapTextureSize(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxCubeMapTextureSize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxCubeMapTextureSize) - -static bool js_gfx_Device_getMaxFragmentUniformVectors(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxFragmentUniformVectors : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxFragmentUniformVectors(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxFragmentUniformVectors : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxFragmentUniformVectors) - -static bool js_gfx_Device_getMaxTextureSize(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxTextureSize : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxTextureSize(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxTextureSize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxTextureSize) - -static bool js_gfx_Device_getMaxTextureUnits(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxTextureUnits : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxTextureUnits(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxTextureUnits : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxTextureUnits) - -static bool js_gfx_Device_getMaxUniformBlockSize(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxUniformBlockSize : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxUniformBlockSize(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxUniformBlockSize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxUniformBlockSize) - -static bool js_gfx_Device_getMaxUniformBufferBindings(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxUniformBufferBindings : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxUniformBufferBindings(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxUniformBufferBindings : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxUniformBufferBindings) - -static bool js_gfx_Device_getMaxVertexAttributes(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxVertexAttributes : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxVertexAttributes(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexAttributes : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxVertexAttributes) - -static bool js_gfx_Device_getMaxVertexTextureUnits(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxVertexTextureUnits : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxVertexTextureUnits(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexTextureUnits : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxVertexTextureUnits) - -static bool js_gfx_Device_getMaxVertexUniformVectors(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getMaxVertexUniformVectors : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getMaxVertexUniformVectors(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getMaxVertexUniformVectors : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getMaxVertexUniformVectors) - static bool js_gfx_Device_getMemoryStatus(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -16354,44 +19850,6 @@ static bool js_gfx_Device_getRenderer(se::State& s) } SE_BIND_PROP_GET(js_gfx_Device_getRenderer) -static bool js_gfx_Device_getScreenSpaceSignY(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getScreenSpaceSignY : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - float result = cobj->getScreenSpaceSignY(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getScreenSpaceSignY : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getScreenSpaceSignY) - -static bool js_gfx_Device_getStencilBits(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getStencilBits : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getStencilBits(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getStencilBits : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getStencilBits) - static bool js_gfx_Device_getSurfaceTransform(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -16411,44 +19869,6 @@ static bool js_gfx_Device_getSurfaceTransform(se::State& s) } SE_BIND_PROP_GET(js_gfx_Device_getSurfaceTransform) -static bool js_gfx_Device_getUVSpaceSignY(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getUVSpaceSignY : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - float result = cobj->getUVSpaceSignY(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getUVSpaceSignY : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getUVSpaceSignY) - -static bool js_gfx_Device_getUboOffsetAlignment(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getUboOffsetAlignment : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - int result = cobj->getUboOffsetAlignment(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getUboOffsetAlignment : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Device_getUboOffsetAlignment) - static bool js_gfx_Device_getVendor(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -16593,45 +20013,32 @@ bool js_register_gfx_Device(se::Object* obj) { auto cls = se::Class::create("GFXDevice", obj, nullptr, nullptr); + cls->defineProperty("nativeHeight", _SE(js_gfx_Device_getNativeHeight), nullptr); cls->defineProperty("deviceName", _SE(js_gfx_Device_getDeviceName), nullptr); - cls->defineProperty("clipSpaceMinZ", _SE(js_gfx_Device_getClipSpaceMinZ), nullptr); - cls->defineProperty("numInstances", _SE(js_gfx_Device_getNumInstances), nullptr); - cls->defineProperty("maxTextureUnits", _SE(js_gfx_Device_getMaxTextureUnits), nullptr); - cls->defineProperty("height", _SE(js_gfx_Device_getHeight), nullptr); - cls->defineProperty("renderer", _SE(js_gfx_Device_getRenderer), nullptr); - cls->defineProperty("maxUniformBufferBindings", _SE(js_gfx_Device_getMaxUniformBufferBindings), nullptr); - cls->defineProperty("UVSpaceSignY", _SE(js_gfx_Device_getUVSpaceSignY), nullptr); - cls->defineProperty("commandBuffer", _SE(js_gfx_Device_getCommandBuffer), nullptr); - cls->defineProperty("vendor", _SE(js_gfx_Device_getVendor), nullptr); - cls->defineProperty("depthBits", _SE(js_gfx_Device_getDepthBits), nullptr); - cls->defineProperty("maxFragmentUniformVectors", _SE(js_gfx_Device_getMaxFragmentUniformVectors), nullptr); - cls->defineProperty("maxVertexAttributes", _SE(js_gfx_Device_getMaxVertexAttributes), nullptr); - cls->defineProperty("width", _SE(js_gfx_Device_getWidth), nullptr); - cls->defineProperty("maxVertexUniformVectors", _SE(js_gfx_Device_getMaxVertexUniformVectors), nullptr); - cls->defineProperty("maxCubeMapTextureSize", _SE(js_gfx_Device_getMaxCubeMapTextureSize), nullptr); - cls->defineProperty("maxVertexTextureUnits", _SE(js_gfx_Device_getMaxVertexTextureUnits), nullptr); + cls->defineProperty("colorFormat", _SE(js_gfx_Device_getColorFormat), nullptr); cls->defineProperty("nativeWidth", _SE(js_gfx_Device_getNativeWidth), nullptr); + cls->defineProperty("depthStencilFormat", _SE(js_gfx_Device_getDepthStencilFormat), nullptr); + cls->defineProperty("numTris", _SE(js_gfx_Device_getNumTris), nullptr); cls->defineProperty("numDrawCalls", _SE(js_gfx_Device_getNumDrawCalls), nullptr); cls->defineProperty("memoryStatus", _SE(js_gfx_Device_getMemoryStatus), nullptr); cls->defineProperty("gfxAPI", _SE(js_gfx_Device_getGfxAPI), nullptr); - cls->defineProperty("maxUniformBlockSize", _SE(js_gfx_Device_getMaxUniformBlockSize), nullptr); - cls->defineProperty("surfaceTransform", _SE(js_gfx_Device_getSurfaceTransform), nullptr); - cls->defineProperty("maxTextureSize", _SE(js_gfx_Device_getMaxTextureSize), nullptr); - cls->defineProperty("nativeHeight", _SE(js_gfx_Device_getNativeHeight), nullptr); - cls->defineProperty("depthStencilFormat", _SE(js_gfx_Device_getDepthStencilFormat), nullptr); - cls->defineProperty("numTris", _SE(js_gfx_Device_getNumTris), nullptr); - cls->defineProperty("screenSpaceSignY", _SE(js_gfx_Device_getScreenSpaceSignY), nullptr); - cls->defineProperty("stencilBits", _SE(js_gfx_Device_getStencilBits), nullptr); + cls->defineProperty("capabilities", _SE(js_gfx_Device_getCapabilities), nullptr); + cls->defineProperty("height", _SE(js_gfx_Device_getHeight), nullptr); cls->defineProperty("queue", _SE(js_gfx_Device_getQueue), nullptr); + cls->defineProperty("width", _SE(js_gfx_Device_getWidth), nullptr); + cls->defineProperty("renderer", _SE(js_gfx_Device_getRenderer), nullptr); cls->defineProperty("context", _SE(js_gfx_Device_getContext), nullptr); - cls->defineProperty("colorFormat", _SE(js_gfx_Device_getColorFormat), nullptr); + cls->defineProperty("commandBuffer", _SE(js_gfx_Device_getCommandBuffer), nullptr); + cls->defineProperty("vendor", _SE(js_gfx_Device_getVendor), nullptr); + cls->defineProperty("surfaceTransform", _SE(js_gfx_Device_getSurfaceTransform), nullptr); + cls->defineProperty("numInstances", _SE(js_gfx_Device_getNumInstances), nullptr); cls->defineFunction("acquire", _SE(js_gfx_Device_acquire)); cls->defineFunction("bindingMappingInfo", _SE(js_gfx_Device_bindingMappingInfo)); cls->defineFunction("createCommandBuffer", _SE(js_gfx_Device_createCommandBuffer)); cls->defineFunction("createDescriptorSet", _SE(js_gfx_Device_createDescriptorSet)); cls->defineFunction("createDescriptorSetLayout", _SE(js_gfx_Device_createDescriptorSetLayout)); - cls->defineFunction("createFence", _SE(js_gfx_Device_createFence)); cls->defineFunction("createFramebuffer", _SE(js_gfx_Device_createFramebuffer)); + cls->defineFunction("createGlobalBarrier", _SE(js_gfx_Device_createGlobalBarrier)); cls->defineFunction("createInputAssembler", _SE(js_gfx_Device_createInputAssembler)); cls->defineFunction("createPipelineLayout", _SE(js_gfx_Device_createPipelineLayout)); cls->defineFunction("createPipelineState", _SE(js_gfx_Device_createPipelineState)); @@ -16642,7 +20049,6 @@ bool js_register_gfx_Device(se::Object* obj) cls->defineFunction("destroy", _SE(js_gfx_Device_destroy)); cls->defineFunction("flushCommands", _SE(js_gfx_Device_flushCommandsForJS)); cls->defineFunction("genShaderId", _SE(js_gfx_Device_genShaderId)); - cls->defineFunction("getUboOffsetAlignment", _SE(js_gfx_Device_getUboOffsetAlignment)); cls->defineFunction("hasFeature", _SE(js_gfx_Device_hasFeature)); cls->defineFunction("initialize", _SE(js_gfx_Device_initialize)); cls->defineFunction("present", _SE(js_gfx_Device_present)); @@ -16670,67 +20076,77 @@ bool register_all_gfx(se::Object* obj) } se::Object* ns = nsVal.toObject(); - js_register_gfx_RasterizerState(ns); - js_register_gfx_MemoryStatus(ns); js_register_gfx_Context(ns); + js_register_gfx_SubpassInfo(ns); js_register_gfx_GFXObject(ns); js_register_gfx_Buffer(ns); + js_register_gfx_TextureBarrier(ns); js_register_gfx_Device(ns); js_register_gfx_Texture(ns); js_register_gfx_Uniform(ns); js_register_gfx_DescriptorSet(ns); js_register_gfx_BlendTarget(ns); - js_register_gfx_DescriptorSetLayoutBinding(ns); - js_register_gfx_FormatInfo(ns); + js_register_gfx_DispatchInfo(ns); + js_register_gfx_PipelineState(ns); + js_register_gfx_TextureBarrierInfo(ns); js_register_gfx_PipelineLayout(ns); js_register_gfx_Sampler(ns); js_register_gfx_InputAssembler(ns); js_register_gfx_RenderPass(ns); js_register_gfx_BufferInfo(ns); js_register_gfx_SamplerInfo(ns); - js_register_gfx_TextureViewInfo(ns); - js_register_gfx_ShaderMacro(ns); - js_register_gfx_PrimitiveMode(ns); - js_register_gfx_TextureSubres(ns); + js_register_gfx_QueueInfo(ns); + js_register_gfx_UniformStorageBuffer(ns); + js_register_gfx_UniformSamplerTexture(ns); + js_register_gfx_BufferTextureCopy(ns); + js_register_gfx_PipelineLayoutInfo(ns); js_register_gfx_InputAssemblerInfo(ns); - js_register_gfx_AccessType(ns); + js_register_gfx_TextureBlit(ns); js_register_gfx_TextureInfo(ns); - js_register_gfx_PipelineState(ns); + js_register_gfx_GlobalBarrierInfo(ns); js_register_gfx_RenderPassInfo(ns); js_register_gfx_Extent(ns); js_register_gfx_Offset(ns); js_register_gfx_CommandBuffer(ns); js_register_gfx_Framebuffer(ns); - js_register_gfx_Rect(ns); + js_register_gfx_Viewport(ns); + js_register_gfx_TextureSubresLayers(ns); js_register_gfx_BufferViewInfo(ns); - js_register_gfx_TextureLayout(ns); + js_register_gfx_UniformInputAttachment(ns); js_register_gfx_UniformSampler(ns); js_register_gfx_ShaderInfo(ns); - js_register_gfx_PipelineStateInfo(ns); js_register_gfx_Shader(ns); js_register_gfx_BlendState(ns); js_register_gfx_GlobalBarrier(ns); js_register_gfx_DescriptorSetInfo(ns); js_register_gfx_DescriptorSetLayoutInfo(ns); - js_register_gfx_ContextInfo(ns); + js_register_gfx_DrawInfo(ns); + js_register_gfx_InputState(ns); + js_register_gfx_CommandBufferInfo(ns); + js_register_gfx_UniformStorageImage(ns); js_register_gfx_UniformBlock(ns); js_register_gfx_DepthStencilAttachment(ns); - js_register_gfx_PipelineLayoutInfo(ns); - js_register_gfx_BufferTextureCopy(ns); + js_register_gfx_TextureSubresRange(ns); + js_register_gfx_TextureViewInfo(ns); js_register_gfx_Queue(ns); js_register_gfx_ColorAttachment(ns); - js_register_gfx_SubPassInfo(ns); - js_register_gfx_Fence(ns); + js_register_gfx_RasterizerState(ns); js_register_gfx_Color(ns); js_register_gfx_Attribute(ns); - js_register_gfx_Format(ns); + js_register_gfx_MemoryStatus(ns); js_register_gfx_DeviceInfo(ns); + js_register_gfx_DepthStencilState(ns); js_register_gfx_BindingMappingInfo(ns); js_register_gfx_FramebufferInfo(ns); + js_register_gfx_DeviceCaps(ns); + js_register_gfx_Rect(ns); js_register_gfx_ShaderStage(ns); - js_register_gfx_InputState(ns); + js_register_gfx_DescriptorSetLayoutBinding(ns); + js_register_gfx_UniformTexture(ns); js_register_gfx_DescriptorSetLayout(ns); - js_register_gfx_DepthStencilState(ns); + js_register_gfx_TextureCopy(ns); + js_register_gfx_IndirectBuffer(ns); + js_register_gfx_Size(ns); return true; } diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index c71aa0dd76..00797d924e 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -5,6 +5,26 @@ #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/renderer/core/Core.h" +extern se::Object* __jsb_cc_gfx_Size_proto; +extern se::Class* __jsb_cc_gfx_Size_class; + +bool js_register_cc_gfx_Size(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::Size *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::Size); + +extern se::Object* __jsb_cc_gfx_DeviceCaps_proto; +extern se::Class* __jsb_cc_gfx_DeviceCaps_class; + +bool js_register_cc_gfx_DeviceCaps(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::DeviceCaps *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::DeviceCaps); + extern se::Object* __jsb_cc_gfx_Offset_proto; extern se::Class* __jsb_cc_gfx_Offset_class; @@ -35,15 +55,45 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::Extent *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::Extent); -extern se::Object* __jsb_cc_gfx_TextureSubres_proto; -extern se::Class* __jsb_cc_gfx_TextureSubres_class; +extern se::Object* __jsb_cc_gfx_TextureSubresLayers_proto; +extern se::Class* __jsb_cc_gfx_TextureSubresLayers_class; -bool js_register_cc_gfx_TextureSubres(se::Object* obj); +bool js_register_cc_gfx_TextureSubresLayers(se::Object* obj); bool register_all_gfx(se::Object* obj); template<> -bool sevalue_to_native(const se::Value &, cc::gfx::TextureSubres *, se::Object *ctx); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::TextureSubres); +bool sevalue_to_native(const se::Value &, cc::gfx::TextureSubresLayers *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::TextureSubresLayers); + +extern se::Object* __jsb_cc_gfx_TextureSubresRange_proto; +extern se::Class* __jsb_cc_gfx_TextureSubresRange_class; + +bool js_register_cc_gfx_TextureSubresRange(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::TextureSubresRange *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::TextureSubresRange); + +extern se::Object* __jsb_cc_gfx_TextureCopy_proto; +extern se::Class* __jsb_cc_gfx_TextureCopy_class; + +bool js_register_cc_gfx_TextureCopy(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::TextureCopy *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::TextureCopy); + +extern se::Object* __jsb_cc_gfx_TextureBlit_proto; +extern se::Class* __jsb_cc_gfx_TextureBlit_class; + +bool js_register_cc_gfx_TextureBlit(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::TextureBlit *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::TextureBlit); extern se::Object* __jsb_cc_gfx_BufferTextureCopy_proto; extern se::Class* __jsb_cc_gfx_BufferTextureCopy_class; @@ -55,6 +105,16 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::BufferTextureCopy *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::BufferTextureCopy); +extern se::Object* __jsb_cc_gfx_Viewport_proto; +extern se::Class* __jsb_cc_gfx_Viewport_class; + +bool js_register_cc_gfx_Viewport(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::Viewport *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::Viewport); + extern se::Object* __jsb_cc_gfx_Color_proto; extern se::Class* __jsb_cc_gfx_Color_class; @@ -75,26 +135,6 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::BindingMappingInfo *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::BindingMappingInfo); -extern se::Object* __jsb_cc_gfx_DeviceInfo_proto; -extern se::Class* __jsb_cc_gfx_DeviceInfo_class; - -bool js_register_cc_gfx_DeviceInfo(se::Object* obj); -bool register_all_gfx(se::Object* obj); - -template<> -bool sevalue_to_native(const se::Value &, cc::gfx::DeviceInfo *, se::Object *ctx); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::DeviceInfo); - -extern se::Object* __jsb_cc_gfx_ContextInfo_proto; -extern se::Class* __jsb_cc_gfx_ContextInfo_class; - -bool js_register_cc_gfx_ContextInfo(se::Object* obj); -bool register_all_gfx(se::Object* obj); - -template<> -bool sevalue_to_native(const se::Value &, cc::gfx::ContextInfo *, se::Object *ctx); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::ContextInfo); - extern se::Object* __jsb_cc_gfx_BufferInfo_proto; extern se::Class* __jsb_cc_gfx_BufferInfo_class; @@ -115,6 +155,36 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::BufferViewInfo *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::BufferViewInfo); +extern se::Object* __jsb_cc_gfx_DrawInfo_proto; +extern se::Class* __jsb_cc_gfx_DrawInfo_class; + +bool js_register_cc_gfx_DrawInfo(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::DrawInfo *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::DrawInfo); + +extern se::Object* __jsb_cc_gfx_DispatchInfo_proto; +extern se::Class* __jsb_cc_gfx_DispatchInfo_class; + +bool js_register_cc_gfx_DispatchInfo(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::DispatchInfo *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::DispatchInfo); + +extern se::Object* __jsb_cc_gfx_IndirectBuffer_proto; +extern se::Class* __jsb_cc_gfx_IndirectBuffer_class; + +bool js_register_cc_gfx_IndirectBuffer(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::IndirectBuffer *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::IndirectBuffer); + extern se::Object* __jsb_cc_gfx_TextureInfo_proto; extern se::Class* __jsb_cc_gfx_TextureInfo_class; @@ -145,16 +215,6 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::SamplerInfo *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::SamplerInfo); -extern se::Object* __jsb_cc_gfx_ShaderMacro_proto; -extern se::Class* __jsb_cc_gfx_ShaderMacro_class; - -bool js_register_cc_gfx_ShaderMacro(se::Object* obj); -bool register_all_gfx(se::Object* obj); - -template<> -bool sevalue_to_native(const se::Value &, cc::gfx::ShaderMacro *, se::Object *ctx); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::ShaderMacro); - extern se::Object* __jsb_cc_gfx_Uniform_proto; extern se::Class* __jsb_cc_gfx_Uniform_class; @@ -175,6 +235,16 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::UniformBlock *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::UniformBlock); +extern se::Object* __jsb_cc_gfx_UniformSamplerTexture_proto; +extern se::Class* __jsb_cc_gfx_UniformSamplerTexture_class; + +bool js_register_cc_gfx_UniformSamplerTexture(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::UniformSamplerTexture *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::UniformSamplerTexture); + extern se::Object* __jsb_cc_gfx_UniformSampler_proto; extern se::Class* __jsb_cc_gfx_UniformSampler_class; @@ -185,6 +255,46 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::UniformSampler *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::UniformSampler); +extern se::Object* __jsb_cc_gfx_UniformTexture_proto; +extern se::Class* __jsb_cc_gfx_UniformTexture_class; + +bool js_register_cc_gfx_UniformTexture(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::UniformTexture *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::UniformTexture); + +extern se::Object* __jsb_cc_gfx_UniformStorageImage_proto; +extern se::Class* __jsb_cc_gfx_UniformStorageImage_class; + +bool js_register_cc_gfx_UniformStorageImage(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::UniformStorageImage *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::UniformStorageImage); + +extern se::Object* __jsb_cc_gfx_UniformStorageBuffer_proto; +extern se::Class* __jsb_cc_gfx_UniformStorageBuffer_class; + +bool js_register_cc_gfx_UniformStorageBuffer(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::UniformStorageBuffer *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::UniformStorageBuffer); + +extern se::Object* __jsb_cc_gfx_UniformInputAttachment_proto; +extern se::Class* __jsb_cc_gfx_UniformInputAttachment_class; + +bool js_register_cc_gfx_UniformInputAttachment(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::UniformInputAttachment *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::UniformInputAttachment); + extern se::Object* __jsb_cc_gfx_ShaderStage_proto; extern se::Class* __jsb_cc_gfx_ShaderStage_class; @@ -245,15 +355,15 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::DepthStencilAttachment *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::DepthStencilAttachment); -extern se::Object* __jsb_cc_gfx_SubPassInfo_proto; -extern se::Class* __jsb_cc_gfx_SubPassInfo_class; +extern se::Object* __jsb_cc_gfx_SubpassInfo_proto; +extern se::Class* __jsb_cc_gfx_SubpassInfo_class; -bool js_register_cc_gfx_SubPassInfo(se::Object* obj); +bool js_register_cc_gfx_SubpassInfo(se::Object* obj); bool register_all_gfx(se::Object* obj); template<> -bool sevalue_to_native(const se::Value &, cc::gfx::SubPassInfo *, se::Object *ctx); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::SubPassInfo); +bool sevalue_to_native(const se::Value &, cc::gfx::SubpassInfo *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::SubpassInfo); extern se::Object* __jsb_cc_gfx_RenderPassInfo_proto; extern se::Class* __jsb_cc_gfx_RenderPassInfo_class; @@ -265,15 +375,25 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::RenderPassInfo *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::RenderPassInfo); -extern se::Object* __jsb_cc_gfx_GlobalBarrier_proto; -extern se::Class* __jsb_cc_gfx_GlobalBarrier_class; +extern se::Object* __jsb_cc_gfx_GlobalBarrierInfo_proto; +extern se::Class* __jsb_cc_gfx_GlobalBarrierInfo_class; -bool js_register_cc_gfx_GlobalBarrier(se::Object* obj); +bool js_register_cc_gfx_GlobalBarrierInfo(se::Object* obj); bool register_all_gfx(se::Object* obj); template<> -bool sevalue_to_native(const se::Value &, cc::gfx::GlobalBarrier *, se::Object *ctx); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::GlobalBarrier); +bool sevalue_to_native(const se::Value &, cc::gfx::GlobalBarrierInfo *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::GlobalBarrierInfo); + +extern se::Object* __jsb_cc_gfx_TextureBarrierInfo_proto; +extern se::Class* __jsb_cc_gfx_TextureBarrierInfo_class; + +bool js_register_cc_gfx_TextureBarrierInfo(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::TextureBarrierInfo *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::TextureBarrierInfo); extern se::Object* __jsb_cc_gfx_FramebufferInfo_proto; extern se::Class* __jsb_cc_gfx_FramebufferInfo_class; @@ -375,25 +495,25 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::BlendState *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::BlendState); -extern se::Object* __jsb_cc_gfx_PipelineStateInfo_proto; -extern se::Class* __jsb_cc_gfx_PipelineStateInfo_class; +extern se::Object* __jsb_cc_gfx_CommandBufferInfo_proto; +extern se::Class* __jsb_cc_gfx_CommandBufferInfo_class; -bool js_register_cc_gfx_PipelineStateInfo(se::Object* obj); +bool js_register_cc_gfx_CommandBufferInfo(se::Object* obj); bool register_all_gfx(se::Object* obj); template<> -bool sevalue_to_native(const se::Value &, cc::gfx::PipelineStateInfo *, se::Object *ctx); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::PipelineStateInfo); +bool sevalue_to_native(const se::Value &, cc::gfx::CommandBufferInfo *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::CommandBufferInfo); -extern se::Object* __jsb_cc_gfx_FormatInfo_proto; -extern se::Class* __jsb_cc_gfx_FormatInfo_class; +extern se::Object* __jsb_cc_gfx_QueueInfo_proto; +extern se::Class* __jsb_cc_gfx_QueueInfo_class; -bool js_register_cc_gfx_FormatInfo(se::Object* obj); +bool js_register_cc_gfx_QueueInfo(se::Object* obj); bool register_all_gfx(se::Object* obj); template<> -bool sevalue_to_native(const se::Value &, cc::gfx::FormatInfo *, se::Object *ctx); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::FormatInfo); +bool sevalue_to_native(const se::Value &, cc::gfx::QueueInfo *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::QueueInfo); extern se::Object* __jsb_cc_gfx_MemoryStatus_proto; extern se::Class* __jsb_cc_gfx_MemoryStatus_class; @@ -405,6 +525,16 @@ template<> bool sevalue_to_native(const se::Value &, cc::gfx::MemoryStatus *, se::Object *ctx); JSB_REGISTER_OBJECT_TYPE(cc::gfx::MemoryStatus); +extern se::Object* __jsb_cc_gfx_DeviceInfo_proto; +extern se::Class* __jsb_cc_gfx_DeviceInfo_class; + +bool js_register_cc_gfx_DeviceInfo(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +template<> +bool sevalue_to_native(const se::Value &, cc::gfx::DeviceInfo *, se::Object *ctx); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::DeviceInfo); + extern se::Object* __jsb_cc_gfx_GFXObject_proto; extern se::Class* __jsb_cc_gfx_GFXObject_class; @@ -437,6 +567,7 @@ SE_DECLARE_FUNC(js_gfx_CommandBuffer_beginRenderPassForJS); SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindDescriptorSetForJS); SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindInputAssembler); SE_DECLARE_FUNC(js_gfx_CommandBuffer_bindPipelineState); +SE_DECLARE_FUNC(js_gfx_CommandBuffer_blitTexture); SE_DECLARE_FUNC(js_gfx_CommandBuffer_destroy); SE_DECLARE_FUNC(js_gfx_CommandBuffer_dispatch); SE_DECLARE_FUNC(js_gfx_CommandBuffer_draw); @@ -506,42 +637,27 @@ SE_DECLARE_FUNC(js_gfx_DescriptorSetLayout_getDescriptorCount); SE_DECLARE_FUNC(js_gfx_DescriptorSetLayout_initialize); SE_DECLARE_FUNC(js_gfx_DescriptorSetLayout_DescriptorSetLayout); -extern se::Object* __jsb_cc_gfx_Fence_proto; -extern se::Class* __jsb_cc_gfx_Fence_class; +extern se::Object* __jsb_cc_gfx_Framebuffer_proto; +extern se::Class* __jsb_cc_gfx_Framebuffer_class; -bool js_register_cc_gfx_Fence(se::Object* obj); +bool js_register_cc_gfx_Framebuffer(se::Object* obj); bool register_all_gfx(se::Object* obj); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::Fence); -SE_DECLARE_FUNC(js_gfx_Fence_destroy); -SE_DECLARE_FUNC(js_gfx_Fence_initialize); -SE_DECLARE_FUNC(js_gfx_Fence_reset); -SE_DECLARE_FUNC(js_gfx_Fence_wait); -SE_DECLARE_FUNC(js_gfx_Fence_Fence); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::Framebuffer); +SE_DECLARE_FUNC(js_gfx_Framebuffer_destroy); +SE_DECLARE_FUNC(js_gfx_Framebuffer_initialize); +SE_DECLARE_FUNC(js_gfx_Framebuffer_Framebuffer); -extern se::Object* __jsb_cc_gfx_Queue_proto; -extern se::Class* __jsb_cc_gfx_Queue_class; +extern se::Object* __jsb_cc_gfx_GlobalBarrier_proto; +extern se::Class* __jsb_cc_gfx_GlobalBarrier_class; -bool js_register_cc_gfx_Queue(se::Object* obj); +bool js_register_cc_gfx_GlobalBarrier(se::Object* obj); bool register_all_gfx(se::Object* obj); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::Queue); -SE_DECLARE_FUNC(js_gfx_Queue_destroy); -SE_DECLARE_FUNC(js_gfx_Queue_initialize); -SE_DECLARE_FUNC(js_gfx_Queue_isAsync); -SE_DECLARE_FUNC(js_gfx_Queue_submitForJS); -SE_DECLARE_FUNC(js_gfx_Queue_Queue); - -extern se::Object* __jsb_cc_gfx_Sampler_proto; -extern se::Class* __jsb_cc_gfx_Sampler_class; - -bool js_register_cc_gfx_Sampler(se::Object* obj); -bool register_all_gfx(se::Object* obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::Sampler); -SE_DECLARE_FUNC(js_gfx_Sampler_destroy); -SE_DECLARE_FUNC(js_gfx_Sampler_initialize); -SE_DECLARE_FUNC(js_gfx_Sampler_Sampler); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::GlobalBarrier); +SE_DECLARE_FUNC(js_gfx_GlobalBarrier_get); +SE_DECLARE_FUNC(js_gfx_GlobalBarrier_computeHash); +SE_DECLARE_FUNC(js_gfx_GlobalBarrier_GlobalBarrier); extern se::Object* __jsb_cc_gfx_InputAssembler_proto; extern se::Class* __jsb_cc_gfx_InputAssembler_class; @@ -554,30 +670,6 @@ SE_DECLARE_FUNC(js_gfx_InputAssembler_destroy); SE_DECLARE_FUNC(js_gfx_InputAssembler_initialize); SE_DECLARE_FUNC(js_gfx_InputAssembler_InputAssembler); -extern se::Object* __jsb_cc_gfx_RenderPass_proto; -extern se::Class* __jsb_cc_gfx_RenderPass_class; - -bool js_register_cc_gfx_RenderPass(se::Object* obj); -bool register_all_gfx(se::Object* obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::RenderPass); -SE_DECLARE_FUNC(js_gfx_RenderPass_destroy); -SE_DECLARE_FUNC(js_gfx_RenderPass_getDepthStencilAttachment); -SE_DECLARE_FUNC(js_gfx_RenderPass_getSubPasses); -SE_DECLARE_FUNC(js_gfx_RenderPass_initialize); -SE_DECLARE_FUNC(js_gfx_RenderPass_RenderPass); - -extern se::Object* __jsb_cc_gfx_Framebuffer_proto; -extern se::Class* __jsb_cc_gfx_Framebuffer_class; - -bool js_register_cc_gfx_Framebuffer(se::Object* obj); -bool register_all_gfx(se::Object* obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::Framebuffer); -SE_DECLARE_FUNC(js_gfx_Framebuffer_destroy); -SE_DECLARE_FUNC(js_gfx_Framebuffer_initialize); -SE_DECLARE_FUNC(js_gfx_Framebuffer_Framebuffer); - extern se::Object* __jsb_cc_gfx_PipelineLayout_proto; extern se::Class* __jsb_cc_gfx_PipelineLayout_class; @@ -603,6 +695,58 @@ SE_DECLARE_FUNC(js_gfx_PipelineState_getPipelineLayout); SE_DECLARE_FUNC(js_gfx_PipelineState_initialize); SE_DECLARE_FUNC(js_gfx_PipelineState_PipelineState); +extern se::Object* __jsb_cc_gfx_Queue_proto; +extern se::Class* __jsb_cc_gfx_Queue_class; + +bool js_register_cc_gfx_Queue(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::gfx::Queue); +SE_DECLARE_FUNC(js_gfx_Queue_destroy); +SE_DECLARE_FUNC(js_gfx_Queue_initialize); +SE_DECLARE_FUNC(js_gfx_Queue_submitForJS); +SE_DECLARE_FUNC(js_gfx_Queue_Queue); + +extern se::Object* __jsb_cc_gfx_RenderPass_proto; +extern se::Class* __jsb_cc_gfx_RenderPass_class; + +bool js_register_cc_gfx_RenderPass(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::gfx::RenderPass); +SE_DECLARE_FUNC(js_gfx_RenderPass_destroy); +SE_DECLARE_FUNC(js_gfx_RenderPass_getDepthStencilAttachment); +SE_DECLARE_FUNC(js_gfx_RenderPass_getSubpasses); +SE_DECLARE_FUNC(js_gfx_RenderPass_initialize); +SE_DECLARE_FUNC(js_gfx_RenderPass_RenderPass); + +extern se::Object* __jsb_cc_gfx_Sampler_proto; +extern se::Class* __jsb_cc_gfx_Sampler_class; + +bool js_register_cc_gfx_Sampler(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::gfx::Sampler); +SE_DECLARE_FUNC(js_gfx_Sampler_destroy); +SE_DECLARE_FUNC(js_gfx_Sampler_initialize); +SE_DECLARE_FUNC(js_gfx_Sampler_Sampler); + +extern se::Object* __jsb_cc_gfx_Shader_proto; +extern se::Class* __jsb_cc_gfx_Shader_class; + +bool js_register_cc_gfx_Shader(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::gfx::Shader); +SE_DECLARE_FUNC(js_gfx_Shader_destroy); +SE_DECLARE_FUNC(js_gfx_Shader_getBuffers); +SE_DECLARE_FUNC(js_gfx_Shader_getImages); +SE_DECLARE_FUNC(js_gfx_Shader_getSamplerTextures); +SE_DECLARE_FUNC(js_gfx_Shader_getSubpassInputs); +SE_DECLARE_FUNC(js_gfx_Shader_getTextures); +SE_DECLARE_FUNC(js_gfx_Shader_initialize); +SE_DECLARE_FUNC(js_gfx_Shader_Shader); + extern se::Object* __jsb_cc_gfx_Texture_proto; extern se::Class* __jsb_cc_gfx_Texture_class; @@ -615,17 +759,16 @@ SE_DECLARE_FUNC(js_gfx_Texture_isTextureView); SE_DECLARE_FUNC(js_gfx_Texture_resize); SE_DECLARE_FUNC(js_gfx_Texture_Texture); -extern se::Object* __jsb_cc_gfx_Shader_proto; -extern se::Class* __jsb_cc_gfx_Shader_class; +extern se::Object* __jsb_cc_gfx_TextureBarrier_proto; +extern se::Class* __jsb_cc_gfx_TextureBarrier_class; -bool js_register_cc_gfx_Shader(se::Object* obj); +bool js_register_cc_gfx_TextureBarrier(se::Object* obj); bool register_all_gfx(se::Object* obj); -JSB_REGISTER_OBJECT_TYPE(cc::gfx::Shader); -SE_DECLARE_FUNC(js_gfx_Shader_destroy); -SE_DECLARE_FUNC(js_gfx_Shader_getBuffers); -SE_DECLARE_FUNC(js_gfx_Shader_initialize); -SE_DECLARE_FUNC(js_gfx_Shader_Shader); +JSB_REGISTER_OBJECT_TYPE(cc::gfx::TextureBarrier); +SE_DECLARE_FUNC(js_gfx_TextureBarrier_get); +SE_DECLARE_FUNC(js_gfx_TextureBarrier_computeHash); +SE_DECLARE_FUNC(js_gfx_TextureBarrier_TextureBarrier); extern se::Object* __jsb_cc_gfx_Device_proto; extern se::Class* __jsb_cc_gfx_Device_class; @@ -639,8 +782,8 @@ SE_DECLARE_FUNC(js_gfx_Device_bindingMappingInfo); SE_DECLARE_FUNC(js_gfx_Device_createCommandBuffer); SE_DECLARE_FUNC(js_gfx_Device_createDescriptorSet); SE_DECLARE_FUNC(js_gfx_Device_createDescriptorSetLayout); -SE_DECLARE_FUNC(js_gfx_Device_createFence); SE_DECLARE_FUNC(js_gfx_Device_createFramebuffer); +SE_DECLARE_FUNC(js_gfx_Device_createGlobalBarrier); SE_DECLARE_FUNC(js_gfx_Device_createInputAssembler); SE_DECLARE_FUNC(js_gfx_Device_createPipelineLayout); SE_DECLARE_FUNC(js_gfx_Device_createPipelineState); @@ -651,7 +794,6 @@ SE_DECLARE_FUNC(js_gfx_Device_createShader); SE_DECLARE_FUNC(js_gfx_Device_destroy); SE_DECLARE_FUNC(js_gfx_Device_flushCommandsForJS); SE_DECLARE_FUNC(js_gfx_Device_genShaderId); -SE_DECLARE_FUNC(js_gfx_Device_getUboOffsetAlignment); SE_DECLARE_FUNC(js_gfx_Device_hasFeature); SE_DECLARE_FUNC(js_gfx_Device_initialize); SE_DECLARE_FUNC(js_gfx_Device_present); diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.cpp b/native/cocos/bindings/auto/jsb_gles3_auto.cpp index 6347404eff..10f24f055c 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles3_auto.cpp @@ -13,6 +13,25 @@ se::Object* __jsb_cc_gfx_GLES3Device_proto = nullptr; se::Class* __jsb_cc_gfx_GLES3Device_class = nullptr; +static bool js_gles3_GLES3Device_getMinorVersion(se::State& s) +{ + cc::gfx::GLES3Device* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gles3_GLES3Device_getMinorVersion : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMinorVersion(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gles3_GLES3Device_getMinorVersion : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gles3_GLES3Device_getMinorVersion) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GLES3Device_finalize) static bool js_gles3_GLES3Device_constructor(se::State& s) // constructor.c @@ -45,6 +64,7 @@ bool js_register_gles3_GLES3Device(se::Object* obj) { auto cls = se::Class::create("GLES3Device", obj, __jsb_cc_gfx_Device_proto, _SE(js_gles3_GLES3Device_constructor)); + cls->defineFunction("getMinorVersion", _SE(js_gles3_GLES3Device_getMinorVersion)); cls->defineFinalizeFunction(_SE(js_cc_gfx_GLES3Device_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.h b/native/cocos/bindings/auto/jsb_gles3_auto.h index be1e8d7569..9246183412 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.h +++ b/native/cocos/bindings/auto/jsb_gles3_auto.h @@ -12,5 +12,6 @@ bool js_register_cc_gfx_GLES3Device(se::Object* obj); bool register_all_gles3(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::GLES3Device); +SE_DECLARE_FUNC(js_gles3_GLES3Device_getMinorVersion); SE_DECLARE_FUNC(js_gles3_GLES3Device_GLES3Device); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp index 3d56db8127..633eed98de 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ b/native/cocos/bindings/auto/jsb_mtl_auto.cpp @@ -13,6 +13,40 @@ se::Object* __jsb_cc_gfx_CCMTLDevice_proto = nullptr; se::Class* __jsb_cc_gfx_CCMTLDevice_class = nullptr; +static bool js_mtl_CCMTLDevice_disposeCurrentDrawable(se::State& s) +{ + cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_disposeCurrentDrawable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->disposeCurrentDrawable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_mtl_CCMTLDevice_disposeCurrentDrawable) + +static bool js_mtl_CCMTLDevice_getCurrentDrawable(se::State& s) +{ + cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getCurrentDrawable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + void* result = cobj->getCurrentDrawable(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getCurrentDrawable : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_mtl_CCMTLDevice_getCurrentDrawable) + static bool js_mtl_CCMTLDevice_getDSSTexture(se::State& s) { cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); @@ -51,6 +85,21 @@ static bool js_mtl_CCMTLDevice_getMTLLayer(se::State& s) } SE_BIND_FUNC(js_mtl_CCMTLDevice_getMTLLayer) +static bool js_mtl_CCMTLDevice_presentCompleted(se::State& s) +{ + cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_presentCompleted : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->presentCompleted(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_mtl_CCMTLDevice_presentCompleted) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) static bool js_mtl_CCMTLDevice_constructor(se::State& s) // constructor.c @@ -83,8 +132,11 @@ bool js_register_mtl_CCMTLDevice(se::Object* obj) { auto cls = se::Class::create("CCMTLDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_mtl_CCMTLDevice_constructor)); + cls->defineFunction("disposeCurrentDrawable", _SE(js_mtl_CCMTLDevice_disposeCurrentDrawable)); + cls->defineFunction("getCurrentDrawable", _SE(js_mtl_CCMTLDevice_getCurrentDrawable)); cls->defineFunction("getDSSTexture", _SE(js_mtl_CCMTLDevice_getDSSTexture)); cls->defineFunction("getMTLLayer", _SE(js_mtl_CCMTLDevice_getMTLLayer)); + cls->defineFunction("presentCompleted", _SE(js_mtl_CCMTLDevice_presentCompleted)); cls->defineFinalizeFunction(_SE(js_cc_gfx_CCMTLDevice_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index 6d5b51906f..df30f58288 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -12,7 +12,10 @@ bool js_register_cc_gfx_CCMTLDevice(se::Object* obj); bool register_all_mtl(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCMTLDevice); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_disposeCurrentDrawable); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getCurrentDrawable); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getDSSTexture); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getMTLLayer); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_presentCompleted); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_CCMTLDevice); diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp index 40cf1dff70..0b589eca20 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -2098,6 +2098,25 @@ static bool js_pipeline_RenderPipeline_render(se::State& s) } SE_BIND_FUNC(js_pipeline_RenderPipeline_render) +static bool js_pipeline_RenderPipeline_setPipelineSharedSceneData(se::State& s) +{ + cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_pipeline_RenderPipeline_setPipelineSharedSceneData : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_pipeline_RenderPipeline_setPipelineSharedSceneData : Error processing arguments"); + cobj->setPipelineSharedSceneData(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_pipeline_RenderPipeline_setPipelineSharedSceneData) + static bool js_pipeline_RenderPipeline_setValue(se::State& s) { cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); @@ -2149,6 +2168,7 @@ bool js_register_pipeline_RenderPipeline(se::Object* obj) cls->defineFunction("destroy", _SE(js_pipeline_RenderPipeline_destroy)); cls->defineFunction("initialize", _SE(js_pipeline_RenderPipeline_initialize)); cls->defineFunction("render", _SE(js_pipeline_RenderPipeline_render)); + cls->defineFunction("setPipelineSharedSceneData", _SE(js_pipeline_RenderPipeline_setPipelineSharedSceneData)); cls->defineFunction("setValue", _SE(js_pipeline_RenderPipeline_setValue)); cls->defineStaticFunction("getInstance", _SE(js_pipeline_RenderPipeline_getInstance)); cls->install(); @@ -2164,101 +2184,6 @@ bool js_register_pipeline_RenderPipeline(se::Object* obj) se::Object* __jsb_cc_pipeline_ForwardPipeline_proto = nullptr; se::Class* __jsb_cc_pipeline_ForwardPipeline_class = nullptr; -static bool js_pipeline_ForwardPipeline_getSphere(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_getSphere : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - cc::pipeline::Sphere* result = cobj->getSphere(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_getSphere : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_getSphere) - -static bool js_pipeline_ForwardPipeline_setAmbient(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_setAmbient : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_setAmbient : Error processing arguments"); - cobj->setAmbient(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_setAmbient) - -static bool js_pipeline_ForwardPipeline_setFog(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_setFog : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_setFog : Error processing arguments"); - cobj->setFog(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_setFog) - -static bool js_pipeline_ForwardPipeline_setShadows(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_setShadows : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_setShadows : Error processing arguments"); - cobj->setShadows(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_setShadows) - -static bool js_pipeline_ForwardPipeline_setSkybox(se::State& s) -{ - cc::pipeline::ForwardPipeline* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_pipeline_ForwardPipeline_setSkybox : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_pipeline_ForwardPipeline_setSkybox : Error processing arguments"); - cobj->setSkybox(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_pipeline_ForwardPipeline_setSkybox) - SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_ForwardPipeline_finalize) static bool js_pipeline_ForwardPipeline_constructor(se::State& s) // constructor.c @@ -2291,11 +2216,6 @@ bool js_register_pipeline_ForwardPipeline(se::Object* obj) { auto cls = se::Class::create("ForwardPipeline", obj, __jsb_cc_pipeline_RenderPipeline_proto, _SE(js_pipeline_ForwardPipeline_constructor)); - cls->defineFunction("getSphere", _SE(js_pipeline_ForwardPipeline_getSphere)); - cls->defineFunction("setAmbient", _SE(js_pipeline_ForwardPipeline_setAmbient)); - cls->defineFunction("setFog", _SE(js_pipeline_ForwardPipeline_setFog)); - cls->defineFunction("setShadows", _SE(js_pipeline_ForwardPipeline_setShadows)); - cls->defineFunction("setSkybox", _SE(js_pipeline_ForwardPipeline_setSkybox)); cls->defineFinalizeFunction(_SE(js_cc_pipeline_ForwardPipeline_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.h b/native/cocos/bindings/auto/jsb_pipeline_auto.h index ffdff6555d..70465463ee 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.h +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.h @@ -90,6 +90,7 @@ SE_DECLARE_FUNC(js_pipeline_RenderPipeline_activate); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_destroy); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_initialize); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_render); +SE_DECLARE_FUNC(js_pipeline_RenderPipeline_setPipelineSharedSceneData); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_setValue); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_getInstance); @@ -100,11 +101,6 @@ bool js_register_cc_pipeline_ForwardPipeline(se::Object* obj); bool register_all_pipeline(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::pipeline::ForwardPipeline); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_getSphere); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_setAmbient); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_setFog); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_setShadows); -SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_setSkybox); SE_DECLARE_FUNC(js_pipeline_ForwardPipeline_ForwardPipeline); extern se::Object* __jsb_cc_pipeline_RenderFlowInfo_proto; diff --git a/native/cocos/bindings/manual/jsb_conversions.h b/native/cocos/bindings/manual/jsb_conversions.h index 2a064ee12a..4bc3edd784 100644 --- a/native/cocos/bindings/manual/jsb_conversions.h +++ b/native/cocos/bindings/manual/jsb_conversions.h @@ -1239,7 +1239,6 @@ inline bool nativevalue_to_se(const T &from, se::Value &to, se::Object *ctx) { to.setNumber((double)static_cast>(from)); return true; } else { - static_assert(!std::is_const::value, "Only non-const value accepted here"); return nativevalue_to_se::value, T, typename std::add_const::type>>(from, to, ctx); } return false; diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index dcfaab7a47..f04654124d 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -30,7 +30,6 @@ THE SOFTWARE. #include "gfx/GFXBuffer.h" #include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXCommandPool.h" #include "gfx/GFXContext.h" #include "gfx/GFXDescriptorSet.h" #include "gfx/GFXDescriptorSetLayout.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 09568928de..cdbe222d22 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -62,7 +62,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { } ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); - setMultithreaded(true); + //setMultithreaded(true); return true; } diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp index 459a0ab333..15618c2b61 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp @@ -29,8 +29,6 @@ bool SamplerAgent::initialize(const SamplerInfo &info) { _maxAnisotropy = info.maxAnisotropy; _cmpFunc = info.cmpFunc; _borderColor = info.borderColor; - _minLOD = info.minLOD; - _maxLOD = info.maxLOD; _mipLODBias = info.mipLODBias; ENQUEUE_MESSAGE_2( diff --git a/native/cocos/renderer/core/gfx/GFXDef-common.h b/native/cocos/renderer/core/gfx/GFXDef-common.h index 8fe650a831..fa4f5328f0 100644 --- a/native/cocos/renderer/core/gfx/GFXDef-common.h +++ b/native/cocos/renderer/core/gfx/GFXDef-common.h @@ -22,6 +22,30 @@ namespace cc { namespace gfx { +class Device; +class Buffer; +class GlobalBarrier; +class TextureBarrier; +class Texture; +class Sampler; +class Shader; +class InputAssembler; +class RenderPass; +class Framebuffer; +class DescriptorSetLayout; +class PipelineLayout; +class PipelineState; +class DescriptorSet; +class CommandAllocator; +class CommandBuffer; +class Queue; +class Window; +class Context; + +using TextureBarrierList = vector; +using BufferDataList = vector; +using CommandBufferList = vector; + #define GFX_MAX_ATTACHMENTS 4 #define GFX_INVALID_BINDING ((uint)-1) @@ -543,7 +567,7 @@ enum class AccessType { HOST_WRITE, // Written on the host }; -using AccessTypeList = vector; +using AccessTypeList = std::vector; enum class PipelineBindPoint { GRAPHICS, @@ -798,8 +822,8 @@ using ColorList = vector; * offsets for each descriptor type in each set. */ struct BindingMappingInfo { - vector bufferOffsets; - vector samplerOffsets; + std::vector bufferOffsets; + std::vector samplerOffsets; uint flexibleSet = 0u; }; @@ -875,20 +899,11 @@ struct SamplerInfo { Address addressV = Address::WRAP; Address addressW = Address::WRAP; uint maxAnisotropy = 0u; - ComparisonFunc cmpFunc = ComparisonFunc::NEVER; + ComparisonFunc cmpFunc = ComparisonFunc::ALWAYS; Color borderColor; - uint minLOD = 0; - uint maxLOD = 1000; float mipLODBias = 0.0f; }; -struct ShaderMacro { - String macro; - String value; -}; - -using ShaderMacroList = vector; - struct Uniform { String name; Type type = Type::UNKNOWN; @@ -1009,8 +1024,8 @@ struct ColorAttachment { SampleCount sampleCount = SampleCount::X1; LoadOp loadOp = LoadOp::CLEAR; StoreOp storeOp = StoreOp::STORE; - vector beginAccesses; - vector endAccesses{AccessType::PRESENT}; + std::vector beginAccesses; + std::vector endAccesses{AccessType::PRESENT}; }; using ColorAttachmentList = vector; @@ -1022,15 +1037,15 @@ struct DepthStencilAttachment { StoreOp depthStoreOp = StoreOp::STORE; LoadOp stencilLoadOp = LoadOp::CLEAR; StoreOp stencilStoreOp = StoreOp::STORE; - vector beginAccesses; - vector endAccesses{AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; + std::vector beginAccesses; + std::vector endAccesses{AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; }; struct SubpassInfo { - vector inputs; - vector colors; - vector resolves; - vector preserves; + std::vector inputs; + std::vector colors; + std::vector resolves; + std::vector preserves; uint depthStencil = GFX_INVALID_BINDING; }; @@ -1043,14 +1058,14 @@ struct RenderPassInfo { }; struct GlobalBarrierInfo { - vector prevAccesses; - vector nextAccesses; + std::vector prevAccesses; + std::vector nextAccesses; }; using GlobalBarrierInfoList = vector; struct TextureBarrierInfo { - vector prevAccesses; - vector nextAccesses; + std::vector prevAccesses; + std::vector nextAccesses; bool discardContents = false; @@ -1063,7 +1078,7 @@ struct FramebufferInfo { RenderPass * renderPass = nullptr; TextureList colorTextures; // @ts-overrides { type: '(Texture | null)[]' } Texture * depthStencilTexture = nullptr; // @ts-nullable - vector colorMipmapLevels; + std::vector colorMipmapLevels; uint depthStencilMipmapLevel = 0; }; @@ -1186,22 +1201,11 @@ struct FormatInfo { const bool isCompressed = false; }; -extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; -extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; -extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; - -extern const FormatInfo GFX_FORMAT_INFOS[]; -extern const uint GFX_TYPE_SIZES[]; - struct MemoryStatus { uint bufferSize = 0; uint textureSize = 0; }; -extern uint FormatSize(Format format, uint width, uint height, uint depth); - -extern uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips); - } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 04173654a5..8912823ebb 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -1,36 +1,6 @@ #ifndef CC_CORE_GFX_DEF_H_ #define CC_CORE_GFX_DEF_H_ -namespace cc { -namespace gfx { - -class Device; -class Buffer; -class GlobalBarrier; -class TextureBarrier; -class Texture; -class Sampler; -class Shader; -class InputAssembler; -class RenderPass; -class Framebuffer; -class DescriptorSetLayout; -class PipelineLayout; -class PipelineState; -class DescriptorSet; -class CommandAllocator; -class CommandBuffer; -class Queue; -class Window; -class Context; - -using TextureBarrierList = vector; -using BufferDataList = vector; -using CommandBufferList = vector; - -} // namespace gfx -} // namespace cc - #include "GFXDef-common.h" namespace cc { @@ -91,6 +61,17 @@ struct ContextInfo { VsyncMode vsyncMode = VsyncMode::RELAXED; }; +extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; +extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; +extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; + +extern const FormatInfo GFX_FORMAT_INFOS[]; +extern const uint GFX_TYPE_SIZES[]; + +extern uint FormatSize(Format format, uint width, uint height, uint depth); + +extern uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips); + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h index f3e8cb0ffa..d81c5bef14 100644 --- a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h +++ b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h @@ -18,7 +18,7 @@ public: protected: friend class Device; - virtual bool initialize(const GlobalBarrierInfo &info) { return true; } + virtual bool initialize(const GlobalBarrierInfo &info) { _info = info; return true; } Device *_device = nullptr; GlobalBarrierInfo _info; diff --git a/native/cocos/renderer/core/gfx/GFXSampler.h b/native/cocos/renderer/core/gfx/GFXSampler.h index eb4d2557b8..023f8147c3 100755 --- a/native/cocos/renderer/core/gfx/GFXSampler.h +++ b/native/cocos/renderer/core/gfx/GFXSampler.h @@ -24,8 +24,6 @@ public: CC_INLINE uint getMaxAnisotropy() const { return _maxAnisotropy; } CC_INLINE ComparisonFunc getCmpFunc() const { return _cmpFunc; } CC_INLINE const Color &getBorderColor() const { return _borderColor; } - CC_INLINE uint getMinLOD() const { return _minLOD; } - CC_INLINE uint getMaxLOD() const { return _maxLOD; } CC_INLINE float getMipLODBias() const { return _mipLODBias; } protected: @@ -39,8 +37,6 @@ protected: uint _maxAnisotropy = 0; ComparisonFunc _cmpFunc = ComparisonFunc::ALWAYS; Color _borderColor; - uint _minLOD = 0; - uint _maxLOD = 0; float _mipLODBias = 0.0f; }; diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h index feebb25436..97730c5302 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h @@ -18,7 +18,7 @@ public: protected: friend class Device; - virtual bool initialize(const TextureBarrierInfo &info) { return true; } + virtual bool initialize(const TextureBarrierInfo &info) { _info = info; return true; } Device *_device = nullptr; TextureBarrierInfo _info; diff --git a/native/cocos/renderer/core/gfx/GFXCommandPool.h b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h similarity index 80% rename from native/cocos/renderer/core/gfx/GFXCommandPool.h rename to native/cocos/renderer/gfx-gles-common/GLESCommandPool.h index 1c35cc99d5..cd9c726df5 100644 --- a/native/cocos/renderer/core/gfx/GFXCommandPool.h +++ b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h @@ -3,9 +3,33 @@ namespace cc { namespace gfx { +enum class GLESCmdType : uint8_t { + BEGIN_RENDER_PASS, + END_RENDER_PASS, + BIND_STATES, + DRAW, + UPDATE_BUFFER, + COPY_BUFFER_TO_TEXTURE, + BLIT_TEXTURE, + DISPATCH, + BARRIER, + COUNT, +}; + +class GLESCmd : public Object { +public: + GLESCmdType type; + uint refCount = 0; + + GLESCmd(GLESCmdType _type) : type(_type) {} + virtual ~GLESCmd() {} + + virtual void clear() = 0; +}; + #define INITIAL_CAPACITY 1 -template +template ::value>> class CommandPool { public: CommandPool() : _freeCmds(INITIAL_CAPACITY) { diff --git a/native/cocos/renderer/gfx-gles-common/eglw.cpp b/native/cocos/renderer/gfx-gles-common/eglw.cpp new file mode 100644 index 0000000000..696ae713a9 --- /dev/null +++ b/native/cocos/renderer/gfx-gles-common/eglw.cpp @@ -0,0 +1,726 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) + +#define EGL_EGL_PROTOTYPES 0 +#include +#include +#include + +#include "eglw.h" + +/** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from EGL spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ + +/* EGLW_GENERATE_EGL_DEFINITION */ +PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +PFNEGLCHOOSECONFIGPROC eglChooseConfig; +PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +PFNEGLCREATECONTEXTPROC eglCreateContext; +PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +PFNEGLDESTROYSURFACEPROC eglDestroySurface; +PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +PFNEGLGETCONFIGSPROC eglGetConfigs; +PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +PFNEGLGETDISPLAYPROC eglGetDisplay; +PFNEGLGETERRORPROC eglGetError; +PFNEGLINITIALIZEPROC eglInitialize; +PFNEGLMAKECURRENTPROC eglMakeCurrent; +PFNEGLQUERYCONTEXTPROC eglQueryContext; +PFNEGLQUERYSTRINGPROC eglQueryString; +PFNEGLQUERYSURFACEPROC eglQuerySurface; +PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +PFNEGLTERMINATEPROC eglTerminate; +PFNEGLWAITGLPROC eglWaitGL; +PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +PFNEGLBINDAPIPROC eglBindAPI; +PFNEGLQUERYAPIPROC eglQueryAPI; +PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +PFNEGLRELEASETHREADPROC eglReleaseThread; +PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +PFNEGLCREATESYNCPROC eglCreateSync; +PFNEGLDESTROYSYNCPROC eglDestroySync; +PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +PFNEGLCREATEIMAGEPROC eglCreateImage; +PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +PFNEGLFENCENVPROC eglFenceNV; +PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + +/* EGLW_GENERATE_EGL_DEFINITION */ + +/** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from EGL spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ +#endif + +void eglwLoadProcs(PFNEGLWLOADPROC eglwLoad) { +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) + /** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from EGL spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ + + /* EGLW_GENERATE_EGL_LOAD */ + eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)eglwLoad("eglGetProcAddress"); + + /* EGL_VERSION_1_0 */ + eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)eglwLoad("eglChooseConfig"); + eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)eglwLoad("eglCopyBuffers"); + eglCreateContext = (PFNEGLCREATECONTEXTPROC)eglwLoad("eglCreateContext"); + eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)eglwLoad("eglCreatePbufferSurface"); + eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)eglwLoad("eglCreatePixmapSurface"); + eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)eglwLoad("eglCreateWindowSurface"); + eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)eglwLoad("eglDestroyContext"); + eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)eglwLoad("eglDestroySurface"); + eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)eglwLoad("eglGetConfigAttrib"); + eglGetConfigs = (PFNEGLGETCONFIGSPROC)eglwLoad("eglGetConfigs"); + eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)eglwLoad("eglGetCurrentDisplay"); + eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)eglwLoad("eglGetCurrentSurface"); + eglGetDisplay = (PFNEGLGETDISPLAYPROC)eglwLoad("eglGetDisplay"); + eglGetError = (PFNEGLGETERRORPROC)eglwLoad("eglGetError"); + eglInitialize = (PFNEGLINITIALIZEPROC)eglwLoad("eglInitialize"); + eglMakeCurrent = (PFNEGLMAKECURRENTPROC)eglwLoad("eglMakeCurrent"); + eglQueryContext = (PFNEGLQUERYCONTEXTPROC)eglwLoad("eglQueryContext"); + eglQueryString = (PFNEGLQUERYSTRINGPROC)eglwLoad("eglQueryString"); + eglQuerySurface = (PFNEGLQUERYSURFACEPROC)eglwLoad("eglQuerySurface"); + eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)eglwLoad("eglSwapBuffers"); + eglTerminate = (PFNEGLTERMINATEPROC)eglwLoad("eglTerminate"); + eglWaitGL = (PFNEGLWAITGLPROC)eglwLoad("eglWaitGL"); + eglWaitNative = (PFNEGLWAITNATIVEPROC)eglwLoad("eglWaitNative"); + + + /* EGL_VERSION_1_1 */ + eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)eglwLoad("eglBindTexImage"); + eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)eglwLoad("eglReleaseTexImage"); + eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)eglwLoad("eglSurfaceAttrib"); + eglSwapInterval = (PFNEGLSWAPINTERVALPROC)eglwLoad("eglSwapInterval"); + + + /* EGL_VERSION_1_2 */ + eglBindAPI = (PFNEGLBINDAPIPROC)eglwLoad("eglBindAPI"); + eglQueryAPI = (PFNEGLQUERYAPIPROC)eglwLoad("eglQueryAPI"); + eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)eglwLoad("eglCreatePbufferFromClientBuffer"); + eglReleaseThread = (PFNEGLRELEASETHREADPROC)eglwLoad("eglReleaseThread"); + eglWaitClient = (PFNEGLWAITCLIENTPROC)eglwLoad("eglWaitClient"); + + + /* EGL_VERSION_1_3 */ + + /* EGL_VERSION_1_4 */ + eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)eglwLoad("eglGetCurrentContext"); + + + /* EGL_VERSION_1_5 */ + eglCreateSync = (PFNEGLCREATESYNCPROC)eglwLoad("eglCreateSync"); + eglDestroySync = (PFNEGLDESTROYSYNCPROC)eglwLoad("eglDestroySync"); + eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)eglwLoad("eglClientWaitSync"); + eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)eglwLoad("eglGetSyncAttrib"); + + eglCreateImage = (PFNEGLCREATEIMAGEPROC)eglwLoad("eglCreateImage"); + eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)eglwLoad("eglDestroyImage"); + + eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)eglwLoad("eglGetPlatformDisplay"); + eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)eglwLoad("eglCreatePlatformWindowSurface"); + eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)eglwLoad("eglCreatePlatformPixmapSurface"); + + eglWaitSync = (PFNEGLWAITSYNCPROC)eglwLoad("eglWaitSync"); + + +#if defined(EGL_ANDROID_blob_cache) + eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)eglwLoad("eglSetBlobCacheFuncsANDROID"); +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) + eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglCreateNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) + eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)eglwLoad("eglGetNativeClientBufferANDROID"); +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) + eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)eglwLoad("eglDupNativeFenceFDANDROID"); +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) + eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)eglwLoad("eglPresentationTimeANDROID"); +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) + eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)eglwLoad("eglGetCompositorTimingSupportedANDROID"); + eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)eglwLoad("eglGetCompositorTimingANDROID"); + eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)eglwLoad("eglGetNextFrameIdANDROID"); + eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)eglwLoad("eglGetFrameTimestampSupportedANDROID"); + eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)eglwLoad("eglGetFrameTimestampsANDROID"); +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) + eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)eglwLoad("eglQuerySurfacePointerANGLE"); +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) + eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)eglwLoad("eglClientSignalSyncEXT"); +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) + eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)eglwLoad("eglQueryDeviceAttribEXT"); + eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)eglwLoad("eglQueryDeviceStringEXT"); + eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)eglwLoad("eglQueryDevicesEXT"); + eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)eglwLoad("eglQueryDisplayAttribEXT"); +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) + eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)eglwLoad("eglQueryDmaBufFormatsEXT"); + eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)eglwLoad("eglQueryDmaBufModifiersEXT"); +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) + eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)eglwLoad("eglGetOutputLayersEXT"); + eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)eglwLoad("eglGetOutputPortsEXT"); + eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglOutputLayerAttribEXT"); + eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)eglwLoad("eglQueryOutputLayerAttribEXT"); + eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)eglwLoad("eglQueryOutputLayerStringEXT"); + eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglOutputPortAttribEXT"); + eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)eglwLoad("eglQueryOutputPortAttribEXT"); + eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)eglwLoad("eglQueryOutputPortStringEXT"); +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) + eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)eglwLoad("eglGetPlatformDisplayEXT"); + eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)eglwLoad("eglCreatePlatformWindowSurfaceEXT"); + eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)eglwLoad("eglCreatePlatformPixmapSurfaceEXT"); +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) + eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)eglwLoad("eglStreamConsumerOutputEXT"); +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) + eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)eglwLoad("eglSwapBuffersWithDamageEXT"); +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) + eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)eglwLoad("eglUnsignalSyncEXT"); +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) + eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)eglwLoad("eglCreatePixmapSurfaceHI"); +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) + eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)eglwLoad("eglCreateSync64KHR"); +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) + eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)eglwLoad("eglDebugMessageControlKHR"); + eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)eglwLoad("eglQueryDebugKHR"); + eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)eglwLoad("eglLabelObjectKHR"); +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) + eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)eglwLoad("eglQueryDisplayAttribKHR"); +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) + eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)eglwLoad("eglCreateSyncKHR"); + eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)eglwLoad("eglDestroySyncKHR"); + eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)eglwLoad("eglClientWaitSyncKHR"); + eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)eglwLoad("eglGetSyncAttribKHR"); +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) + eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)eglwLoad("eglCreateImageKHR"); + eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)eglwLoad("eglDestroyImageKHR"); +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) + eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)eglwLoad("eglLockSurfaceKHR"); + eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)eglwLoad("eglUnlockSurfaceKHR"); +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) + eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)eglwLoad("eglQuerySurface64KHR"); +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) + eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)eglwLoad("eglSetDamageRegionKHR"); +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) + eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)eglwLoad("eglSignalSyncKHR"); +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) + eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)eglwLoad("eglCreateStreamKHR"); + eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)eglwLoad("eglDestroyStreamKHR"); + eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)eglwLoad("eglStreamAttribKHR"); + eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)eglwLoad("eglQueryStreamKHR"); + eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)eglwLoad("eglQueryStreamu64KHR"); +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) + eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)eglwLoad("eglCreateStreamAttribKHR"); + eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)eglwLoad("eglSetStreamAttribKHR"); + eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)eglwLoad("eglQueryStreamAttribKHR"); + eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)eglwLoad("eglStreamConsumerAcquireAttribKHR"); + eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)eglwLoad("eglStreamConsumerReleaseAttribKHR"); +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) + eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)eglwLoad("eglStreamConsumerGLTextureExternalKHR"); + eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)eglwLoad("eglStreamConsumerAcquireKHR"); + eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)eglwLoad("eglStreamConsumerReleaseKHR"); +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) + eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)eglwLoad("eglGetStreamFileDescriptorKHR"); + eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)eglwLoad("eglCreateStreamFromFileDescriptorKHR"); +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) + eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)eglwLoad("eglQueryStreamTimeKHR"); +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) + eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)eglwLoad("eglCreateStreamProducerSurfaceKHR"); +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) + eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)eglwLoad("eglSwapBuffersWithDamageKHR"); +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) + eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)eglwLoad("eglWaitSyncKHR"); +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) + eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)eglwLoad("eglCreateDRMImageMESA"); + eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)eglwLoad("eglExportDRMImageMESA"); +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) + eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)eglwLoad("eglExportDMABUFImageQueryMESA"); + eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)eglwLoad("eglExportDMABUFImageMESA"); +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) + eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)eglwLoad("eglGetDisplayDriverConfig"); + eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)eglwLoad("eglGetDisplayDriverName"); +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) + eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)eglwLoad("eglSwapBuffersRegionNOK"); +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) + eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)eglwLoad("eglSwapBuffersRegion2NOK"); +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) + eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)eglwLoad("eglQueryNativeDisplayNV"); + eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)eglwLoad("eglQueryNativeWindowNV"); + eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)eglwLoad("eglQueryNativePixmapNV"); +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) + eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)eglwLoad("eglPostSubBufferNV"); +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) + eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)eglwLoad("eglStreamConsumerGLTextureExternalAttribsNV"); +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) + eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)eglwLoad("eglStreamImageConsumerConnectNV"); + eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)eglwLoad("eglQueryStreamConsumerEventNV"); + eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)eglwLoad("eglStreamAcquireImageNV"); + eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)eglwLoad("eglStreamReleaseImageNV"); +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) + eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)eglwLoad("eglStreamFlushNV"); +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) + eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)eglwLoad("eglQueryDisplayAttribNV"); + eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)eglwLoad("eglSetStreamMetadataNV"); + eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)eglwLoad("eglQueryStreamMetadataNV"); +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) + eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)eglwLoad("eglResetStreamNV"); +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) + eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)eglwLoad("eglCreateStreamSyncNV"); +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) + eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)eglwLoad("eglCreateFenceSyncNV"); + eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)eglwLoad("eglDestroySyncNV"); + eglFenceNV = (PFNEGLFENCENVPROC)eglwLoad("eglFenceNV"); + eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)eglwLoad("eglClientWaitSyncNV"); + eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)eglwLoad("eglSignalSyncNV"); + eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)eglwLoad("eglGetSyncAttribNV"); +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) + eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)eglwLoad("eglGetSystemTimeFrequencyNV"); + eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)eglwLoad("eglGetSystemTimeNV"); +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) + eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)eglwLoad("eglCompositorSetContextListEXT"); + eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetContextAttributesEXT"); + eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)eglwLoad("eglCompositorSetWindowListEXT"); + eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)eglwLoad("eglCompositorSetWindowAttributesEXT"); + eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)eglwLoad("eglCompositorBindTexWindowEXT"); + eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)eglwLoad("eglCompositorSetSizeEXT"); + eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)eglwLoad("eglCompositorSwapPolicyEXT"); +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) + eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglBindWaylandDisplayWL"); + eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)eglwLoad("eglUnbindWaylandDisplayWL"); + eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)eglwLoad("eglQueryWaylandBufferWL"); +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) + eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)eglwLoad("eglCreateWaylandBufferFromImageWL"); +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + + /* EGLW_GENERATE_EGL_LOAD */ + + /** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from EGL spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ +#endif +} diff --git a/native/cocos/renderer/gfx-gles-common/eglw.h b/native/cocos/renderer/gfx-gles-common/eglw.h new file mode 100644 index 0000000000..5d258c1f15 --- /dev/null +++ b/native/cocos/renderer/gfx-gles-common/eglw.h @@ -0,0 +1,376 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#pragma once + +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) + +/** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from EGL spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ + +/* EGLW_GENERATE_EGL_DECLARATION */ +extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; + +/* EGL_VERSION_1_0 */ +extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; +extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; +extern PFNEGLCREATECONTEXTPROC eglCreateContext; +extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; +extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; +extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; +extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; +extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; +extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; +extern PFNEGLGETCONFIGSPROC eglGetConfigs; +extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; +extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; +extern PFNEGLGETDISPLAYPROC eglGetDisplay; +extern PFNEGLGETERRORPROC eglGetError; +extern PFNEGLINITIALIZEPROC eglInitialize; +extern PFNEGLMAKECURRENTPROC eglMakeCurrent; +extern PFNEGLQUERYCONTEXTPROC eglQueryContext; +extern PFNEGLQUERYSTRINGPROC eglQueryString; +extern PFNEGLQUERYSURFACEPROC eglQuerySurface; +extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; +extern PFNEGLTERMINATEPROC eglTerminate; +extern PFNEGLWAITGLPROC eglWaitGL; +extern PFNEGLWAITNATIVEPROC eglWaitNative; + + +/* EGL_VERSION_1_1 */ +extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; +extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; +extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; +extern PFNEGLSWAPINTERVALPROC eglSwapInterval; + + +/* EGL_VERSION_1_2 */ +extern PFNEGLBINDAPIPROC eglBindAPI; +extern PFNEGLQUERYAPIPROC eglQueryAPI; +extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; +extern PFNEGLRELEASETHREADPROC eglReleaseThread; +extern PFNEGLWAITCLIENTPROC eglWaitClient; + + +/* EGL_VERSION_1_3 */ + +/* EGL_VERSION_1_4 */ +extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; + + +/* EGL_VERSION_1_5 */ +extern PFNEGLCREATESYNCPROC eglCreateSync; +extern PFNEGLDESTROYSYNCPROC eglDestroySync; +extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; +extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; + +extern PFNEGLCREATEIMAGEPROC eglCreateImage; +extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; + +extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; + +extern PFNEGLWAITSYNCPROC eglWaitSync; + + +#if defined(EGL_ANDROID_blob_cache) +extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; +#endif /* defined(EGL_ANDROID_blob_cache) */ + +#if defined(EGL_ANDROID_create_native_client_buffer) +extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ + +#if defined(EGL_ANDROID_get_native_client_buffer) +extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; +#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ + +#if defined(EGL_ANDROID_native_fence_sync) +extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; +#endif /* defined(EGL_ANDROID_native_fence_sync) */ + +#if defined(EGL_ANDROID_presentation_time) +extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; +#endif /* defined(EGL_ANDROID_presentation_time) */ + +#if defined(EGL_ANDROID_get_frame_timestamps) +extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; +extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; +extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; +extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; +extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; +#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ + +#if defined(EGL_ANGLE_query_surface_pointer) +extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; +#endif /* defined(EGL_ANGLE_query_surface_pointer) */ + +#if defined(EGL_EXT_client_sync) +extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; +#endif /* defined(EGL_EXT_client_sync) */ + +#if defined(EGL_EXT_device_base) +extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; +extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; +extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; +extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; +#endif /* defined(EGL_EXT_device_base) */ + +#if defined(EGL_EXT_image_dma_buf_import_modifiers) +extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; +extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; +#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ + +#if defined(EGL_EXT_output_base) +extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; +extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; +extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; +extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; +extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; +extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; +#endif /* defined(EGL_EXT_output_base) */ + +#if defined(EGL_EXT_platform_base) +extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; +extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; +extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; +#endif /* defined(EGL_EXT_platform_base) */ + +#if defined(EGL_EXT_stream_consumer_egloutput) +extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; +#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ + +#if defined(EGL_EXT_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; +#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ + +#if defined(EGL_EXT_sync_reuse) +extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; +#endif /* defined(EGL_EXT_sync_reuse) */ + +#if defined(EGL_HI_clientpixmap) +extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; +#endif /* defined(EGL_HI_clientpixmap) */ + +#if defined(EGL_KHR_cl_event2) +extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; +#endif /* defined(EGL_KHR_cl_event2) */ + +#if defined(EGL_KHR_debug) +extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; +extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; +extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; +#endif /* defined(EGL_KHR_debug) */ + +#if defined(EGL_KHR_display_reference) +extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; +#endif /* defined(EGL_KHR_display_reference) */ + +#if defined(EGL_KHR_fence_sync) +extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; +extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; +extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; +extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; +#endif /* defined(EGL_KHR_fence_sync) */ + +#if defined(EGL_KHR_image) +extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; +extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; +#endif /* defined(EGL_KHR_image) */ + +#if defined(EGL_KHR_lock_surface) +extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; +extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; +#endif /* defined(EGL_KHR_lock_surface) */ + +#if defined(EGL_KHR_lock_surface3) +extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; +#endif /* defined(EGL_KHR_lock_surface3) */ + +#if defined(EGL_KHR_partial_update) +extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; +#endif /* defined(EGL_KHR_partial_update) */ + +#if defined(EGL_KHR_reusable_sync) +extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; +#endif /* defined(EGL_KHR_reusable_sync) */ + +#if defined(EGL_KHR_stream) +extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; +extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; +extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; +extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; +extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; +#endif /* defined(EGL_KHR_stream) */ + +#if defined(EGL_KHR_stream_attrib) +extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; +extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; +extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; +extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; +extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; +#endif /* defined(EGL_KHR_stream_attrib) */ + +#if defined(EGL_KHR_stream_consumer_gltexture) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; +extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; +extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; +#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ + +#if defined(EGL_KHR_stream_cross_process_fd) +extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; +extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; +#endif /* defined(EGL_KHR_stream_cross_process_fd) */ + +#if defined(EGL_KHR_stream_fifo) +extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; +#endif /* defined(EGL_KHR_stream_fifo) */ + +#if defined(EGL_KHR_stream_producer_eglsurface) +extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; +#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ + +#if defined(EGL_KHR_swap_buffers_with_damage) +extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; +#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ + +#if defined(EGL_KHR_wait_sync) +extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; +#endif /* defined(EGL_KHR_wait_sync) */ + +#if defined(EGL_MESA_drm_image) +extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; +extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; +#endif /* defined(EGL_MESA_drm_image) */ + +#if defined(EGL_MESA_image_dma_buf_export) +extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; +extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; +#endif /* defined(EGL_MESA_image_dma_buf_export) */ + +#if defined(EGL_MESA_query_driver) +extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; +extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; +#endif /* defined(EGL_MESA_query_driver) */ + +#if defined(EGL_NOK_swap_region) +extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; +#endif /* defined(EGL_NOK_swap_region) */ + +#if defined(EGL_NOK_swap_region2) +extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; +#endif /* defined(EGL_NOK_swap_region2) */ + +#if defined(EGL_NV_native_query) +extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; +extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; +extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; +#endif /* defined(EGL_NV_native_query) */ + +#if defined(EGL_NV_post_sub_buffer) +extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; +#endif /* defined(EGL_NV_post_sub_buffer) */ + +#if defined(EGL_NV_stream_consumer_gltexture_yuv) +extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; +#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ + +#if defined(EGL_NV_stream_consumer_eglimage) +extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; +extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; +extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; +extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; +#endif /* defined(EGL_NV_stream_consumer_eglimage) */ + +#if defined(EGL_NV_stream_flush) +extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; +#endif /* defined(EGL_NV_stream_flush) */ + +#if defined(EGL_NV_stream_metadata) +extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; +extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; +extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; +#endif /* defined(EGL_NV_stream_metadata) */ + +#if defined(EGL_NV_stream_reset) +extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; +#endif /* defined(EGL_NV_stream_reset) */ + +#if defined(EGL_NV_stream_sync) +extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; +#endif /* defined(EGL_NV_stream_sync) */ + +#if defined(EGL_NV_sync) +extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; +extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; +extern PFNEGLFENCENVPROC eglFenceNV; +extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; +extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; +extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; +#endif /* defined(EGL_NV_sync) */ + +#if defined(EGL_NV_system_time) +extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; +extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; +#endif /* defined(EGL_NV_system_time) */ + +#if defined(EGL_EXT_compositor) +extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; +extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; +extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; +extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; +extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; +extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; +extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; +#endif /* defined(EGL_EXT_compositor) */ + +#if defined(EGL_WL_bind_wayland_display) +extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; +extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; +extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; +#endif /* defined(EGL_WL_bind_wayland_display) */ + +#if defined(EGL_WL_create_wayland_buffer_from_image) +extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; +#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ + +/* EGLW_GENERATE_EGL_DECLARATION */ + +/** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from EGL spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ + +#endif + +using PFNEGLWLOADPROC = void *(*)(const char *); +void eglwLoadProcs(PFNEGLWLOADPROC eglwLoad); diff --git a/native/cocos/renderer/gfx-gles2/gles2w.cpp b/native/cocos/renderer/gfx-gles-common/gles2w.cpp similarity index 78% rename from native/cocos/renderer/gfx-gles2/gles2w.cpp rename to native/cocos/renderer/gfx-gles-common/gles2w.cpp index debfadccbe..90a5320ff7 100644 --- a/native/cocos/renderer/gfx-gles2/gles2w.cpp +++ b/native/cocos/renderer/gfx-gles-common/gles2w.cpp @@ -21,394 +21,21 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ +#define GL_GLES_PROTOTYPES 0 +#include + +#include +#include +#include + #include "gles2w.h" -#if defined(_WIN32) && !defined(ANDROID) - #define WIN32_LEAN_AND_MEAN 1 - #include - -static HMODULE libegl = NULL; -static HMODULE libgles = NULL; - -bool gles2wOpen() { - libegl = LoadLibraryA("libEGL.dll"); - libgles = LoadLibraryA("libGLESv2.dll"); - return (libegl && libgles); -} - -void *gles2wLoad(const char *proc) { - void *res = nullptr; - if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); - if (!res) res = (void *)GetProcAddress(libegl, proc); - return res; -} -#elif defined(__EMSCRIPTEN__) -bool gles2wOpen() { return true; } -void *gles2wLoad(const char *proc) { - return (void *)eglGetProcAddress(proc); -} -#else - #include - -static void *libegl = nullptr; -static void *libgles = nullptr; - -bool gles2wOpen() { - libegl = dlopen("libEGL.so", RTLD_LAZY | RTLD_GLOBAL); - libgles = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); - return (libegl && libgles); -} - -void *gles2wLoad(const char *proc) { - void *res = nullptr; - if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); - if (!res) res = dlsym(libegl, proc); - return res; -} -#endif - -static void gles2wLoadProcs(); - -bool gles2wInit(void) { - if (!gles2wOpen()) { - return false; - } - - gles2wLoadProcs(); - - return true; -} - -/* GLES2W_GENERATE_EGL_DEFINITION */ -PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -PFNEGLCHOOSECONFIGPROC eglChooseConfig; -PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -PFNEGLCREATECONTEXTPROC eglCreateContext; -PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -PFNEGLDESTROYSURFACEPROC eglDestroySurface; -PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -PFNEGLGETCONFIGSPROC eglGetConfigs; -PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -PFNEGLGETDISPLAYPROC eglGetDisplay; -PFNEGLGETERRORPROC eglGetError; -PFNEGLINITIALIZEPROC eglInitialize; -PFNEGLMAKECURRENTPROC eglMakeCurrent; -PFNEGLQUERYCONTEXTPROC eglQueryContext; -PFNEGLQUERYSTRINGPROC eglQueryString; -PFNEGLQUERYSURFACEPROC eglQuerySurface; -PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -PFNEGLTERMINATEPROC eglTerminate; -PFNEGLWAITGLPROC eglWaitGL; -PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -PFNEGLBINDAPIPROC eglBindAPI; -PFNEGLQUERYAPIPROC eglQueryAPI; -PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -PFNEGLRELEASETHREADPROC eglReleaseThread; -PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -PFNEGLCREATESYNCPROC eglCreateSync; -PFNEGLDESTROYSYNCPROC eglDestroySync; -PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -PFNEGLCREATEIMAGEPROC eglCreateImage; -PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -PFNEGLFENCENVPROC eglFenceNV; -PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -/* GLES2W_GENERATE_EGL_DEFINITION */ +/** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ /* GLES2W_GENERATE_GLES_DEFINITION */ /* GL_ES_VERSION_2_0 */ @@ -1475,337 +1102,20 @@ PFNGLENDTILINGQCOMPROC glEndTilingQCOM; /* GLES2W_GENERATE_GLES_DEFINITION */ -static void gles2wLoadProcs() { - /* GLES2W_GENERATE_EGL_LOAD */ - eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles2wLoad("eglGetProcAddress"); - - /* EGL_VERSION_1_0 */ - eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)gles2wLoad("eglChooseConfig"); - eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)gles2wLoad("eglCopyBuffers"); - eglCreateContext = (PFNEGLCREATECONTEXTPROC)gles2wLoad("eglCreateContext"); - eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)gles2wLoad("eglCreatePbufferSurface"); - eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)gles2wLoad("eglCreatePixmapSurface"); - eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)gles2wLoad("eglCreateWindowSurface"); - eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)gles2wLoad("eglDestroyContext"); - eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)gles2wLoad("eglDestroySurface"); - eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)gles2wLoad("eglGetConfigAttrib"); - eglGetConfigs = (PFNEGLGETCONFIGSPROC)gles2wLoad("eglGetConfigs"); - eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)gles2wLoad("eglGetCurrentDisplay"); - eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)gles2wLoad("eglGetCurrentSurface"); - eglGetDisplay = (PFNEGLGETDISPLAYPROC)gles2wLoad("eglGetDisplay"); - eglGetError = (PFNEGLGETERRORPROC)gles2wLoad("eglGetError"); - eglInitialize = (PFNEGLINITIALIZEPROC)gles2wLoad("eglInitialize"); - eglMakeCurrent = (PFNEGLMAKECURRENTPROC)gles2wLoad("eglMakeCurrent"); - eglQueryContext = (PFNEGLQUERYCONTEXTPROC)gles2wLoad("eglQueryContext"); - eglQueryString = (PFNEGLQUERYSTRINGPROC)gles2wLoad("eglQueryString"); - eglQuerySurface = (PFNEGLQUERYSURFACEPROC)gles2wLoad("eglQuerySurface"); - eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)gles2wLoad("eglSwapBuffers"); - eglTerminate = (PFNEGLTERMINATEPROC)gles2wLoad("eglTerminate"); - eglWaitGL = (PFNEGLWAITGLPROC)gles2wLoad("eglWaitGL"); - eglWaitNative = (PFNEGLWAITNATIVEPROC)gles2wLoad("eglWaitNative"); - - - /* EGL_VERSION_1_1 */ - eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)gles2wLoad("eglBindTexImage"); - eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)gles2wLoad("eglReleaseTexImage"); - eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)gles2wLoad("eglSurfaceAttrib"); - eglSwapInterval = (PFNEGLSWAPINTERVALPROC)gles2wLoad("eglSwapInterval"); - - - /* EGL_VERSION_1_2 */ - eglBindAPI = (PFNEGLBINDAPIPROC)gles2wLoad("eglBindAPI"); - eglQueryAPI = (PFNEGLQUERYAPIPROC)gles2wLoad("eglQueryAPI"); - eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)gles2wLoad("eglCreatePbufferFromClientBuffer"); - eglReleaseThread = (PFNEGLRELEASETHREADPROC)gles2wLoad("eglReleaseThread"); - eglWaitClient = (PFNEGLWAITCLIENTPROC)gles2wLoad("eglWaitClient"); - - - /* EGL_VERSION_1_3 */ - - /* EGL_VERSION_1_4 */ - eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)gles2wLoad("eglGetCurrentContext"); - - - /* EGL_VERSION_1_5 */ - eglCreateSync = (PFNEGLCREATESYNCPROC)gles2wLoad("eglCreateSync"); - eglDestroySync = (PFNEGLDESTROYSYNCPROC)gles2wLoad("eglDestroySync"); - eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)gles2wLoad("eglClientWaitSync"); - eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)gles2wLoad("eglGetSyncAttrib"); - - eglCreateImage = (PFNEGLCREATEIMAGEPROC)gles2wLoad("eglCreateImage"); - eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)gles2wLoad("eglDestroyImage"); - - eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)gles2wLoad("eglGetPlatformDisplay"); - eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)gles2wLoad("eglCreatePlatformWindowSurface"); - eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)gles2wLoad("eglCreatePlatformPixmapSurface"); - - eglWaitSync = (PFNEGLWAITSYNCPROC)gles2wLoad("eglWaitSync"); - - -#if defined(EGL_ANDROID_blob_cache) - eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)gles2wLoad("eglSetBlobCacheFuncsANDROID"); -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) - eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)gles2wLoad("eglCreateNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) - eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)gles2wLoad("eglGetNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) - eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)gles2wLoad("eglDupNativeFenceFDANDROID"); -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) - eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)gles2wLoad("eglPresentationTimeANDROID"); -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) - eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)gles2wLoad("eglGetCompositorTimingSupportedANDROID"); - eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)gles2wLoad("eglGetCompositorTimingANDROID"); - eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)gles2wLoad("eglGetNextFrameIdANDROID"); - eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)gles2wLoad("eglGetFrameTimestampSupportedANDROID"); - eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)gles2wLoad("eglGetFrameTimestampsANDROID"); -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) - eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)gles2wLoad("eglQuerySurfacePointerANGLE"); -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) - eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)gles2wLoad("eglClientSignalSyncEXT"); -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) - eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)gles2wLoad("eglQueryDeviceAttribEXT"); - eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)gles2wLoad("eglQueryDeviceStringEXT"); - eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)gles2wLoad("eglQueryDevicesEXT"); - eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)gles2wLoad("eglQueryDisplayAttribEXT"); -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) - eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)gles2wLoad("eglQueryDmaBufFormatsEXT"); - eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)gles2wLoad("eglQueryDmaBufModifiersEXT"); -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) - eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)gles2wLoad("eglGetOutputLayersEXT"); - eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)gles2wLoad("eglGetOutputPortsEXT"); - eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)gles2wLoad("eglOutputLayerAttribEXT"); - eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)gles2wLoad("eglQueryOutputLayerAttribEXT"); - eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)gles2wLoad("eglQueryOutputLayerStringEXT"); - eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)gles2wLoad("eglOutputPortAttribEXT"); - eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)gles2wLoad("eglQueryOutputPortAttribEXT"); - eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)gles2wLoad("eglQueryOutputPortStringEXT"); -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) - eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)gles2wLoad("eglGetPlatformDisplayEXT"); - eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)gles2wLoad("eglCreatePlatformWindowSurfaceEXT"); - eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)gles2wLoad("eglCreatePlatformPixmapSurfaceEXT"); -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) - eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)gles2wLoad("eglStreamConsumerOutputEXT"); -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) - eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)gles2wLoad("eglSwapBuffersWithDamageEXT"); -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) - eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)gles2wLoad("eglUnsignalSyncEXT"); -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) - eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)gles2wLoad("eglCreatePixmapSurfaceHI"); -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) - eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)gles2wLoad("eglCreateSync64KHR"); -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) - eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("eglDebugMessageControlKHR"); - eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)gles2wLoad("eglQueryDebugKHR"); - eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)gles2wLoad("eglLabelObjectKHR"); -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) - eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)gles2wLoad("eglQueryDisplayAttribKHR"); -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) - eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)gles2wLoad("eglCreateSyncKHR"); - eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)gles2wLoad("eglDestroySyncKHR"); - eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)gles2wLoad("eglClientWaitSyncKHR"); - eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)gles2wLoad("eglGetSyncAttribKHR"); -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) - eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gles2wLoad("eglCreateImageKHR"); - eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gles2wLoad("eglDestroyImageKHR"); -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) - eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)gles2wLoad("eglLockSurfaceKHR"); - eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)gles2wLoad("eglUnlockSurfaceKHR"); -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) - eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)gles2wLoad("eglQuerySurface64KHR"); -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) - eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)gles2wLoad("eglSetDamageRegionKHR"); -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) - eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)gles2wLoad("eglSignalSyncKHR"); -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) - eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)gles2wLoad("eglCreateStreamKHR"); - eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)gles2wLoad("eglDestroyStreamKHR"); - eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)gles2wLoad("eglStreamAttribKHR"); - eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)gles2wLoad("eglQueryStreamKHR"); - eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)gles2wLoad("eglQueryStreamu64KHR"); -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) - eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)gles2wLoad("eglCreateStreamAttribKHR"); - eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)gles2wLoad("eglSetStreamAttribKHR"); - eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)gles2wLoad("eglQueryStreamAttribKHR"); - eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)gles2wLoad("eglStreamConsumerAcquireAttribKHR"); - eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)gles2wLoad("eglStreamConsumerReleaseAttribKHR"); -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) - eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)gles2wLoad("eglStreamConsumerGLTextureExternalKHR"); - eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)gles2wLoad("eglStreamConsumerAcquireKHR"); - eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)gles2wLoad("eglStreamConsumerReleaseKHR"); -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) - eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)gles2wLoad("eglGetStreamFileDescriptorKHR"); - eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)gles2wLoad("eglCreateStreamFromFileDescriptorKHR"); -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) - eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)gles2wLoad("eglQueryStreamTimeKHR"); -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) - eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)gles2wLoad("eglCreateStreamProducerSurfaceKHR"); -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) - eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)gles2wLoad("eglSwapBuffersWithDamageKHR"); -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) - eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)gles2wLoad("eglWaitSyncKHR"); -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) - eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)gles2wLoad("eglCreateDRMImageMESA"); - eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)gles2wLoad("eglExportDRMImageMESA"); -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) - eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)gles2wLoad("eglExportDMABUFImageQueryMESA"); - eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)gles2wLoad("eglExportDMABUFImageMESA"); -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) - eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)gles2wLoad("eglGetDisplayDriverConfig"); - eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)gles2wLoad("eglGetDisplayDriverName"); -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) - eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)gles2wLoad("eglSwapBuffersRegionNOK"); -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) - eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)gles2wLoad("eglSwapBuffersRegion2NOK"); -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) - eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)gles2wLoad("eglQueryNativeDisplayNV"); - eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)gles2wLoad("eglQueryNativeWindowNV"); - eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)gles2wLoad("eglQueryNativePixmapNV"); -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) - eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)gles2wLoad("eglPostSubBufferNV"); -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) - eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)gles2wLoad("eglStreamConsumerGLTextureExternalAttribsNV"); -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) - eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)gles2wLoad("eglStreamImageConsumerConnectNV"); - eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)gles2wLoad("eglQueryStreamConsumerEventNV"); - eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)gles2wLoad("eglStreamAcquireImageNV"); - eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)gles2wLoad("eglStreamReleaseImageNV"); -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) - eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)gles2wLoad("eglStreamFlushNV"); -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) - eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)gles2wLoad("eglQueryDisplayAttribNV"); - eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)gles2wLoad("eglSetStreamMetadataNV"); - eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)gles2wLoad("eglQueryStreamMetadataNV"); -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) - eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)gles2wLoad("eglResetStreamNV"); -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) - eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)gles2wLoad("eglCreateStreamSyncNV"); -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) - eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)gles2wLoad("eglCreateFenceSyncNV"); - eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)gles2wLoad("eglDestroySyncNV"); - eglFenceNV = (PFNEGLFENCENVPROC)gles2wLoad("eglFenceNV"); - eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)gles2wLoad("eglClientWaitSyncNV"); - eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)gles2wLoad("eglSignalSyncNV"); - eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)gles2wLoad("eglGetSyncAttribNV"); -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) - eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)gles2wLoad("eglGetSystemTimeFrequencyNV"); - eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)gles2wLoad("eglGetSystemTimeNV"); -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) - eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)gles2wLoad("eglCompositorSetContextListEXT"); - eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)gles2wLoad("eglCompositorSetContextAttributesEXT"); - eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)gles2wLoad("eglCompositorSetWindowListEXT"); - eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)gles2wLoad("eglCompositorSetWindowAttributesEXT"); - eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)gles2wLoad("eglCompositorBindTexWindowEXT"); - eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)gles2wLoad("eglCompositorSetSizeEXT"); - eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)gles2wLoad("eglCompositorSwapPolicyEXT"); -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) - eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)gles2wLoad("eglBindWaylandDisplayWL"); - eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)gles2wLoad("eglUnbindWaylandDisplayWL"); - eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)gles2wLoad("eglQueryWaylandBufferWL"); -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) - eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles2wLoad("eglCreateWaylandBufferFromImageWL"); -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - - /* GLES2W_GENERATE_EGL_LOAD */ +/** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ + +void gles2wLoadProcs(PFNGLES2WLOADPROC gles2wLoad) { + /** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ /* GLES2W_GENERATE_GLES_LOAD */ /* GL_ES_VERSION_2_0 */ @@ -2871,4 +2181,11 @@ static void gles2wLoadProcs() { #endif /* defined(GL_QCOM_tiled_rendering) */ /* GLES2W_GENERATE_GLES_LOAD */ + + /** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ } diff --git a/native/cocos/renderer/gfx-gles2/gles2w.h b/native/cocos/renderer/gfx-gles-common/gles2w.h old mode 100755 new mode 100644 similarity index 78% rename from native/cocos/renderer/gfx-gles2/gles2w.h rename to native/cocos/renderer/gfx-gles-common/gles2w.h index 3dd46bf8e9..b064aea965 --- a/native/cocos/renderer/gfx-gles2/gles2w.h +++ b/native/cocos/renderer/gfx-gles-common/gles2w.h @@ -23,358 +23,12 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #ifdef __OBJC__ - #include - #endif -#else - #define EGL_EGL_PROTOTYPES 0 - #include - #include - #include -#endif - -#define GL_GLES_PROTOTYPES 0 -#include - -#include -#include -#include - -bool gles2wInit(); - -#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) -/* GLES2W_GENERATE_EGL_DECLARATION */ -extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; -extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -extern PFNEGLCREATECONTEXTPROC eglCreateContext; -extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; -extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -extern PFNEGLGETCONFIGSPROC eglGetConfigs; -extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -extern PFNEGLGETDISPLAYPROC eglGetDisplay; -extern PFNEGLGETERRORPROC eglGetError; -extern PFNEGLINITIALIZEPROC eglInitialize; -extern PFNEGLMAKECURRENTPROC eglMakeCurrent; -extern PFNEGLQUERYCONTEXTPROC eglQueryContext; -extern PFNEGLQUERYSTRINGPROC eglQueryString; -extern PFNEGLQUERYSURFACEPROC eglQuerySurface; -extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -extern PFNEGLTERMINATEPROC eglTerminate; -extern PFNEGLWAITGLPROC eglWaitGL; -extern PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -extern PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -extern PFNEGLBINDAPIPROC eglBindAPI; -extern PFNEGLQUERYAPIPROC eglQueryAPI; -extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -extern PFNEGLRELEASETHREADPROC eglReleaseThread; -extern PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -extern PFNEGLCREATESYNCPROC eglCreateSync; -extern PFNEGLDESTROYSYNCPROC eglDestroySync; -extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -extern PFNEGLCREATEIMAGEPROC eglCreateImage; -extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -extern PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -extern PFNEGLFENCENVPROC eglFenceNV; -extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -/* GLES2W_GENERATE_EGL_DECLARATION */ -#endif +/** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ /* GLES2W_GENERATE_GLES_DECLARATION */ /* GL_ES_VERSION_2_0 */ @@ -1440,3 +1094,13 @@ extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; #endif /* defined(GL_QCOM_tiled_rendering) */ /* GLES2W_GENERATE_GLES_DECLARATION */ + +/** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ + +using PFNGLES2WLOADPROC = void *(*)(const char *); +void gles2wLoadProcs(PFNGLES2WLOADPROC gles2wLoad); diff --git a/native/cocos/renderer/gfx-gles-common/gles3w.cpp b/native/cocos/renderer/gfx-gles-common/gles3w.cpp new file mode 100644 index 0000000000..b40839dde3 --- /dev/null +++ b/native/cocos/renderer/gfx-gles-common/gles3w.cpp @@ -0,0 +1,554 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#define GL_GLES_PROTOTYPES 0 +#include + +#include +#include + +#include "gles3w.h" + +/** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ + +/* GLES3W_GENERATE_GLES_DEFINITION */ +/* GL_ES_VERSION_3_0 */ +PFNGLREADBUFFERPROC glReadBuffer; +PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +PFNGLTEXIMAGE3DPROC glTexImage3D; +PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +PFNGLGENQUERIESPROC glGenQueries; +PFNGLDELETEQUERIESPROC glDeleteQueries; +PFNGLISQUERYPROC glIsQuery; +PFNGLBEGINQUERYPROC glBeginQuery; +PFNGLENDQUERYPROC glEndQuery; +PFNGLGETQUERYIVPROC glGetQueryiv; +PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +PFNGLUNMAPBUFFERPROC glUnmapBuffer; +PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +PFNGLDRAWBUFFERSPROC glDrawBuffers; +PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +PFNGLISVERTEXARRAYPROC glIsVertexArray; +PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +PFNGLBINDBUFFERBASEPROC glBindBufferBase; +PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +PFNGLUNIFORM1UIPROC glUniform1ui; +PFNGLUNIFORM2UIPROC glUniform2ui; +PFNGLUNIFORM3UIPROC glUniform3ui; +PFNGLUNIFORM4UIPROC glUniform4ui; +PFNGLUNIFORM1UIVPROC glUniform1uiv; +PFNGLUNIFORM2UIVPROC glUniform2uiv; +PFNGLUNIFORM3UIVPROC glUniform3uiv; +PFNGLUNIFORM4UIVPROC glUniform4uiv; +PFNGLCLEARBUFFERIVPROC glClearBufferiv; +PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +PFNGLCLEARBUFFERFVPROC glClearBufferfv; +PFNGLCLEARBUFFERFIPROC glClearBufferfi; +PFNGLGETSTRINGIPROC glGetStringi; +PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +PFNGLFENCESYNCPROC glFenceSync; +PFNGLISSYNCPROC glIsSync; +PFNGLDELETESYNCPROC glDeleteSync; +PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +PFNGLWAITSYNCPROC glWaitSync; +PFNGLGETINTEGER64VPROC glGetInteger64v; +PFNGLGETSYNCIVPROC glGetSynciv; +PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +PFNGLGENSAMPLERSPROC glGenSamplers; +PFNGLDELETESAMPLERSPROC glDeleteSamplers; +PFNGLISSAMPLERPROC glIsSampler; +PFNGLBINDSAMPLERPROC glBindSampler; +PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +PFNGLPROGRAMBINARYPROC glProgramBinary; +PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +PFNGLTEXSTORAGE2DPROC glTexStorage2D; +PFNGLTEXSTORAGE3DPROC glTexStorage3D; +PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; + + +/* GL_ES_VERSION_3_1 */ +PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; + +PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; +PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; + +PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; +PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; + +PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; +PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; + +PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; +PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; +PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; +PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; +PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; +PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; +PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; +PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; +PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; +PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; +PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; +PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; +PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; +PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; +PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; +PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; +PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; +PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; +PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; +PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; +PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; +PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; +PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; +PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; +PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; +PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; +PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; +PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; +PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; +PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; +PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; +PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; +PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; +PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; +PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; +PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; +PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; +PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; +PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; +PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; +PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; +PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; +PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; + +PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +PFNGLGETBOOLEANI_VPROC glGetBooleani_v; +PFNGLMEMORYBARRIERPROC glMemoryBarrier; +PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; + +PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; +PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; +PFNGLSAMPLEMASKIPROC glSampleMaski; +PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; +PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; + +PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; +PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; +PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; +PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; +PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; + + +/* GL_ES_VERSION_3_2 */ +PFNGLBLENDBARRIERPROC glBlendBarrier; + +PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; + +PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; +PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; +PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; +PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; +PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; +PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; +PFNGLOBJECTLABELPROC glObjectLabel; +PFNGLGETOBJECTLABELPROC glGetObjectLabel; +PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; +PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; +PFNGLGETPOINTERVPROC glGetPointerv; + +PFNGLENABLEIPROC glEnablei; +PFNGLDISABLEIPROC glDisablei; +PFNGLBLENDEQUATIONIPROC glBlendEquationi; +PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; +PFNGLBLENDFUNCIPROC glBlendFunci; +PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; +PFNGLCOLORMASKIPROC glColorMaski; +PFNGLISENABLEDIPROC glIsEnabledi; + +PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; +PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; + +PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; + +PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; + +PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; +PFNGLREADNPIXELSPROC glReadnPixels; +PFNGLGETNUNIFORMFVPROC glGetnUniformfv; +PFNGLGETNUNIFORMIVPROC glGetnUniformiv; +PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; + +PFNGLMINSAMPLESHADINGPROC glMinSampleShading; + +PFNGLPATCHPARAMETERIPROC glPatchParameteri; + +PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; +PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; +PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; +PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; +PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; +PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; +PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; +PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; + +PFNGLTEXBUFFERPROC glTexBuffer; +PFNGLTEXBUFFERRANGEPROC glTexBufferRange; + +PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; + + +/* GLES3W_GENERATE_GLES_DEFINITION */ + +/** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ + +void gles3wLoadProcs(PFNGLES3WLOADPROC gles3wLoad) { + /** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ + + /* GLES3W_GENERATE_GLES_LOAD */ + /* GL_ES_VERSION_3_0 */ + glReadBuffer = (PFNGLREADBUFFERPROC)gles3wLoad("glReadBuffer"); + glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)gles3wLoad("glDrawRangeElements"); + glTexImage3D = (PFNGLTEXIMAGE3DPROC)gles3wLoad("glTexImage3D"); + glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)gles3wLoad("glTexSubImage3D"); + glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)gles3wLoad("glCopyTexSubImage3D"); + glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)gles3wLoad("glCompressedTexImage3D"); + glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)gles3wLoad("glCompressedTexSubImage3D"); + glGenQueries = (PFNGLGENQUERIESPROC)gles3wLoad("glGenQueries"); + glDeleteQueries = (PFNGLDELETEQUERIESPROC)gles3wLoad("glDeleteQueries"); + glIsQuery = (PFNGLISQUERYPROC)gles3wLoad("glIsQuery"); + glBeginQuery = (PFNGLBEGINQUERYPROC)gles3wLoad("glBeginQuery"); + glEndQuery = (PFNGLENDQUERYPROC)gles3wLoad("glEndQuery"); + glGetQueryiv = (PFNGLGETQUERYIVPROC)gles3wLoad("glGetQueryiv"); + glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)gles3wLoad("glGetQueryObjectuiv"); + glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)gles3wLoad("glUnmapBuffer"); + glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)gles3wLoad("glGetBufferPointerv"); + glDrawBuffers = (PFNGLDRAWBUFFERSPROC)gles3wLoad("glDrawBuffers"); + glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)gles3wLoad("glUniformMatrix2x3fv"); + glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)gles3wLoad("glUniformMatrix3x2fv"); + glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)gles3wLoad("glUniformMatrix2x4fv"); + glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)gles3wLoad("glUniformMatrix4x2fv"); + glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)gles3wLoad("glUniformMatrix3x4fv"); + glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)gles3wLoad("glUniformMatrix4x3fv"); + glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)gles3wLoad("glBlitFramebuffer"); + glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)gles3wLoad("glRenderbufferStorageMultisample"); + glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)gles3wLoad("glFramebufferTextureLayer"); + glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)gles3wLoad("glMapBufferRange"); + glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)gles3wLoad("glFlushMappedBufferRange"); + glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)gles3wLoad("glBindVertexArray"); + glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)gles3wLoad("glDeleteVertexArrays"); + glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)gles3wLoad("glGenVertexArrays"); + glIsVertexArray = (PFNGLISVERTEXARRAYPROC)gles3wLoad("glIsVertexArray"); + glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)gles3wLoad("glGetIntegeri_v"); + glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)gles3wLoad("glBeginTransformFeedback"); + glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)gles3wLoad("glEndTransformFeedback"); + glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)gles3wLoad("glBindBufferRange"); + glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)gles3wLoad("glBindBufferBase"); + glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)gles3wLoad("glTransformFeedbackVaryings"); + glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)gles3wLoad("glGetTransformFeedbackVarying"); + glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)gles3wLoad("glVertexAttribIPointer"); + glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)gles3wLoad("glGetVertexAttribIiv"); + glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)gles3wLoad("glGetVertexAttribIuiv"); + glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)gles3wLoad("glVertexAttribI4i"); + glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)gles3wLoad("glVertexAttribI4ui"); + glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)gles3wLoad("glVertexAttribI4iv"); + glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)gles3wLoad("glVertexAttribI4uiv"); + glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)gles3wLoad("glGetUniformuiv"); + glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)gles3wLoad("glGetFragDataLocation"); + glUniform1ui = (PFNGLUNIFORM1UIPROC)gles3wLoad("glUniform1ui"); + glUniform2ui = (PFNGLUNIFORM2UIPROC)gles3wLoad("glUniform2ui"); + glUniform3ui = (PFNGLUNIFORM3UIPROC)gles3wLoad("glUniform3ui"); + glUniform4ui = (PFNGLUNIFORM4UIPROC)gles3wLoad("glUniform4ui"); + glUniform1uiv = (PFNGLUNIFORM1UIVPROC)gles3wLoad("glUniform1uiv"); + glUniform2uiv = (PFNGLUNIFORM2UIVPROC)gles3wLoad("glUniform2uiv"); + glUniform3uiv = (PFNGLUNIFORM3UIVPROC)gles3wLoad("glUniform3uiv"); + glUniform4uiv = (PFNGLUNIFORM4UIVPROC)gles3wLoad("glUniform4uiv"); + glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)gles3wLoad("glClearBufferiv"); + glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)gles3wLoad("glClearBufferuiv"); + glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)gles3wLoad("glClearBufferfv"); + glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)gles3wLoad("glClearBufferfi"); + glGetStringi = (PFNGLGETSTRINGIPROC)gles3wLoad("glGetStringi"); + glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)gles3wLoad("glCopyBufferSubData"); + glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)gles3wLoad("glGetUniformIndices"); + glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)gles3wLoad("glGetActiveUniformsiv"); + glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)gles3wLoad("glGetUniformBlockIndex"); + glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)gles3wLoad("glGetActiveUniformBlockiv"); + glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)gles3wLoad("glGetActiveUniformBlockName"); + glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)gles3wLoad("glUniformBlockBinding"); + glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)gles3wLoad("glDrawArraysInstanced"); + glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)gles3wLoad("glDrawElementsInstanced"); + glFenceSync = (PFNGLFENCESYNCPROC)gles3wLoad("glFenceSync"); + glIsSync = (PFNGLISSYNCPROC)gles3wLoad("glIsSync"); + glDeleteSync = (PFNGLDELETESYNCPROC)gles3wLoad("glDeleteSync"); + glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)gles3wLoad("glClientWaitSync"); + glWaitSync = (PFNGLWAITSYNCPROC)gles3wLoad("glWaitSync"); + glGetInteger64v = (PFNGLGETINTEGER64VPROC)gles3wLoad("glGetInteger64v"); + glGetSynciv = (PFNGLGETSYNCIVPROC)gles3wLoad("glGetSynciv"); + glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)gles3wLoad("glGetInteger64i_v"); + glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)gles3wLoad("glGetBufferParameteri64v"); + glGenSamplers = (PFNGLGENSAMPLERSPROC)gles3wLoad("glGenSamplers"); + glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)gles3wLoad("glDeleteSamplers"); + glIsSampler = (PFNGLISSAMPLERPROC)gles3wLoad("glIsSampler"); + glBindSampler = (PFNGLBINDSAMPLERPROC)gles3wLoad("glBindSampler"); + glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)gles3wLoad("glSamplerParameteri"); + glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)gles3wLoad("glSamplerParameteriv"); + glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)gles3wLoad("glSamplerParameterf"); + glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)gles3wLoad("glSamplerParameterfv"); + glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)gles3wLoad("glGetSamplerParameteriv"); + glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)gles3wLoad("glGetSamplerParameterfv"); + glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)gles3wLoad("glVertexAttribDivisor"); + glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)gles3wLoad("glBindTransformFeedback"); + glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)gles3wLoad("glDeleteTransformFeedbacks"); + glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)gles3wLoad("glGenTransformFeedbacks"); + glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)gles3wLoad("glIsTransformFeedback"); + glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)gles3wLoad("glPauseTransformFeedback"); + glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)gles3wLoad("glResumeTransformFeedback"); + glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)gles3wLoad("glGetProgramBinary"); + glProgramBinary = (PFNGLPROGRAMBINARYPROC)gles3wLoad("glProgramBinary"); + glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)gles3wLoad("glProgramParameteri"); + glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)gles3wLoad("glInvalidateFramebuffer"); + glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)gles3wLoad("glInvalidateSubFramebuffer"); + glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)gles3wLoad("glTexStorage2D"); + glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)gles3wLoad("glTexStorage3D"); + glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)gles3wLoad("glGetInternalformativ"); + + + /* GL_ES_VERSION_3_1 */ + glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)gles3wLoad("glDispatchCompute"); + glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)gles3wLoad("glDispatchComputeIndirect"); + + glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)gles3wLoad("glDrawArraysIndirect"); + glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)gles3wLoad("glDrawElementsIndirect"); + + glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)gles3wLoad("glFramebufferParameteri"); + glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)gles3wLoad("glGetFramebufferParameteriv"); + + glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)gles3wLoad("glGetProgramInterfaceiv"); + glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)gles3wLoad("glGetProgramResourceIndex"); + glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)gles3wLoad("glGetProgramResourceName"); + glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)gles3wLoad("glGetProgramResourceiv"); + glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)gles3wLoad("glGetProgramResourceLocation"); + + glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)gles3wLoad("glUseProgramStages"); + glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)gles3wLoad("glActiveShaderProgram"); + glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)gles3wLoad("glCreateShaderProgramv"); + glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)gles3wLoad("glBindProgramPipeline"); + glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)gles3wLoad("glDeleteProgramPipelines"); + glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)gles3wLoad("glGenProgramPipelines"); + glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)gles3wLoad("glIsProgramPipeline"); + glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)gles3wLoad("glGetProgramPipelineiv"); + glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)gles3wLoad("glProgramUniform1i"); + glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)gles3wLoad("glProgramUniform2i"); + glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)gles3wLoad("glProgramUniform3i"); + glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)gles3wLoad("glProgramUniform4i"); + glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)gles3wLoad("glProgramUniform1ui"); + glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)gles3wLoad("glProgramUniform2ui"); + glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)gles3wLoad("glProgramUniform3ui"); + glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)gles3wLoad("glProgramUniform4ui"); + glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)gles3wLoad("glProgramUniform1f"); + glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)gles3wLoad("glProgramUniform2f"); + glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)gles3wLoad("glProgramUniform3f"); + glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)gles3wLoad("glProgramUniform4f"); + glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)gles3wLoad("glProgramUniform1iv"); + glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)gles3wLoad("glProgramUniform2iv"); + glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)gles3wLoad("glProgramUniform3iv"); + glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)gles3wLoad("glProgramUniform4iv"); + glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)gles3wLoad("glProgramUniform1uiv"); + glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)gles3wLoad("glProgramUniform2uiv"); + glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)gles3wLoad("glProgramUniform3uiv"); + glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)gles3wLoad("glProgramUniform4uiv"); + glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)gles3wLoad("glProgramUniform1fv"); + glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)gles3wLoad("glProgramUniform2fv"); + glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)gles3wLoad("glProgramUniform3fv"); + glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)gles3wLoad("glProgramUniform4fv"); + glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)gles3wLoad("glProgramUniformMatrix2fv"); + glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)gles3wLoad("glProgramUniformMatrix3fv"); + glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)gles3wLoad("glProgramUniformMatrix4fv"); + glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)gles3wLoad("glProgramUniformMatrix2x3fv"); + glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)gles3wLoad("glProgramUniformMatrix3x2fv"); + glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)gles3wLoad("glProgramUniformMatrix2x4fv"); + glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)gles3wLoad("glProgramUniformMatrix4x2fv"); + glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)gles3wLoad("glProgramUniformMatrix3x4fv"); + glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)gles3wLoad("glProgramUniformMatrix4x3fv"); + glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)gles3wLoad("glValidateProgramPipeline"); + glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)gles3wLoad("glGetProgramPipelineInfoLog"); + + glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)gles3wLoad("glBindImageTexture"); + glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)gles3wLoad("glGetBooleani_v"); + glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)gles3wLoad("glMemoryBarrier"); + glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)gles3wLoad("glMemoryBarrierByRegion"); + + glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)gles3wLoad("glTexStorage2DMultisample"); + glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)gles3wLoad("glGetMultisamplefv"); + glSampleMaski = (PFNGLSAMPLEMASKIPROC)gles3wLoad("glSampleMaski"); + glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)gles3wLoad("glGetTexLevelParameteriv"); + glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)gles3wLoad("glGetTexLevelParameterfv"); + + glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)gles3wLoad("glBindVertexBuffer"); + glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)gles3wLoad("glVertexAttribFormat"); + glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)gles3wLoad("glVertexAttribIFormat"); + glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)gles3wLoad("glVertexAttribBinding"); + glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)gles3wLoad("glVertexBindingDivisor"); + + + /* GL_ES_VERSION_3_2 */ + glBlendBarrier = (PFNGLBLENDBARRIERPROC)gles3wLoad("glBlendBarrier"); + + glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)gles3wLoad("glCopyImageSubData"); + + glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)gles3wLoad("glDebugMessageControl"); + glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)gles3wLoad("glDebugMessageInsert"); + glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)gles3wLoad("glDebugMessageCallback"); + glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)gles3wLoad("glGetDebugMessageLog"); + glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)gles3wLoad("glPushDebugGroup"); + glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)gles3wLoad("glPopDebugGroup"); + glObjectLabel = (PFNGLOBJECTLABELPROC)gles3wLoad("glObjectLabel"); + glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)gles3wLoad("glGetObjectLabel"); + glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)gles3wLoad("glObjectPtrLabel"); + glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)gles3wLoad("glGetObjectPtrLabel"); + glGetPointerv = (PFNGLGETPOINTERVPROC)gles3wLoad("glGetPointerv"); + + glEnablei = (PFNGLENABLEIPROC)gles3wLoad("glEnablei"); + glDisablei = (PFNGLDISABLEIPROC)gles3wLoad("glDisablei"); + glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)gles3wLoad("glBlendEquationi"); + glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)gles3wLoad("glBlendEquationSeparatei"); + glBlendFunci = (PFNGLBLENDFUNCIPROC)gles3wLoad("glBlendFunci"); + glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)gles3wLoad("glBlendFuncSeparatei"); + glColorMaski = (PFNGLCOLORMASKIPROC)gles3wLoad("glColorMaski"); + glIsEnabledi = (PFNGLISENABLEDIPROC)gles3wLoad("glIsEnabledi"); + + glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawElementsBaseVertex"); + glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawRangeElementsBaseVertex"); + glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)gles3wLoad("glDrawElementsInstancedBaseVertex"); + + glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)gles3wLoad("glFramebufferTexture"); + + glPrimitiveBoundingBox = (PFNGLPRIMITIVEBOUNDINGBOXPROC)gles3wLoad("glPrimitiveBoundingBox"); + + glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)gles3wLoad("glGetGraphicsResetStatus"); + glReadnPixels = (PFNGLREADNPIXELSPROC)gles3wLoad("glReadnPixels"); + glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)gles3wLoad("glGetnUniformfv"); + glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)gles3wLoad("glGetnUniformiv"); + glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)gles3wLoad("glGetnUniformuiv"); + + glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)gles3wLoad("glMinSampleShading"); + + glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)gles3wLoad("glPatchParameteri"); + + glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)gles3wLoad("glTexParameterIiv"); + glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)gles3wLoad("glTexParameterIuiv"); + glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)gles3wLoad("glGetTexParameterIiv"); + glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)gles3wLoad("glGetTexParameterIuiv"); + glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)gles3wLoad("glSamplerParameterIiv"); + glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)gles3wLoad("glSamplerParameterIuiv"); + glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)gles3wLoad("glGetSamplerParameterIiv"); + glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)gles3wLoad("glGetSamplerParameterIuiv"); + + glTexBuffer = (PFNGLTEXBUFFERPROC)gles3wLoad("glTexBuffer"); + glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)gles3wLoad("glTexBufferRange"); + + glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)gles3wLoad("glTexStorage3DMultisample"); + + + /* GLES3W_GENERATE_GLES_LOAD */ + + /** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ +} diff --git a/native/cocos/renderer/gfx-gles-common/gles3w.h b/native/cocos/renderer/gfx-gles-common/gles3w.h new file mode 100644 index 0000000000..7e05c2c479 --- /dev/null +++ b/native/cocos/renderer/gfx-gles-common/gles3w.h @@ -0,0 +1,288 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#pragma once + +/** + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + * The following section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= + */ + +/* GLES3W_GENERATE_GLES_DECLARATION */ +/* GL_ES_VERSION_3_0 */ +extern PFNGLREADBUFFERPROC glReadBuffer; +extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; +extern PFNGLTEXIMAGE3DPROC glTexImage3D; +extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; +extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; +extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; +extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; +extern PFNGLGENQUERIESPROC glGenQueries; +extern PFNGLDELETEQUERIESPROC glDeleteQueries; +extern PFNGLISQUERYPROC glIsQuery; +extern PFNGLBEGINQUERYPROC glBeginQuery; +extern PFNGLENDQUERYPROC glEndQuery; +extern PFNGLGETQUERYIVPROC glGetQueryiv; +extern PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; +extern PFNGLUNMAPBUFFERPROC glUnmapBuffer; +extern PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; +extern PFNGLDRAWBUFFERSPROC glDrawBuffers; +extern PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; +extern PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; +extern PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; +extern PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; +extern PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; +extern PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; +extern PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; +extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; +extern PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; +extern PFNGLMAPBUFFERRANGEPROC glMapBufferRange; +extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; +extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray; +extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; +extern PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; +extern PFNGLISVERTEXARRAYPROC glIsVertexArray; +extern PFNGLGETINTEGERI_VPROC glGetIntegeri_v; +extern PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; +extern PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; +extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange; +extern PFNGLBINDBUFFERBASEPROC glBindBufferBase; +extern PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; +extern PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; +extern PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; +extern PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; +extern PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; +extern PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; +extern PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; +extern PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; +extern PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; +extern PFNGLGETUNIFORMUIVPROC glGetUniformuiv; +extern PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; +extern PFNGLUNIFORM1UIPROC glUniform1ui; +extern PFNGLUNIFORM2UIPROC glUniform2ui; +extern PFNGLUNIFORM3UIPROC glUniform3ui; +extern PFNGLUNIFORM4UIPROC glUniform4ui; +extern PFNGLUNIFORM1UIVPROC glUniform1uiv; +extern PFNGLUNIFORM2UIVPROC glUniform2uiv; +extern PFNGLUNIFORM3UIVPROC glUniform3uiv; +extern PFNGLUNIFORM4UIVPROC glUniform4uiv; +extern PFNGLCLEARBUFFERIVPROC glClearBufferiv; +extern PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; +extern PFNGLCLEARBUFFERFVPROC glClearBufferfv; +extern PFNGLCLEARBUFFERFIPROC glClearBufferfi; +extern PFNGLGETSTRINGIPROC glGetStringi; +extern PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; +extern PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; +extern PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; +extern PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; +extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; +extern PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; +extern PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; +extern PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; +extern PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; +extern PFNGLFENCESYNCPROC glFenceSync; +extern PFNGLISSYNCPROC glIsSync; +extern PFNGLDELETESYNCPROC glDeleteSync; +extern PFNGLCLIENTWAITSYNCPROC glClientWaitSync; +extern PFNGLWAITSYNCPROC glWaitSync; +extern PFNGLGETINTEGER64VPROC glGetInteger64v; +extern PFNGLGETSYNCIVPROC glGetSynciv; +extern PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; +extern PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; +extern PFNGLGENSAMPLERSPROC glGenSamplers; +extern PFNGLDELETESAMPLERSPROC glDeleteSamplers; +extern PFNGLISSAMPLERPROC glIsSampler; +extern PFNGLBINDSAMPLERPROC glBindSampler; +extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; +extern PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; +extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; +extern PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; +extern PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; +extern PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; +extern PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; +extern PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; +extern PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; +extern PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; +extern PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; +extern PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; +extern PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; +extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; +extern PFNGLPROGRAMBINARYPROC glProgramBinary; +extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; +extern PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; +extern PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; +extern PFNGLTEXSTORAGE2DPROC glTexStorage2D; +extern PFNGLTEXSTORAGE3DPROC glTexStorage3D; +extern PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; + + +/* GL_ES_VERSION_3_1 */ +extern PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; +extern PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; + +extern PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; +extern PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; + +extern PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; +extern PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; + +extern PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; +extern PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; +extern PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; +extern PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; +extern PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; + +extern PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; +extern PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; +extern PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; +extern PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; +extern PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; +extern PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; +extern PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; +extern PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; +extern PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; +extern PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; +extern PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; +extern PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; +extern PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; +extern PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; +extern PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; +extern PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; +extern PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; +extern PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; +extern PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; +extern PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; +extern PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; +extern PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; +extern PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; +extern PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; +extern PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; +extern PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; +extern PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; +extern PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; +extern PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; +extern PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; +extern PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; +extern PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; +extern PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; +extern PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; +extern PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; +extern PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; +extern PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; +extern PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; +extern PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; +extern PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; +extern PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; +extern PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; +extern PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; + +extern PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; +extern PFNGLGETBOOLEANI_VPROC glGetBooleani_v; +extern PFNGLMEMORYBARRIERPROC glMemoryBarrier; +extern PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; + +extern PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; +extern PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; +extern PFNGLSAMPLEMASKIPROC glSampleMaski; +extern PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; +extern PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; + +extern PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; +extern PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; +extern PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; +extern PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; +extern PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; + + +/* GL_ES_VERSION_3_2 */ +extern PFNGLBLENDBARRIERPROC glBlendBarrier; + +extern PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; + +extern PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; +extern PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; +extern PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; +extern PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; +extern PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; +extern PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; +extern PFNGLOBJECTLABELPROC glObjectLabel; +extern PFNGLGETOBJECTLABELPROC glGetObjectLabel; +extern PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; +extern PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; +extern PFNGLGETPOINTERVPROC glGetPointerv; + +extern PFNGLENABLEIPROC glEnablei; +extern PFNGLDISABLEIPROC glDisablei; +extern PFNGLBLENDEQUATIONIPROC glBlendEquationi; +extern PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; +extern PFNGLBLENDFUNCIPROC glBlendFunci; +extern PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; +extern PFNGLCOLORMASKIPROC glColorMaski; +extern PFNGLISENABLEDIPROC glIsEnabledi; + +extern PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; +extern PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; +extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; + +extern PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; + +extern PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; + +extern PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; +extern PFNGLREADNPIXELSPROC glReadnPixels; +extern PFNGLGETNUNIFORMFVPROC glGetnUniformfv; +extern PFNGLGETNUNIFORMIVPROC glGetnUniformiv; +extern PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; + +extern PFNGLMINSAMPLESHADINGPROC glMinSampleShading; + +extern PFNGLPATCHPARAMETERIPROC glPatchParameteri; + +extern PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; +extern PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; +extern PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; +extern PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; +extern PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; +extern PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; +extern PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; +extern PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; + +extern PFNGLTEXBUFFERPROC glTexBuffer; +extern PFNGLTEXBUFFERRANGEPROC glTexBufferRange; + +extern PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; + + +/* GLES3W_GENERATE_GLES_DECLARATION */ + +/** + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + * The above section is auto-generated from GLES spec by running: + * node tools/gles-wrangler-generator/generate.js + * ========================= !DO NOT CHANGE THE ABOVE SECTION MANUALLY! ========================= + */ + +using PFNGLES3WLOADPROC = void *(*)(const char *); +void gles3wLoadProcs(PFNGLES3WLOADPROC gles3wLoad); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 5356f24e08..8914957c85 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -119,12 +119,12 @@ void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb cmd->clearDepth = depth; cmd->clearStencil = stencil; _curCmdPackage->beginRenderPassCmds.push(cmd); - _curCmdPackage->cmds.push(GLES2CmdType::BEGIN_RENDER_PASS); + _curCmdPackage->cmds.push(GLESCmdType::BEGIN_RENDER_PASS); } void GLES2CommandBuffer::endRenderPass() { _isInRenderPass = false; - _curCmdPackage->cmds.push(GLES2CmdType::END_RENDER_PASS); + _curCmdPackage->cmds.push(GLESCmdType::END_RENDER_PASS); } void GLES2CommandBuffer::bindPipelineState(PipelineState *pso) { @@ -247,7 +247,7 @@ void GLES2CommandBuffer::draw(InputAssembler *ia) { GLES2CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); ((GLES2InputAssembler *)ia)->ExtractCmdDraw(cmd); _curCmdPackage->drawCmds.push(cmd); - _curCmdPackage->cmds.push(GLES2CmdType::DRAW); + _curCmdPackage->cmds.push(GLESCmdType::DRAW); ++_numDrawCalls; _numInstances += ia->getInstanceCount(); @@ -286,7 +286,7 @@ void GLES2CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); - _curCmdPackage->cmds.push(GLES2CmdType::UPDATE_BUFFER); + _curCmdPackage->cmds.push(GLESCmdType::UPDATE_BUFFER); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); @@ -305,7 +305,7 @@ void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex cmd->buffers = buffers; _curCmdPackage->copyBufferToTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GLES2CmdType::COPY_BUFFER_TO_TEXTURE); + _curCmdPackage->cmds.push(GLESCmdType::COPY_BUFFER_TO_TEXTURE); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); @@ -391,7 +391,7 @@ void GLES2CommandBuffer::BindStates() { cmd->stencilCompareMask = _curStencilCompareMask; _curCmdPackage->bindStatesCmds.push(cmd); - _curCmdPackage->cmds.push(GLES2CmdType::BIND_STATES); + _curCmdPackage->cmds.push(GLESCmdType::BIND_STATES); _isStateInvalid = false; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 1f388cafef..47901d9554 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -934,7 +934,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GL_CHECK(glGetShaderInfoLog(gpuStage.glShader, logSize, nullptr, logs)); CC_LOG_ERROR("%s in %s compilation failed.", shaderTypeStr.c_str(), gpuShader->name.c_str()); - CC_LOG_ERROR("Shader source:%s", gpuStage.source.c_str()); + CC_LOG_ERROR("Shader source:%s", shaderSrc); CC_LOG_ERROR(logs); CC_FREE(logs); GL_CHECK(glDeleteShader(gpuStage.glShader)); @@ -2529,39 +2529,39 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { if (!cmdPackage->cmds.size()) return; - static uint cmdIndices[(int)GLES2CmdType::COUNT] = {0}; + static uint cmdIndices[(int)GLESCmdType::COUNT] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { - GLES2CmdType cmdType = cmdPackage->cmds[i]; + GLESCmdType cmdType = cmdPackage->cmds[i]; uint &cmdIdx = cmdIndices[(int)cmdType]; switch (cmdType) { - case GLES2CmdType::BEGIN_RENDER_PASS: { + case GLESCmdType::BEGIN_RENDER_PASS: { GLES2CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; GLES2CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); break; } - case GLES2CmdType::END_RENDER_PASS: { + case GLESCmdType::END_RENDER_PASS: { GLES2CmdFuncEndRenderPass(device); break; } - case GLES2CmdType::BIND_STATES: { + case GLESCmdType::BIND_STATES: { GLES2CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; GLES2CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); break; } - case GLES2CmdType::DRAW: { + case GLESCmdType::DRAW: { GLES2CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; GLES2CmdFuncDraw(device, cmd->drawInfo); break; } - case GLES2CmdType::UPDATE_BUFFER: { + case GLESCmdType::UPDATE_BUFFER: { GLES2CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; GLES2CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); break; } - case GLES2CmdType::COPY_BUFFER_TO_TEXTURE: { + case GLESCmdType::COPY_BUFFER_TO_TEXTURE: { GLES2CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; GLES2CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index 98e839a50b..de05912329 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -24,32 +24,12 @@ THE SOFTWARE. #ifndef CC_GFXGLES2_COMMANDS_H_ #define CC_GFXGLES2_COMMANDS_H_ +#include "../gfx-gles-common/GLESCommandPool.h" #include "GLES2GPUObjects.h" namespace cc { namespace gfx { -enum class GLES2CmdType : uint8_t { - BEGIN_RENDER_PASS, - END_RENDER_PASS, - BIND_STATES, - DRAW, - UPDATE_BUFFER, - COPY_BUFFER_TO_TEXTURE, - COUNT, -}; - -class GLES2Cmd : public Object { -public: - GLES2CmdType type; - uint refCount = 0; - - GLES2Cmd(GLES2CmdType _type) : type(_type) {} - virtual ~GLES2Cmd() {} - - virtual void clear() = 0; -}; - class GLES2Device; struct GLES2DepthBias final { @@ -90,7 +70,7 @@ struct GLES2BufferTextureCopy final { GLES2TextureSubres texSubres; }; -class GLES2CmdBeginRenderPass final : public GLES2Cmd { +class GLES2CmdBeginRenderPass final : public GLESCmd { public: GLES2GPURenderPass *gpuRenderPass = nullptr; GLES2GPUFramebuffer *gpuFBO = nullptr; @@ -100,7 +80,7 @@ public: float clearDepth = 1.0f; int clearStencil = 0; - GLES2CmdBeginRenderPass() : GLES2Cmd(GLES2CmdType::BEGIN_RENDER_PASS) {} + GLES2CmdBeginRenderPass() : GLESCmd(GLESCmdType::BEGIN_RENDER_PASS) {} virtual void clear() override { gpuFBO = nullptr; @@ -120,7 +100,7 @@ enum class GLES2State { COUNT, }; -class GLES2CmdBindStates final : public GLES2Cmd { +class GLES2CmdBindStates final : public GLESCmd { public: GLES2GPUPipelineState *gpuPipelineState = nullptr; GLES2GPUInputAssembler *gpuInputAssembler = nullptr; @@ -136,7 +116,7 @@ public: GLES2StencilWriteMask stencilWriteMask; GLES2StencilCompareMask stencilCompareMask; - GLES2CmdBindStates() : GLES2Cmd(GLES2CmdType::BIND_STATES) {} + GLES2CmdBindStates() : GLESCmd(GLESCmdType::BIND_STATES) {} virtual void clear() override { gpuPipelineState = nullptr; @@ -146,22 +126,22 @@ public: } }; -class GLES2CmdDraw final : public GLES2Cmd { +class GLES2CmdDraw final : public GLESCmd { public: DrawInfo drawInfo; - GLES2CmdDraw() : GLES2Cmd(GLES2CmdType::DRAW) {} + GLES2CmdDraw() : GLESCmd(GLESCmdType::DRAW) {} virtual void clear() override {} }; -class GLES2CmdUpdateBuffer final : public GLES2Cmd { +class GLES2CmdUpdateBuffer final : public GLESCmd { public: GLES2GPUBuffer *gpuBuffer = nullptr; uint8_t *buffer = nullptr; uint size = 0; uint offset = 0; - GLES2CmdUpdateBuffer() : GLES2Cmd(GLES2CmdType::UPDATE_BUFFER) {} + GLES2CmdUpdateBuffer() : GLESCmd(GLESCmdType::UPDATE_BUFFER) {} virtual void clear() override { gpuBuffer = nullptr; @@ -169,14 +149,14 @@ public: } }; -class GLES2CmdCopyBufferToTexture final : public GLES2Cmd { +class GLES2CmdCopyBufferToTexture final : public GLESCmd { public: GLES2GPUTexture *gpuTexture = nullptr; const BufferTextureCopy *regions = nullptr; uint count = 0u; const uint8_t *const *buffers; - GLES2CmdCopyBufferToTexture() : GLES2Cmd(GLES2CmdType::COPY_BUFFER_TO_TEXTURE) {} + GLES2CmdCopyBufferToTexture() : GLESCmd(GLESCmdType::COPY_BUFFER_TO_TEXTURE) {} virtual void clear() override { gpuTexture = nullptr; @@ -188,7 +168,7 @@ public: class GLES2CmdPackage final : public Object { public: - CachedArray cmds; + CachedArray cmds; CachedArray beginRenderPassCmds; CachedArray bindStatesCmds; CachedArray drawCmds; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.h b/native/cocos/renderer/gfx-gles2/GLES2Context.h index db58fe2a62..b491751a07 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.h @@ -24,7 +24,7 @@ THE SOFTWARE. #ifndef CC_GFXGLES2_EGL_CONTEXT_H_ #define CC_GFXGLES2_EGL_CONTEXT_H_ -#include "gles2w.h" +#include "GLES2Wrangler.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index 17187c2d66..f6563cb2e6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -24,7 +24,7 @@ THE SOFTWARE. #ifndef CC_GFXGLES2_GPU_OBJECTS_H_ #define CC_GFXGLES2_GPU_OBJECTS_H_ -#include "gles2w.h" +#include "GLES2Wrangler.h" namespace cc { namespace gfx { @@ -86,8 +86,6 @@ public: Address addressU = Address::CLAMP; Address addressV = Address::CLAMP; Address addressW = Address::CLAMP; - uint minLOD = 0; - uint maxLOD = 1000; GLenum glMinFilter = 0; GLenum glMagFilter = 0; GLenum glWrapS = 0; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp index c440a21aa4..b54d61fb7b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp @@ -45,8 +45,6 @@ bool GLES2Sampler::initialize(const SamplerInfo &info) { _maxAnisotropy = info.maxAnisotropy; _cmpFunc = info.cmpFunc; _borderColor = info.borderColor; - _minLOD = info.minLOD; - _maxLOD = info.maxLOD; _mipLODBias = info.mipLODBias; _gpuSampler = CC_NEW(GLES2GPUSampler); @@ -56,8 +54,6 @@ bool GLES2Sampler::initialize(const SamplerInfo &info) { _gpuSampler->addressU = _addressU; _gpuSampler->addressV = _addressV; _gpuSampler->addressW = _addressW; - _gpuSampler->minLOD = _minLOD; - _gpuSampler->maxLOD = _maxLOD; GLES2CmdFuncCreateSampler((GLES2Device *)_device, _gpuSampler); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp new file mode 100644 index 0000000000..ccd9961e22 --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp @@ -0,0 +1,79 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "GLES2Wrangler.h" + +#if defined(_WIN32) && !defined(ANDROID) + #define WIN32_LEAN_AND_MEAN 1 + #include + +static HMODULE libegl = NULL; +static HMODULE libgles = NULL; + +bool gles2wOpen() { + libegl = LoadLibraryA("libEGL.dll"); + libgles = LoadLibraryA("libGLESv2.dll"); + return (libegl && libgles); +} + +void *gles2wLoad(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); + if (!res) res = (void *)GetProcAddress(libegl, proc); + return res; +} +#elif defined(__EMSCRIPTEN__) +bool gles2wOpen() { return true; } +void *gles2wLoad(const char *proc) { + return (void *)eglGetProcAddress(proc); +} +#else + #include + +static void *libegl = nullptr; +static void *libgles = nullptr; + +bool gles2wOpen() { + libegl = dlopen("libEGL.so", RTLD_LAZY | RTLD_GLOBAL); + libgles = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); + return (libegl && libgles); +} + +void *gles2wLoad(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); + if (!res) res = dlsym(libegl, proc); + return res; +} +#endif + +bool gles2wInit(void) { + if (!gles2wOpen()) { + return false; + } + + eglwLoadProcs(gles2wLoad); + gles2wLoadProcs(gles2wLoad); + + return true; +} diff --git a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.h b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.h new file mode 100644 index 0000000000..815eb061c6 --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.h @@ -0,0 +1,43 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#pragma once + +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) + #define EGL_EGL_PROTOTYPES 0 + #include + #include + #include +#endif + +#define GL_GLES_PROTOTYPES 0 +#include + +#include +#include +#include + +bool gles2wInit(); + +#include "../gfx-gles-common/eglw.h" +#include "../gfx-gles-common/gles2w.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.mm b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.mm new file mode 100644 index 0000000000..c85d2c4c94 --- /dev/null +++ b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.mm @@ -0,0 +1,108 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "GLES2Wrangler.h" + +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #import + #import + #import + #import + #import + #import + +static CFBundleRef g_es2Bundle; +static CFURLRef g_es2BundleURL; + +static int gles2wOpen() { + #if TARGET_IPHONE_SIMULATOR + CFStringRef frameworkPath = CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework"); + #else + CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); + #endif + + g_es2BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, + frameworkPath, + kCFURLPOSIXPathStyle, true); + + CFRelease(frameworkPath); + + g_es2Bundle = CFBundleCreate(kCFAllocatorDefault, g_es2BundleURL); + + return (g_es2Bundle != NULL); +} + +static void *gles2wLoad(const char *proc) { + void *res; + + CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, + kCFStringEncodingASCII); + res = CFBundleGetFunctionPointerForName(g_es2Bundle, procname); + CFRelease(procname); + return res; +} +#else + // macos + #include + #include + #include + #import + #import + +static void *libegl; +static void *libgl; + +static int gles2wOpen() { + NSURL *appURL = [[NSBundle mainBundle] bundleURL]; + + std::string libPath(appURL.resourceSpecifier.UTF8String); + libPath.append("/Contents/Frameworks/libEGL.dylib"); + libegl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); + if (!libegl) printf("%s\n", dlerror()); + + libPath = appURL.resourceSpecifier.UTF8String; + libPath.append("/Contents/Frameworks/libGLESv2.dylib"); + libgl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); + if (!libgl) printf("%s\n", dlerror()); + + return (libegl && libgl); +} + +static void *gles2wLoad(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); + if (!res) res = (void *)dlsym(libegl, proc); + return res; +} +#endif + +bool gles2wInit() { + if (!gles2wOpen()) { + return false; + } + + eglwLoadProcs(gles2wLoad); + gles2wLoadProcs(gles2wLoad); + + return true; +} diff --git a/native/cocos/renderer/gfx-gles2/gles2w.mm b/native/cocos/renderer/gfx-gles2/gles2w.mm deleted file mode 100755 index 1fee84ba57..0000000000 --- a/native/cocos/renderer/gfx-gles2/gles2w.mm +++ /dev/null @@ -1,2907 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "gles2w.h" - -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #import - #import - #import - #import - #import - #import - -static CFBundleRef g_es2Bundle; -static CFURLRef g_es2BundleURL; - -static int gles2wOpen() { - #if TARGET_IPHONE_SIMULATOR - CFStringRef frameworkPath = CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework"); - #else - CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); - #endif - - g_es2BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - frameworkPath, - kCFURLPOSIXPathStyle, true); - - CFRelease(frameworkPath); - - g_es2Bundle = CFBundleCreate(kCFAllocatorDefault, g_es2BundleURL); - - return (g_es2Bundle != NULL); -} - -static void *gles2wLoad(const char *proc) { - void *res; - - CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, - kCFStringEncodingASCII); - res = CFBundleGetFunctionPointerForName(g_es2Bundle, procname); - CFRelease(procname); - return res; -} -#else - // macos - #include - #include - #include - #import - #import - -static void *libegl; -static void *libgl; - -static int gles2wOpen() { - NSURL *appURL = [[NSBundle mainBundle] bundleURL]; - - std::string libPath(appURL.resourceSpecifier.UTF8String); - libPath.append("/Contents/Frameworks/libEGL.dylib"); - libegl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); - if (!libegl) printf("%s\n", dlerror()); - - libPath = appURL.resourceSpecifier.UTF8String; - libPath.append("/Contents/Frameworks/libGLESv2.dylib"); - libgl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); - if (!libgl) printf("%s\n", dlerror()); - - return (libegl && libgl); -} - -static void *gles2wLoad(const char *proc) { - void *res = nullptr; - if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); - if (!res) res = (void *)dlsym(libegl, proc); - return res; -} -#endif - -static void gles2wLoadProcs(); - -bool gles2wInit() { - if (!gles2wOpen()) { - return false; - } - - gles2wLoadProcs(); - - return true; -} - -#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) -/* GLES2W_GENERATE_EGL_DEFINITION */ -PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -PFNEGLCHOOSECONFIGPROC eglChooseConfig; -PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -PFNEGLCREATECONTEXTPROC eglCreateContext; -PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -PFNEGLDESTROYSURFACEPROC eglDestroySurface; -PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -PFNEGLGETCONFIGSPROC eglGetConfigs; -PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -PFNEGLGETDISPLAYPROC eglGetDisplay; -PFNEGLGETERRORPROC eglGetError; -PFNEGLINITIALIZEPROC eglInitialize; -PFNEGLMAKECURRENTPROC eglMakeCurrent; -PFNEGLQUERYCONTEXTPROC eglQueryContext; -PFNEGLQUERYSTRINGPROC eglQueryString; -PFNEGLQUERYSURFACEPROC eglQuerySurface; -PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -PFNEGLTERMINATEPROC eglTerminate; -PFNEGLWAITGLPROC eglWaitGL; -PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -PFNEGLBINDAPIPROC eglBindAPI; -PFNEGLQUERYAPIPROC eglQueryAPI; -PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -PFNEGLRELEASETHREADPROC eglReleaseThread; -PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -PFNEGLCREATESYNCPROC eglCreateSync; -PFNEGLDESTROYSYNCPROC eglDestroySync; -PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -PFNEGLCREATEIMAGEPROC eglCreateImage; -PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -PFNEGLFENCENVPROC eglFenceNV; -PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -/* GLES2W_GENERATE_EGL_DEFINITION */ -#endif - -/* GLES2W_GENERATE_GLES_DEFINITION */ -/* GL_ES_VERSION_2_0 */ -PFNGLACTIVETEXTUREPROC glActiveTexture; -PFNGLATTACHSHADERPROC glAttachShader; -PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -PFNGLBINDBUFFERPROC glBindBuffer; -PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -PFNGLBINDTEXTUREPROC glBindTexture; -PFNGLBLENDCOLORPROC glBlendColor; -PFNGLBLENDEQUATIONPROC glBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -PFNGLBLENDFUNCPROC glBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -PFNGLBUFFERDATAPROC glBufferData; -PFNGLBUFFERSUBDATAPROC glBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -PFNGLCLEARPROC glClear; -PFNGLCLEARCOLORPROC glClearColor; -PFNGLCLEARDEPTHFPROC glClearDepthf; -PFNGLCLEARSTENCILPROC glClearStencil; -PFNGLCOLORMASKPROC glColorMask; -PFNGLCOMPILESHADERPROC glCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC glCreateProgram; -PFNGLCREATESHADERPROC glCreateShader; -PFNGLCULLFACEPROC glCullFace; -PFNGLDELETEBUFFERSPROC glDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC glDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -PFNGLDELETESHADERPROC glDeleteShader; -PFNGLDELETETEXTURESPROC glDeleteTextures; -PFNGLDEPTHFUNCPROC glDepthFunc; -PFNGLDEPTHMASKPROC glDepthMask; -PFNGLDEPTHRANGEFPROC glDepthRangef; -PFNGLDETACHSHADERPROC glDetachShader; -PFNGLDISABLEPROC glDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC glDrawArrays; -PFNGLDRAWELEMENTSPROC glDrawElements; -PFNGLENABLEPROC glEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -PFNGLFINISHPROC glFinish; -PFNGLFLUSHPROC glFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -PFNGLFRONTFACEPROC glFrontFace; -PFNGLGENBUFFERSPROC glGenBuffers; -PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -PFNGLGENTEXTURESPROC glGenTextures; -PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -PFNGLGETBOOLEANVPROC glGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -PFNGLGETERRORPROC glGetError; -PFNGLGETFLOATVPROC glGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC glGetIntegerv; -PFNGLGETPROGRAMIVPROC glGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC glGetShaderiv; -PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC glGetShaderSource; -PFNGLGETSTRINGPROC glGetString; -PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -PFNGLGETUNIFORMFVPROC glGetUniformfv; -PFNGLGETUNIFORMIVPROC glGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -PFNGLHINTPROC glHint; -PFNGLISBUFFERPROC glIsBuffer; -PFNGLISENABLEDPROC glIsEnabled; -PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -PFNGLISPROGRAMPROC glIsProgram; -PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -PFNGLISSHADERPROC glIsShader; -PFNGLISTEXTUREPROC glIsTexture; -PFNGLLINEWIDTHPROC glLineWidth; -PFNGLLINKPROGRAMPROC glLinkProgram; -PFNGLPIXELSTOREIPROC glPixelStorei; -PFNGLPOLYGONOFFSETPROC glPolygonOffset; -PFNGLREADPIXELSPROC glReadPixels; -PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -PFNGLSCISSORPROC glScissor; -PFNGLSHADERBINARYPROC glShaderBinary; -PFNGLSHADERSOURCEPROC glShaderSource; -PFNGLSTENCILFUNCPROC glStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -PFNGLSTENCILMASKPROC glStencilMask; -PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -PFNGLSTENCILOPPROC glStencilOp; -PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -PFNGLTEXIMAGE2DPROC glTexImage2D; -PFNGLTEXPARAMETERFPROC glTexParameterf; -PFNGLTEXPARAMETERFVPROC glTexParameterfv; -PFNGLTEXPARAMETERIPROC glTexParameteri; -PFNGLTEXPARAMETERIVPROC glTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -PFNGLUNIFORM1FPROC glUniform1f; -PFNGLUNIFORM1FVPROC glUniform1fv; -PFNGLUNIFORM1IPROC glUniform1i; -PFNGLUNIFORM1IVPROC glUniform1iv; -PFNGLUNIFORM2FPROC glUniform2f; -PFNGLUNIFORM2FVPROC glUniform2fv; -PFNGLUNIFORM2IPROC glUniform2i; -PFNGLUNIFORM2IVPROC glUniform2iv; -PFNGLUNIFORM3FPROC glUniform3f; -PFNGLUNIFORM3FVPROC glUniform3fv; -PFNGLUNIFORM3IPROC glUniform3i; -PFNGLUNIFORM3IVPROC glUniform3iv; -PFNGLUNIFORM4FPROC glUniform4f; -PFNGLUNIFORM4FVPROC glUniform4fv; -PFNGLUNIFORM4IPROC glUniform4i; -PFNGLUNIFORM4IVPROC glUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -PFNGLUSEPROGRAMPROC glUseProgram; -PFNGLVALIDATEPROGRAMPROC glValidateProgram; -PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -PFNGLVIEWPORTPROC glViewport; - - -#if defined(GL_AMD_framebuffer_multisample_advanced) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; -PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) -PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) -PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) -PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) -PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) -PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) -PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) -PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; - -PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) -PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) -PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; -PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; -PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; -PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) -PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) -PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; -PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) -PFNGLCLIPCONTROLEXTPROC glClipControlEXT; -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) -PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) -PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) -PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) -PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) -PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -PFNGLISQUERYEXTPROC glIsQueryEXT; -PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -PFNGLENDQUERYEXTPROC glEndQueryEXT; -PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) -PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) -PFNGLENABLEIEXTPROC glEnableiEXT; -PFNGLDISABLEIEXTPROC glDisableiEXT; -PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; -PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; -PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; -PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; -PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; -PFNGLISENABLEDIEXTPROC glIsEnablediEXT; -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; -PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; -PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) -PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; -PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) -PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; -PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) -PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) -PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) -PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; -PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; -PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; -PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; -PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; -PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; -PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; -PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; -PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; -PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; -PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; -PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; - -PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; -PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; -PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; -PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; -PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) -PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) -PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; -PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) -PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) -PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; -PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) -PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) -PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) -PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) -PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) -PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; -PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; -PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; -PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; -PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; -PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; -PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) -PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) -PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; -PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) -PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; - -PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; -PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; -PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; -PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; -PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; -PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; -PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; -PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) -PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) -PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; -PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; -PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) -PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) -PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) -PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; -PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; -PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; -PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; -PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; -PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; -PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; -PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) -PFNGLTEXBUFFEREXTPROC glTexBufferEXT; -PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) -PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; - -PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) -PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) -PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; -PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; -PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) -PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; -PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) -PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) -PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; -PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; -PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; -PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; -PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; -PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) -PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; -PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) -PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) -PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; -PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; -PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; -PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; -PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; -PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; -PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; -PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; -PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; -PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) -PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) -PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) -PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; -PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; -PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; -PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; -PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) -PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) -PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; -PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) -PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; -PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; -PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; -PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; -PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; -PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; -PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; -PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; -PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; -PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; -PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; -PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; -PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) -PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; -PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) -PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) -PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; -PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) -PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) -PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) -PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) -PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) -PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) -PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; -PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; -PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; -PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; -PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) -PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -PFNGLGENFENCESNVPROC glGenFencesNV; -PFNGLISFENCENVPROC glIsFenceNV; -PFNGLTESTFENCENVPROC glTestFenceNV; -PFNGLGETFENCEIVNVPROC glGetFenceivNV; -PFNGLFINISHFENCENVPROC glFinishFenceNV; -PFNGLSETFENCENVPROC glSetFenceNV; -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) -PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) -PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) -PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; -PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; -PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) -PFNGLUNIFORM1I64NVPROC glUniform1i64NV; -PFNGLUNIFORM2I64NVPROC glUniform2i64NV; -PFNGLUNIFORM3I64NVPROC glUniform3i64NV; -PFNGLUNIFORM4I64NVPROC glUniform4i64NV; -PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; -PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; -PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; -PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; -PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; -PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; -PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; -PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; -PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; -PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; -PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; -PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; -PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; - -PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; -PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; -PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; -PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; -PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; -PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; -PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; -PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; -PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; -PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; -PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; -PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; -PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; -PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; -PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; -PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) -PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) -PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) -PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; -PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; -PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; -PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; - -PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; -PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) -PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; -PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; - -PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; -PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) -PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; -PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) -PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; -PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; -PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; -PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; -PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; -PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) -PFNGLGENPATHSNVPROC glGenPathsNV; -PFNGLDELETEPATHSNVPROC glDeletePathsNV; -PFNGLISPATHNVPROC glIsPathNV; -PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; -PFNGLPATHCOORDSNVPROC glPathCoordsNV; -PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; -PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; -PFNGLPATHSTRINGNVPROC glPathStringNV; -PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; -PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; -PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; -PFNGLCOPYPATHNVPROC glCopyPathNV; -PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; -PFNGLTRANSFORMPATHNVPROC glTransformPathNV; -PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; -PFNGLPATHPARAMETERINVPROC glPathParameteriNV; -PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; -PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; -PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; -PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; -PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; -PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; -PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; -PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; -PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; -PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; -PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; -PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; -PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; -PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; -PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; -PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; -PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; -PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; -PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; -PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; -PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; -PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; -PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; -PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; -PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; -PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; - -PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; -PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; -PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; -PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; -PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; -PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; -PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; -PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; -PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; -PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; -PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; - -PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; -PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; -PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; -PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; - -PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; -PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; -PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; -PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; -PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; -PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; -PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; -PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; -PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; -PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; -PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; -PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; -PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; -PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; -PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; -PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; -PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; -PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; -PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) -PFNGLPOLYGONMODENVPROC glPolygonModeNV; -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) -PFNGLREADBUFFERNVPROC glReadBufferNV; -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) -PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; -PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; -PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) -PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; -PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) -PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; -PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; -PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; -PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; -PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; -PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; -PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) -PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; -PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; -PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; -PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; -PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; -PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; -PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; -PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; -PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; -PFNGLENABLEINVPROC glEnableiNV; -PFNGLDISABLEINVPROC glDisableiNV; -PFNGLISENABLEDINVPROC glIsEnablediNV; -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) -PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) -PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) -PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) -PFNGLENABLEIOESPROC glEnableiOES; -PFNGLDISABLEIOESPROC glDisableiOES; -PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; -PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; -PFNGLBLENDFUNCIOESPROC glBlendFunciOES; -PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; -PFNGLCOLORMASKIOESPROC glColorMaskiOES; -PFNGLISENABLEDIOESPROC glIsEnablediOES; -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; -PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) -PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) -PFNGLMAPBUFFEROESPROC glMapBufferOES; -PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) -PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) -PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) -PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) -PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; -PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; -PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; -PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; -PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; -PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; -PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; -PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) -PFNGLTEXBUFFEROESPROC glTexBufferOES; -PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) -PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) -PFNGLTEXTUREVIEWOESPROC glTextureViewOES; -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) -PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) -PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; -PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; -PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; -PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; -PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; -PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; -PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; -PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; -PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) -PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) -PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) -PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) -PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) -PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) -PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) -PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; -PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) -PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; -PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) -PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) -PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) -PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) -PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) -PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -PFNGLENDTILINGQCOMPROC glEndTilingQCOM; -#endif /* defined(GL_QCOM_tiled_rendering) */ - -/* GLES2W_GENERATE_GLES_DEFINITION */ - -static void gles2wLoadProcs() { -#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) - /* GLES2W_GENERATE_EGL_LOAD */ - eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles2wLoad("eglGetProcAddress"); - - /* EGL_VERSION_1_0 */ - eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)gles2wLoad("eglChooseConfig"); - eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)gles2wLoad("eglCopyBuffers"); - eglCreateContext = (PFNEGLCREATECONTEXTPROC)gles2wLoad("eglCreateContext"); - eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)gles2wLoad("eglCreatePbufferSurface"); - eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)gles2wLoad("eglCreatePixmapSurface"); - eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)gles2wLoad("eglCreateWindowSurface"); - eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)gles2wLoad("eglDestroyContext"); - eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)gles2wLoad("eglDestroySurface"); - eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)gles2wLoad("eglGetConfigAttrib"); - eglGetConfigs = (PFNEGLGETCONFIGSPROC)gles2wLoad("eglGetConfigs"); - eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)gles2wLoad("eglGetCurrentDisplay"); - eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)gles2wLoad("eglGetCurrentSurface"); - eglGetDisplay = (PFNEGLGETDISPLAYPROC)gles2wLoad("eglGetDisplay"); - eglGetError = (PFNEGLGETERRORPROC)gles2wLoad("eglGetError"); - eglInitialize = (PFNEGLINITIALIZEPROC)gles2wLoad("eglInitialize"); - eglMakeCurrent = (PFNEGLMAKECURRENTPROC)gles2wLoad("eglMakeCurrent"); - eglQueryContext = (PFNEGLQUERYCONTEXTPROC)gles2wLoad("eglQueryContext"); - eglQueryString = (PFNEGLQUERYSTRINGPROC)gles2wLoad("eglQueryString"); - eglQuerySurface = (PFNEGLQUERYSURFACEPROC)gles2wLoad("eglQuerySurface"); - eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)gles2wLoad("eglSwapBuffers"); - eglTerminate = (PFNEGLTERMINATEPROC)gles2wLoad("eglTerminate"); - eglWaitGL = (PFNEGLWAITGLPROC)gles2wLoad("eglWaitGL"); - eglWaitNative = (PFNEGLWAITNATIVEPROC)gles2wLoad("eglWaitNative"); - - - /* EGL_VERSION_1_1 */ - eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)gles2wLoad("eglBindTexImage"); - eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)gles2wLoad("eglReleaseTexImage"); - eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)gles2wLoad("eglSurfaceAttrib"); - eglSwapInterval = (PFNEGLSWAPINTERVALPROC)gles2wLoad("eglSwapInterval"); - - - /* EGL_VERSION_1_2 */ - eglBindAPI = (PFNEGLBINDAPIPROC)gles2wLoad("eglBindAPI"); - eglQueryAPI = (PFNEGLQUERYAPIPROC)gles2wLoad("eglQueryAPI"); - eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)gles2wLoad("eglCreatePbufferFromClientBuffer"); - eglReleaseThread = (PFNEGLRELEASETHREADPROC)gles2wLoad("eglReleaseThread"); - eglWaitClient = (PFNEGLWAITCLIENTPROC)gles2wLoad("eglWaitClient"); - - - /* EGL_VERSION_1_3 */ - - /* EGL_VERSION_1_4 */ - eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)gles2wLoad("eglGetCurrentContext"); - - - /* EGL_VERSION_1_5 */ - eglCreateSync = (PFNEGLCREATESYNCPROC)gles2wLoad("eglCreateSync"); - eglDestroySync = (PFNEGLDESTROYSYNCPROC)gles2wLoad("eglDestroySync"); - eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)gles2wLoad("eglClientWaitSync"); - eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)gles2wLoad("eglGetSyncAttrib"); - - eglCreateImage = (PFNEGLCREATEIMAGEPROC)gles2wLoad("eglCreateImage"); - eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)gles2wLoad("eglDestroyImage"); - - eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)gles2wLoad("eglGetPlatformDisplay"); - eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)gles2wLoad("eglCreatePlatformWindowSurface"); - eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)gles2wLoad("eglCreatePlatformPixmapSurface"); - - eglWaitSync = (PFNEGLWAITSYNCPROC)gles2wLoad("eglWaitSync"); - - -#if defined(EGL_ANDROID_blob_cache) - eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)gles2wLoad("eglSetBlobCacheFuncsANDROID"); -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) - eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)gles2wLoad("eglCreateNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) - eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)gles2wLoad("eglGetNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) - eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)gles2wLoad("eglDupNativeFenceFDANDROID"); -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) - eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)gles2wLoad("eglPresentationTimeANDROID"); -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) - eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)gles2wLoad("eglGetCompositorTimingSupportedANDROID"); - eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)gles2wLoad("eglGetCompositorTimingANDROID"); - eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)gles2wLoad("eglGetNextFrameIdANDROID"); - eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)gles2wLoad("eglGetFrameTimestampSupportedANDROID"); - eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)gles2wLoad("eglGetFrameTimestampsANDROID"); -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) - eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)gles2wLoad("eglQuerySurfacePointerANGLE"); -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) - eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)gles2wLoad("eglClientSignalSyncEXT"); -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) - eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)gles2wLoad("eglQueryDeviceAttribEXT"); - eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)gles2wLoad("eglQueryDeviceStringEXT"); - eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)gles2wLoad("eglQueryDevicesEXT"); - eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)gles2wLoad("eglQueryDisplayAttribEXT"); -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) - eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)gles2wLoad("eglQueryDmaBufFormatsEXT"); - eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)gles2wLoad("eglQueryDmaBufModifiersEXT"); -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) - eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)gles2wLoad("eglGetOutputLayersEXT"); - eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)gles2wLoad("eglGetOutputPortsEXT"); - eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)gles2wLoad("eglOutputLayerAttribEXT"); - eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)gles2wLoad("eglQueryOutputLayerAttribEXT"); - eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)gles2wLoad("eglQueryOutputLayerStringEXT"); - eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)gles2wLoad("eglOutputPortAttribEXT"); - eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)gles2wLoad("eglQueryOutputPortAttribEXT"); - eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)gles2wLoad("eglQueryOutputPortStringEXT"); -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) - eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)gles2wLoad("eglGetPlatformDisplayEXT"); - eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)gles2wLoad("eglCreatePlatformWindowSurfaceEXT"); - eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)gles2wLoad("eglCreatePlatformPixmapSurfaceEXT"); -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) - eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)gles2wLoad("eglStreamConsumerOutputEXT"); -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) - eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)gles2wLoad("eglSwapBuffersWithDamageEXT"); -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) - eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)gles2wLoad("eglUnsignalSyncEXT"); -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) - eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)gles2wLoad("eglCreatePixmapSurfaceHI"); -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) - eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)gles2wLoad("eglCreateSync64KHR"); -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) - eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("eglDebugMessageControlKHR"); - eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)gles2wLoad("eglQueryDebugKHR"); - eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)gles2wLoad("eglLabelObjectKHR"); -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) - eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)gles2wLoad("eglQueryDisplayAttribKHR"); -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) - eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)gles2wLoad("eglCreateSyncKHR"); - eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)gles2wLoad("eglDestroySyncKHR"); - eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)gles2wLoad("eglClientWaitSyncKHR"); - eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)gles2wLoad("eglGetSyncAttribKHR"); -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) - eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gles2wLoad("eglCreateImageKHR"); - eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gles2wLoad("eglDestroyImageKHR"); -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) - eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)gles2wLoad("eglLockSurfaceKHR"); - eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)gles2wLoad("eglUnlockSurfaceKHR"); -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) - eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)gles2wLoad("eglQuerySurface64KHR"); -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) - eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)gles2wLoad("eglSetDamageRegionKHR"); -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) - eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)gles2wLoad("eglSignalSyncKHR"); -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) - eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)gles2wLoad("eglCreateStreamKHR"); - eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)gles2wLoad("eglDestroyStreamKHR"); - eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)gles2wLoad("eglStreamAttribKHR"); - eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)gles2wLoad("eglQueryStreamKHR"); - eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)gles2wLoad("eglQueryStreamu64KHR"); -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) - eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)gles2wLoad("eglCreateStreamAttribKHR"); - eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)gles2wLoad("eglSetStreamAttribKHR"); - eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)gles2wLoad("eglQueryStreamAttribKHR"); - eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)gles2wLoad("eglStreamConsumerAcquireAttribKHR"); - eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)gles2wLoad("eglStreamConsumerReleaseAttribKHR"); -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) - eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)gles2wLoad("eglStreamConsumerGLTextureExternalKHR"); - eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)gles2wLoad("eglStreamConsumerAcquireKHR"); - eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)gles2wLoad("eglStreamConsumerReleaseKHR"); -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) - eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)gles2wLoad("eglGetStreamFileDescriptorKHR"); - eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)gles2wLoad("eglCreateStreamFromFileDescriptorKHR"); -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) - eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)gles2wLoad("eglQueryStreamTimeKHR"); -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) - eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)gles2wLoad("eglCreateStreamProducerSurfaceKHR"); -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) - eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)gles2wLoad("eglSwapBuffersWithDamageKHR"); -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) - eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)gles2wLoad("eglWaitSyncKHR"); -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) - eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)gles2wLoad("eglCreateDRMImageMESA"); - eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)gles2wLoad("eglExportDRMImageMESA"); -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) - eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)gles2wLoad("eglExportDMABUFImageQueryMESA"); - eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)gles2wLoad("eglExportDMABUFImageMESA"); -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) - eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)gles2wLoad("eglGetDisplayDriverConfig"); - eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)gles2wLoad("eglGetDisplayDriverName"); -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) - eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)gles2wLoad("eglSwapBuffersRegionNOK"); -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) - eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)gles2wLoad("eglSwapBuffersRegion2NOK"); -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) - eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)gles2wLoad("eglQueryNativeDisplayNV"); - eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)gles2wLoad("eglQueryNativeWindowNV"); - eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)gles2wLoad("eglQueryNativePixmapNV"); -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) - eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)gles2wLoad("eglPostSubBufferNV"); -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) - eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)gles2wLoad("eglStreamConsumerGLTextureExternalAttribsNV"); -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) - eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)gles2wLoad("eglStreamImageConsumerConnectNV"); - eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)gles2wLoad("eglQueryStreamConsumerEventNV"); - eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)gles2wLoad("eglStreamAcquireImageNV"); - eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)gles2wLoad("eglStreamReleaseImageNV"); -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) - eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)gles2wLoad("eglStreamFlushNV"); -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) - eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)gles2wLoad("eglQueryDisplayAttribNV"); - eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)gles2wLoad("eglSetStreamMetadataNV"); - eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)gles2wLoad("eglQueryStreamMetadataNV"); -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) - eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)gles2wLoad("eglResetStreamNV"); -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) - eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)gles2wLoad("eglCreateStreamSyncNV"); -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) - eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)gles2wLoad("eglCreateFenceSyncNV"); - eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)gles2wLoad("eglDestroySyncNV"); - eglFenceNV = (PFNEGLFENCENVPROC)gles2wLoad("eglFenceNV"); - eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)gles2wLoad("eglClientWaitSyncNV"); - eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)gles2wLoad("eglSignalSyncNV"); - eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)gles2wLoad("eglGetSyncAttribNV"); -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) - eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)gles2wLoad("eglGetSystemTimeFrequencyNV"); - eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)gles2wLoad("eglGetSystemTimeNV"); -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) - eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)gles2wLoad("eglCompositorSetContextListEXT"); - eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)gles2wLoad("eglCompositorSetContextAttributesEXT"); - eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)gles2wLoad("eglCompositorSetWindowListEXT"); - eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)gles2wLoad("eglCompositorSetWindowAttributesEXT"); - eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)gles2wLoad("eglCompositorBindTexWindowEXT"); - eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)gles2wLoad("eglCompositorSetSizeEXT"); - eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)gles2wLoad("eglCompositorSwapPolicyEXT"); -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) - eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)gles2wLoad("eglBindWaylandDisplayWL"); - eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)gles2wLoad("eglUnbindWaylandDisplayWL"); - eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)gles2wLoad("eglQueryWaylandBufferWL"); -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) - eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles2wLoad("eglCreateWaylandBufferFromImageWL"); -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - - /* GLES2W_GENERATE_EGL_LOAD */ -#endif - - /* GLES2W_GENERATE_GLES_LOAD */ - /* GL_ES_VERSION_2_0 */ - glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles2wLoad("glActiveTexture"); - glAttachShader = (PFNGLATTACHSHADERPROC)gles2wLoad("glAttachShader"); - glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles2wLoad("glBindAttribLocation"); - glBindBuffer = (PFNGLBINDBUFFERPROC)gles2wLoad("glBindBuffer"); - glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles2wLoad("glBindFramebuffer"); - glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles2wLoad("glBindRenderbuffer"); - glBindTexture = (PFNGLBINDTEXTUREPROC)gles2wLoad("glBindTexture"); - glBlendColor = (PFNGLBLENDCOLORPROC)gles2wLoad("glBlendColor"); - glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles2wLoad("glBlendEquation"); - glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles2wLoad("glBlendEquationSeparate"); - glBlendFunc = (PFNGLBLENDFUNCPROC)gles2wLoad("glBlendFunc"); - glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles2wLoad("glBlendFuncSeparate"); - glBufferData = (PFNGLBUFFERDATAPROC)gles2wLoad("glBufferData"); - glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles2wLoad("glBufferSubData"); - glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles2wLoad("glCheckFramebufferStatus"); - glClear = (PFNGLCLEARPROC)gles2wLoad("glClear"); - glClearColor = (PFNGLCLEARCOLORPROC)gles2wLoad("glClearColor"); - glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles2wLoad("glClearDepthf"); - glClearStencil = (PFNGLCLEARSTENCILPROC)gles2wLoad("glClearStencil"); - glColorMask = (PFNGLCOLORMASKPROC)gles2wLoad("glColorMask"); - glCompileShader = (PFNGLCOMPILESHADERPROC)gles2wLoad("glCompileShader"); - glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles2wLoad("glCompressedTexImage2D"); - glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles2wLoad("glCompressedTexSubImage2D"); - glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles2wLoad("glCopyTexImage2D"); - glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles2wLoad("glCopyTexSubImage2D"); - glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles2wLoad("glCreateProgram"); - glCreateShader = (PFNGLCREATESHADERPROC)gles2wLoad("glCreateShader"); - glCullFace = (PFNGLCULLFACEPROC)gles2wLoad("glCullFace"); - glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles2wLoad("glDeleteBuffers"); - glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles2wLoad("glDeleteFramebuffers"); - glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles2wLoad("glDeleteProgram"); - glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles2wLoad("glDeleteRenderbuffers"); - glDeleteShader = (PFNGLDELETESHADERPROC)gles2wLoad("glDeleteShader"); - glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles2wLoad("glDeleteTextures"); - glDepthFunc = (PFNGLDEPTHFUNCPROC)gles2wLoad("glDepthFunc"); - glDepthMask = (PFNGLDEPTHMASKPROC)gles2wLoad("glDepthMask"); - glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles2wLoad("glDepthRangef"); - glDetachShader = (PFNGLDETACHSHADERPROC)gles2wLoad("glDetachShader"); - glDisable = (PFNGLDISABLEPROC)gles2wLoad("glDisable"); - glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glDisableVertexAttribArray"); - glDrawArrays = (PFNGLDRAWARRAYSPROC)gles2wLoad("glDrawArrays"); - glDrawElements = (PFNGLDRAWELEMENTSPROC)gles2wLoad("glDrawElements"); - glEnable = (PFNGLENABLEPROC)gles2wLoad("glEnable"); - glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles2wLoad("glEnableVertexAttribArray"); - glFinish = (PFNGLFINISHPROC)gles2wLoad("glFinish"); - glFlush = (PFNGLFLUSHPROC)gles2wLoad("glFlush"); - glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles2wLoad("glFramebufferRenderbuffer"); - glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles2wLoad("glFramebufferTexture2D"); - glFrontFace = (PFNGLFRONTFACEPROC)gles2wLoad("glFrontFace"); - glGenBuffers = (PFNGLGENBUFFERSPROC)gles2wLoad("glGenBuffers"); - glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles2wLoad("glGenerateMipmap"); - glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles2wLoad("glGenFramebuffers"); - glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles2wLoad("glGenRenderbuffers"); - glGenTextures = (PFNGLGENTEXTURESPROC)gles2wLoad("glGenTextures"); - glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles2wLoad("glGetActiveAttrib"); - glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles2wLoad("glGetActiveUniform"); - glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles2wLoad("glGetAttachedShaders"); - glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles2wLoad("glGetAttribLocation"); - glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles2wLoad("glGetBooleanv"); - glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles2wLoad("glGetBufferParameteriv"); - glGetError = (PFNGLGETERRORPROC)gles2wLoad("glGetError"); - glGetFloatv = (PFNGLGETFLOATVPROC)gles2wLoad("glGetFloatv"); - glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles2wLoad("glGetFramebufferAttachmentParameteriv"); - glGetIntegerv = (PFNGLGETINTEGERVPROC)gles2wLoad("glGetIntegerv"); - glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles2wLoad("glGetProgramiv"); - glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles2wLoad("glGetProgramInfoLog"); - glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles2wLoad("glGetRenderbufferParameteriv"); - glGetShaderiv = (PFNGLGETSHADERIVPROC)gles2wLoad("glGetShaderiv"); - glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles2wLoad("glGetShaderInfoLog"); - glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles2wLoad("glGetShaderPrecisionFormat"); - glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles2wLoad("glGetShaderSource"); - glGetString = (PFNGLGETSTRINGPROC)gles2wLoad("glGetString"); - glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles2wLoad("glGetTexParameterfv"); - glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles2wLoad("glGetTexParameteriv"); - glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles2wLoad("glGetUniformfv"); - glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles2wLoad("glGetUniformiv"); - glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles2wLoad("glGetUniformLocation"); - glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles2wLoad("glGetVertexAttribfv"); - glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles2wLoad("glGetVertexAttribiv"); - glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles2wLoad("glGetVertexAttribPointerv"); - glHint = (PFNGLHINTPROC)gles2wLoad("glHint"); - glIsBuffer = (PFNGLISBUFFERPROC)gles2wLoad("glIsBuffer"); - glIsEnabled = (PFNGLISENABLEDPROC)gles2wLoad("glIsEnabled"); - glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles2wLoad("glIsFramebuffer"); - glIsProgram = (PFNGLISPROGRAMPROC)gles2wLoad("glIsProgram"); - glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles2wLoad("glIsRenderbuffer"); - glIsShader = (PFNGLISSHADERPROC)gles2wLoad("glIsShader"); - glIsTexture = (PFNGLISTEXTUREPROC)gles2wLoad("glIsTexture"); - glLineWidth = (PFNGLLINEWIDTHPROC)gles2wLoad("glLineWidth"); - glLinkProgram = (PFNGLLINKPROGRAMPROC)gles2wLoad("glLinkProgram"); - glPixelStorei = (PFNGLPIXELSTOREIPROC)gles2wLoad("glPixelStorei"); - glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles2wLoad("glPolygonOffset"); - glReadPixels = (PFNGLREADPIXELSPROC)gles2wLoad("glReadPixels"); - glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles2wLoad("glReleaseShaderCompiler"); - glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles2wLoad("glRenderbufferStorage"); - glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles2wLoad("glSampleCoverage"); - glScissor = (PFNGLSCISSORPROC)gles2wLoad("glScissor"); - glShaderBinary = (PFNGLSHADERBINARYPROC)gles2wLoad("glShaderBinary"); - glShaderSource = (PFNGLSHADERSOURCEPROC)gles2wLoad("glShaderSource"); - glStencilFunc = (PFNGLSTENCILFUNCPROC)gles2wLoad("glStencilFunc"); - glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles2wLoad("glStencilFuncSeparate"); - glStencilMask = (PFNGLSTENCILMASKPROC)gles2wLoad("glStencilMask"); - glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles2wLoad("glStencilMaskSeparate"); - glStencilOp = (PFNGLSTENCILOPPROC)gles2wLoad("glStencilOp"); - glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles2wLoad("glStencilOpSeparate"); - glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles2wLoad("glTexImage2D"); - glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles2wLoad("glTexParameterf"); - glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles2wLoad("glTexParameterfv"); - glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles2wLoad("glTexParameteri"); - glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles2wLoad("glTexParameteriv"); - glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles2wLoad("glTexSubImage2D"); - glUniform1f = (PFNGLUNIFORM1FPROC)gles2wLoad("glUniform1f"); - glUniform1fv = (PFNGLUNIFORM1FVPROC)gles2wLoad("glUniform1fv"); - glUniform1i = (PFNGLUNIFORM1IPROC)gles2wLoad("glUniform1i"); - glUniform1iv = (PFNGLUNIFORM1IVPROC)gles2wLoad("glUniform1iv"); - glUniform2f = (PFNGLUNIFORM2FPROC)gles2wLoad("glUniform2f"); - glUniform2fv = (PFNGLUNIFORM2FVPROC)gles2wLoad("glUniform2fv"); - glUniform2i = (PFNGLUNIFORM2IPROC)gles2wLoad("glUniform2i"); - glUniform2iv = (PFNGLUNIFORM2IVPROC)gles2wLoad("glUniform2iv"); - glUniform3f = (PFNGLUNIFORM3FPROC)gles2wLoad("glUniform3f"); - glUniform3fv = (PFNGLUNIFORM3FVPROC)gles2wLoad("glUniform3fv"); - glUniform3i = (PFNGLUNIFORM3IPROC)gles2wLoad("glUniform3i"); - glUniform3iv = (PFNGLUNIFORM3IVPROC)gles2wLoad("glUniform3iv"); - glUniform4f = (PFNGLUNIFORM4FPROC)gles2wLoad("glUniform4f"); - glUniform4fv = (PFNGLUNIFORM4FVPROC)gles2wLoad("glUniform4fv"); - glUniform4i = (PFNGLUNIFORM4IPROC)gles2wLoad("glUniform4i"); - glUniform4iv = (PFNGLUNIFORM4IVPROC)gles2wLoad("glUniform4iv"); - glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles2wLoad("glUniformMatrix2fv"); - glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles2wLoad("glUniformMatrix3fv"); - glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles2wLoad("glUniformMatrix4fv"); - glUseProgram = (PFNGLUSEPROGRAMPROC)gles2wLoad("glUseProgram"); - glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles2wLoad("glValidateProgram"); - glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles2wLoad("glVertexAttrib1f"); - glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles2wLoad("glVertexAttrib1fv"); - glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles2wLoad("glVertexAttrib2f"); - glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles2wLoad("glVertexAttrib2fv"); - glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles2wLoad("glVertexAttrib3f"); - glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles2wLoad("glVertexAttrib3fv"); - glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles2wLoad("glVertexAttrib4f"); - glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles2wLoad("glVertexAttrib4fv"); - glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles2wLoad("glVertexAttribPointer"); - glViewport = (PFNGLVIEWPORTPROC)gles2wLoad("glViewport"); - - -#if defined(GL_AMD_framebuffer_multisample_advanced) - glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); - glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles2wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) - glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles2wLoad("glGetPerfMonitorGroupsAMD"); - glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glGetPerfMonitorCountersAMD"); - glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorGroupStringAMD"); - glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles2wLoad("glGetPerfMonitorCounterStringAMD"); - glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles2wLoad("glGetPerfMonitorCounterInfoAMD"); - glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles2wLoad("glGenPerfMonitorsAMD"); - glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles2wLoad("glDeletePerfMonitorsAMD"); - glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles2wLoad("glSelectPerfMonitorCountersAMD"); - glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles2wLoad("glBeginPerfMonitorAMD"); - glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles2wLoad("glEndPerfMonitorAMD"); - glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles2wLoad("glGetPerfMonitorCounterDataAMD"); -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) - glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles2wLoad("glBlitFramebufferANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) - glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles2wLoad("glRenderbufferStorageMultisampleANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) - glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles2wLoad("glDrawArraysInstancedANGLE"); - glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles2wLoad("glDrawElementsInstancedANGLE"); - glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles2wLoad("glVertexAttribDivisorANGLE"); -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) - glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles2wLoad("glGetTranslatedShaderSourceANGLE"); -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) - glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles2wLoad("glCopyTextureLevelsAPPLE"); -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) - glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles2wLoad("glRenderbufferStorageMultisampleAPPLE"); - glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles2wLoad("glResolveMultisampleFramebufferAPPLE"); -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) - glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles2wLoad("glFenceSyncAPPLE"); - glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles2wLoad("glIsSyncAPPLE"); - glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles2wLoad("glDeleteSyncAPPLE"); - glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles2wLoad("glClientWaitSyncAPPLE"); - glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles2wLoad("glWaitSyncAPPLE"); - glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles2wLoad("glGetInteger64vAPPLE"); - glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles2wLoad("glGetSyncivAPPLE"); -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) - glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTexStorageEXT"); - - glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles2wLoad("glEGLImageTargetTextureStorageEXT"); -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) - glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawArraysInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) - glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles2wLoad("glBindFragDataLocationIndexedEXT"); - glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles2wLoad("glBindFragDataLocationEXT"); - glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles2wLoad("glGetProgramResourceLocationIndexEXT"); - glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles2wLoad("glGetFragDataIndexEXT"); -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) - glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles2wLoad("glBufferStorageEXT"); -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) - glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles2wLoad("glClearTexImageEXT"); - glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles2wLoad("glClearTexSubImageEXT"); -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) - glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles2wLoad("glClipControlEXT"); -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) - glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles2wLoad("glCopyImageSubDataEXT"); -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) - glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles2wLoad("glLabelObjectEXT"); - glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles2wLoad("glGetObjectLabelEXT"); -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) - glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles2wLoad("glInsertEventMarkerEXT"); - glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles2wLoad("glPushGroupMarkerEXT"); - glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles2wLoad("glPopGroupMarkerEXT"); -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) - glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles2wLoad("glDiscardFramebufferEXT"); -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) - glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles2wLoad("glGenQueriesEXT"); - glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles2wLoad("glDeleteQueriesEXT"); - glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles2wLoad("glIsQueryEXT"); - glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles2wLoad("glBeginQueryEXT"); - glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles2wLoad("glEndQueryEXT"); - glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles2wLoad("glQueryCounterEXT"); - glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles2wLoad("glGetQueryivEXT"); - glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles2wLoad("glGetQueryObjectivEXT"); - glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles2wLoad("glGetQueryObjectuivEXT"); - glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles2wLoad("glGetQueryObjecti64vEXT"); - glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles2wLoad("glGetQueryObjectui64vEXT"); - glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles2wLoad("glGetInteger64vEXT"); -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) - glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles2wLoad("glDrawBuffersEXT"); -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) - glEnableiEXT = (PFNGLENABLEIEXTPROC)gles2wLoad("glEnableiEXT"); - glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles2wLoad("glDisableiEXT"); - glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles2wLoad("glBlendEquationiEXT"); - glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles2wLoad("glBlendEquationSeparateiEXT"); - glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles2wLoad("glBlendFunciEXT"); - glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles2wLoad("glBlendFuncSeparateiEXT"); - glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles2wLoad("glColorMaskiEXT"); - glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles2wLoad("glIsEnablediEXT"); -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) - glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsBaseVertexEXT"); - glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glDrawRangeElementsBaseVertexEXT"); - glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles2wLoad("glDrawElementsInstancedBaseVertexEXT"); - glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles2wLoad("glMultiDrawElementsBaseVertexEXT"); -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) - glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles2wLoad("glDrawArraysInstancedEXT"); - glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles2wLoad("glDrawElementsInstancedEXT"); -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) - glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles2wLoad("glDrawTransformFeedbackEXT"); - glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles2wLoad("glDrawTransformFeedbackInstancedEXT"); -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) - glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glBufferStorageExternalEXT"); - glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles2wLoad("glNamedBufferStorageExternalEXT"); -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) - glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles2wLoad("glFramebufferTextureEXT"); -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) - glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles2wLoad("glVertexAttribDivisorEXT"); -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) - glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles2wLoad("glMapBufferRangeEXT"); - glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles2wLoad("glFlushMappedBufferRangeEXT"); -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) - glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles2wLoad("glGetUnsignedBytevEXT"); - glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles2wLoad("glGetUnsignedBytei_vEXT"); - glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles2wLoad("glDeleteMemoryObjectsEXT"); - glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles2wLoad("glIsMemoryObjectEXT"); - glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles2wLoad("glCreateMemoryObjectsEXT"); - glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glMemoryObjectParameterivEXT"); - glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles2wLoad("glGetMemoryObjectParameterivEXT"); - glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles2wLoad("glTexStorageMem2DEXT"); - glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem2DMultisampleEXT"); - glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles2wLoad("glTexStorageMem3DEXT"); - glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTexStorageMem3DMultisampleEXT"); - glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glBufferStorageMemEXT"); - - glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles2wLoad("glTextureStorageMem2DEXT"); - glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem2DMultisampleEXT"); - glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles2wLoad("glTextureStorageMem3DEXT"); - glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles2wLoad("glTextureStorageMem3DMultisampleEXT"); - glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles2wLoad("glNamedBufferStorageMemEXT"); -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) - glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles2wLoad("glImportMemoryFdEXT"); -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) - glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles2wLoad("glImportMemoryWin32HandleEXT"); - glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles2wLoad("glImportMemoryWin32NameEXT"); -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) - glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles2wLoad("glMultiDrawArraysEXT"); - glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles2wLoad("glMultiDrawElementsEXT"); -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) - glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles2wLoad("glMultiDrawArraysIndirectEXT"); - glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles2wLoad("glMultiDrawElementsIndirectEXT"); -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) - glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles2wLoad("glRenderbufferStorageMultisampleEXT"); - glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles2wLoad("glFramebufferTexture2DMultisampleEXT"); -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) - glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles2wLoad("glReadBufferIndexedEXT"); - glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles2wLoad("glDrawBuffersIndexedEXT"); - glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles2wLoad("glGetIntegeri_vEXT"); -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) - glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles2wLoad("glPolygonOffsetClampEXT"); -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) - glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles2wLoad("glPrimitiveBoundingBoxEXT"); -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) - glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles2wLoad("glRasterSamplesEXT"); -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) - glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles2wLoad("glGetGraphicsResetStatusEXT"); - glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles2wLoad("glReadnPixelsEXT"); - glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles2wLoad("glGetnUniformfvEXT"); - glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles2wLoad("glGetnUniformivEXT"); -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) - glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles2wLoad("glGenSemaphoresEXT"); - glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles2wLoad("glDeleteSemaphoresEXT"); - glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles2wLoad("glIsSemaphoreEXT"); - glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glSemaphoreParameterui64vEXT"); - glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles2wLoad("glGetSemaphoreParameterui64vEXT"); - glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles2wLoad("glWaitSemaphoreEXT"); - glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles2wLoad("glSignalSemaphoreEXT"); -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) - glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles2wLoad("glImportSemaphoreFdEXT"); -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) - glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles2wLoad("glImportSemaphoreWin32HandleEXT"); - glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles2wLoad("glImportSemaphoreWin32NameEXT"); -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) - glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles2wLoad("glActiveShaderProgramEXT"); - glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles2wLoad("glBindProgramPipelineEXT"); - glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles2wLoad("glCreateShaderProgramvEXT"); - glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles2wLoad("glDeleteProgramPipelinesEXT"); - glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles2wLoad("glGenProgramPipelinesEXT"); - glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles2wLoad("glGetProgramPipelineInfoLogEXT"); - glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles2wLoad("glGetProgramPipelineivEXT"); - glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles2wLoad("glIsProgramPipelineEXT"); - glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles2wLoad("glProgramParameteriEXT"); - glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles2wLoad("glProgramUniform1fEXT"); - glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles2wLoad("glProgramUniform1fvEXT"); - glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles2wLoad("glProgramUniform1iEXT"); - glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles2wLoad("glProgramUniform1ivEXT"); - glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles2wLoad("glProgramUniform2fEXT"); - glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles2wLoad("glProgramUniform2fvEXT"); - glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles2wLoad("glProgramUniform2iEXT"); - glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles2wLoad("glProgramUniform2ivEXT"); - glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles2wLoad("glProgramUniform3fEXT"); - glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles2wLoad("glProgramUniform3fvEXT"); - glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles2wLoad("glProgramUniform3iEXT"); - glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles2wLoad("glProgramUniform3ivEXT"); - glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles2wLoad("glProgramUniform4fEXT"); - glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles2wLoad("glProgramUniform4fvEXT"); - glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles2wLoad("glProgramUniform4iEXT"); - glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles2wLoad("glProgramUniform4ivEXT"); - glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles2wLoad("glProgramUniformMatrix2fvEXT"); - glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles2wLoad("glProgramUniformMatrix3fvEXT"); - glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles2wLoad("glProgramUniformMatrix4fvEXT"); - glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles2wLoad("glUseProgramStagesEXT"); - glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles2wLoad("glValidateProgramPipelineEXT"); - - glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles2wLoad("glProgramUniform1uiEXT"); - glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles2wLoad("glProgramUniform2uiEXT"); - glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles2wLoad("glProgramUniform3uiEXT"); - glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles2wLoad("glProgramUniform4uiEXT"); - glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles2wLoad("glProgramUniform1uivEXT"); - glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles2wLoad("glProgramUniform2uivEXT"); - glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles2wLoad("glProgramUniform3uivEXT"); - glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles2wLoad("glProgramUniform4uivEXT"); - glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x3fvEXT"); - glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x2fvEXT"); - glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix2x4fvEXT"); - glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x2fvEXT"); - glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles2wLoad("glProgramUniformMatrix3x4fvEXT"); - glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles2wLoad("glProgramUniformMatrix4x3fvEXT"); -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) - glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles2wLoad("glFramebufferFetchBarrierEXT"); -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) - glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glFramebufferPixelLocalStorageSizeEXT"); - glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles2wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); - glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles2wLoad("glClearPixelLocalStorageuiEXT"); -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) - glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles2wLoad("glTexPageCommitmentEXT"); -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) - glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles2wLoad("glPatchParameteriEXT"); -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) - glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles2wLoad("glTexParameterIivEXT"); - glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles2wLoad("glTexParameterIuivEXT"); - glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles2wLoad("glGetTexParameterIivEXT"); - glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles2wLoad("glGetTexParameterIuivEXT"); - glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glSamplerParameterIivEXT"); - glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glSamplerParameterIuivEXT"); - glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles2wLoad("glGetSamplerParameterIivEXT"); - glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles2wLoad("glGetSamplerParameterIuivEXT"); -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) - glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles2wLoad("glTexBufferEXT"); - glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles2wLoad("glTexBufferRangeEXT"); -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) - glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles2wLoad("glTexStorage1DEXT"); - glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles2wLoad("glTexStorage2DEXT"); - glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles2wLoad("glTexStorage3DEXT"); - - glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles2wLoad("glTextureStorage1DEXT"); - glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles2wLoad("glTextureStorage2DEXT"); - glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles2wLoad("glTextureStorage3DEXT"); -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) - glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles2wLoad("glTextureViewEXT"); -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) - glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles2wLoad("glCreateSemaphoresNV"); - glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glSemaphoreParameterivNV"); - glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles2wLoad("glGetSemaphoreParameterivNV"); -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) - glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glAcquireKeyedMutexWin32EXT"); - glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles2wLoad("glReleaseKeyedMutexWin32EXT"); -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) - glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles2wLoad("glWindowRectanglesEXT"); -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) - glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles2wLoad("glGetTextureHandleIMG"); - glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles2wLoad("glGetTextureSamplerHandleIMG"); - glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glUniformHandleui64IMG"); - glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glUniformHandleui64vIMG"); - glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles2wLoad("glProgramUniformHandleui64IMG"); - glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles2wLoad("glProgramUniformHandleui64vIMG"); -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) - glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DDownsampleIMG"); - glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles2wLoad("glFramebufferTextureLayerDownsampleIMG"); -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) - glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles2wLoad("glRenderbufferStorageMultisampleIMG"); - glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles2wLoad("glFramebufferTexture2DMultisampleIMG"); -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) - glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles2wLoad("glApplyFramebufferAttachmentCMAAINTEL"); -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) - glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles2wLoad("glBeginPerfQueryINTEL"); - glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles2wLoad("glCreatePerfQueryINTEL"); - glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles2wLoad("glDeletePerfQueryINTEL"); - glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles2wLoad("glEndPerfQueryINTEL"); - glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles2wLoad("glGetFirstPerfQueryIdINTEL"); - glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles2wLoad("glGetNextPerfQueryIdINTEL"); - glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles2wLoad("glGetPerfCounterInfoINTEL"); - glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles2wLoad("glGetPerfQueryDataINTEL"); - glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles2wLoad("glGetPerfQueryIdByNameINTEL"); - glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles2wLoad("glGetPerfQueryInfoINTEL"); -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) - glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles2wLoad("glBlendBarrierKHR"); -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) - glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles2wLoad("glDebugMessageControlKHR"); - glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles2wLoad("glDebugMessageInsertKHR"); - glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles2wLoad("glDebugMessageCallbackKHR"); - glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles2wLoad("glGetDebugMessageLogKHR"); - glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles2wLoad("glPushDebugGroupKHR"); - glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles2wLoad("glPopDebugGroupKHR"); - glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles2wLoad("glObjectLabelKHR"); - glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles2wLoad("glGetObjectLabelKHR"); - glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles2wLoad("glObjectPtrLabelKHR"); - glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles2wLoad("glGetObjectPtrLabelKHR"); - glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles2wLoad("glGetPointervKHR"); -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) - glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles2wLoad("glGetGraphicsResetStatusKHR"); - glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles2wLoad("glReadnPixelsKHR"); - glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles2wLoad("glGetnUniformfvKHR"); - glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles2wLoad("glGetnUniformivKHR"); - glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles2wLoad("glGetnUniformuivKHR"); -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) - glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles2wLoad("glMaxShaderCompilerThreadsKHR"); -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) - glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles2wLoad("glFramebufferParameteriMESA"); - glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles2wLoad("glGetFramebufferParameterivMESA"); -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) - glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles2wLoad("glGetTextureHandleNV"); - glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles2wLoad("glGetTextureSamplerHandleNV"); - glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glMakeTextureHandleResidentNV"); - glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeTextureHandleNonResidentNV"); - glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles2wLoad("glGetImageHandleNV"); - glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glMakeImageHandleResidentNV"); - glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles2wLoad("glMakeImageHandleNonResidentNV"); - glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles2wLoad("glUniformHandleui64NV"); - glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glUniformHandleui64vNV"); - glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles2wLoad("glProgramUniformHandleui64NV"); - glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles2wLoad("glProgramUniformHandleui64vNV"); - glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles2wLoad("glIsTextureHandleResidentNV"); - glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles2wLoad("glIsImageHandleResidentNV"); -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) - glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles2wLoad("glBlendParameteriNV"); - glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles2wLoad("glBlendBarrierNV"); -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) - glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles2wLoad("glViewportPositionWScaleNV"); -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) - glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles2wLoad("glBeginConditionalRenderNV"); - glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles2wLoad("glEndConditionalRenderNV"); -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) - glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles2wLoad("glSubpixelPrecisionBiasNV"); -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) - glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles2wLoad("glConservativeRasterParameteriNV"); -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) - glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles2wLoad("glCopyBufferSubDataNV"); -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) - glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles2wLoad("glCoverageMaskNV"); - glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles2wLoad("glCoverageOperationNV"); -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) - glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles2wLoad("glDrawBuffersNV"); -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) - glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles2wLoad("glDrawArraysInstancedNV"); - glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles2wLoad("glDrawElementsInstancedNV"); -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) - glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles2wLoad("glDrawVkImageNV"); - glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles2wLoad("glGetVkProcAddrNV"); - glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles2wLoad("glWaitVkSemaphoreNV"); - glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles2wLoad("glSignalVkSemaphoreNV"); - glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles2wLoad("glSignalVkFenceNV"); -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) - glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles2wLoad("glDeleteFencesNV"); - glGenFencesNV = (PFNGLGENFENCESNVPROC)gles2wLoad("glGenFencesNV"); - glIsFenceNV = (PFNGLISFENCENVPROC)gles2wLoad("glIsFenceNV"); - glTestFenceNV = (PFNGLTESTFENCENVPROC)gles2wLoad("glTestFenceNV"); - glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles2wLoad("glGetFenceivNV"); - glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles2wLoad("glFinishFenceNV"); - glSetFenceNV = (PFNGLSETFENCENVPROC)gles2wLoad("glSetFenceNV"); -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) - glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles2wLoad("glFragmentCoverageColorNV"); -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) - glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles2wLoad("glBlitFramebufferNV"); -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) - glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glCoverageModulationTableNV"); - glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles2wLoad("glGetCoverageModulationTableNV"); - glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles2wLoad("glCoverageModulationNV"); -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) - glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles2wLoad("glRenderbufferStorageMultisampleNV"); -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) - glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles2wLoad("glUniform1i64NV"); - glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles2wLoad("glUniform2i64NV"); - glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles2wLoad("glUniform3i64NV"); - glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles2wLoad("glUniform4i64NV"); - glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles2wLoad("glUniform1i64vNV"); - glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles2wLoad("glUniform2i64vNV"); - glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles2wLoad("glUniform3i64vNV"); - glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles2wLoad("glUniform4i64vNV"); - glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles2wLoad("glUniform1ui64NV"); - glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles2wLoad("glUniform2ui64NV"); - glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles2wLoad("glUniform3ui64NV"); - glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles2wLoad("glUniform4ui64NV"); - glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles2wLoad("glUniform1ui64vNV"); - glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles2wLoad("glUniform2ui64vNV"); - glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles2wLoad("glUniform3ui64vNV"); - glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles2wLoad("glUniform4ui64vNV"); - glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles2wLoad("glGetUniformi64vNV"); - - glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles2wLoad("glProgramUniform1i64NV"); - glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles2wLoad("glProgramUniform2i64NV"); - glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles2wLoad("glProgramUniform3i64NV"); - glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles2wLoad("glProgramUniform4i64NV"); - glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles2wLoad("glProgramUniform1i64vNV"); - glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles2wLoad("glProgramUniform2i64vNV"); - glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles2wLoad("glProgramUniform3i64vNV"); - glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles2wLoad("glProgramUniform4i64vNV"); - glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles2wLoad("glProgramUniform1ui64NV"); - glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles2wLoad("glProgramUniform2ui64NV"); - glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles2wLoad("glProgramUniform3ui64NV"); - glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles2wLoad("glProgramUniform4ui64NV"); - glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles2wLoad("glProgramUniform1ui64vNV"); - glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles2wLoad("glProgramUniform2ui64vNV"); - glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles2wLoad("glProgramUniform3ui64vNV"); - glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles2wLoad("glProgramUniform4ui64vNV"); -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) - glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles2wLoad("glVertexAttribDivisorNV"); -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) - glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles2wLoad("glGetInternalformatSampleivNV"); -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) - glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles2wLoad("glGetMemoryObjectDetachedResourcesuivNV"); - glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles2wLoad("glResetMemoryObjectParameterNV"); - glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles2wLoad("glTexAttachMemoryNV"); - glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles2wLoad("glBufferAttachMemoryNV"); - - glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles2wLoad("glTextureAttachMemoryNV"); - glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles2wLoad("glNamedBufferAttachMemoryNV"); -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) - glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glBufferPageCommitmentMemNV"); - glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexPageCommitmentMemNV"); - - glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles2wLoad("glNamedBufferPageCommitmentMemNV"); - glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles2wLoad("glTexturePageCommitmentMemNV"); -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) - glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles2wLoad("glDrawMeshTasksNV"); - glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles2wLoad("glMultiDrawMeshTasksIndirectCountNV"); -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) - glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles2wLoad("glUniformMatrix2x3fvNV"); - glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles2wLoad("glUniformMatrix3x2fvNV"); - glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles2wLoad("glUniformMatrix2x4fvNV"); - glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles2wLoad("glUniformMatrix4x2fvNV"); - glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles2wLoad("glUniformMatrix3x4fvNV"); - glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles2wLoad("glUniformMatrix4x3fvNV"); -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) - glGenPathsNV = (PFNGLGENPATHSNVPROC)gles2wLoad("glGenPathsNV"); - glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles2wLoad("glDeletePathsNV"); - glIsPathNV = (PFNGLISPATHNVPROC)gles2wLoad("glIsPathNV"); - glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles2wLoad("glPathCommandsNV"); - glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles2wLoad("glPathCoordsNV"); - glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles2wLoad("glPathSubCommandsNV"); - glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles2wLoad("glPathSubCoordsNV"); - glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles2wLoad("glPathStringNV"); - glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles2wLoad("glPathGlyphsNV"); - glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles2wLoad("glPathGlyphRangeNV"); - glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles2wLoad("glWeightPathsNV"); - glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles2wLoad("glCopyPathNV"); - glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles2wLoad("glInterpolatePathsNV"); - glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles2wLoad("glTransformPathNV"); - glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles2wLoad("glPathParameterivNV"); - glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles2wLoad("glPathParameteriNV"); - glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles2wLoad("glPathParameterfvNV"); - glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles2wLoad("glPathParameterfNV"); - glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles2wLoad("glPathDashArrayNV"); - glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles2wLoad("glPathStencilFuncNV"); - glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles2wLoad("glPathStencilDepthOffsetNV"); - glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles2wLoad("glStencilFillPathNV"); - glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles2wLoad("glStencilStrokePathNV"); - glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilFillPathInstancedNV"); - glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilStrokePathInstancedNV"); - glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles2wLoad("glPathCoverDepthFuncNV"); - glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles2wLoad("glCoverFillPathNV"); - glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles2wLoad("glCoverStrokePathNV"); - glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glCoverFillPathInstancedNV"); - glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glCoverStrokePathInstancedNV"); - glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles2wLoad("glGetPathParameterivNV"); - glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles2wLoad("glGetPathParameterfvNV"); - glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles2wLoad("glGetPathCommandsNV"); - glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles2wLoad("glGetPathCoordsNV"); - glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles2wLoad("glGetPathDashArrayNV"); - glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles2wLoad("glGetPathMetricsNV"); - glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles2wLoad("glGetPathMetricRangeNV"); - glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles2wLoad("glGetPathSpacingNV"); - glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles2wLoad("glIsPointInFillPathNV"); - glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles2wLoad("glIsPointInStrokePathNV"); - glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles2wLoad("glGetPathLengthNV"); - glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles2wLoad("glPointAlongPathNV"); - - glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles2wLoad("glMatrixLoad3x2fNV"); - glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles2wLoad("glMatrixLoad3x3fNV"); - glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixLoadTranspose3x3fNV"); - glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles2wLoad("glMatrixMult3x2fNV"); - glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles2wLoad("glMatrixMult3x3fNV"); - glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles2wLoad("glMatrixMultTranspose3x3fNV"); - glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles2wLoad("glStencilThenCoverFillPathNV"); - glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles2wLoad("glStencilThenCoverStrokePathNV"); - glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverFillPathInstancedNV"); - glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles2wLoad("glStencilThenCoverStrokePathInstancedNV"); - glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles2wLoad("glPathGlyphIndexRangeNV"); - - glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathGlyphIndexArrayNV"); - glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles2wLoad("glPathMemoryGlyphIndexArrayNV"); - glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles2wLoad("glProgramPathFragmentInputGenNV"); - glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles2wLoad("glGetProgramResourcefvNV"); - - glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles2wLoad("glMatrixFrustumEXT"); - glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles2wLoad("glMatrixLoadIdentityEXT"); - glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles2wLoad("glMatrixLoadTransposefEXT"); - glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles2wLoad("glMatrixLoadTransposedEXT"); - glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles2wLoad("glMatrixLoadfEXT"); - glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles2wLoad("glMatrixLoaddEXT"); - glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles2wLoad("glMatrixMultTransposefEXT"); - glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles2wLoad("glMatrixMultTransposedEXT"); - glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles2wLoad("glMatrixMultfEXT"); - glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles2wLoad("glMatrixMultdEXT"); - glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles2wLoad("glMatrixOrthoEXT"); - glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles2wLoad("glMatrixPopEXT"); - glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles2wLoad("glMatrixPushEXT"); - glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles2wLoad("glMatrixRotatefEXT"); - glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles2wLoad("glMatrixRotatedEXT"); - glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles2wLoad("glMatrixScalefEXT"); - glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles2wLoad("glMatrixScaledEXT"); - glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles2wLoad("glMatrixTranslatefEXT"); - glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles2wLoad("glMatrixTranslatedEXT"); -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) - glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles2wLoad("glPolygonModeNV"); -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) - glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles2wLoad("glReadBufferNV"); -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) - glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glFramebufferSampleLocationsfvNV"); - glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles2wLoad("glNamedFramebufferSampleLocationsfvNV"); - glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles2wLoad("glResolveDepthValuesNV"); -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) - glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles2wLoad("glScissorExclusiveNV"); - glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles2wLoad("glScissorExclusiveArrayvNV"); -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) - glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles2wLoad("glBindShadingRateImageNV"); - glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glGetShadingRateImagePaletteNV"); - glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles2wLoad("glGetShadingRateSampleLocationivNV"); - glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles2wLoad("glShadingRateImageBarrierNV"); - glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles2wLoad("glShadingRateImagePaletteNV"); - glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles2wLoad("glShadingRateSampleOrderNV"); - glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles2wLoad("glShadingRateSampleOrderCustomNV"); -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) - glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles2wLoad("glViewportArrayvNV"); - glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles2wLoad("glViewportIndexedfNV"); - glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles2wLoad("glViewportIndexedfvNV"); - glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles2wLoad("glScissorArrayvNV"); - glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles2wLoad("glScissorIndexedNV"); - glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles2wLoad("glScissorIndexedvNV"); - glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles2wLoad("glDepthRangeArrayfvNV"); - glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles2wLoad("glDepthRangeIndexedfNV"); - glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles2wLoad("glGetFloati_vNV"); - glEnableiNV = (PFNGLENABLEINVPROC)gles2wLoad("glEnableiNV"); - glDisableiNV = (PFNGLDISABLEINVPROC)gles2wLoad("glDisableiNV"); - glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles2wLoad("glIsEnablediNV"); -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) - glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles2wLoad("glViewportSwizzleNV"); -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) - glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles2wLoad("glEGLImageTargetTexture2DOES"); - glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles2wLoad("glEGLImageTargetRenderbufferStorageOES"); -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) - glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles2wLoad("glCopyImageSubDataOES"); -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) - glEnableiOES = (PFNGLENABLEIOESPROC)gles2wLoad("glEnableiOES"); - glDisableiOES = (PFNGLDISABLEIOESPROC)gles2wLoad("glDisableiOES"); - glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles2wLoad("glBlendEquationiOES"); - glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles2wLoad("glBlendEquationSeparateiOES"); - glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles2wLoad("glBlendFunciOES"); - glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles2wLoad("glBlendFuncSeparateiOES"); - glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles2wLoad("glColorMaskiOES"); - glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles2wLoad("glIsEnablediOES"); -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) - glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawElementsBaseVertexOES"); - glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles2wLoad("glDrawRangeElementsBaseVertexOES"); - glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles2wLoad("glDrawElementsInstancedBaseVertexOES"); -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) - glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles2wLoad("glFramebufferTextureOES"); -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) - glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles2wLoad("glGetProgramBinaryOES"); - glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles2wLoad("glProgramBinaryOES"); -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) - glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles2wLoad("glMapBufferOES"); - glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles2wLoad("glUnmapBufferOES"); - glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles2wLoad("glGetBufferPointervOES"); -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) - glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles2wLoad("glPrimitiveBoundingBoxOES"); -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) - glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles2wLoad("glMinSampleShadingOES"); -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) - glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles2wLoad("glPatchParameteriOES"); -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) - glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles2wLoad("glTexImage3DOES"); - glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles2wLoad("glTexSubImage3DOES"); - glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles2wLoad("glCopyTexSubImage3DOES"); - glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles2wLoad("glCompressedTexImage3DOES"); - glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles2wLoad("glCompressedTexSubImage3DOES"); - glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles2wLoad("glFramebufferTexture3DOES"); -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) - glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles2wLoad("glTexParameterIivOES"); - glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles2wLoad("glTexParameterIuivOES"); - glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles2wLoad("glGetTexParameterIivOES"); - glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles2wLoad("glGetTexParameterIuivOES"); - glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glSamplerParameterIivOES"); - glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glSamplerParameterIuivOES"); - glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles2wLoad("glGetSamplerParameterIivOES"); - glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles2wLoad("glGetSamplerParameterIuivOES"); -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) - glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles2wLoad("glTexBufferOES"); - glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles2wLoad("glTexBufferRangeOES"); -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) - glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles2wLoad("glTexStorage3DMultisampleOES"); -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) - glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles2wLoad("glTextureViewOES"); -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) - glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles2wLoad("glBindVertexArrayOES"); - glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles2wLoad("glDeleteVertexArraysOES"); - glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles2wLoad("glGenVertexArraysOES"); - glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles2wLoad("glIsVertexArrayOES"); -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) - glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles2wLoad("glViewportArrayvOES"); - glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles2wLoad("glViewportIndexedfOES"); - glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles2wLoad("glViewportIndexedfvOES"); - glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles2wLoad("glScissorArrayvOES"); - glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles2wLoad("glScissorIndexedOES"); - glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles2wLoad("glScissorIndexedvOES"); - glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles2wLoad("glDepthRangeArrayfvOES"); - glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles2wLoad("glDepthRangeIndexedfOES"); - glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles2wLoad("glGetFloati_vOES"); -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) - glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultiviewOVR"); -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) - glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles2wLoad("glFramebufferTextureMultisampleMultiviewOVR"); -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) - glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles2wLoad("glAlphaFuncQCOM"); -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) - glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles2wLoad("glGetDriverControlsQCOM"); - glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles2wLoad("glGetDriverControlStringQCOM"); - glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glEnableDriverControlQCOM"); - glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles2wLoad("glDisableDriverControlQCOM"); -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) - glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles2wLoad("glExtGetTexturesQCOM"); - glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles2wLoad("glExtGetBuffersQCOM"); - glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles2wLoad("glExtGetRenderbuffersQCOM"); - glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles2wLoad("glExtGetFramebuffersQCOM"); - glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles2wLoad("glExtGetTexLevelParameterivQCOM"); - glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles2wLoad("glExtTexObjectStateOverrideiQCOM"); - glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles2wLoad("glExtGetTexSubImageQCOM"); - glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles2wLoad("glExtGetBufferPointervQCOM"); -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) - glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles2wLoad("glExtGetShadersQCOM"); - glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles2wLoad("glExtGetProgramsQCOM"); - glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles2wLoad("glExtIsProgramBinaryQCOM"); - glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles2wLoad("glExtGetProgramBinarySourceQCOM"); -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) - glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles2wLoad("glFramebufferFoveationConfigQCOM"); - glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glFramebufferFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) - glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles2wLoad("glTexEstimateMotionQCOM"); - glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles2wLoad("glTexEstimateMotionRegionsQCOM"); -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) - glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles2wLoad("glExtrapolateTex2DQCOM"); -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) - glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles2wLoad("glTextureFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) - glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles2wLoad("glFramebufferFetchBarrierQCOM"); -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) - glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles2wLoad("glShadingRateQCOM"); -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) - glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles2wLoad("glStartTilingQCOM"); - glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles2wLoad("glEndTilingQCOM"); -#endif /* defined(GL_QCOM_tiled_rendering) */ - - /* GLES2W_GENERATE_GLES_LOAD */ -} diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index cb10be64ab..02ef555a8c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -121,12 +121,12 @@ void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb cmd->clearDepth = depth; cmd->clearStencil = stencil; _curCmdPackage->beginRenderPassCmds.push(cmd); - _curCmdPackage->cmds.push(GLES3CmdType::BEGIN_RENDER_PASS); + _curCmdPackage->cmds.push(GLESCmdType::BEGIN_RENDER_PASS); } void GLES3CommandBuffer::endRenderPass() { _isInRenderPass = false; - _curCmdPackage->cmds.push(GLES3CmdType::END_RENDER_PASS); + _curCmdPackage->cmds.push(GLESCmdType::END_RENDER_PASS); } void GLES3CommandBuffer::bindPipelineState(PipelineState *pso) { @@ -257,7 +257,7 @@ void GLES3CommandBuffer::draw(InputAssembler *ia) { GLES3CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); ((GLES3InputAssembler *)ia)->ExtractCmdDraw(cmd); _curCmdPackage->drawCmds.push(cmd); - _curCmdPackage->cmds.push(GLES3CmdType::DRAW); + _curCmdPackage->cmds.push(GLESCmdType::DRAW); ++_numDrawCalls; _numInstances += ia->getInstanceCount(); @@ -293,7 +293,7 @@ void GLES3CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) cmd->buffer = (uint8_t *)data; _curCmdPackage->updateBufferCmds.push(cmd); - _curCmdPackage->cmds.push(GLES3CmdType::UPDATE_BUFFER); + _curCmdPackage->cmds.push(GLESCmdType::UPDATE_BUFFER); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); @@ -312,7 +312,7 @@ void GLES3CommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, c cmd->filter = filter; _curCmdPackage->blitTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GLES3CmdType::BLIT_TEXTURE); + _curCmdPackage->cmds.push(GLESCmdType::BLIT_TEXTURE); } else { CC_LOG_ERROR("Command 'blitTexture' must be recorded outside a render pass."); } @@ -332,7 +332,7 @@ void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex cmd->buffers = buffers; _curCmdPackage->copyBufferToTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GLES3CmdType::COPY_BUFFER_TO_TEXTURE); + _curCmdPackage->cmds.push(GLESCmdType::COPY_BUFFER_TO_TEXTURE); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); @@ -430,7 +430,7 @@ void GLES3CommandBuffer::BindStates() { cmd->stencilCompareMask = _curStencilCompareMask; _curCmdPackage->bindStatesCmds.push(cmd); - _curCmdPackage->cmds.push(GLES3CmdType::BIND_STATES); + _curCmdPackage->cmds.push(GLESCmdType::BIND_STATES); _isStateInvalid = false; } @@ -452,7 +452,7 @@ void GLES3CommandBuffer::dispatch(const DispatchInfo &info) { cmd->dispatchInfo.groupCountZ = info.groupCountZ; } _curCmdPackage->dispatchCmds.push(cmd); - _curCmdPackage->cmds.push(GLES3CmdType::DISPATCH); + _curCmdPackage->cmds.push(GLESCmdType::DISPATCH); } else { CC_LOG_ERROR("Command 'dispatch' must be recorded outside a render pass."); } @@ -469,7 +469,7 @@ void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Tex cmd->barriers = gpuBarrier->glBarriers; cmd->barriersByRegion = gpuBarrier->glBarriersByRegion; _curCmdPackage->barrierCmds.push(cmd); - _curCmdPackage->cmds.push(GLES3CmdType::BARRIER); + _curCmdPackage->cmds.push(GLESCmdType::BARRIER); } else { CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 88759dff34..051c5e5888 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1025,8 +1025,8 @@ void GLES3CmdFuncCreateSampler(GLES3Device *device, GLES3GPUSampler *gpuSampler) GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_WRAP_S, gpuSampler->glWrapS)); GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_WRAP_T, gpuSampler->glWrapT)); GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_WRAP_R, gpuSampler->glWrapR)); - GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_MIN_LOD, gpuSampler->minLOD)); - GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_MAX_LOD, gpuSampler->maxLOD)); + GL_CHECK(glSamplerParameterf(gpuSampler->glSampler, GL_TEXTURE_MIN_LOD, 0.f)); + GL_CHECK(glSamplerParameterf(gpuSampler->glSampler, GL_TEXTURE_MAX_LOD, 1000.f)); } void GLES3CmdFuncDestroySampler(GLES3Device *device, GLES3GPUSampler *gpuSampler) { @@ -1074,7 +1074,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } GL_CHECK(gpuStage.glShader = glCreateShader(glShaderStage)); - String shaderSource = StringUtil::Format("#version %u es\n%s", version, gpuStage.source.c_str()); + String shaderSource = StringUtil::Format("#version %u es\n", version) + gpuStage.source; const char *source = shaderSource.c_str(); GL_CHECK(glShaderSource(gpuStage.glShader, 1, (const GLchar **)&source, nullptr)); GL_CHECK(glCompileShader(gpuStage.glShader)); @@ -1089,7 +1089,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(glGetShaderInfoLog(gpuStage.glShader, logSize, nullptr, logs)); CC_LOG_ERROR("%s in %s compilation failed.", shaderStageStr.c_str(), gpuShader->name.c_str()); - CC_LOG_ERROR("Shader source: %s", gpuStage.source.c_str()); + CC_LOG_ERROR("Shader source: %s", source); CC_LOG_ERROR(logs); CC_FREE(logs); GL_CHECK(glDeleteShader(gpuStage.glShader)); @@ -2606,54 +2606,54 @@ void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { if (!cmdPackage->cmds.size()) return; - static uint cmdIndices[(int)GLES3CmdType::COUNT] = {0}; + static uint cmdIndices[(int)GLESCmdType::COUNT] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { - GLES3CmdType cmdType = cmdPackage->cmds[i]; + GLESCmdType cmdType = cmdPackage->cmds[i]; uint & cmdIdx = cmdIndices[(int)cmdType]; switch (cmdType) { - case GLES3CmdType::BEGIN_RENDER_PASS: { + case GLESCmdType::BEGIN_RENDER_PASS: { GLES3CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; GLES3CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); break; } - case GLES3CmdType::END_RENDER_PASS: { + case GLESCmdType::END_RENDER_PASS: { GLES3CmdFuncEndRenderPass(device); break; } - case GLES3CmdType::BIND_STATES: { + case GLESCmdType::BIND_STATES: { GLES3CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; GLES3CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); break; } - case GLES3CmdType::DRAW: { + case GLESCmdType::DRAW: { GLES3CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; GLES3CmdFuncDraw(device, cmd->drawInfo); break; } - case GLES3CmdType::DISPATCH: { + case GLESCmdType::DISPATCH: { GLES3CmdDispatch *cmd = cmdPackage->dispatchCmds[cmdIdx]; GLES3CmdFuncDispatch(device, cmd->dispatchInfo); break; } - case GLES3CmdType::BARRIER: { + case GLESCmdType::BARRIER: { GLES3CmdBarrier *cmd = cmdPackage->barrierCmds[cmdIdx]; GLES3CmdFuncMemoryBarrier(device, cmd->barriers, cmd->barriersByRegion); break; } - case GLES3CmdType::UPDATE_BUFFER: { + case GLESCmdType::UPDATE_BUFFER: { GLES3CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; GLES3CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); break; } - case GLES3CmdType::COPY_BUFFER_TO_TEXTURE: { + case GLESCmdType::COPY_BUFFER_TO_TEXTURE: { GLES3CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; GLES3CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; } - case GLES3CmdType::BLIT_TEXTURE: { + case GLESCmdType::BLIT_TEXTURE: { GLES3CmdBlitTexture *cmd = cmdPackage->blitTextureCmds[cmdIdx]; GLES3CmdFuncBlitTexture(device, cmd->gpuTextureSrc, cmd->gpuTextureDst, cmd->regions, cmd->count, cmd->filter); break; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 723d20b4ed..3ce1166cac 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -24,35 +24,12 @@ THE SOFTWARE. #ifndef CC_GFXGLES3_COMMANDS_H_ #define CC_GFXGLES3_COMMANDS_H_ +#include "../gfx-gles-common/GLESCommandPool.h" #include "GLES3GPUObjects.h" namespace cc { namespace gfx { -enum class GLES3CmdType : uint8_t { - BEGIN_RENDER_PASS, - END_RENDER_PASS, - BIND_STATES, - DRAW, - UPDATE_BUFFER, - COPY_BUFFER_TO_TEXTURE, - BLIT_TEXTURE, - DISPATCH, - BARRIER, - COUNT, -}; - -class GLES3Cmd : public Object { -public: - GLES3CmdType type; - uint refCount = 0; - - GLES3Cmd(GLES3CmdType _type) : type(_type) {} - virtual ~GLES3Cmd() {} - - virtual void clear() = 0; -}; - class GLES3Device; struct GLES3DepthBias final { @@ -93,7 +70,7 @@ struct GLES3BufferTextureCopy final { GLES3TextureSubres texSubres; }; -class GLES3CmdBeginRenderPass final : public GLES3Cmd { +class GLES3CmdBeginRenderPass final : public GLESCmd { public: GLES3GPURenderPass *gpuRenderPass = nullptr; GLES3GPUFramebuffer *gpuFBO = nullptr; @@ -103,7 +80,7 @@ public: float clearDepth = 1.0f; int clearStencil = 0; - GLES3CmdBeginRenderPass() : GLES3Cmd(GLES3CmdType::BEGIN_RENDER_PASS) {} + GLES3CmdBeginRenderPass() : GLESCmd(GLESCmdType::BEGIN_RENDER_PASS) {} virtual void clear() override { gpuFBO = nullptr; @@ -123,7 +100,7 @@ enum class GLES3State { COUNT, }; -class GLES3CmdBindStates final : public GLES3Cmd { +class GLES3CmdBindStates final : public GLESCmd { public: GLES3GPUPipelineState *gpuPipelineState = nullptr; GLES3GPUInputAssembler *gpuInputAssembler = nullptr; @@ -139,7 +116,7 @@ public: GLES3StencilWriteMask stencilWriteMask; GLES3StencilCompareMask stencilCompareMask; - GLES3CmdBindStates() : GLES3Cmd(GLES3CmdType::BIND_STATES) {} + GLES3CmdBindStates() : GLESCmd(GLESCmdType::BIND_STATES) {} virtual void clear() override { gpuPipelineState = nullptr; @@ -149,45 +126,45 @@ public: } }; -class GLES3CmdDraw final : public GLES3Cmd { +class GLES3CmdDraw final : public GLESCmd { public: DrawInfo drawInfo; - GLES3CmdDraw() : GLES3Cmd(GLES3CmdType::DRAW) {} + GLES3CmdDraw() : GLESCmd(GLESCmdType::DRAW) {} virtual void clear() override {} }; -class GLES3CmdDispatch final : public GLES3Cmd { +class GLES3CmdDispatch final : public GLESCmd { public: GLES3GPUDispatchInfo dispatchInfo; - GLES3CmdDispatch() : GLES3Cmd(GLES3CmdType::DISPATCH) {} + GLES3CmdDispatch() : GLESCmd(GLESCmdType::DISPATCH) {} virtual void clear() override { dispatchInfo.indirectBuffer = nullptr; dispatchInfo.indirectOffset = 0; } }; -class GLES3CmdBarrier final : public GLES3Cmd { +class GLES3CmdBarrier final : public GLESCmd { public: GLbitfield barriers = 0u; GLbitfield barriersByRegion = 0u; - GLES3CmdBarrier() : GLES3Cmd(GLES3CmdType::BARRIER) {} + GLES3CmdBarrier() : GLESCmd(GLESCmdType::BARRIER) {} virtual void clear() override { barriers = 0u; barriersByRegion = 0u; } }; -class GLES3CmdUpdateBuffer final : public GLES3Cmd { +class GLES3CmdUpdateBuffer final : public GLESCmd { public: GLES3GPUBuffer *gpuBuffer = nullptr; uint8_t *buffer = nullptr; uint size = 0; uint offset = 0; - GLES3CmdUpdateBuffer() : GLES3Cmd(GLES3CmdType::UPDATE_BUFFER) {} + GLES3CmdUpdateBuffer() : GLESCmd(GLESCmdType::UPDATE_BUFFER) {} virtual void clear() override { gpuBuffer = nullptr; @@ -195,14 +172,14 @@ public: } }; -class GLES3CmdCopyBufferToTexture final : public GLES3Cmd { +class GLES3CmdCopyBufferToTexture final : public GLESCmd { public: GLES3GPUTexture *gpuTexture = nullptr; const BufferTextureCopy *regions = nullptr; uint count = 0u; const uint8_t *const *buffers; - GLES3CmdCopyBufferToTexture() : GLES3Cmd(GLES3CmdType::COPY_BUFFER_TO_TEXTURE) {} + GLES3CmdCopyBufferToTexture() : GLESCmd(GLESCmdType::COPY_BUFFER_TO_TEXTURE) {} virtual void clear() override { gpuTexture = nullptr; @@ -212,7 +189,7 @@ public: } }; -class GLES3CmdBlitTexture final : public GLES3Cmd { +class GLES3CmdBlitTexture final : public GLESCmd { public: GLES3GPUTexture *gpuTextureSrc = nullptr; GLES3GPUTexture *gpuTextureDst = nullptr; @@ -220,7 +197,7 @@ public: uint count = 0u; Filter filter = Filter::POINT; - GLES3CmdBlitTexture() : GLES3Cmd(GLES3CmdType::BLIT_TEXTURE) {} + GLES3CmdBlitTexture() : GLESCmd(GLESCmdType::BLIT_TEXTURE) {} virtual void clear() override { gpuTextureSrc = nullptr; @@ -232,7 +209,7 @@ public: class GLES3CmdPackage final : public Object { public: - CachedArray cmds; + CachedArray cmds; CachedArray beginRenderPassCmds; CachedArray bindStatesCmds; CachedArray drawCmds; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.h b/native/cocos/renderer/gfx-gles3/GLES3Context.h index 63cfcb2ddc..6e14533c7f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.h @@ -24,7 +24,7 @@ THE SOFTWARE. #ifndef CC_GFXGLES3_EGL_CONTEXT_H_ #define CC_GFXGLES3_EGL_CONTEXT_H_ -#include "gles3w.h" +#include "GLES3Wrangler.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 0c6d5f63d6..4afd5a3156 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -24,7 +24,7 @@ THE SOFTWARE. #ifndef CC_GFXGLES3_GPU_OBJECTS_H_ #define CC_GFXGLES3_GPU_OBJECTS_H_ -#include "gles3w.h" +#include "GLES3Wrangler.h" namespace cc { namespace gfx { @@ -80,8 +80,6 @@ public: Address addressU = Address::CLAMP; Address addressV = Address::CLAMP; Address addressW = Address::CLAMP; - uint minLOD = 0; - uint maxLOD = 1000; GLuint glSampler = 0; GLenum glMinFilter = 0; GLenum glMagFilter = 0; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp index dfddcc9f04..da5344cff9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp @@ -45,8 +45,6 @@ bool GLES3Sampler::initialize(const SamplerInfo &info) { _maxAnisotropy = info.maxAnisotropy; _cmpFunc = info.cmpFunc; _borderColor = info.borderColor; - _minLOD = info.minLOD; - _maxLOD = info.maxLOD; _mipLODBias = info.mipLODBias; _gpuSampler = CC_NEW(GLES3GPUSampler); @@ -56,8 +54,6 @@ bool GLES3Sampler::initialize(const SamplerInfo &info) { _gpuSampler->addressU = _addressU; _gpuSampler->addressV = _addressV; _gpuSampler->addressW = _addressW; - _gpuSampler->minLOD = _minLOD; - _gpuSampler->maxLOD = _maxLOD; GLES3CmdFuncCreateSampler((GLES3Device *)_device, _gpuSampler); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp new file mode 100644 index 0000000000..8879c91465 --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp @@ -0,0 +1,80 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "GLES3Wrangler.h" + +#if defined(_WIN32) && !defined(ANDROID) + #define WIN32_LEAN_AND_MEAN 1 + #include + +static HMODULE libegl = NULL; +static HMODULE libgles = NULL; + +bool gles3wOpen() { + libegl = LoadLibraryA("libEGL.dll"); + libgles = LoadLibraryA("libGLESv2.dll"); + return (libegl && libgles); +} + +void *gles3wLoad(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); + if (!res) res = (void *)GetProcAddress(libegl, proc); + return res; +} +#elif defined(__EMSCRIPTEN__) +bool gles3wOpen() { return true; } +void *gles3wLoad(const char *proc) { + return (void *)eglGetProcAddress(proc); +} +#else + #include + +static void *libegl = nullptr; +static void *libgles = nullptr; + +bool gles3wOpen() { + libegl = dlopen("libEGL.so", RTLD_LAZY | RTLD_GLOBAL); + libgles = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); + return (libegl && libgles); +} + +void *gles3wLoad(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); + if (!res) res = dlsym(libegl, proc); + return res; +} +#endif + +bool gles3wInit(void) { + if (!gles3wOpen()) { + return false; + } + + eglwLoadProcs(gles3wLoad); + gles2wLoadProcs(gles3wLoad); + gles3wLoadProcs(gles3wLoad); + + return true; +} diff --git a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.h b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.h new file mode 100644 index 0000000000..37493a5bf4 --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.h @@ -0,0 +1,44 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#pragma once + +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) + #define EGL_EGL_PROTOTYPES 0 + #include + #include + #include +#endif + +#define GL_GLES_PROTOTYPES 0 +#include + +#include +#include +#include + +bool gles3wInit(); + +#include "../gfx-gles-common/eglw.h" +#include "../gfx-gles-common/gles2w.h" +#include "../gfx-gles-common/gles3w.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.mm b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.mm new file mode 100644 index 0000000000..5805728364 --- /dev/null +++ b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.mm @@ -0,0 +1,108 @@ +/**************************************************************************** +Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "GLES3Wrangler.h" + +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + #import + #import + #import + #import + #import + #import + +static CFBundleRef g_es3Bundle; +static CFURLRef g_es3BundleURL; + +static int gles3wOpen() { + #if TARGET_IPHONE_SIMULATOR + CFStringRef frameworkPath = CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework"); + #else + CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); + #endif + + g_es3BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, + frameworkPath, + kCFURLPOSIXPathStyle, true); + + CFRelease(frameworkPath); + + g_es3Bundle = CFBundleCreate(kCFAllocatorDefault, g_es3BundleURL); + + return (g_es3Bundle != NULL); +} + +static void *gles3wLoad(const char *proc) { + void *res; + + CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, + kCFStringEncodingASCII); + res = CFBundleGetFunctionPointerForName(g_es3Bundle, procname); + CFRelease(procname); + return res; +} +#else + #include + #include + #include + #import + #import + +static void *libegl; +static void *libgl; + +static int gles3wOpen() { + NSURL *appURL = [[NSBundle mainBundle] bundleURL]; + + std::string libPath(appURL.resourceSpecifier.UTF8String); + libPath.append("/Contents/Frameworks/libEGL.dylib"); + libegl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); + if (!libegl) printf("%s\n", dlerror()); + + libPath = appURL.resourceSpecifier.UTF8String; + libPath.append("/Contents/Frameworks/libGLESv2.dylib"); + libgl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); + if (!libgl) printf("%s\n", dlerror()); + + return (libegl && libgl); +} + +static void *gles3wLoad(const char *proc) { + void *res = nullptr; + if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); + if (!res) res = (void *)dlsym(libegl, proc); + return res; +} +#endif + +bool gles3wInit() { + if (!gles3wOpen()) { + return false; + } + + eglwLoadProcs(gles3wLoad); + gles2wLoadProcs(gles3wLoad); + gles3wLoadProcs(gles3wLoad); + + return true; +} diff --git a/native/cocos/renderer/gfx-gles3/gles3w.cpp b/native/cocos/renderer/gfx-gles3/gles3w.cpp deleted file mode 100644 index 8c1b9c8f8b..0000000000 --- a/native/cocos/renderer/gfx-gles3/gles3w.cpp +++ /dev/null @@ -1,3362 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "gles3w.h" - -#if defined(_WIN32) && !defined(ANDROID) - #define WIN32_LEAN_AND_MEAN 1 - #include - -static HMODULE libegl = NULL; -static HMODULE libgles = NULL; - -bool gles3wOpen() { - libegl = LoadLibraryA("libEGL.dll"); - libgles = LoadLibraryA("libGLESv2.dll"); - return (libegl && libgles); -} - -void *gles3wLoad(const char *proc) { - void *res = nullptr; - if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); - if (!res) res = (void *)GetProcAddress(libegl, proc); - return res; -} -#elif defined(__EMSCRIPTEN__) -bool gles3wOpen() { return true; } -void *gles3wLoad(const char *proc) { - return (void *)eglGetProcAddress(proc); -} -#else - #include - -static void *libegl = nullptr; -static void *libgles = nullptr; - -bool gles3wOpen() { - libegl = dlopen("libEGL.so", RTLD_LAZY | RTLD_GLOBAL); - libgles = dlopen("libGLESv2.so", RTLD_LAZY | RTLD_GLOBAL); - return (libegl && libgles); -} - -void *gles3wLoad(const char *proc) { - void *res = nullptr; - if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); - if (!res) res = dlsym(libegl, proc); - return res; -} -#endif - -static void gles3wLoadProcs(); - -bool gles3wInit(void) { - if (!gles3wOpen()) { - return false; - } - - gles3wLoadProcs(); - - return true; -} - -/* GLES3W_GENERATE_EGL_DEFINITION */ -PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -PFNEGLCHOOSECONFIGPROC eglChooseConfig; -PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -PFNEGLCREATECONTEXTPROC eglCreateContext; -PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -PFNEGLDESTROYSURFACEPROC eglDestroySurface; -PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -PFNEGLGETCONFIGSPROC eglGetConfigs; -PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -PFNEGLGETDISPLAYPROC eglGetDisplay; -PFNEGLGETERRORPROC eglGetError; -PFNEGLINITIALIZEPROC eglInitialize; -PFNEGLMAKECURRENTPROC eglMakeCurrent; -PFNEGLQUERYCONTEXTPROC eglQueryContext; -PFNEGLQUERYSTRINGPROC eglQueryString; -PFNEGLQUERYSURFACEPROC eglQuerySurface; -PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -PFNEGLTERMINATEPROC eglTerminate; -PFNEGLWAITGLPROC eglWaitGL; -PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -PFNEGLBINDAPIPROC eglBindAPI; -PFNEGLQUERYAPIPROC eglQueryAPI; -PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -PFNEGLRELEASETHREADPROC eglReleaseThread; -PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -PFNEGLCREATESYNCPROC eglCreateSync; -PFNEGLDESTROYSYNCPROC eglDestroySync; -PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -PFNEGLCREATEIMAGEPROC eglCreateImage; -PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -PFNEGLFENCENVPROC eglFenceNV; -PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -/* GLES3W_GENERATE_EGL_DEFINITION */ - -/* GLES3W_GENERATE_GLES_DEFINITION */ -/* GL_ES_VERSION_2_0 */ -PFNGLACTIVETEXTUREPROC glActiveTexture; -PFNGLATTACHSHADERPROC glAttachShader; -PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -PFNGLBINDBUFFERPROC glBindBuffer; -PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -PFNGLBINDTEXTUREPROC glBindTexture; -PFNGLBLENDCOLORPROC glBlendColor; -PFNGLBLENDEQUATIONPROC glBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -PFNGLBLENDFUNCPROC glBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -PFNGLBUFFERDATAPROC glBufferData; -PFNGLBUFFERSUBDATAPROC glBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -PFNGLCLEARPROC glClear; -PFNGLCLEARCOLORPROC glClearColor; -PFNGLCLEARDEPTHFPROC glClearDepthf; -PFNGLCLEARSTENCILPROC glClearStencil; -PFNGLCOLORMASKPROC glColorMask; -PFNGLCOMPILESHADERPROC glCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC glCreateProgram; -PFNGLCREATESHADERPROC glCreateShader; -PFNGLCULLFACEPROC glCullFace; -PFNGLDELETEBUFFERSPROC glDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC glDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -PFNGLDELETESHADERPROC glDeleteShader; -PFNGLDELETETEXTURESPROC glDeleteTextures; -PFNGLDEPTHFUNCPROC glDepthFunc; -PFNGLDEPTHMASKPROC glDepthMask; -PFNGLDEPTHRANGEFPROC glDepthRangef; -PFNGLDETACHSHADERPROC glDetachShader; -PFNGLDISABLEPROC glDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC glDrawArrays; -PFNGLDRAWELEMENTSPROC glDrawElements; -PFNGLENABLEPROC glEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -PFNGLFINISHPROC glFinish; -PFNGLFLUSHPROC glFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -PFNGLFRONTFACEPROC glFrontFace; -PFNGLGENBUFFERSPROC glGenBuffers; -PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -PFNGLGENTEXTURESPROC glGenTextures; -PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -PFNGLGETBOOLEANVPROC glGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -PFNGLGETERRORPROC glGetError; -PFNGLGETFLOATVPROC glGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC glGetIntegerv; -PFNGLGETPROGRAMIVPROC glGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC glGetShaderiv; -PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC glGetShaderSource; -PFNGLGETSTRINGPROC glGetString; -PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -PFNGLGETUNIFORMFVPROC glGetUniformfv; -PFNGLGETUNIFORMIVPROC glGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -PFNGLHINTPROC glHint; -PFNGLISBUFFERPROC glIsBuffer; -PFNGLISENABLEDPROC glIsEnabled; -PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -PFNGLISPROGRAMPROC glIsProgram; -PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -PFNGLISSHADERPROC glIsShader; -PFNGLISTEXTUREPROC glIsTexture; -PFNGLLINEWIDTHPROC glLineWidth; -PFNGLLINKPROGRAMPROC glLinkProgram; -PFNGLPIXELSTOREIPROC glPixelStorei; -PFNGLPOLYGONOFFSETPROC glPolygonOffset; -PFNGLREADPIXELSPROC glReadPixels; -PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -PFNGLSCISSORPROC glScissor; -PFNGLSHADERBINARYPROC glShaderBinary; -PFNGLSHADERSOURCEPROC glShaderSource; -PFNGLSTENCILFUNCPROC glStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -PFNGLSTENCILMASKPROC glStencilMask; -PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -PFNGLSTENCILOPPROC glStencilOp; -PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -PFNGLTEXIMAGE2DPROC glTexImage2D; -PFNGLTEXPARAMETERFPROC glTexParameterf; -PFNGLTEXPARAMETERFVPROC glTexParameterfv; -PFNGLTEXPARAMETERIPROC glTexParameteri; -PFNGLTEXPARAMETERIVPROC glTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -PFNGLUNIFORM1FPROC glUniform1f; -PFNGLUNIFORM1FVPROC glUniform1fv; -PFNGLUNIFORM1IPROC glUniform1i; -PFNGLUNIFORM1IVPROC glUniform1iv; -PFNGLUNIFORM2FPROC glUniform2f; -PFNGLUNIFORM2FVPROC glUniform2fv; -PFNGLUNIFORM2IPROC glUniform2i; -PFNGLUNIFORM2IVPROC glUniform2iv; -PFNGLUNIFORM3FPROC glUniform3f; -PFNGLUNIFORM3FVPROC glUniform3fv; -PFNGLUNIFORM3IPROC glUniform3i; -PFNGLUNIFORM3IVPROC glUniform3iv; -PFNGLUNIFORM4FPROC glUniform4f; -PFNGLUNIFORM4FVPROC glUniform4fv; -PFNGLUNIFORM4IPROC glUniform4i; -PFNGLUNIFORM4IVPROC glUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -PFNGLUSEPROGRAMPROC glUseProgram; -PFNGLVALIDATEPROGRAMPROC glValidateProgram; -PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -PFNGLVIEWPORTPROC glViewport; - - -/* GL_ES_VERSION_3_0 */ -PFNGLREADBUFFERPROC glReadBuffer; -PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; -PFNGLTEXIMAGE3DPROC glTexImage3D; -PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; -PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; -PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; -PFNGLGENQUERIESPROC glGenQueries; -PFNGLDELETEQUERIESPROC glDeleteQueries; -PFNGLISQUERYPROC glIsQuery; -PFNGLBEGINQUERYPROC glBeginQuery; -PFNGLENDQUERYPROC glEndQuery; -PFNGLGETQUERYIVPROC glGetQueryiv; -PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; -PFNGLUNMAPBUFFERPROC glUnmapBuffer; -PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; -PFNGLDRAWBUFFERSPROC glDrawBuffers; -PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; -PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; -PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; -PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; -PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; -PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; -PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; -PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; -PFNGLMAPBUFFERRANGEPROC glMapBufferRange; -PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; -PFNGLBINDVERTEXARRAYPROC glBindVertexArray; -PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; -PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; -PFNGLISVERTEXARRAYPROC glIsVertexArray; -PFNGLGETINTEGERI_VPROC glGetIntegeri_v; -PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; -PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; -PFNGLBINDBUFFERRANGEPROC glBindBufferRange; -PFNGLBINDBUFFERBASEPROC glBindBufferBase; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; -PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; -PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; -PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; -PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; -PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; -PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; -PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; -PFNGLGETUNIFORMUIVPROC glGetUniformuiv; -PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; -PFNGLUNIFORM1UIPROC glUniform1ui; -PFNGLUNIFORM2UIPROC glUniform2ui; -PFNGLUNIFORM3UIPROC glUniform3ui; -PFNGLUNIFORM4UIPROC glUniform4ui; -PFNGLUNIFORM1UIVPROC glUniform1uiv; -PFNGLUNIFORM2UIVPROC glUniform2uiv; -PFNGLUNIFORM3UIVPROC glUniform3uiv; -PFNGLUNIFORM4UIVPROC glUniform4uiv; -PFNGLCLEARBUFFERIVPROC glClearBufferiv; -PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; -PFNGLCLEARBUFFERFVPROC glClearBufferfv; -PFNGLCLEARBUFFERFIPROC glClearBufferfi; -PFNGLGETSTRINGIPROC glGetStringi; -PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; -PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; -PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; -PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; -PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; -PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; -PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; -PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; -PFNGLFENCESYNCPROC glFenceSync; -PFNGLISSYNCPROC glIsSync; -PFNGLDELETESYNCPROC glDeleteSync; -PFNGLCLIENTWAITSYNCPROC glClientWaitSync; -PFNGLWAITSYNCPROC glWaitSync; -PFNGLGETINTEGER64VPROC glGetInteger64v; -PFNGLGETSYNCIVPROC glGetSynciv; -PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; -PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; -PFNGLGENSAMPLERSPROC glGenSamplers; -PFNGLDELETESAMPLERSPROC glDeleteSamplers; -PFNGLISSAMPLERPROC glIsSampler; -PFNGLBINDSAMPLERPROC glBindSampler; -PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; -PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; -PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; -PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; -PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; -PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; -PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; -PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; -PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; -PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; -PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; -PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; -PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; -PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; -PFNGLPROGRAMBINARYPROC glProgramBinary; -PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; -PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; -PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; -PFNGLTEXSTORAGE2DPROC glTexStorage2D; -PFNGLTEXSTORAGE3DPROC glTexStorage3D; -PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; - - -/* GL_ES_VERSION_3_1 */ -PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; -PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; - -PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; -PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; - -PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; -PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; - -PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; -PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; -PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; -PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; -PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; - -PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; -PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; -PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; -PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; -PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; -PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; -PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; -PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; -PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; -PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; -PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; -PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; -PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; -PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; -PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; -PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; -PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; -PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; -PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; -PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; -PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; -PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; -PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; -PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; -PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; -PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; -PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; -PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; -PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; -PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; -PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; -PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; -PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; -PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; -PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; -PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; -PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; -PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; -PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; -PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; -PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; -PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; -PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; - -PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; -PFNGLGETBOOLEANI_VPROC glGetBooleani_v; -PFNGLMEMORYBARRIERPROC glMemoryBarrier; -PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; - -PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; -PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; -PFNGLSAMPLEMASKIPROC glSampleMaski; -PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; -PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; - -PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; -PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; -PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; -PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; -PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; - - -/* GL_ES_VERSION_3_2 */ -PFNGLBLENDBARRIERPROC glBlendBarrier; - -PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; - -PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; -PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; -PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; -PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; -PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; -PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; -PFNGLOBJECTLABELPROC glObjectLabel; -PFNGLGETOBJECTLABELPROC glGetObjectLabel; -PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; -PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; -PFNGLGETPOINTERVPROC glGetPointerv; - -PFNGLENABLEIPROC glEnablei; -PFNGLDISABLEIPROC glDisablei; -PFNGLBLENDEQUATIONIPROC glBlendEquationi; -PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; -PFNGLBLENDFUNCIPROC glBlendFunci; -PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; -PFNGLCOLORMASKIPROC glColorMaski; -PFNGLISENABLEDIPROC glIsEnabledi; - -PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; -PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; - -PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; - -PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; - -PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; -PFNGLREADNPIXELSPROC glReadnPixels; -PFNGLGETNUNIFORMFVPROC glGetnUniformfv; -PFNGLGETNUNIFORMIVPROC glGetnUniformiv; -PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; - -PFNGLMINSAMPLESHADINGPROC glMinSampleShading; - -PFNGLPATCHPARAMETERIPROC glPatchParameteri; - -PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; -PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; -PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; -PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; -PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; -PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; -PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; -PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; - -PFNGLTEXBUFFERPROC glTexBuffer; -PFNGLTEXBUFFERRANGEPROC glTexBufferRange; - -PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; - - -#if defined(GL_AMD_framebuffer_multisample_advanced) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; -PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) -PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) -PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) -PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) -PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) -PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) -PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) -PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; - -PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) -PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) -PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; -PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; -PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; -PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) -PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) -PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; -PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) -PFNGLCLIPCONTROLEXTPROC glClipControlEXT; -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) -PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) -PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) -PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) -PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) -PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -PFNGLISQUERYEXTPROC glIsQueryEXT; -PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -PFNGLENDQUERYEXTPROC glEndQueryEXT; -PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) -PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) -PFNGLENABLEIEXTPROC glEnableiEXT; -PFNGLDISABLEIEXTPROC glDisableiEXT; -PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; -PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; -PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; -PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; -PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; -PFNGLISENABLEDIEXTPROC glIsEnablediEXT; -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; -PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; -PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) -PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; -PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) -PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; -PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) -PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) -PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) -PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; -PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; -PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; -PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; -PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; -PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; -PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; -PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; -PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; -PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; -PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; -PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; - -PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; -PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; -PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; -PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; -PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) -PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) -PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; -PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) -PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) -PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; -PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) -PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) -PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) -PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) -PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) -PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; -PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; -PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; -PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; -PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; -PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; -PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) -PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) -PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; -PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) -PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; - -PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; -PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; -PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; -PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; -PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; -PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; -PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; -PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) -PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) -PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; -PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; -PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) -PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) -PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) -PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; -PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; -PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; -PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; -PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; -PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; -PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; -PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) -PFNGLTEXBUFFEREXTPROC glTexBufferEXT; -PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) -PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; - -PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) -PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) -PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; -PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; -PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) -PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; -PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) -PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) -PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; -PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; -PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; -PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; -PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; -PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) -PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; -PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) -PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) -PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; -PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; -PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; -PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; -PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; -PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; -PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; -PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; -PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; -PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) -PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) -PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) -PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; -PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; -PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; -PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; -PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) -PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) -PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; -PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) -PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; -PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; -PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; -PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; -PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; -PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; -PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; -PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; -PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; -PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; -PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; -PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; -PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) -PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; -PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) -PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) -PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; -PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) -PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) -PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) -PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) -PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) -PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) -PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; -PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; -PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; -PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; -PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) -PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -PFNGLGENFENCESNVPROC glGenFencesNV; -PFNGLISFENCENVPROC glIsFenceNV; -PFNGLTESTFENCENVPROC glTestFenceNV; -PFNGLGETFENCEIVNVPROC glGetFenceivNV; -PFNGLFINISHFENCENVPROC glFinishFenceNV; -PFNGLSETFENCENVPROC glSetFenceNV; -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) -PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) -PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) -PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; -PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; -PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) -PFNGLUNIFORM1I64NVPROC glUniform1i64NV; -PFNGLUNIFORM2I64NVPROC glUniform2i64NV; -PFNGLUNIFORM3I64NVPROC glUniform3i64NV; -PFNGLUNIFORM4I64NVPROC glUniform4i64NV; -PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; -PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; -PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; -PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; -PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; -PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; -PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; -PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; -PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; -PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; -PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; -PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; -PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; - -PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; -PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; -PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; -PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; -PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; -PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; -PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; -PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; -PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; -PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; -PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; -PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; -PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; -PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; -PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; -PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) -PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) -PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) -PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; -PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; -PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; -PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; - -PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; -PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) -PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; -PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; - -PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; -PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) -PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; -PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) -PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; -PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; -PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; -PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; -PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; -PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) -PFNGLGENPATHSNVPROC glGenPathsNV; -PFNGLDELETEPATHSNVPROC glDeletePathsNV; -PFNGLISPATHNVPROC glIsPathNV; -PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; -PFNGLPATHCOORDSNVPROC glPathCoordsNV; -PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; -PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; -PFNGLPATHSTRINGNVPROC glPathStringNV; -PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; -PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; -PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; -PFNGLCOPYPATHNVPROC glCopyPathNV; -PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; -PFNGLTRANSFORMPATHNVPROC glTransformPathNV; -PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; -PFNGLPATHPARAMETERINVPROC glPathParameteriNV; -PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; -PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; -PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; -PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; -PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; -PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; -PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; -PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; -PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; -PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; -PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; -PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; -PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; -PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; -PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; -PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; -PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; -PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; -PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; -PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; -PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; -PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; -PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; -PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; -PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; -PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; - -PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; -PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; -PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; -PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; -PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; -PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; -PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; -PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; -PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; -PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; -PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; - -PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; -PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; -PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; -PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; - -PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; -PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; -PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; -PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; -PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; -PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; -PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; -PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; -PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; -PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; -PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; -PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; -PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; -PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; -PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; -PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; -PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; -PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; -PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) -PFNGLPOLYGONMODENVPROC glPolygonModeNV; -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) -PFNGLREADBUFFERNVPROC glReadBufferNV; -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) -PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; -PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; -PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) -PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; -PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) -PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; -PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; -PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; -PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; -PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; -PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; -PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) -PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; -PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; -PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; -PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; -PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; -PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; -PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; -PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; -PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; -PFNGLENABLEINVPROC glEnableiNV; -PFNGLDISABLEINVPROC glDisableiNV; -PFNGLISENABLEDINVPROC glIsEnablediNV; -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) -PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) -PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) -PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) -PFNGLENABLEIOESPROC glEnableiOES; -PFNGLDISABLEIOESPROC glDisableiOES; -PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; -PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; -PFNGLBLENDFUNCIOESPROC glBlendFunciOES; -PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; -PFNGLCOLORMASKIOESPROC glColorMaskiOES; -PFNGLISENABLEDIOESPROC glIsEnablediOES; -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; -PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) -PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) -PFNGLMAPBUFFEROESPROC glMapBufferOES; -PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) -PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) -PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) -PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) -PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; -PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; -PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; -PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; -PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; -PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; -PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; -PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) -PFNGLTEXBUFFEROESPROC glTexBufferOES; -PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) -PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) -PFNGLTEXTUREVIEWOESPROC glTextureViewOES; -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) -PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) -PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; -PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; -PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; -PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; -PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; -PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; -PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; -PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; -PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) -PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) -PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) -PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) -PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) -PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) -PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) -PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; -PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) -PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; -PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) -PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) -PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) -PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) -PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) -PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -PFNGLENDTILINGQCOMPROC glEndTilingQCOM; -#endif /* defined(GL_QCOM_tiled_rendering) */ - -/* GLES3W_GENERATE_GLES_DEFINITION */ - -static void gles3wLoadProcs() { - /* GLES3W_GENERATE_EGL_LOAD */ - eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles3wLoad("eglGetProcAddress"); - - /* EGL_VERSION_1_0 */ - eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)gles3wLoad("eglChooseConfig"); - eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)gles3wLoad("eglCopyBuffers"); - eglCreateContext = (PFNEGLCREATECONTEXTPROC)gles3wLoad("eglCreateContext"); - eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)gles3wLoad("eglCreatePbufferSurface"); - eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)gles3wLoad("eglCreatePixmapSurface"); - eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)gles3wLoad("eglCreateWindowSurface"); - eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)gles3wLoad("eglDestroyContext"); - eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)gles3wLoad("eglDestroySurface"); - eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)gles3wLoad("eglGetConfigAttrib"); - eglGetConfigs = (PFNEGLGETCONFIGSPROC)gles3wLoad("eglGetConfigs"); - eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)gles3wLoad("eglGetCurrentDisplay"); - eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)gles3wLoad("eglGetCurrentSurface"); - eglGetDisplay = (PFNEGLGETDISPLAYPROC)gles3wLoad("eglGetDisplay"); - eglGetError = (PFNEGLGETERRORPROC)gles3wLoad("eglGetError"); - eglInitialize = (PFNEGLINITIALIZEPROC)gles3wLoad("eglInitialize"); - eglMakeCurrent = (PFNEGLMAKECURRENTPROC)gles3wLoad("eglMakeCurrent"); - eglQueryContext = (PFNEGLQUERYCONTEXTPROC)gles3wLoad("eglQueryContext"); - eglQueryString = (PFNEGLQUERYSTRINGPROC)gles3wLoad("eglQueryString"); - eglQuerySurface = (PFNEGLQUERYSURFACEPROC)gles3wLoad("eglQuerySurface"); - eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)gles3wLoad("eglSwapBuffers"); - eglTerminate = (PFNEGLTERMINATEPROC)gles3wLoad("eglTerminate"); - eglWaitGL = (PFNEGLWAITGLPROC)gles3wLoad("eglWaitGL"); - eglWaitNative = (PFNEGLWAITNATIVEPROC)gles3wLoad("eglWaitNative"); - - - /* EGL_VERSION_1_1 */ - eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)gles3wLoad("eglBindTexImage"); - eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)gles3wLoad("eglReleaseTexImage"); - eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)gles3wLoad("eglSurfaceAttrib"); - eglSwapInterval = (PFNEGLSWAPINTERVALPROC)gles3wLoad("eglSwapInterval"); - - - /* EGL_VERSION_1_2 */ - eglBindAPI = (PFNEGLBINDAPIPROC)gles3wLoad("eglBindAPI"); - eglQueryAPI = (PFNEGLQUERYAPIPROC)gles3wLoad("eglQueryAPI"); - eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)gles3wLoad("eglCreatePbufferFromClientBuffer"); - eglReleaseThread = (PFNEGLRELEASETHREADPROC)gles3wLoad("eglReleaseThread"); - eglWaitClient = (PFNEGLWAITCLIENTPROC)gles3wLoad("eglWaitClient"); - - - /* EGL_VERSION_1_3 */ - - /* EGL_VERSION_1_4 */ - eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)gles3wLoad("eglGetCurrentContext"); - - - /* EGL_VERSION_1_5 */ - eglCreateSync = (PFNEGLCREATESYNCPROC)gles3wLoad("eglCreateSync"); - eglDestroySync = (PFNEGLDESTROYSYNCPROC)gles3wLoad("eglDestroySync"); - eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)gles3wLoad("eglClientWaitSync"); - eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)gles3wLoad("eglGetSyncAttrib"); - - eglCreateImage = (PFNEGLCREATEIMAGEPROC)gles3wLoad("eglCreateImage"); - eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)gles3wLoad("eglDestroyImage"); - - eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)gles3wLoad("eglGetPlatformDisplay"); - eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)gles3wLoad("eglCreatePlatformWindowSurface"); - eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)gles3wLoad("eglCreatePlatformPixmapSurface"); - - eglWaitSync = (PFNEGLWAITSYNCPROC)gles3wLoad("eglWaitSync"); - - -#if defined(EGL_ANDROID_blob_cache) - eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)gles3wLoad("eglSetBlobCacheFuncsANDROID"); -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) - eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)gles3wLoad("eglCreateNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) - eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)gles3wLoad("eglGetNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) - eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)gles3wLoad("eglDupNativeFenceFDANDROID"); -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) - eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)gles3wLoad("eglPresentationTimeANDROID"); -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) - eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)gles3wLoad("eglGetCompositorTimingSupportedANDROID"); - eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)gles3wLoad("eglGetCompositorTimingANDROID"); - eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)gles3wLoad("eglGetNextFrameIdANDROID"); - eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)gles3wLoad("eglGetFrameTimestampSupportedANDROID"); - eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)gles3wLoad("eglGetFrameTimestampsANDROID"); -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) - eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)gles3wLoad("eglQuerySurfacePointerANGLE"); -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) - eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)gles3wLoad("eglClientSignalSyncEXT"); -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) - eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)gles3wLoad("eglQueryDeviceAttribEXT"); - eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)gles3wLoad("eglQueryDeviceStringEXT"); - eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)gles3wLoad("eglQueryDevicesEXT"); - eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)gles3wLoad("eglQueryDisplayAttribEXT"); -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) - eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)gles3wLoad("eglQueryDmaBufFormatsEXT"); - eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)gles3wLoad("eglQueryDmaBufModifiersEXT"); -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) - eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)gles3wLoad("eglGetOutputLayersEXT"); - eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)gles3wLoad("eglGetOutputPortsEXT"); - eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)gles3wLoad("eglOutputLayerAttribEXT"); - eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)gles3wLoad("eglQueryOutputLayerAttribEXT"); - eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)gles3wLoad("eglQueryOutputLayerStringEXT"); - eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)gles3wLoad("eglOutputPortAttribEXT"); - eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)gles3wLoad("eglQueryOutputPortAttribEXT"); - eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)gles3wLoad("eglQueryOutputPortStringEXT"); -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) - eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)gles3wLoad("eglGetPlatformDisplayEXT"); - eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)gles3wLoad("eglCreatePlatformWindowSurfaceEXT"); - eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)gles3wLoad("eglCreatePlatformPixmapSurfaceEXT"); -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) - eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)gles3wLoad("eglStreamConsumerOutputEXT"); -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) - eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)gles3wLoad("eglSwapBuffersWithDamageEXT"); -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) - eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)gles3wLoad("eglUnsignalSyncEXT"); -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) - eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)gles3wLoad("eglCreatePixmapSurfaceHI"); -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) - eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)gles3wLoad("eglCreateSync64KHR"); -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) - eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("eglDebugMessageControlKHR"); - eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)gles3wLoad("eglQueryDebugKHR"); - eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)gles3wLoad("eglLabelObjectKHR"); -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) - eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)gles3wLoad("eglQueryDisplayAttribKHR"); -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) - eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)gles3wLoad("eglCreateSyncKHR"); - eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)gles3wLoad("eglDestroySyncKHR"); - eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)gles3wLoad("eglClientWaitSyncKHR"); - eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)gles3wLoad("eglGetSyncAttribKHR"); -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) - eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gles3wLoad("eglCreateImageKHR"); - eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gles3wLoad("eglDestroyImageKHR"); -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) - eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)gles3wLoad("eglLockSurfaceKHR"); - eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)gles3wLoad("eglUnlockSurfaceKHR"); -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) - eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)gles3wLoad("eglQuerySurface64KHR"); -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) - eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)gles3wLoad("eglSetDamageRegionKHR"); -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) - eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)gles3wLoad("eglSignalSyncKHR"); -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) - eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)gles3wLoad("eglCreateStreamKHR"); - eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)gles3wLoad("eglDestroyStreamKHR"); - eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)gles3wLoad("eglStreamAttribKHR"); - eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)gles3wLoad("eglQueryStreamKHR"); - eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)gles3wLoad("eglQueryStreamu64KHR"); -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) - eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)gles3wLoad("eglCreateStreamAttribKHR"); - eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)gles3wLoad("eglSetStreamAttribKHR"); - eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)gles3wLoad("eglQueryStreamAttribKHR"); - eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)gles3wLoad("eglStreamConsumerAcquireAttribKHR"); - eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)gles3wLoad("eglStreamConsumerReleaseAttribKHR"); -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) - eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)gles3wLoad("eglStreamConsumerGLTextureExternalKHR"); - eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)gles3wLoad("eglStreamConsumerAcquireKHR"); - eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)gles3wLoad("eglStreamConsumerReleaseKHR"); -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) - eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)gles3wLoad("eglGetStreamFileDescriptorKHR"); - eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)gles3wLoad("eglCreateStreamFromFileDescriptorKHR"); -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) - eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)gles3wLoad("eglQueryStreamTimeKHR"); -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) - eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)gles3wLoad("eglCreateStreamProducerSurfaceKHR"); -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) - eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)gles3wLoad("eglSwapBuffersWithDamageKHR"); -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) - eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)gles3wLoad("eglWaitSyncKHR"); -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) - eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)gles3wLoad("eglCreateDRMImageMESA"); - eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)gles3wLoad("eglExportDRMImageMESA"); -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) - eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)gles3wLoad("eglExportDMABUFImageQueryMESA"); - eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)gles3wLoad("eglExportDMABUFImageMESA"); -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) - eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)gles3wLoad("eglGetDisplayDriverConfig"); - eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)gles3wLoad("eglGetDisplayDriverName"); -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) - eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)gles3wLoad("eglSwapBuffersRegionNOK"); -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) - eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)gles3wLoad("eglSwapBuffersRegion2NOK"); -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) - eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)gles3wLoad("eglQueryNativeDisplayNV"); - eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)gles3wLoad("eglQueryNativeWindowNV"); - eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)gles3wLoad("eglQueryNativePixmapNV"); -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) - eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)gles3wLoad("eglPostSubBufferNV"); -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) - eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)gles3wLoad("eglStreamConsumerGLTextureExternalAttribsNV"); -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) - eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)gles3wLoad("eglStreamImageConsumerConnectNV"); - eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)gles3wLoad("eglQueryStreamConsumerEventNV"); - eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)gles3wLoad("eglStreamAcquireImageNV"); - eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)gles3wLoad("eglStreamReleaseImageNV"); -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) - eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)gles3wLoad("eglStreamFlushNV"); -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) - eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)gles3wLoad("eglQueryDisplayAttribNV"); - eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)gles3wLoad("eglSetStreamMetadataNV"); - eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)gles3wLoad("eglQueryStreamMetadataNV"); -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) - eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)gles3wLoad("eglResetStreamNV"); -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) - eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)gles3wLoad("eglCreateStreamSyncNV"); -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) - eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)gles3wLoad("eglCreateFenceSyncNV"); - eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)gles3wLoad("eglDestroySyncNV"); - eglFenceNV = (PFNEGLFENCENVPROC)gles3wLoad("eglFenceNV"); - eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)gles3wLoad("eglClientWaitSyncNV"); - eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)gles3wLoad("eglSignalSyncNV"); - eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)gles3wLoad("eglGetSyncAttribNV"); -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) - eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)gles3wLoad("eglGetSystemTimeFrequencyNV"); - eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)gles3wLoad("eglGetSystemTimeNV"); -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) - eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)gles3wLoad("eglCompositorSetContextListEXT"); - eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)gles3wLoad("eglCompositorSetContextAttributesEXT"); - eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)gles3wLoad("eglCompositorSetWindowListEXT"); - eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)gles3wLoad("eglCompositorSetWindowAttributesEXT"); - eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)gles3wLoad("eglCompositorBindTexWindowEXT"); - eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)gles3wLoad("eglCompositorSetSizeEXT"); - eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)gles3wLoad("eglCompositorSwapPolicyEXT"); -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) - eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)gles3wLoad("eglBindWaylandDisplayWL"); - eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)gles3wLoad("eglUnbindWaylandDisplayWL"); - eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)gles3wLoad("eglQueryWaylandBufferWL"); -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) - eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles3wLoad("eglCreateWaylandBufferFromImageWL"); -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - - /* GLES3W_GENERATE_EGL_LOAD */ - - /* GLES3W_GENERATE_GLES_LOAD */ - /* GL_ES_VERSION_2_0 */ - glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles3wLoad("glActiveTexture"); - glAttachShader = (PFNGLATTACHSHADERPROC)gles3wLoad("glAttachShader"); - glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles3wLoad("glBindAttribLocation"); - glBindBuffer = (PFNGLBINDBUFFERPROC)gles3wLoad("glBindBuffer"); - glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles3wLoad("glBindFramebuffer"); - glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles3wLoad("glBindRenderbuffer"); - glBindTexture = (PFNGLBINDTEXTUREPROC)gles3wLoad("glBindTexture"); - glBlendColor = (PFNGLBLENDCOLORPROC)gles3wLoad("glBlendColor"); - glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles3wLoad("glBlendEquation"); - glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles3wLoad("glBlendEquationSeparate"); - glBlendFunc = (PFNGLBLENDFUNCPROC)gles3wLoad("glBlendFunc"); - glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles3wLoad("glBlendFuncSeparate"); - glBufferData = (PFNGLBUFFERDATAPROC)gles3wLoad("glBufferData"); - glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles3wLoad("glBufferSubData"); - glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles3wLoad("glCheckFramebufferStatus"); - glClear = (PFNGLCLEARPROC)gles3wLoad("glClear"); - glClearColor = (PFNGLCLEARCOLORPROC)gles3wLoad("glClearColor"); - glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles3wLoad("glClearDepthf"); - glClearStencil = (PFNGLCLEARSTENCILPROC)gles3wLoad("glClearStencil"); - glColorMask = (PFNGLCOLORMASKPROC)gles3wLoad("glColorMask"); - glCompileShader = (PFNGLCOMPILESHADERPROC)gles3wLoad("glCompileShader"); - glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles3wLoad("glCompressedTexImage2D"); - glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles3wLoad("glCompressedTexSubImage2D"); - glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles3wLoad("glCopyTexImage2D"); - glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles3wLoad("glCopyTexSubImage2D"); - glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles3wLoad("glCreateProgram"); - glCreateShader = (PFNGLCREATESHADERPROC)gles3wLoad("glCreateShader"); - glCullFace = (PFNGLCULLFACEPROC)gles3wLoad("glCullFace"); - glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles3wLoad("glDeleteBuffers"); - glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles3wLoad("glDeleteFramebuffers"); - glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles3wLoad("glDeleteProgram"); - glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles3wLoad("glDeleteRenderbuffers"); - glDeleteShader = (PFNGLDELETESHADERPROC)gles3wLoad("glDeleteShader"); - glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles3wLoad("glDeleteTextures"); - glDepthFunc = (PFNGLDEPTHFUNCPROC)gles3wLoad("glDepthFunc"); - glDepthMask = (PFNGLDEPTHMASKPROC)gles3wLoad("glDepthMask"); - glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles3wLoad("glDepthRangef"); - glDetachShader = (PFNGLDETACHSHADERPROC)gles3wLoad("glDetachShader"); - glDisable = (PFNGLDISABLEPROC)gles3wLoad("glDisable"); - glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glDisableVertexAttribArray"); - glDrawArrays = (PFNGLDRAWARRAYSPROC)gles3wLoad("glDrawArrays"); - glDrawElements = (PFNGLDRAWELEMENTSPROC)gles3wLoad("glDrawElements"); - glEnable = (PFNGLENABLEPROC)gles3wLoad("glEnable"); - glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glEnableVertexAttribArray"); - glFinish = (PFNGLFINISHPROC)gles3wLoad("glFinish"); - glFlush = (PFNGLFLUSHPROC)gles3wLoad("glFlush"); - glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles3wLoad("glFramebufferRenderbuffer"); - glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles3wLoad("glFramebufferTexture2D"); - glFrontFace = (PFNGLFRONTFACEPROC)gles3wLoad("glFrontFace"); - glGenBuffers = (PFNGLGENBUFFERSPROC)gles3wLoad("glGenBuffers"); - glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles3wLoad("glGenerateMipmap"); - glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles3wLoad("glGenFramebuffers"); - glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles3wLoad("glGenRenderbuffers"); - glGenTextures = (PFNGLGENTEXTURESPROC)gles3wLoad("glGenTextures"); - glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles3wLoad("glGetActiveAttrib"); - glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles3wLoad("glGetActiveUniform"); - glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles3wLoad("glGetAttachedShaders"); - glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles3wLoad("glGetAttribLocation"); - glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles3wLoad("glGetBooleanv"); - glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles3wLoad("glGetBufferParameteriv"); - glGetError = (PFNGLGETERRORPROC)gles3wLoad("glGetError"); - glGetFloatv = (PFNGLGETFLOATVPROC)gles3wLoad("glGetFloatv"); - glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles3wLoad("glGetFramebufferAttachmentParameteriv"); - glGetIntegerv = (PFNGLGETINTEGERVPROC)gles3wLoad("glGetIntegerv"); - glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles3wLoad("glGetProgramiv"); - glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles3wLoad("glGetProgramInfoLog"); - glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles3wLoad("glGetRenderbufferParameteriv"); - glGetShaderiv = (PFNGLGETSHADERIVPROC)gles3wLoad("glGetShaderiv"); - glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles3wLoad("glGetShaderInfoLog"); - glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles3wLoad("glGetShaderPrecisionFormat"); - glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles3wLoad("glGetShaderSource"); - glGetString = (PFNGLGETSTRINGPROC)gles3wLoad("glGetString"); - glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles3wLoad("glGetTexParameterfv"); - glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles3wLoad("glGetTexParameteriv"); - glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles3wLoad("glGetUniformfv"); - glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles3wLoad("glGetUniformiv"); - glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles3wLoad("glGetUniformLocation"); - glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles3wLoad("glGetVertexAttribfv"); - glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles3wLoad("glGetVertexAttribiv"); - glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles3wLoad("glGetVertexAttribPointerv"); - glHint = (PFNGLHINTPROC)gles3wLoad("glHint"); - glIsBuffer = (PFNGLISBUFFERPROC)gles3wLoad("glIsBuffer"); - glIsEnabled = (PFNGLISENABLEDPROC)gles3wLoad("glIsEnabled"); - glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles3wLoad("glIsFramebuffer"); - glIsProgram = (PFNGLISPROGRAMPROC)gles3wLoad("glIsProgram"); - glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles3wLoad("glIsRenderbuffer"); - glIsShader = (PFNGLISSHADERPROC)gles3wLoad("glIsShader"); - glIsTexture = (PFNGLISTEXTUREPROC)gles3wLoad("glIsTexture"); - glLineWidth = (PFNGLLINEWIDTHPROC)gles3wLoad("glLineWidth"); - glLinkProgram = (PFNGLLINKPROGRAMPROC)gles3wLoad("glLinkProgram"); - glPixelStorei = (PFNGLPIXELSTOREIPROC)gles3wLoad("glPixelStorei"); - glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles3wLoad("glPolygonOffset"); - glReadPixels = (PFNGLREADPIXELSPROC)gles3wLoad("glReadPixels"); - glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles3wLoad("glReleaseShaderCompiler"); - glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles3wLoad("glRenderbufferStorage"); - glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles3wLoad("glSampleCoverage"); - glScissor = (PFNGLSCISSORPROC)gles3wLoad("glScissor"); - glShaderBinary = (PFNGLSHADERBINARYPROC)gles3wLoad("glShaderBinary"); - glShaderSource = (PFNGLSHADERSOURCEPROC)gles3wLoad("glShaderSource"); - glStencilFunc = (PFNGLSTENCILFUNCPROC)gles3wLoad("glStencilFunc"); - glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles3wLoad("glStencilFuncSeparate"); - glStencilMask = (PFNGLSTENCILMASKPROC)gles3wLoad("glStencilMask"); - glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles3wLoad("glStencilMaskSeparate"); - glStencilOp = (PFNGLSTENCILOPPROC)gles3wLoad("glStencilOp"); - glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles3wLoad("glStencilOpSeparate"); - glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles3wLoad("glTexImage2D"); - glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles3wLoad("glTexParameterf"); - glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles3wLoad("glTexParameterfv"); - glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles3wLoad("glTexParameteri"); - glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles3wLoad("glTexParameteriv"); - glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles3wLoad("glTexSubImage2D"); - glUniform1f = (PFNGLUNIFORM1FPROC)gles3wLoad("glUniform1f"); - glUniform1fv = (PFNGLUNIFORM1FVPROC)gles3wLoad("glUniform1fv"); - glUniform1i = (PFNGLUNIFORM1IPROC)gles3wLoad("glUniform1i"); - glUniform1iv = (PFNGLUNIFORM1IVPROC)gles3wLoad("glUniform1iv"); - glUniform2f = (PFNGLUNIFORM2FPROC)gles3wLoad("glUniform2f"); - glUniform2fv = (PFNGLUNIFORM2FVPROC)gles3wLoad("glUniform2fv"); - glUniform2i = (PFNGLUNIFORM2IPROC)gles3wLoad("glUniform2i"); - glUniform2iv = (PFNGLUNIFORM2IVPROC)gles3wLoad("glUniform2iv"); - glUniform3f = (PFNGLUNIFORM3FPROC)gles3wLoad("glUniform3f"); - glUniform3fv = (PFNGLUNIFORM3FVPROC)gles3wLoad("glUniform3fv"); - glUniform3i = (PFNGLUNIFORM3IPROC)gles3wLoad("glUniform3i"); - glUniform3iv = (PFNGLUNIFORM3IVPROC)gles3wLoad("glUniform3iv"); - glUniform4f = (PFNGLUNIFORM4FPROC)gles3wLoad("glUniform4f"); - glUniform4fv = (PFNGLUNIFORM4FVPROC)gles3wLoad("glUniform4fv"); - glUniform4i = (PFNGLUNIFORM4IPROC)gles3wLoad("glUniform4i"); - glUniform4iv = (PFNGLUNIFORM4IVPROC)gles3wLoad("glUniform4iv"); - glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles3wLoad("glUniformMatrix2fv"); - glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles3wLoad("glUniformMatrix3fv"); - glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles3wLoad("glUniformMatrix4fv"); - glUseProgram = (PFNGLUSEPROGRAMPROC)gles3wLoad("glUseProgram"); - glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles3wLoad("glValidateProgram"); - glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles3wLoad("glVertexAttrib1f"); - glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles3wLoad("glVertexAttrib1fv"); - glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles3wLoad("glVertexAttrib2f"); - glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles3wLoad("glVertexAttrib2fv"); - glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles3wLoad("glVertexAttrib3f"); - glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles3wLoad("glVertexAttrib3fv"); - glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles3wLoad("glVertexAttrib4f"); - glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles3wLoad("glVertexAttrib4fv"); - glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles3wLoad("glVertexAttribPointer"); - glViewport = (PFNGLVIEWPORTPROC)gles3wLoad("glViewport"); - - - /* GL_ES_VERSION_3_0 */ - glReadBuffer = (PFNGLREADBUFFERPROC)gles3wLoad("glReadBuffer"); - glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)gles3wLoad("glDrawRangeElements"); - glTexImage3D = (PFNGLTEXIMAGE3DPROC)gles3wLoad("glTexImage3D"); - glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)gles3wLoad("glTexSubImage3D"); - glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)gles3wLoad("glCopyTexSubImage3D"); - glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)gles3wLoad("glCompressedTexImage3D"); - glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)gles3wLoad("glCompressedTexSubImage3D"); - glGenQueries = (PFNGLGENQUERIESPROC)gles3wLoad("glGenQueries"); - glDeleteQueries = (PFNGLDELETEQUERIESPROC)gles3wLoad("glDeleteQueries"); - glIsQuery = (PFNGLISQUERYPROC)gles3wLoad("glIsQuery"); - glBeginQuery = (PFNGLBEGINQUERYPROC)gles3wLoad("glBeginQuery"); - glEndQuery = (PFNGLENDQUERYPROC)gles3wLoad("glEndQuery"); - glGetQueryiv = (PFNGLGETQUERYIVPROC)gles3wLoad("glGetQueryiv"); - glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)gles3wLoad("glGetQueryObjectuiv"); - glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)gles3wLoad("glUnmapBuffer"); - glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)gles3wLoad("glGetBufferPointerv"); - glDrawBuffers = (PFNGLDRAWBUFFERSPROC)gles3wLoad("glDrawBuffers"); - glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)gles3wLoad("glUniformMatrix2x3fv"); - glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)gles3wLoad("glUniformMatrix3x2fv"); - glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)gles3wLoad("glUniformMatrix2x4fv"); - glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)gles3wLoad("glUniformMatrix4x2fv"); - glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)gles3wLoad("glUniformMatrix3x4fv"); - glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)gles3wLoad("glUniformMatrix4x3fv"); - glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)gles3wLoad("glBlitFramebuffer"); - glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)gles3wLoad("glRenderbufferStorageMultisample"); - glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)gles3wLoad("glFramebufferTextureLayer"); - glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)gles3wLoad("glMapBufferRange"); - glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)gles3wLoad("glFlushMappedBufferRange"); - glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)gles3wLoad("glBindVertexArray"); - glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)gles3wLoad("glDeleteVertexArrays"); - glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)gles3wLoad("glGenVertexArrays"); - glIsVertexArray = (PFNGLISVERTEXARRAYPROC)gles3wLoad("glIsVertexArray"); - glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)gles3wLoad("glGetIntegeri_v"); - glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)gles3wLoad("glBeginTransformFeedback"); - glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)gles3wLoad("glEndTransformFeedback"); - glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)gles3wLoad("glBindBufferRange"); - glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)gles3wLoad("glBindBufferBase"); - glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)gles3wLoad("glTransformFeedbackVaryings"); - glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)gles3wLoad("glGetTransformFeedbackVarying"); - glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)gles3wLoad("glVertexAttribIPointer"); - glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)gles3wLoad("glGetVertexAttribIiv"); - glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)gles3wLoad("glGetVertexAttribIuiv"); - glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)gles3wLoad("glVertexAttribI4i"); - glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)gles3wLoad("glVertexAttribI4ui"); - glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)gles3wLoad("glVertexAttribI4iv"); - glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)gles3wLoad("glVertexAttribI4uiv"); - glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)gles3wLoad("glGetUniformuiv"); - glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)gles3wLoad("glGetFragDataLocation"); - glUniform1ui = (PFNGLUNIFORM1UIPROC)gles3wLoad("glUniform1ui"); - glUniform2ui = (PFNGLUNIFORM2UIPROC)gles3wLoad("glUniform2ui"); - glUniform3ui = (PFNGLUNIFORM3UIPROC)gles3wLoad("glUniform3ui"); - glUniform4ui = (PFNGLUNIFORM4UIPROC)gles3wLoad("glUniform4ui"); - glUniform1uiv = (PFNGLUNIFORM1UIVPROC)gles3wLoad("glUniform1uiv"); - glUniform2uiv = (PFNGLUNIFORM2UIVPROC)gles3wLoad("glUniform2uiv"); - glUniform3uiv = (PFNGLUNIFORM3UIVPROC)gles3wLoad("glUniform3uiv"); - glUniform4uiv = (PFNGLUNIFORM4UIVPROC)gles3wLoad("glUniform4uiv"); - glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)gles3wLoad("glClearBufferiv"); - glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)gles3wLoad("glClearBufferuiv"); - glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)gles3wLoad("glClearBufferfv"); - glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)gles3wLoad("glClearBufferfi"); - glGetStringi = (PFNGLGETSTRINGIPROC)gles3wLoad("glGetStringi"); - glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)gles3wLoad("glCopyBufferSubData"); - glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)gles3wLoad("glGetUniformIndices"); - glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)gles3wLoad("glGetActiveUniformsiv"); - glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)gles3wLoad("glGetUniformBlockIndex"); - glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)gles3wLoad("glGetActiveUniformBlockiv"); - glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)gles3wLoad("glGetActiveUniformBlockName"); - glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)gles3wLoad("glUniformBlockBinding"); - glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)gles3wLoad("glDrawArraysInstanced"); - glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)gles3wLoad("glDrawElementsInstanced"); - glFenceSync = (PFNGLFENCESYNCPROC)gles3wLoad("glFenceSync"); - glIsSync = (PFNGLISSYNCPROC)gles3wLoad("glIsSync"); - glDeleteSync = (PFNGLDELETESYNCPROC)gles3wLoad("glDeleteSync"); - glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)gles3wLoad("glClientWaitSync"); - glWaitSync = (PFNGLWAITSYNCPROC)gles3wLoad("glWaitSync"); - glGetInteger64v = (PFNGLGETINTEGER64VPROC)gles3wLoad("glGetInteger64v"); - glGetSynciv = (PFNGLGETSYNCIVPROC)gles3wLoad("glGetSynciv"); - glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)gles3wLoad("glGetInteger64i_v"); - glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)gles3wLoad("glGetBufferParameteri64v"); - glGenSamplers = (PFNGLGENSAMPLERSPROC)gles3wLoad("glGenSamplers"); - glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)gles3wLoad("glDeleteSamplers"); - glIsSampler = (PFNGLISSAMPLERPROC)gles3wLoad("glIsSampler"); - glBindSampler = (PFNGLBINDSAMPLERPROC)gles3wLoad("glBindSampler"); - glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)gles3wLoad("glSamplerParameteri"); - glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)gles3wLoad("glSamplerParameteriv"); - glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)gles3wLoad("glSamplerParameterf"); - glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)gles3wLoad("glSamplerParameterfv"); - glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)gles3wLoad("glGetSamplerParameteriv"); - glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)gles3wLoad("glGetSamplerParameterfv"); - glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)gles3wLoad("glVertexAttribDivisor"); - glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)gles3wLoad("glBindTransformFeedback"); - glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)gles3wLoad("glDeleteTransformFeedbacks"); - glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)gles3wLoad("glGenTransformFeedbacks"); - glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)gles3wLoad("glIsTransformFeedback"); - glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)gles3wLoad("glPauseTransformFeedback"); - glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)gles3wLoad("glResumeTransformFeedback"); - glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)gles3wLoad("glGetProgramBinary"); - glProgramBinary = (PFNGLPROGRAMBINARYPROC)gles3wLoad("glProgramBinary"); - glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)gles3wLoad("glProgramParameteri"); - glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)gles3wLoad("glInvalidateFramebuffer"); - glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)gles3wLoad("glInvalidateSubFramebuffer"); - glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)gles3wLoad("glTexStorage2D"); - glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)gles3wLoad("glTexStorage3D"); - glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)gles3wLoad("glGetInternalformativ"); - - - /* GL_ES_VERSION_3_1 */ - glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)gles3wLoad("glDispatchCompute"); - glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)gles3wLoad("glDispatchComputeIndirect"); - - glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)gles3wLoad("glDrawArraysIndirect"); - glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)gles3wLoad("glDrawElementsIndirect"); - - glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)gles3wLoad("glFramebufferParameteri"); - glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)gles3wLoad("glGetFramebufferParameteriv"); - - glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)gles3wLoad("glGetProgramInterfaceiv"); - glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)gles3wLoad("glGetProgramResourceIndex"); - glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)gles3wLoad("glGetProgramResourceName"); - glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)gles3wLoad("glGetProgramResourceiv"); - glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)gles3wLoad("glGetProgramResourceLocation"); - - glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)gles3wLoad("glUseProgramStages"); - glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)gles3wLoad("glActiveShaderProgram"); - glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)gles3wLoad("glCreateShaderProgramv"); - glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)gles3wLoad("glBindProgramPipeline"); - glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)gles3wLoad("glDeleteProgramPipelines"); - glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)gles3wLoad("glGenProgramPipelines"); - glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)gles3wLoad("glIsProgramPipeline"); - glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)gles3wLoad("glGetProgramPipelineiv"); - glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)gles3wLoad("glProgramUniform1i"); - glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)gles3wLoad("glProgramUniform2i"); - glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)gles3wLoad("glProgramUniform3i"); - glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)gles3wLoad("glProgramUniform4i"); - glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)gles3wLoad("glProgramUniform1ui"); - glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)gles3wLoad("glProgramUniform2ui"); - glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)gles3wLoad("glProgramUniform3ui"); - glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)gles3wLoad("glProgramUniform4ui"); - glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)gles3wLoad("glProgramUniform1f"); - glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)gles3wLoad("glProgramUniform2f"); - glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)gles3wLoad("glProgramUniform3f"); - glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)gles3wLoad("glProgramUniform4f"); - glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)gles3wLoad("glProgramUniform1iv"); - glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)gles3wLoad("glProgramUniform2iv"); - glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)gles3wLoad("glProgramUniform3iv"); - glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)gles3wLoad("glProgramUniform4iv"); - glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)gles3wLoad("glProgramUniform1uiv"); - glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)gles3wLoad("glProgramUniform2uiv"); - glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)gles3wLoad("glProgramUniform3uiv"); - glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)gles3wLoad("glProgramUniform4uiv"); - glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)gles3wLoad("glProgramUniform1fv"); - glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)gles3wLoad("glProgramUniform2fv"); - glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)gles3wLoad("glProgramUniform3fv"); - glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)gles3wLoad("glProgramUniform4fv"); - glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)gles3wLoad("glProgramUniformMatrix2fv"); - glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)gles3wLoad("glProgramUniformMatrix3fv"); - glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)gles3wLoad("glProgramUniformMatrix4fv"); - glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)gles3wLoad("glProgramUniformMatrix2x3fv"); - glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)gles3wLoad("glProgramUniformMatrix3x2fv"); - glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)gles3wLoad("glProgramUniformMatrix2x4fv"); - glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)gles3wLoad("glProgramUniformMatrix4x2fv"); - glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)gles3wLoad("glProgramUniformMatrix3x4fv"); - glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)gles3wLoad("glProgramUniformMatrix4x3fv"); - glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)gles3wLoad("glValidateProgramPipeline"); - glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)gles3wLoad("glGetProgramPipelineInfoLog"); - - glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)gles3wLoad("glBindImageTexture"); - glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)gles3wLoad("glGetBooleani_v"); - glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)gles3wLoad("glMemoryBarrier"); - glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)gles3wLoad("glMemoryBarrierByRegion"); - - glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)gles3wLoad("glTexStorage2DMultisample"); - glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)gles3wLoad("glGetMultisamplefv"); - glSampleMaski = (PFNGLSAMPLEMASKIPROC)gles3wLoad("glSampleMaski"); - glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)gles3wLoad("glGetTexLevelParameteriv"); - glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)gles3wLoad("glGetTexLevelParameterfv"); - - glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)gles3wLoad("glBindVertexBuffer"); - glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)gles3wLoad("glVertexAttribFormat"); - glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)gles3wLoad("glVertexAttribIFormat"); - glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)gles3wLoad("glVertexAttribBinding"); - glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)gles3wLoad("glVertexBindingDivisor"); - - - /* GL_ES_VERSION_3_2 */ - glBlendBarrier = (PFNGLBLENDBARRIERPROC)gles3wLoad("glBlendBarrier"); - - glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)gles3wLoad("glCopyImageSubData"); - - glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)gles3wLoad("glDebugMessageControl"); - glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)gles3wLoad("glDebugMessageInsert"); - glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)gles3wLoad("glDebugMessageCallback"); - glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)gles3wLoad("glGetDebugMessageLog"); - glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)gles3wLoad("glPushDebugGroup"); - glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)gles3wLoad("glPopDebugGroup"); - glObjectLabel = (PFNGLOBJECTLABELPROC)gles3wLoad("glObjectLabel"); - glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)gles3wLoad("glGetObjectLabel"); - glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)gles3wLoad("glObjectPtrLabel"); - glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)gles3wLoad("glGetObjectPtrLabel"); - glGetPointerv = (PFNGLGETPOINTERVPROC)gles3wLoad("glGetPointerv"); - - glEnablei = (PFNGLENABLEIPROC)gles3wLoad("glEnablei"); - glDisablei = (PFNGLDISABLEIPROC)gles3wLoad("glDisablei"); - glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)gles3wLoad("glBlendEquationi"); - glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)gles3wLoad("glBlendEquationSeparatei"); - glBlendFunci = (PFNGLBLENDFUNCIPROC)gles3wLoad("glBlendFunci"); - glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)gles3wLoad("glBlendFuncSeparatei"); - glColorMaski = (PFNGLCOLORMASKIPROC)gles3wLoad("glColorMaski"); - glIsEnabledi = (PFNGLISENABLEDIPROC)gles3wLoad("glIsEnabledi"); - - glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawElementsBaseVertex"); - glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawRangeElementsBaseVertex"); - glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)gles3wLoad("glDrawElementsInstancedBaseVertex"); - - glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)gles3wLoad("glFramebufferTexture"); - - glPrimitiveBoundingBox = (PFNGLPRIMITIVEBOUNDINGBOXPROC)gles3wLoad("glPrimitiveBoundingBox"); - - glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)gles3wLoad("glGetGraphicsResetStatus"); - glReadnPixels = (PFNGLREADNPIXELSPROC)gles3wLoad("glReadnPixels"); - glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)gles3wLoad("glGetnUniformfv"); - glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)gles3wLoad("glGetnUniformiv"); - glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)gles3wLoad("glGetnUniformuiv"); - - glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)gles3wLoad("glMinSampleShading"); - - glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)gles3wLoad("glPatchParameteri"); - - glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)gles3wLoad("glTexParameterIiv"); - glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)gles3wLoad("glTexParameterIuiv"); - glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)gles3wLoad("glGetTexParameterIiv"); - glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)gles3wLoad("glGetTexParameterIuiv"); - glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)gles3wLoad("glSamplerParameterIiv"); - glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)gles3wLoad("glSamplerParameterIuiv"); - glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)gles3wLoad("glGetSamplerParameterIiv"); - glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)gles3wLoad("glGetSamplerParameterIuiv"); - - glTexBuffer = (PFNGLTEXBUFFERPROC)gles3wLoad("glTexBuffer"); - glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)gles3wLoad("glTexBufferRange"); - - glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)gles3wLoad("glTexStorage3DMultisample"); - - -#if defined(GL_AMD_framebuffer_multisample_advanced) - glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); - glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) - glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles3wLoad("glGetPerfMonitorGroupsAMD"); - glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glGetPerfMonitorCountersAMD"); - glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorGroupStringAMD"); - glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorCounterStringAMD"); - glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles3wLoad("glGetPerfMonitorCounterInfoAMD"); - glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles3wLoad("glGenPerfMonitorsAMD"); - glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles3wLoad("glDeletePerfMonitorsAMD"); - glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glSelectPerfMonitorCountersAMD"); - glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles3wLoad("glBeginPerfMonitorAMD"); - glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles3wLoad("glEndPerfMonitorAMD"); - glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles3wLoad("glGetPerfMonitorCounterDataAMD"); -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) - glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles3wLoad("glBlitFramebufferANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) - glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles3wLoad("glRenderbufferStorageMultisampleANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) - glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles3wLoad("glDrawArraysInstancedANGLE"); - glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles3wLoad("glDrawElementsInstancedANGLE"); - glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles3wLoad("glVertexAttribDivisorANGLE"); -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) - glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles3wLoad("glGetTranslatedShaderSourceANGLE"); -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) - glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles3wLoad("glCopyTextureLevelsAPPLE"); -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) - glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles3wLoad("glRenderbufferStorageMultisampleAPPLE"); - glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles3wLoad("glResolveMultisampleFramebufferAPPLE"); -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) - glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles3wLoad("glFenceSyncAPPLE"); - glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles3wLoad("glIsSyncAPPLE"); - glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles3wLoad("glDeleteSyncAPPLE"); - glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles3wLoad("glClientWaitSyncAPPLE"); - glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles3wLoad("glWaitSyncAPPLE"); - glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles3wLoad("glGetInteger64vAPPLE"); - glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles3wLoad("glGetSyncivAPPLE"); -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) - glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTexStorageEXT"); - - glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTextureStorageEXT"); -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) - glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawArraysInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) - glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles3wLoad("glBindFragDataLocationIndexedEXT"); - glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles3wLoad("glBindFragDataLocationEXT"); - glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles3wLoad("glGetProgramResourceLocationIndexEXT"); - glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles3wLoad("glGetFragDataIndexEXT"); -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) - glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles3wLoad("glBufferStorageEXT"); -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) - glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles3wLoad("glClearTexImageEXT"); - glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles3wLoad("glClearTexSubImageEXT"); -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) - glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles3wLoad("glClipControlEXT"); -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) - glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles3wLoad("glCopyImageSubDataEXT"); -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) - glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles3wLoad("glLabelObjectEXT"); - glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles3wLoad("glGetObjectLabelEXT"); -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) - glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles3wLoad("glInsertEventMarkerEXT"); - glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles3wLoad("glPushGroupMarkerEXT"); - glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles3wLoad("glPopGroupMarkerEXT"); -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) - glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles3wLoad("glDiscardFramebufferEXT"); -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) - glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles3wLoad("glGenQueriesEXT"); - glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles3wLoad("glDeleteQueriesEXT"); - glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles3wLoad("glIsQueryEXT"); - glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles3wLoad("glBeginQueryEXT"); - glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles3wLoad("glEndQueryEXT"); - glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles3wLoad("glQueryCounterEXT"); - glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles3wLoad("glGetQueryivEXT"); - glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles3wLoad("glGetQueryObjectivEXT"); - glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles3wLoad("glGetQueryObjectuivEXT"); - glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles3wLoad("glGetQueryObjecti64vEXT"); - glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles3wLoad("glGetQueryObjectui64vEXT"); - glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles3wLoad("glGetInteger64vEXT"); -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) - glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles3wLoad("glDrawBuffersEXT"); -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) - glEnableiEXT = (PFNGLENABLEIEXTPROC)gles3wLoad("glEnableiEXT"); - glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles3wLoad("glDisableiEXT"); - glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles3wLoad("glBlendEquationiEXT"); - glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles3wLoad("glBlendEquationSeparateiEXT"); - glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles3wLoad("glBlendFunciEXT"); - glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles3wLoad("glBlendFuncSeparateiEXT"); - glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles3wLoad("glColorMaskiEXT"); - glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles3wLoad("glIsEnablediEXT"); -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) - glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsBaseVertexEXT"); - glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawRangeElementsBaseVertexEXT"); - glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexEXT"); - glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glMultiDrawElementsBaseVertexEXT"); -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) - glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles3wLoad("glDrawArraysInstancedEXT"); - glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles3wLoad("glDrawElementsInstancedEXT"); -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) - glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles3wLoad("glDrawTransformFeedbackEXT"); - glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles3wLoad("glDrawTransformFeedbackInstancedEXT"); -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) - glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glBufferStorageExternalEXT"); - glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glNamedBufferStorageExternalEXT"); -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) - glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles3wLoad("glFramebufferTextureEXT"); -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) - glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles3wLoad("glVertexAttribDivisorEXT"); -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) - glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles3wLoad("glMapBufferRangeEXT"); - glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles3wLoad("glFlushMappedBufferRangeEXT"); -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) - glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles3wLoad("glGetUnsignedBytevEXT"); - glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles3wLoad("glGetUnsignedBytei_vEXT"); - glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles3wLoad("glDeleteMemoryObjectsEXT"); - glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles3wLoad("glIsMemoryObjectEXT"); - glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles3wLoad("glCreateMemoryObjectsEXT"); - glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glMemoryObjectParameterivEXT"); - glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glGetMemoryObjectParameterivEXT"); - glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles3wLoad("glTexStorageMem2DEXT"); - glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem2DMultisampleEXT"); - glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles3wLoad("glTexStorageMem3DEXT"); - glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem3DMultisampleEXT"); - glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glBufferStorageMemEXT"); - - glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles3wLoad("glTextureStorageMem2DEXT"); - glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem2DMultisampleEXT"); - glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles3wLoad("glTextureStorageMem3DEXT"); - glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem3DMultisampleEXT"); - glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glNamedBufferStorageMemEXT"); -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) - glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles3wLoad("glImportMemoryFdEXT"); -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) - glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles3wLoad("glImportMemoryWin32HandleEXT"); - glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles3wLoad("glImportMemoryWin32NameEXT"); -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) - glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles3wLoad("glMultiDrawArraysEXT"); - glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles3wLoad("glMultiDrawElementsEXT"); -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) - glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles3wLoad("glMultiDrawArraysIndirectEXT"); - glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles3wLoad("glMultiDrawElementsIndirectEXT"); -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) - glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles3wLoad("glRenderbufferStorageMultisampleEXT"); - glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles3wLoad("glFramebufferTexture2DMultisampleEXT"); -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) - glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles3wLoad("glReadBufferIndexedEXT"); - glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles3wLoad("glDrawBuffersIndexedEXT"); - glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles3wLoad("glGetIntegeri_vEXT"); -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) - glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles3wLoad("glPolygonOffsetClampEXT"); -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) - glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles3wLoad("glPrimitiveBoundingBoxEXT"); -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) - glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles3wLoad("glRasterSamplesEXT"); -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) - glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles3wLoad("glGetGraphicsResetStatusEXT"); - glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles3wLoad("glReadnPixelsEXT"); - glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles3wLoad("glGetnUniformfvEXT"); - glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles3wLoad("glGetnUniformivEXT"); -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) - glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles3wLoad("glGenSemaphoresEXT"); - glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles3wLoad("glDeleteSemaphoresEXT"); - glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles3wLoad("glIsSemaphoreEXT"); - glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glSemaphoreParameterui64vEXT"); - glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glGetSemaphoreParameterui64vEXT"); - glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles3wLoad("glWaitSemaphoreEXT"); - glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles3wLoad("glSignalSemaphoreEXT"); -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) - glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles3wLoad("glImportSemaphoreFdEXT"); -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) - glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles3wLoad("glImportSemaphoreWin32HandleEXT"); - glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles3wLoad("glImportSemaphoreWin32NameEXT"); -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) - glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles3wLoad("glActiveShaderProgramEXT"); - glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles3wLoad("glBindProgramPipelineEXT"); - glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles3wLoad("glCreateShaderProgramvEXT"); - glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles3wLoad("glDeleteProgramPipelinesEXT"); - glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles3wLoad("glGenProgramPipelinesEXT"); - glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles3wLoad("glGetProgramPipelineInfoLogEXT"); - glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles3wLoad("glGetProgramPipelineivEXT"); - glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles3wLoad("glIsProgramPipelineEXT"); - glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles3wLoad("glProgramParameteriEXT"); - glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles3wLoad("glProgramUniform1fEXT"); - glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles3wLoad("glProgramUniform1fvEXT"); - glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles3wLoad("glProgramUniform1iEXT"); - glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles3wLoad("glProgramUniform1ivEXT"); - glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles3wLoad("glProgramUniform2fEXT"); - glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles3wLoad("glProgramUniform2fvEXT"); - glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles3wLoad("glProgramUniform2iEXT"); - glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles3wLoad("glProgramUniform2ivEXT"); - glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles3wLoad("glProgramUniform3fEXT"); - glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles3wLoad("glProgramUniform3fvEXT"); - glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles3wLoad("glProgramUniform3iEXT"); - glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles3wLoad("glProgramUniform3ivEXT"); - glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles3wLoad("glProgramUniform4fEXT"); - glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles3wLoad("glProgramUniform4fvEXT"); - glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles3wLoad("glProgramUniform4iEXT"); - glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles3wLoad("glProgramUniform4ivEXT"); - glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles3wLoad("glProgramUniformMatrix2fvEXT"); - glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles3wLoad("glProgramUniformMatrix3fvEXT"); - glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles3wLoad("glProgramUniformMatrix4fvEXT"); - glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles3wLoad("glUseProgramStagesEXT"); - glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles3wLoad("glValidateProgramPipelineEXT"); - - glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles3wLoad("glProgramUniform1uiEXT"); - glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles3wLoad("glProgramUniform2uiEXT"); - glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles3wLoad("glProgramUniform3uiEXT"); - glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles3wLoad("glProgramUniform4uiEXT"); - glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles3wLoad("glProgramUniform1uivEXT"); - glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles3wLoad("glProgramUniform2uivEXT"); - glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles3wLoad("glProgramUniform3uivEXT"); - glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles3wLoad("glProgramUniform4uivEXT"); - glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x3fvEXT"); - glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x2fvEXT"); - glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x4fvEXT"); - glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x2fvEXT"); - glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x4fvEXT"); - glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x3fvEXT"); -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) - glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles3wLoad("glFramebufferFetchBarrierEXT"); -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) - glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glFramebufferPixelLocalStorageSizeEXT"); - glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); - glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles3wLoad("glClearPixelLocalStorageuiEXT"); -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) - glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles3wLoad("glTexPageCommitmentEXT"); -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) - glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles3wLoad("glPatchParameteriEXT"); -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) - glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles3wLoad("glTexParameterIivEXT"); - glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles3wLoad("glTexParameterIuivEXT"); - glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles3wLoad("glGetTexParameterIivEXT"); - glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles3wLoad("glGetTexParameterIuivEXT"); - glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glSamplerParameterIivEXT"); - glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glSamplerParameterIuivEXT"); - glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glGetSamplerParameterIivEXT"); - glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glGetSamplerParameterIuivEXT"); -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) - glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles3wLoad("glTexBufferEXT"); - glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles3wLoad("glTexBufferRangeEXT"); -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) - glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles3wLoad("glTexStorage1DEXT"); - glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles3wLoad("glTexStorage2DEXT"); - glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles3wLoad("glTexStorage3DEXT"); - - glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles3wLoad("glTextureStorage1DEXT"); - glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles3wLoad("glTextureStorage2DEXT"); - glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles3wLoad("glTextureStorage3DEXT"); -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) - glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles3wLoad("glTextureViewEXT"); -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) - glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles3wLoad("glCreateSemaphoresNV"); - glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glSemaphoreParameterivNV"); - glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glGetSemaphoreParameterivNV"); -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) - glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glAcquireKeyedMutexWin32EXT"); - glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glReleaseKeyedMutexWin32EXT"); -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) - glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles3wLoad("glWindowRectanglesEXT"); -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) - glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles3wLoad("glGetTextureHandleIMG"); - glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles3wLoad("glGetTextureSamplerHandleIMG"); - glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glUniformHandleui64IMG"); - glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glUniformHandleui64vIMG"); - glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glProgramUniformHandleui64IMG"); - glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glProgramUniformHandleui64vIMG"); -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) - glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DDownsampleIMG"); - glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTextureLayerDownsampleIMG"); -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) - glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles3wLoad("glRenderbufferStorageMultisampleIMG"); - glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DMultisampleIMG"); -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) - glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles3wLoad("glApplyFramebufferAttachmentCMAAINTEL"); -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) - glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles3wLoad("glBeginPerfQueryINTEL"); - glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles3wLoad("glCreatePerfQueryINTEL"); - glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles3wLoad("glDeletePerfQueryINTEL"); - glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles3wLoad("glEndPerfQueryINTEL"); - glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles3wLoad("glGetFirstPerfQueryIdINTEL"); - glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles3wLoad("glGetNextPerfQueryIdINTEL"); - glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles3wLoad("glGetPerfCounterInfoINTEL"); - glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles3wLoad("glGetPerfQueryDataINTEL"); - glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles3wLoad("glGetPerfQueryIdByNameINTEL"); - glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles3wLoad("glGetPerfQueryInfoINTEL"); -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) - glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles3wLoad("glBlendBarrierKHR"); -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) - glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("glDebugMessageControlKHR"); - glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles3wLoad("glDebugMessageInsertKHR"); - glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles3wLoad("glDebugMessageCallbackKHR"); - glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles3wLoad("glGetDebugMessageLogKHR"); - glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles3wLoad("glPushDebugGroupKHR"); - glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles3wLoad("glPopDebugGroupKHR"); - glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles3wLoad("glObjectLabelKHR"); - glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles3wLoad("glGetObjectLabelKHR"); - glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles3wLoad("glObjectPtrLabelKHR"); - glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles3wLoad("glGetObjectPtrLabelKHR"); - glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles3wLoad("glGetPointervKHR"); -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) - glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles3wLoad("glGetGraphicsResetStatusKHR"); - glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles3wLoad("glReadnPixelsKHR"); - glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles3wLoad("glGetnUniformfvKHR"); - glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles3wLoad("glGetnUniformivKHR"); - glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles3wLoad("glGetnUniformuivKHR"); -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) - glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles3wLoad("glMaxShaderCompilerThreadsKHR"); -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) - glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles3wLoad("glFramebufferParameteriMESA"); - glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles3wLoad("glGetFramebufferParameterivMESA"); -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) - glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles3wLoad("glGetTextureHandleNV"); - glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles3wLoad("glGetTextureSamplerHandleNV"); - glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glMakeTextureHandleResidentNV"); - glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeTextureHandleNonResidentNV"); - glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles3wLoad("glGetImageHandleNV"); - glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glMakeImageHandleResidentNV"); - glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeImageHandleNonResidentNV"); - glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles3wLoad("glUniformHandleui64NV"); - glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glUniformHandleui64vNV"); - glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles3wLoad("glProgramUniformHandleui64NV"); - glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glProgramUniformHandleui64vNV"); - glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glIsTextureHandleResidentNV"); - glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glIsImageHandleResidentNV"); -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) - glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles3wLoad("glBlendParameteriNV"); - glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles3wLoad("glBlendBarrierNV"); -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) - glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles3wLoad("glViewportPositionWScaleNV"); -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) - glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles3wLoad("glBeginConditionalRenderNV"); - glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles3wLoad("glEndConditionalRenderNV"); -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) - glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles3wLoad("glSubpixelPrecisionBiasNV"); -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) - glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles3wLoad("glConservativeRasterParameteriNV"); -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) - glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles3wLoad("glCopyBufferSubDataNV"); -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) - glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles3wLoad("glCoverageMaskNV"); - glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles3wLoad("glCoverageOperationNV"); -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) - glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles3wLoad("glDrawBuffersNV"); -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) - glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles3wLoad("glDrawArraysInstancedNV"); - glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles3wLoad("glDrawElementsInstancedNV"); -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) - glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles3wLoad("glDrawVkImageNV"); - glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles3wLoad("glGetVkProcAddrNV"); - glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles3wLoad("glWaitVkSemaphoreNV"); - glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles3wLoad("glSignalVkSemaphoreNV"); - glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles3wLoad("glSignalVkFenceNV"); -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) - glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles3wLoad("glDeleteFencesNV"); - glGenFencesNV = (PFNGLGENFENCESNVPROC)gles3wLoad("glGenFencesNV"); - glIsFenceNV = (PFNGLISFENCENVPROC)gles3wLoad("glIsFenceNV"); - glTestFenceNV = (PFNGLTESTFENCENVPROC)gles3wLoad("glTestFenceNV"); - glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles3wLoad("glGetFenceivNV"); - glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles3wLoad("glFinishFenceNV"); - glSetFenceNV = (PFNGLSETFENCENVPROC)gles3wLoad("glSetFenceNV"); -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) - glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles3wLoad("glFragmentCoverageColorNV"); -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) - glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles3wLoad("glBlitFramebufferNV"); -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) - glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glCoverageModulationTableNV"); - glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glGetCoverageModulationTableNV"); - glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles3wLoad("glCoverageModulationNV"); -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) - glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles3wLoad("glRenderbufferStorageMultisampleNV"); -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) - glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles3wLoad("glUniform1i64NV"); - glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles3wLoad("glUniform2i64NV"); - glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles3wLoad("glUniform3i64NV"); - glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles3wLoad("glUniform4i64NV"); - glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles3wLoad("glUniform1i64vNV"); - glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles3wLoad("glUniform2i64vNV"); - glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles3wLoad("glUniform3i64vNV"); - glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles3wLoad("glUniform4i64vNV"); - glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles3wLoad("glUniform1ui64NV"); - glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles3wLoad("glUniform2ui64NV"); - glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles3wLoad("glUniform3ui64NV"); - glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles3wLoad("glUniform4ui64NV"); - glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles3wLoad("glUniform1ui64vNV"); - glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles3wLoad("glUniform2ui64vNV"); - glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles3wLoad("glUniform3ui64vNV"); - glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles3wLoad("glUniform4ui64vNV"); - glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles3wLoad("glGetUniformi64vNV"); - - glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles3wLoad("glProgramUniform1i64NV"); - glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles3wLoad("glProgramUniform2i64NV"); - glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles3wLoad("glProgramUniform3i64NV"); - glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles3wLoad("glProgramUniform4i64NV"); - glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles3wLoad("glProgramUniform1i64vNV"); - glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles3wLoad("glProgramUniform2i64vNV"); - glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles3wLoad("glProgramUniform3i64vNV"); - glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles3wLoad("glProgramUniform4i64vNV"); - glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles3wLoad("glProgramUniform1ui64NV"); - glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles3wLoad("glProgramUniform2ui64NV"); - glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles3wLoad("glProgramUniform3ui64NV"); - glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles3wLoad("glProgramUniform4ui64NV"); - glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles3wLoad("glProgramUniform1ui64vNV"); - glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles3wLoad("glProgramUniform2ui64vNV"); - glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles3wLoad("glProgramUniform3ui64vNV"); - glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles3wLoad("glProgramUniform4ui64vNV"); -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) - glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles3wLoad("glVertexAttribDivisorNV"); -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) - glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles3wLoad("glGetInternalformatSampleivNV"); -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) - glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles3wLoad("glGetMemoryObjectDetachedResourcesuivNV"); - glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles3wLoad("glResetMemoryObjectParameterNV"); - glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles3wLoad("glTexAttachMemoryNV"); - glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles3wLoad("glBufferAttachMemoryNV"); - - glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles3wLoad("glTextureAttachMemoryNV"); - glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles3wLoad("glNamedBufferAttachMemoryNV"); -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) - glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glBufferPageCommitmentMemNV"); - glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexPageCommitmentMemNV"); - - glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glNamedBufferPageCommitmentMemNV"); - glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexturePageCommitmentMemNV"); -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) - glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles3wLoad("glDrawMeshTasksNV"); - glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectCountNV"); -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) - glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles3wLoad("glUniformMatrix2x3fvNV"); - glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles3wLoad("glUniformMatrix3x2fvNV"); - glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles3wLoad("glUniformMatrix2x4fvNV"); - glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles3wLoad("glUniformMatrix4x2fvNV"); - glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles3wLoad("glUniformMatrix3x4fvNV"); - glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles3wLoad("glUniformMatrix4x3fvNV"); -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) - glGenPathsNV = (PFNGLGENPATHSNVPROC)gles3wLoad("glGenPathsNV"); - glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles3wLoad("glDeletePathsNV"); - glIsPathNV = (PFNGLISPATHNVPROC)gles3wLoad("glIsPathNV"); - glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles3wLoad("glPathCommandsNV"); - glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles3wLoad("glPathCoordsNV"); - glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles3wLoad("glPathSubCommandsNV"); - glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles3wLoad("glPathSubCoordsNV"); - glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles3wLoad("glPathStringNV"); - glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles3wLoad("glPathGlyphsNV"); - glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles3wLoad("glPathGlyphRangeNV"); - glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles3wLoad("glWeightPathsNV"); - glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles3wLoad("glCopyPathNV"); - glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles3wLoad("glInterpolatePathsNV"); - glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles3wLoad("glTransformPathNV"); - glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles3wLoad("glPathParameterivNV"); - glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles3wLoad("glPathParameteriNV"); - glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles3wLoad("glPathParameterfvNV"); - glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles3wLoad("glPathParameterfNV"); - glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles3wLoad("glPathDashArrayNV"); - glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles3wLoad("glPathStencilFuncNV"); - glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles3wLoad("glPathStencilDepthOffsetNV"); - glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles3wLoad("glStencilFillPathNV"); - glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles3wLoad("glStencilStrokePathNV"); - glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilFillPathInstancedNV"); - glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilStrokePathInstancedNV"); - glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles3wLoad("glPathCoverDepthFuncNV"); - glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles3wLoad("glCoverFillPathNV"); - glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles3wLoad("glCoverStrokePathNV"); - glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glCoverFillPathInstancedNV"); - glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glCoverStrokePathInstancedNV"); - glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles3wLoad("glGetPathParameterivNV"); - glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles3wLoad("glGetPathParameterfvNV"); - glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles3wLoad("glGetPathCommandsNV"); - glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles3wLoad("glGetPathCoordsNV"); - glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles3wLoad("glGetPathDashArrayNV"); - glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles3wLoad("glGetPathMetricsNV"); - glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles3wLoad("glGetPathMetricRangeNV"); - glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles3wLoad("glGetPathSpacingNV"); - glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles3wLoad("glIsPointInFillPathNV"); - glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles3wLoad("glIsPointInStrokePathNV"); - glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles3wLoad("glGetPathLengthNV"); - glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles3wLoad("glPointAlongPathNV"); - - glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles3wLoad("glMatrixLoad3x2fNV"); - glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles3wLoad("glMatrixLoad3x3fNV"); - glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixLoadTranspose3x3fNV"); - glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles3wLoad("glMatrixMult3x2fNV"); - glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles3wLoad("glMatrixMult3x3fNV"); - glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixMultTranspose3x3fNV"); - glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles3wLoad("glStencilThenCoverFillPathNV"); - glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles3wLoad("glStencilThenCoverStrokePathNV"); - glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverFillPathInstancedNV"); - glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverStrokePathInstancedNV"); - glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles3wLoad("glPathGlyphIndexRangeNV"); - - glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathGlyphIndexArrayNV"); - glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathMemoryGlyphIndexArrayNV"); - glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles3wLoad("glProgramPathFragmentInputGenNV"); - glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles3wLoad("glGetProgramResourcefvNV"); - - glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles3wLoad("glMatrixFrustumEXT"); - glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles3wLoad("glMatrixLoadIdentityEXT"); - glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles3wLoad("glMatrixLoadTransposefEXT"); - glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles3wLoad("glMatrixLoadTransposedEXT"); - glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles3wLoad("glMatrixLoadfEXT"); - glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles3wLoad("glMatrixLoaddEXT"); - glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles3wLoad("glMatrixMultTransposefEXT"); - glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles3wLoad("glMatrixMultTransposedEXT"); - glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles3wLoad("glMatrixMultfEXT"); - glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles3wLoad("glMatrixMultdEXT"); - glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles3wLoad("glMatrixOrthoEXT"); - glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles3wLoad("glMatrixPopEXT"); - glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles3wLoad("glMatrixPushEXT"); - glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles3wLoad("glMatrixRotatefEXT"); - glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles3wLoad("glMatrixRotatedEXT"); - glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles3wLoad("glMatrixScalefEXT"); - glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles3wLoad("glMatrixScaledEXT"); - glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles3wLoad("glMatrixTranslatefEXT"); - glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles3wLoad("glMatrixTranslatedEXT"); -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) - glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles3wLoad("glPolygonModeNV"); -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) - glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles3wLoad("glReadBufferNV"); -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) - glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glFramebufferSampleLocationsfvNV"); - glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glNamedFramebufferSampleLocationsfvNV"); - glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles3wLoad("glResolveDepthValuesNV"); -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) - glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles3wLoad("glScissorExclusiveNV"); - glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles3wLoad("glScissorExclusiveArrayvNV"); -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) - glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles3wLoad("glBindShadingRateImageNV"); - glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glGetShadingRateImagePaletteNV"); - glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles3wLoad("glGetShadingRateSampleLocationivNV"); - glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles3wLoad("glShadingRateImageBarrierNV"); - glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glShadingRateImagePaletteNV"); - glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles3wLoad("glShadingRateSampleOrderNV"); - glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles3wLoad("glShadingRateSampleOrderCustomNV"); -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) - glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles3wLoad("glViewportArrayvNV"); - glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles3wLoad("glViewportIndexedfNV"); - glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles3wLoad("glViewportIndexedfvNV"); - glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles3wLoad("glScissorArrayvNV"); - glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles3wLoad("glScissorIndexedNV"); - glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles3wLoad("glScissorIndexedvNV"); - glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles3wLoad("glDepthRangeArrayfvNV"); - glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles3wLoad("glDepthRangeIndexedfNV"); - glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles3wLoad("glGetFloati_vNV"); - glEnableiNV = (PFNGLENABLEINVPROC)gles3wLoad("glEnableiNV"); - glDisableiNV = (PFNGLDISABLEINVPROC)gles3wLoad("glDisableiNV"); - glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles3wLoad("glIsEnablediNV"); -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) - glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles3wLoad("glViewportSwizzleNV"); -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) - glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles3wLoad("glEGLImageTargetTexture2DOES"); - glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles3wLoad("glEGLImageTargetRenderbufferStorageOES"); -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) - glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles3wLoad("glCopyImageSubDataOES"); -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) - glEnableiOES = (PFNGLENABLEIOESPROC)gles3wLoad("glEnableiOES"); - glDisableiOES = (PFNGLDISABLEIOESPROC)gles3wLoad("glDisableiOES"); - glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles3wLoad("glBlendEquationiOES"); - glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles3wLoad("glBlendEquationSeparateiOES"); - glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles3wLoad("glBlendFunciOES"); - glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles3wLoad("glBlendFuncSeparateiOES"); - glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles3wLoad("glColorMaskiOES"); - glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles3wLoad("glIsEnablediOES"); -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) - glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawElementsBaseVertexOES"); - glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawRangeElementsBaseVertexOES"); - glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles3wLoad("glDrawElementsInstancedBaseVertexOES"); -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) - glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles3wLoad("glFramebufferTextureOES"); -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) - glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles3wLoad("glGetProgramBinaryOES"); - glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles3wLoad("glProgramBinaryOES"); -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) - glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles3wLoad("glMapBufferOES"); - glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles3wLoad("glUnmapBufferOES"); - glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles3wLoad("glGetBufferPointervOES"); -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) - glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles3wLoad("glPrimitiveBoundingBoxOES"); -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) - glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles3wLoad("glMinSampleShadingOES"); -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) - glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles3wLoad("glPatchParameteriOES"); -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) - glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles3wLoad("glTexImage3DOES"); - glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles3wLoad("glTexSubImage3DOES"); - glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles3wLoad("glCopyTexSubImage3DOES"); - glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles3wLoad("glCompressedTexImage3DOES"); - glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles3wLoad("glCompressedTexSubImage3DOES"); - glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles3wLoad("glFramebufferTexture3DOES"); -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) - glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles3wLoad("glTexParameterIivOES"); - glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles3wLoad("glTexParameterIuivOES"); - glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles3wLoad("glGetTexParameterIivOES"); - glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles3wLoad("glGetTexParameterIuivOES"); - glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glSamplerParameterIivOES"); - glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glSamplerParameterIuivOES"); - glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glGetSamplerParameterIivOES"); - glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glGetSamplerParameterIuivOES"); -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) - glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles3wLoad("glTexBufferOES"); - glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles3wLoad("glTexBufferRangeOES"); -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) - glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles3wLoad("glTexStorage3DMultisampleOES"); -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) - glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles3wLoad("glTextureViewOES"); -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) - glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles3wLoad("glBindVertexArrayOES"); - glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles3wLoad("glDeleteVertexArraysOES"); - glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles3wLoad("glGenVertexArraysOES"); - glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles3wLoad("glIsVertexArrayOES"); -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) - glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles3wLoad("glViewportArrayvOES"); - glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles3wLoad("glViewportIndexedfOES"); - glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles3wLoad("glViewportIndexedfvOES"); - glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles3wLoad("glScissorArrayvOES"); - glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles3wLoad("glScissorIndexedOES"); - glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles3wLoad("glScissorIndexedvOES"); - glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles3wLoad("glDepthRangeArrayfvOES"); - glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles3wLoad("glDepthRangeIndexedfOES"); - glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles3wLoad("glGetFloati_vOES"); -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) - glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultiviewOVR"); -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) - glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultisampleMultiviewOVR"); -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) - glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles3wLoad("glAlphaFuncQCOM"); -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) - glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles3wLoad("glGetDriverControlsQCOM"); - glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles3wLoad("glGetDriverControlStringQCOM"); - glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glEnableDriverControlQCOM"); - glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glDisableDriverControlQCOM"); -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) - glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles3wLoad("glExtGetTexturesQCOM"); - glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles3wLoad("glExtGetBuffersQCOM"); - glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles3wLoad("glExtGetRenderbuffersQCOM"); - glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles3wLoad("glExtGetFramebuffersQCOM"); - glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles3wLoad("glExtGetTexLevelParameterivQCOM"); - glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles3wLoad("glExtTexObjectStateOverrideiQCOM"); - glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles3wLoad("glExtGetTexSubImageQCOM"); - glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles3wLoad("glExtGetBufferPointervQCOM"); -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) - glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles3wLoad("glExtGetShadersQCOM"); - glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles3wLoad("glExtGetProgramsQCOM"); - glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles3wLoad("glExtIsProgramBinaryQCOM"); - glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles3wLoad("glExtGetProgramBinarySourceQCOM"); -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) - glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles3wLoad("glFramebufferFoveationConfigQCOM"); - glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glFramebufferFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) - glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles3wLoad("glTexEstimateMotionQCOM"); - glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles3wLoad("glTexEstimateMotionRegionsQCOM"); -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) - glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles3wLoad("glExtrapolateTex2DQCOM"); -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) - glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glTextureFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) - glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles3wLoad("glFramebufferFetchBarrierQCOM"); -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) - glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles3wLoad("glShadingRateQCOM"); -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) - glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles3wLoad("glStartTilingQCOM"); - glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles3wLoad("glEndTilingQCOM"); -#endif /* defined(GL_QCOM_tiled_rendering) */ - - /* GLES3W_GENERATE_GLES_LOAD */ -} diff --git a/native/cocos/renderer/gfx-gles3/gles3w.h b/native/cocos/renderer/gfx-gles3/gles3w.h deleted file mode 100755 index 6b5ee9cf4b..0000000000 --- a/native/cocos/renderer/gfx-gles3/gles3w.h +++ /dev/null @@ -1,1686 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#pragma once - -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #ifdef __OBJC__ - #include - #endif -#else - #define EGL_EGL_PROTOTYPES 0 - #include - #include - #include -#endif - -#define GL_GLES_PROTOTYPES 0 -#include - -#include -#include -#include - -bool gles3wInit(); - -#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) -/* GLES3W_GENERATE_EGL_DECLARATION */ -extern PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -extern PFNEGLCHOOSECONFIGPROC eglChooseConfig; -extern PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -extern PFNEGLCREATECONTEXTPROC eglCreateContext; -extern PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -extern PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -extern PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -extern PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -extern PFNEGLDESTROYSURFACEPROC eglDestroySurface; -extern PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -extern PFNEGLGETCONFIGSPROC eglGetConfigs; -extern PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -extern PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -extern PFNEGLGETDISPLAYPROC eglGetDisplay; -extern PFNEGLGETERRORPROC eglGetError; -extern PFNEGLINITIALIZEPROC eglInitialize; -extern PFNEGLMAKECURRENTPROC eglMakeCurrent; -extern PFNEGLQUERYCONTEXTPROC eglQueryContext; -extern PFNEGLQUERYSTRINGPROC eglQueryString; -extern PFNEGLQUERYSURFACEPROC eglQuerySurface; -extern PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -extern PFNEGLTERMINATEPROC eglTerminate; -extern PFNEGLWAITGLPROC eglWaitGL; -extern PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -extern PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -extern PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -extern PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -extern PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -extern PFNEGLBINDAPIPROC eglBindAPI; -extern PFNEGLQUERYAPIPROC eglQueryAPI; -extern PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -extern PFNEGLRELEASETHREADPROC eglReleaseThread; -extern PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -extern PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -extern PFNEGLCREATESYNCPROC eglCreateSync; -extern PFNEGLDESTROYSYNCPROC eglDestroySync; -extern PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -extern PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -extern PFNEGLCREATEIMAGEPROC eglCreateImage; -extern PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -extern PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -extern PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -extern PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -extern PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -extern PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -extern PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -extern PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -extern PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -extern PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -extern PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -extern PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -extern PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -extern PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -extern PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -extern PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -extern PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -extern PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -extern PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -extern PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -extern PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -extern PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -extern PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -extern PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -extern PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -extern PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -extern PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -extern PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -extern PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -extern PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -extern PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -extern PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -extern PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -extern PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -extern PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -extern PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -extern PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -extern PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -extern PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -extern PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -extern PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -extern PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -extern PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -extern PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -extern PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -extern PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -extern PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -extern PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -extern PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -extern PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -extern PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -extern PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -extern PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -extern PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -extern PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -extern PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -extern PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -extern PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -extern PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -extern PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -extern PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -extern PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -extern PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -extern PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -extern PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -extern PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -extern PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -extern PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -extern PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -extern PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -extern PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -extern PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -extern PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -extern PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -extern PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -extern PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -extern PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -extern PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -extern PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -extern PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -extern PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -extern PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -extern PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -extern PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -extern PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -extern PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -extern PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -extern PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -extern PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -extern PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -extern PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -extern PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -extern PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -extern PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -extern PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -extern PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -extern PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -extern PFNEGLFENCENVPROC eglFenceNV; -extern PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -extern PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -extern PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -extern PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -extern PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -extern PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -extern PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -extern PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -extern PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -extern PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -extern PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -extern PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -extern PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -extern PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -extern PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -extern PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -/* GLES3W_GENERATE_EGL_DECLARATION */ -#endif - -/* GLES3W_GENERATE_GLES_DECLARATION */ -/* GL_ES_VERSION_2_0 */ -extern PFNGLACTIVETEXTUREPROC glActiveTexture; -extern PFNGLATTACHSHADERPROC glAttachShader; -extern PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -extern PFNGLBINDBUFFERPROC glBindBuffer; -extern PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -extern PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -extern PFNGLBINDTEXTUREPROC glBindTexture; -extern PFNGLBLENDCOLORPROC glBlendColor; -extern PFNGLBLENDEQUATIONPROC glBlendEquation; -extern PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -extern PFNGLBLENDFUNCPROC glBlendFunc; -extern PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -extern PFNGLBUFFERDATAPROC glBufferData; -extern PFNGLBUFFERSUBDATAPROC glBufferSubData; -extern PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -extern PFNGLCLEARPROC glClear; -extern PFNGLCLEARCOLORPROC glClearColor; -extern PFNGLCLEARDEPTHFPROC glClearDepthf; -extern PFNGLCLEARSTENCILPROC glClearStencil; -extern PFNGLCOLORMASKPROC glColorMask; -extern PFNGLCOMPILESHADERPROC glCompileShader; -extern PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -extern PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -extern PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -extern PFNGLCREATEPROGRAMPROC glCreateProgram; -extern PFNGLCREATESHADERPROC glCreateShader; -extern PFNGLCULLFACEPROC glCullFace; -extern PFNGLDELETEBUFFERSPROC glDeleteBuffers; -extern PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -extern PFNGLDELETEPROGRAMPROC glDeleteProgram; -extern PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -extern PFNGLDELETESHADERPROC glDeleteShader; -extern PFNGLDELETETEXTURESPROC glDeleteTextures; -extern PFNGLDEPTHFUNCPROC glDepthFunc; -extern PFNGLDEPTHMASKPROC glDepthMask; -extern PFNGLDEPTHRANGEFPROC glDepthRangef; -extern PFNGLDETACHSHADERPROC glDetachShader; -extern PFNGLDISABLEPROC glDisable; -extern PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -extern PFNGLDRAWARRAYSPROC glDrawArrays; -extern PFNGLDRAWELEMENTSPROC glDrawElements; -extern PFNGLENABLEPROC glEnable; -extern PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -extern PFNGLFINISHPROC glFinish; -extern PFNGLFLUSHPROC glFlush; -extern PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -extern PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -extern PFNGLFRONTFACEPROC glFrontFace; -extern PFNGLGENBUFFERSPROC glGenBuffers; -extern PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -extern PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -extern PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -extern PFNGLGENTEXTURESPROC glGenTextures; -extern PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -extern PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -extern PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -extern PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -extern PFNGLGETBOOLEANVPROC glGetBooleanv; -extern PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -extern PFNGLGETERRORPROC glGetError; -extern PFNGLGETFLOATVPROC glGetFloatv; -extern PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -extern PFNGLGETINTEGERVPROC glGetIntegerv; -extern PFNGLGETPROGRAMIVPROC glGetProgramiv; -extern PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -extern PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -extern PFNGLGETSHADERIVPROC glGetShaderiv; -extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -extern PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -extern PFNGLGETSHADERSOURCEPROC glGetShaderSource; -extern PFNGLGETSTRINGPROC glGetString; -extern PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -extern PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -extern PFNGLGETUNIFORMFVPROC glGetUniformfv; -extern PFNGLGETUNIFORMIVPROC glGetUniformiv; -extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -extern PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -extern PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -extern PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -extern PFNGLHINTPROC glHint; -extern PFNGLISBUFFERPROC glIsBuffer; -extern PFNGLISENABLEDPROC glIsEnabled; -extern PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -extern PFNGLISPROGRAMPROC glIsProgram; -extern PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -extern PFNGLISSHADERPROC glIsShader; -extern PFNGLISTEXTUREPROC glIsTexture; -extern PFNGLLINEWIDTHPROC glLineWidth; -extern PFNGLLINKPROGRAMPROC glLinkProgram; -extern PFNGLPIXELSTOREIPROC glPixelStorei; -extern PFNGLPOLYGONOFFSETPROC glPolygonOffset; -extern PFNGLREADPIXELSPROC glReadPixels; -extern PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -extern PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -extern PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -extern PFNGLSCISSORPROC glScissor; -extern PFNGLSHADERBINARYPROC glShaderBinary; -extern PFNGLSHADERSOURCEPROC glShaderSource; -extern PFNGLSTENCILFUNCPROC glStencilFunc; -extern PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -extern PFNGLSTENCILMASKPROC glStencilMask; -extern PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -extern PFNGLSTENCILOPPROC glStencilOp; -extern PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -extern PFNGLTEXIMAGE2DPROC glTexImage2D; -extern PFNGLTEXPARAMETERFPROC glTexParameterf; -extern PFNGLTEXPARAMETERFVPROC glTexParameterfv; -extern PFNGLTEXPARAMETERIPROC glTexParameteri; -extern PFNGLTEXPARAMETERIVPROC glTexParameteriv; -extern PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -extern PFNGLUNIFORM1FPROC glUniform1f; -extern PFNGLUNIFORM1FVPROC glUniform1fv; -extern PFNGLUNIFORM1IPROC glUniform1i; -extern PFNGLUNIFORM1IVPROC glUniform1iv; -extern PFNGLUNIFORM2FPROC glUniform2f; -extern PFNGLUNIFORM2FVPROC glUniform2fv; -extern PFNGLUNIFORM2IPROC glUniform2i; -extern PFNGLUNIFORM2IVPROC glUniform2iv; -extern PFNGLUNIFORM3FPROC glUniform3f; -extern PFNGLUNIFORM3FVPROC glUniform3fv; -extern PFNGLUNIFORM3IPROC glUniform3i; -extern PFNGLUNIFORM3IVPROC glUniform3iv; -extern PFNGLUNIFORM4FPROC glUniform4f; -extern PFNGLUNIFORM4FVPROC glUniform4fv; -extern PFNGLUNIFORM4IPROC glUniform4i; -extern PFNGLUNIFORM4IVPROC glUniform4iv; -extern PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -extern PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -extern PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -extern PFNGLUSEPROGRAMPROC glUseProgram; -extern PFNGLVALIDATEPROGRAMPROC glValidateProgram; -extern PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -extern PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -extern PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -extern PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -extern PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -extern PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -extern PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -extern PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -extern PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -extern PFNGLVIEWPORTPROC glViewport; - - -/* GL_ES_VERSION_3_0 */ -extern PFNGLREADBUFFERPROC glReadBuffer; -extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; -extern PFNGLTEXIMAGE3DPROC glTexImage3D; -extern PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; -extern PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; -extern PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; -extern PFNGLGENQUERIESPROC glGenQueries; -extern PFNGLDELETEQUERIESPROC glDeleteQueries; -extern PFNGLISQUERYPROC glIsQuery; -extern PFNGLBEGINQUERYPROC glBeginQuery; -extern PFNGLENDQUERYPROC glEndQuery; -extern PFNGLGETQUERYIVPROC glGetQueryiv; -extern PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; -extern PFNGLUNMAPBUFFERPROC glUnmapBuffer; -extern PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; -extern PFNGLDRAWBUFFERSPROC glDrawBuffers; -extern PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; -extern PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; -extern PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; -extern PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; -extern PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; -extern PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; -extern PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; -extern PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; -extern PFNGLMAPBUFFERRANGEPROC glMapBufferRange; -extern PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; -extern PFNGLBINDVERTEXARRAYPROC glBindVertexArray; -extern PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; -extern PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; -extern PFNGLISVERTEXARRAYPROC glIsVertexArray; -extern PFNGLGETINTEGERI_VPROC glGetIntegeri_v; -extern PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; -extern PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; -extern PFNGLBINDBUFFERRANGEPROC glBindBufferRange; -extern PFNGLBINDBUFFERBASEPROC glBindBufferBase; -extern PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; -extern PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; -extern PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; -extern PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; -extern PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; -extern PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; -extern PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; -extern PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; -extern PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; -extern PFNGLGETUNIFORMUIVPROC glGetUniformuiv; -extern PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; -extern PFNGLUNIFORM1UIPROC glUniform1ui; -extern PFNGLUNIFORM2UIPROC glUniform2ui; -extern PFNGLUNIFORM3UIPROC glUniform3ui; -extern PFNGLUNIFORM4UIPROC glUniform4ui; -extern PFNGLUNIFORM1UIVPROC glUniform1uiv; -extern PFNGLUNIFORM2UIVPROC glUniform2uiv; -extern PFNGLUNIFORM3UIVPROC glUniform3uiv; -extern PFNGLUNIFORM4UIVPROC glUniform4uiv; -extern PFNGLCLEARBUFFERIVPROC glClearBufferiv; -extern PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; -extern PFNGLCLEARBUFFERFVPROC glClearBufferfv; -extern PFNGLCLEARBUFFERFIPROC glClearBufferfi; -extern PFNGLGETSTRINGIPROC glGetStringi; -extern PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; -extern PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; -extern PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; -extern PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; -extern PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; -extern PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; -extern PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; -extern PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; -extern PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; -extern PFNGLFENCESYNCPROC glFenceSync; -extern PFNGLISSYNCPROC glIsSync; -extern PFNGLDELETESYNCPROC glDeleteSync; -extern PFNGLCLIENTWAITSYNCPROC glClientWaitSync; -extern PFNGLWAITSYNCPROC glWaitSync; -extern PFNGLGETINTEGER64VPROC glGetInteger64v; -extern PFNGLGETSYNCIVPROC glGetSynciv; -extern PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; -extern PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; -extern PFNGLGENSAMPLERSPROC glGenSamplers; -extern PFNGLDELETESAMPLERSPROC glDeleteSamplers; -extern PFNGLISSAMPLERPROC glIsSampler; -extern PFNGLBINDSAMPLERPROC glBindSampler; -extern PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; -extern PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; -extern PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; -extern PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; -extern PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; -extern PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; -extern PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; -extern PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; -extern PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; -extern PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; -extern PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; -extern PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; -extern PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; -extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; -extern PFNGLPROGRAMBINARYPROC glProgramBinary; -extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; -extern PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; -extern PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; -extern PFNGLTEXSTORAGE2DPROC glTexStorage2D; -extern PFNGLTEXSTORAGE3DPROC glTexStorage3D; -extern PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; - - -/* GL_ES_VERSION_3_1 */ -extern PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; -extern PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; - -extern PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; -extern PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; - -extern PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; -extern PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; - -extern PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; -extern PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; -extern PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; -extern PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; -extern PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; - -extern PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; -extern PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; -extern PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; -extern PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; -extern PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; -extern PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; -extern PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; -extern PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; -extern PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; -extern PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; -extern PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; -extern PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; -extern PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; -extern PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; -extern PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; -extern PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; -extern PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; -extern PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; -extern PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; -extern PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; -extern PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; -extern PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; -extern PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; -extern PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; -extern PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; -extern PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; -extern PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; -extern PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; -extern PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; -extern PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; -extern PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; -extern PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; -extern PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; -extern PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; -extern PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; -extern PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; -extern PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; -extern PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; -extern PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; -extern PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; -extern PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; -extern PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; -extern PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; - -extern PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; -extern PFNGLGETBOOLEANI_VPROC glGetBooleani_v; -extern PFNGLMEMORYBARRIERPROC glMemoryBarrier; -extern PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; - -extern PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; -extern PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; -extern PFNGLSAMPLEMASKIPROC glSampleMaski; -extern PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; -extern PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; - -extern PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; -extern PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; -extern PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; -extern PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; -extern PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; - - -/* GL_ES_VERSION_3_2 */ -extern PFNGLBLENDBARRIERPROC glBlendBarrier; - -extern PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; - -extern PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; -extern PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; -extern PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; -extern PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; -extern PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; -extern PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; -extern PFNGLOBJECTLABELPROC glObjectLabel; -extern PFNGLGETOBJECTLABELPROC glGetObjectLabel; -extern PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; -extern PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; -extern PFNGLGETPOINTERVPROC glGetPointerv; - -extern PFNGLENABLEIPROC glEnablei; -extern PFNGLDISABLEIPROC glDisablei; -extern PFNGLBLENDEQUATIONIPROC glBlendEquationi; -extern PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; -extern PFNGLBLENDFUNCIPROC glBlendFunci; -extern PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; -extern PFNGLCOLORMASKIPROC glColorMaski; -extern PFNGLISENABLEDIPROC glIsEnabledi; - -extern PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; -extern PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; - -extern PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; - -extern PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; - -extern PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; -extern PFNGLREADNPIXELSPROC glReadnPixels; -extern PFNGLGETNUNIFORMFVPROC glGetnUniformfv; -extern PFNGLGETNUNIFORMIVPROC glGetnUniformiv; -extern PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; - -extern PFNGLMINSAMPLESHADINGPROC glMinSampleShading; - -extern PFNGLPATCHPARAMETERIPROC glPatchParameteri; - -extern PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; -extern PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; -extern PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; -extern PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; -extern PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; -extern PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; -extern PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; -extern PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; - -extern PFNGLTEXBUFFERPROC glTexBuffer; -extern PFNGLTEXBUFFERRANGEPROC glTexBufferRange; - -extern PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; - - -#if defined(GL_AMD_framebuffer_multisample_advanced) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; -extern PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) -extern PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -extern PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -extern PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -extern PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -extern PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -extern PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -extern PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -extern PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -extern PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -extern PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -extern PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) -extern PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) -extern PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -extern PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -extern PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) -extern PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) -extern PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -extern PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) -extern PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -extern PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -extern PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -extern PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -extern PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -extern PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -extern PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) -extern PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; - -extern PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) -extern PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) -extern PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; -extern PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; -extern PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; -extern PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) -extern PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) -extern PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; -extern PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) -extern PFNGLCLIPCONTROLEXTPROC glClipControlEXT; -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) -extern PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) -extern PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -extern PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) -extern PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -extern PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -extern PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) -extern PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) -extern PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -extern PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -extern PFNGLISQUERYEXTPROC glIsQueryEXT; -extern PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -extern PFNGLENDQUERYEXTPROC glEndQueryEXT; -extern PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -extern PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -extern PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -extern PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -extern PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -extern PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -extern PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) -extern PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) -extern PFNGLENABLEIEXTPROC glEnableiEXT; -extern PFNGLDISABLEIEXTPROC glDisableiEXT; -extern PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; -extern PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; -extern PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; -extern PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; -extern PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; -extern PFNGLISENABLEDIEXTPROC glIsEnablediEXT; -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) -extern PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; -extern PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; -extern PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) -extern PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -extern PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) -extern PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; -extern PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) -extern PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; -extern PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) -extern PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) -extern PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) -extern PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -extern PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) -extern PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; -extern PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; -extern PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; -extern PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; -extern PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; -extern PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; -extern PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; -extern PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; -extern PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; -extern PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; -extern PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; -extern PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; - -extern PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; -extern PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; -extern PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; -extern PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; -extern PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) -extern PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) -extern PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; -extern PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) -extern PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -extern PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) -extern PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; -extern PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) -extern PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -extern PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -extern PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) -extern PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) -extern PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) -extern PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) -extern PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -extern PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -extern PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -extern PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) -extern PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; -extern PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; -extern PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; -extern PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; -extern PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; -extern PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; -extern PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) -extern PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) -extern PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; -extern PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) -extern PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -extern PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -extern PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -extern PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -extern PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -extern PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -extern PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -extern PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -extern PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -extern PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -extern PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -extern PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -extern PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -extern PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -extern PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -extern PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -extern PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -extern PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -extern PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -extern PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -extern PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -extern PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -extern PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -extern PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -extern PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -extern PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -extern PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; - -extern PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; -extern PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; -extern PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; -extern PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; -extern PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; -extern PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; -extern PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; -extern PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -extern PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) -extern PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) -extern PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; -extern PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; -extern PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) -extern PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) -extern PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) -extern PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; -extern PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; -extern PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; -extern PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; -extern PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; -extern PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; -extern PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; -extern PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) -extern PFNGLTEXBUFFEREXTPROC glTexBufferEXT; -extern PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) -extern PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -extern PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -extern PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; - -extern PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -extern PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -extern PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) -extern PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) -extern PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; -extern PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; -extern PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) -extern PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; -extern PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) -extern PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) -extern PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; -extern PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; -extern PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; -extern PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; -extern PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; -extern PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) -extern PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; -extern PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -extern PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) -extern PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) -extern PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; -extern PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; -extern PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; -extern PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; -extern PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; -extern PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; -extern PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; -extern PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; -extern PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; -extern PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) -extern PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) -extern PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -extern PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -extern PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -extern PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -extern PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -extern PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -extern PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -extern PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -extern PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -extern PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -extern PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) -extern PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; -extern PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; -extern PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; -extern PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; -extern PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) -extern PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) -extern PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; -extern PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) -extern PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; -extern PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; -extern PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; -extern PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; -extern PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; -extern PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; -extern PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; -extern PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; -extern PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; -extern PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; -extern PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; -extern PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; -extern PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) -extern PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; -extern PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) -extern PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) -extern PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; -extern PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) -extern PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) -extern PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) -extern PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) -extern PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -extern PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) -extern PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) -extern PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -extern PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) -extern PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; -extern PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; -extern PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; -extern PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; -extern PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) -extern PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -extern PFNGLGENFENCESNVPROC glGenFencesNV; -extern PFNGLISFENCENVPROC glIsFenceNV; -extern PFNGLTESTFENCENVPROC glTestFenceNV; -extern PFNGLGETFENCEIVNVPROC glGetFenceivNV; -extern PFNGLFINISHFENCENVPROC glFinishFenceNV; -extern PFNGLSETFENCENVPROC glSetFenceNV; -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) -extern PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) -extern PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) -extern PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; -extern PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; -extern PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) -extern PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) -extern PFNGLUNIFORM1I64NVPROC glUniform1i64NV; -extern PFNGLUNIFORM2I64NVPROC glUniform2i64NV; -extern PFNGLUNIFORM3I64NVPROC glUniform3i64NV; -extern PFNGLUNIFORM4I64NVPROC glUniform4i64NV; -extern PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; -extern PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; -extern PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; -extern PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; -extern PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; -extern PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; -extern PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; -extern PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; -extern PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; -extern PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; -extern PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; -extern PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; -extern PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; - -extern PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; -extern PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; -extern PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; -extern PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; -extern PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; -extern PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; -extern PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; -extern PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; -extern PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; -extern PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; -extern PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; -extern PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; -extern PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; -extern PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; -extern PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; -extern PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) -extern PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) -extern PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) -extern PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; -extern PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; -extern PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; -extern PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; - -extern PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; -extern PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) -extern PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; -extern PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; - -extern PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; -extern PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) -extern PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; -extern PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; -extern PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; -extern PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) -extern PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; -extern PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; -extern PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; -extern PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; -extern PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; -extern PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) -extern PFNGLGENPATHSNVPROC glGenPathsNV; -extern PFNGLDELETEPATHSNVPROC glDeletePathsNV; -extern PFNGLISPATHNVPROC glIsPathNV; -extern PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; -extern PFNGLPATHCOORDSNVPROC glPathCoordsNV; -extern PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; -extern PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; -extern PFNGLPATHSTRINGNVPROC glPathStringNV; -extern PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; -extern PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; -extern PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; -extern PFNGLCOPYPATHNVPROC glCopyPathNV; -extern PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; -extern PFNGLTRANSFORMPATHNVPROC glTransformPathNV; -extern PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; -extern PFNGLPATHPARAMETERINVPROC glPathParameteriNV; -extern PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; -extern PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; -extern PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; -extern PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; -extern PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; -extern PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; -extern PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; -extern PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; -extern PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; -extern PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; -extern PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; -extern PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; -extern PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; -extern PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; -extern PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; -extern PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; -extern PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; -extern PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; -extern PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; -extern PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; -extern PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; -extern PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; -extern PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; -extern PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; -extern PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; -extern PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; - -extern PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; -extern PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; -extern PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; -extern PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; -extern PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; -extern PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; -extern PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; -extern PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; -extern PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; -extern PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; -extern PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; - -extern PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; -extern PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; -extern PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; -extern PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; - -extern PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; -extern PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; -extern PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; -extern PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; -extern PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; -extern PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; -extern PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; -extern PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; -extern PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; -extern PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; -extern PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; -extern PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; -extern PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; -extern PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; -extern PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; -extern PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; -extern PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; -extern PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; -extern PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) -extern PFNGLPOLYGONMODENVPROC glPolygonModeNV; -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) -extern PFNGLREADBUFFERNVPROC glReadBufferNV; -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) -extern PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; -extern PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; -extern PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) -extern PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; -extern PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) -extern PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; -extern PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; -extern PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; -extern PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; -extern PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; -extern PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; -extern PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) -extern PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; -extern PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; -extern PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; -extern PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; -extern PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; -extern PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; -extern PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; -extern PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; -extern PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; -extern PFNGLENABLEINVPROC glEnableiNV; -extern PFNGLDISABLEINVPROC glDisableiNV; -extern PFNGLISENABLEDINVPROC glIsEnablediNV; -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) -extern PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) -extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -extern PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) -extern PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) -extern PFNGLENABLEIOESPROC glEnableiOES; -extern PFNGLDISABLEIOESPROC glDisableiOES; -extern PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; -extern PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; -extern PFNGLBLENDFUNCIOESPROC glBlendFunciOES; -extern PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; -extern PFNGLCOLORMASKIOESPROC glColorMaskiOES; -extern PFNGLISENABLEDIOESPROC glIsEnablediOES; -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) -extern PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; -extern PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; -extern PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) -extern PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) -extern PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -extern PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) -extern PFNGLMAPBUFFEROESPROC glMapBufferOES; -extern PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -extern PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) -extern PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) -extern PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) -extern PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) -extern PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -extern PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -extern PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -extern PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -extern PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -extern PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) -extern PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; -extern PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; -extern PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; -extern PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; -extern PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; -extern PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; -extern PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; -extern PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) -extern PFNGLTEXBUFFEROESPROC glTexBufferOES; -extern PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) -extern PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) -extern PFNGLTEXTUREVIEWOESPROC glTextureViewOES; -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) -extern PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -extern PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -extern PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -extern PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) -extern PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; -extern PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; -extern PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; -extern PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; -extern PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; -extern PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; -extern PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; -extern PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; -extern PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) -extern PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) -extern PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) -extern PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) -extern PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -extern PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -extern PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -extern PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) -extern PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -extern PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -extern PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -extern PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -extern PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -extern PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -extern PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -extern PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) -extern PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -extern PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -extern PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -extern PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) -extern PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; -extern PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) -extern PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; -extern PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) -extern PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) -extern PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) -extern PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) -extern PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) -extern PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -extern PFNGLENDTILINGQCOMPROC glEndTilingQCOM; -#endif /* defined(GL_QCOM_tiled_rendering) */ - -/* GLES3W_GENERATE_GLES_DECLARATION */ diff --git a/native/cocos/renderer/gfx-gles3/gles3w.mm b/native/cocos/renderer/gfx-gles3/gles3w.mm deleted file mode 100755 index 30910def0a..0000000000 --- a/native/cocos/renderer/gfx-gles3/gles3w.mm +++ /dev/null @@ -1,3394 +0,0 @@ -/**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - -http://www.cocos2d-x.org - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -****************************************************************************/ -#include "gles3w.h" - -#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - #import - #import - #import - #import - #import - #import - -static CFBundleRef g_es3Bundle; -static CFURLRef g_es3BundleURL; - -static int gles3wOpen() { - #if TARGET_IPHONE_SIMULATOR - CFStringRef frameworkPath = CFSTR("/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/OpenGLES.framework"); - #else - CFStringRef frameworkPath = CFSTR("/System/Library/Frameworks/OpenGLES.framework"); - #endif - - g_es3BundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, - frameworkPath, - kCFURLPOSIXPathStyle, true); - - CFRelease(frameworkPath); - - g_es3Bundle = CFBundleCreate(kCFAllocatorDefault, g_es3BundleURL); - - return (g_es3Bundle != NULL); -} - -static void *gles3wLoad(const char *proc) { - void *res; - - CFStringRef procname = CFStringCreateWithCString(kCFAllocatorDefault, proc, - kCFStringEncodingASCII); - res = CFBundleGetFunctionPointerForName(g_es3Bundle, procname); - CFRelease(procname); - return res; -} -#else - #include - #include - #include - #import - #import - -static void *libegl; -static void *libgl; - -static int gles3wOpen() { - NSURL *appURL = [[NSBundle mainBundle] bundleURL]; - - std::string libPath(appURL.resourceSpecifier.UTF8String); - libPath.append("/Contents/Frameworks/libEGL.dylib"); - libegl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); - if (!libegl) printf("%s\n", dlerror()); - - libPath = appURL.resourceSpecifier.UTF8String; - libPath.append("/Contents/Frameworks/libGLESv2.dylib"); - libgl = dlopen(libPath.c_str(), RTLD_LOCAL | RTLD_LAZY); - if (!libgl) printf("%s\n", dlerror()); - - return (libegl && libgl); -} - -static void *gles3wLoad(const char *proc) { - void *res = nullptr; - if (eglGetProcAddress) res = (void *)eglGetProcAddress(proc); - if (!res) res = (void *)dlsym(libegl, proc); - return res; -} -#endif - -static void gles3wLoadProcs(); - -bool gles3wInit() { - if (!gles3wOpen()) { - return false; - } - - gles3wLoadProcs(); - - return true; -} - -#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) -/* GLES3W_GENERATE_EGL_DEFINITION */ -PFNEGLGETPROCADDRESSPROC eglGetProcAddress; - -/* EGL_VERSION_1_0 */ -PFNEGLCHOOSECONFIGPROC eglChooseConfig; -PFNEGLCOPYBUFFERSPROC eglCopyBuffers; -PFNEGLCREATECONTEXTPROC eglCreateContext; -PFNEGLCREATEPBUFFERSURFACEPROC eglCreatePbufferSurface; -PFNEGLCREATEPIXMAPSURFACEPROC eglCreatePixmapSurface; -PFNEGLCREATEWINDOWSURFACEPROC eglCreateWindowSurface; -PFNEGLDESTROYCONTEXTPROC eglDestroyContext; -PFNEGLDESTROYSURFACEPROC eglDestroySurface; -PFNEGLGETCONFIGATTRIBPROC eglGetConfigAttrib; -PFNEGLGETCONFIGSPROC eglGetConfigs; -PFNEGLGETCURRENTDISPLAYPROC eglGetCurrentDisplay; -PFNEGLGETCURRENTSURFACEPROC eglGetCurrentSurface; -PFNEGLGETDISPLAYPROC eglGetDisplay; -PFNEGLGETERRORPROC eglGetError; -PFNEGLINITIALIZEPROC eglInitialize; -PFNEGLMAKECURRENTPROC eglMakeCurrent; -PFNEGLQUERYCONTEXTPROC eglQueryContext; -PFNEGLQUERYSTRINGPROC eglQueryString; -PFNEGLQUERYSURFACEPROC eglQuerySurface; -PFNEGLSWAPBUFFERSPROC eglSwapBuffers; -PFNEGLTERMINATEPROC eglTerminate; -PFNEGLWAITGLPROC eglWaitGL; -PFNEGLWAITNATIVEPROC eglWaitNative; - - -/* EGL_VERSION_1_1 */ -PFNEGLBINDTEXIMAGEPROC eglBindTexImage; -PFNEGLRELEASETEXIMAGEPROC eglReleaseTexImage; -PFNEGLSURFACEATTRIBPROC eglSurfaceAttrib; -PFNEGLSWAPINTERVALPROC eglSwapInterval; - - -/* EGL_VERSION_1_2 */ -PFNEGLBINDAPIPROC eglBindAPI; -PFNEGLQUERYAPIPROC eglQueryAPI; -PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC eglCreatePbufferFromClientBuffer; -PFNEGLRELEASETHREADPROC eglReleaseThread; -PFNEGLWAITCLIENTPROC eglWaitClient; - - -/* EGL_VERSION_1_3 */ - -/* EGL_VERSION_1_4 */ -PFNEGLGETCURRENTCONTEXTPROC eglGetCurrentContext; - - -/* EGL_VERSION_1_5 */ -PFNEGLCREATESYNCPROC eglCreateSync; -PFNEGLDESTROYSYNCPROC eglDestroySync; -PFNEGLCLIENTWAITSYNCPROC eglClientWaitSync; -PFNEGLGETSYNCATTRIBPROC eglGetSyncAttrib; - -PFNEGLCREATEIMAGEPROC eglCreateImage; -PFNEGLDESTROYIMAGEPROC eglDestroyImage; - -PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplay; -PFNEGLCREATEPLATFORMWINDOWSURFACEPROC eglCreatePlatformWindowSurface; -PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC eglCreatePlatformPixmapSurface; - -PFNEGLWAITSYNCPROC eglWaitSync; - - -#if defined(EGL_ANDROID_blob_cache) -PFNEGLSETBLOBCACHEFUNCSANDROIDPROC eglSetBlobCacheFuncsANDROID; -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) -PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC eglCreateNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) -PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC eglGetNativeClientBufferANDROID; -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) -PFNEGLDUPNATIVEFENCEFDANDROIDPROC eglDupNativeFenceFDANDROID; -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) -PFNEGLPRESENTATIONTIMEANDROIDPROC eglPresentationTimeANDROID; -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) -PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC eglGetCompositorTimingSupportedANDROID; -PFNEGLGETCOMPOSITORTIMINGANDROIDPROC eglGetCompositorTimingANDROID; -PFNEGLGETNEXTFRAMEIDANDROIDPROC eglGetNextFrameIdANDROID; -PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC eglGetFrameTimestampSupportedANDROID; -PFNEGLGETFRAMETIMESTAMPSANDROIDPROC eglGetFrameTimestampsANDROID; -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) -PFNEGLQUERYSURFACEPOINTERANGLEPROC eglQuerySurfacePointerANGLE; -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) -PFNEGLCLIENTSIGNALSYNCEXTPROC eglClientSignalSyncEXT; -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) -PFNEGLQUERYDEVICEATTRIBEXTPROC eglQueryDeviceAttribEXT; -PFNEGLQUERYDEVICESTRINGEXTPROC eglQueryDeviceStringEXT; -PFNEGLQUERYDEVICESEXTPROC eglQueryDevicesEXT; -PFNEGLQUERYDISPLAYATTRIBEXTPROC eglQueryDisplayAttribEXT; -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) -PFNEGLQUERYDMABUFFORMATSEXTPROC eglQueryDmaBufFormatsEXT; -PFNEGLQUERYDMABUFMODIFIERSEXTPROC eglQueryDmaBufModifiersEXT; -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) -PFNEGLGETOUTPUTLAYERSEXTPROC eglGetOutputLayersEXT; -PFNEGLGETOUTPUTPORTSEXTPROC eglGetOutputPortsEXT; -PFNEGLOUTPUTLAYERATTRIBEXTPROC eglOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC eglQueryOutputLayerAttribEXT; -PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC eglQueryOutputLayerStringEXT; -PFNEGLOUTPUTPORTATTRIBEXTPROC eglOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC eglQueryOutputPortAttribEXT; -PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC eglQueryOutputPortStringEXT; -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) -PFNEGLGETPLATFORMDISPLAYEXTPROC eglGetPlatformDisplayEXT; -PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; -PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC eglCreatePlatformPixmapSurfaceEXT; -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) -PFNEGLSTREAMCONSUMEROUTPUTEXTPROC eglStreamConsumerOutputEXT; -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC eglSwapBuffersWithDamageEXT; -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) -PFNEGLUNSIGNALSYNCEXTPROC eglUnsignalSyncEXT; -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) -PFNEGLCREATEPIXMAPSURFACEHIPROC eglCreatePixmapSurfaceHI; -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) -PFNEGLCREATESYNC64KHRPROC eglCreateSync64KHR; -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) -PFNEGLDEBUGMESSAGECONTROLKHRPROC eglDebugMessageControlKHR; -PFNEGLQUERYDEBUGKHRPROC eglQueryDebugKHR; -PFNEGLLABELOBJECTKHRPROC eglLabelObjectKHR; -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) -PFNEGLQUERYDISPLAYATTRIBKHRPROC eglQueryDisplayAttribKHR; -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) -PFNEGLCREATESYNCKHRPROC eglCreateSyncKHR; -PFNEGLDESTROYSYNCKHRPROC eglDestroySyncKHR; -PFNEGLCLIENTWAITSYNCKHRPROC eglClientWaitSyncKHR; -PFNEGLGETSYNCATTRIBKHRPROC eglGetSyncAttribKHR; -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) -PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; -PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) -PFNEGLLOCKSURFACEKHRPROC eglLockSurfaceKHR; -PFNEGLUNLOCKSURFACEKHRPROC eglUnlockSurfaceKHR; -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) -PFNEGLQUERYSURFACE64KHRPROC eglQuerySurface64KHR; -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) -PFNEGLSETDAMAGEREGIONKHRPROC eglSetDamageRegionKHR; -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) -PFNEGLSIGNALSYNCKHRPROC eglSignalSyncKHR; -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) -PFNEGLCREATESTREAMKHRPROC eglCreateStreamKHR; -PFNEGLDESTROYSTREAMKHRPROC eglDestroyStreamKHR; -PFNEGLSTREAMATTRIBKHRPROC eglStreamAttribKHR; -PFNEGLQUERYSTREAMKHRPROC eglQueryStreamKHR; -PFNEGLQUERYSTREAMU64KHRPROC eglQueryStreamu64KHR; -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) -PFNEGLCREATESTREAMATTRIBKHRPROC eglCreateStreamAttribKHR; -PFNEGLSETSTREAMATTRIBKHRPROC eglSetStreamAttribKHR; -PFNEGLQUERYSTREAMATTRIBKHRPROC eglQueryStreamAttribKHR; -PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC eglStreamConsumerAcquireAttribKHR; -PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC eglStreamConsumerReleaseAttribKHR; -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC eglStreamConsumerGLTextureExternalKHR; -PFNEGLSTREAMCONSUMERACQUIREKHRPROC eglStreamConsumerAcquireKHR; -PFNEGLSTREAMCONSUMERRELEASEKHRPROC eglStreamConsumerReleaseKHR; -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) -PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC eglGetStreamFileDescriptorKHR; -PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC eglCreateStreamFromFileDescriptorKHR; -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) -PFNEGLQUERYSTREAMTIMEKHRPROC eglQueryStreamTimeKHR; -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) -PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC eglCreateStreamProducerSurfaceKHR; -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) -PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC eglSwapBuffersWithDamageKHR; -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) -PFNEGLWAITSYNCKHRPROC eglWaitSyncKHR; -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) -PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA; -PFNEGLEXPORTDRMIMAGEMESAPROC eglExportDRMImageMESA; -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) -PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA; -PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA; -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) -PFNEGLGETDISPLAYDRIVERCONFIGPROC eglGetDisplayDriverConfig; -PFNEGLGETDISPLAYDRIVERNAMEPROC eglGetDisplayDriverName; -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) -PFNEGLSWAPBUFFERSREGIONNOKPROC eglSwapBuffersRegionNOK; -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) -PFNEGLSWAPBUFFERSREGION2NOKPROC eglSwapBuffersRegion2NOK; -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) -PFNEGLQUERYNATIVEDISPLAYNVPROC eglQueryNativeDisplayNV; -PFNEGLQUERYNATIVEWINDOWNVPROC eglQueryNativeWindowNV; -PFNEGLQUERYNATIVEPIXMAPNVPROC eglQueryNativePixmapNV; -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) -PFNEGLPOSTSUBBUFFERNVPROC eglPostSubBufferNV; -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) -PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC eglStreamConsumerGLTextureExternalAttribsNV; -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) -PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC eglStreamImageConsumerConnectNV; -PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC eglQueryStreamConsumerEventNV; -PFNEGLSTREAMACQUIREIMAGENVPROC eglStreamAcquireImageNV; -PFNEGLSTREAMRELEASEIMAGENVPROC eglStreamReleaseImageNV; -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) -PFNEGLSTREAMFLUSHNVPROC eglStreamFlushNV; -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) -PFNEGLQUERYDISPLAYATTRIBNVPROC eglQueryDisplayAttribNV; -PFNEGLSETSTREAMMETADATANVPROC eglSetStreamMetadataNV; -PFNEGLQUERYSTREAMMETADATANVPROC eglQueryStreamMetadataNV; -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) -PFNEGLRESETSTREAMNVPROC eglResetStreamNV; -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) -PFNEGLCREATESTREAMSYNCNVPROC eglCreateStreamSyncNV; -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) -PFNEGLCREATEFENCESYNCNVPROC eglCreateFenceSyncNV; -PFNEGLDESTROYSYNCNVPROC eglDestroySyncNV; -PFNEGLFENCENVPROC eglFenceNV; -PFNEGLCLIENTWAITSYNCNVPROC eglClientWaitSyncNV; -PFNEGLSIGNALSYNCNVPROC eglSignalSyncNV; -PFNEGLGETSYNCATTRIBNVPROC eglGetSyncAttribNV; -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) -PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC eglGetSystemTimeFrequencyNV; -PFNEGLGETSYSTEMTIMENVPROC eglGetSystemTimeNV; -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) -PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC eglCompositorSetContextListEXT; -PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC eglCompositorSetContextAttributesEXT; -PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC eglCompositorSetWindowListEXT; -PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC eglCompositorSetWindowAttributesEXT; -PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC eglCompositorBindTexWindowEXT; -PFNEGLCOMPOSITORSETSIZEEXTPROC eglCompositorSetSizeEXT; -PFNEGLCOMPOSITORSWAPPOLICYEXTPROC eglCompositorSwapPolicyEXT; -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) -PFNEGLBINDWAYLANDDISPLAYWLPROC eglBindWaylandDisplayWL; -PFNEGLUNBINDWAYLANDDISPLAYWLPROC eglUnbindWaylandDisplayWL; -PFNEGLQUERYWAYLANDBUFFERWLPROC eglQueryWaylandBufferWL; -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) -PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC eglCreateWaylandBufferFromImageWL; -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - -/* GLES3W_GENERATE_EGL_DEFINITION */ -#endif - -/* GLES3W_GENERATE_GLES_DEFINITION */ -/* GL_ES_VERSION_2_0 */ -PFNGLACTIVETEXTUREPROC glActiveTexture; -PFNGLATTACHSHADERPROC glAttachShader; -PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation; -PFNGLBINDBUFFERPROC glBindBuffer; -PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; -PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; -PFNGLBINDTEXTUREPROC glBindTexture; -PFNGLBLENDCOLORPROC glBlendColor; -PFNGLBLENDEQUATIONPROC glBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate; -PFNGLBLENDFUNCPROC glBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate; -PFNGLBUFFERDATAPROC glBufferData; -PFNGLBUFFERSUBDATAPROC glBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; -PFNGLCLEARPROC glClear; -PFNGLCLEARCOLORPROC glClearColor; -PFNGLCLEARDEPTHFPROC glClearDepthf; -PFNGLCLEARSTENCILPROC glClearStencil; -PFNGLCOLORMASKPROC glColorMask; -PFNGLCOMPILESHADERPROC glCompileShader; -PFNGLCOMPRESSEDTEXIMAGE2DPROC glCompressedTexImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glCompressedTexSubImage2D; -PFNGLCOPYTEXIMAGE2DPROC glCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE2DPROC glCopyTexSubImage2D; -PFNGLCREATEPROGRAMPROC glCreateProgram; -PFNGLCREATESHADERPROC glCreateShader; -PFNGLCULLFACEPROC glCullFace; -PFNGLDELETEBUFFERSPROC glDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC glDeleteProgram; -PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; -PFNGLDELETESHADERPROC glDeleteShader; -PFNGLDELETETEXTURESPROC glDeleteTextures; -PFNGLDEPTHFUNCPROC glDepthFunc; -PFNGLDEPTHMASKPROC glDepthMask; -PFNGLDEPTHRANGEFPROC glDepthRangef; -PFNGLDETACHSHADERPROC glDetachShader; -PFNGLDISABLEPROC glDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray; -PFNGLDRAWARRAYSPROC glDrawArrays; -PFNGLDRAWELEMENTSPROC glDrawElements; -PFNGLENABLEPROC glEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray; -PFNGLFINISHPROC glFinish; -PFNGLFLUSHPROC glFlush; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; -PFNGLFRONTFACEPROC glFrontFace; -PFNGLGENBUFFERSPROC glGenBuffers; -PFNGLGENERATEMIPMAPPROC glGenerateMipmap; -PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; -PFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; -PFNGLGENTEXTURESPROC glGenTextures; -PFNGLGETACTIVEATTRIBPROC glGetActiveAttrib; -PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform; -PFNGLGETATTACHEDSHADERSPROC glGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation; -PFNGLGETBOOLEANVPROC glGetBooleanv; -PFNGLGETBUFFERPARAMETERIVPROC glGetBufferParameteriv; -PFNGLGETERRORPROC glGetError; -PFNGLGETFLOATVPROC glGetFloatv; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; -PFNGLGETINTEGERVPROC glGetIntegerv; -PFNGLGETPROGRAMIVPROC glGetProgramiv; -PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; -PFNGLGETSHADERIVPROC glGetShaderiv; -PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC glGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC glGetShaderSource; -PFNGLGETSTRINGPROC glGetString; -PFNGLGETTEXPARAMETERFVPROC glGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC glGetTexParameteriv; -PFNGLGETUNIFORMFVPROC glGetUniformfv; -PFNGLGETUNIFORMIVPROC glGetUniformiv; -PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation; -PFNGLGETVERTEXATTRIBFVPROC glGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC glGetVertexAttribiv; -PFNGLGETVERTEXATTRIBPOINTERVPROC glGetVertexAttribPointerv; -PFNGLHINTPROC glHint; -PFNGLISBUFFERPROC glIsBuffer; -PFNGLISENABLEDPROC glIsEnabled; -PFNGLISFRAMEBUFFERPROC glIsFramebuffer; -PFNGLISPROGRAMPROC glIsProgram; -PFNGLISRENDERBUFFERPROC glIsRenderbuffer; -PFNGLISSHADERPROC glIsShader; -PFNGLISTEXTUREPROC glIsTexture; -PFNGLLINEWIDTHPROC glLineWidth; -PFNGLLINKPROGRAMPROC glLinkProgram; -PFNGLPIXELSTOREIPROC glPixelStorei; -PFNGLPOLYGONOFFSETPROC glPolygonOffset; -PFNGLREADPIXELSPROC glReadPixels; -PFNGLRELEASESHADERCOMPILERPROC glReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; -PFNGLSAMPLECOVERAGEPROC glSampleCoverage; -PFNGLSCISSORPROC glScissor; -PFNGLSHADERBINARYPROC glShaderBinary; -PFNGLSHADERSOURCEPROC glShaderSource; -PFNGLSTENCILFUNCPROC glStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate; -PFNGLSTENCILMASKPROC glStencilMask; -PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate; -PFNGLSTENCILOPPROC glStencilOp; -PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate; -PFNGLTEXIMAGE2DPROC glTexImage2D; -PFNGLTEXPARAMETERFPROC glTexParameterf; -PFNGLTEXPARAMETERFVPROC glTexParameterfv; -PFNGLTEXPARAMETERIPROC glTexParameteri; -PFNGLTEXPARAMETERIVPROC glTexParameteriv; -PFNGLTEXSUBIMAGE2DPROC glTexSubImage2D; -PFNGLUNIFORM1FPROC glUniform1f; -PFNGLUNIFORM1FVPROC glUniform1fv; -PFNGLUNIFORM1IPROC glUniform1i; -PFNGLUNIFORM1IVPROC glUniform1iv; -PFNGLUNIFORM2FPROC glUniform2f; -PFNGLUNIFORM2FVPROC glUniform2fv; -PFNGLUNIFORM2IPROC glUniform2i; -PFNGLUNIFORM2IVPROC glUniform2iv; -PFNGLUNIFORM3FPROC glUniform3f; -PFNGLUNIFORM3FVPROC glUniform3fv; -PFNGLUNIFORM3IPROC glUniform3i; -PFNGLUNIFORM3IVPROC glUniform3iv; -PFNGLUNIFORM4FPROC glUniform4f; -PFNGLUNIFORM4FVPROC glUniform4fv; -PFNGLUNIFORM4IPROC glUniform4i; -PFNGLUNIFORM4IVPROC glUniform4iv; -PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv; -PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv; -PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv; -PFNGLUSEPROGRAMPROC glUseProgram; -PFNGLVALIDATEPROGRAMPROC glValidateProgram; -PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv; -PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv; -PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv; -PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv; -PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer; -PFNGLVIEWPORTPROC glViewport; - - -/* GL_ES_VERSION_3_0 */ -PFNGLREADBUFFERPROC glReadBuffer; -PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; -PFNGLTEXIMAGE3DPROC glTexImage3D; -PFNGLTEXSUBIMAGE3DPROC glTexSubImage3D; -PFNGLCOPYTEXSUBIMAGE3DPROC glCopyTexSubImage3D; -PFNGLCOMPRESSEDTEXIMAGE3DPROC glCompressedTexImage3D; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glCompressedTexSubImage3D; -PFNGLGENQUERIESPROC glGenQueries; -PFNGLDELETEQUERIESPROC glDeleteQueries; -PFNGLISQUERYPROC glIsQuery; -PFNGLBEGINQUERYPROC glBeginQuery; -PFNGLENDQUERYPROC glEndQuery; -PFNGLGETQUERYIVPROC glGetQueryiv; -PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv; -PFNGLUNMAPBUFFERPROC glUnmapBuffer; -PFNGLGETBUFFERPOINTERVPROC glGetBufferPointerv; -PFNGLDRAWBUFFERSPROC glDrawBuffers; -PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv; -PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv; -PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv; -PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv; -PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv; -PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv; -PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; -PFNGLFRAMEBUFFERTEXTURELAYERPROC glFramebufferTextureLayer; -PFNGLMAPBUFFERRANGEPROC glMapBufferRange; -PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange; -PFNGLBINDVERTEXARRAYPROC glBindVertexArray; -PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays; -PFNGLGENVERTEXARRAYSPROC glGenVertexArrays; -PFNGLISVERTEXARRAYPROC glIsVertexArray; -PFNGLGETINTEGERI_VPROC glGetIntegeri_v; -PFNGLBEGINTRANSFORMFEEDBACKPROC glBeginTransformFeedback; -PFNGLENDTRANSFORMFEEDBACKPROC glEndTransformFeedback; -PFNGLBINDBUFFERRANGEPROC glBindBufferRange; -PFNGLBINDBUFFERBASEPROC glBindBufferBase; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC glTransformFeedbackVaryings; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glGetTransformFeedbackVarying; -PFNGLVERTEXATTRIBIPOINTERPROC glVertexAttribIPointer; -PFNGLGETVERTEXATTRIBIIVPROC glGetVertexAttribIiv; -PFNGLGETVERTEXATTRIBIUIVPROC glGetVertexAttribIuiv; -PFNGLVERTEXATTRIBI4IPROC glVertexAttribI4i; -PFNGLVERTEXATTRIBI4UIPROC glVertexAttribI4ui; -PFNGLVERTEXATTRIBI4IVPROC glVertexAttribI4iv; -PFNGLVERTEXATTRIBI4UIVPROC glVertexAttribI4uiv; -PFNGLGETUNIFORMUIVPROC glGetUniformuiv; -PFNGLGETFRAGDATALOCATIONPROC glGetFragDataLocation; -PFNGLUNIFORM1UIPROC glUniform1ui; -PFNGLUNIFORM2UIPROC glUniform2ui; -PFNGLUNIFORM3UIPROC glUniform3ui; -PFNGLUNIFORM4UIPROC glUniform4ui; -PFNGLUNIFORM1UIVPROC glUniform1uiv; -PFNGLUNIFORM2UIVPROC glUniform2uiv; -PFNGLUNIFORM3UIVPROC glUniform3uiv; -PFNGLUNIFORM4UIVPROC glUniform4uiv; -PFNGLCLEARBUFFERIVPROC glClearBufferiv; -PFNGLCLEARBUFFERUIVPROC glClearBufferuiv; -PFNGLCLEARBUFFERFVPROC glClearBufferfv; -PFNGLCLEARBUFFERFIPROC glClearBufferfi; -PFNGLGETSTRINGIPROC glGetStringi; -PFNGLCOPYBUFFERSUBDATAPROC glCopyBufferSubData; -PFNGLGETUNIFORMINDICESPROC glGetUniformIndices; -PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv; -PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv; -PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glGetActiveUniformBlockName; -PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding; -PFNGLDRAWARRAYSINSTANCEDPROC glDrawArraysInstanced; -PFNGLDRAWELEMENTSINSTANCEDPROC glDrawElementsInstanced; -PFNGLFENCESYNCPROC glFenceSync; -PFNGLISSYNCPROC glIsSync; -PFNGLDELETESYNCPROC glDeleteSync; -PFNGLCLIENTWAITSYNCPROC glClientWaitSync; -PFNGLWAITSYNCPROC glWaitSync; -PFNGLGETINTEGER64VPROC glGetInteger64v; -PFNGLGETSYNCIVPROC glGetSynciv; -PFNGLGETINTEGER64I_VPROC glGetInteger64i_v; -PFNGLGETBUFFERPARAMETERI64VPROC glGetBufferParameteri64v; -PFNGLGENSAMPLERSPROC glGenSamplers; -PFNGLDELETESAMPLERSPROC glDeleteSamplers; -PFNGLISSAMPLERPROC glIsSampler; -PFNGLBINDSAMPLERPROC glBindSampler; -PFNGLSAMPLERPARAMETERIPROC glSamplerParameteri; -PFNGLSAMPLERPARAMETERIVPROC glSamplerParameteriv; -PFNGLSAMPLERPARAMETERFPROC glSamplerParameterf; -PFNGLSAMPLERPARAMETERFVPROC glSamplerParameterfv; -PFNGLGETSAMPLERPARAMETERIVPROC glGetSamplerParameteriv; -PFNGLGETSAMPLERPARAMETERFVPROC glGetSamplerParameterfv; -PFNGLVERTEXATTRIBDIVISORPROC glVertexAttribDivisor; -PFNGLBINDTRANSFORMFEEDBACKPROC glBindTransformFeedback; -PFNGLDELETETRANSFORMFEEDBACKSPROC glDeleteTransformFeedbacks; -PFNGLGENTRANSFORMFEEDBACKSPROC glGenTransformFeedbacks; -PFNGLISTRANSFORMFEEDBACKPROC glIsTransformFeedback; -PFNGLPAUSETRANSFORMFEEDBACKPROC glPauseTransformFeedback; -PFNGLRESUMETRANSFORMFEEDBACKPROC glResumeTransformFeedback; -PFNGLGETPROGRAMBINARYPROC glGetProgramBinary; -PFNGLPROGRAMBINARYPROC glProgramBinary; -PFNGLPROGRAMPARAMETERIPROC glProgramParameteri; -PFNGLINVALIDATEFRAMEBUFFERPROC glInvalidateFramebuffer; -PFNGLINVALIDATESUBFRAMEBUFFERPROC glInvalidateSubFramebuffer; -PFNGLTEXSTORAGE2DPROC glTexStorage2D; -PFNGLTEXSTORAGE3DPROC glTexStorage3D; -PFNGLGETINTERNALFORMATIVPROC glGetInternalformativ; - - -/* GL_ES_VERSION_3_1 */ -PFNGLDISPATCHCOMPUTEPROC glDispatchCompute; -PFNGLDISPATCHCOMPUTEINDIRECTPROC glDispatchComputeIndirect; - -PFNGLDRAWARRAYSINDIRECTPROC glDrawArraysIndirect; -PFNGLDRAWELEMENTSINDIRECTPROC glDrawElementsIndirect; - -PFNGLFRAMEBUFFERPARAMETERIPROC glFramebufferParameteri; -PFNGLGETFRAMEBUFFERPARAMETERIVPROC glGetFramebufferParameteriv; - -PFNGLGETPROGRAMINTERFACEIVPROC glGetProgramInterfaceiv; -PFNGLGETPROGRAMRESOURCEINDEXPROC glGetProgramResourceIndex; -PFNGLGETPROGRAMRESOURCENAMEPROC glGetProgramResourceName; -PFNGLGETPROGRAMRESOURCEIVPROC glGetProgramResourceiv; -PFNGLGETPROGRAMRESOURCELOCATIONPROC glGetProgramResourceLocation; - -PFNGLUSEPROGRAMSTAGESPROC glUseProgramStages; -PFNGLACTIVESHADERPROGRAMPROC glActiveShaderProgram; -PFNGLCREATESHADERPROGRAMVPROC glCreateShaderProgramv; -PFNGLBINDPROGRAMPIPELINEPROC glBindProgramPipeline; -PFNGLDELETEPROGRAMPIPELINESPROC glDeleteProgramPipelines; -PFNGLGENPROGRAMPIPELINESPROC glGenProgramPipelines; -PFNGLISPROGRAMPIPELINEPROC glIsProgramPipeline; -PFNGLGETPROGRAMPIPELINEIVPROC glGetProgramPipelineiv; -PFNGLPROGRAMUNIFORM1IPROC glProgramUniform1i; -PFNGLPROGRAMUNIFORM2IPROC glProgramUniform2i; -PFNGLPROGRAMUNIFORM3IPROC glProgramUniform3i; -PFNGLPROGRAMUNIFORM4IPROC glProgramUniform4i; -PFNGLPROGRAMUNIFORM1UIPROC glProgramUniform1ui; -PFNGLPROGRAMUNIFORM2UIPROC glProgramUniform2ui; -PFNGLPROGRAMUNIFORM3UIPROC glProgramUniform3ui; -PFNGLPROGRAMUNIFORM4UIPROC glProgramUniform4ui; -PFNGLPROGRAMUNIFORM1FPROC glProgramUniform1f; -PFNGLPROGRAMUNIFORM2FPROC glProgramUniform2f; -PFNGLPROGRAMUNIFORM3FPROC glProgramUniform3f; -PFNGLPROGRAMUNIFORM4FPROC glProgramUniform4f; -PFNGLPROGRAMUNIFORM1IVPROC glProgramUniform1iv; -PFNGLPROGRAMUNIFORM2IVPROC glProgramUniform2iv; -PFNGLPROGRAMUNIFORM3IVPROC glProgramUniform3iv; -PFNGLPROGRAMUNIFORM4IVPROC glProgramUniform4iv; -PFNGLPROGRAMUNIFORM1UIVPROC glProgramUniform1uiv; -PFNGLPROGRAMUNIFORM2UIVPROC glProgramUniform2uiv; -PFNGLPROGRAMUNIFORM3UIVPROC glProgramUniform3uiv; -PFNGLPROGRAMUNIFORM4UIVPROC glProgramUniform4uiv; -PFNGLPROGRAMUNIFORM1FVPROC glProgramUniform1fv; -PFNGLPROGRAMUNIFORM2FVPROC glProgramUniform2fv; -PFNGLPROGRAMUNIFORM3FVPROC glProgramUniform3fv; -PFNGLPROGRAMUNIFORM4FVPROC glProgramUniform4fv; -PFNGLPROGRAMUNIFORMMATRIX2FVPROC glProgramUniformMatrix2fv; -PFNGLPROGRAMUNIFORMMATRIX3FVPROC glProgramUniformMatrix3fv; -PFNGLPROGRAMUNIFORMMATRIX4FVPROC glProgramUniformMatrix4fv; -PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC glProgramUniformMatrix2x3fv; -PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC glProgramUniformMatrix3x2fv; -PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC glProgramUniformMatrix2x4fv; -PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC glProgramUniformMatrix4x2fv; -PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC glProgramUniformMatrix3x4fv; -PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glProgramUniformMatrix4x3fv; -PFNGLVALIDATEPROGRAMPIPELINEPROC glValidateProgramPipeline; -PFNGLGETPROGRAMPIPELINEINFOLOGPROC glGetProgramPipelineInfoLog; - -PFNGLBINDIMAGETEXTUREPROC glBindImageTexture; -PFNGLGETBOOLEANI_VPROC glGetBooleani_v; -PFNGLMEMORYBARRIERPROC glMemoryBarrier; -PFNGLMEMORYBARRIERBYREGIONPROC glMemoryBarrierByRegion; - -PFNGLTEXSTORAGE2DMULTISAMPLEPROC glTexStorage2DMultisample; -PFNGLGETMULTISAMPLEFVPROC glGetMultisamplefv; -PFNGLSAMPLEMASKIPROC glSampleMaski; -PFNGLGETTEXLEVELPARAMETERIVPROC glGetTexLevelParameteriv; -PFNGLGETTEXLEVELPARAMETERFVPROC glGetTexLevelParameterfv; - -PFNGLBINDVERTEXBUFFERPROC glBindVertexBuffer; -PFNGLVERTEXATTRIBFORMATPROC glVertexAttribFormat; -PFNGLVERTEXATTRIBIFORMATPROC glVertexAttribIFormat; -PFNGLVERTEXATTRIBBINDINGPROC glVertexAttribBinding; -PFNGLVERTEXBINDINGDIVISORPROC glVertexBindingDivisor; - - -/* GL_ES_VERSION_3_2 */ -PFNGLBLENDBARRIERPROC glBlendBarrier; - -PFNGLCOPYIMAGESUBDATAPROC glCopyImageSubData; - -PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl; -PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert; -PFNGLDEBUGMESSAGECALLBACKPROC glDebugMessageCallback; -PFNGLGETDEBUGMESSAGELOGPROC glGetDebugMessageLog; -PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup; -PFNGLPOPDEBUGGROUPPROC glPopDebugGroup; -PFNGLOBJECTLABELPROC glObjectLabel; -PFNGLGETOBJECTLABELPROC glGetObjectLabel; -PFNGLOBJECTPTRLABELPROC glObjectPtrLabel; -PFNGLGETOBJECTPTRLABELPROC glGetObjectPtrLabel; -PFNGLGETPOINTERVPROC glGetPointerv; - -PFNGLENABLEIPROC glEnablei; -PFNGLDISABLEIPROC glDisablei; -PFNGLBLENDEQUATIONIPROC glBlendEquationi; -PFNGLBLENDEQUATIONSEPARATEIPROC glBlendEquationSeparatei; -PFNGLBLENDFUNCIPROC glBlendFunci; -PFNGLBLENDFUNCSEPARATEIPROC glBlendFuncSeparatei; -PFNGLCOLORMASKIPROC glColorMaski; -PFNGLISENABLEDIPROC glIsEnabledi; - -PFNGLDRAWELEMENTSBASEVERTEXPROC glDrawElementsBaseVertex; -PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glDrawRangeElementsBaseVertex; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glDrawElementsInstancedBaseVertex; - -PFNGLFRAMEBUFFERTEXTUREPROC glFramebufferTexture; - -PFNGLPRIMITIVEBOUNDINGBOXPROC glPrimitiveBoundingBox; - -PFNGLGETGRAPHICSRESETSTATUSPROC glGetGraphicsResetStatus; -PFNGLREADNPIXELSPROC glReadnPixels; -PFNGLGETNUNIFORMFVPROC glGetnUniformfv; -PFNGLGETNUNIFORMIVPROC glGetnUniformiv; -PFNGLGETNUNIFORMUIVPROC glGetnUniformuiv; - -PFNGLMINSAMPLESHADINGPROC glMinSampleShading; - -PFNGLPATCHPARAMETERIPROC glPatchParameteri; - -PFNGLTEXPARAMETERIIVPROC glTexParameterIiv; -PFNGLTEXPARAMETERIUIVPROC glTexParameterIuiv; -PFNGLGETTEXPARAMETERIIVPROC glGetTexParameterIiv; -PFNGLGETTEXPARAMETERIUIVPROC glGetTexParameterIuiv; -PFNGLSAMPLERPARAMETERIIVPROC glSamplerParameterIiv; -PFNGLSAMPLERPARAMETERIUIVPROC glSamplerParameterIuiv; -PFNGLGETSAMPLERPARAMETERIIVPROC glGetSamplerParameterIiv; -PFNGLGETSAMPLERPARAMETERIUIVPROC glGetSamplerParameterIuiv; - -PFNGLTEXBUFFERPROC glTexBuffer; -PFNGLTEXBUFFERRANGEPROC glTexBufferRange; - -PFNGLTEXSTORAGE3DMULTISAMPLEPROC glTexStorage3DMultisample; - - -#if defined(GL_AMD_framebuffer_multisample_advanced) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glRenderbufferStorageMultisampleAdvancedAMD; -PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC glNamedRenderbufferStorageMultisampleAdvancedAMD; -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) -PFNGLGETPERFMONITORGROUPSAMDPROC glGetPerfMonitorGroupsAMD; -PFNGLGETPERFMONITORCOUNTERSAMDPROC glGetPerfMonitorCountersAMD; -PFNGLGETPERFMONITORGROUPSTRINGAMDPROC glGetPerfMonitorGroupStringAMD; -PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC glGetPerfMonitorCounterStringAMD; -PFNGLGETPERFMONITORCOUNTERINFOAMDPROC glGetPerfMonitorCounterInfoAMD; -PFNGLGENPERFMONITORSAMDPROC glGenPerfMonitorsAMD; -PFNGLDELETEPERFMONITORSAMDPROC glDeletePerfMonitorsAMD; -PFNGLSELECTPERFMONITORCOUNTERSAMDPROC glSelectPerfMonitorCountersAMD; -PFNGLBEGINPERFMONITORAMDPROC glBeginPerfMonitorAMD; -PFNGLENDPERFMONITORAMDPROC glEndPerfMonitorAMD; -PFNGLGETPERFMONITORCOUNTERDATAAMDPROC glGetPerfMonitorCounterDataAMD; -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) -PFNGLBLITFRAMEBUFFERANGLEPROC glBlitFramebufferANGLE; -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC glRenderbufferStorageMultisampleANGLE; -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) -PFNGLDRAWARRAYSINSTANCEDANGLEPROC glDrawArraysInstancedANGLE; -PFNGLDRAWELEMENTSINSTANCEDANGLEPROC glDrawElementsInstancedANGLE; -PFNGLVERTEXATTRIBDIVISORANGLEPROC glVertexAttribDivisorANGLE; -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) -PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC glGetTranslatedShaderSourceANGLE; -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) -PFNGLCOPYTEXTURELEVELSAPPLEPROC glCopyTextureLevelsAPPLE; -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC glRenderbufferStorageMultisampleAPPLE; -PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC glResolveMultisampleFramebufferAPPLE; -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) -PFNGLFENCESYNCAPPLEPROC glFenceSyncAPPLE; -PFNGLISSYNCAPPLEPROC glIsSyncAPPLE; -PFNGLDELETESYNCAPPLEPROC glDeleteSyncAPPLE; -PFNGLCLIENTWAITSYNCAPPLEPROC glClientWaitSyncAPPLE; -PFNGLWAITSYNCAPPLEPROC glWaitSyncAPPLE; -PFNGLGETINTEGER64VAPPLEPROC glGetInteger64vAPPLE; -PFNGLGETSYNCIVAPPLEPROC glGetSyncivAPPLE; -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) -PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC glEGLImageTargetTexStorageEXT; - -PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC glEGLImageTargetTextureStorageEXT; -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) -PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC glDrawArraysInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC glDrawElementsInstancedBaseInstanceEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC glDrawElementsInstancedBaseVertexBaseInstanceEXT; -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) -PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC glBindFragDataLocationIndexedEXT; -PFNGLBINDFRAGDATALOCATIONEXTPROC glBindFragDataLocationEXT; -PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC glGetProgramResourceLocationIndexEXT; -PFNGLGETFRAGDATAINDEXEXTPROC glGetFragDataIndexEXT; -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) -PFNGLBUFFERSTORAGEEXTPROC glBufferStorageEXT; -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) -PFNGLCLEARTEXIMAGEEXTPROC glClearTexImageEXT; -PFNGLCLEARTEXSUBIMAGEEXTPROC glClearTexSubImageEXT; -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) -PFNGLCLIPCONTROLEXTPROC glClipControlEXT; -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) -PFNGLCOPYIMAGESUBDATAEXTPROC glCopyImageSubDataEXT; -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) -PFNGLLABELOBJECTEXTPROC glLabelObjectEXT; -PFNGLGETOBJECTLABELEXTPROC glGetObjectLabelEXT; -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) -PFNGLINSERTEVENTMARKEREXTPROC glInsertEventMarkerEXT; -PFNGLPUSHGROUPMARKEREXTPROC glPushGroupMarkerEXT; -PFNGLPOPGROUPMARKEREXTPROC glPopGroupMarkerEXT; -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) -PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT; -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) -PFNGLGENQUERIESEXTPROC glGenQueriesEXT; -PFNGLDELETEQUERIESEXTPROC glDeleteQueriesEXT; -PFNGLISQUERYEXTPROC glIsQueryEXT; -PFNGLBEGINQUERYEXTPROC glBeginQueryEXT; -PFNGLENDQUERYEXTPROC glEndQueryEXT; -PFNGLQUERYCOUNTEREXTPROC glQueryCounterEXT; -PFNGLGETQUERYIVEXTPROC glGetQueryivEXT; -PFNGLGETQUERYOBJECTIVEXTPROC glGetQueryObjectivEXT; -PFNGLGETQUERYOBJECTUIVEXTPROC glGetQueryObjectuivEXT; -PFNGLGETQUERYOBJECTI64VEXTPROC glGetQueryObjecti64vEXT; -PFNGLGETQUERYOBJECTUI64VEXTPROC glGetQueryObjectui64vEXT; -PFNGLGETINTEGER64VEXTPROC glGetInteger64vEXT; -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) -PFNGLDRAWBUFFERSEXTPROC glDrawBuffersEXT; -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) -PFNGLENABLEIEXTPROC glEnableiEXT; -PFNGLDISABLEIEXTPROC glDisableiEXT; -PFNGLBLENDEQUATIONIEXTPROC glBlendEquationiEXT; -PFNGLBLENDEQUATIONSEPARATEIEXTPROC glBlendEquationSeparateiEXT; -PFNGLBLENDFUNCIEXTPROC glBlendFunciEXT; -PFNGLBLENDFUNCSEPARATEIEXTPROC glBlendFuncSeparateiEXT; -PFNGLCOLORMASKIEXTPROC glColorMaskiEXT; -PFNGLISENABLEDIEXTPROC glIsEnablediEXT; -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXEXTPROC glDrawElementsBaseVertexEXT; -PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC glDrawRangeElementsBaseVertexEXT; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC glDrawElementsInstancedBaseVertexEXT; -PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC glMultiDrawElementsBaseVertexEXT; -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDEXTPROC glDrawArraysInstancedEXT; -PFNGLDRAWELEMENTSINSTANCEDEXTPROC glDrawElementsInstancedEXT; -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) -PFNGLDRAWTRANSFORMFEEDBACKEXTPROC glDrawTransformFeedbackEXT; -PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC glDrawTransformFeedbackInstancedEXT; -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) -PFNGLBUFFERSTORAGEEXTERNALEXTPROC glBufferStorageExternalEXT; -PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC glNamedBufferStorageExternalEXT; -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREEXTPROC glFramebufferTextureEXT; -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) -PFNGLVERTEXATTRIBDIVISOREXTPROC glVertexAttribDivisorEXT; -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) -PFNGLMAPBUFFERRANGEEXTPROC glMapBufferRangeEXT; -PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC glFlushMappedBufferRangeEXT; -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) -PFNGLGETUNSIGNEDBYTEVEXTPROC glGetUnsignedBytevEXT; -PFNGLGETUNSIGNEDBYTEI_VEXTPROC glGetUnsignedBytei_vEXT; -PFNGLDELETEMEMORYOBJECTSEXTPROC glDeleteMemoryObjectsEXT; -PFNGLISMEMORYOBJECTEXTPROC glIsMemoryObjectEXT; -PFNGLCREATEMEMORYOBJECTSEXTPROC glCreateMemoryObjectsEXT; -PFNGLMEMORYOBJECTPARAMETERIVEXTPROC glMemoryObjectParameterivEXT; -PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC glGetMemoryObjectParameterivEXT; -PFNGLTEXSTORAGEMEM2DEXTPROC glTexStorageMem2DEXT; -PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC glTexStorageMem2DMultisampleEXT; -PFNGLTEXSTORAGEMEM3DEXTPROC glTexStorageMem3DEXT; -PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC glTexStorageMem3DMultisampleEXT; -PFNGLBUFFERSTORAGEMEMEXTPROC glBufferStorageMemEXT; - -PFNGLTEXTURESTORAGEMEM2DEXTPROC glTextureStorageMem2DEXT; -PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC glTextureStorageMem2DMultisampleEXT; -PFNGLTEXTURESTORAGEMEM3DEXTPROC glTextureStorageMem3DEXT; -PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC glTextureStorageMem3DMultisampleEXT; -PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC glNamedBufferStorageMemEXT; -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) -PFNGLIMPORTMEMORYFDEXTPROC glImportMemoryFdEXT; -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) -PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC glImportMemoryWin32HandleEXT; -PFNGLIMPORTMEMORYWIN32NAMEEXTPROC glImportMemoryWin32NameEXT; -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) -PFNGLMULTIDRAWARRAYSEXTPROC glMultiDrawArraysEXT; -PFNGLMULTIDRAWELEMENTSEXTPROC glMultiDrawElementsEXT; -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) -PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC glMultiDrawArraysIndirectEXT; -PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC glMultiDrawElementsIndirectEXT; -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC glRenderbufferStorageMultisampleEXT; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC glFramebufferTexture2DMultisampleEXT; -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) -PFNGLREADBUFFERINDEXEDEXTPROC glReadBufferIndexedEXT; -PFNGLDRAWBUFFERSINDEXEDEXTPROC glDrawBuffersIndexedEXT; -PFNGLGETINTEGERI_VEXTPROC glGetIntegeri_vEXT; -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) -PFNGLPOLYGONOFFSETCLAMPEXTPROC glPolygonOffsetClampEXT; -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXEXTPROC glPrimitiveBoundingBoxEXT; -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) -PFNGLRASTERSAMPLESEXTPROC glRasterSamplesEXT; -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) -PFNGLGETGRAPHICSRESETSTATUSEXTPROC glGetGraphicsResetStatusEXT; -PFNGLREADNPIXELSEXTPROC glReadnPixelsEXT; -PFNGLGETNUNIFORMFVEXTPROC glGetnUniformfvEXT; -PFNGLGETNUNIFORMIVEXTPROC glGetnUniformivEXT; -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) -PFNGLGENSEMAPHORESEXTPROC glGenSemaphoresEXT; -PFNGLDELETESEMAPHORESEXTPROC glDeleteSemaphoresEXT; -PFNGLISSEMAPHOREEXTPROC glIsSemaphoreEXT; -PFNGLSEMAPHOREPARAMETERUI64VEXTPROC glSemaphoreParameterui64vEXT; -PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC glGetSemaphoreParameterui64vEXT; -PFNGLWAITSEMAPHOREEXTPROC glWaitSemaphoreEXT; -PFNGLSIGNALSEMAPHOREEXTPROC glSignalSemaphoreEXT; -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) -PFNGLIMPORTSEMAPHOREFDEXTPROC glImportSemaphoreFdEXT; -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) -PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC glImportSemaphoreWin32HandleEXT; -PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC glImportSemaphoreWin32NameEXT; -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) -PFNGLACTIVESHADERPROGRAMEXTPROC glActiveShaderProgramEXT; -PFNGLBINDPROGRAMPIPELINEEXTPROC glBindProgramPipelineEXT; -PFNGLCREATESHADERPROGRAMVEXTPROC glCreateShaderProgramvEXT; -PFNGLDELETEPROGRAMPIPELINESEXTPROC glDeleteProgramPipelinesEXT; -PFNGLGENPROGRAMPIPELINESEXTPROC glGenProgramPipelinesEXT; -PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC glGetProgramPipelineInfoLogEXT; -PFNGLGETPROGRAMPIPELINEIVEXTPROC glGetProgramPipelineivEXT; -PFNGLISPROGRAMPIPELINEEXTPROC glIsProgramPipelineEXT; -PFNGLPROGRAMPARAMETERIEXTPROC glProgramParameteriEXT; -PFNGLPROGRAMUNIFORM1FEXTPROC glProgramUniform1fEXT; -PFNGLPROGRAMUNIFORM1FVEXTPROC glProgramUniform1fvEXT; -PFNGLPROGRAMUNIFORM1IEXTPROC glProgramUniform1iEXT; -PFNGLPROGRAMUNIFORM1IVEXTPROC glProgramUniform1ivEXT; -PFNGLPROGRAMUNIFORM2FEXTPROC glProgramUniform2fEXT; -PFNGLPROGRAMUNIFORM2FVEXTPROC glProgramUniform2fvEXT; -PFNGLPROGRAMUNIFORM2IEXTPROC glProgramUniform2iEXT; -PFNGLPROGRAMUNIFORM2IVEXTPROC glProgramUniform2ivEXT; -PFNGLPROGRAMUNIFORM3FEXTPROC glProgramUniform3fEXT; -PFNGLPROGRAMUNIFORM3FVEXTPROC glProgramUniform3fvEXT; -PFNGLPROGRAMUNIFORM3IEXTPROC glProgramUniform3iEXT; -PFNGLPROGRAMUNIFORM3IVEXTPROC glProgramUniform3ivEXT; -PFNGLPROGRAMUNIFORM4FEXTPROC glProgramUniform4fEXT; -PFNGLPROGRAMUNIFORM4FVEXTPROC glProgramUniform4fvEXT; -PFNGLPROGRAMUNIFORM4IEXTPROC glProgramUniform4iEXT; -PFNGLPROGRAMUNIFORM4IVEXTPROC glProgramUniform4ivEXT; -PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC glProgramUniformMatrix2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC glProgramUniformMatrix3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC glProgramUniformMatrix4fvEXT; -PFNGLUSEPROGRAMSTAGESEXTPROC glUseProgramStagesEXT; -PFNGLVALIDATEPROGRAMPIPELINEEXTPROC glValidateProgramPipelineEXT; - -PFNGLPROGRAMUNIFORM1UIEXTPROC glProgramUniform1uiEXT; -PFNGLPROGRAMUNIFORM2UIEXTPROC glProgramUniform2uiEXT; -PFNGLPROGRAMUNIFORM3UIEXTPROC glProgramUniform3uiEXT; -PFNGLPROGRAMUNIFORM4UIEXTPROC glProgramUniform4uiEXT; -PFNGLPROGRAMUNIFORM1UIVEXTPROC glProgramUniform1uivEXT; -PFNGLPROGRAMUNIFORM2UIVEXTPROC glProgramUniform2uivEXT; -PFNGLPROGRAMUNIFORM3UIVEXTPROC glProgramUniform3uivEXT; -PFNGLPROGRAMUNIFORM4UIVEXTPROC glProgramUniform4uivEXT; -PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC glProgramUniformMatrix2x3fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC glProgramUniformMatrix3x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC glProgramUniformMatrix2x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC glProgramUniformMatrix4x2fvEXT; -PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC glProgramUniformMatrix3x4fvEXT; -PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC glProgramUniformMatrix4x3fvEXT; -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) -PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC glFramebufferFetchBarrierEXT; -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) -PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glFramebufferPixelLocalStorageSizeEXT; -PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC glGetFramebufferPixelLocalStorageSizeEXT; -PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC glClearPixelLocalStorageuiEXT; -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) -PFNGLTEXPAGECOMMITMENTEXTPROC glTexPageCommitmentEXT; -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) -PFNGLPATCHPARAMETERIEXTPROC glPatchParameteriEXT; -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) -PFNGLTEXPARAMETERIIVEXTPROC glTexParameterIivEXT; -PFNGLTEXPARAMETERIUIVEXTPROC glTexParameterIuivEXT; -PFNGLGETTEXPARAMETERIIVEXTPROC glGetTexParameterIivEXT; -PFNGLGETTEXPARAMETERIUIVEXTPROC glGetTexParameterIuivEXT; -PFNGLSAMPLERPARAMETERIIVEXTPROC glSamplerParameterIivEXT; -PFNGLSAMPLERPARAMETERIUIVEXTPROC glSamplerParameterIuivEXT; -PFNGLGETSAMPLERPARAMETERIIVEXTPROC glGetSamplerParameterIivEXT; -PFNGLGETSAMPLERPARAMETERIUIVEXTPROC glGetSamplerParameterIuivEXT; -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) -PFNGLTEXBUFFEREXTPROC glTexBufferEXT; -PFNGLTEXBUFFERRANGEEXTPROC glTexBufferRangeEXT; -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) -PFNGLTEXSTORAGE1DEXTPROC glTexStorage1DEXT; -PFNGLTEXSTORAGE2DEXTPROC glTexStorage2DEXT; -PFNGLTEXSTORAGE3DEXTPROC glTexStorage3DEXT; - -PFNGLTEXTURESTORAGE1DEXTPROC glTextureStorage1DEXT; -PFNGLTEXTURESTORAGE2DEXTPROC glTextureStorage2DEXT; -PFNGLTEXTURESTORAGE3DEXTPROC glTextureStorage3DEXT; -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) -PFNGLTEXTUREVIEWEXTPROC glTextureViewEXT; -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) -PFNGLCREATESEMAPHORESNVPROC glCreateSemaphoresNV; -PFNGLSEMAPHOREPARAMETERIVNVPROC glSemaphoreParameterivNV; -PFNGLGETSEMAPHOREPARAMETERIVNVPROC glGetSemaphoreParameterivNV; -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) -PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC glAcquireKeyedMutexWin32EXT; -PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC glReleaseKeyedMutexWin32EXT; -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) -PFNGLWINDOWRECTANGLESEXTPROC glWindowRectanglesEXT; -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) -PFNGLGETTEXTUREHANDLEIMGPROC glGetTextureHandleIMG; -PFNGLGETTEXTURESAMPLERHANDLEIMGPROC glGetTextureSamplerHandleIMG; -PFNGLUNIFORMHANDLEUI64IMGPROC glUniformHandleui64IMG; -PFNGLUNIFORMHANDLEUI64VIMGPROC glUniformHandleui64vIMG; -PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC glProgramUniformHandleui64IMG; -PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC glProgramUniformHandleui64vIMG; -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) -PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC glFramebufferTexture2DDownsampleIMG; -PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC glFramebufferTextureLayerDownsampleIMG; -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC glRenderbufferStorageMultisampleIMG; -PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC glFramebufferTexture2DMultisampleIMG; -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) -PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC glApplyFramebufferAttachmentCMAAINTEL; -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) -PFNGLBEGINPERFQUERYINTELPROC glBeginPerfQueryINTEL; -PFNGLCREATEPERFQUERYINTELPROC glCreatePerfQueryINTEL; -PFNGLDELETEPERFQUERYINTELPROC glDeletePerfQueryINTEL; -PFNGLENDPERFQUERYINTELPROC glEndPerfQueryINTEL; -PFNGLGETFIRSTPERFQUERYIDINTELPROC glGetFirstPerfQueryIdINTEL; -PFNGLGETNEXTPERFQUERYIDINTELPROC glGetNextPerfQueryIdINTEL; -PFNGLGETPERFCOUNTERINFOINTELPROC glGetPerfCounterInfoINTEL; -PFNGLGETPERFQUERYDATAINTELPROC glGetPerfQueryDataINTEL; -PFNGLGETPERFQUERYIDBYNAMEINTELPROC glGetPerfQueryIdByNameINTEL; -PFNGLGETPERFQUERYINFOINTELPROC glGetPerfQueryInfoINTEL; -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) -PFNGLBLENDBARRIERKHRPROC glBlendBarrierKHR; -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) -PFNGLDEBUGMESSAGECONTROLKHRPROC glDebugMessageControlKHR; -PFNGLDEBUGMESSAGEINSERTKHRPROC glDebugMessageInsertKHR; -PFNGLDEBUGMESSAGECALLBACKKHRPROC glDebugMessageCallbackKHR; -PFNGLGETDEBUGMESSAGELOGKHRPROC glGetDebugMessageLogKHR; -PFNGLPUSHDEBUGGROUPKHRPROC glPushDebugGroupKHR; -PFNGLPOPDEBUGGROUPKHRPROC glPopDebugGroupKHR; -PFNGLOBJECTLABELKHRPROC glObjectLabelKHR; -PFNGLGETOBJECTLABELKHRPROC glGetObjectLabelKHR; -PFNGLOBJECTPTRLABELKHRPROC glObjectPtrLabelKHR; -PFNGLGETOBJECTPTRLABELKHRPROC glGetObjectPtrLabelKHR; -PFNGLGETPOINTERVKHRPROC glGetPointervKHR; -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) -PFNGLGETGRAPHICSRESETSTATUSKHRPROC glGetGraphicsResetStatusKHR; -PFNGLREADNPIXELSKHRPROC glReadnPixelsKHR; -PFNGLGETNUNIFORMFVKHRPROC glGetnUniformfvKHR; -PFNGLGETNUNIFORMIVKHRPROC glGetnUniformivKHR; -PFNGLGETNUNIFORMUIVKHRPROC glGetnUniformuivKHR; -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) -PFNGLMAXSHADERCOMPILERTHREADSKHRPROC glMaxShaderCompilerThreadsKHR; -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) -PFNGLFRAMEBUFFERPARAMETERIMESAPROC glFramebufferParameteriMESA; -PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC glGetFramebufferParameterivMESA; -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) -PFNGLGETTEXTUREHANDLENVPROC glGetTextureHandleNV; -PFNGLGETTEXTURESAMPLERHANDLENVPROC glGetTextureSamplerHandleNV; -PFNGLMAKETEXTUREHANDLERESIDENTNVPROC glMakeTextureHandleResidentNV; -PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC glMakeTextureHandleNonResidentNV; -PFNGLGETIMAGEHANDLENVPROC glGetImageHandleNV; -PFNGLMAKEIMAGEHANDLERESIDENTNVPROC glMakeImageHandleResidentNV; -PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC glMakeImageHandleNonResidentNV; -PFNGLUNIFORMHANDLEUI64NVPROC glUniformHandleui64NV; -PFNGLUNIFORMHANDLEUI64VNVPROC glUniformHandleui64vNV; -PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC glProgramUniformHandleui64NV; -PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC glProgramUniformHandleui64vNV; -PFNGLISTEXTUREHANDLERESIDENTNVPROC glIsTextureHandleResidentNV; -PFNGLISIMAGEHANDLERESIDENTNVPROC glIsImageHandleResidentNV; -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) -PFNGLBLENDPARAMETERINVPROC glBlendParameteriNV; -PFNGLBLENDBARRIERNVPROC glBlendBarrierNV; -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) -PFNGLVIEWPORTPOSITIONWSCALENVPROC glViewportPositionWScaleNV; -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) -PFNGLBEGINCONDITIONALRENDERNVPROC glBeginConditionalRenderNV; -PFNGLENDCONDITIONALRENDERNVPROC glEndConditionalRenderNV; -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) -PFNGLSUBPIXELPRECISIONBIASNVPROC glSubpixelPrecisionBiasNV; -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) -PFNGLCONSERVATIVERASTERPARAMETERINVPROC glConservativeRasterParameteriNV; -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) -PFNGLCOPYBUFFERSUBDATANVPROC glCopyBufferSubDataNV; -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) -PFNGLCOVERAGEMASKNVPROC glCoverageMaskNV; -PFNGLCOVERAGEOPERATIONNVPROC glCoverageOperationNV; -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) -PFNGLDRAWBUFFERSNVPROC glDrawBuffersNV; -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) -PFNGLDRAWARRAYSINSTANCEDNVPROC glDrawArraysInstancedNV; -PFNGLDRAWELEMENTSINSTANCEDNVPROC glDrawElementsInstancedNV; -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) -PFNGLDRAWVKIMAGENVPROC glDrawVkImageNV; -PFNGLGETVKPROCADDRNVPROC glGetVkProcAddrNV; -PFNGLWAITVKSEMAPHORENVPROC glWaitVkSemaphoreNV; -PFNGLSIGNALVKSEMAPHORENVPROC glSignalVkSemaphoreNV; -PFNGLSIGNALVKFENCENVPROC glSignalVkFenceNV; -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) -PFNGLDELETEFENCESNVPROC glDeleteFencesNV; -PFNGLGENFENCESNVPROC glGenFencesNV; -PFNGLISFENCENVPROC glIsFenceNV; -PFNGLTESTFENCENVPROC glTestFenceNV; -PFNGLGETFENCEIVNVPROC glGetFenceivNV; -PFNGLFINISHFENCENVPROC glFinishFenceNV; -PFNGLSETFENCENVPROC glSetFenceNV; -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) -PFNGLFRAGMENTCOVERAGECOLORNVPROC glFragmentCoverageColorNV; -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) -PFNGLBLITFRAMEBUFFERNVPROC glBlitFramebufferNV; -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) -PFNGLCOVERAGEMODULATIONTABLENVPROC glCoverageModulationTableNV; -PFNGLGETCOVERAGEMODULATIONTABLENVPROC glGetCoverageModulationTableNV; -PFNGLCOVERAGEMODULATIONNVPROC glCoverageModulationNV; -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) -PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC glRenderbufferStorageMultisampleNV; -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) -PFNGLUNIFORM1I64NVPROC glUniform1i64NV; -PFNGLUNIFORM2I64NVPROC glUniform2i64NV; -PFNGLUNIFORM3I64NVPROC glUniform3i64NV; -PFNGLUNIFORM4I64NVPROC glUniform4i64NV; -PFNGLUNIFORM1I64VNVPROC glUniform1i64vNV; -PFNGLUNIFORM2I64VNVPROC glUniform2i64vNV; -PFNGLUNIFORM3I64VNVPROC glUniform3i64vNV; -PFNGLUNIFORM4I64VNVPROC glUniform4i64vNV; -PFNGLUNIFORM1UI64NVPROC glUniform1ui64NV; -PFNGLUNIFORM2UI64NVPROC glUniform2ui64NV; -PFNGLUNIFORM3UI64NVPROC glUniform3ui64NV; -PFNGLUNIFORM4UI64NVPROC glUniform4ui64NV; -PFNGLUNIFORM1UI64VNVPROC glUniform1ui64vNV; -PFNGLUNIFORM2UI64VNVPROC glUniform2ui64vNV; -PFNGLUNIFORM3UI64VNVPROC glUniform3ui64vNV; -PFNGLUNIFORM4UI64VNVPROC glUniform4ui64vNV; -PFNGLGETUNIFORMI64VNVPROC glGetUniformi64vNV; - -PFNGLPROGRAMUNIFORM1I64NVPROC glProgramUniform1i64NV; -PFNGLPROGRAMUNIFORM2I64NVPROC glProgramUniform2i64NV; -PFNGLPROGRAMUNIFORM3I64NVPROC glProgramUniform3i64NV; -PFNGLPROGRAMUNIFORM4I64NVPROC glProgramUniform4i64NV; -PFNGLPROGRAMUNIFORM1I64VNVPROC glProgramUniform1i64vNV; -PFNGLPROGRAMUNIFORM2I64VNVPROC glProgramUniform2i64vNV; -PFNGLPROGRAMUNIFORM3I64VNVPROC glProgramUniform3i64vNV; -PFNGLPROGRAMUNIFORM4I64VNVPROC glProgramUniform4i64vNV; -PFNGLPROGRAMUNIFORM1UI64NVPROC glProgramUniform1ui64NV; -PFNGLPROGRAMUNIFORM2UI64NVPROC glProgramUniform2ui64NV; -PFNGLPROGRAMUNIFORM3UI64NVPROC glProgramUniform3ui64NV; -PFNGLPROGRAMUNIFORM4UI64NVPROC glProgramUniform4ui64NV; -PFNGLPROGRAMUNIFORM1UI64VNVPROC glProgramUniform1ui64vNV; -PFNGLPROGRAMUNIFORM2UI64VNVPROC glProgramUniform2ui64vNV; -PFNGLPROGRAMUNIFORM3UI64VNVPROC glProgramUniform3ui64vNV; -PFNGLPROGRAMUNIFORM4UI64VNVPROC glProgramUniform4ui64vNV; -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) -PFNGLVERTEXATTRIBDIVISORNVPROC glVertexAttribDivisorNV; -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) -PFNGLGETINTERNALFORMATSAMPLEIVNVPROC glGetInternalformatSampleivNV; -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) -PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC glGetMemoryObjectDetachedResourcesuivNV; -PFNGLRESETMEMORYOBJECTPARAMETERNVPROC glResetMemoryObjectParameterNV; -PFNGLTEXATTACHMEMORYNVPROC glTexAttachMemoryNV; -PFNGLBUFFERATTACHMEMORYNVPROC glBufferAttachMemoryNV; - -PFNGLTEXTUREATTACHMEMORYNVPROC glTextureAttachMemoryNV; -PFNGLNAMEDBUFFERATTACHMEMORYNVPROC glNamedBufferAttachMemoryNV; -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) -PFNGLBUFFERPAGECOMMITMENTMEMNVPROC glBufferPageCommitmentMemNV; -PFNGLTEXPAGECOMMITMENTMEMNVPROC glTexPageCommitmentMemNV; - -PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC glNamedBufferPageCommitmentMemNV; -PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC glTexturePageCommitmentMemNV; -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) -PFNGLDRAWMESHTASKSNVPROC glDrawMeshTasksNV; -PFNGLDRAWMESHTASKSINDIRECTNVPROC glDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC glMultiDrawMeshTasksIndirectNV; -PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC glMultiDrawMeshTasksIndirectCountNV; -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) -PFNGLUNIFORMMATRIX2X3FVNVPROC glUniformMatrix2x3fvNV; -PFNGLUNIFORMMATRIX3X2FVNVPROC glUniformMatrix3x2fvNV; -PFNGLUNIFORMMATRIX2X4FVNVPROC glUniformMatrix2x4fvNV; -PFNGLUNIFORMMATRIX4X2FVNVPROC glUniformMatrix4x2fvNV; -PFNGLUNIFORMMATRIX3X4FVNVPROC glUniformMatrix3x4fvNV; -PFNGLUNIFORMMATRIX4X3FVNVPROC glUniformMatrix4x3fvNV; -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) -PFNGLGENPATHSNVPROC glGenPathsNV; -PFNGLDELETEPATHSNVPROC glDeletePathsNV; -PFNGLISPATHNVPROC glIsPathNV; -PFNGLPATHCOMMANDSNVPROC glPathCommandsNV; -PFNGLPATHCOORDSNVPROC glPathCoordsNV; -PFNGLPATHSUBCOMMANDSNVPROC glPathSubCommandsNV; -PFNGLPATHSUBCOORDSNVPROC glPathSubCoordsNV; -PFNGLPATHSTRINGNVPROC glPathStringNV; -PFNGLPATHGLYPHSNVPROC glPathGlyphsNV; -PFNGLPATHGLYPHRANGENVPROC glPathGlyphRangeNV; -PFNGLWEIGHTPATHSNVPROC glWeightPathsNV; -PFNGLCOPYPATHNVPROC glCopyPathNV; -PFNGLINTERPOLATEPATHSNVPROC glInterpolatePathsNV; -PFNGLTRANSFORMPATHNVPROC glTransformPathNV; -PFNGLPATHPARAMETERIVNVPROC glPathParameterivNV; -PFNGLPATHPARAMETERINVPROC glPathParameteriNV; -PFNGLPATHPARAMETERFVNVPROC glPathParameterfvNV; -PFNGLPATHPARAMETERFNVPROC glPathParameterfNV; -PFNGLPATHDASHARRAYNVPROC glPathDashArrayNV; -PFNGLPATHSTENCILFUNCNVPROC glPathStencilFuncNV; -PFNGLPATHSTENCILDEPTHOFFSETNVPROC glPathStencilDepthOffsetNV; -PFNGLSTENCILFILLPATHNVPROC glStencilFillPathNV; -PFNGLSTENCILSTROKEPATHNVPROC glStencilStrokePathNV; -PFNGLSTENCILFILLPATHINSTANCEDNVPROC glStencilFillPathInstancedNV; -PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC glStencilStrokePathInstancedNV; -PFNGLPATHCOVERDEPTHFUNCNVPROC glPathCoverDepthFuncNV; -PFNGLCOVERFILLPATHNVPROC glCoverFillPathNV; -PFNGLCOVERSTROKEPATHNVPROC glCoverStrokePathNV; -PFNGLCOVERFILLPATHINSTANCEDNVPROC glCoverFillPathInstancedNV; -PFNGLCOVERSTROKEPATHINSTANCEDNVPROC glCoverStrokePathInstancedNV; -PFNGLGETPATHPARAMETERIVNVPROC glGetPathParameterivNV; -PFNGLGETPATHPARAMETERFVNVPROC glGetPathParameterfvNV; -PFNGLGETPATHCOMMANDSNVPROC glGetPathCommandsNV; -PFNGLGETPATHCOORDSNVPROC glGetPathCoordsNV; -PFNGLGETPATHDASHARRAYNVPROC glGetPathDashArrayNV; -PFNGLGETPATHMETRICSNVPROC glGetPathMetricsNV; -PFNGLGETPATHMETRICRANGENVPROC glGetPathMetricRangeNV; -PFNGLGETPATHSPACINGNVPROC glGetPathSpacingNV; -PFNGLISPOINTINFILLPATHNVPROC glIsPointInFillPathNV; -PFNGLISPOINTINSTROKEPATHNVPROC glIsPointInStrokePathNV; -PFNGLGETPATHLENGTHNVPROC glGetPathLengthNV; -PFNGLPOINTALONGPATHNVPROC glPointAlongPathNV; - -PFNGLMATRIXLOAD3X2FNVPROC glMatrixLoad3x2fNV; -PFNGLMATRIXLOAD3X3FNVPROC glMatrixLoad3x3fNV; -PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC glMatrixLoadTranspose3x3fNV; -PFNGLMATRIXMULT3X2FNVPROC glMatrixMult3x2fNV; -PFNGLMATRIXMULT3X3FNVPROC glMatrixMult3x3fNV; -PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC glMatrixMultTranspose3x3fNV; -PFNGLSTENCILTHENCOVERFILLPATHNVPROC glStencilThenCoverFillPathNV; -PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC glStencilThenCoverStrokePathNV; -PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC glStencilThenCoverFillPathInstancedNV; -PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC glStencilThenCoverStrokePathInstancedNV; -PFNGLPATHGLYPHINDEXRANGENVPROC glPathGlyphIndexRangeNV; - -PFNGLPATHGLYPHINDEXARRAYNVPROC glPathGlyphIndexArrayNV; -PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC glPathMemoryGlyphIndexArrayNV; -PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC glProgramPathFragmentInputGenNV; -PFNGLGETPROGRAMRESOURCEFVNVPROC glGetProgramResourcefvNV; - -PFNGLMATRIXFRUSTUMEXTPROC glMatrixFrustumEXT; -PFNGLMATRIXLOADIDENTITYEXTPROC glMatrixLoadIdentityEXT; -PFNGLMATRIXLOADTRANSPOSEFEXTPROC glMatrixLoadTransposefEXT; -PFNGLMATRIXLOADTRANSPOSEDEXTPROC glMatrixLoadTransposedEXT; -PFNGLMATRIXLOADFEXTPROC glMatrixLoadfEXT; -PFNGLMATRIXLOADDEXTPROC glMatrixLoaddEXT; -PFNGLMATRIXMULTTRANSPOSEFEXTPROC glMatrixMultTransposefEXT; -PFNGLMATRIXMULTTRANSPOSEDEXTPROC glMatrixMultTransposedEXT; -PFNGLMATRIXMULTFEXTPROC glMatrixMultfEXT; -PFNGLMATRIXMULTDEXTPROC glMatrixMultdEXT; -PFNGLMATRIXORTHOEXTPROC glMatrixOrthoEXT; -PFNGLMATRIXPOPEXTPROC glMatrixPopEXT; -PFNGLMATRIXPUSHEXTPROC glMatrixPushEXT; -PFNGLMATRIXROTATEFEXTPROC glMatrixRotatefEXT; -PFNGLMATRIXROTATEDEXTPROC glMatrixRotatedEXT; -PFNGLMATRIXSCALEFEXTPROC glMatrixScalefEXT; -PFNGLMATRIXSCALEDEXTPROC glMatrixScaledEXT; -PFNGLMATRIXTRANSLATEFEXTPROC glMatrixTranslatefEXT; -PFNGLMATRIXTRANSLATEDEXTPROC glMatrixTranslatedEXT; -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) -PFNGLPOLYGONMODENVPROC glPolygonModeNV; -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) -PFNGLREADBUFFERNVPROC glReadBufferNV; -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) -PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glFramebufferSampleLocationsfvNV; -PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC glNamedFramebufferSampleLocationsfvNV; -PFNGLRESOLVEDEPTHVALUESNVPROC glResolveDepthValuesNV; -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) -PFNGLSCISSOREXCLUSIVENVPROC glScissorExclusiveNV; -PFNGLSCISSOREXCLUSIVEARRAYVNVPROC glScissorExclusiveArrayvNV; -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) -PFNGLBINDSHADINGRATEIMAGENVPROC glBindShadingRateImageNV; -PFNGLGETSHADINGRATEIMAGEPALETTENVPROC glGetShadingRateImagePaletteNV; -PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC glGetShadingRateSampleLocationivNV; -PFNGLSHADINGRATEIMAGEBARRIERNVPROC glShadingRateImageBarrierNV; -PFNGLSHADINGRATEIMAGEPALETTENVPROC glShadingRateImagePaletteNV; -PFNGLSHADINGRATESAMPLEORDERNVPROC glShadingRateSampleOrderNV; -PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC glShadingRateSampleOrderCustomNV; -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) -PFNGLVIEWPORTARRAYVNVPROC glViewportArrayvNV; -PFNGLVIEWPORTINDEXEDFNVPROC glViewportIndexedfNV; -PFNGLVIEWPORTINDEXEDFVNVPROC glViewportIndexedfvNV; -PFNGLSCISSORARRAYVNVPROC glScissorArrayvNV; -PFNGLSCISSORINDEXEDNVPROC glScissorIndexedNV; -PFNGLSCISSORINDEXEDVNVPROC glScissorIndexedvNV; -PFNGLDEPTHRANGEARRAYFVNVPROC glDepthRangeArrayfvNV; -PFNGLDEPTHRANGEINDEXEDFNVPROC glDepthRangeIndexedfNV; -PFNGLGETFLOATI_VNVPROC glGetFloati_vNV; -PFNGLENABLEINVPROC glEnableiNV; -PFNGLDISABLEINVPROC glDisableiNV; -PFNGLISENABLEDINVPROC glIsEnablediNV; -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) -PFNGLVIEWPORTSWIZZLENVPROC glViewportSwizzleNV; -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) -PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES; -PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC glEGLImageTargetRenderbufferStorageOES; -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) -PFNGLCOPYIMAGESUBDATAOESPROC glCopyImageSubDataOES; -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) -PFNGLENABLEIOESPROC glEnableiOES; -PFNGLDISABLEIOESPROC glDisableiOES; -PFNGLBLENDEQUATIONIOESPROC glBlendEquationiOES; -PFNGLBLENDEQUATIONSEPARATEIOESPROC glBlendEquationSeparateiOES; -PFNGLBLENDFUNCIOESPROC glBlendFunciOES; -PFNGLBLENDFUNCSEPARATEIOESPROC glBlendFuncSeparateiOES; -PFNGLCOLORMASKIOESPROC glColorMaskiOES; -PFNGLISENABLEDIOESPROC glIsEnablediOES; -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) -PFNGLDRAWELEMENTSBASEVERTEXOESPROC glDrawElementsBaseVertexOES; -PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC glDrawRangeElementsBaseVertexOES; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC glDrawElementsInstancedBaseVertexOES; -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) -PFNGLFRAMEBUFFERTEXTUREOESPROC glFramebufferTextureOES; -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) -PFNGLGETPROGRAMBINARYOESPROC glGetProgramBinaryOES; -PFNGLPROGRAMBINARYOESPROC glProgramBinaryOES; -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) -PFNGLMAPBUFFEROESPROC glMapBufferOES; -PFNGLUNMAPBUFFEROESPROC glUnmapBufferOES; -PFNGLGETBUFFERPOINTERVOESPROC glGetBufferPointervOES; -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) -PFNGLPRIMITIVEBOUNDINGBOXOESPROC glPrimitiveBoundingBoxOES; -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) -PFNGLMINSAMPLESHADINGOESPROC glMinSampleShadingOES; -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) -PFNGLPATCHPARAMETERIOESPROC glPatchParameteriOES; -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) -PFNGLTEXIMAGE3DOESPROC glTexImage3DOES; -PFNGLTEXSUBIMAGE3DOESPROC glTexSubImage3DOES; -PFNGLCOPYTEXSUBIMAGE3DOESPROC glCopyTexSubImage3DOES; -PFNGLCOMPRESSEDTEXIMAGE3DOESPROC glCompressedTexImage3DOES; -PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC glCompressedTexSubImage3DOES; -PFNGLFRAMEBUFFERTEXTURE3DOESPROC glFramebufferTexture3DOES; -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) -PFNGLTEXPARAMETERIIVOESPROC glTexParameterIivOES; -PFNGLTEXPARAMETERIUIVOESPROC glTexParameterIuivOES; -PFNGLGETTEXPARAMETERIIVOESPROC glGetTexParameterIivOES; -PFNGLGETTEXPARAMETERIUIVOESPROC glGetTexParameterIuivOES; -PFNGLSAMPLERPARAMETERIIVOESPROC glSamplerParameterIivOES; -PFNGLSAMPLERPARAMETERIUIVOESPROC glSamplerParameterIuivOES; -PFNGLGETSAMPLERPARAMETERIIVOESPROC glGetSamplerParameterIivOES; -PFNGLGETSAMPLERPARAMETERIUIVOESPROC glGetSamplerParameterIuivOES; -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) -PFNGLTEXBUFFEROESPROC glTexBufferOES; -PFNGLTEXBUFFERRANGEOESPROC glTexBufferRangeOES; -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) -PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC glTexStorage3DMultisampleOES; -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) -PFNGLTEXTUREVIEWOESPROC glTextureViewOES; -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) -PFNGLBINDVERTEXARRAYOESPROC glBindVertexArrayOES; -PFNGLDELETEVERTEXARRAYSOESPROC glDeleteVertexArraysOES; -PFNGLGENVERTEXARRAYSOESPROC glGenVertexArraysOES; -PFNGLISVERTEXARRAYOESPROC glIsVertexArrayOES; -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) -PFNGLVIEWPORTARRAYVOESPROC glViewportArrayvOES; -PFNGLVIEWPORTINDEXEDFOESPROC glViewportIndexedfOES; -PFNGLVIEWPORTINDEXEDFVOESPROC glViewportIndexedfvOES; -PFNGLSCISSORARRAYVOESPROC glScissorArrayvOES; -PFNGLSCISSORINDEXEDOESPROC glScissorIndexedOES; -PFNGLSCISSORINDEXEDVOESPROC glScissorIndexedvOES; -PFNGLDEPTHRANGEARRAYFVOESPROC glDepthRangeArrayfvOES; -PFNGLDEPTHRANGEINDEXEDFOESPROC glDepthRangeIndexedfOES; -PFNGLGETFLOATI_VOESPROC glGetFloati_vOES; -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) -PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC glFramebufferTextureMultiviewOVR; -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) -PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC glFramebufferTextureMultisampleMultiviewOVR; -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) -PFNGLALPHAFUNCQCOMPROC glAlphaFuncQCOM; -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) -PFNGLGETDRIVERCONTROLSQCOMPROC glGetDriverControlsQCOM; -PFNGLGETDRIVERCONTROLSTRINGQCOMPROC glGetDriverControlStringQCOM; -PFNGLENABLEDRIVERCONTROLQCOMPROC glEnableDriverControlQCOM; -PFNGLDISABLEDRIVERCONTROLQCOMPROC glDisableDriverControlQCOM; -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) -PFNGLEXTGETTEXTURESQCOMPROC glExtGetTexturesQCOM; -PFNGLEXTGETBUFFERSQCOMPROC glExtGetBuffersQCOM; -PFNGLEXTGETRENDERBUFFERSQCOMPROC glExtGetRenderbuffersQCOM; -PFNGLEXTGETFRAMEBUFFERSQCOMPROC glExtGetFramebuffersQCOM; -PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC glExtGetTexLevelParameterivQCOM; -PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC glExtTexObjectStateOverrideiQCOM; -PFNGLEXTGETTEXSUBIMAGEQCOMPROC glExtGetTexSubImageQCOM; -PFNGLEXTGETBUFFERPOINTERVQCOMPROC glExtGetBufferPointervQCOM; -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) -PFNGLEXTGETSHADERSQCOMPROC glExtGetShadersQCOM; -PFNGLEXTGETPROGRAMSQCOMPROC glExtGetProgramsQCOM; -PFNGLEXTISPROGRAMBINARYQCOMPROC glExtIsProgramBinaryQCOM; -PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC glExtGetProgramBinarySourceQCOM; -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) -PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC glFramebufferFoveationConfigQCOM; -PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC glFramebufferFoveationParametersQCOM; -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) -PFNGLTEXESTIMATEMOTIONQCOMPROC glTexEstimateMotionQCOM; -PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC glTexEstimateMotionRegionsQCOM; -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) -PFNGLEXTRAPOLATETEX2DQCOMPROC glExtrapolateTex2DQCOM; -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) -PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC glTextureFoveationParametersQCOM; -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) -PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC glFramebufferFetchBarrierQCOM; -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) -PFNGLSHADINGRATEQCOMPROC glShadingRateQCOM; -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) -PFNGLSTARTTILINGQCOMPROC glStartTilingQCOM; -PFNGLENDTILINGQCOMPROC glEndTilingQCOM; -#endif /* defined(GL_QCOM_tiled_rendering) */ - -/* GLES3W_GENERATE_GLES_DEFINITION */ - -static void gles3wLoadProcs() { -#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) - /* GLES3W_GENERATE_EGL_LOAD */ - eglGetProcAddress = (PFNEGLGETPROCADDRESSPROC)gles3wLoad("eglGetProcAddress"); - - /* EGL_VERSION_1_0 */ - eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)gles3wLoad("eglChooseConfig"); - eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)gles3wLoad("eglCopyBuffers"); - eglCreateContext = (PFNEGLCREATECONTEXTPROC)gles3wLoad("eglCreateContext"); - eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)gles3wLoad("eglCreatePbufferSurface"); - eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)gles3wLoad("eglCreatePixmapSurface"); - eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)gles3wLoad("eglCreateWindowSurface"); - eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)gles3wLoad("eglDestroyContext"); - eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)gles3wLoad("eglDestroySurface"); - eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)gles3wLoad("eglGetConfigAttrib"); - eglGetConfigs = (PFNEGLGETCONFIGSPROC)gles3wLoad("eglGetConfigs"); - eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)gles3wLoad("eglGetCurrentDisplay"); - eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)gles3wLoad("eglGetCurrentSurface"); - eglGetDisplay = (PFNEGLGETDISPLAYPROC)gles3wLoad("eglGetDisplay"); - eglGetError = (PFNEGLGETERRORPROC)gles3wLoad("eglGetError"); - eglInitialize = (PFNEGLINITIALIZEPROC)gles3wLoad("eglInitialize"); - eglMakeCurrent = (PFNEGLMAKECURRENTPROC)gles3wLoad("eglMakeCurrent"); - eglQueryContext = (PFNEGLQUERYCONTEXTPROC)gles3wLoad("eglQueryContext"); - eglQueryString = (PFNEGLQUERYSTRINGPROC)gles3wLoad("eglQueryString"); - eglQuerySurface = (PFNEGLQUERYSURFACEPROC)gles3wLoad("eglQuerySurface"); - eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)gles3wLoad("eglSwapBuffers"); - eglTerminate = (PFNEGLTERMINATEPROC)gles3wLoad("eglTerminate"); - eglWaitGL = (PFNEGLWAITGLPROC)gles3wLoad("eglWaitGL"); - eglWaitNative = (PFNEGLWAITNATIVEPROC)gles3wLoad("eglWaitNative"); - - - /* EGL_VERSION_1_1 */ - eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)gles3wLoad("eglBindTexImage"); - eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)gles3wLoad("eglReleaseTexImage"); - eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)gles3wLoad("eglSurfaceAttrib"); - eglSwapInterval = (PFNEGLSWAPINTERVALPROC)gles3wLoad("eglSwapInterval"); - - - /* EGL_VERSION_1_2 */ - eglBindAPI = (PFNEGLBINDAPIPROC)gles3wLoad("eglBindAPI"); - eglQueryAPI = (PFNEGLQUERYAPIPROC)gles3wLoad("eglQueryAPI"); - eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)gles3wLoad("eglCreatePbufferFromClientBuffer"); - eglReleaseThread = (PFNEGLRELEASETHREADPROC)gles3wLoad("eglReleaseThread"); - eglWaitClient = (PFNEGLWAITCLIENTPROC)gles3wLoad("eglWaitClient"); - - - /* EGL_VERSION_1_3 */ - - /* EGL_VERSION_1_4 */ - eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)gles3wLoad("eglGetCurrentContext"); - - - /* EGL_VERSION_1_5 */ - eglCreateSync = (PFNEGLCREATESYNCPROC)gles3wLoad("eglCreateSync"); - eglDestroySync = (PFNEGLDESTROYSYNCPROC)gles3wLoad("eglDestroySync"); - eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)gles3wLoad("eglClientWaitSync"); - eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)gles3wLoad("eglGetSyncAttrib"); - - eglCreateImage = (PFNEGLCREATEIMAGEPROC)gles3wLoad("eglCreateImage"); - eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)gles3wLoad("eglDestroyImage"); - - eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)gles3wLoad("eglGetPlatformDisplay"); - eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)gles3wLoad("eglCreatePlatformWindowSurface"); - eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)gles3wLoad("eglCreatePlatformPixmapSurface"); - - eglWaitSync = (PFNEGLWAITSYNCPROC)gles3wLoad("eglWaitSync"); - - -#if defined(EGL_ANDROID_blob_cache) - eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)gles3wLoad("eglSetBlobCacheFuncsANDROID"); -#endif /* defined(EGL_ANDROID_blob_cache) */ - -#if defined(EGL_ANDROID_create_native_client_buffer) - eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)gles3wLoad("eglCreateNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_create_native_client_buffer) */ - -#if defined(EGL_ANDROID_get_native_client_buffer) - eglGetNativeClientBufferANDROID = (PFNEGLGETNATIVECLIENTBUFFERANDROIDPROC)gles3wLoad("eglGetNativeClientBufferANDROID"); -#endif /* defined(EGL_ANDROID_get_native_client_buffer) */ - -#if defined(EGL_ANDROID_native_fence_sync) - eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)gles3wLoad("eglDupNativeFenceFDANDROID"); -#endif /* defined(EGL_ANDROID_native_fence_sync) */ - -#if defined(EGL_ANDROID_presentation_time) - eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)gles3wLoad("eglPresentationTimeANDROID"); -#endif /* defined(EGL_ANDROID_presentation_time) */ - -#if defined(EGL_ANDROID_get_frame_timestamps) - eglGetCompositorTimingSupportedANDROID = (PFNEGLGETCOMPOSITORTIMINGSUPPORTEDANDROIDPROC)gles3wLoad("eglGetCompositorTimingSupportedANDROID"); - eglGetCompositorTimingANDROID = (PFNEGLGETCOMPOSITORTIMINGANDROIDPROC)gles3wLoad("eglGetCompositorTimingANDROID"); - eglGetNextFrameIdANDROID = (PFNEGLGETNEXTFRAMEIDANDROIDPROC)gles3wLoad("eglGetNextFrameIdANDROID"); - eglGetFrameTimestampSupportedANDROID = (PFNEGLGETFRAMETIMESTAMPSUPPORTEDANDROIDPROC)gles3wLoad("eglGetFrameTimestampSupportedANDROID"); - eglGetFrameTimestampsANDROID = (PFNEGLGETFRAMETIMESTAMPSANDROIDPROC)gles3wLoad("eglGetFrameTimestampsANDROID"); -#endif /* defined(EGL_ANDROID_get_frame_timestamps) */ - -#if defined(EGL_ANGLE_query_surface_pointer) - eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)gles3wLoad("eglQuerySurfacePointerANGLE"); -#endif /* defined(EGL_ANGLE_query_surface_pointer) */ - -#if defined(EGL_EXT_client_sync) - eglClientSignalSyncEXT = (PFNEGLCLIENTSIGNALSYNCEXTPROC)gles3wLoad("eglClientSignalSyncEXT"); -#endif /* defined(EGL_EXT_client_sync) */ - -#if defined(EGL_EXT_device_base) - eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)gles3wLoad("eglQueryDeviceAttribEXT"); - eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)gles3wLoad("eglQueryDeviceStringEXT"); - eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)gles3wLoad("eglQueryDevicesEXT"); - eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)gles3wLoad("eglQueryDisplayAttribEXT"); -#endif /* defined(EGL_EXT_device_base) */ - -#if defined(EGL_EXT_image_dma_buf_import_modifiers) - eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)gles3wLoad("eglQueryDmaBufFormatsEXT"); - eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)gles3wLoad("eglQueryDmaBufModifiersEXT"); -#endif /* defined(EGL_EXT_image_dma_buf_import_modifiers) */ - -#if defined(EGL_EXT_output_base) - eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)gles3wLoad("eglGetOutputLayersEXT"); - eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)gles3wLoad("eglGetOutputPortsEXT"); - eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)gles3wLoad("eglOutputLayerAttribEXT"); - eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)gles3wLoad("eglQueryOutputLayerAttribEXT"); - eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)gles3wLoad("eglQueryOutputLayerStringEXT"); - eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)gles3wLoad("eglOutputPortAttribEXT"); - eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)gles3wLoad("eglQueryOutputPortAttribEXT"); - eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)gles3wLoad("eglQueryOutputPortStringEXT"); -#endif /* defined(EGL_EXT_output_base) */ - -#if defined(EGL_EXT_platform_base) - eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)gles3wLoad("eglGetPlatformDisplayEXT"); - eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)gles3wLoad("eglCreatePlatformWindowSurfaceEXT"); - eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)gles3wLoad("eglCreatePlatformPixmapSurfaceEXT"); -#endif /* defined(EGL_EXT_platform_base) */ - -#if defined(EGL_EXT_stream_consumer_egloutput) - eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)gles3wLoad("eglStreamConsumerOutputEXT"); -#endif /* defined(EGL_EXT_stream_consumer_egloutput) */ - -#if defined(EGL_EXT_swap_buffers_with_damage) - eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)gles3wLoad("eglSwapBuffersWithDamageEXT"); -#endif /* defined(EGL_EXT_swap_buffers_with_damage) */ - -#if defined(EGL_EXT_sync_reuse) - eglUnsignalSyncEXT = (PFNEGLUNSIGNALSYNCEXTPROC)gles3wLoad("eglUnsignalSyncEXT"); -#endif /* defined(EGL_EXT_sync_reuse) */ - -#if defined(EGL_HI_clientpixmap) - eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)gles3wLoad("eglCreatePixmapSurfaceHI"); -#endif /* defined(EGL_HI_clientpixmap) */ - -#if defined(EGL_KHR_cl_event2) - eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)gles3wLoad("eglCreateSync64KHR"); -#endif /* defined(EGL_KHR_cl_event2) */ - -#if defined(EGL_KHR_debug) - eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("eglDebugMessageControlKHR"); - eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)gles3wLoad("eglQueryDebugKHR"); - eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)gles3wLoad("eglLabelObjectKHR"); -#endif /* defined(EGL_KHR_debug) */ - -#if defined(EGL_KHR_display_reference) - eglQueryDisplayAttribKHR = (PFNEGLQUERYDISPLAYATTRIBKHRPROC)gles3wLoad("eglQueryDisplayAttribKHR"); -#endif /* defined(EGL_KHR_display_reference) */ - -#if defined(EGL_KHR_fence_sync) - eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)gles3wLoad("eglCreateSyncKHR"); - eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)gles3wLoad("eglDestroySyncKHR"); - eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)gles3wLoad("eglClientWaitSyncKHR"); - eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)gles3wLoad("eglGetSyncAttribKHR"); -#endif /* defined(EGL_KHR_fence_sync) */ - -#if defined(EGL_KHR_image) - eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)gles3wLoad("eglCreateImageKHR"); - eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)gles3wLoad("eglDestroyImageKHR"); -#endif /* defined(EGL_KHR_image) */ - -#if defined(EGL_KHR_lock_surface) - eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)gles3wLoad("eglLockSurfaceKHR"); - eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)gles3wLoad("eglUnlockSurfaceKHR"); -#endif /* defined(EGL_KHR_lock_surface) */ - -#if defined(EGL_KHR_lock_surface3) - eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)gles3wLoad("eglQuerySurface64KHR"); -#endif /* defined(EGL_KHR_lock_surface3) */ - -#if defined(EGL_KHR_partial_update) - eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)gles3wLoad("eglSetDamageRegionKHR"); -#endif /* defined(EGL_KHR_partial_update) */ - -#if defined(EGL_KHR_reusable_sync) - eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)gles3wLoad("eglSignalSyncKHR"); -#endif /* defined(EGL_KHR_reusable_sync) */ - -#if defined(EGL_KHR_stream) - eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)gles3wLoad("eglCreateStreamKHR"); - eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)gles3wLoad("eglDestroyStreamKHR"); - eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)gles3wLoad("eglStreamAttribKHR"); - eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)gles3wLoad("eglQueryStreamKHR"); - eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)gles3wLoad("eglQueryStreamu64KHR"); -#endif /* defined(EGL_KHR_stream) */ - -#if defined(EGL_KHR_stream_attrib) - eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)gles3wLoad("eglCreateStreamAttribKHR"); - eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)gles3wLoad("eglSetStreamAttribKHR"); - eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)gles3wLoad("eglQueryStreamAttribKHR"); - eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)gles3wLoad("eglStreamConsumerAcquireAttribKHR"); - eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)gles3wLoad("eglStreamConsumerReleaseAttribKHR"); -#endif /* defined(EGL_KHR_stream_attrib) */ - -#if defined(EGL_KHR_stream_consumer_gltexture) - eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)gles3wLoad("eglStreamConsumerGLTextureExternalKHR"); - eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)gles3wLoad("eglStreamConsumerAcquireKHR"); - eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)gles3wLoad("eglStreamConsumerReleaseKHR"); -#endif /* defined(EGL_KHR_stream_consumer_gltexture) */ - -#if defined(EGL_KHR_stream_cross_process_fd) - eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)gles3wLoad("eglGetStreamFileDescriptorKHR"); - eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)gles3wLoad("eglCreateStreamFromFileDescriptorKHR"); -#endif /* defined(EGL_KHR_stream_cross_process_fd) */ - -#if defined(EGL_KHR_stream_fifo) - eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)gles3wLoad("eglQueryStreamTimeKHR"); -#endif /* defined(EGL_KHR_stream_fifo) */ - -#if defined(EGL_KHR_stream_producer_eglsurface) - eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)gles3wLoad("eglCreateStreamProducerSurfaceKHR"); -#endif /* defined(EGL_KHR_stream_producer_eglsurface) */ - -#if defined(EGL_KHR_swap_buffers_with_damage) - eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)gles3wLoad("eglSwapBuffersWithDamageKHR"); -#endif /* defined(EGL_KHR_swap_buffers_with_damage) */ - -#if defined(EGL_KHR_wait_sync) - eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)gles3wLoad("eglWaitSyncKHR"); -#endif /* defined(EGL_KHR_wait_sync) */ - -#if defined(EGL_MESA_drm_image) - eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)gles3wLoad("eglCreateDRMImageMESA"); - eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)gles3wLoad("eglExportDRMImageMESA"); -#endif /* defined(EGL_MESA_drm_image) */ - -#if defined(EGL_MESA_image_dma_buf_export) - eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)gles3wLoad("eglExportDMABUFImageQueryMESA"); - eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)gles3wLoad("eglExportDMABUFImageMESA"); -#endif /* defined(EGL_MESA_image_dma_buf_export) */ - -#if defined(EGL_MESA_query_driver) - eglGetDisplayDriverConfig = (PFNEGLGETDISPLAYDRIVERCONFIGPROC)gles3wLoad("eglGetDisplayDriverConfig"); - eglGetDisplayDriverName = (PFNEGLGETDISPLAYDRIVERNAMEPROC)gles3wLoad("eglGetDisplayDriverName"); -#endif /* defined(EGL_MESA_query_driver) */ - -#if defined(EGL_NOK_swap_region) - eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)gles3wLoad("eglSwapBuffersRegionNOK"); -#endif /* defined(EGL_NOK_swap_region) */ - -#if defined(EGL_NOK_swap_region2) - eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)gles3wLoad("eglSwapBuffersRegion2NOK"); -#endif /* defined(EGL_NOK_swap_region2) */ - -#if defined(EGL_NV_native_query) - eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)gles3wLoad("eglQueryNativeDisplayNV"); - eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)gles3wLoad("eglQueryNativeWindowNV"); - eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)gles3wLoad("eglQueryNativePixmapNV"); -#endif /* defined(EGL_NV_native_query) */ - -#if defined(EGL_NV_post_sub_buffer) - eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)gles3wLoad("eglPostSubBufferNV"); -#endif /* defined(EGL_NV_post_sub_buffer) */ - -#if defined(EGL_NV_stream_consumer_gltexture_yuv) - eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)gles3wLoad("eglStreamConsumerGLTextureExternalAttribsNV"); -#endif /* defined(EGL_NV_stream_consumer_gltexture_yuv) */ - -#if defined(EGL_NV_stream_consumer_eglimage) - eglStreamImageConsumerConnectNV = (PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC)gles3wLoad("eglStreamImageConsumerConnectNV"); - eglQueryStreamConsumerEventNV = (PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC)gles3wLoad("eglQueryStreamConsumerEventNV"); - eglStreamAcquireImageNV = (PFNEGLSTREAMACQUIREIMAGENVPROC)gles3wLoad("eglStreamAcquireImageNV"); - eglStreamReleaseImageNV = (PFNEGLSTREAMRELEASEIMAGENVPROC)gles3wLoad("eglStreamReleaseImageNV"); -#endif /* defined(EGL_NV_stream_consumer_eglimage) */ - -#if defined(EGL_NV_stream_flush) - eglStreamFlushNV = (PFNEGLSTREAMFLUSHNVPROC)gles3wLoad("eglStreamFlushNV"); -#endif /* defined(EGL_NV_stream_flush) */ - -#if defined(EGL_NV_stream_metadata) - eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)gles3wLoad("eglQueryDisplayAttribNV"); - eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)gles3wLoad("eglSetStreamMetadataNV"); - eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)gles3wLoad("eglQueryStreamMetadataNV"); -#endif /* defined(EGL_NV_stream_metadata) */ - -#if defined(EGL_NV_stream_reset) - eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)gles3wLoad("eglResetStreamNV"); -#endif /* defined(EGL_NV_stream_reset) */ - -#if defined(EGL_NV_stream_sync) - eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)gles3wLoad("eglCreateStreamSyncNV"); -#endif /* defined(EGL_NV_stream_sync) */ - -#if defined(EGL_NV_sync) - eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)gles3wLoad("eglCreateFenceSyncNV"); - eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)gles3wLoad("eglDestroySyncNV"); - eglFenceNV = (PFNEGLFENCENVPROC)gles3wLoad("eglFenceNV"); - eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)gles3wLoad("eglClientWaitSyncNV"); - eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)gles3wLoad("eglSignalSyncNV"); - eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)gles3wLoad("eglGetSyncAttribNV"); -#endif /* defined(EGL_NV_sync) */ - -#if defined(EGL_NV_system_time) - eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)gles3wLoad("eglGetSystemTimeFrequencyNV"); - eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)gles3wLoad("eglGetSystemTimeNV"); -#endif /* defined(EGL_NV_system_time) */ - -#if defined(EGL_EXT_compositor) - eglCompositorSetContextListEXT = (PFNEGLCOMPOSITORSETCONTEXTLISTEXTPROC)gles3wLoad("eglCompositorSetContextListEXT"); - eglCompositorSetContextAttributesEXT = (PFNEGLCOMPOSITORSETCONTEXTATTRIBUTESEXTPROC)gles3wLoad("eglCompositorSetContextAttributesEXT"); - eglCompositorSetWindowListEXT = (PFNEGLCOMPOSITORSETWINDOWLISTEXTPROC)gles3wLoad("eglCompositorSetWindowListEXT"); - eglCompositorSetWindowAttributesEXT = (PFNEGLCOMPOSITORSETWINDOWATTRIBUTESEXTPROC)gles3wLoad("eglCompositorSetWindowAttributesEXT"); - eglCompositorBindTexWindowEXT = (PFNEGLCOMPOSITORBINDTEXWINDOWEXTPROC)gles3wLoad("eglCompositorBindTexWindowEXT"); - eglCompositorSetSizeEXT = (PFNEGLCOMPOSITORSETSIZEEXTPROC)gles3wLoad("eglCompositorSetSizeEXT"); - eglCompositorSwapPolicyEXT = (PFNEGLCOMPOSITORSWAPPOLICYEXTPROC)gles3wLoad("eglCompositorSwapPolicyEXT"); -#endif /* defined(EGL_EXT_compositor) */ - -#if defined(EGL_WL_bind_wayland_display) - eglBindWaylandDisplayWL = (PFNEGLBINDWAYLANDDISPLAYWLPROC)gles3wLoad("eglBindWaylandDisplayWL"); - eglUnbindWaylandDisplayWL = (PFNEGLUNBINDWAYLANDDISPLAYWLPROC)gles3wLoad("eglUnbindWaylandDisplayWL"); - eglQueryWaylandBufferWL = (PFNEGLQUERYWAYLANDBUFFERWLPROC)gles3wLoad("eglQueryWaylandBufferWL"); -#endif /* defined(EGL_WL_bind_wayland_display) */ - -#if defined(EGL_WL_create_wayland_buffer_from_image) - eglCreateWaylandBufferFromImageWL = (PFNEGLCREATEWAYLANDBUFFERFROMIMAGEWLPROC)gles3wLoad("eglCreateWaylandBufferFromImageWL"); -#endif /* defined(EGL_WL_create_wayland_buffer_from_image) */ - - /* GLES3W_GENERATE_EGL_LOAD */ -#endif - - /* GLES3W_GENERATE_GLES_LOAD */ - /* GL_ES_VERSION_2_0 */ - glActiveTexture = (PFNGLACTIVETEXTUREPROC)gles3wLoad("glActiveTexture"); - glAttachShader = (PFNGLATTACHSHADERPROC)gles3wLoad("glAttachShader"); - glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)gles3wLoad("glBindAttribLocation"); - glBindBuffer = (PFNGLBINDBUFFERPROC)gles3wLoad("glBindBuffer"); - glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)gles3wLoad("glBindFramebuffer"); - glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)gles3wLoad("glBindRenderbuffer"); - glBindTexture = (PFNGLBINDTEXTUREPROC)gles3wLoad("glBindTexture"); - glBlendColor = (PFNGLBLENDCOLORPROC)gles3wLoad("glBlendColor"); - glBlendEquation = (PFNGLBLENDEQUATIONPROC)gles3wLoad("glBlendEquation"); - glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)gles3wLoad("glBlendEquationSeparate"); - glBlendFunc = (PFNGLBLENDFUNCPROC)gles3wLoad("glBlendFunc"); - glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)gles3wLoad("glBlendFuncSeparate"); - glBufferData = (PFNGLBUFFERDATAPROC)gles3wLoad("glBufferData"); - glBufferSubData = (PFNGLBUFFERSUBDATAPROC)gles3wLoad("glBufferSubData"); - glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)gles3wLoad("glCheckFramebufferStatus"); - glClear = (PFNGLCLEARPROC)gles3wLoad("glClear"); - glClearColor = (PFNGLCLEARCOLORPROC)gles3wLoad("glClearColor"); - glClearDepthf = (PFNGLCLEARDEPTHFPROC)gles3wLoad("glClearDepthf"); - glClearStencil = (PFNGLCLEARSTENCILPROC)gles3wLoad("glClearStencil"); - glColorMask = (PFNGLCOLORMASKPROC)gles3wLoad("glColorMask"); - glCompileShader = (PFNGLCOMPILESHADERPROC)gles3wLoad("glCompileShader"); - glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)gles3wLoad("glCompressedTexImage2D"); - glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)gles3wLoad("glCompressedTexSubImage2D"); - glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)gles3wLoad("glCopyTexImage2D"); - glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)gles3wLoad("glCopyTexSubImage2D"); - glCreateProgram = (PFNGLCREATEPROGRAMPROC)gles3wLoad("glCreateProgram"); - glCreateShader = (PFNGLCREATESHADERPROC)gles3wLoad("glCreateShader"); - glCullFace = (PFNGLCULLFACEPROC)gles3wLoad("glCullFace"); - glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)gles3wLoad("glDeleteBuffers"); - glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)gles3wLoad("glDeleteFramebuffers"); - glDeleteProgram = (PFNGLDELETEPROGRAMPROC)gles3wLoad("glDeleteProgram"); - glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)gles3wLoad("glDeleteRenderbuffers"); - glDeleteShader = (PFNGLDELETESHADERPROC)gles3wLoad("glDeleteShader"); - glDeleteTextures = (PFNGLDELETETEXTURESPROC)gles3wLoad("glDeleteTextures"); - glDepthFunc = (PFNGLDEPTHFUNCPROC)gles3wLoad("glDepthFunc"); - glDepthMask = (PFNGLDEPTHMASKPROC)gles3wLoad("glDepthMask"); - glDepthRangef = (PFNGLDEPTHRANGEFPROC)gles3wLoad("glDepthRangef"); - glDetachShader = (PFNGLDETACHSHADERPROC)gles3wLoad("glDetachShader"); - glDisable = (PFNGLDISABLEPROC)gles3wLoad("glDisable"); - glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glDisableVertexAttribArray"); - glDrawArrays = (PFNGLDRAWARRAYSPROC)gles3wLoad("glDrawArrays"); - glDrawElements = (PFNGLDRAWELEMENTSPROC)gles3wLoad("glDrawElements"); - glEnable = (PFNGLENABLEPROC)gles3wLoad("glEnable"); - glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)gles3wLoad("glEnableVertexAttribArray"); - glFinish = (PFNGLFINISHPROC)gles3wLoad("glFinish"); - glFlush = (PFNGLFLUSHPROC)gles3wLoad("glFlush"); - glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)gles3wLoad("glFramebufferRenderbuffer"); - glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)gles3wLoad("glFramebufferTexture2D"); - glFrontFace = (PFNGLFRONTFACEPROC)gles3wLoad("glFrontFace"); - glGenBuffers = (PFNGLGENBUFFERSPROC)gles3wLoad("glGenBuffers"); - glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)gles3wLoad("glGenerateMipmap"); - glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)gles3wLoad("glGenFramebuffers"); - glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)gles3wLoad("glGenRenderbuffers"); - glGenTextures = (PFNGLGENTEXTURESPROC)gles3wLoad("glGenTextures"); - glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)gles3wLoad("glGetActiveAttrib"); - glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)gles3wLoad("glGetActiveUniform"); - glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)gles3wLoad("glGetAttachedShaders"); - glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)gles3wLoad("glGetAttribLocation"); - glGetBooleanv = (PFNGLGETBOOLEANVPROC)gles3wLoad("glGetBooleanv"); - glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)gles3wLoad("glGetBufferParameteriv"); - glGetError = (PFNGLGETERRORPROC)gles3wLoad("glGetError"); - glGetFloatv = (PFNGLGETFLOATVPROC)gles3wLoad("glGetFloatv"); - glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)gles3wLoad("glGetFramebufferAttachmentParameteriv"); - glGetIntegerv = (PFNGLGETINTEGERVPROC)gles3wLoad("glGetIntegerv"); - glGetProgramiv = (PFNGLGETPROGRAMIVPROC)gles3wLoad("glGetProgramiv"); - glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)gles3wLoad("glGetProgramInfoLog"); - glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)gles3wLoad("glGetRenderbufferParameteriv"); - glGetShaderiv = (PFNGLGETSHADERIVPROC)gles3wLoad("glGetShaderiv"); - glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)gles3wLoad("glGetShaderInfoLog"); - glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)gles3wLoad("glGetShaderPrecisionFormat"); - glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)gles3wLoad("glGetShaderSource"); - glGetString = (PFNGLGETSTRINGPROC)gles3wLoad("glGetString"); - glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)gles3wLoad("glGetTexParameterfv"); - glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)gles3wLoad("glGetTexParameteriv"); - glGetUniformfv = (PFNGLGETUNIFORMFVPROC)gles3wLoad("glGetUniformfv"); - glGetUniformiv = (PFNGLGETUNIFORMIVPROC)gles3wLoad("glGetUniformiv"); - glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)gles3wLoad("glGetUniformLocation"); - glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)gles3wLoad("glGetVertexAttribfv"); - glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)gles3wLoad("glGetVertexAttribiv"); - glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)gles3wLoad("glGetVertexAttribPointerv"); - glHint = (PFNGLHINTPROC)gles3wLoad("glHint"); - glIsBuffer = (PFNGLISBUFFERPROC)gles3wLoad("glIsBuffer"); - glIsEnabled = (PFNGLISENABLEDPROC)gles3wLoad("glIsEnabled"); - glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)gles3wLoad("glIsFramebuffer"); - glIsProgram = (PFNGLISPROGRAMPROC)gles3wLoad("glIsProgram"); - glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)gles3wLoad("glIsRenderbuffer"); - glIsShader = (PFNGLISSHADERPROC)gles3wLoad("glIsShader"); - glIsTexture = (PFNGLISTEXTUREPROC)gles3wLoad("glIsTexture"); - glLineWidth = (PFNGLLINEWIDTHPROC)gles3wLoad("glLineWidth"); - glLinkProgram = (PFNGLLINKPROGRAMPROC)gles3wLoad("glLinkProgram"); - glPixelStorei = (PFNGLPIXELSTOREIPROC)gles3wLoad("glPixelStorei"); - glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)gles3wLoad("glPolygonOffset"); - glReadPixels = (PFNGLREADPIXELSPROC)gles3wLoad("glReadPixels"); - glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)gles3wLoad("glReleaseShaderCompiler"); - glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)gles3wLoad("glRenderbufferStorage"); - glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)gles3wLoad("glSampleCoverage"); - glScissor = (PFNGLSCISSORPROC)gles3wLoad("glScissor"); - glShaderBinary = (PFNGLSHADERBINARYPROC)gles3wLoad("glShaderBinary"); - glShaderSource = (PFNGLSHADERSOURCEPROC)gles3wLoad("glShaderSource"); - glStencilFunc = (PFNGLSTENCILFUNCPROC)gles3wLoad("glStencilFunc"); - glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)gles3wLoad("glStencilFuncSeparate"); - glStencilMask = (PFNGLSTENCILMASKPROC)gles3wLoad("glStencilMask"); - glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)gles3wLoad("glStencilMaskSeparate"); - glStencilOp = (PFNGLSTENCILOPPROC)gles3wLoad("glStencilOp"); - glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)gles3wLoad("glStencilOpSeparate"); - glTexImage2D = (PFNGLTEXIMAGE2DPROC)gles3wLoad("glTexImage2D"); - glTexParameterf = (PFNGLTEXPARAMETERFPROC)gles3wLoad("glTexParameterf"); - glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)gles3wLoad("glTexParameterfv"); - glTexParameteri = (PFNGLTEXPARAMETERIPROC)gles3wLoad("glTexParameteri"); - glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)gles3wLoad("glTexParameteriv"); - glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)gles3wLoad("glTexSubImage2D"); - glUniform1f = (PFNGLUNIFORM1FPROC)gles3wLoad("glUniform1f"); - glUniform1fv = (PFNGLUNIFORM1FVPROC)gles3wLoad("glUniform1fv"); - glUniform1i = (PFNGLUNIFORM1IPROC)gles3wLoad("glUniform1i"); - glUniform1iv = (PFNGLUNIFORM1IVPROC)gles3wLoad("glUniform1iv"); - glUniform2f = (PFNGLUNIFORM2FPROC)gles3wLoad("glUniform2f"); - glUniform2fv = (PFNGLUNIFORM2FVPROC)gles3wLoad("glUniform2fv"); - glUniform2i = (PFNGLUNIFORM2IPROC)gles3wLoad("glUniform2i"); - glUniform2iv = (PFNGLUNIFORM2IVPROC)gles3wLoad("glUniform2iv"); - glUniform3f = (PFNGLUNIFORM3FPROC)gles3wLoad("glUniform3f"); - glUniform3fv = (PFNGLUNIFORM3FVPROC)gles3wLoad("glUniform3fv"); - glUniform3i = (PFNGLUNIFORM3IPROC)gles3wLoad("glUniform3i"); - glUniform3iv = (PFNGLUNIFORM3IVPROC)gles3wLoad("glUniform3iv"); - glUniform4f = (PFNGLUNIFORM4FPROC)gles3wLoad("glUniform4f"); - glUniform4fv = (PFNGLUNIFORM4FVPROC)gles3wLoad("glUniform4fv"); - glUniform4i = (PFNGLUNIFORM4IPROC)gles3wLoad("glUniform4i"); - glUniform4iv = (PFNGLUNIFORM4IVPROC)gles3wLoad("glUniform4iv"); - glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)gles3wLoad("glUniformMatrix2fv"); - glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)gles3wLoad("glUniformMatrix3fv"); - glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)gles3wLoad("glUniformMatrix4fv"); - glUseProgram = (PFNGLUSEPROGRAMPROC)gles3wLoad("glUseProgram"); - glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)gles3wLoad("glValidateProgram"); - glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)gles3wLoad("glVertexAttrib1f"); - glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)gles3wLoad("glVertexAttrib1fv"); - glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)gles3wLoad("glVertexAttrib2f"); - glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)gles3wLoad("glVertexAttrib2fv"); - glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)gles3wLoad("glVertexAttrib3f"); - glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)gles3wLoad("glVertexAttrib3fv"); - glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)gles3wLoad("glVertexAttrib4f"); - glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)gles3wLoad("glVertexAttrib4fv"); - glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)gles3wLoad("glVertexAttribPointer"); - glViewport = (PFNGLVIEWPORTPROC)gles3wLoad("glViewport"); - - - /* GL_ES_VERSION_3_0 */ - glReadBuffer = (PFNGLREADBUFFERPROC)gles3wLoad("glReadBuffer"); - glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)gles3wLoad("glDrawRangeElements"); - glTexImage3D = (PFNGLTEXIMAGE3DPROC)gles3wLoad("glTexImage3D"); - glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)gles3wLoad("glTexSubImage3D"); - glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)gles3wLoad("glCopyTexSubImage3D"); - glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)gles3wLoad("glCompressedTexImage3D"); - glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)gles3wLoad("glCompressedTexSubImage3D"); - glGenQueries = (PFNGLGENQUERIESPROC)gles3wLoad("glGenQueries"); - glDeleteQueries = (PFNGLDELETEQUERIESPROC)gles3wLoad("glDeleteQueries"); - glIsQuery = (PFNGLISQUERYPROC)gles3wLoad("glIsQuery"); - glBeginQuery = (PFNGLBEGINQUERYPROC)gles3wLoad("glBeginQuery"); - glEndQuery = (PFNGLENDQUERYPROC)gles3wLoad("glEndQuery"); - glGetQueryiv = (PFNGLGETQUERYIVPROC)gles3wLoad("glGetQueryiv"); - glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)gles3wLoad("glGetQueryObjectuiv"); - glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)gles3wLoad("glUnmapBuffer"); - glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)gles3wLoad("glGetBufferPointerv"); - glDrawBuffers = (PFNGLDRAWBUFFERSPROC)gles3wLoad("glDrawBuffers"); - glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)gles3wLoad("glUniformMatrix2x3fv"); - glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)gles3wLoad("glUniformMatrix3x2fv"); - glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)gles3wLoad("glUniformMatrix2x4fv"); - glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)gles3wLoad("glUniformMatrix4x2fv"); - glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)gles3wLoad("glUniformMatrix3x4fv"); - glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)gles3wLoad("glUniformMatrix4x3fv"); - glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)gles3wLoad("glBlitFramebuffer"); - glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)gles3wLoad("glRenderbufferStorageMultisample"); - glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)gles3wLoad("glFramebufferTextureLayer"); - glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)gles3wLoad("glMapBufferRange"); - glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)gles3wLoad("glFlushMappedBufferRange"); - glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)gles3wLoad("glBindVertexArray"); - glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)gles3wLoad("glDeleteVertexArrays"); - glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)gles3wLoad("glGenVertexArrays"); - glIsVertexArray = (PFNGLISVERTEXARRAYPROC)gles3wLoad("glIsVertexArray"); - glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)gles3wLoad("glGetIntegeri_v"); - glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)gles3wLoad("glBeginTransformFeedback"); - glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)gles3wLoad("glEndTransformFeedback"); - glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)gles3wLoad("glBindBufferRange"); - glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)gles3wLoad("glBindBufferBase"); - glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)gles3wLoad("glTransformFeedbackVaryings"); - glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)gles3wLoad("glGetTransformFeedbackVarying"); - glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)gles3wLoad("glVertexAttribIPointer"); - glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)gles3wLoad("glGetVertexAttribIiv"); - glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)gles3wLoad("glGetVertexAttribIuiv"); - glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)gles3wLoad("glVertexAttribI4i"); - glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)gles3wLoad("glVertexAttribI4ui"); - glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)gles3wLoad("glVertexAttribI4iv"); - glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)gles3wLoad("glVertexAttribI4uiv"); - glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)gles3wLoad("glGetUniformuiv"); - glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)gles3wLoad("glGetFragDataLocation"); - glUniform1ui = (PFNGLUNIFORM1UIPROC)gles3wLoad("glUniform1ui"); - glUniform2ui = (PFNGLUNIFORM2UIPROC)gles3wLoad("glUniform2ui"); - glUniform3ui = (PFNGLUNIFORM3UIPROC)gles3wLoad("glUniform3ui"); - glUniform4ui = (PFNGLUNIFORM4UIPROC)gles3wLoad("glUniform4ui"); - glUniform1uiv = (PFNGLUNIFORM1UIVPROC)gles3wLoad("glUniform1uiv"); - glUniform2uiv = (PFNGLUNIFORM2UIVPROC)gles3wLoad("glUniform2uiv"); - glUniform3uiv = (PFNGLUNIFORM3UIVPROC)gles3wLoad("glUniform3uiv"); - glUniform4uiv = (PFNGLUNIFORM4UIVPROC)gles3wLoad("glUniform4uiv"); - glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)gles3wLoad("glClearBufferiv"); - glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)gles3wLoad("glClearBufferuiv"); - glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)gles3wLoad("glClearBufferfv"); - glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)gles3wLoad("glClearBufferfi"); - glGetStringi = (PFNGLGETSTRINGIPROC)gles3wLoad("glGetStringi"); - glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)gles3wLoad("glCopyBufferSubData"); - glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)gles3wLoad("glGetUniformIndices"); - glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)gles3wLoad("glGetActiveUniformsiv"); - glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)gles3wLoad("glGetUniformBlockIndex"); - glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)gles3wLoad("glGetActiveUniformBlockiv"); - glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)gles3wLoad("glGetActiveUniformBlockName"); - glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)gles3wLoad("glUniformBlockBinding"); - glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)gles3wLoad("glDrawArraysInstanced"); - glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)gles3wLoad("glDrawElementsInstanced"); - glFenceSync = (PFNGLFENCESYNCPROC)gles3wLoad("glFenceSync"); - glIsSync = (PFNGLISSYNCPROC)gles3wLoad("glIsSync"); - glDeleteSync = (PFNGLDELETESYNCPROC)gles3wLoad("glDeleteSync"); - glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)gles3wLoad("glClientWaitSync"); - glWaitSync = (PFNGLWAITSYNCPROC)gles3wLoad("glWaitSync"); - glGetInteger64v = (PFNGLGETINTEGER64VPROC)gles3wLoad("glGetInteger64v"); - glGetSynciv = (PFNGLGETSYNCIVPROC)gles3wLoad("glGetSynciv"); - glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)gles3wLoad("glGetInteger64i_v"); - glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)gles3wLoad("glGetBufferParameteri64v"); - glGenSamplers = (PFNGLGENSAMPLERSPROC)gles3wLoad("glGenSamplers"); - glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)gles3wLoad("glDeleteSamplers"); - glIsSampler = (PFNGLISSAMPLERPROC)gles3wLoad("glIsSampler"); - glBindSampler = (PFNGLBINDSAMPLERPROC)gles3wLoad("glBindSampler"); - glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)gles3wLoad("glSamplerParameteri"); - glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)gles3wLoad("glSamplerParameteriv"); - glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)gles3wLoad("glSamplerParameterf"); - glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)gles3wLoad("glSamplerParameterfv"); - glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)gles3wLoad("glGetSamplerParameteriv"); - glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)gles3wLoad("glGetSamplerParameterfv"); - glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)gles3wLoad("glVertexAttribDivisor"); - glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)gles3wLoad("glBindTransformFeedback"); - glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)gles3wLoad("glDeleteTransformFeedbacks"); - glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)gles3wLoad("glGenTransformFeedbacks"); - glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)gles3wLoad("glIsTransformFeedback"); - glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)gles3wLoad("glPauseTransformFeedback"); - glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)gles3wLoad("glResumeTransformFeedback"); - glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)gles3wLoad("glGetProgramBinary"); - glProgramBinary = (PFNGLPROGRAMBINARYPROC)gles3wLoad("glProgramBinary"); - glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)gles3wLoad("glProgramParameteri"); - glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)gles3wLoad("glInvalidateFramebuffer"); - glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)gles3wLoad("glInvalidateSubFramebuffer"); - glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)gles3wLoad("glTexStorage2D"); - glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)gles3wLoad("glTexStorage3D"); - glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)gles3wLoad("glGetInternalformativ"); - - - /* GL_ES_VERSION_3_1 */ - glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)gles3wLoad("glDispatchCompute"); - glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)gles3wLoad("glDispatchComputeIndirect"); - - glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)gles3wLoad("glDrawArraysIndirect"); - glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)gles3wLoad("glDrawElementsIndirect"); - - glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)gles3wLoad("glFramebufferParameteri"); - glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)gles3wLoad("glGetFramebufferParameteriv"); - - glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)gles3wLoad("glGetProgramInterfaceiv"); - glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)gles3wLoad("glGetProgramResourceIndex"); - glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)gles3wLoad("glGetProgramResourceName"); - glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)gles3wLoad("glGetProgramResourceiv"); - glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)gles3wLoad("glGetProgramResourceLocation"); - - glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)gles3wLoad("glUseProgramStages"); - glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)gles3wLoad("glActiveShaderProgram"); - glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)gles3wLoad("glCreateShaderProgramv"); - glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)gles3wLoad("glBindProgramPipeline"); - glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)gles3wLoad("glDeleteProgramPipelines"); - glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)gles3wLoad("glGenProgramPipelines"); - glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)gles3wLoad("glIsProgramPipeline"); - glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)gles3wLoad("glGetProgramPipelineiv"); - glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)gles3wLoad("glProgramUniform1i"); - glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)gles3wLoad("glProgramUniform2i"); - glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)gles3wLoad("glProgramUniform3i"); - glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)gles3wLoad("glProgramUniform4i"); - glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)gles3wLoad("glProgramUniform1ui"); - glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)gles3wLoad("glProgramUniform2ui"); - glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)gles3wLoad("glProgramUniform3ui"); - glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)gles3wLoad("glProgramUniform4ui"); - glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)gles3wLoad("glProgramUniform1f"); - glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)gles3wLoad("glProgramUniform2f"); - glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)gles3wLoad("glProgramUniform3f"); - glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)gles3wLoad("glProgramUniform4f"); - glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)gles3wLoad("glProgramUniform1iv"); - glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)gles3wLoad("glProgramUniform2iv"); - glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)gles3wLoad("glProgramUniform3iv"); - glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)gles3wLoad("glProgramUniform4iv"); - glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)gles3wLoad("glProgramUniform1uiv"); - glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)gles3wLoad("glProgramUniform2uiv"); - glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)gles3wLoad("glProgramUniform3uiv"); - glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)gles3wLoad("glProgramUniform4uiv"); - glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)gles3wLoad("glProgramUniform1fv"); - glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)gles3wLoad("glProgramUniform2fv"); - glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)gles3wLoad("glProgramUniform3fv"); - glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)gles3wLoad("glProgramUniform4fv"); - glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)gles3wLoad("glProgramUniformMatrix2fv"); - glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)gles3wLoad("glProgramUniformMatrix3fv"); - glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)gles3wLoad("glProgramUniformMatrix4fv"); - glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)gles3wLoad("glProgramUniformMatrix2x3fv"); - glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)gles3wLoad("glProgramUniformMatrix3x2fv"); - glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)gles3wLoad("glProgramUniformMatrix2x4fv"); - glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)gles3wLoad("glProgramUniformMatrix4x2fv"); - glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)gles3wLoad("glProgramUniformMatrix3x4fv"); - glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)gles3wLoad("glProgramUniformMatrix4x3fv"); - glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)gles3wLoad("glValidateProgramPipeline"); - glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)gles3wLoad("glGetProgramPipelineInfoLog"); - - glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)gles3wLoad("glBindImageTexture"); - glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)gles3wLoad("glGetBooleani_v"); - glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)gles3wLoad("glMemoryBarrier"); - glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)gles3wLoad("glMemoryBarrierByRegion"); - - glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)gles3wLoad("glTexStorage2DMultisample"); - glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)gles3wLoad("glGetMultisamplefv"); - glSampleMaski = (PFNGLSAMPLEMASKIPROC)gles3wLoad("glSampleMaski"); - glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)gles3wLoad("glGetTexLevelParameteriv"); - glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)gles3wLoad("glGetTexLevelParameterfv"); - - glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)gles3wLoad("glBindVertexBuffer"); - glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)gles3wLoad("glVertexAttribFormat"); - glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)gles3wLoad("glVertexAttribIFormat"); - glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)gles3wLoad("glVertexAttribBinding"); - glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)gles3wLoad("glVertexBindingDivisor"); - - - /* GL_ES_VERSION_3_2 */ - glBlendBarrier = (PFNGLBLENDBARRIERPROC)gles3wLoad("glBlendBarrier"); - - glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)gles3wLoad("glCopyImageSubData"); - - glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)gles3wLoad("glDebugMessageControl"); - glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)gles3wLoad("glDebugMessageInsert"); - glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)gles3wLoad("glDebugMessageCallback"); - glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)gles3wLoad("glGetDebugMessageLog"); - glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)gles3wLoad("glPushDebugGroup"); - glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)gles3wLoad("glPopDebugGroup"); - glObjectLabel = (PFNGLOBJECTLABELPROC)gles3wLoad("glObjectLabel"); - glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)gles3wLoad("glGetObjectLabel"); - glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)gles3wLoad("glObjectPtrLabel"); - glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)gles3wLoad("glGetObjectPtrLabel"); - glGetPointerv = (PFNGLGETPOINTERVPROC)gles3wLoad("glGetPointerv"); - - glEnablei = (PFNGLENABLEIPROC)gles3wLoad("glEnablei"); - glDisablei = (PFNGLDISABLEIPROC)gles3wLoad("glDisablei"); - glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)gles3wLoad("glBlendEquationi"); - glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)gles3wLoad("glBlendEquationSeparatei"); - glBlendFunci = (PFNGLBLENDFUNCIPROC)gles3wLoad("glBlendFunci"); - glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)gles3wLoad("glBlendFuncSeparatei"); - glColorMaski = (PFNGLCOLORMASKIPROC)gles3wLoad("glColorMaski"); - glIsEnabledi = (PFNGLISENABLEDIPROC)gles3wLoad("glIsEnabledi"); - - glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawElementsBaseVertex"); - glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)gles3wLoad("glDrawRangeElementsBaseVertex"); - glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)gles3wLoad("glDrawElementsInstancedBaseVertex"); - - glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)gles3wLoad("glFramebufferTexture"); - - glPrimitiveBoundingBox = (PFNGLPRIMITIVEBOUNDINGBOXPROC)gles3wLoad("glPrimitiveBoundingBox"); - - glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)gles3wLoad("glGetGraphicsResetStatus"); - glReadnPixels = (PFNGLREADNPIXELSPROC)gles3wLoad("glReadnPixels"); - glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)gles3wLoad("glGetnUniformfv"); - glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)gles3wLoad("glGetnUniformiv"); - glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)gles3wLoad("glGetnUniformuiv"); - - glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)gles3wLoad("glMinSampleShading"); - - glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)gles3wLoad("glPatchParameteri"); - - glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)gles3wLoad("glTexParameterIiv"); - glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)gles3wLoad("glTexParameterIuiv"); - glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)gles3wLoad("glGetTexParameterIiv"); - glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)gles3wLoad("glGetTexParameterIuiv"); - glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)gles3wLoad("glSamplerParameterIiv"); - glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)gles3wLoad("glSamplerParameterIuiv"); - glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)gles3wLoad("glGetSamplerParameterIiv"); - glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)gles3wLoad("glGetSamplerParameterIuiv"); - - glTexBuffer = (PFNGLTEXBUFFERPROC)gles3wLoad("glTexBuffer"); - glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)gles3wLoad("glTexBufferRange"); - - glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)gles3wLoad("glTexStorage3DMultisample"); - - -#if defined(GL_AMD_framebuffer_multisample_advanced) - glRenderbufferStorageMultisampleAdvancedAMD = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glRenderbufferStorageMultisampleAdvancedAMD"); - glNamedRenderbufferStorageMultisampleAdvancedAMD = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)gles3wLoad("glNamedRenderbufferStorageMultisampleAdvancedAMD"); -#endif /* defined(GL_AMD_framebuffer_multisample_advanced) */ - -#if defined(GL_AMD_performance_monitor) - glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)gles3wLoad("glGetPerfMonitorGroupsAMD"); - glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glGetPerfMonitorCountersAMD"); - glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorGroupStringAMD"); - glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)gles3wLoad("glGetPerfMonitorCounterStringAMD"); - glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)gles3wLoad("glGetPerfMonitorCounterInfoAMD"); - glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)gles3wLoad("glGenPerfMonitorsAMD"); - glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)gles3wLoad("glDeletePerfMonitorsAMD"); - glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)gles3wLoad("glSelectPerfMonitorCountersAMD"); - glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)gles3wLoad("glBeginPerfMonitorAMD"); - glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)gles3wLoad("glEndPerfMonitorAMD"); - glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)gles3wLoad("glGetPerfMonitorCounterDataAMD"); -#endif /* defined(GL_AMD_performance_monitor) */ - -#if defined(GL_ANGLE_framebuffer_blit) - glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)gles3wLoad("glBlitFramebufferANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_blit) */ - -#if defined(GL_ANGLE_framebuffer_multisample) - glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)gles3wLoad("glRenderbufferStorageMultisampleANGLE"); -#endif /* defined(GL_ANGLE_framebuffer_multisample) */ - -#if defined(GL_ANGLE_instanced_arrays) - glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)gles3wLoad("glDrawArraysInstancedANGLE"); - glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)gles3wLoad("glDrawElementsInstancedANGLE"); - glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)gles3wLoad("glVertexAttribDivisorANGLE"); -#endif /* defined(GL_ANGLE_instanced_arrays) */ - -#if defined(GL_ANGLE_translated_shader_source) - glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)gles3wLoad("glGetTranslatedShaderSourceANGLE"); -#endif /* defined(GL_ANGLE_translated_shader_source) */ - -#if defined(GL_APPLE_copy_texture_levels) - glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)gles3wLoad("glCopyTextureLevelsAPPLE"); -#endif /* defined(GL_APPLE_copy_texture_levels) */ - -#if defined(GL_APPLE_framebuffer_multisample) - glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)gles3wLoad("glRenderbufferStorageMultisampleAPPLE"); - glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)gles3wLoad("glResolveMultisampleFramebufferAPPLE"); -#endif /* defined(GL_APPLE_framebuffer_multisample) */ - -#if defined(GL_APPLE_sync) - glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)gles3wLoad("glFenceSyncAPPLE"); - glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)gles3wLoad("glIsSyncAPPLE"); - glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)gles3wLoad("glDeleteSyncAPPLE"); - glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)gles3wLoad("glClientWaitSyncAPPLE"); - glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)gles3wLoad("glWaitSyncAPPLE"); - glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)gles3wLoad("glGetInteger64vAPPLE"); - glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)gles3wLoad("glGetSyncivAPPLE"); -#endif /* defined(GL_APPLE_sync) */ - -#if defined(GL_EXT_EGL_image_storage) - glEGLImageTargetTexStorageEXT = (PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTexStorageEXT"); - - glEGLImageTargetTextureStorageEXT = (PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)gles3wLoad("glEGLImageTargetTextureStorageEXT"); -#endif /* defined(GL_EXT_EGL_image_storage) */ - -#if defined(GL_EXT_base_instance) - glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawArraysInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseInstanceEXT"); - glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexBaseInstanceEXT"); -#endif /* defined(GL_EXT_base_instance) */ - -#if defined(GL_EXT_blend_func_extended) - glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)gles3wLoad("glBindFragDataLocationIndexedEXT"); - glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)gles3wLoad("glBindFragDataLocationEXT"); - glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)gles3wLoad("glGetProgramResourceLocationIndexEXT"); - glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)gles3wLoad("glGetFragDataIndexEXT"); -#endif /* defined(GL_EXT_blend_func_extended) */ - -#if defined(GL_EXT_buffer_storage) - glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)gles3wLoad("glBufferStorageEXT"); -#endif /* defined(GL_EXT_buffer_storage) */ - -#if defined(GL_EXT_clear_texture) - glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)gles3wLoad("glClearTexImageEXT"); - glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)gles3wLoad("glClearTexSubImageEXT"); -#endif /* defined(GL_EXT_clear_texture) */ - -#if defined(GL_EXT_clip_control) - glClipControlEXT = (PFNGLCLIPCONTROLEXTPROC)gles3wLoad("glClipControlEXT"); -#endif /* defined(GL_EXT_clip_control) */ - -#if defined(GL_EXT_copy_image) - glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)gles3wLoad("glCopyImageSubDataEXT"); -#endif /* defined(GL_EXT_copy_image) */ - -#if defined(GL_EXT_debug_label) - glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)gles3wLoad("glLabelObjectEXT"); - glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)gles3wLoad("glGetObjectLabelEXT"); -#endif /* defined(GL_EXT_debug_label) */ - -#if defined(GL_EXT_debug_marker) - glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)gles3wLoad("glInsertEventMarkerEXT"); - glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)gles3wLoad("glPushGroupMarkerEXT"); - glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)gles3wLoad("glPopGroupMarkerEXT"); -#endif /* defined(GL_EXT_debug_marker) */ - -#if defined(GL_EXT_discard_framebuffer) - glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)gles3wLoad("glDiscardFramebufferEXT"); -#endif /* defined(GL_EXT_discard_framebuffer) */ - -#if defined(GL_EXT_disjoint_timer_query) - glGenQueriesEXT = (PFNGLGENQUERIESEXTPROC)gles3wLoad("glGenQueriesEXT"); - glDeleteQueriesEXT = (PFNGLDELETEQUERIESEXTPROC)gles3wLoad("glDeleteQueriesEXT"); - glIsQueryEXT = (PFNGLISQUERYEXTPROC)gles3wLoad("glIsQueryEXT"); - glBeginQueryEXT = (PFNGLBEGINQUERYEXTPROC)gles3wLoad("glBeginQueryEXT"); - glEndQueryEXT = (PFNGLENDQUERYEXTPROC)gles3wLoad("glEndQueryEXT"); - glQueryCounterEXT = (PFNGLQUERYCOUNTEREXTPROC)gles3wLoad("glQueryCounterEXT"); - glGetQueryivEXT = (PFNGLGETQUERYIVEXTPROC)gles3wLoad("glGetQueryivEXT"); - glGetQueryObjectivEXT = (PFNGLGETQUERYOBJECTIVEXTPROC)gles3wLoad("glGetQueryObjectivEXT"); - glGetQueryObjectuivEXT = (PFNGLGETQUERYOBJECTUIVEXTPROC)gles3wLoad("glGetQueryObjectuivEXT"); - glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)gles3wLoad("glGetQueryObjecti64vEXT"); - glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)gles3wLoad("glGetQueryObjectui64vEXT"); - glGetInteger64vEXT = (PFNGLGETINTEGER64VEXTPROC)gles3wLoad("glGetInteger64vEXT"); -#endif /* defined(GL_EXT_disjoint_timer_query) */ - -#if defined(GL_EXT_draw_buffers) - glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)gles3wLoad("glDrawBuffersEXT"); -#endif /* defined(GL_EXT_draw_buffers) */ - -#if defined(GL_EXT_draw_buffers_indexed) - glEnableiEXT = (PFNGLENABLEIEXTPROC)gles3wLoad("glEnableiEXT"); - glDisableiEXT = (PFNGLDISABLEIEXTPROC)gles3wLoad("glDisableiEXT"); - glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)gles3wLoad("glBlendEquationiEXT"); - glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)gles3wLoad("glBlendEquationSeparateiEXT"); - glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)gles3wLoad("glBlendFunciEXT"); - glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)gles3wLoad("glBlendFuncSeparateiEXT"); - glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)gles3wLoad("glColorMaskiEXT"); - glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)gles3wLoad("glIsEnablediEXT"); -#endif /* defined(GL_EXT_draw_buffers_indexed) */ - -#if defined(GL_EXT_draw_elements_base_vertex) - glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsBaseVertexEXT"); - glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glDrawRangeElementsBaseVertexEXT"); - glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)gles3wLoad("glDrawElementsInstancedBaseVertexEXT"); - glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)gles3wLoad("glMultiDrawElementsBaseVertexEXT"); -#endif /* defined(GL_EXT_draw_elements_base_vertex) */ - -#if defined(GL_EXT_draw_instanced) - glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)gles3wLoad("glDrawArraysInstancedEXT"); - glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)gles3wLoad("glDrawElementsInstancedEXT"); -#endif /* defined(GL_EXT_draw_instanced) */ - -#if defined(GL_EXT_draw_transform_feedback) - glDrawTransformFeedbackEXT = (PFNGLDRAWTRANSFORMFEEDBACKEXTPROC)gles3wLoad("glDrawTransformFeedbackEXT"); - glDrawTransformFeedbackInstancedEXT = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC)gles3wLoad("glDrawTransformFeedbackInstancedEXT"); -#endif /* defined(GL_EXT_draw_transform_feedback) */ - -#if defined(GL_EXT_external_buffer) - glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glBufferStorageExternalEXT"); - glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)gles3wLoad("glNamedBufferStorageExternalEXT"); -#endif /* defined(GL_EXT_external_buffer) */ - -#if defined(GL_EXT_geometry_shader) - glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)gles3wLoad("glFramebufferTextureEXT"); -#endif /* defined(GL_EXT_geometry_shader) */ - -#if defined(GL_EXT_instanced_arrays) - glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)gles3wLoad("glVertexAttribDivisorEXT"); -#endif /* defined(GL_EXT_instanced_arrays) */ - -#if defined(GL_EXT_map_buffer_range) - glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)gles3wLoad("glMapBufferRangeEXT"); - glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)gles3wLoad("glFlushMappedBufferRangeEXT"); -#endif /* defined(GL_EXT_map_buffer_range) */ - -#if defined(GL_EXT_memory_object) - glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)gles3wLoad("glGetUnsignedBytevEXT"); - glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)gles3wLoad("glGetUnsignedBytei_vEXT"); - glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)gles3wLoad("glDeleteMemoryObjectsEXT"); - glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)gles3wLoad("glIsMemoryObjectEXT"); - glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)gles3wLoad("glCreateMemoryObjectsEXT"); - glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glMemoryObjectParameterivEXT"); - glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)gles3wLoad("glGetMemoryObjectParameterivEXT"); - glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)gles3wLoad("glTexStorageMem2DEXT"); - glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem2DMultisampleEXT"); - glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)gles3wLoad("glTexStorageMem3DEXT"); - glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTexStorageMem3DMultisampleEXT"); - glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glBufferStorageMemEXT"); - - glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)gles3wLoad("glTextureStorageMem2DEXT"); - glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem2DMultisampleEXT"); - glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)gles3wLoad("glTextureStorageMem3DEXT"); - glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)gles3wLoad("glTextureStorageMem3DMultisampleEXT"); - glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)gles3wLoad("glNamedBufferStorageMemEXT"); -#endif /* defined(GL_EXT_memory_object) */ - -#if defined(GL_EXT_memory_object_fd) - glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)gles3wLoad("glImportMemoryFdEXT"); -#endif /* defined(GL_EXT_memory_object_fd) */ - -#if defined(GL_EXT_memory_object_win32) - glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)gles3wLoad("glImportMemoryWin32HandleEXT"); - glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)gles3wLoad("glImportMemoryWin32NameEXT"); -#endif /* defined(GL_EXT_memory_object_win32) */ - -#if defined(GL_EXT_multi_draw_arrays) - glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)gles3wLoad("glMultiDrawArraysEXT"); - glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)gles3wLoad("glMultiDrawElementsEXT"); -#endif /* defined(GL_EXT_multi_draw_arrays) */ - -#if defined(GL_EXT_multi_draw_indirect) - glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)gles3wLoad("glMultiDrawArraysIndirectEXT"); - glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)gles3wLoad("glMultiDrawElementsIndirectEXT"); -#endif /* defined(GL_EXT_multi_draw_indirect) */ - -#if defined(GL_EXT_multisampled_render_to_texture) - glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)gles3wLoad("glRenderbufferStorageMultisampleEXT"); - glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)gles3wLoad("glFramebufferTexture2DMultisampleEXT"); -#endif /* defined(GL_EXT_multisampled_render_to_texture) */ - -#if defined(GL_EXT_multiview_draw_buffers) - glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)gles3wLoad("glReadBufferIndexedEXT"); - glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)gles3wLoad("glDrawBuffersIndexedEXT"); - glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)gles3wLoad("glGetIntegeri_vEXT"); -#endif /* defined(GL_EXT_multiview_draw_buffers) */ - -#if defined(GL_EXT_polygon_offset_clamp) - glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)gles3wLoad("glPolygonOffsetClampEXT"); -#endif /* defined(GL_EXT_polygon_offset_clamp) */ - -#if defined(GL_EXT_primitive_bounding_box) - glPrimitiveBoundingBoxEXT = (PFNGLPRIMITIVEBOUNDINGBOXEXTPROC)gles3wLoad("glPrimitiveBoundingBoxEXT"); -#endif /* defined(GL_EXT_primitive_bounding_box) */ - -#if defined(GL_EXT_raster_multisample) - glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)gles3wLoad("glRasterSamplesEXT"); -#endif /* defined(GL_EXT_raster_multisample) */ - -#if defined(GL_EXT_robustness) - glGetGraphicsResetStatusEXT = (PFNGLGETGRAPHICSRESETSTATUSEXTPROC)gles3wLoad("glGetGraphicsResetStatusEXT"); - glReadnPixelsEXT = (PFNGLREADNPIXELSEXTPROC)gles3wLoad("glReadnPixelsEXT"); - glGetnUniformfvEXT = (PFNGLGETNUNIFORMFVEXTPROC)gles3wLoad("glGetnUniformfvEXT"); - glGetnUniformivEXT = (PFNGLGETNUNIFORMIVEXTPROC)gles3wLoad("glGetnUniformivEXT"); -#endif /* defined(GL_EXT_robustness) */ - -#if defined(GL_EXT_semaphore) - glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)gles3wLoad("glGenSemaphoresEXT"); - glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)gles3wLoad("glDeleteSemaphoresEXT"); - glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)gles3wLoad("glIsSemaphoreEXT"); - glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glSemaphoreParameterui64vEXT"); - glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)gles3wLoad("glGetSemaphoreParameterui64vEXT"); - glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)gles3wLoad("glWaitSemaphoreEXT"); - glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)gles3wLoad("glSignalSemaphoreEXT"); -#endif /* defined(GL_EXT_semaphore) */ - -#if defined(GL_EXT_semaphore_fd) - glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)gles3wLoad("glImportSemaphoreFdEXT"); -#endif /* defined(GL_EXT_semaphore_fd) */ - -#if defined(GL_EXT_semaphore_win32) - glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)gles3wLoad("glImportSemaphoreWin32HandleEXT"); - glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)gles3wLoad("glImportSemaphoreWin32NameEXT"); -#endif /* defined(GL_EXT_semaphore_win32) */ - -#if defined(GL_EXT_separate_shader_objects) - glActiveShaderProgramEXT = (PFNGLACTIVESHADERPROGRAMEXTPROC)gles3wLoad("glActiveShaderProgramEXT"); - glBindProgramPipelineEXT = (PFNGLBINDPROGRAMPIPELINEEXTPROC)gles3wLoad("glBindProgramPipelineEXT"); - glCreateShaderProgramvEXT = (PFNGLCREATESHADERPROGRAMVEXTPROC)gles3wLoad("glCreateShaderProgramvEXT"); - glDeleteProgramPipelinesEXT = (PFNGLDELETEPROGRAMPIPELINESEXTPROC)gles3wLoad("glDeleteProgramPipelinesEXT"); - glGenProgramPipelinesEXT = (PFNGLGENPROGRAMPIPELINESEXTPROC)gles3wLoad("glGenProgramPipelinesEXT"); - glGetProgramPipelineInfoLogEXT = (PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC)gles3wLoad("glGetProgramPipelineInfoLogEXT"); - glGetProgramPipelineivEXT = (PFNGLGETPROGRAMPIPELINEIVEXTPROC)gles3wLoad("glGetProgramPipelineivEXT"); - glIsProgramPipelineEXT = (PFNGLISPROGRAMPIPELINEEXTPROC)gles3wLoad("glIsProgramPipelineEXT"); - glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)gles3wLoad("glProgramParameteriEXT"); - glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)gles3wLoad("glProgramUniform1fEXT"); - glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)gles3wLoad("glProgramUniform1fvEXT"); - glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)gles3wLoad("glProgramUniform1iEXT"); - glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)gles3wLoad("glProgramUniform1ivEXT"); - glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)gles3wLoad("glProgramUniform2fEXT"); - glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)gles3wLoad("glProgramUniform2fvEXT"); - glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)gles3wLoad("glProgramUniform2iEXT"); - glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)gles3wLoad("glProgramUniform2ivEXT"); - glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)gles3wLoad("glProgramUniform3fEXT"); - glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)gles3wLoad("glProgramUniform3fvEXT"); - glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)gles3wLoad("glProgramUniform3iEXT"); - glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)gles3wLoad("glProgramUniform3ivEXT"); - glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)gles3wLoad("glProgramUniform4fEXT"); - glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)gles3wLoad("glProgramUniform4fvEXT"); - glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)gles3wLoad("glProgramUniform4iEXT"); - glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)gles3wLoad("glProgramUniform4ivEXT"); - glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)gles3wLoad("glProgramUniformMatrix2fvEXT"); - glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)gles3wLoad("glProgramUniformMatrix3fvEXT"); - glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)gles3wLoad("glProgramUniformMatrix4fvEXT"); - glUseProgramStagesEXT = (PFNGLUSEPROGRAMSTAGESEXTPROC)gles3wLoad("glUseProgramStagesEXT"); - glValidateProgramPipelineEXT = (PFNGLVALIDATEPROGRAMPIPELINEEXTPROC)gles3wLoad("glValidateProgramPipelineEXT"); - - glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)gles3wLoad("glProgramUniform1uiEXT"); - glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)gles3wLoad("glProgramUniform2uiEXT"); - glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)gles3wLoad("glProgramUniform3uiEXT"); - glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)gles3wLoad("glProgramUniform4uiEXT"); - glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)gles3wLoad("glProgramUniform1uivEXT"); - glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)gles3wLoad("glProgramUniform2uivEXT"); - glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)gles3wLoad("glProgramUniform3uivEXT"); - glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)gles3wLoad("glProgramUniform4uivEXT"); - glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x3fvEXT"); - glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x2fvEXT"); - glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix2x4fvEXT"); - glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x2fvEXT"); - glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)gles3wLoad("glProgramUniformMatrix3x4fvEXT"); - glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)gles3wLoad("glProgramUniformMatrix4x3fvEXT"); -#endif /* defined(GL_EXT_separate_shader_objects) */ - -#if defined(GL_EXT_shader_framebuffer_fetch_non_coherent) - glFramebufferFetchBarrierEXT = (PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)gles3wLoad("glFramebufferFetchBarrierEXT"); -#endif /* defined(GL_EXT_shader_framebuffer_fetch_non_coherent) */ - -#if defined(GL_EXT_shader_pixel_local_storage2) - glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glFramebufferPixelLocalStorageSizeEXT"); - glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)gles3wLoad("glGetFramebufferPixelLocalStorageSizeEXT"); - glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)gles3wLoad("glClearPixelLocalStorageuiEXT"); -#endif /* defined(GL_EXT_shader_pixel_local_storage2) */ - -#if defined(GL_EXT_sparse_texture) - glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)gles3wLoad("glTexPageCommitmentEXT"); -#endif /* defined(GL_EXT_sparse_texture) */ - -#if defined(GL_EXT_tessellation_shader) - glPatchParameteriEXT = (PFNGLPATCHPARAMETERIEXTPROC)gles3wLoad("glPatchParameteriEXT"); -#endif /* defined(GL_EXT_tessellation_shader) */ - -#if defined(GL_EXT_texture_border_clamp) - glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)gles3wLoad("glTexParameterIivEXT"); - glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)gles3wLoad("glTexParameterIuivEXT"); - glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)gles3wLoad("glGetTexParameterIivEXT"); - glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)gles3wLoad("glGetTexParameterIuivEXT"); - glSamplerParameterIivEXT = (PFNGLSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glSamplerParameterIivEXT"); - glSamplerParameterIuivEXT = (PFNGLSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glSamplerParameterIuivEXT"); - glGetSamplerParameterIivEXT = (PFNGLGETSAMPLERPARAMETERIIVEXTPROC)gles3wLoad("glGetSamplerParameterIivEXT"); - glGetSamplerParameterIuivEXT = (PFNGLGETSAMPLERPARAMETERIUIVEXTPROC)gles3wLoad("glGetSamplerParameterIuivEXT"); -#endif /* defined(GL_EXT_texture_border_clamp) */ - -#if defined(GL_EXT_texture_buffer) - glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)gles3wLoad("glTexBufferEXT"); - glTexBufferRangeEXT = (PFNGLTEXBUFFERRANGEEXTPROC)gles3wLoad("glTexBufferRangeEXT"); -#endif /* defined(GL_EXT_texture_buffer) */ - -#if defined(GL_EXT_texture_storage) - glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)gles3wLoad("glTexStorage1DEXT"); - glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)gles3wLoad("glTexStorage2DEXT"); - glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)gles3wLoad("glTexStorage3DEXT"); - - glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)gles3wLoad("glTextureStorage1DEXT"); - glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)gles3wLoad("glTextureStorage2DEXT"); - glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)gles3wLoad("glTextureStorage3DEXT"); -#endif /* defined(GL_EXT_texture_storage) */ - -#if defined(GL_EXT_texture_view) - glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)gles3wLoad("glTextureViewEXT"); -#endif /* defined(GL_EXT_texture_view) */ - -#if defined(GL_NV_timeline_semaphore) - glCreateSemaphoresNV = (PFNGLCREATESEMAPHORESNVPROC)gles3wLoad("glCreateSemaphoresNV"); - glSemaphoreParameterivNV = (PFNGLSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glSemaphoreParameterivNV"); - glGetSemaphoreParameterivNV = (PFNGLGETSEMAPHOREPARAMETERIVNVPROC)gles3wLoad("glGetSemaphoreParameterivNV"); -#endif /* defined(GL_NV_timeline_semaphore) */ - -#if defined(GL_EXT_win32_keyed_mutex) - glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glAcquireKeyedMutexWin32EXT"); - glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)gles3wLoad("glReleaseKeyedMutexWin32EXT"); -#endif /* defined(GL_EXT_win32_keyed_mutex) */ - -#if defined(GL_EXT_window_rectangles) - glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)gles3wLoad("glWindowRectanglesEXT"); -#endif /* defined(GL_EXT_window_rectangles) */ - -#if defined(GL_IMG_bindless_texture) - glGetTextureHandleIMG = (PFNGLGETTEXTUREHANDLEIMGPROC)gles3wLoad("glGetTextureHandleIMG"); - glGetTextureSamplerHandleIMG = (PFNGLGETTEXTURESAMPLERHANDLEIMGPROC)gles3wLoad("glGetTextureSamplerHandleIMG"); - glUniformHandleui64IMG = (PFNGLUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glUniformHandleui64IMG"); - glUniformHandleui64vIMG = (PFNGLUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glUniformHandleui64vIMG"); - glProgramUniformHandleui64IMG = (PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC)gles3wLoad("glProgramUniformHandleui64IMG"); - glProgramUniformHandleui64vIMG = (PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC)gles3wLoad("glProgramUniformHandleui64vIMG"); -#endif /* defined(GL_IMG_bindless_texture) */ - -#if defined(GL_IMG_framebuffer_downsample) - glFramebufferTexture2DDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DDownsampleIMG"); - glFramebufferTextureLayerDownsampleIMG = (PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC)gles3wLoad("glFramebufferTextureLayerDownsampleIMG"); -#endif /* defined(GL_IMG_framebuffer_downsample) */ - -#if defined(GL_IMG_multisampled_render_to_texture) - glRenderbufferStorageMultisampleIMG = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC)gles3wLoad("glRenderbufferStorageMultisampleIMG"); - glFramebufferTexture2DMultisampleIMG = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC)gles3wLoad("glFramebufferTexture2DMultisampleIMG"); -#endif /* defined(GL_IMG_multisampled_render_to_texture) */ - -#if defined(GL_INTEL_framebuffer_CMAA) - glApplyFramebufferAttachmentCMAAINTEL = (PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC)gles3wLoad("glApplyFramebufferAttachmentCMAAINTEL"); -#endif /* defined(GL_INTEL_framebuffer_CMAA) */ - -#if defined(GL_INTEL_performance_query) - glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)gles3wLoad("glBeginPerfQueryINTEL"); - glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)gles3wLoad("glCreatePerfQueryINTEL"); - glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)gles3wLoad("glDeletePerfQueryINTEL"); - glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)gles3wLoad("glEndPerfQueryINTEL"); - glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)gles3wLoad("glGetFirstPerfQueryIdINTEL"); - glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)gles3wLoad("glGetNextPerfQueryIdINTEL"); - glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)gles3wLoad("glGetPerfCounterInfoINTEL"); - glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)gles3wLoad("glGetPerfQueryDataINTEL"); - glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)gles3wLoad("glGetPerfQueryIdByNameINTEL"); - glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)gles3wLoad("glGetPerfQueryInfoINTEL"); -#endif /* defined(GL_INTEL_performance_query) */ - -#if defined(GL_KHR_blend_equation_advanced) - glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)gles3wLoad("glBlendBarrierKHR"); -#endif /* defined(GL_KHR_blend_equation_advanced) */ - -#if defined(GL_KHR_debug) - glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)gles3wLoad("glDebugMessageControlKHR"); - glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)gles3wLoad("glDebugMessageInsertKHR"); - glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)gles3wLoad("glDebugMessageCallbackKHR"); - glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)gles3wLoad("glGetDebugMessageLogKHR"); - glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)gles3wLoad("glPushDebugGroupKHR"); - glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)gles3wLoad("glPopDebugGroupKHR"); - glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)gles3wLoad("glObjectLabelKHR"); - glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)gles3wLoad("glGetObjectLabelKHR"); - glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)gles3wLoad("glObjectPtrLabelKHR"); - glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)gles3wLoad("glGetObjectPtrLabelKHR"); - glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)gles3wLoad("glGetPointervKHR"); -#endif /* defined(GL_KHR_debug) */ - -#if defined(GL_KHR_robustness) - glGetGraphicsResetStatusKHR = (PFNGLGETGRAPHICSRESETSTATUSKHRPROC)gles3wLoad("glGetGraphicsResetStatusKHR"); - glReadnPixelsKHR = (PFNGLREADNPIXELSKHRPROC)gles3wLoad("glReadnPixelsKHR"); - glGetnUniformfvKHR = (PFNGLGETNUNIFORMFVKHRPROC)gles3wLoad("glGetnUniformfvKHR"); - glGetnUniformivKHR = (PFNGLGETNUNIFORMIVKHRPROC)gles3wLoad("glGetnUniformivKHR"); - glGetnUniformuivKHR = (PFNGLGETNUNIFORMUIVKHRPROC)gles3wLoad("glGetnUniformuivKHR"); -#endif /* defined(GL_KHR_robustness) */ - -#if defined(GL_KHR_parallel_shader_compile) - glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)gles3wLoad("glMaxShaderCompilerThreadsKHR"); -#endif /* defined(GL_KHR_parallel_shader_compile) */ - -#if defined(GL_MESA_framebuffer_flip_y) - glFramebufferParameteriMESA = (PFNGLFRAMEBUFFERPARAMETERIMESAPROC)gles3wLoad("glFramebufferParameteriMESA"); - glGetFramebufferParameterivMESA = (PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)gles3wLoad("glGetFramebufferParameterivMESA"); -#endif /* defined(GL_MESA_framebuffer_flip_y) */ - -#if defined(GL_NV_bindless_texture) - glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)gles3wLoad("glGetTextureHandleNV"); - glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)gles3wLoad("glGetTextureSamplerHandleNV"); - glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glMakeTextureHandleResidentNV"); - glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeTextureHandleNonResidentNV"); - glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)gles3wLoad("glGetImageHandleNV"); - glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glMakeImageHandleResidentNV"); - glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)gles3wLoad("glMakeImageHandleNonResidentNV"); - glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)gles3wLoad("glUniformHandleui64NV"); - glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glUniformHandleui64vNV"); - glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)gles3wLoad("glProgramUniformHandleui64NV"); - glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)gles3wLoad("glProgramUniformHandleui64vNV"); - glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)gles3wLoad("glIsTextureHandleResidentNV"); - glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)gles3wLoad("glIsImageHandleResidentNV"); -#endif /* defined(GL_NV_bindless_texture) */ - -#if defined(GL_NV_blend_equation_advanced) - glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)gles3wLoad("glBlendParameteriNV"); - glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)gles3wLoad("glBlendBarrierNV"); -#endif /* defined(GL_NV_blend_equation_advanced) */ - -#if defined(GL_NV_clip_space_w_scaling) - glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)gles3wLoad("glViewportPositionWScaleNV"); -#endif /* defined(GL_NV_clip_space_w_scaling) */ - -#if defined(GL_NV_conditional_render) - glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)gles3wLoad("glBeginConditionalRenderNV"); - glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)gles3wLoad("glEndConditionalRenderNV"); -#endif /* defined(GL_NV_conditional_render) */ - -#if defined(GL_NV_conservative_raster) - glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)gles3wLoad("glSubpixelPrecisionBiasNV"); -#endif /* defined(GL_NV_conservative_raster) */ - -#if defined(GL_NV_conservative_raster_pre_snap_triangles) - glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)gles3wLoad("glConservativeRasterParameteriNV"); -#endif /* defined(GL_NV_conservative_raster_pre_snap_triangles) */ - -#if defined(GL_NV_copy_buffer) - glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)gles3wLoad("glCopyBufferSubDataNV"); -#endif /* defined(GL_NV_copy_buffer) */ - -#if defined(GL_NV_coverage_sample) - glCoverageMaskNV = (PFNGLCOVERAGEMASKNVPROC)gles3wLoad("glCoverageMaskNV"); - glCoverageOperationNV = (PFNGLCOVERAGEOPERATIONNVPROC)gles3wLoad("glCoverageOperationNV"); -#endif /* defined(GL_NV_coverage_sample) */ - -#if defined(GL_NV_draw_buffers) - glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)gles3wLoad("glDrawBuffersNV"); -#endif /* defined(GL_NV_draw_buffers) */ - -#if defined(GL_NV_draw_instanced) - glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)gles3wLoad("glDrawArraysInstancedNV"); - glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)gles3wLoad("glDrawElementsInstancedNV"); -#endif /* defined(GL_NV_draw_instanced) */ - -#if defined(GL_NV_draw_vulkan_image) - glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)gles3wLoad("glDrawVkImageNV"); - glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)gles3wLoad("glGetVkProcAddrNV"); - glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)gles3wLoad("glWaitVkSemaphoreNV"); - glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)gles3wLoad("glSignalVkSemaphoreNV"); - glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)gles3wLoad("glSignalVkFenceNV"); -#endif /* defined(GL_NV_draw_vulkan_image) */ - -#if defined(GL_NV_fence) - glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)gles3wLoad("glDeleteFencesNV"); - glGenFencesNV = (PFNGLGENFENCESNVPROC)gles3wLoad("glGenFencesNV"); - glIsFenceNV = (PFNGLISFENCENVPROC)gles3wLoad("glIsFenceNV"); - glTestFenceNV = (PFNGLTESTFENCENVPROC)gles3wLoad("glTestFenceNV"); - glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)gles3wLoad("glGetFenceivNV"); - glFinishFenceNV = (PFNGLFINISHFENCENVPROC)gles3wLoad("glFinishFenceNV"); - glSetFenceNV = (PFNGLSETFENCENVPROC)gles3wLoad("glSetFenceNV"); -#endif /* defined(GL_NV_fence) */ - -#if defined(GL_NV_fragment_coverage_to_color) - glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)gles3wLoad("glFragmentCoverageColorNV"); -#endif /* defined(GL_NV_fragment_coverage_to_color) */ - -#if defined(GL_NV_framebuffer_blit) - glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)gles3wLoad("glBlitFramebufferNV"); -#endif /* defined(GL_NV_framebuffer_blit) */ - -#if defined(GL_NV_framebuffer_mixed_samples) - glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glCoverageModulationTableNV"); - glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)gles3wLoad("glGetCoverageModulationTableNV"); - glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)gles3wLoad("glCoverageModulationNV"); -#endif /* defined(GL_NV_framebuffer_mixed_samples) */ - -#if defined(GL_NV_framebuffer_multisample) - glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)gles3wLoad("glRenderbufferStorageMultisampleNV"); -#endif /* defined(GL_NV_framebuffer_multisample) */ - -#if defined(GL_NV_gpu_shader5) - glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)gles3wLoad("glUniform1i64NV"); - glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)gles3wLoad("glUniform2i64NV"); - glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)gles3wLoad("glUniform3i64NV"); - glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)gles3wLoad("glUniform4i64NV"); - glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)gles3wLoad("glUniform1i64vNV"); - glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)gles3wLoad("glUniform2i64vNV"); - glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)gles3wLoad("glUniform3i64vNV"); - glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)gles3wLoad("glUniform4i64vNV"); - glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)gles3wLoad("glUniform1ui64NV"); - glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)gles3wLoad("glUniform2ui64NV"); - glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)gles3wLoad("glUniform3ui64NV"); - glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)gles3wLoad("glUniform4ui64NV"); - glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)gles3wLoad("glUniform1ui64vNV"); - glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)gles3wLoad("glUniform2ui64vNV"); - glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)gles3wLoad("glUniform3ui64vNV"); - glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)gles3wLoad("glUniform4ui64vNV"); - glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)gles3wLoad("glGetUniformi64vNV"); - - glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)gles3wLoad("glProgramUniform1i64NV"); - glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)gles3wLoad("glProgramUniform2i64NV"); - glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)gles3wLoad("glProgramUniform3i64NV"); - glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)gles3wLoad("glProgramUniform4i64NV"); - glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)gles3wLoad("glProgramUniform1i64vNV"); - glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)gles3wLoad("glProgramUniform2i64vNV"); - glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)gles3wLoad("glProgramUniform3i64vNV"); - glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)gles3wLoad("glProgramUniform4i64vNV"); - glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)gles3wLoad("glProgramUniform1ui64NV"); - glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)gles3wLoad("glProgramUniform2ui64NV"); - glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)gles3wLoad("glProgramUniform3ui64NV"); - glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)gles3wLoad("glProgramUniform4ui64NV"); - glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)gles3wLoad("glProgramUniform1ui64vNV"); - glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)gles3wLoad("glProgramUniform2ui64vNV"); - glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)gles3wLoad("glProgramUniform3ui64vNV"); - glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)gles3wLoad("glProgramUniform4ui64vNV"); -#endif /* defined(GL_NV_gpu_shader5) */ - -#if defined(GL_NV_instanced_arrays) - glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)gles3wLoad("glVertexAttribDivisorNV"); -#endif /* defined(GL_NV_instanced_arrays) */ - -#if defined(GL_NV_internalformat_sample_query) - glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)gles3wLoad("glGetInternalformatSampleivNV"); -#endif /* defined(GL_NV_internalformat_sample_query) */ - -#if defined(GL_NV_memory_attachment) - glGetMemoryObjectDetachedResourcesuivNV = (PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)gles3wLoad("glGetMemoryObjectDetachedResourcesuivNV"); - glResetMemoryObjectParameterNV = (PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)gles3wLoad("glResetMemoryObjectParameterNV"); - glTexAttachMemoryNV = (PFNGLTEXATTACHMEMORYNVPROC)gles3wLoad("glTexAttachMemoryNV"); - glBufferAttachMemoryNV = (PFNGLBUFFERATTACHMEMORYNVPROC)gles3wLoad("glBufferAttachMemoryNV"); - - glTextureAttachMemoryNV = (PFNGLTEXTUREATTACHMEMORYNVPROC)gles3wLoad("glTextureAttachMemoryNV"); - glNamedBufferAttachMemoryNV = (PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)gles3wLoad("glNamedBufferAttachMemoryNV"); -#endif /* defined(GL_NV_memory_attachment) */ - -#if defined(GL_NV_memory_object_sparse) - glBufferPageCommitmentMemNV = (PFNGLBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glBufferPageCommitmentMemNV"); - glTexPageCommitmentMemNV = (PFNGLTEXPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexPageCommitmentMemNV"); - - glNamedBufferPageCommitmentMemNV = (PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC)gles3wLoad("glNamedBufferPageCommitmentMemNV"); - glTexturePageCommitmentMemNV = (PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC)gles3wLoad("glTexturePageCommitmentMemNV"); -#endif /* defined(GL_NV_memory_object_sparse) */ - -#if defined(GL_NV_mesh_shader) - glDrawMeshTasksNV = (PFNGLDRAWMESHTASKSNVPROC)gles3wLoad("glDrawMeshTasksNV"); - glDrawMeshTasksIndirectNV = (PFNGLDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectNV"); - glMultiDrawMeshTasksIndirectCountNV = (PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)gles3wLoad("glMultiDrawMeshTasksIndirectCountNV"); -#endif /* defined(GL_NV_mesh_shader) */ - -#if defined(GL_NV_non_square_matrices) - glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)gles3wLoad("glUniformMatrix2x3fvNV"); - glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)gles3wLoad("glUniformMatrix3x2fvNV"); - glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)gles3wLoad("glUniformMatrix2x4fvNV"); - glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)gles3wLoad("glUniformMatrix4x2fvNV"); - glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)gles3wLoad("glUniformMatrix3x4fvNV"); - glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)gles3wLoad("glUniformMatrix4x3fvNV"); -#endif /* defined(GL_NV_non_square_matrices) */ - -#if defined(GL_NV_path_rendering) - glGenPathsNV = (PFNGLGENPATHSNVPROC)gles3wLoad("glGenPathsNV"); - glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)gles3wLoad("glDeletePathsNV"); - glIsPathNV = (PFNGLISPATHNVPROC)gles3wLoad("glIsPathNV"); - glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)gles3wLoad("glPathCommandsNV"); - glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)gles3wLoad("glPathCoordsNV"); - glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)gles3wLoad("glPathSubCommandsNV"); - glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)gles3wLoad("glPathSubCoordsNV"); - glPathStringNV = (PFNGLPATHSTRINGNVPROC)gles3wLoad("glPathStringNV"); - glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)gles3wLoad("glPathGlyphsNV"); - glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)gles3wLoad("glPathGlyphRangeNV"); - glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)gles3wLoad("glWeightPathsNV"); - glCopyPathNV = (PFNGLCOPYPATHNVPROC)gles3wLoad("glCopyPathNV"); - glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)gles3wLoad("glInterpolatePathsNV"); - glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)gles3wLoad("glTransformPathNV"); - glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)gles3wLoad("glPathParameterivNV"); - glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)gles3wLoad("glPathParameteriNV"); - glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)gles3wLoad("glPathParameterfvNV"); - glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)gles3wLoad("glPathParameterfNV"); - glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)gles3wLoad("glPathDashArrayNV"); - glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)gles3wLoad("glPathStencilFuncNV"); - glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)gles3wLoad("glPathStencilDepthOffsetNV"); - glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)gles3wLoad("glStencilFillPathNV"); - glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)gles3wLoad("glStencilStrokePathNV"); - glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilFillPathInstancedNV"); - glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilStrokePathInstancedNV"); - glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)gles3wLoad("glPathCoverDepthFuncNV"); - glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)gles3wLoad("glCoverFillPathNV"); - glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)gles3wLoad("glCoverStrokePathNV"); - glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glCoverFillPathInstancedNV"); - glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glCoverStrokePathInstancedNV"); - glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)gles3wLoad("glGetPathParameterivNV"); - glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)gles3wLoad("glGetPathParameterfvNV"); - glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)gles3wLoad("glGetPathCommandsNV"); - glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)gles3wLoad("glGetPathCoordsNV"); - glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)gles3wLoad("glGetPathDashArrayNV"); - glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)gles3wLoad("glGetPathMetricsNV"); - glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)gles3wLoad("glGetPathMetricRangeNV"); - glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)gles3wLoad("glGetPathSpacingNV"); - glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)gles3wLoad("glIsPointInFillPathNV"); - glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)gles3wLoad("glIsPointInStrokePathNV"); - glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)gles3wLoad("glGetPathLengthNV"); - glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)gles3wLoad("glPointAlongPathNV"); - - glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)gles3wLoad("glMatrixLoad3x2fNV"); - glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)gles3wLoad("glMatrixLoad3x3fNV"); - glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixLoadTranspose3x3fNV"); - glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)gles3wLoad("glMatrixMult3x2fNV"); - glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)gles3wLoad("glMatrixMult3x3fNV"); - glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)gles3wLoad("glMatrixMultTranspose3x3fNV"); - glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)gles3wLoad("glStencilThenCoverFillPathNV"); - glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)gles3wLoad("glStencilThenCoverStrokePathNV"); - glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverFillPathInstancedNV"); - glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)gles3wLoad("glStencilThenCoverStrokePathInstancedNV"); - glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)gles3wLoad("glPathGlyphIndexRangeNV"); - - glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathGlyphIndexArrayNV"); - glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)gles3wLoad("glPathMemoryGlyphIndexArrayNV"); - glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)gles3wLoad("glProgramPathFragmentInputGenNV"); - glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)gles3wLoad("glGetProgramResourcefvNV"); - - glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)gles3wLoad("glMatrixFrustumEXT"); - glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)gles3wLoad("glMatrixLoadIdentityEXT"); - glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)gles3wLoad("glMatrixLoadTransposefEXT"); - glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)gles3wLoad("glMatrixLoadTransposedEXT"); - glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)gles3wLoad("glMatrixLoadfEXT"); - glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)gles3wLoad("glMatrixLoaddEXT"); - glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)gles3wLoad("glMatrixMultTransposefEXT"); - glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)gles3wLoad("glMatrixMultTransposedEXT"); - glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)gles3wLoad("glMatrixMultfEXT"); - glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)gles3wLoad("glMatrixMultdEXT"); - glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)gles3wLoad("glMatrixOrthoEXT"); - glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)gles3wLoad("glMatrixPopEXT"); - glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)gles3wLoad("glMatrixPushEXT"); - glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)gles3wLoad("glMatrixRotatefEXT"); - glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)gles3wLoad("glMatrixRotatedEXT"); - glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)gles3wLoad("glMatrixScalefEXT"); - glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)gles3wLoad("glMatrixScaledEXT"); - glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)gles3wLoad("glMatrixTranslatefEXT"); - glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)gles3wLoad("glMatrixTranslatedEXT"); -#endif /* defined(GL_NV_path_rendering) */ - -#if defined(GL_NV_polygon_mode) - glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)gles3wLoad("glPolygonModeNV"); -#endif /* defined(GL_NV_polygon_mode) */ - -#if defined(GL_NV_read_buffer) - glReadBufferNV = (PFNGLREADBUFFERNVPROC)gles3wLoad("glReadBufferNV"); -#endif /* defined(GL_NV_read_buffer) */ - -#if defined(GL_NV_sample_locations) - glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glFramebufferSampleLocationsfvNV"); - glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)gles3wLoad("glNamedFramebufferSampleLocationsfvNV"); - glResolveDepthValuesNV = (PFNGLRESOLVEDEPTHVALUESNVPROC)gles3wLoad("glResolveDepthValuesNV"); -#endif /* defined(GL_NV_sample_locations) */ - -#if defined(GL_NV_scissor_exclusive) - glScissorExclusiveNV = (PFNGLSCISSOREXCLUSIVENVPROC)gles3wLoad("glScissorExclusiveNV"); - glScissorExclusiveArrayvNV = (PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)gles3wLoad("glScissorExclusiveArrayvNV"); -#endif /* defined(GL_NV_scissor_exclusive) */ - -#if defined(GL_NV_shading_rate_image) - glBindShadingRateImageNV = (PFNGLBINDSHADINGRATEIMAGENVPROC)gles3wLoad("glBindShadingRateImageNV"); - glGetShadingRateImagePaletteNV = (PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glGetShadingRateImagePaletteNV"); - glGetShadingRateSampleLocationivNV = (PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)gles3wLoad("glGetShadingRateSampleLocationivNV"); - glShadingRateImageBarrierNV = (PFNGLSHADINGRATEIMAGEBARRIERNVPROC)gles3wLoad("glShadingRateImageBarrierNV"); - glShadingRateImagePaletteNV = (PFNGLSHADINGRATEIMAGEPALETTENVPROC)gles3wLoad("glShadingRateImagePaletteNV"); - glShadingRateSampleOrderNV = (PFNGLSHADINGRATESAMPLEORDERNVPROC)gles3wLoad("glShadingRateSampleOrderNV"); - glShadingRateSampleOrderCustomNV = (PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)gles3wLoad("glShadingRateSampleOrderCustomNV"); -#endif /* defined(GL_NV_shading_rate_image) */ - -#if defined(GL_NV_viewport_array) - glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)gles3wLoad("glViewportArrayvNV"); - glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)gles3wLoad("glViewportIndexedfNV"); - glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)gles3wLoad("glViewportIndexedfvNV"); - glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)gles3wLoad("glScissorArrayvNV"); - glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)gles3wLoad("glScissorIndexedNV"); - glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)gles3wLoad("glScissorIndexedvNV"); - glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)gles3wLoad("glDepthRangeArrayfvNV"); - glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)gles3wLoad("glDepthRangeIndexedfNV"); - glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)gles3wLoad("glGetFloati_vNV"); - glEnableiNV = (PFNGLENABLEINVPROC)gles3wLoad("glEnableiNV"); - glDisableiNV = (PFNGLDISABLEINVPROC)gles3wLoad("glDisableiNV"); - glIsEnablediNV = (PFNGLISENABLEDINVPROC)gles3wLoad("glIsEnablediNV"); -#endif /* defined(GL_NV_viewport_array) */ - -#if defined(GL_NV_viewport_swizzle) - glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)gles3wLoad("glViewportSwizzleNV"); -#endif /* defined(GL_NV_viewport_swizzle) */ - -#if defined(GL_OES_EGL_image) - glEGLImageTargetTexture2DOES = (PFNGLEGLIMAGETARGETTEXTURE2DOESPROC)gles3wLoad("glEGLImageTargetTexture2DOES"); - glEGLImageTargetRenderbufferStorageOES = (PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC)gles3wLoad("glEGLImageTargetRenderbufferStorageOES"); -#endif /* defined(GL_OES_EGL_image) */ - -#if defined(GL_OES_copy_image) - glCopyImageSubDataOES = (PFNGLCOPYIMAGESUBDATAOESPROC)gles3wLoad("glCopyImageSubDataOES"); -#endif /* defined(GL_OES_copy_image) */ - -#if defined(GL_OES_draw_buffers_indexed) - glEnableiOES = (PFNGLENABLEIOESPROC)gles3wLoad("glEnableiOES"); - glDisableiOES = (PFNGLDISABLEIOESPROC)gles3wLoad("glDisableiOES"); - glBlendEquationiOES = (PFNGLBLENDEQUATIONIOESPROC)gles3wLoad("glBlendEquationiOES"); - glBlendEquationSeparateiOES = (PFNGLBLENDEQUATIONSEPARATEIOESPROC)gles3wLoad("glBlendEquationSeparateiOES"); - glBlendFunciOES = (PFNGLBLENDFUNCIOESPROC)gles3wLoad("glBlendFunciOES"); - glBlendFuncSeparateiOES = (PFNGLBLENDFUNCSEPARATEIOESPROC)gles3wLoad("glBlendFuncSeparateiOES"); - glColorMaskiOES = (PFNGLCOLORMASKIOESPROC)gles3wLoad("glColorMaskiOES"); - glIsEnablediOES = (PFNGLISENABLEDIOESPROC)gles3wLoad("glIsEnablediOES"); -#endif /* defined(GL_OES_draw_buffers_indexed) */ - -#if defined(GL_OES_draw_elements_base_vertex) - glDrawElementsBaseVertexOES = (PFNGLDRAWELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawElementsBaseVertexOES"); - glDrawRangeElementsBaseVertexOES = (PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC)gles3wLoad("glDrawRangeElementsBaseVertexOES"); - glDrawElementsInstancedBaseVertexOES = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC)gles3wLoad("glDrawElementsInstancedBaseVertexOES"); -#endif /* defined(GL_OES_draw_elements_base_vertex) */ - -#if defined(GL_OES_geometry_shader) - glFramebufferTextureOES = (PFNGLFRAMEBUFFERTEXTUREOESPROC)gles3wLoad("glFramebufferTextureOES"); -#endif /* defined(GL_OES_geometry_shader) */ - -#if defined(GL_OES_get_program_binary) - glGetProgramBinaryOES = (PFNGLGETPROGRAMBINARYOESPROC)gles3wLoad("glGetProgramBinaryOES"); - glProgramBinaryOES = (PFNGLPROGRAMBINARYOESPROC)gles3wLoad("glProgramBinaryOES"); -#endif /* defined(GL_OES_get_program_binary) */ - -#if defined(GL_OES_mapbuffer) - glMapBufferOES = (PFNGLMAPBUFFEROESPROC)gles3wLoad("glMapBufferOES"); - glUnmapBufferOES = (PFNGLUNMAPBUFFEROESPROC)gles3wLoad("glUnmapBufferOES"); - glGetBufferPointervOES = (PFNGLGETBUFFERPOINTERVOESPROC)gles3wLoad("glGetBufferPointervOES"); -#endif /* defined(GL_OES_mapbuffer) */ - -#if defined(GL_OES_primitive_bounding_box) - glPrimitiveBoundingBoxOES = (PFNGLPRIMITIVEBOUNDINGBOXOESPROC)gles3wLoad("glPrimitiveBoundingBoxOES"); -#endif /* defined(GL_OES_primitive_bounding_box) */ - -#if defined(GL_OES_sample_shading) - glMinSampleShadingOES = (PFNGLMINSAMPLESHADINGOESPROC)gles3wLoad("glMinSampleShadingOES"); -#endif /* defined(GL_OES_sample_shading) */ - -#if defined(GL_OES_tessellation_shader) - glPatchParameteriOES = (PFNGLPATCHPARAMETERIOESPROC)gles3wLoad("glPatchParameteriOES"); -#endif /* defined(GL_OES_tessellation_shader) */ - -#if defined(GL_OES_texture_3D) - glTexImage3DOES = (PFNGLTEXIMAGE3DOESPROC)gles3wLoad("glTexImage3DOES"); - glTexSubImage3DOES = (PFNGLTEXSUBIMAGE3DOESPROC)gles3wLoad("glTexSubImage3DOES"); - glCopyTexSubImage3DOES = (PFNGLCOPYTEXSUBIMAGE3DOESPROC)gles3wLoad("glCopyTexSubImage3DOES"); - glCompressedTexImage3DOES = (PFNGLCOMPRESSEDTEXIMAGE3DOESPROC)gles3wLoad("glCompressedTexImage3DOES"); - glCompressedTexSubImage3DOES = (PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC)gles3wLoad("glCompressedTexSubImage3DOES"); - glFramebufferTexture3DOES = (PFNGLFRAMEBUFFERTEXTURE3DOESPROC)gles3wLoad("glFramebufferTexture3DOES"); -#endif /* defined(GL_OES_texture_3D) */ - -#if defined(GL_OES_texture_border_clamp) - glTexParameterIivOES = (PFNGLTEXPARAMETERIIVOESPROC)gles3wLoad("glTexParameterIivOES"); - glTexParameterIuivOES = (PFNGLTEXPARAMETERIUIVOESPROC)gles3wLoad("glTexParameterIuivOES"); - glGetTexParameterIivOES = (PFNGLGETTEXPARAMETERIIVOESPROC)gles3wLoad("glGetTexParameterIivOES"); - glGetTexParameterIuivOES = (PFNGLGETTEXPARAMETERIUIVOESPROC)gles3wLoad("glGetTexParameterIuivOES"); - glSamplerParameterIivOES = (PFNGLSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glSamplerParameterIivOES"); - glSamplerParameterIuivOES = (PFNGLSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glSamplerParameterIuivOES"); - glGetSamplerParameterIivOES = (PFNGLGETSAMPLERPARAMETERIIVOESPROC)gles3wLoad("glGetSamplerParameterIivOES"); - glGetSamplerParameterIuivOES = (PFNGLGETSAMPLERPARAMETERIUIVOESPROC)gles3wLoad("glGetSamplerParameterIuivOES"); -#endif /* defined(GL_OES_texture_border_clamp) */ - -#if defined(GL_OES_texture_buffer) - glTexBufferOES = (PFNGLTEXBUFFEROESPROC)gles3wLoad("glTexBufferOES"); - glTexBufferRangeOES = (PFNGLTEXBUFFERRANGEOESPROC)gles3wLoad("glTexBufferRangeOES"); -#endif /* defined(GL_OES_texture_buffer) */ - -#if defined(GL_OES_texture_storage_multisample_2d_array) - glTexStorage3DMultisampleOES = (PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC)gles3wLoad("glTexStorage3DMultisampleOES"); -#endif /* defined(GL_OES_texture_storage_multisample_2d_array) */ - -#if defined(GL_OES_texture_view) - glTextureViewOES = (PFNGLTEXTUREVIEWOESPROC)gles3wLoad("glTextureViewOES"); -#endif /* defined(GL_OES_texture_view) */ - -#if defined(GL_OES_vertex_array_object) - glBindVertexArrayOES = (PFNGLBINDVERTEXARRAYOESPROC)gles3wLoad("glBindVertexArrayOES"); - glDeleteVertexArraysOES = (PFNGLDELETEVERTEXARRAYSOESPROC)gles3wLoad("glDeleteVertexArraysOES"); - glGenVertexArraysOES = (PFNGLGENVERTEXARRAYSOESPROC)gles3wLoad("glGenVertexArraysOES"); - glIsVertexArrayOES = (PFNGLISVERTEXARRAYOESPROC)gles3wLoad("glIsVertexArrayOES"); -#endif /* defined(GL_OES_vertex_array_object) */ - -#if defined(GL_OES_viewport_array) - glViewportArrayvOES = (PFNGLVIEWPORTARRAYVOESPROC)gles3wLoad("glViewportArrayvOES"); - glViewportIndexedfOES = (PFNGLVIEWPORTINDEXEDFOESPROC)gles3wLoad("glViewportIndexedfOES"); - glViewportIndexedfvOES = (PFNGLVIEWPORTINDEXEDFVOESPROC)gles3wLoad("glViewportIndexedfvOES"); - glScissorArrayvOES = (PFNGLSCISSORARRAYVOESPROC)gles3wLoad("glScissorArrayvOES"); - glScissorIndexedOES = (PFNGLSCISSORINDEXEDOESPROC)gles3wLoad("glScissorIndexedOES"); - glScissorIndexedvOES = (PFNGLSCISSORINDEXEDVOESPROC)gles3wLoad("glScissorIndexedvOES"); - glDepthRangeArrayfvOES = (PFNGLDEPTHRANGEARRAYFVOESPROC)gles3wLoad("glDepthRangeArrayfvOES"); - glDepthRangeIndexedfOES = (PFNGLDEPTHRANGEINDEXEDFOESPROC)gles3wLoad("glDepthRangeIndexedfOES"); - glGetFloati_vOES = (PFNGLGETFLOATI_VOESPROC)gles3wLoad("glGetFloati_vOES"); -#endif /* defined(GL_OES_viewport_array) */ - -#if defined(GL_OVR_multiview) - glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultiviewOVR"); -#endif /* defined(GL_OVR_multiview) */ - -#if defined(GL_OVR_multiview_multisampled_render_to_texture) - glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)gles3wLoad("glFramebufferTextureMultisampleMultiviewOVR"); -#endif /* defined(GL_OVR_multiview_multisampled_render_to_texture) */ - -#if defined(GL_QCOM_alpha_test) - glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)gles3wLoad("glAlphaFuncQCOM"); -#endif /* defined(GL_QCOM_alpha_test) */ - -#if defined(GL_QCOM_driver_control) - glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)gles3wLoad("glGetDriverControlsQCOM"); - glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)gles3wLoad("glGetDriverControlStringQCOM"); - glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glEnableDriverControlQCOM"); - glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)gles3wLoad("glDisableDriverControlQCOM"); -#endif /* defined(GL_QCOM_driver_control) */ - -#if defined(GL_QCOM_extended_get) - glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)gles3wLoad("glExtGetTexturesQCOM"); - glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)gles3wLoad("glExtGetBuffersQCOM"); - glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)gles3wLoad("glExtGetRenderbuffersQCOM"); - glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)gles3wLoad("glExtGetFramebuffersQCOM"); - glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)gles3wLoad("glExtGetTexLevelParameterivQCOM"); - glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)gles3wLoad("glExtTexObjectStateOverrideiQCOM"); - glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)gles3wLoad("glExtGetTexSubImageQCOM"); - glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)gles3wLoad("glExtGetBufferPointervQCOM"); -#endif /* defined(GL_QCOM_extended_get) */ - -#if defined(GL_QCOM_extended_get2) - glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)gles3wLoad("glExtGetShadersQCOM"); - glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)gles3wLoad("glExtGetProgramsQCOM"); - glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)gles3wLoad("glExtIsProgramBinaryQCOM"); - glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)gles3wLoad("glExtGetProgramBinarySourceQCOM"); -#endif /* defined(GL_QCOM_extended_get2) */ - -#if defined(GL_QCOM_framebuffer_foveated) - glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)gles3wLoad("glFramebufferFoveationConfigQCOM"); - glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glFramebufferFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_framebuffer_foveated) */ - -#if defined(GL_QCOM_motion_estimation) - glTexEstimateMotionQCOM = (PFNGLTEXESTIMATEMOTIONQCOMPROC)gles3wLoad("glTexEstimateMotionQCOM"); - glTexEstimateMotionRegionsQCOM = (PFNGLTEXESTIMATEMOTIONREGIONSQCOMPROC)gles3wLoad("glTexEstimateMotionRegionsQCOM"); -#endif /* defined(GL_QCOM_motion_estimation) */ - -#if defined(GL_QCOM_frame_extrapolation) - glExtrapolateTex2DQCOM = (PFNGLEXTRAPOLATETEX2DQCOMPROC)gles3wLoad("glExtrapolateTex2DQCOM"); -#endif /* defined(GL_QCOM_frame_extrapolation) */ - -#if defined(GL_QCOM_texture_foveated) - glTextureFoveationParametersQCOM = (PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)gles3wLoad("glTextureFoveationParametersQCOM"); -#endif /* defined(GL_QCOM_texture_foveated) */ - -#if defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) - glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)gles3wLoad("glFramebufferFetchBarrierQCOM"); -#endif /* defined(GL_QCOM_shader_framebuffer_fetch_noncoherent) */ - -#if defined(GL_QCOM_shading_rate) - glShadingRateQCOM = (PFNGLSHADINGRATEQCOMPROC)gles3wLoad("glShadingRateQCOM"); -#endif /* defined(GL_QCOM_shading_rate) */ - -#if defined(GL_QCOM_tiled_rendering) - glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)gles3wLoad("glStartTilingQCOM"); - glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)gles3wLoad("glEndTilingQCOM"); -#endif /* defined(GL_QCOM_tiled_rendering) */ - - /* GLES3W_GENERATE_GLES_LOAD */ -} diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index ac976d6287..098caeaff6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -129,6 +129,17 @@ void CCVKCommandBuffer::end() { void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC + // guard against RAW hazard + VkMemoryBarrier vkBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; + vkBarrier.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; + vkBarrier.dstAccessMask = VK_ACCESS_UNIFORM_READ_BIT; + vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, + VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_PIPELINE_STAGE_VERTEX_SHADER_BIT | VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + 0, 1, &vkBarrier, 0, nullptr, 0, nullptr); +#endif + _curGPUFBO = ((CCVKFramebuffer *)fbo)->gpuFBO(); CCVKGPURenderPass *gpuRenderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass(); VkFramebuffer framebuffer = _curGPUFBO->vkFramebuffer; @@ -146,38 +157,6 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo clearValues[attachmentCount - 1].depthStencil = {depth, (uint)stencil}; } -#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL - // make previous framebuffer visible for load op - if (gpuRenderPass->colorAttachments.size() && gpuRenderPass->colorAttachments[0].loadOp == LoadOp::LOAD) { - VkMemoryBarrier barrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; - barrier.srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT; - barrier.dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT; - vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, - VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, - VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, - 0, 1, &barrier, 0, nullptr, 0, nullptr); - } - - if (gpuRenderPass->depthStencilAttachment.depthLoadOp == LoadOp::LOAD) { - VkMemoryBarrier barrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; - barrier.srcAccessMask = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; - barrier.dstAccessMask = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT; - vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, - VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, - VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, - 0, 1, &barrier, 0, nullptr, 0, nullptr); - } - - // guard against RAW hazard - //ThsvsAccessType prevType = THSVS_ACCESS_TRANSFER_WRITE; - //ThsvsGlobalBarrier barrier{}; - //barrier.prevAccessCount = 1; - //barrier.pPrevAccesses = &prevType; - //barrier.nextAccessCount = gpuBuffer->accessTypes.size(); - //barrier.pNextAccesses = gpuBuffer->accessTypes.data(); - //thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, &barrier, 0, nullptr, 0, nullptr); -#endif - VkRenderPassBeginInfo passBeginInfo{VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO}; passBeginInfo.renderPass = gpuRenderPass->vkRenderPass; passBeginInfo.framebuffer = framebuffer; @@ -197,11 +176,6 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo void CCVKCommandBuffer::endRenderPass() { vkCmdEndRenderPass(_gpuCommandBuffer->vkCommandBuffer); -#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL - // guard against WAR hazard - vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 0, nullptr); -#endif - size_t colorAttachmentCount = _curGPUFBO->gpuRenderPass->colorAttachments.size(); for (size_t i = 0u; i < colorAttachmentCount; ++i) { if (_curGPUFBO->gpuColorViews[i]) { @@ -220,6 +194,13 @@ void CCVKCommandBuffer::endRenderPass() { } _curGPUFBO = nullptr; + +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC + // guard against WAR hazard + vkCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, + VK_PIPELINE_STAGE_VERTEX_SHADER_BIT | VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, + VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 0, nullptr, 0, nullptr, 0, nullptr); +#endif } void CCVKCommandBuffer::bindPipelineState(PipelineState *pso) { @@ -457,7 +438,8 @@ void CCVKCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint count) { } void CCVKCommandBuffer::updateBuffer(Buffer *buffer, const void *data, uint size) { - CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, ((CCVKBuffer *)buffer)->gpuBuffer(), data, size, _gpuCommandBuffer); + CCVKGPUBuffer *gpuBuffer = ((CCVKBuffer *)buffer)->gpuBuffer(); + CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, gpuBuffer, data, size, _gpuCommandBuffer); } void CCVKCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { @@ -482,28 +464,6 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; srcImage = swapchain->swapchainImages[swapchain->curImageIndex]; srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; - -#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL - vector &curAccessTypes = swapchain->swapchainImageAccessTypes[swapchain->curImageIndex]; - if (std::find(curAccessTypes.begin(), curAccessTypes.end(), THSVS_ACCESS_TRANSFER_READ) == curAccessTypes.end()) { - ThsvsImageBarrier barrier{}; - barrier.prevAccessCount = curAccessTypes.size(); - barrier.pPrevAccesses = curAccessTypes.data(); - barrier.nextAccessCount = 1; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; - barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.image = srcImage; - barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); - - curAccessTypes.assign({THSVS_ACCESS_TRANSFER_READ}); - } -#endif } if (dstTexture) { @@ -515,28 +475,6 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; dstImage = swapchain->swapchainImages[swapchain->curImageIndex]; dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; - -#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_FULL - vector &curAccessTypes = swapchain->swapchainImageAccessTypes[swapchain->curImageIndex]; - if (std::find(curAccessTypes.begin(), curAccessTypes.end(), THSVS_ACCESS_TRANSFER_WRITE) == curAccessTypes.end()) { - ThsvsImageBarrier barrier{}; - barrier.prevAccessCount = curAccessTypes.size(); - barrier.pPrevAccesses = curAccessTypes.data(); - barrier.nextAccessCount = 1; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; - barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.image = dstImage; - barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; - thsvsCmdPipelineBarrier(_gpuCommandBuffer->vkCommandBuffer, nullptr, 0, nullptr, 1, &barrier); - - curAccessTypes.assign({THSVS_ACCESS_TRANSFER_WRITE}); - } -#endif } _blitRegions.resize(count); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 86af75a800..bc301dbab3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -166,10 +166,10 @@ void CCVKCmdFuncCreateSampler(CCVKDevice *device, CCVKGPUSampler *gpuSampler) { createInfo.mipLodBias = gpuSampler->mipLODBias; createInfo.anisotropyEnable = gpuSampler->maxAnisotropy && context->physicalDeviceFeatures.samplerAnisotropy; createInfo.maxAnisotropy = std::min(context->physicalDeviceProperties.limits.maxSamplerAnisotropy, (float)gpuSampler->maxAnisotropy); - createInfo.compareEnable = VK_TRUE; + createInfo.compareEnable = gpuSampler->cmpFunc != ComparisonFunc::ALWAYS; createInfo.compareOp = VK_CMP_FUNCS[(uint)gpuSampler->cmpFunc]; - createInfo.minLod = (float)gpuSampler->minLOD; - createInfo.maxLod = (float)gpuSampler->maxLOD; + createInfo.minLod = 0.0; // UNASSIGNED-BestPractices-vkCreateSampler-lod-clamping + createInfo.maxLod = VK_LOD_CLAMP_NONE; // UNASSIGNED-BestPractices-vkCreateSampler-lod-clamping //createInfo.borderColor; // TODO VK_CHECK(vkCreateSampler(device->gpuDevice()->vkDevice, &createInfo, nullptr, &gpuSampler->vkSampler)); @@ -214,6 +214,11 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { gpuBuffer->mappedData = (uint8_t *)res.pMappedData; gpuBuffer->startOffset = 0; // we are creating one VkBuffer each for now + + // add special access types directly from usage + if (gpuBuffer->usage & BufferUsageBit::VERTEX) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_VERTEX_BUFFER); + if (gpuBuffer->usage & BufferUsageBit::INDEX) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_INDEX_BUFFER); + if (gpuBuffer->usage & BufferUsageBit::INDIRECT) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_INDIRECT_BUFFER); } void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRenderPass) { @@ -777,7 +782,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const } // back buffer instances update command - if (gpuBuffer->instanceSize) { + if (!cmdBuffer && gpuBuffer->instanceSize) { device->gpuBufferHub()->record(gpuBuffer, dataToUpload, sizeToUpload); return; } @@ -789,6 +794,17 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const VkBufferCopy region{stagingBuffer.startOffset, gpuBuffer->startOffset, sizeToUpload}; auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *gpuCommandBuffer) { + if (gpuBuffer->transferAccess) { + CC_LOG_WARNING("updateBuffer: performance warning: buffer updated more than once per frame"); + // guard against WAW hazard + VkMemoryBarrier vkBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; + vkBarrier.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; + vkBarrier.dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; + vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, + VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_PIPELINE_STAGE_TRANSFER_BIT, + 0, 1, &vkBarrier, 0, nullptr, 0, nullptr); + } vkCmdCopyBuffer(gpuCommandBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuBuffer->vkBuffer, 1, ®ion); }; @@ -797,6 +813,9 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const } else { device->gpuTransportHub()->checkIn(upload); } + + gpuBuffer->transferAccess = THSVS_ACCESS_TRANSFER_WRITE; + device->gpuBarrierManager()->checkIn(gpuBuffer); } void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *buffers, CCVKGPUTexture *gpuTexture, @@ -816,8 +835,18 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b barrier.nextAccessCount = 1; barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; - if (std::find(curTypes.begin(), curTypes.end(), THSVS_ACCESS_TRANSFER_WRITE) == curTypes.end()) { + if (gpuTexture->transferAccess != THSVS_ACCESS_TRANSFER_WRITE) { CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); + } else { + CC_LOG_WARNING("copyBuffersToTexture: performance warning: texture updated more than once per frame"); + // guard against WAW hazard + VkMemoryBarrier vkBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; + vkBarrier.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; + vkBarrier.dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; + vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, + VK_PIPELINE_STAGE_TRANSFER_BIT, + VK_PIPELINE_STAGE_TRANSFER_BIT, + 0, 1, &vkBarrier, 0, nullptr, 0, nullptr); } uint totalSize = 0u; @@ -902,7 +931,8 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b } curTypes.assign({THSVS_ACCESS_TRANSFER_WRITE}); - device->gpuTextureLayoutManager()->checkIn(gpuTexture); + gpuTexture->transferAccess = THSVS_ACCESS_TRANSFER_WRITE; + device->gpuBarrierManager()->checkIn(gpuTexture); } void CCVKCmdFuncDestroyRenderPass(CCVKGPUDevice *gpuDevice, CCVKGPURenderPass *gpuRenderPass) { @@ -980,6 +1010,18 @@ void CCVKCmdFuncDestroyPipelineState(CCVKGPUDevice *gpuDevice, CCVKGPUPipelineSt } } +void CCVKCmdFuncGlobalMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsGlobalBarrier &globalBarrier) { + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + VkMemoryBarrier vkBarrier; + thsvsGetVulkanMemoryBarrier(globalBarrier, &tempSrcStageMask, &tempDstStageMask, &vkBarrier); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, 1, &vkBarrier, 0, nullptr, 0, nullptr); +} + void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier) { VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; @@ -1072,31 +1114,82 @@ void CCVKGPURecycleBin::clear() { _count = 0; } -void CCVKGPUTextureLayoutManager::update(CCVKGPUCommandBuffer *gpuCommandBuffer) { - ThsvsImageBarrier barrier{}; - barrier.discardContents = false; - barrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; - barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; - barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; +void CCVKGPUBarrierManager::update(CCVKGPUCommandBuffer *gpuCommandBuffer) { + static vector prevAccesses; + static vector nextAccesses; + static vector vkImageBarriers; + VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; + VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; + vkImageBarriers.clear(); + prevAccesses.clear(); + nextAccesses.clear(); + + for (CCVKGPUBuffer *gpuBuffer : _buffersToBeChecked) { + vector &render = gpuBuffer->renderAccessTypes; + if (gpuBuffer->transferAccess == THSVS_ACCESS_NONE) continue; + if (std::find(prevAccesses.begin(), prevAccesses.end(), gpuBuffer->transferAccess) == prevAccesses.end()) { + prevAccesses.push_back(gpuBuffer->transferAccess); + } + nextAccesses.insert(nextAccesses.end(), render.begin(), render.end()); + gpuBuffer->transferAccess = THSVS_ACCESS_NONE; + } + + VkMemoryBarrier vkBarrier; + VkMemoryBarrier *pVkBarrier = nullptr; + if (prevAccesses.size()) { + ThsvsGlobalBarrier globalBarrier{}; + globalBarrier.prevAccessCount = prevAccesses.size(); + globalBarrier.pPrevAccesses = prevAccesses.data(); + globalBarrier.nextAccessCount = nextAccesses.size(); + globalBarrier.pNextAccesses = nextAccesses.data(); + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + thsvsGetVulkanMemoryBarrier(globalBarrier, &tempSrcStageMask, &tempDstStageMask, &vkBarrier); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + pVkBarrier = &vkBarrier; + } + + ThsvsImageBarrier imageBarrier{}; + imageBarrier.discardContents = false; + imageBarrier.prevLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + imageBarrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; + imageBarrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + imageBarrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; + imageBarrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; + imageBarrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; + imageBarrier.prevAccessCount = 1; for (CCVKGPUTexture *gpuTexture : _texturesToBeChecked) { - vector &render = gpuTexture->renderAccessTypes; - vector ¤t = gpuTexture->currentAccessTypes; - if (!std::is_permutation(current.begin(), current.end(), render.begin(), render.end())) { - barrier.prevAccessCount = current.size(); - barrier.pPrevAccesses = current.data(); - barrier.nextAccessCount = render.size(); - barrier.pNextAccesses = render.data(); - barrier.image = gpuTexture->vkImage; - barrier.subresourceRange.aspectMask = gpuTexture->aspectMask; - CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); + vector &render = gpuTexture->renderAccessTypes; + if (gpuTexture->transferAccess == THSVS_ACCESS_NONE || render.empty()) continue; + vector ¤t = gpuTexture->currentAccessTypes; + imageBarrier.pPrevAccesses = &gpuTexture->transferAccess; + imageBarrier.nextAccessCount = render.size(); + imageBarrier.pNextAccesses = render.data(); + imageBarrier.image = gpuTexture->vkImage; + imageBarrier.subresourceRange.aspectMask = gpuTexture->aspectMask; + vkImageBarriers.emplace_back(); + VkPipelineStageFlags tempSrcStageMask = 0; + VkPipelineStageFlags tempDstStageMask = 0; + thsvsGetVulkanImageMemoryBarrier(imageBarrier, &tempSrcStageMask, &tempDstStageMask, &vkImageBarriers.back()); + srcStageMask |= tempSrcStageMask; + dstStageMask |= tempDstStageMask; + + // don't override any other access changes since this barrier always happens first + if (current.size() == 1 && current[0] == gpuTexture->transferAccess) { current = render; } + gpuTexture->transferAccess = THSVS_ACCESS_NONE; } + + if (pVkBarrier || vkImageBarriers.size()) { + vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, + pVkBarrier ? 1 : 0, pVkBarrier, 0, nullptr, vkImageBarriers.size(), vkImageBarriers.data()); + } + + _buffersToBeChecked.clear(); _texturesToBeChecked.clear(); } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index 763668af59..6773831f57 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -79,6 +79,7 @@ CC_VULKAN_API void CCVKCmdFuncDestroyPipelineLayout(CCVKGPUDevice *device, CCVKG CC_VULKAN_API void CCVKCmdFuncDestroyPipelineState(CCVKGPUDevice *device, CCVKGPUPipelineState *gpuPipelineState); CC_VULKAN_API void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier); +CC_VULKAN_API void CCVKCmdFuncGlobalMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsGlobalBarrier &globalBarrier); } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 5f351ec319..8b392ff571 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -41,7 +41,7 @@ namespace gfx { namespace { constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, otherwise minorVersion = (FORCE_MINOR_VERSION - 1) -constexpr uint DISABLE_VALIDATION_ASSERTIONS = 0; // 0 for default behavior, otherwise assertions will be disabled +constexpr uint DISABLE_VALIDATION_ASSERTIONS = 1; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 #define FORCE_DISABLE_VALIDATION 0 @@ -53,7 +53,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSe void * userData) { if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) { CC_LOG_ERROR("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); - //CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); + CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); return VK_FALSE; } else if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT) { CC_LOG_WARNING("%s: %s", callbackData->pMessageIdName, callbackData->pMessage); @@ -79,7 +79,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugReportCallback(VkDebugReportFlagsEXT fl void * userData) { if (flags & VK_DEBUG_REPORT_ERROR_BIT_EXT) { CC_LOG_ERROR("%s: %s", layerPrefix, message); - //CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); + CCASSERT(DISABLE_VALIDATION_ASSERTIONS, "Validation Error"); return VK_FALSE; } else if (flags & (VK_DEBUG_REPORT_WARNING_BIT_EXT | VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT)) { CC_LOG_WARNING("%s: %s", layerPrefix, message); diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index dfb1c363de..9272caf4db 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -113,7 +113,9 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { } else if (binding.descriptorType & DESCRIPTOR_TEXTURE_TYPE) { instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; - instance.descriptorInfos[k].image.imageLayout = binding.descriptorType == DescriptorType::STORAGE_IMAGE ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; + instance.descriptorInfos[k].image.imageLayout = binding.descriptorType == DescriptorType::STORAGE_IMAGE + ? VK_IMAGE_LAYOUT_GENERAL + : VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL; } } } @@ -200,9 +202,9 @@ void CCVKDescriptorSet::destroy() { void CCVKDescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { - CCVKGPUDescriptorHub * descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); - CCVKGPUTextureLayoutManager *layoutMgr = ((CCVKDevice *)_device)->gpuTextureLayoutManager(); - uint descriptorCount = _gpuDescriptorSet->gpuDescriptors.size(); + CCVKGPUDescriptorHub * descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); + CCVKGPUBarrierManager *layoutMgr = ((CCVKDevice *)_device)->gpuBarrierManager(); + uint descriptorCount = _gpuDescriptorSet->gpuDescriptors.size(); for (size_t i = 0u; i < descriptorCount; i++) { CCVKGPUDescriptor &binding = _gpuDescriptorSet->gpuDescriptors[i]; @@ -220,6 +222,7 @@ void CCVKDescriptorSet::update() { if (bufferView) { descriptorHub->connect(bufferView, &descriptorInfo.buffer, t); descriptorHub->update(bufferView, &descriptorInfo.buffer); + //layoutMgr->checkIn(bufferView->gpuBuffer, binding.accessTypes.data(), binding.accessTypes.size()); } } binding.gpuBufferView = bufferView; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 08f0820ea2..73c879c2f1 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -267,7 +267,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _caps.maxComputeWorkGroupCount = {limits.maxComputeWorkGroupCount[0], limits.maxComputeWorkGroupCount[1], limits.maxComputeWorkGroupCount[2]}; _caps.maxComputeWorkGroupSize = {limits.maxComputeWorkGroupSize[0], limits.maxComputeWorkGroupSize[1], limits.maxComputeWorkGroupSize[2]}; #if defined(VK_USE_PLATFORM_ANDROID_KHR) - _caps.maxComputeWorkGroupInvocations = 64; // Arm: UNASSIGNED-BestPractices-vkCreateComputePipelines-compute-work-group-size + _caps.maxComputeWorkGroupInvocations = 64; // UNASSIGNED-BestPractices-vkCreateComputePipelines-compute-work-group-size #endif // defined(VK_USE_PLATFORM_ANDROID_KHR) ///////////////////// Resource Initialization ///////////////////// @@ -325,8 +325,8 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice, ((CCVKQueue *)_queue)->gpuQueue())); _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); + _gpuBarrierManager = CC_NEW(CCVKGPUBarrierManager(_gpuDevice)); _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); - _gpuTextureLayoutManager = CC_NEW(CCVKGPUTextureLayoutManager(_gpuDevice)); CommandBufferInfo cmdBuffInfo; cmdBuffInfo.type = CommandBufferType::PRIMARY; @@ -438,8 +438,8 @@ void CCVKDevice::destroy() { CC_SAFE_DELETE(_gpuTransportHub); CC_SAFE_DELETE(_gpuSemaphorePool); CC_SAFE_DELETE(_gpuDescriptorHub); + CC_SAFE_DELETE(_gpuBarrierManager); CC_SAFE_DELETE(_gpuDescriptorSetHub); - CC_SAFE_DELETE(_gpuTextureLayoutManager); uint backBufferCount = ((CCVKContext *)_context)->gpuContext()->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 195bb86d91..181e577dd2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -37,8 +37,8 @@ class CCVKGPUBufferHub; class CCVKGPUTransportHub; class CCVKGPUDescriptorHub; class CCVKGPUSemaphorePool; +class CCVKGPUBarrierManager; class CCVKGPUDescriptorSetHub; -class CCVKGPUTextureLayoutManager; class CCVKGPUFencePool; class CCVKGPURecycleBin; @@ -87,8 +87,8 @@ public: CC_INLINE CCVKGPUTransportHub *gpuTransportHub() { return _gpuTransportHub; } CC_INLINE CCVKGPUDescriptorHub *gpuDescriptorHub() { return _gpuDescriptorHub; } CC_INLINE CCVKGPUSemaphorePool *gpuSemaphorePool() { return _gpuSemaphorePool; } + CC_INLINE CCVKGPUBarrierManager *gpuBarrierManager() { return _gpuBarrierManager; } CC_INLINE CCVKGPUDescriptorSetHub *gpuDescriptorSetHub() { return _gpuDescriptorSetHub; } - CC_INLINE CCVKGPUTextureLayoutManager *gpuTextureLayoutManager() { return _gpuTextureLayoutManager; } CCVKGPUFencePool * gpuFencePool(); CCVKGPURecycleBin * gpuRecycleBin(); @@ -128,7 +128,7 @@ private: CCVKGPUDescriptorHub * _gpuDescriptorHub = nullptr; CCVKGPUSemaphorePool * _gpuSemaphorePool = nullptr; CCVKGPUDescriptorSetHub * _gpuDescriptorSetHub = nullptr; - CCVKGPUTextureLayoutManager *_gpuTextureLayoutManager = nullptr; + CCVKGPUBarrierManager *_gpuBarrierManager = nullptr; vector _layers; vector _extensions; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 22807cf85d..8c33150f87 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -98,7 +98,10 @@ public: VmaAllocation vmaAllocation = VK_NULL_HANDLE; vector currentAccessTypes; + + // for barrier manager vector renderAccessTypes; // gathered from desriptor sets + ThsvsAccessType transferAccess = THSVS_ACCESS_NONE; }; class CCVKGPUTextureView final : public Object { @@ -156,6 +159,10 @@ public: VkDeviceSize size = 0u; VkDeviceSize instanceSize = 0u; // per-back-buffer instance + + // for barrier manager + vector renderAccessTypes; // gathered from descriptor sets + ThsvsAccessType transferAccess = THSVS_ACCESS_NONE; }; typedef vector CCVKGPUBufferList; @@ -216,7 +223,8 @@ public: struct CCVKGPUShaderStage { CCVKGPUShaderStage(ShaderStageFlagBit t, String s) - : type(t), source(s) { + : type(t), + source(s) { } ShaderStageFlagBit type = ShaderStageFlagBit::NONE; String source; @@ -940,11 +948,24 @@ private: PFN_vkUpdateDescriptorSetWithTemplate _updateFn = nullptr; }; -class CCVKGPUTextureLayoutManager final : public Object { +class CCVKGPUBarrierManager final : public Object { public: - CCVKGPUTextureLayoutManager(CCVKGPUDevice *device) + CCVKGPUBarrierManager(CCVKGPUDevice *device) : _device(device) {} + void checkIn(CCVKGPUBuffer *gpuBuffer) { + _buffersToBeChecked.insert(gpuBuffer); + } + + void checkIn(CCVKGPUBuffer *gpuBuffer, const ThsvsAccessType *newTypes, uint newTypeCount) { + vector &target = gpuBuffer->renderAccessTypes; + for (uint i = 0u; i < newTypeCount; ++i) { + if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { + target.push_back(newTypes[i]); + } + } + } + void checkIn(CCVKGPUTexture *gpuTexture, const ThsvsAccessType *newTypes = nullptr, uint newTypeCount = 0) { vector &target = gpuTexture->renderAccessTypes; for (uint i = 0u; i < newTypeCount; ++i) { @@ -957,9 +978,10 @@ public: void update(CCVKGPUCommandBuffer *gpuCommandBuffer); - CC_INLINE bool needUpdate() { return !_texturesToBeChecked.empty(); } + CC_INLINE bool needUpdate() { return !_texturesToBeChecked.empty() || !_buffersToBeChecked.empty(); } private: + unordered_set _buffersToBeChecked; unordered_set _texturesToBeChecked; CCVKGPUDevice * _device = nullptr; }; @@ -1103,7 +1125,8 @@ private: class CCVKGPUTransportHub final : public Object { public: CCVKGPUTransportHub(CCVKGPUDevice *device, CCVKGPUQueue *queue) - : _device(device), _queue(queue) { + : _device(device), + _queue(queue) { _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; _cmdBuff.queueFamilyIndex = _queue->queueFamilyIndex; @@ -1148,7 +1171,7 @@ public: } } - VkCommandBuffer readyForFlight() { + VkCommandBuffer packageForFlight() { VkCommandBuffer vkCommandBuffer = _cmdBuff.vkCommandBuffer; if (vkCommandBuffer) { VK_CHECK(vkEndCommandBuffer(vkCommandBuffer)); diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 8e90477018..b0085cba2a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -39,7 +39,7 @@ CCVKQueue::~CCVKQueue() { } bool CCVKQueue::initialize(const QueueInfo &info) { - _type = info.type; + _type = info.type; _gpuQueue = CC_NEW(CCVKGPUQueue); _gpuQueue->type = _type; @@ -61,7 +61,7 @@ void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { _gpuQueue->commandBuffers.clear(); #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC - CCVKGPUTextureLayoutManager *layoutMgr = device->gpuTextureLayoutManager(); + CCVKGPUBarrierManager *layoutMgr = device->gpuBarrierManager(); if (layoutMgr->needUpdate()) { device->gpuTransportHub()->checkIn([layoutMgr](CCVKGPUCommandBuffer *cmdBuffer) { layoutMgr->update(cmdBuffer); @@ -70,7 +70,7 @@ void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { #endif if (!device->gpuTransportHub()->empty()) { - _gpuQueue->commandBuffers.push(device->gpuTransportHub()->readyForFlight()); + _gpuQueue->commandBuffers.push(device->gpuTransportHub()->packageForFlight()); } for (uint i = 0u; i < count; ++i) { diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp index 702cf0fa76..df358c96c3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp @@ -47,8 +47,6 @@ bool CCVKSampler::initialize(const SamplerInfo &info) { _maxAnisotropy = info.maxAnisotropy; _cmpFunc = info.cmpFunc; _borderColor = info.borderColor; - _minLOD = info.minLOD; - _maxLOD = info.maxLOD; _mipLODBias = info.mipLODBias; _gpuSampler = CC_NEW(CCVKGPUSampler); @@ -61,8 +59,6 @@ bool CCVKSampler::initialize(const SamplerInfo &info) { _gpuSampler->maxAnisotropy = _maxAnisotropy; _gpuSampler->cmpFunc = _cmpFunc; _gpuSampler->borderColor = _borderColor; - _gpuSampler->minLOD = _minLOD; - _gpuSampler->maxLOD = _maxLOD; _gpuSampler->mipLODBias = _mipLODBias; CCVKCmdFuncCreateSampler((CCVKDevice *)_device, _gpuSampler); diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 1008cf2427..3f83eb654f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -37,7 +37,7 @@ THE SOFTWARE. #define BARRIER_DEDUCTION_LEVEL_BASIC 1 #define BARRIER_DEDUCTION_LEVEL_FULL 2 -#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_NONE +#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_BASIC namespace cc { namespace gfx { diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index 2a35acb2e1..8da596891b 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -235,11 +235,11 @@ const gfx::UniformBlock UBOMorph::LAYOUT = { const String SHADOWMAP::NAME = "cc_shadowMap"; const gfx::DescriptorSetLayoutBinding SHADOWMAP::DESCRIPTOR = { SHADOWMAP::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler SHADOWMAP::LAYOUT = { +const gfx::UniformSamplerTexture SHADOWMAP::LAYOUT = { GLOBAL_SET, SHADOWMAP::BINDING, SHADOWMAP::NAME, @@ -250,11 +250,11 @@ const gfx::UniformSampler SHADOWMAP::LAYOUT = { const String ENVIRONMENT::NAME = "cc_environment"; const gfx::DescriptorSetLayoutBinding ENVIRONMENT::DESCRIPTOR = { ENVIRONMENT::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler ENVIRONMENT::LAYOUT = { +const gfx::UniformSamplerTexture ENVIRONMENT::LAYOUT = { GLOBAL_SET, ENVIRONMENT::BINDING, ENVIRONMENT::NAME, @@ -265,11 +265,11 @@ const gfx::UniformSampler ENVIRONMENT::LAYOUT = { const String SPOT_LIGHTING_MAP::NAME = "cc_spotLightingMap"; const gfx::DescriptorSetLayoutBinding SPOT_LIGHTING_MAP::DESCRIPTOR = { SPOT_LIGHTING_MAP::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler SPOT_LIGHTING_MAP::LAYOUT = { +const gfx::UniformSamplerTexture SPOT_LIGHTING_MAP::LAYOUT = { GLOBAL_SET, SPOT_LIGHTING_MAP::BINDING, SPOT_LIGHTING_MAP::NAME, @@ -280,11 +280,11 @@ const gfx::UniformSampler SPOT_LIGHTING_MAP::LAYOUT = { const String JOINT_TEXTURE::NAME = "cc_jointTexture"; const gfx::DescriptorSetLayoutBinding JOINT_TEXTURE::DESCRIPTOR = { JOINT_TEXTURE::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::VERTEX, }; -const gfx::UniformSampler JOINT_TEXTURE::LAYOUT = { +const gfx::UniformSamplerTexture JOINT_TEXTURE::LAYOUT = { LOCAL_SET, JOINT_TEXTURE::BINDING, JOINT_TEXTURE::NAME, @@ -295,11 +295,11 @@ const gfx::UniformSampler JOINT_TEXTURE::LAYOUT = { const String POSITION_MORPH::NAME = "cc_PositionDisplacements"; const gfx::DescriptorSetLayoutBinding POSITION_MORPH::DESCRIPTOR = { POSITION_MORPH::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::VERTEX, }; -const gfx::UniformSampler POSITION_MORPH::LAYOUT = { +const gfx::UniformSamplerTexture POSITION_MORPH::LAYOUT = { LOCAL_SET, POSITION_MORPH::BINDING, POSITION_MORPH::NAME, @@ -310,11 +310,11 @@ const gfx::UniformSampler POSITION_MORPH::LAYOUT = { const String NORMAL_MORPH::NAME = "cc_NormalDisplacements"; const gfx::DescriptorSetLayoutBinding NORMAL_MORPH::DESCRIPTOR = { NORMAL_MORPH::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::VERTEX, }; -const gfx::UniformSampler NORMAL_MORPH::LAYOUT = { +const gfx::UniformSamplerTexture NORMAL_MORPH::LAYOUT = { LOCAL_SET, NORMAL_MORPH::BINDING, NORMAL_MORPH::NAME, @@ -325,11 +325,11 @@ const gfx::UniformSampler NORMAL_MORPH::LAYOUT = { const String TANGENT_MORPH::NAME = "cc_TangentDisplacements"; const gfx::DescriptorSetLayoutBinding TANGENT_MORPH::DESCRIPTOR = { TANGENT_MORPH::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::VERTEX, }; -const gfx::UniformSampler TANGENT_MORPH::LAYOUT = { +const gfx::UniformSamplerTexture TANGENT_MORPH::LAYOUT = { LOCAL_SET, TANGENT_MORPH::BINDING, TANGENT_MORPH::NAME, @@ -340,11 +340,11 @@ const gfx::UniformSampler TANGENT_MORPH::LAYOUT = { const String LIGHTMAP_TEXTURE::NAME = "cc_lightingMap"; const gfx::DescriptorSetLayoutBinding LIGHTMAP_TEXTURE::DESCRIPTOR = { LIGHTMAP_TEXTURE::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler LIGHTMAP_TEXTURE::LAYOUT = { +const gfx::UniformSamplerTexture LIGHTMAP_TEXTURE::LAYOUT = { LOCAL_SET, LIGHTMAP_TEXTURE::BINDING, LIGHTMAP_TEXTURE::NAME, @@ -355,11 +355,11 @@ const gfx::UniformSampler LIGHTMAP_TEXTURE::LAYOUT = { const String SPRITE_TEXTURE::NAME = "cc_spriteTexture"; const gfx::DescriptorSetLayoutBinding SPRITE_TEXTURE::DESCRIPTOR = { SPRITE_TEXTURE::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler SPRITE_TEXTURE::LAYOUT = { +const gfx::UniformSamplerTexture SPRITE_TEXTURE::LAYOUT = { LOCAL_SET, static_cast(ModelLocalBindings::SAMPLER_SPRITE), "cc_spriteTexture", @@ -377,8 +377,6 @@ uint genSamplerHash(const gfx::SamplerInfo &info) { hash |= static_cast(info.addressW) << 10; hash |= static_cast(info.maxAnisotropy) << 12; hash |= static_cast(info.cmpFunc) << 16; - hash |= static_cast(info.minLOD) << 20; - hash |= static_cast(info.maxLOD) << 24; hash |= static_cast(info.mipLODBias) << 28; return hash; } @@ -405,8 +403,6 @@ gfx::Sampler *getSampler(uint hash) { info.addressW = static_cast((hash >> 10) & 3); info.maxAnisotropy = ((hash >> 12) & 15); info.cmpFunc = static_cast((hash >> 16) & 15); - info.minLOD = ((hash >> 20) & 15); - info.maxLOD = ((hash >> 24) & 15); info.mipLODBias = ((hash >> 28) & 15); sampler = gfx::Device::getInstance()->createSampler(std::move(info)); diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index 6cf10c4394..e8e15115e1 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -113,7 +113,7 @@ enum class CC_DLL RenderPassStage { struct CC_DLL InternalBindingDesc { gfx::DescriptorType type; gfx::UniformBlock blockInfo; - gfx::UniformSampler samplerInfo; + gfx::UniformSamplerTexture samplerInfo; Value defaultValue; }; @@ -352,7 +352,7 @@ public: struct CC_DLL DescriptorSetLayoutInfos { gfx::DescriptorSetLayoutBindingList bindings; unordered_map blocks; - unordered_map samplers; + unordered_map samplers; }; extern CC_DLL DescriptorSetLayoutInfos globalDescriptorSetLayout; extern CC_DLL DescriptorSetLayoutInfos localDescriptorSetLayout; @@ -396,63 +396,63 @@ extern CC_DLL DescriptorSetLayoutInfos localDescriptorSetLayout; struct CC_DLL SHADOWMAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_SHADOWMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL ENVIRONMENT : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_ENVIRONMENT); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL SPOT_LIGHTING_MAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_SPOT_LIGHTING_MAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL JOINT_TEXTURE : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_JOINTS); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL POSITION_MORPH : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_POSITION); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL NORMAL_MORPH : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_NORMAL); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL TANGENT_MORPH : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_TANGENT); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL LIGHTMAP_TEXTURE : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_LIGHTMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL SPRITE_TEXTURE : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_SPRITE); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index 137f25e62e..457e025fdf 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -142,9 +142,9 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInv.m, sizeof(cc::Mat4)); TO_VEC3(uboCameraView, camera->position, UBOCamera::CAMERA_POS_OFFSET); - auto projectionSignY = device->getScreenSpaceSignY(); + auto projectionSignY = device->getCapabilities().screenSpaceSignY; if (camera->getWindow()->hasOffScreenAttachments) { - projectionSignY *= device->getUVSpaceSignY(); // need flipping if drawing on render targets + projectionSignY *= device->getCapabilities().UVSpaceSignY; // need flipping if drawing on render targets } uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = projectionSignY; @@ -199,8 +199,8 @@ void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array } const auto matShadowView = matShadowCamera.getInversed(); - const auto projectionSinY = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); - Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getClipSpaceMinZ(), projectionSinY, &matShadowViewProj); + const auto projectionSinY = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; + Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getCapabilities().clipSpaceMinZ, projectionSinY, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; @@ -246,8 +246,8 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: } const auto matShadowView = matShadowCamera.getInversed(); - const auto projectionSinY = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); - Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getClipSpaceMinZ(), projectionSinY, &matShadowViewProj); + const auto projectionSinY = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; + Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getCapabilities().clipSpaceMinZ, projectionSinY, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index 19ee2a483d..9e19c6632c 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -50,7 +50,7 @@ RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _ _instancedQueue(CC_NEW(RenderInstancedQueue)), _batchedQueue(CC_NEW(RenderBatchedQueue)) { auto *device = gfx::Device::getInstance(); - const auto alignment = device->getUboOffsetAlignment(); + const auto alignment = device->getCapabilities().uboOffsetAlignment; _lightBufferStride = ((UBOForwardLight::SIZE + alignment - 1) / alignment) * alignment; _lightBufferElementCount = _lightBufferStride / sizeof(float); _lightBuffer = device->createBuffer({ diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index ab125abfa4..c9186d398a 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -68,14 +68,14 @@ gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFla colorAttachment.loadOp = gfx::LoadOp::DISCARD; } else { colorAttachment.loadOp = gfx::LoadOp::LOAD; - colorAttachment.beginLayout = gfx::TextureLayout::PRESENT_SRC; + colorAttachment.beginAccesses = {gfx::AccessType::PRESENT}; } } if (static_cast(clearFlags & gfx::ClearFlagBit::DEPTH_STENCIL) != gfx::ClearFlagBit::DEPTH_STENCIL) { if (!(clearFlags & gfx::ClearFlagBit::DEPTH)) depthStencilAttachment.depthLoadOp = gfx::LoadOp::LOAD; if (!(clearFlags & gfx::ClearFlagBit::STENCIL)) depthStencilAttachment.stencilLoadOp = gfx::LoadOp::LOAD; - depthStencilAttachment.beginLayout = gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL; + depthStencilAttachment.beginAccesses = {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; } auto renderPass = device->createRenderPass({ diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index cd64e0b9c9..dd2f9019eb 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -131,26 +131,10 @@ void ShadowFlow::initShadowFrameBuffer(RenderPipeline *pipeline, const Light *li const auto height = (uint)shadowMapSize.y; if (!_renderPass) { - _renderPass = device->createRenderPass({ - {{ - gfx::Format::RGBA8, - 1, - gfx::LoadOp::CLEAR, // should clear color attachment - gfx::StoreOp::STORE, - gfx::TextureLayout::UNDEFINED, - gfx::TextureLayout::PRESENT_SRC, - }}, - { - device->getDepthStencilFormat(), - 1, - gfx::LoadOp::CLEAR, - gfx::StoreOp::DISCARD, - gfx::LoadOp::CLEAR, - gfx::StoreOp::DISCARD, - gfx::TextureLayout::UNDEFINED, - gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL, - }, - }); + gfx::RenderPassInfo rpInfo; + rpInfo.depthStencilAttachment.depthStoreOp = gfx::StoreOp::DISCARD; + rpInfo.depthStencilAttachment.stencilStoreOp = gfx::StoreOp::DISCARD; + _renderPass = device->createRenderPass(rpInfo); } vector renderTargets; diff --git a/native/tools/bindings-generator/generator.py b/native/tools/bindings-generator/generator.py index ffcfaedc59..50416bbe87 100755 --- a/native/tools/bindings-generator/generator.py +++ b/native/tools/bindings-generator/generator.py @@ -547,7 +547,7 @@ class NativeType(object): if re.search("(short|int|double|float|long|ssize_t)$", nt.name) is not None: nt.is_numeric = True - nt.kind = ntype.kind + nt.kind = ntype.kind return nt @staticmethod @@ -938,7 +938,7 @@ class NativeOverloadedFunction(object): config = gen.config static = self.implementations[0].static # loggger.info("NativeOverloadedFunction: " + current_class.namespaced_class_name + ':' + self.func_name + ", is_constructor:" + str(self.is_constructor) + ", is_ctor:" + str(self.is_ctor)) - + if not is_ctor: tpl = Template(file=os.path.join(gen.target, "templates", "function.h"), searchList=[current_class, self]) @@ -1031,8 +1031,8 @@ class NativeClass(object): if item["getter"] is None and item["setter"] is None: #logger.info("gettter %s, setter %s" % (field["getter"], field["setter"])) raise Exception("getter_setter for %s.%s both None" %(self.class_name, field_name)) - if item["getter"] is not None: - self.getter_list.append(item["getter"].func_name) + if item["getter"] is not None: + self.getter_list.append(item["getter"].func_name) if item["setter"] is not None: self.setter_list.append(item["setter"].func_name) self.getter_setter.append(item) @@ -1055,7 +1055,7 @@ class NativeClass(object): return method_name["name"] in self.generator.shadowed_methods_by_getter_setter[self.class_name] return False - def find_method(self, method_name): + def find_method(self, method_name): for m in self.methods : if self.methods[m].signature_name == method_name : return self.methods[m] @@ -1341,7 +1341,7 @@ class NativeEnum(object): field["name"] = node.displayname field["value"] = node.enum_value self.fields.append(field) - + def generate_code(self): ''' @@ -1474,19 +1474,19 @@ class Generator(object): for replace in list_of_replace_headers: header, replaced_header = replace.split("::") self.replace_headers[header] = replaced_header - + if "getter_setter" in opts : #logger.info(" getter_setter : %s" % opts["getter_setter"]) list_of_getter_setter = re.split(",\n?", opts['getter_setter']) for line in list_of_getter_setter: #logger.info(" line %s" % line) - if len(line) == 0: + if len(line) == 0: continue gs_kls, gs_fields_txt = line.split("::") gs_obj = self.getter_setter[gs_kls] = {} gs_sd = self.shadowed_methods_by_getter_setter[gs_kls] = [] match = re.match("\[([^]]+)\]",gs_fields_txt) - if match: + if match: list_of_fields = match.group(1).split(" ") for field in list_of_fields: field_component = field.split("/") @@ -1516,7 +1516,7 @@ class Generator(object): for fn in rename_map: if method_name == rename_map[fn]: return True - return False + return False def should_rename_function(self, class_name, method_name): if self.rename_functions.has_key(class_name) and self.rename_functions[class_name].has_key(method_name): @@ -1873,6 +1873,7 @@ class Generator(object): return "func" else: return namespace_class_name + def main(): from optparse import OptionParser @@ -1954,7 +1955,7 @@ def main(): 'prefix': config.get(s, 'prefix'), 'headers': (config.get(s, 'headers' , 0, dict(userconfig.items('DEFAULT')))), 'replace_headers': config.get(s, 'replace_headers') if config.has_option(s, 'replace_headers') else None, - 'classes': config.get(s, 'classes').split(' '), + 'classes': re.split('[\s,]+', re.sub('[#;].*', '', config.get(s, 'classes'))), 'classes_need_extend': config.get(s, 'classes_need_extend').split(' ') if config.has_option(s, 'classes_need_extend') else [], 'clang_args': (config.get(s, 'extra_arguments', 0, dict(userconfig.items('DEFAULT'))) or "").split(" "), 'target': os.path.join(workingdir, "targets", t), diff --git a/native/tools/gfx-define-generator/generate.js b/native/tools/gfx-define-generator/generate.js index 9158dfdc85..61645c40b2 100644 --- a/native/tools/gfx-define-generator/generate.js +++ b/native/tools/gfx-define-generator/generate.js @@ -1,7 +1,6 @@ const ps = require('path'); const fs = require('fs'); const yaml = require('js-yaml'); -const { InferencePriority } = require('typescript'); const options = { engineRoot: '', @@ -18,7 +17,7 @@ for (let i = 2; i < argc; i++) { options.engineRoot = 'default'; } else if (arg === '--clear') { options.clear = true; - } else if (arg === '--nonVerbatimCopy') { + } else if (arg === '--non-verbatim-copy') { options.nonVerbatimCopy = true; } else if (arg === '--debug') { options.debug = true; @@ -76,7 +75,7 @@ while (enumCap) { // now discard all block comments header = header.replace(/\/\*.*?\*\//gs, ''); header = header.replace(/\s*[*&](.)/g, (_, c) => (c === '>' ? '' : ' ') + c); -header = header.replace(/vector<(.+?)>/g, '$1[]'); +header = header.replace(/(?:\w*::)?vector<(.+?)>/g, '$1[]'); const typedefRE = /using\s+(.+?)\s*=\s*(.+?);/gs; const typedefMap = { lists: {}, others: [] }; @@ -146,6 +145,8 @@ while (structCap) { type = type.replace(/(\b)(?:String)(\b)/, '$1string$2'); } if (memberCap[1]) readonly = true; + const isArray = type.endsWith('[]'); + const decayedType = isArray ? type.slice(0, -2) : type; let value = memberCap[4]; let n = Number.parseInt(value); @@ -163,12 +164,15 @@ while (structCap) { return `[${ctorStr.repeat(count).slice(0, -2)}]`; }); } else { - if (type.endsWith('[]')) value = '[]'; + if (isArray) value = '[]'; else if (type === 'string') value = '\'\''; else value = `new ${type}()`; } - const info = struct.member[memberCap[3]] = { readonly, type, value }; + const info = struct.member[memberCap[3]] = { + // all the overridable values + readonly, type, value, isArray, decayedType + }; const directives = memberCap[5]; if (directives) { @@ -225,8 +229,7 @@ for (const name of Object.keys(structMap)) { const struct = structMap[name]; for (const key in struct.member) { - const info = struct.member[key]; - let { readonly, type, value } = info; + const { readonly, type, value } = struct.member[key]; const decl = readonly ? `readonly ${key}` : key; if (value || value === 0) { output += ` public ${decl}: ${type} = ${value},\n`; @@ -235,12 +238,34 @@ for (const name of Object.keys(structMap)) { } } - output += ` ) {}\n}\n\n`; + output += ` ) {}\n`; + + if (!Object.keys(struct.member).some((k) => struct.member[k].readonly)) { + output += `\n public copy (info: ${name}) {\n`; + for (const key in struct.member) { + const { decayedType, isArray } = struct.member[key]; + if (isArray) { + if (structMap[decayedType]) { // nested object + output += ` deepCopy(this.${key}, info.${key}, ${decayedType});\n` + } else { + output += ` this.${key} = info.${key}.slice();\n`; + } + } else if (structMap[decayedType]) { // nested object + output += ` this.${key}.copy(info.${key});\n`; + } else { + output += ` this.${key} = info.${key};\n`; + } + } + output += ` return this;\n`; + output += ` }\n`; + } + + output += `}\n\n`; } if (options.clear) output = ''; -const outputFile = options.debug ? `${__dirname}/define.ts` : ps.join(options.engineRoot, 'cocos/core/gfx/define.ts'); +const outputFile = options.debug ? `${__dirname}/define.ts` : ps.join(options.engineRoot, 'cocos/core/gfx/base/define.ts'); let source = fs.readFileSync(outputFile).toString(); const begGuardRE = /![A-Z ]+!\s*=+\s*\*\//; diff --git a/native/tools/gles-wrangler-generator/generate.js b/native/tools/gles-wrangler-generator/generate.js index 494faaf35e..fe7fd1aeec 100644 --- a/native/tools/gles-wrangler-generator/generate.js +++ b/native/tools/gles-wrangler-generator/generate.js @@ -40,7 +40,7 @@ for (let i = 2; i < argc; i++) { const glSpec = parser.parse(fs.readFileSync(glRegistry.local).toString(), parseOpt).registry[0]; const eglSpec = parser.parse(fs.readFileSync(eglRegistry.local).toString(), parseOpt).registry[0]; - const generate = (spec, featureNames, moduleName, bootstraps = []) => { + const generate = (spec, featureNames, moduleName, bootstraps = [], noExtension = false) => { const nameRecord = new Set(); let headerDecl = ''; let sourceDef = ''; @@ -74,41 +74,44 @@ for (let i = 2; i < argc; i++) { } append(`\n`); } - const featureAPI = spec.feature.find((f) => f.name === featureNames[0]).api; - for (const extension of spec.extensions[0].extension) { - if (!extension.supported.includes(featureAPI) || !extension.require) continue; - let needDeclare = false; - for (const require of extension.require) { - if (require.api && !require.api.includes(featureAPI) || - !require.command || !require.command.length || - require.command.every((cmd) => nameRecord.has(cmd.name))) continue; - if (!needDeclare) { - append(`#if defined(${extension.name})\n`); - needDeclare = true; - } else { - append(`\n`); + if (!noExtension) { + const featureAPI = spec.feature.find((f) => f.name === featureNames[0]).api; + for (const extension of spec.extensions[0].extension) { + if (!extension.supported.includes(featureAPI) || !extension.require) continue; + let needDeclare = false; + for (const require of extension.require) { + if (require.api && !require.api.includes(featureAPI) || + !require.command || !require.command.length || + require.command.every((cmd) => nameRecord.has(cmd.name))) continue; + if (!needDeclare) { + append(`#if defined(${extension.name})\n`); + needDeclare = true; + } else { + append(`\n`); + } + for (const command of require.command) { + if (nameRecord.has(command.name)) continue; + writeCommand(command.name); + } } - for (const command of require.command) { - if (nameRecord.has(command.name)) continue; - writeCommand(command.name); + if (needDeclare) { + append(`#endif /* defined(${extension.name}) */\n\n`); } } - if (needDeclare) { - append(`#endif /* defined(${extension.name}) */\n\n`); - } } return { headerDecl, sourceDef, sourceLoad }; } const eglSrc = generate(eglSpec, ['EGL_VERSION_1_0', 'EGL_VERSION_1_1', 'EGL_VERSION_1_2', 'EGL_VERSION_1_3', 'EGL_VERSION_1_4', 'EGL_VERSION_1_5'], 'eglw', ['eglGetProcAddress']); const es2Src = generate(glSpec, ['GL_ES_VERSION_2_0'], 'gles2w'); - const es3Src = generate(glSpec, ['GL_ES_VERSION_2_0', 'GL_ES_VERSION_3_0', 'GL_ES_VERSION_3_1', 'GL_ES_VERSION_3_2'], 'gles3w'); + const es3Src = generate(glSpec, ['GL_ES_VERSION_3_0', 'GL_ES_VERSION_3_1', 'GL_ES_VERSION_3_2'], 'gles3w', [], true); const updateBlock = (source, moduleName, keyword, content, indentEnd) => { const flag = `/\\* ${moduleName.toUpperCase()}_GENERATE_${keyword} \\*/\n`; const flagRE = new RegExp(flag, 'g'); const indices = []; while (flagRE.exec(source)) indices.push(flagRE.lastIndex); + if (indices.length !== 2) return source; indices[1] -= flag.length - 2; // two escape characters if (options.clear) content = ''; if (indentEnd) content += ' '; @@ -118,7 +121,6 @@ for (let i = 2; i < argc; i++) { const update = (path, moduleName, generatedSrc) => { let header = fs.readFileSync(`${path}.h`); let source = fs.readFileSync(`${path}.cpp`); - let sourceOC = fs.readFileSync(`${path}.mm`); header = updateBlock(header, moduleName, 'EGL_DECLARATION', eglSrc.headerDecl); header = updateBlock(header, moduleName, 'GLES_DECLARATION', generatedSrc.headerDecl); @@ -128,16 +130,11 @@ for (let i = 2; i < argc; i++) { source = updateBlock(source, moduleName, 'EGL_LOAD', eglSrc.sourceLoad.replace(/eglwLoad/g, `${moduleName}Load`), true); source = updateBlock(source, moduleName, 'GLES_LOAD', generatedSrc.sourceLoad, true); - sourceOC = updateBlock(sourceOC, moduleName, 'EGL_DEFINITION', eglSrc.sourceDef); - sourceOC = updateBlock(sourceOC, moduleName, 'GLES_DEFINITION', generatedSrc.sourceDef); - sourceOC = updateBlock(sourceOC, moduleName, 'EGL_LOAD', eglSrc.sourceLoad.replace(/eglwLoad/g, `${moduleName}Load`), true); - sourceOC = updateBlock(sourceOC, moduleName, 'GLES_LOAD', generatedSrc.sourceLoad, true); - fs.writeFileSync(`${path}.h`, header); fs.writeFileSync(`${path}.cpp`, source); - fs.writeFileSync(`${path}.mm`, sourceOC); }; - update(`${__dirname}/../../cocos/renderer/gfx-gles2/gles2w`, 'gles2w', es2Src); - update(`${__dirname}/../../cocos/renderer/gfx-gles3/gles3w`, 'gles3w', es3Src); + update(`${__dirname}/../../cocos/renderer/gfx-gles-common/eglw`, 'eglw', eglSrc); + update(`${__dirname}/../../cocos/renderer/gfx-gles-common/gles2w`, 'gles2w', es2Src); + update(`${__dirname}/../../cocos/renderer/gfx-gles-common/gles3w`, 'gles3w', es3Src); })(); diff --git a/native/tools/tojs/genbindings.py b/native/tools/tojs/genbindings.py index 107d113425..c30be61b76 100755 --- a/native/tools/tojs/genbindings.py +++ b/native/tools/tojs/genbindings.py @@ -144,21 +144,21 @@ def main(): output_dir = '%s/cocos/bindings/auto' % project_root cmd_args = { - 'cocos.ini' : ('cocos', 'jsb_cocos_auto'), - 'video.ini': ('video', 'jsb_video_auto'), - 'webview.ini': ('webview', 'jsb_webview_auto'), - 'audio.ini' : ('audio', 'jsb_audio_auto'), - 'extension.ini' : ('extension', 'jsb_extension_auto'), - 'network.ini' : ('network', 'jsb_network_auto'), + # 'cocos.ini' : ('cocos', 'jsb_cocos_auto'), + # 'video.ini': ('video', 'jsb_video_auto'), + # 'webview.ini': ('webview', 'jsb_webview_auto'), + # 'audio.ini' : ('audio', 'jsb_audio_auto'), + # 'extension.ini' : ('extension', 'jsb_extension_auto'), + # 'network.ini' : ('network', 'jsb_network_auto'), 'gfx.ini': ('gfx', 'jsb_gfx_auto'), - 'gles2.ini': ('gles2', 'jsb_gles2_auto'), - 'gles3.ini': ('gles3', 'jsb_gles3_auto'), - 'metal.ini': ('metal', 'jsb_mtl_auto'), - 'vulkan.ini': ('vulkan', 'jsb_vk_auto'), - 'pipeline.ini': ('pipeline', 'jsb_pipeline_auto'), - 'spine.ini': ('spine','jsb_spine_auto'), - 'editor_support.ini': ('editor_support','jsb_editor_support_auto'), - 'dragonbones.ini': ('dragonbones','jsb_dragonbones_auto') + # 'gles2.ini': ('gles2', 'jsb_gles2_auto'), + # 'gles3.ini': ('gles3', 'jsb_gles3_auto'), + # 'metal.ini': ('metal', 'jsb_mtl_auto'), + # 'vulkan.ini': ('vulkan', 'jsb_vk_auto'), + # 'pipeline.ini': ('pipeline', 'jsb_pipeline_auto'), + # 'spine.ini': ('spine','jsb_spine_auto'), + # 'editor_support.ini': ('editor_support','jsb_editor_support_auto'), + # 'dragonbones.ini': ('dragonbones','jsb_dragonbones_auto') } target = 'spidermonkey' generator_py = '%s/generator.py' % cxx_generator_root diff --git a/native/tools/tojs/gfx.ini b/native/tools/tojs/gfx.ini index 36c3d7127a..7adf57d523 100644 --- a/native/tools/tojs/gfx.ini +++ b/native/tools/tojs/gfx.ini @@ -33,7 +33,18 @@ replace_headers = # what classes to produce code for. You can use regular expressions here. When testing the regular # expression, it will be enclosed in "^$", like this: "^Menu.*$". -classes = GFXObject Device Buffer CommandBuffer Framebuffer InputAssembler DescriptorSet DescriptorSetLayout PipelineLayout PipelineState Fence Queue RenderPass Sampler Shader Texture TextureLayout ContextInfo TextureViewInfo ShaderMacro PushConstantRange InputState PipelineStateInfo FormatInfo MemoryStatus FenceInfo Attribute DeviceInfo BindingMappingInfo RasterizerState DepthStencilState BlendState AccessType GlobalBarrier PrimitiveMode Color DepthStencilAttachment SubPassInfo UniformBlock UniformSampler Uniform ShaderStage DescriptorSetLayoutBinding Format Context BlendTarget FramebufferInfo RenderPassInfo ColorAttachment SamplerInfo DescriptorSetLayoutInfo DescriptorSetInfo InputAssemblerInfo PipelineLayoutInfo ShaderInfo Rect TextureInfo BufferTextureCopy Offset Extent TextureSubres BufferInfo BufferViewInfo +classes = + # classes + GFXObject Context DescriptorSet DescriptorSetLayout Device Buffer CommandBuffer Framebuffer GlobalBarrier InputAssembler, + PipelineLayout PipelineState Queue RenderPass Sampler Shader Texture TextureBarrier, + # structs + Attribute BindingMappingInfo BlendState BlendTarget BufferInfo BufferTextureCopy BufferViewInfo Color ColorAttachment CommandBufferInfo, + DepthStencilAttachment DepthStencilState DescriptorSetInfo DescriptorSetLayoutBinding DescriptorSetLayoutInfo DeviceCaps DeviceInfo, + DispatchInfo DrawInfo Extent FramebufferInfo GlobalBarrierInfo IndirectBuffer InputAssemblerInfo InputState, + MemoryStatus Offset PipelineLayoutInfo QueueInfo RasterizerState Rect RenderPassInfo SamplerInfo ShaderInfo ShaderStage Size SubpassInfo, + TextureBarrierInfo TextureBlit TextureCopy TextureInfo TextureSubresLayers TextureSubresRange TextureViewInfo Uniform, + UniformBlock UniformInputAttachment UniformSampler UniformSamplerTexture UniformStorageBuffer UniformStorageImage UniformTexture Viewport + ; FormatInfo classes_need_extend = @@ -52,7 +63,6 @@ skip = Buffer::[Buffer getDevice initialize update], DescriptorSetLayout::[DescriptorSetLayout getDevice getBindingIndices descriptorIndices getDescriptorIndices], PipelineLayout::[PipelineLayout getDevice], PipelineState::[PipelineState getDevice], - Fence::[Fence getDevice], Queue::[Queue getDevice submit$], RenderPass::[RenderPass getDevice getColorAttachments getBindings getBindingIndices], Sampler::[Sampler getDevice], @@ -61,7 +71,7 @@ skip = Buffer::[Buffer getDevice initialize update], Device::[copyBuffersToTexture createBuffer createTexture getInstance flushCommands$], Context::[Context] -getter_setter = Device::[gfxAPI surfaceTransform deviceName width height nativeWidth nativeHeight memoryStatus context queue commandBuffer renderer vendor numDrawCalls numInstances numTris maxVertexAttributes maxVertexUniformVectors maxFragmentUniformVectors maxTextureUnits maxVertexTextureUnits maxUniformBufferBindings maxUniformBlockSize maxTextureSize maxCubeMapTextureSize depthBits stencilBits colorFormat depthStencilFormat clipSpaceMinZ screenSpaceSignY UVSpaceSignY], +getter_setter = Device::[gfxAPI surfaceTransform deviceName width height nativeWidth nativeHeight memoryStatus context queue commandBuffer renderer vendor numDrawCalls numInstances numTris colorFormat depthStencilFormat capabilities], Shader::[name shaderID/getID stages attributes blocks samplers], Texture::[type usage format width height depth layerCount levelCount size samples flags buffer], Queue::[type], @@ -72,7 +82,7 @@ getter_setter = Device::[gfxAPI surfaceTransform deviceName width height nativeW Context::[sharedContext/getSharedContext vsyncMode colorFormat depthStencilFormat], Framebuffer::[renderPass colorTextures depthStencilTexture], Buffer::[usage memUsage stride count size flags], - Sampler::[minFilter magFilter mipFilter addressU addressV addressW maxAnisotropy cmpFunc borderColor minLOD maxLOD mipLODBias], + Sampler::[minFilter magFilter mipFilter addressU addressV addressW maxAnisotropy cmpFunc borderColor mipLODBias], GFXObject::[gfxType/getType] rename_functions = DepthStencilState::[getHash=hash], diff --git a/native/tools/tojs/gles2.ini b/native/tools/tojs/gles2.ini index 6b93483eba..ff89a8a249 100644 --- a/native/tools/tojs/gles2.ini +++ b/native/tools/tojs/gles2.ini @@ -44,7 +44,7 @@ classes_need_extend = # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = GLES2Device::[copyBuffersToTexture stateCache cmdAllocator stagingBufferPool useVAO useDrawInstanced useInstancedArrays useDiscardFramebuffer checkExtension getThreadID] +skip = GLES2Device::[copyBuffersToTexture stateCache stagingBufferPool useVAO useDrawInstanced useInstancedArrays useDiscardFramebuffer checkExtension getThreadID] getter_setter = diff --git a/native/tools/tojs/gles3.ini b/native/tools/tojs/gles3.ini index 075ea779de..9689a5f1b7 100644 --- a/native/tools/tojs/gles3.ini +++ b/native/tools/tojs/gles3.ini @@ -44,7 +44,7 @@ classes_need_extend = # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = GLES3Device::[copyBuffersToTexture stateCache cmdAllocator stagingBufferPool checkExtension getThreadID] +skip = GLES3Device::[copyBuffersToTexture stateCache framebufferCacheMap stagingBufferPool checkExtension getThreadID] getter_setter = diff --git a/native/tools/tojs/vulkan.ini b/native/tools/tojs/vulkan.ini index 1b12c37d30..3dd809fa33 100644 --- a/native/tools/tojs/vulkan.ini +++ b/native/tools/tojs/vulkan.ini @@ -44,7 +44,7 @@ classes_need_extend = # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = CCVKDevice::[copyBuffersToTexture gpuContext gpuDevice gpuSwapchain gpuBufferHub gpuTransportHub gpuDescriptorHub gpuSemaphorePool gpuDescriptorSetHub gpuFencePool gpuRecycleBin gpuStagingBufferPool checkExtension] +skip = CCVKDevice::[copyBuffersToTexture gpuContext gpuDevice gpuSwapchain gpuBufferHub gpuTransportHub gpuDescriptorHub gpuSemaphorePool gpuDescriptorSetHub gpuFencePool gpuRecycleBin gpuStagingBufferPool gpuTextureLayoutManager checkExtension] getter_setter = From cae4a77261d71430582c1a2295669390bdf2f9a0 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 3 Feb 2021 17:46:26 +0800 Subject: [PATCH 146/270] fix conflicts --- native/cocos/renderer/pipeline/Define.cpp | 20 +++++++++---------- native/cocos/renderer/pipeline/Define.h | 10 +++++----- .../pipeline/deferred/DeferredPipeline.cpp | 4 ++-- .../pipeline/deferred/GbufferFlow.cpp | 10 ++++------ .../pipeline/deferred/LightingFlow.cpp | 11 +++++----- .../pipeline/deferred/LightingStage.cpp | 4 ++-- 6 files changed, 28 insertions(+), 31 deletions(-) diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index d737aeae59..0c81b5491f 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -250,11 +250,11 @@ const gfx::UniformSamplerTexture SHADOWMAP::LAYOUT = { const String SAMPLERGBUFFERALBEDOMAP::NAME = "cc_gbuffer_albedoMap"; const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERALBEDOMAP::DESCRIPTOR = { SAMPLERGBUFFERALBEDOMAP::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler SAMPLERGBUFFERALBEDOMAP::LAYOUT = { +const gfx::UniformSamplerTexture SAMPLERGBUFFERALBEDOMAP::LAYOUT = { GLOBAL_SET, SAMPLERGBUFFERALBEDOMAP::BINDING, SAMPLERGBUFFERALBEDOMAP::NAME, @@ -265,11 +265,11 @@ const gfx::UniformSampler SAMPLERGBUFFERALBEDOMAP::LAYOUT = { const String SAMPLERGBUFFERPOSITIONMAP::NAME = "cc_gbuffer_positionMap"; const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERPOSITIONMAP::DESCRIPTOR = { SAMPLERGBUFFERPOSITIONMAP::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler SAMPLERGBUFFERPOSITIONMAP::LAYOUT = { +const gfx::UniformSamplerTexture SAMPLERGBUFFERPOSITIONMAP::LAYOUT = { GLOBAL_SET, SAMPLERGBUFFERPOSITIONMAP::BINDING, SAMPLERGBUFFERPOSITIONMAP::NAME, @@ -280,11 +280,11 @@ const gfx::UniformSampler SAMPLERGBUFFERPOSITIONMAP::LAYOUT = { const String SAMPLERGBUFFERNORMALMAP::NAME = "cc_gbuffer_normalMap"; const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERNORMALMAP::DESCRIPTOR = { SAMPLERGBUFFERNORMALMAP::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler SAMPLERGBUFFERNORMALMAP::LAYOUT = { +const gfx::UniformSamplerTexture SAMPLERGBUFFERNORMALMAP::LAYOUT = { GLOBAL_SET, SAMPLERGBUFFERNORMALMAP::BINDING, SAMPLERGBUFFERNORMALMAP::NAME, @@ -295,11 +295,11 @@ const gfx::UniformSampler SAMPLERGBUFFERNORMALMAP::LAYOUT = { const String SAMPLERGBUFFEREMISSIVEMAP::NAME = "cc_gbuffer_emissiveMap"; const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFEREMISSIVEMAP::DESCRIPTOR = { SAMPLERGBUFFEREMISSIVEMAP::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler SAMPLERGBUFFEREMISSIVEMAP::LAYOUT = { +const gfx::UniformSamplerTexture SAMPLERGBUFFEREMISSIVEMAP::LAYOUT = { GLOBAL_SET, SAMPLERGBUFFEREMISSIVEMAP::BINDING, SAMPLERGBUFFEREMISSIVEMAP::NAME, @@ -310,11 +310,11 @@ const gfx::UniformSampler SAMPLERGBUFFEREMISSIVEMAP::LAYOUT = { const String SAMPLERLIGHTINGRESULTMAP::NAME = "cc_lighting_resultMap"; const gfx::DescriptorSetLayoutBinding SAMPLERLIGHTINGRESULTMAP::DESCRIPTOR = { SAMPLERLIGHTINGRESULTMAP::BINDING, - gfx::DescriptorType::SAMPLER, + gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, }; -const gfx::UniformSampler SAMPLERLIGHTINGRESULTMAP::LAYOUT = { +const gfx::UniformSamplerTexture SAMPLERLIGHTINGRESULTMAP::LAYOUT = { GLOBAL_SET, SAMPLERLIGHTINGRESULTMAP::BINDING, SAMPLERLIGHTINGRESULTMAP::NAME, diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index ddae15c880..a8388a51b0 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -427,35 +427,35 @@ struct CC_DLL SHADOWMAP : public Object { struct CC_DLL SAMPLERGBUFFERALBEDOMAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL SAMPLERGBUFFERPOSITIONMAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL SAMPLERGBUFFERNORMALMAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL SAMPLERGBUFFEREMISSIVEMAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; struct CC_DLL SAMPLERLIGHTINGRESULTMAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSampler LAYOUT; + static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 257e44352d..401015603c 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -72,14 +72,14 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl colorAttachment.loadOp = gfx::LoadOp::DISCARD; } else { colorAttachment.loadOp = gfx::LoadOp::LOAD; - colorAttachment.beginLayout = gfx::TextureLayout::PRESENT_SRC; + colorAttachment.beginAccesses = {gfx::AccessType::PRESENT}; } } if (static_cast(clearFlags & gfx::ClearFlagBit::DEPTH_STENCIL) != gfx::ClearFlagBit::DEPTH_STENCIL) { if (!(clearFlags & gfx::ClearFlagBit::DEPTH)) depthStencilAttachment.depthLoadOp = gfx::LoadOp::LOAD; if (!(clearFlags & gfx::ClearFlagBit::STENCIL)) depthStencilAttachment.stencilLoadOp = gfx::LoadOp::LOAD; - depthStencilAttachment.beginLayout = gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL; + depthStencilAttachment.beginAccesses = {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; } auto renderPass = device->createRenderPass({ diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp index 072f7795ba..caac0d87f1 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp @@ -66,11 +66,11 @@ void GbufferFlow::createRenderPass(gfx::Device *device) { gfx::ColorAttachment color = { gfx::Format::RGBA16F, - 1, + gfx::SampleCount::X1, gfx::LoadOp::CLEAR, gfx::StoreOp::STORE, - gfx::TextureLayout::UNDEFINED, - gfx::TextureLayout::COLOR_ATTACHMENT_OPTIMAL + {}, + {gfx::AccessType::COLOR_ATTACHMENT_WRITE}, }; for (int i = 0; i < 4; i++) { @@ -79,13 +79,11 @@ void GbufferFlow::createRenderPass(gfx::Device *device) { gfx::DepthStencilAttachment depth = { device->getDepthStencilFormat(), - 1, + gfx::SampleCount::X1, gfx::LoadOp::CLEAR, gfx::StoreOp::STORE, gfx::LoadOp::CLEAR, gfx::StoreOp::STORE, - gfx::TextureLayout::UNDEFINED, - gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL }; info.depthStencilAttachment = depth; diff --git a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp index 37f24cfbbe..84780fc490 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp @@ -61,23 +61,22 @@ void LightingFlow::createRenderPass(gfx::Device *device) { if (_lightingRenderPass == nullptr) { gfx::ColorAttachment cAttch = { gfx::Format::RGBA16F, - 1, + gfx::SampleCount::X1, gfx::LoadOp::CLEAR, gfx::StoreOp::STORE, - gfx::TextureLayout::UNDEFINED, - gfx::TextureLayout::COLOR_ATTACHMENT_OPTIMAL + {}, + {gfx::AccessType::COLOR_ATTACHMENT_WRITE}, }; gfx::RenderPassInfo info; info.colorAttachments.push_back(cAttch); info.depthStencilAttachment = { device->getDepthStencilFormat(), - 1, + gfx::SampleCount::X1, gfx::LoadOp::LOAD, gfx::StoreOp::DISCARD, gfx::LoadOp::DISCARD, gfx::StoreOp::DISCARD, - gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL, - gfx::TextureLayout::DEPTH_STENCIL_ATTACHMENT_OPTIMAL + {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}, }; _lightingRenderPass = device->createRenderPass(info); diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp index 5b88b93a5e..3f374fc41d 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp @@ -205,7 +205,7 @@ void LightingStage::initLightingBuffer() { // color/pos/dir/angle 都是vec4存储, 最后一个vec4只要x存储光源个数 uint totalSize = sizeof(Vec4) * 4 * _maxDeferredLights; - totalSize = std::ceil((float)totalSize / device->getUboOffsetAlignment()) * device->getUboOffsetAlignment(); + totalSize = std::ceil((float)totalSize / device->getCapabilities().uboOffsetAlignment) * device->getCapabilities().uboOffsetAlignment; // create lighting buffer and view if (_deferredLitsBufs == nullptr) { @@ -213,7 +213,7 @@ void LightingStage::initLightingBuffer() { gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, totalSize, - static_cast(device->getUboOffsetAlignment()), + static_cast(device->getCapabilities().uboOffsetAlignment), }; _deferredLitsBufs = device->createBuffer(bfInfo); assert(_deferredLitsBufs != nullptr); From 126ab62e03121948d3a093d703170377feb2ff0c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 4 Feb 2021 18:32:41 +0800 Subject: [PATCH 147/270] misc fixes --- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 24 +- native/cocos/bindings/auto/jsb_gfx_auto.h | 4 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 4 +- .../core/gfx-agent/GFXCommandBufferAgent.h | 4 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 2 +- .../renderer/core/gfx/GFXCommandBuffer.h | 4 +- .../cocos/renderer/core/gfx/GFXDef-common.h | 2 +- .../renderer/core/gfx/GFXGlobalBarrier.h | 2 +- .../cocos/renderer/core/gfx/GFXRenderPass.cpp | 1 + .../renderer/core/gfx/GFXTextureBarrier.h | 2 +- .../cocos/renderer/gfx-gles-common/eglw.cpp | 3 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 4 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 4 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 318 +++++++++--------- native/cocos/renderer/gfx-gles2/GLES2Device.h | 63 ++-- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 2 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 4 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 4 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 24 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 4 + .../cocos/renderer/gfx-gles3/GLES3Context.mm | 1 - .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 29 +- native/cocos/renderer/gfx-gles3/GLES3Device.h | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 2 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 2 +- native/cocos/renderer/gfx-metal/MTLSampler.mm | 4 - .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 4 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 4 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 12 +- native/templates/common/CMakeLists.txt | 6 +- native/tools/tojs/genbindings.py | 28 +- native/tools/tojs/vulkan.ini | 2 +- 36 files changed, 301 insertions(+), 282 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 4a65f67cd0..9d67ee9169 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -16955,24 +16955,24 @@ bool js_register_gfx_Framebuffer(se::Object* obj) se::Object* __jsb_cc_gfx_GlobalBarrier_proto = nullptr; se::Class* __jsb_cc_gfx_GlobalBarrier_class = nullptr; -static bool js_gfx_GlobalBarrier_get(se::State& s) +static bool js_gfx_GlobalBarrier_info(se::State& s) { cc::gfx::GlobalBarrier* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_get : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_GlobalBarrier_info : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - const cc::gfx::GlobalBarrierInfo& result = cobj->get(); + const cc::gfx::GlobalBarrierInfo& result = cobj->info(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_get : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_info : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); return false; } -SE_BIND_FUNC(js_gfx_GlobalBarrier_get) +SE_BIND_FUNC(js_gfx_GlobalBarrier_info) static bool js_gfx_GlobalBarrier_computeHash(se::State& s) { @@ -17031,7 +17031,7 @@ bool js_register_gfx_GlobalBarrier(se::Object* obj) { auto cls = se::Class::create("GlobalBarrier", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_GlobalBarrier_constructor)); - cls->defineFunction("get", _SE(js_gfx_GlobalBarrier_get)); + cls->defineFunction("info", _SE(js_gfx_GlobalBarrier_info)); cls->defineStaticFunction("computeHash", _SE(js_gfx_GlobalBarrier_computeHash)); cls->defineFinalizeFunction(_SE(js_cc_gfx_GlobalBarrier_finalize)); cls->install(); @@ -19091,24 +19091,24 @@ bool js_register_gfx_Texture(se::Object* obj) se::Object* __jsb_cc_gfx_TextureBarrier_proto = nullptr; se::Class* __jsb_cc_gfx_TextureBarrier_class = nullptr; -static bool js_gfx_TextureBarrier_get(se::State& s) +static bool js_gfx_TextureBarrier_info(se::State& s) { cc::gfx::TextureBarrier* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrier_get : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_TextureBarrier_info : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - const cc::gfx::TextureBarrierInfo& result = cobj->get(); + const cc::gfx::TextureBarrierInfo& result = cobj->info(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrier_get : Error processing arguments"); + SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrier_info : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); return false; } -SE_BIND_FUNC(js_gfx_TextureBarrier_get) +SE_BIND_FUNC(js_gfx_TextureBarrier_info) static bool js_gfx_TextureBarrier_computeHash(se::State& s) { @@ -19167,7 +19167,7 @@ bool js_register_gfx_TextureBarrier(se::Object* obj) { auto cls = se::Class::create("TextureBarrier", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_TextureBarrier_constructor)); - cls->defineFunction("get", _SE(js_gfx_TextureBarrier_get)); + cls->defineFunction("info", _SE(js_gfx_TextureBarrier_info)); cls->defineStaticFunction("computeHash", _SE(js_gfx_TextureBarrier_computeHash)); cls->defineFinalizeFunction(_SE(js_cc_gfx_TextureBarrier_finalize)); cls->install(); diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index 00797d924e..a7b415d1ad 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -655,7 +655,7 @@ bool js_register_cc_gfx_GlobalBarrier(se::Object* obj); bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::GlobalBarrier); -SE_DECLARE_FUNC(js_gfx_GlobalBarrier_get); +SE_DECLARE_FUNC(js_gfx_GlobalBarrier_info); SE_DECLARE_FUNC(js_gfx_GlobalBarrier_computeHash); SE_DECLARE_FUNC(js_gfx_GlobalBarrier_GlobalBarrier); @@ -766,7 +766,7 @@ bool js_register_cc_gfx_TextureBarrier(se::Object* obj); bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::TextureBarrier); -SE_DECLARE_FUNC(js_gfx_TextureBarrier_get); +SE_DECLARE_FUNC(js_gfx_TextureBarrier_info); SE_DECLARE_FUNC(js_gfx_TextureBarrier_computeHash); SE_DECLARE_FUNC(js_gfx_TextureBarrier_TextureBarrier); diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 8e80c0548d..4f25d82070 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -133,7 +133,7 @@ void CommandBufferAgent::end() { }); } -void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { +void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { uint attachmentCount = (uint)renderPass->getColorAttachments().size(); Color *actorColors = nullptr; if (attachmentCount) { @@ -259,7 +259,7 @@ void CommandBufferAgent::setScissor(const Rect &rect) { }); } -void CommandBufferAgent::setLineWidth(const float width) { +void CommandBufferAgent::setLineWidth(float width) { ENQUEUE_MESSAGE_2( _messageQueue, CommandBufferSetLineWidth, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 44a018647a..b414ba1a77 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -23,14 +23,14 @@ public: void destroy() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; - void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; void endRenderPass() override; void bindPipelineState(PipelineState *pso) override; void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; void bindInputAssembler(InputAssembler *ia) override; void setViewport(const Viewport &vp) override; void setScissor(const Rect &rect) override; - void setLineWidth(const float width) override; + void setLineWidth(float width) override; void setDepthBias(float constant, float clamp, float slope) override; void setBlendConstants(const Color &constants) override; void setDepthBound(float minBounds, float maxBounds) override; diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index cdbe222d22..09568928de 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -62,7 +62,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { } ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); - //setMultithreaded(true); + setMultithreaded(true); return true; } diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 16ed5b378f..3708c049c3 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -17,14 +17,14 @@ public: virtual void destroy() = 0; virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) = 0; virtual void end() = 0; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) = 0; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) = 0; virtual void endRenderPass() = 0; virtual void bindPipelineState(PipelineState *pso) = 0; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) = 0; virtual void bindInputAssembler(InputAssembler *ia) = 0; virtual void setViewport(const Viewport &vp) = 0; virtual void setScissor(const Rect &rect) = 0; - virtual void setLineWidth(const float width) = 0; + virtual void setLineWidth(float width) = 0; virtual void setDepthBias(float constant, float clamp, float slope) = 0; virtual void setBlendConstants(const Color &constants) = 0; virtual void setDepthBound(float minBounds, float maxBounds) = 0; diff --git a/native/cocos/renderer/core/gfx/GFXDef-common.h b/native/cocos/renderer/core/gfx/GFXDef-common.h index fa4f5328f0..4ffb8a8d8a 100644 --- a/native/cocos/renderer/core/gfx/GFXDef-common.h +++ b/native/cocos/renderer/core/gfx/GFXDef-common.h @@ -2,7 +2,7 @@ #define CC_CORE_GFX_DEF_COMMON_H_ /** - * This file should be synced with engine/cocos/core/gfx/define.ts + * This file should be synced with engine/cocos/core/gfx/base/define.ts * every time changes being made, by manually running: * node tools/gfx-define-generator/generate.js * diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h index d81c5bef14..efebcd2a83 100644 --- a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h +++ b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h @@ -13,7 +13,7 @@ public: static uint computeHash(const GlobalBarrierInfo &info); - CC_INLINE const GlobalBarrierInfo &get() const { return _info; } + CC_INLINE const GlobalBarrierInfo &info() const { return _info; } protected: friend class Device; diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp index e80ba0fb5f..b765dabf60 100755 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp +++ b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp @@ -14,6 +14,7 @@ RenderPass::~RenderPass() { // Based on render pass compatibility uint RenderPass::computeHash() { + // https://stackoverflow.com/questions/20511347/a-good-hash-function-for-a-vector uint seed = _colorAttachments.size() * 2 + 2; if (_subpasses.size()) { for (const SubpassInfo &subPass : _subpasses) { diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h index 97730c5302..faf256f647 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h @@ -13,7 +13,7 @@ public: static uint computeHash(const TextureBarrierInfo &info); - CC_INLINE const TextureBarrierInfo &get() const { return _info; } + CC_INLINE const TextureBarrierInfo &info() const { return _info; } protected: friend class Device; diff --git a/native/cocos/renderer/gfx-gles-common/eglw.cpp b/native/cocos/renderer/gfx-gles-common/eglw.cpp index 696ae713a9..6263d13071 100644 --- a/native/cocos/renderer/gfx-gles-common/eglw.cpp +++ b/native/cocos/renderer/gfx-gles-common/eglw.cpp @@ -22,14 +22,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************************************************/ #if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) - #define EGL_EGL_PROTOTYPES 0 #include #include #include +#endif #include "eglw.h" +#if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) /** * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= * The following section is auto-generated from EGL spec by running: diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 8914957c85..06351626dc 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -105,7 +105,7 @@ void GLES2CommandBuffer::end() { } } -void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { +void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { _isInRenderPass = true; GLES2CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); @@ -177,7 +177,7 @@ void GLES2CommandBuffer::setScissor(const Rect &rect) { } } -void GLES2CommandBuffer::setLineWidth(const float width) { +void GLES2CommandBuffer::setLineWidth(float width) { if (math::IsNotEqualF(_curLineWidth, width)) { _curLineWidth = width; _isStateInvalid = true; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index d8cfb26d59..04501b8db9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -44,14 +44,14 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; virtual void bindInputAssembler(InputAssembler *ia) override; virtual void setViewport(const Viewport &vp) override; virtual void setScissor(const Rect &rect) override; - virtual void setLineWidth(const float width) override; + virtual void setLineWidth(float width) override; virtual void setDepthBias(float constant, float clamp, float slope) override; virtual void setBlendConstants(const Color &constants) override; virtual void setDepthBound(float minBounds, float maxBounds) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 47901d9554..d9a0dd791b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -548,7 +548,7 @@ const GLenum GLES2_BLEND_FACTORS[] = { void GLES2CmdFuncCreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); + GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); if (gpuBuffer->usage & BufferUsageBit::VERTEX) { gpuBuffer->glTarget = GL_ARRAY_BUFFER; @@ -557,7 +557,7 @@ void GLES2CmdFuncCreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -577,7 +577,7 @@ void GLES2CmdFuncCreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -591,13 +591,13 @@ void GLES2CmdFuncCreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { device->stateCache()->glElementArrayBuffer = 0; } } else if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); gpuBuffer->glTarget = GL_NONE; } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { gpuBuffer->glTarget = GL_NONE; } else if ((gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); gpuBuffer->glTarget = GL_NONE; } else { CCASSERT(false, "Unsupported BufferType, create buffer failed."); @@ -612,7 +612,7 @@ void GLES2CmdFuncDestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -624,7 +624,7 @@ void GLES2CmdFuncDestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -641,7 +641,7 @@ void GLES2CmdFuncDestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); + GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); if (gpuBuffer->usage & BufferUsageBit::VERTEX) { gpuBuffer->glTarget = GL_ARRAY_BUFFER; @@ -649,7 +649,7 @@ void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -668,7 +668,7 @@ void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -685,7 +685,7 @@ void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { if (gpuBuffer->buffer) { CC_FREE(gpuBuffer->buffer); } - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); gpuBuffer->glTarget = GL_NONE; } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { gpuBuffer->indirects.resize(gpuBuffer->count); @@ -695,7 +695,7 @@ void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { if (gpuBuffer->buffer) { CC_FREE(gpuBuffer->buffer); } - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); gpuBuffer->glTarget = GL_NONE; } else { CCASSERT(false, "Unsupported BufferType, resize buffer failed."); @@ -705,8 +705,8 @@ void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { void GLES2CmdFuncCreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) { gpuTexture->glInternelFmt = MapGLInternalFormat(gpuTexture->format); - gpuTexture->glFormat = MapGLFormat(gpuTexture->format); - gpuTexture->glType = FormatToGLType(gpuTexture->format); + gpuTexture->glFormat = MapGLFormat(gpuTexture->format); + gpuTexture->glType = FormatToGLType(gpuTexture->format); switch (gpuTexture->type) { case TextureType::TEX2D: { @@ -791,8 +791,8 @@ void GLES2CmdFuncDestroyTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture void GLES2CmdFuncResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) { gpuTexture->glInternelFmt = MapGLInternalFormat(gpuTexture->format); - gpuTexture->glFormat = MapGLFormat(gpuTexture->format); - gpuTexture->glType = FormatToGLType(gpuTexture->format); + gpuTexture->glFormat = MapGLFormat(gpuTexture->format); + gpuTexture->glType = FormatToGLType(gpuTexture->format); switch (gpuTexture->type) { case TextureType::TEX2D: { @@ -897,19 +897,19 @@ void GLES2CmdFuncDestroySampler(GLES2Device *device, GLES2GPUSampler *gpuSampler void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GLenum glShaderType = 0; String shaderTypeStr; - GLint status; + GLint status; for (size_t i = 0; i < gpuShader->gpuStages.size(); ++i) { GLES2GPUShaderStage &gpuStage = gpuShader->gpuStages[i]; switch (gpuStage.type) { case ShaderStageFlagBit::VERTEX: { - glShaderType = GL_VERTEX_SHADER; + glShaderType = GL_VERTEX_SHADER; shaderTypeStr = "Vertex Shader"; break; } case ShaderStageFlagBit::FRAGMENT: { - glShaderType = GL_FRAGMENT_SHADER; + glShaderType = GL_FRAGMENT_SHADER; shaderTypeStr = "Fragment Shader"; break; } @@ -982,14 +982,14 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { CC_LOG_INFO("Shader '%s' compilation succeeded.", gpuShader->name.c_str()); GLint attrMaxLength = 0; - GLint attrCount = 0; + GLint attrCount = 0; GL_CHECK(glGetProgramiv(gpuShader->glProgram, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &attrMaxLength)); GL_CHECK(glGetProgramiv(gpuShader->glProgram, GL_ACTIVE_ATTRIBUTES, &attrCount)); - GLchar glName[256]; + GLchar glName[256]; GLsizei glLength; GLsizei glSize; - GLenum glType; + GLenum glType; gpuShader->glInputs.resize(attrCount); for (GLint i = 0; i < attrCount; ++i) { @@ -1002,14 +1002,14 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { glName[offset - glName] = '\0'; } - gpuInput.glLoc = glGetAttribLocation(gpuShader->glProgram, glName); + gpuInput.glLoc = glGetAttribLocation(gpuShader->glProgram, glName); gpuInput.binding = gpuInput.glLoc; - gpuInput.name = glName; - gpuInput.type = MapType(glType); - gpuInput.stride = GLTypeSize(glType); - gpuInput.count = glSize; - gpuInput.size = gpuInput.stride * gpuInput.count; - gpuInput.glType = glType; + gpuInput.name = glName; + gpuInput.type = MapType(glType); + gpuInput.stride = GLTypeSize(glType); + gpuInput.count = glSize; + gpuInput.size = gpuInput.stride * gpuInput.count; + gpuInput.glType = glType; } // create uniform blocks @@ -1019,27 +1019,27 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { for (size_t i = 0; i < gpuShader->glBlocks.size(); ++i) { GLES2GPUUniformBlock &gpuBlock = gpuShader->glBlocks[i]; - UniformBlock &block = gpuShader->blocks[i]; + UniformBlock & block = gpuShader->blocks[i]; - gpuBlock.name = block.name; - gpuBlock.set = block.set; + gpuBlock.name = block.name; + gpuBlock.set = block.set; gpuBlock.binding = block.binding; gpuBlock.glUniforms.resize(block.members.size()); for (size_t j = 0; j < gpuBlock.glUniforms.size(); ++j) { GLES2GPUUniform &gpuUniform = gpuBlock.glUniforms[j]; - Uniform &uniform = block.members[j]; + Uniform & uniform = block.members[j]; gpuUniform.binding = GFX_INVALID_BINDING; - gpuUniform.name = uniform.name; - gpuUniform.type = uniform.type; - gpuUniform.stride = GFX_TYPE_SIZES[(int)uniform.type]; - gpuUniform.count = uniform.count; - gpuUniform.size = gpuUniform.stride * gpuUniform.count; - gpuUniform.offset = gpuBlock.size; - gpuUniform.glType = MapGLType(gpuUniform.type); - gpuUniform.glLoc = -1; - gpuUniform.buff = nullptr; + gpuUniform.name = uniform.name; + gpuUniform.type = uniform.type; + gpuUniform.stride = GFX_TYPE_SIZES[(int)uniform.type]; + gpuUniform.count = uniform.count; + gpuUniform.size = gpuUniform.stride * gpuUniform.count; + gpuUniform.offset = gpuBlock.size; + gpuUniform.glType = MapGLType(gpuUniform.type); + gpuUniform.glLoc = -1; + gpuUniform.buff = nullptr; gpuBlock.size += gpuUniform.size; } @@ -1051,14 +1051,14 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { gpuShader->glSamplers.resize(gpuShader->samplers.size()); for (size_t i = 0; i < gpuShader->glSamplers.size(); ++i) { - UniformSampler &sampler = gpuShader->samplers[i]; + UniformSampler & sampler = gpuShader->samplers[i]; GLES2GPUUniformSampler &gpuSampler = gpuShader->glSamplers[i]; - gpuSampler.set = sampler.set; - gpuSampler.binding = sampler.binding; - gpuSampler.name = sampler.name; - gpuSampler.count = sampler.count; - gpuSampler.glType = MapGLType(gpuSampler.type); - gpuSampler.glLoc = -1; + gpuSampler.set = sampler.set; + gpuSampler.binding = sampler.binding; + gpuSampler.name = sampler.name; + gpuSampler.count = sampler.count; + gpuSampler.glType = MapGLType(gpuSampler.type); + gpuSampler.glLoc = -1; } } @@ -1088,8 +1088,8 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { for (size_t u = 0; u < gpuBlock.glUniforms.size(); ++u) { if (gpuBlock.glUniforms[u].name == name) { GLES2GPUUniform &gpuUniform = gpuBlock.glUniforms[u]; - gpuUniform.glLoc = glGetUniformLocation(gpuShader->glProgram, glName); - gpuUniform.buff = (uint8_t *)CC_MALLOC(gpuUniform.size); + gpuUniform.glLoc = glGetUniformLocation(gpuShader->glProgram, glName); + gpuUniform.buff = (uint8_t *)CC_MALLOC(gpuUniform.size); gpuBlock.glActiveUniforms.emplace_back(gpuUniform); break; @@ -1101,9 +1101,9 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { // texture unit index mapping optimization vector glActiveSamplers; - vector glActiveSamplerLocations; - const BindingMappingInfo &bindingMappingInfo = device->bindingMappingInfo(); - unordered_map &texUnitCacheMap = device->stateCache()->texUnitCacheMap; + vector glActiveSamplerLocations; + const BindingMappingInfo & bindingMappingInfo = device->bindingMappingInfo(); + unordered_map & texUnitCacheMap = device->stateCache()->texUnitCacheMap; // sampler bindings in the flexible set comes strictly after buffer bindings // so we need to subtract the buffer count for these samplers @@ -1118,7 +1118,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { for (uint i = 0u; i < gpuShader->samplers.size(); i++) { const UniformSampler &sampler = gpuShader->samplers[i]; - GLint glLoc = glGetUniformLocation(gpuShader->glProgram, sampler.name.c_str()); + GLint glLoc = glGetUniformLocation(gpuShader->glProgram, sampler.name.c_str()); if (glLoc >= 0) { glActiveSamplers.push_back(gpuShader->glSamplers[i]); glActiveSamplerLocations.push_back(glLoc); @@ -1197,7 +1197,7 @@ void GLES2CmdFuncDestroyShader(GLES2Device *device, GLES2GPUShader *gpuShader) { if (device->stateCache()->glProgram == gpuShader->glProgram) { GL_CHECK(glUseProgram(0)); device->stateCache()->glProgram = 0; - gfxStateCache.gpuPipelineState = nullptr; + gfxStateCache.gpuPipelineState = nullptr; } GL_CHECK(glDeleteProgram(gpuShader->glProgram)); gpuShader->glProgram = 0; @@ -1222,22 +1222,22 @@ void GLES2CmdFuncCreateInputAssembler(GLES2Device *device, GLES2GPUInputAssemble gpuInputAssembler->glAttribs.resize(gpuInputAssembler->attributes.size()); for (size_t i = 0; i < gpuInputAssembler->glAttribs.size(); ++i) { GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[i]; - const Attribute &attrib = gpuInputAssembler->attributes[i]; + const Attribute & attrib = gpuInputAssembler->attributes[i]; GLES2GPUBuffer *gpuVB = (GLES2GPUBuffer *)gpuInputAssembler->gpuVertexBuffers[attrib.stream]; - gpuAttribute.name = attrib.name; - gpuAttribute.glType = FormatToGLType(attrib.format); - gpuAttribute.size = GFX_FORMAT_INFOS[(int)attrib.format].size; - gpuAttribute.count = GFX_FORMAT_INFOS[(int)attrib.format].count; + gpuAttribute.name = attrib.name; + gpuAttribute.glType = FormatToGLType(attrib.format); + gpuAttribute.size = GFX_FORMAT_INFOS[(int)attrib.format].size; + gpuAttribute.count = GFX_FORMAT_INFOS[(int)attrib.format].count; gpuAttribute.componentCount = GLComponentCount(gpuAttribute.glType); - gpuAttribute.isNormalized = attrib.isNormalized; - gpuAttribute.isInstanced = attrib.isInstanced; - gpuAttribute.offset = streamOffsets[attrib.stream]; + gpuAttribute.isNormalized = attrib.isNormalized; + gpuAttribute.isInstanced = attrib.isInstanced; + gpuAttribute.offset = streamOffsets[attrib.stream]; if (gpuVB) { gpuAttribute.glBuffer = gpuVB->glBuffer; - gpuAttribute.stride = gpuVB->stride; + gpuAttribute.stride = gpuVB->stride; } streamOffsets[attrib.stream] += gpuAttribute.size; } @@ -1248,7 +1248,7 @@ void GLES2CmdFuncDestroyInputAssembler(GLES2Device *device, GLES2GPUInputAssembl for (auto it = gpuInputAssembler->glVAOs.begin(); it != gpuInputAssembler->glVAOs.end(); ++it) { if (device->stateCache()->glVAO == it->second) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } GL_CHECK(glDeleteVertexArraysOES(1, &it->second)); @@ -1257,7 +1257,7 @@ void GLES2CmdFuncDestroyInputAssembler(GLES2Device *device, GLES2GPUInputAssembl } void GLES2CmdFuncCreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO) { - uint colorViewCount = gpuFBO->gpuColorTextures.size(); + uint colorViewCount = gpuFBO->gpuColorTextures.size(); uint swapchainImageIndices = 0; for (size_t i = 0; i < colorViewCount; ++i) { if (!gpuFBO->gpuColorTextures[i]) { @@ -1278,7 +1278,7 @@ void GLES2CmdFuncCreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpu } GLenum attachments[GFX_MAX_ATTACHMENTS] = {0}; - uint attachmentCount = 0; + uint attachmentCount = 0; for (size_t i = 0; i < gpuFBO->gpuColorTextures.size(); ++i) { GLES2GPUTexture *gpuColorTexture = gpuFBO->gpuColorTextures[i]; @@ -1346,9 +1346,9 @@ void GLES2CmdFuncDestroyFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gp void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRenderPass, GLES2GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - gfxStateCache.gpuRenderPass = gpuRenderPass; - gfxStateCache.gpuFramebuffer = gpuFramebuffer; - gfxStateCache.numClearColors = numClearColors; + gfxStateCache.gpuRenderPass = gpuRenderPass; + gfxStateCache.gpuFramebuffer = gpuFramebuffer; + gfxStateCache.numClearColors = numClearColors; GLenum *invalidAttachments = gfxStateCache.invalidAttachments; @@ -1367,9 +1367,9 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen cache->viewport.width != renderArea.width || cache->viewport.height != renderArea.height) { GL_CHECK(glViewport(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); - cache->viewport.left = renderArea.x; - cache->viewport.top = renderArea.y; - cache->viewport.width = renderArea.width; + cache->viewport.left = renderArea.x; + cache->viewport.top = renderArea.y; + cache->viewport.width = renderArea.width; cache->viewport.height = renderArea.height; } @@ -1378,14 +1378,18 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen cache->scissor.width != renderArea.width || cache->scissor.height != renderArea.height) { GL_CHECK(glScissor(renderArea.x, renderArea.y, renderArea.width, renderArea.height)); - cache->scissor.x = renderArea.x; - cache->scissor.y = renderArea.y; - cache->scissor.width = renderArea.width; + cache->scissor.x = renderArea.x; + cache->scissor.y = renderArea.y; + cache->scissor.width = renderArea.width; cache->scissor.height = renderArea.height; } - GLbitfield glClears = 0; - uint numAttachments = 0; + GLbitfield glClears = 0; + uint numAttachments = 0; + bool hasBoundFBO = gpuFramebuffer->isOffscreen; +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + hasBoundFBO = true; +#endif gpuRenderPass = gpuRenderPass; for (uint j = 0; j < numClearColors; ++j) { @@ -1405,7 +1409,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } case LoadOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR_EXT); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR_EXT); break; } default:; @@ -1428,7 +1432,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } case LoadOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_DEPTH_ATTACHMENT : GL_DEPTH_EXT); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_DEPTH_ATTACHMENT : GL_DEPTH_EXT); break; } default:; @@ -1451,7 +1455,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } case LoadOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_STENCIL_ATTACHMENT : GL_STENCIL_EXT); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_STENCIL_ATTACHMENT : GL_STENCIL_EXT); break; } default:; @@ -1494,11 +1498,15 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } void GLES2CmdFuncEndRenderPass(GLES2Device *device) { - GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - size_t numClearColors = gfxStateCache.numClearColors; - GLES2GPURenderPass *gpuRenderPass = gfxStateCache.gpuRenderPass; - GLES2GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; - GLenum *invalidAttachments = gfxStateCache.invalidAttachments; + GLES2ObjectCache & gfxStateCache = device->stateCache()->gfxStateCache; + size_t numClearColors = gfxStateCache.numClearColors; + GLES2GPURenderPass * gpuRenderPass = gfxStateCache.gpuRenderPass; + GLES2GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; + GLenum * invalidAttachments = gfxStateCache.invalidAttachments; + bool hasBoundFBO = gpuFramebuffer->isOffscreen; +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + hasBoundFBO = true; +#endif uint numAttachments = 0; for (uint j = 0; j < numClearColors; ++j) { @@ -1508,7 +1516,7 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { case StoreOp::STORE: break; case StoreOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR_EXT); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR_EXT); break; } default:; @@ -1523,7 +1531,7 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { case StoreOp::STORE: break; case StoreOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_DEPTH_ATTACHMENT : GL_DEPTH_EXT); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_DEPTH_ATTACHMENT : GL_DEPTH_EXT); break; } default:; @@ -1535,7 +1543,7 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { case StoreOp::STORE: break; case StoreOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_STENCIL_ATTACHMENT : GL_STENCIL_EXT); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_STENCIL_ATTACHMENT : GL_STENCIL_EXT); break; } default:; @@ -1554,21 +1562,21 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2DepthBounds &depthBounds, GLES2StencilWriteMask &stencilWriteMask, GLES2StencilCompareMask &stencilCompareMask) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLES2GPUStateCache *cache = device->stateCache(); - bool isShaderChanged = false; - GLenum glWrapS = 0u; - GLenum glWrapT = 0u; - GLenum glMinFilter = 0u; + GLES2GPUStateCache *cache = device->stateCache(); + bool isShaderChanged = false; + GLenum glWrapS = 0u; + GLenum glWrapT = 0u; + GLenum glMinFilter = 0u; if (gpuPipelineState && gpuPipelineState != gfxStateCache.gpuPipelineState) { gfxStateCache.gpuPipelineState = gpuPipelineState; - gfxStateCache.glPrimitive = gpuPipelineState->glPrimitive; + gfxStateCache.glPrimitive = gpuPipelineState->glPrimitive; if (gpuPipelineState->gpuShader) { if (cache->glProgram != gpuPipelineState->gpuShader->glProgram) { GL_CHECK(glUseProgram(gpuPipelineState->gpuShader->glProgram)); cache->glProgram = gpuPipelineState->gpuShader->glProgram; - isShaderChanged = true; + isShaderChanged = true; } } @@ -1652,8 +1660,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncFront], gpuPipelineState->dss.stencilRefFront, gpuPipelineState->dss.stencilReadMaskFront)); - cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; - cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; + cache->dss.stencilFuncFront = gpuPipelineState->dss.stencilFuncFront; + cache->dss.stencilRefFront = gpuPipelineState->dss.stencilRefFront; cache->dss.stencilReadMaskFront = gpuPipelineState->dss.stencilReadMaskFront; } if (cache->dss.stencilFailOpFront != gpuPipelineState->dss.stencilFailOpFront || @@ -1663,9 +1671,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpFront], GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpFront], GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpFront])); - cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; + cache->dss.stencilFailOpFront = gpuPipelineState->dss.stencilFailOpFront; cache->dss.stencilZFailOpFront = gpuPipelineState->dss.stencilZFailOpFront; - cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; + cache->dss.stencilPassOpFront = gpuPipelineState->dss.stencilPassOpFront; } if (cache->dss.stencilWriteMaskFront != gpuPipelineState->dss.stencilWriteMaskFront) { GL_CHECK(glStencilMaskSeparate(GL_FRONT, gpuPipelineState->dss.stencilWriteMaskFront)); @@ -1680,8 +1688,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2_CMP_FUNCS[(int)gpuPipelineState->dss.stencilFuncBack], gpuPipelineState->dss.stencilRefBack, gpuPipelineState->dss.stencilReadMaskBack)); - cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; - cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; + cache->dss.stencilFuncBack = gpuPipelineState->dss.stencilFuncBack; + cache->dss.stencilRefBack = gpuPipelineState->dss.stencilRefBack; cache->dss.stencilReadMaskBack = gpuPipelineState->dss.stencilReadMaskBack; } if (cache->dss.stencilFailOpBack != gpuPipelineState->dss.stencilFailOpBack || @@ -1691,9 +1699,9 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilFailOpBack], GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilZFailOpBack], GLES2_STENCIL_OPS[(int)gpuPipelineState->dss.stencilPassOpBack])); - cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; + cache->dss.stencilFailOpBack = gpuPipelineState->dss.stencilFailOpBack; cache->dss.stencilZFailOpBack = gpuPipelineState->dss.stencilZFailOpBack; - cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; + cache->dss.stencilPassOpBack = gpuPipelineState->dss.stencilPassOpBack; } if (cache->dss.stencilWriteMaskBack != gpuPipelineState->dss.stencilWriteMaskBack) { GL_CHECK(glStencilMaskSeparate(GL_BACK, gpuPipelineState->dss.stencilWriteMaskBack)); @@ -1721,8 +1729,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->bs.blendColor = gpuPipelineState->bs.blendColor; } - BlendTarget &cacheTarget = cache->bs.targets[0]; - const BlendTarget &target = gpuPipelineState->bs.targets[0]; + BlendTarget & cacheTarget = cache->bs.targets[0]; + const BlendTarget &target = gpuPipelineState->bs.targets[0]; if (cacheTarget.blend != target.blend) { if (!cacheTarget.blend) { GL_CHECK(glEnable(GL_BLEND)); @@ -1735,7 +1743,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cacheTarget.blendAlphaEq != target.blendAlphaEq) { GL_CHECK(glBlendEquationSeparate(GLES2_BLEND_OPS[(int)target.blendEq], GLES2_BLEND_OPS[(int)target.blendAlphaEq])); - cacheTarget.blendEq = target.blendEq; + cacheTarget.blendEq = target.blendEq; cacheTarget.blendAlphaEq = target.blendAlphaEq; } if (cacheTarget.blendSrc != target.blendSrc || @@ -1746,8 +1754,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2_BLEND_FACTORS[(int)target.blendDst], GLES2_BLEND_FACTORS[(int)target.blendSrcAlpha], GLES2_BLEND_FACTORS[(int)target.blendDstAlpha])); - cacheTarget.blendSrc = target.blendSrc; - cacheTarget.blendDst = target.blendDst; + cacheTarget.blendSrc = target.blendSrc; + cacheTarget.blendDst = target.blendDst; cacheTarget.blendSrcAlpha = target.blendSrcAlpha; cacheTarget.blendDstAlpha = target.blendDstAlpha; } @@ -1763,17 +1771,17 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli // bind descriptor sets if (gpuPipelineState && gpuPipelineState->gpuShader && gpuPipelineState->gpuPipelineLayout) { - size_t blockLen = gpuPipelineState->gpuShader->glBlocks.size(); + size_t blockLen = gpuPipelineState->gpuShader->glBlocks.size(); const vector> &dynamicOffsetIndices = gpuPipelineState->gpuPipelineLayout->dynamicOffsetIndices; - uint8_t *uniformBuffBase = nullptr, *uniformBuff; + uint8_t * uniformBuffBase = nullptr, *uniformBuff; for (size_t j = 0; j < blockLen; j++) { const GLES2GPUUniformBlock &glBlock = gpuPipelineState->gpuShader->glBlocks[j]; CCASSERT(gpuDescriptorSets.size() > glBlock.set, "Invalid set index"); const GLES2GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glBlock.set]; - const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glBlock.binding); - const GLES2GPUDescriptor &gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glBlock.binding); + const GLES2GPUDescriptor & gpuDescriptor = gpuDescriptorSet->gpuDescriptors[descriptorIndex]; if (!gpuDescriptor.gpuBuffer && !gpuDescriptor.gpuBufferView) { CC_LOG_ERROR("Buffer binding '%s' at set %d binding %d is not bounded", @@ -1781,7 +1789,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli continue; } - uint offset = 0u; + uint offset = 0u; const vector &dynamicOffsetIndexSet = dynamicOffsetIndices[glBlock.set]; if (dynamicOffsetIndexSet.size() > glBlock.binding) { int dynamicOffsetIndex = dynamicOffsetIndexSet[glBlock.binding]; @@ -1797,7 +1805,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli for (size_t u = 0; u < glBlock.glActiveUniforms.size(); ++u) { const GLES2GPUUniform &gpuUniform = glBlock.glActiveUniforms[u]; - uniformBuff = uniformBuffBase + gpuUniform.offset; + uniformBuff = uniformBuffBase + gpuUniform.offset; switch (gpuUniform.glType) { case GL_BOOL: case GL_INT: { @@ -1903,8 +1911,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli CCASSERT(gpuDescriptorSets.size() > glSampler.set, "Invalid set index"); const GLES2GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glSampler.set]; - const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSampler.binding); - const GLES2GPUDescriptor *gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSampler.binding); + const GLES2GPUDescriptor * gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; for (size_t u = 0; u < glSampler.units.size(); u++, gpuDescriptor++) { uint unit = (uint)glSampler.units[u]; @@ -1917,7 +1925,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } GLES2GPUTexture *gpuTexture = gpuDescriptor->gpuTexture; - GLuint glTexture = gpuTexture->glTexture; + GLuint glTexture = gpuTexture->glTexture; if (cache->glTextures[unit] != glTexture) { if (cache->texUint != unit) { GL_CHECK(glActiveTexture(GL_TEXTURE0 + unit)); @@ -2001,7 +2009,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli (isShaderChanged || gpuInputAssembler != gfxStateCache.gpuInputAssembler)) { gfxStateCache.gpuInputAssembler = gpuInputAssembler; if (device->useVAO()) { - GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); + GLuint hash = gpuPipelineState->gpuShader->glProgram ^ device->getThreadID(); GLuint glVAO = gpuInputAssembler->glVAOs[hash]; if (!glVAO) { GL_CHECK(glGenVertexArraysOES(1, &glVAO)); @@ -2019,7 +2027,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli for (uint c = 0; c < gpuAttribute.componentCount; ++c) { GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = + uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; GL_CHECK(glEnableVertexAttribArray(glLoc)); @@ -2051,8 +2059,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GL_CHECK(glBindVertexArrayOES(0)); GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); - cache->glVAO = 0; - cache->glArrayBuffer = 0; + cache->glVAO = 0; + cache->glArrayBuffer = 0; cache->glElementArrayBuffer = 0; } @@ -2076,8 +2084,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } for (uint c = 0; c < gpuAttribute.componentCount; ++c) { - GLint glLoc = gpuInput.glLoc + c; - uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; + GLint glLoc = gpuInput.glLoc + c; + uint attribOffset = gpuAttribute.offset + gpuAttribute.size * c; GL_CHECK(glEnableVertexAttribArray(glLoc)); cache->glEnabledAttribLocs[glLoc] = true; cache->glCurrentAttribLocs[glLoc] = true; @@ -2152,7 +2160,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli if ((cache->rs.depthBias != depthBias.constant) || (cache->rs.depthBiasSlop != depthBias.slope)) { GL_CHECK(glPolygonOffset(depthBias.constant, depthBias.slope)); - cache->rs.depthBias = depthBias.constant; + cache->rs.depthBias = depthBias.constant; cache->rs.depthBiasSlop = depthBias.slope; } break; @@ -2193,7 +2201,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli stencilWriteMask.writeMask)) { GL_CHECK(glStencilMask(stencilWriteMask.writeMask)); cache->dss.stencilWriteMaskFront = stencilWriteMask.writeMask; - cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; + cache->dss.stencilWriteMaskBack = stencilWriteMask.writeMask; } break; } @@ -2209,7 +2217,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncFront], stencilCompareMask.refrence, stencilCompareMask.compareMask)); - cache->dss.stencilRefFront = stencilCompareMask.refrence; + cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; } break; @@ -2222,7 +2230,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], stencilCompareMask.refrence, stencilCompareMask.compareMask)); - cache->dss.stencilRefBack = stencilCompareMask.refrence; + cache->dss.stencilRefBack = stencilCompareMask.refrence; cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } break; @@ -2243,10 +2251,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GLES2_CMP_FUNCS[(uint)cache->dss.stencilFuncBack], stencilCompareMask.refrence, stencilCompareMask.compareMask)); - cache->dss.stencilRefFront = stencilCompareMask.refrence; + cache->dss.stencilRefFront = stencilCompareMask.refrence; cache->dss.stencilReadMaskFront = stencilCompareMask.compareMask; - cache->dss.stencilRefBack = stencilCompareMask.refrence; - cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; + cache->dss.stencilRefBack = stencilCompareMask.refrence; + cache->dss.stencilReadMaskBack = stencilCompareMask.compareMask; } break; } @@ -2260,10 +2268,10 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { - GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLES2GPUPipelineState *gpuPipelineState = gfxStateCache.gpuPipelineState; + GLES2ObjectCache & gfxStateCache = device->stateCache()->gfxStateCache; + GLES2GPUPipelineState * gpuPipelineState = gfxStateCache.gpuPipelineState; GLES2GPUInputAssembler *gpuInputAssembler = gfxStateCache.gpuInputAssembler; - GLenum glPrimitive = gfxStateCache.glPrimitive; + GLenum glPrimitive = gfxStateCache.glPrimitive; if (gpuInputAssembler && gpuPipelineState) { if (!gpuInputAssembler->gpuIndirectBuffer) { @@ -2333,7 +2341,7 @@ void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, co if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -2348,7 +2356,7 @@ void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, co if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); - device->stateCache()->glVAO = 0; + device->stateCache()->glVAO = 0; gfxStateCache.gpuInputAssembler = nullptr; } } @@ -2375,7 +2383,7 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const } bool isCompressed = GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed; - uint n = 0; + uint n = 0; switch (gpuTexture->glTarget) { case GL_TEXTURE_2D: { @@ -2383,9 +2391,9 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const uint h; for (size_t i = 0; i < count; ++i) { const BufferTextureCopy ®ion = regions[i]; - w = region.texExtent.width; - h = region.texExtent.height; - const uint8_t *buff = buffers[n++]; + w = region.texExtent.width; + h = region.texExtent.height; + const uint8_t *buff = buffers[n++]; if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_2D, @@ -2413,13 +2421,13 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const uint w; uint h; for (size_t i = 0; i < count; ++i) { - const BufferTextureCopy ®ion = regions[i]; - uint d = region.texSubres.layerCount; - uint layerCount = d + region.texSubres.baseArrayLayer; + const BufferTextureCopy ®ion = regions[i]; + uint d = region.texSubres.layerCount; + uint layerCount = d + region.texSubres.baseArrayLayer; for (uint z = region.texSubres.baseArrayLayer; z < layerCount; ++z) { - w = region.texExtent.width; - h = region.texExtent.height; + w = region.texExtent.width; + h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); @@ -2452,10 +2460,10 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const uint d; for (size_t i = 0; i < count; ++i) { const BufferTextureCopy ®ion = regions[i]; - w = region.texExtent.width; - h = region.texExtent.height; - d = region.texExtent.depth; - const uint8_t *buff = buffers[n++]; + w = region.texExtent.width; + h = region.texExtent.height; + d = region.texExtent.depth; + const uint8_t *buff = buffers[n++]; if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexSubImage3DOES(GL_TEXTURE_3D, @@ -2486,11 +2494,11 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const uint h; uint f; for (size_t i = 0; i < count; ++i) { - const BufferTextureCopy ®ion = regions[i]; - uint faceCount = region.texSubres.baseArrayLayer + region.texSubres.layerCount; + const BufferTextureCopy ®ion = regions[i]; + uint faceCount = region.texSubres.baseArrayLayer + region.texSubres.layerCount; for (f = region.texSubres.baseArrayLayer; f < faceCount; ++f) { - w = region.texExtent.width; - h = region.texExtent.height; + w = region.texExtent.width; + h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); @@ -2534,7 +2542,7 @@ void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { GLESCmdType cmdType = cmdPackage->cmds[i]; - uint &cmdIdx = cmdIndices[(int)cmdType]; + uint & cmdIdx = cmdIndices[(int)cmdType]; switch (cmdType) { case GLESCmdType::BEGIN_RENDER_PASS: { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index f0b7931f0d..85e3e568b6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -25,11 +25,11 @@ THE SOFTWARE. #define CC_GFXGLES2_DEVICE_H_ #ifndef GL_COMPRESSED_RGB8_ETC2 -#define GL_COMPRESSED_RGB8_ETC2 0x9274 + #define GL_COMPRESSED_RGB8_ETC2 0x9274 #endif #ifndef GL_COMPRESSED_RGBA8_ETC2_EAC -#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 + #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 #endif namespace cc { @@ -44,21 +44,21 @@ public: GLES2Device(); ~GLES2Device(); - using Device::createCommandBuffer; - using Device::createQueue; + using Device::copyBuffersToTexture; using Device::createBuffer; - using Device::createTexture; - using Device::createSampler; - using Device::createShader; - using Device::createInputAssembler; - using Device::createRenderPass; - using Device::createFramebuffer; + using Device::createCommandBuffer; using Device::createDescriptorSet; using Device::createDescriptorSetLayout; + using Device::createFramebuffer; + using Device::createGlobalBarrier; + using Device::createInputAssembler; using Device::createPipelineLayout; using Device::createPipelineState; - using Device::copyBuffersToTexture; - using Device::createGlobalBarrier; + using Device::createQueue; + using Device::createRenderPass; + using Device::createSampler; + using Device::createShader; + using Device::createTexture; using Device::createTextureBarrier; virtual bool initialize(const DeviceInfo &info) override; @@ -87,40 +87,39 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: - virtual CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Queue *createQueue() override; - virtual Buffer *createBuffer() override; - virtual Texture *createTexture() override; - virtual Sampler *createSampler() override; - virtual Shader *createShader() override; - virtual InputAssembler *createInputAssembler() override; - virtual RenderPass *createRenderPass() override; - virtual Framebuffer *createFramebuffer() override; - virtual DescriptorSet *createDescriptorSet() override; + virtual CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + virtual Queue * createQueue() override; + virtual Buffer * createBuffer() override; + virtual Texture * createTexture() override; + virtual Sampler * createSampler() override; + virtual Shader * createShader() override; + virtual InputAssembler * createInputAssembler() override; + virtual RenderPass * createRenderPass() override; + virtual Framebuffer * createFramebuffer() override; + virtual DescriptorSet * createDescriptorSet() override; virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout *createPipelineLayout() override; - virtual PipelineState *createPipelineState() override; + virtual PipelineLayout * createPipelineLayout() override; + virtual PipelineState * createPipelineState() override; virtual GlobalBarrier * createGlobalBarrier() override; virtual TextureBarrier * createTextureBarrier() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; virtual void bindRenderContext(bool bound) override; virtual void bindDeviceContext(bool bound) override; private: - bool checkForETC2() const; - GLES2Context *_renderContext = nullptr; - GLES2Context *_deviceContext = nullptr; - GLES2GPUStateCache *_gpuStateCache = nullptr; + GLES2Context * _renderContext = nullptr; + GLES2Context * _deviceContext = nullptr; + GLES2GPUStateCache * _gpuStateCache = nullptr; GLES2GPUStagingBufferPool *_gpuStagingBufferPool = nullptr; StringArray _extensions; - bool _useVAO = false; - bool _useDrawInstanced = false; - bool _useInstancedArrays = false; + bool _useVAO = false; + bool _useDrawInstanced = false; + bool _useInstancedArrays = false; bool _useDiscardFramebuffer = false; uint _threadID = 0u; diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 1535670d69..36a664a39d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -60,7 +60,7 @@ void GLES2PrimaryCommandBuffer::end() { _isInRenderPass = false; } -void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { +void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { _isInRenderPass = true; GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index d9b03a8354..42857f64da 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -38,7 +38,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 02ef555a8c..b7c3a212dd 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -107,7 +107,7 @@ void GLES3CommandBuffer::end() { } } -void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { +void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { _isInRenderPass = true; GLES3CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); @@ -181,7 +181,7 @@ void GLES3CommandBuffer::setScissor(const Rect &rect) { } } -void GLES3CommandBuffer::setLineWidth(const float width) { +void GLES3CommandBuffer::setLineWidth(float width) { if (math::IsNotEqualF(_curLineWidth, width)) { _curLineWidth = width; _isStateInvalid = true; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index c9b0355cbc..76cea5306d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -43,14 +43,14 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; virtual void bindInputAssembler(InputAssembler *ia) override; virtual void setViewport(const Viewport &vp) override; virtual void setScissor(const Rect &rect) override; - virtual void setLineWidth(const float width) override; + virtual void setLineWidth(float width) override; virtual void setDepthBias(float constant, float clamp, float slope) override; virtual void setBlendConstants(const Color &constants) override; virtual void setDepthBound(float minBounds, float maxBounds) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 051c5e5888..739e7851c8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1551,6 +1551,10 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen GLbitfield glClears = 0; uint numAttachments = 0; + bool hasBoundFBO = gpuFramebuffer->isOffscreen; +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + hasBoundFBO = true; +#endif for (uint j = 0; j < numClearColors; ++j) { const ColorAttachment &colorAttachment = gpuRenderPass->colorAttachments[j]; @@ -1562,7 +1566,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen GL_CHECK(glColorMask(true, true, true, true)); } - if (gpuFramebuffer->isOffscreen) { + if (hasBoundFBO) { static float fColors[4]; fColors[0] = clearColors[j].x; fColors[1] = clearColors[j].y; @@ -1578,7 +1582,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } case LoadOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR); break; } default:; @@ -1601,7 +1605,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } case LoadOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_DEPTH_ATTACHMENT : GL_DEPTH); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_DEPTH_ATTACHMENT : GL_DEPTH); break; } default:; @@ -1624,7 +1628,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } case LoadOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_STENCIL_ATTACHMENT : GL_STENCIL); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_STENCIL_ATTACHMENT : GL_STENCIL); break; } default:; @@ -1672,6 +1676,10 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { GLES3GPURenderPass * gpuRenderPass = gfxStateCache.gpuRenderPass; GLES3GPUFramebuffer *gpuFramebuffer = gfxStateCache.gpuFramebuffer; GLenum * invalidAttachments = gfxStateCache.invalidAttachments; + bool hasBoundFBO = gpuFramebuffer->isOffscreen; +#if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) + hasBoundFBO = true; +#endif uint numAttachments = 0; for (uint j = 0; j < numClearColors; ++j) { @@ -1681,7 +1689,7 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { case StoreOp::STORE: break; case StoreOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_COLOR_ATTACHMENT0 + j : GL_COLOR); break; } default:; @@ -1696,7 +1704,7 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { case StoreOp::STORE: break; case StoreOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_DEPTH_ATTACHMENT : GL_DEPTH); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_DEPTH_ATTACHMENT : GL_DEPTH); break; } default:; @@ -1708,7 +1716,7 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { case StoreOp::STORE: break; case StoreOp::DISCARD: { // invalidate fbo - invalidAttachments[numAttachments++] = (gpuFramebuffer->isOffscreen ? GL_STENCIL_ATTACHMENT : GL_STENCIL); + invalidAttachments[numAttachments++] = (hasBoundFBO ? GL_STENCIL_ATTACHMENT : GL_STENCIL); break; } default:; @@ -2611,7 +2619,7 @@ void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { GLESCmdType cmdType = cmdPackage->cmds[i]; - uint & cmdIdx = cmdIndices[(int)cmdType]; + uint & cmdIdx = cmdIndices[(int)cmdType]; switch (cmdType) { case GLESCmdType::BEGIN_RENDER_PASS: { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 7352735953..e1e42d3bb6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -243,7 +243,11 @@ bool GLES3Context::initialize(const ContextInfo &info) { EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, NULL, ctxAttribs)); if (_eglContext) { + + // Mac OpenGL doesn't really support ES 3.1+ features + #if (CC_PLATFORM != CC_PLATFORM_MAC_OSX) _minorVersion = m; + #endif break; } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 66d989045f..6d1e1a1e8c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -23,7 +23,6 @@ THE SOFTWARE. ****************************************************************************/ #include "GLES3Std.h" #include "GLES3Context.h" -#include "gles3w.h" #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 6e31552ff2..e6b59a2325 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -94,7 +94,8 @@ bool GLES3Device::initialize(const DeviceInfo &info) { _features[(uint)Feature::MULTIPLE_RENDER_TARGETS] = true; _features[(uint)Feature::BLEND_MINMAX] = true; - if (((GLES3Context *)_context)->minor_ver()) + uint minorVersion = ((GLES3Context *)_context)->minor_ver(); + if (minorVersion) _features[(uint)Feature::COMPUTE_SHADER] = true; if (checkExtension("color_buffer_float")) @@ -164,26 +165,28 @@ bool GLES3Device::initialize(const DeviceInfo &info) { glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_caps.maxVertexUniformVectors); glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_caps.maxFragmentUniformVectors); glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, (GLint *)&_caps.maxUniformBufferBindings); - glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE, (GLint *)&_caps.maxShaderStorageBlockSize); - glGetIntegerv(GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, (GLint *)&_caps.maxShaderStorageBufferBindings); glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, (GLint *)&_caps.maxUniformBlockSize); glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxTextureUnits); - glGetIntegerv(GL_MAX_IMAGE_UNITS, (GLint *)&_caps.maxImageUnits); glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxVertexTextureUnits); glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&_caps.maxTextureSize); glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, (GLint *)&_caps.maxCubeMapTextureSize); glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, (GLint *)&_caps.uboOffsetAlignment); glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_caps.depthBits); glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_caps.stencilBits); - // compute shaders - glGetIntegerv(GL_MAX_COMPUTE_SHARED_MEMORY_SIZE, (GLint *)&_caps.maxComputeSharedMemorySize); - glGetIntegerv(GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS, (GLint *)&_caps.maxComputeWorkGroupInvocations); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 0, (GLint *)&_caps.maxComputeWorkGroupSize.x); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 1, (GLint *)&_caps.maxComputeWorkGroupSize.y); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 2, (GLint *)&_caps.maxComputeWorkGroupSize.z); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 0, (GLint *)&_caps.maxComputeWorkGroupCount.x); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 1, (GLint *)&_caps.maxComputeWorkGroupCount.y); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 2, (GLint *)&_caps.maxComputeWorkGroupCount.z); + + if (minorVersion) { + glGetIntegerv(GL_MAX_IMAGE_UNITS, (GLint *)&_caps.maxImageUnits); + glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE, (GLint *)&_caps.maxShaderStorageBlockSize); + glGetIntegerv(GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, (GLint *)&_caps.maxShaderStorageBufferBindings); + glGetIntegerv(GL_MAX_COMPUTE_SHARED_MEMORY_SIZE, (GLint *)&_caps.maxComputeSharedMemorySize); + glGetIntegerv(GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS, (GLint *)&_caps.maxComputeWorkGroupInvocations); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 0, (GLint *)&_caps.maxComputeWorkGroupSize.x); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 1, (GLint *)&_caps.maxComputeWorkGroupSize.y); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 2, (GLint *)&_caps.maxComputeWorkGroupSize.z); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 0, (GLint *)&_caps.maxComputeWorkGroupCount.x); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 1, (GLint *)&_caps.maxComputeWorkGroupCount.y); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 2, (GLint *)&_caps.maxComputeWorkGroupCount.z); + } _gpuStateCache->initialize(_caps.maxTextureUnits, _caps.maxImageUnits, _caps.maxUniformBufferBindings, _caps.maxShaderStorageBufferBindings, _caps.maxVertexAttributes); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index e0a0da0752..551f137b4c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -43,6 +43,7 @@ public: using Device::createDescriptorSet; using Device::createDescriptorSetLayout; using Device::createFramebuffer; + using Device::createGlobalBarrier; using Device::createInputAssembler; using Device::createPipelineLayout; using Device::createPipelineState; @@ -51,7 +52,6 @@ public: using Device::createSampler; using Device::createShader; using Device::createTexture; - using Device::createGlobalBarrier; using Device::createTextureBarrier; virtual bool initialize(const DeviceInfo &info) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 0346cbdca6..2f1ffca039 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -61,7 +61,7 @@ void GLES3PrimaryCommandBuffer::end() { _isInRenderPass = false; } -void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { +void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { _isInRenderPass = true; GLES3GPURenderPass * gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 9ad57cb850..634fbffd82 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -38,7 +38,7 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; virtual void endRenderPass() override; virtual void draw(InputAssembler *ia) override; virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index b5ef83c68c..0c059c8fad 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -52,7 +52,7 @@ public: void destroy() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; - void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; void endRenderPass() override; void bindPipelineState(PipelineState *pso) override; void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index c327052429..f39a8a87c9 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -120,7 +120,7 @@ void CCMTLCommandBuffer::end() { } } -void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { +void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { // Sub CommandBuffer shouldn't call begin render pass if (_isSecondary) { diff --git a/native/cocos/renderer/gfx-metal/MTLSampler.mm b/native/cocos/renderer/gfx-metal/MTLSampler.mm index 4fd386a5a0..c46b3a800d 100644 --- a/native/cocos/renderer/gfx-metal/MTLSampler.mm +++ b/native/cocos/renderer/gfx-metal/MTLSampler.mm @@ -44,8 +44,6 @@ bool CCMTLSampler::initialize(const SamplerInfo &info) { _maxAnisotropy = info.maxAnisotropy; _cmpFunc = info.cmpFunc; _borderColor = info.borderColor; - _minLOD = info.minLOD; - _maxLOD = info.maxLOD; _mipLODBias = info.mipLODBias; MTLSamplerDescriptor *descriptor = [[MTLSamplerDescriptor alloc] init]; @@ -59,8 +57,6 @@ bool CCMTLSampler::initialize(const SamplerInfo &info) { descriptor.magFilter = mu::toMTLSamplerMinMagFilter(_magFilter); descriptor.mipFilter = mu::toMTLSamplerMipFilter(_mipFilter); descriptor.maxAnisotropy = _maxAnisotropy == 0 ? 1 : _maxAnisotropy; - descriptor.lodMinClamp = _minLOD; - descriptor.lodMaxClamp = _maxLOD; if (static_cast(_device)->isSamplerDescriptorCompareFunctionSupported()) { descriptor.compareFunction = mu::toMTLCompareFunction(_cmpFunc); } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 098caeaff6..b36939c58c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -128,7 +128,7 @@ void CCVKCommandBuffer::end() { } void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, - float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) { + float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC // guard against RAW hazard VkMemoryBarrier vkBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; @@ -273,7 +273,7 @@ void CCVKCommandBuffer::setScissor(const Rect &rect) { } } -void CCVKCommandBuffer::setLineWidth(const float width) { +void CCVKCommandBuffer::setLineWidth(float width) { if (math::IsNotEqualF(_curLineWidth, width)) { _curLineWidth = width; vkCmdSetLineWidth(_gpuCommandBuffer->vkCommandBuffer, width); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 274aba0287..776266d758 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -42,14 +42,14 @@ public: virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint32_t secondaryCBCount) override; + virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; virtual void endRenderPass() override; virtual void bindPipelineState(PipelineState *pso) override; virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; virtual void bindInputAssembler(InputAssembler *ia) override; virtual void setViewport(const Viewport &vp) override; virtual void setScissor(const Rect &rect) override; - virtual void setLineWidth(const float width) override; + virtual void setLineWidth(float width) override; virtual void setDepthBias(float constant, float clamp, float slope) override; virtual void setBlendConstants(const Color &constants) override; virtual void setDepthBound(float minBounds, float maxBounds) override; diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 8b392ff571..3e449ef832 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -44,7 +44,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, othe constexpr uint DISABLE_VALIDATION_ASSERTIONS = 1; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 0 +#define FORCE_DISABLE_VALIDATION 1 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 181e577dd2..14efcbc4f6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -123,12 +123,12 @@ private: vector _gpuRecycleBins; vector _gpuStagingBufferPools; - CCVKGPUBufferHub * _gpuBufferHub = nullptr; - CCVKGPUTransportHub * _gpuTransportHub = nullptr; - CCVKGPUDescriptorHub * _gpuDescriptorHub = nullptr; - CCVKGPUSemaphorePool * _gpuSemaphorePool = nullptr; - CCVKGPUDescriptorSetHub * _gpuDescriptorSetHub = nullptr; - CCVKGPUBarrierManager *_gpuBarrierManager = nullptr; + CCVKGPUBufferHub * _gpuBufferHub = nullptr; + CCVKGPUTransportHub * _gpuTransportHub = nullptr; + CCVKGPUDescriptorHub * _gpuDescriptorHub = nullptr; + CCVKGPUSemaphorePool * _gpuSemaphorePool = nullptr; + CCVKGPUDescriptorSetHub *_gpuDescriptorSetHub = nullptr; + CCVKGPUBarrierManager * _gpuBarrierManager = nullptr; vector _layers; vector _extensions; diff --git a/native/templates/common/CMakeLists.txt b/native/templates/common/CMakeLists.txt index 9fc5adac60..73c0d37644 100755 --- a/native/templates/common/CMakeLists.txt +++ b/native/templates/common/CMakeLists.txt @@ -5,8 +5,8 @@ set(DEVELOPMENT_TEAM "" CACHE STRING "APPLE Developtment Team") set(RES_DIR "" CACHE STRING "Resource path") set(COCOS_X_PATH "" CACHE STRING "Path to cocos2d-x-lite/") -set(TARGET_OSX_VERSION "10.10" CACHE STRING "Target MacOSX version") -set(TARGET_IOS_VERSION "10.0" CACHE STRING "Target iOS version" ) +set(TARGET_OSX_VERSION "10.14" CACHE STRING "Target MacOSX version" FORCE) +set(TARGET_IOS_VERSION "12.0" CACHE STRING "Target iOS version" FORCE) set(CMAKE_CXX_STANDARD 14) option(USE_SE_V8 "USE V8 JavaScript Engine" ON) @@ -58,4 +58,4 @@ macro(include_resources ARG_RES_ROOT) list(APPEND ASSET_FILES ${res_abs}) endforeach() endforeach() -endmacro() \ No newline at end of file +endmacro() diff --git a/native/tools/tojs/genbindings.py b/native/tools/tojs/genbindings.py index c30be61b76..107d113425 100755 --- a/native/tools/tojs/genbindings.py +++ b/native/tools/tojs/genbindings.py @@ -144,21 +144,21 @@ def main(): output_dir = '%s/cocos/bindings/auto' % project_root cmd_args = { - # 'cocos.ini' : ('cocos', 'jsb_cocos_auto'), - # 'video.ini': ('video', 'jsb_video_auto'), - # 'webview.ini': ('webview', 'jsb_webview_auto'), - # 'audio.ini' : ('audio', 'jsb_audio_auto'), - # 'extension.ini' : ('extension', 'jsb_extension_auto'), - # 'network.ini' : ('network', 'jsb_network_auto'), + 'cocos.ini' : ('cocos', 'jsb_cocos_auto'), + 'video.ini': ('video', 'jsb_video_auto'), + 'webview.ini': ('webview', 'jsb_webview_auto'), + 'audio.ini' : ('audio', 'jsb_audio_auto'), + 'extension.ini' : ('extension', 'jsb_extension_auto'), + 'network.ini' : ('network', 'jsb_network_auto'), 'gfx.ini': ('gfx', 'jsb_gfx_auto'), - # 'gles2.ini': ('gles2', 'jsb_gles2_auto'), - # 'gles3.ini': ('gles3', 'jsb_gles3_auto'), - # 'metal.ini': ('metal', 'jsb_mtl_auto'), - # 'vulkan.ini': ('vulkan', 'jsb_vk_auto'), - # 'pipeline.ini': ('pipeline', 'jsb_pipeline_auto'), - # 'spine.ini': ('spine','jsb_spine_auto'), - # 'editor_support.ini': ('editor_support','jsb_editor_support_auto'), - # 'dragonbones.ini': ('dragonbones','jsb_dragonbones_auto') + 'gles2.ini': ('gles2', 'jsb_gles2_auto'), + 'gles3.ini': ('gles3', 'jsb_gles3_auto'), + 'metal.ini': ('metal', 'jsb_mtl_auto'), + 'vulkan.ini': ('vulkan', 'jsb_vk_auto'), + 'pipeline.ini': ('pipeline', 'jsb_pipeline_auto'), + 'spine.ini': ('spine','jsb_spine_auto'), + 'editor_support.ini': ('editor_support','jsb_editor_support_auto'), + 'dragonbones.ini': ('dragonbones','jsb_dragonbones_auto') } target = 'spidermonkey' generator_py = '%s/generator.py' % cxx_generator_root diff --git a/native/tools/tojs/vulkan.ini b/native/tools/tojs/vulkan.ini index 3dd809fa33..53bf2c5b62 100644 --- a/native/tools/tojs/vulkan.ini +++ b/native/tools/tojs/vulkan.ini @@ -44,7 +44,7 @@ classes_need_extend = # will apply to all class names. This is a convenience wildcard to be able to skip similar named # functions from all classes. -skip = CCVKDevice::[copyBuffersToTexture gpuContext gpuDevice gpuSwapchain gpuBufferHub gpuTransportHub gpuDescriptorHub gpuSemaphorePool gpuDescriptorSetHub gpuFencePool gpuRecycleBin gpuStagingBufferPool gpuTextureLayoutManager checkExtension] +skip = CCVKDevice::[copyBuffersToTexture gpuContext gpuDevice gpuSwapchain gpuBufferHub gpuTransportHub gpuDescriptorHub gpuSemaphorePool gpuDescriptorSetHub gpuFencePool gpuRecycleBin gpuStagingBufferPool gpuBarrierManager checkExtension] getter_setter = From e0fdfef054ad9158c2c1b0e80a6887210e3b6d7c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 5 Feb 2021 14:05:39 +0800 Subject: [PATCH 148/270] license upgrader --- native/cocos/audio/AudioEngine.cpp | 22 ++-- native/cocos/audio/apple/AudioCache.h | 22 ++-- native/cocos/audio/apple/AudioCache.mm | 22 ++-- native/cocos/audio/apple/AudioDecoder.h | 21 ++-- native/cocos/audio/apple/AudioDecoder.mm | 21 ++-- native/cocos/audio/apple/AudioEngine-inl.h | 22 ++-- native/cocos/audio/apple/AudioEngine-inl.mm | 22 ++-- native/cocos/audio/apple/AudioMacros.h | 22 ++-- native/cocos/audio/apple/AudioPlayer.h | 22 ++-- native/cocos/audio/apple/AudioPlayer.mm | 22 ++-- native/cocos/audio/include/AudioEngine.h | 21 ++-- native/cocos/audio/include/Export.h | 40 ++++--- native/cocos/audio/win32/AudioCache.cpp | 22 ++-- native/cocos/audio/win32/AudioCache.h | 22 ++-- native/cocos/audio/win32/AudioDecoder.cpp | 22 ++-- native/cocos/audio/win32/AudioDecoder.h | 22 ++-- .../cocos/audio/win32/AudioDecoderManager.cpp | 38 +++--- .../cocos/audio/win32/AudioDecoderManager.h | 38 +++--- native/cocos/audio/win32/AudioDecoderMp3.cpp | 22 ++-- native/cocos/audio/win32/AudioDecoderMp3.h | 22 ++-- native/cocos/audio/win32/AudioDecoderOgg.cpp | 22 ++-- native/cocos/audio/win32/AudioDecoderOgg.h | 22 ++-- .../cocos/audio/win32/AudioEngine-win32.cpp | 22 ++-- native/cocos/audio/win32/AudioEngine-win32.h | 22 ++-- native/cocos/audio/win32/AudioMacros.h | 22 ++-- native/cocos/audio/win32/AudioPlayer.cpp | 21 ++-- native/cocos/audio/win32/AudioPlayer.h | 22 ++-- native/cocos/base/Array.cpp | 41 +++---- native/cocos/base/Array.h | 41 +++---- native/cocos/base/AutoreleasePool.cpp | 40 ++++--- native/cocos/base/AutoreleasePool.h | 40 ++++--- native/cocos/base/CachedArray.h | 25 ++++ native/cocos/base/Config.h | 43 +++---- native/cocos/base/Data.cpp | 21 ++-- native/cocos/base/Data.h | 21 ++-- native/cocos/base/Log.cpp | 25 ++++ native/cocos/base/Log.h | 25 ++++ native/cocos/base/Macros.h | 44 +++---- native/cocos/base/Map.h | 22 ++-- native/cocos/base/Object.h | 25 ++++ native/cocos/base/Random.cpp | 39 ++++--- native/cocos/base/Random.h | 39 ++++--- native/cocos/base/Ref.cpp | 39 ++++--- native/cocos/base/Ref.h | 39 ++++--- native/cocos/base/Scheduler.cpp | 44 +++---- native/cocos/base/Scheduler.h | 44 +++---- native/cocos/base/StringUtil.cpp | 25 ++++ native/cocos/base/StringUtil.h | 25 ++++ native/cocos/base/ThreadPool.cpp | 31 +++-- native/cocos/base/ThreadPool.h | 32 ++--- native/cocos/base/TypeDef.h | 25 ++++ native/cocos/base/UTF8.cpp | 21 ++-- native/cocos/base/UTF8.h | 21 ++-- native/cocos/base/UTFString.cpp | 25 ++++ native/cocos/base/UTFString.h | 25 ++++ native/cocos/base/Utils.cpp | 39 ++++--- native/cocos/base/Utils.h | 40 ++++--- native/cocos/base/Value.cpp | 19 +-- native/cocos/base/Value.h | 22 ++-- native/cocos/base/Vector.h | 42 +++---- native/cocos/base/ZipUtils.cpp | 21 ++-- native/cocos/base/ZipUtils.h | 39 ++++--- native/cocos/base/astc.cpp | 29 ++--- native/cocos/base/astc.h | 29 ++--- native/cocos/base/base64.cpp | 39 ++++--- native/cocos/base/base64.h | 39 ++++--- native/cocos/base/csscolorparser.cpp | 25 ++++ native/cocos/base/csscolorparser.h | 25 ++++ native/cocos/base/etc1.cpp | 25 ++++ native/cocos/base/etc1.h | 25 ++++ native/cocos/base/etc2.cpp | 29 ++--- native/cocos/base/etc2.h | 29 ++--- native/cocos/base/job-system/JobSystem.h | 24 ++++ .../job-system-taskflow/TFJobGraph.cpp | 25 ++++ .../job-system-taskflow/TFJobGraph.h | 25 ++++ .../job-system-taskflow/TFJobSystem.cpp | 25 ++++ .../job-system-taskflow/TFJobSystem.h | 25 ++++ .../job-system/job-system-tbb/TBBJobGraph.cpp | 25 ++++ .../job-system/job-system-tbb/TBBJobGraph.h | 25 ++++ .../job-system-tbb/TBBJobSystem.cpp | 25 ++++ .../job-system/job-system-tbb/TBBJobSystem.h | 25 ++++ native/cocos/base/memory/AllocatedObj.cpp | 25 ++++ native/cocos/base/memory/AllocatedObj.h | 25 ++++ native/cocos/base/memory/JeAlloc.cpp | 25 ++++ native/cocos/base/memory/JeAlloc.h | 25 ++++ native/cocos/base/memory/MemDef.h | 25 ++++ native/cocos/base/memory/MemTracker.cpp | 25 ++++ native/cocos/base/memory/MemTracker.h | 25 ++++ native/cocos/base/memory/Memory.cpp | 25 ++++ native/cocos/base/memory/Memory.h | 25 ++++ native/cocos/base/memory/NedPooling.cpp | 25 ++++ native/cocos/base/memory/NedPooling.h | 25 ++++ native/cocos/base/memory/StdAlloc.h | 25 ++++ native/cocos/base/memory/StlAlloc.h | 25 ++++ .../base/threading/ConditionVariable.cpp | 25 ++++ .../cocos/base/threading/ConditionVariable.h | 25 ++++ native/cocos/base/threading/Event.h | 25 ++++ native/cocos/base/threading/MessageQueue.cpp | 25 ++++ native/cocos/base/threading/MessageQueue.h | 25 ++++ native/cocos/base/threading/Semaphore.cpp | 25 ++++ native/cocos/base/threading/Semaphore.h | 25 ++++ native/cocos/base/threading/ThreadPool.cpp | 25 ++++ native/cocos/base/threading/ThreadPool.h | 25 ++++ .../cocos/base/threading/ThreadSafeCounter.h | 25 ++++ .../threading/ThreadSafeLinearAllocator.cpp | 25 ++++ .../threading/ThreadSafeLinearAllocator.h | 25 ++++ native/cocos/base/uthash.h | 25 ++++ native/cocos/bindings/auto/jsb_audio_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_audio_auto.h | 25 ++++ native/cocos/bindings/auto/jsb_cocos_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_cocos_auto.h | 25 ++++ .../bindings/auto/jsb_dragonbones_auto.cpp | 25 ++++ .../bindings/auto/jsb_dragonbones_auto.h | 25 ++++ .../bindings/auto/jsb_editor_support_auto.cpp | 25 ++++ .../bindings/auto/jsb_editor_support_auto.h | 25 ++++ .../bindings/auto/jsb_extension_auto.cpp | 25 ++++ .../cocos/bindings/auto/jsb_extension_auto.h | 25 ++++ native/cocos/bindings/auto/jsb_gfx_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_gfx_auto.h | 25 ++++ native/cocos/bindings/auto/jsb_gles2_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_gles2_auto.h | 25 ++++ native/cocos/bindings/auto/jsb_gles3_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_gles3_auto.h | 25 ++++ native/cocos/bindings/auto/jsb_mtl_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_mtl_auto.h | 25 ++++ .../cocos/bindings/auto/jsb_network_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_network_auto.h | 25 ++++ .../cocos/bindings/auto/jsb_pipeline_auto.cpp | 25 ++++ .../cocos/bindings/auto/jsb_pipeline_auto.h | 25 ++++ native/cocos/bindings/auto/jsb_spine_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_spine_auto.h | 25 ++++ native/cocos/bindings/auto/jsb_video_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_video_auto.h | 25 ++++ native/cocos/bindings/auto/jsb_vk_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_vk_auto.h | 25 ++++ .../cocos/bindings/auto/jsb_webview_auto.cpp | 25 ++++ native/cocos/bindings/auto/jsb_webview_auto.h | 25 ++++ native/cocos/bindings/dop/BufferAllocator.cpp | 25 ++++ native/cocos/bindings/dop/BufferAllocator.h | 25 ++++ native/cocos/bindings/dop/BufferPool.cpp | 35 +++--- native/cocos/bindings/dop/BufferPool.h | 35 +++--- native/cocos/bindings/dop/ObjectPool.cpp | 36 +++--- native/cocos/bindings/dop/ObjectPool.h | 35 +++--- native/cocos/bindings/dop/PoolType.h | 25 ++++ native/cocos/bindings/dop/jsb_dop.cpp | 35 +++--- native/cocos/bindings/dop/jsb_dop.h | 35 +++--- .../cocos/bindings/event/CustomEventTypes.h | 29 ++--- .../cocos/bindings/event/EventDispatcher.cpp | 22 ++-- native/cocos/bindings/event/EventDispatcher.h | 30 ++--- .../cocos/bindings/jswrapper/HandleObject.cpp | 22 ++-- .../cocos/bindings/jswrapper/HandleObject.h | 22 ++-- .../cocos/bindings/jswrapper/MappingUtils.cpp | 22 ++-- .../cocos/bindings/jswrapper/MappingUtils.h | 22 ++-- native/cocos/bindings/jswrapper/Object.h | 22 ++-- .../cocos/bindings/jswrapper/RefCounter.cpp | 22 ++-- native/cocos/bindings/jswrapper/RefCounter.h | 22 ++-- native/cocos/bindings/jswrapper/SeApi.h | 22 ++-- native/cocos/bindings/jswrapper/State.cpp | 22 ++-- native/cocos/bindings/jswrapper/State.h | 22 ++-- native/cocos/bindings/jswrapper/Value.cpp | 22 ++-- native/cocos/bindings/jswrapper/Value.h | 22 ++-- .../bindings/jswrapper/chakracore/Base.h | 22 ++-- .../bindings/jswrapper/chakracore/Class.cpp | 22 ++-- .../bindings/jswrapper/chakracore/Class.h | 22 ++-- .../jswrapper/chakracore/HelperMacros.h | 22 ++-- .../bindings/jswrapper/chakracore/Object.cpp | 22 ++-- .../bindings/jswrapper/chakracore/Object.h | 22 ++-- .../jswrapper/chakracore/ScriptEngine.cpp | 22 ++-- .../jswrapper/chakracore/ScriptEngine.h | 22 ++-- .../bindings/jswrapper/chakracore/SeApi.h | 22 ++-- .../bindings/jswrapper/chakracore/Utils.cpp | 22 ++-- .../bindings/jswrapper/chakracore/Utils.h | 22 ++-- native/cocos/bindings/jswrapper/config.cpp | 4 +- native/cocos/bindings/jswrapper/config.h | 22 ++-- native/cocos/bindings/jswrapper/jsc/Base.h | 22 ++-- native/cocos/bindings/jswrapper/jsc/Class.cpp | 22 ++-- native/cocos/bindings/jswrapper/jsc/Class.h | 22 ++-- .../cocos/bindings/jswrapper/jsc/EJConvert.h | 25 ++++ .../jswrapper/jsc/EJConvertTypedArray.h | 25 ++++ .../bindings/jswrapper/jsc/HelperMacros.h | 22 ++-- native/cocos/bindings/jswrapper/jsc/Object.h | 22 ++-- native/cocos/bindings/jswrapper/jsc/Object.mm | 22 ++-- .../bindings/jswrapper/jsc/PlatformUtils.h | 22 ++-- .../bindings/jswrapper/jsc/PlatformUtils.mm | 21 ++-- .../bindings/jswrapper/jsc/ScriptEngine.h | 22 ++-- .../bindings/jswrapper/jsc/ScriptEngine.mm | 22 ++-- native/cocos/bindings/jswrapper/jsc/SeApi.h | 22 ++-- native/cocos/bindings/jswrapper/jsc/Utils.cpp | 22 ++-- native/cocos/bindings/jswrapper/jsc/Utils.h | 22 ++-- native/cocos/bindings/jswrapper/sm/Base.h | 22 ++-- native/cocos/bindings/jswrapper/sm/Class.cpp | 22 ++-- native/cocos/bindings/jswrapper/sm/Class.h | 22 ++-- .../bindings/jswrapper/sm/HelperMacros.h | 22 ++-- native/cocos/bindings/jswrapper/sm/Object.cpp | 22 ++-- native/cocos/bindings/jswrapper/sm/Object.h | 22 ++-- .../bindings/jswrapper/sm/ScriptEngine.cpp | 22 ++-- .../bindings/jswrapper/sm/ScriptEngine.h | 22 ++-- native/cocos/bindings/jswrapper/sm/SeApi.h | 22 ++-- native/cocos/bindings/jswrapper/sm/Utils.cpp | 22 ++-- native/cocos/bindings/jswrapper/sm/Utils.h | 22 ++-- native/cocos/bindings/jswrapper/v8/Base.h | 22 ++-- native/cocos/bindings/jswrapper/v8/Class.cpp | 22 ++-- native/cocos/bindings/jswrapper/v8/Class.h | 22 ++-- .../bindings/jswrapper/v8/HelperMacros.h | 22 ++-- native/cocos/bindings/jswrapper/v8/Object.cpp | 22 ++-- native/cocos/bindings/jswrapper/v8/Object.h | 22 ++-- .../bindings/jswrapper/v8/ObjectWrap.cpp | 25 ++++ .../cocos/bindings/jswrapper/v8/ObjectWrap.h | 25 ++++ .../bindings/jswrapper/v8/ScriptEngine.cpp | 20 ++-- .../bindings/jswrapper/v8/ScriptEngine.h | 22 ++-- native/cocos/bindings/jswrapper/v8/SeApi.h | 22 ++-- native/cocos/bindings/jswrapper/v8/Utils.cpp | 22 ++-- native/cocos/bindings/jswrapper/v8/Utils.h | 22 ++-- .../v8/debugger/v8_inspector_protocol_json.h | 2 +- .../bindings/manual/JavaScriptJavaBridge.cpp | 47 ++++---- .../bindings/manual/JavaScriptJavaBridge.h | 49 ++++---- .../bindings/manual/JavaScriptObjCBridge.h | 47 ++++---- .../bindings/manual/JavaScriptObjCBridge.mm | 5 +- .../cocos/bindings/manual/jsb_classtype.cpp | 4 +- native/cocos/bindings/manual/jsb_classtype.h | 4 +- .../bindings/manual/jsb_cocos_manual.cpp | 4 +- .../cocos/bindings/manual/jsb_cocos_manual.h | 4 +- .../cocos/bindings/manual/jsb_conversions.cpp | 4 +- .../cocos/bindings/manual/jsb_conversions.h | 4 +- .../manual/jsb_dragonbones_manual.cpp | 4 +- .../bindings/manual/jsb_dragonbones_manual.h | 4 +- .../bindings/manual/jsb_extension_manual.cpp | 4 +- .../bindings/manual/jsb_extension_manual.h | 4 +- .../cocos/bindings/manual/jsb_gfx_agent.cpp | 25 ++++ native/cocos/bindings/manual/jsb_gfx_agent.h | 25 ++++ .../cocos/bindings/manual/jsb_gfx_manual.cpp | 25 ++++ native/cocos/bindings/manual/jsb_gfx_manual.h | 25 ++++ native/cocos/bindings/manual/jsb_global.cpp | 5 +- native/cocos/bindings/manual/jsb_global.h | 4 +- native/cocos/bindings/manual/jsb_helper.cpp | 4 +- native/cocos/bindings/manual/jsb_helper.h | 4 +- .../bindings/manual/jsb_module_register.cpp | 5 +- .../bindings/manual/jsb_module_register.h | 4 +- .../bindings/manual/jsb_network_manual.cpp | 5 +- .../bindings/manual/jsb_network_manual.h | 4 +- .../bindings/manual/jsb_pipeline_manual.cpp | 25 ++++ .../bindings/manual/jsb_pipeline_manual.h | 25 ++++ native/cocos/bindings/manual/jsb_platform.h | 4 +- .../bindings/manual/jsb_platform_android.cpp | 5 +- .../bindings/manual/jsb_platfrom_apple.mm | 4 +- .../bindings/manual/jsb_platfrom_win32.cpp | 4 +- native/cocos/bindings/manual/jsb_socketio.cpp | 4 +- native/cocos/bindings/manual/jsb_socketio.h | 4 +- .../bindings/manual/jsb_spine_manual.cpp | 5 +- .../cocos/bindings/manual/jsb_spine_manual.h | 4 +- .../cocos/bindings/manual/jsb_websocket.cpp | 5 +- native/cocos/bindings/manual/jsb_websocket.h | 4 +- .../bindings/manual/jsb_websocket_server.cpp | 4 +- .../bindings/manual/jsb_websocket_server.h | 4 +- .../bindings/manual/jsb_xmlhttprequest.cpp | 4 +- .../bindings/manual/jsb_xmlhttprequest.h | 4 +- native/cocos/editor-support/IOBuffer.cpp | 30 ++--- native/cocos/editor-support/IOBuffer.h | 30 ++--- native/cocos/editor-support/IOTypedArray.cpp | 30 ++--- native/cocos/editor-support/IOTypedArray.h | 30 ++--- native/cocos/editor-support/MeshBuffer.cpp | 29 ++--- native/cocos/editor-support/MeshBuffer.h | 30 ++--- native/cocos/editor-support/MiddlewareMacro.h | 32 ++--- .../editor-support/MiddlewareManager.cpp | 30 ++--- .../cocos/editor-support/MiddlewareManager.h | 30 ++--- .../editor-support/SharedBufferManager.cpp | 29 ++--- .../editor-support/SharedBufferManager.h | 29 ++--- .../cocos/editor-support/TypedArrayPool.cpp | 30 ++--- native/cocos/editor-support/TypedArrayPool.h | 31 ++--- .../editor-support/middleware-adapter.cpp | 30 ++--- .../cocos/editor-support/middleware-adapter.h | 30 ++--- native/cocos/network/Downloader-android.cpp | 21 ++-- native/cocos/network/Downloader-android.h | 21 ++-- native/cocos/network/Downloader-curl.cpp | 22 ++-- native/cocos/network/Downloader-curl.h | 21 ++-- native/cocos/network/Downloader.cpp | 21 ++-- native/cocos/network/Downloader.h | 21 ++-- native/cocos/network/DownloaderImpl-apple.h | 21 ++-- native/cocos/network/DownloaderImpl-apple.mm | 21 ++-- native/cocos/network/DownloaderImpl.h | 37 +++--- .../cocos/network/HttpAsynConnection-apple.h | 21 ++-- native/cocos/network/HttpClient-android.cpp | 33 +++--- native/cocos/network/HttpClient-apple.mm | 26 +++-- native/cocos/network/HttpClient.cpp | 33 +++--- native/cocos/network/HttpClient.h | 25 ++-- native/cocos/network/HttpCookie.cpp | 21 ++-- native/cocos/network/HttpCookie.h | 21 ++-- native/cocos/network/HttpRequest.h | 21 ++-- native/cocos/network/HttpResponse.h | 21 ++-- native/cocos/network/SocketIO.cpp | 25 ++-- native/cocos/network/SocketIO.h | 55 ++------- native/cocos/network/WebSocket-apple.mm | 5 +- .../cocos/network/WebSocket-libwebsockets.cpp | 24 ++-- native/cocos/network/WebSocket.h | 22 ++-- native/cocos/network/WebSocketServer.cpp | 5 +- native/cocos/network/WebSocketServer.h | 5 +- native/cocos/platform/Application.cpp | 35 +++--- native/cocos/platform/Application.h | 36 +++--- .../cocos/platform/CanvasRenderingContext2D.h | 21 ++-- native/cocos/platform/Device.h | 39 ++++--- native/cocos/platform/FileUtils.cpp | 39 ++++--- native/cocos/platform/FileUtils.h | 40 ++++--- native/cocos/platform/Image.cpp | 38 +++--- native/cocos/platform/Image.h | 39 ++++--- native/cocos/platform/SAXParser.cpp | 21 ++-- native/cocos/platform/SAXParser.h | 21 ++-- native/cocos/platform/StdC.h | 37 +++--- .../platform/android/Application-android.cpp | 40 ++++--- .../CanvasRenderingContext2D-android.cpp | 25 ++++ .../cocos/platform/android/Device-android.cpp | 39 ++++--- .../platform/android/FileUtils-android.cpp | 39 ++++--- .../platform/android/FileUtils-android.h | 26 +++-- native/cocos/platform/android/View.cpp | 26 +++-- native/cocos/platform/android/View.h | 30 ++--- .../platform/android/jni/JniCocosActivity.cpp | 36 +++--- .../platform/android/jni/JniCocosActivity.h | 36 +++--- .../android/jni/JniCocosKeyCodeHandler.cpp | 36 +++--- .../android/jni/JniCocosOrientationHelper.cpp | 36 +++--- .../android/jni/JniCocosSurfaceView.cpp | 36 +++--- .../android/jni/JniCocosTouchHandler.cpp | 36 +++--- .../cocos/platform/android/jni/JniHelper.cpp | 40 ++++--- native/cocos/platform/android/jni/JniHelper.h | 40 ++++--- native/cocos/platform/android/jni/JniImp.cpp | 5 +- native/cocos/platform/android/jni/JniImp.h | 5 +- .../apple/CanvasRenderingContext2D-apple.mm | 25 ++++ native/cocos/platform/apple/Device-apple.h | 29 ++--- native/cocos/platform/apple/Device-apple.mm | 29 ++--- native/cocos/platform/apple/FileUtils-apple.h | 24 ++-- .../cocos/platform/apple/FileUtils-apple.mm | 42 +++---- native/cocos/platform/ios/Application-ios.mm | 21 ++-- native/cocos/platform/ios/Device-ios.mm | 22 ++-- native/cocos/platform/ios/Reachability.cpp | 19 +-- native/cocos/platform/ios/Reachability.h | 22 ++-- native/cocos/platform/ios/View.h | 30 ++--- native/cocos/platform/ios/View.mm | 30 ++--- native/cocos/platform/mac/Application-mac.mm | 40 ++++--- native/cocos/platform/mac/Device-mac.mm | 39 ++++--- native/cocos/platform/mac/KeyCodeHelper.cpp | 30 ++--- native/cocos/platform/mac/KeyCodeHelper.h | 30 ++--- native/cocos/platform/mac/View.h | 21 ++-- native/cocos/platform/mac/View.mm | 22 ++-- .../platform/win32/Application-win32.cpp | 40 ++++--- .../win32/CanvasRenderingContext2D-win32.cpp | 25 ++++ native/cocos/platform/win32/Device-win32.cpp | 39 ++++--- .../cocos/platform/win32/FileUtils-win32.cpp | 39 ++++--- native/cocos/platform/win32/FileUtils-win32.h | 40 ++++--- native/cocos/platform/win32/Utils-win32.cpp | 40 ++++--- native/cocos/platform/win32/Utils-win32.h | 39 ++++--- native/cocos/platform/win32/View-win32.cpp | 35 +++--- native/cocos/platform/win32/View-win32.h | 35 +++--- native/cocos/platform/win32/compat/stdint.h | 25 ++++ native/cocos/renderer/core/Core.h | 36 +++--- native/cocos/renderer/core/CoreStd.cpp | 36 +++--- native/cocos/renderer/core/CoreStd.h | 36 +++--- .../cocos/renderer/core/gfx-agent/GFXAgent.h | 25 ++++ .../core/gfx-agent/GFXBufferAgent.cpp | 25 ++++ .../renderer/core/gfx-agent/GFXBufferAgent.h | 25 ++++ .../core/gfx-agent/GFXCommandBufferAgent.cpp | 25 ++++ .../core/gfx-agent/GFXCommandBufferAgent.h | 25 ++++ .../core/gfx-agent/GFXDescriptorSetAgent.cpp | 25 ++++ .../core/gfx-agent/GFXDescriptorSetAgent.h | 25 ++++ .../gfx-agent/GFXDescriptorSetLayoutAgent.cpp | 25 ++++ .../gfx-agent/GFXDescriptorSetLayoutAgent.h | 25 ++++ .../core/gfx-agent/GFXDeviceAgent.cpp | 25 ++++ .../renderer/core/gfx-agent/GFXDeviceAgent.h | 25 ++++ .../core/gfx-agent/GFXFramebufferAgent.cpp | 25 ++++ .../core/gfx-agent/GFXFramebufferAgent.h | 25 ++++ .../core/gfx-agent/GFXInputAssemblerAgent.cpp | 25 ++++ .../core/gfx-agent/GFXInputAssemblerAgent.h | 25 ++++ .../core/gfx-agent/GFXLinearAllocatorPool.h | 25 ++++ .../core/gfx-agent/GFXPipelineLayoutAgent.cpp | 25 ++++ .../core/gfx-agent/GFXPipelineLayoutAgent.h | 25 ++++ .../core/gfx-agent/GFXPipelineStateAgent.cpp | 25 ++++ .../core/gfx-agent/GFXPipelineStateAgent.h | 25 ++++ .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 25 ++++ .../renderer/core/gfx-agent/GFXQueueAgent.h | 25 ++++ .../core/gfx-agent/GFXRenderPassAgent.cpp | 25 ++++ .../core/gfx-agent/GFXRenderPassAgent.h | 25 ++++ .../core/gfx-agent/GFXSamplerAgent.cpp | 25 ++++ .../renderer/core/gfx-agent/GFXSamplerAgent.h | 25 ++++ .../core/gfx-agent/GFXShaderAgent.cpp | 25 ++++ .../renderer/core/gfx-agent/GFXShaderAgent.h | 25 ++++ .../core/gfx-agent/GFXTextureAgent.cpp | 25 ++++ .../renderer/core/gfx-agent/GFXTextureAgent.h | 25 ++++ native/cocos/renderer/core/gfx/GFXBuffer.cpp | 25 ++++ native/cocos/renderer/core/gfx/GFXBuffer.h | 25 ++++ .../renderer/core/gfx/GFXCommandBuffer.cpp | 25 ++++ .../renderer/core/gfx/GFXCommandBuffer.h | 27 ++++- native/cocos/renderer/core/gfx/GFXContext.cpp | 25 ++++ native/cocos/renderer/core/gfx/GFXContext.h | 25 ++++ .../cocos/renderer/core/gfx/GFXDef-common.h | 25 ++++ native/cocos/renderer/core/gfx/GFXDef.cpp | 46 +++++++- native/cocos/renderer/core/gfx/GFXDef.h | 26 +++++ .../renderer/core/gfx/GFXDescriptorSet.cpp | 25 ++++ .../renderer/core/gfx/GFXDescriptorSet.h | 25 ++++ .../core/gfx/GFXDescriptorSetLayout.cpp | 25 ++++ .../core/gfx/GFXDescriptorSetLayout.h | 25 ++++ native/cocos/renderer/core/gfx/GFXDevice.cpp | 25 ++++ native/cocos/renderer/core/gfx/GFXDevice.h | 25 ++++ .../renderer/core/gfx/GFXFramebuffer.cpp | 25 ++++ .../cocos/renderer/core/gfx/GFXFramebuffer.h | 25 ++++ .../renderer/core/gfx/GFXGlobalBarrier.cpp | 25 ++++ .../renderer/core/gfx/GFXGlobalBarrier.h | 25 ++++ .../renderer/core/gfx/GFXInputAssembler.cpp | 25 ++++ .../renderer/core/gfx/GFXInputAssembler.h | 25 ++++ native/cocos/renderer/core/gfx/GFXObject.cpp | 25 ++++ native/cocos/renderer/core/gfx/GFXObject.h | 25 ++++ .../renderer/core/gfx/GFXPipelineLayout.cpp | 25 ++++ .../renderer/core/gfx/GFXPipelineLayout.h | 25 ++++ .../renderer/core/gfx/GFXPipelineState.cpp | 25 ++++ .../renderer/core/gfx/GFXPipelineState.h | 25 ++++ native/cocos/renderer/core/gfx/GFXQueue.cpp | 25 ++++ native/cocos/renderer/core/gfx/GFXQueue.h | 25 ++++ .../cocos/renderer/core/gfx/GFXRenderPass.cpp | 25 ++++ .../cocos/renderer/core/gfx/GFXRenderPass.h | 25 ++++ native/cocos/renderer/core/gfx/GFXSampler.cpp | 25 ++++ native/cocos/renderer/core/gfx/GFXSampler.h | 25 ++++ native/cocos/renderer/core/gfx/GFXShader.cpp | 25 ++++ native/cocos/renderer/core/gfx/GFXShader.h | 25 ++++ native/cocos/renderer/core/gfx/GFXTexture.cpp | 25 ++++ native/cocos/renderer/core/gfx/GFXTexture.h | 25 ++++ .../renderer/core/gfx/GFXTextureBarrier.cpp | 27 ++++- .../renderer/core/gfx/GFXTextureBarrier.h | 25 ++++ .../gfx-gles-common/GLESCommandPool.h | 25 ++++ .../cocos/renderer/gfx-gles-common/eglw.cpp | 36 +++--- native/cocos/renderer/gfx-gles-common/eglw.h | 36 +++--- .../cocos/renderer/gfx-gles-common/gles2w.cpp | 36 +++--- .../cocos/renderer/gfx-gles-common/gles2w.h | 36 +++--- .../cocos/renderer/gfx-gles-common/gles3w.cpp | 36 +++--- .../cocos/renderer/gfx-gles-common/gles3w.h | 36 +++--- native/cocos/renderer/gfx-gles2/GFXGLES2.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Buffer.cpp | 36 +++--- native/cocos/renderer/gfx-gles2/GLES2Buffer.h | 36 +++--- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 36 +++--- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 36 +++--- .../renderer/gfx-gles2/GLES2Commands.cpp | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 38 +++--- .../cocos/renderer/gfx-gles2/GLES2Context.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Context.mm | 38 +++--- .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 36 +++--- .../renderer/gfx-gles2/GLES2DescriptorSet.h | 36 +++--- .../gfx-gles2/GLES2DescriptorSetLayout.cpp | 36 +++--- .../gfx-gles2/GLES2DescriptorSetLayout.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 36 +++--- native/cocos/renderer/gfx-gles2/GLES2Device.h | 36 +++--- .../renderer/gfx-gles2/GLES2Framebuffer.cpp | 36 +++--- .../renderer/gfx-gles2/GLES2Framebuffer.h | 36 +++--- .../renderer/gfx-gles2/GLES2GPUObjects.h | 36 +++--- .../gfx-gles2/GLES2InputAssembler.cpp | 36 +++--- .../renderer/gfx-gles2/GLES2InputAssembler.h | 36 +++--- .../gfx-gles2/GLES2PipelineLayout.cpp | 36 +++--- .../renderer/gfx-gles2/GLES2PipelineLayout.h | 36 +++--- .../renderer/gfx-gles2/GLES2PipelineState.cpp | 36 +++--- .../renderer/gfx-gles2/GLES2PipelineState.h | 36 +++--- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 36 +++--- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 36 +++--- native/cocos/renderer/gfx-gles2/GLES2Queue.h | 36 +++--- .../renderer/gfx-gles2/GLES2RenderPass.cpp | 36 +++--- .../renderer/gfx-gles2/GLES2RenderPass.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Sampler.cpp | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Sampler.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Shader.cpp | 36 +++--- native/cocos/renderer/gfx-gles2/GLES2Shader.h | 36 +++--- native/cocos/renderer/gfx-gles2/GLES2Std.cpp | 36 +++--- native/cocos/renderer/gfx-gles2/GLES2Std.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Texture.cpp | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Texture.h | 36 +++--- .../renderer/gfx-gles2/GLES2Wrangler.cpp | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Wrangler.h | 36 +++--- .../cocos/renderer/gfx-gles2/GLES2Wrangler.mm | 36 +++--- native/cocos/renderer/gfx-gles3/GFXGLES3.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Buffer.cpp | 38 +++--- native/cocos/renderer/gfx-gles3/GLES3Buffer.h | 36 +++--- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 36 +++--- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 36 +++--- .../renderer/gfx-gles3/GLES3Commands.cpp | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Context.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Context.mm | 40 ++++--- .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 36 +++--- .../renderer/gfx-gles3/GLES3DescriptorSet.h | 36 +++--- .../gfx-gles3/GLES3DescriptorSetLayout.cpp | 36 +++--- .../gfx-gles3/GLES3DescriptorSetLayout.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 36 +++--- native/cocos/renderer/gfx-gles3/GLES3Device.h | 36 +++--- .../renderer/gfx-gles3/GLES3Framebuffer.cpp | 36 +++--- .../renderer/gfx-gles3/GLES3Framebuffer.h | 36 +++--- .../renderer/gfx-gles3/GLES3GPUObjects.h | 36 +++--- .../renderer/gfx-gles3/GLES3GlobalBarrier.cpp | 25 ++++ .../renderer/gfx-gles3/GLES3GlobalBarrier.h | 25 ++++ .../gfx-gles3/GLES3InputAssembler.cpp | 36 +++--- .../renderer/gfx-gles3/GLES3InputAssembler.h | 36 +++--- .../gfx-gles3/GLES3PipelineLayout.cpp | 36 +++--- .../renderer/gfx-gles3/GLES3PipelineLayout.h | 36 +++--- .../renderer/gfx-gles3/GLES3PipelineState.cpp | 36 +++--- .../renderer/gfx-gles3/GLES3PipelineState.h | 36 +++--- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 36 +++--- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 36 +++--- native/cocos/renderer/gfx-gles3/GLES3Queue.h | 36 +++--- .../renderer/gfx-gles3/GLES3RenderPass.cpp | 36 +++--- .../renderer/gfx-gles3/GLES3RenderPass.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Sampler.cpp | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Sampler.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Shader.cpp | 36 +++--- native/cocos/renderer/gfx-gles3/GLES3Shader.h | 36 +++--- native/cocos/renderer/gfx-gles3/GLES3Std.cpp | 36 +++--- native/cocos/renderer/gfx-gles3/GLES3Std.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Texture.cpp | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Texture.h | 36 +++--- .../renderer/gfx-gles3/GLES3Wrangler.cpp | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Wrangler.h | 36 +++--- .../cocos/renderer/gfx-gles3/GLES3Wrangler.mm | 36 +++--- native/cocos/renderer/gfx-metal/GFXMTL.h | 38 +++--- native/cocos/renderer/gfx-metal/MTLBuffer.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 36 +++--- .../renderer/gfx-metal/MTLCommandBuffer.h | 38 +++--- .../renderer/gfx-metal/MTLCommandBuffer.mm | 38 +++--- native/cocos/renderer/gfx-metal/MTLConfig.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLContext.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLContext.mm | 36 +++--- .../renderer/gfx-metal/MTLDescriptorSet.h | 36 +++--- .../renderer/gfx-metal/MTLDescriptorSet.mm | 36 +++--- .../gfx-metal/MTLDescriptorSetLayout.h | 36 +++--- .../gfx-metal/MTLDescriptorSetLayout.mm | 36 +++--- native/cocos/renderer/gfx-metal/MTLDevice.h | 38 +++--- native/cocos/renderer/gfx-metal/MTLDevice.mm | 36 +++--- .../cocos/renderer/gfx-metal/MTLFramebuffer.h | 36 +++--- .../renderer/gfx-metal/MTLFramebuffer.mm | 36 +++--- .../cocos/renderer/gfx-metal/MTLGPUObjects.h | 36 +++--- .../renderer/gfx-metal/MTLInputAssembler.h | 36 +++--- .../renderer/gfx-metal/MTLInputAssembler.mm | 36 +++--- .../renderer/gfx-metal/MTLPipelineLayout.h | 36 +++--- .../renderer/gfx-metal/MTLPipelineLayout.mm | 36 +++--- .../renderer/gfx-metal/MTLPipelineState.h | 36 +++--- .../renderer/gfx-metal/MTLPipelineState.mm | 36 +++--- native/cocos/renderer/gfx-metal/MTLQueue.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLQueue.mm | 38 +++--- .../gfx-metal/MTLRenderCommandEncoder.h | 36 +++--- .../cocos/renderer/gfx-metal/MTLRenderPass.h | 36 +++--- .../cocos/renderer/gfx-metal/MTLRenderPass.mm | 36 +++--- native/cocos/renderer/gfx-metal/MTLSampler.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLSampler.mm | 36 +++--- .../cocos/renderer/gfx-metal/MTLSemaphore.h | 40 ++++--- native/cocos/renderer/gfx-metal/MTLShader.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLShader.mm | 36 +++--- native/cocos/renderer/gfx-metal/MTLStd.cpp | 36 +++--- native/cocos/renderer/gfx-metal/MTLStd.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLTexture.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLTexture.mm | 36 +++--- native/cocos/renderer/gfx-metal/MTLUtils.h | 36 +++--- native/cocos/renderer/gfx-metal/MTLUtils.mm | 36 +++--- native/cocos/renderer/gfx-vulkan/GFXVulkan.h | 36 +++--- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 36 +++--- native/cocos/renderer/gfx-vulkan/VKBuffer.h | 36 +++--- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 36 +++--- .../renderer/gfx-vulkan/VKCommandBuffer.h | 36 +++--- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 36 +++--- native/cocos/renderer/gfx-vulkan/VKCommands.h | 36 +++--- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 36 +++--- native/cocos/renderer/gfx-vulkan/VKContext.h | 36 +++--- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 36 +++--- .../renderer/gfx-vulkan/VKDescriptorSet.h | 36 +++--- .../gfx-vulkan/VKDescriptorSetLayout.cpp | 36 +++--- .../gfx-vulkan/VKDescriptorSetLayout.h | 36 +++--- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 25 ++++ native/cocos/renderer/gfx-vulkan/VKDevice.h | 36 +++--- .../renderer/gfx-vulkan/VKFramebuffer.cpp | 36 +++--- .../cocos/renderer/gfx-vulkan/VKFramebuffer.h | 36 +++--- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 36 +++--- .../renderer/gfx-vulkan/VKGlobalBarrier.cpp | 25 ++++ .../renderer/gfx-vulkan/VKGlobalBarrier.h | 25 ++++ .../renderer/gfx-vulkan/VKInputAssembler.cpp | 36 +++--- .../renderer/gfx-vulkan/VKInputAssembler.h | 36 +++--- .../renderer/gfx-vulkan/VKPipelineLayout.cpp | 36 +++--- .../renderer/gfx-vulkan/VKPipelineLayout.h | 36 +++--- .../renderer/gfx-vulkan/VKPipelineState.cpp | 36 +++--- .../renderer/gfx-vulkan/VKPipelineState.h | 36 +++--- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 36 +++--- native/cocos/renderer/gfx-vulkan/VKQueue.h | 36 +++--- .../renderer/gfx-vulkan/VKRenderPass.cpp | 36 +++--- .../cocos/renderer/gfx-vulkan/VKRenderPass.h | 36 +++--- native/cocos/renderer/gfx-vulkan/VKSPIRV.h | 36 +++--- .../cocos/renderer/gfx-vulkan/VKSampler.cpp | 36 +++--- native/cocos/renderer/gfx-vulkan/VKSampler.h | 36 +++--- native/cocos/renderer/gfx-vulkan/VKShader.cpp | 36 +++--- native/cocos/renderer/gfx-vulkan/VKShader.h | 36 +++--- native/cocos/renderer/gfx-vulkan/VKStd.cpp | 36 +++--- native/cocos/renderer/gfx-vulkan/VKStd.h | 36 +++--- .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 36 +++--- native/cocos/renderer/gfx-vulkan/VKTexture.h | 36 +++--- .../renderer/gfx-vulkan/VKTextureBarrier.cpp | 25 ++++ .../renderer/gfx-vulkan/VKTextureBarrier.h | 25 ++++ native/cocos/renderer/gfx-vulkan/VKUtils.h | 36 +++--- .../cocos/renderer/pipeline/BatchedBuffer.cpp | 36 +++--- .../cocos/renderer/pipeline/BatchedBuffer.h | 36 +++--- native/cocos/renderer/pipeline/Define.cpp | 36 +++--- native/cocos/renderer/pipeline/Define.h | 36 +++--- .../renderer/pipeline/InstancedBuffer.cpp | 36 +++--- .../cocos/renderer/pipeline/InstancedBuffer.h | 36 +++--- .../renderer/pipeline/PipelineSceneData.cpp | 41 +++---- .../renderer/pipeline/PipelineSceneData.h | 39 ++++--- .../pipeline/PipelineStateManager.cpp | 36 +++--- .../renderer/pipeline/PipelineStateManager.h | 36 +++--- .../cocos/renderer/pipeline/PipelineUBO.cpp | 35 +++--- native/cocos/renderer/pipeline/PipelineUBO.h | 39 ++++--- .../renderer/pipeline/PlanarShadowQueue.cpp | 38 +++--- .../renderer/pipeline/PlanarShadowQueue.h | 38 +++--- .../pipeline/RenderAdditiveLightQueue.cpp | 40 ++++--- .../pipeline/RenderAdditiveLightQueue.h | 36 +++--- .../renderer/pipeline/RenderBatchedQueue.cpp | 36 +++--- .../renderer/pipeline/RenderBatchedQueue.h | 36 +++--- native/cocos/renderer/pipeline/RenderFlow.cpp | 36 +++--- native/cocos/renderer/pipeline/RenderFlow.h | 36 +++--- .../pipeline/RenderInstancedQueue.cpp | 36 +++--- .../renderer/pipeline/RenderInstancedQueue.h | 36 +++--- .../renderer/pipeline/RenderPipeline.cpp | 38 +++--- .../cocos/renderer/pipeline/RenderPipeline.h | 38 +++--- .../cocos/renderer/pipeline/RenderQueue.cpp | 36 +++--- native/cocos/renderer/pipeline/RenderQueue.h | 36 +++--- .../cocos/renderer/pipeline/RenderStage.cpp | 38 +++--- native/cocos/renderer/pipeline/RenderStage.h | 36 +++--- .../cocos/renderer/pipeline/SceneCulling.cpp | 38 +++--- native/cocos/renderer/pipeline/SceneCulling.h | 36 +++--- .../pipeline/ShadowMapBatchedQueue.cpp | 38 +++--- .../renderer/pipeline/ShadowMapBatchedQueue.h | 36 +++--- .../pipeline/deferred/DeferredPipeline.cpp | 8 +- .../pipeline/deferred/DeferredPipeline.h | 10 +- .../pipeline/deferred/GbufferFlow.cpp | 12 +- .../renderer/pipeline/deferred/GbufferFlow.h | 8 +- .../pipeline/deferred/GbufferStage.cpp | 8 +- .../renderer/pipeline/deferred/GbufferStage.h | 10 +- .../pipeline/deferred/LightingFlow.cpp | 10 +- .../renderer/pipeline/deferred/LightingFlow.h | 8 +- .../pipeline/deferred/LightingStage.cpp | 8 +- .../pipeline/deferred/LightingStage.h | 8 +- .../pipeline/deferred/PostprocessStage.cpp | 10 +- .../pipeline/deferred/PostprocessStage.h | 10 +- .../renderer/pipeline/forward/ForwardFlow.cpp | 36 +++--- .../renderer/pipeline/forward/ForwardFlow.h | 38 +++--- .../pipeline/forward/ForwardPipeline.cpp | 38 +++--- .../pipeline/forward/ForwardPipeline.h | 38 +++--- .../pipeline/forward/ForwardStage.cpp | 38 +++--- .../renderer/pipeline/forward/ForwardStage.h | 36 +++--- .../renderer/pipeline/forward/UIPhase.cpp | 36 +++--- .../cocos/renderer/pipeline/forward/UIPhase.h | 38 +++--- .../renderer/pipeline/helper/DefineMap.cpp | 36 +++--- .../renderer/pipeline/helper/DefineMap.h | 36 +++--- .../renderer/pipeline/helper/SharedMemory.cpp | 36 +++--- .../renderer/pipeline/helper/SharedMemory.h | 44 +++---- .../renderer/pipeline/shadow/ShadowFlow.cpp | 36 +++--- .../renderer/pipeline/shadow/ShadowFlow.h | 36 +++--- .../renderer/pipeline/shadow/ShadowStage.cpp | 38 +++--- .../renderer/pipeline/shadow/ShadowStage.h | 36 +++--- .../local-storage/LocalStorage-android.cpp | 23 ++-- .../storage/local-storage/LocalStorage.cpp | 25 ++++ .../storage/local-storage/LocalStorage.h | 39 ++++--- native/cocos/ui/edit-box/EditBox-android.cpp | 27 ++--- native/cocos/ui/edit-box/EditBox-ios.mm | 30 ++--- native/cocos/ui/edit-box/EditBox-mac.mm | 30 ++--- native/cocos/ui/edit-box/EditBox-win32.cpp | 30 ++--- native/cocos/ui/edit-box/EditBox.h | 28 ++--- .../ui/videoplayer/VideoPlayer-android.cpp | 20 ++-- .../cocos/ui/videoplayer/VideoPlayer-ios.mm | 20 ++-- native/cocos/ui/videoplayer/VideoPlayer.h | 20 ++-- native/cocos/ui/webview/WebView-inl.h | 21 ++-- native/cocos/ui/webview/WebView.h | 21 ++-- .../cocos/ui/webview/WebViewImpl-android.cpp | 21 ++-- native/cocos/ui/webview/WebViewImpl-android.h | 21 ++-- native/cocos/ui/webview/WebViewImpl-ios.h | 21 ++-- native/cocos/ui/webview/WebViewImpl-ios.mm | 21 ++-- native/external/config.json | 6 +- native/tools/license-upgrader/generate.js | 109 ++++++++++++++++++ 676 files changed, 12163 insertions(+), 6930 deletions(-) create mode 100644 native/tools/license-upgrader/generate.js diff --git a/native/cocos/audio/AudioEngine.cpp b/native/cocos/audio/AudioEngine.cpp index 90802a70fb..6226a3d17a 100644 --- a/native/cocos/audio/AudioEngine.cpp +++ b/native/cocos/audio/AudioEngine.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "audio/include/AudioEngine.h" #include "platform/FileUtils.h" #include "base/Utils.h" diff --git a/native/cocos/audio/apple/AudioCache.h b/native/cocos/audio/apple/AudioCache.h index 149d7b3598..29135e5937 100644 --- a/native/cocos/audio/apple/AudioCache.h +++ b/native/cocos/audio/apple/AudioCache.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #import diff --git a/native/cocos/audio/apple/AudioCache.mm b/native/cocos/audio/apple/AudioCache.mm index 514cda632b..86d8b1b8a5 100644 --- a/native/cocos/audio/apple/AudioCache.mm +++ b/native/cocos/audio/apple/AudioCache.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #define LOG_TAG "AudioCache" #include "audio/apple/AudioCache.h" diff --git a/native/cocos/audio/apple/AudioDecoder.h b/native/cocos/audio/apple/AudioDecoder.h index dec97aa83a..d543d5e515 100644 --- a/native/cocos/audio/apple/AudioDecoder.h +++ b/native/cocos/audio/apple/AudioDecoder.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/audio/apple/AudioDecoder.mm b/native/cocos/audio/apple/AudioDecoder.mm index f9bb3ab333..583f0ed41f 100644 --- a/native/cocos/audio/apple/AudioDecoder.mm +++ b/native/cocos/audio/apple/AudioDecoder.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "audio/apple/AudioDecoder.h" #include "audio/apple/AudioMacros.h" diff --git a/native/cocos/audio/apple/AudioEngine-inl.h b/native/cocos/audio/apple/AudioEngine-inl.h index 84400114c5..9a4b734af4 100644 --- a/native/cocos/audio/apple/AudioEngine-inl.h +++ b/native/cocos/audio/apple/AudioEngine-inl.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #ifndef __AUDIO_ENGINE_INL_H_ #define __AUDIO_ENGINE_INL_H_ diff --git a/native/cocos/audio/apple/AudioEngine-inl.mm b/native/cocos/audio/apple/AudioEngine-inl.mm index 40b3e8b602..2a692d310b 100644 --- a/native/cocos/audio/apple/AudioEngine-inl.mm +++ b/native/cocos/audio/apple/AudioEngine-inl.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #define LOG_TAG "AudioEngine-inl.mm" #include "audio/apple/AudioEngine-inl.h" diff --git a/native/cocos/audio/apple/AudioMacros.h b/native/cocos/audio/apple/AudioMacros.h index a5ed9f9493..4a62904707 100644 --- a/native/cocos/audio/apple/AudioMacros.h +++ b/native/cocos/audio/apple/AudioMacros.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #define QUEUEBUFFER_NUM (3) diff --git a/native/cocos/audio/apple/AudioPlayer.h b/native/cocos/audio/apple/AudioPlayer.h index 5e6fe7ed04..e0646e59bf 100644 --- a/native/cocos/audio/apple/AudioPlayer.h +++ b/native/cocos/audio/apple/AudioPlayer.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "base/Macros.h" diff --git a/native/cocos/audio/apple/AudioPlayer.mm b/native/cocos/audio/apple/AudioPlayer.mm index 1520b5a3ff..37f2f99e23 100644 --- a/native/cocos/audio/apple/AudioPlayer.mm +++ b/native/cocos/audio/apple/AudioPlayer.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #define LOG_TAG "AudioPlayer" #import diff --git a/native/cocos/audio/include/AudioEngine.h b/native/cocos/audio/include/AudioEngine.h index 63c615ef01..206df41c22 100644 --- a/native/cocos/audio/include/AudioEngine.h +++ b/native/cocos/audio/include/AudioEngine.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/audio/include/Export.h b/native/cocos/audio/include/Export.h index 099b8a1a15..a76ced08da 100644 --- a/native/cocos/audio/include/Export.h +++ b/native/cocos/audio/include/Export.h @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef __EXPORT_COMMON__ #define __EXPORT_COMMON__ diff --git a/native/cocos/audio/win32/AudioCache.cpp b/native/cocos/audio/win32/AudioCache.cpp index 964c5749e7..93aec70b0d 100644 --- a/native/cocos/audio/win32/AudioCache.cpp +++ b/native/cocos/audio/win32/AudioCache.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #define LOG_TAG "AudioCache" #include "audio/win32/AudioCache.h" diff --git a/native/cocos/audio/win32/AudioCache.h b/native/cocos/audio/win32/AudioCache.h index af87b10e34..5f8e4d4408 100644 --- a/native/cocos/audio/win32/AudioCache.h +++ b/native/cocos/audio/win32/AudioCache.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/audio/win32/AudioDecoder.cpp b/native/cocos/audio/win32/AudioDecoder.cpp index 73ae63f8f9..a5af94a6ed 100644 --- a/native/cocos/audio/win32/AudioDecoder.cpp +++ b/native/cocos/audio/win32/AudioDecoder.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "audio/win32/AudioDecoder.h" #include "audio/win32/AudioMacros.h" #include "platform/FileUtils.h" diff --git a/native/cocos/audio/win32/AudioDecoder.h b/native/cocos/audio/win32/AudioDecoder.h index 5880f38ecd..69ba19c285 100644 --- a/native/cocos/audio/win32/AudioDecoder.h +++ b/native/cocos/audio/win32/AudioDecoder.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/audio/win32/AudioDecoderManager.cpp b/native/cocos/audio/win32/AudioDecoderManager.cpp index b7ed37d466..7cc0a752b7 100644 --- a/native/cocos/audio/win32/AudioDecoderManager.cpp +++ b/native/cocos/audio/win32/AudioDecoderManager.cpp @@ -1,27 +1,29 @@ /**************************************************************************** -Copyright (c) 2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #define LOG_TAG "AudioDecoderManager" #include "audio/win32/AudioDecoderManager.h" diff --git a/native/cocos/audio/win32/AudioDecoderManager.h b/native/cocos/audio/win32/AudioDecoderManager.h index 858ab107c4..f14ceaeea0 100644 --- a/native/cocos/audio/win32/AudioDecoderManager.h +++ b/native/cocos/audio/win32/AudioDecoderManager.h @@ -1,27 +1,29 @@ /**************************************************************************** -Copyright (c) 2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once namespace cc { diff --git a/native/cocos/audio/win32/AudioDecoderMp3.cpp b/native/cocos/audio/win32/AudioDecoderMp3.cpp index cc8231b17a..5101bea81e 100644 --- a/native/cocos/audio/win32/AudioDecoderMp3.cpp +++ b/native/cocos/audio/win32/AudioDecoderMp3.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "audio/win32/AudioDecoderMp3.h" #include "audio/win32/AudioMacros.h" #include "platform/FileUtils.h" diff --git a/native/cocos/audio/win32/AudioDecoderMp3.h b/native/cocos/audio/win32/AudioDecoderMp3.h index a00b0afa44..21a903be5f 100644 --- a/native/cocos/audio/win32/AudioDecoderMp3.h +++ b/native/cocos/audio/win32/AudioDecoderMp3.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "audio/win32/AudioDecoder.h" diff --git a/native/cocos/audio/win32/AudioDecoderOgg.cpp b/native/cocos/audio/win32/AudioDecoderOgg.cpp index bdc795c1a8..4830182337 100644 --- a/native/cocos/audio/win32/AudioDecoderOgg.cpp +++ b/native/cocos/audio/win32/AudioDecoderOgg.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "audio/win32/AudioDecoderOgg.h" #include "audio/win32/AudioMacros.h" #include "platform/FileUtils.h" diff --git a/native/cocos/audio/win32/AudioDecoderOgg.h b/native/cocos/audio/win32/AudioDecoderOgg.h index 658e7c8043..74dbe95c04 100644 --- a/native/cocos/audio/win32/AudioDecoderOgg.h +++ b/native/cocos/audio/win32/AudioDecoderOgg.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "audio/win32/AudioDecoder.h" diff --git a/native/cocos/audio/win32/AudioEngine-win32.cpp b/native/cocos/audio/win32/AudioEngine-win32.cpp index 15b72b76ec..8a5021a95e 100644 --- a/native/cocos/audio/win32/AudioEngine-win32.cpp +++ b/native/cocos/audio/win32/AudioEngine-win32.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #define LOG_TAG "AudioEngine-Win32" #include "audio/win32/AudioEngine-win32.h" diff --git a/native/cocos/audio/win32/AudioEngine-win32.h b/native/cocos/audio/win32/AudioEngine-win32.h index 434f973812..cc67e2d9ce 100644 --- a/native/cocos/audio/win32/AudioEngine-win32.h +++ b/native/cocos/audio/win32/AudioEngine-win32.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/audio/win32/AudioMacros.h b/native/cocos/audio/win32/AudioMacros.h index 33bbf612f9..1ac8704df2 100644 --- a/native/cocos/audio/win32/AudioMacros.h +++ b/native/cocos/audio/win32/AudioMacros.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #define QUEUEBUFFER_NUM (3) diff --git a/native/cocos/audio/win32/AudioPlayer.cpp b/native/cocos/audio/win32/AudioPlayer.cpp index 061f8f33c2..229f9778c1 100644 --- a/native/cocos/audio/win32/AudioPlayer.cpp +++ b/native/cocos/audio/win32/AudioPlayer.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #define LOG_TAG "AudioPlayer" diff --git a/native/cocos/audio/win32/AudioPlayer.h b/native/cocos/audio/win32/AudioPlayer.h index 9490a60ad8..b2e438c6f4 100644 --- a/native/cocos/audio/win32/AudioPlayer.h +++ b/native/cocos/audio/win32/AudioPlayer.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/Array.cpp b/native/cocos/base/Array.cpp index d226264a82..e1c6f4f2f0 100644 --- a/native/cocos/base/Array.cpp +++ b/native/cocos/base/Array.cpp @@ -1,29 +1,30 @@ /**************************************************************************** -Copyright (c) 2007 Scott Lembcke -Copyright (c) 2010-2012 cocos2d-x.org -CopyRight (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2007 Scott Lembcke + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "base/Log.h" #include "base/Array.h" diff --git a/native/cocos/base/Array.h b/native/cocos/base/Array.h index d5019a65e7..5fc98dbd45 100644 --- a/native/cocos/base/Array.h +++ b/native/cocos/base/Array.h @@ -1,28 +1,29 @@ /**************************************************************************** -Copyright (c) 2007 Scott Lembcke -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2007 Scott Lembcke + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ /** diff --git a/native/cocos/base/AutoreleasePool.cpp b/native/cocos/base/AutoreleasePool.cpp index a92897dd19..42bde64d29 100644 --- a/native/cocos/base/AutoreleasePool.cpp +++ b/native/cocos/base/AutoreleasePool.cpp @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "base/AutoreleasePool.h" #include "base/Log.h" diff --git a/native/cocos/base/AutoreleasePool.h b/native/cocos/base/AutoreleasePool.h index fd527c96b7..4f340edbd4 100644 --- a/native/cocos/base/AutoreleasePool.h +++ b/native/cocos/base/AutoreleasePool.h @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef __AUTORELEASEPOOL_H__ #define __AUTORELEASEPOOL_H__ diff --git a/native/cocos/base/CachedArray.h b/native/cocos/base/CachedArray.h index 1a7eecfae9..0c4833efb7 100755 --- a/native/cocos/base/CachedArray.h +++ b/native/cocos/base/CachedArray.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_KERNEL_CACHED_ARRAY_H_ #define CC_CORE_KERNEL_CACHED_ARRAY_H_ diff --git a/native/cocos/base/Config.h b/native/cocos/base/Config.h index 388117f836..f080938217 100644 --- a/native/cocos/base/Config.h +++ b/native/cocos/base/Config.h @@ -1,29 +1,30 @@ /**************************************************************************** -Copyright (c) 2008-2010 Ricardo Quesada -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2011 Zynga Inc. -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2008-2010 Ricardo Quesada + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2011 Zynga Inc. + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #ifndef __CCCONFIG_H__ diff --git a/native/cocos/base/Data.cpp b/native/cocos/base/Data.cpp index d763d77c06..34d393cca1 100644 --- a/native/cocos/base/Data.cpp +++ b/native/cocos/base/Data.cpp @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "base/Data.h" #include "base/Log.h" diff --git a/native/cocos/base/Data.h b/native/cocos/base/Data.h index b71d7a0e96..58af7c9959 100644 --- a/native/cocos/base/Data.h +++ b/native/cocos/base/Data.h @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __CCDATA_H__ #define __CCDATA_H__ diff --git a/native/cocos/base/Log.cpp b/native/cocos/base/Log.cpp index fc5f2b27ea..7aaefd132b 100755 --- a/native/cocos/base/Log.cpp +++ b/native/cocos/base/Log.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "Log.h" #include "UTFString.h" #include "StringUtil.h" diff --git a/native/cocos/base/Log.h b/native/cocos/base/Log.h index d0f3015b0b..4a64b0488a 100755 --- a/native/cocos/base/Log.h +++ b/native/cocos/base/Log.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_KERNEL_LOG_H_ #define CC_CORE_KERNEL_LOG_H_ diff --git a/native/cocos/base/Macros.h b/native/cocos/base/Macros.h index 0817d544c5..63b802d42b 100644 --- a/native/cocos/base/Macros.h +++ b/native/cocos/base/Macros.h @@ -1,30 +1,32 @@ /**************************************************************************** -Copyright (c) 2008-2010 Ricardo Quesada -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2011 Zynga Inc. -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2008-2010 Ricardo Quesada + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2011 Zynga Inc. + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) diff --git a/native/cocos/base/Map.h b/native/cocos/base/Map.h index 95c8124a71..9f16e646a1 100644 --- a/native/cocos/base/Map.h +++ b/native/cocos/base/Map.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #define USE_STD_UNORDERED_MAP 1 diff --git a/native/cocos/base/Object.h b/native/cocos/base/Object.h index 02ff104737..5d2185e313 100755 --- a/native/cocos/base/Object.h +++ b/native/cocos/base/Object.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_KERNEL_OBJECT_H_ #define CC_CORE_KERNEL_OBJECT_H_ diff --git a/native/cocos/base/Random.cpp b/native/cocos/base/Random.cpp index 97b35770cf..9ba8e7c9d4 100644 --- a/native/cocos/base/Random.cpp +++ b/native/cocos/base/Random.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "base/Random.h" diff --git a/native/cocos/base/Random.h b/native/cocos/base/Random.h index d26ed4806b..250c20b8b9 100644 --- a/native/cocos/base/Random.h +++ b/native/cocos/base/Random.h @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #ifndef __ccRandom_H_ diff --git a/native/cocos/base/Ref.cpp b/native/cocos/base/Ref.cpp index e1d05a0448..372e585379 100644 --- a/native/cocos/base/Ref.cpp +++ b/native/cocos/base/Ref.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "base/Ref.h" diff --git a/native/cocos/base/Ref.h b/native/cocos/base/Ref.h index 544a89a329..56bd954e72 100644 --- a/native/cocos/base/Ref.h +++ b/native/cocos/base/Ref.h @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #ifndef __BASE_CCREF_H__ diff --git a/native/cocos/base/Scheduler.cpp b/native/cocos/base/Scheduler.cpp index 07b80baad3..89934d5c17 100644 --- a/native/cocos/base/Scheduler.cpp +++ b/native/cocos/base/Scheduler.cpp @@ -1,30 +1,32 @@ /**************************************************************************** -Copyright (c) 2008-2010 Ricardo Quesada -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2011 Zynga Inc. -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2008-2010 Ricardo Quesada + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2011 Zynga Inc. + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "base/Scheduler.h" #include "base/Macros.h" #include "base/Array.h" diff --git a/native/cocos/base/Scheduler.h b/native/cocos/base/Scheduler.h index 47a2b1f495..b6c45ffa84 100644 --- a/native/cocos/base/Scheduler.h +++ b/native/cocos/base/Scheduler.h @@ -1,30 +1,32 @@ /**************************************************************************** -Copyright (c) 2008-2010 Ricardo Quesada -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2011 Zynga Inc. -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2008-2010 Ricardo Quesada + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2011 Zynga Inc. + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/StringUtil.cpp b/native/cocos/base/StringUtil.cpp index 4e1eb8ea56..30fc2fa227 100755 --- a/native/cocos/base/StringUtil.cpp +++ b/native/cocos/base/StringUtil.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "StringUtil.h" diff --git a/native/cocos/base/StringUtil.h b/native/cocos/base/StringUtil.h index 83dffac04e..5181018424 100755 --- a/native/cocos/base/StringUtil.h +++ b/native/cocos/base/StringUtil.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_KERNEL_UTIL_STRING_UTIL_H_ #define CC_CORE_KERNEL_UTIL_STRING_UTIL_H_ diff --git a/native/cocos/base/ThreadPool.cpp b/native/cocos/base/ThreadPool.cpp index 787361850a..f9e30ffcd2 100644 --- a/native/cocos/base/ThreadPool.cpp +++ b/native/cocos/base/ThreadPool.cpp @@ -1,18 +1,20 @@ /**************************************************************************** Copyright (c) 2016-2017 Chukong Technologies Inc. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,10 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - Inspired by https://github.com/vit-vit/CTPL - - ****************************************************************************/ +****************************************************************************/ #include "base/ThreadPool.h" #include "platform/StdC.h" diff --git a/native/cocos/base/ThreadPool.h b/native/cocos/base/ThreadPool.h index 706bdca3cf..b2f2cc51b5 100644 --- a/native/cocos/base/ThreadPool.h +++ b/native/cocos/base/ThreadPool.h @@ -1,18 +1,20 @@ /**************************************************************************** Copyright (c) 2016-2017 Chukong Technologies Inc. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,10 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - Inspired by https://github.com/vit-vit/CTPL - - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "base/Utils.h" diff --git a/native/cocos/base/TypeDef.h b/native/cocos/base/TypeDef.h index e896fc2bbe..4b07839dce 100755 --- a/native/cocos/base/TypeDef.h +++ b/native/cocos/base/TypeDef.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_TYPE_DEF_H_ #define CC_CORE_TYPE_DEF_H_ diff --git a/native/cocos/base/UTF8.cpp b/native/cocos/base/UTF8.cpp index 3c7728114e..3f651c8f28 100644 --- a/native/cocos/base/UTF8.cpp +++ b/native/cocos/base/UTF8.cpp @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2014 cocos2d-x.org Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "base/UTF8.h" #include "base/Log.h" diff --git a/native/cocos/base/UTF8.h b/native/cocos/base/UTF8.h index 51b3a162f5..ea19b26848 100644 --- a/native/cocos/base/UTF8.h +++ b/native/cocos/base/UTF8.h @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2014 cocos2d-x.org Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __cocos2dx__ccUTF8__ #define __cocos2dx__ccUTF8__ diff --git a/native/cocos/base/UTFString.cpp b/native/cocos/base/UTFString.cpp index d770acec40..e0a3ff7a7c 100755 --- a/native/cocos/base/UTFString.cpp +++ b/native/cocos/base/UTFString.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "UTFString.h" #include "memory/Memory.h" diff --git a/native/cocos/base/UTFString.h b/native/cocos/base/UTFString.h index c61afcdea8..87afa2c803 100755 --- a/native/cocos/base/UTFString.h +++ b/native/cocos/base/UTFString.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_KERNEL_UTF_STRING_H_ #define CC_CORE_KERNEL_UTF_STRING_H_ diff --git a/native/cocos/base/Utils.cpp b/native/cocos/base/Utils.cpp index fc557e460a..d95d14c9e4 100644 --- a/native/cocos/base/Utils.cpp +++ b/native/cocos/base/Utils.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "base/Utils.h" diff --git a/native/cocos/base/Utils.h b/native/cocos/base/Utils.h index 6a22e9044b..5dcd72352d 100644 --- a/native/cocos/base/Utils.h +++ b/native/cocos/base/Utils.h @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/Value.cpp b/native/cocos/base/Value.cpp index 213d92edc9..9d74e83996 100644 --- a/native/cocos/base/Value.cpp +++ b/native/cocos/base/Value.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, diff --git a/native/cocos/base/Value.h b/native/cocos/base/Value.h index ee7599246b..3c0a00a3ba 100644 --- a/native/cocos/base/Value.h +++ b/native/cocos/base/Value.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "base/Macros.h" diff --git a/native/cocos/base/Vector.h b/native/cocos/base/Vector.h index 539380ed97..de0b1575d6 100644 --- a/native/cocos/base/Vector.h +++ b/native/cocos/base/Vector.h @@ -1,29 +1,31 @@ /**************************************************************************** -Copyright (c) 2010 ForzeField Studios S.L. http://forzefield.com -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010 ForzeField Studios S.L. http://forzefield.com + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/ZipUtils.cpp b/native/cocos/base/ZipUtils.cpp index f21b46ad21..d3af77dada 100644 --- a/native/cocos/base/ZipUtils.cpp +++ b/native/cocos/base/ZipUtils.cpp @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ // IDEA: hack, must be included before ziputils #include "base/ZipUtils.h" diff --git a/native/cocos/base/ZipUtils.h b/native/cocos/base/ZipUtils.h index a80e63e40c..8f19c25aff 100644 --- a/native/cocos/base/ZipUtils.h +++ b/native/cocos/base/ZipUtils.h @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #ifndef __SUPPORT_ZIPUTILS_H__ diff --git a/native/cocos/base/astc.cpp b/native/cocos/base/astc.cpp index 9ce0456ffa..2f2302ede2 100644 --- a/native/cocos/base/astc.cpp +++ b/native/cocos/base/astc.cpp @@ -1,20 +1,21 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "base/astc.h" #include "platform/Image.h" diff --git a/native/cocos/base/astc.h b/native/cocos/base/astc.h index 091d989165..d513516a1b 100644 --- a/native/cocos/base/astc.h +++ b/native/cocos/base/astc.h @@ -1,20 +1,21 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include diff --git a/native/cocos/base/base64.cpp b/native/cocos/base/base64.cpp index ddb544f781..5889ed6a7b 100644 --- a/native/cocos/base/base64.cpp +++ b/native/cocos/base/base64.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include diff --git a/native/cocos/base/base64.h b/native/cocos/base/base64.h index c8adaa99da..1baa472ee9 100644 --- a/native/cocos/base/base64.h +++ b/native/cocos/base/base64.h @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #ifndef __SUPPORT_BASE64_H__ diff --git a/native/cocos/base/csscolorparser.cpp b/native/cocos/base/csscolorparser.cpp index bf324ecef7..e8de4720d6 100644 --- a/native/cocos/base/csscolorparser.cpp +++ b/native/cocos/base/csscolorparser.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + // (c) Dean McNamee , 2012. // C++ port by Mapbox, Konstantin Käfer , 2014-2017. // diff --git a/native/cocos/base/csscolorparser.h b/native/cocos/base/csscolorparser.h index 93854d0e62..451d651328 100644 --- a/native/cocos/base/csscolorparser.h +++ b/native/cocos/base/csscolorparser.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + // (c) Dean McNamee , 2012. // C++ port by Mapbox, Konstantin Käfer , 2014-2017. // diff --git a/native/cocos/base/etc1.cpp b/native/cocos/base/etc1.cpp index 3fa1429478..b2dc807ab6 100644 --- a/native/cocos/base/etc1.cpp +++ b/native/cocos/base/etc1.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + // Copyright 2009 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/native/cocos/base/etc1.h b/native/cocos/base/etc1.h index 2193cd9fdf..a96a6b245a 100644 --- a/native/cocos/base/etc1.h +++ b/native/cocos/base/etc1.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + // Copyright 2009 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/native/cocos/base/etc2.cpp b/native/cocos/base/etc2.cpp index 107ca4aaba..f1a43fb63b 100644 --- a/native/cocos/base/etc2.cpp +++ b/native/cocos/base/etc2.cpp @@ -1,20 +1,21 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "base/etc2.h" #include diff --git a/native/cocos/base/etc2.h b/native/cocos/base/etc2.h index 4be5125fe4..30597bc446 100644 --- a/native/cocos/base/etc2.h +++ b/native/cocos/base/etc2.h @@ -1,20 +1,21 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __etc2_h__ #define __etc2_h__ diff --git a/native/cocos/base/job-system/JobSystem.h b/native/cocos/base/job-system/JobSystem.h index e9a337c3ba..c4f5bf84bd 100644 --- a/native/cocos/base/job-system/JobSystem.h +++ b/native/cocos/base/job-system/JobSystem.h @@ -1,3 +1,27 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ #if CC_JOB_SYSTEM == CC_JOB_SYSTEM_TASKFLOW #include "job-system-taskflow/TFJobGraph.h" diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp index 44398f0fc2..1895adfa71 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "TFJobGraph.h" diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index d2220912cc..9740ad2eb4 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "TFJobSystem.h" diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp index a7015e6f91..f2943835ec 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "TFJobSystem.h" diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 57c7e441ad..11fea0a2c5 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "taskflow/taskflow.hpp" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp index dd3b2fc4ed..a7ca4d43ba 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "TBBJobGraph.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index 61e91fbc2b..4450c60e44 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp index e88ae59f04..126357f92f 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "TBBJobSystem.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h index 1f63473152..d8ea7514e3 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "tbb/global_control.h" diff --git a/native/cocos/base/memory/AllocatedObj.cpp b/native/cocos/base/memory/AllocatedObj.cpp index bb4e3c1c6d..0b88a23ce7 100755 --- a/native/cocos/base/memory/AllocatedObj.cpp +++ b/native/cocos/base/memory/AllocatedObj.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "MemDef.h" #include "AllocatedObj.h" diff --git a/native/cocos/base/memory/AllocatedObj.h b/native/cocos/base/memory/AllocatedObj.h index c2b02aa547..2b1b3eec8b 100755 --- a/native/cocos/base/memory/AllocatedObj.h +++ b/native/cocos/base/memory/AllocatedObj.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_ALLOCATED_OBJ_H_ #define CC_CORE_ALLOCATED_OBJ_H_ diff --git a/native/cocos/base/memory/JeAlloc.cpp b/native/cocos/base/memory/JeAlloc.cpp index f8c956e258..aaaf84a986 100755 --- a/native/cocos/base/memory/JeAlloc.cpp +++ b/native/cocos/base/memory/JeAlloc.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "JeAlloc.h" #include "MemTracker.h" diff --git a/native/cocos/base/memory/JeAlloc.h b/native/cocos/base/memory/JeAlloc.h index 4b87502435..353b445e98 100755 --- a/native/cocos/base/memory/JeAlloc.h +++ b/native/cocos/base/memory/JeAlloc.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_JE_ALLOC_H_ #define CC_JE_ALLOC_H_ diff --git a/native/cocos/base/memory/MemDef.h b/native/cocos/base/memory/MemDef.h index 6d32458b6e..d0b03567be 100755 --- a/native/cocos/base/memory/MemDef.h +++ b/native/cocos/base/memory/MemDef.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_MEM_DEF_H_ #define CC_MEM_DEF_H_ diff --git a/native/cocos/base/memory/MemTracker.cpp b/native/cocos/base/memory/MemTracker.cpp index b04d3099cf..cab4a8533e 100755 --- a/native/cocos/base/memory/MemTracker.cpp +++ b/native/cocos/base/memory/MemTracker.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "MemTracker.h" #include "../StringUtil.h" diff --git a/native/cocos/base/memory/MemTracker.h b/native/cocos/base/memory/MemTracker.h index aca94a0fdf..1d10d13d9c 100755 --- a/native/cocos/base/memory/MemTracker.h +++ b/native/cocos/base/memory/MemTracker.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_MEM_TRACKER_H_ #define CC_CORE_MEM_TRACKER_H_ diff --git a/native/cocos/base/memory/Memory.cpp b/native/cocos/base/memory/Memory.cpp index eba13d4173..0af3eed54c 100755 --- a/native/cocos/base/memory/Memory.cpp +++ b/native/cocos/base/memory/Memory.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "Memory.h" diff --git a/native/cocos/base/memory/Memory.h b/native/cocos/base/memory/Memory.h index b0f7b0fd86..e5807e785e 100755 --- a/native/cocos/base/memory/Memory.h +++ b/native/cocos/base/memory/Memory.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "AllocatedObj.h" diff --git a/native/cocos/base/memory/NedPooling.cpp b/native/cocos/base/memory/NedPooling.cpp index 73e0953526..6784c8b3c5 100755 --- a/native/cocos/base/memory/NedPooling.cpp +++ b/native/cocos/base/memory/NedPooling.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "NedPooling.h" #include "MemTracker.h" diff --git a/native/cocos/base/memory/NedPooling.h b/native/cocos/base/memory/NedPooling.h index 0693b6e9a7..2acb4f3a11 100755 --- a/native/cocos/base/memory/NedPooling.h +++ b/native/cocos/base/memory/NedPooling.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_NED_POOLING_H_ #define CC_CORE_NED_POOLING_H_ diff --git a/native/cocos/base/memory/StdAlloc.h b/native/cocos/base/memory/StdAlloc.h index 7e342a0a22..184582779e 100755 --- a/native/cocos/base/memory/StdAlloc.h +++ b/native/cocos/base/memory/StdAlloc.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_STD_ALLOC_H_ #define CC_CORE_STD_ALLOC_H_ diff --git a/native/cocos/base/memory/StlAlloc.h b/native/cocos/base/memory/StlAlloc.h index e8223e1050..8553c85bd7 100755 --- a/native/cocos/base/memory/StlAlloc.h +++ b/native/cocos/base/memory/StlAlloc.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_STL_ALLOC_H_ #define CC_CORE_STL_ALLOC_H_ diff --git a/native/cocos/base/threading/ConditionVariable.cpp b/native/cocos/base/threading/ConditionVariable.cpp index 2daf4d3bc8..348214deee 100644 --- a/native/cocos/base/threading/ConditionVariable.cpp +++ b/native/cocos/base/threading/ConditionVariable.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "ConditionVariable.h" namespace cc { diff --git a/native/cocos/base/threading/ConditionVariable.h b/native/cocos/base/threading/ConditionVariable.h index 6a56074415..3e18a686a0 100644 --- a/native/cocos/base/threading/ConditionVariable.h +++ b/native/cocos/base/threading/ConditionVariable.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/threading/Event.h b/native/cocos/base/threading/Event.h index 210792201d..a73bd46bc1 100644 --- a/native/cocos/base/threading/Event.h +++ b/native/cocos/base/threading/Event.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "ConditionVariable.h" diff --git a/native/cocos/base/threading/MessageQueue.cpp b/native/cocos/base/threading/MessageQueue.cpp index f5bfc7780c..f038f0042d 100644 --- a/native/cocos/base/threading/MessageQueue.cpp +++ b/native/cocos/base/threading/MessageQueue.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "MessageQueue.h" #include diff --git a/native/cocos/base/threading/MessageQueue.h b/native/cocos/base/threading/MessageQueue.h index 67804a9e4c..215db63949 100644 --- a/native/cocos/base/threading/MessageQueue.h +++ b/native/cocos/base/threading/MessageQueue.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "Event.h" diff --git a/native/cocos/base/threading/Semaphore.cpp b/native/cocos/base/threading/Semaphore.cpp index 69e236c71a..f7913258af 100644 --- a/native/cocos/base/threading/Semaphore.cpp +++ b/native/cocos/base/threading/Semaphore.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "Semaphore.h" namespace cc { diff --git a/native/cocos/base/threading/Semaphore.h b/native/cocos/base/threading/Semaphore.h index de2f7a5b7a..bda34cf5c8 100644 --- a/native/cocos/base/threading/Semaphore.h +++ b/native/cocos/base/threading/Semaphore.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/threading/ThreadPool.cpp b/native/cocos/base/threading/ThreadPool.cpp index 35e87e578a..ff90e79ca0 100644 --- a/native/cocos/base/threading/ThreadPool.cpp +++ b/native/cocos/base/threading/ThreadPool.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "ThreadPool.h" namespace cc { diff --git a/native/cocos/base/threading/ThreadPool.h b/native/cocos/base/threading/ThreadPool.h index dbe31da875..b0f299c97a 100644 --- a/native/cocos/base/threading/ThreadPool.h +++ b/native/cocos/base/threading/ThreadPool.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/threading/ThreadSafeCounter.h b/native/cocos/base/threading/ThreadSafeCounter.h index b2e7efd770..dcd464dc5a 100644 --- a/native/cocos/base/threading/ThreadSafeCounter.h +++ b/native/cocos/base/threading/ThreadSafeCounter.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp index 4e871390a1..8bb47c5cba 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "ThreadSafeLinearAllocator.h" #include "acl/core/memory_utils.h" diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.h b/native/cocos/base/threading/ThreadSafeLinearAllocator.h index 62208bef4c..8bb10bada0 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.h +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/base/uthash.h b/native/cocos/base/uthash.h index cebdf3e72f..743d4e021b 100644 --- a/native/cocos/base/uthash.h +++ b/native/cocos/base/uthash.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + /* Copyright (c) 2003-2013, Troy D. Hanson http://troydhanson.github.com/uthash/ All rights reserved. diff --git a/native/cocos/bindings/auto/jsb_audio_auto.cpp b/native/cocos/bindings/auto/jsb_audio_auto.cpp index 0b0f5e6764..907785851f 100644 --- a/native/cocos/bindings/auto/jsb_audio_auto.cpp +++ b/native/cocos/bindings/auto/jsb_audio_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_audio_auto.h" #if (USE_AUDIO > 0) #include "cocos/bindings/manual/jsb_conversions.h" diff --git a/native/cocos/bindings/auto/jsb_audio_auto.h b/native/cocos/bindings/auto/jsb_audio_auto.h index bca7e300f4..e7d668143d 100644 --- a/native/cocos/bindings/auto/jsb_audio_auto.h +++ b/native/cocos/bindings/auto/jsb_audio_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #if (USE_AUDIO > 0) diff --git a/native/cocos/bindings/auto/jsb_cocos_auto.cpp b/native/cocos/bindings/auto/jsb_cocos_auto.cpp index c1115b45ee..688c360350 100644 --- a/native/cocos/bindings/auto/jsb_cocos_auto.cpp +++ b/native/cocos/bindings/auto/jsb_cocos_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_cocos_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_cocos_auto.h b/native/cocos/bindings/auto/jsb_cocos_auto.h index d0b1b443c8..e486f2e097 100644 --- a/native/cocos/bindings/auto/jsb_cocos_auto.h +++ b/native/cocos/bindings/auto/jsb_cocos_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp b/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp index 2b8312d0e5..2bccc3210c 100644 --- a/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp +++ b/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_dragonbones_auto.h" #if USE_DRAGONBONES > 0 #include "cocos/bindings/manual/jsb_conversions.h" diff --git a/native/cocos/bindings/auto/jsb_dragonbones_auto.h b/native/cocos/bindings/auto/jsb_dragonbones_auto.h index 1e03c56c6d..d07fe715c8 100644 --- a/native/cocos/bindings/auto/jsb_dragonbones_auto.h +++ b/native/cocos/bindings/auto/jsb_dragonbones_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #if USE_DRAGONBONES > 0 diff --git a/native/cocos/bindings/auto/jsb_editor_support_auto.cpp b/native/cocos/bindings/auto/jsb_editor_support_auto.cpp index 4e7ec132e2..4cd0823ed7 100644 --- a/native/cocos/bindings/auto/jsb_editor_support_auto.cpp +++ b/native/cocos/bindings/auto/jsb_editor_support_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_editor_support_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_editor_support_auto.h b/native/cocos/bindings/auto/jsb_editor_support_auto.h index 8519067673..faa15afd09 100644 --- a/native/cocos/bindings/auto/jsb_editor_support_auto.h +++ b/native/cocos/bindings/auto/jsb_editor_support_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_extension_auto.cpp b/native/cocos/bindings/auto/jsb_extension_auto.cpp index 2ea37171d8..bfe86b6258 100644 --- a/native/cocos/bindings/auto/jsb_extension_auto.cpp +++ b/native/cocos/bindings/auto/jsb_extension_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_extension_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_extension_auto.h b/native/cocos/bindings/auto/jsb_extension_auto.h index dcfd3d411f..ab01628320 100644 --- a/native/cocos/bindings/auto/jsb_extension_auto.h +++ b/native/cocos/bindings/auto/jsb_extension_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 9d67ee9169..716d36ecbb 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_gfx_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index a7b415d1ad..c4de891a1b 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.cpp b/native/cocos/bindings/auto/jsb_gles2_auto.cpp index eeda7bb766..17eee1cb1b 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles2_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_gles2_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.h b/native/cocos/bindings/auto/jsb_gles2_auto.h index bac7fe35d2..592905844f 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.h +++ b/native/cocos/bindings/auto/jsb_gles2_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.cpp b/native/cocos/bindings/auto/jsb_gles3_auto.cpp index 10f24f055c..1e87257872 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles3_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_gles3_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.h b/native/cocos/bindings/auto/jsb_gles3_auto.h index 9246183412..edba2a5a9c 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.h +++ b/native/cocos/bindings/auto/jsb_gles3_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp index 633eed98de..987fa41981 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ b/native/cocos/bindings/auto/jsb_mtl_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_mtl_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index df30f58288..3691287376 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_network_auto.cpp b/native/cocos/bindings/auto/jsb_network_auto.cpp index 5c99f9faae..c2b4684776 100644 --- a/native/cocos/bindings/auto/jsb_network_auto.cpp +++ b/native/cocos/bindings/auto/jsb_network_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_network_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_network_auto.h b/native/cocos/bindings/auto/jsb_network_auto.h index ebca293de1..003704fbfb 100644 --- a/native/cocos/bindings/auto/jsb_network_auto.h +++ b/native/cocos/bindings/auto/jsb_network_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp index beccbd8dbd..84a0a34572 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_pipeline_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.h b/native/cocos/bindings/auto/jsb_pipeline_auto.h index 9404b1884b..76e5e46dcb 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.h +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_spine_auto.cpp b/native/cocos/bindings/auto/jsb_spine_auto.cpp index 80c1f01736..758327c9c7 100644 --- a/native/cocos/bindings/auto/jsb_spine_auto.cpp +++ b/native/cocos/bindings/auto/jsb_spine_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_spine_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_spine_auto.h b/native/cocos/bindings/auto/jsb_spine_auto.h index 43191dea27..7fcabe7323 100644 --- a/native/cocos/bindings/auto/jsb_spine_auto.h +++ b/native/cocos/bindings/auto/jsb_spine_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_video_auto.cpp b/native/cocos/bindings/auto/jsb_video_auto.cpp index 73f9ec939a..a4ee432322 100644 --- a/native/cocos/bindings/auto/jsb_video_auto.cpp +++ b/native/cocos/bindings/auto/jsb_video_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_video_auto.h" #if (USE_VIDEO > 0) #include "cocos/bindings/manual/jsb_conversions.h" diff --git a/native/cocos/bindings/auto/jsb_video_auto.h b/native/cocos/bindings/auto/jsb_video_auto.h index 7409e55cb1..1c71fa9b44 100644 --- a/native/cocos/bindings/auto/jsb_video_auto.h +++ b/native/cocos/bindings/auto/jsb_video_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #if (USE_VIDEO > 0) diff --git a/native/cocos/bindings/auto/jsb_vk_auto.cpp b/native/cocos/bindings/auto/jsb_vk_auto.cpp index 6c6f0b807f..2eb3583820 100644 --- a/native/cocos/bindings/auto/jsb_vk_auto.cpp +++ b/native/cocos/bindings/auto/jsb_vk_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_vk_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/auto/jsb_vk_auto.h b/native/cocos/bindings/auto/jsb_vk_auto.h index d78177462a..c7f32df2c6 100644 --- a/native/cocos/bindings/auto/jsb_vk_auto.h +++ b/native/cocos/bindings/auto/jsb_vk_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/auto/jsb_webview_auto.cpp b/native/cocos/bindings/auto/jsb_webview_auto.cpp index 2e1eca1ece..69c59b6039 100644 --- a/native/cocos/bindings/auto/jsb_webview_auto.cpp +++ b/native/cocos/bindings/auto/jsb_webview_auto.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_webview_auto.h" #if (USE_WEBVIEW > 0) && (CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_MAC_IOS) #include "cocos/bindings/manual/jsb_conversions.h" diff --git a/native/cocos/bindings/auto/jsb_webview_auto.h b/native/cocos/bindings/auto/jsb_webview_auto.h index 70d1eff7ce..580809f78d 100644 --- a/native/cocos/bindings/auto/jsb_webview_auto.h +++ b/native/cocos/bindings/auto/jsb_webview_auto.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #if (USE_WEBVIEW > 0) && (CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_MAC_IOS) diff --git a/native/cocos/bindings/dop/BufferAllocator.cpp b/native/cocos/bindings/dop/BufferAllocator.cpp index 1084833bb9..9b827d8371 100644 --- a/native/cocos/bindings/dop/BufferAllocator.cpp +++ b/native/cocos/bindings/dop/BufferAllocator.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "BufferAllocator.h" #include "base/Log.h" #include "base/memory/Memory.h" diff --git a/native/cocos/bindings/dop/BufferAllocator.h b/native/cocos/bindings/dop/BufferAllocator.h index d0b9e8584f..2710d9f0da 100644 --- a/native/cocos/bindings/dop/BufferAllocator.h +++ b/native/cocos/bindings/dop/BufferAllocator.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "PoolType.h" diff --git a/native/cocos/bindings/dop/BufferPool.cpp b/native/cocos/bindings/dop/BufferPool.cpp index 79e10248ae..3e9b4ee553 100644 --- a/native/cocos/bindings/dop/BufferPool.cpp +++ b/native/cocos/bindings/dop/BufferPool.cpp @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos.com + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "BufferPool.h" diff --git a/native/cocos/bindings/dop/BufferPool.h b/native/cocos/bindings/dop/BufferPool.h index ee6e60e093..275f1e731f 100644 --- a/native/cocos/bindings/dop/BufferPool.h +++ b/native/cocos/bindings/dop/BufferPool.h @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos.com + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/dop/ObjectPool.cpp b/native/cocos/bindings/dop/ObjectPool.cpp index cf1ee23652..27a751a786 100644 --- a/native/cocos/bindings/dop/ObjectPool.cpp +++ b/native/cocos/bindings/dop/ObjectPool.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos.com + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "ObjectPool.h" #include "base/memory/Memory.h" diff --git a/native/cocos/bindings/dop/ObjectPool.h b/native/cocos/bindings/dop/ObjectPool.h index 6a850a75bf..f485c6594c 100644 --- a/native/cocos/bindings/dop/ObjectPool.h +++ b/native/cocos/bindings/dop/ObjectPool.h @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos.com + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/dop/PoolType.h b/native/cocos/bindings/dop/PoolType.h index c18930af7e..97d7458a2a 100644 --- a/native/cocos/bindings/dop/PoolType.h +++ b/native/cocos/bindings/dop/PoolType.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once namespace se { diff --git a/native/cocos/bindings/dop/jsb_dop.cpp b/native/cocos/bindings/dop/jsb_dop.cpp index 0dbea4caed..6fd9137741 100644 --- a/native/cocos/bindings/dop/jsb_dop.cpp +++ b/native/cocos/bindings/dop/jsb_dop.cpp @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "jsb_dop.h" diff --git a/native/cocos/bindings/dop/jsb_dop.h b/native/cocos/bindings/dop/jsb_dop.h index d13a2b3fdb..ded87e44c2 100644 --- a/native/cocos/bindings/dop/jsb_dop.h +++ b/native/cocos/bindings/dop/jsb_dop.h @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/event/CustomEventTypes.h b/native/cocos/bindings/event/CustomEventTypes.h index 865b44d59a..f832679050 100644 --- a/native/cocos/bindings/event/CustomEventTypes.h +++ b/native/cocos/bindings/event/CustomEventTypes.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/event/EventDispatcher.cpp b/native/cocos/bindings/event/EventDispatcher.cpp index 90ecbc625e..1ad46c60bc 100644 --- a/native/cocos/bindings/event/EventDispatcher.cpp +++ b/native/cocos/bindings/event/EventDispatcher.cpp @@ -1,17 +1,18 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "EventDispatcher.h" #include "cocos/bindings/event/CustomEventTypes.h" diff --git a/native/cocos/bindings/event/EventDispatcher.h b/native/cocos/bindings/event/EventDispatcher.h index 44f126d918..c62f016591 100644 --- a/native/cocos/bindings/event/EventDispatcher.h +++ b/native/cocos/bindings/event/EventDispatcher.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/bindings/jswrapper/HandleObject.cpp b/native/cocos/bindings/jswrapper/HandleObject.cpp index 09ac50740d..b4a3f80bc7 100644 --- a/native/cocos/bindings/jswrapper/HandleObject.cpp +++ b/native/cocos/bindings/jswrapper/HandleObject.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "HandleObject.h" #include "Object.h" diff --git a/native/cocos/bindings/jswrapper/HandleObject.h b/native/cocos/bindings/jswrapper/HandleObject.h index 92db2cbb87..1510a56b2b 100644 --- a/native/cocos/bindings/jswrapper/HandleObject.h +++ b/native/cocos/bindings/jswrapper/HandleObject.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/bindings/jswrapper/MappingUtils.cpp b/native/cocos/bindings/jswrapper/MappingUtils.cpp index b59766d1b6..8247b5989c 100644 --- a/native/cocos/bindings/jswrapper/MappingUtils.cpp +++ b/native/cocos/bindings/jswrapper/MappingUtils.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "MappingUtils.h" namespace se { diff --git a/native/cocos/bindings/jswrapper/MappingUtils.h b/native/cocos/bindings/jswrapper/MappingUtils.h index b6d79691e9..90b70f9d38 100644 --- a/native/cocos/bindings/jswrapper/MappingUtils.h +++ b/native/cocos/bindings/jswrapper/MappingUtils.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/bindings/jswrapper/Object.h b/native/cocos/bindings/jswrapper/Object.h index 8e277feb52..48e2e463c4 100644 --- a/native/cocos/bindings/jswrapper/Object.h +++ b/native/cocos/bindings/jswrapper/Object.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "config.h" diff --git a/native/cocos/bindings/jswrapper/RefCounter.cpp b/native/cocos/bindings/jswrapper/RefCounter.cpp index be62266a07..e1d1840dc0 100644 --- a/native/cocos/bindings/jswrapper/RefCounter.cpp +++ b/native/cocos/bindings/jswrapper/RefCounter.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "RefCounter.h" namespace se { diff --git a/native/cocos/bindings/jswrapper/RefCounter.h b/native/cocos/bindings/jswrapper/RefCounter.h index 592595f2eb..5fe3bc249a 100644 --- a/native/cocos/bindings/jswrapper/RefCounter.h +++ b/native/cocos/bindings/jswrapper/RefCounter.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once namespace se { diff --git a/native/cocos/bindings/jswrapper/SeApi.h b/native/cocos/bindings/jswrapper/SeApi.h index ea860209f8..fb9263d8ee 100644 --- a/native/cocos/bindings/jswrapper/SeApi.h +++ b/native/cocos/bindings/jswrapper/SeApi.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "config.h" diff --git a/native/cocos/bindings/jswrapper/State.cpp b/native/cocos/bindings/jswrapper/State.cpp index ce3bf9e30d..497ac03b3f 100644 --- a/native/cocos/bindings/jswrapper/State.cpp +++ b/native/cocos/bindings/jswrapper/State.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "State.h" #include "Object.h" diff --git a/native/cocos/bindings/jswrapper/State.h b/native/cocos/bindings/jswrapper/State.h index 5e37609488..b98b69ca1b 100644 --- a/native/cocos/bindings/jswrapper/State.h +++ b/native/cocos/bindings/jswrapper/State.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "Value.h" diff --git a/native/cocos/bindings/jswrapper/Value.cpp b/native/cocos/bindings/jswrapper/Value.cpp index 1551f7a240..1fffb9af9f 100644 --- a/native/cocos/bindings/jswrapper/Value.cpp +++ b/native/cocos/bindings/jswrapper/Value.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Value.h" #include "Object.h" diff --git a/native/cocos/bindings/jswrapper/Value.h b/native/cocos/bindings/jswrapper/Value.h index 1cb359d41f..4f82d2b373 100644 --- a/native/cocos/bindings/jswrapper/Value.h +++ b/native/cocos/bindings/jswrapper/Value.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/bindings/jswrapper/chakracore/Base.h b/native/cocos/bindings/jswrapper/chakracore/Base.h index 27602c8b01..4b989c356d 100644 --- a/native/cocos/bindings/jswrapper/chakracore/Base.h +++ b/native/cocos/bindings/jswrapper/chakracore/Base.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "ChakraCore.h" diff --git a/native/cocos/bindings/jswrapper/chakracore/Class.cpp b/native/cocos/bindings/jswrapper/chakracore/Class.cpp index 6d44ee2b09..7a2a4a8a96 100644 --- a/native/cocos/bindings/jswrapper/chakracore/Class.cpp +++ b/native/cocos/bindings/jswrapper/chakracore/Class.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Class.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_CHAKRACORE diff --git a/native/cocos/bindings/jswrapper/chakracore/Class.h b/native/cocos/bindings/jswrapper/chakracore/Class.h index c4f792a07a..9eca101a9f 100644 --- a/native/cocos/bindings/jswrapper/chakracore/Class.h +++ b/native/cocos/bindings/jswrapper/chakracore/Class.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/chakracore/HelperMacros.h b/native/cocos/bindings/jswrapper/chakracore/HelperMacros.h index 9bf380cc12..53ad884838 100644 --- a/native/cocos/bindings/jswrapper/chakracore/HelperMacros.h +++ b/native/cocos/bindings/jswrapper/chakracore/HelperMacros.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/chakracore/Object.cpp b/native/cocos/bindings/jswrapper/chakracore/Object.cpp index 2f097df610..0156abd058 100644 --- a/native/cocos/bindings/jswrapper/chakracore/Object.cpp +++ b/native/cocos/bindings/jswrapper/chakracore/Object.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Object.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_CHAKRACORE diff --git a/native/cocos/bindings/jswrapper/chakracore/Object.h b/native/cocos/bindings/jswrapper/chakracore/Object.h index 16cf1cfdc4..efe8f91c07 100644 --- a/native/cocos/bindings/jswrapper/chakracore/Object.h +++ b/native/cocos/bindings/jswrapper/chakracore/Object.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/chakracore/ScriptEngine.cpp b/native/cocos/bindings/jswrapper/chakracore/ScriptEngine.cpp index 9586f1b399..4b93fc14bf 100644 --- a/native/cocos/bindings/jswrapper/chakracore/ScriptEngine.cpp +++ b/native/cocos/bindings/jswrapper/chakracore/ScriptEngine.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "ScriptEngine.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_CHAKRACORE diff --git a/native/cocos/bindings/jswrapper/chakracore/ScriptEngine.h b/native/cocos/bindings/jswrapper/chakracore/ScriptEngine.h index 8402169940..9d761e133c 100644 --- a/native/cocos/bindings/jswrapper/chakracore/ScriptEngine.h +++ b/native/cocos/bindings/jswrapper/chakracore/ScriptEngine.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/chakracore/SeApi.h b/native/cocos/bindings/jswrapper/chakracore/SeApi.h index 7c6c89b2e9..b812e1c781 100644 --- a/native/cocos/bindings/jswrapper/chakracore/SeApi.h +++ b/native/cocos/bindings/jswrapper/chakracore/SeApi.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "ScriptEngine.h" diff --git a/native/cocos/bindings/jswrapper/chakracore/Utils.cpp b/native/cocos/bindings/jswrapper/chakracore/Utils.cpp index e11783b8db..69479cc309 100644 --- a/native/cocos/bindings/jswrapper/chakracore/Utils.cpp +++ b/native/cocos/bindings/jswrapper/chakracore/Utils.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Utils.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_CHAKRACORE diff --git a/native/cocos/bindings/jswrapper/chakracore/Utils.h b/native/cocos/bindings/jswrapper/chakracore/Utils.h index 883e1bd52e..c26e27b26b 100644 --- a/native/cocos/bindings/jswrapper/chakracore/Utils.h +++ b/native/cocos/bindings/jswrapper/chakracore/Utils.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/config.cpp b/native/cocos/bindings/jswrapper/config.cpp index 9d422fd99a..07b6c4eaca 100644 --- a/native/cocos/bindings/jswrapper/config.cpp +++ b/native/cocos/bindings/jswrapper/config.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "config.h" #include diff --git a/native/cocos/bindings/jswrapper/config.h b/native/cocos/bindings/jswrapper/config.h index 2fcafa08af..b4612db88c 100644 --- a/native/cocos/bindings/jswrapper/config.h +++ b/native/cocos/bindings/jswrapper/config.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #define SCRIPT_ENGINE_NONE 0 diff --git a/native/cocos/bindings/jswrapper/jsc/Base.h b/native/cocos/bindings/jswrapper/jsc/Base.h index ccbffcf56d..05ff0e72be 100644 --- a/native/cocos/bindings/jswrapper/jsc/Base.h +++ b/native/cocos/bindings/jswrapper/jsc/Base.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/bindings/jswrapper/jsc/Class.cpp b/native/cocos/bindings/jswrapper/jsc/Class.cpp index bcfa681046..5a1af73f5d 100644 --- a/native/cocos/bindings/jswrapper/jsc/Class.cpp +++ b/native/cocos/bindings/jswrapper/jsc/Class.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Class.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_JSC diff --git a/native/cocos/bindings/jswrapper/jsc/Class.h b/native/cocos/bindings/jswrapper/jsc/Class.h index 3a30057046..78323c1086 100644 --- a/native/cocos/bindings/jswrapper/jsc/Class.h +++ b/native/cocos/bindings/jswrapper/jsc/Class.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/jsc/EJConvert.h b/native/cocos/bindings/jswrapper/jsc/EJConvert.h index 13e4acc9ca..22a6b2aac3 100644 --- a/native/cocos/bindings/jswrapper/jsc/EJConvert.h +++ b/native/cocos/bindings/jswrapper/jsc/EJConvert.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #import #import diff --git a/native/cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h b/native/cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h index 78b099aa20..07c5383766 100644 --- a/native/cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h +++ b/native/cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #import #import diff --git a/native/cocos/bindings/jswrapper/jsc/HelperMacros.h b/native/cocos/bindings/jswrapper/jsc/HelperMacros.h index 9cd98127ee..979c3deff6 100644 --- a/native/cocos/bindings/jswrapper/jsc/HelperMacros.h +++ b/native/cocos/bindings/jswrapper/jsc/HelperMacros.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/jsc/Object.h b/native/cocos/bindings/jswrapper/jsc/Object.h index e463e7c190..31e6a8533d 100644 --- a/native/cocos/bindings/jswrapper/jsc/Object.h +++ b/native/cocos/bindings/jswrapper/jsc/Object.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/jsc/Object.mm b/native/cocos/bindings/jswrapper/jsc/Object.mm index 876b3eb378..8998a7bc81 100644 --- a/native/cocos/bindings/jswrapper/jsc/Object.mm +++ b/native/cocos/bindings/jswrapper/jsc/Object.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Object.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_JSC diff --git a/native/cocos/bindings/jswrapper/jsc/PlatformUtils.h b/native/cocos/bindings/jswrapper/jsc/PlatformUtils.h index cca5df950a..3a9c2387e7 100644 --- a/native/cocos/bindings/jswrapper/jsc/PlatformUtils.h +++ b/native/cocos/bindings/jswrapper/jsc/PlatformUtils.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once namespace se { diff --git a/native/cocos/bindings/jswrapper/jsc/PlatformUtils.mm b/native/cocos/bindings/jswrapper/jsc/PlatformUtils.mm index 8467d8180a..f02132829e 100644 --- a/native/cocos/bindings/jswrapper/jsc/PlatformUtils.mm +++ b/native/cocos/bindings/jswrapper/jsc/PlatformUtils.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "PlatformUtils.h" #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/jsc/ScriptEngine.h b/native/cocos/bindings/jswrapper/jsc/ScriptEngine.h index 9990acc8ad..3dc755834d 100644 --- a/native/cocos/bindings/jswrapper/jsc/ScriptEngine.h +++ b/native/cocos/bindings/jswrapper/jsc/ScriptEngine.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/jsc/ScriptEngine.mm b/native/cocos/bindings/jswrapper/jsc/ScriptEngine.mm index 893ae397e9..72be0eb75f 100644 --- a/native/cocos/bindings/jswrapper/jsc/ScriptEngine.mm +++ b/native/cocos/bindings/jswrapper/jsc/ScriptEngine.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "ScriptEngine.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_JSC diff --git a/native/cocos/bindings/jswrapper/jsc/SeApi.h b/native/cocos/bindings/jswrapper/jsc/SeApi.h index abe85d1d90..77a80f751e 100644 --- a/native/cocos/bindings/jswrapper/jsc/SeApi.h +++ b/native/cocos/bindings/jswrapper/jsc/SeApi.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "ScriptEngine.h" diff --git a/native/cocos/bindings/jswrapper/jsc/Utils.cpp b/native/cocos/bindings/jswrapper/jsc/Utils.cpp index eb047d9ff7..a23e712e69 100644 --- a/native/cocos/bindings/jswrapper/jsc/Utils.cpp +++ b/native/cocos/bindings/jswrapper/jsc/Utils.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Utils.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_JSC diff --git a/native/cocos/bindings/jswrapper/jsc/Utils.h b/native/cocos/bindings/jswrapper/jsc/Utils.h index 96f2c03f9c..b1160e6ccf 100644 --- a/native/cocos/bindings/jswrapper/jsc/Utils.h +++ b/native/cocos/bindings/jswrapper/jsc/Utils.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/sm/Base.h b/native/cocos/bindings/jswrapper/sm/Base.h index 3e875841b2..8c5ba834c3 100644 --- a/native/cocos/bindings/jswrapper/sm/Base.h +++ b/native/cocos/bindings/jswrapper/sm/Base.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #ifndef UINT64_C diff --git a/native/cocos/bindings/jswrapper/sm/Class.cpp b/native/cocos/bindings/jswrapper/sm/Class.cpp index c2e3d31f53..c33a9573de 100644 --- a/native/cocos/bindings/jswrapper/sm/Class.cpp +++ b/native/cocos/bindings/jswrapper/sm/Class.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Class.h" #include "Object.h" #include "Utils.h" diff --git a/native/cocos/bindings/jswrapper/sm/Class.h b/native/cocos/bindings/jswrapper/sm/Class.h index 29fbe2117f..c4dad43d9d 100644 --- a/native/cocos/bindings/jswrapper/sm/Class.h +++ b/native/cocos/bindings/jswrapper/sm/Class.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/sm/HelperMacros.h b/native/cocos/bindings/jswrapper/sm/HelperMacros.h index e754f4df48..bc345a961b 100644 --- a/native/cocos/bindings/jswrapper/sm/HelperMacros.h +++ b/native/cocos/bindings/jswrapper/sm/HelperMacros.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/sm/Object.cpp b/native/cocos/bindings/jswrapper/sm/Object.cpp index 03b0ec2eea..20c57e8031 100644 --- a/native/cocos/bindings/jswrapper/sm/Object.cpp +++ b/native/cocos/bindings/jswrapper/sm/Object.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Object.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_SM diff --git a/native/cocos/bindings/jswrapper/sm/Object.h b/native/cocos/bindings/jswrapper/sm/Object.h index 42865d36e6..7815c144eb 100644 --- a/native/cocos/bindings/jswrapper/sm/Object.h +++ b/native/cocos/bindings/jswrapper/sm/Object.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/sm/ScriptEngine.cpp b/native/cocos/bindings/jswrapper/sm/ScriptEngine.cpp index 9dccbd3fc1..9746cdd352 100644 --- a/native/cocos/bindings/jswrapper/sm/ScriptEngine.cpp +++ b/native/cocos/bindings/jswrapper/sm/ScriptEngine.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "ScriptEngine.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_SM diff --git a/native/cocos/bindings/jswrapper/sm/ScriptEngine.h b/native/cocos/bindings/jswrapper/sm/ScriptEngine.h index 3102fac67c..2830b1dc7c 100644 --- a/native/cocos/bindings/jswrapper/sm/ScriptEngine.h +++ b/native/cocos/bindings/jswrapper/sm/ScriptEngine.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/sm/SeApi.h b/native/cocos/bindings/jswrapper/sm/SeApi.h index abe85d1d90..77a80f751e 100644 --- a/native/cocos/bindings/jswrapper/sm/SeApi.h +++ b/native/cocos/bindings/jswrapper/sm/SeApi.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "ScriptEngine.h" diff --git a/native/cocos/bindings/jswrapper/sm/Utils.cpp b/native/cocos/bindings/jswrapper/sm/Utils.cpp index 3a2c15f702..1cf35ee4ed 100644 --- a/native/cocos/bindings/jswrapper/sm/Utils.cpp +++ b/native/cocos/bindings/jswrapper/sm/Utils.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Utils.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_SM diff --git a/native/cocos/bindings/jswrapper/sm/Utils.h b/native/cocos/bindings/jswrapper/sm/Utils.h index f4a096e69f..b9f1e484ad 100644 --- a/native/cocos/bindings/jswrapper/sm/Utils.h +++ b/native/cocos/bindings/jswrapper/sm/Utils.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/v8/Base.h b/native/cocos/bindings/jswrapper/v8/Base.h index cb749a7887..3ca1c92e5d 100644 --- a/native/cocos/bindings/jswrapper/v8/Base.h +++ b/native/cocos/bindings/jswrapper/v8/Base.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "libplatform/libplatform.h" diff --git a/native/cocos/bindings/jswrapper/v8/Class.cpp b/native/cocos/bindings/jswrapper/v8/Class.cpp index 23a68c1c43..e9f1ceaf84 100644 --- a/native/cocos/bindings/jswrapper/v8/Class.cpp +++ b/native/cocos/bindings/jswrapper/v8/Class.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Class.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_V8 diff --git a/native/cocos/bindings/jswrapper/v8/Class.h b/native/cocos/bindings/jswrapper/v8/Class.h index 85848b70d7..c703463781 100644 --- a/native/cocos/bindings/jswrapper/v8/Class.h +++ b/native/cocos/bindings/jswrapper/v8/Class.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/v8/HelperMacros.h b/native/cocos/bindings/jswrapper/v8/HelperMacros.h index 1aaf772d60..ad8437666a 100644 --- a/native/cocos/bindings/jswrapper/v8/HelperMacros.h +++ b/native/cocos/bindings/jswrapper/v8/HelperMacros.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/v8/Object.cpp b/native/cocos/bindings/jswrapper/v8/Object.cpp index 4c1c2f70c3..08f2199eb5 100644 --- a/native/cocos/bindings/jswrapper/v8/Object.cpp +++ b/native/cocos/bindings/jswrapper/v8/Object.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Object.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_V8 diff --git a/native/cocos/bindings/jswrapper/v8/Object.h b/native/cocos/bindings/jswrapper/v8/Object.h index 778967c2a3..d092459e07 100644 --- a/native/cocos/bindings/jswrapper/v8/Object.h +++ b/native/cocos/bindings/jswrapper/v8/Object.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/v8/ObjectWrap.cpp b/native/cocos/bindings/jswrapper/v8/ObjectWrap.cpp index 4ef773e87d..814e1f5f45 100644 --- a/native/cocos/bindings/jswrapper/v8/ObjectWrap.cpp +++ b/native/cocos/bindings/jswrapper/v8/ObjectWrap.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a diff --git a/native/cocos/bindings/jswrapper/v8/ObjectWrap.h b/native/cocos/bindings/jswrapper/v8/ObjectWrap.h index 0c0108e687..eb814a974c 100644 --- a/native/cocos/bindings/jswrapper/v8/ObjectWrap.h +++ b/native/cocos/bindings/jswrapper/v8/ObjectWrap.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a diff --git a/native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp b/native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp index 537fac23b9..41a52e48cb 100644 --- a/native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp +++ b/native/cocos/bindings/jswrapper/v8/ScriptEngine.cpp @@ -1,17 +1,18 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "ScriptEngine.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_V8 diff --git a/native/cocos/bindings/jswrapper/v8/ScriptEngine.h b/native/cocos/bindings/jswrapper/v8/ScriptEngine.h index 4b3eb8175f..e8c56e8898 100644 --- a/native/cocos/bindings/jswrapper/v8/ScriptEngine.h +++ b/native/cocos/bindings/jswrapper/v8/ScriptEngine.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/v8/SeApi.h b/native/cocos/bindings/jswrapper/v8/SeApi.h index 0579943688..8188bb150f 100644 --- a/native/cocos/bindings/jswrapper/v8/SeApi.h +++ b/native/cocos/bindings/jswrapper/v8/SeApi.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "ScriptEngine.h" diff --git a/native/cocos/bindings/jswrapper/v8/Utils.cpp b/native/cocos/bindings/jswrapper/v8/Utils.cpp index 4a42afb65d..a7983f9207 100644 --- a/native/cocos/bindings/jswrapper/v8/Utils.cpp +++ b/native/cocos/bindings/jswrapper/v8/Utils.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Utils.h" #if SCRIPT_ENGINE_TYPE == SCRIPT_ENGINE_V8 diff --git a/native/cocos/bindings/jswrapper/v8/Utils.h b/native/cocos/bindings/jswrapper/v8/Utils.h index 349b9de48e..77b3369506 100644 --- a/native/cocos/bindings/jswrapper/v8/Utils.h +++ b/native/cocos/bindings/jswrapper/v8/Utils.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "../config.h" diff --git a/native/cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h b/native/cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h index da0d74d20f..2b4fc46b2f 100644 --- a/native/cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h +++ b/native/cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h @@ -498,4 +498,4 @@ 242, 248, 77, 121, 248, 230, 156, 82, 83, 227, 141, 164, 94, 199, 24, 105, 123, 150, 187, 171, 178, 50, 220, 148, 119, 156, 191, 42, 80, 135, 98, 150, 221, 242, 242, 28, 49, 191, 25, 31, 195, 23, 236, 7, 228, 19, 170, 103, 12, 155, 178, 203, 126, 172, 27, 104, 241, 39, 76, 147, - 48, 21, 253, 253, 239, 39, 63, 253, 244, 255, 1, 17, 146, 119, 172 \ No newline at end of file + 48, 21, 253, 253, 239, 39, 63, 253, 244, 255, 1, 17, 146, 119, 172 diff --git a/native/cocos/bindings/manual/JavaScriptJavaBridge.cpp b/native/cocos/bindings/manual/JavaScriptJavaBridge.cpp index 9f31d156d9..c78a338a0f 100644 --- a/native/cocos/bindings/manual/JavaScriptJavaBridge.cpp +++ b/native/cocos/bindings/manual/JavaScriptJavaBridge.cpp @@ -1,25 +1,28 @@ -/* - * Copyright (c) 2013-2016 Chukong Technologies Inc. - * Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ +/**************************************************************************** + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ #include "cocos/bindings/manual/JavaScriptJavaBridge.h" #include "platform/android/jni/JniHelper.h" diff --git a/native/cocos/bindings/manual/JavaScriptJavaBridge.h b/native/cocos/bindings/manual/JavaScriptJavaBridge.h index 65c3a8ccdf..3cacc10466 100644 --- a/native/cocos/bindings/manual/JavaScriptJavaBridge.h +++ b/native/cocos/bindings/manual/JavaScriptJavaBridge.h @@ -1,25 +1,28 @@ -/* - * Copyright (c) 2013-2016 Chukong Technologies Inc. - * Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ +/**************************************************************************** + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ #pragma once @@ -27,4 +30,4 @@ namespace se { class Object; } -bool register_javascript_java_bridge(se::Object *obj); \ No newline at end of file +bool register_javascript_java_bridge(se::Object *obj); diff --git a/native/cocos/bindings/manual/JavaScriptObjCBridge.h b/native/cocos/bindings/manual/JavaScriptObjCBridge.h index 90cffeedd5..2edbf64be0 100644 --- a/native/cocos/bindings/manual/JavaScriptObjCBridge.h +++ b/native/cocos/bindings/manual/JavaScriptObjCBridge.h @@ -1,25 +1,28 @@ -/* - * Copyright (c) 2013-2016 Chukong Technologies Inc. - * Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - * THE SOFTWARE. - */ +/**************************************************************************** + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/JavaScriptObjCBridge.mm b/native/cocos/bindings/manual/JavaScriptObjCBridge.mm index 3edab3d3a2..32b0719cea 100644 --- a/native/cocos/bindings/manual/JavaScriptObjCBridge.mm +++ b/native/cocos/bindings/manual/JavaScriptObjCBridge.mm @@ -1,5 +1,6 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "JavaScriptObjCBridge.h" #include "cocos/bindings/manual/jsb_conversions.h" diff --git a/native/cocos/bindings/manual/jsb_classtype.cpp b/native/cocos/bindings/manual/jsb_classtype.cpp index 585d9d3428..3392accf41 100644 --- a/native/cocos/bindings/manual/jsb_classtype.cpp +++ b/native/cocos/bindings/manual/jsb_classtype.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "jsb_classtype.h" diff --git a/native/cocos/bindings/manual/jsb_classtype.h b/native/cocos/bindings/manual/jsb_classtype.h index 157dbb5fac..7f9a9527ad 100644 --- a/native/cocos/bindings/manual/jsb_classtype.h +++ b/native/cocos/bindings/manual/jsb_classtype.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_cocos_manual.cpp b/native/cocos/bindings/manual/jsb_cocos_manual.cpp index b53b7a1e25..04d9b29fc0 100644 --- a/native/cocos/bindings/manual/jsb_cocos_manual.cpp +++ b/native/cocos/bindings/manual/jsb_cocos_manual.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "jsb_cocos_manual.h" diff --git a/native/cocos/bindings/manual/jsb_cocos_manual.h b/native/cocos/bindings/manual/jsb_cocos_manual.h index 963a8d2cf4..5e414cf1c8 100644 --- a/native/cocos/bindings/manual/jsb_cocos_manual.h +++ b/native/cocos/bindings/manual/jsb_cocos_manual.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_conversions.cpp b/native/cocos/bindings/manual/jsb_conversions.cpp index 1bb567ad7c..13fe266dc9 100644 --- a/native/cocos/bindings/manual/jsb_conversions.cpp +++ b/native/cocos/bindings/manual/jsb_conversions.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "jsb_conversions.h" #include "base/TypeDef.h" diff --git a/native/cocos/bindings/manual/jsb_conversions.h b/native/cocos/bindings/manual/jsb_conversions.h index 4bc3edd784..6e2306f5ef 100644 --- a/native/cocos/bindings/manual/jsb_conversions.h +++ b/native/cocos/bindings/manual/jsb_conversions.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_dragonbones_manual.cpp b/native/cocos/bindings/manual/jsb_dragonbones_manual.cpp index 3d421e433b..2a599ef935 100644 --- a/native/cocos/bindings/manual/jsb_dragonbones_manual.cpp +++ b/native/cocos/bindings/manual/jsb_dragonbones_manual.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "jsb_dragonbones_manual.h" #include "base/Config.h" diff --git a/native/cocos/bindings/manual/jsb_dragonbones_manual.h b/native/cocos/bindings/manual/jsb_dragonbones_manual.h index 6b4ae2b768..d7c3384625 100644 --- a/native/cocos/bindings/manual/jsb_dragonbones_manual.h +++ b/native/cocos/bindings/manual/jsb_dragonbones_manual.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_extension_manual.cpp b/native/cocos/bindings/manual/jsb_extension_manual.cpp index 21ba6f98c9..a62b8504fd 100644 --- a/native/cocos/bindings/manual/jsb_extension_manual.cpp +++ b/native/cocos/bindings/manual/jsb_extension_manual.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "jsb_cocos2dx_extension_manual.h" #include "cocos/scripting/js-bindings/jswrapper/SeApi.h" diff --git a/native/cocos/bindings/manual/jsb_extension_manual.h b/native/cocos/bindings/manual/jsb_extension_manual.h index 04d0a7d046..a065f6fc17 100644 --- a/native/cocos/bindings/manual/jsb_extension_manual.h +++ b/native/cocos/bindings/manual/jsb_extension_manual.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_gfx_agent.cpp b/native/cocos/bindings/manual/jsb_gfx_agent.cpp index 6985d9cfbb..714067ec5e 100644 --- a/native/cocos/bindings/manual/jsb_gfx_agent.cpp +++ b/native/cocos/bindings/manual/jsb_gfx_agent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/manual/jsb_gfx_agent.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" diff --git a/native/cocos/bindings/manual/jsb_gfx_agent.h b/native/cocos/bindings/manual/jsb_gfx_agent.h index 1da6da14d1..6e4c54016f 100644 --- a/native/cocos/bindings/manual/jsb_gfx_agent.h +++ b/native/cocos/bindings/manual/jsb_gfx_agent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "base/Config.h" #include diff --git a/native/cocos/bindings/manual/jsb_gfx_manual.cpp b/native/cocos/bindings/manual/jsb_gfx_manual.cpp index 507d0e6e2f..ab19d142b0 100644 --- a/native/cocos/bindings/manual/jsb_gfx_manual.cpp +++ b/native/cocos/bindings/manual/jsb_gfx_manual.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "jsb_gfx_manual.h" #include "bindings/auto/jsb_gfx_auto.h" #include "bindings/jswrapper/SeApi.h" diff --git a/native/cocos/bindings/manual/jsb_gfx_manual.h b/native/cocos/bindings/manual/jsb_gfx_manual.h index 2ef13fe69f..bae3d9ab63 100644 --- a/native/cocos/bindings/manual/jsb_gfx_manual.h +++ b/native/cocos/bindings/manual/jsb_gfx_manual.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once namespace se { diff --git a/native/cocos/bindings/manual/jsb_global.cpp b/native/cocos/bindings/manual/jsb_global.cpp index 6c9e56748a..f043f5a9a7 100644 --- a/native/cocos/bindings/manual/jsb_global.cpp +++ b/native/cocos/bindings/manual/jsb_global.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "jsb_global.h" #include "jsb_conversions.h" #include "xxtea/xxtea.h" diff --git a/native/cocos/bindings/manual/jsb_global.h b/native/cocos/bindings/manual/jsb_global.h index 94b7c86a90..2be2730994 100644 --- a/native/cocos/bindings/manual/jsb_global.h +++ b/native/cocos/bindings/manual/jsb_global.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_helper.cpp b/native/cocos/bindings/manual/jsb_helper.cpp index da208034c9..1160a5f5de 100644 --- a/native/cocos/bindings/manual/jsb_helper.cpp +++ b/native/cocos/bindings/manual/jsb_helper.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "jsb_helper.h" diff --git a/native/cocos/bindings/manual/jsb_helper.h b/native/cocos/bindings/manual/jsb_helper.h index f7357d10f9..1e43edfb21 100644 --- a/native/cocos/bindings/manual/jsb_helper.h +++ b/native/cocos/bindings/manual/jsb_helper.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_module_register.cpp b/native/cocos/bindings/manual/jsb_module_register.cpp index dd04f83be4..5e67b8772b 100644 --- a/native/cocos/bindings/manual/jsb_module_register.cpp +++ b/native/cocos/bindings/manual/jsb_module_register.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_module_register.h" #include "cocos/bindings/auto/jsb_cocos_auto.h" diff --git a/native/cocos/bindings/manual/jsb_module_register.h b/native/cocos/bindings/manual/jsb_module_register.h index deea2af570..c0123167d5 100644 --- a/native/cocos/bindings/manual/jsb_module_register.h +++ b/native/cocos/bindings/manual/jsb_module_register.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_network_manual.cpp b/native/cocos/bindings/manual/jsb_network_manual.cpp index 34285417ef..4dbc37ea57 100644 --- a/native/cocos/bindings/manual/jsb_network_manual.cpp +++ b/native/cocos/bindings/manual/jsb_network_manual.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "base/Config.h" #include "jsb_network_manual.h" #include "bindings/manual/jsb_conversions.h" diff --git a/native/cocos/bindings/manual/jsb_network_manual.h b/native/cocos/bindings/manual/jsb_network_manual.h index 5c9ee04acb..7a23e2108e 100644 --- a/native/cocos/bindings/manual/jsb_network_manual.h +++ b/native/cocos/bindings/manual/jsb_network_manual.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_pipeline_manual.cpp b/native/cocos/bindings/manual/jsb_pipeline_manual.cpp index 42b9909f83..f296baf5c4 100644 --- a/native/cocos/bindings/manual/jsb_pipeline_manual.cpp +++ b/native/cocos/bindings/manual/jsb_pipeline_manual.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "cocos/bindings/auto/jsb_gfx_auto.h" #include "cocos/bindings/auto/jsb_pipeline_auto.h" #include "cocos/bindings/jswrapper/SeApi.h" diff --git a/native/cocos/bindings/manual/jsb_pipeline_manual.h b/native/cocos/bindings/manual/jsb_pipeline_manual.h index d122b7d5cb..9fdcedc89b 100644 --- a/native/cocos/bindings/manual/jsb_pipeline_manual.h +++ b/native/cocos/bindings/manual/jsb_pipeline_manual.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once namespace se { diff --git a/native/cocos/bindings/manual/jsb_platform.h b/native/cocos/bindings/manual/jsb_platform.h index f606e4c6b1..f1d293e01a 100644 --- a/native/cocos/bindings/manual/jsb_platform.h +++ b/native/cocos/bindings/manual/jsb_platform.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_platform_android.cpp b/native/cocos/bindings/manual/jsb_platform_android.cpp index d5284033ce..d45ec1d29f 100644 --- a/native/cocos/bindings/manual/jsb_platform_android.cpp +++ b/native/cocos/bindings/manual/jsb_platform_android.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "jsb_platform.h" #include "cocos/bindings/jswrapper/SeApi.h" diff --git a/native/cocos/bindings/manual/jsb_platfrom_apple.mm b/native/cocos/bindings/manual/jsb_platfrom_apple.mm index 88ea31212b..dc8dc7dcfc 100644 --- a/native/cocos/bindings/manual/jsb_platfrom_apple.mm +++ b/native/cocos/bindings/manual/jsb_platfrom_apple.mm @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #import "jsb_platform.h" diff --git a/native/cocos/bindings/manual/jsb_platfrom_win32.cpp b/native/cocos/bindings/manual/jsb_platfrom_win32.cpp index 23b8c41be8..cbe22b7a3c 100644 --- a/native/cocos/bindings/manual/jsb_platfrom_win32.cpp +++ b/native/cocos/bindings/manual/jsb_platfrom_win32.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "jsb_platform.h" diff --git a/native/cocos/bindings/manual/jsb_socketio.cpp b/native/cocos/bindings/manual/jsb_socketio.cpp index 9e9b3b5e98..960cd911b0 100644 --- a/native/cocos/bindings/manual/jsb_socketio.cpp +++ b/native/cocos/bindings/manual/jsb_socketio.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "jsb_socketio.h" diff --git a/native/cocos/bindings/manual/jsb_socketio.h b/native/cocos/bindings/manual/jsb_socketio.h index 33e79013e8..cbf1808c83 100644 --- a/native/cocos/bindings/manual/jsb_socketio.h +++ b/native/cocos/bindings/manual/jsb_socketio.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_spine_manual.cpp b/native/cocos/bindings/manual/jsb_spine_manual.cpp index 43f4f5dc9b..0a06f5b3c3 100644 --- a/native/cocos/bindings/manual/jsb_spine_manual.cpp +++ b/native/cocos/bindings/manual/jsb_spine_manual.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "jsb_spine_manual.h" #include "base/Config.h" diff --git a/native/cocos/bindings/manual/jsb_spine_manual.h b/native/cocos/bindings/manual/jsb_spine_manual.h index e65d923123..53cfb0048f 100644 --- a/native/cocos/bindings/manual/jsb_spine_manual.h +++ b/native/cocos/bindings/manual/jsb_spine_manual.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once #include "cocos/bindings/jswrapper/SeApi.h" diff --git a/native/cocos/bindings/manual/jsb_websocket.cpp b/native/cocos/bindings/manual/jsb_websocket.cpp index 4686288ff4..380e54c6bd 100644 --- a/native/cocos/bindings/manual/jsb_websocket.cpp +++ b/native/cocos/bindings/manual/jsb_websocket.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "base/Config.h" #include "jsb_websocket.h" #if (USE_SOCKET > 0) diff --git a/native/cocos/bindings/manual/jsb_websocket.h b/native/cocos/bindings/manual/jsb_websocket.h index 001a813356..8fa6af2926 100644 --- a/native/cocos/bindings/manual/jsb_websocket.h +++ b/native/cocos/bindings/manual/jsb_websocket.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/bindings/manual/jsb_websocket_server.cpp b/native/cocos/bindings/manual/jsb_websocket_server.cpp index f8296362da..8a32126be5 100644 --- a/native/cocos/bindings/manual/jsb_websocket_server.cpp +++ b/native/cocos/bindings/manual/jsb_websocket_server.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #if (USE_SOCKET > 0) && (USE_WEBSOCKET_SERVER > 0) diff --git a/native/cocos/bindings/manual/jsb_websocket_server.h b/native/cocos/bindings/manual/jsb_websocket_server.h index abc87945a4..cb703aa311 100644 --- a/native/cocos/bindings/manual/jsb_websocket_server.h +++ b/native/cocos/bindings/manual/jsb_websocket_server.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once #if (USE_SOCKET > 0) && (USE_WEBSOCKET_SERVER > 0) diff --git a/native/cocos/bindings/manual/jsb_xmlhttprequest.cpp b/native/cocos/bindings/manual/jsb_xmlhttprequest.cpp index 84efa9a2ce..476cf7ba08 100644 --- a/native/cocos/bindings/manual/jsb_xmlhttprequest.cpp +++ b/native/cocos/bindings/manual/jsb_xmlhttprequest.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ // // jsb_XMLHttpRequest.cpp diff --git a/native/cocos/bindings/manual/jsb_xmlhttprequest.h b/native/cocos/bindings/manual/jsb_xmlhttprequest.h index 0564b3cf44..ecc23ad143 100644 --- a/native/cocos/bindings/manual/jsb_xmlhttprequest.h +++ b/native/cocos/bindings/manual/jsb_xmlhttprequest.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/editor-support/IOBuffer.cpp b/native/cocos/editor-support/IOBuffer.cpp index 6f4d5c3862..f3d9c0fedb 100644 --- a/native/cocos/editor-support/IOBuffer.cpp +++ b/native/cocos/editor-support/IOBuffer.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "IOBuffer.h" MIDDLEWARE_BEGIN diff --git a/native/cocos/editor-support/IOBuffer.h b/native/cocos/editor-support/IOBuffer.h index 04a12970ff..3d2eb0ac60 100644 --- a/native/cocos/editor-support/IOBuffer.h +++ b/native/cocos/editor-support/IOBuffer.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "MiddlewareMacro.h" #include "base/Macros.h" diff --git a/native/cocos/editor-support/IOTypedArray.cpp b/native/cocos/editor-support/IOTypedArray.cpp index 15e404d87d..68ddfcb841 100644 --- a/native/cocos/editor-support/IOTypedArray.cpp +++ b/native/cocos/editor-support/IOTypedArray.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "IOTypedArray.h" #include "TypedArrayPool.h" diff --git a/native/cocos/editor-support/IOTypedArray.h b/native/cocos/editor-support/IOTypedArray.h index 1500179af9..d5a65af44b 100644 --- a/native/cocos/editor-support/IOTypedArray.h +++ b/native/cocos/editor-support/IOTypedArray.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "IOBuffer.h" diff --git a/native/cocos/editor-support/MeshBuffer.cpp b/native/cocos/editor-support/MeshBuffer.cpp index ebba74a32b..939db5a2f0 100644 --- a/native/cocos/editor-support/MeshBuffer.cpp +++ b/native/cocos/editor-support/MeshBuffer.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "MeshBuffer.h" diff --git a/native/cocos/editor-support/MeshBuffer.h b/native/cocos/editor-support/MeshBuffer.h index 8c491d2498..8f4ef7ccb9 100644 --- a/native/cocos/editor-support/MeshBuffer.h +++ b/native/cocos/editor-support/MeshBuffer.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "IOBuffer.h" diff --git a/native/cocos/editor-support/MiddlewareMacro.h b/native/cocos/editor-support/MiddlewareMacro.h index ba9ef68091..ac7d292081 100644 --- a/native/cocos/editor-support/MiddlewareMacro.h +++ b/native/cocos/editor-support/MiddlewareMacro.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once // index buffer init capacity #define INIT_INDEX_BUFFER_SIZE 1024000 @@ -46,6 +48,6 @@ #define USING_NS_MW using namespace cc::middleware #endif -// R G B A ·ֱðռÓÃ32λ +// R G B A �ֱ�ռ��32λ #define VF_XYZUVC 9 #define VF_XYZUVCC 13 diff --git a/native/cocos/editor-support/MiddlewareManager.cpp b/native/cocos/editor-support/MiddlewareManager.cpp index d93f5d7f46..6bdb396b9a 100644 --- a/native/cocos/editor-support/MiddlewareManager.cpp +++ b/native/cocos/editor-support/MiddlewareManager.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "MiddlewareManager.h" #include "SeApi.h" #include diff --git a/native/cocos/editor-support/MiddlewareManager.h b/native/cocos/editor-support/MiddlewareManager.h index 87fcf0e7e5..7f3f4ae84b 100644 --- a/native/cocos/editor-support/MiddlewareManager.h +++ b/native/cocos/editor-support/MiddlewareManager.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "MeshBuffer.h" diff --git a/native/cocos/editor-support/SharedBufferManager.cpp b/native/cocos/editor-support/SharedBufferManager.cpp index f7fb8cfeec..d757983c12 100644 --- a/native/cocos/editor-support/SharedBufferManager.cpp +++ b/native/cocos/editor-support/SharedBufferManager.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "SharedBufferManager.h" #include "base/Macros.h" diff --git a/native/cocos/editor-support/SharedBufferManager.h b/native/cocos/editor-support/SharedBufferManager.h index c4a0edeab5..b272fdb3fc 100644 --- a/native/cocos/editor-support/SharedBufferManager.h +++ b/native/cocos/editor-support/SharedBufferManager.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/editor-support/TypedArrayPool.cpp b/native/cocos/editor-support/TypedArrayPool.cpp index 153f240155..e77aacbcc4 100644 --- a/native/cocos/editor-support/TypedArrayPool.cpp +++ b/native/cocos/editor-support/TypedArrayPool.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "TypedArrayPool.h" #include "MiddlewareMacro.h" #include "base/Log.h" diff --git a/native/cocos/editor-support/TypedArrayPool.h b/native/cocos/editor-support/TypedArrayPool.h index f1b3751864..adccbe92cb 100644 --- a/native/cocos/editor-support/TypedArrayPool.h +++ b/native/cocos/editor-support/TypedArrayPool.h @@ -1,19 +1,19 @@ - /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "MiddlewareMacro.h" #include "SeApi.h" diff --git a/native/cocos/editor-support/middleware-adapter.cpp b/native/cocos/editor-support/middleware-adapter.cpp index 0d7a579453..2cc426f9ed 100644 --- a/native/cocos/editor-support/middleware-adapter.cpp +++ b/native/cocos/editor-support/middleware-adapter.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "middleware-adapter.h" #include "base/Macros.h" diff --git a/native/cocos/editor-support/middleware-adapter.h b/native/cocos/editor-support/middleware-adapter.h index 5595583534..5dff899a4e 100644 --- a/native/cocos/editor-support/middleware-adapter.h +++ b/native/cocos/editor-support/middleware-adapter.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "MiddlewareMacro.h" diff --git a/native/cocos/network/Downloader-android.cpp b/native/cocos/network/Downloader-android.cpp index 4ade435588..19ec8b1d3d 100644 --- a/native/cocos/network/Downloader-android.cpp +++ b/native/cocos/network/Downloader-android.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2015-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "network/Downloader-android.h" diff --git a/native/cocos/network/Downloader-android.h b/native/cocos/network/Downloader-android.h index 6972f7557d..a93e9c7525 100644 --- a/native/cocos/network/Downloader-android.h +++ b/native/cocos/network/Downloader-android.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2015-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/network/Downloader-curl.cpp b/native/cocos/network/Downloader-curl.cpp index 19fd004959..3f46c0e7a2 100644 --- a/native/cocos/network/Downloader-curl.cpp +++ b/native/cocos/network/Downloader-curl.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2015-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "network/Downloader-curl.h" #include diff --git a/native/cocos/network/Downloader-curl.h b/native/cocos/network/Downloader-curl.h index c7695cc3fa..697959f961 100644 --- a/native/cocos/network/Downloader-curl.h +++ b/native/cocos/network/Downloader-curl.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2015-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/network/Downloader.cpp b/native/cocos/network/Downloader.cpp index 5ad64d1c11..433a05e2ee 100644 --- a/native/cocos/network/Downloader.cpp +++ b/native/cocos/network/Downloader.cpp @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2015-2016 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "network/Downloader.h" diff --git a/native/cocos/network/Downloader.h b/native/cocos/network/Downloader.h index f330f4aea8..99a8fb4853 100644 --- a/native/cocos/network/Downloader.h +++ b/native/cocos/network/Downloader.h @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2015-2016 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/network/DownloaderImpl-apple.h b/native/cocos/network/DownloaderImpl-apple.h index 728a36bfd7..97c3ab7222 100644 --- a/native/cocos/network/DownloaderImpl-apple.h +++ b/native/cocos/network/DownloaderImpl-apple.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2015-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/network/DownloaderImpl-apple.mm b/native/cocos/network/DownloaderImpl-apple.mm index dab6a8752b..905cc30490 100644 --- a/native/cocos/network/DownloaderImpl-apple.mm +++ b/native/cocos/network/DownloaderImpl-apple.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2015-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "network/DownloaderImpl-apple.h" #include diff --git a/native/cocos/network/DownloaderImpl.h b/native/cocos/network/DownloaderImpl.h index b9bdf33850..232262dbc1 100644 --- a/native/cocos/network/DownloaderImpl.h +++ b/native/cocos/network/DownloaderImpl.h @@ -1,26 +1,27 @@ /**************************************************************************** -Copyright (c) 2015-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2015-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #pragma once diff --git a/native/cocos/network/HttpAsynConnection-apple.h b/native/cocos/network/HttpAsynConnection-apple.h index c3db8d0fab..c9edd71e86 100644 --- a/native/cocos/network/HttpAsynConnection-apple.h +++ b/native/cocos/network/HttpAsynConnection-apple.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __HTTPASYNCONNECTION_H__ #define __HTTPASYNCONNECTION_H__ diff --git a/native/cocos/network/HttpClient-android.cpp b/native/cocos/network/HttpClient-android.cpp index 34200a4f53..a5db27c179 100644 --- a/native/cocos/network/HttpClient-android.cpp +++ b/native/cocos/network/HttpClient-android.cpp @@ -1,21 +1,22 @@ /**************************************************************************** - Copyright (c) 2012 greathqy - Copyright (c) 2012 cocos2d-x.org + Copyright (c) 2012 greathqy + Copyright (c) 2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -23,7 +24,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #if (CC_PLATFORM == CC_PLATFORM_ANDROID) diff --git a/native/cocos/network/HttpClient-apple.mm b/native/cocos/network/HttpClient-apple.mm index 398e9910cc..a89971feb8 100644 --- a/native/cocos/network/HttpClient-apple.mm +++ b/native/cocos/network/HttpClient-apple.mm @@ -1,20 +1,21 @@ /**************************************************************************** - Copyright (c) 2012 greathqy - Copyright (c) 2012 cocos2d-x.org + Copyright (c) 2012 greathqy + Copyright (c) 2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -23,7 +24,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "network/HttpClient.h" #include diff --git a/native/cocos/network/HttpClient.cpp b/native/cocos/network/HttpClient.cpp index e071e8fa97..6c63cf214d 100644 --- a/native/cocos/network/HttpClient.cpp +++ b/native/cocos/network/HttpClient.cpp @@ -1,21 +1,22 @@ /**************************************************************************** - Copyright (c) 2012 greathqy - Copyright (c) 2012 cocos2d-x.org + Copyright (c) 2012 greathqy + Copyright (c) 2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -23,7 +24,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "network/HttpClient.h" #include diff --git a/native/cocos/network/HttpClient.h b/native/cocos/network/HttpClient.h index 89179c2c32..49c4d2e784 100644 --- a/native/cocos/network/HttpClient.h +++ b/native/cocos/network/HttpClient.h @@ -1,20 +1,21 @@ /**************************************************************************** - Copyright (c) 2012 greathqy - Copyright (c) 2012 cocos2d-x.org + Copyright (c) 2012 greathqy + Copyright (c) 2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -23,7 +24,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __CCHTTPCLIENT_H__ #define __CCHTTPCLIENT_H__ diff --git a/native/cocos/network/HttpCookie.cpp b/native/cocos/network/HttpCookie.cpp index 639db65dd0..4323d7154c 100644 --- a/native/cocos/network/HttpCookie.cpp +++ b/native/cocos/network/HttpCookie.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "network/HttpCookie.h" #include "platform/FileUtils.h" diff --git a/native/cocos/network/HttpCookie.h b/native/cocos/network/HttpCookie.h index 9371f41a51..2dd2b1d639 100644 --- a/native/cocos/network/HttpCookie.h +++ b/native/cocos/network/HttpCookie.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef HTTP_COOKIE_H #define HTTP_COOKIE_H diff --git a/native/cocos/network/HttpRequest.h b/native/cocos/network/HttpRequest.h index 53db9d094e..ae28776fb2 100644 --- a/native/cocos/network/HttpRequest.h +++ b/native/cocos/network/HttpRequest.h @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __HTTP_REQUEST_H__ #define __HTTP_REQUEST_H__ diff --git a/native/cocos/network/HttpResponse.h b/native/cocos/network/HttpResponse.h index f5937a7f92..fd85586626 100644 --- a/native/cocos/network/HttpResponse.h +++ b/native/cocos/network/HttpResponse.h @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __HTTP_RESPONSE__ #define __HTTP_RESPONSE__ diff --git a/native/cocos/network/SocketIO.cpp b/native/cocos/network/SocketIO.cpp index e95b3fa882..289484f1bd 100644 --- a/native/cocos/network/SocketIO.cpp +++ b/native/cocos/network/SocketIO.cpp @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2015 Chris Hannon http://www.channon.us Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,11 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -*based on the SocketIO library created by LearnBoost at http://socket.io -*using spec version 1 found at https://github.com/LearnBoost/socket.io-spec - - ****************************************************************************/ +****************************************************************************/ #include "network/SocketIO.h" #include "network/Uri.h" diff --git a/native/cocos/network/SocketIO.h b/native/cocos/network/SocketIO.h index da9f5fb901..a920ee8bdc 100644 --- a/native/cocos/network/SocketIO.h +++ b/native/cocos/network/SocketIO.h @@ -1,17 +1,20 @@ /**************************************************************************** Copyright (c) 2015 Chris Hannon http://www.channon.us Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,42 +23,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +****************************************************************************/ -*based on the SocketIO library created by LearnBoost at http://socket.io -*using spec version 1 found at https://github.com/LearnBoost/socket.io-spec - -Usage is described below, a full working example can be found in TestCpp under ExtionsTest/NetworkTest/SocketIOTest - -creating a new connection to a socket.io server running at localhost:3000 - - SIOClient *client = SocketIO::connect(*delegate, "ws://localhost:3000"); - -the connection process will begin and if successful delegate::onOpen will be called -if the connection process results in an error, delegate::onError will be called with the err msg - -sending a message to the server - - client->send("Hello!"); - -emitting an event to be handled by the server, argument json formatting is up to you - - client->emit("eventname", "[{\"arg\":\"value\"}]"); - -registering an event callback, target should be a member function in a subclass of SIODelegate -CC_CALLBACK_2 is used to wrap the callback with std::bind and store as an SIOEvent - - client->on("eventname", CC_CALLBACK_2(TargetClass::targetfunc, *targetclass_instance)); - -event target function should match this pattern, *this pointer will be made available - - void TargetClass::targetfunc(SIOClient *, const std::string&) - -disconnect from the endpoint by calling disconnect(), onClose will be called on the delegate once complete -in the onClose method the pointer should be set to NULL or used to connect to a new endpoint - - client->disconnect(); - - ****************************************************************************/ #pragma once #include diff --git a/native/cocos/network/WebSocket-apple.mm b/native/cocos/network/WebSocket-apple.mm index 1d53003459..698cf74b20 100644 --- a/native/cocos/network/WebSocket-apple.mm +++ b/native/cocos/network/WebSocket-apple.mm @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "network/WebSocket.h" #include "base/Data.h" diff --git a/native/cocos/network/WebSocket-libwebsockets.cpp b/native/cocos/network/WebSocket-libwebsockets.cpp index 8120e309dc..7f21d69e9e 100644 --- a/native/cocos/network/WebSocket-libwebsockets.cpp +++ b/native/cocos/network/WebSocket-libwebsockets.cpp @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,11 +23,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +****************************************************************************/ -"[WebSocket module] is based in part on the work of the libwebsockets project -(http://libwebsockets.org)" - - ****************************************************************************/ #include "websockets/libwebsockets.h" #include diff --git a/native/cocos/network/WebSocket.h b/native/cocos/network/WebSocket.h index cf22b2cb8e..47da224469 100644 --- a/native/cocos/network/WebSocket.h +++ b/native/cocos/network/WebSocket.h @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,8 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/network/WebSocketServer.cpp b/native/cocos/network/WebSocketServer.cpp index 16480618bd..9db236017a 100644 --- a/native/cocos/network/WebSocketServer.cpp +++ b/native/cocos/network/WebSocketServer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "base/Config.h" #if (USE_SOCKET > 0) && (USE_WEBSOCKET_SERVER > 0) diff --git a/native/cocos/network/WebSocketServer.h b/native/cocos/network/WebSocketServer.h index 7cfcbcff2c..aa6713b5da 100644 --- a/native/cocos/network/WebSocketServer.h +++ b/native/cocos/network/WebSocketServer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #if (USE_SOCKET > 0) && (USE_WEBSOCKET_SERVER > 0) diff --git a/native/cocos/platform/Application.cpp b/native/cocos/platform/Application.cpp index 0030472f63..c6c2f77e58 100644 --- a/native/cocos/platform/Application.cpp +++ b/native/cocos/platform/Application.cpp @@ -1,25 +1,26 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos.com + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "cocos/platform/Application.h" diff --git a/native/cocos/platform/Application.h b/native/cocos/platform/Application.h index 16ca7b20f5..7e26ea7321 100644 --- a/native/cocos/platform/Application.h +++ b/native/cocos/platform/Application.h @@ -1,27 +1,29 @@ /**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/platform/CanvasRenderingContext2D.h b/native/cocos/platform/CanvasRenderingContext2D.h index 64d82065ce..cf50fed9fa 100644 --- a/native/cocos/platform/CanvasRenderingContext2D.h +++ b/native/cocos/platform/CanvasRenderingContext2D.h @@ -1,17 +1,18 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/platform/Device.h b/native/cocos/platform/Device.h index 1e586297d5..c7c48dbbb3 100644 --- a/native/cocos/platform/Device.h +++ b/native/cocos/platform/Device.h @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #ifndef __CCDEVICE_H__ diff --git a/native/cocos/platform/FileUtils.cpp b/native/cocos/platform/FileUtils.cpp index 382cb3188e..27c8324e0e 100644 --- a/native/cocos/platform/FileUtils.cpp +++ b/native/cocos/platform/FileUtils.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2013 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2013 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "platform/FileUtils.h" diff --git a/native/cocos/platform/FileUtils.h b/native/cocos/platform/FileUtils.h index b9efce809c..20b780ec0c 100644 --- a/native/cocos/platform/FileUtils.h +++ b/native/cocos/platform/FileUtils.h @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2013 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2013 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef __CC_FILEUTILS_H__ #define __CC_FILEUTILS_H__ diff --git a/native/cocos/platform/Image.cpp b/native/cocos/platform/Image.cpp index 3e079081b1..6f31e542a3 100644 --- a/native/cocos/platform/Image.cpp +++ b/native/cocos/platform/Image.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2016-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "Image.h" diff --git a/native/cocos/platform/Image.h b/native/cocos/platform/Image.h index 872db303f5..7c93ebbc99 100644 --- a/native/cocos/platform/Image.h +++ b/native/cocos/platform/Image.h @@ -1,27 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2016-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "base/Ref.h" diff --git a/native/cocos/platform/SAXParser.cpp b/native/cocos/platform/SAXParser.cpp index c7fd061b57..6692c2a59f 100644 --- a/native/cocos/platform/SAXParser.cpp +++ b/native/cocos/platform/SAXParser.cpp @@ -3,17 +3,20 @@ Copyright (c) 2010 cocos2d-x.org Copyright (c) 2013 Martell Malone Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +25,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "platform/SAXParser.h" diff --git a/native/cocos/platform/SAXParser.h b/native/cocos/platform/SAXParser.h index e3e3df799e..bca9d4bb2b 100644 --- a/native/cocos/platform/SAXParser.h +++ b/native/cocos/platform/SAXParser.h @@ -2,17 +2,20 @@ Copyright (c) 2010 cocos2d-x.org Copyright (c) 2010 Максим Аксенов Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +24,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __CCSAXPARSER_H__ #define __CCSAXPARSER_H__ diff --git a/native/cocos/platform/StdC.h b/native/cocos/platform/StdC.h index 254a83b681..60c6a01d5d 100644 --- a/native/cocos/platform/StdC.h +++ b/native/cocos/platform/StdC.h @@ -1,26 +1,29 @@ /**************************************************************************** -Copyright (c) 2020 cocos.com Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020 cocos.com Xiamen Yaji Software Co., Ltd. + Copyright (c) undefined-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #if CC_PLATFORM == CC_PLATFORM_WINDOWS diff --git a/native/cocos/platform/android/Application-android.cpp b/native/cocos/platform/android/Application-android.cpp index 43c13a549b..c5581ac407 100644 --- a/native/cocos/platform/android/Application-android.cpp +++ b/native/cocos/platform/android/Application-android.cpp @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "platform/Application.h" #include #include diff --git a/native/cocos/platform/android/CanvasRenderingContext2D-android.cpp b/native/cocos/platform/android/CanvasRenderingContext2D-android.cpp index 259d9e18e4..bd0f909d8a 100644 --- a/native/cocos/platform/android/CanvasRenderingContext2D-android.cpp +++ b/native/cocos/platform/android/CanvasRenderingContext2D-android.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "platform/CanvasRenderingContext2D.h" #include "base/csscolorparser.h" #include "math/Math.h" diff --git a/native/cocos/platform/android/Device-android.cpp b/native/cocos/platform/android/Device-android.cpp index 1f61f15288..877017a2d1 100644 --- a/native/cocos/platform/android/Device-android.cpp +++ b/native/cocos/platform/android/Device-android.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #if CC_PLATFORM == CC_PLATFORM_ANDROID diff --git a/native/cocos/platform/android/FileUtils-android.cpp b/native/cocos/platform/android/FileUtils-android.cpp index 803348b6e8..bd82f16c2e 100644 --- a/native/cocos/platform/android/FileUtils-android.cpp +++ b/native/cocos/platform/android/FileUtils-android.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #if CC_PLATFORM == CC_PLATFORM_ANDROID diff --git a/native/cocos/platform/android/FileUtils-android.h b/native/cocos/platform/android/FileUtils-android.h index 732c2520d8..08771429c7 100644 --- a/native/cocos/platform/android/FileUtils-android.h +++ b/native/cocos/platform/android/FileUtils-android.h @@ -1,19 +1,20 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,8 @@ Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #ifndef __CC_FILEUTILS_ANDROID_H__ #define __CC_FILEUTILS_ANDROID_H__ diff --git a/native/cocos/platform/android/View.cpp b/native/cocos/platform/android/View.cpp index 53d02da7d2..cf041efc90 100644 --- a/native/cocos/platform/android/View.cpp +++ b/native/cocos/platform/android/View.cpp @@ -1,19 +1,20 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,8 @@ Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "View.h" #include #include "cocos/bindings/event/EventDispatcher.h" diff --git a/native/cocos/platform/android/View.h b/native/cocos/platform/android/View.h index c0bae92c85..8952804b18 100644 --- a/native/cocos/platform/android/View.h +++ b/native/cocos/platform/android/View.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "base/Macros.h" diff --git a/native/cocos/platform/android/jni/JniCocosActivity.cpp b/native/cocos/platform/android/jni/JniCocosActivity.cpp index efcf8ff85f..e5e914863e 100644 --- a/native/cocos/platform/android/jni/JniCocosActivity.cpp +++ b/native/cocos/platform/android/jni/JniCocosActivity.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "JniCocosActivity.h" #include "platform/android/jni/JniHelper.h" #include "platform/android/FileUtils-android.h" diff --git a/native/cocos/platform/android/jni/JniCocosActivity.h b/native/cocos/platform/android/jni/JniCocosActivity.h index 40b54b0b0b..2919ea39c4 100644 --- a/native/cocos/platform/android/jni/JniCocosActivity.h +++ b/native/cocos/platform/android/jni/JniCocosActivity.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/platform/android/jni/JniCocosKeyCodeHandler.cpp b/native/cocos/platform/android/jni/JniCocosKeyCodeHandler.cpp index 6bf8dc6e34..301a788720 100644 --- a/native/cocos/platform/android/jni/JniCocosKeyCodeHandler.cpp +++ b/native/cocos/platform/android/jni/JniCocosKeyCodeHandler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "platform/android/jni/JniHelper.h" #include "platform/Application.h" #include diff --git a/native/cocos/platform/android/jni/JniCocosOrientationHelper.cpp b/native/cocos/platform/android/jni/JniCocosOrientationHelper.cpp index 5da1ce3701..72bbdfc6c8 100644 --- a/native/cocos/platform/android/jni/JniCocosOrientationHelper.cpp +++ b/native/cocos/platform/android/jni/JniCocosOrientationHelper.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "platform/android/jni/JniHelper.h" #include "platform/Application.h" #include diff --git a/native/cocos/platform/android/jni/JniCocosSurfaceView.cpp b/native/cocos/platform/android/jni/JniCocosSurfaceView.cpp index 685b2633da..7854c37364 100644 --- a/native/cocos/platform/android/jni/JniCocosSurfaceView.cpp +++ b/native/cocos/platform/android/jni/JniCocosSurfaceView.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "platform/android/jni/JniHelper.h" #include "platform/Application.h" #include diff --git a/native/cocos/platform/android/jni/JniCocosTouchHandler.cpp b/native/cocos/platform/android/jni/JniCocosTouchHandler.cpp index c9a1bba9e1..0cc5be1675 100644 --- a/native/cocos/platform/android/jni/JniCocosTouchHandler.cpp +++ b/native/cocos/platform/android/jni/JniCocosTouchHandler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "platform/android/jni/JniHelper.h" #include "platform/Application.h" #include diff --git a/native/cocos/platform/android/jni/JniHelper.cpp b/native/cocos/platform/android/jni/JniHelper.cpp index 94881d3a73..95b9baa7d9 100644 --- a/native/cocos/platform/android/jni/JniHelper.cpp +++ b/native/cocos/platform/android/jni/JniHelper.cpp @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "platform/android/jni/JniHelper.h" #include "platform/android/FileUtils-android.h" #include diff --git a/native/cocos/platform/android/jni/JniHelper.h b/native/cocos/platform/android/jni/JniHelper.h index e0e9877843..0065ae5c1c 100644 --- a/native/cocos/platform/android/jni/JniHelper.h +++ b/native/cocos/platform/android/jni/JniHelper.h @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cc-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cc-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef __ANDROID_JNI_HELPER_H__ #define __ANDROID_JNI_HELPER_H__ diff --git a/native/cocos/platform/android/jni/JniImp.cpp b/native/cocos/platform/android/jni/JniImp.cpp index 6efb9f58e0..fea99d8315 100644 --- a/native/cocos/platform/android/jni/JniImp.cpp +++ b/native/cocos/platform/android/jni/JniImp.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2018-2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "JniImp.h" #include #include diff --git a/native/cocos/platform/android/jni/JniImp.h b/native/cocos/platform/android/jni/JniImp.h index f43baafb57..75a973762b 100644 --- a/native/cocos/platform/android/jni/JniImp.h +++ b/native/cocos/platform/android/jni/JniImp.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -21,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/platform/apple/CanvasRenderingContext2D-apple.mm b/native/cocos/platform/apple/CanvasRenderingContext2D-apple.mm index 08824eecc9..9739631cdb 100644 --- a/native/cocos/platform/apple/CanvasRenderingContext2D-apple.mm +++ b/native/cocos/platform/apple/CanvasRenderingContext2D-apple.mm @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "platform/CanvasRenderingContext2D.h" #include "base/csscolorparser.h" #include "base/UTF8.h" diff --git a/native/cocos/platform/apple/Device-apple.h b/native/cocos/platform/apple/Device-apple.h index 1f45e5a835..adfe053f1e 100644 --- a/native/cocos/platform/apple/Device-apple.h +++ b/native/cocos/platform/apple/Device-apple.h @@ -1,20 +1,21 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef CCDevice_apple_hpp #define CCDevice_apple_hpp diff --git a/native/cocos/platform/apple/Device-apple.mm b/native/cocos/platform/apple/Device-apple.mm index 2829cabb10..8ad0a32d59 100644 --- a/native/cocos/platform/apple/Device-apple.mm +++ b/native/cocos/platform/apple/Device-apple.mm @@ -1,20 +1,21 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -22,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "platform/apple/Device-apple.h" #include "platform/Application.h" diff --git a/native/cocos/platform/apple/FileUtils-apple.h b/native/cocos/platform/apple/FileUtils-apple.h index 3eec542935..ac736fd1d5 100644 --- a/native/cocos/platform/apple/FileUtils-apple.h +++ b/native/cocos/platform/apple/FileUtils-apple.h @@ -1,20 +1,21 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org - Copyright (c) 2011 Zynga Inc. + Copyright (c) 2011 Zynga Inc. Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -23,7 +24,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #ifndef __CC_FILEUTILS_APPLE_H__ #define __CC_FILEUTILS_APPLE_H__ diff --git a/native/cocos/platform/apple/FileUtils-apple.mm b/native/cocos/platform/apple/FileUtils-apple.mm index 7969d0fa24..ed4481f61e 100644 --- a/native/cocos/platform/apple/FileUtils-apple.mm +++ b/native/cocos/platform/apple/FileUtils-apple.mm @@ -1,29 +1,31 @@ /**************************************************************************** -Copyright (c) 2010-2012 cc-x.org -Copyright (c) 2011 Zynga Inc. -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cc-x.org + Copyright (c) 2011 Zynga Inc. + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #import #include "platform/apple/FileUtils-apple.h" diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index aee92ecd52..3e071b4cdc 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -1,18 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2017 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +23,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #import "Application.h" #import #include "base/Scheduler.h" diff --git a/native/cocos/platform/ios/Device-ios.mm b/native/cocos/platform/ios/Device-ios.mm index b0af4208b9..1ea056b5df 100644 --- a/native/cocos/platform/ios/Device-ios.mm +++ b/native/cocos/platform/ios/Device-ios.mm @@ -1,19 +1,20 @@ /**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +23,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "Application.h" #include "platform/Device.h" diff --git a/native/cocos/platform/ios/Reachability.cpp b/native/cocos/platform/ios/Reachability.cpp index a6fd90e2ca..5d4c1fa519 100644 --- a/native/cocos/platform/ios/Reachability.cpp +++ b/native/cocos/platform/ios/Reachability.cpp @@ -1,17 +1,18 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, diff --git a/native/cocos/platform/ios/Reachability.h b/native/cocos/platform/ios/Reachability.h index b274c316c7..03ed06fb71 100644 --- a/native/cocos/platform/ios/Reachability.h +++ b/native/cocos/platform/ios/Reachability.h @@ -1,17 +1,18 @@ /**************************************************************************** - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include "base/Ref.h" diff --git a/native/cocos/platform/ios/View.h b/native/cocos/platform/ios/View.h index cf900fe00b..8078e516dc 100644 --- a/native/cocos/platform/ios/View.h +++ b/native/cocos/platform/ios/View.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #import diff --git a/native/cocos/platform/ios/View.mm b/native/cocos/platform/ios/View.mm index ae6378d9ed..ac84f04cb8 100644 --- a/native/cocos/platform/ios/View.mm +++ b/native/cocos/platform/ios/View.mm @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #import "View.h" #include "bindings/event/EventDispatcher.h" #include "platform/Application.h" diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index 399273c3d5..c57514f979 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "audio/include/AudioEngine.h" #include "base/Scheduler.h" #include "cocos/bindings/jswrapper/SeApi.h" diff --git a/native/cocos/platform/mac/Device-mac.mm b/native/cocos/platform/mac/Device-mac.mm index c7abf639f9..6759a7cb29 100644 --- a/native/cocos/platform/mac/Device-mac.mm +++ b/native/cocos/platform/mac/Device-mac.mm @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #if CC_PLATFORM == CC_PLATFORM_MAC_OSX diff --git a/native/cocos/platform/mac/KeyCodeHelper.cpp b/native/cocos/platform/mac/KeyCodeHelper.cpp index 84d3deef48..0a5add1c34 100644 --- a/native/cocos/platform/mac/KeyCodeHelper.cpp +++ b/native/cocos/platform/mac/KeyCodeHelper.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "KeyCodeHelper.h" #include diff --git a/native/cocos/platform/mac/KeyCodeHelper.h b/native/cocos/platform/mac/KeyCodeHelper.h index aac722c0ed..2dca010a66 100644 --- a/native/cocos/platform/mac/KeyCodeHelper.h +++ b/native/cocos/platform/mac/KeyCodeHelper.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once extern int translateKeycode(int); diff --git a/native/cocos/platform/mac/View.h b/native/cocos/platform/mac/View.h index 67d2424f59..34044c7667 100644 --- a/native/cocos/platform/mac/View.h +++ b/native/cocos/platform/mac/View.h @@ -1,17 +1,18 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #import #ifdef CC_USE_METAL diff --git a/native/cocos/platform/mac/View.mm b/native/cocos/platform/mac/View.mm index 2469097a06..18f459540d 100644 --- a/native/cocos/platform/mac/View.mm +++ b/native/cocos/platform/mac/View.mm @@ -1,17 +1,18 @@ /**************************************************************************** - Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #import "View.h" #import "KeyCodeHelper.h" #import "cocos/bindings/event/EventDispatcher.h" diff --git a/native/cocos/platform/win32/Application-win32.cpp b/native/cocos/platform/win32/Application-win32.cpp index e003d9dcd4..d3df74cbb8 100644 --- a/native/cocos/platform/win32/Application-win32.cpp +++ b/native/cocos/platform/win32/Application-win32.cpp @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "platform/Application.h" #include "platform/StdC.h" // need it to include Windows.h #include diff --git a/native/cocos/platform/win32/CanvasRenderingContext2D-win32.cpp b/native/cocos/platform/win32/CanvasRenderingContext2D-win32.cpp index ade34c3d4c..de24f5142d 100644 --- a/native/cocos/platform/win32/CanvasRenderingContext2D-win32.cpp +++ b/native/cocos/platform/win32/CanvasRenderingContext2D-win32.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "platform/CanvasRenderingContext2D.h" #include #include "base/csscolorparser.h" diff --git a/native/cocos/platform/win32/Device-win32.cpp b/native/cocos/platform/win32/Device-win32.cpp index 9e43a575f0..b6ba411d75 100644 --- a/native/cocos/platform/win32/Device-win32.cpp +++ b/native/cocos/platform/win32/Device-win32.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #if CC_PLATFORM == CC_PLATFORM_WINDOWS diff --git a/native/cocos/platform/win32/FileUtils-win32.cpp b/native/cocos/platform/win32/FileUtils-win32.cpp index 62c6d7dc79..396b8616a9 100644 --- a/native/cocos/platform/win32/FileUtils-win32.cpp +++ b/native/cocos/platform/win32/FileUtils-win32.cpp @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #if CC_PLATFORM == CC_PLATFORM_WINDOWS diff --git a/native/cocos/platform/win32/FileUtils-win32.h b/native/cocos/platform/win32/FileUtils-win32.h index 45b27b5606..dd7c25225b 100644 --- a/native/cocos/platform/win32/FileUtils-win32.h +++ b/native/cocos/platform/win32/FileUtils-win32.h @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef __CC_FILEUTILS_WIN32_H__ #define __CC_FILEUTILS_WIN32_H__ diff --git a/native/cocos/platform/win32/Utils-win32.cpp b/native/cocos/platform/win32/Utils-win32.cpp index 0436b17529..99a8e15407 100644 --- a/native/cocos/platform/win32/Utils-win32.cpp +++ b/native/cocos/platform/win32/Utils-win32.cpp @@ -1,28 +1,30 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "platform/win32/Utils-win32.h" #include "platform/StdC.h" #include diff --git a/native/cocos/platform/win32/Utils-win32.h b/native/cocos/platform/win32/Utils-win32.h index 12e0c60881..e594fd81a4 100644 --- a/native/cocos/platform/win32/Utils-win32.h +++ b/native/cocos/platform/win32/Utils-win32.h @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2010-2012 cocos2d-x.org -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2010-2012 cocos2d-x.org + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #ifndef __CC_UTILS_WIN32_H__ diff --git a/native/cocos/platform/win32/View-win32.cpp b/native/cocos/platform/win32/View-win32.cpp index f9f6ac4f99..d3c2d1cafa 100644 --- a/native/cocos/platform/win32/View-win32.cpp +++ b/native/cocos/platform/win32/View-win32.cpp @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos.com + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "View-win32.h" diff --git a/native/cocos/platform/win32/View-win32.h b/native/cocos/platform/win32/View-win32.h index 62b860a70a..72b5aae639 100644 --- a/native/cocos/platform/win32/View-win32.h +++ b/native/cocos/platform/win32/View-win32.h @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos.com + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #pragma once diff --git a/native/cocos/platform/win32/compat/stdint.h b/native/cocos/platform/win32/compat/stdint.h index 8f1c73f9e3..504c1fa853 100644 --- a/native/cocos/platform/win32/compat/stdint.h +++ b/native/cocos/platform/win32/compat/stdint.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + // ISO C9x compliant stdint.h for Microsoft Visual Studio // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 // diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/core/Core.h index f04654124d..05e537e644 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/core/Core.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "CoreStd.h" diff --git a/native/cocos/renderer/core/CoreStd.cpp b/native/cocos/renderer/core/CoreStd.cpp index 45239144aa..e70caa2718 100644 --- a/native/cocos/renderer/core/CoreStd.cpp +++ b/native/cocos/renderer/core/CoreStd.cpp @@ -1,24 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "CoreStd.h" diff --git a/native/cocos/renderer/core/CoreStd.h b/native/cocos/renderer/core/CoreStd.h index bca68be41a..5512ce49c9 100644 --- a/native/cocos/renderer/core/CoreStd.h +++ b/native/cocos/renderer/core/CoreStd.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_CORE_CORE_STD_H_ #define CC_CORE_CORE_STD_H_ diff --git a/native/cocos/renderer/core/gfx-agent/GFXAgent.h b/native/cocos/renderer/core/gfx-agent/GFXAgent.h index 827fd87011..455b8d9e7e 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp index 19cd0fa6c2..270f7d820a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "base/threading/MessageQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h index 7a6833dbc7..5c50478475 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 4f25d82070..959471f7f2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXBufferAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index b414ba1a77..5b17b5821b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp index 4971db7b62..c61534bacb 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXBufferAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h index a9692dd1e4..d3774cdbaf 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp index c3d72a8141..7571a88b25 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "base/threading/MessageQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h index 26455f7ab5..a31779f3b9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 09568928de..661bd00ee2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXBufferAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index 6d2e108230..b0a0a7c44b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "../gfx/GFXDevice.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp index dbc0309e03..ec18959106 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "base/threading/MessageQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h index 81417ec643..d24a24cefc 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp index a02b8894a5..3e51e9ad0f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "base/threading/MessageQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h index 75436a1e15..c4165925c0 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h index 33231a05af..0420b511a4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h +++ b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp index 25435b9710..d39e68a90b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "base/threading/MessageQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h index 829ab810a7..ea3ee1add5 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp index 6914c54a9f..2fe9bf82f7 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "base/threading/MessageQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h index dcebd49db9..dbd066dbe6 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index fe484e5b51..1d8bbeced4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXCommandBufferAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h index 1b4164bc25..52fd7ecf0d 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "../gfx/GFXQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp index e344e61406..a2d9807c0c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXDeviceAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h index 0ae37b1bcd..8f88c6f1d7 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "../gfx/GFXRenderPass.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp index 15618c2b61..a92d6b5c35 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "base/threading/MessageQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h index 6b80c784a8..41527bf742 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp index 700fa3d721..2bf6e5f42f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXDeviceAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h index e8834437f4..0050818be6 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp index e52bc718a0..a9042dda40 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "base/threading/MessageQueue.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h index fd9ef0f52e..c262d5d83f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXAgent.h" diff --git a/native/cocos/renderer/core/gfx/GFXBuffer.cpp b/native/cocos/renderer/core/gfx/GFXBuffer.cpp index 771258ff1e..e281bb6f26 100755 --- a/native/cocos/renderer/core/gfx/GFXBuffer.cpp +++ b/native/cocos/renderer/core/gfx/GFXBuffer.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXBuffer.h" diff --git a/native/cocos/renderer/core/gfx/GFXBuffer.h b/native/cocos/renderer/core/gfx/GFXBuffer.h index 71a46b9468..de0f08ddbc 100755 --- a/native/cocos/renderer/core/gfx/GFXBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXBuffer.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_BUFFER_H_ #define CC_CORE_GFX_BUFFER_H_ diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.cpp b/native/cocos/renderer/core/gfx/GFXCommandBuffer.cpp index dc4b28e132..f712805159 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.cpp +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXCommandBuffer.h" diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h index 3708c049c3..a5c10ee624 100755 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/core/gfx/GFXCommandBuffer.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_COMMAND_BUFFER_H_ #define CC_CORE_GFX_COMMAND_BUFFER_H_ @@ -66,7 +91,7 @@ public: } CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier) { pipelineBarrier(barrier, nullptr, nullptr, 0u); } CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers, const TextureList &textures) { - pipelineBarrier(barrier, textureBarriers.data(), textures.data(), textureBarriers.size()); + pipelineBarrier(barrier, textureBarriers.data(), textures.data(), textureBarriers.size()); } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { diff --git a/native/cocos/renderer/core/gfx/GFXContext.cpp b/native/cocos/renderer/core/gfx/GFXContext.cpp index 4327212b66..868aca0a6f 100755 --- a/native/cocos/renderer/core/gfx/GFXContext.cpp +++ b/native/cocos/renderer/core/gfx/GFXContext.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXContext.h" diff --git a/native/cocos/renderer/core/gfx/GFXContext.h b/native/cocos/renderer/core/gfx/GFXContext.h index a63ecc8794..23628b65a7 100755 --- a/native/cocos/renderer/core/gfx/GFXContext.h +++ b/native/cocos/renderer/core/gfx/GFXContext.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_CONTEXT_H_ #define CC_CORE_GFX_CONTEXT_H_ diff --git a/native/cocos/renderer/core/gfx/GFXDef-common.h b/native/cocos/renderer/core/gfx/GFXDef-common.h index 4ffb8a8d8a..4c9a2c4195 100644 --- a/native/cocos/renderer/core/gfx/GFXDef-common.h +++ b/native/cocos/renderer/core/gfx/GFXDef-common.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_DEF_COMMON_H_ #define CC_CORE_GFX_DEF_COMMON_H_ diff --git a/native/cocos/renderer/core/gfx/GFXDef.cpp b/native/cocos/renderer/core/gfx/GFXDef.cpp index 1f576e4d91..aea04101aa 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.cpp +++ b/native/cocos/renderer/core/gfx/GFXDef.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXDef.h" @@ -5,10 +30,21 @@ namespace cc { namespace gfx { -const DescriptorType DESCRIPTOR_BUFFER_TYPE = DescriptorType::STORAGE_BUFFER | DescriptorType::DYNAMIC_STORAGE_BUFFER | - DescriptorType::UNIFORM_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; -const DescriptorType DESCRIPTOR_TEXTURE_TYPE = DescriptorType::SAMPLER_TEXTURE | DescriptorType::SAMPLER | DescriptorType::TEXTURE | DescriptorType::STORAGE_IMAGE | DescriptorType::INPUT_ATTACHMENT; -const DescriptorType DESCRIPTOR_DYNAMIC_TYPE = DescriptorType::DYNAMIC_STORAGE_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; +const DescriptorType DESCRIPTOR_BUFFER_TYPE = DescriptorType::STORAGE_BUFFER | + DescriptorType::DYNAMIC_STORAGE_BUFFER | + DescriptorType::UNIFORM_BUFFER | + DescriptorType::DYNAMIC_UNIFORM_BUFFER; + +const DescriptorType DESCRIPTOR_TEXTURE_TYPE = DescriptorType::SAMPLER_TEXTURE | + DescriptorType::SAMPLER | + DescriptorType::TEXTURE | + DescriptorType::STORAGE_IMAGE | + DescriptorType::INPUT_ATTACHMENT; + +const DescriptorType DESCRIPTOR_DYNAMIC_TYPE = DescriptorType::DYNAMIC_STORAGE_BUFFER | + DescriptorType::DYNAMIC_UNIFORM_BUFFER; + +const uint DRAW_INFO_SIZE = 28u; const FormatInfo GFX_FORMAT_INFOS[] = { {"UNKNOWN", 0, 0, FormatType::NONE, false, false, false, false}, @@ -286,7 +322,7 @@ uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint for (uint i = 0; i < mips; ++i) { size += FormatSize(format, width, height, depth); - width = std::max(width >> 1, 1U); + width = std::max(width >> 1, 1U); height = std::max(height >> 1, 1U); } diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/core/gfx/GFXDef.h index 8912823ebb..5c87410a02 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.h +++ b/native/cocos/renderer/core/gfx/GFXDef.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_DEF_H_ #define CC_CORE_GFX_DEF_H_ @@ -64,6 +89,7 @@ struct ContextInfo { extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; +extern const uint DRAW_INFO_SIZE; extern const FormatInfo GFX_FORMAT_INFOS[]; extern const uint GFX_TYPE_SIZES[]; diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp b/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp index f2e8651ba3..e0910b246a 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp +++ b/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXDescriptorSet.h" diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSet.h b/native/cocos/renderer/core/gfx/GFXDescriptorSet.h index b47ed6b71b..9f95155276 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSet.h +++ b/native/cocos/renderer/core/gfx/GFXDescriptorSet.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_DESCRIPTOR_SET_H_ #define CC_CORE_GFX_DESCRIPTOR_SET_H_ diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp b/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp index 222493b55c..aa31afa593 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp +++ b/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXDescriptorSetLayout.h" diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.h b/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.h index 07e54a7f97..4cea28462f 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.h +++ b/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_DESCRIPTOR_SET_LAYOUT_H_ #define CC_CORE_GFX_DESCRIPTOR_SET_LAYOUT_H_ diff --git a/native/cocos/renderer/core/gfx/GFXDevice.cpp b/native/cocos/renderer/core/gfx/GFXDevice.cpp index cd0796c4e8..aa64e587d5 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.cpp +++ b/native/cocos/renderer/core/gfx/GFXDevice.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXContext.h" diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/core/gfx/GFXDevice.h index 74d14ecd5e..ccbe912078 100755 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/core/gfx/GFXDevice.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_DEVICE_H_ #define CC_CORE_GFX_DEVICE_H_ diff --git a/native/cocos/renderer/core/gfx/GFXFramebuffer.cpp b/native/cocos/renderer/core/gfx/GFXFramebuffer.cpp index f17e012b2e..6ebac8a42a 100755 --- a/native/cocos/renderer/core/gfx/GFXFramebuffer.cpp +++ b/native/cocos/renderer/core/gfx/GFXFramebuffer.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXFramebuffer.h" diff --git a/native/cocos/renderer/core/gfx/GFXFramebuffer.h b/native/cocos/renderer/core/gfx/GFXFramebuffer.h index ffc5780f78..19f6a52e74 100755 --- a/native/cocos/renderer/core/gfx/GFXFramebuffer.h +++ b/native/cocos/renderer/core/gfx/GFXFramebuffer.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_FRAME_BUFFER_H_ #define CC_CORE_GFX_FRAME_BUFFER_H_ diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp index 66477a8dd2..35d683fd24 100644 --- a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp +++ b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXGlobalBarrier.h" diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h index efebcd2a83..3def23259d 100644 --- a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h +++ b/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_GLOBAL_BARRIER_H_ #define CC_CORE_GFX_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/core/gfx/GFXInputAssembler.cpp b/native/cocos/renderer/core/gfx/GFXInputAssembler.cpp index e1b452ba12..30294fa15f 100755 --- a/native/cocos/renderer/core/gfx/GFXInputAssembler.cpp +++ b/native/cocos/renderer/core/gfx/GFXInputAssembler.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXInputAssembler.h" diff --git a/native/cocos/renderer/core/gfx/GFXInputAssembler.h b/native/cocos/renderer/core/gfx/GFXInputAssembler.h index bfc63496ec..09f58decee 100755 --- a/native/cocos/renderer/core/gfx/GFXInputAssembler.h +++ b/native/cocos/renderer/core/gfx/GFXInputAssembler.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_INPUT_ASSEMBLER_H_ #define CC_CORE_GFX_INPUT_ASSEMBLER_H_ diff --git a/native/cocos/renderer/core/gfx/GFXObject.cpp b/native/cocos/renderer/core/gfx/GFXObject.cpp index 2284eddf37..dce7a7b3f7 100644 --- a/native/cocos/renderer/core/gfx/GFXObject.cpp +++ b/native/cocos/renderer/core/gfx/GFXObject.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXObject.h" diff --git a/native/cocos/renderer/core/gfx/GFXObject.h b/native/cocos/renderer/core/gfx/GFXObject.h index 944f34720a..fb26581976 100644 --- a/native/cocos/renderer/core/gfx/GFXObject.h +++ b/native/cocos/renderer/core/gfx/GFXObject.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once #include "GFXDef.h" diff --git a/native/cocos/renderer/core/gfx/GFXPipelineLayout.cpp b/native/cocos/renderer/core/gfx/GFXPipelineLayout.cpp index 9c31d585d6..5eb3d90948 100644 --- a/native/cocos/renderer/core/gfx/GFXPipelineLayout.cpp +++ b/native/cocos/renderer/core/gfx/GFXPipelineLayout.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXPipelineLayout.h" diff --git a/native/cocos/renderer/core/gfx/GFXPipelineLayout.h b/native/cocos/renderer/core/gfx/GFXPipelineLayout.h index ecfbff2f5f..5ad17a7a7e 100644 --- a/native/cocos/renderer/core/gfx/GFXPipelineLayout.h +++ b/native/cocos/renderer/core/gfx/GFXPipelineLayout.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_PIPELINE_LAYOUT_H_ #define CC_CORE_GFX_PIPELINE_LAYOUT_H_ diff --git a/native/cocos/renderer/core/gfx/GFXPipelineState.cpp b/native/cocos/renderer/core/gfx/GFXPipelineState.cpp index 6cf62e6b9a..71ce53c4e2 100755 --- a/native/cocos/renderer/core/gfx/GFXPipelineState.cpp +++ b/native/cocos/renderer/core/gfx/GFXPipelineState.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXPipelineState.h" diff --git a/native/cocos/renderer/core/gfx/GFXPipelineState.h b/native/cocos/renderer/core/gfx/GFXPipelineState.h index c2f72b7b34..5fdfe9370f 100755 --- a/native/cocos/renderer/core/gfx/GFXPipelineState.h +++ b/native/cocos/renderer/core/gfx/GFXPipelineState.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_PIPELINE_STATE_H_ #define CC_CORE_GFX_PIPELINE_STATE_H_ diff --git a/native/cocos/renderer/core/gfx/GFXQueue.cpp b/native/cocos/renderer/core/gfx/GFXQueue.cpp index ceb98594ee..8a101bc156 100755 --- a/native/cocos/renderer/core/gfx/GFXQueue.cpp +++ b/native/cocos/renderer/core/gfx/GFXQueue.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXQueue.h" diff --git a/native/cocos/renderer/core/gfx/GFXQueue.h b/native/cocos/renderer/core/gfx/GFXQueue.h index b603b3caf8..c07e2d8ed3 100755 --- a/native/cocos/renderer/core/gfx/GFXQueue.h +++ b/native/cocos/renderer/core/gfx/GFXQueue.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_QUEUE_H_ #define CC_CORE_GFX_QUEUE_H_ diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp index b765dabf60..bae7871317 100755 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp +++ b/native/cocos/renderer/core/gfx/GFXRenderPass.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXRenderPass.h" diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.h b/native/cocos/renderer/core/gfx/GFXRenderPass.h index 4ccf96069d..b4fe5789f2 100755 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.h +++ b/native/cocos/renderer/core/gfx/GFXRenderPass.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_RENDER_PASS_H_ #define CC_CORE_GFX_RENDER_PASS_H_ diff --git a/native/cocos/renderer/core/gfx/GFXSampler.cpp b/native/cocos/renderer/core/gfx/GFXSampler.cpp index 1e6d59a80e..12feeb377a 100755 --- a/native/cocos/renderer/core/gfx/GFXSampler.cpp +++ b/native/cocos/renderer/core/gfx/GFXSampler.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXSampler.h" diff --git a/native/cocos/renderer/core/gfx/GFXSampler.h b/native/cocos/renderer/core/gfx/GFXSampler.h index 023f8147c3..be735ee546 100755 --- a/native/cocos/renderer/core/gfx/GFXSampler.h +++ b/native/cocos/renderer/core/gfx/GFXSampler.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_SAMPLER_H_ #define CC_CORE_GFX_SAMPLER_H_ diff --git a/native/cocos/renderer/core/gfx/GFXShader.cpp b/native/cocos/renderer/core/gfx/GFXShader.cpp index d873df24cf..641c1dc9ac 100755 --- a/native/cocos/renderer/core/gfx/GFXShader.cpp +++ b/native/cocos/renderer/core/gfx/GFXShader.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXDevice.h" diff --git a/native/cocos/renderer/core/gfx/GFXShader.h b/native/cocos/renderer/core/gfx/GFXShader.h index 1696c6fbae..7ddce73100 100755 --- a/native/cocos/renderer/core/gfx/GFXShader.h +++ b/native/cocos/renderer/core/gfx/GFXShader.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_SHADER_H_ #define CC_CORE_GFX_SHADER_H_ diff --git a/native/cocos/renderer/core/gfx/GFXTexture.cpp b/native/cocos/renderer/core/gfx/GFXTexture.cpp index 0b173bd8bf..ba7fa8f804 100755 --- a/native/cocos/renderer/core/gfx/GFXTexture.cpp +++ b/native/cocos/renderer/core/gfx/GFXTexture.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXTexture.h" diff --git a/native/cocos/renderer/core/gfx/GFXTexture.h b/native/cocos/renderer/core/gfx/GFXTexture.h index 53822681bf..1376a74052 100755 --- a/native/cocos/renderer/core/gfx/GFXTexture.h +++ b/native/cocos/renderer/core/gfx/GFXTexture.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_TEXTURE_H_ #define CC_CORE_GFX_TEXTURE_H_ diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp b/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp index d3e61da35a..aa455b6225 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "CoreStd.h" #include "GFXQueue.h" @@ -22,7 +47,7 @@ uint TextureBarrier::computeHash(const TextureBarrierInfo &info) { for (const AccessType type : info.nextAccesses) { seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - + seed ^= info.discardContents + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (info.srcQueue ? (uint)info.srcQueue->getType() : 0u) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (info.dstQueue ? (uint)info.dstQueue->getType() : 0u) + 0x9e3779b9 + (seed << 6) + (seed >> 2); diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h index faf256f647..73b8f2adce 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h +++ b/native/cocos/renderer/core/gfx/GFXTextureBarrier.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_CORE_GFX_TEXTURE_BARRIER_H_ #define CC_CORE_GFX_TEXTURE_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h index cd9c726df5..e29e7145a8 100644 --- a/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h +++ b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #pragma once namespace cc { diff --git a/native/cocos/renderer/gfx-gles-common/eglw.cpp b/native/cocos/renderer/gfx-gles-common/eglw.cpp index 6263d13071..9f5e0f5589 100644 --- a/native/cocos/renderer/gfx-gles-common/eglw.cpp +++ b/native/cocos/renderer/gfx-gles-common/eglw.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) #define EGL_EGL_PROTOTYPES 0 #include diff --git a/native/cocos/renderer/gfx-gles-common/eglw.h b/native/cocos/renderer/gfx-gles-common/eglw.h index 5d258c1f15..719ed44931 100644 --- a/native/cocos/renderer/gfx-gles-common/eglw.h +++ b/native/cocos/renderer/gfx-gles-common/eglw.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) diff --git a/native/cocos/renderer/gfx-gles-common/gles2w.cpp b/native/cocos/renderer/gfx-gles-common/gles2w.cpp index 90a5320ff7..febe91e2ba 100644 --- a/native/cocos/renderer/gfx-gles-common/gles2w.cpp +++ b/native/cocos/renderer/gfx-gles-common/gles2w.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #define GL_GLES_PROTOTYPES 0 #include diff --git a/native/cocos/renderer/gfx-gles-common/gles2w.h b/native/cocos/renderer/gfx-gles-common/gles2w.h index b064aea965..54051e3af2 100644 --- a/native/cocos/renderer/gfx-gles-common/gles2w.h +++ b/native/cocos/renderer/gfx-gles-common/gles2w.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once /** diff --git a/native/cocos/renderer/gfx-gles-common/gles3w.cpp b/native/cocos/renderer/gfx-gles-common/gles3w.cpp index b40839dde3..ecb7a82518 100644 --- a/native/cocos/renderer/gfx-gles-common/gles3w.cpp +++ b/native/cocos/renderer/gfx-gles-common/gles3w.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #define GL_GLES_PROTOTYPES 0 #include diff --git a/native/cocos/renderer/gfx-gles-common/gles3w.h b/native/cocos/renderer/gfx-gles-common/gles3w.h index 7e05c2c479..33ee2f8fb1 100644 --- a/native/cocos/renderer/gfx-gles-common/gles3w.h +++ b/native/cocos/renderer/gfx-gles-common/gles3w.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once /** diff --git a/native/cocos/renderer/gfx-gles2/GFXGLES2.h b/native/cocos/renderer/gfx-gles2/GFXGLES2.h index cb7f8ae49a..c6921324eb 100644 --- a/native/cocos/renderer/gfx-gles2/GFXGLES2.h +++ b/native/cocos/renderer/gfx-gles2/GFXGLES2.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_H_ #define CC_GFXGLES2_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp index 81ac19f2c4..7c4ebae2c3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Buffer.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h index c84a0d21d9..e1bd18bb7a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_BUFFER_H_ #define CC_GFXGLES2_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 06351626dc..fce7df896d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Buffer.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index 04501b8db9..b6a571a9cd 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_COMMAND_BUFFER_H_ #define CC_GFXGLES2_COMMAND_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index d9a0dd791b..0f4096a380 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index de05912329..1912c597af 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_COMMANDS_H_ #define CC_GFXGLES2_COMMANDS_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 3e57be4c8e..09b6a8a046 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Context.h" @@ -288,7 +290,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { ((GLES2Device *)_device)->stateCache()->reset(); }); #endif - + if (!gles2wInit()) { return false; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.h b/native/cocos/renderer/gfx-gles2/GLES2Context.h index b491751a07..07f95926d1 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_EGL_CONTEXT_H_ #define CC_GFXGLES2_EGL_CONTEXT_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.mm b/native/cocos/renderer/gfx-gles2/GLES2Context.mm index 040e240603..80270d7eed 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.mm +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Context.h" #include "gles2w.h" @@ -67,7 +69,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { _defaultFBO = sharedCtx->_defaultFBO; _defaultColorBuffer = sharedCtx->_defaultColorBuffer; _defaultDepthStencilBuffer = sharedCtx->_defaultDepthStencilBuffer; - + EAGLContext* eagl_shared_context = (EAGLContext*)sharedCtx->eagl_shared_ctx(); EAGLContext* eagl_context = [[EAGLContext alloc] initWithAPI: [eagl_shared_context API] sharegroup: [eagl_shared_context sharegroup]]; if (!eagl_context) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index 8f5e450d10..9f35a1a26e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Buffer.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h index ca86d4edef..c09340c4d0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_DESCRIPTOR_SET_H_ #define CC_GFXGLES2_DESCRIPTOR_SET_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp index 1b575673f9..25560f9c62 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h index 4308e5a8c1..7ecf9925e0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_DESCRIPTOR_SET_LAYOUT_H_ #define CC_GFXGLES2_DESCRIPTOR_SET_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index e1c64a220b..850df70499 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Buffer.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 85e3e568b6..065e596d9d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_DEVICE_H_ #define CC_GFXGLES2_DEVICE_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp index b7fd3fdbe7..e0ac2e204f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Framebuffer.h" #include "GLES2RenderPass.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h index eecdcbab3c..99fff1bc23 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_FRAMEBUFFER_H_ #define CC_GFXGLES2_FRAMEBUFFER_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index f6563cb2e6..f7e23e1306 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_GPU_OBJECTS_H_ #define CC_GFXGLES2_GPU_OBJECTS_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp index 7c22e96e61..cd51f7d253 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2InputAssembler.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h index 3f83a04574..4797c82e95 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h +++ b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_INPUT_ASSEMBLER_H_ #define CC_GFXGLES2_INPUT_ASSEMBLER_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp index 1218dfbca3..e0ee0464da 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h index aa073d6a7a..9158f9c568 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_PIPELINE_LAYOUT_H_ #define CC_GFXGLES2_PIPELINE_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp index 80306666dd..7f0ca46c01 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h index a6bbad6fc2..d8dcb54c07 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_PIPELINE_STATE_H_ #define CC_GFXGLES2_PIPELINE_STATE_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 36a664a39d..5b08a4ff83 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Buffer.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index 42857f64da..c52e3ac48b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_PRIMARY_COMMAND_BUFFER_H_ #define CC_GFXGLES2_PRIMARY_COMMAND_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index c30d2716b6..dddac8ef63 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Queue.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.h b/native/cocos/renderer/gfx-gles2/GLES2Queue.h index ce5565e72e..0361274836 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_QUEUE_H_ #define CC_GFXGLES2_QUEUE_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp index 3d9a7ed971..9436d08235 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2RenderPass.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h index bc29c40635..fc7121d4eb 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h +++ b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_RENDER_PASS_H_ #define CC_GFXGLES2_RENDER_PASS_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp index b54d61fb7b..8ec35b74b3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Sampler.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Sampler.h b/native/cocos/renderer/gfx-gles2/GLES2Sampler.h index eeaeabfe41..1e93186cdb 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Sampler.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Sampler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_SAMPLER_H_ #define CC_GFXGLES2_SAMPLER_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp index 54cd3ae633..95871ca288 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Shader.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.h b/native/cocos/renderer/gfx-gles2/GLES2Shader.h index 6d303b479f..9e5f161ae9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_SHADER_H_ #define CC_GFXGLES2_SHADER_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Std.cpp b/native/cocos/renderer/gfx-gles2/GLES2Std.cpp index 7f0ed05b99..432486de89 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Std.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Std.cpp @@ -1,24 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Std.h b/native/cocos/renderer/gfx-gles2/GLES2Std.h index 281dbb49dd..d87f550a7d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Std.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Std.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef __CC_GFXGLES2_STD_H__ #define __CC_GFXGLES2_STD_H__ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp index 9bb2e73ecb..24f5fed204 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Std.h" #include "GLES2Texture.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.h b/native/cocos/renderer/gfx-gles2/GLES2Texture.h index 1b4ef8b477..2ec38d8804 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES2_TEXTURE_H_ #define CC_GFXGLES2_TEXTURE_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp index ccd9961e22..1724a263a6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Wrangler.h" #if defined(_WIN32) && !defined(ANDROID) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.h b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.h index 815eb061c6..e8f6136fc2 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.mm b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.mm index c85d2c4c94..a04d76663d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Wrangler.mm +++ b/native/cocos/renderer/gfx-gles2/GLES2Wrangler.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES2Wrangler.h" #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) diff --git a/native/cocos/renderer/gfx-gles3/GFXGLES3.h b/native/cocos/renderer/gfx-gles3/GFXGLES3.h index 4a6d88f7e1..e358b28793 100644 --- a/native/cocos/renderer/gfx-gles3/GFXGLES3.h +++ b/native/cocos/renderer/gfx-gles3/GFXGLES3.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_H_ #define CC_GFXGLES3_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp index 60d4c6ce45..6e74287451 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Buffer.h" @@ -72,7 +74,7 @@ bool GLES3Buffer::initialize(const BufferInfo &info) { GLES3CmdFuncCreateBuffer((GLES3Device *)_device, _gpuBuffer); _device->getMemoryStatus().bufferSize += _size; - + return true; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h index a816a32296..e4ec602fcc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_BUFFER_H_ #define CC_GFXGLES3_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index b7c3a212dd..3934d6dd11 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Buffer.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 76cea5306d..b5c9c04e74 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_COMMAND_BUFFER_H_ #define CC_GFXGLES3_COMMAND_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 739e7851c8..2dc0f0b336 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 3ce1166cac..8c0d378e67 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_COMMANDS_H_ #define CC_GFXGLES3_COMMANDS_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index e1e42d3bb6..efc09794df 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Context.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.h b/native/cocos/renderer/gfx-gles3/GLES3Context.h index 6e14533c7f..7ba1200d05 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_EGL_CONTEXT_H_ #define CC_GFXGLES3_EGL_CONTEXT_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 6d1e1a1e8c..3741102279 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Context.h" @@ -50,7 +52,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { CC_LOG_ERROR("Create EAGL context failed."); return false; } - + _eaglContext = (intptr_t)eagl_context; _eaglSharedContext = (intptr_t)eagl_context; _majorVersion = 3; @@ -72,7 +74,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { CC_LOG_ERROR("Create EGL context with share context [0x%p] failed.", eagl_shared_context); return false; } - + _eaglContext = (intptr_t)eagl_context; _eaglSharedContext = (intptr_t)eagl_shared_context; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index 9df8235ba9..a18767c067 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Buffer.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h index 76b60fce93..d65477f1d6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_DESCRIPTOR_SET_H_ #define CC_GFXGLES3_DESCRIPTOR_SET_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp index 601d94ad8f..a752a86ad9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h index b89b7fc57d..4837ed258f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_DESCRIPTOR_SET_LAYOUT_H_ #define CC_GFXGLES3_DESCRIPTOR_SET_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index e6b59a2325..c60df19eb5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Buffer.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 551f137b4c..a87a700e6f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_DEVICE_H_ #define CC_GFXGLES3_DEVICE_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp index 22b463a56d..e97f4f0cbc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Framebuffer.h" #include "GLES3RenderPass.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h index ccb3307871..9fed3ca03a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_FRAMEBUFFER_H_ #define CC_GFXGLES3_FRAMEBUFFER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 4afd5a3156..6990aaa2ac 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_GPU_OBJECTS_H_ #define CC_GFXGLES3_GPU_OBJECTS_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp index 1832c9a304..0ff0517c56 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "GLES3Std.h" #include "GLES3GPUObjects.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h index a8e8969f66..966b49674b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_GFXGLES3_GLOBAL_BARRIER_H_ #define CC_GFXGLES3_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp index a883adde49..a16f0ddff9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3InputAssembler.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h index 165b083948..a02d750995 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h +++ b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_INPUT_ASSEMBLER_H_ #define CC_GFXGLES3_INPUT_ASSEMBLER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp index 28a6bcda54..1cbc78bfa9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h index f05e67f74a..1d095baac8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_PIPELINE_LAYOUT_H_ #define CC_GFXGLES3_PIPELINE_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp index d7ba57c9e7..5207968ad5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h index ddc1a79ff2..8ae2026a18 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_PIPELINE_STATE_H_ #define CC_GFXGLES3_PIPELINE_STATE_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 2f1ffca039..9e3cdea670 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Buffer.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 634fbffd82..8a2b7b78d7 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_PRIMARY_COMMAND_BUFFER_H_ #define CC_GFXGLES3_PRIMARY_COMMAND_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index 2f1dfac38e..83b9f301d7 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Queue.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.h b/native/cocos/renderer/gfx-gles3/GLES3Queue.h index 08950bcf83..f042649ba0 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_QUEUE_H_ #define CC_GFXGLES3_QUEUE_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp index fc94a1fd6b..98c6b2a30b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3RenderPass.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h index 4ef83598ea..cf65811869 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h +++ b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_RENDER_PASS_H_ #define CC_GFXGLES3_RENDER_PASS_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp index da5344cff9..76735a7cb9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Sampler.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Sampler.h b/native/cocos/renderer/gfx-gles3/GLES3Sampler.h index 070c1b9b15..03a537e79c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Sampler.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Sampler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_SAMPLER_H_ #define CC_GFXGLES3_SAMPLER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp index ec34b1bb70..24139d1c89 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Shader.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.h b/native/cocos/renderer/gfx-gles3/GLES3Shader.h index 0c67aa5487..f4197c1bbe 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_SHADER_H_ #define CC_GFXGLES3_SHADER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Std.cpp b/native/cocos/renderer/gfx-gles3/GLES3Std.cpp index 3ecf526b4b..86ee1990ac 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Std.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Std.cpp @@ -1,24 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Std.h b/native/cocos/renderer/gfx-gles3/GLES3Std.h index cefd910876..77c7b9f0de 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Std.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Std.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp index 7831ea0393..81174caa5b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Std.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.h b/native/cocos/renderer/gfx-gles3/GLES3Texture.h index 68b0220b5c..b4276d5843 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXGLES3_TEXTURE_H_ #define CC_GFXGLES3_TEXTURE_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp index 8879c91465..e0491aadde 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Wrangler.h" #if defined(_WIN32) && !defined(ANDROID) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.h b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.h index 37493a5bf4..fb2b652797 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #if (CC_PLATFORM != CC_PLATFORM_MAC_IOS) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.mm b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.mm index 5805728364..eefd790504 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Wrangler.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Wrangler.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "GLES3Wrangler.h" #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) diff --git a/native/cocos/renderer/gfx-metal/GFXMTL.h b/native/cocos/renderer/gfx-metal/GFXMTL.h index 5c543809fd..694fca2079 100644 --- a/native/cocos/renderer/gfx-metal/GFXMTL.h +++ b/native/cocos/renderer/gfx-metal/GFXMTL.h @@ -1,27 +1,29 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "MTLStd.h" -#include "MTLDevice.h" \ No newline at end of file +#include "MTLDevice.h" diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index 542917aa1a..6ea9e11f38 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #import diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index cbb96562d0..134152e283 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #import diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 0c059c8fad..a8afb42a0f 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "MTLGPUObjects.h" @@ -72,7 +74,7 @@ public: void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; void dispatch(const DispatchInfo &info) override; void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; - + CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index f39a8a87c9..b39dcb99a6 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLBuffer.h" @@ -111,7 +113,7 @@ void CCMTLCommandBuffer::end() { if (_isSecondary) { // Secondary command buffer should end encoding here _commandEncoder.endEncoding(); - + if (_autoreleasePool) { // CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], _autoreleasePool, this); [_autoreleasePool drain]; diff --git a/native/cocos/renderer/gfx-metal/MTLConfig.h b/native/cocos/renderer/gfx-metal/MTLConfig.h index 361da57717..2161f691e2 100644 --- a/native/cocos/renderer/gfx-metal/MTLConfig.h +++ b/native/cocos/renderer/gfx-metal/MTLConfig.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #define MAX_FRAMES_IN_FLIGHT 3 diff --git a/native/cocos/renderer/gfx-metal/MTLContext.h b/native/cocos/renderer/gfx-metal/MTLContext.h index 16df30e873..a56298a699 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.h +++ b/native/cocos/renderer/gfx-metal/MTLContext.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once namespace cc { diff --git a/native/cocos/renderer/gfx-metal/MTLContext.mm b/native/cocos/renderer/gfx-metal/MTLContext.mm index b6bb4e7822..a1f12ac77d 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.mm +++ b/native/cocos/renderer/gfx-metal/MTLContext.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLContext.h" diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h index dc632a12f5..a56d34be41 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index c923a2e2f0..11dbef4a71 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLBuffer.h" diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h index 5d1c4d88b3..e7dbef9539 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm index 9bf8a3ce71..123e4ed181 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLDescriptorSetLayout.h" diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index dc30cfad6c..313ebec66e 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "MTLConfig.h" @@ -62,7 +64,7 @@ public: void resize(uint width, uint height) override; void acquire() override; void present() override; - + void presentCompleted(); void* getCurrentDrawable(); void disposeCurrentDrawable(); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 0f15639f0c..8935c55d03 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLBuffer.h" diff --git a/native/cocos/renderer/gfx-metal/MTLFramebuffer.h b/native/cocos/renderer/gfx-metal/MTLFramebuffer.h index ff532c9214..297fd9e9eb 100644 --- a/native/cocos/renderer/gfx-metal/MTLFramebuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLFramebuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once namespace cc { diff --git a/native/cocos/renderer/gfx-metal/MTLFramebuffer.mm b/native/cocos/renderer/gfx-metal/MTLFramebuffer.mm index 75a7b152e0..ce4f5f40f7 100644 --- a/native/cocos/renderer/gfx-metal/MTLFramebuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLFramebuffer.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLFramebuffer.h" diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index f4c356ed12..d467491955 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/renderer/gfx-metal/MTLInputAssembler.h b/native/cocos/renderer/gfx-metal/MTLInputAssembler.h index 69a3be936b..3d0be9440a 100644 --- a/native/cocos/renderer/gfx-metal/MTLInputAssembler.h +++ b/native/cocos/renderer/gfx-metal/MTLInputAssembler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once namespace cc { diff --git a/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm b/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm index 28180414e4..2f496b3534 100644 --- a/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm +++ b/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLBuffer.h" diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h index 3a02b7aee8..e33e9dac01 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h +++ b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.mm b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.mm index cbf91a3b54..e91bb3b26b 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.mm +++ b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLDescriptorSetLayout.h" diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.h b/native/cocos/renderer/gfx-metal/MTLPipelineState.h index 163378d205..d03a3a0563 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.h +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "MTLGPUObjects.h" diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm index 4bb38ae11f..9ccbb4ccde 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLDevice.h" diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.h b/native/cocos/renderer/gfx-metal/MTLQueue.h index 7aa4eaddd4..ab2fd5cff5 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.h +++ b/native/cocos/renderer/gfx-metal/MTLQueue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once namespace cc { diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.mm b/native/cocos/renderer/gfx-metal/MTLQueue.mm index b5b99d3a04..4e59727eaf 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.mm +++ b/native/cocos/renderer/gfx-metal/MTLQueue.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLQueue.h" @@ -50,7 +52,7 @@ void CCMTLQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { _numInstances += cmdBuffer->getNumInstances(); _numTriangles += cmdBuffer->getNumTris(); id mtlCmdBuffer = cmdBuffer->getMTLCommandBuffer(); - + if (i < count-1) { [mtlCmdBuffer addCompletedHandler:^(id commandBuffer) { [commandBuffer release]; diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index d17aa864dd..b2b15a3ef1 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "MTLStd.h" diff --git a/native/cocos/renderer/gfx-metal/MTLRenderPass.h b/native/cocos/renderer/gfx-metal/MTLRenderPass.h index d874da7d45..5d233159cd 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderPass.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderPass.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #import diff --git a/native/cocos/renderer/gfx-metal/MTLRenderPass.mm b/native/cocos/renderer/gfx-metal/MTLRenderPass.mm index d7ed354e76..66dbadd782 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderPass.mm +++ b/native/cocos/renderer/gfx-metal/MTLRenderPass.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLDevice.h" diff --git a/native/cocos/renderer/gfx-metal/MTLSampler.h b/native/cocos/renderer/gfx-metal/MTLSampler.h index 14fd79248b..d925c493c4 100644 --- a/native/cocos/renderer/gfx-metal/MTLSampler.h +++ b/native/cocos/renderer/gfx-metal/MTLSampler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #import diff --git a/native/cocos/renderer/gfx-metal/MTLSampler.mm b/native/cocos/renderer/gfx-metal/MTLSampler.mm index c46b3a800d..452979a852 100644 --- a/native/cocos/renderer/gfx-metal/MTLSampler.mm +++ b/native/cocos/renderer/gfx-metal/MTLSampler.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLDevice.h" diff --git a/native/cocos/renderer/gfx-metal/MTLSemaphore.h b/native/cocos/renderer/gfx-metal/MTLSemaphore.h index 6ffb21b2e2..b00ce0a505 100644 --- a/native/cocos/renderer/gfx-metal/MTLSemaphore.h +++ b/native/cocos/renderer/gfx-metal/MTLSemaphore.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include @@ -38,11 +40,11 @@ public: CCMTLSemaphore(CCMTLSemaphore &&) = delete; CCMTLSemaphore &operator=(const CCMTLSemaphore &) = delete; CCMTLSemaphore &operator=(CCMTLSemaphore &&) = delete; - + void signal() const { dispatch_semaphore_signal(_semaphore); } - + void wait() const { dispatch_semaphore_wait(_semaphore, DISPATCH_TIME_FOREVER); } diff --git a/native/cocos/renderer/gfx-metal/MTLShader.h b/native/cocos/renderer/gfx-metal/MTLShader.h index f1650231e5..e839b48c7f 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.h +++ b/native/cocos/renderer/gfx-metal/MTLShader.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #import diff --git a/native/cocos/renderer/gfx-metal/MTLShader.mm b/native/cocos/renderer/gfx-metal/MTLShader.mm index 0e38500b8f..a908f78222 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.mm +++ b/native/cocos/renderer/gfx-metal/MTLShader.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLDevice.h" diff --git a/native/cocos/renderer/gfx-metal/MTLStd.cpp b/native/cocos/renderer/gfx-metal/MTLStd.cpp index 27fcd56474..aaf694197e 100644 --- a/native/cocos/renderer/gfx-metal/MTLStd.cpp +++ b/native/cocos/renderer/gfx-metal/MTLStd.cpp @@ -1,24 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" diff --git a/native/cocos/renderer/gfx-metal/MTLStd.h b/native/cocos/renderer/gfx-metal/MTLStd.h index efef6e62c4..830355ae3d 100644 --- a/native/cocos/renderer/gfx-metal/MTLStd.h +++ b/native/cocos/renderer/gfx-metal/MTLStd.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.h b/native/cocos/renderer/gfx-metal/MTLTexture.h index 32872c0dc9..dc0d126ed6 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.h +++ b/native/cocos/renderer/gfx-metal/MTLTexture.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #import diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.mm b/native/cocos/renderer/gfx-metal/MTLTexture.mm index c536338561..294d0cbb25 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.mm +++ b/native/cocos/renderer/gfx-metal/MTLTexture.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLDevice.h" diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.h b/native/cocos/renderer/gfx-metal/MTLUtils.h index 9a6fb818b0..3f88e96bc8 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.h +++ b/native/cocos/renderer/gfx-metal/MTLUtils.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #import diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index fe6cd4dee4..bdd6b4ce0f 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "MTLStd.h" #include "MTLUtils.h" diff --git a/native/cocos/renderer/gfx-vulkan/GFXVulkan.h b/native/cocos/renderer/gfx-vulkan/GFXVulkan.h index 633969e412..d28f979ef4 100644 --- a/native/cocos/renderer/gfx-vulkan/GFXVulkan.h +++ b/native/cocos/renderer/gfx-vulkan/GFXVulkan.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_VK_H_ #define CC_GFXVULKAN_VK_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index 39860a3828..bc302744b0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKBuffer.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.h b/native/cocos/renderer/gfx-vulkan/VKBuffer.h index 70b3275618..6958459e07 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_BUFFER_H_ #define CC_GFXVULKAN_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index b36939c58c..017f0d3f3f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKBuffer.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 776266d758..ae08eca46b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_COMMAND_BUFFER_H_ #define CC_GFXVULKAN_COMMAND_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index bc301dbab3..c6d50dec83 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKBuffer.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index 6773831f57..f04d2be0da 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_COMMANDS_H_ #define CC_GFXVULKAN_COMMANDS_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 3e449ef832..e1f2b454f9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKContext.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.h b/native/cocos/renderer/gfx-vulkan/VKContext.h index c65ad72488..d2588b7db4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.h +++ b/native/cocos/renderer/gfx-vulkan/VKContext.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_CONTEXT_H_ #define CC_GFXVULKAN_CONTEXT_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 9272caf4db..ebb8ef57cd 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKBuffer.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h index 86ce4eb345..9ac0298ccb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_BINDING_LAYOUT_H_ #define CC_GFXVULKAN_BINDING_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp index a3a14169d8..351af60737 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommands.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h index 8dd82ea8fb..4175762ee0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_DESCRIPTOR_SET_LAYOUT_H_ #define CC_GFXVULKAN_DESCRIPTOR_SET_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 73c879c2f1..11a867a319 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "VKStd.h" #include "VKBuffer.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 14efcbc4f6..18ddfd4073 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_DEVICE_H_ #define CC_GFXVULKAN_DEVICE_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp index ad9d995f90..d33a8035ca 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommands.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h index 915581b6d3..473e1f66b5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_FRAMEBUFFER_H_ #define CC_GFXVULKAN_FRAMEBUFFER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 8c33150f87..26134c80dd 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_GPU_OBJECTS_H_ #define CC_GFXVULKAN_GPU_OBJECTS_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp index 90ec0ff741..fe03b5362b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "VKStd.h" #include "VKCommands.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h index 4e0673a2d9..ef727a1aba 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_GFXVULKAN_GLOBAL_BARRIER_H_ #define CC_GFXVULKAN_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp index cac6e4ff6f..16f46d0808 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKBuffer.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h index 232e78531e..576e908823 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_INPUT_ASSEMBLER_H_ #define CC_GFXVULKAN_INPUT_ASSEMBLER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp index 75643d8eca..56c9d2ad21 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommands.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h index e0565cbd3d..fb1e2c8ef7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_PIPELINE_LAYOUT_H_ #define CC_GFXVULKAN_PIPELINE_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index 133f158684..e800bcb3ee 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommands.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h index d2c93ac694..32cde01f18 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_PIPELINE_STATE_H_ #define CC_GFXVULKAN_PIPELINE_STATE_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index b0085cba2a..fe42b3803f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommandBuffer.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.h b/native/cocos/renderer/gfx-vulkan/VKQueue.h index 2059785bce..b09a747199 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.h +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_QUEUE_H_ #define CC_GFXVULKAN_QUEUE_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index 74119f3f1e..2e54944009 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommands.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h index f739bf3d9d..ecc867b73f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_RENDER_PASS_H_ #define CC_GFXVULKAN_RENDER_PASS_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKSPIRV.h b/native/cocos/renderer/gfx-vulkan/VKSPIRV.h index 0163e3e18d..43ca68a6cc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSPIRV.h +++ b/native/cocos/renderer/gfx-vulkan/VKSPIRV.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_SPIRV_H_ #define CC_GFXVULKAN_SPIRV_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp index df358c96c3..f2e2bcb236 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommands.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.h b/native/cocos/renderer/gfx-vulkan/VKSampler.h index e76f1e1ed6..e2f077f9fc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.h +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_SAMPLER_H_ #define CC_GFXVULKAN_SAMPLER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.cpp b/native/cocos/renderer/gfx-vulkan/VKShader.cpp index 61022dfaa3..159b1ddca1 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKShader.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommands.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.h b/native/cocos/renderer/gfx-vulkan/VKShader.h index e6107f92b9..9ea0200dd9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.h +++ b/native/cocos/renderer/gfx-vulkan/VKShader.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_SHADER_H_ #define CC_GFXVULKAN_SHADER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.cpp b/native/cocos/renderer/gfx-vulkan/VKStd.cpp index 0a24f32f40..62541ba7b7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKStd.cpp @@ -1,24 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index 0d3135fc2f..144e9b06e7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef __CC_GFXVULKAN_VK_STD_H__ #define __CC_GFXVULKAN_VK_STD_H__ diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index f25914b4ba..d2916539d4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "VKStd.h" #include "VKCommandBuffer.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.h b/native/cocos/renderer/gfx-vulkan/VKTexture.h index cc5f7171e0..93187da438 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.h +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_TEXTURE_H_ #define CC_GFXVULKAN_TEXTURE_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp index e11be5caed..5f64af774b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #include "VKStd.h" #include "VKGPUObjects.h" diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h index 616f0ce49d..56d04b0de2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + #ifndef CC_GFXVULKAN_TEXTURE_BARRIER_H_ #define CC_GFXVULKAN_TEXTURE_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 3f83eb654f..858d5771ac 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #ifndef CC_GFXVULKAN_UTILS_H_ #define CC_GFXVULKAN_UTILS_H_ diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.cpp b/native/cocos/renderer/pipeline/BatchedBuffer.cpp index 2ec6daf2f5..2fc35c3cab 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.cpp +++ b/native/cocos/renderer/pipeline/BatchedBuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "BatchedBuffer.h" #include "gfx/GFXBuffer.h" #include "gfx/GFXDescriptorSet.h" diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.h b/native/cocos/renderer/pipeline/BatchedBuffer.h index 90330229a7..cf68a9ee9d 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.h +++ b/native/cocos/renderer/pipeline/BatchedBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "Define.h" diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index 0c81b5491f..928da5557c 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "Define.h" #include "cocos/bindings/jswrapper/SeApi.h" #include "gfx/GFXDevice.h" diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index a8388a51b0..f141d5e139 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "../core/CoreStd.h" diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index 2253f48f60..937146ac47 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "InstancedBuffer.h" #include "gfx/GFXBuffer.h" #include "gfx/GFXCommandBuffer.h" diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.h b/native/cocos/renderer/pipeline/InstancedBuffer.h index 9682bc1883..f5331bf6b8 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.h +++ b/native/cocos/renderer/pipeline/InstancedBuffer.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "Define.h" diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.cpp b/native/cocos/renderer/pipeline/PipelineSceneData.cpp index fd01be25fe..208fff5b65 100644 --- a/native/cocos/renderer/pipeline/PipelineSceneData.cpp +++ b/native/cocos/renderer/pipeline/PipelineSceneData.cpp @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "PipelineSceneData.h" @@ -34,7 +35,7 @@ void PipelineSceneData::activate(gfx::Device *device, RenderPipeline *pipeline) { _device = device; _pipeline = pipeline; - + _sphere = CC_NEW(Sphere); } @@ -46,12 +47,12 @@ void PipelineSceneData::setPipelineSharedSceneData(uint handle) void PipelineSceneData::destroy() { CC_SAFE_DELETE(_sphere); - + for (auto &pair : _shadowFrameBufferMap) { pair.second->destroy(); delete pair.second; } - + _shadowFrameBufferMap.clear(); } diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.h b/native/cocos/renderer/pipeline/PipelineSceneData.h index 6504df33de..c889dcb69d 100644 --- a/native/cocos/renderer/pipeline/PipelineSceneData.h +++ b/native/cocos/renderer/pipeline/PipelineSceneData.h @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #pragma once @@ -56,12 +57,12 @@ public: private: RenderObjectList _renderObjects; RenderObjectList _shadowObjects; - + PipelineSharedSceneData *_sharedSceneData = nullptr; RenderPipeline *_pipeline = nullptr; gfx::Device *_device = nullptr; Sphere *_sphere = nullptr; - + std::unordered_map _shadowFrameBufferMap; }; diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.cpp b/native/cocos/renderer/pipeline/PipelineStateManager.cpp index 367a313b4a..c37f813434 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.cpp +++ b/native/cocos/renderer/pipeline/PipelineStateManager.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "PipelineStateManager.h" #include "gfx/GFXDevice.h" #include "gfx/GFXInputAssembler.h" diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.h b/native/cocos/renderer/pipeline/PipelineStateManager.h index ae63748724..215f4975e5 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.h +++ b/native/cocos/renderer/pipeline/PipelineStateManager.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "core/CoreStd.h" diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index c2f9e3276a..1f2f8429eb 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #include "PipelineUBO.h" diff --git a/native/cocos/renderer/pipeline/PipelineUBO.h b/native/cocos/renderer/pipeline/PipelineUBO.h index 8d34b1b0c9..47e8f780d1 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.h +++ b/native/cocos/renderer/pipeline/PipelineUBO.h @@ -1,25 +1,26 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #pragma once @@ -44,7 +45,7 @@ public: static void updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera, bool hasOffScreenAttachments); static void updateShadowUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera); static void updateShadowUBOLightView(const RenderPipeline *pipeline, std::array &bufferView, const Light *light); - + public: PipelineUBO() = default; virtual ~PipelineUBO() = default; @@ -59,7 +60,7 @@ public: private: RenderPipeline *_pipeline = nullptr; gfx::Device *_device = nullptr; - + std::array _globalUBO; std::array _cameraUBO; std::array _shadowUBO; diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index d0d93ee1d2..64d9d73f33 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include #include "PlanarShadowQueue.h" @@ -58,7 +60,7 @@ void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *c const bool shadowVisible = camera->visibility & static_cast(LayerList::DEFAULT); if (!scene->getMainLight() || !shadowVisible) { return; } - + const auto models = scene->getModels(); const auto modelCount = models[0]; auto *instancedBuffer = InstancedBuffer::get(shadowInfo->planarPass); diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.h b/native/cocos/renderer/pipeline/PlanarShadowQueue.h index 0c13faf36d..d40b5d4693 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.h +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "core/CoreStd.h" @@ -58,7 +60,7 @@ public: void gatherShadowPasses(Camera *camera , gfx::CommandBuffer *cmdBufferer); void recordCommandBuffer(gfx::Device *, gfx::RenderPass *, gfx::CommandBuffer *); void destroy(); - + private: RenderPipeline *_pipeline = nullptr; RenderInstancedQueue *_instancedQueue = nullptr; diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index 67f6e8cfb7..f80620c527 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include #include "BatchedBuffer.h" @@ -321,7 +323,7 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf _globalUBO.fill(0.0f); _shadowUBO.fill(0.0f); - + PipelineUBO::updateGlobalUBOView(_pipeline, _globalUBO); PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera, camera->getWindow()->hasOffScreenAttachments); @@ -418,7 +420,7 @@ gfx::DescriptorSet *RenderAdditiveLightQueue::getOrCreateDescriptorSet(const Lig gfx::BufferFlagBit::NONE, }); descriptorSet->bindBuffer(UBOGlobal::BINDING, globalUBO); - + auto cameraUBO = device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h index 24ce6feb87..fa94bbece2 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "core/CoreStd.h" diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp index e38dec2c98..728abc4605 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "RenderBatchedQueue.h" #include "BatchedBuffer.h" #include "PipelineStateManager.h" diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.h b/native/cocos/renderer/pipeline/RenderBatchedQueue.h index fef431240d..3e74c0da28 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.h +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "core/CoreStd.h" diff --git a/native/cocos/renderer/pipeline/RenderFlow.cpp b/native/cocos/renderer/pipeline/RenderFlow.cpp index cacd521070..e0f4039e19 100644 --- a/native/cocos/renderer/pipeline/RenderFlow.cpp +++ b/native/cocos/renderer/pipeline/RenderFlow.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "RenderFlow.h" #include "RenderStage.h" diff --git a/native/cocos/renderer/pipeline/RenderFlow.h b/native/cocos/renderer/pipeline/RenderFlow.h index 742a7f42ce..d38f736b8f 100644 --- a/native/cocos/renderer/pipeline/RenderFlow.h +++ b/native/cocos/renderer/pipeline/RenderFlow.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "Define.h" diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp index feaef93645..7020a99a08 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "RenderInstancedQueue.h" #include "InstancedBuffer.h" #include "PipelineStateManager.h" diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.h b/native/cocos/renderer/pipeline/RenderInstancedQueue.h index d3b2e15c7a..232ab18c9b 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.h +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "core/CoreStd.h" diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index b883e4c630..3aad7b5038 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "RenderPipeline.h" #include "RenderFlow.h" #include "gfx/GFXCommandBuffer.h" @@ -126,7 +128,7 @@ bool RenderPipeline::activate() { _descriptorSet = _device->createDescriptorSet({_descriptorSetLayout}); _pipelineUBO->activate(_device, this); _pipelineSceneData->activate(_device, this); - + for (const auto flow : _flows) flow->activate(this); diff --git a/native/cocos/renderer/pipeline/RenderPipeline.h b/native/cocos/renderer/pipeline/RenderPipeline.h index 5dffd4f0d5..0afb1704e9 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.h +++ b/native/cocos/renderer/pipeline/RenderPipeline.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "../core/CoreStd.h" @@ -56,7 +58,7 @@ public: virtual void destroy(); virtual bool initialize(const RenderPipelineInfo &info); virtual void render(const vector &cameras); - + void setPipelineSharedSceneData(uint handle); CC_INLINE const RenderFlowList &getFlows() const { return _flows; } diff --git a/native/cocos/renderer/pipeline/RenderQueue.cpp b/native/cocos/renderer/pipeline/RenderQueue.cpp index cefb2b778d..35fede71ca 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderQueue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "RenderQueue.h" #include "PipelineStateManager.h" #include "gfx/GFXCommandBuffer.h" diff --git a/native/cocos/renderer/pipeline/RenderQueue.h b/native/cocos/renderer/pipeline/RenderQueue.h index 85c15a1eb7..6dbf69bcdf 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.h +++ b/native/cocos/renderer/pipeline/RenderQueue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "Define.h" diff --git a/native/cocos/renderer/pipeline/RenderStage.cpp b/native/cocos/renderer/pipeline/RenderStage.cpp index decdd11a14..d6a043d81e 100644 --- a/native/cocos/renderer/pipeline/RenderStage.cpp +++ b/native/cocos/renderer/pipeline/RenderStage.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "RenderStage.h" #include "RenderQueue.h" #include "gfx/GFXDevice.h" @@ -28,7 +30,7 @@ namespace cc { namespace pipeline { RenderStage::RenderStage() :_device(gfx::Device::getInstance()){ - + } RenderStage::~RenderStage() { diff --git a/native/cocos/renderer/pipeline/RenderStage.h b/native/cocos/renderer/pipeline/RenderStage.h index 9e2255d86b..3d7a805e21 100644 --- a/native/cocos/renderer/pipeline/RenderStage.h +++ b/native/cocos/renderer/pipeline/RenderStage.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "Define.h" diff --git a/native/cocos/renderer/pipeline/SceneCulling.cpp b/native/cocos/renderer/pipeline/SceneCulling.cpp index d182bc956d..df654197fc 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/SceneCulling.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include #include @@ -165,7 +167,7 @@ void shadowCollecting(RenderPipeline *pipeline, Camera *camera) { castBoundsInitialized = false; RenderObjectList shadowObjects; - + const auto models = scene->getModels(); const auto modelCount = models[0]; for (size_t i = 1; i <= modelCount; i++) { diff --git a/native/cocos/renderer/pipeline/SceneCulling.h b/native/cocos/renderer/pipeline/SceneCulling.h index 193e097b8b..5845dc924d 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.h +++ b/native/cocos/renderer/pipeline/SceneCulling.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "pipeline/Define.h" diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp index db2a10b089..b012cf99fa 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include #include "BatchedBuffer.h" @@ -51,7 +53,7 @@ ShadowMapBatchedQueue::ShadowMapBatchedQueue(ForwardPipeline *pipeline) void ShadowMapBatchedQueue::gatherLightPasses(const Light *light, gfx::CommandBuffer *cmdBufferer) { clear(); - + const auto *sceneData = _pipeline->getPipelineSceneData(); const auto *shadowInfo = sceneData->getSharedData()->getShadows(); const auto &shadowObjects = sceneData->getShadowObjects(); diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h index bed2a0f5ec..8af97faaf5 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 401015603c..3f98afde78 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #include "DeferredPipeline.h" #include "../helper/SharedMemory.h" diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h index a2d1661322..8ec8876102 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #pragma once @@ -56,7 +56,7 @@ public: virtual void render(const vector &cameras) override; gfx::RenderPass *getOrCreateRenderPass(gfx::ClearFlags clearFlags); - + CC_INLINE gfx::Buffer *getLightsUBO() const { return _lightsUBO; } CC_INLINE const LightList &getValidLights() const { return _validLights; } CC_INLINE const gfx::BufferList &getLightBuffers() const { return _lightBuffers; } diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp index caac0d87f1..44558f0606 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #include "GbufferFlow.h" #include "DeferredPipeline.h" @@ -130,7 +130,7 @@ void GbufferFlow::activate(RenderPipeline *pipeline) { RenderFlow::activate(pipeline); gfx::Device *device = pipeline->getDevice(); - if (device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || + if (device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { _width = device->getWidth(); _height = device->getHeight(); @@ -184,4 +184,4 @@ void GbufferFlow::destroy() { } } // namespace pipeline -} // namespace cc \ No newline at end of file +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.h b/native/cocos/renderer/pipeline/deferred/GbufferFlow.h index 8321d0d06f..f4775142b1 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.h +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.h @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #pragma once diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp index c0a8979d45..baf5ff5fda 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #include "GbufferStage.h" #include "GbufferFlow.h" diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.h b/native/cocos/renderer/pipeline/deferred/GbufferStage.h index 4afd61c75a..a4ed588771 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.h +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.h @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #pragma once @@ -60,4 +60,4 @@ private: }; } // namespace pipeline -} // namespace cc \ No newline at end of file +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp index 84780fc490..df3057c1fe 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #include "LightingFlow.h" #include "DeferredPipeline.h" @@ -113,7 +113,7 @@ void LightingFlow::activate(RenderPipeline *pipeline) { } const auto device = pipeline->getDevice(); - if (device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || + if (device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { _width = device->getWidth(); _height = device->getHeight(); diff --git a/native/cocos/renderer/pipeline/deferred/LightingFlow.h b/native/cocos/renderer/pipeline/deferred/LightingFlow.h index b5cc6d217e..5fb59922f8 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingFlow.h +++ b/native/cocos/renderer/pipeline/deferred/LightingFlow.h @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #pragma once diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp index 3f374fc41d..4d3bb95aea 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #include "LightingStage.h" #include "LightingFlow.h" diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.h b/native/cocos/renderer/pipeline/deferred/LightingStage.h index cadbc2c02f..afd9324825 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.h +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.h @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #pragma once diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp index 168efdb69e..9c8057d939 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #include "PostprocessStage.h" #include "DeferredPipeline.h" @@ -87,4 +87,4 @@ void PostprocessStage::render(Camera *camera) { cmdBf->endRenderPass(); } } // namespace pipeline -} // namespace cc \ No newline at end of file +} // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h index 89aadc2fc3..9ad6e30c6f 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h @@ -1,7 +1,7 @@ -/* - Copyright (c) Huawei Technologies Co., Ltd. 2020-2021. +/**************************************************************************** + Copyright (c) 2020-2021 Huawei Technologies Co., Ltd. - https://www.cocos.com/ + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ +****************************************************************************/ #pragma once @@ -47,4 +47,4 @@ private: static RenderStageInfo _initInfo; }; } // namespace pipeline -} // namespace cc \ No newline at end of file +} // namespace cc diff --git a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp index bfba1137fa..0d7ae5c8ea 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "ForwardFlow.h" #include "ForwardPipeline.h" #include "ForwardStage.h" diff --git a/native/cocos/renderer/pipeline/forward/ForwardFlow.h b/native/cocos/renderer/pipeline/forward/ForwardFlow.h index 0dc8a64336..7a775e0ffb 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardFlow.h +++ b/native/cocos/renderer/pipeline/forward/ForwardFlow.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "../RenderFlow.h" @@ -37,7 +39,7 @@ public: ForwardFlow() = default; virtual ~ForwardFlow(); - + virtual bool initialize(const RenderFlowInfo &info) override; virtual void activate(RenderPipeline *pipeline) override; virtual void destroy() override; diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index dce0cdda4c..01d61c8c6f 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "ForwardPipeline.h" #include "../shadow/ShadowFlow.h" #include "ForwardFlow.h" @@ -135,7 +137,7 @@ void ForwardPipeline::render(const vector &cameras) { bool ForwardPipeline::activeRenderer() { _commandBuffers.push_back(_device->getCommandBuffer()); const auto sharedData = _pipelineSceneData->getSharedData(); - + gfx::SamplerInfo info{ gfx::Filter::LINEAR, gfx::Filter::LINEAR, diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h index 1a35db375c..0a221d4aa5 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include @@ -52,7 +54,7 @@ public: virtual void render(const vector &cameras) override; gfx::RenderPass *getOrCreateRenderPass(gfx::ClearFlags clearFlags); - + CC_INLINE gfx::Buffer *getLightsUBO() const { return _lightsUBO; } CC_INLINE const LightList &getValidLights() const { return _validLights; } CC_INLINE const gfx::BufferList &getLightBuffers() const { return _lightBuffers; } diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp index 400738cf85..1bfbe33531 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "ForwardStage.h" #include "../BatchedBuffer.h" #include "../InstancedBuffer.h" @@ -205,7 +207,7 @@ void ForwardStage::render(Camera *camera) { _planarShadowQueue->recordCommandBuffer(_device, renderPass, cmdBuff); _renderQueues[1]->recordCommandBuffer(_device, renderPass, cmdBuff); _uiPhase->render(camera, renderPass); - + cmdBuff->endRenderPass(); } diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.h b/native/cocos/renderer/pipeline/forward/ForwardStage.h index b75e283320..e516f3a0e7 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.h +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "../RenderStage.h" diff --git a/native/cocos/renderer/pipeline/forward/UIPhase.cpp b/native/cocos/renderer/pipeline/forward/UIPhase.cpp index e7c43fbce7..0c90a48133 100644 --- a/native/cocos/renderer/pipeline/forward/UIPhase.cpp +++ b/native/cocos/renderer/pipeline/forward/UIPhase.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "UIPhase.h" #include "ForwardPipeline.h" #include "pipeline/PipelineStateManager.h" diff --git a/native/cocos/renderer/pipeline/forward/UIPhase.h b/native/cocos/renderer/pipeline/forward/UIPhase.h index 396dbcbfb7..e3a8337008 100644 --- a/native/cocos/renderer/pipeline/forward/UIPhase.h +++ b/native/cocos/renderer/pipeline/forward/UIPhase.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "pipeline/RenderPipeline.h" @@ -39,5 +41,3 @@ protected: } } - - diff --git a/native/cocos/renderer/pipeline/helper/DefineMap.cpp b/native/cocos/renderer/pipeline/helper/DefineMap.cpp index 8354186ea7..d12bac9264 100644 --- a/native/cocos/renderer/pipeline/helper/DefineMap.cpp +++ b/native/cocos/renderer/pipeline/helper/DefineMap.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "DefineMap.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/helper/DefineMap.h b/native/cocos/renderer/pipeline/helper/DefineMap.h index 492db95a15..e922b6c837 100644 --- a/native/cocos/renderer/pipeline/helper/DefineMap.h +++ b/native/cocos/renderer/pipeline/helper/DefineMap.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "../../core/CoreStd.h" diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp index 512fdfa8f6..77e8b86798 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "SharedMemory.h" #include "../math/MathUtil.h" #include "renderer/core/gfx/GFXDef.h" diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index 144844ca89..d4afbbc09d 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "renderer/core/CoreStd.h" @@ -317,12 +319,12 @@ struct CC_DLL UIBatch { uint32_t shaderID[4] = {0, 0, 0, 0}; uint32_t descriptorSetID = 0; uint32_t inputAssemblerID = 0; - + CC_INLINE const PassView *getPassView(uint idx) const { return GET_PASS(passID[idx]); } CC_INLINE gfx::Shader *getShader(uint idx) const { return GET_SHADER(shaderID[idx]); } CC_INLINE gfx::DescriptorSet *getDescriptorSet() const { return GET_DESCRIPTOR_SET(descriptorSetID); } CC_INLINE gfx::InputAssembler *getInputAssembler() const { return GET_IA(inputAssemblerID); } - + const static se::PoolType type; }; @@ -388,7 +390,7 @@ struct CC_DLL Camera { CC_INLINE const Scene *getScene() const { return GET_SCENE(sceneID); } CC_INLINE const Frustum *getFrustum() const { return GET_FRUSTUM(frustumID); } CC_INLINE const RenderWindow *getWindow() const { return GET_WINDOW(windowID); } - + const static se::PoolType type; }; @@ -489,7 +491,7 @@ struct CC_DLL PipelineSharedSceneData { uint32_t deferredLightPassShader = 0; uint32_t deferredPostPass = 0; uint32_t deferredPostPassShader = 0; - + CC_INLINE Shadows* getShadows() const {return GET_SHADOWS(shadow);} CC_INLINE Skybox* getSkybox() const {return GET_SKYBOX(skybox);} CC_INLINE Ambient* getAmbient() const {return GET_AMBIENT(ambient);} diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index dd2f9019eb..b635a922b1 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "ShadowFlow.h" #include "../Define.h" diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h index b62992c0b2..40f0d53798 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "../RenderFlow.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp index da6a8ac79c..6aa40895b3 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #include "ShadowStage.h" #include "../Define.h" #include "../ShadowMapBatchedQueue.h" @@ -91,7 +93,7 @@ void ShadowStage::render(Camera *camera) { cmdBuffer->endRenderPass(); } -void ShadowStage::destroy() { +void ShadowStage::destroy() { CC_SAFE_DESTROY(_additiveShadowQueue); RenderStage::destroy(); diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.h b/native/cocos/renderer/pipeline/shadow/ShadowStage.h index 1ce50a6368..db1d918c10 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.h @@ -1,26 +1,28 @@ /**************************************************************************** -Copyright (c) 2020 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ + #pragma once #include "../RenderStage.h" diff --git a/native/cocos/storage/local-storage/LocalStorage-android.cpp b/native/cocos/storage/local-storage/LocalStorage-android.cpp index 80f4e21db0..6fd6fda860 100644 --- a/native/cocos/storage/local-storage/LocalStorage-android.cpp +++ b/native/cocos/storage/local-storage/LocalStorage-android.cpp @@ -1,19 +1,22 @@ -/*************************************************************************** +/**************************************************************************** Copyright (c) 2012 Zynga Inc. Copyright (c) 2013 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologic Inc. Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -22,7 +25,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -***************************************************************************/ +****************************************************************************/ /* Local Storage support for the JS Bindings for iOS. diff --git a/native/cocos/storage/local-storage/LocalStorage.cpp b/native/cocos/storage/local-storage/LocalStorage.cpp index 104fc6bcb3..deb02fea7f 100644 --- a/native/cocos/storage/local-storage/LocalStorage.cpp +++ b/native/cocos/storage/local-storage/LocalStorage.cpp @@ -1,3 +1,28 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + /* Copyright (c) 2012 - Zynga Inc. diff --git a/native/cocos/storage/local-storage/LocalStorage.h b/native/cocos/storage/local-storage/LocalStorage.h index 7b24316283..0d59daf174 100644 --- a/native/cocos/storage/local-storage/LocalStorage.h +++ b/native/cocos/storage/local-storage/LocalStorage.h @@ -1,27 +1,28 @@ /**************************************************************************** -Copyright (c) 2012 Zynga Inc. -Copyright (c) 2013-2016 Chukong Technologies Inc. -Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2012 Zynga Inc. + Copyright (c) 2013-2016 Chukong Technologies Inc. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. -http://www.cocos2d-x.org + http://www.cocos.com -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. ****************************************************************************/ #ifndef __JSB_LOCALSTORAGE_H diff --git a/native/cocos/ui/edit-box/EditBox-android.cpp b/native/cocos/ui/edit-box/EditBox-android.cpp index 75053f5dc0..7ecf3ef9ec 100644 --- a/native/cocos/ui/edit-box/EditBox-android.cpp +++ b/native/cocos/ui/edit-box/EditBox-android.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com - http://www.cocos2d-x.org - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "cocos/bindings/event/EventDispatcher.h" #include "platform/Application.h" diff --git a/native/cocos/ui/edit-box/EditBox-ios.mm b/native/cocos/ui/edit-box/EditBox-ios.mm index 0d37b75c24..82668d5055 100644 --- a/native/cocos/ui/edit-box/EditBox-ios.mm +++ b/native/cocos/ui/edit-box/EditBox-ios.mm @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "EditBox.h" #include "platform/Application.h" #include "cocos/bindings/jswrapper/SeApi.h" diff --git a/native/cocos/ui/edit-box/EditBox-mac.mm b/native/cocos/ui/edit-box/EditBox-mac.mm index 3310f1d64e..e388c0367c 100644 --- a/native/cocos/ui/edit-box/EditBox-mac.mm +++ b/native/cocos/ui/edit-box/EditBox-mac.mm @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "EditBox.h" #include "platform/Application.h" #include "cocos/bindings/jswrapper/SeApi.h" diff --git a/native/cocos/ui/edit-box/EditBox-win32.cpp b/native/cocos/ui/edit-box/EditBox-win32.cpp index 2f3446f26b..a3f55fb458 100644 --- a/native/cocos/ui/edit-box/EditBox-win32.cpp +++ b/native/cocos/ui/edit-box/EditBox-win32.cpp @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. - - http://www.cocos2d-x.org - + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #include "EditBox.h" #include "platform/Application.h" #include "platform/win32/View-win32.h" diff --git a/native/cocos/ui/edit-box/EditBox.h b/native/cocos/ui/edit-box/EditBox.h index 0228c0e987..668202f599 100644 --- a/native/cocos/ui/edit-box/EditBox.h +++ b/native/cocos/ui/edit-box/EditBox.h @@ -1,18 +1,19 @@ /**************************************************************************** - Copyright (c) 2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2018-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com - http://www.cocos2d-x.org - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -20,7 +21,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ + #pragma once #include diff --git a/native/cocos/ui/videoplayer/VideoPlayer-android.cpp b/native/cocos/ui/videoplayer/VideoPlayer-android.cpp index ead08fad23..5b74b818cc 100644 --- a/native/cocos/ui/videoplayer/VideoPlayer-android.cpp +++ b/native/cocos/ui/videoplayer/VideoPlayer-android.cpp @@ -1,17 +1,19 @@ /**************************************************************************** Copyright (c) 2014 Chukong Technologies Inc. + Copyright (c) undefined-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "VideoPlayer.h" diff --git a/native/cocos/ui/videoplayer/VideoPlayer-ios.mm b/native/cocos/ui/videoplayer/VideoPlayer-ios.mm index f2c6615665..f236619379 100644 --- a/native/cocos/ui/videoplayer/VideoPlayer-ios.mm +++ b/native/cocos/ui/videoplayer/VideoPlayer-ios.mm @@ -1,17 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. + Copyright (c) 2016-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "VideoPlayer.h" diff --git a/native/cocos/ui/videoplayer/VideoPlayer.h b/native/cocos/ui/videoplayer/VideoPlayer.h index f1ae8704c7..50868c0ab0 100644 --- a/native/cocos/ui/videoplayer/VideoPlayer.h +++ b/native/cocos/ui/videoplayer/VideoPlayer.h @@ -1,17 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. + Copyright (c) 2016-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -20,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/ui/webview/WebView-inl.h b/native/cocos/ui/webview/WebView-inl.h index 004e3793a5..543c8735be 100644 --- a/native/cocos/ui/webview/WebView-inl.h +++ b/native/cocos/ui/webview/WebView-inl.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include "WebView.h" #include "platform/FileUtils.h" diff --git a/native/cocos/ui/webview/WebView.h b/native/cocos/ui/webview/WebView.h index 0575d85b08..e2ae641466 100644 --- a/native/cocos/ui/webview/WebView.h +++ b/native/cocos/ui/webview/WebView.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/ui/webview/WebViewImpl-android.cpp b/native/cocos/ui/webview/WebViewImpl-android.cpp index 77515c26de..a8f1770e09 100644 --- a/native/cocos/ui/webview/WebViewImpl-android.cpp +++ b/native/cocos/ui/webview/WebViewImpl-android.cpp @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #include #include diff --git a/native/cocos/ui/webview/WebViewImpl-android.h b/native/cocos/ui/webview/WebViewImpl-android.h index f7b73033b8..7fbe30c5af 100644 --- a/native/cocos/ui/webview/WebViewImpl-android.h +++ b/native/cocos/ui/webview/WebViewImpl-android.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #pragma once diff --git a/native/cocos/ui/webview/WebViewImpl-ios.h b/native/cocos/ui/webview/WebViewImpl-ios.h index 05ac2ec307..6af385e3d7 100644 --- a/native/cocos/ui/webview/WebViewImpl-ios.h +++ b/native/cocos/ui/webview/WebViewImpl-ios.h @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ #ifndef __COCOS2D_UI_WEBVIEWIMPL_IOS_H_ #define __COCOS2D_UI_WEBVIEWIMPL_IOS_H_ diff --git a/native/cocos/ui/webview/WebViewImpl-ios.mm b/native/cocos/ui/webview/WebViewImpl-ios.mm index 3041b6e1ae..a525eff0d5 100644 --- a/native/cocos/ui/webview/WebViewImpl-ios.mm +++ b/native/cocos/ui/webview/WebViewImpl-ios.mm @@ -1,18 +1,19 @@ /**************************************************************************** Copyright (c) 2014-2016 Chukong Technologies Inc. - Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - http://www.cocos2d-x.org + http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, @@ -21,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ****************************************************************************/ +****************************************************************************/ // Webview not available on tvOS #if (USE_WEBVIEW > 0) && (CC_PLATFORM == CC_PLATFORM_MAC_IOS) diff --git a/native/external/config.json b/native/external/config.json index bdab934bff..412337e7c8 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,9 +1,9 @@ { - "version": "v3d-gfx-29", + "version": "v3d-gfx-31", "from": { "type": "github", "owner": "cocos-creator", - "name": "cocos2d-x-lite-external", - "checkout": "v3d-gfx-29" + "name": "engine-native-external", + "checkout": "v3d-gfx-31" } } diff --git a/native/tools/license-upgrader/generate.js b/native/tools/license-upgrader/generate.js new file mode 100644 index 0000000000..27eaf5c473 --- /dev/null +++ b/native/tools/license-upgrader/generate.js @@ -0,0 +1,109 @@ +const fs = require('fs'); +const fsJetpack = require('fs-jetpack'); + +const ignoreList = [ + 'cocos/renderer/gfx-vulkan/volk.h', + 'cocos/renderer/gfx-vulkan/volk.c', + 'cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h', + 'cocos/renderer/gfx-vulkan/vk_mem_alloc.h', + 'cocos/network/Uri.h', + 'cocos/network/Uri.cpp', + 'cocos/platform/win32/inet_pton_mingw.h', + 'cocos/platform/win32/inet_pton_mingw.cpp', + // directories + 'cocos/editor-support/dragonbones', + 'cocos/editor-support/spine', + 'cocos/audio/android/', + 'cocos/math/', + 'cocos/renderer/pipeline/deferred/', + 'cocos/bindings/jswrapper/v8/debugger/', + 'cocos/bindings/auto/', +]; + +const genHeader = (history) => { + let output = `/****************************************************************************\n`; + + for (const info of history) { + const period = info.period[1] ? `${info.period[0]}-${info.period[1]}` : info.period[0]; + output += ` Copyright (c) ${period} ${info.owner}\n`; + } + + output += ` + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/\n\n`; + + return output; +} + + +const headerRE = /\/\*{5,}.*?\*{5,}\/\s*/s; +const ownerRE = /^\s*Copyright\s*\(c\)\s*([0-9]+)(?:-([0-9]+))?\s*(.*)/gm; +const curYear = new Date().getFullYear(); +const companyName = 'Xiamen Yaji Software Co., Ltd.'; +const update = (path) => { + const cmpPath = path.replace(/\\/g, '/'); + if (ignoreList.some((p) => cmpPath.includes(p))) return; + + let content = fs.readFileSync(path, { encoding: 'utf8' }); + const history = []; + + let hasLicense = false; + const headerCap = content.match(headerRE); + if (headerCap) { + content = content.slice(headerCap.index + headerCap[0].length); + // extract + let ownerCap = ownerRE.exec(headerCap[0]); + while (ownerCap) { + history.push({ period: [ownerCap[1], ownerCap[2]], owner: ownerCap[3] }); + ownerCap = ownerRE.exec(headerCap[0]); + } + if (history.length) { + // update + hasLicense = true; + let ownerUpToDate = false; + for (const info of history) { + if (info.owner === companyName) { + if (Number.parseInt(info.period[0]) !== curYear) { + info.period[1] = curYear; + } + ownerUpToDate = true; + } + } + if (!ownerUpToDate) { + const lastValidYear = history[history.length - 1].period[1]; + history.push({ period: [lastValidYear, curYear], owner: companyName }); + } + } + } + + // caveat: we don't actually know when exactly these files are created + // so the beginning year may not be accurate + // can be overriden manually anytime + if (!hasLicense) { + history.push({ period: [curYear], owner: companyName }); + } + + fs.writeFileSync(path, genHeader(history) + content); +}; + +const files = fsJetpack.find(`${__dirname}/../../cocos`, { matching: ['**/*.h', '**/*.cpp', '**/*.mm'] }); +for (const path of files) update(path); From 18d3aa40a7d3304f6324064f969dcdba90384202 Mon Sep 17 00:00:00 2001 From: minggo Date: Fri, 5 Feb 2021 16:28:35 +0800 Subject: [PATCH 149/270] fix merge error --- .../pipeline/ShadowMapBatchedQueue.cpp | 59 ----- .../pipeline/forward/ForwardPipeline.cpp | 207 +----------------- .../renderer/pipeline/shadow/ShadowFlow.cpp | 8 +- 3 files changed, 5 insertions(+), 269 deletions(-) diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp index 39dd44d4c5..ca420aecad 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp @@ -146,65 +146,6 @@ void ShadowMapBatchedQueue::destroy() { _buffer = nullptr; } -void ShadowMapBatchedQueue::updateUBOs(const Light *light, gfx::CommandBuffer *cmdBufferer) const { - const auto *shadowInfo = _pipeline->getShadows(); - auto shadowUBO = _pipeline->getShadowUBO(); - auto *device = gfx::Device::getInstance(); - - switch (light->getType()) { - case LightType::DIRECTIONAL: { - cc::Mat4 matShadowCamera; - - float x = 0.0f, y = 0.0f, farClamp = 0.0f; - if (shadowInfo->autoAdapt) { - Vec3 tmpCenter; - getShadowWorldMatrix(_pipeline->getSphere(), light->getNode()->worldRotation, light->direction, matShadowCamera, tmpCenter); - - const auto radius = _pipeline->getSphere()->radius; - x = radius * shadowInfo->aspect; - y = radius; - - const float halfFar = tmpCenter.distance(_pipeline->getSphere()->center); - farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); - } else { - matShadowCamera = light->getNode()->worldMatrix; - - x = shadowInfo->orthoSize * shadowInfo->aspect; - y = shadowInfo->orthoSize; - - farClamp = shadowInfo->farValue; - } - - const auto matShadowView = matShadowCamera.getInversed(); - - cc::Mat4 matShadowViewProj; - const auto projectionSinY = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); - Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getClipSpaceMinZ(), projectionSinY, &matShadowViewProj); - - matShadowViewProj.multiply(matShadowView); - memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - } break; - case LightType::SPOT: { - const auto &matShadowCamera = light->getNode()->worldMatrix; - - const auto matShadowView = matShadowCamera.getInversed(); - - cc::Mat4 matShadowViewProj; - cc::Mat4::createPerspective(light->spotAngle, light->aspect, 0.001f, light->range, &matShadowViewProj); - - matShadowViewProj.multiply(matShadowView); - memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - } break; - default: break; - } - - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; - memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); - memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); - - cmdBufferer->updateBuffer(_pipeline->getDescriptorSet()->getBuffer(UBOShadow::BINDING), shadowUBO.data(), UBOShadow::SIZE); -} - int ShadowMapBatchedQueue::getShadowPassIndex(const ModelView *model) const { const auto subModelArrayID = model->getSubModelID(); const auto count = subModelArrayID[0]; diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index f728cad678..51cca5b320 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -131,214 +131,9 @@ void ForwardPipeline::render(const vector &cameras) { _device->getQueue()->submit(_commandBuffers); } -void ForwardPipeline::updateCameraUBO(Camera *camera) { - const auto scene = camera->getScene(); - const Light *mainLight = nullptr; - if (scene->mainLightID) mainLight = scene->getMainLight(); - const auto ambient = _ambient; - const auto fog = _fog; - - auto *device = gfx::Device::getInstance(); - auto &uboCameraView = _cameraUBO; - - const auto shadingWidth = std::floor(_device->getWidth()); - const auto shadingHeight = std::floor(_device->getHeight()); - - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = camera->width / shadingWidth * _shadingScale; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1] = camera->height / shadingHeight * _shadingScale; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 2] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET]; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 3] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1]; - - const auto exposure = camera->exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET] = exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 1] = 1.0f / exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 2] = _isHDR ? 1.0f : 0.0; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 3] = _fpScale / exposure; - - if (mainLight) { - TO_VEC3(uboCameraView, mainLight->direction, UBOCamera::MAIN_LIT_DIR_OFFSET); - TO_VEC3(uboCameraView, mainLight->color, UBOCamera::MAIN_LIT_COLOR_OFFSET); - if (mainLight->useColorTemperature) { - const auto colorTempRGB = mainLight->colorTemperatureRGB; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET] *= colorTempRGB.x; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 1] *= colorTempRGB.y; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 2] *= colorTempRGB.z; - } - - if (_isHDR) { - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 3] = mainLight->luminance * _fpScale; - } else { - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 3] = mainLight->luminance * exposure; - } - } else { - TO_VEC3(uboCameraView, Vec3::UNIT_Z, UBOCamera::MAIN_LIT_DIR_OFFSET); - TO_VEC4(uboCameraView, Vec4::ZERO, UBOCamera::MAIN_LIT_COLOR_OFFSET); - } - - Vec4 skyColor = ambient->skyColor; - if (_isHDR) { - skyColor.w = ambient->skyIllum * _fpScale; - } else { - skyColor.w = ambient->skyIllum * exposure; - } - TO_VEC4(uboCameraView, skyColor, UBOCamera::AMBIENT_SKY_OFFSET); - - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET] = ambient->groundAlbedo.x; - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 1] = ambient->groundAlbedo.y; - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 2] = ambient->groundAlbedo.z; - const auto envmap = _descriptorSet->getTexture((uint)PipelineGlobalBindings::SAMPLER_ENVIRONMENT); - if (envmap) uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = envmap->getLevelCount(); - - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_OFFSET, camera->matView.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_INV_OFFSET, camera->getNode()->worldMatrix.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProj.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInv.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProj.m, sizeof(cc::Mat4)); - memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInv.m, sizeof(cc::Mat4)); - TO_VEC3(uboCameraView, camera->position, UBOCamera::CAMERA_POS_OFFSET); - - auto projectionSignY = _device->getScreenSpaceSignY(); - if (camera->getWindow()->hasOffScreenAttachments) { - projectionSignY *= _device->getUVSpaceSignY(); // need flipping if drawing on render targets - } - uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = projectionSignY; - - if (fog->enabled) { - TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); - - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; - - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; - } - - // update ubos - _commandBuffers[0]->updateBuffer(_descriptorSet->getBuffer(UBOCamera::BINDING), _cameraUBO.data(), UBOCamera::SIZE); -} - -void ForwardPipeline::updateShadowUBO(Camera *camera) { - const auto scene = camera->getScene(); - const Light *mainLight = nullptr; - if (scene->mainLightID) mainLight = scene->getMainLight(); - auto *device = gfx::Device::getInstance(); - const auto shadowInfo = _shadows; - if (shadowInfo->enabled) { - if (mainLight && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { - if (_shadowFrameBufferMap.count(mainLight) > 0) { - auto *texture = _shadowFrameBufferMap.at(mainLight)->getColorTextures()[0]; - if (texture) { - _descriptorSet->bindTexture(SHADOWMAP::BINDING, texture); - } - } - - const auto node = mainLight->getNode(); - cc::Mat4 matShadowCamera; - - // light proj - float x = 0.0f, y = 0.0f, farClamp = 0.0f; - if (shadowInfo->autoAdapt) { - Vec3 tmpCenter; - getShadowWorldMatrix(_sphere, node->worldRotation, mainLight->direction, matShadowCamera, tmpCenter); - - const float radius = _sphere->radius; - x = radius * shadowInfo->aspect; - y = radius; - - const float halfFar = tmpCenter.distance(_sphere->center); - farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); - } else { - matShadowCamera = mainLight->getNode()->worldMatrix; - - x = shadowInfo->orthoSize * shadowInfo->aspect; - y = shadowInfo->orthoSize; - - farClamp = shadowInfo->farValue; - } - - const auto matShadowView = matShadowCamera.getInversed(); - - Mat4 matShadowViewProj; - const auto projectionSinY = device->getScreenSpaceSignY() * device->getUVSpaceSignY(); - Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getClipSpaceMinZ(), projectionSinY, &matShadowViewProj); - - matShadowViewProj.multiply(matShadowView); - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; - memcpy(_shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - memcpy(_shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); - } else if (mainLight && shadowInfo->getShadowType() == ShadowType::PLANAR) { - updateDirLight(shadowInfo, mainLight, _shadowUBO); - } - - memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); - _commandBuffers[0]->updateBuffer(_descriptorSet->getBuffer(UBOShadow::BINDING), _shadowUBO.data(), UBOShadow::SIZE); - } - _descriptorSet->update(); -} - -void ForwardPipeline::updateGlobalUBO() { - _descriptorSet->update(); - - const auto root = GET_ROOT(); - auto &uboGlobalView = _globalUBO; - - const auto shadingWidth = std::floor(_device->getWidth()); - const auto shadingHeight = std::floor(_device->getHeight()); - - // update UBOGlobal - uboGlobalView[UBOGlobal::TIME_OFFSET] = root->cumulativeTime; - uboGlobalView[UBOGlobal::TIME_OFFSET + 1] = root->frameTime; - uboGlobalView[UBOGlobal::TIME_OFFSET + 2] = Application::getInstance()->getTotalFrames(); - - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = _device->getWidth(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1] = _device->getHeight(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET]; - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1]; - - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = shadingWidth; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1] = shadingHeight; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET]; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; - - // update ubos - _commandBuffers[0]->updateBuffer(_descriptorSet->getBuffer(UBOGlobal::BINDING), _globalUBO.data(), UBOGlobal::SIZE); -} - bool ForwardPipeline::activeRenderer() { _commandBuffers.push_back(_device->getCommandBuffer()); - - _globalUBO.fill(0.f); - _cameraUBO.fill(0.f); - _shadowUBO.fill(0.f); - - auto globalUBO = _device->createBuffer({ - gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, - UBOGlobal::SIZE, - UBOGlobal::SIZE, - gfx::BufferFlagBit::NONE, - }); - _descriptorSet->bindBuffer(UBOGlobal::BINDING, globalUBO); - - auto cameraUBO = _device->createBuffer({ - gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, - UBOCamera::SIZE, - UBOCamera::SIZE, - gfx::BufferFlagBit::NONE, - }); - _descriptorSet->bindBuffer(UBOCamera::BINDING, cameraUBO); - - auto shadowUBO = _device->createBuffer({ - gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, - UBOShadow::SIZE, - UBOShadow::SIZE, - gfx::BufferFlagBit::NONE, - }); - _descriptorSet->bindBuffer(UBOShadow::BINDING, shadowUBO); + const auto sharedData = _pipelineSceneData->getSharedData(); gfx::SamplerInfo info{ gfx::Filter::LINEAR, diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index 142acfcdfa..ce27ab8315 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -67,9 +67,9 @@ void ShadowFlow::render(Camera *camera) { if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::SHADOWMAP) return; lightCollecting(camera, _validLights); - shadowCollecting(pipeline, camera); + shadowCollecting(_pipeline, camera); - if (pipeline->getShadowObjects().empty()) { + if (sceneData->getShadowObjects().empty()) { clearShadowMap(camera); return; } @@ -97,8 +97,8 @@ void ShadowFlow::render(Camera *camera) { } void ShadowFlow::clearShadowMap(Camera *camera) { - auto *pipeline = static_cast(_pipeline); - const auto &shadowFramebufferMap = pipeline->getShadowFramebufferMap(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto &shadowFramebufferMap = sceneData->getShadowFramebufferMap(); for (const auto *light : _validLights) { if (!shadowFramebufferMap.count(light)) { continue; From d0fb6d5281fdbbe4fad54396148f2108cb1cae98 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 5 Feb 2021 14:38:02 +0800 Subject: [PATCH 150/270] fix format --- native/cocos/base/job-system/JobSystem.h | 2 +- .../job-system-taskflow/TFJobGraph.cpp | 4 +- .../job-system-taskflow/TFJobGraph.h | 6 +- .../job-system-taskflow/TFJobSystem.cpp | 7 +- .../job-system-taskflow/TFJobSystem.h | 6 +- .../job-system/job-system-tbb/TBBJobGraph.cpp | 2 +- .../job-system/job-system-tbb/TBBJobGraph.h | 12 +- .../job-system-tbb/TBBJobSystem.cpp | 7 +- .../job-system/job-system-tbb/TBBJobSystem.h | 6 +- .../base/threading/ConditionVariable.cpp | 23 ++- .../cocos/base/threading/ConditionVariable.h | 34 ++--- native/cocos/base/threading/Event.h | 19 ++- native/cocos/base/threading/MessageQueue.cpp | 135 +++++++++--------- native/cocos/base/threading/MessageQueue.h | 125 ++++++++-------- native/cocos/base/threading/Semaphore.cpp | 18 +-- native/cocos/base/threading/Semaphore.h | 21 ++- native/cocos/base/threading/ThreadPool.cpp | 76 ++++------ native/cocos/base/threading/ThreadPool.h | 75 +++++----- .../cocos/base/threading/ThreadSafeCounter.h | 25 ++-- .../threading/ThreadSafeLinearAllocator.cpp | 43 +++--- .../threading/ThreadSafeLinearAllocator.h | 39 +++-- native/cocos/renderer/CMakeLists.txt | 4 + .../cocos/renderer/core/gfx-agent/GFXAgent.h | 2 +- .../core/gfx-agent/GFXBufferAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXBufferAgent.h | 2 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 76 ++++------ .../core/gfx-agent/GFXCommandBufferAgent.h | 2 +- .../core/gfx-agent/GFXDescriptorSetAgent.cpp | 2 +- .../core/gfx-agent/GFXDescriptorSetAgent.h | 2 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.cpp | 2 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.h | 2 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 72 +++++----- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 2 +- .../core/gfx-agent/GFXFramebufferAgent.cpp | 2 +- .../core/gfx-agent/GFXFramebufferAgent.h | 2 +- .../core/gfx-agent/GFXInputAssemblerAgent.cpp | 2 +- .../core/gfx-agent/GFXInputAssemblerAgent.h | 2 +- .../core/gfx-agent/GFXLinearAllocatorPool.h | 130 ++++++++--------- .../core/gfx-agent/GFXPipelineLayoutAgent.cpp | 2 +- .../core/gfx-agent/GFXPipelineLayoutAgent.h | 2 +- .../core/gfx-agent/GFXPipelineStateAgent.cpp | 2 +- .../core/gfx-agent/GFXPipelineStateAgent.h | 2 +- .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXQueueAgent.h | 2 +- .../core/gfx-agent/GFXRenderPassAgent.cpp | 2 +- .../core/gfx-agent/GFXRenderPassAgent.h | 2 +- .../core/gfx-agent/GFXSamplerAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXSamplerAgent.h | 2 +- .../core/gfx-agent/GFXShaderAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXShaderAgent.h | 2 +- .../core/gfx-agent/GFXTextureAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXTextureAgent.h | 2 +- .../renderer/gfx-gles-common/CMakeLists.txt | 42 ++++++ .../cocos/renderer/gfx-gles2/CMakeLists.txt | 6 +- .../cocos/renderer/gfx-gles3/CMakeLists.txt | 10 +- native/cocos/renderer/gfx-vulkan/GFXVulkan.h | 2 +- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKBuffer.h | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKCommands.h | 2 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKContext.h | 2 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 2 +- .../renderer/gfx-vulkan/VKDescriptorSet.h | 2 +- .../gfx-vulkan/VKDescriptorSetLayout.cpp | 2 +- .../gfx-vulkan/VKDescriptorSetLayout.h | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 2 +- .../renderer/gfx-vulkan/VKFramebuffer.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKFramebuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 2 +- .../renderer/gfx-vulkan/VKGlobalBarrier.cpp | 2 +- .../renderer/gfx-vulkan/VKGlobalBarrier.h | 2 +- .../renderer/gfx-vulkan/VKInputAssembler.cpp | 2 +- .../renderer/gfx-vulkan/VKInputAssembler.h | 2 +- .../renderer/gfx-vulkan/VKPipelineLayout.cpp | 2 +- .../renderer/gfx-vulkan/VKPipelineLayout.h | 2 +- .../renderer/gfx-vulkan/VKPipelineState.cpp | 2 +- .../renderer/gfx-vulkan/VKPipelineState.h | 2 +- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKQueue.h | 2 +- .../renderer/gfx-vulkan/VKRenderPass.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKRenderPass.h | 2 +- native/cocos/renderer/gfx-vulkan/VKSPIRV.h | 2 +- .../cocos/renderer/gfx-vulkan/VKSampler.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKSampler.h | 2 +- native/cocos/renderer/gfx-vulkan/VKShader.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKShader.h | 2 +- native/cocos/renderer/gfx-vulkan/VKStd.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKStd.h | 2 +- .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKTexture.h | 2 +- .../renderer/gfx-vulkan/VKTextureBarrier.cpp | 2 +- .../renderer/gfx-vulkan/VKTextureBarrier.h | 2 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 2 +- .../cocos/renderer/pipeline/BatchedBuffer.cpp | 2 +- .../cocos/renderer/pipeline/BatchedBuffer.h | 2 +- native/cocos/renderer/pipeline/Define.cpp | 2 +- native/cocos/renderer/pipeline/Define.h | 2 +- .../renderer/pipeline/InstancedBuffer.cpp | 2 +- .../cocos/renderer/pipeline/InstancedBuffer.h | 2 +- .../renderer/pipeline/PipelineSceneData.cpp | 2 +- .../renderer/pipeline/PipelineSceneData.h | 2 +- .../pipeline/PipelineStateManager.cpp | 2 +- .../renderer/pipeline/PipelineStateManager.h | 2 +- .../cocos/renderer/pipeline/PipelineUBO.cpp | 2 +- native/cocos/renderer/pipeline/PipelineUBO.h | 2 +- .../renderer/pipeline/PlanarShadowQueue.cpp | 2 +- .../renderer/pipeline/PlanarShadowQueue.h | 2 +- .../pipeline/RenderAdditiveLightQueue.cpp | 2 +- .../pipeline/RenderAdditiveLightQueue.h | 2 +- .../renderer/pipeline/RenderBatchedQueue.cpp | 2 +- .../renderer/pipeline/RenderBatchedQueue.h | 2 +- native/cocos/renderer/pipeline/RenderFlow.cpp | 2 +- native/cocos/renderer/pipeline/RenderFlow.h | 2 +- .../pipeline/RenderInstancedQueue.cpp | 2 +- .../renderer/pipeline/RenderInstancedQueue.h | 2 +- .../renderer/pipeline/RenderPipeline.cpp | 2 +- .../cocos/renderer/pipeline/RenderPipeline.h | 2 +- .../cocos/renderer/pipeline/RenderQueue.cpp | 2 +- native/cocos/renderer/pipeline/RenderQueue.h | 2 +- .../cocos/renderer/pipeline/RenderStage.cpp | 2 +- native/cocos/renderer/pipeline/RenderStage.h | 2 +- .../cocos/renderer/pipeline/SceneCulling.cpp | 2 +- native/cocos/renderer/pipeline/SceneCulling.h | 2 +- .../pipeline/ShadowMapBatchedQueue.cpp | 2 +- .../renderer/pipeline/ShadowMapBatchedQueue.h | 2 +- .../renderer/pipeline/forward/ForwardFlow.cpp | 2 +- .../renderer/pipeline/forward/ForwardFlow.h | 2 +- .../pipeline/forward/ForwardPipeline.cpp | 2 +- .../pipeline/forward/ForwardPipeline.h | 2 +- .../pipeline/forward/ForwardStage.cpp | 2 +- .../renderer/pipeline/forward/ForwardStage.h | 2 +- .../renderer/pipeline/forward/UIPhase.cpp | 2 +- .../cocos/renderer/pipeline/forward/UIPhase.h | 2 +- .../renderer/pipeline/helper/DefineMap.cpp | 2 +- .../renderer/pipeline/helper/DefineMap.h | 2 +- .../renderer/pipeline/helper/SharedMemory.cpp | 2 +- .../renderer/pipeline/helper/SharedMemory.h | 2 +- .../renderer/pipeline/shadow/ShadowFlow.cpp | 2 +- .../renderer/pipeline/shadow/ShadowFlow.h | 2 +- .../renderer/pipeline/shadow/ShadowStage.cpp | 2 +- .../renderer/pipeline/shadow/ShadowStage.h | 2 +- .../templates/android/build/gradle.properties | 2 +- 146 files changed, 616 insertions(+), 645 deletions(-) create mode 100644 native/cocos/renderer/gfx-gles-common/CMakeLists.txt diff --git a/native/cocos/base/job-system/JobSystem.h b/native/cocos/base/job-system/JobSystem.h index c4f5bf84bd..5f08f24419 100644 --- a/native/cocos/base/job-system/JobSystem.h +++ b/native/cocos/base/job-system/JobSystem.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp index 1895adfa71..9abba5263b 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -36,7 +36,7 @@ void TFJobGraph::makeEdge(uint j1, uint j2) noexcept { void TFJobGraph::run() noexcept { if (_pending) return; - _future = _executor->run(_flow); + _future = _executor->run(_flow); _pending = true; } diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index 9740ad2eb4..07d44418e8 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -56,11 +56,11 @@ public: private: tf::Executor *_executor = nullptr; - tf::Taskflow _flow; + tf::Taskflow _flow; deque _tasks; // existing tasks cannot be invalidated std::future _future; - bool _pending = false; + bool _pending = false; }; template diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp index f2943835ec..7ea42193b0 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,16 +25,15 @@ #include "CoreStd.h" -#include "TFJobSystem.h" #include "TFJobGraph.h" +#include "TFJobSystem.h" namespace cc { TFJobSystem *TFJobSystem::_instance = nullptr; TFJobSystem::TFJobSystem(uint threadCount) noexcept -: _executor(threadCount) -{ +: _executor(threadCount) { CC_LOG_INFO("Taskflow Job system initialized: %d worker threads", threadCount); } diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 11fea0a2c5..792c820be8 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -26,8 +26,8 @@ #pragma once #include "taskflow/taskflow.hpp" -#include #include +#include namespace cc { @@ -53,7 +53,7 @@ private: friend class TFJobGraph; static TFJobSystem *_instance; - + tf::Executor _executor; }; diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp index a7ca4d43ba..ef95f22023 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index 4450c60e44..1fdcb49c89 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -67,7 +67,7 @@ private: struct TBBParallelJob { uint predecessor = 0u; - uint successor = 0u; + uint successor = 0u; }; vector _parallelJobs; @@ -84,14 +84,14 @@ uint TBBJobGraph::createJob(Function &&func) noexcept { template uint TBBJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept { _nodes.emplace_back(_graph, [](TBBJobToken t) {}); - uint predecessorIdx = _nodes.size() - 1u; - TBBJobNode &predecessor = _nodes.back(); + uint predecessorIdx = _nodes.size() - 1u; + TBBJobNode &predecessor = _nodes.back(); tbb::flow::make_edge(_nodes.front(), predecessor); _nodes.emplace_back(_graph, [](TBBJobToken t) {}); - uint successorIdx = _nodes.size() - 1u; - TBBJobNode &successor = _nodes.back(); + uint successorIdx = _nodes.size() - 1u; + TBBJobNode &successor = _nodes.back(); for (uint i = begin; i < end; i += step) { _nodes.emplace_back(_graph, [i, &func](TBBJobToken t) { func(i); }); diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp index 126357f92f..a3658c63d6 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,15 +25,16 @@ #include "CoreStd.h" -#include "TBBJobSystem.h" #include "TBBJobGraph.h" +#include "TBBJobSystem.h" namespace cc { TBBJobSystem *TBBJobSystem::_instance = nullptr; TBBJobSystem::TBBJobSystem(uint threadCount) noexcept -: _control(tbb::global_control::max_allowed_parallelism, threadCount), _threadCount(threadCount) { +: _control(tbb::global_control::max_allowed_parallelism, threadCount), + _threadCount(threadCount) { CC_LOG_INFO("TBB Job system initialized: %d worker threads", threadCount); } diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h index d8ea7514e3..cfc1770ab5 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -26,8 +26,8 @@ #pragma once #include "tbb/global_control.h" -#include #include +#include namespace cc { @@ -55,7 +55,7 @@ private: static TBBJobSystem *_instance; tbb::global_control _control; - uint _threadCount = 0u; + uint _threadCount = 0u; }; } // namespace cc diff --git a/native/cocos/base/threading/ConditionVariable.cpp b/native/cocos/base/threading/ConditionVariable.cpp index 348214deee..d77b1ed1ef 100644 --- a/native/cocos/base/threading/ConditionVariable.cpp +++ b/native/cocos/base/threading/ConditionVariable.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -27,22 +27,19 @@ namespace cc { -void ConditionVariable::Wait() noexcept -{ - std::unique_lock lock(mMutex); - mCV.wait(lock); +void ConditionVariable::wait() noexcept { + std::unique_lock lock(_mutex); + _condVar.wait(lock); } -void ConditionVariable::Signal() noexcept -{ - std::lock_guard lock(mMutex); - mCV.notify_one(); +void ConditionVariable::signal() noexcept { + std::lock_guard lock(_mutex); + _condVar.notify_one(); } -void ConditionVariable::SignalAll() noexcept -{ - std::lock_guard lock(mMutex); - mCV.notify_all(); +void ConditionVariable::SignalAll() noexcept { + std::lock_guard lock(_mutex); + _condVar.notify_all(); } } // namespace cc diff --git a/native/cocos/base/threading/ConditionVariable.h b/native/cocos/base/threading/ConditionVariable.h index 3e18a686a0..15ed23c82d 100644 --- a/native/cocos/base/threading/ConditionVariable.h +++ b/native/cocos/base/threading/ConditionVariable.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,36 +25,30 @@ #pragma once -#include -#include #include +#include +#include namespace cc { -class ConditionVariable final -{ +class ConditionVariable final { public: - - void Wait() noexcept; + void wait() noexcept; template - void Wait(Function func, Args&&... args) noexcept; - void Signal() noexcept; - void SignalAll() noexcept; + void wait(Function func, Args &&... args) noexcept; + void signal() noexcept; + void SignalAll() noexcept; private: - - std::mutex mMutex; - std::condition_variable mCV; + std::mutex _mutex; + std::condition_variable _condVar; }; +// DO NOT MANIPULATE ANY SYCHRONIZATION PRIMITIVES INSIDE THE CALLBACK template -void ConditionVariable::Wait(Function func, Args&&... args) noexcept -{ - // ******** 注意 ******** - // func内不要操作任何同步对象!!! - // 如果不确定 就不要调用这个函数!!! - std::unique_lock lock(mMutex); - mCV.wait(lock, std::bind(std::forward(func), std::forward(args)...)); +void ConditionVariable::wait(Function func, Args &&... args) noexcept { + std::unique_lock lock(_mutex); + _condVar.wait(lock, std::bind(std::forward(func), std::forward(args)...)); } } // namespace cc diff --git a/native/cocos/base/threading/Event.h b/native/cocos/base/threading/Event.h index a73bd46bc1..c77ebeb524 100644 --- a/native/cocos/base/threading/Event.h +++ b/native/cocos/base/threading/Event.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -31,20 +31,17 @@ namespace cc { template -class Event final -{ +class Event final { public: - - inline void Wait() noexcept { mSyncObject.Wait(); } - inline void Signal() noexcept { mSyncObject.Signal(); }; - inline void SignalAll() noexcept { mSyncObject.SignalAll(); } + inline void wait() noexcept { _syncObject.wait(); } + inline void signal() noexcept { _syncObject.signal(); }; + inline void signalAll() noexcept { _syncObject.signalAll(); } private: - - T mSyncObject {}; + T _syncObject{}; }; -using EventCV = Event; -using EventSem = Event; +using EventCV = Event; +using EventSem = Event; } // namespace cc diff --git a/native/cocos/base/threading/MessageQueue.cpp b/native/cocos/base/threading/MessageQueue.cpp index f038f0042d..c58a7ed6aa 100644 --- a/native/cocos/base/threading/MessageQueue.cpp +++ b/native/cocos/base/threading/MessageQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -29,9 +29,9 @@ namespace cc { namespace { -uint32_t constexpr kMemoryChunkSize = 4096 * 16; -uint32_t constexpr kMemoryChunkPoolCapacity = 64; -uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchMessage) + sizeof(DummyMessage); +uint32_t constexpr MEMORY_CHUNK_SIZE = 4096 * 16; +uint32_t constexpr MEMORY_CHUNK_POOL_CAPACITY = 64; +uint32_t constexpr SWITCH_CHUNK_MEMORY_REQUIREMENT = sizeof(MemoryChunkSwitchMessage) + sizeof(DummyMessage); } // namespace MessageQueue::MemoryAllocator &MessageQueue::MemoryAllocator::getInstance() noexcept { @@ -42,10 +42,10 @@ MessageQueue::MemoryAllocator &MessageQueue::MemoryAllocator::getInstance() noex uint8_t *MessageQueue::MemoryAllocator::request() noexcept { uint8_t *newChunk = nullptr; - if (mChunkPool.try_dequeue(newChunk)) { - mChunkCount.fetch_sub(1, std::memory_order_acq_rel); + if (_chunkPool.try_dequeue(newChunk)) { + _chunkCount.fetch_sub(1, std::memory_order_acq_rel); } else { - newChunk = memoryAllocateForMultiThread(kMemoryChunkSize); + newChunk = memoryAllocateForMultiThread(MEMORY_CHUNK_SIZE); } return newChunk; @@ -53,14 +53,14 @@ uint8_t *MessageQueue::MemoryAllocator::request() noexcept { void MessageQueue::MemoryAllocator::recycle(uint8_t *const chunk, bool const freeByUser) noexcept { if (freeByUser) { - mChunkFreeQueue.enqueue(chunk); + _chunkFreeQueue.enqueue(chunk); } else { free(chunk); } } void MessageQueue::MemoryAllocator::freeByUser(MessageQueue *const mainMessageQueue) noexcept { - auto queue = &mChunkFreeQueue; + auto queue = &_chunkFreeQueue; ENQUEUE_MESSAGE_1( mainMessageQueue, FreeChunksInFreeQueue, @@ -77,76 +77,76 @@ void MessageQueue::MemoryAllocator::freeByUser(MessageQueue *const mainMessageQu } void MessageQueue::MemoryAllocator::free(uint8_t *const chunk) noexcept { - if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) { + if (_chunkCount.load(std::memory_order_acquire) >= MEMORY_CHUNK_POOL_CAPACITY) { memoryFreeForMultiThread(chunk); } else { - mChunkPool.enqueue(chunk); - mChunkCount.fetch_add(1, std::memory_order_acq_rel); + _chunkPool.enqueue(chunk); + _chunkCount.fetch_add(1, std::memory_order_acq_rel); } } MessageQueue::MessageQueue() { uint8_t *const chunk = MemoryAllocator::getInstance().request(); - mW.mCurrentMemoryChunk = chunk; - mR.mCurrentMemoryChunk = chunk; + _writer._currentMemoryChunk = chunk; + _reader._currentMemoryChunk = chunk; // sentinel node will not be executed Message *const msg = allocate(1); pushMessages(); pullMessages(); - mR.mLastMessage = msg; - --mR.mNewMessageCount; + _reader._lastMessage = msg; + --_reader._newMessageCount; } void MessageQueue::kick() noexcept { pushMessages(); - mN.Signal(); + _event.signal(); } void MessageQueue::kickAndWait() noexcept { - EventSem event; + EventSem event; EventSem *const pEvent = &event; ENQUEUE_MESSAGE_1(this, WaitUntilFinish, pEvent, pEvent, { - pEvent->Signal(); + pEvent->signal(); }); kick(); - event.Wait(); + event.wait(); } void MessageQueue::runConsumerThread() noexcept { - if (mWorkerAttached) { + if (_workerAttached) { return; } std::thread consumerThread(&MessageQueue::consumerThreadLoop, this); consumerThread.detach(); - mWorkerAttached = true; + _workerAttached = true; } void MessageQueue::terminateConsumerThread() noexcept { - if (!mWorkerAttached) { + if (!_workerAttached) { return; } - EventSem event; + EventSem event; EventSem *const pEvent = &event; - ReaderContext *const pR = &mR; + ReaderContext *const pR = &_reader; new (allocate(1)) TerminateConsumerThreadMessage(pEvent, pR); kick(); - event.Wait(); + event.wait(); } void MessageQueue::finishWriting(bool wait) noexcept { - if (!mImmediateMode) { - bool *const flushingFinished = &mR.mFlushingFinished; + if (!_immediateMode) { + bool *const flushingFinished = &_reader._flushingFinished; ENQUEUE_MESSAGE_1(this, finishWriting, flushingFinished, flushingFinished, @@ -163,7 +163,7 @@ void MessageQueue::finishWriting(bool wait) noexcept { } void MessageQueue::recycleMemoryChunk(uint8_t *const chunk) const noexcept { - MessageQueue::MemoryAllocator::getInstance().recycle(chunk, mFreeChunksByUser); + MessageQueue::MemoryAllocator::getInstance().recycle(chunk, _freeChunksByUser); } void MessageQueue::freeChunksInFreeQueue(MessageQueue *const mainMessageQueue) noexcept { @@ -172,32 +172,32 @@ void MessageQueue::freeChunksInFreeQueue(MessageQueue *const mainMessageQueue) n uint8_t *MessageQueue::allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept { uint32_t const alignedSize = align(requestSize, 16); - assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // exceeds the block size + assert(alignedSize + SWITCH_CHUNK_MEMORY_REQUIREMENT <= MEMORY_CHUNK_SIZE); // exceeds the block size - uint32_t const newOffset = mW.mOffset + alignedSize; + uint32_t const newOffset = _writer._offset + alignedSize; - if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) { - allocatedSize = alignedSize; - uint8_t *const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; - mW.mOffset = newOffset; + if (newOffset + SWITCH_CHUNK_MEMORY_REQUIREMENT <= MEMORY_CHUNK_SIZE) { + allocatedSize = alignedSize; + uint8_t *const allocatedMemory = _writer._currentMemoryChunk + _writer._offset; + _writer._offset = newOffset; return allocatedMemory; } else { - uint8_t *const newChunk = MessageQueue::MemoryAllocator::getInstance().request(); - MemoryChunkSwitchMessage *const switchMessage = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - new (switchMessage) MemoryChunkSwitchMessage(this, newChunk, mW.mCurrentMemoryChunk); - switchMessage->mNext = reinterpret_cast(newChunk); // point to start position - mW.mLastMessage = switchMessage; - ++mW.mPendingMessageCount; - mW.mCurrentMemoryChunk = newChunk; - mW.mOffset = 0; + uint8_t *const newChunk = MessageQueue::MemoryAllocator::getInstance().request(); + MemoryChunkSwitchMessage *const switchMessage = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); + new (switchMessage) MemoryChunkSwitchMessage(this, newChunk, _writer._currentMemoryChunk); + switchMessage->_next = reinterpret_cast(newChunk); // point to start position + _writer._lastMessage = switchMessage; + ++_writer._pendingMessageCount; + _writer._currentMemoryChunk = newChunk; + _writer._offset = 0; DummyMessage *const head = allocate(1); new (head) DummyMessage; - if (mImmediateMode) { + if (_immediateMode) { pushMessages(); pullMessages(); - assert(mR.mNewMessageCount == 2); + assert(_reader._newMessageCount == 2); executeMessages(); executeMessages(); } @@ -207,22 +207,22 @@ uint8_t *MessageQueue::allocateImpl(uint32_t &allocatedSize, uint32_t const requ } void MessageQueue::pushMessages() noexcept { - mW.mWrittenMessageCount.fetch_add(mW.mPendingMessageCount, std::memory_order_acq_rel); - mW.mPendingMessageCount = 0; + _writer._writtenMessageCount.fetch_add(_writer._pendingMessageCount, std::memory_order_acq_rel); + _writer._pendingMessageCount = 0; } void MessageQueue::pullMessages() noexcept { - uint32_t const writtenMessageCountNew = mW.mWrittenMessageCount.load(std::memory_order_acquire); - mR.mNewMessageCount += writtenMessageCountNew - mR.mWrittenMessageCountSnap; - mR.mWrittenMessageCountSnap = writtenMessageCountNew; + uint32_t const writtenMessageCountNew = _writer._writtenMessageCount.load(std::memory_order_acquire); + _reader._newMessageCount += writtenMessageCountNew - _reader._writtenMessageCountSnap; + _reader._writtenMessageCountSnap = writtenMessageCountNew; } void MessageQueue::flushMessages() noexcept { - while (!mR.mFlushingFinished) { + while (!_reader._flushingFinished) { executeMessages(); } - mR.mFlushingFinished = false; + _reader._flushingFinished = false; } void MessageQueue::executeMessages() noexcept { @@ -241,24 +241,24 @@ Message *MessageQueue::readMessage() noexcept { pullMessages(); // try pulling data from consumer if (!hasNewMessage()) { // still empty - mN.Wait(); // wait for the producer to wake me up + _event.wait(); // wait for the producer to wake me up pullMessages(); // pulling again } } - Message *const msg = mR.mLastMessage->getNext(); - mR.mLastMessage = msg; - --mR.mNewMessageCount; + Message *const msg = _reader._lastMessage->getNext(); + _reader._lastMessage = msg; + --_reader._newMessageCount; assert(msg); return msg; } void MessageQueue::consumerThreadLoop() noexcept { - while (!mR.mTerminateConsumerThread) { + while (!_reader._terminateConsumerThread) { flushMessages(); } - mWorkerAttached = false; + _workerAttached = false; } char const *DummyMessage::getName() const noexcept { @@ -266,16 +266,18 @@ char const *DummyMessage::getName() const noexcept { } MemoryChunkSwitchMessage::MemoryChunkSwitchMessage(MessageQueue *const queue, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept -: mMessageQueue(queue), mNewChunk(newChunk), mOldChunk(oldChunk) { +: _messageQueue(queue), + _newChunk(newChunk), + _oldChunk(oldChunk) { } MemoryChunkSwitchMessage::~MemoryChunkSwitchMessage() { - mMessageQueue->recycleMemoryChunk(mOldChunk); + _messageQueue->recycleMemoryChunk(_oldChunk); } void MemoryChunkSwitchMessage::execute() noexcept { - mMessageQueue->mR.mCurrentMemoryChunk = mNewChunk; - mMessageQueue->pullMessages(); + _messageQueue->_reader._currentMemoryChunk = _newChunk; + _messageQueue->pullMessages(); } char const *MemoryChunkSwitchMessage::getName() const noexcept { @@ -283,13 +285,14 @@ char const *MemoryChunkSwitchMessage::getName() const noexcept { } TerminateConsumerThreadMessage::TerminateConsumerThreadMessage(EventSem *const pEvent, ReaderContext *const pR) noexcept -: mEvent(pEvent), mR(pR) { +: _event(pEvent), + _reader(pR) { } void TerminateConsumerThreadMessage::execute() noexcept { - mR->mTerminateConsumerThread = true; - mR->mFlushingFinished = true; - mEvent->Signal(); + _reader->_terminateConsumerThread = true; + _reader->_flushingFinished = true; + _event->signal(); } char const *TerminateConsumerThreadMessage::getName() const noexcept { diff --git a/native/cocos/base/threading/MessageQueue.h b/native/cocos/base/threading/MessageQueue.h index 215db63949..85afb65a2f 100644 --- a/native/cocos/base/threading/MessageQueue.h +++ b/native/cocos/base/threading/MessageQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -51,36 +51,36 @@ public: Message() = default; virtual ~Message() {} Message(Message const &) = delete; - Message(Message &&) = delete; + Message(Message &&) = delete; Message &operator=(Message const &) = delete; Message &operator=(Message &&) = delete; - virtual void execute() noexcept = 0; + virtual void execute() noexcept = 0; virtual char const *getName() const noexcept = 0; - inline Message *getNext() const noexcept { return mNext; } + inline Message * getNext() const noexcept { return _next; } private: - Message *mNext; + Message *_next; friend class MessageQueue; }; struct alignas(64) WriterContext final { - uint8_t *mCurrentMemoryChunk{nullptr}; - Message *mLastMessage{nullptr}; - uint32_t mOffset{0}; - uint32_t mPendingMessageCount{0}; - std::atomic mWrittenMessageCount{0}; + uint8_t * _currentMemoryChunk{nullptr}; + Message * _lastMessage{nullptr}; + uint32_t _offset{0}; + uint32_t _pendingMessageCount{0}; + std::atomic _writtenMessageCount{0}; }; struct alignas(64) ReaderContext final { - uint8_t *mCurrentMemoryChunk{nullptr}; - Message *mLastMessage{nullptr}; - uint32_t mOffset{0}; - uint32_t mWrittenMessageCountSnap{0}; - uint32_t mNewMessageCount{0}; - bool mTerminateConsumerThread{false}; - bool mFlushingFinished{false}; + uint8_t *_currentMemoryChunk{nullptr}; + Message *_lastMessage{nullptr}; + uint32_t _offset{0}; + uint32_t _writtenMessageCountSnap{0}; + uint32_t _newMessageCount{0}; + bool _terminateConsumerThread{false}; + bool _flushingFinished{false}; }; // A single-producer single-consumer circular buffer queue. @@ -88,9 +88,9 @@ struct alignas(64) ReaderContext final { class alignas(64) MessageQueue final { public: MessageQueue(); - ~MessageQueue() = default; + ~MessageQueue() = default; MessageQueue(MessageQueue const &) = delete; - MessageQueue(MessageQueue &&) = delete; + MessageQueue(MessageQueue &&) = delete; MessageQueue &operator=(MessageQueue const &) = delete; MessageQueue &operator=(MessageQueue &&) = delete; @@ -119,64 +119,64 @@ public: void finishWriting(bool wait) noexcept; void flushMessages() noexcept; - inline bool isImmediateMode() const noexcept { return mImmediateMode; } + inline bool isImmediateMode() const noexcept { return _immediateMode; } inline void finishWriting() noexcept { finishWriting(false); } - void recycleMemoryChunk(uint8_t *const chunk) const noexcept; + void recycleMemoryChunk(uint8_t *const chunk) const noexcept; static void freeChunksInFreeQueue(MessageQueue *const mainMessagesQueue) noexcept; - inline void setImmediateMode(bool immediateMode) noexcept { mImmediateMode = immediateMode; } - inline int getPendingMessageCount() const noexcept { return mW.mPendingMessageCount; } - inline int getWrittenMessageCount() const noexcept { return mW.mWrittenMessageCount; } - inline int getNewMessageCount() const noexcept { return mR.mNewMessageCount; } + inline void setImmediateMode(bool immediateMode) noexcept { _immediateMode = immediateMode; } + inline int getPendingMessageCount() const noexcept { return _writer._pendingMessageCount; } + inline int getWrittenMessageCount() const noexcept { return _writer._writtenMessageCount; } + inline int getNewMessageCount() const noexcept { return _reader._newMessageCount; } private: class alignas(64) MemoryAllocator final { public: - MemoryAllocator() = default; - ~MemoryAllocator() = default; + MemoryAllocator() = default; + ~MemoryAllocator() = default; MemoryAllocator(MemoryAllocator const &) = delete; - MemoryAllocator(MemoryAllocator &&) = delete; + MemoryAllocator(MemoryAllocator &&) = delete; MemoryAllocator &operator=(MemoryAllocator const &) = delete; MemoryAllocator &operator=(MemoryAllocator &&) = delete; static MemoryAllocator &getInstance() noexcept; - uint8_t *request() noexcept; - void recycle(uint8_t *const chunk, bool const freeByUser) noexcept; - void freeByUser(MessageQueue *const mainMessageQueue) noexcept; + uint8_t * request() noexcept; + void recycle(uint8_t *const chunk, bool const freeByUser) noexcept; + void freeByUser(MessageQueue *const mainMessageQueue) noexcept; private: using ChunkQueue = moodycamel::ConcurrentQueue; - void free(uint8_t *const chunk) noexcept; - std::atomic mChunkCount{0}; - ChunkQueue mChunkPool{}; - ChunkQueue mChunkFreeQueue{}; + void free(uint8_t *const chunk) noexcept; + std::atomic _chunkCount{0}; + ChunkQueue _chunkPool{}; + ChunkQueue _chunkFreeQueue{}; }; uint8_t *allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept; - void pushMessages() noexcept; + void pushMessages() noexcept; // consumer thread specifics - void pullMessages() noexcept; - void executeMessages() noexcept; - Message *readMessage() noexcept; - inline bool hasNewMessage() const noexcept { return mR.mNewMessageCount > 0 && !mR.mFlushingFinished; } - void consumerThreadLoop() noexcept; + void pullMessages() noexcept; + void executeMessages() noexcept; + Message * readMessage() noexcept; + inline bool hasNewMessage() const noexcept { return _reader._newMessageCount > 0 && !_reader._flushingFinished; } + void consumerThreadLoop() noexcept; - WriterContext mW; - ReaderContext mR; - EventCV mN; - bool mImmediateMode{true}; - bool mWorkerAttached{false}; - bool mFreeChunksByUser{true}; // recycled chunks will be stashed until explicit free instruction + WriterContext _writer; + ReaderContext _reader; + EventCV _event; + bool _immediateMode{true}; + bool _workerAttached{false}; + bool _freeChunksByUser{true}; // recycled chunks will be stashed until explicit free instruction friend class MemoryChunkSwitchMessage; }; class DummyMessage final : public Message { public: - virtual void execute() noexcept override {} + virtual void execute() noexcept override {} virtual char const *getName() const noexcept override; }; @@ -185,35 +185,35 @@ public: MemoryChunkSwitchMessage(MessageQueue *const cb, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept; ~MemoryChunkSwitchMessage(); - virtual void execute() noexcept override; + virtual void execute() noexcept override; virtual char const *getName() const noexcept override; private: - MessageQueue *mMessageQueue{nullptr}; - uint8_t *mNewChunk{nullptr}; - uint8_t *mOldChunk{nullptr}; + MessageQueue *_messageQueue{nullptr}; + uint8_t * _newChunk{nullptr}; + uint8_t * _oldChunk{nullptr}; }; class TerminateConsumerThreadMessage final : public Message { public: TerminateConsumerThreadMessage(EventSem *const pEvent, ReaderContext *const pR) noexcept; - virtual void execute() noexcept override; + virtual void execute() noexcept override; virtual char const *getName() const noexcept override; private: - EventSem *mEvent{nullptr}; - ReaderContext *mR{nullptr}; + EventSem * _event{nullptr}; + ReaderContext *_reader{nullptr}; }; template std::enable_if_t::value, T *> MessageQueue::allocate(uint32_t const count) noexcept { uint32_t allocatedSize = 0; - T *const msg = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); - msg->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - ++mW.mPendingMessageCount; - mW.mLastMessage = msg; + T *const msg = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); + msg->_next = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); + ++_writer._pendingMessageCount; + _writer._lastMessage = msg; return msg; } @@ -222,9 +222,9 @@ std::enable_if_t::value, T *> MessageQueue::allocate(uint32_t const count) noexcept { uint32_t const requestSize = sizeof(T) * count; assert(requestSize); - uint32_t allocatedSize = 0; + uint32_t allocatedSize = 0; uint8_t *const allocatedMemory = allocateImpl(allocatedSize, requestSize); - mW.mLastMessage->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + _writer._lastMessage->_next = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); return reinterpret_cast(allocatedMemory); } @@ -306,7 +306,8 @@ T *MessageQueue::allocateAndZero(uint32_t const count) noexcept { public: \ MessageName( \ Type1 const &In##Param1, Type2 const &In##Param2) \ - : Param1(In##Param1), Param2(In##Param2) { \ + : Param1(In##Param1), \ + Param2(In##Param2) { \ } \ virtual void execute() noexcept override { \ Code \ diff --git a/native/cocos/base/threading/Semaphore.cpp b/native/cocos/base/threading/Semaphore.cpp index f7913258af..d8a990593d 100644 --- a/native/cocos/base/threading/Semaphore.cpp +++ b/native/cocos/base/threading/Semaphore.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -28,23 +28,19 @@ namespace cc { Semaphore::Semaphore() noexcept -: mSemaphore(0) -{ +: _semaphore(0) { } Semaphore::Semaphore(uint32_t const initialCount) noexcept -: mSemaphore(initialCount) -{ +: _semaphore(initialCount) { } -void Semaphore::Wait() noexcept -{ - mSemaphore.wait(); +void Semaphore::wait() noexcept { + _semaphore.wait(); } -void Semaphore::Signal() noexcept -{ - mSemaphore.signal(); +void Semaphore::signal() noexcept { + _semaphore.signal(); } } // namespace cc diff --git a/native/cocos/base/threading/Semaphore.h b/native/cocos/base/threading/Semaphore.h index bda34cf5c8..7db2fa1738 100644 --- a/native/cocos/base/threading/Semaphore.h +++ b/native/cocos/base/threading/Semaphore.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,26 +25,23 @@ #pragma once -#include #include "concurrentqueue/concurrentqueue.h" #include "concurrentqueue/lightweightsemaphore.h" +#include namespace cc { -class Semaphore final -{ +class Semaphore final { public: + Semaphore() noexcept; + explicit Semaphore(uint32_t const initialCount) noexcept; - Semaphore() noexcept; - explicit Semaphore(uint32_t const initialCount) noexcept; - - void Wait() noexcept; - void Signal() noexcept; - void SignalAll() noexcept { assert(false); } + void wait() noexcept; + void signal() noexcept; + void signalAll() noexcept { assert(false); } private: - - moodycamel::details::Semaphore mSemaphore; + moodycamel::details::Semaphore _semaphore; }; } // namespace cc diff --git a/native/cocos/base/threading/ThreadPool.cpp b/native/cocos/base/threading/ThreadPool.cpp index ff90e79ca0..29a2a97221 100644 --- a/native/cocos/base/threading/ThreadPool.cpp +++ b/native/cocos/base/threading/ThreadPool.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -27,71 +27,57 @@ namespace cc { -uint8_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); -uint8_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; +uint8_t const ThreadPool::CPU_CORE_COUNT = std::thread::hardware_concurrency(); +uint8_t const ThreadPool::MAX_THREAD_COUNT = CPU_CORE_COUNT - 1; -void ThreadPool::Start() noexcept -{ - if (mRunning) - { +void ThreadPool::start() noexcept { + if (_running) { return; } - - mRunning = true; - - for (uint8_t i = 0; i < kMaxThreadCount; ++i) - { - AddThread(); + + _running = true; + + for (uint8_t i = 0; i < MAX_THREAD_COUNT; ++i) { + addThread(); } } -void ThreadPool::Stop() noexcept -{ - if (! mRunning) - { +void ThreadPool::stop() noexcept { + if (!_running) { return; } - - mRunning = false; - mEvent.SignalAll(); - - for (auto& worker : mWorkers) - { - if (worker.joinable()) - { + + _running = false; + _event.SignalAll(); + + for (auto &worker : _workers) { + if (worker.joinable()) { worker.join(); } } - - mWorkers.clear(); + + _workers.clear(); } -void ThreadPool::AddThread() noexcept -{ - assert(mWorkers.size() < kMaxThreadCount); +void ThreadPool::addThread() noexcept { + assert(_workers.size() < MAX_THREAD_COUNT); - auto workerLoop = [this]() - { - while (mRunning) - { + auto workerLoop = [this]() { + while (_running) { Task task = nullptr; - - if (mTasks.try_dequeue(task)) - { + + if (_tasks.try_dequeue(task)) { task(); - } - else - { + } else { // Double Check - mEvent.Wait([this]() - { - return mTasks.size_approx() != 0; + _event.wait([this]() { + return _tasks.size_approx() != 0; }); } } }; - - mWorkers.emplace_back(workerLoop); + + _workers.emplace_back(workerLoop); } } // namespace cc diff --git a/native/cocos/base/threading/ThreadPool.h b/native/cocos/base/threading/ThreadPool.h index b0f299c97a..7422331b79 100644 --- a/native/cocos/base/threading/ThreadPool.h +++ b/native/cocos/base/threading/ThreadPool.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,67 +25,62 @@ #pragma once -#include -#include +#include "Event.h" +#include "concurrentqueue/concurrentqueue.h" #include -#include -#include -#include #include #include -#include "concurrentqueue/concurrentqueue.h" -#include "Event.h" +#include +#include +#include +#include +#include namespace cc { -class ThreadPool final -{ +class ThreadPool final { public: + using Task = std::function; + using TaskQueue = moodycamel::ConcurrentQueue; - using Task = std::function; - using TaskQueue = moodycamel::ConcurrentQueue; + static uint8_t const CPU_CORE_COUNT; + static uint8_t const MAX_THREAD_COUNT; - static uint8_t const kCpuCoreCount; - static uint8_t const kMaxThreadCount; - - ThreadPool() noexcept = default; - ~ThreadPool() = default; - ThreadPool(ThreadPool const&) = delete; - ThreadPool(ThreadPool&&) = delete; - ThreadPool& operator=(ThreadPool const&) = delete; - ThreadPool& operator=(ThreadPool&&) = delete; + ThreadPool() noexcept = default; + ~ThreadPool() = default; + ThreadPool(ThreadPool const &) = delete; + ThreadPool(ThreadPool &&) = delete; + ThreadPool &operator=(ThreadPool const &) = delete; + ThreadPool &operator=(ThreadPool &&) = delete; template - auto DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))>; - void Start() noexcept; - void Stop() noexcept; + auto dispatchTask(Function &&func, Args &&... args) noexcept -> std::future(args)...))>; + void start() noexcept; + void stop() noexcept; private: + using Event = ConditionVariable; - using Event = ConditionVariable; + void addThread() noexcept; - void AddThread() noexcept; - - TaskQueue mTasks {}; - std::list mWorkers {}; - Event mEvent {}; - std::atomic mRunning { false }; - uint8_t mWorkerCount { kMaxThreadCount }; + TaskQueue _tasks{}; + std::list _workers{}; + Event _event{}; + std::atomic _running{false}; + uint8_t _workerCount{MAX_THREAD_COUNT}; }; template -auto ThreadPool::DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))> -{ - assert(mRunning); +auto ThreadPool::dispatchTask(Function &&func, Args &&... args) noexcept -> std::future(args)...))> { + assert(_running); - using ReturnType = decltype(func(std::forward(args)...)); - auto task = std::make_shared>(std::bind(std::forward(func), std::forward(args)...)); - bool const succeed = mTasks.enqueue([task]() - { + using ReturnType = decltype(func(std::forward(args)...)); + auto task = std::make_shared>(std::bind(std::forward(func), std::forward(args)...)); + bool const succeed = _tasks.enqueue([task]() { (*task)(); }); assert(succeed); - mEvent.Signal(); + _event.signal(); return task->get_future(); } diff --git a/native/cocos/base/threading/ThreadSafeCounter.h b/native/cocos/base/threading/ThreadSafeCounter.h index dcd464dc5a..40a4ab5ef9 100644 --- a/native/cocos/base/threading/ThreadSafeCounter.h +++ b/native/cocos/base/threading/ThreadSafeCounter.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,27 +25,24 @@ #pragma once -#include #include +#include namespace cc { template >> -class ThreadSafeCounter final -{ +class ThreadSafeCounter final { public: - - inline T Increment() noexcept { return Add(1); } - inline T Add(T const v) noexcept { return mCounter.fetch_add(v, std::memory_order_relaxed); } - inline T Decrement() noexcept { return Subtract(1); } - inline T Subtract(T const v) noexcept { return mCounter.fetch_sub(v, std::memory_order_relaxed); } - inline void Set(T const v) noexcept { mCounter.store(v, std::memory_order_relaxed); } - inline T Get() const noexcept { return mCounter.load(std::memory_order_relaxed); } - inline void Reset() noexcept { Set(0); } + inline T increment() noexcept { return add(1); } + inline T add(T const v) noexcept { return _counter.fetch_add(v, std::memory_order_relaxed); } + inline T decrement() noexcept { return subtract(1); } + inline T subtract(T const v) noexcept { return _counter.fetch_sub(v, std::memory_order_relaxed); } + inline void set(T const v) noexcept { _counter.store(v, std::memory_order_relaxed); } + inline T get() const noexcept { return _counter.load(std::memory_order_relaxed); } + inline void reset() noexcept { set(0); } private: - - std::atomic mCounter { 0 }; + std::atomic _counter{0}; }; } // namespace cc diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp index 8bb47c5cba..3cd8274179 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -29,39 +29,34 @@ namespace cc { ThreadSafeLinearAllocator::ThreadSafeLinearAllocator(uint32_t const size) noexcept -: mCapacity(size) -{ - mBuffer = malloc(size); +: _capacity(size) { + _buffer = malloc(size); } -ThreadSafeLinearAllocator::~ThreadSafeLinearAllocator() -{ - free(mBuffer); +ThreadSafeLinearAllocator::~ThreadSafeLinearAllocator() { + free(_buffer); } -void* ThreadSafeLinearAllocator::Allocate(size_t const size, size_t const alignment) noexcept -{ - if (size == 0) - { +void *ThreadSafeLinearAllocator::allocate(size_t const size, size_t const alignment) noexcept { + if (size == 0) { return nullptr; } - void* allocatedMemory = nullptr; - uint32_t oldUsedSize = 0; - uint64_t newUsedSize = 0; // 为了判断溢出用64位 - - do - { - oldUsedSize = GetUsedSize(); - allocatedMemory = acl::align_to(acl::add_offset_to_ptr(mBuffer, oldUsedSize), alignment); - newUsedSize = reinterpret_cast(allocatedMemory) - reinterpret_cast(mBuffer) + size; - - if (newUsedSize > mCapacity) // 溢出 + void * allocatedMemory = nullptr; + uint32_t oldUsedSize = 0; + uint64_t newUsedSize = 0; // 为了判断溢出用64位 + + do { + oldUsedSize = getUsedSize(); + allocatedMemory = acl::align_to(acl::add_offset_to_ptr(_buffer, oldUsedSize), alignment); + newUsedSize = reinterpret_cast(allocatedMemory) - reinterpret_cast(_buffer) + size; + + if (newUsedSize > _capacity) // 溢出 { return nullptr; } - } while (! mUsedSize.compare_exchange_weak(oldUsedSize, static_cast(newUsedSize), std::memory_order_relaxed, std::memory_order_relaxed)); // 不可能存在ABA 不处理 - + } while (!_usedSize.compare_exchange_weak(oldUsedSize, static_cast(newUsedSize), std::memory_order_relaxed, std::memory_order_relaxed)); // 不可能存在ABA 不处理 + return allocatedMemory; } diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.h b/native/cocos/base/threading/ThreadSafeLinearAllocator.h index 8bb10bada0..42a6ef5b02 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.h +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,37 +25,34 @@ #pragma once -#include #include +#include #include namespace cc { -class alignas(16) ThreadSafeLinearAllocator final -{ +class alignas(16) ThreadSafeLinearAllocator final { public: + explicit ThreadSafeLinearAllocator(uint32_t const size) noexcept; + ~ThreadSafeLinearAllocator(); + ThreadSafeLinearAllocator(ThreadSafeLinearAllocator const &) = delete; + ThreadSafeLinearAllocator(ThreadSafeLinearAllocator &&) = delete; + ThreadSafeLinearAllocator &operator=(ThreadSafeLinearAllocator const &) = delete; + ThreadSafeLinearAllocator &operator=(ThreadSafeLinearAllocator &&) = delete; - explicit ThreadSafeLinearAllocator(uint32_t const size) noexcept; - ~ThreadSafeLinearAllocator(); - ThreadSafeLinearAllocator(ThreadSafeLinearAllocator const&) = delete; - ThreadSafeLinearAllocator(ThreadSafeLinearAllocator&&) = delete; - ThreadSafeLinearAllocator& operator=(ThreadSafeLinearAllocator const&) = delete; - ThreadSafeLinearAllocator& operator=(ThreadSafeLinearAllocator&&) = delete; + void *allocate(size_t const size, size_t const alignment) noexcept; - void* Allocate(size_t const size, size_t const alignment) noexcept; + inline void * getBuffer() const noexcept { return _buffer; } + inline uint32_t getCapacity() const noexcept { return _capacity; } + inline uint32_t getUsedSize() const noexcept { return _usedSize.load(std::memory_order_relaxed); } + inline uint32_t getBalance() const noexcept { return getCapacity() - getUsedSize(); } - inline void* GetBuffer() const noexcept { return mBuffer; } - inline uint32_t GetCapacity() const noexcept { return mCapacity; } - inline uint32_t GetUsedSize() const noexcept { return mUsedSize.load(std::memory_order_relaxed); } - inline uint32_t GetBalance() const noexcept { return GetCapacity() - GetUsedSize(); } - - inline void Recycle() noexcept { mUsedSize.store(0, std::memory_order_relaxed); } + inline void recycle() noexcept { _usedSize.store(0, std::memory_order_relaxed); } private: - - void* mBuffer { nullptr }; - uint32_t mCapacity { 0 }; - std::atomic mUsedSize { 0 }; + void * _buffer{nullptr}; + uint32_t _capacity{0}; + std::atomic _usedSize{0}; // 16 bytes }; diff --git a/native/cocos/renderer/CMakeLists.txt b/native/cocos/renderer/CMakeLists.txt index 9bbbfa1f0f..e44ec0af16 100644 --- a/native/cocos/renderer/CMakeLists.txt +++ b/native/cocos/renderer/CMakeLists.txt @@ -1,20 +1,24 @@ add_subdirectory(core) if(COCOS_PLATFORM_WIN32) + add_subdirectory(gfx-gles-common) add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-vulkan) elseif(COCOS_PLATFORM_IOS) + add_subdirectory(gfx-gles-common) add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-metal) add_subdirectory(gfx-vulkan) elseif(COCOS_PLATFORM_OSX) + add_subdirectory(gfx-gles-common) add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-metal) add_subdirectory(gfx-vulkan) elseif(COCOS_PLATFORM_ANDROID) + add_subdirectory(gfx-gles-common) add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-vulkan) diff --git a/native/cocos/renderer/core/gfx-agent/GFXAgent.h b/native/cocos/renderer/core/gfx-agent/GFXAgent.h index 455b8d9e7e..c945896d7d 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp index 270f7d820a..51454efcc2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h index 5c50478475..fc5d466718 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 959471f7f2..6ccca93bac 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -66,8 +66,7 @@ void CommandBufferAgent::flushCommands(uint count, CommandBufferAgent *const *cm CommandBufferAgent::~CommandBufferAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestruct, + ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferDestruct, actor, _actor, { CC_DELETE(actor); @@ -112,8 +111,7 @@ bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferInit, + ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferInit, actor, getActor(), info, actorInfo, { @@ -127,8 +125,7 @@ void CommandBufferAgent::destroy() { destroyMessageQueue(); ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestroy, + ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferDestroy, actor, getActor(), { actor->destroy(); @@ -150,8 +147,7 @@ void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer void CommandBufferAgent::end() { ENQUEUE_MESSAGE_1( - _messageQueue, - CommandBufferEnd, + _messageQueue, CommandBufferEnd, actor, getActor(), { actor->end(); @@ -175,8 +171,7 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb } ENQUEUE_MESSAGE_9( - _messageQueue, - CommandBufferBeginRenderPass, + _messageQueue, CommandBufferBeginRenderPass, actor, getActor(), renderPass, ((RenderPassAgent *)renderPass)->getActor(), fbo, ((FramebufferAgent *)fbo)->getActor(), @@ -193,8 +188,7 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb void CommandBufferAgent::endRenderPass() { ENQUEUE_MESSAGE_1( - _messageQueue, - CommandBufferEndRenderPass, + _messageQueue, CommandBufferEndRenderPass, actor, getActor(), { actor->endRenderPass(); @@ -210,8 +204,7 @@ void CommandBufferAgent::execute(CommandBuffer *const *cmdBuffs, uint32_t count) } ENQUEUE_MESSAGE_3( - _messageQueue, - CommandBufferExecute, + _messageQueue, CommandBufferExecute, actor, getActor(), cmdBuffs, actorCmdBuffs, count, count, @@ -222,8 +215,7 @@ void CommandBufferAgent::execute(CommandBuffer *const *cmdBuffs, uint32_t count) void CommandBufferAgent::bindPipelineState(PipelineState *pso) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferBindPipelineState, + _messageQueue, CommandBufferBindPipelineState, actor, getActor(), pso, ((PipelineStateAgent *)pso)->getActor(), { @@ -239,8 +231,7 @@ void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferBindDescriptorSet, + _messageQueue, CommandBufferBindDescriptorSet, actor, getActor(), set, set, descriptorSet, ((DescriptorSetAgent *)descriptorSet)->getActor(), @@ -253,8 +244,7 @@ void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSe void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferBindInputAssembler, + _messageQueue, CommandBufferBindInputAssembler, actor, getActor(), ia, ((InputAssemblerAgent *)ia)->getActor(), { @@ -264,8 +254,7 @@ void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { void CommandBufferAgent::setViewport(const Viewport &vp) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetViewport, + _messageQueue, CommandBufferSetViewport, actor, getActor(), vp, vp, { @@ -275,8 +264,7 @@ void CommandBufferAgent::setViewport(const Viewport &vp) { void CommandBufferAgent::setScissor(const Rect &rect) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetScissor, + _messageQueue, CommandBufferSetScissor, actor, getActor(), rect, rect, { @@ -286,8 +274,7 @@ void CommandBufferAgent::setScissor(const Rect &rect) { void CommandBufferAgent::setLineWidth(float width) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetLineWidth, + _messageQueue, CommandBufferSetLineWidth, actor, getActor(), width, width, { @@ -297,8 +284,7 @@ void CommandBufferAgent::setLineWidth(float width) { void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) { ENQUEUE_MESSAGE_4( - _messageQueue, - CommandBufferSetDepthBias, + _messageQueue, CommandBufferSetDepthBias, actor, getActor(), constant, constant, clamp, clamp, @@ -310,8 +296,7 @@ void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) void CommandBufferAgent::setBlendConstants(const Color &constants) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetBlendConstants, + _messageQueue, CommandBufferSetBlendConstants, actor, getActor(), constants, constants, { @@ -321,8 +306,7 @@ void CommandBufferAgent::setBlendConstants(const Color &constants) { void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { ENQUEUE_MESSAGE_3( - _messageQueue, - CommandBufferSetDepthBound, + _messageQueue, CommandBufferSetDepthBound, actor, getActor(), minBounds, minBounds, maxBounds, maxBounds, @@ -333,8 +317,7 @@ void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { ENQUEUE_MESSAGE_3( - _messageQueue, - CommandBufferSetStencilWriteMask, + _messageQueue, CommandBufferSetStencilWriteMask, actor, getActor(), face, face, mask, mask, @@ -345,8 +328,7 @@ void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint mask) { ENQUEUE_MESSAGE_4( - _messageQueue, - CommandBufferSetStencilCompareMask, + _messageQueue, CommandBufferSetStencilCompareMask, actor, getActor(), face, face, ref, ref, @@ -358,8 +340,7 @@ void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint m void CommandBufferAgent::draw(InputAssembler *ia) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferDraw, + _messageQueue, CommandBufferDraw, actor, getActor(), ia, ((InputAssemblerAgent *)ia)->getActor(), { @@ -374,8 +355,7 @@ void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) memcpy(actorData, data, size); ENQUEUE_MESSAGE_4( - queue, - CommandBufferUpdateBuffer, + queue, CommandBufferUpdateBuffer, actor, getActor(), buff, ((BufferAgent *)buff)->getActor(), data, actorData, @@ -407,8 +387,7 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex } ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferCopyBuffersToTexture, + _messageQueue, CommandBufferCopyBuffersToTexture, actor, getActor(), buffers, actorBuffers, texture, ((TextureAgent *)texture)->getActor(), @@ -429,8 +408,7 @@ void CommandBufferAgent::blitTexture(Texture *srcTexture, Texture *dstTexture, c memcpy(actorRegions, regions, count * sizeof(TextureBlit)); ENQUEUE_MESSAGE_6( - _messageQueue, - CommandBufferBlitTexture, + _messageQueue, CommandBufferBlitTexture, actor, getActor(), srcTexture, actorSrcTexture, dstTexture, actorDstTexture, @@ -447,8 +425,7 @@ void CommandBufferAgent::dispatch(const DispatchInfo &info) { if (info.indirectBuffer) actorInfo.indirectBuffer = ((BufferAgent *)info.indirectBuffer)->getActor(); ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferDispatch, + _messageQueue, CommandBufferDispatch, actor, getActor(), info, actorInfo, { @@ -458,7 +435,7 @@ void CommandBufferAgent::dispatch(const DispatchInfo &info) { void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { TextureBarrier **actorTextureBarriers = nullptr; - Texture **actorTextures = nullptr; + Texture ** actorTextures = nullptr; if (textureBarrierCount) { actorTextureBarriers = getAllocator()->allocate(textureBarrierCount); @@ -471,8 +448,7 @@ void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const Tex } ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferPipelineBarrier, + _messageQueue, CommandBufferPipelineBarrier, actor, getActor(), barrier, barrier, textureBarriers, actorTextureBarriers, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 5b17b5821b..14508ee995 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp index c61534bacb..4cdaf46583 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h index d3774cdbaf..440d94d6f6 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp index 7571a88b25..fccbd3aef8 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h index a31779f3b9..575afd3924 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 661bd00ee2..31d6090b28 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -50,9 +50,9 @@ DeviceAgent::~DeviceAgent() { } bool DeviceAgent::initialize(const DeviceInfo &info) { - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; + _width = info.width; + _height = info.height; + _nativeWidth = info.nativeWidth; _nativeHeight = info.nativeHeight; _windowHandle = info.windowHandle; @@ -68,15 +68,15 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { return false; } - _context = _actor->getContext(); - _API = _actor->getGfxAPI(); - _deviceName = _actor->getDeviceName(); - _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); - _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); + _context = _actor->getContext(); + _API = _actor->getGfxAPI(); + _deviceName = _actor->getDeviceName(); + _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); + _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); ((CommandBufferAgent *)_cmdBuff)->_queue = _queue; - _renderer = _actor->getRenderer(); - _vendor = _actor->getVendor(); - _caps = _actor->_caps; + _renderer = _actor->getRenderer(); + _vendor = _actor->getVendor(); + _caps = _actor->_caps; memcpy(_features, _actor->_features, (uint)Feature::COUNT * sizeof(bool)); _mainEncoder = CC_NEW(MessageQueue); @@ -94,8 +94,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { void DeviceAgent::destroy() { ENQUEUE_MESSAGE_1( - getMessageQueue(), - DeviceDestroy, + getMessageQueue(), DeviceDestroy, actor, getActor(), { actor->destroy(); @@ -127,8 +126,7 @@ void DeviceAgent::resize(uint width, uint height) { _height = _nativeHeight = height; ENQUEUE_MESSAGE_3( - getMessageQueue(), - DeviceResize, + getMessageQueue(), DeviceResize, actor, getActor(), width, width, height, height, @@ -139,8 +137,7 @@ void DeviceAgent::resize(uint width, uint height) { void DeviceAgent::acquire() { ENQUEUE_MESSAGE_1( - _mainEncoder, - DeviceAcquire, + _mainEncoder, DeviceAcquire, actor, getActor(), { actor->acquire(); @@ -149,19 +146,18 @@ void DeviceAgent::acquire() { void DeviceAgent::present() { ENQUEUE_MESSAGE_2( - _mainEncoder, - DevicePresent, + _mainEncoder, DevicePresent, actor, getActor(), frameBoundarySemaphore, &_frameBoundarySemaphore, { actor->present(); - frameBoundarySemaphore->Signal(); + frameBoundarySemaphore->signal(); }); MessageQueue::freeChunksInFreeQueue(_mainEncoder); _mainEncoder->finishWriting(); _currentIndex = (_currentIndex + 1) % (MAX_CPU_FRAME_AHEAD + 1); - _frameBoundarySemaphore.Wait(); + _frameBoundarySemaphore.wait(); getMainAllocator()->reset(); for (CommandBufferAgent *cmdBuff : _cmdBuffRefs) { @@ -210,73 +206,73 @@ CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info, } Queue *DeviceAgent::createQueue() { - Queue *actor = _actor->createQueue(); + Queue * actor = _actor->createQueue(); QueueAgent *agent = CC_NEW(QueueAgent(actor, this)); return agent; } Buffer *DeviceAgent::createBuffer() { - Buffer *actor = _actor->createBuffer(); + Buffer * actor = _actor->createBuffer(); BufferAgent *agent = CC_NEW(BufferAgent(actor, this)); return agent; } Texture *DeviceAgent::createTexture() { - Texture *actor = _actor->createTexture(); + Texture * actor = _actor->createTexture(); TextureAgent *agent = CC_NEW(TextureAgent(actor, this)); return agent; } Sampler *DeviceAgent::createSampler() { - Sampler *actor = _actor->createSampler(); + Sampler * actor = _actor->createSampler(); SamplerAgent *agent = CC_NEW(SamplerAgent(actor, this)); return agent; } Shader *DeviceAgent::createShader() { - Shader *actor = _actor->createShader(); + Shader * actor = _actor->createShader(); ShaderAgent *agent = CC_NEW(ShaderAgent(actor, this)); return agent; } InputAssembler *DeviceAgent::createInputAssembler() { - InputAssembler *actor = _actor->createInputAssembler(); + InputAssembler * actor = _actor->createInputAssembler(); InputAssemblerAgent *agent = CC_NEW(InputAssemblerAgent(actor, this)); return agent; } RenderPass *DeviceAgent::createRenderPass() { - RenderPass *actor = _actor->createRenderPass(); + RenderPass * actor = _actor->createRenderPass(); RenderPassAgent *agent = CC_NEW(RenderPassAgent(actor, this)); return agent; } Framebuffer *DeviceAgent::createFramebuffer() { - Framebuffer *actor = _actor->createFramebuffer(); + Framebuffer * actor = _actor->createFramebuffer(); FramebufferAgent *agent = CC_NEW(FramebufferAgent(actor, this)); return agent; } DescriptorSet *DeviceAgent::createDescriptorSet() { - DescriptorSet *actor = _actor->createDescriptorSet(); + DescriptorSet * actor = _actor->createDescriptorSet(); DescriptorSetAgent *agent = CC_NEW(DescriptorSetAgent(actor, this)); return agent; } DescriptorSetLayout *DeviceAgent::createDescriptorSetLayout() { - DescriptorSetLayout *actor = _actor->createDescriptorSetLayout(); + DescriptorSetLayout * actor = _actor->createDescriptorSetLayout(); DescriptorSetLayoutAgent *agent = CC_NEW(DescriptorSetLayoutAgent(actor, this)); return agent; } PipelineLayout *DeviceAgent::createPipelineLayout() { - PipelineLayout *actor = _actor->createPipelineLayout(); + PipelineLayout * actor = _actor->createPipelineLayout(); PipelineLayoutAgent *agent = CC_NEW(PipelineLayoutAgent(actor, this)); return agent; } PipelineState *DeviceAgent::createPipelineState() { - PipelineState *actor = _actor->createPipelineState(); + PipelineState * actor = _actor->createPipelineState(); PipelineStateAgent *agent = CC_NEW(PipelineStateAgent(actor, this)); return agent; } @@ -302,7 +298,7 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d const uint8_t **actorBuffers = allocator->allocate(bufferCount); for (uint i = 0u, n = 0u; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); + uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { uint8_t *buffer = allocator->allocate(size); memcpy(buffer, buffers[n], size); @@ -311,8 +307,7 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d } ENQUEUE_MESSAGE_5( - _mainEncoder, - DeviceCopyBuffersToTexture, + _mainEncoder, DeviceCopyBuffersToTexture, actor, getActor(), buffers, actorBuffers, dst, ((TextureAgent *)dst)->getActor(), @@ -336,8 +331,7 @@ void DeviceAgent::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { } ENQUEUE_MESSAGE_3( - _mainEncoder, - DeviceFlushCommands, + _mainEncoder, DeviceFlushCommands, count, count, cmdBuffs, (CommandBufferAgent *const *)agentCmdBuffs, multiThreaded, multiThreaded, diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index b0a0a7c44b..f4b5fa5607 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp index ec18959106..d244fadce9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h index d24a24cefc..aeb3931a33 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp index 3e51e9ad0f..ca2a5d3474 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h index c4165925c0..50ffb27f17 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h index 0420b511a4..b4e1c674d6 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h +++ b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -23,67 +23,67 @@ THE SOFTWARE. ****************************************************************************/ -#pragma once - -#include -#include -#include "base/threading/ThreadSafeLinearAllocator.h" - -namespace cc { -namespace gfx { - -namespace { -constexpr size_t DEFAULT_BLOCK_SIZE = 4096 * 16; - -uint nextPowerOf2(uint v) { - v--; - v |= v >> 1; - v |= v >> 2; - v |= v >> 4; - v |= v >> 8; - v |= v >> 16; - return ++v; -} -} - -class CC_DLL LinearAllocatorPool final { -public: - LinearAllocatorPool(size_t defaultBlockSize = DEFAULT_BLOCK_SIZE): _defaultBlockSize(defaultBlockSize) { - _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(_defaultBlockSize))); - } - - ~LinearAllocatorPool() { - for (ThreadSafeLinearAllocator *allocator : _allocators) { - CC_SAFE_DELETE(allocator); - } - _allocators.clear(); - } - - template - T* allocate(const uint count, uint alignment = 64u) noexcept { - if (!count) return nullptr; - - T* res = nullptr; - size_t size = count * sizeof(T); - for (ThreadSafeLinearAllocator *allocator : _allocators) { - res = reinterpret_cast(allocator->Allocate(size, alignment)); - if (res) return res; - } - size_t capacity = nextPowerOf2(std::max(DEFAULT_BLOCK_SIZE, size + alignment)); // reserve enough padding space for alignment - _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(capacity))); - return reinterpret_cast(_allocators.back()->Allocate(size, alignment)); - } - - inline void reset() { - for (ThreadSafeLinearAllocator *allocator : _allocators) { - allocator->Recycle(); - } - } - -protected: - vector _allocators; - size_t _defaultBlockSize = DEFAULT_BLOCK_SIZE; -}; - -} // namespace gfx -} // namespace cc +#pragma once + +#include +#include +#include "base/threading/ThreadSafeLinearAllocator.h" + +namespace cc { +namespace gfx { + +namespace { +constexpr size_t DEFAULT_BLOCK_SIZE = 4096 * 16; + +uint nextPowerOf2(uint v) { + v--; + v |= v >> 1; + v |= v >> 2; + v |= v >> 4; + v |= v >> 8; + v |= v >> 16; + return ++v; +} +} + +class CC_DLL LinearAllocatorPool final { +public: + LinearAllocatorPool(size_t defaultBlockSize = DEFAULT_BLOCK_SIZE): _defaultBlockSize(defaultBlockSize) { + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(_defaultBlockSize))); + } + + ~LinearAllocatorPool() { + for (ThreadSafeLinearAllocator *allocator : _allocators) { + CC_SAFE_DELETE(allocator); + } + _allocators.clear(); + } + + template + T* allocate(const uint count, uint alignment = 64u) noexcept { + if (!count) return nullptr; + + T* res = nullptr; + size_t size = count * sizeof(T); + for (ThreadSafeLinearAllocator *allocator : _allocators) { + res = reinterpret_cast(allocator->allocate(size, alignment)); + if (res) return res; + } + size_t capacity = nextPowerOf2(std::max(DEFAULT_BLOCK_SIZE, size + alignment)); // reserve enough padding space for alignment + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(capacity))); + return reinterpret_cast(_allocators.back()->allocate(size, alignment)); + } + + inline void reset() { + for (ThreadSafeLinearAllocator *allocator : _allocators) { + allocator->recycle(); + } + } + +protected: + vector _allocators; + size_t _defaultBlockSize = DEFAULT_BLOCK_SIZE; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp index d39e68a90b..27020b23f9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h index ea3ee1add5..67c5a47f5c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp index 2fe9bf82f7..e98ce30c2e 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h index dbd066dbe6..16bb32b0de 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 1d8bbeced4..acd7453d03 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h index 52fd7ecf0d..44048fa5d4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp index a2d9807c0c..295bb6674c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h index 8f88c6f1d7..2a182e9fb9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp index a92d6b5c35..98218767e4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h index 41527bf742..997b614b80 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp index 2bf6e5f42f..95d14e83d1 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h index 0050818be6..6a2eb507ef 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp index a9042dda40..57e044b53a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h index c262d5d83f..b820f0ec0a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-gles-common/CMakeLists.txt b/native/cocos/renderer/gfx-gles-common/CMakeLists.txt new file mode 100644 index 0000000000..db9bf651aa --- /dev/null +++ b/native/cocos/renderer/gfx-gles-common/CMakeLists.txt @@ -0,0 +1,42 @@ +set(TARGET_NAME GFXGLESCommon) + +message(STATUS "Target: ${TARGET_NAME}...") +# --------------------------------------------------------------------- +# set include files + +set(INCLUDE_FILES + ${GFX_EXTERNAL_PATH}/khronos +) + +include_directories( ${INCLUDE_FILES} ) + +# --------------------------------------------------------------------- + +file(GLOB_RECURSE HEADER_FILES *.h) +file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) +file(GLOB_RECURSE SOURCE_C_FILES *.c) + +set(ALL_FILES + ${HEADER_FILES} + ${SOURCE_CPP_FILES} + ${SOURCE_C_FILES} + ) + +if(COCOS_UNICODE) + add_definitions("-DUNICODE -D_UNICODE") +endif() + +if (COCOS_STATIC) + add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) +else() + add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) +endif() + +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLESCommon) +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLESCommon_d) + +message(STATUS "${TARGET_NAME} configuration completed.") + +target_compile_definitions(${TARGET_NAME} PUBLIC + $<$:CC_DEBUG=1> +) diff --git a/native/cocos/renderer/gfx-gles2/CMakeLists.txt b/native/cocos/renderer/gfx-gles2/CMakeLists.txt index 6f62adb791..dcef66daf3 100644 --- a/native/cocos/renderer/gfx-gles2/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles2/CMakeLists.txt @@ -40,9 +40,9 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) endif() if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/gles2w.cpp") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/GLES2Wrangler.cpp") else() - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/gles2w.mm") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/GLES2Wrangler.mm") endif() if(COCOS_PLATFORM_OSX) @@ -63,7 +63,7 @@ else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) endif() -target_link_libraries(${TARGET_NAME} Core) +target_link_libraries(${TARGET_NAME} Core GFXGLESCommon) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLES2) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES2_d) diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index 81e07e9e4e..f2be4ecbdd 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -19,8 +19,8 @@ include_directories( ${INCLUDE_FILES} ) # --------------------------------------------------------------------- -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) +file(GLOB_RECURSE HEADER_FILES *.h ../gfx-gles-common/*.h) +file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc ../gfx-gles-common/*.cpp) file(GLOB_RECURSE SOURCE_C_FILES *.c) if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) @@ -40,9 +40,9 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) endif() if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/gles3w.cpp") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/GLES3Wrangler.cpp") else() - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/gles3w.mm") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/GLES3Wrangler.mm") endif() if(COCOS_PLATFORM_OSX) @@ -63,7 +63,7 @@ else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) endif() -target_link_libraries(${TARGET_NAME} Core) +target_link_libraries(${TARGET_NAME} Core GFXGLESCommon) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLES3) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES3_d) diff --git a/native/cocos/renderer/gfx-vulkan/GFXVulkan.h b/native/cocos/renderer/gfx-vulkan/GFXVulkan.h index d28f979ef4..06cc8a04b6 100644 --- a/native/cocos/renderer/gfx-vulkan/GFXVulkan.h +++ b/native/cocos/renderer/gfx-vulkan/GFXVulkan.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index bc302744b0..cc2f7a0ba0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.h b/native/cocos/renderer/gfx-vulkan/VKBuffer.h index 6958459e07..706a3c8fb4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 017f0d3f3f..0b6790daa4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index ae08eca46b..f467f90ce9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index c6d50dec83..7eae96870b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index f04d2be0da..ba794f7ebc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index e1f2b454f9..3d5aa7917f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.h b/native/cocos/renderer/gfx-vulkan/VKContext.h index d2588b7db4..059549f452 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.h +++ b/native/cocos/renderer/gfx-vulkan/VKContext.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index ebb8ef57cd..9d988096b3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h index 9ac0298ccb..3df02ccecf 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp index 351af60737..58f7da331b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h index 4175762ee0..8a8e4f44b7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 11a867a319..346c211b41 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 18ddfd4073..0ced0e73cf 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp index d33a8035ca..b272a8bc40 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h index 473e1f66b5..33eac286bc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 26134c80dd..8191669b54 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp index fe03b5362b..44b1e44a42 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h index ef727a1aba..54aea79e74 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp index 16f46d0808..7fbf2f50fb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h index 576e908823..708f29e3e3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp index 56c9d2ad21..b96af66907 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h index fb1e2c8ef7..20a3a9dc5b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index e800bcb3ee..25802d90be 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h index 32cde01f18..2df64aba5f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index fe42b3803f..084ddbd3fc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.h b/native/cocos/renderer/gfx-vulkan/VKQueue.h index b09a747199..ee4038af27 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.h +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index 2e54944009..96b8777d12 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h index ecc867b73f..295e09ed7a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKSPIRV.h b/native/cocos/renderer/gfx-vulkan/VKSPIRV.h index 43ca68a6cc..44a04c4cce 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSPIRV.h +++ b/native/cocos/renderer/gfx-vulkan/VKSPIRV.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp index f2e2bcb236..cf887131ef 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.h b/native/cocos/renderer/gfx-vulkan/VKSampler.h index e2f077f9fc..b14152c5a2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.h +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.cpp b/native/cocos/renderer/gfx-vulkan/VKShader.cpp index 159b1ddca1..dac5704e92 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKShader.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.h b/native/cocos/renderer/gfx-vulkan/VKShader.h index 9ea0200dd9..4bddda9442 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.h +++ b/native/cocos/renderer/gfx-vulkan/VKShader.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.cpp b/native/cocos/renderer/gfx-vulkan/VKStd.cpp index 62541ba7b7..1fd9a74a38 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKStd.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index 144e9b06e7..44cc394f9a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index d2916539d4..4330f2d18a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.h b/native/cocos/renderer/gfx-vulkan/VKTexture.h index 93187da438..0c7b2dcf6e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.h +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp index 5f64af774b..632d998f6e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h index 56d04b0de2..3a00ead7ad 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 858d5771ac..090b38aee9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.cpp b/native/cocos/renderer/pipeline/BatchedBuffer.cpp index 2fc35c3cab..0570f3f49d 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.cpp +++ b/native/cocos/renderer/pipeline/BatchedBuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.h b/native/cocos/renderer/pipeline/BatchedBuffer.h index cf68a9ee9d..9a6fe00010 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.h +++ b/native/cocos/renderer/pipeline/BatchedBuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index 928da5557c..907a721601 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index f141d5e139..5554bee4e6 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index 937146ac47..35a87b78ed 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.h b/native/cocos/renderer/pipeline/InstancedBuffer.h index f5331bf6b8..528e36dd8c 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.h +++ b/native/cocos/renderer/pipeline/InstancedBuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.cpp b/native/cocos/renderer/pipeline/PipelineSceneData.cpp index 208fff5b65..5321660d19 100644 --- a/native/cocos/renderer/pipeline/PipelineSceneData.cpp +++ b/native/cocos/renderer/pipeline/PipelineSceneData.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.h b/native/cocos/renderer/pipeline/PipelineSceneData.h index c889dcb69d..a17ceb2901 100644 --- a/native/cocos/renderer/pipeline/PipelineSceneData.h +++ b/native/cocos/renderer/pipeline/PipelineSceneData.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.cpp b/native/cocos/renderer/pipeline/PipelineStateManager.cpp index c37f813434..6c3bc4cc55 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.cpp +++ b/native/cocos/renderer/pipeline/PipelineStateManager.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.h b/native/cocos/renderer/pipeline/PipelineStateManager.h index 215f4975e5..c38d7919b1 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.h +++ b/native/cocos/renderer/pipeline/PipelineStateManager.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index 1f2f8429eb..23a6e6f298 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineUBO.h b/native/cocos/renderer/pipeline/PipelineUBO.h index 47e8f780d1..71350c2fc5 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.h +++ b/native/cocos/renderer/pipeline/PipelineUBO.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index 64d9d73f33..a9859e828b 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.h b/native/cocos/renderer/pipeline/PlanarShadowQueue.h index d40b5d4693..9a2ac5cbb9 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.h +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index f80620c527..31c2661467 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h index fa94bbece2..2ea6c4fcb5 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp index 728abc4605..0e23c064c6 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.h b/native/cocos/renderer/pipeline/RenderBatchedQueue.h index 3e74c0da28..3bbdebacce 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.h +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderFlow.cpp b/native/cocos/renderer/pipeline/RenderFlow.cpp index e0f4039e19..0ebe9aa852 100644 --- a/native/cocos/renderer/pipeline/RenderFlow.cpp +++ b/native/cocos/renderer/pipeline/RenderFlow.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderFlow.h b/native/cocos/renderer/pipeline/RenderFlow.h index d38f736b8f..a4072063f1 100644 --- a/native/cocos/renderer/pipeline/RenderFlow.h +++ b/native/cocos/renderer/pipeline/RenderFlow.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp index 7020a99a08..3e7acad8b2 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.h b/native/cocos/renderer/pipeline/RenderInstancedQueue.h index 232ab18c9b..f15f6b14ea 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.h +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index 3aad7b5038..0156fa5125 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderPipeline.h b/native/cocos/renderer/pipeline/RenderPipeline.h index 0afb1704e9..6655fa7136 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.h +++ b/native/cocos/renderer/pipeline/RenderPipeline.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderQueue.cpp b/native/cocos/renderer/pipeline/RenderQueue.cpp index 35fede71ca..9c52c6e33b 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderQueue.h b/native/cocos/renderer/pipeline/RenderQueue.h index 6dbf69bcdf..384e2518fe 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.h +++ b/native/cocos/renderer/pipeline/RenderQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderStage.cpp b/native/cocos/renderer/pipeline/RenderStage.cpp index d6a043d81e..8169e90a16 100644 --- a/native/cocos/renderer/pipeline/RenderStage.cpp +++ b/native/cocos/renderer/pipeline/RenderStage.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderStage.h b/native/cocos/renderer/pipeline/RenderStage.h index 3d7a805e21..0b3427fb7f 100644 --- a/native/cocos/renderer/pipeline/RenderStage.h +++ b/native/cocos/renderer/pipeline/RenderStage.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/SceneCulling.cpp b/native/cocos/renderer/pipeline/SceneCulling.cpp index df654197fc..65e845965d 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/SceneCulling.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/SceneCulling.h b/native/cocos/renderer/pipeline/SceneCulling.h index 5845dc924d..c6835f0829 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.h +++ b/native/cocos/renderer/pipeline/SceneCulling.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp index b012cf99fa..dd36b1221d 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h index 8af97faaf5..3418cdc891 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp index 0d7ae5c8ea..ce70fbd4ee 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardFlow.h b/native/cocos/renderer/pipeline/forward/ForwardFlow.h index 7a775e0ffb..63072a2d62 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardFlow.h +++ b/native/cocos/renderer/pipeline/forward/ForwardFlow.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 01d61c8c6f..904dd35d4d 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h index 0a221d4aa5..c0b0c26485 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp index 1bfbe33531..6aa479ed26 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.h b/native/cocos/renderer/pipeline/forward/ForwardStage.h index e516f3a0e7..14f8021af2 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.h +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/UIPhase.cpp b/native/cocos/renderer/pipeline/forward/UIPhase.cpp index 0c90a48133..5264610c33 100644 --- a/native/cocos/renderer/pipeline/forward/UIPhase.cpp +++ b/native/cocos/renderer/pipeline/forward/UIPhase.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/UIPhase.h b/native/cocos/renderer/pipeline/forward/UIPhase.h index e3a8337008..881901819c 100644 --- a/native/cocos/renderer/pipeline/forward/UIPhase.h +++ b/native/cocos/renderer/pipeline/forward/UIPhase.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/helper/DefineMap.cpp b/native/cocos/renderer/pipeline/helper/DefineMap.cpp index d12bac9264..777d97a274 100644 --- a/native/cocos/renderer/pipeline/helper/DefineMap.cpp +++ b/native/cocos/renderer/pipeline/helper/DefineMap.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/helper/DefineMap.h b/native/cocos/renderer/pipeline/helper/DefineMap.h index e922b6c837..b38fa93b73 100644 --- a/native/cocos/renderer/pipeline/helper/DefineMap.h +++ b/native/cocos/renderer/pipeline/helper/DefineMap.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp index 77e8b86798..153d8eef90 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index d4afbbc09d..60a4f3dcc8 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index b635a922b1..f17f9de392 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h index 40f0d53798..bdd51049e4 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp index 6aa40895b3..ba955ba8c7 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.h b/native/cocos/renderer/pipeline/shadow/ShadowStage.h index db1d918c10..cb43c55ed5 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/templates/android/build/gradle.properties b/native/templates/android/build/gradle.properties index a9271cc992..58d38b8729 100644 --- a/native/templates/android/build/gradle.properties +++ b/native/templates/android/build/gradle.properties @@ -23,7 +23,7 @@ android.injected.testOnly=false PROP_COMPILE_SDK_VERSION=27 # Android SDK version that will be used as the earliest version of android this application can run on -PROP_MIN_SDK_VERSION=16 +PROP_MIN_SDK_VERSION=21 # Android SDK version that will be used as the latest version of android this application has been tested on PROP_TARGET_SDK_VERSION=27 From e381babfbe5e9d6c5232848720cdf559461c50cf Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 5 Feb 2021 14:38:02 +0800 Subject: [PATCH 151/270] fix format --- native/cocos/base/job-system/JobSystem.h | 2 +- .../job-system-taskflow/TFJobGraph.cpp | 4 +- .../job-system-taskflow/TFJobGraph.h | 6 +- .../job-system-taskflow/TFJobSystem.cpp | 7 +- .../job-system-taskflow/TFJobSystem.h | 6 +- .../job-system/job-system-tbb/TBBJobGraph.cpp | 2 +- .../job-system/job-system-tbb/TBBJobGraph.h | 12 +- .../job-system-tbb/TBBJobSystem.cpp | 7 +- .../job-system/job-system-tbb/TBBJobSystem.h | 6 +- .../base/threading/ConditionVariable.cpp | 23 ++- .../cocos/base/threading/ConditionVariable.h | 34 ++--- native/cocos/base/threading/Event.h | 19 ++- native/cocos/base/threading/MessageQueue.cpp | 135 +++++++++--------- native/cocos/base/threading/MessageQueue.h | 125 ++++++++-------- native/cocos/base/threading/Semaphore.cpp | 18 +-- native/cocos/base/threading/Semaphore.h | 21 ++- native/cocos/base/threading/ThreadPool.cpp | 76 ++++------ native/cocos/base/threading/ThreadPool.h | 75 +++++----- .../cocos/base/threading/ThreadSafeCounter.h | 25 ++-- .../threading/ThreadSafeLinearAllocator.cpp | 43 +++--- .../threading/ThreadSafeLinearAllocator.h | 39 +++-- native/cocos/renderer/CMakeLists.txt | 4 + .../cocos/renderer/core/gfx-agent/GFXAgent.h | 2 +- .../core/gfx-agent/GFXBufferAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXBufferAgent.h | 2 +- .../core/gfx-agent/GFXCommandBufferAgent.cpp | 76 ++++------ .../core/gfx-agent/GFXCommandBufferAgent.h | 2 +- .../core/gfx-agent/GFXDescriptorSetAgent.cpp | 2 +- .../core/gfx-agent/GFXDescriptorSetAgent.h | 2 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.cpp | 2 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.h | 2 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 72 +++++----- .../renderer/core/gfx-agent/GFXDeviceAgent.h | 2 +- .../core/gfx-agent/GFXFramebufferAgent.cpp | 2 +- .../core/gfx-agent/GFXFramebufferAgent.h | 2 +- .../core/gfx-agent/GFXInputAssemblerAgent.cpp | 2 +- .../core/gfx-agent/GFXInputAssemblerAgent.h | 2 +- .../core/gfx-agent/GFXLinearAllocatorPool.h | 130 ++++++++--------- .../core/gfx-agent/GFXPipelineLayoutAgent.cpp | 2 +- .../core/gfx-agent/GFXPipelineLayoutAgent.h | 2 +- .../core/gfx-agent/GFXPipelineStateAgent.cpp | 2 +- .../core/gfx-agent/GFXPipelineStateAgent.h | 2 +- .../renderer/core/gfx-agent/GFXQueueAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXQueueAgent.h | 2 +- .../core/gfx-agent/GFXRenderPassAgent.cpp | 2 +- .../core/gfx-agent/GFXRenderPassAgent.h | 2 +- .../core/gfx-agent/GFXSamplerAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXSamplerAgent.h | 2 +- .../core/gfx-agent/GFXShaderAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXShaderAgent.h | 2 +- .../core/gfx-agent/GFXTextureAgent.cpp | 2 +- .../renderer/core/gfx-agent/GFXTextureAgent.h | 2 +- .../renderer/gfx-gles-common/CMakeLists.txt | 42 ++++++ .../cocos/renderer/gfx-gles2/CMakeLists.txt | 6 +- .../cocos/renderer/gfx-gles3/CMakeLists.txt | 10 +- .../cocos/renderer/gfx-vulkan/CMakeLists.txt | 1 + native/cocos/renderer/gfx-vulkan/GFXVulkan.h | 2 +- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKBuffer.h | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKCommands.h | 2 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKContext.h | 2 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 2 +- .../renderer/gfx-vulkan/VKDescriptorSet.h | 2 +- .../gfx-vulkan/VKDescriptorSetLayout.cpp | 2 +- .../gfx-vulkan/VKDescriptorSetLayout.h | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.h | 2 +- .../renderer/gfx-vulkan/VKFramebuffer.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKFramebuffer.h | 2 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 2 +- .../renderer/gfx-vulkan/VKGlobalBarrier.cpp | 2 +- .../renderer/gfx-vulkan/VKGlobalBarrier.h | 2 +- .../renderer/gfx-vulkan/VKInputAssembler.cpp | 2 +- .../renderer/gfx-vulkan/VKInputAssembler.h | 2 +- .../renderer/gfx-vulkan/VKPipelineLayout.cpp | 2 +- .../renderer/gfx-vulkan/VKPipelineLayout.h | 2 +- .../renderer/gfx-vulkan/VKPipelineState.cpp | 2 +- .../renderer/gfx-vulkan/VKPipelineState.h | 2 +- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKQueue.h | 2 +- .../renderer/gfx-vulkan/VKRenderPass.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKRenderPass.h | 2 +- native/cocos/renderer/gfx-vulkan/VKSPIRV.h | 2 +- .../cocos/renderer/gfx-vulkan/VKSampler.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKSampler.h | 2 +- native/cocos/renderer/gfx-vulkan/VKShader.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKShader.h | 2 +- native/cocos/renderer/gfx-vulkan/VKStd.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKStd.h | 2 +- .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKTexture.h | 2 +- .../renderer/gfx-vulkan/VKTextureBarrier.cpp | 2 +- .../renderer/gfx-vulkan/VKTextureBarrier.h | 2 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 4 +- .../cocos/renderer/pipeline/BatchedBuffer.cpp | 2 +- .../cocos/renderer/pipeline/BatchedBuffer.h | 2 +- native/cocos/renderer/pipeline/Define.cpp | 2 +- native/cocos/renderer/pipeline/Define.h | 2 +- .../renderer/pipeline/InstancedBuffer.cpp | 2 +- .../cocos/renderer/pipeline/InstancedBuffer.h | 2 +- .../renderer/pipeline/PipelineSceneData.cpp | 2 +- .../renderer/pipeline/PipelineSceneData.h | 2 +- .../pipeline/PipelineStateManager.cpp | 2 +- .../renderer/pipeline/PipelineStateManager.h | 2 +- .../cocos/renderer/pipeline/PipelineUBO.cpp | 2 +- native/cocos/renderer/pipeline/PipelineUBO.h | 2 +- .../renderer/pipeline/PlanarShadowQueue.cpp | 2 +- .../renderer/pipeline/PlanarShadowQueue.h | 2 +- .../pipeline/RenderAdditiveLightQueue.cpp | 2 +- .../pipeline/RenderAdditiveLightQueue.h | 2 +- .../renderer/pipeline/RenderBatchedQueue.cpp | 2 +- .../renderer/pipeline/RenderBatchedQueue.h | 2 +- native/cocos/renderer/pipeline/RenderFlow.cpp | 2 +- native/cocos/renderer/pipeline/RenderFlow.h | 2 +- .../pipeline/RenderInstancedQueue.cpp | 2 +- .../renderer/pipeline/RenderInstancedQueue.h | 2 +- .../renderer/pipeline/RenderPipeline.cpp | 2 +- .../cocos/renderer/pipeline/RenderPipeline.h | 2 +- .../cocos/renderer/pipeline/RenderQueue.cpp | 2 +- native/cocos/renderer/pipeline/RenderQueue.h | 2 +- .../cocos/renderer/pipeline/RenderStage.cpp | 2 +- native/cocos/renderer/pipeline/RenderStage.h | 2 +- .../cocos/renderer/pipeline/SceneCulling.cpp | 2 +- native/cocos/renderer/pipeline/SceneCulling.h | 2 +- .../pipeline/ShadowMapBatchedQueue.cpp | 2 +- .../renderer/pipeline/ShadowMapBatchedQueue.h | 2 +- .../renderer/pipeline/forward/ForwardFlow.cpp | 2 +- .../renderer/pipeline/forward/ForwardFlow.h | 2 +- .../pipeline/forward/ForwardPipeline.cpp | 2 +- .../pipeline/forward/ForwardPipeline.h | 2 +- .../pipeline/forward/ForwardStage.cpp | 2 +- .../renderer/pipeline/forward/ForwardStage.h | 2 +- .../renderer/pipeline/forward/UIPhase.cpp | 2 +- .../cocos/renderer/pipeline/forward/UIPhase.h | 2 +- .../renderer/pipeline/helper/DefineMap.cpp | 2 +- .../renderer/pipeline/helper/DefineMap.h | 2 +- .../renderer/pipeline/helper/SharedMemory.cpp | 2 +- .../renderer/pipeline/helper/SharedMemory.h | 2 +- .../renderer/pipeline/shadow/ShadowFlow.cpp | 2 +- .../renderer/pipeline/shadow/ShadowFlow.h | 2 +- .../renderer/pipeline/shadow/ShadowStage.cpp | 2 +- .../renderer/pipeline/shadow/ShadowStage.h | 2 +- .../templates/android/build/gradle.properties | 2 +- 147 files changed, 619 insertions(+), 645 deletions(-) create mode 100644 native/cocos/renderer/gfx-gles-common/CMakeLists.txt diff --git a/native/cocos/base/job-system/JobSystem.h b/native/cocos/base/job-system/JobSystem.h index c4f5bf84bd..5f08f24419 100644 --- a/native/cocos/base/job-system/JobSystem.h +++ b/native/cocos/base/job-system/JobSystem.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp index 1895adfa71..9abba5263b 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -36,7 +36,7 @@ void TFJobGraph::makeEdge(uint j1, uint j2) noexcept { void TFJobGraph::run() noexcept { if (_pending) return; - _future = _executor->run(_flow); + _future = _executor->run(_flow); _pending = true; } diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index 9740ad2eb4..07d44418e8 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -56,11 +56,11 @@ public: private: tf::Executor *_executor = nullptr; - tf::Taskflow _flow; + tf::Taskflow _flow; deque _tasks; // existing tasks cannot be invalidated std::future _future; - bool _pending = false; + bool _pending = false; }; template diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp index f2943835ec..7ea42193b0 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,16 +25,15 @@ #include "CoreStd.h" -#include "TFJobSystem.h" #include "TFJobGraph.h" +#include "TFJobSystem.h" namespace cc { TFJobSystem *TFJobSystem::_instance = nullptr; TFJobSystem::TFJobSystem(uint threadCount) noexcept -: _executor(threadCount) -{ +: _executor(threadCount) { CC_LOG_INFO("Taskflow Job system initialized: %d worker threads", threadCount); } diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 11fea0a2c5..792c820be8 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -26,8 +26,8 @@ #pragma once #include "taskflow/taskflow.hpp" -#include #include +#include namespace cc { @@ -53,7 +53,7 @@ private: friend class TFJobGraph; static TFJobSystem *_instance; - + tf::Executor _executor; }; diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp index a7ca4d43ba..ef95f22023 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index 4450c60e44..1fdcb49c89 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -67,7 +67,7 @@ private: struct TBBParallelJob { uint predecessor = 0u; - uint successor = 0u; + uint successor = 0u; }; vector _parallelJobs; @@ -84,14 +84,14 @@ uint TBBJobGraph::createJob(Function &&func) noexcept { template uint TBBJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept { _nodes.emplace_back(_graph, [](TBBJobToken t) {}); - uint predecessorIdx = _nodes.size() - 1u; - TBBJobNode &predecessor = _nodes.back(); + uint predecessorIdx = _nodes.size() - 1u; + TBBJobNode &predecessor = _nodes.back(); tbb::flow::make_edge(_nodes.front(), predecessor); _nodes.emplace_back(_graph, [](TBBJobToken t) {}); - uint successorIdx = _nodes.size() - 1u; - TBBJobNode &successor = _nodes.back(); + uint successorIdx = _nodes.size() - 1u; + TBBJobNode &successor = _nodes.back(); for (uint i = begin; i < end; i += step) { _nodes.emplace_back(_graph, [i, &func](TBBJobToken t) { func(i); }); diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp index 126357f92f..a3658c63d6 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,15 +25,16 @@ #include "CoreStd.h" -#include "TBBJobSystem.h" #include "TBBJobGraph.h" +#include "TBBJobSystem.h" namespace cc { TBBJobSystem *TBBJobSystem::_instance = nullptr; TBBJobSystem::TBBJobSystem(uint threadCount) noexcept -: _control(tbb::global_control::max_allowed_parallelism, threadCount), _threadCount(threadCount) { +: _control(tbb::global_control::max_allowed_parallelism, threadCount), + _threadCount(threadCount) { CC_LOG_INFO("TBB Job system initialized: %d worker threads", threadCount); } diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h index d8ea7514e3..cfc1770ab5 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -26,8 +26,8 @@ #pragma once #include "tbb/global_control.h" -#include #include +#include namespace cc { @@ -55,7 +55,7 @@ private: static TBBJobSystem *_instance; tbb::global_control _control; - uint _threadCount = 0u; + uint _threadCount = 0u; }; } // namespace cc diff --git a/native/cocos/base/threading/ConditionVariable.cpp b/native/cocos/base/threading/ConditionVariable.cpp index 348214deee..d77b1ed1ef 100644 --- a/native/cocos/base/threading/ConditionVariable.cpp +++ b/native/cocos/base/threading/ConditionVariable.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -27,22 +27,19 @@ namespace cc { -void ConditionVariable::Wait() noexcept -{ - std::unique_lock lock(mMutex); - mCV.wait(lock); +void ConditionVariable::wait() noexcept { + std::unique_lock lock(_mutex); + _condVar.wait(lock); } -void ConditionVariable::Signal() noexcept -{ - std::lock_guard lock(mMutex); - mCV.notify_one(); +void ConditionVariable::signal() noexcept { + std::lock_guard lock(_mutex); + _condVar.notify_one(); } -void ConditionVariable::SignalAll() noexcept -{ - std::lock_guard lock(mMutex); - mCV.notify_all(); +void ConditionVariable::SignalAll() noexcept { + std::lock_guard lock(_mutex); + _condVar.notify_all(); } } // namespace cc diff --git a/native/cocos/base/threading/ConditionVariable.h b/native/cocos/base/threading/ConditionVariable.h index 3e18a686a0..15ed23c82d 100644 --- a/native/cocos/base/threading/ConditionVariable.h +++ b/native/cocos/base/threading/ConditionVariable.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,36 +25,30 @@ #pragma once -#include -#include #include +#include +#include namespace cc { -class ConditionVariable final -{ +class ConditionVariable final { public: - - void Wait() noexcept; + void wait() noexcept; template - void Wait(Function func, Args&&... args) noexcept; - void Signal() noexcept; - void SignalAll() noexcept; + void wait(Function func, Args &&... args) noexcept; + void signal() noexcept; + void SignalAll() noexcept; private: - - std::mutex mMutex; - std::condition_variable mCV; + std::mutex _mutex; + std::condition_variable _condVar; }; +// DO NOT MANIPULATE ANY SYCHRONIZATION PRIMITIVES INSIDE THE CALLBACK template -void ConditionVariable::Wait(Function func, Args&&... args) noexcept -{ - // ******** 注意 ******** - // func内不要操作任何同步对象!!! - // 如果不确定 就不要调用这个函数!!! - std::unique_lock lock(mMutex); - mCV.wait(lock, std::bind(std::forward(func), std::forward(args)...)); +void ConditionVariable::wait(Function func, Args &&... args) noexcept { + std::unique_lock lock(_mutex); + _condVar.wait(lock, std::bind(std::forward(func), std::forward(args)...)); } } // namespace cc diff --git a/native/cocos/base/threading/Event.h b/native/cocos/base/threading/Event.h index a73bd46bc1..c77ebeb524 100644 --- a/native/cocos/base/threading/Event.h +++ b/native/cocos/base/threading/Event.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -31,20 +31,17 @@ namespace cc { template -class Event final -{ +class Event final { public: - - inline void Wait() noexcept { mSyncObject.Wait(); } - inline void Signal() noexcept { mSyncObject.Signal(); }; - inline void SignalAll() noexcept { mSyncObject.SignalAll(); } + inline void wait() noexcept { _syncObject.wait(); } + inline void signal() noexcept { _syncObject.signal(); }; + inline void signalAll() noexcept { _syncObject.signalAll(); } private: - - T mSyncObject {}; + T _syncObject{}; }; -using EventCV = Event; -using EventSem = Event; +using EventCV = Event; +using EventSem = Event; } // namespace cc diff --git a/native/cocos/base/threading/MessageQueue.cpp b/native/cocos/base/threading/MessageQueue.cpp index f038f0042d..c58a7ed6aa 100644 --- a/native/cocos/base/threading/MessageQueue.cpp +++ b/native/cocos/base/threading/MessageQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -29,9 +29,9 @@ namespace cc { namespace { -uint32_t constexpr kMemoryChunkSize = 4096 * 16; -uint32_t constexpr kMemoryChunkPoolCapacity = 64; -uint32_t constexpr kSwitchChunkMemoryRequirement = sizeof(MemoryChunkSwitchMessage) + sizeof(DummyMessage); +uint32_t constexpr MEMORY_CHUNK_SIZE = 4096 * 16; +uint32_t constexpr MEMORY_CHUNK_POOL_CAPACITY = 64; +uint32_t constexpr SWITCH_CHUNK_MEMORY_REQUIREMENT = sizeof(MemoryChunkSwitchMessage) + sizeof(DummyMessage); } // namespace MessageQueue::MemoryAllocator &MessageQueue::MemoryAllocator::getInstance() noexcept { @@ -42,10 +42,10 @@ MessageQueue::MemoryAllocator &MessageQueue::MemoryAllocator::getInstance() noex uint8_t *MessageQueue::MemoryAllocator::request() noexcept { uint8_t *newChunk = nullptr; - if (mChunkPool.try_dequeue(newChunk)) { - mChunkCount.fetch_sub(1, std::memory_order_acq_rel); + if (_chunkPool.try_dequeue(newChunk)) { + _chunkCount.fetch_sub(1, std::memory_order_acq_rel); } else { - newChunk = memoryAllocateForMultiThread(kMemoryChunkSize); + newChunk = memoryAllocateForMultiThread(MEMORY_CHUNK_SIZE); } return newChunk; @@ -53,14 +53,14 @@ uint8_t *MessageQueue::MemoryAllocator::request() noexcept { void MessageQueue::MemoryAllocator::recycle(uint8_t *const chunk, bool const freeByUser) noexcept { if (freeByUser) { - mChunkFreeQueue.enqueue(chunk); + _chunkFreeQueue.enqueue(chunk); } else { free(chunk); } } void MessageQueue::MemoryAllocator::freeByUser(MessageQueue *const mainMessageQueue) noexcept { - auto queue = &mChunkFreeQueue; + auto queue = &_chunkFreeQueue; ENQUEUE_MESSAGE_1( mainMessageQueue, FreeChunksInFreeQueue, @@ -77,76 +77,76 @@ void MessageQueue::MemoryAllocator::freeByUser(MessageQueue *const mainMessageQu } void MessageQueue::MemoryAllocator::free(uint8_t *const chunk) noexcept { - if (mChunkCount.load(std::memory_order_acquire) >= kMemoryChunkPoolCapacity) { + if (_chunkCount.load(std::memory_order_acquire) >= MEMORY_CHUNK_POOL_CAPACITY) { memoryFreeForMultiThread(chunk); } else { - mChunkPool.enqueue(chunk); - mChunkCount.fetch_add(1, std::memory_order_acq_rel); + _chunkPool.enqueue(chunk); + _chunkCount.fetch_add(1, std::memory_order_acq_rel); } } MessageQueue::MessageQueue() { uint8_t *const chunk = MemoryAllocator::getInstance().request(); - mW.mCurrentMemoryChunk = chunk; - mR.mCurrentMemoryChunk = chunk; + _writer._currentMemoryChunk = chunk; + _reader._currentMemoryChunk = chunk; // sentinel node will not be executed Message *const msg = allocate(1); pushMessages(); pullMessages(); - mR.mLastMessage = msg; - --mR.mNewMessageCount; + _reader._lastMessage = msg; + --_reader._newMessageCount; } void MessageQueue::kick() noexcept { pushMessages(); - mN.Signal(); + _event.signal(); } void MessageQueue::kickAndWait() noexcept { - EventSem event; + EventSem event; EventSem *const pEvent = &event; ENQUEUE_MESSAGE_1(this, WaitUntilFinish, pEvent, pEvent, { - pEvent->Signal(); + pEvent->signal(); }); kick(); - event.Wait(); + event.wait(); } void MessageQueue::runConsumerThread() noexcept { - if (mWorkerAttached) { + if (_workerAttached) { return; } std::thread consumerThread(&MessageQueue::consumerThreadLoop, this); consumerThread.detach(); - mWorkerAttached = true; + _workerAttached = true; } void MessageQueue::terminateConsumerThread() noexcept { - if (!mWorkerAttached) { + if (!_workerAttached) { return; } - EventSem event; + EventSem event; EventSem *const pEvent = &event; - ReaderContext *const pR = &mR; + ReaderContext *const pR = &_reader; new (allocate(1)) TerminateConsumerThreadMessage(pEvent, pR); kick(); - event.Wait(); + event.wait(); } void MessageQueue::finishWriting(bool wait) noexcept { - if (!mImmediateMode) { - bool *const flushingFinished = &mR.mFlushingFinished; + if (!_immediateMode) { + bool *const flushingFinished = &_reader._flushingFinished; ENQUEUE_MESSAGE_1(this, finishWriting, flushingFinished, flushingFinished, @@ -163,7 +163,7 @@ void MessageQueue::finishWriting(bool wait) noexcept { } void MessageQueue::recycleMemoryChunk(uint8_t *const chunk) const noexcept { - MessageQueue::MemoryAllocator::getInstance().recycle(chunk, mFreeChunksByUser); + MessageQueue::MemoryAllocator::getInstance().recycle(chunk, _freeChunksByUser); } void MessageQueue::freeChunksInFreeQueue(MessageQueue *const mainMessageQueue) noexcept { @@ -172,32 +172,32 @@ void MessageQueue::freeChunksInFreeQueue(MessageQueue *const mainMessageQueue) n uint8_t *MessageQueue::allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept { uint32_t const alignedSize = align(requestSize, 16); - assert(alignedSize + kSwitchChunkMemoryRequirement <= kMemoryChunkSize); // exceeds the block size + assert(alignedSize + SWITCH_CHUNK_MEMORY_REQUIREMENT <= MEMORY_CHUNK_SIZE); // exceeds the block size - uint32_t const newOffset = mW.mOffset + alignedSize; + uint32_t const newOffset = _writer._offset + alignedSize; - if (newOffset + kSwitchChunkMemoryRequirement <= kMemoryChunkSize) { - allocatedSize = alignedSize; - uint8_t *const allocatedMemory = mW.mCurrentMemoryChunk + mW.mOffset; - mW.mOffset = newOffset; + if (newOffset + SWITCH_CHUNK_MEMORY_REQUIREMENT <= MEMORY_CHUNK_SIZE) { + allocatedSize = alignedSize; + uint8_t *const allocatedMemory = _writer._currentMemoryChunk + _writer._offset; + _writer._offset = newOffset; return allocatedMemory; } else { - uint8_t *const newChunk = MessageQueue::MemoryAllocator::getInstance().request(); - MemoryChunkSwitchMessage *const switchMessage = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - new (switchMessage) MemoryChunkSwitchMessage(this, newChunk, mW.mCurrentMemoryChunk); - switchMessage->mNext = reinterpret_cast(newChunk); // point to start position - mW.mLastMessage = switchMessage; - ++mW.mPendingMessageCount; - mW.mCurrentMemoryChunk = newChunk; - mW.mOffset = 0; + uint8_t *const newChunk = MessageQueue::MemoryAllocator::getInstance().request(); + MemoryChunkSwitchMessage *const switchMessage = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); + new (switchMessage) MemoryChunkSwitchMessage(this, newChunk, _writer._currentMemoryChunk); + switchMessage->_next = reinterpret_cast(newChunk); // point to start position + _writer._lastMessage = switchMessage; + ++_writer._pendingMessageCount; + _writer._currentMemoryChunk = newChunk; + _writer._offset = 0; DummyMessage *const head = allocate(1); new (head) DummyMessage; - if (mImmediateMode) { + if (_immediateMode) { pushMessages(); pullMessages(); - assert(mR.mNewMessageCount == 2); + assert(_reader._newMessageCount == 2); executeMessages(); executeMessages(); } @@ -207,22 +207,22 @@ uint8_t *MessageQueue::allocateImpl(uint32_t &allocatedSize, uint32_t const requ } void MessageQueue::pushMessages() noexcept { - mW.mWrittenMessageCount.fetch_add(mW.mPendingMessageCount, std::memory_order_acq_rel); - mW.mPendingMessageCount = 0; + _writer._writtenMessageCount.fetch_add(_writer._pendingMessageCount, std::memory_order_acq_rel); + _writer._pendingMessageCount = 0; } void MessageQueue::pullMessages() noexcept { - uint32_t const writtenMessageCountNew = mW.mWrittenMessageCount.load(std::memory_order_acquire); - mR.mNewMessageCount += writtenMessageCountNew - mR.mWrittenMessageCountSnap; - mR.mWrittenMessageCountSnap = writtenMessageCountNew; + uint32_t const writtenMessageCountNew = _writer._writtenMessageCount.load(std::memory_order_acquire); + _reader._newMessageCount += writtenMessageCountNew - _reader._writtenMessageCountSnap; + _reader._writtenMessageCountSnap = writtenMessageCountNew; } void MessageQueue::flushMessages() noexcept { - while (!mR.mFlushingFinished) { + while (!_reader._flushingFinished) { executeMessages(); } - mR.mFlushingFinished = false; + _reader._flushingFinished = false; } void MessageQueue::executeMessages() noexcept { @@ -241,24 +241,24 @@ Message *MessageQueue::readMessage() noexcept { pullMessages(); // try pulling data from consumer if (!hasNewMessage()) { // still empty - mN.Wait(); // wait for the producer to wake me up + _event.wait(); // wait for the producer to wake me up pullMessages(); // pulling again } } - Message *const msg = mR.mLastMessage->getNext(); - mR.mLastMessage = msg; - --mR.mNewMessageCount; + Message *const msg = _reader._lastMessage->getNext(); + _reader._lastMessage = msg; + --_reader._newMessageCount; assert(msg); return msg; } void MessageQueue::consumerThreadLoop() noexcept { - while (!mR.mTerminateConsumerThread) { + while (!_reader._terminateConsumerThread) { flushMessages(); } - mWorkerAttached = false; + _workerAttached = false; } char const *DummyMessage::getName() const noexcept { @@ -266,16 +266,18 @@ char const *DummyMessage::getName() const noexcept { } MemoryChunkSwitchMessage::MemoryChunkSwitchMessage(MessageQueue *const queue, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept -: mMessageQueue(queue), mNewChunk(newChunk), mOldChunk(oldChunk) { +: _messageQueue(queue), + _newChunk(newChunk), + _oldChunk(oldChunk) { } MemoryChunkSwitchMessage::~MemoryChunkSwitchMessage() { - mMessageQueue->recycleMemoryChunk(mOldChunk); + _messageQueue->recycleMemoryChunk(_oldChunk); } void MemoryChunkSwitchMessage::execute() noexcept { - mMessageQueue->mR.mCurrentMemoryChunk = mNewChunk; - mMessageQueue->pullMessages(); + _messageQueue->_reader._currentMemoryChunk = _newChunk; + _messageQueue->pullMessages(); } char const *MemoryChunkSwitchMessage::getName() const noexcept { @@ -283,13 +285,14 @@ char const *MemoryChunkSwitchMessage::getName() const noexcept { } TerminateConsumerThreadMessage::TerminateConsumerThreadMessage(EventSem *const pEvent, ReaderContext *const pR) noexcept -: mEvent(pEvent), mR(pR) { +: _event(pEvent), + _reader(pR) { } void TerminateConsumerThreadMessage::execute() noexcept { - mR->mTerminateConsumerThread = true; - mR->mFlushingFinished = true; - mEvent->Signal(); + _reader->_terminateConsumerThread = true; + _reader->_flushingFinished = true; + _event->signal(); } char const *TerminateConsumerThreadMessage::getName() const noexcept { diff --git a/native/cocos/base/threading/MessageQueue.h b/native/cocos/base/threading/MessageQueue.h index 215db63949..85afb65a2f 100644 --- a/native/cocos/base/threading/MessageQueue.h +++ b/native/cocos/base/threading/MessageQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -51,36 +51,36 @@ public: Message() = default; virtual ~Message() {} Message(Message const &) = delete; - Message(Message &&) = delete; + Message(Message &&) = delete; Message &operator=(Message const &) = delete; Message &operator=(Message &&) = delete; - virtual void execute() noexcept = 0; + virtual void execute() noexcept = 0; virtual char const *getName() const noexcept = 0; - inline Message *getNext() const noexcept { return mNext; } + inline Message * getNext() const noexcept { return _next; } private: - Message *mNext; + Message *_next; friend class MessageQueue; }; struct alignas(64) WriterContext final { - uint8_t *mCurrentMemoryChunk{nullptr}; - Message *mLastMessage{nullptr}; - uint32_t mOffset{0}; - uint32_t mPendingMessageCount{0}; - std::atomic mWrittenMessageCount{0}; + uint8_t * _currentMemoryChunk{nullptr}; + Message * _lastMessage{nullptr}; + uint32_t _offset{0}; + uint32_t _pendingMessageCount{0}; + std::atomic _writtenMessageCount{0}; }; struct alignas(64) ReaderContext final { - uint8_t *mCurrentMemoryChunk{nullptr}; - Message *mLastMessage{nullptr}; - uint32_t mOffset{0}; - uint32_t mWrittenMessageCountSnap{0}; - uint32_t mNewMessageCount{0}; - bool mTerminateConsumerThread{false}; - bool mFlushingFinished{false}; + uint8_t *_currentMemoryChunk{nullptr}; + Message *_lastMessage{nullptr}; + uint32_t _offset{0}; + uint32_t _writtenMessageCountSnap{0}; + uint32_t _newMessageCount{0}; + bool _terminateConsumerThread{false}; + bool _flushingFinished{false}; }; // A single-producer single-consumer circular buffer queue. @@ -88,9 +88,9 @@ struct alignas(64) ReaderContext final { class alignas(64) MessageQueue final { public: MessageQueue(); - ~MessageQueue() = default; + ~MessageQueue() = default; MessageQueue(MessageQueue const &) = delete; - MessageQueue(MessageQueue &&) = delete; + MessageQueue(MessageQueue &&) = delete; MessageQueue &operator=(MessageQueue const &) = delete; MessageQueue &operator=(MessageQueue &&) = delete; @@ -119,64 +119,64 @@ public: void finishWriting(bool wait) noexcept; void flushMessages() noexcept; - inline bool isImmediateMode() const noexcept { return mImmediateMode; } + inline bool isImmediateMode() const noexcept { return _immediateMode; } inline void finishWriting() noexcept { finishWriting(false); } - void recycleMemoryChunk(uint8_t *const chunk) const noexcept; + void recycleMemoryChunk(uint8_t *const chunk) const noexcept; static void freeChunksInFreeQueue(MessageQueue *const mainMessagesQueue) noexcept; - inline void setImmediateMode(bool immediateMode) noexcept { mImmediateMode = immediateMode; } - inline int getPendingMessageCount() const noexcept { return mW.mPendingMessageCount; } - inline int getWrittenMessageCount() const noexcept { return mW.mWrittenMessageCount; } - inline int getNewMessageCount() const noexcept { return mR.mNewMessageCount; } + inline void setImmediateMode(bool immediateMode) noexcept { _immediateMode = immediateMode; } + inline int getPendingMessageCount() const noexcept { return _writer._pendingMessageCount; } + inline int getWrittenMessageCount() const noexcept { return _writer._writtenMessageCount; } + inline int getNewMessageCount() const noexcept { return _reader._newMessageCount; } private: class alignas(64) MemoryAllocator final { public: - MemoryAllocator() = default; - ~MemoryAllocator() = default; + MemoryAllocator() = default; + ~MemoryAllocator() = default; MemoryAllocator(MemoryAllocator const &) = delete; - MemoryAllocator(MemoryAllocator &&) = delete; + MemoryAllocator(MemoryAllocator &&) = delete; MemoryAllocator &operator=(MemoryAllocator const &) = delete; MemoryAllocator &operator=(MemoryAllocator &&) = delete; static MemoryAllocator &getInstance() noexcept; - uint8_t *request() noexcept; - void recycle(uint8_t *const chunk, bool const freeByUser) noexcept; - void freeByUser(MessageQueue *const mainMessageQueue) noexcept; + uint8_t * request() noexcept; + void recycle(uint8_t *const chunk, bool const freeByUser) noexcept; + void freeByUser(MessageQueue *const mainMessageQueue) noexcept; private: using ChunkQueue = moodycamel::ConcurrentQueue; - void free(uint8_t *const chunk) noexcept; - std::atomic mChunkCount{0}; - ChunkQueue mChunkPool{}; - ChunkQueue mChunkFreeQueue{}; + void free(uint8_t *const chunk) noexcept; + std::atomic _chunkCount{0}; + ChunkQueue _chunkPool{}; + ChunkQueue _chunkFreeQueue{}; }; uint8_t *allocateImpl(uint32_t &allocatedSize, uint32_t const requestSize) noexcept; - void pushMessages() noexcept; + void pushMessages() noexcept; // consumer thread specifics - void pullMessages() noexcept; - void executeMessages() noexcept; - Message *readMessage() noexcept; - inline bool hasNewMessage() const noexcept { return mR.mNewMessageCount > 0 && !mR.mFlushingFinished; } - void consumerThreadLoop() noexcept; + void pullMessages() noexcept; + void executeMessages() noexcept; + Message * readMessage() noexcept; + inline bool hasNewMessage() const noexcept { return _reader._newMessageCount > 0 && !_reader._flushingFinished; } + void consumerThreadLoop() noexcept; - WriterContext mW; - ReaderContext mR; - EventCV mN; - bool mImmediateMode{true}; - bool mWorkerAttached{false}; - bool mFreeChunksByUser{true}; // recycled chunks will be stashed until explicit free instruction + WriterContext _writer; + ReaderContext _reader; + EventCV _event; + bool _immediateMode{true}; + bool _workerAttached{false}; + bool _freeChunksByUser{true}; // recycled chunks will be stashed until explicit free instruction friend class MemoryChunkSwitchMessage; }; class DummyMessage final : public Message { public: - virtual void execute() noexcept override {} + virtual void execute() noexcept override {} virtual char const *getName() const noexcept override; }; @@ -185,35 +185,35 @@ public: MemoryChunkSwitchMessage(MessageQueue *const cb, uint8_t *const newChunk, uint8_t *const oldChunk) noexcept; ~MemoryChunkSwitchMessage(); - virtual void execute() noexcept override; + virtual void execute() noexcept override; virtual char const *getName() const noexcept override; private: - MessageQueue *mMessageQueue{nullptr}; - uint8_t *mNewChunk{nullptr}; - uint8_t *mOldChunk{nullptr}; + MessageQueue *_messageQueue{nullptr}; + uint8_t * _newChunk{nullptr}; + uint8_t * _oldChunk{nullptr}; }; class TerminateConsumerThreadMessage final : public Message { public: TerminateConsumerThreadMessage(EventSem *const pEvent, ReaderContext *const pR) noexcept; - virtual void execute() noexcept override; + virtual void execute() noexcept override; virtual char const *getName() const noexcept override; private: - EventSem *mEvent{nullptr}; - ReaderContext *mR{nullptr}; + EventSem * _event{nullptr}; + ReaderContext *_reader{nullptr}; }; template std::enable_if_t::value, T *> MessageQueue::allocate(uint32_t const count) noexcept { uint32_t allocatedSize = 0; - T *const msg = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); - msg->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); - ++mW.mPendingMessageCount; - mW.mLastMessage = msg; + T *const msg = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); + msg->_next = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); + ++_writer._pendingMessageCount; + _writer._lastMessage = msg; return msg; } @@ -222,9 +222,9 @@ std::enable_if_t::value, T *> MessageQueue::allocate(uint32_t const count) noexcept { uint32_t const requestSize = sizeof(T) * count; assert(requestSize); - uint32_t allocatedSize = 0; + uint32_t allocatedSize = 0; uint8_t *const allocatedMemory = allocateImpl(allocatedSize, requestSize); - mW.mLastMessage->mNext = reinterpret_cast(mW.mCurrentMemoryChunk + mW.mOffset); + _writer._lastMessage->_next = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); return reinterpret_cast(allocatedMemory); } @@ -306,7 +306,8 @@ T *MessageQueue::allocateAndZero(uint32_t const count) noexcept { public: \ MessageName( \ Type1 const &In##Param1, Type2 const &In##Param2) \ - : Param1(In##Param1), Param2(In##Param2) { \ + : Param1(In##Param1), \ + Param2(In##Param2) { \ } \ virtual void execute() noexcept override { \ Code \ diff --git a/native/cocos/base/threading/Semaphore.cpp b/native/cocos/base/threading/Semaphore.cpp index f7913258af..d8a990593d 100644 --- a/native/cocos/base/threading/Semaphore.cpp +++ b/native/cocos/base/threading/Semaphore.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -28,23 +28,19 @@ namespace cc { Semaphore::Semaphore() noexcept -: mSemaphore(0) -{ +: _semaphore(0) { } Semaphore::Semaphore(uint32_t const initialCount) noexcept -: mSemaphore(initialCount) -{ +: _semaphore(initialCount) { } -void Semaphore::Wait() noexcept -{ - mSemaphore.wait(); +void Semaphore::wait() noexcept { + _semaphore.wait(); } -void Semaphore::Signal() noexcept -{ - mSemaphore.signal(); +void Semaphore::signal() noexcept { + _semaphore.signal(); } } // namespace cc diff --git a/native/cocos/base/threading/Semaphore.h b/native/cocos/base/threading/Semaphore.h index bda34cf5c8..7db2fa1738 100644 --- a/native/cocos/base/threading/Semaphore.h +++ b/native/cocos/base/threading/Semaphore.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,26 +25,23 @@ #pragma once -#include #include "concurrentqueue/concurrentqueue.h" #include "concurrentqueue/lightweightsemaphore.h" +#include namespace cc { -class Semaphore final -{ +class Semaphore final { public: + Semaphore() noexcept; + explicit Semaphore(uint32_t const initialCount) noexcept; - Semaphore() noexcept; - explicit Semaphore(uint32_t const initialCount) noexcept; - - void Wait() noexcept; - void Signal() noexcept; - void SignalAll() noexcept { assert(false); } + void wait() noexcept; + void signal() noexcept; + void signalAll() noexcept { assert(false); } private: - - moodycamel::details::Semaphore mSemaphore; + moodycamel::details::Semaphore _semaphore; }; } // namespace cc diff --git a/native/cocos/base/threading/ThreadPool.cpp b/native/cocos/base/threading/ThreadPool.cpp index ff90e79ca0..29a2a97221 100644 --- a/native/cocos/base/threading/ThreadPool.cpp +++ b/native/cocos/base/threading/ThreadPool.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -27,71 +27,57 @@ namespace cc { -uint8_t const ThreadPool::kCpuCoreCount = std::thread::hardware_concurrency(); -uint8_t const ThreadPool::kMaxThreadCount = kCpuCoreCount - 1; +uint8_t const ThreadPool::CPU_CORE_COUNT = std::thread::hardware_concurrency(); +uint8_t const ThreadPool::MAX_THREAD_COUNT = CPU_CORE_COUNT - 1; -void ThreadPool::Start() noexcept -{ - if (mRunning) - { +void ThreadPool::start() noexcept { + if (_running) { return; } - - mRunning = true; - - for (uint8_t i = 0; i < kMaxThreadCount; ++i) - { - AddThread(); + + _running = true; + + for (uint8_t i = 0; i < MAX_THREAD_COUNT; ++i) { + addThread(); } } -void ThreadPool::Stop() noexcept -{ - if (! mRunning) - { +void ThreadPool::stop() noexcept { + if (!_running) { return; } - - mRunning = false; - mEvent.SignalAll(); - - for (auto& worker : mWorkers) - { - if (worker.joinable()) - { + + _running = false; + _event.SignalAll(); + + for (auto &worker : _workers) { + if (worker.joinable()) { worker.join(); } } - - mWorkers.clear(); + + _workers.clear(); } -void ThreadPool::AddThread() noexcept -{ - assert(mWorkers.size() < kMaxThreadCount); +void ThreadPool::addThread() noexcept { + assert(_workers.size() < MAX_THREAD_COUNT); - auto workerLoop = [this]() - { - while (mRunning) - { + auto workerLoop = [this]() { + while (_running) { Task task = nullptr; - - if (mTasks.try_dequeue(task)) - { + + if (_tasks.try_dequeue(task)) { task(); - } - else - { + } else { // Double Check - mEvent.Wait([this]() - { - return mTasks.size_approx() != 0; + _event.wait([this]() { + return _tasks.size_approx() != 0; }); } } }; - - mWorkers.emplace_back(workerLoop); + + _workers.emplace_back(workerLoop); } } // namespace cc diff --git a/native/cocos/base/threading/ThreadPool.h b/native/cocos/base/threading/ThreadPool.h index b0f299c97a..7422331b79 100644 --- a/native/cocos/base/threading/ThreadPool.h +++ b/native/cocos/base/threading/ThreadPool.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,67 +25,62 @@ #pragma once -#include -#include +#include "Event.h" +#include "concurrentqueue/concurrentqueue.h" #include -#include -#include -#include #include #include -#include "concurrentqueue/concurrentqueue.h" -#include "Event.h" +#include +#include +#include +#include +#include namespace cc { -class ThreadPool final -{ +class ThreadPool final { public: + using Task = std::function; + using TaskQueue = moodycamel::ConcurrentQueue; - using Task = std::function; - using TaskQueue = moodycamel::ConcurrentQueue; + static uint8_t const CPU_CORE_COUNT; + static uint8_t const MAX_THREAD_COUNT; - static uint8_t const kCpuCoreCount; - static uint8_t const kMaxThreadCount; - - ThreadPool() noexcept = default; - ~ThreadPool() = default; - ThreadPool(ThreadPool const&) = delete; - ThreadPool(ThreadPool&&) = delete; - ThreadPool& operator=(ThreadPool const&) = delete; - ThreadPool& operator=(ThreadPool&&) = delete; + ThreadPool() noexcept = default; + ~ThreadPool() = default; + ThreadPool(ThreadPool const &) = delete; + ThreadPool(ThreadPool &&) = delete; + ThreadPool &operator=(ThreadPool const &) = delete; + ThreadPool &operator=(ThreadPool &&) = delete; template - auto DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))>; - void Start() noexcept; - void Stop() noexcept; + auto dispatchTask(Function &&func, Args &&... args) noexcept -> std::future(args)...))>; + void start() noexcept; + void stop() noexcept; private: + using Event = ConditionVariable; - using Event = ConditionVariable; + void addThread() noexcept; - void AddThread() noexcept; - - TaskQueue mTasks {}; - std::list mWorkers {}; - Event mEvent {}; - std::atomic mRunning { false }; - uint8_t mWorkerCount { kMaxThreadCount }; + TaskQueue _tasks{}; + std::list _workers{}; + Event _event{}; + std::atomic _running{false}; + uint8_t _workerCount{MAX_THREAD_COUNT}; }; template -auto ThreadPool::DispatchTask(Function&& func, Args&&... args) noexcept -> std::future(args)...))> -{ - assert(mRunning); +auto ThreadPool::dispatchTask(Function &&func, Args &&... args) noexcept -> std::future(args)...))> { + assert(_running); - using ReturnType = decltype(func(std::forward(args)...)); - auto task = std::make_shared>(std::bind(std::forward(func), std::forward(args)...)); - bool const succeed = mTasks.enqueue([task]() - { + using ReturnType = decltype(func(std::forward(args)...)); + auto task = std::make_shared>(std::bind(std::forward(func), std::forward(args)...)); + bool const succeed = _tasks.enqueue([task]() { (*task)(); }); assert(succeed); - mEvent.Signal(); + _event.signal(); return task->get_future(); } diff --git a/native/cocos/base/threading/ThreadSafeCounter.h b/native/cocos/base/threading/ThreadSafeCounter.h index dcd464dc5a..40a4ab5ef9 100644 --- a/native/cocos/base/threading/ThreadSafeCounter.h +++ b/native/cocos/base/threading/ThreadSafeCounter.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,27 +25,24 @@ #pragma once -#include #include +#include namespace cc { template >> -class ThreadSafeCounter final -{ +class ThreadSafeCounter final { public: - - inline T Increment() noexcept { return Add(1); } - inline T Add(T const v) noexcept { return mCounter.fetch_add(v, std::memory_order_relaxed); } - inline T Decrement() noexcept { return Subtract(1); } - inline T Subtract(T const v) noexcept { return mCounter.fetch_sub(v, std::memory_order_relaxed); } - inline void Set(T const v) noexcept { mCounter.store(v, std::memory_order_relaxed); } - inline T Get() const noexcept { return mCounter.load(std::memory_order_relaxed); } - inline void Reset() noexcept { Set(0); } + inline T increment() noexcept { return add(1); } + inline T add(T const v) noexcept { return _counter.fetch_add(v, std::memory_order_relaxed); } + inline T decrement() noexcept { return subtract(1); } + inline T subtract(T const v) noexcept { return _counter.fetch_sub(v, std::memory_order_relaxed); } + inline void set(T const v) noexcept { _counter.store(v, std::memory_order_relaxed); } + inline T get() const noexcept { return _counter.load(std::memory_order_relaxed); } + inline void reset() noexcept { set(0); } private: - - std::atomic mCounter { 0 }; + std::atomic _counter{0}; }; } // namespace cc diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp index 8bb47c5cba..3cd8274179 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -29,39 +29,34 @@ namespace cc { ThreadSafeLinearAllocator::ThreadSafeLinearAllocator(uint32_t const size) noexcept -: mCapacity(size) -{ - mBuffer = malloc(size); +: _capacity(size) { + _buffer = malloc(size); } -ThreadSafeLinearAllocator::~ThreadSafeLinearAllocator() -{ - free(mBuffer); +ThreadSafeLinearAllocator::~ThreadSafeLinearAllocator() { + free(_buffer); } -void* ThreadSafeLinearAllocator::Allocate(size_t const size, size_t const alignment) noexcept -{ - if (size == 0) - { +void *ThreadSafeLinearAllocator::allocate(size_t const size, size_t const alignment) noexcept { + if (size == 0) { return nullptr; } - void* allocatedMemory = nullptr; - uint32_t oldUsedSize = 0; - uint64_t newUsedSize = 0; // 为了判断溢出用64位 - - do - { - oldUsedSize = GetUsedSize(); - allocatedMemory = acl::align_to(acl::add_offset_to_ptr(mBuffer, oldUsedSize), alignment); - newUsedSize = reinterpret_cast(allocatedMemory) - reinterpret_cast(mBuffer) + size; - - if (newUsedSize > mCapacity) // 溢出 + void * allocatedMemory = nullptr; + uint32_t oldUsedSize = 0; + uint64_t newUsedSize = 0; // 为了判断溢出用64位 + + do { + oldUsedSize = getUsedSize(); + allocatedMemory = acl::align_to(acl::add_offset_to_ptr(_buffer, oldUsedSize), alignment); + newUsedSize = reinterpret_cast(allocatedMemory) - reinterpret_cast(_buffer) + size; + + if (newUsedSize > _capacity) // 溢出 { return nullptr; } - } while (! mUsedSize.compare_exchange_weak(oldUsedSize, static_cast(newUsedSize), std::memory_order_relaxed, std::memory_order_relaxed)); // 不可能存在ABA 不处理 - + } while (!_usedSize.compare_exchange_weak(oldUsedSize, static_cast(newUsedSize), std::memory_order_relaxed, std::memory_order_relaxed)); // 不可能存在ABA 不处理 + return allocatedMemory; } diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.h b/native/cocos/base/threading/ThreadSafeLinearAllocator.h index 8bb10bada0..42a6ef5b02 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.h +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -25,37 +25,34 @@ #pragma once -#include #include +#include #include namespace cc { -class alignas(16) ThreadSafeLinearAllocator final -{ +class alignas(16) ThreadSafeLinearAllocator final { public: + explicit ThreadSafeLinearAllocator(uint32_t const size) noexcept; + ~ThreadSafeLinearAllocator(); + ThreadSafeLinearAllocator(ThreadSafeLinearAllocator const &) = delete; + ThreadSafeLinearAllocator(ThreadSafeLinearAllocator &&) = delete; + ThreadSafeLinearAllocator &operator=(ThreadSafeLinearAllocator const &) = delete; + ThreadSafeLinearAllocator &operator=(ThreadSafeLinearAllocator &&) = delete; - explicit ThreadSafeLinearAllocator(uint32_t const size) noexcept; - ~ThreadSafeLinearAllocator(); - ThreadSafeLinearAllocator(ThreadSafeLinearAllocator const&) = delete; - ThreadSafeLinearAllocator(ThreadSafeLinearAllocator&&) = delete; - ThreadSafeLinearAllocator& operator=(ThreadSafeLinearAllocator const&) = delete; - ThreadSafeLinearAllocator& operator=(ThreadSafeLinearAllocator&&) = delete; + void *allocate(size_t const size, size_t const alignment) noexcept; - void* Allocate(size_t const size, size_t const alignment) noexcept; + inline void * getBuffer() const noexcept { return _buffer; } + inline uint32_t getCapacity() const noexcept { return _capacity; } + inline uint32_t getUsedSize() const noexcept { return _usedSize.load(std::memory_order_relaxed); } + inline uint32_t getBalance() const noexcept { return getCapacity() - getUsedSize(); } - inline void* GetBuffer() const noexcept { return mBuffer; } - inline uint32_t GetCapacity() const noexcept { return mCapacity; } - inline uint32_t GetUsedSize() const noexcept { return mUsedSize.load(std::memory_order_relaxed); } - inline uint32_t GetBalance() const noexcept { return GetCapacity() - GetUsedSize(); } - - inline void Recycle() noexcept { mUsedSize.store(0, std::memory_order_relaxed); } + inline void recycle() noexcept { _usedSize.store(0, std::memory_order_relaxed); } private: - - void* mBuffer { nullptr }; - uint32_t mCapacity { 0 }; - std::atomic mUsedSize { 0 }; + void * _buffer{nullptr}; + uint32_t _capacity{0}; + std::atomic _usedSize{0}; // 16 bytes }; diff --git a/native/cocos/renderer/CMakeLists.txt b/native/cocos/renderer/CMakeLists.txt index 9bbbfa1f0f..e44ec0af16 100644 --- a/native/cocos/renderer/CMakeLists.txt +++ b/native/cocos/renderer/CMakeLists.txt @@ -1,20 +1,24 @@ add_subdirectory(core) if(COCOS_PLATFORM_WIN32) + add_subdirectory(gfx-gles-common) add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-vulkan) elseif(COCOS_PLATFORM_IOS) + add_subdirectory(gfx-gles-common) add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-metal) add_subdirectory(gfx-vulkan) elseif(COCOS_PLATFORM_OSX) + add_subdirectory(gfx-gles-common) add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-metal) add_subdirectory(gfx-vulkan) elseif(COCOS_PLATFORM_ANDROID) + add_subdirectory(gfx-gles-common) add_subdirectory(gfx-gles2) add_subdirectory(gfx-gles3) add_subdirectory(gfx-vulkan) diff --git a/native/cocos/renderer/core/gfx-agent/GFXAgent.h b/native/cocos/renderer/core/gfx-agent/GFXAgent.h index 455b8d9e7e..c945896d7d 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp index 270f7d820a..51454efcc2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h index 5c50478475..fc5d466718 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp index 959471f7f2..6ccca93bac 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -66,8 +66,7 @@ void CommandBufferAgent::flushCommands(uint count, CommandBufferAgent *const *cm CommandBufferAgent::~CommandBufferAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestruct, + ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferDestruct, actor, _actor, { CC_DELETE(actor); @@ -112,8 +111,7 @@ bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferInit, + ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferInit, actor, getActor(), info, actorInfo, { @@ -127,8 +125,7 @@ void CommandBufferAgent::destroy() { destroyMessageQueue(); ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - CommandBufferDestroy, + ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferDestroy, actor, getActor(), { actor->destroy(); @@ -150,8 +147,7 @@ void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer void CommandBufferAgent::end() { ENQUEUE_MESSAGE_1( - _messageQueue, - CommandBufferEnd, + _messageQueue, CommandBufferEnd, actor, getActor(), { actor->end(); @@ -175,8 +171,7 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb } ENQUEUE_MESSAGE_9( - _messageQueue, - CommandBufferBeginRenderPass, + _messageQueue, CommandBufferBeginRenderPass, actor, getActor(), renderPass, ((RenderPassAgent *)renderPass)->getActor(), fbo, ((FramebufferAgent *)fbo)->getActor(), @@ -193,8 +188,7 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb void CommandBufferAgent::endRenderPass() { ENQUEUE_MESSAGE_1( - _messageQueue, - CommandBufferEndRenderPass, + _messageQueue, CommandBufferEndRenderPass, actor, getActor(), { actor->endRenderPass(); @@ -210,8 +204,7 @@ void CommandBufferAgent::execute(CommandBuffer *const *cmdBuffs, uint32_t count) } ENQUEUE_MESSAGE_3( - _messageQueue, - CommandBufferExecute, + _messageQueue, CommandBufferExecute, actor, getActor(), cmdBuffs, actorCmdBuffs, count, count, @@ -222,8 +215,7 @@ void CommandBufferAgent::execute(CommandBuffer *const *cmdBuffs, uint32_t count) void CommandBufferAgent::bindPipelineState(PipelineState *pso) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferBindPipelineState, + _messageQueue, CommandBufferBindPipelineState, actor, getActor(), pso, ((PipelineStateAgent *)pso)->getActor(), { @@ -239,8 +231,7 @@ void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferBindDescriptorSet, + _messageQueue, CommandBufferBindDescriptorSet, actor, getActor(), set, set, descriptorSet, ((DescriptorSetAgent *)descriptorSet)->getActor(), @@ -253,8 +244,7 @@ void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSe void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferBindInputAssembler, + _messageQueue, CommandBufferBindInputAssembler, actor, getActor(), ia, ((InputAssemblerAgent *)ia)->getActor(), { @@ -264,8 +254,7 @@ void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { void CommandBufferAgent::setViewport(const Viewport &vp) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetViewport, + _messageQueue, CommandBufferSetViewport, actor, getActor(), vp, vp, { @@ -275,8 +264,7 @@ void CommandBufferAgent::setViewport(const Viewport &vp) { void CommandBufferAgent::setScissor(const Rect &rect) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetScissor, + _messageQueue, CommandBufferSetScissor, actor, getActor(), rect, rect, { @@ -286,8 +274,7 @@ void CommandBufferAgent::setScissor(const Rect &rect) { void CommandBufferAgent::setLineWidth(float width) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetLineWidth, + _messageQueue, CommandBufferSetLineWidth, actor, getActor(), width, width, { @@ -297,8 +284,7 @@ void CommandBufferAgent::setLineWidth(float width) { void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) { ENQUEUE_MESSAGE_4( - _messageQueue, - CommandBufferSetDepthBias, + _messageQueue, CommandBufferSetDepthBias, actor, getActor(), constant, constant, clamp, clamp, @@ -310,8 +296,7 @@ void CommandBufferAgent::setDepthBias(float constant, float clamp, float slope) void CommandBufferAgent::setBlendConstants(const Color &constants) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferSetBlendConstants, + _messageQueue, CommandBufferSetBlendConstants, actor, getActor(), constants, constants, { @@ -321,8 +306,7 @@ void CommandBufferAgent::setBlendConstants(const Color &constants) { void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { ENQUEUE_MESSAGE_3( - _messageQueue, - CommandBufferSetDepthBound, + _messageQueue, CommandBufferSetDepthBound, actor, getActor(), minBounds, minBounds, maxBounds, maxBounds, @@ -333,8 +317,7 @@ void CommandBufferAgent::setDepthBound(float minBounds, float maxBounds) { void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { ENQUEUE_MESSAGE_3( - _messageQueue, - CommandBufferSetStencilWriteMask, + _messageQueue, CommandBufferSetStencilWriteMask, actor, getActor(), face, face, mask, mask, @@ -345,8 +328,7 @@ void CommandBufferAgent::setStencilWriteMask(StencilFace face, uint mask) { void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint mask) { ENQUEUE_MESSAGE_4( - _messageQueue, - CommandBufferSetStencilCompareMask, + _messageQueue, CommandBufferSetStencilCompareMask, actor, getActor(), face, face, ref, ref, @@ -358,8 +340,7 @@ void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint m void CommandBufferAgent::draw(InputAssembler *ia) { ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferDraw, + _messageQueue, CommandBufferDraw, actor, getActor(), ia, ((InputAssemblerAgent *)ia)->getActor(), { @@ -374,8 +355,7 @@ void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) memcpy(actorData, data, size); ENQUEUE_MESSAGE_4( - queue, - CommandBufferUpdateBuffer, + queue, CommandBufferUpdateBuffer, actor, getActor(), buff, ((BufferAgent *)buff)->getActor(), data, actorData, @@ -407,8 +387,7 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex } ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferCopyBuffersToTexture, + _messageQueue, CommandBufferCopyBuffersToTexture, actor, getActor(), buffers, actorBuffers, texture, ((TextureAgent *)texture)->getActor(), @@ -429,8 +408,7 @@ void CommandBufferAgent::blitTexture(Texture *srcTexture, Texture *dstTexture, c memcpy(actorRegions, regions, count * sizeof(TextureBlit)); ENQUEUE_MESSAGE_6( - _messageQueue, - CommandBufferBlitTexture, + _messageQueue, CommandBufferBlitTexture, actor, getActor(), srcTexture, actorSrcTexture, dstTexture, actorDstTexture, @@ -447,8 +425,7 @@ void CommandBufferAgent::dispatch(const DispatchInfo &info) { if (info.indirectBuffer) actorInfo.indirectBuffer = ((BufferAgent *)info.indirectBuffer)->getActor(); ENQUEUE_MESSAGE_2( - _messageQueue, - CommandBufferDispatch, + _messageQueue, CommandBufferDispatch, actor, getActor(), info, actorInfo, { @@ -458,7 +435,7 @@ void CommandBufferAgent::dispatch(const DispatchInfo &info) { void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { TextureBarrier **actorTextureBarriers = nullptr; - Texture **actorTextures = nullptr; + Texture ** actorTextures = nullptr; if (textureBarrierCount) { actorTextureBarriers = getAllocator()->allocate(textureBarrierCount); @@ -471,8 +448,7 @@ void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const Tex } ENQUEUE_MESSAGE_5( - _messageQueue, - CommandBufferPipelineBarrier, + _messageQueue, CommandBufferPipelineBarrier, actor, getActor(), barrier, barrier, textureBarriers, actorTextureBarriers, diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h index 5b17b5821b..14508ee995 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp index c61534bacb..4cdaf46583 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h index d3774cdbaf..440d94d6f6 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp index 7571a88b25..fccbd3aef8 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h index a31779f3b9..575afd3924 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 661bd00ee2..31d6090b28 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -50,9 +50,9 @@ DeviceAgent::~DeviceAgent() { } bool DeviceAgent::initialize(const DeviceInfo &info) { - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; + _width = info.width; + _height = info.height; + _nativeWidth = info.nativeWidth; _nativeHeight = info.nativeHeight; _windowHandle = info.windowHandle; @@ -68,15 +68,15 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { return false; } - _context = _actor->getContext(); - _API = _actor->getGfxAPI(); - _deviceName = _actor->getDeviceName(); - _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); - _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); + _context = _actor->getContext(); + _API = _actor->getGfxAPI(); + _deviceName = _actor->getDeviceName(); + _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); + _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); ((CommandBufferAgent *)_cmdBuff)->_queue = _queue; - _renderer = _actor->getRenderer(); - _vendor = _actor->getVendor(); - _caps = _actor->_caps; + _renderer = _actor->getRenderer(); + _vendor = _actor->getVendor(); + _caps = _actor->_caps; memcpy(_features, _actor->_features, (uint)Feature::COUNT * sizeof(bool)); _mainEncoder = CC_NEW(MessageQueue); @@ -94,8 +94,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { void DeviceAgent::destroy() { ENQUEUE_MESSAGE_1( - getMessageQueue(), - DeviceDestroy, + getMessageQueue(), DeviceDestroy, actor, getActor(), { actor->destroy(); @@ -127,8 +126,7 @@ void DeviceAgent::resize(uint width, uint height) { _height = _nativeHeight = height; ENQUEUE_MESSAGE_3( - getMessageQueue(), - DeviceResize, + getMessageQueue(), DeviceResize, actor, getActor(), width, width, height, height, @@ -139,8 +137,7 @@ void DeviceAgent::resize(uint width, uint height) { void DeviceAgent::acquire() { ENQUEUE_MESSAGE_1( - _mainEncoder, - DeviceAcquire, + _mainEncoder, DeviceAcquire, actor, getActor(), { actor->acquire(); @@ -149,19 +146,18 @@ void DeviceAgent::acquire() { void DeviceAgent::present() { ENQUEUE_MESSAGE_2( - _mainEncoder, - DevicePresent, + _mainEncoder, DevicePresent, actor, getActor(), frameBoundarySemaphore, &_frameBoundarySemaphore, { actor->present(); - frameBoundarySemaphore->Signal(); + frameBoundarySemaphore->signal(); }); MessageQueue::freeChunksInFreeQueue(_mainEncoder); _mainEncoder->finishWriting(); _currentIndex = (_currentIndex + 1) % (MAX_CPU_FRAME_AHEAD + 1); - _frameBoundarySemaphore.Wait(); + _frameBoundarySemaphore.wait(); getMainAllocator()->reset(); for (CommandBufferAgent *cmdBuff : _cmdBuffRefs) { @@ -210,73 +206,73 @@ CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info, } Queue *DeviceAgent::createQueue() { - Queue *actor = _actor->createQueue(); + Queue * actor = _actor->createQueue(); QueueAgent *agent = CC_NEW(QueueAgent(actor, this)); return agent; } Buffer *DeviceAgent::createBuffer() { - Buffer *actor = _actor->createBuffer(); + Buffer * actor = _actor->createBuffer(); BufferAgent *agent = CC_NEW(BufferAgent(actor, this)); return agent; } Texture *DeviceAgent::createTexture() { - Texture *actor = _actor->createTexture(); + Texture * actor = _actor->createTexture(); TextureAgent *agent = CC_NEW(TextureAgent(actor, this)); return agent; } Sampler *DeviceAgent::createSampler() { - Sampler *actor = _actor->createSampler(); + Sampler * actor = _actor->createSampler(); SamplerAgent *agent = CC_NEW(SamplerAgent(actor, this)); return agent; } Shader *DeviceAgent::createShader() { - Shader *actor = _actor->createShader(); + Shader * actor = _actor->createShader(); ShaderAgent *agent = CC_NEW(ShaderAgent(actor, this)); return agent; } InputAssembler *DeviceAgent::createInputAssembler() { - InputAssembler *actor = _actor->createInputAssembler(); + InputAssembler * actor = _actor->createInputAssembler(); InputAssemblerAgent *agent = CC_NEW(InputAssemblerAgent(actor, this)); return agent; } RenderPass *DeviceAgent::createRenderPass() { - RenderPass *actor = _actor->createRenderPass(); + RenderPass * actor = _actor->createRenderPass(); RenderPassAgent *agent = CC_NEW(RenderPassAgent(actor, this)); return agent; } Framebuffer *DeviceAgent::createFramebuffer() { - Framebuffer *actor = _actor->createFramebuffer(); + Framebuffer * actor = _actor->createFramebuffer(); FramebufferAgent *agent = CC_NEW(FramebufferAgent(actor, this)); return agent; } DescriptorSet *DeviceAgent::createDescriptorSet() { - DescriptorSet *actor = _actor->createDescriptorSet(); + DescriptorSet * actor = _actor->createDescriptorSet(); DescriptorSetAgent *agent = CC_NEW(DescriptorSetAgent(actor, this)); return agent; } DescriptorSetLayout *DeviceAgent::createDescriptorSetLayout() { - DescriptorSetLayout *actor = _actor->createDescriptorSetLayout(); + DescriptorSetLayout * actor = _actor->createDescriptorSetLayout(); DescriptorSetLayoutAgent *agent = CC_NEW(DescriptorSetLayoutAgent(actor, this)); return agent; } PipelineLayout *DeviceAgent::createPipelineLayout() { - PipelineLayout *actor = _actor->createPipelineLayout(); + PipelineLayout * actor = _actor->createPipelineLayout(); PipelineLayoutAgent *agent = CC_NEW(PipelineLayoutAgent(actor, this)); return agent; } PipelineState *DeviceAgent::createPipelineState() { - PipelineState *actor = _actor->createPipelineState(); + PipelineState * actor = _actor->createPipelineState(); PipelineStateAgent *agent = CC_NEW(PipelineStateAgent(actor, this)); return agent; } @@ -302,7 +298,7 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d const uint8_t **actorBuffers = allocator->allocate(bufferCount); for (uint i = 0u, n = 0u; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); + uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { uint8_t *buffer = allocator->allocate(size); memcpy(buffer, buffers[n], size); @@ -311,8 +307,7 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d } ENQUEUE_MESSAGE_5( - _mainEncoder, - DeviceCopyBuffersToTexture, + _mainEncoder, DeviceCopyBuffersToTexture, actor, getActor(), buffers, actorBuffers, dst, ((TextureAgent *)dst)->getActor(), @@ -336,8 +331,7 @@ void DeviceAgent::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { } ENQUEUE_MESSAGE_3( - _mainEncoder, - DeviceFlushCommands, + _mainEncoder, DeviceFlushCommands, count, count, cmdBuffs, (CommandBufferAgent *const *)agentCmdBuffs, multiThreaded, multiThreaded, diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h index b0a0a7c44b..f4b5fa5607 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp index ec18959106..d244fadce9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h index d24a24cefc..aeb3931a33 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp index 3e51e9ad0f..ca2a5d3474 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h index c4165925c0..50ffb27f17 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h index 0420b511a4..b4e1c674d6 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h +++ b/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -23,67 +23,67 @@ THE SOFTWARE. ****************************************************************************/ -#pragma once - -#include -#include -#include "base/threading/ThreadSafeLinearAllocator.h" - -namespace cc { -namespace gfx { - -namespace { -constexpr size_t DEFAULT_BLOCK_SIZE = 4096 * 16; - -uint nextPowerOf2(uint v) { - v--; - v |= v >> 1; - v |= v >> 2; - v |= v >> 4; - v |= v >> 8; - v |= v >> 16; - return ++v; -} -} - -class CC_DLL LinearAllocatorPool final { -public: - LinearAllocatorPool(size_t defaultBlockSize = DEFAULT_BLOCK_SIZE): _defaultBlockSize(defaultBlockSize) { - _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(_defaultBlockSize))); - } - - ~LinearAllocatorPool() { - for (ThreadSafeLinearAllocator *allocator : _allocators) { - CC_SAFE_DELETE(allocator); - } - _allocators.clear(); - } - - template - T* allocate(const uint count, uint alignment = 64u) noexcept { - if (!count) return nullptr; - - T* res = nullptr; - size_t size = count * sizeof(T); - for (ThreadSafeLinearAllocator *allocator : _allocators) { - res = reinterpret_cast(allocator->Allocate(size, alignment)); - if (res) return res; - } - size_t capacity = nextPowerOf2(std::max(DEFAULT_BLOCK_SIZE, size + alignment)); // reserve enough padding space for alignment - _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(capacity))); - return reinterpret_cast(_allocators.back()->Allocate(size, alignment)); - } - - inline void reset() { - for (ThreadSafeLinearAllocator *allocator : _allocators) { - allocator->Recycle(); - } - } - -protected: - vector _allocators; - size_t _defaultBlockSize = DEFAULT_BLOCK_SIZE; -}; - -} // namespace gfx -} // namespace cc +#pragma once + +#include +#include +#include "base/threading/ThreadSafeLinearAllocator.h" + +namespace cc { +namespace gfx { + +namespace { +constexpr size_t DEFAULT_BLOCK_SIZE = 4096 * 16; + +uint nextPowerOf2(uint v) { + v--; + v |= v >> 1; + v |= v >> 2; + v |= v >> 4; + v |= v >> 8; + v |= v >> 16; + return ++v; +} +} + +class CC_DLL LinearAllocatorPool final { +public: + LinearAllocatorPool(size_t defaultBlockSize = DEFAULT_BLOCK_SIZE): _defaultBlockSize(defaultBlockSize) { + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(_defaultBlockSize))); + } + + ~LinearAllocatorPool() { + for (ThreadSafeLinearAllocator *allocator : _allocators) { + CC_SAFE_DELETE(allocator); + } + _allocators.clear(); + } + + template + T* allocate(const uint count, uint alignment = 64u) noexcept { + if (!count) return nullptr; + + T* res = nullptr; + size_t size = count * sizeof(T); + for (ThreadSafeLinearAllocator *allocator : _allocators) { + res = reinterpret_cast(allocator->allocate(size, alignment)); + if (res) return res; + } + size_t capacity = nextPowerOf2(std::max(DEFAULT_BLOCK_SIZE, size + alignment)); // reserve enough padding space for alignment + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(capacity))); + return reinterpret_cast(_allocators.back()->allocate(size, alignment)); + } + + inline void reset() { + for (ThreadSafeLinearAllocator *allocator : _allocators) { + allocator->recycle(); + } + } + +protected: + vector _allocators; + size_t _defaultBlockSize = DEFAULT_BLOCK_SIZE; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp index d39e68a90b..27020b23f9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h index ea3ee1add5..67c5a47f5c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp index 2fe9bf82f7..e98ce30c2e 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h index dbd066dbe6..16bb32b0de 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp index 1d8bbeced4..acd7453d03 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h index 52fd7ecf0d..44048fa5d4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp index a2d9807c0c..295bb6674c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h index 8f88c6f1d7..2a182e9fb9 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp index a92d6b5c35..98218767e4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h index 41527bf742..997b614b80 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp index 2bf6e5f42f..95d14e83d1 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h index 0050818be6..6a2eb507ef 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp index a9042dda40..57e044b53a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h index c262d5d83f..b820f0ec0a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h +++ b/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-gles-common/CMakeLists.txt b/native/cocos/renderer/gfx-gles-common/CMakeLists.txt new file mode 100644 index 0000000000..db9bf651aa --- /dev/null +++ b/native/cocos/renderer/gfx-gles-common/CMakeLists.txt @@ -0,0 +1,42 @@ +set(TARGET_NAME GFXGLESCommon) + +message(STATUS "Target: ${TARGET_NAME}...") +# --------------------------------------------------------------------- +# set include files + +set(INCLUDE_FILES + ${GFX_EXTERNAL_PATH}/khronos +) + +include_directories( ${INCLUDE_FILES} ) + +# --------------------------------------------------------------------- + +file(GLOB_RECURSE HEADER_FILES *.h) +file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) +file(GLOB_RECURSE SOURCE_C_FILES *.c) + +set(ALL_FILES + ${HEADER_FILES} + ${SOURCE_CPP_FILES} + ${SOURCE_C_FILES} + ) + +if(COCOS_UNICODE) + add_definitions("-DUNICODE -D_UNICODE") +endif() + +if (COCOS_STATIC) + add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) +else() + add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) +endif() + +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLESCommon) +set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLESCommon_d) + +message(STATUS "${TARGET_NAME} configuration completed.") + +target_compile_definitions(${TARGET_NAME} PUBLIC + $<$:CC_DEBUG=1> +) diff --git a/native/cocos/renderer/gfx-gles2/CMakeLists.txt b/native/cocos/renderer/gfx-gles2/CMakeLists.txt index 6f62adb791..dcef66daf3 100644 --- a/native/cocos/renderer/gfx-gles2/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles2/CMakeLists.txt @@ -40,9 +40,9 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) endif() if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/gles2w.cpp") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/GLES2Wrangler.cpp") else() - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/gles2w.mm") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/GLES2Wrangler.mm") endif() if(COCOS_PLATFORM_OSX) @@ -63,7 +63,7 @@ else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) endif() -target_link_libraries(${TARGET_NAME} Core) +target_link_libraries(${TARGET_NAME} Core GFXGLESCommon) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLES2) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES2_d) diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt index 81e07e9e4e..f2be4ecbdd 100644 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ b/native/cocos/renderer/gfx-gles3/CMakeLists.txt @@ -19,8 +19,8 @@ include_directories( ${INCLUDE_FILES} ) # --------------------------------------------------------------------- -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) +file(GLOB_RECURSE HEADER_FILES *.h ../gfx-gles-common/*.h) +file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc ../gfx-gles-common/*.cpp) file(GLOB_RECURSE SOURCE_C_FILES *.c) if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) @@ -40,9 +40,9 @@ if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) endif() if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/gles3w.cpp") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/GLES3Wrangler.cpp") else() - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/gles3w.mm") + list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/GLES3Wrangler.mm") endif() if(COCOS_PLATFORM_OSX) @@ -63,7 +63,7 @@ else() add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) endif() -target_link_libraries(${TARGET_NAME} Core) +target_link_libraries(${TARGET_NAME} Core GFXGLESCommon) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLES3) set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES3_d) diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt index 49b4bdfbbd..01720969ae 100644 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt @@ -28,6 +28,7 @@ else() add_definitions("-DVK_USE_PLATFORM_XLIB_KHR") endif() +add_definitions("-DBARRIER_DEDUCTION_LEVEL=0") include_directories( ${INCLUDE_FILES} ) # --------------------------------------------------------------------- diff --git a/native/cocos/renderer/gfx-vulkan/GFXVulkan.h b/native/cocos/renderer/gfx-vulkan/GFXVulkan.h index d28f979ef4..06cc8a04b6 100644 --- a/native/cocos/renderer/gfx-vulkan/GFXVulkan.h +++ b/native/cocos/renderer/gfx-vulkan/GFXVulkan.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index bc302744b0..cc2f7a0ba0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.h b/native/cocos/renderer/gfx-vulkan/VKBuffer.h index 6958459e07..706a3c8fb4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 017f0d3f3f..0b6790daa4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index ae08eca46b..f467f90ce9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index c6d50dec83..7eae96870b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index f04d2be0da..ba794f7ebc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index e1f2b454f9..3d5aa7917f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.h b/native/cocos/renderer/gfx-vulkan/VKContext.h index d2588b7db4..059549f452 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.h +++ b/native/cocos/renderer/gfx-vulkan/VKContext.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index ebb8ef57cd..9d988096b3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h index 9ac0298ccb..3df02ccecf 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp index 351af60737..58f7da331b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h index 4175762ee0..8a8e4f44b7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 11a867a319..346c211b41 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 18ddfd4073..0ced0e73cf 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp index d33a8035ca..b272a8bc40 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h index 473e1f66b5..33eac286bc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 26134c80dd..8191669b54 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp index fe03b5362b..44b1e44a42 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h index ef727a1aba..54aea79e74 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp index 16f46d0808..7fbf2f50fb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h index 576e908823..708f29e3e3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp index 56c9d2ad21..b96af66907 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h index fb1e2c8ef7..20a3a9dc5b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index e800bcb3ee..25802d90be 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h index 32cde01f18..2df64aba5f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index fe42b3803f..084ddbd3fc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.h b/native/cocos/renderer/gfx-vulkan/VKQueue.h index b09a747199..ee4038af27 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.h +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index 2e54944009..96b8777d12 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h index ecc867b73f..295e09ed7a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKSPIRV.h b/native/cocos/renderer/gfx-vulkan/VKSPIRV.h index 43ca68a6cc..44a04c4cce 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSPIRV.h +++ b/native/cocos/renderer/gfx-vulkan/VKSPIRV.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp index f2e2bcb236..cf887131ef 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.h b/native/cocos/renderer/gfx-vulkan/VKSampler.h index e2f077f9fc..b14152c5a2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.h +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.cpp b/native/cocos/renderer/gfx-vulkan/VKShader.cpp index 159b1ddca1..dac5704e92 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKShader.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.h b/native/cocos/renderer/gfx-vulkan/VKShader.h index 9ea0200dd9..4bddda9442 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.h +++ b/native/cocos/renderer/gfx-vulkan/VKShader.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.cpp b/native/cocos/renderer/gfx-vulkan/VKStd.cpp index 62541ba7b7..1fd9a74a38 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKStd.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index 144e9b06e7..44cc394f9a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index d2916539d4..4330f2d18a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.h b/native/cocos/renderer/gfx-vulkan/VKTexture.h index 93187da438..0c7b2dcf6e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.h +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp index 5f64af774b..632d998f6e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h index 56d04b0de2..3a00ead7ad 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 858d5771ac..0688a77c65 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -39,7 +39,9 @@ #define BARRIER_DEDUCTION_LEVEL_BASIC 1 #define BARRIER_DEDUCTION_LEVEL_FULL 2 +#ifndef BARRIER_DEDUCTION_LEVEL #define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_BASIC +#endif namespace cc { namespace gfx { diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.cpp b/native/cocos/renderer/pipeline/BatchedBuffer.cpp index 2fc35c3cab..0570f3f49d 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.cpp +++ b/native/cocos/renderer/pipeline/BatchedBuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.h b/native/cocos/renderer/pipeline/BatchedBuffer.h index cf68a9ee9d..9a6fe00010 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.h +++ b/native/cocos/renderer/pipeline/BatchedBuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index 928da5557c..907a721601 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index f141d5e139..5554bee4e6 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index 937146ac47..35a87b78ed 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.h b/native/cocos/renderer/pipeline/InstancedBuffer.h index f5331bf6b8..528e36dd8c 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.h +++ b/native/cocos/renderer/pipeline/InstancedBuffer.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.cpp b/native/cocos/renderer/pipeline/PipelineSceneData.cpp index 208fff5b65..5321660d19 100644 --- a/native/cocos/renderer/pipeline/PipelineSceneData.cpp +++ b/native/cocos/renderer/pipeline/PipelineSceneData.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.h b/native/cocos/renderer/pipeline/PipelineSceneData.h index c889dcb69d..a17ceb2901 100644 --- a/native/cocos/renderer/pipeline/PipelineSceneData.h +++ b/native/cocos/renderer/pipeline/PipelineSceneData.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.cpp b/native/cocos/renderer/pipeline/PipelineStateManager.cpp index c37f813434..6c3bc4cc55 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.cpp +++ b/native/cocos/renderer/pipeline/PipelineStateManager.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.h b/native/cocos/renderer/pipeline/PipelineStateManager.h index 215f4975e5..c38d7919b1 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.h +++ b/native/cocos/renderer/pipeline/PipelineStateManager.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index 1f2f8429eb..23a6e6f298 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PipelineUBO.h b/native/cocos/renderer/pipeline/PipelineUBO.h index 47e8f780d1..71350c2fc5 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.h +++ b/native/cocos/renderer/pipeline/PipelineUBO.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index 64d9d73f33..a9859e828b 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.h b/native/cocos/renderer/pipeline/PlanarShadowQueue.h index d40b5d4693..9a2ac5cbb9 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.h +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index f80620c527..31c2661467 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h index fa94bbece2..2ea6c4fcb5 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp index 728abc4605..0e23c064c6 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.h b/native/cocos/renderer/pipeline/RenderBatchedQueue.h index 3e74c0da28..3bbdebacce 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.h +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderFlow.cpp b/native/cocos/renderer/pipeline/RenderFlow.cpp index e0f4039e19..0ebe9aa852 100644 --- a/native/cocos/renderer/pipeline/RenderFlow.cpp +++ b/native/cocos/renderer/pipeline/RenderFlow.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderFlow.h b/native/cocos/renderer/pipeline/RenderFlow.h index d38f736b8f..a4072063f1 100644 --- a/native/cocos/renderer/pipeline/RenderFlow.h +++ b/native/cocos/renderer/pipeline/RenderFlow.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp index 7020a99a08..3e7acad8b2 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.h b/native/cocos/renderer/pipeline/RenderInstancedQueue.h index 232ab18c9b..f15f6b14ea 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.h +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index 3aad7b5038..0156fa5125 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderPipeline.h b/native/cocos/renderer/pipeline/RenderPipeline.h index 0afb1704e9..6655fa7136 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.h +++ b/native/cocos/renderer/pipeline/RenderPipeline.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderQueue.cpp b/native/cocos/renderer/pipeline/RenderQueue.cpp index 35fede71ca..9c52c6e33b 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderQueue.h b/native/cocos/renderer/pipeline/RenderQueue.h index 6dbf69bcdf..384e2518fe 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.h +++ b/native/cocos/renderer/pipeline/RenderQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderStage.cpp b/native/cocos/renderer/pipeline/RenderStage.cpp index d6a043d81e..8169e90a16 100644 --- a/native/cocos/renderer/pipeline/RenderStage.cpp +++ b/native/cocos/renderer/pipeline/RenderStage.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/RenderStage.h b/native/cocos/renderer/pipeline/RenderStage.h index 3d7a805e21..0b3427fb7f 100644 --- a/native/cocos/renderer/pipeline/RenderStage.h +++ b/native/cocos/renderer/pipeline/RenderStage.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/SceneCulling.cpp b/native/cocos/renderer/pipeline/SceneCulling.cpp index df654197fc..65e845965d 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/SceneCulling.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/SceneCulling.h b/native/cocos/renderer/pipeline/SceneCulling.h index 5845dc924d..c6835f0829 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.h +++ b/native/cocos/renderer/pipeline/SceneCulling.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp index b012cf99fa..dd36b1221d 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h index 8af97faaf5..3418cdc891 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp index 0d7ae5c8ea..ce70fbd4ee 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardFlow.h b/native/cocos/renderer/pipeline/forward/ForwardFlow.h index 7a775e0ffb..63072a2d62 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardFlow.h +++ b/native/cocos/renderer/pipeline/forward/ForwardFlow.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 01d61c8c6f..904dd35d4d 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h index 0a221d4aa5..c0b0c26485 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp index 1bfbe33531..6aa479ed26 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.h b/native/cocos/renderer/pipeline/forward/ForwardStage.h index e516f3a0e7..14f8021af2 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.h +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/UIPhase.cpp b/native/cocos/renderer/pipeline/forward/UIPhase.cpp index 0c90a48133..5264610c33 100644 --- a/native/cocos/renderer/pipeline/forward/UIPhase.cpp +++ b/native/cocos/renderer/pipeline/forward/UIPhase.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/forward/UIPhase.h b/native/cocos/renderer/pipeline/forward/UIPhase.h index e3a8337008..881901819c 100644 --- a/native/cocos/renderer/pipeline/forward/UIPhase.h +++ b/native/cocos/renderer/pipeline/forward/UIPhase.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/helper/DefineMap.cpp b/native/cocos/renderer/pipeline/helper/DefineMap.cpp index d12bac9264..777d97a274 100644 --- a/native/cocos/renderer/pipeline/helper/DefineMap.cpp +++ b/native/cocos/renderer/pipeline/helper/DefineMap.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/helper/DefineMap.h b/native/cocos/renderer/pipeline/helper/DefineMap.h index e922b6c837..b38fa93b73 100644 --- a/native/cocos/renderer/pipeline/helper/DefineMap.h +++ b/native/cocos/renderer/pipeline/helper/DefineMap.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp index 77e8b86798..153d8eef90 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index d4afbbc09d..60a4f3dcc8 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index b635a922b1..f17f9de392 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h index 40f0d53798..bdd51049e4 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp index 6aa40895b3..ba955ba8c7 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.h b/native/cocos/renderer/pipeline/shadow/ShadowStage.h index db1d918c10..cb43c55ed5 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/templates/android/build/gradle.properties b/native/templates/android/build/gradle.properties index a9271cc992..58d38b8729 100644 --- a/native/templates/android/build/gradle.properties +++ b/native/templates/android/build/gradle.properties @@ -23,7 +23,7 @@ android.injected.testOnly=false PROP_COMPILE_SDK_VERSION=27 # Android SDK version that will be used as the earliest version of android this application can run on -PROP_MIN_SDK_VERSION=16 +PROP_MIN_SDK_VERSION=21 # Android SDK version that will be used as the latest version of android this application has been tested on PROP_TARGET_SDK_VERSION=27 From a674efe2dc0885b162c478d6ee0d2ceeff7c8197 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Sun, 7 Feb 2021 10:39:12 +0800 Subject: [PATCH 152/270] fix conflicts --- .../threading/ThreadSafeLinearAllocator.cpp | 4 +- .../core/gfx-agent/GFXDeviceAgent.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 2 + .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 4 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 12 ++-- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 70 +++++++++++++++---- 6 files changed, 69 insertions(+), 25 deletions(-) diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp index 3cd8274179..f2a61a383e 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp @@ -44,14 +44,14 @@ void *ThreadSafeLinearAllocator::allocate(size_t const size, size_t const alignm void * allocatedMemory = nullptr; uint32_t oldUsedSize = 0; - uint64_t newUsedSize = 0; // 为了判断溢出用64位 + uint64_t newUsedSize = 0; // using 64-bit integer to correctly detect overflows do { oldUsedSize = getUsedSize(); allocatedMemory = acl::align_to(acl::add_offset_to_ptr(_buffer, oldUsedSize), alignment); newUsedSize = reinterpret_cast(allocatedMemory) - reinterpret_cast(_buffer) + size; - if (newUsedSize > _capacity) // 溢出 + if (newUsedSize > _capacity) // overflows { return nullptr; } diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp index 31d6090b28..e4aa5c5896 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp @@ -87,7 +87,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { } ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); - setMultithreaded(true); + //setMultithreaded(true); return true; } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index ad50b85315..8bb50b6e93 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -833,6 +833,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const VkBufferCopy region{stagingBuffer.startOffset, gpuBuffer->startOffset, sizeToUpload}; auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *gpuCommandBuffer) { +#if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC if (gpuBuffer->transferAccess) { CC_LOG_WARNING("updateBuffer: performance warning: buffer updated more than once per frame"); // guard against WAW hazard @@ -844,6 +845,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const VK_PIPELINE_STAGE_TRANSFER_BIT, 0, 1, &vkBarrier, 0, nullptr, 0, nullptr); } +#endif vkCmdCopyBuffer(gpuCommandBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuBuffer->vkBuffer, 1, ®ion); }; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index ecfe7b95ea..daadb41ee2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -101,8 +101,8 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { _gpuDescriptorSet->instances.resize(gpuDevice->backBufferCount); for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { - CCVKGPUDescriptorSet::DescriptorSetInstance &instance = _gpuDescriptorSet->instances[t]; - instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(t); + CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; + instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(t); instance.descriptorInfos.resize(descriptorCount, {}); for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 6a78c76e1f..8bc5d074e5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -346,12 +346,12 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _gpuStagingBufferPools.push_back(CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice))); } - _gpuBufferHub = CC_NEW(CCVKGPUBufferHub(_gpuDevice)); - _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice, ((CCVKQueue *)_queue)->gpuQueue())); - _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); - _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); - _gpuBarrierManager = CC_NEW(CCVKGPUBarrierManager(_gpuDevice)); - _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); + _gpuBufferHub = CC_NEW(CCVKGPUBufferHub(_gpuDevice)); + _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice, ((CCVKQueue *)_queue)->gpuQueue())); + _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); + _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); + _gpuBarrierManager = CC_NEW(CCVKGPUBarrierManager(_gpuDevice)); + _gpuDescriptorSetHub = CC_NEW(CCVKGPUDescriptorSetHub(_gpuDevice)); _gpuDescriptorHub->link(_gpuDescriptorSetHub); diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 1e59620853..5314c2042a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -585,7 +585,7 @@ private: vector> _fleaMarkets; // per back buffer - vector _poolSizes; + vector _poolSizes; vector _setLayouts; uint _maxSetsPerPool = 0u; }; @@ -786,6 +786,11 @@ public: CCVKGPUDescriptorSetHub(CCVKGPUDevice *device) : _device(device) { _setsToBeUpdated.resize(device->backBufferCount); + if (device->minorVersion > 0) { + _updateFn = vkUpdateDescriptorSetWithTemplate; + } else { + _updateFn = vkUpdateDescriptorSetWithTemplateKHR; + } } void record(const CCVKGPUDescriptorSet *gpuDescriptorSet) { @@ -817,22 +822,21 @@ public: private: void update(const CCVKGPUDescriptorSet *gpuDescriptorSet) { - const CCVKGPUDescriptorSet::DescriptorSetInstance &instance = gpuDescriptorSet->instances[_device->curBackBufferIndex]; - if (gpuDescriptorSet->pUpdateTemplate) { - if (*gpuDescriptorSet->pUpdateTemplate) { // skip empty descriptor sets - vkUpdateDescriptorSetWithTemplateKHR(_device->vkDevice, - instance.vkDescriptorSet, - *gpuDescriptorSet->pUpdateTemplate, instance.descriptorInfos.data()); - } + const CCVKGPUDescriptorSet::Instance &instance = gpuDescriptorSet->instances[_device->curBackBufferIndex]; + if (gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate) { + _updateFn(_device->vkDevice, instance.vkDescriptorSet, + gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate, instance.descriptorInfos.data()); } else { const vector &entries = instance.descriptorUpdateEntries; vkUpdateDescriptorSets(_device->vkDevice, entries.size(), entries.data(), 0, nullptr); } } - CCVKGPUDevice *_device = nullptr; using DescriptorSetList = unordered_set; - vector _setsToBeUpdated; + + CCVKGPUDevice * _device = nullptr; + vector _setsToBeUpdated; + PFN_vkUpdateDescriptorSetWithTemplate _updateFn = nullptr; }; /** @@ -974,17 +978,55 @@ private: template struct DescriptorInfo { unordered_set sets; - CachedArray descriptors; + CachedArray descriptors; }; - unordered_map _bufferInstaceIndices; + unordered_map _bufferInstaceIndices; unordered_map> _buffers; unordered_map> _textures; - unordered_map> _samplers; + unordered_map> _samplers; CCVKGPUDescriptorSetHub *_descriptorSetHub = nullptr; }; +class CCVKGPUBarrierManager final : public Object { +public: + CCVKGPUBarrierManager(CCVKGPUDevice *device) + : _device(device) {} + + void checkIn(CCVKGPUBuffer *gpuBuffer) { + _buffersToBeChecked.insert(gpuBuffer); + } + + void checkIn(CCVKGPUBuffer *gpuBuffer, const ThsvsAccessType *newTypes, uint newTypeCount) { + vector &target = gpuBuffer->renderAccessTypes; + for (uint i = 0u; i < newTypeCount; ++i) { + if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { + target.push_back(newTypes[i]); + } + } + } + + void checkIn(CCVKGPUTexture *gpuTexture, const ThsvsAccessType *newTypes = nullptr, uint newTypeCount = 0) { + vector &target = gpuTexture->renderAccessTypes; + for (uint i = 0u; i < newTypeCount; ++i) { + if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { + target.push_back(newTypes[i]); + } + } + _texturesToBeChecked.insert(gpuTexture); + } + + void update(CCVKGPUCommandBuffer *gpuCommandBuffer); + + CC_INLINE bool needUpdate() { return !_texturesToBeChecked.empty() || !_buffersToBeChecked.empty(); } + +private: + unordered_set _buffersToBeChecked; + unordered_set _texturesToBeChecked; + CCVKGPUDevice * _device = nullptr; +}; + /** * Manages buffer update events, across all back buffer instances. */ @@ -1143,7 +1185,7 @@ public: void link(CCVKGPUQueue *queue) { _queue = queue; - _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; + _cmdBuff.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; _cmdBuff.queueFamilyIndex = _queue->queueFamilyIndex; VkFenceCreateInfo createInfo{VK_STRUCTURE_TYPE_FENCE_CREATE_INFO}; From 6ec439ba9f95b33bee47ae17a1c50fa3d3cc8589 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Sun, 7 Feb 2021 18:17:02 +0800 Subject: [PATCH 153/270] Fix merge issue --- native/cocos/renderer/gfx-metal/MTLCommandBuffer.h | 1 - native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 1 - 2 files changed, 2 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index a8afb42a0f..35fdd986be 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -95,7 +95,6 @@ private: CCMTLDevice *_mtlDevice = nullptr; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; - MTKView *_mtkView = nil; CCMTLRenderCommandEncoder _commandEncoder; id _parallelEncoder = nil; CCMTLInputAssembler *_inputAssembler = nullptr; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 92fbd724f6..c086f142ae 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -43,7 +43,6 @@ CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) : CommandBuffer(device), _mtlDevice(static_cast(device)), _mtlCommandQueue(id((static_cast(device))->getMTLCommandQueue())), - _mtkView(static_cast((static_cast(device)->getMTKView()))), _indirectDrawSuppotred(static_cast(device)->isIndirectDrawSupported()) { const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); _GPUDescriptorSets.resize(setCount); From eae4d1b82de67f01b96f0f184eb34c1f7bebad6a Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 8 Feb 2021 12:13:46 +0800 Subject: [PATCH 154/270] Add GPU GC Pool clear while present completed --- native/cocos/renderer/gfx-metal/MTLDevice.h | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 313ebec66e..af076ab023 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -116,7 +116,7 @@ private: bool _indirectDrawSupported = false; bool _isSamplerDescriptorCompareFunctionSupported = false; CCMTLGPUStagingBufferPool *_gpuStagingBufferPools[MAX_FRAMES_IN_FLIGHT] = {nullptr}; - CCMTLGPUStagingBufferPool *_currentBufferPool = nullptr; + uint _currentBufferPoolId = 0; uint _currentFrameIndex = 0; CCMTLSemaphore *_inFlightSemaphore = nullptr; CC_UNUSED uint32_t _memoryAlarmListenerId = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 8935c55d03..c40027dd76 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -241,7 +241,7 @@ void CCMTLDevice::present() { _numTriangles = queue->_numTriangles; //hold this pointer before update _currentFrameIndex - _currentBufferPool = _gpuStagingBufferPools[_currentFrameIndex]; + _currentBufferPoolId = _currentFrameIndex; _currentFrameIndex = (_currentFrameIndex + 1) % MAX_FRAMES_IN_FLIGHT; if (_autoreleasePool) { @@ -252,9 +252,12 @@ void CCMTLDevice::present() { } void CCMTLDevice::presentCompleted() { - if (_currentBufferPool) { - _currentBufferPool->reset(); - _currentBufferPool = nullptr; + if (_currentBufferPoolId >= 0 && _currentBufferPoolId < MAX_FRAMES_IN_FLIGHT) { + CCMTLGPUStagingBufferPool *bufferPool = _gpuStagingBufferPools[_currentBufferPoolId]; + if (bufferPool) { + bufferPool->reset(); + CCMTLGPUGarbageCollectionPool::getInstance()->clear(_currentBufferPoolId); + } } _inFlightSemaphore->signal(); } From f1b27da2ef890814a3f6ea8583b42d2d2a33e7a5 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 8 Feb 2021 19:48:28 +0800 Subject: [PATCH 155/270] Fix compilation issues on iOS & mac --- native/cocos/platform/mac/View.h | 2 -- native/cocos/platform/mac/View.mm | 6 ------ native/cocos/renderer/core/CoreStd.h | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/native/cocos/platform/mac/View.h b/native/cocos/platform/mac/View.h index f72ca6f75b..34044c7667 100644 --- a/native/cocos/platform/mac/View.h +++ b/native/cocos/platform/mac/View.h @@ -34,6 +34,4 @@ @property(nonatomic, assign) id device; #endif --(void)start; - @end diff --git a/native/cocos/platform/mac/View.mm b/native/cocos/platform/mac/View.mm index 7ba446bdc5..0624222fc9 100644 --- a/native/cocos/platform/mac/View.mm +++ b/native/cocos/platform/mac/View.mm @@ -73,12 +73,6 @@ } #endif -- (void)start { -#ifdef CC_USE_METAL - self.delegate = self; -#endif -} - - (void)keyDown:(NSEvent *)event { _keyboardEvent.key = translateKeycode(event.keyCode); _keyboardEvent.action = [event isARepeat] ? cc::KeyboardEvent::Action::REPEAT diff --git a/native/cocos/renderer/core/CoreStd.h b/native/cocos/renderer/core/CoreStd.h index 5512ce49c9..018eaa3e05 100644 --- a/native/cocos/renderer/core/CoreStd.h +++ b/native/cocos/renderer/core/CoreStd.h @@ -67,6 +67,6 @@ #define CC_JOB_SYSTEM_TASKFLOW 1 #define CC_JOB_SYSTEM_TBB 2 -#define CC_JOB_SYSTEM CC_JOB_SYSTEM_TBB +#define CC_JOB_SYSTEM CC_JOB_SYSTEM_TASKFLOW #endif // CC_CORE_CORE_STD_H_ From 31e3642301b266b62ae996828f43c96d098e6312 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 8 Feb 2021 19:51:26 +0800 Subject: [PATCH 156/270] refactor presentCompleted to onPresentCompleted --- native/cocos/renderer/gfx-metal/MTLDevice.h | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 2 +- native/cocos/renderer/gfx-metal/MTLQueue.mm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index af076ab023..d443c9ba5c 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -65,7 +65,7 @@ public: void acquire() override; void present() override; - void presentCompleted(); + void onPresentCompleted(); void* getCurrentDrawable(); void disposeCurrentDrawable(); diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index c40027dd76..81b299d4a1 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -251,7 +251,7 @@ void CCMTLDevice::present() { } } -void CCMTLDevice::presentCompleted() { +void CCMTLDevice::onPresentCompleted() { if (_currentBufferPoolId >= 0 && _currentBufferPoolId < MAX_FRAMES_IN_FLIGHT) { CCMTLGPUStagingBufferPool *bufferPool = _gpuStagingBufferPools[_currentBufferPoolId]; if (bufferPool) { diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.mm b/native/cocos/renderer/gfx-metal/MTLQueue.mm index 4e59727eaf..700d613391 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.mm +++ b/native/cocos/renderer/gfx-metal/MTLQueue.mm @@ -65,7 +65,7 @@ void CCMTLQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { [mtlCmdBuffer presentDrawable:currDrawable]; [mtlCmdBuffer addCompletedHandler:^(id commandBuffer) { [commandBuffer release]; - device->presentCompleted(); + device->onPresentCompleted(); }]; device->disposeCurrentDrawable(); } From 14d7126a46a8600fb8ee773bbb7f38842d4564d0 Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Fri, 26 Feb 2021 18:28:31 +0800 Subject: [PATCH 157/270] Fix issue of uint index data type. (#3290) --- native/cocos/renderer/gfx-gles2/GLES2Device.cpp | 10 +++++++--- native/cocos/renderer/gfx-gles3/GLES3Device.cpp | 1 + native/cocos/renderer/gfx-metal/MTLCommandBuffer.h | 3 +-- native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm | 10 +++++----- native/cocos/renderer/gfx-metal/MTLDevice.mm | 1 + 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 1482e215cb..111b4ee4d4 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -25,7 +25,6 @@ THE SOFTWARE. #include "GLES2Buffer.h" #include "GLES2CommandBuffer.h" -#include "GLES2PrimaryCommandBuffer.h" #include "GLES2Context.h" #include "GLES2DescriptorSet.h" #include "GLES2DescriptorSetLayout.h" @@ -35,6 +34,7 @@ THE SOFTWARE. #include "GLES2InputAssembler.h" #include "GLES2PipelineLayout.h" #include "GLES2PipelineState.h" +#include "GLES2PrimaryCommandBuffer.h" #include "GLES2Queue.h" #include "GLES2RenderPass.h" #include "GLES2Sampler.h" @@ -96,6 +96,10 @@ bool GLES2Device::initialize(const DeviceInfo &info) { _features[(int)Feature::FORMAT_D24S8] = true; _features[(int)Feature::MSAA] = true; + if (checkExtension("GL_OES_element_index_uint")) { + _features[(int)Feature::ELEMENT_INDEX_UINT] = true; + } + if (checkExtension("color_buffer_float")) _features[(int)Feature::COLOR_FLOAT] = true; @@ -312,7 +316,7 @@ void GLES2Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d bool GLES2Device::checkForETC2() const { GLint numFormats = 0; glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numFormats); - GLint* formats = new GLint[numFormats]; + GLint *formats = new GLint[numFormats]; glGetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, formats); int supportNum = 0; @@ -320,7 +324,7 @@ bool GLES2Device::checkForETC2() const { if (formats[i] == GL_COMPRESSED_RGB8_ETC2 || formats[i] == GL_COMPRESSED_RGBA8_ETC2_EAC) supportNum++; } - delete [] formats; + delete[] formats; return supportNum >= 2; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 95b18b7db1..57130a016f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -92,6 +92,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { _features[(int)Feature::INSTANCED_ARRAYS] = true; _features[(int)Feature::MULTIPLE_RENDER_TARGETS] = true; _features[(uint)Feature::BLEND_MINMAX] = true; + _features[(int)Feature::ELEMENT_INDEX_UINT] = true; if (checkExtension("color_buffer_float")) _features[(int)Feature::COLOR_FLOAT] = true; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index cb0c906445..28188c3a0c 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -85,13 +85,12 @@ private: bool _indirectDrawSuppotred = false; bool _commandBufferBegan = false; CCMTLDevice *_mtlDevice = nullptr; -// id _currDrawable = nil; + // id _currDrawable = nil; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; MTKView *_mtkView = nil; CCMTLRenderCommandEncoder _commandEncoder; CCMTLInputAssembler *_inputAssembler = nullptr; - MTLIndexType _indexType = MTLIndexTypeUInt16; MTLPrimitiveType _mtlPrimitiveType = MTLPrimitiveType::MTLPrimitiveTypeTriangle; }; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index e19161fb5f..3cbd8fd8ee 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -216,7 +216,7 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { ++_numDrawCalls; if (indirectBuffer->isDrawIndirectByIndex()) { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexType:_indexType + indexType:indexBuffer->getIndexType() indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:0 indirectBuffer:indirectMTLBuffer @@ -240,13 +240,13 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { if (drawInfo.instanceCount == 0) { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexCount:drawInfo.indexCount - indexType:_indexType + indexType:indexBuffer->getIndexType() indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:offset]; } else { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexCount:drawInfo.indexCount - indexType:_indexType + indexType:indexBuffer->getIndexType() indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:offset instanceCount:drawInfo.instanceCount]; @@ -274,13 +274,13 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { if (drawInfo.instanceCount == 0) { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexCount:drawInfo.indexCount - indexType:_indexType + indexType:indexBuffer->getIndexType() indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:offset]; } else { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType indexCount:drawInfo.indexCount - indexType:_indexType + indexType:indexBuffer->getIndexType() indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:offset instanceCount:drawInfo.instanceCount]; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 6b610a1a30..e65ca9d610 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -147,6 +147,7 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _features[(int)Feature::INSTANCED_ARRAYS] = true; _features[(int)Feature::MULTIPLE_RENDER_TARGETS] = true; _features[(uint)Feature::BLEND_MINMAX] = true; + _features[(uint)Feature::ELEMENT_INDEX_UINT] = true; _features[static_cast(Feature::DEPTH_BOUNDS)] = false; _features[static_cast(Feature::LINE_WIDTH)] = false; _features[static_cast(Feature::STENCIL_COMPARE_MASK)] = false; From 0981eb7cbd0ab5abf3227510b9837ebc4fdc3c22 Mon Sep 17 00:00:00 2001 From: Knox Date: Mon, 1 Mar 2021 09:41:59 +0800 Subject: [PATCH 158/270] improve video player seekTo in android (#3291) * improve video player seekTo in android --- .../java/src/com/cocos/lib/CocosVideoView.java | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/native/cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java b/native/cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java index 6b5a09ffd1..a5fad59bf5 100644 --- a/native/cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java +++ b/native/cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java @@ -18,6 +18,7 @@ package com.cocos.lib; +import android.annotation.TargetApi; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; @@ -26,6 +27,7 @@ import android.content.res.Resources; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; +import android.os.Build; import android.util.Log; import android.view.MotionEvent; import android.view.SurfaceHolder; @@ -35,6 +37,7 @@ import android.app.Activity; import android.graphics.Point; import java.io.IOException; +import java.lang.reflect.Method; import java.util.Map; public class CocosVideoView extends SurfaceView { @@ -286,8 +289,19 @@ public class CocosVideoView extends SurfaceView { mMediaPlayer == null) { return; } - - mMediaPlayer.seekTo(ms); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { + try { + Method seekTo = mMediaPlayer.getClass().getMethod("seekTo", long.class, int.class); + // The mode argument added in API level 26, 3 = MediaPlayer.SEEK_CLOSEST + // https://developer.android.com/reference/android/media/MediaPlayer#seekTo(int) + seekTo.invoke(mMediaPlayer, ms, 3); + } catch (Exception e) { + mMediaPlayer.seekTo(ms); + } + } + else { + mMediaPlayer.seekTo(ms); + } } public void fixSize() { From ea88ba33c6495da7a9c5496fbc98ba5eab9bf587 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 1 Mar 2021 12:00:10 +0800 Subject: [PATCH 159/270] codebase structure update (#3289) * structure * fix jsb auto binding license issue --- native/CMakeLists.txt | 200 ++++----- .../audio/android/AudioPlayerProvider.cpp | 2 +- .../cocos/audio/android/AudioPlayerProvider.h | 4 +- native/cocos/base/CMakeLists.txt | 3 - .../cocos/{renderer/core => base}/CoreStd.h | 6 +- native/cocos/base/IndexHandle.h | 90 ++++ .../CoreStd.cpp => base/StringHandle.cpp} | 13 +- native/cocos/base/StringHandle.h | 42 ++ native/cocos/base/StringPool.h | 131 ++++++ native/cocos/base/StringUtil.cpp | 9 +- native/cocos/base/StringUtil.h | 6 +- native/cocos/base/ThreadPool.cpp | 54 +-- native/cocos/base/ThreadPool.h | 22 +- native/cocos/base/TypeDef.h | 5 +- native/cocos/base/job-system/CMakeLists.txt | 3 - .../job-system-taskflow/CMakeLists.txt | 71 ---- .../job-system-taskflow/TFJobGraph.cpp | 2 +- .../job-system-taskflow/TFJobGraph.h | 2 +- .../job-system-taskflow/TFJobSystem.cpp | 2 +- .../job-system-taskflow/TFJobSystem.h | 2 +- .../job-system/job-system-tbb/CMakeLists.txt | 76 ---- .../job-system/job-system-tbb/TBBJobGraph.cpp | 2 +- .../job-system/job-system-tbb/TBBJobGraph.h | 2 +- .../job-system-tbb/TBBJobSystem.cpp | 2 +- .../job-system/job-system-tbb/TBBJobSystem.h | 2 +- native/cocos/base/memory/JeAlloc.cpp | 2 +- native/cocos/base/memory/MemTracker.cpp | 2 +- native/cocos/base/memory/Memory.cpp | 2 +- native/cocos/base/memory/NedPooling.cpp | 2 +- native/cocos/base/threading/CMakeLists.txt | 61 --- native/cocos/base/threading/ReadWriteLock.h | 56 +++ native/cocos/bindings/auto/jsb_audio_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_audio_auto.h | 2 +- native/cocos/bindings/auto/jsb_cocos_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_cocos_auto.h | 2 +- .../bindings/auto/jsb_dragonbones_auto.cpp | 2 +- .../bindings/auto/jsb_dragonbones_auto.h | 2 +- .../bindings/auto/jsb_editor_support_auto.cpp | 2 +- .../bindings/auto/jsb_editor_support_auto.h | 2 +- .../bindings/auto/jsb_extension_auto.cpp | 2 +- .../cocos/bindings/auto/jsb_extension_auto.h | 2 +- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 4 +- native/cocos/bindings/auto/jsb_gfx_auto.h | 4 +- native/cocos/bindings/auto/jsb_gles2_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_gles2_auto.h | 2 +- native/cocos/bindings/auto/jsb_gles3_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_gles3_auto.h | 2 +- native/cocos/bindings/auto/jsb_mtl_auto.cpp | 12 +- native/cocos/bindings/auto/jsb_mtl_auto.h | 4 +- .../cocos/bindings/auto/jsb_network_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_network_auto.h | 2 +- .../cocos/bindings/auto/jsb_pipeline_auto.cpp | 12 +- .../cocos/bindings/auto/jsb_pipeline_auto.h | 2 +- native/cocos/bindings/auto/jsb_spine_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_spine_auto.h | 2 +- native/cocos/bindings/auto/jsb_video_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_video_auto.h | 2 +- native/cocos/bindings/auto/jsb_vk_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_vk_auto.h | 2 +- .../cocos/bindings/auto/jsb_webview_auto.cpp | 2 +- native/cocos/bindings/auto/jsb_webview_auto.h | 2 +- native/cocos/bindings/dop/BufferAllocator.cpp | 2 +- native/cocos/bindings/dop/BufferAllocator.h | 2 +- native/cocos/bindings/dop/PoolType.h | 2 +- .../cocos/bindings/manual/jsb_conversions.cpp | 2 +- .../cocos/bindings/manual/jsb_gfx_agent.cpp | 3 +- native/cocos/bindings/manual/jsb_gfx_agent.h | 18 +- .../cocos/bindings/manual/jsb_gfx_manual.cpp | 8 +- native/cocos/bindings/manual/jsb_global.cpp | 169 ++++---- native/cocos/bindings/manual/jsb_global.h | 2 +- .../bindings/manual/jsb_pipeline_manual.cpp | 2 +- .../CCArmatureCacheDisplay.cpp | 2 +- .../CCArmatureDisplay.cpp | 2 +- .../SkeletonCacheAnimation.cpp | 2 +- .../SkeletonRenderer.cpp | 2 +- native/cocos/platform/Image.cpp | 3 +- native/cocos/renderer/CMakeLists.txt | 25 -- native/cocos/renderer/core/CMakeLists.txt | 177 -------- .../renderer/{core => }/gfx-agent/GFXAgent.h | 67 +-- .../{core => }/gfx-agent/GFXBufferAgent.cpp | 4 +- .../{core => }/gfx-agent/GFXBufferAgent.h | 2 +- .../gfx-agent/GFXCommandBufferAgent.cpp | 6 +- .../gfx-agent/GFXCommandBufferAgent.h | 2 +- .../gfx-agent/GFXDescriptorSetAgent.cpp | 4 +- .../gfx-agent/GFXDescriptorSetAgent.h | 2 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.cpp | 4 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.h | 2 +- .../{core => }/gfx-agent/GFXDeviceAgent.cpp | 4 +- .../{core => }/gfx-agent/GFXDeviceAgent.h | 2 +- .../gfx-agent/GFXFramebufferAgent.cpp | 4 +- .../gfx-agent/GFXFramebufferAgent.h | 2 +- .../gfx-agent/GFXInputAssemblerAgent.cpp | 4 +- .../gfx-agent/GFXInputAssemblerAgent.h | 2 +- .../gfx-agent/GFXLinearAllocatorPool.h | 0 .../gfx-agent/GFXPipelineLayoutAgent.cpp | 4 +- .../gfx-agent/GFXPipelineLayoutAgent.h | 2 +- .../gfx-agent/GFXPipelineStateAgent.cpp | 4 +- .../gfx-agent/GFXPipelineStateAgent.h | 2 +- .../{core => }/gfx-agent/GFXQueueAgent.cpp | 10 +- .../{core => }/gfx-agent/GFXQueueAgent.h | 2 +- .../gfx-agent/GFXRenderPassAgent.cpp | 4 +- .../{core => }/gfx-agent/GFXRenderPassAgent.h | 2 +- .../{core => }/gfx-agent/GFXSamplerAgent.cpp | 22 +- .../{core => }/gfx-agent/GFXSamplerAgent.h | 2 +- .../{core => }/gfx-agent/GFXShaderAgent.cpp | 22 +- .../{core => }/gfx-agent/GFXShaderAgent.h | 2 +- .../{core => }/gfx-agent/GFXTextureAgent.cpp | 52 +-- .../{core => }/gfx-agent/GFXTextureAgent.h | 2 +- .../{core/Core.h => gfx-base/GFXBase.h} | 39 +- .../{core/gfx => gfx-base}/GFXBuffer.cpp | 6 +- .../{core/gfx => gfx-base}/GFXBuffer.h | 2 +- .../gfx => gfx-base}/GFXCommandBuffer.cpp | 6 +- .../{core/gfx => gfx-base}/GFXCommandBuffer.h | 2 +- .../{core/gfx => gfx-base}/GFXContext.cpp | 2 +- .../{core/gfx => gfx-base}/GFXContext.h | 2 +- .../{core/gfx => gfx-base}/GFXDef-common.h | 40 +- .../{core/gfx => gfx-base}/GFXDef.cpp | 2 +- .../renderer/{core/gfx => gfx-base}/GFXDef.h | 0 .../gfx => gfx-base}/GFXDescriptorSet.cpp | 24 +- .../{core/gfx => gfx-base}/GFXDescriptorSet.h | 2 +- .../GFXDescriptorSetLayout.cpp | 3 +- .../gfx => gfx-base}/GFXDescriptorSetLayout.h | 2 +- .../{core/gfx => gfx-base}/GFXDevice.cpp | 3 +- .../{core/gfx => gfx-base}/GFXDevice.h | 2 +- .../{core/gfx => gfx-base}/GFXFramebuffer.cpp | 6 +- .../{core/gfx => gfx-base}/GFXFramebuffer.h | 2 +- .../gfx => gfx-base}/GFXGlobalBarrier.cpp | 8 +- .../{core/gfx => gfx-base}/GFXGlobalBarrier.h | 2 +- .../gfx => gfx-base}/GFXInputAssembler.cpp | 3 +- .../gfx => gfx-base}/GFXInputAssembler.h | 2 +- .../{core/gfx => gfx-base}/GFXObject.cpp | 2 +- .../{core/gfx => gfx-base}/GFXObject.h | 1 + .../gfx => gfx-base}/GFXPipelineLayout.cpp | 6 +- .../gfx => gfx-base}/GFXPipelineLayout.h | 2 +- .../gfx => gfx-base}/GFXPipelineState.cpp | 3 +- .../{core/gfx => gfx-base}/GFXPipelineState.h | 2 +- .../{core/gfx => gfx-base}/GFXQueue.cpp | 6 +- .../{core/gfx => gfx-base}/GFXQueue.h | 2 +- .../{core/gfx => gfx-base}/GFXRenderPass.cpp | 3 +- .../{core/gfx => gfx-base}/GFXRenderPass.h | 2 +- .../{core/gfx => gfx-base}/GFXSampler.cpp | 3 +- .../{core/gfx => gfx-base}/GFXSampler.h | 2 +- .../{core/gfx => gfx-base}/GFXShader.cpp | 6 +- .../{core/gfx => gfx-base}/GFXShader.h | 2 +- .../{core/gfx => gfx-base}/GFXTexture.cpp | 6 +- .../{core/gfx => gfx-base}/GFXTexture.h | 2 +- .../gfx => gfx-base}/GFXTextureBarrier.cpp | 6 +- .../gfx => gfx-base}/GFXTextureBarrier.h | 2 +- .../renderer/gfx-gles-common/CMakeLists.txt | 42 -- .../gfx-gles-common/GLESCommandPool.h | 2 + .../cocos/renderer/gfx-gles2/CMakeLists.txt | 77 ---- .../cocos/renderer/gfx-gles2/GLES2Buffer.cpp | 1 + native/cocos/renderer/gfx-gles2/GLES2Buffer.h | 17 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 1 + .../cocos/renderer/gfx-gles2/GLES2Context.h | 1 + .../renderer/gfx-gles2/GLES2DescriptorSet.h | 2 + .../gfx-gles2/GLES2DescriptorSetLayout.h | 2 + native/cocos/renderer/gfx-gles2/GLES2Device.h | 2 + .../renderer/gfx-gles2/GLES2Framebuffer.h | 2 + .../renderer/gfx-gles2/GLES2GPUObjects.h | 1 + .../renderer/gfx-gles2/GLES2InputAssembler.h | 2 + .../renderer/gfx-gles2/GLES2PipelineLayout.h | 2 + .../renderer/gfx-gles2/GLES2PipelineState.h | 2 + native/cocos/renderer/gfx-gles2/GLES2Queue.h | 2 + .../renderer/gfx-gles2/GLES2RenderPass.h | 2 + .../cocos/renderer/gfx-gles2/GLES2Sampler.h | 2 + native/cocos/renderer/gfx-gles2/GLES2Shader.h | 2 + native/cocos/renderer/gfx-gles2/GLES2Std.h | 2 +- .../cocos/renderer/gfx-gles2/GLES2Texture.cpp | 1 + .../cocos/renderer/gfx-gles2/GLES2Texture.h | 2 + .../cocos/renderer/gfx-gles3/CMakeLists.txt | 77 ---- .../cocos/renderer/gfx-gles3/GLES3Buffer.cpp | 1 + native/cocos/renderer/gfx-gles3/GLES3Buffer.h | 2 + .../renderer/gfx-gles3/GLES3CommandBuffer.h | 2 + .../cocos/renderer/gfx-gles3/GLES3Context.h | 2 + .../renderer/gfx-gles3/GLES3DescriptorSet.h | 2 + .../gfx-gles3/GLES3DescriptorSetLayout.h | 2 + native/cocos/renderer/gfx-gles3/GLES3Device.h | 2 + .../renderer/gfx-gles3/GLES3Framebuffer.h | 2 + .../renderer/gfx-gles3/GLES3GPUObjects.h | 1 + .../renderer/gfx-gles3/GLES3GlobalBarrier.h | 2 + .../renderer/gfx-gles3/GLES3InputAssembler.h | 2 + .../renderer/gfx-gles3/GLES3PipelineLayout.h | 2 + .../renderer/gfx-gles3/GLES3PipelineState.h | 2 + native/cocos/renderer/gfx-gles3/GLES3Queue.h | 2 + .../renderer/gfx-gles3/GLES3RenderPass.h | 2 + .../cocos/renderer/gfx-gles3/GLES3Sampler.h | 2 + native/cocos/renderer/gfx-gles3/GLES3Shader.h | 2 + native/cocos/renderer/gfx-gles3/GLES3Std.h | 2 +- .../cocos/renderer/gfx-gles3/GLES3Texture.cpp | 1 + .../cocos/renderer/gfx-gles3/GLES3Texture.h | 2 + .../cocos/renderer/gfx-metal/CMakeLists.txt | 58 --- native/cocos/renderer/gfx-metal/MTLBuffer.h | 2 + .../renderer/gfx-metal/MTLCommandBuffer.h | 2 + native/cocos/renderer/gfx-metal/MTLContext.h | 2 + .../renderer/gfx-metal/MTLDescriptorSet.h | 4 + .../gfx-metal/MTLDescriptorSetLayout.h | 4 + native/cocos/renderer/gfx-metal/MTLDevice.h | 1 + .../cocos/renderer/gfx-metal/MTLFramebuffer.h | 2 + .../renderer/gfx-metal/MTLInputAssembler.h | 2 + .../renderer/gfx-metal/MTLPipelineLayout.h | 4 + .../renderer/gfx-metal/MTLPipelineState.h | 2 + native/cocos/renderer/gfx-metal/MTLQueue.h | 3 + .../cocos/renderer/gfx-metal/MTLRenderPass.h | 2 + native/cocos/renderer/gfx-metal/MTLSampler.h | 2 + native/cocos/renderer/gfx-metal/MTLShader.h | 2 + native/cocos/renderer/gfx-metal/MTLStd.h | 2 +- native/cocos/renderer/gfx-metal/MTLTexture.h | 2 + native/cocos/renderer/gfx-metal/MTLUtils.h | 1 + .../cocos/renderer/gfx-vulkan/CMakeLists.txt | 84 ---- native/cocos/renderer/gfx-vulkan/VKBuffer.h | 2 + .../renderer/gfx-vulkan/VKCommandBuffer.h | 2 + .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 4 +- native/cocos/renderer/gfx-vulkan/VKContext.h | 2 + .../renderer/gfx-vulkan/VKDescriptorSet.h | 2 + .../gfx-vulkan/VKDescriptorSetLayout.h | 2 + native/cocos/renderer/gfx-vulkan/VKDevice.h | 2 + .../cocos/renderer/gfx-vulkan/VKFramebuffer.h | 2 + .../renderer/gfx-vulkan/VKGlobalBarrier.h | 2 + .../renderer/gfx-vulkan/VKInputAssembler.h | 2 + .../renderer/gfx-vulkan/VKPipelineLayout.h | 2 + .../renderer/gfx-vulkan/VKPipelineState.h | 2 + native/cocos/renderer/gfx-vulkan/VKQueue.h | 2 + .../cocos/renderer/gfx-vulkan/VKRenderPass.h | 2 + native/cocos/renderer/gfx-vulkan/VKSampler.h | 2 + native/cocos/renderer/gfx-vulkan/VKShader.h | 2 + native/cocos/renderer/gfx-vulkan/VKStd.h | 2 +- native/cocos/renderer/gfx-vulkan/VKTexture.h | 2 + .../renderer/gfx-vulkan/VKTextureBarrier.h | 2 + native/cocos/renderer/gfx-vulkan/VKUtils.h | 2 + .../cocos/renderer/pipeline/BatchedBuffer.cpp | 78 ++-- .../cocos/renderer/pipeline/BatchedBuffer.h | 1 + native/cocos/renderer/pipeline/Define.cpp | 86 ++-- native/cocos/renderer/pipeline/Define.h | 383 +++++++++--------- .../renderer/pipeline/InstancedBuffer.cpp | 38 +- .../renderer/pipeline/PipelineSceneData.cpp | 6 +- .../pipeline/PipelineStateManager.cpp | 34 +- .../renderer/pipeline/PipelineStateManager.h | 9 +- .../cocos/renderer/pipeline/PipelineUBO.cpp | 2 +- .../renderer/pipeline/PlanarShadowQueue.cpp | 8 +- .../renderer/pipeline/PlanarShadowQueue.h | 2 +- .../pipeline/RenderAdditiveLightQueue.cpp | 127 +++--- .../pipeline/RenderAdditiveLightQueue.h | 2 +- .../renderer/pipeline/RenderBatchedQueue.cpp | 3 +- .../renderer/pipeline/RenderBatchedQueue.h | 3 +- .../pipeline/RenderInstancedQueue.cpp | 2 +- .../renderer/pipeline/RenderInstancedQueue.h | 2 +- .../renderer/pipeline/RenderPipeline.cpp | 10 +- .../cocos/renderer/pipeline/RenderPipeline.h | 30 +- .../cocos/renderer/pipeline/RenderQueue.cpp | 4 +- .../cocos/renderer/pipeline/RenderStage.cpp | 2 +- .../cocos/renderer/pipeline/SceneCulling.cpp | 4 +- .../pipeline/ShadowMapBatchedQueue.cpp | 6 +- .../renderer/pipeline/ShadowMapBatchedQueue.h | 2 +- .../pipeline/deferred/DeferredPipeline.cpp | 18 +- .../pipeline/deferred/DeferredPipeline.h | 8 +- .../pipeline/deferred/GbufferFlow.cpp | 10 +- .../pipeline/deferred/GbufferStage.cpp | 8 +- .../renderer/pipeline/deferred/GbufferStage.h | 4 +- .../pipeline/deferred/LightingFlow.cpp | 8 +- .../pipeline/deferred/LightingStage.cpp | 10 +- .../pipeline/deferred/PostprocessStage.cpp | 6 +- .../pipeline/forward/ForwardPipeline.cpp | 18 +- .../pipeline/forward/ForwardStage.cpp | 8 +- .../renderer/pipeline/forward/UIPhase.cpp | 2 +- .../renderer/pipeline/helper/DefineMap.h | 2 +- .../renderer/pipeline/helper/SharedMemory.cpp | 68 ++-- .../renderer/pipeline/helper/SharedMemory.h | 2 +- .../renderer/pipeline/shadow/ShadowFlow.cpp | 10 +- .../renderer/pipeline/shadow/ShadowStage.cpp | 8 +- native/tools/bindings-generator/generator.py | 15 +- native/tools/license-upgrader/generate.js | 217 +++++----- native/tools/tojs/gfx.ini | 2 +- native/tools/tojs/pipeline.ini | 7 +- 275 files changed, 1693 insertions(+), 1938 deletions(-) delete mode 100644 native/cocos/base/CMakeLists.txt rename native/cocos/{renderer/core => base}/CoreStd.h (97%) create mode 100644 native/cocos/base/IndexHandle.h rename native/cocos/{renderer/core/CoreStd.cpp => base/StringHandle.cpp} (84%) create mode 100644 native/cocos/base/StringHandle.h create mode 100644 native/cocos/base/StringPool.h delete mode 100644 native/cocos/base/job-system/CMakeLists.txt delete mode 100644 native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt delete mode 100644 native/cocos/base/job-system/job-system-tbb/CMakeLists.txt delete mode 100644 native/cocos/base/threading/CMakeLists.txt create mode 100644 native/cocos/base/threading/ReadWriteLock.h delete mode 100644 native/cocos/renderer/CMakeLists.txt delete mode 100644 native/cocos/renderer/core/CMakeLists.txt rename native/cocos/renderer/{core => }/gfx-agent/GFXAgent.h (98%) rename native/cocos/renderer/{core => }/gfx-agent/GFXBufferAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXBufferAgent.h (98%) rename native/cocos/renderer/{core => }/gfx-agent/GFXCommandBufferAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXCommandBufferAgent.h (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXDescriptorSetAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXDescriptorSetAgent.h (98%) rename native/cocos/renderer/{core => }/gfx-agent/GFXDescriptorSetLayoutAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXDescriptorSetLayoutAgent.h (97%) rename native/cocos/renderer/{core => }/gfx-agent/GFXDeviceAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXDeviceAgent.h (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXFramebufferAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXFramebufferAgent.h (97%) rename native/cocos/renderer/{core => }/gfx-agent/GFXInputAssemblerAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXInputAssemblerAgent.h (98%) rename native/cocos/renderer/{core => }/gfx-agent/GFXLinearAllocatorPool.h (100%) rename native/cocos/renderer/{core => }/gfx-agent/GFXPipelineLayoutAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXPipelineLayoutAgent.h (97%) rename native/cocos/renderer/{core => }/gfx-agent/GFXPipelineStateAgent.cpp (99%) rename native/cocos/renderer/{core => }/gfx-agent/GFXPipelineStateAgent.h (97%) rename native/cocos/renderer/{core => }/gfx-agent/GFXQueueAgent.cpp (94%) rename native/cocos/renderer/{core => }/gfx-agent/GFXQueueAgent.h (98%) rename native/cocos/renderer/{core => }/gfx-agent/GFXRenderPassAgent.cpp (98%) rename native/cocos/renderer/{core => }/gfx-agent/GFXRenderPassAgent.h (97%) rename native/cocos/renderer/{core => }/gfx-agent/GFXSamplerAgent.cpp (86%) rename native/cocos/renderer/{core => }/gfx-agent/GFXSamplerAgent.h (98%) rename native/cocos/renderer/{core => }/gfx-agent/GFXShaderAgent.cpp (86%) rename native/cocos/renderer/{core => }/gfx-agent/GFXShaderAgent.h (98%) rename native/cocos/renderer/{core => }/gfx-agent/GFXTextureAgent.cpp (75%) rename native/cocos/renderer/{core => }/gfx-agent/GFXTextureAgent.h (98%) rename native/cocos/renderer/{core/Core.h => gfx-base/GFXBase.h} (69%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXBuffer.cpp (93%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXBuffer.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXCommandBuffer.cpp (93%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXCommandBuffer.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXContext.cpp (98%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXContext.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDef-common.h (96%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDef.cpp (99%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDef.h (100%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDescriptorSet.cpp (86%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDescriptorSet.h (99%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDescriptorSetLayout.cpp (97%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDescriptorSetLayout.h (99%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDevice.cpp (98%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXDevice.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXFramebuffer.cpp (93%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXFramebuffer.h (98%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXGlobalBarrier.cpp (91%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXGlobalBarrier.h (98%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXInputAssembler.cpp (98%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXInputAssembler.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXObject.cpp (98%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXObject.h (98%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXPipelineLayout.cpp (93%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXPipelineLayout.h (98%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXPipelineState.cpp (97%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXPipelineState.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXQueue.cpp (93%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXQueue.h (98%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXRenderPass.cpp (98%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXRenderPass.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXSampler.cpp (97%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXSampler.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXShader.cpp (93%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXShader.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXTexture.cpp (93%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXTexture.h (99%) mode change 100755 => 100644 rename native/cocos/renderer/{core/gfx => gfx-base}/GFXTextureBarrier.cpp (95%) rename native/cocos/renderer/{core/gfx => gfx-base}/GFXTextureBarrier.h (98%) delete mode 100644 native/cocos/renderer/gfx-gles-common/CMakeLists.txt delete mode 100644 native/cocos/renderer/gfx-gles2/CMakeLists.txt delete mode 100644 native/cocos/renderer/gfx-gles3/CMakeLists.txt delete mode 100644 native/cocos/renderer/gfx-metal/CMakeLists.txt delete mode 100644 native/cocos/renderer/gfx-vulkan/CMakeLists.txt diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 597099b5ba..aafc0f69ce 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -283,43 +283,61 @@ endif() ##### base cocos_source_files( + cocos/base/Array.cpp + cocos/base/Array.h cocos/base/astc.cpp cocos/base/astc.h + cocos/base/AutoreleasePool.cpp + cocos/base/AutoreleasePool.h cocos/base/base64.cpp cocos/base/base64.h cocos/base/CachedArray.h - cocos/base/AutoreleasePool.cpp - cocos/base/AutoreleasePool.h - cocos/base/Array.cpp - cocos/base/Array.h cocos/base/Config.h + cocos/base/CoreStd.h + cocos/base/csscolorparser.cpp + cocos/base/csscolorparser.h cocos/base/Data.cpp cocos/base/Data.h + cocos/base/etc1.cpp + cocos/base/etc1.h + cocos/base/etc2.cpp + cocos/base/etc2.h + cocos/base/IndexHandle.h + cocos/base/Log.cpp + cocos/base/Log.h cocos/base/Macros.h cocos/base/Map.h + cocos/base/Object.h cocos/base/Random.cpp cocos/base/Random.h cocos/base/Ref.cpp cocos/base/Ref.h cocos/base/Scheduler.cpp cocos/base/Scheduler.h + cocos/base/StringHandle.cpp + cocos/base/StringHandle.h + cocos/base/StringPool.h + cocos/base/StringUtil.cpp + cocos/base/StringUtil.h cocos/base/ThreadPool.cpp cocos/base/ThreadPool.h + cocos/base/TypeDef.h cocos/base/UTF8.cpp cocos/base/UTF8.h + cocos/base/UTFString.cpp + cocos/base/UTFString.h + cocos/base/uthash.h cocos/base/Utils.cpp cocos/base/Utils.h cocos/base/Value.cpp cocos/base/Value.h cocos/base/Vector.h - cocos/base/csscolorparser.cpp - cocos/base/csscolorparser.h - cocos/base/etc1.cpp - cocos/base/etc1.h - cocos/base/etc2.cpp - cocos/base/etc2.h - cocos/base/Log.cpp - cocos/base/Log.h + cocos/base/ZipUtils.cpp + cocos/base/ZipUtils.h +) + +##### memory +cocos_source_files( cocos/base/memory/AllocatedObj.cpp cocos/base/memory/AllocatedObj.h cocos/base/memory/JeAlloc.cpp @@ -333,6 +351,10 @@ cocos_source_files( cocos/base/memory/NedPooling.h cocos/base/memory/StdAlloc.h cocos/base/memory/StlAlloc.h +) + +##### threading +cocos_source_files( cocos/base/threading/ConditionVariable.h cocos/base/threading/ConditionVariable.cpp cocos/base/threading/Event.h @@ -345,15 +367,6 @@ cocos_source_files( cocos/base/threading/ThreadSafeCounter.h cocos/base/threading/ThreadSafeLinearAllocator.h cocos/base/threading/ThreadSafeLinearAllocator.cpp - cocos/base/Object.h - cocos/base/TypeDef.h - cocos/base/uthash.h - cocos/base/StringUtil.cpp - cocos/base/StringUtil.h - cocos/base/UTFString.cpp - cocos/base/UTFString.h - cocos/base/ZipUtils.cpp - cocos/base/ZipUtils.h ) ##### job system @@ -540,7 +553,7 @@ elseif(APPLE) cocos/platform/apple/CanvasRenderingContext2D-apple.mm cocos/platform/apple/Device-apple.h ) - #bad struct + # bad structure cocos_source_files( cocos/platform/ios/Reachability.h cocos/platform/ios/Reachability.cpp @@ -566,78 +579,76 @@ endif() ##### renderer cocos_source_files( - cocos/renderer/core/Core.h - cocos/renderer/core/CoreStd.cpp - cocos/renderer/core/CoreStd.h - cocos/renderer/core/gfx/GFXObject.h - cocos/renderer/core/gfx/GFXObject.cpp - cocos/renderer/core/gfx/GFXBuffer.cpp - cocos/renderer/core/gfx/GFXBuffer.h - cocos/renderer/core/gfx/GFXCommandBuffer.cpp - cocos/renderer/core/gfx/GFXCommandBuffer.h - cocos/renderer/core/gfx/GFXContext.cpp - cocos/renderer/core/gfx/GFXContext.h - cocos/renderer/core/gfx/GFXDef.cpp - cocos/renderer/core/gfx/GFXDef.h - cocos/renderer/core/gfx/GFXDef-common.h - cocos/renderer/core/gfx/GFXDevice.cpp - cocos/renderer/core/gfx/GFXDevice.h - cocos/renderer/core/gfx/GFXFramebuffer.cpp - cocos/renderer/core/gfx/GFXFramebuffer.h - cocos/renderer/core/gfx/GFXGlobalBarrier.cpp - cocos/renderer/core/gfx/GFXGlobalBarrier.h - cocos/renderer/core/gfx/GFXInputAssembler.cpp - cocos/renderer/core/gfx/GFXInputAssembler.h - cocos/renderer/core/gfx/GFXDescriptorSet.cpp - cocos/renderer/core/gfx/GFXDescriptorSet.h - cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp - cocos/renderer/core/gfx/GFXDescriptorSetLayout.h - cocos/renderer/core/gfx/GFXPipelineLayout.cpp - cocos/renderer/core/gfx/GFXPipelineLayout.h - cocos/renderer/core/gfx/GFXPipelineState.cpp - cocos/renderer/core/gfx/GFXPipelineState.h - cocos/renderer/core/gfx/GFXQueue.cpp - cocos/renderer/core/gfx/GFXQueue.h - cocos/renderer/core/gfx/GFXRenderPass.cpp - cocos/renderer/core/gfx/GFXRenderPass.h - cocos/renderer/core/gfx/GFXSampler.cpp - cocos/renderer/core/gfx/GFXSampler.h - cocos/renderer/core/gfx/GFXShader.cpp - cocos/renderer/core/gfx/GFXShader.h - cocos/renderer/core/gfx/GFXTexture.cpp - cocos/renderer/core/gfx/GFXTexture.h - cocos/renderer/core/gfx/GFXTextureBarrier.cpp - cocos/renderer/core/gfx/GFXTextureBarrier.h - cocos/renderer/core/gfx-agent/GFXAgent.h - cocos/renderer/core/gfx-agent/GFXBufferAgent.h - cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp - cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h - cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp - cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h - cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp - cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h - cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp - cocos/renderer/core/gfx-agent/GFXDeviceAgent.h - cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp - cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h - cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp - cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h - cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp - cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h - cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h - cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp - cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h - cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp - cocos/renderer/core/gfx-agent/GFXQueueAgent.h - cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp - cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h - cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp - cocos/renderer/core/gfx-agent/GFXSamplerAgent.h - cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp - cocos/renderer/core/gfx-agent/GFXShaderAgent.h - cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp - cocos/renderer/core/gfx-agent/GFXTextureAgent.h - cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp + cocos/renderer/gfx-base/GFXObject.h + cocos/renderer/gfx-base/GFXObject.cpp + cocos/renderer/gfx-base/GFXBase.h + cocos/renderer/gfx-base/GFXBuffer.cpp + cocos/renderer/gfx-base/GFXBuffer.h + cocos/renderer/gfx-base/GFXCommandBuffer.cpp + cocos/renderer/gfx-base/GFXCommandBuffer.h + cocos/renderer/gfx-base/GFXContext.cpp + cocos/renderer/gfx-base/GFXContext.h + cocos/renderer/gfx-base/GFXDef.cpp + cocos/renderer/gfx-base/GFXDef.h + cocos/renderer/gfx-base/GFXDef-common.h + cocos/renderer/gfx-base/GFXDevice.cpp + cocos/renderer/gfx-base/GFXDevice.h + cocos/renderer/gfx-base/GFXFramebuffer.cpp + cocos/renderer/gfx-base/GFXFramebuffer.h + cocos/renderer/gfx-base/GFXGlobalBarrier.cpp + cocos/renderer/gfx-base/GFXGlobalBarrier.h + cocos/renderer/gfx-base/GFXInputAssembler.cpp + cocos/renderer/gfx-base/GFXInputAssembler.h + cocos/renderer/gfx-base/GFXDescriptorSet.cpp + cocos/renderer/gfx-base/GFXDescriptorSet.h + cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp + cocos/renderer/gfx-base/GFXDescriptorSetLayout.h + cocos/renderer/gfx-base/GFXPipelineLayout.cpp + cocos/renderer/gfx-base/GFXPipelineLayout.h + cocos/renderer/gfx-base/GFXPipelineState.cpp + cocos/renderer/gfx-base/GFXPipelineState.h + cocos/renderer/gfx-base/GFXQueue.cpp + cocos/renderer/gfx-base/GFXQueue.h + cocos/renderer/gfx-base/GFXRenderPass.cpp + cocos/renderer/gfx-base/GFXRenderPass.h + cocos/renderer/gfx-base/GFXSampler.cpp + cocos/renderer/gfx-base/GFXSampler.h + cocos/renderer/gfx-base/GFXShader.cpp + cocos/renderer/gfx-base/GFXShader.h + cocos/renderer/gfx-base/GFXTexture.cpp + cocos/renderer/gfx-base/GFXTexture.h + cocos/renderer/gfx-base/GFXTextureBarrier.cpp + cocos/renderer/gfx-base/GFXTextureBarrier.h + cocos/renderer/gfx-agent/GFXAgent.h + cocos/renderer/gfx-agent/GFXBufferAgent.h + cocos/renderer/gfx-agent/GFXBufferAgent.cpp + cocos/renderer/gfx-agent/GFXCommandBufferAgent.h + cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp + cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h + cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp + cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h + cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp + cocos/renderer/gfx-agent/GFXDeviceAgent.h + cocos/renderer/gfx-agent/GFXDeviceAgent.cpp + cocos/renderer/gfx-agent/GFXFramebufferAgent.h + cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp + cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h + cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp + cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h + cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h + cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp + cocos/renderer/gfx-agent/GFXPipelineStateAgent.h + cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp + cocos/renderer/gfx-agent/GFXQueueAgent.h + cocos/renderer/gfx-agent/GFXQueueAgent.cpp + cocos/renderer/gfx-agent/GFXRenderPassAgent.h + cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp + cocos/renderer/gfx-agent/GFXSamplerAgent.h + cocos/renderer/gfx-agent/GFXSamplerAgent.cpp + cocos/renderer/gfx-agent/GFXShaderAgent.h + cocos/renderer/gfx-agent/GFXShaderAgent.cpp + cocos/renderer/gfx-agent/GFXTextureAgent.h + cocos/renderer/gfx-agent/GFXTextureAgent.cpp cocos/renderer/pipeline/BatchedBuffer.cpp cocos/renderer/pipeline/BatchedBuffer.h cocos/renderer/pipeline/Define.h @@ -1606,7 +1617,6 @@ target_include_directories(cocos2d ${CWD}/cocos ${CWD}/cocos/renderer ${CWD}/cocos/platform - ${CWD}/cocos/renderer/core ${CWD}/external/sources/khronos ${CWD}/cocos/editor-support $<$:${CWD}/cocos/bindings/jswrapper> diff --git a/native/cocos/audio/android/AudioPlayerProvider.cpp b/native/cocos/audio/android/AudioPlayerProvider.cpp index bbedabfa73..aa8190d44a 100644 --- a/native/cocos/audio/android/AudioPlayerProvider.cpp +++ b/native/cocos/audio/android/AudioPlayerProvider.cpp @@ -73,7 +73,7 @@ AudioPlayerProvider::AudioPlayerProvider(SLEngineItf engineItf, SLObjectItf outp int deviceSampleRate, int bufferSizeInFrames, const FdGetterCallback &fdGetterCallback, ICallerThreadUtils *callerThreadUtils) -: _engineItf(engineItf), _outputMixObject(outputMixObject), _deviceSampleRate(deviceSampleRate), _bufferSizeInFrames(bufferSizeInFrames), _fdGetterCallback(fdGetterCallback), _callerThreadUtils(callerThreadUtils), _pcmAudioService(nullptr), _mixController(nullptr), _threadPool(ThreadPool::newCachedThreadPool(1, 8, 5, 2, 2)) { +: _engineItf(engineItf), _outputMixObject(outputMixObject), _deviceSampleRate(deviceSampleRate), _bufferSizeInFrames(bufferSizeInFrames), _fdGetterCallback(fdGetterCallback), _callerThreadUtils(callerThreadUtils), _pcmAudioService(nullptr), _mixController(nullptr), _threadPool(LegacyThreadPool::newCachedThreadPool(1, 8, 5, 2, 2)) { ALOGI("deviceSampleRate: %d, bufferSizeInFrames: %d", _deviceSampleRate, _bufferSizeInFrames); if (getSystemAPILevel() >= 17) { _mixController = new (std::nothrow) AudioMixerController(_bufferSizeInFrames, _deviceSampleRate, 2); diff --git a/native/cocos/audio/android/AudioPlayerProvider.h b/native/cocos/audio/android/AudioPlayerProvider.h index af223dcf02..e737d2d72e 100644 --- a/native/cocos/audio/android/AudioPlayerProvider.h +++ b/native/cocos/audio/android/AudioPlayerProvider.h @@ -42,7 +42,7 @@ class UrlAudioPlayer; class AudioMixerController; class ICallerThreadUtils; class AssetFd; -class ThreadPool; +class LegacyThreadPool; class AudioPlayerProvider { public: @@ -116,7 +116,7 @@ private: PcmAudioService *_pcmAudioService; AudioMixerController *_mixController; - ThreadPool *_threadPool; + LegacyThreadPool *_threadPool; }; } // namespace cc diff --git a/native/cocos/base/CMakeLists.txt b/native/cocos/base/CMakeLists.txt deleted file mode 100644 index 2e632b35b2..0000000000 --- a/native/cocos/base/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ - -add_subdirectory(job-system) -add_subdirectory(threading) diff --git a/native/cocos/renderer/core/CoreStd.h b/native/cocos/base/CoreStd.h similarity index 97% rename from native/cocos/renderer/core/CoreStd.h rename to native/cocos/base/CoreStd.h index 018eaa3e05..a95e98641f 100644 --- a/native/cocos/renderer/core/CoreStd.h +++ b/native/cocos/base/CoreStd.h @@ -59,10 +59,12 @@ #include "base/TypeDef.h" #include "base/memory/Memory.h" -#include "math/Math.h" #include "base/Log.h" #include "base/Object.h" -#include "gfx/GFXObject.h" +#include "base/CachedArray.h" +#include "base/StringUtil.h" + +#include "math/Math.h" #define CC_JOB_SYSTEM_TASKFLOW 1 #define CC_JOB_SYSTEM_TBB 2 diff --git a/native/cocos/base/IndexHandle.h b/native/cocos/base/IndexHandle.h new file mode 100644 index 0000000000..e7bef23310 --- /dev/null +++ b/native/cocos/base/IndexHandle.h @@ -0,0 +1,90 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include +#include +#include + +namespace cc { + +template >> +class IndexHandle { +public: + struct Hasher { + inline size_t operator()(IndexHandle const &s) const noexcept { return s._index; } + }; + + using IndexType = Index; + + IndexHandle() noexcept = default; + explicit IndexHandle(IndexType const index) noexcept : _index(index) {} + + inline bool isValid() const noexcept; + inline void clear() noexcept; + + inline bool operator<(IndexHandle const &rhs) const noexcept; + inline bool operator==(IndexHandle const &rhs) const noexcept; + inline bool operator!=(IndexHandle const &rhs) const noexcept; + inline operator IndexType() const noexcept; + + static IndexType constexpr UNINITIALIZED{std::numeric_limits::max()}; + +private: + IndexType _index{UNINITIALIZED}; +}; + +template +bool IndexHandle::isValid() const noexcept { + return _index != UNINITIALIZED; +} + +template +void IndexHandle::clear() noexcept { + _index = UNINITIALIZED; +} + +template +bool IndexHandle::operator<(IndexHandle const &rhs) const noexcept { + return _index < rhs._index; +} + +template +bool IndexHandle::operator==(IndexHandle const &rhs) const noexcept { + return (_index == rhs._index); +} + +template +bool IndexHandle::operator!=(IndexHandle const &rhs) const noexcept { + return !operator==(rhs); +} + +template +IndexHandle::operator IndexType() const noexcept { + return _index; +} + +} // namespace cc diff --git a/native/cocos/renderer/core/CoreStd.cpp b/native/cocos/base/StringHandle.cpp similarity index 84% rename from native/cocos/renderer/core/CoreStd.cpp rename to native/cocos/base/StringHandle.cpp index e70caa2718..b69adb29c7 100644 --- a/native/cocos/renderer/core/CoreStd.cpp +++ b/native/cocos/base/StringHandle.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -23,4 +23,13 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "StringHandle.h" + +namespace cc { + +StringHandle::StringHandle(IndexType const handle, char const *const str) noexcept +: IndexHandle(handle), + _str(str) { +} + +} // namespace cc diff --git a/native/cocos/base/StringHandle.h b/native/cocos/base/StringHandle.h new file mode 100644 index 0000000000..36c226b079 --- /dev/null +++ b/native/cocos/base/StringHandle.h @@ -0,0 +1,42 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "IndexHandle.h" + +namespace cc { + +class StringHandle final : public IndexHandle { +public: + StringHandle() noexcept = default; + explicit StringHandle(IndexType const handle, char const *const str) noexcept; + inline char const *str() const noexcept { return _str; } + +private: + char const *_str{nullptr}; +}; + +} // namespace cc diff --git a/native/cocos/base/StringPool.h b/native/cocos/base/StringPool.h new file mode 100644 index 0000000000..58c7169935 --- /dev/null +++ b/native/cocos/base/StringPool.h @@ -0,0 +1,131 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "StringHandle.h" +#include "threading/ReadWriteLock.h" +#include +#include +#include +#include + +namespace cc { + +struct StringCompare final { + inline bool operator()(char const *lhs, char const *rhs) const noexcept { + return strcmp(lhs, rhs) < 0; + } +}; + +template +class StringPool final { +public: + StringPool() noexcept = default; + ~StringPool() = default; + StringPool(StringPool const &) = delete; + StringPool(StringPool &&) = delete; + StringPool &operator=(StringPool const &) = delete; + StringPool &operator=(StringPool &&) = delete; + + StringHandle stringToHandle(char const *const str) noexcept; + char const * handleToString(StringHandle const handle) const noexcept; + StringHandle find(char const *const str) const noexcept; + +private: + StringHandle doStringToHandle(char const *const str) noexcept; + char const * doHandleToString(StringHandle const handle) const noexcept; + StringHandle doFind(char const *const str) const noexcept; + + std::map _stringToHandles{}; + std::vector _handleToStrings{}; + mutable ReadWriteLock _readWriteLock{}; +}; + +using ThreadSafeStringPool = StringPool; + +template +inline StringHandle StringPool::stringToHandle(char const *const str) noexcept { + if (ThreadSafe) { + return _readWriteLock.LockWrite([this, str]() { + return doStringToHandle(str); + }); + } else { + return doStringToHandle(str); + } +} + +template +inline char const *StringPool::handleToString(StringHandle const handle) const noexcept { + if (ThreadSafe) { + return _readWriteLock.LockRead([this, handle]() { + return doHandleToString(handle); + }); + } else { + return doHandleToString(handle); + } +} + +template +StringHandle StringPool::find(char const *const str) const noexcept { + if (ThreadSafe) { + return _readWriteLock.LockRead([this, str]() { + return doFind(str); + }); + } else { + return doFind(str); + } +} + +template +inline StringHandle StringPool::doStringToHandle(char const *const str) noexcept { + auto const it = _stringToHandles.find(str); + + if (it == _stringToHandles.end()) { + size_t const strLength = strlen(str) + 1; + char *const strCache = new char[strLength]; // never freed since we can't invalidate every existing usage + strcpy(strCache, str); + StringHandle name(static_cast(_handleToStrings.size()), strCache); + _handleToStrings.emplace_back(strCache); + _stringToHandles.emplace(strCache, name); + return name; + } else { + return it->second; + } +} + +template +inline char const *StringPool::doHandleToString(StringHandle const handle) const noexcept { + assert(handle < _handleToStrings.size()); + return _handleToStrings[handle]; +} + +template +StringHandle StringPool::doFind(char const *const str) const noexcept { + auto const it = _stringToHandles.find(str); + return it == _stringToHandles.end() ? StringHandle{} : it->second; +} + +} // namespace cc diff --git a/native/cocos/base/StringUtil.cpp b/native/cocos/base/StringUtil.cpp index 30fc2fa227..027afed204 100755 --- a/native/cocos/base/StringUtil.cpp +++ b/native/cocos/base/StringUtil.cpp @@ -23,8 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" #include "StringUtil.h" +#include "memory/Memory.h" +#include #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) #ifndef WIN32_LEAN_AND_MEAN @@ -40,7 +41,7 @@ int StringUtil::VPrintf(char *buf, char *last, const char *fmt, va_list args) { if (last <= buf) return 0; int count = (int)(last - buf); - int ret = _vsnprintf_s(buf, count, _TRUNCATE, fmt, args); + int ret = _vsnprintf_s(buf, count, _TRUNCATE, fmt, args); if (ret < 0) { if (errno == 0) { return count - 1; @@ -56,7 +57,7 @@ int StringUtil::VPrintf(char *buf, char *last, const char *fmt, va_list args) { if (last <= buf) return 0; int count = (int)(last - buf); - int ret = vsnprintf(buf, count, fmt, args); + int ret = vsnprintf(buf, count, fmt, args); if (ret >= count - 1) { return count - 1; } else if (ret < 0) { @@ -75,7 +76,7 @@ int StringUtil::Printf(char *buf, char *last, const char *fmt, ...) { } String StringUtil::Format(const char *fmt, ...) { - char sz[4096]; + char sz[4096]; va_list args; va_start(args, fmt); VPrintf(sz, sz + sizeof(sz) - 1, fmt, args); diff --git a/native/cocos/base/StringUtil.h b/native/cocos/base/StringUtil.h index 5181018424..c1d5963c1c 100755 --- a/native/cocos/base/StringUtil.h +++ b/native/cocos/base/StringUtil.h @@ -23,11 +23,11 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_KERNEL_UTIL_STRING_UTIL_H_ -#define CC_CORE_KERNEL_UTIL_STRING_UTIL_H_ +#pragma once #include "Macros.h" #include "TypeDef.h" +#include "memory/Memory.h" namespace cc { @@ -40,5 +40,3 @@ public: }; } // namespace cc - -#endif // CC_CORE_KERNEL_UTIL_STRING_UTIL_H_ diff --git a/native/cocos/base/ThreadPool.cpp b/native/cocos/base/ThreadPool.cpp index f9e30ffcd2..b62ad6d68e 100644 --- a/native/cocos/base/ThreadPool.cpp +++ b/native/cocos/base/ThreadPool.cpp @@ -48,9 +48,9 @@ namespace cc { #define DEFAULT_SHRINK_STEP (2) #define DEFAULT_STRETCH_STEP (2) -static ThreadPool *__defaultThreadPool = nullptr; +static LegacyThreadPool *__defaultThreadPool = nullptr; -ThreadPool *ThreadPool::getDefaultThreadPool() { +LegacyThreadPool *LegacyThreadPool::getDefaultThreadPool() { if (__defaultThreadPool == nullptr) { __defaultThreadPool = newCachedThreadPool(DEFAULT_THREAD_POOL_MIN_NUM, DEFAULT_THREAD_POOL_MAX_NUM, @@ -61,14 +61,14 @@ ThreadPool *ThreadPool::getDefaultThreadPool() { return __defaultThreadPool; } -void ThreadPool::destroyDefaultThreadPool() { +void LegacyThreadPool::destroyDefaultThreadPool() { delete __defaultThreadPool; __defaultThreadPool = nullptr; } -ThreadPool *ThreadPool::newCachedThreadPool(int minThreadNum, int maxThreadNum, int shrinkInterval, +LegacyThreadPool *LegacyThreadPool::newCachedThreadPool(int minThreadNum, int maxThreadNum, int shrinkInterval, int shrinkStep, int stretchStep) { - ThreadPool *pool = new (std::nothrow) ThreadPool(minThreadNum, maxThreadNum); + LegacyThreadPool *pool = new (std::nothrow) LegacyThreadPool(minThreadNum, maxThreadNum); if (pool != nullptr) { pool->setFixedSize(false); pool->setShrinkInterval(shrinkInterval); @@ -78,40 +78,40 @@ ThreadPool *ThreadPool::newCachedThreadPool(int minThreadNum, int maxThreadNum, return pool; } -ThreadPool *ThreadPool::newFixedThreadPool(int threadNum) { - ThreadPool *pool = new (std::nothrow) ThreadPool(threadNum, threadNum); +LegacyThreadPool *LegacyThreadPool::newFixedThreadPool(int threadNum) { + LegacyThreadPool *pool = new (std::nothrow) LegacyThreadPool(threadNum, threadNum); if (pool != nullptr) { pool->setFixedSize(true); } return pool; } -ThreadPool *ThreadPool::newSingleThreadPool() { - ThreadPool *pool = new (std::nothrow) ThreadPool(1, 1); +LegacyThreadPool *LegacyThreadPool::newSingleThreadPool() { + LegacyThreadPool *pool = new (std::nothrow) LegacyThreadPool(1, 1); if (pool != nullptr) { pool->setFixedSize(true); } return pool; } -ThreadPool::ThreadPool(int minNum, int maxNum) +LegacyThreadPool::LegacyThreadPool(int minNum, int maxNum) : _isDone(false), _isStop(false), _idleThreadNum(0), _minThreadNum(minNum), _maxThreadNum(maxNum), _initedThreadNum(0), _shrinkInterval(DEFAULT_SHRINK_INTERVAL), _shrinkStep(DEFAULT_SHRINK_STEP), _stretchStep(DEFAULT_STRETCH_STEP), _isFixedSize(false) { init(); } // the destructor waits for all the functions in the queue to be finished -ThreadPool::~ThreadPool() { +LegacyThreadPool::~LegacyThreadPool() { stop(); } // number of idle threads -int ThreadPool::getIdleThreadNum() const { - ThreadPool *thiz = const_cast(this); +int LegacyThreadPool::getIdleThreadNum() const { + LegacyThreadPool *thiz = const_cast(this); std::lock_guard lk(thiz->_idleThreadNumMutex); return _idleThreadNum; } -void ThreadPool::init() { +void LegacyThreadPool::init() { _lastShrinkTime = std::chrono::high_resolution_clock::now(); _maxThreadNum = std::max(_minThreadNum, _maxThreadNum); @@ -135,7 +135,7 @@ void ThreadPool::init() { } } -bool ThreadPool::tryShrinkPool() { +bool LegacyThreadPool::tryShrinkPool() { LOGD("shrink pool, _idleThreadNum = %d \n", getIdleThreadNum()); auto before = std::chrono::high_resolution_clock::now(); @@ -182,7 +182,7 @@ bool ThreadPool::tryShrinkPool() { return false; } -void ThreadPool::stretchPool(int count) { +void LegacyThreadPool::stretchPool(int count) { auto before = std::chrono::high_resolution_clock::now(); int oldThreadCount = _initedThreadNum; @@ -210,7 +210,7 @@ void ThreadPool::stretchPool(int count) { } } -void ThreadPool::pushTask(const std::function &runnable, +void LegacyThreadPool::pushTask(const std::function &runnable, TaskType type /* = DEFAULT*/) { if (!_isFixedSize) { _idleThreadNumMutex.lock(); @@ -246,14 +246,14 @@ void ThreadPool::pushTask(const std::function &runnable, } } -void ThreadPool::stopAllTasks() { +void LegacyThreadPool::stopAllTasks() { Task task; while (_taskQueue.pop(task)) { delete task.callback; // empty the queue } } -void ThreadPool::stopTasksByType(TaskType type) { +void LegacyThreadPool::stopTasksByType(TaskType type) { Task task; std::vector notStopTasks; @@ -274,7 +274,7 @@ void ThreadPool::stopTasksByType(TaskType type) { } } -void ThreadPool::joinThread(int tid) { +void LegacyThreadPool::joinThread(int tid) { if (tid < 0 || tid >= (int)_threads.size()) { LOGD("Invalid thread id %d\n", tid); return; @@ -288,30 +288,30 @@ void ThreadPool::joinThread(int tid) { } } -int ThreadPool::getTaskNum() const { +int LegacyThreadPool::getTaskNum() const { return (int)_taskQueue.size(); } -void ThreadPool::setFixedSize(bool isFixedSize) { +void LegacyThreadPool::setFixedSize(bool isFixedSize) { _isFixedSize = isFixedSize; } -void ThreadPool::setShrinkInterval(int seconds) { +void LegacyThreadPool::setShrinkInterval(int seconds) { if (seconds >= 0) _shrinkInterval = (float)seconds; } -void ThreadPool::setShrinkStep(int step) { +void LegacyThreadPool::setShrinkStep(int step) { if (step > 0) _shrinkStep = step; } -void ThreadPool::setStretchStep(int step) { +void LegacyThreadPool::setStretchStep(int step) { if (step > 0) _stretchStep = step; } -void ThreadPool::stop() { +void LegacyThreadPool::stop() { if (_isDone || _isStop) return; _isDone = true; // give the waiting threads a command to finish @@ -331,7 +331,7 @@ void ThreadPool::stop() { _abortFlags.clear(); } -void ThreadPool::setThread(int tid) { +void LegacyThreadPool::setThread(int tid) { std::shared_ptr> abort_ptr( _abortFlags[tid]); // a copy of the shared ptr to the flag auto f = [this, tid, abort_ptr /* a copy of the shared ptr to the abort */]() { diff --git a/native/cocos/base/ThreadPool.h b/native/cocos/base/ThreadPool.h index b2f2cc51b5..ce0e20d4f5 100644 --- a/native/cocos/base/ThreadPool.h +++ b/native/cocos/base/ThreadPool.h @@ -45,7 +45,7 @@ namespace cc { * @{ */ -class CC_DLL ThreadPool { +class CC_DLL LegacyThreadPool { public: enum class TaskType { DEFAULT = 0, @@ -58,7 +58,7 @@ public: /* * Gets the default thread pool which is a cached thread pool with default parameters. */ - static ThreadPool *getDefaultThreadPool(); + static LegacyThreadPool *getDefaultThreadPool(); /* * Destroys the default thread pool @@ -69,23 +69,23 @@ public: * Creates a cached thread pool * @note The return value has to be delete while it doesn't needed */ - static ThreadPool *newCachedThreadPool(int minThreadNum, int maxThreadNum, int shrinkInterval, + static LegacyThreadPool *newCachedThreadPool(int minThreadNum, int maxThreadNum, int shrinkInterval, int shrinkStep, int stretchStep); /* * Creates a thread pool with fixed thread count * @note The return value has to be delete while it doesn't needed */ - static ThreadPool *newFixedThreadPool(int threadNum); + static LegacyThreadPool *newFixedThreadPool(int threadNum); /* * Creates a thread pool with only one thread in the pool, it could be used to execute multiply tasks serially in just one thread. * @note The return value has to be delete while it doesn't needed */ - static ThreadPool *newSingleThreadPool(); + static LegacyThreadPool *newSingleThreadPool(); // the destructor waits for all the functions in the queue to be finished - ~ThreadPool(); + ~LegacyThreadPool(); /* Pushs a task to thread pool * @param runnable The callback of the task executed in sub thread @@ -122,15 +122,15 @@ public: bool tryShrinkPool(); private: - ThreadPool(int minNum, int maxNum); + LegacyThreadPool(int minNum, int maxNum); - ThreadPool(const ThreadPool &); + LegacyThreadPool(const LegacyThreadPool &); - ThreadPool(ThreadPool &&); + LegacyThreadPool(LegacyThreadPool &&); - ThreadPool &operator=(const ThreadPool &); + LegacyThreadPool &operator=(const LegacyThreadPool &); - ThreadPool &operator=(ThreadPool &&); + LegacyThreadPool &operator=(LegacyThreadPool &&); void init(); diff --git a/native/cocos/base/TypeDef.h b/native/cocos/base/TypeDef.h index 4b07839dce..22e3967e65 100755 --- a/native/cocos/base/TypeDef.h +++ b/native/cocos/base/TypeDef.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_TYPE_DEF_H_ -#define CC_CORE_TYPE_DEF_H_ +#pragma once typedef unsigned int uint; typedef unsigned short ushort; @@ -39,5 +38,3 @@ typedef unsigned int FlagBits; CC_INLINE void operator&=(type_ &lhs, type_ rhs) { lhs = (type_)(static_cast::type /**/>(lhs) & static_cast::type /**/>(rhs)); } \ CC_INLINE bool operator||(type_ lhs, type_ rhs) { return (static_cast::type /**/>(lhs) || static_cast::type /**/>(rhs)); } \ CC_INLINE bool operator&&(type_ lhs, type_ rhs) { return (static_cast::type /**/>(lhs) && static_cast::type /**/>(rhs)); } - -#endif // CC_CORE_TYPE_DEF_H_ diff --git a/native/cocos/base/job-system/CMakeLists.txt b/native/cocos/base/job-system/CMakeLists.txt deleted file mode 100644 index 095a261c55..0000000000 --- a/native/cocos/base/job-system/CMakeLists.txt +++ /dev/null @@ -1,3 +0,0 @@ - -add_subdirectory(job-system-taskflow) -add_subdirectory(job-system-tbb) diff --git a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt b/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt deleted file mode 100644 index a5b4fe9f00..0000000000 --- a/native/cocos/base/job-system/job-system-taskflow/CMakeLists.txt +++ /dev/null @@ -1,71 +0,0 @@ -set(TARGET_NAME TFJobSystem) -set(CMAKE_CXX_STANDARD 17) -message(STATUS "Target: ${TARGET_NAME}...") -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/taskflow - ${COCOS_SRC_PATH} - ${COCOS_SRC_PATH}/base - ${COCOS_SRC_PATH}/renderer/core -) - -include_directories( ${INCLUDE_FILES} ) - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) -file(GLOB_RECURSE SOURCE_C_FILES *.c) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) -endif() - -set(CC_BASE_HEADERS - ${COCOS_SRC_PATH}/base/TypeDef.h - ${COCOS_SRC_PATH}/base/Log.h - ${COCOS_SRC_PATH}/base/Object.h - ${COCOS_SRC_PATH}/base/memory/Memory.h - ${COCOS_SRC_PATH}/math/Math.h -) - -set(CC_BASE_SOURCES - ${COCOS_SRC_PATH}/base/Log.cpp - ${COCOS_SRC_PATH}/base/memory/Memory.cpp - ${COCOS_SRC_PATH}/math/Math.cpp -) - -set(ALL_FILES - ${CC_BASE_HEADERS} - ${CC_BASE_SOURCES} - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} -) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) -endif() - -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) -endif() - -target_link_libraries(${TARGET_NAME}) - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCTFJobSystem) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCTFJobSystem_d) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp index 9abba5263b..01e933700f 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "TFJobGraph.h" #include "TFJobSystem.h" diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index 07d44418e8..0e6f6947ca 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -34,7 +34,7 @@ using TFJobToken = void; class TFJobGraph final { public: - TFJobGraph(TFJobSystem *system) : _executor(&system->_executor) {} + explicit TFJobGraph(TFJobSystem *system) noexcept : _executor(&system->_executor) {} template uint createJob(Function &&func) noexcept; diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp index 7ea42193b0..90dad4c950 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "TFJobGraph.h" #include "TFJobSystem.h" diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 792c820be8..31aae10931 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -45,7 +45,7 @@ public: } TFJobSystem() noexcept : TFJobSystem(std::max(2u, std::thread::hardware_concurrency() - 2u)) {} - TFJobSystem(uint threadCount) noexcept; + explicit TFJobSystem(uint threadCount) noexcept; CC_INLINE uint threadCount() { return _executor.num_workers(); } diff --git a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt b/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt deleted file mode 100644 index 557008d6da..0000000000 --- a/native/cocos/base/job-system/job-system-tbb/CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -set(TARGET_NAME TBBJobSystem) - -message(STATUS "Target: ${TARGET_NAME}...") -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/tbb/include - ${COCOS_SRC_PATH} - ${COCOS_SRC_PATH}/base - ${COCOS_SRC_PATH}/renderer/core -) - -include_directories( ${INCLUDE_FILES} ) - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) -file(GLOB_RECURSE SOURCE_C_FILES *.c) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) -endif() - -set(CC_BASE_HEADERS - ${COCOS_SRC_PATH}/base/StringUtil.h - ${COCOS_SRC_PATH}/base/TypeDef.h - ${COCOS_SRC_PATH}/base/Log.h - ${COCOS_SRC_PATH}/base/Object.h - ${COCOS_SRC_PATH}/base/UTFString.h - ${COCOS_SRC_PATH}/base/memory/Memory.h - ${COCOS_SRC_PATH}/math/Math.h -) - -set(CC_BASE_SOURCES - ${COCOS_SRC_PATH}/base/StringUtil.cpp - ${COCOS_SRC_PATH}/base/UTFString.cpp - ${COCOS_SRC_PATH}/base/Log.cpp - ${COCOS_SRC_PATH}/base/memory/Memory.cpp - ${COCOS_SRC_PATH}/math/Math.cpp -) - -set(ALL_FILES - ${CC_BASE_HEADERS} - ${CC_BASE_SOURCES} - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} -) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) -endif() - -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) -endif() - -target_link_libraries(${TARGET_NAME} tbb tbbmalloc tbbmalloc_proxy) -target_compile_definitions(${TARGET_NAME} PRIVATE ${CC_EXTERNAL_PRIVATE_DEFINITIONS}) - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCTBBJobSystem) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCTBBJobSystem_d) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp index ef95f22023..294b5aa0c7 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "TBBJobGraph.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index 1fdcb49c89..638536e938 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -35,7 +35,7 @@ class TBBJobSystem; class TBBJobGraph final { public: - TBBJobGraph(TBBJobSystem *system) { + explicit TBBJobGraph(TBBJobSystem *system) noexcept { _nodes.emplace_back(_graph, [](TBBJobToken t) {}); } diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp index a3658c63d6..ac2a2a0b19 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "TBBJobGraph.h" #include "TBBJobSystem.h" diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h index cfc1770ab5..27da4aebd0 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobSystem.h @@ -47,7 +47,7 @@ public: } TBBJobSystem() noexcept : TBBJobSystem(std::max(2u, std::thread::hardware_concurrency() - 2u)) {} - TBBJobSystem(uint threadCount) noexcept; + explicit TBBJobSystem(uint threadCount) noexcept; CC_INLINE uint threadCount() { return _threadCount; } diff --git a/native/cocos/base/memory/JeAlloc.cpp b/native/cocos/base/memory/JeAlloc.cpp index aaaf84a986..84be0d9084 100755 --- a/native/cocos/base/memory/JeAlloc.cpp +++ b/native/cocos/base/memory/JeAlloc.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "JeAlloc.h" #include "MemTracker.h" diff --git a/native/cocos/base/memory/MemTracker.cpp b/native/cocos/base/memory/MemTracker.cpp index cab4a8533e..d36ba53f4e 100755 --- a/native/cocos/base/memory/MemTracker.cpp +++ b/native/cocos/base/memory/MemTracker.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "MemTracker.h" #include "../StringUtil.h" diff --git a/native/cocos/base/memory/Memory.cpp b/native/cocos/base/memory/Memory.cpp index 0af3eed54c..d5cafdbe3d 100755 --- a/native/cocos/base/memory/Memory.cpp +++ b/native/cocos/base/memory/Memory.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "Memory.h" #include "StlAlloc.h" diff --git a/native/cocos/base/memory/NedPooling.cpp b/native/cocos/base/memory/NedPooling.cpp index 6784c8b3c5..448d0be966 100755 --- a/native/cocos/base/memory/NedPooling.cpp +++ b/native/cocos/base/memory/NedPooling.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "NedPooling.h" #include "MemTracker.h" diff --git a/native/cocos/base/threading/CMakeLists.txt b/native/cocos/base/threading/CMakeLists.txt deleted file mode 100644 index 57725134bb..0000000000 --- a/native/cocos/base/threading/CMakeLists.txt +++ /dev/null @@ -1,61 +0,0 @@ -set(TARGET_NAME Threading) - -message(STATUS "Target: ${TARGET_NAME}...") -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/concurrentqueue - ${GFX_EXTERNAL_PATH}/acl/includes - ${GFX_EXTERNAL_PATH}/rtm/includes -) - -include_directories( ${INCLUDE_FILES} ) - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) -file(GLOB_RECURSE SOURCE_C_FILES *.c) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) -endif() - -set(ALL_FILES - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} -) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) -endif() - -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) -endif() - -target_link_libraries(${TARGET_NAME}) - -if(MSVC) - target_compile_options(${TARGET_NAME} - PUBLIC /utf-8 # MSVC portability - PUBLIC /wd4324 # command encoder alignment - ) -endif() - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCThreading) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCThreading_d) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/base/threading/ReadWriteLock.h b/native/cocos/base/threading/ReadWriteLock.h new file mode 100644 index 0000000000..292250ad82 --- /dev/null +++ b/native/cocos/base/threading/ReadWriteLock.h @@ -0,0 +1,56 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include + +namespace cc { + +class ReadWriteLock final { +public: + template + auto LockRead(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)); + + template + auto LockWrite(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)); + +private: + std::shared_mutex _mutex; +}; + +template +auto ReadWriteLock::LockRead(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)) { + std::shared_lock lock(_mutex); + return func(std::forward(args)...); +} + +template +auto ReadWriteLock::LockWrite(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)) { + std::lock_guard lock(_mutex); + return func(std::forward(args)...); +} + +} // namespace cc diff --git a/native/cocos/bindings/auto/jsb_audio_auto.cpp b/native/cocos/bindings/auto/jsb_audio_auto.cpp index 907785851f..6b0aae6b5a 100644 --- a/native/cocos/bindings/auto/jsb_audio_auto.cpp +++ b/native/cocos/bindings/auto/jsb_audio_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_audio_auto.h b/native/cocos/bindings/auto/jsb_audio_auto.h index e7d668143d..0464119f65 100644 --- a/native/cocos/bindings/auto/jsb_audio_auto.h +++ b/native/cocos/bindings/auto/jsb_audio_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_cocos_auto.cpp b/native/cocos/bindings/auto/jsb_cocos_auto.cpp index 688c360350..49355fcb86 100644 --- a/native/cocos/bindings/auto/jsb_cocos_auto.cpp +++ b/native/cocos/bindings/auto/jsb_cocos_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_cocos_auto.h b/native/cocos/bindings/auto/jsb_cocos_auto.h index e486f2e097..83c5375e6c 100644 --- a/native/cocos/bindings/auto/jsb_cocos_auto.h +++ b/native/cocos/bindings/auto/jsb_cocos_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp b/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp index 2bccc3210c..5a51b5a878 100644 --- a/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp +++ b/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_dragonbones_auto.h b/native/cocos/bindings/auto/jsb_dragonbones_auto.h index d07fe715c8..5d93da4d3c 100644 --- a/native/cocos/bindings/auto/jsb_dragonbones_auto.h +++ b/native/cocos/bindings/auto/jsb_dragonbones_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_editor_support_auto.cpp b/native/cocos/bindings/auto/jsb_editor_support_auto.cpp index 4cd0823ed7..ef970bbbf1 100644 --- a/native/cocos/bindings/auto/jsb_editor_support_auto.cpp +++ b/native/cocos/bindings/auto/jsb_editor_support_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_editor_support_auto.h b/native/cocos/bindings/auto/jsb_editor_support_auto.h index faa15afd09..a626254d58 100644 --- a/native/cocos/bindings/auto/jsb_editor_support_auto.h +++ b/native/cocos/bindings/auto/jsb_editor_support_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_extension_auto.cpp b/native/cocos/bindings/auto/jsb_extension_auto.cpp index bfe86b6258..90d8430b98 100644 --- a/native/cocos/bindings/auto/jsb_extension_auto.cpp +++ b/native/cocos/bindings/auto/jsb_extension_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_extension_auto.h b/native/cocos/bindings/auto/jsb_extension_auto.h index ab01628320..d15a95a10f 100644 --- a/native/cocos/bindings/auto/jsb_extension_auto.h +++ b/native/cocos/bindings/auto/jsb_extension_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 716d36ecbb..08980e5a8c 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -26,7 +26,7 @@ #include "cocos/bindings/auto/jsb_gfx_auto.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" -#include "renderer/core/Core.h" +#include "renderer/gfx-base/GFXBase.h" #ifndef JSB_ALLOC #define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index c4de891a1b..a6660d034d 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -28,7 +28,7 @@ #include #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/core/Core.h" +#include "cocos/renderer/gfx-base/GFXBase.h" extern se::Object* __jsb_cc_gfx_Size_proto; extern se::Class* __jsb_cc_gfx_Size_class; diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.cpp b/native/cocos/bindings/auto/jsb_gles2_auto.cpp index 17eee1cb1b..3f8b310fd1 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles2_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.h b/native/cocos/bindings/auto/jsb_gles2_auto.h index 592905844f..4c309e74ca 100644 --- a/native/cocos/bindings/auto/jsb_gles2_auto.h +++ b/native/cocos/bindings/auto/jsb_gles2_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.cpp b/native/cocos/bindings/auto/jsb_gles3_auto.cpp index 1e87257872..a8f0154cb4 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gles3_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.h b/native/cocos/bindings/auto/jsb_gles3_auto.h index edba2a5a9c..64f07379ba 100644 --- a/native/cocos/bindings/auto/jsb_gles3_auto.h +++ b/native/cocos/bindings/auto/jsb_gles3_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp index 987fa41981..ce676c461e 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ b/native/cocos/bindings/auto/jsb_mtl_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -110,20 +110,20 @@ static bool js_mtl_CCMTLDevice_getMTLLayer(se::State& s) } SE_BIND_FUNC(js_mtl_CCMTLDevice_getMTLLayer) -static bool js_mtl_CCMTLDevice_presentCompleted(se::State& s) +static bool js_mtl_CCMTLDevice_onPresentCompleted(se::State& s) { cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_presentCompleted : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_onPresentCompleted : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); if (argc == 0) { - cobj->presentCompleted(); + cobj->onPresentCompleted(); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); return false; } -SE_BIND_FUNC(js_mtl_CCMTLDevice_presentCompleted) +SE_BIND_FUNC(js_mtl_CCMTLDevice_onPresentCompleted) SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) @@ -161,7 +161,7 @@ bool js_register_mtl_CCMTLDevice(se::Object* obj) cls->defineFunction("getCurrentDrawable", _SE(js_mtl_CCMTLDevice_getCurrentDrawable)); cls->defineFunction("getDSSTexture", _SE(js_mtl_CCMTLDevice_getDSSTexture)); cls->defineFunction("getMTLLayer", _SE(js_mtl_CCMTLDevice_getMTLLayer)); - cls->defineFunction("presentCompleted", _SE(js_mtl_CCMTLDevice_presentCompleted)); + cls->defineFunction("onPresentCompleted", _SE(js_mtl_CCMTLDevice_onPresentCompleted)); cls->defineFinalizeFunction(_SE(js_cc_gfx_CCMTLDevice_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h index 3691287376..be0cecc60d 100644 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ b/native/cocos/bindings/auto/jsb_mtl_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -41,6 +41,6 @@ SE_DECLARE_FUNC(js_mtl_CCMTLDevice_disposeCurrentDrawable); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getCurrentDrawable); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getDSSTexture); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getMTLLayer); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_presentCompleted); +SE_DECLARE_FUNC(js_mtl_CCMTLDevice_onPresentCompleted); SE_DECLARE_FUNC(js_mtl_CCMTLDevice_CCMTLDevice); diff --git a/native/cocos/bindings/auto/jsb_network_auto.cpp b/native/cocos/bindings/auto/jsb_network_auto.cpp index c2b4684776..d2c909321c 100644 --- a/native/cocos/bindings/auto/jsb_network_auto.cpp +++ b/native/cocos/bindings/auto/jsb_network_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_network_auto.h b/native/cocos/bindings/auto/jsb_network_auto.h index 003704fbfb..50de010214 100644 --- a/native/cocos/bindings/auto/jsb_network_auto.h +++ b/native/cocos/bindings/auto/jsb_network_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp index 84a0a34572..639988687b 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com @@ -43,8 +43,7 @@ #include "renderer/pipeline/deferred/LightingFlow.h" #include "renderer/pipeline/deferred/LightingStage.h" #include "renderer/pipeline/deferred/PostprocessStage.h" -#include "cocos/renderer/core/Core.h" -#include "cocos/renderer/core/gfx/GFXDescriptorSet.h" +#include "cocos/renderer/gfx-base/GFXBase.h" #ifndef JSB_ALLOC #define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) @@ -3206,10 +3205,9 @@ SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_ShadowStage_finalize) static bool js_pipeline_ShadowStage_constructor(se::State& s) // constructor.c { - cc::pipeline::ShadowStage* cobj = JSB_ALLOC(cc::pipeline::ShadowStage); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; + //#3 cc::pipeline::ShadowStage: is_skip_construtor True + se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::pipeline::ShadowStage constructor is skipped\")"); + return false; } SE_BIND_CTOR(js_pipeline_ShadowStage_constructor, __jsb_cc_pipeline_ShadowStage_class, js_cc_pipeline_ShadowStage_finalize) diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.h b/native/cocos/bindings/auto/jsb_pipeline_auto.h index 76e5e46dcb..32ec6511a4 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.h +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_spine_auto.cpp b/native/cocos/bindings/auto/jsb_spine_auto.cpp index 758327c9c7..8e61f2b51b 100644 --- a/native/cocos/bindings/auto/jsb_spine_auto.cpp +++ b/native/cocos/bindings/auto/jsb_spine_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_spine_auto.h b/native/cocos/bindings/auto/jsb_spine_auto.h index 7fcabe7323..e757ada5b9 100644 --- a/native/cocos/bindings/auto/jsb_spine_auto.h +++ b/native/cocos/bindings/auto/jsb_spine_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_video_auto.cpp b/native/cocos/bindings/auto/jsb_video_auto.cpp index a4ee432322..ab87637de7 100644 --- a/native/cocos/bindings/auto/jsb_video_auto.cpp +++ b/native/cocos/bindings/auto/jsb_video_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_video_auto.h b/native/cocos/bindings/auto/jsb_video_auto.h index 1c71fa9b44..14f39b0034 100644 --- a/native/cocos/bindings/auto/jsb_video_auto.h +++ b/native/cocos/bindings/auto/jsb_video_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_vk_auto.cpp b/native/cocos/bindings/auto/jsb_vk_auto.cpp index 2eb3583820..cd7214bb37 100644 --- a/native/cocos/bindings/auto/jsb_vk_auto.cpp +++ b/native/cocos/bindings/auto/jsb_vk_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_vk_auto.h b/native/cocos/bindings/auto/jsb_vk_auto.h index c7f32df2c6..98fc6aa67b 100644 --- a/native/cocos/bindings/auto/jsb_vk_auto.h +++ b/native/cocos/bindings/auto/jsb_vk_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_webview_auto.cpp b/native/cocos/bindings/auto/jsb_webview_auto.cpp index 69c59b6039..c74dac9983 100644 --- a/native/cocos/bindings/auto/jsb_webview_auto.cpp +++ b/native/cocos/bindings/auto/jsb_webview_auto.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/auto/jsb_webview_auto.h b/native/cocos/bindings/auto/jsb_webview_auto.h index 580809f78d..586a70ad04 100644 --- a/native/cocos/bindings/auto/jsb_webview_auto.h +++ b/native/cocos/bindings/auto/jsb_webview_auto.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/dop/BufferAllocator.cpp b/native/cocos/bindings/dop/BufferAllocator.cpp index 9b827d8371..83b1953f89 100644 --- a/native/cocos/bindings/dop/BufferAllocator.cpp +++ b/native/cocos/bindings/dop/BufferAllocator.cpp @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/dop/BufferAllocator.h b/native/cocos/bindings/dop/BufferAllocator.h index 2710d9f0da..d6e1b9ea11 100644 --- a/native/cocos/bindings/dop/BufferAllocator.h +++ b/native/cocos/bindings/dop/BufferAllocator.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/dop/PoolType.h b/native/cocos/bindings/dop/PoolType.h index 97d7458a2a..d34a45e600 100644 --- a/native/cocos/bindings/dop/PoolType.h +++ b/native/cocos/bindings/dop/PoolType.h @@ -1,5 +1,5 @@ /**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. http://www.cocos.com diff --git a/native/cocos/bindings/manual/jsb_conversions.cpp b/native/cocos/bindings/manual/jsb_conversions.cpp index 13fe266dc9..e28e166f60 100644 --- a/native/cocos/bindings/manual/jsb_conversions.cpp +++ b/native/cocos/bindings/manual/jsb_conversions.cpp @@ -26,7 +26,7 @@ #include "jsb_conversions.h" #include "base/TypeDef.h" #include "math/Math.h" -#include "renderer/core/gfx/GFXDef.h" +#include "gfx-base/GFXDef.h" #include #include diff --git a/native/cocos/bindings/manual/jsb_gfx_agent.cpp b/native/cocos/bindings/manual/jsb_gfx_agent.cpp index 714067ec5e..1b9436e9ec 100644 --- a/native/cocos/bindings/manual/jsb_gfx_agent.cpp +++ b/native/cocos/bindings/manual/jsb_gfx_agent.cpp @@ -26,7 +26,7 @@ #include "cocos/bindings/manual/jsb_gfx_agent.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" -#include "renderer/core/gfx-agent/GFXDeviceAgent.h" +#include "gfx-agent/GFXDeviceAgent.h" #ifndef JSB_ALLOC #define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) @@ -103,4 +103,3 @@ bool register_all_gfx_agent(se::Object* obj) js_register_gfx_agent_DeviceAgent(ns); return true; } - diff --git a/native/cocos/bindings/manual/jsb_gfx_agent.h b/native/cocos/bindings/manual/jsb_gfx_agent.h index 6e4c54016f..1bef9079e0 100644 --- a/native/cocos/bindings/manual/jsb_gfx_agent.h +++ b/native/cocos/bindings/manual/jsb_gfx_agent.h @@ -25,19 +25,19 @@ #pragma once #include "base/Config.h" -#include +#include "base/CoreStd.h" +#include "bindings/auto/jsb_gfx_auto.h" #include "bindings/jswrapper/SeApi.h" #include "bindings/manual/jsb_conversions.h" -#include "renderer/core/Core.h" -#include "bindings/auto/jsb_gfx_auto.h" -#include "renderer/core/gfx-agent/GFXDeviceAgent.h" +#include "gfx-agent/GFXDeviceAgent.h" +#include "gfx-base/GFXDef.h" +#include -extern se::Object* __jsb_cc_gfx_DeviceAgent_proto; -extern se::Class* __jsb_cc_gfx_DeviceAgent_class; +extern se::Object *__jsb_cc_gfx_DeviceAgent_proto; +extern se::Class * __jsb_cc_gfx_DeviceAgent_class; -bool js_register_cc_gfx_DeviceAgent(se::Object* obj); -bool register_all_gfx_agent(se::Object* obj); +bool js_register_cc_gfx_DeviceAgent(se::Object *obj); +bool register_all_gfx_agent(se::Object *obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::DeviceAgent); SE_DECLARE_FUNC(js_gfx_agent_DeviceAgent_DeviceAgent); - diff --git a/native/cocos/bindings/manual/jsb_gfx_manual.cpp b/native/cocos/bindings/manual/jsb_gfx_manual.cpp index ab19d142b0..161ee45dce 100644 --- a/native/cocos/bindings/manual/jsb_gfx_manual.cpp +++ b/native/cocos/bindings/manual/jsb_gfx_manual.cpp @@ -35,22 +35,22 @@ #ifdef CC_USE_VULKAN #include "bindings/auto/jsb_vk_auto.h" - #include "renderer/gfx-vulkan/GFXVulkan.h" + #include "gfx-vulkan/GFXVulkan.h" #endif #ifdef CC_USE_METAL #include "bindings/auto/jsb_mtl_auto.h" - #include "renderer/gfx-metal/GFXMTL.h" + #include "gfx-metal/GFXMTL.h" #endif #ifdef CC_USE_GLES3 #include "bindings/auto/jsb_gles3_auto.h" - #include "renderer/gfx-gles3/GFXGLES3.h" + #include "gfx-gles3/GFXGLES3.h" #endif #ifdef CC_USE_GLES2 #include "bindings/auto/jsb_gles2_auto.h" - #include "renderer/gfx-gles2/GFXGLES2.h" + #include "gfx-gles2/GFXGLES2.h" #endif #include diff --git a/native/cocos/bindings/manual/jsb_global.cpp b/native/cocos/bindings/manual/jsb_global.cpp index f043f5a9a7..9f0ed19daf 100644 --- a/native/cocos/bindings/manual/jsb_global.cpp +++ b/native/cocos/bindings/manual/jsb_global.cpp @@ -24,45 +24,46 @@ ****************************************************************************/ #include "jsb_global.h" -#include "jsb_conversions.h" -#include "xxtea/xxtea.h" -#include "base/ZipUtils.h" +#include "base/CoreStd.h" #include "base/Scheduler.h" #include "base/ThreadPool.h" +#include "base/ZipUtils.h" #include "base/base64.h" +#include "gfx-base/GFXDef.h" +#include "jsb_conversions.h" #include "network/HttpClient.h" #include "platform/Application.h" #include "platform/Image.h" -#include "renderer/core/Core.h" #include "ui/edit-box/EditBox.h" +#include "xxtea/xxtea.h" #if CC_PLATFORM == CC_PLATFORM_ANDROID #include "platform/android/jni/JniImp.h" #endif -#include #include +#include #include using namespace cc; se::Object *__jsbObj = nullptr; -se::Object *__glObj = nullptr; +se::Object *__glObj = nullptr; -static ThreadPool *__threadPool = nullptr; +static LegacyThreadPool *__threadPool = nullptr; -static std::shared_ptr _localDownloader = nullptr; +static std::shared_ptr _localDownloader = nullptr; static std::map> _localDownloaderHandlers; -static uint64_t _localDownloaderTaskId = 1000000; -static std::string xxteaKey = ""; -void jsb_set_xxtea_key(const std::string &key) { +static uint64_t _localDownloaderTaskId = 1000000; +static std::string xxteaKey = ""; +void jsb_set_xxtea_key(const std::string &key) { xxteaKey = key; } static cc::network::Downloader *localDownloader() { if (!_localDownloader) { - _localDownloader = std::make_shared(); - _localDownloader->onDataTaskSuccess = [=](const cc::network::DownloadTask &task, + _localDownloader = std::make_shared(); + _localDownloader->onDataTaskSuccess = [=](const cc::network::DownloadTask & task, const std::vector &data) { if (data.empty()) { SE_REPORT_ERROR("Getting image from (%s) failed!", task.requestURL.c_str()); @@ -74,8 +75,8 @@ static cc::network::Downloader *localDownloader() { SE_REPORT_ERROR("Getting image from (%s), callback not found!!", task.requestURL.c_str()); return; } - size_t imageBytes = data.size(); - unsigned char *imageData = (unsigned char *)malloc(imageBytes); + size_t imageBytes = data.size(); + unsigned char *imageData = (unsigned char *)malloc(imageBytes); memcpy(imageData, data.data(), imageBytes); (callback->second)("", imageData, static_cast(imageBytes)); @@ -83,9 +84,9 @@ static cc::network::Downloader *localDownloader() { _localDownloaderHandlers.erase(callback); }; _localDownloader->onTaskError = [=](const cc::network::DownloadTask &task, - int errorCode, - int errorCodeInternal, - const std::string &errorStr) { + int errorCode, + int errorCodeInternal, + const std::string & errorStr) { SE_REPORT_ERROR("Getting image from (%s) failed!", task.requestURL.c_str()); _localDownloaderHandlers.erase(task.identifier); }; @@ -96,8 +97,8 @@ static cc::network::Downloader *localDownloader() { static void localDownloaderCreateTask(const std::string &url, std::function callback) { std::stringstream ss; ss << "jsb_loadimage_" << (_localDownloaderTaskId++); - std::string key = ss.str(); - auto task = localDownloader()->createDownloadDataTask(url, key); + std::string key = ss.str(); + auto task = localDownloader()->createDownloadDataTask(url, key); _localDownloaderHandlers.emplace(std::make_pair(task->identifier, callback)); } @@ -123,8 +124,8 @@ void jsb_init_file_operation_delegate() { if (FileUtils::getInstance()->isFileExist(byteCodePath)) { fileData = FileUtils::getInstance()->getDataFromFile(byteCodePath); - size_t dataLen = 0; - uint8_t *data = xxtea_decrypt((unsigned char *)fileData.getBytes(), (uint32_t)fileData.getSize(), (unsigned char *)xxteaKey.c_str(), (uint32_t)xxteaKey.size(), (uint32_t *)&dataLen); + size_t dataLen = 0; + uint8_t *data = xxtea_decrypt((unsigned char *)fileData.getBytes(), (uint32_t)fileData.getSize(), (unsigned char *)xxteaKey.c_str(), (uint32_t)xxteaKey.size(), (uint32_t *)&dataLen); if (data == nullptr) { SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); @@ -133,7 +134,7 @@ void jsb_init_file_operation_delegate() { if (ZipUtils::isGZipBuffer(data, dataLen)) { uint8_t *unpackedData; - ssize_t unpackedLen = ZipUtils::inflateMemory(data, dataLen, &unpackedData); + ssize_t unpackedLen = ZipUtils::inflateMemory(data, dataLen, &unpackedData); if (unpackedData == nullptr) { SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); @@ -172,7 +173,7 @@ void jsb_init_file_operation_delegate() { if (ZipUtils::isGZipBuffer(data, dataLen)) { uint8_t *unpackedData; - ssize_t unpackedLen = ZipUtils::inflateMemory(data, dataLen, &unpackedData); + ssize_t unpackedLen = ZipUtils::inflateMemory(data, dataLen, &unpackedData); if (unpackedData == nullptr) { SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); return ""; @@ -239,7 +240,7 @@ bool jsb_enable_debugger(const std::string &debuggerServerAddr, uint32_t port, b bool jsb_set_extend_property(const char *ns, const char *clsName) { se::Object *globalObj = se::ScriptEngine::getInstance()->getGlobalObject(); - se::Value nsVal; + se::Value nsVal; if (globalObj->getProperty(ns, &nsVal) && nsVal.isObject()) { se::Value ccVal; if (globalObj->getProperty("cc", &ccVal) && ccVal.isObject()) { @@ -264,7 +265,7 @@ std::unordered_map __moduleCache; static bool require(se::State &s) { const auto &args = s.args(); - int argc = (int)args.size(); + int argc = (int)args.size(); assert(argc >= 1); assert(args[0].isString()); @@ -302,7 +303,7 @@ static bool doModuleRequire(const std::string &path, se::Value *ret, const std:: secondPath += ".js"; } - fullPath = fileOperationDelegate.onGetFullPath(secondPath); + fullPath = fileOperationDelegate.onGetFullPath(secondPath); scriptBuffer = fileOperationDelegate.onGetStringFromFile(fullPath); } else { fullPath = fileOperationDelegate.onGetFullPath(pathWithSuffix); @@ -318,7 +319,7 @@ static bool doModuleRequire(const std::string &path, se::Value *ret, const std:: std::string currentScriptFileDir = FileUtils::getInstance()->getFileDir(fullPath); // Add closure for evalutate the script - char prefix[] = "(function(currentScriptDir){ window.module = window.module || {}; var exports = window.module.exports = {}; "; + char prefix[] = "(function(currentScriptDir){ window.module = window.module || {}; var exports = window.module.exports = {}; "; char suffix[512] = {0}; snprintf(suffix, sizeof(suffix), "\nwindow.module.exports = window.module.exports || exports;\n})('%s'); ", currentScriptFileDir.c_str()); @@ -345,8 +346,8 @@ static bool doModuleRequire(const std::string &path, se::Value *ret, const std:: // RENDERER_LOGD("Evaluate: %s", fullPath.c_str()); - auto se = se::ScriptEngine::getInstance(); - bool succeed = se->evalString(scriptBuffer.c_str(), scriptBuffer.length(), nullptr, reletivePath.c_str()); + auto se = se::ScriptEngine::getInstance(); + bool succeed = se->evalString(scriptBuffer.c_str(), scriptBuffer.length(), nullptr, reletivePath.c_str()); se::Value moduleVal; if (succeed && se->getGlobalObject()->getProperty("module", &moduleVal) && moduleVal.isObject()) { se::Value exportsVal; @@ -374,7 +375,7 @@ static bool doModuleRequire(const std::string &path, se::Value *ret, const std:: static bool moduleRequire(se::State &s) { const auto &args = s.args(); - int argc = (int)args.size(); + int argc = (int)args.size(); assert(argc >= 2); assert(args[0].isString()); assert(args[1].isString()); @@ -404,7 +405,7 @@ static bool jsc_dumpNativePtrToSeObjectMap(se::State &s) { struct NamePtrStruct { const char *name; - void *ptr; + void * ptr; }; std::vector namePtrArray; @@ -414,12 +415,12 @@ static bool jsc_dumpNativePtrToSeObjectMap(se::State &s) { assert(jsobj->_getClass() != nullptr); NamePtrStruct tmp; tmp.name = jsobj->_getClass()->getName(); - tmp.ptr = e.first; + tmp.ptr = e.first; namePtrArray.push_back(tmp); } std::sort(namePtrArray.begin(), namePtrArray.end(), [](const NamePtrStruct &a, const NamePtrStruct &b) -> bool { - std::string left = a.name; + std::string left = a.name; std::string right = b.name; for (std::string::const_iterator lit = left.begin(), rit = right.begin(); lit != left.end() && rit != right.end(); ++lit, ++rit) if (::tolower(*lit) < ::tolower(*rit)) @@ -474,7 +475,7 @@ static bool JSBCore_os(se::State &s) { SE_BIND_FUNC(JSBCore_os) static bool JSBCore_getCurrentLanguage(se::State &s) { - std::string languageStr; + std::string languageStr; Application::LanguageType language = Application::getInstance()->getCurrentLanguage(); switch (language) { case Application::LanguageType::ENGLISH: @@ -566,7 +567,7 @@ SE_BIND_FUNC(JSB_core_restartVM) static bool JSB_isObjectValid(se::State &s) { const auto &args = s.args(); - int argc = (int)args.size(); + int argc = (int)args.size(); if (argc == 1) { void *nativePtr = nullptr; seval_to_native_ptr(args[0], &nativePtr); @@ -581,7 +582,7 @@ SE_BIND_FUNC(JSB_isObjectValid) static bool JSB_setCursorEnabled(se::State &s) { const auto &args = s.args(); - int argc = (int)args.size(); + int argc = (int)args.size(); SE_PRECONDITION2(argc == 1, false, "Invalid number of arguments"); bool ok = true, value = true; ok &= seval_to_boolean(args[0], &value); @@ -594,9 +595,9 @@ SE_BIND_FUNC(JSB_setCursorEnabled) static bool JSB_saveByteCode(se::State &s) { const auto &args = s.args(); - int argc = (int)args.size(); + int argc = (int)args.size(); SE_PRECONDITION2(argc == 2, false, "Invalid number of arguments"); - bool ok = true; + bool ok = true; std::string srcfile; std::string dstfile; ok &= seval_to_std_string(args[0], &srcfile); @@ -625,7 +626,7 @@ static bool getOrCreatePlainObject_r(const char *name, se::Object *parent, se::O } static bool js_performance_now(se::State &s) { - auto now = std::chrono::steady_clock::now(); + auto now = std::chrono::steady_clock::now(); auto micro = std::chrono::duration_cast(now - se::ScriptEngine::getInstance()->getStartTime()).count(); s.rval().setNumber((double)micro * 0.001); return true; @@ -634,19 +635,19 @@ SE_BIND_FUNC(js_performance_now) namespace { struct ImageInfo { - uint32_t length = 0; - uint32_t width = 0; - uint32_t height = 0; - uint8_t *data = nullptr; - cc::gfx::Format format = cc::gfx::Format::UNKNOWN; - bool hasAlpha = false; - bool compressed = false; + uint32_t length = 0; + uint32_t width = 0; + uint32_t height = 0; + uint8_t * data = nullptr; + cc::gfx::Format format = cc::gfx::Format::UNKNOWN; + bool hasAlpha = false; + bool compressed = false; }; uint8_t *convertRGB2RGBA(uint32_t length, uint8_t *src) { uint8_t *dst = reinterpret_cast(malloc(length)); for (uint32_t i = 0; i < length; i += 4) { - dst[i] = *src++; + dst[i] = *src++; dst[i + 1] = *src++; dst[i + 2] = *src++; dst[i + 3] = 255; @@ -657,7 +658,7 @@ uint8_t *convertRGB2RGBA(uint32_t length, uint8_t *src) { uint8_t *convertIA2RGBA(uint32_t length, uint8_t *src) { uint8_t *dst = reinterpret_cast(malloc(length)); for (uint32_t i = 0; i < length; i += 4) { - dst[i] = *src; + dst[i] = *src; dst[i + 1] = *src; dst[i + 2] = *src++; dst[i + 3] = *src++; @@ -668,7 +669,7 @@ uint8_t *convertIA2RGBA(uint32_t length, uint8_t *src) { uint8_t *convertI2RGBA(uint32_t length, uint8_t *src) { uint8_t *dst = reinterpret_cast(malloc(length)); for (uint32_t i = 0; i < length; i += 4) { - dst[i] = *src; + dst[i] = *src; dst[i + 1] = *src; dst[i + 2] = *src++; dst[i + 3] = 255; @@ -678,11 +679,11 @@ uint8_t *convertI2RGBA(uint32_t length, uint8_t *src) { struct ImageInfo *createImageInfo(Image *img) { struct ImageInfo *imgInfo = new struct ImageInfo(); - imgInfo->length = (uint32_t)img->getDataLen(); - imgInfo->width = img->getWidth(); - imgInfo->height = img->getHeight(); + imgInfo->length = (uint32_t)img->getDataLen(); + imgInfo->width = img->getWidth(); + imgInfo->height = img->getHeight(); img->takeData(&imgInfo->data); - imgInfo->format = img->getRenderFormat(); + imgInfo->format = img->getRenderFormat(); imgInfo->compressed = img->isCompressed(); // Convert to RGBA888 because standard web api will return only RGBA888. @@ -692,9 +693,9 @@ struct ImageInfo *createImageInfo(Image *img) { // format, or it will cause 0x502 error on OpenGL ES 2. if (!imgInfo->compressed && imgInfo->format != cc::gfx::Format::RGBA8) { imgInfo->length = img->getWidth() * img->getHeight() * 4; - uint8_t *dst = nullptr; + uint8_t *dst = nullptr; uint32_t length = imgInfo->length; - uint8_t *src = imgInfo->data; + uint8_t *src = imgInfo->data; switch (imgInfo->format) { case cc::gfx::Format::A8: case cc::gfx::Format::LA8: @@ -714,7 +715,7 @@ struct ImageInfo *createImageInfo(Image *img) { } if (dst != imgInfo->data) free(imgInfo->data); - imgInfo->data = dst; + imgInfo->data = dst; imgInfo->hasAlpha = true; } @@ -755,8 +756,8 @@ bool jsb_global_load_image(const std::string &path, const se::Value &callbackVal Application::getInstance()->getScheduler()->performFunctionInCocosThread([=]() { se::AutoHandleScope hs; - se::ValueArray seArgs; - se::Value dataVal; + se::ValueArray seArgs; + se::Value dataVal; if (loadSucceed) { se::HandleObject retObj(se::Object::createPlainObject()); @@ -781,12 +782,12 @@ bool jsb_global_load_image(const std::string &path, const se::Value &callbackVal localDownloaderCreateTask(path, initImageFunc); } else if (path.find("data:") == 0 && (pos = path.find("base64,")) != std::string::npos) { - int imageBytes = 0; - unsigned char *imageData = nullptr; - size_t dataStartPos = pos + strlen("base64,"); - const char *base64Data = path.data() + dataStartPos; - size_t dataLen = path.length() - dataStartPos; - imageBytes = base64Decode((const unsigned char *)base64Data, (unsigned int)dataLen, &imageData); + int imageBytes = 0; + unsigned char *imageData = nullptr; + size_t dataStartPos = pos + strlen("base64,"); + const char * base64Data = path.data() + dataStartPos; + size_t dataLen = path.length() - dataStartPos; + imageBytes = base64Decode((const unsigned char *)base64Data, (unsigned int)dataLen, &imageData); if (imageBytes <= 0 || imageData == nullptr) { SE_REPORT_ERROR("Decode base64 image data failed!"); return false; @@ -807,9 +808,9 @@ bool jsb_global_load_image(const std::string &path, const se::Value &callbackVal } static bool js_loadImage(se::State &s) { - const auto &args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; + const auto & args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; if (argc == 2) { std::string path; ok &= seval_to_std_string(args[0], &path); @@ -827,9 +828,9 @@ static bool js_loadImage(se::State &s) { SE_BIND_FUNC(js_loadImage) static bool js_destroyImage(se::State &s) { - const auto &args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; + const auto & args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; if (argc == 1) { unsigned long data = 0; ok &= seval_to_ulong(args[0], &data); @@ -844,9 +845,9 @@ static bool js_destroyImage(se::State &s) { SE_BIND_FUNC(js_destroyImage) static bool JSB_openURL(se::State &s) { - const auto &args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; + const auto & args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; if (argc > 0) { std::string url; ok = seval_to_std_string(args[0], &url); @@ -861,9 +862,9 @@ static bool JSB_openURL(se::State &s) { SE_BIND_FUNC(JSB_openURL) static bool JSB_copyTextToClipboard(se::State &s) { - const auto &args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; + const auto & args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; if (argc > 0) { std::string text; ok = seval_to_std_string(args[0], &text); @@ -878,9 +879,9 @@ static bool JSB_copyTextToClipboard(se::State &s) { SE_BIND_FUNC(JSB_copyTextToClipboard) static bool JSB_setPreferredFramesPerSecond(se::State &s) { - const auto &args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; + const auto & args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; if (argc > 0) { int32_t fps; ok = seval_to_int32(args[0], &fps); @@ -898,10 +899,10 @@ SE_BIND_FUNC(JSB_setPreferredFramesPerSecond) #if CC_USE_EDITBOX static bool JSB_showInputBox(se::State &s) { const auto &args = s.args(); - size_t argc = args.size(); + size_t argc = args.size(); if (argc == 1) { - bool ok; - se::Value tmp; + bool ok; + se::Value tmp; const auto &obj = args[0].toObject(); cc::EditBox::ShowInfo showInfo; @@ -979,7 +980,7 @@ SE_BIND_FUNC(JSB_hideInputBox) #endif bool jsb_register_global_variables(se::Object *global) { - __threadPool = ThreadPool::newFixedThreadPool(3); + __threadPool = LegacyThreadPool::newFixedThreadPool(3); global->defineFunction("require", _SE(require)); global->defineFunction("requireModule", _SE(moduleRequire)); diff --git a/native/cocos/bindings/manual/jsb_global.h b/native/cocos/bindings/manual/jsb_global.h index 2be2730994..c2e4596f37 100644 --- a/native/cocos/bindings/manual/jsb_global.h +++ b/native/cocos/bindings/manual/jsb_global.h @@ -26,7 +26,7 @@ #pragma once #include "base/memory/Memory.h" -#include "renderer/core/CoreStd.h" +#include "base/CoreStd.h" #include #include #include diff --git a/native/cocos/bindings/manual/jsb_pipeline_manual.cpp b/native/cocos/bindings/manual/jsb_pipeline_manual.cpp index f296baf5c4..2db7174dec 100644 --- a/native/cocos/bindings/manual/jsb_pipeline_manual.cpp +++ b/native/cocos/bindings/manual/jsb_pipeline_manual.cpp @@ -28,7 +28,7 @@ #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_global.h" -#include "renderer/core/gfx/GFXPipelineState.h" +#include "gfx-base/GFXPipelineState.h" #include "renderer/pipeline/Define.h" #include "renderer/pipeline/PipelineStateManager.h" #include "renderer/pipeline/RenderPipeline.h" diff --git a/native/cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp b/native/cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp index 97933e7db8..452d3b1964 100644 --- a/native/cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp +++ b/native/cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp @@ -29,7 +29,7 @@ #include "base/TypeDef.h" #include "base/memory/Memory.h" #include "math/Math.h" -#include "core/gfx/GFXDef.h" +#include "gfx-base/GFXDef.h" using namespace cc; using namespace cc::gfx; diff --git a/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp b/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp index 684f5d3568..6f756de34a 100644 --- a/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp +++ b/native/cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp @@ -29,7 +29,7 @@ #include "dragonbones-creator-support/CCSlot.h" #include "math/Math.h" #include "math/Vec3.h" -#include "core/gfx/GFXDef.h" +#include "gfx-base/GFXDef.h" USING_NS_MW; using namespace cc; diff --git a/native/cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp b/native/cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp index a0979c52b2..02aff79ab9 100644 --- a/native/cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp +++ b/native/cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp @@ -34,7 +34,7 @@ #include "base/TypeDef.h" #include "base/memory/Memory.h" #include "math/Math.h" -#include "core/gfx/GFXDef.h" +#include "gfx-base/GFXDef.h" USING_NS_MW; diff --git a/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp b/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp index 7aa5a5ca59..4fa960efe7 100644 --- a/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp +++ b/native/cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp @@ -35,7 +35,7 @@ #include "base/memory/Memory.h" #include "math/Math.h" #include "math/Vec3.h" -#include "core/gfx/GFXDef.h" +#include "gfx-base/GFXDef.h" #include "spine-creator-support/AttachmentVertices.h" #include "spine-creator-support/spine-cocos2dx.h" #include diff --git a/native/cocos/platform/Image.cpp b/native/cocos/platform/Image.cpp index 6f31e542a3..a486c98741 100644 --- a/native/cocos/platform/Image.cpp +++ b/native/cocos/platform/Image.cpp @@ -36,7 +36,8 @@ #include "base/Data.h" #include "base/Utils.h" -#include "renderer/core/Core.h" +#include "base/CoreStd.h" +#include "gfx-base/GFXDef.h" extern "C" { #if CC_USE_PNG diff --git a/native/cocos/renderer/CMakeLists.txt b/native/cocos/renderer/CMakeLists.txt deleted file mode 100644 index e44ec0af16..0000000000 --- a/native/cocos/renderer/CMakeLists.txt +++ /dev/null @@ -1,25 +0,0 @@ -add_subdirectory(core) - -if(COCOS_PLATFORM_WIN32) - add_subdirectory(gfx-gles-common) - add_subdirectory(gfx-gles2) - add_subdirectory(gfx-gles3) - add_subdirectory(gfx-vulkan) -elseif(COCOS_PLATFORM_IOS) - add_subdirectory(gfx-gles-common) - add_subdirectory(gfx-gles2) - add_subdirectory(gfx-gles3) - add_subdirectory(gfx-metal) - add_subdirectory(gfx-vulkan) -elseif(COCOS_PLATFORM_OSX) - add_subdirectory(gfx-gles-common) - add_subdirectory(gfx-gles2) - add_subdirectory(gfx-gles3) - add_subdirectory(gfx-metal) - add_subdirectory(gfx-vulkan) -elseif(COCOS_PLATFORM_ANDROID) - add_subdirectory(gfx-gles-common) - add_subdirectory(gfx-gles2) - add_subdirectory(gfx-gles3) - add_subdirectory(gfx-vulkan) -endif() diff --git a/native/cocos/renderer/core/CMakeLists.txt b/native/cocos/renderer/core/CMakeLists.txt deleted file mode 100644 index 5bfba1e729..0000000000 --- a/native/cocos/renderer/core/CMakeLists.txt +++ /dev/null @@ -1,177 +0,0 @@ -set(TARGET_NAME Core) - -message(STATUS "Target: ${TARGET_NAME}...") - -# --------------------------------------------- -# set cocos base files - -set(CC_BASE_HEADERS - ${COCOS_SRC_PATH}/base/TypeDef.h - ${COCOS_SRC_PATH}/base/Log.h - ${COCOS_SRC_PATH}/base/Object.h - ${COCOS_SRC_PATH}/base/memory/Memory.h - ${COCOS_SRC_PATH}/math/Math.h -) - -set(CC_BASE_SOURCES - ${COCOS_SRC_PATH}/base/Log.cpp - ${COCOS_SRC_PATH}/base/memory/Memory.cpp - ${COCOS_SRC_PATH}/math/Math.cpp -) - -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/nedmalloc - ${GFX_EXTERNAL_PATH}/tommyds - ${GFX_EXTERNAL_PATH}/concurrentqueue - ${GFX_EXTERNAL_PATH}/taskflow - ${GFX_EXTERNAL_PATH}/tbb/include - ${COCOS_SRC_PATH}/base - ${COCOS_SRC_PATH}/renderer/core -) - -if(COCOS_PLATFORM_WIN32) - list(APPEND INCLUDE_FILES ${GFX_EXTERNAL_PATH}/jemalloc/include-win) - list(APPEND INCLUDE_FILES ${GFX_EXTERNAL_PATH}/jemalloc/include-win/msvc_compat) -else() - list(APPEND INCLUDE_FILES ${GFX_EXTERNAL_PATH}/jemalloc/include-linux) -endif() - -include_directories( ${INCLUDE_FILES} ) - -if(COCOS_PLATFORM_WIN32) -link_libraries( - glu32.lib - opengl32.lib -) -endif() - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h *.hpp) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) -file(GLOB_RECURSE SOURCE_C_FILES *.c) -if(COCOS_PLATFORM_IOS) - file(GLOB_RECURSE SOURCE_MM_FILES *.mm) - file(GLOB_RECURSE SOURCE_M_FILES *.m) -endif() - -macro(GROUP_FILES src_files out_del_files) - set(del_files " ") - set(cur_dir ${CMAKE_CURRENT_SOURCE_DIR}) - foreach(src_file ${${src_files}}) - string(REGEX REPLACE ${cur_dir}/\(.*\) \\1 sgbd_fpath ${src_file}) - string(REGEX REPLACE "\(.*\)/.*" \\1 sgbd_group_name ${sgbd_fpath}) - string(COMPARE EQUAL ${sgbd_fpath} ${sgbd_group_name} sgbd_nogroup) - - string(REPLACE "\\" "/" sgbd_group_name ${sgbd_group_name}) - - if(sgbd_nogroup) - set(sgbd_group_name "/") - endif(sgbd_nogroup) - - set(SRC_OK TRUE) - if(src_file MATCHES ".*Win32/.*") - if(NOT COCOS_PLATFORM_WIN32) - set(SRC_OK FALSE) - endif() - elseif(src_file MATCHES ".*Android/.*") - if(NOT COCOS_PLATFORM_ANDROID) - set(SRC_OK FALSE) - endif() - elseif(src_file MATCHES ".*iOS/.*") - if(NOT COCOS_PLATFORM_IOS) - set(SRC_OK FALSE) - endif() - endif() - - if(SRC_OK) - #if(${COCOS_PLATFORM_WIN32}) - string(REPLACE "/" "\\" sgbd_group_name ${sgbd_group_name}) - #endif() - source_group(${sgbd_group_name} FILES ${src_file}) - else() - set(del_files ${del_files} ${src_file}) - endif() - - endforeach(src_file) - - set(${out_del_files} ${del_files}) -endmacro(GROUP_FILES) - -set(ALL_FILES - ${CC_BASE_HEADERS} - ${CC_BASE_SOURCES} - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} -) -if(COCOS_PLATFORM_IOS) - set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) - set(ALL_FILES ${ALL_FILES} ${SOURCE_M_FILES}) -endif() - -GROUP_FILES(ALL_FILES DEL_FILES) - -foreach(del_file ${DEL_FILES}) - list(REMOVE_ITEM ALL_FILES ${del_file}) - list(REMOVE_ITEM SOURCE_CPP_FILES ${del_file}) - list(REMOVE_ITEM SOURCE_C_FILES ${del_file}) - list(REMOVE_ITEM HEADER_FILES ${del_file}) -endforeach(del_file) - -# --------------------------------------------------------------------- - -add_definitions("-DCC_CORE_EXPORTS") -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${CC_BASE_HEADERS} ${CC_BASE_SOURCES} ${HEADER_FILES} ${SOURCE_CPP_FILES} ${SOURCE_C_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${CC_BASE_HEADERS} ${CC_BASE_SOURCES} ${HEADER_FILES} ${SOURCE_CPP_FILES} ${SOURCE_C_FILES}) -endif() - -if (COCOS_PLATFORM_WIN32) - target_link_libraries(${TARGET_NAME} ${COCOS_EXTERNAL_TARGETS} Winmm.lib) -else() - target_link_libraries(${TARGET_NAME} ${COCOS_EXTERNAL_TARGETS}) -endif() -target_link_libraries(${TARGET_NAME} TBBJobSystem TFJobSystem Threading) -target_compile_definitions(${TARGET_NAME} PRIVATE ${CC_EXTERNAL_PRIVATE_DEFINITIONS}) - -if(MSVC) - set_property(TARGET ${TARGET_NAME} PROPERTY LINK_FLAGS "/SUBSYSTEM:WINDOWS") - target_compile_options(${TARGET_NAME} PUBLIC /MP) - target_link_directories(${TARGET_NAME} PUBLIC ${COCOS_EXTERNAL_PATH}/win32/libs) -endif() - -set(COCOS_EXTERNAL_INCLUDE_PATH) -if(COCOS_PLATFORM_WIN32) - set(COCOS_EXTERNAL_INCLUDE_PATH ${COCOS_EXTERNAL_INCLUDE_PATH} ${COCOS_EXTERNAL_PATH}/win32/include) -elseif(COCOS_PLATFORM_IOS) - # set(COCOS_EXTERNAL_INCLUDE_PATH ${COCOS_EXTERNAL_PATH}/ios/include) -endif() - - -target_include_directories(${TARGET_NAME} PUBLIC - ${COCOS_SRC_PATH}/renderer - ${COCOS_SRC_PATH} - ${COCOS_SRC_PATH}/.. - ${COCOS_SRC_PATH}/base - ${COCOS_EXTERNAL_INCLUDE_PATH} -) - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCCore) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCCore_d) - -use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/CoreStd.h" "${CMAKE_CURRENT_SOURCE_DIR}/CoreStd.cpp" SOURCE_CPP_FILES) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/renderer/core/gfx-agent/GFXAgent.h b/native/cocos/renderer/gfx-agent/GFXAgent.h similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXAgent.h rename to native/cocos/renderer/gfx-agent/GFXAgent.h index c945896d7d..78578b9823 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXAgent.h @@ -23,36 +23,37 @@ THE SOFTWARE. ****************************************************************************/ -#pragma once - -#include - -namespace cc { -namespace gfx { - -template -class CC_DLL Agent : public Actor { -public: - Agent() noexcept = delete; - - Agent(Actor *const actor, Device *const device) noexcept - : Actor(device), _actor(actor) {} - - ~Agent() override {} - - Agent(Agent const &) = delete; - - Agent(Agent &&) = delete; - - Agent &operator=(Agent const &) = delete; - - Agent &operator=(Agent &&) = delete; - - inline Actor *getActor() const noexcept { return _actor; } - -protected: - Actor *_actor{nullptr}; -}; - -} // namespace gfx -} // namespace cc +#pragma once + +#include +#include "gfx-base/GFXDevice.h" + +namespace cc { +namespace gfx { + +template +class CC_DLL Agent : public Actor { +public: + Agent() noexcept = delete; + + Agent(Actor *const actor, Device *const device) noexcept + : Actor(device), _actor(actor) {} + + ~Agent() override {} + + Agent(Agent const &) = delete; + + Agent(Agent &&) = delete; + + Agent &operator=(Agent const &) = delete; + + Agent &operator=(Agent &&) = delete; + + inline Actor *getActor() const noexcept { return _actor; } + +protected: + Actor *_actor{nullptr}; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/gfx-agent/GFXBufferAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXBufferAgent.cpp index 51454efcc2..60c7a54f69 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXBufferAgent.cpp @@ -23,9 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" - +#include "base/CoreStd.h" #include "base/threading/MessageQueue.h" + #include "GFXBufferAgent.h" #include "GFXDeviceAgent.h" #include "GFXLinearAllocatorPool.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h b/native/cocos/renderer/gfx-agent/GFXBufferAgent.h similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h rename to native/cocos/renderer/gfx-agent/GFXBufferAgent.h index fc5d466718..d20071be72 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXBufferAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXBufferAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXBuffer.h" +#include "gfx-base/GFXBuffer.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp index 6ccca93bac..bbb63e5e28 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp @@ -23,7 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" +#include "base/job-system/JobSystem.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" @@ -36,8 +38,6 @@ #include "GFXQueueAgent.h" #include "GFXRenderPassAgent.h" #include "GFXTextureAgent.h" -#include "base/job-system/JobSystem.h" -#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.h similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h rename to native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.h index 14508ee995..2b993839fd 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXCommandBuffer.h" +#include "gfx-base/GFXCommandBuffer.h" namespace cc { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp index 4cdaf46583..7b9b6ad132 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp @@ -23,7 +23,8 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXDescriptorSetAgent.h" @@ -31,7 +32,6 @@ #include "GFXDeviceAgent.h" #include "GFXSamplerAgent.h" #include "GFXTextureAgent.h" -#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h b/native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h rename to native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h index 440d94d6f6..3fd75cc7c2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXDescriptorSet.h" +#include "gfx-base/GFXDescriptorSet.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp b/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp index fccbd3aef8..d965919fd2 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp @@ -23,9 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" - +#include "base/CoreStd.h" #include "base/threading/MessageQueue.h" + #include "GFXDeviceAgent.h" #include "GFXDescriptorSetLayoutAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h b/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h similarity index 97% rename from native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h rename to native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h index 575afd3924..bfc9cbdc0c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDescriptorSetLayoutAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXDescriptorSetLayout.h" +#include "gfx-base/GFXDescriptorSetLayout.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp index e4aa5c5896..e20a03b812 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp @@ -23,7 +23,8 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" #include "GFXBufferAgent.h" #include "GFXCommandBufferAgent.h" @@ -40,7 +41,6 @@ #include "GFXSamplerAgent.h" #include "GFXShaderAgent.h" #include "GFXTextureAgent.h" -#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/gfx-agent/GFXDeviceAgent.h similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h rename to native/cocos/renderer/gfx-agent/GFXDeviceAgent.h index f4b5fa5607..a8d0936651 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXDeviceAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "../gfx/GFXDevice.h" +#include "gfx-base/GFXDevice.h" #include "GFXAgent.h" #include "base/threading/Semaphore.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp b/native/cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp index d244fadce9..fbb1ac454a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp @@ -23,9 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" - +#include "base/CoreStd.h" #include "base/threading/MessageQueue.h" + #include "GFXDeviceAgent.h" #include "GFXFramebufferAgent.h" #include "GFXRenderPassAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h b/native/cocos/renderer/gfx-agent/GFXFramebufferAgent.h similarity index 97% rename from native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h rename to native/cocos/renderer/gfx-agent/GFXFramebufferAgent.h index aeb3931a33..fba9bc69a7 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXFramebufferAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXFramebufferAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXFramebuffer.h" +#include "gfx-base/GFXFramebuffer.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp index ca2a5d3474..3c86ec9a7c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp @@ -23,9 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" - +#include "base/CoreStd.h" #include "base/threading/MessageQueue.h" + #include "GFXBufferAgent.h" #include "GFXDeviceAgent.h" #include "GFXInputAssemblerAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h b/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h rename to native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h index 50ffb27f17..6443694e0b 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXInputAssemblerAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXInputAssembler.h" +#include "gfx-base/GFXInputAssembler.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h b/native/cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h similarity index 100% rename from native/cocos/renderer/core/gfx-agent/GFXLinearAllocatorPool.h rename to native/cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp b/native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp index 27020b23f9..1b6d856c97 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp @@ -23,9 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" - +#include "base/CoreStd.h" #include "base/threading/MessageQueue.h" + #include "GFXDescriptorSetLayoutAgent.h" #include "GFXDeviceAgent.h" #include "GFXPipelineLayoutAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h b/native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h similarity index 97% rename from native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h rename to native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h index 67c5a47f5c..ad17b7cfe4 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineLayoutAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXPipelineLayout.h" +#include "gfx-base/GFXPipelineLayout.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp similarity index 99% rename from native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp index e98ce30c2e..7536ea8ef8 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp @@ -23,9 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" - +#include "base/CoreStd.h" #include "base/threading/MessageQueue.h" + #include "GFXDeviceAgent.h" #include "GFXPipelineLayoutAgent.h" #include "GFXPipelineStateAgent.h" diff --git a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h b/native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.h similarity index 97% rename from native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h rename to native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.h index 16bb32b0de..cab709f257 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXPipelineStateAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXPipelineState.h" +#include "gfx-base/GFXPipelineState.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/gfx-agent/GFXQueueAgent.cpp similarity index 94% rename from native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXQueueAgent.cpp index acd7453d03..5b295b932a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXQueueAgent.cpp @@ -23,14 +23,14 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "base/job-system/JobSystem.h" +#include "base/threading/MessageQueue.h" #include "GFXCommandBufferAgent.h" #include "GFXDeviceAgent.h" #include "GFXLinearAllocatorPool.h" #include "GFXQueueAgent.h" -#include "base/job-system/JobSystem.h" -#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { @@ -73,8 +73,8 @@ void QueueAgent::destroy() { void QueueAgent::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!count) return; - LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); - CommandBuffer **actorCmdBuffs = allocator->allocate(count); + LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); + CommandBuffer ** actorCmdBuffs = allocator->allocate(count); for (uint i = 0u; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } diff --git a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h b/native/cocos/renderer/gfx-agent/GFXQueueAgent.h similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h rename to native/cocos/renderer/gfx-agent/GFXQueueAgent.h index 44048fa5d4..7290f1d9c8 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXQueueAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXQueueAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "../gfx/GFXQueue.h" +#include "gfx-base/GFXQueue.h" #include "GFXAgent.h" namespace cc { diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp index 295bb6674c..b49d7d0f1a 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp @@ -23,11 +23,11 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXRenderPassAgent.h" -#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h b/native/cocos/renderer/gfx-agent/GFXRenderPassAgent.h similarity index 97% rename from native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h rename to native/cocos/renderer/gfx-agent/GFXRenderPassAgent.h index 2a182e9fb9..e306cefd5c 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXRenderPassAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXRenderPassAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "../gfx/GFXRenderPass.h" +#include "gfx-base/GFXRenderPass.h" #include "GFXAgent.h" namespace cc { diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp b/native/cocos/renderer/gfx-agent/GFXSamplerAgent.cpp similarity index 86% rename from native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXSamplerAgent.cpp index 98218767e4..6ca1d15a86 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXSamplerAgent.cpp @@ -23,9 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" - +#include "base/CoreStd.h" #include "base/threading/MessageQueue.h" + #include "GFXDescriptorSetLayoutAgent.h" #include "GFXDeviceAgent.h" #include "GFXSamplerAgent.h" @@ -45,16 +45,16 @@ SamplerAgent::~SamplerAgent() { bool SamplerAgent::initialize(const SamplerInfo &info) { - _minFilter = info.minFilter; - _magFilter = info.magFilter; - _mipFilter = info.mipFilter; - _addressU = info.addressU; - _addressV = info.addressV; - _addressW = info.addressW; + _minFilter = info.minFilter; + _magFilter = info.magFilter; + _mipFilter = info.mipFilter; + _addressU = info.addressU; + _addressV = info.addressV; + _addressW = info.addressW; _maxAnisotropy = info.maxAnisotropy; - _cmpFunc = info.cmpFunc; - _borderColor = info.borderColor; - _mipLODBias = info.mipLODBias; + _cmpFunc = info.cmpFunc; + _borderColor = info.borderColor; + _mipLODBias = info.mipLODBias; ENQUEUE_MESSAGE_2( ((DeviceAgent *)_device)->getMessageQueue(), diff --git a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h b/native/cocos/renderer/gfx-agent/GFXSamplerAgent.h similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h rename to native/cocos/renderer/gfx-agent/GFXSamplerAgent.h index 997b614b80..e630a4c89f 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXSamplerAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXSamplerAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXSampler.h" +#include "gfx-base/GFXSampler.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/gfx-agent/GFXShaderAgent.cpp similarity index 86% rename from native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXShaderAgent.cpp index 95d14e83d1..e5b1dad4d7 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXShaderAgent.cpp @@ -23,11 +23,11 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" #include "GFXDeviceAgent.h" #include "GFXShaderAgent.h" -#include "base/threading/MessageQueue.h" namespace cc { namespace gfx { @@ -43,16 +43,16 @@ ShaderAgent::~ShaderAgent() { } bool ShaderAgent::initialize(const ShaderInfo &info) { - _name = info.name; - _stages = info.stages; - _attributes = info.attributes; - _blocks = info.blocks; - _buffers = info.buffers; + _name = info.name; + _stages = info.stages; + _attributes = info.attributes; + _blocks = info.blocks; + _buffers = info.buffers; _samplerTextures = info.samplerTextures; - _samplers = info.samplers; - _textures = info.textures; - _images = info.images; - _subpassInputs = info.subpassInputs; + _samplers = info.samplers; + _textures = info.textures; + _images = info.images; + _subpassInputs = info.subpassInputs; ENQUEUE_MESSAGE_2( ((DeviceAgent *)_device)->getMessageQueue(), diff --git a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h b/native/cocos/renderer/gfx-agent/GFXShaderAgent.h similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h rename to native/cocos/renderer/gfx-agent/GFXShaderAgent.h index 6a2eb507ef..955bf48640 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXShaderAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXShaderAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXShader.h" +#include "gfx-base/GFXShader.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp b/native/cocos/renderer/gfx-agent/GFXTextureAgent.cpp similarity index 75% rename from native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp rename to native/cocos/renderer/gfx-agent/GFXTextureAgent.cpp index 57e044b53a..112be7f0d5 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXTextureAgent.cpp @@ -23,11 +23,11 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" - +#include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXTextureAgent.h" + #include "GFXDeviceAgent.h" +#include "GFXTextureAgent.h" namespace cc { namespace gfx { @@ -43,20 +43,20 @@ TextureAgent::~TextureAgent() { } bool TextureAgent::initialize(const TextureInfo &info) { - _type = info.type; - _usage = info.usage; - _format = info.format; - _width = info.width; - _height = info.height; - _depth = info.depth; + _type = info.type; + _usage = info.usage; + _format = info.format; + _width = info.width; + _height = info.height; + _depth = info.depth; _layerCount = info.layerCount; _levelCount = info.levelCount; - _samples = info.samples; - _flags = info.flags; - _size = FormatSize(_format, _width, _height, _depth); + _samples = info.samples; + _flags = info.flags; + _size = FormatSize(_format, _width, _height, _depth); ENQUEUE_MESSAGE_2( - ((DeviceAgent*)_device)->getMessageQueue(), + ((DeviceAgent *)_device)->getMessageQueue(), TextureInit, actor, getActor(), info, info, @@ -74,22 +74,22 @@ bool TextureAgent::initialize(const TextureViewInfo &info) { return false; } - _type = info.texture->getType(); - _format = info.format; - _baseLayer = info.baseLayer; + _type = info.texture->getType(); + _format = info.format; + _baseLayer = info.baseLayer; _layerCount = info.layerCount; - _baseLevel = info.baseLevel; + _baseLevel = info.baseLevel; _levelCount = info.levelCount; - _usage = info.texture->getUsage(); - _width = info.texture->getWidth(); - _height = info.texture->getHeight(); - _depth = info.texture->getDepth(); - _samples = info.texture->getSamples(); - _flags = info.texture->getFlags(); - _size = FormatSize(_format, _width, _height, _depth); + _usage = info.texture->getUsage(); + _width = info.texture->getWidth(); + _height = info.texture->getHeight(); + _depth = info.texture->getDepth(); + _samples = info.texture->getSamples(); + _flags = info.texture->getFlags(); + _size = FormatSize(_format, _width, _height, _depth); ENQUEUE_MESSAGE_2( - ((DeviceAgent*)_device)->getMessageQueue(), + ((DeviceAgent *)_device)->getMessageQueue(), TextureViewInit, actor, getActor(), info, info, @@ -112,7 +112,7 @@ void TextureAgent::destroy() { void TextureAgent::resize(uint width, uint height) { ENQUEUE_MESSAGE_3( - ((DeviceAgent*)_device)->getMessageQueue(), + ((DeviceAgent *)_device)->getMessageQueue(), TextureResize, actor, getActor(), width, width, diff --git a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h b/native/cocos/renderer/gfx-agent/GFXTextureAgent.h similarity index 98% rename from native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h rename to native/cocos/renderer/gfx-agent/GFXTextureAgent.h index b820f0ec0a..66aaf69157 100644 --- a/native/cocos/renderer/core/gfx-agent/GFXTextureAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXTextureAgent.h @@ -26,7 +26,7 @@ #pragma once #include "GFXAgent.h" -#include "../gfx/GFXTexture.h" +#include "gfx-base/GFXTexture.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/Core.h b/native/cocos/renderer/gfx-base/GFXBase.h similarity index 69% rename from native/cocos/renderer/core/Core.h rename to native/cocos/renderer/gfx-base/GFXBase.h index 05e537e644..794be08aa9 100644 --- a/native/cocos/renderer/core/Core.h +++ b/native/cocos/renderer/gfx-base/GFXBase.h @@ -25,25 +25,20 @@ #pragma once -#include "CoreStd.h" - -#include "base/CachedArray.h" -#include "base/StringUtil.h" - -#include "gfx/GFXBuffer.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXContext.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDescriptorSetLayout.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXGlobalBarrier.h" -#include "gfx/GFXTextureBarrier.h" -#include "gfx/GFXInputAssembler.h" -#include "gfx/GFXPipelineLayout.h" -#include "gfx/GFXPipelineState.h" -#include "gfx/GFXQueue.h" -#include "gfx/GFXRenderPass.h" -#include "gfx/GFXSampler.h" -#include "gfx/GFXShader.h" -#include "gfx/GFXTexture.h" +#include "GFXBuffer.h" +#include "GFXCommandBuffer.h" +#include "GFXContext.h" +#include "GFXDescriptorSet.h" +#include "GFXDescriptorSetLayout.h" +#include "GFXDevice.h" +#include "GFXFramebuffer.h" +#include "GFXGlobalBarrier.h" +#include "GFXInputAssembler.h" +#include "GFXPipelineLayout.h" +#include "GFXPipelineState.h" +#include "GFXQueue.h" +#include "GFXRenderPass.h" +#include "GFXSampler.h" +#include "GFXShader.h" +#include "GFXTexture.h" +#include "GFXTextureBarrier.h" diff --git a/native/cocos/renderer/core/gfx/GFXBuffer.cpp b/native/cocos/renderer/gfx-base/GFXBuffer.cpp old mode 100755 new mode 100644 similarity index 93% rename from native/cocos/renderer/core/gfx/GFXBuffer.cpp rename to native/cocos/renderer/gfx-base/GFXBuffer.cpp index e281bb6f26..373dcb9e38 --- a/native/cocos/renderer/core/gfx/GFXBuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXBuffer.cpp @@ -23,15 +23,17 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXBuffer.h" +#include "GFXObject.h" namespace cc { namespace gfx { Buffer::Buffer(Device *device) -: GFXObject(ObjectType::BUFFER), _device(device) { +: GFXObject(ObjectType::BUFFER), + _device(device) { } Buffer::~Buffer() { diff --git a/native/cocos/renderer/core/gfx/GFXBuffer.h b/native/cocos/renderer/gfx-base/GFXBuffer.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXBuffer.h rename to native/cocos/renderer/gfx-base/GFXBuffer.h index de0f08ddbc..fc5244f0db --- a/native/cocos/renderer/core/gfx/GFXBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXBuffer.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_BUFFER_H_ #define CC_CORE_GFX_BUFFER_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.cpp b/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp old mode 100755 new mode 100644 similarity index 93% rename from native/cocos/renderer/core/gfx/GFXCommandBuffer.cpp rename to native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp index f712805159..fba6440ae1 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp @@ -23,15 +23,17 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXCommandBuffer.h" +#include "GFXObject.h" namespace cc { namespace gfx { CommandBuffer::CommandBuffer(Device *device) -: GFXObject(ObjectType::COMMAND_BUFFER), _device(device) { +: GFXObject(ObjectType::COMMAND_BUFFER), + _device(device) { } CommandBuffer::~CommandBuffer() { diff --git a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXCommandBuffer.h rename to native/cocos/renderer/gfx-base/GFXCommandBuffer.h index a5c10ee624..1b11946363 --- a/native/cocos/renderer/core/gfx/GFXCommandBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_COMMAND_BUFFER_H_ #define CC_CORE_GFX_COMMAND_BUFFER_H_ -#include "GFXDef.h" +#include "GFXObject.h" #include "GFXBuffer.h" namespace cc { diff --git a/native/cocos/renderer/core/gfx/GFXContext.cpp b/native/cocos/renderer/gfx-base/GFXContext.cpp old mode 100755 new mode 100644 similarity index 98% rename from native/cocos/renderer/core/gfx/GFXContext.cpp rename to native/cocos/renderer/gfx-base/GFXContext.cpp index 868aca0a6f..fc2e307d3f --- a/native/cocos/renderer/core/gfx/GFXContext.cpp +++ b/native/cocos/renderer/gfx-base/GFXContext.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXContext.h" diff --git a/native/cocos/renderer/core/gfx/GFXContext.h b/native/cocos/renderer/gfx-base/GFXContext.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXContext.h rename to native/cocos/renderer/gfx-base/GFXContext.h index 23628b65a7..3755b2602b --- a/native/cocos/renderer/core/gfx/GFXContext.h +++ b/native/cocos/renderer/gfx-base/GFXContext.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_CONTEXT_H_ #define CC_CORE_GFX_CONTEXT_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h similarity index 96% rename from native/cocos/renderer/core/gfx/GFXDef-common.h rename to native/cocos/renderer/gfx-base/GFXDef-common.h index 4c9a2c4195..cd7ed1b016 100644 --- a/native/cocos/renderer/core/gfx/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -26,6 +26,10 @@ #ifndef CC_CORE_GFX_DEF_COMMON_H_ #define CC_CORE_GFX_DEF_COMMON_H_ +#include "base/TypeDef.h" +#include "base/memory/Memory.h" +#include "math/Math.h" + /** * This file should be synced with engine/cocos/core/gfx/base/define.ts * every time changes being made, by manually running: @@ -68,8 +72,8 @@ class Window; class Context; using TextureBarrierList = vector; -using BufferDataList = vector; -using CommandBufferList = vector; +using BufferDataList = vector; +using CommandBufferList = vector; #define GFX_MAX_ATTACHMENTS 4 #define GFX_INVALID_BINDING ((uint)-1) @@ -849,7 +853,7 @@ using ColorList = vector; struct BindingMappingInfo { std::vector bufferOffsets; std::vector samplerOffsets; - uint flexibleSet = 0u; + uint flexibleSet = 0u; }; struct BufferInfo { @@ -1045,10 +1049,10 @@ struct InputAssemblerInfo { }; struct ColorAttachment { - Format format = Format::UNKNOWN; - SampleCount sampleCount = SampleCount::X1; - LoadOp loadOp = LoadOp::CLEAR; - StoreOp storeOp = StoreOp::STORE; + Format format = Format::UNKNOWN; + SampleCount sampleCount = SampleCount::X1; + LoadOp loadOp = LoadOp::CLEAR; + StoreOp storeOp = StoreOp::STORE; std::vector beginAccesses; std::vector endAccesses{AccessType::PRESENT}; }; @@ -1056,12 +1060,12 @@ struct ColorAttachment { using ColorAttachmentList = vector; struct DepthStencilAttachment { - Format format = Format::UNKNOWN; - SampleCount sampleCount = SampleCount::X1; - LoadOp depthLoadOp = LoadOp::CLEAR; - StoreOp depthStoreOp = StoreOp::STORE; - LoadOp stencilLoadOp = LoadOp::CLEAR; - StoreOp stencilStoreOp = StoreOp::STORE; + Format format = Format::UNKNOWN; + SampleCount sampleCount = SampleCount::X1; + LoadOp depthLoadOp = LoadOp::CLEAR; + StoreOp depthStoreOp = StoreOp::STORE; + LoadOp stencilLoadOp = LoadOp::CLEAR; + StoreOp stencilStoreOp = StoreOp::STORE; std::vector beginAccesses; std::vector endAccesses{AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; }; @@ -1071,7 +1075,7 @@ struct SubpassInfo { std::vector colors; std::vector resolves; std::vector preserves; - uint depthStencil = GFX_INVALID_BINDING; + uint depthStencil = GFX_INVALID_BINDING; }; using SubpassInfoList = vector; @@ -1100,11 +1104,11 @@ struct TextureBarrierInfo { using TextureBarrierInfoList = vector; struct FramebufferInfo { - RenderPass * renderPass = nullptr; - TextureList colorTextures; // @ts-overrides { type: '(Texture | null)[]' } - Texture * depthStencilTexture = nullptr; // @ts-nullable + RenderPass * renderPass = nullptr; + TextureList colorTextures; // @ts-overrides { type: '(Texture | null)[]' } + Texture * depthStencilTexture = nullptr; // @ts-nullable std::vector colorMipmapLevels; - uint depthStencilMipmapLevel = 0; + uint depthStencilMipmapLevel = 0; }; struct DescriptorSetLayoutBinding { diff --git a/native/cocos/renderer/core/gfx/GFXDef.cpp b/native/cocos/renderer/gfx-base/GFXDef.cpp similarity index 99% rename from native/cocos/renderer/core/gfx/GFXDef.cpp rename to native/cocos/renderer/gfx-base/GFXDef.cpp index aea04101aa..674b171416 100644 --- a/native/cocos/renderer/core/gfx/GFXDef.cpp +++ b/native/cocos/renderer/gfx-base/GFXDef.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXDef.h" diff --git a/native/cocos/renderer/core/gfx/GFXDef.h b/native/cocos/renderer/gfx-base/GFXDef.h similarity index 100% rename from native/cocos/renderer/core/gfx/GFXDef.h rename to native/cocos/renderer/gfx-base/GFXDef.h diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp similarity index 86% rename from native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp rename to native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp index e0910b246a..48f8f3d48b 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp @@ -23,24 +23,26 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXDescriptorSet.h" #include "GFXDescriptorSetLayout.h" +#include "GFXObject.h" namespace cc { namespace gfx { DescriptorSet::DescriptorSet(Device *device) -: GFXObject(ObjectType::DESCRIPTOR_SET), _device(device) { +: GFXObject(ObjectType::DESCRIPTOR_SET), + _device(device) { } DescriptorSet::~DescriptorSet() { } void DescriptorSet::bindBuffer(uint binding, Buffer *buffer, uint index) { - const vector &bindingIndices = _layout->getBindingIndices(); - const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); + const vector & bindingIndices = _layout->getBindingIndices(); + const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; @@ -48,7 +50,7 @@ void DescriptorSet::bindBuffer(uint binding, Buffer *buffer, uint index) { const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; if (_buffers[descriptorIndex + index] != buffer) { _buffers[descriptorIndex + index] = buffer; - _isDirty = true; + _isDirty = true; } } else { CCASSERT(false, "Setting binding is not DESCRIPTOR_BUFFER_TYPE."); @@ -56,8 +58,8 @@ void DescriptorSet::bindBuffer(uint binding, Buffer *buffer, uint index) { } void DescriptorSet::bindTexture(uint binding, Texture *texture, uint index) { - const vector &bindingIndices = _layout->getBindingIndices(); - const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); + const vector & bindingIndices = _layout->getBindingIndices(); + const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; @@ -65,7 +67,7 @@ void DescriptorSet::bindTexture(uint binding, Texture *texture, uint index) { const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; if (_textures[descriptorIndex + index] != texture) { _textures[descriptorIndex + index] = texture; - _isDirty = true; + _isDirty = true; } } else { CCASSERT(false, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE."); @@ -73,8 +75,8 @@ void DescriptorSet::bindTexture(uint binding, Texture *texture, uint index) { } void DescriptorSet::bindSampler(uint binding, Sampler *sampler, uint index) { - const vector &bindingIndices = _layout->getBindingIndices(); - const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); + const vector & bindingIndices = _layout->getBindingIndices(); + const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; @@ -82,7 +84,7 @@ void DescriptorSet::bindSampler(uint binding, Sampler *sampler, uint index) { const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; if (_samplers[descriptorIndex + index] != sampler) { _samplers[descriptorIndex + index] = sampler; - _isDirty = true; + _isDirty = true; } } else { CCASSERT(false, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE."); diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSet.h b/native/cocos/renderer/gfx-base/GFXDescriptorSet.h similarity index 99% rename from native/cocos/renderer/core/gfx/GFXDescriptorSet.h rename to native/cocos/renderer/gfx-base/GFXDescriptorSet.h index 9f95155276..aff044ebb5 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSet.h +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSet.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_DESCRIPTOR_SET_H_ #define CC_CORE_GFX_DESCRIPTOR_SET_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp similarity index 97% rename from native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp rename to native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp index aa31afa593..8202345d37 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp @@ -23,7 +23,8 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "GFXObject.h" +#include "base/CoreStd.h" #include "GFXDescriptorSetLayout.h" diff --git a/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.h b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.h similarity index 99% rename from native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.h rename to native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.h index 4cea28462f..2aa3738e5f 100644 --- a/native/cocos/renderer/core/gfx/GFXDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_DESCRIPTOR_SET_LAYOUT_H_ #define CC_CORE_GFX_DESCRIPTOR_SET_LAYOUT_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXDevice.cpp b/native/cocos/renderer/gfx-base/GFXDevice.cpp old mode 100755 new mode 100644 similarity index 98% rename from native/cocos/renderer/core/gfx/GFXDevice.cpp rename to native/cocos/renderer/gfx-base/GFXDevice.cpp index aa64e587d5..e31825d2b4 --- a/native/cocos/renderer/core/gfx/GFXDevice.cpp +++ b/native/cocos/renderer/gfx-base/GFXDevice.cpp @@ -23,10 +23,11 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXContext.h" #include "GFXDevice.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXDevice.h b/native/cocos/renderer/gfx-base/GFXDevice.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXDevice.h rename to native/cocos/renderer/gfx-base/GFXDevice.h index ccbe912078..066d85a1f4 --- a/native/cocos/renderer/core/gfx/GFXDevice.h +++ b/native/cocos/renderer/gfx-base/GFXDevice.h @@ -28,7 +28,7 @@ #include "GFXBuffer.h" #include "GFXCommandBuffer.h" -#include "GFXDef.h" +#include "GFXObject.h" #include "GFXDescriptorSet.h" #include "GFXDescriptorSetLayout.h" #include "GFXFramebuffer.h" diff --git a/native/cocos/renderer/core/gfx/GFXFramebuffer.cpp b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp old mode 100755 new mode 100644 similarity index 93% rename from native/cocos/renderer/core/gfx/GFXFramebuffer.cpp rename to native/cocos/renderer/gfx-base/GFXFramebuffer.cpp index 6ebac8a42a..25f92d50d1 --- a/native/cocos/renderer/core/gfx/GFXFramebuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp @@ -23,15 +23,17 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXFramebuffer.h" +#include "GFXObject.h" namespace cc { namespace gfx { Framebuffer::Framebuffer(Device *device) -: GFXObject(ObjectType::FRAMEBUFFER), _device(device) { +: GFXObject(ObjectType::FRAMEBUFFER), + _device(device) { } Framebuffer::~Framebuffer() { diff --git a/native/cocos/renderer/core/gfx/GFXFramebuffer.h b/native/cocos/renderer/gfx-base/GFXFramebuffer.h old mode 100755 new mode 100644 similarity index 98% rename from native/cocos/renderer/core/gfx/GFXFramebuffer.h rename to native/cocos/renderer/gfx-base/GFXFramebuffer.h index 19f6a52e74..62ba7b5166 --- a/native/cocos/renderer/core/gfx/GFXFramebuffer.h +++ b/native/cocos/renderer/gfx-base/GFXFramebuffer.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_FRAME_BUFFER_H_ #define CC_CORE_GFX_FRAME_BUFFER_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp similarity index 91% rename from native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp rename to native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp index 35d683fd24..986c21ed4b 100644 --- a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp @@ -23,21 +23,23 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXGlobalBarrier.h" +#include "GFXObject.h" namespace cc { namespace gfx { GlobalBarrier::GlobalBarrier(Device *device) -: GFXObject(ObjectType::GLOBAL_BARRIER), _device(device) { +: GFXObject(ObjectType::GLOBAL_BARRIER), + _device(device) { } GlobalBarrier::~GlobalBarrier() { } -uint GlobalBarrier::computeHash(const GlobalBarrierInfo& info) { +uint GlobalBarrier::computeHash(const GlobalBarrierInfo &info) { uint seed = info.prevAccesses.size() + info.nextAccesses.size(); for (const AccessType type : info.prevAccesses) { diff --git a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h similarity index 98% rename from native/cocos/renderer/core/gfx/GFXGlobalBarrier.h rename to native/cocos/renderer/gfx-base/GFXGlobalBarrier.h index 3def23259d..aef7af4168 100644 --- a/native/cocos/renderer/core/gfx/GFXGlobalBarrier.h +++ b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_GLOBAL_BARRIER_H_ #define CC_CORE_GFX_GLOBAL_BARRIER_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXInputAssembler.cpp b/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp old mode 100755 new mode 100644 similarity index 98% rename from native/cocos/renderer/core/gfx/GFXInputAssembler.cpp rename to native/cocos/renderer/gfx-base/GFXInputAssembler.cpp index 30294fa15f..c83b27995d --- a/native/cocos/renderer/core/gfx/GFXInputAssembler.cpp +++ b/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp @@ -23,8 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "GFXObject.h" #include "GFXInputAssembler.h" namespace cc { diff --git a/native/cocos/renderer/core/gfx/GFXInputAssembler.h b/native/cocos/renderer/gfx-base/GFXInputAssembler.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXInputAssembler.h rename to native/cocos/renderer/gfx-base/GFXInputAssembler.h index 09f58decee..bfba8e9146 --- a/native/cocos/renderer/core/gfx/GFXInputAssembler.h +++ b/native/cocos/renderer/gfx-base/GFXInputAssembler.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_INPUT_ASSEMBLER_H_ #define CC_CORE_GFX_INPUT_ASSEMBLER_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXObject.cpp b/native/cocos/renderer/gfx-base/GFXObject.cpp similarity index 98% rename from native/cocos/renderer/core/gfx/GFXObject.cpp rename to native/cocos/renderer/gfx-base/GFXObject.cpp index dce7a7b3f7..05aaf6d17f 100644 --- a/native/cocos/renderer/core/gfx/GFXObject.cpp +++ b/native/cocos/renderer/gfx-base/GFXObject.cpp @@ -23,7 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXObject.h" diff --git a/native/cocos/renderer/core/gfx/GFXObject.h b/native/cocos/renderer/gfx-base/GFXObject.h similarity index 98% rename from native/cocos/renderer/core/gfx/GFXObject.h rename to native/cocos/renderer/gfx-base/GFXObject.h index fb26581976..1fa16a845b 100644 --- a/native/cocos/renderer/core/gfx/GFXObject.h +++ b/native/cocos/renderer/gfx-base/GFXObject.h @@ -26,6 +26,7 @@ #pragma once #include "GFXDef.h" +#include "base/Object.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXPipelineLayout.cpp b/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp similarity index 93% rename from native/cocos/renderer/core/gfx/GFXPipelineLayout.cpp rename to native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp index 5eb3d90948..7f2af5ddb9 100644 --- a/native/cocos/renderer/core/gfx/GFXPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp @@ -23,15 +23,17 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "GFXObject.h" #include "GFXPipelineLayout.h" namespace cc { namespace gfx { PipelineLayout::PipelineLayout(Device *device) -: GFXObject(ObjectType::PIPELINE_LAYOUT), _device(device) { +: GFXObject(ObjectType::PIPELINE_LAYOUT), + _device(device) { } PipelineLayout::~PipelineLayout() { diff --git a/native/cocos/renderer/core/gfx/GFXPipelineLayout.h b/native/cocos/renderer/gfx-base/GFXPipelineLayout.h similarity index 98% rename from native/cocos/renderer/core/gfx/GFXPipelineLayout.h rename to native/cocos/renderer/gfx-base/GFXPipelineLayout.h index 5ad17a7a7e..8a3f74b6d5 100644 --- a/native/cocos/renderer/core/gfx/GFXPipelineLayout.h +++ b/native/cocos/renderer/gfx-base/GFXPipelineLayout.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_PIPELINE_LAYOUT_H_ #define CC_CORE_GFX_PIPELINE_LAYOUT_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXPipelineState.cpp b/native/cocos/renderer/gfx-base/GFXPipelineState.cpp old mode 100755 new mode 100644 similarity index 97% rename from native/cocos/renderer/core/gfx/GFXPipelineState.cpp rename to native/cocos/renderer/gfx-base/GFXPipelineState.cpp index 71ce53c4e2..7d58e89977 --- a/native/cocos/renderer/core/gfx/GFXPipelineState.cpp +++ b/native/cocos/renderer/gfx-base/GFXPipelineState.cpp @@ -23,8 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "GFXObject.h" #include "GFXPipelineState.h" namespace cc { diff --git a/native/cocos/renderer/core/gfx/GFXPipelineState.h b/native/cocos/renderer/gfx-base/GFXPipelineState.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXPipelineState.h rename to native/cocos/renderer/gfx-base/GFXPipelineState.h index 5fdfe9370f..b00d4d791e --- a/native/cocos/renderer/core/gfx/GFXPipelineState.h +++ b/native/cocos/renderer/gfx-base/GFXPipelineState.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_PIPELINE_STATE_H_ #define CC_CORE_GFX_PIPELINE_STATE_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXQueue.cpp b/native/cocos/renderer/gfx-base/GFXQueue.cpp old mode 100755 new mode 100644 similarity index 93% rename from native/cocos/renderer/core/gfx/GFXQueue.cpp rename to native/cocos/renderer/gfx-base/GFXQueue.cpp index 8a101bc156..f23e09c162 --- a/native/cocos/renderer/core/gfx/GFXQueue.cpp +++ b/native/cocos/renderer/gfx-base/GFXQueue.cpp @@ -23,15 +23,17 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "GFXObject.h" #include "GFXQueue.h" namespace cc { namespace gfx { Queue::Queue(Device *device) -: GFXObject(ObjectType::QUEUE), _device(device) { +: GFXObject(ObjectType::QUEUE), + _device(device) { } Queue::~Queue() { diff --git a/native/cocos/renderer/core/gfx/GFXQueue.h b/native/cocos/renderer/gfx-base/GFXQueue.h old mode 100755 new mode 100644 similarity index 98% rename from native/cocos/renderer/core/gfx/GFXQueue.h rename to native/cocos/renderer/gfx-base/GFXQueue.h index c07e2d8ed3..aec12a43b6 --- a/native/cocos/renderer/core/gfx/GFXQueue.h +++ b/native/cocos/renderer/gfx-base/GFXQueue.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_QUEUE_H_ #define CC_CORE_GFX_QUEUE_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp old mode 100755 new mode 100644 similarity index 98% rename from native/cocos/renderer/core/gfx/GFXRenderPass.cpp rename to native/cocos/renderer/gfx-base/GFXRenderPass.cpp index bae7871317..a375e74066 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.cpp +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp @@ -23,8 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "GFXObject.h" #include "GFXRenderPass.h" namespace cc { diff --git a/native/cocos/renderer/core/gfx/GFXRenderPass.h b/native/cocos/renderer/gfx-base/GFXRenderPass.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXRenderPass.h rename to native/cocos/renderer/gfx-base/GFXRenderPass.h index b4fe5789f2..e58fc86c53 --- a/native/cocos/renderer/core/gfx/GFXRenderPass.h +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_RENDER_PASS_H_ #define CC_CORE_GFX_RENDER_PASS_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXSampler.cpp b/native/cocos/renderer/gfx-base/GFXSampler.cpp old mode 100755 new mode 100644 similarity index 97% rename from native/cocos/renderer/core/gfx/GFXSampler.cpp rename to native/cocos/renderer/gfx-base/GFXSampler.cpp index 12feeb377a..ca078ef5a5 --- a/native/cocos/renderer/core/gfx/GFXSampler.cpp +++ b/native/cocos/renderer/gfx-base/GFXSampler.cpp @@ -23,8 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "GFXObject.h" #include "GFXSampler.h" namespace cc { diff --git a/native/cocos/renderer/core/gfx/GFXSampler.h b/native/cocos/renderer/gfx-base/GFXSampler.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXSampler.h rename to native/cocos/renderer/gfx-base/GFXSampler.h index be735ee546..2019ee5f31 --- a/native/cocos/renderer/core/gfx/GFXSampler.h +++ b/native/cocos/renderer/gfx-base/GFXSampler.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_SAMPLER_H_ #define CC_CORE_GFX_SAMPLER_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXShader.cpp b/native/cocos/renderer/gfx-base/GFXShader.cpp old mode 100755 new mode 100644 similarity index 93% rename from native/cocos/renderer/core/gfx/GFXShader.cpp rename to native/cocos/renderer/gfx-base/GFXShader.cpp index 641c1dc9ac..d6d6fe31d5 --- a/native/cocos/renderer/core/gfx/GFXShader.cpp +++ b/native/cocos/renderer/gfx-base/GFXShader.cpp @@ -23,16 +23,18 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" #include "GFXDevice.h" +#include "GFXObject.h" #include "GFXShader.h" namespace cc { namespace gfx { Shader::Shader(Device *device) -: GFXObject(ObjectType::SHADER), _device(device) { +: GFXObject(ObjectType::SHADER), + _device(device) { _shaderID = device->genShaderId(); } diff --git a/native/cocos/renderer/core/gfx/GFXShader.h b/native/cocos/renderer/gfx-base/GFXShader.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXShader.h rename to native/cocos/renderer/gfx-base/GFXShader.h index 7ddce73100..ca108d6334 --- a/native/cocos/renderer/core/gfx/GFXShader.h +++ b/native/cocos/renderer/gfx-base/GFXShader.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_SHADER_H_ #define CC_CORE_GFX_SHADER_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXTexture.cpp b/native/cocos/renderer/gfx-base/GFXTexture.cpp old mode 100755 new mode 100644 similarity index 93% rename from native/cocos/renderer/core/gfx/GFXTexture.cpp rename to native/cocos/renderer/gfx-base/GFXTexture.cpp index ba7fa8f804..7984fa2173 --- a/native/cocos/renderer/core/gfx/GFXTexture.cpp +++ b/native/cocos/renderer/gfx-base/GFXTexture.cpp @@ -23,15 +23,17 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "GFXObject.h" #include "GFXTexture.h" namespace cc { namespace gfx { Texture::Texture(Device *device) -: GFXObject(ObjectType::TEXTURE), _device(device) { +: GFXObject(ObjectType::TEXTURE), + _device(device) { } Texture::~Texture() { diff --git a/native/cocos/renderer/core/gfx/GFXTexture.h b/native/cocos/renderer/gfx-base/GFXTexture.h old mode 100755 new mode 100644 similarity index 99% rename from native/cocos/renderer/core/gfx/GFXTexture.h rename to native/cocos/renderer/gfx-base/GFXTexture.h index 1376a74052..b7edeff232 --- a/native/cocos/renderer/core/gfx/GFXTexture.h +++ b/native/cocos/renderer/gfx-base/GFXTexture.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_TEXTURE_H_ #define CC_CORE_GFX_TEXTURE_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp b/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp similarity index 95% rename from native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp rename to native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp index aa455b6225..0900587e03 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp @@ -23,8 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#include "CoreStd.h" +#include "base/CoreStd.h" +#include "GFXObject.h" #include "GFXQueue.h" #include "GFXTextureBarrier.h" @@ -32,7 +33,8 @@ namespace cc { namespace gfx { TextureBarrier::TextureBarrier(Device *device) -: GFXObject(ObjectType::TEXTURE_BARRIER), _device(device) { +: GFXObject(ObjectType::TEXTURE_BARRIER), + _device(device) { } TextureBarrier::~TextureBarrier() { diff --git a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h b/native/cocos/renderer/gfx-base/GFXTextureBarrier.h similarity index 98% rename from native/cocos/renderer/core/gfx/GFXTextureBarrier.h rename to native/cocos/renderer/gfx-base/GFXTextureBarrier.h index 73b8f2adce..bbeaea276d 100644 --- a/native/cocos/renderer/core/gfx/GFXTextureBarrier.h +++ b/native/cocos/renderer/gfx-base/GFXTextureBarrier.h @@ -26,7 +26,7 @@ #ifndef CC_CORE_GFX_TEXTURE_BARRIER_H_ #define CC_CORE_GFX_TEXTURE_BARRIER_H_ -#include "GFXDef.h" +#include "GFXObject.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles-common/CMakeLists.txt b/native/cocos/renderer/gfx-gles-common/CMakeLists.txt deleted file mode 100644 index db9bf651aa..0000000000 --- a/native/cocos/renderer/gfx-gles-common/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -set(TARGET_NAME GFXGLESCommon) - -message(STATUS "Target: ${TARGET_NAME}...") -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/khronos -) - -include_directories( ${INCLUDE_FILES} ) - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) -file(GLOB_RECURSE SOURCE_C_FILES *.c) - -set(ALL_FILES - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} - ) - -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) -endif() - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLESCommon) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLESCommon_d) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h index e29e7145a8..af0a9e39d0 100644 --- a/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h +++ b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h @@ -25,6 +25,8 @@ #pragma once +#include "base/CachedArray.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/CMakeLists.txt b/native/cocos/renderer/gfx-gles2/CMakeLists.txt deleted file mode 100644 index dcef66daf3..0000000000 --- a/native/cocos/renderer/gfx-gles2/CMakeLists.txt +++ /dev/null @@ -1,77 +0,0 @@ -set(TARGET_NAME GFXGLES2) - -message(STATUS "Target: ${TARGET_NAME}...") -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/khronos - ${GFX_EXTERNAL_PATH}/glsl_optimizer/src - ${GFX_EXTERNAL_PATH}/glsl_optimizer/src/mesa - ${GFX_EXTERNAL_PATH}/taskflow - ${GFX_EXTERNAL_PATH}/boost - ${GFX_EXTERNAL_PATH}/concurrentqueue - ${COCOS_SRC_PATH}/renderer/core - ${COCOS_SRC_PATH}/renderer/gfx-gles2 -) - -include_directories( ${INCLUDE_FILES} ) - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) -file(GLOB_RECURSE SOURCE_C_FILES *.c) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) -endif() - -set(ALL_FILES - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} - ${COCOS_SRC_PATH}/base/StringUtil.h - ${COCOS_SRC_PATH}/base/StringUtil.cpp - ) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) -endif() - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/GLES2Wrangler.cpp") -else() - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/GLES2Wrangler.mm") -endif() - -if(COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles2/GLES2Context.mm") -endif() - -add_definitions("-DCC_GLES2_EXPORTS") -if(WIN32) - add_definitions("-DGLEW_BUILD") -endif() -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) -endif() - -target_link_libraries(${TARGET_NAME} Core GFXGLESCommon) - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLES2) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES2_d) - -use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/GLES2Std.h" "${CMAKE_CURRENT_SOURCE_DIR}/GLES2Std.cpp" SOURCE_CPP_FILES) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp index 7c4ebae2c3..f85e2ccad1 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp @@ -25,6 +25,7 @@ #include "GLES2Std.h" +#include "GLES2Device.h" #include "GLES2Buffer.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h index e1bd18bb7a..2c28fe204c 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h @@ -23,8 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_BUFFER_H_ -#define CC_GFXGLES2_BUFFER_H_ +#pragma once + +#include "gfx-base/GFXBuffer.h" namespace cc { namespace gfx { @@ -38,11 +39,11 @@ public: ~GLES2Buffer(); public: - virtual bool initialize(const BufferInfo &info) override; - virtual bool initialize(const BufferViewInfo &info) override; - virtual void destroy() override; - virtual void resize(uint size) override; - virtual void update(void *buffer, uint size) override; + bool initialize(const BufferInfo &info) override; + bool initialize(const BufferViewInfo &info) override; + void destroy() override; + void resize(uint size) override; + void update(void *buffer, uint size) override; CC_INLINE GLES2GPUBuffer *gpuBuffer() const { return _gpuBuffer; } CC_INLINE GLES2GPUBufferView *gpuBufferView() const { return _gpuBufferView; } @@ -54,5 +55,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index b6a571a9cd..c3c9736032 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -26,6 +26,7 @@ #ifndef CC_GFXGLES2_COMMAND_BUFFER_H_ #define CC_GFXGLES2_COMMAND_BUFFER_H_ +#include "gfx-base/GFXCommandBuffer.h" #include "GLES2Commands.h" namespace cc { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.h b/native/cocos/renderer/gfx-gles2/GLES2Context.h index 07f95926d1..8ca5c8b092 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.h @@ -26,6 +26,7 @@ #ifndef CC_GFXGLES2_EGL_CONTEXT_H_ #define CC_GFXGLES2_EGL_CONTEXT_H_ +#include "gfx-base/GFXContext.h" #include "GLES2Wrangler.h" namespace cc { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h index c09340c4d0..abeaba8e37 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_DESCRIPTOR_SET_H_ #define CC_GFXGLES2_DESCRIPTOR_SET_H_ +#include "gfx-base/GFXDescriptorSet.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h index 7ecf9925e0..541f647ad7 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_DESCRIPTOR_SET_LAYOUT_H_ #define CC_GFXGLES2_DESCRIPTOR_SET_LAYOUT_H_ +#include "gfx-base/GFXDescriptorSetLayout.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 065e596d9d..cc620e3dfa 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_DEVICE_H_ #define CC_GFXGLES2_DEVICE_H_ +#include "gfx-base/GFXDevice.h" + #ifndef GL_COMPRESSED_RGB8_ETC2 #define GL_COMPRESSED_RGB8_ETC2 0x9274 #endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h index 99fff1bc23..900b8cc4af 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_FRAMEBUFFER_H_ #define CC_GFXGLES2_FRAMEBUFFER_H_ +#include "gfx-base/GFXFramebuffer.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index f7e23e1306..74e16e0416 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -26,6 +26,7 @@ #ifndef CC_GFXGLES2_GPU_OBJECTS_H_ #define CC_GFXGLES2_GPU_OBJECTS_H_ +#include "gfx-base/GFXDef.h" #include "GLES2Wrangler.h" namespace cc { diff --git a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h index 4797c82e95..1d0c43cb02 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h +++ b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_INPUT_ASSEMBLER_H_ #define CC_GFXGLES2_INPUT_ASSEMBLER_H_ +#include "gfx-base/GFXInputAssembler.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h index 9158f9c568..3a52d20eec 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_PIPELINE_LAYOUT_H_ #define CC_GFXGLES2_PIPELINE_LAYOUT_H_ +#include "gfx-base/GFXPipelineLayout.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h index d8dcb54c07..2359e2aa85 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_PIPELINE_STATE_H_ #define CC_GFXGLES2_PIPELINE_STATE_H_ +#include "gfx-base/GFXPipelineState.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.h b/native/cocos/renderer/gfx-gles2/GLES2Queue.h index 0361274836..9adf1bbda4 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_QUEUE_H_ #define CC_GFXGLES2_QUEUE_H_ +#include "gfx-base/GFXQueue.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h index fc7121d4eb..b975f912c4 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h +++ b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_RENDER_PASS_H_ #define CC_GFXGLES2_RENDER_PASS_H_ +#include "gfx-base/GFXRenderPass.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Sampler.h b/native/cocos/renderer/gfx-gles2/GLES2Sampler.h index 1e93186cdb..425588a6be 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Sampler.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Sampler.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_SAMPLER_H_ #define CC_GFXGLES2_SAMPLER_H_ +#include "gfx-base/GFXSampler.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.h b/native/cocos/renderer/gfx-gles2/GLES2Shader.h index 9e5f161ae9..0ee7131377 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_SHADER_H_ #define CC_GFXGLES2_SHADER_H_ +#include "gfx-base/GFXShader.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Std.h b/native/cocos/renderer/gfx-gles2/GLES2Std.h index d87f550a7d..214779b3ef 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Std.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Std.h @@ -26,7 +26,7 @@ #ifndef __CC_GFXGLES2_STD_H__ #define __CC_GFXGLES2_STD_H__ -#include +#include "base/CoreStd.h" #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) #if defined(CC_STATIC) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp index 24f5fed204..c5365b7cc2 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp @@ -25,6 +25,7 @@ #include "GLES2Std.h" +#include "GLES2Device.h" #include "GLES2Texture.h" #include "GLES2Commands.h" diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.h b/native/cocos/renderer/gfx-gles2/GLES2Texture.h index 2ec38d8804..3379b9f53a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES2_TEXTURE_H_ #define CC_GFXGLES2_TEXTURE_H_ +#include "gfx-base/GFXTexture.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/CMakeLists.txt b/native/cocos/renderer/gfx-gles3/CMakeLists.txt deleted file mode 100644 index f2be4ecbdd..0000000000 --- a/native/cocos/renderer/gfx-gles3/CMakeLists.txt +++ /dev/null @@ -1,77 +0,0 @@ -set(TARGET_NAME GFXGLES3) - -message(STATUS "Target: ${TARGET_NAME}...") -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/khronos - ${GFX_EXTERNAL_PATH}/glsl_optimizer/src - ${GFX_EXTERNAL_PATH}/glsl_optimizer/src/mesa - ${GFX_EXTERNAL_PATH}/taskflow - ${GFX_EXTERNAL_PATH}/boost - ${GFX_EXTERNAL_PATH}/concurrentqueue - ${COCOS_SRC_PATH}/renderer/core - ${COCOS_SRC_PATH}/renderer/gfx-gles3 -) - -include_directories( ${INCLUDE_FILES} ) - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h ../gfx-gles-common/*.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc ../gfx-gles-common/*.cpp) -file(GLOB_RECURSE SOURCE_C_FILES *.c) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) -endif() - -set(ALL_FILES - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} - ${COCOS_SRC_PATH}/base/StringUtil.h - ${COCOS_SRC_PATH}/base/StringUtil.cpp - ) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) -endif() - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/GLES3Wrangler.cpp") -else() - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/GLES3Wrangler.mm") -endif() - -if(COCOS_PLATFORM_OSX) - list(REMOVE_ITEM ALL_FILES "${COCOS_SRC_PATH}/renderer/gfx-gles3/GLES3Context.mm") -endif() - -add_definitions("-DCC_GLES3_EXPORTS") -if(WIN32) - add_definitions("-DGLEW_BUILD") -endif() -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) -endif() - -target_link_libraries(${TARGET_NAME} Core GFXGLESCommon) - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXGLES3) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXGLES3_d) - -use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/GLES3Std.h" "${CMAKE_CURRENT_SOURCE_DIR}/GLES3Std.cpp" SOURCE_CPP_FILES) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp index 6e74287451..14c3f44b81 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp @@ -25,6 +25,7 @@ #include "GLES3Std.h" +#include "GLES3Device.h" #include "GLES3Buffer.h" #include "GLES3Commands.h" diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h index e4ec602fcc..a9547e181d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_BUFFER_H_ #define CC_GFXGLES3_BUFFER_H_ +#include "gfx-base/GFXBuffer.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index b5c9c04e74..3ed4f1ebca 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_COMMAND_BUFFER_H_ #define CC_GFXGLES3_COMMAND_BUFFER_H_ +#include "gfx-base/GFXCommandBuffer.h" + #include "GLES3Commands.h" namespace cc { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.h b/native/cocos/renderer/gfx-gles3/GLES3Context.h index 7ba1200d05..00f87c6d80 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_EGL_CONTEXT_H_ #define CC_GFXGLES3_EGL_CONTEXT_H_ +#include "gfx-base/GFXContext.h" + #include "GLES3Wrangler.h" namespace cc { diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h index d65477f1d6..0f8792be85 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_DESCRIPTOR_SET_H_ #define CC_GFXGLES3_DESCRIPTOR_SET_H_ +#include "gfx-base/GFXDescriptorSet.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h index 4837ed258f..0a39346561 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_DESCRIPTOR_SET_LAYOUT_H_ #define CC_GFXGLES3_DESCRIPTOR_SET_LAYOUT_H_ +#include "gfx-base/GFXDescriptorSetLayout.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index a87a700e6f..7ee25c88f1 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_DEVICE_H_ #define CC_GFXGLES3_DEVICE_H_ +#include "gfx-base/GFXDevice.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h index 9fed3ca03a..ede4a77926 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_FRAMEBUFFER_H_ #define CC_GFXGLES3_FRAMEBUFFER_H_ +#include "gfx-base/GFXFramebuffer.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 6990aaa2ac..8572c076ce 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -26,6 +26,7 @@ #ifndef CC_GFXGLES3_GPU_OBJECTS_H_ #define CC_GFXGLES3_GPU_OBJECTS_H_ +#include "gfx-base/GFXDef.h" #include "GLES3Wrangler.h" namespace cc { diff --git a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h index 966b49674b..5312e5f7ac 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_GLOBAL_BARRIER_H_ #define CC_GFXGLES3_GLOBAL_BARRIER_H_ +#include "gfx-base/GFXGlobalBarrier.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h index a02d750995..8300438956 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h +++ b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_INPUT_ASSEMBLER_H_ #define CC_GFXGLES3_INPUT_ASSEMBLER_H_ +#include "gfx-base/GFXInputAssembler.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h index 1d095baac8..d158f92336 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_PIPELINE_LAYOUT_H_ #define CC_GFXGLES3_PIPELINE_LAYOUT_H_ +#include "gfx-base/GFXPipelineLayout.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h index 8ae2026a18..dad66fc3bb 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_PIPELINE_STATE_H_ #define CC_GFXGLES3_PIPELINE_STATE_H_ +#include "gfx-base/GFXPipelineState.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.h b/native/cocos/renderer/gfx-gles3/GLES3Queue.h index f042649ba0..a6fbedb416 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_QUEUE_H_ #define CC_GFXGLES3_QUEUE_H_ +#include "gfx-base/GFXQueue.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h index cf65811869..79d502e61a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h +++ b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_RENDER_PASS_H_ #define CC_GFXGLES3_RENDER_PASS_H_ +#include "gfx-base/GFXRenderPass.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Sampler.h b/native/cocos/renderer/gfx-gles3/GLES3Sampler.h index 03a537e79c..83efc34a80 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Sampler.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Sampler.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_SAMPLER_H_ #define CC_GFXGLES3_SAMPLER_H_ +#include "gfx-base/GFXSampler.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.h b/native/cocos/renderer/gfx-gles3/GLES3Shader.h index f4197c1bbe..1fcdce63fc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_SHADER_H_ #define CC_GFXGLES3_SHADER_H_ +#include "gfx-base/GFXShader.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Std.h b/native/cocos/renderer/gfx-gles3/GLES3Std.h index 77c7b9f0de..4b7e0d4002 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Std.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Std.h @@ -25,7 +25,7 @@ #pragma once -#include +#include "base/CoreStd.h" #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) #if defined(CC_STATIC) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp index 81174caa5b..ff444d2acf 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp @@ -26,6 +26,7 @@ #include "GLES3Std.h" #include "GLES3Commands.h" +#include "GLES3Device.h" #include "GLES3Texture.h" namespace cc { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.h b/native/cocos/renderer/gfx-gles3/GLES3Texture.h index b4276d5843..7c5ba1edc2 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.h @@ -26,6 +26,8 @@ #ifndef CC_GFXGLES3_TEXTURE_H_ #define CC_GFXGLES3_TEXTURE_H_ +#include "gfx-base/GFXTexture.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-metal/CMakeLists.txt b/native/cocos/renderer/gfx-metal/CMakeLists.txt deleted file mode 100644 index f2522ec35f..0000000000 --- a/native/cocos/renderer/gfx-metal/CMakeLists.txt +++ /dev/null @@ -1,58 +0,0 @@ -set(TARGET_NAME GFXMetal) - -message(STATUS "Target: ${TARGET_NAME}...") - -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/khronos - ${GFX_EXTERNAL_PATH}/taskflow - ${GFX_EXTERNAL_PATH}/boost - ${GFX_EXTERNAL_PATH}/concurrentqueue - ${COCOS_SRC_PATH}/base - ${COCOS_SRC_PATH}/renderer/core - ${COCOS_SRC_PATH}/renderer/gfx-metal -) - -include_directories( ${INCLUDE_FILES} ) - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) -file(GLOB_RECURSE SOURCE_C_FILES *.c) -file(GLOB_RECURSE SOURCE_OBJC_FILES *.m *.mm) -set(ALL_FILES ${HEADER_FILES} ${SOURCE_CPP_FILES} ${SOURCE_C_FILES} ${SOURCE_OBJC_FILES}) - -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) -endif() - -target_compile_definitions(${TARGET_NAME} PRIVATE CC_USE_METAL) -find_library(COREFOUNDATION_FRAMEWORK CoreFoundation) -find_library(FOUNDATION_FRAMEWORK Foundation) -find_library(METAL_LIBRARY Metal) -find_library(METALKIT_LIBRARY MetalKit) -set(glslang_libs_name glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits) -set(spirv-cross_libs_name spirv-cross-core spirv-cross-glsl spirv-cross-msl) -target_link_libraries(${TARGET_NAME} Core ${COREFOUNDATION_FRAMEWORK} ${FOUNDATION_FRAMEWORK} ${METAL_LIBRARY} ${METALKIT_LIBRARY} ${glslang_libs_name} ${spirv-cross_libs_name}) - -target_include_directories(${TARGET_NAME} PUBLIC ${COCOS_EXTERNAL_PATH}/mac/include) - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXMetal) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXMetal_d) - -use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/MTLStd.h" "${CMAKE_CURRENT_SOURCE_DIR}/MTLStd.cpp" ${SOURCE_CPP_FILES} ${SOURCE_OBJC_FILES} ${SOURCE_C_FILES}) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index 6ea9e11f38..36b4eacc19 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXBuffer.h" + #import #import #import diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 35fdd986be..b2f0feeb6b 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXCommandBuffer.h" + #include "MTLGPUObjects.h" #include "MTLRenderCommandEncoder.h" #import diff --git a/native/cocos/renderer/gfx-metal/MTLContext.h b/native/cocos/renderer/gfx-metal/MTLContext.h index a56298a699..636e2864a2 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.h +++ b/native/cocos/renderer/gfx-metal/MTLContext.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXContext.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h index a56d34be41..123ecae489 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h @@ -24,8 +24,12 @@ ****************************************************************************/ #pragma once + +#include "gfx-base/GFXDescriptorSet.h" + namespace cc { namespace gfx { + class CCMTLGPUDescriptorSet; class CCMTLDescriptorSet final : public DescriptorSet { diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h index e7dbef9539..175e4d707d 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h @@ -24,8 +24,12 @@ ****************************************************************************/ #pragma once + +#include "gfx-base/GFXDescriptorSetLayout.h" + namespace cc { namespace gfx { + class CCMTLGPUDescriptorSetLayout; class CCMTLDescriptorSetLayout final : public DescriptorSetLayout { public: diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index d443c9ba5c..f33b922ed4 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -25,6 +25,7 @@ #pragma once +#include "gfx-base/GFXDevice.h" #include "MTLConfig.h" namespace cc { diff --git a/native/cocos/renderer/gfx-metal/MTLFramebuffer.h b/native/cocos/renderer/gfx-metal/MTLFramebuffer.h index 297fd9e9eb..f0ebc99796 100644 --- a/native/cocos/renderer/gfx-metal/MTLFramebuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLFramebuffer.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXFramebuffer.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-metal/MTLInputAssembler.h b/native/cocos/renderer/gfx-metal/MTLInputAssembler.h index 3d0be9440a..e67b3b50b0 100644 --- a/native/cocos/renderer/gfx-metal/MTLInputAssembler.h +++ b/native/cocos/renderer/gfx-metal/MTLInputAssembler.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXInputAssembler.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h index e33e9dac01..105b5fbe15 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h +++ b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h @@ -24,8 +24,12 @@ ****************************************************************************/ #pragma once + +#include "gfx-base/GFXPipelineLayout.h" + namespace cc { namespace gfx { + class CCMTLGPUPipelineLayout; class CCMTLPipelineLayout final : public PipelineLayout { diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.h b/native/cocos/renderer/gfx-metal/MTLPipelineState.h index d03a3a0563..142082bf72 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.h +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXPipelineState.h" + #include "MTLGPUObjects.h" #import diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.h b/native/cocos/renderer/gfx-metal/MTLQueue.h index ab2fd5cff5..014314103a 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.h +++ b/native/cocos/renderer/gfx-metal/MTLQueue.h @@ -25,8 +25,11 @@ #pragma once +#include "gfx-base/GFXQueue.h" + namespace cc { namespace gfx { + class CCMTLQueue final : public Queue { friend class CCMTLDevice; diff --git a/native/cocos/renderer/gfx-metal/MTLRenderPass.h b/native/cocos/renderer/gfx-metal/MTLRenderPass.h index 5d233159cd..b8f89181be 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderPass.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderPass.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXRenderPass.h" + #import #import #import diff --git a/native/cocos/renderer/gfx-metal/MTLSampler.h b/native/cocos/renderer/gfx-metal/MTLSampler.h index d925c493c4..811b2f9f16 100644 --- a/native/cocos/renderer/gfx-metal/MTLSampler.h +++ b/native/cocos/renderer/gfx-metal/MTLSampler.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXSampler.h" + #import namespace cc { diff --git a/native/cocos/renderer/gfx-metal/MTLShader.h b/native/cocos/renderer/gfx-metal/MTLShader.h index e839b48c7f..6c088ecea8 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.h +++ b/native/cocos/renderer/gfx-metal/MTLShader.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXShader.h" + #import namespace cc { diff --git a/native/cocos/renderer/gfx-metal/MTLStd.h b/native/cocos/renderer/gfx-metal/MTLStd.h index 830355ae3d..4c4a92a5a1 100644 --- a/native/cocos/renderer/gfx-metal/MTLStd.h +++ b/native/cocos/renderer/gfx-metal/MTLStd.h @@ -25,4 +25,4 @@ #pragma once -#include +#include "base/CoreStd.h" diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.h b/native/cocos/renderer/gfx-metal/MTLTexture.h index dc0d126ed6..7c21de3cb4 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.h +++ b/native/cocos/renderer/gfx-metal/MTLTexture.h @@ -25,6 +25,8 @@ #pragma once +#include "gfx-base/GFXTexture.h" + #import namespace cc { diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.h b/native/cocos/renderer/gfx-metal/MTLUtils.h index 3f88e96bc8..a847c9fa23 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.h +++ b/native/cocos/renderer/gfx-metal/MTLUtils.h @@ -32,6 +32,7 @@ #import #import #include +#include "gfx-base/GFXDef.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt b/native/cocos/renderer/gfx-vulkan/CMakeLists.txt deleted file mode 100644 index 01720969ae..0000000000 --- a/native/cocos/renderer/gfx-vulkan/CMakeLists.txt +++ /dev/null @@ -1,84 +0,0 @@ -set(TARGET_NAME GFXVulkan) - -message(STATUS "Target: ${TARGET_NAME}...") -# --------------------------------------------------------------------- -# set include files - -set(INCLUDE_FILES - ${GFX_EXTERNAL_PATH}/khronos - ${GFX_EXTERNAL_PATH}/taskflow - ${GFX_EXTERNAL_PATH}/boost - ${GFX_EXTERNAL_PATH}/tbb/include - ${GFX_EXTERNAL_PATH}/concurrentqueue - ${COCOS_EXTERNAL_PATH}/win32/include/glslang - ${COCOS_SRC_PATH}/renderer/core - ${COCOS_SRC_PATH}/renderer/gfx-vulkan -) - -add_definitions("-DVK_NO_PROTOTYPES") - -if(WIN32) - add_definitions("-DVK_USE_PLATFORM_WIN32_KHR") - add_definitions("-DNOMINMAX") -elseif(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - add_definitions("-DVK_USE_PLATFORM_METAL_EXT") -elseif(COCOS_PLATFORM_ANDROID) - add_definitions("-DVK_USE_PLATFORM_ANDROID_KHR") -else() - add_definitions("-DVK_USE_PLATFORM_XLIB_KHR") -endif() - -add_definitions("-DBARRIER_DEDUCTION_LEVEL=0") -include_directories( ${INCLUDE_FILES} ) - -# --------------------------------------------------------------------- - -file(GLOB_RECURSE HEADER_FILES *.h) -file(GLOB_RECURSE SOURCE_CPP_FILES *.cpp *.cc) -file(GLOB_RECURSE SOURCE_C_FILES *.c) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - file(GLOB_RECURSE SOURCE_MM_FILES *.m *.mm) -endif() - -set(ALL_FILES - ${HEADER_FILES} - ${SOURCE_CPP_FILES} - ${SOURCE_C_FILES} - ${CC_BASE_HEADERS} - ${CC_BASE_SOURCES} - ${COCOS_SRC_PATH}/base/StringUtil.h - ${COCOS_SRC_PATH}/base/StringUtil.cpp - ) - -if(COCOS_PLATFORM_IOS OR COCOS_PLATFORM_OSX) - set(ALL_FILES ${ALL_FILES} ${SOURCE_MM_FILES}) -endif() - -add_definitions("-DCC_VK_EXPORTS") -if(WIN32) - add_definitions("-DGLEW_BUILD") -endif() -if(COCOS_UNICODE) - add_definitions("-DUNICODE -D_UNICODE") -endif() - -if (COCOS_STATIC) - add_library(${TARGET_NAME} STATIC ${HEADER_FILES} ${ALL_FILES}) -else() - add_library(${TARGET_NAME} SHARED ${HEADER_FILES} ${ALL_FILES}) -endif() - -target_link_libraries(${TARGET_NAME} Core glslang OGLCompiler OSDependent SPIRV glslang-default-resource-limits tbb tbbmalloc tbbmalloc_proxy) -target_compile_definitions(${TARGET_NAME} PRIVATE ${CC_EXTERNAL_PRIVATE_DEFINITIONS}) - -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME CCGFXVulkan) -set_target_properties(${TARGET_NAME} PROPERTIES OUTPUT_NAME_DEBUG CCGFXVulkan_d) - -use_precompiled_header("${CMAKE_CURRENT_SOURCE_DIR}/VKStd.h" "${CMAKE_CURRENT_SOURCE_DIR}/VKStd.cpp" SOURCE_CPP_FILES) - -message(STATUS "${TARGET_NAME} configuration completed.") - -target_compile_definitions(${TARGET_NAME} PUBLIC - $<$:CC_DEBUG=1> -) diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.h b/native/cocos/renderer/gfx-vulkan/VKBuffer.h index 706a3c8fb4..100504a240 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_BUFFER_H_ #define CC_GFXVULKAN_BUFFER_H_ +#include "gfx-base/GFXBuffer.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index f467f90ce9..8c7911eda3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_COMMAND_BUFFER_H_ #define CC_GFXVULKAN_COMMAND_BUFFER_H_ +#include "gfx-base/GFXCommandBuffer.h" + #include "VKCommands.h" namespace cc { diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 8bb50b6e93..56f283fa16 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -384,7 +384,7 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende } // make rendering result visible for the specified access types - VkSubpassDependency endDependency{subpassCount - 1, VK_SUBPASS_EXTERNAL, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; + VkSubpassDependency endDependency{(uint)subpassCount - 1, VK_SUBPASS_EXTERNAL, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; auto endDependencyCheck = [&endDependency, &endAccessInfos](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; if (desc.storeOp == VK_ATTACHMENT_STORE_OP_STORE) { diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 3d5aa7917f..7cfa5ed6c2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -34,8 +34,8 @@ #include "VKUtils.h" -#include "cocos/bindings/event/CustomEventTypes.h" -#include "cocos/bindings/event/EventDispatcher.h" +#include "bindings/event/CustomEventTypes.h" +#include "bindings/event/EventDispatcher.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.h b/native/cocos/renderer/gfx-vulkan/VKContext.h index 059549f452..f308c84510 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.h +++ b/native/cocos/renderer/gfx-vulkan/VKContext.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_CONTEXT_H_ #define CC_GFXVULKAN_CONTEXT_H_ +#include "gfx-base/GFXContext.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h index 3df02ccecf..da4ae3c09a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_BINDING_LAYOUT_H_ #define CC_GFXVULKAN_BINDING_LAYOUT_H_ +#include "gfx-base/GFXDescriptorSet.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h index 8a8e4f44b7..ee88a47ae2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_DESCRIPTOR_SET_LAYOUT_H_ #define CC_GFXVULKAN_DESCRIPTOR_SET_LAYOUT_H_ +#include "gfx-base/GFXDescriptorSetLayout.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 0ced0e73cf..ad6c2e0f0b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_DEVICE_H_ #define CC_GFXVULKAN_DEVICE_H_ +#include "gfx-base/GFXDevice.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h index 33eac286bc..6bc1b92a17 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_FRAMEBUFFER_H_ #define CC_GFXVULKAN_FRAMEBUFFER_H_ +#include "gfx-base/GFXFramebuffer.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h index 54aea79e74..7c721a61b4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_GLOBAL_BARRIER_H_ #define CC_GFXVULKAN_GLOBAL_BARRIER_H_ +#include "gfx-base/GFXGlobalBarrier.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h index 708f29e3e3..2b6230f331 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_INPUT_ASSEMBLER_H_ #define CC_GFXVULKAN_INPUT_ASSEMBLER_H_ +#include "gfx-base/GFXInputAssembler.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h index 20a3a9dc5b..c9578f3a7c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_PIPELINE_LAYOUT_H_ #define CC_GFXVULKAN_PIPELINE_LAYOUT_H_ +#include "gfx-base/GFXPipelineLayout.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h index 2df64aba5f..bdc4acfdd1 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_PIPELINE_STATE_H_ #define CC_GFXVULKAN_PIPELINE_STATE_H_ +#include "gfx-base/GFXPipelineState.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.h b/native/cocos/renderer/gfx-vulkan/VKQueue.h index ee4038af27..227af9e50f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.h +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_QUEUE_H_ #define CC_GFXVULKAN_QUEUE_H_ +#include "gfx-base/GFXQueue.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h index 295e09ed7a..bc95cdfe7c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_RENDER_PASS_H_ #define CC_GFXVULKAN_RENDER_PASS_H_ +#include "gfx-base/GFXRenderPass.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.h b/native/cocos/renderer/gfx-vulkan/VKSampler.h index b14152c5a2..a9bb24f67f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.h +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_SAMPLER_H_ #define CC_GFXVULKAN_SAMPLER_H_ +#include "gfx-base/GFXSampler.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.h b/native/cocos/renderer/gfx-vulkan/VKShader.h index 4bddda9442..08370fcf58 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.h +++ b/native/cocos/renderer/gfx-vulkan/VKShader.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_SHADER_H_ #define CC_GFXVULKAN_SHADER_H_ +#include "gfx-base/GFXShader.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index 44cc394f9a..e43cc4a993 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -26,7 +26,7 @@ #ifndef __CC_GFXVULKAN_VK_STD_H__ #define __CC_GFXVULKAN_VK_STD_H__ -#include +#include "base/CoreStd.h" #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) #if defined(CC_STATIC) diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.h b/native/cocos/renderer/gfx-vulkan/VKTexture.h index 0c7b2dcf6e..cf55faa24e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.h +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_TEXTURE_H_ #define CC_GFXVULKAN_TEXTURE_H_ +#include "gfx-base/GFXTexture.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h index 3a00ead7ad..fee1a62a41 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h @@ -26,6 +26,8 @@ #ifndef CC_GFXVULKAN_TEXTURE_BARRIER_H_ #define CC_GFXVULKAN_TEXTURE_BARRIER_H_ +#include "gfx-base/GFXTextureBarrier.h" + namespace cc { namespace gfx { diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 0688a77c65..6823982656 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -28,6 +28,8 @@ #define WIN32_LEAN_AND_MEAN +#include "gfx-base/GFXDef.h" + #include "vk_mem_alloc.h" #include "volk.h" diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.cpp b/native/cocos/renderer/pipeline/BatchedBuffer.cpp index 0570f3f49d..a37bc70785 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.cpp +++ b/native/cocos/renderer/pipeline/BatchedBuffer.cpp @@ -24,16 +24,16 @@ ****************************************************************************/ #include "BatchedBuffer.h" -#include "gfx/GFXBuffer.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXInputAssembler.h" +#include "gfx-base/GFXBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXInputAssembler.h" #include "helper/SharedMemory.h" namespace cc { namespace pipeline { map> BatchedBuffer::_buffers; -BatchedBuffer *BatchedBuffer::get(uint pass) { +BatchedBuffer * BatchedBuffer::get(uint pass) { return BatchedBuffer::get(pass, 0); } BatchedBuffer *BatchedBuffer::get(uint pass, uint extraKey) { @@ -71,21 +71,21 @@ void BatchedBuffer::destroy() { } void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const ModelView *model) { - const auto subMesh = subModel->getSubMesh(); - const auto flatBuffersID = subMesh->getFlatBufferArrayID(); + const auto subMesh = subModel->getSubMesh(); + const auto flatBuffersID = subMesh->getFlatBufferArrayID(); const auto flatBuffersCount = flatBuffersID ? flatBuffersID[0] : 0; if (flatBuffersCount == 0) { return; } - const auto flatBuffer = subMesh->getFlatBuffer(flatBuffersID[1]); - auto vbSize = 0; - auto indexSize = 0; - const auto vbCount = flatBuffer->count; - const auto pass = subModel->getPassView(passIdx); - const auto shader = subModel->getShader(passIdx); + const auto flatBuffer = subMesh->getFlatBuffer(flatBuffersID[1]); + auto vbSize = 0; + auto indexSize = 0; + const auto vbCount = flatBuffer->count; + const auto pass = subModel->getPassView(passIdx); + const auto shader = subModel->getShader(passIdx); const auto descriptorSet = subModel->getDescriptorSet(); - bool isBatchExist = false; + bool isBatchExist = false; for (auto i = 0; i < _batches.size(); ++i) { auto &batch = _batches[i]; @@ -101,40 +101,40 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode if (isBatchExist) { for (auto j = 0; j < flatBuffersCount; ++j) { - const auto flatBuffer = subMesh->getFlatBuffer(flatBuffersID[j + 1]); - auto batchVB = batch.vbs[j]; - auto vbData = batch.vbDatas[j]; + const auto flatBuffer = subMesh->getFlatBuffer(flatBuffersID[j + 1]); + auto batchVB = batch.vbs[j]; + auto vbData = batch.vbDatas[j]; const auto vbBufSizeOld = batchVB->getSize(); - vbSize = (vbCount + batch.vbCount) * flatBuffer->stride; + vbSize = (vbCount + batch.vbCount) * flatBuffer->stride; if (vbSize > vbBufSizeOld) { uint8_t *vbDataNew = static_cast(CC_MALLOC(vbSize)); memcpy(vbDataNew, vbData, vbBufSizeOld); batchVB->resize(vbSize); CC_FREE(vbData); batch.vbDatas[j] = vbDataNew; - vbData = vbDataNew; + vbData = vbDataNew; } - auto size = 0u; - auto offset = batch.vbCount * flatBuffer->stride; - const auto data = flatBuffer->getBuffer(&size); + auto size = 0u; + auto offset = batch.vbCount * flatBuffer->stride; + const auto data = flatBuffer->getBuffer(&size); memcpy(vbData + offset, data, size); } auto indexData = batch.indexData; - indexSize = (vbCount + batch.vbCount) * sizeof(float); + indexSize = (vbCount + batch.vbCount) * sizeof(float); if (indexSize > batch.indexBuffer->getSize()) { auto newIndexData = static_cast(CC_MALLOC(indexSize)); memcpy(newIndexData, indexData, batch.indexBuffer->getSize()); CC_FREE(indexData); batch.indexData = newIndexData; - indexData = batch.indexData; + indexData = batch.indexData; batch.indexBuffer->resize(indexSize); } - const auto start = batch.vbCount; - const auto end = start + vbCount; + const auto start = batch.vbCount; + const auto end = start + vbCount; const auto mergeCount = batch.mergeCount; if (indexData[start] != mergeCount || indexData[end - 1] != mergeCount) { for (auto j = start; j < end; j++) { @@ -143,15 +143,15 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode } // update world matrix - const auto offset = UBOLocalBatched::MAT_WORLDS_OFFSET + batch.mergeCount * 16; + const auto offset = UBOLocalBatched::MAT_WORLDS_OFFSET + batch.mergeCount * 16; const auto &worldMatrix = model->getTransform()->worldMatrix; memcpy(batch.uboData.data() + offset, worldMatrix.m, sizeof(worldMatrix)); if (!batch.mergeCount) { descriptorSet->bindBuffer(UBOLocalBatched::BINDING, batch.ubo); descriptorSet->update(); - batch.pass = pass; - batch.shader = shader; + batch.pass = pass; + batch.shader = shader; batch.descriptorSet = descriptorSet; } @@ -166,41 +166,41 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode // Create a new batch vector vbs(flatBuffersCount, nullptr); - vector vbDatas(flatBuffersCount, 0); + vector vbDatas(flatBuffersCount, 0); vector totalVBs(flatBuffersCount + 1, nullptr); for (auto i = 0; i < flatBuffersCount; ++i) { const auto flatBuffer = subMesh->getFlatBuffer(flatBuffersID[i + 1]); - auto newVB = _device->createBuffer({ + auto newVB = _device->createBuffer({ gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, flatBuffer->count * flatBuffer->stride, flatBuffer->stride, }); - auto size = 0u; - auto data = flatBuffer->getBuffer(&size); + auto size = 0u; + auto data = flatBuffer->getBuffer(&size); newVB->update(data, size); - vbs[i] = newVB; + vbs[i] = newVB; vbDatas[i] = static_cast(CC_MALLOC(newVB->getSize())); memset(vbDatas[i], 0, newVB->getSize()); totalVBs[i] = newVB; } const auto indexBufferSize = vbCount * sizeof(float); - auto indexBuffer = _device->createBuffer({ + auto indexBuffer = _device->createBuffer({ gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, static_cast(indexBufferSize), sizeof(float), }); - float *indexData = static_cast(CC_MALLOC(indexBufferSize)); + float * indexData = static_cast(CC_MALLOC(indexBufferSize)); memset(indexData, 0, indexBufferSize); indexBuffer->update(indexData, indexBufferSize); totalVBs[flatBuffersCount] = indexBuffer; vector attributes = subModel->getInputAssembler()->getAttributes(); - gfx::Attribute attrib = { + gfx::Attribute attrib = { "a_dyn_batch_id", gfx::Format::R32F, false, @@ -221,7 +221,7 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode descriptorSet->update(); std::array uboData; - const auto &worldMatrix = model->getTransform()->worldMatrix; + const auto & worldMatrix = model->getTransform()->worldMatrix; memcpy(uboData.data() + UBOLocalBatched::MAT_WORLDS_OFFSET, worldMatrix.m, sizeof(worldMatrix)); BatchedItem item = { std::move(vbs), //vbs @@ -242,7 +242,7 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode void BatchedBuffer::clear() { for (auto &batch : _batches) { - batch.vbCount = 0; + batch.vbCount = 0; batch.mergeCount = 0; batch.ia->setVertexCount(0); } diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.h b/native/cocos/renderer/pipeline/BatchedBuffer.h index 9a6fe00010..2d46da2081 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.h +++ b/native/cocos/renderer/pipeline/BatchedBuffer.h @@ -26,6 +26,7 @@ #pragma once #include "Define.h" +#include namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index 907a721601..022d4e5634 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -24,19 +24,19 @@ ****************************************************************************/ #include "Define.h" -#include "cocos/bindings/jswrapper/SeApi.h" -#include "gfx/GFXDevice.h" +#include "bindings/jswrapper/SeApi.h" +#include "gfx-base/GFXDevice.h" #include "helper/SharedMemory.h" namespace cc { namespace pipeline { -uint GLOBAL_SET = static_cast(SetIndex::GLOBAL); +uint GLOBAL_SET = static_cast(SetIndex::GLOBAL); uint MATERIAL_SET = static_cast(SetIndex::MATERIAL); -uint LOCAL_SET = static_cast(SetIndex::LOCAL); +uint LOCAL_SET = static_cast(SetIndex::LOCAL); -DescriptorSetLayoutInfos globalDescriptorSetLayout; -DescriptorSetLayoutInfos localDescriptorSetLayout; -const String UBOGlobal::NAME = "CCGlobal"; +DescriptorSetLayoutInfos globalDescriptorSetLayout; +DescriptorSetLayoutInfos localDescriptorSetLayout; +const String UBOGlobal::NAME = "CCGlobal"; const gfx::DescriptorSetLayoutBinding UBOGlobal::DESCRIPTOR = { UBOGlobal::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, @@ -55,7 +55,7 @@ const gfx::UniformBlock UBOGlobal::LAYOUT = { 1, }; -const String UBOLocalBatched::NAME = "CCLocalBatched"; +const String UBOLocalBatched::NAME = "CCLocalBatched"; const gfx::DescriptorSetLayoutBinding UBOLocalBatched::DESCRIPTOR = { UBOLocalBatched::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, @@ -72,7 +72,7 @@ const gfx::UniformBlock UBOLocalBatched::LAYOUT = { 1, }; -const String UBOCamera::NAME = "CCCamera"; +const String UBOCamera::NAME = "CCCamera"; const gfx::DescriptorSetLayoutBinding UBOCamera::DESCRIPTOR = { UBOCamera::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, @@ -104,7 +104,7 @@ const gfx::UniformBlock UBOCamera::LAYOUT = { 1, }; -const String UBOShadow::NAME = "CCShadow"; +const String UBOShadow::NAME = "CCShadow"; const gfx::DescriptorSetLayoutBinding UBOShadow::DESCRIPTOR = { UBOShadow::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, @@ -124,7 +124,7 @@ const gfx::UniformBlock UBOShadow::LAYOUT = { 1, }; -const String UBOLocal::NAME = "CCLocal"; +const String UBOLocal::NAME = "CCLocal"; const gfx::DescriptorSetLayoutBinding UBOLocal::DESCRIPTOR = { UBOLocal::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, @@ -143,7 +143,7 @@ const gfx::UniformBlock UBOLocal::LAYOUT = { 1, }; -const String UBOForwardLight::NAME = "CCForwardLight"; +const String UBOForwardLight::NAME = "CCForwardLight"; const gfx::DescriptorSetLayoutBinding UBOForwardLight::DESCRIPTOR = { UBOForwardLight::BINDING, gfx::DescriptorType::DYNAMIC_UNIFORM_BUFFER, @@ -163,7 +163,7 @@ const gfx::UniformBlock UBOForwardLight::LAYOUT = { 1, }; -const String UBOSkinningTexture::NAME = "CCSkinningTexture"; +const String UBOSkinningTexture::NAME = "CCSkinningTexture"; const gfx::DescriptorSetLayoutBinding UBOSkinningTexture::DESCRIPTOR = { UBOSkinningTexture::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, @@ -180,7 +180,7 @@ const gfx::UniformBlock UBOSkinningTexture::LAYOUT = { 1, }; -const String UBOSkinningAnimation::NAME = "CCSkinningAnimation"; +const String UBOSkinningAnimation::NAME = "CCSkinningAnimation"; const gfx::DescriptorSetLayoutBinding UBOSkinningAnimation::DESCRIPTOR = { UBOSkinningAnimation::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, @@ -197,7 +197,7 @@ const gfx::UniformBlock UBOSkinningAnimation::LAYOUT = { 1, }; -const String UBOSkinning::NAME = "CCSkinning"; +const String UBOSkinning::NAME = "CCSkinning"; const gfx::DescriptorSetLayoutBinding UBOSkinning::DESCRIPTOR = { UBOSkinning::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, @@ -214,10 +214,10 @@ const gfx::UniformBlock UBOSkinning::LAYOUT = { 1, }; -const uint UBOMorph::COUNT_BASE_4_BYTES = 4 * std::ceil(UBOMorph::MAX_MORPH_TARGET_COUNT / 4) + 4; -const uint UBOMorph::SIZE = UBOMorph::COUNT_BASE_4_BYTES * 4; -const String UBOMorph::NAME = "CCMorph"; -const gfx::DescriptorSetLayoutBinding UBOMorph::DESCRIPTOR = { +const uint UBOMorph::COUNT_BASE_4_BYTES = 4 * std::ceil(UBOMorph::MAX_MORPH_TARGET_COUNT / 4) + 4; +const uint UBOMorph::SIZE = UBOMorph::COUNT_BASE_4_BYTES * 4; +const String UBOMorph::NAME = "CCMorph"; +const gfx::DescriptorSetLayoutBinding UBOMorph::DESCRIPTOR = { UBOMorph::BINDING, gfx::DescriptorType::UNIFORM_BUFFER, 1, @@ -234,7 +234,7 @@ const gfx::UniformBlock UBOMorph::LAYOUT = { 1, }; -const String SHADOWMAP::NAME = "cc_shadowMap"; +const String SHADOWMAP::NAME = "cc_shadowMap"; const gfx::DescriptorSetLayoutBinding SHADOWMAP::DESCRIPTOR = { SHADOWMAP::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -249,7 +249,7 @@ const gfx::UniformSamplerTexture SHADOWMAP::LAYOUT = { 1, }; -const String SAMPLERGBUFFERALBEDOMAP::NAME = "cc_gbuffer_albedoMap"; +const String SAMPLERGBUFFERALBEDOMAP::NAME = "cc_gbuffer_albedoMap"; const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERALBEDOMAP::DESCRIPTOR = { SAMPLERGBUFFERALBEDOMAP::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -264,7 +264,7 @@ const gfx::UniformSamplerTexture SAMPLERGBUFFERALBEDOMAP::LAYOUT = { 1, }; -const String SAMPLERGBUFFERPOSITIONMAP::NAME = "cc_gbuffer_positionMap"; +const String SAMPLERGBUFFERPOSITIONMAP::NAME = "cc_gbuffer_positionMap"; const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERPOSITIONMAP::DESCRIPTOR = { SAMPLERGBUFFERPOSITIONMAP::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -279,7 +279,7 @@ const gfx::UniformSamplerTexture SAMPLERGBUFFERPOSITIONMAP::LAYOUT = { 1, }; -const String SAMPLERGBUFFERNORMALMAP::NAME = "cc_gbuffer_normalMap"; +const String SAMPLERGBUFFERNORMALMAP::NAME = "cc_gbuffer_normalMap"; const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERNORMALMAP::DESCRIPTOR = { SAMPLERGBUFFERNORMALMAP::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -294,7 +294,7 @@ const gfx::UniformSamplerTexture SAMPLERGBUFFERNORMALMAP::LAYOUT = { 1, }; -const String SAMPLERGBUFFEREMISSIVEMAP::NAME = "cc_gbuffer_emissiveMap"; +const String SAMPLERGBUFFEREMISSIVEMAP::NAME = "cc_gbuffer_emissiveMap"; const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFEREMISSIVEMAP::DESCRIPTOR = { SAMPLERGBUFFEREMISSIVEMAP::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -309,7 +309,7 @@ const gfx::UniformSamplerTexture SAMPLERGBUFFEREMISSIVEMAP::LAYOUT = { 1, }; -const String SAMPLERLIGHTINGRESULTMAP::NAME = "cc_lighting_resultMap"; +const String SAMPLERLIGHTINGRESULTMAP::NAME = "cc_lighting_resultMap"; const gfx::DescriptorSetLayoutBinding SAMPLERLIGHTINGRESULTMAP::DESCRIPTOR = { SAMPLERLIGHTINGRESULTMAP::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -324,7 +324,7 @@ const gfx::UniformSamplerTexture SAMPLERLIGHTINGRESULTMAP::LAYOUT = { 1, }; -const String ENVIRONMENT::NAME = "cc_environment"; +const String ENVIRONMENT::NAME = "cc_environment"; const gfx::DescriptorSetLayoutBinding ENVIRONMENT::DESCRIPTOR = { ENVIRONMENT::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -339,7 +339,7 @@ const gfx::UniformSamplerTexture ENVIRONMENT::LAYOUT = { 1, }; -const String SPOT_LIGHTING_MAP::NAME = "cc_spotLightingMap"; +const String SPOT_LIGHTING_MAP::NAME = "cc_spotLightingMap"; const gfx::DescriptorSetLayoutBinding SPOT_LIGHTING_MAP::DESCRIPTOR = { SPOT_LIGHTING_MAP::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -354,7 +354,7 @@ const gfx::UniformSamplerTexture SPOT_LIGHTING_MAP::LAYOUT = { 1, }; -const String JOINT_TEXTURE::NAME = "cc_jointTexture"; +const String JOINT_TEXTURE::NAME = "cc_jointTexture"; const gfx::DescriptorSetLayoutBinding JOINT_TEXTURE::DESCRIPTOR = { JOINT_TEXTURE::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -369,7 +369,7 @@ const gfx::UniformSamplerTexture JOINT_TEXTURE::LAYOUT = { 1, }; -const String POSITION_MORPH::NAME = "cc_PositionDisplacements"; +const String POSITION_MORPH::NAME = "cc_PositionDisplacements"; const gfx::DescriptorSetLayoutBinding POSITION_MORPH::DESCRIPTOR = { POSITION_MORPH::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -384,7 +384,7 @@ const gfx::UniformSamplerTexture POSITION_MORPH::LAYOUT = { 1, }; -const String NORMAL_MORPH::NAME = "cc_NormalDisplacements"; +const String NORMAL_MORPH::NAME = "cc_NormalDisplacements"; const gfx::DescriptorSetLayoutBinding NORMAL_MORPH::DESCRIPTOR = { NORMAL_MORPH::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -399,7 +399,7 @@ const gfx::UniformSamplerTexture NORMAL_MORPH::LAYOUT = { 1, }; -const String TANGENT_MORPH::NAME = "cc_TangentDisplacements"; +const String TANGENT_MORPH::NAME = "cc_TangentDisplacements"; const gfx::DescriptorSetLayoutBinding TANGENT_MORPH::DESCRIPTOR = { TANGENT_MORPH::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -414,7 +414,7 @@ const gfx::UniformSamplerTexture TANGENT_MORPH::LAYOUT = { 1, }; -const String LIGHTMAP_TEXTURE::NAME = "cc_lightingMap"; +const String LIGHTMAP_TEXTURE::NAME = "cc_lightingMap"; const gfx::DescriptorSetLayoutBinding LIGHTMAP_TEXTURE::DESCRIPTOR = { LIGHTMAP_TEXTURE::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -429,7 +429,7 @@ const gfx::UniformSamplerTexture LIGHTMAP_TEXTURE::LAYOUT = { 1, }; -const String SPRITE_TEXTURE::NAME = "cc_spriteTexture"; +const String SPRITE_TEXTURE::NAME = "cc_spriteTexture"; const gfx::DescriptorSetLayoutBinding SPRITE_TEXTURE::DESCRIPTOR = { SPRITE_TEXTURE::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, @@ -461,7 +461,7 @@ uint genSamplerHash(const gfx::SamplerInfo &info) { static uint defaultSamplerHash = genSamplerHash(gfx::SamplerInfo()); map samplerCache; -gfx::Sampler *getSampler(uint hash) { +gfx::Sampler * getSampler(uint hash) { if (hash == 0) { hash = defaultSamplerHash; } @@ -472,15 +472,15 @@ gfx::Sampler *getSampler(uint hash) { } gfx::SamplerInfo info; - info.minFilter = static_cast(hash & 3); - info.magFilter = static_cast((hash >> 2) & 3); - info.mipFilter = static_cast((hash >> 4) & 3); - info.addressU = static_cast((hash >> 6) & 3); - info.addressV = static_cast((hash >> 8) & 3); - info.addressW = static_cast((hash >> 10) & 3); + info.minFilter = static_cast(hash & 3); + info.magFilter = static_cast((hash >> 2) & 3); + info.mipFilter = static_cast((hash >> 4) & 3); + info.addressU = static_cast((hash >> 6) & 3); + info.addressV = static_cast((hash >> 8) & 3); + info.addressW = static_cast((hash >> 10) & 3); info.maxAnisotropy = ((hash >> 12) & 15); - info.cmpFunc = static_cast((hash >> 16) & 15); - info.mipLODBias = ((hash >> 28) & 15); + info.cmpFunc = static_cast((hash >> 16) & 15); + info.mipLODBias = ((hash >> 28) & 15); sampler = gfx::Device::getInstance()->createSampler(std::move(info)); return sampler; @@ -508,7 +508,7 @@ uint getPhaseID(const String &phase) { return 0; } se::Object *nrObjct = nrValue.toObject(); - se::Value nrPhase; + se::Value nrPhase; if (!nrObjct->getProperty("getPhaseID", &nrPhase)) { CC_LOG_ERROR("getPhaseID: failed to get getPhaseID property."); return 0; diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index 5554bee4e6..018c3594c3 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -25,8 +25,11 @@ #pragma once -#include "../core/CoreStd.h" +#include + #include "base/Value.h" +#include "base/Object.h" +#include "gfx-base/GFXDef.h" namespace cc { namespace pipeline { @@ -47,52 +50,52 @@ struct Frustum; #define JOINT_UNIFORM_CAPACITY 30 struct CC_DLL RenderObject { - float depth = 0; + float depth = 0; const ModelView *model = nullptr; }; typedef vector RenderObjectList; struct CC_DLL RenderTargetInfo { - uint width = 0; + uint width = 0; uint height = 0; }; struct CC_DLL RenderPass { - uint hash = 0; - float depth = 0; - uint shaderID = 0; - uint passIndex = 0; - const SubModelView *subModel = nullptr; + uint hash = 0; + float depth = 0; + uint shaderID = 0; + uint passIndex = 0; + const SubModelView *subModel = nullptr; }; typedef vector RenderPassList; typedef gfx::ColorAttachment ColorDesc; -typedef vector ColorDescList; +typedef vector ColorDescList; typedef gfx::DepthStencilAttachment DepthStencilDesc; struct CC_DLL RenderPassDesc { - uint index = 0; - ColorDescList colorAttachments; + uint index = 0; + ColorDescList colorAttachments; DepthStencilDesc depthStencilAttachment; }; typedef vector RenderPassDescList; struct CC_DLL RenderTextureDesc { - String name; - gfx::TextureType type = gfx::TextureType::TEX2D; - gfx::TextureUsage usage = gfx::TextureUsage::COLOR_ATTACHMENT; - gfx::Format format = gfx::Format::UNKNOWN; - int width = -1; - int height = -1; + String name; + gfx::TextureType type = gfx::TextureType::TEX2D; + gfx::TextureUsage usage = gfx::TextureUsage::COLOR_ATTACHMENT; + gfx::Format format = gfx::Format::UNKNOWN; + int width = -1; + int height = -1; }; typedef vector RenderTextureDescList; struct CC_DLL FrameBufferDesc { - String name; - uint renderPass = 0; + String name; + uint renderPass = 0; vector colorTextures; - String depthStencilTexture; + String depthStencilTexture; }; typedef vector FrameBufferDescList; @@ -103,37 +106,37 @@ enum class RenderFlowType : uint8_t { }; typedef vector RenderStageList; -typedef vector RenderFlowList; -typedef vector LightList; -typedef vector UintList; +typedef vector RenderFlowList; +typedef vector LightList; +typedef vector UintList; enum class CC_DLL RenderPassStage { DEFAULT = 100, - UI = 200, + UI = 200, }; struct CC_DLL InternalBindingDesc { - gfx::DescriptorType type; - gfx::UniformBlock blockInfo; + gfx::DescriptorType type; + gfx::UniformBlock blockInfo; gfx::UniformSamplerTexture samplerInfo; - Value defaultValue; + Value defaultValue; }; struct CC_DLL InternalBindingInst : public InternalBindingDesc { - gfx::Buffer *buffer = nullptr; + gfx::Buffer * buffer = nullptr; gfx::Sampler *sampler = nullptr; gfx::Texture *texture = nullptr; }; struct CC_DLL RenderQueueCreateInfo { - bool isTransparent = false; - uint phases = 0; + bool isTransparent = false; + uint phases = 0; std::function sortFunc; }; enum class CC_DLL RenderPriority { - MIN = 0, - MAX = 0xff, + MIN = 0, + MAX = 0xff, DEFAULT = 0x80, }; @@ -143,9 +146,9 @@ enum class CC_DLL RenderQueueSortMode { }; struct CC_DLL RenderQueueDesc { - bool isTransparent = false; - RenderQueueSortMode sortMode = RenderQueueSortMode::FRONT_TO_BACK; - StringArray stages; + bool isTransparent = false; + RenderQueueSortMode sortMode = RenderQueueSortMode::FRONT_TO_BACK; + StringArray stages; }; typedef std::vector RenderQueueDescList; @@ -204,40 +207,40 @@ enum class CC_DLL ModelLocalBindings { }; struct CC_DLL UBOLocalBatched { - static constexpr uint BATCHING_COUNT = 10; - static constexpr uint MAT_WORLDS_OFFSET = 0; - static constexpr uint COUNT = 16 * UBOLocalBatched::BATCHING_COUNT; - static constexpr uint SIZE = UBOLocalBatched::COUNT * 4; - static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_LOCAL); + static constexpr uint BATCHING_COUNT = 10; + static constexpr uint MAT_WORLDS_OFFSET = 0; + static constexpr uint COUNT = 16 * UBOLocalBatched::BATCHING_COUNT; + static constexpr uint SIZE = UBOLocalBatched::COUNT * 4; + static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_LOCAL); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; struct CC_DLL UBOLocal { - static constexpr uint MAT_WORLD_OFFSET = 0; - static constexpr uint MAT_WORLD_IT_OFFSET = UBOLocal::MAT_WORLD_OFFSET + 16; - static constexpr uint LIGHTINGMAP_UVPARAM = UBOLocal::MAT_WORLD_IT_OFFSET + 16; - static constexpr uint COUNT = UBOLocal::LIGHTINGMAP_UVPARAM + 4; - static constexpr uint SIZE = UBOLocal::COUNT * 4; - static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_LOCAL); + static constexpr uint MAT_WORLD_OFFSET = 0; + static constexpr uint MAT_WORLD_IT_OFFSET = UBOLocal::MAT_WORLD_OFFSET + 16; + static constexpr uint LIGHTINGMAP_UVPARAM = UBOLocal::MAT_WORLD_IT_OFFSET + 16; + static constexpr uint COUNT = UBOLocal::LIGHTINGMAP_UVPARAM + 4; + static constexpr uint SIZE = UBOLocal::COUNT * 4; + static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_LOCAL); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; struct CC_DLL UBOForwardLight { - static constexpr uint LIGHTS_PER_PASS = 1; - static constexpr uint LIGHT_POS_OFFSET = 0; - static constexpr uint LIGHT_COLOR_OFFSET = UBOForwardLight::LIGHT_POS_OFFSET + UBOForwardLight::LIGHTS_PER_PASS * 4; - static constexpr uint LIGHT_SIZE_RANGE_ANGLE_OFFSET = UBOForwardLight::LIGHT_COLOR_OFFSET + UBOForwardLight::LIGHTS_PER_PASS * 4; - static constexpr uint LIGHT_DIR_OFFSET = UBOForwardLight::LIGHT_SIZE_RANGE_ANGLE_OFFSET + UBOForwardLight::LIGHTS_PER_PASS * 4; - static constexpr uint COUNT = UBOForwardLight::LIGHT_DIR_OFFSET + UBOForwardLight::LIGHTS_PER_PASS * 4; - static constexpr uint SIZE = UBOForwardLight::COUNT * 4; - static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_FORWARD_LIGHTS); + static constexpr uint LIGHTS_PER_PASS = 1; + static constexpr uint LIGHT_POS_OFFSET = 0; + static constexpr uint LIGHT_COLOR_OFFSET = UBOForwardLight::LIGHT_POS_OFFSET + UBOForwardLight::LIGHTS_PER_PASS * 4; + static constexpr uint LIGHT_SIZE_RANGE_ANGLE_OFFSET = UBOForwardLight::LIGHT_COLOR_OFFSET + UBOForwardLight::LIGHTS_PER_PASS * 4; + static constexpr uint LIGHT_DIR_OFFSET = UBOForwardLight::LIGHT_SIZE_RANGE_ANGLE_OFFSET + UBOForwardLight::LIGHTS_PER_PASS * 4; + static constexpr uint COUNT = UBOForwardLight::LIGHT_DIR_OFFSET + UBOForwardLight::LIGHTS_PER_PASS * 4; + static constexpr uint SIZE = UBOForwardLight::COUNT * 4; + static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_FORWARD_LIGHTS); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; struct CC_DLL UBODeferredLight { @@ -245,58 +248,58 @@ struct CC_DLL UBODeferredLight { }; struct CC_DLL UBOSkinningTexture { - static constexpr uint JOINTS_TEXTURE_INFO_OFFSET = 0; - static constexpr uint COUNT = UBOSkinningTexture::JOINTS_TEXTURE_INFO_OFFSET + 4; - static constexpr uint SIZE = UBOSkinningTexture::COUNT * 4; - static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_SKINNING_TEXTURE); + static constexpr uint JOINTS_TEXTURE_INFO_OFFSET = 0; + static constexpr uint COUNT = UBOSkinningTexture::JOINTS_TEXTURE_INFO_OFFSET + 4; + static constexpr uint SIZE = UBOSkinningTexture::COUNT * 4; + static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_SKINNING_TEXTURE); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; struct CC_DLL UBOSkinningAnimation { - static constexpr uint JOINTS_ANIM_INFO_OFFSET = 0; - static constexpr uint COUNT = UBOSkinningAnimation::JOINTS_ANIM_INFO_OFFSET + 4; - static constexpr uint SIZE = UBOSkinningAnimation::COUNT * 4; - static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_SKINNING_ANIMATION); + static constexpr uint JOINTS_ANIM_INFO_OFFSET = 0; + static constexpr uint COUNT = UBOSkinningAnimation::JOINTS_ANIM_INFO_OFFSET + 4; + static constexpr uint SIZE = UBOSkinningAnimation::COUNT * 4; + static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_SKINNING_ANIMATION); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; struct CC_DLL UBOSkinning { - static constexpr uint JOINTS_OFFSET = 0; - static constexpr uint COUNT = UBOSkinning::JOINTS_OFFSET + JOINT_UNIFORM_CAPACITY * 12; - static constexpr uint SIZE = UBOSkinning::COUNT * 4; - static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_SKINNING_TEXTURE); + static constexpr uint JOINTS_OFFSET = 0; + static constexpr uint COUNT = UBOSkinning::JOINTS_OFFSET + JOINT_UNIFORM_CAPACITY * 12; + static constexpr uint SIZE = UBOSkinning::COUNT * 4; + static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_SKINNING_TEXTURE); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; struct CC_DLL UBOMorph { - static constexpr uint MAX_MORPH_TARGET_COUNT = 60; - static constexpr uint OFFSET_OF_WEIGHTS = 0; - static constexpr uint OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH = 4 * MAX_MORPH_TARGET_COUNT; - static constexpr uint OFFSET_OF_DISPLACEMENT_TEXTURE_HEIGHT = OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH + 4; - static constexpr uint OFFSET_OF_VERTICES_COUNT = OFFSET_OF_DISPLACEMENT_TEXTURE_HEIGHT + 4; - static const uint COUNT_BASE_4_BYTES; - static const uint SIZE; - static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_MORPH); + static constexpr uint MAX_MORPH_TARGET_COUNT = 60; + static constexpr uint OFFSET_OF_WEIGHTS = 0; + static constexpr uint OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH = 4 * MAX_MORPH_TARGET_COUNT; + static constexpr uint OFFSET_OF_DISPLACEMENT_TEXTURE_HEIGHT = OFFSET_OF_DISPLACEMENT_TEXTURE_WIDTH + 4; + static constexpr uint OFFSET_OF_VERTICES_COUNT = OFFSET_OF_DISPLACEMENT_TEXTURE_HEIGHT + 4; + static const uint COUNT_BASE_4_BYTES; + static const uint SIZE; + static constexpr uint BINDING = static_cast(ModelLocalBindings::UBO_MORPH); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; enum class CC_DLL ForwardStagePriority { FORWARD = 10, - UI = 20 + UI = 20 }; enum class CC_DLL ForwardFlowPriority { - SHADOW = 0, + SHADOW = 0, FORWARD = 1, - UI = 10, + UI = 10, }; enum class CC_DLL RenderFlowTag { @@ -306,68 +309,68 @@ enum class CC_DLL RenderFlowTag { }; enum class CC_DLL DeferredStagePriority { - GBUFFER = 10, - LIGHTING = 15, + GBUFFER = 10, + LIGHTING = 15, TRANSPARANT = 18, POSTPROCESS = 19, - UI = 20 + UI = 20 }; enum class CC_DLL DeferredFlowPriority { - SHADOW = 0, - GBUFFER = 1, + SHADOW = 0, + GBUFFER = 1, LIGHTING = 5, - UI = 10 + UI = 10 }; struct CC_DLL UBOGlobal : public Object { - static constexpr uint TIME_OFFSET = 0; - static constexpr uint SCREEN_SIZE_OFFSET = UBOGlobal::TIME_OFFSET + 4; - static constexpr uint NATIVE_SIZE_OFFSET = UBOGlobal::SCREEN_SIZE_OFFSET + 4; - static constexpr uint COUNT = UBOGlobal::NATIVE_SIZE_OFFSET + 4; - static constexpr uint SIZE = UBOGlobal::COUNT * 4; - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::UBO_GLOBAL); + static constexpr uint TIME_OFFSET = 0; + static constexpr uint SCREEN_SIZE_OFFSET = UBOGlobal::TIME_OFFSET + 4; + static constexpr uint NATIVE_SIZE_OFFSET = UBOGlobal::SCREEN_SIZE_OFFSET + 4; + static constexpr uint COUNT = UBOGlobal::NATIVE_SIZE_OFFSET + 4; + static constexpr uint SIZE = UBOGlobal::COUNT * 4; + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::UBO_GLOBAL); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; struct CC_DLL UBOCamera : public Object { - static constexpr uint MAT_VIEW_OFFSET = 0; - static constexpr uint MAT_VIEW_INV_OFFSET = UBOCamera::MAT_VIEW_OFFSET + 16; - static constexpr uint MAT_PROJ_OFFSET = UBOCamera::MAT_VIEW_INV_OFFSET + 16; - static constexpr uint MAT_PROJ_INV_OFFSET = UBOCamera::MAT_PROJ_OFFSET + 16; - static constexpr uint MAT_VIEW_PROJ_OFFSET = UBOCamera::MAT_PROJ_INV_OFFSET + 16; - static constexpr uint MAT_VIEW_PROJ_INV_OFFSET = UBOCamera::MAT_VIEW_PROJ_OFFSET + 16; - static constexpr uint CAMERA_POS_OFFSET = UBOCamera::MAT_VIEW_PROJ_INV_OFFSET + 16; - static constexpr uint SCREEN_SCALE_OFFSET = UBOCamera::CAMERA_POS_OFFSET + 4; - static constexpr uint EXPOSURE_OFFSET = UBOCamera::SCREEN_SCALE_OFFSET + 4; - static constexpr uint MAIN_LIT_DIR_OFFSET = UBOCamera::EXPOSURE_OFFSET + 4; - static constexpr uint MAIN_LIT_COLOR_OFFSET = UBOCamera::MAIN_LIT_DIR_OFFSET + 4; - static constexpr uint AMBIENT_SKY_OFFSET = UBOCamera::MAIN_LIT_COLOR_OFFSET + 4; - static constexpr uint AMBIENT_GROUND_OFFSET = UBOCamera::AMBIENT_SKY_OFFSET + 4; - static constexpr uint GLOBAL_FOG_COLOR_OFFSET = UBOCamera::AMBIENT_GROUND_OFFSET + 4; - static constexpr uint GLOBAL_FOG_BASE_OFFSET = UBOCamera::GLOBAL_FOG_COLOR_OFFSET + 4; - static constexpr uint GLOBAL_FOG_ADD_OFFSET = UBOCamera::GLOBAL_FOG_BASE_OFFSET + 4; - static constexpr uint COUNT = UBOCamera::GLOBAL_FOG_ADD_OFFSET + 4; - static constexpr uint SIZE = UBOCamera::COUNT * 4; - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::UBO_CAMERA); + static constexpr uint MAT_VIEW_OFFSET = 0; + static constexpr uint MAT_VIEW_INV_OFFSET = UBOCamera::MAT_VIEW_OFFSET + 16; + static constexpr uint MAT_PROJ_OFFSET = UBOCamera::MAT_VIEW_INV_OFFSET + 16; + static constexpr uint MAT_PROJ_INV_OFFSET = UBOCamera::MAT_PROJ_OFFSET + 16; + static constexpr uint MAT_VIEW_PROJ_OFFSET = UBOCamera::MAT_PROJ_INV_OFFSET + 16; + static constexpr uint MAT_VIEW_PROJ_INV_OFFSET = UBOCamera::MAT_VIEW_PROJ_OFFSET + 16; + static constexpr uint CAMERA_POS_OFFSET = UBOCamera::MAT_VIEW_PROJ_INV_OFFSET + 16; + static constexpr uint SCREEN_SCALE_OFFSET = UBOCamera::CAMERA_POS_OFFSET + 4; + static constexpr uint EXPOSURE_OFFSET = UBOCamera::SCREEN_SCALE_OFFSET + 4; + static constexpr uint MAIN_LIT_DIR_OFFSET = UBOCamera::EXPOSURE_OFFSET + 4; + static constexpr uint MAIN_LIT_COLOR_OFFSET = UBOCamera::MAIN_LIT_DIR_OFFSET + 4; + static constexpr uint AMBIENT_SKY_OFFSET = UBOCamera::MAIN_LIT_COLOR_OFFSET + 4; + static constexpr uint AMBIENT_GROUND_OFFSET = UBOCamera::AMBIENT_SKY_OFFSET + 4; + static constexpr uint GLOBAL_FOG_COLOR_OFFSET = UBOCamera::AMBIENT_GROUND_OFFSET + 4; + static constexpr uint GLOBAL_FOG_BASE_OFFSET = UBOCamera::GLOBAL_FOG_COLOR_OFFSET + 4; + static constexpr uint GLOBAL_FOG_ADD_OFFSET = UBOCamera::GLOBAL_FOG_BASE_OFFSET + 4; + static constexpr uint COUNT = UBOCamera::GLOBAL_FOG_ADD_OFFSET + 4; + static constexpr uint SIZE = UBOCamera::COUNT * 4; + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::UBO_CAMERA); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; struct CC_DLL UBOShadow : public Object { - static constexpr uint MAT_LIGHT_PLANE_PROJ_OFFSET = 0; - static constexpr uint MAT_LIGHT_VIEW_PROJ_OFFSET = UBOShadow::MAT_LIGHT_PLANE_PROJ_OFFSET + 16; - static constexpr uint SHADOW_COLOR_OFFSET = UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET + 16; - static constexpr uint SHADOW_INFO_OFFSET = UBOShadow::SHADOW_COLOR_OFFSET + 4; - static constexpr uint COUNT = UBOShadow::SHADOW_INFO_OFFSET + 4; - static constexpr uint SIZE = UBOShadow::COUNT * 4; - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::UBO_SHADOW); + static constexpr uint MAT_LIGHT_PLANE_PROJ_OFFSET = 0; + static constexpr uint MAT_LIGHT_VIEW_PROJ_OFFSET = UBOShadow::MAT_LIGHT_PLANE_PROJ_OFFSET + 16; + static constexpr uint SHADOW_COLOR_OFFSET = UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET + 16; + static constexpr uint SHADOW_INFO_OFFSET = UBOShadow::SHADOW_COLOR_OFFSET + 4; + static constexpr uint COUNT = UBOShadow::SHADOW_INFO_OFFSET + 4; + static constexpr uint SIZE = UBOShadow::COUNT * 4; + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::UBO_SHADOW); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformBlock LAYOUT; - static const String NAME; + static const gfx::UniformBlock LAYOUT; + static const String NAME; }; class CC_DLL SamplerLib : public Object { @@ -376,28 +379,28 @@ public: }; struct CC_DLL DescriptorSetLayoutInfos { - gfx::DescriptorSetLayoutBindingList bindings; - unordered_map blocks; + gfx::DescriptorSetLayoutBindingList bindings; + unordered_map blocks; unordered_map samplers; }; extern CC_DLL DescriptorSetLayoutInfos globalDescriptorSetLayout; extern CC_DLL DescriptorSetLayoutInfos localDescriptorSetLayout; -uint genSamplerHash(const gfx::SamplerInfo &); +uint genSamplerHash(const gfx::SamplerInfo &); gfx::Sampler *getSampler(uint hash); enum class LayerList : uint { - NONE = 0, + NONE = 0, IGNORE_RAYCAST = (1 << 20), - GIZMOS = (1 << 21), - EDITOR = (1 << 22), - UI_3D = (1 << 23), - SCENE_GIZMO = (1 << 24), - UI_2D = (1 << 25), + GIZMOS = (1 << 21), + EDITOR = (1 << 22), + UI_3D = (1 << 23), + SCENE_GIZMO = (1 << 24), + UI_2D = (1 << 25), PROFILER = (1 << 28), - DEFAULT = (1 << 30), - ALL = 0xffffffff, + DEFAULT = (1 << 30), + ALL = 0xffffffff, }; //TODO @@ -405,7 +408,7 @@ const uint CAMERA_DEFAULT_MASK = ~static_cast(LayerList::UI_2D) & ~static_ //constexpr CAMERA_DEFAULT_MASK = Layers.makeMaskExclude([Layers.BitMask.UI_2D, Layers.BitMask.GIZMOS, Layers.BitMask.EDITOR, // Layers.BitMask.SCENE_GIZMO, Layers.BitMask.PROFILER]); -uint nextPow2(uint val); +uint nextPow2(uint val); enum class CC_DLL SetIndex { GLOBAL, MATERIAL, @@ -415,106 +418,106 @@ extern CC_DLL uint GLOBAL_SET; extern CC_DLL uint MATERIAL_SET; extern CC_DLL uint LOCAL_SET; -extern CC_DLL uint SKYBOX_FLAG; +extern CC_DLL uint SKYBOX_FLAG; extern CC_DLL DescriptorSetLayoutInfos globalDescriptorSetLayout; extern CC_DLL DescriptorSetLayoutInfos localDescriptorSetLayout; struct CC_DLL SHADOWMAP : public Object { - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_SHADOWMAP); + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_SHADOWMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL SAMPLERGBUFFERALBEDOMAP : public Object { - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP); + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL SAMPLERGBUFFERPOSITIONMAP : public Object { - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP); + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL SAMPLERGBUFFERNORMALMAP : public Object { - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP); + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL SAMPLERGBUFFEREMISSIVEMAP : public Object { - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP); + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL SAMPLERLIGHTINGRESULTMAP : public Object { - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP); + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL ENVIRONMENT : public Object { - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_ENVIRONMENT); + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_ENVIRONMENT); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL SPOT_LIGHTING_MAP : public Object { - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_SPOT_LIGHTING_MAP); + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_SPOT_LIGHTING_MAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL JOINT_TEXTURE : public Object { - static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_JOINTS); + static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_JOINTS); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL POSITION_MORPH : public Object { - static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_POSITION); + static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_POSITION); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL NORMAL_MORPH : public Object { - static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_NORMAL); + static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_NORMAL); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL TANGENT_MORPH : public Object { - static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_TANGENT); + static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_TANGENT); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL LIGHTMAP_TEXTURE : public Object { - static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_LIGHTMAP); + static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_LIGHTMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; struct CC_DLL SPRITE_TEXTURE : public Object { - static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_SPRITE); + static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_SPRITE); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; - static const gfx::UniformSamplerTexture LAYOUT; - static const String NAME; + static const gfx::UniformSamplerTexture LAYOUT; + static const String NAME; }; } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index 35a87b78ed..7d5daf83bc 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -24,17 +24,17 @@ ****************************************************************************/ #include "InstancedBuffer.h" -#include "gfx/GFXBuffer.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXInputAssembler.h" +#include "gfx-base/GFXBuffer.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXInputAssembler.h" #include "helper/SharedMemory.h" namespace cc { namespace pipeline { map> InstancedBuffer::_buffers; -InstancedBuffer *InstancedBuffer::get(uint pass) { +InstancedBuffer * InstancedBuffer::get(uint pass) { return InstancedBuffer::get(pass, 0); } InstancedBuffer *InstancedBuffer::get(uint pass, uint extraKey) { @@ -63,13 +63,13 @@ void InstancedBuffer::destroy() { } void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel, uint passIdx) { - uint stride = 0; + uint stride = 0; const auto instancedBuffer = model->getInstancedBuffer(&stride); if (!stride) return; // we assume per-instance attributes are always present - auto sourceIA = subModel->getInputAssembler(); - auto lightingMap = subModel->getDescriptorSet()->getTexture(LIGHTMAP_TEXTURE::BINDING); - auto shader = subModel->getShader(passIdx); + auto sourceIA = subModel->getInputAssembler(); + auto lightingMap = subModel->getDescriptorSet()->getTexture(LIGHTMAP_TEXTURE::BINDING); + auto shader = subModel->getShader(passIdx); auto descriptorSet = subModel->getDescriptorSet(); for (int i = 0; i < _instances.size(); i++) { auto &instance = _instances[i]; @@ -89,7 +89,7 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel instance.capacity <<= 1; const auto newSize = instance.stride * instance.capacity; const auto oldData = instance.data; - instance.data = (uint8_t *)CC_MALLOC(newSize); + instance.data = (uint8_t *)CC_MALLOC(newSize); memcpy(instance.data, oldData, instance.vb->getSize()); instance.vb->resize(newSize); CC_FREE(oldData); @@ -107,7 +107,7 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel // Create a new instance auto newSize = stride * INITIAL_CAPACITY; - auto vb = _device->createBuffer({ + auto vb = _device->createBuffer({ gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, static_cast(newSize), @@ -115,14 +115,14 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel }); auto vertexBuffers = sourceIA->getVertexBuffers(); - auto attributes = sourceIA->getAttributes(); - auto indexBuffer = sourceIA->getIndexBuffer(); + auto attributes = sourceIA->getAttributes(); + auto indexBuffer = sourceIA->getIndexBuffer(); const auto attributesID = model->getInstancedAttributeID(); - const auto lenght = attributesID[0]; + const auto lenght = attributesID[0]; for (auto i = 1; i <= lenght; i++) { - const auto attribute = model->getInstancedAttribute(attributesID[i]); - gfx::Attribute newAttr = {attribute->name, attribute->format, attribute->isNormalized, static_cast(vertexBuffers.size()), true, attribute->location}; + const auto attribute = model->getInstancedAttribute(attributesID[i]); + gfx::Attribute newAttr = {attribute->name, attribute->format, attribute->isNormalized, static_cast(vertexBuffers.size()), true, attribute->location}; attributes.emplace_back(std::move(newAttr)); } @@ -130,8 +130,8 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel memcpy(data, instancedBuffer, stride); vertexBuffers.emplace_back(vb); gfx::InputAssemblerInfo iaInfo = {attributes, vertexBuffers, indexBuffer}; - auto ia = _device->createInputAssembler(iaInfo); - InstancedItem item = {1, INITIAL_CAPACITY, vb, data, ia, stride, shader, descriptorSet, lightingMap}; + auto ia = _device->createInputAssembler(iaInfo); + InstancedItem item = {1, INITIAL_CAPACITY, vb, data, ia, stride, shader, descriptorSet, lightingMap}; _instances.emplace_back(std::move(item)); _hasPendingModels = true; } diff --git a/native/cocos/renderer/pipeline/PipelineSceneData.cpp b/native/cocos/renderer/pipeline/PipelineSceneData.cpp index 5321660d19..35ec53a65f 100644 --- a/native/cocos/renderer/pipeline/PipelineSceneData.cpp +++ b/native/cocos/renderer/pipeline/PipelineSceneData.cpp @@ -24,9 +24,9 @@ ****************************************************************************/ #include "PipelineSceneData.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXFramebuffer.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXFramebuffer.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.cpp b/native/cocos/renderer/pipeline/PipelineStateManager.cpp index 6c3bc4cc55..4e564ff134 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.cpp +++ b/native/cocos/renderer/pipeline/PipelineStateManager.cpp @@ -24,29 +24,29 @@ ****************************************************************************/ #include "PipelineStateManager.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXInputAssembler.h" -#include "gfx/GFXRenderPass.h" -#include "gfx/GFXShader.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXInputAssembler.h" +#include "gfx-base/GFXRenderPass.h" +#include "gfx-base/GFXShader.h" #include "helper/SharedMemory.h" namespace cc { namespace pipeline { map PipelineStateManager::_PSOHashMap; -gfx::PipelineState *PipelineStateManager::getOrCreatePipelineState(const PassView *pass, - gfx::Shader *shader, +gfx::PipelineState * PipelineStateManager::getOrCreatePipelineState(const PassView * pass, + gfx::Shader * shader, gfx::InputAssembler *inputAssembler, - gfx::RenderPass *renderPass) { - const auto passHash = pass->hash; + gfx::RenderPass * renderPass) { + const auto passHash = pass->hash; const auto renderPassHash = renderPass->getHash(); - const auto iaHash = inputAssembler->getAttributesHash(); - const auto shaderID = shader->getID(); - const auto hash = passHash ^ renderPassHash ^ iaHash ^ shaderID; + const auto iaHash = inputAssembler->getAttributesHash(); + const auto shaderID = shader->getID(); + const auto hash = passHash ^ renderPassHash ^ iaHash ^ shaderID; auto pso = _PSOHashMap[hash]; if (!pso) { - auto pipelineLayout = pass->getPipelineLayout(); - gfx::PipelineStateInfo info = { + auto pipelineLayout = pass->getPipelineLayout(); + gfx::PipelineStateInfo info = { shader, pipelineLayout, renderPass, @@ -57,17 +57,17 @@ gfx::PipelineState *PipelineStateManager::getOrCreatePipelineState(const PassVie pass->getPrimitive(), pass->getDynamicState()}; - pso = gfx::Device::getInstance()->createPipelineState(std::move(info)); + pso = gfx::Device::getInstance()->createPipelineState(std::move(info)); _PSOHashMap[hash] = pso; } return pso; } -gfx::PipelineState *PipelineStateManager::getOrCreatePipelineStateByJS(uint32_t passHandle, - gfx::Shader *shader, +gfx::PipelineState *PipelineStateManager::getOrCreatePipelineStateByJS(uint32_t passHandle, + gfx::Shader * shader, gfx::InputAssembler *inputAssembler, - gfx::RenderPass *renderPass) { + gfx::RenderPass * renderPass) { const auto pass = GET_PASS(passHandle); CC_ASSERT(pass); return PipelineStateManager::getOrCreatePipelineState(pass, shader, inputAssembler, renderPass); diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.h b/native/cocos/renderer/pipeline/PipelineStateManager.h index c38d7919b1..7439fc45f9 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.h +++ b/native/cocos/renderer/pipeline/PipelineStateManager.h @@ -25,16 +25,11 @@ #pragma once -#include "core/CoreStd.h" +#include "gfx-base/GFXDef.h" namespace cc { -namespace gfx { -class InputAssembler; -class PipelineState; -class RenderPass; -}; // namespace gfx - namespace pipeline { + struct PassView; class CC_DLL PipelineStateManager { diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index 23a6e6f298..9ce7b11c06 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -26,7 +26,7 @@ #include "PipelineUBO.h" #include "platform/Application.h" #include "SceneCulling.h" -#include "gfx/GFXDevice.h" +#include "gfx-base/GFXDevice.h" #include "RenderPipeline.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index 042bd1bfe8..96954291f5 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -33,11 +33,11 @@ #include "PipelineStateManager.h" #include "RenderBatchedQueue.h" #include "RenderInstancedQueue.h" -#include "gfx/GFXCommandBuffer.h" +#include "gfx-base/GFXCommandBuffer.h" #include "helper/SharedMemory.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXShader.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXShader.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.h b/native/cocos/renderer/pipeline/PlanarShadowQueue.h index 9a2ac5cbb9..b02b19485f 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.h +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.h @@ -24,7 +24,7 @@ ****************************************************************************/ #pragma once -#include "core/CoreStd.h" +#include "base/CoreStd.h" namespace cc { namespace gfx { diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index a7134b3f37..d9fd48cebb 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -30,20 +30,19 @@ #include "PipelineStateManager.h" #include "RenderAdditiveLightQueue.h" -#include "Application.h" +#include "Define.h" #include "RenderBatchedQueue.h" #include "RenderInstancedQueue.h" -#include "forward/ForwardPipeline.h" -#include "gfx/GFXBuffer.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXFramebuffer.h" -#include "helper/SharedMemory.h" -#include "gfx/GFXSampler.h" -#include "gfx/GFXTexture.h" -#include "Define.h" #include "SceneCulling.h" +#include "forward/ForwardPipeline.h" +#include "gfx-base/GFXBuffer.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXSampler.h" +#include "gfx-base/GFXTexture.h" +#include "helper/SharedMemory.h" namespace cc { namespace pipeline { @@ -51,17 +50,17 @@ namespace pipeline { RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _pipeline(static_cast(pipeline)), _instancedQueue(CC_NEW(RenderInstancedQueue)), _batchedQueue(CC_NEW(RenderBatchedQueue)) { - auto *device = gfx::Device::getInstance(); - const auto alignment = device->getCapabilities().uboOffsetAlignment; - _lightBufferStride = ((UBOForwardLight::SIZE + alignment - 1) / alignment) * alignment; + auto * device = gfx::Device::getInstance(); + const auto alignment = device->getCapabilities().uboOffsetAlignment; + _lightBufferStride = ((UBOForwardLight::SIZE + alignment - 1) / alignment) * alignment; _lightBufferElementCount = _lightBufferStride / sizeof(float); - _lightBuffer = device->createBuffer({ + _lightBuffer = device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, _lightBufferStride * _lightBufferCount, _lightBufferStride, }); - _firstLightBufferView = device->createBuffer({_lightBuffer, 0, UBOForwardLight::SIZE}); + _firstLightBufferView = device->createBuffer({_lightBuffer, 0, UBOForwardLight::SIZE}); _lightBufferData.resize(_lightBufferElementCount * _lightBufferCount); _dynamicOffsets.resize(1, 0); @@ -74,7 +73,7 @@ RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _ gfx::Address::CLAMP, }; const auto shadowMapSamplerHash = genSamplerHash(std::move(info)); - _sampler = getSampler(shadowMapSamplerHash); + _sampler = getSampler(shadowMapSamplerHash); _phaseID = getPhaseID("forward-add"); @@ -92,23 +91,23 @@ void RenderAdditiveLightQueue::recordCommandBuffer(gfx::Device *device, gfx::Ren _batchedQueue->recordCommandBuffer(device, renderPass, cmdBuffer); for (const auto &lightPass : _lightPasses) { - const auto subModel = lightPass.subModel; - const auto pass = lightPass.pass; + const auto subModel = lightPass.subModel; + const auto pass = lightPass.pass; const auto &dynamicOffsets = lightPass.dynamicOffsets; - auto *shader = lightPass.shader; - const auto lights = lightPass.lights; - auto *ia = subModel->getInputAssembler(); - auto *pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); - auto *descriptorSet = subModel->getDescriptorSet(); + auto * shader = lightPass.shader; + const auto lights = lightPass.lights; + auto * ia = subModel->getInputAssembler(); + auto * pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); + auto * descriptorSet = subModel->getDescriptorSet(); cmdBuffer->bindPipelineState(pso); cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); cmdBuffer->bindInputAssembler(ia); for (size_t i = 0; i < dynamicOffsets.size(); ++i) { - const auto *light = lights[i]; - auto *globalDescriptorSet = getOrCreateDescriptorSet(light); - _dynamicOffsets[0] = dynamicOffsets[i]; + const auto *light = lights[i]; + auto * globalDescriptorSet = getOrCreateDescriptorSet(light); + _dynamicOffsets[0] = dynamicOffsets[i]; cmdBuffer->bindDescriptorSet(GLOBAL_SET, globalDescriptorSet); cmdBuffer->bindDescriptorSet(LOCAL_SET, descriptorSet, _dynamicOffsets); cmdBuffer->draw(ia); @@ -135,7 +134,7 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm _lightIndices.clear(); for (size_t i = 0; i < _validLights.size(); i++) { - const auto light = _validLights[i]; + const auto light = _validLights[i]; const bool isCulled = cullingLight(light, model); if (!isCulled) { _lightIndices.emplace_back(i); @@ -144,13 +143,13 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm if (_lightIndices.empty()) continue; const auto subModelArrayID = model->getSubModelID(); - const auto subModelCount = subModelArrayID[0]; + const auto subModelCount = subModelArrayID[0]; for (unsigned j = 1; j <= subModelCount; j++) { const auto lightPassIdx = lightPassIndices[j - 1]; if (lightPassIdx == UINT_MAX) continue; - const auto subModel = model->getSubModelView(subModelArrayID[j]); - const auto pass = subModel->getPassView(lightPassIdx); - auto descriptorSet = subModel->getDescriptorSet(); + const auto subModel = model->getSubModelView(subModelArrayID[j]); + const auto pass = subModel->getPassView(lightPassIdx); + auto descriptorSet = subModel->getDescriptorSet(); descriptorSet->bindBuffer(UBOForwardLight::BINDING, _firstLightBufferView); descriptorSet->update(); @@ -187,11 +186,11 @@ void RenderAdditiveLightQueue::clear() { _lightPasses.clear(); } -void RenderAdditiveLightQueue::gatherValidLights(const Camera* camera) { - const auto scene = camera->getScene(); +void RenderAdditiveLightQueue::gatherValidLights(const Camera *camera) { + const auto scene = camera->getScene(); const auto sphereLightArrayID = scene->getSphereLightArrayID(); - auto count = sphereLightArrayID ? sphereLightArrayID[0] : 0; - Sphere sphere; + auto count = sphereLightArrayID ? sphereLightArrayID[0] : 0; + Sphere sphere; for (unsigned i = 1; i <= count; i++) { const auto light = scene->getSphereLight(sphereLightArrayID[i]); sphere.setCenter(light->position); @@ -202,7 +201,7 @@ void RenderAdditiveLightQueue::gatherValidLights(const Camera* camera) { } } const auto spotLightArrayID = scene->getSpotLightArrayID(); - count = spotLightArrayID ? spotLightArrayID[0] : 0; + count = spotLightArrayID ? spotLightArrayID[0] : 0; for (unsigned i = 1; i <= count; i++) { const auto light = scene->getSpotLight(spotLightArrayID[i]); sphere.setCenter(light->position); @@ -241,11 +240,11 @@ void RenderAdditiveLightQueue::addRenderQueue(const PassView *pass, const SubMod _batchedQueue->add(buffer); } } else { // standard draw - const auto count = _lightIndices.size(); + const auto count = _lightIndices.size(); AdditiveLightPass lightPass; lightPass.subModel = subModel; - lightPass.pass = pass; - lightPass.shader = subModel->getShader(lightPassIdx); + lightPass.pass = pass; + lightPass.shader = subModel->getShader(lightPassIdx); lightPass.dynamicOffsets.resize(count); for (unsigned idx = 0; idx < count; idx++) { const auto lightIdx = _lightIndices[idx]; @@ -258,10 +257,10 @@ void RenderAdditiveLightQueue::addRenderQueue(const PassView *pass, const SubMod } void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { - const auto exposure = camera->exposure; + const auto exposure = camera->exposure; const auto validLightCount = _validLights.size(); - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + const auto sceneData = _pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); if (validLightCount > _lightBufferCount) { _firstLightBufferView->destroy(); @@ -274,19 +273,19 @@ void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuff for (unsigned l = 0, offset = 0; l < validLightCount; l++, offset += _lightBufferElementCount) { const auto light = _validLights[l]; - auto index = offset + UBOForwardLight::LIGHT_POS_OFFSET; + auto index = offset + UBOForwardLight::LIGHT_POS_OFFSET; _lightBufferData[index++] = light->position.x; _lightBufferData[index++] = light->position.y; - _lightBufferData[index] = light->position.z; + _lightBufferData[index] = light->position.z; - index = offset + UBOForwardLight::LIGHT_SIZE_RANGE_ANGLE_OFFSET; + index = offset + UBOForwardLight::LIGHT_SIZE_RANGE_ANGLE_OFFSET; _lightBufferData[index++] = light->size; - _lightBufferData[index] = light->range; + _lightBufferData[index] = light->range; - index = offset + UBOForwardLight::LIGHT_COLOR_OFFSET; + index = offset + UBOForwardLight::LIGHT_COLOR_OFFSET; const auto &color = light->color; if (light->useColorTemperature) { - const auto &tempRGB = light->colorTemperatureRGB; + const auto &tempRGB = light->colorTemperatureRGB; _lightBufferData[index++] = color.x * tempRGB.x; _lightBufferData[index++] = color.y * tempRGB.y; _lightBufferData[index++] = color.z * tempRGB.z; @@ -303,17 +302,17 @@ void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuff switch (light->getType()) { case LightType::SPHERE: - _lightBufferData[offset + UBOForwardLight::LIGHT_POS_OFFSET + 3] = 0; + _lightBufferData[offset + UBOForwardLight::LIGHT_POS_OFFSET + 3] = 0; _lightBufferData[offset + UBOForwardLight::LIGHT_SIZE_RANGE_ANGLE_OFFSET + 2] = 0; break; case LightType::SPOT: - _lightBufferData[offset + UBOForwardLight::LIGHT_POS_OFFSET + 3] = 1.0f; + _lightBufferData[offset + UBOForwardLight::LIGHT_POS_OFFSET + 3] = 1.0f; _lightBufferData[offset + UBOForwardLight::LIGHT_SIZE_RANGE_ANGLE_OFFSET + 2] = light->spotAngle; - index = offset + UBOForwardLight::LIGHT_DIR_OFFSET; + index = offset + UBOForwardLight::LIGHT_DIR_OFFSET; _lightBufferData[index++] = light->direction.x; _lightBufferData[index++] = light->direction.y; - _lightBufferData[index] = light->direction.z; + _lightBufferData[index] = light->direction.z; break; default: break; @@ -324,15 +323,17 @@ void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuff } void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { - const auto sceneData = _pipeline->getPipelineSceneData(); - auto *shadowInfo = sceneData->getSharedData()->getShadows(); - const auto scene = camera->getScene(); - const Light *mainLight = nullptr; + const auto sceneData = _pipeline->getPipelineSceneData(); + auto * shadowInfo = sceneData->getSharedData()->getShadows(); + const auto scene = camera->getScene(); + const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); for (const auto *light : _validLights) { auto *descriptorSet = getOrCreateDescriptorSet(light); - if (!descriptorSet) { return; } + if (!descriptorSet) { + return; + } descriptorSet->bindSampler(SHADOWMAP::BINDING, _sampler); descriptorSet->bindSampler(SPOT_LIGHTING_MAP::BINDING, _sampler); @@ -398,14 +399,14 @@ bool RenderAdditiveLightQueue::getLightPassIndex(const ModelView *model, vector< bool hasValidLightPass = false; const auto subModelArrayID = model->getSubModelID(); - const auto count = subModelArrayID[0]; + const auto count = subModelArrayID[0]; for (unsigned i = 1; i <= count; i++) { - const auto subModel = model->getSubModelView(subModelArrayID[i]); - uint lightPassIndex = UINT_MAX; + const auto subModel = model->getSubModelView(subModelArrayID[i]); + uint lightPassIndex = UINT_MAX; for (unsigned passIdx = 0; passIdx < subModel->passCount; passIdx++) { const auto pass = subModel->getPassView(passIdx); if (pass->phase == _phaseID) { - lightPassIndex = passIdx; + lightPassIndex = passIdx; hasValidLightPass = true; break; } @@ -418,7 +419,7 @@ bool RenderAdditiveLightQueue::getLightPassIndex(const ModelView *model, vector< gfx::DescriptorSet *RenderAdditiveLightQueue::getOrCreateDescriptorSet(const Light *light) { if (!_descriptorSetMap.count(light)) { - auto *device = gfx::Device::getInstance(); + auto * device = gfx::Device::getInstance(); gfx::DescriptorSet *descriptorSet = device->createDescriptorSet({_pipeline->getDescriptorSetLayout()}); auto globalUBO = device->createBuffer({ diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h index ac14ad4dfd..da0100434e 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h @@ -25,7 +25,7 @@ #pragma once -#include "core/CoreStd.h" +#include "base/CoreStd.h" #include "helper/SharedMemory.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp index 0e23c064c6..d4d96d5620 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp @@ -26,8 +26,7 @@ #include "RenderBatchedQueue.h" #include "BatchedBuffer.h" #include "PipelineStateManager.h" -#include "gfx/GFXBuffer.h" -#include "gfx/GFXCommandBuffer.h" +#include "gfx-base/GFXBase.h" #include "helper/SharedMemory.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.h b/native/cocos/renderer/pipeline/RenderBatchedQueue.h index 3bbdebacce..a46128093c 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.h +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.h @@ -25,7 +25,8 @@ #pragma once -#include "core/CoreStd.h" +#include "gfx-base/GFXDef.h" +#include "base/Object.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp index 3e7acad8b2..23a95d7985 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp @@ -26,7 +26,7 @@ #include "RenderInstancedQueue.h" #include "InstancedBuffer.h" #include "PipelineStateManager.h" -#include "gfx/GFXCommandBuffer.h" +#include "gfx-base/GFXCommandBuffer.h" #include "helper/SharedMemory.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.h b/native/cocos/renderer/pipeline/RenderInstancedQueue.h index f15f6b14ea..41016eb3bd 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.h +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.h @@ -25,7 +25,7 @@ #pragma once -#include "core/CoreStd.h" +#include "gfx-base/GFXBase.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index 0156fa5125..3e66b99554 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -25,11 +25,11 @@ #include "RenderPipeline.h" #include "RenderFlow.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDescriptorSetLayout.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXTexture.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDescriptorSetLayout.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXTexture.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/RenderPipeline.h b/native/cocos/renderer/pipeline/RenderPipeline.h index 6655fa7136..c713f3ac6d 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.h +++ b/native/cocos/renderer/pipeline/RenderPipeline.h @@ -25,12 +25,12 @@ #pragma once -#include "../core/CoreStd.h" #include "Define.h" +#include "PipelineSceneData.h" +#include "PipelineUBO.h" +#include "base/CoreStd.h" #include "helper/DefineMap.h" #include "helper/SharedMemory.h" -#include "PipelineUBO.h" -#include "PipelineSceneData.h" namespace cc { namespace gfx { @@ -43,7 +43,7 @@ namespace pipeline { class DefineMap; struct CC_DLL RenderPipelineInfo { - uint tag = 0; + uint tag = 0; RenderFlowList flows; }; @@ -62,10 +62,10 @@ public: void setPipelineSharedSceneData(uint handle); CC_INLINE const RenderFlowList &getFlows() const { return _flows; } - CC_INLINE uint getTag() const { return _tag; } + CC_INLINE uint getTag() const { return _tag; } CC_INLINE const map &getGlobalBindings() const { return _globalBindings; } CC_INLINE const DefineMap &getMacros() const { return _macros; } - CC_INLINE void setValue(const String &name, bool value) { _macros.setValue(name, value); } + CC_INLINE void setValue(const String &name, bool value) { _macros.setValue(name, value); } CC_INLINE gfx::DescriptorSet *getDescriptorSet() const { return _descriptorSet; } CC_INLINE gfx::DescriptorSetLayout *getDescriptorSetLayout() const { return _descriptorSetLayout; } CC_INLINE gfx::Texture *getDefaultTexture() const { return _defaultTexture; } @@ -76,19 +76,19 @@ public: protected: static RenderPipeline *_instance; - void setDescriptorSetLayout(); + void setDescriptorSetLayout(); - gfx::CommandBufferList _commandBuffers; - RenderFlowList _flows; + gfx::CommandBufferList _commandBuffers; + RenderFlowList _flows; map _globalBindings; - DefineMap _macros; - uint _tag = 0; + DefineMap _macros; + uint _tag = 0; - gfx::Device *_device = nullptr; + gfx::Device * _device = nullptr; gfx::DescriptorSetLayout *_descriptorSetLayout = nullptr; - gfx::DescriptorSet *_descriptorSet = nullptr; - PipelineUBO *_pipelineUBO = nullptr; - PipelineSceneData *_pipelineSceneData = nullptr; + gfx::DescriptorSet * _descriptorSet = nullptr; + PipelineUBO * _pipelineUBO = nullptr; + PipelineSceneData * _pipelineSceneData = nullptr; // has not initBuiltinRes, // create temporary default Texture to binding sampler2d gfx::Texture *_defaultTexture = nullptr; diff --git a/native/cocos/renderer/pipeline/RenderQueue.cpp b/native/cocos/renderer/pipeline/RenderQueue.cpp index 9c52c6e33b..0dcb1fcd3f 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderQueue.cpp @@ -25,8 +25,8 @@ #include "RenderQueue.h" #include "PipelineStateManager.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXShader.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXShader.h" #include "helper/SharedMemory.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/RenderStage.cpp b/native/cocos/renderer/pipeline/RenderStage.cpp index 8169e90a16..c2cba49538 100644 --- a/native/cocos/renderer/pipeline/RenderStage.cpp +++ b/native/cocos/renderer/pipeline/RenderStage.cpp @@ -25,7 +25,7 @@ #include "RenderStage.h" #include "RenderQueue.h" -#include "gfx/GFXDevice.h" +#include "gfx-base/GFXDevice.h" namespace cc { namespace pipeline { RenderStage::RenderStage() diff --git a/native/cocos/renderer/pipeline/SceneCulling.cpp b/native/cocos/renderer/pipeline/SceneCulling.cpp index 69bcd0ed52..e9715530f2 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/SceneCulling.cpp @@ -30,8 +30,8 @@ #include "helper/SharedMemory.h" #include "RenderPipeline.h" #include "SceneCulling.h" -#include "gfx/GFXBuffer.h" -#include "gfx/GFXDescriptorSet.h" +#include "gfx-base/GFXBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" #include "math/Quaternion.h" #include "platform/Application.h" diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp index 29fc30006c..15386149f4 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp @@ -34,9 +34,9 @@ #include "ShadowMapBatchedQueue.h" #include "forward/ForwardPipeline.h" #include "SceneCulling.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDevice.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDevice.h" #include "helper/SharedMemory.h" #include "PipelineSceneData.h" #include "PipelineUBO.h" diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h index 3418cdc891..b418b7f6a1 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.h @@ -26,7 +26,7 @@ #pragma once #include -#include "core/CoreStd.h" +#include "base/CoreStd.h" #include "Define.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 3f98afde78..8303c6e77f 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -29,15 +29,15 @@ #include "LightingFlow.h" #include "../shadow/ShadowFlow.h" #include "../SceneCulling.h" -#include "gfx/GFXBuffer.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXQueue.h" -#include "gfx/GFXRenderPass.h" -#include "gfx/GFXTexture.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXSampler.h" +#include "gfx-base/GFXBuffer.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXQueue.h" +#include "gfx-base/GFXRenderPass.h" +#include "gfx-base/GFXTexture.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXSampler.h" #include "platform/Application.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h index 8ec8876102..1b145df7eb 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -27,10 +27,10 @@ #include -#include "../RenderPipeline.h" -#include "../helper/SharedMemory.h" -#include "../../core/gfx/GFXBuffer.h" -#include "../../core/gfx/GFXInputAssembler.h" +#include "pipeline/RenderPipeline.h" +#include "pipeline/helper/SharedMemory.h" +#include "gfx-base/GFXBuffer.h" +#include "gfx-base/GFXInputAssembler.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp index 44558f0606..b8f56fe31b 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp @@ -26,11 +26,11 @@ #include "GbufferFlow.h" #include "DeferredPipeline.h" #include "GbufferStage.h" -#include "../SceneCulling.h" -#include "../../core/gfx/GFXDevice.h" -#include "../../core/gfx/GFXDescriptorSet.h" -#include "../../core/gfx/GFXSampler.h" -#include "gfx/GFXRenderPass.h" +#include "pipeline/SceneCulling.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXSampler.h" +#include "gfx-base/GFXRenderPass.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp index baf5ff5fda..0acdca840b 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp @@ -33,10 +33,10 @@ #include "../RenderQueue.h" #include "../helper/SharedMemory.h" #include "DeferredPipeline.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXQueue.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXQueue.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.h b/native/cocos/renderer/pipeline/deferred/GbufferStage.h index a4ed588771..b4ca668ef2 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.h +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.h @@ -25,8 +25,8 @@ #pragma once -#include "../RenderStage.h" -#include "../../core/gfx/GFXFramebuffer.h" +#include "pipeline/RenderStage.h" +#include "gfx-base/GFXFramebuffer.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp index df3057c1fe..327bbaf65b 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp @@ -27,10 +27,10 @@ #include "DeferredPipeline.h" #include "LightingStage.h" #include "../SceneCulling.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXDevice.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXDevice.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp index 4d3bb95aea..c53f249f84 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp @@ -33,11 +33,11 @@ #include "../RenderQueue.h" #include "../helper/SharedMemory.h" #include "DeferredPipeline.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXQueue.h" -#include "gfx/GFXDescriptorSet.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXQueue.h" +#include "gfx-base/GFXDescriptorSet.h" #include "../PipelineStateManager.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp index 9c8057d939..52df257ac3 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp @@ -25,11 +25,11 @@ #include "PostprocessStage.h" #include "DeferredPipeline.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXCommandBuffer.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXCommandBuffer.h" #include "../helper/SharedMemory.h" #include "../PipelineStateManager.h" -#include "gfx/GFXDevice.h" +#include "gfx-base/GFXDevice.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index d8851994ae..7451f4ec88 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -27,15 +27,15 @@ #include "../shadow/ShadowFlow.h" #include "ForwardFlow.h" #include "../SceneCulling.h" -#include "gfx/GFXBuffer.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXQueue.h" -#include "gfx/GFXRenderPass.h" -#include "gfx/GFXSampler.h" -#include "gfx/GFXTexture.h" +#include "gfx-base/GFXBuffer.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXQueue.h" +#include "gfx-base/GFXRenderPass.h" +#include "gfx-base/GFXSampler.h" +#include "gfx-base/GFXTexture.h" #include "platform/Application.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp index 6aa479ed26..7279780a0c 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp @@ -33,10 +33,10 @@ #include "../RenderQueue.h" #include "../helper/SharedMemory.h" #include "ForwardPipeline.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXQueue.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXQueue.h" #include "UIPhase.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/forward/UIPhase.cpp b/native/cocos/renderer/pipeline/forward/UIPhase.cpp index 5264610c33..77f72edd23 100644 --- a/native/cocos/renderer/pipeline/forward/UIPhase.cpp +++ b/native/cocos/renderer/pipeline/forward/UIPhase.cpp @@ -26,7 +26,7 @@ #include "UIPhase.h" #include "ForwardPipeline.h" #include "pipeline/PipelineStateManager.h" -#include "gfx/GFXCommandBuffer.h" +#include "gfx-base/GFXCommandBuffer.h" namespace cc { namespace pipeline { diff --git a/native/cocos/renderer/pipeline/helper/DefineMap.h b/native/cocos/renderer/pipeline/helper/DefineMap.h index b38fa93b73..a46eb4dc93 100644 --- a/native/cocos/renderer/pipeline/helper/DefineMap.h +++ b/native/cocos/renderer/pipeline/helper/DefineMap.h @@ -25,7 +25,7 @@ #pragma once -#include "../../core/CoreStd.h" +#include "base/CoreStd.h" #include "base/Macros.h" #include "cocos/bindings/jswrapper/Object.h" diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp index 153d8eef90..372857b51e 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp @@ -24,32 +24,32 @@ ****************************************************************************/ #include "SharedMemory.h" -#include "../math/MathUtil.h" -#include "renderer/core/gfx/GFXDef.h" +#include "gfx-base/GFXDef.h" +#include "math/MathUtil.h" namespace cc { namespace pipeline { -const se::PoolType ModelView::type = se::PoolType::MODEL; -const se::PoolType SubModelView::type = se::PoolType::SUB_MODEL; -const se::PoolType PassView::type = se::PoolType::PASS; -const se::PoolType Camera::type = se::PoolType::CAMERA; -const se::PoolType AABB::type = se::PoolType::AABB; -const se::PoolType Frustum::type = se::PoolType::FRUSTUM; -const se::PoolType Scene::type = se::PoolType::SCENE; -const se::PoolType Light::type = se::PoolType::LIGHT; -const se::PoolType Ambient::type = se::PoolType::AMBIENT; -const se::PoolType Fog::type = se::PoolType::FOG; -const se::PoolType Skybox::type = se::PoolType::SKYBOX; -const se::PoolType InstancedAttributeView::type = se::PoolType::INSTANCED_ATTRIBUTE; -const se::PoolType FlatBufferView::type = se::PoolType::FLAT_BUFFER; -const se::PoolType RenderingSubMesh::type = se::PoolType::SUB_MESH; -const se::PoolType Node::type = se::PoolType::NODE; -const se::PoolType Root::type = se::PoolType::ROOT; -const se::PoolType RenderWindow::type = se::PoolType::RENDER_WINDOW; -const se::PoolType Shadows::type = se::PoolType::SHADOW; -const se::PoolType Sphere::type = se::PoolType::SPHERE; -const se::PoolType UIBatch::type = se::PoolType::UI_BATCH; +const se::PoolType ModelView::type = se::PoolType::MODEL; +const se::PoolType SubModelView::type = se::PoolType::SUB_MODEL; +const se::PoolType PassView::type = se::PoolType::PASS; +const se::PoolType Camera::type = se::PoolType::CAMERA; +const se::PoolType AABB::type = se::PoolType::AABB; +const se::PoolType Frustum::type = se::PoolType::FRUSTUM; +const se::PoolType Scene::type = se::PoolType::SCENE; +const se::PoolType Light::type = se::PoolType::LIGHT; +const se::PoolType Ambient::type = se::PoolType::AMBIENT; +const se::PoolType Fog::type = se::PoolType::FOG; +const se::PoolType Skybox::type = se::PoolType::SKYBOX; +const se::PoolType InstancedAttributeView::type = se::PoolType::INSTANCED_ATTRIBUTE; +const se::PoolType FlatBufferView::type = se::PoolType::FLAT_BUFFER; +const se::PoolType RenderingSubMesh::type = se::PoolType::SUB_MESH; +const se::PoolType Node::type = se::PoolType::NODE; +const se::PoolType Root::type = se::PoolType::ROOT; +const se::PoolType RenderWindow::type = se::PoolType::RENDER_WINDOW; +const se::PoolType Shadows::type = se::PoolType::SHADOW; +const se::PoolType Sphere::type = se::PoolType::SPHERE; +const se::PoolType UIBatch::type = se::PoolType::UI_BATCH; const se::PoolType PipelineSharedSceneData::type = se::PoolType::PIPELINE_SHARED_SCENE_DATA; void AABB::getBoundary(cc::Vec3 &minPos, cc::Vec3 &maxPos) const { @@ -68,13 +68,13 @@ void AABB::merge(const AABB &aabb) { cc::Vec3 addP = maxP + minP; cc::Vec3 subP = maxP - minP; - center = addP * 0.5f; - halfExtents = subP * 0.5f; + center = addP * 0.5f; + halfExtents = subP * 0.5f; } int Sphere::interset(const Plane &plane) const { const float dot = plane.normal.dot(center); - const float r = radius * plane.normal.length(); + const float r = radius * plane.normal.length(); if (dot + r < plane.distance) { return -1; } @@ -103,7 +103,7 @@ void Sphere::mergePoint(const cc::Vec3 &point) { return; } - auto offset = point - center; + auto offset = point - center; auto distance = offset.length(); if (distance > radius) { @@ -124,7 +124,7 @@ void Sphere::define(const AABB &aabb) { // Calculate sphere const cc::Vec3 offset = maxPos - center; - const float dist = offset.length(); + const float dist = offset.length(); const float half = dist * 0.5f; radius += dist * 0.5f; @@ -140,7 +140,7 @@ void Sphere::mergeAABB(const AABB *aabb) { int sphere_plane(const Sphere *sphere, const Plane *plane) { const auto dot = cc::Vec3::dot(plane->normal, sphere->center); - const auto r = sphere->radius * plane->normal.length(); + const auto r = sphere->radius * plane->normal.length(); if (dot + r < plane->distance) { return -1; } else if (dot - r > plane->distance) { @@ -172,7 +172,7 @@ bool aabb_aabb(const AABB *aabb1, const AABB *aabb2) { int aabb_plane(const AABB *aabb, const Plane *plane) { const auto &halfExtents = aabb->halfExtents; - auto r = halfExtents.x * std::abs(plane->normal.x) + + auto r = halfExtents.x * std::abs(plane->normal.x) + halfExtents.y * std::abs(plane->normal.y) + halfExtents.z * std::abs(plane->normal.z); auto dot = Vec3::dot(plane->normal, aabb->center); @@ -196,13 +196,13 @@ bool aabb_frustum(const AABB *aabb, const Frustum *frustum) { gfx::BlendState *getBlendStateImpl(uint index) { static gfx::BlendState blendState; - auto buffer = SharedMemory::getBuffer(se::PoolType::BLEND_STATE, index); + auto buffer = SharedMemory::getBuffer(se::PoolType::BLEND_STATE, index); memcpy(&blendState, buffer, 24); - uint32_t targetArrayHandle = *(buffer + 6); - const auto targetsHandle = GET_BLEND_TARGET_ARRAY(targetArrayHandle); - uint32_t targetLen = targetsHandle[0]; - auto &targets = blendState.targets; + uint32_t targetArrayHandle = *(buffer + 6); + const auto targetsHandle = GET_BLEND_TARGET_ARRAY(targetArrayHandle); + uint32_t targetLen = targetsHandle[0]; + auto & targets = blendState.targets; targets.resize(targetLen); for (uint32_t i = 1; i <= targetLen; ++i) { memcpy(&targets[i - 1], GET_BLEND_TARGET(targetsHandle[i]), sizeof(gfx::BlendTarget)); diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index 7f29a6eaf7..035accf01f 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -24,7 +24,7 @@ ****************************************************************************/ #pragma once -#include "renderer/core/CoreStd.h" +#include "gfx-base/GFXDef.h" #include "bindings/dop/BufferAllocator.h" #include "bindings/dop/BufferPool.h" diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index d4340db70f..3dc4c025d0 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -29,11 +29,11 @@ #include "../forward/ForwardPipeline.h" #include "../helper/SharedMemory.h" #include "ShadowStage.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXDevice.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXRenderPass.h" -#include "gfx/GFXTexture.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXRenderPass.h" +#include "gfx-base/GFXTexture.h" #include "../SceneCulling.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp index a9baef50d4..178405b083 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp @@ -28,10 +28,10 @@ #include "../ShadowMapBatchedQueue.h" #include "../forward/ForwardPipeline.h" #include "../helper/SharedMemory.h" -#include "gfx/GFXCommandBuffer.h" -#include "gfx/GFXDescriptorSet.h" -#include "gfx/GFXFramebuffer.h" -#include "gfx/GFXTexture.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXDescriptorSet.h" +#include "gfx-base/GFXFramebuffer.h" +#include "gfx-base/GFXTexture.h" #include "math/Vec2.h" namespace cc { diff --git a/native/tools/bindings-generator/generator.py b/native/tools/bindings-generator/generator.py index 50416bbe87..3f3dff2710 100755 --- a/native/tools/bindings-generator/generator.py +++ b/native/tools/bindings-generator/generator.py @@ -1662,6 +1662,17 @@ class Generator(object): implfilepath = os.path.join(self.outdir, self.out_file + ".cpp") headfilepath = os.path.join(self.outdir, self.out_file + ".h") + headLicense = '' + implLicense = '' + + licensePattern = re.compile('\/\*{5,}.*?\*{5,}\/\s*', re.S) + with open(implfilepath) as implReader: + implMatch = licensePattern.search(implReader.read()) + if implMatch: implLicense = implMatch.group() + with open(headfilepath) as headReader: + headMatch = licensePattern.search(headReader.read()) + if headMatch: headLicense = headMatch.group() + self.impl_file = open(implfilepath, "wb+") self.head_file = open(headfilepath, "wb+") @@ -1669,8 +1680,8 @@ class Generator(object): searchList=[self]) layout_c = Template(file=os.path.join(self.target, "templates", "layout_head.c"), searchList=[self]) - self.head_file.write(str(layout_h)) - self.impl_file.write(str(layout_c)) + self.head_file.write(headLicense + str(layout_h)) + self.impl_file.write(implLicense + str(layout_c)) self._parse_headers() diff --git a/native/tools/license-upgrader/generate.js b/native/tools/license-upgrader/generate.js index 27eaf5c473..a29c39cea3 100644 --- a/native/tools/license-upgrader/generate.js +++ b/native/tools/license-upgrader/generate.js @@ -1,109 +1,108 @@ -const fs = require('fs'); -const fsJetpack = require('fs-jetpack'); - -const ignoreList = [ - 'cocos/renderer/gfx-vulkan/volk.h', - 'cocos/renderer/gfx-vulkan/volk.c', - 'cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h', - 'cocos/renderer/gfx-vulkan/vk_mem_alloc.h', - 'cocos/network/Uri.h', - 'cocos/network/Uri.cpp', - 'cocos/platform/win32/inet_pton_mingw.h', - 'cocos/platform/win32/inet_pton_mingw.cpp', - // directories - 'cocos/editor-support/dragonbones', - 'cocos/editor-support/spine', - 'cocos/audio/android/', - 'cocos/math/', - 'cocos/renderer/pipeline/deferred/', - 'cocos/bindings/jswrapper/v8/debugger/', - 'cocos/bindings/auto/', -]; - -const genHeader = (history) => { - let output = `/****************************************************************************\n`; - - for (const info of history) { - const period = info.period[1] ? `${info.period[0]}-${info.period[1]}` : info.period[0]; - output += ` Copyright (c) ${period} ${info.owner}\n`; - } - - output += ` - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/\n\n`; - - return output; -} - - -const headerRE = /\/\*{5,}.*?\*{5,}\/\s*/s; -const ownerRE = /^\s*Copyright\s*\(c\)\s*([0-9]+)(?:-([0-9]+))?\s*(.*)/gm; -const curYear = new Date().getFullYear(); -const companyName = 'Xiamen Yaji Software Co., Ltd.'; -const update = (path) => { - const cmpPath = path.replace(/\\/g, '/'); - if (ignoreList.some((p) => cmpPath.includes(p))) return; - - let content = fs.readFileSync(path, { encoding: 'utf8' }); - const history = []; - - let hasLicense = false; - const headerCap = content.match(headerRE); - if (headerCap) { - content = content.slice(headerCap.index + headerCap[0].length); - // extract - let ownerCap = ownerRE.exec(headerCap[0]); - while (ownerCap) { - history.push({ period: [ownerCap[1], ownerCap[2]], owner: ownerCap[3] }); - ownerCap = ownerRE.exec(headerCap[0]); - } - if (history.length) { - // update - hasLicense = true; - let ownerUpToDate = false; - for (const info of history) { - if (info.owner === companyName) { - if (Number.parseInt(info.period[0]) !== curYear) { - info.period[1] = curYear; - } - ownerUpToDate = true; - } - } - if (!ownerUpToDate) { - const lastValidYear = history[history.length - 1].period[1]; - history.push({ period: [lastValidYear, curYear], owner: companyName }); - } - } - } - - // caveat: we don't actually know when exactly these files are created - // so the beginning year may not be accurate - // can be overriden manually anytime - if (!hasLicense) { - history.push({ period: [curYear], owner: companyName }); - } - - fs.writeFileSync(path, genHeader(history) + content); -}; - -const files = fsJetpack.find(`${__dirname}/../../cocos`, { matching: ['**/*.h', '**/*.cpp', '**/*.mm'] }); -for (const path of files) update(path); +const fs = require('fs'); +const fsJetpack = require('fs-jetpack'); + +const ignoreList = [ + 'cocos/renderer/gfx-vulkan/volk.h', + 'cocos/renderer/gfx-vulkan/volk.c', + 'cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h', + 'cocos/renderer/gfx-vulkan/vk_mem_alloc.h', + 'cocos/network/Uri.h', + 'cocos/network/Uri.cpp', + 'cocos/platform/win32/inet_pton_mingw.h', + 'cocos/platform/win32/inet_pton_mingw.cpp', + // directories + 'cocos/editor-support/dragonbones', + 'cocos/editor-support/spine', + 'cocos/audio/android/', + 'cocos/math/', + 'cocos/renderer/pipeline/deferred/', + 'cocos/bindings/jswrapper/v8/debugger/', +]; + +const genHeader = (history) => { + let output = `/****************************************************************************\n`; + + for (const info of history) { + const period = info.period[1] ? `${info.period[0]}-${info.period[1]}` : info.period[0]; + output += ` Copyright (c) ${period} ${info.owner}\n`; + } + + output += ` + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/\n\n`; + + return output; +} + + +const headerRE = /\/\*{5,}.*?\*{5,}\/\s*/s; +const ownerRE = /^\s*Copyright\s*\(c\)\s*([0-9]+)(?:-([0-9]+))?\s*(.*)/gm; +const curYear = new Date().getFullYear(); +const companyName = 'Xiamen Yaji Software Co., Ltd.'; +const update = (path) => { + const cmpPath = path.replace(/\\/g, '/'); + if (ignoreList.some((p) => cmpPath.includes(p))) return; + + let content = fs.readFileSync(path, { encoding: 'utf8' }); + const history = []; + + let hasLicense = false; + const headerCap = content.match(headerRE); + if (headerCap) { + content = content.slice(headerCap.index + headerCap[0].length); + // extract + let ownerCap = ownerRE.exec(headerCap[0]); + while (ownerCap) { + history.push({ period: [ownerCap[1], ownerCap[2]], owner: ownerCap[3] }); + ownerCap = ownerRE.exec(headerCap[0]); + } + if (history.length) { + // update + hasLicense = true; + let ownerUpToDate = false; + for (const info of history) { + if (info.owner === companyName) { + if (Number.parseInt(info.period[0]) !== curYear) { + info.period[1] = curYear; + } + ownerUpToDate = true; + } + } + if (!ownerUpToDate) { + const lastValidYear = history[history.length - 1].period[1]; + history.push({ period: [lastValidYear, curYear], owner: companyName }); + } + } + } + + // caveat: we don't actually know when exactly these files are created + // so the beginning year may not be accurate + // can be overriden manually anytime + if (!hasLicense) { + history.push({ period: [curYear], owner: companyName }); + } + + fs.writeFileSync(path, genHeader(history) + content.replace(/\r\n/g, '\n')); +}; + +const files = fsJetpack.find(`${__dirname}/../../cocos`, { matching: ['**/*.h', '**/*.cpp', '**/*.mm'] }); +for (const path of files) update(path); diff --git a/native/tools/tojs/gfx.ini b/native/tools/tojs/gfx.ini index 7adf57d523..59ec26503d 100644 --- a/native/tools/tojs/gfx.ini +++ b/native/tools/tojs/gfx.ini @@ -26,7 +26,7 @@ cxxgenerator_headers = extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s # what headers to parse -headers = %(cocosdir)s/cocos/renderer/core/Core.h +headers = %(cocosdir)s/cocos/renderer/gfx-base/GFXBase.h replace_headers = diff --git a/native/tools/tojs/pipeline.ini b/native/tools/tojs/pipeline.ini index 4f6d8bebe7..867ede3455 100644 --- a/native/tools/tojs/pipeline.ini +++ b/native/tools/tojs/pipeline.ini @@ -3,7 +3,7 @@ # templates prefix = pipeline -cpp_headers= cocos/renderer/core/Core.h cocos/renderer/core/gfx/GFXDescriptorSet.h +cpp_headers = cocos/renderer/gfx-base/GFXBase.h # create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) # all classes will be embedded in that namespace @@ -16,7 +16,7 @@ android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILIT clang_headers = clang_flags = -nostdinc -x c++ -std=c++14 -fsigned-char -U__SSE__ -cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/sources -I%(cocosdir)s/external/ios/include/v8 +cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/sources -I%(cocosdir)s/external/ios/include/v8 cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 @@ -54,7 +54,7 @@ skip = ForwardPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLi GbufferStage::[initialize activate destroy render], LightingFlow::[initialize activate destroy render createRenderPass createFrameBuffer getLightingFrameBuffer], LightingStage::[initialize activate destroy render initLightingBuffer gatherLights], - PostprocessStage::[initialize activate destroy render] + PostprocessStage::[initialize activate destroy render], InstancedBuffer::[merge uploadBuffers clear getInstances getPass hasPendingModels dynamicOffsets] rename_functions = @@ -74,4 +74,3 @@ base_classes_to_skip = Clonable Object # classes that create no constructor # Set is special and we will use a hand-written constructor abstract_classes = RenderStage RenderFlow RenderPipeline - From 74b1ee6d321cff17556e5f1159c3bca81aa28e9f Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 2 Mar 2021 14:53:19 +0800 Subject: [PATCH 160/270] Update config.json --- native/external/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/external/config.json b/native/external/config.json index 412337e7c8..2f69f3d6e7 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,5 +1,5 @@ { - "version": "v3d-gfx-31", + "version": "v3d-gfx-32", "from": { "type": "github", "owner": "cocos-creator", From b69aeb597627af11447f5acb72084b5eee2b5599 Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 2 Mar 2021 18:12:08 +0800 Subject: [PATCH 161/270] fix default depth/stencil texture size (#3296) --- native/cocos/renderer/gfx-metal/MTLDevice.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 81b299d4a1..f584c8c3f5 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -105,8 +105,8 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { // Persistent depth stencil texture MTLTextureDescriptor *dssDescriptor = [[MTLTextureDescriptor alloc] init]; dssDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(mtlDevice, gpuFamily, _caps.depthBits); - dssDescriptor.width = info.width; - dssDescriptor.height = info.height; + dssDescriptor.width = info.nativeWidth; + dssDescriptor.height = info.nativeHeight; dssDescriptor.storageMode = MTLStorageModePrivate; dssDescriptor.usage = MTLTextureUsageRenderTarget; _dssTex = [mtlDevice newTextureWithDescriptor:dssDescriptor]; From e5fe94e743e6f7dfca0415add506bb7ed1d84dbc Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Wed, 3 Mar 2021 08:46:00 +0800 Subject: [PATCH 162/270] Fix the material and resources of the deferred pipeline. (#3294) --- native/cocos/base/threading/ThreadPool.h | 2 +- .../cocos/bindings/auto/jsb_pipeline_auto.cpp | 7 +- .../pipeline/deferred/DeferredPipeline.cpp | 151 +++++++++++++++++- .../pipeline/deferred/DeferredPipeline.h | 20 ++- .../pipeline/deferred/GbufferFlow.cpp | 112 ------------- .../renderer/pipeline/deferred/GbufferFlow.h | 13 -- .../pipeline/deferred/GbufferStage.cpp | 22 ++- .../renderer/pipeline/deferred/GbufferStage.h | 4 + .../pipeline/deferred/LightingFlow.cpp | 93 ----------- .../renderer/pipeline/deferred/LightingFlow.h | 11 -- .../pipeline/deferred/LightingStage.cpp | 37 +++-- .../pipeline/deferred/LightingStage.h | 2 + .../pipeline/deferred/PostprocessStage.cpp | 39 +++-- .../pipeline/deferred/PostprocessStage.h | 4 +- native/tools/tojs/pipeline.ini | 4 +- 15 files changed, 243 insertions(+), 278 deletions(-) diff --git a/native/cocos/base/threading/ThreadPool.h b/native/cocos/base/threading/ThreadPool.h index 7422331b79..21d60c2c38 100644 --- a/native/cocos/base/threading/ThreadPool.h +++ b/native/cocos/base/threading/ThreadPool.h @@ -46,7 +46,7 @@ public: static uint8_t const CPU_CORE_COUNT; static uint8_t const MAX_THREAD_COUNT; - ThreadPool() noexcept = default; + ThreadPool() = default; ~ThreadPool() = default; ThreadPool(ThreadPool const &) = delete; ThreadPool(ThreadPool &&) = delete; diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp index 639988687b..b14a69ab09 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -3205,9 +3205,10 @@ SE_DECLARE_FINALIZE_FUNC(js_cc_pipeline_ShadowStage_finalize) static bool js_pipeline_ShadowStage_constructor(se::State& s) // constructor.c { - //#3 cc::pipeline::ShadowStage: is_skip_construtor True - se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::pipeline::ShadowStage constructor is skipped\")"); - return false; + cc::pipeline::ShadowStage* cobj = JSB_ALLOC(cc::pipeline::ShadowStage); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; } SE_BIND_CTOR(js_pipeline_ShadowStage_constructor, __jsb_cc_pipeline_ShadowStage_class, js_cc_pipeline_ShadowStage_finalize) diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 8303c6e77f..44db1f05c5 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -112,6 +112,8 @@ bool DeferredPipeline::initialize(const RenderPipelineInfo &info) { } bool DeferredPipeline::activate() { + _macros.setValue("CC_PIPELINE_TYPE", true); + if (!RenderPipeline::activate()) { CC_LOG_ERROR("RenderPipeline active failed."); return false; @@ -129,10 +131,12 @@ void DeferredPipeline::render(const vector &cameras) { if (cameras.size() == 0) return; _commandBuffers[0]->begin(); _pipelineUBO->updateGlobalUBO(); - Camera *camera = GET_CAMERA(cameras[0]); - _pipelineUBO->updateCameraUBO(camera, true); - for (const auto flow : _flows) { - flow->render(camera); + for (const auto cameraId: cameras) { + Camera *camera = GET_CAMERA(cameraId); + _pipelineUBO->updateCameraUBO(camera, true); + for (const auto flow : _flows) { + flow->render(camera); + } } _commandBuffers[0]->end(); _device->getQueue()->submit(_commandBuffers); @@ -232,6 +236,14 @@ gfx::Rect DeferredPipeline::getRenderArea(Camera *camera, bool onScreen) { return renderArea; } +DeferredRenderData *DeferredPipeline::getDeferredRenderData(Camera *view) { + if (_deferredRenderDatas.find(view) == _deferredRenderDatas.end()) { + generateDeferredRenderData(view); + } + + return _deferredRenderDatas[view]; +} + void DeferredPipeline::destroyQuadInputAssembler() { if (_quadIB) { _quadIB->destroy(); @@ -271,15 +283,15 @@ bool DeferredPipeline::activeRenderer() { gfx::Address::CLAMP, gfx::Address::CLAMP, }; - const auto shadowMapSamplerHash = genSamplerHash(std::move(info)); - const auto shadowMapSampler = getSampler(shadowMapSamplerHash); + const auto samplerHash = genSamplerHash(std::move(info)); + const auto sampler = getSampler(samplerHash); // Main light sampler binding - this->_descriptorSet->bindSampler(SHADOWMAP::BINDING, shadowMapSampler); + this->_descriptorSet->bindSampler(SHADOWMAP::BINDING, sampler); this->_descriptorSet->bindTexture(SHADOWMAP::BINDING, getDefaultTexture()); // Spot light sampler binding - this->_descriptorSet->bindSampler(SPOT_LIGHTING_MAP::BINDING, shadowMapSampler); + this->_descriptorSet->bindSampler(SPOT_LIGHTING_MAP::BINDING, sampler); this->_descriptorSet->bindTexture(SPOT_LIGHTING_MAP::BINDING, getDefaultTexture()); _descriptorSet->update(); @@ -295,10 +307,128 @@ bool DeferredPipeline::activeRenderer() { if (!createQuadInputAssembler(_quadIB, _quadVBOnscreen, _quadIAOnscreen, _device->getSurfaceTransform())) { return false; } + + gfx::RenderPassInfo gbufferPass; + + gfx::ColorAttachment color = { + gfx::Format::RGBA16F, + gfx::SampleCount::X1, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + {}, + {gfx::AccessType::COLOR_ATTACHMENT_WRITE}, + }; + + for (int i = 0; i < 4; i++) { + gbufferPass.colorAttachments.push_back(color); + } + + gfx::DepthStencilAttachment depth = { + _device->getDepthStencilFormat(), + gfx::SampleCount::X1, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + }; + + gbufferPass.depthStencilAttachment = depth; + _gbufferRenderPass = _device->createRenderPass(gbufferPass); + + gfx::ColorAttachment cAttch = { + gfx::Format::RGBA16F, + gfx::SampleCount::X1, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + {}, + {gfx::AccessType::COLOR_ATTACHMENT_WRITE}, + }; + + gfx::RenderPassInfo lightPass; + lightPass.colorAttachments.push_back(cAttch); + + lightPass.depthStencilAttachment = { + _device->getDepthStencilFormat(), + gfx::SampleCount::X1, + gfx::LoadOp::LOAD, + gfx::StoreOp::DISCARD, + gfx::LoadOp::DISCARD, + gfx::StoreOp::DISCARD, + {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}, + }; + + _lightingRenderPass = _device->createRenderPass(lightPass); + + _descriptorSet->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), sampler); + _descriptorSet->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), sampler); + _descriptorSet->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), sampler); + _descriptorSet->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), sampler); + _descriptorSet->bindSampler( + static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), sampler); + + if (_device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || + _device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { + _width = _device->getWidth(); + _height = _device->getHeight(); + } + else { + _width = _device->getHeight(); + _height = _device->getWidth(); + } return true; } +void DeferredPipeline::generateDeferredRenderData(Camera *view) { + DeferredRenderData* data = CC_NEW(DeferredRenderData); + + gfx::TextureInfo info = { + gfx::TextureType::TEX2D, + gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, + gfx::Format::RGBA16F, + _width, + _height, + }; + + for (int i = 0; i < 4; i++) { + gfx::Texture *tex = _device->createTexture(info); + data->gbufferRenderTargets.push_back(tex); + } + + info.usage = gfx::TextureUsageBit::DEPTH_STENCIL_ATTACHMENT; + info.format = _device->getDepthStencilFormat(); + data->depthTex = _device->createTexture(info); + + gfx::FramebufferInfo gbufferInfo = { + _gbufferRenderPass, + data->gbufferRenderTargets, + data->depthTex, + }; + + data->gbufferFrameBuffer = _device->createFramebuffer(gbufferInfo); + + gfx::TextureInfo rtInfo = { + gfx::TextureType::TEX2D, + gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, + gfx::Format::RGBA16F, + _width, + _height, + }; + data->lightingRenderTarget = _device->createTexture(rtInfo); + + gfx::FramebufferInfo lightingInfo; + lightingInfo.renderPass = _lightingRenderPass; + lightingInfo.colorTextures.push_back(data->lightingRenderTarget); + lightingInfo.depthStencilTexture = data->depthTex; + data->lightingFrameBuff = _device->createFramebuffer(lightingInfo); + + _deferredRenderDatas[view] = data; +} + void DeferredPipeline::destroy() { destroyQuadInputAssembler(); @@ -316,8 +446,13 @@ void DeferredPipeline::destroy() { it.second->destroy(); } _renderPasses.clear(); + + _deferredRenderDatas.clear(); _commandBuffers.clear(); + + _gbufferRenderPass = nullptr; + _lightingRenderPass = nullptr; RenderPipeline::destroy(); } diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h index 1b145df7eb..e7bc05de79 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -45,6 +45,14 @@ struct Sphere; class Framebuffer; class Camera; +struct CC_DLL DeferredRenderData { + gfx::TextureList gbufferRenderTargets; + gfx::Framebuffer *gbufferFrameBuffer = nullptr; + gfx::Framebuffer *lightingFrameBuff = nullptr; + gfx::Texture *lightingRenderTarget = nullptr; + gfx::Texture *depthTex = nullptr; +}; + class CC_DLL DeferredPipeline : public RenderPipeline { public: DeferredPipeline() = default; @@ -64,15 +72,15 @@ public: CC_INLINE const UintList &getLightIndices() const { return _lightIndices; } gfx::InputAssembler *getQuadIAOnScreen(){return _quadIAOnscreen;} gfx::InputAssembler *getQuadIAOffScreen(){return _quadIAOffscreen;} - void setDepth(gfx::Texture *tex) {_depth = tex;} - gfx::Texture *getDepth(){return _depth;} gfx::Rect getRenderArea(Camera *view, bool onScreen); + DeferredRenderData *getDeferredRenderData(Camera *view); private: bool activeRenderer(); bool createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffer* &quadVB, gfx::InputAssembler* &quadIA, gfx::SurfaceTransform surfaceTransform); void destroyQuadInputAssembler(); + void generateDeferredRenderData(Camera *view); private: gfx::Buffer *_lightsUBO = nullptr; @@ -88,8 +96,12 @@ private: gfx::Buffer *_quadVBOffscreen = nullptr; gfx::InputAssembler *_quadIAOnscreen = nullptr; gfx::InputAssembler *_quadIAOffscreen = nullptr; - - gfx::Texture *_depth = nullptr; + + map _deferredRenderDatas; + gfx::RenderPass *_gbufferRenderPass = nullptr; + gfx::RenderPass *_lightingRenderPass = nullptr; + uint _width; + uint _height; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp index b8f56fe31b..eb35b09645 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp @@ -57,120 +57,8 @@ bool GbufferFlow::initialize(const RenderFlowInfo &info) { return true; } -void GbufferFlow::createRenderPass(gfx::Device *device) { - if (_gbufferRenderPass != nullptr) { - return; - } - - gfx::RenderPassInfo info; - - gfx::ColorAttachment color = { - gfx::Format::RGBA16F, - gfx::SampleCount::X1, - gfx::LoadOp::CLEAR, - gfx::StoreOp::STORE, - {}, - {gfx::AccessType::COLOR_ATTACHMENT_WRITE}, - }; - - for (int i = 0; i < 4; i++) { - info.colorAttachments.push_back(color); - } - - gfx::DepthStencilAttachment depth = { - device->getDepthStencilFormat(), - gfx::SampleCount::X1, - gfx::LoadOp::CLEAR, - gfx::StoreOp::STORE, - gfx::LoadOp::CLEAR, - gfx::StoreOp::STORE, - }; - - info.depthStencilAttachment = depth; - _gbufferRenderPass = device->createRenderPass(info); -} - -void GbufferFlow::createRenderTargets(gfx::Device *device) { - gfx::TextureInfo info = { - gfx::TextureType::TEX2D, - gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, - gfx::Format::RGBA16F, - _width, - _height, - }; - - if (_gbufferRenderTargets.empty()) { - for (int i = 0; i < 4; i++) { - gfx::Texture *tex = device->createTexture(info); - _gbufferRenderTargets.push_back(tex); - } - } - - if (!_depth) { - info.usage = gfx::TextureUsageBit::DEPTH_STENCIL_ATTACHMENT; - info.format = device->getDepthStencilFormat(); - _depth = device->createTexture(info); - - DeferredPipeline *pp = dynamic_cast(_pipeline); - pp->setDepth(_depth); - } - - if (!_gbufferFrameBuffer) { - gfx::FramebufferInfo fbInfo = { - _gbufferRenderPass, - _gbufferRenderTargets, - _depth, - }; - - _gbufferFrameBuffer = device->createFramebuffer(fbInfo); - } -} - void GbufferFlow::activate(RenderPipeline *pipeline) { RenderFlow::activate(pipeline); - - gfx::Device *device = pipeline->getDevice(); - if (device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || - device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { - _width = device->getWidth(); - _height = device->getHeight(); - } - else { - _width = device->getHeight(); - _height = device->getWidth(); - } - - createRenderPass(device); - createRenderTargets(device); - - pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), _gbufferFrameBuffer->getColorTextures()[0]); - pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), _gbufferFrameBuffer->getColorTextures()[1]); - pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), _gbufferFrameBuffer->getColorTextures()[2]); - pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), _gbufferFrameBuffer->getColorTextures()[3]); - - gfx::SamplerInfo sInfo = { - gfx::Filter::LINEAR, - gfx::Filter::LINEAR, - gfx::Filter::NONE, - gfx::Address::CLAMP, - gfx::Address::CLAMP, - gfx::Address::CLAMP, - }; - - uint hash = genSamplerHash(sInfo); - gfx::Sampler *gbufferSampler = getSampler(hash); - pipeline->getDescriptorSet()->bindSampler( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), gbufferSampler); - pipeline->getDescriptorSet()->bindSampler( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), gbufferSampler); - pipeline->getDescriptorSet()->bindSampler( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), gbufferSampler); - pipeline->getDescriptorSet()->bindSampler( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), gbufferSampler); } void GbufferFlow::render(Camera *camera) { diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.h b/native/cocos/renderer/pipeline/deferred/GbufferFlow.h index f4775142b1..af90464aff 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.h +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.h @@ -44,22 +44,9 @@ public: virtual void activate(RenderPipeline *pipeline) override; virtual void destroy() override; virtual void render(Camera *camera) override; - gfx::Framebuffer *getFrameBuffer() {return _gbufferFrameBuffer;} - -private: - void createRenderPass(gfx::Device *device); - void createRenderTargets(gfx::Device *device); private: static RenderFlowInfo _initInfo; - - gfx::RenderPass *_gbufferRenderPass = nullptr; - gfx::TextureList _gbufferRenderTargets; - gfx::Framebuffer *_gbufferFrameBuffer = nullptr; - gfx::Texture *_depth = nullptr; - uint _width; - uint _height; - GbufferStage *_GbufferStage = nullptr; }; diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp index 0acdca840b..33027b02ba 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp @@ -73,7 +73,7 @@ GbufferStage::~GbufferStage() { bool GbufferStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); _renderQueueDescriptors = info.renderQueues; - _phaseID = getPhaseID("deferred-gbuffer"); + _phaseID = getPhaseID("default"); return true; } @@ -163,10 +163,10 @@ void GbufferStage::render(Camera *camera) { // render area is not oriented _renderArea = pipeline->getRenderArea(camera, false); - - GbufferFlow *flow = dynamic_cast(getFlow()); - assert(flow != nullptr); - auto framebuffer = flow->getFrameBuffer(); + + const auto deferredData = pipeline->getDeferredRenderData(camera); + bindGbufferTexture(deferredData); + auto framebuffer = deferredData->gbufferFrameBuffer; auto renderPass = framebuffer->getRenderPass(); cmdBuff->beginRenderPass(renderPass, framebuffer, _renderArea, _clearColors, camera->clearDepth, camera->clearStencil); @@ -180,5 +180,17 @@ void GbufferStage::render(Camera *camera) { cmdBuff->endRenderPass(); } +void GbufferStage::bindGbufferTexture(DeferredRenderData *data) { + _pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), data->gbufferFrameBuffer->getColorTextures()[0]); + _pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), data->gbufferFrameBuffer->getColorTextures()[1]); + _pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), data->gbufferFrameBuffer->getColorTextures()[2]); + _pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), data->gbufferFrameBuffer->getColorTextures()[3]); + _pipeline->getDescriptorSet()->update(); +} + } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.h b/native/cocos/renderer/pipeline/deferred/GbufferStage.h index b4ca668ef2..83eec21005 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.h +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.h @@ -37,6 +37,7 @@ class RenderBatchedQueue; class RenderInstancedQueue; class RenderAdditiveLightQueue; class PlanarShadowQueue; +struct DeferredRenderData; class CC_DLL GbufferStage : public RenderStage { public: @@ -49,6 +50,9 @@ public: virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; virtual void destroy() override; virtual void render(Camera *camera) override; + +private: + void bindGbufferTexture(DeferredRenderData *data); private: static RenderStageInfo _initInfo; diff --git a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp index 327bbaf65b..31dcac3214 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingFlow.cpp @@ -57,101 +57,8 @@ bool LightingFlow::initialize(const RenderFlowInfo &info) { return true; } -void LightingFlow::createRenderPass(gfx::Device *device) { - if (_lightingRenderPass == nullptr) { - gfx::ColorAttachment cAttch = { - gfx::Format::RGBA16F, - gfx::SampleCount::X1, - gfx::LoadOp::CLEAR, - gfx::StoreOp::STORE, - {}, - {gfx::AccessType::COLOR_ATTACHMENT_WRITE}, - }; - gfx::RenderPassInfo info; - info.colorAttachments.push_back(cAttch); - info.depthStencilAttachment = { - device->getDepthStencilFormat(), - gfx::SampleCount::X1, - gfx::LoadOp::LOAD, - gfx::StoreOp::DISCARD, - gfx::LoadOp::DISCARD, - gfx::StoreOp::DISCARD, - {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}, - }; - - _lightingRenderPass = device->createRenderPass(info); - assert(_lightingRenderPass != nullptr); - } -} - -void LightingFlow::createFrameBuffer(gfx::Device *device) { - if (_lightingRenderTarget == nullptr) { - gfx::TextureInfo rtInfo = { - gfx::TextureType::TEX2D, - gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, - gfx::Format::RGBA16F, - _width, - _height, - }; - _lightingRenderTarget = device->createTexture(rtInfo); - } - - if (!_lightingFrameBuff) { - gfx::FramebufferInfo fbInfo; - fbInfo.renderPass = _lightingRenderPass; - fbInfo.colorTextures.push_back(_lightingRenderTarget); - fbInfo.depthStencilTexture = _depth; - _lightingFrameBuff = device->createFramebuffer(fbInfo); - assert(_lightingFrameBuff != nullptr); - } -} - void LightingFlow::activate(RenderPipeline *pipeline) { RenderFlow::activate(pipeline); - if (_lightingRenderPass != nullptr) { - return; - } - - const auto device = pipeline->getDevice(); - if (device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || - device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { - _width = device->getWidth(); - _height = device->getHeight(); - } - else { - _width = device->getHeight(); - _height = device->getWidth(); - } - - DeferredPipeline *pp = dynamic_cast(pipeline); - assert(pp != nullptr); - _depth = pp->getDepth(); - - // create renderpass - createRenderPass(device); - - // create framebuffer - createFrameBuffer(device); - - // bind sampler and texture, used in postprocess - pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), - _lightingFrameBuff->getColorTextures()[0]); - - gfx::SamplerInfo spInfo = { - gfx::Filter::LINEAR, - gfx::Filter::LINEAR, - gfx::Filter::NONE, - gfx::Address::CLAMP, - gfx::Address::CLAMP, - gfx::Address::CLAMP - }; - - auto spHash = genSamplerHash(spInfo); - gfx::Sampler *copySampler = getSampler(spHash); - pipeline->getDescriptorSet()->bindSampler( - static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), - copySampler); } void LightingFlow::render(Camera *camera) { diff --git a/native/cocos/renderer/pipeline/deferred/LightingFlow.h b/native/cocos/renderer/pipeline/deferred/LightingFlow.h index 5fb59922f8..ae04856e1e 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingFlow.h +++ b/native/cocos/renderer/pipeline/deferred/LightingFlow.h @@ -44,19 +44,8 @@ public: virtual void destroy() override; virtual void render(Camera *camera) override; - void createRenderPass(gfx::Device *device); - void createFrameBuffer(gfx::Device *device); - gfx::Framebuffer *getLightingFrameBuffer(){return _lightingFrameBuff;} - private: static RenderFlowInfo _initInfo; - - gfx::RenderPass *_lightingRenderPass = nullptr; - gfx::Texture *_lightingRenderTarget = nullptr; - gfx::Texture *_depth = nullptr; - gfx::Framebuffer *_lightingFrameBuff = nullptr; - uint _width; - uint _height; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp index c53f249f84..ef1d313a3f 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp @@ -78,8 +78,8 @@ LightingStage::~LightingStage() { bool LightingStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); _renderQueueDescriptors = info.renderQueues; - _phaseID = getPhaseID("deferred-lighting"); - _transparentPhaseID = getPhaseID("deferred-transparent"); + _phaseID = getPhaseID("deferred"); + _transparentPhaseID = getPhaseID("forward-add"); return true; } @@ -277,6 +277,11 @@ void LightingStage::render(Camera *camera) { auto pipeline = static_cast(_pipeline); const auto sceneData = _pipeline->getPipelineSceneData(); const auto sharedData = sceneData->getSharedData(); + const auto &renderObjects = sceneData->getRenderObjects(); + + if (renderObjects.empty()) { + return; + } auto cmdBuff = pipeline->getCommandBuffers()[0]; @@ -291,7 +296,7 @@ void LightingStage::render(Camera *camera) { gfx::Rect renderArea = pipeline->getRenderArea(camera, false); gfx::Color clearColor = {0.0, 0.0, 0.0, 1.0}; - if (camera->clearFlag | static_cast( gfx::ClearFlagBit::COLOR)) { + if (camera->clearFlag & static_cast( gfx::ClearFlagBit::COLOR)) { if (sharedData->isHDR) { SRGBToLinear(clearColor, camera->clearColor); const auto scale = sharedData->fpScale / camera->exposure; @@ -303,12 +308,11 @@ void LightingStage::render(Camera *camera) { } } - clearColor.w = camera->clearColor.w; - - LightingFlow *flow = dynamic_cast(_flow); - assert(flow != nullptr); - - auto frameBuffer = flow->getLightingFrameBuffer(); + clearColor.w = 0; + + const auto deferredData = pipeline->getDeferredRenderData(camera); + bindLightingTexture(deferredData); + auto frameBuffer = deferredData->lightingFrameBuff; auto renderPass = frameBuffer->getRenderPass(); cmdBuff->beginRenderPass(renderPass, frameBuffer, renderArea, &clearColor, @@ -321,7 +325,7 @@ void LightingStage::render(Camera *camera) { gfx::Shader *shader = sceneData->getSharedData()->getDeferredLightPassShader(); gfx::InputAssembler* inputAssembler = pipeline->getQuadIAOffScreen(); - gfx::PipelineState *pState =PipelineStateManager::getOrCreatePipelineState( + gfx::PipelineState *pState = PipelineStateManager::getOrCreatePipelineState( pass, shader, inputAssembler, renderPass); assert(pState != nullptr); @@ -336,7 +340,6 @@ void LightingStage::render(Camera *camera) { for (auto queue : _renderQueues) { queue->clear(); } - const auto &renderObjects = sceneData->getRenderObjects(); uint m = 0, p = 0; size_t k = 0; @@ -349,8 +352,8 @@ void LightingStage::render(Camera *camera) { auto subModel = model->getSubModelView(subModelID[m]); for (p = 0; p < subModel->passCount; ++p) { const PassView *pass = subModel->getPassView(p); - - if (pass->phase != _transparentPhaseID) continue; + // TODO: need fallback of ulit and gizmo material. + if (pass->phase == _phaseID || pass->phase == _transparentPhaseID) continue; for (k = 0; k < _renderQueues.size(); k++) { _renderQueues[k]->insertRenderPass(ro, m, p); } @@ -365,5 +368,13 @@ void LightingStage::render(Camera *camera) { cmdBuff->endRenderPass(); } +void LightingStage::bindLightingTexture(DeferredRenderData *data) { + // bind sampler and texture, used in postprocess + _pipeline->getDescriptorSet()->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), + data->lightingFrameBuff->getColorTextures()[0]); + _pipeline->getDescriptorSet()->update(); +} + } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.h b/native/cocos/renderer/pipeline/deferred/LightingStage.h index afd9324825..c34845066b 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.h +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.h @@ -36,6 +36,7 @@ class RenderBatchedQueue; class RenderInstancedQueue; class RenderAdditiveLightQueue; class PlanarShadowQueue; +struct DeferredRenderData; class CC_DLL LightingStage : public RenderStage { public: @@ -53,6 +54,7 @@ public: private: void gatherLights(Camera *camera); + void bindLightingTexture(DeferredRenderData *data); private: static RenderStageInfo _initInfo; diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp index 52df257ac3..3e569e9dbf 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp @@ -30,6 +30,7 @@ #include "../helper/SharedMemory.h" #include "../PipelineStateManager.h" #include "gfx-base/GFXDevice.h" +#include "../forward/UIPhase.h" namespace cc { namespace pipeline { @@ -39,6 +40,10 @@ RenderStageInfo PostprocessStage::_initInfo = { 0, }; +PostprocessStage::PostprocessStage() : RenderStage() { + _uiPhase = CC_NEW(UIPhase); +} + bool PostprocessStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); return true; @@ -46,6 +51,7 @@ bool PostprocessStage::initialize(const RenderStageInfo &info) { void PostprocessStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { RenderStage::activate(pipeline, flow); + _uiPhase->activate(pipeline); } void PostprocessStage::destroy() { @@ -60,30 +66,39 @@ void PostprocessStage::render(Camera *camera) { _pipeline->getPipelineUBO()->updateCameraUBO(camera, camera->getWindow()->hasOffScreenAttachments); gfx::Rect renderArea = pp->getRenderArea(camera, !camera->getWindow()->hasOffScreenAttachments); - gfx::Color color = {0, 0, 0, 1}; - gfx::ColorList clst; - clst.push_back(color); + if (static_cast(camera->clearFlag) & gfx::ClearFlagBit::COLOR) { + _clearColors[0].x = camera->clearColor.x; + _clearColors[0].y = camera->clearColor.y; + _clearColors[0].z = camera->clearColor.z; + } + + _clearColors[0].w = camera->clearColor.w; gfx::Framebuffer *fb = camera->getWindow()->getFramebuffer(); - gfx::RenderPass *rp = fb->getRenderPass() ? + const auto &colorTextures = fb->getColorTextures(); + gfx::RenderPass *rp = colorTextures.size() && colorTextures[0] ? fb->getRenderPass() : pp->getOrCreateRenderPass(static_cast(camera->clearFlag)); - cmdBf->beginRenderPass(rp, fb, renderArea, clst, camera->clearDepth, camera->clearStencil); + cmdBf->beginRenderPass(rp, fb, renderArea, _clearColors, camera->clearDepth, camera->clearStencil); cmdBf->bindDescriptorSet(static_cast(SetIndex::GLOBAL), pp->getDescriptorSet()); // post proces const auto sceneData = _pipeline->getPipelineSceneData(); PassView *pv = sceneData->getSharedData()->getDeferredPostPass(); gfx::Shader *sd = sceneData->getSharedData()->getDeferredPostPassShader(); + const auto &renderObjects = sceneData->getRenderObjects(); + + if (!renderObjects.empty()) { + gfx::InputAssembler *ia = camera->getWindow()->hasOffScreenAttachments ? pp->getQuadIAOffScreen() : pp->getQuadIAOnScreen(); + gfx::PipelineState *pso = PipelineStateManager::getOrCreatePipelineState(pv, sd, ia, rp); + assert(pso != nullptr); - gfx::InputAssembler *ia = camera->getWindow()->hasOffScreenAttachments ? pp->getQuadIAOffScreen() : pp->getQuadIAOnScreen(); + cmdBf->bindPipelineState(pso); + cmdBf->bindInputAssembler(ia); + cmdBf->draw(ia); + } - gfx::PipelineState *pso = PipelineStateManager::getOrCreatePipelineState(pv, sd, ia, rp); - assert(pso != nullptr); - - cmdBf->bindPipelineState(pso); - cmdBf->bindInputAssembler(ia); - cmdBf->draw(ia); + _uiPhase->render(camera, rp); cmdBf->endRenderPass(); } } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h index 9ad6e30c6f..b3202be9e3 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h @@ -31,10 +31,11 @@ namespace cc { namespace pipeline { class Camera; +class UIPhase; class CC_DLL PostprocessStage : public RenderStage { public: - PostprocessStage() {}; + PostprocessStage(); ~PostprocessStage() {}; virtual bool initialize(const RenderStageInfo &info) override; @@ -45,6 +46,7 @@ public: private: gfx::Rect _renderArea; static RenderStageInfo _initInfo; + UIPhase *_uiPhase = nullptr; }; } // namespace pipeline } // namespace cc diff --git a/native/tools/tojs/pipeline.ini b/native/tools/tojs/pipeline.ini index 867ede3455..eb84d31e8d 100644 --- a/native/tools/tojs/pipeline.ini +++ b/native/tools/tojs/pipeline.ini @@ -47,9 +47,9 @@ skip = ForwardPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLi ForwardFlow::[initialize activate destroy render], ForwardStage::[initialize activate destroy render], ShadowFlow::[initialize activate destroy render], - ShadowStage::[ShadowStage initialize activate destroy render clearFramebuffer], + ShadowStage::[initialize activate destroy render clearFramebuffer], InstancedBuffer::[merge uploadBuffers clear getInstances getPass hasPendingModels dynamicOffsets], - DeferredPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLightBuffers getLightIndexOffsets getLightIndices getQuadIAOnScreen getQuadIAOffScreen setDepth getDepth getRenderArea createQuadInputAssembler destroyQuadInputAssembler], + DeferredPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLightBuffers getLightIndexOffsets getLightIndices getQuadIAOnScreen getQuadIAOffScreen setDepth getDepth getRenderArea createQuadInputAssembler destroyQuadInputAssembler getDeferredRenderData], GbufferFlow::[initialize activate destroy render getFrameBuffer createRenderPass createRenderTargets], GbufferStage::[initialize activate destroy render], LightingFlow::[initialize activate destroy render createRenderPass createFrameBuffer getLightingFrameBuffer], From 6e17f5e32614e09dea65e3468cdaca2e2acc1dc0 Mon Sep 17 00:00:00 2001 From: PP Date: Wed, 3 Mar 2021 09:47:11 +0800 Subject: [PATCH 163/270] support gen-simulator-release (#3297) --- native/gulpfile.js | 54 ++++------------------------------------------ 1 file changed, 4 insertions(+), 50 deletions(-) diff --git a/native/gulpfile.js b/native/gulpfile.js index 3377333a63..3997ff6dda 100644 --- a/native/gulpfile.js +++ b/native/gulpfile.js @@ -46,7 +46,6 @@ program .parse(process.argv); gulp.task('make-cocos2d-x', gulpSequence('gen-cocos2d-x', 'upload-cocos2d-x')); -gulp.task('make-simulator', gulpSequence('gen-simulator', 'sign-simulator', 'update-simulator-config', 'update-simulator-dll', 'archive-simulator', 'upload-simulator')); if (process.platform === 'darwin') { gulp.task('publish', gulpSequence('update', 'init', 'bump-version', 'make-cocos2d-x', 'make-simulator')); @@ -63,19 +62,6 @@ function execSync (cmd, workPath) { ExecSync(cmd, execOptions); } -function downloadSimulatorDLL (callback) { - var Download = require('download'); - var destPath = Path.join('simulator', 'win32'); - Download('http://192.168.52.109/TestBuilds/Fireball/simulator/dlls/dll.zip', destPath, { - mode: '755', - extract: true, - strip: 0, - agent: null, - }).then(function (res) { - callback(); - }).catch(callback); -} - function upload2Ftp (localPath, ftpPath, config, cb) { var ftpClient = new Ftp(); ftpClient.on('error', function (err) { @@ -218,10 +204,13 @@ gulp.task('gen-simulator', async function () { console.log(data.toString ? data.toString() : data); }); }); +}); +gulp.task('clean-simulator', async function () { console.log('=====================================\n'); console.log('clean project\n'); console.log('=====================================\n'); + let isWin32 = process.platform === 'win32'; let delPatterns = [ formatPath(Path.join(__dirname, './simulator/*')), formatPath(`!${Path.join(__dirname, './simulator/Debug')}`), @@ -232,50 +221,15 @@ gulp.task('gen-simulator', async function () { } console.log('delete patterns: ', JSON.stringify(delPatterns, undefined, 2)); await del(delPatterns, { force: true }); - - console.log('done!'); }); -gulp.task('sign-simulator', function () { - try { - var cmd = fs.readFileSync(Path.join(process.env.HOME, '.ssh', 'codesignCmd_simulator.txt'), 'utf8'); - execSync(cmd); - } - catch (e) { - console.warn('No need to run sign-simulator since v1.10.', e); - } -}); - -gulp.task('update-simulator-config', function (cb) { - var destPath = process.platform === 'win32' ? './simulator/win32/config.json' : './simulator/mac/Simulator.app/Contents/Resources/config.json'; - fs.copy('./tools/simulator/config.json', destPath, cb); -}); - -// 在 'sign-simulator' 之后执行,以保留这些 dll 来自第三方的签名 -gulp.task('update-simulator-dll', function (cb) { - if (process.platform === 'win32') { - downloadSimulatorDLL(cb); - } else { - cb(); - } -}); - -gulp.task('archive-simulator', function () { - return gulp.src('./simulator/**/*') - .pipe(zip('simulator_' + process.platform + '.zip')) - .pipe(gulp.dest('./')); -}); +gulp.task('gen-simulator-release', gulp.series('gen-simulator', 'clean-simulator')); gulp.task('upload-cocos2d-x', function (cb) { var zipFileName = 'cocos2d-x.zip'; uploadZipFile(zipFileName, './tools/make-package', cb); }); -gulp.task('upload-simulator', function (cb) { - var zipFileName = 'simulator_' + process.platform + '.zip'; - uploadZipFile(zipFileName, '.', cb); -}); - gulp.task('bump-version', function (cb) { let ver; if (!program.bump) { From 69067cbc1f548a854044d1afe5f734253b5b13db Mon Sep 17 00:00:00 2001 From: troublemaker52025 Date: Wed, 3 Mar 2021 09:56:09 +0800 Subject: [PATCH 164/270] Resolve uninitialized uniform (#3292) --- .../pipeline/RenderAdditiveLightQueue.cpp | 16 +++++++--------- .../pipeline/forward/ForwardPipeline.cpp | 18 ++++++++---------- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index 588d41427f..3dbaa4eccd 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -504,17 +504,15 @@ void RenderAdditiveLightQueue::updateCameraUBO(const Camera *camera, gfx::Comman const auto *envmap = _pipeline->getDescriptorSet()->getTexture((uint)PipelineGlobalBindings::SAMPLER_ENVIRONMENT); if (envmap) uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = envmap->getLevelCount(); - if (fog->enabled) { - TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); + TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; - } + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; } bool RenderAdditiveLightQueue::getLightPassIndex(const ModelView *model, vector &lightPassIndices) const { diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 5cb532d098..0fb8c2be93 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -228,18 +228,16 @@ void ForwardPipeline::updateCameraUBO(Camera *camera) { } uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = projectionSignY; - if (fog->enabled) { - TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); + TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; - - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; - } + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; + // update ubos _commandBuffers[0]->updateBuffer(_descriptorSet->getBuffer(UBOCamera::BINDING), _cameraUBO.data(), UBOCamera::SIZE); } From 3385ffbdd855abfbaa06783f1e6fa5af2d5a1d29 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Thu, 4 Mar 2021 10:20:46 +0800 Subject: [PATCH 165/270] Fix shader compile error. (#3298) --- native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 44db1f05c5..79212a227e 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -112,7 +112,7 @@ bool DeferredPipeline::initialize(const RenderPipelineInfo &info) { } bool DeferredPipeline::activate() { - _macros.setValue("CC_PIPELINE_TYPE", true); + _macros.setValue("CC_PIPELINE_TYPE", static_cast(1.0)); if (!RenderPipeline::activate()) { CC_LOG_ERROR("RenderPipeline active failed."); From e5f454b579f117fd494228eaea5af6ff646c35ef Mon Sep 17 00:00:00 2001 From: troublemaker52025 Date: Thu, 4 Mar 2021 17:12:48 +0800 Subject: [PATCH 166/270] fix planar shadow instanced error for v3.0.1 (#3299) --- native/cocos/renderer/pipeline/InstancedBuffer.cpp | 7 ++++++- native/cocos/renderer/pipeline/InstancedBuffer.h | 1 + native/cocos/renderer/pipeline/PlanarShadowQueue.cpp | 11 +++++------ native/cocos/renderer/pipeline/helper/SharedMemory.h | 2 ++ 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index 2253f48f60..6d694ec0f3 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -61,13 +61,18 @@ void InstancedBuffer::destroy() { } void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel, uint passIdx) { + merge(model, subModel, passIdx, nullptr); +} + +void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel, uint passIdx, gfx::Shader *shaderImplant) { uint stride = 0; const auto instancedBuffer = model->getInstancedBuffer(&stride); if (!stride) return; // we assume per-instance attributes are always present auto sourceIA = subModel->getInputAssembler(); auto lightingMap = subModel->getDescriptorSet()->getTexture(LIGHTMAP_TEXTURE::BINDING); - auto shader = subModel->getShader(passIdx); + auto shader = shaderImplant; + if (!shader) { shader = subModel->getShader(passIdx); } auto descriptorSet = subModel->getDescriptorSet(); for (int i = 0; i < _instances.size(); i++) { auto &instance = _instances[i]; diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.h b/native/cocos/renderer/pipeline/InstancedBuffer.h index 9682bc1883..9c76e307c2 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.h +++ b/native/cocos/renderer/pipeline/InstancedBuffer.h @@ -66,6 +66,7 @@ public: void destroy(); void merge(const ModelView *, const SubModelView *, uint); + void merge(const ModelView *, const SubModelView *, uint, gfx::Shader *); void uploadBuffers(gfx::CommandBuffer *cmdBuff); void clear(); void setDynamicOffset(uint idx, uint value); diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index 70922f33f4..26780f6255 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -25,16 +25,13 @@ THE SOFTWARE. #include "PlanarShadowQueue.h" #include "RenderPipeline.h" -#include "BatchedBuffer.h" #include "Define.h" #include "InstancedBuffer.h" #include "PipelineStateManager.h" -#include "RenderBatchedQueue.h" #include "RenderInstancedQueue.h" #include "gfx/GFXCommandBuffer.h" #include "helper/SharedMemory.h" #include "forward/ForwardPipeline.h" -#include "gfx/GFXDescriptorSet.h" #include "gfx/GFXDevice.h" #include "gfx/GFXShader.h" @@ -60,7 +57,7 @@ void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *c const auto models = scene->getModels(); const auto modelCount = models[0]; - auto *instancedBuffer = InstancedBuffer::get(shadowInfo->planarPass); + auto *instancedBuffer = InstancedBuffer::get(shadowInfo->instancePass); uint visibility = 0, lenght = 0; for (uint i = 1; i <= modelCount; i++) { @@ -83,7 +80,7 @@ void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *c const auto subModelCount = subModelID[0]; for (uint m = 1; m <= subModelCount; ++m) { const auto *subModel = model->getSubModelView(subModelID[m]); - instancedBuffer->merge(model, subModel, m - 1); + instancedBuffer->merge(model, subModel, m - 1, subModel->getPlanarInstanceShader()); _instancedQueue->add(instancedBuffer); } } else { @@ -103,10 +100,12 @@ void PlanarShadowQueue::clear() { void PlanarShadowQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer) { const auto *shadowInfo = _pipeline->getShadows(); - if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR || _pendingModels.empty()) { return; } + if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR) { return; } _instancedQueue->recordCommandBuffer(device, renderPass, cmdBuffer); + if (_pendingModels.empty()) { return; } + const auto *pass = shadowInfo->getPlanarShadowPass(); cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index 4b00739d80..540ca8ceb3 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -274,6 +274,7 @@ struct CC_DLL SubModelView { uint32_t passID[4] = {0, 0, 0, 0}; uint32_t shaderID[4] = {0, 0, 0, 0}; uint32_t planarShaderID = 0; + uint32_t planarInstanceShaderID = 0; uint32_t descriptorSetID = 0; uint32_t inputAssemblerID = 0; uint32_t subMeshID = 0; @@ -281,6 +282,7 @@ struct CC_DLL SubModelView { CC_INLINE const PassView *getPassView(uint idx) const { return GET_PASS(passID[idx]); } CC_INLINE gfx::Shader *getShader(uint idx) const { return GET_SHADER(shaderID[idx]); } CC_INLINE gfx::Shader *getPlanarShader() const { return GET_SHADER(planarShaderID); } + CC_INLINE gfx::Shader *getPlanarInstanceShader() const { return GET_SHADER(planarInstanceShaderID); } CC_INLINE gfx::DescriptorSet *getDescriptorSet() const { return GET_DESCRIPTOR_SET(descriptorSetID); } CC_INLINE gfx::InputAssembler *getInputAssembler() const { return GET_IA(inputAssemblerID); } CC_INLINE const RenderingSubMesh *getSubMesh() const { return GET_RENDER_SUBMESH(subMeshID); } From 67c8075642d53af26c970fffcdf622fa202d471a Mon Sep 17 00:00:00 2001 From: troublemaker52025 Date: Fri, 5 Mar 2021 09:29:05 +0800 Subject: [PATCH 167/270] Fix planar shadow has not update ubo at lights for v3.0.1 (#3293) --- native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp | 2 +- native/cocos/renderer/pipeline/forward/SceneCulling.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 0fb8c2be93..eadd9cb3de 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -290,12 +290,12 @@ void ForwardPipeline::updateShadowUBO(Camera *camera) { matShadowViewProj.multiply(matShadowView); float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; memcpy(_shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); + memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); memcpy(_shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); } else if (mainLight && shadowInfo->getShadowType() == ShadowType::PLANAR) { updateDirLight(shadowInfo, mainLight, _shadowUBO); } - memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); _commandBuffers[0]->updateBuffer(_descriptorSet->getBuffer(UBOShadow::BINDING), _shadowUBO.data(), UBOShadow::SIZE); } _descriptorSet->update(); diff --git a/native/cocos/renderer/pipeline/forward/SceneCulling.cpp b/native/cocos/renderer/pipeline/forward/SceneCulling.cpp index 538419344b..812a2260b3 100644 --- a/native/cocos/renderer/pipeline/forward/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/forward/SceneCulling.cpp @@ -134,6 +134,7 @@ void updateDirLight(Shadows *shadows, const Light *light, std::arraycolor, sizeof(Vec4)); } void lightCollecting(Camera *camera, std::vector &validLights) { From e9963878edaec94a13b4d683f147524a0679ec3b Mon Sep 17 00:00:00 2001 From: PP Date: Fri, 5 Mar 2021 11:17:34 +0800 Subject: [PATCH 168/270] fix editBox end editing by pressing return on Win32 / MacOS (#3295) --- native/cocos/ui/edit-box/EditBox-mac.mm | 16 +++--------- native/cocos/ui/edit-box/EditBox-win32.cpp | 30 +++++++++++++++++++--- native/cocos/ui/edit-box/EditBox.h | 6 ----- 3 files changed, 30 insertions(+), 22 deletions(-) diff --git a/native/cocos/ui/edit-box/EditBox-mac.mm b/native/cocos/ui/edit-box/EditBox-mac.mm index 3310f1d64e..2e84b6c215 100644 --- a/native/cocos/ui/edit-box/EditBox-mac.mm +++ b/native/cocos/ui/edit-box/EditBox-mac.mm @@ -25,7 +25,6 @@ #include "platform/Application.h" #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_global.h" -#include "cocos/bindings/event/CustomEventTypes.h" #import @@ -88,6 +87,9 @@ se::Value g_textInputCallback; NSTextField *textField = [notification object]; callJSFunc("input", [textField.stringValue UTF8String]); } +- (void)controlTextDidEndEditing:(NSNotification *)obj { + cc::EditBox::complete(); +} @end /************************************************************************* @@ -242,7 +244,6 @@ void init(const cc::EditBox::ShowInfo &showInfo) { namespace cc { -uint32_t EditBox::mouseDownListenerId = 0; bool EditBox::_isShown = false; void EditBox::show(const ShowInfo &showInfo) { @@ -253,13 +254,6 @@ void EditBox::show(const ShowInfo &showInfo) { init(showInfo); EditBox::_isShown = true; - EditBox::mouseDownListenerId = EventDispatcher::addCustomEventListener(EVENT_MOUSE_DOWN, EditBox::onMouseDown); -} - -void EditBox::onMouseDown(const CustomEvent &event) { - if (event.name == EVENT_MOUSE_DOWN) { - EditBox::complete(); - } } void EditBox::hide() { @@ -277,10 +271,6 @@ void EditBox::hide() { } EditBox::_isShown = false; - if (EditBox::mouseDownListenerId != 0) { - EventDispatcher::removeCustomEventListener(EVENT_MOUSE_DOWN, EditBox::mouseDownListenerId); - EditBox::mouseDownListenerId = 0; - } } bool EditBox::complete() { diff --git a/native/cocos/ui/edit-box/EditBox-win32.cpp b/native/cocos/ui/edit-box/EditBox-win32.cpp index 2f3446f26b..9146c26977 100644 --- a/native/cocos/ui/edit-box/EditBox-win32.cpp +++ b/native/cocos/ui/edit-box/EditBox-win32.cpp @@ -41,8 +41,10 @@ namespace cc { ************************************************************************/ namespace { +bool g_isMultiline = false; HWND g_hwndEditBox = nullptr; WNDPROC g_prevMainWindowProc = nullptr; +WNDPROC g_prevEditWindowProc = nullptr; se::Value g_textInputCallback; int getCocosWindowHeight() { @@ -117,6 +119,22 @@ LRESULT mainWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { return CallWindowProc(g_prevMainWindowProc, hwnd, msg, wParam, lParam); } + +LRESULT editWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { + switch (msg) { + case WM_KEYUP: + if (wParam == VK_RETURN && !g_isMultiline) { + EditBox::complete(); + EditBox::hide(); + SetFocus(cc_get_application_view()->getWindowHandler()); + } + break; + default: + break; + } + + return CallWindowProc(g_prevEditWindowProc, hwnd, msg, wParam, lParam); +} } // namespace /************************************************************************* @@ -126,11 +144,12 @@ void EditBox::show(const EditBox::ShowInfo &showInfo) { int windowHeight = getCocosWindowHeight(); if (!g_hwndEditBox) { HWND parent = cc_get_application_view()->getWindowHandler(); - g_prevMainWindowProc = (WNDPROC)SetWindowLongPtr(parent, GWL_WNDPROC, (LONG_PTR)mainWindowProc); UINT32 flags = WS_CHILD | ES_LEFT | WS_TABSTOP | ES_AUTOHSCROLL; - if (showInfo.isMultiline) + g_isMultiline = showInfo.isMultiline; + if (g_isMultiline) { flags |= ES_MULTILINE; + } if (showInfo.inputType == "password") flags |= WS_EX_TRANSPARENT; @@ -159,7 +178,11 @@ void EditBox::show(const EditBox::ShowInfo &showInfo) { NULL); std::wstring_convert> convert; CC_LOG_DEBUG("Can not create editbox: %s", convert.to_bytes(buffer).c_str()); + return; } + + g_prevMainWindowProc = (WNDPROC)SetWindowLongPtr(parent, GWL_WNDPROC, (LONG_PTR)mainWindowProc); + g_prevEditWindowProc = (WNDPROC)SetWindowLongPtr(g_hwndEditBox, GWL_WNDPROC, (LONG_PTR)editWindowProc); } ::SendMessageW(g_hwndEditBox, EM_LIMITTEXT, showInfo.maxLength, 0); @@ -179,9 +202,10 @@ void EditBox::show(const EditBox::ShowInfo &showInfo) { void EditBox::hide() { DestroyWindow(g_hwndEditBox); - g_hwndEditBox = nullptr; SetWindowLongPtr(cc_get_application_view()->getWindowHandler(), GWL_WNDPROC, (LONG_PTR)g_prevMainWindowProc); + SetWindowLongPtr(g_hwndEditBox, GWL_WNDPROC, (LONG_PTR)g_prevEditWindowProc); + g_hwndEditBox = nullptr; } bool EditBox::complete() { diff --git a/native/cocos/ui/edit-box/EditBox.h b/native/cocos/ui/edit-box/EditBox.h index 0228c0e987..ab9036e86f 100644 --- a/native/cocos/ui/edit-box/EditBox.h +++ b/native/cocos/ui/edit-box/EditBox.h @@ -25,7 +25,6 @@ #include #include "base/Macros.h" -#include "cocos/bindings/event/EventDispatcher.h" namespace cc { @@ -51,11 +50,6 @@ public: // Don't call it by yourself untile you know the effect. static bool complete(); -#if (CC_PLATFORM == CC_PLATFORM_MAC_OSX) - static uint32_t mouseDownListenerId; - static void onMouseDown(const CustomEvent &); -#endif - private: static bool _isShown; }; From 38ebf299a5a9037eee2354ccd9c2ed19e36a334a Mon Sep 17 00:00:00 2001 From: GengineJS <476393671@qq.com> Date: Sat, 6 Mar 2021 08:31:19 +0800 Subject: [PATCH 169/270] [Fix] _buffer undefine (#3301) --- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index 9dbf07dfaa..ac9a3a3a65 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -136,8 +136,6 @@ void CCVKBuffer::resize(uint size) { const size_t drawInfoCount = _size / sizeof(DrawInfo); _gpuBuffer->indexedIndirectCmds.resize(drawInfoCount); _gpuBuffer->indirectCmds.resize(drawInfoCount); - } else { - _gpuBuffer->buffer = _buffer; } } } From ab32b3083e118349caecfb0f89442c119ea62121 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 9 Mar 2021 15:55:50 +0800 Subject: [PATCH 170/270] vk: update barrier manager ref on destroy (#3304) * vk: update barrier manager ref on destroy --- native/cocos/base/threading/ReadWriteLock.h | 2 + .../gfx-agent/GFXInputAssemblerAgent.cpp | 87 +++++++++++- .../gfx-agent/GFXInputAssemblerAgent.h | 14 +- native/cocos/renderer/gfx-base/GFXBuffer.cpp | 9 ++ native/cocos/renderer/gfx-base/GFXBuffer.h | 46 ++++--- native/cocos/renderer/gfx-base/GFXDevice.h | 2 - .../renderer/gfx-base/GFXFramebuffer.cpp | 15 ++- .../cocos/renderer/gfx-base/GFXFramebuffer.h | 14 +- .../cocos/renderer/gfx-base/GFXRenderPass.cpp | 124 +++++++++++++++++- .../cocos/renderer/gfx-base/GFXRenderPass.h | 19 ++- native/cocos/renderer/gfx-base/GFXShader.cpp | 2 +- native/cocos/renderer/gfx-base/GFXShader.h | 31 +++-- native/cocos/renderer/gfx-base/GFXTexture.cpp | 16 +++ native/cocos/renderer/gfx-base/GFXTexture.h | 77 ++++++----- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 1 + .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 8 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 39 ------ .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 2 + .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 1 + 19 files changed, 356 insertions(+), 153 deletions(-) diff --git a/native/cocos/base/threading/ReadWriteLock.h b/native/cocos/base/threading/ReadWriteLock.h index 292250ad82..947627f0c8 100644 --- a/native/cocos/base/threading/ReadWriteLock.h +++ b/native/cocos/base/threading/ReadWriteLock.h @@ -31,6 +31,8 @@ namespace cc { class ReadWriteLock final { public: + ReadWriteLock() noexcept = default; + template auto LockRead(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)); diff --git a/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp index 3c86ec9a7c..b091bffc87 100644 --- a/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp @@ -44,17 +44,17 @@ InputAssemblerAgent::~InputAssemblerAgent() { } bool InputAssemblerAgent::initialize(const InputAssemblerInfo &info) { - _attributes = info.attributes; - _vertexBuffers = info.vertexBuffers; - _indexBuffer = info.indexBuffer; + _attributes = info.attributes; + _vertexBuffers = info.vertexBuffers; + _indexBuffer = info.indexBuffer; _indirectBuffer = info.indirectBuffer; if (_indexBuffer) { _indexCount = _indexBuffer->getCount(); _firstIndex = 0; } else if (_vertexBuffers.size()) { - _vertexCount = _vertexBuffers[0]->getCount(); - _firstVertex = 0; + _vertexCount = _vertexBuffers[0]->getCount(); + _firstVertex = 0; _vertexOffset = 0; } _attributesHash = computeAttributesHash(); @@ -92,5 +92,82 @@ void InputAssemblerAgent::destroy() { }); } +void InputAssemblerAgent::setVertexCount(uint count) { + _vertexCount = count; + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + actor, getActor(), + count, count, + { + actor->setVertexCount(count); + }); +} + +void InputAssemblerAgent::setFirstVertex(uint first) { + _firstVertex = first; + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + actor, getActor(), + first, first, + { + actor->setFirstVertex(first); + }); +} + +void InputAssemblerAgent::setIndexCount(uint count) { + _indexCount = count; + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + actor, getActor(), + count, count, + { + actor->setIndexCount(count); + }); +} + +void InputAssemblerAgent::setFirstIndex(uint first) { + _firstIndex = first; + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + actor, getActor(), + first, first, + { + actor->setFirstIndex(first); + }); +} + +void InputAssemblerAgent::setVertexOffset(uint offset) { + _vertexOffset = offset; + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + actor, getActor(), + offset, offset, + { + actor->setVertexOffset(offset); + }); +} + +void InputAssemblerAgent::setInstanceCount(uint count) { + _instanceCount = count; + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + actor, getActor(), + count, count, + { + actor->setInstanceCount(count); + }); +} + +void InputAssemblerAgent::setFirstInstance(uint first) { + _firstInstance = first; + ENQUEUE_MESSAGE_2( + ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + actor, getActor(), + first, first, + { + actor->setFirstInstance(first); + }); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h b/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h index 6443694e0b..0742c3861b 100644 --- a/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h +++ b/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h @@ -40,13 +40,13 @@ public: bool initialize(const InputAssemblerInfo &info) override; void destroy() override; - void setVertexCount(uint count) override { _vertexCount = count; _actor->setVertexCount(count); } - void setFirstVertex(uint first) override { _firstVertex = first; _actor->setFirstVertex(first); } - void setIndexCount(uint count) override { _indexCount = count; _actor->setIndexCount(count); } - void setFirstIndex(uint first) override { _firstIndex = first; _actor->setFirstIndex(first); } - void setVertexOffset(uint offset) override { _vertexOffset = offset; _actor->setVertexOffset(offset); } - void setInstanceCount(uint count) override { _instanceCount = count; _actor->setInstanceCount(count); } - void setFirstInstance(uint first) override { _firstInstance = first; _actor->setFirstInstance(first); } + void setVertexCount(uint count) override; + void setFirstVertex(uint first) override; + void setIndexCount(uint count) override; + void setFirstIndex(uint first) override; + void setVertexOffset(uint offset) override; + void setInstanceCount(uint count) override; + void setFirstInstance(uint first) override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-base/GFXBuffer.cpp b/native/cocos/renderer/gfx-base/GFXBuffer.cpp index 373dcb9e38..7232a0f169 100644 --- a/native/cocos/renderer/gfx-base/GFXBuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXBuffer.cpp @@ -39,5 +39,14 @@ Buffer::Buffer(Device *device) Buffer::~Buffer() { } +uint Buffer::computeHash(const BufferInfo &info) { + uint seed = 4; + seed ^= (uint)(info.usage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.memUsage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.size) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.flags) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + return seed; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXBuffer.h b/native/cocos/renderer/gfx-base/GFXBuffer.h index fc5244f0db..0c1539fc4c 100644 --- a/native/cocos/renderer/gfx-base/GFXBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXBuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_BUFFER_H_ -#define CC_CORE_GFX_BUFFER_H_ +#pragma once #include "GFXObject.h" @@ -36,35 +35,34 @@ public: Buffer(Device *device); virtual ~Buffer(); -public: - virtual bool initialize(const BufferInfo &info) = 0; - virtual bool initialize(const BufferViewInfo &info) = 0; - virtual void destroy() = 0; - virtual void resize(uint size) = 0; - virtual void update(void *buffer, uint size) = 0; + static uint computeHash(const BufferInfo &info); - CC_INLINE Device *getDevice() const { return _device; } + virtual bool initialize(const BufferInfo &info) = 0; + virtual bool initialize(const BufferViewInfo &info) = 0; + virtual void destroy() = 0; + virtual void resize(uint size) = 0; + virtual void update(void *buffer, uint size) = 0; + + CC_INLINE Device * getDevice() const { return _device; } CC_INLINE BufferUsage getUsage() const { return _usage; } CC_INLINE MemoryUsage getMemUsage() const { return _memUsage; } - CC_INLINE uint getStride() const { return _stride; } - CC_INLINE uint getCount() const { return _count; } - CC_INLINE uint getSize() const { return _size; } + CC_INLINE uint getStride() const { return _stride; } + CC_INLINE uint getCount() const { return _count; } + CC_INLINE uint getSize() const { return _size; } CC_INLINE BufferFlags getFlags() const { return _flags; } protected: - Device *_device = nullptr; - BufferUsage _usage = BufferUsageBit::NONE; - MemoryUsage _memUsage = MemoryUsageBit::NONE; - uint _stride = 0u; - uint _count = 0u; - uint _size = 0u; - uint _offset = 0u; - BufferFlags _flags = BufferFlagBit::NONE; - uint8_t *_buffer = nullptr; - bool _isBufferView = false; + Device * _device = nullptr; + BufferUsage _usage = BufferUsageBit::NONE; + MemoryUsage _memUsage = MemoryUsageBit::NONE; + uint _stride = 0u; + uint _count = 0u; + uint _size = 0u; + uint _offset = 0u; + BufferFlags _flags = BufferFlagBit::NONE; + uint8_t * _buffer = nullptr; + bool _isBufferView = false; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-base/GFXDevice.h b/native/cocos/renderer/gfx-base/GFXDevice.h index 066d85a1f4..9598006215 100644 --- a/native/cocos/renderer/gfx-base/GFXDevice.h +++ b/native/cocos/renderer/gfx-base/GFXDevice.h @@ -176,7 +176,6 @@ public: CC_INLINE const String &getDeviceName() const { return _deviceName; } CC_INLINE const String &getRenderer() const { return _renderer; } CC_INLINE const String &getVendor() const { return _vendor; } - CC_INLINE uint genShaderId() { return _shaderIdGen++; } Format getColorFormat() const; Format getDepthStencilFormat() const; @@ -222,7 +221,6 @@ protected: uint _numDrawCalls = 0u; uint _numInstances = 0u; uint _numTriangles = 0u; - uint _shaderIdGen = 0u; BindingMappingInfo _bindingMappingInfo; DeviceCaps _caps; diff --git a/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp index 25f92d50d1..c173035bed 100644 --- a/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp @@ -26,7 +26,7 @@ #include "base/CoreStd.h" #include "GFXFramebuffer.h" -#include "GFXObject.h" +#include "GFXTexture.h" namespace cc { namespace gfx { @@ -39,5 +39,18 @@ Framebuffer::Framebuffer(Device *device) Framebuffer::~Framebuffer() { } +uint Framebuffer::computeHash(const FramebufferInfo& info) { + uint seed = info.colorTextures.size() + info.colorMipmapLevels.size() + 2; + for (const Texture *attachment : info.colorTextures) { + seed ^= (uint)attachment->getTextureID() + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + for (uint level : info.colorMipmapLevels) { + seed ^= (uint)level + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + seed ^= (uint)info.depthStencilTexture->getTextureID() + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.depthStencilMipmapLevel + 0x9e3779b9 + (seed << 6) + (seed >> 2); + return seed; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXFramebuffer.h b/native/cocos/renderer/gfx-base/GFXFramebuffer.h index 62ba7b5166..ebc3b242be 100644 --- a/native/cocos/renderer/gfx-base/GFXFramebuffer.h +++ b/native/cocos/renderer/gfx-base/GFXFramebuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_FRAME_BUFFER_H_ -#define CC_CORE_GFX_FRAME_BUFFER_H_ +#pragma once #include "GFXObject.h" @@ -36,9 +35,10 @@ public: Framebuffer(Device *device); virtual ~Framebuffer(); -public: + static uint computeHash(const FramebufferInfo &info); + virtual bool initialize(const FramebufferInfo &info) = 0; - virtual void destroy() = 0; + virtual void destroy() = 0; CC_INLINE Device *getDevice() const { return _device; } CC_INLINE RenderPass *getRenderPass() const { return _renderPass; } @@ -46,13 +46,11 @@ public: CC_INLINE Texture *getDepthStencilTexture() const { return _depthStencilTexture; } protected: - Device *_device = nullptr; + Device * _device = nullptr; RenderPass *_renderPass = nullptr; TextureList _colorTextures; - Texture *_depthStencilTexture = nullptr; + Texture * _depthStencilTexture = nullptr; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_FRAME_BUFFER_H_ diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp index a375e74066..240e2ad156 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp @@ -41,8 +41,29 @@ RenderPass::~RenderPass() { // Based on render pass compatibility uint RenderPass::computeHash() { // https://stackoverflow.com/questions/20511347/a-good-hash-function-for-a-vector - uint seed = _colorAttachments.size() * 2 + 2; + uint seed = 0; if (_subpasses.size()) { + for (const SubpassInfo &subPass : _subpasses) { + for (const uint8_t iaIndex : subPass.inputs) { + if (iaIndex >= _colorAttachments.size()) break; + seed += 2; + } + for (const uint8_t caIndex : subPass.colors) { + if (caIndex >= _colorAttachments.size()) break; + seed += 2; + } + for (const uint8_t raIndex : subPass.resolves) { + if (raIndex >= _colorAttachments.size()) break; + seed += 2; + } + for (const uint8_t paIndex : subPass.preserves) { + if (paIndex >= _colorAttachments.size()) break; + seed += 2; + } + if (subPass.depthStencil < _colorAttachments.size()) { + seed += 2; + } + } for (const SubpassInfo &subPass : _subpasses) { for (const uint8_t iaIndex : subPass.inputs) { if (iaIndex >= _colorAttachments.size()) break; @@ -56,6 +77,18 @@ uint RenderPass::computeHash() { seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } + for (const uint8_t raIndex : subPass.resolves) { + if (raIndex >= _colorAttachments.size()) break; + const ColorAttachment &ca = _colorAttachments[raIndex]; + seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + for (const uint8_t paIndex : subPass.preserves) { + if (paIndex >= _colorAttachments.size()) break; + const ColorAttachment &ca = _colorAttachments[paIndex]; + seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } if (subPass.depthStencil < _colorAttachments.size()) { const ColorAttachment &ds = _colorAttachments[subPass.depthStencil]; seed ^= (uint)(ds.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); @@ -63,6 +96,7 @@ uint RenderPass::computeHash() { } } } else { + seed = _colorAttachments.size() * 2 + 2; for (const ColorAttachment &colorAttachment : _colorAttachments) { seed ^= (uint)(colorAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)colorAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); @@ -74,5 +108,93 @@ uint RenderPass::computeHash() { return seed; } +uint RenderPass::computeHash(const RenderPassInfo &info) { + static auto computeAttachmentHash = [](const ColorAttachment &attachment, uint &seed) { + seed ^= (uint)attachment.format + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)attachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)attachment.loadOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)attachment.storeOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); + for (AccessType type : attachment.beginAccesses) { + seed ^= (uint)type + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + for (AccessType type : attachment.endAccesses) { + seed ^= (uint)type + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + }; + uint seed = 0; + if (info.subpasses.size()) { + for (const SubpassInfo &subPass : info.subpasses) { + for (const uint8_t iaIndex : subPass.inputs) { + if (iaIndex >= info.colorAttachments.size()) break; + const ColorAttachment &ia = info.colorAttachments[iaIndex]; + seed += 4 + ia.beginAccesses.size() + ia.endAccesses.size(); + } + for (const uint8_t caIndex : subPass.colors) { + if (caIndex >= info.colorAttachments.size()) break; + const ColorAttachment &ca = info.colorAttachments[caIndex]; + seed += 4 + ca.beginAccesses.size() + ca.endAccesses.size(); + } + for (const uint8_t raIndex : subPass.resolves) { + if (raIndex >= info.colorAttachments.size()) break; + const ColorAttachment &ra = info.colorAttachments[raIndex]; + seed += 4 + ra.beginAccesses.size() + ra.endAccesses.size(); + } + for (const uint8_t paIndex : subPass.preserves) { + if (paIndex >= info.colorAttachments.size()) break; + const ColorAttachment &pa = info.colorAttachments[paIndex]; + seed += 4 + pa.beginAccesses.size() + pa.endAccesses.size(); + } + if (subPass.depthStencil < info.colorAttachments.size()) { + const ColorAttachment &ds = info.colorAttachments[subPass.depthStencil]; + seed += 4 + ds.beginAccesses.size() + ds.endAccesses.size(); + } + } + for (const SubpassInfo &subpass : info.subpasses) { + for (const uint8_t iaIndex : subpass.inputs) { + if (iaIndex >= info.colorAttachments.size()) break; + computeAttachmentHash(info.colorAttachments[iaIndex], seed); + } + for (const uint8_t caIndex : subpass.colors) { + if (caIndex >= info.colorAttachments.size()) break; + computeAttachmentHash(info.colorAttachments[caIndex], seed); + } + for (const uint8_t raIndex : subpass.resolves) { + if (raIndex >= info.colorAttachments.size()) break; + computeAttachmentHash(info.colorAttachments[raIndex], seed); + } + for (const uint8_t paIndex : subpass.preserves) { + if (paIndex >= info.colorAttachments.size()) break; + computeAttachmentHash(info.colorAttachments[paIndex], seed); + } + if (subpass.depthStencil < info.colorAttachments.size()) { + computeAttachmentHash(info.colorAttachments[subpass.depthStencil], seed); + } + } + } else { + for (const ColorAttachment &ca : info.colorAttachments) { + seed += 4 + ca.beginAccesses.size() + ca.endAccesses.size(); + } + seed += 6 + info.depthStencilAttachment.beginAccesses.size() + info.depthStencilAttachment.endAccesses.size(); + + for (const ColorAttachment &ca : info.colorAttachments) { + computeAttachmentHash(ca, seed); + } + seed ^= (uint)info.depthStencilAttachment.format + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.depthStencilAttachment.depthLoadOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.depthStencilAttachment.depthStoreOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.depthStencilAttachment.stencilLoadOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)info.depthStencilAttachment.stencilStoreOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); + for (AccessType type : info.depthStencilAttachment.beginAccesses) { + seed ^= (uint)type + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + for (AccessType type : info.depthStencilAttachment.endAccesses) { + seed ^= (uint)type + 0x9e3779b9 + (seed << 6) + (seed >> 2); + } + } + + return seed; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.h b/native/cocos/renderer/gfx-base/GFXRenderPass.h index e58fc86c53..0a0435ce3e 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.h +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_RENDER_PASS_H_ -#define CC_CORE_GFX_RENDER_PASS_H_ +#pragma once #include "GFXObject.h" @@ -36,26 +35,26 @@ public: RenderPass(Device *device); virtual ~RenderPass(); + static uint computeHash(const RenderPassInfo &info); + virtual bool initialize(const RenderPassInfo &info) = 0; - virtual void destroy() = 0; + virtual void destroy() = 0; CC_INLINE Device *getDevice() const { return _device; } CC_INLINE const ColorAttachmentList &getColorAttachments() const { return _colorAttachments; } CC_INLINE const DepthStencilAttachment &getDepthStencilAttachment() const { return _depthStencilAttachment; } CC_INLINE const SubpassInfoList &getSubpasses() const { return _subpasses; } - CC_INLINE uint getHash() const { return _hash; } + CC_INLINE uint getHash() const { return _hash; } protected: uint computeHash(); - Device *_device = nullptr; - ColorAttachmentList _colorAttachments; + Device * _device = nullptr; + ColorAttachmentList _colorAttachments; DepthStencilAttachment _depthStencilAttachment; - SubpassInfoList _subpasses; - uint _hash = 0; + SubpassInfoList _subpasses; + uint _hash = 0; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_RENDER_PASS_H_ diff --git a/native/cocos/renderer/gfx-base/GFXShader.cpp b/native/cocos/renderer/gfx-base/GFXShader.cpp index d6d6fe31d5..7454f79a95 100644 --- a/native/cocos/renderer/gfx-base/GFXShader.cpp +++ b/native/cocos/renderer/gfx-base/GFXShader.cpp @@ -35,7 +35,7 @@ namespace gfx { Shader::Shader(Device *device) : GFXObject(ObjectType::SHADER), _device(device) { - _shaderID = device->genShaderId(); + _shaderID = generateShaderID(); } Shader::~Shader() { diff --git a/native/cocos/renderer/gfx-base/GFXShader.h b/native/cocos/renderer/gfx-base/GFXShader.h index ca108d6334..1d424f3922 100644 --- a/native/cocos/renderer/gfx-base/GFXShader.h +++ b/native/cocos/renderer/gfx-base/GFXShader.h @@ -37,10 +37,10 @@ public: virtual ~Shader(); virtual bool initialize(const ShaderInfo &info) = 0; - virtual void destroy() = 0; + virtual void destroy() = 0; CC_INLINE Device *getDevice() const { return _device; } - CC_INLINE uint getID() const { return _shaderID; } + CC_INLINE uint getID() const { return _shaderID; } CC_INLINE const String &getName() const { return _name; } CC_INLINE const ShaderStageList &getStages() const { return _stages; } CC_INLINE const AttributeList &getAttributes() const { return _attributes; } @@ -53,17 +53,22 @@ public: CC_INLINE const UniformInputAttachmentList &getSubpassInputs() const { return _subpassInputs; } protected: - Device *_device = nullptr; - uint _shaderID = 0; - String _name; - ShaderStageList _stages; - AttributeList _attributes; - UniformBlockList _blocks; - UniformStorageBufferList _buffers; - UniformSamplerTextureList _samplerTextures; - UniformSamplerList _samplers; - UniformTextureList _textures; - UniformStorageImageList _images; + static uint generateShaderID() noexcept { + static uint _idGen = 0; + return _idGen++; + } + + Device * _device = nullptr; + uint _shaderID = 0; + String _name; + ShaderStageList _stages; + AttributeList _attributes; + UniformBlockList _blocks; + UniformStorageBufferList _buffers; + UniformSamplerTextureList _samplerTextures; + UniformSamplerList _samplers; + UniformTextureList _textures; + UniformStorageImageList _images; UniformInputAttachmentList _subpassInputs; }; diff --git a/native/cocos/renderer/gfx-base/GFXTexture.cpp b/native/cocos/renderer/gfx-base/GFXTexture.cpp index 7984fa2173..162bdeda3e 100644 --- a/native/cocos/renderer/gfx-base/GFXTexture.cpp +++ b/native/cocos/renderer/gfx-base/GFXTexture.cpp @@ -34,10 +34,26 @@ namespace gfx { Texture::Texture(Device *device) : GFXObject(ObjectType::TEXTURE), _device(device) { + _textureID = generateTextureID(); } Texture::~Texture() { } +uint Texture::computeHash(const TextureInfo &info) { + uint seed = 10; + seed ^= (uint)(info.type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.usage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.width) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.height) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.flags) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.layerCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.levelCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.samples) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (uint)(info.depth) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + return seed; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXTexture.h b/native/cocos/renderer/gfx-base/GFXTexture.h index b7edeff232..13f5da54eb 100644 --- a/native/cocos/renderer/gfx-base/GFXTexture.h +++ b/native/cocos/renderer/gfx-base/GFXTexture.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_TEXTURE_H_ -#define CC_CORE_GFX_TEXTURE_H_ +#pragma once #include "GFXObject.h" @@ -36,47 +35,53 @@ public: Texture(Device *device); virtual ~Texture(); -public: - virtual bool initialize(const TextureInfo &info) = 0; - virtual bool initialize(const TextureViewInfo &info) = 0; - virtual void destroy() = 0; - virtual void resize(uint width, uint height) = 0; + static uint computeHash(const TextureInfo &info); - CC_INLINE Device *getDevice() const { return _device; } - CC_INLINE TextureType getType() const { return _type; } + virtual bool initialize(const TextureInfo &info) = 0; + virtual bool initialize(const TextureViewInfo &info) = 0; + virtual void destroy() = 0; + virtual void resize(uint width, uint height) = 0; + + CC_INLINE Device * getDevice() const { return _device; } + CC_INLINE uint getTextureID() const { return _textureID; } + CC_INLINE TextureType getType() const { return _type; } CC_INLINE TextureUsage getUsage() const { return _usage; } - CC_INLINE Format getFormat() const { return _format; } - CC_INLINE uint getWidth() const { return _width; } - CC_INLINE uint getHeight() const { return _height; } - CC_INLINE uint getDepth() const { return _depth; } - CC_INLINE uint getLayerCount() const { return _layerCount; } - CC_INLINE uint getLevelCount() const { return _levelCount; } - CC_INLINE uint getSize() const { return _size; } - CC_INLINE SampleCount getSamples() const { return _samples; } + CC_INLINE Format getFormat() const { return _format; } + CC_INLINE uint getWidth() const { return _width; } + CC_INLINE uint getHeight() const { return _height; } + CC_INLINE uint getDepth() const { return _depth; } + CC_INLINE uint getLayerCount() const { return _layerCount; } + CC_INLINE uint getLevelCount() const { return _levelCount; } + CC_INLINE uint getSize() const { return _size; } + CC_INLINE SampleCount getSamples() const { return _samples; } CC_INLINE TextureFlags getFlags() const { return _flags; } CC_INLINE uint8_t *getBuffer() const { return _buffer; } - CC_INLINE bool isTextureView() const { return _isTextureView; } + CC_INLINE bool isTextureView() const { return _isTextureView; } protected: - Device *_device = nullptr; - TextureType _type = TextureType::TEX2D; - TextureUsage _usage = TextureUsageBit::NONE; - Format _format = Format::UNKNOWN; - uint _width = 0u; - uint _height = 0u; - uint _depth = 1u; - uint _baseLevel = 0u; - uint _levelCount = 1u; - uint _baseLayer = 0u; - uint _layerCount = 1u; - uint _size = 0u; - SampleCount _samples = SampleCount::X1; - TextureFlags _flags = TextureFlagBit::NONE; - uint8_t *_buffer = nullptr; - bool _isTextureView = false; + static uint generateTextureID() noexcept { + static uint _idGen = 0; + return _idGen++; + } + + Device * _device = nullptr; + uint _textureID = 0; + TextureType _type = TextureType::TEX2D; + TextureUsage _usage = TextureUsageBit::NONE; + Format _format = Format::UNKNOWN; + uint _width = 0u; + uint _height = 0u; + uint _depth = 1u; + uint _baseLevel = 0u; + uint _levelCount = 1u; + uint _baseLayer = 0u; + uint _layerCount = 1u; + uint _size = 0u; + SampleCount _samples = SampleCount::X1; + TextureFlags _flags = TextureFlagBit::NONE; + uint8_t * _buffer = nullptr; + bool _isTextureView = false; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_TEXTURE_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index cc2f7a0ba0..959435cf26 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -114,6 +114,7 @@ void CCVKBuffer::destroy() { if (!_isBufferView) { ((CCVKDevice *)_device)->gpuBufferHub()->erase(_gpuBuffer); ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuBuffer); + ((CCVKDevice *)_device)->gpuBarrierManager()->cancel(_gpuBuffer); _device->getMemoryStatus().bufferSize -= _size; CC_DELETE(_gpuBuffer); } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index f1fffa4b4a..434dd50a6b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -454,30 +454,26 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co VkImageAspectFlags dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; VkImage srcImage = VK_NULL_HANDLE; VkImage dstImage = VK_NULL_HANDLE; - VkImageLayout srcImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; - VkImageLayout dstImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; + VkImageLayout srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; + VkImageLayout dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; CCVKGPUSwapchain * swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); if (srcTexture) { CCVKGPUTexture *gpuTextureSrc = ((CCVKTexture *)srcTexture)->gpuTexture(); srcAspectMask = gpuTextureSrc->aspectMask; srcImage = gpuTextureSrc->vkImage; - srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; } else { srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; srcImage = swapchain->swapchainImages[swapchain->curImageIndex]; - srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; } if (dstTexture) { CCVKGPUTexture *gpuTextureDst = ((CCVKTexture *)dstTexture)->gpuTexture(); dstAspectMask = gpuTextureDst->aspectMask; dstImage = gpuTextureDst->vkImage; - dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; } else { dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; dstImage = swapchain->swapchainImages[swapchain->curImageIndex]; - dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; } _blitRegions.resize(count); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 56f283fa16..274dbfe6d5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -311,45 +311,6 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende subpassDescriptions[0].colorAttachmentCount = attachmentReferences.size() - 1; subpassDescriptions[0].pColorAttachments = attachmentReferences.data(); if (hasDepth) subpassDescriptions[0].pDepthStencilAttachment = &attachmentReferences.back(); - - subpassDependencies.emplace_back(VkSubpassDependency{ - VK_SUBPASS_EXTERNAL, - 0, - VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT | VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, - VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, - VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, - VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, - VK_DEPENDENCY_BY_REGION_BIT, - }); - subpassDependencies.emplace_back(VkSubpassDependency{ - 0, - VK_SUBPASS_EXTERNAL, - VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, - VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT | VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, - VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, - VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | VK_ACCESS_SHADER_READ_BIT, - VK_DEPENDENCY_BY_REGION_BIT, - }); - if (hasDepth) { - subpassDependencies.emplace_back(VkSubpassDependency{ - VK_SUBPASS_EXTERNAL, - 0, - VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, - VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, - VK_DEPENDENCY_BY_REGION_BIT, - }); - subpassDependencies.emplace_back(VkSubpassDependency{ - 0, - VK_SUBPASS_EXTERNAL, - VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, - VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT | VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT, - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, - VK_DEPENDENCY_BY_REGION_BIT, - }); - } } // explicitly declare external dependencies if needed diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 5314c2042a..11b753f61c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -1019,6 +1019,8 @@ public: void update(CCVKGPUCommandBuffer *gpuCommandBuffer); + CC_INLINE void cancel(CCVKGPUBuffer *gpuBuffer) { _buffersToBeChecked.erase(gpuBuffer); } + CC_INLINE void cancel(CCVKGPUTexture *gpuTexture) { _texturesToBeChecked.erase(gpuTexture); } CC_INLINE bool needUpdate() { return !_texturesToBeChecked.empty() || !_buffersToBeChecked.empty(); } private: diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index fd1331d1e7..d64d4db16d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -166,6 +166,7 @@ void CCVKTexture::destroy() { if (_gpuTexture) { if (!_isTextureView) { ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuTexture); + ((CCVKDevice *)_device)->gpuBarrierManager()->cancel(_gpuTexture); _device->getMemoryStatus().textureSize -= _size; CC_DELETE(_gpuTexture); } From f835e7dec85db01757e1ef26f8fa1a21338c5543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Wed, 10 Mar 2021 13:50:02 +0800 Subject: [PATCH 171/270] [CI] Update generate-pr.sh (#3305) --- native/tools/travis-scripts/generate-pr.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/native/tools/travis-scripts/generate-pr.sh b/native/tools/travis-scripts/generate-pr.sh index ac732a65a9..c247f45029 100644 --- a/native/tools/travis-scripts/generate-pr.sh +++ b/native/tools/travis-scripts/generate-pr.sh @@ -133,6 +133,9 @@ git commit -m "$COMMITTAG" #Set remotes git remote add upstream "$COCOS_ROBOT_REMOTE" 2> /dev/null > /dev/null +if $(git rev-parse --is-shallow-repository); then + git fetch --unshallow +fi git fetch upstream --no-recurse-submodules echo "Pushing to Robot's repo ..." From 59ae88d448e584287f7430a06a27c2eb9988ede0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:03:41 +0800 Subject: [PATCH 172/270] Update generate-pr.sh (#3306) --- native/tools/travis-scripts/generate-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/tools/travis-scripts/generate-pr.sh b/native/tools/travis-scripts/generate-pr.sh index c247f45029..79596b0d1a 100644 --- a/native/tools/travis-scripts/generate-pr.sh +++ b/native/tools/travis-scripts/generate-pr.sh @@ -23,7 +23,7 @@ COMMITTAG="[ci skip][AUTO]: updating jsbinding automatically: ${TRAVIS_COMMIT:0: ELAPSEDSECS=`date +%s` COCOS_BRANCH="update_js_bindings_$ELAPSEDSECS" COCOS_ROBOT_REMOTE="https://${GH_USER}:${GH_PASSWORD}@github.com/${GH_USER}/cocos2d-x-lite.git" -PULL_REQUEST_REPO="https://api.github.com/repos/cocos-creator/cocos2d-x-lite/pulls" +PULL_REQUEST_REPO="https://api.github.com/repos/cocos-creator/engine-native/pulls" FETCH_REMOTE_BRANCH=$1 JS_COMMIT_PATH="cocos/bindings/auto" JS_COMMIT_CCFILES="templates/cocos2dx_files.json" From fce19d28d984cf3a61c963f3e93a9ccc45944be7 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Wed, 10 Mar 2021 14:50:26 +0800 Subject: [PATCH 173/270] fix jsb binding error (#3307) --- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 124 ++++++++++++++++---- native/cocos/bindings/auto/jsb_gfx_auto.h | 6 +- 2 files changed, 109 insertions(+), 21 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 08980e5a8c..8ec5a43bef 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -15255,6 +15255,26 @@ static bool js_gfx_Buffer_resize(se::State& s) } SE_BIND_FUNC(js_gfx_Buffer_resize) +static bool js_gfx_Buffer_computeHash(se::State& s) +{ + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, nullptr); + SE_PRECONDITION2(ok, false, "js_gfx_Buffer_computeHash : Error processing arguments"); + unsigned int result = cc::gfx::Buffer::computeHash(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Buffer_computeHash : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Buffer_computeHash) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Buffer_finalize) static bool js_gfx_Buffer_constructor(se::State& s) // constructor.c @@ -15294,6 +15314,7 @@ bool js_register_gfx_Buffer(se::Object* obj) cls->defineProperty("size", _SE(js_gfx_Buffer_getSize), nullptr); cls->defineFunction("destroy", _SE(js_gfx_Buffer_destroy)); cls->defineFunction("resize", _SE(js_gfx_Buffer_resize)); + cls->defineStaticFunction("computeHash", _SE(js_gfx_Buffer_computeHash)); cls->defineFinalizeFunction(_SE(js_cc_gfx_Buffer_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -16930,6 +16951,26 @@ static bool js_gfx_Framebuffer_initialize(se::State& s) } SE_BIND_FUNC(js_gfx_Framebuffer_initialize) +static bool js_gfx_Framebuffer_computeHash(se::State& s) +{ + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, nullptr); + SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_computeHash : Error processing arguments"); + unsigned int result = cc::gfx::Framebuffer::computeHash(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_computeHash : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Framebuffer_computeHash) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Framebuffer_finalize) static bool js_gfx_Framebuffer_constructor(se::State& s) // constructor.c @@ -16966,6 +17007,7 @@ bool js_register_gfx_Framebuffer(se::Object* obj) cls->defineProperty("depthStencilTexture", _SE(js_gfx_Framebuffer_getDepthStencilTexture), nullptr); cls->defineFunction("destroy", _SE(js_gfx_Framebuffer_destroy)); cls->defineFunction("initialize", _SE(js_gfx_Framebuffer_initialize)); + cls->defineStaticFunction("computeHash", _SE(js_gfx_Framebuffer_computeHash)); cls->defineFinalizeFunction(_SE(js_cc_gfx_Framebuffer_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -18135,6 +18177,26 @@ static bool js_gfx_RenderPass_initialize(se::State& s) } SE_BIND_FUNC(js_gfx_RenderPass_initialize) +static bool js_gfx_RenderPass_computeHash(se::State& s) +{ + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, nullptr); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_computeHash : Error processing arguments"); + unsigned int result = cc::gfx::RenderPass::computeHash(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_computeHash : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_RenderPass_computeHash) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_RenderPass_finalize) static bool js_gfx_RenderPass_constructor(se::State& s) // constructor.c @@ -18171,6 +18233,7 @@ bool js_register_gfx_RenderPass(se::Object* obj) cls->defineFunction("getDepthStencilAttachment", _SE(js_gfx_RenderPass_getDepthStencilAttachment)); cls->defineFunction("getSubpasses", _SE(js_gfx_RenderPass_getSubpasses)); cls->defineFunction("initialize", _SE(js_gfx_RenderPass_initialize)); + cls->defineStaticFunction("computeHash", _SE(js_gfx_RenderPass_computeHash)); cls->defineFinalizeFunction(_SE(js_cc_gfx_RenderPass_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -18959,6 +19022,25 @@ static bool js_gfx_Texture_getSize(se::State& s) } SE_BIND_PROP_GET(js_gfx_Texture_getSize) +static bool js_gfx_Texture_getTextureID(se::State& s) +{ + cc::gfx::Texture* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_Texture_getTextureID : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getTextureID(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Texture_getTextureID : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_Texture_getTextureID) + static bool js_gfx_Texture_getType(se::State& s) { cc::gfx::Texture* cobj = SE_THIS_OBJECT(s); @@ -19056,6 +19138,26 @@ static bool js_gfx_Texture_resize(se::State& s) } SE_BIND_FUNC(js_gfx_Texture_resize) +static bool js_gfx_Texture_computeHash(se::State& s) +{ + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, nullptr); + SE_PRECONDITION2(ok, false, "js_gfx_Texture_computeHash : Error processing arguments"); + unsigned int result = cc::gfx::Texture::computeHash(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_Texture_computeHash : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_Texture_computeHash) + SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_Texture_finalize) static bool js_gfx_Texture_constructor(se::State& s) // constructor.c @@ -19100,8 +19202,10 @@ bool js_register_gfx_Texture(se::Object* obj) cls->defineProperty("type", _SE(js_gfx_Texture_getType), nullptr); cls->defineProperty("size", _SE(js_gfx_Texture_getSize), nullptr); cls->defineFunction("destroy", _SE(js_gfx_Texture_destroy)); + cls->defineFunction("getTextureID", _SE(js_gfx_Texture_getTextureID)); cls->defineFunction("isTextureView", _SE(js_gfx_Texture_isTextureView)); cls->defineFunction("resize", _SE(js_gfx_Texture_resize)); + cls->defineStaticFunction("computeHash", _SE(js_gfx_Texture_computeHash)); cls->defineFinalizeFunction(_SE(js_cc_gfx_Texture_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -19552,25 +19656,6 @@ static bool js_gfx_Device_flushCommandsForJS(se::State& s) } SE_BIND_FUNC(js_gfx_Device_flushCommandsForJS) -static bool js_gfx_Device_genShaderId(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_genShaderId : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->genShaderId(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_genShaderId : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Device_genShaderId) - static bool js_gfx_Device_getCapabilities(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -20073,7 +20158,6 @@ bool js_register_gfx_Device(se::Object* obj) cls->defineFunction("createShader", _SE(js_gfx_Device_createShader)); cls->defineFunction("destroy", _SE(js_gfx_Device_destroy)); cls->defineFunction("flushCommands", _SE(js_gfx_Device_flushCommandsForJS)); - cls->defineFunction("genShaderId", _SE(js_gfx_Device_genShaderId)); cls->defineFunction("hasFeature", _SE(js_gfx_Device_hasFeature)); cls->defineFunction("initialize", _SE(js_gfx_Device_initialize)); cls->defineFunction("present", _SE(js_gfx_Device_present)); diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index a6660d034d..674a7604e7 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -578,6 +578,7 @@ bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::Buffer); SE_DECLARE_FUNC(js_gfx_Buffer_destroy); SE_DECLARE_FUNC(js_gfx_Buffer_resize); +SE_DECLARE_FUNC(js_gfx_Buffer_computeHash); SE_DECLARE_FUNC(js_gfx_Buffer_Buffer); extern se::Object* __jsb_cc_gfx_CommandBuffer_proto; @@ -671,6 +672,7 @@ bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::Framebuffer); SE_DECLARE_FUNC(js_gfx_Framebuffer_destroy); SE_DECLARE_FUNC(js_gfx_Framebuffer_initialize); +SE_DECLARE_FUNC(js_gfx_Framebuffer_computeHash); SE_DECLARE_FUNC(js_gfx_Framebuffer_Framebuffer); extern se::Object* __jsb_cc_gfx_GlobalBarrier_proto; @@ -743,6 +745,7 @@ SE_DECLARE_FUNC(js_gfx_RenderPass_destroy); SE_DECLARE_FUNC(js_gfx_RenderPass_getDepthStencilAttachment); SE_DECLARE_FUNC(js_gfx_RenderPass_getSubpasses); SE_DECLARE_FUNC(js_gfx_RenderPass_initialize); +SE_DECLARE_FUNC(js_gfx_RenderPass_computeHash); SE_DECLARE_FUNC(js_gfx_RenderPass_RenderPass); extern se::Object* __jsb_cc_gfx_Sampler_proto; @@ -780,8 +783,10 @@ bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::Texture); SE_DECLARE_FUNC(js_gfx_Texture_destroy); +SE_DECLARE_FUNC(js_gfx_Texture_getTextureID); SE_DECLARE_FUNC(js_gfx_Texture_isTextureView); SE_DECLARE_FUNC(js_gfx_Texture_resize); +SE_DECLARE_FUNC(js_gfx_Texture_computeHash); SE_DECLARE_FUNC(js_gfx_Texture_Texture); extern se::Object* __jsb_cc_gfx_TextureBarrier_proto; @@ -818,7 +823,6 @@ SE_DECLARE_FUNC(js_gfx_Device_createSampler); SE_DECLARE_FUNC(js_gfx_Device_createShader); SE_DECLARE_FUNC(js_gfx_Device_destroy); SE_DECLARE_FUNC(js_gfx_Device_flushCommandsForJS); -SE_DECLARE_FUNC(js_gfx_Device_genShaderId); SE_DECLARE_FUNC(js_gfx_Device_hasFeature); SE_DECLARE_FUNC(js_gfx_Device_initialize); SE_DECLARE_FUNC(js_gfx_Device_present); From d03540a472111e22fdb6b059e3faeda7aacae4d7 Mon Sep 17 00:00:00 2001 From: minggo Date: Wed, 10 Mar 2021 15:15:20 +0800 Subject: [PATCH 174/270] fix compile warning (#3309) --- .../base/job-system/job-system-taskflow/TFJobGraph.h | 4 ++-- .../base/job-system/job-system-taskflow/TFJobSystem.h | 2 +- native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h | 8 ++++---- native/cocos/bindings/manual/jsb_cocos_manual.cpp | 2 +- native/cocos/renderer/gfx-base/GFXCommandBuffer.h | 8 ++++---- native/cocos/renderer/gfx-base/GFXDevice.h | 4 ++-- native/cocos/renderer/gfx-base/GFXQueue.h | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h index 0e6f6947ca..2ccbf655c1 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobGraph.h @@ -66,13 +66,13 @@ private: template uint TFJobGraph::createJob(Function &&func) noexcept { _tasks.emplace_back(_flow.emplace(func)); - return _tasks.size() - 1u; + return static_cast(_tasks.size() - 1u); } template uint TFJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept { _tasks.emplace_back(_flow.for_each_index(begin, end, step, func)); - return _tasks.size() - 1u; + return static_cast(_tasks.size() - 1u); } } // namespace cc diff --git a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h index 31aae10931..8ddf59d4d9 100644 --- a/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h +++ b/native/cocos/base/job-system/job-system-taskflow/TFJobSystem.h @@ -47,7 +47,7 @@ public: TFJobSystem() noexcept : TFJobSystem(std::max(2u, std::thread::hardware_concurrency() - 2u)) {} explicit TFJobSystem(uint threadCount) noexcept; - CC_INLINE uint threadCount() { return _executor.num_workers(); } + CC_INLINE uint threadCount() { return static_cast(_executor.num_workers()); } private: friend class TFJobGraph; diff --git a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h index 638536e938..59abf64c52 100644 --- a/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h +++ b/native/cocos/base/job-system/job-system-tbb/TBBJobGraph.h @@ -78,19 +78,19 @@ template uint TBBJobGraph::createJob(Function &&func) noexcept { _nodes.emplace_back(_graph, func); tbb::flow::make_edge(_nodes.front(), _nodes.back()); - return _nodes.size() - 1u; + return static_cast(_nodes.size() - 1u); } template uint TBBJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Function &&func) noexcept { _nodes.emplace_back(_graph, [](TBBJobToken t) {}); - uint predecessorIdx = _nodes.size() - 1u; + uint predecessorIdx = static_cast(_nodes.size() - 1u); TBBJobNode &predecessor = _nodes.back(); tbb::flow::make_edge(_nodes.front(), predecessor); _nodes.emplace_back(_graph, [](TBBJobToken t) {}); - uint successorIdx = _nodes.size() - 1u; + uint successorIdx = static_cast(_nodes.size() - 1u); TBBJobNode &successor = _nodes.back(); for (uint i = begin; i < end; i += step) { @@ -100,7 +100,7 @@ uint TBBJobGraph::createForEachIndexJob(uint begin, uint end, uint step, Functio } _parallelJobs.push_back({predecessorIdx, successorIdx}); - return (_parallelJobs.size() - 1u) | PARALLEL_JOB_FLAG; + return static_cast((_parallelJobs.size() - 1u)) | PARALLEL_JOB_FLAG; } } // namespace cc diff --git a/native/cocos/bindings/manual/jsb_cocos_manual.cpp b/native/cocos/bindings/manual/jsb_cocos_manual.cpp index 04d9b29fc0..21f6a4906a 100644 --- a/native/cocos/bindings/manual/jsb_cocos_manual.cpp +++ b/native/cocos/bindings/manual/jsb_cocos_manual.cpp @@ -639,7 +639,7 @@ static bool js_engine_FileUtils_listFilesRecursively(se::State &s) { cobj->listFilesRecursively(arg0, &arg1); se::Object *list = args[1].toObject(); SE_PRECONDITION2(args[1].isObject() && list->isArray(), false, "js_engine_FileUtils_listFilesRecursively : 2nd argument should be an Array"); - for (size_t i = 0; i < arg1.size(); i++) { + for (uint i = 0; i < static_cast(arg1.size()); i++) { list->setArrayElement(i, se::Value(arg1[i])); } list->setProperty("length", se::Value(arg1.size())); diff --git a/native/cocos/renderer/gfx-base/GFXCommandBuffer.h b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h index 1b11946363..81cf9be232 100644 --- a/native/cocos/renderer/gfx-base/GFXCommandBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h @@ -75,7 +75,7 @@ public: bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), secondaryCBs.size()); + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), static_cast(secondaryCBs.size())); } CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, nullptr, 0); @@ -87,11 +87,11 @@ public: copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); } CC_INLINE void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter) { - blitTexture(srcTexture, dstTexture, regions.data(), regions.size(), filter); + blitTexture(srcTexture, dstTexture, regions.data(), static_cast(regions.size()), filter); } CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier) { pipelineBarrier(barrier, nullptr, nullptr, 0u); } CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers, const TextureList &textures) { - pipelineBarrier(barrier, textureBarriers.data(), textures.data(), textureBarriers.size()); + pipelineBarrier(barrier, textureBarriers.data(), textures.data(), static_cast(textureBarriers.size())); } CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { @@ -101,7 +101,7 @@ public: bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); } CC_INLINE void beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), secondaryCBs.size()); + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), static_cast(secondaryCBs.size())); } CC_INLINE void beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, nullptr, 0); diff --git a/native/cocos/renderer/gfx-base/GFXDevice.h b/native/cocos/renderer/gfx-base/GFXDevice.h index 9598006215..074207d7f5 100644 --- a/native/cocos/renderer/gfx-base/GFXDevice.h +++ b/native/cocos/renderer/gfx-base/GFXDevice.h @@ -161,9 +161,9 @@ public: copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size())); } - CC_INLINE void flushCommands(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), cmdBuffs.size()); } + CC_INLINE void flushCommands(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), static_cast(cmdBuffs.size())); } - CC_INLINE void flushCommandsForJS(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), cmdBuffs.size()); } + CC_INLINE void flushCommandsForJS(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), static_cast(cmdBuffs.size())); } CC_INLINE Context *getContext() const { return _context; } CC_INLINE Queue *getQueue() const { return _queue; } diff --git a/native/cocos/renderer/gfx-base/GFXQueue.h b/native/cocos/renderer/gfx-base/GFXQueue.h index aec12a43b6..8feeb1b12f 100644 --- a/native/cocos/renderer/gfx-base/GFXQueue.h +++ b/native/cocos/renderer/gfx-base/GFXQueue.h @@ -41,11 +41,11 @@ public: virtual void destroy() = 0; virtual void submit(CommandBuffer *const *cmdBuffs, uint count) = 0; - CC_INLINE void submit(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), cmdBuffs.size()); } + CC_INLINE void submit(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), static_cast(cmdBuffs.size())); } CC_INLINE Device *getDevice() const { return _device; } CC_INLINE QueueType getType() const { return _type; } - CC_INLINE void submitForJS(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), cmdBuffs.size()); } + CC_INLINE void submitForJS(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), static_cast(cmdBuffs.size())); } protected: Device *_device = nullptr; From 343768fbe75e5c9ca0c9d32a3d37bf0a894a21b7 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Wed, 10 Mar 2021 15:16:23 +0800 Subject: [PATCH 175/270] [ci skip][AUTO]: updating jsbinding automatically: fce19d28 (#3310) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 15116 ++++++++++++++++++++++++- 1 file changed, 15038 insertions(+), 78 deletions(-) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index e327c97e98..3acdf9a3b2 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -100,8 +100,10 @@ "cocos/base/AutoreleasePool.h", "cocos/base/CachedArray.h", "cocos/base/Config.h", + "cocos/base/CoreStd.h", "cocos/base/Data.cpp", "cocos/base/Data.h", + "cocos/base/IndexHandle.h", "cocos/base/Log.cpp", "cocos/base/Log.h", "cocos/base/Macros.h", @@ -113,6 +115,9 @@ "cocos/base/Ref.h", "cocos/base/Scheduler.cpp", "cocos/base/Scheduler.h", + "cocos/base/StringHandle.cpp", + "cocos/base/StringHandle.h", + "cocos/base/StringPool.h", "cocos/base/StringUtil.cpp", "cocos/base/StringUtil.h", "cocos/base/ThreadPool.cpp", @@ -139,6 +144,15 @@ "cocos/base/etc1.h", "cocos/base/etc2.cpp", "cocos/base/etc2.h", + "cocos/base/job-system/JobSystem.h", + "cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp", + "cocos/base/job-system/job-system-taskflow/TFJobGraph.h", + "cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp", + "cocos/base/job-system/job-system-taskflow/TFJobSystem.h", + "cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp", + "cocos/base/job-system/job-system-tbb/TBBJobGraph.h", + "cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp", + "cocos/base/job-system/job-system-tbb/TBBJobSystem.h", "cocos/base/memory/AllocatedObj.cpp", "cocos/base/memory/AllocatedObj.h", "cocos/base/memory/JeAlloc.cpp", @@ -152,6 +166,19 @@ "cocos/base/memory/NedPooling.h", "cocos/base/memory/StdAlloc.h", "cocos/base/memory/StlAlloc.h", + "cocos/base/threading/ConditionVariable.cpp", + "cocos/base/threading/ConditionVariable.h", + "cocos/base/threading/Event.h", + "cocos/base/threading/MessageQueue.cpp", + "cocos/base/threading/MessageQueue.h", + "cocos/base/threading/ReadWriteLock.h", + "cocos/base/threading/Semaphore.cpp", + "cocos/base/threading/Semaphore.h", + "cocos/base/threading/ThreadPool.cpp", + "cocos/base/threading/ThreadPool.h", + "cocos/base/threading/ThreadSafeCounter.h", + "cocos/base/threading/ThreadSafeLinearAllocator.cpp", + "cocos/base/threading/ThreadSafeLinearAllocator.h", "cocos/base/uthash.h", "cocos/editor-support/IOBuffer.cpp", "cocos/editor-support/IOBuffer.h", @@ -567,50 +594,83 @@ "cocos/platform/win32/compat/stdint.h", "cocos/platform/win32/inet_pton_mingw.cpp", "cocos/platform/win32/inet_pton_mingw.h", - "cocos/renderer/CMakeLists.txt", - "cocos/renderer/core/CMakeLists.txt", - "cocos/renderer/core/Core.h", - "cocos/renderer/core/CoreStd.cpp", - "cocos/renderer/core/CoreStd.h", - "cocos/renderer/core/gfx/GFXBuffer.cpp", - "cocos/renderer/core/gfx/GFXBuffer.h", - "cocos/renderer/core/gfx/GFXCommand.h", - "cocos/renderer/core/gfx/GFXCommandBuffer.cpp", - "cocos/renderer/core/gfx/GFXCommandBuffer.h", - "cocos/renderer/core/gfx/GFXCommandPool.h", - "cocos/renderer/core/gfx/GFXContext.cpp", - "cocos/renderer/core/gfx/GFXContext.h", - "cocos/renderer/core/gfx/GFXDef.cpp", - "cocos/renderer/core/gfx/GFXDef.h", - "cocos/renderer/core/gfx/GFXDescriptorSet.cpp", - "cocos/renderer/core/gfx/GFXDescriptorSet.h", - "cocos/renderer/core/gfx/GFXDescriptorSetLayout.cpp", - "cocos/renderer/core/gfx/GFXDescriptorSetLayout.h", - "cocos/renderer/core/gfx/GFXDevice.cpp", - "cocos/renderer/core/gfx/GFXDevice.h", - "cocos/renderer/core/gfx/GFXFence.cpp", - "cocos/renderer/core/gfx/GFXFence.h", - "cocos/renderer/core/gfx/GFXFramebuffer.cpp", - "cocos/renderer/core/gfx/GFXFramebuffer.h", - "cocos/renderer/core/gfx/GFXInputAssembler.cpp", - "cocos/renderer/core/gfx/GFXInputAssembler.h", - "cocos/renderer/core/gfx/GFXObject.cpp", - "cocos/renderer/core/gfx/GFXObject.h", - "cocos/renderer/core/gfx/GFXPipelineLayout.cpp", - "cocos/renderer/core/gfx/GFXPipelineLayout.h", - "cocos/renderer/core/gfx/GFXPipelineState.cpp", - "cocos/renderer/core/gfx/GFXPipelineState.h", - "cocos/renderer/core/gfx/GFXQueue.cpp", - "cocos/renderer/core/gfx/GFXQueue.h", - "cocos/renderer/core/gfx/GFXRenderPass.cpp", - "cocos/renderer/core/gfx/GFXRenderPass.h", - "cocos/renderer/core/gfx/GFXSampler.cpp", - "cocos/renderer/core/gfx/GFXSampler.h", - "cocos/renderer/core/gfx/GFXShader.cpp", - "cocos/renderer/core/gfx/GFXShader.h", - "cocos/renderer/core/gfx/GFXTexture.cpp", - "cocos/renderer/core/gfx/GFXTexture.h", - "cocos/renderer/gfx-gles2/CMakeLists.txt", + "cocos/renderer/gfx-agent/GFXAgent.h", + "cocos/renderer/gfx-agent/GFXBufferAgent.cpp", + "cocos/renderer/gfx-agent/GFXBufferAgent.h", + "cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp", + "cocos/renderer/gfx-agent/GFXCommandBufferAgent.h", + "cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp", + "cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h", + "cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp", + "cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h", + "cocos/renderer/gfx-agent/GFXDeviceAgent.cpp", + "cocos/renderer/gfx-agent/GFXDeviceAgent.h", + "cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp", + "cocos/renderer/gfx-agent/GFXFramebufferAgent.h", + "cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp", + "cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h", + "cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h", + "cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp", + "cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h", + "cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp", + "cocos/renderer/gfx-agent/GFXPipelineStateAgent.h", + "cocos/renderer/gfx-agent/GFXQueueAgent.cpp", + "cocos/renderer/gfx-agent/GFXQueueAgent.h", + "cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp", + "cocos/renderer/gfx-agent/GFXRenderPassAgent.h", + "cocos/renderer/gfx-agent/GFXSamplerAgent.cpp", + "cocos/renderer/gfx-agent/GFXSamplerAgent.h", + "cocos/renderer/gfx-agent/GFXShaderAgent.cpp", + "cocos/renderer/gfx-agent/GFXShaderAgent.h", + "cocos/renderer/gfx-agent/GFXTextureAgent.cpp", + "cocos/renderer/gfx-agent/GFXTextureAgent.h", + "cocos/renderer/gfx-base/GFXBase.h", + "cocos/renderer/gfx-base/GFXBuffer.cpp", + "cocos/renderer/gfx-base/GFXBuffer.h", + "cocos/renderer/gfx-base/GFXCommandBuffer.cpp", + "cocos/renderer/gfx-base/GFXCommandBuffer.h", + "cocos/renderer/gfx-base/GFXContext.cpp", + "cocos/renderer/gfx-base/GFXContext.h", + "cocos/renderer/gfx-base/GFXDef-common.h", + "cocos/renderer/gfx-base/GFXDef.cpp", + "cocos/renderer/gfx-base/GFXDef.h", + "cocos/renderer/gfx-base/GFXDescriptorSet.cpp", + "cocos/renderer/gfx-base/GFXDescriptorSet.h", + "cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp", + "cocos/renderer/gfx-base/GFXDescriptorSetLayout.h", + "cocos/renderer/gfx-base/GFXDevice.cpp", + "cocos/renderer/gfx-base/GFXDevice.h", + "cocos/renderer/gfx-base/GFXFramebuffer.cpp", + "cocos/renderer/gfx-base/GFXFramebuffer.h", + "cocos/renderer/gfx-base/GFXGlobalBarrier.cpp", + "cocos/renderer/gfx-base/GFXGlobalBarrier.h", + "cocos/renderer/gfx-base/GFXInputAssembler.cpp", + "cocos/renderer/gfx-base/GFXInputAssembler.h", + "cocos/renderer/gfx-base/GFXObject.cpp", + "cocos/renderer/gfx-base/GFXObject.h", + "cocos/renderer/gfx-base/GFXPipelineLayout.cpp", + "cocos/renderer/gfx-base/GFXPipelineLayout.h", + "cocos/renderer/gfx-base/GFXPipelineState.cpp", + "cocos/renderer/gfx-base/GFXPipelineState.h", + "cocos/renderer/gfx-base/GFXQueue.cpp", + "cocos/renderer/gfx-base/GFXQueue.h", + "cocos/renderer/gfx-base/GFXRenderPass.cpp", + "cocos/renderer/gfx-base/GFXRenderPass.h", + "cocos/renderer/gfx-base/GFXSampler.cpp", + "cocos/renderer/gfx-base/GFXSampler.h", + "cocos/renderer/gfx-base/GFXShader.cpp", + "cocos/renderer/gfx-base/GFXShader.h", + "cocos/renderer/gfx-base/GFXTexture.cpp", + "cocos/renderer/gfx-base/GFXTexture.h", + "cocos/renderer/gfx-base/GFXTextureBarrier.cpp", + "cocos/renderer/gfx-base/GFXTextureBarrier.h", + "cocos/renderer/gfx-gles-common/GLESCommandPool.h", + "cocos/renderer/gfx-gles-common/eglw.cpp", + "cocos/renderer/gfx-gles-common/eglw.h", + "cocos/renderer/gfx-gles-common/gles2w.cpp", + "cocos/renderer/gfx-gles-common/gles2w.h", + "cocos/renderer/gfx-gles-common/gles3w.cpp", + "cocos/renderer/gfx-gles-common/gles3w.h", "cocos/renderer/gfx-gles2/GFXGLES2.h", "cocos/renderer/gfx-gles2/GLES2Buffer.cpp", "cocos/renderer/gfx-gles2/GLES2Buffer.h", @@ -627,8 +687,6 @@ "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h", "cocos/renderer/gfx-gles2/GLES2Device.cpp", "cocos/renderer/gfx-gles2/GLES2Device.h", - "cocos/renderer/gfx-gles2/GLES2Fence.cpp", - "cocos/renderer/gfx-gles2/GLES2Fence.h", "cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp", "cocos/renderer/gfx-gles2/GLES2Framebuffer.h", "cocos/renderer/gfx-gles2/GLES2GPUObjects.h", @@ -652,10 +710,9 @@ "cocos/renderer/gfx-gles2/GLES2Std.h", "cocos/renderer/gfx-gles2/GLES2Texture.cpp", "cocos/renderer/gfx-gles2/GLES2Texture.h", - "cocos/renderer/gfx-gles2/gles2w.c", - "cocos/renderer/gfx-gles2/gles2w.h", - "cocos/renderer/gfx-gles2/gles2w.mm", - "cocos/renderer/gfx-gles3/CMakeLists.txt", + "cocos/renderer/gfx-gles2/GLES2Wrangler.cpp", + "cocos/renderer/gfx-gles2/GLES2Wrangler.h", + "cocos/renderer/gfx-gles2/GLES2Wrangler.mm", "cocos/renderer/gfx-gles3/GFXGLES3.h", "cocos/renderer/gfx-gles3/GLES3Buffer.cpp", "cocos/renderer/gfx-gles3/GLES3Buffer.h", @@ -672,11 +729,11 @@ "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h", "cocos/renderer/gfx-gles3/GLES3Device.cpp", "cocos/renderer/gfx-gles3/GLES3Device.h", - "cocos/renderer/gfx-gles3/GLES3Fence.cpp", - "cocos/renderer/gfx-gles3/GLES3Fence.h", "cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp", "cocos/renderer/gfx-gles3/GLES3Framebuffer.h", "cocos/renderer/gfx-gles3/GLES3GPUObjects.h", + "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp", + "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h", "cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp", "cocos/renderer/gfx-gles3/GLES3InputAssembler.h", "cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp", @@ -697,10 +754,9 @@ "cocos/renderer/gfx-gles3/GLES3Std.h", "cocos/renderer/gfx-gles3/GLES3Texture.cpp", "cocos/renderer/gfx-gles3/GLES3Texture.h", - "cocos/renderer/gfx-gles3/gles3w.c", - "cocos/renderer/gfx-gles3/gles3w.h", - "cocos/renderer/gfx-gles3/gles3w.mm", - "cocos/renderer/gfx-metal/CMakeLists.txt", + "cocos/renderer/gfx-gles3/GLES3Wrangler.cpp", + "cocos/renderer/gfx-gles3/GLES3Wrangler.h", + "cocos/renderer/gfx-gles3/GLES3Wrangler.mm", "cocos/renderer/gfx-metal/GFXMTL.h", "cocos/renderer/gfx-metal/MTLBuffer.h", "cocos/renderer/gfx-metal/MTLBuffer.mm", @@ -715,8 +771,6 @@ "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.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/MTLFramebuffer.h", "cocos/renderer/gfx-metal/MTLFramebuffer.mm", "cocos/renderer/gfx-metal/MTLGPUObjects.h", @@ -742,7 +796,6 @@ "cocos/renderer/gfx-metal/MTLTexture.mm", "cocos/renderer/gfx-metal/MTLUtils.h", "cocos/renderer/gfx-metal/MTLUtils.mm", - "cocos/renderer/gfx-vulkan/CMakeLists.txt", "cocos/renderer/gfx-vulkan/GFXVulkan.h", "cocos/renderer/gfx-vulkan/VKBuffer.cpp", "cocos/renderer/gfx-vulkan/VKBuffer.h", @@ -758,11 +811,11 @@ "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h", "cocos/renderer/gfx-vulkan/VKDevice.cpp", "cocos/renderer/gfx-vulkan/VKDevice.h", - "cocos/renderer/gfx-vulkan/VKFence.cpp", - "cocos/renderer/gfx-vulkan/VKFence.h", "cocos/renderer/gfx-vulkan/VKFramebuffer.cpp", "cocos/renderer/gfx-vulkan/VKFramebuffer.h", "cocos/renderer/gfx-vulkan/VKGPUObjects.h", + "cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp", + "cocos/renderer/gfx-vulkan/VKGlobalBarrier.h", "cocos/renderer/gfx-vulkan/VKInputAssembler.cpp", "cocos/renderer/gfx-vulkan/VKInputAssembler.h", "cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp", @@ -782,7 +835,10 @@ "cocos/renderer/gfx-vulkan/VKStd.h", "cocos/renderer/gfx-vulkan/VKTexture.cpp", "cocos/renderer/gfx-vulkan/VKTexture.h", + "cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp", + "cocos/renderer/gfx-vulkan/VKTextureBarrier.h", "cocos/renderer/gfx-vulkan/VKUtils.h", + "cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h", "cocos/renderer/gfx-vulkan/vk_mem_alloc.h", "cocos/renderer/gfx-vulkan/volk.c", "cocos/renderer/gfx-vulkan/volk.h", @@ -792,8 +848,12 @@ "cocos/renderer/pipeline/Define.h", "cocos/renderer/pipeline/InstancedBuffer.cpp", "cocos/renderer/pipeline/InstancedBuffer.h", + "cocos/renderer/pipeline/PipelineSceneData.cpp", + "cocos/renderer/pipeline/PipelineSceneData.h", "cocos/renderer/pipeline/PipelineStateManager.cpp", "cocos/renderer/pipeline/PipelineStateManager.h", + "cocos/renderer/pipeline/PipelineUBO.cpp", + "cocos/renderer/pipeline/PipelineUBO.h", "cocos/renderer/pipeline/PlanarShadowQueue.cpp", "cocos/renderer/pipeline/PlanarShadowQueue.h", "cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp", @@ -810,20 +870,28 @@ "cocos/renderer/pipeline/RenderQueue.h", "cocos/renderer/pipeline/RenderStage.cpp", "cocos/renderer/pipeline/RenderStage.h", + "cocos/renderer/pipeline/SceneCulling.cpp", + "cocos/renderer/pipeline/SceneCulling.h", "cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp", "cocos/renderer/pipeline/ShadowMapBatchedQueue.h", - "cocos/renderer/pipeline/PipelineUBO.cpp", - "cocos/renderer/pipeline/PipelineUBO.h", - "cocos/renderer/pipeline/PipelineSceneData.cpp", - "cocos/renderer/pipeline/PipelineSceneData.h", + "cocos/renderer/pipeline/deferred/DeferredPipeline.cpp", + "cocos/renderer/pipeline/deferred/DeferredPipeline.h", + "cocos/renderer/pipeline/deferred/GbufferFlow.cpp", + "cocos/renderer/pipeline/deferred/GbufferFlow.h", + "cocos/renderer/pipeline/deferred/GbufferStage.cpp", + "cocos/renderer/pipeline/deferred/GbufferStage.h", + "cocos/renderer/pipeline/deferred/LightingFlow.cpp", + "cocos/renderer/pipeline/deferred/LightingFlow.h", + "cocos/renderer/pipeline/deferred/LightingStage.cpp", + "cocos/renderer/pipeline/deferred/LightingStage.h", + "cocos/renderer/pipeline/deferred/PostprocessStage.cpp", + "cocos/renderer/pipeline/deferred/PostprocessStage.h", "cocos/renderer/pipeline/forward/ForwardFlow.cpp", "cocos/renderer/pipeline/forward/ForwardFlow.h", "cocos/renderer/pipeline/forward/ForwardPipeline.cpp", "cocos/renderer/pipeline/forward/ForwardPipeline.h", "cocos/renderer/pipeline/forward/ForwardStage.cpp", "cocos/renderer/pipeline/forward/ForwardStage.h", - "cocos/renderer/pipeline/SceneCulling.cpp", - "cocos/renderer/pipeline/SceneCulling.h", "cocos/renderer/pipeline/forward/UIPhase.cpp", "cocos/renderer/pipeline/forward/UIPhase.h", "cocos/renderer/pipeline/helper/DefineMap.cpp", @@ -1104,6 +1172,9 @@ "external/android/arm64-v8a/libjpeg.a", "external/android/arm64-v8a/libpng.a", "external/android/arm64-v8a/libssl.a", + "external/android/arm64-v8a/libtbb_static.a", + "external/android/arm64-v8a/libtbbmalloc_proxy_static.a", + "external/android/arm64-v8a/libtbbmalloc_static.a", "external/android/arm64-v8a/libuv.a", "external/android/arm64-v8a/libwebp.a", "external/android/arm64-v8a/libwebsockets.a", @@ -1367,6 +1438,9 @@ "external/android/armeabi-v7a/libjpeg.a", "external/android/armeabi-v7a/libpng.a", "external/android/armeabi-v7a/libssl.a", + "external/android/armeabi-v7a/libtbb_static.a", + "external/android/armeabi-v7a/libtbbmalloc_proxy_static.a", + "external/android/armeabi-v7a/libtbbmalloc_static.a", "external/android/armeabi-v7a/libuv.a", "external/android/armeabi-v7a/libwebp.a", "external/android/armeabi-v7a/libwebsockets.a", @@ -1630,12 +1704,289 @@ "external/android/x86/libjpeg.a", "external/android/x86/libpng.a", "external/android/x86/libssl.a", + "external/android/x86/libtbb_static.a", + "external/android/x86/libtbbmalloc_proxy_static.a", + "external/android/x86/libtbbmalloc_static.a", "external/android/x86/libuv.a", "external/android/x86/libwebp.a", "external/android/x86/libwebsockets.a", "external/android/x86/libz.a", "external/android/x86/v8/libinspector.a", "external/android/x86/v8/libv8_monolith.a", + "external/android/x86_64/glslang/libOGLCompiler.a", + "external/android/x86_64/glslang/libOSDependent.a", + "external/android/x86_64/glslang/libSPIRV.a", + "external/android/x86_64/glslang/libglslang-default-resource-limits.a", + "external/android/x86_64/glslang/libglslang.a", + "external/android/x86_64/include/SPIRV/GLSL.ext.AMD.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.EXT.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.KHR.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.NV.h", + "external/android/x86_64/include/SPIRV/GLSL.std.450.h", + "external/android/x86_64/include/SPIRV/GlslangToSpv.h", + "external/android/x86_64/include/SPIRV/Logger.h", + "external/android/x86_64/include/SPIRV/NonSemanticDebugPrintf.h", + "external/android/x86_64/include/SPIRV/SPVRemapper.h", + "external/android/x86_64/include/SPIRV/SpvBuilder.h", + "external/android/x86_64/include/SPIRV/SpvTools.h", + "external/android/x86_64/include/SPIRV/bitutils.h", + "external/android/x86_64/include/SPIRV/disassemble.h", + "external/android/x86_64/include/SPIRV/doc.h", + "external/android/x86_64/include/SPIRV/hex_float.h", + "external/android/x86_64/include/SPIRV/spirv.hpp", + "external/android/x86_64/include/SPIRV/spvIR.h", + "external/android/x86_64/include/StandAlone/DirStackFileIncluder.h", + "external/android/x86_64/include/StandAlone/ResourceLimits.h", + "external/android/x86_64/include/StandAlone/Worklist.h", + "external/android/x86_64/include/StandAlone/resource_limits_c.h", + "external/android/x86_64/include/freetype/config/ftconfig.h", + "external/android/x86_64/include/freetype/config/ftheader.h", + "external/android/x86_64/include/freetype/config/ftmodule.h", + "external/android/x86_64/include/freetype/config/ftoption.h", + "external/android/x86_64/include/freetype/config/ftstdlib.h", + "external/android/x86_64/include/freetype/freetype.h", + "external/android/x86_64/include/freetype/ftadvanc.h", + "external/android/x86_64/include/freetype/ftautoh.h", + "external/android/x86_64/include/freetype/ftbbox.h", + "external/android/x86_64/include/freetype/ftbdf.h", + "external/android/x86_64/include/freetype/ftbitmap.h", + "external/android/x86_64/include/freetype/ftbzip2.h", + "external/android/x86_64/include/freetype/ftcache.h", + "external/android/x86_64/include/freetype/ftcffdrv.h", + "external/android/x86_64/include/freetype/ftchapters.h", + "external/android/x86_64/include/freetype/ftcid.h", + "external/android/x86_64/include/freetype/fterrdef.h", + "external/android/x86_64/include/freetype/fterrors.h", + "external/android/x86_64/include/freetype/ftfntfmt.h", + "external/android/x86_64/include/freetype/ftgasp.h", + "external/android/x86_64/include/freetype/ftglyph.h", + "external/android/x86_64/include/freetype/ftgxval.h", + "external/android/x86_64/include/freetype/ftgzip.h", + "external/android/x86_64/include/freetype/ftimage.h", + "external/android/x86_64/include/freetype/ftincrem.h", + "external/android/x86_64/include/freetype/ftlcdfil.h", + "external/android/x86_64/include/freetype/ftlist.h", + "external/android/x86_64/include/freetype/ftlzw.h", + "external/android/x86_64/include/freetype/ftmac.h", + "external/android/x86_64/include/freetype/ftmm.h", + "external/android/x86_64/include/freetype/ftmodapi.h", + "external/android/x86_64/include/freetype/ftmoderr.h", + "external/android/x86_64/include/freetype/ftotval.h", + "external/android/x86_64/include/freetype/ftoutln.h", + "external/android/x86_64/include/freetype/ftpfr.h", + "external/android/x86_64/include/freetype/ftrender.h", + "external/android/x86_64/include/freetype/ftsizes.h", + "external/android/x86_64/include/freetype/ftsnames.h", + "external/android/x86_64/include/freetype/ftstroke.h", + "external/android/x86_64/include/freetype/ftsynth.h", + "external/android/x86_64/include/freetype/ftsystem.h", + "external/android/x86_64/include/freetype/fttrigon.h", + "external/android/x86_64/include/freetype/ftttdrv.h", + "external/android/x86_64/include/freetype/fttypes.h", + "external/android/x86_64/include/freetype/ftwinfnt.h", + "external/android/x86_64/include/freetype/t1tables.h", + "external/android/x86_64/include/freetype/ttnameid.h", + "external/android/x86_64/include/freetype/tttables.h", + "external/android/x86_64/include/freetype/tttags.h", + "external/android/x86_64/include/freetype/ttunpat.h", + "external/android/x86_64/include/glslang/Include/BaseTypes.h", + "external/android/x86_64/include/glslang/Include/Common.h", + "external/android/x86_64/include/glslang/Include/ConstantUnion.h", + "external/android/x86_64/include/glslang/Include/InfoSink.h", + "external/android/x86_64/include/glslang/Include/InitializeGlobals.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Initialize.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/LiveTraverser.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/ParseHelper.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/RemoveTree.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Scan.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/ScanContext.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/SymbolTable.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Versions.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/attribute.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/gl_types.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.m4", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.y", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang_tab.cpp.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/iomapper.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/localintermediate.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/parseVersions.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/pch.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpContext.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpTokens.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/propagateNoContraction.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/reflection.h", + "external/android/x86_64/include/glslang/Include/PoolAlloc.h", + "external/android/x86_64/include/glslang/Include/Public/ShaderLang.h", + "external/android/x86_64/include/glslang/Include/ResourceLimits.h", + "external/android/x86_64/include/glslang/Include/ShHandle.h", + "external/android/x86_64/include/glslang/Include/Types.h", + "external/android/x86_64/include/glslang/Include/arrays.h", + "external/android/x86_64/include/glslang/Include/glslang_c_interface.h", + "external/android/x86_64/include/glslang/Include/glslang_c_shader_types.h", + "external/android/x86_64/include/glslang/Include/intermediate.h", + "external/android/x86_64/include/glslang/MachineIndependent/Initialize.h", + "external/android/x86_64/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/x86_64/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/x86_64/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/x86_64/include/glslang/MachineIndependent/Scan.h", + "external/android/x86_64/include/glslang/MachineIndependent/ScanContext.h", + "external/android/x86_64/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/x86_64/include/glslang/MachineIndependent/Versions.h", + "external/android/x86_64/include/glslang/MachineIndependent/attribute.h", + "external/android/x86_64/include/glslang/MachineIndependent/gl_types.h", + "external/android/x86_64/include/glslang/MachineIndependent/glslang.m4", + "external/android/x86_64/include/glslang/MachineIndependent/glslang.y", + "external/android/x86_64/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/x86_64/include/glslang/MachineIndependent/iomapper.h", + "external/android/x86_64/include/glslang/MachineIndependent/localintermediate.h", + "external/android/x86_64/include/glslang/MachineIndependent/parseVersions.h", + "external/android/x86_64/include/glslang/MachineIndependent/pch.h", + "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/x86_64/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/x86_64/include/glslang/MachineIndependent/reflection.h", + "external/android/x86_64/include/glslang/Public/ShaderLang.h", + "external/android/x86_64/include/jpeg/jconfig.h", + "external/android/x86_64/include/jpeg/jerror.h", + "external/android/x86_64/include/jpeg/jmorecfg.h", + "external/android/x86_64/include/jpeg/jpeglib.h", + "external/android/x86_64/include/openssl/aes.h", + "external/android/x86_64/include/openssl/asn1.h", + "external/android/x86_64/include/openssl/asn1_mac.h", + "external/android/x86_64/include/openssl/asn1t.h", + "external/android/x86_64/include/openssl/async.h", + "external/android/x86_64/include/openssl/bio.h", + "external/android/x86_64/include/openssl/blowfish.h", + "external/android/x86_64/include/openssl/bn.h", + "external/android/x86_64/include/openssl/buffer.h", + "external/android/x86_64/include/openssl/camellia.h", + "external/android/x86_64/include/openssl/cast.h", + "external/android/x86_64/include/openssl/cmac.h", + "external/android/x86_64/include/openssl/cms.h", + "external/android/x86_64/include/openssl/comp.h", + "external/android/x86_64/include/openssl/conf.h", + "external/android/x86_64/include/openssl/conf_api.h", + "external/android/x86_64/include/openssl/crypto.h", + "external/android/x86_64/include/openssl/ct.h", + "external/android/x86_64/include/openssl/des.h", + "external/android/x86_64/include/openssl/dh.h", + "external/android/x86_64/include/openssl/dsa.h", + "external/android/x86_64/include/openssl/dtls1.h", + "external/android/x86_64/include/openssl/e_os2.h", + "external/android/x86_64/include/openssl/ebcdic.h", + "external/android/x86_64/include/openssl/ec.h", + "external/android/x86_64/include/openssl/ecdh.h", + "external/android/x86_64/include/openssl/ecdsa.h", + "external/android/x86_64/include/openssl/engine.h", + "external/android/x86_64/include/openssl/err.h", + "external/android/x86_64/include/openssl/evp.h", + "external/android/x86_64/include/openssl/hmac.h", + "external/android/x86_64/include/openssl/idea.h", + "external/android/x86_64/include/openssl/kdf.h", + "external/android/x86_64/include/openssl/lhash.h", + "external/android/x86_64/include/openssl/md2.h", + "external/android/x86_64/include/openssl/md4.h", + "external/android/x86_64/include/openssl/md5.h", + "external/android/x86_64/include/openssl/mdc2.h", + "external/android/x86_64/include/openssl/modes.h", + "external/android/x86_64/include/openssl/obj_mac.h", + "external/android/x86_64/include/openssl/objects.h", + "external/android/x86_64/include/openssl/ocsp.h", + "external/android/x86_64/include/openssl/opensslconf-arm32.h", + "external/android/x86_64/include/openssl/opensslconf-arm64.h", + "external/android/x86_64/include/openssl/opensslconf-x86.h", + "external/android/x86_64/include/openssl/opensslconf.h", + "external/android/x86_64/include/openssl/opensslv.h", + "external/android/x86_64/include/openssl/ossl_typ.h", + "external/android/x86_64/include/openssl/pem.h", + "external/android/x86_64/include/openssl/pem2.h", + "external/android/x86_64/include/openssl/pkcs12.h", + "external/android/x86_64/include/openssl/pkcs7.h", + "external/android/x86_64/include/openssl/rand.h", + "external/android/x86_64/include/openssl/rc2.h", + "external/android/x86_64/include/openssl/rc4.h", + "external/android/x86_64/include/openssl/rc5.h", + "external/android/x86_64/include/openssl/ripemd.h", + "external/android/x86_64/include/openssl/rsa.h", + "external/android/x86_64/include/openssl/safestack.h", + "external/android/x86_64/include/openssl/seed.h", + "external/android/x86_64/include/openssl/sha.h", + "external/android/x86_64/include/openssl/srp.h", + "external/android/x86_64/include/openssl/srtp.h", + "external/android/x86_64/include/openssl/ssl.h", + "external/android/x86_64/include/openssl/ssl2.h", + "external/android/x86_64/include/openssl/ssl3.h", + "external/android/x86_64/include/openssl/stack.h", + "external/android/x86_64/include/openssl/symhacks.h", + "external/android/x86_64/include/openssl/tls1.h", + "external/android/x86_64/include/openssl/ts.h", + "external/android/x86_64/include/openssl/txt_db.h", + "external/android/x86_64/include/openssl/ui.h", + "external/android/x86_64/include/openssl/whrlpool.h", + "external/android/x86_64/include/openssl/x509.h", + "external/android/x86_64/include/openssl/x509_vfy.h", + "external/android/x86_64/include/openssl/x509v3.h", + "external/android/x86_64/include/png/png.h", + "external/android/x86_64/include/png/pngconf.h", + "external/android/x86_64/include/png/pnglibconf.h", + "external/android/x86_64/include/uv/pthread-barrier.h", + "external/android/x86_64/include/uv/stdint-msvc2008.h", + "external/android/x86_64/include/uv/tree.h", + "external/android/x86_64/include/uv/uv-aix.h", + "external/android/x86_64/include/uv/uv-bsd.h", + "external/android/x86_64/include/uv/uv-darwin.h", + "external/android/x86_64/include/uv/uv-errno.h", + "external/android/x86_64/include/uv/uv-linux.h", + "external/android/x86_64/include/uv/uv-os390.h", + "external/android/x86_64/include/uv/uv-posix.h", + "external/android/x86_64/include/uv/uv-sunos.h", + "external/android/x86_64/include/uv/uv-threadpool.h", + "external/android/x86_64/include/uv/uv-unix.h", + "external/android/x86_64/include/uv/uv-version.h", + "external/android/x86_64/include/uv/uv-win.h", + "external/android/x86_64/include/uv/uv.h", + "external/android/x86_64/include/v8/APIDesign.md", + "external/android/x86_64/include/v8/DEPS", + "external/android/x86_64/include/v8/OWNERS", + "external/android/x86_64/include/v8/libplatform/DEPS", + "external/android/x86_64/include/v8/libplatform/libplatform-export.h", + "external/android/x86_64/include/v8/libplatform/libplatform.h", + "external/android/x86_64/include/v8/libplatform/v8-tracing.h", + "external/android/x86_64/include/v8/v8-inspector-protocol.h", + "external/android/x86_64/include/v8/v8-inspector.h", + "external/android/x86_64/include/v8/v8-internal.h", + "external/android/x86_64/include/v8/v8-platform.h", + "external/android/x86_64/include/v8/v8-profiler.h", + "external/android/x86_64/include/v8/v8-testing.h", + "external/android/x86_64/include/v8/v8-util.h", + "external/android/x86_64/include/v8/v8-value-serializer-version.h", + "external/android/x86_64/include/v8/v8-version-string.h", + "external/android/x86_64/include/v8/v8-version.h", + "external/android/x86_64/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/x86_64/include/v8/v8-wasm-trap-handler-win.h", + "external/android/x86_64/include/v8/v8.h", + "external/android/x86_64/include/v8/v8config.h", + "external/android/x86_64/include/webp/decode.h", + "external/android/x86_64/include/webp/encode.h", + "external/android/x86_64/include/webp/types.h", + "external/android/x86_64/include/websockets/libwebsockets.h", + "external/android/x86_64/include/websockets/lws_config.h", + "external/android/x86_64/include/zlib/zconf.h", + "external/android/x86_64/include/zlib/zlib.h", + "external/android/x86_64/libcrypto.a", + "external/android/x86_64/libfreetype.a", + "external/android/x86_64/libjpeg.a", + "external/android/x86_64/libpng.a", + "external/android/x86_64/libssl.a", + "external/android/x86_64/libtbb_static.a", + "external/android/x86_64/libtbbmalloc_proxy_static.a", + "external/android/x86_64/libtbbmalloc_static.a", + "external/android/x86_64/libuv.a", + "external/android/x86_64/libwebp.a", + "external/android/x86_64/libwebsockets.a", + "external/android/x86_64/libz.a", + "external/android/x86_64/v8/libinspector.a", + "external/android/x86_64/v8/libv8_monolith.a", "external/cmake/CocosExternalConfig.cmake", "external/cmake/scripts/sync_folder.py", "external/ios/CMakeLists.txt", @@ -1827,22 +2178,16 @@ "external/ios/include/png/pngconf.h", "external/ios/include/png/pnglibconf.h", "external/ios/include/spirv_cross/GLSL.std.450.h", - "external/ios/include/spirv_cross/spirv.h", "external/ios/include/spirv_cross/spirv.hpp", "external/ios/include/spirv_cross/spirv_cfg.hpp", "external/ios/include/spirv_cross/spirv_common.hpp", - "external/ios/include/spirv_cross/spirv_cpp.hpp", "external/ios/include/spirv_cross/spirv_cross.hpp", - "external/ios/include/spirv_cross/spirv_cross_c.h", "external/ios/include/spirv_cross/spirv_cross_containers.hpp", "external/ios/include/spirv_cross/spirv_cross_error_handling.hpp", "external/ios/include/spirv_cross/spirv_cross_parsed_ir.hpp", - "external/ios/include/spirv_cross/spirv_cross_util.hpp", "external/ios/include/spirv_cross/spirv_glsl.hpp", - "external/ios/include/spirv_cross/spirv_hlsl.hpp", "external/ios/include/spirv_cross/spirv_msl.hpp", "external/ios/include/spirv_cross/spirv_parser.hpp", - "external/ios/include/spirv_cross/spirv_reflect.hpp", "external/ios/include/uv/uv.h", "external/ios/include/uv/uv/aix.h", "external/ios/include/uv/uv/android-ifaddrs.h", @@ -1896,6 +2241,9 @@ "external/ios/libs/libjpeg.a", "external/ios/libs/libpng.a", "external/ios/libs/libssl.a", + "external/ios/libs/libtbb_static.a", + "external/ios/libs/libtbbmalloc_proxy_static.a", + "external/ios/libs/libtbbmalloc_static.a", "external/ios/libs/libuv_a.a", "external/ios/libs/libv8_monolith.a", "external/ios/libs/libwebp.a", @@ -2209,7 +2557,6 @@ "external/mac/libs/glslang/libglslang-default-resource-limits.a", "external/mac/libs/glslang/libglslang.a", "external/mac/libs/libEGL.dylib", - "external/mac/libs/libGLESv1_CM.dylib", "external/mac/libs/libGLESv2.dylib", "external/mac/libs/libcrypto.a", "external/mac/libs/libcurl.a", @@ -2221,6 +2568,9 @@ "external/mac/libs/libspirv-cross-glsl.a", "external/mac/libs/libspirv-cross-msl.a", "external/mac/libs/libssl.a", + "external/mac/libs/libtbb_static.a", + "external/mac/libs/libtbbmalloc_proxy_static.a", + "external/mac/libs/libtbbmalloc_static.a", "external/mac/libs/libuv_a.a", "external/mac/libs/libv8_monolith.a", "external/mac/libs/libwebp.a", @@ -2273,6 +2623,14389 @@ "external/sources/SocketRocket/SRWebSocket.h", "external/sources/SocketRocket/SRWebSocket.m", "external/sources/SocketRocket/SocketRocket.h", + "external/sources/acl/compression/compress.h", + "external/sources/acl/compression/compression_level.h", + "external/sources/acl/compression/compression_settings.h", + "external/sources/acl/compression/convert.h", + "external/sources/acl/compression/impl/animated_track_utils.h", + "external/sources/acl/compression/impl/clip_context.h", + "external/sources/acl/compression/impl/compact_constant_streams.h", + "external/sources/acl/compression/impl/compress.impl.h", + "external/sources/acl/compression/impl/compression_settings.impl.h", + "external/sources/acl/compression/impl/constant_track_impl.h", + "external/sources/acl/compression/impl/convert.impl.h", + "external/sources/acl/compression/impl/convert_rotation_streams.h", + "external/sources/acl/compression/impl/normalize_streams.h", + "external/sources/acl/compression/impl/normalize_track_impl.h", + "external/sources/acl/compression/impl/quantize_streams.h", + "external/sources/acl/compression/impl/quantize_track_impl.h", + "external/sources/acl/compression/impl/sample_streams.h", + "external/sources/acl/compression/impl/segment_context.h", + "external/sources/acl/compression/impl/segment_streams.h", + "external/sources/acl/compression/impl/track.impl.h", + "external/sources/acl/compression/impl/track_array.impl.h", + "external/sources/acl/compression/impl/track_bit_rate_database.h", + "external/sources/acl/compression/impl/track_error.impl.h", + "external/sources/acl/compression/impl/track_list_context.h", + "external/sources/acl/compression/impl/track_range.h", + "external/sources/acl/compression/impl/track_range_impl.h", + "external/sources/acl/compression/impl/track_stream.h", + "external/sources/acl/compression/impl/transform_bit_rate_permutations.h", + "external/sources/acl/compression/impl/write_compression_stats_impl.h", + "external/sources/acl/compression/impl/write_decompression_stats.h", + "external/sources/acl/compression/impl/write_range_data.h", + "external/sources/acl/compression/impl/write_segment_data.h", + "external/sources/acl/compression/impl/write_stats.h", + "external/sources/acl/compression/impl/write_stream_bitsets.h", + "external/sources/acl/compression/impl/write_stream_data.h", + "external/sources/acl/compression/impl/write_track_data_impl.h", + "external/sources/acl/compression/impl/write_track_metadata.h", + "external/sources/acl/compression/output_stats.h", + "external/sources/acl/compression/track.h", + "external/sources/acl/compression/track_array.h", + "external/sources/acl/compression/track_error.h", + "external/sources/acl/compression/transform_error_metrics.h", + "external/sources/acl/compression/transform_pose_utils.h", + "external/sources/acl/core/additive_utils.h", + "external/sources/acl/core/algorithm_types.h", + "external/sources/acl/core/ansi_allocator.h", + "external/sources/acl/core/bit_manip_utils.h", + "external/sources/acl/core/bitset.h", + "external/sources/acl/core/buffer_tag.h", + "external/sources/acl/core/compressed_tracks.h", + "external/sources/acl/core/compressed_tracks_version.h", + "external/sources/acl/core/enum_utils.h", + "external/sources/acl/core/error.h", + "external/sources/acl/core/error_result.h", + "external/sources/acl/core/floating_point_exceptions.h", + "external/sources/acl/core/hash.h", + "external/sources/acl/core/iallocator.h", + "external/sources/acl/core/impl/compiler_utils.h", + "external/sources/acl/core/impl/compressed_headers.h", + "external/sources/acl/core/impl/compressed_tracks.impl.h", + "external/sources/acl/core/impl/debug_track_writer.h", + "external/sources/acl/core/impl/memory_cache.h", + "external/sources/acl/core/impl/track_desc.impl.h", + "external/sources/acl/core/impl/track_formats.impl.h", + "external/sources/acl/core/interpolation_utils.h", + "external/sources/acl/core/iterator.h", + "external/sources/acl/core/memory_utils.h", + "external/sources/acl/core/ptr_offset.h", + "external/sources/acl/core/range_reduction_types.h", + "external/sources/acl/core/scope_profiler.h", + "external/sources/acl/core/string.h", + "external/sources/acl/core/track_desc.h", + "external/sources/acl/core/track_formats.h", + "external/sources/acl/core/track_traits.h", + "external/sources/acl/core/track_types.h", + "external/sources/acl/core/track_writer.h", + "external/sources/acl/core/unique_ptr.h", + "external/sources/acl/core/utils.h", + "external/sources/acl/core/variable_bit_rates.h", + "external/sources/acl/decompression/decompress.h", + "external/sources/acl/decompression/impl/decompress.impl.h", + "external/sources/acl/decompression/impl/decompression_context_selector.h", + "external/sources/acl/decompression/impl/decompression_version_selector.h", + "external/sources/acl/decompression/impl/scalar_track_decompression.h", + "external/sources/acl/decompression/impl/track_cache.h", + "external/sources/acl/decompression/impl/transform_animated_track_cache.h", + "external/sources/acl/decompression/impl/transform_constant_track_cache.h", + "external/sources/acl/decompression/impl/transform_decompression_context.h", + "external/sources/acl/decompression/impl/transform_track_decompression.h", + "external/sources/acl/decompression/impl/universal_track_decompression.h", + "external/sources/acl/io/clip_reader.h", + "external/sources/acl/io/clip_reader_error.h", + "external/sources/acl/io/clip_writer.h", + "external/sources/acl/math/quat_packing.h", + "external/sources/acl/math/quatf.h", + "external/sources/acl/math/scalar_packing.h", + "external/sources/acl/math/vector4_packing.h", + "external/sources/acl/math/vector4f.h", + "external/sources/boost/boost/accumulators/accumulators.hpp", + "external/sources/boost/boost/accumulators/accumulators_fwd.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_base.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_concept.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_set.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/external_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/reference_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/value_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/depends_on.hpp", + "external/sources/boost/boost/accumulators/framework/external.hpp", + "external/sources/boost/boost/accumulators/framework/extractor.hpp", + "external/sources/boost/boost/accumulators/framework/features.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/sample.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/weight.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/weights.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function1.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function2.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function3.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function4.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function_n.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/pod_singleton.hpp", + "external/sources/boost/boost/accumulators/numeric/functional.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/complex.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/valarray.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/vector.hpp", + "external/sources/boost/boost/accumulators/numeric/functional_fwd.hpp", + "external/sources/boost/boost/accumulators/statistics.hpp", + "external/sources/boost/boost/accumulators/statistics/count.hpp", + "external/sources/boost/boost/accumulators/statistics/covariance.hpp", + "external/sources/boost/boost/accumulators/statistics/density.hpp", + "external/sources/boost/boost/accumulators/statistics/error_of.hpp", + "external/sources/boost/boost/accumulators/statistics/error_of_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/extended_p_square.hpp", + "external/sources/boost/boost/accumulators/statistics/extended_p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/kurtosis.hpp", + "external/sources/boost/boost/accumulators/statistics/max.hpp", + "external/sources/boost/boost/accumulators/statistics/mean.hpp", + "external/sources/boost/boost/accumulators/statistics/median.hpp", + "external/sources/boost/boost/accumulators/statistics/min.hpp", + "external/sources/boost/boost/accumulators/statistics/moment.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_cumul_dist.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_cumulative_distribution.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/parameters/quantile_probability.hpp", + "external/sources/boost/boost/accumulators/statistics/peaks_over_threshold.hpp", + "external/sources/boost/boost/accumulators/statistics/pot_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/pot_tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_count.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_moment.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_sum.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_variance.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_window.hpp", + "external/sources/boost/boost/accumulators/statistics/skewness.hpp", + "external/sources/boost/boost/accumulators/statistics/stats.hpp", + "external/sources/boost/boost/accumulators/statistics/sum.hpp", + "external/sources/boost/boost/accumulators/statistics/sum_kahan.hpp", + "external/sources/boost/boost/accumulators/statistics/tail.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_variate.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_variate_means.hpp", + "external/sources/boost/boost/accumulators/statistics/times2_iterator.hpp", + "external/sources/boost/boost/accumulators/statistics/variance.hpp", + "external/sources/boost/boost/accumulators/statistics/variates/covariate.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_covariance.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_density.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_extended_p_square.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_kurtosis.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_median.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_moment.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumul_dist.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumulative_distribution.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_peaks_over_threshold.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_skewness.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_sum.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_sum_kahan.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_variate_means.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_variance.hpp", + "external/sources/boost/boost/accumulators/statistics/with_error.hpp", + "external/sources/boost/boost/accumulators/statistics_fwd.hpp", + "external/sources/boost/boost/algorithm/algorithm.hpp", + "external/sources/boost/boost/algorithm/apply_permutation.hpp", + "external/sources/boost/boost/algorithm/clamp.hpp", + "external/sources/boost/boost/algorithm/cxx11/all_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/any_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/copy_if.hpp", + "external/sources/boost/boost/algorithm/cxx11/copy_n.hpp", + "external/sources/boost/boost/algorithm/cxx11/find_if_not.hpp", + "external/sources/boost/boost/algorithm/cxx11/iota.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_partitioned.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_permutation.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_sorted.hpp", + "external/sources/boost/boost/algorithm/cxx11/none_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/one_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/partition_copy.hpp", + "external/sources/boost/boost/algorithm/cxx11/partition_point.hpp", + "external/sources/boost/boost/algorithm/cxx14/equal.hpp", + "external/sources/boost/boost/algorithm/cxx14/is_permutation.hpp", + "external/sources/boost/boost/algorithm/cxx14/mismatch.hpp", + "external/sources/boost/boost/algorithm/cxx17/exclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/for_each_n.hpp", + "external/sources/boost/boost/algorithm/cxx17/inclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/reduce.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_exclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_inclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_reduce.hpp", + "external/sources/boost/boost/algorithm/find_backward.hpp", + "external/sources/boost/boost/algorithm/find_not.hpp", + "external/sources/boost/boost/algorithm/gather.hpp", + "external/sources/boost/boost/algorithm/hex.hpp", + "external/sources/boost/boost/algorithm/is_palindrome.hpp", + "external/sources/boost/boost/algorithm/is_partitioned_until.hpp", + "external/sources/boost/boost/algorithm/minmax.hpp", + "external/sources/boost/boost/algorithm/minmax_element.hpp", + "external/sources/boost/boost/algorithm/searching/boyer_moore.hpp", + "external/sources/boost/boost/algorithm/searching/boyer_moore_horspool.hpp", + "external/sources/boost/boost/algorithm/searching/detail/bm_traits.hpp", + "external/sources/boost/boost/algorithm/searching/detail/debugging.hpp", + "external/sources/boost/boost/algorithm/searching/knuth_morris_pratt.hpp", + "external/sources/boost/boost/algorithm/sort_subrange.hpp", + "external/sources/boost/boost/algorithm/string.hpp", + "external/sources/boost/boost/algorithm/string/case_conv.hpp", + "external/sources/boost/boost/algorithm/string/classification.hpp", + "external/sources/boost/boost/algorithm/string/compare.hpp", + "external/sources/boost/boost/algorithm/string/concept.hpp", + "external/sources/boost/boost/algorithm/string/config.hpp", + "external/sources/boost/boost/algorithm/string/constants.hpp", + "external/sources/boost/boost/algorithm/string/detail/case_conv.hpp", + "external/sources/boost/boost/algorithm/string/detail/classification.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format_all.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format_store.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_iterator.hpp", + "external/sources/boost/boost/algorithm/string/detail/finder.hpp", + "external/sources/boost/boost/algorithm/string/detail/finder_regex.hpp", + "external/sources/boost/boost/algorithm/string/detail/formatter.hpp", + "external/sources/boost/boost/algorithm/string/detail/formatter_regex.hpp", + "external/sources/boost/boost/algorithm/string/detail/predicate.hpp", + "external/sources/boost/boost/algorithm/string/detail/replace_storage.hpp", + "external/sources/boost/boost/algorithm/string/detail/sequence.hpp", + "external/sources/boost/boost/algorithm/string/detail/trim.hpp", + "external/sources/boost/boost/algorithm/string/detail/util.hpp", + "external/sources/boost/boost/algorithm/string/erase.hpp", + "external/sources/boost/boost/algorithm/string/find.hpp", + "external/sources/boost/boost/algorithm/string/find_format.hpp", + "external/sources/boost/boost/algorithm/string/find_iterator.hpp", + "external/sources/boost/boost/algorithm/string/finder.hpp", + "external/sources/boost/boost/algorithm/string/formatter.hpp", + "external/sources/boost/boost/algorithm/string/iter_find.hpp", + "external/sources/boost/boost/algorithm/string/join.hpp", + "external/sources/boost/boost/algorithm/string/predicate.hpp", + "external/sources/boost/boost/algorithm/string/predicate_facade.hpp", + "external/sources/boost/boost/algorithm/string/regex.hpp", + "external/sources/boost/boost/algorithm/string/regex_find_format.hpp", + "external/sources/boost/boost/algorithm/string/replace.hpp", + "external/sources/boost/boost/algorithm/string/sequence_traits.hpp", + "external/sources/boost/boost/algorithm/string/split.hpp", + "external/sources/boost/boost/algorithm/string/std/list_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/rope_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/slist_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/string_traits.hpp", + "external/sources/boost/boost/algorithm/string/std_containers_traits.hpp", + "external/sources/boost/boost/algorithm/string/trim.hpp", + "external/sources/boost/boost/algorithm/string/trim_all.hpp", + "external/sources/boost/boost/algorithm/string/yes_no_type.hpp", + "external/sources/boost/boost/algorithm/string_regex.hpp", + "external/sources/boost/boost/align.hpp", + "external/sources/boost/boost/align/align.hpp", + "external/sources/boost/boost/align/align_down.hpp", + "external/sources/boost/boost/align/align_up.hpp", + "external/sources/boost/boost/align/aligned_alloc.hpp", + "external/sources/boost/boost/align/aligned_allocator.hpp", + "external/sources/boost/boost/align/aligned_allocator_adaptor.hpp", + "external/sources/boost/boost/align/aligned_allocator_adaptor_forward.hpp", + "external/sources/boost/boost/align/aligned_allocator_forward.hpp", + "external/sources/boost/boost/align/aligned_delete.hpp", + "external/sources/boost/boost/align/aligned_delete_forward.hpp", + "external/sources/boost/boost/align/alignment_of.hpp", + "external/sources/boost/boost/align/alignment_of_forward.hpp", + "external/sources/boost/boost/align/assume_aligned.hpp", + "external/sources/boost/boost/align/detail/add_reference.hpp", + "external/sources/boost/boost/align/detail/align.hpp", + "external/sources/boost/boost/align/detail/align_cxx11.hpp", + "external/sources/boost/boost/align/detail/align_down.hpp", + "external/sources/boost/boost/align/detail/align_up.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_android.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_macos.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_mingw.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_msvc.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_new.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_posix.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_sunos.hpp", + "external/sources/boost/boost/align/detail/alignment_of.hpp", + "external/sources/boost/boost/align/detail/alignment_of_clang.hpp", + "external/sources/boost/boost/align/detail/alignment_of_codegear.hpp", + "external/sources/boost/boost/align/detail/alignment_of_cxx11.hpp", + "external/sources/boost/boost/align/detail/alignment_of_gcc.hpp", + "external/sources/boost/boost/align/detail/alignment_of_msvc.hpp", + "external/sources/boost/boost/align/detail/assume_aligned.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_clang.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_gcc.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_intel.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_msvc.hpp", + "external/sources/boost/boost/align/detail/element_type.hpp", + "external/sources/boost/boost/align/detail/integral_constant.hpp", + "external/sources/boost/boost/align/detail/is_aligned.hpp", + "external/sources/boost/boost/align/detail/is_alignment.hpp", + "external/sources/boost/boost/align/detail/is_alignment_constant.hpp", + "external/sources/boost/boost/align/detail/max_align.hpp", + "external/sources/boost/boost/align/detail/max_objects.hpp", + "external/sources/boost/boost/align/detail/max_size.hpp", + "external/sources/boost/boost/align/detail/min_size.hpp", + "external/sources/boost/boost/align/detail/not_pointer.hpp", + "external/sources/boost/boost/align/detail/throw_exception.hpp", + "external/sources/boost/boost/align/is_aligned.hpp", + "external/sources/boost/boost/aligned_storage.hpp", + "external/sources/boost/boost/any.hpp", + "external/sources/boost/boost/archive/archive_exception.hpp", + "external/sources/boost/boost/archive/basic_archive.hpp", + "external/sources/boost/boost/archive/basic_binary_iarchive.hpp", + "external/sources/boost/boost/archive/basic_binary_iprimitive.hpp", + "external/sources/boost/boost/archive/basic_binary_oarchive.hpp", + "external/sources/boost/boost/archive/basic_binary_oprimitive.hpp", + "external/sources/boost/boost/archive/basic_streambuf_locale_saver.hpp", + "external/sources/boost/boost/archive/basic_text_iarchive.hpp", + "external/sources/boost/boost/archive/basic_text_iprimitive.hpp", + "external/sources/boost/boost/archive/basic_text_oarchive.hpp", + "external/sources/boost/boost/archive/basic_text_oprimitive.hpp", + "external/sources/boost/boost/archive/basic_xml_archive.hpp", + "external/sources/boost/boost/archive/basic_xml_iarchive.hpp", + "external/sources/boost/boost/archive/basic_xml_oarchive.hpp", + "external/sources/boost/boost/archive/binary_iarchive.hpp", + "external/sources/boost/boost/archive/binary_iarchive_impl.hpp", + "external/sources/boost/boost/archive/binary_oarchive.hpp", + "external/sources/boost/boost/archive/binary_oarchive_impl.hpp", + "external/sources/boost/boost/archive/binary_wiarchive.hpp", + "external/sources/boost/boost/archive/binary_woarchive.hpp", + "external/sources/boost/boost/archive/codecvt_null.hpp", + "external/sources/boost/boost/archive/detail/abi_prefix.hpp", + "external/sources/boost/boost/archive/detail/abi_suffix.hpp", + "external/sources/boost/boost/archive/detail/archive_serializer_map.hpp", + "external/sources/boost/boost/archive/detail/auto_link_archive.hpp", + "external/sources/boost/boost/archive/detail/auto_link_warchive.hpp", + "external/sources/boost/boost/archive/detail/basic_iarchive.hpp", + "external/sources/boost/boost/archive/detail/basic_iserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_oarchive.hpp", + "external/sources/boost/boost/archive/detail/basic_oserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_pointer_iserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_pointer_oserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_serializer.hpp", + "external/sources/boost/boost/archive/detail/basic_serializer_map.hpp", + "external/sources/boost/boost/archive/detail/check.hpp", + "external/sources/boost/boost/archive/detail/common_iarchive.hpp", + "external/sources/boost/boost/archive/detail/common_oarchive.hpp", + "external/sources/boost/boost/archive/detail/decl.hpp", + "external/sources/boost/boost/archive/detail/helper_collection.hpp", + "external/sources/boost/boost/archive/detail/interface_iarchive.hpp", + "external/sources/boost/boost/archive/detail/interface_oarchive.hpp", + "external/sources/boost/boost/archive/detail/iserializer.hpp", + "external/sources/boost/boost/archive/detail/oserializer.hpp", + "external/sources/boost/boost/archive/detail/polymorphic_iarchive_route.hpp", + "external/sources/boost/boost/archive/detail/polymorphic_oarchive_route.hpp", + "external/sources/boost/boost/archive/detail/register_archive.hpp", + "external/sources/boost/boost/archive/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/archive/dinkumware.hpp", + "external/sources/boost/boost/archive/impl/archive_serializer_map.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_iprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_oarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_oprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_iprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_oarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_oprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_xml_grammar.hpp", + "external/sources/boost/boost/archive/impl/basic_xml_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_xml_oarchive.ipp", + "external/sources/boost/boost/archive/impl/text_iarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_oarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_wiarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_woarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_iarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_oarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_wiarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_woarchive_impl.ipp", + "external/sources/boost/boost/archive/iterators/base64_exception.hpp", + "external/sources/boost/boost/archive/iterators/base64_from_binary.hpp", + "external/sources/boost/boost/archive/iterators/binary_from_base64.hpp", + "external/sources/boost/boost/archive/iterators/dataflow.hpp", + "external/sources/boost/boost/archive/iterators/dataflow_exception.hpp", + "external/sources/boost/boost/archive/iterators/escape.hpp", + "external/sources/boost/boost/archive/iterators/insert_linebreaks.hpp", + "external/sources/boost/boost/archive/iterators/istream_iterator.hpp", + "external/sources/boost/boost/archive/iterators/mb_from_wchar.hpp", + "external/sources/boost/boost/archive/iterators/ostream_iterator.hpp", + "external/sources/boost/boost/archive/iterators/remove_whitespace.hpp", + "external/sources/boost/boost/archive/iterators/transform_width.hpp", + "external/sources/boost/boost/archive/iterators/unescape.hpp", + "external/sources/boost/boost/archive/iterators/wchar_from_mb.hpp", + "external/sources/boost/boost/archive/iterators/xml_escape.hpp", + "external/sources/boost/boost/archive/iterators/xml_unescape.hpp", + "external/sources/boost/boost/archive/iterators/xml_unescape_exception.hpp", + "external/sources/boost/boost/archive/polymorphic_binary_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_binary_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_wiarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_woarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_wiarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_woarchive.hpp", + "external/sources/boost/boost/archive/text_iarchive.hpp", + "external/sources/boost/boost/archive/text_oarchive.hpp", + "external/sources/boost/boost/archive/text_wiarchive.hpp", + "external/sources/boost/boost/archive/text_woarchive.hpp", + "external/sources/boost/boost/archive/tmpdir.hpp", + "external/sources/boost/boost/archive/wcslen.hpp", + "external/sources/boost/boost/archive/xml_archive_exception.hpp", + "external/sources/boost/boost/archive/xml_iarchive.hpp", + "external/sources/boost/boost/archive/xml_oarchive.hpp", + "external/sources/boost/boost/archive/xml_wiarchive.hpp", + "external/sources/boost/boost/archive/xml_woarchive.hpp", + "external/sources/boost/boost/array.hpp", + "external/sources/boost/boost/asio.hpp", + "external/sources/boost/boost/asio/any_io_executor.hpp", + "external/sources/boost/boost/asio/associated_allocator.hpp", + "external/sources/boost/boost/asio/associated_executor.hpp", + "external/sources/boost/boost/asio/async_result.hpp", + "external/sources/boost/boost/asio/awaitable.hpp", + "external/sources/boost/boost/asio/basic_datagram_socket.hpp", + "external/sources/boost/boost/asio/basic_deadline_timer.hpp", + "external/sources/boost/boost/asio/basic_io_object.hpp", + "external/sources/boost/boost/asio/basic_raw_socket.hpp", + "external/sources/boost/boost/asio/basic_seq_packet_socket.hpp", + "external/sources/boost/boost/asio/basic_serial_port.hpp", + "external/sources/boost/boost/asio/basic_signal_set.hpp", + "external/sources/boost/boost/asio/basic_socket.hpp", + "external/sources/boost/boost/asio/basic_socket_acceptor.hpp", + "external/sources/boost/boost/asio/basic_socket_iostream.hpp", + "external/sources/boost/boost/asio/basic_socket_streambuf.hpp", + "external/sources/boost/boost/asio/basic_stream_socket.hpp", + "external/sources/boost/boost/asio/basic_streambuf.hpp", + "external/sources/boost/boost/asio/basic_streambuf_fwd.hpp", + "external/sources/boost/boost/asio/basic_waitable_timer.hpp", + "external/sources/boost/boost/asio/bind_executor.hpp", + "external/sources/boost/boost/asio/buffer.hpp", + "external/sources/boost/boost/asio/buffered_read_stream.hpp", + "external/sources/boost/boost/asio/buffered_read_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffered_stream.hpp", + "external/sources/boost/boost/asio/buffered_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffered_write_stream.hpp", + "external/sources/boost/boost/asio/buffered_write_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffers_iterator.hpp", + "external/sources/boost/boost/asio/co_spawn.hpp", + "external/sources/boost/boost/asio/completion_condition.hpp", + "external/sources/boost/boost/asio/compose.hpp", + "external/sources/boost/boost/asio/connect.hpp", + "external/sources/boost/boost/asio/coroutine.hpp", + "external/sources/boost/boost/asio/deadline_timer.hpp", + "external/sources/boost/boost/asio/defer.hpp", + "external/sources/boost/boost/asio/detached.hpp", + "external/sources/boost/boost/asio/detail/array.hpp", + "external/sources/boost/boost/asio/detail/array_fwd.hpp", + "external/sources/boost/boost/asio/detail/assert.hpp", + "external/sources/boost/boost/asio/detail/atomic_count.hpp", + "external/sources/boost/boost/asio/detail/base_from_completion_cond.hpp", + "external/sources/boost/boost/asio/detail/bind_handler.hpp", + "external/sources/boost/boost/asio/detail/blocking_executor_op.hpp", + "external/sources/boost/boost/asio/detail/buffer_resize_guard.hpp", + "external/sources/boost/boost/asio/detail/buffer_sequence_adapter.hpp", + "external/sources/boost/boost/asio/detail/buffered_stream_storage.hpp", + "external/sources/boost/boost/asio/detail/bulk_executor_op.hpp", + "external/sources/boost/boost/asio/detail/call_stack.hpp", + "external/sources/boost/boost/asio/detail/chrono.hpp", + "external/sources/boost/boost/asio/detail/chrono_time_traits.hpp", + "external/sources/boost/boost/asio/detail/completion_handler.hpp", + "external/sources/boost/boost/asio/detail/concurrency_hint.hpp", + "external/sources/boost/boost/asio/detail/conditionally_enabled_event.hpp", + "external/sources/boost/boost/asio/detail/conditionally_enabled_mutex.hpp", + "external/sources/boost/boost/asio/detail/config.hpp", + "external/sources/boost/boost/asio/detail/consuming_buffers.hpp", + "external/sources/boost/boost/asio/detail/cstddef.hpp", + "external/sources/boost/boost/asio/detail/cstdint.hpp", + "external/sources/boost/boost/asio/detail/date_time_fwd.hpp", + "external/sources/boost/boost/asio/detail/deadline_timer_service.hpp", + "external/sources/boost/boost/asio/detail/dependent_type.hpp", + "external/sources/boost/boost/asio/detail/descriptor_ops.hpp", + "external/sources/boost/boost/asio/detail/descriptor_read_op.hpp", + "external/sources/boost/boost/asio/detail/descriptor_write_op.hpp", + "external/sources/boost/boost/asio/detail/dev_poll_reactor.hpp", + "external/sources/boost/boost/asio/detail/epoll_reactor.hpp", + "external/sources/boost/boost/asio/detail/event.hpp", + "external/sources/boost/boost/asio/detail/eventfd_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/executor_function.hpp", + "external/sources/boost/boost/asio/detail/executor_op.hpp", + "external/sources/boost/boost/asio/detail/fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/fenced_block.hpp", + "external/sources/boost/boost/asio/detail/functional.hpp", + "external/sources/boost/boost/asio/detail/future.hpp", + "external/sources/boost/boost/asio/detail/gcc_arm_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_hppa_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_sync_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_x86_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/global.hpp", + "external/sources/boost/boost/asio/detail/handler_alloc_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_cont_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_invoke_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_tracking.hpp", + "external/sources/boost/boost/asio/detail/handler_type_requirements.hpp", + "external/sources/boost/boost/asio/detail/handler_work.hpp", + "external/sources/boost/boost/asio/detail/hash_map.hpp", + "external/sources/boost/boost/asio/detail/impl/buffer_sequence_adapter.ipp", + "external/sources/boost/boost/asio/detail/impl/descriptor_ops.ipp", + "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/epoll_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/epoll_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/eventfd_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/handler_tracking.ipp", + "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/null_event.ipp", + "external/sources/boost/boost/asio/detail/impl/pipe_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_event.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_thread.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_tss_ptr.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_descriptor_service.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_serial_port_service.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_socket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/resolver_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/scheduler.ipp", + "external/sources/boost/boost/asio/detail/impl/select_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/select_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/service_registry.hpp", + "external/sources/boost/boost/asio/detail/impl/service_registry.ipp", + "external/sources/boost/boost/asio/detail/impl/signal_set_service.ipp", + "external/sources/boost/boost/asio/detail/impl/socket_ops.ipp", + "external/sources/boost/boost/asio/detail/impl/socket_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/strand_executor_service.hpp", + "external/sources/boost/boost/asio/detail/impl/strand_executor_service.ipp", + "external/sources/boost/boost/asio/detail/impl/strand_service.hpp", + "external/sources/boost/boost/asio/detail/impl/strand_service.ipp", + "external/sources/boost/boost/asio/detail/impl/throw_error.ipp", + "external/sources/boost/boost/asio/detail/impl/timer_queue_ptime.ipp", + "external/sources/boost/boost/asio/detail/impl/timer_queue_set.ipp", + "external/sources/boost/boost/asio/detail/impl/win_event.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_handle_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.hpp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_serial_port_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_socket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/win_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/win_object_handle_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_static_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/win_thread.ipp", + "external/sources/boost/boost/asio/detail/impl/win_tss_ptr.ipp", + "external/sources/boost/boost/asio/detail/impl/winrt_ssocket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.ipp", + "external/sources/boost/boost/asio/detail/impl/winsock_init.ipp", + "external/sources/boost/boost/asio/detail/io_control.hpp", + "external/sources/boost/boost/asio/detail/io_object_impl.hpp", + "external/sources/boost/boost/asio/detail/is_buffer_sequence.hpp", + "external/sources/boost/boost/asio/detail/is_executor.hpp", + "external/sources/boost/boost/asio/detail/keyword_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/kqueue_reactor.hpp", + "external/sources/boost/boost/asio/detail/limits.hpp", + "external/sources/boost/boost/asio/detail/local_free_on_block_exit.hpp", + "external/sources/boost/boost/asio/detail/macos_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/memory.hpp", + "external/sources/boost/boost/asio/detail/mutex.hpp", + "external/sources/boost/boost/asio/detail/non_const_lvalue.hpp", + "external/sources/boost/boost/asio/detail/noncopyable.hpp", + "external/sources/boost/boost/asio/detail/null_event.hpp", + "external/sources/boost/boost/asio/detail/null_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/null_global.hpp", + "external/sources/boost/boost/asio/detail/null_mutex.hpp", + "external/sources/boost/boost/asio/detail/null_reactor.hpp", + "external/sources/boost/boost/asio/detail/null_signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/null_socket_service.hpp", + "external/sources/boost/boost/asio/detail/null_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/null_thread.hpp", + "external/sources/boost/boost/asio/detail/null_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/object_pool.hpp", + "external/sources/boost/boost/asio/detail/old_win_sdk_compat.hpp", + "external/sources/boost/boost/asio/detail/op_queue.hpp", + "external/sources/boost/boost/asio/detail/operation.hpp", + "external/sources/boost/boost/asio/detail/pipe_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/pop_options.hpp", + "external/sources/boost/boost/asio/detail/posix_event.hpp", + "external/sources/boost/boost/asio/detail/posix_fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/posix_global.hpp", + "external/sources/boost/boost/asio/detail/posix_mutex.hpp", + "external/sources/boost/boost/asio/detail/posix_signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/posix_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/posix_thread.hpp", + "external/sources/boost/boost/asio/detail/posix_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/push_options.hpp", + "external/sources/boost/boost/asio/detail/reactive_descriptor_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_null_buffers_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_serial_port_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_accept_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recvfrom_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recvmsg_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_sendto_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_service_base.hpp", + "external/sources/boost/boost/asio/detail/reactive_wait_op.hpp", + "external/sources/boost/boost/asio/detail/reactor.hpp", + "external/sources/boost/boost/asio/detail/reactor_fwd.hpp", + "external/sources/boost/boost/asio/detail/reactor_op.hpp", + "external/sources/boost/boost/asio/detail/reactor_op_queue.hpp", + "external/sources/boost/boost/asio/detail/recycling_allocator.hpp", + "external/sources/boost/boost/asio/detail/regex_fwd.hpp", + "external/sources/boost/boost/asio/detail/resolve_endpoint_op.hpp", + "external/sources/boost/boost/asio/detail/resolve_op.hpp", + "external/sources/boost/boost/asio/detail/resolve_query_op.hpp", + "external/sources/boost/boost/asio/detail/resolver_service.hpp", + "external/sources/boost/boost/asio/detail/resolver_service_base.hpp", + "external/sources/boost/boost/asio/detail/scheduler.hpp", + "external/sources/boost/boost/asio/detail/scheduler_operation.hpp", + "external/sources/boost/boost/asio/detail/scheduler_thread_info.hpp", + "external/sources/boost/boost/asio/detail/scoped_lock.hpp", + "external/sources/boost/boost/asio/detail/scoped_ptr.hpp", + "external/sources/boost/boost/asio/detail/select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/select_reactor.hpp", + "external/sources/boost/boost/asio/detail/service_registry.hpp", + "external/sources/boost/boost/asio/detail/signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/signal_handler.hpp", + "external/sources/boost/boost/asio/detail/signal_init.hpp", + "external/sources/boost/boost/asio/detail/signal_op.hpp", + "external/sources/boost/boost/asio/detail/signal_set_service.hpp", + "external/sources/boost/boost/asio/detail/socket_holder.hpp", + "external/sources/boost/boost/asio/detail/socket_ops.hpp", + "external/sources/boost/boost/asio/detail/socket_option.hpp", + "external/sources/boost/boost/asio/detail/socket_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/socket_types.hpp", + "external/sources/boost/boost/asio/detail/solaris_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/source_location.hpp", + "external/sources/boost/boost/asio/detail/static_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_event.hpp", + "external/sources/boost/boost/asio/detail/std_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/std_global.hpp", + "external/sources/boost/boost/asio/detail/std_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_thread.hpp", + "external/sources/boost/boost/asio/detail/strand_executor_service.hpp", + "external/sources/boost/boost/asio/detail/strand_service.hpp", + "external/sources/boost/boost/asio/detail/string_view.hpp", + "external/sources/boost/boost/asio/detail/thread.hpp", + "external/sources/boost/boost/asio/detail/thread_context.hpp", + "external/sources/boost/boost/asio/detail/thread_group.hpp", + "external/sources/boost/boost/asio/detail/thread_info_base.hpp", + "external/sources/boost/boost/asio/detail/throw_error.hpp", + "external/sources/boost/boost/asio/detail/throw_exception.hpp", + "external/sources/boost/boost/asio/detail/timer_queue.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_base.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_ptime.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_set.hpp", + "external/sources/boost/boost/asio/detail/timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/timer_scheduler_fwd.hpp", + "external/sources/boost/boost/asio/detail/tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/type_traits.hpp", + "external/sources/boost/boost/asio/detail/variadic_templates.hpp", + "external/sources/boost/boost/asio/detail/wait_handler.hpp", + "external/sources/boost/boost/asio/detail/wait_op.hpp", + "external/sources/boost/boost/asio/detail/win_event.hpp", + "external/sources/boost/boost/asio/detail/win_fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/win_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/win_global.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_read_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_write_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_io_context.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_null_buffers_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_operation.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_overlapped_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_overlapped_ptr.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_serial_port_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_accept_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recvfrom_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recvmsg_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_service_base.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_thread_info.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_wait_op.hpp", + "external/sources/boost/boost/asio/detail/win_mutex.hpp", + "external/sources/boost/boost/asio/detail/win_object_handle_service.hpp", + "external/sources/boost/boost/asio/detail/win_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/win_thread.hpp", + "external/sources/boost/boost/asio/detail/win_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/winapp_thread.hpp", + "external/sources/boost/boost/asio/detail/wince_thread.hpp", + "external/sources/boost/boost/asio/detail/winrt_async_manager.hpp", + "external/sources/boost/boost/asio/detail/winrt_async_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_resolve_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_resolver_service.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_ssocket_service.hpp", + "external/sources/boost/boost/asio/detail/winrt_ssocket_service_base.hpp", + "external/sources/boost/boost/asio/detail/winrt_timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/winrt_utils.hpp", + "external/sources/boost/boost/asio/detail/winsock_init.hpp", + "external/sources/boost/boost/asio/detail/work_dispatcher.hpp", + "external/sources/boost/boost/asio/detail/wrapped_handler.hpp", + "external/sources/boost/boost/asio/dispatch.hpp", + "external/sources/boost/boost/asio/error.hpp", + "external/sources/boost/boost/asio/execution.hpp", + "external/sources/boost/boost/asio/execution/allocator.hpp", + "external/sources/boost/boost/asio/execution/any_executor.hpp", + "external/sources/boost/boost/asio/execution/bad_executor.hpp", + "external/sources/boost/boost/asio/execution/blocking.hpp", + "external/sources/boost/boost/asio/execution/blocking_adaptation.hpp", + "external/sources/boost/boost/asio/execution/bulk_execute.hpp", + "external/sources/boost/boost/asio/execution/bulk_guarantee.hpp", + "external/sources/boost/boost/asio/execution/connect.hpp", + "external/sources/boost/boost/asio/execution/context.hpp", + "external/sources/boost/boost/asio/execution/context_as.hpp", + "external/sources/boost/boost/asio/execution/detail/as_invocable.hpp", + "external/sources/boost/boost/asio/execution/detail/as_operation.hpp", + "external/sources/boost/boost/asio/execution/detail/as_receiver.hpp", + "external/sources/boost/boost/asio/execution/detail/bulk_sender.hpp", + "external/sources/boost/boost/asio/execution/detail/submit_receiver.hpp", + "external/sources/boost/boost/asio/execution/detail/void_receiver.hpp", + "external/sources/boost/boost/asio/execution/execute.hpp", + "external/sources/boost/boost/asio/execution/executor.hpp", + "external/sources/boost/boost/asio/execution/impl/bad_executor.ipp", + "external/sources/boost/boost/asio/execution/impl/receiver_invocation_error.ipp", + "external/sources/boost/boost/asio/execution/invocable_archetype.hpp", + "external/sources/boost/boost/asio/execution/mapping.hpp", + "external/sources/boost/boost/asio/execution/occupancy.hpp", + "external/sources/boost/boost/asio/execution/operation_state.hpp", + "external/sources/boost/boost/asio/execution/outstanding_work.hpp", + "external/sources/boost/boost/asio/execution/prefer_only.hpp", + "external/sources/boost/boost/asio/execution/receiver.hpp", + "external/sources/boost/boost/asio/execution/receiver_invocation_error.hpp", + "external/sources/boost/boost/asio/execution/relationship.hpp", + "external/sources/boost/boost/asio/execution/schedule.hpp", + "external/sources/boost/boost/asio/execution/scheduler.hpp", + "external/sources/boost/boost/asio/execution/sender.hpp", + "external/sources/boost/boost/asio/execution/set_done.hpp", + "external/sources/boost/boost/asio/execution/set_error.hpp", + "external/sources/boost/boost/asio/execution/set_value.hpp", + "external/sources/boost/boost/asio/execution/start.hpp", + "external/sources/boost/boost/asio/execution/submit.hpp", + "external/sources/boost/boost/asio/execution_context.hpp", + "external/sources/boost/boost/asio/executor.hpp", + "external/sources/boost/boost/asio/executor_work_guard.hpp", + "external/sources/boost/boost/asio/generic/basic_endpoint.hpp", + "external/sources/boost/boost/asio/generic/datagram_protocol.hpp", + "external/sources/boost/boost/asio/generic/detail/endpoint.hpp", + "external/sources/boost/boost/asio/generic/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/generic/raw_protocol.hpp", + "external/sources/boost/boost/asio/generic/seq_packet_protocol.hpp", + "external/sources/boost/boost/asio/generic/stream_protocol.hpp", + "external/sources/boost/boost/asio/handler_alloc_hook.hpp", + "external/sources/boost/boost/asio/handler_continuation_hook.hpp", + "external/sources/boost/boost/asio/handler_invoke_hook.hpp", + "external/sources/boost/boost/asio/high_resolution_timer.hpp", + "external/sources/boost/boost/asio/impl/awaitable.hpp", + "external/sources/boost/boost/asio/impl/buffered_read_stream.hpp", + "external/sources/boost/boost/asio/impl/buffered_write_stream.hpp", + "external/sources/boost/boost/asio/impl/co_spawn.hpp", + "external/sources/boost/boost/asio/impl/compose.hpp", + "external/sources/boost/boost/asio/impl/connect.hpp", + "external/sources/boost/boost/asio/impl/defer.hpp", + "external/sources/boost/boost/asio/impl/detached.hpp", + "external/sources/boost/boost/asio/impl/dispatch.hpp", + "external/sources/boost/boost/asio/impl/error.ipp", + "external/sources/boost/boost/asio/impl/execution_context.hpp", + "external/sources/boost/boost/asio/impl/execution_context.ipp", + "external/sources/boost/boost/asio/impl/executor.hpp", + "external/sources/boost/boost/asio/impl/executor.ipp", + "external/sources/boost/boost/asio/impl/handler_alloc_hook.ipp", + "external/sources/boost/boost/asio/impl/io_context.hpp", + "external/sources/boost/boost/asio/impl/io_context.ipp", + "external/sources/boost/boost/asio/impl/multiple_exceptions.ipp", + "external/sources/boost/boost/asio/impl/post.hpp", + "external/sources/boost/boost/asio/impl/read.hpp", + "external/sources/boost/boost/asio/impl/read_at.hpp", + "external/sources/boost/boost/asio/impl/read_until.hpp", + "external/sources/boost/boost/asio/impl/redirect_error.hpp", + "external/sources/boost/boost/asio/impl/serial_port_base.hpp", + "external/sources/boost/boost/asio/impl/serial_port_base.ipp", + "external/sources/boost/boost/asio/impl/spawn.hpp", + "external/sources/boost/boost/asio/impl/src.cpp", + "external/sources/boost/boost/asio/impl/src.hpp", + "external/sources/boost/boost/asio/impl/system_context.hpp", + "external/sources/boost/boost/asio/impl/system_context.ipp", + "external/sources/boost/boost/asio/impl/system_executor.hpp", + "external/sources/boost/boost/asio/impl/thread_pool.hpp", + "external/sources/boost/boost/asio/impl/thread_pool.ipp", + "external/sources/boost/boost/asio/impl/use_awaitable.hpp", + "external/sources/boost/boost/asio/impl/use_future.hpp", + "external/sources/boost/boost/asio/impl/write.hpp", + "external/sources/boost/boost/asio/impl/write_at.hpp", + "external/sources/boost/boost/asio/io_context.hpp", + "external/sources/boost/boost/asio/io_context_strand.hpp", + "external/sources/boost/boost/asio/io_service.hpp", + "external/sources/boost/boost/asio/io_service_strand.hpp", + "external/sources/boost/boost/asio/ip/address.hpp", + "external/sources/boost/boost/asio/ip/address_v4.hpp", + "external/sources/boost/boost/asio/ip/address_v4_iterator.hpp", + "external/sources/boost/boost/asio/ip/address_v4_range.hpp", + "external/sources/boost/boost/asio/ip/address_v6.hpp", + "external/sources/boost/boost/asio/ip/address_v6_iterator.hpp", + "external/sources/boost/boost/asio/ip/address_v6_range.hpp", + "external/sources/boost/boost/asio/ip/bad_address_cast.hpp", + "external/sources/boost/boost/asio/ip/basic_endpoint.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_entry.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_iterator.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_query.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_results.hpp", + "external/sources/boost/boost/asio/ip/detail/endpoint.hpp", + "external/sources/boost/boost/asio/ip/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/ip/detail/socket_option.hpp", + "external/sources/boost/boost/asio/ip/host_name.hpp", + "external/sources/boost/boost/asio/ip/icmp.hpp", + "external/sources/boost/boost/asio/ip/impl/address.hpp", + "external/sources/boost/boost/asio/ip/impl/address.ipp", + "external/sources/boost/boost/asio/ip/impl/address_v4.hpp", + "external/sources/boost/boost/asio/ip/impl/address_v4.ipp", + "external/sources/boost/boost/asio/ip/impl/address_v6.hpp", + "external/sources/boost/boost/asio/ip/impl/address_v6.ipp", + "external/sources/boost/boost/asio/ip/impl/basic_endpoint.hpp", + "external/sources/boost/boost/asio/ip/impl/host_name.ipp", + "external/sources/boost/boost/asio/ip/impl/network_v4.hpp", + "external/sources/boost/boost/asio/ip/impl/network_v4.ipp", + "external/sources/boost/boost/asio/ip/impl/network_v6.hpp", + "external/sources/boost/boost/asio/ip/impl/network_v6.ipp", + "external/sources/boost/boost/asio/ip/multicast.hpp", + "external/sources/boost/boost/asio/ip/network_v4.hpp", + "external/sources/boost/boost/asio/ip/network_v6.hpp", + "external/sources/boost/boost/asio/ip/resolver_base.hpp", + "external/sources/boost/boost/asio/ip/resolver_query_base.hpp", + "external/sources/boost/boost/asio/ip/tcp.hpp", + "external/sources/boost/boost/asio/ip/udp.hpp", + "external/sources/boost/boost/asio/ip/unicast.hpp", + "external/sources/boost/boost/asio/ip/v6_only.hpp", + "external/sources/boost/boost/asio/is_applicable_property.hpp", + "external/sources/boost/boost/asio/is_executor.hpp", + "external/sources/boost/boost/asio/is_read_buffered.hpp", + "external/sources/boost/boost/asio/is_write_buffered.hpp", + "external/sources/boost/boost/asio/local/basic_endpoint.hpp", + "external/sources/boost/boost/asio/local/connect_pair.hpp", + "external/sources/boost/boost/asio/local/datagram_protocol.hpp", + "external/sources/boost/boost/asio/local/detail/endpoint.hpp", + "external/sources/boost/boost/asio/local/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/local/stream_protocol.hpp", + "external/sources/boost/boost/asio/multiple_exceptions.hpp", + "external/sources/boost/boost/asio/packaged_task.hpp", + "external/sources/boost/boost/asio/placeholders.hpp", + "external/sources/boost/boost/asio/posix/basic_descriptor.hpp", + "external/sources/boost/boost/asio/posix/basic_stream_descriptor.hpp", + "external/sources/boost/boost/asio/posix/descriptor.hpp", + "external/sources/boost/boost/asio/posix/descriptor_base.hpp", + "external/sources/boost/boost/asio/posix/stream_descriptor.hpp", + "external/sources/boost/boost/asio/post.hpp", + "external/sources/boost/boost/asio/prefer.hpp", + "external/sources/boost/boost/asio/query.hpp", + "external/sources/boost/boost/asio/read.hpp", + "external/sources/boost/boost/asio/read_at.hpp", + "external/sources/boost/boost/asio/read_until.hpp", + "external/sources/boost/boost/asio/redirect_error.hpp", + "external/sources/boost/boost/asio/require.hpp", + "external/sources/boost/boost/asio/require_concept.hpp", + "external/sources/boost/boost/asio/serial_port.hpp", + "external/sources/boost/boost/asio/serial_port_base.hpp", + "external/sources/boost/boost/asio/signal_set.hpp", + "external/sources/boost/boost/asio/socket_base.hpp", + "external/sources/boost/boost/asio/spawn.hpp", + "external/sources/boost/boost/asio/ssl.hpp", + "external/sources/boost/boost/asio/ssl/context.hpp", + "external/sources/boost/boost/asio/ssl/context_base.hpp", + "external/sources/boost/boost/asio/ssl/detail/buffered_handshake_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/engine.hpp", + "external/sources/boost/boost/asio/ssl/detail/handshake_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/impl/engine.ipp", + "external/sources/boost/boost/asio/ssl/detail/impl/openssl_init.ipp", + "external/sources/boost/boost/asio/ssl/detail/io.hpp", + "external/sources/boost/boost/asio/ssl/detail/openssl_init.hpp", + "external/sources/boost/boost/asio/ssl/detail/openssl_types.hpp", + "external/sources/boost/boost/asio/ssl/detail/password_callback.hpp", + "external/sources/boost/boost/asio/ssl/detail/read_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/shutdown_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/stream_core.hpp", + "external/sources/boost/boost/asio/ssl/detail/verify_callback.hpp", + "external/sources/boost/boost/asio/ssl/detail/write_op.hpp", + "external/sources/boost/boost/asio/ssl/error.hpp", + "external/sources/boost/boost/asio/ssl/host_name_verification.hpp", + "external/sources/boost/boost/asio/ssl/impl/context.hpp", + "external/sources/boost/boost/asio/ssl/impl/context.ipp", + "external/sources/boost/boost/asio/ssl/impl/error.ipp", + "external/sources/boost/boost/asio/ssl/impl/host_name_verification.ipp", + "external/sources/boost/boost/asio/ssl/impl/rfc2818_verification.ipp", + "external/sources/boost/boost/asio/ssl/impl/src.hpp", + "external/sources/boost/boost/asio/ssl/rfc2818_verification.hpp", + "external/sources/boost/boost/asio/ssl/stream.hpp", + "external/sources/boost/boost/asio/ssl/stream_base.hpp", + "external/sources/boost/boost/asio/ssl/verify_context.hpp", + "external/sources/boost/boost/asio/ssl/verify_mode.hpp", + "external/sources/boost/boost/asio/static_thread_pool.hpp", + "external/sources/boost/boost/asio/steady_timer.hpp", + "external/sources/boost/boost/asio/strand.hpp", + "external/sources/boost/boost/asio/streambuf.hpp", + "external/sources/boost/boost/asio/system_context.hpp", + "external/sources/boost/boost/asio/system_executor.hpp", + "external/sources/boost/boost/asio/system_timer.hpp", + "external/sources/boost/boost/asio/this_coro.hpp", + "external/sources/boost/boost/asio/thread_pool.hpp", + "external/sources/boost/boost/asio/time_traits.hpp", + "external/sources/boost/boost/asio/traits/bulk_execute_free.hpp", + "external/sources/boost/boost/asio/traits/bulk_execute_member.hpp", + "external/sources/boost/boost/asio/traits/connect_free.hpp", + "external/sources/boost/boost/asio/traits/connect_member.hpp", + "external/sources/boost/boost/asio/traits/equality_comparable.hpp", + "external/sources/boost/boost/asio/traits/execute_free.hpp", + "external/sources/boost/boost/asio/traits/execute_member.hpp", + "external/sources/boost/boost/asio/traits/prefer_free.hpp", + "external/sources/boost/boost/asio/traits/prefer_member.hpp", + "external/sources/boost/boost/asio/traits/query_free.hpp", + "external/sources/boost/boost/asio/traits/query_member.hpp", + "external/sources/boost/boost/asio/traits/query_static_constexpr_member.hpp", + "external/sources/boost/boost/asio/traits/require_concept_free.hpp", + "external/sources/boost/boost/asio/traits/require_concept_member.hpp", + "external/sources/boost/boost/asio/traits/require_free.hpp", + "external/sources/boost/boost/asio/traits/require_member.hpp", + "external/sources/boost/boost/asio/traits/schedule_free.hpp", + "external/sources/boost/boost/asio/traits/schedule_member.hpp", + "external/sources/boost/boost/asio/traits/set_done_free.hpp", + "external/sources/boost/boost/asio/traits/set_done_member.hpp", + "external/sources/boost/boost/asio/traits/set_error_free.hpp", + "external/sources/boost/boost/asio/traits/set_error_member.hpp", + "external/sources/boost/boost/asio/traits/set_value_free.hpp", + "external/sources/boost/boost/asio/traits/set_value_member.hpp", + "external/sources/boost/boost/asio/traits/start_free.hpp", + "external/sources/boost/boost/asio/traits/start_member.hpp", + "external/sources/boost/boost/asio/traits/static_query.hpp", + "external/sources/boost/boost/asio/traits/static_require.hpp", + "external/sources/boost/boost/asio/traits/static_require_concept.hpp", + "external/sources/boost/boost/asio/traits/submit_free.hpp", + "external/sources/boost/boost/asio/traits/submit_member.hpp", + "external/sources/boost/boost/asio/ts/buffer.hpp", + "external/sources/boost/boost/asio/ts/executor.hpp", + "external/sources/boost/boost/asio/ts/internet.hpp", + "external/sources/boost/boost/asio/ts/io_context.hpp", + "external/sources/boost/boost/asio/ts/net.hpp", + "external/sources/boost/boost/asio/ts/netfwd.hpp", + "external/sources/boost/boost/asio/ts/socket.hpp", + "external/sources/boost/boost/asio/ts/timer.hpp", + "external/sources/boost/boost/asio/unyield.hpp", + "external/sources/boost/boost/asio/use_awaitable.hpp", + "external/sources/boost/boost/asio/use_future.hpp", + "external/sources/boost/boost/asio/uses_executor.hpp", + "external/sources/boost/boost/asio/version.hpp", + "external/sources/boost/boost/asio/wait_traits.hpp", + "external/sources/boost/boost/asio/windows/basic_object_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_overlapped_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_random_access_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_stream_handle.hpp", + "external/sources/boost/boost/asio/windows/object_handle.hpp", + "external/sources/boost/boost/asio/windows/overlapped_handle.hpp", + "external/sources/boost/boost/asio/windows/overlapped_ptr.hpp", + "external/sources/boost/boost/asio/windows/random_access_handle.hpp", + "external/sources/boost/boost/asio/windows/stream_handle.hpp", + "external/sources/boost/boost/asio/write.hpp", + "external/sources/boost/boost/asio/write_at.hpp", + "external/sources/boost/boost/asio/yield.hpp", + "external/sources/boost/boost/assert.hpp", + "external/sources/boost/boost/assert/source_location.hpp", + "external/sources/boost/boost/assign.hpp", + "external/sources/boost/boost/assign/assignment_exception.hpp", + "external/sources/boost/boost/assign/list_inserter.hpp", + "external/sources/boost/boost/assign/list_of.hpp", + "external/sources/boost/boost/assign/ptr_list_inserter.hpp", + "external/sources/boost/boost/assign/ptr_list_of.hpp", + "external/sources/boost/boost/assign/ptr_map_inserter.hpp", + "external/sources/boost/boost/assign/std.hpp", + "external/sources/boost/boost/assign/std/deque.hpp", + "external/sources/boost/boost/assign/std/list.hpp", + "external/sources/boost/boost/assign/std/map.hpp", + "external/sources/boost/boost/assign/std/queue.hpp", + "external/sources/boost/boost/assign/std/set.hpp", + "external/sources/boost/boost/assign/std/slist.hpp", + "external/sources/boost/boost/assign/std/stack.hpp", + "external/sources/boost/boost/assign/std/vector.hpp", + "external/sources/boost/boost/atomic.hpp", + "external/sources/boost/boost/atomic/atomic.hpp", + "external/sources/boost/boost/atomic/atomic_flag.hpp", + "external/sources/boost/boost/atomic/atomic_ref.hpp", + "external/sources/boost/boost/atomic/capabilities.hpp", + "external/sources/boost/boost/atomic/detail/addressof.hpp", + "external/sources/boost/boost/atomic/detail/aligned_variable.hpp", + "external/sources/boost/boost/atomic/detail/atomic_flag_impl.hpp", + "external/sources/boost/boost/atomic/detail/atomic_impl.hpp", + "external/sources/boost/boost/atomic/detail/atomic_ref_impl.hpp", + "external/sources/boost/boost/atomic/detail/bitwise_cast.hpp", + "external/sources/boost/boost/atomic/detail/bitwise_fp_cast.hpp", + "external/sources/boost/boost/atomic/detail/capabilities.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/caps_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/caps_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/caps_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_windows.hpp", + "external/sources/boost/boost/atomic/detail/cas_based_exchange.hpp", + "external/sources/boost/boost/atomic/detail/classify.hpp", + "external/sources/boost/boost/atomic/detail/config.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_operations.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/core_operations.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_emulated.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_emulated_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_cas_based.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_windows.hpp", + "external/sources/boost/boost/atomic/detail/extending_cas_based_arithmetic.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_operations.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/extra_operations.hpp", + "external/sources/boost/boost/atomic/detail/extra_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_operations.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_operations.hpp", + "external/sources/boost/boost/atomic/detail/fence_operations_emulated.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_windows.hpp", + "external/sources/boost/boost/atomic/detail/float_sizes.hpp", + "external/sources/boost/boost/atomic/detail/footer.hpp", + "external/sources/boost/boost/atomic/detail/fp_operations.hpp", + "external/sources/boost/boost/atomic/detail/fp_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/fp_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/fp_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/futex.hpp", + "external/sources/boost/boost/atomic/detail/gcc_arm_asm_common.hpp", + "external/sources/boost/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp", + "external/sources/boost/boost/atomic/detail/header.hpp", + "external/sources/boost/boost/atomic/detail/int_sizes.hpp", + "external/sources/boost/boost/atomic/detail/integral_conversions.hpp", + "external/sources/boost/boost/atomic/detail/interlocked.hpp", + "external/sources/boost/boost/atomic/detail/intptr.hpp", + "external/sources/boost/boost/atomic/detail/link.hpp", + "external/sources/boost/boost/atomic/detail/lock_pool.hpp", + "external/sources/boost/boost/atomic/detail/memory_order_utils.hpp", + "external/sources/boost/boost/atomic/detail/once_flag.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_aarch32_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_aarch64_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_arm_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_ppc_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_msvc_common.hpp", + "external/sources/boost/boost/atomic/detail/pause.hpp", + "external/sources/boost/boost/atomic/detail/platform.hpp", + "external/sources/boost/boost/atomic/detail/storage_traits.hpp", + "external/sources/boost/boost/atomic/detail/string_ops.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/alignment_of.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/conditional.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/integral_constant.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_floating_point.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_function.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_iec559.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_integral.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_signed.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_copyable.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/make_signed.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/make_unsigned.hpp", + "external/sources/boost/boost/atomic/detail/wait_capabilities.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_freebsd_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_futex.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_windows.hpp", + "external/sources/boost/boost/atomic/detail/wait_operations.hpp", + "external/sources/boost/boost/atomic/detail/wait_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_freebsd_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_futex.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_windows.hpp", + "external/sources/boost/boost/atomic/fences.hpp", + "external/sources/boost/boost/atomic/ipc_atomic.hpp", + "external/sources/boost/boost/atomic/ipc_atomic_flag.hpp", + "external/sources/boost/boost/atomic/ipc_atomic_ref.hpp", + "external/sources/boost/boost/beast.hpp", + "external/sources/boost/boost/beast/_experimental/http/icy_stream.hpp", + "external/sources/boost/boost/beast/_experimental/http/impl/icy_stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/error.hpp", + "external/sources/boost/boost/beast/_experimental/test/fail_count.hpp", + "external/sources/boost/boost/beast/_experimental/test/handler.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/error.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/error.ipp", + "external/sources/boost/boost/beast/_experimental/test/impl/fail_count.ipp", + "external/sources/boost/boost/beast/_experimental/test/impl/stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/stream.ipp", + "external/sources/boost/boost/beast/_experimental/test/stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/tcp.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/amount.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/detail/const_container.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/dstream.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/global_suites.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/main.ipp", + "external/sources/boost/boost/beast/_experimental/unit_test/match.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/recorder.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/reporter.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/results.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/runner.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite_info.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite_list.hpp", + "external/sources/boost/boost/beast/core.hpp", + "external/sources/boost/boost/beast/core/async_base.hpp", + "external/sources/boost/boost/beast/core/basic_stream.hpp", + "external/sources/boost/boost/beast/core/bind_handler.hpp", + "external/sources/boost/boost/beast/core/buffer_traits.hpp", + "external/sources/boost/boost/beast/core/buffered_read_stream.hpp", + "external/sources/boost/boost/beast/core/buffers_adaptor.hpp", + "external/sources/boost/boost/beast/core/buffers_cat.hpp", + "external/sources/boost/boost/beast/core/buffers_prefix.hpp", + "external/sources/boost/boost/beast/core/buffers_range.hpp", + "external/sources/boost/boost/beast/core/buffers_suffix.hpp", + "external/sources/boost/boost/beast/core/buffers_to_string.hpp", + "external/sources/boost/boost/beast/core/detail/allocator.hpp", + "external/sources/boost/boost/beast/core/detail/async_base.hpp", + "external/sources/boost/boost/beast/core/detail/base64.hpp", + "external/sources/boost/boost/beast/core/detail/base64.ipp", + "external/sources/boost/boost/beast/core/detail/bind_continuation.hpp", + "external/sources/boost/boost/beast/core/detail/bind_default_executor.hpp", + "external/sources/boost/boost/beast/core/detail/bind_handler.hpp", + "external/sources/boost/boost/beast/core/detail/buffer.hpp", + "external/sources/boost/boost/beast/core/detail/buffer_traits.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_pair.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_range_adaptor.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_ref.hpp", + "external/sources/boost/boost/beast/core/detail/chacha.hpp", + "external/sources/boost/boost/beast/core/detail/char_buffer.hpp", + "external/sources/boost/boost/beast/core/detail/clamp.hpp", + "external/sources/boost/boost/beast/core/detail/config.hpp", + "external/sources/boost/boost/beast/core/detail/cpu_info.hpp", + "external/sources/boost/boost/beast/core/detail/flat_stream.hpp", + "external/sources/boost/boost/beast/core/detail/get_io_context.hpp", + "external/sources/boost/boost/beast/core/detail/impl/read.hpp", + "external/sources/boost/boost/beast/core/detail/impl/temporary_buffer.ipp", + "external/sources/boost/boost/beast/core/detail/is_invocable.hpp", + "external/sources/boost/boost/beast/core/detail/ostream.hpp", + "external/sources/boost/boost/beast/core/detail/pcg.hpp", + "external/sources/boost/boost/beast/core/detail/read.hpp", + "external/sources/boost/boost/beast/core/detail/remap_post_to_defer.hpp", + "external/sources/boost/boost/beast/core/detail/service_base.hpp", + "external/sources/boost/boost/beast/core/detail/sha1.hpp", + "external/sources/boost/boost/beast/core/detail/sha1.ipp", + "external/sources/boost/boost/beast/core/detail/static_const.hpp", + "external/sources/boost/boost/beast/core/detail/static_ostream.hpp", + "external/sources/boost/boost/beast/core/detail/static_string.hpp", + "external/sources/boost/boost/beast/core/detail/stream_base.hpp", + "external/sources/boost/boost/beast/core/detail/stream_traits.hpp", + "external/sources/boost/boost/beast/core/detail/string.hpp", + "external/sources/boost/boost/beast/core/detail/temporary_buffer.hpp", + "external/sources/boost/boost/beast/core/detail/tuple.hpp", + "external/sources/boost/boost/beast/core/detail/type_traits.hpp", + "external/sources/boost/boost/beast/core/detail/variant.hpp", + "external/sources/boost/boost/beast/core/detail/varint.hpp", + "external/sources/boost/boost/beast/core/detail/win32_unicode_path.hpp", + "external/sources/boost/boost/beast/core/detail/work_guard.hpp", + "external/sources/boost/boost/beast/core/detect_ssl.hpp", + "external/sources/boost/boost/beast/core/error.hpp", + "external/sources/boost/boost/beast/core/file.hpp", + "external/sources/boost/boost/beast/core/file_base.hpp", + "external/sources/boost/boost/beast/core/file_posix.hpp", + "external/sources/boost/boost/beast/core/file_stdio.hpp", + "external/sources/boost/boost/beast/core/file_win32.hpp", + "external/sources/boost/boost/beast/core/flat_buffer.hpp", + "external/sources/boost/boost/beast/core/flat_static_buffer.hpp", + "external/sources/boost/boost/beast/core/flat_stream.hpp", + "external/sources/boost/boost/beast/core/impl/async_base.hpp", + "external/sources/boost/boost/beast/core/impl/basic_stream.hpp", + "external/sources/boost/boost/beast/core/impl/buffered_read_stream.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_adaptor.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_cat.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_prefix.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_suffix.hpp", + "external/sources/boost/boost/beast/core/impl/error.hpp", + "external/sources/boost/boost/beast/core/impl/error.ipp", + "external/sources/boost/boost/beast/core/impl/file_posix.ipp", + "external/sources/boost/boost/beast/core/impl/file_stdio.ipp", + "external/sources/boost/boost/beast/core/impl/file_win32.ipp", + "external/sources/boost/boost/beast/core/impl/flat_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/flat_static_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/flat_static_buffer.ipp", + "external/sources/boost/boost/beast/core/impl/flat_stream.hpp", + "external/sources/boost/boost/beast/core/impl/multi_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/read_size.hpp", + "external/sources/boost/boost/beast/core/impl/saved_handler.hpp", + "external/sources/boost/boost/beast/core/impl/saved_handler.ipp", + "external/sources/boost/boost/beast/core/impl/static_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/static_buffer.ipp", + "external/sources/boost/boost/beast/core/impl/static_string.hpp", + "external/sources/boost/boost/beast/core/impl/string.ipp", + "external/sources/boost/boost/beast/core/impl/string_param.hpp", + "external/sources/boost/boost/beast/core/make_printable.hpp", + "external/sources/boost/boost/beast/core/multi_buffer.hpp", + "external/sources/boost/boost/beast/core/ostream.hpp", + "external/sources/boost/boost/beast/core/rate_policy.hpp", + "external/sources/boost/boost/beast/core/read_size.hpp", + "external/sources/boost/boost/beast/core/role.hpp", + "external/sources/boost/boost/beast/core/saved_handler.hpp", + "external/sources/boost/boost/beast/core/span.hpp", + "external/sources/boost/boost/beast/core/static_buffer.hpp", + "external/sources/boost/boost/beast/core/static_string.hpp", + "external/sources/boost/boost/beast/core/stream_traits.hpp", + "external/sources/boost/boost/beast/core/string.hpp", + "external/sources/boost/boost/beast/core/string_param.hpp", + "external/sources/boost/boost/beast/core/string_type.hpp", + "external/sources/boost/boost/beast/core/tcp_stream.hpp", + "external/sources/boost/boost/beast/http.hpp", + "external/sources/boost/boost/beast/http/basic_dynamic_body.hpp", + "external/sources/boost/boost/beast/http/basic_file_body.hpp", + "external/sources/boost/boost/beast/http/basic_parser.hpp", + "external/sources/boost/boost/beast/http/buffer_body.hpp", + "external/sources/boost/boost/beast/http/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parsed_list.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parser.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parser.ipp", + "external/sources/boost/boost/beast/http/detail/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/detail/rfc7230.hpp", + "external/sources/boost/boost/beast/http/detail/rfc7230.ipp", + "external/sources/boost/boost/beast/http/detail/type_traits.hpp", + "external/sources/boost/boost/beast/http/dynamic_body.hpp", + "external/sources/boost/boost/beast/http/empty_body.hpp", + "external/sources/boost/boost/beast/http/error.hpp", + "external/sources/boost/boost/beast/http/field.hpp", + "external/sources/boost/boost/beast/http/fields.hpp", + "external/sources/boost/boost/beast/http/file_body.hpp", + "external/sources/boost/boost/beast/http/impl/basic_parser.hpp", + "external/sources/boost/boost/beast/http/impl/basic_parser.ipp", + "external/sources/boost/boost/beast/http/impl/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/impl/error.hpp", + "external/sources/boost/boost/beast/http/impl/error.ipp", + "external/sources/boost/boost/beast/http/impl/field.ipp", + "external/sources/boost/boost/beast/http/impl/fields.hpp", + "external/sources/boost/boost/beast/http/impl/fields.ipp", + "external/sources/boost/boost/beast/http/impl/file_body_win32.hpp", + "external/sources/boost/boost/beast/http/impl/message.hpp", + "external/sources/boost/boost/beast/http/impl/parser.hpp", + "external/sources/boost/boost/beast/http/impl/read.hpp", + "external/sources/boost/boost/beast/http/impl/rfc7230.hpp", + "external/sources/boost/boost/beast/http/impl/rfc7230.ipp", + "external/sources/boost/boost/beast/http/impl/serializer.hpp", + "external/sources/boost/boost/beast/http/impl/status.ipp", + "external/sources/boost/boost/beast/http/impl/verb.ipp", + "external/sources/boost/boost/beast/http/impl/write.hpp", + "external/sources/boost/boost/beast/http/message.hpp", + "external/sources/boost/boost/beast/http/parser.hpp", + "external/sources/boost/boost/beast/http/read.hpp", + "external/sources/boost/boost/beast/http/rfc7230.hpp", + "external/sources/boost/boost/beast/http/serializer.hpp", + "external/sources/boost/boost/beast/http/span_body.hpp", + "external/sources/boost/boost/beast/http/status.hpp", + "external/sources/boost/boost/beast/http/string_body.hpp", + "external/sources/boost/boost/beast/http/type_traits.hpp", + "external/sources/boost/boost/beast/http/vector_body.hpp", + "external/sources/boost/boost/beast/http/verb.hpp", + "external/sources/boost/boost/beast/http/write.hpp", + "external/sources/boost/boost/beast/src.hpp", + "external/sources/boost/boost/beast/ssl.hpp", + "external/sources/boost/boost/beast/ssl/ssl_stream.hpp", + "external/sources/boost/boost/beast/version.hpp", + "external/sources/boost/boost/beast/websocket.hpp", + "external/sources/boost/boost/beast/websocket/detail/decorator.hpp", + "external/sources/boost/boost/beast/websocket/detail/frame.hpp", + "external/sources/boost/boost/beast/websocket/detail/hybi13.hpp", + "external/sources/boost/boost/beast/websocket/detail/hybi13.ipp", + "external/sources/boost/boost/beast/websocket/detail/impl_base.hpp", + "external/sources/boost/boost/beast/websocket/detail/mask.hpp", + "external/sources/boost/boost/beast/websocket/detail/mask.ipp", + "external/sources/boost/boost/beast/websocket/detail/pmd_extension.hpp", + "external/sources/boost/boost/beast/websocket/detail/pmd_extension.ipp", + "external/sources/boost/boost/beast/websocket/detail/prng.hpp", + "external/sources/boost/boost/beast/websocket/detail/prng.ipp", + "external/sources/boost/boost/beast/websocket/detail/service.hpp", + "external/sources/boost/boost/beast/websocket/detail/service.ipp", + "external/sources/boost/boost/beast/websocket/detail/soft_mutex.hpp", + "external/sources/boost/boost/beast/websocket/detail/type_traits.hpp", + "external/sources/boost/boost/beast/websocket/detail/utf8_checker.hpp", + "external/sources/boost/boost/beast/websocket/detail/utf8_checker.ipp", + "external/sources/boost/boost/beast/websocket/error.hpp", + "external/sources/boost/boost/beast/websocket/impl/accept.hpp", + "external/sources/boost/boost/beast/websocket/impl/close.hpp", + "external/sources/boost/boost/beast/websocket/impl/error.hpp", + "external/sources/boost/boost/beast/websocket/impl/error.ipp", + "external/sources/boost/boost/beast/websocket/impl/handshake.hpp", + "external/sources/boost/boost/beast/websocket/impl/ping.hpp", + "external/sources/boost/boost/beast/websocket/impl/read.hpp", + "external/sources/boost/boost/beast/websocket/impl/rfc6455.hpp", + "external/sources/boost/boost/beast/websocket/impl/ssl.hpp", + "external/sources/boost/boost/beast/websocket/impl/stream.hpp", + "external/sources/boost/boost/beast/websocket/impl/stream_impl.hpp", + "external/sources/boost/boost/beast/websocket/impl/teardown.hpp", + "external/sources/boost/boost/beast/websocket/impl/write.hpp", + "external/sources/boost/boost/beast/websocket/option.hpp", + "external/sources/boost/boost/beast/websocket/rfc6455.hpp", + "external/sources/boost/boost/beast/websocket/ssl.hpp", + "external/sources/boost/boost/beast/websocket/stream.hpp", + "external/sources/boost/boost/beast/websocket/stream_base.hpp", + "external/sources/boost/boost/beast/websocket/stream_fwd.hpp", + "external/sources/boost/boost/beast/websocket/teardown.hpp", + "external/sources/boost/boost/beast/zlib.hpp", + "external/sources/boost/boost/beast/zlib/deflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/bitstream.hpp", + "external/sources/boost/boost/beast/zlib/detail/deflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/deflate_stream.ipp", + "external/sources/boost/boost/beast/zlib/detail/inflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/inflate_stream.ipp", + "external/sources/boost/boost/beast/zlib/detail/ranges.hpp", + "external/sources/boost/boost/beast/zlib/detail/window.hpp", + "external/sources/boost/boost/beast/zlib/error.hpp", + "external/sources/boost/boost/beast/zlib/impl/error.hpp", + "external/sources/boost/boost/beast/zlib/impl/error.ipp", + "external/sources/boost/boost/beast/zlib/inflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/zlib.hpp", + "external/sources/boost/boost/bimap.hpp", + "external/sources/boost/boost/bimap/bimap.hpp", + "external/sources/boost/boost/bimap/container_adaptor/associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/comparison_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/functor_bag.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/identity_converters.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/key_extractor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/non_unique_container_helper.hpp", + "external/sources/boost/boost/bimap/container_adaptor/list_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/list_map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/multimap_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/multiset_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/ordered_associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/sequence_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/set_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/support/iterator_facade_converters.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_multimap_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_multiset_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_set_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/vector_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/vector_map_adaptor.hpp", + "external/sources/boost/boost/bimap/detail/bimap_core.hpp", + "external/sources/boost/boost/bimap/detail/concept_tags.hpp", + "external/sources/boost/boost/bimap/detail/generate_index_binder.hpp", + "external/sources/boost/boost/bimap/detail/generate_relation_binder.hpp", + "external/sources/boost/boost/bimap/detail/generate_view_binder.hpp", + "external/sources/boost/boost/bimap/detail/is_set_type_of.hpp", + "external/sources/boost/boost/bimap/detail/manage_additional_parameters.hpp", + "external/sources/boost/boost/bimap/detail/manage_bimap_key.hpp", + "external/sources/boost/boost/bimap/detail/map_view_base.hpp", + "external/sources/boost/boost/bimap/detail/map_view_iterator.hpp", + "external/sources/boost/boost/bimap/detail/modifier_adaptor.hpp", + "external/sources/boost/boost/bimap/detail/non_unique_views_helper.hpp", + "external/sources/boost/boost/bimap/detail/set_view_base.hpp", + "external/sources/boost/boost/bimap/detail/set_view_iterator.hpp", + "external/sources/boost/boost/bimap/detail/test/check_metadata.hpp", + "external/sources/boost/boost/bimap/detail/user_interface_config.hpp", + "external/sources/boost/boost/bimap/list_of.hpp", + "external/sources/boost/boost/bimap/multiset_of.hpp", + "external/sources/boost/boost/bimap/property_map/set_support.hpp", + "external/sources/boost/boost/bimap/property_map/unordered_set_support.hpp", + "external/sources/boost/boost/bimap/relation/detail/access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/metadata_access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/mutant.hpp", + "external/sources/boost/boost/bimap/relation/detail/static_access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/to_mutable_relation_functor.hpp", + "external/sources/boost/boost/bimap/relation/member_at.hpp", + "external/sources/boost/boost/bimap/relation/mutant_relation.hpp", + "external/sources/boost/boost/bimap/relation/pair_layout.hpp", + "external/sources/boost/boost/bimap/relation/structured_pair.hpp", + "external/sources/boost/boost/bimap/relation/support/data_extractor.hpp", + "external/sources/boost/boost/bimap/relation/support/get.hpp", + "external/sources/boost/boost/bimap/relation/support/get_pair_functor.hpp", + "external/sources/boost/boost/bimap/relation/support/is_tag_of_member_at.hpp", + "external/sources/boost/boost/bimap/relation/support/member_with_tag.hpp", + "external/sources/boost/boost/bimap/relation/support/opposite_tag.hpp", + "external/sources/boost/boost/bimap/relation/support/pair_by.hpp", + "external/sources/boost/boost/bimap/relation/support/pair_type_by.hpp", + "external/sources/boost/boost/bimap/relation/support/value_type_of.hpp", + "external/sources/boost/boost/bimap/relation/symmetrical_base.hpp", + "external/sources/boost/boost/bimap/set_of.hpp", + "external/sources/boost/boost/bimap/support/data_type_by.hpp", + "external/sources/boost/boost/bimap/support/iterator_type_by.hpp", + "external/sources/boost/boost/bimap/support/key_type_by.hpp", + "external/sources/boost/boost/bimap/support/lambda.hpp", + "external/sources/boost/boost/bimap/support/map_by.hpp", + "external/sources/boost/boost/bimap/support/map_type_by.hpp", + "external/sources/boost/boost/bimap/support/value_type_by.hpp", + "external/sources/boost/boost/bimap/unconstrained_set_of.hpp", + "external/sources/boost/boost/bimap/unordered_multiset_of.hpp", + "external/sources/boost/boost/bimap/unordered_set_of.hpp", + "external/sources/boost/boost/bimap/vector_of.hpp", + "external/sources/boost/boost/bimap/views/list_map_view.hpp", + "external/sources/boost/boost/bimap/views/list_set_view.hpp", + "external/sources/boost/boost/bimap/views/map_view.hpp", + "external/sources/boost/boost/bimap/views/multimap_view.hpp", + "external/sources/boost/boost/bimap/views/multiset_view.hpp", + "external/sources/boost/boost/bimap/views/set_view.hpp", + "external/sources/boost/boost/bimap/views/unconstrained_map_view.hpp", + "external/sources/boost/boost/bimap/views/unconstrained_set_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_map_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_multimap_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_multiset_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_set_view.hpp", + "external/sources/boost/boost/bimap/views/vector_map_view.hpp", + "external/sources/boost/boost/bimap/views/vector_set_view.hpp", + "external/sources/boost/boost/bind.hpp", + "external/sources/boost/boost/bind/apply.hpp", + "external/sources/boost/boost/bind/arg.hpp", + "external/sources/boost/boost/bind/bind.hpp", + "external/sources/boost/boost/bind/bind_cc.hpp", + "external/sources/boost/boost/bind/bind_mf2_cc.hpp", + "external/sources/boost/boost/bind/bind_mf_cc.hpp", + "external/sources/boost/boost/bind/bind_template.hpp", + "external/sources/boost/boost/bind/make_adaptable.hpp", + "external/sources/boost/boost/bind/mem_fn.hpp", + "external/sources/boost/boost/bind/mem_fn_cc.hpp", + "external/sources/boost/boost/bind/mem_fn_template.hpp", + "external/sources/boost/boost/bind/mem_fn_vw.hpp", + "external/sources/boost/boost/bind/placeholders.hpp", + "external/sources/boost/boost/bind/protect.hpp", + "external/sources/boost/boost/bind/storage.hpp", + "external/sources/boost/boost/blank.hpp", + "external/sources/boost/boost/blank_fwd.hpp", + "external/sources/boost/boost/call_traits.hpp", + "external/sources/boost/boost/callable_traits.hpp", + "external/sources/boost/boost/callable_traits/add_member_const.hpp", + "external/sources/boost/boost/callable_traits/add_member_cv.hpp", + "external/sources/boost/boost/callable_traits/add_member_lvalue_reference.hpp", + "external/sources/boost/boost/callable_traits/add_member_rvalue_reference.hpp", + "external/sources/boost/boost/callable_traits/add_member_volatile.hpp", + "external/sources/boost/boost/callable_traits/add_noexcept.hpp", + "external/sources/boost/boost/callable_traits/add_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/add_varargs.hpp", + "external/sources/boost/boost/callable_traits/apply_member_pointer.hpp", + "external/sources/boost/boost/callable_traits/apply_return.hpp", + "external/sources/boost/boost/callable_traits/args.hpp", + "external/sources/boost/boost/callable_traits/class_of.hpp", + "external/sources/boost/boost/callable_traits/detail/config.hpp", + "external/sources/boost/boost/callable_traits/detail/core.hpp", + "external/sources/boost/boost/callable_traits/detail/default_callable_traits.hpp", + "external/sources/boost/boost/callable_traits/detail/forward_declarations.hpp", + "external/sources/boost/boost/callable_traits/detail/function.hpp", + "external/sources/boost/boost/callable_traits/detail/function_object.hpp", + "external/sources/boost/boost/callable_traits/detail/is_invocable_impl.hpp", + "external/sources/boost/boost/callable_traits/detail/parameter_index_helper.hpp", + "external/sources/boost/boost/callable_traits/detail/pmd.hpp", + "external/sources/boost/boost/callable_traits/detail/pmf.hpp", + "external/sources/boost/boost/callable_traits/detail/polyfills/disjunction.hpp", + "external/sources/boost/boost/callable_traits/detail/polyfills/make_index_sequence.hpp", + "external/sources/boost/boost/callable_traits/detail/qualifier_flags.hpp", + "external/sources/boost/boost/callable_traits/detail/set_function_qualifiers.hpp", + "external/sources/boost/boost/callable_traits/detail/sfinae_errors.hpp", + "external/sources/boost/boost/callable_traits/detail/traits.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_4.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_4.hpp", + "external/sources/boost/boost/callable_traits/detail/utility.hpp", + "external/sources/boost/boost/callable_traits/function_type.hpp", + "external/sources/boost/boost/callable_traits/has_member_qualifiers.hpp", + "external/sources/boost/boost/callable_traits/has_varargs.hpp", + "external/sources/boost/boost/callable_traits/has_void_return.hpp", + "external/sources/boost/boost/callable_traits/is_const_member.hpp", + "external/sources/boost/boost/callable_traits/is_cv_member.hpp", + "external/sources/boost/boost/callable_traits/is_invocable.hpp", + "external/sources/boost/boost/callable_traits/is_lvalue_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_noexcept.hpp", + "external/sources/boost/boost/callable_traits/is_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_rvalue_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/is_volatile_member.hpp", + "external/sources/boost/boost/callable_traits/qualified_class_of.hpp", + "external/sources/boost/boost/callable_traits/remove_member_const.hpp", + "external/sources/boost/boost/callable_traits/remove_member_cv.hpp", + "external/sources/boost/boost/callable_traits/remove_member_reference.hpp", + "external/sources/boost/boost/callable_traits/remove_member_volatile.hpp", + "external/sources/boost/boost/callable_traits/remove_noexcept.hpp", + "external/sources/boost/boost/callable_traits/remove_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/remove_varargs.hpp", + "external/sources/boost/boost/callable_traits/return_type.hpp", + "external/sources/boost/boost/cast.hpp", + "external/sources/boost/boost/cerrno.hpp", + "external/sources/boost/boost/checked_delete.hpp", + "external/sources/boost/boost/chrono.hpp", + "external/sources/boost/boost/chrono/ceil.hpp", + "external/sources/boost/boost/chrono/chrono.hpp", + "external/sources/boost/boost/chrono/chrono_io.hpp", + "external/sources/boost/boost/chrono/clock_string.hpp", + "external/sources/boost/boost/chrono/config.hpp", + "external/sources/boost/boost/chrono/detail/inlined/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/is_evenly_divisible_by.hpp", + "external/sources/boost/boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp", + "external/sources/boost/boost/chrono/detail/scan_keyword.hpp", + "external/sources/boost/boost/chrono/detail/static_assert.hpp", + "external/sources/boost/boost/chrono/detail/system.hpp", + "external/sources/boost/boost/chrono/duration.hpp", + "external/sources/boost/boost/chrono/floor.hpp", + "external/sources/boost/boost/chrono/include.hpp", + "external/sources/boost/boost/chrono/io/duration_get.hpp", + "external/sources/boost/boost/chrono/io/duration_io.hpp", + "external/sources/boost/boost/chrono/io/duration_put.hpp", + "external/sources/boost/boost/chrono/io/duration_style.hpp", + "external/sources/boost/boost/chrono/io/duration_units.hpp", + "external/sources/boost/boost/chrono/io/ios_base_state.hpp", + "external/sources/boost/boost/chrono/io/time_point_get.hpp", + "external/sources/boost/boost/chrono/io/time_point_io.hpp", + "external/sources/boost/boost/chrono/io/time_point_put.hpp", + "external/sources/boost/boost/chrono/io/time_point_units.hpp", + "external/sources/boost/boost/chrono/io/timezone.hpp", + "external/sources/boost/boost/chrono/io/utility/ios_base_state_ptr.hpp", + "external/sources/boost/boost/chrono/io/utility/manip_base.hpp", + "external/sources/boost/boost/chrono/io/utility/to_string.hpp", + "external/sources/boost/boost/chrono/io_v1/chrono_io.hpp", + "external/sources/boost/boost/chrono/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/round.hpp", + "external/sources/boost/boost/chrono/system_clocks.hpp", + "external/sources/boost/boost/chrono/thread_clock.hpp", + "external/sources/boost/boost/chrono/time_point.hpp", + "external/sources/boost/boost/chrono/typeof/boost/chrono/chrono.hpp", + "external/sources/boost/boost/chrono/typeof/boost/ratio.hpp", + "external/sources/boost/boost/circular_buffer.hpp", + "external/sources/boost/boost/circular_buffer/base.hpp", + "external/sources/boost/boost/circular_buffer/debug.hpp", + "external/sources/boost/boost/circular_buffer/details.hpp", + "external/sources/boost/boost/circular_buffer/space_optimized.hpp", + "external/sources/boost/boost/circular_buffer_fwd.hpp", + "external/sources/boost/boost/compatibility/cpp_c_headers/cassert", + "external/sources/boost/boost/compatibility/cpp_c_headers/cctype", + "external/sources/boost/boost/compatibility/cpp_c_headers/cerrno", + "external/sources/boost/boost/compatibility/cpp_c_headers/cfloat", + "external/sources/boost/boost/compatibility/cpp_c_headers/climits", + "external/sources/boost/boost/compatibility/cpp_c_headers/clocale", + "external/sources/boost/boost/compatibility/cpp_c_headers/cmath", + "external/sources/boost/boost/compatibility/cpp_c_headers/csetjmp", + "external/sources/boost/boost/compatibility/cpp_c_headers/csignal", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdarg", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstddef", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdio", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdlib", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstring", + "external/sources/boost/boost/compatibility/cpp_c_headers/ctime", + "external/sources/boost/boost/compatibility/cpp_c_headers/cwchar", + "external/sources/boost/boost/compatibility/cpp_c_headers/cwctype", + "external/sources/boost/boost/compressed_pair.hpp", + "external/sources/boost/boost/compute.hpp", + "external/sources/boost/boost/compute/algorithm.hpp", + "external/sources/boost/boost/compute/algorithm/accumulate.hpp", + "external/sources/boost/boost/compute/algorithm/adjacent_difference.hpp", + "external/sources/boost/boost/compute/algorithm/adjacent_find.hpp", + "external/sources/boost/boost/compute/algorithm/all_of.hpp", + "external/sources/boost/boost/compute/algorithm/any_of.hpp", + "external/sources/boost/boost/compute/algorithm/binary_search.hpp", + "external/sources/boost/boost/compute/algorithm/copy.hpp", + "external/sources/boost/boost/compute/algorithm/copy_if.hpp", + "external/sources/boost/boost/compute/algorithm/copy_n.hpp", + "external/sources/boost/boost/compute/algorithm/count.hpp", + "external/sources/boost/boost/compute/algorithm/count_if.hpp", + "external/sources/boost/boost/compute/algorithm/detail/balanced_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/binary_find.hpp", + "external/sources/boost/boost/compute/algorithm/detail/compact.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_on_device.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_to_device.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_to_host.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_ballot.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_threads.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_atomics.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_if_with_atomics.hpp", + "external/sources/boost/boost/compute/algorithm/detail/inplace_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/insertion_sort.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_with_merge_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/radix_sort.hpp", + "external/sources/boost/boost/compute/algorithm/detail/random_fill.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key_with_scan.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/search_all.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_accumulate.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_count_if.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_find_extrema.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_merge.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_scan.hpp", + "external/sources/boost/boost/compute/algorithm/equal.hpp", + "external/sources/boost/boost/compute/algorithm/equal_range.hpp", + "external/sources/boost/boost/compute/algorithm/exclusive_scan.hpp", + "external/sources/boost/boost/compute/algorithm/fill.hpp", + "external/sources/boost/boost/compute/algorithm/fill_n.hpp", + "external/sources/boost/boost/compute/algorithm/find.hpp", + "external/sources/boost/boost/compute/algorithm/find_end.hpp", + "external/sources/boost/boost/compute/algorithm/find_if.hpp", + "external/sources/boost/boost/compute/algorithm/find_if_not.hpp", + "external/sources/boost/boost/compute/algorithm/for_each.hpp", + "external/sources/boost/boost/compute/algorithm/for_each_n.hpp", + "external/sources/boost/boost/compute/algorithm/gather.hpp", + "external/sources/boost/boost/compute/algorithm/generate.hpp", + "external/sources/boost/boost/compute/algorithm/generate_n.hpp", + "external/sources/boost/boost/compute/algorithm/includes.hpp", + "external/sources/boost/boost/compute/algorithm/inclusive_scan.hpp", + "external/sources/boost/boost/compute/algorithm/inner_product.hpp", + "external/sources/boost/boost/compute/algorithm/inplace_merge.hpp", + "external/sources/boost/boost/compute/algorithm/iota.hpp", + "external/sources/boost/boost/compute/algorithm/is_partitioned.hpp", + "external/sources/boost/boost/compute/algorithm/is_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/is_sorted.hpp", + "external/sources/boost/boost/compute/algorithm/lexicographical_compare.hpp", + "external/sources/boost/boost/compute/algorithm/lower_bound.hpp", + "external/sources/boost/boost/compute/algorithm/max_element.hpp", + "external/sources/boost/boost/compute/algorithm/merge.hpp", + "external/sources/boost/boost/compute/algorithm/min_element.hpp", + "external/sources/boost/boost/compute/algorithm/minmax_element.hpp", + "external/sources/boost/boost/compute/algorithm/mismatch.hpp", + "external/sources/boost/boost/compute/algorithm/next_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/none_of.hpp", + "external/sources/boost/boost/compute/algorithm/nth_element.hpp", + "external/sources/boost/boost/compute/algorithm/partial_sum.hpp", + "external/sources/boost/boost/compute/algorithm/partition.hpp", + "external/sources/boost/boost/compute/algorithm/partition_copy.hpp", + "external/sources/boost/boost/compute/algorithm/partition_point.hpp", + "external/sources/boost/boost/compute/algorithm/prev_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/random_shuffle.hpp", + "external/sources/boost/boost/compute/algorithm/reduce.hpp", + "external/sources/boost/boost/compute/algorithm/reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/remove.hpp", + "external/sources/boost/boost/compute/algorithm/remove_if.hpp", + "external/sources/boost/boost/compute/algorithm/replace.hpp", + "external/sources/boost/boost/compute/algorithm/replace_copy.hpp", + "external/sources/boost/boost/compute/algorithm/reverse.hpp", + "external/sources/boost/boost/compute/algorithm/reverse_copy.hpp", + "external/sources/boost/boost/compute/algorithm/rotate.hpp", + "external/sources/boost/boost/compute/algorithm/rotate_copy.hpp", + "external/sources/boost/boost/compute/algorithm/scatter.hpp", + "external/sources/boost/boost/compute/algorithm/scatter_if.hpp", + "external/sources/boost/boost/compute/algorithm/search.hpp", + "external/sources/boost/boost/compute/algorithm/search_n.hpp", + "external/sources/boost/boost/compute/algorithm/set_difference.hpp", + "external/sources/boost/boost/compute/algorithm/set_intersection.hpp", + "external/sources/boost/boost/compute/algorithm/set_symmetric_difference.hpp", + "external/sources/boost/boost/compute/algorithm/set_union.hpp", + "external/sources/boost/boost/compute/algorithm/sort.hpp", + "external/sources/boost/boost/compute/algorithm/sort_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/stable_partition.hpp", + "external/sources/boost/boost/compute/algorithm/stable_sort.hpp", + "external/sources/boost/boost/compute/algorithm/stable_sort_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/swap_ranges.hpp", + "external/sources/boost/boost/compute/algorithm/transform.hpp", + "external/sources/boost/boost/compute/algorithm/transform_if.hpp", + "external/sources/boost/boost/compute/algorithm/transform_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/unique.hpp", + "external/sources/boost/boost/compute/algorithm/unique_copy.hpp", + "external/sources/boost/boost/compute/algorithm/upper_bound.hpp", + "external/sources/boost/boost/compute/allocator.hpp", + "external/sources/boost/boost/compute/allocator/buffer_allocator.hpp", + "external/sources/boost/boost/compute/allocator/pinned_allocator.hpp", + "external/sources/boost/boost/compute/async.hpp", + "external/sources/boost/boost/compute/async/future.hpp", + "external/sources/boost/boost/compute/async/wait.hpp", + "external/sources/boost/boost/compute/async/wait_guard.hpp", + "external/sources/boost/boost/compute/buffer.hpp", + "external/sources/boost/boost/compute/cl.hpp", + "external/sources/boost/boost/compute/cl_ext.hpp", + "external/sources/boost/boost/compute/closure.hpp", + "external/sources/boost/boost/compute/command_queue.hpp", + "external/sources/boost/boost/compute/config.hpp", + "external/sources/boost/boost/compute/container.hpp", + "external/sources/boost/boost/compute/container/array.hpp", + "external/sources/boost/boost/compute/container/basic_string.hpp", + "external/sources/boost/boost/compute/container/detail/scalar.hpp", + "external/sources/boost/boost/compute/container/dynamic_bitset.hpp", + "external/sources/boost/boost/compute/container/flat_map.hpp", + "external/sources/boost/boost/compute/container/flat_set.hpp", + "external/sources/boost/boost/compute/container/mapped_view.hpp", + "external/sources/boost/boost/compute/container/stack.hpp", + "external/sources/boost/boost/compute/container/string.hpp", + "external/sources/boost/boost/compute/container/valarray.hpp", + "external/sources/boost/boost/compute/container/vector.hpp", + "external/sources/boost/boost/compute/context.hpp", + "external/sources/boost/boost/compute/core.hpp", + "external/sources/boost/boost/compute/detail/assert_cl_success.hpp", + "external/sources/boost/boost/compute/detail/buffer_value.hpp", + "external/sources/boost/boost/compute/detail/cl_versions.hpp", + "external/sources/boost/boost/compute/detail/device_ptr.hpp", + "external/sources/boost/boost/compute/detail/diagnostic.hpp", + "external/sources/boost/boost/compute/detail/duration.hpp", + "external/sources/boost/boost/compute/detail/get_object_info.hpp", + "external/sources/boost/boost/compute/detail/getenv.hpp", + "external/sources/boost/boost/compute/detail/global_static.hpp", + "external/sources/boost/boost/compute/detail/is_buffer_iterator.hpp", + "external/sources/boost/boost/compute/detail/is_contiguous_iterator.hpp", + "external/sources/boost/boost/compute/detail/iterator_plus_distance.hpp", + "external/sources/boost/boost/compute/detail/iterator_range_size.hpp", + "external/sources/boost/boost/compute/detail/iterator_traits.hpp", + "external/sources/boost/boost/compute/detail/literal.hpp", + "external/sources/boost/boost/compute/detail/lru_cache.hpp", + "external/sources/boost/boost/compute/detail/meta_kernel.hpp", + "external/sources/boost/boost/compute/detail/mpl_vector_to_tuple.hpp", + "external/sources/boost/boost/compute/detail/nvidia_compute_capability.hpp", + "external/sources/boost/boost/compute/detail/parameter_cache.hpp", + "external/sources/boost/boost/compute/detail/path.hpp", + "external/sources/boost/boost/compute/detail/print_range.hpp", + "external/sources/boost/boost/compute/detail/read_write_single_value.hpp", + "external/sources/boost/boost/compute/detail/sha1.hpp", + "external/sources/boost/boost/compute/detail/variadic_macros.hpp", + "external/sources/boost/boost/compute/detail/vendor.hpp", + "external/sources/boost/boost/compute/detail/work_size.hpp", + "external/sources/boost/boost/compute/device.hpp", + "external/sources/boost/boost/compute/event.hpp", + "external/sources/boost/boost/compute/exception.hpp", + "external/sources/boost/boost/compute/exception/context_error.hpp", + "external/sources/boost/boost/compute/exception/no_device_found.hpp", + "external/sources/boost/boost/compute/exception/opencl_error.hpp", + "external/sources/boost/boost/compute/exception/program_build_failure.hpp", + "external/sources/boost/boost/compute/exception/unsupported_extension_error.hpp", + "external/sources/boost/boost/compute/experimental/clamp_range.hpp", + "external/sources/boost/boost/compute/experimental/malloc.hpp", + "external/sources/boost/boost/compute/experimental/sort_by_transform.hpp", + "external/sources/boost/boost/compute/experimental/tabulate.hpp", + "external/sources/boost/boost/compute/function.hpp", + "external/sources/boost/boost/compute/functional.hpp", + "external/sources/boost/boost/compute/functional/as.hpp", + "external/sources/boost/boost/compute/functional/atomic.hpp", + "external/sources/boost/boost/compute/functional/bind.hpp", + "external/sources/boost/boost/compute/functional/common.hpp", + "external/sources/boost/boost/compute/functional/convert.hpp", + "external/sources/boost/boost/compute/functional/detail/macros.hpp", + "external/sources/boost/boost/compute/functional/detail/nvidia_ballot.hpp", + "external/sources/boost/boost/compute/functional/detail/nvidia_popcount.hpp", + "external/sources/boost/boost/compute/functional/detail/unpack.hpp", + "external/sources/boost/boost/compute/functional/field.hpp", + "external/sources/boost/boost/compute/functional/geometry.hpp", + "external/sources/boost/boost/compute/functional/get.hpp", + "external/sources/boost/boost/compute/functional/hash.hpp", + "external/sources/boost/boost/compute/functional/identity.hpp", + "external/sources/boost/boost/compute/functional/integer.hpp", + "external/sources/boost/boost/compute/functional/logical.hpp", + "external/sources/boost/boost/compute/functional/math.hpp", + "external/sources/boost/boost/compute/functional/operator.hpp", + "external/sources/boost/boost/compute/functional/popcount.hpp", + "external/sources/boost/boost/compute/functional/relational.hpp", + "external/sources/boost/boost/compute/image.hpp", + "external/sources/boost/boost/compute/image/image1d.hpp", + "external/sources/boost/boost/compute/image/image2d.hpp", + "external/sources/boost/boost/compute/image/image3d.hpp", + "external/sources/boost/boost/compute/image/image_format.hpp", + "external/sources/boost/boost/compute/image/image_object.hpp", + "external/sources/boost/boost/compute/image/image_sampler.hpp", + "external/sources/boost/boost/compute/image2d.hpp", + "external/sources/boost/boost/compute/image3d.hpp", + "external/sources/boost/boost/compute/image_format.hpp", + "external/sources/boost/boost/compute/image_sampler.hpp", + "external/sources/boost/boost/compute/interop/eigen.hpp", + "external/sources/boost/boost/compute/interop/eigen/core.hpp", + "external/sources/boost/boost/compute/interop/opencv.hpp", + "external/sources/boost/boost/compute/interop/opencv/core.hpp", + "external/sources/boost/boost/compute/interop/opencv/highgui.hpp", + "external/sources/boost/boost/compute/interop/opencv/ocl.hpp", + "external/sources/boost/boost/compute/interop/opengl.hpp", + "external/sources/boost/boost/compute/interop/opengl/acquire.hpp", + "external/sources/boost/boost/compute/interop/opengl/cl_gl.hpp", + "external/sources/boost/boost/compute/interop/opengl/cl_gl_ext.hpp", + "external/sources/boost/boost/compute/interop/opengl/context.hpp", + "external/sources/boost/boost/compute/interop/opengl/gl.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_buffer.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_renderbuffer.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_texture.hpp", + "external/sources/boost/boost/compute/interop/qt.hpp", + "external/sources/boost/boost/compute/interop/qt/qimage.hpp", + "external/sources/boost/boost/compute/interop/qt/qpoint.hpp", + "external/sources/boost/boost/compute/interop/qt/qpointf.hpp", + "external/sources/boost/boost/compute/interop/qt/qtcore.hpp", + "external/sources/boost/boost/compute/interop/qt/qtgui.hpp", + "external/sources/boost/boost/compute/interop/qt/qvector.hpp", + "external/sources/boost/boost/compute/interop/vtk.hpp", + "external/sources/boost/boost/compute/interop/vtk/bounds.hpp", + "external/sources/boost/boost/compute/interop/vtk/data_array.hpp", + "external/sources/boost/boost/compute/interop/vtk/matrix4x4.hpp", + "external/sources/boost/boost/compute/interop/vtk/points.hpp", + "external/sources/boost/boost/compute/iterator.hpp", + "external/sources/boost/boost/compute/iterator/buffer_iterator.hpp", + "external/sources/boost/boost/compute/iterator/constant_buffer_iterator.hpp", + "external/sources/boost/boost/compute/iterator/constant_iterator.hpp", + "external/sources/boost/boost/compute/iterator/counting_iterator.hpp", + "external/sources/boost/boost/compute/iterator/detail/get_base_iterator_buffer.hpp", + "external/sources/boost/boost/compute/iterator/detail/swizzle_iterator.hpp", + "external/sources/boost/boost/compute/iterator/discard_iterator.hpp", + "external/sources/boost/boost/compute/iterator/function_input_iterator.hpp", + "external/sources/boost/boost/compute/iterator/permutation_iterator.hpp", + "external/sources/boost/boost/compute/iterator/strided_iterator.hpp", + "external/sources/boost/boost/compute/iterator/transform_iterator.hpp", + "external/sources/boost/boost/compute/iterator/zip_iterator.hpp", + "external/sources/boost/boost/compute/kernel.hpp", + "external/sources/boost/boost/compute/lambda.hpp", + "external/sources/boost/boost/compute/lambda/context.hpp", + "external/sources/boost/boost/compute/lambda/functional.hpp", + "external/sources/boost/boost/compute/lambda/get.hpp", + "external/sources/boost/boost/compute/lambda/make_pair.hpp", + "external/sources/boost/boost/compute/lambda/make_tuple.hpp", + "external/sources/boost/boost/compute/lambda/placeholder.hpp", + "external/sources/boost/boost/compute/lambda/placeholders.hpp", + "external/sources/boost/boost/compute/lambda/result_of.hpp", + "external/sources/boost/boost/compute/memory.hpp", + "external/sources/boost/boost/compute/memory/local_buffer.hpp", + "external/sources/boost/boost/compute/memory/svm_ptr.hpp", + "external/sources/boost/boost/compute/memory_object.hpp", + "external/sources/boost/boost/compute/pipe.hpp", + "external/sources/boost/boost/compute/platform.hpp", + "external/sources/boost/boost/compute/program.hpp", + "external/sources/boost/boost/compute/random.hpp", + "external/sources/boost/boost/compute/random/bernoulli_distribution.hpp", + "external/sources/boost/boost/compute/random/default_random_engine.hpp", + "external/sources/boost/boost/compute/random/discrete_distribution.hpp", + "external/sources/boost/boost/compute/random/linear_congruential_engine.hpp", + "external/sources/boost/boost/compute/random/mersenne_twister_engine.hpp", + "external/sources/boost/boost/compute/random/normal_distribution.hpp", + "external/sources/boost/boost/compute/random/threefry_engine.hpp", + "external/sources/boost/boost/compute/random/uniform_int_distribution.hpp", + "external/sources/boost/boost/compute/random/uniform_real_distribution.hpp", + "external/sources/boost/boost/compute/source.hpp", + "external/sources/boost/boost/compute/svm.hpp", + "external/sources/boost/boost/compute/system.hpp", + "external/sources/boost/boost/compute/type_traits.hpp", + "external/sources/boost/boost/compute/type_traits/common_type.hpp", + "external/sources/boost/boost/compute/type_traits/detail/capture_traits.hpp", + "external/sources/boost/boost/compute/type_traits/is_device_iterator.hpp", + "external/sources/boost/boost/compute/type_traits/is_fundamental.hpp", + "external/sources/boost/boost/compute/type_traits/is_vector_type.hpp", + "external/sources/boost/boost/compute/type_traits/make_vector_type.hpp", + "external/sources/boost/boost/compute/type_traits/result_of.hpp", + "external/sources/boost/boost/compute/type_traits/scalar_type.hpp", + "external/sources/boost/boost/compute/type_traits/type_definition.hpp", + "external/sources/boost/boost/compute/type_traits/type_name.hpp", + "external/sources/boost/boost/compute/type_traits/vector_size.hpp", + "external/sources/boost/boost/compute/types.hpp", + "external/sources/boost/boost/compute/types/builtin.hpp", + "external/sources/boost/boost/compute/types/complex.hpp", + "external/sources/boost/boost/compute/types/fundamental.hpp", + "external/sources/boost/boost/compute/types/pair.hpp", + "external/sources/boost/boost/compute/types/size_t.hpp", + "external/sources/boost/boost/compute/types/struct.hpp", + "external/sources/boost/boost/compute/types/tuple.hpp", + "external/sources/boost/boost/compute/user_event.hpp", + "external/sources/boost/boost/compute/utility.hpp", + "external/sources/boost/boost/compute/utility/dim.hpp", + "external/sources/boost/boost/compute/utility/extents.hpp", + "external/sources/boost/boost/compute/utility/invoke.hpp", + "external/sources/boost/boost/compute/utility/program_cache.hpp", + "external/sources/boost/boost/compute/utility/source.hpp", + "external/sources/boost/boost/compute/utility/wait_list.hpp", + "external/sources/boost/boost/compute/version.hpp", + "external/sources/boost/boost/compute/wait_list.hpp", + "external/sources/boost/boost/concept/assert.hpp", + "external/sources/boost/boost/concept/detail/backward_compatibility.hpp", + "external/sources/boost/boost/concept/detail/borland.hpp", + "external/sources/boost/boost/concept/detail/concept_def.hpp", + "external/sources/boost/boost/concept/detail/concept_undef.hpp", + "external/sources/boost/boost/concept/detail/general.hpp", + "external/sources/boost/boost/concept/detail/has_constraints.hpp", + "external/sources/boost/boost/concept/detail/msvc.hpp", + "external/sources/boost/boost/concept/requires.hpp", + "external/sources/boost/boost/concept/usage.hpp", + "external/sources/boost/boost/concept_archetype.hpp", + "external/sources/boost/boost/concept_check.hpp", + "external/sources/boost/boost/concept_check/borland.hpp", + "external/sources/boost/boost/concept_check/general.hpp", + "external/sources/boost/boost/concept_check/has_constraints.hpp", + "external/sources/boost/boost/concept_check/msvc.hpp", + "external/sources/boost/boost/config.hpp", + "external/sources/boost/boost/config/abi/borland_prefix.hpp", + "external/sources/boost/boost/config/abi/borland_suffix.hpp", + "external/sources/boost/boost/config/abi/msvc_prefix.hpp", + "external/sources/boost/boost/config/abi/msvc_suffix.hpp", + "external/sources/boost/boost/config/abi_prefix.hpp", + "external/sources/boost/boost/config/abi_suffix.hpp", + "external/sources/boost/boost/config/auto_link.hpp", + "external/sources/boost/boost/config/compiler/borland.hpp", + "external/sources/boost/boost/config/compiler/clang.hpp", + "external/sources/boost/boost/config/compiler/codegear.hpp", + "external/sources/boost/boost/config/compiler/comeau.hpp", + "external/sources/boost/boost/config/compiler/common_edg.hpp", + "external/sources/boost/boost/config/compiler/compaq_cxx.hpp", + "external/sources/boost/boost/config/compiler/cray.hpp", + "external/sources/boost/boost/config/compiler/diab.hpp", + "external/sources/boost/boost/config/compiler/digitalmars.hpp", + "external/sources/boost/boost/config/compiler/gcc.hpp", + "external/sources/boost/boost/config/compiler/gcc_xml.hpp", + "external/sources/boost/boost/config/compiler/greenhills.hpp", + "external/sources/boost/boost/config/compiler/hp_acc.hpp", + "external/sources/boost/boost/config/compiler/intel.hpp", + "external/sources/boost/boost/config/compiler/kai.hpp", + "external/sources/boost/boost/config/compiler/metrowerks.hpp", + "external/sources/boost/boost/config/compiler/mpw.hpp", + "external/sources/boost/boost/config/compiler/nvcc.hpp", + "external/sources/boost/boost/config/compiler/pathscale.hpp", + "external/sources/boost/boost/config/compiler/pgi.hpp", + "external/sources/boost/boost/config/compiler/sgi_mipspro.hpp", + "external/sources/boost/boost/config/compiler/sunpro_cc.hpp", + "external/sources/boost/boost/config/compiler/vacpp.hpp", + "external/sources/boost/boost/config/compiler/visualc.hpp", + "external/sources/boost/boost/config/compiler/xlcpp.hpp", + "external/sources/boost/boost/config/compiler/xlcpp_zos.hpp", + "external/sources/boost/boost/config/detail/posix_features.hpp", + "external/sources/boost/boost/config/detail/select_compiler_config.hpp", + "external/sources/boost/boost/config/detail/select_platform_config.hpp", + "external/sources/boost/boost/config/detail/select_stdlib_config.hpp", + "external/sources/boost/boost/config/detail/suffix.hpp", + "external/sources/boost/boost/config/header_deprecated.hpp", + "external/sources/boost/boost/config/helper_macros.hpp", + "external/sources/boost/boost/config/no_tr1/cmath.hpp", + "external/sources/boost/boost/config/no_tr1/complex.hpp", + "external/sources/boost/boost/config/no_tr1/functional.hpp", + "external/sources/boost/boost/config/no_tr1/memory.hpp", + "external/sources/boost/boost/config/no_tr1/utility.hpp", + "external/sources/boost/boost/config/platform/aix.hpp", + "external/sources/boost/boost/config/platform/amigaos.hpp", + "external/sources/boost/boost/config/platform/beos.hpp", + "external/sources/boost/boost/config/platform/bsd.hpp", + "external/sources/boost/boost/config/platform/cloudabi.hpp", + "external/sources/boost/boost/config/platform/cray.hpp", + "external/sources/boost/boost/config/platform/cygwin.hpp", + "external/sources/boost/boost/config/platform/haiku.hpp", + "external/sources/boost/boost/config/platform/hpux.hpp", + "external/sources/boost/boost/config/platform/irix.hpp", + "external/sources/boost/boost/config/platform/linux.hpp", + "external/sources/boost/boost/config/platform/macos.hpp", + "external/sources/boost/boost/config/platform/qnxnto.hpp", + "external/sources/boost/boost/config/platform/solaris.hpp", + "external/sources/boost/boost/config/platform/symbian.hpp", + "external/sources/boost/boost/config/platform/vms.hpp", + "external/sources/boost/boost/config/platform/vxworks.hpp", + "external/sources/boost/boost/config/platform/win32.hpp", + "external/sources/boost/boost/config/platform/zos.hpp", + "external/sources/boost/boost/config/pragma_message.hpp", + "external/sources/boost/boost/config/requires_threads.hpp", + "external/sources/boost/boost/config/stdlib/dinkumware.hpp", + "external/sources/boost/boost/config/stdlib/libcomo.hpp", + "external/sources/boost/boost/config/stdlib/libcpp.hpp", + "external/sources/boost/boost/config/stdlib/libstdcpp3.hpp", + "external/sources/boost/boost/config/stdlib/modena.hpp", + "external/sources/boost/boost/config/stdlib/msl.hpp", + "external/sources/boost/boost/config/stdlib/roguewave.hpp", + "external/sources/boost/boost/config/stdlib/sgi.hpp", + "external/sources/boost/boost/config/stdlib/stlport.hpp", + "external/sources/boost/boost/config/stdlib/vacpp.hpp", + "external/sources/boost/boost/config/stdlib/xlcpp_zos.hpp", + "external/sources/boost/boost/config/user.hpp", + "external/sources/boost/boost/config/warning_disable.hpp", + "external/sources/boost/boost/config/workaround.hpp", + "external/sources/boost/boost/container/adaptive_pool.hpp", + "external/sources/boost/boost/container/allocator.hpp", + "external/sources/boost/boost/container/allocator_traits.hpp", + "external/sources/boost/boost/container/container_fwd.hpp", + "external/sources/boost/boost/container/deque.hpp", + "external/sources/boost/boost/container/detail/adaptive_node_pool.hpp", + "external/sources/boost/boost/container/detail/adaptive_node_pool_impl.hpp", + "external/sources/boost/boost/container/detail/addressof.hpp", + "external/sources/boost/boost/container/detail/advanced_insert_int.hpp", + "external/sources/boost/boost/container/detail/algorithm.hpp", + "external/sources/boost/boost/container/detail/alloc_helpers.hpp", + "external/sources/boost/boost/container/detail/alloc_lib.h", + "external/sources/boost/boost/container/detail/allocation_type.hpp", + "external/sources/boost/boost/container/detail/allocator_version_traits.hpp", + "external/sources/boost/boost/container/detail/auto_link.hpp", + "external/sources/boost/boost/container/detail/block_list.hpp", + "external/sources/boost/boost/container/detail/block_slist.hpp", + "external/sources/boost/boost/container/detail/compare_functors.hpp", + "external/sources/boost/boost/container/detail/config_begin.hpp", + "external/sources/boost/boost/container/detail/config_end.hpp", + "external/sources/boost/boost/container/detail/construct_in_place.hpp", + "external/sources/boost/boost/container/detail/container_or_allocator_rebind.hpp", + "external/sources/boost/boost/container/detail/container_rebind.hpp", + "external/sources/boost/boost/container/detail/copy_move_algo.hpp", + "external/sources/boost/boost/container/detail/destroyers.hpp", + "external/sources/boost/boost/container/detail/dispatch_uses_allocator.hpp", + "external/sources/boost/boost/container/detail/dlmalloc.hpp", + "external/sources/boost/boost/container/detail/flat_tree.hpp", + "external/sources/boost/boost/container/detail/function_detector.hpp", + "external/sources/boost/boost/container/detail/is_container.hpp", + "external/sources/boost/boost/container/detail/is_contiguous_container.hpp", + "external/sources/boost/boost/container/detail/is_sorted.hpp", + "external/sources/boost/boost/container/detail/iterator.hpp", + "external/sources/boost/boost/container/detail/iterator_to_raw_pointer.hpp", + "external/sources/boost/boost/container/detail/iterators.hpp", + "external/sources/boost/boost/container/detail/math_functions.hpp", + "external/sources/boost/boost/container/detail/min_max.hpp", + "external/sources/boost/boost/container/detail/minimal_char_traits_header.hpp", + "external/sources/boost/boost/container/detail/mpl.hpp", + "external/sources/boost/boost/container/detail/multiallocation_chain.hpp", + "external/sources/boost/boost/container/detail/mutex.hpp", + "external/sources/boost/boost/container/detail/next_capacity.hpp", + "external/sources/boost/boost/container/detail/node_alloc_holder.hpp", + "external/sources/boost/boost/container/detail/node_pool.hpp", + "external/sources/boost/boost/container/detail/node_pool_impl.hpp", + "external/sources/boost/boost/container/detail/pair.hpp", + "external/sources/boost/boost/container/detail/pair_key_mapped_of_value.hpp", + "external/sources/boost/boost/container/detail/placement_new.hpp", + "external/sources/boost/boost/container/detail/pool_common.hpp", + "external/sources/boost/boost/container/detail/pool_common_alloc.hpp", + "external/sources/boost/boost/container/detail/pool_resource.hpp", + "external/sources/boost/boost/container/detail/singleton.hpp", + "external/sources/boost/boost/container/detail/std_fwd.hpp", + "external/sources/boost/boost/container/detail/thread_mutex.hpp", + "external/sources/boost/boost/container/detail/transform_iterator.hpp", + "external/sources/boost/boost/container/detail/tree.hpp", + "external/sources/boost/boost/container/detail/type_traits.hpp", + "external/sources/boost/boost/container/detail/value_functors.hpp", + "external/sources/boost/boost/container/detail/value_init.hpp", + "external/sources/boost/boost/container/detail/variadic_templates_tools.hpp", + "external/sources/boost/boost/container/detail/version_type.hpp", + "external/sources/boost/boost/container/detail/workaround.hpp", + "external/sources/boost/boost/container/flat_map.hpp", + "external/sources/boost/boost/container/flat_set.hpp", + "external/sources/boost/boost/container/list.hpp", + "external/sources/boost/boost/container/map.hpp", + "external/sources/boost/boost/container/new_allocator.hpp", + "external/sources/boost/boost/container/node_allocator.hpp", + "external/sources/boost/boost/container/node_handle.hpp", + "external/sources/boost/boost/container/options.hpp", + "external/sources/boost/boost/container/pmr/deque.hpp", + "external/sources/boost/boost/container/pmr/flat_map.hpp", + "external/sources/boost/boost/container/pmr/flat_set.hpp", + "external/sources/boost/boost/container/pmr/global_resource.hpp", + "external/sources/boost/boost/container/pmr/list.hpp", + "external/sources/boost/boost/container/pmr/map.hpp", + "external/sources/boost/boost/container/pmr/memory_resource.hpp", + "external/sources/boost/boost/container/pmr/monotonic_buffer_resource.hpp", + "external/sources/boost/boost/container/pmr/polymorphic_allocator.hpp", + "external/sources/boost/boost/container/pmr/pool_options.hpp", + "external/sources/boost/boost/container/pmr/resource_adaptor.hpp", + "external/sources/boost/boost/container/pmr/set.hpp", + "external/sources/boost/boost/container/pmr/slist.hpp", + "external/sources/boost/boost/container/pmr/small_vector.hpp", + "external/sources/boost/boost/container/pmr/stable_vector.hpp", + "external/sources/boost/boost/container/pmr/string.hpp", + "external/sources/boost/boost/container/pmr/synchronized_pool_resource.hpp", + "external/sources/boost/boost/container/pmr/unsynchronized_pool_resource.hpp", + "external/sources/boost/boost/container/pmr/vector.hpp", + "external/sources/boost/boost/container/scoped_allocator.hpp", + "external/sources/boost/boost/container/scoped_allocator_fwd.hpp", + "external/sources/boost/boost/container/set.hpp", + "external/sources/boost/boost/container/slist.hpp", + "external/sources/boost/boost/container/small_vector.hpp", + "external/sources/boost/boost/container/stable_vector.hpp", + "external/sources/boost/boost/container/static_vector.hpp", + "external/sources/boost/boost/container/string.hpp", + "external/sources/boost/boost/container/throw_exception.hpp", + "external/sources/boost/boost/container/uses_allocator.hpp", + "external/sources/boost/boost/container/uses_allocator_fwd.hpp", + "external/sources/boost/boost/container/vector.hpp", + "external/sources/boost/boost/container_hash/detail/float_functions.hpp", + "external/sources/boost/boost/container_hash/detail/hash_float.hpp", + "external/sources/boost/boost/container_hash/detail/limits.hpp", + "external/sources/boost/boost/container_hash/extensions.hpp", + "external/sources/boost/boost/container_hash/hash.hpp", + "external/sources/boost/boost/container_hash/hash_fwd.hpp", + "external/sources/boost/boost/context/continuation.hpp", + "external/sources/boost/boost/context/continuation_fcontext.hpp", + "external/sources/boost/boost/context/continuation_ucontext.hpp", + "external/sources/boost/boost/context/continuation_winfib.hpp", + "external/sources/boost/boost/context/detail/apply.hpp", + "external/sources/boost/boost/context/detail/config.hpp", + "external/sources/boost/boost/context/detail/disable_overload.hpp", + "external/sources/boost/boost/context/detail/exception.hpp", + "external/sources/boost/boost/context/detail/exchange.hpp", + "external/sources/boost/boost/context/detail/externc.hpp", + "external/sources/boost/boost/context/detail/fcontext.hpp", + "external/sources/boost/boost/context/detail/index_sequence.hpp", + "external/sources/boost/boost/context/detail/invoke.hpp", + "external/sources/boost/boost/context/detail/prefetch.hpp", + "external/sources/boost/boost/context/detail/tuple.hpp", + "external/sources/boost/boost/context/fiber.hpp", + "external/sources/boost/boost/context/fiber_fcontext.hpp", + "external/sources/boost/boost/context/fiber_ucontext.hpp", + "external/sources/boost/boost/context/fiber_winfib.hpp", + "external/sources/boost/boost/context/fixedsize_stack.hpp", + "external/sources/boost/boost/context/flags.hpp", + "external/sources/boost/boost/context/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/context/posix/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/context/posix/segmented_stack.hpp", + "external/sources/boost/boost/context/preallocated.hpp", + "external/sources/boost/boost/context/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/context/segmented_stack.hpp", + "external/sources/boost/boost/context/stack_context.hpp", + "external/sources/boost/boost/context/stack_traits.hpp", + "external/sources/boost/boost/context/windows/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/contract.hpp", + "external/sources/boost/boost/contract/assert.hpp", + "external/sources/boost/boost/contract/base_types.hpp", + "external/sources/boost/boost/contract/call_if.hpp", + "external/sources/boost/boost/contract/check.hpp", + "external/sources/boost/boost/contract/constructor.hpp", + "external/sources/boost/boost/contract/core/access.hpp", + "external/sources/boost/boost/contract/core/check_macro.hpp", + "external/sources/boost/boost/contract/core/config.hpp", + "external/sources/boost/boost/contract/core/constructor_precondition.hpp", + "external/sources/boost/boost/contract/core/exception.hpp", + "external/sources/boost/boost/contract/core/specify.hpp", + "external/sources/boost/boost/contract/core/virtual.hpp", + "external/sources/boost/boost/contract/destructor.hpp", + "external/sources/boost/boost/contract/detail/assert.hpp", + "external/sources/boost/boost/contract/detail/auto_ptr.hpp", + "external/sources/boost/boost/contract/detail/check.hpp", + "external/sources/boost/boost/contract/detail/checking.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_base.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_inv.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_post.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_subcontracting.hpp", + "external/sources/boost/boost/contract/detail/config.hpp", + "external/sources/boost/boost/contract/detail/debug.hpp", + "external/sources/boost/boost/contract/detail/decl.hpp", + "external/sources/boost/boost/contract/detail/declspec.hpp", + "external/sources/boost/boost/contract/detail/exception.hpp", + "external/sources/boost/boost/contract/detail/inlined.hpp", + "external/sources/boost/boost/contract/detail/inlined/core/exception.hpp", + "external/sources/boost/boost/contract/detail/inlined/detail/checking.hpp", + "external/sources/boost/boost/contract/detail/inlined/old.hpp", + "external/sources/boost/boost/contract/detail/name.hpp", + "external/sources/boost/boost/contract/detail/none.hpp", + "external/sources/boost/boost/contract/detail/noop.hpp", + "external/sources/boost/boost/contract/detail/operation/constructor.hpp", + "external/sources/boost/boost/contract/detail/operation/destructor.hpp", + "external/sources/boost/boost/contract/detail/operation/function.hpp", + "external/sources/boost/boost/contract/detail/operation/public_function.hpp", + "external/sources/boost/boost/contract/detail/operation/static_public_function.hpp", + "external/sources/boost/boost/contract/detail/operator_safe_bool.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/private.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/protected.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/public.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/utility/is.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/virtual.hpp", + "external/sources/boost/boost/contract/detail/static_local_var.hpp", + "external/sources/boost/boost/contract/detail/tvariadic.hpp", + "external/sources/boost/boost/contract/detail/type_traits/member_function_types.hpp", + "external/sources/boost/boost/contract/detail/type_traits/mirror.hpp", + "external/sources/boost/boost/contract/detail/type_traits/optional.hpp", + "external/sources/boost/boost/contract/function.hpp", + "external/sources/boost/boost/contract/old.hpp", + "external/sources/boost/boost/contract/override.hpp", + "external/sources/boost/boost/contract/public_function.hpp", + "external/sources/boost/boost/contract_macro.hpp", + "external/sources/boost/boost/convert.hpp", + "external/sources/boost/boost/convert/base.hpp", + "external/sources/boost/boost/convert/detail/char.hpp", + "external/sources/boost/boost/convert/detail/config.hpp", + "external/sources/boost/boost/convert/detail/has_member.hpp", + "external/sources/boost/boost/convert/detail/is_callable.hpp", + "external/sources/boost/boost/convert/detail/is_converter.hpp", + "external/sources/boost/boost/convert/detail/is_fun.hpp", + "external/sources/boost/boost/convert/detail/is_string.hpp", + "external/sources/boost/boost/convert/detail/range.hpp", + "external/sources/boost/boost/convert/lexical_cast.hpp", + "external/sources/boost/boost/convert/parameters.hpp", + "external/sources/boost/boost/convert/printf.hpp", + "external/sources/boost/boost/convert/spirit.hpp", + "external/sources/boost/boost/convert/stream.hpp", + "external/sources/boost/boost/convert/strtol.hpp", + "external/sources/boost/boost/core/addressof.hpp", + "external/sources/boost/boost/core/alloc_construct.hpp", + "external/sources/boost/boost/core/allocator_access.hpp", + "external/sources/boost/boost/core/checked_delete.hpp", + "external/sources/boost/boost/core/default_allocator.hpp", + "external/sources/boost/boost/core/demangle.hpp", + "external/sources/boost/boost/core/empty_value.hpp", + "external/sources/boost/boost/core/enable_if.hpp", + "external/sources/boost/boost/core/exchange.hpp", + "external/sources/boost/boost/core/explicit_operator_bool.hpp", + "external/sources/boost/boost/core/first_scalar.hpp", + "external/sources/boost/boost/core/ignore_unused.hpp", + "external/sources/boost/boost/core/is_same.hpp", + "external/sources/boost/boost/core/lightweight_test.hpp", + "external/sources/boost/boost/core/lightweight_test_trait.hpp", + "external/sources/boost/boost/core/no_exceptions_support.hpp", + "external/sources/boost/boost/core/noinit_adaptor.hpp", + "external/sources/boost/boost/core/noncopyable.hpp", + "external/sources/boost/boost/core/null_deleter.hpp", + "external/sources/boost/boost/core/nvp.hpp", + "external/sources/boost/boost/core/pointer_traits.hpp", + "external/sources/boost/boost/core/quick_exit.hpp", + "external/sources/boost/boost/core/ref.hpp", + "external/sources/boost/boost/core/scoped_enum.hpp", + "external/sources/boost/boost/core/swap.hpp", + "external/sources/boost/boost/core/typeinfo.hpp", + "external/sources/boost/boost/core/uncaught_exceptions.hpp", + "external/sources/boost/boost/core/underlying_type.hpp", + "external/sources/boost/boost/core/use_default.hpp", + "external/sources/boost/boost/coroutine/all.hpp", + "external/sources/boost/boost/coroutine/asymmetric_coroutine.hpp", + "external/sources/boost/boost/coroutine/attributes.hpp", + "external/sources/boost/boost/coroutine/coroutine.hpp", + "external/sources/boost/boost/coroutine/detail/config.hpp", + "external/sources/boost/boost/coroutine/detail/coroutine_context.hpp", + "external/sources/boost/boost/coroutine/detail/data.hpp", + "external/sources/boost/boost/coroutine/detail/flags.hpp", + "external/sources/boost/boost/coroutine/detail/parameters.hpp", + "external/sources/boost/boost/coroutine/detail/preallocated.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_synthesized.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_synthesized.hpp", + "external/sources/boost/boost/coroutine/detail/setup.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_call.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_yield.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline_pull.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline_push.hpp", + "external/sources/boost/boost/coroutine/exceptions.hpp", + "external/sources/boost/boost/coroutine/flags.hpp", + "external/sources/boost/boost/coroutine/posix/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/posix/segmented_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/segmented_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/stack_allocator.hpp", + "external/sources/boost/boost/coroutine/stack_context.hpp", + "external/sources/boost/boost/coroutine/stack_traits.hpp", + "external/sources/boost/boost/coroutine/standard_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/symmetric_coroutine.hpp", + "external/sources/boost/boost/coroutine/windows/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine2/all.hpp", + "external/sources/boost/boost/coroutine2/coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/config.hpp", + "external/sources/boost/boost/coroutine2/detail/coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/create_control_block.ipp", + "external/sources/boost/boost/coroutine2/detail/decay_copy.hpp", + "external/sources/boost/boost/coroutine2/detail/disable_overload.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.ipp", + "external/sources/boost/boost/coroutine2/detail/pull_coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_coroutine.ipp", + "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.hpp", + "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.ipp", + "external/sources/boost/boost/coroutine2/detail/push_coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/push_coroutine.ipp", + "external/sources/boost/boost/coroutine2/detail/state.hpp", + "external/sources/boost/boost/coroutine2/detail/wrap.hpp", + "external/sources/boost/boost/coroutine2/fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/segmented_stack.hpp", + "external/sources/boost/boost/crc.hpp", + "external/sources/boost/boost/cregex.hpp", + "external/sources/boost/boost/cstdfloat.hpp", + "external/sources/boost/boost/cstdint.hpp", + "external/sources/boost/boost/cstdlib.hpp", + "external/sources/boost/boost/current_function.hpp", + "external/sources/boost/boost/cxx11_char_types.hpp", + "external/sources/boost/boost/date_time.hpp", + "external/sources/boost/boost/date_time/adjust_functors.hpp", + "external/sources/boost/boost/date_time/c_local_time_adjustor.hpp", + "external/sources/boost/boost/date_time/c_time.hpp", + "external/sources/boost/boost/date_time/compiler_config.hpp", + "external/sources/boost/boost/date_time/constrained_value.hpp", + "external/sources/boost/boost/date_time/date.hpp", + "external/sources/boost/boost/date_time/date_clock_device.hpp", + "external/sources/boost/boost/date_time/date_defs.hpp", + "external/sources/boost/boost/date_time/date_duration.hpp", + "external/sources/boost/boost/date_time/date_duration_types.hpp", + "external/sources/boost/boost/date_time/date_facet.hpp", + "external/sources/boost/boost/date_time/date_format_simple.hpp", + "external/sources/boost/boost/date_time/date_formatting.hpp", + "external/sources/boost/boost/date_time/date_formatting_limited.hpp", + "external/sources/boost/boost/date_time/date_formatting_locales.hpp", + "external/sources/boost/boost/date_time/date_generator_formatter.hpp", + "external/sources/boost/boost/date_time/date_generator_parser.hpp", + "external/sources/boost/boost/date_time/date_generators.hpp", + "external/sources/boost/boost/date_time/date_iterator.hpp", + "external/sources/boost/boost/date_time/date_names_put.hpp", + "external/sources/boost/boost/date_time/date_parsing.hpp", + "external/sources/boost/boost/date_time/dst_rules.hpp", + "external/sources/boost/boost/date_time/dst_transition_generators.hpp", + "external/sources/boost/boost/date_time/filetime_functions.hpp", + "external/sources/boost/boost/date_time/find_match.hpp", + "external/sources/boost/boost/date_time/format_date_parser.hpp", + "external/sources/boost/boost/date_time/gregorian/conversion.hpp", + "external/sources/boost/boost/date_time/gregorian/formatters.hpp", + "external/sources/boost/boost/date_time/gregorian/formatters_limited.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_calendar.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_date.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_day.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_day_of_year.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_duration.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_duration_types.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_facet.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_month.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_serialize.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_weekday.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_year.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_ymd.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian_io.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian_types.hpp", + "external/sources/boost/boost/date_time/gregorian/parsers.hpp", + "external/sources/boost/boost/date_time/gregorian_calendar.hpp", + "external/sources/boost/boost/date_time/gregorian_calendar.ipp", + "external/sources/boost/boost/date_time/int_adapter.hpp", + "external/sources/boost/boost/date_time/iso_format.hpp", + "external/sources/boost/boost/date_time/local_time/conversion.hpp", + "external/sources/boost/boost/date_time/local_time/custom_time_zone.hpp", + "external/sources/boost/boost/date_time/local_time/date_duration_operators.hpp", + "external/sources/boost/boost/date_time/local_time/dst_transition_day_rules.hpp", + "external/sources/boost/boost/date_time/local_time/local_date_time.hpp", + "external/sources/boost/boost/date_time/local_time/local_time.hpp", + "external/sources/boost/boost/date_time/local_time/local_time_io.hpp", + "external/sources/boost/boost/date_time/local_time/local_time_types.hpp", + "external/sources/boost/boost/date_time/local_time/posix_time_zone.hpp", + "external/sources/boost/boost/date_time/local_time/tz_database.hpp", + "external/sources/boost/boost/date_time/local_time_adjustor.hpp", + "external/sources/boost/boost/date_time/local_timezone_defs.hpp", + "external/sources/boost/boost/date_time/locale_config.hpp", + "external/sources/boost/boost/date_time/microsec_time_clock.hpp", + "external/sources/boost/boost/date_time/parse_format_base.hpp", + "external/sources/boost/boost/date_time/period.hpp", + "external/sources/boost/boost/date_time/period_formatter.hpp", + "external/sources/boost/boost/date_time/period_parser.hpp", + "external/sources/boost/boost/date_time/posix_time/conversion.hpp", + "external/sources/boost/boost/date_time/posix_time/date_duration_operators.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_config.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_duration.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_io.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_legacy_io.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_system.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_types.hpp", + "external/sources/boost/boost/date_time/posix_time/ptime.hpp", + "external/sources/boost/boost/date_time/posix_time/time_formatters.hpp", + "external/sources/boost/boost/date_time/posix_time/time_formatters_limited.hpp", + "external/sources/boost/boost/date_time/posix_time/time_parsers.hpp", + "external/sources/boost/boost/date_time/posix_time/time_period.hpp", + "external/sources/boost/boost/date_time/posix_time/time_serialize.hpp", + "external/sources/boost/boost/date_time/special_defs.hpp", + "external/sources/boost/boost/date_time/special_values_formatter.hpp", + "external/sources/boost/boost/date_time/special_values_parser.hpp", + "external/sources/boost/boost/date_time/string_convert.hpp", + "external/sources/boost/boost/date_time/string_parse_tree.hpp", + "external/sources/boost/boost/date_time/strings_from_facet.hpp", + "external/sources/boost/boost/date_time/time.hpp", + "external/sources/boost/boost/date_time/time_clock.hpp", + "external/sources/boost/boost/date_time/time_defs.hpp", + "external/sources/boost/boost/date_time/time_duration.hpp", + "external/sources/boost/boost/date_time/time_facet.hpp", + "external/sources/boost/boost/date_time/time_formatting_streams.hpp", + "external/sources/boost/boost/date_time/time_iterator.hpp", + "external/sources/boost/boost/date_time/time_parsing.hpp", + "external/sources/boost/boost/date_time/time_resolution_traits.hpp", + "external/sources/boost/boost/date_time/time_system_counted.hpp", + "external/sources/boost/boost/date_time/time_system_split.hpp", + "external/sources/boost/boost/date_time/time_zone_base.hpp", + "external/sources/boost/boost/date_time/time_zone_names.hpp", + "external/sources/boost/boost/date_time/tz_db_base.hpp", + "external/sources/boost/boost/date_time/wrapping_int.hpp", + "external/sources/boost/boost/date_time/year_month_day.hpp", + "external/sources/boost/boost/detail/algorithm.hpp", + "external/sources/boost/boost/detail/allocator_utilities.hpp", + "external/sources/boost/boost/detail/atomic_count.hpp", + "external/sources/boost/boost/detail/basic_pointerbuf.hpp", + "external/sources/boost/boost/detail/binary_search.hpp", + "external/sources/boost/boost/detail/bitmask.hpp", + "external/sources/boost/boost/detail/call_traits.hpp", + "external/sources/boost/boost/detail/catch_exceptions.hpp", + "external/sources/boost/boost/detail/compressed_pair.hpp", + "external/sources/boost/boost/detail/container_fwd.hpp", + "external/sources/boost/boost/detail/fenv.hpp", + "external/sources/boost/boost/detail/has_default_constructor.hpp", + "external/sources/boost/boost/detail/identifier.hpp", + "external/sources/boost/boost/detail/indirect_traits.hpp", + "external/sources/boost/boost/detail/interlocked.hpp", + "external/sources/boost/boost/detail/is_incrementable.hpp", + "external/sources/boost/boost/detail/is_sorted.hpp", + "external/sources/boost/boost/detail/is_xxx.hpp", + "external/sources/boost/boost/detail/iterator.hpp", + "external/sources/boost/boost/detail/lcast_precision.hpp", + "external/sources/boost/boost/detail/lightweight_main.hpp", + "external/sources/boost/boost/detail/lightweight_mutex.hpp", + "external/sources/boost/boost/detail/lightweight_test.hpp", + "external/sources/boost/boost/detail/lightweight_test_report.hpp", + "external/sources/boost/boost/detail/lightweight_thread.hpp", + "external/sources/boost/boost/detail/named_template_params.hpp", + "external/sources/boost/boost/detail/no_exceptions_support.hpp", + "external/sources/boost/boost/detail/numeric_traits.hpp", + "external/sources/boost/boost/detail/ob_compressed_pair.hpp", + "external/sources/boost/boost/detail/quick_allocator.hpp", + "external/sources/boost/boost/detail/reference_content.hpp", + "external/sources/boost/boost/detail/scoped_enum_emulation.hpp", + "external/sources/boost/boost/detail/select_type.hpp", + "external/sources/boost/boost/detail/sp_typeinfo.hpp", + "external/sources/boost/boost/detail/templated_streams.hpp", + "external/sources/boost/boost/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/detail/utf8_codecvt_facet.ipp", + "external/sources/boost/boost/detail/winapi/access_rights.hpp", + "external/sources/boost/boost/detail/winapi/apc.hpp", + "external/sources/boost/boost/detail/winapi/basic_types.hpp", + "external/sources/boost/boost/detail/winapi/bcrypt.hpp", + "external/sources/boost/boost/detail/winapi/character_code_conversion.hpp", + "external/sources/boost/boost/detail/winapi/condition_variable.hpp", + "external/sources/boost/boost/detail/winapi/config.hpp", + "external/sources/boost/boost/detail/winapi/critical_section.hpp", + "external/sources/boost/boost/detail/winapi/crypt.hpp", + "external/sources/boost/boost/detail/winapi/dbghelp.hpp", + "external/sources/boost/boost/detail/winapi/debugapi.hpp", + "external/sources/boost/boost/detail/winapi/detail/deprecated_namespace.hpp", + "external/sources/boost/boost/detail/winapi/directory_management.hpp", + "external/sources/boost/boost/detail/winapi/dll.hpp", + "external/sources/boost/boost/detail/winapi/environment.hpp", + "external/sources/boost/boost/detail/winapi/error_codes.hpp", + "external/sources/boost/boost/detail/winapi/error_handling.hpp", + "external/sources/boost/boost/detail/winapi/event.hpp", + "external/sources/boost/boost/detail/winapi/file_management.hpp", + "external/sources/boost/boost/detail/winapi/file_mapping.hpp", + "external/sources/boost/boost/detail/winapi/get_current_process.hpp", + "external/sources/boost/boost/detail/winapi/get_current_process_id.hpp", + "external/sources/boost/boost/detail/winapi/get_current_thread.hpp", + "external/sources/boost/boost/detail/winapi/get_current_thread_id.hpp", + "external/sources/boost/boost/detail/winapi/get_last_error.hpp", + "external/sources/boost/boost/detail/winapi/get_process_times.hpp", + "external/sources/boost/boost/detail/winapi/get_system_directory.hpp", + "external/sources/boost/boost/detail/winapi/get_thread_times.hpp", + "external/sources/boost/boost/detail/winapi/handle_info.hpp", + "external/sources/boost/boost/detail/winapi/handles.hpp", + "external/sources/boost/boost/detail/winapi/heap_memory.hpp", + "external/sources/boost/boost/detail/winapi/init_once.hpp", + "external/sources/boost/boost/detail/winapi/jobs.hpp", + "external/sources/boost/boost/detail/winapi/limits.hpp", + "external/sources/boost/boost/detail/winapi/local_memory.hpp", + "external/sources/boost/boost/detail/winapi/memory.hpp", + "external/sources/boost/boost/detail/winapi/mutex.hpp", + "external/sources/boost/boost/detail/winapi/overlapped.hpp", + "external/sources/boost/boost/detail/winapi/page_protection_flags.hpp", + "external/sources/boost/boost/detail/winapi/pipes.hpp", + "external/sources/boost/boost/detail/winapi/priority_class.hpp", + "external/sources/boost/boost/detail/winapi/process.hpp", + "external/sources/boost/boost/detail/winapi/security.hpp", + "external/sources/boost/boost/detail/winapi/semaphore.hpp", + "external/sources/boost/boost/detail/winapi/shell.hpp", + "external/sources/boost/boost/detail/winapi/show_window.hpp", + "external/sources/boost/boost/detail/winapi/srw_lock.hpp", + "external/sources/boost/boost/detail/winapi/stack_backtrace.hpp", + "external/sources/boost/boost/detail/winapi/synchronization.hpp", + "external/sources/boost/boost/detail/winapi/system.hpp", + "external/sources/boost/boost/detail/winapi/thread.hpp", + "external/sources/boost/boost/detail/winapi/thread_pool.hpp", + "external/sources/boost/boost/detail/winapi/time.hpp", + "external/sources/boost/boost/detail/winapi/timers.hpp", + "external/sources/boost/boost/detail/winapi/tls.hpp", + "external/sources/boost/boost/detail/winapi/wait.hpp", + "external/sources/boost/boost/detail/winapi/waitable_timer.hpp", + "external/sources/boost/boost/detail/workaround.hpp", + "external/sources/boost/boost/dll.hpp", + "external/sources/boost/boost/dll/alias.hpp", + "external/sources/boost/boost/dll/config.hpp", + "external/sources/boost/boost/dll/detail/aggressive_ptr_cast.hpp", + "external/sources/boost/boost/dll/detail/ctor_dtor.hpp", + "external/sources/boost/boost/dll/detail/demangling/demangle_symbol.hpp", + "external/sources/boost/boost/dll/detail/demangling/itanium.hpp", + "external/sources/boost/boost/dll/detail/demangling/mangled_storage_base.hpp", + "external/sources/boost/boost/dll/detail/demangling/msvc.hpp", + "external/sources/boost/boost/dll/detail/elf_info.hpp", + "external/sources/boost/boost/dll/detail/get_mem_fn_type.hpp", + "external/sources/boost/boost/dll/detail/import_mangled_helpers.hpp", + "external/sources/boost/boost/dll/detail/macho_info.hpp", + "external/sources/boost/boost/dll/detail/pe_info.hpp", + "external/sources/boost/boost/dll/detail/posix/path_from_handle.hpp", + "external/sources/boost/boost/dll/detail/posix/program_location_impl.hpp", + "external/sources/boost/boost/dll/detail/posix/shared_library_impl.hpp", + "external/sources/boost/boost/dll/detail/system_error.hpp", + "external/sources/boost/boost/dll/detail/type_info.hpp", + "external/sources/boost/boost/dll/detail/windows/path_from_handle.hpp", + "external/sources/boost/boost/dll/detail/windows/shared_library_impl.hpp", + "external/sources/boost/boost/dll/import.hpp", + "external/sources/boost/boost/dll/import_class.hpp", + "external/sources/boost/boost/dll/import_mangled.hpp", + "external/sources/boost/boost/dll/library_info.hpp", + "external/sources/boost/boost/dll/runtime_symbol_info.hpp", + "external/sources/boost/boost/dll/shared_library.hpp", + "external/sources/boost/boost/dll/shared_library_load_mode.hpp", + "external/sources/boost/boost/dll/smart_library.hpp", + "external/sources/boost/boost/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/config.hpp", + "external/sources/boost/boost/dynamic_bitset/detail/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/detail/lowest_bit.hpp", + "external/sources/boost/boost/dynamic_bitset/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/serialization.hpp", + "external/sources/boost/boost/dynamic_bitset_fwd.hpp", + "external/sources/boost/boost/enable_shared_from_this.hpp", + "external/sources/boost/boost/endian.hpp", + "external/sources/boost/boost/endian/arithmetic.hpp", + "external/sources/boost/boost/endian/buffers.hpp", + "external/sources/boost/boost/endian/conversion.hpp", + "external/sources/boost/boost/endian/detail/disable_warnings.hpp", + "external/sources/boost/boost/endian/detail/disable_warnings_pop.hpp", + "external/sources/boost/boost/endian/detail/endian_load.hpp", + "external/sources/boost/boost/endian/detail/endian_reverse.hpp", + "external/sources/boost/boost/endian/detail/endian_store.hpp", + "external/sources/boost/boost/endian/detail/integral_by_size.hpp", + "external/sources/boost/boost/endian/detail/intrinsic.hpp", + "external/sources/boost/boost/endian/detail/is_scoped_enum.hpp", + "external/sources/boost/boost/endian/detail/is_trivially_copyable.hpp", + "external/sources/boost/boost/endian/detail/order.hpp", + "external/sources/boost/boost/endian/endian.hpp", + "external/sources/boost/boost/exception/all.hpp", + "external/sources/boost/boost/exception/current_exception_cast.hpp", + "external/sources/boost/boost/exception/detail/clone_current_exception.hpp", + "external/sources/boost/boost/exception/detail/error_info_impl.hpp", + "external/sources/boost/boost/exception/detail/exception_ptr.hpp", + "external/sources/boost/boost/exception/detail/is_output_streamable.hpp", + "external/sources/boost/boost/exception/detail/object_hex_dump.hpp", + "external/sources/boost/boost/exception/detail/shared_ptr.hpp", + "external/sources/boost/boost/exception/detail/type_info.hpp", + "external/sources/boost/boost/exception/diagnostic_information.hpp", + "external/sources/boost/boost/exception/enable_current_exception.hpp", + "external/sources/boost/boost/exception/enable_error_info.hpp", + "external/sources/boost/boost/exception/errinfo_api_function.hpp", + "external/sources/boost/boost/exception/errinfo_at_line.hpp", + "external/sources/boost/boost/exception/errinfo_errno.hpp", + "external/sources/boost/boost/exception/errinfo_file_handle.hpp", + "external/sources/boost/boost/exception/errinfo_file_name.hpp", + "external/sources/boost/boost/exception/errinfo_file_open_mode.hpp", + "external/sources/boost/boost/exception/errinfo_nested_exception.hpp", + "external/sources/boost/boost/exception/errinfo_type_info_name.hpp", + "external/sources/boost/boost/exception/error_info.hpp", + "external/sources/boost/boost/exception/exception.hpp", + "external/sources/boost/boost/exception/get_error_info.hpp", + "external/sources/boost/boost/exception/info.hpp", + "external/sources/boost/boost/exception/info_tuple.hpp", + "external/sources/boost/boost/exception/to_string.hpp", + "external/sources/boost/boost/exception/to_string_stub.hpp", + "external/sources/boost/boost/exception_ptr.hpp", + "external/sources/boost/boost/fiber/algo/algorithm.hpp", + "external/sources/boost/boost/fiber/algo/round_robin.hpp", + "external/sources/boost/boost/fiber/algo/shared_work.hpp", + "external/sources/boost/boost/fiber/algo/work_stealing.hpp", + "external/sources/boost/boost/fiber/all.hpp", + "external/sources/boost/boost/fiber/barrier.hpp", + "external/sources/boost/boost/fiber/buffered_channel.hpp", + "external/sources/boost/boost/fiber/channel_op_status.hpp", + "external/sources/boost/boost/fiber/condition_variable.hpp", + "external/sources/boost/boost/fiber/context.hpp", + "external/sources/boost/boost/fiber/cuda/waitfor.hpp", + "external/sources/boost/boost/fiber/detail/config.hpp", + "external/sources/boost/boost/fiber/detail/context_spinlock_queue.hpp", + "external/sources/boost/boost/fiber/detail/context_spmc_queue.hpp", + "external/sources/boost/boost/fiber/detail/convert.hpp", + "external/sources/boost/boost/fiber/detail/cpu_relax.hpp", + "external/sources/boost/boost/fiber/detail/data.hpp", + "external/sources/boost/boost/fiber/detail/decay_copy.hpp", + "external/sources/boost/boost/fiber/detail/disable_overload.hpp", + "external/sources/boost/boost/fiber/detail/exchange.hpp", + "external/sources/boost/boost/fiber/detail/fss.hpp", + "external/sources/boost/boost/fiber/detail/futex.hpp", + "external/sources/boost/boost/fiber/detail/is_all_same.hpp", + "external/sources/boost/boost/fiber/detail/rtm.hpp", + "external/sources/boost/boost/fiber/detail/spinlock.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_rtm.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_status.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive_futex.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_futex.hpp", + "external/sources/boost/boost/fiber/detail/thread_barrier.hpp", + "external/sources/boost/boost/fiber/exceptions.hpp", + "external/sources/boost/boost/fiber/fiber.hpp", + "external/sources/boost/boost/fiber/fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/fss.hpp", + "external/sources/boost/boost/fiber/future.hpp", + "external/sources/boost/boost/fiber/future/async.hpp", + "external/sources/boost/boost/fiber/future/detail/shared_state.hpp", + "external/sources/boost/boost/fiber/future/detail/shared_state_object.hpp", + "external/sources/boost/boost/fiber/future/detail/task_base.hpp", + "external/sources/boost/boost/fiber/future/detail/task_object.hpp", + "external/sources/boost/boost/fiber/future/future.hpp", + "external/sources/boost/boost/fiber/future/future_status.hpp", + "external/sources/boost/boost/fiber/future/packaged_task.hpp", + "external/sources/boost/boost/fiber/future/promise.hpp", + "external/sources/boost/boost/fiber/hip/waitfor.hpp", + "external/sources/boost/boost/fiber/mutex.hpp", + "external/sources/boost/boost/fiber/numa/algo/work_stealing.hpp", + "external/sources/boost/boost/fiber/numa/all.hpp", + "external/sources/boost/boost/fiber/numa/pin_thread.hpp", + "external/sources/boost/boost/fiber/numa/topology.hpp", + "external/sources/boost/boost/fiber/operations.hpp", + "external/sources/boost/boost/fiber/policy.hpp", + "external/sources/boost/boost/fiber/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/properties.hpp", + "external/sources/boost/boost/fiber/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/recursive_mutex.hpp", + "external/sources/boost/boost/fiber/recursive_timed_mutex.hpp", + "external/sources/boost/boost/fiber/scheduler.hpp", + "external/sources/boost/boost/fiber/segmented_stack.hpp", + "external/sources/boost/boost/fiber/timed_mutex.hpp", + "external/sources/boost/boost/fiber/type.hpp", + "external/sources/boost/boost/fiber/unbuffered_channel.hpp", + "external/sources/boost/boost/filesystem.hpp", + "external/sources/boost/boost/filesystem/config.hpp", + "external/sources/boost/boost/filesystem/convenience.hpp", + "external/sources/boost/boost/filesystem/detail/macro_value.hpp", + "external/sources/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/filesystem/directory.hpp", + "external/sources/boost/boost/filesystem/exception.hpp", + "external/sources/boost/boost/filesystem/file_status.hpp", + "external/sources/boost/boost/filesystem/fstream.hpp", + "external/sources/boost/boost/filesystem/operations.hpp", + "external/sources/boost/boost/filesystem/path.hpp", + "external/sources/boost/boost/filesystem/path_traits.hpp", + "external/sources/boost/boost/filesystem/string_file.hpp", + "external/sources/boost/boost/flyweight.hpp", + "external/sources/boost/boost/flyweight/assoc_container_factory.hpp", + "external/sources/boost/boost/flyweight/assoc_container_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/archive_constructed.hpp", + "external/sources/boost/boost/flyweight/detail/default_value_policy.hpp", + "external/sources/boost/boost/flyweight/detail/dyn_perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/flyweight_core.hpp", + "external/sources/boost/boost/flyweight/detail/is_placeholder_expr.hpp", + "external/sources/boost/boost/flyweight/detail/nested_xxx_if_not_ph.hpp", + "external/sources/boost/boost/flyweight/detail/not_placeholder_expr.hpp", + "external/sources/boost/boost/flyweight/detail/perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/pp_perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/recursive_lw_mutex.hpp", + "external/sources/boost/boost/flyweight/detail/serialization_helper.hpp", + "external/sources/boost/boost/flyweight/detail/value_tag.hpp", + "external/sources/boost/boost/flyweight/factory_tag.hpp", + "external/sources/boost/boost/flyweight/flyweight.hpp", + "external/sources/boost/boost/flyweight/flyweight_fwd.hpp", + "external/sources/boost/boost/flyweight/hashed_factory.hpp", + "external/sources/boost/boost/flyweight/hashed_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/holder_tag.hpp", + "external/sources/boost/boost/flyweight/intermodule_holder.hpp", + "external/sources/boost/boost/flyweight/intermodule_holder_fwd.hpp", + "external/sources/boost/boost/flyweight/key_value.hpp", + "external/sources/boost/boost/flyweight/key_value_fwd.hpp", + "external/sources/boost/boost/flyweight/locking_tag.hpp", + "external/sources/boost/boost/flyweight/no_locking.hpp", + "external/sources/boost/boost/flyweight/no_locking_fwd.hpp", + "external/sources/boost/boost/flyweight/no_tracking.hpp", + "external/sources/boost/boost/flyweight/no_tracking_fwd.hpp", + "external/sources/boost/boost/flyweight/refcounted.hpp", + "external/sources/boost/boost/flyweight/refcounted_fwd.hpp", + "external/sources/boost/boost/flyweight/serialize.hpp", + "external/sources/boost/boost/flyweight/set_factory.hpp", + "external/sources/boost/boost/flyweight/set_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/simple_locking.hpp", + "external/sources/boost/boost/flyweight/simple_locking_fwd.hpp", + "external/sources/boost/boost/flyweight/static_holder.hpp", + "external/sources/boost/boost/flyweight/static_holder_fwd.hpp", + "external/sources/boost/boost/flyweight/tag.hpp", + "external/sources/boost/boost/flyweight/tracking_tag.hpp", + "external/sources/boost/boost/foreach.hpp", + "external/sources/boost/boost/foreach_fwd.hpp", + "external/sources/boost/boost/format.hpp", + "external/sources/boost/boost/format/alt_sstream.hpp", + "external/sources/boost/boost/format/alt_sstream_impl.hpp", + "external/sources/boost/boost/format/detail/compat_workarounds.hpp", + "external/sources/boost/boost/format/detail/config_macros.hpp", + "external/sources/boost/boost/format/detail/msvc_disambiguater.hpp", + "external/sources/boost/boost/format/detail/unset_macros.hpp", + "external/sources/boost/boost/format/detail/workarounds_gcc-2_95.hpp", + "external/sources/boost/boost/format/detail/workarounds_stlport.hpp", + "external/sources/boost/boost/format/exceptions.hpp", + "external/sources/boost/boost/format/feed_args.hpp", + "external/sources/boost/boost/format/format_class.hpp", + "external/sources/boost/boost/format/format_fwd.hpp", + "external/sources/boost/boost/format/format_implementation.hpp", + "external/sources/boost/boost/format/free_funcs.hpp", + "external/sources/boost/boost/format/group.hpp", + "external/sources/boost/boost/format/internals.hpp", + "external/sources/boost/boost/format/internals_fwd.hpp", + "external/sources/boost/boost/format/parsing.hpp", + "external/sources/boost/boost/function.hpp", + "external/sources/boost/boost/function/detail/function_iterate.hpp", + "external/sources/boost/boost/function/detail/gen_maybe_include.pl", + "external/sources/boost/boost/function/detail/maybe_include.hpp", + "external/sources/boost/boost/function/detail/prologue.hpp", + "external/sources/boost/boost/function/function0.hpp", + "external/sources/boost/boost/function/function1.hpp", + "external/sources/boost/boost/function/function10.hpp", + "external/sources/boost/boost/function/function2.hpp", + "external/sources/boost/boost/function/function3.hpp", + "external/sources/boost/boost/function/function4.hpp", + "external/sources/boost/boost/function/function5.hpp", + "external/sources/boost/boost/function/function6.hpp", + "external/sources/boost/boost/function/function7.hpp", + "external/sources/boost/boost/function/function8.hpp", + "external/sources/boost/boost/function/function9.hpp", + "external/sources/boost/boost/function/function_base.hpp", + "external/sources/boost/boost/function/function_fwd.hpp", + "external/sources/boost/boost/function/function_template.hpp", + "external/sources/boost/boost/function/function_typeof.hpp", + "external/sources/boost/boost/function/gen_function_N.pl", + "external/sources/boost/boost/function_equal.hpp", + "external/sources/boost/boost/function_output_iterator.hpp", + "external/sources/boost/boost/function_types/components.hpp", + "external/sources/boost/boost/function_types/config/cc_names.hpp", + "external/sources/boost/boost/function_types/config/compiler.hpp", + "external/sources/boost/boost/function_types/config/config.hpp", + "external/sources/boost/boost/function_types/detail/class_transform.hpp", + "external/sources/boost/boost/function_types/detail/classifier.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/components_as_mpl_sequence.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/cv_traits.hpp", + "external/sources/boost/boost/function_types/detail/encoding/aliases_def.hpp", + "external/sources/boost/boost/function_types/detail/encoding/aliases_undef.hpp", + "external/sources/boost/boost/function_types/detail/encoding/def.hpp", + "external/sources/boost/boost/function_types/detail/encoding/undef.hpp", + "external/sources/boost/boost/function_types/detail/pp_arity_loop.hpp", + "external/sources/boost/boost/function_types/detail/pp_cc_loop/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_cc_loop/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_loop.hpp", + "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/cc_tag.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_variate_loop/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_variate_loop/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/retag_default_cc.hpp", + "external/sources/boost/boost/function_types/detail/synthesize.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/to_sequence.hpp", + "external/sources/boost/boost/function_types/function_arity.hpp", + "external/sources/boost/boost/function_types/function_pointer.hpp", + "external/sources/boost/boost/function_types/function_reference.hpp", + "external/sources/boost/boost/function_types/function_type.hpp", + "external/sources/boost/boost/function_types/is_callable_builtin.hpp", + "external/sources/boost/boost/function_types/is_function.hpp", + "external/sources/boost/boost/function_types/is_function_pointer.hpp", + "external/sources/boost/boost/function_types/is_function_reference.hpp", + "external/sources/boost/boost/function_types/is_member_function_pointer.hpp", + "external/sources/boost/boost/function_types/is_member_object_pointer.hpp", + "external/sources/boost/boost/function_types/is_member_pointer.hpp", + "external/sources/boost/boost/function_types/is_nonmember_callable_builtin.hpp", + "external/sources/boost/boost/function_types/member_function_pointer.hpp", + "external/sources/boost/boost/function_types/member_object_pointer.hpp", + "external/sources/boost/boost/function_types/parameter_types.hpp", + "external/sources/boost/boost/function_types/property_tags.hpp", + "external/sources/boost/boost/function_types/result_type.hpp", + "external/sources/boost/boost/functional.hpp", + "external/sources/boost/boost/functional/factory.hpp", + "external/sources/boost/boost/functional/forward_adapter.hpp", + "external/sources/boost/boost/functional/hash.hpp", + "external/sources/boost/boost/functional/hash/extensions.hpp", + "external/sources/boost/boost/functional/hash/hash.hpp", + "external/sources/boost/boost/functional/hash/hash_fwd.hpp", + "external/sources/boost/boost/functional/hash_fwd.hpp", + "external/sources/boost/boost/functional/lightweight_forward_adapter.hpp", + "external/sources/boost/boost/functional/overloaded_function.hpp", + "external/sources/boost/boost/functional/overloaded_function/config.hpp", + "external/sources/boost/boost/functional/overloaded_function/detail/base.hpp", + "external/sources/boost/boost/functional/overloaded_function/detail/function_type.hpp", + "external/sources/boost/boost/functional/value_factory.hpp", + "external/sources/boost/boost/fusion/adapted.hpp", + "external/sources/boost/boost/fusion/adapted/adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_adt_named.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt_named.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_assoc_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/extension.hpp", + "external/sources/boost/boost/fusion/adapted/array.hpp", + "external/sources/boost/boost/fusion/adapted/array/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/deref_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/array/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/value_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/array_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/mpl/clear.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/mpl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/empty_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/has_key_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/mpl_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_array.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/array_size.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/std_array_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/std_pair.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/mpl/clear.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/std_tuple_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_struct_named.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_assoc_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_auto.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_assoc_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_is_tpl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/extension.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/namespace.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/proxy_type.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/algorithm.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary/copy.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary/move.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/accumulate.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/accumulate_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/for_each_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query.hpp", + "external/sources/boost/boost/fusion/algorithm/query/all.hpp", + "external/sources/boost/boost/fusion/algorithm/query/any.hpp", + "external/sources/boost/boost/fusion/algorithm/query/count.hpp", + "external/sources/boost/boost/fusion/algorithm/query/count_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/all.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/any.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/count.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/count_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_if_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query/none.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/clear.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip10.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip20.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip30.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip40.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip50.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/erase.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/erase_key.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/filter.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/filter_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/flatten.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/insert.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/insert_range.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/join.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/pop_back.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/pop_front.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/push_back.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/push_front.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/remove.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/remove_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/replace.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/replace_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/reverse.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/transform.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/zip.hpp", + "external/sources/boost/boost/fusion/container.hpp", + "external/sources/boost/boost/fusion/container/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/back_extended_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/convert.hpp", + "external/sources/boost/boost/fusion/container/deque/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/deque_iterator.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/as_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_initial_size.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/keyed_element.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/front_extended_deque.hpp", + "external/sources/boost/boost/fusion/container/generation.hpp", + "external/sources/boost/boost/fusion/container/generation/cons_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_vector_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/ignore.hpp", + "external/sources/boost/boost/fusion/container/generation/list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/make_cons.hpp", + "external/sources/boost/boost/fusion/container/generation/make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/pair_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/vector_tie.hpp", + "external/sources/boost/boost/fusion/container/list.hpp", + "external/sources/boost/boost/fusion/container/list/cons.hpp", + "external/sources/boost/boost/fusion/container/list/cons_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/cons_iterator.hpp", + "external/sources/boost/boost/fusion/container/list/convert.hpp", + "external/sources/boost/boost/fusion/container/list/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp", + "external/sources/boost/boost/fusion/container/list/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/empty_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/reverse_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/list/list.hpp", + "external/sources/boost/boost/fusion/container/list/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/nil.hpp", + "external/sources/boost/boost/fusion/container/map.hpp", + "external/sources/boost/boost/fusion/container/map/convert.hpp", + "external/sources/boost/boost/fusion/container/map/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/at_key_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/as_map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/end_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/key_of_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map10.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map20.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map30.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map40.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map50.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/map_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/map_index.hpp", + "external/sources/boost/boost/fusion/container/map/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/value_at_key_impl.hpp", + "external/sources/boost/boost/fusion/container/map/map.hpp", + "external/sources/boost/boost/fusion/container/map/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/map_iterator.hpp", + "external/sources/boost/boost/fusion/container/set.hpp", + "external/sources/boost/boost/fusion/container/set/convert.hpp", + "external/sources/boost/boost/fusion/container/set/detail/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/set/set.hpp", + "external/sources/boost/boost/fusion/container/set/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/convert.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/config.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/vector_iterator.hpp", + "external/sources/boost/boost/fusion/functional.hpp", + "external/sources/boost/boost/fusion/functional/adapter.hpp", + "external/sources/boost/boost/fusion/functional/adapter/detail/access.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused_function_object.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused_procedure.hpp", + "external/sources/boost/boost/fusion/functional/adapter/limits.hpp", + "external/sources/boost/boost/fusion/functional/adapter/unfused.hpp", + "external/sources/boost/boost/fusion/functional/adapter/unfused_typed.hpp", + "external/sources/boost/boost/fusion/functional/generation.hpp", + "external/sources/boost/boost/fusion/functional/generation/detail/gen_make_adapter.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused_function_object.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused_procedure.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_unfused.hpp", + "external/sources/boost/boost/fusion/functional/invocation.hpp", + "external/sources/boost/boost/fusion/functional/invocation/detail/that_ptr.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke_function_object.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke_procedure.hpp", + "external/sources/boost/boost/fusion/functional/invocation/limits.hpp", + "external/sources/boost/boost/fusion/include/accumulate.hpp", + "external/sources/boost/boost/fusion/include/adapt_adt.hpp", + "external/sources/boost/boost/fusion/include/adapt_adt_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_adt.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_adt_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_struct.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_struct_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_struct.hpp", + "external/sources/boost/boost/fusion/include/adapt_struct_named.hpp", + "external/sources/boost/boost/fusion/include/adapted.hpp", + "external/sources/boost/boost/fusion/include/adapter.hpp", + "external/sources/boost/boost/fusion/include/advance.hpp", + "external/sources/boost/boost/fusion/include/algorithm.hpp", + "external/sources/boost/boost/fusion/include/all.hpp", + "external/sources/boost/boost/fusion/include/any.hpp", + "external/sources/boost/boost/fusion/include/array.hpp", + "external/sources/boost/boost/fusion/include/as_deque.hpp", + "external/sources/boost/boost/fusion/include/as_list.hpp", + "external/sources/boost/boost/fusion/include/as_map.hpp", + "external/sources/boost/boost/fusion/include/as_set.hpp", + "external/sources/boost/boost/fusion/include/as_vector.hpp", + "external/sources/boost/boost/fusion/include/at.hpp", + "external/sources/boost/boost/fusion/include/at_c.hpp", + "external/sources/boost/boost/fusion/include/at_key.hpp", + "external/sources/boost/boost/fusion/include/auxiliary.hpp", + "external/sources/boost/boost/fusion/include/back.hpp", + "external/sources/boost/boost/fusion/include/begin.hpp", + "external/sources/boost/boost/fusion/include/boost_array.hpp", + "external/sources/boost/boost/fusion/include/boost_tuple.hpp", + "external/sources/boost/boost/fusion/include/category_of.hpp", + "external/sources/boost/boost/fusion/include/clear.hpp", + "external/sources/boost/boost/fusion/include/comparison.hpp", + "external/sources/boost/boost/fusion/include/cons.hpp", + "external/sources/boost/boost/fusion/include/cons_tie.hpp", + "external/sources/boost/boost/fusion/include/container.hpp", + "external/sources/boost/boost/fusion/include/convert.hpp", + "external/sources/boost/boost/fusion/include/copy.hpp", + "external/sources/boost/boost/fusion/include/count.hpp", + "external/sources/boost/boost/fusion/include/count_if.hpp", + "external/sources/boost/boost/fusion/include/deduce.hpp", + "external/sources/boost/boost/fusion/include/deduce_sequence.hpp", + "external/sources/boost/boost/fusion/include/define_assoc_struct.hpp", + "external/sources/boost/boost/fusion/include/define_struct.hpp", + "external/sources/boost/boost/fusion/include/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/include/deque.hpp", + "external/sources/boost/boost/fusion/include/deque_fwd.hpp", + "external/sources/boost/boost/fusion/include/deque_tie.hpp", + "external/sources/boost/boost/fusion/include/deref.hpp", + "external/sources/boost/boost/fusion/include/deref_data.hpp", + "external/sources/boost/boost/fusion/include/distance.hpp", + "external/sources/boost/boost/fusion/include/empty.hpp", + "external/sources/boost/boost/fusion/include/end.hpp", + "external/sources/boost/boost/fusion/include/equal_to.hpp", + "external/sources/boost/boost/fusion/include/erase.hpp", + "external/sources/boost/boost/fusion/include/erase_key.hpp", + "external/sources/boost/boost/fusion/include/filter.hpp", + "external/sources/boost/boost/fusion/include/filter_if.hpp", + "external/sources/boost/boost/fusion/include/filter_view.hpp", + "external/sources/boost/boost/fusion/include/find.hpp", + "external/sources/boost/boost/fusion/include/find_if.hpp", + "external/sources/boost/boost/fusion/include/flatten.hpp", + "external/sources/boost/boost/fusion/include/flatten_view.hpp", + "external/sources/boost/boost/fusion/include/fold.hpp", + "external/sources/boost/boost/fusion/include/for_each.hpp", + "external/sources/boost/boost/fusion/include/front.hpp", + "external/sources/boost/boost/fusion/include/functional.hpp", + "external/sources/boost/boost/fusion/include/fused.hpp", + "external/sources/boost/boost/fusion/include/fused_function_object.hpp", + "external/sources/boost/boost/fusion/include/fused_procedure.hpp", + "external/sources/boost/boost/fusion/include/generation.hpp", + "external/sources/boost/boost/fusion/include/greater.hpp", + "external/sources/boost/boost/fusion/include/greater_equal.hpp", + "external/sources/boost/boost/fusion/include/has_key.hpp", + "external/sources/boost/boost/fusion/include/hash.hpp", + "external/sources/boost/boost/fusion/include/ignore.hpp", + "external/sources/boost/boost/fusion/include/in.hpp", + "external/sources/boost/boost/fusion/include/insert.hpp", + "external/sources/boost/boost/fusion/include/insert_range.hpp", + "external/sources/boost/boost/fusion/include/intrinsic.hpp", + "external/sources/boost/boost/fusion/include/invocation.hpp", + "external/sources/boost/boost/fusion/include/invoke.hpp", + "external/sources/boost/boost/fusion/include/invoke_function_object.hpp", + "external/sources/boost/boost/fusion/include/invoke_procedure.hpp", + "external/sources/boost/boost/fusion/include/io.hpp", + "external/sources/boost/boost/fusion/include/is_iterator.hpp", + "external/sources/boost/boost/fusion/include/is_segmented.hpp", + "external/sources/boost/boost/fusion/include/is_sequence.hpp", + "external/sources/boost/boost/fusion/include/is_view.hpp", + "external/sources/boost/boost/fusion/include/iter_fold.hpp", + "external/sources/boost/boost/fusion/include/iteration.hpp", + "external/sources/boost/boost/fusion/include/iterator.hpp", + "external/sources/boost/boost/fusion/include/iterator_adapter.hpp", + "external/sources/boost/boost/fusion/include/iterator_base.hpp", + "external/sources/boost/boost/fusion/include/iterator_facade.hpp", + "external/sources/boost/boost/fusion/include/iterator_range.hpp", + "external/sources/boost/boost/fusion/include/join.hpp", + "external/sources/boost/boost/fusion/include/joint_view.hpp", + "external/sources/boost/boost/fusion/include/key_of.hpp", + "external/sources/boost/boost/fusion/include/less.hpp", + "external/sources/boost/boost/fusion/include/less_equal.hpp", + "external/sources/boost/boost/fusion/include/list.hpp", + "external/sources/boost/boost/fusion/include/list_fwd.hpp", + "external/sources/boost/boost/fusion/include/list_tie.hpp", + "external/sources/boost/boost/fusion/include/make_cons.hpp", + "external/sources/boost/boost/fusion/include/make_deque.hpp", + "external/sources/boost/boost/fusion/include/make_fused.hpp", + "external/sources/boost/boost/fusion/include/make_fused_function_object.hpp", + "external/sources/boost/boost/fusion/include/make_fused_procedure.hpp", + "external/sources/boost/boost/fusion/include/make_list.hpp", + "external/sources/boost/boost/fusion/include/make_map.hpp", + "external/sources/boost/boost/fusion/include/make_set.hpp", + "external/sources/boost/boost/fusion/include/make_tuple.hpp", + "external/sources/boost/boost/fusion/include/make_unfused.hpp", + "external/sources/boost/boost/fusion/include/make_vector.hpp", + "external/sources/boost/boost/fusion/include/map.hpp", + "external/sources/boost/boost/fusion/include/map_fwd.hpp", + "external/sources/boost/boost/fusion/include/map_tie.hpp", + "external/sources/boost/boost/fusion/include/move.hpp", + "external/sources/boost/boost/fusion/include/mpl.hpp", + "external/sources/boost/boost/fusion/include/next.hpp", + "external/sources/boost/boost/fusion/include/nil.hpp", + "external/sources/boost/boost/fusion/include/none.hpp", + "external/sources/boost/boost/fusion/include/not_equal_to.hpp", + "external/sources/boost/boost/fusion/include/nview.hpp", + "external/sources/boost/boost/fusion/include/out.hpp", + "external/sources/boost/boost/fusion/include/pair.hpp", + "external/sources/boost/boost/fusion/include/pair_tie.hpp", + "external/sources/boost/boost/fusion/include/pop_back.hpp", + "external/sources/boost/boost/fusion/include/pop_front.hpp", + "external/sources/boost/boost/fusion/include/prior.hpp", + "external/sources/boost/boost/fusion/include/proxy_type.hpp", + "external/sources/boost/boost/fusion/include/push_back.hpp", + "external/sources/boost/boost/fusion/include/push_front.hpp", + "external/sources/boost/boost/fusion/include/query.hpp", + "external/sources/boost/boost/fusion/include/remove.hpp", + "external/sources/boost/boost/fusion/include/remove_if.hpp", + "external/sources/boost/boost/fusion/include/repetitive_view.hpp", + "external/sources/boost/boost/fusion/include/replace.hpp", + "external/sources/boost/boost/fusion/include/replace_if.hpp", + "external/sources/boost/boost/fusion/include/reverse.hpp", + "external/sources/boost/boost/fusion/include/reverse_fold.hpp", + "external/sources/boost/boost/fusion/include/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/include/reverse_view.hpp", + "external/sources/boost/boost/fusion/include/segmented_fold_until.hpp", + "external/sources/boost/boost/fusion/include/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/include/segments.hpp", + "external/sources/boost/boost/fusion/include/sequence.hpp", + "external/sources/boost/boost/fusion/include/sequence_base.hpp", + "external/sources/boost/boost/fusion/include/sequence_facade.hpp", + "external/sources/boost/boost/fusion/include/set.hpp", + "external/sources/boost/boost/fusion/include/set_fwd.hpp", + "external/sources/boost/boost/fusion/include/single_view.hpp", + "external/sources/boost/boost/fusion/include/size.hpp", + "external/sources/boost/boost/fusion/include/std_array.hpp", + "external/sources/boost/boost/fusion/include/std_pair.hpp", + "external/sources/boost/boost/fusion/include/std_tuple.hpp", + "external/sources/boost/boost/fusion/include/struct.hpp", + "external/sources/boost/boost/fusion/include/support.hpp", + "external/sources/boost/boost/fusion/include/swap.hpp", + "external/sources/boost/boost/fusion/include/tag_of.hpp", + "external/sources/boost/boost/fusion/include/tag_of_fwd.hpp", + "external/sources/boost/boost/fusion/include/transform.hpp", + "external/sources/boost/boost/fusion/include/transform_view.hpp", + "external/sources/boost/boost/fusion/include/transformation.hpp", + "external/sources/boost/boost/fusion/include/tuple.hpp", + "external/sources/boost/boost/fusion/include/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/include/tuple_tie.hpp", + "external/sources/boost/boost/fusion/include/unfused.hpp", + "external/sources/boost/boost/fusion/include/unfused_typed.hpp", + "external/sources/boost/boost/fusion/include/unused.hpp", + "external/sources/boost/boost/fusion/include/value_at.hpp", + "external/sources/boost/boost/fusion/include/value_at_key.hpp", + "external/sources/boost/boost/fusion/include/value_of.hpp", + "external/sources/boost/boost/fusion/include/value_of_data.hpp", + "external/sources/boost/boost/fusion/include/vector.hpp", + "external/sources/boost/boost/fusion/include/vector10.hpp", + "external/sources/boost/boost/fusion/include/vector20.hpp", + "external/sources/boost/boost/fusion/include/vector30.hpp", + "external/sources/boost/boost/fusion/include/vector40.hpp", + "external/sources/boost/boost/fusion/include/vector50.hpp", + "external/sources/boost/boost/fusion/include/vector_fwd.hpp", + "external/sources/boost/boost/fusion/include/vector_tie.hpp", + "external/sources/boost/boost/fusion/include/view.hpp", + "external/sources/boost/boost/fusion/include/void.hpp", + "external/sources/boost/boost/fusion/include/zip.hpp", + "external/sources/boost/boost/fusion/include/zip_view.hpp", + "external/sources/boost/boost/fusion/iterator.hpp", + "external/sources/boost/boost/fusion/iterator/advance.hpp", + "external/sources/boost/boost/fusion/iterator/basic_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/deref.hpp", + "external/sources/boost/boost/fusion/iterator/deref_data.hpp", + "external/sources/boost/boost/fusion/iterator/detail/adapt_deref_traits.hpp", + "external/sources/boost/boost/fusion/iterator/detail/adapt_value_traits.hpp", + "external/sources/boost/boost/fusion/iterator/detail/advance.hpp", + "external/sources/boost/boost/fusion/iterator/detail/distance.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segment_sequence.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_equal_to.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_next_impl.hpp", + "external/sources/boost/boost/fusion/iterator/distance.hpp", + "external/sources/boost/boost/fusion/iterator/equal_to.hpp", + "external/sources/boost/boost/fusion/iterator/iterator_adapter.hpp", + "external/sources/boost/boost/fusion/iterator/iterator_facade.hpp", + "external/sources/boost/boost/fusion/iterator/key_of.hpp", + "external/sources/boost/boost/fusion/iterator/mpl.hpp", + "external/sources/boost/boost/fusion/iterator/mpl/convert_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/mpl/fusion_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/next.hpp", + "external/sources/boost/boost/fusion/iterator/prior.hpp", + "external/sources/boost/boost/fusion/iterator/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/value_of.hpp", + "external/sources/boost/boost/fusion/iterator/value_of_data.hpp", + "external/sources/boost/boost/fusion/mpl.hpp", + "external/sources/boost/boost/fusion/mpl/at.hpp", + "external/sources/boost/boost/fusion/mpl/back.hpp", + "external/sources/boost/boost/fusion/mpl/begin.hpp", + "external/sources/boost/boost/fusion/mpl/clear.hpp", + "external/sources/boost/boost/fusion/mpl/detail/clear.hpp", + "external/sources/boost/boost/fusion/mpl/empty.hpp", + "external/sources/boost/boost/fusion/mpl/end.hpp", + "external/sources/boost/boost/fusion/mpl/erase.hpp", + "external/sources/boost/boost/fusion/mpl/erase_key.hpp", + "external/sources/boost/boost/fusion/mpl/front.hpp", + "external/sources/boost/boost/fusion/mpl/has_key.hpp", + "external/sources/boost/boost/fusion/mpl/insert.hpp", + "external/sources/boost/boost/fusion/mpl/insert_range.hpp", + "external/sources/boost/boost/fusion/mpl/pop_back.hpp", + "external/sources/boost/boost/fusion/mpl/pop_front.hpp", + "external/sources/boost/boost/fusion/mpl/push_back.hpp", + "external/sources/boost/boost/fusion/mpl/push_front.hpp", + "external/sources/boost/boost/fusion/mpl/size.hpp", + "external/sources/boost/boost/fusion/sequence.hpp", + "external/sources/boost/boost/fusion/sequence/comparison.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/greater.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/greater_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/less.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/less_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/not_equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/enable_comparison.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/greater.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/greater_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/less.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/less_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/not_equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/convert.hpp", + "external/sources/boost/boost/fusion/sequence/hash.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at_c.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/back.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/begin.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_size.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/empty.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/end.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/front.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/has_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/segments.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/size.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/swap.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/value_at.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/value_at_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic_fwd.hpp", + "external/sources/boost/boost/fusion/sequence/io.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/in.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/manip.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/out.hpp", + "external/sources/boost/boost/fusion/sequence/io/in.hpp", + "external/sources/boost/boost/fusion/sequence/io/out.hpp", + "external/sources/boost/boost/fusion/sequence/sequence_facade.hpp", + "external/sources/boost/boost/fusion/support.hpp", + "external/sources/boost/boost/fusion/support/as_const.hpp", + "external/sources/boost/boost/fusion/support/category_of.hpp", + "external/sources/boost/boost/fusion/support/config.hpp", + "external/sources/boost/boost/fusion/support/deduce.hpp", + "external/sources/boost/boost/fusion/support/deduce_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/access.hpp", + "external/sources/boost/boost/fusion/support/detail/and.hpp", + "external/sources/boost/boost/fusion/support/detail/as_fusion_element.hpp", + "external/sources/boost/boost/fusion/support/detail/enabler.hpp", + "external/sources/boost/boost/fusion/support/detail/index_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_mpl_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_native_fusion_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_same_size.hpp", + "external/sources/boost/boost/fusion/support/detail/mpl_iterator_category.hpp", + "external/sources/boost/boost/fusion/support/detail/pp_round.hpp", + "external/sources/boost/boost/fusion/support/detail/segmented_fold_until_impl.hpp", + "external/sources/boost/boost/fusion/support/is_iterator.hpp", + "external/sources/boost/boost/fusion/support/is_segmented.hpp", + "external/sources/boost/boost/fusion/support/is_sequence.hpp", + "external/sources/boost/boost/fusion/support/is_view.hpp", + "external/sources/boost/boost/fusion/support/iterator_base.hpp", + "external/sources/boost/boost/fusion/support/pair.hpp", + "external/sources/boost/boost/fusion/support/segmented_fold_until.hpp", + "external/sources/boost/boost/fusion/support/sequence_base.hpp", + "external/sources/boost/boost/fusion/support/tag_of.hpp", + "external/sources/boost/boost/fusion/support/tag_of_fwd.hpp", + "external/sources/boost/boost/fusion/support/unused.hpp", + "external/sources/boost/boost/fusion/support/void.hpp", + "external/sources/boost/boost/fusion/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_expand.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_tie.hpp", + "external/sources/boost/boost/fusion/tuple/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/tuple_tie.hpp", + "external/sources/boost/boost/fusion/view.hpp", + "external/sources/boost/boost/fusion/view/detail/strictest_traversal.hpp", + "external/sources/boost/boost/fusion/view/filter_view.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/filter_view.hpp", + "external/sources/boost/boost/fusion/view/filter_view/filter_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/flatten_view.hpp", + "external/sources/boost/boost/fusion/view/flatten_view/flatten_view.hpp", + "external/sources/boost/boost/fusion/view/flatten_view/flatten_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/iterator_range.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/is_segmented_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/segments_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/iterator_range.hpp", + "external/sources/boost/boost/fusion/view/joint_view.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/nview.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/cpp03/nview_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/nview_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/nview.hpp", + "external/sources/boost/boost/fusion/view/nview/nview_iterator.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/reverse_view.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/reverse_view.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/reverse_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/single_view.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/single_view.hpp", + "external/sources/boost/boost/fusion/view/single_view/single_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/transform_view.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/zip_view.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp", + "external/sources/boost/boost/generator_iterator.hpp", + "external/sources/boost/boost/geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/append.hpp", + "external/sources/boost/boost/geometry/algorithms/area.hpp", + "external/sources/boost/boost/geometry/algorithms/assign.hpp", + "external/sources/boost/boost/geometry/algorithms/buffer.hpp", + "external/sources/boost/boost/geometry/algorithms/centroid.hpp", + "external/sources/boost/boost/geometry/algorithms/clear.hpp", + "external/sources/boost/boost/geometry/algorithms/comparable_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/convert.hpp", + "external/sources/boost/boost/geometry/algorithms/convex_hull.hpp", + "external/sources/boost/boost/geometry/algorithms/correct.hpp", + "external/sources/boost/boost/geometry/algorithms/correct_closure.hpp", + "external/sources/boost/boost/geometry/algorithms/covered_by.hpp", + "external/sources/boost/boost/geometry/algorithms/crosses.hpp", + "external/sources/boost/boost/geometry/algorithms/densify.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/as_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_box_corners.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_indexed_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_values.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/azimuth.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_policies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/line_line_intersection.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/piece_border.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_original_visitor.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_null.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_point_order.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_sum.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/centroid/translating_transformer.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/check_iterator_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/geometry_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/point_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/convert_indexed_to_indexed.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/convert_point_to_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/counting.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/course.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/covered_by/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/covered_by/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/direction_code.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_segment_or_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multipoint_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multirange_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/segment_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/backward_compatibility.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/box_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/default_strategies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/geometry_to_segment_or_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/is_comparable.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/iterator_selector.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_or_areal_to_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/multipoint_to_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/initialize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/intersects_antimeridian.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/multipoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/range_of_boxes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/transform_units.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/collect_vectors.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/indexed.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand_by_epsilon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/extreme_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/for_each_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/get_max_size.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/has_self_intersections.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/interior_iterator.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/multi.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersects/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersects/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/always_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/failure_policy.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/multipoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_complement_graph.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_print_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_validity_phase.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_duplicates.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_invalid_coordinate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_valid_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/multipolygon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/pointlike.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/polygon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/make/make.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/max_interval_gap.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_modify.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_sum.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/normalize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/not.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/num_distinct_consecutive_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlaps/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlaps/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/add_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_duplicates.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/assign_parents.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/backtrack_check_si.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/check_enrich.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/clip_linestring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_exits.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/convert_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segments.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/debug_turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/do_reverse.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow_linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_distance_measure.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_relative_order.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/less_by_segment_ratio.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/needs_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay_type.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_pointlike.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/range_in_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/ring_properties.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_as_subrange.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_identifier.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/select_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/self_turn_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/sort_by_side.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/stream_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_ring_creator.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_switch_detector.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traverse.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/visit_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/partition.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/point_is_spike_or_equal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/point_on_border.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/recalculate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/boundary_checker.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/de9im.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/follow_helpers.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/multi_point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/relate_impl.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/result.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/topology_check.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relation/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relation/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/ring_identifier.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/range_by_section.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/section_box_policies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/section_functions.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/sectionalize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/signed_size_type.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/single_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sub_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sweep.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/throw_on_empty_input.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/touches/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/touches/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/tupled_output.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/compare_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/debug_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/filter_continue_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/print_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/remove_duplicate_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/multi_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/point_in_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/within_no_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/difference.hpp", + "external/sources/boost/boost/geometry/algorithms/discrete_frechet_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/discrete_hausdorff_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/disjoint.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/disjoint.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/distance.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/envelope.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/expand.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/is_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/is_valid.hpp", + "external/sources/boost/boost/geometry/algorithms/distance.hpp", + "external/sources/boost/boost/geometry/algorithms/envelope.hpp", + "external/sources/boost/boost/geometry/algorithms/equals.hpp", + "external/sources/boost/boost/geometry/algorithms/expand.hpp", + "external/sources/boost/boost/geometry/algorithms/for_each.hpp", + "external/sources/boost/boost/geometry/algorithms/intersection.hpp", + "external/sources/boost/boost/geometry/algorithms/intersects.hpp", + "external/sources/boost/boost/geometry/algorithms/is_convex.hpp", + "external/sources/boost/boost/geometry/algorithms/is_empty.hpp", + "external/sources/boost/boost/geometry/algorithms/is_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/is_valid.hpp", + "external/sources/boost/boost/geometry/algorithms/length.hpp", + "external/sources/boost/boost/geometry/algorithms/line_interpolate.hpp", + "external/sources/boost/boost/geometry/algorithms/make.hpp", + "external/sources/boost/boost/geometry/algorithms/not_implemented.hpp", + "external/sources/boost/boost/geometry/algorithms/num_geometries.hpp", + "external/sources/boost/boost/geometry/algorithms/num_interior_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/num_points.hpp", + "external/sources/boost/boost/geometry/algorithms/num_segments.hpp", + "external/sources/boost/boost/geometry/algorithms/overlaps.hpp", + "external/sources/boost/boost/geometry/algorithms/perimeter.hpp", + "external/sources/boost/boost/geometry/algorithms/point_on_surface.hpp", + "external/sources/boost/boost/geometry/algorithms/relate.hpp", + "external/sources/boost/boost/geometry/algorithms/relation.hpp", + "external/sources/boost/boost/geometry/algorithms/remove_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/reverse.hpp", + "external/sources/boost/boost/geometry/algorithms/simplify.hpp", + "external/sources/boost/boost/geometry/algorithms/sym_difference.hpp", + "external/sources/boost/boost/geometry/algorithms/touches.hpp", + "external/sources/boost/boost/geometry/algorithms/transform.hpp", + "external/sources/boost/boost/geometry/algorithms/union.hpp", + "external/sources/boost/boost/geometry/algorithms/unique.hpp", + "external/sources/boost/boost/geometry/algorithms/validity_failure_type.hpp", + "external/sources/boost/boost/geometry/algorithms/within.hpp", + "external/sources/boost/boost/geometry/arithmetic/arithmetic.hpp", + "external/sources/boost/boost/geometry/arithmetic/cross_product.hpp", + "external/sources/boost/boost/geometry/arithmetic/determinant.hpp", + "external/sources/boost/boost/geometry/arithmetic/dot_product.hpp", + "external/sources/boost/boost/geometry/arithmetic/infinite_line_functions.hpp", + "external/sources/boost/boost/geometry/arithmetic/normalize.hpp", + "external/sources/boost/boost/geometry/core/access.hpp", + "external/sources/boost/boost/geometry/core/assert.hpp", + "external/sources/boost/boost/geometry/core/closure.hpp", + "external/sources/boost/boost/geometry/core/config.hpp", + "external/sources/boost/boost/geometry/core/coordinate_dimension.hpp", + "external/sources/boost/boost/geometry/core/coordinate_system.hpp", + "external/sources/boost/boost/geometry/core/coordinate_type.hpp", + "external/sources/boost/boost/geometry/core/cs.hpp", + "external/sources/boost/boost/geometry/core/exception.hpp", + "external/sources/boost/boost/geometry/core/exterior_ring.hpp", + "external/sources/boost/boost/geometry/core/geometry_id.hpp", + "external/sources/boost/boost/geometry/core/interior_rings.hpp", + "external/sources/boost/boost/geometry/core/interior_type.hpp", + "external/sources/boost/boost/geometry/core/is_areal.hpp", + "external/sources/boost/boost/geometry/core/mutable_range.hpp", + "external/sources/boost/boost/geometry/core/point_order.hpp", + "external/sources/boost/boost/geometry/core/point_type.hpp", + "external/sources/boost/boost/geometry/core/radian_access.hpp", + "external/sources/boost/boost/geometry/core/radius.hpp", + "external/sources/boost/boost/geometry/core/reverse_dispatch.hpp", + "external/sources/boost/boost/geometry/core/ring_type.hpp", + "external/sources/boost/boost/geometry/core/tag.hpp", + "external/sources/boost/boost/geometry/core/tag_cast.hpp", + "external/sources/boost/boost/geometry/core/tags.hpp", + "external/sources/boost/boost/geometry/core/topological_dimension.hpp", + "external/sources/boost/boost/geometry/formulas/andoyer_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/area_formulas.hpp", + "external/sources/boost/boost/geometry/formulas/authalic_radius_sqr.hpp", + "external/sources/boost/boost/geometry/formulas/differential_quantities.hpp", + "external/sources/boost/boost/geometry/formulas/eccentricity_sqr.hpp", + "external/sources/boost/boost/geometry/formulas/flattening.hpp", + "external/sources/boost/boost/geometry/formulas/geographic.hpp", + "external/sources/boost/boost/geometry/formulas/gnomonic_intersection.hpp", + "external/sources/boost/boost/geometry/formulas/gnomonic_spheroid.hpp", + "external/sources/boost/boost/geometry/formulas/interpolate_point_spherical.hpp", + "external/sources/boost/boost/geometry/formulas/karney_direct.hpp", + "external/sources/boost/boost/geometry/formulas/karney_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/mean_radius.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_direct.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_segment.hpp", + "external/sources/boost/boost/geometry/formulas/quarter_meridian.hpp", + "external/sources/boost/boost/geometry/formulas/result_direct.hpp", + "external/sources/boost/boost/geometry/formulas/result_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/sjoberg_intersection.hpp", + "external/sources/boost/boost/geometry/formulas/spherical.hpp", + "external/sources/boost/boost/geometry/formulas/thomas_direct.hpp", + "external/sources/boost/boost/geometry/formulas/thomas_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/unit_spheroid.hpp", + "external/sources/boost/boost/geometry/formulas/vertex_latitude.hpp", + "external/sources/boost/boost/geometry/formulas/vertex_longitude.hpp", + "external/sources/boost/boost/geometry/formulas/vincenty_direct.hpp", + "external/sources/boost/boost/geometry/formulas/vincenty_inverse.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_fusion.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/box.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/hole_iterator.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/holes_proxy.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/point.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring_proxy.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/adjacent_filtered.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/filtered.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/reversed.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/sliced.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/strided.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/uniqued.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_tuple.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/c_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/std_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/std_pair_as_segment.hpp", + "external/sources/boost/boost/geometry/geometries/box.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/box_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/check.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/linestring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_linestring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_point_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_polygon_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/point_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/polygon_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/ring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/segment_concept.hpp", + "external/sources/boost/boost/geometry/geometries/geometries.hpp", + "external/sources/boost/boost/geometry/geometries/helper_geometry.hpp", + "external/sources/boost/boost/geometry/geometries/infinite_line.hpp", + "external/sources/boost/boost/geometry/geometries/linestring.hpp", + "external/sources/boost/boost/geometry/geometries/multi_linestring.hpp", + "external/sources/boost/boost/geometry/geometries/multi_point.hpp", + "external/sources/boost/boost/geometry/geometries/multi_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/point.hpp", + "external/sources/boost/boost/geometry/geometries/point_xy.hpp", + "external/sources/boost/boost/geometry/geometries/point_xyz.hpp", + "external/sources/boost/boost/geometry/geometries/pointing_segment.hpp", + "external/sources/boost/boost/geometry/geometries/polygon.hpp", + "external/sources/boost/boost/geometry/geometries/register/box.hpp", + "external/sources/boost/boost/geometry/geometries/register/linestring.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_linestring.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_point.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/register/point.hpp", + "external/sources/boost/boost/geometry/geometries/register/ring.hpp", + "external/sources/boost/boost/geometry/geometries/register/segment.hpp", + "external/sources/boost/boost/geometry/geometries/ring.hpp", + "external/sources/boost/boost/geometry/geometries/segment.hpp", + "external/sources/boost/boost/geometry/geometries/variant.hpp", + "external/sources/boost/boost/geometry/geometry.hpp", + "external/sources/boost/boost/geometry/index/adaptors/query.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/bounds.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_centroid.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_far.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_near.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/content.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/diff_abs.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/intersection_content.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/is_valid.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/margin.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/minmaxdist.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/nth_element.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/path_intersection.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/segment_intersection.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/smallest_for_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/sum_for_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/union_content.hpp", + "external/sources/boost/boost/geometry/index/detail/assert.hpp", + "external/sources/boost/boost/geometry/index/detail/bounded_view.hpp", + "external/sources/boost/boost/geometry/index/detail/config_begin.hpp", + "external/sources/boost/boost/geometry/index/detail/config_end.hpp", + "external/sources/boost/boost/geometry/index/detail/distance_predicates.hpp", + "external/sources/boost/boost/geometry/index/detail/exception.hpp", + "external/sources/boost/boost/geometry/index/detail/is_bounding_geometry.hpp", + "external/sources/boost/boost/geometry/index/detail/is_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/meta.hpp", + "external/sources/boost/boost/geometry/index/detail/predicates.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/adaptors.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/iterators.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/kmeans.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/split.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/linear/linear.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/linear/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/concept.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/node.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/node_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/pairs.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/scoped_deallocator.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/subtree_destroyer.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_dynamic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_static.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_visitor.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_static.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_visitor.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/options.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/pack_create.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/quadratic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/query_iterators.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/insert.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/rstar.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_boxes_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_counts_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_levels_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/print.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/statistics.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/view.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/children_box.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/copy.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/count.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/destroy.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/distance_query.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/insert.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/iterator.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/remove.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp", + "external/sources/boost/boost/geometry/index/detail/serialization.hpp", + "external/sources/boost/boost/geometry/index/detail/tags.hpp", + "external/sources/boost/boost/geometry/index/detail/translator.hpp", + "external/sources/boost/boost/geometry/index/detail/utilities.hpp", + "external/sources/boost/boost/geometry/index/detail/varray.hpp", + "external/sources/boost/boost/geometry/index/detail/varray_detail.hpp", + "external/sources/boost/boost/geometry/index/distance_predicates.hpp", + "external/sources/boost/boost/geometry/index/equal_to.hpp", + "external/sources/boost/boost/geometry/index/indexable.hpp", + "external/sources/boost/boost/geometry/index/inserter.hpp", + "external/sources/boost/boost/geometry/index/parameters.hpp", + "external/sources/boost/boost/geometry/index/predicates.hpp", + "external/sources/boost/boost/geometry/index/rtree.hpp", + "external/sources/boost/boost/geometry/io/dsv/write.hpp", + "external/sources/boost/boost/geometry/io/io.hpp", + "external/sources/boost/boost/geometry/io/svg/svg_mapper.hpp", + "external/sources/boost/boost/geometry/io/svg/write.hpp", + "external/sources/boost/boost/geometry/io/svg/write_svg.hpp", + "external/sources/boost/boost/geometry/io/svg/write_svg_multi.hpp", + "external/sources/boost/boost/geometry/io/wkt/detail/prefix.hpp", + "external/sources/boost/boost/geometry/io/wkt/detail/wkt_multi.hpp", + "external/sources/boost/boost/geometry/io/wkt/read.hpp", + "external/sources/boost/boost/geometry/io/wkt/stream.hpp", + "external/sources/boost/boost/geometry/io/wkt/wkt.hpp", + "external/sources/boost/boost/geometry/io/wkt/write.hpp", + "external/sources/boost/boost/geometry/iterators/base.hpp", + "external/sources/boost/boost/geometry/iterators/closing_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/concatenate_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/inner_range_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/iterator_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/value_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/iterator_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/range_segment_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/value_type.hpp", + "external/sources/boost/boost/geometry/iterators/dispatch/point_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/dispatch/segment_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/ever_circling_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/flatten_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/has_one_element.hpp", + "external/sources/boost/boost/geometry/iterators/point_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/point_reverse_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/segment_iterator.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/append.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/area.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/centroid.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/clear.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/convert.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/correct.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/covered_by.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/extreme_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/for_each_range.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/modify.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/multi_sum.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segment_point.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segments.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_ring.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_turns.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/self_turn_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/point_on_border.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/range_by_section.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/sectionalize.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/disjoint.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/distance.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/envelope.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/equals.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/for_each.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/intersection.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/length.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_geometries.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_interior_rings.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/perimeter.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/remove_spikes.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/reverse.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/simplify.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/transform.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/unique.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/within.hpp", + "external/sources/boost/boost/geometry/multi/core/closure.hpp", + "external/sources/boost/boost/geometry/multi/core/geometry_id.hpp", + "external/sources/boost/boost/geometry/multi/core/interior_rings.hpp", + "external/sources/boost/boost/geometry/multi/core/is_areal.hpp", + "external/sources/boost/boost/geometry/multi/core/point_order.hpp", + "external/sources/boost/boost/geometry/multi/core/point_type.hpp", + "external/sources/boost/boost/geometry/multi/core/ring_type.hpp", + "external/sources/boost/boost/geometry/multi/core/tags.hpp", + "external/sources/boost/boost/geometry/multi/core/topological_dimension.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/check.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_point_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_polygon_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_geometries.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_linestring.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_point.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_polygon.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_linestring.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_point.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_polygon.hpp", + "external/sources/boost/boost/geometry/multi/io/dsv/write.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/detail/prefix.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/read.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/wkt.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/write.hpp", + "external/sources/boost/boost/geometry/multi/multi.hpp", + "external/sources/boost/boost/geometry/multi/strategies/cartesian/centroid_average.hpp", + "external/sources/boost/boost/geometry/multi/views/detail/range_type.hpp", + "external/sources/boost/boost/geometry/policies/compare.hpp", + "external/sources/boost/boost/geometry/policies/disjoint_interrupt_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/default_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/failing_reason_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/failure_type_policy.hpp", + "external/sources/boost/boost/geometry/policies/predicate_based_interrupt_policy.hpp", + "external/sources/boost/boost/geometry/policies/relate/direction.hpp", + "external/sources/boost/boost/geometry/policies/relate/intersection_points.hpp", + "external/sources/boost/boost/geometry/policies/relate/intersection_ratios.hpp", + "external/sources/boost/boost/geometry/policies/relate/tupled.hpp", + "external/sources/boost/boost/geometry/policies/robustness/get_rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/no_rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp", + "external/sources/boost/boost/geometry/policies/robustness/robust_point_type.hpp", + "external/sources/boost/boost/geometry/policies/robustness/robust_type.hpp", + "external/sources/boost/boost/geometry/policies/robustness/segment_ratio.hpp", + "external/sources/boost/boost/geometry/policies/robustness/segment_ratio_type.hpp", + "external/sources/boost/boost/geometry/srs/epsg.hpp", + "external/sources/boost/boost/geometry/srs/esri.hpp", + "external/sources/boost/boost/geometry/srs/iau2000.hpp", + "external/sources/boost/boost/geometry/srs/projection.hpp", + "external/sources/boost/boost/geometry/srs/projections/code.hpp", + "external/sources/boost/boost/geometry/srs/projections/constants.hpp", + "external/sources/boost/boost/geometry/srs/projections/dpar.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/exception.hpp", + "external/sources/boost/boost/geometry/srs/projections/factory.hpp", + "external/sources/boost/boost/geometry/srs/projections/grids.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/aasincos.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/adjlon.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/base_dynamic.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/base_static.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/dms_parser.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/factory_entry.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/function_overloads.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/geocent.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_apply_gridshift.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_auth.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_datum_set.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_datums.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_ell_set.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_ellps.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_fwd.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gauss.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridinfo.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridlist.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_init.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_inv.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_mlfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_msfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_param.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_phi2.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_qsfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_strerrno.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_transform.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_tsfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_units.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_zpoly1.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/proj_mdist.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/projects.hpp", + "external/sources/boost/boost/geometry/srs/projections/invalid_point.hpp", + "external/sources/boost/boost/geometry/srs/projections/par_data.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aeqd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/airy.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aitoff.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/august.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bacon.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bipc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/boggs.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bonne.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cass.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/chamb.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/collg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/crast.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/denoy.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck1.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck4.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eqc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eqdc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/etmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/fahey.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/fouc_s.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gall.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/geocent.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/geos.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gins8.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gn_sinu.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gnom.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/goode.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gstmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/hammer.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/hatano.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/healpix.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/igh.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/imw_p.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/isea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/krovak.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/labrd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/laea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lagrng.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/larr.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lask.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/latlong.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lcc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lcca.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/loxim.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lsat.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbt_fps.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpp.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpq.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/merc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mill.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mod_ster.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/moll.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/natearth.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nell.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nell_h.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nocol.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nsper.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nzmg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ob_tran.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ocea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/oea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/omerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ortho.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/poly.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp4p.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp6.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/qsc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/robin.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/rouss.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/rpoly.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sconics.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/somerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/stere.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sterea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sts.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tcc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tcea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tpeqd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/urm5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/urmfps.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg4.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag7.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wink1.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wink2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj4.hpp", + "external/sources/boost/boost/geometry/srs/projections/spar.hpp", + "external/sources/boost/boost/geometry/srs/projections/srid_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/str_cast.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids_boost.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids_std.hpp", + "external/sources/boost/boost/geometry/srs/sphere.hpp", + "external/sources/boost/boost/geometry/srs/spheroid.hpp", + "external/sources/boost/boost/geometry/srs/srs.hpp", + "external/sources/boost/boost/geometry/srs/transformation.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/hull_graham_andrew.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_box_by_side.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_oriented_winding.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp", + "external/sources/boost/boost/geometry/strategies/area.hpp", + "external/sources/boost/boost/geometry/strategies/area_result.hpp", + "external/sources/boost/boost/geometry/strategies/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/buffer.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/area.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/area_surveyor.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/box_in_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_flat.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_round.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_miter.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round_by_divide.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_circle.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_square.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_side_straight.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_average.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/densify.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point_ax.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_multipoint.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/index.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/io.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_franklin.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/side_by_triangle.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/turn_in_ring_winding.hpp", + "external/sources/boost/boost/geometry/strategies/centroid.hpp", + "external/sources/boost/boost/geometry/strategies/comparable_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/compare.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/area_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/centroid_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/convex_hull_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/distance_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/segment_intersect_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/simplify_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/within_concept.hpp", + "external/sources/boost/boost/geometry/strategies/convex_hull.hpp", + "external/sources/boost/boost/geometry/strategies/covered_by.hpp", + "external/sources/boost/boost/geometry/strategies/default_area_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_comparable_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_length_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_strategy.hpp", + "external/sources/boost/boost/geometry/strategies/densify.hpp", + "external/sources/boost/boost/geometry/strategies/disjoint.hpp", + "external/sources/boost/boost/geometry/strategies/distance.hpp", + "external/sources/boost/boost/geometry/strategies/distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/expand.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/area.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/buffer_point_circle.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/densify.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_andoyer.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_karney.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_thomas.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_vincenty.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/index.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/intersection_elliptic.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/io.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/mapping_ssf.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/parameters.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_andoyer.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_thomas.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_vincenty.hpp", + "external/sources/boost/boost/geometry/strategies/index.hpp", + "external/sources/boost/boost/geometry/strategies/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/intersection_result.hpp", + "external/sources/boost/boost/geometry/strategies/intersection_strategies.hpp", + "external/sources/boost/boost/geometry/strategies/io.hpp", + "external/sources/boost/boost/geometry/strategies/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/normalize.hpp", + "external/sources/boost/boost/geometry/strategies/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/relate.hpp", + "external/sources/boost/boost/geometry/strategies/side.hpp", + "external/sources/boost/boost/geometry/strategies/side_info.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/area.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/compare.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/densify.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/disjoint_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_haversine.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_multipoint.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/get_radius.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/index.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/io.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/side_by_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/ssf.hpp", + "external/sources/boost/boost/geometry/strategies/strategies.hpp", + "external/sources/boost/boost/geometry/strategies/strategy_transform.hpp", + "external/sources/boost/boost/geometry/strategies/tags.hpp", + "external/sources/boost/boost/geometry/strategies/transform.hpp", + "external/sources/boost/boost/geometry/strategies/transform/inverse_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/transform/map_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/transform/matrix_transformers.hpp", + "external/sources/boost/boost/geometry/strategies/transform/srs_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/within.hpp", + "external/sources/boost/boost/geometry/util/add_const_if_c.hpp", + "external/sources/boost/boost/geometry/util/bare_type.hpp", + "external/sources/boost/boost/geometry/util/calculation_type.hpp", + "external/sources/boost/boost/geometry/util/closure_as_bool.hpp", + "external/sources/boost/boost/geometry/util/combine_if.hpp", + "external/sources/boost/boost/geometry/util/compress_variant.hpp", + "external/sources/boost/boost/geometry/util/condition.hpp", + "external/sources/boost/boost/geometry/util/coordinate_cast.hpp", + "external/sources/boost/boost/geometry/util/for_each_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_infinite_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_nan_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_non_finite_coordinate.hpp", + "external/sources/boost/boost/geometry/util/is_inverse_spheroidal_coordinates.hpp", + "external/sources/boost/boost/geometry/util/math.hpp", + "external/sources/boost/boost/geometry/util/normalize_spheroidal_box_coordinates.hpp", + "external/sources/boost/boost/geometry/util/normalize_spheroidal_coordinates.hpp", + "external/sources/boost/boost/geometry/util/order_as_direction.hpp", + "external/sources/boost/boost/geometry/util/parameter_type_of.hpp", + "external/sources/boost/boost/geometry/util/promote_floating_point.hpp", + "external/sources/boost/boost/geometry/util/promote_integral.hpp", + "external/sources/boost/boost/geometry/util/range.hpp", + "external/sources/boost/boost/geometry/util/rational.hpp", + "external/sources/boost/boost/geometry/util/readme.txt", + "external/sources/boost/boost/geometry/util/select_calculation_type.hpp", + "external/sources/boost/boost/geometry/util/select_coordinate_type.hpp", + "external/sources/boost/boost/geometry/util/select_most_precise.hpp", + "external/sources/boost/boost/geometry/util/select_sequence_element.hpp", + "external/sources/boost/boost/geometry/util/series_expansion.hpp", + "external/sources/boost/boost/geometry/util/transform_variant.hpp", + "external/sources/boost/boost/geometry/util/tuples.hpp", + "external/sources/boost/boost/geometry/views/box_view.hpp", + "external/sources/boost/boost/geometry/views/closeable_view.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view/implementation.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view/interface.hpp", + "external/sources/boost/boost/geometry/views/detail/indexed_point_view.hpp", + "external/sources/boost/boost/geometry/views/detail/normalized_view.hpp", + "external/sources/boost/boost/geometry/views/detail/points_view.hpp", + "external/sources/boost/boost/geometry/views/detail/range_type.hpp", + "external/sources/boost/boost/geometry/views/detail/two_dimensional_view.hpp", + "external/sources/boost/boost/geometry/views/identity_view.hpp", + "external/sources/boost/boost/geometry/views/reversible_view.hpp", + "external/sources/boost/boost/geometry/views/segment_view.hpp", + "external/sources/boost/boost/get_pointer.hpp", + "external/sources/boost/boost/gil.hpp", + "external/sources/boost/boost/gil/algorithm.hpp", + "external/sources/boost/boost/gil/bit_aligned_pixel_iterator.hpp", + "external/sources/boost/boost/gil/bit_aligned_pixel_reference.hpp", + "external/sources/boost/boost/gil/channel.hpp", + "external/sources/boost/boost/gil/channel_algorithm.hpp", + "external/sources/boost/boost/gil/cmyk.hpp", + "external/sources/boost/boost/gil/color_base.hpp", + "external/sources/boost/boost/gil/color_base_algorithm.hpp", + "external/sources/boost/boost/gil/color_convert.hpp", + "external/sources/boost/boost/gil/concepts.hpp", + "external/sources/boost/boost/gil/concepts/basic.hpp", + "external/sources/boost/boost/gil/concepts/channel.hpp", + "external/sources/boost/boost/gil/concepts/color.hpp", + "external/sources/boost/boost/gil/concepts/color_base.hpp", + "external/sources/boost/boost/gil/concepts/concept_check.hpp", + "external/sources/boost/boost/gil/concepts/detail/type_traits.hpp", + "external/sources/boost/boost/gil/concepts/detail/utility.hpp", + "external/sources/boost/boost/gil/concepts/dynamic_step.hpp", + "external/sources/boost/boost/gil/concepts/fwd.hpp", + "external/sources/boost/boost/gil/concepts/image.hpp", + "external/sources/boost/boost/gil/concepts/image_view.hpp", + "external/sources/boost/boost/gil/concepts/pixel.hpp", + "external/sources/boost/boost/gil/concepts/pixel_based.hpp", + "external/sources/boost/boost/gil/concepts/pixel_dereference.hpp", + "external/sources/boost/boost/gil/concepts/pixel_iterator.hpp", + "external/sources/boost/boost/gil/concepts/pixel_locator.hpp", + "external/sources/boost/boost/gil/concepts/point.hpp", + "external/sources/boost/boost/gil/deprecated.hpp", + "external/sources/boost/boost/gil/detail/is_channel_integral.hpp", + "external/sources/boost/boost/gil/detail/math.hpp", + "external/sources/boost/boost/gil/detail/mp11.hpp", + "external/sources/boost/boost/gil/detail/std_common_type.hpp", + "external/sources/boost/boost/gil/detail/type_traits.hpp", + "external/sources/boost/boost/gil/device_n.hpp", + "external/sources/boost/boost/gil/dynamic_step.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/algorithm.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/any_image.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/any_image_view.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/apply_operation.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_at_c.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_image_all.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/image_view_factory.hpp", + "external/sources/boost/boost/gil/extension/io/bmp.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/old.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/tags.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/write.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/base.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/old.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/tags.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/write.hpp", + "external/sources/boost/boost/gil/extension/io/png.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/base.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/png/old.hpp", + "external/sources/boost/boost/gil/extension/io/png/read.hpp", + "external/sources/boost/boost/gil/extension/io/png/tags.hpp", + "external/sources/boost/boost/gil/extension/io/png/write.hpp", + "external/sources/boost/boost/gil/extension/io/pnm.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/old.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/tags.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/write.hpp", + "external/sources/boost/boost/gil/extension/io/raw.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/device.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/raw/read.hpp", + "external/sources/boost/boost/gil/extension/io/raw/tags.hpp", + "external/sources/boost/boost/gil/extension/io/targa.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/targa/old.hpp", + "external/sources/boost/boost/gil/extension/io/targa/read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/tags.hpp", + "external/sources/boost/boost/gil/extension/io/targa/write.hpp", + "external/sources/boost/boost/gil/extension/io/tiff.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/device.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/log.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/old.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/tags.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/write.hpp", + "external/sources/boost/boost/gil/extension/numeric/affine.hpp", + "external/sources/boost/boost/gil/extension/numeric/algorithm.hpp", + "external/sources/boost/boost/gil/extension/numeric/channel_numeric_operations.hpp", + "external/sources/boost/boost/gil/extension/numeric/convolve.hpp", + "external/sources/boost/boost/gil/extension/numeric/kernel.hpp", + "external/sources/boost/boost/gil/extension/numeric/pixel_numeric_operations.hpp", + "external/sources/boost/boost/gil/extension/numeric/resample.hpp", + "external/sources/boost/boost/gil/extension/numeric/sampler.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters/rgb_to_luminance.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/cmyka.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsl.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsv.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/lab.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/xyz.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/ycbcr.hpp", + "external/sources/boost/boost/gil/extension/toolbox/dynamic_images.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types/indexed_image.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types/subchroma_image.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_type.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_view.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_num_bits.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_pixel_type.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_bit_aligned.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_homogeneous.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_similar.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/pixel_bit_size.hpp", + "external/sources/boost/boost/gil/extension/toolbox/toolbox.hpp", + "external/sources/boost/boost/gil/gray.hpp", + "external/sources/boost/boost/gil/image.hpp", + "external/sources/boost/boost/gil/image_processing/filter.hpp", + "external/sources/boost/boost/gil/image_processing/harris.hpp", + "external/sources/boost/boost/gil/image_processing/hessian.hpp", + "external/sources/boost/boost/gil/image_processing/numeric.hpp", + "external/sources/boost/boost/gil/image_processing/scaling.hpp", + "external/sources/boost/boost/gil/image_processing/threshold.hpp", + "external/sources/boost/boost/gil/image_view.hpp", + "external/sources/boost/boost/gil/image_view_factory.hpp", + "external/sources/boost/boost/gil/io/base.hpp", + "external/sources/boost/boost/gil/io/bit_operations.hpp", + "external/sources/boost/boost/gil/io/conversion_policies.hpp", + "external/sources/boost/boost/gil/io/device.hpp", + "external/sources/boost/boost/gil/io/dynamic_io_new.hpp", + "external/sources/boost/boost/gil/io/error.hpp", + "external/sources/boost/boost/gil/io/get_read_device.hpp", + "external/sources/boost/boost/gil/io/get_reader.hpp", + "external/sources/boost/boost/gil/io/get_write_device.hpp", + "external/sources/boost/boost/gil/io/get_writer.hpp", + "external/sources/boost/boost/gil/io/io.hpp", + "external/sources/boost/boost/gil/io/make_backend.hpp", + "external/sources/boost/boost/gil/io/make_dynamic_image_reader.hpp", + "external/sources/boost/boost/gil/io/make_dynamic_image_writer.hpp", + "external/sources/boost/boost/gil/io/make_reader.hpp", + "external/sources/boost/boost/gil/io/make_scanline_reader.hpp", + "external/sources/boost/boost/gil/io/make_writer.hpp", + "external/sources/boost/boost/gil/io/path_spec.hpp", + "external/sources/boost/boost/gil/io/read_and_convert_image.hpp", + "external/sources/boost/boost/gil/io/read_and_convert_view.hpp", + "external/sources/boost/boost/gil/io/read_image.hpp", + "external/sources/boost/boost/gil/io/read_image_info.hpp", + "external/sources/boost/boost/gil/io/read_view.hpp", + "external/sources/boost/boost/gil/io/reader_base.hpp", + "external/sources/boost/boost/gil/io/row_buffer_helper.hpp", + "external/sources/boost/boost/gil/io/scanline_read_iterator.hpp", + "external/sources/boost/boost/gil/io/typedefs.hpp", + "external/sources/boost/boost/gil/io/write_view.hpp", + "external/sources/boost/boost/gil/iterator_from_2d.hpp", + "external/sources/boost/boost/gil/locator.hpp", + "external/sources/boost/boost/gil/metafunctions.hpp", + "external/sources/boost/boost/gil/packed_pixel.hpp", + "external/sources/boost/boost/gil/pixel.hpp", + "external/sources/boost/boost/gil/pixel_iterator.hpp", + "external/sources/boost/boost/gil/pixel_iterator_adaptor.hpp", + "external/sources/boost/boost/gil/planar_pixel_iterator.hpp", + "external/sources/boost/boost/gil/planar_pixel_reference.hpp", + "external/sources/boost/boost/gil/point.hpp", + "external/sources/boost/boost/gil/position_iterator.hpp", + "external/sources/boost/boost/gil/premultiply.hpp", + "external/sources/boost/boost/gil/promote_integral.hpp", + "external/sources/boost/boost/gil/rgb.hpp", + "external/sources/boost/boost/gil/rgba.hpp", + "external/sources/boost/boost/gil/step_iterator.hpp", + "external/sources/boost/boost/gil/typedefs.hpp", + "external/sources/boost/boost/gil/utilities.hpp", + "external/sources/boost/boost/gil/virtual_locator.hpp", + "external/sources/boost/boost/graph/accounting.hpp", + "external/sources/boost/boost/graph/adj_list_serialize.hpp", + "external/sources/boost/boost/graph/adjacency_iterator.hpp", + "external/sources/boost/boost/graph/adjacency_list.hpp", + "external/sources/boost/boost/graph/adjacency_list_io.hpp", + "external/sources/boost/boost/graph/adjacency_matrix.hpp", + "external/sources/boost/boost/graph/astar_search.hpp", + "external/sources/boost/boost/graph/bandwidth.hpp", + "external/sources/boost/boost/graph/bc_clustering.hpp", + "external/sources/boost/boost/graph/bellman_ford_shortest_paths.hpp", + "external/sources/boost/boost/graph/betweenness_centrality.hpp", + "external/sources/boost/boost/graph/biconnected_components.hpp", + "external/sources/boost/boost/graph/bipartite.hpp", + "external/sources/boost/boost/graph/boyer_myrvold_planar_test.hpp", + "external/sources/boost/boost/graph/boykov_kolmogorov_max_flow.hpp", + "external/sources/boost/boost/graph/breadth_first_search.hpp", + "external/sources/boost/boost/graph/bron_kerbosch_all_cliques.hpp", + "external/sources/boost/boost/graph/buffer_concepts.hpp", + "external/sources/boost/boost/graph/chrobak_payne_drawing.hpp", + "external/sources/boost/boost/graph/circle_layout.hpp", + "external/sources/boost/boost/graph/closeness_centrality.hpp", + "external/sources/boost/boost/graph/clustering_coefficient.hpp", + "external/sources/boost/boost/graph/compressed_sparse_row_graph.hpp", + "external/sources/boost/boost/graph/connected_components.hpp", + "external/sources/boost/boost/graph/copy.hpp", + "external/sources/boost/boost/graph/core_numbers.hpp", + "external/sources/boost/boost/graph/create_condensation_graph.hpp", + "external/sources/boost/boost/graph/cuthill_mckee_ordering.hpp", + "external/sources/boost/boost/graph/cycle_canceling.hpp", + "external/sources/boost/boost/graph/dag_shortest_paths.hpp", + "external/sources/boost/boost/graph/degree_centrality.hpp", + "external/sources/boost/boost/graph/depth_first_search.hpp", + "external/sources/boost/boost/graph/detail/adj_list_edge_iterator.hpp", + "external/sources/boost/boost/graph/detail/adjacency_list.hpp", + "external/sources/boost/boost/graph/detail/array_binary_tree.hpp", + "external/sources/boost/boost/graph/detail/augment.hpp", + "external/sources/boost/boost/graph/detail/compressed_sparse_row_struct.hpp", + "external/sources/boost/boost/graph/detail/connected_components.hpp", + "external/sources/boost/boost/graph/detail/d_ary_heap.hpp", + "external/sources/boost/boost/graph/detail/edge.hpp", + "external/sources/boost/boost/graph/detail/empty_header.hpp", + "external/sources/boost/boost/graph/detail/geodesic.hpp", + "external/sources/boost/boost/graph/detail/histogram_sort.hpp", + "external/sources/boost/boost/graph/detail/incidence_iterator.hpp", + "external/sources/boost/boost/graph/detail/incremental_components.hpp", + "external/sources/boost/boost/graph/detail/index.hpp", + "external/sources/boost/boost/graph/detail/indexed_properties.hpp", + "external/sources/boost/boost/graph/detail/is_distributed_selector.hpp", + "external/sources/boost/boost/graph/detail/labeled_graph_traits.hpp", + "external/sources/boost/boost/graph/detail/list_base.hpp", + "external/sources/boost/boost/graph/detail/mpi_include.hpp", + "external/sources/boost/boost/graph/detail/permutation.hpp", + "external/sources/boost/boost/graph/detail/read_graphviz_new.hpp", + "external/sources/boost/boost/graph/detail/read_graphviz_spirit.hpp", + "external/sources/boost/boost/graph/detail/self_avoiding_walk.hpp", + "external/sources/boost/boost/graph/detail/set_adaptor.hpp", + "external/sources/boost/boost/graph/detail/shadow_iterator.hpp", + "external/sources/boost/boost/graph/detail/sparse_ordering.hpp", + "external/sources/boost/boost/graph/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/dijkstra_shortest_paths_no_color_map.hpp", + "external/sources/boost/boost/graph/dimacs.hpp", + "external/sources/boost/boost/graph/directed_graph.hpp", + "external/sources/boost/boost/graph/distributed/adjacency_list.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/handlers.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/initialize.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/redistribute.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/serialization.hpp", + "external/sources/boost/boost/graph/distributed/betweenness_centrality.hpp", + "external/sources/boost/boost/graph/distributed/boman_et_al_graph_coloring.hpp", + "external/sources/boost/boost/graph/distributed/breadth_first_search.hpp", + "external/sources/boost/boost/graph/distributed/compressed_sparse_row_graph.hpp", + "external/sources/boost/boost/graph/distributed/concepts.hpp", + "external/sources/boost/boost/graph/distributed/connected_components.hpp", + "external/sources/boost/boost/graph/distributed/connected_components_parallel_search.hpp", + "external/sources/boost/boost/graph/distributed/crauser_et_al_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp", + "external/sources/boost/boost/graph/distributed/delta_stepping_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/depth_first_search.hpp", + "external/sources/boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/detail/filtered_queue.hpp", + "external/sources/boost/boost/graph/distributed/detail/mpi_process_group.ipp", + "external/sources/boost/boost/graph/distributed/detail/queue.ipp", + "external/sources/boost/boost/graph/distributed/detail/remote_update_set.hpp", + "external/sources/boost/boost/graph/distributed/detail/tag_allocator.hpp", + "external/sources/boost/boost/graph/distributed/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/distributed_graph_utility.hpp", + "external/sources/boost/boost/graph/distributed/eager_dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/filtered_graph.hpp", + "external/sources/boost/boost/graph/distributed/fruchterman_reingold.hpp", + "external/sources/boost/boost/graph/distributed/graphviz.hpp", + "external/sources/boost/boost/graph/distributed/hohberg_biconnected_components.hpp", + "external/sources/boost/boost/graph/distributed/local_subgraph.hpp", + "external/sources/boost/boost/graph/distributed/mpi_process_group.hpp", + "external/sources/boost/boost/graph/distributed/named_graph.hpp", + "external/sources/boost/boost/graph/distributed/one_bit_color_map.hpp", + "external/sources/boost/boost/graph/distributed/page_rank.hpp", + "external/sources/boost/boost/graph/distributed/queue.hpp", + "external/sources/boost/boost/graph/distributed/reverse_graph.hpp", + "external/sources/boost/boost/graph/distributed/rmat_graph_generator.hpp", + "external/sources/boost/boost/graph/distributed/selector.hpp", + "external/sources/boost/boost/graph/distributed/shuffled_distribution.hpp", + "external/sources/boost/boost/graph/distributed/st_connected.hpp", + "external/sources/boost/boost/graph/distributed/strong_components.hpp", + "external/sources/boost/boost/graph/distributed/two_bit_color_map.hpp", + "external/sources/boost/boost/graph/distributed/unsafe_serialize.hpp", + "external/sources/boost/boost/graph/distributed/vertex_list_adaptor.hpp", + "external/sources/boost/boost/graph/dll_import_export.hpp", + "external/sources/boost/boost/graph/dominator_tree.hpp", + "external/sources/boost/boost/graph/eccentricity.hpp", + "external/sources/boost/boost/graph/edge_coloring.hpp", + "external/sources/boost/boost/graph/edge_connectivity.hpp", + "external/sources/boost/boost/graph/edge_list.hpp", + "external/sources/boost/boost/graph/edmonds_karp_max_flow.hpp", + "external/sources/boost/boost/graph/edmunds_karp_max_flow.hpp", + "external/sources/boost/boost/graph/erdos_renyi_generator.hpp", + "external/sources/boost/boost/graph/exception.hpp", + "external/sources/boost/boost/graph/exterior_property.hpp", + "external/sources/boost/boost/graph/filtered_graph.hpp", + "external/sources/boost/boost/graph/find_flow_cost.hpp", + "external/sources/boost/boost/graph/floyd_warshall_shortest.hpp", + "external/sources/boost/boost/graph/fruchterman_reingold.hpp", + "external/sources/boost/boost/graph/geodesic_distance.hpp", + "external/sources/boost/boost/graph/graph_archetypes.hpp", + "external/sources/boost/boost/graph/graph_as_tree.hpp", + "external/sources/boost/boost/graph/graph_concepts.hpp", + "external/sources/boost/boost/graph/graph_mutability_traits.hpp", + "external/sources/boost/boost/graph/graph_selectors.hpp", + "external/sources/boost/boost/graph/graph_stats.hpp", + "external/sources/boost/boost/graph/graph_traits.hpp", + "external/sources/boost/boost/graph/graph_utility.hpp", + "external/sources/boost/boost/graph/graphml.hpp", + "external/sources/boost/boost/graph/graphviz.hpp", + "external/sources/boost/boost/graph/grid_graph.hpp", + "external/sources/boost/boost/graph/gursoy_atun_layout.hpp", + "external/sources/boost/boost/graph/hawick_circuits.hpp", + "external/sources/boost/boost/graph/howard_cycle_ratio.hpp", + "external/sources/boost/boost/graph/incremental_components.hpp", + "external/sources/boost/boost/graph/is_kuratowski_subgraph.hpp", + "external/sources/boost/boost/graph/is_straight_line_drawing.hpp", + "external/sources/boost/boost/graph/isomorphism.hpp", + "external/sources/boost/boost/graph/iteration_macros.hpp", + "external/sources/boost/boost/graph/iteration_macros_undef.hpp", + "external/sources/boost/boost/graph/johnson_all_pairs_shortest.hpp", + "external/sources/boost/boost/graph/kamada_kawai_spring_layout.hpp", + "external/sources/boost/boost/graph/king_ordering.hpp", + "external/sources/boost/boost/graph/kruskal_min_spanning_tree.hpp", + "external/sources/boost/boost/graph/labeled_graph.hpp", + "external/sources/boost/boost/graph/leda_graph.hpp", + "external/sources/boost/boost/graph/lookup_edge.hpp", + "external/sources/boost/boost/graph/loop_erased_random_walk.hpp", + "external/sources/boost/boost/graph/make_biconnected_planar.hpp", + "external/sources/boost/boost/graph/make_connected.hpp", + "external/sources/boost/boost/graph/make_maximal_planar.hpp", + "external/sources/boost/boost/graph/matrix_as_graph.hpp", + "external/sources/boost/boost/graph/max_cardinality_matching.hpp", + "external/sources/boost/boost/graph/maximum_adjacency_search.hpp", + "external/sources/boost/boost/graph/maximum_weighted_matching.hpp", + "external/sources/boost/boost/graph/mcgregor_common_subgraphs.hpp", + "external/sources/boost/boost/graph/mesh_graph_generator.hpp", + "external/sources/boost/boost/graph/metis.hpp", + "external/sources/boost/boost/graph/metric_tsp_approx.hpp", + "external/sources/boost/boost/graph/minimum_degree_ordering.hpp", + "external/sources/boost/boost/graph/named_function_params.hpp", + "external/sources/boost/boost/graph/named_graph.hpp", + "external/sources/boost/boost/graph/neighbor_bfs.hpp", + "external/sources/boost/boost/graph/numeric_values.hpp", + "external/sources/boost/boost/graph/one_bit_color_map.hpp", + "external/sources/boost/boost/graph/overloading.hpp", + "external/sources/boost/boost/graph/page_rank.hpp", + "external/sources/boost/boost/graph/parallel/algorithm.hpp", + "external/sources/boost/boost/graph/parallel/basic_reduce.hpp", + "external/sources/boost/boost/graph/parallel/container_traits.hpp", + "external/sources/boost/boost/graph/parallel/detail/inplace_all_to_all.hpp", + "external/sources/boost/boost/graph/parallel/detail/property_holders.hpp", + "external/sources/boost/boost/graph/parallel/detail/untracked_pair.hpp", + "external/sources/boost/boost/graph/parallel/distribution.hpp", + "external/sources/boost/boost/graph/parallel/process_group.hpp", + "external/sources/boost/boost/graph/parallel/properties.hpp", + "external/sources/boost/boost/graph/parallel/simple_trigger.hpp", + "external/sources/boost/boost/graph/planar_canonical_ordering.hpp", + "external/sources/boost/boost/graph/planar_detail/add_edge_visitors.hpp", + "external/sources/boost/boost/graph/planar_detail/boyer_myrvold_impl.hpp", + "external/sources/boost/boost/graph/planar_detail/bucket_sort.hpp", + "external/sources/boost/boost/graph/planar_detail/face_handles.hpp", + "external/sources/boost/boost/graph/planar_detail/face_iterators.hpp", + "external/sources/boost/boost/graph/planar_face_traversal.hpp", + "external/sources/boost/boost/graph/plod_generator.hpp", + "external/sources/boost/boost/graph/point_traits.hpp", + "external/sources/boost/boost/graph/prim_minimum_spanning_tree.hpp", + "external/sources/boost/boost/graph/profile.hpp", + "external/sources/boost/boost/graph/properties.hpp", + "external/sources/boost/boost/graph/property_iter_range.hpp", + "external/sources/boost/boost/graph/property_maps/constant_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/container_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/matrix_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/null_property_map.hpp", + "external/sources/boost/boost/graph/push_relabel_max_flow.hpp", + "external/sources/boost/boost/graph/r_c_shortest_paths.hpp", + "external/sources/boost/boost/graph/random.hpp", + "external/sources/boost/boost/graph/random_layout.hpp", + "external/sources/boost/boost/graph/random_spanning_tree.hpp", + "external/sources/boost/boost/graph/read_dimacs.hpp", + "external/sources/boost/boost/graph/relax.hpp", + "external/sources/boost/boost/graph/reverse_graph.hpp", + "external/sources/boost/boost/graph/rmat_graph_generator.hpp", + "external/sources/boost/boost/graph/sequential_vertex_coloring.hpp", + "external/sources/boost/boost/graph/simple_point.hpp", + "external/sources/boost/boost/graph/sloan_ordering.hpp", + "external/sources/boost/boost/graph/small_world_generator.hpp", + "external/sources/boost/boost/graph/smallest_last_ordering.hpp", + "external/sources/boost/boost/graph/ssca_graph_generator.hpp", + "external/sources/boost/boost/graph/st_connected.hpp", + "external/sources/boost/boost/graph/stanford_graph.hpp", + "external/sources/boost/boost/graph/stoer_wagner_min_cut.hpp", + "external/sources/boost/boost/graph/strong_components.hpp", + "external/sources/boost/boost/graph/subgraph.hpp", + "external/sources/boost/boost/graph/successive_shortest_path_nonnegative_weights.hpp", + "external/sources/boost/boost/graph/tiernan_all_cycles.hpp", + "external/sources/boost/boost/graph/topological_sort.hpp", + "external/sources/boost/boost/graph/topology.hpp", + "external/sources/boost/boost/graph/transitive_closure.hpp", + "external/sources/boost/boost/graph/transitive_reduction.hpp", + "external/sources/boost/boost/graph/transpose_graph.hpp", + "external/sources/boost/boost/graph/tree_traits.hpp", + "external/sources/boost/boost/graph/two_bit_color_map.hpp", + "external/sources/boost/boost/graph/two_graphs_common_spanning_trees.hpp", + "external/sources/boost/boost/graph/undirected_dfs.hpp", + "external/sources/boost/boost/graph/undirected_graph.hpp", + "external/sources/boost/boost/graph/use_mpi.hpp", + "external/sources/boost/boost/graph/vector_as_graph.hpp", + "external/sources/boost/boost/graph/vertex_and_edge_range.hpp", + "external/sources/boost/boost/graph/vf2_sub_graph_iso.hpp", + "external/sources/boost/boost/graph/visitors.hpp", + "external/sources/boost/boost/graph/wavefront.hpp", + "external/sources/boost/boost/graph/write_dimacs.hpp", + "external/sources/boost/boost/hana.hpp", + "external/sources/boost/boost/hana/accessors.hpp", + "external/sources/boost/boost/hana/adapt_adt.hpp", + "external/sources/boost/boost/hana/adapt_struct.hpp", + "external/sources/boost/boost/hana/adjust.hpp", + "external/sources/boost/boost/hana/adjust_if.hpp", + "external/sources/boost/boost/hana/all.hpp", + "external/sources/boost/boost/hana/all_of.hpp", + "external/sources/boost/boost/hana/and.hpp", + "external/sources/boost/boost/hana/any.hpp", + "external/sources/boost/boost/hana/any_of.hpp", + "external/sources/boost/boost/hana/ap.hpp", + "external/sources/boost/boost/hana/append.hpp", + "external/sources/boost/boost/hana/assert.hpp", + "external/sources/boost/boost/hana/at.hpp", + "external/sources/boost/boost/hana/at_key.hpp", + "external/sources/boost/boost/hana/back.hpp", + "external/sources/boost/boost/hana/basic_tuple.hpp", + "external/sources/boost/boost/hana/bool.hpp", + "external/sources/boost/boost/hana/cartesian_product.hpp", + "external/sources/boost/boost/hana/chain.hpp", + "external/sources/boost/boost/hana/comparing.hpp", + "external/sources/boost/boost/hana/concat.hpp", + "external/sources/boost/boost/hana/concept.hpp", + "external/sources/boost/boost/hana/concept/applicative.hpp", + "external/sources/boost/boost/hana/concept/comonad.hpp", + "external/sources/boost/boost/hana/concept/comparable.hpp", + "external/sources/boost/boost/hana/concept/constant.hpp", + "external/sources/boost/boost/hana/concept/euclidean_ring.hpp", + "external/sources/boost/boost/hana/concept/foldable.hpp", + "external/sources/boost/boost/hana/concept/functor.hpp", + "external/sources/boost/boost/hana/concept/group.hpp", + "external/sources/boost/boost/hana/concept/hashable.hpp", + "external/sources/boost/boost/hana/concept/integral_constant.hpp", + "external/sources/boost/boost/hana/concept/iterable.hpp", + "external/sources/boost/boost/hana/concept/logical.hpp", + "external/sources/boost/boost/hana/concept/metafunction.hpp", + "external/sources/boost/boost/hana/concept/monad.hpp", + "external/sources/boost/boost/hana/concept/monad_plus.hpp", + "external/sources/boost/boost/hana/concept/monoid.hpp", + "external/sources/boost/boost/hana/concept/orderable.hpp", + "external/sources/boost/boost/hana/concept/product.hpp", + "external/sources/boost/boost/hana/concept/ring.hpp", + "external/sources/boost/boost/hana/concept/searchable.hpp", + "external/sources/boost/boost/hana/concept/sequence.hpp", + "external/sources/boost/boost/hana/concept/struct.hpp", + "external/sources/boost/boost/hana/config.hpp", + "external/sources/boost/boost/hana/contains.hpp", + "external/sources/boost/boost/hana/core.hpp", + "external/sources/boost/boost/hana/core/common.hpp", + "external/sources/boost/boost/hana/core/default.hpp", + "external/sources/boost/boost/hana/core/dispatch.hpp", + "external/sources/boost/boost/hana/core/is_a.hpp", + "external/sources/boost/boost/hana/core/make.hpp", + "external/sources/boost/boost/hana/core/tag_of.hpp", + "external/sources/boost/boost/hana/core/to.hpp", + "external/sources/boost/boost/hana/core/when.hpp", + "external/sources/boost/boost/hana/count.hpp", + "external/sources/boost/boost/hana/count_if.hpp", + "external/sources/boost/boost/hana/cycle.hpp", + "external/sources/boost/boost/hana/define_struct.hpp", + "external/sources/boost/boost/hana/detail/algorithm.hpp", + "external/sources/boost/boost/hana/detail/any_of.hpp", + "external/sources/boost/boost/hana/detail/array.hpp", + "external/sources/boost/boost/hana/detail/canonical_constant.hpp", + "external/sources/boost/boost/hana/detail/concepts.hpp", + "external/sources/boost/boost/hana/detail/create.hpp", + "external/sources/boost/boost/hana/detail/decay.hpp", + "external/sources/boost/boost/hana/detail/dispatch_if.hpp", + "external/sources/boost/boost/hana/detail/ebo.hpp", + "external/sources/boost/boost/hana/detail/fast_and.hpp", + "external/sources/boost/boost/hana/detail/first_unsatisfied_index.hpp", + "external/sources/boost/boost/hana/detail/has_common_embedding.hpp", + "external/sources/boost/boost/hana/detail/has_duplicates.hpp", + "external/sources/boost/boost/hana/detail/hash_table.hpp", + "external/sources/boost/boost/hana/detail/index_if.hpp", + "external/sources/boost/boost/hana/detail/integral_constant.hpp", + "external/sources/boost/boost/hana/detail/intrinsics.hpp", + "external/sources/boost/boost/hana/detail/nested_by.hpp", + "external/sources/boost/boost/hana/detail/nested_by_fwd.hpp", + "external/sources/boost/boost/hana/detail/nested_than.hpp", + "external/sources/boost/boost/hana/detail/nested_than_fwd.hpp", + "external/sources/boost/boost/hana/detail/nested_to.hpp", + "external/sources/boost/boost/hana/detail/nested_to_fwd.hpp", + "external/sources/boost/boost/hana/detail/operators/adl.hpp", + "external/sources/boost/boost/hana/detail/operators/arithmetic.hpp", + "external/sources/boost/boost/hana/detail/operators/comparable.hpp", + "external/sources/boost/boost/hana/detail/operators/iterable.hpp", + "external/sources/boost/boost/hana/detail/operators/logical.hpp", + "external/sources/boost/boost/hana/detail/operators/monad.hpp", + "external/sources/boost/boost/hana/detail/operators/orderable.hpp", + "external/sources/boost/boost/hana/detail/operators/searchable.hpp", + "external/sources/boost/boost/hana/detail/preprocessor.hpp", + "external/sources/boost/boost/hana/detail/std_common_type.hpp", + "external/sources/boost/boost/hana/detail/struct_macros.hpp", + "external/sources/boost/boost/hana/detail/struct_macros.hpp.erb", + "external/sources/boost/boost/hana/detail/type_at.hpp", + "external/sources/boost/boost/hana/detail/type_foldl1.hpp", + "external/sources/boost/boost/hana/detail/type_foldr1.hpp", + "external/sources/boost/boost/hana/detail/unpack_flatten.hpp", + "external/sources/boost/boost/hana/detail/variadic/at.hpp", + "external/sources/boost/boost/hana/detail/variadic/drop_into.hpp", + "external/sources/boost/boost/hana/detail/variadic/foldl1.hpp", + "external/sources/boost/boost/hana/detail/variadic/foldr1.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply/flat.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply/unrolled.hpp", + "external/sources/boost/boost/hana/detail/variadic/split_at.hpp", + "external/sources/boost/boost/hana/detail/variadic/take.hpp", + "external/sources/boost/boost/hana/detail/void_t.hpp", + "external/sources/boost/boost/hana/detail/wrong.hpp", + "external/sources/boost/boost/hana/difference.hpp", + "external/sources/boost/boost/hana/div.hpp", + "external/sources/boost/boost/hana/drop_back.hpp", + "external/sources/boost/boost/hana/drop_front.hpp", + "external/sources/boost/boost/hana/drop_front_exactly.hpp", + "external/sources/boost/boost/hana/drop_while.hpp", + "external/sources/boost/boost/hana/duplicate.hpp", + "external/sources/boost/boost/hana/empty.hpp", + "external/sources/boost/boost/hana/equal.hpp", + "external/sources/boost/boost/hana/erase_key.hpp", + "external/sources/boost/boost/hana/eval.hpp", + "external/sources/boost/boost/hana/eval_if.hpp", + "external/sources/boost/boost/hana/experimental/printable.hpp", + "external/sources/boost/boost/hana/experimental/type_name.hpp", + "external/sources/boost/boost/hana/experimental/types.hpp", + "external/sources/boost/boost/hana/experimental/view.hpp", + "external/sources/boost/boost/hana/ext/boost.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/deque.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/detail/common.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/list.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/tuple.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/vector.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/integral_c.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/list.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/vector.hpp", + "external/sources/boost/boost/hana/ext/boost/tuple.hpp", + "external/sources/boost/boost/hana/ext/std.hpp", + "external/sources/boost/boost/hana/ext/std/array.hpp", + "external/sources/boost/boost/hana/ext/std/integer_sequence.hpp", + "external/sources/boost/boost/hana/ext/std/integral_constant.hpp", + "external/sources/boost/boost/hana/ext/std/pair.hpp", + "external/sources/boost/boost/hana/ext/std/ratio.hpp", + "external/sources/boost/boost/hana/ext/std/tuple.hpp", + "external/sources/boost/boost/hana/ext/std/vector.hpp", + "external/sources/boost/boost/hana/extend.hpp", + "external/sources/boost/boost/hana/extract.hpp", + "external/sources/boost/boost/hana/fill.hpp", + "external/sources/boost/boost/hana/filter.hpp", + "external/sources/boost/boost/hana/find.hpp", + "external/sources/boost/boost/hana/find_if.hpp", + "external/sources/boost/boost/hana/first.hpp", + "external/sources/boost/boost/hana/flatten.hpp", + "external/sources/boost/boost/hana/fold.hpp", + "external/sources/boost/boost/hana/fold_left.hpp", + "external/sources/boost/boost/hana/fold_right.hpp", + "external/sources/boost/boost/hana/for_each.hpp", + "external/sources/boost/boost/hana/front.hpp", + "external/sources/boost/boost/hana/functional.hpp", + "external/sources/boost/boost/hana/functional/always.hpp", + "external/sources/boost/boost/hana/functional/apply.hpp", + "external/sources/boost/boost/hana/functional/arg.hpp", + "external/sources/boost/boost/hana/functional/capture.hpp", + "external/sources/boost/boost/hana/functional/compose.hpp", + "external/sources/boost/boost/hana/functional/curry.hpp", + "external/sources/boost/boost/hana/functional/demux.hpp", + "external/sources/boost/boost/hana/functional/fix.hpp", + "external/sources/boost/boost/hana/functional/flip.hpp", + "external/sources/boost/boost/hana/functional/id.hpp", + "external/sources/boost/boost/hana/functional/infix.hpp", + "external/sources/boost/boost/hana/functional/iterate.hpp", + "external/sources/boost/boost/hana/functional/lockstep.hpp", + "external/sources/boost/boost/hana/functional/on.hpp", + "external/sources/boost/boost/hana/functional/overload.hpp", + "external/sources/boost/boost/hana/functional/overload_linearly.hpp", + "external/sources/boost/boost/hana/functional/partial.hpp", + "external/sources/boost/boost/hana/functional/placeholder.hpp", + "external/sources/boost/boost/hana/functional/reverse_partial.hpp", + "external/sources/boost/boost/hana/fuse.hpp", + "external/sources/boost/boost/hana/fwd/accessors.hpp", + "external/sources/boost/boost/hana/fwd/adapt_adt.hpp", + "external/sources/boost/boost/hana/fwd/adapt_struct.hpp", + "external/sources/boost/boost/hana/fwd/adjust.hpp", + "external/sources/boost/boost/hana/fwd/adjust_if.hpp", + "external/sources/boost/boost/hana/fwd/all.hpp", + "external/sources/boost/boost/hana/fwd/all_of.hpp", + "external/sources/boost/boost/hana/fwd/and.hpp", + "external/sources/boost/boost/hana/fwd/any.hpp", + "external/sources/boost/boost/hana/fwd/any_of.hpp", + "external/sources/boost/boost/hana/fwd/ap.hpp", + "external/sources/boost/boost/hana/fwd/append.hpp", + "external/sources/boost/boost/hana/fwd/at.hpp", + "external/sources/boost/boost/hana/fwd/at_key.hpp", + "external/sources/boost/boost/hana/fwd/back.hpp", + "external/sources/boost/boost/hana/fwd/basic_tuple.hpp", + "external/sources/boost/boost/hana/fwd/bool.hpp", + "external/sources/boost/boost/hana/fwd/cartesian_product.hpp", + "external/sources/boost/boost/hana/fwd/chain.hpp", + "external/sources/boost/boost/hana/fwd/comparing.hpp", + "external/sources/boost/boost/hana/fwd/concat.hpp", + "external/sources/boost/boost/hana/fwd/concept/applicative.hpp", + "external/sources/boost/boost/hana/fwd/concept/comonad.hpp", + "external/sources/boost/boost/hana/fwd/concept/comparable.hpp", + "external/sources/boost/boost/hana/fwd/concept/constant.hpp", + "external/sources/boost/boost/hana/fwd/concept/euclidean_ring.hpp", + "external/sources/boost/boost/hana/fwd/concept/foldable.hpp", + "external/sources/boost/boost/hana/fwd/concept/functor.hpp", + "external/sources/boost/boost/hana/fwd/concept/group.hpp", + "external/sources/boost/boost/hana/fwd/concept/hashable.hpp", + "external/sources/boost/boost/hana/fwd/concept/integral_constant.hpp", + "external/sources/boost/boost/hana/fwd/concept/iterable.hpp", + "external/sources/boost/boost/hana/fwd/concept/logical.hpp", + "external/sources/boost/boost/hana/fwd/concept/metafunction.hpp", + "external/sources/boost/boost/hana/fwd/concept/monad.hpp", + "external/sources/boost/boost/hana/fwd/concept/monad_plus.hpp", + "external/sources/boost/boost/hana/fwd/concept/monoid.hpp", + "external/sources/boost/boost/hana/fwd/concept/orderable.hpp", + "external/sources/boost/boost/hana/fwd/concept/product.hpp", + "external/sources/boost/boost/hana/fwd/concept/ring.hpp", + "external/sources/boost/boost/hana/fwd/concept/searchable.hpp", + "external/sources/boost/boost/hana/fwd/concept/sequence.hpp", + "external/sources/boost/boost/hana/fwd/concept/struct.hpp", + "external/sources/boost/boost/hana/fwd/contains.hpp", + "external/sources/boost/boost/hana/fwd/core.hpp", + "external/sources/boost/boost/hana/fwd/core/common.hpp", + "external/sources/boost/boost/hana/fwd/core/default.hpp", + "external/sources/boost/boost/hana/fwd/core/is_a.hpp", + "external/sources/boost/boost/hana/fwd/core/make.hpp", + "external/sources/boost/boost/hana/fwd/core/tag_of.hpp", + "external/sources/boost/boost/hana/fwd/core/to.hpp", + "external/sources/boost/boost/hana/fwd/core/when.hpp", + "external/sources/boost/boost/hana/fwd/count.hpp", + "external/sources/boost/boost/hana/fwd/count_if.hpp", + "external/sources/boost/boost/hana/fwd/cycle.hpp", + "external/sources/boost/boost/hana/fwd/define_struct.hpp", + "external/sources/boost/boost/hana/fwd/difference.hpp", + "external/sources/boost/boost/hana/fwd/div.hpp", + "external/sources/boost/boost/hana/fwd/drop_back.hpp", + "external/sources/boost/boost/hana/fwd/drop_front.hpp", + "external/sources/boost/boost/hana/fwd/drop_front_exactly.hpp", + "external/sources/boost/boost/hana/fwd/drop_while.hpp", + "external/sources/boost/boost/hana/fwd/duplicate.hpp", + "external/sources/boost/boost/hana/fwd/empty.hpp", + "external/sources/boost/boost/hana/fwd/equal.hpp", + "external/sources/boost/boost/hana/fwd/erase_key.hpp", + "external/sources/boost/boost/hana/fwd/eval.hpp", + "external/sources/boost/boost/hana/fwd/eval_if.hpp", + "external/sources/boost/boost/hana/fwd/extend.hpp", + "external/sources/boost/boost/hana/fwd/extract.hpp", + "external/sources/boost/boost/hana/fwd/fill.hpp", + "external/sources/boost/boost/hana/fwd/filter.hpp", + "external/sources/boost/boost/hana/fwd/find.hpp", + "external/sources/boost/boost/hana/fwd/find_if.hpp", + "external/sources/boost/boost/hana/fwd/first.hpp", + "external/sources/boost/boost/hana/fwd/flatten.hpp", + "external/sources/boost/boost/hana/fwd/fold.hpp", + "external/sources/boost/boost/hana/fwd/fold_left.hpp", + "external/sources/boost/boost/hana/fwd/fold_right.hpp", + "external/sources/boost/boost/hana/fwd/for_each.hpp", + "external/sources/boost/boost/hana/fwd/front.hpp", + "external/sources/boost/boost/hana/fwd/fuse.hpp", + "external/sources/boost/boost/hana/fwd/greater.hpp", + "external/sources/boost/boost/hana/fwd/greater_equal.hpp", + "external/sources/boost/boost/hana/fwd/group.hpp", + "external/sources/boost/boost/hana/fwd/hash.hpp", + "external/sources/boost/boost/hana/fwd/if.hpp", + "external/sources/boost/boost/hana/fwd/index_if.hpp", + "external/sources/boost/boost/hana/fwd/insert.hpp", + "external/sources/boost/boost/hana/fwd/insert_range.hpp", + "external/sources/boost/boost/hana/fwd/integral_constant.hpp", + "external/sources/boost/boost/hana/fwd/intersection.hpp", + "external/sources/boost/boost/hana/fwd/intersperse.hpp", + "external/sources/boost/boost/hana/fwd/is_disjoint.hpp", + "external/sources/boost/boost/hana/fwd/is_empty.hpp", + "external/sources/boost/boost/hana/fwd/is_subset.hpp", + "external/sources/boost/boost/hana/fwd/keys.hpp", + "external/sources/boost/boost/hana/fwd/lazy.hpp", + "external/sources/boost/boost/hana/fwd/length.hpp", + "external/sources/boost/boost/hana/fwd/less.hpp", + "external/sources/boost/boost/hana/fwd/less_equal.hpp", + "external/sources/boost/boost/hana/fwd/lexicographical_compare.hpp", + "external/sources/boost/boost/hana/fwd/lift.hpp", + "external/sources/boost/boost/hana/fwd/map.hpp", + "external/sources/boost/boost/hana/fwd/max.hpp", + "external/sources/boost/boost/hana/fwd/maximum.hpp", + "external/sources/boost/boost/hana/fwd/members.hpp", + "external/sources/boost/boost/hana/fwd/min.hpp", + "external/sources/boost/boost/hana/fwd/minimum.hpp", + "external/sources/boost/boost/hana/fwd/minus.hpp", + "external/sources/boost/boost/hana/fwd/mod.hpp", + "external/sources/boost/boost/hana/fwd/monadic_compose.hpp", + "external/sources/boost/boost/hana/fwd/monadic_fold_left.hpp", + "external/sources/boost/boost/hana/fwd/monadic_fold_right.hpp", + "external/sources/boost/boost/hana/fwd/mult.hpp", + "external/sources/boost/boost/hana/fwd/negate.hpp", + "external/sources/boost/boost/hana/fwd/none.hpp", + "external/sources/boost/boost/hana/fwd/none_of.hpp", + "external/sources/boost/boost/hana/fwd/not.hpp", + "external/sources/boost/boost/hana/fwd/not_equal.hpp", + "external/sources/boost/boost/hana/fwd/one.hpp", + "external/sources/boost/boost/hana/fwd/optional.hpp", + "external/sources/boost/boost/hana/fwd/or.hpp", + "external/sources/boost/boost/hana/fwd/ordering.hpp", + "external/sources/boost/boost/hana/fwd/pair.hpp", + "external/sources/boost/boost/hana/fwd/partition.hpp", + "external/sources/boost/boost/hana/fwd/permutations.hpp", + "external/sources/boost/boost/hana/fwd/plus.hpp", + "external/sources/boost/boost/hana/fwd/power.hpp", + "external/sources/boost/boost/hana/fwd/prefix.hpp", + "external/sources/boost/boost/hana/fwd/prepend.hpp", + "external/sources/boost/boost/hana/fwd/product.hpp", + "external/sources/boost/boost/hana/fwd/range.hpp", + "external/sources/boost/boost/hana/fwd/remove.hpp", + "external/sources/boost/boost/hana/fwd/remove_at.hpp", + "external/sources/boost/boost/hana/fwd/remove_if.hpp", + "external/sources/boost/boost/hana/fwd/remove_range.hpp", + "external/sources/boost/boost/hana/fwd/repeat.hpp", + "external/sources/boost/boost/hana/fwd/replace.hpp", + "external/sources/boost/boost/hana/fwd/replace_if.hpp", + "external/sources/boost/boost/hana/fwd/replicate.hpp", + "external/sources/boost/boost/hana/fwd/reverse.hpp", + "external/sources/boost/boost/hana/fwd/reverse_fold.hpp", + "external/sources/boost/boost/hana/fwd/scan_left.hpp", + "external/sources/boost/boost/hana/fwd/scan_right.hpp", + "external/sources/boost/boost/hana/fwd/second.hpp", + "external/sources/boost/boost/hana/fwd/set.hpp", + "external/sources/boost/boost/hana/fwd/size.hpp", + "external/sources/boost/boost/hana/fwd/slice.hpp", + "external/sources/boost/boost/hana/fwd/sort.hpp", + "external/sources/boost/boost/hana/fwd/span.hpp", + "external/sources/boost/boost/hana/fwd/string.hpp", + "external/sources/boost/boost/hana/fwd/suffix.hpp", + "external/sources/boost/boost/hana/fwd/sum.hpp", + "external/sources/boost/boost/hana/fwd/symmetric_difference.hpp", + "external/sources/boost/boost/hana/fwd/take_back.hpp", + "external/sources/boost/boost/hana/fwd/take_front.hpp", + "external/sources/boost/boost/hana/fwd/take_while.hpp", + "external/sources/boost/boost/hana/fwd/tap.hpp", + "external/sources/boost/boost/hana/fwd/then.hpp", + "external/sources/boost/boost/hana/fwd/transform.hpp", + "external/sources/boost/boost/hana/fwd/tuple.hpp", + "external/sources/boost/boost/hana/fwd/type.hpp", + "external/sources/boost/boost/hana/fwd/unfold_left.hpp", + "external/sources/boost/boost/hana/fwd/unfold_right.hpp", + "external/sources/boost/boost/hana/fwd/union.hpp", + "external/sources/boost/boost/hana/fwd/unique.hpp", + "external/sources/boost/boost/hana/fwd/unpack.hpp", + "external/sources/boost/boost/hana/fwd/value.hpp", + "external/sources/boost/boost/hana/fwd/while.hpp", + "external/sources/boost/boost/hana/fwd/zero.hpp", + "external/sources/boost/boost/hana/fwd/zip.hpp", + "external/sources/boost/boost/hana/fwd/zip_shortest.hpp", + "external/sources/boost/boost/hana/fwd/zip_shortest_with.hpp", + "external/sources/boost/boost/hana/fwd/zip_with.hpp", + "external/sources/boost/boost/hana/greater.hpp", + "external/sources/boost/boost/hana/greater_equal.hpp", + "external/sources/boost/boost/hana/group.hpp", + "external/sources/boost/boost/hana/hash.hpp", + "external/sources/boost/boost/hana/if.hpp", + "external/sources/boost/boost/hana/index_if.hpp", + "external/sources/boost/boost/hana/insert.hpp", + "external/sources/boost/boost/hana/insert_range.hpp", + "external/sources/boost/boost/hana/integral_constant.hpp", + "external/sources/boost/boost/hana/intersection.hpp", + "external/sources/boost/boost/hana/intersperse.hpp", + "external/sources/boost/boost/hana/is_disjoint.hpp", + "external/sources/boost/boost/hana/is_empty.hpp", + "external/sources/boost/boost/hana/is_subset.hpp", + "external/sources/boost/boost/hana/keys.hpp", + "external/sources/boost/boost/hana/lazy.hpp", + "external/sources/boost/boost/hana/length.hpp", + "external/sources/boost/boost/hana/less.hpp", + "external/sources/boost/boost/hana/less_equal.hpp", + "external/sources/boost/boost/hana/lexicographical_compare.hpp", + "external/sources/boost/boost/hana/lift.hpp", + "external/sources/boost/boost/hana/map.hpp", + "external/sources/boost/boost/hana/max.hpp", + "external/sources/boost/boost/hana/maximum.hpp", + "external/sources/boost/boost/hana/members.hpp", + "external/sources/boost/boost/hana/min.hpp", + "external/sources/boost/boost/hana/minimum.hpp", + "external/sources/boost/boost/hana/minus.hpp", + "external/sources/boost/boost/hana/mod.hpp", + "external/sources/boost/boost/hana/monadic_compose.hpp", + "external/sources/boost/boost/hana/monadic_fold_left.hpp", + "external/sources/boost/boost/hana/monadic_fold_right.hpp", + "external/sources/boost/boost/hana/mult.hpp", + "external/sources/boost/boost/hana/negate.hpp", + "external/sources/boost/boost/hana/none.hpp", + "external/sources/boost/boost/hana/none_of.hpp", + "external/sources/boost/boost/hana/not.hpp", + "external/sources/boost/boost/hana/not_equal.hpp", + "external/sources/boost/boost/hana/one.hpp", + "external/sources/boost/boost/hana/optional.hpp", + "external/sources/boost/boost/hana/or.hpp", + "external/sources/boost/boost/hana/ordering.hpp", + "external/sources/boost/boost/hana/pair.hpp", + "external/sources/boost/boost/hana/partition.hpp", + "external/sources/boost/boost/hana/permutations.hpp", + "external/sources/boost/boost/hana/plus.hpp", + "external/sources/boost/boost/hana/power.hpp", + "external/sources/boost/boost/hana/prefix.hpp", + "external/sources/boost/boost/hana/prepend.hpp", + "external/sources/boost/boost/hana/product.hpp", + "external/sources/boost/boost/hana/range.hpp", + "external/sources/boost/boost/hana/remove.hpp", + "external/sources/boost/boost/hana/remove_at.hpp", + "external/sources/boost/boost/hana/remove_if.hpp", + "external/sources/boost/boost/hana/remove_range.hpp", + "external/sources/boost/boost/hana/repeat.hpp", + "external/sources/boost/boost/hana/replace.hpp", + "external/sources/boost/boost/hana/replace_if.hpp", + "external/sources/boost/boost/hana/replicate.hpp", + "external/sources/boost/boost/hana/reverse.hpp", + "external/sources/boost/boost/hana/reverse_fold.hpp", + "external/sources/boost/boost/hana/scan_left.hpp", + "external/sources/boost/boost/hana/scan_right.hpp", + "external/sources/boost/boost/hana/second.hpp", + "external/sources/boost/boost/hana/set.hpp", + "external/sources/boost/boost/hana/size.hpp", + "external/sources/boost/boost/hana/slice.hpp", + "external/sources/boost/boost/hana/sort.hpp", + "external/sources/boost/boost/hana/span.hpp", + "external/sources/boost/boost/hana/string.hpp", + "external/sources/boost/boost/hana/suffix.hpp", + "external/sources/boost/boost/hana/sum.hpp", + "external/sources/boost/boost/hana/symmetric_difference.hpp", + "external/sources/boost/boost/hana/take_back.hpp", + "external/sources/boost/boost/hana/take_front.hpp", + "external/sources/boost/boost/hana/take_while.hpp", + "external/sources/boost/boost/hana/tap.hpp", + "external/sources/boost/boost/hana/then.hpp", + "external/sources/boost/boost/hana/traits.hpp", + "external/sources/boost/boost/hana/transform.hpp", + "external/sources/boost/boost/hana/tuple.hpp", + "external/sources/boost/boost/hana/type.hpp", + "external/sources/boost/boost/hana/unfold_left.hpp", + "external/sources/boost/boost/hana/unfold_right.hpp", + "external/sources/boost/boost/hana/union.hpp", + "external/sources/boost/boost/hana/unique.hpp", + "external/sources/boost/boost/hana/unpack.hpp", + "external/sources/boost/boost/hana/value.hpp", + "external/sources/boost/boost/hana/version.hpp", + "external/sources/boost/boost/hana/while.hpp", + "external/sources/boost/boost/hana/zero.hpp", + "external/sources/boost/boost/hana/zip.hpp", + "external/sources/boost/boost/hana/zip_shortest.hpp", + "external/sources/boost/boost/hana/zip_shortest_with.hpp", + "external/sources/boost/boost/hana/zip_with.hpp", + "external/sources/boost/boost/heap/binomial_heap.hpp", + "external/sources/boost/boost/heap/d_ary_heap.hpp", + "external/sources/boost/boost/heap/detail/heap_comparison.hpp", + "external/sources/boost/boost/heap/detail/heap_node.hpp", + "external/sources/boost/boost/heap/detail/ilog2.hpp", + "external/sources/boost/boost/heap/detail/mutable_heap.hpp", + "external/sources/boost/boost/heap/detail/ordered_adaptor_iterator.hpp", + "external/sources/boost/boost/heap/detail/stable_heap.hpp", + "external/sources/boost/boost/heap/detail/tree_iterator.hpp", + "external/sources/boost/boost/heap/fibonacci_heap.hpp", + "external/sources/boost/boost/heap/heap_concepts.hpp", + "external/sources/boost/boost/heap/heap_merge.hpp", + "external/sources/boost/boost/heap/pairing_heap.hpp", + "external/sources/boost/boost/heap/policies.hpp", + "external/sources/boost/boost/heap/priority_queue.hpp", + "external/sources/boost/boost/heap/skew_heap.hpp", + "external/sources/boost/boost/histogram.hpp", + "external/sources/boost/boost/histogram/accumulators.hpp", + "external/sources/boost/boost/histogram/accumulators/count.hpp", + "external/sources/boost/boost/histogram/accumulators/mean.hpp", + "external/sources/boost/boost/histogram/accumulators/ostream.hpp", + "external/sources/boost/boost/histogram/accumulators/sum.hpp", + "external/sources/boost/boost/histogram/accumulators/thread_safe.hpp", + "external/sources/boost/boost/histogram/accumulators/weighted_mean.hpp", + "external/sources/boost/boost/histogram/accumulators/weighted_sum.hpp", + "external/sources/boost/boost/histogram/algorithm.hpp", + "external/sources/boost/boost/histogram/algorithm/empty.hpp", + "external/sources/boost/boost/histogram/algorithm/project.hpp", + "external/sources/boost/boost/histogram/algorithm/reduce.hpp", + "external/sources/boost/boost/histogram/algorithm/sum.hpp", + "external/sources/boost/boost/histogram/axis.hpp", + "external/sources/boost/boost/histogram/axis/boolean.hpp", + "external/sources/boost/boost/histogram/axis/category.hpp", + "external/sources/boost/boost/histogram/axis/integer.hpp", + "external/sources/boost/boost/histogram/axis/interval_view.hpp", + "external/sources/boost/boost/histogram/axis/iterator.hpp", + "external/sources/boost/boost/histogram/axis/metadata_base.hpp", + "external/sources/boost/boost/histogram/axis/option.hpp", + "external/sources/boost/boost/histogram/axis/ostream.hpp", + "external/sources/boost/boost/histogram/axis/polymorphic_bin.hpp", + "external/sources/boost/boost/histogram/axis/regular.hpp", + "external/sources/boost/boost/histogram/axis/traits.hpp", + "external/sources/boost/boost/histogram/axis/variable.hpp", + "external/sources/boost/boost/histogram/axis/variant.hpp", + "external/sources/boost/boost/histogram/detail/accumulator_traits.hpp", + "external/sources/boost/boost/histogram/detail/args_type.hpp", + "external/sources/boost/boost/histogram/detail/argument_traits.hpp", + "external/sources/boost/boost/histogram/detail/array_wrapper.hpp", + "external/sources/boost/boost/histogram/detail/axes.hpp", + "external/sources/boost/boost/histogram/detail/common_type.hpp", + "external/sources/boost/boost/histogram/detail/convert_integer.hpp", + "external/sources/boost/boost/histogram/detail/counting_streambuf.hpp", + "external/sources/boost/boost/histogram/detail/detect.hpp", + "external/sources/boost/boost/histogram/detail/fill.hpp", + "external/sources/boost/boost/histogram/detail/fill_n.hpp", + "external/sources/boost/boost/histogram/detail/index_translator.hpp", + "external/sources/boost/boost/histogram/detail/iterator_adaptor.hpp", + "external/sources/boost/boost/histogram/detail/large_int.hpp", + "external/sources/boost/boost/histogram/detail/limits.hpp", + "external/sources/boost/boost/histogram/detail/linearize.hpp", + "external/sources/boost/boost/histogram/detail/make_default.hpp", + "external/sources/boost/boost/histogram/detail/mutex_base.hpp", + "external/sources/boost/boost/histogram/detail/nonmember_container_access.hpp", + "external/sources/boost/boost/histogram/detail/operators.hpp", + "external/sources/boost/boost/histogram/detail/optional_index.hpp", + "external/sources/boost/boost/histogram/detail/priority.hpp", + "external/sources/boost/boost/histogram/detail/reduce_command.hpp", + "external/sources/boost/boost/histogram/detail/relaxed_equal.hpp", + "external/sources/boost/boost/histogram/detail/relaxed_tuple_size.hpp", + "external/sources/boost/boost/histogram/detail/replace_type.hpp", + "external/sources/boost/boost/histogram/detail/safe_comparison.hpp", + "external/sources/boost/boost/histogram/detail/span.hpp", + "external/sources/boost/boost/histogram/detail/static_if.hpp", + "external/sources/boost/boost/histogram/detail/sub_array.hpp", + "external/sources/boost/boost/histogram/detail/try_cast.hpp", + "external/sources/boost/boost/histogram/detail/tuple_slice.hpp", + "external/sources/boost/boost/histogram/detail/type_name.hpp", + "external/sources/boost/boost/histogram/detail/variant_proxy.hpp", + "external/sources/boost/boost/histogram/fwd.hpp", + "external/sources/boost/boost/histogram/histogram.hpp", + "external/sources/boost/boost/histogram/indexed.hpp", + "external/sources/boost/boost/histogram/literals.hpp", + "external/sources/boost/boost/histogram/make_histogram.hpp", + "external/sources/boost/boost/histogram/make_profile.hpp", + "external/sources/boost/boost/histogram/multi_index.hpp", + "external/sources/boost/boost/histogram/ostream.hpp", + "external/sources/boost/boost/histogram/sample.hpp", + "external/sources/boost/boost/histogram/serialization.hpp", + "external/sources/boost/boost/histogram/storage_adaptor.hpp", + "external/sources/boost/boost/histogram/unlimited_storage.hpp", + "external/sources/boost/boost/histogram/unsafe_access.hpp", + "external/sources/boost/boost/histogram/weight.hpp", + "external/sources/boost/boost/hof.hpp", + "external/sources/boost/boost/hof/alias.hpp", + "external/sources/boost/boost/hof/always.hpp", + "external/sources/boost/boost/hof/apply.hpp", + "external/sources/boost/boost/hof/apply_eval.hpp", + "external/sources/boost/boost/hof/arg.hpp", + "external/sources/boost/boost/hof/capture.hpp", + "external/sources/boost/boost/hof/combine.hpp", + "external/sources/boost/boost/hof/compose.hpp", + "external/sources/boost/boost/hof/config.hpp", + "external/sources/boost/boost/hof/construct.hpp", + "external/sources/boost/boost/hof/decay.hpp", + "external/sources/boost/boost/hof/decorate.hpp", + "external/sources/boost/boost/hof/detail/and.hpp", + "external/sources/boost/boost/hof/detail/callable_base.hpp", + "external/sources/boost/boost/hof/detail/can_be_called.hpp", + "external/sources/boost/boost/hof/detail/compressed_pair.hpp", + "external/sources/boost/boost/hof/detail/constexpr_deduce.hpp", + "external/sources/boost/boost/hof/detail/delegate.hpp", + "external/sources/boost/boost/hof/detail/forward.hpp", + "external/sources/boost/boost/hof/detail/holder.hpp", + "external/sources/boost/boost/hof/detail/intrinsics.hpp", + "external/sources/boost/boost/hof/detail/join.hpp", + "external/sources/boost/boost/hof/detail/make.hpp", + "external/sources/boost/boost/hof/detail/move.hpp", + "external/sources/boost/boost/hof/detail/noexcept.hpp", + "external/sources/boost/boost/hof/detail/pp.hpp", + "external/sources/boost/boost/hof/detail/recursive_constexpr_depth.hpp", + "external/sources/boost/boost/hof/detail/remove_rvalue_reference.hpp", + "external/sources/boost/boost/hof/detail/result_of.hpp", + "external/sources/boost/boost/hof/detail/result_type.hpp", + "external/sources/boost/boost/hof/detail/seq.hpp", + "external/sources/boost/boost/hof/detail/static_const_var.hpp", + "external/sources/boost/boost/hof/detail/unpack_tuple.hpp", + "external/sources/boost/boost/hof/detail/unwrap.hpp", + "external/sources/boost/boost/hof/detail/using.hpp", + "external/sources/boost/boost/hof/eval.hpp", + "external/sources/boost/boost/hof/first_of.hpp", + "external/sources/boost/boost/hof/fix.hpp", + "external/sources/boost/boost/hof/flip.hpp", + "external/sources/boost/boost/hof/flow.hpp", + "external/sources/boost/boost/hof/fold.hpp", + "external/sources/boost/boost/hof/function.hpp", + "external/sources/boost/boost/hof/function_param_limit.hpp", + "external/sources/boost/boost/hof/identity.hpp", + "external/sources/boost/boost/hof/if.hpp", + "external/sources/boost/boost/hof/implicit.hpp", + "external/sources/boost/boost/hof/indirect.hpp", + "external/sources/boost/boost/hof/infix.hpp", + "external/sources/boost/boost/hof/is_invocable.hpp", + "external/sources/boost/boost/hof/is_unpackable.hpp", + "external/sources/boost/boost/hof/lambda.hpp", + "external/sources/boost/boost/hof/lazy.hpp", + "external/sources/boost/boost/hof/lift.hpp", + "external/sources/boost/boost/hof/limit.hpp", + "external/sources/boost/boost/hof/match.hpp", + "external/sources/boost/boost/hof/mutable.hpp", + "external/sources/boost/boost/hof/pack.hpp", + "external/sources/boost/boost/hof/partial.hpp", + "external/sources/boost/boost/hof/pipable.hpp", + "external/sources/boost/boost/hof/placeholders.hpp", + "external/sources/boost/boost/hof/proj.hpp", + "external/sources/boost/boost/hof/protect.hpp", + "external/sources/boost/boost/hof/repeat.hpp", + "external/sources/boost/boost/hof/repeat_while.hpp", + "external/sources/boost/boost/hof/result.hpp", + "external/sources/boost/boost/hof/returns.hpp", + "external/sources/boost/boost/hof/reveal.hpp", + "external/sources/boost/boost/hof/reverse_fold.hpp", + "external/sources/boost/boost/hof/rotate.hpp", + "external/sources/boost/boost/hof/static.hpp", + "external/sources/boost/boost/hof/tap.hpp", + "external/sources/boost/boost/hof/unpack.hpp", + "external/sources/boost/boost/hof/unpack_sequence.hpp", + "external/sources/boost/boost/hof/version.hpp", + "external/sources/boost/boost/icl/associative_element_container.hpp", + "external/sources/boost/boost/icl/associative_interval_container.hpp", + "external/sources/boost/boost/icl/closed_interval.hpp", + "external/sources/boost/boost/icl/concept/comparable.hpp", + "external/sources/boost/boost/icl/concept/container.hpp", + "external/sources/boost/boost/icl/concept/element_associator.hpp", + "external/sources/boost/boost/icl/concept/element_map.hpp", + "external/sources/boost/boost/icl/concept/element_set.hpp", + "external/sources/boost/boost/icl/concept/element_set_value.hpp", + "external/sources/boost/boost/icl/concept/interval.hpp", + "external/sources/boost/boost/icl/concept/interval_associator.hpp", + "external/sources/boost/boost/icl/concept/interval_associator_base.hpp", + "external/sources/boost/boost/icl/concept/interval_bounds.hpp", + "external/sources/boost/boost/icl/concept/interval_map.hpp", + "external/sources/boost/boost/icl/concept/interval_set.hpp", + "external/sources/boost/boost/icl/concept/interval_set_value.hpp", + "external/sources/boost/boost/icl/concept/joinable.hpp", + "external/sources/boost/boost/icl/concept/map_value.hpp", + "external/sources/boost/boost/icl/concept/set_value.hpp", + "external/sources/boost/boost/icl/continuous_interval.hpp", + "external/sources/boost/boost/icl/detail/associated_value.hpp", + "external/sources/boost/boost/icl/detail/boost_config.hpp", + "external/sources/boost/boost/icl/detail/concept_check.hpp", + "external/sources/boost/boost/icl/detail/design_config.hpp", + "external/sources/boost/boost/icl/detail/element_comparer.hpp", + "external/sources/boost/boost/icl/detail/element_iterator.hpp", + "external/sources/boost/boost/icl/detail/exclusive_less_than.hpp", + "external/sources/boost/boost/icl/detail/interval_map_algo.hpp", + "external/sources/boost/boost/icl/detail/interval_morphism.hpp", + "external/sources/boost/boost/icl/detail/interval_set_algo.hpp", + "external/sources/boost/boost/icl/detail/interval_subset_comparer.hpp", + "external/sources/boost/boost/icl/detail/map_algo.hpp", + "external/sources/boost/boost/icl/detail/mapped_reference.hpp", + "external/sources/boost/boost/icl/detail/notate.hpp", + "external/sources/boost/boost/icl/detail/on_absorbtion.hpp", + "external/sources/boost/boost/icl/detail/relation_state.hpp", + "external/sources/boost/boost/icl/detail/set_algo.hpp", + "external/sources/boost/boost/icl/detail/std_set.hpp", + "external/sources/boost/boost/icl/detail/subset_comparer.hpp", + "external/sources/boost/boost/icl/discrete_interval.hpp", + "external/sources/boost/boost/icl/dynamic_interval_traits.hpp", + "external/sources/boost/boost/icl/functors.hpp", + "external/sources/boost/boost/icl/gregorian.hpp", + "external/sources/boost/boost/icl/impl_config.hpp", + "external/sources/boost/boost/icl/interval.hpp", + "external/sources/boost/boost/icl/interval_base_map.hpp", + "external/sources/boost/boost/icl/interval_base_set.hpp", + "external/sources/boost/boost/icl/interval_bounds.hpp", + "external/sources/boost/boost/icl/interval_combining_style.hpp", + "external/sources/boost/boost/icl/interval_map.hpp", + "external/sources/boost/boost/icl/interval_set.hpp", + "external/sources/boost/boost/icl/interval_traits.hpp", + "external/sources/boost/boost/icl/iterator.hpp", + "external/sources/boost/boost/icl/left_open_interval.hpp", + "external/sources/boost/boost/icl/map.hpp", + "external/sources/boost/boost/icl/open_interval.hpp", + "external/sources/boost/boost/icl/predicates/distinct_equal.hpp", + "external/sources/boost/boost/icl/predicates/element_equal.hpp", + "external/sources/boost/boost/icl/predicates/std_equal.hpp", + "external/sources/boost/boost/icl/predicates/sub_super_set.hpp", + "external/sources/boost/boost/icl/ptime.hpp", + "external/sources/boost/boost/icl/rational.hpp", + "external/sources/boost/boost/icl/right_open_interval.hpp", + "external/sources/boost/boost/icl/separate_interval_set.hpp", + "external/sources/boost/boost/icl/set.hpp", + "external/sources/boost/boost/icl/split_interval_map.hpp", + "external/sources/boost/boost/icl/split_interval_set.hpp", + "external/sources/boost/boost/icl/type_traits/absorbs_identities.hpp", + "external/sources/boost/boost/icl/type_traits/adds_inversely.hpp", + "external/sources/boost/boost/icl/type_traits/codomain_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/difference.hpp", + "external/sources/boost/boost/icl/type_traits/difference_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/domain_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/element_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/has_inverse.hpp", + "external/sources/boost/boost/icl/type_traits/has_set_semantics.hpp", + "external/sources/boost/boost/icl/type_traits/identity_element.hpp", + "external/sources/boost/boost/icl/type_traits/infinity.hpp", + "external/sources/boost/boost/icl/type_traits/interval_type_default.hpp", + "external/sources/boost/boost/icl/type_traits/interval_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/is_associative_element_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_asymmetric_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_combinable.hpp", + "external/sources/boost/boost/icl/type_traits/is_concept_equivalent.hpp", + "external/sources/boost/boost/icl/type_traits/is_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_continuous.hpp", + "external/sources/boost/boost/icl/type_traits/is_continuous_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_discrete.hpp", + "external/sources/boost/boost/icl/type_traits/is_discrete_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_element_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_icl_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_increasing.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_joiner.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_separator.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_splitter.hpp", + "external/sources/boost/boost/icl/type_traits/is_key_container_of.hpp", + "external/sources/boost/boost/icl/type_traits/is_map.hpp", + "external/sources/boost/boost/icl/type_traits/is_numeric.hpp", + "external/sources/boost/boost/icl/type_traits/is_set.hpp", + "external/sources/boost/boost/icl/type_traits/is_total.hpp", + "external/sources/boost/boost/icl/type_traits/no_type.hpp", + "external/sources/boost/boost/icl/type_traits/predicate.hpp", + "external/sources/boost/boost/icl/type_traits/rep_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/segment_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/size.hpp", + "external/sources/boost/boost/icl/type_traits/size_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/succ_pred.hpp", + "external/sources/boost/boost/icl/type_traits/to_string.hpp", + "external/sources/boost/boost/icl/type_traits/type_to_string.hpp", + "external/sources/boost/boost/icl/type_traits/unit_element.hpp", + "external/sources/boost/boost/icl/type_traits/value_size.hpp", + "external/sources/boost/boost/implicit_cast.hpp", + "external/sources/boost/boost/indirect_reference.hpp", + "external/sources/boost/boost/integer.hpp", + "external/sources/boost/boost/integer/common_factor.hpp", + "external/sources/boost/boost/integer/common_factor_ct.hpp", + "external/sources/boost/boost/integer/common_factor_rt.hpp", + "external/sources/boost/boost/integer/extended_euclidean.hpp", + "external/sources/boost/boost/integer/integer_log2.hpp", + "external/sources/boost/boost/integer/integer_mask.hpp", + "external/sources/boost/boost/integer/mod_inverse.hpp", + "external/sources/boost/boost/integer/static_log2.hpp", + "external/sources/boost/boost/integer/static_min_max.hpp", + "external/sources/boost/boost/integer_fwd.hpp", + "external/sources/boost/boost/integer_traits.hpp", + "external/sources/boost/boost/interprocess/allocators/adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/cached_adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/cached_node_allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/adaptive_node_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/allocator_common.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/node_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/node_tools.hpp", + "external/sources/boost/boost/interprocess/allocators/node_allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/private_adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/private_node_allocator.hpp", + "external/sources/boost/boost/interprocess/anonymous_shared_memory.hpp", + "external/sources/boost/boost/interprocess/containers/allocation_type.hpp", + "external/sources/boost/boost/interprocess/containers/containers_fwd.hpp", + "external/sources/boost/boost/interprocess/containers/deque.hpp", + "external/sources/boost/boost/interprocess/containers/flat_map.hpp", + "external/sources/boost/boost/interprocess/containers/flat_set.hpp", + "external/sources/boost/boost/interprocess/containers/list.hpp", + "external/sources/boost/boost/interprocess/containers/map.hpp", + "external/sources/boost/boost/interprocess/containers/pair.hpp", + "external/sources/boost/boost/interprocess/containers/set.hpp", + "external/sources/boost/boost/interprocess/containers/slist.hpp", + "external/sources/boost/boost/interprocess/containers/stable_vector.hpp", + "external/sources/boost/boost/interprocess/containers/string.hpp", + "external/sources/boost/boost/interprocess/containers/vector.hpp", + "external/sources/boost/boost/interprocess/containers/version_type.hpp", + "external/sources/boost/boost/interprocess/creation_tags.hpp", + "external/sources/boost/boost/interprocess/detail/atomic.hpp", + "external/sources/boost/boost/interprocess/detail/cast_tags.hpp", + "external/sources/boost/boost/interprocess/detail/config_begin.hpp", + "external/sources/boost/boost/interprocess/detail/config_end.hpp", + "external/sources/boost/boost/interprocess/detail/config_external_begin.hpp", + "external/sources/boost/boost/interprocess/detail/config_external_end.hpp", + "external/sources/boost/boost/interprocess/detail/file_locking_helpers.hpp", + "external/sources/boost/boost/interprocess/detail/file_wrapper.hpp", + "external/sources/boost/boost/interprocess/detail/in_place_interface.hpp", + "external/sources/boost/boost/interprocess/detail/intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/intermodule_singleton_common.hpp", + "external/sources/boost/boost/interprocess/detail/interprocess_tester.hpp", + "external/sources/boost/boost/interprocess/detail/intersegment_ptr.hpp", + "external/sources/boost/boost/interprocess/detail/managed_global_memory.hpp", + "external/sources/boost/boost/interprocess/detail/managed_memory_impl.hpp", + "external/sources/boost/boost/interprocess/detail/managed_multi_shared_memory.hpp", + "external/sources/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp", + "external/sources/boost/boost/interprocess/detail/math_functions.hpp", + "external/sources/boost/boost/interprocess/detail/min_max.hpp", + "external/sources/boost/boost/interprocess/detail/move.hpp", + "external/sources/boost/boost/interprocess/detail/mpl.hpp", + "external/sources/boost/boost/interprocess/detail/named_proxy.hpp", + "external/sources/boost/boost/interprocess/detail/nothrow.hpp", + "external/sources/boost/boost/interprocess/detail/os_file_functions.hpp", + "external/sources/boost/boost/interprocess/detail/os_thread_functions.hpp", + "external/sources/boost/boost/interprocess/detail/pointer_type.hpp", + "external/sources/boost/boost/interprocess/detail/portable_intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/posix_time_types_wrk.hpp", + "external/sources/boost/boost/interprocess/detail/ptime_wrk.hpp", + "external/sources/boost/boost/interprocess/detail/robust_emulation.hpp", + "external/sources/boost/boost/interprocess/detail/segment_manager_helper.hpp", + "external/sources/boost/boost/interprocess/detail/shared_dir_helpers.hpp", + "external/sources/boost/boost/interprocess/detail/simple_swap.hpp", + "external/sources/boost/boost/interprocess/detail/std_fwd.hpp", + "external/sources/boost/boost/interprocess/detail/transform_iterator.hpp", + "external/sources/boost/boost/interprocess/detail/type_traits.hpp", + "external/sources/boost/boost/interprocess/detail/utilities.hpp", + "external/sources/boost/boost/interprocess/detail/variadic_templates_tools.hpp", + "external/sources/boost/boost/interprocess/detail/win32_api.hpp", + "external/sources/boost/boost/interprocess/detail/windows_intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/workaround.hpp", + "external/sources/boost/boost/interprocess/detail/xsi_shared_memory_file_wrapper.hpp", + "external/sources/boost/boost/interprocess/errors.hpp", + "external/sources/boost/boost/interprocess/exceptions.hpp", + "external/sources/boost/boost/interprocess/file_mapping.hpp", + "external/sources/boost/boost/interprocess/indexes/flat_map_index.hpp", + "external/sources/boost/boost/interprocess/indexes/iset_index.hpp", + "external/sources/boost/boost/interprocess/indexes/iunordered_set_index.hpp", + "external/sources/boost/boost/interprocess/indexes/map_index.hpp", + "external/sources/boost/boost/interprocess/indexes/null_index.hpp", + "external/sources/boost/boost/interprocess/indexes/unordered_map_index.hpp", + "external/sources/boost/boost/interprocess/interprocess_fwd.hpp", + "external/sources/boost/boost/interprocess/ipc/message_queue.hpp", + "external/sources/boost/boost/interprocess/managed_external_buffer.hpp", + "external/sources/boost/boost/interprocess/managed_heap_memory.hpp", + "external/sources/boost/boost/interprocess/managed_mapped_file.hpp", + "external/sources/boost/boost/interprocess/managed_shared_memory.hpp", + "external/sources/boost/boost/interprocess/managed_windows_shared_memory.hpp", + "external/sources/boost/boost/interprocess/managed_xsi_shared_memory.hpp", + "external/sources/boost/boost/interprocess/mapped_region.hpp", + "external/sources/boost/boost/interprocess/mem_algo/detail/mem_algo_common.hpp", + "external/sources/boost/boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp", + "external/sources/boost/boost/interprocess/mem_algo/rbtree_best_fit.hpp", + "external/sources/boost/boost/interprocess/mem_algo/simple_seq_fit.hpp", + "external/sources/boost/boost/interprocess/offset_ptr.hpp", + "external/sources/boost/boost/interprocess/permissions.hpp", + "external/sources/boost/boost/interprocess/segment_manager.hpp", + "external/sources/boost/boost/interprocess/shared_memory_object.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/deleter.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/bad_weak_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/shared_count.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/enable_shared_from_this.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/intrusive_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/scoped_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/shared_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/unique_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/weak_ptr.hpp", + "external/sources/boost/boost/interprocess/streams/bufferstream.hpp", + "external/sources/boost/boost/interprocess/streams/vectorstream.hpp", + "external/sources/boost/boost/interprocess/sync/detail/common_algorithms.hpp", + "external/sources/boost/boost/interprocess/sync/detail/condition_algorithm_8a.hpp", + "external/sources/boost/boost/interprocess/sync/detail/condition_any_algorithm.hpp", + "external/sources/boost/boost/interprocess/sync/detail/locks.hpp", + "external/sources/boost/boost/interprocess/sync/file_lock.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_condition.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_sharable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/lock_options.hpp", + "external/sources/boost/boost/interprocess/sync/mutex_family.hpp", + "external/sources/boost/boost/interprocess/sync/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/named_sharable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/null_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/condition.hpp", + "external/sources/boost/boost/interprocess/sync/posix/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/posix/pthread_helpers.hpp", + "external/sources/boost/boost/interprocess/sync/posix/ptime_to_timespec.hpp", + "external/sources/boost/boost/interprocess/sync/posix/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/posix/semaphore_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/scoped_lock.hpp", + "external/sources/boost/boost/interprocess/sync/sharable_lock.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_creation_functor.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/condition.hpp", + "external/sources/boost/boost/interprocess/sync/spin/interprocess_barrier.hpp", + "external/sources/boost/boost/interprocess/sync/spin/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/spin/wait.hpp", + "external/sources/boost/boost/interprocess/sync/upgradable_lock.hpp", + "external/sources/boost/boost/interprocess/sync/windows/condition.hpp", + "external/sources/boost/boost/interprocess/sync/windows/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_sync.hpp", + "external/sources/boost/boost/interprocess/sync/windows/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/windows/sync_utils.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_mutex_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_semaphore_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_wrapper_common.hpp", + "external/sources/boost/boost/interprocess/windows_shared_memory.hpp", + "external/sources/boost/boost/interprocess/xsi_key.hpp", + "external/sources/boost/boost/interprocess/xsi_shared_memory.hpp", + "external/sources/boost/boost/intrusive/any_hook.hpp", + "external/sources/boost/boost/intrusive/avl_set.hpp", + "external/sources/boost/boost/intrusive/avl_set_hook.hpp", + "external/sources/boost/boost/intrusive/avltree.hpp", + "external/sources/boost/boost/intrusive/avltree_algorithms.hpp", + "external/sources/boost/boost/intrusive/bs_set.hpp", + "external/sources/boost/boost/intrusive/bs_set_hook.hpp", + "external/sources/boost/boost/intrusive/bstree.hpp", + "external/sources/boost/boost/intrusive/bstree_algorithms.hpp", + "external/sources/boost/boost/intrusive/circular_list_algorithms.hpp", + "external/sources/boost/boost/intrusive/circular_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/derivation_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/algo_type.hpp", + "external/sources/boost/boost/intrusive/detail/algorithm.hpp", + "external/sources/boost/boost/intrusive/detail/any_node_and_algorithms.hpp", + "external/sources/boost/boost/intrusive/detail/array_initializer.hpp", + "external/sources/boost/boost/intrusive/detail/assert.hpp", + "external/sources/boost/boost/intrusive/detail/avltree_node.hpp", + "external/sources/boost/boost/intrusive/detail/bstree_algorithms_base.hpp", + "external/sources/boost/boost/intrusive/detail/common_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/detail/config_begin.hpp", + "external/sources/boost/boost/intrusive/detail/config_end.hpp", + "external/sources/boost/boost/intrusive/detail/default_header_holder.hpp", + "external/sources/boost/boost/intrusive/detail/ebo_functor_holder.hpp", + "external/sources/boost/boost/intrusive/detail/empty_node_checker.hpp", + "external/sources/boost/boost/intrusive/detail/equal_to_value.hpp", + "external/sources/boost/boost/intrusive/detail/exception_disposer.hpp", + "external/sources/boost/boost/intrusive/detail/function_detector.hpp", + "external/sources/boost/boost/intrusive/detail/generic_hook.hpp", + "external/sources/boost/boost/intrusive/detail/get_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/has_member_function_callable_with.hpp", + "external/sources/boost/boost/intrusive/detail/hashtable_node.hpp", + "external/sources/boost/boost/intrusive/detail/hook_traits.hpp", + "external/sources/boost/boost/intrusive/detail/iiterator.hpp", + "external/sources/boost/boost/intrusive/detail/is_stateful_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/iterator.hpp", + "external/sources/boost/boost/intrusive/detail/key_nodeptr_comp.hpp", + "external/sources/boost/boost/intrusive/detail/list_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/list_node.hpp", + "external/sources/boost/boost/intrusive/detail/math.hpp", + "external/sources/boost/boost/intrusive/detail/minimal_less_equal_header.hpp", + "external/sources/boost/boost/intrusive/detail/minimal_pair_header.hpp", + "external/sources/boost/boost/intrusive/detail/mpl.hpp", + "external/sources/boost/boost/intrusive/detail/node_cloner_disposer.hpp", + "external/sources/boost/boost/intrusive/detail/node_holder.hpp", + "external/sources/boost/boost/intrusive/detail/node_to_value.hpp", + "external/sources/boost/boost/intrusive/detail/parent_from_member.hpp", + "external/sources/boost/boost/intrusive/detail/rbtree_node.hpp", + "external/sources/boost/boost/intrusive/detail/reverse_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/simple_disposers.hpp", + "external/sources/boost/boost/intrusive/detail/size_holder.hpp", + "external/sources/boost/boost/intrusive/detail/slist_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/slist_node.hpp", + "external/sources/boost/boost/intrusive/detail/std_fwd.hpp", + "external/sources/boost/boost/intrusive/detail/transform_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/tree_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/tree_node.hpp", + "external/sources/boost/boost/intrusive/detail/tree_value_compare.hpp", + "external/sources/boost/boost/intrusive/detail/uncast.hpp", + "external/sources/boost/boost/intrusive/detail/workaround.hpp", + "external/sources/boost/boost/intrusive/hashtable.hpp", + "external/sources/boost/boost/intrusive/intrusive_fwd.hpp", + "external/sources/boost/boost/intrusive/linear_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/link_mode.hpp", + "external/sources/boost/boost/intrusive/list.hpp", + "external/sources/boost/boost/intrusive/list_hook.hpp", + "external/sources/boost/boost/intrusive/member_value_traits.hpp", + "external/sources/boost/boost/intrusive/options.hpp", + "external/sources/boost/boost/intrusive/pack_options.hpp", + "external/sources/boost/boost/intrusive/parent_from_member.hpp", + "external/sources/boost/boost/intrusive/pointer_plus_bits.hpp", + "external/sources/boost/boost/intrusive/pointer_rebind.hpp", + "external/sources/boost/boost/intrusive/pointer_traits.hpp", + "external/sources/boost/boost/intrusive/priority_compare.hpp", + "external/sources/boost/boost/intrusive/rbtree.hpp", + "external/sources/boost/boost/intrusive/rbtree_algorithms.hpp", + "external/sources/boost/boost/intrusive/set.hpp", + "external/sources/boost/boost/intrusive/set_hook.hpp", + "external/sources/boost/boost/intrusive/sg_set.hpp", + "external/sources/boost/boost/intrusive/sgtree.hpp", + "external/sources/boost/boost/intrusive/sgtree_algorithms.hpp", + "external/sources/boost/boost/intrusive/slist.hpp", + "external/sources/boost/boost/intrusive/slist_hook.hpp", + "external/sources/boost/boost/intrusive/splay_set.hpp", + "external/sources/boost/boost/intrusive/splaytree.hpp", + "external/sources/boost/boost/intrusive/splaytree_algorithms.hpp", + "external/sources/boost/boost/intrusive/treap.hpp", + "external/sources/boost/boost/intrusive/treap_algorithms.hpp", + "external/sources/boost/boost/intrusive/treap_set.hpp", + "external/sources/boost/boost/intrusive/trivial_value_traits.hpp", + "external/sources/boost/boost/intrusive/unordered_set.hpp", + "external/sources/boost/boost/intrusive/unordered_set_hook.hpp", + "external/sources/boost/boost/intrusive_ptr.hpp", + "external/sources/boost/boost/io/detail/buffer_fill.hpp", + "external/sources/boost/boost/io/detail/ostream_guard.hpp", + "external/sources/boost/boost/io/ios_state.hpp", + "external/sources/boost/boost/io/ostream_joiner.hpp", + "external/sources/boost/boost/io/ostream_put.hpp", + "external/sources/boost/boost/io/quoted.hpp", + "external/sources/boost/boost/io_fwd.hpp", + "external/sources/boost/boost/iostreams/categories.hpp", + "external/sources/boost/boost/iostreams/chain.hpp", + "external/sources/boost/boost/iostreams/char_traits.hpp", + "external/sources/boost/boost/iostreams/checked_operations.hpp", + "external/sources/boost/boost/iostreams/close.hpp", + "external/sources/boost/boost/iostreams/code_converter.hpp", + "external/sources/boost/boost/iostreams/combine.hpp", + "external/sources/boost/boost/iostreams/compose.hpp", + "external/sources/boost/boost/iostreams/concepts.hpp", + "external/sources/boost/boost/iostreams/constants.hpp", + "external/sources/boost/boost/iostreams/copy.hpp", + "external/sources/boost/boost/iostreams/detail/absolute_path.hpp", + "external/sources/boost/boost/iostreams/detail/access_control.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/concept_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/device_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/direct_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/filter_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/mode_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/non_blocking_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/output_iterator_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/range_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/add_facet.hpp", + "external/sources/boost/boost/iostreams/detail/bool_trait_def.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/forward.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream_buffer.hpp", + "external/sources/boost/boost/iostreams/detail/buffer.hpp", + "external/sources/boost/boost/iostreams/detail/call_traits.hpp", + "external/sources/boost/boost/iostreams/detail/char_traits.hpp", + "external/sources/boost/boost/iostreams/detail/codecvt_helper.hpp", + "external/sources/boost/boost/iostreams/detail/codecvt_holder.hpp", + "external/sources/boost/boost/iostreams/detail/config/auto_link.hpp", + "external/sources/boost/boost/iostreams/detail/config/bzip2.hpp", + "external/sources/boost/boost/iostreams/detail/config/codecvt.hpp", + "external/sources/boost/boost/iostreams/detail/config/disable_warnings.hpp", + "external/sources/boost/boost/iostreams/detail/config/dyn_link.hpp", + "external/sources/boost/boost/iostreams/detail/config/enable_warnings.hpp", + "external/sources/boost/boost/iostreams/detail/config/fpos.hpp", + "external/sources/boost/boost/iostreams/detail/config/gcc.hpp", + "external/sources/boost/boost/iostreams/detail/config/limits.hpp", + "external/sources/boost/boost/iostreams/detail/config/overload_resolution.hpp", + "external/sources/boost/boost/iostreams/detail/config/rtl.hpp", + "external/sources/boost/boost/iostreams/detail/config/unreachable_return.hpp", + "external/sources/boost/boost/iostreams/detail/config/wide_streams.hpp", + "external/sources/boost/boost/iostreams/detail/config/windows_posix.hpp", + "external/sources/boost/boost/iostreams/detail/config/zlib.hpp", + "external/sources/boost/boost/iostreams/detail/counted_array.hpp", + "external/sources/boost/boost/iostreams/detail/current_directory.hpp", + "external/sources/boost/boost/iostreams/detail/default_arg.hpp", + "external/sources/boost/boost/iostreams/detail/dispatch.hpp", + "external/sources/boost/boost/iostreams/detail/double_object.hpp", + "external/sources/boost/boost/iostreams/detail/enable_if_stream.hpp", + "external/sources/boost/boost/iostreams/detail/error.hpp", + "external/sources/boost/boost/iostreams/detail/execute.hpp", + "external/sources/boost/boost/iostreams/detail/file_handle.hpp", + "external/sources/boost/boost/iostreams/detail/forward.hpp", + "external/sources/boost/boost/iostreams/detail/fstream.hpp", + "external/sources/boost/boost/iostreams/detail/functional.hpp", + "external/sources/boost/boost/iostreams/detail/ios.hpp", + "external/sources/boost/boost/iostreams/detail/iostream.hpp", + "external/sources/boost/boost/iostreams/detail/is_dereferenceable.hpp", + "external/sources/boost/boost/iostreams/detail/is_iterator_range.hpp", + "external/sources/boost/boost/iostreams/detail/newline.hpp", + "external/sources/boost/boost/iostreams/detail/optional.hpp", + "external/sources/boost/boost/iostreams/detail/param_type.hpp", + "external/sources/boost/boost/iostreams/detail/path.hpp", + "external/sources/boost/boost/iostreams/detail/push.hpp", + "external/sources/boost/boost/iostreams/detail/push_params.hpp", + "external/sources/boost/boost/iostreams/detail/resolve.hpp", + "external/sources/boost/boost/iostreams/detail/restrict_impl.hpp", + "external/sources/boost/boost/iostreams/detail/select.hpp", + "external/sources/boost/boost/iostreams/detail/select_by_size.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/chainbuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/direct_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/indirect_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/linked_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/system_failure.hpp", + "external/sources/boost/boost/iostreams/detail/template_params.hpp", + "external/sources/boost/boost/iostreams/detail/translate_int_type.hpp", + "external/sources/boost/boost/iostreams/detail/wrap_unwrap.hpp", + "external/sources/boost/boost/iostreams/device/array.hpp", + "external/sources/boost/boost/iostreams/device/back_inserter.hpp", + "external/sources/boost/boost/iostreams/device/file.hpp", + "external/sources/boost/boost/iostreams/device/file_descriptor.hpp", + "external/sources/boost/boost/iostreams/device/mapped_file.hpp", + "external/sources/boost/boost/iostreams/device/null.hpp", + "external/sources/boost/boost/iostreams/filter/aggregate.hpp", + "external/sources/boost/boost/iostreams/filter/bzip2.hpp", + "external/sources/boost/boost/iostreams/filter/counter.hpp", + "external/sources/boost/boost/iostreams/filter/grep.hpp", + "external/sources/boost/boost/iostreams/filter/gzip.hpp", + "external/sources/boost/boost/iostreams/filter/line.hpp", + "external/sources/boost/boost/iostreams/filter/lzma.hpp", + "external/sources/boost/boost/iostreams/filter/newline.hpp", + "external/sources/boost/boost/iostreams/filter/regex.hpp", + "external/sources/boost/boost/iostreams/filter/stdio.hpp", + "external/sources/boost/boost/iostreams/filter/symmetric.hpp", + "external/sources/boost/boost/iostreams/filter/test.hpp", + "external/sources/boost/boost/iostreams/filter/zlib.hpp", + "external/sources/boost/boost/iostreams/filter/zstd.hpp", + "external/sources/boost/boost/iostreams/filtering_stream.hpp", + "external/sources/boost/boost/iostreams/filtering_streambuf.hpp", + "external/sources/boost/boost/iostreams/flush.hpp", + "external/sources/boost/boost/iostreams/get.hpp", + "external/sources/boost/boost/iostreams/imbue.hpp", + "external/sources/boost/boost/iostreams/input_sequence.hpp", + "external/sources/boost/boost/iostreams/invert.hpp", + "external/sources/boost/boost/iostreams/operations.hpp", + "external/sources/boost/boost/iostreams/operations_fwd.hpp", + "external/sources/boost/boost/iostreams/optimal_buffer_size.hpp", + "external/sources/boost/boost/iostreams/output_sequence.hpp", + "external/sources/boost/boost/iostreams/pipeline.hpp", + "external/sources/boost/boost/iostreams/positioning.hpp", + "external/sources/boost/boost/iostreams/put.hpp", + "external/sources/boost/boost/iostreams/putback.hpp", + "external/sources/boost/boost/iostreams/read.hpp", + "external/sources/boost/boost/iostreams/restrict.hpp", + "external/sources/boost/boost/iostreams/seek.hpp", + "external/sources/boost/boost/iostreams/skip.hpp", + "external/sources/boost/boost/iostreams/slice.hpp", + "external/sources/boost/boost/iostreams/stream.hpp", + "external/sources/boost/boost/iostreams/stream_buffer.hpp", + "external/sources/boost/boost/iostreams/tee.hpp", + "external/sources/boost/boost/iostreams/traits.hpp", + "external/sources/boost/boost/iostreams/traits_fwd.hpp", + "external/sources/boost/boost/iostreams/write.hpp", + "external/sources/boost/boost/is_placeholder.hpp", + "external/sources/boost/boost/iterator.hpp", + "external/sources/boost/boost/iterator/advance.hpp", + "external/sources/boost/boost/iterator/counting_iterator.hpp", + "external/sources/boost/boost/iterator/detail/any_conversion_eater.hpp", + "external/sources/boost/boost/iterator/detail/config_def.hpp", + "external/sources/boost/boost/iterator/detail/config_undef.hpp", + "external/sources/boost/boost/iterator/detail/enable_if.hpp", + "external/sources/boost/boost/iterator/detail/facade_iterator_category.hpp", + "external/sources/boost/boost/iterator/detail/minimum_category.hpp", + "external/sources/boost/boost/iterator/distance.hpp", + "external/sources/boost/boost/iterator/filter_iterator.hpp", + "external/sources/boost/boost/iterator/function_input_iterator.hpp", + "external/sources/boost/boost/iterator/function_output_iterator.hpp", + "external/sources/boost/boost/iterator/indirect_iterator.hpp", + "external/sources/boost/boost/iterator/interoperable.hpp", + "external/sources/boost/boost/iterator/is_lvalue_iterator.hpp", + "external/sources/boost/boost/iterator/is_readable_iterator.hpp", + "external/sources/boost/boost/iterator/iterator_adaptor.hpp", + "external/sources/boost/boost/iterator/iterator_archetypes.hpp", + "external/sources/boost/boost/iterator/iterator_categories.hpp", + "external/sources/boost/boost/iterator/iterator_concepts.hpp", + "external/sources/boost/boost/iterator/iterator_facade.hpp", + "external/sources/boost/boost/iterator/iterator_traits.hpp", + "external/sources/boost/boost/iterator/minimum_category.hpp", + "external/sources/boost/boost/iterator/new_iterator_tests.hpp", + "external/sources/boost/boost/iterator/permutation_iterator.hpp", + "external/sources/boost/boost/iterator/reverse_iterator.hpp", + "external/sources/boost/boost/iterator/transform_iterator.hpp", + "external/sources/boost/boost/iterator/zip_iterator.hpp", + "external/sources/boost/boost/iterator_adaptors.hpp", + "external/sources/boost/boost/lambda/algorithm.hpp", + "external/sources/boost/boost/lambda/bind.hpp", + "external/sources/boost/boost/lambda/casts.hpp", + "external/sources/boost/boost/lambda/closures.hpp", + "external/sources/boost/boost/lambda/construct.hpp", + "external/sources/boost/boost/lambda/control_structures.hpp", + "external/sources/boost/boost/lambda/core.hpp", + "external/sources/boost/boost/lambda/detail/actions.hpp", + "external/sources/boost/boost/lambda/detail/arity_code.hpp", + "external/sources/boost/boost/lambda/detail/bind_functions.hpp", + "external/sources/boost/boost/lambda/detail/control_constructs_common.hpp", + "external/sources/boost/boost/lambda/detail/function_adaptors.hpp", + "external/sources/boost/boost/lambda/detail/is_instance_of.hpp", + "external/sources/boost/boost/lambda/detail/lambda_config.hpp", + "external/sources/boost/boost/lambda/detail/lambda_functor_base.hpp", + "external/sources/boost/boost/lambda/detail/lambda_functors.hpp", + "external/sources/boost/boost/lambda/detail/lambda_fwd.hpp", + "external/sources/boost/boost/lambda/detail/lambda_traits.hpp", + "external/sources/boost/boost/lambda/detail/member_ptr.hpp", + "external/sources/boost/boost/lambda/detail/operator_actions.hpp", + "external/sources/boost/boost/lambda/detail/operator_lambda_func_base.hpp", + "external/sources/boost/boost/lambda/detail/operator_return_type_traits.hpp", + "external/sources/boost/boost/lambda/detail/operators.hpp", + "external/sources/boost/boost/lambda/detail/ret.hpp", + "external/sources/boost/boost/lambda/detail/return_type_traits.hpp", + "external/sources/boost/boost/lambda/detail/select_functions.hpp", + "external/sources/boost/boost/lambda/detail/suppress_unused.hpp", + "external/sources/boost/boost/lambda/exceptions.hpp", + "external/sources/boost/boost/lambda/if.hpp", + "external/sources/boost/boost/lambda/lambda.hpp", + "external/sources/boost/boost/lambda/loops.hpp", + "external/sources/boost/boost/lambda/numeric.hpp", + "external/sources/boost/boost/lambda/switch.hpp", + "external/sources/boost/boost/lexical_cast.hpp", + "external/sources/boost/boost/lexical_cast/bad_lexical_cast.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_lexical.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_numeric.hpp", + "external/sources/boost/boost/lexical_cast/detail/inf_nan.hpp", + "external/sources/boost/boost/lexical_cast/detail/is_character.hpp", + "external/sources/boost/boost/lexical_cast/detail/lcast_char_constants.hpp", + "external/sources/boost/boost/lexical_cast/detail/lcast_unsigned_converters.hpp", + "external/sources/boost/boost/lexical_cast/detail/widest_char.hpp", + "external/sources/boost/boost/lexical_cast/lexical_cast_old.hpp", + "external/sources/boost/boost/lexical_cast/try_lexical_convert.hpp", + "external/sources/boost/boost/limits.hpp", + "external/sources/boost/boost/local_function.hpp", + "external/sources/boost/boost/local_function/aux_/add_pointed_const.hpp", + "external/sources/boost/boost/local_function/aux_/function.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/bind.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/functor.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/result.hpp", + "external/sources/boost/boost/local_function/aux_/macro/decl.hpp", + "external/sources/boost/boost/local_function/aux_/macro/name.hpp", + "external/sources/boost/boost/local_function/aux_/macro/typeof.hpp", + "external/sources/boost/boost/local_function/aux_/member.hpp", + "external/sources/boost/boost/local_function/aux_/nobind.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/bind.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/append.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/index.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/nil.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/set_error.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_binds.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_const_binds.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_error.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_params.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_returns.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/any_bind_type.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/sign.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/defaults.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/this.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/param.hpp", + "external/sources/boost/boost/local_function/aux_/symbol.hpp", + "external/sources/boost/boost/local_function/config.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/auto.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/bind.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const_bind.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/default.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/add.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/is.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/remove.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/inline.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/recursive.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/register.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/return.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/this.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/thisunderscore.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/void.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/line_counter.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/void_list.hpp", + "external/sources/boost/boost/locale.hpp", + "external/sources/boost/boost/locale/boundary.hpp", + "external/sources/boost/boost/locale/boundary/boundary_point.hpp", + "external/sources/boost/boost/locale/boundary/facets.hpp", + "external/sources/boost/boost/locale/boundary/index.hpp", + "external/sources/boost/boost/locale/boundary/segment.hpp", + "external/sources/boost/boost/locale/boundary/types.hpp", + "external/sources/boost/boost/locale/collator.hpp", + "external/sources/boost/boost/locale/config.hpp", + "external/sources/boost/boost/locale/conversion.hpp", + "external/sources/boost/boost/locale/date_time.hpp", + "external/sources/boost/boost/locale/date_time_facet.hpp", + "external/sources/boost/boost/locale/definitions.hpp", + "external/sources/boost/boost/locale/encoding.hpp", + "external/sources/boost/boost/locale/encoding_errors.hpp", + "external/sources/boost/boost/locale/encoding_utf.hpp", + "external/sources/boost/boost/locale/format.hpp", + "external/sources/boost/boost/locale/formatting.hpp", + "external/sources/boost/boost/locale/generator.hpp", + "external/sources/boost/boost/locale/generic_codecvt.hpp", + "external/sources/boost/boost/locale/gnu_gettext.hpp", + "external/sources/boost/boost/locale/hold_ptr.hpp", + "external/sources/boost/boost/locale/info.hpp", + "external/sources/boost/boost/locale/localization_backend.hpp", + "external/sources/boost/boost/locale/message.hpp", + "external/sources/boost/boost/locale/time_zone.hpp", + "external/sources/boost/boost/locale/utf.hpp", + "external/sources/boost/boost/locale/utf8_codecvt.hpp", + "external/sources/boost/boost/locale/util.hpp", + "external/sources/boost/boost/lockfree/detail/atomic.hpp", + "external/sources/boost/boost/lockfree/detail/copy_payload.hpp", + "external/sources/boost/boost/lockfree/detail/freelist.hpp", + "external/sources/boost/boost/lockfree/detail/parameter.hpp", + "external/sources/boost/boost/lockfree/detail/prefix.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr_dcas.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp", + "external/sources/boost/boost/lockfree/lockfree_forward.hpp", + "external/sources/boost/boost/lockfree/policies.hpp", + "external/sources/boost/boost/lockfree/queue.hpp", + "external/sources/boost/boost/lockfree/spsc_queue.hpp", + "external/sources/boost/boost/lockfree/stack.hpp", + "external/sources/boost/boost/log/attributes.hpp", + "external/sources/boost/boost/log/attributes/attribute.hpp", + "external/sources/boost/boost/log/attributes/attribute_cast.hpp", + "external/sources/boost/boost/log/attributes/attribute_name.hpp", + "external/sources/boost/boost/log/attributes/attribute_set.hpp", + "external/sources/boost/boost/log/attributes/attribute_value.hpp", + "external/sources/boost/boost/log/attributes/attribute_value_impl.hpp", + "external/sources/boost/boost/log/attributes/attribute_value_set.hpp", + "external/sources/boost/boost/log/attributes/clock.hpp", + "external/sources/boost/boost/log/attributes/constant.hpp", + "external/sources/boost/boost/log/attributes/counter.hpp", + "external/sources/boost/boost/log/attributes/current_process_id.hpp", + "external/sources/boost/boost/log/attributes/current_process_name.hpp", + "external/sources/boost/boost/log/attributes/current_thread_id.hpp", + "external/sources/boost/boost/log/attributes/fallback_policy.hpp", + "external/sources/boost/boost/log/attributes/fallback_policy_fwd.hpp", + "external/sources/boost/boost/log/attributes/function.hpp", + "external/sources/boost/boost/log/attributes/mutable_constant.hpp", + "external/sources/boost/boost/log/attributes/named_scope.hpp", + "external/sources/boost/boost/log/attributes/scoped_attribute.hpp", + "external/sources/boost/boost/log/attributes/time_traits.hpp", + "external/sources/boost/boost/log/attributes/timer.hpp", + "external/sources/boost/boost/log/attributes/value_extraction.hpp", + "external/sources/boost/boost/log/attributes/value_extraction_fwd.hpp", + "external/sources/boost/boost/log/attributes/value_visitation.hpp", + "external/sources/boost/boost/log/attributes/value_visitation_fwd.hpp", + "external/sources/boost/boost/log/common.hpp", + "external/sources/boost/boost/log/core.hpp", + "external/sources/boost/boost/log/core/core.hpp", + "external/sources/boost/boost/log/core/record.hpp", + "external/sources/boost/boost/log/core/record_view.hpp", + "external/sources/boost/boost/log/detail/adaptive_mutex.hpp", + "external/sources/boost/boost/log/detail/allocator_traits.hpp", + "external/sources/boost/boost/log/detail/asio_fwd.hpp", + "external/sources/boost/boost/log/detail/attachable_sstream_buf.hpp", + "external/sources/boost/boost/log/detail/attr_output_impl.hpp", + "external/sources/boost/boost/log/detail/attr_output_terminal.hpp", + "external/sources/boost/boost/log/detail/attribute_get_value_impl.hpp", + "external/sources/boost/boost/log/detail/attribute_predicate.hpp", + "external/sources/boost/boost/log/detail/c_str.hpp", + "external/sources/boost/boost/log/detail/cleanup_scope_guard.hpp", + "external/sources/boost/boost/log/detail/code_conversion.hpp", + "external/sources/boost/boost/log/detail/config.hpp", + "external/sources/boost/boost/log/detail/copy_cv.hpp", + "external/sources/boost/boost/log/detail/custom_terminal_spec.hpp", + "external/sources/boost/boost/log/detail/date_time_fmt_gen_traits_fwd.hpp", + "external/sources/boost/boost/log/detail/date_time_format_parser.hpp", + "external/sources/boost/boost/log/detail/decomposed_time.hpp", + "external/sources/boost/boost/log/detail/deduce_char_type.hpp", + "external/sources/boost/boost/log/detail/default_attribute_names.hpp", + "external/sources/boost/boost/log/detail/embedded_string_type.hpp", + "external/sources/boost/boost/log/detail/enqueued_record.hpp", + "external/sources/boost/boost/log/detail/event.hpp", + "external/sources/boost/boost/log/detail/fake_mutex.hpp", + "external/sources/boost/boost/log/detail/footer.hpp", + "external/sources/boost/boost/log/detail/format.hpp", + "external/sources/boost/boost/log/detail/function_traits.hpp", + "external/sources/boost/boost/log/detail/generate_overloads.hpp", + "external/sources/boost/boost/log/detail/header.hpp", + "external/sources/boost/boost/log/detail/id.hpp", + "external/sources/boost/boost/log/detail/is_character_type.hpp", + "external/sources/boost/boost/log/detail/is_ostream.hpp", + "external/sources/boost/boost/log/detail/light_function.hpp", + "external/sources/boost/boost/log/detail/light_function_pp.hpp", + "external/sources/boost/boost/log/detail/light_rw_mutex.hpp", + "external/sources/boost/boost/log/detail/locking_ptr.hpp", + "external/sources/boost/boost/log/detail/locks.hpp", + "external/sources/boost/boost/log/detail/named_scope_fmt_pp.hpp", + "external/sources/boost/boost/log/detail/native_typeof.hpp", + "external/sources/boost/boost/log/detail/parameter_tools.hpp", + "external/sources/boost/boost/log/detail/pause.hpp", + "external/sources/boost/boost/log/detail/pp_identity.hpp", + "external/sources/boost/boost/log/detail/process_id.hpp", + "external/sources/boost/boost/log/detail/setup_config.hpp", + "external/sources/boost/boost/log/detail/sfinae_tools.hpp", + "external/sources/boost/boost/log/detail/singleton.hpp", + "external/sources/boost/boost/log/detail/sink_init_helpers.hpp", + "external/sources/boost/boost/log/detail/snprintf.hpp", + "external/sources/boost/boost/log/detail/tagged_integer.hpp", + "external/sources/boost/boost/log/detail/thread_id.hpp", + "external/sources/boost/boost/log/detail/thread_specific.hpp", + "external/sources/boost/boost/log/detail/threadsafe_queue.hpp", + "external/sources/boost/boost/log/detail/timestamp.hpp", + "external/sources/boost/boost/log/detail/trivial_keyword.hpp", + "external/sources/boost/boost/log/detail/unary_function_terminal.hpp", + "external/sources/boost/boost/log/detail/value_ref_visitation.hpp", + "external/sources/boost/boost/log/exceptions.hpp", + "external/sources/boost/boost/log/expressions.hpp", + "external/sources/boost/boost/log/expressions/attr.hpp", + "external/sources/boost/boost/log/expressions/attr_fwd.hpp", + "external/sources/boost/boost/log/expressions/filter.hpp", + "external/sources/boost/boost/log/expressions/formatter.hpp", + "external/sources/boost/boost/log/expressions/formatters.hpp", + "external/sources/boost/boost/log/expressions/formatters/auto_newline.hpp", + "external/sources/boost/boost/log/expressions/formatters/c_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/char_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/csv_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/date_time.hpp", + "external/sources/boost/boost/log/expressions/formatters/format.hpp", + "external/sources/boost/boost/log/expressions/formatters/if.hpp", + "external/sources/boost/boost/log/expressions/formatters/max_size_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/named_scope.hpp", + "external/sources/boost/boost/log/expressions/formatters/stream.hpp", + "external/sources/boost/boost/log/expressions/formatters/wrap_formatter.hpp", + "external/sources/boost/boost/log/expressions/formatters/xml_decorator.hpp", + "external/sources/boost/boost/log/expressions/is_keyword_descriptor.hpp", + "external/sources/boost/boost/log/expressions/keyword.hpp", + "external/sources/boost/boost/log/expressions/keyword_fwd.hpp", + "external/sources/boost/boost/log/expressions/message.hpp", + "external/sources/boost/boost/log/expressions/predicates.hpp", + "external/sources/boost/boost/log/expressions/predicates/begins_with.hpp", + "external/sources/boost/boost/log/expressions/predicates/channel_severity_filter.hpp", + "external/sources/boost/boost/log/expressions/predicates/contains.hpp", + "external/sources/boost/boost/log/expressions/predicates/ends_with.hpp", + "external/sources/boost/boost/log/expressions/predicates/has_attr.hpp", + "external/sources/boost/boost/log/expressions/predicates/is_debugger_present.hpp", + "external/sources/boost/boost/log/expressions/predicates/is_in_range.hpp", + "external/sources/boost/boost/log/expressions/predicates/matches.hpp", + "external/sources/boost/boost/log/expressions/record.hpp", + "external/sources/boost/boost/log/keywords/auto_flush.hpp", + "external/sources/boost/boost/log/keywords/auto_newline_mode.hpp", + "external/sources/boost/boost/log/keywords/block_size.hpp", + "external/sources/boost/boost/log/keywords/capacity.hpp", + "external/sources/boost/boost/log/keywords/channel.hpp", + "external/sources/boost/boost/log/keywords/delimiter.hpp", + "external/sources/boost/boost/log/keywords/depth.hpp", + "external/sources/boost/boost/log/keywords/empty_marker.hpp", + "external/sources/boost/boost/log/keywords/enable_final_rotation.hpp", + "external/sources/boost/boost/log/keywords/facility.hpp", + "external/sources/boost/boost/log/keywords/file_name.hpp", + "external/sources/boost/boost/log/keywords/filter.hpp", + "external/sources/boost/boost/log/keywords/format.hpp", + "external/sources/boost/boost/log/keywords/ident.hpp", + "external/sources/boost/boost/log/keywords/incomplete_marker.hpp", + "external/sources/boost/boost/log/keywords/ip_version.hpp", + "external/sources/boost/boost/log/keywords/iteration.hpp", + "external/sources/boost/boost/log/keywords/log_name.hpp", + "external/sources/boost/boost/log/keywords/log_source.hpp", + "external/sources/boost/boost/log/keywords/max_files.hpp", + "external/sources/boost/boost/log/keywords/max_size.hpp", + "external/sources/boost/boost/log/keywords/message_file.hpp", + "external/sources/boost/boost/log/keywords/min_free_space.hpp", + "external/sources/boost/boost/log/keywords/name.hpp", + "external/sources/boost/boost/log/keywords/open_mode.hpp", + "external/sources/boost/boost/log/keywords/order.hpp", + "external/sources/boost/boost/log/keywords/ordering_window.hpp", + "external/sources/boost/boost/log/keywords/overflow_policy.hpp", + "external/sources/boost/boost/log/keywords/permissions.hpp", + "external/sources/boost/boost/log/keywords/registration.hpp", + "external/sources/boost/boost/log/keywords/rotation_size.hpp", + "external/sources/boost/boost/log/keywords/scan_method.hpp", + "external/sources/boost/boost/log/keywords/severity.hpp", + "external/sources/boost/boost/log/keywords/start_thread.hpp", + "external/sources/boost/boost/log/keywords/target.hpp", + "external/sources/boost/boost/log/keywords/target_file_name.hpp", + "external/sources/boost/boost/log/keywords/time_based_rotation.hpp", + "external/sources/boost/boost/log/keywords/use_impl.hpp", + "external/sources/boost/boost/log/sinks.hpp", + "external/sources/boost/boost/log/sinks/async_frontend.hpp", + "external/sources/boost/boost/log/sinks/attribute_mapping.hpp", + "external/sources/boost/boost/log/sinks/auto_newline_mode.hpp", + "external/sources/boost/boost/log/sinks/basic_sink_backend.hpp", + "external/sources/boost/boost/log/sinks/basic_sink_frontend.hpp", + "external/sources/boost/boost/log/sinks/block_on_overflow.hpp", + "external/sources/boost/boost/log/sinks/bounded_fifo_queue.hpp", + "external/sources/boost/boost/log/sinks/bounded_ordering_queue.hpp", + "external/sources/boost/boost/log/sinks/debug_output_backend.hpp", + "external/sources/boost/boost/log/sinks/drop_on_overflow.hpp", + "external/sources/boost/boost/log/sinks/event_log_backend.hpp", + "external/sources/boost/boost/log/sinks/event_log_constants.hpp", + "external/sources/boost/boost/log/sinks/frontend_requirements.hpp", + "external/sources/boost/boost/log/sinks/sink.hpp", + "external/sources/boost/boost/log/sinks/sync_frontend.hpp", + "external/sources/boost/boost/log/sinks/syslog_backend.hpp", + "external/sources/boost/boost/log/sinks/syslog_constants.hpp", + "external/sources/boost/boost/log/sinks/text_file_backend.hpp", + "external/sources/boost/boost/log/sinks/text_ipc_message_queue_backend.hpp", + "external/sources/boost/boost/log/sinks/text_multifile_backend.hpp", + "external/sources/boost/boost/log/sinks/text_ostream_backend.hpp", + "external/sources/boost/boost/log/sinks/unbounded_fifo_queue.hpp", + "external/sources/boost/boost/log/sinks/unbounded_ordering_queue.hpp", + "external/sources/boost/boost/log/sinks/unlocked_frontend.hpp", + "external/sources/boost/boost/log/sources/basic_logger.hpp", + "external/sources/boost/boost/log/sources/channel_feature.hpp", + "external/sources/boost/boost/log/sources/channel_logger.hpp", + "external/sources/boost/boost/log/sources/exception_handler_feature.hpp", + "external/sources/boost/boost/log/sources/features.hpp", + "external/sources/boost/boost/log/sources/global_logger_storage.hpp", + "external/sources/boost/boost/log/sources/logger.hpp", + "external/sources/boost/boost/log/sources/record_ostream.hpp", + "external/sources/boost/boost/log/sources/severity_channel_logger.hpp", + "external/sources/boost/boost/log/sources/severity_feature.hpp", + "external/sources/boost/boost/log/sources/severity_logger.hpp", + "external/sources/boost/boost/log/sources/threading_models.hpp", + "external/sources/boost/boost/log/support/date_time.hpp", + "external/sources/boost/boost/log/support/exception.hpp", + "external/sources/boost/boost/log/support/regex.hpp", + "external/sources/boost/boost/log/support/spirit_classic.hpp", + "external/sources/boost/boost/log/support/spirit_qi.hpp", + "external/sources/boost/boost/log/support/std_regex.hpp", + "external/sources/boost/boost/log/support/xpressive.hpp", + "external/sources/boost/boost/log/trivial.hpp", + "external/sources/boost/boost/log/utility/exception_handler.hpp", + "external/sources/boost/boost/log/utility/formatting_ostream.hpp", + "external/sources/boost/boost/log/utility/formatting_ostream_fwd.hpp", + "external/sources/boost/boost/log/utility/functional.hpp", + "external/sources/boost/boost/log/utility/functional/as_action.hpp", + "external/sources/boost/boost/log/utility/functional/begins_with.hpp", + "external/sources/boost/boost/log/utility/functional/bind.hpp", + "external/sources/boost/boost/log/utility/functional/bind_assign.hpp", + "external/sources/boost/boost/log/utility/functional/bind_output.hpp", + "external/sources/boost/boost/log/utility/functional/bind_to_log.hpp", + "external/sources/boost/boost/log/utility/functional/contains.hpp", + "external/sources/boost/boost/log/utility/functional/ends_with.hpp", + "external/sources/boost/boost/log/utility/functional/fun_ref.hpp", + "external/sources/boost/boost/log/utility/functional/in_range.hpp", + "external/sources/boost/boost/log/utility/functional/logical.hpp", + "external/sources/boost/boost/log/utility/functional/matches.hpp", + "external/sources/boost/boost/log/utility/functional/nop.hpp", + "external/sources/boost/boost/log/utility/functional/save_result.hpp", + "external/sources/boost/boost/log/utility/ipc/object_name.hpp", + "external/sources/boost/boost/log/utility/ipc/reliable_message_queue.hpp", + "external/sources/boost/boost/log/utility/manipulators.hpp", + "external/sources/boost/boost/log/utility/manipulators/add_value.hpp", + "external/sources/boost/boost/log/utility/manipulators/auto_newline.hpp", + "external/sources/boost/boost/log/utility/manipulators/dump.hpp", + "external/sources/boost/boost/log/utility/manipulators/optional.hpp", + "external/sources/boost/boost/log/utility/manipulators/range.hpp", + "external/sources/boost/boost/log/utility/manipulators/to_log.hpp", + "external/sources/boost/boost/log/utility/manipulators/tuple.hpp", + "external/sources/boost/boost/log/utility/once_block.hpp", + "external/sources/boost/boost/log/utility/open_mode.hpp", + "external/sources/boost/boost/log/utility/permissions.hpp", + "external/sources/boost/boost/log/utility/record_ordering.hpp", + "external/sources/boost/boost/log/utility/setup.hpp", + "external/sources/boost/boost/log/utility/setup/common_attributes.hpp", + "external/sources/boost/boost/log/utility/setup/console.hpp", + "external/sources/boost/boost/log/utility/setup/file.hpp", + "external/sources/boost/boost/log/utility/setup/filter_parser.hpp", + "external/sources/boost/boost/log/utility/setup/formatter_parser.hpp", + "external/sources/boost/boost/log/utility/setup/from_settings.hpp", + "external/sources/boost/boost/log/utility/setup/from_stream.hpp", + "external/sources/boost/boost/log/utility/setup/settings.hpp", + "external/sources/boost/boost/log/utility/setup/settings_parser.hpp", + "external/sources/boost/boost/log/utility/strictest_lock.hpp", + "external/sources/boost/boost/log/utility/string_literal.hpp", + "external/sources/boost/boost/log/utility/string_literal_fwd.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/date_time_types.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/dynamic_type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/standard_types.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/static_type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/unique_identifier_name.hpp", + "external/sources/boost/boost/log/utility/unused_variable.hpp", + "external/sources/boost/boost/log/utility/value_ref.hpp", + "external/sources/boost/boost/log/utility/value_ref_fwd.hpp", + "external/sources/boost/boost/logic/tribool.hpp", + "external/sources/boost/boost/logic/tribool_fwd.hpp", + "external/sources/boost/boost/logic/tribool_io.hpp", + "external/sources/boost/boost/make_default.hpp", + "external/sources/boost/boost/make_shared.hpp", + "external/sources/boost/boost/make_unique.hpp", + "external/sources/boost/boost/math/bindings/detail/big_digamma.hpp", + "external/sources/boost/boost/math/bindings/detail/big_lanczos.hpp", + "external/sources/boost/boost/math/bindings/e_float.hpp", + "external/sources/boost/boost/math/bindings/mpfr.hpp", + "external/sources/boost/boost/math/bindings/mpreal.hpp", + "external/sources/boost/boost/math/bindings/rr.hpp", + "external/sources/boost/boost/math/common_factor.hpp", + "external/sources/boost/boost/math/common_factor_ct.hpp", + "external/sources/boost/boost/math/common_factor_rt.hpp", + "external/sources/boost/boost/math/complex.hpp", + "external/sources/boost/boost/math/complex/acos.hpp", + "external/sources/boost/boost/math/complex/acosh.hpp", + "external/sources/boost/boost/math/complex/asin.hpp", + "external/sources/boost/boost/math/complex/asinh.hpp", + "external/sources/boost/boost/math/complex/atan.hpp", + "external/sources/boost/boost/math/complex/atanh.hpp", + "external/sources/boost/boost/math/complex/details.hpp", + "external/sources/boost/boost/math/complex/fabs.hpp", + "external/sources/boost/boost/math/concepts/distributions.hpp", + "external/sources/boost/boost/math/concepts/real_concept.hpp", + "external/sources/boost/boost/math/concepts/real_type_concept.hpp", + "external/sources/boost/boost/math/concepts/std_real_concept.hpp", + "external/sources/boost/boost/math/constants/calculate_constants.hpp", + "external/sources/boost/boost/math/constants/constants.hpp", + "external/sources/boost/boost/math/constants/info.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_cmath.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex_std.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_iostream.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_limits.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_types.hpp", + "external/sources/boost/boost/math/differentiation/autodiff.hpp", + "external/sources/boost/boost/math/differentiation/autodiff_cpp11.hpp", + "external/sources/boost/boost/math/differentiation/finite_difference.hpp", + "external/sources/boost/boost/math/differentiation/lanczos_smoothing.hpp", + "external/sources/boost/boost/math/distributions.hpp", + "external/sources/boost/boost/math/distributions/arcsine.hpp", + "external/sources/boost/boost/math/distributions/bernoulli.hpp", + "external/sources/boost/boost/math/distributions/beta.hpp", + "external/sources/boost/boost/math/distributions/binomial.hpp", + "external/sources/boost/boost/math/distributions/cauchy.hpp", + "external/sources/boost/boost/math/distributions/chi_squared.hpp", + "external/sources/boost/boost/math/distributions/complement.hpp", + "external/sources/boost/boost/math/distributions/detail/common_error_handling.hpp", + "external/sources/boost/boost/math/distributions/detail/derived_accessors.hpp", + "external/sources/boost/boost/math/distributions/detail/generic_mode.hpp", + "external/sources/boost/boost/math/distributions/detail/generic_quantile.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_cdf.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_pdf.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_quantile.hpp", + "external/sources/boost/boost/math/distributions/detail/inv_discrete_quantile.hpp", + "external/sources/boost/boost/math/distributions/empirical_cumulative_distribution_function.hpp", + "external/sources/boost/boost/math/distributions/exponential.hpp", + "external/sources/boost/boost/math/distributions/extreme_value.hpp", + "external/sources/boost/boost/math/distributions/find_location.hpp", + "external/sources/boost/boost/math/distributions/find_scale.hpp", + "external/sources/boost/boost/math/distributions/fisher_f.hpp", + "external/sources/boost/boost/math/distributions/fwd.hpp", + "external/sources/boost/boost/math/distributions/gamma.hpp", + "external/sources/boost/boost/math/distributions/geometric.hpp", + "external/sources/boost/boost/math/distributions/hyperexponential.hpp", + "external/sources/boost/boost/math/distributions/hypergeometric.hpp", + "external/sources/boost/boost/math/distributions/inverse_chi_squared.hpp", + "external/sources/boost/boost/math/distributions/inverse_gamma.hpp", + "external/sources/boost/boost/math/distributions/inverse_gaussian.hpp", + "external/sources/boost/boost/math/distributions/laplace.hpp", + "external/sources/boost/boost/math/distributions/logistic.hpp", + "external/sources/boost/boost/math/distributions/lognormal.hpp", + "external/sources/boost/boost/math/distributions/negative_binomial.hpp", + "external/sources/boost/boost/math/distributions/non_central_beta.hpp", + "external/sources/boost/boost/math/distributions/non_central_chi_squared.hpp", + "external/sources/boost/boost/math/distributions/non_central_f.hpp", + "external/sources/boost/boost/math/distributions/non_central_t.hpp", + "external/sources/boost/boost/math/distributions/normal.hpp", + "external/sources/boost/boost/math/distributions/pareto.hpp", + "external/sources/boost/boost/math/distributions/poisson.hpp", + "external/sources/boost/boost/math/distributions/rayleigh.hpp", + "external/sources/boost/boost/math/distributions/skew_normal.hpp", + "external/sources/boost/boost/math/distributions/students_t.hpp", + "external/sources/boost/boost/math/distributions/triangular.hpp", + "external/sources/boost/boost/math/distributions/uniform.hpp", + "external/sources/boost/boost/math/distributions/weibull.hpp", + "external/sources/boost/boost/math/filters/daubechies.hpp", + "external/sources/boost/boost/math/interpolators/barycentric_rational.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_cubic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_quintic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_trigonometric.hpp", + "external/sources/boost/boost/math/interpolators/catmull_rom.hpp", + "external/sources/boost/boost/math/interpolators/cubic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cubic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/detail/barycentric_rational_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_cubic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_quadratic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_quintic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_trigonometric_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cubic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cubic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/quintic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/septic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/vector_barycentric_rational_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/whittaker_shannon_detail.hpp", + "external/sources/boost/boost/math/interpolators/makima.hpp", + "external/sources/boost/boost/math/interpolators/pchip.hpp", + "external/sources/boost/boost/math/interpolators/quintic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/septic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/vector_barycentric_rational.hpp", + "external/sources/boost/boost/math/interpolators/whittaker_shannon.hpp", + "external/sources/boost/boost/math/octonion.hpp", + "external/sources/boost/boost/math/policies/error_handling.hpp", + "external/sources/boost/boost/math/policies/policy.hpp", + "external/sources/boost/boost/math/quadrature/detail/exp_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/ooura_fourier_integrals_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/sinh_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_constants.hpp", + "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/exp_sinh.hpp", + "external/sources/boost/boost/math/quadrature/gauss.hpp", + "external/sources/boost/boost/math/quadrature/gauss_kronrod.hpp", + "external/sources/boost/boost/math/quadrature/naive_monte_carlo.hpp", + "external/sources/boost/boost/math/quadrature/ooura_fourier_integrals.hpp", + "external/sources/boost/boost/math/quadrature/sinh_sinh.hpp", + "external/sources/boost/boost/math/quadrature/tanh_sinh.hpp", + "external/sources/boost/boost/math/quadrature/trapezoidal.hpp", + "external/sources/boost/boost/math/quadrature/wavelet_transforms.hpp", + "external/sources/boost/boost/math/quaternion.hpp", + "external/sources/boost/boost/math/special_functions.hpp", + "external/sources/boost/boost/math/special_functions/acosh.hpp", + "external/sources/boost/boost/math/special_functions/airy.hpp", + "external/sources/boost/boost/math/special_functions/asinh.hpp", + "external/sources/boost/boost/math/special_functions/atanh.hpp", + "external/sources/boost/boost/math/special_functions/bernoulli.hpp", + "external/sources/boost/boost/math/special_functions/bessel.hpp", + "external/sources/boost/boost/math/special_functions/bessel_iterators.hpp", + "external/sources/boost/boost/math/special_functions/bessel_prime.hpp", + "external/sources/boost/boost/math/special_functions/beta.hpp", + "external/sources/boost/boost/math/special_functions/binomial.hpp", + "external/sources/boost/boost/math/special_functions/cardinal_b_spline.hpp", + "external/sources/boost/boost/math/special_functions/cbrt.hpp", + "external/sources/boost/boost/math/special_functions/chebyshev.hpp", + "external/sources/boost/boost/math/special_functions/chebyshev_transform.hpp", + "external/sources/boost/boost/math/special_functions/cos_pi.hpp", + "external/sources/boost/boost/math/special_functions/daubechies_scaling.hpp", + "external/sources/boost/boost/math/special_functions/daubechies_wavelet.hpp", + "external/sources/boost/boost/math/special_functions/detail/airy_ai_bi_zero.hpp", + "external/sources/boost/boost/math/special_functions/detail/bernoulli_details.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_derivatives_linear.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_i0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_i1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_ik.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_j0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_j1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jn.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_zero.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_k0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_k1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_kn.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_y0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_y1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_yn.hpp", + "external/sources/boost/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp", + "external/sources/boost/boost/math/special_functions/detail/erf_inv.hpp", + "external/sources/boost/boost/math/special_functions/detail/fp_traits.hpp", + "external/sources/boost/boost/math/special_functions/detail/gamma_inva.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_0F1_bessel.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_addition_theorems_on_z.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_bessel.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_by_ratios.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_cf.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_a.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_abz.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_negative_b_regions.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_scaled_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_small_a_negative_b_by_ratio.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_cf.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pFq_checked_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pade.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_rational.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_separated_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/ibeta_inv_ab.hpp", + "external/sources/boost/boost/math/special_functions/detail/ibeta_inverse.hpp", + "external/sources/boost/boost/math/special_functions/detail/iconv.hpp", + "external/sources/boost/boost/math/special_functions/detail/igamma_inverse.hpp", + "external/sources/boost/boost/math/special_functions/detail/igamma_large.hpp", + "external/sources/boost/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", + "external/sources/boost/boost/math/special_functions/detail/lanczos_sse2.hpp", + "external/sources/boost/boost/math/special_functions/detail/lgamma_small.hpp", + "external/sources/boost/boost/math/special_functions/detail/polygamma.hpp", + "external/sources/boost/boost/math/special_functions/detail/round_fwd.hpp", + "external/sources/boost/boost/math/special_functions/detail/t_distribution_inv.hpp", + "external/sources/boost/boost/math/special_functions/detail/unchecked_bernoulli.hpp", + "external/sources/boost/boost/math/special_functions/detail/unchecked_factorial.hpp", + "external/sources/boost/boost/math/special_functions/digamma.hpp", + "external/sources/boost/boost/math/special_functions/ellint_1.hpp", + "external/sources/boost/boost/math/special_functions/ellint_2.hpp", + "external/sources/boost/boost/math/special_functions/ellint_3.hpp", + "external/sources/boost/boost/math/special_functions/ellint_d.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rc.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rd.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rf.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rg.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rj.hpp", + "external/sources/boost/boost/math/special_functions/erf.hpp", + "external/sources/boost/boost/math/special_functions/expint.hpp", + "external/sources/boost/boost/math/special_functions/expm1.hpp", + "external/sources/boost/boost/math/special_functions/factorials.hpp", + "external/sources/boost/boost/math/special_functions/fpclassify.hpp", + "external/sources/boost/boost/math/special_functions/gamma.hpp", + "external/sources/boost/boost/math/special_functions/gegenbauer.hpp", + "external/sources/boost/boost/math/special_functions/hankel.hpp", + "external/sources/boost/boost/math/special_functions/hermite.hpp", + "external/sources/boost/boost/math/special_functions/heuman_lambda.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_0F1.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_1F0.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_1F1.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_2F0.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_pFq.hpp", + "external/sources/boost/boost/math/special_functions/hypot.hpp", + "external/sources/boost/boost/math/special_functions/jacobi.hpp", + "external/sources/boost/boost/math/special_functions/jacobi_elliptic.hpp", + "external/sources/boost/boost/math/special_functions/jacobi_zeta.hpp", + "external/sources/boost/boost/math/special_functions/laguerre.hpp", + "external/sources/boost/boost/math/special_functions/lambert_w.hpp", + "external/sources/boost/boost/math/special_functions/lanczos.hpp", + "external/sources/boost/boost/math/special_functions/legendre.hpp", + "external/sources/boost/boost/math/special_functions/legendre_stieltjes.hpp", + "external/sources/boost/boost/math/special_functions/log1p.hpp", + "external/sources/boost/boost/math/special_functions/math_fwd.hpp", + "external/sources/boost/boost/math/special_functions/modf.hpp", + "external/sources/boost/boost/math/special_functions/next.hpp", + "external/sources/boost/boost/math/special_functions/nonfinite_num_facets.hpp", + "external/sources/boost/boost/math/special_functions/owens_t.hpp", + "external/sources/boost/boost/math/special_functions/polygamma.hpp", + "external/sources/boost/boost/math/special_functions/pow.hpp", + "external/sources/boost/boost/math/special_functions/powm1.hpp", + "external/sources/boost/boost/math/special_functions/prime.hpp", + "external/sources/boost/boost/math/special_functions/relative_difference.hpp", + "external/sources/boost/boost/math/special_functions/round.hpp", + "external/sources/boost/boost/math/special_functions/sign.hpp", + "external/sources/boost/boost/math/special_functions/sin_pi.hpp", + "external/sources/boost/boost/math/special_functions/sinc.hpp", + "external/sources/boost/boost/math/special_functions/sinhc.hpp", + "external/sources/boost/boost/math/special_functions/spherical_harmonic.hpp", + "external/sources/boost/boost/math/special_functions/sqrt1pm1.hpp", + "external/sources/boost/boost/math/special_functions/trigamma.hpp", + "external/sources/boost/boost/math/special_functions/trunc.hpp", + "external/sources/boost/boost/math/special_functions/ulp.hpp", + "external/sources/boost/boost/math/special_functions/zeta.hpp", + "external/sources/boost/boost/math/statistics/anderson_darling.hpp", + "external/sources/boost/boost/math/statistics/bivariate_statistics.hpp", + "external/sources/boost/boost/math/statistics/linear_regression.hpp", + "external/sources/boost/boost/math/statistics/ljung_box.hpp", + "external/sources/boost/boost/math/statistics/runs_test.hpp", + "external/sources/boost/boost/math/statistics/signal_statistics.hpp", + "external/sources/boost/boost/math/statistics/t_test.hpp", + "external/sources/boost/boost/math/statistics/univariate_statistics.hpp", + "external/sources/boost/boost/math/tools/atomic.hpp", + "external/sources/boost/boost/math/tools/big_constant.hpp", + "external/sources/boost/boost/math/tools/bivariate_statistics.hpp", + "external/sources/boost/boost/math/tools/complex.hpp", + "external/sources/boost/boost/math/tools/condition_numbers.hpp", + "external/sources/boost/boost/math/tools/config.hpp", + "external/sources/boost/boost/math/tools/convert_from_string.hpp", + "external/sources/boost/boost/math/tools/cxx03_warn.hpp", + "external/sources/boost/boost/math/tools/detail/is_const_iterable.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_9.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_9.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_9.hpp", + "external/sources/boost/boost/math/tools/fraction.hpp", + "external/sources/boost/boost/math/tools/minima.hpp", + "external/sources/boost/boost/math/tools/norms.hpp", + "external/sources/boost/boost/math/tools/numerical_differentiation.hpp", + "external/sources/boost/boost/math/tools/polynomial.hpp", + "external/sources/boost/boost/math/tools/polynomial_gcd.hpp", + "external/sources/boost/boost/math/tools/precision.hpp", + "external/sources/boost/boost/math/tools/promotion.hpp", + "external/sources/boost/boost/math/tools/rational.hpp", + "external/sources/boost/boost/math/tools/real_cast.hpp", + "external/sources/boost/boost/math/tools/recurrence.hpp", + "external/sources/boost/boost/math/tools/roots.hpp", + "external/sources/boost/boost/math/tools/series.hpp", + "external/sources/boost/boost/math/tools/signal_statistics.hpp", + "external/sources/boost/boost/math/tools/stats.hpp", + "external/sources/boost/boost/math/tools/test_value.hpp", + "external/sources/boost/boost/math/tools/toms748_solve.hpp", + "external/sources/boost/boost/math/tools/traits.hpp", + "external/sources/boost/boost/math/tools/tuple.hpp", + "external/sources/boost/boost/math/tools/univariate_statistics.hpp", + "external/sources/boost/boost/math/tools/user.hpp", + "external/sources/boost/boost/math/tools/workaround.hpp", + "external/sources/boost/boost/math/tr1.hpp", + "external/sources/boost/boost/math/tr1_c_macros.ipp", + "external/sources/boost/boost/math_fwd.hpp", + "external/sources/boost/boost/mem_fn.hpp", + "external/sources/boost/boost/memory_order.hpp", + "external/sources/boost/boost/metaparse.hpp", + "external/sources/boost/boost/metaparse/accept.hpp", + "external/sources/boost/boost/metaparse/accept_tag.hpp", + "external/sources/boost/boost/metaparse/accept_when.hpp", + "external/sources/boost/boost/metaparse/alphanum.hpp", + "external/sources/boost/boost/metaparse/always.hpp", + "external/sources/boost/boost/metaparse/always_c.hpp", + "external/sources/boost/boost/metaparse/change_error_message.hpp", + "external/sources/boost/boost/metaparse/config.hpp", + "external/sources/boost/boost/metaparse/debug_parsing_error.hpp", + "external/sources/boost/boost/metaparse/define_error.hpp", + "external/sources/boost/boost/metaparse/digit.hpp", + "external/sources/boost/boost/metaparse/digit_val.hpp", + "external/sources/boost/boost/metaparse/empty.hpp", + "external/sources/boost/boost/metaparse/entire_input.hpp", + "external/sources/boost/boost/metaparse/error/digit_expected.hpp", + "external/sources/boost/boost/metaparse/error/end_of_input_expected.hpp", + "external/sources/boost/boost/metaparse/error/index_out_of_range.hpp", + "external/sources/boost/boost/metaparse/error/letter_expected.hpp", + "external/sources/boost/boost/metaparse/error/literal_expected.hpp", + "external/sources/boost/boost/metaparse/error/none_of_the_expected_cases_found.hpp", + "external/sources/boost/boost/metaparse/error/unexpected_character.hpp", + "external/sources/boost/boost/metaparse/error/unexpected_end_of_input.hpp", + "external/sources/boost/boost/metaparse/error/unpaired.hpp", + "external/sources/boost/boost/metaparse/error/whitespace_expected.hpp", + "external/sources/boost/boost/metaparse/except.hpp", + "external/sources/boost/boost/metaparse/fail.hpp", + "external/sources/boost/boost/metaparse/fail_at_first_char_expected.hpp", + "external/sources/boost/boost/metaparse/fail_tag.hpp", + "external/sources/boost/boost/metaparse/first_of.hpp", + "external/sources/boost/boost/metaparse/foldl.hpp", + "external/sources/boost/boost/metaparse/foldl1.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/foldl_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/foldr.hpp", + "external/sources/boost/boost/metaparse/foldr1.hpp", + "external/sources/boost/boost/metaparse/foldr_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/foldr_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/foldr_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/get_col.hpp", + "external/sources/boost/boost/metaparse/get_line.hpp", + "external/sources/boost/boost/metaparse/get_message.hpp", + "external/sources/boost/boost/metaparse/get_position.hpp", + "external/sources/boost/boost/metaparse/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/get_remaining.hpp", + "external/sources/boost/boost/metaparse/get_result.hpp", + "external/sources/boost/boost/metaparse/grammar.hpp", + "external/sources/boost/boost/metaparse/if_.hpp", + "external/sources/boost/boost/metaparse/int_.hpp", + "external/sources/boost/boost/metaparse/is_error.hpp", + "external/sources/boost/boost/metaparse/iterate.hpp", + "external/sources/boost/boost/metaparse/iterate_c.hpp", + "external/sources/boost/boost/metaparse/keyword.hpp", + "external/sources/boost/boost/metaparse/last_of.hpp", + "external/sources/boost/boost/metaparse/letter.hpp", + "external/sources/boost/boost/metaparse/limit_one_char_except_size.hpp", + "external/sources/boost/boost/metaparse/limit_one_of_size.hpp", + "external/sources/boost/boost/metaparse/limit_sequence_size.hpp", + "external/sources/boost/boost/metaparse/limit_string_size.hpp", + "external/sources/boost/boost/metaparse/lit.hpp", + "external/sources/boost/boost/metaparse/lit_c.hpp", + "external/sources/boost/boost/metaparse/look_ahead.hpp", + "external/sources/boost/boost/metaparse/middle_of.hpp", + "external/sources/boost/boost/metaparse/next_char.hpp", + "external/sources/boost/boost/metaparse/next_line.hpp", + "external/sources/boost/boost/metaparse/nth_of.hpp", + "external/sources/boost/boost/metaparse/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/one_char.hpp", + "external/sources/boost/boost/metaparse/one_char_except.hpp", + "external/sources/boost/boost/metaparse/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/one_of.hpp", + "external/sources/boost/boost/metaparse/one_of_c.hpp", + "external/sources/boost/boost/metaparse/optional.hpp", + "external/sources/boost/boost/metaparse/range.hpp", + "external/sources/boost/boost/metaparse/range_c.hpp", + "external/sources/boost/boost/metaparse/reject.hpp", + "external/sources/boost/boost/metaparse/repeated.hpp", + "external/sources/boost/boost/metaparse/repeated1.hpp", + "external/sources/boost/boost/metaparse/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/repeated_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/repeated_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/return_.hpp", + "external/sources/boost/boost/metaparse/sequence.hpp", + "external/sources/boost/boost/metaparse/sequence_apply.hpp", + "external/sources/boost/boost/metaparse/source_position.hpp", + "external/sources/boost/boost/metaparse/source_position_tag.hpp", + "external/sources/boost/boost/metaparse/space.hpp", + "external/sources/boost/boost/metaparse/spaces.hpp", + "external/sources/boost/boost/metaparse/start.hpp", + "external/sources/boost/boost/metaparse/string.hpp", + "external/sources/boost/boost/metaparse/string_tag.hpp", + "external/sources/boost/boost/metaparse/token.hpp", + "external/sources/boost/boost/metaparse/transform.hpp", + "external/sources/boost/boost/metaparse/transform_error.hpp", + "external/sources/boost/boost/metaparse/transform_error_message.hpp", + "external/sources/boost/boost/metaparse/unless_error.hpp", + "external/sources/boost/boost/metaparse/util/digit_to_int.hpp", + "external/sources/boost/boost/metaparse/util/digit_to_int_c.hpp", + "external/sources/boost/boost/metaparse/util/in_range.hpp", + "external/sources/boost/boost/metaparse/util/in_range_c.hpp", + "external/sources/boost/boost/metaparse/util/int_to_digit.hpp", + "external/sources/boost/boost/metaparse/util/int_to_digit_c.hpp", + "external/sources/boost/boost/metaparse/util/is_digit.hpp", + "external/sources/boost/boost/metaparse/util/is_lcase_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_ucase_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_whitespace.hpp", + "external/sources/boost/boost/metaparse/util/is_whitespace_c.hpp", + "external/sources/boost/boost/metaparse/v1/accept.hpp", + "external/sources/boost/boost/metaparse/v1/accept_tag.hpp", + "external/sources/boost/boost/metaparse/v1/accept_when.hpp", + "external/sources/boost/boost/metaparse/v1/alphanum.hpp", + "external/sources/boost/boost/metaparse/v1/always.hpp", + "external/sources/boost/boost/metaparse/v1/always_c.hpp", + "external/sources/boost/boost/metaparse/v1/change_error_message.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/any_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/concat.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/empty_string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/eval_later_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c_skip_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/or_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_back.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_front.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_back_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/size.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/string_at.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp14/impl/any_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp14/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/empty_string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/is_none.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/later_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_char_except_not_used.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of_fwd_op.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_back.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_front.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_back_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_front_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/size.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/skip_seq.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/update_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/string.hpp", + "external/sources/boost/boost/metaparse/v1/debug_parsing_error.hpp", + "external/sources/boost/boost/metaparse/v1/define_error.hpp", + "external/sources/boost/boost/metaparse/v1/digit.hpp", + "external/sources/boost/boost/metaparse/v1/digit_val.hpp", + "external/sources/boost/boost/metaparse/v1/empty.hpp", + "external/sources/boost/boost/metaparse/v1/entire_input.hpp", + "external/sources/boost/boost/metaparse/v1/error/digit_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/end_of_input_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/expected_to_fail.hpp", + "external/sources/boost/boost/metaparse/v1/error/index_out_of_range.hpp", + "external/sources/boost/boost/metaparse/v1/error/letter_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/literal_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/none_of_the_expected_cases_found.hpp", + "external/sources/boost/boost/metaparse/v1/error/unexpected_character.hpp", + "external/sources/boost/boost/metaparse/v1/error/unexpected_end_of_input.hpp", + "external/sources/boost/boost/metaparse/v1/error/unpaired.hpp", + "external/sources/boost/boost/metaparse/v1/error/whitespace_expected.hpp", + "external/sources/boost/boost/metaparse/v1/except.hpp", + "external/sources/boost/boost/metaparse/v1/fail.hpp", + "external/sources/boost/boost/metaparse/v1/fail_at_first_char_expected.hpp", + "external/sources/boost/boost/metaparse/v1/fail_tag.hpp", + "external/sources/boost/boost/metaparse/v1/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/foldl.hpp", + "external/sources/boost/boost/metaparse/v1/foldl1.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/foldr.hpp", + "external/sources/boost/boost/metaparse/v1/foldr1.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/accept.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_col.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_line.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_message.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_position.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_result.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/next_char.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/next_line.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/reject.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/source_position.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/get_col.hpp", + "external/sources/boost/boost/metaparse/v1/get_line.hpp", + "external/sources/boost/boost/metaparse/v1/get_message.hpp", + "external/sources/boost/boost/metaparse/v1/get_position.hpp", + "external/sources/boost/boost/metaparse/v1/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/v1/get_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/get_result.hpp", + "external/sources/boost/boost/metaparse/v1/grammar.hpp", + "external/sources/boost/boost/metaparse/v1/if_.hpp", + "external/sources/boost/boost/metaparse/v1/impl/apply_parser.hpp", + "external/sources/boost/boost/metaparse/v1/impl/assert_string_length.hpp", + "external/sources/boost/boost/metaparse/v1/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/impl/back_inserter.hpp", + "external/sources/boost/boost/metaparse/v1/impl/front_inserter.hpp", + "external/sources/boost/boost/metaparse/v1/impl/fwd/iterate_impl.hpp", + "external/sources/boost/boost/metaparse/v1/impl/has_type.hpp", + "external/sources/boost/boost/metaparse/v1/impl/is_char_c.hpp", + "external/sources/boost/boost/metaparse/v1/impl/iterate_impl.hpp", + "external/sources/boost/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp", + "external/sources/boost/boost/metaparse/v1/impl/next_digit.hpp", + "external/sources/boost/boost/metaparse/v1/impl/no_char.hpp", + "external/sources/boost/boost/metaparse/v1/impl/returns.hpp", + "external/sources/boost/boost/metaparse/v1/impl/string_iterator.hpp", + "external/sources/boost/boost/metaparse/v1/impl/string_iterator_tag.hpp", + "external/sources/boost/boost/metaparse/v1/impl/void_.hpp", + "external/sources/boost/boost/metaparse/v1/int_.hpp", + "external/sources/boost/boost/metaparse/v1/is_error.hpp", + "external/sources/boost/boost/metaparse/v1/iterate.hpp", + "external/sources/boost/boost/metaparse/v1/iterate_c.hpp", + "external/sources/boost/boost/metaparse/v1/keyword.hpp", + "external/sources/boost/boost/metaparse/v1/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/letter.hpp", + "external/sources/boost/boost/metaparse/v1/lit.hpp", + "external/sources/boost/boost/metaparse/v1/lit_c.hpp", + "external/sources/boost/boost/metaparse/v1/look_ahead.hpp", + "external/sources/boost/boost/metaparse/v1/middle_of.hpp", + "external/sources/boost/boost/metaparse/v1/next_char.hpp", + "external/sources/boost/boost/metaparse/v1/next_line.hpp", + "external/sources/boost/boost/metaparse/v1/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/one_char.hpp", + "external/sources/boost/boost/metaparse/v1/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/optional.hpp", + "external/sources/boost/boost/metaparse/v1/range.hpp", + "external/sources/boost/boost/metaparse/v1/range_c.hpp", + "external/sources/boost/boost/metaparse/v1/reject.hpp", + "external/sources/boost/boost/metaparse/v1/repeated.hpp", + "external/sources/boost/boost/metaparse/v1/repeated1.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/return_.hpp", + "external/sources/boost/boost/metaparse/v1/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/sequence_apply.hpp", + "external/sources/boost/boost/metaparse/v1/source_position.hpp", + "external/sources/boost/boost/metaparse/v1/source_position_tag.hpp", + "external/sources/boost/boost/metaparse/v1/space.hpp", + "external/sources/boost/boost/metaparse/v1/spaces.hpp", + "external/sources/boost/boost/metaparse/v1/start.hpp", + "external/sources/boost/boost/metaparse/v1/string.hpp", + "external/sources/boost/boost/metaparse/v1/string_tag.hpp", + "external/sources/boost/boost/metaparse/v1/swap.hpp", + "external/sources/boost/boost/metaparse/v1/token.hpp", + "external/sources/boost/boost/metaparse/v1/transform.hpp", + "external/sources/boost/boost/metaparse/v1/transform_error.hpp", + "external/sources/boost/boost/metaparse/v1/transform_error_message.hpp", + "external/sources/boost/boost/metaparse/v1/unless_error.hpp", + "external/sources/boost/boost/metaparse/v1/util/digit_to_int.hpp", + "external/sources/boost/boost/metaparse/v1/util/digit_to_int_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/in_range.hpp", + "external/sources/boost/boost/metaparse/v1/util/in_range_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/int_to_digit.hpp", + "external/sources/boost/boost/metaparse/v1/util/int_to_digit_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_digit.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_lcase_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_ucase_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_whitespace.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_whitespace_c.hpp", + "external/sources/boost/boost/metaparse/version.hpp", + "external/sources/boost/boost/move/adl_move_swap.hpp", + "external/sources/boost/boost/move/algo/adaptive_merge.hpp", + "external/sources/boost/boost/move/algo/adaptive_sort.hpp", + "external/sources/boost/boost/move/algo/detail/adaptive_sort_merge.hpp", + "external/sources/boost/boost/move/algo/detail/basic_op.hpp", + "external/sources/boost/boost/move/algo/detail/heap_sort.hpp", + "external/sources/boost/boost/move/algo/detail/insertion_sort.hpp", + "external/sources/boost/boost/move/algo/detail/is_sorted.hpp", + "external/sources/boost/boost/move/algo/detail/merge.hpp", + "external/sources/boost/boost/move/algo/detail/merge_sort.hpp", + "external/sources/boost/boost/move/algo/detail/pdqsort.hpp", + "external/sources/boost/boost/move/algo/detail/set_difference.hpp", + "external/sources/boost/boost/move/algo/move.hpp", + "external/sources/boost/boost/move/algo/predicate.hpp", + "external/sources/boost/boost/move/algo/unique.hpp", + "external/sources/boost/boost/move/algorithm.hpp", + "external/sources/boost/boost/move/core.hpp", + "external/sources/boost/boost/move/default_delete.hpp", + "external/sources/boost/boost/move/detail/config_begin.hpp", + "external/sources/boost/boost/move/detail/config_end.hpp", + "external/sources/boost/boost/move/detail/destruct_n.hpp", + "external/sources/boost/boost/move/detail/fwd_macros.hpp", + "external/sources/boost/boost/move/detail/iterator_to_raw_pointer.hpp", + "external/sources/boost/boost/move/detail/iterator_traits.hpp", + "external/sources/boost/boost/move/detail/meta_utils.hpp", + "external/sources/boost/boost/move/detail/meta_utils_core.hpp", + "external/sources/boost/boost/move/detail/move_helpers.hpp", + "external/sources/boost/boost/move/detail/placement_new.hpp", + "external/sources/boost/boost/move/detail/pointer_element.hpp", + "external/sources/boost/boost/move/detail/reverse_iterator.hpp", + "external/sources/boost/boost/move/detail/std_ns_begin.hpp", + "external/sources/boost/boost/move/detail/std_ns_end.hpp", + "external/sources/boost/boost/move/detail/to_raw_pointer.hpp", + "external/sources/boost/boost/move/detail/type_traits.hpp", + "external/sources/boost/boost/move/detail/unique_ptr_meta_utils.hpp", + "external/sources/boost/boost/move/detail/workaround.hpp", + "external/sources/boost/boost/move/iterator.hpp", + "external/sources/boost/boost/move/make_unique.hpp", + "external/sources/boost/boost/move/move.hpp", + "external/sources/boost/boost/move/traits.hpp", + "external/sources/boost/boost/move/unique_ptr.hpp", + "external/sources/boost/boost/move/utility.hpp", + "external/sources/boost/boost/move/utility_core.hpp", + "external/sources/boost/boost/mp11.hpp", + "external/sources/boost/boost/mp11/algorithm.hpp", + "external/sources/boost/boost/mp11/bind.hpp", + "external/sources/boost/boost/mp11/detail/config.hpp", + "external/sources/boost/boost/mp11/detail/mp_append.hpp", + "external/sources/boost/boost/mp11/detail/mp_copy_if.hpp", + "external/sources/boost/boost/mp11/detail/mp_count.hpp", + "external/sources/boost/boost/mp11/detail/mp_fold.hpp", + "external/sources/boost/boost/mp11/detail/mp_is_list.hpp", + "external/sources/boost/boost/mp11/detail/mp_list.hpp", + "external/sources/boost/boost/mp11/detail/mp_map_find.hpp", + "external/sources/boost/boost/mp11/detail/mp_min_element.hpp", + "external/sources/boost/boost/mp11/detail/mp_plus.hpp", + "external/sources/boost/boost/mp11/detail/mp_remove_if.hpp", + "external/sources/boost/boost/mp11/detail/mp_void.hpp", + "external/sources/boost/boost/mp11/detail/mp_with_index.hpp", + "external/sources/boost/boost/mp11/detail/mpl_common.hpp", + "external/sources/boost/boost/mp11/function.hpp", + "external/sources/boost/boost/mp11/integer_sequence.hpp", + "external/sources/boost/boost/mp11/integral.hpp", + "external/sources/boost/boost/mp11/list.hpp", + "external/sources/boost/boost/mp11/map.hpp", + "external/sources/boost/boost/mp11/mpl.hpp", + "external/sources/boost/boost/mp11/mpl_list.hpp", + "external/sources/boost/boost/mp11/mpl_tuple.hpp", + "external/sources/boost/boost/mp11/set.hpp", + "external/sources/boost/boost/mp11/tuple.hpp", + "external/sources/boost/boost/mp11/utility.hpp", + "external/sources/boost/boost/mp11/version.hpp", + "external/sources/boost/boost/mpi.hpp", + "external/sources/boost/boost/mpi/allocator.hpp", + "external/sources/boost/boost/mpi/cartesian_communicator.hpp", + "external/sources/boost/boost/mpi/collectives.hpp", + "external/sources/boost/boost/mpi/collectives/all_gather.hpp", + "external/sources/boost/boost/mpi/collectives/all_gatherv.hpp", + "external/sources/boost/boost/mpi/collectives/all_reduce.hpp", + "external/sources/boost/boost/mpi/collectives/all_to_all.hpp", + "external/sources/boost/boost/mpi/collectives/broadcast.hpp", + "external/sources/boost/boost/mpi/collectives/gather.hpp", + "external/sources/boost/boost/mpi/collectives/gatherv.hpp", + "external/sources/boost/boost/mpi/collectives/reduce.hpp", + "external/sources/boost/boost/mpi/collectives/scan.hpp", + "external/sources/boost/boost/mpi/collectives/scatter.hpp", + "external/sources/boost/boost/mpi/collectives/scatterv.hpp", + "external/sources/boost/boost/mpi/collectives_fwd.hpp", + "external/sources/boost/boost/mpi/communicator.hpp", + "external/sources/boost/boost/mpi/config.hpp", + "external/sources/boost/boost/mpi/datatype.hpp", + "external/sources/boost/boost/mpi/datatype_fwd.hpp", + "external/sources/boost/boost/mpi/detail/antiques.hpp", + "external/sources/boost/boost/mpi/detail/binary_buffer_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/binary_buffer_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/broadcast_sc.hpp", + "external/sources/boost/boost/mpi/detail/communicator_sc.hpp", + "external/sources/boost/boost/mpi/detail/computation_tree.hpp", + "external/sources/boost/boost/mpi/detail/content_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/forward_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/forward_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/forward_skeleton_iarchive.hpp", + "external/sources/boost/boost/mpi/detail/forward_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_cache.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_primitive.hpp", + "external/sources/boost/boost/mpi/detail/offsets.hpp", + "external/sources/boost/boost/mpi/detail/packed_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/packed_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/point_to_point.hpp", + "external/sources/boost/boost/mpi/detail/request_handlers.hpp", + "external/sources/boost/boost/mpi/detail/text_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/environment.hpp", + "external/sources/boost/boost/mpi/error_string.hpp", + "external/sources/boost/boost/mpi/exception.hpp", + "external/sources/boost/boost/mpi/graph_communicator.hpp", + "external/sources/boost/boost/mpi/group.hpp", + "external/sources/boost/boost/mpi/inplace.hpp", + "external/sources/boost/boost/mpi/intercommunicator.hpp", + "external/sources/boost/boost/mpi/nonblocking.hpp", + "external/sources/boost/boost/mpi/operations.hpp", + "external/sources/boost/boost/mpi/packed_iarchive.hpp", + "external/sources/boost/boost/mpi/packed_oarchive.hpp", + "external/sources/boost/boost/mpi/python.hpp", + "external/sources/boost/boost/mpi/python/config.hpp", + "external/sources/boost/boost/mpi/python/serialize.hpp", + "external/sources/boost/boost/mpi/python/skeleton_and_content.hpp", + "external/sources/boost/boost/mpi/request.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content_fwd.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content_types.hpp", + "external/sources/boost/boost/mpi/status.hpp", + "external/sources/boost/boost/mpi/timer.hpp", + "external/sources/boost/boost/mpl/O1_size.hpp", + "external/sources/boost/boost/mpl/O1_size_fwd.hpp", + "external/sources/boost/boost/mpl/accumulate.hpp", + "external/sources/boost/boost/mpl/advance.hpp", + "external/sources/boost/boost/mpl/advance_fwd.hpp", + "external/sources/boost/boost/mpl/alias.hpp", + "external/sources/boost/boost/mpl/always.hpp", + "external/sources/boost/boost/mpl/and.hpp", + "external/sources/boost/boost/mpl/apply.hpp", + "external/sources/boost/boost/mpl/apply_fwd.hpp", + "external/sources/boost/boost/mpl/apply_wrap.hpp", + "external/sources/boost/boost/mpl/arg.hpp", + "external/sources/boost/boost/mpl/arg_fwd.hpp", + "external/sources/boost/boost/mpl/arithmetic.hpp", + "external/sources/boost/boost/mpl/as_sequence.hpp", + "external/sources/boost/boost/mpl/assert.hpp", + "external/sources/boost/boost/mpl/at.hpp", + "external/sources/boost/boost/mpl/at_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/O1_size_impl.hpp", + "external/sources/boost/boost/mpl/aux_/adl_barrier.hpp", + "external/sources/boost/boost/mpl/aux_/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/apply_1st.hpp", + "external/sources/boost/boost/mpl/aux_/arg_typedef.hpp", + "external/sources/boost/boost/mpl/aux_/arithmetic_op.hpp", + "external/sources/boost/boost/mpl/aux_/arity.hpp", + "external/sources/boost/boost/mpl/aux_/arity_spec.hpp", + "external/sources/boost/boost/mpl/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/aux_/back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/aux_/common_name_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/comparison_op.hpp", + "external/sources/boost/boost/mpl/aux_/config/adl.hpp", + "external/sources/boost/boost/mpl/aux_/config/arrays.hpp", + "external/sources/boost/boost/mpl/aux_/config/bcc.hpp", + "external/sources/boost/boost/mpl/aux_/config/bind.hpp", + "external/sources/boost/boost/mpl/aux_/config/compiler.hpp", + "external/sources/boost/boost/mpl/aux_/config/ctps.hpp", + "external/sources/boost/boost/mpl/aux_/config/dependent_nttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/dmc_ambiguous_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/config/dtp.hpp", + "external/sources/boost/boost/mpl/aux_/config/eti.hpp", + "external/sources/boost/boost/mpl/aux_/config/forwarding.hpp", + "external/sources/boost/boost/mpl/aux_/config/gcc.hpp", + "external/sources/boost/boost/mpl/aux_/config/gpu.hpp", + "external/sources/boost/boost/mpl/aux_/config/has_apply.hpp", + "external/sources/boost/boost/mpl/aux_/config/has_xxx.hpp", + "external/sources/boost/boost/mpl/aux_/config/integral.hpp", + "external/sources/boost/boost/mpl/aux_/config/intel.hpp", + "external/sources/boost/boost/mpl/aux_/config/lambda.hpp", + "external/sources/boost/boost/mpl/aux_/config/msvc.hpp", + "external/sources/boost/boost/mpl/aux_/config/msvc_typename.hpp", + "external/sources/boost/boost/mpl/aux_/config/nttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/operators.hpp", + "external/sources/boost/boost/mpl/aux_/config/overload_resolution.hpp", + "external/sources/boost/boost/mpl/aux_/config/pp_counter.hpp", + "external/sources/boost/boost/mpl/aux_/config/preprocessor.hpp", + "external/sources/boost/boost/mpl/aux_/config/static_constant.hpp", + "external/sources/boost/boost/mpl/aux_/config/ttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/typeof.hpp", + "external/sources/boost/boost/mpl/aux_/config/use_preprocessed.hpp", + "external/sources/boost/boost/mpl/aux_/config/workaround.hpp", + "external/sources/boost/boost/mpl/aux_/contains_impl.hpp", + "external/sources/boost/boost/mpl/aux_/count_args.hpp", + "external/sources/boost/boost/mpl/aux_/count_impl.hpp", + "external/sources/boost/boost/mpl/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/aux_/filter_iter.hpp", + "external/sources/boost/boost/mpl/aux_/find_if_pred.hpp", + "external/sources/boost/boost/mpl/aux_/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/fold_impl_body.hpp", + "external/sources/boost/boost/mpl/aux_/fold_op.hpp", + "external/sources/boost/boost/mpl/aux_/fold_pred.hpp", + "external/sources/boost/boost/mpl/aux_/front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/has_apply.hpp", + "external/sources/boost/boost/mpl/aux_/has_begin.hpp", + "external/sources/boost/boost/mpl/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/aux_/has_rebind.hpp", + "external/sources/boost/boost/mpl/aux_/has_size.hpp", + "external/sources/boost/boost/mpl/aux_/has_tag.hpp", + "external/sources/boost/boost/mpl/aux_/has_type.hpp", + "external/sources/boost/boost/mpl/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/aux_/inserter_algorithm.hpp", + "external/sources/boost/boost/mpl/aux_/integral_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/is_msvc_eti_arg.hpp", + "external/sources/boost/boost/mpl/aux_/iter_apply.hpp", + "external/sources/boost/boost/mpl/aux_/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/iter_push_front.hpp", + "external/sources/boost/boost/mpl/aux_/joint_iter.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_arity_param.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_spec.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_support.hpp", + "external/sources/boost/boost/mpl/aux_/largest_int.hpp", + "external/sources/boost/boost/mpl/aux_/logical_op.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_dtw.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_eti_base.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_is_class.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_never_true.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_type.hpp", + "external/sources/boost/boost/mpl/aux_/na.hpp", + "external/sources/boost/boost/mpl/aux_/na_assert.hpp", + "external/sources/boost/boost/mpl/aux_/na_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/na_spec.hpp", + "external/sources/boost/boost/mpl/aux_/nested_type_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/nttp_decl.hpp", + "external/sources/boost/boost/mpl/aux_/numeric_cast_utils.hpp", + "external/sources/boost/boost/mpl/aux_/numeric_op.hpp", + "external/sources/boost/boost/mpl/aux_/order_impl.hpp", + "external/sources/boost/boost/mpl/aux_/overload_names.hpp", + "external/sources/boost/boost/mpl/aux_/partition_op.hpp", + "external/sources/boost/boost/mpl/aux_/pop_back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/pop_front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/add.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/def_params_tail.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/default_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/enum.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/ext_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/filter_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/is_seq.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/partial_spec_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/range.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/repeat.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/sub.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/token_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/tuple.hpp", + "external/sources/boost/boost/mpl/aux_/ptr_to_ref.hpp", + "external/sources/boost/boost/mpl/aux_/push_back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/push_front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/O1_size.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/back.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/empty.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/front.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/iterator.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/size.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/tag.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_fold_impl_body.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/sequence_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/shift_op.hpp", + "external/sources/boost/boost/mpl/aux_/single_element_iter.hpp", + "external/sources/boost/boost/mpl/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/aux_/sort_impl.hpp", + "external/sources/boost/boost/mpl/aux_/static_cast.hpp", + "external/sources/boost/boost/mpl/aux_/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/template_arity_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/test.hpp", + "external/sources/boost/boost/mpl/aux_/test/assert.hpp", + "external/sources/boost/boost/mpl/aux_/test/data.hpp", + "external/sources/boost/boost/mpl/aux_/test/test_case.hpp", + "external/sources/boost/boost/mpl/aux_/traits_lambda_spec.hpp", + "external/sources/boost/boost/mpl/aux_/transform_iter.hpp", + "external/sources/boost/boost/mpl/aux_/type_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/unwrap.hpp", + "external/sources/boost/boost/mpl/aux_/value_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/yes_no.hpp", + "external/sources/boost/boost/mpl/back.hpp", + "external/sources/boost/boost/mpl/back_fwd.hpp", + "external/sources/boost/boost/mpl/back_inserter.hpp", + "external/sources/boost/boost/mpl/base.hpp", + "external/sources/boost/boost/mpl/begin.hpp", + "external/sources/boost/boost/mpl/begin_end.hpp", + "external/sources/boost/boost/mpl/begin_end_fwd.hpp", + "external/sources/boost/boost/mpl/bind.hpp", + "external/sources/boost/boost/mpl/bind_fwd.hpp", + "external/sources/boost/boost/mpl/bitand.hpp", + "external/sources/boost/boost/mpl/bitor.hpp", + "external/sources/boost/boost/mpl/bitwise.hpp", + "external/sources/boost/boost/mpl/bitxor.hpp", + "external/sources/boost/boost/mpl/bool.hpp", + "external/sources/boost/boost/mpl/bool_fwd.hpp", + "external/sources/boost/boost/mpl/char.hpp", + "external/sources/boost/boost/mpl/char_fwd.hpp", + "external/sources/boost/boost/mpl/clear.hpp", + "external/sources/boost/boost/mpl/clear_fwd.hpp", + "external/sources/boost/boost/mpl/comparison.hpp", + "external/sources/boost/boost/mpl/contains.hpp", + "external/sources/boost/boost/mpl/contains_fwd.hpp", + "external/sources/boost/boost/mpl/copy.hpp", + "external/sources/boost/boost/mpl/copy_if.hpp", + "external/sources/boost/boost/mpl/count.hpp", + "external/sources/boost/boost/mpl/count_fwd.hpp", + "external/sources/boost/boost/mpl/count_if.hpp", + "external/sources/boost/boost/mpl/deque.hpp", + "external/sources/boost/boost/mpl/deref.hpp", + "external/sources/boost/boost/mpl/distance.hpp", + "external/sources/boost/boost/mpl/distance_fwd.hpp", + "external/sources/boost/boost/mpl/divides.hpp", + "external/sources/boost/boost/mpl/empty.hpp", + "external/sources/boost/boost/mpl/empty_base.hpp", + "external/sources/boost/boost/mpl/empty_fwd.hpp", + "external/sources/boost/boost/mpl/empty_sequence.hpp", + "external/sources/boost/boost/mpl/end.hpp", + "external/sources/boost/boost/mpl/equal.hpp", + "external/sources/boost/boost/mpl/equal_to.hpp", + "external/sources/boost/boost/mpl/erase.hpp", + "external/sources/boost/boost/mpl/erase_fwd.hpp", + "external/sources/boost/boost/mpl/erase_key.hpp", + "external/sources/boost/boost/mpl/erase_key_fwd.hpp", + "external/sources/boost/boost/mpl/eval_if.hpp", + "external/sources/boost/boost/mpl/filter_view.hpp", + "external/sources/boost/boost/mpl/find.hpp", + "external/sources/boost/boost/mpl/find_if.hpp", + "external/sources/boost/boost/mpl/fold.hpp", + "external/sources/boost/boost/mpl/for_each.hpp", + "external/sources/boost/boost/mpl/front.hpp", + "external/sources/boost/boost/mpl/front_fwd.hpp", + "external/sources/boost/boost/mpl/front_inserter.hpp", + "external/sources/boost/boost/mpl/get_tag.hpp", + "external/sources/boost/boost/mpl/greater.hpp", + "external/sources/boost/boost/mpl/greater_equal.hpp", + "external/sources/boost/boost/mpl/has_key.hpp", + "external/sources/boost/boost/mpl/has_key_fwd.hpp", + "external/sources/boost/boost/mpl/has_xxx.hpp", + "external/sources/boost/boost/mpl/identity.hpp", + "external/sources/boost/boost/mpl/if.hpp", + "external/sources/boost/boost/mpl/index_if.hpp", + "external/sources/boost/boost/mpl/index_of.hpp", + "external/sources/boost/boost/mpl/inherit.hpp", + "external/sources/boost/boost/mpl/inherit_linearly.hpp", + "external/sources/boost/boost/mpl/insert.hpp", + "external/sources/boost/boost/mpl/insert_fwd.hpp", + "external/sources/boost/boost/mpl/insert_range.hpp", + "external/sources/boost/boost/mpl/insert_range_fwd.hpp", + "external/sources/boost/boost/mpl/inserter.hpp", + "external/sources/boost/boost/mpl/int.hpp", + "external/sources/boost/boost/mpl/int_fwd.hpp", + "external/sources/boost/boost/mpl/integral_c.hpp", + "external/sources/boost/boost/mpl/integral_c_fwd.hpp", + "external/sources/boost/boost/mpl/integral_c_tag.hpp", + "external/sources/boost/boost/mpl/is_placeholder.hpp", + "external/sources/boost/boost/mpl/is_sequence.hpp", + "external/sources/boost/boost/mpl/iter_fold.hpp", + "external/sources/boost/boost/mpl/iter_fold_if.hpp", + "external/sources/boost/boost/mpl/iterator_category.hpp", + "external/sources/boost/boost/mpl/iterator_range.hpp", + "external/sources/boost/boost/mpl/iterator_tags.hpp", + "external/sources/boost/boost/mpl/joint_view.hpp", + "external/sources/boost/boost/mpl/key_type.hpp", + "external/sources/boost/boost/mpl/key_type_fwd.hpp", + "external/sources/boost/boost/mpl/lambda.hpp", + "external/sources/boost/boost/mpl/lambda_fwd.hpp", + "external/sources/boost/boost/mpl/less.hpp", + "external/sources/boost/boost/mpl/less_equal.hpp", + "external/sources/boost/boost/mpl/limits/arity.hpp", + "external/sources/boost/boost/mpl/limits/list.hpp", + "external/sources/boost/boost/mpl/limits/map.hpp", + "external/sources/boost/boost/mpl/limits/set.hpp", + "external/sources/boost/boost/mpl/limits/string.hpp", + "external/sources/boost/boost/mpl/limits/unrolling.hpp", + "external/sources/boost/boost/mpl/limits/vector.hpp", + "external/sources/boost/boost/mpl/list.hpp", + "external/sources/boost/boost/mpl/list/aux_/O1_size.hpp", + "external/sources/boost/boost/mpl/list/aux_/begin_end.hpp", + "external/sources/boost/boost/mpl/list/aux_/clear.hpp", + "external/sources/boost/boost/mpl/list/aux_/empty.hpp", + "external/sources/boost/boost/mpl/list/aux_/front.hpp", + "external/sources/boost/boost/mpl/list/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/list/aux_/item.hpp", + "external/sources/boost/boost/mpl/list/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/list/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/list/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/pop_front.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/push_back.hpp", + "external/sources/boost/boost/mpl/list/aux_/push_front.hpp", + "external/sources/boost/boost/mpl/list/aux_/size.hpp", + "external/sources/boost/boost/mpl/list/aux_/tag.hpp", + "external/sources/boost/boost/mpl/list/list0.hpp", + "external/sources/boost/boost/mpl/list/list0_c.hpp", + "external/sources/boost/boost/mpl/list/list10.hpp", + "external/sources/boost/boost/mpl/list/list10_c.hpp", + "external/sources/boost/boost/mpl/list/list20.hpp", + "external/sources/boost/boost/mpl/list/list20_c.hpp", + "external/sources/boost/boost/mpl/list/list30.hpp", + "external/sources/boost/boost/mpl/list/list30_c.hpp", + "external/sources/boost/boost/mpl/list/list40.hpp", + "external/sources/boost/boost/mpl/list/list40_c.hpp", + "external/sources/boost/boost/mpl/list/list50.hpp", + "external/sources/boost/boost/mpl/list/list50_c.hpp", + "external/sources/boost/boost/mpl/list_c.hpp", + "external/sources/boost/boost/mpl/logical.hpp", + "external/sources/boost/boost/mpl/long.hpp", + "external/sources/boost/boost/mpl/long_fwd.hpp", + "external/sources/boost/boost/mpl/lower_bound.hpp", + "external/sources/boost/boost/mpl/map.hpp", + "external/sources/boost/boost/mpl/map/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/contains_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/map/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/item.hpp", + "external/sources/boost/boost/mpl/map/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/map/aux_/key_type_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/map0.hpp", + "external/sources/boost/boost/mpl/map/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/tag.hpp", + "external/sources/boost/boost/mpl/map/aux_/value_type_impl.hpp", + "external/sources/boost/boost/mpl/map/map0.hpp", + "external/sources/boost/boost/mpl/map/map10.hpp", + "external/sources/boost/boost/mpl/map/map20.hpp", + "external/sources/boost/boost/mpl/map/map30.hpp", + "external/sources/boost/boost/mpl/map/map40.hpp", + "external/sources/boost/boost/mpl/map/map50.hpp", + "external/sources/boost/boost/mpl/math/fixed_c.hpp", + "external/sources/boost/boost/mpl/math/is_even.hpp", + "external/sources/boost/boost/mpl/math/rational_c.hpp", + "external/sources/boost/boost/mpl/max.hpp", + "external/sources/boost/boost/mpl/max_element.hpp", + "external/sources/boost/boost/mpl/min.hpp", + "external/sources/boost/boost/mpl/min_element.hpp", + "external/sources/boost/boost/mpl/min_max.hpp", + "external/sources/boost/boost/mpl/minus.hpp", + "external/sources/boost/boost/mpl/modulus.hpp", + "external/sources/boost/boost/mpl/multiplies.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/count_impl.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/item.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/multiset0.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/tag.hpp", + "external/sources/boost/boost/mpl/multiset/multiset0.hpp", + "external/sources/boost/boost/mpl/negate.hpp", + "external/sources/boost/boost/mpl/next.hpp", + "external/sources/boost/boost/mpl/next_prior.hpp", + "external/sources/boost/boost/mpl/not.hpp", + "external/sources/boost/boost/mpl/not_equal_to.hpp", + "external/sources/boost/boost/mpl/numeric_cast.hpp", + "external/sources/boost/boost/mpl/or.hpp", + "external/sources/boost/boost/mpl/order.hpp", + "external/sources/boost/boost/mpl/order_fwd.hpp", + "external/sources/boost/boost/mpl/pair.hpp", + "external/sources/boost/boost/mpl/pair_view.hpp", + "external/sources/boost/boost/mpl/partition.hpp", + "external/sources/boost/boost/mpl/placeholders.hpp", + "external/sources/boost/boost/mpl/plus.hpp", + "external/sources/boost/boost/mpl/pop_back.hpp", + "external/sources/boost/boost/mpl/pop_back_fwd.hpp", + "external/sources/boost/boost/mpl/pop_front.hpp", + "external/sources/boost/boost/mpl/pop_front_fwd.hpp", + "external/sources/boost/boost/mpl/print.hpp", + "external/sources/boost/boost/mpl/prior.hpp", + "external/sources/boost/boost/mpl/protect.hpp", + "external/sources/boost/boost/mpl/push_back.hpp", + "external/sources/boost/boost/mpl/push_back_fwd.hpp", + "external/sources/boost/boost/mpl/push_front.hpp", + "external/sources/boost/boost/mpl/push_front_fwd.hpp", + "external/sources/boost/boost/mpl/quote.hpp", + "external/sources/boost/boost/mpl/range_c.hpp", + "external/sources/boost/boost/mpl/remove.hpp", + "external/sources/boost/boost/mpl/remove_if.hpp", + "external/sources/boost/boost/mpl/replace.hpp", + "external/sources/boost/boost/mpl/replace_if.hpp", + "external/sources/boost/boost/mpl/reverse.hpp", + "external/sources/boost/boost/mpl/reverse_fold.hpp", + "external/sources/boost/boost/mpl/reverse_iter_fold.hpp", + "external/sources/boost/boost/mpl/same_as.hpp", + "external/sources/boost/boost/mpl/sequence_tag.hpp", + "external/sources/boost/boost/mpl/sequence_tag_fwd.hpp", + "external/sources/boost/boost/mpl/set.hpp", + "external/sources/boost/boost/mpl/set/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/set/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/item.hpp", + "external/sources/boost/boost/mpl/set/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/set/aux_/key_type_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/set/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/set0.hpp", + "external/sources/boost/boost/mpl/set/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/tag.hpp", + "external/sources/boost/boost/mpl/set/aux_/value_type_impl.hpp", + "external/sources/boost/boost/mpl/set/set0.hpp", + "external/sources/boost/boost/mpl/set/set0_c.hpp", + "external/sources/boost/boost/mpl/set/set10.hpp", + "external/sources/boost/boost/mpl/set/set10_c.hpp", + "external/sources/boost/boost/mpl/set/set20.hpp", + "external/sources/boost/boost/mpl/set/set20_c.hpp", + "external/sources/boost/boost/mpl/set/set30.hpp", + "external/sources/boost/boost/mpl/set/set30_c.hpp", + "external/sources/boost/boost/mpl/set/set40.hpp", + "external/sources/boost/boost/mpl/set/set40_c.hpp", + "external/sources/boost/boost/mpl/set/set50.hpp", + "external/sources/boost/boost/mpl/set/set50_c.hpp", + "external/sources/boost/boost/mpl/set_c.hpp", + "external/sources/boost/boost/mpl/shift_left.hpp", + "external/sources/boost/boost/mpl/shift_right.hpp", + "external/sources/boost/boost/mpl/single_view.hpp", + "external/sources/boost/boost/mpl/size.hpp", + "external/sources/boost/boost/mpl/size_fwd.hpp", + "external/sources/boost/boost/mpl/size_t.hpp", + "external/sources/boost/boost/mpl/size_t_fwd.hpp", + "external/sources/boost/boost/mpl/sizeof.hpp", + "external/sources/boost/boost/mpl/sort.hpp", + "external/sources/boost/boost/mpl/stable_partition.hpp", + "external/sources/boost/boost/mpl/string.hpp", + "external/sources/boost/boost/mpl/switch.hpp", + "external/sources/boost/boost/mpl/tag.hpp", + "external/sources/boost/boost/mpl/times.hpp", + "external/sources/boost/boost/mpl/transform.hpp", + "external/sources/boost/boost/mpl/transform_view.hpp", + "external/sources/boost/boost/mpl/unique.hpp", + "external/sources/boost/boost/mpl/unpack_args.hpp", + "external/sources/boost/boost/mpl/upper_bound.hpp", + "external/sources/boost/boost/mpl/value_type.hpp", + "external/sources/boost/boost/mpl/value_type_fwd.hpp", + "external/sources/boost/boost/mpl/vector.hpp", + "external/sources/boost/boost/mpl/vector/aux_/O1_size.hpp", + "external/sources/boost/boost/mpl/vector/aux_/at.hpp", + "external/sources/boost/boost/mpl/vector/aux_/back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/begin_end.hpp", + "external/sources/boost/boost/mpl/vector/aux_/clear.hpp", + "external/sources/boost/boost/mpl/vector/aux_/empty.hpp", + "external/sources/boost/boost/mpl/vector/aux_/front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/vector/aux_/item.hpp", + "external/sources/boost/boost/mpl/vector/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/vector/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/vector/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/pop_back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/pop_front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/push_back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/push_front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/size.hpp", + "external/sources/boost/boost/mpl/vector/aux_/tag.hpp", + "external/sources/boost/boost/mpl/vector/aux_/vector0.hpp", + "external/sources/boost/boost/mpl/vector/vector0.hpp", + "external/sources/boost/boost/mpl/vector/vector0_c.hpp", + "external/sources/boost/boost/mpl/vector/vector10.hpp", + "external/sources/boost/boost/mpl/vector/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/vector20.hpp", + "external/sources/boost/boost/mpl/vector/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/vector30.hpp", + "external/sources/boost/boost/mpl/vector/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/vector40.hpp", + "external/sources/boost/boost/mpl/vector/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/vector50.hpp", + "external/sources/boost/boost/mpl/vector/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector_c.hpp", + "external/sources/boost/boost/mpl/void.hpp", + "external/sources/boost/boost/mpl/void_fwd.hpp", + "external/sources/boost/boost/mpl/zip_view.hpp", + "external/sources/boost/boost/msm/active_state_switching_policies.hpp", + "external/sources/boost/boost/msm/back/args.hpp", + "external/sources/boost/boost/msm/back/bind_helpers.hpp", + "external/sources/boost/boost/msm/back/common_types.hpp", + "external/sources/boost/boost/msm/back/copy_policies.hpp", + "external/sources/boost/boost/msm/back/default_compile_policy.hpp", + "external/sources/boost/boost/msm/back/dispatch_table.hpp", + "external/sources/boost/boost/msm/back/favor_compile_time.hpp", + "external/sources/boost/boost/msm/back/fold_to_list.hpp", + "external/sources/boost/boost/msm/back/history_policies.hpp", + "external/sources/boost/boost/msm/back/metafunctions.hpp", + "external/sources/boost/boost/msm/back/mpl_graph_fsm_check.hpp", + "external/sources/boost/boost/msm/back/no_fsm_check.hpp", + "external/sources/boost/boost/msm/back/queue_container_circular.hpp", + "external/sources/boost/boost/msm/back/queue_container_deque.hpp", + "external/sources/boost/boost/msm/back/state_machine.hpp", + "external/sources/boost/boost/msm/back/tools.hpp", + "external/sources/boost/boost/msm/common.hpp", + "external/sources/boost/boost/msm/event_traits.hpp", + "external/sources/boost/boost/msm/front/common_states.hpp", + "external/sources/boost/boost/msm/front/completion_event.hpp", + "external/sources/boost/boost/msm/front/detail/common_states.hpp", + "external/sources/boost/boost/msm/front/detail/row2_helper.hpp", + "external/sources/boost/boost/msm/front/euml/algorithm.hpp", + "external/sources/boost/boost/msm/front/euml/common.hpp", + "external/sources/boost/boost/msm/front/euml/container.hpp", + "external/sources/boost/boost/msm/front/euml/euml.hpp", + "external/sources/boost/boost/msm/front/euml/euml_typeof.hpp", + "external/sources/boost/boost/msm/front/euml/guard_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/iteration.hpp", + "external/sources/boost/boost/msm/front/euml/operator.hpp", + "external/sources/boost/boost/msm/front/euml/phoenix_placeholders.hpp", + "external/sources/boost/boost/msm/front/euml/querying.hpp", + "external/sources/boost/boost/msm/front/euml/state_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/stl.hpp", + "external/sources/boost/boost/msm/front/euml/stt_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/transformation.hpp", + "external/sources/boost/boost/msm/front/functor_row.hpp", + "external/sources/boost/boost/msm/front/internal_row.hpp", + "external/sources/boost/boost/msm/front/row2.hpp", + "external/sources/boost/boost/msm/front/state_machine_def.hpp", + "external/sources/boost/boost/msm/front/states.hpp", + "external/sources/boost/boost/msm/mpl_graph/adjacency_list_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/breadth_first_search.hpp", + "external/sources/boost/boost/msm/mpl_graph/depth_first_search.hpp", + "external/sources/boost/boost/msm/mpl_graph/detail/adjacency_list_graph.ipp", + "external/sources/boost/boost/msm/mpl_graph/detail/graph_implementation_interface.ipp", + "external/sources/boost/boost/msm/mpl_graph/detail/incidence_list_graph.ipp", + "external/sources/boost/boost/msm/mpl_graph/incidence_list_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/mpl_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/mpl_utils.hpp", + "external/sources/boost/boost/msm/mpl_graph/search_colors.hpp", + "external/sources/boost/boost/msm/msm_grammar.hpp", + "external/sources/boost/boost/msm/proto_config.hpp", + "external/sources/boost/boost/msm/row_tags.hpp", + "external/sources/boost/boost/multi_array.hpp", + "external/sources/boost/boost/multi_array/algorithm.hpp", + "external/sources/boost/boost/multi_array/base.hpp", + "external/sources/boost/boost/multi_array/collection_concept.hpp", + "external/sources/boost/boost/multi_array/concept_checks.hpp", + "external/sources/boost/boost/multi_array/copy_array.hpp", + "external/sources/boost/boost/multi_array/extent_gen.hpp", + "external/sources/boost/boost/multi_array/extent_range.hpp", + "external/sources/boost/boost/multi_array/index_gen.hpp", + "external/sources/boost/boost/multi_array/index_range.hpp", + "external/sources/boost/boost/multi_array/iterator.hpp", + "external/sources/boost/boost/multi_array/multi_array_ref.hpp", + "external/sources/boost/boost/multi_array/range_list.hpp", + "external/sources/boost/boost/multi_array/storage_order.hpp", + "external/sources/boost/boost/multi_array/subarray.hpp", + "external/sources/boost/boost/multi_array/types.hpp", + "external/sources/boost/boost/multi_array/view.hpp", + "external/sources/boost/boost/multi_index/composite_key.hpp", + "external/sources/boost/boost/multi_index/detail/access_specifier.hpp", + "external/sources/boost/boost/multi_index/detail/adl_swap.hpp", + "external/sources/boost/boost/multi_index/detail/allocator_traits.hpp", + "external/sources/boost/boost/multi_index/detail/archive_constructed.hpp", + "external/sources/boost/boost/multi_index/detail/auto_space.hpp", + "external/sources/boost/boost/multi_index/detail/base_type.hpp", + "external/sources/boost/boost/multi_index/detail/bidir_node_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/bucket_array.hpp", + "external/sources/boost/boost/multi_index/detail/cons_stdtuple.hpp", + "external/sources/boost/boost/multi_index/detail/converter.hpp", + "external/sources/boost/boost/multi_index/detail/copy_map.hpp", + "external/sources/boost/boost/multi_index/detail/define_if_constexpr_macro.hpp", + "external/sources/boost/boost/multi_index/detail/do_not_copy_elements_tag.hpp", + "external/sources/boost/boost/multi_index/detail/duplicates_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/has_tag.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_args.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/header_holder.hpp", + "external/sources/boost/boost/multi_index/detail/ignore_wstrict_aliasing.hpp", + "external/sources/boost/boost/multi_index/detail/index_base.hpp", + "external/sources/boost/boost/multi_index/detail/index_loader.hpp", + "external/sources/boost/boost/multi_index/detail/index_matcher.hpp", + "external/sources/boost/boost/multi_index/detail/index_node_base.hpp", + "external/sources/boost/boost/multi_index/detail/index_saver.hpp", + "external/sources/boost/boost/multi_index/detail/invariant_assert.hpp", + "external/sources/boost/boost/multi_index/detail/is_function.hpp", + "external/sources/boost/boost/multi_index/detail/is_index_list.hpp", + "external/sources/boost/boost/multi_index/detail/is_transparent.hpp", + "external/sources/boost/boost/multi_index/detail/iter_adaptor.hpp", + "external/sources/boost/boost/multi_index/detail/modify_key_adaptor.hpp", + "external/sources/boost/boost/multi_index/detail/no_duplicate_tags.hpp", + "external/sources/boost/boost/multi_index/detail/node_handle.hpp", + "external/sources/boost/boost/multi_index/detail/node_type.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_args.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_impl.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_impl_fwd.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/promotes_arg.hpp", + "external/sources/boost/boost/multi_index/detail/raw_ptr.hpp", + "external/sources/boost/boost/multi_index/detail/restore_wstrict_aliasing.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_loader.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_ptr_array.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_node_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/rnk_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/safe_mode.hpp", + "external/sources/boost/boost/multi_index/detail/scope_guard.hpp", + "external/sources/boost/boost/multi_index/detail/seq_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/seq_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/serialization_version.hpp", + "external/sources/boost/boost/multi_index/detail/uintptr_type.hpp", + "external/sources/boost/boost/multi_index/detail/unbounded.hpp", + "external/sources/boost/boost/multi_index/detail/undef_if_constexpr_macro.hpp", + "external/sources/boost/boost/multi_index/detail/value_compare.hpp", + "external/sources/boost/boost/multi_index/detail/vartempl_support.hpp", + "external/sources/boost/boost/multi_index/global_fun.hpp", + "external/sources/boost/boost/multi_index/hashed_index.hpp", + "external/sources/boost/boost/multi_index/hashed_index_fwd.hpp", + "external/sources/boost/boost/multi_index/identity.hpp", + "external/sources/boost/boost/multi_index/identity_fwd.hpp", + "external/sources/boost/boost/multi_index/indexed_by.hpp", + "external/sources/boost/boost/multi_index/key.hpp", + "external/sources/boost/boost/multi_index/key_extractors.hpp", + "external/sources/boost/boost/multi_index/mem_fun.hpp", + "external/sources/boost/boost/multi_index/member.hpp", + "external/sources/boost/boost/multi_index/ordered_index.hpp", + "external/sources/boost/boost/multi_index/ordered_index_fwd.hpp", + "external/sources/boost/boost/multi_index/random_access_index.hpp", + "external/sources/boost/boost/multi_index/random_access_index_fwd.hpp", + "external/sources/boost/boost/multi_index/ranked_index.hpp", + "external/sources/boost/boost/multi_index/ranked_index_fwd.hpp", + "external/sources/boost/boost/multi_index/safe_mode_errors.hpp", + "external/sources/boost/boost/multi_index/sequenced_index.hpp", + "external/sources/boost/boost/multi_index/sequenced_index_fwd.hpp", + "external/sources/boost/boost/multi_index/tag.hpp", + "external/sources/boost/boost/multi_index_container.hpp", + "external/sources/boost/boost/multi_index_container_fwd.hpp", + "external/sources/boost/boost/multiprecision/complex128.hpp", + "external/sources/boost/boost/multiprecision/complex_adaptor.hpp", + "external/sources/boost/boost/multiprecision/concepts/mp_number_archetypes.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float/io.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float/transcendental.hpp", + "external/sources/boost/boost/multiprecision/cpp_complex.hpp", + "external/sources/boost/boost/multiprecision/cpp_dec_float.hpp", + "external/sources/boost/boost/multiprecision/cpp_int.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/add.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/bitwise.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/checked.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/comparison.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/cpp_int_config.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/divide.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/import_export.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/limits.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/literals.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/misc.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/multiply.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/serialize.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/value_pack.hpp", + "external/sources/boost/boost/multiprecision/debug_adaptor.hpp", + "external/sources/boost/boost/multiprecision/detail/atomic.hpp", + "external/sources/boost/boost/multiprecision/detail/big_lanczos.hpp", + "external/sources/boost/boost/multiprecision/detail/bitscan.hpp", + "external/sources/boost/boost/multiprecision/detail/constexpr.hpp", + "external/sources/boost/boost/multiprecision/detail/default_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/digits.hpp", + "external/sources/boost/boost/multiprecision/detail/dynamic_array.hpp", + "external/sources/boost/boost/multiprecision/detail/et_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/float_string_cvt.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/constants.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/pow.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/trig.hpp", + "external/sources/boost/boost/multiprecision/detail/generic_interconvert.hpp", + "external/sources/boost/boost/multiprecision/detail/integer_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/itos.hpp", + "external/sources/boost/boost/multiprecision/detail/min_max.hpp", + "external/sources/boost/boost/multiprecision/detail/no_et_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/number_base.hpp", + "external/sources/boost/boost/multiprecision/detail/number_compare.hpp", + "external/sources/boost/boost/multiprecision/detail/precision.hpp", + "external/sources/boost/boost/multiprecision/detail/rebind.hpp", + "external/sources/boost/boost/multiprecision/detail/ublas_interop.hpp", + "external/sources/boost/boost/multiprecision/detail/utype_helper.hpp", + "external/sources/boost/boost/multiprecision/eigen.hpp", + "external/sources/boost/boost/multiprecision/float128.hpp", + "external/sources/boost/boost/multiprecision/gmp.hpp", + "external/sources/boost/boost/multiprecision/integer.hpp", + "external/sources/boost/boost/multiprecision/logged_adaptor.hpp", + "external/sources/boost/boost/multiprecision/miller_rabin.hpp", + "external/sources/boost/boost/multiprecision/mpc.hpp", + "external/sources/boost/boost/multiprecision/mpfi.hpp", + "external/sources/boost/boost/multiprecision/mpfr.hpp", + "external/sources/boost/boost/multiprecision/number.hpp", + "external/sources/boost/boost/multiprecision/random.hpp", + "external/sources/boost/boost/multiprecision/rational_adaptor.hpp", + "external/sources/boost/boost/multiprecision/tommath.hpp", + "external/sources/boost/boost/multiprecision/traits/explicit_conversion.hpp", + "external/sources/boost/boost/multiprecision/traits/extract_exponent_type.hpp", + "external/sources/boost/boost/multiprecision/traits/is_backend.hpp", + "external/sources/boost/boost/multiprecision/traits/is_byte_container.hpp", + "external/sources/boost/boost/multiprecision/traits/is_restricted_conversion.hpp", + "external/sources/boost/boost/multiprecision/traits/is_variable_precision.hpp", + "external/sources/boost/boost/next_prior.hpp", + "external/sources/boost/boost/non_type.hpp", + "external/sources/boost/boost/noncopyable.hpp", + "external/sources/boost/boost/nondet_random.hpp", + "external/sources/boost/boost/none.hpp", + "external/sources/boost/boost/none_t.hpp", + "external/sources/boost/boost/nowide/args.hpp", + "external/sources/boost/boost/nowide/config.hpp", + "external/sources/boost/boost/nowide/convert.hpp", + "external/sources/boost/boost/nowide/cstdio.hpp", + "external/sources/boost/boost/nowide/cstdlib.hpp", + "external/sources/boost/boost/nowide/detail/convert.hpp", + "external/sources/boost/boost/nowide/detail/utf.hpp", + "external/sources/boost/boost/nowide/filebuf.hpp", + "external/sources/boost/boost/nowide/filesystem.hpp", + "external/sources/boost/boost/nowide/fstream.hpp", + "external/sources/boost/boost/nowide/iostream.hpp", + "external/sources/boost/boost/nowide/replacement.hpp", + "external/sources/boost/boost/nowide/stackstring.hpp", + "external/sources/boost/boost/nowide/stat.hpp", + "external/sources/boost/boost/nowide/utf/convert.hpp", + "external/sources/boost/boost/nowide/utf/utf.hpp", + "external/sources/boost/boost/nowide/utf8_codecvt.hpp", + "external/sources/boost/boost/nowide/windows.hpp", + "external/sources/boost/boost/numeric/conversion/bounds.hpp", + "external/sources/boost/boost/numeric/conversion/cast.hpp", + "external/sources/boost/boost/numeric/conversion/conversion_traits.hpp", + "external/sources/boost/boost/numeric/conversion/converter.hpp", + "external/sources/boost/boost/numeric/conversion/converter_policies.hpp", + "external/sources/boost/boost/numeric/conversion/detail/bounds.hpp", + "external/sources/boost/boost/numeric/conversion/detail/conversion_traits.hpp", + "external/sources/boost/boost/numeric/conversion/detail/converter.hpp", + "external/sources/boost/boost/numeric/conversion/detail/int_float_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/detail/is_subranged.hpp", + "external/sources/boost/boost/numeric/conversion/detail/meta.hpp", + "external/sources/boost/boost/numeric/conversion/detail/numeric_cast_traits.hpp", + "external/sources/boost/boost/numeric/conversion/detail/old_numeric_cast.hpp", + "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp", + "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp", + "external/sources/boost/boost/numeric/conversion/detail/sign_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/int_float_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/int_float_mixture_enum.hpp", + "external/sources/boost/boost/numeric/conversion/is_subranged.hpp", + "external/sources/boost/boost/numeric/conversion/numeric_cast_traits.hpp", + "external/sources/boost/boost/numeric/conversion/sign_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/sign_mixture_enum.hpp", + "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture_enum.hpp", + "external/sources/boost/boost/numeric/interval.hpp", + "external/sources/boost/boost/numeric/interval/arith.hpp", + "external/sources/boost/boost/numeric/interval/arith2.hpp", + "external/sources/boost/boost/numeric/interval/arith3.hpp", + "external/sources/boost/boost/numeric/interval/checking.hpp", + "external/sources/boost/boost/numeric/interval/compare.hpp", + "external/sources/boost/boost/numeric/interval/compare/certain.hpp", + "external/sources/boost/boost/numeric/interval/compare/explicit.hpp", + "external/sources/boost/boost/numeric/interval/compare/lexicographic.hpp", + "external/sources/boost/boost/numeric/interval/compare/possible.hpp", + "external/sources/boost/boost/numeric/interval/compare/set.hpp", + "external/sources/boost/boost/numeric/interval/compare/tribool.hpp", + "external/sources/boost/boost/numeric/interval/constants.hpp", + "external/sources/boost/boost/numeric/interval/detail/alpha_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/bcc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/bugs.hpp", + "external/sources/boost/boost/numeric/interval/detail/c99_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/c99sub_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/division.hpp", + "external/sources/boost/boost/numeric/interval/detail/ia64_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/interval_prototype.hpp", + "external/sources/boost/boost/numeric/interval/detail/msvc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/ppc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/sparc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/test_input.hpp", + "external/sources/boost/boost/numeric/interval/detail/x86_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/x86gcc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/ext/integer.hpp", + "external/sources/boost/boost/numeric/interval/ext/x86_fast_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/hw_rounding.hpp", + "external/sources/boost/boost/numeric/interval/interval.hpp", + "external/sources/boost/boost/numeric/interval/io.hpp", + "external/sources/boost/boost/numeric/interval/limits.hpp", + "external/sources/boost/boost/numeric/interval/policies.hpp", + "external/sources/boost/boost/numeric/interval/rounded_arith.hpp", + "external/sources/boost/boost/numeric/interval/rounded_transc.hpp", + "external/sources/boost/boost/numeric/interval/rounding.hpp", + "external/sources/boost/boost/numeric/interval/transc.hpp", + "external/sources/boost/boost/numeric/interval/utility.hpp", + "external/sources/boost/boost/numeric/interval/utility_fwd.hpp", + "external/sources/boost/boost/numeric/odeint.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/array_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/default_operations.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/extract_value_type.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/for_each.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/macros.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/multi_array_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/norm_result_type.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/range_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/vector_space_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/config.hpp", + "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/gsl/gsl_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/external/mkl/mkl_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_nested_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_vector_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/implicit_euler_mtl4.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_copy.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_nested_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_abs.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_copy.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_same_instance.hpp", + "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_resize.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/check_adapter.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/functors.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/max_step_checker.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/null_observer.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/observer_collection.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/adaptive_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/adaptive_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/const_step_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/const_step_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/detail/ode_iterator_base.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/n_step_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/times_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/functors.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/null_observer.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/observer_collection.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/n_step_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/n_step_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/times_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/times_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adaptive_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/algebra_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_step_result.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adaptive_adams_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_operations.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/rotating_buffer.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/explicit_generic_rk.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/extrapolation_stepper.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_dense_output_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_dopri5.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_fehlberg78.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/make_controlled.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/make_dense_output.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/implicit_euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/modified_midpoint.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_controller.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_dense_output.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_fehlberg78.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/stepper_categories.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_m4_mclachlan.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_mclachlan.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/velocity_verlet.hpp", + "external/sources/boost/boost/numeric/odeint/util/bind.hpp", + "external/sources/boost/boost/numeric/odeint/util/copy.hpp", + "external/sources/boost/boost/numeric/odeint/util/detail/is_range.hpp", + "external/sources/boost/boost/numeric/odeint/util/detail/less_with_sign.hpp", + "external/sources/boost/boost/numeric/odeint/util/is_pair.hpp", + "external/sources/boost/boost/numeric/odeint/util/is_resizeable.hpp", + "external/sources/boost/boost/numeric/odeint/util/multi_array_adaption.hpp", + "external/sources/boost/boost/numeric/odeint/util/n_ary_helper.hpp", + "external/sources/boost/boost/numeric/odeint/util/odeint_error.hpp", + "external/sources/boost/boost/numeric/odeint/util/resize.hpp", + "external/sources/boost/boost/numeric/odeint/util/resizer.hpp", + "external/sources/boost/boost/numeric/odeint/util/same_instance.hpp", + "external/sources/boost/boost/numeric/odeint/util/same_size.hpp", + "external/sources/boost/boost/numeric/odeint/util/split.hpp", + "external/sources/boost/boost/numeric/odeint/util/split_adaptor.hpp", + "external/sources/boost/boost/numeric/odeint/util/state_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/util/stepper_traits.hpp", + "external/sources/boost/boost/numeric/odeint/util/ublas_matrix_expression.patch", + "external/sources/boost/boost/numeric/odeint/util/ublas_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/util/unit_helper.hpp", + "external/sources/boost/boost/numeric/odeint/util/unwrap_reference.hpp", + "external/sources/boost/boost/numeric/odeint/version.hpp", + "external/sources/boost/boost/numeric/ublas/assignment.hpp", + "external/sources/boost/boost/numeric/ublas/banded.hpp", + "external/sources/boost/boost/numeric/ublas/blas.hpp", + "external/sources/boost/boost/numeric/ublas/detail/concepts.hpp", + "external/sources/boost/boost/numeric/ublas/detail/config.hpp", + "external/sources/boost/boost/numeric/ublas/detail/definitions.hpp", + "external/sources/boost/boost/numeric/ublas/detail/documentation.hpp", + "external/sources/boost/boost/numeric/ublas/detail/duff.hpp", + "external/sources/boost/boost/numeric/ublas/detail/iterator.hpp", + "external/sources/boost/boost/numeric/ublas/detail/matrix_assign.hpp", + "external/sources/boost/boost/numeric/ublas/detail/raw.hpp", + "external/sources/boost/boost/numeric/ublas/detail/returntype_deduction.hpp", + "external/sources/boost/boost/numeric/ublas/detail/temporary.hpp", + "external/sources/boost/boost/numeric/ublas/detail/vector_assign.hpp", + "external/sources/boost/boost/numeric/ublas/doxydoc.hpp", + "external/sources/boost/boost/numeric/ublas/exception.hpp", + "external/sources/boost/boost/numeric/ublas/experimental/sparse_view.hpp", + "external/sources/boost/boost/numeric/ublas/expression_types.hpp", + "external/sources/boost/boost/numeric/ublas/functional.hpp", + "external/sources/boost/boost/numeric/ublas/fwd.hpp", + "external/sources/boost/boost/numeric/ublas/hermitian.hpp", + "external/sources/boost/boost/numeric/ublas/io.hpp", + "external/sources/boost/boost/numeric/ublas/lu.hpp", + "external/sources/boost/boost/numeric/ublas/matrix.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_expression.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_proxy.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_vector.hpp", + "external/sources/boost/boost/numeric/ublas/opencl.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/elementwise.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/library.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/matrix.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/misc.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/operations.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/prod.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/transpose.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/vector.hpp", + "external/sources/boost/boost/numeric/ublas/operation.hpp", + "external/sources/boost/boost/numeric/ublas/operation/begin.hpp", + "external/sources/boost/boost/numeric/ublas/operation/c_array.hpp", + "external/sources/boost/boost/numeric/ublas/operation/end.hpp", + "external/sources/boost/boost/numeric/ublas/operation/num_columns.hpp", + "external/sources/boost/boost/numeric/ublas/operation/num_rows.hpp", + "external/sources/boost/boost/numeric/ublas/operation/size.hpp", + "external/sources/boost/boost/numeric/ublas/operation_blocked.hpp", + "external/sources/boost/boost/numeric/ublas/operation_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/operations.hpp", + "external/sources/boost/boost/numeric/ublas/storage.hpp", + "external/sources/boost/boost/numeric/ublas/storage_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/symmetric.hpp", + "external/sources/boost/boost/numeric/ublas/tags.hpp", + "external/sources/boost/boost/numeric/ublas/tensor.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/algorithms.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/expression.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/extents.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/functions.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/index.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multi_index.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multi_index_utility.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multiplication.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/operators_arithmetic.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/operators_comparison.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/ostream.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/storage_traits.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/strides.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/tensor.hpp", + "external/sources/boost/boost/numeric/ublas/traits.hpp", + "external/sources/boost/boost/numeric/ublas/traits/c_array.hpp", + "external/sources/boost/boost/numeric/ublas/traits/const_iterator_type.hpp", + "external/sources/boost/boost/numeric/ublas/traits/iterator_type.hpp", + "external/sources/boost/boost/numeric/ublas/triangular.hpp", + "external/sources/boost/boost/numeric/ublas/vector.hpp", + "external/sources/boost/boost/numeric/ublas/vector_expression.hpp", + "external/sources/boost/boost/numeric/ublas/vector_of_vector.hpp", + "external/sources/boost/boost/numeric/ublas/vector_proxy.hpp", + "external/sources/boost/boost/numeric/ublas/vector_sparse.hpp", + "external/sources/boost/boost/operators.hpp", + "external/sources/boost/boost/operators_v1.hpp", + "external/sources/boost/boost/optional.hpp", + "external/sources/boost/boost/optional/bad_optional_access.hpp", + "external/sources/boost/boost/optional/detail/experimental_traits.hpp", + "external/sources/boost/boost/optional/detail/old_optional_implementation.hpp", + "external/sources/boost/boost/optional/detail/optional_aligned_storage.hpp", + "external/sources/boost/boost/optional/detail/optional_config.hpp", + "external/sources/boost/boost/optional/detail/optional_factory_support.hpp", + "external/sources/boost/boost/optional/detail/optional_reference_spec.hpp", + "external/sources/boost/boost/optional/detail/optional_relops.hpp", + "external/sources/boost/boost/optional/detail/optional_swap.hpp", + "external/sources/boost/boost/optional/detail/optional_trivially_copyable_base.hpp", + "external/sources/boost/boost/optional/optional.hpp", + "external/sources/boost/boost/optional/optional_fwd.hpp", + "external/sources/boost/boost/optional/optional_io.hpp", + "external/sources/boost/boost/outcome.hpp", + "external/sources/boost/boost/outcome/bad_access.hpp", + "external/sources/boost/boost/outcome/basic_outcome.hpp", + "external/sources/boost/boost/outcome/basic_result.hpp", + "external/sources/boost/boost/outcome/boost_outcome.hpp", + "external/sources/boost/boost/outcome/boost_result.hpp", + "external/sources/boost/boost/outcome/config.hpp", + "external/sources/boost/boost/outcome/convert.hpp", + "external/sources/boost/boost/outcome/coroutine_support.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers_impl.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_failure_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_error_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_final.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_storage.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_value_observers.hpp", + "external/sources/boost/boost/outcome/detail/coroutine_support.ipp", + "external/sources/boost/boost/outcome/detail/revision.hpp", + "external/sources/boost/boost/outcome/detail/trait_std_error_code.hpp", + "external/sources/boost/boost/outcome/detail/trait_std_exception.hpp", + "external/sources/boost/boost/outcome/detail/value_storage.hpp", + "external/sources/boost/boost/outcome/detail/version.hpp", + "external/sources/boost/boost/outcome/experimental/coroutine_support.hpp", + "external/sources/boost/boost/outcome/experimental/result.h", + "external/sources/boost/boost/outcome/experimental/status-code/com_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/config.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_generic_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_win32_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/win32_code_to_generic_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/error.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/errored_status_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/generic_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/getaddrinfo_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/iostream_support.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/nt_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/posix_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/quick_status_code_from_enum.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/result.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code_domain.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code_ptr.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_error.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/std_error_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_code_from_exception.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_error2.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/win32_code.hpp", + "external/sources/boost/boost/outcome/experimental/status_outcome.hpp", + "external/sources/boost/boost/outcome/experimental/status_result.hpp", + "external/sources/boost/boost/outcome/iostream_support.hpp", + "external/sources/boost/boost/outcome/outcome.hpp", + "external/sources/boost/boost/outcome/policy/all_narrow.hpp", + "external/sources/boost/boost/outcome/policy/base.hpp", + "external/sources/boost/boost/outcome/policy/fail_to_compile_observers.hpp", + "external/sources/boost/boost/outcome/policy/outcome_error_code_throw_as_system_error.hpp", + "external/sources/boost/boost/outcome/policy/outcome_exception_ptr_rethrow.hpp", + "external/sources/boost/boost/outcome/policy/result_error_code_throw_as_system_error.hpp", + "external/sources/boost/boost/outcome/policy/result_exception_ptr_rethrow.hpp", + "external/sources/boost/boost/outcome/policy/terminate.hpp", + "external/sources/boost/boost/outcome/policy/throw_bad_result_access.hpp", + "external/sources/boost/boost/outcome/result.hpp", + "external/sources/boost/boost/outcome/std_outcome.hpp", + "external/sources/boost/boost/outcome/std_result.hpp", + "external/sources/boost/boost/outcome/success_failure.hpp", + "external/sources/boost/boost/outcome/trait.hpp", + "external/sources/boost/boost/outcome/try.hpp", + "external/sources/boost/boost/outcome/utils.hpp", + "external/sources/boost/boost/parameter.hpp", + "external/sources/boost/boost/parameter/are_tagged_arguments.hpp", + "external/sources/boost/boost/parameter/aux_/always_true_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/arg_list.hpp", + "external/sources/boost/boost/parameter/aux_/as_lvalue.hpp", + "external/sources/boost/boost/parameter/aux_/augment_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/cast.hpp", + "external/sources/boost/boost/parameter/aux_/default.hpp", + "external/sources/boost/boost/parameter/aux_/has_nested_template_fn.hpp", + "external/sources/boost/boost/parameter/aux_/is_maybe.hpp", + "external/sources/boost/boost/parameter/aux_/is_placeholder.hpp", + "external/sources/boost/boost/parameter/aux_/is_tagged_argument.hpp", + "external/sources/boost/boost/parameter/aux_/lambda_tag.hpp", + "external/sources/boost/boost/parameter/aux_/maybe.hpp", + "external/sources/boost/boost/parameter/aux_/name.hpp", + "external/sources/boost/boost/parameter/aux_/pack/as_parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/pack/deduce_tag.hpp", + "external/sources/boost/boost/parameter/aux_/pack/deduced_item.hpp", + "external/sources/boost/boost/parameter/aux_/pack/insert_tagged.hpp", + "external/sources/boost/boost/parameter/aux_/pack/is_named_argument.hpp", + "external/sources/boost/boost/parameter/aux_/pack/item.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_arg_list.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_deduced_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_parameter_spec_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/pack/predicate.hpp", + "external/sources/boost/boost/parameter/aux_/pack/satisfies.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_deduced.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_type.hpp", + "external/sources/boost/boost/parameter/aux_/pack/unmatched_argument.hpp", + "external/sources/boost/boost/parameter/aux_/parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/parenthesized_type.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/argument_pack.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/match.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/flatten.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/for_each_pred.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/arity_range.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/flatten.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_cast.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_name.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/specification.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/split_args.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/is_binary.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/is_nullary.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/nullptr.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/qualifier.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/seq_enum.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/seq_merge.hpp", + "external/sources/boost/boost/parameter/aux_/python/invoker.hpp", + "external/sources/boost/boost/parameter/aux_/python/invoker_iterate.hpp", + "external/sources/boost/boost/parameter/aux_/result_of0.hpp", + "external/sources/boost/boost/parameter/aux_/set.hpp", + "external/sources/boost/boost/parameter/aux_/tag.hpp", + "external/sources/boost/boost/parameter/aux_/tagged_argument.hpp", + "external/sources/boost/boost/parameter/aux_/tagged_argument_fwd.hpp", + "external/sources/boost/boost/parameter/aux_/template_keyword.hpp", + "external/sources/boost/boost/parameter/aux_/unwrap_cv_reference.hpp", + "external/sources/boost/boost/parameter/aux_/use_default.hpp", + "external/sources/boost/boost/parameter/aux_/use_default_tag.hpp", + "external/sources/boost/boost/parameter/aux_/void.hpp", + "external/sources/boost/boost/parameter/aux_/yesno.hpp", + "external/sources/boost/boost/parameter/binding.hpp", + "external/sources/boost/boost/parameter/compose.hpp", + "external/sources/boost/boost/parameter/config.hpp", + "external/sources/boost/boost/parameter/deduced.hpp", + "external/sources/boost/boost/parameter/is_argument_pack.hpp", + "external/sources/boost/boost/parameter/keyword.hpp", + "external/sources/boost/boost/parameter/keyword_fwd.hpp", + "external/sources/boost/boost/parameter/macros.hpp", + "external/sources/boost/boost/parameter/match.hpp", + "external/sources/boost/boost/parameter/name.hpp", + "external/sources/boost/boost/parameter/nested_keyword.hpp", + "external/sources/boost/boost/parameter/optional.hpp", + "external/sources/boost/boost/parameter/parameters.hpp", + "external/sources/boost/boost/parameter/preprocessor.hpp", + "external/sources/boost/boost/parameter/preprocessor_no_spec.hpp", + "external/sources/boost/boost/parameter/python.hpp", + "external/sources/boost/boost/parameter/required.hpp", + "external/sources/boost/boost/parameter/template_keyword.hpp", + "external/sources/boost/boost/parameter/value_type.hpp", + "external/sources/boost/boost/pending/bucket_sorter.hpp", + "external/sources/boost/boost/pending/container_traits.hpp", + "external/sources/boost/boost/pending/detail/disjoint_sets.hpp", + "external/sources/boost/boost/pending/detail/int_iterator.hpp", + "external/sources/boost/boost/pending/detail/property.hpp", + "external/sources/boost/boost/pending/disjoint_sets.hpp", + "external/sources/boost/boost/pending/fenced_priority_queue.hpp", + "external/sources/boost/boost/pending/fibonacci_heap.hpp", + "external/sources/boost/boost/pending/indirect_cmp.hpp", + "external/sources/boost/boost/pending/integer_log2.hpp", + "external/sources/boost/boost/pending/is_heap.hpp", + "external/sources/boost/boost/pending/iterator_adaptors.hpp", + "external/sources/boost/boost/pending/iterator_tests.hpp", + "external/sources/boost/boost/pending/mutable_heap.hpp", + "external/sources/boost/boost/pending/mutable_queue.hpp", + "external/sources/boost/boost/pending/property.hpp", + "external/sources/boost/boost/pending/property_serialize.hpp", + "external/sources/boost/boost/pending/queue.hpp", + "external/sources/boost/boost/pending/relaxed_heap.hpp", + "external/sources/boost/boost/pending/stringtok.hpp", + "external/sources/boost/boost/phoenix.hpp", + "external/sources/boost/boost/phoenix/bind.hpp", + "external/sources/boost/boost/phoenix/bind/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/bind_member_variable.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/member_function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/member_variable.hpp", + "external/sources/boost/boost/phoenix/config.hpp", + "external/sources/boost/boost/phoenix/core.hpp", + "external/sources/boost/boost/phoenix/core/actor.hpp", + "external/sources/boost/boost/phoenix/core/argument.hpp", + "external/sources/boost/boost/phoenix/core/arity.hpp", + "external/sources/boost/boost/phoenix/core/as_actor.hpp", + "external/sources/boost/boost/phoenix/core/call.hpp", + "external/sources/boost/boost/phoenix/core/debug.hpp", + "external/sources/boost/boost/phoenix/core/detail/argument.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_operator.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_result_of.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/call.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval_expr.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/index_sequence.hpp", + "external/sources/boost/boost/phoenix/core/domain.hpp", + "external/sources/boost/boost/phoenix/core/environment.hpp", + "external/sources/boost/boost/phoenix/core/expression.hpp", + "external/sources/boost/boost/phoenix/core/function_equal.hpp", + "external/sources/boost/boost/phoenix/core/is_actor.hpp", + "external/sources/boost/boost/phoenix/core/is_nullary.hpp", + "external/sources/boost/boost/phoenix/core/is_value.hpp", + "external/sources/boost/boost/phoenix/core/limits.hpp", + "external/sources/boost/boost/phoenix/core/meta_grammar.hpp", + "external/sources/boost/boost/phoenix/core/nothing.hpp", + "external/sources/boost/boost/phoenix/core/reference.hpp", + "external/sources/boost/boost/phoenix/core/terminal.hpp", + "external/sources/boost/boost/phoenix/core/terminal_fwd.hpp", + "external/sources/boost/boost/phoenix/core/v2_eval.hpp", + "external/sources/boost/boost/phoenix/core/value.hpp", + "external/sources/boost/boost/phoenix/debug.hpp", + "external/sources/boost/boost/phoenix/function.hpp", + "external/sources/boost/boost/phoenix/function/adapt_callable.hpp", + "external/sources/boost/boost/phoenix/function/adapt_function.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/function_operator.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_20.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_30.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_40.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_50.hpp", + "external/sources/boost/boost/phoenix/function/function.hpp", + "external/sources/boost/boost/phoenix/function/lazy_list.hpp", + "external/sources/boost/boost/phoenix/function/lazy_operator.hpp", + "external/sources/boost/boost/phoenix/function/lazy_prelude.hpp", + "external/sources/boost/boost/phoenix/function/lazy_reuse.hpp", + "external/sources/boost/boost/phoenix/function/lazy_signature.hpp", + "external/sources/boost/boost/phoenix/function/lazy_smart.hpp", + "external/sources/boost/boost/phoenix/fusion.hpp", + "external/sources/boost/boost/phoenix/fusion/at.hpp", + "external/sources/boost/boost/phoenix/object.hpp", + "external/sources/boost/boost/phoenix/object/const_cast.hpp", + "external/sources/boost/boost/phoenix/object/construct.hpp", + "external/sources/boost/boost/phoenix/object/delete.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/target.hpp", + "external/sources/boost/boost/phoenix/object/dynamic_cast.hpp", + "external/sources/boost/boost/phoenix/object/new.hpp", + "external/sources/boost/boost/phoenix/object/reinterpret_cast.hpp", + "external/sources/boost/boost/phoenix/object/static_cast.hpp", + "external/sources/boost/boost/phoenix/operator.hpp", + "external/sources/boost/boost/phoenix/operator/arithmetic.hpp", + "external/sources/boost/boost/phoenix/operator/bitwise.hpp", + "external/sources/boost/boost/phoenix/operator/comparison.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval_result_of.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_expr.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_gen.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/define_operator.hpp", + "external/sources/boost/boost/phoenix/operator/detail/undef_operator.hpp", + "external/sources/boost/boost/phoenix/operator/if_else.hpp", + "external/sources/boost/boost/phoenix/operator/io.hpp", + "external/sources/boost/boost/phoenix/operator/logical.hpp", + "external/sources/boost/boost/phoenix/operator/member.hpp", + "external/sources/boost/boost/phoenix/operator/self.hpp", + "external/sources/boost/boost/phoenix/phoenix.hpp", + "external/sources/boost/boost/phoenix/scope.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/local_gen.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_10.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_20.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_30.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_40.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_50.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_10.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_20.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_30.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_50.hpp", + "external/sources/boost/boost/phoenix/scope/detail/local_gen.hpp", + "external/sources/boost/boost/phoenix/scope/detail/local_variable.hpp", + "external/sources/boost/boost/phoenix/scope/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/let.hpp", + "external/sources/boost/boost/phoenix/scope/local_variable.hpp", + "external/sources/boost/boost/phoenix/scope/scoped_environment.hpp", + "external/sources/boost/boost/phoenix/scope/this.hpp", + "external/sources/boost/boost/phoenix/statement.hpp", + "external/sources/boost/boost/phoenix/statement/detail/catch_push_back.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/switch.hpp", + "external/sources/boost/boost/phoenix/statement/detail/try_catch_eval.hpp", + "external/sources/boost/boost/phoenix/statement/detail/try_catch_expression.hpp", + "external/sources/boost/boost/phoenix/statement/do_while.hpp", + "external/sources/boost/boost/phoenix/statement/for.hpp", + "external/sources/boost/boost/phoenix/statement/if.hpp", + "external/sources/boost/boost/phoenix/statement/sequence.hpp", + "external/sources/boost/boost/phoenix/statement/switch.hpp", + "external/sources/boost/boost/phoenix/statement/throw.hpp", + "external/sources/boost/boost/phoenix/statement/try_catch.hpp", + "external/sources/boost/boost/phoenix/statement/while.hpp", + "external/sources/boost/boost/phoenix/stl.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/begin.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/decay_array.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/end.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_equal_range.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_find.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_lower_bound.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove_if.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_reverse.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_sort.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_unique.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_upper_bound.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_set.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_list.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_set.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/iteration.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/querying.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/transformation.hpp", + "external/sources/boost/boost/phoenix/stl/cmath.hpp", + "external/sources/boost/boost/phoenix/stl/container.hpp", + "external/sources/boost/boost/phoenix/stl/container/container.hpp", + "external/sources/boost/boost/phoenix/stl/container/detail/container.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate_define.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate_undef.hpp", + "external/sources/boost/boost/phoenix/support/iterate.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_10.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_20.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_30.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_40.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_50.hpp", + "external/sources/boost/boost/phoenix/support/preprocessor/round.hpp", + "external/sources/boost/boost/phoenix/support/vector.hpp", + "external/sources/boost/boost/phoenix/version.hpp", + "external/sources/boost/boost/pointee.hpp", + "external/sources/boost/boost/pointer_cast.hpp", + "external/sources/boost/boost/pointer_to_other.hpp", + "external/sources/boost/boost/poly_collection/algorithm.hpp", + "external/sources/boost/boost/poly_collection/any_collection.hpp", + "external/sources/boost/boost/poly_collection/any_collection_fwd.hpp", + "external/sources/boost/boost/poly_collection/base_collection.hpp", + "external/sources/boost/boost/poly_collection/base_collection_fwd.hpp", + "external/sources/boost/boost/poly_collection/detail/allocator_adaptor.hpp", + "external/sources/boost/boost/poly_collection/detail/any_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/any_model.hpp", + "external/sources/boost/boost/poly_collection/detail/auto_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/base_model.hpp", + "external/sources/boost/boost/poly_collection/detail/callable_wrapper.hpp", + "external/sources/boost/boost/poly_collection/detail/callable_wrapper_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/function_model.hpp", + "external/sources/boost/boost/poly_collection/detail/functional.hpp", + "external/sources/boost/boost/poly_collection/detail/is_acceptable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_constructible.hpp", + "external/sources/boost/boost/poly_collection/detail/is_equality_comparable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_final.hpp", + "external/sources/boost/boost/poly_collection/detail/is_invocable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_nothrow_eq_comparable.hpp", + "external/sources/boost/boost/poly_collection/detail/iterator_impl.hpp", + "external/sources/boost/boost/poly_collection/detail/iterator_traits.hpp", + "external/sources/boost/boost/poly_collection/detail/packed_segment.hpp", + "external/sources/boost/boost/poly_collection/detail/poly_collection.hpp", + "external/sources/boost/boost/poly_collection/detail/segment.hpp", + "external/sources/boost/boost/poly_collection/detail/segment_backend.hpp", + "external/sources/boost/boost/poly_collection/detail/segment_split.hpp", + "external/sources/boost/boost/poly_collection/detail/split_segment.hpp", + "external/sources/boost/boost/poly_collection/detail/stride_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/type_info_map.hpp", + "external/sources/boost/boost/poly_collection/detail/type_restitution.hpp", + "external/sources/boost/boost/poly_collection/detail/value_holder.hpp", + "external/sources/boost/boost/poly_collection/exception.hpp", + "external/sources/boost/boost/poly_collection/function_collection.hpp", + "external/sources/boost/boost/poly_collection/function_collection_fwd.hpp", + "external/sources/boost/boost/polygon/detail/boolean_op.hpp", + "external/sources/boost/boost/polygon/detail/boolean_op_45.hpp", + "external/sources/boost/boost/polygon/detail/iterator_compact_to_points.hpp", + "external/sources/boost/boost/polygon/detail/iterator_geometry_to_set.hpp", + "external/sources/boost/boost/polygon/detail/iterator_points_to_compact.hpp", + "external/sources/boost/boost/polygon/detail/max_cover.hpp", + "external/sources/boost/boost/polygon/detail/minkowski.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_touch.hpp", + "external/sources/boost/boost/polygon/detail/polygon_90_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_90_touch.hpp", + "external/sources/boost/boost/polygon/detail/polygon_arbitrary_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_simplify.hpp", + "external/sources/boost/boost/polygon/detail/polygon_sort_adaptor.hpp", + "external/sources/boost/boost/polygon/detail/property_merge.hpp", + "external/sources/boost/boost/polygon/detail/property_merge_45.hpp", + "external/sources/boost/boost/polygon/detail/rectangle_formation.hpp", + "external/sources/boost/boost/polygon/detail/scan_arbitrary.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_ctypes.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_predicates.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_robust_fpt.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_structures.hpp", + "external/sources/boost/boost/polygon/gmp_override.hpp", + "external/sources/boost/boost/polygon/gtl.hpp", + "external/sources/boost/boost/polygon/interval_concept.hpp", + "external/sources/boost/boost/polygon/interval_data.hpp", + "external/sources/boost/boost/polygon/interval_traits.hpp", + "external/sources/boost/boost/polygon/isotropy.hpp", + "external/sources/boost/boost/polygon/point_concept.hpp", + "external/sources/boost/boost/polygon/point_data.hpp", + "external/sources/boost/boost/polygon/point_traits.hpp", + "external/sources/boost/boost/polygon/polygon.hpp", + "external/sources/boost/boost/polygon/polygon_45_data.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_45_with_holes_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_90_with_holes_data.hpp", + "external/sources/boost/boost/polygon/polygon_data.hpp", + "external/sources/boost/boost/polygon/polygon_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_traits.hpp", + "external/sources/boost/boost/polygon/polygon_with_holes_data.hpp", + "external/sources/boost/boost/polygon/rectangle_concept.hpp", + "external/sources/boost/boost/polygon/rectangle_data.hpp", + "external/sources/boost/boost/polygon/rectangle_traits.hpp", + "external/sources/boost/boost/polygon/segment_concept.hpp", + "external/sources/boost/boost/polygon/segment_data.hpp", + "external/sources/boost/boost/polygon/segment_traits.hpp", + "external/sources/boost/boost/polygon/segment_utils.hpp", + "external/sources/boost/boost/polygon/transform.hpp", + "external/sources/boost/boost/polygon/voronoi.hpp", + "external/sources/boost/boost/polygon/voronoi_builder.hpp", + "external/sources/boost/boost/polygon/voronoi_diagram.hpp", + "external/sources/boost/boost/polygon/voronoi_geometry_type.hpp", + "external/sources/boost/boost/polymorphic_cast.hpp", + "external/sources/boost/boost/polymorphic_pointer_cast.hpp", + "external/sources/boost/boost/pool/detail/for.m4", + "external/sources/boost/boost/pool/detail/guard.hpp", + "external/sources/boost/boost/pool/detail/mutex.hpp", + "external/sources/boost/boost/pool/detail/pool_construct.bat", + "external/sources/boost/boost/pool/detail/pool_construct.ipp", + "external/sources/boost/boost/pool/detail/pool_construct.m4", + "external/sources/boost/boost/pool/detail/pool_construct.sh", + "external/sources/boost/boost/pool/detail/pool_construct_simple.bat", + "external/sources/boost/boost/pool/detail/pool_construct_simple.ipp", + "external/sources/boost/boost/pool/detail/pool_construct_simple.m4", + "external/sources/boost/boost/pool/detail/pool_construct_simple.sh", + "external/sources/boost/boost/pool/object_pool.hpp", + "external/sources/boost/boost/pool/pool.hpp", + "external/sources/boost/boost/pool/pool_alloc.hpp", + "external/sources/boost/boost/pool/poolfwd.hpp", + "external/sources/boost/boost/pool/simple_segregated_storage.hpp", + "external/sources/boost/boost/pool/singleton_pool.hpp", + "external/sources/boost/boost/predef.h", + "external/sources/boost/boost/predef/architecture.h", + "external/sources/boost/boost/predef/architecture/alpha.h", + "external/sources/boost/boost/predef/architecture/arm.h", + "external/sources/boost/boost/predef/architecture/blackfin.h", + "external/sources/boost/boost/predef/architecture/convex.h", + "external/sources/boost/boost/predef/architecture/ia64.h", + "external/sources/boost/boost/predef/architecture/m68k.h", + "external/sources/boost/boost/predef/architecture/mips.h", + "external/sources/boost/boost/predef/architecture/parisc.h", + "external/sources/boost/boost/predef/architecture/ppc.h", + "external/sources/boost/boost/predef/architecture/ptx.h", + "external/sources/boost/boost/predef/architecture/pyramid.h", + "external/sources/boost/boost/predef/architecture/riscv.h", + "external/sources/boost/boost/predef/architecture/rs6k.h", + "external/sources/boost/boost/predef/architecture/sparc.h", + "external/sources/boost/boost/predef/architecture/superh.h", + "external/sources/boost/boost/predef/architecture/sys370.h", + "external/sources/boost/boost/predef/architecture/sys390.h", + "external/sources/boost/boost/predef/architecture/x86.h", + "external/sources/boost/boost/predef/architecture/x86/32.h", + "external/sources/boost/boost/predef/architecture/x86/64.h", + "external/sources/boost/boost/predef/architecture/z.h", + "external/sources/boost/boost/predef/compiler.h", + "external/sources/boost/boost/predef/compiler/borland.h", + "external/sources/boost/boost/predef/compiler/clang.h", + "external/sources/boost/boost/predef/compiler/comeau.h", + "external/sources/boost/boost/predef/compiler/compaq.h", + "external/sources/boost/boost/predef/compiler/diab.h", + "external/sources/boost/boost/predef/compiler/digitalmars.h", + "external/sources/boost/boost/predef/compiler/dignus.h", + "external/sources/boost/boost/predef/compiler/edg.h", + "external/sources/boost/boost/predef/compiler/ekopath.h", + "external/sources/boost/boost/predef/compiler/gcc.h", + "external/sources/boost/boost/predef/compiler/gcc_xml.h", + "external/sources/boost/boost/predef/compiler/greenhills.h", + "external/sources/boost/boost/predef/compiler/hp_acc.h", + "external/sources/boost/boost/predef/compiler/iar.h", + "external/sources/boost/boost/predef/compiler/ibm.h", + "external/sources/boost/boost/predef/compiler/intel.h", + "external/sources/boost/boost/predef/compiler/kai.h", + "external/sources/boost/boost/predef/compiler/llvm.h", + "external/sources/boost/boost/predef/compiler/metaware.h", + "external/sources/boost/boost/predef/compiler/metrowerks.h", + "external/sources/boost/boost/predef/compiler/microtec.h", + "external/sources/boost/boost/predef/compiler/mpw.h", + "external/sources/boost/boost/predef/compiler/nvcc.h", + "external/sources/boost/boost/predef/compiler/palm.h", + "external/sources/boost/boost/predef/compiler/pgi.h", + "external/sources/boost/boost/predef/compiler/sgi_mipspro.h", + "external/sources/boost/boost/predef/compiler/sunpro.h", + "external/sources/boost/boost/predef/compiler/tendra.h", + "external/sources/boost/boost/predef/compiler/visualc.h", + "external/sources/boost/boost/predef/compiler/watcom.h", + "external/sources/boost/boost/predef/detail/_cassert.h", + "external/sources/boost/boost/predef/detail/_exception.h", + "external/sources/boost/boost/predef/detail/comp_detected.h", + "external/sources/boost/boost/predef/detail/os_detected.h", + "external/sources/boost/boost/predef/detail/platform_detected.h", + "external/sources/boost/boost/predef/detail/test.h", + "external/sources/boost/boost/predef/detail/test_def.h", + "external/sources/boost/boost/predef/hardware.h", + "external/sources/boost/boost/predef/hardware/simd.h", + "external/sources/boost/boost/predef/hardware/simd/arm.h", + "external/sources/boost/boost/predef/hardware/simd/arm/versions.h", + "external/sources/boost/boost/predef/hardware/simd/ppc.h", + "external/sources/boost/boost/predef/hardware/simd/ppc/versions.h", + "external/sources/boost/boost/predef/hardware/simd/x86.h", + "external/sources/boost/boost/predef/hardware/simd/x86/versions.h", + "external/sources/boost/boost/predef/hardware/simd/x86_amd.h", + "external/sources/boost/boost/predef/hardware/simd/x86_amd/versions.h", + "external/sources/boost/boost/predef/language.h", + "external/sources/boost/boost/predef/language/cuda.h", + "external/sources/boost/boost/predef/language/objc.h", + "external/sources/boost/boost/predef/language/stdc.h", + "external/sources/boost/boost/predef/language/stdcpp.h", + "external/sources/boost/boost/predef/library.h", + "external/sources/boost/boost/predef/library/c.h", + "external/sources/boost/boost/predef/library/c/_prefix.h", + "external/sources/boost/boost/predef/library/c/cloudabi.h", + "external/sources/boost/boost/predef/library/c/gnu.h", + "external/sources/boost/boost/predef/library/c/uc.h", + "external/sources/boost/boost/predef/library/c/vms.h", + "external/sources/boost/boost/predef/library/c/zos.h", + "external/sources/boost/boost/predef/library/std.h", + "external/sources/boost/boost/predef/library/std/_prefix.h", + "external/sources/boost/boost/predef/library/std/cxx.h", + "external/sources/boost/boost/predef/library/std/dinkumware.h", + "external/sources/boost/boost/predef/library/std/libcomo.h", + "external/sources/boost/boost/predef/library/std/modena.h", + "external/sources/boost/boost/predef/library/std/msl.h", + "external/sources/boost/boost/predef/library/std/roguewave.h", + "external/sources/boost/boost/predef/library/std/sgi.h", + "external/sources/boost/boost/predef/library/std/stdcpp3.h", + "external/sources/boost/boost/predef/library/std/stlport.h", + "external/sources/boost/boost/predef/library/std/vacpp.h", + "external/sources/boost/boost/predef/make.h", + "external/sources/boost/boost/predef/os.h", + "external/sources/boost/boost/predef/os/aix.h", + "external/sources/boost/boost/predef/os/amigaos.h", + "external/sources/boost/boost/predef/os/beos.h", + "external/sources/boost/boost/predef/os/bsd.h", + "external/sources/boost/boost/predef/os/bsd/bsdi.h", + "external/sources/boost/boost/predef/os/bsd/dragonfly.h", + "external/sources/boost/boost/predef/os/bsd/free.h", + "external/sources/boost/boost/predef/os/bsd/net.h", + "external/sources/boost/boost/predef/os/bsd/open.h", + "external/sources/boost/boost/predef/os/cygwin.h", + "external/sources/boost/boost/predef/os/haiku.h", + "external/sources/boost/boost/predef/os/hpux.h", + "external/sources/boost/boost/predef/os/ios.h", + "external/sources/boost/boost/predef/os/irix.h", + "external/sources/boost/boost/predef/os/linux.h", + "external/sources/boost/boost/predef/os/macos.h", + "external/sources/boost/boost/predef/os/os400.h", + "external/sources/boost/boost/predef/os/qnxnto.h", + "external/sources/boost/boost/predef/os/solaris.h", + "external/sources/boost/boost/predef/os/unix.h", + "external/sources/boost/boost/predef/os/vms.h", + "external/sources/boost/boost/predef/os/windows.h", + "external/sources/boost/boost/predef/other.h", + "external/sources/boost/boost/predef/other/endian.h", + "external/sources/boost/boost/predef/other/workaround.h", + "external/sources/boost/boost/predef/platform.h", + "external/sources/boost/boost/predef/platform/android.h", + "external/sources/boost/boost/predef/platform/cloudabi.h", + "external/sources/boost/boost/predef/platform/ios.h", + "external/sources/boost/boost/predef/platform/mingw.h", + "external/sources/boost/boost/predef/platform/mingw32.h", + "external/sources/boost/boost/predef/platform/mingw64.h", + "external/sources/boost/boost/predef/platform/windows_desktop.h", + "external/sources/boost/boost/predef/platform/windows_phone.h", + "external/sources/boost/boost/predef/platform/windows_runtime.h", + "external/sources/boost/boost/predef/platform/windows_server.h", + "external/sources/boost/boost/predef/platform/windows_store.h", + "external/sources/boost/boost/predef/platform/windows_system.h", + "external/sources/boost/boost/predef/platform/windows_uwp.h", + "external/sources/boost/boost/predef/version.h", + "external/sources/boost/boost/predef/version_number.h", + "external/sources/boost/boost/preprocessor.hpp", + "external/sources/boost/boost/preprocessor/arithmetic.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/add.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/dec.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/detail/div_base.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/div.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/inc.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/mod.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/mul.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/sub.hpp", + "external/sources/boost/boost/preprocessor/array.hpp", + "external/sources/boost/boost/preprocessor/array/data.hpp", + "external/sources/boost/boost/preprocessor/array/detail/get_data.hpp", + "external/sources/boost/boost/preprocessor/array/elem.hpp", + "external/sources/boost/boost/preprocessor/array/enum.hpp", + "external/sources/boost/boost/preprocessor/array/insert.hpp", + "external/sources/boost/boost/preprocessor/array/pop_back.hpp", + "external/sources/boost/boost/preprocessor/array/pop_front.hpp", + "external/sources/boost/boost/preprocessor/array/push_back.hpp", + "external/sources/boost/boost/preprocessor/array/push_front.hpp", + "external/sources/boost/boost/preprocessor/array/remove.hpp", + "external/sources/boost/boost/preprocessor/array/replace.hpp", + "external/sources/boost/boost/preprocessor/array/reverse.hpp", + "external/sources/boost/boost/preprocessor/array/size.hpp", + "external/sources/boost/boost/preprocessor/array/to_list.hpp", + "external/sources/boost/boost/preprocessor/array/to_seq.hpp", + "external/sources/boost/boost/preprocessor/array/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/assert_msg.hpp", + "external/sources/boost/boost/preprocessor/cat.hpp", + "external/sources/boost/boost/preprocessor/comma.hpp", + "external/sources/boost/boost/preprocessor/comma_if.hpp", + "external/sources/boost/boost/preprocessor/comparison.hpp", + "external/sources/boost/boost/preprocessor/comparison/equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/greater.hpp", + "external/sources/boost/boost/preprocessor/comparison/greater_equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/less.hpp", + "external/sources/boost/boost/preprocessor/comparison/less_equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/not_equal.hpp", + "external/sources/boost/boost/preprocessor/config/config.hpp", + "external/sources/boost/boost/preprocessor/config/limits.hpp", + "external/sources/boost/boost/preprocessor/control.hpp", + "external/sources/boost/boost/preprocessor/control/deduce_d.hpp", + "external/sources/boost/boost/preprocessor/control/detail/dmc/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/edg/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/msvc/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/while.hpp", + "external/sources/boost/boost/preprocessor/control/expr_if.hpp", + "external/sources/boost/boost/preprocessor/control/expr_iif.hpp", + "external/sources/boost/boost/preprocessor/control/if.hpp", + "external/sources/boost/boost/preprocessor/control/iif.hpp", + "external/sources/boost/boost/preprocessor/control/while.hpp", + "external/sources/boost/boost/preprocessor/debug.hpp", + "external/sources/boost/boost/preprocessor/dec.hpp", + "external/sources/boost/boost/preprocessor/detail/auto_rec.hpp", + "external/sources/boost/boost/preprocessor/detail/check.hpp", + "external/sources/boost/boost/preprocessor/detail/dmc/auto_rec.hpp", + "external/sources/boost/boost/preprocessor/detail/is_binary.hpp", + "external/sources/boost/boost/preprocessor/detail/is_nullary.hpp", + "external/sources/boost/boost/preprocessor/detail/is_unary.hpp", + "external/sources/boost/boost/preprocessor/detail/null.hpp", + "external/sources/boost/boost/preprocessor/detail/split.hpp", + "external/sources/boost/boost/preprocessor/empty.hpp", + "external/sources/boost/boost/preprocessor/enum.hpp", + "external/sources/boost/boost/preprocessor/enum_params.hpp", + "external/sources/boost/boost/preprocessor/enum_params_with_a_default.hpp", + "external/sources/boost/boost/preprocessor/enum_params_with_defaults.hpp", + "external/sources/boost/boost/preprocessor/enum_shifted.hpp", + "external/sources/boost/boost/preprocessor/enum_shifted_params.hpp", + "external/sources/boost/boost/preprocessor/expand.hpp", + "external/sources/boost/boost/preprocessor/expr_if.hpp", + "external/sources/boost/boost/preprocessor/facilities.hpp", + "external/sources/boost/boost/preprocessor/facilities/apply.hpp", + "external/sources/boost/boost/preprocessor/facilities/check_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/detail/is_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/expand.hpp", + "external/sources/boost/boost/preprocessor/facilities/identity.hpp", + "external/sources/boost/boost/preprocessor/facilities/intercept.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_1.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty_or_1.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty_variadic.hpp", + "external/sources/boost/boost/preprocessor/facilities/overload.hpp", + "external/sources/boost/boost/preprocessor/facilities/va_opt.hpp", + "external/sources/boost/boost/preprocessor/for.hpp", + "external/sources/boost/boost/preprocessor/identity.hpp", + "external/sources/boost/boost/preprocessor/if.hpp", + "external/sources/boost/boost/preprocessor/inc.hpp", + "external/sources/boost/boost/preprocessor/iterate.hpp", + "external/sources/boost/boost/preprocessor/iteration.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/finish.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/local.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/rlocal.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/self.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/start.hpp", + "external/sources/boost/boost/preprocessor/iteration/iterate.hpp", + "external/sources/boost/boost/preprocessor/iteration/local.hpp", + "external/sources/boost/boost/preprocessor/iteration/self.hpp", + "external/sources/boost/boost/preprocessor/library.hpp", + "external/sources/boost/boost/preprocessor/limits.hpp", + "external/sources/boost/boost/preprocessor/list.hpp", + "external/sources/boost/boost/preprocessor/list/adt.hpp", + "external/sources/boost/boost/preprocessor/list/append.hpp", + "external/sources/boost/boost/preprocessor/list/at.hpp", + "external/sources/boost/boost/preprocessor/list/cat.hpp", + "external/sources/boost/boost/preprocessor/list/detail/dmc/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/edg/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/edg/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/detail/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/enum.hpp", + "external/sources/boost/boost/preprocessor/list/filter.hpp", + "external/sources/boost/boost/preprocessor/list/first_n.hpp", + "external/sources/boost/boost/preprocessor/list/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/for_each.hpp", + "external/sources/boost/boost/preprocessor/list/for_each_i.hpp", + "external/sources/boost/boost/preprocessor/list/for_each_product.hpp", + "external/sources/boost/boost/preprocessor/list/rest_n.hpp", + "external/sources/boost/boost/preprocessor/list/reverse.hpp", + "external/sources/boost/boost/preprocessor/list/size.hpp", + "external/sources/boost/boost/preprocessor/list/to_array.hpp", + "external/sources/boost/boost/preprocessor/list/to_seq.hpp", + "external/sources/boost/boost/preprocessor/list/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/list/transform.hpp", + "external/sources/boost/boost/preprocessor/logical.hpp", + "external/sources/boost/boost/preprocessor/logical/and.hpp", + "external/sources/boost/boost/preprocessor/logical/bitand.hpp", + "external/sources/boost/boost/preprocessor/logical/bitnor.hpp", + "external/sources/boost/boost/preprocessor/logical/bitor.hpp", + "external/sources/boost/boost/preprocessor/logical/bitxor.hpp", + "external/sources/boost/boost/preprocessor/logical/bool.hpp", + "external/sources/boost/boost/preprocessor/logical/compl.hpp", + "external/sources/boost/boost/preprocessor/logical/nor.hpp", + "external/sources/boost/boost/preprocessor/logical/not.hpp", + "external/sources/boost/boost/preprocessor/logical/or.hpp", + "external/sources/boost/boost/preprocessor/logical/xor.hpp", + "external/sources/boost/boost/preprocessor/max.hpp", + "external/sources/boost/boost/preprocessor/min.hpp", + "external/sources/boost/boost/preprocessor/punctuation.hpp", + "external/sources/boost/boost/preprocessor/punctuation/comma.hpp", + "external/sources/boost/boost/preprocessor/punctuation/comma_if.hpp", + "external/sources/boost/boost/preprocessor/punctuation/detail/is_begin_parens.hpp", + "external/sources/boost/boost/preprocessor/punctuation/is_begin_parens.hpp", + "external/sources/boost/boost/preprocessor/punctuation/paren.hpp", + "external/sources/boost/boost/preprocessor/punctuation/paren_if.hpp", + "external/sources/boost/boost/preprocessor/punctuation/remove_parens.hpp", + "external/sources/boost/boost/preprocessor/repeat.hpp", + "external/sources/boost/boost/preprocessor/repeat_2nd.hpp", + "external/sources/boost/boost/preprocessor/repeat_3rd.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to_2nd.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to_3rd.hpp", + "external/sources/boost/boost/preprocessor/repetition.hpp", + "external/sources/boost/boost/preprocessor/repetition/deduce_r.hpp", + "external/sources/boost/boost/preprocessor/repetition/deduce_z.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/dmc/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/edg/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/msvc/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params_with_a_default.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params_with_defaults.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/repeat.hpp", + "external/sources/boost/boost/preprocessor/repetition/repeat_from_to.hpp", + "external/sources/boost/boost/preprocessor/selection.hpp", + "external/sources/boost/boost/preprocessor/selection/max.hpp", + "external/sources/boost/boost/preprocessor/selection/min.hpp", + "external/sources/boost/boost/preprocessor/seq.hpp", + "external/sources/boost/boost/preprocessor/seq/cat.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/binary_transform.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/is_empty.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/split.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/to_list_msvc.hpp", + "external/sources/boost/boost/preprocessor/seq/elem.hpp", + "external/sources/boost/boost/preprocessor/seq/enum.hpp", + "external/sources/boost/boost/preprocessor/seq/filter.hpp", + "external/sources/boost/boost/preprocessor/seq/first_n.hpp", + "external/sources/boost/boost/preprocessor/seq/fold_left.hpp", + "external/sources/boost/boost/preprocessor/seq/fold_right.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each_i.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each_product.hpp", + "external/sources/boost/boost/preprocessor/seq/insert.hpp", + "external/sources/boost/boost/preprocessor/seq/pop_back.hpp", + "external/sources/boost/boost/preprocessor/seq/pop_front.hpp", + "external/sources/boost/boost/preprocessor/seq/push_back.hpp", + "external/sources/boost/boost/preprocessor/seq/push_front.hpp", + "external/sources/boost/boost/preprocessor/seq/remove.hpp", + "external/sources/boost/boost/preprocessor/seq/replace.hpp", + "external/sources/boost/boost/preprocessor/seq/rest_n.hpp", + "external/sources/boost/boost/preprocessor/seq/reverse.hpp", + "external/sources/boost/boost/preprocessor/seq/seq.hpp", + "external/sources/boost/boost/preprocessor/seq/size.hpp", + "external/sources/boost/boost/preprocessor/seq/subseq.hpp", + "external/sources/boost/boost/preprocessor/seq/to_array.hpp", + "external/sources/boost/boost/preprocessor/seq/to_list.hpp", + "external/sources/boost/boost/preprocessor/seq/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/seq/transform.hpp", + "external/sources/boost/boost/preprocessor/seq/variadic_seq_to_seq.hpp", + "external/sources/boost/boost/preprocessor/slot.hpp", + "external/sources/boost/boost/preprocessor/slot/counter.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/counter.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/def.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/shared.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot1.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot2.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot3.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot4.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot5.hpp", + "external/sources/boost/boost/preprocessor/slot/slot.hpp", + "external/sources/boost/boost/preprocessor/stringize.hpp", + "external/sources/boost/boost/preprocessor/tuple.hpp", + "external/sources/boost/boost/preprocessor/tuple/detail/is_single_return.hpp", + "external/sources/boost/boost/preprocessor/tuple/eat.hpp", + "external/sources/boost/boost/preprocessor/tuple/elem.hpp", + "external/sources/boost/boost/preprocessor/tuple/enum.hpp", + "external/sources/boost/boost/preprocessor/tuple/insert.hpp", + "external/sources/boost/boost/preprocessor/tuple/pop_back.hpp", + "external/sources/boost/boost/preprocessor/tuple/pop_front.hpp", + "external/sources/boost/boost/preprocessor/tuple/push_back.hpp", + "external/sources/boost/boost/preprocessor/tuple/push_front.hpp", + "external/sources/boost/boost/preprocessor/tuple/rem.hpp", + "external/sources/boost/boost/preprocessor/tuple/remove.hpp", + "external/sources/boost/boost/preprocessor/tuple/replace.hpp", + "external/sources/boost/boost/preprocessor/tuple/reverse.hpp", + "external/sources/boost/boost/preprocessor/tuple/size.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_array.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_list.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_seq.hpp", + "external/sources/boost/boost/preprocessor/variadic.hpp", + "external/sources/boost/boost/preprocessor/variadic/detail/has_opt.hpp", + "external/sources/boost/boost/preprocessor/variadic/detail/is_single_return.hpp", + "external/sources/boost/boost/preprocessor/variadic/elem.hpp", + "external/sources/boost/boost/preprocessor/variadic/has_opt.hpp", + "external/sources/boost/boost/preprocessor/variadic/size.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_array.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_list.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_seq.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/while.hpp", + "external/sources/boost/boost/preprocessor/wstringize.hpp", + "external/sources/boost/boost/process.hpp", + "external/sources/boost/boost/process/args.hpp", + "external/sources/boost/boost/process/async.hpp", + "external/sources/boost/boost/process/async_pipe.hpp", + "external/sources/boost/boost/process/async_system.hpp", + "external/sources/boost/boost/process/child.hpp", + "external/sources/boost/boost/process/cmd.hpp", + "external/sources/boost/boost/process/detail/async_handler.hpp", + "external/sources/boost/boost/process/detail/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/child_decl.hpp", + "external/sources/boost/boost/process/detail/config.hpp", + "external/sources/boost/boost/process/detail/execute_impl.hpp", + "external/sources/boost/boost/process/detail/handler.hpp", + "external/sources/boost/boost/process/detail/handler_base.hpp", + "external/sources/boost/boost/process/detail/on_exit.hpp", + "external/sources/boost/boost/process/detail/posix/asio_fwd.hpp", + "external/sources/boost/boost/process/detail/posix/async_handler.hpp", + "external/sources/boost/boost/process/detail/posix/async_in.hpp", + "external/sources/boost/boost/process/detail/posix/async_out.hpp", + "external/sources/boost/boost/process/detail/posix/async_pipe.hpp", + "external/sources/boost/boost/process/detail/posix/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/posix/basic_pipe.hpp", + "external/sources/boost/boost/process/detail/posix/child_handle.hpp", + "external/sources/boost/boost/process/detail/posix/close_in.hpp", + "external/sources/boost/boost/process/detail/posix/close_out.hpp", + "external/sources/boost/boost/process/detail/posix/cmd.hpp", + "external/sources/boost/boost/process/detail/posix/compare_handles.hpp", + "external/sources/boost/boost/process/detail/posix/env_init.hpp", + "external/sources/boost/boost/process/detail/posix/environment.hpp", + "external/sources/boost/boost/process/detail/posix/exe.hpp", + "external/sources/boost/boost/process/detail/posix/executor.hpp", + "external/sources/boost/boost/process/detail/posix/fd.hpp", + "external/sources/boost/boost/process/detail/posix/file_descriptor.hpp", + "external/sources/boost/boost/process/detail/posix/file_in.hpp", + "external/sources/boost/boost/process/detail/posix/file_out.hpp", + "external/sources/boost/boost/process/detail/posix/group_handle.hpp", + "external/sources/boost/boost/process/detail/posix/group_ref.hpp", + "external/sources/boost/boost/process/detail/posix/handler.hpp", + "external/sources/boost/boost/process/detail/posix/handles.hpp", + "external/sources/boost/boost/process/detail/posix/io_context_ref.hpp", + "external/sources/boost/boost/process/detail/posix/is_running.hpp", + "external/sources/boost/boost/process/detail/posix/null_in.hpp", + "external/sources/boost/boost/process/detail/posix/null_out.hpp", + "external/sources/boost/boost/process/detail/posix/on_exit.hpp", + "external/sources/boost/boost/process/detail/posix/pipe_in.hpp", + "external/sources/boost/boost/process/detail/posix/pipe_out.hpp", + "external/sources/boost/boost/process/detail/posix/search_path.hpp", + "external/sources/boost/boost/process/detail/posix/shell_path.hpp", + "external/sources/boost/boost/process/detail/posix/sigchld_service.hpp", + "external/sources/boost/boost/process/detail/posix/signal.hpp", + "external/sources/boost/boost/process/detail/posix/start_dir.hpp", + "external/sources/boost/boost/process/detail/posix/terminate.hpp", + "external/sources/boost/boost/process/detail/posix/use_vfork.hpp", + "external/sources/boost/boost/process/detail/posix/wait_for_exit.hpp", + "external/sources/boost/boost/process/detail/posix/wait_group.hpp", + "external/sources/boost/boost/process/detail/throw_on_error.hpp", + "external/sources/boost/boost/process/detail/traits.hpp", + "external/sources/boost/boost/process/detail/traits/async.hpp", + "external/sources/boost/boost/process/detail/traits/cmd_or_exe.hpp", + "external/sources/boost/boost/process/detail/traits/decl.hpp", + "external/sources/boost/boost/process/detail/traits/env.hpp", + "external/sources/boost/boost/process/detail/traits/error.hpp", + "external/sources/boost/boost/process/detail/traits/group.hpp", + "external/sources/boost/boost/process/detail/traits/wchar_t.hpp", + "external/sources/boost/boost/process/detail/used_handles.hpp", + "external/sources/boost/boost/process/detail/windows/asio_fwd.hpp", + "external/sources/boost/boost/process/detail/windows/async_handler.hpp", + "external/sources/boost/boost/process/detail/windows/async_in.hpp", + "external/sources/boost/boost/process/detail/windows/async_out.hpp", + "external/sources/boost/boost/process/detail/windows/async_pipe.hpp", + "external/sources/boost/boost/process/detail/windows/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/windows/basic_pipe.hpp", + "external/sources/boost/boost/process/detail/windows/child_handle.hpp", + "external/sources/boost/boost/process/detail/windows/close_in.hpp", + "external/sources/boost/boost/process/detail/windows/close_out.hpp", + "external/sources/boost/boost/process/detail/windows/cmd.hpp", + "external/sources/boost/boost/process/detail/windows/compare_handles.hpp", + "external/sources/boost/boost/process/detail/windows/env_init.hpp", + "external/sources/boost/boost/process/detail/windows/environment.hpp", + "external/sources/boost/boost/process/detail/windows/executor.hpp", + "external/sources/boost/boost/process/detail/windows/file_descriptor.hpp", + "external/sources/boost/boost/process/detail/windows/file_in.hpp", + "external/sources/boost/boost/process/detail/windows/file_out.hpp", + "external/sources/boost/boost/process/detail/windows/group_handle.hpp", + "external/sources/boost/boost/process/detail/windows/group_ref.hpp", + "external/sources/boost/boost/process/detail/windows/handle_workaround.hpp", + "external/sources/boost/boost/process/detail/windows/handler.hpp", + "external/sources/boost/boost/process/detail/windows/handles.hpp", + "external/sources/boost/boost/process/detail/windows/io_context_ref.hpp", + "external/sources/boost/boost/process/detail/windows/is_running.hpp", + "external/sources/boost/boost/process/detail/windows/job_workaround.hpp", + "external/sources/boost/boost/process/detail/windows/locale.hpp", + "external/sources/boost/boost/process/detail/windows/null_in.hpp", + "external/sources/boost/boost/process/detail/windows/null_out.hpp", + "external/sources/boost/boost/process/detail/windows/on_exit.hpp", + "external/sources/boost/boost/process/detail/windows/pipe_in.hpp", + "external/sources/boost/boost/process/detail/windows/pipe_out.hpp", + "external/sources/boost/boost/process/detail/windows/search_path.hpp", + "external/sources/boost/boost/process/detail/windows/shell_path.hpp", + "external/sources/boost/boost/process/detail/windows/show_window.hpp", + "external/sources/boost/boost/process/detail/windows/start_dir.hpp", + "external/sources/boost/boost/process/detail/windows/terminate.hpp", + "external/sources/boost/boost/process/detail/windows/wait_for_exit.hpp", + "external/sources/boost/boost/process/detail/windows/wait_group.hpp", + "external/sources/boost/boost/process/env.hpp", + "external/sources/boost/boost/process/environment.hpp", + "external/sources/boost/boost/process/error.hpp", + "external/sources/boost/boost/process/exception.hpp", + "external/sources/boost/boost/process/exe.hpp", + "external/sources/boost/boost/process/extend.hpp", + "external/sources/boost/boost/process/group.hpp", + "external/sources/boost/boost/process/handles.hpp", + "external/sources/boost/boost/process/io.hpp", + "external/sources/boost/boost/process/locale.hpp", + "external/sources/boost/boost/process/pipe.hpp", + "external/sources/boost/boost/process/posix.hpp", + "external/sources/boost/boost/process/search_path.hpp", + "external/sources/boost/boost/process/shell.hpp", + "external/sources/boost/boost/process/spawn.hpp", + "external/sources/boost/boost/process/start_dir.hpp", + "external/sources/boost/boost/process/system.hpp", + "external/sources/boost/boost/process/windows.hpp", + "external/sources/boost/boost/program_options.hpp", + "external/sources/boost/boost/program_options/cmdline.hpp", + "external/sources/boost/boost/program_options/config.hpp", + "external/sources/boost/boost/program_options/detail/cmdline.hpp", + "external/sources/boost/boost/program_options/detail/config_file.hpp", + "external/sources/boost/boost/program_options/detail/convert.hpp", + "external/sources/boost/boost/program_options/detail/parsers.hpp", + "external/sources/boost/boost/program_options/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/program_options/detail/value_semantic.hpp", + "external/sources/boost/boost/program_options/environment_iterator.hpp", + "external/sources/boost/boost/program_options/eof_iterator.hpp", + "external/sources/boost/boost/program_options/errors.hpp", + "external/sources/boost/boost/program_options/option.hpp", + "external/sources/boost/boost/program_options/options_description.hpp", + "external/sources/boost/boost/program_options/parsers.hpp", + "external/sources/boost/boost/program_options/positional_options.hpp", + "external/sources/boost/boost/program_options/value_semantic.hpp", + "external/sources/boost/boost/program_options/variables_map.hpp", + "external/sources/boost/boost/program_options/version.hpp", + "external/sources/boost/boost/progress.hpp", + "external/sources/boost/boost/property_map/compose_property_map.hpp", + "external/sources/boost/boost/property_map/dynamic_property_map.hpp", + "external/sources/boost/boost/property_map/function_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/basic_reduce.hpp", + "external/sources/boost/boost/property_map/parallel/caching_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/detail/untracked_pair.hpp", + "external/sources/boost/boost/property_map/parallel/distributed_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/global_index_map.hpp", + "external/sources/boost/boost/property_map/parallel/impl/distributed_property_map.ipp", + "external/sources/boost/boost/property_map/parallel/local_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/parallel_property_maps.hpp", + "external/sources/boost/boost/property_map/parallel/process_group.hpp", + "external/sources/boost/boost/property_map/parallel/simple_trigger.hpp", + "external/sources/boost/boost/property_map/parallel/unsafe_serialize.hpp", + "external/sources/boost/boost/property_map/parallel/vector_property_map.hpp", + "external/sources/boost/boost/property_map/property_map.hpp", + "external/sources/boost/boost/property_map/property_map_iterator.hpp", + "external/sources/boost/boost/property_map/shared_array_property_map.hpp", + "external/sources/boost/boost/property_map/transform_value_property_map.hpp", + "external/sources/boost/boost/property_map/vector_property_map.hpp", + "external/sources/boost/boost/property_tree/detail/exception_implementation.hpp", + "external/sources/boost/boost/property_tree/detail/file_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_read.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_utils.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_write.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_writer_settings.hpp", + "external/sources/boost/boost/property_tree/detail/ptree_implementation.hpp", + "external/sources/boost/boost/property_tree/detail/ptree_utils.hpp", + "external/sources/boost/boost/property_tree/detail/rapidxml.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_flags.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_read_rapidxml.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_utils.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_write.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_writer_settings.hpp", + "external/sources/boost/boost/property_tree/exceptions.hpp", + "external/sources/boost/boost/property_tree/id_translator.hpp", + "external/sources/boost/boost/property_tree/info_parser.hpp", + "external/sources/boost/boost/property_tree/ini_parser.hpp", + "external/sources/boost/boost/property_tree/json_parser.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/narrow_encoding.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/parser.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/read.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/standard_callbacks.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/wide_encoding.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/write.hpp", + "external/sources/boost/boost/property_tree/json_parser/error.hpp", + "external/sources/boost/boost/property_tree/ptree.hpp", + "external/sources/boost/boost/property_tree/ptree_fwd.hpp", + "external/sources/boost/boost/property_tree/ptree_serialization.hpp", + "external/sources/boost/boost/property_tree/stream_translator.hpp", + "external/sources/boost/boost/property_tree/string_path.hpp", + "external/sources/boost/boost/property_tree/xml_parser.hpp", + "external/sources/boost/boost/proto/args.hpp", + "external/sources/boost/boost/proto/context.hpp", + "external/sources/boost/boost/proto/context/callable.hpp", + "external/sources/boost/boost/proto/context/default.hpp", + "external/sources/boost/boost/proto/context/detail/callable_eval.hpp", + "external/sources/boost/boost/proto/context/detail/default_eval.hpp", + "external/sources/boost/boost/proto/context/detail/null_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/callable_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/default_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/null_eval.hpp", + "external/sources/boost/boost/proto/context/null.hpp", + "external/sources/boost/boost/proto/core.hpp", + "external/sources/boost/boost/proto/debug.hpp", + "external/sources/boost/boost/proto/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/and_n.hpp", + "external/sources/boost/boost/proto/detail/any.hpp", + "external/sources/boost/boost/proto/detail/args.hpp", + "external/sources/boost/boost/proto/detail/as_expr.hpp", + "external/sources/boost/boost/proto/detail/as_lvalue.hpp", + "external/sources/boost/boost/proto/detail/basic_expr.hpp", + "external/sources/boost/boost/proto/detail/class_member_traits.hpp", + "external/sources/boost/boost/proto/detail/decltype.hpp", + "external/sources/boost/boost/proto/detail/deduce_domain.hpp", + "external/sources/boost/boost/proto/detail/deduce_domain_n.hpp", + "external/sources/boost/boost/proto/detail/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/deprecated.hpp", + "external/sources/boost/boost/proto/detail/dont_care.hpp", + "external/sources/boost/boost/proto/detail/expr.hpp", + "external/sources/boost/boost/proto/detail/expr_funop.hpp", + "external/sources/boost/boost/proto/detail/extends_funop.hpp", + "external/sources/boost/boost/proto/detail/extends_funop_const.hpp", + "external/sources/boost/boost/proto/detail/funop.hpp", + "external/sources/boost/boost/proto/detail/generate_by_value.hpp", + "external/sources/boost/boost/proto/detail/ignore_unused.hpp", + "external/sources/boost/boost/proto/detail/is_noncopyable.hpp", + "external/sources/boost/boost/proto/detail/lambda_matches.hpp", + "external/sources/boost/boost/proto/detail/local.hpp", + "external/sources/boost/boost/proto/detail/make_expr.hpp", + "external/sources/boost/boost/proto/detail/make_expr_.hpp", + "external/sources/boost/boost/proto/detail/make_expr_funop.hpp", + "external/sources/boost/boost/proto/detail/matches_.hpp", + "external/sources/boost/boost/proto/detail/memfun_funop.hpp", + "external/sources/boost/boost/proto/detail/or_n.hpp", + "external/sources/boost/boost/proto/detail/poly_function.hpp", + "external/sources/boost/boost/proto/detail/poly_function_funop.hpp", + "external/sources/boost/boost/proto/detail/poly_function_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/and_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/args.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/basic_expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/class_member_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/deduce_domain_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/expr_variadic.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/extends_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/extends_funop_const.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/generate_by_value.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/lambda_matches.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/matches_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/memfun_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/or_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/poly_function_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/poly_function_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/template_arity_helper.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/unpack_expr_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/vararg_matches_impl.hpp", + "external/sources/boost/boost/proto/detail/remove_typename.hpp", + "external/sources/boost/boost/proto/detail/static_const.hpp", + "external/sources/boost/boost/proto/detail/template_arity.hpp", + "external/sources/boost/boost/proto/detail/template_arity_helper.hpp", + "external/sources/boost/boost/proto/detail/traits.hpp", + "external/sources/boost/boost/proto/detail/unpack_expr_.hpp", + "external/sources/boost/boost/proto/detail/vararg_matches_impl.hpp", + "external/sources/boost/boost/proto/domain.hpp", + "external/sources/boost/boost/proto/eval.hpp", + "external/sources/boost/boost/proto/expr.hpp", + "external/sources/boost/boost/proto/extends.hpp", + "external/sources/boost/boost/proto/functional.hpp", + "external/sources/boost/boost/proto/functional/fusion.hpp", + "external/sources/boost/boost/proto/functional/fusion/at.hpp", + "external/sources/boost/boost/proto/functional/fusion/pop_back.hpp", + "external/sources/boost/boost/proto/functional/fusion/pop_front.hpp", + "external/sources/boost/boost/proto/functional/fusion/push_back.hpp", + "external/sources/boost/boost/proto/functional/fusion/push_front.hpp", + "external/sources/boost/boost/proto/functional/fusion/reverse.hpp", + "external/sources/boost/boost/proto/functional/range.hpp", + "external/sources/boost/boost/proto/functional/range/begin.hpp", + "external/sources/boost/boost/proto/functional/range/empty.hpp", + "external/sources/boost/boost/proto/functional/range/end.hpp", + "external/sources/boost/boost/proto/functional/range/rbegin.hpp", + "external/sources/boost/boost/proto/functional/range/rend.hpp", + "external/sources/boost/boost/proto/functional/range/size.hpp", + "external/sources/boost/boost/proto/functional/std.hpp", + "external/sources/boost/boost/proto/functional/std/iterator.hpp", + "external/sources/boost/boost/proto/functional/std/utility.hpp", + "external/sources/boost/boost/proto/fusion.hpp", + "external/sources/boost/boost/proto/generate.hpp", + "external/sources/boost/boost/proto/literal.hpp", + "external/sources/boost/boost/proto/make_expr.hpp", + "external/sources/boost/boost/proto/matches.hpp", + "external/sources/boost/boost/proto/operators.hpp", + "external/sources/boost/boost/proto/proto.hpp", + "external/sources/boost/boost/proto/proto_fwd.hpp", + "external/sources/boost/boost/proto/proto_typeof.hpp", + "external/sources/boost/boost/proto/repeat.hpp", + "external/sources/boost/boost/proto/tags.hpp", + "external/sources/boost/boost/proto/traits.hpp", + "external/sources/boost/boost/proto/transform.hpp", + "external/sources/boost/boost/proto/transform/arg.hpp", + "external/sources/boost/boost/proto/transform/call.hpp", + "external/sources/boost/boost/proto/transform/default.hpp", + "external/sources/boost/boost/proto/transform/detail/call.hpp", + "external/sources/boost/boost/proto/transform/detail/construct_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/construct_pod_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/default_function_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/expand_pack.hpp", + "external/sources/boost/boost/proto/transform/detail/fold_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/lazy.hpp", + "external/sources/boost/boost/proto/transform/detail/make.hpp", + "external/sources/boost/boost/proto/transform/detail/make_gcc_workaround.hpp", + "external/sources/boost/boost/proto/transform/detail/pack.hpp", + "external/sources/boost/boost/proto/transform/detail/pack_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/pass_through_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/call.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_pod_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/default_function_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/expand_pack.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/fold_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/lazy.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/make.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/make_gcc_workaround.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/pack_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/pass_through_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/when.hpp", + "external/sources/boost/boost/proto/transform/detail/when.hpp", + "external/sources/boost/boost/proto/transform/env.hpp", + "external/sources/boost/boost/proto/transform/fold.hpp", + "external/sources/boost/boost/proto/transform/fold_tree.hpp", + "external/sources/boost/boost/proto/transform/impl.hpp", + "external/sources/boost/boost/proto/transform/integral_c.hpp", + "external/sources/boost/boost/proto/transform/lazy.hpp", + "external/sources/boost/boost/proto/transform/make.hpp", + "external/sources/boost/boost/proto/transform/pass_through.hpp", + "external/sources/boost/boost/proto/transform/when.hpp", + "external/sources/boost/boost/ptr_container/clone_allocator.hpp", + "external/sources/boost/boost/ptr_container/detail/associative_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/detail/default_deleter.hpp", + "external/sources/boost/boost/ptr_container/detail/is_convertible.hpp", + "external/sources/boost/boost/ptr_container/detail/map_iterator.hpp", + "external/sources/boost/boost/ptr_container/detail/meta_functions.hpp", + "external/sources/boost/boost/ptr_container/detail/move.hpp", + "external/sources/boost/boost/ptr_container/detail/ptr_container_disable_deprecated.hpp", + "external/sources/boost/boost/ptr_container/detail/reversible_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/detail/scoped_deleter.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_ptr_map_adapter.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_reversible_cont.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_xml_names.hpp", + "external/sources/boost/boost/ptr_container/detail/static_move_ptr.hpp", + "external/sources/boost/boost/ptr_container/detail/throw_exception.hpp", + "external/sources/boost/boost/ptr_container/detail/void_ptr_iterator.hpp", + "external/sources/boost/boost/ptr_container/exception.hpp", + "external/sources/boost/boost/ptr_container/indirect_fun.hpp", + "external/sources/boost/boost/ptr_container/nullable.hpp", + "external/sources/boost/boost/ptr_container/ptr_array.hpp", + "external/sources/boost/boost/ptr_container/ptr_circular_buffer.hpp", + "external/sources/boost/boost/ptr_container/ptr_container.hpp", + "external/sources/boost/boost/ptr_container/ptr_deque.hpp", + "external/sources/boost/boost/ptr_container/ptr_inserter.hpp", + "external/sources/boost/boost/ptr_container/ptr_list.hpp", + "external/sources/boost/boost/ptr_container/ptr_map.hpp", + "external/sources/boost/boost/ptr_container/ptr_map_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_sequence_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_set.hpp", + "external/sources/boost/boost/ptr_container/ptr_set_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_unordered_map.hpp", + "external/sources/boost/boost/ptr_container/ptr_unordered_set.hpp", + "external/sources/boost/boost/ptr_container/ptr_vector.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_array.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_circular_buffer.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_deque.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_list.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_map.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_set.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_map.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_set.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_vector.hpp", + "external/sources/boost/boost/python.hpp", + "external/sources/boost/boost/python/arg_from_python.hpp", + "external/sources/boost/boost/python/args.hpp", + "external/sources/boost/boost/python/args_fwd.hpp", + "external/sources/boost/boost/python/back_reference.hpp", + "external/sources/boost/boost/python/base_type_traits.hpp", + "external/sources/boost/boost/python/bases.hpp", + "external/sources/boost/boost/python/borrowed.hpp", + "external/sources/boost/boost/python/call.hpp", + "external/sources/boost/boost/python/call_method.hpp", + "external/sources/boost/boost/python/cast.hpp", + "external/sources/boost/boost/python/class.hpp", + "external/sources/boost/boost/python/class_fwd.hpp", + "external/sources/boost/boost/python/converter/arg_from_python.hpp", + "external/sources/boost/boost/python/converter/arg_to_python.hpp", + "external/sources/boost/boost/python/converter/arg_to_python_base.hpp", + "external/sources/boost/boost/python/converter/as_to_python_function.hpp", + "external/sources/boost/boost/python/converter/builtin_converters.hpp", + "external/sources/boost/boost/python/converter/constructor_function.hpp", + "external/sources/boost/boost/python/converter/context_result_converter.hpp", + "external/sources/boost/boost/python/converter/convertible_function.hpp", + "external/sources/boost/boost/python/converter/from_python.hpp", + "external/sources/boost/boost/python/converter/implicit.hpp", + "external/sources/boost/boost/python/converter/obj_mgr_arg_from_python.hpp", + "external/sources/boost/boost/python/converter/object_manager.hpp", + "external/sources/boost/boost/python/converter/pointer_type_id.hpp", + "external/sources/boost/boost/python/converter/pyobject_traits.hpp", + "external/sources/boost/boost/python/converter/pyobject_type.hpp", + "external/sources/boost/boost/python/converter/pytype_function.hpp", + "external/sources/boost/boost/python/converter/pytype_object_mgr_traits.hpp", + "external/sources/boost/boost/python/converter/registered.hpp", + "external/sources/boost/boost/python/converter/registered_pointee.hpp", + "external/sources/boost/boost/python/converter/registrations.hpp", + "external/sources/boost/boost/python/converter/registry.hpp", + "external/sources/boost/boost/python/converter/return_from_python.hpp", + "external/sources/boost/boost/python/converter/rvalue_from_python_data.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_deleter.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_from_python.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_to_python.hpp", + "external/sources/boost/boost/python/converter/to_python_function_type.hpp", + "external/sources/boost/boost/python/copy_const_reference.hpp", + "external/sources/boost/boost/python/copy_non_const_reference.hpp", + "external/sources/boost/boost/python/data_members.hpp", + "external/sources/boost/boost/python/def.hpp", + "external/sources/boost/boost/python/def_visitor.hpp", + "external/sources/boost/boost/python/default_call_policies.hpp", + "external/sources/boost/boost/python/detail/aix_init_module.hpp", + "external/sources/boost/boost/python/detail/api_placeholder.hpp", + "external/sources/boost/boost/python/detail/borrowed_ptr.hpp", + "external/sources/boost/boost/python/detail/caller.hpp", + "external/sources/boost/boost/python/detail/config.hpp", + "external/sources/boost/boost/python/detail/construct.hpp", + "external/sources/boost/boost/python/detail/convertible.hpp", + "external/sources/boost/boost/python/detail/copy_ctor_mutates_rhs.hpp", + "external/sources/boost/boost/python/detail/cv_category.hpp", + "external/sources/boost/boost/python/detail/dealloc.hpp", + "external/sources/boost/boost/python/detail/decorated_type_id.hpp", + "external/sources/boost/boost/python/detail/decref_guard.hpp", + "external/sources/boost/boost/python/detail/def_helper.hpp", + "external/sources/boost/boost/python/detail/def_helper_fwd.hpp", + "external/sources/boost/boost/python/detail/defaults_def.hpp", + "external/sources/boost/boost/python/detail/defaults_gen.hpp", + "external/sources/boost/boost/python/detail/dependent.hpp", + "external/sources/boost/boost/python/detail/destroy.hpp", + "external/sources/boost/boost/python/detail/enable_if.hpp", + "external/sources/boost/boost/python/detail/exception_handler.hpp", + "external/sources/boost/boost/python/detail/force_instantiate.hpp", + "external/sources/boost/boost/python/detail/if_else.hpp", + "external/sources/boost/boost/python/detail/indirect_traits.hpp", + "external/sources/boost/boost/python/detail/invoke.hpp", + "external/sources/boost/boost/python/detail/is_auto_ptr.hpp", + "external/sources/boost/boost/python/detail/is_shared_ptr.hpp", + "external/sources/boost/boost/python/detail/is_wrapper.hpp", + "external/sources/boost/boost/python/detail/is_xxx.hpp", + "external/sources/boost/boost/python/detail/make_keyword_range_fn.hpp", + "external/sources/boost/boost/python/detail/make_tuple.hpp", + "external/sources/boost/boost/python/detail/map_entry.hpp", + "external/sources/boost/boost/python/detail/mpl_lambda.hpp", + "external/sources/boost/boost/python/detail/msvc_typeinfo.hpp", + "external/sources/boost/boost/python/detail/none.hpp", + "external/sources/boost/boost/python/detail/not_specified.hpp", + "external/sources/boost/boost/python/detail/nullary_function_adaptor.hpp", + "external/sources/boost/boost/python/detail/operator_id.hpp", + "external/sources/boost/boost/python/detail/overloads_fwd.hpp", + "external/sources/boost/boost/python/detail/pointee.hpp", + "external/sources/boost/boost/python/detail/prefix.hpp", + "external/sources/boost/boost/python/detail/preprocessor.hpp", + "external/sources/boost/boost/python/detail/python22_fixed.h", + "external/sources/boost/boost/python/detail/python_type.hpp", + "external/sources/boost/boost/python/detail/raw_pyobject.hpp", + "external/sources/boost/boost/python/detail/referent_storage.hpp", + "external/sources/boost/boost/python/detail/result.hpp", + "external/sources/boost/boost/python/detail/scope.hpp", + "external/sources/boost/boost/python/detail/sfinae.hpp", + "external/sources/boost/boost/python/detail/signature.hpp", + "external/sources/boost/boost/python/detail/string_literal.hpp", + "external/sources/boost/boost/python/detail/target.hpp", + "external/sources/boost/boost/python/detail/translate_exception.hpp", + "external/sources/boost/boost/python/detail/type_list.hpp", + "external/sources/boost/boost/python/detail/type_list_impl.hpp", + "external/sources/boost/boost/python/detail/type_traits.hpp", + "external/sources/boost/boost/python/detail/unwind_type.hpp", + "external/sources/boost/boost/python/detail/unwrap_type_id.hpp", + "external/sources/boost/boost/python/detail/unwrap_wrapper.hpp", + "external/sources/boost/boost/python/detail/value_arg.hpp", + "external/sources/boost/boost/python/detail/value_is_shared_ptr.hpp", + "external/sources/boost/boost/python/detail/value_is_xxx.hpp", + "external/sources/boost/boost/python/detail/void_ptr.hpp", + "external/sources/boost/boost/python/detail/void_return.hpp", + "external/sources/boost/boost/python/detail/wrap_python.hpp", + "external/sources/boost/boost/python/detail/wrapper_base.hpp", + "external/sources/boost/boost/python/dict.hpp", + "external/sources/boost/boost/python/docstring_options.hpp", + "external/sources/boost/boost/python/enum.hpp", + "external/sources/boost/boost/python/errors.hpp", + "external/sources/boost/boost/python/exception_translator.hpp", + "external/sources/boost/boost/python/exec.hpp", + "external/sources/boost/boost/python/extract.hpp", + "external/sources/boost/boost/python/handle.hpp", + "external/sources/boost/boost/python/handle_fwd.hpp", + "external/sources/boost/boost/python/has_back_reference.hpp", + "external/sources/boost/boost/python/implicit.hpp", + "external/sources/boost/boost/python/import.hpp", + "external/sources/boost/boost/python/init.hpp", + "external/sources/boost/boost/python/instance_holder.hpp", + "external/sources/boost/boost/python/iterator.hpp", + "external/sources/boost/boost/python/list.hpp", + "external/sources/boost/boost/python/long.hpp", + "external/sources/boost/boost/python/lvalue_from_pytype.hpp", + "external/sources/boost/boost/python/make_constructor.hpp", + "external/sources/boost/boost/python/make_function.hpp", + "external/sources/boost/boost/python/manage_new_object.hpp", + "external/sources/boost/boost/python/module.hpp", + "external/sources/boost/boost/python/module_init.hpp", + "external/sources/boost/boost/python/numpy.hpp", + "external/sources/boost/boost/python/numpy/config.hpp", + "external/sources/boost/boost/python/numpy/dtype.hpp", + "external/sources/boost/boost/python/numpy/internal.hpp", + "external/sources/boost/boost/python/numpy/invoke_matching.hpp", + "external/sources/boost/boost/python/numpy/matrix.hpp", + "external/sources/boost/boost/python/numpy/ndarray.hpp", + "external/sources/boost/boost/python/numpy/numpy_object_mgr_traits.hpp", + "external/sources/boost/boost/python/numpy/scalars.hpp", + "external/sources/boost/boost/python/numpy/ufunc.hpp", + "external/sources/boost/boost/python/object.hpp", + "external/sources/boost/boost/python/object/add_to_namespace.hpp", + "external/sources/boost/boost/python/object/class.hpp", + "external/sources/boost/boost/python/object/class_detail.hpp", + "external/sources/boost/boost/python/object/class_metadata.hpp", + "external/sources/boost/boost/python/object/class_wrapper.hpp", + "external/sources/boost/boost/python/object/enum_base.hpp", + "external/sources/boost/boost/python/object/find_instance.hpp", + "external/sources/boost/boost/python/object/forward.hpp", + "external/sources/boost/boost/python/object/function.hpp", + "external/sources/boost/boost/python/object/function_doc_signature.hpp", + "external/sources/boost/boost/python/object/function_handle.hpp", + "external/sources/boost/boost/python/object/function_object.hpp", + "external/sources/boost/boost/python/object/inheritance.hpp", + "external/sources/boost/boost/python/object/inheritance_query.hpp", + "external/sources/boost/boost/python/object/instance.hpp", + "external/sources/boost/boost/python/object/iterator.hpp", + "external/sources/boost/boost/python/object/iterator_core.hpp", + "external/sources/boost/boost/python/object/life_support.hpp", + "external/sources/boost/boost/python/object/make_holder.hpp", + "external/sources/boost/boost/python/object/make_instance.hpp", + "external/sources/boost/boost/python/object/make_ptr_instance.hpp", + "external/sources/boost/boost/python/object/pickle_support.hpp", + "external/sources/boost/boost/python/object/pointer_holder.hpp", + "external/sources/boost/boost/python/object/py_function.hpp", + "external/sources/boost/boost/python/object/stl_iterator_core.hpp", + "external/sources/boost/boost/python/object/value_holder.hpp", + "external/sources/boost/boost/python/object/value_holder_fwd.hpp", + "external/sources/boost/boost/python/object_attributes.hpp", + "external/sources/boost/boost/python/object_call.hpp", + "external/sources/boost/boost/python/object_core.hpp", + "external/sources/boost/boost/python/object_fwd.hpp", + "external/sources/boost/boost/python/object_items.hpp", + "external/sources/boost/boost/python/object_operators.hpp", + "external/sources/boost/boost/python/object_protocol.hpp", + "external/sources/boost/boost/python/object_protocol_core.hpp", + "external/sources/boost/boost/python/object_slices.hpp", + "external/sources/boost/boost/python/opaque_pointer_converter.hpp", + "external/sources/boost/boost/python/operators.hpp", + "external/sources/boost/boost/python/other.hpp", + "external/sources/boost/boost/python/overloads.hpp", + "external/sources/boost/boost/python/override.hpp", + "external/sources/boost/boost/python/pointee.hpp", + "external/sources/boost/boost/python/proxy.hpp", + "external/sources/boost/boost/python/ptr.hpp", + "external/sources/boost/boost/python/pure_virtual.hpp", + "external/sources/boost/boost/python/raw_function.hpp", + "external/sources/boost/boost/python/refcount.hpp", + "external/sources/boost/boost/python/reference_existing_object.hpp", + "external/sources/boost/boost/python/register_ptr_to_python.hpp", + "external/sources/boost/boost/python/return_arg.hpp", + "external/sources/boost/boost/python/return_by_value.hpp", + "external/sources/boost/boost/python/return_internal_reference.hpp", + "external/sources/boost/boost/python/return_opaque_pointer.hpp", + "external/sources/boost/boost/python/return_value_policy.hpp", + "external/sources/boost/boost/python/scope.hpp", + "external/sources/boost/boost/python/self.hpp", + "external/sources/boost/boost/python/signature.hpp", + "external/sources/boost/boost/python/slice.hpp", + "external/sources/boost/boost/python/slice_nil.hpp", + "external/sources/boost/boost/python/ssize_t.hpp", + "external/sources/boost/boost/python/stl_iterator.hpp", + "external/sources/boost/boost/python/str.hpp", + "external/sources/boost/boost/python/suite/indexing/container_utils.hpp", + "external/sources/boost/boost/python/suite/indexing/detail/indexing_suite_detail.hpp", + "external/sources/boost/boost/python/suite/indexing/indexing_suite.hpp", + "external/sources/boost/boost/python/suite/indexing/map_indexing_suite.hpp", + "external/sources/boost/boost/python/suite/indexing/vector_indexing_suite.hpp", + "external/sources/boost/boost/python/tag.hpp", + "external/sources/boost/boost/python/to_python_converter.hpp", + "external/sources/boost/boost/python/to_python_indirect.hpp", + "external/sources/boost/boost/python/to_python_value.hpp", + "external/sources/boost/boost/python/tuple.hpp", + "external/sources/boost/boost/python/type_id.hpp", + "external/sources/boost/boost/python/with_custodian_and_ward.hpp", + "external/sources/boost/boost/python/wrapper.hpp", + "external/sources/boost/boost/qvm/all.hpp", + "external/sources/boost/boost/qvm/assert.hpp", + "external/sources/boost/boost/qvm/deduce_mat.hpp", + "external/sources/boost/boost/qvm/deduce_quat.hpp", + "external/sources/boost/boost/qvm/deduce_scalar.hpp", + "external/sources/boost/boost/qvm/deduce_vec.hpp", + "external/sources/boost/boost/qvm/detail/cofactor_impl.hpp", + "external/sources/boost/boost/qvm/detail/determinant_impl.hpp", + "external/sources/boost/boost/qvm/detail/mat_assign.hpp", + "external/sources/boost/boost/qvm/detail/quat_assign.hpp", + "external/sources/boost/boost/qvm/detail/remove_const.hpp", + "external/sources/boost/boost/qvm/detail/swizzle_traits.hpp", + "external/sources/boost/boost/qvm/detail/transp_impl.hpp", + "external/sources/boost/boost/qvm/detail/vec_assign.hpp", + "external/sources/boost/boost/qvm/detail/vec_register_impl.hpp", + "external/sources/boost/boost/qvm/enable_if.hpp", + "external/sources/boost/boost/qvm/error.hpp", + "external/sources/boost/boost/qvm/inline.hpp", + "external/sources/boost/boost/qvm/map.hpp", + "external/sources/boost/boost/qvm/map_mat_mat.hpp", + "external/sources/boost/boost/qvm/map_mat_vec.hpp", + "external/sources/boost/boost/qvm/map_vec_mat.hpp", + "external/sources/boost/boost/qvm/mat.hpp", + "external/sources/boost/boost/qvm/mat_access.hpp", + "external/sources/boost/boost/qvm/mat_operations.hpp", + "external/sources/boost/boost/qvm/mat_operations2.hpp", + "external/sources/boost/boost/qvm/mat_operations3.hpp", + "external/sources/boost/boost/qvm/mat_operations4.hpp", + "external/sources/boost/boost/qvm/mat_traits.hpp", + "external/sources/boost/boost/qvm/mat_traits_array.hpp", + "external/sources/boost/boost/qvm/mat_traits_defaults.hpp", + "external/sources/boost/boost/qvm/math.hpp", + "external/sources/boost/boost/qvm/operations.hpp", + "external/sources/boost/boost/qvm/quat.hpp", + "external/sources/boost/boost/qvm/quat_access.hpp", + "external/sources/boost/boost/qvm/quat_operations.hpp", + "external/sources/boost/boost/qvm/quat_traits.hpp", + "external/sources/boost/boost/qvm/quat_traits_array.hpp", + "external/sources/boost/boost/qvm/quat_traits_defaults.hpp", + "external/sources/boost/boost/qvm/quat_vec_operations.hpp", + "external/sources/boost/boost/qvm/scalar_traits.hpp", + "external/sources/boost/boost/qvm/static_assert.hpp", + "external/sources/boost/boost/qvm/swizzle.hpp", + "external/sources/boost/boost/qvm/swizzle2.hpp", + "external/sources/boost/boost/qvm/swizzle3.hpp", + "external/sources/boost/boost/qvm/swizzle4.hpp", + "external/sources/boost/boost/qvm/throw_exception.hpp", + "external/sources/boost/boost/qvm/to_string.hpp", + "external/sources/boost/boost/qvm/vec.hpp", + "external/sources/boost/boost/qvm/vec_access.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations2.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations3.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations4.hpp", + "external/sources/boost/boost/qvm/vec_operations.hpp", + "external/sources/boost/boost/qvm/vec_operations2.hpp", + "external/sources/boost/boost/qvm/vec_operations3.hpp", + "external/sources/boost/boost/qvm/vec_operations4.hpp", + "external/sources/boost/boost/qvm/vec_register.hpp", + "external/sources/boost/boost/qvm/vec_register2.hpp", + "external/sources/boost/boost/qvm/vec_register3.hpp", + "external/sources/boost/boost/qvm/vec_register4.hpp", + "external/sources/boost/boost/qvm/vec_traits.hpp", + "external/sources/boost/boost/qvm/vec_traits_array.hpp", + "external/sources/boost/boost/qvm/vec_traits_defaults.hpp", + "external/sources/boost/boost/random.hpp", + "external/sources/boost/boost/random/additive_combine.hpp", + "external/sources/boost/boost/random/bernoulli_distribution.hpp", + "external/sources/boost/boost/random/beta_distribution.hpp", + "external/sources/boost/boost/random/binomial_distribution.hpp", + "external/sources/boost/boost/random/cauchy_distribution.hpp", + "external/sources/boost/boost/random/chi_squared_distribution.hpp", + "external/sources/boost/boost/random/detail/auto_link.hpp", + "external/sources/boost/boost/random/detail/config.hpp", + "external/sources/boost/boost/random/detail/const_mod.hpp", + "external/sources/boost/boost/random/detail/disable_warnings.hpp", + "external/sources/boost/boost/random/detail/enable_warnings.hpp", + "external/sources/boost/boost/random/detail/generator_bits.hpp", + "external/sources/boost/boost/random/detail/generator_seed_seq.hpp", + "external/sources/boost/boost/random/detail/gray_coded_qrng.hpp", + "external/sources/boost/boost/random/detail/int_float_pair.hpp", + "external/sources/boost/boost/random/detail/integer_log2.hpp", + "external/sources/boost/boost/random/detail/iterator_mixin.hpp", + "external/sources/boost/boost/random/detail/large_arithmetic.hpp", + "external/sources/boost/boost/random/detail/niederreiter_base2_table.hpp", + "external/sources/boost/boost/random/detail/operators.hpp", + "external/sources/boost/boost/random/detail/polynomial.hpp", + "external/sources/boost/boost/random/detail/ptr_helper.hpp", + "external/sources/boost/boost/random/detail/qrng_base.hpp", + "external/sources/boost/boost/random/detail/seed.hpp", + "external/sources/boost/boost/random/detail/seed_impl.hpp", + "external/sources/boost/boost/random/detail/signed_unsigned_tools.hpp", + "external/sources/boost/boost/random/detail/sobol_table.hpp", + "external/sources/boost/boost/random/detail/uniform_int_float.hpp", + "external/sources/boost/boost/random/detail/vector_io.hpp", + "external/sources/boost/boost/random/discard_block.hpp", + "external/sources/boost/boost/random/discrete_distribution.hpp", + "external/sources/boost/boost/random/exponential_distribution.hpp", + "external/sources/boost/boost/random/extreme_value_distribution.hpp", + "external/sources/boost/boost/random/faure.hpp", + "external/sources/boost/boost/random/fisher_f_distribution.hpp", + "external/sources/boost/boost/random/gamma_distribution.hpp", + "external/sources/boost/boost/random/generate_canonical.hpp", + "external/sources/boost/boost/random/geometric_distribution.hpp", + "external/sources/boost/boost/random/hyperexponential_distribution.hpp", + "external/sources/boost/boost/random/independent_bits.hpp", + "external/sources/boost/boost/random/inversive_congruential.hpp", + "external/sources/boost/boost/random/lagged_fibonacci.hpp", + "external/sources/boost/boost/random/laplace_distribution.hpp", + "external/sources/boost/boost/random/linear_congruential.hpp", + "external/sources/boost/boost/random/linear_feedback_shift.hpp", + "external/sources/boost/boost/random/lognormal_distribution.hpp", + "external/sources/boost/boost/random/mersenne_twister.hpp", + "external/sources/boost/boost/random/negative_binomial_distribution.hpp", + "external/sources/boost/boost/random/niederreiter_base2.hpp", + "external/sources/boost/boost/random/non_central_chi_squared_distribution.hpp", + "external/sources/boost/boost/random/normal_distribution.hpp", + "external/sources/boost/boost/random/piecewise_constant_distribution.hpp", + "external/sources/boost/boost/random/piecewise_linear_distribution.hpp", + "external/sources/boost/boost/random/poisson_distribution.hpp", + "external/sources/boost/boost/random/random_device.hpp", + "external/sources/boost/boost/random/random_number_generator.hpp", + "external/sources/boost/boost/random/ranlux.hpp", + "external/sources/boost/boost/random/seed_seq.hpp", + "external/sources/boost/boost/random/shuffle_order.hpp", + "external/sources/boost/boost/random/shuffle_output.hpp", + "external/sources/boost/boost/random/sobol.hpp", + "external/sources/boost/boost/random/student_t_distribution.hpp", + "external/sources/boost/boost/random/subtract_with_carry.hpp", + "external/sources/boost/boost/random/taus88.hpp", + "external/sources/boost/boost/random/traits.hpp", + "external/sources/boost/boost/random/triangle_distribution.hpp", + "external/sources/boost/boost/random/uniform_01.hpp", + "external/sources/boost/boost/random/uniform_int.hpp", + "external/sources/boost/boost/random/uniform_int_distribution.hpp", + "external/sources/boost/boost/random/uniform_on_sphere.hpp", + "external/sources/boost/boost/random/uniform_real.hpp", + "external/sources/boost/boost/random/uniform_real_distribution.hpp", + "external/sources/boost/boost/random/uniform_smallint.hpp", + "external/sources/boost/boost/random/variate_generator.hpp", + "external/sources/boost/boost/random/weibull_distribution.hpp", + "external/sources/boost/boost/random/xor_combine.hpp", + "external/sources/boost/boost/range.hpp", + "external/sources/boost/boost/range/adaptor/adjacent_filtered.hpp", + "external/sources/boost/boost/range/adaptor/argument_fwd.hpp", + "external/sources/boost/boost/range/adaptor/copied.hpp", + "external/sources/boost/boost/range/adaptor/define_adaptor.hpp", + "external/sources/boost/boost/range/adaptor/filtered.hpp", + "external/sources/boost/boost/range/adaptor/formatted.hpp", + "external/sources/boost/boost/range/adaptor/indexed.hpp", + "external/sources/boost/boost/range/adaptor/indirected.hpp", + "external/sources/boost/boost/range/adaptor/map.hpp", + "external/sources/boost/boost/range/adaptor/ref_unwrapped.hpp", + "external/sources/boost/boost/range/adaptor/replaced.hpp", + "external/sources/boost/boost/range/adaptor/replaced_if.hpp", + "external/sources/boost/boost/range/adaptor/reversed.hpp", + "external/sources/boost/boost/range/adaptor/sliced.hpp", + "external/sources/boost/boost/range/adaptor/strided.hpp", + "external/sources/boost/boost/range/adaptor/tokenized.hpp", + "external/sources/boost/boost/range/adaptor/transformed.hpp", + "external/sources/boost/boost/range/adaptor/type_erased.hpp", + "external/sources/boost/boost/range/adaptor/uniqued.hpp", + "external/sources/boost/boost/range/adaptors.hpp", + "external/sources/boost/boost/range/algorithm.hpp", + "external/sources/boost/boost/range/algorithm/adjacent_find.hpp", + "external/sources/boost/boost/range/algorithm/binary_search.hpp", + "external/sources/boost/boost/range/algorithm/copy.hpp", + "external/sources/boost/boost/range/algorithm/copy_backward.hpp", + "external/sources/boost/boost/range/algorithm/count.hpp", + "external/sources/boost/boost/range/algorithm/count_if.hpp", + "external/sources/boost/boost/range/algorithm/equal.hpp", + "external/sources/boost/boost/range/algorithm/equal_range.hpp", + "external/sources/boost/boost/range/algorithm/fill.hpp", + "external/sources/boost/boost/range/algorithm/fill_n.hpp", + "external/sources/boost/boost/range/algorithm/find.hpp", + "external/sources/boost/boost/range/algorithm/find_end.hpp", + "external/sources/boost/boost/range/algorithm/find_first_of.hpp", + "external/sources/boost/boost/range/algorithm/find_if.hpp", + "external/sources/boost/boost/range/algorithm/for_each.hpp", + "external/sources/boost/boost/range/algorithm/generate.hpp", + "external/sources/boost/boost/range/algorithm/heap_algorithm.hpp", + "external/sources/boost/boost/range/algorithm/inplace_merge.hpp", + "external/sources/boost/boost/range/algorithm/lexicographical_compare.hpp", + "external/sources/boost/boost/range/algorithm/lower_bound.hpp", + "external/sources/boost/boost/range/algorithm/max_element.hpp", + "external/sources/boost/boost/range/algorithm/merge.hpp", + "external/sources/boost/boost/range/algorithm/min_element.hpp", + "external/sources/boost/boost/range/algorithm/mismatch.hpp", + "external/sources/boost/boost/range/algorithm/nth_element.hpp", + "external/sources/boost/boost/range/algorithm/partial_sort.hpp", + "external/sources/boost/boost/range/algorithm/partial_sort_copy.hpp", + "external/sources/boost/boost/range/algorithm/partition.hpp", + "external/sources/boost/boost/range/algorithm/permutation.hpp", + "external/sources/boost/boost/range/algorithm/random_shuffle.hpp", + "external/sources/boost/boost/range/algorithm/remove.hpp", + "external/sources/boost/boost/range/algorithm/remove_copy.hpp", + "external/sources/boost/boost/range/algorithm/remove_copy_if.hpp", + "external/sources/boost/boost/range/algorithm/remove_if.hpp", + "external/sources/boost/boost/range/algorithm/replace.hpp", + "external/sources/boost/boost/range/algorithm/replace_copy.hpp", + "external/sources/boost/boost/range/algorithm/replace_copy_if.hpp", + "external/sources/boost/boost/range/algorithm/replace_if.hpp", + "external/sources/boost/boost/range/algorithm/reverse.hpp", + "external/sources/boost/boost/range/algorithm/reverse_copy.hpp", + "external/sources/boost/boost/range/algorithm/rotate.hpp", + "external/sources/boost/boost/range/algorithm/rotate_copy.hpp", + "external/sources/boost/boost/range/algorithm/search.hpp", + "external/sources/boost/boost/range/algorithm/search_n.hpp", + "external/sources/boost/boost/range/algorithm/set_algorithm.hpp", + "external/sources/boost/boost/range/algorithm/sort.hpp", + "external/sources/boost/boost/range/algorithm/stable_partition.hpp", + "external/sources/boost/boost/range/algorithm/stable_sort.hpp", + "external/sources/boost/boost/range/algorithm/swap_ranges.hpp", + "external/sources/boost/boost/range/algorithm/transform.hpp", + "external/sources/boost/boost/range/algorithm/unique.hpp", + "external/sources/boost/boost/range/algorithm/unique_copy.hpp", + "external/sources/boost/boost/range/algorithm/upper_bound.hpp", + "external/sources/boost/boost/range/algorithm_ext.hpp", + "external/sources/boost/boost/range/algorithm_ext/copy_n.hpp", + "external/sources/boost/boost/range/algorithm_ext/erase.hpp", + "external/sources/boost/boost/range/algorithm_ext/for_each.hpp", + "external/sources/boost/boost/range/algorithm_ext/insert.hpp", + "external/sources/boost/boost/range/algorithm_ext/iota.hpp", + "external/sources/boost/boost/range/algorithm_ext/is_sorted.hpp", + "external/sources/boost/boost/range/algorithm_ext/overwrite.hpp", + "external/sources/boost/boost/range/algorithm_ext/push_back.hpp", + "external/sources/boost/boost/range/algorithm_ext/push_front.hpp", + "external/sources/boost/boost/range/any_range.hpp", + "external/sources/boost/boost/range/as_array.hpp", + "external/sources/boost/boost/range/as_literal.hpp", + "external/sources/boost/boost/range/atl.hpp", + "external/sources/boost/boost/range/begin.hpp", + "external/sources/boost/boost/range/category.hpp", + "external/sources/boost/boost/range/combine.hpp", + "external/sources/boost/boost/range/concepts.hpp", + "external/sources/boost/boost/range/config.hpp", + "external/sources/boost/boost/range/const_iterator.hpp", + "external/sources/boost/boost/range/const_reverse_iterator.hpp", + "external/sources/boost/boost/range/counting_range.hpp", + "external/sources/boost/boost/range/detail/any_iterator.hpp", + "external/sources/boost/boost/range/detail/any_iterator_buffer.hpp", + "external/sources/boost/boost/range/detail/any_iterator_interface.hpp", + "external/sources/boost/boost/range/detail/any_iterator_wrapper.hpp", + "external/sources/boost/boost/range/detail/collection_traits.hpp", + "external/sources/boost/boost/range/detail/collection_traits_detail.hpp", + "external/sources/boost/boost/range/detail/combine_cxx03.hpp", + "external/sources/boost/boost/range/detail/combine_cxx11.hpp", + "external/sources/boost/boost/range/detail/combine_no_rvalue.hpp", + "external/sources/boost/boost/range/detail/combine_rvalue.hpp", + "external/sources/boost/boost/range/detail/common.hpp", + "external/sources/boost/boost/range/detail/default_constructible_unary_fn.hpp", + "external/sources/boost/boost/range/detail/demote_iterator_traversal_tag.hpp", + "external/sources/boost/boost/range/detail/difference_type.hpp", + "external/sources/boost/boost/range/detail/empty.hpp", + "external/sources/boost/boost/range/detail/extract_optional_type.hpp", + "external/sources/boost/boost/range/detail/has_member_size.hpp", + "external/sources/boost/boost/range/detail/implementation_help.hpp", + "external/sources/boost/boost/range/detail/join_iterator.hpp", + "external/sources/boost/boost/range/detail/less.hpp", + "external/sources/boost/boost/range/detail/microsoft.hpp", + "external/sources/boost/boost/range/detail/misc_concept.hpp", + "external/sources/boost/boost/range/detail/msvc_has_iterator_workaround.hpp", + "external/sources/boost/boost/range/detail/range_return.hpp", + "external/sources/boost/boost/range/detail/safe_bool.hpp", + "external/sources/boost/boost/range/detail/sfinae.hpp", + "external/sources/boost/boost/range/detail/sizer.hpp", + "external/sources/boost/boost/range/detail/str_types.hpp", + "external/sources/boost/boost/range/difference_type.hpp", + "external/sources/boost/boost/range/distance.hpp", + "external/sources/boost/boost/range/empty.hpp", + "external/sources/boost/boost/range/end.hpp", + "external/sources/boost/boost/range/functions.hpp", + "external/sources/boost/boost/range/has_range_iterator.hpp", + "external/sources/boost/boost/range/irange.hpp", + "external/sources/boost/boost/range/istream_range.hpp", + "external/sources/boost/boost/range/iterator.hpp", + "external/sources/boost/boost/range/iterator_range.hpp", + "external/sources/boost/boost/range/iterator_range_core.hpp", + "external/sources/boost/boost/range/iterator_range_hash.hpp", + "external/sources/boost/boost/range/iterator_range_io.hpp", + "external/sources/boost/boost/range/join.hpp", + "external/sources/boost/boost/range/metafunctions.hpp", + "external/sources/boost/boost/range/mfc.hpp", + "external/sources/boost/boost/range/mfc_map.hpp", + "external/sources/boost/boost/range/mutable_iterator.hpp", + "external/sources/boost/boost/range/numeric.hpp", + "external/sources/boost/boost/range/pointer.hpp", + "external/sources/boost/boost/range/range_fwd.hpp", + "external/sources/boost/boost/range/rbegin.hpp", + "external/sources/boost/boost/range/reference.hpp", + "external/sources/boost/boost/range/rend.hpp", + "external/sources/boost/boost/range/result_iterator.hpp", + "external/sources/boost/boost/range/reverse_iterator.hpp", + "external/sources/boost/boost/range/reverse_result_iterator.hpp", + "external/sources/boost/boost/range/size.hpp", + "external/sources/boost/boost/range/size_type.hpp", + "external/sources/boost/boost/range/sub_range.hpp", + "external/sources/boost/boost/range/traversal.hpp", + "external/sources/boost/boost/range/value_type.hpp", + "external/sources/boost/boost/ratio.hpp", + "external/sources/boost/boost/ratio/config.hpp", + "external/sources/boost/boost/ratio/detail/mpl/abs.hpp", + "external/sources/boost/boost/ratio/detail/mpl/gcd.hpp", + "external/sources/boost/boost/ratio/detail/mpl/lcm.hpp", + "external/sources/boost/boost/ratio/detail/mpl/sign.hpp", + "external/sources/boost/boost/ratio/detail/overflow_helpers.hpp", + "external/sources/boost/boost/ratio/detail/ratio_io.hpp", + "external/sources/boost/boost/ratio/include.hpp", + "external/sources/boost/boost/ratio/mpl/abs.hpp", + "external/sources/boost/boost/ratio/mpl/arithmetic.hpp", + "external/sources/boost/boost/ratio/mpl/comparison.hpp", + "external/sources/boost/boost/ratio/mpl/divides.hpp", + "external/sources/boost/boost/ratio/mpl/equal_to.hpp", + "external/sources/boost/boost/ratio/mpl/gcd.hpp", + "external/sources/boost/boost/ratio/mpl/greater.hpp", + "external/sources/boost/boost/ratio/mpl/greater_equal.hpp", + "external/sources/boost/boost/ratio/mpl/lcm.hpp", + "external/sources/boost/boost/ratio/mpl/less.hpp", + "external/sources/boost/boost/ratio/mpl/less_equal.hpp", + "external/sources/boost/boost/ratio/mpl/minus.hpp", + "external/sources/boost/boost/ratio/mpl/negate.hpp", + "external/sources/boost/boost/ratio/mpl/not_equal_to.hpp", + "external/sources/boost/boost/ratio/mpl/numeric_cast.hpp", + "external/sources/boost/boost/ratio/mpl/plus.hpp", + "external/sources/boost/boost/ratio/mpl/rational_c_tag.hpp", + "external/sources/boost/boost/ratio/mpl/rational_constant.hpp", + "external/sources/boost/boost/ratio/mpl/sign.hpp", + "external/sources/boost/boost/ratio/mpl/times.hpp", + "external/sources/boost/boost/ratio/ratio.hpp", + "external/sources/boost/boost/ratio/ratio_fwd.hpp", + "external/sources/boost/boost/ratio/ratio_io.hpp", + "external/sources/boost/boost/rational.hpp", + "external/sources/boost/boost/ref.hpp", + "external/sources/boost/boost/regex.h", + "external/sources/boost/boost/regex.hpp", + "external/sources/boost/boost/regex/concepts.hpp", + "external/sources/boost/boost/regex/config.hpp", + "external/sources/boost/boost/regex/config/borland.hpp", + "external/sources/boost/boost/regex/config/cwchar.hpp", + "external/sources/boost/boost/regex/icu.hpp", + "external/sources/boost/boost/regex/mfc.hpp", + "external/sources/boost/boost/regex/pattern_except.hpp", + "external/sources/boost/boost/regex/pending/object_cache.hpp", + "external/sources/boost/boost/regex/pending/static_mutex.hpp", + "external/sources/boost/boost/regex/pending/unicode_iterator.hpp", + "external/sources/boost/boost/regex/regex_traits.hpp", + "external/sources/boost/boost/regex/user.hpp", + "external/sources/boost/boost/regex/v4/basic_regex.hpp", + "external/sources/boost/boost/regex/v4/basic_regex_creator.hpp", + "external/sources/boost/boost/regex/v4/basic_regex_parser.hpp", + "external/sources/boost/boost/regex/v4/c_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/char_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/cpp_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/cregex.hpp", + "external/sources/boost/boost/regex/v4/error_type.hpp", + "external/sources/boost/boost/regex/v4/fileiter.hpp", + "external/sources/boost/boost/regex/v4/indexed_bit_flag.hpp", + "external/sources/boost/boost/regex/v4/instances.hpp", + "external/sources/boost/boost/regex/v4/iterator_category.hpp", + "external/sources/boost/boost/regex/v4/iterator_traits.hpp", + "external/sources/boost/boost/regex/v4/match_flags.hpp", + "external/sources/boost/boost/regex/v4/match_results.hpp", + "external/sources/boost/boost/regex/v4/mem_block_cache.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_common.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_non_recursive.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_recursive.hpp", + "external/sources/boost/boost/regex/v4/primary_transform.hpp", + "external/sources/boost/boost/regex/v4/protected_call.hpp", + "external/sources/boost/boost/regex/v4/regbase.hpp", + "external/sources/boost/boost/regex/v4/regex.hpp", + "external/sources/boost/boost/regex/v4/regex_format.hpp", + "external/sources/boost/boost/regex/v4/regex_fwd.hpp", + "external/sources/boost/boost/regex/v4/regex_grep.hpp", + "external/sources/boost/boost/regex/v4/regex_iterator.hpp", + "external/sources/boost/boost/regex/v4/regex_match.hpp", + "external/sources/boost/boost/regex/v4/regex_merge.hpp", + "external/sources/boost/boost/regex/v4/regex_raw_buffer.hpp", + "external/sources/boost/boost/regex/v4/regex_replace.hpp", + "external/sources/boost/boost/regex/v4/regex_search.hpp", + "external/sources/boost/boost/regex/v4/regex_split.hpp", + "external/sources/boost/boost/regex/v4/regex_token_iterator.hpp", + "external/sources/boost/boost/regex/v4/regex_traits.hpp", + "external/sources/boost/boost/regex/v4/regex_traits_defaults.hpp", + "external/sources/boost/boost/regex/v4/regex_workaround.hpp", + "external/sources/boost/boost/regex/v4/states.hpp", + "external/sources/boost/boost/regex/v4/sub_match.hpp", + "external/sources/boost/boost/regex/v4/syntax_type.hpp", + "external/sources/boost/boost/regex/v4/u32regex_iterator.hpp", + "external/sources/boost/boost/regex/v4/u32regex_token_iterator.hpp", + "external/sources/boost/boost/regex/v4/w32_regex_traits.hpp", + "external/sources/boost/boost/regex_fwd.hpp", + "external/sources/boost/boost/safe_numerics/CMakeLists.txt", + "external/sources/boost/boost/safe_numerics/automatic.hpp", + "external/sources/boost/boost/safe_numerics/checked_default.hpp", + "external/sources/boost/boost/safe_numerics/checked_float.hpp", + "external/sources/boost/boost/safe_numerics/checked_integer.hpp", + "external/sources/boost/boost/safe_numerics/checked_result.hpp", + "external/sources/boost/boost/safe_numerics/checked_result_operations.hpp", + "external/sources/boost/boost/safe_numerics/concept/CMakeLists.txt", + "external/sources/boost/boost/safe_numerics/concept/exception_policy.hpp", + "external/sources/boost/boost/safe_numerics/concept/integer.hpp", + "external/sources/boost/boost/safe_numerics/concept/numeric.hpp", + "external/sources/boost/boost/safe_numerics/concept/promotion_policy.hpp", + "external/sources/boost/boost/safe_numerics/concept/safe_numeric.hpp", + "external/sources/boost/boost/safe_numerics/cpp.hpp", + "external/sources/boost/boost/safe_numerics/exception.hpp", + "external/sources/boost/boost/safe_numerics/exception_policies.hpp", + "external/sources/boost/boost/safe_numerics/interval.hpp", + "external/sources/boost/boost/safe_numerics/native.hpp", + "external/sources/boost/boost/safe_numerics/range_value.hpp", + "external/sources/boost/boost/safe_numerics/safe_base.hpp", + "external/sources/boost/boost/safe_numerics/safe_base_operations.hpp", + "external/sources/boost/boost/safe_numerics/safe_common.hpp", + "external/sources/boost/boost/safe_numerics/safe_compare.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer_literal.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer_range.hpp", + "external/sources/boost/boost/safe_numerics/utility.hpp", + "external/sources/boost/boost/scope_exit.hpp", + "external/sources/boost/boost/scoped_array.hpp", + "external/sources/boost/boost/scoped_ptr.hpp", + "external/sources/boost/boost/serialization/access.hpp", + "external/sources/boost/boost/serialization/archive_input_unordered_map.hpp", + "external/sources/boost/boost/serialization/archive_input_unordered_set.hpp", + "external/sources/boost/boost/serialization/array.hpp", + "external/sources/boost/boost/serialization/array_optimization.hpp", + "external/sources/boost/boost/serialization/array_wrapper.hpp", + "external/sources/boost/boost/serialization/assume_abstract.hpp", + "external/sources/boost/boost/serialization/base_object.hpp", + "external/sources/boost/boost/serialization/binary_object.hpp", + "external/sources/boost/boost/serialization/bitset.hpp", + "external/sources/boost/boost/serialization/boost_array.hpp", + "external/sources/boost/boost/serialization/boost_unordered_map.hpp", + "external/sources/boost/boost/serialization/boost_unordered_set.hpp", + "external/sources/boost/boost/serialization/collection_size_type copy.hpp", + "external/sources/boost/boost/serialization/collection_size_type.hpp", + "external/sources/boost/boost/serialization/collection_traits.hpp", + "external/sources/boost/boost/serialization/collections_load_imp.hpp", + "external/sources/boost/boost/serialization/collections_save_imp.hpp", + "external/sources/boost/boost/serialization/complex.hpp", + "external/sources/boost/boost/serialization/config.hpp", + "external/sources/boost/boost/serialization/deque.hpp", + "external/sources/boost/boost/serialization/detail/is_default_constructible.hpp", + "external/sources/boost/boost/serialization/detail/shared_count_132.hpp", + "external/sources/boost/boost/serialization/detail/shared_ptr_132.hpp", + "external/sources/boost/boost/serialization/detail/shared_ptr_nmt_132.hpp", + "external/sources/boost/boost/serialization/detail/stack_constructor.hpp", + "external/sources/boost/boost/serialization/export.hpp", + "external/sources/boost/boost/serialization/extended_type_info.hpp", + "external/sources/boost/boost/serialization/extended_type_info_no_rtti.hpp", + "external/sources/boost/boost/serialization/extended_type_info_typeid.hpp", + "external/sources/boost/boost/serialization/factory.hpp", + "external/sources/boost/boost/serialization/force_include.hpp", + "external/sources/boost/boost/serialization/forward_list.hpp", + "external/sources/boost/boost/serialization/hash_collections_load_imp.hpp", + "external/sources/boost/boost/serialization/hash_collections_save_imp.hpp", + "external/sources/boost/boost/serialization/hash_map.hpp", + "external/sources/boost/boost/serialization/hash_set.hpp", + "external/sources/boost/boost/serialization/is_bitwise_serializable.hpp", + "external/sources/boost/boost/serialization/item_version_type.hpp", + "external/sources/boost/boost/serialization/level.hpp", + "external/sources/boost/boost/serialization/level_enum.hpp", + "external/sources/boost/boost/serialization/library_version_type.hpp", + "external/sources/boost/boost/serialization/list.hpp", + "external/sources/boost/boost/serialization/map.hpp", + "external/sources/boost/boost/serialization/nvp.hpp", + "external/sources/boost/boost/serialization/optional.hpp", + "external/sources/boost/boost/serialization/priority_queue.hpp", + "external/sources/boost/boost/serialization/queue.hpp", + "external/sources/boost/boost/serialization/scoped_ptr.hpp", + "external/sources/boost/boost/serialization/serialization.hpp", + "external/sources/boost/boost/serialization/set.hpp", + "external/sources/boost/boost/serialization/shared_ptr.hpp", + "external/sources/boost/boost/serialization/shared_ptr_132.hpp", + "external/sources/boost/boost/serialization/shared_ptr_helper.hpp", + "external/sources/boost/boost/serialization/singleton.hpp", + "external/sources/boost/boost/serialization/slist.hpp", + "external/sources/boost/boost/serialization/smart_cast.hpp", + "external/sources/boost/boost/serialization/split_free.hpp", + "external/sources/boost/boost/serialization/split_member.hpp", + "external/sources/boost/boost/serialization/stack.hpp", + "external/sources/boost/boost/serialization/state_saver.hpp", + "external/sources/boost/boost/serialization/static_warning.hpp", + "external/sources/boost/boost/serialization/string.hpp", + "external/sources/boost/boost/serialization/strong_typedef.hpp", + "external/sources/boost/boost/serialization/throw_exception.hpp", + "external/sources/boost/boost/serialization/tracking.hpp", + "external/sources/boost/boost/serialization/tracking_enum.hpp", + "external/sources/boost/boost/serialization/traits.hpp", + "external/sources/boost/boost/serialization/type_info_implementation.hpp", + "external/sources/boost/boost/serialization/unique_ptr.hpp", + "external/sources/boost/boost/serialization/unordered_collections_load_imp.hpp", + "external/sources/boost/boost/serialization/unordered_collections_save_imp.hpp", + "external/sources/boost/boost/serialization/unordered_map.hpp", + "external/sources/boost/boost/serialization/unordered_set.hpp", + "external/sources/boost/boost/serialization/utility.hpp", + "external/sources/boost/boost/serialization/valarray.hpp", + "external/sources/boost/boost/serialization/variant.hpp", + "external/sources/boost/boost/serialization/vector.hpp", + "external/sources/boost/boost/serialization/vector_135.hpp", + "external/sources/boost/boost/serialization/version.hpp", + "external/sources/boost/boost/serialization/void_cast.hpp", + "external/sources/boost/boost/serialization/void_cast_fwd.hpp", + "external/sources/boost/boost/serialization/weak_ptr.hpp", + "external/sources/boost/boost/serialization/wrapper.hpp", + "external/sources/boost/boost/shared_array.hpp", + "external/sources/boost/boost/shared_container_iterator.hpp", + "external/sources/boost/boost/shared_ptr.hpp", + "external/sources/boost/boost/signals2.hpp", + "external/sources/boost/boost/signals2/connection.hpp", + "external/sources/boost/boost/signals2/deconstruct.hpp", + "external/sources/boost/boost/signals2/deconstruct_ptr.hpp", + "external/sources/boost/boost/signals2/detail/auto_buffer.hpp", + "external/sources/boost/boost/signals2/detail/foreign_ptr.hpp", + "external/sources/boost/boost/signals2/detail/lwm_nop.hpp", + "external/sources/boost/boost/signals2/detail/lwm_pthreads.hpp", + "external/sources/boost/boost/signals2/detail/lwm_win32_cs.hpp", + "external/sources/boost/boost/signals2/detail/null_output_iterator.hpp", + "external/sources/boost/boost/signals2/detail/preprocessed_arg_type.hpp", + "external/sources/boost/boost/signals2/detail/preprocessed_arg_type_template.hpp", + "external/sources/boost/boost/signals2/detail/replace_slot_function.hpp", + "external/sources/boost/boost/signals2/detail/result_type_wrapper.hpp", + "external/sources/boost/boost/signals2/detail/scope_guard.hpp", + "external/sources/boost/boost/signals2/detail/signal_template.hpp", + "external/sources/boost/boost/signals2/detail/signals_common.hpp", + "external/sources/boost/boost/signals2/detail/signals_common_macros.hpp", + "external/sources/boost/boost/signals2/detail/slot_call_iterator.hpp", + "external/sources/boost/boost/signals2/detail/slot_groups.hpp", + "external/sources/boost/boost/signals2/detail/slot_template.hpp", + "external/sources/boost/boost/signals2/detail/tracked_objects_visitor.hpp", + "external/sources/boost/boost/signals2/detail/unique_lock.hpp", + "external/sources/boost/boost/signals2/detail/variadic_arg_type.hpp", + "external/sources/boost/boost/signals2/detail/variadic_slot_invoker.hpp", + "external/sources/boost/boost/signals2/dummy_mutex.hpp", + "external/sources/boost/boost/signals2/expired_slot.hpp", + "external/sources/boost/boost/signals2/last_value.hpp", + "external/sources/boost/boost/signals2/mutex.hpp", + "external/sources/boost/boost/signals2/optional_last_value.hpp", + "external/sources/boost/boost/signals2/postconstructible.hpp", + "external/sources/boost/boost/signals2/predestructible.hpp", + "external/sources/boost/boost/signals2/preprocessed_signal.hpp", + "external/sources/boost/boost/signals2/preprocessed_slot.hpp", + "external/sources/boost/boost/signals2/shared_connection_block.hpp", + "external/sources/boost/boost/signals2/signal.hpp", + "external/sources/boost/boost/signals2/signal_base.hpp", + "external/sources/boost/boost/signals2/signal_type.hpp", + "external/sources/boost/boost/signals2/slot.hpp", + "external/sources/boost/boost/signals2/slot_base.hpp", + "external/sources/boost/boost/signals2/trackable.hpp", + "external/sources/boost/boost/signals2/variadic_signal.hpp", + "external/sources/boost/boost/signals2/variadic_slot.hpp", + "external/sources/boost/boost/smart_ptr.hpp", + "external/sources/boost/boost/smart_ptr/allocate_local_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/allocate_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/allocate_unique.hpp", + "external/sources/boost/boost/smart_ptr/atomic_shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/bad_weak_ptr.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_spin.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_win32.hpp", + "external/sources/boost/boost/smart_ptr/detail/lightweight_mutex.hpp", + "external/sources/boost/boost/smart_ptr/detail/lightweight_thread.hpp", + "external/sources/boost/boost/smart_ptr/detail/local_counted_base.hpp", + "external/sources/boost/boost/smart_ptr/detail/local_sp_deleter.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_pthreads.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_std_mutex.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_win32_cs.hpp", + "external/sources/boost/boost/smart_ptr/detail/operator_bool.hpp", + "external/sources/boost/boost/smart_ptr/detail/quick_allocator.hpp", + "external/sources/boost/boost/smart_ptr/detail/shared_count.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_convertible.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_impl.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_forward.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_interlocked.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_noexcept.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_obsolete.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_pause.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_yield.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_arm.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_pool.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_w32.hpp", + "external/sources/boost/boost/smart_ptr/detail/yield_k.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from_raw.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from_this.hpp", + "external/sources/boost/boost/smart_ptr/intrusive_ptr.hpp", + "external/sources/boost/boost/smart_ptr/intrusive_ref_counter.hpp", + "external/sources/boost/boost/smart_ptr/local_shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared_object.hpp", + "external/sources/boost/boost/smart_ptr/make_shared.hpp", + "external/sources/boost/boost/smart_ptr/make_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/make_shared_object.hpp", + "external/sources/boost/boost/smart_ptr/make_unique.hpp", + "external/sources/boost/boost/smart_ptr/owner_equal_to.hpp", + "external/sources/boost/boost/smart_ptr/owner_hash.hpp", + "external/sources/boost/boost/smart_ptr/owner_less.hpp", + "external/sources/boost/boost/smart_ptr/scoped_array.hpp", + "external/sources/boost/boost/smart_ptr/scoped_ptr.hpp", + "external/sources/boost/boost/smart_ptr/shared_array.hpp", + "external/sources/boost/boost/smart_ptr/shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/weak_ptr.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/backbone.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/block.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/constants.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/merge_blocks.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/move_blocks.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/parallel_sort.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/block_indirect_sort.hpp", + "external/sources/boost/boost/sort/common/deque_cnc.hpp", + "external/sources/boost/boost/sort/common/file_vector.hpp", + "external/sources/boost/boost/sort/common/indirect.hpp", + "external/sources/boost/boost/sort/common/int_array.hpp", + "external/sources/boost/boost/sort/common/merge_block.hpp", + "external/sources/boost/boost/sort/common/merge_four.hpp", + "external/sources/boost/boost/sort/common/merge_vector.hpp", + "external/sources/boost/boost/sort/common/pivot.hpp", + "external/sources/boost/boost/sort/common/range.hpp", + "external/sources/boost/boost/sort/common/rearrange.hpp", + "external/sources/boost/boost/sort/common/scheduler.hpp", + "external/sources/boost/boost/sort/common/sort_basic.hpp", + "external/sources/boost/boost/sort/common/spinlock.hpp", + "external/sources/boost/boost/sort/common/stack_cnc.hpp", + "external/sources/boost/boost/sort/common/time_measure.hpp", + "external/sources/boost/boost/sort/common/util/algorithm.hpp", + "external/sources/boost/boost/sort/common/util/atomic.hpp", + "external/sources/boost/boost/sort/common/util/circular_buffer.hpp", + "external/sources/boost/boost/sort/common/util/insert.hpp", + "external/sources/boost/boost/sort/common/util/merge.hpp", + "external/sources/boost/boost/sort/common/util/search.hpp", + "external/sources/boost/boost/sort/common/util/traits.hpp", + "external/sources/boost/boost/sort/flat_stable_sort/flat_stable_sort.hpp", + "external/sources/boost/boost/sort/heap_sort/heap_sort.hpp", + "external/sources/boost/boost/sort/insert_sort/insert_sort.hpp", + "external/sources/boost/boost/sort/parallel_stable_sort/parallel_stable_sort.hpp", + "external/sources/boost/boost/sort/pdqsort/pdqsort.hpp", + "external/sources/boost/boost/sort/sample_sort/sample_sort.hpp", + "external/sources/boost/boost/sort/sort.hpp", + "external/sources/boost/boost/sort/spinsort/spinsort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/constants.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/float_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/integer_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/spreadsort_common.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/string_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/float_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/integer_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/spreadsort.hpp", + "external/sources/boost/boost/sort/spreadsort/string_sort.hpp", + "external/sources/boost/boost/spirit.hpp", + "external/sources/boost/boost/spirit/home/classic.hpp", + "external/sources/boost/boost/spirit/home/classic/actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/assign_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/assign_key_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/clear_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/decrement_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/erase_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/increment_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/insert_at_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/insert_key_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/push_back_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/push_front_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_const_ref_a.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_value_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/swap_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure_context.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/parametric.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/core.hpp", + "external/sources/boost/boost/spirit/home/classic/core/assert.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/actions.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/alternative.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/composite.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/difference.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/directives.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/epsilon.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/exclusive_or.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/alternative.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/difference.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/directives.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/exclusive_or.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/intersection.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/kleene_star.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/list.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/optional.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/positive.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequence.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_and.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_or.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/intersection.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/kleene_star.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/list.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/no_actions.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/operators.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/optional.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/positive.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequence.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_and.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_or.hpp", + "external/sources/boost/boost/spirit/home/classic/core/config.hpp", + "external/sources/boost/boost/spirit/home/classic/core/impl/match.ipp", + "external/sources/boost/boost/spirit/home/classic/core/impl/match_attr_traits.ipp", + "external/sources/boost/boost/spirit/home/classic/core/impl/parser.ipp", + "external/sources/boost/boost/spirit/home/classic/core/match.hpp", + "external/sources/boost/boost/spirit/home/classic/core/nil.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/static.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/subrule.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_context.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_id.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/rule.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/parser.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/numerics.ipp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/primitives.ipp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/primitives.hpp", + "external/sources/boost/boost/spirit/home/classic/core/safe_bool.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/impl/skipper.ipp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/debug.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/for.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/if.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/conditions.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/select.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/switch.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/lazy.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/rule_alias.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/select.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/switch.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/while.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/impl/exceptions.ipp", + "external/sources/boost/boost/spirit/home/classic/error_handling/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/impl/file_iterator.ipp", + "external/sources/boost/boost/spirit/home/classic/iterator/impl/position_iterator.ipp", + "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/meta.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/as_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/fundamental.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/fundamental.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/parser_traits.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/refactoring.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/traverse.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/parser_traits.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/refactoring.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/traverse.hpp", + "external/sources/boost/boost/spirit/home/classic/namespace.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/actor.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/binders.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/casts.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/closures.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/composite.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/functions.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/new.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/operators.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/primitives.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/special_ops.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/statements.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/tuple_helpers.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/tuples.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/impl/symbols.ipp", + "external/sources/boost/boost/spirit/home/classic/symbols/impl/tst.ipp", + "external/sources/boost/boost/spirit/home/classic/symbols/symbols.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/symbols_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/ast.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/ast_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/common.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/common_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/impl/parse_tree_utils.ipp", + "external/sources/boost/boost/spirit/home/classic/tree/impl/tree_to_xml.ipp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_utils.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parsetree.dtd", + "external/sources/boost/boost/spirit/home/classic/tree/tree_to_xml.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/utility.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/chset.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/chset_operators.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/confix.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/confix_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/distinct.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/distinct_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/escape_char.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/escape_char_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/functor_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/grammar_def.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/grammar_def_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset_operators.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/confix.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/escape_char.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/lists.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/regex.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/lists.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/lists_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/loops.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/regex.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/rule_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/scoped_lock.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/version.hpp", + "external/sources/boost/boost/spirit/home/karma.hpp", + "external/sources/boost/boost/spirit/home/karma/action.hpp", + "external/sources/boost/boost/spirit/home/karma/action/action.hpp", + "external/sources/boost/boost/spirit/home/karma/auto.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/auto.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/create_generator.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/lazy.hpp", + "external/sources/boost/boost/spirit/home/karma/binary.hpp", + "external/sources/boost/boost/spirit/home/karma/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/karma/binary/padding.hpp", + "external/sources/boost/boost/spirit/home/karma/char.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char_generator.hpp", + "external/sources/boost/boost/spirit/home/karma/delimit_flag.hpp", + "external/sources/boost/boost/spirit/home/karma/delimit_out.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/alternative_function.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/as.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/attributes.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/default_width.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/enable_lit.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/extract_from.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/fail_function.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate_to.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/get_casetag.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/get_stricttag.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/indirect_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/output_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/pass_container.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/string_compare.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/string_generate.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/unused_delimiter.hpp", + "external/sources/boost/boost/spirit/home/karma/directive.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/as.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/buffer.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/center_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/columns.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/delimit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/duplicate.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/encoding.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/left_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/maxwidth.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/no_delimit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/right_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/strict_relaxed.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/upper_lower_case.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/verbatim.hpp", + "external/sources/boost/boost/spirit/home/karma/domain.hpp", + "external/sources/boost/boost/spirit/home/karma/format.hpp", + "external/sources/boost/boost/spirit/home/karma/format_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/generate.hpp", + "external/sources/boost/boost/spirit/home/karma/generate_attr.hpp", + "external/sources/boost/boost/spirit/home/karma/generator.hpp", + "external/sources/boost/boost/spirit/home/karma/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/fcall.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/generator_binder.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/parameterized.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/nonterminal_fwd.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/bool_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/real_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/karma/operator.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/list.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/karma/phoenix_attributes.hpp", + "external/sources/boost/boost/spirit/home/karma/reference.hpp", + "external/sources/boost/boost/spirit/home/karma/stream.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/format_manip.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/format_manip_attr.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/ostream_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/stream.hpp", + "external/sources/boost/boost/spirit/home/karma/string.hpp", + "external/sources/boost/boost/spirit/home/karma/string/lit.hpp", + "external/sources/boost/boost/spirit/home/karma/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/karma/what.hpp", + "external/sources/boost/boost/spirit/home/lex.hpp", + "external/sources/boost/boost/spirit/home/lex/argument.hpp", + "external/sources/boost/boost/spirit/home/lex/argument_phoenix.hpp", + "external/sources/boost/boost/spirit/home/lex/detail/sequence_function.hpp", + "external/sources/boost/boost/spirit/home/lex/domain.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/action.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/char_token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/position_token.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/semantic_action_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_functor_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_version.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/token.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/pass_flags.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/sequence.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/string_token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/support_functions.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/support_functions_expression.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/terminals.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_lexertl.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_static_lexertl.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_type.hpp", + "external/sources/boost/boost/spirit/home/lex/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/lex/primitives.hpp", + "external/sources/boost/boost/spirit/home/lex/qi.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/in_state.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_raw_token.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_token.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/state_switcher.hpp", + "external/sources/boost/boost/spirit/home/lex/reference.hpp", + "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse.hpp", + "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse_attr.hpp", + "external/sources/boost/boost/spirit/home/qi.hpp", + "external/sources/boost/boost/spirit/home/qi/action.hpp", + "external/sources/boost/boost/spirit/home/qi/action/action.hpp", + "external/sources/boost/boost/spirit/home/qi/auto.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/auto.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/create_parser.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/attr.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eoi.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/lazy.hpp", + "external/sources/boost/boost/spirit/home/qi/binary.hpp", + "external/sources/boost/boost/spirit/home/qi/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/qi/char.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char_parser.hpp", + "external/sources/boost/boost/spirit/home/qi/copy.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/alternative_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/assign_to.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/attributes.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/construct.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/enable_lit.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/expect_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/expectation_failure.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/fail_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/parse.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/parse_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/pass_container.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/pass_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/permute_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/string_parse.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/unused_skipper.hpp", + "external/sources/boost/boost/spirit/home/qi/directive.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/as.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/encoding.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/expect.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/hold.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/lexeme.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/matches.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/no_case.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/no_skip.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/raw.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/skip.hpp", + "external/sources/boost/boost/spirit/home/qi/domain.hpp", + "external/sources/boost/boost/spirit/home/qi/match.hpp", + "external/sources/boost/boost/spirit/home/qi/match_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/fcall.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parameterized.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parser_binder.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/error_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/nonterminal_fwd.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/success_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/detail/real_impl.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/qi/operator.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/difference.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/expect.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/list.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/permutation.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequence_base.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequential_or.hpp", + "external/sources/boost/boost/spirit/home/qi/parse.hpp", + "external/sources/boost/boost/spirit/home/qi/parse_attr.hpp", + "external/sources/boost/boost/spirit/home/qi/parser.hpp", + "external/sources/boost/boost/spirit/home/qi/reference.hpp", + "external/sources/boost/boost/spirit/home/qi/skip_flag.hpp", + "external/sources/boost/boost/spirit/home/qi/skip_over.hpp", + "external/sources/boost/boost/spirit/home/qi/stream.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/match_manip.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/match_manip_attr.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/stream.hpp", + "external/sources/boost/boost/spirit/home/qi/string.hpp", + "external/sources/boost/boost/spirit/home/qi/string/detail/tst.hpp", + "external/sources/boost/boost/spirit/home/qi/string/lit.hpp", + "external/sources/boost/boost/spirit/home/qi/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/qi/string/tst.hpp", + "external/sources/boost/boost/spirit/home/qi/string/tst_map.hpp", + "external/sources/boost/boost/spirit/home/qi/what.hpp", + "external/sources/boost/boost/spirit/home/support.hpp", + "external/sources/boost/boost/spirit/home/support/action_dispatch.hpp", + "external/sources/boost/boost/spirit/home/support/adapt_adt_attributes.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns_so.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_ns.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_ns_so.hpp", + "external/sources/boost/boost/spirit/home/support/argument.hpp", + "external/sources/boost/boost/spirit/home/support/argument_expression.hpp", + "external/sources/boost/boost/spirit/home/support/assert_msg.hpp", + "external/sources/boost/boost/spirit/home/support/attributes.hpp", + "external/sources/boost/boost/spirit/home/support/attributes_fwd.hpp", + "external/sources/boost/boost/spirit/home/support/auto.hpp", + "external/sources/boost/boost/spirit/home/support/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/support/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/support/char_class.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/ascii.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/iso8859_1.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/standard.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/category_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/lowercase_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/query.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/script_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/basic_chset.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_functions.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_run.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_run_impl.hpp", + "external/sources/boost/boost/spirit/home/support/common_terminals.hpp", + "external/sources/boost/boost/spirit/home/support/container.hpp", + "external/sources/boost/boost/spirit/home/support/context.hpp", + "external/sources/boost/boost/spirit/home/support/detail/as_variant.hpp", + "external/sources/boost/boost/spirit/home/support/detail/endian.hpp", + "external/sources/boost/boost/spirit/home/support/detail/get_encoding.hpp", + "external/sources/boost/boost/spirit/home/support/detail/hold_any.hpp", + "external/sources/boost/boost/spirit/home/support/detail/is_spirit_tag.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/char_traits.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/consts.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_list.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_vector.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/conversion/char_state_machine.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/debug.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/file_input.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_cpp.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_re2c.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generator.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/input.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/internals.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/parser.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_helper.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_state.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/end_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/iteration_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/leaf_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/selection_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/sequence_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/charset.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/equivset.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/rules.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/runtime_error.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/size_t.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/state_machine.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/string_token.hpp", + "external/sources/boost/boost/spirit/home/support/detail/make_cons.hpp", + "external/sources/boost/boost/spirit/home/support/detail/make_vector.hpp", + "external/sources/boost/boost/spirit/home/support/detail/pow10.hpp", + "external/sources/boost/boost/spirit/home/support/detail/scoped_enum_emulation.hpp", + "external/sources/boost/boost/spirit/home/support/detail/sign.hpp", + "external/sources/boost/boost/spirit/home/support/detail/what_function.hpp", + "external/sources/boost/boost/spirit/home/support/extended_variant.hpp", + "external/sources/boost/boost/spirit/home/support/handles_container.hpp", + "external/sources/boost/boost/spirit/home/support/has_semantic_action.hpp", + "external/sources/boost/boost/spirit/home/support/info.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/buf_id_check_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/combine_policies.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/first_owner_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/istream_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/lex_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/no_check_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/ref_counted_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/split_functor_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/istream_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/line_pos_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/look_ahead.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/ostream_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/lazy.hpp", + "external/sources/boost/boost/spirit/home/support/limits.hpp", + "external/sources/boost/boost/spirit/home/support/make_component.hpp", + "external/sources/boost/boost/spirit/home/support/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/support/modify.hpp", + "external/sources/boost/boost/spirit/home/support/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/multi_pass_wrapper.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/expand_arg.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/extract_param.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/locals.hpp", + "external/sources/boost/boost/spirit/home/support/numeric_traits.hpp", + "external/sources/boost/boost/spirit/home/support/sequence_base_id.hpp", + "external/sources/boost/boost/spirit/home/support/string_traits.hpp", + "external/sources/boost/boost/spirit/home/support/terminal.hpp", + "external/sources/boost/boost/spirit/home/support/terminal_expression.hpp", + "external/sources/boost/boost/spirit/home/support/unused.hpp", + "external/sources/boost/boost/spirit/home/support/utf8.hpp", + "external/sources/boost/boost/spirit/home/support/utree.hpp", + "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail1.hpp", + "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail2.hpp", + "external/sources/boost/boost/spirit/home/support/utree/operators.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree_traits.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree_traits_fwd.hpp", + "external/sources/boost/boost/spirit/home/x3.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/any_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/attr.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eoi.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/guard.hpp", + "external/sources/boost/boost/spirit/home/x3/binary.hpp", + "external/sources/boost/boost/spirit/home/x3/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/x3/char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/any_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_class_tags.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_set.hpp", + "external/sources/boost/boost/spirit/home/x3/char/detail/cast_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/literal_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/negated_char_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/char/unicode.hpp", + "external/sources/boost/boost/spirit/home/x3/core.hpp", + "external/sources/boost/boost/spirit/home/x3/core/action.hpp", + "external/sources/boost/boost/spirit/home/x3/core/call.hpp", + "external/sources/boost/boost/spirit/home/x3/core/detail/parse_into_container.hpp", + "external/sources/boost/boost/spirit/home/x3/core/parse.hpp", + "external/sources/boost/boost/spirit/home/x3/core/parser.hpp", + "external/sources/boost/boost/spirit/home/x3/core/proxy.hpp", + "external/sources/boost/boost/spirit/home/x3/core/skip_over.hpp", + "external/sources/boost/boost/spirit/home/x3/directive.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/confix.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/expect.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/lexeme.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/matches.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/no_case.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/no_skip.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/raw.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/seek.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/skip.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/with.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/rule.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/transform_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/x3/operator.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/detail/alternative.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/detail/sequence.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/difference.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/list.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/x3/string.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/no_case_string_parse.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/string_parse.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/tst.hpp", + "external/sources/boost/boost/spirit/home/x3/string/literal_string.hpp", + "external/sources/boost/boost/spirit/home/x3/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/x3/string/tst.hpp", + "external/sources/boost/boost/spirit/home/x3/string/tst_map.hpp", + "external/sources/boost/boost/spirit/home/x3/support/ast/position_tagged.hpp", + "external/sources/boost/boost/spirit/home/x3/support/ast/variant.hpp", + "external/sources/boost/boost/spirit/home/x3/support/context.hpp", + "external/sources/boost/boost/spirit/home/x3/support/no_case.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/detail/extract_int.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_int.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_real.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/pow10.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/sign.hpp", + "external/sources/boost/boost/spirit/home/x3/support/subcontext.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_category.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of_binary.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_type.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/container_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/handles_container.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/has_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_range.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_variant.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/move_to.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/numeric_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/optional_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/print_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/print_token.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/pseudo_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/string_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/transform_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/tuple_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/variant_find_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/unused.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/annotate_on_success.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/error_reporting.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/is_callable.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/lambda_visitor.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/sfinae.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/utf8.hpp", + "external/sources/boost/boost/spirit/home/x3/version.hpp", + "external/sources/boost/boost/spirit/include/classic.hpp", + "external/sources/boost/boost/spirit/include/classic_actions.hpp", + "external/sources/boost/boost/spirit/include/classic_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_alternative.hpp", + "external/sources/boost/boost/spirit/include/classic_as_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_assert.hpp", + "external/sources/boost/boost/spirit/include/classic_assign_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_assign_key_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ast.hpp", + "external/sources/boost/boost/spirit/include/classic_ast_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_attribute.hpp", + "external/sources/boost/boost/spirit/include/classic_basic_chset.hpp", + "external/sources/boost/boost/spirit/include/classic_chset.hpp", + "external/sources/boost/boost/spirit/include/classic_chset_operators.hpp", + "external/sources/boost/boost/spirit/include/classic_clear_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_closure.hpp", + "external/sources/boost/boost/spirit/include/classic_closure_context.hpp", + "external/sources/boost/boost/spirit/include/classic_closure_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_common.hpp", + "external/sources/boost/boost/spirit/include/classic_common_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_composite.hpp", + "external/sources/boost/boost/spirit/include/classic_config.hpp", + "external/sources/boost/boost/spirit/include/classic_confix.hpp", + "external/sources/boost/boost/spirit/include/classic_confix_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_core.hpp", + "external/sources/boost/boost/spirit/include/classic_debug.hpp", + "external/sources/boost/boost/spirit/include/classic_debug_node.hpp", + "external/sources/boost/boost/spirit/include/classic_decrement_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_difference.hpp", + "external/sources/boost/boost/spirit/include/classic_directives.hpp", + "external/sources/boost/boost/spirit/include/classic_distinct.hpp", + "external/sources/boost/boost/spirit/include/classic_distinct_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_dynamic.hpp", + "external/sources/boost/boost/spirit/include/classic_epsilon.hpp", + "external/sources/boost/boost/spirit/include/classic_erase_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_error_handling.hpp", + "external/sources/boost/boost/spirit/include/classic_escape_char.hpp", + "external/sources/boost/boost/spirit/include/classic_escape_char_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_exceptions.hpp", + "external/sources/boost/boost/spirit/include/classic_exceptions_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_exclusive_or.hpp", + "external/sources/boost/boost/spirit/include/classic_file_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_file_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/include/classic_flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/classic_for.hpp", + "external/sources/boost/boost/spirit/include/classic_functor_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_fundamental.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar_def.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar_def_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_if.hpp", + "external/sources/boost/boost/spirit/include/classic_increment_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_insert_at_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_insert_key_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_intersection.hpp", + "external/sources/boost/boost/spirit/include/classic_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_kleene_star.hpp", + "external/sources/boost/boost/spirit/include/classic_lazy.hpp", + "external/sources/boost/boost/spirit/include/classic_list.hpp", + "external/sources/boost/boost/spirit/include/classic_lists.hpp", + "external/sources/boost/boost/spirit/include/classic_lists_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_loops.hpp", + "external/sources/boost/boost/spirit/include/classic_match.hpp", + "external/sources/boost/boost/spirit/include/classic_meta.hpp", + "external/sources/boost/boost/spirit/include/classic_minimal.hpp", + "external/sources/boost/boost/spirit/include/classic_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/classic_multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_nil.hpp", + "external/sources/boost/boost/spirit/include/classic_no_actions.hpp", + "external/sources/boost/boost/spirit/include/classic_numerics.hpp", + "external/sources/boost/boost/spirit/include/classic_numerics_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_operators.hpp", + "external/sources/boost/boost/spirit/include/classic_optional.hpp", + "external/sources/boost/boost/spirit/include/classic_parametric.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree_utils.hpp", + "external/sources/boost/boost/spirit/include/classic_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_context.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_id.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_names.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_traits.hpp", + "external/sources/boost/boost/spirit/include/classic_position_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_position_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_positive.hpp", + "external/sources/boost/boost/spirit/include/classic_primitives.hpp", + "external/sources/boost/boost/spirit/include/classic_push_back_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_push_front_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_range_run.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_refactoring.hpp", + "external/sources/boost/boost/spirit/include/classic_regex.hpp", + "external/sources/boost/boost/spirit/include/classic_rule.hpp", + "external/sources/boost/boost/spirit/include/classic_rule_alias.hpp", + "external/sources/boost/boost/spirit/include/classic_rule_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_safe_bool.hpp", + "external/sources/boost/boost/spirit/include/classic_scanner.hpp", + "external/sources/boost/boost/spirit/include/classic_scanner_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_scoped_lock.hpp", + "external/sources/boost/boost/spirit/include/classic_select.hpp", + "external/sources/boost/boost/spirit/include/classic_sequence.hpp", + "external/sources/boost/boost/spirit/include/classic_sequential_and.hpp", + "external/sources/boost/boost/spirit/include/classic_sequential_or.hpp", + "external/sources/boost/boost/spirit/include/classic_skipper.hpp", + "external/sources/boost/boost/spirit/include/classic_skipper_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_spirit.hpp", + "external/sources/boost/boost/spirit/include/classic_static.hpp", + "external/sources/boost/boost/spirit/include/classic_stored_rule.hpp", + "external/sources/boost/boost/spirit/include/classic_stored_rule_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_subrule.hpp", + "external/sources/boost/boost/spirit/include/classic_subrule_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_swap_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_switch.hpp", + "external/sources/boost/boost/spirit/include/classic_symbols.hpp", + "external/sources/boost/boost/spirit/include/classic_symbols_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_traverse.hpp", + "external/sources/boost/boost/spirit/include/classic_tree_to_xml.hpp", + "external/sources/boost/boost/spirit/include/classic_typeof.hpp", + "external/sources/boost/boost/spirit/include/classic_utility.hpp", + "external/sources/boost/boost/spirit/include/classic_version.hpp", + "external/sources/boost/boost/spirit/include/classic_while.hpp", + "external/sources/boost/boost/spirit/include/karma.hpp", + "external/sources/boost/boost/spirit/include/karma_action.hpp", + "external/sources/boost/boost/spirit/include/karma_alternative.hpp", + "external/sources/boost/boost/spirit/include/karma_and_predicate.hpp", + "external/sources/boost/boost/spirit/include/karma_as.hpp", + "external/sources/boost/boost/spirit/include/karma_attr_cast.hpp", + "external/sources/boost/boost/spirit/include/karma_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_auxiliary.hpp", + "external/sources/boost/boost/spirit/include/karma_binary.hpp", + "external/sources/boost/boost/spirit/include/karma_bool.hpp", + "external/sources/boost/boost/spirit/include/karma_buffer.hpp", + "external/sources/boost/boost/spirit/include/karma_center_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_char.hpp", + "external/sources/boost/boost/spirit/include/karma_char_.hpp", + "external/sources/boost/boost/spirit/include/karma_char_class.hpp", + "external/sources/boost/boost/spirit/include/karma_columns.hpp", + "external/sources/boost/boost/spirit/include/karma_delimit.hpp", + "external/sources/boost/boost/spirit/include/karma_directive.hpp", + "external/sources/boost/boost/spirit/include/karma_domain.hpp", + "external/sources/boost/boost/spirit/include/karma_duplicate.hpp", + "external/sources/boost/boost/spirit/include/karma_eol.hpp", + "external/sources/boost/boost/spirit/include/karma_eps.hpp", + "external/sources/boost/boost/spirit/include/karma_format.hpp", + "external/sources/boost/boost/spirit/include/karma_format_attr.hpp", + "external/sources/boost/boost/spirit/include/karma_format_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_generate.hpp", + "external/sources/boost/boost/spirit/include/karma_generate_attr.hpp", + "external/sources/boost/boost/spirit/include/karma_generate_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_grammar.hpp", + "external/sources/boost/boost/spirit/include/karma_int.hpp", + "external/sources/boost/boost/spirit/include/karma_kleene.hpp", + "external/sources/boost/boost/spirit/include/karma_lazy.hpp", + "external/sources/boost/boost/spirit/include/karma_left_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_list.hpp", + "external/sources/boost/boost/spirit/include/karma_maxwidth.hpp", + "external/sources/boost/boost/spirit/include/karma_no_delimit.hpp", + "external/sources/boost/boost/spirit/include/karma_nonterminal.hpp", + "external/sources/boost/boost/spirit/include/karma_not_predicate.hpp", + "external/sources/boost/boost/spirit/include/karma_numeric.hpp", + "external/sources/boost/boost/spirit/include/karma_omit.hpp", + "external/sources/boost/boost/spirit/include/karma_operator.hpp", + "external/sources/boost/boost/spirit/include/karma_optional.hpp", + "external/sources/boost/boost/spirit/include/karma_phoenix_attributes.hpp", + "external/sources/boost/boost/spirit/include/karma_plus.hpp", + "external/sources/boost/boost/spirit/include/karma_real.hpp", + "external/sources/boost/boost/spirit/include/karma_repeat.hpp", + "external/sources/boost/boost/spirit/include/karma_right_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_rule.hpp", + "external/sources/boost/boost/spirit/include/karma_sequence.hpp", + "external/sources/boost/boost/spirit/include/karma_stream.hpp", + "external/sources/boost/boost/spirit/include/karma_strict_relaxed.hpp", + "external/sources/boost/boost/spirit/include/karma_string.hpp", + "external/sources/boost/boost/spirit/include/karma_symbols.hpp", + "external/sources/boost/boost/spirit/include/karma_uint.hpp", + "external/sources/boost/boost/spirit/include/karma_upper_lower_case.hpp", + "external/sources/boost/boost/spirit/include/karma_verbatim.hpp", + "external/sources/boost/boost/spirit/include/karma_what.hpp", + "external/sources/boost/boost/spirit/include/lex.hpp", + "external/sources/boost/boost/spirit/include/lex_char_token_def.hpp", + "external/sources/boost/boost/spirit/include/lex_domain.hpp", + "external/sources/boost/boost/spirit/include/lex_generate_static_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_lexer.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl_position_token.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl_token.hpp", + "external/sources/boost/boost/spirit/include/lex_plain_token.hpp", + "external/sources/boost/boost/spirit/include/lex_primitives.hpp", + "external/sources/boost/boost/spirit/include/lex_static_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse.hpp", + "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse_attr.hpp", + "external/sources/boost/boost/spirit/include/phoenix.hpp", + "external/sources/boost/boost/spirit/include/phoenix1.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_actor.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_binders.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_casts.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_closures.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_composite.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_functions.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_new.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_operators.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_primitives.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_special_ops.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_statements.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_tuple_helpers.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_tuples.hpp", + "external/sources/boost/boost/spirit/include/phoenix_algorithm.hpp", + "external/sources/boost/boost/spirit/include/phoenix_bind.hpp", + "external/sources/boost/boost/spirit/include/phoenix_container.hpp", + "external/sources/boost/boost/spirit/include/phoenix_core.hpp", + "external/sources/boost/boost/spirit/include/phoenix_function.hpp", + "external/sources/boost/boost/spirit/include/phoenix_fusion.hpp", + "external/sources/boost/boost/spirit/include/phoenix_limits.hpp", + "external/sources/boost/boost/spirit/include/phoenix_object.hpp", + "external/sources/boost/boost/spirit/include/phoenix_operator.hpp", + "external/sources/boost/boost/spirit/include/phoenix_scope.hpp", + "external/sources/boost/boost/spirit/include/phoenix_statement.hpp", + "external/sources/boost/boost/spirit/include/phoenix_stl.hpp", + "external/sources/boost/boost/spirit/include/phoenix_version.hpp", + "external/sources/boost/boost/spirit/include/qi.hpp", + "external/sources/boost/boost/spirit/include/qi_action.hpp", + "external/sources/boost/boost/spirit/include/qi_alternative.hpp", + "external/sources/boost/boost/spirit/include/qi_and_predicate.hpp", + "external/sources/boost/boost/spirit/include/qi_as.hpp", + "external/sources/boost/boost/spirit/include/qi_as_string.hpp", + "external/sources/boost/boost/spirit/include/qi_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_attr_cast.hpp", + "external/sources/boost/boost/spirit/include/qi_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_auxiliary.hpp", + "external/sources/boost/boost/spirit/include/qi_binary.hpp", + "external/sources/boost/boost/spirit/include/qi_bool.hpp", + "external/sources/boost/boost/spirit/include/qi_char.hpp", + "external/sources/boost/boost/spirit/include/qi_char_.hpp", + "external/sources/boost/boost/spirit/include/qi_char_class.hpp", + "external/sources/boost/boost/spirit/include/qi_copy.hpp", + "external/sources/boost/boost/spirit/include/qi_core.hpp", + "external/sources/boost/boost/spirit/include/qi_difference.hpp", + "external/sources/boost/boost/spirit/include/qi_directive.hpp", + "external/sources/boost/boost/spirit/include/qi_domain.hpp", + "external/sources/boost/boost/spirit/include/qi_eoi.hpp", + "external/sources/boost/boost/spirit/include/qi_eol.hpp", + "external/sources/boost/boost/spirit/include/qi_eps.hpp", + "external/sources/boost/boost/spirit/include/qi_expect.hpp", + "external/sources/boost/boost/spirit/include/qi_grammar.hpp", + "external/sources/boost/boost/spirit/include/qi_hold.hpp", + "external/sources/boost/boost/spirit/include/qi_int.hpp", + "external/sources/boost/boost/spirit/include/qi_kleene.hpp", + "external/sources/boost/boost/spirit/include/qi_lazy.hpp", + "external/sources/boost/boost/spirit/include/qi_lexeme.hpp", + "external/sources/boost/boost/spirit/include/qi_list.hpp", + "external/sources/boost/boost/spirit/include/qi_lit.hpp", + "external/sources/boost/boost/spirit/include/qi_match.hpp", + "external/sources/boost/boost/spirit/include/qi_match_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_match_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_matches.hpp", + "external/sources/boost/boost/spirit/include/qi_no_case.hpp", + "external/sources/boost/boost/spirit/include/qi_no_skip.hpp", + "external/sources/boost/boost/spirit/include/qi_nonterminal.hpp", + "external/sources/boost/boost/spirit/include/qi_not_predicate.hpp", + "external/sources/boost/boost/spirit/include/qi_numeric.hpp", + "external/sources/boost/boost/spirit/include/qi_omit.hpp", + "external/sources/boost/boost/spirit/include/qi_operator.hpp", + "external/sources/boost/boost/spirit/include/qi_optional.hpp", + "external/sources/boost/boost/spirit/include/qi_parse.hpp", + "external/sources/boost/boost/spirit/include/qi_parse_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_parse_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_permutation.hpp", + "external/sources/boost/boost/spirit/include/qi_plus.hpp", + "external/sources/boost/boost/spirit/include/qi_raw.hpp", + "external/sources/boost/boost/spirit/include/qi_real.hpp", + "external/sources/boost/boost/spirit/include/qi_repeat.hpp", + "external/sources/boost/boost/spirit/include/qi_rule.hpp", + "external/sources/boost/boost/spirit/include/qi_sequence.hpp", + "external/sources/boost/boost/spirit/include/qi_sequential_or.hpp", + "external/sources/boost/boost/spirit/include/qi_skip.hpp", + "external/sources/boost/boost/spirit/include/qi_stream.hpp", + "external/sources/boost/boost/spirit/include/qi_string.hpp", + "external/sources/boost/boost/spirit/include/qi_symbols.hpp", + "external/sources/boost/boost/spirit/include/qi_uint.hpp", + "external/sources/boost/boost/spirit/include/qi_what.hpp", + "external/sources/boost/boost/spirit/include/support.hpp", + "external/sources/boost/boost/spirit/include/support_adapt_adt_attributes.hpp", + "external/sources/boost/boost/spirit/include/support_any.hpp", + "external/sources/boost/boost/spirit/include/support_any_if.hpp", + "external/sources/boost/boost/spirit/include/support_any_if_ns.hpp", + "external/sources/boost/boost/spirit/include/support_any_if_ns_so.hpp", + "external/sources/boost/boost/spirit/include/support_any_ns.hpp", + "external/sources/boost/boost/spirit/include/support_any_ns_so.hpp", + "external/sources/boost/boost/spirit/include/support_argument.hpp", + "external/sources/boost/boost/spirit/include/support_ascii.hpp", + "external/sources/boost/boost/spirit/include/support_attributes.hpp", + "external/sources/boost/boost/spirit/include/support_attributes_fwd.hpp", + "external/sources/boost/boost/spirit/include/support_auto.hpp", + "external/sources/boost/boost/spirit/include/support_char_class.hpp", + "external/sources/boost/boost/spirit/include/support_container.hpp", + "external/sources/boost/boost/spirit/include/support_extended_variant.hpp", + "external/sources/boost/boost/spirit/include/support_info.hpp", + "external/sources/boost/boost/spirit/include/support_iso8859_1.hpp", + "external/sources/boost/boost/spirit/include/support_istream_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_line_pos_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_locals.hpp", + "external/sources/boost/boost/spirit/include/support_look_ahead.hpp", + "external/sources/boost/boost/spirit/include/support_modify.hpp", + "external/sources/boost/boost/spirit/include/support_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/support_multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/include/support_ostream_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_standard.hpp", + "external/sources/boost/boost/spirit/include/support_standard_wide.hpp", + "external/sources/boost/boost/spirit/include/support_string_traits.hpp", + "external/sources/boost/boost/spirit/include/support_unused.hpp", + "external/sources/boost/boost/spirit/include/support_utree.hpp", + "external/sources/boost/boost/spirit/include/version.hpp", + "external/sources/boost/boost/spirit/repository/home/karma.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/directive.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/directive/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/nonterminal/subrule.hpp", + "external/sources/boost/boost/spirit/repository/home/qi.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/distinct.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/kwd.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/seek.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/nonterminal/subrule.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator/detail/keywords.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator/keywords.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/advance.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/iter_pos.hpp", + "external/sources/boost/boost/spirit/repository/home/support/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/support/distinct.hpp", + "external/sources/boost/boost/spirit/repository/home/support/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/home/support/kwd.hpp", + "external/sources/boost/boost/spirit/repository/home/support/seek.hpp", + "external/sources/boost/boost/spirit/repository/home/support/subrule_context.hpp", + "external/sources/boost/boost/spirit/repository/include/karma.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_confix.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_directive.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_subrule.hpp", + "external/sources/boost/boost/spirit/repository/include/qi.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_advance.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_confix.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_directive.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_distinct.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_iter_pos.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_keywords.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_kwd.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_primitive.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_seek.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_subrule.hpp", + "external/sources/boost/boost/spirit/version.hpp", + "external/sources/boost/boost/stacktrace.hpp", + "external/sources/boost/boost/stacktrace/detail/addr2line_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/collect_msvc.ipp", + "external/sources/boost/boost/stacktrace/detail/collect_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/collect_unwind.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_decl.hpp", + "external/sources/boost/boost/stacktrace/detail/frame_msvc.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_unwind.ipp", + "external/sources/boost/boost/stacktrace/detail/libbacktrace_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/location_from_symbol.hpp", + "external/sources/boost/boost/stacktrace/detail/pop_options.h", + "external/sources/boost/boost/stacktrace/detail/push_options.h", + "external/sources/boost/boost/stacktrace/detail/safe_dump_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/safe_dump_posix.ipp", + "external/sources/boost/boost/stacktrace/detail/safe_dump_win.ipp", + "external/sources/boost/boost/stacktrace/detail/to_dec_array.hpp", + "external/sources/boost/boost/stacktrace/detail/to_hex_array.hpp", + "external/sources/boost/boost/stacktrace/detail/try_dec_convert.hpp", + "external/sources/boost/boost/stacktrace/detail/unwind_base_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/void_ptr_cast.hpp", + "external/sources/boost/boost/stacktrace/frame.hpp", + "external/sources/boost/boost/stacktrace/safe_dump_to.hpp", + "external/sources/boost/boost/stacktrace/stacktrace.hpp", + "external/sources/boost/boost/stacktrace/stacktrace_fwd.hpp", + "external/sources/boost/boost/statechart/asynchronous_state_machine.hpp", + "external/sources/boost/boost/statechart/custom_reaction.hpp", + "external/sources/boost/boost/statechart/deep_history.hpp", + "external/sources/boost/boost/statechart/deferral.hpp", + "external/sources/boost/boost/statechart/detail/avoid_unused_warning.hpp", + "external/sources/boost/boost/statechart/detail/constructor.hpp", + "external/sources/boost/boost/statechart/detail/counted_base.hpp", + "external/sources/boost/boost/statechart/detail/leaf_state.hpp", + "external/sources/boost/boost/statechart/detail/memory.hpp", + "external/sources/boost/boost/statechart/detail/node_state.hpp", + "external/sources/boost/boost/statechart/detail/reaction_dispatcher.hpp", + "external/sources/boost/boost/statechart/detail/rtti_policy.hpp", + "external/sources/boost/boost/statechart/detail/state_base.hpp", + "external/sources/boost/boost/statechart/event.hpp", + "external/sources/boost/boost/statechart/event_base.hpp", + "external/sources/boost/boost/statechart/event_processor.hpp", + "external/sources/boost/boost/statechart/exception_translator.hpp", + "external/sources/boost/boost/statechart/fifo_scheduler.hpp", + "external/sources/boost/boost/statechart/fifo_worker.hpp", + "external/sources/boost/boost/statechart/history.hpp", + "external/sources/boost/boost/statechart/in_state_reaction.hpp", + "external/sources/boost/boost/statechart/null_exception_translator.hpp", + "external/sources/boost/boost/statechart/processor_container.hpp", + "external/sources/boost/boost/statechart/result.hpp", + "external/sources/boost/boost/statechart/shallow_history.hpp", + "external/sources/boost/boost/statechart/simple_state.hpp", + "external/sources/boost/boost/statechart/state.hpp", + "external/sources/boost/boost/statechart/state_machine.hpp", + "external/sources/boost/boost/statechart/termination.hpp", + "external/sources/boost/boost/statechart/transition.hpp", + "external/sources/boost/boost/static_assert.hpp", + "external/sources/boost/boost/static_string.hpp", + "external/sources/boost/boost/static_string/config.hpp", + "external/sources/boost/boost/static_string/static_string.hpp", + "external/sources/boost/boost/stl_interfaces/fwd.hpp", + "external/sources/boost/boost/stl_interfaces/iterator_interface.hpp", + "external/sources/boost/boost/stl_interfaces/reverse_iterator.hpp", + "external/sources/boost/boost/stl_interfaces/sequence_container_interface.hpp", + "external/sources/boost/boost/stl_interfaces/view_interface.hpp", + "external/sources/boost/boost/swap.hpp", + "external/sources/boost/boost/system/api_config.hpp", + "external/sources/boost/boost/system/config.hpp", + "external/sources/boost/boost/system/cygwin_error.hpp", + "external/sources/boost/boost/system/detail/config.hpp", + "external/sources/boost/boost/system/detail/generic_category.hpp", + "external/sources/boost/boost/system/detail/std_interoperability.hpp", + "external/sources/boost/boost/system/detail/system_category_posix.hpp", + "external/sources/boost/boost/system/detail/system_category_win32.hpp", + "external/sources/boost/boost/system/error_code.hpp", + "external/sources/boost/boost/system/linux_error.hpp", + "external/sources/boost/boost/system/system_error.hpp", + "external/sources/boost/boost/system/windows_error.hpp", + "external/sources/boost/boost/test/auto_unit_test.hpp", + "external/sources/boost/boost/test/data/config.hpp", + "external/sources/boost/boost/test/data/dataset.hpp", + "external/sources/boost/boost/test/data/for_each_sample.hpp", + "external/sources/boost/boost/test/data/index_sequence.hpp", + "external/sources/boost/boost/test/data/monomorphic.hpp", + "external/sources/boost/boost/test/data/monomorphic/array.hpp", + "external/sources/boost/boost/test/data/monomorphic/collection.hpp", + "external/sources/boost/boost/test/data/monomorphic/delayed.hpp", + "external/sources/boost/boost/test/data/monomorphic/fwd.hpp", + "external/sources/boost/boost/test/data/monomorphic/generate.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/keywords.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/random.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/xrange.hpp", + "external/sources/boost/boost/test/data/monomorphic/grid.hpp", + "external/sources/boost/boost/test/data/monomorphic/initializer_list.hpp", + "external/sources/boost/boost/test/data/monomorphic/join.hpp", + "external/sources/boost/boost/test/data/monomorphic/sample_merge.hpp", + "external/sources/boost/boost/test/data/monomorphic/singleton.hpp", + "external/sources/boost/boost/test/data/monomorphic/zip.hpp", + "external/sources/boost/boost/test/data/size.hpp", + "external/sources/boost/boost/test/data/test_case.hpp", + "external/sources/boost/boost/test/debug.hpp", + "external/sources/boost/boost/test/debug_config.hpp", + "external/sources/boost/boost/test/detail/config.hpp", + "external/sources/boost/boost/test/detail/enable_warnings.hpp", + "external/sources/boost/boost/test/detail/fwd_decl.hpp", + "external/sources/boost/boost/test/detail/global_typedef.hpp", + "external/sources/boost/boost/test/detail/log_level.hpp", + "external/sources/boost/boost/test/detail/pp_variadic.hpp", + "external/sources/boost/boost/test/detail/suppress_warnings.hpp", + "external/sources/boost/boost/test/detail/throw_exception.hpp", + "external/sources/boost/boost/test/execution_monitor.hpp", + "external/sources/boost/boost/test/floating_point_comparison.hpp", + "external/sources/boost/boost/test/framework.hpp", + "external/sources/boost/boost/test/impl/compiler_log_formatter.ipp", + "external/sources/boost/boost/test/impl/cpp_main.ipp", + "external/sources/boost/boost/test/impl/debug.ipp", + "external/sources/boost/boost/test/impl/decorator.ipp", + "external/sources/boost/boost/test/impl/execution_monitor.ipp", + "external/sources/boost/boost/test/impl/framework.ipp", + "external/sources/boost/boost/test/impl/junit_log_formatter.ipp", + "external/sources/boost/boost/test/impl/plain_report_formatter.ipp", + "external/sources/boost/boost/test/impl/progress_monitor.ipp", + "external/sources/boost/boost/test/impl/results_collector.ipp", + "external/sources/boost/boost/test/impl/results_reporter.ipp", + "external/sources/boost/boost/test/impl/test_framework_init_observer.ipp", + "external/sources/boost/boost/test/impl/test_main.ipp", + "external/sources/boost/boost/test/impl/test_tools.ipp", + "external/sources/boost/boost/test/impl/test_tree.ipp", + "external/sources/boost/boost/test/impl/unit_test_log.ipp", + "external/sources/boost/boost/test/impl/unit_test_main.ipp", + "external/sources/boost/boost/test/impl/unit_test_monitor.ipp", + "external/sources/boost/boost/test/impl/unit_test_parameters.ipp", + "external/sources/boost/boost/test/impl/xml_log_formatter.ipp", + "external/sources/boost/boost/test/impl/xml_report_formatter.ipp", + "external/sources/boost/boost/test/included/execution_monitor.hpp", + "external/sources/boost/boost/test/included/prg_exec_monitor.hpp", + "external/sources/boost/boost/test/included/test_exec_monitor.hpp", + "external/sources/boost/boost/test/included/unit_test.hpp", + "external/sources/boost/boost/test/included/unit_test_framework.hpp", + "external/sources/boost/boost/test/minimal.hpp", + "external/sources/boost/boost/test/output/compiler_log_formatter.hpp", + "external/sources/boost/boost/test/output/junit_log_formatter.hpp", + "external/sources/boost/boost/test/output/plain_report_formatter.hpp", + "external/sources/boost/boost/test/output/xml_log_formatter.hpp", + "external/sources/boost/boost/test/output/xml_report_formatter.hpp", + "external/sources/boost/boost/test/output_test_stream.hpp", + "external/sources/boost/boost/test/parameterized_test.hpp", + "external/sources/boost/boost/test/predicate_result.hpp", + "external/sources/boost/boost/test/prg_exec_monitor.hpp", + "external/sources/boost/boost/test/progress_monitor.hpp", + "external/sources/boost/boost/test/results_collector.hpp", + "external/sources/boost/boost/test/results_reporter.hpp", + "external/sources/boost/boost/test/test_case_template.hpp", + "external/sources/boost/boost/test/test_exec_monitor.hpp", + "external/sources/boost/boost/test/test_framework_init_observer.hpp", + "external/sources/boost/boost/test/test_tools.hpp", + "external/sources/boost/boost/test/tools/assertion.hpp", + "external/sources/boost/boost/test/tools/assertion_result.hpp", + "external/sources/boost/boost/test/tools/collection_comparison_op.hpp", + "external/sources/boost/boost/test/tools/context.hpp", + "external/sources/boost/boost/test/tools/cstring_comparison_op.hpp", + "external/sources/boost/boost/test/tools/detail/bitwise_manip.hpp", + "external/sources/boost/boost/test/tools/detail/fwd.hpp", + "external/sources/boost/boost/test/tools/detail/indirections.hpp", + "external/sources/boost/boost/test/tools/detail/it_pair.hpp", + "external/sources/boost/boost/test/tools/detail/lexicographic_manip.hpp", + "external/sources/boost/boost/test/tools/detail/per_element_manip.hpp", + "external/sources/boost/boost/test/tools/detail/print_helper.hpp", + "external/sources/boost/boost/test/tools/detail/tolerance_manip.hpp", + "external/sources/boost/boost/test/tools/floating_point_comparison.hpp", + "external/sources/boost/boost/test/tools/fpc_op.hpp", + "external/sources/boost/boost/test/tools/fpc_tolerance.hpp", + "external/sources/boost/boost/test/tools/interface.hpp", + "external/sources/boost/boost/test/tools/old/impl.hpp", + "external/sources/boost/boost/test/tools/old/interface.hpp", + "external/sources/boost/boost/test/tools/output_test_stream.hpp", + "external/sources/boost/boost/test/tree/auto_registration.hpp", + "external/sources/boost/boost/test/tree/decorator.hpp", + "external/sources/boost/boost/test/tree/fixture.hpp", + "external/sources/boost/boost/test/tree/global_fixture.hpp", + "external/sources/boost/boost/test/tree/observer.hpp", + "external/sources/boost/boost/test/tree/test_case_counter.hpp", + "external/sources/boost/boost/test/tree/test_case_template.hpp", + "external/sources/boost/boost/test/tree/test_unit.hpp", + "external/sources/boost/boost/test/tree/traverse.hpp", + "external/sources/boost/boost/test/tree/visitor.hpp", + "external/sources/boost/boost/test/unit_test.hpp", + "external/sources/boost/boost/test/unit_test_log.hpp", + "external/sources/boost/boost/test/unit_test_log_formatter.hpp", + "external/sources/boost/boost/test/unit_test_monitor.hpp", + "external/sources/boost/boost/test/unit_test_parameters.hpp", + "external/sources/boost/boost/test/unit_test_suite.hpp", + "external/sources/boost/boost/test/utils/algorithm.hpp", + "external/sources/boost/boost/test/utils/assign_op.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/bcs_char_traits.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/compare.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/io.hpp", + "external/sources/boost/boost/test/utils/class_properties.hpp", + "external/sources/boost/boost/test/utils/custom_manip.hpp", + "external/sources/boost/boost/test/utils/foreach.hpp", + "external/sources/boost/boost/test/utils/is_cstring.hpp", + "external/sources/boost/boost/test/utils/is_forward_iterable.hpp", + "external/sources/boost/boost/test/utils/iterator/input_iterator_facade.hpp", + "external/sources/boost/boost/test/utils/iterator/token_iterator.hpp", + "external/sources/boost/boost/test/utils/lazy_ostream.hpp", + "external/sources/boost/boost/test/utils/named_params.hpp", + "external/sources/boost/boost/test/utils/nullstream.hpp", + "external/sources/boost/boost/test/utils/rtti.hpp", + "external/sources/boost/boost/test/utils/runtime/argument.hpp", + "external/sources/boost/boost/test/utils/runtime/argument_factory.hpp", + "external/sources/boost/boost/test/utils/runtime/cla/argv_traverser.hpp", + "external/sources/boost/boost/test/utils/runtime/cla/parser.hpp", + "external/sources/boost/boost/test/utils/runtime/env/fetch.hpp", + "external/sources/boost/boost/test/utils/runtime/errors.hpp", + "external/sources/boost/boost/test/utils/runtime/finalize.hpp", + "external/sources/boost/boost/test/utils/runtime/fwd.hpp", + "external/sources/boost/boost/test/utils/runtime/modifier.hpp", + "external/sources/boost/boost/test/utils/runtime/parameter.hpp", + "external/sources/boost/boost/test/utils/setcolor.hpp", + "external/sources/boost/boost/test/utils/string_cast.hpp", + "external/sources/boost/boost/test/utils/timer.hpp", + "external/sources/boost/boost/test/utils/wrap_stringstream.hpp", + "external/sources/boost/boost/test/utils/xml_printer.hpp", + "external/sources/boost/boost/thread.hpp", + "external/sources/boost/boost/thread/barrier.hpp", + "external/sources/boost/boost/thread/caller_context.hpp", + "external/sources/boost/boost/thread/completion_latch.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_adaptor.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_views.hpp", + "external/sources/boost/boost/thread/concurrent_queues/detail/sync_deque_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/detail/sync_queue_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_adaptor.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_op_status.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_views.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_bounded_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_deque.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_priority_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_timed_queue.hpp", + "external/sources/boost/boost/thread/condition.hpp", + "external/sources/boost/boost/thread/condition_variable.hpp", + "external/sources/boost/boost/thread/csbl/deque.hpp", + "external/sources/boost/boost/thread/csbl/devector.hpp", + "external/sources/boost/boost/thread/csbl/functional.hpp", + "external/sources/boost/boost/thread/csbl/list.hpp", + "external/sources/boost/boost/thread/csbl/memory.hpp", + "external/sources/boost/boost/thread/csbl/memory/allocator_arg.hpp", + "external/sources/boost/boost/thread/csbl/memory/allocator_traits.hpp", + "external/sources/boost/boost/thread/csbl/memory/config.hpp", + "external/sources/boost/boost/thread/csbl/memory/default_delete.hpp", + "external/sources/boost/boost/thread/csbl/memory/pointer_traits.hpp", + "external/sources/boost/boost/thread/csbl/memory/scoped_allocator.hpp", + "external/sources/boost/boost/thread/csbl/memory/shared_ptr.hpp", + "external/sources/boost/boost/thread/csbl/memory/unique_ptr.hpp", + "external/sources/boost/boost/thread/csbl/queue.hpp", + "external/sources/boost/boost/thread/csbl/tuple.hpp", + "external/sources/boost/boost/thread/csbl/vector.hpp", + "external/sources/boost/boost/thread/cv_status.hpp", + "external/sources/boost/boost/thread/detail/atomic_redef_macros.hpp", + "external/sources/boost/boost/thread/detail/atomic_undef_macros.hpp", + "external/sources/boost/boost/thread/detail/config.hpp", + "external/sources/boost/boost/thread/detail/counter.hpp", + "external/sources/boost/boost/thread/detail/delete.hpp", + "external/sources/boost/boost/thread/detail/force_cast.hpp", + "external/sources/boost/boost/thread/detail/function_wrapper.hpp", + "external/sources/boost/boost/thread/detail/invoke.hpp", + "external/sources/boost/boost/thread/detail/invoker.hpp", + "external/sources/boost/boost/thread/detail/is_convertible.hpp", + "external/sources/boost/boost/thread/detail/lockable_wrapper.hpp", + "external/sources/boost/boost/thread/detail/log.hpp", + "external/sources/boost/boost/thread/detail/make_tuple_indices.hpp", + "external/sources/boost/boost/thread/detail/memory.hpp", + "external/sources/boost/boost/thread/detail/move.hpp", + "external/sources/boost/boost/thread/detail/nullary_function.hpp", + "external/sources/boost/boost/thread/detail/platform.hpp", + "external/sources/boost/boost/thread/detail/platform_time.hpp", + "external/sources/boost/boost/thread/detail/singleton.hpp", + "external/sources/boost/boost/thread/detail/thread.hpp", + "external/sources/boost/boost/thread/detail/thread_group.hpp", + "external/sources/boost/boost/thread/detail/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/detail/thread_interruption.hpp", + "external/sources/boost/boost/thread/detail/thread_safety.hpp", + "external/sources/boost/boost/thread/detail/tss_hooks.hpp", + "external/sources/boost/boost/thread/detail/variadic_footer.hpp", + "external/sources/boost/boost/thread/detail/variadic_header.hpp", + "external/sources/boost/boost/thread/exceptional_ptr.hpp", + "external/sources/boost/boost/thread/exceptions.hpp", + "external/sources/boost/boost/thread/executor.hpp", + "external/sources/boost/boost/thread/executors/basic_thread_pool.hpp", + "external/sources/boost/boost/thread/executors/detail/priority_executor_base.hpp", + "external/sources/boost/boost/thread/executors/detail/scheduled_executor_base.hpp", + "external/sources/boost/boost/thread/executors/executor.hpp", + "external/sources/boost/boost/thread/executors/executor_adaptor.hpp", + "external/sources/boost/boost/thread/executors/generic_executor_ref.hpp", + "external/sources/boost/boost/thread/executors/inline_executor.hpp", + "external/sources/boost/boost/thread/executors/loop_executor.hpp", + "external/sources/boost/boost/thread/executors/scheduled_thread_pool.hpp", + "external/sources/boost/boost/thread/executors/scheduler.hpp", + "external/sources/boost/boost/thread/executors/scheduling_adaptor.hpp", + "external/sources/boost/boost/thread/executors/serial_executor.hpp", + "external/sources/boost/boost/thread/executors/serial_executor_cont.hpp", + "external/sources/boost/boost/thread/executors/thread_executor.hpp", + "external/sources/boost/boost/thread/executors/work.hpp", + "external/sources/boost/boost/thread/experimental/config/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/exception_list.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v1/exception_list.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v1/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v2/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v2/task_region.hpp", + "external/sources/boost/boost/thread/experimental/task_region.hpp", + "external/sources/boost/boost/thread/externally_locked.hpp", + "external/sources/boost/boost/thread/externally_locked_stream.hpp", + "external/sources/boost/boost/thread/future.hpp", + "external/sources/boost/boost/thread/futures/future_error.hpp", + "external/sources/boost/boost/thread/futures/future_error_code.hpp", + "external/sources/boost/boost/thread/futures/future_status.hpp", + "external/sources/boost/boost/thread/futures/is_future_type.hpp", + "external/sources/boost/boost/thread/futures/launch.hpp", + "external/sources/boost/boost/thread/futures/wait_for_all.hpp", + "external/sources/boost/boost/thread/futures/wait_for_any.hpp", + "external/sources/boost/boost/thread/interruption.hpp", + "external/sources/boost/boost/thread/is_locked_by_this_thread.hpp", + "external/sources/boost/boost/thread/latch.hpp", + "external/sources/boost/boost/thread/lock_algorithms.hpp", + "external/sources/boost/boost/thread/lock_concepts.hpp", + "external/sources/boost/boost/thread/lock_factories.hpp", + "external/sources/boost/boost/thread/lock_guard.hpp", + "external/sources/boost/boost/thread/lock_options.hpp", + "external/sources/boost/boost/thread/lock_traits.hpp", + "external/sources/boost/boost/thread/lock_types.hpp", + "external/sources/boost/boost/thread/lockable_adapter.hpp", + "external/sources/boost/boost/thread/lockable_concepts.hpp", + "external/sources/boost/boost/thread/lockable_traits.hpp", + "external/sources/boost/boost/thread/locks.hpp", + "external/sources/boost/boost/thread/mutex.hpp", + "external/sources/boost/boost/thread/null_mutex.hpp", + "external/sources/boost/boost/thread/once.hpp", + "external/sources/boost/boost/thread/ostream_buffer.hpp", + "external/sources/boost/boost/thread/poly_lockable.hpp", + "external/sources/boost/boost/thread/poly_lockable_adapter.hpp", + "external/sources/boost/boost/thread/poly_shared_lockable.hpp", + "external/sources/boost/boost/thread/poly_shared_lockable_adapter.hpp", + "external/sources/boost/boost/thread/pthread/condition_variable.hpp", + "external/sources/boost/boost/thread/pthread/condition_variable_fwd.hpp", + "external/sources/boost/boost/thread/pthread/mutex.hpp", + "external/sources/boost/boost/thread/pthread/once.hpp", + "external/sources/boost/boost/thread/pthread/once_atomic.hpp", + "external/sources/boost/boost/thread/pthread/pthread_helpers.hpp", + "external/sources/boost/boost/thread/pthread/pthread_mutex_scoped_lock.hpp", + "external/sources/boost/boost/thread/pthread/recursive_mutex.hpp", + "external/sources/boost/boost/thread/pthread/shared_mutex.hpp", + "external/sources/boost/boost/thread/pthread/thread_data.hpp", + "external/sources/boost/boost/thread/pthread/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/recursive_mutex.hpp", + "external/sources/boost/boost/thread/reverse_lock.hpp", + "external/sources/boost/boost/thread/scoped_thread.hpp", + "external/sources/boost/boost/thread/shared_lock_guard.hpp", + "external/sources/boost/boost/thread/shared_mutex.hpp", + "external/sources/boost/boost/thread/strict_lock.hpp", + "external/sources/boost/boost/thread/sync_bounded_queue.hpp", + "external/sources/boost/boost/thread/sync_queue.hpp", + "external/sources/boost/boost/thread/synchronized_value.hpp", + "external/sources/boost/boost/thread/testable_mutex.hpp", + "external/sources/boost/boost/thread/thread.hpp", + "external/sources/boost/boost/thread/thread_functors.hpp", + "external/sources/boost/boost/thread/thread_guard.hpp", + "external/sources/boost/boost/thread/thread_only.hpp", + "external/sources/boost/boost/thread/thread_pool.hpp", + "external/sources/boost/boost/thread/thread_time.hpp", + "external/sources/boost/boost/thread/tss.hpp", + "external/sources/boost/boost/thread/user_scheduler.hpp", + "external/sources/boost/boost/thread/v2/shared_mutex.hpp", + "external/sources/boost/boost/thread/win32/basic_recursive_mutex.hpp", + "external/sources/boost/boost/thread/win32/basic_timed_mutex.hpp", + "external/sources/boost/boost/thread/win32/condition_variable.hpp", + "external/sources/boost/boost/thread/win32/interlocked_read.hpp", + "external/sources/boost/boost/thread/win32/mfc_thread_init.hpp", + "external/sources/boost/boost/thread/win32/mutex.hpp", + "external/sources/boost/boost/thread/win32/once.hpp", + "external/sources/boost/boost/thread/win32/recursive_mutex.hpp", + "external/sources/boost/boost/thread/win32/shared_mutex.hpp", + "external/sources/boost/boost/thread/win32/thread_data.hpp", + "external/sources/boost/boost/thread/win32/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/win32/thread_primitives.hpp", + "external/sources/boost/boost/thread/with_lock_guard.hpp", + "external/sources/boost/boost/thread/xtime.hpp", + "external/sources/boost/boost/throw_exception.hpp", + "external/sources/boost/boost/timer.hpp", + "external/sources/boost/boost/timer/config.hpp", + "external/sources/boost/boost/timer/progress_display.hpp", + "external/sources/boost/boost/timer/timer.hpp", + "external/sources/boost/boost/token_functions.hpp", + "external/sources/boost/boost/token_iterator.hpp", + "external/sources/boost/boost/tokenizer.hpp", + "external/sources/boost/boost/tti/detail/dclass.hpp", + "external/sources/boost/boost/tti/detail/dcomp_mem_fun.hpp", + "external/sources/boost/boost/tti/detail/dcomp_mem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/ddata.hpp", + "external/sources/boost/boost/tti/detail/ddeftype.hpp", + "external/sources/boost/boost/tti/detail/denclosing_type.hpp", + "external/sources/boost/boost/tti/detail/denum.hpp", + "external/sources/boost/boost/tti/detail/dftclass.hpp", + "external/sources/boost/boost/tti/detail/dfunction.hpp", + "external/sources/boost/boost/tti/detail/dfunction_template.hpp", + "external/sources/boost/boost/tti/detail/dlambda.hpp", + "external/sources/boost/boost/tti/detail/dmacro_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dmacro_fve.hpp", + "external/sources/boost/boost/tti/detail/dmacro_sunfix.hpp", + "external/sources/boost/boost/tti/detail/dmem_data.hpp", + "external/sources/boost/boost/tti/detail/dmem_fun.hpp", + "external/sources/boost/boost/tti/detail/dmem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dmem_type.hpp", + "external/sources/boost/boost/tti/detail/dmetafunc.hpp", + "external/sources/boost/boost/tti/detail/dnotype.hpp", + "external/sources/boost/boost/tti/detail/dnullptr.hpp", + "external/sources/boost/boost/tti/detail/dplaceholder.hpp", + "external/sources/boost/boost/tti/detail/dptmf.hpp", + "external/sources/boost/boost/tti/detail/dstatic_function_tags.hpp", + "external/sources/boost/boost/tti/detail/dstatic_function_type.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_data.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_fun.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dtclass.hpp", + "external/sources/boost/boost/tti/detail/dtemplate.hpp", + "external/sources/boost/boost/tti/detail/dtemplate_params.hpp", + "external/sources/boost/boost/tti/detail/dtfunction.hpp", + "external/sources/boost/boost/tti/detail/dtype.hpp", + "external/sources/boost/boost/tti/detail/dunion.hpp", + "external/sources/boost/boost/tti/detail/dvm_template_params.hpp", + "external/sources/boost/boost/tti/has_class.hpp", + "external/sources/boost/boost/tti/has_data.hpp", + "external/sources/boost/boost/tti/has_enum.hpp", + "external/sources/boost/boost/tti/has_function.hpp", + "external/sources/boost/boost/tti/has_function_template.hpp", + "external/sources/boost/boost/tti/has_member_data.hpp", + "external/sources/boost/boost/tti/has_member_function.hpp", + "external/sources/boost/boost/tti/has_member_function_template.hpp", + "external/sources/boost/boost/tti/has_static_member_data.hpp", + "external/sources/boost/boost/tti/has_static_member_function.hpp", + "external/sources/boost/boost/tti/has_static_member_function_template.hpp", + "external/sources/boost/boost/tti/has_template.hpp", + "external/sources/boost/boost/tti/has_type.hpp", + "external/sources/boost/boost/tti/has_union.hpp", + "external/sources/boost/boost/tti/member_type.hpp", + "external/sources/boost/boost/tti/tti.hpp", + "external/sources/boost/boost/tuple/detail/tuple_basic.hpp", + "external/sources/boost/boost/tuple/tuple.hpp", + "external/sources/boost/boost/tuple/tuple_comparison.hpp", + "external/sources/boost/boost/tuple/tuple_io.hpp", + "external/sources/boost/boost/type.hpp", + "external/sources/boost/boost/type_erasure/any.hpp", + "external/sources/boost/boost/type_erasure/any_cast.hpp", + "external/sources/boost/boost/type_erasure/binding.hpp", + "external/sources/boost/boost/type_erasure/binding_of.hpp", + "external/sources/boost/boost/type_erasure/builtin.hpp", + "external/sources/boost/boost/type_erasure/call.hpp", + "external/sources/boost/boost/type_erasure/callable.hpp", + "external/sources/boost/boost/type_erasure/check_match.hpp", + "external/sources/boost/boost/type_erasure/concept_interface.hpp", + "external/sources/boost/boost/type_erasure/concept_of.hpp", + "external/sources/boost/boost/type_erasure/config.hpp", + "external/sources/boost/boost/type_erasure/constructible.hpp", + "external/sources/boost/boost/type_erasure/deduced.hpp", + "external/sources/boost/boost/type_erasure/derived.hpp", + "external/sources/boost/boost/type_erasure/detail/access.hpp", + "external/sources/boost/boost/type_erasure/detail/adapt_to_vtable.hpp", + "external/sources/boost/boost/type_erasure/detail/any_base.hpp", + "external/sources/boost/boost/type_erasure/detail/auto_link.hpp", + "external/sources/boost/boost/type_erasure/detail/check_call.hpp", + "external/sources/boost/boost/type_erasure/detail/check_map.hpp", + "external/sources/boost/boost/type_erasure/detail/const.hpp", + "external/sources/boost/boost/type_erasure/detail/construct.hpp", + "external/sources/boost/boost/type_erasure/detail/dynamic_vtable.hpp", + "external/sources/boost/boost/type_erasure/detail/extract_concept.hpp", + "external/sources/boost/boost/type_erasure/detail/get_placeholders.hpp", + "external/sources/boost/boost/type_erasure/detail/get_signature.hpp", + "external/sources/boost/boost/type_erasure/detail/instantiate.hpp", + "external/sources/boost/boost/type_erasure/detail/macro.hpp", + "external/sources/boost/boost/type_erasure/detail/member11.hpp", + "external/sources/boost/boost/type_erasure/detail/meta.hpp", + "external/sources/boost/boost/type_erasure/detail/normalize.hpp", + "external/sources/boost/boost/type_erasure/detail/normalize_deduced.hpp", + "external/sources/boost/boost/type_erasure/detail/null.hpp", + "external/sources/boost/boost/type_erasure/detail/rebind_placeholders.hpp", + "external/sources/boost/boost/type_erasure/detail/storage.hpp", + "external/sources/boost/boost/type_erasure/detail/vtable.hpp", + "external/sources/boost/boost/type_erasure/dynamic_any_cast.hpp", + "external/sources/boost/boost/type_erasure/dynamic_binding.hpp", + "external/sources/boost/boost/type_erasure/exception.hpp", + "external/sources/boost/boost/type_erasure/free.hpp", + "external/sources/boost/boost/type_erasure/is_empty.hpp", + "external/sources/boost/boost/type_erasure/is_placeholder.hpp", + "external/sources/boost/boost/type_erasure/is_subconcept.hpp", + "external/sources/boost/boost/type_erasure/iterator.hpp", + "external/sources/boost/boost/type_erasure/member.hpp", + "external/sources/boost/boost/type_erasure/operators.hpp", + "external/sources/boost/boost/type_erasure/param.hpp", + "external/sources/boost/boost/type_erasure/placeholder.hpp", + "external/sources/boost/boost/type_erasure/placeholder_of.hpp", + "external/sources/boost/boost/type_erasure/rebind_any.hpp", + "external/sources/boost/boost/type_erasure/register_binding.hpp", + "external/sources/boost/boost/type_erasure/relaxed.hpp", + "external/sources/boost/boost/type_erasure/require_match.hpp", + "external/sources/boost/boost/type_erasure/same_type.hpp", + "external/sources/boost/boost/type_erasure/static_binding.hpp", + "external/sources/boost/boost/type_erasure/tuple.hpp", + "external/sources/boost/boost/type_erasure/typeid_of.hpp", + "external/sources/boost/boost/type_index.hpp", + "external/sources/boost/boost/type_index/ctti_type_index.hpp", + "external/sources/boost/boost/type_index/detail/compile_time_type_info.hpp", + "external/sources/boost/boost/type_index/detail/ctti_register_class.hpp", + "external/sources/boost/boost/type_index/detail/stl_register_class.hpp", + "external/sources/boost/boost/type_index/runtime_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/detail/runtime_cast_impl.hpp", + "external/sources/boost/boost/type_index/runtime_cast/pointer_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/reference_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/register_runtime_class.hpp", + "external/sources/boost/boost/type_index/runtime_cast/std_shared_ptr_cast.hpp", + "external/sources/boost/boost/type_index/stl_type_index.hpp", + "external/sources/boost/boost/type_index/type_index_facade.hpp", + "external/sources/boost/boost/type_traits.hpp", + "external/sources/boost/boost/type_traits/add_const.hpp", + "external/sources/boost/boost/type_traits/add_cv.hpp", + "external/sources/boost/boost/type_traits/add_lvalue_reference.hpp", + "external/sources/boost/boost/type_traits/add_pointer.hpp", + "external/sources/boost/boost/type_traits/add_reference.hpp", + "external/sources/boost/boost/type_traits/add_rvalue_reference.hpp", + "external/sources/boost/boost/type_traits/add_volatile.hpp", + "external/sources/boost/boost/type_traits/aligned_storage.hpp", + "external/sources/boost/boost/type_traits/alignment_of.hpp", + "external/sources/boost/boost/type_traits/alignment_traits.hpp", + "external/sources/boost/boost/type_traits/arithmetic_traits.hpp", + "external/sources/boost/boost/type_traits/array_traits.hpp", + "external/sources/boost/boost/type_traits/broken_compiler_spec.hpp", + "external/sources/boost/boost/type_traits/common_type.hpp", + "external/sources/boost/boost/type_traits/composite_traits.hpp", + "external/sources/boost/boost/type_traits/conditional.hpp", + "external/sources/boost/boost/type_traits/config.hpp", + "external/sources/boost/boost/type_traits/conjunction.hpp", + "external/sources/boost/boost/type_traits/conversion_traits.hpp", + "external/sources/boost/boost/type_traits/copy_cv.hpp", + "external/sources/boost/boost/type_traits/copy_cv_ref.hpp", + "external/sources/boost/boost/type_traits/copy_reference.hpp", + "external/sources/boost/boost/type_traits/cv_traits.hpp", + "external/sources/boost/boost/type_traits/decay.hpp", + "external/sources/boost/boost/type_traits/declval.hpp", + "external/sources/boost/boost/type_traits/detail/bool_trait_def.hpp", + "external/sources/boost/boost/type_traits/detail/bool_trait_undef.hpp", + "external/sources/boost/boost/type_traits/detail/common_arithmetic_type.hpp", + "external/sources/boost/boost/type_traits/detail/common_type_impl.hpp", + "external/sources/boost/boost/type_traits/detail/composite_member_pointer_type.hpp", + "external/sources/boost/boost/type_traits/detail/composite_pointer_type.hpp", + "external/sources/boost/boost/type_traits/detail/config.hpp", + "external/sources/boost/boost/type_traits/detail/detector.hpp", + "external/sources/boost/boost/type_traits/detail/has_binary_operator.hpp", + "external/sources/boost/boost/type_traits/detail/has_postfix_operator.hpp", + "external/sources/boost/boost/type_traits/detail/has_prefix_operator.hpp", + "external/sources/boost/boost/type_traits/detail/ice_and.hpp", + "external/sources/boost/boost/type_traits/detail/ice_eq.hpp", + "external/sources/boost/boost/type_traits/detail/ice_not.hpp", + "external/sources/boost/boost/type_traits/detail/ice_or.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_cxx_03.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_cxx_11.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_msvc10_fix.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_ptr_helper.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_ptr_tester.hpp", + "external/sources/boost/boost/type_traits/detail/is_likely_lambda.hpp", + "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp", + "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp", + "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp", + "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp", + "external/sources/boost/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp", + "external/sources/boost/boost/type_traits/detail/mp_defer.hpp", + "external/sources/boost/boost/type_traits/detail/template_arity_spec.hpp", + "external/sources/boost/boost/type_traits/detail/yes_no_type.hpp", + "external/sources/boost/boost/type_traits/detected.hpp", + "external/sources/boost/boost/type_traits/detected_or.hpp", + "external/sources/boost/boost/type_traits/disjunction.hpp", + "external/sources/boost/boost/type_traits/enable_if.hpp", + "external/sources/boost/boost/type_traits/extent.hpp", + "external/sources/boost/boost/type_traits/floating_point_promotion.hpp", + "external/sources/boost/boost/type_traits/function_traits.hpp", + "external/sources/boost/boost/type_traits/has_bit_and.hpp", + "external/sources/boost/boost/type_traits/has_bit_and_assign.hpp", + "external/sources/boost/boost/type_traits/has_bit_or.hpp", + "external/sources/boost/boost/type_traits/has_bit_or_assign.hpp", + "external/sources/boost/boost/type_traits/has_bit_xor.hpp", + "external/sources/boost/boost/type_traits/has_bit_xor_assign.hpp", + "external/sources/boost/boost/type_traits/has_complement.hpp", + "external/sources/boost/boost/type_traits/has_dereference.hpp", + "external/sources/boost/boost/type_traits/has_divides.hpp", + "external/sources/boost/boost/type_traits/has_divides_assign.hpp", + "external/sources/boost/boost/type_traits/has_equal_to.hpp", + "external/sources/boost/boost/type_traits/has_greater.hpp", + "external/sources/boost/boost/type_traits/has_greater_equal.hpp", + "external/sources/boost/boost/type_traits/has_left_shift.hpp", + "external/sources/boost/boost/type_traits/has_left_shift_assign.hpp", + "external/sources/boost/boost/type_traits/has_less.hpp", + "external/sources/boost/boost/type_traits/has_less_equal.hpp", + "external/sources/boost/boost/type_traits/has_logical_and.hpp", + "external/sources/boost/boost/type_traits/has_logical_not.hpp", + "external/sources/boost/boost/type_traits/has_logical_or.hpp", + "external/sources/boost/boost/type_traits/has_minus.hpp", + "external/sources/boost/boost/type_traits/has_minus_assign.hpp", + "external/sources/boost/boost/type_traits/has_modulus.hpp", + "external/sources/boost/boost/type_traits/has_modulus_assign.hpp", + "external/sources/boost/boost/type_traits/has_multiplies.hpp", + "external/sources/boost/boost/type_traits/has_multiplies_assign.hpp", + "external/sources/boost/boost/type_traits/has_negate.hpp", + "external/sources/boost/boost/type_traits/has_new_operator.hpp", + "external/sources/boost/boost/type_traits/has_not_equal_to.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_assign.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_constructor.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_copy.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_destructor.hpp", + "external/sources/boost/boost/type_traits/has_operator.hpp", + "external/sources/boost/boost/type_traits/has_plus.hpp", + "external/sources/boost/boost/type_traits/has_plus_assign.hpp", + "external/sources/boost/boost/type_traits/has_post_decrement.hpp", + "external/sources/boost/boost/type_traits/has_post_increment.hpp", + "external/sources/boost/boost/type_traits/has_pre_decrement.hpp", + "external/sources/boost/boost/type_traits/has_pre_increment.hpp", + "external/sources/boost/boost/type_traits/has_right_shift.hpp", + "external/sources/boost/boost/type_traits/has_right_shift_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_constructor.hpp", + "external/sources/boost/boost/type_traits/has_trivial_copy.hpp", + "external/sources/boost/boost/type_traits/has_trivial_destructor.hpp", + "external/sources/boost/boost/type_traits/has_trivial_move_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_move_constructor.hpp", + "external/sources/boost/boost/type_traits/has_unary_minus.hpp", + "external/sources/boost/boost/type_traits/has_unary_plus.hpp", + "external/sources/boost/boost/type_traits/has_virtual_destructor.hpp", + "external/sources/boost/boost/type_traits/ice.hpp", + "external/sources/boost/boost/type_traits/integral_constant.hpp", + "external/sources/boost/boost/type_traits/integral_promotion.hpp", + "external/sources/boost/boost/type_traits/intrinsics.hpp", + "external/sources/boost/boost/type_traits/is_abstract.hpp", + "external/sources/boost/boost/type_traits/is_arithmetic.hpp", + "external/sources/boost/boost/type_traits/is_array.hpp", + "external/sources/boost/boost/type_traits/is_assignable.hpp", + "external/sources/boost/boost/type_traits/is_base_and_derived.hpp", + "external/sources/boost/boost/type_traits/is_base_of.hpp", + "external/sources/boost/boost/type_traits/is_base_of_tr1.hpp", + "external/sources/boost/boost/type_traits/is_bounded_array.hpp", + "external/sources/boost/boost/type_traits/is_class.hpp", + "external/sources/boost/boost/type_traits/is_complete.hpp", + "external/sources/boost/boost/type_traits/is_complex.hpp", + "external/sources/boost/boost/type_traits/is_compound.hpp", + "external/sources/boost/boost/type_traits/is_const.hpp", + "external/sources/boost/boost/type_traits/is_constructible.hpp", + "external/sources/boost/boost/type_traits/is_convertible.hpp", + "external/sources/boost/boost/type_traits/is_copy_assignable.hpp", + "external/sources/boost/boost/type_traits/is_copy_constructible.hpp", + "external/sources/boost/boost/type_traits/is_default_constructible.hpp", + "external/sources/boost/boost/type_traits/is_destructible.hpp", + "external/sources/boost/boost/type_traits/is_detected.hpp", + "external/sources/boost/boost/type_traits/is_detected_convertible.hpp", + "external/sources/boost/boost/type_traits/is_detected_exact.hpp", + "external/sources/boost/boost/type_traits/is_empty.hpp", + "external/sources/boost/boost/type_traits/is_enum.hpp", + "external/sources/boost/boost/type_traits/is_final.hpp", + "external/sources/boost/boost/type_traits/is_float.hpp", + "external/sources/boost/boost/type_traits/is_floating_point.hpp", + "external/sources/boost/boost/type_traits/is_function.hpp", + "external/sources/boost/boost/type_traits/is_fundamental.hpp", + "external/sources/boost/boost/type_traits/is_integral.hpp", + "external/sources/boost/boost/type_traits/is_list_constructible.hpp", + "external/sources/boost/boost/type_traits/is_lvalue_reference.hpp", + "external/sources/boost/boost/type_traits/is_member_function_pointer.hpp", + "external/sources/boost/boost/type_traits/is_member_object_pointer.hpp", + "external/sources/boost/boost/type_traits/is_member_pointer.hpp", + "external/sources/boost/boost/type_traits/is_noncopyable.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_move_assignable.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_move_constructible.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_swappable.hpp", + "external/sources/boost/boost/type_traits/is_object.hpp", + "external/sources/boost/boost/type_traits/is_pod.hpp", + "external/sources/boost/boost/type_traits/is_pointer.hpp", + "external/sources/boost/boost/type_traits/is_polymorphic.hpp", + "external/sources/boost/boost/type_traits/is_reference.hpp", + "external/sources/boost/boost/type_traits/is_rvalue_reference.hpp", + "external/sources/boost/boost/type_traits/is_same.hpp", + "external/sources/boost/boost/type_traits/is_scalar.hpp", + "external/sources/boost/boost/type_traits/is_scoped_enum.hpp", + "external/sources/boost/boost/type_traits/is_signed.hpp", + "external/sources/boost/boost/type_traits/is_stateless.hpp", + "external/sources/boost/boost/type_traits/is_trivially_copyable.hpp", + "external/sources/boost/boost/type_traits/is_unbounded_array.hpp", + "external/sources/boost/boost/type_traits/is_union.hpp", + "external/sources/boost/boost/type_traits/is_unscoped_enum.hpp", + "external/sources/boost/boost/type_traits/is_unsigned.hpp", + "external/sources/boost/boost/type_traits/is_virtual_base_of.hpp", + "external/sources/boost/boost/type_traits/is_void.hpp", + "external/sources/boost/boost/type_traits/is_volatile.hpp", + "external/sources/boost/boost/type_traits/make_signed.hpp", + "external/sources/boost/boost/type_traits/make_unsigned.hpp", + "external/sources/boost/boost/type_traits/make_void.hpp", + "external/sources/boost/boost/type_traits/negation.hpp", + "external/sources/boost/boost/type_traits/nonesuch.hpp", + "external/sources/boost/boost/type_traits/object_traits.hpp", + "external/sources/boost/boost/type_traits/promote.hpp", + "external/sources/boost/boost/type_traits/rank.hpp", + "external/sources/boost/boost/type_traits/reference_traits.hpp", + "external/sources/boost/boost/type_traits/remove_all_extents.hpp", + "external/sources/boost/boost/type_traits/remove_bounds.hpp", + "external/sources/boost/boost/type_traits/remove_const.hpp", + "external/sources/boost/boost/type_traits/remove_cv.hpp", + "external/sources/boost/boost/type_traits/remove_cv_ref.hpp", + "external/sources/boost/boost/type_traits/remove_extent.hpp", + "external/sources/boost/boost/type_traits/remove_pointer.hpp", + "external/sources/boost/boost/type_traits/remove_reference.hpp", + "external/sources/boost/boost/type_traits/remove_volatile.hpp", + "external/sources/boost/boost/type_traits/same_traits.hpp", + "external/sources/boost/boost/type_traits/transform_traits.hpp", + "external/sources/boost/boost/type_traits/type_identity.hpp", + "external/sources/boost/boost/type_traits/type_with_alignment.hpp", + "external/sources/boost/boost/typeof/constant.hpp", + "external/sources/boost/boost/typeof/decltype.hpp", + "external/sources/boost/boost/typeof/dmc/typeof_impl.hpp", + "external/sources/boost/boost/typeof/encode_decode.hpp", + "external/sources/boost/boost/typeof/encode_decode_params.hpp", + "external/sources/boost/boost/typeof/incr_registration_group.hpp", + "external/sources/boost/boost/typeof/int_encoding.hpp", + "external/sources/boost/boost/typeof/integral_template_param.hpp", + "external/sources/boost/boost/typeof/message.hpp", + "external/sources/boost/boost/typeof/modifiers.hpp", + "external/sources/boost/boost/typeof/msvc/typeof_impl.hpp", + "external/sources/boost/boost/typeof/native.hpp", + "external/sources/boost/boost/typeof/pointers_data_members.hpp", + "external/sources/boost/boost/typeof/register_functions.hpp", + "external/sources/boost/boost/typeof/register_functions_iterate.hpp", + "external/sources/boost/boost/typeof/register_fundamental.hpp", + "external/sources/boost/boost/typeof/register_mem_functions.hpp", + "external/sources/boost/boost/typeof/std/bitset.hpp", + "external/sources/boost/boost/typeof/std/complex.hpp", + "external/sources/boost/boost/typeof/std/deque.hpp", + "external/sources/boost/boost/typeof/std/fstream.hpp", + "external/sources/boost/boost/typeof/std/functional.hpp", + "external/sources/boost/boost/typeof/std/iostream.hpp", + "external/sources/boost/boost/typeof/std/istream.hpp", + "external/sources/boost/boost/typeof/std/iterator.hpp", + "external/sources/boost/boost/typeof/std/list.hpp", + "external/sources/boost/boost/typeof/std/locale.hpp", + "external/sources/boost/boost/typeof/std/map.hpp", + "external/sources/boost/boost/typeof/std/memory.hpp", + "external/sources/boost/boost/typeof/std/ostream.hpp", + "external/sources/boost/boost/typeof/std/queue.hpp", + "external/sources/boost/boost/typeof/std/set.hpp", + "external/sources/boost/boost/typeof/std/sstream.hpp", + "external/sources/boost/boost/typeof/std/stack.hpp", + "external/sources/boost/boost/typeof/std/streambuf.hpp", + "external/sources/boost/boost/typeof/std/string.hpp", + "external/sources/boost/boost/typeof/std/utility.hpp", + "external/sources/boost/boost/typeof/std/valarray.hpp", + "external/sources/boost/boost/typeof/std/vector.hpp", + "external/sources/boost/boost/typeof/template_encoding.hpp", + "external/sources/boost/boost/typeof/template_template_param.hpp", + "external/sources/boost/boost/typeof/type_encoding.hpp", + "external/sources/boost/boost/typeof/type_template_param.hpp", + "external/sources/boost/boost/typeof/typeof.hpp", + "external/sources/boost/boost/typeof/typeof_impl.hpp", + "external/sources/boost/boost/typeof/unsupported.hpp", + "external/sources/boost/boost/typeof/vector.hpp", + "external/sources/boost/boost/typeof/vector100.hpp", + "external/sources/boost/boost/typeof/vector150.hpp", + "external/sources/boost/boost/typeof/vector200.hpp", + "external/sources/boost/boost/typeof/vector50.hpp", + "external/sources/boost/boost/units/absolute.hpp", + "external/sources/boost/boost/units/base_dimension.hpp", + "external/sources/boost/boost/units/base_unit.hpp", + "external/sources/boost/boost/units/base_units/angle/arcminute.hpp", + "external/sources/boost/boost/units/base_units/angle/arcsecond.hpp", + "external/sources/boost/boost/units/base_units/angle/degree.hpp", + "external/sources/boost/boost/units/base_units/angle/gradian.hpp", + "external/sources/boost/boost/units/base_units/angle/radian.hpp", + "external/sources/boost/boost/units/base_units/angle/revolution.hpp", + "external/sources/boost/boost/units/base_units/angle/steradian.hpp", + "external/sources/boost/boost/units/base_units/astronomical/astronomical_unit.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_day.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_hour.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_minute.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_second.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_year.hpp", + "external/sources/boost/boost/units/base_units/astronomical/parsec.hpp", + "external/sources/boost/boost/units/base_units/cgs/biot.hpp", + "external/sources/boost/boost/units/base_units/cgs/centimeter.hpp", + "external/sources/boost/boost/units/base_units/cgs/gram.hpp", + "external/sources/boost/boost/units/base_units/imperial/conversions.hpp", + "external/sources/boost/boost/units/base_units/imperial/drachm.hpp", + "external/sources/boost/boost/units/base_units/imperial/fluid_ounce.hpp", + "external/sources/boost/boost/units/base_units/imperial/foot.hpp", + "external/sources/boost/boost/units/base_units/imperial/furlong.hpp", + "external/sources/boost/boost/units/base_units/imperial/gallon.hpp", + "external/sources/boost/boost/units/base_units/imperial/gill.hpp", + "external/sources/boost/boost/units/base_units/imperial/grain.hpp", + "external/sources/boost/boost/units/base_units/imperial/hundredweight.hpp", + "external/sources/boost/boost/units/base_units/imperial/inch.hpp", + "external/sources/boost/boost/units/base_units/imperial/league.hpp", + "external/sources/boost/boost/units/base_units/imperial/mile.hpp", + "external/sources/boost/boost/units/base_units/imperial/ounce.hpp", + "external/sources/boost/boost/units/base_units/imperial/pint.hpp", + "external/sources/boost/boost/units/base_units/imperial/pound.hpp", + "external/sources/boost/boost/units/base_units/imperial/quart.hpp", + "external/sources/boost/boost/units/base_units/imperial/quarter.hpp", + "external/sources/boost/boost/units/base_units/imperial/stone.hpp", + "external/sources/boost/boost/units/base_units/imperial/thou.hpp", + "external/sources/boost/boost/units/base_units/imperial/ton.hpp", + "external/sources/boost/boost/units/base_units/imperial/yard.hpp", + "external/sources/boost/boost/units/base_units/information/bit.hpp", + "external/sources/boost/boost/units/base_units/information/byte.hpp", + "external/sources/boost/boost/units/base_units/information/hartley.hpp", + "external/sources/boost/boost/units/base_units/information/nat.hpp", + "external/sources/boost/boost/units/base_units/information/shannon.hpp", + "external/sources/boost/boost/units/base_units/metric/angstrom.hpp", + "external/sources/boost/boost/units/base_units/metric/are.hpp", + "external/sources/boost/boost/units/base_units/metric/atmosphere.hpp", + "external/sources/boost/boost/units/base_units/metric/bar.hpp", + "external/sources/boost/boost/units/base_units/metric/barn.hpp", + "external/sources/boost/boost/units/base_units/metric/day.hpp", + "external/sources/boost/boost/units/base_units/metric/fermi.hpp", + "external/sources/boost/boost/units/base_units/metric/hectare.hpp", + "external/sources/boost/boost/units/base_units/metric/hour.hpp", + "external/sources/boost/boost/units/base_units/metric/knot.hpp", + "external/sources/boost/boost/units/base_units/metric/liter.hpp", + "external/sources/boost/boost/units/base_units/metric/micron.hpp", + "external/sources/boost/boost/units/base_units/metric/minute.hpp", + "external/sources/boost/boost/units/base_units/metric/mmHg.hpp", + "external/sources/boost/boost/units/base_units/metric/nautical_mile.hpp", + "external/sources/boost/boost/units/base_units/metric/ton.hpp", + "external/sources/boost/boost/units/base_units/metric/torr.hpp", + "external/sources/boost/boost/units/base_units/metric/year.hpp", + "external/sources/boost/boost/units/base_units/si/ampere.hpp", + "external/sources/boost/boost/units/base_units/si/candela.hpp", + "external/sources/boost/boost/units/base_units/si/kelvin.hpp", + "external/sources/boost/boost/units/base_units/si/kilogram.hpp", + "external/sources/boost/boost/units/base_units/si/meter.hpp", + "external/sources/boost/boost/units/base_units/si/mole.hpp", + "external/sources/boost/boost/units/base_units/si/second.hpp", + "external/sources/boost/boost/units/base_units/temperature/celsius.hpp", + "external/sources/boost/boost/units/base_units/temperature/conversions.hpp", + "external/sources/boost/boost/units/base_units/temperature/fahrenheit.hpp", + "external/sources/boost/boost/units/base_units/us/cup.hpp", + "external/sources/boost/boost/units/base_units/us/dram.hpp", + "external/sources/boost/boost/units/base_units/us/fluid_dram.hpp", + "external/sources/boost/boost/units/base_units/us/fluid_ounce.hpp", + "external/sources/boost/boost/units/base_units/us/foot.hpp", + "external/sources/boost/boost/units/base_units/us/gallon.hpp", + "external/sources/boost/boost/units/base_units/us/gill.hpp", + "external/sources/boost/boost/units/base_units/us/grain.hpp", + "external/sources/boost/boost/units/base_units/us/hundredweight.hpp", + "external/sources/boost/boost/units/base_units/us/inch.hpp", + "external/sources/boost/boost/units/base_units/us/mil.hpp", + "external/sources/boost/boost/units/base_units/us/mile.hpp", + "external/sources/boost/boost/units/base_units/us/minim.hpp", + "external/sources/boost/boost/units/base_units/us/ounce.hpp", + "external/sources/boost/boost/units/base_units/us/pint.hpp", + "external/sources/boost/boost/units/base_units/us/pound.hpp", + "external/sources/boost/boost/units/base_units/us/pound_force.hpp", + "external/sources/boost/boost/units/base_units/us/quart.hpp", + "external/sources/boost/boost/units/base_units/us/tablespoon.hpp", + "external/sources/boost/boost/units/base_units/us/teaspoon.hpp", + "external/sources/boost/boost/units/base_units/us/ton.hpp", + "external/sources/boost/boost/units/base_units/us/yard.hpp", + "external/sources/boost/boost/units/cmath.hpp", + "external/sources/boost/boost/units/config.hpp", + "external/sources/boost/boost/units/conversion.hpp", + "external/sources/boost/boost/units/derived_dimension.hpp", + "external/sources/boost/boost/units/detail/absolute_impl.hpp", + "external/sources/boost/boost/units/detail/cmath_impl.hpp", + "external/sources/boost/boost/units/detail/conversion_impl.hpp", + "external/sources/boost/boost/units/detail/dim_impl.hpp", + "external/sources/boost/boost/units/detail/dimension_impl.hpp", + "external/sources/boost/boost/units/detail/dimension_list.hpp", + "external/sources/boost/boost/units/detail/dimensionless_unit.hpp", + "external/sources/boost/boost/units/detail/heterogeneous_conversion.hpp", + "external/sources/boost/boost/units/detail/linear_algebra.hpp", + "external/sources/boost/boost/units/detail/one.hpp", + "external/sources/boost/boost/units/detail/ordinal.hpp", + "external/sources/boost/boost/units/detail/prevent_redefinition.hpp", + "external/sources/boost/boost/units/detail/push_front_if.hpp", + "external/sources/boost/boost/units/detail/push_front_or_add.hpp", + "external/sources/boost/boost/units/detail/sort.hpp", + "external/sources/boost/boost/units/detail/static_rational_power.hpp", + "external/sources/boost/boost/units/detail/unscale.hpp", + "external/sources/boost/boost/units/detail/utility.hpp", + "external/sources/boost/boost/units/dim.hpp", + "external/sources/boost/boost/units/dimension.hpp", + "external/sources/boost/boost/units/dimensionless_quantity.hpp", + "external/sources/boost/boost/units/dimensionless_type.hpp", + "external/sources/boost/boost/units/dimensionless_unit.hpp", + "external/sources/boost/boost/units/get_dimension.hpp", + "external/sources/boost/boost/units/get_system.hpp", + "external/sources/boost/boost/units/heterogeneous_system.hpp", + "external/sources/boost/boost/units/homogeneous_system.hpp", + "external/sources/boost/boost/units/io.hpp", + "external/sources/boost/boost/units/is_dim.hpp", + "external/sources/boost/boost/units/is_dimension_list.hpp", + "external/sources/boost/boost/units/is_dimensionless.hpp", + "external/sources/boost/boost/units/is_dimensionless_quantity.hpp", + "external/sources/boost/boost/units/is_dimensionless_unit.hpp", + "external/sources/boost/boost/units/is_quantity.hpp", + "external/sources/boost/boost/units/is_quantity_of_dimension.hpp", + "external/sources/boost/boost/units/is_quantity_of_system.hpp", + "external/sources/boost/boost/units/is_unit.hpp", + "external/sources/boost/boost/units/is_unit_of_dimension.hpp", + "external/sources/boost/boost/units/is_unit_of_system.hpp", + "external/sources/boost/boost/units/lambda.hpp", + "external/sources/boost/boost/units/limits.hpp", + "external/sources/boost/boost/units/make_scaled_unit.hpp", + "external/sources/boost/boost/units/make_system.hpp", + "external/sources/boost/boost/units/operators.hpp", + "external/sources/boost/boost/units/physical_dimensions.hpp", + "external/sources/boost/boost/units/physical_dimensions/absorbed_dose.hpp", + "external/sources/boost/boost/units/physical_dimensions/acceleration.hpp", + "external/sources/boost/boost/units/physical_dimensions/action.hpp", + "external/sources/boost/boost/units/physical_dimensions/activity.hpp", + "external/sources/boost/boost/units/physical_dimensions/amount.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_acceleration.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_momentum.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_velocity.hpp", + "external/sources/boost/boost/units/physical_dimensions/area.hpp", + "external/sources/boost/boost/units/physical_dimensions/capacitance.hpp", + "external/sources/boost/boost/units/physical_dimensions/conductance.hpp", + "external/sources/boost/boost/units/physical_dimensions/conductivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/current.hpp", + "external/sources/boost/boost/units/physical_dimensions/dose_equivalent.hpp", + "external/sources/boost/boost/units/physical_dimensions/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/physical_dimensions/electric_charge.hpp", + "external/sources/boost/boost/units/physical_dimensions/electric_potential.hpp", + "external/sources/boost/boost/units/physical_dimensions/energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/energy_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/force.hpp", + "external/sources/boost/boost/units/physical_dimensions/frequency.hpp", + "external/sources/boost/boost/units/physical_dimensions/heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/illuminance.hpp", + "external/sources/boost/boost/units/physical_dimensions/impedance.hpp", + "external/sources/boost/boost/units/physical_dimensions/inductance.hpp", + "external/sources/boost/boost/units/physical_dimensions/information.hpp", + "external/sources/boost/boost/units/physical_dimensions/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/physical_dimensions/length.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminance.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminous_flux.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminous_intensity.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_field_intensity.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_flux.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_flux_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/mass.hpp", + "external/sources/boost/boost/units/physical_dimensions/mass_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/molar_energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/molar_heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/moment_of_inertia.hpp", + "external/sources/boost/boost/units/physical_dimensions/momentum.hpp", + "external/sources/boost/boost/units/physical_dimensions/permeability.hpp", + "external/sources/boost/boost/units/physical_dimensions/permittivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/plane_angle.hpp", + "external/sources/boost/boost/units/physical_dimensions/power.hpp", + "external/sources/boost/boost/units/physical_dimensions/pressure.hpp", + "external/sources/boost/boost/units/physical_dimensions/reluctance.hpp", + "external/sources/boost/boost/units/physical_dimensions/resistance.hpp", + "external/sources/boost/boost/units/physical_dimensions/resistivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/solid_angle.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_volume.hpp", + "external/sources/boost/boost/units/physical_dimensions/stress.hpp", + "external/sources/boost/boost/units/physical_dimensions/surface_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/surface_tension.hpp", + "external/sources/boost/boost/units/physical_dimensions/temperature.hpp", + "external/sources/boost/boost/units/physical_dimensions/thermal_conductivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/time.hpp", + "external/sources/boost/boost/units/physical_dimensions/torque.hpp", + "external/sources/boost/boost/units/physical_dimensions/velocity.hpp", + "external/sources/boost/boost/units/physical_dimensions/volume.hpp", + "external/sources/boost/boost/units/physical_dimensions/wavenumber.hpp", + "external/sources/boost/boost/units/pow.hpp", + "external/sources/boost/boost/units/quantity.hpp", + "external/sources/boost/boost/units/reduce_unit.hpp", + "external/sources/boost/boost/units/scale.hpp", + "external/sources/boost/boost/units/scaled_base_unit.hpp", + "external/sources/boost/boost/units/static_constant.hpp", + "external/sources/boost/boost/units/static_rational.hpp", + "external/sources/boost/boost/units/systems/abstract.hpp", + "external/sources/boost/boost/units/systems/angle/degrees.hpp", + "external/sources/boost/boost/units/systems/angle/gradians.hpp", + "external/sources/boost/boost/units/systems/angle/revolutions.hpp", + "external/sources/boost/boost/units/systems/cgs.hpp", + "external/sources/boost/boost/units/systems/cgs/acceleration.hpp", + "external/sources/boost/boost/units/systems/cgs/area.hpp", + "external/sources/boost/boost/units/systems/cgs/base.hpp", + "external/sources/boost/boost/units/systems/cgs/current.hpp", + "external/sources/boost/boost/units/systems/cgs/dimensionless.hpp", + "external/sources/boost/boost/units/systems/cgs/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/systems/cgs/energy.hpp", + "external/sources/boost/boost/units/systems/cgs/force.hpp", + "external/sources/boost/boost/units/systems/cgs/frequency.hpp", + "external/sources/boost/boost/units/systems/cgs/io.hpp", + "external/sources/boost/boost/units/systems/cgs/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/systems/cgs/length.hpp", + "external/sources/boost/boost/units/systems/cgs/mass.hpp", + "external/sources/boost/boost/units/systems/cgs/mass_density.hpp", + "external/sources/boost/boost/units/systems/cgs/momentum.hpp", + "external/sources/boost/boost/units/systems/cgs/power.hpp", + "external/sources/boost/boost/units/systems/cgs/pressure.hpp", + "external/sources/boost/boost/units/systems/cgs/time.hpp", + "external/sources/boost/boost/units/systems/cgs/velocity.hpp", + "external/sources/boost/boost/units/systems/cgs/volume.hpp", + "external/sources/boost/boost/units/systems/cgs/wavenumber.hpp", + "external/sources/boost/boost/units/systems/detail/constants.hpp", + "external/sources/boost/boost/units/systems/information.hpp", + "external/sources/boost/boost/units/systems/information/bit.hpp", + "external/sources/boost/boost/units/systems/information/byte.hpp", + "external/sources/boost/boost/units/systems/information/hartley.hpp", + "external/sources/boost/boost/units/systems/information/nat.hpp", + "external/sources/boost/boost/units/systems/information/prefixes.hpp", + "external/sources/boost/boost/units/systems/information/shannon.hpp", + "external/sources/boost/boost/units/systems/si.hpp", + "external/sources/boost/boost/units/systems/si/absorbed_dose.hpp", + "external/sources/boost/boost/units/systems/si/acceleration.hpp", + "external/sources/boost/boost/units/systems/si/action.hpp", + "external/sources/boost/boost/units/systems/si/activity.hpp", + "external/sources/boost/boost/units/systems/si/amount.hpp", + "external/sources/boost/boost/units/systems/si/angular_acceleration.hpp", + "external/sources/boost/boost/units/systems/si/angular_momentum.hpp", + "external/sources/boost/boost/units/systems/si/angular_velocity.hpp", + "external/sources/boost/boost/units/systems/si/area.hpp", + "external/sources/boost/boost/units/systems/si/base.hpp", + "external/sources/boost/boost/units/systems/si/capacitance.hpp", + "external/sources/boost/boost/units/systems/si/catalytic_activity.hpp", + "external/sources/boost/boost/units/systems/si/codata/alpha_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/atomic-nuclear_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/deuteron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/electromagnetic_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/electron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/helion_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/muon_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/neutron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/physico-chemical_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/proton_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/tau_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/triton_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/typedefs.hpp", + "external/sources/boost/boost/units/systems/si/codata/universal_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata_constants.hpp", + "external/sources/boost/boost/units/systems/si/conductance.hpp", + "external/sources/boost/boost/units/systems/si/conductivity.hpp", + "external/sources/boost/boost/units/systems/si/current.hpp", + "external/sources/boost/boost/units/systems/si/dimensionless.hpp", + "external/sources/boost/boost/units/systems/si/dose_equivalent.hpp", + "external/sources/boost/boost/units/systems/si/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/systems/si/electric_charge.hpp", + "external/sources/boost/boost/units/systems/si/electric_potential.hpp", + "external/sources/boost/boost/units/systems/si/energy.hpp", + "external/sources/boost/boost/units/systems/si/force.hpp", + "external/sources/boost/boost/units/systems/si/frequency.hpp", + "external/sources/boost/boost/units/systems/si/illuminance.hpp", + "external/sources/boost/boost/units/systems/si/impedance.hpp", + "external/sources/boost/boost/units/systems/si/inductance.hpp", + "external/sources/boost/boost/units/systems/si/io.hpp", + "external/sources/boost/boost/units/systems/si/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/systems/si/length.hpp", + "external/sources/boost/boost/units/systems/si/luminous_flux.hpp", + "external/sources/boost/boost/units/systems/si/luminous_intensity.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_field_intensity.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_flux.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_flux_density.hpp", + "external/sources/boost/boost/units/systems/si/mass.hpp", + "external/sources/boost/boost/units/systems/si/mass_density.hpp", + "external/sources/boost/boost/units/systems/si/moment_of_inertia.hpp", + "external/sources/boost/boost/units/systems/si/momentum.hpp", + "external/sources/boost/boost/units/systems/si/permeability.hpp", + "external/sources/boost/boost/units/systems/si/permittivity.hpp", + "external/sources/boost/boost/units/systems/si/plane_angle.hpp", + "external/sources/boost/boost/units/systems/si/power.hpp", + "external/sources/boost/boost/units/systems/si/prefixes.hpp", + "external/sources/boost/boost/units/systems/si/pressure.hpp", + "external/sources/boost/boost/units/systems/si/reluctance.hpp", + "external/sources/boost/boost/units/systems/si/resistance.hpp", + "external/sources/boost/boost/units/systems/si/resistivity.hpp", + "external/sources/boost/boost/units/systems/si/solid_angle.hpp", + "external/sources/boost/boost/units/systems/si/surface_density.hpp", + "external/sources/boost/boost/units/systems/si/surface_tension.hpp", + "external/sources/boost/boost/units/systems/si/temperature.hpp", + "external/sources/boost/boost/units/systems/si/time.hpp", + "external/sources/boost/boost/units/systems/si/torque.hpp", + "external/sources/boost/boost/units/systems/si/velocity.hpp", + "external/sources/boost/boost/units/systems/si/volume.hpp", + "external/sources/boost/boost/units/systems/si/wavenumber.hpp", + "external/sources/boost/boost/units/systems/temperature/celsius.hpp", + "external/sources/boost/boost/units/systems/temperature/fahrenheit.hpp", + "external/sources/boost/boost/units/unit.hpp", + "external/sources/boost/boost/units/units_fwd.hpp", + "external/sources/boost/boost/unordered/detail/fwd.hpp", + "external/sources/boost/boost/unordered/detail/implementation.hpp", + "external/sources/boost/boost/unordered/detail/map.hpp", + "external/sources/boost/boost/unordered/detail/set.hpp", + "external/sources/boost/boost/unordered/unordered_map.hpp", + "external/sources/boost/boost/unordered/unordered_map_fwd.hpp", + "external/sources/boost/boost/unordered/unordered_set.hpp", + "external/sources/boost/boost/unordered/unordered_set_fwd.hpp", + "external/sources/boost/boost/unordered_map.hpp", + "external/sources/boost/boost/unordered_set.hpp", + "external/sources/boost/boost/utility.hpp", + "external/sources/boost/boost/utility/addressof.hpp", + "external/sources/boost/boost/utility/base_from_member.hpp", + "external/sources/boost/boost/utility/binary.hpp", + "external/sources/boost/boost/utility/compare_pointees.hpp", + "external/sources/boost/boost/utility/declval.hpp", + "external/sources/boost/boost/utility/detail/in_place_factory_prefix.hpp", + "external/sources/boost/boost/utility/detail/in_place_factory_suffix.hpp", + "external/sources/boost/boost/utility/detail/minstd_rand.hpp", + "external/sources/boost/boost/utility/detail/result_of_iterate.hpp", + "external/sources/boost/boost/utility/enable_if.hpp", + "external/sources/boost/boost/utility/explicit_operator_bool.hpp", + "external/sources/boost/boost/utility/identity_type.hpp", + "external/sources/boost/boost/utility/in_place_factory.hpp", + "external/sources/boost/boost/utility/result_of.hpp", + "external/sources/boost/boost/utility/string_ref.hpp", + "external/sources/boost/boost/utility/string_ref_fwd.hpp", + "external/sources/boost/boost/utility/string_view.hpp", + "external/sources/boost/boost/utility/string_view_fwd.hpp", + "external/sources/boost/boost/utility/swap.hpp", + "external/sources/boost/boost/utility/typed_in_place_factory.hpp", + "external/sources/boost/boost/utility/value_init.hpp", + "external/sources/boost/boost/uuid/basic_name_generator.hpp", + "external/sources/boost/boost/uuid/detail/config.hpp", + "external/sources/boost/boost/uuid/detail/md5.hpp", + "external/sources/boost/boost/uuid/detail/random_provider.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_arc4random.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_bcrypt.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_detect_platform.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_getentropy.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_getrandom.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_include_platform.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_posix.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_wincrypt.ipp", + "external/sources/boost/boost/uuid/detail/sha1.hpp", + "external/sources/boost/boost/uuid/detail/uuid_generic.ipp", + "external/sources/boost/boost/uuid/detail/uuid_x86.ipp", + "external/sources/boost/boost/uuid/entropy_error.hpp", + "external/sources/boost/boost/uuid/name_generator.hpp", + "external/sources/boost/boost/uuid/name_generator_md5.hpp", + "external/sources/boost/boost/uuid/name_generator_sha1.hpp", + "external/sources/boost/boost/uuid/nil_generator.hpp", + "external/sources/boost/boost/uuid/random_generator.hpp", + "external/sources/boost/boost/uuid/string_generator.hpp", + "external/sources/boost/boost/uuid/uuid.hpp", + "external/sources/boost/boost/uuid/uuid_generators.hpp", + "external/sources/boost/boost/uuid/uuid_hash.hpp", + "external/sources/boost/boost/uuid/uuid_io.hpp", + "external/sources/boost/boost/uuid/uuid_serialize.hpp", + "external/sources/boost/boost/variant.hpp", + "external/sources/boost/boost/variant/apply_visitor.hpp", + "external/sources/boost/boost/variant/bad_visit.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_binary.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_delayed.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_unary.hpp", + "external/sources/boost/boost/variant/detail/backup_holder.hpp", + "external/sources/boost/boost/variant/detail/cast_storage.hpp", + "external/sources/boost/boost/variant/detail/config.hpp", + "external/sources/boost/boost/variant/detail/element_index.hpp", + "external/sources/boost/boost/variant/detail/enable_recursive.hpp", + "external/sources/boost/boost/variant/detail/enable_recursive_fwd.hpp", + "external/sources/boost/boost/variant/detail/forced_return.hpp", + "external/sources/boost/boost/variant/detail/has_result_type.hpp", + "external/sources/boost/boost/variant/detail/hash_variant.hpp", + "external/sources/boost/boost/variant/detail/initializer.hpp", + "external/sources/boost/boost/variant/detail/make_variant_list.hpp", + "external/sources/boost/boost/variant/detail/move.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_cpp11_based.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_cpp14_based.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_preprocessor_based.hpp", + "external/sources/boost/boost/variant/detail/over_sequence.hpp", + "external/sources/boost/boost/variant/detail/std_hash.hpp", + "external/sources/boost/boost/variant/detail/substitute.hpp", + "external/sources/boost/boost/variant/detail/substitute_fwd.hpp", + "external/sources/boost/boost/variant/detail/variant_io.hpp", + "external/sources/boost/boost/variant/detail/visitation_impl.hpp", + "external/sources/boost/boost/variant/get.hpp", + "external/sources/boost/boost/variant/multivisitors.hpp", + "external/sources/boost/boost/variant/polymorphic_get.hpp", + "external/sources/boost/boost/variant/recursive_variant.hpp", + "external/sources/boost/boost/variant/recursive_wrapper.hpp", + "external/sources/boost/boost/variant/recursive_wrapper_fwd.hpp", + "external/sources/boost/boost/variant/static_visitor.hpp", + "external/sources/boost/boost/variant/variant.hpp", + "external/sources/boost/boost/variant/variant_fwd.hpp", + "external/sources/boost/boost/variant/visitor_ptr.hpp", + "external/sources/boost/boost/variant2/variant.hpp", + "external/sources/boost/boost/version.hpp", + "external/sources/boost/boost/visit_each.hpp", + "external/sources/boost/boost/vmd/array.hpp", + "external/sources/boost/boost/vmd/array/to_seq.hpp", + "external/sources/boost/boost/vmd/array/to_tuple.hpp", + "external/sources/boost/boost/vmd/assert.hpp", + "external/sources/boost/boost/vmd/assert_is_array.hpp", + "external/sources/boost/boost/vmd/assert_is_empty.hpp", + "external/sources/boost/boost/vmd/assert_is_identifier.hpp", + "external/sources/boost/boost/vmd/assert_is_list.hpp", + "external/sources/boost/boost/vmd/assert_is_number.hpp", + "external/sources/boost/boost/vmd/assert_is_seq.hpp", + "external/sources/boost/boost/vmd/assert_is_tuple.hpp", + "external/sources/boost/boost/vmd/assert_is_type.hpp", + "external/sources/boost/boost/vmd/detail/adjust_tuple_type.hpp", + "external/sources/boost/boost/vmd/detail/array.hpp", + "external/sources/boost/boost/vmd/detail/assert.hpp", + "external/sources/boost/boost/vmd/detail/data_equal.hpp", + "external/sources/boost/boost/vmd/detail/data_equal_common.hpp", + "external/sources/boost/boost/vmd/detail/empty_result.hpp", + "external/sources/boost/boost/vmd/detail/equal.hpp", + "external/sources/boost/boost/vmd/detail/equal_common.hpp", + "external/sources/boost/boost/vmd/detail/equal_type.hpp", + "external/sources/boost/boost/vmd/detail/identifier.hpp", + "external/sources/boost/boost/vmd/detail/identifier_concat.hpp", + "external/sources/boost/boost/vmd/detail/identifier_type.hpp", + "external/sources/boost/boost/vmd/detail/idprefix.hpp", + "external/sources/boost/boost/vmd/detail/is_array.hpp", + "external/sources/boost/boost/vmd/detail/is_array_common.hpp", + "external/sources/boost/boost/vmd/detail/is_empty.hpp", + "external/sources/boost/boost/vmd/detail/is_empty_array.hpp", + "external/sources/boost/boost/vmd/detail/is_empty_tuple.hpp", + "external/sources/boost/boost/vmd/detail/is_entire.hpp", + "external/sources/boost/boost/vmd/detail/is_identifier.hpp", + "external/sources/boost/boost/vmd/detail/is_list.hpp", + "external/sources/boost/boost/vmd/detail/is_number.hpp", + "external/sources/boost/boost/vmd/detail/is_seq.hpp", + "external/sources/boost/boost/vmd/detail/is_tuple.hpp", + "external/sources/boost/boost/vmd/detail/is_type.hpp", + "external/sources/boost/boost/vmd/detail/is_type_type.hpp", + "external/sources/boost/boost/vmd/detail/list.hpp", + "external/sources/boost/boost/vmd/detail/match_identifier.hpp", + "external/sources/boost/boost/vmd/detail/match_identifier_common.hpp", + "external/sources/boost/boost/vmd/detail/match_single_identifier.hpp", + "external/sources/boost/boost/vmd/detail/modifiers.hpp", + "external/sources/boost/boost/vmd/detail/mods.hpp", + "external/sources/boost/boost/vmd/detail/nil_registration.hpp", + "external/sources/boost/boost/vmd/detail/not_empty.hpp", + "external/sources/boost/boost/vmd/detail/number_registration.hpp", + "external/sources/boost/boost/vmd/detail/only_after.hpp", + "external/sources/boost/boost/vmd/detail/parens.hpp", + "external/sources/boost/boost/vmd/detail/parens_common.hpp", + "external/sources/boost/boost/vmd/detail/parens_split.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_1.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_10.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_11.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_12.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_13.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_14.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_15.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_16.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_2.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_3.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_4.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_5.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_6.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_7.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_8.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_9.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_headers.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_specific.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_1.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_10.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_11.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_12.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_13.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_14.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_15.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_16.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_2.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_3.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_4.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_5.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_6.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_7.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_8.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_9.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_headers.hpp", + "external/sources/boost/boost/vmd/detail/seq.hpp", + "external/sources/boost/boost/vmd/detail/sequence_arity.hpp", + "external/sources/boost/boost/vmd/detail/sequence_common.hpp", + "external/sources/boost/boost/vmd/detail/sequence_elem.hpp", + "external/sources/boost/boost/vmd/detail/sequence_enum.hpp", + "external/sources/boost/boost/vmd/detail/sequence_size.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_array.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_list.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_seq.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_tuple.hpp", + "external/sources/boost/boost/vmd/detail/sequence_type.hpp", + "external/sources/boost/boost/vmd/detail/setup.hpp", + "external/sources/boost/boost/vmd/detail/tuple.hpp", + "external/sources/boost/boost/vmd/detail/type_registration.hpp", + "external/sources/boost/boost/vmd/detail/variadic_pop_front.hpp", + "external/sources/boost/boost/vmd/elem.hpp", + "external/sources/boost/boost/vmd/empty.hpp", + "external/sources/boost/boost/vmd/enum.hpp", + "external/sources/boost/boost/vmd/equal.hpp", + "external/sources/boost/boost/vmd/get_type.hpp", + "external/sources/boost/boost/vmd/identity.hpp", + "external/sources/boost/boost/vmd/is_array.hpp", + "external/sources/boost/boost/vmd/is_empty.hpp", + "external/sources/boost/boost/vmd/is_empty_array.hpp", + "external/sources/boost/boost/vmd/is_empty_list.hpp", + "external/sources/boost/boost/vmd/is_identifier.hpp", + "external/sources/boost/boost/vmd/is_list.hpp", + "external/sources/boost/boost/vmd/is_multi.hpp", + "external/sources/boost/boost/vmd/is_number.hpp", + "external/sources/boost/boost/vmd/is_parens_empty.hpp", + "external/sources/boost/boost/vmd/is_seq.hpp", + "external/sources/boost/boost/vmd/is_tuple.hpp", + "external/sources/boost/boost/vmd/is_type.hpp", + "external/sources/boost/boost/vmd/is_unary.hpp", + "external/sources/boost/boost/vmd/list.hpp", + "external/sources/boost/boost/vmd/list/to_seq.hpp", + "external/sources/boost/boost/vmd/list/to_tuple.hpp", + "external/sources/boost/boost/vmd/not_equal.hpp", + "external/sources/boost/boost/vmd/seq.hpp", + "external/sources/boost/boost/vmd/seq/is_vmd_seq.hpp", + "external/sources/boost/boost/vmd/seq/pop_back.hpp", + "external/sources/boost/boost/vmd/seq/pop_front.hpp", + "external/sources/boost/boost/vmd/seq/push_back.hpp", + "external/sources/boost/boost/vmd/seq/push_front.hpp", + "external/sources/boost/boost/vmd/seq/remove.hpp", + "external/sources/boost/boost/vmd/seq/size.hpp", + "external/sources/boost/boost/vmd/seq/to_array.hpp", + "external/sources/boost/boost/vmd/seq/to_list.hpp", + "external/sources/boost/boost/vmd/seq/to_tuple.hpp", + "external/sources/boost/boost/vmd/size.hpp", + "external/sources/boost/boost/vmd/to_array.hpp", + "external/sources/boost/boost/vmd/to_list.hpp", + "external/sources/boost/boost/vmd/to_seq.hpp", + "external/sources/boost/boost/vmd/to_tuple.hpp", + "external/sources/boost/boost/vmd/tuple.hpp", + "external/sources/boost/boost/vmd/tuple/is_vmd_tuple.hpp", + "external/sources/boost/boost/vmd/tuple/pop_back.hpp", + "external/sources/boost/boost/vmd/tuple/pop_front.hpp", + "external/sources/boost/boost/vmd/tuple/push_back.hpp", + "external/sources/boost/boost/vmd/tuple/push_front.hpp", + "external/sources/boost/boost/vmd/tuple/remove.hpp", + "external/sources/boost/boost/vmd/tuple/size.hpp", + "external/sources/boost/boost/vmd/tuple/to_array.hpp", + "external/sources/boost/boost/vmd/tuple/to_list.hpp", + "external/sources/boost/boost/vmd/tuple/to_seq.hpp", + "external/sources/boost/boost/vmd/vmd.hpp", + "external/sources/boost/boost/wave.hpp", + "external/sources/boost/boost/wave/cpp_context.hpp", + "external/sources/boost/boost/wave/cpp_exceptions.hpp", + "external/sources/boost/boost/wave/cpp_iteration_context.hpp", + "external/sources/boost/boost/wave/cpp_throw.hpp", + "external/sources/boost/boost/wave/cpplexer/convert_trigraphs.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface_generator.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_iterator.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_token.hpp", + "external/sources/boost/boost/wave/cpplexer/cpplexer_exceptions.hpp", + "external/sources/boost/boost/wave/cpplexer/detect_include_guards.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/aq.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp.re", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.inc", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/scanner.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp.re", + "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp_re.inc", + "external/sources/boost/boost/wave/cpplexer/token_cache.hpp", + "external/sources/boost/boost/wave/cpplexer/validate_universal_char.hpp", + "external/sources/boost/boost/wave/grammars/cpp_chlit_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_defined_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_defined_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_value.hpp", + "external/sources/boost/boost/wave/grammars/cpp_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_intlit_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_literal_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_predef_macros_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_predef_macros_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_value_error.hpp", + "external/sources/boost/boost/wave/language_support.hpp", + "external/sources/boost/boost/wave/preprocessing_hooks.hpp", + "external/sources/boost/boost/wave/token_ids.hpp", + "external/sources/boost/boost/wave/util/cpp_ifblock.hpp", + "external/sources/boost/boost/wave/util/cpp_include_paths.hpp", + "external/sources/boost/boost/wave/util/cpp_iterator.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap_predef.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap_utils.hpp", + "external/sources/boost/boost/wave/util/file_position.hpp", + "external/sources/boost/boost/wave/util/filesystem_compatibility.hpp", + "external/sources/boost/boost/wave/util/flex_string.hpp", + "external/sources/boost/boost/wave/util/functor_input.hpp", + "external/sources/boost/boost/wave/util/insert_whitespace_detection.hpp", + "external/sources/boost/boost/wave/util/interpret_pragma.hpp", + "external/sources/boost/boost/wave/util/iteration_context.hpp", + "external/sources/boost/boost/wave/util/macro_definition.hpp", + "external/sources/boost/boost/wave/util/macro_helpers.hpp", + "external/sources/boost/boost/wave/util/pattern_parser.hpp", + "external/sources/boost/boost/wave/util/symbol_table.hpp", + "external/sources/boost/boost/wave/util/time_conversion_helper.hpp", + "external/sources/boost/boost/wave/util/transform_iterator.hpp", + "external/sources/boost/boost/wave/util/unput_queue_iterator.hpp", + "external/sources/boost/boost/wave/wave_config.hpp", + "external/sources/boost/boost/wave/wave_config_constant.hpp", + "external/sources/boost/boost/wave/wave_version.hpp", + "external/sources/boost/boost/wave/whitespace_handling.hpp", + "external/sources/boost/boost/weak_ptr.hpp", + "external/sources/boost/boost/winapi/access_rights.hpp", + "external/sources/boost/boost/winapi/apc.hpp", + "external/sources/boost/boost/winapi/basic_types.hpp", + "external/sources/boost/boost/winapi/bcrypt.hpp", + "external/sources/boost/boost/winapi/character_code_conversion.hpp", + "external/sources/boost/boost/winapi/condition_variable.hpp", + "external/sources/boost/boost/winapi/config.hpp", + "external/sources/boost/boost/winapi/critical_section.hpp", + "external/sources/boost/boost/winapi/crypt.hpp", + "external/sources/boost/boost/winapi/dbghelp.hpp", + "external/sources/boost/boost/winapi/debugapi.hpp", + "external/sources/boost/boost/winapi/detail/cast_ptr.hpp", + "external/sources/boost/boost/winapi/detail/footer.hpp", + "external/sources/boost/boost/winapi/detail/header.hpp", + "external/sources/boost/boost/winapi/directory_management.hpp", + "external/sources/boost/boost/winapi/dll.hpp", + "external/sources/boost/boost/winapi/environment.hpp", + "external/sources/boost/boost/winapi/error_codes.hpp", + "external/sources/boost/boost/winapi/error_handling.hpp", + "external/sources/boost/boost/winapi/event.hpp", + "external/sources/boost/boost/winapi/file_management.hpp", + "external/sources/boost/boost/winapi/file_mapping.hpp", + "external/sources/boost/boost/winapi/get_current_process.hpp", + "external/sources/boost/boost/winapi/get_current_process_id.hpp", + "external/sources/boost/boost/winapi/get_current_thread.hpp", + "external/sources/boost/boost/winapi/get_current_thread_id.hpp", + "external/sources/boost/boost/winapi/get_last_error.hpp", + "external/sources/boost/boost/winapi/get_proc_address.hpp", + "external/sources/boost/boost/winapi/get_process_times.hpp", + "external/sources/boost/boost/winapi/get_system_directory.hpp", + "external/sources/boost/boost/winapi/get_thread_times.hpp", + "external/sources/boost/boost/winapi/handle_info.hpp", + "external/sources/boost/boost/winapi/handles.hpp", + "external/sources/boost/boost/winapi/heap_memory.hpp", + "external/sources/boost/boost/winapi/init_once.hpp", + "external/sources/boost/boost/winapi/jobs.hpp", + "external/sources/boost/boost/winapi/limits.hpp", + "external/sources/boost/boost/winapi/local_memory.hpp", + "external/sources/boost/boost/winapi/memory.hpp", + "external/sources/boost/boost/winapi/mutex.hpp", + "external/sources/boost/boost/winapi/overlapped.hpp", + "external/sources/boost/boost/winapi/page_protection_flags.hpp", + "external/sources/boost/boost/winapi/pipes.hpp", + "external/sources/boost/boost/winapi/priority_class.hpp", + "external/sources/boost/boost/winapi/process.hpp", + "external/sources/boost/boost/winapi/security.hpp", + "external/sources/boost/boost/winapi/semaphore.hpp", + "external/sources/boost/boost/winapi/shell.hpp", + "external/sources/boost/boost/winapi/show_window.hpp", + "external/sources/boost/boost/winapi/srw_lock.hpp", + "external/sources/boost/boost/winapi/stack_backtrace.hpp", + "external/sources/boost/boost/winapi/synchronization.hpp", + "external/sources/boost/boost/winapi/system.hpp", + "external/sources/boost/boost/winapi/thread.hpp", + "external/sources/boost/boost/winapi/thread_pool.hpp", + "external/sources/boost/boost/winapi/time.hpp", + "external/sources/boost/boost/winapi/timers.hpp", + "external/sources/boost/boost/winapi/tls.hpp", + "external/sources/boost/boost/winapi/wait.hpp", + "external/sources/boost/boost/winapi/wait_constants.hpp", + "external/sources/boost/boost/winapi/wait_on_address.hpp", + "external/sources/boost/boost/winapi/waitable_timer.hpp", + "external/sources/boost/boost/xpressive/basic_regex.hpp", + "external/sources/boost/boost/xpressive/detail/core/access.hpp", + "external/sources/boost/boost/xpressive/detail/core/action.hpp", + "external/sources/boost/boost/xpressive/detail/core/adaptor.hpp", + "external/sources/boost/boost/xpressive/detail/core/finder.hpp", + "external/sources/boost/boost/xpressive/detail/core/flow_control.hpp", + "external/sources/boost/boost/xpressive/detail/core/icase.hpp", + "external/sources/boost/boost/xpressive/detail/core/linker.hpp", + "external/sources/boost/boost/xpressive/detail/core/list.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/action_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/any_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bol_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bos_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eol_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eos_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_line_base.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_word_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/charset_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/epsilon_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/keeper_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/literal_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/logical_newline_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/lookahead_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/lookbehind_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/predicate_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/range_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/regex_byref_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/regex_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/set_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/string_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/true_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matchers.hpp", + "external/sources/boost/boost/xpressive/detail/core/optimize.hpp", + "external/sources/boost/boost/xpressive/detail/core/peeker.hpp", + "external/sources/boost/boost/xpressive/detail/core/quant_style.hpp", + "external/sources/boost/boost/xpressive/detail/core/regex_domain.hpp", + "external/sources/boost/boost/xpressive/detail/core/regex_impl.hpp", + "external/sources/boost/boost/xpressive/detail/core/results_cache.hpp", + "external/sources/boost/boost/xpressive/detail/core/state.hpp", + "external/sources/boost/boost/xpressive/detail/core/sub_match_impl.hpp", + "external/sources/boost/boost/xpressive/detail/core/sub_match_vector.hpp", + "external/sources/boost/boost/xpressive/detail/detail_fwd.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/dynamic.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/matchable.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parse_charset.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser_enum.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser_traits.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/sequence.hpp", + "external/sources/boost/boost/xpressive/detail/static/compile.hpp", + "external/sources/boost/boost/xpressive/detail/static/grammar.hpp", + "external/sources/boost/boost/xpressive/detail/static/is_pure.hpp", + "external/sources/boost/boost/xpressive/detail/static/modifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/placeholders.hpp", + "external/sources/boost/boost/xpressive/detail/static/static.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_action.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_alternate.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_independent.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_inverse.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_marker.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_modifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_quantifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_sequence.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_set.hpp", + "external/sources/boost/boost/xpressive/detail/static/transmogrify.hpp", + "external/sources/boost/boost/xpressive/detail/static/type_traits.hpp", + "external/sources/boost/boost/xpressive/detail/static/visitor.hpp", + "external/sources/boost/boost/xpressive/detail/static/width_of.hpp", + "external/sources/boost/boost/xpressive/detail/utility/algorithm.hpp", + "external/sources/boost/boost/xpressive/detail/utility/any.hpp", + "external/sources/boost/boost/xpressive/detail/utility/boyer_moore.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.ipp", + "external/sources/boost/boost/xpressive/detail/utility/chset/chset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.ipp", + "external/sources/boost/boost/xpressive/detail/utility/cons.hpp", + "external/sources/boost/boost/xpressive/detail/utility/counted_base.hpp", + "external/sources/boost/boost/xpressive/detail/utility/dont_care.hpp", + "external/sources/boost/boost/xpressive/detail/utility/hash_peek_bitset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/ignore_unused.hpp", + "external/sources/boost/boost/xpressive/detail/utility/literals.hpp", + "external/sources/boost/boost/xpressive/detail/utility/never_true.hpp", + "external/sources/boost/boost/xpressive/detail/utility/save_restore.hpp", + "external/sources/boost/boost/xpressive/detail/utility/sequence_stack.hpp", + "external/sources/boost/boost/xpressive/detail/utility/symbols.hpp", + "external/sources/boost/boost/xpressive/detail/utility/tracking_ptr.hpp", + "external/sources/boost/boost/xpressive/detail/utility/traits_utils.hpp", + "external/sources/boost/boost/xpressive/detail/utility/width.hpp", + "external/sources/boost/boost/xpressive/match_results.hpp", + "external/sources/boost/boost/xpressive/regex_actions.hpp", + "external/sources/boost/boost/xpressive/regex_algorithms.hpp", + "external/sources/boost/boost/xpressive/regex_compiler.hpp", + "external/sources/boost/boost/xpressive/regex_constants.hpp", + "external/sources/boost/boost/xpressive/regex_error.hpp", + "external/sources/boost/boost/xpressive/regex_iterator.hpp", + "external/sources/boost/boost/xpressive/regex_primitives.hpp", + "external/sources/boost/boost/xpressive/regex_token_iterator.hpp", + "external/sources/boost/boost/xpressive/regex_traits.hpp", + "external/sources/boost/boost/xpressive/sub_match.hpp", + "external/sources/boost/boost/xpressive/traits/c_regex_traits.hpp", + "external/sources/boost/boost/xpressive/traits/cpp_regex_traits.hpp", + "external/sources/boost/boost/xpressive/traits/detail/c_ctype.hpp", + "external/sources/boost/boost/xpressive/traits/null_regex_traits.hpp", + "external/sources/boost/boost/xpressive/xpressive.hpp", + "external/sources/boost/boost/xpressive/xpressive_dynamic.hpp", + "external/sources/boost/boost/xpressive/xpressive_fwd.hpp", + "external/sources/boost/boost/xpressive/xpressive_static.hpp", + "external/sources/boost/boost/xpressive/xpressive_typeof.hpp", + "external/sources/boost/boost/yap/algorithm.hpp", + "external/sources/boost/boost/yap/algorithm_fwd.hpp", + "external/sources/boost/boost/yap/config.hpp", + "external/sources/boost/boost/yap/detail/algorithm.hpp", + "external/sources/boost/boost/yap/detail/transform.hpp", + "external/sources/boost/boost/yap/expression.hpp", + "external/sources/boost/boost/yap/print.hpp", + "external/sources/boost/boost/yap/user_macros.hpp", + "external/sources/boost/boost/yap/yap.hpp", + "external/sources/concurrentqueue/blockingconcurrentqueue.h", + "external/sources/concurrentqueue/concurrentqueue.h", + "external/sources/concurrentqueue/lightweightsemaphore.h", "external/sources/edtaa3func/CMakeLists.txt", "external/sources/edtaa3func/edtaa3func.cpp", "external/sources/edtaa3func/edtaa3func.h", @@ -2487,7 +17220,9 @@ "external/sources/khronos/vulkan/vk_sdk_platform.h", "external/sources/khronos/vulkan/vulkan.h", "external/sources/khronos/vulkan/vulkan_android.h", + "external/sources/khronos/vulkan/vulkan_beta.h", "external/sources/khronos/vulkan/vulkan_core.h", + "external/sources/khronos/vulkan/vulkan_directfb.h", "external/sources/khronos/vulkan/vulkan_fuchsia.h", "external/sources/khronos/vulkan/vulkan_ggp.h", "external/sources/khronos/vulkan/vulkan_ios.h", @@ -2576,6 +17311,227 @@ "external/sources/pvmp3dec/src/s_mp3bits.h", "external/sources/pvmp3dec/src/s_tmp3dec_chan.h", "external/sources/pvmp3dec/src/s_tmp3dec_file.h", + "external/sources/rtm/constants.h", + "external/sources/rtm/impl/compiler_utils.h", + "external/sources/rtm/impl/error.h", + "external/sources/rtm/impl/mask_common.h", + "external/sources/rtm/impl/matrix_affine_common.h", + "external/sources/rtm/impl/matrix_cast.h", + "external/sources/rtm/impl/matrix_common.h", + "external/sources/rtm/impl/memory_utils.h", + "external/sources/rtm/impl/quat_common.h", + "external/sources/rtm/impl/qvv_common.h", + "external/sources/rtm/impl/scalar_common.h", + "external/sources/rtm/impl/type_args.h", + "external/sources/rtm/impl/vector_common.h", + "external/sources/rtm/macros.h", + "external/sources/rtm/mask4d.h", + "external/sources/rtm/mask4f.h", + "external/sources/rtm/mask4i.h", + "external/sources/rtm/mask4q.h", + "external/sources/rtm/math.h", + "external/sources/rtm/matrix3x3d.h", + "external/sources/rtm/matrix3x3f.h", + "external/sources/rtm/matrix3x4d.h", + "external/sources/rtm/matrix3x4f.h", + "external/sources/rtm/matrix4x4d.h", + "external/sources/rtm/matrix4x4f.h", + "external/sources/rtm/packing/quatd.h", + "external/sources/rtm/packing/quatf.h", + "external/sources/rtm/quatd.h", + "external/sources/rtm/quatf.h", + "external/sources/rtm/qvvd.h", + "external/sources/rtm/qvvf.h", + "external/sources/rtm/scalard.h", + "external/sources/rtm/scalarf.h", + "external/sources/rtm/type_traits.h", + "external/sources/rtm/types.h", + "external/sources/rtm/vector4d.h", + "external/sources/rtm/vector4f.h", + "external/sources/taskflow/core/algorithm/critical.hpp", + "external/sources/taskflow/core/algorithm/for_each.hpp", + "external/sources/taskflow/core/algorithm/reduce.hpp", + "external/sources/taskflow/core/algorithm/sort.hpp", + "external/sources/taskflow/core/declarations.hpp", + "external/sources/taskflow/core/error.hpp", + "external/sources/taskflow/core/executor.hpp", + "external/sources/taskflow/core/flow_builder.hpp", + "external/sources/taskflow/core/graph.hpp", + "external/sources/taskflow/core/notifier.hpp", + "external/sources/taskflow/core/observer.hpp", + "external/sources/taskflow/core/semaphore.hpp", + "external/sources/taskflow/core/task.hpp", + "external/sources/taskflow/core/taskflow.hpp", + "external/sources/taskflow/core/topology.hpp", + "external/sources/taskflow/core/tsq.hpp", + "external/sources/taskflow/core/worker.hpp", + "external/sources/taskflow/cublasflow.hpp", + "external/sources/taskflow/cuda/cublas/cublas_error.hpp", + "external/sources/taskflow/cuda/cublas/cublas_flow.hpp", + "external/sources/taskflow/cuda/cublas/cublas_handle.hpp", + "external/sources/taskflow/cuda/cublas/cublas_helper.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level1.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level2.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level3.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_blaf.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_for_each.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_matmul.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_reduce.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_transform.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_transpose.hpp", + "external/sources/taskflow/cuda/cuda_capturer.hpp", + "external/sources/taskflow/cuda/cuda_device.hpp", + "external/sources/taskflow/cuda/cuda_error.hpp", + "external/sources/taskflow/cuda/cuda_flow.hpp", + "external/sources/taskflow/cuda/cuda_graph.hpp", + "external/sources/taskflow/cuda/cuda_memory.hpp", + "external/sources/taskflow/cuda/cuda_pool.hpp", + "external/sources/taskflow/cuda/cuda_stream.hpp", + "external/sources/taskflow/cuda/cuda_task.hpp", + "external/sources/taskflow/cudaflow.hpp", + "external/sources/taskflow/dsl/connection.hpp", + "external/sources/taskflow/dsl/dsl.hpp", + "external/sources/taskflow/dsl/meta_macro.hpp", + "external/sources/taskflow/dsl/task_analyzer.hpp", + "external/sources/taskflow/dsl/task_dsl.hpp", + "external/sources/taskflow/dsl/task_trait.hpp", + "external/sources/taskflow/dsl/tuple_utils.hpp", + "external/sources/taskflow/dsl/type_list.hpp", + "external/sources/taskflow/taskflow.hpp", + "external/sources/taskflow/tensorframe/tensor.hpp", + "external/sources/taskflow/tensorframe/tensor_expr.hpp", + "external/sources/taskflow/tensorframe/tensor_graph.hpp", + "external/sources/taskflow/tensorframe/tensor_ops.hpp", + "external/sources/taskflow/tensorframe/tensorframe.hpp", + "external/sources/taskflow/utility/iterator.hpp", + "external/sources/taskflow/utility/math.hpp", + "external/sources/taskflow/utility/object_pool.hpp", + "external/sources/taskflow/utility/os.hpp", + "external/sources/taskflow/utility/passive_vector.hpp", + "external/sources/taskflow/utility/singleton.hpp", + "external/sources/taskflow/utility/stream.hpp", + "external/sources/taskflow/utility/traits.hpp", + "external/sources/taskflow/utility/uuid.hpp", + "external/sources/tbb/aggregator.h", + "external/sources/tbb/aligned_space.h", + "external/sources/tbb/atomic.h", + "external/sources/tbb/blocked_range.h", + "external/sources/tbb/blocked_range2d.h", + "external/sources/tbb/blocked_range3d.h", + "external/sources/tbb/blocked_rangeNd.h", + "external/sources/tbb/cache_aligned_allocator.h", + "external/sources/tbb/combinable.h", + "external/sources/tbb/compat/condition_variable", + "external/sources/tbb/compat/ppl.h", + "external/sources/tbb/compat/thread", + "external/sources/tbb/compat/tuple", + "external/sources/tbb/concurrent_hash_map.h", + "external/sources/tbb/concurrent_lru_cache.h", + "external/sources/tbb/concurrent_map.h", + "external/sources/tbb/concurrent_priority_queue.h", + "external/sources/tbb/concurrent_queue.h", + "external/sources/tbb/concurrent_set.h", + "external/sources/tbb/concurrent_unordered_map.h", + "external/sources/tbb/concurrent_unordered_set.h", + "external/sources/tbb/concurrent_vector.h", + "external/sources/tbb/critical_section.h", + "external/sources/tbb/enumerable_thread_specific.h", + "external/sources/tbb/flow_graph.h", + "external/sources/tbb/flow_graph_abstractions.h", + "external/sources/tbb/flow_graph_opencl_node.h", + "external/sources/tbb/global_control.h", + "external/sources/tbb/index.html", + "external/sources/tbb/info.h", + "external/sources/tbb/internal/_aggregator_impl.h", + "external/sources/tbb/internal/_allocator_traits.h", + "external/sources/tbb/internal/_concurrent_queue_impl.h", + "external/sources/tbb/internal/_concurrent_skip_list_impl.h", + "external/sources/tbb/internal/_concurrent_unordered_impl.h", + "external/sources/tbb/internal/_deprecated_header_message_guard.h", + "external/sources/tbb/internal/_flow_graph_async_msg_impl.h", + "external/sources/tbb/internal/_flow_graph_body_impl.h", + "external/sources/tbb/internal/_flow_graph_cache_impl.h", + "external/sources/tbb/internal/_flow_graph_impl.h", + "external/sources/tbb/internal/_flow_graph_indexer_impl.h", + "external/sources/tbb/internal/_flow_graph_item_buffer_impl.h", + "external/sources/tbb/internal/_flow_graph_join_impl.h", + "external/sources/tbb/internal/_flow_graph_node_impl.h", + "external/sources/tbb/internal/_flow_graph_node_set_impl.h", + "external/sources/tbb/internal/_flow_graph_nodes_deduction.h", + "external/sources/tbb/internal/_flow_graph_streaming_node.h", + "external/sources/tbb/internal/_flow_graph_tagged_buffer_impl.h", + "external/sources/tbb/internal/_flow_graph_trace_impl.h", + "external/sources/tbb/internal/_flow_graph_types_impl.h", + "external/sources/tbb/internal/_mutex_padding.h", + "external/sources/tbb/internal/_node_handle_impl.h", + "external/sources/tbb/internal/_range_iterator.h", + "external/sources/tbb/internal/_tbb_hash_compare_impl.h", + "external/sources/tbb/internal/_tbb_strings.h", + "external/sources/tbb/internal/_tbb_trace_impl.h", + "external/sources/tbb/internal/_tbb_windef.h", + "external/sources/tbb/internal/_template_helpers.h", + "external/sources/tbb/internal/_warning_suppress_disable_notice.h", + "external/sources/tbb/internal/_warning_suppress_enable_notice.h", + "external/sources/tbb/internal/_x86_eliding_mutex_impl.h", + "external/sources/tbb/internal/_x86_rtm_rw_mutex_impl.h", + "external/sources/tbb/iterators.h", + "external/sources/tbb/machine/gcc_arm.h", + "external/sources/tbb/machine/gcc_generic.h", + "external/sources/tbb/machine/gcc_ia32_common.h", + "external/sources/tbb/machine/gcc_itsx.h", + "external/sources/tbb/machine/ibm_aix51.h", + "external/sources/tbb/machine/icc_generic.h", + "external/sources/tbb/machine/linux_common.h", + "external/sources/tbb/machine/linux_ia32.h", + "external/sources/tbb/machine/linux_ia64.h", + "external/sources/tbb/machine/linux_intel64.h", + "external/sources/tbb/machine/mac_ppc.h", + "external/sources/tbb/machine/macos_common.h", + "external/sources/tbb/machine/mic_common.h", + "external/sources/tbb/machine/msvc_armv7.h", + "external/sources/tbb/machine/msvc_ia32_common.h", + "external/sources/tbb/machine/sunos_sparc.h", + "external/sources/tbb/machine/windows_api.h", + "external/sources/tbb/machine/windows_ia32.h", + "external/sources/tbb/machine/windows_intel64.h", + "external/sources/tbb/memory_pool.h", + "external/sources/tbb/mutex.h", + "external/sources/tbb/null_mutex.h", + "external/sources/tbb/null_rw_mutex.h", + "external/sources/tbb/parallel_do.h", + "external/sources/tbb/parallel_for.h", + "external/sources/tbb/parallel_for_each.h", + "external/sources/tbb/parallel_invoke.h", + "external/sources/tbb/parallel_reduce.h", + "external/sources/tbb/parallel_scan.h", + "external/sources/tbb/parallel_sort.h", + "external/sources/tbb/parallel_while.h", + "external/sources/tbb/partitioner.h", + "external/sources/tbb/pipeline.h", + "external/sources/tbb/queuing_mutex.h", + "external/sources/tbb/queuing_rw_mutex.h", + "external/sources/tbb/reader_writer_lock.h", + "external/sources/tbb/recursive_mutex.h", + "external/sources/tbb/runtime_loader.h", + "external/sources/tbb/scalable_allocator.h", + "external/sources/tbb/spin_mutex.h", + "external/sources/tbb/spin_rw_mutex.h", + "external/sources/tbb/task.h", + "external/sources/tbb/task_arena.h", + "external/sources/tbb/task_group.h", + "external/sources/tbb/task_scheduler_init.h", + "external/sources/tbb/task_scheduler_observer.h", + "external/sources/tbb/tbb.h", + "external/sources/tbb/tbb_allocator.h", + "external/sources/tbb/tbb_config.h", + "external/sources/tbb/tbb_disable_exceptions.h", + "external/sources/tbb/tbb_exception.h", + "external/sources/tbb/tbb_machine.h", + "external/sources/tbb/tbb_profiling.h", + "external/sources/tbb/tbb_stddef.h", + "external/sources/tbb/tbb_thread.h", + "external/sources/tbb/tbbmalloc_proxy.h", + "external/sources/tbb/tick_count.h", "external/sources/tinydir/COPYING", "external/sources/tinydir/package.json", "external/sources/tinydir/tinydir.h", @@ -3166,11 +18122,7 @@ "external/win32/libs/icuuc.dll", "external/win32/libs/icuuc.dll.lib", "external/win32/libs/libEGL.dll", - "external/win32/libs/libEGL.lib", - "external/win32/libs/libGLES_CM.dll", - "external/win32/libs/libGLES_CM.lib", "external/win32/libs/libGLESv2.dll", - "external/win32/libs/libGLESv2.lib", "external/win32/libs/libcrypto-1_1.dll", "external/win32/libs/libcrypto.lib", "external/win32/libs/libcurl.dll", @@ -3196,6 +18148,12 @@ "external/win32/libs/nspr4.dll", "external/win32/libs/sqlite3.dll", "external/win32/libs/sqlite3.lib", + "external/win32/libs/tbb/tbb_static.lib", + "external/win32/libs/tbb/tbb_static_debug.lib", + "external/win32/libs/tbb/tbbmalloc_proxy_static.lib", + "external/win32/libs/tbb/tbbmalloc_proxy_static_debug.lib", + "external/win32/libs/tbb/tbbmalloc_static.lib", + "external/win32/libs/tbb/tbbmalloc_static_debug.lib", "external/win32/libs/uv.dll", "external/win32/libs/v8.dll", "external/win32/libs/v8.dll.lib", @@ -3371,6 +18329,8 @@ "cocos/bindings/manual/jsb_dragonbones_manual.h", "cocos/bindings/manual/jsb_extension_manual.cpp", "cocos/bindings/manual/jsb_extension_manual.h", + "cocos/bindings/manual/jsb_gfx_agent.cpp", + "cocos/bindings/manual/jsb_gfx_agent.h", "cocos/bindings/manual/jsb_gfx_manual.cpp", "cocos/bindings/manual/jsb_gfx_manual.h", "cocos/bindings/manual/jsb_global.cpp", From 6b197934ff0f803c424ba0c6a42af4a4199130dc Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 11 Mar 2021 11:15:09 +0800 Subject: [PATCH 176/270] basic framegraph (#3303) --- native/cocos/base/StringPool.h | 11 +- .../cocos/renderer/frame-graph/Blackboard.h | 85 +++ .../cocos/renderer/frame-graph/CallbackPass.h | 72 ++ .../cocos/renderer/frame-graph/DevicePass.cpp | 204 ++++++ .../cocos/renderer/frame-graph/DevicePass.h | 87 +++ .../frame-graph/DevicePassResourceTable.cpp | 91 +++ .../frame-graph/DevicePassResourceTable.h | 82 +++ .../cocos/renderer/frame-graph/FrameGraph.cpp | 623 ++++++++++++++++++ .../cocos/renderer/frame-graph/FrameGraph.h | 145 ++++ native/cocos/renderer/frame-graph/Handle.h | 46 ++ .../frame-graph/PassInsertPointManager.cpp | 58 ++ .../frame-graph/PassInsertPointManager.h | 66 ++ .../cocos/renderer/frame-graph/PassNode.cpp | 200 ++++++ native/cocos/renderer/frame-graph/PassNode.h | 116 ++++ .../renderer/frame-graph/PassNodeBuilder.cpp | 72 ++ .../renderer/frame-graph/PassNodeBuilder.h | 92 +++ .../frame-graph/RenderTargetAttachment.h | 83 +++ native/cocos/renderer/frame-graph/Resource.h | 174 +++++ .../renderer/frame-graph/ResourceAllocator.h | 202 ++++++ .../renderer/frame-graph/ResourceEntry.h | 85 +++ .../cocos/renderer/frame-graph/ResourceNode.h | 39 ++ .../renderer/frame-graph/VirtualResource.cpp | 44 ++ .../renderer/frame-graph/VirtualResource.h | 74 +++ .../cocos/renderer/gfx-base/GFXDef-common.h | 4 +- .../cocos/renderer/gfx-base/GFXRenderPass.cpp | 32 +- 25 files changed, 2767 insertions(+), 20 deletions(-) create mode 100644 native/cocos/renderer/frame-graph/Blackboard.h create mode 100644 native/cocos/renderer/frame-graph/CallbackPass.h create mode 100644 native/cocos/renderer/frame-graph/DevicePass.cpp create mode 100644 native/cocos/renderer/frame-graph/DevicePass.h create mode 100644 native/cocos/renderer/frame-graph/DevicePassResourceTable.cpp create mode 100644 native/cocos/renderer/frame-graph/DevicePassResourceTable.h create mode 100644 native/cocos/renderer/frame-graph/FrameGraph.cpp create mode 100644 native/cocos/renderer/frame-graph/FrameGraph.h create mode 100644 native/cocos/renderer/frame-graph/Handle.h create mode 100644 native/cocos/renderer/frame-graph/PassInsertPointManager.cpp create mode 100644 native/cocos/renderer/frame-graph/PassInsertPointManager.h create mode 100644 native/cocos/renderer/frame-graph/PassNode.cpp create mode 100644 native/cocos/renderer/frame-graph/PassNode.h create mode 100644 native/cocos/renderer/frame-graph/PassNodeBuilder.cpp create mode 100644 native/cocos/renderer/frame-graph/PassNodeBuilder.h create mode 100644 native/cocos/renderer/frame-graph/RenderTargetAttachment.h create mode 100644 native/cocos/renderer/frame-graph/Resource.h create mode 100644 native/cocos/renderer/frame-graph/ResourceAllocator.h create mode 100644 native/cocos/renderer/frame-graph/ResourceEntry.h create mode 100644 native/cocos/renderer/frame-graph/ResourceNode.h create mode 100644 native/cocos/renderer/frame-graph/VirtualResource.cpp create mode 100644 native/cocos/renderer/frame-graph/VirtualResource.h diff --git a/native/cocos/base/StringPool.h b/native/cocos/base/StringPool.h index 58c7169935..e6ec2560c2 100644 --- a/native/cocos/base/StringPool.h +++ b/native/cocos/base/StringPool.h @@ -44,7 +44,7 @@ template class StringPool final { public: StringPool() noexcept = default; - ~StringPool() = default; + ~StringPool(); StringPool(StringPool const &) = delete; StringPool(StringPool &&) = delete; StringPool &operator=(StringPool const &) = delete; @@ -66,6 +66,13 @@ private: using ThreadSafeStringPool = StringPool; +template +StringPool::~StringPool() { + for (char const *strCache : _handleToStrings) { + delete[] strCache; + } +} + template inline StringHandle StringPool::stringToHandle(char const *const str) noexcept { if (ThreadSafe) { @@ -105,7 +112,7 @@ inline StringHandle StringPool::doStringToHandle(char const *const s if (it == _stringToHandles.end()) { size_t const strLength = strlen(str) + 1; - char *const strCache = new char[strLength]; // never freed since we can't invalidate every existing usage + char *const strCache = new char[strLength]; strcpy(strCache, str); StringHandle name(static_cast(_handleToStrings.size()), strCache); _handleToStrings.emplace_back(strCache); diff --git a/native/cocos/renderer/frame-graph/Blackboard.h b/native/cocos/renderer/frame-graph/Blackboard.h new file mode 100644 index 0000000000..4b10afbdcf --- /dev/null +++ b/native/cocos/renderer/frame-graph/Blackboard.h @@ -0,0 +1,85 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "Handle.h" +#include "base/Macros.h" + +namespace cc { +namespace framegraph { + +template +class Blackboard final { +public: + Blackboard() noexcept = default; + ~Blackboard() = default; + Blackboard(const Blackboard &) = delete; + Blackboard(Blackboard &&) = delete; + Blackboard &operator=(const Blackboard &) = delete; + Blackboard &operator=(Blackboard &&) = delete; + + CC_INLINE ValueType &operator[](const KeyType &name) noexcept; + CC_INLINE void put(const KeyType &name, ValueType const handle) noexcept; + CC_INLINE ValueType get(const KeyType &name) const noexcept; + CC_INLINE void clear() noexcept; + CC_INLINE bool has(const KeyType &name) const noexcept; + +private: + using Container = std::map; + Container _container{}; +}; + +////////////////////////////////////////////////////////////////////////// + +template +ValueType &Blackboard::operator[](const KeyType &name) noexcept { + const auto it = _container.find(name); + return (it == _container.end() ? _container.emplace(name, InvalidValue).first : it)->second; +} + +template +void Blackboard::put(const KeyType &name, ValueType const handle) noexcept { + _container[name] = handle; +} + +template +ValueType Blackboard::get(const KeyType &name) const noexcept { + const auto it = _container.find(name); + return it == _container.end() ? InvalidValue : it->second; +} + +template +void Blackboard::clear() noexcept { + _container.clear(); +} + +template +bool Blackboard::has(const KeyType &name) const noexcept { + return _container.find(name) != _container.end(); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/CallbackPass.h b/native/cocos/renderer/frame-graph/CallbackPass.h new file mode 100644 index 0000000000..4718e38894 --- /dev/null +++ b/native/cocos/renderer/frame-graph/CallbackPass.h @@ -0,0 +1,72 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "DevicePassResourceTable.h" + +namespace cc { +namespace framegraph { + +class Executable { +public: + Executable() noexcept = default; + virtual ~Executable() = default; + Executable(const Executable &) = delete; + Executable(Executable &&) = delete; + Executable &operator=(const Executable &) = delete; + Executable &operator=(Executable &&) = delete; + + virtual void execute(const DevicePassResourceTable &resourceTable) noexcept = 0; +}; + +template +class CallbackPass final : public Executable { +public: + explicit CallbackPass(ExecuteMethod &&execute) noexcept; + void execute(const DevicePassResourceTable &resourceTable) noexcept override; + CC_INLINE const Data &getData() const noexcept { return _data; } + CC_INLINE Data &getData() noexcept { return _data; } + +private: + Data _data; + ExecuteMethod _execute; +}; + +////////////////////////////////////////////////////////////////////////// + +template +CallbackPass::CallbackPass(ExecuteMethod &&execute) noexcept +: Executable(), + _execute(execute) { +} + +template +void CallbackPass::execute(const DevicePassResourceTable &resourceTable) noexcept { + _execute(_data, resourceTable); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/DevicePass.cpp b/native/cocos/renderer/frame-graph/DevicePass.cpp new file mode 100644 index 0000000000..7f92cddad4 --- /dev/null +++ b/native/cocos/renderer/frame-graph/DevicePass.cpp @@ -0,0 +1,204 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "DevicePass.h" +#include "CallbackPass.h" +#include "FrameGraph.h" +#include "PassNode.h" +#include "ResourceNode.h" +#include "gfx-base/GFXCommandBuffer.h" +#include + +namespace cc { +namespace framegraph { + +DevicePass::DevicePass(const FrameGraph &graph, std::vector const &subPassNodes) noexcept { + std::vector attachments; + + for (const PassNode *const passNode : subPassNodes) { + append(graph, passNode, attachments); + } + + std::sort(attachments.begin(), attachments.end(), RenderTargetAttachment::Sorter()); + std::vector renderTargets; + + for (auto &attachment : attachments) { + const ResourceNode &resourceNode = graph.getResourceNode(attachment.textureHandle); + CC_ASSERT(resourceNode.virtualResource); + _attachments.emplace_back(); + _attachments.back().attachment = std::move(attachment); + _attachments.back().renderTarget = static_cast *>(resourceNode.virtualResource)->getDeviceResource(); + //CC_ASSERT(_attachments.back().renderTarget); // back buffer doesn't have a device resource instance, for now + renderTargets.emplace_back(_attachments.back().renderTarget); + } + + bool const multiSubPass = subPassNodes.size() > 1; + + for (PassNode *const passNode : subPassNodes) { + _resourceTable.extract(graph, passNode, multiSubPass, renderTargets); + } +} + +void DevicePass::execute() noexcept { + auto cmdBuff = gfx::Device::getInstance()->getCommandBuffer(); + + begin(cmdBuff); + + for (Subpass &subPass : _subpasses) { + for (LogicPass &pass : subPass.logicPasses) { + + gfx::Viewport &viewport = pass.customViewport ? pass.viewport : _viewport; + gfx::Rect & scissor = pass.customViewport ? pass.scissor : _scissor; + + if (viewport != _curViewport) { + cmdBuff->setViewport(viewport); + _curViewport = viewport; + } + if (scissor != _curScissor) { + cmdBuff->setScissor(scissor); + _curScissor = scissor; + } + + pass.pass->execute(_resourceTable); + } + + next(cmdBuff); + } + + end(cmdBuff); +} + +void DevicePass::append(const FrameGraph &graph, const PassNode *passNode, std::vector &attachments) noexcept { + _subpasses.emplace_back(); + Subpass &subPass = _subpasses.back(); + + do { + subPass.logicPasses.emplace_back(); + LogicPass &logicPass = subPass.logicPasses.back(); + logicPass.pass = passNode->_pass.get(); + logicPass.customViewport = passNode->_customViewport; + logicPass.viewport = passNode->_viewport; + logicPass.scissor = passNode->_scissor; + + std::for_each(passNode->_attachments.begin(), passNode->_attachments.end(), [&, this](const RenderTargetAttachment &attachment) { + append(graph, attachment, attachments); + }); + + passNode = passNode->_next; + } while (passNode); +} + +void DevicePass::append(const FrameGraph &graph, const RenderTargetAttachment &attachment, std::vector &attachments) noexcept { + auto it = std::find_if(attachments.begin(), attachments.end(), [&attachment](const RenderTargetAttachment &x) { + return attachment.desc.usage == x.desc.usage && attachment.desc.slot == x.desc.slot; + }); + + if (it == attachments.end()) { + attachments.emplace_back(attachment); + _usedRenderTargetSlotMask |= 1 << attachment.desc.slot; + } else { + const ResourceNode &resourceNodeA = graph.getResourceNode(it->textureHandle); + const ResourceNode &resourceNodeB = graph.getResourceNode(attachment.textureHandle); + + if (resourceNodeA.virtualResource == resourceNodeB.virtualResource) { + if (attachment.storeOp != gfx::StoreOp::DISCARD) it->storeOp = attachment.storeOp; + } else { + CC_ASSERT(attachment.desc.usage == RenderTargetAttachment::Usage::COLOR); + attachments.emplace_back(attachment); + + for (uint8_t i = 0; i < RenderTargetAttachment::DEPTH_STENCIL_SLOT_START; ++i) { + if ((_usedRenderTargetSlotMask & (1 << i)) == 0) { + attachments.back().desc.slot = i; + break; + } + } + } + } +} + +void DevicePass::begin(gfx::CommandBuffer *cmdBuff) noexcept { + if (_attachments.empty()) return; + + gfx::RenderPassInfo rpInfo; + gfx::FramebufferInfo fboInfo; + float clearDepth = 1.f; + uint clearStencil = 0; + static std::vector clearColors; + clearColors.clear(); + _viewport = gfx::Viewport(); + _scissor = gfx::Rect(); + for (uint i = 0; i < _attachments.size(); ++i) { + gfx::Texture *attachment = _attachments[i].renderTarget; + if (_attachments[i].attachment.desc.usage == RenderTargetAttachment::Usage::COLOR) { + rpInfo.colorAttachments.emplace_back(); + rpInfo.colorAttachments.back().format = attachment ? attachment->getFormat() : gfx::Device::getInstance()->getColorFormat(); + rpInfo.colorAttachments.back().loadOp = _attachments[i].attachment.desc.loadOp; + rpInfo.colorAttachments.back().storeOp = _attachments[i].attachment.storeOp; + rpInfo.colorAttachments.back().beginAccesses = _attachments[i].attachment.desc.beginAccesses; + rpInfo.colorAttachments.back().endAccesses = _attachments[i].attachment.desc.endAccesses; + fboInfo.colorTextures.push_back(_attachments[i].renderTarget); + clearColors.emplace_back(_attachments[i].attachment.desc.clearColor); + _viewport.width = _scissor.width = attachment ? attachment->getWidth() : gfx::Device::getInstance()->getNativeWidth(); + _viewport.height = _scissor.height = attachment ? attachment->getHeight() : gfx::Device::getInstance()->getNativeHeight(); + } else { + rpInfo.depthStencilAttachment.format = attachment ? attachment->getFormat() : gfx::Device::getInstance()->getDepthStencilFormat(); + rpInfo.depthStencilAttachment.depthLoadOp = _attachments[i].attachment.desc.loadOp; + rpInfo.depthStencilAttachment.depthStoreOp = _attachments[i].attachment.storeOp; + rpInfo.depthStencilAttachment.stencilLoadOp = _attachments[i].attachment.desc.loadOp; + rpInfo.depthStencilAttachment.stencilStoreOp = _attachments[i].attachment.storeOp; + rpInfo.depthStencilAttachment.beginAccesses = _attachments[i].attachment.desc.beginAccesses; + rpInfo.depthStencilAttachment.endAccesses = _attachments[i].attachment.desc.endAccesses; + fboInfo.depthStencilTexture = _attachments[i].renderTarget; + clearDepth = _attachments[i].attachment.desc.clearDepth; + clearStencil = _attachments[i].attachment.desc.clearStencil; + } + } + + _renderPass = RenderPass(rpInfo); + _renderPass.createTransient(); + + fboInfo.renderPass = _renderPass.get(); + _fbo = Framebuffer(fboInfo); + _fbo.createTransient(); + + cmdBuff->beginRenderPass(_renderPass.get(), _fbo.get(), _scissor, clearColors.data(), clearDepth, clearStencil); + _curViewport = _viewport; + _curScissor = _scissor; +} + +void DevicePass::next(gfx::CommandBuffer *cmdBuff) noexcept { +} + +void DevicePass::end(gfx::CommandBuffer *cmdBuff) noexcept { + if (!_renderPass.get() || !_fbo.get()) return; + + cmdBuff->endRenderPass(); + + _renderPass.destroyTransient(); + _fbo.destroyTransient(); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/DevicePass.h b/native/cocos/renderer/frame-graph/DevicePass.h new file mode 100644 index 0000000000..59b10fa3ea --- /dev/null +++ b/native/cocos/renderer/frame-graph/DevicePass.h @@ -0,0 +1,87 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "CallbackPass.h" +#include "DevicePassResourceTable.h" +#include "RenderTargetAttachment.h" +#include "gfx-base/GFXDef.h" +#include +#include + +namespace cc { +namespace framegraph { + +class DevicePass final { +public: + DevicePass() = delete; + DevicePass(const FrameGraph &graph, std::vector const &subPassNodes) noexcept; + DevicePass(const DevicePass &) = delete; + DevicePass(DevicePass &&) = delete; + ~DevicePass() = default; + DevicePass &operator=(const DevicePass &) = delete; + DevicePass &operator=(DevicePass &&) = delete; + + void execute() noexcept; + +private: + struct LogicPass final { + Executable * pass{nullptr}; + bool customViewport{false}; + gfx::Viewport viewport; + gfx::Rect scissor; + }; + + struct Subpass final { + std::vector logicPasses{}; + }; + + struct Attachment final { + RenderTargetAttachment attachment; + gfx::Texture * renderTarget{nullptr}; + }; + + void append(const FrameGraph &graph, const PassNode *passNode, std::vector &attachments) noexcept; + void append(const FrameGraph &graph, const RenderTargetAttachment &attachment, std::vector &attachments) noexcept; + void begin(gfx::CommandBuffer *cmdBuff) noexcept; + void next(gfx::CommandBuffer *cmdBuff) noexcept; + void end(gfx::CommandBuffer *cmdBuff) noexcept; + + std::vector _subpasses{}; + std::vector _attachments{}; + uint16_t _usedRenderTargetSlotMask{0}; + DevicePassResourceTable _resourceTable; + + gfx::Viewport _viewport; + gfx::Rect _scissor; + gfx::Viewport _curViewport; + gfx::Rect _curScissor; + RenderPass _renderPass; + Framebuffer _fbo; +}; + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/DevicePassResourceTable.cpp b/native/cocos/renderer/frame-graph/DevicePassResourceTable.cpp new file mode 100644 index 0000000000..bce7564ba3 --- /dev/null +++ b/native/cocos/renderer/frame-graph/DevicePassResourceTable.cpp @@ -0,0 +1,91 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "DevicePassResourceTable.h" + +#include "FrameGraph.h" +#include "PassNode.h" +#include + +namespace cc { +namespace framegraph { + +gfx::GFXObject *DevicePassResourceTable::get(const ResourceDictionary &from, const Handle handle) noexcept { + const auto it = from.find(handle); + return it == from.cend() ? nullptr : it->second; +} + +void DevicePassResourceTable::extract(const FrameGraph & graph, + const PassNode *const passNode, + bool multiSubPass, + std::vector const &renderTargets) noexcept { + extract(graph, passNode->_reads, reads, multiSubPass, renderTargets); + extract(graph, passNode->_writes, writes, true, renderTargets); + + if (passNode->_next) { + extract(graph, passNode->_next, multiSubPass, renderTargets); + } +} + +void DevicePassResourceTable::extract(const FrameGraph & graph, + std::vector const & from, + ResourceDictionary & to, + bool ignoreRenderTarget, + std::vector const &renderTargets) noexcept { + std::for_each(from.cbegin(), from.cend(), [&](const Handle handle) { + if (to.find(handle) != to.cend()) { + return; + } + + const ResourceNode &resourceNode = graph.getResourceNode(handle); + CC_ASSERT(resourceNode.virtualResource); + gfx::GFXObject *const deviceResource = resourceNode.virtualResource->getDeviceResource(); + + if (!deviceResource) { + return; + } + + if (ignoreRenderTarget) { + bool const isRenderTarget = + std::find_if( + renderTargets.cbegin(), + renderTargets.cend(), + [&deviceResource](const gfx::Texture *const x) { + return deviceResource == x; + }) != renderTargets.cend(); + + if (isRenderTarget) { + return; + } + } + + if (deviceResource) { + to.emplace(handle, deviceResource); + } + }); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/DevicePassResourceTable.h b/native/cocos/renderer/frame-graph/DevicePassResourceTable.h new file mode 100644 index 0000000000..af2805ddd3 --- /dev/null +++ b/native/cocos/renderer/frame-graph/DevicePassResourceTable.h @@ -0,0 +1,82 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "Handle.h" +#include "RenderTargetAttachment.h" +#include "Resource.h" +#include + +namespace cc { +namespace framegraph { + +class PassNode; +class FrameGraph; + +class DevicePassResourceTable final { +public: + DevicePassResourceTable() = default; + ~DevicePassResourceTable() = default; + DevicePassResourceTable(const DevicePassResourceTable &) = delete; + DevicePassResourceTable(DevicePassResourceTable &&) = delete; + DevicePassResourceTable &operator=(const DevicePassResourceTable &) = delete; + DevicePassResourceTable &operator=(DevicePassResourceTable &&) = delete; + + template + std::enable_if_t::value, typename Type::DeviceResource *> + getRead(TypedHandle const handle) const noexcept; + + template + std::enable_if_t::value, typename Type::DeviceResource *> + getWrite(TypedHandle const handle) const noexcept; + +private: + using ResourceDictionary = std::unordered_map; + + static gfx::GFXObject *get(const ResourceDictionary &from, const Handle handle) noexcept; + void extract(const FrameGraph &graph, const PassNode *const passNode, bool multiSubPass, std::vector const &renderTargets) noexcept; + void extract(const FrameGraph &graph, std::vector const &from, ResourceDictionary &to, bool ignoreRenderTarget, std::vector const &renderTargets) noexcept; + + ResourceDictionary reads{}; + ResourceDictionary writes{}; + + friend class DevicePass; +}; + +template +std::enable_if_t::value, typename Type::DeviceResource *> +DevicePassResourceTable::getRead(TypedHandle const handle) const noexcept { + return static_cast(get(reads, handle)); +} + +template +std::enable_if_t::value, typename Type::DeviceResource *> +DevicePassResourceTable::getWrite(TypedHandle const handle) const noexcept { + return static_cast(get(writes, handle)); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/FrameGraph.cpp b/native/cocos/renderer/frame-graph/FrameGraph.cpp new file mode 100644 index 0000000000..586274164b --- /dev/null +++ b/native/cocos/renderer/frame-graph/FrameGraph.cpp @@ -0,0 +1,623 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "FrameGraph.h" + +#include "PassNodeBuilder.h" +#include "Resource.h" +#include +#include +#include + +namespace cc { +namespace framegraph { + +namespace { +StringPool stringPool; +} + +FrameGraph::~FrameGraph() { + gc(0); +} + +StringHandle FrameGraph::stringToHandle(const char *const name) noexcept { + return stringPool.stringToHandle(name); +} + +const char *FrameGraph::handleToString(const StringHandle &handle) noexcept { + return stringPool.handleToString(handle); +} + +void FrameGraph::present(const Handle &input) noexcept { + struct PassDataPresent {}; + static const StringHandle sNamePresent = FrameGraph::stringToHandle("Present"); + const ResourceNode & resourceNode = getResourceNode(input); + CC_ASSERT(resourceNode.writer); + + addPass( + resourceNode.writer->_insertPoint, sNamePresent, + [&](PassNodeBuilder &builder, PassDataPresent &data) { + builder.read(input); + builder.sideEffect(); + }, + [](const PassDataPresent &data, const DevicePassResourceTable &table) { + }); +} + +void FrameGraph::presentLastVersion(const VirtualResource *const virtualResource) noexcept { + const auto it = std::find_if(_resourceNodes.rbegin(), _resourceNodes.rend(), [&virtualResource](const ResourceNode &node) { + return node.virtualResource == virtualResource; + }); + + CC_ASSERT(it != _resourceNodes.rend()); + present(Handle(static_cast(it.base() - _resourceNodes.begin() - 1))); +} + +void FrameGraph::presentFromBlackboard(const StringHandle &inputName) noexcept { + present(Handle(_blackboard.get(inputName))); +} + +void FrameGraph::compile() noexcept { + sort(); + cull(); + computeResourceLifetime(); + + if (_merge) { + mergePassNodes(); + } + + computeStoreActionAndMemoryless(); + generateDevicePasses(); +} + +void FrameGraph::execute() noexcept { + for (auto &pass : _devicePasses) { + pass->execute(); + } +} + +void FrameGraph::reset() noexcept { + _passNodes.clear(); + _resourceNodes.clear(); + _virtualResources.clear(); + _devicePasses.clear(); + _blackboard.clear(); +} + +void FrameGraph::gc(uint32_t const unusedFrameCount) noexcept { + Buffer::Allocator::getInstance().gc(unusedFrameCount); + Framebuffer::Allocator::getInstance().gc(unusedFrameCount); + RenderPass::Allocator::getInstance().gc(unusedFrameCount); + Texture::Allocator::getInstance().gc(unusedFrameCount); +} + +Handle FrameGraph::create(VirtualResource *const virtualResource) noexcept { + _virtualResources.emplace_back(virtualResource); + return createResourceNode(virtualResource); +} + +void FrameGraph::move(const TextureHandle from, const TextureHandle to, uint8_t mipmapLevel, uint8_t faceId, uint8_t arrayPosition) noexcept { + const ResourceNode &fromResourceNode = getResourceNode(from); + const ResourceNode &toResourceNode = getResourceNode(to); + + CC_ASSERT(!fromResourceNode.virtualResource->isImported()); + CC_ASSERT(fromResourceNode.writer); + CC_ASSERT(!toResourceNode.writer); + + const gfx::TextureInfo &toTextureDesc = static_cast *>(toResourceNode.virtualResource)->get().getDesc(); + uint const toTextureWidth = toTextureDesc.width >> mipmapLevel; + uint const toTextureHeight = toTextureDesc.height >> mipmapLevel; + uint const toTextureDepth = toTextureDesc.depth >> mipmapLevel; + + CC_ASSERT(toTextureWidth && toTextureHeight && toTextureDepth); + CC_ASSERT(toTextureDesc.levelCount > mipmapLevel && toTextureDesc.layerCount > arrayPosition); + CC_ASSERT(toTextureDesc.type == gfx::TextureType::CUBE && faceId < 6 || faceId == 0); + + for (ResourceNode &resourceNode : _resourceNodes) { + if (resourceNode.virtualResource == fromResourceNode.virtualResource) { + resourceNode.virtualResource = toResourceNode.virtualResource; + } + } + + for (const auto &passNode : _passNodes) { + for (auto &attachment : passNode->_attachments) { + const ResourceNode &attachmentResourceNode = getResourceNode(attachment.textureHandle); + + if (attachmentResourceNode.virtualResource == toResourceNode.virtualResource) { + const gfx::TextureInfo &attachmentTextureDesc = static_cast *>(attachmentResourceNode.virtualResource)->get().getDesc(); + CC_ASSERT(attachmentTextureDesc.width >> attachment.level == toTextureWidth && + attachmentTextureDesc.height >> attachment.level == toTextureHeight && + attachmentTextureDesc.depth >> attachment.level == toTextureDepth); + attachment.level = mipmapLevel; + attachment.layer = faceId; + attachment.index = arrayPosition; + } + } + } +} + +PassNode &FrameGraph::createPassNode(const PassInsertPoint insertPoint, const StringHandle &name, Executable *const pass) noexcept { + _passNodes.emplace_back(new PassNode(insertPoint, name, static_cast(_passNodes.size()), pass)); + return *_passNodes.back(); +} + +Handle FrameGraph::createResourceNode(VirtualResource *const virtualResource) noexcept { + const size_t index = _resourceNodes.size(); + ResourceNode resourceNode; + resourceNode.virtualResource = virtualResource; + resourceNode.version = virtualResource->_version; + _resourceNodes.emplace_back(resourceNode); + return Handle{static_cast(index)}; +} + +void FrameGraph::sort() noexcept { + std::stable_sort(_passNodes.begin(), _passNodes.end(), [](const auto &x, const auto &y) { + return x->_insertPoint < y->_insertPoint; + }); +} + +void FrameGraph::cull() noexcept { + for (const auto &passNode : _passNodes) { + passNode->_refCount = static_cast(passNode->_writes.size()) + passNode->_sideEffect; + + for (const Handle handle : passNode->_reads) { + CC_ASSERT(handle.isValid()); + ++_resourceNodes[handle].readerCount; + } + } + + static std::vector stack; + stack.clear(); + stack.reserve(_resourceNodes.size()); + + for (ResourceNode &resourceNode : _resourceNodes) { + if (resourceNode.readerCount == 0 && resourceNode.writer) { + stack.push_back(&resourceNode); + } + } + + while (!stack.empty()) { + PassNode *const writerPassNode = stack.back()->writer; + stack.pop_back(); + + if (writerPassNode) { + CC_ASSERT(writerPassNode->_refCount); + + if (--writerPassNode->_refCount == 0) { + CC_ASSERT(!writerPassNode->_sideEffect); + + for (const Handle handle : writerPassNode->_reads) { + ResourceNode &resourceNode = _resourceNodes[handle]; + + if (--resourceNode.readerCount == 0) { + stack.push_back(&resourceNode); + } + } + } + } + } + + for (const ResourceNode &resourceNode : _resourceNodes) { + resourceNode.virtualResource->_refCount += resourceNode.readerCount; + } +} + +void FrameGraph::computeResourceLifetime() noexcept { + for (const auto &passNode : _passNodes) { + if (passNode->_refCount == 0) { + continue; + } + + for (const Handle handle : passNode->_reads) { + _resourceNodes[handle].virtualResource->updateLifetime(passNode.get()); + } + + for (const Handle handle : passNode->_writes) { + _resourceNodes[handle].virtualResource->updateLifetime(passNode.get()); + ++_resourceNodes[handle].virtualResource->_writerCount; + } + + std::sort(passNode->_attachments.begin(), passNode->_attachments.end(), RenderTargetAttachment::Sorter()); + } + + for (const auto &resource : _virtualResources) { + CC_ASSERT(!resource->_firstUsePass == !resource->_lastUsePass); + + if (!resource->_firstUsePass || !resource->_lastUsePass) { + continue; + } + + if (resource->_refCount == 0 && !resource->_lastUsePass->getRenderTargetAttachment(*this, resource.get())) { + continue; + } + + resource->_firstUsePass->_resourceRequestArray.push_back(resource.get()); + resource->_lastUsePass->_resourceReleaseArray.push_back(resource.get()); + } +} + +void FrameGraph::mergePassNodes() noexcept { + const size_t count = _passNodes.size(); + size_t currentPassId = 0; + size_t lastPassId = 0; + + while (currentPassId < count) { + const auto ¤tPassNode = _passNodes[currentPassId]; + + if (currentPassNode->_refCount) { + break; + } + + ++currentPassId; + } + + lastPassId = currentPassId; + + while (++currentPassId < count) { + const auto ¤tPassNode = _passNodes[currentPassId]; + + if (currentPassNode->_refCount == 0) { + continue; + } + + const auto &lastPassNode = _passNodes[lastPassId]; + + if (lastPassNode->canMerge(*this, *currentPassNode)) { + auto *prevPassNode = lastPassNode.get(); + + uint16_t distance = 1; + + while (prevPassNode->_next) { + prevPassNode = prevPassNode->_next; + ++distance; + } + + prevPassNode->_next = currentPassNode.get(); + currentPassNode->_head = lastPassNode.get(); + currentPassNode->_distanceToHead = distance; + currentPassNode->_refCount = 0; + + const size_t attachmentCount = lastPassNode->_attachments.size(); + + for (size_t i = 0; i < attachmentCount; ++i) { + const RenderTargetAttachment &attachmentInLastPassNode = lastPassNode->_attachments[i]; + const RenderTargetAttachment &attachmentInCurrentPassNode = currentPassNode->_attachments[i]; + + ResourceNode &resourceNode = _resourceNodes[attachmentInLastPassNode.textureHandle]; + uint16_t & writeCount = resourceNode.virtualResource->_writerCount; + CC_ASSERT(writeCount > 1); + --writeCount; + + resourceNode.readerCount += _resourceNodes[attachmentInCurrentPassNode.textureHandle].readerCount; + resourceNode.readerCount -= attachmentInCurrentPassNode.desc.loadOp == gfx::LoadOp::LOAD; + } + } else { + lastPassId = currentPassId; + } + } +} + +void FrameGraph::computeStoreActionAndMemoryless() noexcept { + ID passId = 0; + bool lastPassSubPassEnable = false; + + for (const auto &passNode : _passNodes) { + if (passNode->_refCount == 0) { + continue; + } + + ID const oldPassId = passId; + passId += passNode->_subpass == false || lastPassSubPassEnable != passNode->_subpass; + passId += oldPassId == passId ? passNode->_hasClearedAttachment * !passNode->_clearActionIgnoreable : 0; + passNode->setDevicePassId(passId); + lastPassSubPassEnable = passNode->_subpass && !passNode->_subpassEnd; + } + + const PassNode * lastPassNode = nullptr; + static std::set renderTargets; + renderTargets.clear(); + + for (const auto &passNode : _passNodes) { + if (passNode->_refCount == 0) { + continue; + } + + for (RenderTargetAttachment &attachment : passNode->_attachments) { + CC_ASSERT(attachment.textureHandle.isValid()); + ResourceNode &resourceNode = getResourceNode(attachment.textureHandle); + + if (resourceNode.virtualResource->isImported() || resourceNode.readerCount) { + if (passNode->_subpass) { + if (passNode->_devicePassId != resourceNode.virtualResource->_lastUsePass->_devicePassId) { + attachment.storeOp = gfx::StoreOp::STORE; + } + } else { + if (attachment.desc.writeMask) { + attachment.storeOp = gfx::StoreOp::STORE; + } + } + } + + if (passNode->_subpass && attachment.desc.loadOp == gfx::LoadOp::LOAD && resourceNode.version > 1) { + ResourceNode *const resourceNodePrevVersion = getResourceNode(resourceNode.virtualResource, resourceNode.version - 1); + CC_ASSERT(resourceNodePrevVersion); + + if (resourceNodePrevVersion->writer->_devicePassId == passNode->_devicePassId) { + attachment.desc.loadOp = gfx::LoadOp::DISCARD; + resourceNodePrevVersion->writer->getRenderTargetAttachment(*this, resourceNodePrevVersion->virtualResource)->storeOp = gfx::StoreOp::DISCARD; + } + } + + if (attachment.desc.loadOp == gfx::LoadOp::LOAD) { + resourceNode.virtualResource->_neverLoaded = false; + } + + if (attachment.storeOp == gfx::StoreOp::STORE) { + resourceNode.virtualResource->_neverStored = false; + } + + renderTargets.emplace(resourceNode.virtualResource); + } + + lastPassNode = passNode.get(); + } + + for (VirtualResource *const renderTarget : renderTargets) { + const gfx::TextureInfo &textureDesc = static_cast *>(renderTarget)->get().getDesc(); + + renderTarget->_memoryless = renderTarget->_neverLoaded && renderTarget->_neverStored; + renderTarget->_memorylessMSAA = textureDesc.samples != gfx::SampleCount::X1 && renderTarget->_writerCount < 2; + // TODO: memoryless gfx::Texture + } +} + +void FrameGraph::generateDevicePasses() noexcept { + Buffer::Allocator::getInstance().tick(); + Framebuffer::Allocator::getInstance().tick(); + RenderPass::Allocator::getInstance().tick(); + Texture::Allocator::getInstance().tick(); + + ID passId = 1; + + static std::vector subPassNodes; + subPassNodes.clear(); + + for (const auto &passNode : _passNodes) { + if (passNode->_refCount == 0) { + continue; + } + + if (passId != passNode->_devicePassId) { + _devicePasses.emplace_back(new DevicePass(*this, subPassNodes)); + + for (PassNode *const p : subPassNodes) { + p->releaseTransientResources(); + } + + subPassNodes.clear(); + passId = passNode->_devicePassId; + } + + passNode->requestTransientResources(); + subPassNodes.emplace_back(passNode.get()); + } + + CC_ASSERT(subPassNodes.size() == 1); + static const StringHandle sNamePresent = FrameGraph::stringToHandle("Present"); + + if (subPassNodes.back()->_name != sNamePresent) { + _devicePasses.emplace_back(new DevicePass(*this, subPassNodes)); + + for (PassNode *const p : subPassNodes) { + p->releaseTransientResources(); + } + } +} + +// https://dreampuf.github.io/GraphvizOnline/ +void FrameGraph::exportGraphViz(const std::string &path) { + std::ofstream out(path, std::ios::out | std::ios::binary); + //out.imbue(std::locale("chs", std::locale::ctype)); + + if (out.fail()) { + return; + } + + out << "digraph framegraph {\n"; + out << "rankdir = LR\n"; + out << "bgcolor = black\n"; + out << "node [shape=rectangle, fontname=\"helvetica\", fontsize=10]\n\n"; + + for (const auto &node : _passNodes) { + if (node->_head) { + continue; + } + + out << "\"P" << node->_id << "\" [label=\"" << node->_name.str(); + + const PassNode *currPassNode = node.get(); + + if (currPassNode->_head) { + out << "\\n(merged by pass " << currPassNode->_head->_name.str() << ")"; + } else { + while (currPassNode->_next) { + currPassNode = currPassNode->_next; + out << " & " << currPassNode->_name.str(); + } + } + + out << "\\nrefs: " << node->_refCount + << "\\nseq: " << node->_id + << "\\ndevice pass id: " << node->_devicePassId + << "\", style=filled, fillcolor=" + << (node->_refCount ? "darkorange" : "darkorange4") << "]\n"; + } + + out << "\n"; + + for (const ResourceNode &node : _resourceNodes) { + if (node.writer && node.writer->_head) { + continue; + } + + out << "\"R" << node.virtualResource->_id << "_" << +node.version << "\"" + "[label=\"" + << node.virtualResource->_name.str() << "\\n(version: " << +node.version << ")" + << "\\nrefs:" << node.virtualResource->_refCount; + + if (node.virtualResource->_memoryless) { + out << "\\nMemoryless"; + } + + if (node.virtualResource->_memorylessMSAA) { + out << "\\nMemorylessMSAA"; + } + + PassNode *const writer = (node.writer && node.writer->_head) ? node.writer->_head : node.writer; + + if (writer) { + out << "\\n"; + const RenderTargetAttachment *const attachment = writer->getRenderTargetAttachment(*this, node.virtualResource); + + if (attachment) { + switch (attachment->desc.loadOp) { + case gfx::LoadOp::DISCARD: + out << "Discard"; + break; + case gfx::LoadOp::CLEAR: + out << "Clear"; + break; + default: + out << "Load"; + break; + } + out << ", "; + out << (attachment->storeOp == gfx::StoreOp::DISCARD ? "DontCare" : "Store"); + out << "\\nWriteMask: 0x" << std::hex << (uint32_t)attachment->desc.writeMask << std::dec; + } else { + out << "Transfer"; + } + } + + out << "\", style=filled, fillcolor=" + << ((node.virtualResource->isImported()) ? (node.virtualResource->_refCount ? "palegreen" : "palegreen4") : node.version == 0 ? "pink" : (node.virtualResource->_refCount ? "skyblue" : "skyblue4")) + << "]\n"; + } + + out << "\n"; + + for (const auto &node : _passNodes) { + if (node->_head) { + continue; + } + + out << "P" << node->_id << " -> { "; + + for (const Handle writer : node->_writes) { + out << "R" << _resourceNodes[writer].virtualResource->_id << "_" << +_resourceNodes[writer].version << " "; + } + + out << "} [color=red]\n"; + } + + out << "\n"; + + for (const ResourceNode &node : _resourceNodes) { + if (node.writer && node.writer->_head) { + continue; + } + + out << "R" << node.virtualResource->_id << "_" << +node.version << " -> { "; + + for (const auto &passNode : _passNodes) { + if (passNode->_head) { + continue; + } + + for (Handle read : passNode->_reads) { + const ResourceNode *readResourceNode = &_resourceNodes[read]; + + if (readResourceNode->writer && readResourceNode->writer->_head) { + const Handle resourceNodeHandlePrevVersion = readResourceNode->writer->_head->getWriteResourceNodeHandle(*this, readResourceNode->virtualResource); + CC_ASSERT(resourceNodeHandlePrevVersion.isValid()); + readResourceNode = &getResourceNode(resourceNodeHandlePrevVersion); + } + + if (readResourceNode->virtualResource->_id == node.virtualResource->_id && + readResourceNode->version == node.version) { + out << "P" << passNode->_id << " "; + } + } + } + + out << "} [color=green]\n"; + } + + for (const ResourceNode &node : _resourceNodes) { + if (node.writer && node.writer->_head) { + continue; + } + + out << "R" << node.virtualResource->_id << "_" << +node.version << " -> { "; + + for (const auto &passNode : _passNodes) { + if (passNode->_head) { + continue; + } + + for (const RenderTargetAttachment &attachment : passNode->_attachments) { + const ResourceNode *readResourceNode = &_resourceNodes[attachment.textureHandle]; + uint16_t const distanceToHead = readResourceNode->writer->_distanceToHead; + + if (readResourceNode->writer && readResourceNode->writer->_head) { + const Handle resourceNodeHandleHead = readResourceNode->writer->_head->getWriteResourceNodeHandle(*this, readResourceNode->virtualResource); + CC_ASSERT(resourceNodeHandleHead.isValid()); + readResourceNode = &getResourceNode(resourceNodeHandleHead); + } + + if (readResourceNode->virtualResource == node.virtualResource && + readResourceNode->version == node.version + 1 - distanceToHead) { + out << "P" << passNode->_id << " "; + } + } + } + + out << "} [color=red4]\n"; + } + + out << "}" << std::endl; + out.close(); +} + +ResourceNode *FrameGraph::getResourceNode(const VirtualResource *const virtualResource, uint8_t version) noexcept { + const auto it = std::find_if(_resourceNodes.begin(), _resourceNodes.end(), [&](const ResourceNode &node) { + return node.version == version && node.virtualResource == virtualResource; + }); + + return it == _resourceNodes.end() ? nullptr : &(*it); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/FrameGraph.h b/native/cocos/renderer/frame-graph/FrameGraph.h new file mode 100644 index 0000000000..d79a599640 --- /dev/null +++ b/native/cocos/renderer/frame-graph/FrameGraph.h @@ -0,0 +1,145 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "Blackboard.h" +#include "CallbackPass.h" +#include "DevicePass.h" +#include "PassNode.h" +#include "PassNodeBuilder.h" +#include "ResourceEntry.h" +#include "ResourceNode.h" +#include +#include +#include + +namespace cc { +namespace framegraph { + +class FrameGraph final { +public: + using ResourceHandleBlackboard = Blackboard; + + FrameGraph() = default; + ~FrameGraph(); + FrameGraph(const FrameGraph &) = delete; + FrameGraph(FrameGraph &&) = delete; + FrameGraph &operator=(const FrameGraph &) = delete; + FrameGraph &operator=(FrameGraph &&) = delete; + + static StringHandle stringToHandle(const char *const name) noexcept; + static const char * handleToString(const StringHandle &handle) noexcept; + + void present(const Handle &input) noexcept; + void presentLastVersion(const VirtualResource *const virtualResource) noexcept; + void presentFromBlackboard(const StringHandle &inputName) noexcept; + void compile() noexcept; + void execute() noexcept; + void reset() noexcept; + static void gc(uint32_t const unusedFrameCount = 30) noexcept; + + template + CallbackPass const &addPass(const PassInsertPoint insertPoint, const StringHandle &name, SetupMethod setup, ExecuteMethod &&execute) noexcept; + + template + TypedHandle create(const StringHandle &name, typename const ResourceType::Descriptor &desc) noexcept; + Handle create(VirtualResource *const virtualResource) noexcept; + template + TypedHandle importExternal(const StringHandle &name, ResourceType &resource) noexcept; + void move(const TextureHandle from, const TextureHandle to, uint8_t mipmapLevel, uint8_t faceId, uint8_t arrayPosition) noexcept; + + CC_INLINE ResourceNode &getResourceNode(const Handle handle) noexcept { return _resourceNodes[handle]; } + CC_INLINE const ResourceNode &getResourceNode(const Handle handle) const noexcept { return _resourceNodes[handle]; } + CC_INLINE ResourceHandleBlackboard &getBlackboard() noexcept { return _blackboard; } + + void exportGraphViz(const std::string &path); + CC_INLINE void enableMerge(bool const enable) noexcept; + +private: + PassNode & createPassNode(const PassInsertPoint insertPoint, const StringHandle &name, Executable *const pass) noexcept; + Handle createResourceNode(VirtualResource *const virtualResource) noexcept; + void sort() noexcept; + void cull() noexcept; + void computeResourceLifetime() noexcept; + void mergePassNodes() noexcept; + void computeStoreActionAndMemoryless() noexcept; + void generateDevicePasses() noexcept; + ResourceNode *getResourceNode(const VirtualResource *const virtualResource, uint8_t version) noexcept; + + std::vector> _passNodes{}; + std::vector _resourceNodes{}; + std::vector> _virtualResources{}; + std::vector> _devicePasses{}; + ResourceHandleBlackboard _blackboard; + bool _merge{false}; + + friend class PassNode; + friend class PassNodeBuilder; +}; + +////////////////////////////////////////////////////////////////////////// + +template +const CallbackPass &FrameGraph::addPass(const PassInsertPoint insertPoint, const StringHandle &name, SetupMethod setup, ExecuteMethod &&execute) noexcept { + static_assert(sizeof(ExecuteMethod) < 1024, "Execute() lambda is capturing too much data."); + auto *const pass = new CallbackPass(std::forward(execute)); + PassNode & passNode = createPassNode(insertPoint, name, pass); + PassNodeBuilder builder(*this, passNode); + setup(builder, pass->getData()); + return *pass; +} + +template +TypedHandle FrameGraph::create(const StringHandle &name, typename const ResourceType::Descriptor &desc) noexcept { + auto *const virtualResource = new ResourceEntry(name, static_cast(_virtualResources.size()), desc); + return TypedHandle(create(virtualResource)); +} + +template +TypedHandle FrameGraph::importExternal(const StringHandle &name, ResourceType &resource) noexcept { + //CC_ASSERT(resource.Get()); // back buffer doesn't have a device resource instance, for now + auto *const virtualResource = new ResourceEntry(name, static_cast(_virtualResources.size()), resource); + return TypedHandle(create(virtualResource)); +} + +void FrameGraph::enableMerge(bool const enable) noexcept { + _merge = enable; +} + +////////////////////////////////////////////////////////////////////////// + +template +void PassNodeBuilder::create(TypedHandle &handle, const StringHandle &name, typename const ResourceType::Descriptor &desc) const noexcept { + handle = _graph.create(name, desc); +} + +template +void PassNodeBuilder::importExternal(TypedHandle &handle, const StringHandle &name, ResourceType &resource) const noexcept { + handle = _graph.importExternal(name, resource); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/Handle.h b/native/cocos/renderer/frame-graph/Handle.h new file mode 100644 index 0000000000..62fb410dc2 --- /dev/null +++ b/native/cocos/renderer/frame-graph/Handle.h @@ -0,0 +1,46 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/IndexHandle.h" +#include "base/StringPool.h" + +namespace cc { +namespace framegraph { + +using Handle = cc::IndexHandle; +using StringHandle = cc::StringHandle; +using StringPool = cc::StringPool; + +template +class TypedHandle final : public Handle { +public: + using Type = T; + using Handle::Handle; +}; + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/PassInsertPointManager.cpp b/native/cocos/renderer/frame-graph/PassInsertPointManager.cpp new file mode 100644 index 0000000000..ae9d0acdd4 --- /dev/null +++ b/native/cocos/renderer/frame-graph/PassInsertPointManager.cpp @@ -0,0 +1,58 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "PassInsertPointManager.h" +#include "base/Macros.h" + +namespace cc { +namespace framegraph { + +PassInsertPointManager &PassInsertPointManager::getInstance() noexcept { + static PassInsertPointManager instance; + return instance; +} + +PassInsertPoint PassInsertPointManager::record(const char *const name, const PassInsertPoint point) noexcept { + StringHandle nameHandle = _stringPool.find(name); + + if (nameHandle.isValid()) { + CC_ASSERT(point == get(nameHandle)); + return get(nameHandle); + } else { + nameHandle = _stringPool.stringToHandle(name); + CC_ASSERT(nameHandle == _insertPoints.size()); + _insertPoints.emplace_back(point); + return point; + } +} + +PassInsertPoint PassInsertPointManager::get(const char *const name) const noexcept { + const StringHandle nameHandle = _stringPool.find(name); + CC_ASSERT(nameHandle.isValid()); + return get(nameHandle); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/PassInsertPointManager.h b/native/cocos/renderer/frame-graph/PassInsertPointManager.h new file mode 100644 index 0000000000..9fc263af6d --- /dev/null +++ b/native/cocos/renderer/frame-graph/PassInsertPointManager.h @@ -0,0 +1,66 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "Handle.h" +#include "base/Macros.h" +#include + +namespace cc { +namespace framegraph { + +using PassInsertPoint = uint16_t; + +class PassInsertPointManager final { +public: + PassInsertPointManager(const PassInsertPointManager &) = delete; + PassInsertPointManager(PassInsertPointManager &&) = delete; + PassInsertPointManager &operator=(const PassInsertPointManager &) = delete; + PassInsertPointManager &operator=(PassInsertPointManager &&) = delete; + + static PassInsertPointManager &getInstance() noexcept; + + PassInsertPoint record(const char *const name, const PassInsertPoint point) noexcept; + PassInsertPoint get(const char *const name) const noexcept; + +private: + PassInsertPointManager() noexcept = default; + ~PassInsertPointManager() = default; + + CC_INLINE PassInsertPoint get(const StringHandle name) const noexcept; + + StringPool _stringPool; + std::vector _insertPoints{}; +}; + +////////////////////////////////////////////////////////////////////////// + +PassInsertPoint PassInsertPointManager::get(const StringHandle name) const noexcept { + return _insertPoints[name]; +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/PassNode.cpp b/native/cocos/renderer/frame-graph/PassNode.cpp new file mode 100644 index 0000000000..992a42c852 --- /dev/null +++ b/native/cocos/renderer/frame-graph/PassNode.cpp @@ -0,0 +1,200 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "PassNode.h" +#include "FrameGraph.h" +#include "ResourceNode.h" +#include + +namespace cc { +namespace framegraph { + +PassNode::PassNode(const PassInsertPoint inserPoint, const StringHandle name, const ID &id, Executable *pass) noexcept +: _pass(pass), + _name(name), + _id(id), + _insertPoint(inserPoint) { + CC_ASSERT(_name.isValid()); +} + +Handle PassNode::read(FrameGraph &graph, const Handle &input) noexcept { + CC_ASSERT(check(graph, input, _writes)); + const auto it = std::find_if(_reads.begin(), _reads.end(), [input](const Handle handle) { + return input == handle; + }); + + if (it == _reads.end()) { + _reads.push_back(input); + } + + return input; +} + +Handle PassNode::write(FrameGraph &graph, const Handle &output) noexcept { + CC_ASSERT(check(graph, output, _reads)); + CC_ASSERT(std::find_if(_writes.begin(), _writes.end(), [output](const Handle handle) { + return output == handle; + }) == _writes.end()); + + const ResourceNode &nodeOldVersion = graph.getResourceNode(output); + nodeOldVersion.virtualResource->newVersion(); + _sideEffect = nodeOldVersion.virtualResource->isImported(); + const Handle handle = graph.createResourceNode(nodeOldVersion.virtualResource); + ResourceNode &nodeNewVersion = graph.getResourceNode(handle); + nodeNewVersion.writer = this; + _writes.push_back(handle); + return handle; +} + +void PassNode::createRenderTargetAttachment(RenderTargetAttachment &&attachment) noexcept { + if (attachment.desc.usage == RenderTargetAttachment::Usage::COLOR) { + if (attachment.desc.slot == 0xff) { + for (uint8_t i = 0; i < RenderTargetAttachment::DEPTH_STENCIL_SLOT_START; ++i) { + if ((_usedRenderTargetSlotMask & (1 << i)) == 0) { + attachment.desc.slot = i; + break; + } + } + } else { + CC_ASSERT(attachment.desc.slot < RenderTargetAttachment::DEPTH_STENCIL_SLOT_START); + } + } else { + attachment.desc.slot = RenderTargetAttachment::DEPTH_STENCIL_SLOT_START + static_cast(attachment.desc.usage) - 1; + + if (attachment.desc.usage == RenderTargetAttachment::Usage::DEPTH_STENCIL) { + CC_ASSERT((_usedRenderTargetSlotMask & (1 << (RenderTargetAttachment::DEPTH_STENCIL_SLOT_START + static_cast(RenderTargetAttachment::Usage::DEPTH) - 1))) == 0); + CC_ASSERT((_usedRenderTargetSlotMask & (1 << (RenderTargetAttachment::DEPTH_STENCIL_SLOT_START + static_cast(RenderTargetAttachment::Usage::STENCIL) - 1))) == 0); + } else { + CC_ASSERT((_usedRenderTargetSlotMask & (1 << (RenderTargetAttachment::DEPTH_STENCIL_SLOT_START + static_cast(attachment.desc.usage) - 1))) == 0); + } + } + + CC_ASSERT((_usedRenderTargetSlotMask & (1 << attachment.desc.slot)) == 0); + _usedRenderTargetSlotMask |= (1 << attachment.desc.slot); + + _attachments.emplace_back(attachment); + _hasClearedAttachment = _hasClearedAttachment || (attachment.desc.loadOp == gfx::LoadOp::CLEAR); +} + +bool PassNode::canMerge(const FrameGraph &graph, const PassNode &passNode) const noexcept { + const size_t attachmentCount = _attachments.size(); + + if (passNode._hasClearedAttachment || attachmentCount != passNode._attachments.size()) { + return false; + } + + for (size_t i = 0; i < attachmentCount; ++i) { + const RenderTargetAttachment &attachmentInPassNodeA = _attachments[i]; + const RenderTargetAttachment &attachmentInPassNodeB = passNode._attachments[i]; + + if (attachmentInPassNodeA.desc.usage != attachmentInPassNodeB.desc.usage || + attachmentInPassNodeA.desc.slot != attachmentInPassNodeB.desc.slot || + attachmentInPassNodeA.desc.writeMask != attachmentInPassNodeB.desc.writeMask || + attachmentInPassNodeA.level != attachmentInPassNodeB.level || + attachmentInPassNodeA.layer != attachmentInPassNodeB.layer || + attachmentInPassNodeA.index != attachmentInPassNodeB.index || + graph.getResourceNode(attachmentInPassNodeA.textureHandle).virtualResource != graph.getResourceNode(attachmentInPassNodeB.textureHandle).virtualResource) { + return false; + } + } + + return true; +} + +RenderTargetAttachment *PassNode::getRenderTargetAttachment(const Handle &handle) noexcept { + const auto it = std::find_if(_attachments.begin(), _attachments.end(), [&handle](const RenderTargetAttachment &attachment) { + return attachment.textureHandle == handle; + }); + + return it == _attachments.end() ? nullptr : &(*it); +} + +RenderTargetAttachment *PassNode::getRenderTargetAttachment(const FrameGraph &graph, const VirtualResource *const resource) noexcept { + const auto it = std::find_if(_attachments.begin(), _attachments.end(), [&](const RenderTargetAttachment &attachment) { + return graph.getResourceNode(attachment.textureHandle).virtualResource == resource; + }); + + return it == _attachments.end() ? nullptr : &(*it); +} + +void PassNode::requestTransientResources() noexcept { + std::for_each(_resourceRequestArray.begin(), _resourceRequestArray.end(), [](VirtualResource *const resource) { + if (!resource->isImported()) { + resource->request(); + } + }); + + if (_next) { + _next->requestTransientResources(); + } +} + +void PassNode::releaseTransientResources() noexcept { + std::for_each(_resourceReleaseArray.begin(), _resourceReleaseArray.end(), [](VirtualResource *const resource) { + if (!resource->isImported()) { + resource->release(); + } + }); + + if (_next) { + _next->releaseTransientResources(); + } +} + +bool PassNode::check(FrameGraph &graph, const Handle &checkingHandle, std::vector const &handles) const noexcept { + // render target can not do both read & write + const VirtualResource *const inputResource = graph.getResourceNode(checkingHandle).virtualResource; + const auto it = std::find_if(handles.begin(), handles.end(), [&](Handle handle) { + return inputResource == graph.getResourceNode(handle).virtualResource; + }); + + if (it == handles.end()) { + return true; + } + + const Handle output = *it; + return std::find_if(_attachments.cbegin(), _attachments.cend(), [&output](const RenderTargetAttachment &attachment) { + return attachment.textureHandle == output; + }) == _attachments.end(); +} + +void PassNode::setDevicePassId(ID const id) noexcept { + _devicePassId = id; + + if (_next) { + _next->setDevicePassId(id); + } +} + +Handle PassNode::getWriteResourceNodeHandle(const FrameGraph &graph, const VirtualResource *const resource) const noexcept { + const auto it = std::find_if(_writes.begin(), _writes.end(), [&](const Handle handle) { + return graph.getResourceNode(handle).virtualResource == resource; + }); + + return it == _writes.end() ? Handle{} : *it; +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/PassNode.h b/native/cocos/renderer/frame-graph/PassNode.h new file mode 100644 index 0000000000..d2ab4621a5 --- /dev/null +++ b/native/cocos/renderer/frame-graph/PassNode.h @@ -0,0 +1,116 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "CallbackPass.h" +#include "Handle.h" +#include "PassInsertPointManager.h" +#include "RenderTargetAttachment.h" +#include "VirtualResource.h" +#include "gfx-base/GFXDef.h" +#include + +namespace cc { +namespace framegraph { + +class FrameGraph; + +class PassNode final { +public: + PassNode(const PassInsertPoint inserPoint, const StringHandle name, const ID &id, Executable *pass) noexcept; + ~PassNode() = default; + PassNode(PassNode &&) noexcept = default; + PassNode(const PassNode &) = delete; + PassNode &operator=(const PassNode &) = delete; + PassNode &operator=(PassNode &&) = delete; + + Handle read(FrameGraph &graph, const Handle &input) noexcept; + Handle write(FrameGraph &graph, const Handle &output) noexcept; + void createRenderTargetAttachment(RenderTargetAttachment &&attachment) noexcept; + CC_INLINE void sideEffect() noexcept; + CC_INLINE void subpass(bool clearActionIgnoreable, bool const end) noexcept; + CC_INLINE void setViewport(const gfx::Viewport &viewport, const gfx::Rect &scissor) noexcept; + +private: + bool canMerge(const FrameGraph &graph, const PassNode &passNode) const noexcept; + RenderTargetAttachment *getRenderTargetAttachment(const Handle &handle) noexcept; + RenderTargetAttachment *getRenderTargetAttachment(const FrameGraph &graph, const VirtualResource *const resource) noexcept; + void requestTransientResources() noexcept; + void releaseTransientResources() noexcept; + bool check(FrameGraph &graph, const Handle &checkingHandle, std::vector const &handles) const noexcept; + void setDevicePassId(ID const id) noexcept; + Handle getWriteResourceNodeHandle(const FrameGraph &graph, const VirtualResource *const resource) const noexcept; + + std::unique_ptr _pass{nullptr}; + std::vector _reads{}; + std::vector _writes{}; + std::vector _attachments{}; + std::vector _resourceRequestArray{}; + std::vector _resourceReleaseArray{}; + const StringHandle _name; + uint32_t _refCount{0}; + PassNode * _head{nullptr}; + PassNode * _next{nullptr}; + uint16_t _distanceToHead{0}; + uint16_t _usedRenderTargetSlotMask{0}; + ID const _id{0}; + ID _devicePassId{0}; + const PassInsertPoint _insertPoint{0}; + bool _sideEffect{false}; + bool _subpass{false}; + bool _subpassEnd{false}; + bool _hasClearedAttachment{false}; + bool _clearActionIgnoreable{false}; + + bool _customViewport{false}; + gfx::Viewport _viewport; + gfx::Rect _scissor; + + friend class FrameGraph; + friend class DevicePass; + friend class DevicePassResourceTable; +}; + +////////////////////////////////////////////////////////////////////////// + +void PassNode::sideEffect() noexcept { + _sideEffect = true; +} + +void PassNode::subpass(bool clearActionIgnoreable, bool const end) noexcept { + _subpass = true; + _clearActionIgnoreable = clearActionIgnoreable; + _subpassEnd = end; +} + +void PassNode::setViewport(const gfx::Viewport &viewport, const gfx::Rect &scissor) noexcept { + _customViewport = true; + _viewport = viewport; + _scissor = scissor; +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/PassNodeBuilder.cpp b/native/cocos/renderer/frame-graph/PassNodeBuilder.cpp new file mode 100644 index 0000000000..1c5d9601ca --- /dev/null +++ b/native/cocos/renderer/frame-graph/PassNodeBuilder.cpp @@ -0,0 +1,72 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "PassNodeBuilder.h" +#include "FrameGraph.h" + +namespace cc { +namespace framegraph { + +PassNodeBuilder::PassNodeBuilder(FrameGraph &graph, PassNode &passNode) noexcept +: _graph(graph), + _passNode(passNode) { +} + +Handle PassNodeBuilder::read(const Handle &input) const noexcept { + return _passNode.read(_graph, input); +} + +TextureHandle PassNodeBuilder::write(const TextureHandle &output, uint8_t mipmapLevel, uint8_t faceId, uint8_t arrayPosition, const RenderTargetAttachment::Descriptor &attachmentDesc) const noexcept { + const TextureHandle handle(_passNode.write(_graph, output)); + RenderTargetAttachment attachment; + attachment.textureHandle = handle; + attachment.desc = attachmentDesc; + attachment.level = mipmapLevel; + attachment.layer = faceId; + attachment.index = arrayPosition; + _passNode.createRenderTargetAttachment(std::forward(attachment)); + + if (attachmentDesc.loadOp == gfx::LoadOp::LOAD) { + ResourceNode &outputResourceNode = _graph.getResourceNode(output); + ++outputResourceNode.readerCount; + } + + return handle; +} + +TextureHandle PassNodeBuilder::write(const TextureHandle &output, const RenderTargetAttachment::Descriptor &attachmentDesc) const noexcept { + return write(output, 0, 0, 0, attachmentDesc); +} + +void PassNodeBuilder::writeToBlackboard(const StringHandle &name, const Handle &handle) const noexcept { + _graph.getBlackboard().put(name, handle); +} + +Handle PassNodeBuilder::readFromBlackboard(const StringHandle &name) const noexcept { + return Handle(_graph.getBlackboard().get(name)); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/PassNodeBuilder.h b/native/cocos/renderer/frame-graph/PassNodeBuilder.h new file mode 100644 index 0000000000..9f01a0b85b --- /dev/null +++ b/native/cocos/renderer/frame-graph/PassNodeBuilder.h @@ -0,0 +1,92 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "PassNode.h" + +namespace cc { +namespace framegraph { + +class PassNodeBuilder final { +public: + PassNodeBuilder(FrameGraph &graph, PassNode &passNode) noexcept; + PassNodeBuilder() = delete; + ~PassNodeBuilder() = default; + PassNodeBuilder(const PassNodeBuilder &) = delete; + PassNodeBuilder(PassNodeBuilder &&) = delete; + PassNodeBuilder &operator=(const PassNodeBuilder &) = delete; + PassNodeBuilder &operator=(PassNodeBuilder &&) = delete; + + template + void create(TypedHandle &handle, const StringHandle &name, typename const ResourceType::Descriptor &desc) const noexcept; + template + void importExternal(TypedHandle &handle, const StringHandle &name, ResourceType &resource) const noexcept; + template + TypedHandle read(TypedHandle const &input) const noexcept; + Handle read(const Handle &input) const noexcept; + template + TypedHandle write(TypedHandle const &output) const noexcept; + TextureHandle write(const TextureHandle &output, uint8_t mipmapLevel, uint8_t faceId, uint8_t arrayPosition, const RenderTargetAttachment::Descriptor &attachmentDesc) const noexcept; + TextureHandle write(const TextureHandle &output, const RenderTargetAttachment::Descriptor &attachmentDesc) const noexcept; + + CC_INLINE void sideEffect() const noexcept; + CC_INLINE void subpass(bool clearActionIgnoreable, bool const end) const noexcept; + CC_INLINE void setViewport(const gfx::Viewport &viewport, const gfx::Rect &scissor) noexcept; + + void writeToBlackboard(const StringHandle &name, const Handle &handle) const noexcept; + Handle readFromBlackboard(const StringHandle &name) const noexcept; + +private: + FrameGraph &_graph; + PassNode & _passNode; +}; + +////////////////////////////////////////////////////////////////////////// + +template +TypedHandle PassNodeBuilder::read(TypedHandle const &input) const noexcept { + return TypedHandle(read(static_cast(input))); +} + +template +TypedHandle PassNodeBuilder::write(TypedHandle const &output) const noexcept { + return TypedHandle(_passNode.write(_graph, output)); +} + +void PassNodeBuilder::sideEffect() const noexcept { + _passNode.sideEffect(); +} + +void PassNodeBuilder::subpass(bool clearActionIgnoreable, bool const end) const noexcept { + _passNode.subpass(clearActionIgnoreable, end); +} + +void PassNodeBuilder::setViewport(const gfx::Viewport &viewport, const gfx::Rect &scissor) noexcept { + _passNode.setViewport(viewport, scissor); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/RenderTargetAttachment.h b/native/cocos/renderer/frame-graph/RenderTargetAttachment.h new file mode 100644 index 0000000000..603e9d63bd --- /dev/null +++ b/native/cocos/renderer/frame-graph/RenderTargetAttachment.h @@ -0,0 +1,83 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "Resource.h" + +namespace cc { +namespace framegraph { + +struct RenderTargetAttachment final { + using StoreOp = gfx::StoreOp; + using LoadOp = gfx::LoadOp; + using Color = gfx::Color; + + enum class Usage : uint8_t { + COLOR, + DEPTH, + STENCIL, + DEPTH_STENCIL, + }; + + struct Descriptor final { + Usage usage{Usage::COLOR}; + uint8_t slot{0xff}; + uint8_t writeMask{0xff}; + LoadOp loadOp{LoadOp::DISCARD}; + Color clearColor; + float clearDepth{1.f}; + uint8_t clearStencil{0u}; + + std::vector beginAccesses; + std::vector endAccesses; + }; + + struct Sorter { + CC_INLINE bool operator()(const RenderTargetAttachment &a1, const RenderTargetAttachment &a2) const noexcept; + }; + + static constexpr uint8_t DEPTH_STENCIL_SLOT_START{13}; + + TextureHandle textureHandle{}; + Descriptor desc; + uint8_t level{0}; + uint8_t layer{0}; + uint8_t index{0}; + StoreOp storeOp{StoreOp::DISCARD}; +}; + +CC_INLINE bool RenderTargetAttachment::Sorter::operator()(const RenderTargetAttachment &a1, const RenderTargetAttachment &a2) const noexcept { + if (a1.desc.usage < a2.desc.usage) { + return true; + } else if (a1.desc.usage == a2.desc.usage) { + return a1.desc.slot < a2.desc.slot; + } else { + return false; + } +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/Resource.h b/native/cocos/renderer/frame-graph/Resource.h new file mode 100644 index 0000000000..f4d85e565e --- /dev/null +++ b/native/cocos/renderer/frame-graph/Resource.h @@ -0,0 +1,174 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "ResourceAllocator.h" + +#include "Handle.h" +#include "renderer/gfx-base/GFXBuffer.h" +#include "renderer/gfx-base/GFXDevice.h" +#include "renderer/gfx-base/GFXFramebuffer.h" +#include "renderer/gfx-base/GFXGlobalBarrier.h" +#include "renderer/gfx-base/GFXRenderPass.h" +#include "renderer/gfx-base/GFXTexture.h" +#include "renderer/gfx-base/GFXTextureBarrier.h" + +namespace cc { +namespace framegraph { + +template +struct ResourceDescriptorHasher final { + CC_INLINE uint32_t operator()(const DescriptorType &desc) const noexcept { + return 1; + } +}; + +template +struct DeviceResourceCreator final { + CC_INLINE DeviceResourceType *operator()(const DescriptorType &desc) const noexcept { + return nullptr; + } +}; + +template , + typename DescriptorHasherType = ResourceDescriptorHasher> +class Resource final { +public: + using Allocator = ResourceAllocator; + using DescriptorHash = typename Allocator::DescriptorHash; + using DeviceResource = DeviceResourceType; + using Descriptor = DescriptorType; + using DescriptorHasher = DescriptorHasherType; + + Resource() noexcept = default; + explicit Resource(const Descriptor &desc) noexcept; + ~Resource() = default; + Resource(const Resource &) = default; + Resource(Resource &&) = default; + Resource &operator=(const Resource &) = default; + Resource &operator=(Resource &&) = default; + + void createTransient() noexcept; + void createPersistent() noexcept; + void destroyTransient() noexcept; + void destroyPersistent() noexcept; + CC_INLINE DeviceResourceType *get() const noexcept; + CC_INLINE const Descriptor &getDesc() const noexcept; + +private: + void computeHash() noexcept; + + Descriptor _desc; + DescriptorHash _hash{0}; + DeviceResourceType *_deviceObject{nullptr}; +}; + +////////////////////////////////////////////////////////////////////////// + +template +Resource::Resource(const Descriptor &desc) noexcept +: _desc(desc) { +} + +template +void Resource::createTransient() noexcept { + computeHash(); + _deviceObject = Allocator::getInstance().alloc(_desc, _hash); +} + +template +void Resource::createPersistent() noexcept { + computeHash(); + + if (!_deviceObject) { + DeviceResourceCreatorType creator; + _deviceObject = creator(_desc); + } +} + +template +void Resource::destroyTransient() noexcept { + CC_ASSERT(_hash); + Allocator::getInstance().free(_desc, _hash, _deviceObject); + _deviceObject = nullptr; +} + +template +void Resource::destroyPersistent() noexcept { + if (_deviceObject) { + delete _deviceObject; + _deviceObject = nullptr; + } +} + +template +DeviceResourceType *Resource::get() const noexcept { + return _deviceObject; +} + +template +const DescriptorType &Resource::getDesc() const noexcept { + return _desc; +} + +template +void Resource::computeHash() noexcept { + if (!_hash) { + DescriptorHasher hasher; + _hash = hasher(_desc); + } +} + +////////////////////////////////////////////////////////////////////////// + +#define DEFINE_GFX_RESOURCE(Type) \ + template <> \ + struct ResourceDescriptorHasher final { \ + CC_INLINE uint32_t operator()(const gfx::Type##Info &desc) const noexcept { \ + return gfx::Type::computeHash(desc); \ + } \ + }; \ + \ + template <> \ + struct DeviceResourceCreator final { \ + CC_INLINE gfx::Type *operator()(const gfx::Type##Info &desc) const noexcept { \ + return gfx::Device::getInstance()->create##Type(desc); \ + } \ + }; \ + \ + using Type = Resource; \ + using Type##Handle = TypedHandle; + +DEFINE_GFX_RESOURCE(Buffer) +DEFINE_GFX_RESOURCE(Framebuffer) +DEFINE_GFX_RESOURCE(GlobalBarrier) +DEFINE_GFX_RESOURCE(RenderPass) +DEFINE_GFX_RESOURCE(Texture) +DEFINE_GFX_RESOURCE(TextureBarrier) + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/ResourceAllocator.h b/native/cocos/renderer/frame-graph/ResourceAllocator.h new file mode 100644 index 0000000000..67cdb817dc --- /dev/null +++ b/native/cocos/renderer/frame-graph/ResourceAllocator.h @@ -0,0 +1,202 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include +#include "base/memory/Memory.h" + +namespace cc { +namespace framegraph { + +template +class ResourceAllocator final { +public: + using DescriptorHash = uint32_t; + using DeviceResourceCreator = DeviceResourceCreatorType; + + ResourceAllocator(const ResourceAllocator &) = delete; + ResourceAllocator(ResourceAllocator &&) = delete; + ResourceAllocator &operator=(const ResourceAllocator &) = delete; + ResourceAllocator &operator=(ResourceAllocator &&) = delete; + + static ResourceAllocator &getInstance() noexcept; + DeviceResourceType * alloc(const DescriptorType &desc, DescriptorHash const key) noexcept; + void free(const DescriptorType &desc, DescriptorHash const key, DeviceResourceType *const resource) noexcept; + CC_INLINE void tick() noexcept; + void gc(uint32_t const unusedFrameCount) noexcept; + +private: + using DeviceResourcePtr = DeviceResourceType *; + + struct Bucket { + explicit Bucket(DescriptorHash const key) noexcept : key(key) {} + + using Pool = std::vector; + DescriptorHash key{0}; + Pool pool{}; + }; + + struct BucketGC final : public Bucket { + using Bucket::Bucket; + std::vector ages{}; + }; + + ResourceAllocator() noexcept = default; + ~ResourceAllocator() = default; + template + typename Bucket::Pool *getPool(DescriptorHash const key, Cache &from) noexcept; + BucketGC & getBucketGC(DescriptorHash const key) noexcept; + + std::vector _free{}; + std::vector _inUse{}; + uint64_t _age{0}; +}; + +////////////////////////////////////////////////////////////////////////// + +template +ResourceAllocator &ResourceAllocator::getInstance() noexcept { + static ResourceAllocator instance; + return instance; +} + +template +DeviceResourceType *ResourceAllocator::alloc(const DescriptorType &desc, DescriptorHash const key) noexcept { + auto it = std::find_if(_free.begin(), _free.end(), [&key](const BucketGC &x) { + return key == x.key; + }); + + if (it == _free.end()) { + _free.emplace_back(key); + _inUse.emplace_back(key); + it = _free.end() - 1; + } + + DeviceResourcePtr resource = nullptr; + + if (it->pool.empty()) { + DeviceResourceCreator creator; + resource = creator(desc); + } else { + resource = it->pool.back(); + it->pool.pop_back(); + it->ages.pop_back(); + } + + getPool(key, _inUse)->emplace_back(resource); + return resource; +} + +template +void ResourceAllocator::free(const DescriptorType &desc, DescriptorHash const key, DeviceResourceType *const resource) noexcept { + auto *pool = getPool(key, _inUse); + CC_ASSERT(!pool->empty()); + + auto it = std::find_if(pool->begin(), pool->end(), [&resource](DeviceResourcePtr x) { + return resource == x; + }); + CC_ASSERT(it != pool->end()); + pool->erase(it); + + auto &freeBucket = getBucketGC(key); + freeBucket.pool.emplace_back(resource); + freeBucket.ages.emplace_back(_age); +} + +template +void ResourceAllocator::tick() noexcept { + ++_age; +} + +template +void ResourceAllocator::gc(uint32_t const unusedFrameCount) noexcept { + std::for_each(_free.begin(), _free.end(), [&](BucketGC &bucket) { + const size_t count = bucket.ages.size(); + + if (!count) { + return; + } + + size_t destroyBegin = count - 1; + + for (size_t i = 0; i < count; ++i) { + if (_age - bucket.ages[i] < unusedFrameCount) { + continue; + } + + size_t j = destroyBegin; + + for (; j > i; --j) { + if (_age - bucket.ages[j] < unusedFrameCount) { + std::swap(bucket.ages[i], bucket.ages[j]); + std::swap(bucket.pool[i], bucket.pool[j]); + destroyBegin = j - 1; + break; + } + } + + if (i >= j) { + destroyBegin = i - 1; + } + + if (i >= destroyBegin) { + break; + } + } + + while (++destroyBegin < count) { + CC_SAFE_DESTROY(bucket.pool.back()); + bucket.pool.pop_back(); + bucket.ages.pop_back(); + } + }); +} + +template +template +typename ResourceAllocator::Bucket::Pool * +ResourceAllocator::getPool( + DescriptorHash const key, Cache &from) noexcept { + auto it = std::find_if(from.begin(), from.end(), [&key](const Bucket &x) { + return key == x.key; + }); + + return it == from.end() ? nullptr : &it->pool; +} + +template +typename ResourceAllocator::BucketGC & +ResourceAllocator::getBucketGC(DescriptorHash const key) noexcept { + auto it = std::find_if(_free.begin(), _free.end(), [&key](const BucketGC &x) { + return key == x.key; + }); + + CC_ASSERT(it != _free.end()); + return *it; +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/ResourceEntry.h b/native/cocos/renderer/frame-graph/ResourceEntry.h new file mode 100644 index 0000000000..ca987af7b5 --- /dev/null +++ b/native/cocos/renderer/frame-graph/ResourceEntry.h @@ -0,0 +1,85 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "VirtualResource.h" + +namespace cc { +namespace framegraph { + +template ::value>> +class ResourceEntry final : public VirtualResource { +public: + explicit ResourceEntry(const StringHandle name, ID const id, typename const ResourceType::Descriptor &desc) noexcept; + ResourceEntry(const StringHandle name, ID const id, const ResourceType &resource) noexcept; + ResourceEntry() = delete; + ~ResourceEntry() = default; + ResourceEntry(const ResourceEntry &) = delete; + ResourceEntry(ResourceEntry &&) = delete; + ResourceEntry &operator=(const ResourceEntry &) = delete; + ResourceEntry &operator=(ResourceEntry &&) = delete; + + void request() noexcept override; + void release() noexcept override; + typename ResourceType::DeviceResource *getDeviceResource() const noexcept override; + + CC_INLINE const ResourceType &get() const noexcept { return _resource; } + +private: + ResourceType _resource; +}; + +////////////////////////////////////////////////////////////////////////// + +template +ResourceEntry::ResourceEntry(const StringHandle name, ID const id, typename const ResourceType::Descriptor &desc) noexcept +: VirtualResource(name, id, false), + _resource(desc) { +} + +template +ResourceEntry::ResourceEntry(const StringHandle name, ID const id, const ResourceType &resource) noexcept +: VirtualResource(name, id, true), + _resource(resource) { +} + +template +void ResourceEntry::request() noexcept { + _resource.createTransient(); +} + +template +void ResourceEntry::release() noexcept { + _resource.destroyTransient(); +} + +template +typename ResourceType::DeviceResource *ResourceEntry::getDeviceResource() const noexcept { + return _resource.get(); +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/ResourceNode.h b/native/cocos/renderer/frame-graph/ResourceNode.h new file mode 100644 index 0000000000..8e68ccb3d1 --- /dev/null +++ b/native/cocos/renderer/frame-graph/ResourceNode.h @@ -0,0 +1,39 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +namespace cc { +namespace framegraph { + +struct ResourceNode final { + VirtualResource *virtualResource{nullptr}; + PassNode * writer{nullptr}; + uint32_t readerCount{0}; + uint8_t version{0}; +}; + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/VirtualResource.cpp b/native/cocos/renderer/frame-graph/VirtualResource.cpp new file mode 100644 index 0000000000..4484ed2b89 --- /dev/null +++ b/native/cocos/renderer/frame-graph/VirtualResource.cpp @@ -0,0 +1,44 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "VirtualResource.h" + +namespace cc { +namespace framegraph { + +VirtualResource::VirtualResource(const StringHandle name, ID const id, bool const imported) noexcept +: _name(name), + _id(id), + _imported(imported) { + CC_ASSERT(_name.isValid()); +} + +void VirtualResource::updateLifetime(PassNode *const passNode) noexcept { + _firstUsePass = _firstUsePass ? _firstUsePass : passNode; + _lastUsePass = passNode; +} + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/VirtualResource.h b/native/cocos/renderer/frame-graph/VirtualResource.h new file mode 100644 index 0000000000..3a9d3879ff --- /dev/null +++ b/native/cocos/renderer/frame-graph/VirtualResource.h @@ -0,0 +1,74 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "renderer/gfx-base/GFXObject.h" +#include "Handle.h" + +namespace cc { +namespace framegraph { + +class PassNode; + +using ID = uint16_t; + +class VirtualResource { +public: + VirtualResource(const StringHandle name, ID const id, bool const imported) noexcept; + VirtualResource() noexcept = delete; + virtual ~VirtualResource() = default; + VirtualResource(const VirtualResource &) = delete; + VirtualResource(VirtualResource &&) = delete; + VirtualResource &operator=(const VirtualResource &) = delete; + VirtualResource &operator=(VirtualResource &&) = delete; + + virtual void request() noexcept = 0; + virtual void release() noexcept = 0; + bool isImported() const noexcept { return _imported; } + void updateLifetime(PassNode *const passNode) noexcept; + void newVersion() noexcept { ++_version; } + + virtual gfx::GFXObject *getDeviceResource() const noexcept = 0; + +private: + PassNode * _firstUsePass{nullptr}; + PassNode * _lastUsePass{nullptr}; + const StringHandle _name; + uint32_t _refCount{0}; + uint16_t _writerCount{0}; + ID _id{0}; + uint8_t _version{0}; + bool const _imported{false}; + bool _neverLoaded{true}; + bool _neverStored{true}; + bool _memoryless{false}; + bool _memorylessMSAA{false}; + + friend class FrameGraph; +}; + +} // namespace framegraph +} // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h index cd7ed1b016..32c73fad48 100644 --- a/native/cocos/renderer/gfx-base/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -738,8 +738,8 @@ struct Offset { struct Rect { int x = 0; int y = 0; - uint width = 1u; - uint height = 1u; + uint width = 0u; + uint height = 0u; bool operator==(const Rect &rs) { if (x == rs.x && diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp index 240e2ad156..7f6a48b443 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp @@ -44,19 +44,19 @@ uint RenderPass::computeHash() { uint seed = 0; if (_subpasses.size()) { for (const SubpassInfo &subPass : _subpasses) { - for (const uint8_t iaIndex : subPass.inputs) { + for (const uint iaIndex : subPass.inputs) { if (iaIndex >= _colorAttachments.size()) break; seed += 2; } - for (const uint8_t caIndex : subPass.colors) { + for (const uint caIndex : subPass.colors) { if (caIndex >= _colorAttachments.size()) break; seed += 2; } - for (const uint8_t raIndex : subPass.resolves) { + for (const uint raIndex : subPass.resolves) { if (raIndex >= _colorAttachments.size()) break; seed += 2; } - for (const uint8_t paIndex : subPass.preserves) { + for (const uint paIndex : subPass.preserves) { if (paIndex >= _colorAttachments.size()) break; seed += 2; } @@ -65,25 +65,25 @@ uint RenderPass::computeHash() { } } for (const SubpassInfo &subPass : _subpasses) { - for (const uint8_t iaIndex : subPass.inputs) { + for (const uint iaIndex : subPass.inputs) { if (iaIndex >= _colorAttachments.size()) break; const ColorAttachment &ia = _colorAttachments[iaIndex]; seed ^= (uint)(ia.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ia.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - for (const uint8_t caIndex : subPass.colors) { + for (const uint caIndex : subPass.colors) { if (caIndex >= _colorAttachments.size()) break; const ColorAttachment &ca = _colorAttachments[caIndex]; seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - for (const uint8_t raIndex : subPass.resolves) { + for (const uint raIndex : subPass.resolves) { if (raIndex >= _colorAttachments.size()) break; const ColorAttachment &ca = _colorAttachments[raIndex]; seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - for (const uint8_t paIndex : subPass.preserves) { + for (const uint paIndex : subPass.preserves) { if (paIndex >= _colorAttachments.size()) break; const ColorAttachment &ca = _colorAttachments[paIndex]; seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); @@ -124,22 +124,22 @@ uint RenderPass::computeHash(const RenderPassInfo &info) { uint seed = 0; if (info.subpasses.size()) { for (const SubpassInfo &subPass : info.subpasses) { - for (const uint8_t iaIndex : subPass.inputs) { + for (const uint iaIndex : subPass.inputs) { if (iaIndex >= info.colorAttachments.size()) break; const ColorAttachment &ia = info.colorAttachments[iaIndex]; seed += 4 + ia.beginAccesses.size() + ia.endAccesses.size(); } - for (const uint8_t caIndex : subPass.colors) { + for (const uint caIndex : subPass.colors) { if (caIndex >= info.colorAttachments.size()) break; const ColorAttachment &ca = info.colorAttachments[caIndex]; seed += 4 + ca.beginAccesses.size() + ca.endAccesses.size(); } - for (const uint8_t raIndex : subPass.resolves) { + for (const uint raIndex : subPass.resolves) { if (raIndex >= info.colorAttachments.size()) break; const ColorAttachment &ra = info.colorAttachments[raIndex]; seed += 4 + ra.beginAccesses.size() + ra.endAccesses.size(); } - for (const uint8_t paIndex : subPass.preserves) { + for (const uint paIndex : subPass.preserves) { if (paIndex >= info.colorAttachments.size()) break; const ColorAttachment &pa = info.colorAttachments[paIndex]; seed += 4 + pa.beginAccesses.size() + pa.endAccesses.size(); @@ -150,19 +150,19 @@ uint RenderPass::computeHash(const RenderPassInfo &info) { } } for (const SubpassInfo &subpass : info.subpasses) { - for (const uint8_t iaIndex : subpass.inputs) { + for (const uint iaIndex : subpass.inputs) { if (iaIndex >= info.colorAttachments.size()) break; computeAttachmentHash(info.colorAttachments[iaIndex], seed); } - for (const uint8_t caIndex : subpass.colors) { + for (const uint caIndex : subpass.colors) { if (caIndex >= info.colorAttachments.size()) break; computeAttachmentHash(info.colorAttachments[caIndex], seed); } - for (const uint8_t raIndex : subpass.resolves) { + for (const uint raIndex : subpass.resolves) { if (raIndex >= info.colorAttachments.size()) break; computeAttachmentHash(info.colorAttachments[raIndex], seed); } - for (const uint8_t paIndex : subpass.preserves) { + for (const uint paIndex : subpass.preserves) { if (paIndex >= info.colorAttachments.size()) break; computeAttachmentHash(info.colorAttachments[paIndex], seed); } From 56bf2c64880af2a5ed7f453d15e0f540902fbfd2 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Thu, 11 Mar 2021 11:25:01 +0800 Subject: [PATCH 177/270] [ci skip][AUTO]: updating jsbinding automatically: 6b197934 (#3312) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 3acdf9a3b2..fc67183629 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -594,6 +594,28 @@ "cocos/platform/win32/compat/stdint.h", "cocos/platform/win32/inet_pton_mingw.cpp", "cocos/platform/win32/inet_pton_mingw.h", + "cocos/renderer/frame-graph/Blackboard.h", + "cocos/renderer/frame-graph/CallbackPass.h", + "cocos/renderer/frame-graph/DevicePass.cpp", + "cocos/renderer/frame-graph/DevicePass.h", + "cocos/renderer/frame-graph/DevicePassResourceTable.cpp", + "cocos/renderer/frame-graph/DevicePassResourceTable.h", + "cocos/renderer/frame-graph/FrameGraph.cpp", + "cocos/renderer/frame-graph/FrameGraph.h", + "cocos/renderer/frame-graph/Handle.h", + "cocos/renderer/frame-graph/PassInsertPointManager.cpp", + "cocos/renderer/frame-graph/PassInsertPointManager.h", + "cocos/renderer/frame-graph/PassNode.cpp", + "cocos/renderer/frame-graph/PassNode.h", + "cocos/renderer/frame-graph/PassNodeBuilder.cpp", + "cocos/renderer/frame-graph/PassNodeBuilder.h", + "cocos/renderer/frame-graph/RenderTargetAttachment.h", + "cocos/renderer/frame-graph/Resource.h", + "cocos/renderer/frame-graph/ResourceAllocator.h", + "cocos/renderer/frame-graph/ResourceEntry.h", + "cocos/renderer/frame-graph/ResourceNode.h", + "cocos/renderer/frame-graph/VirtualResource.cpp", + "cocos/renderer/frame-graph/VirtualResource.h", "cocos/renderer/gfx-agent/GFXAgent.h", "cocos/renderer/gfx-agent/GFXBufferAgent.cpp", "cocos/renderer/gfx-agent/GFXBufferAgent.h", From 85edbc94e772abe7864d869d5623ea00b87dd34f Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Thu, 11 Mar 2021 11:50:28 +0800 Subject: [PATCH 178/270] enable device thread by default (#3311) --- native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp index e20a03b812..7e13e1d71b 100644 --- a/native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp @@ -87,7 +87,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { } ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); - //setMultithreaded(true); + setMultithreaded(true); return true; } From acbd39ff5526c8b984b3c4f59de1c0194e59d57b Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 12 Mar 2021 09:56:04 +0800 Subject: [PATCH 179/270] move minimal jsb init into a separate header (#3314) --- native/CMakeLists.txt | 2 + native/cocos/base/StringHandle.cpp | 2 +- native/cocos/base/StringHandle.h | 2 +- native/cocos/base/StringPool.h | 26 +-- .../cocos/bindings/event/EventDispatcher.cpp | 2 +- .../bindings/manual/jsb_cocos_manual.cpp | 2 +- .../cocos/bindings/manual/jsb_gfx_manual.cpp | 4 - native/cocos/bindings/manual/jsb_global.cpp | 143 -------------- native/cocos/bindings/manual/jsb_global.h | 14 +- .../cocos/bindings/manual/jsb_global_init.cpp | 182 ++++++++++++++++++ .../cocos/bindings/manual/jsb_global_init.h | 43 +++++ .../bindings/manual/jsb_platfrom_win32.cpp | 2 +- .../frame-graph/DevicePassResourceTable.h | 4 +- .../cocos/renderer/frame-graph/FrameGraph.h | 8 +- .../renderer/frame-graph/PassNodeBuilder.h | 2 +- .../renderer/frame-graph/ResourceEntry.h | 4 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 7 +- 17 files changed, 258 insertions(+), 191 deletions(-) create mode 100644 native/cocos/bindings/manual/jsb_global_init.cpp create mode 100644 native/cocos/bindings/manual/jsb_global_init.h diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index aafc0f69ce..b58c57e523 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -1285,6 +1285,8 @@ cocos_source_files( cocos/bindings/manual/jsb_gfx_agent.h cocos/bindings/manual/jsb_global.cpp cocos/bindings/manual/jsb_global.h + cocos/bindings/manual/jsb_global_init.cpp + cocos/bindings/manual/jsb_global_init.h cocos/bindings/manual/jsb_helper.cpp cocos/bindings/manual/jsb_helper.h cocos/bindings/manual/jsb_module_register.h diff --git a/native/cocos/base/StringHandle.cpp b/native/cocos/base/StringHandle.cpp index b69adb29c7..c704bcf46c 100644 --- a/native/cocos/base/StringHandle.cpp +++ b/native/cocos/base/StringHandle.cpp @@ -27,7 +27,7 @@ namespace cc { -StringHandle::StringHandle(IndexType const handle, char const *const str) noexcept +StringHandle::StringHandle(const IndexType handle, const char *const str) noexcept : IndexHandle(handle), _str(str) { } diff --git a/native/cocos/base/StringHandle.h b/native/cocos/base/StringHandle.h index 36c226b079..a5933875b7 100644 --- a/native/cocos/base/StringHandle.h +++ b/native/cocos/base/StringHandle.h @@ -32,7 +32,7 @@ namespace cc { class StringHandle final : public IndexHandle { public: StringHandle() noexcept = default; - explicit StringHandle(IndexType const handle, char const *const str) noexcept; + explicit StringHandle(const IndexType handle, const char *const str) noexcept; inline char const *str() const noexcept { return _str; } private: diff --git a/native/cocos/base/StringPool.h b/native/cocos/base/StringPool.h index e6ec2560c2..6017fb2ab9 100644 --- a/native/cocos/base/StringPool.h +++ b/native/cocos/base/StringPool.h @@ -45,19 +45,19 @@ class StringPool final { public: StringPool() noexcept = default; ~StringPool(); - StringPool(StringPool const &) = delete; + StringPool(const StringPool &) = delete; StringPool(StringPool &&) = delete; - StringPool &operator=(StringPool const &) = delete; + StringPool &operator=(const StringPool &) = delete; StringPool &operator=(StringPool &&) = delete; - StringHandle stringToHandle(char const *const str) noexcept; - char const * handleToString(StringHandle const handle) const noexcept; - StringHandle find(char const *const str) const noexcept; + StringHandle stringToHandle(const char *const str) noexcept; + char const * handleToString(const StringHandle &handle) const noexcept; + StringHandle find(const char *const str) const noexcept; private: - StringHandle doStringToHandle(char const *const str) noexcept; - char const * doHandleToString(StringHandle const handle) const noexcept; - StringHandle doFind(char const *const str) const noexcept; + StringHandle doStringToHandle(const char *const str) noexcept; + char const * doHandleToString(const StringHandle &handle) const noexcept; + StringHandle doFind(const char *const str) const noexcept; std::map _stringToHandles{}; std::vector _handleToStrings{}; @@ -74,7 +74,7 @@ StringPool::~StringPool() { } template -inline StringHandle StringPool::stringToHandle(char const *const str) noexcept { +inline StringHandle StringPool::stringToHandle(const char *const str) noexcept { if (ThreadSafe) { return _readWriteLock.LockWrite([this, str]() { return doStringToHandle(str); @@ -85,7 +85,7 @@ inline StringHandle StringPool::stringToHandle(char const *const str } template -inline char const *StringPool::handleToString(StringHandle const handle) const noexcept { +inline char const *StringPool::handleToString(const StringHandle &handle) const noexcept { if (ThreadSafe) { return _readWriteLock.LockRead([this, handle]() { return doHandleToString(handle); @@ -96,7 +96,7 @@ inline char const *StringPool::handleToString(StringHandle const han } template -StringHandle StringPool::find(char const *const str) const noexcept { +StringHandle StringPool::find(const char *const str) const noexcept { if (ThreadSafe) { return _readWriteLock.LockRead([this, str]() { return doFind(str); @@ -107,7 +107,7 @@ StringHandle StringPool::find(char const *const str) const noexcept } template -inline StringHandle StringPool::doStringToHandle(char const *const str) noexcept { +inline StringHandle StringPool::doStringToHandle(const char *const str) noexcept { auto const it = _stringToHandles.find(str); if (it == _stringToHandles.end()) { @@ -124,7 +124,7 @@ inline StringHandle StringPool::doStringToHandle(char const *const s } template -inline char const *StringPool::doHandleToString(StringHandle const handle) const noexcept { +inline char const *StringPool::doHandleToString(const StringHandle &handle) const noexcept { assert(handle < _handleToStrings.size()); return _handleToStrings[handle]; } diff --git a/native/cocos/bindings/event/EventDispatcher.cpp b/native/cocos/bindings/event/EventDispatcher.cpp index 1ad46c60bc..9c6a7d2593 100644 --- a/native/cocos/bindings/event/EventDispatcher.cpp +++ b/native/cocos/bindings/event/EventDispatcher.cpp @@ -27,7 +27,7 @@ #include "cocos/bindings/event/CustomEventTypes.h" #include "cocos/bindings/jswrapper/SeApi.h" -#include "cocos/bindings/manual/jsb_global.h" +#include "cocos/bindings/manual/jsb_global_init.h" namespace { se::Value _tickVal; diff --git a/native/cocos/bindings/manual/jsb_cocos_manual.cpp b/native/cocos/bindings/manual/jsb_cocos_manual.cpp index 21f6a4906a..fd28b9fac0 100644 --- a/native/cocos/bindings/manual/jsb_cocos_manual.cpp +++ b/native/cocos/bindings/manual/jsb_cocos_manual.cpp @@ -27,7 +27,7 @@ #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/bindings/manual/jsb_global.h" +#include "cocos/bindings/manual/jsb_global_init.h" #include "cocos/bindings/auto/jsb_cocos_auto.h" #include "storage/local-storage/LocalStorage.h" diff --git a/native/cocos/bindings/manual/jsb_gfx_manual.cpp b/native/cocos/bindings/manual/jsb_gfx_manual.cpp index 161ee45dce..50a29c9e75 100644 --- a/native/cocos/bindings/manual/jsb_gfx_manual.cpp +++ b/native/cocos/bindings/manual/jsb_gfx_manual.cpp @@ -29,10 +29,6 @@ #include "bindings/manual/jsb_conversions.h" #include "bindings/manual/jsb_global.h" -#if !(defined(CC_USE_GLES2) || defined(CC_USE_GLES3) || defined(CC_USE_VULKAN) || defined(CC_USE_METAL)) - #error "gfx backend is not defined!" -#endif - #ifdef CC_USE_VULKAN #include "bindings/auto/jsb_vk_auto.h" #include "gfx-vulkan/GFXVulkan.h" diff --git a/native/cocos/bindings/manual/jsb_global.cpp b/native/cocos/bindings/manual/jsb_global.cpp index 9f0ed19daf..5902dd9ae6 100644 --- a/native/cocos/bindings/manual/jsb_global.cpp +++ b/native/cocos/bindings/manual/jsb_global.cpp @@ -47,18 +47,11 @@ using namespace cc; -se::Object *__jsbObj = nullptr; -se::Object *__glObj = nullptr; - static LegacyThreadPool *__threadPool = nullptr; static std::shared_ptr _localDownloader = nullptr; static std::map> _localDownloaderHandlers; static uint64_t _localDownloaderTaskId = 1000000; -static std::string xxteaKey = ""; -void jsb_set_xxtea_key(const std::string &key) { - xxteaKey = key; -} static cc::network::Downloader *localDownloader() { if (!_localDownloader) { @@ -102,142 +95,6 @@ static void localDownloaderCreateTask(const std::string &url, std::functionidentifier, callback)); } -static const char *BYTE_CODE_FILE_EXT = ".jsc"; - -static std::string removeFileExt(const std::string &filePath) { - size_t pos = filePath.rfind('.'); - if (0 < pos) { - return filePath.substr(0, pos); - } - return filePath; -} - -void jsb_init_file_operation_delegate() { - static se::ScriptEngine::FileOperationDelegate delegate; - if (!delegate.isValid()) { - delegate.onGetDataFromFile = [](const std::string &path, const std::function &readCallback) -> void { - assert(!path.empty()); - - Data fileData; - - std::string byteCodePath = removeFileExt(path) + BYTE_CODE_FILE_EXT; - if (FileUtils::getInstance()->isFileExist(byteCodePath)) { - fileData = FileUtils::getInstance()->getDataFromFile(byteCodePath); - - size_t dataLen = 0; - uint8_t *data = xxtea_decrypt((unsigned char *)fileData.getBytes(), (uint32_t)fileData.getSize(), (unsigned char *)xxteaKey.c_str(), (uint32_t)xxteaKey.size(), (uint32_t *)&dataLen); - - if (data == nullptr) { - SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); - return; - } - - if (ZipUtils::isGZipBuffer(data, dataLen)) { - uint8_t *unpackedData; - ssize_t unpackedLen = ZipUtils::inflateMemory(data, dataLen, &unpackedData); - - if (unpackedData == nullptr) { - SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); - return; - } - - readCallback(unpackedData, unpackedLen); - free(data); - free(unpackedData); - } else { - readCallback(data, dataLen); - free(data); - } - - return; - } - - fileData = FileUtils::getInstance()->getDataFromFile(path); - readCallback(fileData.getBytes(), fileData.getSize()); - }; - - delegate.onGetStringFromFile = [](const std::string &path) -> std::string { - assert(!path.empty()); - - std::string byteCodePath = removeFileExt(path) + BYTE_CODE_FILE_EXT; - if (FileUtils::getInstance()->isFileExist(byteCodePath)) { - Data fileData = FileUtils::getInstance()->getDataFromFile(byteCodePath); - - uint32_t dataLen; - uint8_t *data = xxtea_decrypt((uint8_t *)fileData.getBytes(), (uint32_t)fileData.getSize(), (uint8_t *)xxteaKey.c_str(), (uint32_t)xxteaKey.size(), &dataLen); - - if (data == nullptr) { - SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); - return ""; - } - - if (ZipUtils::isGZipBuffer(data, dataLen)) { - uint8_t *unpackedData; - ssize_t unpackedLen = ZipUtils::inflateMemory(data, dataLen, &unpackedData); - if (unpackedData == nullptr) { - SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); - return ""; - } - - std::string ret(reinterpret_cast(unpackedData), unpackedLen); - free(unpackedData); - free(data); - - return ret; - } else { - std::string ret(reinterpret_cast(data), dataLen); - free(data); - return ret; - } - } - - if (FileUtils::getInstance()->isFileExist(path)) { - return FileUtils::getInstance()->getStringFromFile(path); - } else { - SE_LOGE("ScriptEngine::onGetStringFromFile %s not found, possible missing file.\n", path.c_str()); - } - return ""; - }; - - delegate.onGetFullPath = [](const std::string &path) -> std::string { - assert(!path.empty()); - std::string byteCodePath = removeFileExt(path) + BYTE_CODE_FILE_EXT; - if (FileUtils::getInstance()->isFileExist(byteCodePath)) { - return FileUtils::getInstance()->fullPathForFilename(byteCodePath); - } - return FileUtils::getInstance()->fullPathForFilename(path); - }; - - delegate.onCheckFileExist = [](const std::string &path) -> bool { - assert(!path.empty()); - return FileUtils::getInstance()->isFileExist(path); - }; - - assert(delegate.isValid()); - - se::ScriptEngine::getInstance()->setFileOperationDelegate(delegate); - } -} - -bool jsb_enable_debugger(const std::string &debuggerServerAddr, uint32_t port, bool isWaitForConnect) { - if (debuggerServerAddr.empty() || port == 0) - return false; - - auto se = se::ScriptEngine::getInstance(); - se->enableDebugger(debuggerServerAddr.c_str(), port, isWaitForConnect); - - // For debugger main loop - class SimpleRunLoop { - public: - void update(float dt) { - se::ScriptEngine::getInstance()->mainLoopUpdate(); - } - }; - // static SimpleRunLoop runLoop; - //cjh IDEA: Director::getInstance()->getScheduler()->scheduleUpdate(&runLoop, 0, false); - return true; -} - bool jsb_set_extend_property(const char *ns, const char *clsName) { se::Object *globalObj = se::ScriptEngine::getInstance()->getGlobalObject(); se::Value nsVal; diff --git a/native/cocos/bindings/manual/jsb_global.h b/native/cocos/bindings/manual/jsb_global.h index c2e4596f37..9de4c006e3 100644 --- a/native/cocos/bindings/manual/jsb_global.h +++ b/native/cocos/bindings/manual/jsb_global.h @@ -25,11 +25,7 @@ #pragma once -#include "base/memory/Memory.h" -#include "base/CoreStd.h" -#include -#include -#include +#include "jsb_global_init.h" template inline typename std::enable_if::value, T>::type * @@ -63,22 +59,14 @@ jsb_override_delete(T *arg) { #define JSB_FREE(kls) jsb_override_delete(kls) namespace se { -class Object; class Class; class Value; } // namespace se -extern se::Object *__jsbObj; -extern se::Object *__glObj; - bool jsb_register_global_variables(se::Object *global); -void jsb_init_file_operation_delegate(); -bool jsb_enable_debugger(const std::string &debuggerServerAddr, uint32_t port, bool isWaitForConnect = false); bool jsb_set_extend_property(const char *ns, const char *clsName); bool jsb_run_script(const std::string &filePath, se::Value *rval = nullptr); bool jsb_run_script_module(const std::string &filePath, se::Value *rval = nullptr); -void jsb_set_xxtea_key(const std::string &key); - bool jsb_global_load_image(const std::string &path, const se::Value &callbackVal); diff --git a/native/cocos/bindings/manual/jsb_global_init.cpp b/native/cocos/bindings/manual/jsb_global_init.cpp new file mode 100644 index 0000000000..7b06342d9b --- /dev/null +++ b/native/cocos/bindings/manual/jsb_global_init.cpp @@ -0,0 +1,182 @@ +/**************************************************************************** + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "jsb_global_init.h" +#include "base/CoreStd.h" +#include "base/Scheduler.h" +#include "base/ZipUtils.h" +#include "base/base64.h" +#include "jsb_conversions.h" +#include "xxtea/xxtea.h" + +#include +#include +#include + +using namespace cc; + +se::Object *__jsbObj = nullptr; +se::Object *__glObj = nullptr; + +static std::string xxteaKey = ""; +void jsb_set_xxtea_key(const std::string &key) { + xxteaKey = key; +} + +static const char *BYTE_CODE_FILE_EXT = ".jsc"; + +static std::string removeFileExt(const std::string &filePath) { + size_t pos = filePath.rfind('.'); + if (0 < pos) { + return filePath.substr(0, pos); + } + return filePath; +} + +void jsb_init_file_operation_delegate() { + static se::ScriptEngine::FileOperationDelegate delegate; + if (!delegate.isValid()) { + delegate.onGetDataFromFile = [](const std::string &path, const std::function &readCallback) -> void { + assert(!path.empty()); + + Data fileData; + + std::string byteCodePath = removeFileExt(path) + BYTE_CODE_FILE_EXT; + if (FileUtils::getInstance()->isFileExist(byteCodePath)) { + fileData = FileUtils::getInstance()->getDataFromFile(byteCodePath); + + size_t dataLen = 0; + uint8_t *data = xxtea_decrypt((unsigned char *)fileData.getBytes(), (uint32_t)fileData.getSize(), (unsigned char *)xxteaKey.c_str(), (uint32_t)xxteaKey.size(), (uint32_t *)&dataLen); + + if (data == nullptr) { + SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); + return; + } + + if (ZipUtils::isGZipBuffer(data, dataLen)) { + uint8_t *unpackedData; + ssize_t unpackedLen = ZipUtils::inflateMemory(data, dataLen, &unpackedData); + + if (unpackedData == nullptr) { + SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); + return; + } + + readCallback(unpackedData, unpackedLen); + free(data); + free(unpackedData); + } else { + readCallback(data, dataLen); + free(data); + } + + return; + } + + fileData = FileUtils::getInstance()->getDataFromFile(path); + readCallback(fileData.getBytes(), fileData.getSize()); + }; + + delegate.onGetStringFromFile = [](const std::string &path) -> std::string { + assert(!path.empty()); + + std::string byteCodePath = removeFileExt(path) + BYTE_CODE_FILE_EXT; + if (FileUtils::getInstance()->isFileExist(byteCodePath)) { + Data fileData = FileUtils::getInstance()->getDataFromFile(byteCodePath); + + uint32_t dataLen; + uint8_t *data = xxtea_decrypt((uint8_t *)fileData.getBytes(), (uint32_t)fileData.getSize(), (uint8_t *)xxteaKey.c_str(), (uint32_t)xxteaKey.size(), &dataLen); + + if (data == nullptr) { + SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); + return ""; + } + + if (ZipUtils::isGZipBuffer(data, dataLen)) { + uint8_t *unpackedData; + ssize_t unpackedLen = ZipUtils::inflateMemory(data, dataLen, &unpackedData); + if (unpackedData == nullptr) { + SE_REPORT_ERROR("Can't decrypt code for %s", byteCodePath.c_str()); + return ""; + } + + std::string ret(reinterpret_cast(unpackedData), unpackedLen); + free(unpackedData); + free(data); + + return ret; + } else { + std::string ret(reinterpret_cast(data), dataLen); + free(data); + return ret; + } + } + + if (FileUtils::getInstance()->isFileExist(path)) { + return FileUtils::getInstance()->getStringFromFile(path); + } else { + SE_LOGE("ScriptEngine::onGetStringFromFile %s not found, possible missing file.\n", path.c_str()); + } + return ""; + }; + + delegate.onGetFullPath = [](const std::string &path) -> std::string { + assert(!path.empty()); + std::string byteCodePath = removeFileExt(path) + BYTE_CODE_FILE_EXT; + if (FileUtils::getInstance()->isFileExist(byteCodePath)) { + return FileUtils::getInstance()->fullPathForFilename(byteCodePath); + } + return FileUtils::getInstance()->fullPathForFilename(path); + }; + + delegate.onCheckFileExist = [](const std::string &path) -> bool { + assert(!path.empty()); + return FileUtils::getInstance()->isFileExist(path); + }; + + assert(delegate.isValid()); + + se::ScriptEngine::getInstance()->setFileOperationDelegate(delegate); + } +} + +bool jsb_enable_debugger(const std::string &debuggerServerAddr, uint32_t port, bool isWaitForConnect) { + if (debuggerServerAddr.empty() || port == 0) + return false; + + auto se = se::ScriptEngine::getInstance(); + se->enableDebugger(debuggerServerAddr.c_str(), port, isWaitForConnect); + + // For debugger main loop + class SimpleRunLoop { + public: + void update(float dt) { + se::ScriptEngine::getInstance()->mainLoopUpdate(); + } + }; + // static SimpleRunLoop runLoop; + //cjh IDEA: Director::getInstance()->getScheduler()->scheduleUpdate(&runLoop, 0, false); + return true; +} diff --git a/native/cocos/bindings/manual/jsb_global_init.h b/native/cocos/bindings/manual/jsb_global_init.h new file mode 100644 index 0000000000..b6ad1f0682 --- /dev/null +++ b/native/cocos/bindings/manual/jsb_global_init.h @@ -0,0 +1,43 @@ +/**************************************************************************** + Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/CoreStd.h" +#include "base/memory/Memory.h" +#include +#include +#include + +namespace se { +class Object; +} // namespace se + +extern se::Object *__jsbObj; +extern se::Object *__glObj; + +void jsb_init_file_operation_delegate(); +void jsb_set_xxtea_key(const std::string &key); +bool jsb_enable_debugger(const std::string &debuggerServerAddr, uint32_t port, bool isWaitForConnect = false); diff --git a/native/cocos/bindings/manual/jsb_platfrom_win32.cpp b/native/cocos/bindings/manual/jsb_platfrom_win32.cpp index cbe22b7a3c..6bb9106432 100644 --- a/native/cocos/bindings/manual/jsb_platfrom_win32.cpp +++ b/native/cocos/bindings/manual/jsb_platfrom_win32.cpp @@ -27,7 +27,7 @@ #include "cocos/bindings/jswrapper/SeApi.h" #include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/bindings/manual/jsb_global.h" +#include "cocos/bindings/manual/jsb_global_init.h" #include "cocos/platform/FileUtils.h" #include diff --git a/native/cocos/renderer/frame-graph/DevicePassResourceTable.h b/native/cocos/renderer/frame-graph/DevicePassResourceTable.h index af2805ddd3..898f335e8d 100644 --- a/native/cocos/renderer/frame-graph/DevicePassResourceTable.h +++ b/native/cocos/renderer/frame-graph/DevicePassResourceTable.h @@ -69,13 +69,13 @@ private: template std::enable_if_t::value, typename Type::DeviceResource *> DevicePassResourceTable::getRead(TypedHandle const handle) const noexcept { - return static_cast(get(reads, handle)); + return static_cast(get(reads, handle)); } template std::enable_if_t::value, typename Type::DeviceResource *> DevicePassResourceTable::getWrite(TypedHandle const handle) const noexcept { - return static_cast(get(writes, handle)); + return static_cast(get(writes, handle)); } } // namespace framegraph diff --git a/native/cocos/renderer/frame-graph/FrameGraph.h b/native/cocos/renderer/frame-graph/FrameGraph.h index d79a599640..e6e3706a8b 100644 --- a/native/cocos/renderer/frame-graph/FrameGraph.h +++ b/native/cocos/renderer/frame-graph/FrameGraph.h @@ -65,7 +65,7 @@ public: CallbackPass const &addPass(const PassInsertPoint insertPoint, const StringHandle &name, SetupMethod setup, ExecuteMethod &&execute) noexcept; template - TypedHandle create(const StringHandle &name, typename const ResourceType::Descriptor &desc) noexcept; + TypedHandle create(const StringHandle &name, const typename ResourceType::Descriptor &desc) noexcept; Handle create(VirtualResource *const virtualResource) noexcept; template TypedHandle importExternal(const StringHandle &name, ResourceType &resource) noexcept; @@ -94,7 +94,7 @@ private: std::vector> _virtualResources{}; std::vector> _devicePasses{}; ResourceHandleBlackboard _blackboard; - bool _merge{false}; + bool _merge{true}; friend class PassNode; friend class PassNodeBuilder; @@ -113,7 +113,7 @@ const CallbackPass &FrameGraph::addPass(const PassInsertPoi } template -TypedHandle FrameGraph::create(const StringHandle &name, typename const ResourceType::Descriptor &desc) noexcept { +TypedHandle FrameGraph::create(const StringHandle &name, const typename ResourceType::Descriptor &desc) noexcept { auto *const virtualResource = new ResourceEntry(name, static_cast(_virtualResources.size()), desc); return TypedHandle(create(virtualResource)); } @@ -132,7 +132,7 @@ void FrameGraph::enableMerge(bool const enable) noexcept { ////////////////////////////////////////////////////////////////////////// template -void PassNodeBuilder::create(TypedHandle &handle, const StringHandle &name, typename const ResourceType::Descriptor &desc) const noexcept { +void PassNodeBuilder::create(TypedHandle &handle, const StringHandle &name, const typename ResourceType::Descriptor &desc) const noexcept { handle = _graph.create(name, desc); } diff --git a/native/cocos/renderer/frame-graph/PassNodeBuilder.h b/native/cocos/renderer/frame-graph/PassNodeBuilder.h index 9f01a0b85b..d994783020 100644 --- a/native/cocos/renderer/frame-graph/PassNodeBuilder.h +++ b/native/cocos/renderer/frame-graph/PassNodeBuilder.h @@ -41,7 +41,7 @@ public: PassNodeBuilder &operator=(PassNodeBuilder &&) = delete; template - void create(TypedHandle &handle, const StringHandle &name, typename const ResourceType::Descriptor &desc) const noexcept; + void create(TypedHandle &handle, const StringHandle &name, const typename ResourceType::Descriptor &desc) const noexcept; template void importExternal(TypedHandle &handle, const StringHandle &name, ResourceType &resource) const noexcept; template diff --git a/native/cocos/renderer/frame-graph/ResourceEntry.h b/native/cocos/renderer/frame-graph/ResourceEntry.h index ca987af7b5..aa2c5a19f0 100644 --- a/native/cocos/renderer/frame-graph/ResourceEntry.h +++ b/native/cocos/renderer/frame-graph/ResourceEntry.h @@ -33,7 +33,7 @@ namespace framegraph { template ::value>> class ResourceEntry final : public VirtualResource { public: - explicit ResourceEntry(const StringHandle name, ID const id, typename const ResourceType::Descriptor &desc) noexcept; + explicit ResourceEntry(const StringHandle name, ID const id, const typename ResourceType::Descriptor &desc) noexcept; ResourceEntry(const StringHandle name, ID const id, const ResourceType &resource) noexcept; ResourceEntry() = delete; ~ResourceEntry() = default; @@ -55,7 +55,7 @@ private: ////////////////////////////////////////////////////////////////////////// template -ResourceEntry::ResourceEntry(const StringHandle name, ID const id, typename const ResourceType::Descriptor &desc) noexcept +ResourceEntry::ResourceEntry(const StringHandle name, ID const id, const typename ResourceType::Descriptor &desc) noexcept : VirtualResource(name, id, false), _resource(desc) { } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 4cc8264872..a928a3c83d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -233,6 +233,9 @@ bool GLES3Context::initialize(const ContextInfo &info) { bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); if (hasKHRCreateCtx) { for (int m = 2; m >= 0; --m) { + #if (CC_PLATFORM == CC_PLATFORM_MAC_OSX) + m = 0; // Mac OpenGL doesn't really support ES 3.1+ features + #endif n = 0; ctxAttribs[n++] = EGL_CONTEXT_MAJOR_VERSION_KHR; ctxAttribs[n++] = _majorVersion; @@ -247,11 +250,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, NULL, ctxAttribs)); if (_eglContext) { - - // Mac OpenGL doesn't really support ES 3.1+ features - #if (CC_PLATFORM != CC_PLATFORM_MAC_OSX) _minorVersion = m; - #endif break; } } From b999ddbf54d68e22cc74823e66cd5d343238b02b Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Fri, 12 Mar 2021 11:44:28 +0800 Subject: [PATCH 180/270] [ci skip][AUTO]: updating jsbinding automatically: acbd39ff (#3316) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index fc67183629..9980d96378 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -18357,6 +18357,8 @@ "cocos/bindings/manual/jsb_gfx_manual.h", "cocos/bindings/manual/jsb_global.cpp", "cocos/bindings/manual/jsb_global.h", + "cocos/bindings/manual/jsb_global_init.cpp", + "cocos/bindings/manual/jsb_global_init.h", "cocos/bindings/manual/jsb_helper.cpp", "cocos/bindings/manual/jsb_helper.h", "cocos/bindings/manual/jsb_module_register.cpp", From c10d771fd2998699f2e3c6c38d40a3b67b927947 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Mon, 15 Mar 2021 09:53:28 +0800 Subject: [PATCH 181/270] Fix render error of deferred pipeline on vulkan. (#3319) --- .../pipeline/deferred/DeferredPipeline.cpp | 67 ++++++++++--------- .../pipeline/deferred/DeferredPipeline.h | 6 +- .../pipeline/deferred/GbufferStage.cpp | 17 +---- .../renderer/pipeline/deferred/GbufferStage.h | 3 - .../pipeline/deferred/LightingStage.cpp | 16 +---- .../pipeline/deferred/LightingStage.h | 2 - 6 files changed, 44 insertions(+), 67 deletions(-) diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 79212a227e..0ed23c15bf 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -236,14 +236,6 @@ gfx::Rect DeferredPipeline::getRenderArea(Camera *camera, bool onScreen) { return renderArea; } -DeferredRenderData *DeferredPipeline::getDeferredRenderData(Camera *view) { - if (_deferredRenderDatas.find(view) == _deferredRenderDatas.end()) { - generateDeferredRenderData(view); - } - - return _deferredRenderDatas[view]; -} - void DeferredPipeline::destroyQuadInputAssembler() { if (_quadIB) { _quadIB->destroy(); @@ -359,6 +351,18 @@ bool DeferredPipeline::activeRenderer() { _lightingRenderPass = _device->createRenderPass(lightPass); + if (_device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || + _device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { + _width = _device->getWidth(); + _height = _device->getHeight(); + } + else { + _width = _device->getHeight(); + _height = _device->getWidth(); + } + + generateDeferredRenderData(); + _descriptorSet->bindSampler( static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), sampler); _descriptorSet->bindSampler( @@ -369,22 +373,12 @@ bool DeferredPipeline::activeRenderer() { static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), sampler); _descriptorSet->bindSampler( static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), sampler); - - if (_device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || - _device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { - _width = _device->getWidth(); - _height = _device->getHeight(); - } - else { - _width = _device->getHeight(); - _height = _device->getWidth(); - } return true; } -void DeferredPipeline::generateDeferredRenderData(Camera *view) { - DeferredRenderData* data = CC_NEW(DeferredRenderData); +void DeferredPipeline::generateDeferredRenderData() { + _deferredRenderData = CC_NEW(DeferredRenderData); gfx::TextureInfo info = { gfx::TextureType::TEX2D, @@ -396,20 +390,20 @@ void DeferredPipeline::generateDeferredRenderData(Camera *view) { for (int i = 0; i < 4; i++) { gfx::Texture *tex = _device->createTexture(info); - data->gbufferRenderTargets.push_back(tex); + _deferredRenderData->gbufferRenderTargets.push_back(tex); } info.usage = gfx::TextureUsageBit::DEPTH_STENCIL_ATTACHMENT; info.format = _device->getDepthStencilFormat(); - data->depthTex = _device->createTexture(info); + _deferredRenderData->depthTex = _device->createTexture(info); gfx::FramebufferInfo gbufferInfo = { _gbufferRenderPass, - data->gbufferRenderTargets, - data->depthTex, + _deferredRenderData->gbufferRenderTargets, + _deferredRenderData->depthTex, }; - data->gbufferFrameBuffer = _device->createFramebuffer(gbufferInfo); + _deferredRenderData->gbufferFrameBuffer = _device->createFramebuffer(gbufferInfo); gfx::TextureInfo rtInfo = { gfx::TextureType::TEX2D, @@ -418,15 +412,26 @@ void DeferredPipeline::generateDeferredRenderData(Camera *view) { _width, _height, }; - data->lightingRenderTarget = _device->createTexture(rtInfo); + _deferredRenderData->lightingRenderTarget = _device->createTexture(rtInfo); gfx::FramebufferInfo lightingInfo; lightingInfo.renderPass = _lightingRenderPass; - lightingInfo.colorTextures.push_back(data->lightingRenderTarget); - lightingInfo.depthStencilTexture = data->depthTex; - data->lightingFrameBuff = _device->createFramebuffer(lightingInfo); + lightingInfo.colorTextures.push_back(_deferredRenderData->lightingRenderTarget); + lightingInfo.depthStencilTexture = _deferredRenderData->depthTex; + _deferredRenderData->lightingFrameBuff = _device->createFramebuffer(lightingInfo); - _deferredRenderDatas[view] = data; + _descriptorSet->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), _deferredRenderData->gbufferFrameBuffer->getColorTextures()[0]); + _descriptorSet->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), _deferredRenderData->gbufferFrameBuffer->getColorTextures()[1]); + _descriptorSet->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), _deferredRenderData->gbufferFrameBuffer->getColorTextures()[2]); + _descriptorSet->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), _deferredRenderData->gbufferFrameBuffer->getColorTextures()[3]); + + _descriptorSet->bindTexture( + static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), + _deferredRenderData->lightingFrameBuff->getColorTextures()[0]); } void DeferredPipeline::destroy() { @@ -447,7 +452,7 @@ void DeferredPipeline::destroy() { } _renderPasses.clear(); - _deferredRenderDatas.clear(); + _deferredRenderData = nullptr; _commandBuffers.clear(); diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h index e7bc05de79..292ebecbe3 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -73,14 +73,14 @@ public: gfx::InputAssembler *getQuadIAOnScreen(){return _quadIAOnscreen;} gfx::InputAssembler *getQuadIAOffScreen(){return _quadIAOffscreen;} gfx::Rect getRenderArea(Camera *view, bool onScreen); - DeferredRenderData *getDeferredRenderData(Camera *view); + CC_INLINE DeferredRenderData *getDeferredRenderData(){return _deferredRenderData; }; private: bool activeRenderer(); bool createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffer* &quadVB, gfx::InputAssembler* &quadIA, gfx::SurfaceTransform surfaceTransform); void destroyQuadInputAssembler(); - void generateDeferredRenderData(Camera *view); + void generateDeferredRenderData(); private: gfx::Buffer *_lightsUBO = nullptr; @@ -97,7 +97,7 @@ private: gfx::InputAssembler *_quadIAOnscreen = nullptr; gfx::InputAssembler *_quadIAOffscreen = nullptr; - map _deferredRenderDatas; + DeferredRenderData *_deferredRenderData = nullptr; gfx::RenderPass *_gbufferRenderPass = nullptr; gfx::RenderPass *_lightingRenderPass = nullptr; uint _width; diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp index 33027b02ba..d19204d067 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp @@ -73,7 +73,7 @@ GbufferStage::~GbufferStage() { bool GbufferStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); _renderQueueDescriptors = info.renderQueues; - _phaseID = getPhaseID("default"); + _phaseID = getPhaseID("deferred"); return true; } @@ -164,8 +164,7 @@ void GbufferStage::render(Camera *camera) { // render area is not oriented _renderArea = pipeline->getRenderArea(camera, false); - const auto deferredData = pipeline->getDeferredRenderData(camera); - bindGbufferTexture(deferredData); + const auto deferredData = pipeline->getDeferredRenderData(); auto framebuffer = deferredData->gbufferFrameBuffer; auto renderPass = framebuffer->getRenderPass(); @@ -180,17 +179,5 @@ void GbufferStage::render(Camera *camera) { cmdBuff->endRenderPass(); } -void GbufferStage::bindGbufferTexture(DeferredRenderData *data) { - _pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), data->gbufferFrameBuffer->getColorTextures()[0]); - _pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), data->gbufferFrameBuffer->getColorTextures()[1]); - _pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), data->gbufferFrameBuffer->getColorTextures()[2]); - _pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), data->gbufferFrameBuffer->getColorTextures()[3]); - _pipeline->getDescriptorSet()->update(); -} - } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.h b/native/cocos/renderer/pipeline/deferred/GbufferStage.h index 83eec21005..2ad39bd251 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.h +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.h @@ -50,9 +50,6 @@ public: virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; virtual void destroy() override; virtual void render(Camera *camera) override; - -private: - void bindGbufferTexture(DeferredRenderData *data); private: static RenderStageInfo _initInfo; diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp index ef1d313a3f..524b5d6220 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp @@ -78,8 +78,7 @@ LightingStage::~LightingStage() { bool LightingStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); _renderQueueDescriptors = info.renderQueues; - _phaseID = getPhaseID("deferred"); - _transparentPhaseID = getPhaseID("forward-add"); + _phaseID = getPhaseID("default"); return true; } @@ -310,8 +309,7 @@ void LightingStage::render(Camera *camera) { clearColor.w = 0; - const auto deferredData = pipeline->getDeferredRenderData(camera); - bindLightingTexture(deferredData); + const auto deferredData = pipeline->getDeferredRenderData(); auto frameBuffer = deferredData->lightingFrameBuff; auto renderPass = frameBuffer->getRenderPass(); @@ -353,7 +351,7 @@ void LightingStage::render(Camera *camera) { for (p = 0; p < subModel->passCount; ++p) { const PassView *pass = subModel->getPassView(p); // TODO: need fallback of ulit and gizmo material. - if (pass->phase == _phaseID || pass->phase == _transparentPhaseID) continue; + if (pass->phase != _phaseID) continue; for (k = 0; k < _renderQueues.size(); k++) { _renderQueues[k]->insertRenderPass(ro, m, p); } @@ -368,13 +366,5 @@ void LightingStage::render(Camera *camera) { cmdBuff->endRenderPass(); } -void LightingStage::bindLightingTexture(DeferredRenderData *data) { - // bind sampler and texture, used in postprocess - _pipeline->getDescriptorSet()->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), - data->lightingFrameBuff->getColorTextures()[0]); - _pipeline->getDescriptorSet()->update(); -} - } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.h b/native/cocos/renderer/pipeline/deferred/LightingStage.h index c34845066b..ff28681f1e 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.h +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.h @@ -54,14 +54,12 @@ public: private: void gatherLights(Camera *camera); - void bindLightingTexture(DeferredRenderData *data); private: static RenderStageInfo _initInfo; PlanarShadowQueue *_planarShadowQueue = nullptr; gfx::Rect _renderArea; uint _phaseID = 0; - uint _transparentPhaseID = 0; gfx::Buffer *_deferredLitsBufs = nullptr; gfx::Buffer *_deferredLitsBufView = nullptr; From 49aa21c50cc04947075449bc3d4fd241178633ea Mon Sep 17 00:00:00 2001 From: PP Date: Mon, 15 Mar 2021 10:23:19 +0800 Subject: [PATCH 182/270] fix editbox multiline mode can't end editing (#3317) --- native/cocos/ui/edit-box/EditBox-mac.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/native/cocos/ui/edit-box/EditBox-mac.mm b/native/cocos/ui/edit-box/EditBox-mac.mm index 2e84b6c215..8a93aba644 100644 --- a/native/cocos/ui/edit-box/EditBox-mac.mm +++ b/native/cocos/ui/edit-box/EditBox-mac.mm @@ -74,6 +74,10 @@ se::Value g_textInputCallback; return TRUE; } + +- (void) textDidEndEditing:(NSNotification *)notification { + cc::EditBox::complete(); +} @end /************************************************************************* From cc7d347dbb7573aadfa8f87f51019800f499dcb2 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Mon, 15 Mar 2021 17:32:55 +0800 Subject: [PATCH 183/270] Fix the mutithread problem of deferred pipeline. (#3321) --- native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 0ed23c15bf..858937674c 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -139,6 +139,7 @@ void DeferredPipeline::render(const vector &cameras) { } } _commandBuffers[0]->end(); + _device->flushCommands(_commandBuffers); _device->getQueue()->submit(_commandBuffers); } From 0e92a891b9245ff73e21af202035f274936db295 Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 15 Mar 2021 18:15:30 +0800 Subject: [PATCH 184/270] fix compiling error --- native/cocos/renderer/pipeline/PlanarShadowQueue.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index 1f97d36e15..07ece2a5df 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -106,7 +106,6 @@ void PlanarShadowQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass const auto sceneData = _pipeline->getPipelineSceneData(); const auto sharedData = sceneData->getSharedData(); const auto *shadowInfo = sharedData->getShadows(); - const auto *shadowInfo = _pipeline->getShadows(); if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR) { return; } _instancedQueue->recordCommandBuffer(device, renderPass, cmdBuffer); From 115573eef327a74cd121bb7fde22041f24d3b23a Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 15 Mar 2021 18:42:19 +0800 Subject: [PATCH 185/270] fix link error --- native/cocos/renderer/pipeline/InstancedBuffer.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index 07c1afd90f..f60752624f 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -63,13 +63,17 @@ void InstancedBuffer::destroy() { } void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel, uint passIdx) { + merge(model, subModel, passIdx, nullptr); +} + +void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel, uint passIdx, gfx::Shader *shaderImplant) { uint stride = 0; const auto instancedBuffer = model->getInstancedBuffer(&stride); if (!stride) return; // we assume per-instance attributes are always present auto sourceIA = subModel->getInputAssembler(); auto lightingMap = subModel->getDescriptorSet()->getTexture(LIGHTMAP_TEXTURE::BINDING); - auto shader = subModel->getShader(passIdx); + auto shader = shaderImplant; if (!shader) { shader = subModel->getShader(passIdx); } auto descriptorSet = subModel->getDescriptorSet(); From 16a4963241dce66eac985e2d6442dcd1647d34f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Tue, 16 Mar 2021 17:08:35 +0800 Subject: [PATCH 186/270] Treat warning as error (#3324) * add werror flags * remove bad modifier --- native/CMakeLists.txt | 2092 +++++++++++++++++++++-------------------- 1 file changed, 1062 insertions(+), 1030 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index b58c57e523..5283f58640 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -59,14 +59,45 @@ set(CMAKE_CXX_EXTENSIONS OFF) set(CWD ${CMAKE_CURRENT_LIST_DIR}) set(COCOS2D_SOURCE_LIST) +set(WERROR_FLAGS "-Werror") +if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") + set(WERROR_FLAGS "/WX") +endif() + +# Should be enable someday in the future +# set(CMAKE_CXX_FLAGS "${WERROR_FLAGS}") + + +function(enable_werror source_list) + foreach(src IN LISTS source_list) + if("${src}" MATCHES "\\.(cpp|mm|c|m)\$") + set_source_files_properties("${src}" PROPERTIES + COMPILE_FLAGS "${WERROR_FLAGS}" + ) + endif() + endforeach() +endfunction() + macro(cocos_source_files) set(list_var "${ARGN}") + set(TWAE ON) foreach(src IN LISTS list_var) - set(fp "${CWD}/${src}") - if(EXISTS ${fp}) - list(APPEND COCOS2D_SOURCE_LIST "${CWD}/${src}") + + if("NO_WERROR" STREQUAL "${src}") + set(TWAE OFF) else() - message(FATAL_ERROR "Cocos souce file not exists: ${src} in ${CWD}") + set(fp "${CWD}/${src}") + if(EXISTS ${fp}) + if("${src}" MATCHES "\\.(cpp|mm|c|m)\$" AND TWAE) + set_source_files_properties("${CWD}/${src}" PROPERTIES + COMPILE_FLAGS "${WERROR_FLAGS}" + ) + endif() + list(APPEND COCOS2D_SOURCE_LIST "${CWD}/${src}") + else() + message(FATAL_ERROR "Cocos souce file not exists: ${src} in ${CWD}") + endif() + set(TWAE ON) endif() endforeach() endmacro() @@ -177,105 +208,105 @@ include(${CMAKE_CURRENT_LIST_DIR}/external/CMakeLists.txt) ##### audio if(USE_AUDIO) cocos_source_files( - cocos/audio/AudioEngine.cpp - cocos/audio/include/AudioEngine.h - cocos/audio/include/Export.h + NO_WERROR cocos/audio/AudioEngine.cpp + cocos/audio/include/AudioEngine.h + cocos/audio/include/Export.h ) if(WINDOWS) cocos_source_files( - cocos/audio/win32/AudioCache.cpp - cocos/audio/win32/AudioCache.h - cocos/audio/win32/AudioDecoder.cpp - cocos/audio/win32/AudioDecoder.h - cocos/audio/win32/AudioDecoderManager.cpp - cocos/audio/win32/AudioDecoderManager.h - cocos/audio/win32/AudioDecoderMp3.cpp - cocos/audio/win32/AudioDecoderMp3.h - cocos/audio/win32/AudioDecoderOgg.cpp - cocos/audio/win32/AudioDecoderOgg.h - cocos/audio/win32/AudioEngine-win32.cpp - cocos/audio/win32/AudioEngine-win32.h - cocos/audio/win32/AudioMacros.h - cocos/audio/win32/AudioPlayer.cpp - cocos/audio/win32/AudioPlayer.h + NO_WERROR cocos/audio/win32/AudioCache.cpp + cocos/audio/win32/AudioCache.h + NO_WERROR cocos/audio/win32/AudioDecoder.cpp + cocos/audio/win32/AudioDecoder.h + NO_WERROR cocos/audio/win32/AudioDecoderManager.cpp + cocos/audio/win32/AudioDecoderManager.h + NO_WERROR cocos/audio/win32/AudioDecoderMp3.cpp + cocos/audio/win32/AudioDecoderMp3.h + NO_WERROR cocos/audio/win32/AudioDecoderOgg.cpp + cocos/audio/win32/AudioDecoderOgg.h + NO_WERROR cocos/audio/win32/AudioEngine-win32.cpp + cocos/audio/win32/AudioEngine-win32.h + cocos/audio/win32/AudioMacros.h + NO_WERROR cocos/audio/win32/AudioPlayer.cpp + cocos/audio/win32/AudioPlayer.h ) elseif(ANDROID) cocos_source_files( - cocos/audio/android/AssetFd.cpp - cocos/audio/android/AssetFd.h - cocos/audio/android/audio.h - cocos/audio/android/AudioBufferProvider.h - cocos/audio/android/AudioDecoder.cpp - cocos/audio/android/AudioDecoder.h - cocos/audio/android/AudioDecoderMp3.cpp - cocos/audio/android/AudioDecoderMp3.h - cocos/audio/android/AudioDecoderOgg.cpp - cocos/audio/android/AudioDecoderOgg.h - cocos/audio/android/AudioDecoderProvider.cpp - cocos/audio/android/AudioDecoderProvider.h - cocos/audio/android/AudioDecoderSLES.cpp - cocos/audio/android/AudioDecoderSLES.h - cocos/audio/android/AudioDecoderWav.cpp - cocos/audio/android/AudioDecoderWav.h - cocos/audio/android/AudioEngine-inl.cpp - cocos/audio/android/AudioEngine-inl.h - cocos/audio/android/AudioMixer.cpp - cocos/audio/android/AudioMixer.h - cocos/audio/android/AudioMixerController.cpp - cocos/audio/android/AudioMixerController.h - cocos/audio/android/AudioMixerOps.h - cocos/audio/android/AudioPlayerProvider.cpp - cocos/audio/android/AudioPlayerProvider.h - cocos/audio/android/AudioResampler.cpp - cocos/audio/android/AudioResampler.h - cocos/audio/android/AudioResamplerCubic.cpp - cocos/audio/android/AudioResamplerCubic.h - cocos/audio/android/AudioResamplerPublic.h - cocos/audio/android/audio_utils/format.c - cocos/audio/android/audio_utils/include/audio_utils/format.h - cocos/audio/android/audio_utils/include/audio_utils/minifloat.h - cocos/audio/android/audio_utils/include/audio_utils/primitives.h - cocos/audio/android/audio_utils/minifloat.cpp - cocos/audio/android/audio_utils/primitives.c - cocos/audio/android/audio_utils/private/private.h - cocos/audio/android/cutils/bitops.h - cocos/audio/android/cutils/log.h - cocos/audio/android/IAudioPlayer.h - cocos/audio/android/ICallerThreadUtils.h - cocos/audio/android/IVolumeProvider.h - cocos/audio/android/mp3reader.cpp - cocos/audio/android/mp3reader.h - cocos/audio/android/OpenSLHelper.h - cocos/audio/android/PcmAudioPlayer.cpp - cocos/audio/android/PcmAudioPlayer.h - cocos/audio/android/PcmAudioService.cpp - cocos/audio/android/PcmAudioService.h - cocos/audio/android/PcmBufferProvider.cpp - cocos/audio/android/PcmBufferProvider.h - cocos/audio/android/PcmData.cpp - cocos/audio/android/PcmData.h - cocos/audio/android/tinysndfile.cpp - cocos/audio/android/tinysndfile.h - cocos/audio/android/Track.cpp - cocos/audio/android/Track.h - cocos/audio/android/UrlAudioPlayer.cpp - cocos/audio/android/UrlAudioPlayer.h - cocos/audio/android/utils/Compat.h - cocos/audio/android/utils/Errors.h - cocos/audio/android/utils/Utils.cpp - cocos/audio/android/utils/Utils.h + NO_WERROR cocos/audio/android/AssetFd.cpp + cocos/audio/android/AssetFd.h + cocos/audio/android/audio.h + cocos/audio/android/AudioBufferProvider.h + NO_WERROR cocos/audio/android/AudioDecoder.cpp + cocos/audio/android/AudioDecoder.h + NO_WERROR cocos/audio/android/AudioDecoderMp3.cpp + cocos/audio/android/AudioDecoderMp3.h + NO_WERROR cocos/audio/android/AudioDecoderOgg.cpp + cocos/audio/android/AudioDecoderOgg.h + NO_WERROR cocos/audio/android/AudioDecoderProvider.cpp + cocos/audio/android/AudioDecoderProvider.h + NO_WERROR cocos/audio/android/AudioDecoderSLES.cpp + cocos/audio/android/AudioDecoderSLES.h + NO_WERROR cocos/audio/android/AudioDecoderWav.cpp + cocos/audio/android/AudioDecoderWav.h + NO_WERROR cocos/audio/android/AudioEngine-inl.cpp + cocos/audio/android/AudioEngine-inl.h + NO_WERROR cocos/audio/android/AudioMixer.cpp + cocos/audio/android/AudioMixer.h + NO_WERROR cocos/audio/android/AudioMixerController.cpp + cocos/audio/android/AudioMixerController.h + cocos/audio/android/AudioMixerOps.h + NO_WERROR cocos/audio/android/AudioPlayerProvider.cpp + cocos/audio/android/AudioPlayerProvider.h + NO_WERROR cocos/audio/android/AudioResampler.cpp + cocos/audio/android/AudioResampler.h + NO_WERROR cocos/audio/android/AudioResamplerCubic.cpp + cocos/audio/android/AudioResamplerCubic.h + cocos/audio/android/AudioResamplerPublic.h + NO_WERROR cocos/audio/android/audio_utils/format.c + cocos/audio/android/audio_utils/include/audio_utils/format.h + cocos/audio/android/audio_utils/include/audio_utils/minifloat.h + cocos/audio/android/audio_utils/include/audio_utils/primitives.h + NO_WERROR cocos/audio/android/audio_utils/minifloat.cpp + NO_WERROR cocos/audio/android/audio_utils/primitives.c + cocos/audio/android/audio_utils/private/private.h + cocos/audio/android/cutils/bitops.h + cocos/audio/android/cutils/log.h + cocos/audio/android/IAudioPlayer.h + cocos/audio/android/ICallerThreadUtils.h + cocos/audio/android/IVolumeProvider.h + NO_WERROR cocos/audio/android/mp3reader.cpp + cocos/audio/android/mp3reader.h + cocos/audio/android/OpenSLHelper.h + NO_WERROR cocos/audio/android/PcmAudioPlayer.cpp + cocos/audio/android/PcmAudioPlayer.h + NO_WERROR cocos/audio/android/PcmAudioService.cpp + cocos/audio/android/PcmAudioService.h + NO_WERROR cocos/audio/android/PcmBufferProvider.cpp + cocos/audio/android/PcmBufferProvider.h + NO_WERROR cocos/audio/android/PcmData.cpp + cocos/audio/android/PcmData.h + NO_WERROR cocos/audio/android/tinysndfile.cpp + cocos/audio/android/tinysndfile.h + NO_WERROR cocos/audio/android/Track.cpp + cocos/audio/android/Track.h + NO_WERROR cocos/audio/android/UrlAudioPlayer.cpp + cocos/audio/android/UrlAudioPlayer.h + cocos/audio/android/utils/Compat.h + cocos/audio/android/utils/Errors.h + NO_WERROR cocos/audio/android/utils/Utils.cpp + cocos/audio/android/utils/Utils.h ) elseif(APPLE) cocos_source_files( - cocos/audio/apple/AudioDecoder.h - cocos/audio/apple/AudioPlayer.mm - cocos/audio/apple/AudioDecoder.mm - cocos/audio/apple/AudioPlayer.h - cocos/audio/apple/AudioEngine-inl.mm - cocos/audio/apple/AudioMacros.h - cocos/audio/apple/AudioCache.mm - cocos/audio/apple/AudioCache.h - cocos/audio/apple/AudioEngine-inl.h + cocos/audio/apple/AudioDecoder.h + NO_WERROR cocos/audio/apple/AudioPlayer.mm + NO_WERROR cocos/audio/apple/AudioDecoder.mm + cocos/audio/apple/AudioPlayer.h + NO_WERROR cocos/audio/apple/AudioEngine-inl.mm + cocos/audio/apple/AudioMacros.h + NO_WERROR cocos/audio/apple/AudioCache.mm + cocos/audio/apple/AudioCache.h + cocos/audio/apple/AudioEngine-inl.h ) endif() @@ -283,181 +314,181 @@ endif() ##### base cocos_source_files( - cocos/base/Array.cpp - cocos/base/Array.h - cocos/base/astc.cpp - cocos/base/astc.h - cocos/base/AutoreleasePool.cpp - cocos/base/AutoreleasePool.h - cocos/base/base64.cpp - cocos/base/base64.h - cocos/base/CachedArray.h - cocos/base/Config.h - cocos/base/CoreStd.h - cocos/base/csscolorparser.cpp - cocos/base/csscolorparser.h - cocos/base/Data.cpp - cocos/base/Data.h - cocos/base/etc1.cpp - cocos/base/etc1.h - cocos/base/etc2.cpp - cocos/base/etc2.h - cocos/base/IndexHandle.h - cocos/base/Log.cpp - cocos/base/Log.h - cocos/base/Macros.h - cocos/base/Map.h - cocos/base/Object.h - cocos/base/Random.cpp - cocos/base/Random.h - cocos/base/Ref.cpp - cocos/base/Ref.h - cocos/base/Scheduler.cpp - cocos/base/Scheduler.h - cocos/base/StringHandle.cpp - cocos/base/StringHandle.h - cocos/base/StringPool.h - cocos/base/StringUtil.cpp - cocos/base/StringUtil.h - cocos/base/ThreadPool.cpp - cocos/base/ThreadPool.h - cocos/base/TypeDef.h - cocos/base/UTF8.cpp - cocos/base/UTF8.h - cocos/base/UTFString.cpp - cocos/base/UTFString.h - cocos/base/uthash.h - cocos/base/Utils.cpp - cocos/base/Utils.h - cocos/base/Value.cpp - cocos/base/Value.h - cocos/base/Vector.h - cocos/base/ZipUtils.cpp - cocos/base/ZipUtils.h + NO_WERROR cocos/base/Array.cpp + cocos/base/Array.h + NO_WERROR cocos/base/astc.cpp + cocos/base/astc.h + NO_WERROR cocos/base/AutoreleasePool.cpp + cocos/base/AutoreleasePool.h + NO_WERROR cocos/base/base64.cpp + cocos/base/base64.h + cocos/base/CachedArray.h + cocos/base/Config.h + cocos/base/CoreStd.h + NO_WERROR cocos/base/csscolorparser.cpp + cocos/base/csscolorparser.h + NO_WERROR cocos/base/Data.cpp + cocos/base/Data.h + NO_WERROR cocos/base/etc1.cpp + cocos/base/etc1.h + NO_WERROR cocos/base/etc2.cpp + cocos/base/etc2.h + cocos/base/IndexHandle.h + NO_WERROR cocos/base/Log.cpp + cocos/base/Log.h + cocos/base/Macros.h + cocos/base/Map.h + cocos/base/Object.h + NO_WERROR cocos/base/Random.cpp + cocos/base/Random.h + NO_WERROR cocos/base/Ref.cpp + cocos/base/Ref.h + NO_WERROR cocos/base/Scheduler.cpp + cocos/base/Scheduler.h + NO_WERROR cocos/base/StringHandle.cpp + cocos/base/StringHandle.h + cocos/base/StringPool.h + NO_WERROR cocos/base/StringUtil.cpp + cocos/base/StringUtil.h + NO_WERROR cocos/base/ThreadPool.cpp + cocos/base/ThreadPool.h + cocos/base/TypeDef.h + NO_WERROR cocos/base/UTF8.cpp + cocos/base/UTF8.h + NO_WERROR cocos/base/UTFString.cpp + cocos/base/UTFString.h + cocos/base/uthash.h + NO_WERROR cocos/base/Utils.cpp + cocos/base/Utils.h + NO_WERROR cocos/base/Value.cpp + cocos/base/Value.h + cocos/base/Vector.h + NO_WERROR cocos/base/ZipUtils.cpp + cocos/base/ZipUtils.h ) ##### memory cocos_source_files( - cocos/base/memory/AllocatedObj.cpp - cocos/base/memory/AllocatedObj.h - cocos/base/memory/JeAlloc.cpp - cocos/base/memory/JeAlloc.h - cocos/base/memory/MemDef.h - cocos/base/memory/Memory.cpp - cocos/base/memory/Memory.h - cocos/base/memory/MemTracker.cpp - cocos/base/memory/MemTracker.h - cocos/base/memory/NedPooling.cpp - cocos/base/memory/NedPooling.h - cocos/base/memory/StdAlloc.h - cocos/base/memory/StlAlloc.h + NO_WERROR cocos/base/memory/AllocatedObj.cpp + cocos/base/memory/AllocatedObj.h + NO_WERROR cocos/base/memory/JeAlloc.cpp + cocos/base/memory/JeAlloc.h + cocos/base/memory/MemDef.h + NO_WERROR cocos/base/memory/Memory.cpp + cocos/base/memory/Memory.h + NO_WERROR cocos/base/memory/MemTracker.cpp + cocos/base/memory/MemTracker.h + NO_WERROR cocos/base/memory/NedPooling.cpp + cocos/base/memory/NedPooling.h + cocos/base/memory/StdAlloc.h + cocos/base/memory/StlAlloc.h ) ##### threading cocos_source_files( - cocos/base/threading/ConditionVariable.h - cocos/base/threading/ConditionVariable.cpp - cocos/base/threading/Event.h - cocos/base/threading/MessageQueue.h - cocos/base/threading/MessageQueue.cpp - cocos/base/threading/Semaphore.h - cocos/base/threading/Semaphore.cpp - cocos/base/threading/ThreadPool.h - cocos/base/threading/ThreadPool.cpp - cocos/base/threading/ThreadSafeCounter.h - cocos/base/threading/ThreadSafeLinearAllocator.h - cocos/base/threading/ThreadSafeLinearAllocator.cpp + cocos/base/threading/ConditionVariable.h + NO_WERROR cocos/base/threading/ConditionVariable.cpp + cocos/base/threading/Event.h + cocos/base/threading/MessageQueue.h + NO_WERROR cocos/base/threading/MessageQueue.cpp + cocos/base/threading/Semaphore.h + NO_WERROR cocos/base/threading/Semaphore.cpp + cocos/base/threading/ThreadPool.h + NO_WERROR cocos/base/threading/ThreadPool.cpp + cocos/base/threading/ThreadSafeCounter.h + cocos/base/threading/ThreadSafeLinearAllocator.h + NO_WERROR cocos/base/threading/ThreadSafeLinearAllocator.cpp ) ##### job system cocos_source_files( - cocos/base/job-system/JobSystem.h + cocos/base/job-system/JobSystem.h - cocos/base/job-system/job-system-taskflow/TFJobGraph.h - cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp - cocos/base/job-system/job-system-taskflow/TFJobSystem.h - cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp + cocos/base/job-system/job-system-taskflow/TFJobGraph.h + NO_WERROR cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp + cocos/base/job-system/job-system-taskflow/TFJobSystem.h + NO_WERROR cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp - cocos/base/job-system/job-system-tbb/TBBJobGraph.h - cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp - cocos/base/job-system/job-system-tbb/TBBJobSystem.h - cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp + cocos/base/job-system/job-system-tbb/TBBJobGraph.h + NO_WERROR cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp + cocos/base/job-system/job-system-tbb/TBBJobSystem.h + NO_WERROR cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp ) ##### math cocos_source_files( - cocos/math/Geometry.cpp - cocos/math/Geometry.h - cocos/math/Math.h - cocos/math/Math.cpp - cocos/math/MathBase.h - cocos/math/Vertex.cpp - cocos/math/Vertex.h - cocos/math/Mat3.cpp - cocos/math/Mat3.h - cocos/math/Mat4.cpp - cocos/math/Mat4.h - cocos/math/Mat4.inl - cocos/math/MathUtil.cpp - cocos/math/MathUtil.h - cocos/math/MathUtil.inl - cocos/math/MathUtilNeon.inl - cocos/math/MathUtilNeon64.inl - cocos/math/MathUtilSSE.inl - cocos/math/Quaternion.cpp - cocos/math/Quaternion.h - cocos/math/Quaternion.inl - cocos/math/Vec2.cpp - cocos/math/Vec2.h - cocos/math/Vec2.inl - cocos/math/Vec3.cpp - cocos/math/Vec3.h - cocos/math/Vec3.inl - cocos/math/Vec4.cpp - cocos/math/Vec4.h - cocos/math/Vec4.inl + NO_WERROR cocos/math/Geometry.cpp + cocos/math/Geometry.h + cocos/math/Math.h + NO_WERROR cocos/math/Math.cpp + cocos/math/MathBase.h + NO_WERROR cocos/math/Vertex.cpp + cocos/math/Vertex.h + NO_WERROR cocos/math/Mat3.cpp + cocos/math/Mat3.h + NO_WERROR cocos/math/Mat4.cpp + cocos/math/Mat4.h + cocos/math/Mat4.inl + NO_WERROR cocos/math/MathUtil.cpp + cocos/math/MathUtil.h + cocos/math/MathUtil.inl + cocos/math/MathUtilNeon.inl + cocos/math/MathUtilNeon64.inl + cocos/math/MathUtilSSE.inl + NO_WERROR cocos/math/Quaternion.cpp + cocos/math/Quaternion.h + cocos/math/Quaternion.inl + NO_WERROR cocos/math/Vec2.cpp + cocos/math/Vec2.h + cocos/math/Vec2.inl + NO_WERROR cocos/math/Vec3.cpp + cocos/math/Vec3.h + cocos/math/Vec3.inl + NO_WERROR cocos/math/Vec4.cpp + cocos/math/Vec4.h + cocos/math/Vec4.inl ) ##### network cocos_source_files( - cocos/network/Downloader.cpp - cocos/network/Downloader.h - cocos/network/DownloaderImpl.h - cocos/network/HttpClient.h - cocos/network/HttpCookie.cpp - cocos/network/HttpCookie.h - cocos/network/HttpRequest.h - cocos/network/HttpResponse.h - cocos/network/Uri.cpp - cocos/network/Uri.h + NO_WERROR cocos/network/Downloader.cpp + cocos/network/Downloader.h + cocos/network/DownloaderImpl.h + cocos/network/HttpClient.h + NO_WERROR cocos/network/HttpCookie.cpp + cocos/network/HttpCookie.h + cocos/network/HttpRequest.h + cocos/network/HttpResponse.h + NO_WERROR cocos/network/Uri.cpp + cocos/network/Uri.h ) if(USE_SOCKET) cocos_source_files( - cocos/network/WebSocket.h - cocos/network/SocketIO.cpp - cocos/network/SocketIO.h + cocos/network/WebSocket.h + NO_WERROR cocos/network/SocketIO.cpp + cocos/network/SocketIO.h ) endif() if(NOT IOS AND USE_WEBSOCKET_SERVER) cocos_source_files( - cocos/network/WebSocketServer.h - cocos/network/WebSocketServer.cpp + cocos/network/WebSocketServer.h + NO_WERROR cocos/network/WebSocketServer.cpp ) endif() if(APPLE) cocos_source_files( - cocos/network/DownloaderImpl-apple.h - cocos/network/DownloaderImpl-apple.mm - cocos/network/HttpAsynConnection-apple.h - cocos/network/HttpAsynConnection-apple.m - cocos/network/HttpClient-apple.mm + cocos/network/DownloaderImpl-apple.h + NO_WERROR cocos/network/DownloaderImpl-apple.mm + cocos/network/HttpAsynConnection-apple.h + NO_WERROR cocos/network/HttpAsynConnection-apple.m + NO_WERROR cocos/network/HttpClient-apple.mm ) if(USE_SOCKET) cocos_source_files( - cocos/network/WebSocket-apple.mm + NO_WERROR cocos/network/WebSocket-apple.mm ) set_source_files_properties(${CWD}/cocos/network/WebSocket-apple.mm PROPERTIES COMPILE_FLAGS -fobjc-arc @@ -467,71 +498,71 @@ endif() if(ANDROID) cocos_source_files( - cocos/network/Downloader-android.cpp - cocos/network/Downloader-android.h - cocos/network/HttpClient-android.cpp + NO_WERROR cocos/network/Downloader-android.cpp + cocos/network/Downloader-android.h + NO_WERROR cocos/network/HttpClient-android.cpp ) endif() if(NOT APPLE AND USE_SOCKET) cocos_source_files( - cocos/network/WebSocket-libwebsockets.cpp + NO_WERROR cocos/network/WebSocket-libwebsockets.cpp ) endif() if(WINDOWS) cocos_source_files( - cocos/network/Downloader-curl.cpp - cocos/network/Downloader-curl.h + NO_WERROR cocos/network/Downloader-curl.cpp + cocos/network/Downloader-curl.h ) endif() if(WINDOWS OR MACOSX) cocos_source_files( - cocos/network/HttpClient.cpp + NO_WERROR cocos/network/HttpClient.cpp ) endif() ##### platform cocos_source_files( - cocos/platform/Application.h - cocos/platform/Application.cpp - cocos/platform/CanvasRenderingContext2D.h - cocos/platform/Device.h - cocos/platform/FileUtils.cpp - cocos/platform/FileUtils.h - cocos/platform/Image.cpp - cocos/platform/Image.h - cocos/platform/SAXParser.cpp - cocos/platform/SAXParser.h - cocos/platform/StdC.h + cocos/platform/Application.h + NO_WERROR cocos/platform/Application.cpp + cocos/platform/CanvasRenderingContext2D.h + cocos/platform/Device.h + NO_WERROR cocos/platform/FileUtils.cpp + cocos/platform/FileUtils.h + NO_WERROR cocos/platform/Image.cpp + cocos/platform/Image.h + NO_WERROR cocos/platform/SAXParser.cpp + cocos/platform/SAXParser.h + cocos/platform/StdC.h ) if(WINDOWS) cocos_source_files( - cocos/platform/win32/Application-win32.cpp - cocos/platform/win32/CanvasRenderingContext2D-win32.cpp - cocos/platform/win32/Device-win32.cpp - cocos/platform/win32/FileUtils-win32.cpp - cocos/platform/win32/FileUtils-win32.h - cocos/platform/win32/Utils-win32.cpp - cocos/platform/win32/Utils-win32.h - cocos/platform/win32/View-win32.cpp - cocos/platform/win32/View-win32.h + NO_WERROR cocos/platform/win32/Application-win32.cpp + NO_WERROR cocos/platform/win32/CanvasRenderingContext2D-win32.cpp + NO_WERROR cocos/platform/win32/Device-win32.cpp + NO_WERROR cocos/platform/win32/FileUtils-win32.cpp + cocos/platform/win32/FileUtils-win32.h + NO_WERROR cocos/platform/win32/Utils-win32.cpp + cocos/platform/win32/Utils-win32.h + NO_WERROR cocos/platform/win32/View-win32.cpp + cocos/platform/win32/View-win32.h cocos/platform/win32/compat - cocos/platform/win32/compat/stdint.h - cocos/platform/win32/inet_pton_mingw.cpp - cocos/platform/win32/inet_pton_mingw.h + cocos/platform/win32/compat/stdint.h + NO_WERROR cocos/platform/win32/inet_pton_mingw.cpp + cocos/platform/win32/inet_pton_mingw.h ) elseif(ANDROID) cocos_source_files( - cocos/platform/android/Application-android.cpp - cocos/platform/android/CanvasRenderingContext2D-android.cpp - cocos/platform/android/Device-android.cpp - cocos/platform/android/FileUtils-android.cpp - cocos/platform/android/FileUtils-android.h - cocos/platform/android/View.cpp - cocos/platform/android/View.h + NO_WERROR cocos/platform/android/Application-android.cpp + NO_WERROR cocos/platform/android/CanvasRenderingContext2D-android.cpp + NO_WERROR cocos/platform/android/Device-android.cpp + NO_WERROR cocos/platform/android/FileUtils-android.cpp + cocos/platform/android/FileUtils-android.h + NO_WERROR cocos/platform/android/View.cpp + cocos/platform/android/View.h ) set(CC_JNI_SRC_FILES ${CWD}/cocos/platform/android/jni/JniCocosActivity.cpp @@ -547,942 +578,942 @@ elseif(ANDROID) ) elseif(APPLE) cocos_source_files( - cocos/platform/apple/FileUtils-apple.h - cocos/platform/apple/Device-apple.mm - cocos/platform/apple/FileUtils-apple.mm - cocos/platform/apple/CanvasRenderingContext2D-apple.mm - cocos/platform/apple/Device-apple.h + cocos/platform/apple/FileUtils-apple.h + NO_WERROR cocos/platform/apple/Device-apple.mm + NO_WERROR cocos/platform/apple/FileUtils-apple.mm + NO_WERROR cocos/platform/apple/CanvasRenderingContext2D-apple.mm + cocos/platform/apple/Device-apple.h ) # bad structure cocos_source_files( - cocos/platform/ios/Reachability.h - cocos/platform/ios/Reachability.cpp + cocos/platform/ios/Reachability.h + NO_WERROR cocos/platform/ios/Reachability.cpp ) if(MACOSX) cocos_source_files( - cocos/platform/mac/View.h - cocos/platform/mac/KeyCodeHelper.h - cocos/platform/mac/View.mm - cocos/platform/mac/Device-mac.mm - cocos/platform/mac/Application-mac.mm - cocos/platform/mac/KeyCodeHelper.cpp + cocos/platform/mac/View.h + cocos/platform/mac/KeyCodeHelper.h + NO_WERROR cocos/platform/mac/View.mm + NO_WERROR cocos/platform/mac/Device-mac.mm + NO_WERROR cocos/platform/mac/Application-mac.mm + NO_WERROR cocos/platform/mac/KeyCodeHelper.cpp ) elseif(IOS) cocos_source_files( - cocos/platform/ios/View.h - cocos/platform/ios/View.mm - cocos/platform/ios/Application-ios.mm - cocos/platform/ios/Device-ios.mm + cocos/platform/ios/View.h + NO_WERROR cocos/platform/ios/View.mm + NO_WERROR cocos/platform/ios/Application-ios.mm + NO_WERROR cocos/platform/ios/Device-ios.mm ) endif() endif() ##### renderer cocos_source_files( - cocos/renderer/gfx-base/GFXObject.h - cocos/renderer/gfx-base/GFXObject.cpp - cocos/renderer/gfx-base/GFXBase.h - cocos/renderer/gfx-base/GFXBuffer.cpp - cocos/renderer/gfx-base/GFXBuffer.h - cocos/renderer/gfx-base/GFXCommandBuffer.cpp - cocos/renderer/gfx-base/GFXCommandBuffer.h - cocos/renderer/gfx-base/GFXContext.cpp - cocos/renderer/gfx-base/GFXContext.h - cocos/renderer/gfx-base/GFXDef.cpp - cocos/renderer/gfx-base/GFXDef.h - cocos/renderer/gfx-base/GFXDef-common.h - cocos/renderer/gfx-base/GFXDevice.cpp - cocos/renderer/gfx-base/GFXDevice.h - cocos/renderer/gfx-base/GFXFramebuffer.cpp - cocos/renderer/gfx-base/GFXFramebuffer.h - cocos/renderer/gfx-base/GFXGlobalBarrier.cpp - cocos/renderer/gfx-base/GFXGlobalBarrier.h - cocos/renderer/gfx-base/GFXInputAssembler.cpp - cocos/renderer/gfx-base/GFXInputAssembler.h - cocos/renderer/gfx-base/GFXDescriptorSet.cpp - cocos/renderer/gfx-base/GFXDescriptorSet.h - cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp - cocos/renderer/gfx-base/GFXDescriptorSetLayout.h - cocos/renderer/gfx-base/GFXPipelineLayout.cpp - cocos/renderer/gfx-base/GFXPipelineLayout.h - cocos/renderer/gfx-base/GFXPipelineState.cpp - cocos/renderer/gfx-base/GFXPipelineState.h - cocos/renderer/gfx-base/GFXQueue.cpp - cocos/renderer/gfx-base/GFXQueue.h - cocos/renderer/gfx-base/GFXRenderPass.cpp - cocos/renderer/gfx-base/GFXRenderPass.h - cocos/renderer/gfx-base/GFXSampler.cpp - cocos/renderer/gfx-base/GFXSampler.h - cocos/renderer/gfx-base/GFXShader.cpp - cocos/renderer/gfx-base/GFXShader.h - cocos/renderer/gfx-base/GFXTexture.cpp - cocos/renderer/gfx-base/GFXTexture.h - cocos/renderer/gfx-base/GFXTextureBarrier.cpp - cocos/renderer/gfx-base/GFXTextureBarrier.h - cocos/renderer/gfx-agent/GFXAgent.h - cocos/renderer/gfx-agent/GFXBufferAgent.h - cocos/renderer/gfx-agent/GFXBufferAgent.cpp - cocos/renderer/gfx-agent/GFXCommandBufferAgent.h - cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp - cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h - cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp - cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h - cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp - cocos/renderer/gfx-agent/GFXDeviceAgent.h - cocos/renderer/gfx-agent/GFXDeviceAgent.cpp - cocos/renderer/gfx-agent/GFXFramebufferAgent.h - cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp - cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h - cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp - cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h - cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h - cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp - cocos/renderer/gfx-agent/GFXPipelineStateAgent.h - cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp - cocos/renderer/gfx-agent/GFXQueueAgent.h - cocos/renderer/gfx-agent/GFXQueueAgent.cpp - cocos/renderer/gfx-agent/GFXRenderPassAgent.h - cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp - cocos/renderer/gfx-agent/GFXSamplerAgent.h - cocos/renderer/gfx-agent/GFXSamplerAgent.cpp - cocos/renderer/gfx-agent/GFXShaderAgent.h - cocos/renderer/gfx-agent/GFXShaderAgent.cpp - cocos/renderer/gfx-agent/GFXTextureAgent.h - cocos/renderer/gfx-agent/GFXTextureAgent.cpp - cocos/renderer/pipeline/BatchedBuffer.cpp - cocos/renderer/pipeline/BatchedBuffer.h - cocos/renderer/pipeline/Define.h - cocos/renderer/pipeline/Define.cpp - 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/RenderBatchedQueue.cpp - cocos/renderer/pipeline/RenderBatchedQueue.h - cocos/renderer/pipeline/RenderFlow.cpp - cocos/renderer/pipeline/RenderFlow.h - cocos/renderer/pipeline/RenderInstancedQueue.cpp - cocos/renderer/pipeline/RenderInstancedQueue.h - cocos/renderer/pipeline/RenderPipeline.cpp - cocos/renderer/pipeline/RenderPipeline.h - cocos/renderer/pipeline/RenderQueue.cpp - cocos/renderer/pipeline/RenderQueue.h - cocos/renderer/pipeline/RenderStage.cpp - cocos/renderer/pipeline/RenderStage.h - cocos/renderer/pipeline/PlanarShadowQueue.cpp - cocos/renderer/pipeline/PlanarShadowQueue.h - cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp - cocos/renderer/pipeline/ShadowMapBatchedQueue.h - cocos/renderer/pipeline/PipelineUBO.cpp - cocos/renderer/pipeline/PipelineUBO.h - cocos/renderer/pipeline/PipelineSceneData.cpp - cocos/renderer/pipeline/PipelineSceneData.h - cocos/renderer/pipeline/forward/ForwardFlow.cpp - cocos/renderer/pipeline/forward/ForwardFlow.h - cocos/renderer/pipeline/forward/ForwardPipeline.cpp - cocos/renderer/pipeline/forward/ForwardPipeline.h - cocos/renderer/pipeline/forward/ForwardStage.cpp - cocos/renderer/pipeline/forward/ForwardStage.h - cocos/renderer/pipeline/SceneCulling.cpp - cocos/renderer/pipeline/SceneCulling.h - cocos/renderer/pipeline/forward/UIPhase.cpp - cocos/renderer/pipeline/forward/UIPhase.h - cocos/renderer/pipeline/deferred/DeferredPipeline.cpp - cocos/renderer/pipeline/deferred/DeferredPipeline.h - cocos/renderer/pipeline/deferred/GbufferFlow.cpp - cocos/renderer/pipeline/deferred/GbufferFlow.h - cocos/renderer/pipeline/deferred/GbufferStage.cpp - cocos/renderer/pipeline/deferred/GbufferStage.h - cocos/renderer/pipeline/deferred/LightingFlow.cpp - cocos/renderer/pipeline/deferred/LightingFlow.h - cocos/renderer/pipeline/deferred/LightingStage.cpp - cocos/renderer/pipeline/deferred/LightingStage.h - cocos/renderer/pipeline/deferred/PostprocessStage.cpp - cocos/renderer/pipeline/deferred/PostprocessStage.h - cocos/renderer/pipeline/shadow/ShadowFlow.cpp - cocos/renderer/pipeline/shadow/ShadowFlow.h - cocos/renderer/pipeline/shadow/ShadowStage.cpp - cocos/renderer/pipeline/shadow/ShadowStage.h - cocos/renderer/pipeline/helper/DefineMap.h - cocos/renderer/pipeline/helper/DefineMap.cpp - cocos/renderer/pipeline/helper/SharedMemory.h - cocos/renderer/pipeline/helper/SharedMemory.cpp + cocos/renderer/gfx-base/GFXObject.h + NO_WERROR cocos/renderer/gfx-base/GFXObject.cpp + cocos/renderer/gfx-base/GFXBase.h + NO_WERROR cocos/renderer/gfx-base/GFXBuffer.cpp + cocos/renderer/gfx-base/GFXBuffer.h + NO_WERROR cocos/renderer/gfx-base/GFXCommandBuffer.cpp + cocos/renderer/gfx-base/GFXCommandBuffer.h + NO_WERROR cocos/renderer/gfx-base/GFXContext.cpp + cocos/renderer/gfx-base/GFXContext.h + NO_WERROR cocos/renderer/gfx-base/GFXDef.cpp + cocos/renderer/gfx-base/GFXDef.h + cocos/renderer/gfx-base/GFXDef-common.h + NO_WERROR cocos/renderer/gfx-base/GFXDevice.cpp + cocos/renderer/gfx-base/GFXDevice.h + NO_WERROR cocos/renderer/gfx-base/GFXFramebuffer.cpp + cocos/renderer/gfx-base/GFXFramebuffer.h + NO_WERROR cocos/renderer/gfx-base/GFXGlobalBarrier.cpp + cocos/renderer/gfx-base/GFXGlobalBarrier.h + NO_WERROR cocos/renderer/gfx-base/GFXInputAssembler.cpp + cocos/renderer/gfx-base/GFXInputAssembler.h + NO_WERROR cocos/renderer/gfx-base/GFXDescriptorSet.cpp + cocos/renderer/gfx-base/GFXDescriptorSet.h + NO_WERROR cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp + cocos/renderer/gfx-base/GFXDescriptorSetLayout.h + NO_WERROR cocos/renderer/gfx-base/GFXPipelineLayout.cpp + cocos/renderer/gfx-base/GFXPipelineLayout.h + NO_WERROR cocos/renderer/gfx-base/GFXPipelineState.cpp + cocos/renderer/gfx-base/GFXPipelineState.h + NO_WERROR cocos/renderer/gfx-base/GFXQueue.cpp + cocos/renderer/gfx-base/GFXQueue.h + NO_WERROR cocos/renderer/gfx-base/GFXRenderPass.cpp + cocos/renderer/gfx-base/GFXRenderPass.h + NO_WERROR cocos/renderer/gfx-base/GFXSampler.cpp + cocos/renderer/gfx-base/GFXSampler.h + NO_WERROR cocos/renderer/gfx-base/GFXShader.cpp + cocos/renderer/gfx-base/GFXShader.h + NO_WERROR cocos/renderer/gfx-base/GFXTexture.cpp + cocos/renderer/gfx-base/GFXTexture.h + NO_WERROR cocos/renderer/gfx-base/GFXTextureBarrier.cpp + cocos/renderer/gfx-base/GFXTextureBarrier.h + cocos/renderer/gfx-agent/GFXAgent.h + cocos/renderer/gfx-agent/GFXBufferAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXBufferAgent.cpp + cocos/renderer/gfx-agent/GFXCommandBufferAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp + cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp + cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp + cocos/renderer/gfx-agent/GFXDeviceAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXDeviceAgent.cpp + cocos/renderer/gfx-agent/GFXFramebufferAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp + cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp + cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h + cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp + cocos/renderer/gfx-agent/GFXPipelineStateAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp + cocos/renderer/gfx-agent/GFXQueueAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXQueueAgent.cpp + cocos/renderer/gfx-agent/GFXRenderPassAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp + cocos/renderer/gfx-agent/GFXSamplerAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXSamplerAgent.cpp + cocos/renderer/gfx-agent/GFXShaderAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXShaderAgent.cpp + cocos/renderer/gfx-agent/GFXTextureAgent.h + NO_WERROR cocos/renderer/gfx-agent/GFXTextureAgent.cpp + NO_WERROR cocos/renderer/pipeline/BatchedBuffer.cpp + cocos/renderer/pipeline/BatchedBuffer.h + cocos/renderer/pipeline/Define.h + NO_WERROR cocos/renderer/pipeline/Define.cpp + NO_WERROR cocos/renderer/pipeline/InstancedBuffer.cpp + cocos/renderer/pipeline/InstancedBuffer.h + NO_WERROR cocos/renderer/pipeline/PipelineStateManager.cpp + cocos/renderer/pipeline/PipelineStateManager.h + NO_WERROR cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp + cocos/renderer/pipeline/RenderAdditiveLightQueue.h + NO_WERROR cocos/renderer/pipeline/RenderBatchedQueue.cpp + cocos/renderer/pipeline/RenderBatchedQueue.h + NO_WERROR cocos/renderer/pipeline/RenderFlow.cpp + cocos/renderer/pipeline/RenderFlow.h + NO_WERROR cocos/renderer/pipeline/RenderInstancedQueue.cpp + cocos/renderer/pipeline/RenderInstancedQueue.h + NO_WERROR cocos/renderer/pipeline/RenderPipeline.cpp + cocos/renderer/pipeline/RenderPipeline.h + NO_WERROR cocos/renderer/pipeline/RenderQueue.cpp + cocos/renderer/pipeline/RenderQueue.h + NO_WERROR cocos/renderer/pipeline/RenderStage.cpp + cocos/renderer/pipeline/RenderStage.h + NO_WERROR cocos/renderer/pipeline/PlanarShadowQueue.cpp + cocos/renderer/pipeline/PlanarShadowQueue.h + NO_WERROR cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp + cocos/renderer/pipeline/ShadowMapBatchedQueue.h + NO_WERROR cocos/renderer/pipeline/PipelineUBO.cpp + cocos/renderer/pipeline/PipelineUBO.h + NO_WERROR cocos/renderer/pipeline/PipelineSceneData.cpp + cocos/renderer/pipeline/PipelineSceneData.h + NO_WERROR cocos/renderer/pipeline/forward/ForwardFlow.cpp + cocos/renderer/pipeline/forward/ForwardFlow.h + NO_WERROR cocos/renderer/pipeline/forward/ForwardPipeline.cpp + cocos/renderer/pipeline/forward/ForwardPipeline.h + NO_WERROR cocos/renderer/pipeline/forward/ForwardStage.cpp + cocos/renderer/pipeline/forward/ForwardStage.h + NO_WERROR cocos/renderer/pipeline/SceneCulling.cpp + cocos/renderer/pipeline/SceneCulling.h + NO_WERROR cocos/renderer/pipeline/forward/UIPhase.cpp + cocos/renderer/pipeline/forward/UIPhase.h + NO_WERROR cocos/renderer/pipeline/deferred/DeferredPipeline.cpp + cocos/renderer/pipeline/deferred/DeferredPipeline.h + NO_WERROR cocos/renderer/pipeline/deferred/GbufferFlow.cpp + cocos/renderer/pipeline/deferred/GbufferFlow.h + NO_WERROR cocos/renderer/pipeline/deferred/GbufferStage.cpp + cocos/renderer/pipeline/deferred/GbufferStage.h + NO_WERROR cocos/renderer/pipeline/deferred/LightingFlow.cpp + cocos/renderer/pipeline/deferred/LightingFlow.h + NO_WERROR cocos/renderer/pipeline/deferred/LightingStage.cpp + cocos/renderer/pipeline/deferred/LightingStage.h + NO_WERROR cocos/renderer/pipeline/deferred/PostprocessStage.cpp + cocos/renderer/pipeline/deferred/PostprocessStage.h + NO_WERROR cocos/renderer/pipeline/shadow/ShadowFlow.cpp + cocos/renderer/pipeline/shadow/ShadowFlow.h + NO_WERROR cocos/renderer/pipeline/shadow/ShadowStage.cpp + cocos/renderer/pipeline/shadow/ShadowStage.h + cocos/renderer/pipeline/helper/DefineMap.h + NO_WERROR cocos/renderer/pipeline/helper/DefineMap.cpp + cocos/renderer/pipeline/helper/SharedMemory.h + NO_WERROR cocos/renderer/pipeline/helper/SharedMemory.cpp ) if(CC_USE_GLES2 OR CC_USE_GLES3) cocos_source_files( - cocos/renderer/gfx-gles-common/GLESCommandPool.h - cocos/renderer/gfx-gles-common/eglw.cpp - cocos/renderer/gfx-gles-common/gles2w.cpp - cocos/renderer/gfx-gles-common/gles3w.cpp + cocos/renderer/gfx-gles-common/GLESCommandPool.h + NO_WERROR cocos/renderer/gfx-gles-common/eglw.cpp + NO_WERROR cocos/renderer/gfx-gles-common/gles2w.cpp + NO_WERROR cocos/renderer/gfx-gles-common/gles3w.cpp ) endif() if(CC_USE_GLES2) cocos_source_files( - cocos/renderer/gfx-gles2/GFXGLES2.h - cocos/renderer/gfx-gles2/GLES2Buffer.cpp - cocos/renderer/gfx-gles2/GLES2Buffer.h - cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp - cocos/renderer/gfx-gles2/GLES2CommandBuffer.h - cocos/renderer/gfx-gles2/GLES2Commands.cpp - cocos/renderer/gfx-gles2/GLES2Commands.h - cocos/renderer/gfx-gles2/GLES2Context.h - cocos/renderer/gfx-gles2/GLES2Context.cpp - cocos/renderer/gfx-gles2/GLES2Device.cpp - cocos/renderer/gfx-gles2/GLES2Device.h - cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp - cocos/renderer/gfx-gles2/GLES2Framebuffer.h - cocos/renderer/gfx-gles2/GLES2GPUObjects.h - cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp - cocos/renderer/gfx-gles2/GLES2InputAssembler.h - cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp - cocos/renderer/gfx-gles2/GLES2DescriptorSet.h - cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp - cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h - cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp - cocos/renderer/gfx-gles2/GLES2PipelineLayout.h - cocos/renderer/gfx-gles2/GLES2PipelineState.cpp - cocos/renderer/gfx-gles2/GLES2PipelineState.h - cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp - cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h - cocos/renderer/gfx-gles2/GLES2Queue.cpp - cocos/renderer/gfx-gles2/GLES2Queue.h - cocos/renderer/gfx-gles2/GLES2RenderPass.cpp - cocos/renderer/gfx-gles2/GLES2RenderPass.h - cocos/renderer/gfx-gles2/GLES2Sampler.cpp - cocos/renderer/gfx-gles2/GLES2Sampler.h - cocos/renderer/gfx-gles2/GLES2Shader.cpp - cocos/renderer/gfx-gles2/GLES2Shader.h - cocos/renderer/gfx-gles2/GLES2Std.cpp - cocos/renderer/gfx-gles2/GLES2Std.h - cocos/renderer/gfx-gles2/GLES2Texture.cpp - cocos/renderer/gfx-gles2/GLES2Texture.h - cocos/renderer/gfx-gles2/GLES2Wrangler.h + cocos/renderer/gfx-gles2/GFXGLES2.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Buffer.cpp + cocos/renderer/gfx-gles2/GLES2Buffer.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp + cocos/renderer/gfx-gles2/GLES2CommandBuffer.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Commands.cpp + cocos/renderer/gfx-gles2/GLES2Commands.h + cocos/renderer/gfx-gles2/GLES2Context.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Context.cpp + NO_WERROR cocos/renderer/gfx-gles2/GLES2Device.cpp + cocos/renderer/gfx-gles2/GLES2Device.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp + cocos/renderer/gfx-gles2/GLES2Framebuffer.h + cocos/renderer/gfx-gles2/GLES2GPUObjects.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp + cocos/renderer/gfx-gles2/GLES2InputAssembler.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp + cocos/renderer/gfx-gles2/GLES2DescriptorSet.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp + cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp + cocos/renderer/gfx-gles2/GLES2PipelineLayout.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2PipelineState.cpp + cocos/renderer/gfx-gles2/GLES2PipelineState.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp + cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Queue.cpp + cocos/renderer/gfx-gles2/GLES2Queue.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2RenderPass.cpp + cocos/renderer/gfx-gles2/GLES2RenderPass.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Sampler.cpp + cocos/renderer/gfx-gles2/GLES2Sampler.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Shader.cpp + cocos/renderer/gfx-gles2/GLES2Shader.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Std.cpp + cocos/renderer/gfx-gles2/GLES2Std.h + NO_WERROR cocos/renderer/gfx-gles2/GLES2Texture.cpp + cocos/renderer/gfx-gles2/GLES2Texture.h + cocos/renderer/gfx-gles2/GLES2Wrangler.h ) if(APPLE) cocos_source_files( - cocos/renderer/gfx-gles2/GLES2Wrangler.mm + NO_WERROR cocos/renderer/gfx-gles2/GLES2Wrangler.mm ) else() cocos_source_files( - cocos/renderer/gfx-gles2/GLES2Wrangler.cpp + NO_WERROR cocos/renderer/gfx-gles2/GLES2Wrangler.cpp ) endif() if(IOS) cocos_source_files( - cocos/renderer/gfx-gles2/GLES2Context.mm + NO_WERROR cocos/renderer/gfx-gles2/GLES2Context.mm ) endif() endif() if(CC_USE_GLES3) cocos_source_files( - cocos/renderer/gfx-gles3/GFXGLES3.h - cocos/renderer/gfx-gles3/GLES3Buffer.cpp - cocos/renderer/gfx-gles3/GLES3Buffer.h - cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp - cocos/renderer/gfx-gles3/GLES3CommandBuffer.h - cocos/renderer/gfx-gles3/GLES3Commands.cpp - cocos/renderer/gfx-gles3/GLES3Commands.h - cocos/renderer/gfx-gles3/GLES3Context.cpp - cocos/renderer/gfx-gles3/GLES3Context.h - cocos/renderer/gfx-gles3/GLES3Device.cpp - cocos/renderer/gfx-gles3/GLES3Device.h - cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp - cocos/renderer/gfx-gles3/GLES3Framebuffer.h - cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp - cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h - cocos/renderer/gfx-gles3/GLES3GPUObjects.h - cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp - cocos/renderer/gfx-gles3/GLES3InputAssembler.h - cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp - cocos/renderer/gfx-gles3/GLES3DescriptorSet.h - cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp - cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h - cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp - cocos/renderer/gfx-gles3/GLES3PipelineLayout.h - cocos/renderer/gfx-gles3/GLES3PipelineState.cpp - cocos/renderer/gfx-gles3/GLES3PipelineState.h - cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp - cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h - cocos/renderer/gfx-gles3/GLES3Queue.cpp - cocos/renderer/gfx-gles3/GLES3Queue.h - cocos/renderer/gfx-gles3/GLES3RenderPass.cpp - cocos/renderer/gfx-gles3/GLES3RenderPass.h - cocos/renderer/gfx-gles3/GLES3Sampler.cpp - cocos/renderer/gfx-gles3/GLES3Sampler.h - cocos/renderer/gfx-gles3/GLES3Shader.cpp - cocos/renderer/gfx-gles3/GLES3Shader.h - cocos/renderer/gfx-gles3/GLES3Std.cpp - cocos/renderer/gfx-gles3/GLES3Std.h - cocos/renderer/gfx-gles3/GLES3Texture.cpp - cocos/renderer/gfx-gles3/GLES3Texture.h - cocos/renderer/gfx-gles3/GLES3Wrangler.h + cocos/renderer/gfx-gles3/GFXGLES3.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Buffer.cpp + cocos/renderer/gfx-gles3/GLES3Buffer.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp + cocos/renderer/gfx-gles3/GLES3CommandBuffer.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Commands.cpp + cocos/renderer/gfx-gles3/GLES3Commands.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Context.cpp + cocos/renderer/gfx-gles3/GLES3Context.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Device.cpp + cocos/renderer/gfx-gles3/GLES3Device.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp + cocos/renderer/gfx-gles3/GLES3Framebuffer.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp + cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h + cocos/renderer/gfx-gles3/GLES3GPUObjects.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp + cocos/renderer/gfx-gles3/GLES3InputAssembler.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp + cocos/renderer/gfx-gles3/GLES3DescriptorSet.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp + cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp + cocos/renderer/gfx-gles3/GLES3PipelineLayout.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3PipelineState.cpp + cocos/renderer/gfx-gles3/GLES3PipelineState.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp + cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Queue.cpp + cocos/renderer/gfx-gles3/GLES3Queue.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3RenderPass.cpp + cocos/renderer/gfx-gles3/GLES3RenderPass.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Sampler.cpp + cocos/renderer/gfx-gles3/GLES3Sampler.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Shader.cpp + cocos/renderer/gfx-gles3/GLES3Shader.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Std.cpp + cocos/renderer/gfx-gles3/GLES3Std.h + NO_WERROR cocos/renderer/gfx-gles3/GLES3Texture.cpp + cocos/renderer/gfx-gles3/GLES3Texture.h + cocos/renderer/gfx-gles3/GLES3Wrangler.h ) if(APPLE) cocos_source_files( - cocos/renderer/gfx-gles3/GLES3Wrangler.mm + NO_WERROR cocos/renderer/gfx-gles3/GLES3Wrangler.mm ) else() cocos_source_files( - cocos/renderer/gfx-gles3/GLES3Wrangler.cpp + NO_WERROR cocos/renderer/gfx-gles3/GLES3Wrangler.cpp ) endif() if(IOS) cocos_source_files( - cocos/renderer/gfx-gles3/GLES3Context.mm + NO_WERROR cocos/renderer/gfx-gles3/GLES3Context.mm ) endif() endif() if(CC_USE_METAL) cocos_source_files( - cocos/renderer/gfx-metal/GFXMTL.h - cocos/renderer/gfx-metal/MTLBuffer.h - cocos/renderer/gfx-metal/MTLBuffer.mm - cocos/renderer/gfx-metal/MTLCommandBuffer.h - cocos/renderer/gfx-metal/MTLCommandBuffer.mm - cocos/renderer/gfx-metal/MTLContext.h - cocos/renderer/gfx-metal/MTLContext.mm - cocos/renderer/gfx-metal/MTLDevice.h - cocos/renderer/gfx-metal/MTLDevice.mm - cocos/renderer/gfx-metal/MTLFramebuffer.mm - cocos/renderer/gfx-metal/MTLFramebuffer.h - cocos/renderer/gfx-metal/MTLGPUObjects.h - cocos/renderer/gfx-metal/MTLInputAssembler.h - cocos/renderer/gfx-metal/MTLInputAssembler.mm - cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h - cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm - cocos/renderer/gfx-metal/MTLPipelineLayout.h - cocos/renderer/gfx-metal/MTLPipelineLayout.mm - cocos/renderer/gfx-metal/MTLPipelineState.h - cocos/renderer/gfx-metal/MTLPipelineState.mm - cocos/renderer/gfx-metal/MTLDescriptorSet.h - cocos/renderer/gfx-metal/MTLDescriptorSet.mm - cocos/renderer/gfx-metal/MTLQueue.h - cocos/renderer/gfx-metal/MTLQueue.mm - cocos/renderer/gfx-metal/MTLRenderPass.h - cocos/renderer/gfx-metal/MTLRenderPass.mm - cocos/renderer/gfx-metal/MTLSampler.h - cocos/renderer/gfx-metal/MTLSampler.mm - cocos/renderer/gfx-metal/MTLShader.h - cocos/renderer/gfx-metal/MTLShader.mm - cocos/renderer/gfx-metal/MTLStd.cpp - cocos/renderer/gfx-metal/MTLStd.h - cocos/renderer/gfx-metal/MTLTexture.h - cocos/renderer/gfx-metal/MTLTexture.mm - cocos/renderer/gfx-metal/MTLUtils.h - cocos/renderer/gfx-metal/MTLUtils.mm - cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h - cocos/renderer/gfx-metal/MTLConfig.h - cocos/renderer/gfx-metal/MTLSemaphore.h + cocos/renderer/gfx-metal/GFXMTL.h + cocos/renderer/gfx-metal/MTLBuffer.h + NO_WERROR cocos/renderer/gfx-metal/MTLBuffer.mm + cocos/renderer/gfx-metal/MTLCommandBuffer.h + NO_WERROR cocos/renderer/gfx-metal/MTLCommandBuffer.mm + cocos/renderer/gfx-metal/MTLContext.h + NO_WERROR cocos/renderer/gfx-metal/MTLContext.mm + cocos/renderer/gfx-metal/MTLDevice.h + NO_WERROR cocos/renderer/gfx-metal/MTLDevice.mm + NO_WERROR cocos/renderer/gfx-metal/MTLFramebuffer.mm + cocos/renderer/gfx-metal/MTLFramebuffer.h + cocos/renderer/gfx-metal/MTLGPUObjects.h + cocos/renderer/gfx-metal/MTLInputAssembler.h + NO_WERROR cocos/renderer/gfx-metal/MTLInputAssembler.mm + cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h + NO_WERROR cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm + cocos/renderer/gfx-metal/MTLPipelineLayout.h + NO_WERROR cocos/renderer/gfx-metal/MTLPipelineLayout.mm + cocos/renderer/gfx-metal/MTLPipelineState.h + NO_WERROR cocos/renderer/gfx-metal/MTLPipelineState.mm + cocos/renderer/gfx-metal/MTLDescriptorSet.h + NO_WERROR cocos/renderer/gfx-metal/MTLDescriptorSet.mm + cocos/renderer/gfx-metal/MTLQueue.h + NO_WERROR cocos/renderer/gfx-metal/MTLQueue.mm + cocos/renderer/gfx-metal/MTLRenderPass.h + NO_WERROR cocos/renderer/gfx-metal/MTLRenderPass.mm + cocos/renderer/gfx-metal/MTLSampler.h + NO_WERROR cocos/renderer/gfx-metal/MTLSampler.mm + cocos/renderer/gfx-metal/MTLShader.h + NO_WERROR cocos/renderer/gfx-metal/MTLShader.mm + NO_WERROR cocos/renderer/gfx-metal/MTLStd.cpp + cocos/renderer/gfx-metal/MTLStd.h + cocos/renderer/gfx-metal/MTLTexture.h + NO_WERROR cocos/renderer/gfx-metal/MTLTexture.mm + cocos/renderer/gfx-metal/MTLUtils.h + NO_WERROR cocos/renderer/gfx-metal/MTLUtils.mm + cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h + cocos/renderer/gfx-metal/MTLConfig.h + cocos/renderer/gfx-metal/MTLSemaphore.h ) endif() if(CC_USE_VULKAN) cocos_source_files( - cocos/renderer/gfx-vulkan/GFXVulkan.h - cocos/renderer/gfx-vulkan/vk_mem_alloc.h - cocos/renderer/gfx-vulkan/VKBuffer.cpp - cocos/renderer/gfx-vulkan/VKBuffer.h - cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp - cocos/renderer/gfx-vulkan/VKCommandBuffer.h - cocos/renderer/gfx-vulkan/VKCommands.cpp - cocos/renderer/gfx-vulkan/VKCommands.h - cocos/renderer/gfx-vulkan/VKContext.cpp - cocos/renderer/gfx-vulkan/VKContext.h - cocos/renderer/gfx-vulkan/VKDevice.cpp - cocos/renderer/gfx-vulkan/VKDevice.h - cocos/renderer/gfx-vulkan/VKFramebuffer.cpp - cocos/renderer/gfx-vulkan/VKFramebuffer.h - cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp - cocos/renderer/gfx-vulkan/VKGlobalBarrier.h - cocos/renderer/gfx-vulkan/VKGPUObjects.h - cocos/renderer/gfx-vulkan/VKInputAssembler.cpp - cocos/renderer/gfx-vulkan/VKInputAssembler.h - cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp - cocos/renderer/gfx-vulkan/VKDescriptorSet.h - cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp - cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h - cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp - cocos/renderer/gfx-vulkan/VKPipelineLayout.h - cocos/renderer/gfx-vulkan/VKPipelineState.cpp - cocos/renderer/gfx-vulkan/VKPipelineState.h - cocos/renderer/gfx-vulkan/VKQueue.cpp - cocos/renderer/gfx-vulkan/VKQueue.h - cocos/renderer/gfx-vulkan/VKRenderPass.cpp - cocos/renderer/gfx-vulkan/VKRenderPass.h - cocos/renderer/gfx-vulkan/VKSampler.cpp - cocos/renderer/gfx-vulkan/VKSampler.h - cocos/renderer/gfx-vulkan/VKShader.cpp - cocos/renderer/gfx-vulkan/VKShader.h - cocos/renderer/gfx-vulkan/VKSPIRV.h - cocos/renderer/gfx-vulkan/VKStd.cpp - cocos/renderer/gfx-vulkan/VKStd.h - cocos/renderer/gfx-vulkan/VKTexture.cpp - cocos/renderer/gfx-vulkan/VKTexture.h - cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp - cocos/renderer/gfx-vulkan/VKTextureBarrier.h - cocos/renderer/gfx-vulkan/VKUtils.h - cocos/renderer/gfx-vulkan/volk.h - cocos/renderer/gfx-vulkan/volk.c + cocos/renderer/gfx-vulkan/GFXVulkan.h + cocos/renderer/gfx-vulkan/vk_mem_alloc.h + NO_WERROR cocos/renderer/gfx-vulkan/VKBuffer.cpp + cocos/renderer/gfx-vulkan/VKBuffer.h + NO_WERROR cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp + cocos/renderer/gfx-vulkan/VKCommandBuffer.h + NO_WERROR cocos/renderer/gfx-vulkan/VKCommands.cpp + cocos/renderer/gfx-vulkan/VKCommands.h + NO_WERROR cocos/renderer/gfx-vulkan/VKContext.cpp + cocos/renderer/gfx-vulkan/VKContext.h + NO_WERROR cocos/renderer/gfx-vulkan/VKDevice.cpp + cocos/renderer/gfx-vulkan/VKDevice.h + NO_WERROR cocos/renderer/gfx-vulkan/VKFramebuffer.cpp + cocos/renderer/gfx-vulkan/VKFramebuffer.h + NO_WERROR cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp + cocos/renderer/gfx-vulkan/VKGlobalBarrier.h + cocos/renderer/gfx-vulkan/VKGPUObjects.h + NO_WERROR cocos/renderer/gfx-vulkan/VKInputAssembler.cpp + cocos/renderer/gfx-vulkan/VKInputAssembler.h + NO_WERROR cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp + cocos/renderer/gfx-vulkan/VKDescriptorSet.h + NO_WERROR cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp + cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h + NO_WERROR cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp + cocos/renderer/gfx-vulkan/VKPipelineLayout.h + NO_WERROR cocos/renderer/gfx-vulkan/VKPipelineState.cpp + cocos/renderer/gfx-vulkan/VKPipelineState.h + NO_WERROR cocos/renderer/gfx-vulkan/VKQueue.cpp + cocos/renderer/gfx-vulkan/VKQueue.h + NO_WERROR cocos/renderer/gfx-vulkan/VKRenderPass.cpp + cocos/renderer/gfx-vulkan/VKRenderPass.h + NO_WERROR cocos/renderer/gfx-vulkan/VKSampler.cpp + cocos/renderer/gfx-vulkan/VKSampler.h + NO_WERROR cocos/renderer/gfx-vulkan/VKShader.cpp + cocos/renderer/gfx-vulkan/VKShader.h + cocos/renderer/gfx-vulkan/VKSPIRV.h + NO_WERROR cocos/renderer/gfx-vulkan/VKStd.cpp + cocos/renderer/gfx-vulkan/VKStd.h + NO_WERROR cocos/renderer/gfx-vulkan/VKTexture.cpp + cocos/renderer/gfx-vulkan/VKTexture.h + NO_WERROR cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp + cocos/renderer/gfx-vulkan/VKTextureBarrier.h + cocos/renderer/gfx-vulkan/VKUtils.h + cocos/renderer/gfx-vulkan/volk.h + NO_WERROR cocos/renderer/gfx-vulkan/volk.c ) endif() ##### script bindings ######## dop cocos_source_files( - cocos/bindings/dop/BufferPool.cpp - cocos/bindings/dop/BufferPool.h - cocos/bindings/dop/ObjectPool.cpp - cocos/bindings/dop/ObjectPool.h - cocos/bindings/dop/jsb_dop.cpp - cocos/bindings/dop/jsb_dop.h - cocos/bindings/dop/PoolType.h - cocos/bindings/dop/BufferAllocator.h - cocos/bindings/dop/BufferAllocator.cpp + NO_WERROR cocos/bindings/dop/BufferPool.cpp + cocos/bindings/dop/BufferPool.h + NO_WERROR cocos/bindings/dop/ObjectPool.cpp + cocos/bindings/dop/ObjectPool.h + NO_WERROR cocos/bindings/dop/jsb_dop.cpp + cocos/bindings/dop/jsb_dop.h + cocos/bindings/dop/PoolType.h + cocos/bindings/dop/BufferAllocator.h + NO_WERROR cocos/bindings/dop/BufferAllocator.cpp ) ######## auto cocos_source_files( - cocos/bindings/auto/jsb_cocos_auto.cpp - cocos/bindings/auto/jsb_cocos_auto.h - cocos/bindings/auto/jsb_extension_auto.cpp - cocos/bindings/auto/jsb_extension_auto.h - cocos/bindings/auto/jsb_gfx_auto.cpp - cocos/bindings/auto/jsb_gfx_auto.h - cocos/bindings/auto/jsb_network_auto.cpp - cocos/bindings/auto/jsb_network_auto.h - cocos/bindings/auto/jsb_pipeline_auto.cpp - cocos/bindings/auto/jsb_pipeline_auto.h + NO_WERROR cocos/bindings/auto/jsb_cocos_auto.cpp + cocos/bindings/auto/jsb_cocos_auto.h + NO_WERROR cocos/bindings/auto/jsb_extension_auto.cpp + cocos/bindings/auto/jsb_extension_auto.h + NO_WERROR cocos/bindings/auto/jsb_gfx_auto.cpp + cocos/bindings/auto/jsb_gfx_auto.h + NO_WERROR cocos/bindings/auto/jsb_network_auto.cpp + cocos/bindings/auto/jsb_network_auto.h + NO_WERROR cocos/bindings/auto/jsb_pipeline_auto.cpp + cocos/bindings/auto/jsb_pipeline_auto.h ) if(USE_AUDIO) cocos_source_files( - cocos/bindings/auto/jsb_audio_auto.cpp - cocos/bindings/auto/jsb_audio_auto.h + NO_WERROR cocos/bindings/auto/jsb_audio_auto.cpp + cocos/bindings/auto/jsb_audio_auto.h ) endif() if(USE_VIDEO) cocos_source_files( - cocos/bindings/auto/jsb_video_auto.cpp - cocos/bindings/auto/jsb_video_auto.h + NO_WERROR cocos/bindings/auto/jsb_video_auto.cpp + cocos/bindings/auto/jsb_video_auto.h ) endif() if(USE_WEBVIEW) cocos_source_files( - cocos/bindings/auto/jsb_webview_auto.cpp - cocos/bindings/auto/jsb_webview_auto.h + NO_WERROR cocos/bindings/auto/jsb_webview_auto.cpp + cocos/bindings/auto/jsb_webview_auto.h ) endif() if(USE_MIDDLEWARE) cocos_source_files( - cocos/editor-support/IOBuffer.cpp - cocos/editor-support/IOBuffer.h - cocos/editor-support/IOTypedArray.cpp - cocos/editor-support/IOTypedArray.h - cocos/editor-support/MeshBuffer.cpp - cocos/editor-support/MeshBuffer.h - cocos/editor-support/middleware-adapter.cpp - cocos/editor-support/middleware-adapter.h - cocos/editor-support/MiddlewareMacro.h - cocos/editor-support/MiddlewareManager.cpp - cocos/editor-support/MiddlewareManager.h - cocos/editor-support/SharedBufferManager.cpp - cocos/editor-support/SharedBufferManager.h - cocos/editor-support/TypedArrayPool.cpp - cocos/editor-support/TypedArrayPool.h - cocos/bindings/auto/jsb_editor_support_auto.cpp - cocos/bindings/auto/jsb_editor_support_auto.h + NO_WERROR cocos/editor-support/IOBuffer.cpp + cocos/editor-support/IOBuffer.h + NO_WERROR cocos/editor-support/IOTypedArray.cpp + cocos/editor-support/IOTypedArray.h + NO_WERROR cocos/editor-support/MeshBuffer.cpp + cocos/editor-support/MeshBuffer.h + NO_WERROR cocos/editor-support/middleware-adapter.cpp + cocos/editor-support/middleware-adapter.h + cocos/editor-support/MiddlewareMacro.h + NO_WERROR cocos/editor-support/MiddlewareManager.cpp + cocos/editor-support/MiddlewareManager.h + NO_WERROR cocos/editor-support/SharedBufferManager.cpp + cocos/editor-support/SharedBufferManager.h + NO_WERROR cocos/editor-support/TypedArrayPool.cpp + cocos/editor-support/TypedArrayPool.h + NO_WERROR cocos/bindings/auto/jsb_editor_support_auto.cpp + cocos/bindings/auto/jsb_editor_support_auto.h ) if(USE_SPINE) cocos_source_files( - cocos/editor-support/spine/Animation.cpp - cocos/editor-support/spine/Animation.h - cocos/editor-support/spine/AnimationState.cpp - cocos/editor-support/spine/AnimationState.h - cocos/editor-support/spine/AnimationStateData.cpp - cocos/editor-support/spine/AnimationStateData.h - cocos/editor-support/spine/Atlas.cpp - cocos/editor-support/spine/Atlas.h - cocos/editor-support/spine/AtlasAttachmentLoader.cpp - cocos/editor-support/spine/AtlasAttachmentLoader.h - cocos/editor-support/spine/Attachment.cpp - cocos/editor-support/spine/Attachment.h - cocos/editor-support/spine/AttachmentLoader.cpp - cocos/editor-support/spine/AttachmentLoader.h - cocos/editor-support/spine/AttachmentTimeline.cpp - cocos/editor-support/spine/AttachmentTimeline.h - cocos/editor-support/spine/AttachmentType.h - cocos/editor-support/spine/BlendMode.h - cocos/editor-support/spine/Bone.cpp - cocos/editor-support/spine/Bone.h - cocos/editor-support/spine/BoneData.cpp - cocos/editor-support/spine/BoneData.h - cocos/editor-support/spine/BoundingBoxAttachment.cpp - cocos/editor-support/spine/BoundingBoxAttachment.h - cocos/editor-support/spine/ClippingAttachment.cpp - cocos/editor-support/spine/ClippingAttachment.h - cocos/editor-support/spine/Color.h - cocos/editor-support/spine/ColorTimeline.cpp - cocos/editor-support/spine/ColorTimeline.h - cocos/editor-support/spine/Constraint.cpp - cocos/editor-support/spine/Constraint.h - cocos/editor-support/spine/ConstraintData.cpp - cocos/editor-support/spine/ConstraintData.h - cocos/editor-support/spine/ContainerUtil.h - cocos/editor-support/spine/CurveTimeline.cpp - cocos/editor-support/spine/CurveTimeline.h - cocos/editor-support/spine/Debug.h - cocos/editor-support/spine/DeformTimeline.cpp - cocos/editor-support/spine/DeformTimeline.h - cocos/editor-support/spine/dll.h - cocos/editor-support/spine/DrawOrderTimeline.cpp - cocos/editor-support/spine/DrawOrderTimeline.h - cocos/editor-support/spine/Event.cpp - cocos/editor-support/spine/Event.h - cocos/editor-support/spine/EventData.cpp - cocos/editor-support/spine/EventData.h - cocos/editor-support/spine/EventTimeline.cpp - cocos/editor-support/spine/EventTimeline.h - cocos/editor-support/spine/Extension.cpp - cocos/editor-support/spine/Extension.h - cocos/editor-support/spine/HashMap.h - cocos/editor-support/spine/HasRendererObject.h - cocos/editor-support/spine/IkConstraint.cpp - cocos/editor-support/spine/IkConstraint.h - cocos/editor-support/spine/IkConstraintData.cpp - cocos/editor-support/spine/IkConstraintData.h - cocos/editor-support/spine/IkConstraintTimeline.cpp - cocos/editor-support/spine/IkConstraintTimeline.h - cocos/editor-support/spine/Json.cpp - cocos/editor-support/spine/Json.h - cocos/editor-support/spine/LinkedMesh.cpp - cocos/editor-support/spine/LinkedMesh.h - cocos/editor-support/spine/MathUtil.cpp - cocos/editor-support/spine/MathUtil.h - cocos/editor-support/spine/MeshAttachment.cpp - cocos/editor-support/spine/MeshAttachment.h - cocos/editor-support/spine/MixBlend.h - cocos/editor-support/spine/MixDirection.h - cocos/editor-support/spine/PathAttachment.cpp - cocos/editor-support/spine/PathAttachment.h - cocos/editor-support/spine/PathConstraint.cpp - cocos/editor-support/spine/PathConstraint.h - cocos/editor-support/spine/PathConstraintData.cpp - cocos/editor-support/spine/PathConstraintData.h - cocos/editor-support/spine/PathConstraintMixTimeline.cpp - cocos/editor-support/spine/PathConstraintMixTimeline.h - cocos/editor-support/spine/PathConstraintPositionTimeline.cpp - cocos/editor-support/spine/PathConstraintPositionTimeline.h - cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp - cocos/editor-support/spine/PathConstraintSpacingTimeline.h - cocos/editor-support/spine/PointAttachment.cpp - cocos/editor-support/spine/PointAttachment.h - cocos/editor-support/spine/Pool.h - cocos/editor-support/spine/PositionMode.h - cocos/editor-support/spine/RegionAttachment.cpp - cocos/editor-support/spine/RegionAttachment.h - cocos/editor-support/spine/RotateMode.h - cocos/editor-support/spine/RotateTimeline.cpp - cocos/editor-support/spine/RotateTimeline.h - cocos/editor-support/spine/RTTI.cpp - cocos/editor-support/spine/RTTI.h - cocos/editor-support/spine/ScaleTimeline.cpp - cocos/editor-support/spine/ScaleTimeline.h - cocos/editor-support/spine/ShearTimeline.cpp - cocos/editor-support/spine/ShearTimeline.h - cocos/editor-support/spine/Skeleton.cpp - cocos/editor-support/spine/Skeleton.h - cocos/editor-support/spine/SkeletonBinary.cpp - cocos/editor-support/spine/SkeletonBinary.h - cocos/editor-support/spine/SkeletonBounds.cpp - cocos/editor-support/spine/SkeletonBounds.h - cocos/editor-support/spine/SkeletonClipping.cpp - cocos/editor-support/spine/SkeletonClipping.h - cocos/editor-support/spine/SkeletonData.cpp - cocos/editor-support/spine/SkeletonData.h - cocos/editor-support/spine/SkeletonJson.cpp - cocos/editor-support/spine/SkeletonJson.h - cocos/editor-support/spine/Skin.cpp - cocos/editor-support/spine/Skin.h - cocos/editor-support/spine/Slot.cpp - cocos/editor-support/spine/Slot.h - cocos/editor-support/spine/SlotData.cpp - cocos/editor-support/spine/SlotData.h - cocos/editor-support/spine/SpacingMode.h - cocos/editor-support/spine/spine.h - cocos/editor-support/spine/SpineObject.cpp - cocos/editor-support/spine/SpineObject.h - cocos/editor-support/spine/SpineString.h - cocos/editor-support/spine/TextureLoader.cpp - cocos/editor-support/spine/TextureLoader.h - cocos/editor-support/spine/Timeline.cpp - cocos/editor-support/spine/Timeline.h - cocos/editor-support/spine/TimelineType.h - cocos/editor-support/spine/TransformConstraint.cpp - cocos/editor-support/spine/TransformConstraint.h - cocos/editor-support/spine/TransformConstraintData.cpp - cocos/editor-support/spine/TransformConstraintData.h - cocos/editor-support/spine/TransformConstraintTimeline.cpp - cocos/editor-support/spine/TransformConstraintTimeline.h - cocos/editor-support/spine/TransformMode.h - cocos/editor-support/spine/TranslateTimeline.cpp - cocos/editor-support/spine/TranslateTimeline.h - cocos/editor-support/spine/Triangulator.cpp - cocos/editor-support/spine/Triangulator.h - cocos/editor-support/spine/TwoColorTimeline.cpp - cocos/editor-support/spine/TwoColorTimeline.h - cocos/editor-support/spine/Updatable.cpp - cocos/editor-support/spine/Updatable.h - cocos/editor-support/spine/Vector.h - cocos/editor-support/spine/VertexAttachment.cpp - cocos/editor-support/spine/VertexAttachment.h - cocos/editor-support/spine/VertexEffect.cpp - cocos/editor-support/spine/VertexEffect.h - cocos/editor-support/spine/Vertices.h - cocos/editor-support/spine-creator-support/AttachmentVertices.cpp - cocos/editor-support/spine-creator-support/AttachmentVertices.h - cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp - cocos/editor-support/spine-creator-support/SkeletonAnimation.h - cocos/editor-support/spine-creator-support/SkeletonCache.cpp - cocos/editor-support/spine-creator-support/SkeletonCache.h - cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp - cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.h - cocos/editor-support/spine-creator-support/SkeletonCacheMgr.cpp - cocos/editor-support/spine-creator-support/SkeletonCacheMgr.h - cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp - cocos/editor-support/spine-creator-support/SkeletonDataMgr.h - cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp - cocos/editor-support/spine-creator-support/SkeletonRenderer.h - cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp - cocos/editor-support/spine-creator-support/spine-cocos2dx.h - cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp - cocos/editor-support/spine-creator-support/VertexEffectDelegate.h - cocos/bindings/auto/jsb_spine_auto.cpp - cocos/bindings/auto/jsb_spine_auto.h - cocos/bindings/manual/jsb_spine_manual.cpp - cocos/bindings/manual/jsb_spine_manual.h + NO_WERROR cocos/editor-support/spine/Animation.cpp + cocos/editor-support/spine/Animation.h + NO_WERROR cocos/editor-support/spine/AnimationState.cpp + cocos/editor-support/spine/AnimationState.h + NO_WERROR cocos/editor-support/spine/AnimationStateData.cpp + cocos/editor-support/spine/AnimationStateData.h + NO_WERROR cocos/editor-support/spine/Atlas.cpp + cocos/editor-support/spine/Atlas.h + NO_WERROR cocos/editor-support/spine/AtlasAttachmentLoader.cpp + cocos/editor-support/spine/AtlasAttachmentLoader.h + NO_WERROR cocos/editor-support/spine/Attachment.cpp + cocos/editor-support/spine/Attachment.h + NO_WERROR cocos/editor-support/spine/AttachmentLoader.cpp + cocos/editor-support/spine/AttachmentLoader.h + NO_WERROR cocos/editor-support/spine/AttachmentTimeline.cpp + cocos/editor-support/spine/AttachmentTimeline.h + cocos/editor-support/spine/AttachmentType.h + cocos/editor-support/spine/BlendMode.h + NO_WERROR cocos/editor-support/spine/Bone.cpp + cocos/editor-support/spine/Bone.h + NO_WERROR cocos/editor-support/spine/BoneData.cpp + cocos/editor-support/spine/BoneData.h + NO_WERROR cocos/editor-support/spine/BoundingBoxAttachment.cpp + cocos/editor-support/spine/BoundingBoxAttachment.h + NO_WERROR cocos/editor-support/spine/ClippingAttachment.cpp + cocos/editor-support/spine/ClippingAttachment.h + cocos/editor-support/spine/Color.h + NO_WERROR cocos/editor-support/spine/ColorTimeline.cpp + cocos/editor-support/spine/ColorTimeline.h + NO_WERROR cocos/editor-support/spine/Constraint.cpp + cocos/editor-support/spine/Constraint.h + NO_WERROR cocos/editor-support/spine/ConstraintData.cpp + cocos/editor-support/spine/ConstraintData.h + cocos/editor-support/spine/ContainerUtil.h + NO_WERROR cocos/editor-support/spine/CurveTimeline.cpp + cocos/editor-support/spine/CurveTimeline.h + cocos/editor-support/spine/Debug.h + NO_WERROR cocos/editor-support/spine/DeformTimeline.cpp + cocos/editor-support/spine/DeformTimeline.h + cocos/editor-support/spine/dll.h + NO_WERROR cocos/editor-support/spine/DrawOrderTimeline.cpp + cocos/editor-support/spine/DrawOrderTimeline.h + NO_WERROR cocos/editor-support/spine/Event.cpp + cocos/editor-support/spine/Event.h + NO_WERROR cocos/editor-support/spine/EventData.cpp + cocos/editor-support/spine/EventData.h + NO_WERROR cocos/editor-support/spine/EventTimeline.cpp + cocos/editor-support/spine/EventTimeline.h + NO_WERROR cocos/editor-support/spine/Extension.cpp + cocos/editor-support/spine/Extension.h + cocos/editor-support/spine/HashMap.h + cocos/editor-support/spine/HasRendererObject.h + NO_WERROR cocos/editor-support/spine/IkConstraint.cpp + cocos/editor-support/spine/IkConstraint.h + NO_WERROR cocos/editor-support/spine/IkConstraintData.cpp + cocos/editor-support/spine/IkConstraintData.h + NO_WERROR cocos/editor-support/spine/IkConstraintTimeline.cpp + cocos/editor-support/spine/IkConstraintTimeline.h + NO_WERROR cocos/editor-support/spine/Json.cpp + cocos/editor-support/spine/Json.h + NO_WERROR cocos/editor-support/spine/LinkedMesh.cpp + cocos/editor-support/spine/LinkedMesh.h + NO_WERROR cocos/editor-support/spine/MathUtil.cpp + cocos/editor-support/spine/MathUtil.h + NO_WERROR cocos/editor-support/spine/MeshAttachment.cpp + cocos/editor-support/spine/MeshAttachment.h + cocos/editor-support/spine/MixBlend.h + cocos/editor-support/spine/MixDirection.h + NO_WERROR cocos/editor-support/spine/PathAttachment.cpp + cocos/editor-support/spine/PathAttachment.h + NO_WERROR cocos/editor-support/spine/PathConstraint.cpp + cocos/editor-support/spine/PathConstraint.h + NO_WERROR cocos/editor-support/spine/PathConstraintData.cpp + cocos/editor-support/spine/PathConstraintData.h + NO_WERROR cocos/editor-support/spine/PathConstraintMixTimeline.cpp + cocos/editor-support/spine/PathConstraintMixTimeline.h + NO_WERROR cocos/editor-support/spine/PathConstraintPositionTimeline.cpp + cocos/editor-support/spine/PathConstraintPositionTimeline.h + NO_WERROR cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp + cocos/editor-support/spine/PathConstraintSpacingTimeline.h + NO_WERROR cocos/editor-support/spine/PointAttachment.cpp + cocos/editor-support/spine/PointAttachment.h + cocos/editor-support/spine/Pool.h + cocos/editor-support/spine/PositionMode.h + NO_WERROR cocos/editor-support/spine/RegionAttachment.cpp + cocos/editor-support/spine/RegionAttachment.h + cocos/editor-support/spine/RotateMode.h + NO_WERROR cocos/editor-support/spine/RotateTimeline.cpp + cocos/editor-support/spine/RotateTimeline.h + NO_WERROR cocos/editor-support/spine/RTTI.cpp + cocos/editor-support/spine/RTTI.h + NO_WERROR cocos/editor-support/spine/ScaleTimeline.cpp + cocos/editor-support/spine/ScaleTimeline.h + NO_WERROR cocos/editor-support/spine/ShearTimeline.cpp + cocos/editor-support/spine/ShearTimeline.h + NO_WERROR cocos/editor-support/spine/Skeleton.cpp + cocos/editor-support/spine/Skeleton.h + NO_WERROR cocos/editor-support/spine/SkeletonBinary.cpp + cocos/editor-support/spine/SkeletonBinary.h + NO_WERROR cocos/editor-support/spine/SkeletonBounds.cpp + cocos/editor-support/spine/SkeletonBounds.h + NO_WERROR cocos/editor-support/spine/SkeletonClipping.cpp + cocos/editor-support/spine/SkeletonClipping.h + NO_WERROR cocos/editor-support/spine/SkeletonData.cpp + cocos/editor-support/spine/SkeletonData.h + NO_WERROR cocos/editor-support/spine/SkeletonJson.cpp + cocos/editor-support/spine/SkeletonJson.h + NO_WERROR cocos/editor-support/spine/Skin.cpp + cocos/editor-support/spine/Skin.h + NO_WERROR cocos/editor-support/spine/Slot.cpp + cocos/editor-support/spine/Slot.h + NO_WERROR cocos/editor-support/spine/SlotData.cpp + cocos/editor-support/spine/SlotData.h + cocos/editor-support/spine/SpacingMode.h + cocos/editor-support/spine/spine.h + NO_WERROR cocos/editor-support/spine/SpineObject.cpp + cocos/editor-support/spine/SpineObject.h + cocos/editor-support/spine/SpineString.h + NO_WERROR cocos/editor-support/spine/TextureLoader.cpp + cocos/editor-support/spine/TextureLoader.h + NO_WERROR cocos/editor-support/spine/Timeline.cpp + cocos/editor-support/spine/Timeline.h + cocos/editor-support/spine/TimelineType.h + NO_WERROR cocos/editor-support/spine/TransformConstraint.cpp + cocos/editor-support/spine/TransformConstraint.h + NO_WERROR cocos/editor-support/spine/TransformConstraintData.cpp + cocos/editor-support/spine/TransformConstraintData.h + NO_WERROR cocos/editor-support/spine/TransformConstraintTimeline.cpp + cocos/editor-support/spine/TransformConstraintTimeline.h + cocos/editor-support/spine/TransformMode.h + NO_WERROR cocos/editor-support/spine/TranslateTimeline.cpp + cocos/editor-support/spine/TranslateTimeline.h + NO_WERROR cocos/editor-support/spine/Triangulator.cpp + cocos/editor-support/spine/Triangulator.h + NO_WERROR cocos/editor-support/spine/TwoColorTimeline.cpp + cocos/editor-support/spine/TwoColorTimeline.h + NO_WERROR cocos/editor-support/spine/Updatable.cpp + cocos/editor-support/spine/Updatable.h + cocos/editor-support/spine/Vector.h + NO_WERROR cocos/editor-support/spine/VertexAttachment.cpp + cocos/editor-support/spine/VertexAttachment.h + NO_WERROR cocos/editor-support/spine/VertexEffect.cpp + cocos/editor-support/spine/VertexEffect.h + cocos/editor-support/spine/Vertices.h + NO_WERROR cocos/editor-support/spine-creator-support/AttachmentVertices.cpp + cocos/editor-support/spine-creator-support/AttachmentVertices.h + NO_WERROR cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp + cocos/editor-support/spine-creator-support/SkeletonAnimation.h + NO_WERROR cocos/editor-support/spine-creator-support/SkeletonCache.cpp + cocos/editor-support/spine-creator-support/SkeletonCache.h + NO_WERROR cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp + cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.h + NO_WERROR cocos/editor-support/spine-creator-support/SkeletonCacheMgr.cpp + cocos/editor-support/spine-creator-support/SkeletonCacheMgr.h + NO_WERROR cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp + cocos/editor-support/spine-creator-support/SkeletonDataMgr.h + NO_WERROR cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp + cocos/editor-support/spine-creator-support/SkeletonRenderer.h + NO_WERROR cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp + cocos/editor-support/spine-creator-support/spine-cocos2dx.h + NO_WERROR cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp + cocos/editor-support/spine-creator-support/VertexEffectDelegate.h + NO_WERROR cocos/bindings/auto/jsb_spine_auto.cpp + cocos/bindings/auto/jsb_spine_auto.h + NO_WERROR cocos/bindings/manual/jsb_spine_manual.cpp + cocos/bindings/manual/jsb_spine_manual.h ) endif() if(USE_DRAGONBONES) cocos_source_files( - cocos/editor-support/dragonbones/DragonBonesHeaders.h - cocos/editor-support/dragonbones/animation/Animation.cpp - cocos/editor-support/dragonbones/animation/Animation.h - cocos/editor-support/dragonbones/animation/AnimationState.cpp - cocos/editor-support/dragonbones/animation/AnimationState.h - cocos/editor-support/dragonbones/animation/BaseTimelineState.cpp - cocos/editor-support/dragonbones/animation/BaseTimelineState.h - cocos/editor-support/dragonbones/animation/IAnimatable.h - cocos/editor-support/dragonbones/animation/TimelineState.cpp - cocos/editor-support/dragonbones/animation/TimelineState.h - cocos/editor-support/dragonbones/animation/WorldClock.cpp - cocos/editor-support/dragonbones/animation/WorldClock.h - cocos/editor-support/dragonbones/armature/Armature.cpp - cocos/editor-support/dragonbones/armature/Armature.h - cocos/editor-support/dragonbones/armature/Bone.cpp - cocos/editor-support/dragonbones/armature/Bone.h - cocos/editor-support/dragonbones/armature/Constraint.cpp - cocos/editor-support/dragonbones/armature/Constraint.h - cocos/editor-support/dragonbones/armature/DeformVertices.cpp - cocos/editor-support/dragonbones/armature/DeformVertices.h - cocos/editor-support/dragonbones/armature/IArmatureProxy.h - cocos/editor-support/dragonbones/armature/Slot.cpp - cocos/editor-support/dragonbones/armature/Slot.h - cocos/editor-support/dragonbones/armature/TransformObject.cpp - cocos/editor-support/dragonbones/armature/TransformObject.h - cocos/editor-support/dragonbones/core/BaseObject.cpp - cocos/editor-support/dragonbones/core/BaseObject.h - cocos/editor-support/dragonbones/core/DragonBones.cpp - cocos/editor-support/dragonbones/core/DragonBones.h - cocos/editor-support/dragonbones/event/EventObject.cpp - cocos/editor-support/dragonbones/event/EventObject.h - cocos/editor-support/dragonbones/event/IEventDispatcher.h - cocos/editor-support/dragonbones/factory/BaseFactory.cpp - cocos/editor-support/dragonbones/factory/BaseFactory.h - cocos/editor-support/dragonbones/geom/ColorTransform.h - cocos/editor-support/dragonbones/geom/Matrix.h - cocos/editor-support/dragonbones/geom/Point.cpp - cocos/editor-support/dragonbones/geom/Point.h - cocos/editor-support/dragonbones/geom/Rectangle.h - cocos/editor-support/dragonbones/geom/Transform.cpp - cocos/editor-support/dragonbones/geom/Transform.h - cocos/editor-support/dragonbones/model/AnimationConfig.cpp - cocos/editor-support/dragonbones/model/AnimationConfig.h - cocos/editor-support/dragonbones/model/AnimationData.cpp - cocos/editor-support/dragonbones/model/AnimationData.h - cocos/editor-support/dragonbones/model/ArmatureData.cpp - cocos/editor-support/dragonbones/model/ArmatureData.h - cocos/editor-support/dragonbones/model/BoundingBoxData.cpp - cocos/editor-support/dragonbones/model/BoundingBoxData.h - cocos/editor-support/dragonbones/model/CanvasData.cpp - cocos/editor-support/dragonbones/model/CanvasData.h - cocos/editor-support/dragonbones/model/ConstraintData.cpp - cocos/editor-support/dragonbones/model/ConstraintData.h - cocos/editor-support/dragonbones/model/DisplayData.cpp - cocos/editor-support/dragonbones/model/DisplayData.h - cocos/editor-support/dragonbones/model/DragonBonesData.cpp - cocos/editor-support/dragonbones/model/DragonBonesData.h - cocos/editor-support/dragonbones/model/SkinData.cpp - cocos/editor-support/dragonbones/model/SkinData.h - cocos/editor-support/dragonbones/model/TextureAtlasData.cpp - cocos/editor-support/dragonbones/model/TextureAtlasData.h - cocos/editor-support/dragonbones/model/UserData.cpp - cocos/editor-support/dragonbones/model/UserData.h - cocos/editor-support/dragonbones/parser/BinaryDataParser.cpp - cocos/editor-support/dragonbones/parser/BinaryDataParser.h - cocos/editor-support/dragonbones/parser/DataParser.cpp - cocos/editor-support/dragonbones/parser/DataParser.h - cocos/editor-support/dragonbones/parser/JSONDataParser.cpp - cocos/editor-support/dragonbones/parser/JSONDataParser.h - cocos/editor-support/dragonbones-creator-support/ArmatureCache.cpp - cocos/editor-support/dragonbones-creator-support/ArmatureCache.h - cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.cpp - cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.h - cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp - cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.h - cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp - cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h - cocos/editor-support/dragonbones-creator-support/CCDragonBonesHeaders.h - cocos/editor-support/dragonbones-creator-support/CCFactory.cpp - cocos/editor-support/dragonbones-creator-support/CCFactory.h - cocos/editor-support/dragonbones-creator-support/CCSlot.cpp - cocos/editor-support/dragonbones-creator-support/CCSlot.h - cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.cpp - cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.h - cocos/bindings/auto/jsb_dragonbones_auto.cpp - cocos/bindings/auto/jsb_dragonbones_auto.h - cocos/bindings/manual/jsb_dragonbones_manual.cpp - cocos/bindings/manual/jsb_dragonbones_manual.h + cocos/editor-support/dragonbones/DragonBonesHeaders.h + NO_WERROR cocos/editor-support/dragonbones/animation/Animation.cpp + cocos/editor-support/dragonbones/animation/Animation.h + NO_WERROR cocos/editor-support/dragonbones/animation/AnimationState.cpp + cocos/editor-support/dragonbones/animation/AnimationState.h + NO_WERROR cocos/editor-support/dragonbones/animation/BaseTimelineState.cpp + cocos/editor-support/dragonbones/animation/BaseTimelineState.h + cocos/editor-support/dragonbones/animation/IAnimatable.h + NO_WERROR cocos/editor-support/dragonbones/animation/TimelineState.cpp + cocos/editor-support/dragonbones/animation/TimelineState.h + NO_WERROR cocos/editor-support/dragonbones/animation/WorldClock.cpp + cocos/editor-support/dragonbones/animation/WorldClock.h + NO_WERROR cocos/editor-support/dragonbones/armature/Armature.cpp + cocos/editor-support/dragonbones/armature/Armature.h + NO_WERROR cocos/editor-support/dragonbones/armature/Bone.cpp + cocos/editor-support/dragonbones/armature/Bone.h + NO_WERROR cocos/editor-support/dragonbones/armature/Constraint.cpp + cocos/editor-support/dragonbones/armature/Constraint.h + NO_WERROR cocos/editor-support/dragonbones/armature/DeformVertices.cpp + cocos/editor-support/dragonbones/armature/DeformVertices.h + cocos/editor-support/dragonbones/armature/IArmatureProxy.h + NO_WERROR cocos/editor-support/dragonbones/armature/Slot.cpp + cocos/editor-support/dragonbones/armature/Slot.h + NO_WERROR cocos/editor-support/dragonbones/armature/TransformObject.cpp + cocos/editor-support/dragonbones/armature/TransformObject.h + NO_WERROR cocos/editor-support/dragonbones/core/BaseObject.cpp + cocos/editor-support/dragonbones/core/BaseObject.h + NO_WERROR cocos/editor-support/dragonbones/core/DragonBones.cpp + cocos/editor-support/dragonbones/core/DragonBones.h + NO_WERROR cocos/editor-support/dragonbones/event/EventObject.cpp + cocos/editor-support/dragonbones/event/EventObject.h + cocos/editor-support/dragonbones/event/IEventDispatcher.h + NO_WERROR cocos/editor-support/dragonbones/factory/BaseFactory.cpp + cocos/editor-support/dragonbones/factory/BaseFactory.h + cocos/editor-support/dragonbones/geom/ColorTransform.h + cocos/editor-support/dragonbones/geom/Matrix.h + NO_WERROR cocos/editor-support/dragonbones/geom/Point.cpp + cocos/editor-support/dragonbones/geom/Point.h + cocos/editor-support/dragonbones/geom/Rectangle.h + NO_WERROR cocos/editor-support/dragonbones/geom/Transform.cpp + cocos/editor-support/dragonbones/geom/Transform.h + NO_WERROR cocos/editor-support/dragonbones/model/AnimationConfig.cpp + cocos/editor-support/dragonbones/model/AnimationConfig.h + NO_WERROR cocos/editor-support/dragonbones/model/AnimationData.cpp + cocos/editor-support/dragonbones/model/AnimationData.h + NO_WERROR cocos/editor-support/dragonbones/model/ArmatureData.cpp + cocos/editor-support/dragonbones/model/ArmatureData.h + NO_WERROR cocos/editor-support/dragonbones/model/BoundingBoxData.cpp + cocos/editor-support/dragonbones/model/BoundingBoxData.h + NO_WERROR cocos/editor-support/dragonbones/model/CanvasData.cpp + cocos/editor-support/dragonbones/model/CanvasData.h + NO_WERROR cocos/editor-support/dragonbones/model/ConstraintData.cpp + cocos/editor-support/dragonbones/model/ConstraintData.h + NO_WERROR cocos/editor-support/dragonbones/model/DisplayData.cpp + cocos/editor-support/dragonbones/model/DisplayData.h + NO_WERROR cocos/editor-support/dragonbones/model/DragonBonesData.cpp + cocos/editor-support/dragonbones/model/DragonBonesData.h + NO_WERROR cocos/editor-support/dragonbones/model/SkinData.cpp + cocos/editor-support/dragonbones/model/SkinData.h + NO_WERROR cocos/editor-support/dragonbones/model/TextureAtlasData.cpp + cocos/editor-support/dragonbones/model/TextureAtlasData.h + NO_WERROR cocos/editor-support/dragonbones/model/UserData.cpp + cocos/editor-support/dragonbones/model/UserData.h + NO_WERROR cocos/editor-support/dragonbones/parser/BinaryDataParser.cpp + cocos/editor-support/dragonbones/parser/BinaryDataParser.h + NO_WERROR cocos/editor-support/dragonbones/parser/DataParser.cpp + cocos/editor-support/dragonbones/parser/DataParser.h + NO_WERROR cocos/editor-support/dragonbones/parser/JSONDataParser.cpp + cocos/editor-support/dragonbones/parser/JSONDataParser.h + NO_WERROR cocos/editor-support/dragonbones-creator-support/ArmatureCache.cpp + cocos/editor-support/dragonbones-creator-support/ArmatureCache.h + NO_WERROR cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.cpp + cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.h + NO_WERROR cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp + cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.h + NO_WERROR cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp + cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h + cocos/editor-support/dragonbones-creator-support/CCDragonBonesHeaders.h + NO_WERROR cocos/editor-support/dragonbones-creator-support/CCFactory.cpp + cocos/editor-support/dragonbones-creator-support/CCFactory.h + NO_WERROR cocos/editor-support/dragonbones-creator-support/CCSlot.cpp + cocos/editor-support/dragonbones-creator-support/CCSlot.h + NO_WERROR cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.cpp + cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.h + NO_WERROR cocos/bindings/auto/jsb_dragonbones_auto.cpp + cocos/bindings/auto/jsb_dragonbones_auto.h + NO_WERROR cocos/bindings/manual/jsb_dragonbones_manual.cpp + cocos/bindings/manual/jsb_dragonbones_manual.h ) endif() endif() ######## manual cocos_source_files( - cocos/bindings/manual/jsb_classtype.cpp - cocos/bindings/manual/jsb_classtype.h - #cocos/bindings/manual/jsb_extension_manual.cpp - #cocos/bindings/manual/jsb_extension_manual.h - cocos/bindings/manual/jsb_cocos_manual.cpp - cocos/bindings/manual/jsb_cocos_manual.h - cocos/bindings/manual/jsb_conversions.cpp - cocos/bindings/manual/jsb_conversions.h - cocos/bindings/manual/jsb_gfx_manual.cpp - cocos/bindings/manual/jsb_gfx_manual.h - cocos/bindings/manual/jsb_gfx_agent.cpp - cocos/bindings/manual/jsb_gfx_agent.h - cocos/bindings/manual/jsb_global.cpp - cocos/bindings/manual/jsb_global.h - cocos/bindings/manual/jsb_global_init.cpp - cocos/bindings/manual/jsb_global_init.h - cocos/bindings/manual/jsb_helper.cpp - cocos/bindings/manual/jsb_helper.h - cocos/bindings/manual/jsb_module_register.h - cocos/bindings/manual/jsb_platform.h - cocos/bindings/manual/jsb_network_manual.cpp - cocos/bindings/manual/jsb_network_manual.h - cocos/bindings/manual/jsb_xmlhttprequest.cpp - cocos/bindings/manual/jsb_xmlhttprequest.h - cocos/bindings/manual/jsb_pipeline_manual.h - cocos/bindings/manual/jsb_pipeline_manual.cpp + NO_WERROR cocos/bindings/manual/jsb_classtype.cpp + cocos/bindings/manual/jsb_classtype.h + #NO_WERROR cocos/bindings/manual/jsb_extension_manual.cpp + #cocos/bindings/manual/jsb_extension_manual.h + NO_WERROR cocos/bindings/manual/jsb_cocos_manual.cpp + cocos/bindings/manual/jsb_cocos_manual.h + NO_WERROR cocos/bindings/manual/jsb_conversions.cpp + cocos/bindings/manual/jsb_conversions.h + NO_WERROR cocos/bindings/manual/jsb_gfx_manual.cpp + cocos/bindings/manual/jsb_gfx_manual.h + NO_WERROR cocos/bindings/manual/jsb_gfx_agent.cpp + cocos/bindings/manual/jsb_gfx_agent.h + NO_WERROR cocos/bindings/manual/jsb_global.cpp + cocos/bindings/manual/jsb_global.h + NO_WERROR cocos/bindings/manual/jsb_global_init.cpp + cocos/bindings/manual/jsb_global_init.h + NO_WERROR cocos/bindings/manual/jsb_helper.cpp + cocos/bindings/manual/jsb_helper.h + cocos/bindings/manual/jsb_module_register.h + cocos/bindings/manual/jsb_platform.h + NO_WERROR cocos/bindings/manual/jsb_network_manual.cpp + cocos/bindings/manual/jsb_network_manual.h + NO_WERROR cocos/bindings/manual/jsb_xmlhttprequest.cpp + cocos/bindings/manual/jsb_xmlhttprequest.h + cocos/bindings/manual/jsb_pipeline_manual.h + NO_WERROR cocos/bindings/manual/jsb_pipeline_manual.cpp ) if(USE_SOCKET) cocos_source_files( - cocos/bindings/manual/jsb_socketio.cpp - cocos/bindings/manual/jsb_socketio.h - cocos/bindings/manual/jsb_websocket.cpp - cocos/bindings/manual/jsb_websocket.h + NO_WERROR cocos/bindings/manual/jsb_socketio.cpp + cocos/bindings/manual/jsb_socketio.h + NO_WERROR cocos/bindings/manual/jsb_websocket.cpp + cocos/bindings/manual/jsb_websocket.h ) endif() if(NOT IOS AND USE_WEBSOCKET_SERVER) cocos_source_files( - cocos/bindings/manual/jsb_websocket_server.cpp - cocos/bindings/manual/jsb_websocket_server.h + NO_WERROR cocos/bindings/manual/jsb_websocket_server.cpp + cocos/bindings/manual/jsb_websocket_server.h ) endif() if(ANDROID) cocos_source_files( - cocos/bindings/manual/jsb_platform_android.cpp - cocos/bindings/manual/JavaScriptJavaBridge.cpp - cocos/bindings/manual/JavaScriptJavaBridge.h + NO_WERROR cocos/bindings/manual/jsb_platform_android.cpp + NO_WERROR cocos/bindings/manual/JavaScriptJavaBridge.cpp + cocos/bindings/manual/JavaScriptJavaBridge.h ) elseif(APPLE) cocos_source_files( - cocos/bindings/manual/jsb_platfrom_apple.mm - cocos/bindings/manual/JavaScriptObjCBridge.h - cocos/bindings/manual/JavaScriptObjCBridge.mm + NO_WERROR cocos/bindings/manual/jsb_platfrom_apple.mm + cocos/bindings/manual/JavaScriptObjCBridge.h + NO_WERROR cocos/bindings/manual/JavaScriptObjCBridge.mm ) elseif(WIN32) cocos_source_files( - cocos/bindings/manual/jsb_platfrom_win32.cpp + NO_WERROR cocos/bindings/manual/jsb_platfrom_win32.cpp ) endif() if(CC_USE_GLES2) cocos_source_files( - cocos/bindings/auto/jsb_gles2_auto.h - cocos/bindings/auto/jsb_gles2_auto.cpp + cocos/bindings/auto/jsb_gles2_auto.h + NO_WERROR cocos/bindings/auto/jsb_gles2_auto.cpp ) endif() if(CC_USE_GLES3) cocos_source_files( - cocos/bindings/auto/jsb_gles3_auto.h - cocos/bindings/auto/jsb_gles3_auto.cpp + cocos/bindings/auto/jsb_gles3_auto.h + NO_WERROR cocos/bindings/auto/jsb_gles3_auto.cpp ) endif() if(CC_USE_METAL) cocos_source_files( - cocos/bindings/auto/jsb_mtl_auto.h - cocos/bindings/auto/jsb_mtl_auto.cpp + cocos/bindings/auto/jsb_mtl_auto.h + NO_WERROR cocos/bindings/auto/jsb_mtl_auto.cpp ) endif() if(CC_USE_VULKAN) cocos_source_files( - cocos/bindings/auto/jsb_vk_auto.h - cocos/bindings/auto/jsb_vk_auto.cpp + cocos/bindings/auto/jsb_vk_auto.h + NO_WERROR cocos/bindings/auto/jsb_vk_auto.cpp ) endif() if(USE_SE_V8) cocos_source_files( - cocos/bindings/jswrapper/v8/Base.h - cocos/bindings/jswrapper/v8/Class.cpp - cocos/bindings/jswrapper/v8/Class.h - cocos/bindings/jswrapper/v8/HelperMacros.h - cocos/bindings/jswrapper/v8/Object.cpp - cocos/bindings/jswrapper/v8/Object.h - cocos/bindings/jswrapper/v8/ObjectWrap.cpp - cocos/bindings/jswrapper/v8/ObjectWrap.h - cocos/bindings/jswrapper/v8/ScriptEngine.cpp - cocos/bindings/jswrapper/v8/ScriptEngine.h - cocos/bindings/jswrapper/v8/SeApi.h - cocos/bindings/jswrapper/v8/Utils.cpp - cocos/bindings/jswrapper/v8/Utils.h + cocos/bindings/jswrapper/v8/Base.h + NO_WERROR cocos/bindings/jswrapper/v8/Class.cpp + cocos/bindings/jswrapper/v8/Class.h + cocos/bindings/jswrapper/v8/HelperMacros.h + NO_WERROR cocos/bindings/jswrapper/v8/Object.cpp + cocos/bindings/jswrapper/v8/Object.h + NO_WERROR cocos/bindings/jswrapper/v8/ObjectWrap.cpp + cocos/bindings/jswrapper/v8/ObjectWrap.h + NO_WERROR cocos/bindings/jswrapper/v8/ScriptEngine.cpp + cocos/bindings/jswrapper/v8/ScriptEngine.h + cocos/bindings/jswrapper/v8/SeApi.h + NO_WERROR cocos/bindings/jswrapper/v8/Utils.cpp + cocos/bindings/jswrapper/v8/Utils.h ) if(USE_V8_DEBUGGER) cocos_source_files( - cocos/bindings/jswrapper/v8/debugger/base64.h - cocos/bindings/jswrapper/v8/debugger/env.cpp - cocos/bindings/jswrapper/v8/debugger/env.h - cocos/bindings/jswrapper/v8/debugger/http_parser.c - cocos/bindings/jswrapper/v8/debugger/http_parser.h - cocos/bindings/jswrapper/v8/debugger/inspector_agent.cpp - cocos/bindings/jswrapper/v8/debugger/inspector_agent.h - cocos/bindings/jswrapper/v8/debugger/inspector_io.cpp - cocos/bindings/jswrapper/v8/debugger/inspector_io.h - cocos/bindings/jswrapper/v8/debugger/inspector_socket.cpp - cocos/bindings/jswrapper/v8/debugger/inspector_socket.h - cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.cpp - cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.h - cocos/bindings/jswrapper/v8/debugger/node.cpp - cocos/bindings/jswrapper/v8/debugger/node.h - cocos/bindings/jswrapper/v8/debugger/node_debug_options.cpp - cocos/bindings/jswrapper/v8/debugger/node_debug_options.h - cocos/bindings/jswrapper/v8/debugger/node_mutex.h - cocos/bindings/jswrapper/v8/debugger/SHA1.cpp - cocos/bindings/jswrapper/v8/debugger/SHA1.h - cocos/bindings/jswrapper/v8/debugger/util-inl.h - cocos/bindings/jswrapper/v8/debugger/util.cpp - cocos/bindings/jswrapper/v8/debugger/util.h - cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h + cocos/bindings/jswrapper/v8/debugger/base64.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/env.cpp + cocos/bindings/jswrapper/v8/debugger/env.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/http_parser.c + cocos/bindings/jswrapper/v8/debugger/http_parser.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/inspector_agent.cpp + cocos/bindings/jswrapper/v8/debugger/inspector_agent.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/inspector_io.cpp + cocos/bindings/jswrapper/v8/debugger/inspector_io.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/inspector_socket.cpp + cocos/bindings/jswrapper/v8/debugger/inspector_socket.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.cpp + cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/node.cpp + cocos/bindings/jswrapper/v8/debugger/node.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/node_debug_options.cpp + cocos/bindings/jswrapper/v8/debugger/node_debug_options.h + cocos/bindings/jswrapper/v8/debugger/node_mutex.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/SHA1.cpp + cocos/bindings/jswrapper/v8/debugger/SHA1.h + cocos/bindings/jswrapper/v8/debugger/util-inl.h + NO_WERROR cocos/bindings/jswrapper/v8/debugger/util.cpp + cocos/bindings/jswrapper/v8/debugger/util.h + cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h ) endif() endif() if(USE_SE_JSC) cocos_source_files( - cocos/bindings/jswrapper/jsc/Class.h - cocos/bindings/jswrapper/jsc/EJConvert.h - cocos/bindings/jswrapper/jsc/HelperMacros.h - cocos/bindings/jswrapper/jsc/Utils.cpp - cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h - cocos/bindings/jswrapper/jsc/PlatformUtils.h - cocos/bindings/jswrapper/jsc/EJConvertTypedArray.m - cocos/bindings/jswrapper/jsc/EJConvert.m - cocos/bindings/jswrapper/jsc/Object.h - cocos/bindings/jswrapper/jsc/Object.mm - cocos/bindings/jswrapper/jsc/ScriptEngine.h - cocos/bindings/jswrapper/jsc/ScriptEngine.mm - cocos/bindings/jswrapper/jsc/PlatformUtils.mm - cocos/bindings/jswrapper/jsc/SeApi.h - cocos/bindings/jswrapper/jsc/Class.cpp - cocos/bindings/jswrapper/jsc/Utils.h - cocos/bindings/jswrapper/jsc/Base.h + cocos/bindings/jswrapper/jsc/Class.h + cocos/bindings/jswrapper/jsc/EJConvert.h + cocos/bindings/jswrapper/jsc/HelperMacros.h + NO_WERROR cocos/bindings/jswrapper/jsc/Utils.cpp + cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h + cocos/bindings/jswrapper/jsc/PlatformUtils.h + NO_WERROR cocos/bindings/jswrapper/jsc/EJConvertTypedArray.m + NO_WERROR cocos/bindings/jswrapper/jsc/EJConvert.m + cocos/bindings/jswrapper/jsc/Object.h + NO_WERROR cocos/bindings/jswrapper/jsc/Object.mm + cocos/bindings/jswrapper/jsc/ScriptEngine.h + NO_WERROR cocos/bindings/jswrapper/jsc/ScriptEngine.mm + NO_WERROR cocos/bindings/jswrapper/jsc/PlatformUtils.mm + cocos/bindings/jswrapper/jsc/SeApi.h + NO_WERROR cocos/bindings/jswrapper/jsc/Class.cpp + cocos/bindings/jswrapper/jsc/Utils.h + cocos/bindings/jswrapper/jsc/Base.h ) endif() cocos_source_files( - cocos/bindings/jswrapper/config.cpp - cocos/bindings/jswrapper/config.h - cocos/bindings/jswrapper/HandleObject.cpp - cocos/bindings/jswrapper/HandleObject.h - cocos/bindings/jswrapper/MappingUtils.cpp - cocos/bindings/jswrapper/MappingUtils.h - cocos/bindings/jswrapper/Object.h - cocos/bindings/jswrapper/RefCounter.cpp - cocos/bindings/jswrapper/RefCounter.h - cocos/bindings/jswrapper/SeApi.h - cocos/bindings/jswrapper/State.cpp - cocos/bindings/jswrapper/State.h - cocos/bindings/jswrapper/Value.cpp - cocos/bindings/jswrapper/Value.h + NO_WERROR cocos/bindings/jswrapper/config.cpp + cocos/bindings/jswrapper/config.h + NO_WERROR cocos/bindings/jswrapper/HandleObject.cpp + cocos/bindings/jswrapper/HandleObject.h + NO_WERROR cocos/bindings/jswrapper/MappingUtils.cpp + cocos/bindings/jswrapper/MappingUtils.h + cocos/bindings/jswrapper/Object.h + NO_WERROR cocos/bindings/jswrapper/RefCounter.cpp + cocos/bindings/jswrapper/RefCounter.h + cocos/bindings/jswrapper/SeApi.h + NO_WERROR cocos/bindings/jswrapper/State.cpp + cocos/bindings/jswrapper/State.h + NO_WERROR cocos/bindings/jswrapper/Value.cpp + cocos/bindings/jswrapper/Value.h ) cocos_source_files( - cocos/bindings/event/CustomEventTypes.h - cocos/bindings/event/EventDispatcher.cpp - cocos/bindings/event/EventDispatcher.h + cocos/bindings/event/CustomEventTypes.h + NO_WERROR cocos/bindings/event/EventDispatcher.cpp + cocos/bindings/event/EventDispatcher.h ) #### storage cocos_source_files( - cocos/storage/local-storage/LocalStorage.cpp - cocos/storage/local-storage/LocalStorage.h + NO_WERROR cocos/storage/local-storage/LocalStorage.cpp + cocos/storage/local-storage/LocalStorage.h ) if(ANDROID) cocos_source_files( - cocos/storage/local-storage/LocalStorage-android.cpp + NO_WERROR cocos/storage/local-storage/LocalStorage-android.cpp ) endif() #### ui if(USE_EDIT_BOX) cocos_source_files( - cocos/ui/edit-box/EditBox.h + cocos/ui/edit-box/EditBox.h ) endif() if(ANDROID OR IOS) if(USE_VIDEO) cocos_source_files( - cocos/ui/videoplayer/VideoPlayer.h + cocos/ui/videoplayer/VideoPlayer.h ) endif() if(USE_WEBVIEW) cocos_source_files( - cocos/ui/webview/WebViewImpl-android.h - cocos/ui/webview/WebViewImpl-ios.h - cocos/ui/webview/WebView-inl.h - cocos/ui/webview/WebView.h + cocos/ui/webview/WebViewImpl-android.h + cocos/ui/webview/WebViewImpl-ios.h + cocos/ui/webview/WebView-inl.h + cocos/ui/webview/WebView.h ) endif() endif() @@ -1490,45 +1521,45 @@ endif() if(ANDROID) if(USE_EDIT_BOX) cocos_source_files( - cocos/ui/edit-box/EditBox-android.cpp + NO_WERROR cocos/ui/edit-box/EditBox-android.cpp ) endif() if(USE_VIDEO) cocos_source_files( - cocos/ui/videoplayer/VideoPlayer-android.cpp + NO_WERROR cocos/ui/videoplayer/VideoPlayer-android.cpp ) endif() if(USE_WEBVIEW) cocos_source_files( - cocos/ui/webview/WebViewImpl-android.cpp + NO_WERROR cocos/ui/webview/WebViewImpl-android.cpp ) endif() elseif(MACOSX) if(USE_EDIT_BOX) cocos_source_files( - cocos/ui/edit-box/EditBox-mac.mm + NO_WERROR cocos/ui/edit-box/EditBox-mac.mm ) endif() elseif(IOS) if(USE_EDIT_BOX) cocos_source_files( - cocos/ui/edit-box/EditBox-ios.mm + NO_WERROR cocos/ui/edit-box/EditBox-ios.mm ) endif() if(USE_VIDEO) cocos_source_files( - cocos/ui/videoplayer/VideoPlayer-ios.mm + NO_WERROR cocos/ui/videoplayer/VideoPlayer-ios.mm ) endif() if(USE_WEBVIEW) cocos_source_files( - cocos/ui/webview/WebViewImpl-ios.mm + NO_WERROR cocos/ui/webview/WebViewImpl-ios.mm ) endif() elseif(WIN32) if(USE_EDIT_BOX) cocos_source_files( - cocos/ui/edit-box/EditBox-win32.cpp + NO_WERROR cocos/ui/edit-box/EditBox-win32.cpp ) endif() endif() @@ -1536,17 +1567,17 @@ endif() ##### extensions cocos_source_files( - extensions/assets-manager/AssetsManagerEx.cpp - extensions/assets-manager/AssetsManagerEx.h - extensions/assets-manager/AsyncTaskPool.cpp - extensions/assets-manager/AsyncTaskPool.h - extensions/assets-manager/EventAssetsManagerEx.cpp - extensions/assets-manager/EventAssetsManagerEx.h - extensions/assets-manager/Manifest.cpp - extensions/assets-manager/Manifest.h - extensions/cocos-ext.h - extensions/ExtensionExport.h - extensions/ExtensionMacros.h + NO_WERROR extensions/assets-manager/AssetsManagerEx.cpp + extensions/assets-manager/AssetsManagerEx.h + NO_WERROR extensions/assets-manager/AsyncTaskPool.cpp + extensions/assets-manager/AsyncTaskPool.h + NO_WERROR extensions/assets-manager/EventAssetsManagerEx.cpp + extensions/assets-manager/EventAssetsManagerEx.h + NO_WERROR extensions/assets-manager/Manifest.cpp + extensions/assets-manager/Manifest.h + extensions/cocos-ext.h + extensions/ExtensionExport.h + extensions/ExtensionMacros.h ) list(APPEND COCOS2D_SOURCE_LIST ${CC_EXTERNAL_SROUCES}) @@ -1554,6 +1585,7 @@ list(APPEND COCOS2D_SOURCE_LIST ${CC_EXTERNAL_SROUCES}) add_library(cocos2d ${COCOS2D_SOURCE_LIST}) if(ANDROID) + enable_werror("${CC_JNI_SRC_FILES}") add_library(cocos2d_jni STATIC ${CC_JNI_SRC_FILES}) target_include_directories(cocos2d_jni PUBLIC ${CWD} From 52c1c70838dc79a4adfcc872ace73b859701c147 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Thu, 18 Mar 2021 10:28:51 +0800 Subject: [PATCH 187/270] Fix the render problem of deferred pipeline. (#3328) --- .../cocos/renderer/pipeline/RenderPipeline.h | 3 +- .../pipeline/deferred/DeferredPipeline.cpp | 30 +++++++++- .../pipeline/deferred/DeferredPipeline.h | 2 + .../pipeline/deferred/LightingStage.cpp | 53 +----------------- .../pipeline/deferred/PostprocessStage.cpp | 55 +++++++++++++++++++ .../pipeline/deferred/PostprocessStage.h | 2 + 6 files changed, 90 insertions(+), 55 deletions(-) diff --git a/native/cocos/renderer/pipeline/RenderPipeline.h b/native/cocos/renderer/pipeline/RenderPipeline.h index c713f3ac6d..8e4d974dd1 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.h +++ b/native/cocos/renderer/pipeline/RenderPipeline.h @@ -58,7 +58,8 @@ public: virtual void destroy(); virtual bool initialize(const RenderPipelineInfo &info); virtual void render(const vector &cameras); - + virtual void resize(uint width, uint height) {}; + void setPipelineSharedSceneData(uint handle); CC_INLINE const RenderFlowList &getFlows() const { return _flows; } diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 858937674c..4600694bf1 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -378,6 +378,16 @@ bool DeferredPipeline::activeRenderer() { return true; } +void DeferredPipeline::resize(uint width, uint height) { + if (_width == width && _height == height) { + return; + } + _width = width; + _height = height; + destroyDeferredData(); + generateDeferredRenderData(); +} + void DeferredPipeline::generateDeferredRenderData() { _deferredRenderData = CC_NEW(DeferredRenderData); @@ -453,8 +463,6 @@ void DeferredPipeline::destroy() { } _renderPasses.clear(); - _deferredRenderData = nullptr; - _commandBuffers.clear(); _gbufferRenderPass = nullptr; @@ -463,5 +471,23 @@ void DeferredPipeline::destroy() { RenderPipeline::destroy(); } +void DeferredPipeline::destroyDeferredData() { + if (_deferredRenderData->gbufferFrameBuffer) { + _deferredRenderData->gbufferFrameBuffer->destroy(); + } + + if (_deferredRenderData->lightingFrameBuff) { + _deferredRenderData->lightingFrameBuff->destroy(); + } + + if (_deferredRenderData->lightingRenderTarget) { + _deferredRenderData->lightingRenderTarget->destroy(); + } + + _deferredRenderData->gbufferRenderTargets.clear(); + + CC_DELETE(_deferredRenderData); +} + } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h index 292ebecbe3..7754a8ca5f 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -62,6 +62,7 @@ public: virtual void destroy() override; virtual bool activate() override; virtual void render(const vector &cameras) override; + virtual void resize(uint width, uint height) override; gfx::RenderPass *getOrCreateRenderPass(gfx::ClearFlags clearFlags); @@ -80,6 +81,7 @@ private: bool createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffer* &quadVB, gfx::InputAssembler* &quadIA, gfx::SurfaceTransform surfaceTransform); void destroyQuadInputAssembler(); + void destroyDeferredData(); void generateDeferredRenderData(); private: diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp index 524b5d6220..aa60a19b31 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp @@ -60,8 +60,7 @@ RenderStageInfo LightingStage::_initInfo = { "LightingStage", static_cast(DeferredStagePriority::LIGHTING), static_cast(RenderFlowTag::SCENE), - {{false, RenderQueueSortMode::FRONT_TO_BACK, {"default"}}, - {true, RenderQueueSortMode::BACK_TO_FRONT, {"default", "planarShadow"}}}}; +}; const RenderStageInfo &LightingStage::getInitializeInfo() { return LightingStage::_initInfo; } @@ -243,27 +242,6 @@ void LightingStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { // create lighting buffer and view initLightingBuffer(); - for (const auto &descriptor : _renderQueueDescriptors) { - uint phase = 0; - for (const auto &stage : descriptor.stages) { - phase |= getPhaseID(stage); - } - - std::function sortFunc = opaqueCompareFn; - switch (descriptor.sortMode) { - case RenderQueueSortMode::BACK_TO_FRONT: - sortFunc = transparentCompareFn; - break; - case RenderQueueSortMode::FRONT_TO_BACK: - sortFunc = opaqueCompareFn; - default: - break; - } - - RenderQueueCreateInfo info = {descriptor.isTransparent, phase, sortFunc}; - _renderQueues.emplace_back(CC_NEW(RenderQueue(std::move(info)))); - } - _planarShadowQueue = CC_NEW(PlanarShadowQueue(_pipeline)); } @@ -334,35 +312,6 @@ void LightingStage::render(Camera *camera) { // planerQueue _planarShadowQueue->recordCommandBuffer(_device, renderPass, cmdBuff); - // transparent - for (auto queue : _renderQueues) { - queue->clear(); - } - - uint m = 0, p = 0; - size_t k = 0; - for (size_t i = 0; i < renderObjects.size(); ++i) { - const auto &ro = renderObjects[i]; - const auto model = ro.model; - const auto subModelID = model->getSubModelID(); - const auto subModelCount = subModelID[0]; - for (m = 1; m <= subModelCount; ++m) { - auto subModel = model->getSubModelView(subModelID[m]); - for (p = 0; p < subModel->passCount; ++p) { - const PassView *pass = subModel->getPassView(p); - // TODO: need fallback of ulit and gizmo material. - if (pass->phase != _phaseID) continue; - for (k = 0; k < _renderQueues.size(); k++) { - _renderQueues[k]->insertRenderPass(ro, m, p); - } - } - } - } - for (auto queue : _renderQueues) { - queue->sort(); - queue->recordCommandBuffer(_device, renderPass, cmdBuff); - } - cmdBuff->endRenderPass(); } diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp index 3e569e9dbf..aa34becc0d 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp @@ -31,6 +31,7 @@ #include "../PipelineStateManager.h" #include "gfx-base/GFXDevice.h" #include "../forward/UIPhase.h" +#include "../RenderQueue.h" namespace cc { namespace pipeline { @@ -38,6 +39,7 @@ RenderStageInfo PostprocessStage::_initInfo = { "PostprocessStage", static_cast(DeferredStagePriority::POSTPROCESS), 0, + {{true, RenderQueueSortMode::BACK_TO_FRONT, {"default"}}}, }; PostprocessStage::PostprocessStage() : RenderStage() { @@ -46,12 +48,35 @@ PostprocessStage::PostprocessStage() : RenderStage() { bool PostprocessStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); + _renderQueueDescriptors = info.renderQueues; return true; } void PostprocessStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { RenderStage::activate(pipeline, flow); _uiPhase->activate(pipeline); + _phaseID = getPhaseID("default"); + + for (const auto &descriptor : _renderQueueDescriptors) { + uint phase = 0; + for (const auto &stage : descriptor.stages) { + phase |= getPhaseID(stage); + } + + std::function sortFunc = opaqueCompareFn; + switch (descriptor.sortMode) { + case RenderQueueSortMode::BACK_TO_FRONT: + sortFunc = transparentCompareFn; + break; + case RenderQueueSortMode::FRONT_TO_BACK: + sortFunc = opaqueCompareFn; + default: + break; + } + + RenderQueueCreateInfo info = {descriptor.isTransparent, phase, sortFunc}; + _renderQueues.emplace_back(CC_NEW(RenderQueue(std::move(info)))); + } } void PostprocessStage::destroy() { @@ -97,6 +122,36 @@ void PostprocessStage::render(Camera *camera) { cmdBf->bindInputAssembler(ia); cmdBf->draw(ia); } + + // transparent + for (auto queue : _renderQueues) { + queue->clear(); + } + + uint m = 0, p = 0; + size_t k = 0; + for (size_t i = 0; i < renderObjects.size(); ++i) { + const auto &ro = renderObjects[i]; + const auto model = ro.model; + const auto subModelID = model->getSubModelID(); + const auto subModelCount = subModelID[0]; + for (m = 1; m <= subModelCount; ++m) { + auto subModel = model->getSubModelView(subModelID[m]); + for (p = 0; p < subModel->passCount; ++p) { + const PassView *pass = subModel->getPassView(p); + // TODO: need fallback of ulit and gizmo material. + if (pass->phase != _phaseID) continue; + for (k = 0; k < _renderQueues.size(); k++) { + _renderQueues[k]->insertRenderPass(ro, m, p); + } + } + } + } + + for (auto queue : _renderQueues) { + queue->sort(); + queue->recordCommandBuffer(_device, rp, cmdBf); + } _uiPhase->render(camera, rp); cmdBf->endRenderPass(); diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h index b3202be9e3..dd101bfd7b 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h @@ -47,6 +47,8 @@ private: gfx::Rect _renderArea; static RenderStageInfo _initInfo; UIPhase *_uiPhase = nullptr; + + uint _phaseID = 0; }; } // namespace pipeline } // namespace cc From b2596027426d691ac2cd0930961fac6d4df245a1 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Thu, 18 Mar 2021 11:02:44 +0800 Subject: [PATCH 188/270] [ci skip][AUTO]: updating jsbinding automatically: 52c1c708 (#3330) Co-authored-by: cocos-robot --- .../cocos/bindings/auto/jsb_pipeline_auto.cpp | 22 +++++++++++++++++++ .../cocos/bindings/auto/jsb_pipeline_auto.h | 1 + native/templates/cocos2dx_files.json | 8 ++++++- 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp index b14a69ab09..815c81411c 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -2147,6 +2147,27 @@ static bool js_pipeline_RenderPipeline_render(se::State& s) } SE_BIND_FUNC(js_pipeline_RenderPipeline_render) +static bool js_pipeline_RenderPipeline_resize(se::State& s) +{ + cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_pipeline_RenderPipeline_resize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 2) { + HolderType arg0 = {}; + HolderType arg1 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_pipeline_RenderPipeline_resize : Error processing arguments"); + cobj->resize(arg0.value(), arg1.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 2); + return false; +} +SE_BIND_FUNC(js_pipeline_RenderPipeline_resize) + static bool js_pipeline_RenderPipeline_setPipelineSharedSceneData(se::State& s) { cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); @@ -2218,6 +2239,7 @@ bool js_register_pipeline_RenderPipeline(se::Object* obj) cls->defineFunction("getDevice", _SE(js_pipeline_RenderPipeline_getDevice)); cls->defineFunction("initialize", _SE(js_pipeline_RenderPipeline_initialize)); cls->defineFunction("render", _SE(js_pipeline_RenderPipeline_render)); + cls->defineFunction("resize", _SE(js_pipeline_RenderPipeline_resize)); cls->defineFunction("setPipelineSharedSceneData", _SE(js_pipeline_RenderPipeline_setPipelineSharedSceneData)); cls->defineFunction("setValue", _SE(js_pipeline_RenderPipeline_setValue)); cls->defineStaticFunction("getInstance", _SE(js_pipeline_RenderPipeline_getInstance)); diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.h b/native/cocos/bindings/auto/jsb_pipeline_auto.h index 32ec6511a4..b1eec35d2c 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.h +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.h @@ -122,6 +122,7 @@ SE_DECLARE_FUNC(js_pipeline_RenderPipeline_destroy); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_getDevice); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_initialize); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_render); +SE_DECLARE_FUNC(js_pipeline_RenderPipeline_resize); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_setPipelineSharedSceneData); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_setValue); SE_DECLARE_FUNC(js_pipeline_RenderPipeline_getInstance); diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 9980d96378..346366ff24 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -18188,7 +18188,13 @@ "external/win32/libs/zlib.dll", "external/win32/libs/zlib.dll.lib", "external/win32/libs/zlib1.dll", - "package-lock.json" + "package-lock.json", + "unit-test/CMakeLists.txt", + "unit-test/CMakeLists.txt.in", + "unit-test/README", + "unit-test/src/CMakeLists.txt", + "unit-test/src/main.cpp", + "unit-test/src/math_vec2_test.cpp" ], "js": [ "cocos/bindings/auto/jsb_audio_auto.cpp", From 5b6545941f8c690e421af80da5b705e7fd3610f5 Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 18 Mar 2021 15:51:39 +0800 Subject: [PATCH 189/270] treat warning as error for math (#3327) * treat warning as error for math --- native/CMakeLists.txt | 60 +++++++++++++++++++------------------- native/cocos/math/Mat3.cpp | 2 +- native/cocos/math/Mat4.cpp | 2 +- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 5283f58640..25ffd5dd6e 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -417,36 +417,36 @@ cocos_source_files( ##### math cocos_source_files( - NO_WERROR cocos/math/Geometry.cpp - cocos/math/Geometry.h - cocos/math/Math.h - NO_WERROR cocos/math/Math.cpp - cocos/math/MathBase.h - NO_WERROR cocos/math/Vertex.cpp - cocos/math/Vertex.h - NO_WERROR cocos/math/Mat3.cpp - cocos/math/Mat3.h - NO_WERROR cocos/math/Mat4.cpp - cocos/math/Mat4.h - cocos/math/Mat4.inl - NO_WERROR cocos/math/MathUtil.cpp - cocos/math/MathUtil.h - cocos/math/MathUtil.inl - cocos/math/MathUtilNeon.inl - cocos/math/MathUtilNeon64.inl - cocos/math/MathUtilSSE.inl - NO_WERROR cocos/math/Quaternion.cpp - cocos/math/Quaternion.h - cocos/math/Quaternion.inl - NO_WERROR cocos/math/Vec2.cpp - cocos/math/Vec2.h - cocos/math/Vec2.inl - NO_WERROR cocos/math/Vec3.cpp - cocos/math/Vec3.h - cocos/math/Vec3.inl - NO_WERROR cocos/math/Vec4.cpp - cocos/math/Vec4.h - cocos/math/Vec4.inl + cocos/math/Geometry.cpp + cocos/math/Geometry.h + cocos/math/Math.h + cocos/math/Math.cpp + cocos/math/MathBase.h + cocos/math/Vertex.cpp + cocos/math/Vertex.h + cocos/math/Mat3.cpp + cocos/math/Mat3.h + cocos/math/Mat4.cpp + cocos/math/Mat4.h + cocos/math/Mat4.inl + cocos/math/MathUtil.cpp + cocos/math/MathUtil.h + cocos/math/MathUtil.inl + cocos/math/MathUtilNeon.inl + cocos/math/MathUtilNeon64.inl + cocos/math/MathUtilSSE.inl + cocos/math/Quaternion.cpp + cocos/math/Quaternion.h + cocos/math/Quaternion.inl + cocos/math/Vec2.cpp + cocos/math/Vec2.h + cocos/math/Vec2.inl + cocos/math/Vec3.cpp + cocos/math/Vec3.h + cocos/math/Vec3.inl + cocos/math/Vec4.cpp + cocos/math/Vec4.h + cocos/math/Vec4.inl ) ##### network diff --git a/native/cocos/math/Mat3.cpp b/native/cocos/math/Mat3.cpp index 8455dad55f..a45174594f 100644 --- a/native/cocos/math/Mat3.cpp +++ b/native/cocos/math/Mat3.cpp @@ -118,7 +118,7 @@ void Mat3::inverse() { // Calculate the determinant float det = a00 * b01 + a01 * b11 + a02 * b21; - det = 1.0 / det; + det = 1.0f / det; m[0] = b01 * det; m[1] = (-a22 * a01 + a02 * a21) * det; m[2] = (a12 * a01 - a02 * a11) * det; diff --git a/native/cocos/math/Mat4.cpp b/native/cocos/math/Mat4.cpp index 52847c116d..be5d0634d3 100644 --- a/native/cocos/math/Mat4.cpp +++ b/native/cocos/math/Mat4.cpp @@ -147,7 +147,7 @@ void Mat4::createOrthographicOffCenter(float left, float right, float bottom, fl GP_ASSERT(top != bottom); GP_ASSERT(zFarPlane != zNearPlane); - memset(dst, 0.0f, MATRIX_SIZE); + memset(dst, 0, MATRIX_SIZE); dst->m[0] = 2.0f / (right - left); dst->m[5] = 2.0f / (top - bottom) * projectionSignY; dst->m[10] = (1.0f - minClipZ) / (zNearPlane - zFarPlane); From 8034bd59d86b4e7e833b8c2810147134ef1e12ba Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 19 Mar 2021 16:24:43 +0800 Subject: [PATCH 190/270] [chore] gfx layer adjustments (#3323) * [chore] move common routines to gfx base * [chore] remove device pointer inside every gfx resources * [chore] file structure * gfx: empty backend * [chore] device creator abstraction --- native/CMakeLists.txt | 147 +++++---- .../gfx-agent/GFXAgent.h => base/Agent.h} | 7 +- native/cocos/base/threading/MessageQueue.cpp | 69 ++-- native/cocos/base/threading/MessageQueue.h | 40 +-- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 236 +++----------- native/cocos/bindings/auto/jsb_gfx_auto.h | 1 - native/cocos/bindings/auto/jsb_gles2_auto.cpp | 99 ------ native/cocos/bindings/auto/jsb_gles2_auto.h | 41 --- native/cocos/bindings/auto/jsb_gles3_auto.cpp | 119 ------- native/cocos/bindings/auto/jsb_gles3_auto.h | 42 --- native/cocos/bindings/auto/jsb_mtl_auto.cpp | 191 ----------- native/cocos/bindings/auto/jsb_mtl_auto.h | 46 --- native/cocos/bindings/auto/jsb_vk_auto.cpp | 99 ------ native/cocos/bindings/auto/jsb_vk_auto.h | 41 --- .../cocos/bindings/event/EventDispatcher.cpp | 2 +- .../cocos/bindings/manual/jsb_gfx_agent.cpp | 105 ------- native/cocos/bindings/manual/jsb_gfx_agent.h | 43 --- .../cocos/bindings/manual/jsb_gfx_manual.cpp | 54 +--- .../bindings/manual/jsb_module_register.cpp | 2 - .../platform/android/Application-android.cpp | 19 +- native/cocos/platform/ios/Application-ios.mm | 23 +- native/cocos/platform/mac/Application-mac.mm | 14 + .../platform/win32/Application-win32.cpp | 47 +-- native/cocos/platform/win32/View-win32.cpp | 86 ++--- native/cocos/renderer/GFXDeviceCreator.h | 106 +++++++ native/cocos/renderer/frame-graph/Resource.h | 2 +- .../{GFXBufferAgent.cpp => BufferAgent.cpp} | 71 ++--- .../{GFXBufferAgent.h => BufferAgent.h} | 13 +- ...BufferAgent.cpp => CommandBufferAgent.cpp} | 47 ++- ...mandBufferAgent.h => CommandBufferAgent.h} | 10 +- ...torSetAgent.cpp => DescriptorSetAgent.cpp} | 45 +-- ...criptorSetAgent.h => DescriptorSetAgent.h} | 9 +- .../gfx-agent/DescriptorSetLayoutAgent.cpp | 67 ++++ ...youtAgent.h => DescriptorSetLayoutAgent.h} | 8 +- .../{GFXDeviceAgent.cpp => DeviceAgent.cpp} | 136 ++++---- .../{GFXDeviceAgent.h => DeviceAgent.h} | 38 ++- ...mebufferAgent.cpp => FramebufferAgent.cpp} | 26 +- ...XFramebufferAgent.h => FramebufferAgent.h} | 8 +- .../gfx-agent/GFXDescriptorSetLayoutAgent.cpp | 93 ------ .../renderer/gfx-agent/GFXTextureAgent.cpp | 126 -------- ...mblerAgent.cpp => InputAssemblerAgent.cpp} | 49 +-- ...AssemblerAgent.h => InputAssemblerAgent.h} | 10 +- ...rAllocatorPool.h => LinearAllocatorPool.h} | 0 ...ayoutAgent.cpp => PipelineLayoutAgent.cpp} | 23 +- ...ineLayoutAgent.h => PipelineLayoutAgent.h} | 8 +- ...eStateAgent.cpp => PipelineStateAgent.cpp} | 35 +-- ...elineStateAgent.h => PipelineStateAgent.h} | 8 +- .../{GFXQueueAgent.cpp => QueueAgent.cpp} | 28 +- .../{GFXQueueAgent.h => QueueAgent.h} | 11 +- ...enderPassAgent.cpp => RenderPassAgent.cpp} | 24 +- ...GFXRenderPassAgent.h => RenderPassAgent.h} | 8 +- .../{GFXSamplerAgent.cpp => SamplerAgent.cpp} | 32 +- .../{GFXSamplerAgent.h => SamplerAgent.h} | 8 +- .../{GFXShaderAgent.cpp => ShaderAgent.cpp} | 29 +- .../{GFXShaderAgent.h => ShaderAgent.h} | 8 +- .../cocos/renderer/gfx-agent/TextureAgent.cpp | 93 ++++++ .../{GFXTextureAgent.h => TextureAgent.h} | 12 +- native/cocos/renderer/gfx-base/GFXBuffer.cpp | 53 +++- native/cocos/renderer/gfx-base/GFXBuffer.h | 21 +- .../renderer/gfx-base/GFXCommandBuffer.cpp | 19 +- .../renderer/gfx-base/GFXCommandBuffer.h | 208 +++++++----- native/cocos/renderer/gfx-base/GFXContext.cpp | 14 +- native/cocos/renderer/gfx-base/GFXContext.h | 34 +- .../cocos/renderer/gfx-base/GFXDef-common.h | 15 +- native/cocos/renderer/gfx-base/GFXDef.h | 21 +- .../renderer/gfx-base/GFXDescriptorSet.cpp | 25 +- .../renderer/gfx-base/GFXDescriptorSet.h | 30 +- .../gfx-base/GFXDescriptorSetLayout.cpp | 40 ++- .../gfx-base/GFXDescriptorSetLayout.h | 25 +- native/cocos/renderer/gfx-base/GFXDevice.cpp | 41 ++- native/cocos/renderer/gfx-base/GFXDevice.h | 296 +++++++++++------- .../renderer/gfx-base/GFXFramebuffer.cpp | 23 +- .../cocos/renderer/gfx-base/GFXFramebuffer.h | 11 +- .../renderer/gfx-base/GFXGlobalBarrier.cpp | 5 +- .../renderer/gfx-base/GFXGlobalBarrier.h | 12 +- .../renderer/gfx-base/GFXInputAssembler.cpp | 44 ++- .../renderer/gfx-base/GFXInputAssembler.h | 55 ++-- .../renderer/gfx-base/GFXPipelineLayout.cpp | 17 +- .../renderer/gfx-base/GFXPipelineLayout.h | 17 +- .../renderer/gfx-base/GFXPipelineState.cpp | 27 +- .../renderer/gfx-base/GFXPipelineState.h | 37 +-- native/cocos/renderer/gfx-base/GFXQueue.cpp | 17 +- native/cocos/renderer/gfx-base/GFXQueue.h | 23 +- .../cocos/renderer/gfx-base/GFXRenderPass.cpp | 21 +- .../cocos/renderer/gfx-base/GFXRenderPass.h | 11 +- native/cocos/renderer/gfx-base/GFXSampler.cpp | 23 +- native/cocos/renderer/gfx-base/GFXSampler.h | 52 ++- native/cocos/renderer/gfx-base/GFXShader.cpp | 34 +- native/cocos/renderer/gfx-base/GFXShader.h | 16 +- native/cocos/renderer/gfx-base/GFXTexture.cpp | 103 +++++- native/cocos/renderer/gfx-base/GFXTexture.h | 19 +- .../renderer/gfx-base/GFXTextureBarrier.cpp | 5 +- .../renderer/gfx-base/GFXTextureBarrier.h | 12 +- .../cocos/renderer/gfx-empty/EmptyBuffer.cpp | 47 +++ native/cocos/renderer/gfx-empty/EmptyBuffer.h | 45 +++ .../renderer/gfx-empty/EmptyCommandBuffer.cpp | 104 ++++++ .../renderer/gfx-empty/EmptyCommandBuffer.h | 64 ++++ .../cocos/renderer/gfx-empty/EmptyContext.cpp | 42 +++ .../cocos/renderer/gfx-empty/EmptyContext.h | 43 +++ .../renderer/gfx-empty/EmptyDescriptorSet.cpp | 41 +++ .../renderer/gfx-empty/EmptyDescriptorSet.h | 43 +++ .../gfx-empty/EmptyDescriptorSetLayout.cpp | 38 +++ .../gfx-empty/EmptyDescriptorSetLayout.h | 41 +++ .../cocos/renderer/gfx-empty/EmptyDevice.cpp | 169 ++++++++++ native/cocos/renderer/gfx-empty/EmptyDevice.h | 89 ++++++ .../renderer/gfx-empty/EmptyFramebuffer.cpp | 38 +++ .../renderer/gfx-empty/EmptyFramebuffer.h | 41 +++ .../gfx-empty/EmptyInputAssembler.cpp | 38 +++ .../renderer/gfx-empty/EmptyInputAssembler.h | 41 +++ .../gfx-empty/EmptyPipelineLayout.cpp | 38 +++ .../renderer/gfx-empty/EmptyPipelineLayout.h | 41 +++ .../renderer/gfx-empty/EmptyPipelineState.cpp | 38 +++ .../renderer/gfx-empty/EmptyPipelineState.h | 41 +++ .../cocos/renderer/gfx-empty/EmptyQueue.cpp | 41 +++ native/cocos/renderer/gfx-empty/EmptyQueue.h | 45 +++ .../renderer/gfx-empty/EmptyRenderPass.cpp | 38 +++ .../renderer/gfx-empty/EmptyRenderPass.h | 41 +++ .../cocos/renderer/gfx-empty/EmptySampler.cpp | 38 +++ .../cocos/renderer/gfx-empty/EmptySampler.h | 41 +++ .../cocos/renderer/gfx-empty/EmptyShader.cpp | 41 +++ native/cocos/renderer/gfx-empty/EmptyShader.h | 41 +++ .../cocos/renderer/gfx-empty/EmptyTexture.cpp | 44 +++ .../cocos/renderer/gfx-empty/EmptyTexture.h | 43 +++ .../gfx-gles-common/GLESCommandPool.h | 4 +- native/cocos/renderer/gfx-gles2/GFXGLES2.h | 5 +- .../cocos/renderer/gfx-gles2/GLES2Buffer.cpp | 83 ++--- native/cocos/renderer/gfx-gles2/GLES2Buffer.h | 16 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 12 +- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 58 ++-- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 15 +- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 67 ++-- .../cocos/renderer/gfx-gles2/GLES2Context.h | 20 +- .../cocos/renderer/gfx-gles2/GLES2Context.mm | 4 +- .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 17 +- .../renderer/gfx-gles2/GLES2DescriptorSet.h | 12 +- .../gfx-gles2/GLES2DescriptorSetLayout.cpp | 35 +-- .../gfx-gles2/GLES2DescriptorSetLayout.h | 11 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 139 ++++---- native/cocos/renderer/gfx-gles2/GLES2Device.h | 64 ++-- .../renderer/gfx-gles2/GLES2Framebuffer.cpp | 25 +- .../renderer/gfx-gles2/GLES2Framebuffer.h | 16 +- .../renderer/gfx-gles2/GLES2GPUObjects.h | 5 +- .../gfx-gles2/GLES2InputAssembler.cpp | 50 +-- .../renderer/gfx-gles2/GLES2InputAssembler.h | 16 +- .../gfx-gles2/GLES2PipelineLayout.cpp | 13 +- .../renderer/gfx-gles2/GLES2PipelineLayout.h | 11 +- .../renderer/gfx-gles2/GLES2PipelineState.cpp | 21 +- .../renderer/gfx-gles2/GLES2PipelineState.h | 16 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 18 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 28 +- .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 19 +- native/cocos/renderer/gfx-gles2/GLES2Queue.h | 17 +- .../renderer/gfx-gles2/GLES2RenderPass.cpp | 16 +- .../renderer/gfx-gles2/GLES2RenderPass.h | 16 +- .../cocos/renderer/gfx-gles2/GLES2Sampler.cpp | 37 +-- .../cocos/renderer/gfx-gles2/GLES2Sampler.h | 16 +- .../cocos/renderer/gfx-gles2/GLES2Shader.cpp | 31 +- native/cocos/renderer/gfx-gles2/GLES2Shader.h | 16 +- .../cocos/renderer/gfx-gles2/GLES2Texture.cpp | 123 +------- .../cocos/renderer/gfx-gles2/GLES2Texture.h | 20 +- native/cocos/renderer/gfx-gles3/GFXGLES3.h | 5 +- .../cocos/renderer/gfx-gles3/GLES3Buffer.cpp | 62 +--- native/cocos/renderer/gfx-gles3/GLES3Buffer.h | 21 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 15 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 61 ++-- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 21 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 160 +++++----- .../cocos/renderer/gfx-gles3/GLES3Context.h | 65 ++-- .../cocos/renderer/gfx-gles3/GLES3Context.mm | 4 +- .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 21 +- .../renderer/gfx-gles3/GLES3DescriptorSet.h | 12 +- .../gfx-gles3/GLES3DescriptorSetLayout.cpp | 35 +-- .../gfx-gles3/GLES3DescriptorSetLayout.h | 11 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 114 +++---- native/cocos/renderer/gfx-gles3/GLES3Device.h | 79 ++--- .../renderer/gfx-gles3/GLES3Framebuffer.cpp | 27 +- .../renderer/gfx-gles3/GLES3Framebuffer.h | 16 +- .../renderer/gfx-gles3/GLES3GPUObjects.h | 5 +- .../renderer/gfx-gles3/GLES3GlobalBarrier.cpp | 10 +- .../renderer/gfx-gles3/GLES3GlobalBarrier.h | 10 +- .../gfx-gles3/GLES3InputAssembler.cpp | 50 +-- .../renderer/gfx-gles3/GLES3InputAssembler.h | 16 +- .../gfx-gles3/GLES3PipelineLayout.cpp | 13 +- .../renderer/gfx-gles3/GLES3PipelineLayout.h | 11 +- .../renderer/gfx-gles3/GLES3PipelineState.cpp | 21 +- .../renderer/gfx-gles3/GLES3PipelineState.h | 16 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 24 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 35 +-- .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 19 +- native/cocos/renderer/gfx-gles3/GLES3Queue.h | 17 +- .../renderer/gfx-gles3/GLES3RenderPass.cpp | 16 +- .../renderer/gfx-gles3/GLES3RenderPass.h | 16 +- .../cocos/renderer/gfx-gles3/GLES3Sampler.cpp | 37 +-- .../cocos/renderer/gfx-gles3/GLES3Sampler.h | 16 +- .../cocos/renderer/gfx-gles3/GLES3Shader.cpp | 45 +-- native/cocos/renderer/gfx-gles3/GLES3Shader.h | 16 +- .../cocos/renderer/gfx-gles3/GLES3Texture.cpp | 123 +------- .../cocos/renderer/gfx-gles3/GLES3Texture.h | 20 +- native/cocos/renderer/gfx-metal/MTLBuffer.h | 13 +- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 46 +-- .../renderer/gfx-metal/MTLCommandBuffer.h | 13 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 20 +- native/cocos/renderer/gfx-metal/MTLContext.h | 8 +- native/cocos/renderer/gfx-metal/MTLContext.mm | 8 +- .../renderer/gfx-metal/MTLDescriptorSet.h | 9 +- .../renderer/gfx-metal/MTLDescriptorSet.mm | 20 +- .../gfx-metal/MTLDescriptorSetLayout.h | 10 +- .../gfx-metal/MTLDescriptorSetLayout.mm | 36 +-- native/cocos/renderer/gfx-metal/MTLDevice.h | 20 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 85 +++-- .../cocos/renderer/gfx-metal/MTLFramebuffer.h | 10 +- .../renderer/gfx-metal/MTLFramebuffer.mm | 12 +- .../cocos/renderer/gfx-metal/MTLGPUObjects.h | 4 +- .../renderer/gfx-metal/MTLInputAssembler.h | 12 +- .../renderer/gfx-metal/MTLInputAssembler.mm | 24 +- .../renderer/gfx-metal/MTLPipelineLayout.h | 10 +- .../renderer/gfx-metal/MTLPipelineLayout.mm | 9 +- .../renderer/gfx-metal/MTLPipelineState.h | 11 +- .../renderer/gfx-metal/MTLPipelineState.mm | 28 +- native/cocos/renderer/gfx-metal/MTLQueue.h | 9 +- native/cocos/renderer/gfx-metal/MTLQueue.mm | 13 +- .../gfx-metal/MTLRenderCommandEncoder.h | 2 +- .../cocos/renderer/gfx-metal/MTLRenderPass.h | 10 +- .../cocos/renderer/gfx-metal/MTLRenderPass.mm | 13 +- native/cocos/renderer/gfx-metal/MTLSampler.h | 10 +- native/cocos/renderer/gfx-metal/MTLSampler.mm | 23 +- .../cocos/renderer/gfx-metal/MTLSemaphore.h | 2 +- native/cocos/renderer/gfx-metal/MTLShader.h | 11 +- native/cocos/renderer/gfx-metal/MTLShader.mm | 19 +- native/cocos/renderer/gfx-metal/MTLTexture.h | 15 +- native/cocos/renderer/gfx-metal/MTLTexture.mm | 125 +------- native/cocos/renderer/gfx-vulkan/GFXVulkan.h | 5 +- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 88 ++---- native/cocos/renderer/gfx-vulkan/VKBuffer.h | 21 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 31 +- .../renderer/gfx-vulkan/VKCommandBuffer.h | 64 ++-- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 4 +- native/cocos/renderer/gfx-vulkan/VKCommands.h | 5 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 20 +- native/cocos/renderer/gfx-vulkan/VKContext.h | 20 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 34 +- .../renderer/gfx-vulkan/VKDescriptorSet.h | 16 +- .../gfx-vulkan/VKDescriptorSetLayout.cpp | 40 +-- .../gfx-vulkan/VKDescriptorSetLayout.h | 11 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 95 +++--- native/cocos/renderer/gfx-vulkan/VKDevice.h | 61 ++-- .../renderer/gfx-vulkan/VKFramebuffer.cpp | 18 +- .../cocos/renderer/gfx-vulkan/VKFramebuffer.h | 16 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 5 +- .../renderer/gfx-vulkan/VKGlobalBarrier.cpp | 10 +- .../renderer/gfx-vulkan/VKGlobalBarrier.h | 4 +- .../renderer/gfx-vulkan/VKInputAssembler.cpp | 25 +- .../renderer/gfx-vulkan/VKInputAssembler.h | 16 +- .../renderer/gfx-vulkan/VKPipelineLayout.cpp | 18 +- .../renderer/gfx-vulkan/VKPipelineLayout.h | 11 +- .../renderer/gfx-vulkan/VKPipelineState.cpp | 27 +- .../renderer/gfx-vulkan/VKPipelineState.h | 16 +- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 16 +- native/cocos/renderer/gfx-vulkan/VKQueue.h | 20 +- .../renderer/gfx-vulkan/VKRenderPass.cpp | 20 +- .../cocos/renderer/gfx-vulkan/VKRenderPass.h | 16 +- native/cocos/renderer/gfx-vulkan/VKSPIRV.h | 7 +- .../cocos/renderer/gfx-vulkan/VKSampler.cpp | 27 +- native/cocos/renderer/gfx-vulkan/VKSampler.h | 16 +- native/cocos/renderer/gfx-vulkan/VKShader.cpp | 21 +- native/cocos/renderer/gfx-vulkan/VKShader.h | 16 +- .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 141 +-------- native/cocos/renderer/gfx-vulkan/VKTexture.h | 20 +- .../renderer/gfx-vulkan/VKTextureBarrier.cpp | 10 +- .../renderer/gfx-vulkan/VKTextureBarrier.h | 4 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 7 +- native/cocos/renderer/pipeline/Define.cpp | 13 + native/cocos/renderer/pipeline/Define.h | 31 +- native/tools/gfx-define-generator/generate.js | 2 +- native/tools/tojs/genbindings.py | 43 ++- native/tools/tojs/gfx.ini | 6 +- 276 files changed, 4818 insertions(+), 5001 deletions(-) rename native/cocos/{renderer/gfx-agent/GFXAgent.h => base/Agent.h} (91%) delete mode 100644 native/cocos/bindings/auto/jsb_gles2_auto.cpp delete mode 100644 native/cocos/bindings/auto/jsb_gles2_auto.h delete mode 100644 native/cocos/bindings/auto/jsb_gles3_auto.cpp delete mode 100644 native/cocos/bindings/auto/jsb_gles3_auto.h delete mode 100644 native/cocos/bindings/auto/jsb_mtl_auto.cpp delete mode 100644 native/cocos/bindings/auto/jsb_mtl_auto.h delete mode 100644 native/cocos/bindings/auto/jsb_vk_auto.cpp delete mode 100644 native/cocos/bindings/auto/jsb_vk_auto.h delete mode 100644 native/cocos/bindings/manual/jsb_gfx_agent.cpp delete mode 100644 native/cocos/bindings/manual/jsb_gfx_agent.h create mode 100644 native/cocos/renderer/GFXDeviceCreator.h rename native/cocos/renderer/gfx-agent/{GFXBufferAgent.cpp => BufferAgent.cpp} (67%) rename native/cocos/renderer/gfx-agent/{GFXBufferAgent.h => BufferAgent.h} (87%) rename native/cocos/renderer/gfx-agent/{GFXCommandBufferAgent.cpp => CommandBufferAgent.cpp} (93%) rename native/cocos/renderer/gfx-agent/{GFXCommandBufferAgent.h => CommandBufferAgent.h} (96%) rename native/cocos/renderer/gfx-agent/{GFXDescriptorSetAgent.cpp => DescriptorSetAgent.cpp} (76%) rename native/cocos/renderer/gfx-agent/{GFXDescriptorSetAgent.h => DescriptorSetAgent.h} (92%) create mode 100644 native/cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp rename native/cocos/renderer/gfx-agent/{GFXDescriptorSetLayoutAgent.h => DescriptorSetLayoutAgent.h} (90%) rename native/cocos/renderer/gfx-agent/{GFXDeviceAgent.cpp => DeviceAgent.cpp} (72%) rename native/cocos/renderer/gfx-agent/{GFXDeviceAgent.h => DeviceAgent.h} (81%) rename native/cocos/renderer/gfx-agent/{GFXFramebufferAgent.cpp => FramebufferAgent.cpp} (81%) rename native/cocos/renderer/gfx-agent/{GFXFramebufferAgent.h => FramebufferAgent.h} (91%) delete mode 100644 native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp delete mode 100644 native/cocos/renderer/gfx-agent/GFXTextureAgent.cpp rename native/cocos/renderer/gfx-agent/{GFXInputAssemblerAgent.cpp => InputAssemblerAgent.cpp} (73%) rename native/cocos/renderer/gfx-agent/{GFXInputAssemblerAgent.h => InputAssemblerAgent.h} (92%) rename native/cocos/renderer/gfx-agent/{GFXLinearAllocatorPool.h => LinearAllocatorPool.h} (100%) rename native/cocos/renderer/gfx-agent/{GFXPipelineLayoutAgent.cpp => PipelineLayoutAgent.cpp} (82%) rename native/cocos/renderer/gfx-agent/{GFXPipelineLayoutAgent.h => PipelineLayoutAgent.h} (91%) rename native/cocos/renderer/gfx-agent/{GFXPipelineStateAgent.cpp => PipelineStateAgent.cpp} (72%) rename native/cocos/renderer/gfx-agent/{GFXPipelineStateAgent.h => PipelineStateAgent.h} (91%) rename native/cocos/renderer/gfx-agent/{GFXQueueAgent.cpp => QueueAgent.cpp} (83%) rename native/cocos/renderer/gfx-agent/{GFXQueueAgent.h => QueueAgent.h} (91%) rename native/cocos/renderer/gfx-agent/{GFXRenderPassAgent.cpp => RenderPassAgent.cpp} (77%) rename native/cocos/renderer/gfx-agent/{GFXRenderPassAgent.h => RenderPassAgent.h} (91%) rename native/cocos/renderer/gfx-agent/{GFXSamplerAgent.cpp => SamplerAgent.cpp} (71%) rename native/cocos/renderer/gfx-agent/{GFXSamplerAgent.h => SamplerAgent.h} (91%) rename native/cocos/renderer/gfx-agent/{GFXShaderAgent.cpp => ShaderAgent.cpp} (72%) rename native/cocos/renderer/gfx-agent/{GFXShaderAgent.h => ShaderAgent.h} (91%) create mode 100644 native/cocos/renderer/gfx-agent/TextureAgent.cpp rename native/cocos/renderer/gfx-agent/{GFXTextureAgent.h => TextureAgent.h} (86%) create mode 100644 native/cocos/renderer/gfx-empty/EmptyBuffer.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyBuffer.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyContext.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyContext.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyDescriptorSet.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyDevice.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyDevice.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyFramebuffer.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyFramebuffer.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyInputAssembler.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyInputAssembler.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyPipelineLayout.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyPipelineState.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyPipelineState.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyQueue.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyQueue.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyRenderPass.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyRenderPass.h create mode 100644 native/cocos/renderer/gfx-empty/EmptySampler.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptySampler.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyShader.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyShader.h create mode 100644 native/cocos/renderer/gfx-empty/EmptyTexture.cpp create mode 100644 native/cocos/renderer/gfx-empty/EmptyTexture.h diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 25ffd5dd6e..76aa51aac6 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -314,6 +314,7 @@ endif() ##### base cocos_source_files( + cocos/base/Agent.h NO_WERROR cocos/base/Array.cpp cocos/base/Array.h NO_WERROR cocos/base/astc.cpp @@ -610,6 +611,8 @@ endif() ##### renderer cocos_source_files( + cocos/renderer/GFXDeviceCreator.h + cocos/renderer/gfx-base/GFXObject.h NO_WERROR cocos/renderer/gfx-base/GFXObject.cpp cocos/renderer/gfx-base/GFXBase.h @@ -650,36 +653,65 @@ cocos_source_files( cocos/renderer/gfx-base/GFXTexture.h NO_WERROR cocos/renderer/gfx-base/GFXTextureBarrier.cpp cocos/renderer/gfx-base/GFXTextureBarrier.h - cocos/renderer/gfx-agent/GFXAgent.h - cocos/renderer/gfx-agent/GFXBufferAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXBufferAgent.cpp - cocos/renderer/gfx-agent/GFXCommandBufferAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp - cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp - cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp - cocos/renderer/gfx-agent/GFXDeviceAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXDeviceAgent.cpp - cocos/renderer/gfx-agent/GFXFramebufferAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp - cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp - cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h - cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp - cocos/renderer/gfx-agent/GFXPipelineStateAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp - cocos/renderer/gfx-agent/GFXQueueAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXQueueAgent.cpp - cocos/renderer/gfx-agent/GFXRenderPassAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp - cocos/renderer/gfx-agent/GFXSamplerAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXSamplerAgent.cpp - cocos/renderer/gfx-agent/GFXShaderAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXShaderAgent.cpp - cocos/renderer/gfx-agent/GFXTextureAgent.h - NO_WERROR cocos/renderer/gfx-agent/GFXTextureAgent.cpp + cocos/renderer/gfx-agent/BufferAgent.h + NO_WERROR cocos/renderer/gfx-agent/BufferAgent.cpp + cocos/renderer/gfx-agent/CommandBufferAgent.h + NO_WERROR cocos/renderer/gfx-agent/CommandBufferAgent.cpp + cocos/renderer/gfx-agent/DescriptorSetAgent.h + NO_WERROR cocos/renderer/gfx-agent/DescriptorSetAgent.cpp + cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h + NO_WERROR cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp + cocos/renderer/gfx-agent/DeviceAgent.h + NO_WERROR cocos/renderer/gfx-agent/DeviceAgent.cpp + cocos/renderer/gfx-agent/FramebufferAgent.h + NO_WERROR cocos/renderer/gfx-agent/FramebufferAgent.cpp + cocos/renderer/gfx-agent/InputAssemblerAgent.h + NO_WERROR cocos/renderer/gfx-agent/InputAssemblerAgent.cpp + cocos/renderer/gfx-agent/LinearAllocatorPool.h + cocos/renderer/gfx-agent/PipelineLayoutAgent.h + NO_WERROR cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp + cocos/renderer/gfx-agent/PipelineStateAgent.h + NO_WERROR cocos/renderer/gfx-agent/PipelineStateAgent.cpp + cocos/renderer/gfx-agent/QueueAgent.h + NO_WERROR cocos/renderer/gfx-agent/QueueAgent.cpp + cocos/renderer/gfx-agent/RenderPassAgent.h + NO_WERROR cocos/renderer/gfx-agent/RenderPassAgent.cpp + cocos/renderer/gfx-agent/SamplerAgent.h + NO_WERROR cocos/renderer/gfx-agent/SamplerAgent.cpp + cocos/renderer/gfx-agent/ShaderAgent.h + NO_WERROR cocos/renderer/gfx-agent/ShaderAgent.cpp + cocos/renderer/gfx-agent/TextureAgent.h + NO_WERROR cocos/renderer/gfx-agent/TextureAgent.cpp + cocos/renderer/gfx-empty/EmptyBuffer.h + NO_WERROR cocos/renderer/gfx-empty/EmptyBuffer.cpp + cocos/renderer/gfx-empty/EmptyCommandBuffer.h + NO_WERROR cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp + cocos/renderer/gfx-empty/EmptyContext.h + NO_WERROR cocos/renderer/gfx-empty/EmptyContext.cpp + cocos/renderer/gfx-empty/EmptyDescriptorSet.h + NO_WERROR cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp + cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h + NO_WERROR cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp + cocos/renderer/gfx-empty/EmptyDevice.h + NO_WERROR cocos/renderer/gfx-empty/EmptyDevice.cpp + cocos/renderer/gfx-empty/EmptyFramebuffer.h + NO_WERROR cocos/renderer/gfx-empty/EmptyFramebuffer.cpp + cocos/renderer/gfx-empty/EmptyInputAssembler.h + NO_WERROR cocos/renderer/gfx-empty/EmptyInputAssembler.cpp + cocos/renderer/gfx-empty/EmptyPipelineLayout.h + NO_WERROR cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp + cocos/renderer/gfx-empty/EmptyPipelineState.h + NO_WERROR cocos/renderer/gfx-empty/EmptyPipelineState.cpp + cocos/renderer/gfx-empty/EmptyQueue.h + NO_WERROR cocos/renderer/gfx-empty/EmptyQueue.cpp + cocos/renderer/gfx-empty/EmptyRenderPass.h + NO_WERROR cocos/renderer/gfx-empty/EmptyRenderPass.cpp + cocos/renderer/gfx-empty/EmptySampler.h + NO_WERROR cocos/renderer/gfx-empty/EmptySampler.cpp + cocos/renderer/gfx-empty/EmptyShader.h + NO_WERROR cocos/renderer/gfx-empty/EmptyShader.cpp + cocos/renderer/gfx-empty/EmptyTexture.h + NO_WERROR cocos/renderer/gfx-empty/EmptyTexture.cpp NO_WERROR cocos/renderer/pipeline/BatchedBuffer.cpp cocos/renderer/pipeline/BatchedBuffer.h cocos/renderer/pipeline/Define.h @@ -965,6 +997,31 @@ if(CC_USE_VULKAN) ) endif() +cocos_source_files( + cocos/renderer/frame-graph/Blackboard.h + cocos/renderer/frame-graph/CallbackPass.h + cocos/renderer/frame-graph/DevicePass.cpp + cocos/renderer/frame-graph/DevicePass.h + cocos/renderer/frame-graph/DevicePassResourceTable.cpp + cocos/renderer/frame-graph/DevicePassResourceTable.h + cocos/renderer/frame-graph/FrameGraph.cpp + cocos/renderer/frame-graph/FrameGraph.h + cocos/renderer/frame-graph/Handle.h + cocos/renderer/frame-graph/PassInsertPointManager.cpp + cocos/renderer/frame-graph/PassInsertPointManager.h + cocos/renderer/frame-graph/PassNode.cpp + cocos/renderer/frame-graph/PassNode.h + cocos/renderer/frame-graph/PassNodeBuilder.cpp + cocos/renderer/frame-graph/PassNodeBuilder.h + cocos/renderer/frame-graph/RenderTargetAttachment.h + cocos/renderer/frame-graph/Resource.h + cocos/renderer/frame-graph/ResourceAllocator.h + cocos/renderer/frame-graph/ResourceEntry.h + cocos/renderer/frame-graph/ResourceNode.h + cocos/renderer/frame-graph/VirtualResource.cpp + cocos/renderer/frame-graph/VirtualResource.h +) + ##### script bindings ######## dop cocos_source_files( @@ -1312,8 +1369,6 @@ cocos_source_files( cocos/bindings/manual/jsb_conversions.h NO_WERROR cocos/bindings/manual/jsb_gfx_manual.cpp cocos/bindings/manual/jsb_gfx_manual.h - NO_WERROR cocos/bindings/manual/jsb_gfx_agent.cpp - cocos/bindings/manual/jsb_gfx_agent.h NO_WERROR cocos/bindings/manual/jsb_global.cpp cocos/bindings/manual/jsb_global.h NO_WERROR cocos/bindings/manual/jsb_global_init.cpp @@ -1364,34 +1419,6 @@ elseif(WIN32) ) endif() -if(CC_USE_GLES2) - cocos_source_files( - cocos/bindings/auto/jsb_gles2_auto.h - NO_WERROR cocos/bindings/auto/jsb_gles2_auto.cpp - ) -endif() - -if(CC_USE_GLES3) - cocos_source_files( - cocos/bindings/auto/jsb_gles3_auto.h - NO_WERROR cocos/bindings/auto/jsb_gles3_auto.cpp - ) -endif() - -if(CC_USE_METAL) - cocos_source_files( - cocos/bindings/auto/jsb_mtl_auto.h - NO_WERROR cocos/bindings/auto/jsb_mtl_auto.cpp - ) -endif() - -if(CC_USE_VULKAN) - cocos_source_files( - cocos/bindings/auto/jsb_vk_auto.h - NO_WERROR cocos/bindings/auto/jsb_vk_auto.cpp - ) -endif() - if(USE_SE_V8) cocos_source_files( cocos/bindings/jswrapper/v8/Base.h diff --git a/native/cocos/renderer/gfx-agent/GFXAgent.h b/native/cocos/base/Agent.h similarity index 91% rename from native/cocos/renderer/gfx-agent/GFXAgent.h rename to native/cocos/base/Agent.h index 78578b9823..6382837d93 100644 --- a/native/cocos/renderer/gfx-agent/GFXAgent.h +++ b/native/cocos/base/Agent.h @@ -26,18 +26,16 @@ #pragma once #include -#include "gfx-base/GFXDevice.h" namespace cc { -namespace gfx { template class CC_DLL Agent : public Actor { public: Agent() noexcept = delete; - Agent(Actor *const actor, Device *const device) noexcept - : Actor(device), _actor(actor) {} + Agent(Actor *const actor) noexcept + : Actor(), _actor(actor) {} ~Agent() override {} @@ -55,5 +53,4 @@ protected: Actor *_actor{nullptr}; }; -} // namespace gfx } // namespace cc diff --git a/native/cocos/base/threading/MessageQueue.cpp b/native/cocos/base/threading/MessageQueue.cpp index c58a7ed6aa..dce0ab17fc 100644 --- a/native/cocos/base/threading/MessageQueue.cpp +++ b/native/cocos/base/threading/MessageQueue.cpp @@ -88,15 +88,15 @@ void MessageQueue::MemoryAllocator::free(uint8_t *const chunk) noexcept { MessageQueue::MessageQueue() { uint8_t *const chunk = MemoryAllocator::getInstance().request(); - _writer._currentMemoryChunk = chunk; - _reader._currentMemoryChunk = chunk; + _writer.currentMemoryChunk = chunk; + _reader.currentMemoryChunk = chunk; // sentinel node will not be executed Message *const msg = allocate(1); pushMessages(); pullMessages(); - _reader._lastMessage = msg; - --_reader._newMessageCount; + _reader.lastMessage = msg; + --_reader.newMessageCount; } void MessageQueue::kick() noexcept { @@ -119,9 +119,10 @@ void MessageQueue::kickAndWait() noexcept { } void MessageQueue::runConsumerThread() noexcept { - if (_workerAttached) { - return; - } + if (_immediateMode || _workerAttached) return; + + _reader.terminateConsumerThread = false; + _reader.flushingFinished = false; std::thread consumerThread(&MessageQueue::consumerThreadLoop, this); consumerThread.detach(); @@ -129,9 +130,7 @@ void MessageQueue::runConsumerThread() noexcept { } void MessageQueue::terminateConsumerThread() noexcept { - if (!_workerAttached) { - return; - } + if (_immediateMode || !_workerAttached) return; EventSem event; EventSem *const pEvent = &event; @@ -146,7 +145,7 @@ void MessageQueue::terminateConsumerThread() noexcept { void MessageQueue::finishWriting(bool wait) noexcept { if (!_immediateMode) { - bool *const flushingFinished = &_reader._flushingFinished; + bool *const flushingFinished = &_reader.flushingFinished; ENQUEUE_MESSAGE_1(this, finishWriting, flushingFinished, flushingFinished, @@ -174,22 +173,22 @@ uint8_t *MessageQueue::allocateImpl(uint32_t &allocatedSize, uint32_t const requ uint32_t const alignedSize = align(requestSize, 16); assert(alignedSize + SWITCH_CHUNK_MEMORY_REQUIREMENT <= MEMORY_CHUNK_SIZE); // exceeds the block size - uint32_t const newOffset = _writer._offset + alignedSize; + uint32_t const newOffset = _writer.offset + alignedSize; if (newOffset + SWITCH_CHUNK_MEMORY_REQUIREMENT <= MEMORY_CHUNK_SIZE) { allocatedSize = alignedSize; - uint8_t *const allocatedMemory = _writer._currentMemoryChunk + _writer._offset; - _writer._offset = newOffset; + uint8_t *const allocatedMemory = _writer.currentMemoryChunk + _writer.offset; + _writer.offset = newOffset; return allocatedMemory; } else { uint8_t *const newChunk = MessageQueue::MemoryAllocator::getInstance().request(); - MemoryChunkSwitchMessage *const switchMessage = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); - new (switchMessage) MemoryChunkSwitchMessage(this, newChunk, _writer._currentMemoryChunk); + MemoryChunkSwitchMessage *const switchMessage = reinterpret_cast(_writer.currentMemoryChunk + _writer.offset); + new (switchMessage) MemoryChunkSwitchMessage(this, newChunk, _writer.currentMemoryChunk); switchMessage->_next = reinterpret_cast(newChunk); // point to start position - _writer._lastMessage = switchMessage; - ++_writer._pendingMessageCount; - _writer._currentMemoryChunk = newChunk; - _writer._offset = 0; + _writer.lastMessage = switchMessage; + ++_writer.pendingMessageCount; + _writer.currentMemoryChunk = newChunk; + _writer.offset = 0; DummyMessage *const head = allocate(1); new (head) DummyMessage; @@ -197,7 +196,7 @@ uint8_t *MessageQueue::allocateImpl(uint32_t &allocatedSize, uint32_t const requ if (_immediateMode) { pushMessages(); pullMessages(); - assert(_reader._newMessageCount == 2); + assert(_reader.newMessageCount == 2); executeMessages(); executeMessages(); } @@ -207,22 +206,22 @@ uint8_t *MessageQueue::allocateImpl(uint32_t &allocatedSize, uint32_t const requ } void MessageQueue::pushMessages() noexcept { - _writer._writtenMessageCount.fetch_add(_writer._pendingMessageCount, std::memory_order_acq_rel); - _writer._pendingMessageCount = 0; + _writer.writtenMessageCount.fetch_add(_writer.pendingMessageCount, std::memory_order_acq_rel); + _writer.pendingMessageCount = 0; } void MessageQueue::pullMessages() noexcept { - uint32_t const writtenMessageCountNew = _writer._writtenMessageCount.load(std::memory_order_acquire); - _reader._newMessageCount += writtenMessageCountNew - _reader._writtenMessageCountSnap; - _reader._writtenMessageCountSnap = writtenMessageCountNew; + uint32_t const writtenMessageCountNew = _writer.writtenMessageCount.load(std::memory_order_acquire); + _reader.newMessageCount += writtenMessageCountNew - _reader.writtenMessageCountSnap; + _reader.writtenMessageCountSnap = writtenMessageCountNew; } void MessageQueue::flushMessages() noexcept { - while (!_reader._flushingFinished) { + while (!_reader.flushingFinished) { executeMessages(); } - _reader._flushingFinished = false; + _reader.flushingFinished = false; } void MessageQueue::executeMessages() noexcept { @@ -246,15 +245,15 @@ Message *MessageQueue::readMessage() noexcept { } } - Message *const msg = _reader._lastMessage->getNext(); - _reader._lastMessage = msg; - --_reader._newMessageCount; + Message *const msg = _reader.lastMessage->getNext(); + _reader.lastMessage = msg; + --_reader.newMessageCount; assert(msg); return msg; } void MessageQueue::consumerThreadLoop() noexcept { - while (!_reader._terminateConsumerThread) { + while (!_reader.terminateConsumerThread) { flushMessages(); } @@ -276,7 +275,7 @@ MemoryChunkSwitchMessage::~MemoryChunkSwitchMessage() { } void MemoryChunkSwitchMessage::execute() noexcept { - _messageQueue->_reader._currentMemoryChunk = _newChunk; + _messageQueue->_reader.currentMemoryChunk = _newChunk; _messageQueue->pullMessages(); } @@ -290,8 +289,8 @@ TerminateConsumerThreadMessage::TerminateConsumerThreadMessage(EventSem *const p } void TerminateConsumerThreadMessage::execute() noexcept { - _reader->_terminateConsumerThread = true; - _reader->_flushingFinished = true; + _reader->terminateConsumerThread = true; + _reader->flushingFinished = true; _event->signal(); } diff --git a/native/cocos/base/threading/MessageQueue.h b/native/cocos/base/threading/MessageQueue.h index 85afb65a2f..5c4725b49f 100644 --- a/native/cocos/base/threading/MessageQueue.h +++ b/native/cocos/base/threading/MessageQueue.h @@ -66,21 +66,21 @@ private: }; struct alignas(64) WriterContext final { - uint8_t * _currentMemoryChunk{nullptr}; - Message * _lastMessage{nullptr}; - uint32_t _offset{0}; - uint32_t _pendingMessageCount{0}; - std::atomic _writtenMessageCount{0}; + uint8_t * currentMemoryChunk{nullptr}; + Message * lastMessage{nullptr}; + uint32_t offset{0}; + uint32_t pendingMessageCount{0}; + std::atomic writtenMessageCount{0}; }; struct alignas(64) ReaderContext final { - uint8_t *_currentMemoryChunk{nullptr}; - Message *_lastMessage{nullptr}; - uint32_t _offset{0}; - uint32_t _writtenMessageCountSnap{0}; - uint32_t _newMessageCount{0}; - bool _terminateConsumerThread{false}; - bool _flushingFinished{false}; + uint8_t *currentMemoryChunk{nullptr}; + Message *lastMessage{nullptr}; + uint32_t offset{0}; + uint32_t writtenMessageCountSnap{0}; + uint32_t newMessageCount{0}; + bool terminateConsumerThread{false}; + bool flushingFinished{false}; }; // A single-producer single-consumer circular buffer queue. @@ -126,9 +126,9 @@ public: static void freeChunksInFreeQueue(MessageQueue *const mainMessagesQueue) noexcept; inline void setImmediateMode(bool immediateMode) noexcept { _immediateMode = immediateMode; } - inline int getPendingMessageCount() const noexcept { return _writer._pendingMessageCount; } - inline int getWrittenMessageCount() const noexcept { return _writer._writtenMessageCount; } - inline int getNewMessageCount() const noexcept { return _reader._newMessageCount; } + inline int getPendingMessageCount() const noexcept { return _writer.pendingMessageCount; } + inline int getWrittenMessageCount() const noexcept { return _writer.writtenMessageCount; } + inline int getNewMessageCount() const noexcept { return _reader.newMessageCount; } private: class alignas(64) MemoryAllocator final { @@ -161,7 +161,7 @@ private: void pullMessages() noexcept; void executeMessages() noexcept; Message * readMessage() noexcept; - inline bool hasNewMessage() const noexcept { return _reader._newMessageCount > 0 && !_reader._flushingFinished; } + inline bool hasNewMessage() const noexcept { return _reader.newMessageCount > 0 && !_reader.flushingFinished; } void consumerThreadLoop() noexcept; WriterContext _writer; @@ -211,9 +211,9 @@ std::enable_if_t::value, T *> MessageQueue::allocate(uint32_t const count) noexcept { uint32_t allocatedSize = 0; T *const msg = reinterpret_cast(allocateImpl(allocatedSize, sizeof(T))); - msg->_next = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); - ++_writer._pendingMessageCount; - _writer._lastMessage = msg; + msg->_next = reinterpret_cast(_writer.currentMemoryChunk + _writer.offset); + ++_writer.pendingMessageCount; + _writer.lastMessage = msg; return msg; } @@ -224,7 +224,7 @@ MessageQueue::allocate(uint32_t const count) noexcept { assert(requestSize); uint32_t allocatedSize = 0; uint8_t *const allocatedMemory = allocateImpl(allocatedSize, requestSize); - _writer._lastMessage->_next = reinterpret_cast(_writer._currentMemoryChunk + _writer._offset); + _writer.lastMessage->_next = reinterpret_cast(_writer.currentMemoryChunk + _writer.offset); return reinterpret_cast(allocatedMemory); } diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 8ec5a43bef..3b9d002666 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -596,33 +596,6 @@ static bool js_gfx_DeviceCaps_set_maxCubeMapTextureSize(se::State& s) } SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_maxCubeMapTextureSize) -static bool js_gfx_DeviceCaps_get_uboOffsetAlignment(se::State& s) -{ - cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_uboOffsetAlignment : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->uboOffsetAlignment, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->uboOffsetAlignment, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_uboOffsetAlignment) - -static bool js_gfx_DeviceCaps_set_uboOffsetAlignment(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_uboOffsetAlignment : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->uboOffsetAlignment, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_uboOffsetAlignment : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_uboOffsetAlignment) - static bool js_gfx_DeviceCaps_get_depthBits(se::State& s) { cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); @@ -677,6 +650,33 @@ static bool js_gfx_DeviceCaps_set_stencilBits(se::State& s) } SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_stencilBits) +static bool js_gfx_DeviceCaps_get_uboOffsetAlignment(se::State& s) +{ + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_uboOffsetAlignment : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->uboOffsetAlignment, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->uboOffsetAlignment, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_uboOffsetAlignment) + +static bool js_gfx_DeviceCaps_set_uboOffsetAlignment(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_uboOffsetAlignment : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->uboOffsetAlignment, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_uboOffsetAlignment : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_uboOffsetAlignment) + static bool js_gfx_DeviceCaps_get_maxComputeSharedMemorySize(se::State& s) { cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); @@ -931,10 +931,6 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::DeviceCaps * to, se::Obje if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->maxCubeMapTextureSize), ctx); } - json->getProperty("uboOffsetAlignment", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->uboOffsetAlignment), ctx); - } json->getProperty("depthBits", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->depthBits), ctx); @@ -943,6 +939,10 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::DeviceCaps * to, se::Obje if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->stencilBits), ctx); } + json->getProperty("uboOffsetAlignment", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->uboOffsetAlignment), ctx); + } json->getProperty("maxComputeSharedMemorySize", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->maxComputeSharedMemorySize), ctx); @@ -1049,13 +1049,13 @@ static bool js_gfx_DeviceCaps_constructor(se::State& s) ok &= sevalue_to_native(args[12], &(cobj->maxCubeMapTextureSize), nullptr); } if (argc > 13 && !args[13].isUndefined()) { - ok &= sevalue_to_native(args[13], &(cobj->uboOffsetAlignment), nullptr); + ok &= sevalue_to_native(args[13], &(cobj->depthBits), nullptr); } if (argc > 14 && !args[14].isUndefined()) { - ok &= sevalue_to_native(args[14], &(cobj->depthBits), nullptr); + ok &= sevalue_to_native(args[14], &(cobj->stencilBits), nullptr); } if (argc > 15 && !args[15].isUndefined()) { - ok &= sevalue_to_native(args[15], &(cobj->stencilBits), nullptr); + ok &= sevalue_to_native(args[15], &(cobj->uboOffsetAlignment), nullptr); } if (argc > 16 && !args[16].isUndefined()) { ok &= sevalue_to_native(args[16], &(cobj->maxComputeSharedMemorySize), nullptr); @@ -1128,9 +1128,9 @@ bool js_register_gfx_DeviceCaps(se::Object* obj) cls->defineProperty("maxUniformBlockSize", _SE(js_gfx_DeviceCaps_get_maxUniformBlockSize), _SE(js_gfx_DeviceCaps_set_maxUniformBlockSize)); cls->defineProperty("maxTextureSize", _SE(js_gfx_DeviceCaps_get_maxTextureSize), _SE(js_gfx_DeviceCaps_set_maxTextureSize)); cls->defineProperty("maxCubeMapTextureSize", _SE(js_gfx_DeviceCaps_get_maxCubeMapTextureSize), _SE(js_gfx_DeviceCaps_set_maxCubeMapTextureSize)); - cls->defineProperty("uboOffsetAlignment", _SE(js_gfx_DeviceCaps_get_uboOffsetAlignment), _SE(js_gfx_DeviceCaps_set_uboOffsetAlignment)); cls->defineProperty("depthBits", _SE(js_gfx_DeviceCaps_get_depthBits), _SE(js_gfx_DeviceCaps_set_depthBits)); cls->defineProperty("stencilBits", _SE(js_gfx_DeviceCaps_get_stencilBits), _SE(js_gfx_DeviceCaps_set_stencilBits)); + cls->defineProperty("uboOffsetAlignment", _SE(js_gfx_DeviceCaps_get_uboOffsetAlignment), _SE(js_gfx_DeviceCaps_set_uboOffsetAlignment)); cls->defineProperty("maxComputeSharedMemorySize", _SE(js_gfx_DeviceCaps_get_maxComputeSharedMemorySize), _SE(js_gfx_DeviceCaps_set_maxComputeSharedMemorySize)); cls->defineProperty("maxComputeWorkGroupInvocations", _SE(js_gfx_DeviceCaps_get_maxComputeWorkGroupInvocations), _SE(js_gfx_DeviceCaps_set_maxComputeWorkGroupInvocations)); cls->defineProperty("maxComputeWorkGroupSize", _SE(js_gfx_DeviceCaps_get_maxComputeWorkGroupSize), _SE(js_gfx_DeviceCaps_set_maxComputeWorkGroupSize)); @@ -14825,33 +14825,6 @@ static bool js_gfx_DeviceInfo_set_nativeHeight(se::State& s) } SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_nativeHeight) -static bool js_gfx_DeviceInfo_get_sharedCtx(se::State& s) -{ - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_sharedCtx : Invalid Native Object"); - - CC_UNUSED bool ok = true; - se::Value jsret; - ok &= nativevalue_to_se(cobj->sharedCtx, jsret, s.thisObject() /*ctx*/); - s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->sharedCtx, s.thisObject(), s.rval()); - return true; -} -SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_sharedCtx) - -static bool js_gfx_DeviceInfo_set_sharedCtx(se::State& s) -{ - const auto& args = s.args(); - cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_sharedCtx : Invalid Native Object"); - - CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->sharedCtx, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_sharedCtx : Error processing new value"); - return true; -} -SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_sharedCtx) - static bool js_gfx_DeviceInfo_get_bindingMappingInfo(se::State& s) { cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); @@ -14912,10 +14885,6 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::DeviceInfo * to, se::Obje if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->nativeHeight), ctx); } - json->getProperty("sharedCtx", &field); - if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->sharedCtx), ctx); - } json->getProperty("bindingMappingInfo", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->bindingMappingInfo), ctx); @@ -14974,10 +14943,7 @@ static bool js_gfx_DeviceInfo_constructor(se::State& s) ok &= sevalue_to_native(args[4], &(cobj->nativeHeight), nullptr); } if (argc > 5 && !args[5].isUndefined()) { - ok &= sevalue_to_native(args[5], &(cobj->sharedCtx), nullptr); - } - if (argc > 6 && !args[6].isUndefined()) { - ok &= sevalue_to_native(args[6], &(cobj->bindingMappingInfo), nullptr); + ok &= sevalue_to_native(args[5], &(cobj->bindingMappingInfo), nullptr); } if(!ok) { @@ -15021,7 +14987,6 @@ bool js_register_gfx_DeviceInfo(se::Object* obj) cls->defineProperty("height", _SE(js_gfx_DeviceInfo_get_height), _SE(js_gfx_DeviceInfo_set_height)); cls->defineProperty("nativeWidth", _SE(js_gfx_DeviceInfo_get_nativeWidth), _SE(js_gfx_DeviceInfo_set_nativeWidth)); cls->defineProperty("nativeHeight", _SE(js_gfx_DeviceInfo_get_nativeHeight), _SE(js_gfx_DeviceInfo_set_nativeHeight)); - cls->defineProperty("sharedCtx", _SE(js_gfx_DeviceInfo_get_sharedCtx), _SE(js_gfx_DeviceInfo_set_sharedCtx)); cls->defineProperty("bindingMappingInfo", _SE(js_gfx_DeviceInfo_get_bindingMappingInfo), _SE(js_gfx_DeviceInfo_set_bindingMappingInfo)); cls->defineFinalizeFunction(_SE(js_cc_gfx_DeviceInfo_finalize)); cls->install(); @@ -15783,10 +15748,7 @@ static bool js_gfx_CommandBuffer_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -16142,25 +16104,6 @@ static bool js_gfx_Context_getDepthStencilFormat(se::State& s) } SE_BIND_PROP_GET(js_gfx_Context_getDepthStencilFormat) -static bool js_gfx_Context_getDevice(se::State& s) -{ - cc::gfx::Context* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Context_getDevice : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - cc::gfx::Device* result = cobj->getDevice(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Context_getDevice : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_Context_getDevice) - static bool js_gfx_Context_getSharedContext(se::State& s) { cc::gfx::Context* cobj = SE_THIS_OBJECT(s); @@ -16271,7 +16214,6 @@ bool js_register_gfx_Context(se::Object* obj) cls->defineProperty("colorFormat", _SE(js_gfx_Context_getColorFormat), nullptr); cls->defineProperty("depthStencilFormat", _SE(js_gfx_Context_getDepthStencilFormat), nullptr); cls->defineFunction("destroy", _SE(js_gfx_Context_destroy)); - cls->defineFunction("getDevice", _SE(js_gfx_Context_getDevice)); cls->defineFunction("initialize", _SE(js_gfx_Context_initialize)); cls->defineFunction("present", _SE(js_gfx_Context_present)); cls->defineFinalizeFunction(_SE(js_cc_gfx_Context_finalize)); @@ -16650,10 +16592,7 @@ static bool js_gfx_DescriptorSet_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSet_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -16797,10 +16736,7 @@ static bool js_gfx_DescriptorSetLayout_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSetLayout_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_DescriptorSetLayout_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -16940,10 +16876,7 @@ static bool js_gfx_Framebuffer_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Framebuffer_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -17065,12 +16998,7 @@ SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GlobalBarrier_finalize) static bool js_gfx_GlobalBarrier_constructor(se::State& s) // constructor.c { - CC_UNUSED bool ok = true; - const auto& args = s.args(); - cc::gfx::Device* arg0 = nullptr; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_GlobalBarrier_constructor : Error processing arguments"); - cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier, arg0); + cc::gfx::GlobalBarrier* cobj = JSB_ALLOC(cc::gfx::GlobalBarrier); s.thisObject()->setPrivateData(cobj); se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); return true; @@ -17368,10 +17296,7 @@ static bool js_gfx_InputAssembler_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -17616,10 +17541,7 @@ static bool js_gfx_PipelineLayout_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_PipelineLayout_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineLayout_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -17891,10 +17813,7 @@ static bool js_gfx_PipelineState_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_PipelineState_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -18004,10 +17923,7 @@ static bool js_gfx_Queue_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_Queue_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Queue_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -18166,10 +18082,7 @@ static bool js_gfx_RenderPass_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -18464,10 +18377,7 @@ static bool js_gfx_Sampler_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_Sampler_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Sampler_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -18767,10 +18677,7 @@ static bool js_gfx_Shader_initialize(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_gfx_Shader_initialize : Error processing arguments"); - bool result = cobj->initialize(arg0.value()); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Shader_initialize : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + cobj->initialize(arg0.value()); return true; } SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); @@ -18851,25 +18758,6 @@ static bool js_gfx_Texture_destroy(se::State& s) } SE_BIND_FUNC(js_gfx_Texture_destroy) -static bool js_gfx_Texture_getBuffer(se::State& s) -{ - cc::gfx::Texture* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Texture_getBuffer : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned char* result = cobj->getBuffer(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Texture_getBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Texture_getBuffer) - static bool js_gfx_Texture_getDepth(se::State& s) { cc::gfx::Texture* cobj = SE_THIS_OBJECT(s); @@ -19191,7 +19079,6 @@ bool js_register_gfx_Texture(se::Object* obj) cls->defineProperty("samples", _SE(js_gfx_Texture_getSamples), nullptr); cls->defineProperty("format", _SE(js_gfx_Texture_getFormat), nullptr); - cls->defineProperty("buffer", _SE(js_gfx_Texture_getBuffer), nullptr); cls->defineProperty("levelCount", _SE(js_gfx_Texture_getLevelCount), nullptr); cls->defineProperty("height", _SE(js_gfx_Texture_getHeight), nullptr); cls->defineProperty("width", _SE(js_gfx_Texture_getWidth), nullptr); @@ -19263,12 +19150,7 @@ SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_TextureBarrier_finalize) static bool js_gfx_TextureBarrier_constructor(se::State& s) // constructor.c { - CC_UNUSED bool ok = true; - const auto& args = s.args(); - cc::gfx::Device* arg0 = nullptr; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_TextureBarrier_constructor : Error processing arguments"); - cc::gfx::TextureBarrier* cobj = JSB_ALLOC(cc::gfx::TextureBarrier, arg0); + cc::gfx::TextureBarrier* cobj = JSB_ALLOC(cc::gfx::TextureBarrier); s.thisObject()->setPrivateData(cobj); se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); return true; @@ -19713,25 +19595,6 @@ static bool js_gfx_Device_getCommandBuffer(se::State& s) } SE_BIND_PROP_GET(js_gfx_Device_getCommandBuffer) -static bool js_gfx_Device_getContext(se::State& s) -{ - cc::gfx::Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_Device_getContext : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - cc::gfx::Context* result = cobj->getContext(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_Device_getContext : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_Device_getContext) - static bool js_gfx_Device_getDepthStencilFormat(se::State& s) { cc::gfx::Device* cobj = SE_THIS_OBJECT(s); @@ -20137,7 +20000,6 @@ bool js_register_gfx_Device(se::Object* obj) cls->defineProperty("queue", _SE(js_gfx_Device_getQueue), nullptr); cls->defineProperty("width", _SE(js_gfx_Device_getWidth), nullptr); cls->defineProperty("renderer", _SE(js_gfx_Device_getRenderer), nullptr); - cls->defineProperty("context", _SE(js_gfx_Device_getContext), nullptr); cls->defineProperty("commandBuffer", _SE(js_gfx_Device_getCommandBuffer), nullptr); cls->defineProperty("vendor", _SE(js_gfx_Device_getVendor), nullptr); cls->defineProperty("surfaceTransform", _SE(js_gfx_Device_getSurfaceTransform), nullptr); diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index 674a7604e7..04f82a6b20 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -624,7 +624,6 @@ bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::Context); SE_DECLARE_FUNC(js_gfx_Context_destroy); -SE_DECLARE_FUNC(js_gfx_Context_getDevice); SE_DECLARE_FUNC(js_gfx_Context_initialize); SE_DECLARE_FUNC(js_gfx_Context_present); SE_DECLARE_FUNC(js_gfx_Context_Context); diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.cpp b/native/cocos/bindings/auto/jsb_gles2_auto.cpp deleted file mode 100644 index 3f8b310fd1..0000000000 --- a/native/cocos/bindings/auto/jsb_gles2_auto.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "cocos/bindings/auto/jsb_gles2_auto.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/bindings/manual/jsb_global.h" -#include "renderer/gfx-gles2/GFXGLES2.h" - -#ifndef JSB_ALLOC -#define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) -#endif - -#ifndef JSB_FREE -#define JSB_FREE(ptr) delete ptr -#endif -se::Object* __jsb_cc_gfx_GLES2Device_proto = nullptr; -se::Class* __jsb_cc_gfx_GLES2Device_class = nullptr; - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GLES2Device_finalize) - -static bool js_gles2_GLES2Device_constructor(se::State& s) // constructor.c -{ - cc::gfx::GLES2Device* cobj = JSB_ALLOC(cc::gfx::GLES2Device); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; -} -SE_BIND_CTOR(js_gles2_GLES2Device_constructor, __jsb_cc_gfx_GLES2Device_class, js_cc_gfx_GLES2Device_finalize) - - - -extern se::Object* __jsb_cc_gfx_Device_proto; - -static bool js_cc_gfx_GLES2Device_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::GLES2Device* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_GLES2Device_finalize) - -bool js_register_gles2_GLES2Device(se::Object* obj) -{ - auto cls = se::Class::create("GLES2Device", obj, __jsb_cc_gfx_Device_proto, _SE(js_gles2_GLES2Device_constructor)); - - cls->defineFinalizeFunction(_SE(js_cc_gfx_GLES2Device_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_GLES2Device_proto = cls->getProto(); - __jsb_cc_gfx_GLES2Device_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -bool register_all_gles2(se::Object* obj) -{ - // Get the ns - se::Value nsVal; - if (!obj->getProperty("gfx", &nsVal)) - { - se::HandleObject jsobj(se::Object::createPlainObject()); - nsVal.setObject(jsobj); - obj->setProperty("gfx", nsVal); - } - se::Object* ns = nsVal.toObject(); - - js_register_gles2_GLES2Device(ns); - return true; -} - diff --git a/native/cocos/bindings/auto/jsb_gles2_auto.h b/native/cocos/bindings/auto/jsb_gles2_auto.h deleted file mode 100644 index 4c309e74ca..0000000000 --- a/native/cocos/bindings/auto/jsb_gles2_auto.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#pragma once -#include "base/Config.h" -#include -#include "cocos/bindings/jswrapper/SeApi.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/gfx-gles2/GFXGLES2.h" - -extern se::Object* __jsb_cc_gfx_GLES2Device_proto; -extern se::Class* __jsb_cc_gfx_GLES2Device_class; - -bool js_register_cc_gfx_GLES2Device(se::Object* obj); -bool register_all_gles2(se::Object* obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::GLES2Device); -SE_DECLARE_FUNC(js_gles2_GLES2Device_GLES2Device); - diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.cpp b/native/cocos/bindings/auto/jsb_gles3_auto.cpp deleted file mode 100644 index a8f0154cb4..0000000000 --- a/native/cocos/bindings/auto/jsb_gles3_auto.cpp +++ /dev/null @@ -1,119 +0,0 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "cocos/bindings/auto/jsb_gles3_auto.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/bindings/manual/jsb_global.h" -#include "renderer/gfx-gles3/GFXGLES3.h" - -#ifndef JSB_ALLOC -#define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) -#endif - -#ifndef JSB_FREE -#define JSB_FREE(ptr) delete ptr -#endif -se::Object* __jsb_cc_gfx_GLES3Device_proto = nullptr; -se::Class* __jsb_cc_gfx_GLES3Device_class = nullptr; - -static bool js_gles3_GLES3Device_getMinorVersion(se::State& s) -{ - cc::gfx::GLES3Device* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gles3_GLES3Device_getMinorVersion : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getMinorVersion(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gles3_GLES3Device_getMinorVersion : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gles3_GLES3Device_getMinorVersion) - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_GLES3Device_finalize) - -static bool js_gles3_GLES3Device_constructor(se::State& s) // constructor.c -{ - cc::gfx::GLES3Device* cobj = JSB_ALLOC(cc::gfx::GLES3Device); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; -} -SE_BIND_CTOR(js_gles3_GLES3Device_constructor, __jsb_cc_gfx_GLES3Device_class, js_cc_gfx_GLES3Device_finalize) - - - -extern se::Object* __jsb_cc_gfx_Device_proto; - -static bool js_cc_gfx_GLES3Device_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::GLES3Device* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_GLES3Device_finalize) - -bool js_register_gles3_GLES3Device(se::Object* obj) -{ - auto cls = se::Class::create("GLES3Device", obj, __jsb_cc_gfx_Device_proto, _SE(js_gles3_GLES3Device_constructor)); - - cls->defineFunction("getMinorVersion", _SE(js_gles3_GLES3Device_getMinorVersion)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_GLES3Device_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_GLES3Device_proto = cls->getProto(); - __jsb_cc_gfx_GLES3Device_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -bool register_all_gles3(se::Object* obj) -{ - // Get the ns - se::Value nsVal; - if (!obj->getProperty("gfx", &nsVal)) - { - se::HandleObject jsobj(se::Object::createPlainObject()); - nsVal.setObject(jsobj); - obj->setProperty("gfx", nsVal); - } - se::Object* ns = nsVal.toObject(); - - js_register_gles3_GLES3Device(ns); - return true; -} - diff --git a/native/cocos/bindings/auto/jsb_gles3_auto.h b/native/cocos/bindings/auto/jsb_gles3_auto.h deleted file mode 100644 index 64f07379ba..0000000000 --- a/native/cocos/bindings/auto/jsb_gles3_auto.h +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#pragma once -#include "base/Config.h" -#include -#include "cocos/bindings/jswrapper/SeApi.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/gfx-gles3/GFXGLES3.h" - -extern se::Object* __jsb_cc_gfx_GLES3Device_proto; -extern se::Class* __jsb_cc_gfx_GLES3Device_class; - -bool js_register_cc_gfx_GLES3Device(se::Object* obj); -bool register_all_gles3(se::Object* obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::GLES3Device); -SE_DECLARE_FUNC(js_gles3_GLES3Device_getMinorVersion); -SE_DECLARE_FUNC(js_gles3_GLES3Device_GLES3Device); - diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.cpp b/native/cocos/bindings/auto/jsb_mtl_auto.cpp deleted file mode 100644 index ce676c461e..0000000000 --- a/native/cocos/bindings/auto/jsb_mtl_auto.cpp +++ /dev/null @@ -1,191 +0,0 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "cocos/bindings/auto/jsb_mtl_auto.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/bindings/manual/jsb_global.h" -#include "renderer/gfx-metal/GFXMTL.h" - -#ifndef JSB_ALLOC -#define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) -#endif - -#ifndef JSB_FREE -#define JSB_FREE(ptr) delete ptr -#endif -se::Object* __jsb_cc_gfx_CCMTLDevice_proto = nullptr; -se::Class* __jsb_cc_gfx_CCMTLDevice_class = nullptr; - -static bool js_mtl_CCMTLDevice_disposeCurrentDrawable(se::State& s) -{ - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_disposeCurrentDrawable : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->disposeCurrentDrawable(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_mtl_CCMTLDevice_disposeCurrentDrawable) - -static bool js_mtl_CCMTLDevice_getCurrentDrawable(se::State& s) -{ - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getCurrentDrawable : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - void* result = cobj->getCurrentDrawable(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getCurrentDrawable : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_mtl_CCMTLDevice_getCurrentDrawable) - -static bool js_mtl_CCMTLDevice_getDSSTexture(se::State& s) -{ - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getDSSTexture : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - void* result = cobj->getDSSTexture(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getDSSTexture : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_mtl_CCMTLDevice_getDSSTexture) - -static bool js_mtl_CCMTLDevice_getMTLLayer(se::State& s) -{ - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_getMTLLayer : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - void* result = cobj->getMTLLayer(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_mtl_CCMTLDevice_getMTLLayer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_mtl_CCMTLDevice_getMTLLayer) - -static bool js_mtl_CCMTLDevice_onPresentCompleted(se::State& s) -{ - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_mtl_CCMTLDevice_onPresentCompleted : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->onPresentCompleted(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_mtl_CCMTLDevice_onPresentCompleted) - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) - -static bool js_mtl_CCMTLDevice_constructor(se::State& s) // constructor.c -{ - cc::gfx::CCMTLDevice* cobj = JSB_ALLOC(cc::gfx::CCMTLDevice); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; -} -SE_BIND_CTOR(js_mtl_CCMTLDevice_constructor, __jsb_cc_gfx_CCMTLDevice_class, js_cc_gfx_CCMTLDevice_finalize) - - - -extern se::Object* __jsb_cc_gfx_Device_proto; - -static bool js_cc_gfx_CCMTLDevice_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::CCMTLDevice* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_CCMTLDevice_finalize) - -bool js_register_mtl_CCMTLDevice(se::Object* obj) -{ - auto cls = se::Class::create("CCMTLDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_mtl_CCMTLDevice_constructor)); - - cls->defineFunction("disposeCurrentDrawable", _SE(js_mtl_CCMTLDevice_disposeCurrentDrawable)); - cls->defineFunction("getCurrentDrawable", _SE(js_mtl_CCMTLDevice_getCurrentDrawable)); - cls->defineFunction("getDSSTexture", _SE(js_mtl_CCMTLDevice_getDSSTexture)); - cls->defineFunction("getMTLLayer", _SE(js_mtl_CCMTLDevice_getMTLLayer)); - cls->defineFunction("onPresentCompleted", _SE(js_mtl_CCMTLDevice_onPresentCompleted)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_CCMTLDevice_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_CCMTLDevice_proto = cls->getProto(); - __jsb_cc_gfx_CCMTLDevice_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -bool register_all_mtl(se::Object* obj) -{ - // Get the ns - se::Value nsVal; - if (!obj->getProperty("gfx", &nsVal)) - { - se::HandleObject jsobj(se::Object::createPlainObject()); - nsVal.setObject(jsobj); - obj->setProperty("gfx", nsVal); - } - se::Object* ns = nsVal.toObject(); - - js_register_mtl_CCMTLDevice(ns); - return true; -} - diff --git a/native/cocos/bindings/auto/jsb_mtl_auto.h b/native/cocos/bindings/auto/jsb_mtl_auto.h deleted file mode 100644 index be0cecc60d..0000000000 --- a/native/cocos/bindings/auto/jsb_mtl_auto.h +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#pragma once -#include "base/Config.h" -#include -#include "cocos/bindings/jswrapper/SeApi.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/gfx-metal/GFXMTL.h" - -extern se::Object* __jsb_cc_gfx_CCMTLDevice_proto; -extern se::Class* __jsb_cc_gfx_CCMTLDevice_class; - -bool js_register_cc_gfx_CCMTLDevice(se::Object* obj); -bool register_all_mtl(se::Object* obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCMTLDevice); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_disposeCurrentDrawable); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getCurrentDrawable); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getDSSTexture); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_getMTLLayer); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_onPresentCompleted); -SE_DECLARE_FUNC(js_mtl_CCMTLDevice_CCMTLDevice); - diff --git a/native/cocos/bindings/auto/jsb_vk_auto.cpp b/native/cocos/bindings/auto/jsb_vk_auto.cpp deleted file mode 100644 index cd7214bb37..0000000000 --- a/native/cocos/bindings/auto/jsb_vk_auto.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "cocos/bindings/auto/jsb_vk_auto.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/bindings/manual/jsb_global.h" -#include "renderer/gfx-vulkan/GFXVulkan.h" - -#ifndef JSB_ALLOC -#define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) -#endif - -#ifndef JSB_FREE -#define JSB_FREE(ptr) delete ptr -#endif -se::Object* __jsb_cc_gfx_CCVKDevice_proto = nullptr; -se::Class* __jsb_cc_gfx_CCVKDevice_class = nullptr; - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_CCVKDevice_finalize) - -static bool js_vk_CCVKDevice_constructor(se::State& s) // constructor.c -{ - cc::gfx::CCVKDevice* cobj = JSB_ALLOC(cc::gfx::CCVKDevice); - s.thisObject()->setPrivateData(cobj); - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; -} -SE_BIND_CTOR(js_vk_CCVKDevice_constructor, __jsb_cc_gfx_CCVKDevice_class, js_cc_gfx_CCVKDevice_finalize) - - - -extern se::Object* __jsb_cc_gfx_Device_proto; - -static bool js_cc_gfx_CCVKDevice_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::CCVKDevice* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_CCVKDevice_finalize) - -bool js_register_vk_CCVKDevice(se::Object* obj) -{ - auto cls = se::Class::create("CCVKDevice", obj, __jsb_cc_gfx_Device_proto, _SE(js_vk_CCVKDevice_constructor)); - - cls->defineFinalizeFunction(_SE(js_cc_gfx_CCVKDevice_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_CCVKDevice_proto = cls->getProto(); - __jsb_cc_gfx_CCVKDevice_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -bool register_all_vk(se::Object* obj) -{ - // Get the ns - se::Value nsVal; - if (!obj->getProperty("gfx", &nsVal)) - { - se::HandleObject jsobj(se::Object::createPlainObject()); - nsVal.setObject(jsobj); - obj->setProperty("gfx", nsVal); - } - se::Object* ns = nsVal.toObject(); - - js_register_vk_CCVKDevice(ns); - return true; -} - diff --git a/native/cocos/bindings/auto/jsb_vk_auto.h b/native/cocos/bindings/auto/jsb_vk_auto.h deleted file mode 100644 index 98fc6aa67b..0000000000 --- a/native/cocos/bindings/auto/jsb_vk_auto.h +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#pragma once -#include "base/Config.h" -#include -#include "cocos/bindings/jswrapper/SeApi.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/renderer/gfx-vulkan/GFXVulkan.h" - -extern se::Object* __jsb_cc_gfx_CCVKDevice_proto; -extern se::Class* __jsb_cc_gfx_CCVKDevice_class; - -bool js_register_cc_gfx_CCVKDevice(se::Object* obj); -bool register_all_vk(se::Object* obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::CCVKDevice); -SE_DECLARE_FUNC(js_vk_CCVKDevice_CCVKDevice); - diff --git a/native/cocos/bindings/event/EventDispatcher.cpp b/native/cocos/bindings/event/EventDispatcher.cpp index 9c6a7d2593..bbfcd62b80 100644 --- a/native/cocos/bindings/event/EventDispatcher.cpp +++ b/native/cocos/bindings/event/EventDispatcher.cpp @@ -94,7 +94,7 @@ void EventDispatcher::dispatchTouchEvent(const struct TouchEvent &touchEvent) { _jsTouchObjArray->root(); } - _jsTouchObjArray->setProperty("length", se::Value(touchEvent.touches.size())); + _jsTouchObjArray->setProperty("length", se::Value((uint32_t)touchEvent.touches.size())); while (_jsTouchObjPool.size() < touchEvent.touches.size()) { se::Object *touchObj = se::Object::createPlainObject(); diff --git a/native/cocos/bindings/manual/jsb_gfx_agent.cpp b/native/cocos/bindings/manual/jsb_gfx_agent.cpp deleted file mode 100644 index 1b9436e9ec..0000000000 --- a/native/cocos/bindings/manual/jsb_gfx_agent.cpp +++ /dev/null @@ -1,105 +0,0 @@ -/**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "cocos/bindings/manual/jsb_gfx_agent.h" -#include "cocos/bindings/manual/jsb_conversions.h" -#include "cocos/bindings/manual/jsb_global.h" -#include "gfx-agent/GFXDeviceAgent.h" - -#ifndef JSB_ALLOC -#define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) -#endif - -#ifndef JSB_FREE -#define JSB_FREE(ptr) delete ptr -#endif -se::Object* __jsb_cc_gfx_DeviceAgent_proto = nullptr; -se::Class* __jsb_cc_gfx_DeviceAgent_class = nullptr; - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_DeviceAgent_finalize) - -static bool js_gfx_agent_DeviceAgent_constructor(se::State& s) // constructor.c -{ - CC_UNUSED bool ok = true; - const auto& args = s.args(); - cc::gfx::Device* arg0 = nullptr; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_agent_DeviceAgent_constructor : Error processing arguments"); - cc::gfx::DeviceAgent* cobj = JSB_ALLOC(cc::gfx::DeviceAgent, arg0); - s.thisObject()->setPrivateData(cobj); - args[0].toObject()->clearPrivateData(true); // actor device is now under agent's full control (unique_ptr) - se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); - return true; -} -SE_BIND_CTOR(js_gfx_agent_DeviceAgent_constructor, __jsb_cc_gfx_DeviceAgent_class, js_cc_gfx_DeviceAgent_finalize) - - - -extern se::Object* __jsb_cc_gfx_Device_proto; - -static bool js_cc_gfx_DeviceAgent_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::DeviceAgent* cobj = SE_THIS_OBJECT(s); - // device destruction should happen after all resources which we have no way to control through JS object lifecycles - //JSB_FREE(cobj); // so just skip it here and do it manually - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_DeviceAgent_finalize) - -bool js_register_gfx_agent_DeviceAgent(se::Object* obj) -{ - auto cls = se::Class::create("DeviceAgent", obj, __jsb_cc_gfx_Device_proto, _SE(js_gfx_agent_DeviceAgent_constructor)); - - cls->defineFinalizeFunction(_SE(js_cc_gfx_DeviceAgent_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_DeviceAgent_proto = cls->getProto(); - __jsb_cc_gfx_DeviceAgent_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} - -bool register_all_gfx_agent(se::Object* obj) -{ - // Get the ns - se::Value nsVal; - if (!obj->getProperty("gfx", &nsVal)) - { - se::HandleObject jsobj(se::Object::createPlainObject()); - nsVal.setObject(jsobj); - obj->setProperty("gfx", nsVal); - } - se::Object* ns = nsVal.toObject(); - - js_register_gfx_agent_DeviceAgent(ns); - return true; -} diff --git a/native/cocos/bindings/manual/jsb_gfx_agent.h b/native/cocos/bindings/manual/jsb_gfx_agent.h deleted file mode 100644 index 1bef9079e0..0000000000 --- a/native/cocos/bindings/manual/jsb_gfx_agent.h +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#pragma once -#include "base/Config.h" -#include "base/CoreStd.h" -#include "bindings/auto/jsb_gfx_auto.h" -#include "bindings/jswrapper/SeApi.h" -#include "bindings/manual/jsb_conversions.h" -#include "gfx-agent/GFXDeviceAgent.h" -#include "gfx-base/GFXDef.h" -#include - -extern se::Object *__jsb_cc_gfx_DeviceAgent_proto; -extern se::Class * __jsb_cc_gfx_DeviceAgent_class; - -bool js_register_cc_gfx_DeviceAgent(se::Object *obj); -bool register_all_gfx_agent(se::Object *obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::DeviceAgent); -SE_DECLARE_FUNC(js_gfx_agent_DeviceAgent_DeviceAgent); diff --git a/native/cocos/bindings/manual/jsb_gfx_manual.cpp b/native/cocos/bindings/manual/jsb_gfx_manual.cpp index 50a29c9e75..4bd06120ef 100644 --- a/native/cocos/bindings/manual/jsb_gfx_manual.cpp +++ b/native/cocos/bindings/manual/jsb_gfx_manual.cpp @@ -29,36 +29,9 @@ #include "bindings/manual/jsb_conversions.h" #include "bindings/manual/jsb_global.h" -#ifdef CC_USE_VULKAN - #include "bindings/auto/jsb_vk_auto.h" - #include "gfx-vulkan/GFXVulkan.h" -#endif - -#ifdef CC_USE_METAL - #include "bindings/auto/jsb_mtl_auto.h" - #include "gfx-metal/GFXMTL.h" -#endif - -#ifdef CC_USE_GLES3 - #include "bindings/auto/jsb_gles3_auto.h" - #include "gfx-gles3/GFXGLES3.h" -#endif - -#ifdef CC_USE_GLES2 - #include "bindings/auto/jsb_gles2_auto.h" - #include "gfx-gles2/GFXGLES2.h" -#endif - #include #include -#define GFX_MAX_VERTEX_ATTRIBUTES 16 -#define GFX_MAX_TEXTURE_UNITS 16 -#define GFX_MAX_ATTACHMENTS 4 -#define GFX_MAX_BUFFER_BINDINGS 24 -#define GFX_INVALID_BINDING ((uint8_t)-1) -#define GFX_INVALID_HANDLE ((uint)-1) - bool js_gfx_Device_copyBuffersToTexture(se::State &s) { cc::gfx::Device *cobj = (cc::gfx::Device *)s.nativeThisObject(); SE_PRECONDITION2(cobj, false, "js_gfx_Device_copyBuffersToTexture : Invalid Native Object"); @@ -238,10 +211,10 @@ static bool js_gfx_Buffer_initialize(se::State &s) { if (initWithBufferViewInfo) { auto bufferViewInfo = (cc::gfx::BufferViewInfo *)(args[0].toObject()->getPrivateData()); - ok &= cobj->initialize(*bufferViewInfo); + cobj->initialize(*bufferViewInfo); } else { auto bufferInfo = (cc::gfx::BufferInfo *)(args[0].toObject()->getPrivateData()); - ok &= cobj->initialize(*bufferInfo); + cobj->initialize(*bufferInfo); } ok &= boolean_to_seval(ok, &s.rval()); @@ -267,10 +240,10 @@ static bool js_gfx_Texture_initialize(se::State &s) { if (initWithTextureViewInfo) { auto textureViewInfo = (cc::gfx::TextureViewInfo *)(args[0].toObject()->getPrivateData()); - ok &= cobj->initialize(*textureViewInfo); + cobj->initialize(*textureViewInfo); } else { auto textureInfo = (cc::gfx::TextureInfo *)(args[0].toObject()->getPrivateData()); - ok &= cobj->initialize(*textureInfo); + cobj->initialize(*textureInfo); } ok &= boolean_to_seval(ok, &s.rval()); @@ -512,20 +485,11 @@ bool register_all_gfx_manual(se::Object *obj) { } se::Object *ns = nsVal.toObject(); - // js_register_gfx_SubPass(ns); - -#ifdef CC_USE_VULKAN - register_all_vk(obj); -#endif -#ifdef CC_USE_GLES3 - register_all_gles3(obj); -#endif -#ifdef CC_USE_GLES2 - register_all_gles2(obj); -#endif -#ifdef CC_USE_METAL - register_all_mtl(obj); -#endif + { + se::Value jsret; + nativevalue_to_se(cc::gfx::Device::getInstance(), jsret, nullptr); + ns->setProperty("deviceInstance", jsret); + } return true; } diff --git a/native/cocos/bindings/manual/jsb_module_register.cpp b/native/cocos/bindings/manual/jsb_module_register.cpp index 5e67b8772b..068a1924f7 100644 --- a/native/cocos/bindings/manual/jsb_module_register.cpp +++ b/native/cocos/bindings/manual/jsb_module_register.cpp @@ -37,7 +37,6 @@ #include "cocos/bindings/manual/jsb_network_manual.h" #include "cocos/bindings/manual/jsb_conversions.h" #include "cocos/bindings/manual/jsb_gfx_manual.h" -#include "cocos/bindings/manual/jsb_gfx_agent.h" #include "cocos/bindings/manual/jsb_global.h" #include "cocos/bindings/manual/jsb_platform.h" #include "cocos/bindings/manual/jsb_xmlhttprequest.h" @@ -115,7 +114,6 @@ bool jsb_register_all_modules() { se->addRegisterCallback(register_platform_bindings); se->addRegisterCallback(register_all_gfx); se->addRegisterCallback(register_all_gfx_manual); - se->addRegisterCallback(register_all_gfx_agent); se->addRegisterCallback(register_all_network); se->addRegisterCallback(register_all_network_manual); diff --git a/native/cocos/platform/android/Application-android.cpp b/native/cocos/platform/android/Application-android.cpp index c5581ac407..c6dc110843 100644 --- a/native/cocos/platform/android/Application-android.cpp +++ b/native/cocos/platform/android/Application-android.cpp @@ -36,6 +36,9 @@ #include "platform/android/jni/JniHelper.h" #include "platform/android/jni/JniCocosActivity.h" +#include "renderer/GFXDeviceCreator.h" +#include "pipeline/Define.h" + #define LOG_APP_TAG "Application_android Debug" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_APP_TAG, __VA_ARGS__) @@ -47,7 +50,10 @@ extern "C" size_t __ctype_get_mb_cur_max(void) { } #endif +namespace cc { + namespace { + bool setCanvasCallback(se::Object *global) { auto viewLogicalSize = cc::Application::getInstance()->getViewLogicalSize(); se::AutoHandleScope scope; @@ -59,11 +65,20 @@ bool setCanvasCallback(se::Object *global) { (uintptr_t)cc::cocosApp.window); se->evalString(commandBuf); + gfx::DeviceInfo deviceInfo; + deviceInfo.windowHandle = (uintptr_t)cc::cocosApp.window; + deviceInfo.width = viewLogicalSize.x; + deviceInfo.height = viewLogicalSize.y; + deviceInfo.nativeWidth = viewLogicalSize.x; + deviceInfo.nativeHeight = viewLogicalSize.y; + deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; + + gfx::DeviceCreator::createDevice(deviceInfo); + return true; } -} // namespace -namespace cc { +} // namespace Application *Application::_instance = nullptr; std::shared_ptr Application::_scheduler = nullptr; diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index 3e071b4cdc..d66d1eab62 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -34,6 +34,9 @@ #include "audio/include/AudioEngine.h" #include "platform/Device.h" +#include "renderer/GFXDeviceCreator.h" +#include "pipeline/Define.h" + @interface MyTimer : NSObject { cc::Application *_app; CADisplayLink *_displayLink; @@ -85,27 +88,39 @@ namespace cc { namespace { bool setCanvasCallback(se::Object* global) { auto viewLogicalSize = cc::Application::getInstance()->getViewLogicalSize(); - + CGRect nativeBounds = [[UIScreen mainScreen] nativeBounds]; int nativeWidth = static_cast(nativeBounds.size.width); int nativeHeight = static_cast(nativeBounds.size.height); auto orientation = cc::Device::getDeviceOrientation(); bool isLandscape = (orientation == cc::Device::Orientation::LANDSCAPE_RIGHT || orientation == cc::Device::Orientation::LANDSCAPE_LEFT); if (isLandscape) std::swap(nativeWidth, nativeHeight); - + char commandBuf[200] = {0}; // https://stackoverflow.com/questions/5795978/string-format-for-intptr-t-and-uintptr-t/41897226#41897226 // format intptr_t //set window.innerWidth/innerHeight in css pixel units + uintptr_t windowHandle = reinterpret_cast(UIApplication.sharedApplication.delegate.window.rootViewController.view); sprintf(commandBuf, "window.innerWidth = %d; window.innerHeight = %d; window.nativeWidth = %d; window.nativeHeight = %d; window.windowHandler = 0x%" PRIxPTR ";", static_cast(viewLogicalSize.x), static_cast(viewLogicalSize.y), nativeWidth, nativeHeight, - reinterpret_cast(UIApplication.sharedApplication.delegate.window.rootViewController.view)); - + windowHandle); + se::ScriptEngine* se = se::ScriptEngine::getInstance(); se->evalString(commandBuf); + + gfx::DeviceInfo deviceInfo; + deviceInfo.windowHandle = windowHandle; + deviceInfo.width = viewLogicalSize.x; + deviceInfo.height = viewLogicalSize.y; + deviceInfo.nativeWidth = nativeWidth; + deviceInfo.nativeHeight = nativeHeight; + deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; + + gfx::DeviceCreator::createDevice(deviceInfo); + return true; } diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index df60d35b51..0557735f6e 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -32,6 +32,9 @@ #include #include +#include "renderer/GFXDeviceCreator.h" +#include "pipeline/Define.h" + #import @interface MyTimer : NSObject { @@ -99,6 +102,17 @@ bool setCanvasCallback(se::Object *global) { (int)(viewLogicalSize.y), (uintptr_t)view); se->evalString(commandBuf); + + gfx::DeviceInfo deviceInfo; + deviceInfo.windowHandle = (uintptr_t)view; + deviceInfo.width = viewLogicalSize.x; + deviceInfo.height = viewLogicalSize.y; + deviceInfo.nativeWidth = viewLogicalSize.x; + deviceInfo.nativeHeight = viewLogicalSize.y; + deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; + + gfx::DeviceCreator::createDevice(deviceInfo); + return true; } diff --git a/native/cocos/platform/win32/Application-win32.cpp b/native/cocos/platform/win32/Application-win32.cpp index d3df74cbb8..2bd0ac2a94 100644 --- a/native/cocos/platform/win32/Application-win32.cpp +++ b/native/cocos/platform/win32/Application-win32.cpp @@ -27,30 +27,31 @@ #include "platform/Application.h" #include "platform/StdC.h" // need it to include Windows.h -#include -#include -#include -#include -#include -#include + +#include "audio/include/AudioEngine.h" +#include "base/AutoreleasePool.h" +#include "base/Scheduler.h" +#include "cocos/bindings/event/EventDispatcher.h" +#include "cocos/bindings/jswrapper/SeApi.h" #include "platform/FileUtils.h" #include "platform/win32/View-win32.h" -#include "cocos/bindings/jswrapper/SeApi.h" -#include "cocos/bindings/event/EventDispatcher.h" -#include "base/Scheduler.h" -#include "base/AutoreleasePool.h" -#include "audio/include/AudioEngine.h" +#include +#include +#include +#include +#include +#include extern std::shared_ptr cc_get_application_view(); namespace cc { -Application *Application::_instance = nullptr; +Application * Application::_instance = nullptr; std::shared_ptr Application::_scheduler = nullptr; Application::Application(int width, int height) { Application::_instance = this; - _scheduler = std::make_shared(); + _scheduler = std::make_shared(); FileUtils::getInstance()->addSearchPath("Resources", true); @@ -84,14 +85,14 @@ void Application::setPreferredFramesPerSecond(int fps) { if (fps == 0) return; - _fps = fps; + _fps = fps; _prefererredNanosecondsPerFrame = (long)(1.0 / _fps * NANOSECONDS_PER_SECOND); } Application::LanguageType Application::getCurrentLanguage() const { LanguageType ret = LanguageType::ENGLISH; - LCID localeID = GetUserDefaultLCID(); + LCID localeID = GetUserDefaultLCID(); unsigned short primaryLanguageID = localeID & 0xFF; switch (primaryLanguageID) { @@ -158,9 +159,9 @@ Application::LanguageType Application::getCurrentLanguage() const { } std::string Application::getCurrentLanguageCode() const { - LANGID lid = GetUserDefaultUILanguage(); + LANGID lid = GetUserDefaultUILanguage(); const LCID locale_id = MAKELCID(lid, SORT_DEFAULT); - int length = GetLocaleInfoA(locale_id, LOCALE_SISO639LANGNAME, nullptr, 0); + int length = GetLocaleInfoA(locale_id, LOCALE_SISO639LANGNAME, nullptr, 0); char *tempCode = new char[length]; GetLocaleInfoA(locale_id, LOCALE_SISO639LANGNAME, tempCode, length); @@ -172,15 +173,15 @@ std::string Application::getCurrentLanguageCode() const { bool Application::isDisplayStats() { se::AutoHandleScope hs; - se::Value ret; - char commandBuf[100] = "cc.profiler.isShowingStats();"; + se::Value ret; + char commandBuf[100] = "cc.profiler.isShowingStats();"; se::ScriptEngine::getInstance()->evalString(commandBuf, 100, &ret); return ret.toBoolean(); } void Application::setDisplayStats(bool isShow) { se::AutoHandleScope hs; - char commandBuf[100] = {0}; + char commandBuf[100] = {0}; sprintf(commandBuf, isShow ? "cc.profiler.showStats();" : "cc.profiler.hideStats();"); se::ScriptEngine::getInstance()->evalString(commandBuf); } @@ -194,9 +195,9 @@ Application::Platform Application::getPlatform() const { } bool Application::openURL(const std::string &url) { - WCHAR *temp = new WCHAR[url.size() + 1]; - int wchars_num = MultiByteToWideChar(CP_UTF8, 0, url.c_str(), url.size() + 1, temp, url.size() + 1); - HINSTANCE r = ShellExecuteW(NULL, L"open", temp, NULL, NULL, SW_SHOWNORMAL); + WCHAR * temp = new WCHAR[url.size() + 1]; + int wchars_num = MultiByteToWideChar(CP_UTF8, 0, url.c_str(), url.size() + 1, temp, url.size() + 1); + HINSTANCE r = ShellExecuteW(NULL, L"open", temp, NULL, NULL, SW_SHOWNORMAL); delete[] temp; return (size_t)r > 32; } diff --git a/native/cocos/platform/win32/View-win32.cpp b/native/cocos/platform/win32/View-win32.cpp index d3c2d1cafa..1209c7db80 100644 --- a/native/cocos/platform/win32/View-win32.cpp +++ b/native/cocos/platform/win32/View-win32.cpp @@ -27,6 +27,9 @@ #include "base/Log.h" #include +#include "renderer/GFXDeviceCreator.h" +#include "pipeline/Define.h" + using namespace cc; namespace { @@ -86,14 +89,25 @@ bool View::init() { CC_LOG_ERROR("Window could not be created! SDL_Error: %s\n", SDL_GetError()); return false; } + + gfx::DeviceInfo deviceInfo; + deviceInfo.windowHandle = (uintptr_t)getWindowHandler(); + deviceInfo.width = _width; + deviceInfo.height = _height; + deviceInfo.nativeWidth = _width; + deviceInfo.nativeHeight = _height; + deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; + + gfx::DeviceCreator::createDevice(deviceInfo); + return true; } bool View::pollEvent(bool *quit, bool *resume, bool *pause) { int cnt = SDL_PollEvent(&sdlEvent); if (cnt == 0) return false; - cc::TouchEvent touch; - cc::MouseEvent mouse; + cc::TouchEvent touch; + cc::MouseEvent mouse; cc::KeyboardEvent keyboard; switch (sdlEvent.type) { case SDL_QUIT: { @@ -123,81 +137,81 @@ bool View::pollEvent(bool *quit, bool *resume, bool *pause) { } case SDL_MOUSEBUTTONDOWN: { SDL_MouseButtonEvent &event = sdlEvent.button; - mouse.type = MouseEvent::Type::DOWN; - mouse.x = static_cast(event.x); - mouse.y = static_cast(event.y); - mouse.button = event.button - 1; + mouse.type = MouseEvent::Type::DOWN; + mouse.x = static_cast(event.x); + mouse.y = static_cast(event.y); + mouse.button = event.button - 1; cc::EventDispatcher::dispatchMouseEvent(mouse); break; } case SDL_MOUSEBUTTONUP: { SDL_MouseButtonEvent &event = sdlEvent.button; - mouse.type = MouseEvent::Type::UP; - mouse.x = static_cast(event.x); - mouse.y = static_cast(event.y); - mouse.button = event.button - 1; + mouse.type = MouseEvent::Type::UP; + mouse.x = static_cast(event.x); + mouse.y = static_cast(event.y); + mouse.button = event.button - 1; cc::EventDispatcher::dispatchMouseEvent(mouse); break; } case SDL_MOUSEMOTION: { SDL_MouseMotionEvent &event = sdlEvent.motion; - mouse.type = MouseEvent::Type::MOVE; - mouse.x = static_cast(event.x); - mouse.y = static_cast(event.y); - mouse.button = 0; + mouse.type = MouseEvent::Type::MOVE; + mouse.x = static_cast(event.x); + mouse.y = static_cast(event.y); + mouse.button = 0; cc::EventDispatcher::dispatchMouseEvent(mouse); break; } case SDL_MOUSEWHEEL: { SDL_MouseWheelEvent &event = sdlEvent.wheel; - mouse.type = MouseEvent::Type::WHEEL; - mouse.x = static_cast(event.x); - mouse.y = static_cast(event.y); - mouse.button = 0; //TODO: direction + mouse.type = MouseEvent::Type::WHEEL; + mouse.x = static_cast(event.x); + mouse.y = static_cast(event.y); + mouse.button = 0; //TODO: direction cc::EventDispatcher::dispatchMouseEvent(mouse); break; } case SDL_FINGERUP: { SDL_TouchFingerEvent &event = sdlEvent.tfinger; - touch.type = TouchEvent::Type::ENDED; - touch.touches = {TouchInfo(event.x, event.y, (int)event.fingerId)}; + touch.type = TouchEvent::Type::ENDED; + touch.touches = {TouchInfo(event.x, event.y, (int)event.fingerId)}; cc::EventDispatcher::dispatchTouchEvent(touch); break; } case SDL_FINGERDOWN: { SDL_TouchFingerEvent &event = sdlEvent.tfinger; - touch.type = TouchEvent::Type::BEGAN; - touch.touches = {TouchInfo(event.x, event.y, (int)event.fingerId)}; + touch.type = TouchEvent::Type::BEGAN; + touch.touches = {TouchInfo(event.x, event.y, (int)event.fingerId)}; cc::EventDispatcher::dispatchTouchEvent(touch); break; } case SDL_FINGERMOTION: { SDL_TouchFingerEvent &event = sdlEvent.tfinger; - touch.type = TouchEvent::Type::MOVED; - touch.touches = {TouchInfo(event.x, event.y, (int)event.fingerId)}; + touch.type = TouchEvent::Type::MOVED; + touch.touches = {TouchInfo(event.x, event.y, (int)event.fingerId)}; cc::EventDispatcher::dispatchTouchEvent(touch); break; } case SDL_KEYDOWN: { SDL_KeyboardEvent &event = sdlEvent.key; - auto mode = event.keysym.mod; - keyboard.action = KeyboardEvent::Action::PRESS; - keyboard.key = sdl_keycode_to_cocos_code(event.keysym.sym, mode); - keyboard.altKeyActive = mode & KMOD_ALT; - keyboard.ctrlKeyActive = mode & KMOD_CTRL; - keyboard.shiftKeyActive = mode & KMOD_SHIFT; + auto mode = event.keysym.mod; + keyboard.action = KeyboardEvent::Action::PRESS; + keyboard.key = sdl_keycode_to_cocos_code(event.keysym.sym, mode); + keyboard.altKeyActive = mode & KMOD_ALT; + keyboard.ctrlKeyActive = mode & KMOD_CTRL; + keyboard.shiftKeyActive = mode & KMOD_SHIFT; //CC_LOG_DEBUG("==> key %d -> code %d", event.keysym.sym, keyboard.key); cc::EventDispatcher::dispatchKeyboardEvent(keyboard); break; } case SDL_KEYUP: { SDL_KeyboardEvent &event = sdlEvent.key; - auto mode = event.keysym.mod; - keyboard.action = KeyboardEvent::Action::RELEASE; - keyboard.key = sdl_keycode_to_cocos_code(event.keysym.sym, mode); - keyboard.altKeyActive = mode & KMOD_ALT; - keyboard.ctrlKeyActive = mode & KMOD_CTRL; - keyboard.shiftKeyActive = mode & KMOD_SHIFT; + auto mode = event.keysym.mod; + keyboard.action = KeyboardEvent::Action::RELEASE; + keyboard.key = sdl_keycode_to_cocos_code(event.keysym.sym, mode); + keyboard.altKeyActive = mode & KMOD_ALT; + keyboard.ctrlKeyActive = mode & KMOD_CTRL; + keyboard.shiftKeyActive = mode & KMOD_SHIFT; cc::EventDispatcher::dispatchKeyboardEvent(keyboard); break; } diff --git a/native/cocos/renderer/GFXDeviceCreator.h b/native/cocos/renderer/GFXDeviceCreator.h new file mode 100644 index 0000000000..7a043eb560 --- /dev/null +++ b/native/cocos/renderer/GFXDeviceCreator.h @@ -0,0 +1,106 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "bindings/event/CustomEventTypes.h" +#include "bindings/event/EventDispatcher.h" +#include "gfx-agent/DeviceAgent.h" +#include "gfx-empty/EmptyDevice.h" + +#ifdef CC_USE_VULKAN + #include "gfx-vulkan/GFXVulkan.h" +#endif + +#ifdef CC_USE_METAL + #include "gfx-metal/GFXMTL.h" +#endif + +#ifdef CC_USE_GLES3 + #include "gfx-gles3/GFXGLES3.h" +#endif + +#ifdef CC_USE_GLES2 + #include "gfx-gles2/GFXGLES2.h" +#endif + +namespace cc { +namespace gfx { + +class CC_DLL DeviceCreator final { +public: + static Device *createDevice(const DeviceInfo &info) { + Device *device = nullptr; + +#ifdef CC_USE_VULKAN + if (tryCreate(info, device)) return device; +#endif + +#ifdef CC_USE_METAL + if (tryCreate(info, device)) return device; +#endif + +#ifdef CC_USE_GLES3 + if (tryCreate(info, device)) return device; +#endif + +#ifdef CC_USE_GLES2 + if (tryCreate(info, device)) return device; +#endif + + if (tryCreate(info, device)) return device; + + return nullptr; + } + +private: + template ::value>> + static bool tryCreate(const DeviceInfo &info, Device *&device) { + device = CC_NEW(DeviceCtor); + + device = CC_NEW(gfx::DeviceAgent(device)); + + if (!device->initialize(info)) { + CC_SAFE_DELETE(device); + return false; + } + + EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [device](const CustomEvent &e) -> void { + DeviceCreator::releaseSurface(device, reinterpret_cast(e.args->ptrVal)); + }); + + EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [device](const CustomEvent &e) -> void { + DeviceCreator::acquireSurface(device, reinterpret_cast(e.args->ptrVal)); + }); + + return true; + } + + static void releaseSurface(Device *device, uintptr_t windowHandle) { device->releaseSurface(windowHandle); } + static void acquireSurface(Device *device, uintptr_t windowHandle) { device->acquireSurface(windowHandle); } +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/frame-graph/Resource.h b/native/cocos/renderer/frame-graph/Resource.h index f4d85e565e..f0ee2ea46e 100644 --- a/native/cocos/renderer/frame-graph/Resource.h +++ b/native/cocos/renderer/frame-graph/Resource.h @@ -64,7 +64,7 @@ public: using Descriptor = DescriptorType; using DescriptorHasher = DescriptorHasherType; - Resource() noexcept = default; + Resource() = default; explicit Resource(const Descriptor &desc) noexcept; ~Resource() = default; Resource(const Resource &) = default; diff --git a/native/cocos/renderer/gfx-agent/GFXBufferAgent.cpp b/native/cocos/renderer/gfx-agent/BufferAgent.cpp similarity index 67% rename from native/cocos/renderer/gfx-agent/GFXBufferAgent.cpp rename to native/cocos/renderer/gfx-agent/BufferAgent.cpp index 60c7a54f69..62818dfeac 100644 --- a/native/cocos/renderer/gfx-agent/GFXBufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/BufferAgent.cpp @@ -26,69 +26,62 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXBufferAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXLinearAllocatorPool.h" +#include "BufferAgent.h" +#include "DeviceAgent.h" +#include "LinearAllocatorPool.h" namespace cc { namespace gfx { BufferAgent::~BufferAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), BufferDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool BufferAgent::initialize(const BufferInfo &info) { - _usage = info.usage; - _memUsage = info.memUsage; - _size = info.size; - _flags = info.flags; - _stride = std::max(info.stride, 1u); - _count = _size / _stride; - +void BufferAgent::doInit(const BufferInfo &info) { ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), BufferInit, actor, getActor(), info, info, { actor->initialize(info); }); - - return true; } -bool BufferAgent::initialize(const BufferViewInfo &info) { - _usage = info.buffer->getUsage(); - _memUsage = info.buffer->getMemUsage(); - _flags = info.buffer->getFlags(); - _offset = info.offset; - _size = _stride = info.range; - _count = 1u; - +void BufferAgent::doInit(const BufferViewInfo &info) { BufferViewInfo actorInfo = info; - actorInfo.buffer = ((BufferAgent *)info.buffer)->getActor(); + actorInfo.buffer = ((BufferAgent *)info.buffer)->getActor(); ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), BufferViewInit, actor, getActor(), info, actorInfo, { actor->initialize(info); }); - - return true; } -void BufferAgent::destroy() { +void BufferAgent::doResize(uint size) { + ENQUEUE_MESSAGE_2( + DeviceAgent::getInstance()->getMessageQueue(), + BufferResize, + actor, getActor(), + size, size, + { + actor->resize(size); + }); +} + +void BufferAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), BufferDestroy, actor, getActor(), { @@ -97,11 +90,11 @@ void BufferAgent::destroy() { } void BufferAgent::update(void *buffer, uint size) { - uint8_t *actorBuffer = ((DeviceAgent *)_device)->getMainAllocator()->allocate(size); + uint8_t *actorBuffer = DeviceAgent::getInstance()->getMainAllocator()->allocate(size); memcpy(actorBuffer, buffer, size); ENQUEUE_MESSAGE_3( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), BufferUpdate, actor, getActor(), buffer, actorBuffer, @@ -111,19 +104,5 @@ void BufferAgent::update(void *buffer, uint size) { }); } -void BufferAgent::resize(uint size) { - _size = size; - _count = size / _stride; - - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - BufferResize, - actor, getActor(), - size, size, - { - actor->resize(size); - }); -} - } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-agent/GFXBufferAgent.h b/native/cocos/renderer/gfx-agent/BufferAgent.h similarity index 87% rename from native/cocos/renderer/gfx-agent/GFXBufferAgent.h rename to native/cocos/renderer/gfx-agent/BufferAgent.h index d20071be72..b0286d1ba3 100644 --- a/native/cocos/renderer/gfx-agent/GFXBufferAgent.h +++ b/native/cocos/renderer/gfx-agent/BufferAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXBuffer.h" namespace cc { @@ -34,14 +34,15 @@ namespace gfx { class CC_DLL BufferAgent final : public Agent { public: using Agent::Agent; - BufferAgent(Device *device) = delete; ~BufferAgent() override; - bool initialize(const BufferInfo &info) override; - bool initialize(const BufferViewInfo &info) override; - void destroy() override; - void resize(uint size) override; void update(void *buffer, uint size) override; + +protected: + void doInit(const BufferInfo &info) override; + void doInit(const BufferViewInfo &info) override; + void doResize(uint size) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp similarity index 93% rename from native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp rename to native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp index bbb63e5e28..fc1e6ee7ee 100644 --- a/native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp @@ -27,17 +27,17 @@ #include "base/threading/MessageQueue.h" #include "base/job-system/JobSystem.h" -#include "GFXBufferAgent.h" -#include "GFXCommandBufferAgent.h" -#include "GFXDescriptorSetAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXFramebufferAgent.h" -#include "GFXInputAssemblerAgent.h" -#include "GFXLinearAllocatorPool.h" -#include "GFXPipelineStateAgent.h" -#include "GFXQueueAgent.h" -#include "GFXRenderPassAgent.h" -#include "GFXTextureAgent.h" +#include "BufferAgent.h" +#include "CommandBufferAgent.h" +#include "DescriptorSetAgent.h" +#include "DeviceAgent.h" +#include "FramebufferAgent.h" +#include "InputAssemblerAgent.h" +#include "LinearAllocatorPool.h" +#include "PipelineStateAgent.h" +#include "QueueAgent.h" +#include "RenderPassAgent.h" +#include "TextureAgent.h" namespace cc { namespace gfx { @@ -66,10 +66,10 @@ void CommandBufferAgent::flushCommands(uint count, CommandBufferAgent *const *cm CommandBufferAgent::~CommandBufferAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferDestruct, + DeviceAgent::getInstance()->getMessageQueue(), CommandBufferDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } @@ -79,7 +79,7 @@ void CommandBufferAgent::initMessageQueue() { for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { _allocatorPools[i] = CC_NEW(LinearAllocatorPool); } - DeviceAgent *device = (DeviceAgent *)_device; + DeviceAgent *device = DeviceAgent::getInstance(); device->_cmdBuffRefs.insert(this); _messageQueue = CC_NEW(MessageQueue); @@ -87,10 +87,10 @@ void CommandBufferAgent::initMessageQueue() { } void CommandBufferAgent::destroyMessageQueue() { - ((DeviceAgent *)_device)->getMessageQueue()->kickAndWait(); + DeviceAgent::getInstance()->getMessageQueue()->kickAndWait(); CC_SAFE_DELETE(_messageQueue); - ((DeviceAgent *)_device)->_cmdBuffRefs.erase(this); + DeviceAgent::getInstance()->_cmdBuffRefs.erase(this); for (LinearAllocatorPool *pool : _allocatorPools) { CC_SAFE_DELETE(pool); } @@ -98,34 +98,29 @@ void CommandBufferAgent::destroyMessageQueue() { } LinearAllocatorPool *CommandBufferAgent::getAllocator() { - return _allocatorPools[((DeviceAgent *)_device)->_currentIndex]; + return _allocatorPools[DeviceAgent::getInstance()->_currentIndex]; } -bool CommandBufferAgent::initialize(const CommandBufferInfo &info) { - _type = info.type; - _queue = info.queue; - +void CommandBufferAgent::doInit(const CommandBufferInfo &info) { initMessageQueue(); CommandBufferInfo actorInfo = info; actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferInit, + DeviceAgent::getInstance()->getMessageQueue(), CommandBufferInit, actor, getActor(), info, actorInfo, { actor->initialize(info); }); - - return true; } -void CommandBufferAgent::destroy() { +void CommandBufferAgent::doDestroy() { destroyMessageQueue(); ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), CommandBufferDestroy, + DeviceAgent::getInstance()->getMessageQueue(), CommandBufferDestroy, actor, getActor(), { actor->destroy(); diff --git a/native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.h b/native/cocos/renderer/gfx-agent/CommandBufferAgent.h similarity index 96% rename from native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.h rename to native/cocos/renderer/gfx-agent/CommandBufferAgent.h index 2b993839fd..1613a14c6e 100644 --- a/native/cocos/renderer/gfx-agent/GFXCommandBufferAgent.h +++ b/native/cocos/renderer/gfx-agent/CommandBufferAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXCommandBuffer.h" namespace cc { @@ -39,13 +39,10 @@ class LinearAllocatorPool; class CC_DLL CommandBufferAgent final : public Agent { public: using Agent::Agent; - CommandBufferAgent(Device *device) = delete; ~CommandBufferAgent() override; static void flushCommands(uint count, CommandBufferAgent *const *cmdBuffs, bool multiThreaded); - bool initialize(const CommandBufferInfo &info) override; - void destroy() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; @@ -76,9 +73,12 @@ public: CC_INLINE MessageQueue *getMessageQueue() { return _messageQueue; } LinearAllocatorPool *getAllocator(); -private: +protected: friend class DeviceAgent; + void doInit(const CommandBufferInfo &info) override; + void doDestroy() override; + void initMessageQueue(); void destroyMessageQueue(); MessageQueue *_messageQueue = nullptr; diff --git a/native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp b/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp similarity index 76% rename from native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp rename to native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp index 7b9b6ad132..3918326ada 100644 --- a/native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp +++ b/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp @@ -26,56 +26,43 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXBufferAgent.h" -#include "GFXDescriptorSetAgent.h" -#include "GFXDescriptorSetLayoutAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXSamplerAgent.h" -#include "GFXTextureAgent.h" +#include "BufferAgent.h" +#include "DescriptorSetAgent.h" +#include "DescriptorSetLayoutAgent.h" +#include "DeviceAgent.h" +#include "SamplerAgent.h" +#include "TextureAgent.h" namespace cc { namespace gfx { DescriptorSetAgent::~DescriptorSetAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), DescriptorSetDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool DescriptorSetAgent::initialize(const DescriptorSetInfo &info) { - _layout = info.layout; - uint descriptorCount = _layout->getDescriptorCount(); - _buffers.resize(descriptorCount); - _textures.resize(descriptorCount); - _samplers.resize(descriptorCount); - +void DescriptorSetAgent::doInit(const DescriptorSetInfo &info) { DescriptorSetInfo actorInfo; actorInfo.layout = ((DescriptorSetLayoutAgent *)info.layout)->getActor(); ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), DescriptorSetInit, actor, getActor(), info, actorInfo, { actor->initialize(info); }); - - return true; } -void DescriptorSetAgent::destroy() { - // do remember to clear these or else it might not be properly updated when reused - _buffers.clear(); - _textures.clear(); - _samplers.clear(); - +void DescriptorSetAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), DescriptorSetDestroy, actor, getActor(), { @@ -85,7 +72,7 @@ void DescriptorSetAgent::destroy() { void DescriptorSetAgent::update() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), DescriptorSetUpdate, actor, getActor(), { @@ -97,7 +84,7 @@ void DescriptorSetAgent::bindBuffer(uint binding, Buffer *buffer, uint index) { DescriptorSet::bindBuffer(binding, buffer, index); ENQUEUE_MESSAGE_4( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), DescriptorSetBindBuffer, actor, getActor(), binding, binding, @@ -112,7 +99,7 @@ void DescriptorSetAgent::bindTexture(uint binding, Texture *texture, uint index) DescriptorSet::bindTexture(binding, texture, index); ENQUEUE_MESSAGE_4( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), DescriptorSetBindTexture, actor, getActor(), binding, binding, @@ -127,7 +114,7 @@ void DescriptorSetAgent::bindSampler(uint binding, Sampler *sampler, uint index) DescriptorSet::bindSampler(binding, sampler, index); ENQUEUE_MESSAGE_4( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), DescriptorSetBindSampler, actor, getActor(), binding, binding, diff --git a/native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h b/native/cocos/renderer/gfx-agent/DescriptorSetAgent.h similarity index 92% rename from native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h rename to native/cocos/renderer/gfx-agent/DescriptorSetAgent.h index 3fd75cc7c2..35e89019db 100644 --- a/native/cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h +++ b/native/cocos/renderer/gfx-agent/DescriptorSetAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXDescriptorSet.h" namespace cc { @@ -34,16 +34,17 @@ namespace gfx { class CC_DLL DescriptorSetAgent final : public Agent { public: using Agent::Agent; - DescriptorSetAgent(Device *device) = delete; ~DescriptorSetAgent() override; - bool initialize(const DescriptorSetInfo &info) override; - void destroy() override; void update() override; void bindBuffer(uint binding, Buffer *buffer, uint index) override; void bindTexture(uint binding, Texture *texture, uint index) override; void bindSampler(uint binding, Sampler *sampler, uint index) override; + +protected: + void doInit(const DescriptorSetInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp b/native/cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp new file mode 100644 index 0000000000..4811a5bc8e --- /dev/null +++ b/native/cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp @@ -0,0 +1,67 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DeviceAgent.h" +#include "DescriptorSetLayoutAgent.h" + +namespace cc { +namespace gfx { + +DescriptorSetLayoutAgent::~DescriptorSetLayoutAgent() { + ENQUEUE_MESSAGE_1( + DeviceAgent::getInstance()->getMessageQueue(), + DescriptorSetLayoutDestruct, + actor, _actor, + { + CC_SAFE_DELETE(actor); + }); +} + +void DescriptorSetLayoutAgent::doInit(const DescriptorSetLayoutInfo &info) { + ENQUEUE_MESSAGE_2( + DeviceAgent::getInstance()->getMessageQueue(), + DescriptorSetLayoutInit, + actor, getActor(), + info, info, + { + actor->initialize(info); + }); +} + +void DescriptorSetLayoutAgent::doDestroy() { + ENQUEUE_MESSAGE_1( + DeviceAgent::getInstance()->getMessageQueue(), + DescriptorSetLayoutDestroy, + actor, getActor(), + { + actor->destroy(); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h b/native/cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h similarity index 90% rename from native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h rename to native/cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h index bfc9cbdc0c..417b585df0 100644 --- a/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h +++ b/native/cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXDescriptorSetLayout.h" namespace cc { @@ -34,11 +34,11 @@ namespace gfx { class CC_DLL DescriptorSetLayoutAgent final : public Agent { public: using Agent::Agent; - DescriptorSetLayoutAgent(Device *device) = delete; ~DescriptorSetLayoutAgent() override; - bool initialize(const DescriptorSetLayoutInfo &info) override; - void destroy() override; +protected: + void doInit(const DescriptorSetLayoutInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp b/native/cocos/renderer/gfx-agent/DeviceAgent.cpp similarity index 72% rename from native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp rename to native/cocos/renderer/gfx-agent/DeviceAgent.cpp index 7e13e1d71b..647201f583 100644 --- a/native/cocos/renderer/gfx-agent/GFXDeviceAgent.cpp +++ b/native/cocos/renderer/gfx-agent/DeviceAgent.cpp @@ -26,44 +26,41 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXBufferAgent.h" -#include "GFXCommandBufferAgent.h" -#include "GFXDescriptorSetAgent.h" -#include "GFXDescriptorSetLayoutAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXFramebufferAgent.h" -#include "GFXInputAssemblerAgent.h" -#include "GFXLinearAllocatorPool.h" -#include "GFXPipelineLayoutAgent.h" -#include "GFXPipelineStateAgent.h" -#include "GFXQueueAgent.h" -#include "GFXRenderPassAgent.h" -#include "GFXSamplerAgent.h" -#include "GFXShaderAgent.h" -#include "GFXTextureAgent.h" +#include "BufferAgent.h" +#include "CommandBufferAgent.h" +#include "DescriptorSetAgent.h" +#include "DescriptorSetLayoutAgent.h" +#include "DeviceAgent.h" +#include "FramebufferAgent.h" +#include "InputAssemblerAgent.h" +#include "LinearAllocatorPool.h" +#include "PipelineLayoutAgent.h" +#include "PipelineStateAgent.h" +#include "QueueAgent.h" +#include "RenderPassAgent.h" +#include "SamplerAgent.h" +#include "ShaderAgent.h" +#include "TextureAgent.h" namespace cc { namespace gfx { -DeviceAgent::~DeviceAgent() { - CC_SAFE_DELETE(_actor); +DeviceAgent *DeviceAgent::_instance = nullptr; + +DeviceAgent *DeviceAgent::getInstance() { + return DeviceAgent::_instance; } -bool DeviceAgent::initialize(const DeviceInfo &info) { - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; - _nativeHeight = info.nativeHeight; - _windowHandle = info.windowHandle; +DeviceAgent::DeviceAgent(Device *device) : Agent(device) { + DeviceAgent::_instance = this; +} - _bindingMappingInfo = info.bindingMappingInfo; - if (_bindingMappingInfo.bufferOffsets.empty()) { - _bindingMappingInfo.bufferOffsets.push_back(0); - } - if (_bindingMappingInfo.samplerOffsets.empty()) { - _bindingMappingInfo.samplerOffsets.push_back(0); - } +DeviceAgent::~DeviceAgent() { + CC_SAFE_DELETE(_actor); + DeviceAgent::_instance = nullptr; +} +bool DeviceAgent::doInit(const DeviceInfo &info) { if (!_actor->initialize(info)) { return false; } @@ -71,8 +68,8 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { _context = _actor->getContext(); _API = _actor->getGfxAPI(); _deviceName = _actor->getDeviceName(); - _queue = CC_NEW(QueueAgent(_actor->getQueue(), this)); - _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer(), this)); + _queue = CC_NEW(QueueAgent(_actor->getQueue())); + _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer())); ((CommandBufferAgent *)_cmdBuff)->_queue = _queue; _renderer = _actor->getRenderer(); _vendor = _actor->getVendor(); @@ -92,7 +89,7 @@ bool DeviceAgent::initialize(const DeviceInfo &info) { return true; } -void DeviceAgent::destroy() { +void DeviceAgent::doDestroy() { ENQUEUE_MESSAGE_1( getMessageQueue(), DeviceDestroy, actor, getActor(), @@ -122,9 +119,6 @@ void DeviceAgent::destroy() { } void DeviceAgent::resize(uint width, uint height) { - _width = _nativeWidth = width; - _height = _nativeHeight = height; - ENQUEUE_MESSAGE_3( getMessageQueue(), DeviceResize, actor, getActor(), @@ -174,7 +168,7 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { _actor->bindRenderContext(false); _mainEncoder->runConsumerThread(); ENQUEUE_MESSAGE_1( - _mainEncoder, DeviceMakeCurrent, + _mainEncoder, DeviceMakeCurrentTrue, actor, _actor, { actor->bindDeviceContext(true); @@ -185,7 +179,7 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { } } else { ENQUEUE_MESSAGE_1( - _mainEncoder, DeviceMakeCurrent, + _mainEncoder, DeviceMakeCurrentFalse, actor, _actor, { actor->bindDeviceContext(false); @@ -200,81 +194,69 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { } } -CommandBuffer *DeviceAgent::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - CommandBuffer *actor = _actor->doCreateCommandBuffer(info, true); - return CC_NEW(CommandBufferAgent(actor, this)); +CommandBuffer *DeviceAgent::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + CommandBuffer *actor = _actor->createCommandBuffer(info, true); + return CC_NEW(CommandBufferAgent(actor)); } Queue *DeviceAgent::createQueue() { - Queue * actor = _actor->createQueue(); - QueueAgent *agent = CC_NEW(QueueAgent(actor, this)); - return agent; + Queue *actor = _actor->createQueue(); + return CC_NEW(QueueAgent(actor)); } Buffer *DeviceAgent::createBuffer() { - Buffer * actor = _actor->createBuffer(); - BufferAgent *agent = CC_NEW(BufferAgent(actor, this)); - return agent; + Buffer *actor = _actor->createBuffer(); + return CC_NEW(BufferAgent(actor)); } Texture *DeviceAgent::createTexture() { - Texture * actor = _actor->createTexture(); - TextureAgent *agent = CC_NEW(TextureAgent(actor, this)); - return agent; + Texture *actor = _actor->createTexture(); + return CC_NEW(TextureAgent(actor)); } Sampler *DeviceAgent::createSampler() { - Sampler * actor = _actor->createSampler(); - SamplerAgent *agent = CC_NEW(SamplerAgent(actor, this)); - return agent; + Sampler *actor = _actor->createSampler(); + return CC_NEW(SamplerAgent(actor)); } Shader *DeviceAgent::createShader() { - Shader * actor = _actor->createShader(); - ShaderAgent *agent = CC_NEW(ShaderAgent(actor, this)); - return agent; + Shader *actor = _actor->createShader(); + return CC_NEW(ShaderAgent(actor)); } InputAssembler *DeviceAgent::createInputAssembler() { - InputAssembler * actor = _actor->createInputAssembler(); - InputAssemblerAgent *agent = CC_NEW(InputAssemblerAgent(actor, this)); - return agent; + InputAssembler *actor = _actor->createInputAssembler(); + return CC_NEW(InputAssemblerAgent(actor)); } RenderPass *DeviceAgent::createRenderPass() { - RenderPass * actor = _actor->createRenderPass(); - RenderPassAgent *agent = CC_NEW(RenderPassAgent(actor, this)); - return agent; + RenderPass *actor = _actor->createRenderPass(); + return CC_NEW(RenderPassAgent(actor)); } Framebuffer *DeviceAgent::createFramebuffer() { - Framebuffer * actor = _actor->createFramebuffer(); - FramebufferAgent *agent = CC_NEW(FramebufferAgent(actor, this)); - return agent; + Framebuffer *actor = _actor->createFramebuffer(); + return CC_NEW(FramebufferAgent(actor)); } DescriptorSet *DeviceAgent::createDescriptorSet() { - DescriptorSet * actor = _actor->createDescriptorSet(); - DescriptorSetAgent *agent = CC_NEW(DescriptorSetAgent(actor, this)); - return agent; + DescriptorSet *actor = _actor->createDescriptorSet(); + return CC_NEW(DescriptorSetAgent(actor)); } DescriptorSetLayout *DeviceAgent::createDescriptorSetLayout() { - DescriptorSetLayout * actor = _actor->createDescriptorSetLayout(); - DescriptorSetLayoutAgent *agent = CC_NEW(DescriptorSetLayoutAgent(actor, this)); - return agent; + DescriptorSetLayout *actor = _actor->createDescriptorSetLayout(); + return CC_NEW(DescriptorSetLayoutAgent(actor)); } PipelineLayout *DeviceAgent::createPipelineLayout() { - PipelineLayout * actor = _actor->createPipelineLayout(); - PipelineLayoutAgent *agent = CC_NEW(PipelineLayoutAgent(actor, this)); - return agent; + PipelineLayout *actor = _actor->createPipelineLayout(); + return CC_NEW(PipelineLayoutAgent(actor)); } PipelineState *DeviceAgent::createPipelineState() { - PipelineState * actor = _actor->createPipelineState(); - PipelineStateAgent *agent = CC_NEW(PipelineStateAgent(actor, this)); - return agent; + PipelineState *actor = _actor->createPipelineState(); + return CC_NEW(PipelineStateAgent(actor)); } GlobalBarrier *DeviceAgent::createGlobalBarrier() { diff --git a/native/cocos/renderer/gfx-agent/GFXDeviceAgent.h b/native/cocos/renderer/gfx-agent/DeviceAgent.h similarity index 81% rename from native/cocos/renderer/gfx-agent/GFXDeviceAgent.h rename to native/cocos/renderer/gfx-agent/DeviceAgent.h index a8d0936651..5c534641fa 100644 --- a/native/cocos/renderer/gfx-agent/GFXDeviceAgent.h +++ b/native/cocos/renderer/gfx-agent/DeviceAgent.h @@ -25,9 +25,9 @@ #pragma once -#include "gfx-base/GFXDevice.h" -#include "GFXAgent.h" +#include "base/Agent.h" #include "base/threading/Semaphore.h" +#include "gfx-base/GFXDevice.h" namespace cc { @@ -42,18 +42,32 @@ constexpr uint MAX_CPU_FRAME_AHEAD = 1u; class CC_DLL DeviceAgent final : public Agent { public: - using Agent::Agent; - DeviceAgent(Device *const actor) noexcept - : Agent(actor, nullptr) {} + static DeviceAgent *getInstance(); + ~DeviceAgent() override; - bool initialize(const DeviceInfo &info) override; - void destroy() override; + using Device::copyBuffersToTexture; + using Device::createBuffer; + using Device::createCommandBuffer; + using Device::createDescriptorSet; + using Device::createDescriptorSetLayout; + using Device::createFramebuffer; + using Device::createGlobalBarrier; + using Device::createInputAssembler; + using Device::createPipelineLayout; + using Device::createPipelineState; + using Device::createQueue; + using Device::createRenderPass; + using Device::createSampler; + using Device::createShader; + using Device::createTexture; + using Device::createTextureBarrier; + void resize(uint width, uint height) override; void acquire() override; void present() override; - CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + CommandBuffer * createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; Queue * createQueue() override; Buffer * createBuffer() override; Texture * createTexture() override; @@ -86,8 +100,16 @@ public: LinearAllocatorPool *getMainAllocator() const { return _allocatorPools[_currentIndex]; } protected: + static DeviceAgent *_instance; + + friend class DeviceCreator; friend class CommandBufferAgent; + DeviceAgent(Device *device); + + bool doInit(const DeviceInfo &info) override; + void doDestroy() override; + bool _multithreaded{false}; MessageQueue *_mainEncoder{nullptr}; diff --git a/native/cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp b/native/cocos/renderer/gfx-agent/FramebufferAgent.cpp similarity index 81% rename from native/cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp rename to native/cocos/renderer/gfx-agent/FramebufferAgent.cpp index fbb1ac454a..240d40ccca 100644 --- a/native/cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/FramebufferAgent.cpp @@ -26,29 +26,25 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXDeviceAgent.h" -#include "GFXFramebufferAgent.h" -#include "GFXRenderPassAgent.h" -#include "GFXTextureAgent.h" +#include "DeviceAgent.h" +#include "FramebufferAgent.h" +#include "RenderPassAgent.h" +#include "TextureAgent.h" namespace cc { namespace gfx { FramebufferAgent::~FramebufferAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), FramebufferDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool FramebufferAgent::initialize(const FramebufferInfo &info) { - _renderPass = info.renderPass; - _colorTextures = info.colorTextures; - _depthStencilTexture = info.depthStencilTexture; - +void FramebufferAgent::doInit(const FramebufferInfo &info) { FramebufferInfo actorInfo = info; for (uint i = 0u; i < info.colorTextures.size(); ++i) { if (info.colorTextures[i]) { @@ -61,20 +57,18 @@ bool FramebufferAgent::initialize(const FramebufferInfo &info) { actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), FramebufferInit, actor, getActor(), info, actorInfo, { actor->initialize(info); }); - - return true; } -void FramebufferAgent::destroy() { +void FramebufferAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), FramebufferDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/gfx-agent/GFXFramebufferAgent.h b/native/cocos/renderer/gfx-agent/FramebufferAgent.h similarity index 91% rename from native/cocos/renderer/gfx-agent/GFXFramebufferAgent.h rename to native/cocos/renderer/gfx-agent/FramebufferAgent.h index fba9bc69a7..e10fe7db9b 100644 --- a/native/cocos/renderer/gfx-agent/GFXFramebufferAgent.h +++ b/native/cocos/renderer/gfx-agent/FramebufferAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXFramebuffer.h" namespace cc { @@ -34,11 +34,11 @@ namespace gfx { class CC_DLL FramebufferAgent final : public Agent { public: using Agent::Agent; - FramebufferAgent(Device *device) = delete; ~FramebufferAgent() override; - bool initialize(const FramebufferInfo &info) override; - void destroy() override; +protected: + void doInit(const FramebufferInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp b/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp deleted file mode 100644 index d965919fd2..0000000000 --- a/native/cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** - Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "base/CoreStd.h" -#include "base/threading/MessageQueue.h" - -#include "GFXDeviceAgent.h" -#include "GFXDescriptorSetLayoutAgent.h" - -namespace cc { -namespace gfx { - -DescriptorSetLayoutAgent::~DescriptorSetLayoutAgent() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - DescriptorSetLayoutDestruct, - actor, _actor, - { - CC_DELETE(actor); - }); -} - -bool DescriptorSetLayoutAgent::initialize(const DescriptorSetLayoutInfo &info) { - - _bindings = info.bindings; - uint bindingCount = _bindings.size(); - _descriptorCount = 0u; - - if (bindingCount) { - uint maxBinding = 0u; - vector flattenedIndices(bindingCount); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - flattenedIndices[i] = _descriptorCount; - _descriptorCount += binding.count; - if (binding.binding > maxBinding) maxBinding = binding.binding; - } - - _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - _bindingIndices[binding.binding] = i; - _descriptorIndices[binding.binding] = flattenedIndices[i]; - } - } - - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - DescriptorSetLayoutInit, - actor, getActor(), - info, info, - { - actor->initialize(info); - }); - - return true; -} - -void DescriptorSetLayoutAgent::destroy() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - DescriptorSetLayoutDestroy, - actor, getActor(), - { - actor->destroy(); - }); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-agent/GFXTextureAgent.cpp b/native/cocos/renderer/gfx-agent/GFXTextureAgent.cpp deleted file mode 100644 index 112be7f0d5..0000000000 --- a/native/cocos/renderer/gfx-agent/GFXTextureAgent.cpp +++ /dev/null @@ -1,126 +0,0 @@ -/**************************************************************************** - Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "base/CoreStd.h" -#include "base/threading/MessageQueue.h" - -#include "GFXDeviceAgent.h" -#include "GFXTextureAgent.h" - -namespace cc { -namespace gfx { - -TextureAgent::~TextureAgent() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - TextureDestruct, - actor, _actor, - { - CC_DELETE(actor); - }); -} - -bool TextureAgent::initialize(const TextureInfo &info) { - _type = info.type; - _usage = info.usage; - _format = info.format; - _width = info.width; - _height = info.height; - _depth = info.depth; - _layerCount = info.layerCount; - _levelCount = info.levelCount; - _samples = info.samples; - _flags = info.flags; - _size = FormatSize(_format, _width, _height, _depth); - - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - TextureInit, - actor, getActor(), - info, info, - { - actor->initialize(info); - }); - - return true; -} - -bool TextureAgent::initialize(const TextureViewInfo &info) { - _isTextureView = true; - - if (!info.texture) { - return false; - } - - _type = info.texture->getType(); - _format = info.format; - _baseLayer = info.baseLayer; - _layerCount = info.layerCount; - _baseLevel = info.baseLevel; - _levelCount = info.levelCount; - _usage = info.texture->getUsage(); - _width = info.texture->getWidth(); - _height = info.texture->getHeight(); - _depth = info.texture->getDepth(); - _samples = info.texture->getSamples(); - _flags = info.texture->getFlags(); - _size = FormatSize(_format, _width, _height, _depth); - - ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), - TextureViewInit, - actor, getActor(), - info, info, - { - actor->initialize(info); - }); - - return true; -} - -void TextureAgent::destroy() { - ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), - TextureDestroy, - actor, getActor(), - { - actor->destroy(); - }); -} - -void TextureAgent::resize(uint width, uint height) { - ENQUEUE_MESSAGE_3( - ((DeviceAgent *)_device)->getMessageQueue(), - TextureResize, - actor, getActor(), - width, width, - height, height, - { - actor->resize(width, height); - }); -} - -} // namespace gfx -} // namespace cc diff --git a/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp b/native/cocos/renderer/gfx-agent/InputAssemblerAgent.cpp similarity index 73% rename from native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp rename to native/cocos/renderer/gfx-agent/InputAssemblerAgent.cpp index b091bffc87..1d1a613030 100644 --- a/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp +++ b/native/cocos/renderer/gfx-agent/InputAssemblerAgent.cpp @@ -26,39 +26,24 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXBufferAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXInputAssemblerAgent.h" +#include "BufferAgent.h" +#include "DeviceAgent.h" +#include "InputAssemblerAgent.h" namespace cc { namespace gfx { InputAssemblerAgent::~InputAssemblerAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool InputAssemblerAgent::initialize(const InputAssemblerInfo &info) { - _attributes = info.attributes; - _vertexBuffers = info.vertexBuffers; - _indexBuffer = info.indexBuffer; - _indirectBuffer = info.indirectBuffer; - - if (_indexBuffer) { - _indexCount = _indexBuffer->getCount(); - _firstIndex = 0; - } else if (_vertexBuffers.size()) { - _vertexCount = _vertexBuffers[0]->getCount(); - _firstVertex = 0; - _vertexOffset = 0; - } - _attributesHash = computeAttributesHash(); - +void InputAssemblerAgent::doInit(const InputAssemblerInfo &info) { InputAssemblerInfo actorInfo = info; for (uint i = 0u; i < actorInfo.vertexBuffers.size(); ++i) { actorInfo.vertexBuffers[i] = ((BufferAgent *)actorInfo.vertexBuffers[i])->getActor(); @@ -71,20 +56,18 @@ bool InputAssemblerAgent::initialize(const InputAssemblerInfo &info) { } ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerInit, actor, getActor(), info, actorInfo, { actor->initialize(info); }); - - return true; } -void InputAssemblerAgent::destroy() { +void InputAssemblerAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), { @@ -95,7 +78,7 @@ void InputAssemblerAgent::destroy() { void InputAssemblerAgent::setVertexCount(uint count) { _vertexCount = count; ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), count, count, { @@ -106,7 +89,7 @@ void InputAssemblerAgent::setVertexCount(uint count) { void InputAssemblerAgent::setFirstVertex(uint first) { _firstVertex = first; ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), first, first, { @@ -117,7 +100,7 @@ void InputAssemblerAgent::setFirstVertex(uint first) { void InputAssemblerAgent::setIndexCount(uint count) { _indexCount = count; ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), count, count, { @@ -128,7 +111,7 @@ void InputAssemblerAgent::setIndexCount(uint count) { void InputAssemblerAgent::setFirstIndex(uint first) { _firstIndex = first; ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), first, first, { @@ -139,7 +122,7 @@ void InputAssemblerAgent::setFirstIndex(uint first) { void InputAssemblerAgent::setVertexOffset(uint offset) { _vertexOffset = offset; ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), offset, offset, { @@ -150,7 +133,7 @@ void InputAssemblerAgent::setVertexOffset(uint offset) { void InputAssemblerAgent::setInstanceCount(uint count) { _instanceCount = count; ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), count, count, { @@ -161,7 +144,7 @@ void InputAssemblerAgent::setInstanceCount(uint count) { void InputAssemblerAgent::setFirstInstance(uint first) { _firstInstance = first; ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), InputAssemblerDestroy, + DeviceAgent::getInstance()->getMessageQueue(), InputAssemblerDestroy, actor, getActor(), first, first, { diff --git a/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h b/native/cocos/renderer/gfx-agent/InputAssemblerAgent.h similarity index 92% rename from native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h rename to native/cocos/renderer/gfx-agent/InputAssemblerAgent.h index 0742c3861b..632b95aa02 100644 --- a/native/cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h +++ b/native/cocos/renderer/gfx-agent/InputAssemblerAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXInputAssembler.h" namespace cc { @@ -34,12 +34,8 @@ namespace gfx { class CC_DLL InputAssemblerAgent final : public Agent { public: using Agent::Agent; - InputAssemblerAgent(Device *device) = delete; ~InputAssemblerAgent() override; - bool initialize(const InputAssemblerInfo &info) override; - void destroy() override; - void setVertexCount(uint count) override; void setFirstVertex(uint first) override; void setIndexCount(uint count) override; @@ -47,6 +43,10 @@ public: void setVertexOffset(uint offset) override; void setInstanceCount(uint count) override; void setFirstInstance(uint first) override; + +protected: + void doInit(const InputAssemblerInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h b/native/cocos/renderer/gfx-agent/LinearAllocatorPool.h similarity index 100% rename from native/cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h rename to native/cocos/renderer/gfx-agent/LinearAllocatorPool.h diff --git a/native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp b/native/cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp similarity index 82% rename from native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp rename to native/cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp index 1b6d856c97..a89ca40315 100644 --- a/native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp +++ b/native/cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp @@ -26,27 +26,24 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXDescriptorSetLayoutAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXPipelineLayoutAgent.h" +#include "DescriptorSetLayoutAgent.h" +#include "DeviceAgent.h" +#include "PipelineLayoutAgent.h" namespace cc { namespace gfx { PipelineLayoutAgent::~PipelineLayoutAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), PipelineLayoutDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool PipelineLayoutAgent::initialize(const PipelineLayoutInfo &info) { - - _setLayouts = info.setLayouts; - +void PipelineLayoutAgent::doInit(const PipelineLayoutInfo &info) { PipelineLayoutInfo actorInfo; actorInfo.setLayouts.resize(info.setLayouts.size()); for (uint i = 0u; i < info.setLayouts.size(); i++) { @@ -54,20 +51,18 @@ bool PipelineLayoutAgent::initialize(const PipelineLayoutInfo &info) { } ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), PipelineLayoutInit, actor, getActor(), info, actorInfo, { actor->initialize(info); }); - - return true; } -void PipelineLayoutAgent::destroy() { +void PipelineLayoutAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), PipelineLayoutDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h b/native/cocos/renderer/gfx-agent/PipelineLayoutAgent.h similarity index 91% rename from native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h rename to native/cocos/renderer/gfx-agent/PipelineLayoutAgent.h index ad17b7cfe4..488d4a13bc 100644 --- a/native/cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h +++ b/native/cocos/renderer/gfx-agent/PipelineLayoutAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXPipelineLayout.h" namespace cc { @@ -34,11 +34,11 @@ namespace gfx { class CC_DLL PipelineLayoutAgent final : public Agent { public: using Agent::Agent; - PipelineLayoutAgent(Device *device) = delete; ~PipelineLayoutAgent() override; - bool initialize(const PipelineLayoutInfo &info) override; - void destroy() override; +protected: + void doInit(const PipelineLayoutInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp b/native/cocos/renderer/gfx-agent/PipelineStateAgent.cpp similarity index 72% rename from native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp rename to native/cocos/renderer/gfx-agent/PipelineStateAgent.cpp index 7536ea8ef8..e51f58f28a 100644 --- a/native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp +++ b/native/cocos/renderer/gfx-agent/PipelineStateAgent.cpp @@ -26,57 +26,44 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXDeviceAgent.h" -#include "GFXPipelineLayoutAgent.h" -#include "GFXPipelineStateAgent.h" -#include "GFXRenderPassAgent.h" -#include "GFXShaderAgent.h" +#include "DeviceAgent.h" +#include "PipelineLayoutAgent.h" +#include "PipelineStateAgent.h" +#include "RenderPassAgent.h" +#include "ShaderAgent.h" namespace cc { namespace gfx { PipelineStateAgent::~PipelineStateAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), PipelineStateDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool PipelineStateAgent::initialize(const PipelineStateInfo &info) { - _primitive = info.primitive; - _shader = info.shader; - _inputState = info.inputState; - _rasterizerState = info.rasterizerState; - _depthStencilState = info.depthStencilState; - _bindPoint = info.bindPoint; - _blendState = info.blendState; - _dynamicStates = info.dynamicStates; - _renderPass = info.renderPass; - _pipelineLayout = info.pipelineLayout; - +void PipelineStateAgent::doInit(const PipelineStateInfo &info) { PipelineStateInfo actorInfo = info; actorInfo.shader = ((ShaderAgent *)info.shader)->getActor(); actorInfo.pipelineLayout = ((PipelineLayoutAgent *)info.pipelineLayout)->getActor(); if (info.renderPass) actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), PipelineStateInit, actor, getActor(), info, actorInfo, { actor->initialize(info); }); - - return true; } -void PipelineStateAgent::destroy() { +void PipelineStateAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), PipelineStateDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.h b/native/cocos/renderer/gfx-agent/PipelineStateAgent.h similarity index 91% rename from native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.h rename to native/cocos/renderer/gfx-agent/PipelineStateAgent.h index cab709f257..887867863a 100644 --- a/native/cocos/renderer/gfx-agent/GFXPipelineStateAgent.h +++ b/native/cocos/renderer/gfx-agent/PipelineStateAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXPipelineState.h" namespace cc { @@ -34,11 +34,11 @@ namespace gfx { class CC_DLL PipelineStateAgent final : public Agent { public: using Agent::Agent; - PipelineStateAgent(Device *device) = delete; ~PipelineStateAgent() override; - bool initialize(const PipelineStateInfo &info) override; - void destroy() override; +protected: + void doInit(const PipelineStateInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXQueueAgent.cpp b/native/cocos/renderer/gfx-agent/QueueAgent.cpp similarity index 83% rename from native/cocos/renderer/gfx-agent/GFXQueueAgent.cpp rename to native/cocos/renderer/gfx-agent/QueueAgent.cpp index 5b295b932a..3667b548e1 100644 --- a/native/cocos/renderer/gfx-agent/GFXQueueAgent.cpp +++ b/native/cocos/renderer/gfx-agent/QueueAgent.cpp @@ -27,42 +27,38 @@ #include "base/job-system/JobSystem.h" #include "base/threading/MessageQueue.h" -#include "GFXCommandBufferAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXLinearAllocatorPool.h" -#include "GFXQueueAgent.h" +#include "CommandBufferAgent.h" +#include "DeviceAgent.h" +#include "LinearAllocatorPool.h" +#include "QueueAgent.h" namespace cc { namespace gfx { QueueAgent::~QueueAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), QueueDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool QueueAgent::initialize(const QueueInfo &info) { - _type = info.type; - +void QueueAgent::doInit(const QueueInfo &info) { ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), QueueInit, actor, getActor(), info, info, { actor->initialize(info); }); - - return true; } -void QueueAgent::destroy() { +void QueueAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), QueueDestroy, actor, getActor(), { @@ -73,14 +69,14 @@ void QueueAgent::destroy() { void QueueAgent::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!count) return; - LinearAllocatorPool *allocator = ((DeviceAgent *)_device)->getMainAllocator(); + LinearAllocatorPool *allocator = DeviceAgent::getInstance()->getMainAllocator(); CommandBuffer ** actorCmdBuffs = allocator->allocate(count); for (uint i = 0u; i < count; ++i) { actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); } ENQUEUE_MESSAGE_3( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), QueueSubmit, actor, getActor(), actorCmdBuffs, actorCmdBuffs, diff --git a/native/cocos/renderer/gfx-agent/GFXQueueAgent.h b/native/cocos/renderer/gfx-agent/QueueAgent.h similarity index 91% rename from native/cocos/renderer/gfx-agent/GFXQueueAgent.h rename to native/cocos/renderer/gfx-agent/QueueAgent.h index 7290f1d9c8..f49834663b 100644 --- a/native/cocos/renderer/gfx-agent/GFXQueueAgent.h +++ b/native/cocos/renderer/gfx-agent/QueueAgent.h @@ -26,7 +26,7 @@ #pragma once #include "gfx-base/GFXQueue.h" -#include "GFXAgent.h" +#include "base/Agent.h" namespace cc { namespace gfx { @@ -36,16 +36,15 @@ public: using Agent::Agent; using Queue::submit; - QueueAgent(Device *device) = delete; ~QueueAgent() override; - bool initialize(const QueueInfo &info) override; - void destroy() override; - void submit(CommandBuffer *const *cmdBuffs, uint count) override; -private: +protected: friend class DeviceAgent; + + void doInit(const QueueInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp b/native/cocos/renderer/gfx-agent/RenderPassAgent.cpp similarity index 77% rename from native/cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp rename to native/cocos/renderer/gfx-agent/RenderPassAgent.cpp index b49d7d0f1a..66d07f7251 100644 --- a/native/cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp +++ b/native/cocos/renderer/gfx-agent/RenderPassAgent.cpp @@ -26,44 +26,36 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXDeviceAgent.h" -#include "GFXRenderPassAgent.h" +#include "DeviceAgent.h" +#include "RenderPassAgent.h" namespace cc { namespace gfx { RenderPassAgent::~RenderPassAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), RenderPassDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool RenderPassAgent::initialize(const RenderPassInfo &info) { - - _colorAttachments = info.colorAttachments; - _depthStencilAttachment = info.depthStencilAttachment; - _subpasses = info.subpasses; - _hash = computeHash(); - +void RenderPassAgent::doInit(const RenderPassInfo &info) { ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), RenderPassInit, actor, getActor(), info, info, { actor->initialize(info); }); - - return true; } -void RenderPassAgent::destroy() { +void RenderPassAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), RenderPassDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/gfx-agent/GFXRenderPassAgent.h b/native/cocos/renderer/gfx-agent/RenderPassAgent.h similarity index 91% rename from native/cocos/renderer/gfx-agent/GFXRenderPassAgent.h rename to native/cocos/renderer/gfx-agent/RenderPassAgent.h index e306cefd5c..8519bf6c6e 100644 --- a/native/cocos/renderer/gfx-agent/GFXRenderPassAgent.h +++ b/native/cocos/renderer/gfx-agent/RenderPassAgent.h @@ -26,7 +26,7 @@ #pragma once #include "gfx-base/GFXRenderPass.h" -#include "GFXAgent.h" +#include "base/Agent.h" namespace cc { namespace gfx { @@ -34,11 +34,11 @@ namespace gfx { class CC_DLL RenderPassAgent final : public Agent { public: using Agent::Agent; - RenderPassAgent(Device *device) = delete; ~RenderPassAgent() override; - bool initialize(const RenderPassInfo &info) override; - void destroy() override; +protected: + void doInit(const RenderPassInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXSamplerAgent.cpp b/native/cocos/renderer/gfx-agent/SamplerAgent.cpp similarity index 71% rename from native/cocos/renderer/gfx-agent/GFXSamplerAgent.cpp rename to native/cocos/renderer/gfx-agent/SamplerAgent.cpp index 6ca1d15a86..220d0adbd5 100644 --- a/native/cocos/renderer/gfx-agent/GFXSamplerAgent.cpp +++ b/native/cocos/renderer/gfx-agent/SamplerAgent.cpp @@ -26,51 +26,37 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXDescriptorSetLayoutAgent.h" -#include "GFXDeviceAgent.h" -#include "GFXSamplerAgent.h" +#include "DescriptorSetLayoutAgent.h" +#include "DeviceAgent.h" +#include "SamplerAgent.h" namespace cc { namespace gfx { SamplerAgent::~SamplerAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), SamplerDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool SamplerAgent::initialize(const SamplerInfo &info) { - - _minFilter = info.minFilter; - _magFilter = info.magFilter; - _mipFilter = info.mipFilter; - _addressU = info.addressU; - _addressV = info.addressV; - _addressW = info.addressW; - _maxAnisotropy = info.maxAnisotropy; - _cmpFunc = info.cmpFunc; - _borderColor = info.borderColor; - _mipLODBias = info.mipLODBias; - +void SamplerAgent::doInit(const SamplerInfo &info) { ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), SamplerInit, actor, getActor(), info, info, { actor->initialize(info); }); - - return true; } -void SamplerAgent::destroy() { +void SamplerAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), SamplerDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/gfx-agent/GFXSamplerAgent.h b/native/cocos/renderer/gfx-agent/SamplerAgent.h similarity index 91% rename from native/cocos/renderer/gfx-agent/GFXSamplerAgent.h rename to native/cocos/renderer/gfx-agent/SamplerAgent.h index e630a4c89f..20ee7e71a6 100644 --- a/native/cocos/renderer/gfx-agent/GFXSamplerAgent.h +++ b/native/cocos/renderer/gfx-agent/SamplerAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXSampler.h" namespace cc { @@ -34,11 +34,11 @@ namespace gfx { class CC_DLL SamplerAgent final : public Agent { public: using Agent::Agent; - SamplerAgent(Device *device) = delete; ~SamplerAgent() override; - bool initialize(const SamplerInfo &info) override; - void destroy() override; +protected: + void doInit(const SamplerInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/GFXShaderAgent.cpp b/native/cocos/renderer/gfx-agent/ShaderAgent.cpp similarity index 72% rename from native/cocos/renderer/gfx-agent/GFXShaderAgent.cpp rename to native/cocos/renderer/gfx-agent/ShaderAgent.cpp index e5b1dad4d7..4c31142337 100644 --- a/native/cocos/renderer/gfx-agent/GFXShaderAgent.cpp +++ b/native/cocos/renderer/gfx-agent/ShaderAgent.cpp @@ -26,49 +26,36 @@ #include "base/CoreStd.h" #include "base/threading/MessageQueue.h" -#include "GFXDeviceAgent.h" -#include "GFXShaderAgent.h" +#include "DeviceAgent.h" +#include "ShaderAgent.h" namespace cc { namespace gfx { ShaderAgent::~ShaderAgent() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), ShaderDestruct, actor, _actor, { - CC_DELETE(actor); + CC_SAFE_DELETE(actor); }); } -bool ShaderAgent::initialize(const ShaderInfo &info) { - _name = info.name; - _stages = info.stages; - _attributes = info.attributes; - _blocks = info.blocks; - _buffers = info.buffers; - _samplerTextures = info.samplerTextures; - _samplers = info.samplers; - _textures = info.textures; - _images = info.images; - _subpassInputs = info.subpassInputs; - +void ShaderAgent::doInit(const ShaderInfo &info) { ENQUEUE_MESSAGE_2( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), ShaderInit, actor, getActor(), info, info, { actor->initialize(info); }); - - return true; } -void ShaderAgent::destroy() { +void ShaderAgent::doDestroy() { ENQUEUE_MESSAGE_1( - ((DeviceAgent *)_device)->getMessageQueue(), + DeviceAgent::getInstance()->getMessageQueue(), ShaderDestroy, actor, getActor(), { diff --git a/native/cocos/renderer/gfx-agent/GFXShaderAgent.h b/native/cocos/renderer/gfx-agent/ShaderAgent.h similarity index 91% rename from native/cocos/renderer/gfx-agent/GFXShaderAgent.h rename to native/cocos/renderer/gfx-agent/ShaderAgent.h index 955bf48640..6d228c1006 100644 --- a/native/cocos/renderer/gfx-agent/GFXShaderAgent.h +++ b/native/cocos/renderer/gfx-agent/ShaderAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXShader.h" namespace cc { @@ -34,11 +34,11 @@ namespace gfx { class CC_DLL ShaderAgent final : public Agent { public: using Agent::Agent; - ShaderAgent(Device *device) = delete; ~ShaderAgent() override; - bool initialize(const ShaderInfo &info) override; - void destroy() override; +protected: + void doInit(const ShaderInfo &info) override; + void doDestroy() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-agent/TextureAgent.cpp b/native/cocos/renderer/gfx-agent/TextureAgent.cpp new file mode 100644 index 0000000000..3394db27e8 --- /dev/null +++ b/native/cocos/renderer/gfx-agent/TextureAgent.cpp @@ -0,0 +1,93 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DeviceAgent.h" +#include "TextureAgent.h" + +namespace cc { +namespace gfx { + +TextureAgent::~TextureAgent() { + ENQUEUE_MESSAGE_1( + DeviceAgent::getInstance()->getMessageQueue(), + TextureDestruct, + actor, _actor, + { + CC_SAFE_DELETE(actor); + }); +} + +void TextureAgent::doInit(const TextureInfo &info) { + ENQUEUE_MESSAGE_2( + DeviceAgent::getInstance()->getMessageQueue(), + TextureInit, + actor, getActor(), + info, info, + { + actor->initialize(info); + }); +} + +void TextureAgent::doInit(const TextureViewInfo &info) { + TextureViewInfo actorInfo = info; + actorInfo.texture = ((TextureAgent *)info.texture)->getActor(); + + ENQUEUE_MESSAGE_2( + DeviceAgent::getInstance()->getMessageQueue(), + TextureViewInit, + actor, getActor(), + info, actorInfo, + { + actor->initialize(info); + }); +} + +void TextureAgent::doDestroy() { + ENQUEUE_MESSAGE_1( + DeviceAgent::getInstance()->getMessageQueue(), + TextureDestroy, + actor, getActor(), + { + actor->destroy(); + }); +} + +void TextureAgent::doResize(uint width, uint height) { + ENQUEUE_MESSAGE_3( + DeviceAgent::getInstance()->getMessageQueue(), + TextureResize, + actor, getActor(), + width, width, + height, height, + { + actor->resize(width, height); + }); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-agent/GFXTextureAgent.h b/native/cocos/renderer/gfx-agent/TextureAgent.h similarity index 86% rename from native/cocos/renderer/gfx-agent/GFXTextureAgent.h rename to native/cocos/renderer/gfx-agent/TextureAgent.h index 66aaf69157..eb8728b570 100644 --- a/native/cocos/renderer/gfx-agent/GFXTextureAgent.h +++ b/native/cocos/renderer/gfx-agent/TextureAgent.h @@ -25,7 +25,7 @@ #pragma once -#include "GFXAgent.h" +#include "base/Agent.h" #include "gfx-base/GFXTexture.h" namespace cc { @@ -34,13 +34,13 @@ namespace gfx { class CC_DLL TextureAgent final : public Agent { public: using Agent::Agent; - TextureAgent(Device *device) = delete; ~TextureAgent() override; - bool initialize(const TextureInfo &info) override; - bool initialize(const TextureViewInfo &info) override; - void destroy() override; - void resize(uint width, uint height) override; +protected: + void doInit(const TextureInfo &info) override; + void doInit(const TextureViewInfo &info) override; + void doDestroy() override; + void doResize(uint width, uint height) override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-base/GFXBuffer.cpp b/native/cocos/renderer/gfx-base/GFXBuffer.cpp index 7232a0f169..fb0d60324c 100644 --- a/native/cocos/renderer/gfx-base/GFXBuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXBuffer.cpp @@ -26,14 +26,14 @@ #include "base/CoreStd.h" #include "GFXBuffer.h" +#include "GFXDevice.h" #include "GFXObject.h" namespace cc { namespace gfx { -Buffer::Buffer(Device *device) -: GFXObject(ObjectType::BUFFER), - _device(device) { +Buffer::Buffer() +: GFXObject(ObjectType::BUFFER) { } Buffer::~Buffer() { @@ -48,5 +48,52 @@ uint Buffer::computeHash(const BufferInfo &info) { return seed; } +void Buffer::initialize(const BufferInfo &info) { + _usage = info.usage; + _memUsage = info.memUsage; + _size = info.size; + _flags = info.flags; + _stride = std::max(info.stride, 1u); + _count = _size / _stride; + + Device::getInstance()->getMemoryStatus().bufferSize += _size; + + doInit(info); +} + +void Buffer::initialize(const BufferViewInfo &info) { + _usage = info.buffer->getUsage(); + _memUsage = info.buffer->getMemUsage(); + _flags = info.buffer->getFlags(); + _offset = info.offset; + _size = _stride = info.range; + _count = 1u; + _isBufferView = true; + + doInit(info); +} + +void Buffer::destroy() { + doDestroy(); + + Device::getInstance()->getMemoryStatus().bufferSize -= _size; + + _offset = _size = _stride = _count = 0u; +} + +void Buffer::resize(uint size) { + CCASSERT(!_isBufferView, "Cannot resize buffer views"); + + if (size != _size) { + doResize(size); + Device::getInstance()->getMemoryStatus().bufferSize -= _size; + + _size = size; + _count = size / _stride; + + Device::getInstance()->getMemoryStatus().bufferSize += _size; + } +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXBuffer.h b/native/cocos/renderer/gfx-base/GFXBuffer.h index 0c1539fc4c..1b402cab4e 100644 --- a/native/cocos/renderer/gfx-base/GFXBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXBuffer.h @@ -32,18 +32,18 @@ namespace gfx { class CC_DLL Buffer : public GFXObject { public: - Buffer(Device *device); + Buffer(); virtual ~Buffer(); static uint computeHash(const BufferInfo &info); - virtual bool initialize(const BufferInfo &info) = 0; - virtual bool initialize(const BufferViewInfo &info) = 0; - virtual void destroy() = 0; - virtual void resize(uint size) = 0; - virtual void update(void *buffer, uint size) = 0; + void initialize(const BufferInfo &info); + void initialize(const BufferViewInfo &info); + void resize(uint size); + void destroy(); + + virtual void update(void *buffer, uint size) = 0; - CC_INLINE Device * getDevice() const { return _device; } CC_INLINE BufferUsage getUsage() const { return _usage; } CC_INLINE MemoryUsage getMemUsage() const { return _memUsage; } CC_INLINE uint getStride() const { return _stride; } @@ -52,7 +52,11 @@ public: CC_INLINE BufferFlags getFlags() const { return _flags; } protected: - Device * _device = nullptr; + virtual void doInit(const BufferInfo &info) = 0; + virtual void doInit(const BufferViewInfo &info) = 0; + virtual void doResize(uint size) = 0; + virtual void doDestroy() = 0; + BufferUsage _usage = BufferUsageBit::NONE; MemoryUsage _memUsage = MemoryUsageBit::NONE; uint _stride = 0u; @@ -60,7 +64,6 @@ protected: uint _size = 0u; uint _offset = 0u; BufferFlags _flags = BufferFlagBit::NONE; - uint8_t * _buffer = nullptr; bool _isBufferView = false; }; diff --git a/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp b/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp index fba6440ae1..50aebcb63b 100644 --- a/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp @@ -31,13 +31,26 @@ namespace cc { namespace gfx { -CommandBuffer::CommandBuffer(Device *device) -: GFXObject(ObjectType::COMMAND_BUFFER), - _device(device) { +CommandBuffer::CommandBuffer() +: GFXObject(ObjectType::COMMAND_BUFFER) { } CommandBuffer::~CommandBuffer() { } +void CommandBuffer::initialize(const CommandBufferInfo& info) { + _type = info.type; + _queue = info.queue; + + doInit(info); +} + +void CommandBuffer::destroy() { + doDestroy(); + + _type = CommandBufferType::PRIMARY; + _queue = nullptr; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXCommandBuffer.h b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h index 81cf9be232..15399a707c 100644 --- a/native/cocos/renderer/gfx-base/GFXCommandBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h @@ -23,109 +23,165 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_COMMAND_BUFFER_H_ -#define CC_CORE_GFX_COMMAND_BUFFER_H_ +#pragma once -#include "GFXObject.h" #include "GFXBuffer.h" +#include "GFXObject.h" namespace cc { namespace gfx { class CC_DLL CommandBuffer : public GFXObject { public: - CommandBuffer(Device *device); + CommandBuffer(); virtual ~CommandBuffer(); public: - virtual bool initialize(const CommandBufferInfo &info) = 0; - virtual void destroy() = 0; - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) = 0; - virtual void end() = 0; + void initialize(const CommandBufferInfo &info); + void destroy(); + + virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) = 0; + virtual void end() = 0; virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) = 0; - virtual void endRenderPass() = 0; - virtual void bindPipelineState(PipelineState *pso) = 0; - virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) = 0; - virtual void bindInputAssembler(InputAssembler *ia) = 0; - virtual void setViewport(const Viewport &vp) = 0; - virtual void setScissor(const Rect &rect) = 0; - virtual void setLineWidth(float width) = 0; - virtual void setDepthBias(float constant, float clamp, float slope) = 0; - virtual void setBlendConstants(const Color &constants) = 0; - virtual void setDepthBound(float minBounds, float maxBounds) = 0; - virtual void setStencilWriteMask(StencilFace face, uint mask) = 0; - virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) = 0; - virtual void draw(InputAssembler *ia) = 0; - virtual void updateBuffer(Buffer *buff, const void *data, uint size) = 0; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; - virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) = 0; - virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) = 0; - virtual void dispatch(const DispatchInfo &info) = 0; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) = 0; + virtual void endRenderPass() = 0; + virtual void bindPipelineState(PipelineState *pso) = 0; + virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) = 0; + virtual void bindInputAssembler(InputAssembler *ia) = 0; + virtual void setViewport(const Viewport &vp) = 0; + virtual void setScissor(const Rect &rect) = 0; + virtual void setLineWidth(float width) = 0; + virtual void setDepthBias(float constant, float clamp, float slope) = 0; + virtual void setBlendConstants(const Color &constants) = 0; + virtual void setDepthBound(float minBounds, float maxBounds) = 0; + virtual void setStencilWriteMask(StencilFace face, uint mask) = 0; + virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) = 0; + virtual void draw(InputAssembler *ia) = 0; + virtual void updateBuffer(Buffer *buff, const void *data, uint size) = 0; + virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; + virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) = 0; + virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) = 0; + virtual void dispatch(const DispatchInfo &info) = 0; + virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) = 0; - CC_INLINE void begin() { begin(nullptr, 0, nullptr); } - // secondary command buffer specifics - CC_INLINE void begin(RenderPass *renderPass) { begin(renderPass, 0, nullptr); } - CC_INLINE void begin(RenderPass *renderPass, uint subpass) { begin(renderPass, subpass, nullptr); } + inline void begin(); + inline void begin(RenderPass *renderPass); + inline void begin(RenderPass *renderPass, uint subpass); - CC_INLINE void updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } - CC_INLINE void execute(CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } - CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { bindDescriptorSet(set, descriptorSet, 0, nullptr); } - CC_INLINE void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { - bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); - } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), static_cast(secondaryCBs.size())); - } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, nullptr, 0); - } - CC_INLINE void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, nullptr, 0); - } - CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { - copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); - } - CC_INLINE void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter) { - blitTexture(srcTexture, dstTexture, regions.data(), static_cast(regions.size()), filter); - } - CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier) { pipelineBarrier(barrier, nullptr, nullptr, 0u); } - CC_INLINE void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers, const TextureList &textures) { - pipelineBarrier(barrier, textureBarriers.data(), textures.data(), static_cast(textureBarriers.size())); - } + inline void updateBuffer(Buffer *buff, const void *data); - CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { - bindDescriptorSet(set, descriptorSet, 0, nullptr); - } - CC_INLINE void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { - bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); - } - CC_INLINE void beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), static_cast(secondaryCBs.size())); - } - CC_INLINE void beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, nullptr, 0); - } + inline void execute(CommandBufferList &cmdBuffs, uint32_t count); - CC_INLINE Device *getDevice() const { return _device; } - CC_INLINE Queue *getQueue() const { return _queue; } - CC_INLINE CommandBufferType getType() const { return _type; } + inline void bindDescriptorSet(uint set, DescriptorSet *descriptorSet); + inline void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets); + + inline void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs); + inline void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil); + inline void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil); + + inline void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions); + + inline void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter); + + inline void pipelineBarrier(const GlobalBarrier *barrier); + inline void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers, const TextureList &textures); + + inline void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet); + inline void bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets); + inline void beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs); + inline void beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil); + + inline Queue * getQueue() const { return _queue; } + inline CommandBufferType getType() const { return _type; } virtual uint getNumDrawCalls() const { return _numDrawCalls; } virtual uint getNumInstances() const { return _numInstances; } virtual uint getNumTris() const { return _numTriangles; } protected: - Device *_device = nullptr; - Queue *_queue = nullptr; - CommandBufferType _type = CommandBufferType::PRIMARY; + virtual void doInit(const CommandBufferInfo &info) = 0; + virtual void doDestroy() = 0; + + Queue * _queue = nullptr; + CommandBufferType _type = CommandBufferType::PRIMARY; uint32_t _numDrawCalls = 0; uint32_t _numInstances = 0; uint32_t _numTriangles = 0; }; +////////////////////////////////////////////////////////////////////////// + +void CommandBuffer::begin() { + begin(nullptr, 0, nullptr); +} + +void CommandBuffer::begin(RenderPass *renderPass) { + begin(renderPass, 0, nullptr); +} + +void CommandBuffer::begin(RenderPass *renderPass, uint subpass) { + begin(renderPass, subpass, nullptr); +} + +void CommandBuffer::updateBuffer(Buffer *buff, const void *data) { + updateBuffer(buff, data, buff->getSize()); +} + +void CommandBuffer::execute(CommandBufferList &cmdBuffs, uint32_t count) { + execute(cmdBuffs.data(), count); +} + +void CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { + bindDescriptorSet(set, descriptorSet, 0, nullptr); +} + +void CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { + bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); +} + +void CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), static_cast(secondaryCBs.size())); +} + +void CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, nullptr, 0); +} + +void CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, nullptr, 0); +} + +void CommandBuffer::copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { + copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); +} + +void CommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter) { + blitTexture(srcTexture, dstTexture, regions.data(), static_cast(regions.size()), filter); +} + +void CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier) { + pipelineBarrier(barrier, nullptr, nullptr, 0u); +} + +void CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers, const TextureList &textures) { + pipelineBarrier(barrier, textureBarriers.data(), textures.data(), static_cast(textureBarriers.size())); +} + +void CommandBuffer::bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { + bindDescriptorSet(set, descriptorSet, 0, nullptr); +} + +void CommandBuffer::bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { + bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); +} + +void CommandBuffer::beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), static_cast(secondaryCBs.size())); +} + +void CommandBuffer::beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, nullptr, 0); +} + } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_COMMAND_ALLOCATOR_H_ diff --git a/native/cocos/renderer/gfx-base/GFXContext.cpp b/native/cocos/renderer/gfx-base/GFXContext.cpp index fc2e307d3f..77d2c7aaf1 100644 --- a/native/cocos/renderer/gfx-base/GFXContext.cpp +++ b/native/cocos/renderer/gfx-base/GFXContext.cpp @@ -30,12 +30,22 @@ namespace cc { namespace gfx { -Context::Context(Device *device) -: _device(device) { +Context::Context() { } Context::~Context() { } +bool Context::initialize(const ContextInfo& info) { + _vsyncMode = info.vsyncMode; + _windowHandle = info.windowHandle; + + return doInit(info); +} + +void Context::destroy() { + doDestroy(); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXContext.h b/native/cocos/renderer/gfx-base/GFXContext.h index 3755b2602b..e29e476b50 100644 --- a/native/cocos/renderer/gfx-base/GFXContext.h +++ b/native/cocos/renderer/gfx-base/GFXContext.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_CONTEXT_H_ -#define CC_CORE_GFX_CONTEXT_H_ +#pragma once #include "GFXObject.h" @@ -33,30 +32,29 @@ namespace gfx { class CC_DLL Context : public Object { public: - Context(Device *device); + Context(); virtual ~Context(); -public: - virtual bool initialize(const ContextInfo &info) = 0; - virtual void destroy() = 0; + bool initialize(const ContextInfo &info); + void destroy(); + virtual void present() = 0; - CC_INLINE Device *getDevice() const { return _device; } - CC_INLINE Context *getSharedContext() const { return _sharedContext; } + CC_INLINE Context * getSharedContext() const { return _sharedContext; } CC_INLINE VsyncMode getVsyncMode() const { return _vsyncMode; } - CC_INLINE Format getColorFormat() const { return _colorFmt; } - CC_INLINE Format getDepthStencilFormat() const { return _depthStencilFmt; } + CC_INLINE Format getColorFormat() const { return _colorFmt; } + CC_INLINE Format getDepthStencilFormat() const { return _depthStencilFmt; } protected: - Device *_device = nullptr; - uintptr_t _windowHandle = 0; - Context *_sharedContext = nullptr; - VsyncMode _vsyncMode = VsyncMode::OFF; - Format _colorFmt = Format::UNKNOWN; - Format _depthStencilFmt = Format::UNKNOWN; + virtual bool doInit(const ContextInfo &info) = 0; + virtual void doDestroy() = 0; + + uintptr_t _windowHandle = 0; + Context * _sharedContext = nullptr; + VsyncMode _vsyncMode = VsyncMode::OFF; + Format _colorFmt = Format::UNKNOWN; + Format _depthStencilFmt = Format::UNKNOWN; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_CONTEXT_H_ diff --git a/native/cocos/renderer/gfx-base/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h index 32c73fad48..373d28289c 100644 --- a/native/cocos/renderer/gfx-base/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_DEF_COMMON_H_ -#define CC_CORE_GFX_DEF_COMMON_H_ +#pragma once #include "base/TypeDef.h" #include "base/memory/Memory.h" @@ -401,8 +400,7 @@ using BufferUsage = BufferUsageBit; CC_ENUM_OPERATORS(BufferUsageBit); enum class BufferFlagBit : FlagBits { - NONE = 0, - BAKUP_BUFFER = 0x4, + NONE = 0, }; using BufferFlags = BufferFlagBit; CC_ENUM_OPERATORS(BufferFlagBit); @@ -449,8 +447,7 @@ CC_ENUM_OPERATORS(TextureUsageBit); enum class TextureFlagBit : FlagBits { NONE = 0, GEN_MIPMAP = 0x1, - BAKUP_BUFFER = 0x2, - IMMUTABLE = 0x4, + IMMUTABLE = 0x2, }; using TextureFlags = TextureFlagBit; CC_ENUM_OPERATORS(TextureFlagBit); @@ -717,13 +714,15 @@ struct DeviceCaps { uint maxUniformBlockSize = 0u; uint maxTextureSize = 0u; uint maxCubeMapTextureSize = 0u; - uint uboOffsetAlignment = 0u; uint depthBits = 0u; uint stencilBits = 0u; + uint uboOffsetAlignment = 1u; + uint maxComputeSharedMemorySize = 0u; uint maxComputeWorkGroupInvocations = 0u; Size maxComputeWorkGroupSize; Size maxComputeWorkGroupCount; + float clipSpaceMinZ = -1.0f; float screenSpaceSignY = 1.0f; float UVSpaceSignY = -1.0f; @@ -1237,5 +1236,3 @@ struct MemoryStatus { } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_DEF_COMMON_H_ diff --git a/native/cocos/renderer/gfx-base/GFXDef.h b/native/cocos/renderer/gfx-base/GFXDef.h index 5c87410a02..0f21f44c2a 100644 --- a/native/cocos/renderer/gfx-base/GFXDef.h +++ b/native/cocos/renderer/gfx-base/GFXDef.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_DEF_H_ -#define CC_CORE_GFX_DEF_H_ +#pragma once #include "GFXDef-common.h" @@ -61,25 +60,9 @@ struct DeviceInfo { uint height = 0; uint nativeWidth = 0; uint nativeHeight = 0; - Context * sharedCtx = nullptr; BindingMappingInfo bindingMappingInfo; }; -struct WindowInfo { - String title; - int left = 0; - int top = 0; - uint width = 800; - uint height = 600; - Format colorFmt = Format::UNKNOWN; - Format depthStencilFmt = Format::UNKNOWN; - bool isOffscreen = false; - bool isFullscreen = false; - VsyncMode vsyncMode = VsyncMode::OFF; - uintptr_t windowHandle = 0; - RenderPass *renderPass = nullptr; -}; - struct ContextInfo { uintptr_t windowHandle = 0; Context * sharedCtx = nullptr; @@ -100,5 +83,3 @@ extern uint FormatSurfaceSize(Format format, uint width, uint height, uint depth } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_DEF_H_ diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp index 48f8f3d48b..f22eb9dc91 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp @@ -32,14 +32,33 @@ namespace cc { namespace gfx { -DescriptorSet::DescriptorSet(Device *device) -: GFXObject(ObjectType::DESCRIPTOR_SET), - _device(device) { +DescriptorSet::DescriptorSet() +: GFXObject(ObjectType::DESCRIPTOR_SET) { } DescriptorSet::~DescriptorSet() { } +void DescriptorSet::initialize(const DescriptorSetInfo& info) { + _layout = info.layout; + uint descriptorCount = _layout->getDescriptorCount(); + _buffers.resize(descriptorCount); + _textures.resize(descriptorCount); + _samplers.resize(descriptorCount); + + doInit(info); +} + +void DescriptorSet::destroy() { + doDestroy(); + + _layout = nullptr; + // have to clear these or else it might not be properly updated when reused + _buffers.clear(); + _textures.clear(); + _samplers.clear(); +} + void DescriptorSet::bindBuffer(uint binding, Buffer *buffer, uint index) { const vector & bindingIndices = _layout->getBindingIndices(); const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSet.h b/native/cocos/renderer/gfx-base/GFXDescriptorSet.h index aff044ebb5..6bd48b93e3 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSet.h +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSet.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_DESCRIPTOR_SET_H_ -#define CC_CORE_GFX_DESCRIPTOR_SET_H_ +#pragma once #include "GFXObject.h" @@ -33,12 +32,13 @@ namespace gfx { class CC_DLL DescriptorSet : public GFXObject { public: - DescriptorSet(Device *device); + DescriptorSet(); virtual ~DescriptorSet(); public: - virtual bool initialize(const DescriptorSetInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const DescriptorSetInfo &info); + void destroy(); + virtual void update() = 0; virtual void bindBuffer(uint binding, Buffer *buffer, uint index); @@ -50,30 +50,28 @@ public: bool bindTextureJSB(uint binding, Texture *texture, uint index); bool bindSamplerJSB(uint binding, Sampler *sampler, uint index); - Buffer *getBuffer(uint binding, uint index) const; + Buffer * getBuffer(uint binding, uint index) const; Texture *getTexture(uint binding, uint index) const; Sampler *getSampler(uint binding, uint index) const; - CC_INLINE Device *getDevice() const { return _device; } - CC_INLINE void bindBuffer(uint binding, Buffer *buffer) { bindBuffer(binding, buffer, 0u); } - CC_INLINE void bindTexture(uint binding, Texture *texture) { bindTexture(binding, texture, 0u); } - CC_INLINE void bindSampler(uint binding, Sampler *sampler) { bindSampler(binding, sampler, 0u); } + CC_INLINE void bindBuffer(uint binding, Buffer *buffer) { bindBuffer(binding, buffer, 0u); } + CC_INLINE void bindTexture(uint binding, Texture *texture) { bindTexture(binding, texture, 0u); } + CC_INLINE void bindSampler(uint binding, Sampler *sampler) { bindSampler(binding, sampler, 0u); } CC_INLINE Buffer *getBuffer(uint binding) const { return getBuffer(binding, 0u); } CC_INLINE Texture *getTexture(uint binding) const { return getTexture(binding, 0u); } CC_INLINE Sampler *getSampler(uint binding) const { return getSampler(binding, 0u); } protected: - Device *_device = nullptr; + virtual void doInit(const DescriptorSetInfo &info) = 0; + virtual void doDestroy() = 0; DescriptorSetLayout *_layout; - BufferList _buffers; - TextureList _textures; - SamplerList _samplers; + BufferList _buffers; + TextureList _textures; + SamplerList _samplers; bool _isDirty = false; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_DESCRIPTOR_SET_H_ diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp index 8202345d37..0c77c63db7 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp @@ -31,12 +31,48 @@ namespace cc { namespace gfx { -DescriptorSetLayout::DescriptorSetLayout(Device *device) -: GFXObject(ObjectType::DESCRIPTOR_SET_LAYOUT), _device(device) { +DescriptorSetLayout::DescriptorSetLayout() +: GFXObject(ObjectType::DESCRIPTOR_SET_LAYOUT) { } DescriptorSetLayout::~DescriptorSetLayout() { } +void DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { + _bindings = info.bindings; + uint bindingCount = _bindings.size(); + _descriptorCount = 0u; + + if (bindingCount) { + uint maxBinding = 0u; + vector flattenedIndices(bindingCount); + for (uint i = 0u; i < bindingCount; i++) { + const DescriptorSetLayoutBinding &binding = _bindings[i]; + flattenedIndices[i] = _descriptorCount; + _descriptorCount += binding.count; + if (binding.binding > maxBinding) maxBinding = binding.binding; + } + + _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); + _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); + for (uint i = 0u; i < bindingCount; i++) { + const DescriptorSetLayoutBinding &binding = _bindings[i]; + _bindingIndices[binding.binding] = i; + _descriptorIndices[binding.binding] = flattenedIndices[i]; + } + } + + doInit(info); +} + +void DescriptorSetLayout::destroy() { + doDestroy(); + + _bindings.clear(); + _descriptorCount = 0u; + _bindingIndices.clear(); + _descriptorIndices.clear(); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.h b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.h index 2aa3738e5f..30222459ff 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_DESCRIPTOR_SET_LAYOUT_H_ -#define CC_CORE_GFX_DESCRIPTOR_SET_LAYOUT_H_ +#pragma once #include "GFXObject.h" @@ -33,28 +32,26 @@ namespace gfx { class CC_DLL DescriptorSetLayout : public GFXObject { public: - DescriptorSetLayout(Device *device); + DescriptorSetLayout(); virtual ~DescriptorSetLayout(); -public: - virtual bool initialize(const DescriptorSetLayoutInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const DescriptorSetLayoutInfo &info); + void destroy(); - CC_INLINE Device *getDevice() const { return _device; } CC_INLINE const DescriptorSetLayoutBindingList &getBindings() const { return _bindings; } CC_INLINE const vector &getBindingIndices() const { return _bindingIndices; } CC_INLINE const vector &getDescriptorIndices() const { return _descriptorIndices; } - CC_INLINE const uint getDescriptorCount() const { return _descriptorCount; } + CC_INLINE const uint getDescriptorCount() const { return _descriptorCount; } protected: - Device *_device = nullptr; + virtual void doInit(const DescriptorSetLayoutInfo &info) = 0; + virtual void doDestroy() = 0; + DescriptorSetLayoutBindingList _bindings; - uint _descriptorCount = 0u; - vector _bindingIndices; - vector _descriptorIndices; + uint _descriptorCount = 0u; + vector _bindingIndices; + vector _descriptorIndices; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_DESCRIPTOR_SET_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-base/GFXDevice.cpp b/native/cocos/renderer/gfx-base/GFXDevice.cpp index e31825d2b4..58e52a6c4b 100644 --- a/native/cocos/renderer/gfx-base/GFXDevice.cpp +++ b/native/cocos/renderer/gfx-base/GFXDevice.cpp @@ -41,23 +41,10 @@ Device *Device::getInstance() { Device::Device() { Device::_instance = this; memset(_features, 0, sizeof(_features)); - //EventDispatcher::addCustomEventListener(EVENT_RESTART_VM, [=](const CustomEvent&) -> void { - // // FIXME: wait & flush all pending gfx commands - // Device::_instance->destroy(); - //}); } Device::~Device() { - // On Android, engine will check vulkan, gles3, gles2 compatibility in sequence. - // Device::_instance will be the supported device, it may not be equal to this. - // For example, if a vulkan is not supported and gles3 is supported by a Android - // device. Then the function invoking sequence is: - // - new VKDevice() -> Device::_instance == VKDevice - // - GLES3Device() -> Device::_instance == GLES3Device - // delete VKDevice -> Device::_instance != this - if (this == Device::_instance) { - Device::_instance = nullptr; - } + Device::_instance = nullptr; } Format Device::getColorFormat() const { @@ -68,5 +55,31 @@ Format Device::getDepthStencilFormat() const { return _context->getDepthStencilFormat(); } +bool Device::initialize(const DeviceInfo &info) { + _width = info.width; + _height = info.height; + _nativeWidth = info.nativeWidth; + _nativeHeight = info.nativeHeight; + _windowHandle = info.windowHandle; + + _bindingMappingInfo = info.bindingMappingInfo; + if (_bindingMappingInfo.bufferOffsets.empty()) { + _bindingMappingInfo.bufferOffsets.push_back(0); + } + if (_bindingMappingInfo.samplerOffsets.empty()) { + _bindingMappingInfo.samplerOffsets.push_back(0); + } + + return doInit(info); +} + +void Device::destroy() { + doDestroy(); + + _bindingMappingInfo.bufferOffsets.clear(); + _bindingMappingInfo.samplerOffsets.clear(); + _width = _height = _nativeWidth = _nativeHeight = _windowHandle = 0u; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXDevice.h b/native/cocos/renderer/gfx-base/GFXDevice.h index 074207d7f5..32a7cc6cb2 100644 --- a/native/cocos/renderer/gfx-base/GFXDevice.h +++ b/native/cocos/renderer/gfx-base/GFXDevice.h @@ -23,17 +23,16 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_DEVICE_H_ -#define CC_CORE_GFX_DEVICE_H_ +#pragma once #include "GFXBuffer.h" #include "GFXCommandBuffer.h" -#include "GFXObject.h" #include "GFXDescriptorSet.h" #include "GFXDescriptorSetLayout.h" #include "GFXFramebuffer.h" #include "GFXGlobalBarrier.h" #include "GFXInputAssembler.h" +#include "GFXObject.h" #include "GFXPipelineLayout.h" #include "GFXPipelineState.h" #include "GFXQueue.h" @@ -50,18 +49,18 @@ class CC_DLL Device : public Object { public: static Device *getInstance(); - Device(); - Device(Device *device) : Device() {} virtual ~Device(); - virtual bool initialize(const DeviceInfo &info) = 0; - virtual void destroy() = 0; - virtual void resize(uint width, uint height) = 0; - virtual void acquire() = 0; - virtual void present() = 0; + bool initialize(const DeviceInfo &info); + void destroy(); + + virtual void resize(uint width, uint height) = 0; + virtual void acquire() = 0; + virtual void present() = 0; + + virtual void flushCommands(CommandBuffer *const *cmdBuffs, uint count) {} + virtual void setMultithreaded(bool multithreaded) {} - virtual void flushCommands(CommandBuffer *const *cmdBuffs, uint count) {} - virtual void setMultithreaded(bool multithreaded) {} virtual SurfaceTransform getSurfaceTransform() const { return _transform; } virtual uint getWidth() const { return _width; } virtual uint getHeight() const { return _height; } @@ -72,117 +71,54 @@ public: virtual uint getNumInstances() const { return _numInstances; } virtual uint getNumTris() const { return _numTriangles; } - CC_INLINE CommandBuffer *createCommandBuffer(const CommandBufferInfo &info) { - CommandBuffer *res = doCreateCommandBuffer(info, false); - res->initialize(info); - return res; - } - CC_INLINE Queue *createQueue(const QueueInfo &info) { - Queue *res = createQueue(); - res->initialize(info); - return res; - } - CC_INLINE Buffer *createBuffer(const BufferInfo &info) { - Buffer *res = createBuffer(); - res->initialize(info); - return res; - } - CC_INLINE Buffer *createBuffer(const BufferViewInfo &info) { - Buffer *res = createBuffer(); - res->initialize(info); - return res; - } - CC_INLINE Texture *createTexture(const TextureInfo &info) { - Texture *res = createTexture(); - res->initialize(info); - return res; - } - CC_INLINE Texture *createTexture(const TextureViewInfo &info) { - Texture *res = createTexture(); - res->initialize(info); - return res; - } - CC_INLINE Sampler *createSampler(const SamplerInfo &info) { - Sampler *res = createSampler(); - res->initialize(info); - return res; - } - CC_INLINE Shader *createShader(const ShaderInfo &info) { - Shader *res = createShader(); - res->initialize(info); - return res; - } - CC_INLINE InputAssembler *createInputAssembler(const InputAssemblerInfo &info) { - InputAssembler *res = createInputAssembler(); - res->initialize(info); - return res; - } - CC_INLINE RenderPass *createRenderPass(const RenderPassInfo &info) { - RenderPass *res = createRenderPass(); - res->initialize(info); - return res; - } - CC_INLINE Framebuffer *createFramebuffer(const FramebufferInfo &info) { - Framebuffer *res = createFramebuffer(); - res->initialize(info); - return res; - } - CC_INLINE DescriptorSet *createDescriptorSet(const DescriptorSetInfo &info) { - DescriptorSet *res = createDescriptorSet(); - res->initialize(info); - return res; - } - CC_INLINE DescriptorSetLayout *createDescriptorSetLayout(const DescriptorSetLayoutInfo &info) { - DescriptorSetLayout *res = createDescriptorSetLayout(); - res->initialize(info); - return res; - } - CC_INLINE PipelineLayout *createPipelineLayout(const PipelineLayoutInfo &info) { - PipelineLayout *res = createPipelineLayout(); - res->initialize(info); - return res; - } - CC_INLINE PipelineState *createPipelineState(const PipelineStateInfo &info) { - PipelineState *res = createPipelineState(); - res->initialize(info); - return res; - } - CC_INLINE GlobalBarrier *createGlobalBarrier(const GlobalBarrierInfo &info) { - GlobalBarrier *res = createGlobalBarrier(); - res->initialize(info); - return res; - } - CC_INLINE TextureBarrier *createTextureBarrier(const TextureBarrierInfo &info) { - TextureBarrier *res = createTextureBarrier(); - res->initialize(info); - return res; - } - CC_INLINE void copyBuffersToTexture(const BufferDataList &buffers, Texture *dst, const BufferTextureCopyList ®ions) { - copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size())); - } + inline CommandBuffer * createCommandBuffer(const CommandBufferInfo &info); + inline Queue * createQueue(const QueueInfo &info); + inline Buffer * createBuffer(const BufferInfo &info); + inline Buffer * createBuffer(const BufferViewInfo &info); + inline Texture * createTexture(const TextureInfo &info); + inline Texture * createTexture(const TextureViewInfo &info); + inline Sampler * createSampler(const SamplerInfo &info); + inline Shader * createShader(const ShaderInfo &info); + inline InputAssembler * createInputAssembler(const InputAssemblerInfo &info); + inline RenderPass * createRenderPass(const RenderPassInfo &info); + inline Framebuffer * createFramebuffer(const FramebufferInfo &info); + inline DescriptorSet * createDescriptorSet(const DescriptorSetInfo &info); + inline DescriptorSetLayout *createDescriptorSetLayout(const DescriptorSetLayoutInfo &info); + inline PipelineLayout * createPipelineLayout(const PipelineLayoutInfo &info); + inline PipelineState * createPipelineState(const PipelineStateInfo &info); + inline GlobalBarrier * createGlobalBarrier(const GlobalBarrierInfo &info); + inline TextureBarrier * createTextureBarrier(const TextureBarrierInfo &info); - CC_INLINE void flushCommands(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), static_cast(cmdBuffs.size())); } + inline void copyBuffersToTexture(const BufferDataList &buffers, Texture *dst, const BufferTextureCopyList ®ions); + inline void flushCommands(const vector &cmdBuffs); + inline void flushCommandsForJS(const vector &cmdBuffs); - CC_INLINE void flushCommandsForJS(const vector &cmdBuffs) { flushCommands(cmdBuffs.data(), static_cast(cmdBuffs.size())); } + inline Queue * getQueue() const { return _queue; } + inline CommandBuffer * getCommandBuffer() const { return _cmdBuff; } + inline const DeviceCaps &getCapabilities() const { return _caps; } + inline API getGfxAPI() const { return _API; } + inline const String & getDeviceName() const { return _deviceName; } + inline const String & getRenderer() const { return _renderer; } + inline const String & getVendor() const { return _vendor; } + inline bool hasFeature(Feature feature) const { return _features[static_cast(feature)]; } - CC_INLINE Context *getContext() const { return _context; } - CC_INLINE Queue *getQueue() const { return _queue; } - CC_INLINE CommandBuffer *getCommandBuffer() const { return _cmdBuff; } - CC_INLINE const DeviceCaps &getCapabilities() const { return _caps; } - CC_INLINE bool hasFeature(Feature feature) const { return _features[static_cast(feature)]; } - CC_INLINE const BindingMappingInfo &bindingMappingInfo() const { return _bindingMappingInfo; } + inline const BindingMappingInfo &bindingMappingInfo() const { return _bindingMappingInfo; } - CC_INLINE API getGfxAPI() const { return _API; } - CC_INLINE const String &getDeviceName() const { return _deviceName; } - CC_INLINE const String &getRenderer() const { return _renderer; } - CC_INLINE const String &getVendor() const { return _vendor; } - Format getColorFormat() const; - Format getDepthStencilFormat() const; + Format getColorFormat() const; + Format getDepthStencilFormat() const; protected: - friend class DeviceAgent; + static Device *_instance; - virtual CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) = 0; + friend class DeviceAgent; + friend class DeviceCreator; + + Device(); + + virtual bool doInit(const DeviceInfo &info) = 0; + virtual void doDestroy() = 0; + + virtual CommandBuffer * createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) = 0; virtual Queue * createQueue() = 0; virtual Buffer * createBuffer() = 0; virtual Texture * createTexture() = 0; @@ -199,9 +135,16 @@ protected: virtual TextureBarrier * createTextureBarrier() = 0; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) = 0; + // On minimize + virtual void releaseSurface(uintptr_t windowHandle) {} + // On restore + virtual void acquireSurface(uintptr_t windowHandle) {} + virtual void bindRenderContext(bool bound) {} virtual void bindDeviceContext(bool bound) {} + inline Context *getContext() const { return _context; } + API _API = API::UNKNOWN; SurfaceTransform _transform = SurfaceTransform::IDENTITY; String _deviceName; @@ -223,12 +166,123 @@ protected: uint _numTriangles = 0u; BindingMappingInfo _bindingMappingInfo; DeviceCaps _caps; - -private: - static Device *_instance; }; +////////////////////////////////////////////////////////////////////////// + +CommandBuffer *Device::createCommandBuffer(const CommandBufferInfo &info) { + CommandBuffer *res = createCommandBuffer(info, false); + res->initialize(info); + return res; +} + +Queue *Device::createQueue(const QueueInfo &info) { + Queue *res = createQueue(); + res->initialize(info); + return res; +} + +Buffer *Device::createBuffer(const BufferInfo &info) { + Buffer *res = createBuffer(); + res->initialize(info); + return res; +} + +Buffer *Device::createBuffer(const BufferViewInfo &info) { + Buffer *res = createBuffer(); + res->initialize(info); + return res; +} + +Texture *Device::createTexture(const TextureInfo &info) { + Texture *res = createTexture(); + res->initialize(info); + return res; +} + +Texture *Device::createTexture(const TextureViewInfo &info) { + Texture *res = createTexture(); + res->initialize(info); + return res; +} + +Sampler *Device::createSampler(const SamplerInfo &info) { + Sampler *res = createSampler(); + res->initialize(info); + return res; +} + +Shader *Device::createShader(const ShaderInfo &info) { + Shader *res = createShader(); + res->initialize(info); + return res; +} + +InputAssembler *Device::createInputAssembler(const InputAssemblerInfo &info) { + InputAssembler *res = createInputAssembler(); + res->initialize(info); + return res; +} + +RenderPass *Device::createRenderPass(const RenderPassInfo &info) { + RenderPass *res = createRenderPass(); + res->initialize(info); + return res; +} + +Framebuffer *Device::createFramebuffer(const FramebufferInfo &info) { + Framebuffer *res = createFramebuffer(); + res->initialize(info); + return res; +} + +DescriptorSet *Device::createDescriptorSet(const DescriptorSetInfo &info) { + DescriptorSet *res = createDescriptorSet(); + res->initialize(info); + return res; +} + +DescriptorSetLayout *Device::createDescriptorSetLayout(const DescriptorSetLayoutInfo &info) { + DescriptorSetLayout *res = createDescriptorSetLayout(); + res->initialize(info); + return res; +} + +PipelineLayout *Device::createPipelineLayout(const PipelineLayoutInfo &info) { + PipelineLayout *res = createPipelineLayout(); + res->initialize(info); + return res; +} + +PipelineState *Device::createPipelineState(const PipelineStateInfo &info) { + PipelineState *res = createPipelineState(); + res->initialize(info); + return res; +} + +GlobalBarrier *Device::createGlobalBarrier(const GlobalBarrierInfo &info) { + GlobalBarrier *res = createGlobalBarrier(); + res->initialize(info); + return res; +} + +TextureBarrier *Device::createTextureBarrier(const TextureBarrierInfo &info) { + TextureBarrier *res = createTextureBarrier(); + res->initialize(info); + return res; +} + +void Device::copyBuffersToTexture(const BufferDataList &buffers, Texture *dst, const BufferTextureCopyList ®ions) { + copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size())); +} + +void Device::flushCommands(const vector &cmdBuffs) { + flushCommands(cmdBuffs.data(), static_cast(cmdBuffs.size())); +} + +void Device::flushCommandsForJS(const vector &cmdBuffs) { + flushCommands(cmdBuffs.data(), static_cast(cmdBuffs.size())); +} + } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_DEVICE_H_ diff --git a/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp index c173035bed..749e611cd5 100644 --- a/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp @@ -31,15 +31,14 @@ namespace cc { namespace gfx { -Framebuffer::Framebuffer(Device *device) -: GFXObject(ObjectType::FRAMEBUFFER), - _device(device) { +Framebuffer::Framebuffer() +: GFXObject(ObjectType::FRAMEBUFFER) { } Framebuffer::~Framebuffer() { } -uint Framebuffer::computeHash(const FramebufferInfo& info) { +uint Framebuffer::computeHash(const FramebufferInfo &info) { uint seed = info.colorTextures.size() + info.colorMipmapLevels.size() + 2; for (const Texture *attachment : info.colorTextures) { seed ^= (uint)attachment->getTextureID() + 0x9e3779b9 + (seed << 6) + (seed >> 2); @@ -52,5 +51,21 @@ uint Framebuffer::computeHash(const FramebufferInfo& info) { return seed; } +void Framebuffer::initialize(const FramebufferInfo &info) { + _renderPass = info.renderPass; + _colorTextures = info.colorTextures; + _depthStencilTexture = info.depthStencilTexture; + + doInit(info); +} + +void Framebuffer::destroy() { + doDestroy(); + + _renderPass = nullptr; + _colorTextures.clear(); + _depthStencilTexture = nullptr; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXFramebuffer.h b/native/cocos/renderer/gfx-base/GFXFramebuffer.h index ebc3b242be..c7aff3ef67 100644 --- a/native/cocos/renderer/gfx-base/GFXFramebuffer.h +++ b/native/cocos/renderer/gfx-base/GFXFramebuffer.h @@ -32,21 +32,22 @@ namespace gfx { class CC_DLL Framebuffer : public GFXObject { public: - Framebuffer(Device *device); + Framebuffer(); virtual ~Framebuffer(); static uint computeHash(const FramebufferInfo &info); - virtual bool initialize(const FramebufferInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const FramebufferInfo &info); + void destroy(); - CC_INLINE Device *getDevice() const { return _device; } CC_INLINE RenderPass *getRenderPass() const { return _renderPass; } CC_INLINE const TextureList &getColorTextures() const { return _colorTextures; } CC_INLINE Texture *getDepthStencilTexture() const { return _depthStencilTexture; } protected: - Device * _device = nullptr; + virtual void doInit(const FramebufferInfo &info) = 0; + virtual void doDestroy() = 0; + RenderPass *_renderPass = nullptr; TextureList _colorTextures; Texture * _depthStencilTexture = nullptr; diff --git a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp index 986c21ed4b..0ef1059f11 100644 --- a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp @@ -31,9 +31,8 @@ namespace cc { namespace gfx { -GlobalBarrier::GlobalBarrier(Device *device) -: GFXObject(ObjectType::GLOBAL_BARRIER), - _device(device) { +GlobalBarrier::GlobalBarrier() +: GFXObject(ObjectType::GLOBAL_BARRIER) { } GlobalBarrier::~GlobalBarrier() { diff --git a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h index aef7af4168..655500b354 100644 --- a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h +++ b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_GLOBAL_BARRIER_H_ -#define CC_CORE_GFX_GLOBAL_BARRIER_H_ +#pragma once #include "GFXObject.h" @@ -33,7 +32,7 @@ namespace gfx { class CC_DLL GlobalBarrier : public GFXObject { public: - GlobalBarrier(Device *device); + GlobalBarrier(); virtual ~GlobalBarrier(); static uint computeHash(const GlobalBarrierInfo &info); @@ -43,13 +42,12 @@ public: protected: friend class Device; - virtual bool initialize(const GlobalBarrierInfo &info) { _info = info; return true; } + virtual void doInit(const GlobalBarrierInfo &info) {} + + void initialize(const GlobalBarrierInfo &info) { _info = info; doInit(info); } - Device *_device = nullptr; GlobalBarrierInfo _info; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp b/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp index c83b27995d..f78a4ee58a 100644 --- a/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp +++ b/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp @@ -25,25 +25,26 @@ #include "base/CoreStd.h" -#include "GFXObject.h" +#include "GFXBuffer.h" #include "GFXInputAssembler.h" +#include "GFXObject.h" namespace cc { namespace gfx { -InputAssembler::InputAssembler(Device *device) -: GFXObject(ObjectType::INPUT_ASSEMBLER), _device(device) { +InputAssembler::InputAssembler() +: GFXObject(ObjectType::INPUT_ASSEMBLER) { } InputAssembler::~InputAssembler() { } void InputAssembler::extractDrawInfo(DrawInfo &drawInfo) const { - drawInfo.vertexCount = _vertexCount; - drawInfo.firstVertex = _firstVertex; - drawInfo.indexCount = _indexCount; - drawInfo.firstIndex = _firstIndex; - drawInfo.vertexOffset = _vertexOffset; + drawInfo.vertexCount = _vertexCount; + drawInfo.firstVertex = _firstVertex; + drawInfo.indexCount = _indexCount; + drawInfo.firstIndex = _firstIndex; + drawInfo.vertexOffset = _vertexOffset; drawInfo.instanceCount = _instanceCount; drawInfo.firstInstance = _firstInstance; } @@ -63,5 +64,32 @@ uint InputAssembler::computeAttributesHash() const { return static_cast(seed); } +void InputAssembler::initialize(const InputAssemblerInfo &info) { + _attributes = info.attributes; + _vertexBuffers = info.vertexBuffers; + _indexBuffer = info.indexBuffer; + _indirectBuffer = info.indirectBuffer; + + if (_indexBuffer) { + _indexCount = _indexBuffer->getCount(); + _firstIndex = 0; + } else if (_vertexBuffers.size()) { + _vertexCount = _vertexBuffers[0]->getCount(); + _firstVertex = 0; + _vertexOffset = 0; + } + _attributesHash = computeAttributesHash(); + + doInit(info); +} + +void InputAssembler::destroy() { + _attributes.clear(); + _vertexBuffers.clear(); + _indexBuffer = nullptr; + _indirectBuffer = nullptr; + _indexCount = _firstIndex = _vertexCount = _firstVertex = _vertexOffset = _attributesHash = 0u; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXInputAssembler.h b/native/cocos/renderer/gfx-base/GFXInputAssembler.h index bfba8e9146..2c6f7968e4 100644 --- a/native/cocos/renderer/gfx-base/GFXInputAssembler.h +++ b/native/cocos/renderer/gfx-base/GFXInputAssembler.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_INPUT_ASSEMBLER_H_ -#define CC_CORE_GFX_INPUT_ASSEMBLER_H_ +#pragma once #include "GFXObject.h" @@ -33,28 +32,26 @@ namespace gfx { class CC_DLL InputAssembler : public GFXObject { public: - InputAssembler(Device *device); + InputAssembler(); virtual ~InputAssembler(); -public: - virtual bool initialize(const InputAssemblerInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const InputAssemblerInfo &info); + void destroy(); void extractDrawInfo(DrawInfo &drawInfo) const; - CC_INLINE Device *getDevice() const { return _device; } CC_INLINE const AttributeList &getAttributes() const { return _attributes; } CC_INLINE const BufferList &getVertexBuffers() const { return _vertexBuffers; } CC_INLINE Buffer *getIndexBuffer() const { return _indexBuffer; } CC_INLINE Buffer *getIndirectBuffer() const { return _indirectBuffer; } - CC_INLINE uint getVertexCount() const { return _vertexCount; } - CC_INLINE uint getFirstVertex() const { return _firstVertex; } - CC_INLINE uint getIndexCount() const { return _indexCount; } - CC_INLINE uint getFirstIndex() const { return _firstIndex; } - CC_INLINE uint getVertexOffset() const { return _vertexOffset; } - CC_INLINE uint getInstanceCount() const { return _instanceCount; } - CC_INLINE uint getFirstInstance() const { return _firstInstance; } - CC_INLINE uint getAttributesHash() const { return _attributesHash; } + CC_INLINE uint getVertexCount() const { return _vertexCount; } + CC_INLINE uint getFirstVertex() const { return _firstVertex; } + CC_INLINE uint getIndexCount() const { return _indexCount; } + CC_INLINE uint getFirstIndex() const { return _firstIndex; } + CC_INLINE uint getVertexOffset() const { return _vertexOffset; } + CC_INLINE uint getInstanceCount() const { return _instanceCount; } + CC_INLINE uint getFirstInstance() const { return _firstInstance; } + CC_INLINE uint getAttributesHash() const { return _attributesHash; } virtual void setVertexCount(uint count) { _vertexCount = count; } virtual void setFirstVertex(uint first) { _firstVertex = first; } @@ -65,24 +62,24 @@ public: virtual void setFirstInstance(uint first) { _firstInstance = first; } protected: + virtual void doInit(const InputAssemblerInfo &info) = 0; + virtual void doDestroy() = 0; + uint computeAttributesHash() const; - Device *_device = nullptr; AttributeList _attributes; - BufferList _vertexBuffers; - Buffer *_indexBuffer = nullptr; - Buffer *_indirectBuffer = nullptr; - uint _vertexCount = 0; - uint _firstVertex = 0; - uint _indexCount = 0; - uint _firstIndex = 0; - uint _vertexOffset = 0; - uint _instanceCount = 0; - uint _firstInstance = 0; - uint _attributesHash = 0; + BufferList _vertexBuffers; + Buffer * _indexBuffer = nullptr; + Buffer * _indirectBuffer = nullptr; + uint _vertexCount = 0; + uint _firstVertex = 0; + uint _indexCount = 0; + uint _firstIndex = 0; + uint _vertexOffset = 0; + uint _instanceCount = 0; + uint _firstInstance = 0; + uint _attributesHash = 0; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_INPUT_ASSEMBLER_H_ diff --git a/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp b/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp index 7f2af5ddb9..fd077ecccb 100644 --- a/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp @@ -31,13 +31,24 @@ namespace cc { namespace gfx { -PipelineLayout::PipelineLayout(Device *device) -: GFXObject(ObjectType::PIPELINE_LAYOUT), - _device(device) { +PipelineLayout::PipelineLayout() +: GFXObject(ObjectType::PIPELINE_LAYOUT) { } PipelineLayout::~PipelineLayout() { } +void PipelineLayout::initialize(const PipelineLayoutInfo& info) { + _setLayouts = info.setLayouts; + + doInit(info); +} + +void PipelineLayout::destroy() { + doDestroy(); + + _setLayouts.clear(); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXPipelineLayout.h b/native/cocos/renderer/gfx-base/GFXPipelineLayout.h index 8a3f74b6d5..dc34bf3ae0 100644 --- a/native/cocos/renderer/gfx-base/GFXPipelineLayout.h +++ b/native/cocos/renderer/gfx-base/GFXPipelineLayout.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_PIPELINE_LAYOUT_H_ -#define CC_CORE_GFX_PIPELINE_LAYOUT_H_ +#pragma once #include "GFXObject.h" @@ -33,22 +32,20 @@ namespace gfx { class CC_DLL PipelineLayout : public GFXObject { public: - PipelineLayout(Device *device); + PipelineLayout(); virtual ~PipelineLayout(); -public: - virtual bool initialize(const PipelineLayoutInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const PipelineLayoutInfo &info); + void destroy(); - CC_INLINE Device *getDevice() const { return _device; } CC_INLINE const DescriptorSetLayoutList &getSetLayouts() const { return _setLayouts; } protected: - Device *_device = nullptr; + virtual void doInit(const PipelineLayoutInfo &info) = 0; + virtual void doDestroy() = 0; + DescriptorSetLayoutList _setLayouts; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_PIPELINE_LAYOUT_H_ diff --git a/native/cocos/renderer/gfx-base/GFXPipelineState.cpp b/native/cocos/renderer/gfx-base/GFXPipelineState.cpp index 7d58e89977..d751e6ebb9 100644 --- a/native/cocos/renderer/gfx-base/GFXPipelineState.cpp +++ b/native/cocos/renderer/gfx-base/GFXPipelineState.cpp @@ -31,12 +31,35 @@ namespace cc { namespace gfx { -PipelineState::PipelineState(Device *device) -: GFXObject(ObjectType::PIPELINE_STATE), _device(device) { +PipelineState::PipelineState() +: GFXObject(ObjectType::PIPELINE_STATE) { } PipelineState::~PipelineState() { } +void PipelineState::initialize(const PipelineStateInfo &info) { + _primitive = info.primitive; + _shader = info.shader; + _inputState = info.inputState; + _rasterizerState = info.rasterizerState; + _depthStencilState = info.depthStencilState; + _bindPoint = info.bindPoint; + _blendState = info.blendState; + _dynamicStates = info.dynamicStates; + _renderPass = info.renderPass; + _pipelineLayout = info.pipelineLayout; + + doInit(info); +} + +void PipelineState::destroy() { + doDestroy(); + + _shader = nullptr; + _renderPass = nullptr; + _pipelineLayout = nullptr; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXPipelineState.h b/native/cocos/renderer/gfx-base/GFXPipelineState.h index b00d4d791e..89b6d804f2 100644 --- a/native/cocos/renderer/gfx-base/GFXPipelineState.h +++ b/native/cocos/renderer/gfx-base/GFXPipelineState.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_PIPELINE_STATE_H_ -#define CC_CORE_GFX_PIPELINE_STATE_H_ +#pragma once #include "GFXObject.h" @@ -33,17 +32,15 @@ namespace gfx { class CC_DLL PipelineState : public GFXObject { public: - PipelineState(Device *device); + PipelineState(); virtual ~PipelineState(); -public: - virtual bool initialize(const PipelineStateInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const PipelineStateInfo &info); + void destroy(); - CC_INLINE Device *getDevice() const { return _device; } - CC_INLINE Shader *getShader() const { return _shader; } + CC_INLINE Shader * getShader() const { return _shader; } CC_INLINE PipelineBindPoint getBindPoint() const { return _bindPoint; } - CC_INLINE PrimitiveMode getPrimitive() const { return _primitive; } + CC_INLINE PrimitiveMode getPrimitive() const { return _primitive; } CC_INLINE DynamicStateFlags getDynamicStates() const { return _dynamicStates; } CC_INLINE const InputState &getInputState() const { return _inputState; } CC_INLINE const RasterizerState &getRasterizerState() const { return _rasterizerState; } @@ -53,20 +50,20 @@ public: CC_INLINE const PipelineLayout *getPipelineLayout() const { return _pipelineLayout; } protected: - Device *_device = nullptr; - Shader *_shader = nullptr; - PipelineBindPoint _bindPoint = PipelineBindPoint::GRAPHICS; - PrimitiveMode _primitive = PrimitiveMode::TRIANGLE_LIST; + virtual void doInit(const PipelineStateInfo &info) = 0; + virtual void doDestroy() = 0; + + Shader * _shader = nullptr; + PipelineBindPoint _bindPoint = PipelineBindPoint::GRAPHICS; + PrimitiveMode _primitive = PrimitiveMode::TRIANGLE_LIST; DynamicStateFlags _dynamicStates = DynamicStateFlags::NONE; - InputState _inputState; - RasterizerState _rasterizerState; + InputState _inputState; + RasterizerState _rasterizerState; DepthStencilState _depthStencilState; - BlendState _blendState; - RenderPass *_renderPass = nullptr; - PipelineLayout *_pipelineLayout = nullptr; + BlendState _blendState; + RenderPass * _renderPass = nullptr; + PipelineLayout * _pipelineLayout = nullptr; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_PIPELINE_STATE_H_ diff --git a/native/cocos/renderer/gfx-base/GFXQueue.cpp b/native/cocos/renderer/gfx-base/GFXQueue.cpp index f23e09c162..fb5f36e403 100644 --- a/native/cocos/renderer/gfx-base/GFXQueue.cpp +++ b/native/cocos/renderer/gfx-base/GFXQueue.cpp @@ -31,13 +31,24 @@ namespace cc { namespace gfx { -Queue::Queue(Device *device) -: GFXObject(ObjectType::QUEUE), - _device(device) { +Queue::Queue() +: GFXObject(ObjectType::QUEUE) { } Queue::~Queue() { } +void Queue::initialize(const QueueInfo& info) { + _type = info.type; + + doInit(info); +} + +void Queue::destroy() { + doDestroy(); + + _type = QueueType::GRAPHICS; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXQueue.h b/native/cocos/renderer/gfx-base/GFXQueue.h index 8feeb1b12f..da8eb1c164 100644 --- a/native/cocos/renderer/gfx-base/GFXQueue.h +++ b/native/cocos/renderer/gfx-base/GFXQueue.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_QUEUE_H_ -#define CC_CORE_GFX_QUEUE_H_ +#pragma once #include "GFXObject.h" @@ -33,26 +32,26 @@ namespace gfx { class CC_DLL Queue : public GFXObject { public: - Queue(Device *device); + Queue(); virtual ~Queue(); -public: - virtual bool initialize(const QueueInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const QueueInfo &info); + void destroy(); + virtual void submit(CommandBuffer *const *cmdBuffs, uint count) = 0; CC_INLINE void submit(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), static_cast(cmdBuffs.size())); } - CC_INLINE Device *getDevice() const { return _device; } - CC_INLINE QueueType getType() const { return _type; } CC_INLINE void submitForJS(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), static_cast(cmdBuffs.size())); } + CC_INLINE QueueType getType() const { return _type; } + protected: - Device *_device = nullptr; - QueueType _type = QueueType::GRAPHICS; + virtual void doInit(const QueueInfo &info) = 0; + virtual void doDestroy() = 0; + + QueueType _type = QueueType::GRAPHICS; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_QUEUE_H_ diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp index 7f6a48b443..035a5f0b09 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp @@ -31,8 +31,8 @@ namespace cc { namespace gfx { -RenderPass::RenderPass(Device *device) -: GFXObject(ObjectType::RENDER_PASS), _device(device) { +RenderPass::RenderPass() +: GFXObject(ObjectType::RENDER_PASS) { } RenderPass::~RenderPass() { @@ -196,5 +196,22 @@ uint RenderPass::computeHash(const RenderPassInfo &info) { return seed; } +void RenderPass::initialize(const RenderPassInfo &info) { + _colorAttachments = info.colorAttachments; + _depthStencilAttachment = info.depthStencilAttachment; + _subpasses = info.subpasses; + _hash = computeHash(); + + doInit(info); +} + +void RenderPass::destroy() { + doDestroy(); + + _colorAttachments.clear(); + _subpasses.clear(); + _hash = 0u; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.h b/native/cocos/renderer/gfx-base/GFXRenderPass.h index 0a0435ce3e..93271c5fcf 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.h +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.h @@ -32,15 +32,14 @@ namespace gfx { class CC_DLL RenderPass : public GFXObject { public: - RenderPass(Device *device); + RenderPass(); virtual ~RenderPass(); static uint computeHash(const RenderPassInfo &info); - virtual bool initialize(const RenderPassInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const RenderPassInfo &info); + void destroy(); - CC_INLINE Device *getDevice() const { return _device; } CC_INLINE const ColorAttachmentList &getColorAttachments() const { return _colorAttachments; } CC_INLINE const DepthStencilAttachment &getDepthStencilAttachment() const { return _depthStencilAttachment; } CC_INLINE const SubpassInfoList &getSubpasses() const { return _subpasses; } @@ -49,7 +48,9 @@ public: protected: uint computeHash(); - Device * _device = nullptr; + virtual void doInit(const RenderPassInfo &info) = 0; + virtual void doDestroy() = 0; + ColorAttachmentList _colorAttachments; DepthStencilAttachment _depthStencilAttachment; SubpassInfoList _subpasses; diff --git a/native/cocos/renderer/gfx-base/GFXSampler.cpp b/native/cocos/renderer/gfx-base/GFXSampler.cpp index ca078ef5a5..3de43697a9 100644 --- a/native/cocos/renderer/gfx-base/GFXSampler.cpp +++ b/native/cocos/renderer/gfx-base/GFXSampler.cpp @@ -31,8 +31,8 @@ namespace cc { namespace gfx { -Sampler::Sampler(Device *device) -: GFXObject(ObjectType::SAMPLER), _device(device) { +Sampler::Sampler() +: GFXObject(ObjectType::SAMPLER) { _borderColor.x = 0.0f; _borderColor.y = 0.0f; _borderColor.z = 0.0f; @@ -42,5 +42,24 @@ Sampler::Sampler(Device *device) Sampler::~Sampler() { } +void Sampler::initialize(const SamplerInfo &info) { + _minFilter = info.minFilter; + _magFilter = info.magFilter; + _mipFilter = info.mipFilter; + _addressU = info.addressU; + _addressV = info.addressV; + _addressW = info.addressW; + _maxAnisotropy = info.maxAnisotropy; + _cmpFunc = info.cmpFunc; + _borderColor = info.borderColor; + _mipLODBias = info.mipLODBias; + + doInit(info); +} + +void Sampler::destroy() { + doDestroy(); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXSampler.h b/native/cocos/renderer/gfx-base/GFXSampler.h index 2019ee5f31..e0a2545290 100644 --- a/native/cocos/renderer/gfx-base/GFXSampler.h +++ b/native/cocos/renderer/gfx-base/GFXSampler.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_SAMPLER_H_ -#define CC_CORE_GFX_SAMPLER_H_ +#pragma once #include "GFXObject.h" @@ -33,39 +32,38 @@ namespace gfx { class CC_DLL Sampler : public GFXObject { public: - Sampler(Device *device); + Sampler(); virtual ~Sampler(); - virtual bool initialize(const SamplerInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const SamplerInfo &info); + void destroy(); - CC_INLINE Device *getDevice() const { return _device; } - CC_INLINE Filter getMinFilter() const { return _minFilter; } - CC_INLINE Filter getMagFilter() const { return _magFilter; } - CC_INLINE Filter getMipFilter() const { return _mipFilter; } - CC_INLINE Address getAddressU() const { return _addressU; } - CC_INLINE Address getAddressV() const { return _addressV; } - CC_INLINE Address getAddressW() const { return _addressW; } - CC_INLINE uint getMaxAnisotropy() const { return _maxAnisotropy; } + CC_INLINE Filter getMinFilter() const { return _minFilter; } + CC_INLINE Filter getMagFilter() const { return _magFilter; } + CC_INLINE Filter getMipFilter() const { return _mipFilter; } + CC_INLINE Address getAddressU() const { return _addressU; } + CC_INLINE Address getAddressV() const { return _addressV; } + CC_INLINE Address getAddressW() const { return _addressW; } + CC_INLINE uint getMaxAnisotropy() const { return _maxAnisotropy; } CC_INLINE ComparisonFunc getCmpFunc() const { return _cmpFunc; } CC_INLINE const Color &getBorderColor() const { return _borderColor; } - CC_INLINE float getMipLODBias() const { return _mipLODBias; } + CC_INLINE float getMipLODBias() const { return _mipLODBias; } protected: - Device *_device = nullptr; - Filter _minFilter = Filter::NONE; - Filter _magFilter = Filter::NONE; - Filter _mipFilter = Filter::NONE; - Address _addressU = Address::WRAP; - Address _addressV = Address::WRAP; - Address _addressW = Address::WRAP; - uint _maxAnisotropy = 0; - ComparisonFunc _cmpFunc = ComparisonFunc::ALWAYS; - Color _borderColor; - float _mipLODBias = 0.0f; + virtual void doInit(const SamplerInfo &info) = 0; + virtual void doDestroy() = 0; + + Filter _minFilter = Filter::NONE; + Filter _magFilter = Filter::NONE; + Filter _mipFilter = Filter::NONE; + Address _addressU = Address::WRAP; + Address _addressV = Address::WRAP; + Address _addressW = Address::WRAP; + uint _maxAnisotropy = 0; + ComparisonFunc _cmpFunc = ComparisonFunc::ALWAYS; + Color _borderColor; + float _mipLODBias = 0.0f; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_SAMPLER_H_ diff --git a/native/cocos/renderer/gfx-base/GFXShader.cpp b/native/cocos/renderer/gfx-base/GFXShader.cpp index 7454f79a95..dd6f90e161 100644 --- a/native/cocos/renderer/gfx-base/GFXShader.cpp +++ b/native/cocos/renderer/gfx-base/GFXShader.cpp @@ -32,14 +32,42 @@ namespace cc { namespace gfx { -Shader::Shader(Device *device) -: GFXObject(ObjectType::SHADER), - _device(device) { +Shader::Shader() +: GFXObject(ObjectType::SHADER) { _shaderID = generateShaderID(); } Shader::~Shader() { } +void Shader::initialize(const ShaderInfo &info) { + _name = info.name; + _stages = info.stages; + _attributes = info.attributes; + _blocks = info.blocks; + _buffers = info.buffers; + _samplerTextures = info.samplerTextures; + _samplers = info.samplers; + _textures = info.textures; + _images = info.images; + _subpassInputs = info.subpassInputs; + + doInit(info); +} + +void Shader::destroy() { + doDestroy(); + + _stages.clear(); + _attributes.clear(); + _blocks.clear(); + _buffers.clear(); + _samplerTextures.clear(); + _samplers.clear(); + _textures.clear(); + _images.clear(); + _subpassInputs.clear(); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXShader.h b/native/cocos/renderer/gfx-base/GFXShader.h index 1d424f3922..013ecd6353 100644 --- a/native/cocos/renderer/gfx-base/GFXShader.h +++ b/native/cocos/renderer/gfx-base/GFXShader.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_SHADER_H_ -#define CC_CORE_GFX_SHADER_H_ +#pragma once #include "GFXObject.h" @@ -33,13 +32,12 @@ namespace gfx { class CC_DLL Shader : public GFXObject { public: - Shader(Device *device); + Shader(); virtual ~Shader(); - virtual bool initialize(const ShaderInfo &info) = 0; - virtual void destroy() = 0; + void initialize(const ShaderInfo &info); + void destroy(); - CC_INLINE Device *getDevice() const { return _device; } CC_INLINE uint getID() const { return _shaderID; } CC_INLINE const String &getName() const { return _name; } CC_INLINE const ShaderStageList &getStages() const { return _stages; } @@ -58,7 +56,9 @@ protected: return _idGen++; } - Device * _device = nullptr; + virtual void doInit(const ShaderInfo &info) = 0; + virtual void doDestroy() = 0; + uint _shaderID = 0; String _name; ShaderStageList _stages; @@ -74,5 +74,3 @@ protected: } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_SHADER_H_ diff --git a/native/cocos/renderer/gfx-base/GFXTexture.cpp b/native/cocos/renderer/gfx-base/GFXTexture.cpp index 162bdeda3e..0d3663dc2f 100644 --- a/native/cocos/renderer/gfx-base/GFXTexture.cpp +++ b/native/cocos/renderer/gfx-base/GFXTexture.cpp @@ -25,15 +25,15 @@ #include "base/CoreStd.h" +#include "GFXDevice.h" #include "GFXObject.h" #include "GFXTexture.h" namespace cc { namespace gfx { -Texture::Texture(Device *device) -: GFXObject(ObjectType::TEXTURE), - _device(device) { +Texture::Texture() +: GFXObject(ObjectType::TEXTURE) { _textureID = generateTextureID(); } @@ -55,5 +55,102 @@ uint Texture::computeHash(const TextureInfo &info) { return seed; } +void Texture::initialize(const TextureInfo &info) { + _type = info.type; + _usage = info.usage; + _format = info.format; + _width = info.width; + _height = info.height; + _depth = info.depth; + _layerCount = info.layerCount; + _levelCount = info.levelCount; + _samples = info.samples; + _flags = info.flags; + _size = FormatSize(_format, _width, _height, _depth); + +//#if CC_DEBUG > 0 +// switch (_format) { // device feature validation +// case Format::D16: +// if (Device::getInstance()->hasFeature(Feature::FORMAT_D16)) break; +// CC_LOG_ERROR("D16 texture format is not supported on this backend"); +// return; +// case Format::D16S8: +// if (Device::getInstance()->hasFeature(Feature::FORMAT_D16S8)) break; +// CC_LOG_ERROR("D16S8 texture format is not supported on this backend"); +// return; +// case Format::D24: +// if (Device::getInstance()->hasFeature(Feature::FORMAT_D24)) break; +// CC_LOG_ERROR("D24 texture format is not supported on this backend"); +// return; +// case Format::D24S8: +// if (Device::getInstance()->hasFeature(Feature::FORMAT_D24S8)) break; +// CC_LOG_ERROR("D24S8 texture format is not supported on this backend"); +// return; +// case Format::D32F: +// if (Device::getInstance()->hasFeature(Feature::FORMAT_D32F)) break; +// CC_LOG_ERROR("D32F texture format is not supported on this backend"); +// return; +// case Format::D32F_S8: +// if (Device::getInstance()->hasFeature(Feature::FORMAT_D32FS8)) break; +// CC_LOG_ERROR("D32FS8 texture format is not supported on this backend"); +// return; +// case Format::RGB8: +// if (Device::getInstance()->hasFeature(Feature::FORMAT_RGB8)) break; +// CC_LOG_ERROR("RGB8 texture format is not supported on this backend"); +// return; +// default: break; +// } +//#endif + + Device::getInstance()->getMemoryStatus().textureSize += _size; + + doInit(info); +} + +void Texture::initialize(const TextureViewInfo &info) { + _isTextureView = true; + + _type = info.texture->getType(); + _format = info.format; + _baseLayer = info.baseLayer; + _layerCount = info.layerCount; + _baseLevel = info.baseLevel; + _levelCount = info.levelCount; + _usage = info.texture->getUsage(); + _width = info.texture->getWidth(); + _height = info.texture->getHeight(); + _depth = info.texture->getDepth(); + _samples = info.texture->getSamples(); + _flags = info.texture->getFlags(); + _size = FormatSize(_format, _width, _height, _depth); + _isTextureView = true; + + doInit(info); +} + +void Texture::destroy() { + doDestroy(); + + Device::getInstance()->getMemoryStatus().textureSize -= _size; + + _format = Format::UNKNOWN; + _width = _height = _depth = _size = 0; +} + +void Texture::resize(uint width, uint height) { + CCASSERT(!_isTextureView, "Cannot resize texture views"); + + if (_width != width || _height != height) { + doResize(width, height); + + Device::getInstance()->getMemoryStatus().textureSize -= _size; + + _width = width; + _height = height; + _size = FormatSize(_format, width, height, _depth); + Device::getInstance()->getMemoryStatus().textureSize += _size; + } +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXTexture.h b/native/cocos/renderer/gfx-base/GFXTexture.h index 13f5da54eb..214d86f9d4 100644 --- a/native/cocos/renderer/gfx-base/GFXTexture.h +++ b/native/cocos/renderer/gfx-base/GFXTexture.h @@ -32,17 +32,16 @@ namespace gfx { class CC_DLL Texture : public GFXObject { public: - Texture(Device *device); + Texture(); virtual ~Texture(); static uint computeHash(const TextureInfo &info); - virtual bool initialize(const TextureInfo &info) = 0; - virtual bool initialize(const TextureViewInfo &info) = 0; - virtual void destroy() = 0; - virtual void resize(uint width, uint height) = 0; + void initialize(const TextureInfo &info); + void initialize(const TextureViewInfo &info); + void destroy(); + void resize(uint width, uint height); - CC_INLINE Device * getDevice() const { return _device; } CC_INLINE uint getTextureID() const { return _textureID; } CC_INLINE TextureType getType() const { return _type; } CC_INLINE TextureUsage getUsage() const { return _usage; } @@ -55,7 +54,6 @@ public: CC_INLINE uint getSize() const { return _size; } CC_INLINE SampleCount getSamples() const { return _samples; } CC_INLINE TextureFlags getFlags() const { return _flags; } - CC_INLINE uint8_t *getBuffer() const { return _buffer; } CC_INLINE bool isTextureView() const { return _isTextureView; } protected: @@ -64,7 +62,11 @@ protected: return _idGen++; } - Device * _device = nullptr; + virtual void doInit(const TextureInfo &info) = 0; + virtual void doInit(const TextureViewInfo &info) = 0; + virtual void doDestroy() = 0; + virtual void doResize(uint width, uint height) = 0; + uint _textureID = 0; TextureType _type = TextureType::TEX2D; TextureUsage _usage = TextureUsageBit::NONE; @@ -79,7 +81,6 @@ protected: uint _size = 0u; SampleCount _samples = SampleCount::X1; TextureFlags _flags = TextureFlagBit::NONE; - uint8_t * _buffer = nullptr; bool _isTextureView = false; }; diff --git a/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp b/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp index 0900587e03..0030e333f9 100644 --- a/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp @@ -32,9 +32,8 @@ namespace cc { namespace gfx { -TextureBarrier::TextureBarrier(Device *device) -: GFXObject(ObjectType::TEXTURE_BARRIER), - _device(device) { +TextureBarrier::TextureBarrier() +: GFXObject(ObjectType::TEXTURE_BARRIER) { } TextureBarrier::~TextureBarrier() { diff --git a/native/cocos/renderer/gfx-base/GFXTextureBarrier.h b/native/cocos/renderer/gfx-base/GFXTextureBarrier.h index bbeaea276d..17d286546f 100644 --- a/native/cocos/renderer/gfx-base/GFXTextureBarrier.h +++ b/native/cocos/renderer/gfx-base/GFXTextureBarrier.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_GFX_TEXTURE_BARRIER_H_ -#define CC_CORE_GFX_TEXTURE_BARRIER_H_ +#pragma once #include "GFXObject.h" @@ -33,7 +32,7 @@ namespace gfx { class CC_DLL TextureBarrier : public GFXObject { public: - TextureBarrier(Device *device); + TextureBarrier(); virtual ~TextureBarrier(); static uint computeHash(const TextureBarrierInfo &info); @@ -43,13 +42,12 @@ public: protected: friend class Device; - virtual bool initialize(const TextureBarrierInfo &info) { _info = info; return true; } + virtual void doInit(const TextureBarrierInfo &info) {} + + void initialize(const TextureBarrierInfo &info) { _info = info; doInit(info); } - Device *_device = nullptr; TextureBarrierInfo _info; }; } // namespace gfx } // namespace cc - -#endif // CC_CORE_GFX_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp b/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp new file mode 100644 index 0000000000..b53812b235 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp @@ -0,0 +1,47 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyBuffer.h" + +namespace cc { +namespace gfx { + +void EmptyBuffer::doInit(const BufferInfo &info) { +} + +void EmptyBuffer::doInit(const BufferViewInfo &info) { +} + +void EmptyBuffer::doResize(uint size) { +} + +void EmptyBuffer::doDestroy() { +} + +void EmptyBuffer::update(void *buffer, uint size) { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyBuffer.h b/native/cocos/renderer/gfx-empty/EmptyBuffer.h new file mode 100644 index 0000000000..32ea1dc9f8 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyBuffer.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXBuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyBuffer final : public Buffer { +public: + void update(void *buffer, uint size) override; + +protected: + void doInit(const BufferInfo &info) override; + void doInit(const BufferViewInfo &info) override; + void doResize(uint size) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp new file mode 100644 index 0000000000..f77a64fd8e --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp @@ -0,0 +1,104 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyCommandBuffer.h" + +namespace cc { +namespace gfx { + +void EmptyCommandBuffer::doInit(const CommandBufferInfo &info) { +} + +void EmptyCommandBuffer::doDestroy() { +} + +void EmptyCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { +} + +void EmptyCommandBuffer::end() { +} + +void EmptyCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { +} + +void EmptyCommandBuffer::endRenderPass() { +} + +void EmptyCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { +} + +void EmptyCommandBuffer::bindPipelineState(PipelineState *pso) { +} + +void EmptyCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { +} + +void EmptyCommandBuffer::bindInputAssembler(InputAssembler *ia) { +} + +void EmptyCommandBuffer::setViewport(const Viewport &vp) { +} + +void EmptyCommandBuffer::setScissor(const Rect &rect) { +} + +void EmptyCommandBuffer::setLineWidth(float width) { +} + +void EmptyCommandBuffer::setDepthBias(float constant, float clamp, float slope) { +} + +void EmptyCommandBuffer::setBlendConstants(const Color &constants) { +} + +void EmptyCommandBuffer::setDepthBound(float minBounds, float maxBounds) { +} + +void EmptyCommandBuffer::setStencilWriteMask(StencilFace face, uint mask) { +} + +void EmptyCommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint mask) { +} + +void EmptyCommandBuffer::draw(InputAssembler *ia) { +} + +void EmptyCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { +} + +void EmptyCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { +} + +void EmptyCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { +} + +void EmptyCommandBuffer::dispatch(const DispatchInfo &info) { +} + +void EmptyCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h new file mode 100644 index 0000000000..86ece9d477 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h @@ -0,0 +1,64 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXCommandBuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyCommandBuffer final : public CommandBuffer { +public: + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; + void endRenderPass() override; + void bindPipelineState(PipelineState *pso) override; + void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; + void bindInputAssembler(InputAssembler *ia) override; + void setViewport(const Viewport &vp) override; + void setScissor(const Rect &rect) override; + void setLineWidth(float width) override; + void setDepthBias(float constant, float clamp, float slope) override; + void setBlendConstants(const Color &constants) override; + void setDepthBound(float minBounds, float maxBounds) override; + void setStencilWriteMask(StencilFace face, uint mask) override; + void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buff, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; + void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + void dispatch(const DispatchInfo &info) override; + void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; + +protected: + void doInit(const CommandBufferInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyContext.cpp b/native/cocos/renderer/gfx-empty/EmptyContext.cpp new file mode 100644 index 0000000000..ff3c1b4da4 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyContext.cpp @@ -0,0 +1,42 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyContext.h" + +namespace cc { +namespace gfx { + +bool EmptyContext::doInit(const ContextInfo &info) { + return true; +} + +void EmptyContext::doDestroy() { +} + +void EmptyContext::present() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyContext.h b/native/cocos/renderer/gfx-empty/EmptyContext.h new file mode 100644 index 0000000000..835eca9b8b --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyContext.h @@ -0,0 +1,43 @@ +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXContext.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyContext final : public Context { +public: + void present() override; + +protected: + bool doInit(const ContextInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp b/native/cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp new file mode 100644 index 0000000000..c1b416c767 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyDescriptorSet.h" + +namespace cc { +namespace gfx { + +void EmptyDescriptorSet::doInit(const DescriptorSetInfo &info) { +} + +void EmptyDescriptorSet::doDestroy() { +} + +void EmptyDescriptorSet::update() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyDescriptorSet.h b/native/cocos/renderer/gfx-empty/EmptyDescriptorSet.h new file mode 100644 index 0000000000..1f426138ce --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyDescriptorSet.h @@ -0,0 +1,43 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXDescriptorSet.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyDescriptorSet final : public DescriptorSet { +public: + void update() override; + +protected: + void doInit(const DescriptorSetInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp new file mode 100644 index 0000000000..f67907acf9 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyDescriptorSetLayout.h" + +namespace cc { +namespace gfx { + +void EmptyDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { +} + +void EmptyDescriptorSetLayout::doDestroy() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h b/native/cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h new file mode 100644 index 0000000000..4d5735945c --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXDescriptorSetLayout.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyDescriptorSetLayout final : public DescriptorSetLayout { +public: +protected: + void doInit(const DescriptorSetLayoutInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyDevice.cpp b/native/cocos/renderer/gfx-empty/EmptyDevice.cpp new file mode 100644 index 0000000000..a27c459ddd --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyDevice.cpp @@ -0,0 +1,169 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" + +#include "EmptyBuffer.h" +#include "EmptyCommandBuffer.h" +#include "EmptyContext.h" +#include "EmptyDescriptorSet.h" +#include "EmptyDescriptorSetLayout.h" +#include "EmptyDevice.h" +#include "EmptyFramebuffer.h" +#include "EmptyInputAssembler.h" +#include "EmptyPipelineLayout.h" +#include "EmptyPipelineState.h" +#include "EmptyQueue.h" +#include "EmptyRenderPass.h" +#include "EmptySampler.h" +#include "EmptyShader.h" +#include "EmptyTexture.h" + +namespace cc { +namespace gfx { + +EmptyDevice *EmptyDevice::_instance = nullptr; + +EmptyDevice *EmptyDevice::getInstance() { + return EmptyDevice::_instance; +} + +EmptyDevice::EmptyDevice() { + EmptyDevice::_instance = this; +} + +EmptyDevice::~EmptyDevice() { + EmptyDevice::_instance = nullptr; +} + +bool EmptyDevice::doInit(const DeviceInfo &info) { + ContextInfo ctxInfo; + ctxInfo.windowHandle = _windowHandle; + + _context = CC_NEW(EmptyContext); + if (!_context->initialize(ctxInfo)) { + destroy(); + return false; + } + + QueueInfo queueInfo; + queueInfo.type = QueueType::GRAPHICS; + _queue = createQueue(queueInfo); + + CommandBufferInfo cmdBuffInfo; + cmdBuffInfo.type = CommandBufferType::PRIMARY; + cmdBuffInfo.queue = _queue; + _cmdBuff = createCommandBuffer(cmdBuffInfo); + + CC_LOG_INFO("Empty device initialized."); + CC_LOG_INFO("SCREEN_SIZE: %d x %d", _width, _height); + CC_LOG_INFO("NATIVE_SIZE: %d x %d", _nativeWidth, _nativeHeight); + + return true; +} + +void EmptyDevice::doDestroy() { + CC_SAFE_DESTROY(_cmdBuff); + CC_SAFE_DESTROY(_queue); + CC_SAFE_DESTROY(_context); +} + +void EmptyDevice::resize(uint width, uint height) { + _width = _nativeWidth = width; + _height = _nativeHeight = height; +} + +void EmptyDevice::acquire() { +} + +void EmptyDevice::present() { + std::this_thread::sleep_for(std::chrono::milliseconds(16)); +} + +CommandBuffer *EmptyDevice::createCommandBuffer(const CommandBufferInfo &info, bool Emptyhas) { + return CC_NEW(EmptyCommandBuffer()); +} + +Queue *EmptyDevice::createQueue() { + return CC_NEW(EmptyQueue()); +} + +Buffer *EmptyDevice::createBuffer() { + return CC_NEW(EmptyBuffer()); +} + +Texture *EmptyDevice::createTexture() { + return CC_NEW(EmptyTexture()); +} + +Sampler *EmptyDevice::createSampler() { + return CC_NEW(EmptySampler()); +} + +Shader *EmptyDevice::createShader() { + return CC_NEW(EmptyShader()); +} + +InputAssembler *EmptyDevice::createInputAssembler() { + return CC_NEW(EmptyInputAssembler()); +} + +RenderPass *EmptyDevice::createRenderPass() { + return CC_NEW(EmptyRenderPass()); +} + +Framebuffer *EmptyDevice::createFramebuffer() { + return CC_NEW(EmptyFramebuffer()); +} + +DescriptorSet *EmptyDevice::createDescriptorSet() { + return CC_NEW(EmptyDescriptorSet()); +} + +DescriptorSetLayout *EmptyDevice::createDescriptorSetLayout() { + return CC_NEW(EmptyDescriptorSetLayout()); +} + +PipelineLayout *EmptyDevice::createPipelineLayout() { + return CC_NEW(EmptyPipelineLayout()); +} + +PipelineState *EmptyDevice::createPipelineState() { + return CC_NEW(EmptyPipelineState()); +} + +GlobalBarrier *EmptyDevice::createGlobalBarrier() { + return CC_NEW(GlobalBarrier()); +} + +TextureBarrier *EmptyDevice::createTextureBarrier() { + return CC_NEW(TextureBarrier()); +} + +void EmptyDevice::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyDevice.h b/native/cocos/renderer/gfx-empty/EmptyDevice.h new file mode 100644 index 0000000000..8421390246 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyDevice.h @@ -0,0 +1,89 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXDevice.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyDevice final : public Device { +public: + static EmptyDevice *getInstance(); + + ~EmptyDevice() override; + + using Device::copyBuffersToTexture; + using Device::createBuffer; + using Device::createCommandBuffer; + using Device::createDescriptorSet; + using Device::createDescriptorSetLayout; + using Device::createFramebuffer; + using Device::createGlobalBarrier; + using Device::createInputAssembler; + using Device::createPipelineLayout; + using Device::createPipelineState; + using Device::createQueue; + using Device::createRenderPass; + using Device::createSampler; + using Device::createShader; + using Device::createTexture; + using Device::createTextureBarrier; + + void resize(uint width, uint height) override; + void acquire() override; + void present() override; + + CommandBuffer * createCommandBuffer(const CommandBufferInfo &info, bool Emptyhas) override; + Queue * createQueue() override; + Buffer * createBuffer() override; + Texture * createTexture() override; + Sampler * createSampler() override; + Shader * createShader() override; + InputAssembler * createInputAssembler() override; + RenderPass * createRenderPass() override; + Framebuffer * createFramebuffer() override; + DescriptorSet * createDescriptorSet() override; + DescriptorSetLayout *createDescriptorSetLayout() override; + PipelineLayout * createPipelineLayout() override; + PipelineState * createPipelineState() override; + GlobalBarrier * createGlobalBarrier() override; + TextureBarrier * createTextureBarrier() override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + +protected: + static EmptyDevice *_instance; + + friend class DeviceCreator; + + EmptyDevice(); + + bool doInit(const DeviceInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyFramebuffer.cpp b/native/cocos/renderer/gfx-empty/EmptyFramebuffer.cpp new file mode 100644 index 0000000000..b352e948ac --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyFramebuffer.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyFramebuffer.h" + +namespace cc { +namespace gfx { + +void EmptyFramebuffer::doInit(const FramebufferInfo &info) { +} + +void EmptyFramebuffer::doDestroy() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyFramebuffer.h b/native/cocos/renderer/gfx-empty/EmptyFramebuffer.h new file mode 100644 index 0000000000..0d99fe532e --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyFramebuffer.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXFramebuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyFramebuffer final : public Framebuffer { +public: +protected: + void doInit(const FramebufferInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyInputAssembler.cpp b/native/cocos/renderer/gfx-empty/EmptyInputAssembler.cpp new file mode 100644 index 0000000000..9b6d09e2a7 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyInputAssembler.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyInputAssembler.h" + +namespace cc { +namespace gfx { + +void EmptyInputAssembler::doInit(const InputAssemblerInfo &info) { +} + +void EmptyInputAssembler::doDestroy() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyInputAssembler.h b/native/cocos/renderer/gfx-empty/EmptyInputAssembler.h new file mode 100644 index 0000000000..4cf915c446 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyInputAssembler.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXInputAssembler.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyInputAssembler final : public InputAssembler { +public: +protected: + void doInit(const InputAssemblerInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp b/native/cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp new file mode 100644 index 0000000000..7eb88fee98 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyPipelineLayout.h" + +namespace cc { +namespace gfx { + +void EmptyPipelineLayout::doInit(const PipelineLayoutInfo &info) { +} + +void EmptyPipelineLayout::doDestroy() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyPipelineLayout.h b/native/cocos/renderer/gfx-empty/EmptyPipelineLayout.h new file mode 100644 index 0000000000..b4c106e550 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyPipelineLayout.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXPipelineLayout.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyPipelineLayout final : public PipelineLayout { +public: +protected: + void doInit(const PipelineLayoutInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyPipelineState.cpp b/native/cocos/renderer/gfx-empty/EmptyPipelineState.cpp new file mode 100644 index 0000000000..dadfe6d173 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyPipelineState.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyPipelineState.h" + +namespace cc { +namespace gfx { + +void EmptyPipelineState::doInit(const PipelineStateInfo &info) { +} + +void EmptyPipelineState::doDestroy() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyPipelineState.h b/native/cocos/renderer/gfx-empty/EmptyPipelineState.h new file mode 100644 index 0000000000..ebcc309516 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyPipelineState.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXPipelineState.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyPipelineState final : public PipelineState { +public: +protected: + void doInit(const PipelineStateInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyQueue.cpp b/native/cocos/renderer/gfx-empty/EmptyQueue.cpp new file mode 100644 index 0000000000..fc282fd457 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyQueue.cpp @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyQueue.h" + +namespace cc { +namespace gfx { + +void EmptyQueue::doInit(const QueueInfo &info) { +} + +void EmptyQueue::doDestroy() { +} + +void EmptyQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyQueue.h b/native/cocos/renderer/gfx-empty/EmptyQueue.h new file mode 100644 index 0000000000..b74d22b06d --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyQueue.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXQueue.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyQueue final : public Queue { +public: + using Queue::submit; + + void submit(CommandBuffer *const *cmdBuffs, uint count) override; + +protected: + void doInit(const QueueInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyRenderPass.cpp b/native/cocos/renderer/gfx-empty/EmptyRenderPass.cpp new file mode 100644 index 0000000000..b9f17fb79d --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyRenderPass.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyRenderPass.h" + +namespace cc { +namespace gfx { + +void EmptyRenderPass::doInit(const RenderPassInfo &info) { +} + +void EmptyRenderPass::doDestroy() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyRenderPass.h b/native/cocos/renderer/gfx-empty/EmptyRenderPass.h new file mode 100644 index 0000000000..96e0c6cf83 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyRenderPass.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXRenderPass.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyRenderPass final : public RenderPass { +public: +protected: + void doInit(const RenderPassInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptySampler.cpp b/native/cocos/renderer/gfx-empty/EmptySampler.cpp new file mode 100644 index 0000000000..de1a9285bb --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptySampler.cpp @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptySampler.h" + +namespace cc { +namespace gfx { + +void EmptySampler::doInit(const SamplerInfo &info) { +} + +void EmptySampler::doDestroy() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptySampler.h b/native/cocos/renderer/gfx-empty/EmptySampler.h new file mode 100644 index 0000000000..b09dc12044 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptySampler.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXSampler.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptySampler final : public Sampler { +public: +protected: + void doInit(const SamplerInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyShader.cpp b/native/cocos/renderer/gfx-empty/EmptyShader.cpp new file mode 100644 index 0000000000..47f6f0a91a --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyShader.cpp @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" + +#include "EmptyShader.h" + +namespace cc { +namespace gfx { + +void EmptyShader::doInit(const ShaderInfo &info) { + CC_LOG_INFO("Shader '%s' compilation succeeded.", info.name.c_str()); +} + +void EmptyShader::doDestroy() { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyShader.h b/native/cocos/renderer/gfx-empty/EmptyShader.h new file mode 100644 index 0000000000..a42aaa6f3d --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyShader.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXShader.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyShader final : public Shader { +public: +protected: + void doInit(const ShaderInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyTexture.cpp b/native/cocos/renderer/gfx-empty/EmptyTexture.cpp new file mode 100644 index 0000000000..f27ec3deeb --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyTexture.cpp @@ -0,0 +1,44 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "EmptyTexture.h" + +namespace cc { +namespace gfx { + +void EmptyTexture::doInit(const TextureInfo &info) { +} + +void EmptyTexture::doInit(const TextureViewInfo &info) { +} + +void EmptyTexture::doDestroy() { +} + +void EmptyTexture::doResize(uint width, uint height) { +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-empty/EmptyTexture.h b/native/cocos/renderer/gfx-empty/EmptyTexture.h new file mode 100644 index 0000000000..c4bfbf3205 --- /dev/null +++ b/native/cocos/renderer/gfx-empty/EmptyTexture.h @@ -0,0 +1,43 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXTexture.h" + +namespace cc { +namespace gfx { + +class CC_DLL EmptyTexture final : public Texture { +public: +protected: + void doInit(const TextureInfo &info) override; + void doInit(const TextureViewInfo &info) override; + void doDestroy() override; + void doResize(uint width, uint height) override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h index af0a9e39d0..a05ff4562d 100644 --- a/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h +++ b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h @@ -56,7 +56,7 @@ public: #define INITIAL_CAPACITY 1 -template ::value>> +template ::value>> class CommandPool { public: CommandPool() : _freeCmds(INITIAL_CAPACITY) { @@ -128,7 +128,7 @@ public: _freeCmds.clear(); } -private: +protected: T **_frees = nullptr; uint _count = 0; CachedArray _freeCmds; diff --git a/native/cocos/renderer/gfx-gles2/GFXGLES2.h b/native/cocos/renderer/gfx-gles2/GFXGLES2.h index c6921324eb..35859993b1 100644 --- a/native/cocos/renderer/gfx-gles2/GFXGLES2.h +++ b/native/cocos/renderer/gfx-gles2/GFXGLES2.h @@ -23,10 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_H_ -#define CC_GFXGLES2_H_ +#pragma once #include "GLES2Std.h" #include "GLES2Device.h" - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp index 27590a3a96..6d8d4a032d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp @@ -25,74 +25,46 @@ #include "GLES2Std.h" -#include "GLES2Device.h" #include "GLES2Buffer.h" #include "GLES2Commands.h" +#include "GLES2Device.h" namespace cc { namespace gfx { -GLES2Buffer::GLES2Buffer(Device *device) -: Buffer(device) { +GLES2Buffer::GLES2Buffer() +: Buffer() { } GLES2Buffer::~GLES2Buffer() { } -bool GLES2Buffer::initialize(const BufferInfo &info) { - - _usage = info.usage; - _memUsage = info.memUsage; - _size = info.size; - _stride = std::max(info.stride, 1u); - _count = _size / _stride; - _flags = info.flags; - - _gpuBuffer = CC_NEW(GLES2GPUBuffer); - if (!_gpuBuffer) { - CC_LOG_ERROR("GLES2Buffer: CC_NEW GLES2GPUBuffer failed."); - return false; - } - _gpuBuffer->usage = _usage; +void GLES2Buffer::doInit(const BufferInfo &info) { + _gpuBuffer = CC_NEW(GLES2GPUBuffer); + _gpuBuffer->usage = _usage; _gpuBuffer->memUsage = _memUsage; - _gpuBuffer->size = _size; - _gpuBuffer->stride = _stride; - _gpuBuffer->count = _count; + _gpuBuffer->size = _size; + _gpuBuffer->stride = _stride; + _gpuBuffer->count = _count; if (_usage & BufferUsageBit::INDIRECT) { _gpuBuffer->indirects.resize(_count); } - GLES2CmdFuncCreateBuffer((GLES2Device *)_device, _gpuBuffer); - _device->getMemoryStatus().bufferSize += _size; - - return true; + GLES2CmdFuncCreateBuffer(GLES2Device::getInstance(), _gpuBuffer); } -bool GLES2Buffer::initialize(const BufferViewInfo &info) { - - _isBufferView = true; - - GLES2Buffer *buffer = (GLES2Buffer *)info.buffer; - - _usage = buffer->_usage; - _memUsage = buffer->_memUsage; - _size = _stride = info.range; - _count = 1u; - _flags = buffer->_flags; - - _gpuBufferView = CC_NEW(GLES2GPUBufferView); +void GLES2Buffer::doInit(const BufferViewInfo &info) { + GLES2Buffer *buffer = (GLES2Buffer *)info.buffer; + _gpuBufferView = CC_NEW(GLES2GPUBufferView); _gpuBufferView->gpuBuffer = buffer->gpuBuffer(); - _gpuBufferView->range = _size; - _gpuBufferView->offset = info.offset; - - return true; + _gpuBufferView->range = _size; + _gpuBufferView->offset = info.offset; } -void GLES2Buffer::destroy() { +void GLES2Buffer::doDestroy() { if (_gpuBuffer) { - GLES2CmdFuncDestroyBuffer((GLES2Device *)_device, _gpuBuffer); - _device->getMemoryStatus().bufferSize -= _size; + GLES2CmdFuncDestroyBuffer(GLES2Device::getInstance(), _gpuBuffer); CC_DELETE(_gpuBuffer); _gpuBuffer = nullptr; } @@ -100,21 +72,10 @@ void GLES2Buffer::destroy() { CC_SAFE_DELETE(_gpuBufferView); } -void GLES2Buffer::resize(uint size) { - CCASSERT(!_isBufferView, "Cannot resize buffer views"); - - if (_size != size) { - const uint oldSize = _size; - _size = size; - _count = _size / _stride; - - MemoryStatus &status = _device->getMemoryStatus(); - _gpuBuffer->size = _size; - _gpuBuffer->count = _count; - GLES2CmdFuncResizeBuffer((GLES2Device *)_device, _gpuBuffer); - status.bufferSize -= oldSize; - status.bufferSize += _size; - } +void GLES2Buffer::doResize(uint size) { + _gpuBuffer->size = _size; + _gpuBuffer->count = _count; + GLES2CmdFuncResizeBuffer(GLES2Device::getInstance(), _gpuBuffer); } void GLES2Buffer::update(void *buffer, uint size) { @@ -122,7 +83,7 @@ void GLES2Buffer::update(void *buffer, uint size) { CCASSERT(size != 0, "Should not update buffer with 0 bytes of data"); CCASSERT(buffer, "Buffer should not be nullptr"); - GLES2CmdFuncUpdateBuffer((GLES2Device *)_device, _gpuBuffer, buffer, 0u, size); + GLES2CmdFuncUpdateBuffer(GLES2Device::getInstance(), _gpuBuffer, buffer, 0u, size); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h index 2c28fe204c..46e9e78522 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h @@ -35,21 +35,21 @@ class GLES2GPUBufferView; class CC_GLES2_API GLES2Buffer final : public Buffer { public: - GLES2Buffer(Device *device); + GLES2Buffer(); ~GLES2Buffer(); -public: - bool initialize(const BufferInfo &info) override; - bool initialize(const BufferViewInfo &info) override; - void destroy() override; - void resize(uint size) override; void update(void *buffer, uint size) override; CC_INLINE GLES2GPUBuffer *gpuBuffer() const { return _gpuBuffer; } CC_INLINE GLES2GPUBufferView *gpuBufferView() const { return _gpuBufferView; } -private: - GLES2GPUBuffer *_gpuBuffer = nullptr; +protected: + void doInit(const BufferInfo &info) override; + void doInit(const BufferViewInfo &info) override; + void doDestroy() override; + void doResize(uint size) override; + + GLES2GPUBuffer * _gpuBuffer = nullptr; GLES2GPUBufferView *_gpuBufferView = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 7a66e9b124..f51ad0f7a2 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -38,28 +38,26 @@ namespace cc { namespace gfx { -GLES2CommandBuffer::GLES2CommandBuffer(Device *device) -: CommandBuffer(device) { +GLES2CommandBuffer::GLES2CommandBuffer() +: CommandBuffer() { } GLES2CommandBuffer::~GLES2CommandBuffer() { } -bool GLES2CommandBuffer::initialize(const CommandBufferInfo &info) { +void GLES2CommandBuffer::doInit(const CommandBufferInfo &info) { _type = info.type; _queue = info.queue; _cmdAllocator = CC_NEW(GLES2GPUCommandAllocator); _curCmdPackage = CC_NEW(GLES2CmdPackage); - size_t setCount = ((GLES2Device *)_device)->bindingMappingInfo().bufferOffsets.size(); + size_t setCount = GLES2Device::getInstance()->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); _curDynamicOffsets.resize(setCount); - - return true; } -void GLES2CommandBuffer::destroy() { +void GLES2CommandBuffer::doDestroy() { _cmdAllocator->clearCmds(_curCmdPackage); CC_SAFE_DELETE(_curCmdPackage); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index c3c9736032..ca0a7ec31d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_COMMAND_BUFFER_H_ -#define CC_GFXGLES2_COMMAND_BUFFER_H_ +#pragma once #include "gfx-base/GFXCommandBuffer.h" #include "GLES2Commands.h" @@ -36,39 +35,38 @@ class GLES2GPUCommandAllocator; class CC_GLES2_API GLES2CommandBuffer : public CommandBuffer { public: - GLES2CommandBuffer(Device *device); + GLES2CommandBuffer(); ~GLES2CommandBuffer(); friend class GLES2Queue; -public: - virtual bool initialize(const CommandBufferInfo &info) override; - virtual void destroy() override; - - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; - virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; - virtual void endRenderPass() override; - virtual void bindPipelineState(PipelineState *pso) override; - virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; - virtual void bindInputAssembler(InputAssembler *ia) override; - virtual void setViewport(const Viewport &vp) override; - virtual void setScissor(const Rect &rect) override; - virtual void setLineWidth(float width) override; - virtual void setDepthBias(float constant, float clamp, float slope) override; - virtual void setBlendConstants(const Color &constants) override; - virtual void setDepthBound(float minBounds, float maxBounds) override; - virtual void setStencilWriteMask(StencilFace face, uint mask) override; - virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; - virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; - virtual void dispatch(const DispatchInfo &info) override {} - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override {} + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; + void endRenderPass() override; + void bindPipelineState(PipelineState *pso) override; + void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; + void bindInputAssembler(InputAssembler *ia) override; + void setViewport(const Viewport &vp) override; + void setScissor(const Rect &rect) override; + void setLineWidth(float width) override; + void setDepthBias(float constant, float clamp, float slope) override; + void setBlendConstants(const Color &constants) override; + void setDepthBound(float minBounds, float maxBounds) override; + void setStencilWriteMask(StencilFace face, uint mask) override; + void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buff, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; + void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + void dispatch(const DispatchInfo &info) override {} + void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override {} protected: + void doInit(const CommandBufferInfo &info) override; + void doDestroy() override; + void BindStates(); GLES2GPUCommandAllocator *_cmdAllocator = nullptr; @@ -93,5 +91,3 @@ protected: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index 1912c597af..5a92b02340 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_COMMANDS_H_ -#define CC_GFXGLES2_COMMANDS_H_ +#pragma once #include "../gfx-gles-common/GLESCommandPool.h" #include "GLES2GPUObjects.h" @@ -84,7 +83,7 @@ public: GLES2CmdBeginRenderPass() : GLESCmd(GLESCmdType::BEGIN_RENDER_PASS) {} - virtual void clear() override { + void clear() override { gpuFBO = nullptr; numClearColors = 0; } @@ -120,7 +119,7 @@ public: GLES2CmdBindStates() : GLESCmd(GLESCmdType::BIND_STATES) {} - virtual void clear() override { + void clear() override { gpuPipelineState = nullptr; gpuInputAssembler = nullptr; gpuDescriptorSets.clear(); @@ -133,7 +132,7 @@ public: DrawInfo drawInfo; GLES2CmdDraw() : GLESCmd(GLESCmdType::DRAW) {} - virtual void clear() override {} + void clear() override {} }; class GLES2CmdUpdateBuffer final : public GLESCmd { @@ -145,7 +144,7 @@ public: GLES2CmdUpdateBuffer() : GLESCmd(GLESCmdType::UPDATE_BUFFER) {} - virtual void clear() override { + void clear() override { gpuBuffer = nullptr; buffer = nullptr; } @@ -160,7 +159,7 @@ public: GLES2CmdCopyBufferToTexture() : GLESCmd(GLESCmdType::COPY_BUFFER_TO_TEXTURE) {} - virtual void clear() override { + void clear() override { gpuTexture = nullptr; regions = nullptr; count = 0u; @@ -245,5 +244,3 @@ CC_GLES2_API void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage * } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index fc449d6c39..89b2788a2e 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -91,8 +91,8 @@ void GL_APIENTRY GLES2EGLDebugProc(GLenum source, #endif -GLES2Context::GLES2Context(Device *device) -: Context(device) { +GLES2Context::GLES2Context() +: Context() { } GLES2Context::~GLES2Context() { @@ -100,18 +100,18 @@ GLES2Context::~GLES2Context() { #if (CC_PLATFORM == CC_PLATFORM_WINDOWS || CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_MAC_OSX) -bool GLES2Context::initialize(const ContextInfo &info) { +bool GLES2Context::doInit(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; ////////////////////////////////////////////////////////////////////////// - if (!gles2wInit()) { - return false; - } - if (!info.sharedCtx) { + if (!gles2wInit()) { + return false; + } + _isPrimaryContex = true; _windowHandle = info.windowHandle; @@ -216,8 +216,8 @@ bool GLES2Context::initialize(const ContextInfo &info) { return false; } - uint width = _device->getWidth(); - uint height = _device->getHeight(); + uint width = GLES2Device::getInstance()->getWidth(); + uint height = GLES2Device::getInstance()->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); #endif @@ -260,26 +260,25 @@ bool GLES2Context::initialize(const ContextInfo &info) { return false; } - _eglSharedContext = _eglContext; - - #if (CC_PLATFORM == CC_PLATFORM_ANDROID) - EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { +#if (CC_PLATFORM == CC_PLATFORM_ANDROID) + EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent & /*unused*/) -> void { if (_eglSurface != EGL_NO_SURFACE) { eglDestroySurface(_eglDisplay, _eglSurface); _eglSurface = EGL_NO_SURFACE; } }); + // guaranteed to be invoked in the order they were added EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [=](const CustomEvent &event) -> void { _windowHandle = (uintptr_t)event.args->ptrVal; - EGLint nFmt; + EGLint nFmt = 0; if (eglGetConfigAttrib(_eglDisplay, _eglConfig, EGL_NATIVE_VISUAL_ID, &nFmt) == EGL_FALSE) { CC_LOG_ERROR("Getting configuration attributes failed."); return; } - uint width = _device->getWidth(); - uint height = _device->getHeight(); + uint width = GLES2Device::getInstance()->getWidth(); + uint height = GLES2Device::getInstance()->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); @@ -288,14 +287,12 @@ bool GLES2Context::initialize(const ContextInfo &info) { return; } - ((GLES2Context *)_device->getContext())->MakeCurrent(); - ((GLES2Device *)_device)->stateCache()->reset(); + ((GLES2Context *)GLES2Device::getInstance()->getContext())->MakeCurrent(); + GLES2Device::getInstance()->stateCache()->reset(); }); - #endif +#endif - if (!gles2wInit()) { - return false; - } + _eglSharedContext = _eglContext; } else { GLES2Context *sharedCtx = (GLES2Context *)info.sharedCtx; @@ -351,7 +348,7 @@ bool GLES2Context::initialize(const ContextInfo &info) { return true; } -void GLES2Context::destroy() { +void GLES2Context::doDestroy() { EGL_CHECK(eglMakeCurrent(_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); if (_eglContext != EGL_NO_CONTEXT) { @@ -359,21 +356,23 @@ void GLES2Context::destroy() { _eglContext = EGL_NO_CONTEXT; } - if (_isPrimaryContex && _eglSurface != EGL_NO_SURFACE) { - EGL_CHECK(eglDestroySurface(_eglDisplay, _eglSurface)); - _eglSurface = EGL_NO_SURFACE; - } + if (_isPrimaryContex) { + if (_eglSurface != EGL_NO_SURFACE) { + EGL_CHECK(eglDestroySurface(_eglDisplay, _eglSurface)); + _eglSurface = EGL_NO_SURFACE; + } - if (_eglDisplay != EGL_NO_DISPLAY) { - EGL_CHECK(eglTerminate(_eglDisplay)); - _eglDisplay = EGL_NO_DISPLAY; - } + if (_eglDisplay != EGL_NO_DISPLAY) { + EGL_CHECK(eglTerminate(_eglDisplay)); + _eglDisplay = EGL_NO_DISPLAY; + } #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) - if (_isPrimaryContex && _nativeDisplay) { - ReleaseDC((HWND)_windowHandle, _nativeDisplay); - } + if (_nativeDisplay) { + ReleaseDC((HWND)_windowHandle, _nativeDisplay); + } #endif + } _isPrimaryContex = false; _windowHandle = 0; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.h b/native/cocos/renderer/gfx-gles2/GLES2Context.h index 8ca5c8b092..a0426527f9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_EGL_CONTEXT_H_ -#define CC_GFXGLES2_EGL_CONTEXT_H_ +#pragma once #include "gfx-base/GFXContext.h" #include "GLES2Wrangler.h" @@ -34,13 +33,10 @@ namespace gfx { class CC_GLES2_API GLES2Context final : public Context { public: - GLES2Context(Device *device); + GLES2Context(); ~GLES2Context(); -public: - virtual bool initialize(const ContextInfo &info) override; - virtual void destroy() override; - virtual void present() override; + void present() override; bool MakeCurrent(bool bound); bool CheckExtension(const String &extension) const; @@ -61,15 +57,17 @@ public: CC_INLINE int major_ver() const { return _majorVersion; } CC_INLINE int minor_ver() const { return _minorVersion; } -private: bool MakeCurrentImpl(bool bound); #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) bool createCustomFrameBuffer(); - void destroyCustomFrameBuffer(); + void doDestroyCustomFrameBuffer(); #endif -private: +protected: + bool doInit(const ContextInfo &info) override; + void doDestroy() override; + bool _isPrimaryContex = false; #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) intptr_t _eaglContext = 0; @@ -94,5 +92,3 @@ private: } // namespace gfx } // namespace cc - -#endif // CC_GFXGLES2_EGL_CONTEXT_H_ diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.mm b/native/cocos/renderer/gfx-gles2/GLES2Context.mm index 80270d7eed..8c52b47486 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.mm +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.mm @@ -38,7 +38,7 @@ namespace gfx { #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) -bool GLES2Context::initialize(const ContextInfo &info) { +void GLES2Context::doInit(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; @@ -191,7 +191,7 @@ void GLES2Context::destroyCustomFrameBuffer() } } -void GLES2Context::destroy() { +void GLES2Context::doDestroy() { destroyCustomFrameBuffer(); if (_eaglContext) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index 9f35a1a26e..e0f7be88a9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -35,17 +35,14 @@ namespace cc { namespace gfx { -GLES2DescriptorSet::GLES2DescriptorSet(Device *device) -: DescriptorSet(device) { +GLES2DescriptorSet::GLES2DescriptorSet() +: DescriptorSet() { } GLES2DescriptorSet::~GLES2DescriptorSet() { } -bool GLES2DescriptorSet::initialize(const DescriptorSetInfo &info) { - - _layout = info.layout; - +void GLES2DescriptorSet::doInit(const DescriptorSetInfo &info) { const GLES2GPUDescriptorSetLayout *gpuDescriptorSetLayout = ((GLES2DescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; const size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); @@ -64,19 +61,13 @@ bool GLES2DescriptorSet::initialize(const DescriptorSetInfo &info) { } _gpuDescriptorSet->descriptorIndices = &gpuDescriptorSetLayout->descriptorIndices; - - return true; } -void GLES2DescriptorSet::destroy() { +void GLES2DescriptorSet::doDestroy() { if (_gpuDescriptorSet) { CC_DELETE(_gpuDescriptorSet); _gpuDescriptorSet = nullptr; } - // do remember to clear these or else it might not be properly updated when reused - _buffers.clear(); - _textures.clear(); - _samplers.clear(); } void GLES2DescriptorSet::update() { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h index abeaba8e37..42afbd8b90 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.h @@ -35,17 +35,17 @@ class GLES2GPUDescriptorSet; class CC_GLES2_API GLES2DescriptorSet final : public DescriptorSet { public: - GLES2DescriptorSet(Device *device); + GLES2DescriptorSet(); ~GLES2DescriptorSet(); -public: - virtual bool initialize(const DescriptorSetInfo &info) override; - virtual void destroy() override; - virtual void update() override; + void update() override; CC_INLINE GLES2GPUDescriptorSet *gpuDescriptorSet() const { return _gpuDescriptorSet; } -private: +protected: + void doInit(const DescriptorSetInfo &info) override; + void doDestroy() override; + GLES2GPUDescriptorSet *_gpuDescriptorSet = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp index 25560f9c62..3845c1b9e1 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp @@ -31,45 +31,21 @@ namespace cc { namespace gfx { -GLES2DescriptorSetLayout::GLES2DescriptorSetLayout(Device *device) -: DescriptorSetLayout(device) { +GLES2DescriptorSetLayout::GLES2DescriptorSetLayout() +: DescriptorSetLayout() { } GLES2DescriptorSetLayout::~GLES2DescriptorSetLayout() { } -bool GLES2DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { - - _bindings = info.bindings; - size_t bindingCount = _bindings.size(); - _descriptorCount = 0u; - - if (bindingCount) { - uint maxBinding = 0u; - vector flattenedIndices(bindingCount); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - flattenedIndices[i] = _descriptorCount; - _descriptorCount += binding.count; - if (binding.binding > maxBinding) maxBinding = binding.binding; - } - - _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - _bindingIndices[binding.binding] = i; - _descriptorIndices[binding.binding] = flattenedIndices[i]; - } - } - +void GLES2DescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { _gpuDescriptorSetLayout = CC_NEW(GLES2GPUDescriptorSetLayout); _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; _gpuDescriptorSetLayout->bindingIndices = _bindingIndices; _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; _gpuDescriptorSetLayout->bindings = _bindings; - for (uint i = 0u; i < bindingCount; i++) { + for (uint i = 0u; i < _bindings.size(); i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { for (uint j = 0u; j < binding.count; j++) { @@ -77,10 +53,9 @@ bool GLES2DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { } } } - return true; } -void GLES2DescriptorSetLayout::destroy() { +void GLES2DescriptorSetLayout::doDestroy() { if (_gpuDescriptorSetLayout) { CC_DELETE(_gpuDescriptorSetLayout); _gpuDescriptorSetLayout = nullptr; diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h index 541f647ad7..811cf34307 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h @@ -35,16 +35,15 @@ class GLES2GPUDescriptorSetLayout; class CC_GLES2_API GLES2DescriptorSetLayout final : public DescriptorSetLayout { public: - GLES2DescriptorSetLayout(Device *device); + GLES2DescriptorSetLayout(); ~GLES2DescriptorSetLayout(); -public: - virtual bool initialize(const DescriptorSetLayoutInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES2GPUDescriptorSetLayout *gpuDescriptorSetLayout() const { return _gpuDescriptorSetLayout; } -private: +protected: + void doInit(const DescriptorSetLayoutInfo &info) override; + void doDestroy() override; + GLES2GPUDescriptorSetLayout *_gpuDescriptorSetLayout = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 053f5ccc46..2483938d02 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -45,45 +45,49 @@ namespace cc { namespace gfx { +GLES2Device *GLES2Device::_instance = nullptr; + +GLES2Device *GLES2Device::getInstance() { + return GLES2Device::_instance; +} + GLES2Device::GLES2Device() { + _API = API::GLES2; + _deviceName = "GLES2"; + + GLES2Device::_instance = this; } GLES2Device::~GLES2Device() { + GLES2Device::_instance = nullptr; } -bool GLES2Device::initialize(const DeviceInfo &info) { - _API = API::GLES2; - _deviceName = "GLES2"; - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; - _nativeHeight = info.nativeHeight; - _windowHandle = info.windowHandle; - - _bindingMappingInfo = info.bindingMappingInfo; - if (!_bindingMappingInfo.bufferOffsets.size()) { - _bindingMappingInfo.bufferOffsets.push_back(0); - } - if (!_bindingMappingInfo.samplerOffsets.size()) { - _bindingMappingInfo.samplerOffsets.push_back(0); - } - - _gpuStateCache = CC_NEW(GLES2GPUStateCache); - _gpuStagingBufferPool = CC_NEW(GLES2GPUStagingBufferPool); - +bool GLES2Device::doInit(const DeviceInfo &info) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = info.sharedCtx; - _renderContext = CC_NEW(GLES2Context(this)); + _renderContext = CC_NEW(GLES2Context); if (!_renderContext->initialize(ctxInfo)) { destroy(); return false; } + + QueueInfo queueInfo; + queueInfo.type = QueueType::GRAPHICS; + _queue = createQueue(queueInfo); + + CommandBufferInfo cmdBuffInfo; + cmdBuffInfo.type = CommandBufferType::PRIMARY; + cmdBuffInfo.queue = _queue; + _cmdBuff = createCommandBuffer(cmdBuffInfo); + + _gpuStateCache = CC_NEW(GLES2GPUStateCache); + _gpuStagingBufferPool = CC_NEW(GLES2GPUStagingBufferPool); + bindRenderContext(true); String extStr = (const char *)glGetString(GL_EXTENSIONS); - _extensions = StringUtil::Split(extStr, " "); + _extensions = StringUtil::Split(extStr, " "); if (checkExtension("GL_OES_texture_float")) { _features[(int)Feature::TEXTURE_FLOAT] = true; @@ -94,8 +98,8 @@ bool GLES2Device::initialize(const DeviceInfo &info) { } _features[(int)Feature::FORMAT_R11G11B10F] = true; - _features[(int)Feature::FORMAT_D24S8] = true; - _features[(int)Feature::MSAA] = true; + _features[(int)Feature::FORMAT_D24S8] = true; + _features[(int)Feature::MSAA] = true; if (checkExtension("GL_OES_element_index_uint")) { _features[(int)Feature::ELEMENT_INDEX_UINT] = true; @@ -119,10 +123,10 @@ bool GLES2Device::initialize(const DeviceInfo &info) { if (checkExtension("blend_minmax")) _features[(int)Feature::BLEND_MINMAX] = true; - _useVAO = checkExtension("vertex_array_object"); - _useDrawInstanced = checkExtension("draw_instanced"); + _useVAO = checkExtension("vertex_array_object"); + _useDrawInstanced = checkExtension("draw_instanced"); _useInstancedArrays = _features[(int)Feature::INSTANCED_ARRAYS] = checkExtension("instanced_arrays"); - _useDiscardFramebuffer = checkExtension("discard_framebuffer"); + _useDiscardFramebuffer = checkExtension("discard_framebuffer"); String compressedFmts; @@ -145,21 +149,21 @@ bool GLES2Device::initialize(const DeviceInfo &info) { _features[(int)Feature::FORMAT_ASTC] = true; compressedFmts += "astc "; } - _features[static_cast(Feature::DEPTH_BOUNDS)] = true; - _features[static_cast(Feature::LINE_WIDTH)] = true; + _features[static_cast(Feature::DEPTH_BOUNDS)] = true; + _features[static_cast(Feature::LINE_WIDTH)] = true; _features[static_cast(Feature::STENCIL_COMPARE_MASK)] = true; - _features[static_cast(Feature::STENCIL_WRITE_MASK)] = true; - _features[static_cast(Feature::FORMAT_RGB8)] = true; + _features[static_cast(Feature::STENCIL_WRITE_MASK)] = true; + _features[static_cast(Feature::FORMAT_RGB8)] = true; if (checkExtension("depth_texture")) { - _features[static_cast(Feature::FORMAT_D16)] = true; - _features[static_cast(Feature::FORMAT_D24)] = true; + _features[static_cast(Feature::FORMAT_D16)] = true; + _features[static_cast(Feature::FORMAT_D24)] = true; _features[static_cast(Feature::FORMAT_D24S8)] = checkExtension("packed_depth_stencil"); } _renderer = (const char *)glGetString(GL_RENDERER); - _vendor = (const char *)glGetString(GL_VENDOR); - _version = (const char *)glGetString(GL_VERSION); + _vendor = (const char *)glGetString(GL_VENDOR); + _version = (const char *)glGetString(GL_VERSION); CC_LOG_INFO("GLES2 device initialized."); CC_LOG_INFO("RENDERER: %s", _renderer.c_str()); @@ -170,15 +174,6 @@ bool GLES2Device::initialize(const DeviceInfo &info) { CC_LOG_INFO("USE_VAO: %s", _useVAO ? "true" : "false"); CC_LOG_INFO("COMPRESSED_FORMATS: %s", compressedFmts.c_str()); - QueueInfo queueInfo; - queueInfo.type = QueueType::GRAPHICS; - _queue = createQueue(queueInfo); - - CommandBufferInfo cmdBuffInfo; - cmdBuffInfo.type = CommandBufferType::PRIMARY; - cmdBuffInfo.queue = _queue; - _cmdBuff = createCommandBuffer(cmdBuffInfo); - glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_caps.maxVertexAttributes); glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_caps.maxVertexUniformVectors); glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_caps.maxFragmentUniformVectors); @@ -188,24 +183,24 @@ bool GLES2Device::initialize(const DeviceInfo &info) { glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, (GLint *)&_caps.maxCubeMapTextureSize); glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_caps.depthBits); glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_caps.stencilBits); - _caps.uboOffsetAlignment = 1u; _gpuStateCache->initialize(_caps.maxTextureUnits, _caps.maxVertexAttributes); return true; } -void GLES2Device::destroy() { - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_cmdBuff); +void GLES2Device::doDestroy() { CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); + + CC_SAFE_DESTROY(_cmdBuff); + CC_SAFE_DESTROY(_queue); CC_SAFE_DESTROY(_deviceContext); CC_SAFE_DESTROY(_renderContext); } void GLES2Device::resize(uint width, uint height) { - _width = width; + _width = width; _height = height; } @@ -215,9 +210,9 @@ void GLES2Device::acquire() { void GLES2Device::present() { GLES2Queue *queue = (GLES2Queue *)_queue; - _numDrawCalls = queue->_numDrawCalls; - _numInstances = queue->_numInstances; - _numTriangles = queue->_numTriangles; + _numDrawCalls = queue->_numDrawCalls; + _numInstances = queue->_numInstances; + _numTriangles = queue->_numTriangles; _context->present(); @@ -241,9 +236,9 @@ void GLES2Device::bindDeviceContext(bool bound) { if (!_deviceContext) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = _renderContext; + ctxInfo.sharedCtx = _renderContext; - _deviceContext = CC_NEW(GLES2Context(this)); + _deviceContext = CC_NEW(GLES2Context); _deviceContext->initialize(ctxInfo); } _deviceContext->MakeCurrent(bound); @@ -255,65 +250,65 @@ void GLES2Device::bindDeviceContext(bool bound) { } } -CommandBuffer *GLES2Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES2PrimaryCommandBuffer(this)); - return CC_NEW(GLES2CommandBuffer(this)); +CommandBuffer *GLES2Device::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES2PrimaryCommandBuffer); + return CC_NEW(GLES2CommandBuffer); } Queue *GLES2Device::createQueue() { - return CC_NEW(GLES2Queue(this)); + return CC_NEW(GLES2Queue); } Buffer *GLES2Device::createBuffer() { - return CC_NEW(GLES2Buffer(this)); + return CC_NEW(GLES2Buffer); } Texture *GLES2Device::createTexture() { - return CC_NEW(GLES2Texture(this)); + return CC_NEW(GLES2Texture); } Sampler *GLES2Device::createSampler() { - return CC_NEW(GLES2Sampler(this)); + return CC_NEW(GLES2Sampler); } Shader *GLES2Device::createShader() { - return CC_NEW(GLES2Shader(this)); + return CC_NEW(GLES2Shader); } InputAssembler *GLES2Device::createInputAssembler() { - return CC_NEW(GLES2InputAssembler(this)); + return CC_NEW(GLES2InputAssembler); } RenderPass *GLES2Device::createRenderPass() { - return CC_NEW(GLES2RenderPass(this)); + return CC_NEW(GLES2RenderPass); } Framebuffer *GLES2Device::createFramebuffer() { - return CC_NEW(GLES2Framebuffer(this)); + return CC_NEW(GLES2Framebuffer); } DescriptorSet *GLES2Device::createDescriptorSet() { - return CC_NEW(GLES2DescriptorSet(this)); + return CC_NEW(GLES2DescriptorSet); } DescriptorSetLayout *GLES2Device::createDescriptorSetLayout() { - return CC_NEW(GLES2DescriptorSetLayout(this)); + return CC_NEW(GLES2DescriptorSetLayout); } PipelineLayout *GLES2Device::createPipelineLayout() { - return CC_NEW(GLES2PipelineLayout(this)); + return CC_NEW(GLES2PipelineLayout); } PipelineState *GLES2Device::createPipelineState() { - return CC_NEW(GLES2PipelineState(this)); + return CC_NEW(GLES2PipelineState); } GlobalBarrier *GLES2Device::createGlobalBarrier() { - return CC_NEW(GlobalBarrier(this)); + return CC_NEW(GlobalBarrier); } TextureBarrier *GLES2Device::createTextureBarrier() { - return CC_NEW(TextureBarrier(this)); + return CC_NEW(TextureBarrier); } void GLES2Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index cc620e3dfa..bf763d0bd5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_DEVICE_H_ -#define CC_GFXGLES2_DEVICE_H_ +#pragma once #include "gfx-base/GFXDevice.h" @@ -45,8 +44,9 @@ class GLES2GPUStagingBufferPool; class CC_GLES2_API GLES2Device final : public Device { public: - GLES2Device(); - ~GLES2Device(); + static GLES2Device *getInstance(); + + ~GLES2Device() override; using Device::copyBuffersToTexture; using Device::createBuffer; @@ -65,11 +65,9 @@ public: using Device::createTexture; using Device::createTextureBarrier; - virtual bool initialize(const DeviceInfo &info) override; - virtual void destroy() override; - virtual void resize(uint width, uint height) override; - virtual void acquire() override; - virtual void present() override; + void resize(uint width, uint height) override; + void acquire() override; + void present() override; CC_INLINE bool useVAO() const { return _useVAO; } CC_INLINE bool useDrawInstanced() const { return _useDrawInstanced; } @@ -91,27 +89,35 @@ public: CC_INLINE uint getThreadID() const { return _threadID; } protected: - virtual CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Queue * createQueue() override; - virtual Buffer * createBuffer() override; - virtual Texture * createTexture() override; - virtual Sampler * createSampler() override; - virtual Shader * createShader() override; - virtual InputAssembler * createInputAssembler() override; - virtual RenderPass * createRenderPass() override; - virtual Framebuffer * createFramebuffer() override; - virtual DescriptorSet * createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout * createPipelineLayout() override; - virtual PipelineState * createPipelineState() override; - virtual GlobalBarrier * createGlobalBarrier() override; - virtual TextureBarrier * createTextureBarrier() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + static GLES2Device * _instance; - virtual void bindRenderContext(bool bound) override; - virtual void bindDeviceContext(bool bound) override; + friend class DeviceCreator; + friend class GLES2Context; + + GLES2Device(); + + bool doInit(const DeviceInfo &info) override; + void doDestroy() override; + CommandBuffer * createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + Queue * createQueue() override; + Buffer * createBuffer() override; + Texture * createTexture() override; + Sampler * createSampler() override; + Shader * createShader() override; + InputAssembler * createInputAssembler() override; + RenderPass * createRenderPass() override; + Framebuffer * createFramebuffer() override; + DescriptorSet * createDescriptorSet() override; + DescriptorSetLayout *createDescriptorSetLayout() override; + PipelineLayout * createPipelineLayout() override; + PipelineState * createPipelineState() override; + GlobalBarrier * createGlobalBarrier() override; + TextureBarrier * createTextureBarrier() override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + + void bindRenderContext(bool bound) override; + void bindDeviceContext(bool bound) override; -private: bool checkForETC2() const; GLES2Context * _renderContext = nullptr; @@ -131,5 +137,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp index e0ac2e204f..a2d488fb33 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp @@ -24,27 +24,24 @@ ****************************************************************************/ #include "GLES2Std.h" + +#include "GLES2Commands.h" +#include "GLES2Device.h" #include "GLES2Framebuffer.h" #include "GLES2RenderPass.h" -#include "GLES2Commands.h" #include "GLES2Texture.h" namespace cc { namespace gfx { -GLES2Framebuffer::GLES2Framebuffer(Device *device) -: Framebuffer(device) { +GLES2Framebuffer::GLES2Framebuffer() +: Framebuffer() { } GLES2Framebuffer::~GLES2Framebuffer() { } -bool GLES2Framebuffer::initialize(const FramebufferInfo &info) { - - _renderPass = info.renderPass; - _colorTextures = info.colorTextures; - _depthStencilTexture = info.depthStencilTexture; - +void GLES2Framebuffer::doInit(const FramebufferInfo &info) { if (info.depthStencilMipmapLevel != 0) { CC_LOG_WARNING("Mipmap level of depth stencil attachment should be 0 in GLES2. Convert to 0."); } @@ -58,7 +55,7 @@ bool GLES2Framebuffer::initialize(const FramebufferInfo &info) { } } - _gpuFBO = CC_NEW(GLES2GPUFramebuffer); + _gpuFBO = CC_NEW(GLES2GPUFramebuffer); _gpuFBO->gpuRenderPass = ((GLES2RenderPass *)_renderPass)->gpuRenderPass(); _gpuFBO->gpuColorTextures.resize(_colorTextures.size()); @@ -73,14 +70,12 @@ bool GLES2Framebuffer::initialize(const FramebufferInfo &info) { _gpuFBO->gpuDepthStencilTexture = ((GLES2Texture *)_depthStencilTexture)->gpuTexture(); } - GLES2CmdFuncCreateFramebuffer((GLES2Device *)_device, _gpuFBO); - - return true; + GLES2CmdFuncCreateFramebuffer(GLES2Device::getInstance(), _gpuFBO); } -void GLES2Framebuffer::destroy() { +void GLES2Framebuffer::doDestroy() { if (_gpuFBO) { - GLES2CmdFuncDestroyFramebuffer((GLES2Device *)_device, _gpuFBO); + GLES2CmdFuncDestroyFramebuffer(GLES2Device::getInstance(), _gpuFBO); CC_DELETE(_gpuFBO); _gpuFBO = nullptr; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h index 900b8cc4af..c65ad8887d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_FRAMEBUFFER_H_ -#define CC_GFXGLES2_FRAMEBUFFER_H_ +#pragma once #include "gfx-base/GFXFramebuffer.h" @@ -35,20 +34,17 @@ class GLES2GPUFramebuffer; class CC_GLES2_API GLES2Framebuffer final : public Framebuffer { public: - GLES2Framebuffer(Device *device); + GLES2Framebuffer(); ~GLES2Framebuffer(); -public: - virtual bool initialize(const FramebufferInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES2GPUFramebuffer *gpuFBO() const { return _gpuFBO; } -private: +protected: + void doInit(const FramebufferInfo &info) override; + void doDestroy() override; + GLES2GPUFramebuffer *_gpuFBO = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index 74e16e0416..b9d38987de 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_GPU_OBJECTS_H_ -#define CC_GFXGLES2_GPU_OBJECTS_H_ +#pragma once #include "gfx-base/GFXDef.h" #include "GLES2Wrangler.h" @@ -408,5 +407,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp index cd51f7d253..a4b0bad0fc 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp @@ -24,41 +24,28 @@ ****************************************************************************/ #include "GLES2Std.h" -#include "GLES2InputAssembler.h" -#include "GLES2Commands.h" + #include "GLES2Buffer.h" +#include "GLES2Commands.h" +#include "GLES2Device.h" +#include "GLES2InputAssembler.h" namespace cc { namespace gfx { -GLES2InputAssembler::GLES2InputAssembler(Device *device) -: InputAssembler(device) { +GLES2InputAssembler::GLES2InputAssembler() +: InputAssembler() { } GLES2InputAssembler::~GLES2InputAssembler() { } -bool GLES2InputAssembler::initialize(const InputAssemblerInfo &info) { - - _attributes = info.attributes; - _vertexBuffers = info.vertexBuffers; - _indexBuffer = info.indexBuffer; - _indirectBuffer = info.indirectBuffer; - - if (_indexBuffer) { - _indexCount = _indexBuffer->getCount(); - _firstIndex = 0; - } else if (_vertexBuffers.size()) { - _vertexCount = _vertexBuffers[0]->getCount(); - _firstVertex = 0; - _vertexOffset = 0; - } - - _gpuInputAssembler = CC_NEW(GLES2GPUInputAssembler); +void GLES2InputAssembler::doInit(const InputAssemblerInfo &info) { + _gpuInputAssembler = CC_NEW(GLES2GPUInputAssembler); _gpuInputAssembler->attributes = _attributes; _gpuInputAssembler->gpuVertexBuffers.resize(_vertexBuffers.size()); for (size_t i = 0; i < _gpuInputAssembler->gpuVertexBuffers.size(); ++i) { - GLES2Buffer *vb = (GLES2Buffer *)_vertexBuffers[i]; + GLES2Buffer *vb = (GLES2Buffer *)_vertexBuffers[i]; _gpuInputAssembler->gpuVertexBuffers[i] = vb->gpuBuffer(); } if (info.indexBuffer) @@ -67,26 +54,23 @@ bool GLES2InputAssembler::initialize(const InputAssemblerInfo &info) { if (info.indirectBuffer) _gpuInputAssembler->gpuIndirectBuffer = static_cast(info.indirectBuffer)->gpuBuffer(); - GLES2CmdFuncCreateInputAssembler((GLES2Device *)_device, _gpuInputAssembler); - _attributesHash = computeAttributesHash(); - - return true; + GLES2CmdFuncCreateInputAssembler(GLES2Device::getInstance(), _gpuInputAssembler); } -void GLES2InputAssembler::destroy() { +void GLES2InputAssembler::doDestroy() { if (_gpuInputAssembler) { - GLES2CmdFuncDestroyInputAssembler((GLES2Device *)_device, _gpuInputAssembler); + GLES2CmdFuncDestroyInputAssembler(GLES2Device::getInstance(), _gpuInputAssembler); CC_DELETE(_gpuInputAssembler); _gpuInputAssembler = nullptr; } } void GLES2InputAssembler::ExtractCmdDraw(GLES2CmdDraw *cmd) { - cmd->drawInfo.vertexCount = _vertexCount; - cmd->drawInfo.firstVertex = _firstVertex; - cmd->drawInfo.indexCount = _indexCount; - cmd->drawInfo.firstIndex = _firstIndex; - cmd->drawInfo.vertexOffset = _vertexOffset; + cmd->drawInfo.vertexCount = _vertexCount; + cmd->drawInfo.firstVertex = _firstVertex; + cmd->drawInfo.indexCount = _indexCount; + cmd->drawInfo.firstIndex = _firstIndex; + cmd->drawInfo.vertexOffset = _vertexOffset; cmd->drawInfo.instanceCount = _instanceCount; cmd->drawInfo.firstInstance = _firstInstance; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h index 1d0c43cb02..f84d781ebb 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h +++ b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_INPUT_ASSEMBLER_H_ -#define CC_GFXGLES2_INPUT_ASSEMBLER_H_ +#pragma once #include "gfx-base/GFXInputAssembler.h" @@ -36,22 +35,19 @@ class GLES2CmdDraw; class CC_GLES2_API GLES2InputAssembler final : public InputAssembler { public: - GLES2InputAssembler(Device *device); + GLES2InputAssembler(); ~GLES2InputAssembler(); -public: - virtual bool initialize(const InputAssemblerInfo &info) override; - virtual void destroy() override; - void ExtractCmdDraw(GLES2CmdDraw *cmd); CC_INLINE GLES2GPUInputAssembler *gpuInputAssembler() const { return _gpuInputAssembler; } -private: +protected: + void doInit(const InputAssemblerInfo &info) override; + void doDestroy() override; + GLES2GPUInputAssembler *_gpuInputAssembler = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp index e0ee0464da..9221f47af1 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp @@ -32,17 +32,14 @@ namespace cc { namespace gfx { -GLES2PipelineLayout::GLES2PipelineLayout(Device *device) -: PipelineLayout(device) { +GLES2PipelineLayout::GLES2PipelineLayout() +: PipelineLayout() { } GLES2PipelineLayout::~GLES2PipelineLayout() { } -bool GLES2PipelineLayout::initialize(const PipelineLayoutInfo &info) { - - _setLayouts = info.setLayouts; - +void GLES2PipelineLayout::doInit(const PipelineLayoutInfo &info) { _gpuPipelineLayout = CC_NEW(GLES2GPUPipelineLayout); uint offset = 0u; @@ -66,11 +63,9 @@ bool GLES2PipelineLayout::initialize(const PipelineLayoutInfo &info) { _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->dynamicOffsetCount = offset; _gpuPipelineLayout->dynamicOffsets.resize(offset); - - return true; } -void GLES2PipelineLayout::destroy() { +void GLES2PipelineLayout::doDestroy() { if (_gpuPipelineLayout) { CC_DELETE(_gpuPipelineLayout); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h index 3a52d20eec..8254395e74 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.h @@ -35,16 +35,15 @@ class GLES2GPUPipelineLayout; class CC_GLES2_API GLES2PipelineLayout final : public PipelineLayout { public: - GLES2PipelineLayout(Device *device); + GLES2PipelineLayout(); ~GLES2PipelineLayout(); -public: - virtual bool initialize(const PipelineLayoutInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES2GPUPipelineLayout *gpuPipelineLayout() const { return _gpuPipelineLayout; } -private: +protected: + void doInit(const PipelineLayoutInfo &info) override; + void doDestroy() override; + GLES2GPUPipelineLayout *_gpuPipelineLayout = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp index 7f0ca46c01..22e62c5857 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp @@ -51,25 +51,14 @@ const GLenum GLES2Primitives[] = { GL_NONE, }; -GLES2PipelineState::GLES2PipelineState(Device *device) -: PipelineState(device) { +GLES2PipelineState::GLES2PipelineState() +: PipelineState() { } GLES2PipelineState::~GLES2PipelineState() { } -bool GLES2PipelineState::initialize(const PipelineStateInfo &info) { - _primitive = info.primitive; - _shader = info.shader; - _inputState = info.inputState; - _rasterizerState = info.rasterizerState; - _depthStencilState = info.depthStencilState; - _bindPoint = info.bindPoint; - _blendState = info.blendState; - _dynamicStates = info.dynamicStates; - _renderPass = info.renderPass; - _pipelineLayout = info.pipelineLayout; - +void GLES2PipelineState::doInit(const PipelineStateInfo &info) { _gpuPipelineState = CC_NEW(GLES2GPUPipelineState); _gpuPipelineState->glPrimitive = GLES2Primitives[(int)_primitive]; _gpuPipelineState->gpuShader = ((GLES2Shader *)_shader)->gpuShader(); @@ -84,11 +73,9 @@ bool GLES2PipelineState::initialize(const PipelineStateInfo &info) { _gpuPipelineState->dynamicStates.push_back((DynamicStateFlagBit)(1 << i)); } } - - return true; } -void GLES2PipelineState::destroy() { +void GLES2PipelineState::doDestroy() { if (_gpuPipelineState) { CC_DELETE(_gpuPipelineState); _gpuPipelineState = nullptr; diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h index 2359e2aa85..2b15243fa4 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_PIPELINE_STATE_H_ -#define CC_GFXGLES2_PIPELINE_STATE_H_ +#pragma once #include "gfx-base/GFXPipelineState.h" @@ -35,20 +34,17 @@ class GLES2GPUPipelineState; class CC_GLES2_API GLES2PipelineState final : public PipelineState { public: - GLES2PipelineState(Device *device); + GLES2PipelineState(); ~GLES2PipelineState(); -public: - virtual bool initialize(const PipelineStateInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES2GPUPipelineState *gpuPipelineState() const { return _gpuPipelineState; } -private: +protected: + void doInit(const PipelineStateInfo &info) override; + void doDestroy() override; + GLES2GPUPipelineState *_gpuPipelineState = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 5b08a4ff83..a6707bdabe 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -38,8 +38,8 @@ namespace cc { namespace gfx { -GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer(Device *device) -: GLES2CommandBuffer(device) { +GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer() +: GLES2CommandBuffer() { } GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { @@ -67,12 +67,12 @@ void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuf GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); - GLES2CmdFuncBeginRenderPass((GLES2Device *)_device, gpuRenderPass, gpuFramebuffer, + GLES2CmdFuncBeginRenderPass(GLES2Device::getInstance(), gpuRenderPass, gpuFramebuffer, renderArea, gpuRenderPass->colorAttachments.size(), colors, depth, stencil); } void GLES2PrimaryCommandBuffer::endRenderPass() { - GLES2CmdFuncEndRenderPass((GLES2Device *)_device); + GLES2CmdFuncEndRenderPass(GLES2Device::getInstance()); _isInRenderPass = false; } @@ -89,7 +89,7 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { count = std::min(count, _curDynamicOffsets[i].size()); if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } - GLES2CmdFuncBindState((GLES2Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, + GLES2CmdFuncBindState(GLES2Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); _isStateInvalid = false; @@ -97,7 +97,7 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { DrawInfo drawInfo; ia->extractDrawInfo(drawInfo); - GLES2CmdFuncDraw((GLES2Device *)_device, drawInfo); + GLES2CmdFuncDraw(GLES2Device::getInstance(), drawInfo); ++_numDrawCalls; _numInstances += ia->getInstanceCount(); @@ -127,7 +127,7 @@ void GLES2PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uin GLES2GPUBuffer *gpuBuffer = ((GLES2Buffer *)buff)->gpuBuffer(); if (gpuBuffer) { - GLES2CmdFuncUpdateBuffer((GLES2Device *)_device, gpuBuffer, data, 0u, size); + GLES2CmdFuncUpdateBuffer(GLES2Device::getInstance(), gpuBuffer, data, 0u, size); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); @@ -140,7 +140,7 @@ void GLES2PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe GLES2GPUTexture *gpuTexture = ((GLES2Texture *)texture)->gpuTexture(); if (gpuTexture) { - GLES2CmdFuncCopyBuffersToTexture((GLES2Device *)_device, buffers, gpuTexture, regions, count); + GLES2CmdFuncCopyBuffersToTexture(GLES2Device::getInstance(), buffers, gpuTexture, regions, count); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); @@ -154,7 +154,7 @@ void GLES2PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t if (!cmdBuff->_pendingPackages.empty()) { GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + GLES2CmdFuncExecuteCmds(GLES2Device::getInstance(), cmdPackage); cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index c52e3ac48b..e38010049d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_PRIMARY_COMMAND_BUFFER_H_ -#define CC_GFXGLES2_PRIMARY_COMMAND_BUFFER_H_ +#pragma once #include "GLES2CommandBuffer.h" @@ -32,23 +31,22 @@ namespace cc { namespace gfx { class CC_GLES2_API GLES2PrimaryCommandBuffer final : public GLES2CommandBuffer { - friend class GLES2Queue; - public: - GLES2PrimaryCommandBuffer(Device *device); + GLES2PrimaryCommandBuffer(); ~GLES2PrimaryCommandBuffer(); - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; - virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; - virtual void endRenderPass() override; - virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; + void endRenderPass() override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buff, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + +protected: + friend class GLES2Queue; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index dddac8ef63..9dbc1dc6a6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -24,27 +24,26 @@ ****************************************************************************/ #include "GLES2Std.h" -#include "GLES2Queue.h" -#include "GLES2Commands.h" + #include "GLES2CommandBuffer.h" +#include "GLES2Commands.h" +#include "GLES2Queue.h" +#include "GLES2Device.h" namespace cc { namespace gfx { -GLES2Queue::GLES2Queue(Device *device) -: Queue(device) { +GLES2Queue::GLES2Queue() +: Queue() { } GLES2Queue::~GLES2Queue() { } -bool GLES2Queue::initialize(const QueueInfo &info) { - _type = info.type; - - return true; +void GLES2Queue::doInit(const QueueInfo &info) { } -void GLES2Queue::destroy() { +void GLES2Queue::doDestroy() { } void GLES2Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { @@ -54,7 +53,7 @@ void GLES2Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!cmdBuff->_pendingPackages.empty()) { GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES2CmdFuncExecuteCmds((GLES2Device *)_device, cmdPackage); + GLES2CmdFuncExecuteCmds(GLES2Device::getInstance(), cmdPackage); cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.h b/native/cocos/renderer/gfx-gles2/GLES2Queue.h index 9adf1bbda4..d124c01cd5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_QUEUE_H_ -#define CC_GFXGLES2_QUEUE_H_ +#pragma once #include "gfx-base/GFXQueue.h" @@ -33,17 +32,17 @@ namespace gfx { class CC_GLES2_API GLES2Queue final : public Queue { public: - GLES2Queue(Device *device); + GLES2Queue(); ~GLES2Queue(); + void submit(CommandBuffer *const *cmdBuffs, uint count) override; + +protected: friend class GLES2Device; -public: - virtual bool initialize(const QueueInfo &info) override; - virtual void destroy() override; - virtual void submit(CommandBuffer *const *cmdBuffs, uint count) override; + void doInit(const QueueInfo &info) override; + void doDestroy() override; -private: uint _numDrawCalls = 0; uint _numInstances = 0; uint _numTriangles = 0; @@ -51,5 +50,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp index 9436d08235..eec4b27392 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp @@ -30,28 +30,20 @@ namespace cc { namespace gfx { -GLES2RenderPass::GLES2RenderPass(Device *device) -: RenderPass(device) { +GLES2RenderPass::GLES2RenderPass() +: RenderPass() { } GLES2RenderPass::~GLES2RenderPass() { } -bool GLES2RenderPass::initialize(const RenderPassInfo &info) { - - _colorAttachments = info.colorAttachments; - _depthStencilAttachment = info.depthStencilAttachment; - +void GLES2RenderPass::doInit(const RenderPassInfo &info) { _gpuRenderPass = CC_NEW(GLES2GPURenderPass); _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; - - _hash = computeHash(); - - return true; } -void GLES2RenderPass::destroy() { +void GLES2RenderPass::doDestroy() { if (_gpuRenderPass) { CC_DELETE(_gpuRenderPass); _gpuRenderPass = nullptr; diff --git a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h index b975f912c4..9665810c14 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h +++ b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_RENDER_PASS_H_ -#define CC_GFXGLES2_RENDER_PASS_H_ +#pragma once #include "gfx-base/GFXRenderPass.h" @@ -35,20 +34,17 @@ class GLES2GPURenderPass; class CC_GLES2_API GLES2RenderPass final : public RenderPass { public: - GLES2RenderPass(Device *device); + GLES2RenderPass(); ~GLES2RenderPass(); -public: - virtual bool initialize(const RenderPassInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES2GPURenderPass *gpuRenderPass() const { return _gpuRenderPass; } -private: +protected: + void doInit(const RenderPassInfo &info) override; + void doDestroy() override; + GLES2GPURenderPass *_gpuRenderPass = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp index 8ec35b74b3..5839a0da01 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp @@ -24,47 +24,36 @@ ****************************************************************************/ #include "GLES2Std.h" -#include "GLES2Sampler.h" + #include "GLES2Commands.h" +#include "GLES2Device.h" +#include "GLES2Sampler.h" namespace cc { namespace gfx { -GLES2Sampler::GLES2Sampler(Device *device) -: Sampler(device) { +GLES2Sampler::GLES2Sampler() +: Sampler() { } GLES2Sampler::~GLES2Sampler() { } -bool GLES2Sampler::initialize(const SamplerInfo &info) { - _minFilter = info.minFilter; - _magFilter = info.magFilter; - _mipFilter = info.mipFilter; - _addressU = info.addressU; - _addressV = info.addressV; - _addressW = info.addressW; - _maxAnisotropy = info.maxAnisotropy; - _cmpFunc = info.cmpFunc; - _borderColor = info.borderColor; - _mipLODBias = info.mipLODBias; - - _gpuSampler = CC_NEW(GLES2GPUSampler); +void GLES2Sampler::doInit(const SamplerInfo &info) { + _gpuSampler = CC_NEW(GLES2GPUSampler); _gpuSampler->minFilter = _minFilter; _gpuSampler->magFilter = _magFilter; _gpuSampler->mipFilter = _mipFilter; - _gpuSampler->addressU = _addressU; - _gpuSampler->addressV = _addressV; - _gpuSampler->addressW = _addressW; + _gpuSampler->addressU = _addressU; + _gpuSampler->addressV = _addressV; + _gpuSampler->addressW = _addressW; - GLES2CmdFuncCreateSampler((GLES2Device *)_device, _gpuSampler); - - return true; + GLES2CmdFuncCreateSampler(GLES2Device::getInstance(), _gpuSampler); } -void GLES2Sampler::destroy() { +void GLES2Sampler::doDestroy() { if (_gpuSampler) { - GLES2CmdFuncDestroySampler((GLES2Device *)_device, _gpuSampler); + GLES2CmdFuncDestroySampler(GLES2Device::getInstance(), _gpuSampler); CC_DELETE(_gpuSampler); _gpuSampler = nullptr; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Sampler.h b/native/cocos/renderer/gfx-gles2/GLES2Sampler.h index 425588a6be..2688d9b3df 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Sampler.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Sampler.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_SAMPLER_H_ -#define CC_GFXGLES2_SAMPLER_H_ +#pragma once #include "gfx-base/GFXSampler.h" @@ -35,16 +34,15 @@ class GLES2GPUSampler; class CC_GLES2_API GLES2Sampler final : public Sampler { public: - GLES2Sampler(Device *device); + GLES2Sampler(); ~GLES2Sampler(); -public: - virtual bool initialize(const SamplerInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES2GPUSampler *gpuSampler() const { return _gpuSampler; } -private: +protected: + void doInit(const SamplerInfo &info) override; + void doDestroy() override; + GLES2GPUSampler *_gpuSampler = nullptr; String _name; Filter _minFilter = Filter::LINEAR; @@ -63,5 +61,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp index 95871ca288..fd3d3d6500 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp @@ -24,44 +24,37 @@ ****************************************************************************/ #include "GLES2Std.h" -#include "GLES2Shader.h" + #include "GLES2Commands.h" +#include "GLES2Device.h" +#include "GLES2Shader.h" namespace cc { namespace gfx { -GLES2Shader::GLES2Shader(Device *device) -: Shader(device) { +GLES2Shader::GLES2Shader() +: Shader() { } GLES2Shader::~GLES2Shader() { } -bool GLES2Shader::initialize(const ShaderInfo &info) { - _name = info.name; - _stages = info.stages; - _attributes = info.attributes; - _blocks = info.blocks; - _buffers = info.buffers; - _samplers = info.samplers; - - _gpuShader = CC_NEW(GLES2GPUShader); - _gpuShader->name = _name; - _gpuShader->blocks = _blocks; +void GLES2Shader::doInit(const ShaderInfo &info) { + _gpuShader = CC_NEW(GLES2GPUShader); + _gpuShader->name = _name; + _gpuShader->blocks = _blocks; _gpuShader->samplers = _samplers; for (const auto &stage : _stages) { GLES2GPUShaderStage gpuShaderStage = {stage.stage, stage.source}; _gpuShader->gpuStages.emplace_back(std::move(gpuShaderStage)); } - GLES2CmdFuncCreateShader((GLES2Device *)_device, _gpuShader); - - return true; + GLES2CmdFuncCreateShader(GLES2Device::getInstance(), _gpuShader); } -void GLES2Shader::destroy() { +void GLES2Shader::doDestroy() { if (_gpuShader) { - GLES2CmdFuncDestroyShader((GLES2Device *)_device, _gpuShader); + GLES2CmdFuncDestroyShader(GLES2Device::getInstance(), _gpuShader); CC_DELETE(_gpuShader); _gpuShader = nullptr; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.h b/native/cocos/renderer/gfx-gles2/GLES2Shader.h index 0ee7131377..570fb833ca 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_SHADER_H_ -#define CC_GFXGLES2_SHADER_H_ +#pragma once #include "gfx-base/GFXShader.h" @@ -35,20 +34,17 @@ class GLES2GPUShader; class CC_GLES2_API GLES2Shader final : public Shader { public: - GLES2Shader(Device *device); + GLES2Shader(); ~GLES2Shader(); -public: - virtual bool initialize(const ShaderInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES2GPUShader *gpuShader() const { return _gpuShader; } -private: +protected: + void doInit(const ShaderInfo &info) override; + void doDestroy() override; + GLES2GPUShader *_gpuShader = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp index c5365b7cc2..27454b53a2 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp @@ -32,76 +32,15 @@ namespace cc { namespace gfx { -GLES2Texture::GLES2Texture(Device *device) -: Texture(device) { +GLES2Texture::GLES2Texture() +: Texture() { } GLES2Texture::~GLES2Texture() { } -bool GLES2Texture::initialize(const TextureInfo &info) { - - _type = info.type; - _usage = info.usage; - _format = info.format; - _width = info.width; - _height = info.height; - _depth = info.depth; - _layerCount = info.layerCount; - _levelCount = info.levelCount; - _samples = info.samples; - _flags = info.flags; - _size = FormatSize(_format, _width, _height, _depth); - -#if CC_DEBUG > 0 - switch (_format) { // device feature validation - case Format::D16: - if (_device->hasFeature(Feature::FORMAT_D16)) break; - CC_LOG_ERROR("D16 texture format is not supported on this backend"); - return false; - case Format::D16S8: - if (_device->hasFeature(Feature::FORMAT_D16S8)) break; - CC_LOG_WARNING("D16S8 texture format is not supported on this backend"); - return false; - case Format::D24: - if (_device->hasFeature(Feature::FORMAT_D24)) break; - CC_LOG_WARNING("D24 texture format is not supported on this backend"); - return false; - case Format::D24S8: - if (_device->hasFeature(Feature::FORMAT_D24S8)) break; - CC_LOG_WARNING("D24S8 texture format is not supported on this backend"); - return false; - case Format::D32F: - if (_device->hasFeature(Feature::FORMAT_D32F)) break; - CC_LOG_WARNING("D32F texture format is not supported on this backend"); - return false; - case Format::D32F_S8: - if (_device->hasFeature(Feature::FORMAT_D32FS8)) break; - CC_LOG_WARNING("D32FS8 texture format is not supported on this backend"); - return false; - case Format::RGB8: - if (_device->hasFeature(Feature::FORMAT_RGB8)) break; - CC_LOG_WARNING("RGB8 texture format is not supported on this backend"); - return false; - default: - break; - } -#endif - - if (_flags & TextureFlags::BAKUP_BUFFER) { - _buffer = (uint8_t *)CC_MALLOC(_size); - if (!_buffer) { - CC_LOG_ERROR("GLES2Texture: CC_MALLOC backup buffer failed."); - return false; - } - _device->getMemoryStatus().textureSize += _size; - } - +void GLES2Texture::doInit(const TextureInfo &info) { _gpuTexture = CC_NEW(GLES2GPUTexture); - if (!_gpuTexture) { - CC_LOG_ERROR("GLES2Texture: CC_NEW GLES2GPUTexture failed."); - return false; - } _gpuTexture->type = _type; _gpuTexture->format = _format; _gpuTexture->usage = _usage; @@ -115,64 +54,26 @@ bool GLES2Texture::initialize(const TextureInfo &info) { _gpuTexture->flags = _flags; _gpuTexture->isPowerOf2 = math::IsPowerOfTwo(_width) && math::IsPowerOfTwo(_height); - GLES2CmdFuncCreateTexture((GLES2Device *)_device, _gpuTexture); - _device->getMemoryStatus().textureSize += _size; - - return true; + GLES2CmdFuncCreateTexture(GLES2Device::getInstance(), _gpuTexture); } -bool GLES2Texture::initialize(const TextureViewInfo &info) { - _isTextureView = true; - +void GLES2Texture::doInit(const TextureViewInfo &info) { CC_LOG_ERROR("GLES2 doesn't support texture view"); - return false; } -void GLES2Texture::destroy() { +void GLES2Texture::doDestroy() { if (_gpuTexture) { - GLES2CmdFuncDestroyTexture((GLES2Device *)_device, _gpuTexture); - _device->getMemoryStatus().textureSize -= _size; + GLES2CmdFuncDestroyTexture(GLES2Device::getInstance(), _gpuTexture); CC_DELETE(_gpuTexture); _gpuTexture = nullptr; } - - if (_buffer) { - CC_FREE(_buffer); - _device->getMemoryStatus().textureSize -= _size; - _buffer = nullptr; - } } -void GLES2Texture::resize(uint width, uint height) { - if (_width != width || _height != height) { - uint size = FormatSize(_format, width, height, _depth); - const uint oldSize = _size; - _width = width; - _height = height; - _size = size; - - MemoryStatus &status = _device->getMemoryStatus(); - _gpuTexture->width = _width; - _gpuTexture->height = _height; - _gpuTexture->size = _size; - GLES2CmdFuncResizeTexture((GLES2Device *)_device, _gpuTexture); - status.bufferSize -= oldSize; - status.bufferSize += _size; - - if (_buffer) { - const uint8_t *oldBuffer = _buffer; - uint8_t *buffer = (uint8_t *)CC_MALLOC(_size); - if (!buffer) { - CC_LOG_ERROR("GLES2Texture: CC_MALLOC backup buffer failed when resize the texture."); - return; - } - memcpy(buffer, oldBuffer, std::min(oldSize, size)); - _buffer = buffer; - CC_FREE(oldBuffer); - status.bufferSize -= oldSize; - status.bufferSize += _size; - } - } +void GLES2Texture::doResize(uint width, uint height) { + _gpuTexture->width = _width; + _gpuTexture->height = _height; + _gpuTexture->size = _size; + GLES2CmdFuncResizeTexture(GLES2Device::getInstance(), _gpuTexture); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.h b/native/cocos/renderer/gfx-gles2/GLES2Texture.h index 3379b9f53a..1ef6ad568b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES2_TEXTURE_H_ -#define CC_GFXGLES2_TEXTURE_H_ +#pragma once #include "gfx-base/GFXTexture.h" @@ -35,22 +34,19 @@ class GLES2GPUTexture; class CC_GLES2_API GLES2Texture final : public Texture { public: - GLES2Texture(Device *device); + GLES2Texture(); ~GLES2Texture(); -public: - virtual bool initialize(const TextureInfo &info) override; - virtual bool initialize(const TextureViewInfo &info) override; - virtual void destroy() override; - virtual void resize(uint width, uint height) override; - CC_INLINE GLES2GPUTexture *gpuTexture() const { return _gpuTexture; } -private: +protected: + void doInit(const TextureInfo &info) override; + void doInit(const TextureViewInfo &info) override; + void doDestroy() override; + void doResize(uint width, uint height) override; + GLES2GPUTexture *_gpuTexture = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GFXGLES3.h b/native/cocos/renderer/gfx-gles3/GFXGLES3.h index e358b28793..c58adb7c6e 100644 --- a/native/cocos/renderer/gfx-gles3/GFXGLES3.h +++ b/native/cocos/renderer/gfx-gles3/GFXGLES3.h @@ -23,10 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_H_ -#define CC_GFXGLES3_H_ +#pragma once #include "GLES3Std.h" #include "GLES3Device.h" - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp index 306f2be1e8..d22e8e787b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp @@ -32,26 +32,15 @@ namespace cc { namespace gfx { -GLES3Buffer::GLES3Buffer(Device *device) -: Buffer(device) { +GLES3Buffer::GLES3Buffer() +: Buffer() { } GLES3Buffer::~GLES3Buffer() { } -bool GLES3Buffer::initialize(const BufferInfo &info) { - _usage = info.usage; - _memUsage = info.memUsage; - _size = info.size; - _stride = std::max(info.stride, 1U); - _count = _size / _stride; - _flags = info.flags; - +void GLES3Buffer::doInit(const BufferInfo &info) { _gpuBuffer = CC_NEW(GLES3GPUBuffer); - if (!_gpuBuffer) { - CC_LOG_ERROR("GLES3Buffer: CC_NEW GLES3GPUBuffer failed."); - return false; - } _gpuBuffer->usage = _usage; _gpuBuffer->memUsage = _memUsage; _gpuBuffer->size = _size; @@ -62,24 +51,11 @@ bool GLES3Buffer::initialize(const BufferInfo &info) { _gpuBuffer->indirects.resize(_count); } - GLES3CmdFuncCreateBuffer((GLES3Device *)_device, _gpuBuffer); - _device->getMemoryStatus().bufferSize += _size; - - return true; + GLES3CmdFuncCreateBuffer(GLES3Device::getInstance(), _gpuBuffer); } -bool GLES3Buffer::initialize(const BufferViewInfo &info) { - - _isBufferView = true; - +void GLES3Buffer::doInit(const BufferViewInfo &info) { GLES3Buffer *buffer = (GLES3Buffer *)info.buffer; - - _usage = buffer->_usage; - _memUsage = buffer->_memUsage; - _size = _stride = info.range; - _count = 1u; - _flags = buffer->_flags; - _gpuBuffer = CC_NEW(GLES3GPUBuffer); _gpuBuffer->usage = _usage; _gpuBuffer->memUsage = _memUsage; @@ -91,42 +67,28 @@ bool GLES3Buffer::initialize(const BufferViewInfo &info) { _gpuBuffer->glOffset = info.offset; _gpuBuffer->buffer = buffer->_gpuBuffer->buffer; _gpuBuffer->indirects = buffer->_gpuBuffer->indirects; - - return true; } -void GLES3Buffer::destroy() { +void GLES3Buffer::doDestroy() { if (_gpuBuffer) { if (!_isBufferView) { - GLES3CmdFuncDestroyBuffer((GLES3Device *)_device, _gpuBuffer); - _device->getMemoryStatus().bufferSize -= _size; + GLES3CmdFuncDestroyBuffer(GLES3Device::getInstance(), _gpuBuffer); } CC_DELETE(_gpuBuffer); _gpuBuffer = nullptr; } } -void GLES3Buffer::resize(uint size) { - CCASSERT(!_isBufferView, "Cannot resize buffer views"); - - if (_size != size) { - const uint oldSize = _size; - _size = size; - _count = _size / _stride; - - MemoryStatus &status = _device->getMemoryStatus(); - _gpuBuffer->size = _size; - _gpuBuffer->count = _count; - GLES3CmdFuncResizeBuffer((GLES3Device *)_device, _gpuBuffer); - status.bufferSize -= oldSize; - status.bufferSize += _size; - } +void GLES3Buffer::doResize(uint size) { + _gpuBuffer->size = _size; + _gpuBuffer->count = _count; + GLES3CmdFuncResizeBuffer(GLES3Device::getInstance(), _gpuBuffer); } void GLES3Buffer::update(void *buffer, uint size) { CCASSERT(!_isBufferView, "Cannot update through buffer views"); - GLES3CmdFuncUpdateBuffer((GLES3Device *)_device, _gpuBuffer, buffer, 0u, size); + GLES3CmdFuncUpdateBuffer(GLES3Device::getInstance(), _gpuBuffer, buffer, 0u, size); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h index a9547e181d..bebff0394e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_BUFFER_H_ -#define CC_GFXGLES3_BUFFER_H_ +#pragma once #include "gfx-base/GFXBuffer.h" @@ -35,23 +34,21 @@ class GLES3GPUBuffer; class CC_GLES3_API GLES3Buffer final : public Buffer { public: - GLES3Buffer(Device *device); + GLES3Buffer(); ~GLES3Buffer(); -public: - virtual bool initialize(const BufferInfo &info) override; - virtual bool initialize(const BufferViewInfo &info) override; - virtual void destroy() override; - virtual void resize(uint size) override; - virtual void update(void *buffer, uint size) override; + void update(void *buffer, uint size) override; CC_INLINE GLES3GPUBuffer *gpuBuffer() const { return _gpuBuffer; } -private: +protected: + void doInit(const BufferInfo &info) override; + void doInit(const BufferViewInfo &info) override; + void doDestroy() override; + void doResize(uint size) override; + GLES3GPUBuffer *_gpuBuffer = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 6a8a6d0123..5697047da3 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -39,28 +39,23 @@ namespace cc { namespace gfx { -GLES3CommandBuffer::GLES3CommandBuffer(Device *device) -: CommandBuffer(device) { +GLES3CommandBuffer::GLES3CommandBuffer() +: CommandBuffer() { } GLES3CommandBuffer::~GLES3CommandBuffer() { } -bool GLES3CommandBuffer::initialize(const CommandBufferInfo &info) { - _type = info.type; - _queue = info.queue; - +void GLES3CommandBuffer::doInit(const CommandBufferInfo &info) { _cmdAllocator = CC_NEW(GLES3GPUCommandAllocator); _curCmdPackage = CC_NEW(GLES3CmdPackage); - size_t setCount = ((GLES3Device *)_device)->bindingMappingInfo().bufferOffsets.size(); + size_t setCount = GLES3Device::getInstance()->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); _curDynamicOffsets.resize(setCount); - - return true; } -void GLES3CommandBuffer::destroy() { +void GLES3CommandBuffer::doDestroy() { _cmdAllocator->clearCmds(_curCmdPackage); CC_SAFE_DELETE(_curCmdPackage); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index 3ed4f1ebca..f82c86bac1 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_COMMAND_BUFFER_H_ -#define CC_GFXGLES3_COMMAND_BUFFER_H_ +#pragma once #include "gfx-base/GFXCommandBuffer.h" @@ -36,39 +35,39 @@ namespace gfx { class GLES3GPUCommandAllocator; class CC_GLES3_API GLES3CommandBuffer : public CommandBuffer { - friend class GLES3Queue; - public: - GLES3CommandBuffer(Device *device); + GLES3CommandBuffer(); ~GLES3CommandBuffer(); - virtual bool initialize(const CommandBufferInfo &info) override; - virtual void destroy() override; - - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; - virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; - virtual void endRenderPass() override; - virtual void bindPipelineState(PipelineState *pso) override; - virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; - virtual void bindInputAssembler(InputAssembler *ia) override; - virtual void setViewport(const Viewport &vp) override; - virtual void setScissor(const Rect &rect) override; - virtual void setLineWidth(float width) override; - virtual void setDepthBias(float constant, float clamp, float slope) override; - virtual void setBlendConstants(const Color &constants) override; - virtual void setDepthBound(float minBounds, float maxBounds) override; - virtual void setStencilWriteMask(StencilFace face, uint mask) override; - virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; - virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; - virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; + void endRenderPass() override; + void bindPipelineState(PipelineState *pso) override; + void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; + void bindInputAssembler(InputAssembler *ia) override; + void setViewport(const Viewport &vp) override; + void setScissor(const Rect &rect) override; + void setLineWidth(float width) override; + void setDepthBias(float constant, float clamp, float slope) override; + void setBlendConstants(const Color &constants) override; + void setDepthBound(float minBounds, float maxBounds) override; + void setStencilWriteMask(StencilFace face, uint mask) override; + void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buff, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; + void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + void dispatch(const DispatchInfo &info) override; + void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; protected: + friend class GLES3Queue; + + void doInit(const CommandBufferInfo &info) override; + void doDestroy() override; + virtual void BindStates(); GLES3GPUCommandAllocator *_cmdAllocator = nullptr; @@ -93,5 +92,3 @@ protected: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 8c0d378e67..6de1737a7c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_COMMANDS_H_ -#define CC_GFXGLES3_COMMANDS_H_ +#pragma once #include "../gfx-gles-common/GLESCommandPool.h" #include "GLES3GPUObjects.h" @@ -84,7 +83,7 @@ public: GLES3CmdBeginRenderPass() : GLESCmd(GLESCmdType::BEGIN_RENDER_PASS) {} - virtual void clear() override { + void clear() override { gpuFBO = nullptr; numClearColors = 0; } @@ -120,7 +119,7 @@ public: GLES3CmdBindStates() : GLESCmd(GLESCmdType::BIND_STATES) {} - virtual void clear() override { + void clear() override { gpuPipelineState = nullptr; gpuInputAssembler = nullptr; gpuDescriptorSets.clear(); @@ -133,7 +132,7 @@ public: DrawInfo drawInfo; GLES3CmdDraw() : GLESCmd(GLESCmdType::DRAW) {} - virtual void clear() override {} + void clear() override {} }; class GLES3CmdDispatch final : public GLESCmd { @@ -141,7 +140,7 @@ public: GLES3GPUDispatchInfo dispatchInfo; GLES3CmdDispatch() : GLESCmd(GLESCmdType::DISPATCH) {} - virtual void clear() override { + void clear() override { dispatchInfo.indirectBuffer = nullptr; dispatchInfo.indirectOffset = 0; } @@ -153,7 +152,7 @@ public: GLbitfield barriersByRegion = 0u; GLES3CmdBarrier() : GLESCmd(GLESCmdType::BARRIER) {} - virtual void clear() override { + void clear() override { barriers = 0u; barriersByRegion = 0u; } @@ -168,7 +167,7 @@ public: GLES3CmdUpdateBuffer() : GLESCmd(GLESCmdType::UPDATE_BUFFER) {} - virtual void clear() override { + void clear() override { gpuBuffer = nullptr; buffer = nullptr; } @@ -183,7 +182,7 @@ public: GLES3CmdCopyBufferToTexture() : GLESCmd(GLESCmdType::COPY_BUFFER_TO_TEXTURE) {} - virtual void clear() override { + void clear() override { gpuTexture = nullptr; regions = nullptr; count = 0u; @@ -201,7 +200,7 @@ public: GLES3CmdBlitTexture() : GLESCmd(GLESCmdType::BLIT_TEXTURE) {} - virtual void clear() override { + void clear() override { gpuTextureSrc = nullptr; gpuTextureDst = nullptr; regions = nullptr; @@ -307,5 +306,3 @@ CC_GLES3_API void GLES3CmdFuncMemoryBarrier(GLES3Device *device, GLbitfield barr } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index a928a3c83d..46f070a351 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -31,11 +31,9 @@ #if (CC_PLATFORM == CC_PLATFORM_ANDROID) #include "android/native_window.h" - #include "cocos/bindings/event/CustomEventTypes.h" - #include "cocos/bindings/event/EventDispatcher.h" #endif -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 1 namespace cc { namespace gfx { @@ -86,8 +84,8 @@ void GL_APIENTRY GLES3EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum #endif -GLES3Context::GLES3Context(Device *device) -: Context(device) { +GLES3Context::GLES3Context() +: Context() { } GLES3Context::~GLES3Context() { @@ -95,20 +93,20 @@ GLES3Context::~GLES3Context() { #if (CC_PLATFORM == CC_PLATFORM_WINDOWS || CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_MAC_OSX) -bool GLES3Context::initialize(const ContextInfo &info) { +bool GLES3Context::doInit(const ContextInfo &info) { - _vsyncMode = info.vsyncMode; + _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; ////////////////////////////////////////////////////////////////////////// - if (!gles3wInit()) { - return false; - } - if (!info.sharedCtx) { + if (!gles3wInit()) { + return false; + } + _isPrimaryContex = true; - _windowHandle = info.windowHandle; + _windowHandle = info.windowHandle; #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) _nativeDisplay = (NativeDisplayType)GetDC((HWND)_windowHandle); @@ -141,7 +139,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { // rather than any other API (such as OpenVG). EGL_CHECK(eglBindAPI(EGL_OPENGL_ES_API)); - _colorFmt = Format::RGBA8; + _colorFmt = Format::RGBA8; _depthStencilFmt = Format::D24S8; const EGLint attribs[] = { @@ -171,7 +169,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { return false; } - EGLint depth = attribs[13]; + EGLint depth = attribs[13]; EGLint stencil = attribs[15]; CC_LOG_INFO("Setup EGLConfig: depth [%d] stencil [%d]", depth, stencil); @@ -208,8 +206,8 @@ bool GLES3Context::initialize(const ContextInfo &info) { return false; } - uint width = _device->getWidth(); - uint height = _device->getHeight(); + uint width = GLES3Device::getInstance()->getWidth(); + uint height = GLES3Device::getInstance()->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); #endif @@ -228,7 +226,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { _majorVersion = 3; _minorVersion = 0; EGLint ctxAttribs[32]; - uint n = 0; + uint n = 0; bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); if (hasKHRCreateCtx) { @@ -236,7 +234,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { #if (CC_PLATFORM == CC_PLATFORM_MAC_OSX) m = 0; // Mac OpenGL doesn't really support ES 3.1+ features #endif - n = 0; + n = 0; ctxAttribs[n++] = EGL_CONTEXT_MAJOR_VERSION_KHR; ctxAttribs[n++] = _majorVersion; ctxAttribs[n++] = EGL_CONTEXT_MINOR_VERSION_KHR; @@ -257,7 +255,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { } else { ctxAttribs[n++] = EGL_CONTEXT_CLIENT_VERSION; ctxAttribs[n++] = _majorVersion; - ctxAttribs[n] = EGL_NONE; + ctxAttribs[n] = EGL_NONE; EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, NULL, ctxAttribs)); } @@ -268,55 +266,20 @@ bool GLES3Context::initialize(const ContextInfo &info) { _eglSharedContext = _eglContext; - #if (CC_PLATFORM == CC_PLATFORM_ANDROID) - EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent &) -> void { - if (_eglSurface != EGL_NO_SURFACE) { - eglDestroySurface(_eglDisplay, _eglSurface); - _eglSurface = EGL_NO_SURFACE; - } - }); - - EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [=](const CustomEvent &event) -> void { - _windowHandle = (uintptr_t)event.args->ptrVal; - - EGLint nFmt; - if (eglGetConfigAttrib(_eglDisplay, _eglConfig, EGL_NATIVE_VISUAL_ID, &nFmt) == EGL_FALSE) { - CC_LOG_ERROR("Getting configuration attributes failed."); - return; - } - uint width = _device->getWidth(); - uint height = _device->getHeight(); - ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); - - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); - if (_eglSurface == EGL_NO_SURFACE) { - CC_LOG_ERROR("Recreate window surface failed."); - return; - } - - ((GLES3Context *)_device->getContext())->MakeCurrent(); - ((GLES3Device *)_device)->stateCache()->reset(); - }); - #endif - - if (!gles3wInit()) { - return false; - } - } else { GLES3Context *sharedCtx = (GLES3Context *)info.sharedCtx; - _majorVersion = sharedCtx->major_ver(); - _minorVersion = sharedCtx->minor_ver(); - _nativeDisplay = sharedCtx->native_display(); - _eglDisplay = sharedCtx->egl_display(); - _eglConfig = sharedCtx->egl_config(); + _majorVersion = sharedCtx->major_ver(); + _minorVersion = sharedCtx->minor_ver(); + _nativeDisplay = sharedCtx->native_display(); + _eglDisplay = sharedCtx->egl_display(); + _eglConfig = sharedCtx->egl_config(); _eglSharedContext = sharedCtx->egl_shared_ctx(); - _eglSurface = sharedCtx->egl_surface(); - _colorFmt = sharedCtx->getColorFormat(); - _depthStencilFmt = sharedCtx->getDepthStencilFormat(); - _extensions = sharedCtx->_extensions; - _isInitialized = sharedCtx->_isInitialized; + _eglSurface = sharedCtx->egl_surface(); + _colorFmt = sharedCtx->getColorFormat(); + _depthStencilFmt = sharedCtx->getDepthStencilFormat(); + _extensions = sharedCtx->_extensions; + _isInitialized = sharedCtx->_isInitialized; bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); if (!hasKHRCreateCtx) { @@ -325,7 +288,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { } EGLint ctxAttribs[32]; - uint n = 0; + uint n = 0; if (hasKHRCreateCtx) { ctxAttribs[n++] = EGL_CONTEXT_MAJOR_VERSION_KHR; @@ -354,7 +317,7 @@ bool GLES3Context::initialize(const ContextInfo &info) { return true; } -void GLES3Context::destroy() { +void GLES3Context::doDestroy() { EGL_CHECK(eglMakeCurrent(_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); if (_eglContext != EGL_NO_CONTEXT) { @@ -362,27 +325,62 @@ void GLES3Context::destroy() { _eglContext = EGL_NO_CONTEXT; } - if (_isPrimaryContex && _eglSurface != EGL_NO_SURFACE) { - EGL_CHECK(eglDestroySurface(_eglDisplay, _eglSurface)); - _eglSurface = EGL_NO_SURFACE; - } + if (_isPrimaryContex) { + if (_eglSurface != EGL_NO_SURFACE) { + EGL_CHECK(eglDestroySurface(_eglDisplay, _eglSurface)); + _eglSurface = EGL_NO_SURFACE; + } - if (_eglDisplay != EGL_NO_DISPLAY) { - EGL_CHECK(eglTerminate(_eglDisplay)); - _eglDisplay = EGL_NO_DISPLAY; - } + if (_eglDisplay != EGL_NO_DISPLAY) { + EGL_CHECK(eglTerminate(_eglDisplay)); + _eglDisplay = EGL_NO_DISPLAY; + } #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) - if (_isPrimaryContex && _nativeDisplay) { - ReleaseDC((HWND)_windowHandle, _nativeDisplay); - } + if (_nativeDisplay) { + ReleaseDC((HWND)_windowHandle, _nativeDisplay); + } #endif + } _isPrimaryContex = false; - _windowHandle = 0; - _nativeDisplay = 0; - _vsyncMode = VsyncMode::OFF; - _isInitialized = false; + _windowHandle = 0; + _nativeDisplay = 0; + _vsyncMode = VsyncMode::OFF; + _isInitialized = false; +} + +void GLES3Context::releaseSurface(uintptr_t windowHandle) { + #if (CC_PLATFORM == CC_PLATFORM_ANDROID) + if (_eglSurface != EGL_NO_SURFACE) { + eglDestroySurface(_eglDisplay, _eglSurface); + _eglSurface = EGL_NO_SURFACE; + } + #endif +} + +void GLES3Context::acquireSurface(uintptr_t windowHandle) { + #if (CC_PLATFORM == CC_PLATFORM_ANDROID) + _windowHandle = windowHandle; + + EGLint nFmt; + if (eglGetConfigAttrib(_eglDisplay, _eglConfig, EGL_NATIVE_VISUAL_ID, &nFmt) == EGL_FALSE) { + CC_LOG_ERROR("Getting configuration attributes failed."); + return; + } + uint width = GLES3Device::getInstance()->getWidth(); + uint height = GLES3Device::getInstance()->getHeight(); + ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); + + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); + if (_eglSurface == EGL_NO_SURFACE) { + CC_LOG_ERROR("Recreate window surface failed."); + return; + } + + ((GLES3Context *)GLES3Device::getInstance()->getContext())->MakeCurrent(); + GLES3Device::getInstance()->stateCache()->reset(); + #endif } bool GLES3Context::MakeCurrentImpl(bool bound) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.h b/native/cocos/renderer/gfx-gles3/GLES3Context.h index 00f87c6d80..c4e6ba25b1 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_EGL_CONTEXT_H_ -#define CC_GFXGLES3_EGL_CONTEXT_H_ +#pragma once #include "gfx-base/GFXContext.h" @@ -35,13 +34,10 @@ namespace gfx { class CC_GLES3_API GLES3Context final : public Context { public: - GLES3Context(Device *device); + GLES3Context(); ~GLES3Context(); -public: - virtual bool initialize(const ContextInfo &info) override; - virtual void destroy() override; - virtual void present() override; + void present() override; bool MakeCurrent(bool bound); bool CheckExtension(const String &extension) const; @@ -49,47 +45,52 @@ public: #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) CC_INLINE intptr_t eagl_context() const { return _eaglContext; } CC_INLINE intptr_t eagl_shared_ctx() const { return _eaglSharedContext; } - CC_INLINE uint getDefaultFramebuffer() const { return _defaultFBO; } + CC_INLINE uint getDefaultFramebuffer() const { return _defaultFBO; } #else CC_INLINE NativeDisplayType native_display() const { return _nativeDisplay; } - CC_INLINE EGLDisplay egl_display() const { return _eglDisplay; } - CC_INLINE EGLConfig egl_config() const { return _eglConfig; } - CC_INLINE EGLSurface egl_surface() const { return _eglSurface; } - CC_INLINE EGLContext egl_context() const { return _eglContext; } - CC_INLINE EGLContext egl_shared_ctx() const { return _eglSharedContext; } + CC_INLINE EGLDisplay egl_display() const { return _eglDisplay; } + CC_INLINE EGLConfig egl_config() const { return _eglConfig; } + CC_INLINE EGLSurface egl_surface() const { return _eglSurface; } + CC_INLINE EGLContext egl_context() const { return _eglContext; } + CC_INLINE EGLContext egl_shared_ctx() const { return _eglSharedContext; } #endif CC_INLINE bool MakeCurrent() { return MakeCurrent(true); } - CC_INLINE int major_ver() const { return _majorVersion; } - CC_INLINE int minor_ver() const { return _minorVersion; } + CC_INLINE int major_ver() const { return _majorVersion; } + CC_INLINE int minor_ver() const { return _minorVersion; } -private: + void releaseSurface(uintptr_t windowHandle); + void acquireSurface(uintptr_t windowHandle); + +protected: bool MakeCurrentImpl(bool bound); #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) bool createCustomFrameBuffer(); - void destroyCustomFrameBuffer(); + void doDestroyCustomFrameBuffer(); #endif -private: +protected: + bool doInit(const ContextInfo &info) override; + void doDestroy() override; + bool _isPrimaryContex = false; #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - intptr_t _eaglContext = 0; + intptr_t _eaglContext = 0; intptr_t _eaglSharedContext = 0; // iOS needs to created frame buffer and attach color/depth/stencil buffer. - uint _defaultFBO = 0; - uint _defaultColorBuffer = 0; + uint _defaultFBO = 0; + uint _defaultColorBuffer = 0; uint _defaultDepthStencilBuffer = 0; #else - NativeDisplayType _nativeDisplay = 0; - EGLDisplay _eglDisplay = EGL_NO_DISPLAY; - EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; - EGLSurface _eglSurface = EGL_NO_SURFACE; - EGLContext _eglContext = EGL_NO_CONTEXT; - EGLContext _eglSharedContext = EGL_NO_CONTEXT; -#endif - int _majorVersion = 0; - int _minorVersion = 0; - StringArray _extensions; - bool _isInitialized = false; + NativeDisplayType _nativeDisplay = 0; + EGLDisplay _eglDisplay = EGL_NO_DISPLAY; + EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; + EGLSurface _eglSurface = EGL_NO_SURFACE; + EGLContext _eglContext = EGL_NO_CONTEXT; + EGLContext _eglSharedContext = EGL_NO_CONTEXT; + int _majorVersion = 0; + int _minorVersion = 0; + StringArray _extensions; + bool _isInitialized = false; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 3741102279..479777b464 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -33,7 +33,7 @@ namespace cc { namespace gfx { -bool GLES3Context::initialize(const ContextInfo &info) { +void GLES3Context::doInit(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; @@ -189,7 +189,7 @@ void GLES3Context::destroyCustomFrameBuffer() { } } -void GLES3Context::destroy() { +void GLES3Context::doDestroy() { destroyCustomFrameBuffer(); if (_eaglContext) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index a18767c067..867485dcc8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -35,25 +35,18 @@ namespace cc { namespace gfx { -GLES3DescriptorSet::GLES3DescriptorSet(Device *device) -: DescriptorSet(device) { +GLES3DescriptorSet::GLES3DescriptorSet() +: DescriptorSet() { } GLES3DescriptorSet::~GLES3DescriptorSet() { } -bool GLES3DescriptorSet::initialize(const DescriptorSetInfo &info) { - - _layout = info.layout; - +void GLES3DescriptorSet::doInit(const DescriptorSetInfo &info) { const GLES3GPUDescriptorSetLayout *gpuDescriptorSetLayout = ((GLES3DescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; const size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); - _buffers.resize(descriptorCount); - _textures.resize(descriptorCount); - _samplers.resize(descriptorCount); - _gpuDescriptorSet = CC_NEW(GLES3GPUDescriptorSet); _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount); for (size_t i = 0u, k = 0u; i < bindingCount; i++) { @@ -64,19 +57,13 @@ bool GLES3DescriptorSet::initialize(const DescriptorSetInfo &info) { } _gpuDescriptorSet->descriptorIndices = &gpuDescriptorSetLayout->descriptorIndices; - - return true; } -void GLES3DescriptorSet::destroy() { +void GLES3DescriptorSet::doDestroy() { if (_gpuDescriptorSet) { CC_DELETE(_gpuDescriptorSet); _gpuDescriptorSet = nullptr; } - // do remember to clear these or else it might not be properly updated when reused - _buffers.clear(); - _textures.clear(); - _samplers.clear(); } void GLES3DescriptorSet::update() { diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h index 0f8792be85..2bb082e9b7 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.h @@ -35,17 +35,17 @@ class GLES3GPUDescriptorSet; class CC_GLES3_API GLES3DescriptorSet final : public DescriptorSet { public: - GLES3DescriptorSet(Device *device); + GLES3DescriptorSet(); ~GLES3DescriptorSet(); -public: - virtual bool initialize(const DescriptorSetInfo &info) override; - virtual void destroy() override; - virtual void update() override; + void update() override; CC_INLINE GLES3GPUDescriptorSet *gpuDescriptorSet() const { return _gpuDescriptorSet; } -private: +protected: + void doInit(const DescriptorSetInfo &info) override; + void doDestroy() override; + GLES3GPUDescriptorSet *_gpuDescriptorSet = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp index a752a86ad9..f95a406a95 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp @@ -31,45 +31,21 @@ namespace cc { namespace gfx { -GLES3DescriptorSetLayout::GLES3DescriptorSetLayout(Device *device) -: DescriptorSetLayout(device) { +GLES3DescriptorSetLayout::GLES3DescriptorSetLayout() +: DescriptorSetLayout() { } GLES3DescriptorSetLayout::~GLES3DescriptorSetLayout() { } -bool GLES3DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { - - _bindings = info.bindings; - size_t bindingCount = _bindings.size(); - _descriptorCount = 0u; - - if (bindingCount) { - uint maxBinding = 0u; - vector flattenedIndices(bindingCount); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - flattenedIndices[i] = _descriptorCount; - _descriptorCount += binding.count; - if (binding.binding > maxBinding) maxBinding = binding.binding; - } - - _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - _bindingIndices[binding.binding] = i; - _descriptorIndices[binding.binding] = flattenedIndices[i]; - } - } - +void GLES3DescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { _gpuDescriptorSetLayout = CC_NEW(GLES3GPUDescriptorSetLayout); _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; _gpuDescriptorSetLayout->bindingIndices = _bindingIndices; _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; _gpuDescriptorSetLayout->bindings = _bindings; - for (uint i = 0u; i < bindingCount; i++) { + for (uint i = 0u; i < _bindings.size(); i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { for (uint j = 0u; j < binding.count; j++) { @@ -77,10 +53,9 @@ bool GLES3DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { } } } - return true; } -void GLES3DescriptorSetLayout::destroy() { +void GLES3DescriptorSetLayout::doDestroy() { if (_gpuDescriptorSetLayout) { CC_DELETE(_gpuDescriptorSetLayout); _gpuDescriptorSetLayout = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h index 0a39346561..53ea3ca0c6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h @@ -35,16 +35,15 @@ class GLES3GPUDescriptorSetLayout; class CC_GLES3_API GLES3DescriptorSetLayout final : public DescriptorSetLayout { public: - GLES3DescriptorSetLayout(Device *device); + GLES3DescriptorSetLayout(); ~GLES3DescriptorSetLayout(); -public: - virtual bool initialize(const DescriptorSetLayoutInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES3GPUDescriptorSetLayout *gpuDescriptorSetLayout() const { return _gpuDescriptorSetLayout; } -private: +protected: + void doInit(const DescriptorSetLayoutInfo &info) override; + void doDestroy() override; + GLES3GPUDescriptorSetLayout *_gpuDescriptorSetLayout = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 41e5869b0f..170dd0281a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -46,42 +46,46 @@ namespace cc { namespace gfx { +GLES3Device *GLES3Device::_instance = nullptr; + +GLES3Device *GLES3Device::getInstance() { + return GLES3Device::_instance; +} + GLES3Device::GLES3Device() { + _API = API::GLES3; + _deviceName = "GLES3"; + + GLES3Device::_instance = this; } GLES3Device::~GLES3Device() { + GLES3Device::_instance = nullptr; } -bool GLES3Device::initialize(const DeviceInfo &info) { - _API = API::GLES3; - _deviceName = "GLES3"; - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; - _nativeHeight = info.nativeHeight; - _windowHandle = info.windowHandle; +bool GLES3Device::doInit(const DeviceInfo &info) { + ContextInfo ctxInfo; + ctxInfo.windowHandle = _windowHandle; - _bindingMappingInfo = info.bindingMappingInfo; - if (!_bindingMappingInfo.bufferOffsets.size()) { - _bindingMappingInfo.bufferOffsets.push_back(0); - } - if (!_bindingMappingInfo.samplerOffsets.size()) { - _bindingMappingInfo.samplerOffsets.push_back(0); + _renderContext = CC_NEW(GLES3Context); + if (!_renderContext->initialize(ctxInfo)) { + destroy(); + return false; } + QueueInfo queueInfo; + queueInfo.type = QueueType::GRAPHICS; + _queue = createQueue(queueInfo); + + CommandBufferInfo cmdBuffInfo; + cmdBuffInfo.type = CommandBufferType::PRIMARY; + cmdBuffInfo.queue = _queue; + _cmdBuff = createCommandBuffer(cmdBuffInfo); + _gpuStateCache = CC_NEW(GLES3GPUStateCache); _gpuStagingBufferPool = CC_NEW(GLES3GPUStagingBufferPool); _gpuFramebufferCacheMap = CC_NEW(GLES3GPUFramebufferCacheMap(_gpuStateCache)); - ContextInfo ctxInfo; - ctxInfo.windowHandle = _windowHandle; - ctxInfo.sharedCtx = info.sharedCtx; - - _renderContext = CC_NEW(GLES3Context(this)); - if (!_renderContext->initialize(ctxInfo)) { - destroy(); - return false; - } bindRenderContext(true); String extStr = (const char *)glGetString(GL_EXTENSIONS); @@ -95,7 +99,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { _features[(uint)Feature::INSTANCED_ARRAYS] = true; _features[(uint)Feature::MULTIPLE_RENDER_TARGETS] = true; _features[(uint)Feature::BLEND_MINMAX] = true; - _features[(int)Feature::ELEMENT_INDEX_UINT] = true; + _features[(uint)Feature::ELEMENT_INDEX_UINT] = true; uint minorVersion = ((GLES3Context *)_context)->minor_ver(); if (minorVersion) @@ -155,15 +159,6 @@ bool GLES3Device::initialize(const DeviceInfo &info) { CC_LOG_INFO("NATIVE_SIZE: %d x %d", _nativeWidth, _nativeHeight); CC_LOG_INFO("COMPRESSED_FORMATS: %s", compressedFmts.c_str()); - QueueInfo queueInfo; - queueInfo.type = QueueType::GRAPHICS; - _queue = createQueue(queueInfo); - - CommandBufferInfo cmdBuffInfo; - cmdBuffInfo.type = CommandBufferType::PRIMARY; - cmdBuffInfo.queue = _queue; - _cmdBuff = createCommandBuffer(cmdBuffInfo); - glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_caps.maxVertexAttributes); glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_caps.maxVertexUniformVectors); glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_caps.maxFragmentUniformVectors); @@ -176,7 +171,7 @@ bool GLES3Device::initialize(const DeviceInfo &info) { glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, (GLint *)&_caps.uboOffsetAlignment); glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_caps.depthBits); glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_caps.stencilBits); - + if (minorVersion) { glGetIntegerv(GL_MAX_IMAGE_UNITS, (GLint *)&_caps.maxImageUnits); glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE, (GLint *)&_caps.maxShaderStorageBlockSize); @@ -196,16 +191,25 @@ bool GLES3Device::initialize(const DeviceInfo &info) { return true; } -void GLES3Device::destroy() { - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_cmdBuff); +void GLES3Device::doDestroy() { CC_SAFE_DELETE(_gpuFramebufferCacheMap); CC_SAFE_DELETE(_gpuStagingBufferPool); CC_SAFE_DELETE(_gpuStateCache); + + CC_SAFE_DESTROY(_cmdBuff); + CC_SAFE_DESTROY(_queue); CC_SAFE_DESTROY(_deviceContext); CC_SAFE_DESTROY(_renderContext); } +void GLES3Device::releaseSurface(const uintptr_t windowHandle) { + ((GLES3Context *)_context)->releaseSurface(windowHandle); +} + +void GLES3Device::acquireSurface(const uintptr_t windowHandle) { + ((GLES3Context *)_context)->acquireSurface(windowHandle); +} + void GLES3Device::resize(uint width, uint height) { _width = width; _height = height; @@ -245,7 +249,7 @@ void GLES3Device::bindDeviceContext(bool bound) { ctxInfo.windowHandle = _windowHandle; ctxInfo.sharedCtx = _renderContext; - _deviceContext = CC_NEW(GLES3Context(this)); + _deviceContext = CC_NEW(GLES3Context); _deviceContext->initialize(ctxInfo); } _deviceContext->MakeCurrent(bound); @@ -259,65 +263,65 @@ void GLES3Device::bindDeviceContext(bool bound) { uint GLES3Device::getMinorVersion() const { return ((GLES3Context *)_context)->minor_ver(); } -CommandBuffer *GLES3Device::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer(this)); - return CC_NEW(GLES3CommandBuffer(this)); +CommandBuffer *GLES3Device::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer); + return CC_NEW(GLES3CommandBuffer); } Queue *GLES3Device::createQueue() { - return CC_NEW(GLES3Queue(this)); + return CC_NEW(GLES3Queue); } Buffer *GLES3Device::createBuffer() { - return CC_NEW(GLES3Buffer(this)); + return CC_NEW(GLES3Buffer); } Texture *GLES3Device::createTexture() { - return CC_NEW(GLES3Texture(this)); + return CC_NEW(GLES3Texture); } Sampler *GLES3Device::createSampler() { - return CC_NEW(GLES3Sampler(this)); + return CC_NEW(GLES3Sampler); } Shader *GLES3Device::createShader() { - return CC_NEW(GLES3Shader(this)); + return CC_NEW(GLES3Shader); } InputAssembler *GLES3Device::createInputAssembler() { - return CC_NEW(GLES3InputAssembler(this)); + return CC_NEW(GLES3InputAssembler); } RenderPass *GLES3Device::createRenderPass() { - return CC_NEW(GLES3RenderPass(this)); + return CC_NEW(GLES3RenderPass); } Framebuffer *GLES3Device::createFramebuffer() { - return CC_NEW(GLES3Framebuffer(this)); + return CC_NEW(GLES3Framebuffer); } DescriptorSet *GLES3Device::createDescriptorSet() { - return CC_NEW(GLES3DescriptorSet(this)); + return CC_NEW(GLES3DescriptorSet); } DescriptorSetLayout *GLES3Device::createDescriptorSetLayout() { - return CC_NEW(GLES3DescriptorSetLayout(this)); + return CC_NEW(GLES3DescriptorSetLayout); } PipelineLayout *GLES3Device::createPipelineLayout() { - return CC_NEW(GLES3PipelineLayout(this)); + return CC_NEW(GLES3PipelineLayout); } PipelineState *GLES3Device::createPipelineState() { - return CC_NEW(GLES3PipelineState(this)); + return CC_NEW(GLES3PipelineState); } GlobalBarrier *GLES3Device::createGlobalBarrier() { - return CC_NEW(GLES3GlobalBarrier(this)); + return CC_NEW(GLES3GlobalBarrier); } TextureBarrier *GLES3Device::createTextureBarrier() { - return CC_NEW(TextureBarrier(this)); + return CC_NEW(TextureBarrier); } void GLES3Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 7ee25c88f1..5f2bb8e552 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_DEVICE_H_ -#define CC_GFXGLES3_DEVICE_H_ +#pragma once #include "gfx-base/GFXDevice.h" @@ -38,8 +37,9 @@ class GLES3GPUFramebufferCacheMap; class CC_GLES3_API GLES3Device final : public Device { public: - GLES3Device(); - ~GLES3Device(); + static GLES3Device *getInstance(); + + ~GLES3Device() override; using Device::copyBuffersToTexture; using Device::createBuffer; @@ -58,17 +58,16 @@ public: using Device::createTexture; using Device::createTextureBarrier; - virtual bool initialize(const DeviceInfo &info) override; - virtual void destroy() override; - virtual void resize(uint width, uint height) override; - virtual void acquire() override; - virtual void present() override; + void resize(uint width, uint height) override; + void acquire() override; + void present() override; - CC_INLINE GLES3GPUStateCache *stateCache() const { return _gpuStateCache; } - CC_INLINE GLES3GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } - CC_INLINE GLES3GPUFramebufferCacheMap *framebufferCacheMap() const { return _gpuFramebufferCacheMap; } + inline GLES3GPUStateCache * stateCache() const { return _gpuStateCache; } + inline GLES3GPUStagingBufferPool * stagingBufferPool() const { return _gpuStagingBufferPool; } + inline GLES3GPUFramebufferCacheMap *framebufferCacheMap() const { return _gpuFramebufferCacheMap; } + inline uint getThreadID() const { return _threadID; } - CC_INLINE bool checkExtension(const String &extension) const { + inline bool checkExtension(const String &extension) const { for (size_t i = 0; i < _extensions.size(); ++i) { if (_extensions[i].find(extension) != String::npos) { return true; @@ -77,31 +76,41 @@ public: return false; } - CC_INLINE uint getThreadID() const { return _threadID; } - uint getMinorVersion() const; + uint getMinorVersion() const; protected: - virtual CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Queue * createQueue() override; - virtual Buffer * createBuffer() override; - virtual Texture * createTexture() override; - virtual Sampler * createSampler() override; - virtual Shader * createShader() override; - virtual InputAssembler * createInputAssembler() override; - virtual RenderPass * createRenderPass() override; - virtual Framebuffer * createFramebuffer() override; - virtual DescriptorSet * createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout * createPipelineLayout() override; - virtual PipelineState * createPipelineState() override; - virtual GlobalBarrier * createGlobalBarrier() override; - virtual TextureBarrier * createTextureBarrier() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + static GLES3Device *_instance; - virtual void bindRenderContext(bool bound) override; - virtual void bindDeviceContext(bool bound) override; + friend class DeviceCreator; + friend class GLES3Context; + + GLES3Device(); + + bool doInit(const DeviceInfo &info) override; + void doDestroy() override; + CommandBuffer * createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + Queue * createQueue() override; + Buffer * createBuffer() override; + Texture * createTexture() override; + Sampler * createSampler() override; + Shader * createShader() override; + InputAssembler * createInputAssembler() override; + RenderPass * createRenderPass() override; + Framebuffer * createFramebuffer() override; + DescriptorSet * createDescriptorSet() override; + DescriptorSetLayout *createDescriptorSetLayout() override; + PipelineLayout * createPipelineLayout() override; + PipelineState * createPipelineState() override; + GlobalBarrier * createGlobalBarrier() override; + TextureBarrier * createTextureBarrier() override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + + void releaseSurface(uintptr_t windowHandle) override; + void acquireSurface(uintptr_t windowHandle) override; + + void bindRenderContext(bool bound) override; + void bindDeviceContext(bool bound) override; -private: GLES3Context * _renderContext = nullptr; GLES3Context * _deviceContext = nullptr; GLES3GPUStateCache * _gpuStateCache = nullptr; @@ -115,5 +124,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp index e97f4f0cbc..1a7fee1ee4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp @@ -24,29 +24,26 @@ ****************************************************************************/ #include "GLES3Std.h" + #include "GLES3Framebuffer.h" -#include "GLES3RenderPass.h" +#include "GLES3Device.h" #include "GLES3Commands.h" +#include "GLES3RenderPass.h" #include "GLES3Texture.h" namespace cc { namespace gfx { -GLES3Framebuffer::GLES3Framebuffer(Device *device) -: Framebuffer(device) { +GLES3Framebuffer::GLES3Framebuffer() +: Framebuffer() { } GLES3Framebuffer::~GLES3Framebuffer() { } -bool GLES3Framebuffer::initialize(const FramebufferInfo &info) { - - _renderPass = info.renderPass; - _colorTextures = info.colorTextures; - _depthStencilTexture = info.depthStencilTexture; - - _gpuFBO = CC_NEW(GLES3GPUFramebuffer); - _gpuFBO->gpuRenderPass = ((GLES3RenderPass *)_renderPass)->gpuRenderPass(); +void GLES3Framebuffer::doInit(const FramebufferInfo &info) { + _gpuFBO = CC_NEW(GLES3GPUFramebuffer); + _gpuFBO->gpuRenderPass = ((GLES3RenderPass *)_renderPass)->gpuRenderPass(); _gpuFBO->depthStencilMipmapLevel = info.depthStencilMipmapLevel; for (uint mipLevel : info.colorMipmapLevels) { _gpuFBO->colorMipmapLevels.push_back(mipLevel); @@ -64,14 +61,12 @@ bool GLES3Framebuffer::initialize(const FramebufferInfo &info) { _gpuFBO->gpuDepthStencilTexture = ((GLES3Texture *)_depthStencilTexture)->gpuTexture(); } - GLES3CmdFuncCreateFramebuffer((GLES3Device *)_device, _gpuFBO); - - return true; + GLES3CmdFuncCreateFramebuffer(GLES3Device::getInstance(), _gpuFBO); } -void GLES3Framebuffer::destroy() { +void GLES3Framebuffer::doDestroy() { if (_gpuFBO) { - GLES3CmdFuncDestroyFramebuffer((GLES3Device *)_device, _gpuFBO); + GLES3CmdFuncDestroyFramebuffer(GLES3Device::getInstance(), _gpuFBO); CC_DELETE(_gpuFBO); _gpuFBO = nullptr; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h index ede4a77926..b428502b5b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_FRAMEBUFFER_H_ -#define CC_GFXGLES3_FRAMEBUFFER_H_ +#pragma once #include "gfx-base/GFXFramebuffer.h" @@ -35,20 +34,17 @@ class GLES3GPUFramebuffer; class CC_GLES3_API GLES3Framebuffer final : public Framebuffer { public: - GLES3Framebuffer(Device *device); + GLES3Framebuffer(); ~GLES3Framebuffer(); -public: - virtual bool initialize(const FramebufferInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES3GPUFramebuffer *gpuFBO() const { return _gpuFBO; } -private: +protected: + void doInit(const FramebufferInfo &info) override; + void doDestroy() override; + GLES3GPUFramebuffer *_gpuFBO = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 8572c076ce..e2a40e21dc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_GPU_OBJECTS_H_ -#define CC_GFXGLES3_GPU_OBJECTS_H_ +#pragma once #include "gfx-base/GFXDef.h" #include "GLES3Wrangler.h" @@ -484,5 +483,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp index 0ff0517c56..de6774d493 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp @@ -31,17 +31,15 @@ namespace cc { namespace gfx { -GLES3GlobalBarrier::GLES3GlobalBarrier(Device *device) -: GlobalBarrier(device) { +GLES3GlobalBarrier::GLES3GlobalBarrier() +: GlobalBarrier() { } GLES3GlobalBarrier::~GLES3GlobalBarrier() { CC_SAFE_DELETE(_gpuBarrier); } -bool GLES3GlobalBarrier::initialize(const GlobalBarrierInfo &info) { - _info = info; - +void GLES3GlobalBarrier::doInit(const GlobalBarrierInfo &info) { _gpuBarrier = CC_NEW(GLES3GPUGlobalBarrier); bool hasShaderWrites = false; @@ -123,8 +121,6 @@ bool GLES3GlobalBarrier::initialize(const GlobalBarrierInfo &info) { } } } - - return true; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h index 5312e5f7ac..cc4af621c5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h @@ -23,9 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_GLOBAL_BARRIER_H_ -#define CC_GFXGLES3_GLOBAL_BARRIER_H_ - +#pragma once #include "gfx-base/GFXGlobalBarrier.h" namespace cc { @@ -35,18 +33,16 @@ class GLES3GPUGlobalBarrier; class CC_DLL GLES3GlobalBarrier : public GlobalBarrier { public: - GLES3GlobalBarrier(Device *device); + GLES3GlobalBarrier(); ~GLES3GlobalBarrier(); CC_INLINE const GLES3GPUGlobalBarrier *gpuBarrier() const { return _gpuBarrier; } protected: - bool initialize(const GlobalBarrierInfo &info) override; + void doInit(const GlobalBarrierInfo &info) override; GLES3GPUGlobalBarrier *_gpuBarrier = nullptr; }; } // namespace gfx } // namespace cc - -#endif // CC_GFXVULKAN_GLOBAL_BARRIER_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp index a16f0ddff9..72fea3adfb 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp @@ -24,41 +24,28 @@ ****************************************************************************/ #include "GLES3Std.h" -#include "GLES3InputAssembler.h" -#include "GLES3Commands.h" + #include "GLES3Buffer.h" +#include "GLES3Commands.h" +#include "GLES3Device.h" +#include "GLES3InputAssembler.h" namespace cc { namespace gfx { -GLES3InputAssembler::GLES3InputAssembler(Device *device) -: InputAssembler(device) { +GLES3InputAssembler::GLES3InputAssembler() +: InputAssembler() { } GLES3InputAssembler::~GLES3InputAssembler() { } -bool GLES3InputAssembler::initialize(const InputAssemblerInfo &info) { - - _attributes = info.attributes; - _vertexBuffers = info.vertexBuffers; - _indexBuffer = info.indexBuffer; - _indirectBuffer = info.indirectBuffer; - - if (_indexBuffer) { - _indexCount = _indexBuffer->getCount(); - _firstIndex = 0; - } else if (_vertexBuffers.size()) { - _vertexCount = _vertexBuffers[0]->getCount(); - _firstVertex = 0; - _vertexOffset = 0; - } - - _gpuInputAssembler = CC_NEW(GLES3GPUInputAssembler); +void GLES3InputAssembler::doInit(const InputAssemblerInfo &info) { + _gpuInputAssembler = CC_NEW(GLES3GPUInputAssembler); _gpuInputAssembler->attributes = _attributes; _gpuInputAssembler->gpuVertexBuffers.resize(_vertexBuffers.size()); for (size_t i = 0; i < _gpuInputAssembler->gpuVertexBuffers.size(); ++i) { - GLES3Buffer *vb = (GLES3Buffer *)_vertexBuffers[i]; + GLES3Buffer *vb = (GLES3Buffer *)_vertexBuffers[i]; _gpuInputAssembler->gpuVertexBuffers[i] = vb->gpuBuffer(); } if (info.indexBuffer) @@ -67,26 +54,23 @@ bool GLES3InputAssembler::initialize(const InputAssemblerInfo &info) { if (info.indirectBuffer) _gpuInputAssembler->gpuIndirectBuffer = static_cast(info.indirectBuffer)->gpuBuffer(); - GLES3CmdFuncCreateInputAssembler((GLES3Device *)_device, _gpuInputAssembler); - _attributesHash = computeAttributesHash(); - - return true; + GLES3CmdFuncCreateInputAssembler(GLES3Device::getInstance(), _gpuInputAssembler); } -void GLES3InputAssembler::destroy() { +void GLES3InputAssembler::doDestroy() { if (_gpuInputAssembler) { - GLES3CmdFuncDestroyInputAssembler((GLES3Device *)_device, _gpuInputAssembler); + GLES3CmdFuncDestroyInputAssembler(GLES3Device::getInstance(), _gpuInputAssembler); CC_DELETE(_gpuInputAssembler); _gpuInputAssembler = nullptr; } } void GLES3InputAssembler::ExtractCmdDraw(GLES3CmdDraw *cmd) { - cmd->drawInfo.vertexCount = _vertexCount; - cmd->drawInfo.firstVertex = _firstVertex; - cmd->drawInfo.indexCount = _indexCount; - cmd->drawInfo.firstIndex = _firstIndex; - cmd->drawInfo.vertexOffset = _vertexOffset; + cmd->drawInfo.vertexCount = _vertexCount; + cmd->drawInfo.firstVertex = _firstVertex; + cmd->drawInfo.indexCount = _indexCount; + cmd->drawInfo.firstIndex = _firstIndex; + cmd->drawInfo.vertexOffset = _vertexOffset; cmd->drawInfo.instanceCount = _instanceCount; cmd->drawInfo.firstInstance = _firstInstance; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h index 8300438956..89314f69d6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h +++ b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_INPUT_ASSEMBLER_H_ -#define CC_GFXGLES3_INPUT_ASSEMBLER_H_ +#pragma once #include "gfx-base/GFXInputAssembler.h" @@ -36,22 +35,19 @@ class GLES3CmdDraw; class CC_GLES3_API GLES3InputAssembler final : public InputAssembler { public: - GLES3InputAssembler(Device *device); + GLES3InputAssembler(); ~GLES3InputAssembler(); -public: - virtual bool initialize(const InputAssemblerInfo &info) override; - virtual void destroy() override; - void ExtractCmdDraw(GLES3CmdDraw *cmd); CC_INLINE GLES3GPUInputAssembler *gpuInputAssembler() const { return _gpuInputAssembler; } -private: +protected: + void doInit(const InputAssemblerInfo &info) override; + void doDestroy() override; + GLES3GPUInputAssembler *_gpuInputAssembler = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp index 1cbc78bfa9..ee7f94423e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp @@ -32,17 +32,14 @@ namespace cc { namespace gfx { -GLES3PipelineLayout::GLES3PipelineLayout(Device *device) -: PipelineLayout(device) { +GLES3PipelineLayout::GLES3PipelineLayout() +: PipelineLayout() { } GLES3PipelineLayout::~GLES3PipelineLayout() { } -bool GLES3PipelineLayout::initialize(const PipelineLayoutInfo &info) { - - _setLayouts = info.setLayouts; - +void GLES3PipelineLayout::doInit(const PipelineLayoutInfo &info) { _gpuPipelineLayout = CC_NEW(GLES3GPUPipelineLayout); uint offset = 0u; @@ -66,11 +63,9 @@ bool GLES3PipelineLayout::initialize(const PipelineLayoutInfo &info) { _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->dynamicOffsetCount = offset; _gpuPipelineLayout->dynamicOffsets.resize(offset); - - return true; } -void GLES3PipelineLayout::destroy() { +void GLES3PipelineLayout::doDestroy() { if (_gpuPipelineLayout) { CC_DELETE(_gpuPipelineLayout); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h index d158f92336..989c519b1c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.h @@ -35,16 +35,15 @@ class GLES3GPUPipelineLayout; class CC_GLES3_API GLES3PipelineLayout final : public PipelineLayout { public: - GLES3PipelineLayout(Device *device); + GLES3PipelineLayout(); ~GLES3PipelineLayout(); -public: - virtual bool initialize(const PipelineLayoutInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES3GPUPipelineLayout *gpuPipelineLayout() const { return _gpuPipelineLayout; } -private: +protected: + void doInit(const PipelineLayoutInfo &info) override; + void doDestroy() override; + GLES3GPUPipelineLayout *_gpuPipelineLayout = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp index 5207968ad5..3b39083052 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp @@ -51,25 +51,14 @@ const GLenum GLES3Primitives[] = { GL_NONE, }; -GLES3PipelineState::GLES3PipelineState(Device *device) -: PipelineState(device) { +GLES3PipelineState::GLES3PipelineState() +: PipelineState() { } GLES3PipelineState::~GLES3PipelineState() { } -bool GLES3PipelineState::initialize(const PipelineStateInfo &info) { - _primitive = info.primitive; - _shader = info.shader; - _inputState = info.inputState; - _rasterizerState = info.rasterizerState; - _depthStencilState = info.depthStencilState; - _bindPoint = info.bindPoint; - _blendState = info.blendState; - _dynamicStates = info.dynamicStates; - _renderPass = info.renderPass; - _pipelineLayout = info.pipelineLayout; - +void GLES3PipelineState::doInit(const PipelineStateInfo &info) { _gpuPipelineState = CC_NEW(GLES3GPUPipelineState); _gpuPipelineState->glPrimitive = GLES3Primitives[(int)_primitive]; _gpuPipelineState->gpuShader = ((GLES3Shader *)_shader)->gpuShader(); @@ -84,11 +73,9 @@ bool GLES3PipelineState::initialize(const PipelineStateInfo &info) { _gpuPipelineState->dynamicStates.push_back((DynamicStateFlagBit)(1 << i)); } } - - return true; } -void GLES3PipelineState::destroy() { +void GLES3PipelineState::doDestroy() { if (_gpuPipelineState) { CC_DELETE(_gpuPipelineState); _gpuPipelineState = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h index dad66fc3bb..15b228c03c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_PIPELINE_STATE_H_ -#define CC_GFXGLES3_PIPELINE_STATE_H_ +#pragma once #include "gfx-base/GFXPipelineState.h" @@ -35,20 +34,17 @@ class GLES3GPUPipelineState; class CC_GLES3_API GLES3PipelineState final : public PipelineState { public: - GLES3PipelineState(Device *device); + GLES3PipelineState(); ~GLES3PipelineState(); -public: - virtual bool initialize(const PipelineStateInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES3GPUPipelineState *gpuPipelineState() const { return _gpuPipelineState; } -private: +protected: + void doInit(const PipelineStateInfo &info) override; + void doDestroy() override; + GLES3GPUPipelineState *_gpuPipelineState = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 9e3cdea670..6d9760020e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -39,8 +39,8 @@ namespace cc { namespace gfx { -GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer(Device *device) -: GLES3CommandBuffer(device) { +GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer() +: GLES3CommandBuffer() { } GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { @@ -68,12 +68,12 @@ void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuf GLES3GPURenderPass * gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); - GLES3CmdFuncBeginRenderPass((GLES3Device *)_device, gpuRenderPass, gpuFramebuffer, + GLES3CmdFuncBeginRenderPass(GLES3Device::getInstance(), gpuRenderPass, gpuFramebuffer, renderArea, gpuRenderPass->colorAttachments.size(), colors, depth, stencil); } void GLES3PrimaryCommandBuffer::endRenderPass() { - GLES3CmdFuncEndRenderPass((GLES3Device *)_device); + GLES3CmdFuncEndRenderPass(GLES3Device::getInstance()); _isInRenderPass = false; } @@ -87,7 +87,7 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { DrawInfo drawInfo; ia->extractDrawInfo(drawInfo); - GLES3CmdFuncDraw((GLES3Device *)_device, drawInfo); + GLES3CmdFuncDraw(GLES3Device::getInstance(), drawInfo); ++_numDrawCalls; _numInstances += ia->getInstanceCount(); @@ -117,7 +117,7 @@ void GLES3PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uin GLES3GPUBuffer *gpuBuffer = ((GLES3Buffer *)buff)->gpuBuffer(); if (gpuBuffer) { - GLES3CmdFuncUpdateBuffer((GLES3Device *)_device, gpuBuffer, data, 0u, size); + GLES3CmdFuncUpdateBuffer(GLES3Device::getInstance(), gpuBuffer, data, 0u, size); } } else { CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); @@ -130,7 +130,7 @@ void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffe GLES3GPUTexture *gpuTexture = ((GLES3Texture *)texture)->gpuTexture(); if (gpuTexture) { - GLES3CmdFuncCopyBuffersToTexture((GLES3Device *)_device, buffers, gpuTexture, regions, count); + GLES3CmdFuncCopyBuffersToTexture(GLES3Device::getInstance(), buffers, gpuTexture, regions, count); } } else { CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); @@ -146,7 +146,7 @@ void GLES3PrimaryCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTex if (srcTexture) gpuTextureSrc = ((GLES3Texture *)srcTexture)->gpuTexture(); if (dstTexture) gpuTextureDst = ((GLES3Texture *)dstTexture)->gpuTexture(); - GLES3CmdFuncBlitTexture((GLES3Device *)_device, gpuTextureSrc, gpuTextureDst, regions, count, filter); + GLES3CmdFuncBlitTexture(GLES3Device::getInstance(), gpuTextureSrc, gpuTextureDst, regions, count, filter); } else { CC_LOG_ERROR("Command 'blitTexture' must be recorded outside a render pass."); } @@ -159,7 +159,7 @@ void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t if (!cmdBuff->_pendingPackages.empty()) { GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + GLES3CmdFuncExecuteCmds(GLES3Device::getInstance(), cmdPackage); cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); @@ -182,7 +182,7 @@ void GLES3PrimaryCommandBuffer::BindStates() { count = std::min(count, _curDynamicOffsets[i].size()); if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } - GLES3CmdFuncBindState((GLES3Device *)_device, _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, + GLES3CmdFuncBindState(GLES3Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); _isStateInvalid = false; @@ -205,7 +205,7 @@ void GLES3PrimaryCommandBuffer::dispatch(const DispatchInfo &info) { gpuInfo.groupCountY = info.groupCountY; gpuInfo.groupCountZ = info.groupCountZ; } - GLES3CmdFuncDispatch((GLES3Device *)_device, gpuInfo); + GLES3CmdFuncDispatch(GLES3Device::getInstance(), gpuInfo); } else { CC_LOG_ERROR("Command 'dispatch' must be recorded outside a render pass."); } @@ -217,7 +217,7 @@ void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, co if (!barrier) return; const GLES3GPUGlobalBarrier *gpuBarrier = ((GLES3GlobalBarrier *)barrier)->gpuBarrier(); - GLES3CmdFuncMemoryBarrier((GLES3Device *)_device, gpuBarrier->glBarriers, gpuBarrier->glBarriersByRegion); + GLES3CmdFuncMemoryBarrier(GLES3Device::getInstance(), gpuBarrier->glBarriers, gpuBarrier->glBarriersByRegion); } else { CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 8a2b7b78d7..5fa90cc561 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_PRIMARY_COMMAND_BUFFER_H_ -#define CC_GFXGLES3_PRIMARY_COMMAND_BUFFER_H_ +#pragma once #include "GLES3CommandBuffer.h" @@ -32,29 +31,27 @@ namespace cc { namespace gfx { class CC_GLES3_API GLES3PrimaryCommandBuffer final : public GLES3CommandBuffer { - friend class GLES3Queue; - public: - GLES3PrimaryCommandBuffer(Device *device); + GLES3PrimaryCommandBuffer(); ~GLES3PrimaryCommandBuffer(); - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; - virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; - virtual void endRenderPass() override; - virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buff, const void *data, uint size) override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; - virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; - virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; + void endRenderPass() override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buff, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + void dispatch(const DispatchInfo &info) override; + void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; + void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; protected: - virtual void BindStates() override; + friend class GLES3Queue; + + void BindStates() override; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index 83b9f301d7..69a5b75a88 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -24,27 +24,26 @@ ****************************************************************************/ #include "GLES3Std.h" -#include "GLES3Queue.h" -#include "GLES3Commands.h" + #include "GLES3CommandBuffer.h" +#include "GLES3Commands.h" +#include "GLES3Device.h" +#include "GLES3Queue.h" namespace cc { namespace gfx { -GLES3Queue::GLES3Queue(Device *device) -: Queue(device) { +GLES3Queue::GLES3Queue() +: Queue() { } GLES3Queue::~GLES3Queue() { } -bool GLES3Queue::initialize(const QueueInfo &info) { - _type = info.type; - - return true; +void GLES3Queue::doInit(const QueueInfo &info) { } -void GLES3Queue::destroy() { +void GLES3Queue::doDestroy() { } void GLES3Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { @@ -54,7 +53,7 @@ void GLES3Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { if (!cmdBuff->_pendingPackages.empty()) { GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES3CmdFuncExecuteCmds((GLES3Device *)_device, cmdPackage); + GLES3CmdFuncExecuteCmds(GLES3Device::getInstance(), cmdPackage); cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.h b/native/cocos/renderer/gfx-gles3/GLES3Queue.h index a6fbedb416..030187e976 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_QUEUE_H_ -#define CC_GFXGLES3_QUEUE_H_ +#pragma once #include "gfx-base/GFXQueue.h" @@ -33,17 +32,17 @@ namespace gfx { class CC_GLES3_API GLES3Queue final : public Queue { public: - GLES3Queue(Device *device); + GLES3Queue(); ~GLES3Queue(); + void submit(CommandBuffer *const *cmdBuffs, uint count) override; + +protected: friend class GLES3Device; -public: - virtual bool initialize(const QueueInfo &info) override; - virtual void destroy() override; - virtual void submit(CommandBuffer *const *cmdBuffs, uint count) override; + void doInit(const QueueInfo &info) override; + void doDestroy() override; -private: uint _numDrawCalls = 0; uint _numInstances = 0; uint _numTriangles = 0; @@ -51,5 +50,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp index 98c6b2a30b..92a99c90ad 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp @@ -30,28 +30,20 @@ namespace cc { namespace gfx { -GLES3RenderPass::GLES3RenderPass(Device *device) -: RenderPass(device) { +GLES3RenderPass::GLES3RenderPass() +: RenderPass() { } GLES3RenderPass::~GLES3RenderPass() { } -bool GLES3RenderPass::initialize(const RenderPassInfo &info) { - - _colorAttachments = info.colorAttachments; - _depthStencilAttachment = info.depthStencilAttachment; - +void GLES3RenderPass::doInit(const RenderPassInfo &info) { _gpuRenderPass = CC_NEW(GLES3GPURenderPass); _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; - - _hash = computeHash(); - - return true; } -void GLES3RenderPass::destroy() { +void GLES3RenderPass::doDestroy() { if (_gpuRenderPass) { CC_DELETE(_gpuRenderPass); _gpuRenderPass = nullptr; diff --git a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h index 79d502e61a..ff265304e8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h +++ b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_RENDER_PASS_H_ -#define CC_GFXGLES3_RENDER_PASS_H_ +#pragma once #include "gfx-base/GFXRenderPass.h" @@ -35,20 +34,17 @@ class GLES3GPURenderPass; class CC_GLES3_API GLES3RenderPass final : public RenderPass { public: - GLES3RenderPass(Device *device); + GLES3RenderPass(); ~GLES3RenderPass(); -public: - virtual bool initialize(const RenderPassInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES3GPURenderPass *gpuRenderPass() const { return _gpuRenderPass; } -private: +protected: + void doInit(const RenderPassInfo &info) override; + void doDestroy() override; + GLES3GPURenderPass *_gpuRenderPass = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp index 76735a7cb9..048a083452 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp @@ -24,47 +24,36 @@ ****************************************************************************/ #include "GLES3Std.h" -#include "GLES3Sampler.h" + #include "GLES3Commands.h" +#include "GLES3Device.h" +#include "GLES3Sampler.h" namespace cc { namespace gfx { -GLES3Sampler::GLES3Sampler(Device *device) -: Sampler(device) { +GLES3Sampler::GLES3Sampler() +: Sampler() { } GLES3Sampler::~GLES3Sampler() { } -bool GLES3Sampler::initialize(const SamplerInfo &info) { - _minFilter = info.minFilter; - _magFilter = info.magFilter; - _mipFilter = info.mipFilter; - _addressU = info.addressU; - _addressV = info.addressV; - _addressW = info.addressW; - _maxAnisotropy = info.maxAnisotropy; - _cmpFunc = info.cmpFunc; - _borderColor = info.borderColor; - _mipLODBias = info.mipLODBias; - - _gpuSampler = CC_NEW(GLES3GPUSampler); +void GLES3Sampler::doInit(const SamplerInfo &info) { + _gpuSampler = CC_NEW(GLES3GPUSampler); _gpuSampler->minFilter = _minFilter; _gpuSampler->magFilter = _magFilter; _gpuSampler->mipFilter = _mipFilter; - _gpuSampler->addressU = _addressU; - _gpuSampler->addressV = _addressV; - _gpuSampler->addressW = _addressW; + _gpuSampler->addressU = _addressU; + _gpuSampler->addressV = _addressV; + _gpuSampler->addressW = _addressW; - GLES3CmdFuncCreateSampler((GLES3Device *)_device, _gpuSampler); - - return true; + GLES3CmdFuncCreateSampler(GLES3Device::getInstance(), _gpuSampler); } -void GLES3Sampler::destroy() { +void GLES3Sampler::doDestroy() { if (_gpuSampler) { - GLES3CmdFuncDestroySampler((GLES3Device *)_device, _gpuSampler); + GLES3CmdFuncDestroySampler(GLES3Device::getInstance(), _gpuSampler); CC_DELETE(_gpuSampler); _gpuSampler = nullptr; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Sampler.h b/native/cocos/renderer/gfx-gles3/GLES3Sampler.h index 83efc34a80..58b284215f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Sampler.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Sampler.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_SAMPLER_H_ -#define CC_GFXGLES3_SAMPLER_H_ +#pragma once #include "gfx-base/GFXSampler.h" @@ -35,20 +34,17 @@ class GLES3GPUSampler; class CC_GLES3_API GLES3Sampler final : public Sampler { public: - GLES3Sampler(Device *device); + GLES3Sampler(); ~GLES3Sampler(); -public: - virtual bool initialize(const SamplerInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES3GPUSampler *gpuSampler() const { return _gpuSampler; } -private: +protected: + void doInit(const SamplerInfo &info) override; + void doDestroy() override; + GLES3GPUSampler *_gpuSampler = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp index 24139d1c89..c8c6079ec0 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp @@ -24,53 +24,42 @@ ****************************************************************************/ #include "GLES3Std.h" -#include "GLES3Shader.h" + #include "GLES3Commands.h" +#include "GLES3Device.h" +#include "GLES3Shader.h" namespace cc { namespace gfx { -GLES3Shader::GLES3Shader(Device *device) -: Shader(device) { +GLES3Shader::GLES3Shader() +: Shader() { } GLES3Shader::~GLES3Shader() { } -bool GLES3Shader::initialize(const ShaderInfo &info) { - _name = info.name; - _stages = info.stages; - _attributes = info.attributes; - _blocks = info.blocks; - _buffers = info.buffers; - _samplerTextures = info.samplerTextures; - _samplers = info.samplers; - _textures = info.textures; - _images = info.images; - _subpassInputs = info.subpassInputs; - - _gpuShader = CC_NEW(GLES3GPUShader); - _gpuShader->name = _name; - _gpuShader->blocks = _blocks; - _gpuShader->buffers = _buffers; +void GLES3Shader::doInit(const ShaderInfo &info) { + _gpuShader = CC_NEW(GLES3GPUShader); + _gpuShader->name = _name; + _gpuShader->blocks = _blocks; + _gpuShader->buffers = _buffers; _gpuShader->samplerTextures = _samplerTextures; - _gpuShader->samplers = _samplers; - _gpuShader->textures = _textures; - _gpuShader->images = _images; - _gpuShader->subpassInputs = _subpassInputs; + _gpuShader->samplers = _samplers; + _gpuShader->textures = _textures; + _gpuShader->images = _images; + _gpuShader->subpassInputs = _subpassInputs; for (const auto &stage : _stages) { GLES3GPUShaderStage gpuShaderStage = {stage.stage, stage.source}; _gpuShader->gpuStages.emplace_back(std::move(gpuShaderStage)); } - GLES3CmdFuncCreateShader((GLES3Device *)_device, _gpuShader); - - return true; + GLES3CmdFuncCreateShader(GLES3Device::getInstance(), _gpuShader); } -void GLES3Shader::destroy() { +void GLES3Shader::doDestroy() { if (_gpuShader) { - GLES3CmdFuncDestroyShader((GLES3Device *)_device, _gpuShader); + GLES3CmdFuncDestroyShader(GLES3Device::getInstance(), _gpuShader); CC_DELETE(_gpuShader); _gpuShader = nullptr; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.h b/native/cocos/renderer/gfx-gles3/GLES3Shader.h index 1fcdce63fc..8676161eb4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_SHADER_H_ -#define CC_GFXGLES3_SHADER_H_ +#pragma once #include "gfx-base/GFXShader.h" @@ -35,20 +34,17 @@ class GLES3GPUShader; class CC_GLES3_API GLES3Shader final : public Shader { public: - GLES3Shader(Device *device); + GLES3Shader(); ~GLES3Shader(); -public: - virtual bool initialize(const ShaderInfo &info) override; - virtual void destroy() override; - CC_INLINE GLES3GPUShader *gpuShader() const { return _gpuShader; } -private: +protected: + void doInit(const ShaderInfo &info) override; + void doDestroy() override; + GLES3GPUShader *_gpuShader = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp index ff444d2acf..21b169d213 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp @@ -32,76 +32,15 @@ namespace cc { namespace gfx { -GLES3Texture::GLES3Texture(Device *device) -: Texture(device) { +GLES3Texture::GLES3Texture() +: Texture() { } GLES3Texture::~GLES3Texture() { } -bool GLES3Texture::initialize(const TextureInfo &info) { - - _type = info.type; - _usage = info.usage; - _format = info.format; - _width = info.width; - _height = info.height; - _depth = info.depth; - _layerCount = info.layerCount; - _levelCount = info.levelCount; - _samples = info.samples; - _flags = info.flags; - _size = FormatSize(_format, _width, _height, _depth); - -#if CC_DEBUG > 0 - switch (_format) { // device feature validation - case Format::D16: - if (_device->hasFeature(Feature::FORMAT_D16)) break; - CC_LOG_ERROR("D16 texture format is not supported on this backend"); - return false; - case Format::D16S8: - if (_device->hasFeature(Feature::FORMAT_D16S8)) break; - CC_LOG_WARNING("D16S8 texture format is not supported on this backend"); - return false; - case Format::D24: - if (_device->hasFeature(Feature::FORMAT_D24)) break; - CC_LOG_WARNING("D24 texture format is not supported on this backend"); - return false; - case Format::D24S8: - if (_device->hasFeature(Feature::FORMAT_D24S8)) break; - CC_LOG_WARNING("D24S8 texture format is not supported on this backend"); - return false; - case Format::D32F: - if (_device->hasFeature(Feature::FORMAT_D32F)) break; - CC_LOG_WARNING("D32F texture format is not supported on this backend"); - return false; - case Format::D32F_S8: - if (_device->hasFeature(Feature::FORMAT_D32FS8)) break; - CC_LOG_WARNING("D32FS8 texture format is not supported on this backend"); - return false; - case Format::RGB8: - if (_device->hasFeature(Feature::FORMAT_RGB8)) break; - CC_LOG_WARNING("RGB8 texture format is not supported on this backend"); - return false; - default: - break; - } -#endif - - if (_flags & TextureFlags::BAKUP_BUFFER) { - _buffer = (uint8_t *)CC_MALLOC(_size); - if (!_buffer) { - CC_LOG_ERROR("GLES3Texture: CC_MALLOC backup buffer failed."); - return false; - } - _device->getMemoryStatus().textureSize += _size; - } - +void GLES3Texture::doInit(const TextureInfo &info) { _gpuTexture = CC_NEW(GLES3GPUTexture); - if (!_gpuTexture) { - CC_LOG_ERROR("GLES3Texture: CC_NEW GLES3GPUTexture failed."); - return false; - } _gpuTexture->type = _type; _gpuTexture->format = _format; _gpuTexture->usage = _usage; @@ -115,64 +54,26 @@ bool GLES3Texture::initialize(const TextureInfo &info) { _gpuTexture->flags = _flags; _gpuTexture->isPowerOf2 = math::IsPowerOfTwo(_width) && math::IsPowerOfTwo(_height); - GLES3CmdFuncCreateTexture((GLES3Device *)_device, _gpuTexture); - _device->getMemoryStatus().textureSize += _size; - - return true; + GLES3CmdFuncCreateTexture(GLES3Device::getInstance(), _gpuTexture); } -bool GLES3Texture::initialize(const TextureViewInfo &info) { - _isTextureView = true; - +void GLES3Texture::doInit(const TextureViewInfo &info) { CC_LOG_ERROR("GLES3 doesn't support texture view."); - return false; } -void GLES3Texture::destroy() { +void GLES3Texture::doDestroy() { if (_gpuTexture) { - GLES3CmdFuncDestroyTexture((GLES3Device *)_device, _gpuTexture); - _device->getMemoryStatus().textureSize -= _size; + GLES3CmdFuncDestroyTexture(GLES3Device::getInstance(), _gpuTexture); CC_DELETE(_gpuTexture); _gpuTexture = nullptr; } - - if (_buffer) { - CC_FREE(_buffer); - _device->getMemoryStatus().textureSize -= _size; - _buffer = nullptr; - } } -void GLES3Texture::resize(uint width, uint height) { - if (_width != width || _height != height) { - uint size = FormatSize(_format, width, height, _depth); - const uint oldSize = _size; - _width = width; - _height = height; - _size = size; - - MemoryStatus &status = _device->getMemoryStatus(); - _gpuTexture->width = _width; - _gpuTexture->height = _height; - _gpuTexture->size = _size; - GLES3CmdFuncResizeTexture((GLES3Device *)_device, _gpuTexture); - status.bufferSize -= oldSize; - status.bufferSize += _size; - - if (_buffer) { - const uint8_t *oldBuffer = _buffer; - uint8_t *buffer = (uint8_t *)CC_MALLOC(_size); - if (!buffer) { - CC_LOG_ERROR("GLES3Texture: CC_MALLOC backup buffer failed when resize the texture."); - return; - } - memcpy(buffer, oldBuffer, std::min(oldSize, size)); - _buffer = buffer; - CC_FREE(oldBuffer); - status.bufferSize -= oldSize; - status.bufferSize += _size; - } - } +void GLES3Texture::doResize(uint width, uint height) { + _gpuTexture->width = _width; + _gpuTexture->height = _height; + _gpuTexture->size = _size; + GLES3CmdFuncResizeTexture(GLES3Device::getInstance(), _gpuTexture); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.h b/native/cocos/renderer/gfx-gles3/GLES3Texture.h index 7c5ba1edc2..550844470c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXGLES3_TEXTURE_H_ -#define CC_GFXGLES3_TEXTURE_H_ +#pragma once #include "gfx-base/GFXTexture.h" @@ -35,22 +34,19 @@ class GLES3GPUTexture; class CC_GLES3_API GLES3Texture final : public Texture { public: - GLES3Texture(Device *device); + GLES3Texture(); ~GLES3Texture(); -public: - virtual bool initialize(const TextureInfo &info) override; - virtual bool initialize(const TextureViewInfo &info) override; - virtual void destroy() override; - virtual void resize(uint width, uint height) override; - CC_INLINE GLES3GPUTexture *gpuTexture() const { return _gpuTexture; } -private: +protected: + void doInit(const TextureInfo &info) override; + void doInit(const TextureViewInfo &info) override; + void doDestroy() override; + void doResize(uint width, uint height) override; + GLES3GPUTexture *_gpuTexture = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index 997845d616..c7f9c3477c 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -39,17 +39,13 @@ class CCMTLRenderCommandEncoder; class CCMTLBuffer final : public Buffer { public: - explicit CCMTLBuffer(Device *device); + explicit CCMTLBuffer(); ~CCMTLBuffer() override = default; CCMTLBuffer(const CCMTLBuffer &) = delete; CCMTLBuffer(CCMTLBuffer &&) = delete; CCMTLBuffer &operator=(const CCMTLBuffer &) = default; CCMTLBuffer &operator=(CCMTLBuffer &&) = delete; - bool initialize(const BufferInfo &info) override; - bool initialize(const BufferViewInfo &info) override; - void destroy() override; - void resize(uint size) override; void update(void *buffer, uint offset) override; void encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages); @@ -59,7 +55,12 @@ public: CC_INLINE bool isDrawIndirectByIndex() const { return _isDrawIndirectByIndex; } CC_INLINE const DrawInfoList &getDrawInfos() const { return _drawInfos; } -private: +protected: + void doInit(const BufferInfo &info) override; + void doInit(const BufferViewInfo &info) override; + void doDestroy() override; + void doResize(uint size) override; + bool createMTLBuffer(uint size, MemoryUsage usage); void updateMTLBuffer(void *buffer, uint offset, uint size); diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index 4b172583bf..1240044a2f 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -37,17 +37,11 @@ namespace cc { namespace gfx { -CCMTLBuffer::CCMTLBuffer(Device *device) : Buffer(device) { +CCMTLBuffer::CCMTLBuffer() : Buffer() { } -bool CCMTLBuffer::initialize(const BufferInfo &info) { - _usage = info.usage; - _memUsage = info.memUsage; - _size = info.size; - _stride = std::max(info.stride, 1U); - _count = _size / _stride; - _flags = info.flags; - _isIndirectDrawSupported = static_cast(_device)->isIndirectDrawSupported(); +void CCMTLBuffer::doInit(const BufferInfo &info) { + _isIndirectDrawSupported = CCMTLDevice::getInstance()->isIndirectDrawSupported(); if (_usage & BufferUsage::INDEX) { switch (_stride) { case 4: _indexType = MTLIndexTypeUInt32; break; @@ -71,47 +65,39 @@ bool CCMTLBuffer::initialize(const BufferInfo &info) { _drawInfos.resize(_count); } } - - return true; } -bool CCMTLBuffer::initialize(const BufferViewInfo &info) { +void CCMTLBuffer::doInit(const BufferViewInfo &info) { *this = *static_cast(info.buffer); _bufferViewOffset = info.offset; _isBufferView = true; - return true; } bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) { _mtlResourceOptions = mu::toMTLResourceOption(usage); if (_mtlBuffer) { - Device *device = _device; + Device *device = CCMTLDevice::getInstance(); id mtlBuffer = _mtlBuffer; uint oldSize = [_mtlBuffer length]; std::function destroyFunc = [=]() { if (mtlBuffer) { [mtlBuffer release]; - device->getMemoryStatus().bufferSize -= oldSize; } }; //gpu object only CCMTLGPUGarbageCollectionPool::getInstance()->collect(destroyFunc); } - id mtlDevice = id(static_cast(_device)->getMTLDevice()); + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); _mtlBuffer = [mtlDevice newBufferWithLength:size options:_mtlResourceOptions]; if (_mtlBuffer == nil) { return false; } - - _device->getMemoryStatus().bufferSize += size; - - return true; } -void CCMTLBuffer::destroy() { +void CCMTLBuffer::doDestroy() { if (_isBufferView) { return; } @@ -128,7 +114,7 @@ void CCMTLBuffer::destroy() { _drawInfos.clear(); } - Device *device = _device; + Device *device = CCMTLDevice::getInstance(); id mtlBuffer = _mtlBuffer; _mtlBuffer = nil; uint size = _size; @@ -136,23 +122,13 @@ void CCMTLBuffer::destroy() { std::function destroyFunc = [=]() { if (mtlBuffer) { [mtlBuffer release]; - device->getMemoryStatus().bufferSize -= size; } }; //gpu object only CCMTLGPUGarbageCollectionPool::getInstance()->collect(destroyFunc); } -void CCMTLBuffer::resize(uint size) { - if (_isBufferView) { - CC_LOG_WARNING("Cannot resize a buffer view."); - return; - } - - if (_size == size) { - return; - } - +void CCMTLBuffer::doResize(uint size) { if (_usage & BufferUsageBit::VERTEX || _usage & BufferUsageBit::INDEX || _usage & BufferUsageBit::UNIFORM) { @@ -178,7 +154,7 @@ void CCMTLBuffer::update(void *buffer, uint size) { CC_LOG_WARNING("Cannot update a buffer view."); return; } - + uint drawInfoCount = size / _stride; const auto *drawInfo = static_cast(buffer); if (drawInfoCount > 0) { @@ -229,7 +205,7 @@ void CCMTLBuffer::update(void *buffer, uint size) { void CCMTLBuffer::updateMTLBuffer(void *buffer, uint /*offset*/, uint size) { if (_mtlBuffer) { - CommandBuffer *cmdBuffer = _device->getCommandBuffer(); + CommandBuffer *cmdBuffer = CCMTLDevice::getInstance()->getCommandBuffer(); cmdBuffer->begin(); static_cast(cmdBuffer)->updateBuffer(this, buffer, size); #if (CC_PLATFORM == CC_PLATFORM_MAC_OSX) diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 50c7b4cf12..1ffff34cdd 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -42,18 +42,14 @@ class CCMTLRenderPass; class CCMTLFence; class CCMTLCommandBuffer final : public CommandBuffer { - friend class CCMTLQueue; - public: - explicit CCMTLCommandBuffer(Device *device); + explicit CCMTLCommandBuffer(); ~CCMTLCommandBuffer() override = default; CCMTLCommandBuffer(const CCMTLCommandBuffer &) = delete; CCMTLCommandBuffer(CCMTLCommandBuffer &&) = delete; CCMTLCommandBuffer &operator=(const CCMTLCommandBuffer &) = delete; CCMTLCommandBuffer &operator=(CCMTLCommandBuffer &&) = delete; - bool initialize(const CommandBufferInfo &info) override; - void destroy() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; @@ -80,7 +76,12 @@ public: CC_INLINE bool isCommandBufferBegan() const { return _commandBufferBegan; } CC_INLINE id getMTLCommandBuffer() const { return _mtlCommandBuffer; } -private: +protected: + friend class CCMTLQueue; + + void doInit(const CommandBufferInfo &info) override; + void doDestroy() override; + void bindDescriptorSets(); static bool isRenderingEntireDrawable(const Rect &rect, const CCMTLRenderPass *renderPass); diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 3b372cf243..5beffe065c 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -39,24 +39,22 @@ namespace cc { namespace gfx { -CCMTLCommandBuffer::CCMTLCommandBuffer(Device *device) -: CommandBuffer(device), - _mtlDevice(static_cast(device)), - _mtlCommandQueue(id((static_cast(device))->getMTLCommandQueue())), - _indirectDrawSuppotred(static_cast(device)->isIndirectDrawSupported()) { - const auto setCount = device->bindingMappingInfo().bufferOffsets.size(); +CCMTLCommandBuffer::CCMTLCommandBuffer() +: CommandBuffer(), + _mtlDevice(CCMTLDevice::getInstance()) { + _mtlCommandQueue = id(_mtlDevice->getMTLCommandQueue()); + _indirectDrawSuppotred = _mtlDevice->isIndirectDrawSupported(); + + const auto setCount = _mtlDevice->bindingMappingInfo().bufferOffsets.size(); _GPUDescriptorSets.resize(setCount); _dynamicOffsets.resize(setCount); _indirectDrawSuppotred = _mtlDevice->isIndirectDrawSupported(); } -bool CCMTLCommandBuffer::initialize(const CommandBufferInfo &info) { - _type = info.type; - _queue = info.queue; - return true; +void CCMTLCommandBuffer::doInit(const CommandBufferInfo &info) { } -void CCMTLCommandBuffer::destroy() { +void CCMTLCommandBuffer::doDestroy() { if (_autoreleasePool) { [_autoreleasePool release]; _autoreleasePool = nullptr; diff --git a/native/cocos/renderer/gfx-metal/MTLContext.h b/native/cocos/renderer/gfx-metal/MTLContext.h index 636e2864a2..dac5e3120c 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.h +++ b/native/cocos/renderer/gfx-metal/MTLContext.h @@ -32,16 +32,18 @@ namespace gfx { class CCMTLContext final : public Context { public: - explicit CCMTLContext(Device *device); + explicit CCMTLContext(); ~CCMTLContext() override = default; CCMTLContext(const CCMTLContext &)=delete; CCMTLContext(CCMTLContext &&)=delete; CCMTLContext &operator=(const CCMTLContext &)=delete; CCMTLContext &operator=(CCMTLContext &&)=delete; - bool initialize(const ContextInfo &info) override; - void destroy() override {} void present() override {} + +protected: + bool doInit(const ContextInfo &info) override; + void doDestroy() override {} }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLContext.mm b/native/cocos/renderer/gfx-metal/MTLContext.mm index a1f12ac77d..a86dfa81a7 100644 --- a/native/cocos/renderer/gfx-metal/MTLContext.mm +++ b/native/cocos/renderer/gfx-metal/MTLContext.mm @@ -49,15 +49,15 @@ Format toFormat(MTLPixelFormat format) { } } -CCMTLContext::CCMTLContext(Device *device) -: Context(device) { +CCMTLContext::CCMTLContext() +: Context() { } -bool CCMTLContext::initialize(const ContextInfo &info) { +bool CCMTLContext::doInit(const ContextInfo &info) { _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; - CCMTLDevice *device = static_cast(_device); + CCMTLDevice *device = CCMTLDevice::getInstance(); CAMetalLayer *layer = (CAMetalLayer *)device->getMTLLayer(); _colorFmt = toFormat(layer.pixelFormat); id dssTex = (id)device->getDSSTexture(); diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h index 123ecae489..c6065d9c95 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.h @@ -34,20 +34,21 @@ class CCMTLGPUDescriptorSet; class CCMTLDescriptorSet final : public DescriptorSet { public: - explicit CCMTLDescriptorSet(Device *device); + explicit CCMTLDescriptorSet(); ~CCMTLDescriptorSet() override = default; CCMTLDescriptorSet(const CCMTLDescriptorSet &)=delete; CCMTLDescriptorSet(CCMTLDescriptorSet &&)=delete; CCMTLDescriptorSet &operator=(const CCMTLDescriptorSet &)=delete; CCMTLDescriptorSet &operator=(CCMTLDescriptorSet &&)=delete; - bool initialize(const DescriptorSetInfo &info) override; - void destroy() override; void update() override; CC_INLINE CCMTLGPUDescriptorSet *gpuDescriptorSet() const { return _gpuDescriptorSet; } -private: +protected: + void doInit(const DescriptorSetInfo &info) override; + void doDestroy() override; + CCMTLGPUDescriptorSet *_gpuDescriptorSet = nullptr; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index 11dbef4a71..130688fdaf 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -34,20 +34,14 @@ namespace cc { namespace gfx { -CCMTLDescriptorSet::CCMTLDescriptorSet(Device *device) : DescriptorSet(device) { +CCMTLDescriptorSet::CCMTLDescriptorSet() : DescriptorSet() { } -bool CCMTLDescriptorSet::initialize(const DescriptorSetInfo &info) { - _layout = info.layout; - +void CCMTLDescriptorSet::doInit(const DescriptorSetInfo &info) { const auto gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const auto descriptorCount = gpuDescriptorSetLayout->descriptorCount; const auto bindingCount = gpuDescriptorSetLayout->bindings.size(); - _buffers.resize(descriptorCount); - _textures.resize(descriptorCount); - _samplers.resize(descriptorCount); - _gpuDescriptorSet = CC_NEW(CCMTLGPUDescriptorSet); _gpuDescriptorSet->descriptorIndices = &gpuDescriptorSetLayout->descriptorIndices; _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount); @@ -57,16 +51,10 @@ bool CCMTLDescriptorSet::initialize(const DescriptorSetInfo &info) { _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; } } - - return true; } -void CCMTLDescriptorSet::destroy() { - _layout = nullptr; + +void CCMTLDescriptorSet::doDestroy() { CC_SAFE_DELETE(_gpuDescriptorSet); - // do remember to clear these or else it might not be properly updated when reused - _buffers.clear(); - _textures.clear(); - _samplers.clear(); } void CCMTLDescriptorSet::update() { diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h index 175e4d707d..3de5695e00 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h @@ -33,19 +33,19 @@ namespace gfx { class CCMTLGPUDescriptorSetLayout; class CCMTLDescriptorSetLayout final : public DescriptorSetLayout { public: - explicit CCMTLDescriptorSetLayout(Device *device); + explicit CCMTLDescriptorSetLayout(); ~CCMTLDescriptorSetLayout() override = default; CCMTLDescriptorSetLayout(const CCMTLDescriptorSetLayout &)=delete; CCMTLDescriptorSetLayout(CCMTLDescriptorSetLayout &&)=delete; CCMTLDescriptorSetLayout &operator=(const CCMTLDescriptorSetLayout &)=delete; CCMTLDescriptorSetLayout &operator=(CCMTLDescriptorSetLayout &&)=delete; - bool initialize(const DescriptorSetLayoutInfo &info) override; - void destroy() override; - CC_INLINE CCMTLGPUDescriptorSetLayout *gpuDescriptorSetLayout() const { return _gpuDescriptorSetLayout; } -private: +protected: + void doInit(const DescriptorSetLayoutInfo &info) override; + void doDestroy() override; + CCMTLGPUDescriptorSetLayout *_gpuDescriptorSetLayout = nullptr; }; diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm index 123e4ed181..7f82b9258c 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm @@ -31,40 +31,17 @@ namespace cc { namespace gfx { -CCMTLDescriptorSetLayout::CCMTLDescriptorSetLayout(Device *device) : DescriptorSetLayout(device) { +CCMTLDescriptorSetLayout::CCMTLDescriptorSetLayout() : DescriptorSetLayout() { } -bool CCMTLDescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { - _bindings = info.bindings; - const auto bindingCount = _bindings.size(); - _descriptorCount = 0; - - if (bindingCount) { - uint maxBinding = 0; - vector flattenedIndices(bindingCount); - for (auto i = 0; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - flattenedIndices[i] = _descriptorCount; - _descriptorCount += binding.count; - if (binding.binding > maxBinding) maxBinding = binding.binding; - } - - _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - _bindingIndices[binding.binding] = i; - _descriptorIndices[binding.binding] = flattenedIndices[i]; - } - } - +void CCMTLDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { _gpuDescriptorSetLayout = CC_NEW(CCMTLGPUDescriptorSetLayout); _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; _gpuDescriptorSetLayout->bindingIndices = _bindingIndices; _gpuDescriptorSetLayout->bindings = _bindings; - for (size_t i = 0; i < bindingCount; i++) { + for (size_t i = 0; i < _bindings.size(); i++) { const auto binding = _bindings[i]; if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { for (uint j = 0; j < binding.count; j++) { @@ -72,12 +49,11 @@ bool CCMTLDescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { } } } - return true; } -void CCMTLDescriptorSetLayout::destroy() { +void CCMTLDescriptorSetLayout::doDestroy() { CC_SAFE_DELETE(_gpuDescriptorSetLayout); } -} -} +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index f33b922ed4..e8d62a58e7 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -36,8 +36,11 @@ class CCMTLSemaphore; class CCMTLDevice final : public Device { public: + static CCMTLDevice *getInstance(); + CCMTLDevice(); - ~CCMTLDevice() override = default; + ~CCMTLDevice() override; + CCMTLDevice(const CCMTLDevice &) = delete; CCMTLDevice(CCMTLDevice &&) = delete; CCMTLDevice &operator=(const CCMTLDevice &) = delete; @@ -60,8 +63,6 @@ public: using Device::createGlobalBarrier; using Device::createTextureBarrier; - bool initialize(const DeviceInfo &info) override; - void destroy() override; void resize(uint width, uint height) override; void acquire() override; void present() override; @@ -84,7 +85,13 @@ public: CC_INLINE void *getDSSTexture() const { return _dssTex; } protected: - CommandBuffer *doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + static CCMTLDevice * _instance; + + friend class DeviceCreator; + + bool doInit(const DeviceInfo &info) override; + void doDestroy() override; + CommandBuffer *createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; Queue *createQueue() override; Buffer *createBuffer() override; Texture *createTexture() override; @@ -97,11 +104,10 @@ protected: DescriptorSetLayout *createDescriptorSetLayout() override; PipelineLayout *createPipelineLayout() override; PipelineState *createPipelineState() override; - virtual GlobalBarrier *createGlobalBarrier() override; - virtual TextureBarrier *createTextureBarrier() override; + GlobalBarrier *createGlobalBarrier() override; + TextureBarrier *createTextureBarrier() override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; -private: void onMemoryWarning(); void *_autoreleasePool = nullptr; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 0e380c21c9..a24f060449 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -48,29 +48,28 @@ namespace cc { namespace gfx { +CCMTLDevice *CCMTLDevice::_instance = nullptr; + +CCMTLDevice *CCMTLDevice::getInstance() { + return CCMTLDevice::_instance; +} + CCMTLDevice::CCMTLDevice() { + _API = API::METAL; + _deviceName = "Metal"; + _caps.clipSpaceMinZ = 0.0f; _caps.screenSpaceSignY = 1.0f; _caps.UVSpaceSignY = 1.0f; + + CCMTLDevice::_instance = this; } -bool CCMTLDevice::initialize(const DeviceInfo &info) { - _API = API::METAL; - _deviceName = "Metal"; - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; - _nativeHeight = info.nativeHeight; - _windowHandle = info.windowHandle; - - _bindingMappingInfo = info.bindingMappingInfo; - if (!_bindingMappingInfo.bufferOffsets.size()) { - _bindingMappingInfo.bufferOffsets.push_back(0); - } - if (!_bindingMappingInfo.samplerOffsets.size()) { - _bindingMappingInfo.samplerOffsets.push_back(0); - } +CCMTLDevice::~CCMTLDevice() { + CCMTLDevice::_instance = nullptr; +} +bool CCMTLDevice::doInit(const DeviceInfo &info) { _inFlightSemaphore = CC_NEW(CCMTLSemaphore(MAX_FRAMES_IN_FLIGHT)); _currentFrameIndex = 0; @@ -112,23 +111,23 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { _dssTex = [mtlDevice newTextureWithDescriptor:dssDescriptor]; _caps.stencilBits = 8; - ContextInfo contextCreateInfo; - contextCreateInfo.windowHandle = _windowHandle; - contextCreateInfo.sharedCtx = info.sharedCtx; - _context = CC_NEW(CCMTLContext(this)); - if (!_context->initialize(contextCreateInfo)) { + ContextInfo ctxInfo; + ctxInfo.windowHandle = _windowHandle; + + _context = CC_NEW(CCMTLContext); + if (!_context->initialize(ctxInfo)) { destroy(); return false; } - QueueInfo queue_info; - queue_info.type = QueueType::GRAPHICS; - _queue = createQueue(queue_info); + QueueInfo queueInfo; + queueInfo.type = QueueType::GRAPHICS; + _queue = createQueue(queueInfo); CommandBufferInfo cmdBuffInfo; - cmdBuffInfo.type = CommandBufferType::PRIMARY; + cmdBuffInfo.type = CommandBufferType::PRIMARY; cmdBuffInfo.queue = _queue; - _cmdBuff = createCommandBuffer(cmdBuffInfo); + _cmdBuff = createCommandBuffer(cmdBuffInfo); for (int i = 0; i < MAX_FRAMES_IN_FLIGHT; ++i) { _gpuStagingBufferPools[i] = CC_NEW(CCMTLGPUStagingBufferPool(mtlDevice)); @@ -187,7 +186,7 @@ bool CCMTLDevice::initialize(const DeviceInfo &info) { return true; } -void CCMTLDevice::destroy() { +void CCMTLDevice::doDestroy() { // if (_memoryAlarmListenerId != 0) { // EventDispatcher::removeCustomEventListener(EVENT_MEMORY_WARNING, _memoryAlarmListenerId); // _memoryAlarmListenerId = 0; @@ -279,63 +278,63 @@ void CCMTLDevice::disposeCurrentDrawable() { } Queue *CCMTLDevice::createQueue() { - return CC_NEW(CCMTLQueue(this)); + return CC_NEW(CCMTLQueue); } -CommandBuffer *CCMTLDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool /*hasAgent*/) { - return CC_NEW(CCMTLCommandBuffer(this)); +CommandBuffer *CCMTLDevice::createCommandBuffer(const CommandBufferInfo &info, bool /*hasAgent*/) { + return CC_NEW(CCMTLCommandBuffer); } Buffer *CCMTLDevice::createBuffer() { - return CC_NEW(CCMTLBuffer(this)); + return CC_NEW(CCMTLBuffer); } Texture *CCMTLDevice::createTexture() { - return CC_NEW(CCMTLTexture(this)); + return CC_NEW(CCMTLTexture); } Sampler *CCMTLDevice::createSampler() { - return CC_NEW(CCMTLSampler(this)); + return CC_NEW(CCMTLSampler); } Shader *CCMTLDevice::createShader() { - return CC_NEW(CCMTLShader(this)); + return CC_NEW(CCMTLShader); } InputAssembler *CCMTLDevice::createInputAssembler() { - return CC_NEW(CCMTLInputAssembler(this)); + return CC_NEW(CCMTLInputAssembler); } RenderPass *CCMTLDevice::createRenderPass() { - return CC_NEW(CCMTLRenderPass(this)); + return CC_NEW(CCMTLRenderPass); } Framebuffer *CCMTLDevice::createFramebuffer() { - return CC_NEW(CCMTLFramebuffer(this)); + return CC_NEW(CCMTLFramebuffer); } DescriptorSet *CCMTLDevice::createDescriptorSet() { - return CC_NEW(CCMTLDescriptorSet(this)); + return CC_NEW(CCMTLDescriptorSet); } DescriptorSetLayout *CCMTLDevice::createDescriptorSetLayout() { - return CC_NEW(CCMTLDescriptorSetLayout(this)); + return CC_NEW(CCMTLDescriptorSetLayout); } PipelineLayout *CCMTLDevice::createPipelineLayout() { - return CC_NEW(CCMTLPipelineLayout(this)); + return CC_NEW(CCMTLPipelineLayout); } PipelineState *CCMTLDevice::createPipelineState() { - return CC_NEW(CCMTLPipelineState(this)); + return CC_NEW(CCMTLPipelineState); } GlobalBarrier *CCMTLDevice::createGlobalBarrier() { - return CC_NEW(GlobalBarrier(this)); + return CC_NEW(GlobalBarrier); } TextureBarrier *CCMTLDevice::createTextureBarrier() { - return CC_NEW(TextureBarrier(this)); + return CC_NEW(TextureBarrier); } void CCMTLDevice::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { diff --git a/native/cocos/renderer/gfx-metal/MTLFramebuffer.h b/native/cocos/renderer/gfx-metal/MTLFramebuffer.h index f0ebc99796..764ef627fb 100644 --- a/native/cocos/renderer/gfx-metal/MTLFramebuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLFramebuffer.h @@ -32,19 +32,19 @@ namespace gfx { class CCMTLFramebuffer final : public Framebuffer { public: - explicit CCMTLFramebuffer(Device *device); + explicit CCMTLFramebuffer(); ~CCMTLFramebuffer() override = default; CCMTLFramebuffer(const CCMTLFramebuffer &)=delete; CCMTLFramebuffer(CCMTLFramebuffer &&)=delete; CCMTLFramebuffer &operator=(const CCMTLFramebuffer &)=delete; CCMTLFramebuffer &operator=(CCMTLFramebuffer &&)=delete; - bool initialize(const FramebufferInfo &info) override; - void destroy() override; - CC_INLINE bool isOffscreen() const { return _isOffscreen; } -private: +protected: + void doInit(const FramebufferInfo &info) override; + void doDestroy() override; + bool _isOffscreen = false; }; diff --git a/native/cocos/renderer/gfx-metal/MTLFramebuffer.mm b/native/cocos/renderer/gfx-metal/MTLFramebuffer.mm index ce4f5f40f7..1f6bae0631 100644 --- a/native/cocos/renderer/gfx-metal/MTLFramebuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLFramebuffer.mm @@ -32,13 +32,9 @@ namespace cc { namespace gfx { -CCMTLFramebuffer::CCMTLFramebuffer(Device *device) : Framebuffer(device) {} - -bool CCMTLFramebuffer::initialize(const FramebufferInfo &info) { - _renderPass = info.renderPass; - _colorTextures = info.colorTextures; - _depthStencilTexture = info.depthStencilTexture; +CCMTLFramebuffer::CCMTLFramebuffer() : Framebuffer() {} +void CCMTLFramebuffer::doInit(const FramebufferInfo &info) { auto *mtlRenderPass = static_cast(_renderPass); size_t slot = 0; size_t levelCount = info.colorMipmapLevels.size(); @@ -64,11 +60,9 @@ bool CCMTLFramebuffer::initialize(const FramebufferInfo &info) { } _isOffscreen = (attachmentIndices != 0); - - return true; } -void CCMTLFramebuffer::destroy() { +void CCMTLFramebuffer::doDestroy() { } } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index d467491955..e1b8e655a0 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -218,7 +218,7 @@ public: } } -private: +protected: struct Buffer { id mtlBuffer = nil; vector> dynamicDataBuffers{MAX_FRAMES_IN_FLIGHT}; @@ -282,7 +282,7 @@ public: } } -private: +protected: //avoid cross-reference with CCMTLDevice std::function _getFrameIndex; std::queue _releaseQueue[MAX_FRAMES_IN_FLIGHT]; diff --git a/native/cocos/renderer/gfx-metal/MTLInputAssembler.h b/native/cocos/renderer/gfx-metal/MTLInputAssembler.h index e67b3b50b0..6aca7d4f42 100644 --- a/native/cocos/renderer/gfx-metal/MTLInputAssembler.h +++ b/native/cocos/renderer/gfx-metal/MTLInputAssembler.h @@ -33,20 +33,20 @@ namespace gfx { class CCMTLGPUInputAssembler; class CCMTLInputAssembler final : public InputAssembler { - friend class CCMTLQueue; - public: - explicit CCMTLInputAssembler(Device *device); + explicit CCMTLInputAssembler(); ~CCMTLInputAssembler() override = default; CCMTLInputAssembler(const CCMTLInputAssembler &)=delete; CCMTLInputAssembler(CCMTLInputAssembler &&)=delete; CCMTLInputAssembler &operator=(const CCMTLInputAssembler &)=delete; CCMTLInputAssembler &operator=(CCMTLInputAssembler &&)=delete; - bool initialize(const InputAssemblerInfo &info) override; - void destroy() override; +protected: + friend class CCMTLQueue; + + void doInit(const InputAssemblerInfo &info) override; + void doDestroy() override; -private: CCMTLGPUInputAssembler *_GPUInputAssembler = nullptr; }; diff --git a/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm b/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm index 2f496b3534..ba14cd1fa3 100644 --- a/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm +++ b/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm @@ -32,23 +32,9 @@ namespace cc { namespace gfx { -CCMTLInputAssembler::CCMTLInputAssembler(Device *device) : InputAssembler(device) {} - -bool CCMTLInputAssembler::initialize(const InputAssemblerInfo &info) { - _attributes = info.attributes; - _vertexBuffers = info.vertexBuffers; - _indexBuffer = info.indexBuffer; - _indirectBuffer = info.indirectBuffer; - - if (_indexBuffer) { - _indexCount = _indexBuffer->getCount(); - _firstIndex = 0; - } else if (_vertexBuffers.size()) { - _vertexCount = _vertexBuffers[0]->getCount(); - _firstVertex = 0; - _vertexOffset = 0; - } +CCMTLInputAssembler::CCMTLInputAssembler() : InputAssembler() {} +void CCMTLInputAssembler::doInit(const InputAssemblerInfo &info) { _GPUInputAssembler = CC_NEW(CCMTLGPUInputAssembler); if (!_GPUInputAssembler) { return false; @@ -63,13 +49,9 @@ bool CCMTLInputAssembler::initialize(const InputAssemblerInfo &info) { for (const auto &vertexBuffer : info.vertexBuffers) _GPUInputAssembler->mtlVertexBufers.push_back(static_cast(vertexBuffer)->getMTLBuffer()); - - _attributesHash = computeAttributesHash(); - - return true; } -void CCMTLInputAssembler::destroy() { +void CCMTLInputAssembler::doDestroy() { CC_SAFE_DELETE(_GPUInputAssembler); } diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h index 105b5fbe15..7992b511b1 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h +++ b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.h @@ -34,15 +34,15 @@ class CCMTLGPUPipelineLayout; class CCMTLPipelineLayout final : public PipelineLayout { public: - CCMTLPipelineLayout(Device *device); + CCMTLPipelineLayout(); virtual ~CCMTLPipelineLayout() = default; - virtual bool initialize(const PipelineLayoutInfo &info) override; - virtual void destroy() override; - CC_INLINE CCMTLGPUPipelineLayout *gpuPipelineLayout() const { return _gpuPipelineLayout; } -private: +protected: + void doInit(const PipelineLayoutInfo &info) override; + void doDestroy() override; + CCMTLGPUPipelineLayout *_gpuPipelineLayout = nullptr; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.mm b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.mm index e91bb3b26b..2e39baf658 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineLayout.mm +++ b/native/cocos/renderer/gfx-metal/MTLPipelineLayout.mm @@ -31,11 +31,10 @@ namespace cc { namespace gfx { -CCMTLPipelineLayout::CCMTLPipelineLayout(Device *device) : PipelineLayout(device) { +CCMTLPipelineLayout::CCMTLPipelineLayout() : PipelineLayout() { } -bool CCMTLPipelineLayout::initialize(const PipelineLayoutInfo &info) { - _setLayouts = info.setLayouts; +void CCMTLPipelineLayout::doInit(const PipelineLayoutInfo &info) { const auto setCount = _setLayouts.size(); _gpuPipelineLayout = CC_NEW(CCMTLGPUPipelineLayout); _gpuPipelineLayout->dynamicOffsetIndices.resize(setCount); @@ -54,11 +53,9 @@ bool CCMTLPipelineLayout::initialize(const PipelineLayoutInfo &info) { } _gpuPipelineLayout->setLayouts.emplace_back(gpuDescriptorSetLayout); } - - return true; } -void CCMTLPipelineLayout::destroy() { +void CCMTLPipelineLayout::doDestroy() { CC_SAFE_DELETE(_gpuPipelineLayout); } diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.h b/native/cocos/renderer/gfx-metal/MTLPipelineState.h index 142082bf72..d776249a4f 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.h +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.h @@ -37,19 +37,19 @@ namespace gfx { class CCMTLPipelineState final : public PipelineState { public: - explicit CCMTLPipelineState(Device *device); + explicit CCMTLPipelineState(); ~CCMTLPipelineState() override = default; CCMTLPipelineState(const CCMTLPipelineState &)=delete; CCMTLPipelineState(CCMTLPipelineState &&)=delete; CCMTLPipelineState &operator=(const CCMTLPipelineState &)=delete; CCMTLPipelineState &operator=(CCMTLPipelineState &&)=delete; - bool initialize(const PipelineStateInfo &info) override; - void destroy() override; - CC_INLINE CCMTLGPUPipelineState *getGPUPipelineState() const { return _GPUPipelineState; } -private: +protected: + void doInit(const PipelineStateInfo &info) override; + void doDestroy() override; + bool createMTLDepthStencilState(); bool createGPUPipelineState(); bool createMTLRenderPipelineState(); @@ -59,7 +59,6 @@ private: void setBlendStates(MTLRenderPipelineDescriptor *); bool createMTLRenderPipeline(MTLRenderPipelineDescriptor *); -private: id _mtlRenderPipelineState = nil; id _mtlDepthStencilState = nil; CCMTLGPUPipelineState *_GPUPipelineState = nullptr; diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm index 9ccbb4ccde..acea665b3c 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm @@ -40,27 +40,13 @@ namespace cc { namespace gfx { -CCMTLPipelineState::CCMTLPipelineState(Device *device) : PipelineState(device) {} +CCMTLPipelineState::CCMTLPipelineState() : PipelineState() {} -bool CCMTLPipelineState::initialize(const PipelineStateInfo &info) { - _primitive = info.primitive; - _shader = info.shader; - _inputState = info.inputState; - _rasterizerState = info.rasterizerState; - _depthStencilState = info.depthStencilState; - _bindPoint = info.bindPoint; - _blendState = info.blendState; - _dynamicStates = info.dynamicStates; - _renderPass = info.renderPass; - _pipelineLayout = info.pipelineLayout; - - if (!createGPUPipelineState()) { - return false; - } - return true; +void CCMTLPipelineState::doInit(const PipelineStateInfo &info) { + createGPUPipelineState(); } -void CCMTLPipelineState::destroy() { +void CCMTLPipelineState::doDestroy() { CC_SAFE_DELETE(_GPUPipelineState); id renderPipelineState = _mtlRenderPipelineState; @@ -142,7 +128,7 @@ bool CCMTLPipelineState::createMTLDepthStencilState() { descriptor.backFaceStencil = nil; } - id mtlDevice = id(static_cast(_device)->getMTLDevice()); + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); _mtlDepthStencilState = [mtlDevice newDepthStencilStateWithDescriptor:descriptor]; [descriptor release]; @@ -175,7 +161,7 @@ void CCMTLPipelineState::setVertexDescriptor(MTLRenderPipelineDescriptor *descri vector> layouts; unordered_map> map; - vector streamOffsets(_device->getCapabilities().maxVertexAttributes, 0u); + vector streamOffsets(CCMTLDevice::getInstance()->getCapabilities().maxVertexAttributes, 0u); vector activeAttribIdx(activeAttributes.size(), false); for (const auto &inputAttrib : _inputState.attributes) { auto bufferIndex = static_cast(_shader)->getAvailableBufferBindingIndex(ShaderStageFlagBit::VERTEX, inputAttrib.stream); @@ -274,7 +260,7 @@ void CCMTLPipelineState::setBlendStates(MTLRenderPipelineDescriptor *descriptor) } bool CCMTLPipelineState::createMTLRenderPipeline(MTLRenderPipelineDescriptor *descriptor) { - id mtlDevice = id(((CCMTLDevice *)_device)->getMTLDevice()); + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); NSError *nsError = nil; _mtlRenderPipelineState = [mtlDevice newRenderPipelineStateWithDescriptor:descriptor error:&nsError]; if (!_mtlRenderPipelineState) { diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.h b/native/cocos/renderer/gfx-metal/MTLQueue.h index 014314103a..8934c1b2b1 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.h +++ b/native/cocos/renderer/gfx-metal/MTLQueue.h @@ -34,18 +34,19 @@ class CCMTLQueue final : public Queue { friend class CCMTLDevice; public: - explicit CCMTLQueue(Device *device); + explicit CCMTLQueue(); ~CCMTLQueue() override = default; CCMTLQueue(const CCMTLQueue &)=delete; CCMTLQueue(CCMTLQueue &&)=delete; CCMTLQueue &operator=(const CCMTLQueue &)=delete; CCMTLQueue &operator=(CCMTLQueue &&)=delete; - bool initialize(const QueueInfo &info) override; - void destroy() override; void submit(CommandBuffer *const *cmdBuffs, uint count) override; -private: +protected: + void doInit(const QueueInfo &info) override; + void doDestroy() override; + uint _numDrawCalls = 0; uint _numInstances = 0; uint _numTriangles = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLQueue.mm b/native/cocos/renderer/gfx-metal/MTLQueue.mm index 700d613391..830cd88f41 100644 --- a/native/cocos/renderer/gfx-metal/MTLQueue.mm +++ b/native/cocos/renderer/gfx-metal/MTLQueue.mm @@ -32,17 +32,14 @@ namespace cc { namespace gfx { -CCMTLQueue::CCMTLQueue(Device *device) -: Queue(device) { +CCMTLQueue::CCMTLQueue() +: Queue() { } -bool CCMTLQueue::initialize(const QueueInfo &info) { - _type = info.type; - - return true; +void CCMTLQueue::doInit(const QueueInfo &info) { } -void CCMTLQueue::destroy() { +void CCMTLQueue::doDestroy() { } void CCMTLQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { @@ -60,7 +57,7 @@ void CCMTLQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { } else { // Must do present before commit last command buffer. - CCMTLDevice* device = (CCMTLDevice*)_device; + CCMTLDevice* device = (CCMTLDevice*)CCMTLDevice::getInstance(); id currDrawable = (id)device->getCurrentDrawable(); [mtlCmdBuffer presentDrawable:currDrawable]; [mtlCmdBuffer addCompletedHandler:^(id commandBuffer) { diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index b2b15a3ef1..4c92830cfe 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -274,7 +274,7 @@ public: return _mtlEncoder; } -private: +protected: bool _isViewportSet = false; bool _isScissorRectSet = false; bool _isCullModeSet = false; diff --git a/native/cocos/renderer/gfx-metal/MTLRenderPass.h b/native/cocos/renderer/gfx-metal/MTLRenderPass.h index b8f89181be..82cf9488b1 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderPass.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderPass.h @@ -37,12 +37,9 @@ namespace gfx { class CCMTLRenderPass final : public RenderPass { public: - explicit CCMTLRenderPass(Device *device); + explicit CCMTLRenderPass(); ~CCMTLRenderPass() override = default; - bool initialize(const RenderPassInfo &info) override; - void destroy() override; - void setColorAttachment(size_t slot, id texture, int level); void setDepthStencilAttachment(id texture, int level); @@ -50,7 +47,10 @@ public: CC_INLINE uint getColorRenderTargetNums() const { return _colorRenderTargetNums; } CC_INLINE const vector &getRenderTargetSizes() const { return _renderTargetSizes; } -private: +protected: + void doInit(const RenderPassInfo &info) override; + void doDestroy() override; + MTLRenderPassDescriptor *_mtlRenderPassDescriptor = nil; uint _colorRenderTargetNums = 0; vector _renderTargetSizes; diff --git a/native/cocos/renderer/gfx-metal/MTLRenderPass.mm b/native/cocos/renderer/gfx-metal/MTLRenderPass.mm index 66dbadd782..4e4a6b9b38 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderPass.mm +++ b/native/cocos/renderer/gfx-metal/MTLRenderPass.mm @@ -32,13 +32,10 @@ namespace cc { namespace gfx { -CCMTLRenderPass::CCMTLRenderPass(Device *device) : RenderPass(device) {} +CCMTLRenderPass::CCMTLRenderPass() : RenderPass() {} -bool CCMTLRenderPass::initialize(const RenderPassInfo &info) { - _colorAttachments = info.colorAttachments; - _depthStencilAttachment = info.depthStencilAttachment; +void CCMTLRenderPass::doInit(const RenderPassInfo &info) { _renderTargetSizes.resize(_colorAttachments.size()); - _mtlRenderPassDescriptor = [[MTLRenderPassDescriptor alloc] init]; uint i = 0; @@ -53,13 +50,9 @@ bool CCMTLRenderPass::initialize(const RenderPassInfo &info) { _mtlRenderPassDescriptor.depthAttachment.storeAction = mu::toMTLStoreAction(_depthStencilAttachment.depthStoreOp); _mtlRenderPassDescriptor.stencilAttachment.loadAction = mu::toMTLLoadAction(_depthStencilAttachment.stencilLoadOp); _mtlRenderPassDescriptor.stencilAttachment.storeAction = mu::toMTLStoreAction(_depthStencilAttachment.stencilStoreOp); - - _hash = computeHash(); - - return true; } -void CCMTLRenderPass::destroy() { +void CCMTLRenderPass::doDestroy() { if (_mtlRenderPassDescriptor) { [_mtlRenderPassDescriptor release]; _mtlRenderPassDescriptor = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLSampler.h b/native/cocos/renderer/gfx-metal/MTLSampler.h index 811b2f9f16..bb7f87cf9a 100644 --- a/native/cocos/renderer/gfx-metal/MTLSampler.h +++ b/native/cocos/renderer/gfx-metal/MTLSampler.h @@ -34,19 +34,19 @@ namespace gfx { class CCMTLSampler final : public Sampler { public: - explicit CCMTLSampler(Device *device); + explicit CCMTLSampler(); ~CCMTLSampler() override = default; CCMTLSampler(const CCMTLSampler &)=delete; CCMTLSampler(CCMTLSampler &&)=delete; CCMTLSampler &operator=(const CCMTLSampler &)=delete; CCMTLSampler &operator=(CCMTLSampler &&)=delete; - bool initialize(const SamplerInfo &info) override; - void destroy() override; - CC_INLINE id getMTLSamplerState() const { return _mtlSamplerState; } -private: +protected: + void doInit(const SamplerInfo &info) override; + void doDestroy() override; + id _mtlSamplerState = nil; }; diff --git a/native/cocos/renderer/gfx-metal/MTLSampler.mm b/native/cocos/renderer/gfx-metal/MTLSampler.mm index 452979a852..7b887b6c6e 100644 --- a/native/cocos/renderer/gfx-metal/MTLSampler.mm +++ b/native/cocos/renderer/gfx-metal/MTLSampler.mm @@ -34,20 +34,9 @@ namespace cc { namespace gfx { -CCMTLSampler::CCMTLSampler(Device *device) : Sampler(device) {} - -bool CCMTLSampler::initialize(const SamplerInfo &info) { - _minFilter = info.minFilter; - _magFilter = info.magFilter; - _mipFilter = info.mipFilter; - _addressU = info.addressU; - _addressV = info.addressV; - _addressW = info.addressW; - _maxAnisotropy = info.maxAnisotropy; - _cmpFunc = info.cmpFunc; - _borderColor = info.borderColor; - _mipLODBias = info.mipLODBias; +CCMTLSampler::CCMTLSampler() : Sampler() {} +void CCMTLSampler::doInit(const SamplerInfo &info) { MTLSamplerDescriptor *descriptor = [[MTLSamplerDescriptor alloc] init]; #if (CC_PLATFORM == CC_PLATFORM_MAC_OSX) descriptor.borderColor = (MTLSamplerBorderColor)mu::toMTLSamplerBorderColor(_borderColor); @@ -59,19 +48,17 @@ bool CCMTLSampler::initialize(const SamplerInfo &info) { descriptor.magFilter = mu::toMTLSamplerMinMagFilter(_magFilter); descriptor.mipFilter = mu::toMTLSamplerMipFilter(_mipFilter); descriptor.maxAnisotropy = _maxAnisotropy == 0 ? 1 : _maxAnisotropy; - if (static_cast(_device)->isSamplerDescriptorCompareFunctionSupported()) { + if (CCMTLDevice::getInstance()->isSamplerDescriptorCompareFunctionSupported()) { descriptor.compareFunction = mu::toMTLCompareFunction(_cmpFunc); } - id mtlDevice = id(static_cast(_device)->getMTLDevice()); + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); _mtlSamplerState = [mtlDevice newSamplerStateWithDescriptor:descriptor]; [descriptor release]; - - return _mtlSamplerState != nil; } -void CCMTLSampler::destroy() { +void CCMTLSampler::doDestroy() { id samplerState = _mtlSamplerState; _mtlSamplerState = nil; diff --git a/native/cocos/renderer/gfx-metal/MTLSemaphore.h b/native/cocos/renderer/gfx-metal/MTLSemaphore.h index b00ce0a505..8222071342 100644 --- a/native/cocos/renderer/gfx-metal/MTLSemaphore.h +++ b/native/cocos/renderer/gfx-metal/MTLSemaphore.h @@ -55,7 +55,7 @@ public: } } -private: +protected: dispatch_semaphore_t _semaphore = nullptr; uint _semaphoreCount = 0; }; diff --git a/native/cocos/renderer/gfx-metal/MTLShader.h b/native/cocos/renderer/gfx-metal/MTLShader.h index 6c088ecea8..b87cb7051e 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.h +++ b/native/cocos/renderer/gfx-metal/MTLShader.h @@ -34,16 +34,13 @@ namespace gfx { class CCMTLGPUShader; class CCMTLShader final : public Shader { public: - explicit CCMTLShader(Device *device); + explicit CCMTLShader(); ~CCMTLShader() override = default; CCMTLShader(const CCMTLShader &)=delete; CCMTLShader(CCMTLShader &&)=delete; CCMTLShader &operator=(const CCMTLShader &)=delete; CCMTLShader &operator=(CCMTLShader &&)=delete; - bool initialize(const ShaderInfo &info) override; - void destroy() override; - CC_INLINE id getVertMTLFunction() const { return _vertexMTLFunction; } CC_INLINE id getFragmentMTLFunction() const { return _fragmentMTLFunction; } CC_INLINE const unordered_map &getFragmentSamplerBindings() const { return _mtlFragmentSamplerBindings; } @@ -58,11 +55,13 @@ public: CC_INLINE const String &getFragMtlSahder() const { return _fragMtlShader; } #endif -private: +protected: + void doInit(const ShaderInfo &info) override; + void doDestroy() override; + bool createMTLFunction(const ShaderStage &); void setAvailableBufferBindingIndex(); -private: id _vertexMTLFunction = nil; id _fragmentMTLFunction = nil; unordered_map _mtlFragmentSamplerBindings; diff --git a/native/cocos/renderer/gfx-metal/MTLShader.mm b/native/cocos/renderer/gfx-metal/MTLShader.mm index a908f78222..5a4a96aec0 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.mm +++ b/native/cocos/renderer/gfx-metal/MTLShader.mm @@ -33,15 +33,9 @@ namespace cc { namespace gfx { -CCMTLShader::CCMTLShader(Device *device) : Shader(device) {} - -bool CCMTLShader::initialize(const ShaderInfo &info) { - _name = info.name; - _stages = info.stages; - _attributes = info.attributes; - _blocks = info.blocks; - _samplers = info.samplers; +CCMTLShader::CCMTLShader() : Shader() {} +void CCMTLShader::doInit(const ShaderInfo &info) { _gpuShader = CC_NEW(CCMTLGPUShader); for (const auto &stage : _stages) { @@ -54,10 +48,9 @@ bool CCMTLShader::initialize(const ShaderInfo &info) { setAvailableBufferBindingIndex(); CC_LOG_INFO("%s compile succeed.", _name.c_str()); - return true; } -void CCMTLShader::destroy() { +void CCMTLShader::doDestroy() { id vertFunc = _vertexMTLFunction; _vertexMTLFunction = nil; id fragFunc = _fragmentMTLFunction; @@ -78,10 +71,10 @@ void CCMTLShader::destroy() { bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { bool isVertexShader = stage.stage == ShaderStageFlagBit::VERTEX; - id mtlDevice = id(static_cast(_device)->getMTLDevice()); + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); auto mtlShader = mu::compileGLSLShader2Msl(stage.source, stage.stage, - _device, + CCMTLDevice::getInstance(), _gpuShader); NSString *shader = [NSString stringWithUTF8String:mtlShader.c_str()]; @@ -155,7 +148,7 @@ void CCMTLShader::setAvailableBufferBindingIndex() { } } - auto maxBufferBindingIndex = static_cast(_device)->getMaximumBufferBindingIndex(); + auto maxBufferBindingIndex = CCMTLDevice::getInstance()->getMaximumBufferBindingIndex(); _availableVertexBufferBindingIndex.resize(maxBufferBindingIndex - vertexBindingCount); _availableFragmentBufferBindingIndex.resize(maxBufferBindingIndex - fragmentBindingCount); uint availableVertexBufferBit = ~usedVertexBufferBindingIndexes; diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.h b/native/cocos/renderer/gfx-metal/MTLTexture.h index 7c21de3cb4..4a6e0c0dc7 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.h +++ b/native/cocos/renderer/gfx-metal/MTLTexture.h @@ -34,27 +34,26 @@ namespace gfx { class CCMTLTexture final : public Texture { public: - explicit CCMTLTexture(Device *device); + explicit CCMTLTexture(); ~CCMTLTexture() override = default; CCMTLTexture(const CCMTLTexture &) = delete; CCMTLTexture(CCMTLTexture &&) = delete; CCMTLTexture &operator=(const CCMTLTexture &) = delete; CCMTLTexture &operator=(CCMTLTexture &&) = delete; - bool initialize(const TextureInfo &info) override; - bool initialize(const TextureViewInfo &info) override; - void destroy() override; - void resize(uint width, uint height) override; - CC_INLINE id getMTLTexture() const { return _mtlTexture; } CC_INLINE Format getConvertedFormat() const { return _convertedFormat; } CC_INLINE bool isArray() const { return _isArray; } CC_INLINE bool isPVRTC() const { return _isPVRTC; } -private: +protected: + void doInit(const TextureInfo &info) override; + void doInit(const TextureViewInfo &info) override; + void doDestroy() override; + void doResize(uint width, uint height) override; + bool createMTLTexture(); -private: id _mtlTexture = nil; Format _convertedFormat = Format::UNKNOWN; bool _isArray = false; diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.mm b/native/cocos/renderer/gfx-metal/MTLTexture.mm index 294d0cbb25..4e6df7af43 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.mm +++ b/native/cocos/renderer/gfx-metal/MTLTexture.mm @@ -33,20 +33,9 @@ namespace cc { namespace gfx { -CCMTLTexture::CCMTLTexture(Device *device) : Texture(device) {} +CCMTLTexture::CCMTLTexture() : Texture() {} -bool CCMTLTexture::initialize(const TextureInfo &info) { - _type = info.type; - _usage = info.usage; - _format = info.format; - _width = info.width; - _height = info.height; - _depth = info.depth; - _layerCount = info.layerCount; - _levelCount = info.levelCount; - _samples = info.samples; - _flags = info.flags; - _size = FormatSize(_format, _width, _height, _depth); +void CCMTLTexture::doInit(const TextureInfo &info) { _isArray = _type == TextureType::TEX1D_ARRAY || _type == TextureType::TEX2D_ARRAY; if (_format == Format::PVRTC_RGB2 || _format == Format::PVRTC_RGBA2 || @@ -57,77 +46,13 @@ bool CCMTLTexture::initialize(const TextureInfo &info) { _isPVRTC = true; } -#if CC_DEBUG > 0 - switch (_format) { // device feature validation - case Format::D16: - if (_device->hasFeature(Feature::FORMAT_D16)) break; - CC_LOG_ERROR("D16 texture format is not supported on this backend"); - return false; - case Format::D16S8: - if (_device->hasFeature(Feature::FORMAT_D16S8)) break; - CC_LOG_WARNING("D16S8 texture format is not supported on this backend"); - return false; - case Format::D24: - if (_device->hasFeature(Feature::FORMAT_D24)) break; - CC_LOG_WARNING("D24 texture format is not supported on this backend"); - return false; - case Format::D24S8: - if (_device->hasFeature(Feature::FORMAT_D24S8)) break; - CC_LOG_WARNING("D24S8 texture format is not supported on this backend"); - return false; - case Format::D32F: - if (_device->hasFeature(Feature::FORMAT_D32F)) break; - CC_LOG_WARNING("D32F texture format is not supported on this backend"); - return false; - case Format::D32F_S8: - if (_device->hasFeature(Feature::FORMAT_D32FS8)) break; - CC_LOG_WARNING("D32FS8 texture format is not supported on this backend"); - return false; - case Format::RGB8: - if (_device->hasFeature(Feature::FORMAT_RGB8)) break; - CC_LOG_WARNING("RGB8 texture format is not supported on this backend"); - return false; - default: - break; - } -#endif - - if (_flags & TextureFlags::BAKUP_BUFFER) { - _buffer = (uint8_t *)CC_MALLOC(_size); - if (!_buffer) { - CC_LOG_ERROR("CCMTLTexture: CC_MALLOC backup buffer failed."); - return false; - } - _device->getMemoryStatus().textureSize += _size; - } - if (!createMTLTexture()) { CC_LOG_ERROR("CCMTLTexture: create MTLTexture failed."); - return false; + return; } - - _device->getMemoryStatus().textureSize += _size; - return true; } -bool CCMTLTexture::initialize(const TextureViewInfo &info) { - _isTextureView = true; - - if (!info.texture) { - return false; - } - - _type = info.type; - _usage = info.texture->getUsage(); - _format = info.format; - _width = info.texture->getWidth(); - _height = info.texture->getHeight(); - _depth = info.texture->getDepth(); - _layerCount = info.texture->getLayerCount(); - _levelCount = info.texture->getLevelCount(); - _samples = info.texture->getSamples(); - _flags = info.texture->getFlags(); - _size = info.texture->getSize(); +void CCMTLTexture::doInit(const TextureViewInfo &info) { _isArray = _type == TextureType::TEX1D_ARRAY || _type == TextureType::TEX2D_ARRAY; if (_format == Format::PVRTC_RGB2 || _format == Format::PVRTC_RGBA2 || @@ -143,11 +68,6 @@ bool CCMTLTexture::initialize(const TextureViewInfo &info) { textureType:mtlTextureType levels:NSMakeRange(info.baseLevel, info.levelCount) slices:NSMakeRange(info.baseLayer, info.layerCount)]; - if (!_mtlTexture) { - return false; - } - - return true; } bool CCMTLTexture::createMTLTexture() { @@ -196,42 +116,30 @@ bool CCMTLTexture::createMTLTexture() { descriptor.resourceOptions = MTLResourceStorageModePrivate; } - id mtlDevice = id(static_cast(_device)->getMTLDevice()); + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); _mtlTexture = [mtlDevice newTextureWithDescriptor:descriptor]; return _mtlTexture != nil; } -void CCMTLTexture::destroy() { +void CCMTLTexture::doDestroy() { if (_isTextureView) { return; } - if (_buffer) { - CC_FREE(_buffer); - _device->getMemoryStatus().textureSize -= _size; - _buffer = nullptr; - } - - Device *device = _device; id mtlTexure = _mtlTexture; _mtlTexture = nil; - uint size = _size; std::function destroyFunc = [=]() { if (mtlTexure) { [mtlTexure release]; - device->getMemoryStatus().textureSize -= size; } }; //gpu object only CCMTLGPUGarbageCollectionPool::getInstance()->collect(destroyFunc); } -void CCMTLTexture::resize(uint width, uint height) { - if (_width == width && _height == height) - return; - +void CCMTLTexture::doResize(uint width, uint height) { auto oldSize = _size; auto oldWidth = _width; auto oldHeight = _height; @@ -250,32 +158,15 @@ void CCMTLTexture::resize(uint width, uint height) { } if (oldMTLTexture) { - Device *device = _device; std::function destroyFunc = [=]() { if (oldMTLTexture) { [oldMTLTexture release]; - device->getMemoryStatus().bufferSize -= oldSize; } }; //gpu object only CCMTLGPUGarbageCollectionPool::getInstance()->collect(destroyFunc); } - - _device->getMemoryStatus().textureSize -= oldSize; - if (_flags & TextureFlags::BAKUP_BUFFER) { - const uint8_t *oldBuffer = _buffer; - uint8_t *buffer = (uint8_t *)CC_MALLOC(_size); - if (!buffer) { - CC_LOG_ERROR("CCMTLTexture: CC_MALLOC backup buffer failed when try to resize the texture."); - return; - } - CC_FREE(oldBuffer); - _buffer = buffer; - _device->getMemoryStatus().textureSize -= oldSize; - _device->getMemoryStatus().textureSize += _size; - } - - _device->getMemoryStatus().textureSize += _size; } + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/GFXVulkan.h b/native/cocos/renderer/gfx-vulkan/GFXVulkan.h index 06cc8a04b6..902bf7163a 100644 --- a/native/cocos/renderer/gfx-vulkan/GFXVulkan.h +++ b/native/cocos/renderer/gfx-vulkan/GFXVulkan.h @@ -23,11 +23,8 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_VK_H_ -#define CC_GFXVULKAN_VK_H_ +#pragma once #include "VKStd.h" #include "VKDevice.h" - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index 5ad7fa6ffb..f7654273dd 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -33,21 +33,14 @@ namespace cc { namespace gfx { -CCVKBuffer::CCVKBuffer(Device *device) -: Buffer(device) { +CCVKBuffer::CCVKBuffer() +: Buffer() { } CCVKBuffer::~CCVKBuffer() { } -bool CCVKBuffer::initialize(const BufferInfo &info) { - _usage = info.usage; - _memUsage = info.memUsage; - _size = info.size; - _stride = std::max(info.stride, 1u); - _count = _size / _stride; - _flags = info.flags; - +void CCVKBuffer::doInit(const BufferInfo &info) { _gpuBuffer = CC_NEW(CCVKGPUBuffer); _gpuBuffer->usage = _usage; _gpuBuffer->memUsage = _memUsage; @@ -61,91 +54,62 @@ bool CCVKBuffer::initialize(const BufferInfo &info) { _gpuBuffer->indirectCmds.resize(drawInfoCount); } - CCVKCmdFuncCreateBuffer((CCVKDevice *)_device, _gpuBuffer); - _device->getMemoryStatus().bufferSize += _size; + CCVKCmdFuncCreateBuffer(CCVKDevice::getInstance(), _gpuBuffer); _gpuBufferView = CC_NEW(CCVKGPUBufferView); createBufferView(); - - return true; } -bool CCVKBuffer::initialize(const BufferViewInfo &info) { - _isBufferView = true; - +void CCVKBuffer::doInit(const BufferViewInfo &info) { CCVKBuffer *buffer = (CCVKBuffer *)info.buffer; - - _usage = buffer->_usage; - _memUsage = buffer->_memUsage; - _size = _stride = info.range; - _count = 1u; - _flags = buffer->_flags; - _offset = info.offset; - - _gpuBuffer = ((CCVKBuffer *)info.buffer)->gpuBuffer(); + _gpuBuffer = buffer->gpuBuffer(); _gpuBufferView = CC_NEW(CCVKGPUBufferView); createBufferView(); - - return true; } void CCVKBuffer::createBufferView() { _gpuBufferView->gpuBuffer = _gpuBuffer; _gpuBufferView->offset = _offset; _gpuBufferView->range = _size; - ((CCVKDevice *)_device)->gpuDescriptorHub()->update(_gpuBufferView); + CCVKDevice::getInstance()->gpuDescriptorHub()->update(_gpuBufferView); } -void CCVKBuffer::destroy() { +void CCVKBuffer::doDestroy() { if (_gpuBufferView) { - ((CCVKDevice *)_device)->gpuDescriptorHub()->disengage(_gpuBufferView); + CCVKDevice::getInstance()->gpuDescriptorHub()->disengage(_gpuBufferView); CC_DELETE(_gpuBufferView); _gpuBufferView = nullptr; } if (_gpuBuffer) { if (!_isBufferView) { - ((CCVKDevice *)_device)->gpuBufferHub()->erase(_gpuBuffer); - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuBuffer); - ((CCVKDevice *)_device)->gpuBarrierManager()->cancel(_gpuBuffer); - _device->getMemoryStatus().bufferSize -= _size; + CCVKDevice::getInstance()->gpuBufferHub()->erase(_gpuBuffer); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuBuffer); + CCVKDevice::getInstance()->gpuBarrierManager()->cancel(_gpuBuffer); CC_DELETE(_gpuBuffer); } _gpuBuffer = nullptr; } } -void CCVKBuffer::resize(uint size) { - CCASSERT(!_isBufferView, "Cannot resize buffer views"); +void CCVKBuffer::doResize(uint size) { + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuBuffer); - if (_size != size) { - const uint oldSize = _size; - _size = size; - _count = _size / _stride; + _gpuBuffer->size = _size; + _gpuBuffer->count = _count; + CCVKCmdFuncCreateBuffer(CCVKDevice::getInstance(), _gpuBuffer); - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuBuffer); + createBufferView(); - _gpuBuffer->size = _size; - _gpuBuffer->count = _count; - CCVKCmdFuncCreateBuffer((CCVKDevice *)_device, _gpuBuffer); - - createBufferView(); - - MemoryStatus &status = _device->getMemoryStatus(); - status.bufferSize -= oldSize; - status.bufferSize += _size; - - if (_usage & BufferUsageBit::INDIRECT) { - const size_t drawInfoCount = _size / sizeof(DrawInfo); - _gpuBuffer->indexedIndirectCmds.resize(drawInfoCount); - _gpuBuffer->indirectCmds.resize(drawInfoCount); - } + if (_usage & BufferUsageBit::INDIRECT) { + const size_t drawInfoCount = _size / sizeof(DrawInfo); + _gpuBuffer->indexedIndirectCmds.resize(drawInfoCount); + _gpuBuffer->indirectCmds.resize(drawInfoCount); } } void CCVKBuffer::update(void *buffer, uint size) { CCASSERT(!_isBufferView, "Cannot update through buffer views"); - if (!size) return; #if CC_DEBUG > 0 if (_usage & BufferUsageBit::INDIRECT) { @@ -161,12 +125,8 @@ void CCVKBuffer::update(void *buffer, uint size) { } #endif - if (_buffer) { - memcpy(_buffer, buffer, size); - } - - ((CCVKDevice *)_device)->gpuTransportHub()->checkIn([this, buffer, size](CCVKGPUCommandBuffer *gpuCommandBuffer) { - CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, _gpuBuffer, buffer, size, gpuCommandBuffer); + CCVKDevice::getInstance()->gpuTransportHub()->checkIn([this, buffer, size](CCVKGPUCommandBuffer *gpuCommandBuffer) { + CCVKCmdFuncUpdateBuffer(CCVKDevice::getInstance(), _gpuBuffer, buffer, size, gpuCommandBuffer); }); } diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.h b/native/cocos/renderer/gfx-vulkan/VKBuffer.h index 100504a240..4db6d44e1e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_BUFFER_H_ -#define CC_GFXVULKAN_BUFFER_H_ +#pragma once #include "gfx-base/GFXBuffer.h" @@ -36,20 +35,20 @@ class CCVKGPUBufferView; class CC_VULKAN_API CCVKBuffer final : public Buffer { public: - CCVKBuffer(Device *device); + CCVKBuffer(); ~CCVKBuffer(); -public: - bool initialize(const BufferInfo &info); - bool initialize(const BufferViewInfo &info); - void destroy(); - void resize(uint size); - void update(void *buffer, uint offset); + void update(void *buffer, uint offset) override; CC_INLINE CCVKGPUBuffer *gpuBuffer() const { return _gpuBuffer; } CC_INLINE CCVKGPUBufferView *gpuBufferView() const { return _gpuBufferView; } -private: +protected: + void doInit(const BufferInfo &info) override; + void doInit(const BufferViewInfo &info) override; + void doDestroy() override; + void doResize(uint size) override; + void createBufferView(); CCVKGPUBuffer *_gpuBuffer = nullptr; @@ -58,5 +57,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 434dd50a6b..69fb3ef67d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -43,31 +43,26 @@ namespace cc { namespace gfx { -CCVKCommandBuffer::CCVKCommandBuffer(Device *device) -: CommandBuffer(device) { +CCVKCommandBuffer::CCVKCommandBuffer() +: CommandBuffer() { } CCVKCommandBuffer::~CCVKCommandBuffer() { } -bool CCVKCommandBuffer::initialize(const CommandBufferInfo &info) { - _type = info.type; - _queue = info.queue; - +void CCVKCommandBuffer::doInit(const CommandBufferInfo &info) { _gpuCommandBuffer = CC_NEW(CCVKGPUCommandBuffer); _gpuCommandBuffer->level = MapVkCommandBufferLevel(_type); _gpuCommandBuffer->queueFamilyIndex = ((CCVKQueue *)_queue)->gpuQueue()->queueFamilyIndex; - size_t setCount = ((CCVKDevice *)_device)->bindingMappingInfo().bufferOffsets.size(); + size_t setCount = CCVKDevice::getInstance()->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); _curVkDescriptorSets.resize(setCount); _curDynamicOffsetPtrs.resize(setCount); _curDynamicOffsetCounts.resize(setCount); - - return true; } -void CCVKCommandBuffer::destroy() { +void CCVKCommandBuffer::doDestroy() { if (_gpuCommandBuffer) { CC_DELETE(_gpuCommandBuffer); _gpuCommandBuffer = nullptr; @@ -77,7 +72,7 @@ void CCVKCommandBuffer::destroy() { void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { if (_gpuCommandBuffer->began) return; - ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool()->request(_gpuCommandBuffer); + CCVKDevice::getInstance()->gpuDevice()->getCommandBufferPool()->request(_gpuCommandBuffer); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; @@ -127,7 +122,7 @@ void CCVKCommandBuffer::end() { _gpuCommandBuffer->began = false; _pendingQueue.push(_gpuCommandBuffer->vkCommandBuffer); - ((CCVKDevice *)_device)->gpuDevice()->getCommandBufferPool()->yield(_gpuCommandBuffer); + CCVKDevice::getInstance()->gpuDevice()->getCommandBufferPool()->yield(_gpuCommandBuffer); } void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, @@ -352,7 +347,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { if (gpuIndirectBuffer) { uint drawInfoCount = gpuIndirectBuffer->count; - CCVKGPUDevice *gpuDevice = static_cast(_device)->gpuDevice(); + CCVKGPUDevice *gpuDevice = CCVKDevice::getInstance()->gpuDevice(); VkDeviceSize offset = gpuIndirectBuffer->startOffset + gpuDevice->curBackBufferIndex * gpuIndirectBuffer->instanceSize; if (gpuDevice->useMultiDrawIndirect) { if (gpuIndirectBuffer->isDrawIndirectByIndex) { @@ -442,11 +437,11 @@ void CCVKCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint count) { void CCVKCommandBuffer::updateBuffer(Buffer *buffer, const void *data, uint size) { CCVKGPUBuffer *gpuBuffer = ((CCVKBuffer *)buffer)->gpuBuffer(); - CCVKCmdFuncUpdateBuffer((CCVKDevice *)_device, gpuBuffer, data, size, _gpuCommandBuffer); + CCVKCmdFuncUpdateBuffer(CCVKDevice::getInstance(), gpuBuffer, data, size, _gpuCommandBuffer); } void CCVKCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - CCVKCmdFuncCopyBuffersToTexture((CCVKDevice *)_device, buffers, ((CCVKTexture *)texture)->gpuTexture(), regions, count, _gpuCommandBuffer); + CCVKCmdFuncCopyBuffersToTexture(CCVKDevice::getInstance(), buffers, ((CCVKTexture *)texture)->gpuTexture(), regions, count, _gpuCommandBuffer); } void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { @@ -456,7 +451,7 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co VkImage dstImage = VK_NULL_HANDLE; VkImageLayout srcImageLayout = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL; VkImageLayout dstImageLayout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; - CCVKGPUSwapchain * swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + CCVKGPUSwapchain * swapchain = CCVKDevice::getInstance()->gpuSwapchain(); if (srcTexture) { CCVKGPUTexture *gpuTextureSrc = ((CCVKTexture *)srcTexture)->gpuTexture(); @@ -509,7 +504,7 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co } void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { - CCVKDevice * device = (CCVKDevice *)_device; + CCVKDevice * device = CCVKDevice::getInstance(); CCVKGPUDevice * gpuDevice = device->gpuDevice(); CCVKGPUPipelineLayout *pipelineLayout = _curGPUPipelineState->gpuPipelineLayout; vector & dynamicOffsetOffsets = pipelineLayout->dynamicOffsetOffsets; @@ -585,7 +580,7 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text _imageMemoryBarriers[i].subresourceRange.aspectMask = gpuTexture->aspectMask; gpuTexture->currentAccessTypes.assign(gpuBarrier->barrier.pNextAccesses, gpuBarrier->barrier.pNextAccesses + gpuBarrier->barrier.nextAccessCount); } else { - CCVKGPUSwapchain *swapchain = ((CCVKDevice *)_device)->gpuSwapchain(); + CCVKGPUSwapchain *swapchain = CCVKDevice::getInstance()->gpuSwapchain(); _imageMemoryBarriers[i].image = swapchain->swapchainImages[swapchain->curImageIndex]; _imageMemoryBarriers[i].subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; swapchain->swapchainImageAccessTypes[swapchain->curImageIndex].assign(gpuBarrier->barrier.pNextAccesses, gpuBarrier->barrier.pNextAccesses + gpuBarrier->barrier.nextAccessCount); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 8c7911eda3..b0de93f42a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_COMMAND_BUFFER_H_ -#define CC_GFXVULKAN_COMMAND_BUFFER_H_ +#pragma once #include "gfx-base/GFXCommandBuffer.h" @@ -35,41 +34,40 @@ namespace gfx { class CC_VULKAN_API CCVKCommandBuffer final : public CommandBuffer { public: - CCVKCommandBuffer(Device *device); + CCVKCommandBuffer(); ~CCVKCommandBuffer(); - friend class CCVKQueue; - -public: - virtual bool initialize(const CommandBufferInfo &info) override; - virtual void destroy() override; - - virtual void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; - virtual void end() override; - virtual void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; - virtual void endRenderPass() override; - virtual void bindPipelineState(PipelineState *pso) override; - virtual void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; - virtual void bindInputAssembler(InputAssembler *ia) override; - virtual void setViewport(const Viewport &vp) override; - virtual void setScissor(const Rect &rect) override; - virtual void setLineWidth(float width) override; - virtual void setDepthBias(float constant, float clamp, float slope) override; - virtual void setBlendConstants(const Color &constants) override; - virtual void setDepthBound(float minBounds, float maxBounds) override; - virtual void setStencilWriteMask(StencilFace face, uint mask) override; - virtual void setStencilCompareMask(StencilFace face, int reference, uint mask) override; - virtual void draw(InputAssembler *ia) override; - virtual void updateBuffer(Buffer *buffer, const void *data, uint size) override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; - virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; - virtual void execute(CommandBuffer *const *cmdBuffs, uint count) override; - virtual void dispatch(const DispatchInfo &info) override; - virtual void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; + void endRenderPass() override; + void bindPipelineState(PipelineState *pso) override; + void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; + void bindInputAssembler(InputAssembler *ia) override; + void setViewport(const Viewport &vp) override; + void setScissor(const Rect &rect) override; + void setLineWidth(float width) override; + void setDepthBias(float constant, float clamp, float slope) override; + void setBlendConstants(const Color &constants) override; + void setDepthBound(float minBounds, float maxBounds) override; + void setStencilWriteMask(StencilFace face, uint mask) override; + void setStencilCompareMask(StencilFace face, int reference, uint mask) override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buffer, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; + void execute(CommandBuffer *const *cmdBuffs, uint count) override; + void dispatch(const DispatchInfo &info) override; + void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; CCVKGPUCommandBuffer *gpuCommandBuffer() const { return _gpuCommandBuffer; } -private: +protected: + friend class CCVKQueue; + + void doInit(const CommandBufferInfo &info) override; + void doDestroy() override; + void bindDescriptorSets(VkPipelineBindPoint bindPoint); CCVKGPUCommandBuffer *_gpuCommandBuffer = nullptr; @@ -104,5 +102,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 274dbfe6d5..25bdb8086f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -82,7 +82,7 @@ void CCVKCmdFuncGetDeviceQueue(CCVKDevice *device, CCVKGPUQueue *gpuQueue) { case QueueType::TRANSFER: queueType = VK_QUEUE_TRANSFER_BIT; break; } - const CCVKGPUContext *context = ((CCVKContext *)device->getContext())->gpuContext(); + const CCVKGPUContext *context = device->gpuContext(); size_t queueCount = context->queueFamilyProperties.size(); for (size_t i = 0u; i < queueCount; ++i) { @@ -450,7 +450,7 @@ void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFra void CCVKCmdFuncCreateShader(CCVKDevice *device, CCVKGPUShader *gpuShader) { for (CCVKGPUShaderStage &stage : gpuShader->gpuStages) { - vector spirv = GLSL2SPIRV(stage.type, "#version 450\n" + stage.source, ((CCVKContext *)device->getContext())->minorVersion()); + vector spirv = GLSL2SPIRV(stage.type, "#version 450\n" + stage.source, device->gpuDevice()->minorVersion); VkShaderModuleCreateInfo createInfo{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; createInfo.codeSize = spirv.size() * sizeof(unsigned int); createInfo.pCode = spirv.data(); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index ba794f7ebc..c09833e9ba 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_COMMANDS_H_ -#define CC_GFXVULKAN_COMMANDS_H_ +#pragma once #include "VKGPUObjects.h" @@ -85,5 +84,3 @@ CC_VULKAN_API void CCVKCmdFuncGlobalMemoryBarrier(const CCVKGPUCommandBuffer *gp } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 7cfa5ed6c2..630e4d3304 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -46,7 +46,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, othe constexpr uint DISABLE_VALIDATION_ASSERTIONS = 1; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 0 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, @@ -99,18 +99,14 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugReportCallback(VkDebugReportFlagsEXT fl #endif } // namespace -CCVKContext::CCVKContext(Device *device) -: Context(device) { +CCVKContext::CCVKContext() +: Context() { } CCVKContext::~CCVKContext() { } -bool CCVKContext::initialize(const ContextInfo &info) { - - _vsyncMode = info.vsyncMode; - _windowHandle = info.windowHandle; - +bool CCVKContext::doInit(const ContextInfo &info) { if (!info.sharedCtx) { _isPrimaryContex = true; @@ -286,9 +282,9 @@ bool CCVKContext::initialize(const ContextInfo &info) { EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [this](const CustomEvent &event) -> void { if (_gpuContext && _gpuContext->vkSurface != VK_NULL_HANDLE) { - CCVKDevice *device = (CCVKDevice *)_device; + CCVKDevice *device = CCVKDevice::getInstance(); - CCVKQueue *queue = (CCVKQueue *)_device->getQueue(); + CCVKQueue *queue = (CCVKQueue *)device->getQueue(); uint fenceCount = device->gpuFencePool()->size(); if (fenceCount) { @@ -314,7 +310,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); - ((CCVKDevice *)_device)->checkSwapchainStatus(); + CCVKDevice::getInstance()->checkSwapchainStatus(); } }); #elif defined(VK_USE_PLATFORM_WIN32_KHR) @@ -553,7 +549,7 @@ bool CCVKContext::initialize(const ContextInfo &info) { return true; } -void CCVKContext::destroy() { +void CCVKContext::doDestroy() { if (_gpuContext) { if (_gpuContext->vkSurface != VK_NULL_HANDLE) { vkDestroySurfaceKHR(_gpuContext->vkInstance, _gpuContext->vkSurface, nullptr); diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.h b/native/cocos/renderer/gfx-vulkan/VKContext.h index f308c84510..cd41e87c26 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.h +++ b/native/cocos/renderer/gfx-vulkan/VKContext.h @@ -39,13 +39,10 @@ class CCVKGPUSemaphorePool; class CC_VULKAN_API CCVKContext final : public Context { public: - CCVKContext(Device *device); + CCVKContext(); ~CCVKContext(); -public: - bool initialize(const ContextInfo &info); - void destroy(); - void present() {} + void present() override {} CC_INLINE bool checkExtension(const String &extension) const { return std::find_if(_extensions.begin(), _extensions.end(), @@ -60,11 +57,14 @@ public: CC_INLINE const vector &getLayers() const { return _layers; } CC_INLINE const vector &getExtensions() const { return _extensions; } -private: - CCVKGPUContext *_gpuContext = nullptr; - bool _isPrimaryContex = false; - int _majorVersion = 0; - int _minorVersion = 0; +protected: + bool doInit(const ContextInfo &info) override; + void doDestroy() override; + + CCVKGPUContext * _gpuContext = nullptr; + bool _isPrimaryContex = false; + int _majorVersion = 0; + int _minorVersion = 0; vector _layers; vector _extensions; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index daadb41ee2..05a67b410a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -38,25 +38,18 @@ namespace cc { namespace gfx { -CCVKDescriptorSet::CCVKDescriptorSet(Device *device) -: DescriptorSet(device) { +CCVKDescriptorSet::CCVKDescriptorSet() +: DescriptorSet() { } CCVKDescriptorSet::~CCVKDescriptorSet() { } -bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { - - _layout = info.layout; - +void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); const uint bindingCount = gpuDescriptorSetLayout->bindings.size(); const uint descriptorCount = gpuDescriptorSetLayout->descriptorCount; - _buffers.resize(descriptorCount); - _textures.resize(descriptorCount); - _samplers.resize(descriptorCount); - _gpuDescriptorSet = CC_NEW(CCVKGPUDescriptorSet); _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount, {}); @@ -96,7 +89,7 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { } } - CCVKGPUDevice *gpuDevice = ((CCVKDevice *)_device)->gpuDevice(); + CCVKGPUDevice *gpuDevice = CCVKDevice::getInstance()->gpuDevice(); _gpuDescriptorSet->gpuLayout = gpuDescriptorSetLayout; _gpuDescriptorSet->instances.resize(gpuDevice->backBufferCount); @@ -158,13 +151,11 @@ bool CCVKDescriptorSet::initialize(const DescriptorSetInfo &info) { } } } - - return true; } -void CCVKDescriptorSet::destroy() { +void CCVKDescriptorSet::doDestroy() { if (_gpuDescriptorSet) { - CCVKGPUDescriptorHub * descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); + CCVKGPUDescriptorHub * descriptorHub = CCVKDevice::getInstance()->gpuDescriptorHub(); CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { @@ -190,22 +181,17 @@ void CCVKDescriptorSet::destroy() { } } - ((CCVKDevice *)_device)->gpuDescriptorSetHub()->erase(_gpuDescriptorSet); + CCVKDevice::getInstance()->gpuDescriptorSetHub()->erase(_gpuDescriptorSet); CC_DELETE(_gpuDescriptorSet); _gpuDescriptorSet = nullptr; } - - // do remember to clear these or else it might not be properly updated when reused - _buffers.clear(); - _textures.clear(); - _samplers.clear(); } void CCVKDescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { - CCVKGPUDescriptorHub * descriptorHub = ((CCVKDevice *)_device)->gpuDescriptorHub(); - CCVKGPUBarrierManager *layoutMgr = ((CCVKDevice *)_device)->gpuBarrierManager(); + CCVKGPUDescriptorHub * descriptorHub = CCVKDevice::getInstance()->gpuDescriptorHub(); + CCVKGPUBarrierManager *layoutMgr = CCVKDevice::getInstance()->gpuBarrierManager(); uint descriptorCount = _gpuDescriptorSet->gpuDescriptors.size(); for (size_t i = 0u; i < descriptorCount; i++) { @@ -266,7 +252,7 @@ void CCVKDescriptorSet::update() { } } } - ((CCVKDevice *)_device)->gpuDescriptorSetHub()->record(_gpuDescriptorSet); + CCVKDevice::getInstance()->gpuDescriptorSetHub()->record(_gpuDescriptorSet); _isDirty = false; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h index da4ae3c09a..fb4cbbd506 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_BINDING_LAYOUT_H_ -#define CC_GFXVULKAN_BINDING_LAYOUT_H_ +#pragma once #include "gfx-base/GFXDescriptorSet.h" @@ -35,20 +34,19 @@ class CCVKGPUDescriptorSet; class CC_VULKAN_API CCVKDescriptorSet final : public DescriptorSet { public: - CCVKDescriptorSet(Device *device); + CCVKDescriptorSet(); ~CCVKDescriptorSet(); - virtual bool initialize(const DescriptorSetInfo &info) override; - virtual void destroy() override; - virtual void update() override; + void update() override; CC_INLINE CCVKGPUDescriptorSet *gpuDescriptorSet() const { return _gpuDescriptorSet; } -private: +protected: + void doInit(const DescriptorSetInfo &info) override; + void doDestroy() override; + CCVKGPUDescriptorSet *_gpuDescriptorSet = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp index 58f7da331b..4e0baa85a6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp @@ -32,45 +32,21 @@ namespace cc { namespace gfx { -CCVKDescriptorSetLayout::CCVKDescriptorSetLayout(Device *device) -: DescriptorSetLayout(device) { +CCVKDescriptorSetLayout::CCVKDescriptorSetLayout() +: DescriptorSetLayout() { } CCVKDescriptorSetLayout::~CCVKDescriptorSetLayout() { } -bool CCVKDescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { - - _bindings = info.bindings; - uint bindingCount = _bindings.size(); - _descriptorCount = 0u; - - if (bindingCount) { - uint maxBinding = 0u; - vector flattenedIndices(bindingCount); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - flattenedIndices[i] = _descriptorCount; - _descriptorCount += binding.count; - if (binding.binding > maxBinding) maxBinding = binding.binding; - } - - _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - for (uint i = 0u; i < bindingCount; i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - _bindingIndices[binding.binding] = i; - _descriptorIndices[binding.binding] = flattenedIndices[i]; - } - } - +void CCVKDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { _gpuDescriptorSetLayout = CC_NEW(CCVKGPUDescriptorSetLayout); _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; _gpuDescriptorSetLayout->bindingIndices = _bindingIndices; _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; _gpuDescriptorSetLayout->bindings = _bindings; - for (uint i = 0u; i < bindingCount; i++) { + for (uint i = 0u; i < _bindings.size(); i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { for (uint j = 0u; j < binding.count; j++) { @@ -79,14 +55,12 @@ bool CCVKDescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { } } - CCVKCmdFuncCreateDescriptorSetLayout((CCVKDevice *)_device, _gpuDescriptorSetLayout); - - return true; + CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice::getInstance(), _gpuDescriptorSetLayout); } -void CCVKDescriptorSetLayout::destroy() { +void CCVKDescriptorSetLayout::doDestroy() { if (_gpuDescriptorSetLayout) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuDescriptorSetLayout); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuDescriptorSetLayout); _gpuDescriptorSetLayout = nullptr; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h index ee88a47ae2..d979492b45 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h @@ -35,16 +35,15 @@ class CCVKGPUDescriptorSetLayout; class CC_VULKAN_API CCVKDescriptorSetLayout final : public DescriptorSetLayout { public: - CCVKDescriptorSetLayout(Device *device); + CCVKDescriptorSetLayout(); ~CCVKDescriptorSetLayout(); -public: - virtual bool initialize(const DescriptorSetLayoutInfo &info) override; - virtual void destroy() override; - CC_INLINE CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout() const { return _gpuDescriptorSetLayout; } -private: +protected: + void doInit(const DescriptorSetLayoutInfo &info) override; + void doDestroy() override; + CCVKGPUDescriptorSetLayout *_gpuDescriptorSetLayout = nullptr; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 8bc5d074e5..feb8d81e72 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -59,45 +59,40 @@ namespace gfx { //#define DISABLE_PRE_TRANSFORM +CCVKDevice *CCVKDevice::_instance = nullptr; + +CCVKDevice *CCVKDevice::getInstance() { + return CCVKDevice::_instance; +} + CCVKDevice::CCVKDevice() { + _API = API::VULKAN; + _deviceName = "Vulkan"; + _caps.clipSpaceMinZ = 0.0f; _caps.screenSpaceSignY = -1.0f; _caps.UVSpaceSignY = 1.0f; + CCVKDevice::_instance = this; } CCVKDevice::~CCVKDevice() { + CCVKDevice::_instance = nullptr; } CCVKGPUContext *CCVKDevice::gpuContext() const { return ((CCVKContext *)_context)->gpuContext(); } -bool CCVKDevice::initialize(const DeviceInfo &info) { - _API = API::VULKAN; - _deviceName = "Vulkan"; - _width = info.width; - _height = info.height; - _nativeWidth = info.nativeWidth; - _nativeHeight = info.nativeHeight; - _windowHandle = info.windowHandle; +bool CCVKDevice::doInit(const DeviceInfo &info) { + ContextInfo ctxInfo; + ctxInfo.windowHandle = _windowHandle; - _bindingMappingInfo = info.bindingMappingInfo; - if (!_bindingMappingInfo.bufferOffsets.size()) { - _bindingMappingInfo.bufferOffsets.push_back(0); - } - if (!_bindingMappingInfo.samplerOffsets.size()) { - _bindingMappingInfo.samplerOffsets.push_back(0); - } - - ContextInfo contextCreateInfo; - contextCreateInfo.windowHandle = _windowHandle; - contextCreateInfo.sharedCtx = info.sharedCtx; - - _context = CC_NEW(CCVKContext(this)); - if (!_context->initialize(contextCreateInfo)) { + _context = CC_NEW(CCVKContext); + if (!_context->initialize(ctxInfo)) { destroy(); return false; } + const CCVKContext * context = (CCVKContext *)_context; const CCVKGPUContext * gpuContext = ((CCVKContext *)_context)->gpuContext(); const VkPhysicalDeviceFeatures2 &deviceFeatures2 = gpuContext->physicalDeviceFeatures2; @@ -297,6 +292,15 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { ///////////////////// Resource Initialization ///////////////////// + QueueInfo queueInfo; + queueInfo.type = QueueType::GRAPHICS; + _queue = createQueue(queueInfo); + + CommandBufferInfo cmdBuffInfo; + cmdBuffInfo.type = CommandBufferType::PRIMARY; + cmdBuffInfo.queue = _queue; + _cmdBuff = createCommandBuffer(cmdBuffInfo); + VmaVulkanFunctions vmaVulkanFunc{}; vmaVulkanFunc.vkAllocateMemory = vkAllocateMemory; vmaVulkanFunc.vkBindBufferMemory = vkBindBufferMemory; @@ -335,10 +339,6 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { VK_CHECK(vmaCreateAllocator(&allocatorInfo, &_gpuDevice->memoryAllocator)); - QueueInfo queueInfo; - queueInfo.type = QueueType::GRAPHICS; - _queue = createQueue(queueInfo); - uint backBufferCount = gpuContext->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { _gpuFencePools.push_back(CC_NEW(CCVKGPUFencePool(_gpuDevice))); @@ -355,11 +355,6 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { _gpuDescriptorHub->link(_gpuDescriptorSetHub); - CommandBufferInfo cmdBuffInfo; - cmdBuffInfo.type = CommandBufferType::PRIMARY; - cmdBuffInfo.queue = _queue; - _cmdBuff = createCommandBuffer(cmdBuffInfo); - CCVKCmdFuncCreateSampler(this, &_gpuDevice->defaultSampler); _gpuDevice->defaultTexture.format = Format::RGBA8; @@ -448,7 +443,7 @@ bool CCVKDevice::initialize(const DeviceInfo &info) { return true; } -void CCVKDevice::destroy() { +void CCVKDevice::doDestroy() { if (_gpuDevice && _gpuDevice->vkDevice) { VK_CHECK(vkDeviceWaitIdle(_gpuDevice->vkDevice)); } @@ -557,9 +552,9 @@ void CCVKDevice::acquire() { VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); -#if defined(VK_USE_PLATFORM_METAL_EXT) +#if !defined(VK_USE_PLATFORM_METAL_EXT) assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); // MoltenVK seems to be not consistent -#endif // defined(VK_USE_PLATFORM_METAL_EXT) +#endif // defined(VK_USE_PLATFORM_METAL_EXT) queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; queue->gpuQueue()->nextSignalSemaphore = _gpuSemaphorePool->alloc(); @@ -602,64 +597,64 @@ CCVKGPUFencePool * CCVKDevice::gpuFencePool() { return _gpuFencePools[_gp CCVKGPURecycleBin * CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuDevice->curBackBufferIndex]; } CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } -CommandBuffer *CCVKDevice::doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - return CC_NEW(CCVKCommandBuffer(this)); +CommandBuffer *CCVKDevice::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + return CC_NEW(CCVKCommandBuffer); } Queue *CCVKDevice::createQueue() { - return CC_NEW(CCVKQueue(this)); + return CC_NEW(CCVKQueue); } Buffer *CCVKDevice::createBuffer() { - return CC_NEW(CCVKBuffer(this)); + return CC_NEW(CCVKBuffer); } Texture *CCVKDevice::createTexture() { - return CC_NEW(CCVKTexture(this)); + return CC_NEW(CCVKTexture); } Sampler *CCVKDevice::createSampler() { - return CC_NEW(CCVKSampler(this)); + return CC_NEW(CCVKSampler); } Shader *CCVKDevice::createShader() { - return CC_NEW(CCVKShader(this)); + return CC_NEW(CCVKShader); } InputAssembler *CCVKDevice::createInputAssembler() { - return CC_NEW(CCVKInputAssembler(this)); + return CC_NEW(CCVKInputAssembler); } RenderPass *CCVKDevice::createRenderPass() { - return CC_NEW(CCVKRenderPass(this)); + return CC_NEW(CCVKRenderPass); } Framebuffer *CCVKDevice::createFramebuffer() { - return CC_NEW(CCVKFramebuffer(this)); + return CC_NEW(CCVKFramebuffer); } DescriptorSet *CCVKDevice::createDescriptorSet() { - return CC_NEW(CCVKDescriptorSet(this)); + return CC_NEW(CCVKDescriptorSet); } DescriptorSetLayout *CCVKDevice::createDescriptorSetLayout() { - return CC_NEW(CCVKDescriptorSetLayout(this)); + return CC_NEW(CCVKDescriptorSetLayout); } PipelineLayout *CCVKDevice::createPipelineLayout() { - return CC_NEW(CCVKPipelineLayout(this)); + return CC_NEW(CCVKPipelineLayout); } PipelineState *CCVKDevice::createPipelineState() { - return CC_NEW(CCVKPipelineState(this)); + return CC_NEW(CCVKPipelineState); } GlobalBarrier *CCVKDevice::createGlobalBarrier() { - return CC_NEW(CCVKGlobalBarrier(this)); + return CC_NEW(CCVKGlobalBarrier); } TextureBarrier *CCVKDevice::createTextureBarrier() { - return CC_NEW(CCVKTextureBarrier(this)); + return CC_NEW(CCVKTextureBarrier); } void CCVKDevice::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index ad6c2e0f0b..82a9ff9f3c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_DEVICE_H_ -#define CC_GFXVULKAN_DEVICE_H_ +#pragma once #include "gfx-base/GFXDevice.h" @@ -50,8 +49,9 @@ class CCVKGPUStagingBufferPool; class CC_VULKAN_API CCVKDevice final : public Device { public: - CCVKDevice(); - ~CCVKDevice(); + static CCVKDevice *getInstance(); + + ~CCVKDevice() override; friend class CCVKContext; using Device::copyBuffersToTexture; @@ -71,11 +71,10 @@ public: using Device::createTexture; using Device::createTextureBarrier; - virtual bool initialize(const DeviceInfo &info) override; - virtual void destroy() override; - virtual void resize(uint width, uint height) override; - virtual void acquire() override; - virtual void present() override; + void resize(uint width, uint height) override; + void acquire() override; + void present() override; + CC_INLINE bool checkExtension(const String &extension) const { return std::find_if(_extensions.begin(), _extensions.end(), [extension](const char *device_extension) { @@ -98,23 +97,31 @@ public: CCVKGPURecycleBin * gpuRecycleBin(); CCVKGPUStagingBufferPool *gpuStagingBufferPool(); -private: - virtual CommandBuffer * doCreateCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; - virtual Queue * createQueue() override; - virtual Buffer * createBuffer() override; - virtual Texture * createTexture() override; - virtual Sampler * createSampler() override; - virtual Shader * createShader() override; - virtual InputAssembler * createInputAssembler() override; - virtual RenderPass * createRenderPass() override; - virtual Framebuffer * createFramebuffer() override; - virtual DescriptorSet * createDescriptorSet() override; - virtual DescriptorSetLayout *createDescriptorSetLayout() override; - virtual PipelineLayout * createPipelineLayout() override; - virtual PipelineState * createPipelineState() override; - virtual GlobalBarrier * createGlobalBarrier() override; - virtual TextureBarrier * createTextureBarrier() override; - virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; +protected: + static CCVKDevice *_instance; + + friend class DeviceCreator; + + CCVKDevice(); + + bool doInit(const DeviceInfo &info) override; + void doDestroy() override; + CommandBuffer * createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + Queue * createQueue() override; + Buffer * createBuffer() override; + Texture * createTexture() override; + Sampler * createSampler() override; + Shader * createShader() override; + InputAssembler * createInputAssembler() override; + RenderPass * createRenderPass() override; + Framebuffer * createFramebuffer() override; + DescriptorSet * createDescriptorSet() override; + DescriptorSetLayout *createDescriptorSetLayout() override; + PipelineLayout * createPipelineLayout() override; + PipelineState * createPipelineState() override; + GlobalBarrier * createGlobalBarrier() override; + TextureBarrier * createTextureBarrier() override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; void destroySwapchain(); bool checkSwapchainStatus(); @@ -142,5 +149,3 @@ private: } // namespace gfx } // namespace cc - -#endif // CC_GFXVULKAN_DEVICE_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp index b272a8bc40..20b509db40 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp @@ -34,18 +34,14 @@ namespace cc { namespace gfx { -CCVKFramebuffer::CCVKFramebuffer(Device *device) -: Framebuffer(device) { +CCVKFramebuffer::CCVKFramebuffer() +: Framebuffer() { } CCVKFramebuffer::~CCVKFramebuffer() { } -bool CCVKFramebuffer::initialize(const FramebufferInfo &info) { - _renderPass = info.renderPass; - _colorTextures = info.colorTextures; - _depthStencilTexture = info.depthStencilTexture; - +void CCVKFramebuffer::doInit(const FramebufferInfo &info) { _gpuFBO = CC_NEW(CCVKGPUFramebuffer); _gpuFBO->gpuRenderPass = ((CCVKRenderPass *)_renderPass)->gpuRenderPass(); @@ -61,14 +57,12 @@ bool CCVKFramebuffer::initialize(const FramebufferInfo &info) { _gpuFBO->gpuDepthStencilView = ((CCVKTexture *)_depthStencilTexture)->gpuTextureView(); } - CCVKCmdFuncCreateFramebuffer((CCVKDevice *)_device, _gpuFBO); - - return true; + CCVKCmdFuncCreateFramebuffer(CCVKDevice::getInstance(), _gpuFBO); } -void CCVKFramebuffer::destroy() { +void CCVKFramebuffer::doDestroy() { if (_gpuFBO) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuFBO); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuFBO); _gpuFBO = nullptr; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h index 6bc1b92a17..8dca815263 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_FRAMEBUFFER_H_ -#define CC_GFXVULKAN_FRAMEBUFFER_H_ +#pragma once #include "gfx-base/GFXFramebuffer.h" @@ -35,20 +34,17 @@ class CCVKGPUFramebuffer; class CC_VULKAN_API CCVKFramebuffer final : public Framebuffer { public: - CCVKFramebuffer(Device *device); + CCVKFramebuffer(); ~CCVKFramebuffer() override; -public: - bool initialize(const FramebufferInfo &info); - void destroy(); - CC_INLINE CCVKGPUFramebuffer *gpuFBO() const { return _gpuFBO; } -private: +protected: + void doInit(const FramebufferInfo &info) override; + void doDestroy() override; + CCVKGPUFramebuffer *_gpuFBO = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 11b753f61c..bd03728257 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_GPU_OBJECTS_H_ -#define CC_GFXVULKAN_GPU_OBJECTS_H_ +#pragma once #include "VKUtils.h" @@ -1243,5 +1242,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp index 44b1e44a42..122fd275c5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp @@ -31,17 +31,15 @@ namespace cc { namespace gfx { -CCVKGlobalBarrier::CCVKGlobalBarrier(Device *device) -: GlobalBarrier(device) { +CCVKGlobalBarrier::CCVKGlobalBarrier() +: GlobalBarrier() { } CCVKGlobalBarrier::~CCVKGlobalBarrier() { CC_SAFE_DELETE(_gpuBarrier); } -bool CCVKGlobalBarrier::initialize(const GlobalBarrierInfo &info) { - _info = info; - +void CCVKGlobalBarrier::doInit(const GlobalBarrierInfo &info) { _gpuBarrier = CC_NEW(CCVKGPUGlobalBarrier); _gpuBarrier->accessTypes.resize(info.prevAccesses.size() + info.nextAccesses.size()); @@ -59,8 +57,6 @@ bool CCVKGlobalBarrier::initialize(const GlobalBarrierInfo &info) { _gpuBarrier->barrier.pNextAccesses = _gpuBarrier->accessTypes.data() + info.prevAccesses.size(); thsvsGetVulkanMemoryBarrier(_gpuBarrier->barrier, &_gpuBarrier->srcStageMask, &_gpuBarrier->dstStageMask, &_gpuBarrier->vkBarrier); - - return true; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h index 7c721a61b4..ee9cf2ecc3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.h @@ -35,13 +35,13 @@ class CCVKGPUGlobalBarrier; class CC_DLL CCVKGlobalBarrier : public GlobalBarrier { public: - CCVKGlobalBarrier(Device *device); + CCVKGlobalBarrier(); ~CCVKGlobalBarrier(); CC_INLINE const CCVKGPUGlobalBarrier *gpuBarrier() const { return _gpuBarrier; } protected: - bool initialize(const GlobalBarrierInfo &info) override; + void doInit(const GlobalBarrierInfo &info) override; CCVKGPUGlobalBarrier *_gpuBarrier = nullptr; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp index 7fbf2f50fb..c728a2746c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp @@ -33,29 +33,16 @@ namespace cc { namespace gfx { -CCVKInputAssembler::CCVKInputAssembler(Device *device) -: InputAssembler(device) { +CCVKInputAssembler::CCVKInputAssembler() +: InputAssembler() { } CCVKInputAssembler::~CCVKInputAssembler() { } -bool CCVKInputAssembler::initialize(const InputAssemblerInfo &info) { - _attributes = info.attributes; - _vertexBuffers = info.vertexBuffers; - _indexBuffer = info.indexBuffer; - _indirectBuffer = info.indirectBuffer; +void CCVKInputAssembler::doInit(const InputAssemblerInfo &info) { size_t vbCount = _vertexBuffers.size(); - if (_indexBuffer) { - _indexCount = _indexBuffer->getCount(); - _firstIndex = 0; - } else if (_vertexBuffers.size()) { - _vertexCount = _vertexBuffers[0]->getCount(); - _firstVertex = 0; - _vertexOffset = 0; - } - _gpuInputAssembler = CC_NEW(CCVKGPUInputAssembler); _gpuInputAssembler->attributes = _attributes; _gpuInputAssembler->gpuVertexBuffers.resize(vbCount); @@ -80,13 +67,9 @@ bool CCVKInputAssembler::initialize(const InputAssemblerInfo &info) { _gpuInputAssembler->vertexBuffers[i] = _gpuInputAssembler->gpuVertexBuffers[i]->vkBuffer; _gpuInputAssembler->vertexBufferOffsets[i] = _gpuInputAssembler->gpuVertexBuffers[i]->startOffset; } - - _attributesHash = computeAttributesHash(); - - return true; } -void CCVKInputAssembler::destroy() { +void CCVKInputAssembler::doDestroy() { if (_gpuInputAssembler) { _gpuInputAssembler->vertexBuffers.clear(); _gpuInputAssembler->vertexBufferOffsets.clear(); diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h index 2b6230f331..ddb2498516 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_INPUT_ASSEMBLER_H_ -#define CC_GFXVULKAN_INPUT_ASSEMBLER_H_ +#pragma once #include "gfx-base/GFXInputAssembler.h" @@ -35,20 +34,17 @@ class CCVKGPUInputAssembler; class CC_VULKAN_API CCVKInputAssembler final : public InputAssembler { public: - CCVKInputAssembler(Device *device); + CCVKInputAssembler(); ~CCVKInputAssembler(); -public: - bool initialize(const InputAssemblerInfo &info); - void destroy(); - CC_INLINE CCVKGPUInputAssembler *gpuInputAssembler() const { return _gpuInputAssembler; } -private: +protected: + void doInit(const InputAssemblerInfo &info) override; + void doDestroy() override; + CCVKGPUInputAssembler *_gpuInputAssembler = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp index b96af66907..71bfc1c632 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp @@ -33,17 +33,14 @@ namespace cc { namespace gfx { -CCVKPipelineLayout::CCVKPipelineLayout(Device *device) -: PipelineLayout(device) { +CCVKPipelineLayout::CCVKPipelineLayout() +: PipelineLayout() { } CCVKPipelineLayout::~CCVKPipelineLayout() { } -bool CCVKPipelineLayout::initialize(const PipelineLayoutInfo &info) { - - _setLayouts = info.setLayouts; - +void CCVKPipelineLayout::doInit(const PipelineLayoutInfo &info) { _gpuPipelineLayout = CC_NEW(CCVKGPUPipelineLayout); int offset = 0u; @@ -59,15 +56,12 @@ bool CCVKPipelineLayout::initialize(const PipelineLayoutInfo &info) { _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->dynamicOffsetCount = offset; - CCVKCmdFuncCreatePipelineLayout((CCVKDevice *)_device, _gpuPipelineLayout); - - return true; + CCVKCmdFuncCreatePipelineLayout(CCVKDevice::getInstance(), _gpuPipelineLayout); } -void CCVKPipelineLayout::destroy() { - +void CCVKPipelineLayout::doDestroy() { if (_gpuPipelineLayout) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuPipelineLayout); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuPipelineLayout); _gpuPipelineLayout = nullptr; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h index c9578f3a7c..2162d8e7a5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.h @@ -35,16 +35,15 @@ class CCVKGPUPipelineLayout; class CC_VULKAN_API CCVKPipelineLayout final : public PipelineLayout { public: - CCVKPipelineLayout(Device *device); + CCVKPipelineLayout(); ~CCVKPipelineLayout(); -public: - virtual bool initialize(const PipelineLayoutInfo &info) override; - virtual void destroy() override; - CC_INLINE CCVKGPUPipelineLayout *gpuPipelineLayout() const { return _gpuPipelineLayout; } -private: +protected: + void doInit(const PipelineLayoutInfo &info) override; + void doDestroy() override; + CCVKGPUPipelineLayout *_gpuPipelineLayout = nullptr; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index 25802d90be..de875ff53f 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -35,25 +35,14 @@ namespace cc { namespace gfx { -CCVKPipelineState::CCVKPipelineState(Device *device) -: PipelineState(device) { +CCVKPipelineState::CCVKPipelineState() +: PipelineState() { } CCVKPipelineState::~CCVKPipelineState() { } -bool CCVKPipelineState::initialize(const PipelineStateInfo &info) { - _primitive = info.primitive; - _shader = info.shader; - _inputState = info.inputState; - _rasterizerState = info.rasterizerState; - _depthStencilState = info.depthStencilState; - _bindPoint = info.bindPoint; - _blendState = info.blendState; - _dynamicStates = info.dynamicStates; - _renderPass = info.renderPass; - _pipelineLayout = info.pipelineLayout; - +void CCVKPipelineState::doInit(const PipelineStateInfo &info) { _gpuPipelineState = CC_NEW(CCVKGPUPipelineState); _gpuPipelineState->bindPoint = _bindPoint; _gpuPipelineState->primitive = _primitive; @@ -72,17 +61,15 @@ bool CCVKPipelineState::initialize(const PipelineStateInfo &info) { } if (_bindPoint == PipelineBindPoint::GRAPHICS) { - CCVKCmdFuncCreateGraphicsPipelineState((CCVKDevice *)_device, _gpuPipelineState); + CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice::getInstance(), _gpuPipelineState); } else { - CCVKCmdFuncCreateComputePipelineState((CCVKDevice *)_device, _gpuPipelineState); + CCVKCmdFuncCreateComputePipelineState(CCVKDevice::getInstance(), _gpuPipelineState); } - - return true; } -void CCVKPipelineState::destroy() { +void CCVKPipelineState::doDestroy() { if (_gpuPipelineState) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuPipelineState); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuPipelineState); _gpuPipelineState = nullptr; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h index bdc4acfdd1..9b5a8529c4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.h +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_PIPELINE_STATE_H_ -#define CC_GFXVULKAN_PIPELINE_STATE_H_ +#pragma once #include "gfx-base/GFXPipelineState.h" @@ -35,20 +34,17 @@ class CCVKGPUPipelineState; class CC_VULKAN_API CCVKPipelineState final : public PipelineState { public: - CCVKPipelineState(Device *device); + CCVKPipelineState(); ~CCVKPipelineState(); -public: - bool initialize(const PipelineStateInfo &info); - void destroy(); - CC_INLINE CCVKGPUPipelineState *gpuPipelineState() const { return _gpuPipelineState; } -private: +protected: + void doInit(const PipelineStateInfo &info) override; + void doDestroy() override; + CCVKGPUPipelineState *_gpuPipelineState = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 084ddbd3fc..2cd172584b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -33,24 +33,20 @@ namespace cc { namespace gfx { -CCVKQueue::CCVKQueue(Device *device) -: Queue(device) { +CCVKQueue::CCVKQueue() +: Queue() { } CCVKQueue::~CCVKQueue() { } -bool CCVKQueue::initialize(const QueueInfo &info) { - _type = info.type; - +void CCVKQueue::doInit(const QueueInfo &info) { _gpuQueue = CC_NEW(CCVKGPUQueue); _gpuQueue->type = _type; - CCVKCmdFuncGetDeviceQueue((CCVKDevice *)_device, _gpuQueue); - - return true; + CCVKCmdFuncGetDeviceQueue(CCVKDevice::getInstance(), _gpuQueue); } -void CCVKQueue::destroy() { +void CCVKQueue::doDestroy() { if (_gpuQueue) { _gpuQueue->vkQueue = VK_NULL_HANDLE; CC_DELETE(_gpuQueue); @@ -59,7 +55,7 @@ void CCVKQueue::destroy() { } void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { - CCVKDevice *device = (CCVKDevice *)_device; + CCVKDevice *device = CCVKDevice::getInstance(); _gpuQueue->commandBuffers.clear(); #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.h b/native/cocos/renderer/gfx-vulkan/VKQueue.h index 227af9e50f..0bbb364a79 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.h +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_QUEUE_H_ -#define CC_GFXVULKAN_QUEUE_H_ +#pragma once #include "gfx-base/GFXQueue.h" @@ -35,18 +34,19 @@ class CCVKGPUQueue; class CC_VULKAN_API CCVKQueue final : public Queue { public: - CCVKQueue(Device *device); + CCVKQueue(); ~CCVKQueue(); - friend class CCVKDevice; - - bool initialize(const QueueInfo &info); - void destroy(); - void submit(CommandBuffer *const *cmdBuffs, uint count); + void submit(CommandBuffer *const *cmdBuffs, uint count) override; CC_INLINE CCVKGPUQueue *gpuQueue() const { return _gpuQueue; } -private: +protected: + friend class CCVKDevice; + + void doInit(const QueueInfo &info) override; + void doDestroy() override; + CCVKGPUQueue *_gpuQueue = nullptr; uint _numDrawCalls = 0; @@ -56,5 +56,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index 96b8777d12..f173c66265 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -32,32 +32,24 @@ namespace cc { namespace gfx { -CCVKRenderPass::CCVKRenderPass(Device *device) -: RenderPass(device) { +CCVKRenderPass::CCVKRenderPass() +: RenderPass() { } CCVKRenderPass::~CCVKRenderPass() { } -bool CCVKRenderPass::initialize(const RenderPassInfo &info) { - _colorAttachments = info.colorAttachments; - _depthStencilAttachment = info.depthStencilAttachment; - _subpasses = info.subpasses; - +void CCVKRenderPass::doInit(const RenderPassInfo &info) { _gpuRenderPass = CC_NEW(CCVKGPURenderPass); _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; _gpuRenderPass->subpasses = _subpasses; - CCVKCmdFuncCreateRenderPass((CCVKDevice *)_device, _gpuRenderPass); - - _hash = computeHash(); - - return true; + CCVKCmdFuncCreateRenderPass(CCVKDevice::getInstance(), _gpuRenderPass); } -void CCVKRenderPass::destroy() { +void CCVKRenderPass::doDestroy() { if (_gpuRenderPass) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuRenderPass); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuRenderPass); _gpuRenderPass = nullptr; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h index bc95cdfe7c..1574c5384b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.h +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_RENDER_PASS_H_ -#define CC_GFXVULKAN_RENDER_PASS_H_ +#pragma once #include "gfx-base/GFXRenderPass.h" @@ -35,20 +34,17 @@ class CCVKGPURenderPass; class CC_VULKAN_API CCVKRenderPass final : public RenderPass { public: - CCVKRenderPass(Device *device); + CCVKRenderPass(); ~CCVKRenderPass(); -public: - bool initialize(const RenderPassInfo &info); - void destroy(); - CC_INLINE CCVKGPURenderPass *gpuRenderPass() const { return _gpuRenderPass; } -private: +protected: + void doInit(const RenderPassInfo &info) override; + void doDestroy() override; + CCVKGPURenderPass *_gpuRenderPass = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKSPIRV.h b/native/cocos/renderer/gfx-vulkan/VKSPIRV.h index 44a04c4cce..923a4a777a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSPIRV.h +++ b/native/cocos/renderer/gfx-vulkan/VKSPIRV.h @@ -23,10 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_SPIRV_H_ -#define CC_GFXVULKAN_SPIRV_H_ +#pragma once -#include "SPIRV/GlslangToSpv.h" +#include "glslang/SPIRV/GlslangToSpv.h" #include "glslang/Public/ShaderLang.h" #include "StandAlone/ResourceLimits.h" @@ -119,5 +118,3 @@ const vector GLSL2SPIRV(ShaderStageFlagBit type, const String &sou } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp index cf887131ef..04bdff58e7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp @@ -32,25 +32,14 @@ namespace cc { namespace gfx { -CCVKSampler::CCVKSampler(Device *device) -: Sampler(device) { +CCVKSampler::CCVKSampler() +: Sampler() { } CCVKSampler::~CCVKSampler() { } -bool CCVKSampler::initialize(const SamplerInfo &info) { - _minFilter = info.minFilter; - _magFilter = info.magFilter; - _mipFilter = info.mipFilter; - _addressU = info.addressU; - _addressV = info.addressV; - _addressW = info.addressW; - _maxAnisotropy = info.maxAnisotropy; - _cmpFunc = info.cmpFunc; - _borderColor = info.borderColor; - _mipLODBias = info.mipLODBias; - +void CCVKSampler::doInit(const SamplerInfo &info) { _gpuSampler = CC_NEW(CCVKGPUSampler); _gpuSampler->minFilter = _minFilter; _gpuSampler->magFilter = _magFilter; @@ -63,15 +52,13 @@ bool CCVKSampler::initialize(const SamplerInfo &info) { _gpuSampler->borderColor = _borderColor; _gpuSampler->mipLODBias = _mipLODBias; - CCVKCmdFuncCreateSampler((CCVKDevice *)_device, _gpuSampler); - - return true; + CCVKCmdFuncCreateSampler(CCVKDevice::getInstance(), _gpuSampler); } -void CCVKSampler::destroy() { +void CCVKSampler::doDestroy() { if (_gpuSampler) { - ((CCVKDevice *)_device)->gpuDescriptorHub()->disengage(_gpuSampler); - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuSampler); + CCVKDevice::getInstance()->gpuDescriptorHub()->disengage(_gpuSampler); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuSampler); _gpuSampler = nullptr; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.h b/native/cocos/renderer/gfx-vulkan/VKSampler.h index a9bb24f67f..0dd10b9124 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.h +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_SAMPLER_H_ -#define CC_GFXVULKAN_SAMPLER_H_ +#pragma once #include "gfx-base/GFXSampler.h" @@ -35,20 +34,17 @@ class CCVKGPUSampler; class CC_VULKAN_API CCVKSampler final : public Sampler { public: - CCVKSampler(Device *device); + CCVKSampler(); ~CCVKSampler(); -public: - bool initialize(const SamplerInfo &info); - void destroy(); - CC_INLINE CCVKGPUSampler *gpuSampler() const { return _gpuSampler; } -private: +protected: + void doInit(const SamplerInfo &info) override; + void doDestroy() override; + CCVKGPUSampler *_gpuSampler = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.cpp b/native/cocos/renderer/gfx-vulkan/VKShader.cpp index dac5704e92..4d0d2e8208 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKShader.cpp @@ -32,21 +32,14 @@ namespace cc { namespace gfx { -CCVKShader::CCVKShader(Device *device) -: Shader(device) { +CCVKShader::CCVKShader() +: Shader() { } CCVKShader::~CCVKShader() { } -bool CCVKShader::initialize(const ShaderInfo &info) { - _name = info.name; - _stages = info.stages; - _attributes = info.attributes; - _blocks = info.blocks; - _buffers = info.buffers; - _samplers = info.samplers; - +void CCVKShader::doInit(const ShaderInfo &info) { _gpuShader = CC_NEW(CCVKGPUShader); _gpuShader->name = _name; _gpuShader->attributes = _attributes; @@ -56,14 +49,12 @@ bool CCVKShader::initialize(const ShaderInfo &info) { _gpuShader->gpuStages.push_back({stage.stage, stage.source}); } - CCVKCmdFuncCreateShader((CCVKDevice *)_device, _gpuShader); - - return true; + CCVKCmdFuncCreateShader(CCVKDevice::getInstance(), _gpuShader); } -void CCVKShader::destroy() { +void CCVKShader::doDestroy() { if (_gpuShader) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuShader); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuShader); _gpuShader = nullptr; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.h b/native/cocos/renderer/gfx-vulkan/VKShader.h index 08370fcf58..144598e628 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.h +++ b/native/cocos/renderer/gfx-vulkan/VKShader.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_SHADER_H_ -#define CC_GFXVULKAN_SHADER_H_ +#pragma once #include "gfx-base/GFXShader.h" @@ -35,20 +34,17 @@ class CCVKGPUShader; class CC_VULKAN_API CCVKShader final : public Shader { public: - CCVKShader(Device *device); + CCVKShader(); ~CCVKShader(); -public: - bool initialize(const ShaderInfo &info); - void destroy(); - CC_INLINE CCVKGPUShader *gpuShader() const { return _gpuShader; } -private: +protected: + void doInit(const ShaderInfo &info) override; + void doDestroy() override; + CCVKGPUShader *_gpuShader = nullptr; }; } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index d64d4db16d..73f4f83bf2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -33,65 +33,14 @@ namespace cc { namespace gfx { -CCVKTexture::CCVKTexture(Device *device) -: Texture(device) { +CCVKTexture::CCVKTexture() +: Texture() { } CCVKTexture::~CCVKTexture() { } -bool CCVKTexture::initialize(const TextureInfo &info) { - _type = info.type; - _usage = info.usage; - _format = info.format; - _width = info.width; - _height = info.height; - _depth = info.depth; - _layerCount = info.layerCount; - _levelCount = info.levelCount; - _samples = info.samples; - _flags = info.flags; - _size = FormatSize(_format, _width, _height, _depth); - -#if CC_DEBUG > 0 - switch (_format) { // device feature validation - case Format::D16: - if (_device->hasFeature(Feature::FORMAT_D16)) break; - CC_LOG_ERROR("D16 texture format is not supported on this backend"); - return false; - case Format::D16S8: - if (_device->hasFeature(Feature::FORMAT_D16S8)) break; - CC_LOG_WARNING("D16S8 texture format is not supported on this backend"); - return false; - case Format::D24: - if (_device->hasFeature(Feature::FORMAT_D24)) break; - CC_LOG_WARNING("D24 texture format is not supported on this backend"); - return false; - case Format::D24S8: - if (_device->hasFeature(Feature::FORMAT_D24S8)) break; - CC_LOG_WARNING("D24S8 texture format is not supported on this backend"); - return false; - case Format::D32F: - if (_device->hasFeature(Feature::FORMAT_D32F)) break; - CC_LOG_WARNING("D32F texture format is not supported on this backend"); - return false; - case Format::D32F_S8: - if (_device->hasFeature(Feature::FORMAT_D32FS8)) break; - CC_LOG_WARNING("D32FS8 texture format is not supported on this backend"); - return false; - case Format::RGB8: - if (_device->hasFeature(Feature::FORMAT_RGB8)) break; - CC_LOG_WARNING("RGB8 texture format is not supported on this backend"); - return false; - default: break; - } -#endif - - if (_flags & TextureFlags::BAKUP_BUFFER) { - _buffer = (uint8_t *)CC_MALLOC(_size); - _device->getMemoryStatus().textureSize += _size; - } - +void CCVKTexture::doInit(const TextureInfo &info) { _gpuTexture = CC_NEW(CCVKGPUTexture); _gpuTexture->type = _type; _gpuTexture->format = _format; @@ -106,42 +55,17 @@ bool CCVKTexture::initialize(const TextureInfo &info) { _gpuTexture->flags = _flags; _gpuTexture->isPowerOf2 = math::IsPowerOfTwo(_width) && math::IsPowerOfTwo(_height); - CCVKCmdFuncCreateTexture((CCVKDevice *)_device, _gpuTexture); - _device->getMemoryStatus().textureSize += _size; + CCVKCmdFuncCreateTexture(CCVKDevice::getInstance(), _gpuTexture); _gpuTextureView = CC_NEW(CCVKGPUTextureView); createTextureView(); - - return true; } -bool CCVKTexture::initialize(const TextureViewInfo &info) { - _isTextureView = true; - - if (!info.texture) { - return false; - } - - _type = info.texture->getType(); - _format = info.format; - _baseLayer = info.baseLayer; - _layerCount = info.layerCount; - _baseLevel = info.baseLevel; - _levelCount = info.levelCount; - _usage = info.texture->getUsage(); - _width = info.texture->getWidth(); - _height = info.texture->getHeight(); - _depth = info.texture->getDepth(); - _samples = info.texture->getSamples(); - _flags = info.texture->getFlags(); - _size = FormatSize(_format, _width, _height, _depth); - +void CCVKTexture::doInit(const TextureViewInfo &info) { _gpuTexture = ((CCVKTexture *)info.texture)->gpuTexture(); _gpuTextureView = CC_NEW(CCVKGPUTextureView); createTextureView(); - - return true; } void CCVKTexture::createTextureView() { @@ -152,67 +76,34 @@ void CCVKTexture::createTextureView() { _gpuTextureView->levelCount = _levelCount; _gpuTextureView->baseLayer = _baseLayer; _gpuTextureView->layerCount = _layerCount; - CCVKCmdFuncCreateTextureView((CCVKDevice *)_device, _gpuTextureView); + CCVKCmdFuncCreateTextureView(CCVKDevice::getInstance(), _gpuTextureView); } -void CCVKTexture::destroy() { +void CCVKTexture::doDestroy() { if (_gpuTextureView) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuTextureView); - ((CCVKDevice *)_device)->gpuDescriptorHub()->disengage(_gpuTextureView); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuTextureView); + CCVKDevice::getInstance()->gpuDescriptorHub()->disengage(_gpuTextureView); CC_DELETE(_gpuTextureView); _gpuTextureView = nullptr; } if (_gpuTexture) { if (!_isTextureView) { - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuTexture); - ((CCVKDevice *)_device)->gpuBarrierManager()->cancel(_gpuTexture); - _device->getMemoryStatus().textureSize -= _size; + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuTexture); + CCVKDevice::getInstance()->gpuBarrierManager()->cancel(_gpuTexture); CC_DELETE(_gpuTexture); } _gpuTexture = nullptr; } - - if (_buffer) { - CC_FREE(_buffer); - _device->getMemoryStatus().textureSize -= _size; - _buffer = nullptr; - } } -void CCVKTexture::resize(uint width, uint height) { - CCASSERT(!_isTextureView, "Cannot resize texture views"); +void CCVKTexture::doResize(uint width, uint height) { + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuTextureView); + CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuTexture); - if (_width != width || _height != height) { - uint size = FormatSize(_format, width, height, _depth); - const uint old_size = _size; - _width = width; - _height = height; - _size = size; + CCVKCmdFuncCreateTexture(CCVKDevice::getInstance(), _gpuTexture); - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuTextureView); - ((CCVKDevice *)_device)->gpuRecycleBin()->collect(_gpuTexture); - - MemoryStatus &status = _device->getMemoryStatus(); - _gpuTexture->width = _width; - _gpuTexture->height = _height; - _gpuTexture->size = _size; - - CCVKCmdFuncCreateTexture((CCVKDevice *)_device, _gpuTexture); - status.bufferSize -= old_size; - status.bufferSize += _size; - - CCVKCmdFuncCreateTextureView((CCVKDevice *)_device, _gpuTextureView); - - if (_buffer) { - const uint8_t *old_buff = _buffer; - _buffer = (uint8_t *)CC_MALLOC(_size); - memcpy(_buffer, old_buff, old_size); - CC_FREE(_buffer); - status.bufferSize -= old_size; - status.bufferSize += _size; - } - } + CCVKCmdFuncCreateTextureView(CCVKDevice::getInstance(), _gpuTextureView); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.h b/native/cocos/renderer/gfx-vulkan/VKTexture.h index cf55faa24e..a6e7b98cc6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.h +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_TEXTURE_H_ -#define CC_GFXVULKAN_TEXTURE_H_ +#pragma once #include "gfx-base/GFXTexture.h" @@ -36,19 +35,18 @@ class CCVKGPUTextureView; class CC_VULKAN_API CCVKTexture final : public Texture { public: - CCVKTexture(Device *device); + CCVKTexture(); ~CCVKTexture(); -public: - bool initialize(const TextureInfo &info); - bool initialize(const TextureViewInfo &info); - void destroy(); - void resize(uint width, uint height); - CC_INLINE CCVKGPUTexture *gpuTexture() const { return _gpuTexture; } CC_INLINE CCVKGPUTextureView *gpuTextureView() const { return _gpuTextureView; } -private: +protected: + void doInit(const TextureInfo &info) override; + void doInit(const TextureViewInfo &info) override; + void doDestroy() override; + void doResize(uint width, uint height) override; + void createTextureView(); CCVKGPUTexture *_gpuTexture = nullptr; @@ -57,5 +55,3 @@ private: } // namespace gfx } // namespace cc - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp index 632d998f6e..13c836ca7c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp @@ -32,17 +32,15 @@ namespace cc { namespace gfx { -CCVKTextureBarrier::CCVKTextureBarrier(Device *device) -: TextureBarrier(device) { +CCVKTextureBarrier::CCVKTextureBarrier() +: TextureBarrier() { } CCVKTextureBarrier::~CCVKTextureBarrier() { CC_SAFE_DELETE(_gpuBarrier); } -bool CCVKTextureBarrier::initialize(const TextureBarrierInfo &info) { - _info = info; - +void CCVKTextureBarrier::doInit(const TextureBarrierInfo &info) { _gpuBarrier = CC_NEW(CCVKGPUTextureBarrier); _gpuBarrier->accessTypes.resize(info.prevAccesses.size() + info.nextAccesses.size()); @@ -73,8 +71,6 @@ bool CCVKTextureBarrier::initialize(const TextureBarrierInfo &info) { : VK_QUEUE_FAMILY_IGNORED; thsvsGetVulkanImageMemoryBarrier(_gpuBarrier->barrier, &_gpuBarrier->srcStageMask, &_gpuBarrier->dstStageMask, &_gpuBarrier->vkBarrier); - - return true; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h index fee1a62a41..7e1fcb75e4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.h @@ -35,13 +35,13 @@ class CCVKGPUTextureBarrier; class CC_DLL CCVKTextureBarrier : public TextureBarrier { public: - CCVKTextureBarrier(Device *device); + CCVKTextureBarrier(); ~CCVKTextureBarrier(); CC_INLINE const CCVKGPUTextureBarrier *gpuBarrier() const { return _gpuBarrier; } protected: - bool initialize(const TextureBarrierInfo &info) override; + void doInit(const TextureBarrierInfo &info) override; CCVKGPUTextureBarrier *_gpuBarrier = nullptr; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 6823982656..f59a4e1304 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_UTILS_H_ -#define CC_GFXVULKAN_UTILS_H_ +#pragma once #define WIN32_LEAN_AND_MEAN @@ -598,9 +597,7 @@ void fullPipelineBarrier(VkCommandBuffer cmdBuff) { memoryBarrier.srcAccessMask = FULL_ACCESS_FLAGS; memoryBarrier.dstAccessMask = FULL_ACCESS_FLAGS; vkCmdPipelineBarrier(cmdBuff, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, - 0, 1, &memoryBarrier, 0, nullptr, 0, nullptr); -#endif -} + 0, 1, &memoryBarrier, 0, nullptr, 0, nullptr);} template char (*countofHelper(T (&_Array)[Size]))[Size]; diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index 022d4e5634..cea5c5c85b 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -30,10 +30,23 @@ namespace cc { namespace pipeline { + +int GLOBAL_UBO_COUNT = static_cast(PipelineGlobalBindings::SAMPLER_SHADOWMAP); +int GLOBAL_SAMPLER_COUNT = static_cast(PipelineGlobalBindings::COUNT) - GLOBAL_UBO_COUNT; + +int LOCAL_UBO_COUNT = static_cast(ModelLocalBindings::SAMPLER_JOINTS); +int LOCAL_SAMPLER_COUNT = static_cast(ModelLocalBindings::COUNT) - LOCAL_UBO_COUNT; + uint GLOBAL_SET = static_cast(SetIndex::GLOBAL); uint MATERIAL_SET = static_cast(SetIndex::MATERIAL); uint LOCAL_SET = static_cast(SetIndex::LOCAL); +gfx::BindingMappingInfo bindingMappingInfo = { + {0, GLOBAL_UBO_COUNT + LOCAL_UBO_COUNT, GLOBAL_UBO_COUNT}, + {-GLOBAL_UBO_COUNT, GLOBAL_SAMPLER_COUNT + LOCAL_SAMPLER_COUNT, GLOBAL_SAMPLER_COUNT - LOCAL_UBO_COUNT}, + 1, +}; + DescriptorSetLayoutInfos globalDescriptorSetLayout; DescriptorSetLayoutInfos localDescriptorSetLayout; const String UBOGlobal::NAME = "CCGlobal"; diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index 018c3594c3..f395f68215 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -27,8 +27,8 @@ #include -#include "base/Value.h" #include "base/Object.h" +#include "base/Value.h" #include "gfx-base/GFXDef.h" namespace cc { @@ -189,6 +189,9 @@ enum class CC_DLL PipelineGlobalBindings { COUNT, }; +extern CC_DLL int GLOBAL_UBO_COUNT; +extern CC_DLL int GLOBAL_SAMPLER_COUNT; + enum class CC_DLL ModelLocalBindings { UBO_LOCAL, UBO_FORWARD_LIGHTS, @@ -206,6 +209,21 @@ enum class CC_DLL ModelLocalBindings { COUNT, }; +extern CC_DLL int LOCAL_UBO_COUNT; +extern CC_DLL int LOCAL_SAMPLER_COUNT; + +enum class CC_DLL SetIndex { + GLOBAL, + MATERIAL, + LOCAL, +}; + +extern CC_DLL uint GLOBAL_SET; +extern CC_DLL uint MATERIAL_SET; +extern CC_DLL uint LOCAL_SET; + +extern CC_DLL gfx::BindingMappingInfo bindingMappingInfo; + struct CC_DLL UBOLocalBatched { static constexpr uint BATCHING_COUNT = 10; static constexpr uint MAT_WORLDS_OFFSET = 0; @@ -408,15 +426,7 @@ const uint CAMERA_DEFAULT_MASK = ~static_cast(LayerList::UI_2D) & ~static_ //constexpr CAMERA_DEFAULT_MASK = Layers.makeMaskExclude([Layers.BitMask.UI_2D, Layers.BitMask.GIZMOS, Layers.BitMask.EDITOR, // Layers.BitMask.SCENE_GIZMO, Layers.BitMask.PROFILER]); -uint nextPow2(uint val); -enum class CC_DLL SetIndex { - GLOBAL, - MATERIAL, - LOCAL, -}; -extern CC_DLL uint GLOBAL_SET; -extern CC_DLL uint MATERIAL_SET; -extern CC_DLL uint LOCAL_SET; +uint nextPow2(uint val); extern CC_DLL uint SKYBOX_FLAG; extern CC_DLL DescriptorSetLayoutInfos globalDescriptorSetLayout; @@ -519,5 +529,6 @@ struct CC_DLL SPRITE_TEXTURE : public Object { static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; + } // namespace pipeline } // namespace cc diff --git a/native/tools/gfx-define-generator/generate.js b/native/tools/gfx-define-generator/generate.js index 61645c40b2..8706bfc549 100644 --- a/native/tools/gfx-define-generator/generate.js +++ b/native/tools/gfx-define-generator/generate.js @@ -37,7 +37,7 @@ if (options.engineRoot) { // TODO: remove this after state info refactor const ignoreList = { PipelineStateInfo: true, BlendTarget: true, BlendState: true, DepthStencilState: true, RasterizerState: true }; -let header = fs.readFileSync(`${__dirname}/../../cocos/renderer/core/gfx/GFXDef-common.h`).toString(); +let header = fs.readFileSync(ps.join(__dirname, '/../../cocos/renderer/gfx-base/GFXDef-common.h')).toString(); header = header.replace(/\r\n/g, '\n'); const enumRE = /enum\s+class\s+(\w+).*?{\s*?\n(.+?)};/gs; diff --git a/native/tools/tojs/genbindings.py b/native/tools/tojs/genbindings.py index 107d113425..a25b6e916f 100755 --- a/native/tools/tojs/genbindings.py +++ b/native/tools/tojs/genbindings.py @@ -144,37 +144,34 @@ def main(): output_dir = '%s/cocos/bindings/auto' % project_root cmd_args = { - 'cocos.ini' : ('cocos', 'jsb_cocos_auto'), - 'video.ini': ('video', 'jsb_video_auto'), - 'webview.ini': ('webview', 'jsb_webview_auto'), - 'audio.ini' : ('audio', 'jsb_audio_auto'), - 'extension.ini' : ('extension', 'jsb_extension_auto'), - 'network.ini' : ('network', 'jsb_network_auto'), - 'gfx.ini': ('gfx', 'jsb_gfx_auto'), - 'gles2.ini': ('gles2', 'jsb_gles2_auto'), - 'gles3.ini': ('gles3', 'jsb_gles3_auto'), - 'metal.ini': ('metal', 'jsb_mtl_auto'), - 'vulkan.ini': ('vulkan', 'jsb_vk_auto'), - 'pipeline.ini': ('pipeline', 'jsb_pipeline_auto'), - 'spine.ini': ('spine','jsb_spine_auto'), - 'editor_support.ini': ('editor_support','jsb_editor_support_auto'), - 'dragonbones.ini': ('dragonbones','jsb_dragonbones_auto') - } + 'cocos.ini' : ('cocos', 'jsb_cocos_auto'), + 'video.ini': ('video', 'jsb_video_auto'), + 'webview.ini': ('webview', 'jsb_webview_auto'), + 'audio.ini' : ('audio', 'jsb_audio_auto'), + 'extension.ini' : ('extension', 'jsb_extension_auto'), + 'network.ini' : ('network', 'jsb_network_auto'), + 'gfx.ini': ('gfx', 'jsb_gfx_auto'), + 'pipeline.ini': ('pipeline', 'jsb_pipeline_auto'), + 'spine.ini': ('spine','jsb_spine_auto'), + 'editor_support.ini': ('editor_support','jsb_editor_support_auto'), + 'dragonbones.ini': ('dragonbones','jsb_dragonbones_auto') + } + target = 'spidermonkey' generator_py = '%s/generator.py' % cxx_generator_root tasks = [] for key in cmd_args.keys(): - args = cmd_args[key] - cfg = '%s/%s' % (tojs_root, key) - print '!!----------Generating bindings for %s----------!!' % (key[:-4]) - command = '%s -W ignore %s %s -s %s -t %s -o %s -n %s' % (python_bin, generator_py, cfg, args[0], target, output_dir, args[1]) - # tasks.append(_run_cmd(command)) - _run_cmd(command).communicate() + if len(sys.argv) <= 1 or any(key[:-4] in s for s in sys.argv[1:]): + args = cmd_args[key] + cfg = '%s/%s' % (tojs_root, key) + print '!!----------Generating bindings for %s----------!!' % (key[:-4]) + command = '%s -W ignore %s %s -s %s -t %s -o %s -n %s' % (python_bin, generator_py, cfg, args[0], target, output_dir, args[1]) + # tasks.append(_run_cmd(command)) + _run_cmd(command).communicate() # for t in tasks: # t.communicate() - print '----------------------------------------' print 'Generating javascript bindings succeeds.' print '----------------------------------------' diff --git a/native/tools/tojs/gfx.ini b/native/tools/tojs/gfx.ini index 59ec26503d..f03e4b22d7 100644 --- a/native/tools/tojs/gfx.ini +++ b/native/tools/tojs/gfx.ini @@ -68,12 +68,12 @@ skip = Buffer::[Buffer getDevice initialize update], Sampler::[Sampler getDevice], Shader::[Shader getDevice], Texture::[Texture getDevice initialize], - Device::[copyBuffersToTexture createBuffer createTexture getInstance flushCommands$], + Device::[Device copyBuffersToTexture createBuffer createTexture getInstance flushCommands$], Context::[Context] -getter_setter = Device::[gfxAPI surfaceTransform deviceName width height nativeWidth nativeHeight memoryStatus context queue commandBuffer renderer vendor numDrawCalls numInstances numTris colorFormat depthStencilFormat capabilities], +getter_setter = Device::[gfxAPI surfaceTransform deviceName width height nativeWidth nativeHeight memoryStatus queue commandBuffer renderer vendor numDrawCalls numInstances numTris colorFormat depthStencilFormat capabilities], Shader::[name shaderID/getID stages attributes blocks samplers], - Texture::[type usage format width height depth layerCount levelCount size samples flags buffer], + Texture::[type usage format width height depth layerCount levelCount size samples flags], Queue::[type], RenderPass::[hash], PipelineState::[shader primitive bindPoint inputState rasterizerState depthStencilState blendState renderPass], From d137216360ce27000649e77c9de61f7554a2fa1e Mon Sep 17 00:00:00 2001 From: minggo Date: Fri, 19 Mar 2021 16:45:11 +0800 Subject: [PATCH 191/270] treat warning as error (#3334) --- native/CMakeLists.txt | 34 ++++++++++---------- native/cocos/platform/mac/Application-mac.mm | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 76aa51aac6..fa09e0eb88 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -527,17 +527,17 @@ endif() ##### platform cocos_source_files( - cocos/platform/Application.h - NO_WERROR cocos/platform/Application.cpp - cocos/platform/CanvasRenderingContext2D.h - cocos/platform/Device.h - NO_WERROR cocos/platform/FileUtils.cpp - cocos/platform/FileUtils.h - NO_WERROR cocos/platform/Image.cpp - cocos/platform/Image.h - NO_WERROR cocos/platform/SAXParser.cpp - cocos/platform/SAXParser.h - cocos/platform/StdC.h + cocos/platform/Application.h + cocos/platform/Application.cpp + cocos/platform/CanvasRenderingContext2D.h + cocos/platform/Device.h + cocos/platform/FileUtils.cpp + cocos/platform/FileUtils.h + cocos/platform/Image.cpp + cocos/platform/Image.h + cocos/platform/SAXParser.cpp + cocos/platform/SAXParser.h + cocos/platform/StdC.h ) if(WINDOWS) cocos_source_files( @@ -592,12 +592,12 @@ elseif(APPLE) ) if(MACOSX) cocos_source_files( - cocos/platform/mac/View.h - cocos/platform/mac/KeyCodeHelper.h - NO_WERROR cocos/platform/mac/View.mm - NO_WERROR cocos/platform/mac/Device-mac.mm - NO_WERROR cocos/platform/mac/Application-mac.mm - NO_WERROR cocos/platform/mac/KeyCodeHelper.cpp + cocos/platform/mac/View.h + cocos/platform/mac/KeyCodeHelper.h + cocos/platform/mac/View.mm + cocos/platform/mac/Device-mac.mm + cocos/platform/mac/Application-mac.mm + cocos/platform/mac/KeyCodeHelper.cpp ) elseif(IOS) cocos_source_files( diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index 0557735f6e..8c91bddf26 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -236,7 +236,7 @@ void Application::copyTextToClipboard(const std::string &text) { NSPasteboard *pasteboard = [NSPasteboard generalPasteboard]; [pasteboard clearContents]; NSString *tmp = [NSString stringWithCString:text.c_str() encoding:NSUTF8StringEncoding]; - [pasteboard setString:tmp forType:NSStringPboardType]; + [pasteboard setString:tmp forType:NSPasteboardTypeString]; } void Application::onPause() { From d940159dc136a76a5a3f057fcd5ef7dbadf103aa Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Fri, 19 Mar 2021 17:02:16 +0800 Subject: [PATCH 192/270] [ci skip][AUTO]: updating jsbinding automatically: d1372163 (#3335) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 101 ++++++++++++++++----------- 1 file changed, 61 insertions(+), 40 deletions(-) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 346366ff24..b5a951865c 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -94,6 +94,7 @@ "cocos/audio/win32/AudioMacros.h", "cocos/audio/win32/AudioPlayer.cpp", "cocos/audio/win32/AudioPlayer.h", + "cocos/base/Agent.h", "cocos/base/Array.cpp", "cocos/base/Array.h", "cocos/base/AutoreleasePool.cpp", @@ -594,6 +595,7 @@ "cocos/platform/win32/compat/stdint.h", "cocos/platform/win32/inet_pton_mingw.cpp", "cocos/platform/win32/inet_pton_mingw.h", + "cocos/renderer/GFXDeviceCreator.h", "cocos/renderer/frame-graph/Blackboard.h", "cocos/renderer/frame-graph/CallbackPass.h", "cocos/renderer/frame-graph/DevicePass.cpp", @@ -616,36 +618,35 @@ "cocos/renderer/frame-graph/ResourceNode.h", "cocos/renderer/frame-graph/VirtualResource.cpp", "cocos/renderer/frame-graph/VirtualResource.h", - "cocos/renderer/gfx-agent/GFXAgent.h", - "cocos/renderer/gfx-agent/GFXBufferAgent.cpp", - "cocos/renderer/gfx-agent/GFXBufferAgent.h", - "cocos/renderer/gfx-agent/GFXCommandBufferAgent.cpp", - "cocos/renderer/gfx-agent/GFXCommandBufferAgent.h", - "cocos/renderer/gfx-agent/GFXDescriptorSetAgent.cpp", - "cocos/renderer/gfx-agent/GFXDescriptorSetAgent.h", - "cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.cpp", - "cocos/renderer/gfx-agent/GFXDescriptorSetLayoutAgent.h", - "cocos/renderer/gfx-agent/GFXDeviceAgent.cpp", - "cocos/renderer/gfx-agent/GFXDeviceAgent.h", - "cocos/renderer/gfx-agent/GFXFramebufferAgent.cpp", - "cocos/renderer/gfx-agent/GFXFramebufferAgent.h", - "cocos/renderer/gfx-agent/GFXInputAssemblerAgent.cpp", - "cocos/renderer/gfx-agent/GFXInputAssemblerAgent.h", - "cocos/renderer/gfx-agent/GFXLinearAllocatorPool.h", - "cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.cpp", - "cocos/renderer/gfx-agent/GFXPipelineLayoutAgent.h", - "cocos/renderer/gfx-agent/GFXPipelineStateAgent.cpp", - "cocos/renderer/gfx-agent/GFXPipelineStateAgent.h", - "cocos/renderer/gfx-agent/GFXQueueAgent.cpp", - "cocos/renderer/gfx-agent/GFXQueueAgent.h", - "cocos/renderer/gfx-agent/GFXRenderPassAgent.cpp", - "cocos/renderer/gfx-agent/GFXRenderPassAgent.h", - "cocos/renderer/gfx-agent/GFXSamplerAgent.cpp", - "cocos/renderer/gfx-agent/GFXSamplerAgent.h", - "cocos/renderer/gfx-agent/GFXShaderAgent.cpp", - "cocos/renderer/gfx-agent/GFXShaderAgent.h", - "cocos/renderer/gfx-agent/GFXTextureAgent.cpp", - "cocos/renderer/gfx-agent/GFXTextureAgent.h", + "cocos/renderer/gfx-agent/BufferAgent.cpp", + "cocos/renderer/gfx-agent/BufferAgent.h", + "cocos/renderer/gfx-agent/CommandBufferAgent.cpp", + "cocos/renderer/gfx-agent/CommandBufferAgent.h", + "cocos/renderer/gfx-agent/DescriptorSetAgent.cpp", + "cocos/renderer/gfx-agent/DescriptorSetAgent.h", + "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp", + "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h", + "cocos/renderer/gfx-agent/DeviceAgent.cpp", + "cocos/renderer/gfx-agent/DeviceAgent.h", + "cocos/renderer/gfx-agent/FramebufferAgent.cpp", + "cocos/renderer/gfx-agent/FramebufferAgent.h", + "cocos/renderer/gfx-agent/InputAssemblerAgent.cpp", + "cocos/renderer/gfx-agent/InputAssemblerAgent.h", + "cocos/renderer/gfx-agent/LinearAllocatorPool.h", + "cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp", + "cocos/renderer/gfx-agent/PipelineLayoutAgent.h", + "cocos/renderer/gfx-agent/PipelineStateAgent.cpp", + "cocos/renderer/gfx-agent/PipelineStateAgent.h", + "cocos/renderer/gfx-agent/QueueAgent.cpp", + "cocos/renderer/gfx-agent/QueueAgent.h", + "cocos/renderer/gfx-agent/RenderPassAgent.cpp", + "cocos/renderer/gfx-agent/RenderPassAgent.h", + "cocos/renderer/gfx-agent/SamplerAgent.cpp", + "cocos/renderer/gfx-agent/SamplerAgent.h", + "cocos/renderer/gfx-agent/ShaderAgent.cpp", + "cocos/renderer/gfx-agent/ShaderAgent.h", + "cocos/renderer/gfx-agent/TextureAgent.cpp", + "cocos/renderer/gfx-agent/TextureAgent.h", "cocos/renderer/gfx-base/GFXBase.h", "cocos/renderer/gfx-base/GFXBuffer.cpp", "cocos/renderer/gfx-base/GFXBuffer.h", @@ -686,6 +687,36 @@ "cocos/renderer/gfx-base/GFXTexture.h", "cocos/renderer/gfx-base/GFXTextureBarrier.cpp", "cocos/renderer/gfx-base/GFXTextureBarrier.h", + "cocos/renderer/gfx-empty/EmptyBuffer.cpp", + "cocos/renderer/gfx-empty/EmptyBuffer.h", + "cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp", + "cocos/renderer/gfx-empty/EmptyCommandBuffer.h", + "cocos/renderer/gfx-empty/EmptyContext.cpp", + "cocos/renderer/gfx-empty/EmptyContext.h", + "cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp", + "cocos/renderer/gfx-empty/EmptyDescriptorSet.h", + "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp", + "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h", + "cocos/renderer/gfx-empty/EmptyDevice.cpp", + "cocos/renderer/gfx-empty/EmptyDevice.h", + "cocos/renderer/gfx-empty/EmptyFramebuffer.cpp", + "cocos/renderer/gfx-empty/EmptyFramebuffer.h", + "cocos/renderer/gfx-empty/EmptyInputAssembler.cpp", + "cocos/renderer/gfx-empty/EmptyInputAssembler.h", + "cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp", + "cocos/renderer/gfx-empty/EmptyPipelineLayout.h", + "cocos/renderer/gfx-empty/EmptyPipelineState.cpp", + "cocos/renderer/gfx-empty/EmptyPipelineState.h", + "cocos/renderer/gfx-empty/EmptyQueue.cpp", + "cocos/renderer/gfx-empty/EmptyQueue.h", + "cocos/renderer/gfx-empty/EmptyRenderPass.cpp", + "cocos/renderer/gfx-empty/EmptyRenderPass.h", + "cocos/renderer/gfx-empty/EmptySampler.cpp", + "cocos/renderer/gfx-empty/EmptySampler.h", + "cocos/renderer/gfx-empty/EmptyShader.cpp", + "cocos/renderer/gfx-empty/EmptyShader.h", + "cocos/renderer/gfx-empty/EmptyTexture.cpp", + "cocos/renderer/gfx-empty/EmptyTexture.h", "cocos/renderer/gfx-gles-common/GLESCommandPool.h", "cocos/renderer/gfx-gles-common/eglw.cpp", "cocos/renderer/gfx-gles-common/eglw.h", @@ -18209,12 +18240,6 @@ "cocos/bindings/auto/jsb_extension_auto.h", "cocos/bindings/auto/jsb_gfx_auto.cpp", "cocos/bindings/auto/jsb_gfx_auto.h", - "cocos/bindings/auto/jsb_gles2_auto.cpp", - "cocos/bindings/auto/jsb_gles2_auto.h", - "cocos/bindings/auto/jsb_gles3_auto.cpp", - "cocos/bindings/auto/jsb_gles3_auto.h", - "cocos/bindings/auto/jsb_mtl_auto.cpp", - "cocos/bindings/auto/jsb_mtl_auto.h", "cocos/bindings/auto/jsb_network_auto.cpp", "cocos/bindings/auto/jsb_network_auto.h", "cocos/bindings/auto/jsb_pipeline_auto.cpp", @@ -18223,8 +18248,6 @@ "cocos/bindings/auto/jsb_spine_auto.h", "cocos/bindings/auto/jsb_video_auto.cpp", "cocos/bindings/auto/jsb_video_auto.h", - "cocos/bindings/auto/jsb_vk_auto.cpp", - "cocos/bindings/auto/jsb_vk_auto.h", "cocos/bindings/auto/jsb_webview_auto.cpp", "cocos/bindings/auto/jsb_webview_auto.h", "cocos/bindings/docs/JSB2.0-Architecture.png", @@ -18357,8 +18380,6 @@ "cocos/bindings/manual/jsb_dragonbones_manual.h", "cocos/bindings/manual/jsb_extension_manual.cpp", "cocos/bindings/manual/jsb_extension_manual.h", - "cocos/bindings/manual/jsb_gfx_agent.cpp", - "cocos/bindings/manual/jsb_gfx_agent.h", "cocos/bindings/manual/jsb_gfx_manual.cpp", "cocos/bindings/manual/jsb_gfx_manual.h", "cocos/bindings/manual/jsb_global.cpp", From b1c30d97eddb34f545f12375ea9b2f52d4b196de Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Mon, 22 Mar 2021 16:15:08 +0800 Subject: [PATCH 193/270] Metal compute shader (#3333) --- native/CMakeLists.txt | 2 + native/cocos/renderer/gfx-metal/MTLBuffer.h | 4 +- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 13 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 4 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 124 +++++++++++++----- .../renderer/gfx-metal/MTLCommandEncoder.h | 38 ++++++ .../gfx-metal/MTLComputeCommandEncoder.h | 106 +++++++++++++++ native/cocos/renderer/gfx-metal/MTLDevice.h | 1 + native/cocos/renderer/gfx-metal/MTLDevice.mm | 25 +++- .../cocos/renderer/gfx-metal/MTLGPUObjects.h | 1 + .../renderer/gfx-metal/MTLPipelineState.h | 2 + .../renderer/gfx-metal/MTLPipelineState.mm | 61 ++++++--- .../gfx-metal/MTLRenderCommandEncoder.h | 3 +- native/cocos/renderer/gfx-metal/MTLShader.h | 6 + native/cocos/renderer/gfx-metal/MTLShader.mm | 43 +++++- native/cocos/renderer/gfx-metal/MTLUtils.h | 1 + native/cocos/renderer/gfx-metal/MTLUtils.mm | 42 +++++- 17 files changed, 412 insertions(+), 64 deletions(-) create mode 100644 native/cocos/renderer/gfx-metal/MTLCommandEncoder.h create mode 100644 native/cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index fa09e0eb88..ff809aae9d 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -941,6 +941,8 @@ if(CC_USE_METAL) cocos/renderer/gfx-metal/MTLUtils.h NO_WERROR cocos/renderer/gfx-metal/MTLUtils.mm cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h + cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h + cocos/renderer/gfx-metal/MTLCommandEncoder.h cocos/renderer/gfx-metal/MTLConfig.h cocos/renderer/gfx-metal/MTLSemaphore.h ) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index c7f9c3477c..5ccefcbffe 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -35,7 +35,7 @@ namespace cc { namespace gfx { class CCMTLBuffer; -class CCMTLRenderCommandEncoder; +class CCMTLCommandEncoder; class CCMTLBuffer final : public Buffer { public: @@ -48,7 +48,7 @@ public: void update(void *buffer, uint offset) override; - void encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages); + void encodeBuffer(CCMTLCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages); CC_INLINE id getMTLBuffer() const { return _mtlBuffer; } CC_INLINE MTLIndexType getIndexType() const { return _indexType; } diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index 1240044a2f..07cbe707c6 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -216,17 +216,24 @@ void CCMTLBuffer::updateMTLBuffer(void *buffer, uint /*offset*/, uint size) { } } -void CCMTLBuffer::encodeBuffer(CCMTLRenderCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages) { +void CCMTLBuffer::encodeBuffer(CCMTLCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages) { if (_isBufferView) { offset += _bufferViewOffset; } if (stages & ShaderStageFlagBit::VERTEX) { - encoder.setVertexBuffer(_mtlBuffer, offset, binding); + CCMTLRenderCommandEncoder* renderEncoder = static_cast(&encoder); + renderEncoder->setVertexBuffer(_mtlBuffer, offset, binding); } if (stages & ShaderStageFlagBit::FRAGMENT) { - encoder.setFragmentBuffer(_mtlBuffer, offset, binding); + CCMTLRenderCommandEncoder* renderEncoder = static_cast(&encoder); + renderEncoder->setFragmentBuffer(_mtlBuffer, offset, binding); + } + + if(stages & ShaderStageFlagBit::COMPUTE) { + CCMTLComputeCommandEncoder* computeEncoder = static_cast(&encoder); + computeEncoder->setBuffer(_mtlBuffer, offset, binding); } } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 1ffff34cdd..3706ed843d 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -29,6 +29,7 @@ #include "MTLGPUObjects.h" #include "MTLRenderCommandEncoder.h" +#include "MTLComputeCommandEncoder.h" #import #import @@ -98,7 +99,8 @@ protected: CCMTLDevice *_mtlDevice = nullptr; id _mtlCommandQueue = nil; id _mtlCommandBuffer = nil; - CCMTLRenderCommandEncoder _commandEncoder; + CCMTLRenderCommandEncoder _renderEncoder; + CCMTLComputeCommandEncoder _computeEncoder; id _parallelEncoder = nil; CCMTLInputAssembler *_inputAssembler = nullptr; MTLPrimitiveType _mtlPrimitiveType = MTLPrimitiveType::MTLPrimitiveTypeTriangle; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index 5beffe065c..fcfaa38b34 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -35,6 +35,7 @@ #include "MTLRenderPass.h" #include "MTLSampler.h" #include "MTLTexture.h" +#include namespace cc { namespace gfx { @@ -111,7 +112,7 @@ void CCMTLCommandBuffer::end() { if (_isSecondary) { // Secondary command buffer should end encoding here - _commandEncoder.endEncoding(); + _renderEncoder.endEncoding(); if (_autoreleasePool) { // CC_LOG_INFO("%d CB POOL: %p RELEASED for %p", [NSThread currentThread], _autoreleasePool, this); @@ -158,15 +159,15 @@ void CCMTLCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb // Create command encoders from parallel encoder and assign to command buffers for (uint i = 0u; i < secondaryCBCount; ++i) { CCMTLCommandBuffer *cmdBuff = (CCMTLCommandBuffer *)secondaryCBs[i]; - cmdBuff->_commandEncoder.initialize(_parallelEncoder); + cmdBuff->_renderEncoder.initialize(_parallelEncoder); cmdBuff->_mtlCommandBuffer = _mtlCommandBuffer; } } else { - _commandEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); + _renderEncoder.initialize(_mtlCommandBuffer, mtlRenderPassDescriptor); } - _commandEncoder.setViewport(renderArea); - _commandEncoder.setScissor(renderArea); + _renderEncoder.setViewport(renderArea); + _renderEncoder.setScissor(renderArea); } void CCMTLCommandBuffer::endRenderPass() { @@ -176,23 +177,32 @@ void CCMTLCommandBuffer::endRenderPass() { _parallelEncoder = nil; } else { - _commandEncoder.endEncoding(); + _renderEncoder.endEncoding(); } } void CCMTLCommandBuffer::bindPipelineState(PipelineState *pso) { - _gpuPipelineState = static_cast(pso)->getGPUPipelineState(); - _mtlPrimitiveType = _gpuPipelineState->primitiveType; + PipelineBindPoint bindPoint = pso->getBindPoint(); + if (bindPoint == PipelineBindPoint::GRAPHICS) { + _gpuPipelineState = static_cast(pso)->getGPUPipelineState(); + _mtlPrimitiveType = _gpuPipelineState->primitiveType; - _commandEncoder.setCullMode(_gpuPipelineState->cullMode); - _commandEncoder.setFrontFacingWinding(_gpuPipelineState->winding); - _commandEncoder.setDepthClipMode(_gpuPipelineState->depthClipMode); - _commandEncoder.setTriangleFillMode(_gpuPipelineState->fillMode); - _commandEncoder.setRenderPipelineState(_gpuPipelineState->mtlRenderPipelineState); + _renderEncoder.setCullMode(_gpuPipelineState->cullMode); + _renderEncoder.setFrontFacingWinding(_gpuPipelineState->winding); + _renderEncoder.setDepthClipMode(_gpuPipelineState->depthClipMode); + _renderEncoder.setTriangleFillMode(_gpuPipelineState->fillMode); + _renderEncoder.setRenderPipelineState(_gpuPipelineState->mtlRenderPipelineState); - if (_gpuPipelineState->mtlDepthStencilState) { - _commandEncoder.setStencilFrontBackReferenceValue(_gpuPipelineState->stencilRefFront, _gpuPipelineState->stencilRefBack); - _commandEncoder.setDepthStencilState(_gpuPipelineState->mtlDepthStencilState); + if (_gpuPipelineState->mtlDepthStencilState) { + _renderEncoder.setStencilFrontBackReferenceValue(_gpuPipelineState->stencilRefFront, _gpuPipelineState->stencilRefBack); + _renderEncoder.setDepthStencilState(_gpuPipelineState->mtlDepthStencilState); + } + } else if (bindPoint == PipelineBindPoint::COMPUTE) { + if (!_computeEncoder.isInitialized()) { + _computeEncoder.initialize(_mtlCommandBuffer); + } + _gpuPipelineState = static_cast(pso)->getGPUPipelineState(); + _computeEncoder.setComputePipelineState(_gpuPipelineState->mtlComputePipelineState); } } @@ -221,11 +231,11 @@ void CCMTLCommandBuffer::bindInputAssembler(InputAssembler *ia) { } void CCMTLCommandBuffer::setViewport(const Viewport &vp) { - _commandEncoder.setViewport(vp); + _renderEncoder.setViewport(vp); } void CCMTLCommandBuffer::setScissor(const Rect &rect) { - _commandEncoder.setScissor(rect); + _renderEncoder.setScissor(rect); } void CCMTLCommandBuffer::setLineWidth(float /*width*/) { @@ -233,11 +243,11 @@ void CCMTLCommandBuffer::setLineWidth(float /*width*/) { } void CCMTLCommandBuffer::setDepthBias(float constant, float clamp, float slope) { - _commandEncoder.setDepthBias(constant, clamp, slope); + _renderEncoder.setDepthBias(constant, clamp, slope); } void CCMTLCommandBuffer::setBlendConstants(const Color &constants) { - _commandEncoder.setBlendColor(constants); + _renderEncoder.setBlendColor(constants); } void CCMTLCommandBuffer::setDepthBound(float /*minBounds*/, float /*maxBounds*/) { @@ -259,7 +269,7 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { const auto *indirectBuffer = static_cast(ia->getIndirectBuffer()); const auto *indexBuffer = static_cast(ia->getIndexBuffer()); - auto mtlEncoder = _commandEncoder.getMTLEncoder(); + auto mtlEncoder = _renderEncoder.getMTLEncoder(); if (_type == CommandBufferType::PRIMARY || _type == CommandBufferType::SECONDARY) { if (indirectBuffer) { @@ -463,7 +473,7 @@ void CCMTLCommandBuffer::bindDescriptorSets() { for (const auto &bindingInfo : _gpuPipelineState->vertexBufferBindingInfo) { auto index = std::get<0>(bindingInfo); auto stream = std::get<1>(bindingInfo); - static_cast(vertexBuffers[stream])->encodeBuffer(_commandEncoder, 0, index, ShaderStageFlagBit::VERTEX); + static_cast(vertexBuffers[stream])->encodeBuffer(_renderEncoder, 0, index, ShaderStageFlagBit::VERTEX); } const auto &dynamicOffsetIndices = _gpuPipelineState->gpuPipelineLayout->dynamicOffsetIndices; @@ -483,15 +493,22 @@ void CCMTLCommandBuffer::bindDescriptorSets() { auto dynamicOffsetIndex = (block.binding < dynamicOffset.size()) ? dynamicOffset[block.binding] : -1; if (gpuDescriptor.buffer) { uint offset = (dynamicOffsetIndex >= 0) ? _dynamicOffsets[block.set][dynamicOffsetIndex] : 0; - gpuDescriptor.buffer->encodeBuffer(_commandEncoder, - offset, - block.mappedBinding, - block.stages); + // compute pipeline and render pipeline mutually exlusive + if(_gpuPipelineState->mtlComputePipelineState) { + gpuDescriptor.buffer->encodeBuffer(_computeEncoder, + offset, + block.mappedBinding, + block.stages); + } else { + gpuDescriptor.buffer->encodeBuffer(_renderEncoder, + offset, + block.mappedBinding, + block.stages); + } } } const auto &samplers = _gpuPipelineState->gpuShader->samplers; - auto mtlEncoder = _commandEncoder.getMTLEncoder(); for (const auto &iter : samplers) { const auto &sampler = iter.second; @@ -505,24 +522,69 @@ void CCMTLCommandBuffer::bindDescriptorSets() { } if (sampler.stages & ShaderStageFlagBit::VERTEX) { - _commandEncoder.setVertexTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); - _commandEncoder.setVertexSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); + _renderEncoder.setVertexTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); + _renderEncoder.setVertexSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); } if (sampler.stages & ShaderStageFlagBit::FRAGMENT) { - _commandEncoder.setFragmentTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); - _commandEncoder.setFragmentSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); + _renderEncoder.setFragmentTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); + _renderEncoder.setFragmentSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); + } + + if(sampler.stages & ShaderStageFlagBit::COMPUTE) { + _computeEncoder.setTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); } } } void CCMTLCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { + if(srcTexture && regions) { + id encoder = [_mtlCommandBuffer blitCommandEncoder]; + id src = static_cast(srcTexture)->getMTLTexture(); + id dst = nil; + CCMTLDevice* device = CCMTLDevice::getInstance(); + if(!dstTexture) { + id currentDrawable = (id)device->getCurrentDrawable(); + dst = [currentDrawable texture]; + } else { + dst = static_cast(dstTexture)->getMTLTexture(); + } + + if([src pixelFormat] != device->preferredPixelFormat()) { + src = [src newTextureViewWithPixelFormat:(MTLPixelFormat)device->preferredPixelFormat()]; + } + + for (uint i = 0; i < count; ++i) { + [encoder copyFromTexture:src + sourceSlice:regions[i].srcSubres.baseArrayLayer + sourceLevel:regions[i].srcSubres.mipLevel + sourceOrigin:MTLOriginMake(regions[i].srcOffset.x, regions[i].srcOffset.y, regions[i].srcOffset.z) + sourceSize:MTLSizeMake(regions[i].srcExtent.width, regions[i].srcExtent.height, regions[i].srcExtent.depth) + toTexture:dst + destinationSlice:regions[i].dstSubres.baseArrayLayer + destinationLevel:regions[i].srcSubres.mipLevel + destinationOrigin:MTLOriginMake(regions[i].dstOffset.x, regions[i].dstOffset.y, regions[i].dstOffset.z)]; + } + [encoder endEncoding]; + } } void CCMTLCommandBuffer::dispatch(const DispatchInfo &info) { + if(_firstDirtyDescriptorSet < _GPUDescriptorSets.size()) { + bindDescriptorSets(); + } + MTLSize groupsPerGrid = MTLSizeMake(info.groupCountX, info.groupCountY, info.groupCountZ); + if(info.indirectBuffer) { + _computeEncoder.dispatch(((CCMTLBuffer*)info.indirectBuffer)->getMTLBuffer(), info.indirectOffset, groupsPerGrid); + } + else { + _computeEncoder.dispatch(groupsPerGrid); + } + _computeEncoder.endEncoding(); } void CCMTLCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { + // Metal tracks non-heap resources automatically, which means no need to add a barrier same encoder. } } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLCommandEncoder.h new file mode 100644 index 0000000000..47b63aca80 --- /dev/null +++ b/native/cocos/renderer/gfx-metal/MTLCommandEncoder.h @@ -0,0 +1,38 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +namespace cc { +namespace gfx { + +class CCMTLCommandEncoder { +public: + CCMTLCommandEncoder() = default; + virtual ~CCMTLCommandEncoder() = default; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h new file mode 100644 index 0000000000..5829d5a50d --- /dev/null +++ b/native/cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h @@ -0,0 +1,106 @@ +/**************************************************************************** + Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "MTLCommandEncoder.h" +#include "MTLStd.h" +#include "MTLUtils.h" +#include "base/Macros.h" +#include "math/Math.h" +#include +#include + +namespace cc { +namespace gfx { +class CCMTLComputeCommandEncoder final : public CCMTLCommandEncoder { +public: + CCMTLComputeCommandEncoder() = default; + ~CCMTLComputeCommandEncoder() = default; + CCMTLComputeCommandEncoder(const CCMTLComputeCommandEncoder &) = delete; + CCMTLComputeCommandEncoder(CCMTLComputeCommandEncoder &&) = delete; + CCMTLComputeCommandEncoder &operator=(const CCMTLComputeCommandEncoder &) = delete; + CCMTLComputeCommandEncoder &operator=(CCMTLComputeCommandEncoder &&) = delete; + + void initialize(id commandBuffer) { + _mtlEncoder = [[commandBuffer computeCommandEncoder] retain]; + _initialized = true; + } + + CC_INLINE const bool isInitialized() { + return _initialized; + } + + CC_INLINE void setComputePipelineState(id pipelineState) { + if(_pipelineState == pipelineState) + return; + [_mtlEncoder setComputePipelineState:pipelineState]; + _pipelineState = pipelineState; + } + + CC_INLINE void setBuffer(const id buffer, uint offset, uint index) { + [_mtlEncoder setBuffer:buffer offset:offset atIndex:index]; + } + + CC_INLINE void setTexture(const id texture, uint index) { + [_mtlEncoder setTexture:texture atIndex:index]; + _resourceSize = {texture.width, texture.height, texture.depth}; + } + + CC_INLINE void dispatch(MTLSize groupsPerGrid) { + // GLSL -> SPIRV -> MSL + // GLSL shader request to specify the compute thread size, + // no such limit in Metal and have to set compute thread size explicity + NSUInteger w = _pipelineState.threadExecutionWidth; + NSUInteger h = _pipelineState.maxTotalThreadsPerThreadgroup / w; + MTLSize threadsPerThreadgroup = MTLSizeMake(w, h, 1); + [_mtlEncoder dispatchThreadgroups:groupsPerGrid threadsPerThreadgroup:threadsPerThreadgroup]; + } + + CC_INLINE void dispatch(id indirectBuffer, NSUInteger offset, MTLSize groupsPerGrid) { + [_mtlEncoder dispatchThreadgroupsWithIndirectBuffer:indirectBuffer indirectBufferOffset:offset threadsPerThreadgroup:groupsPerGrid]; + } + + CC_INLINE void endEncoding() { + [_mtlEncoder endEncoding]; + [_mtlEncoder release]; + _mtlEncoder = nil; + _pipelineState = nil; + _initialized = false; + } + + CC_INLINE id const getMTLEncoder() { + return _mtlEncoder; + } + +private: + bool _initialized = false; + MTLSize _resourceSize; + id _mtlEncoder = nil; + id _pipelineState = nil; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index e8d62a58e7..7f76414f21 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -70,6 +70,7 @@ public: void onPresentCompleted(); void* getCurrentDrawable(); void disposeCurrentDrawable(); + uint preferredPixelFormat(); CC_INLINE void *getMTLCommandQueue() const { return _mtlCommandQueue; } CC_INLINE void *getMTLLayer() const { return _mtlLayer; } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index a24f060449..e53e00babe 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -78,8 +78,9 @@ bool CCMTLDevice::doInit(const DeviceInfo &info) { #else UIView *view = (UIView *)_windowHandle; #endif - CAMetalLayer *layer = static_cast(view.layer); + CAMetalLayer *layer = static_cast(view); _mtlLayer = layer; + layer.framebufferOnly = NO; id mtlDevice = (id)layer.device; _mtlDevice = mtlDevice; _mtlCommandQueue = [mtlDevice newCommandQueueWithMaxCommandBufferCount: MAX_COMMAND_BUFFER_COUNT]; @@ -94,6 +95,7 @@ bool CCMTLDevice::doInit(const DeviceInfo &info) { _caps.maxCubeMapTextureSize = mu::getMaxCubeMapTextureWidthHeight(gpuFamily); _caps.maxColorRenderTargets = mu::getMaxColorRenderTarget(gpuFamily); _caps.uboOffsetAlignment = mu::getMinBufferOffsetAlignment(gpuFamily); + _caps.maxComputeWorkGroupInvocations = mu::getMaxThreadsPerGroup(gpuFamily); _maxBufferBindingIndex = mu::getMaxEntriesInBufferArgumentTable(gpuFamily); _icbSuppored = mu::isIndirectCommandBufferSupported(MTLFeatureSet(_mtlFeatureSet)); _isSamplerDescriptorCompareFunctionSupported = mu::isSamplerDescriptorCompareFunctionSupported(gpuFamily); @@ -169,6 +171,7 @@ bool CCMTLDevice::doInit(const DeviceInfo &info) { _features[static_cast(Feature::STENCIL_COMPARE_MASK)] = false; _features[static_cast(Feature::STENCIL_WRITE_MASK)] = false; _features[static_cast(Feature::MULTITHREADED_SUBMISSION)] = true; + _features[static_cast(Feature::COMPUTE_SHADER)] = true; _features[static_cast(Feature::FORMAT_RGB8)] = false; _features[static_cast(Feature::FORMAT_D16)] = mu::isDepthStencilFormatSupported(mtlDevice, Format::D16, gpuFamily); @@ -218,7 +221,21 @@ void CCMTLDevice::doDestroy() { } } -void CCMTLDevice::resize(uint /*width*/, uint /*height*/) {} +void CCMTLDevice::resize(uint w, uint h) { + this->_width = w; + this->_height = h; + + [id(_dssTex) release]; + + MTLTextureDescriptor *dssDescriptor = [[MTLTextureDescriptor alloc] init]; + const auto gpuFamily = mu::getGPUFamily(MTLFeatureSet(_mtlFeatureSet)); + dssDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(id(this->_mtlDevice), gpuFamily, _caps.depthBits); + dssDescriptor.width = w; + dssDescriptor.height = h; + dssDescriptor.storageMode = MTLStorageModePrivate; + dssDescriptor.usage = MTLTextureUsageRenderTarget; + _dssTex = [id(this->_mtlDevice) newTextureWithDescriptor:dssDescriptor]; +} void CCMTLDevice::acquire() { _inFlightSemaphore->wait(); @@ -353,5 +370,9 @@ void CCMTLDevice::onMemoryWarning() { } } +uint CCMTLDevice::preferredPixelFormat() { + return [((CAMetalLayer*)_mtlLayer) pixelFormat]; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index e1b8e655a0..4d8a37c9ea 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -91,6 +91,7 @@ struct CCMTLGPUPipelineState { MTLPrimitiveType primitiveType; id mtlRenderPipelineState = nil; id mtlDepthStencilState = nil; + id mtlComputePipelineState = nil; uint stencilRefFront = 0; uint stencilRefBack = 0; vector> vertexBufferBindingInfo; diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.h b/native/cocos/renderer/gfx-metal/MTLPipelineState.h index d776249a4f..ff4cf89ada 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.h +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.h @@ -52,6 +52,7 @@ protected: bool createMTLDepthStencilState(); bool createGPUPipelineState(); + bool createMTLComputePipelineState(); bool createMTLRenderPipelineState(); void setVertexDescriptor(MTLRenderPipelineDescriptor *); void setMTLFunctions(MTLRenderPipelineDescriptor *); @@ -61,6 +62,7 @@ protected: id _mtlRenderPipelineState = nil; id _mtlDepthStencilState = nil; + id _mtlComputePipeline = nil; CCMTLGPUPipelineState *_GPUPipelineState = nullptr; }; diff --git a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm index acea665b3c..475d9c4413 100644 --- a/native/cocos/renderer/gfx-metal/MTLPipelineState.mm +++ b/native/cocos/renderer/gfx-metal/MTLPipelineState.mm @@ -36,6 +36,7 @@ #import #import +#import namespace cc { namespace gfx { @@ -71,24 +72,52 @@ bool CCMTLPipelineState::createGPUPipelineState() { CC_LOG_ERROR("CCMTLPipelineState: CC_NEW CCMTLGPUPipelineState failed."); return false; } + + if(_bindPoint == PipelineBindPoint::GRAPHICS) { + if (!createMTLRenderPipelineState()) { + return false; + } + // Application can run with wrong depth/stencil state. + if (!createMTLDepthStencilState()) { + return false; + } - if (!createMTLRenderPipelineState()) return false; + _GPUPipelineState->mtlDepthStencilState = _mtlDepthStencilState; + _GPUPipelineState->mtlRenderPipelineState = _mtlRenderPipelineState; + _GPUPipelineState->cullMode = mu::toMTLCullMode(_rasterizerState.cullMode); + _GPUPipelineState->fillMode = mu::toMTLTriangleFillMode(_rasterizerState.polygonMode); + _GPUPipelineState->depthClipMode = mu::toMTLDepthClipMode(_rasterizerState.isDepthClip != 0); + _GPUPipelineState->winding = mu::toMTLWinding(_rasterizerState.isFrontFaceCCW != 0); + _GPUPipelineState->stencilRefFront = _depthStencilState.stencilRefFront; + _GPUPipelineState->stencilRefBack = _depthStencilState.stencilRefBack; + _GPUPipelineState->primitiveType = mu::toMTLPrimitiveType(_primitive); + if (_pipelineLayout) + _GPUPipelineState->gpuPipelineLayout = static_cast(_pipelineLayout)->gpuPipelineLayout(); + _GPUPipelineState->gpuShader = static_cast(_shader)->gpuShader(); + } + else if (_bindPoint == PipelineBindPoint::COMPUTE) { + if (!createMTLComputePipelineState()) { + return false; + } + _GPUPipelineState->mtlComputePipelineState = _mtlComputePipeline; + _GPUPipelineState->gpuShader = static_cast(_shader)->gpuShader(); + if (_pipelineLayout) + _GPUPipelineState->gpuPipelineLayout = static_cast(_pipelineLayout)->gpuPipelineLayout(); + } + + return true; +} - // Application can run with wrong depth/stencil state. - if (!createMTLDepthStencilState()) return false; - - _GPUPipelineState->mtlDepthStencilState = _mtlDepthStencilState; - _GPUPipelineState->mtlRenderPipelineState = _mtlRenderPipelineState; - _GPUPipelineState->cullMode = mu::toMTLCullMode(_rasterizerState.cullMode); - _GPUPipelineState->fillMode = mu::toMTLTriangleFillMode(_rasterizerState.polygonMode); - _GPUPipelineState->depthClipMode = mu::toMTLDepthClipMode(_rasterizerState.isDepthClip != 0); - _GPUPipelineState->winding = mu::toMTLWinding(_rasterizerState.isFrontFaceCCW != 0); - _GPUPipelineState->stencilRefFront = _depthStencilState.stencilRefFront; - _GPUPipelineState->stencilRefBack = _depthStencilState.stencilRefBack; - _GPUPipelineState->primitiveType = mu::toMTLPrimitiveType(_primitive); - if (_pipelineLayout) - _GPUPipelineState->gpuPipelineLayout = static_cast(_pipelineLayout)->gpuPipelineLayout(); - _GPUPipelineState->gpuShader = static_cast(_shader)->gpuShader(); +bool CCMTLPipelineState::createMTLComputePipelineState() { + //create with function + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); + NSError* err; + _mtlComputePipeline = [mtlDevice newComputePipelineStateWithFunction:((CCMTLShader *)_shader)->getComputeMTLFunction() + error:&err]; + if (!_mtlComputePipeline) { + CC_LOG_ERROR("Create compute pipeline failed: %s", [err.localizedDescription UTF8String]); + return false; + } return true; } diff --git a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h index 4c92830cfe..4445333bf7 100644 --- a/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h +++ b/native/cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h @@ -29,6 +29,7 @@ #include "MTLUtils.h" #include "base/Macros.h" #include "math/Math.h" +#include "MTLCommandEncoder.h" #import #import #import @@ -39,7 +40,7 @@ namespace gfx { struct Color; -class CCMTLRenderCommandEncoder final { +class CCMTLRenderCommandEncoder final : public CCMTLCommandEncoder { struct BufferBinding final { id buffer; uint offset = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLShader.h b/native/cocos/renderer/gfx-metal/MTLShader.h index b87cb7051e..6ea374baa8 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.h +++ b/native/cocos/renderer/gfx-metal/MTLShader.h @@ -43,6 +43,7 @@ public: CC_INLINE id getVertMTLFunction() const { return _vertexMTLFunction; } CC_INLINE id getFragmentMTLFunction() const { return _fragmentMTLFunction; } + CC_INLINE id getComputeMTLFunction() const { return _computeMTLFunction; } CC_INLINE const unordered_map &getFragmentSamplerBindings() const { return _mtlFragmentSamplerBindings; } CC_INLINE const CCMTLGPUShader *gpuShader() const { return _gpuShader; } @@ -53,6 +54,8 @@ public: CC_INLINE const String &getVertMtlSahder() const { return _vertMtlShader; } CC_INLINE const String &getFragGlslShader() const { return _fragGlslShader; } CC_INLINE const String &getFragMtlSahder() const { return _fragMtlShader; } + CC_INLINE const String &getcompGlslShader() const { return _cmptGlslShader; } + CC_INLINE const String &getcompMtlSahder() const { return _cmptMtlShader; } #endif protected: @@ -64,6 +67,7 @@ protected: id _vertexMTLFunction = nil; id _fragmentMTLFunction = nil; + id _computeMTLFunction = nil; unordered_map _mtlFragmentSamplerBindings; vector _availableVertexBufferBindingIndex; vector _availableFragmentBufferBindingIndex; @@ -76,6 +80,8 @@ protected: String _vertMtlShader; String _fragGlslShader; String _fragMtlShader; + String _cmptGlslShader; + String _cmptMtlShader; #endif }; diff --git a/native/cocos/renderer/gfx-metal/MTLShader.mm b/native/cocos/renderer/gfx-metal/MTLShader.mm index 5a4a96aec0..5e855a781e 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.mm +++ b/native/cocos/renderer/gfx-metal/MTLShader.mm @@ -55,6 +55,8 @@ void CCMTLShader::doDestroy() { _vertexMTLFunction = nil; id fragFunc = _fragmentMTLFunction; _fragmentMTLFunction = nil; + id cmptFunc = _computeMTLFunction; + _computeMTLFunction = nil; CC_SAFE_DELETE(_gpuShader); @@ -65,13 +67,28 @@ void CCMTLShader::doDestroy() { if (fragFunc) { [fragFunc release]; } + if (cmptFunc) { + [cmptFunc release]; + } }; CCMTLGPUGarbageCollectionPool::getInstance()->collect(destroyFunc); } bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { - bool isVertexShader = stage.stage == ShaderStageFlagBit::VERTEX; + bool isVertexShader = false; + bool isFragmentShader = false; + bool isComputeShader = false; + + if (stage.stage == ShaderStageFlagBit::VERTEX) { + isVertexShader = true; + } else if (stage.stage == ShaderStageFlagBit::FRAGMENT) { + isFragmentShader = true; + } else if (stage.stage == ShaderStageFlagBit::COMPUTE) { + isComputeShader = true; + } + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); + auto mtlShader = mu::compileGLSLShader2Msl(stage.source, stage.stage, CCMTLDevice::getInstance(), @@ -83,26 +100,37 @@ bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { options:nil error:&error]; if (!library) { - CC_LOG_ERROR("Can not compile %s shader: %s", isVertexShader ? "vertex" : "fragment", - [error.localizedFailureReason UTF8String]); + CC_LOG_ERROR("Can not compile %s shader: %s", isVertexShader ? "vertex" : + isFragmentShader ? "fragment" : "compute", + [[error localizedDescription] UTF8String]); CC_LOG_ERROR("%s", stage.source.c_str()); return false; } - if (stage.stage == ShaderStageFlagBit::VERTEX) { + if (isVertexShader) { _vertexMTLFunction = [library newFunctionWithName:@"main0"]; if (!_vertexMTLFunction) { [library release]; CC_LOG_ERROR("Can not create vertex function: main0"); return false; } - } else { + } else if (isFragmentShader) { _fragmentMTLFunction = [library newFunctionWithName:@"main0"]; if (!_fragmentMTLFunction) { [library release]; CC_LOG_ERROR("Can not create fragment function: main0"); return false; } + } else if (isComputeShader) { + _computeMTLFunction = [library newFunctionWithName:@"main0"]; + if (!_computeMTLFunction) { + [library release]; + CC_LOG_ERROR("Can not create compute function: main0"); + return false; + } + } else { + CC_LOG_ERROR("Shader type not supported yet!"); + return false; } [library release]; @@ -111,9 +139,12 @@ bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { if (isVertexShader) { _vertGlslShader = stage.source; _vertMtlShader = mtlShader; - } else { + } else if (isFragmenShader) { _fragGlslShader = stage.source; _fragMtlShader = mtlShader; + } else if (isComputeShader) { + _cmptGlslShader = stage.source; + _cmptMtlShader = mtlShader; } #endif return true; diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.h b/native/cocos/renderer/gfx-metal/MTLUtils.h index a847c9fa23..5282401f73 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.h +++ b/native/cocos/renderer/gfx-metal/MTLUtils.h @@ -79,6 +79,7 @@ uint getMaxTexture2DWidthHeight(uint family); uint getMaxCubeMapTextureWidthHeight(uint family); uint getMaxColorRenderTarget(uint family); uint getMinBufferOffsetAlignment(uint family); +uint getMaxThreadsPerGroup(uint family); bool isPVRTCSuppported(uint family); bool isEAC_ETCCSuppported(uint family); bool isASTCSuppported(uint family); diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index bdd6b4ce0f..e87737d4c2 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -791,7 +791,7 @@ MTLTextureUsage mu::toMTLTextureUsage(TextureUsage usage) { MTLTextureUsage ret = MTLTextureUsageUnknown; if (usage & TextureUsage::TRANSFER_SRC) - ret |= MTLTextureUsageShaderRead; + ret |= MTLTextureUsageShaderRead | MTLTextureUsagePixelFormatView; if (usage & TextureUsage::TRANSFER_DST) ret |= MTLTextureUsageShaderWrite; if (usage & TextureUsage::SAMPLED) @@ -897,6 +897,7 @@ String mu::compileGLSLShader2Msl(const String &src, spirv_cross::ShaderResources resources = msl.get_shader_resources(active); msl.set_enabled_interface_variables(std::move(active)); + // TODO: bindings from shader just kind of validation, cannot be directly input // Get all uniform buffers in the shader. uint maxBufferBindingIndex = static_cast(device)->getMaximumBufferBindingIndex(); const auto &bufferBindingOffset = device->bindingMappingInfo().bufferOffsets; @@ -922,6 +923,29 @@ String mu::compileGLSLShader2Msl(const String &src, gpuShader->blocks[mappedBinding].stages |= shaderType; } } + + for (const auto &ubo : resources.storage_buffers) { + auto set = msl.get_decoration(ubo.id, spv::DecorationDescriptorSet); + auto binding = msl.get_decoration(ubo.id, spv::DecorationBinding); + auto size = msl.get_declared_struct_size(msl.get_type(ubo.base_type_id)); + + if (binding >= maxBufferBindingIndex) { + CC_LOG_ERROR("Implementation limits: %s binding at %d, should not use more than %d entries in the buffer argument table", ubo.name.c_str(), binding, maxBufferBindingIndex); + } + auto mappedBinding = binding + bufferBindingOffset[set]; + newBinding.desc_set = set; + newBinding.binding = binding; + newBinding.msl_buffer = mappedBinding; + newBinding.msl_texture = 0; + newBinding.msl_sampler = 0; + msl.add_msl_resource_binding(newBinding); + + if (gpuShader->blocks.find(mappedBinding) == gpuShader->blocks.end()) + gpuShader->blocks[mappedBinding] = {ubo.name, set, binding, mappedBinding, shaderType, size}; + else { + gpuShader->blocks[mappedBinding].stages |= shaderType; + } + } //TODO: coulsonwang, need to set sampler binding explicitly if (resources.sampled_images.size() > static_cast(device)->getMaximumSamplerUnits()) { @@ -959,7 +983,6 @@ String mu::compileGLSLShader2Msl(const String &src, samplerIndex++; } } - // Set some options. spirv_cross::CompilerMSL::Options options; // options.set_msl_version(2, 0); @@ -1155,6 +1178,21 @@ uint mu::getMaxCubeMapTextureWidthHeight(uint family) { } } +uint mu::getMaxThreadsPerGroup(uint family) { + switch (static_cast(family)) { + case GPUFamily::Apple1: + case GPUFamily::Apple2: + case GPUFamily::Apple3: + return 512; + case GPUFamily::Apple4: + case GPUFamily::Apple5: + case GPUFamily::Apple6: + case GPUFamily::Mac1: + case GPUFamily::Mac2: + return 1024; + } +} + uint mu::getMaxColorRenderTarget(uint family) { switch (static_cast(family)) { case GPUFamily::Apple1: From a42be36e36dbd40cc5a164eabdd8c67d248179a7 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 22 Mar 2021 16:15:31 +0800 Subject: [PATCH 194/270] gfx: validator (#3337) * gfx: validator * replace c-style casts regexes used: (?)\(\(([\w\s\*]+?)\)([\w\[\]\->.:]+)\) \[\(\w+\)(Feature::\w+)\] --- native/CMakeLists.txt | 34 ++- .../platform/android/Application-android.cpp | 6 +- native/cocos/platform/ios/Application-ios.mm | 6 +- native/cocos/platform/mac/Application-mac.mm | 6 +- .../platform/win32/Application-win32.cpp | 18 ++ native/cocos/platform/win32/View-win32.cpp | 13 - ...{GFXDeviceCreator.h => GFXDeviceManager.h} | 28 ++- .../cocos/renderer/frame-graph/FrameGraph.cpp | 10 +- .../cocos/renderer/frame-graph/FrameGraph.h | 2 +- .../cocos/renderer/frame-graph/PassNode.cpp | 10 +- native/cocos/renderer/frame-graph/PassNode.h | 16 +- .../cocos/renderer/gfx-agent/BufferAgent.cpp | 4 +- native/cocos/renderer/gfx-agent/BufferAgent.h | 2 +- .../renderer/gfx-agent/CommandBufferAgent.cpp | 36 +-- .../renderer/gfx-agent/DescriptorSetAgent.cpp | 8 +- .../cocos/renderer/gfx-agent/DeviceAgent.cpp | 38 +-- native/cocos/renderer/gfx-agent/DeviceAgent.h | 8 +- .../renderer/gfx-agent/FramebufferAgent.cpp | 6 +- .../gfx-agent/InputAssemblerAgent.cpp | 6 +- .../gfx-agent/PipelineLayoutAgent.cpp | 2 +- .../renderer/gfx-agent/PipelineStateAgent.cpp | 6 +- .../cocos/renderer/gfx-agent/QueueAgent.cpp | 2 +- .../cocos/renderer/gfx-agent/TextureAgent.cpp | 4 +- .../cocos/renderer/gfx-agent/TextureAgent.h | 2 +- native/cocos/renderer/gfx-base/GFXBuffer.cpp | 8 +- native/cocos/renderer/gfx-base/GFXBuffer.h | 2 +- native/cocos/renderer/gfx-base/GFXDevice.h | 5 +- native/cocos/renderer/gfx-base/GFXTexture.cpp | 41 +--- native/cocos/renderer/gfx-base/GFXTexture.h | 8 +- .../cocos/renderer/gfx-empty/EmptyBuffer.cpp | 2 +- native/cocos/renderer/gfx-empty/EmptyBuffer.h | 2 +- native/cocos/renderer/gfx-empty/EmptyDevice.h | 2 +- .../cocos/renderer/gfx-empty/EmptyTexture.cpp | 2 +- .../cocos/renderer/gfx-empty/EmptyTexture.h | 2 +- .../cocos/renderer/gfx-gles2/GLES2Buffer.cpp | 10 +- native/cocos/renderer/gfx-gles2/GLES2Buffer.h | 2 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 107 ++++---- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 81 ++++--- .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 6 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 36 +-- native/cocos/renderer/gfx-gles2/GLES2Device.h | 2 +- .../renderer/gfx-gles2/GLES2Framebuffer.cpp | 4 +- .../gfx-gles2/GLES2PipelineLayout.cpp | 3 +- .../renderer/gfx-gles2/GLES2PipelineState.cpp | 6 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 94 +++---- .../cocos/renderer/gfx-gles2/GLES2Texture.cpp | 8 +- .../cocos/renderer/gfx-gles2/GLES2Texture.h | 2 +- .../cocos/renderer/gfx-gles3/GLES3Buffer.cpp | 8 +- native/cocos/renderer/gfx-gles3/GLES3Buffer.h | 2 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 181 ++++++-------- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 31 +-- .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 8 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 46 ++-- native/cocos/renderer/gfx-gles3/GLES3Device.h | 2 +- .../renderer/gfx-gles3/GLES3Framebuffer.cpp | 4 +- .../gfx-gles3/GLES3PipelineLayout.cpp | 3 +- .../renderer/gfx-gles3/GLES3PipelineState.cpp | 6 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 133 ++++------ .../cocos/renderer/gfx-gles3/GLES3Texture.cpp | 8 +- .../cocos/renderer/gfx-gles3/GLES3Texture.h | 2 +- native/cocos/renderer/gfx-metal/MTLBuffer.h | 6 +- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 6 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 191 +++++++-------- native/cocos/renderer/gfx-metal/MTLDevice.h | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 32 +-- native/cocos/renderer/gfx-metal/MTLTexture.h | 2 +- native/cocos/renderer/gfx-metal/MTLTexture.mm | 4 +- .../gfx-validator/BufferValidator.cpp | 97 ++++++++ .../renderer/gfx-validator/BufferValidator.h | 51 ++++ .../gfx-validator/CommandBufferValidator.cpp | 229 ++++++++++++++++++ .../gfx-validator/CommandBufferValidator.h | 76 ++++++ .../DescriptorSetLayoutValidator.cpp | 48 ++++ .../DescriptorSetLayoutValidator.h | 45 ++++ .../gfx-validator/DescriptorSetValidator.cpp | 77 ++++++ .../gfx-validator/DescriptorSetValidator.h | 51 ++++ .../gfx-validator/DeviceValidator.cpp | 204 ++++++++++++++++ .../renderer/gfx-validator/DeviceValidator.h | 114 +++++++++ .../gfx-validator/FramebufferValidator.cpp | 61 +++++ .../gfx-validator/FramebufferValidator.h | 45 ++++ .../gfx-validator/InputAssemblerValidator.cpp | 102 ++++++++ .../gfx-validator/InputAssemblerValidator.h | 53 ++++ .../gfx-validator/PipelineLayoutValidator.cpp | 56 +++++ .../gfx-validator/PipelineLayoutValidator.h | 45 ++++ .../gfx-validator/PipelineStateValidator.cpp | 56 +++++ .../gfx-validator/PipelineStateValidator.h | 45 ++++ .../renderer/gfx-validator/QueueValidator.cpp | 61 +++++ .../renderer/gfx-validator/QueueValidator.h | 51 ++++ .../gfx-validator/RenderPassValidator.cpp | 48 ++++ .../gfx-validator/RenderPassValidator.h | 45 ++++ .../gfx-validator/SamplerValidator.cpp | 49 ++++ .../renderer/gfx-validator/SamplerValidator.h | 45 ++++ .../gfx-validator/ShaderValidator.cpp | 48 ++++ .../renderer/gfx-validator/ShaderValidator.h | 45 ++++ .../gfx-validator/TextureValidator.cpp | 75 ++++++ .../renderer/gfx-validator/TextureValidator.h | 47 ++++ native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 22 +- native/cocos/renderer/gfx-vulkan/VKBuffer.h | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 50 ++-- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 10 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 82 +++---- native/cocos/renderer/gfx-vulkan/VKDevice.h | 2 +- .../renderer/gfx-vulkan/VKFramebuffer.cpp | 4 +- .../renderer/gfx-vulkan/VKPipelineLayout.cpp | 3 +- .../renderer/gfx-vulkan/VKPipelineState.cpp | 6 +- .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 39 +-- native/cocos/renderer/gfx-vulkan/VKTexture.h | 2 +- .../renderer/gfx-vulkan/VKTextureBarrier.cpp | 4 +- .../renderer/pipeline/RenderBatchedQueue.cpp | 4 +- .../renderer/pipeline/RenderInstancedQueue.h | 9 +- native/templates/win32/AppDelegate.h | 6 +- 110 files changed, 2737 insertions(+), 862 deletions(-) rename native/cocos/renderer/{GFXDeviceCreator.h => GFXDeviceManager.h} (76%) create mode 100644 native/cocos/renderer/gfx-validator/BufferValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/BufferValidator.h create mode 100644 native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/CommandBufferValidator.h create mode 100644 native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h create mode 100644 native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/DescriptorSetValidator.h create mode 100644 native/cocos/renderer/gfx-validator/DeviceValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/DeviceValidator.h create mode 100644 native/cocos/renderer/gfx-validator/FramebufferValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/FramebufferValidator.h create mode 100644 native/cocos/renderer/gfx-validator/InputAssemblerValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/InputAssemblerValidator.h create mode 100644 native/cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/PipelineLayoutValidator.h create mode 100644 native/cocos/renderer/gfx-validator/PipelineStateValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/PipelineStateValidator.h create mode 100644 native/cocos/renderer/gfx-validator/QueueValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/QueueValidator.h create mode 100644 native/cocos/renderer/gfx-validator/RenderPassValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/RenderPassValidator.h create mode 100644 native/cocos/renderer/gfx-validator/SamplerValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/SamplerValidator.h create mode 100644 native/cocos/renderer/gfx-validator/ShaderValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/ShaderValidator.h create mode 100644 native/cocos/renderer/gfx-validator/TextureValidator.cpp create mode 100644 native/cocos/renderer/gfx-validator/TextureValidator.h diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index ff809aae9d..38cde6fe31 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -611,7 +611,7 @@ endif() ##### renderer cocos_source_files( - cocos/renderer/GFXDeviceCreator.h + cocos/renderer/GFXDeviceManager.h cocos/renderer/gfx-base/GFXObject.h NO_WERROR cocos/renderer/gfx-base/GFXObject.cpp @@ -653,6 +653,7 @@ cocos_source_files( cocos/renderer/gfx-base/GFXTexture.h NO_WERROR cocos/renderer/gfx-base/GFXTextureBarrier.cpp cocos/renderer/gfx-base/GFXTextureBarrier.h + cocos/renderer/gfx-agent/BufferAgent.h NO_WERROR cocos/renderer/gfx-agent/BufferAgent.cpp cocos/renderer/gfx-agent/CommandBufferAgent.h @@ -682,6 +683,36 @@ cocos_source_files( NO_WERROR cocos/renderer/gfx-agent/ShaderAgent.cpp cocos/renderer/gfx-agent/TextureAgent.h NO_WERROR cocos/renderer/gfx-agent/TextureAgent.cpp + + cocos/renderer/gfx-validator/BufferValidator.h + NO_WERROR cocos/renderer/gfx-validator/BufferValidator.cpp + cocos/renderer/gfx-validator/CommandBufferValidator.h + NO_WERROR cocos/renderer/gfx-validator/CommandBufferValidator.cpp + cocos/renderer/gfx-validator/DescriptorSetValidator.h + NO_WERROR cocos/renderer/gfx-validator/DescriptorSetValidator.cpp + cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h + NO_WERROR cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp + cocos/renderer/gfx-validator/DeviceValidator.h + NO_WERROR cocos/renderer/gfx-validator/DeviceValidator.cpp + cocos/renderer/gfx-validator/FramebufferValidator.h + NO_WERROR cocos/renderer/gfx-validator/FramebufferValidator.cpp + cocos/renderer/gfx-validator/InputAssemblerValidator.h + NO_WERROR cocos/renderer/gfx-validator/InputAssemblerValidator.cpp + cocos/renderer/gfx-validator/PipelineLayoutValidator.h + NO_WERROR cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp + cocos/renderer/gfx-validator/PipelineStateValidator.h + NO_WERROR cocos/renderer/gfx-validator/PipelineStateValidator.cpp + cocos/renderer/gfx-validator/QueueValidator.h + NO_WERROR cocos/renderer/gfx-validator/QueueValidator.cpp + cocos/renderer/gfx-validator/RenderPassValidator.h + NO_WERROR cocos/renderer/gfx-validator/RenderPassValidator.cpp + cocos/renderer/gfx-validator/SamplerValidator.h + NO_WERROR cocos/renderer/gfx-validator/SamplerValidator.cpp + cocos/renderer/gfx-validator/ShaderValidator.h + NO_WERROR cocos/renderer/gfx-validator/ShaderValidator.cpp + cocos/renderer/gfx-validator/TextureValidator.h + NO_WERROR cocos/renderer/gfx-validator/TextureValidator.cpp + cocos/renderer/gfx-empty/EmptyBuffer.h NO_WERROR cocos/renderer/gfx-empty/EmptyBuffer.cpp cocos/renderer/gfx-empty/EmptyCommandBuffer.h @@ -712,6 +743,7 @@ cocos_source_files( NO_WERROR cocos/renderer/gfx-empty/EmptyShader.cpp cocos/renderer/gfx-empty/EmptyTexture.h NO_WERROR cocos/renderer/gfx-empty/EmptyTexture.cpp + NO_WERROR cocos/renderer/pipeline/BatchedBuffer.cpp cocos/renderer/pipeline/BatchedBuffer.h cocos/renderer/pipeline/Define.h diff --git a/native/cocos/platform/android/Application-android.cpp b/native/cocos/platform/android/Application-android.cpp index c6dc110843..80e395d71e 100644 --- a/native/cocos/platform/android/Application-android.cpp +++ b/native/cocos/platform/android/Application-android.cpp @@ -36,7 +36,7 @@ #include "platform/android/jni/JniHelper.h" #include "platform/android/jni/JniCocosActivity.h" -#include "renderer/GFXDeviceCreator.h" +#include "renderer/GFXDeviceManager.h" #include "pipeline/Define.h" #define LOG_APP_TAG "Application_android Debug" @@ -73,7 +73,7 @@ bool setCanvasCallback(se::Object *global) { deviceInfo.nativeHeight = viewLogicalSize.y; deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; - gfx::DeviceCreator::createDevice(deviceInfo); + gfx::DeviceManager::create(deviceInfo); return true; } @@ -98,6 +98,8 @@ Application::~Application() { EventDispatcher::destroy(); se::ScriptEngine::destroyInstance(); + gfx::DeviceManager::destroy(); + Application::_instance = nullptr; } diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index d66d1eab62..10d9f1b101 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -34,7 +34,7 @@ #include "audio/include/AudioEngine.h" #include "platform/Device.h" -#include "renderer/GFXDeviceCreator.h" +#include "renderer/GFXDeviceManager.h" #include "pipeline/Define.h" @interface MyTimer : NSObject { @@ -119,7 +119,7 @@ namespace { deviceInfo.nativeHeight = nativeHeight; deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; - gfx::DeviceCreator::createDevice(deviceInfo); + gfx::DeviceManager::create(deviceInfo); return true; } @@ -148,6 +148,8 @@ Application::~Application() { EventDispatcher::destroy(); se::ScriptEngine::destroyInstance(); + gfx::DeviceManager::destroy(); + Application::_instance = nullptr; [_timer release]; diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index 8c91bddf26..0316211bd6 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -32,7 +32,7 @@ #include #include -#include "renderer/GFXDeviceCreator.h" +#include "renderer/GFXDeviceManager.h" #include "pipeline/Define.h" #import @@ -111,7 +111,7 @@ bool setCanvasCallback(se::Object *global) { deviceInfo.nativeHeight = viewLogicalSize.y; deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; - gfx::DeviceCreator::createDevice(deviceInfo); + gfx::DeviceManager::create(deviceInfo); return true; } @@ -145,6 +145,8 @@ Application::~Application() { EventDispatcher::destroy(); se::ScriptEngine::destroyInstance(); + gfx::DeviceManager::destroy(); + Application::_instance = nullptr; [_timer release]; } diff --git a/native/cocos/platform/win32/Application-win32.cpp b/native/cocos/platform/win32/Application-win32.cpp index 2bd0ac2a94..986a3910d4 100644 --- a/native/cocos/platform/win32/Application-win32.cpp +++ b/native/cocos/platform/win32/Application-win32.cpp @@ -42,6 +42,9 @@ #include #include +#include "renderer/GFXDeviceManager.h" +#include "pipeline/Define.h" + extern std::shared_ptr cc_get_application_view(); namespace cc { @@ -68,6 +71,8 @@ Application::~Application() { EventDispatcher::destroy(); se::ScriptEngine::destroyInstance(); + gfx::DeviceManager::destroy(); + Application::_instance = nullptr; } @@ -78,6 +83,19 @@ bool Application::init() { se::ScriptEngine::getInstance()->cleanup(); + auto view = cc_get_application_view(); + auto viewSize = view->getViewSize(); + + gfx::DeviceInfo deviceInfo; + deviceInfo.windowHandle = (uintptr_t)view->getWindowHandler(); + deviceInfo.width = viewSize[0]; + deviceInfo.height = viewSize[1]; + deviceInfo.nativeWidth = viewSize[0]; + deviceInfo.nativeHeight = viewSize[1]; + deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; + + gfx::DeviceManager::create(deviceInfo); + return true; } diff --git a/native/cocos/platform/win32/View-win32.cpp b/native/cocos/platform/win32/View-win32.cpp index 1209c7db80..c834d4fe89 100644 --- a/native/cocos/platform/win32/View-win32.cpp +++ b/native/cocos/platform/win32/View-win32.cpp @@ -27,9 +27,6 @@ #include "base/Log.h" #include -#include "renderer/GFXDeviceCreator.h" -#include "pipeline/Define.h" - using namespace cc; namespace { @@ -90,16 +87,6 @@ bool View::init() { return false; } - gfx::DeviceInfo deviceInfo; - deviceInfo.windowHandle = (uintptr_t)getWindowHandler(); - deviceInfo.width = _width; - deviceInfo.height = _height; - deviceInfo.nativeWidth = _width; - deviceInfo.nativeHeight = _height; - deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; - - gfx::DeviceCreator::createDevice(deviceInfo); - return true; } diff --git a/native/cocos/renderer/GFXDeviceCreator.h b/native/cocos/renderer/GFXDeviceManager.h similarity index 76% rename from native/cocos/renderer/GFXDeviceCreator.h rename to native/cocos/renderer/GFXDeviceManager.h index 7a043eb560..47ee3768bb 100644 --- a/native/cocos/renderer/GFXDeviceCreator.h +++ b/native/cocos/renderer/GFXDeviceManager.h @@ -29,6 +29,7 @@ #include "bindings/event/EventDispatcher.h" #include "gfx-agent/DeviceAgent.h" #include "gfx-empty/EmptyDevice.h" +#include "gfx-validator/DeviceValidator.h" #ifdef CC_USE_VULKAN #include "gfx-vulkan/GFXVulkan.h" @@ -49,9 +50,9 @@ namespace cc { namespace gfx { -class CC_DLL DeviceCreator final { +class CC_DLL DeviceManager final { public: - static Device *createDevice(const DeviceInfo &info) { + static Device *create(const DeviceInfo &info) { Device *device = nullptr; #ifdef CC_USE_VULKAN @@ -75,6 +76,10 @@ public: return nullptr; } + static void destroy() { + //CC_SAFE_DESTROY(Device::_instance); + } + private: template ::value>> static bool tryCreate(const DeviceInfo &info, Device *&device) { @@ -82,24 +87,35 @@ private: device = CC_NEW(gfx::DeviceAgent(device)); + if (CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION) { + device = CC_NEW(gfx::DeviceValidator(device)); + //((gfx::DeviceValidator *)device)->enableRecording(true); + } + if (!device->initialize(info)) { CC_SAFE_DELETE(device); return false; } EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [device](const CustomEvent &e) -> void { - DeviceCreator::releaseSurface(device, reinterpret_cast(e.args->ptrVal)); + device->releaseSurface(reinterpret_cast(e.args->ptrVal)); }); EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [device](const CustomEvent &e) -> void { - DeviceCreator::acquireSurface(device, reinterpret_cast(e.args->ptrVal)); + device->acquireSurface(reinterpret_cast(e.args->ptrVal)); }); + return true; } - static void releaseSurface(Device *device, uintptr_t windowHandle) { device->releaseSurface(windowHandle); } - static void acquireSurface(Device *device, uintptr_t windowHandle) { device->acquireSurface(windowHandle); } +// TODO: CI env doesn't have this? +#ifndef CC_DEBUG + static constexpr int CC_DEBUG{1}; +#endif + + static constexpr bool FORCE_DISABLE_VALIDATION{false}; + static constexpr bool FORCE_ENABLE_VALIDATION{false}; }; } // namespace gfx diff --git a/native/cocos/renderer/frame-graph/FrameGraph.cpp b/native/cocos/renderer/frame-graph/FrameGraph.cpp index 586274164b..e4084e81c6 100644 --- a/native/cocos/renderer/frame-graph/FrameGraph.cpp +++ b/native/cocos/renderer/frame-graph/FrameGraph.cpp @@ -113,11 +113,6 @@ void FrameGraph::gc(uint32_t const unusedFrameCount) noexcept { Texture::Allocator::getInstance().gc(unusedFrameCount); } -Handle FrameGraph::create(VirtualResource *const virtualResource) noexcept { - _virtualResources.emplace_back(virtualResource); - return createResourceNode(virtualResource); -} - void FrameGraph::move(const TextureHandle from, const TextureHandle to, uint8_t mipmapLevel, uint8_t faceId, uint8_t arrayPosition) noexcept { const ResourceNode &fromResourceNode = getResourceNode(from); const ResourceNode &toResourceNode = getResourceNode(to); @@ -158,6 +153,11 @@ void FrameGraph::move(const TextureHandle from, const TextureHandle to, uint8_t } } +Handle FrameGraph::create(VirtualResource *const virtualResource) noexcept { + _virtualResources.emplace_back(virtualResource); + return createResourceNode(virtualResource); +} + PassNode &FrameGraph::createPassNode(const PassInsertPoint insertPoint, const StringHandle &name, Executable *const pass) noexcept { _passNodes.emplace_back(new PassNode(insertPoint, name, static_cast(_passNodes.size()), pass)); return *_passNodes.back(); diff --git a/native/cocos/renderer/frame-graph/FrameGraph.h b/native/cocos/renderer/frame-graph/FrameGraph.h index e6e3706a8b..63db8afd5d 100644 --- a/native/cocos/renderer/frame-graph/FrameGraph.h +++ b/native/cocos/renderer/frame-graph/FrameGraph.h @@ -66,7 +66,6 @@ public: template TypedHandle create(const StringHandle &name, const typename ResourceType::Descriptor &desc) noexcept; - Handle create(VirtualResource *const virtualResource) noexcept; template TypedHandle importExternal(const StringHandle &name, ResourceType &resource) noexcept; void move(const TextureHandle from, const TextureHandle to, uint8_t mipmapLevel, uint8_t faceId, uint8_t arrayPosition) noexcept; @@ -79,6 +78,7 @@ public: CC_INLINE void enableMerge(bool const enable) noexcept; private: + Handle create(VirtualResource *const virtualResource) noexcept; PassNode & createPassNode(const PassInsertPoint insertPoint, const StringHandle &name, Executable *const pass) noexcept; Handle createResourceNode(VirtualResource *const virtualResource) noexcept; void sort() noexcept; diff --git a/native/cocos/renderer/frame-graph/PassNode.cpp b/native/cocos/renderer/frame-graph/PassNode.cpp index 992a42c852..0b457bc130 100644 --- a/native/cocos/renderer/frame-graph/PassNode.cpp +++ b/native/cocos/renderer/frame-graph/PassNode.cpp @@ -31,7 +31,7 @@ namespace cc { namespace framegraph { -PassNode::PassNode(const PassInsertPoint inserPoint, const StringHandle name, const ID &id, Executable *pass) noexcept +PassNode::PassNode(const PassInsertPoint inserPoint, const StringHandle name, const ID &id, Executable *pass) noexcept : _pass(pass), _name(name), _id(id), @@ -55,15 +55,15 @@ Handle PassNode::read(FrameGraph &graph, const Handle &input) noexcept { Handle PassNode::write(FrameGraph &graph, const Handle &output) noexcept { CC_ASSERT(check(graph, output, _reads)); CC_ASSERT(std::find_if(_writes.begin(), _writes.end(), [output](const Handle handle) { - return output == handle; - }) == _writes.end()); + return output == handle; + }) == _writes.end()); const ResourceNode &nodeOldVersion = graph.getResourceNode(output); nodeOldVersion.virtualResource->newVersion(); - _sideEffect = nodeOldVersion.virtualResource->isImported(); + _sideEffect = _sideEffect || nodeOldVersion.virtualResource->isImported(); const Handle handle = graph.createResourceNode(nodeOldVersion.virtualResource); ResourceNode &nodeNewVersion = graph.getResourceNode(handle); - nodeNewVersion.writer = this; + nodeNewVersion.writer = this; _writes.push_back(handle); return handle; } diff --git a/native/cocos/renderer/frame-graph/PassNode.h b/native/cocos/renderer/frame-graph/PassNode.h index d2ab4621a5..a1bdd8ae39 100644 --- a/native/cocos/renderer/frame-graph/PassNode.h +++ b/native/cocos/renderer/frame-graph/PassNode.h @@ -47,9 +47,9 @@ public: PassNode &operator=(const PassNode &) = delete; PassNode &operator=(PassNode &&) = delete; - Handle read(FrameGraph &graph, const Handle &input) noexcept; - Handle write(FrameGraph &graph, const Handle &output) noexcept; - void createRenderTargetAttachment(RenderTargetAttachment &&attachment) noexcept; + Handle read(FrameGraph &graph, const Handle &input) noexcept; + Handle write(FrameGraph &graph, const Handle &output) noexcept; + void createRenderTargetAttachment(RenderTargetAttachment &&attachment) noexcept; CC_INLINE void sideEffect() noexcept; CC_INLINE void subpass(bool clearActionIgnoreable, bool const end) noexcept; CC_INLINE void setViewport(const gfx::Viewport &viewport, const gfx::Rect &scissor) noexcept; @@ -85,9 +85,9 @@ private: bool _hasClearedAttachment{false}; bool _clearActionIgnoreable{false}; - bool _customViewport{false}; - gfx::Viewport _viewport; - gfx::Rect _scissor; + bool _customViewport{false}; + gfx::Viewport _viewport; + gfx::Rect _scissor; friend class FrameGraph; friend class DevicePass; @@ -108,8 +108,8 @@ void PassNode::subpass(bool clearActionIgnoreable, bool const end) noexcept { void PassNode::setViewport(const gfx::Viewport &viewport, const gfx::Rect &scissor) noexcept { _customViewport = true; - _viewport = viewport; - _scissor = scissor; + _viewport = viewport; + _scissor = scissor; } } // namespace framegraph diff --git a/native/cocos/renderer/gfx-agent/BufferAgent.cpp b/native/cocos/renderer/gfx-agent/BufferAgent.cpp index 62818dfeac..98c425a4ee 100644 --- a/native/cocos/renderer/gfx-agent/BufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/BufferAgent.cpp @@ -56,7 +56,7 @@ void BufferAgent::doInit(const BufferInfo &info) { void BufferAgent::doInit(const BufferViewInfo &info) { BufferViewInfo actorInfo = info; - actorInfo.buffer = ((BufferAgent *)info.buffer)->getActor(); + actorInfo.buffer = static_cast(info.buffer)->getActor(); ENQUEUE_MESSAGE_2( DeviceAgent::getInstance()->getMessageQueue(), @@ -68,7 +68,7 @@ void BufferAgent::doInit(const BufferViewInfo &info) { }); } -void BufferAgent::doResize(uint size) { +void BufferAgent::doResize(uint size, uint count) { ENQUEUE_MESSAGE_2( DeviceAgent::getInstance()->getMessageQueue(), BufferResize, diff --git a/native/cocos/renderer/gfx-agent/BufferAgent.h b/native/cocos/renderer/gfx-agent/BufferAgent.h index b0286d1ba3..8b0586a1d1 100644 --- a/native/cocos/renderer/gfx-agent/BufferAgent.h +++ b/native/cocos/renderer/gfx-agent/BufferAgent.h @@ -41,7 +41,7 @@ public: protected: void doInit(const BufferInfo &info) override; void doInit(const BufferViewInfo &info) override; - void doResize(uint size) override; + void doResize(uint size, uint count) override; void doDestroy() override; }; diff --git a/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp index fc1e6ee7ee..87810787e9 100644 --- a/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp @@ -105,7 +105,7 @@ void CommandBufferAgent::doInit(const CommandBufferInfo &info) { initMessageQueue(); CommandBufferInfo actorInfo = info; - actorInfo.queue = ((QueueAgent *)info.queue)->getActor(); + actorInfo.queue = static_cast(info.queue)->getActor(); ENQUEUE_MESSAGE_2( DeviceAgent::getInstance()->getMessageQueue(), CommandBufferInit, @@ -132,9 +132,9 @@ void CommandBufferAgent::begin(RenderPass *renderPass, uint subpass, Framebuffer _messageQueue, CommandBufferBegin, actor, getActor(), - renderPass, renderPass ? ((RenderPassAgent *)renderPass)->getActor() : nullptr, + renderPass, renderPass ? static_cast(renderPass)->getActor() : nullptr, subpass, subpass, - frameBuffer, frameBuffer ? ((FramebufferAgent *)frameBuffer)->getActor() : nullptr, + frameBuffer, frameBuffer ? static_cast(frameBuffer)->getActor() : nullptr, { actor->begin(renderPass, subpass, frameBuffer); }); @@ -150,7 +150,7 @@ void CommandBufferAgent::end() { } void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { - uint attachmentCount = (uint)renderPass->getColorAttachments().size(); + uint attachmentCount = static_cast(renderPass->getColorAttachments().size()); Color *actorColors = nullptr; if (attachmentCount) { actorColors = getAllocator()->allocate(attachmentCount); @@ -161,15 +161,15 @@ void CommandBufferAgent::beginRenderPass(RenderPass *renderPass, Framebuffer *fb if (secondaryCBCount) { actorSecondaryCBs = getAllocator()->allocate(secondaryCBCount); for (uint i = 0; i < secondaryCBCount; ++i) { - actorSecondaryCBs[i] = ((CommandBufferAgent *)secondaryCBs[i])->getActor(); + actorSecondaryCBs[i] = static_cast(secondaryCBs[i])->getActor(); } } ENQUEUE_MESSAGE_9( _messageQueue, CommandBufferBeginRenderPass, actor, getActor(), - renderPass, ((RenderPassAgent *)renderPass)->getActor(), - fbo, ((FramebufferAgent *)fbo)->getActor(), + renderPass, static_cast(renderPass)->getActor(), + fbo, static_cast(fbo)->getActor(), renderArea, renderArea, colors, actorColors, depth, depth, @@ -195,7 +195,7 @@ void CommandBufferAgent::execute(CommandBuffer *const *cmdBuffs, uint32_t count) CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { - actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); + actorCmdBuffs[i] = static_cast(cmdBuffs[i])->getActor(); } ENQUEUE_MESSAGE_3( @@ -212,7 +212,7 @@ void CommandBufferAgent::bindPipelineState(PipelineState *pso) { ENQUEUE_MESSAGE_2( _messageQueue, CommandBufferBindPipelineState, actor, getActor(), - pso, ((PipelineStateAgent *)pso)->getActor(), + pso, static_cast(pso)->getActor(), { actor->bindPipelineState(pso); }); @@ -229,7 +229,7 @@ void CommandBufferAgent::bindDescriptorSet(uint set, DescriptorSet *descriptorSe _messageQueue, CommandBufferBindDescriptorSet, actor, getActor(), set, set, - descriptorSet, ((DescriptorSetAgent *)descriptorSet)->getActor(), + descriptorSet, static_cast(descriptorSet)->getActor(), dynamicOffsetCount, dynamicOffsetCount, dynamicOffsets, actorDynamicOffsets, { @@ -241,7 +241,7 @@ void CommandBufferAgent::bindInputAssembler(InputAssembler *ia) { ENQUEUE_MESSAGE_2( _messageQueue, CommandBufferBindInputAssembler, actor, getActor(), - ia, ((InputAssemblerAgent *)ia)->getActor(), + ia, static_cast(ia)->getActor(), { actor->bindInputAssembler(ia); }); @@ -337,7 +337,7 @@ void CommandBufferAgent::draw(InputAssembler *ia) { ENQUEUE_MESSAGE_2( _messageQueue, CommandBufferDraw, actor, getActor(), - ia, ((InputAssemblerAgent *)ia)->getActor(), + ia, static_cast(ia)->getActor(), { actor->draw(ia); }); @@ -352,7 +352,7 @@ void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) ENQUEUE_MESSAGE_4( queue, CommandBufferUpdateBuffer, actor, getActor(), - buff, ((BufferAgent *)buff)->getActor(), + buff, static_cast(buff)->getActor(), data, actorData, size, size, { @@ -385,7 +385,7 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex _messageQueue, CommandBufferCopyBuffersToTexture, actor, getActor(), buffers, actorBuffers, - texture, ((TextureAgent *)texture)->getActor(), + texture, static_cast(texture)->getActor(), regions, actorRegions, count, count, { @@ -396,8 +396,8 @@ void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Tex void CommandBufferAgent::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { Texture *actorSrcTexture = nullptr; Texture *actorDstTexture = nullptr; - if (srcTexture) actorSrcTexture = ((TextureAgent *)srcTexture)->getActor(); - if (dstTexture) actorDstTexture = ((TextureAgent *)dstTexture)->getActor(); + if (srcTexture) actorSrcTexture = static_cast(srcTexture)->getActor(); + if (dstTexture) actorDstTexture = static_cast(dstTexture)->getActor(); TextureBlit *actorRegions = getAllocator()->allocate(count); memcpy(actorRegions, regions, count * sizeof(TextureBlit)); @@ -417,7 +417,7 @@ void CommandBufferAgent::blitTexture(Texture *srcTexture, Texture *dstTexture, c void CommandBufferAgent::dispatch(const DispatchInfo &info) { DispatchInfo actorInfo = info; - if (info.indirectBuffer) actorInfo.indirectBuffer = ((BufferAgent *)info.indirectBuffer)->getActor(); + if (info.indirectBuffer) actorInfo.indirectBuffer = static_cast(info.indirectBuffer)->getActor(); ENQUEUE_MESSAGE_2( _messageQueue, CommandBufferDispatch, @@ -438,7 +438,7 @@ void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const Tex actorTextures = getAllocator()->allocate(textureBarrierCount); for (uint i = 0u; i < textureBarrierCount; ++i) { - actorTextures[i] = textures[i] ? ((TextureAgent *)textures[i])->getActor() : nullptr; + actorTextures[i] = textures[i] ? static_cast(textures[i])->getActor() : nullptr; } } diff --git a/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp b/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp index 3918326ada..9dd94cddf7 100644 --- a/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp +++ b/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp @@ -48,7 +48,7 @@ DescriptorSetAgent::~DescriptorSetAgent() { void DescriptorSetAgent::doInit(const DescriptorSetInfo &info) { DescriptorSetInfo actorInfo; - actorInfo.layout = ((DescriptorSetLayoutAgent *)info.layout)->getActor(); + actorInfo.layout = static_cast(info.layout)->getActor(); ENQUEUE_MESSAGE_2( DeviceAgent::getInstance()->getMessageQueue(), @@ -88,7 +88,7 @@ void DescriptorSetAgent::bindBuffer(uint binding, Buffer *buffer, uint index) { DescriptorSetBindBuffer, actor, getActor(), binding, binding, - buffer, ((BufferAgent *)buffer)->getActor(), + buffer, static_cast(buffer)->getActor(), index, index, { actor->bindBuffer(binding, buffer, index); @@ -103,7 +103,7 @@ void DescriptorSetAgent::bindTexture(uint binding, Texture *texture, uint index) DescriptorSetBindTexture, actor, getActor(), binding, binding, - texture, ((TextureAgent *)texture)->getActor(), + texture, static_cast(texture)->getActor(), index, index, { actor->bindTexture(binding, texture, index); @@ -118,7 +118,7 @@ void DescriptorSetAgent::bindSampler(uint binding, Sampler *sampler, uint index) DescriptorSetBindSampler, actor, getActor(), binding, binding, - sampler, ((SamplerAgent *)sampler)->getActor(), + sampler, static_cast(sampler)->getActor(), index, index, { actor->bindSampler(binding, sampler, index); diff --git a/native/cocos/renderer/gfx-agent/DeviceAgent.cpp b/native/cocos/renderer/gfx-agent/DeviceAgent.cpp index 647201f583..764658e4b0 100644 --- a/native/cocos/renderer/gfx-agent/DeviceAgent.cpp +++ b/native/cocos/renderer/gfx-agent/DeviceAgent.cpp @@ -65,16 +65,16 @@ bool DeviceAgent::doInit(const DeviceInfo &info) { return false; } - _context = _actor->getContext(); - _API = _actor->getGfxAPI(); - _deviceName = _actor->getDeviceName(); - _queue = CC_NEW(QueueAgent(_actor->getQueue())); - _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer())); - ((CommandBufferAgent *)_cmdBuff)->_queue = _queue; - _renderer = _actor->getRenderer(); - _vendor = _actor->getVendor(); - _caps = _actor->_caps; - memcpy(_features, _actor->_features, (uint)Feature::COUNT * sizeof(bool)); + _context = _actor->getContext(); + _API = _actor->getGfxAPI(); + _deviceName = _actor->getDeviceName(); + _queue = CC_NEW(QueueAgent(_actor->getQueue())); + _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer())); + static_cast(_cmdBuff)->_queue = _queue; + _renderer = _actor->getRenderer(); + _vendor = _actor->getVendor(); + _caps = _actor->_caps; + memcpy(_features, _actor->_features, static_cast(Feature::COUNT) * sizeof(bool)); _mainEncoder = CC_NEW(MessageQueue); @@ -82,9 +82,9 @@ bool DeviceAgent::doInit(const DeviceInfo &info) { for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { _allocatorPools[i] = CC_NEW(LinearAllocatorPool); } - ((CommandBufferAgent *)_cmdBuff)->initMessageQueue(); + static_cast(_cmdBuff)->initMessageQueue(); - setMultithreaded(true); + //setMultithreaded(true); return true; } @@ -98,13 +98,13 @@ void DeviceAgent::doDestroy() { }); if (_cmdBuff) { - ((CommandBufferAgent *)_cmdBuff)->destroyMessageQueue(); - ((CommandBufferAgent *)_cmdBuff)->_actor = nullptr; + static_cast(_cmdBuff)->destroyMessageQueue(); + static_cast(_cmdBuff)->_actor = nullptr; CC_DELETE(_cmdBuff); _cmdBuff = nullptr; } if (_queue) { - ((QueueAgent *)_queue)->_actor = nullptr; + static_cast(_queue)->_actor = nullptr; CC_DELETE(_queue); _queue = nullptr; } @@ -292,7 +292,7 @@ void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *d _mainEncoder, DeviceCopyBuffersToTexture, actor, getActor(), buffers, actorBuffers, - dst, ((TextureAgent *)dst)->getActor(), + dst, static_cast(dst)->getActor(), regions, actorRegions, count, count, { @@ -305,9 +305,9 @@ void DeviceAgent::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { bool multiThreaded = hasFeature(Feature::MULTITHREADED_SUBMISSION); - const CommandBufferAgent **agentCmdBuffs = getMainAllocator()->allocate(count); + CommandBufferAgent **agentCmdBuffs = getMainAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { - agentCmdBuffs[i] = (const CommandBufferAgent *)cmdBuffs[i]; + agentCmdBuffs[i] = static_cast(cmdBuffs[i]); MessageQueue::freeChunksInFreeQueue(agentCmdBuffs[i]->_messageQueue); agentCmdBuffs[i]->_messageQueue->finishWriting(); } @@ -315,7 +315,7 @@ void DeviceAgent::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { ENQUEUE_MESSAGE_3( _mainEncoder, DeviceFlushCommands, count, count, - cmdBuffs, (CommandBufferAgent *const *)agentCmdBuffs, + cmdBuffs, agentCmdBuffs, multiThreaded, multiThreaded, { CommandBufferAgent::flushCommands(count, cmdBuffs, multiThreaded); diff --git a/native/cocos/renderer/gfx-agent/DeviceAgent.h b/native/cocos/renderer/gfx-agent/DeviceAgent.h index 5c534641fa..79f4dfc03d 100644 --- a/native/cocos/renderer/gfx-agent/DeviceAgent.h +++ b/native/cocos/renderer/gfx-agent/DeviceAgent.h @@ -102,7 +102,7 @@ public: protected: static DeviceAgent *_instance; - friend class DeviceCreator; + friend class DeviceManager; friend class CommandBufferAgent; DeviceAgent(Device *device); @@ -110,6 +110,12 @@ protected: bool doInit(const DeviceInfo &info) override; void doDestroy() override; + void releaseSurface(uintptr_t windowHandle) override { _actor->releaseSurface(windowHandle); } + void acquireSurface(uintptr_t windowHandle) override { _actor->acquireSurface(windowHandle); } + + void bindRenderContext(bool bound) override { _actor->bindRenderContext(bound); } + void bindDeviceContext(bool bound) override { _actor->bindDeviceContext(bound); } + bool _multithreaded{false}; MessageQueue *_mainEncoder{nullptr}; diff --git a/native/cocos/renderer/gfx-agent/FramebufferAgent.cpp b/native/cocos/renderer/gfx-agent/FramebufferAgent.cpp index 240d40ccca..02621b478b 100644 --- a/native/cocos/renderer/gfx-agent/FramebufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/FramebufferAgent.cpp @@ -48,13 +48,13 @@ void FramebufferAgent::doInit(const FramebufferInfo &info) { FramebufferInfo actorInfo = info; for (uint i = 0u; i < info.colorTextures.size(); ++i) { if (info.colorTextures[i]) { - actorInfo.colorTextures[i] = ((TextureAgent *)info.colorTextures[i])->getActor(); + actorInfo.colorTextures[i] = static_cast(info.colorTextures[i])->getActor(); } } if (info.depthStencilTexture) { - actorInfo.depthStencilTexture = ((TextureAgent *)info.depthStencilTexture)->getActor(); + actorInfo.depthStencilTexture = static_cast(info.depthStencilTexture)->getActor(); } - actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); + actorInfo.renderPass = static_cast(info.renderPass)->getActor(); ENQUEUE_MESSAGE_2( DeviceAgent::getInstance()->getMessageQueue(), diff --git a/native/cocos/renderer/gfx-agent/InputAssemblerAgent.cpp b/native/cocos/renderer/gfx-agent/InputAssemblerAgent.cpp index 1d1a613030..a61fb0023a 100644 --- a/native/cocos/renderer/gfx-agent/InputAssemblerAgent.cpp +++ b/native/cocos/renderer/gfx-agent/InputAssemblerAgent.cpp @@ -46,13 +46,13 @@ InputAssemblerAgent::~InputAssemblerAgent() { void InputAssemblerAgent::doInit(const InputAssemblerInfo &info) { InputAssemblerInfo actorInfo = info; for (uint i = 0u; i < actorInfo.vertexBuffers.size(); ++i) { - actorInfo.vertexBuffers[i] = ((BufferAgent *)actorInfo.vertexBuffers[i])->getActor(); + actorInfo.vertexBuffers[i] = static_cast(actorInfo.vertexBuffers[i])->getActor(); } if (actorInfo.indexBuffer) { - actorInfo.indexBuffer = ((BufferAgent *)actorInfo.indexBuffer)->getActor(); + actorInfo.indexBuffer = static_cast(actorInfo.indexBuffer)->getActor(); } if (actorInfo.indirectBuffer) { - actorInfo.indirectBuffer = ((BufferAgent *)actorInfo.indirectBuffer)->getActor(); + actorInfo.indirectBuffer = static_cast(actorInfo.indirectBuffer)->getActor(); } ENQUEUE_MESSAGE_2( diff --git a/native/cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp b/native/cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp index a89ca40315..4687d007d2 100644 --- a/native/cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp +++ b/native/cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp @@ -47,7 +47,7 @@ void PipelineLayoutAgent::doInit(const PipelineLayoutInfo &info) { PipelineLayoutInfo actorInfo; actorInfo.setLayouts.resize(info.setLayouts.size()); for (uint i = 0u; i < info.setLayouts.size(); i++) { - actorInfo.setLayouts[i] = ((DescriptorSetLayoutAgent *)info.setLayouts[i])->getActor(); + actorInfo.setLayouts[i] = static_cast(info.setLayouts[i])->getActor(); } ENQUEUE_MESSAGE_2( diff --git a/native/cocos/renderer/gfx-agent/PipelineStateAgent.cpp b/native/cocos/renderer/gfx-agent/PipelineStateAgent.cpp index e51f58f28a..1f8194936d 100644 --- a/native/cocos/renderer/gfx-agent/PipelineStateAgent.cpp +++ b/native/cocos/renderer/gfx-agent/PipelineStateAgent.cpp @@ -47,9 +47,9 @@ PipelineStateAgent::~PipelineStateAgent() { void PipelineStateAgent::doInit(const PipelineStateInfo &info) { PipelineStateInfo actorInfo = info; - actorInfo.shader = ((ShaderAgent *)info.shader)->getActor(); - actorInfo.pipelineLayout = ((PipelineLayoutAgent *)info.pipelineLayout)->getActor(); - if (info.renderPass) actorInfo.renderPass = ((RenderPassAgent *)info.renderPass)->getActor(); + actorInfo.shader = static_cast(info.shader)->getActor(); + actorInfo.pipelineLayout = static_cast(info.pipelineLayout)->getActor(); + if (info.renderPass) actorInfo.renderPass = static_cast(info.renderPass)->getActor(); ENQUEUE_MESSAGE_2( DeviceAgent::getInstance()->getMessageQueue(), diff --git a/native/cocos/renderer/gfx-agent/QueueAgent.cpp b/native/cocos/renderer/gfx-agent/QueueAgent.cpp index 3667b548e1..7daaaa968c 100644 --- a/native/cocos/renderer/gfx-agent/QueueAgent.cpp +++ b/native/cocos/renderer/gfx-agent/QueueAgent.cpp @@ -72,7 +72,7 @@ void QueueAgent::submit(CommandBuffer *const *cmdBuffs, uint count) { LinearAllocatorPool *allocator = DeviceAgent::getInstance()->getMainAllocator(); CommandBuffer ** actorCmdBuffs = allocator->allocate(count); for (uint i = 0u; i < count; ++i) { - actorCmdBuffs[i] = ((CommandBufferAgent *)cmdBuffs[i])->getActor(); + actorCmdBuffs[i] = static_cast(cmdBuffs[i])->getActor(); } ENQUEUE_MESSAGE_3( diff --git a/native/cocos/renderer/gfx-agent/TextureAgent.cpp b/native/cocos/renderer/gfx-agent/TextureAgent.cpp index 3394db27e8..de922a6ca8 100644 --- a/native/cocos/renderer/gfx-agent/TextureAgent.cpp +++ b/native/cocos/renderer/gfx-agent/TextureAgent.cpp @@ -55,7 +55,7 @@ void TextureAgent::doInit(const TextureInfo &info) { void TextureAgent::doInit(const TextureViewInfo &info) { TextureViewInfo actorInfo = info; - actorInfo.texture = ((TextureAgent *)info.texture)->getActor(); + actorInfo.texture = static_cast(info.texture)->getActor(); ENQUEUE_MESSAGE_2( DeviceAgent::getInstance()->getMessageQueue(), @@ -77,7 +77,7 @@ void TextureAgent::doDestroy() { }); } -void TextureAgent::doResize(uint width, uint height) { +void TextureAgent::doResize(uint width, uint height, uint size) { ENQUEUE_MESSAGE_3( DeviceAgent::getInstance()->getMessageQueue(), TextureResize, diff --git a/native/cocos/renderer/gfx-agent/TextureAgent.h b/native/cocos/renderer/gfx-agent/TextureAgent.h index eb8728b570..3e33e44371 100644 --- a/native/cocos/renderer/gfx-agent/TextureAgent.h +++ b/native/cocos/renderer/gfx-agent/TextureAgent.h @@ -40,7 +40,7 @@ protected: void doInit(const TextureInfo &info) override; void doInit(const TextureViewInfo &info) override; void doDestroy() override; - void doResize(uint width, uint height) override; + void doResize(uint width, uint height, uint size) override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-base/GFXBuffer.cpp b/native/cocos/renderer/gfx-base/GFXBuffer.cpp index fb0d60324c..af6c7165a9 100644 --- a/native/cocos/renderer/gfx-base/GFXBuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXBuffer.cpp @@ -82,14 +82,14 @@ void Buffer::destroy() { } void Buffer::resize(uint size) { - CCASSERT(!_isBufferView, "Cannot resize buffer views"); - if (size != _size) { - doResize(size); + uint count = size / _stride; + doResize(size, count); + Device::getInstance()->getMemoryStatus().bufferSize -= _size; _size = size; - _count = size / _stride; + _count = count; Device::getInstance()->getMemoryStatus().bufferSize += _size; } diff --git a/native/cocos/renderer/gfx-base/GFXBuffer.h b/native/cocos/renderer/gfx-base/GFXBuffer.h index 1b402cab4e..8fb6394dc2 100644 --- a/native/cocos/renderer/gfx-base/GFXBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXBuffer.h @@ -54,7 +54,7 @@ public: protected: virtual void doInit(const BufferInfo &info) = 0; virtual void doInit(const BufferViewInfo &info) = 0; - virtual void doResize(uint size) = 0; + virtual void doResize(uint size, uint count) = 0; virtual void doDestroy() = 0; BufferUsage _usage = BufferUsageBit::NONE; diff --git a/native/cocos/renderer/gfx-base/GFXDevice.h b/native/cocos/renderer/gfx-base/GFXDevice.h index 32a7cc6cb2..eccafc74a1 100644 --- a/native/cocos/renderer/gfx-base/GFXDevice.h +++ b/native/cocos/renderer/gfx-base/GFXDevice.h @@ -111,7 +111,8 @@ protected: static Device *_instance; friend class DeviceAgent; - friend class DeviceCreator; + friend class DeviceValidator; + friend class DeviceManager; Device(); @@ -151,7 +152,7 @@ protected: String _renderer; String _vendor; String _version; - bool _features[static_cast(Feature::COUNT)]; + bool _features[static_cast(Feature::COUNT)]; uint _width = 0; uint _height = 0; uint _nativeWidth = 0; diff --git a/native/cocos/renderer/gfx-base/GFXTexture.cpp b/native/cocos/renderer/gfx-base/GFXTexture.cpp index 0d3663dc2f..0593f6376f 100644 --- a/native/cocos/renderer/gfx-base/GFXTexture.cpp +++ b/native/cocos/renderer/gfx-base/GFXTexture.cpp @@ -68,40 +68,6 @@ void Texture::initialize(const TextureInfo &info) { _flags = info.flags; _size = FormatSize(_format, _width, _height, _depth); -//#if CC_DEBUG > 0 -// switch (_format) { // device feature validation -// case Format::D16: -// if (Device::getInstance()->hasFeature(Feature::FORMAT_D16)) break; -// CC_LOG_ERROR("D16 texture format is not supported on this backend"); -// return; -// case Format::D16S8: -// if (Device::getInstance()->hasFeature(Feature::FORMAT_D16S8)) break; -// CC_LOG_ERROR("D16S8 texture format is not supported on this backend"); -// return; -// case Format::D24: -// if (Device::getInstance()->hasFeature(Feature::FORMAT_D24)) break; -// CC_LOG_ERROR("D24 texture format is not supported on this backend"); -// return; -// case Format::D24S8: -// if (Device::getInstance()->hasFeature(Feature::FORMAT_D24S8)) break; -// CC_LOG_ERROR("D24S8 texture format is not supported on this backend"); -// return; -// case Format::D32F: -// if (Device::getInstance()->hasFeature(Feature::FORMAT_D32F)) break; -// CC_LOG_ERROR("D32F texture format is not supported on this backend"); -// return; -// case Format::D32F_S8: -// if (Device::getInstance()->hasFeature(Feature::FORMAT_D32FS8)) break; -// CC_LOG_ERROR("D32FS8 texture format is not supported on this backend"); -// return; -// case Format::RGB8: -// if (Device::getInstance()->hasFeature(Feature::FORMAT_RGB8)) break; -// CC_LOG_ERROR("RGB8 texture format is not supported on this backend"); -// return; -// default: break; -// } -//#endif - Device::getInstance()->getMemoryStatus().textureSize += _size; doInit(info); @@ -138,16 +104,15 @@ void Texture::destroy() { } void Texture::resize(uint width, uint height) { - CCASSERT(!_isTextureView, "Cannot resize texture views"); - if (_width != width || _height != height) { - doResize(width, height); + uint size = FormatSize(_format, width, height, _depth); + doResize(width, height, size); Device::getInstance()->getMemoryStatus().textureSize -= _size; _width = width; _height = height; - _size = FormatSize(_format, width, height, _depth); + _size = size; Device::getInstance()->getMemoryStatus().textureSize += _size; } } diff --git a/native/cocos/renderer/gfx-base/GFXTexture.h b/native/cocos/renderer/gfx-base/GFXTexture.h index 214d86f9d4..fdcfd96f3b 100644 --- a/native/cocos/renderer/gfx-base/GFXTexture.h +++ b/native/cocos/renderer/gfx-base/GFXTexture.h @@ -62,10 +62,10 @@ protected: return _idGen++; } - virtual void doInit(const TextureInfo &info) = 0; - virtual void doInit(const TextureViewInfo &info) = 0; - virtual void doDestroy() = 0; - virtual void doResize(uint width, uint height) = 0; + virtual void doInit(const TextureInfo &info) = 0; + virtual void doInit(const TextureViewInfo &info) = 0; + virtual void doDestroy() = 0; + virtual void doResize(uint width, uint height, uint size) = 0; uint _textureID = 0; TextureType _type = TextureType::TEX2D; diff --git a/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp b/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp index b53812b235..c3a8ef16d0 100644 --- a/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp +++ b/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp @@ -34,7 +34,7 @@ void EmptyBuffer::doInit(const BufferInfo &info) { void EmptyBuffer::doInit(const BufferViewInfo &info) { } -void EmptyBuffer::doResize(uint size) { +void EmptyBuffer::doResize(uint size, uint count) { } void EmptyBuffer::doDestroy() { diff --git a/native/cocos/renderer/gfx-empty/EmptyBuffer.h b/native/cocos/renderer/gfx-empty/EmptyBuffer.h index 32ea1dc9f8..8eb107eee5 100644 --- a/native/cocos/renderer/gfx-empty/EmptyBuffer.h +++ b/native/cocos/renderer/gfx-empty/EmptyBuffer.h @@ -37,7 +37,7 @@ public: protected: void doInit(const BufferInfo &info) override; void doInit(const BufferViewInfo &info) override; - void doResize(uint size) override; + void doResize(uint size, uint count) override; void doDestroy() override; }; diff --git a/native/cocos/renderer/gfx-empty/EmptyDevice.h b/native/cocos/renderer/gfx-empty/EmptyDevice.h index 8421390246..f60368783c 100644 --- a/native/cocos/renderer/gfx-empty/EmptyDevice.h +++ b/native/cocos/renderer/gfx-empty/EmptyDevice.h @@ -77,7 +77,7 @@ public: protected: static EmptyDevice *_instance; - friend class DeviceCreator; + friend class DeviceManager; EmptyDevice(); diff --git a/native/cocos/renderer/gfx-empty/EmptyTexture.cpp b/native/cocos/renderer/gfx-empty/EmptyTexture.cpp index f27ec3deeb..550d2ce745 100644 --- a/native/cocos/renderer/gfx-empty/EmptyTexture.cpp +++ b/native/cocos/renderer/gfx-empty/EmptyTexture.cpp @@ -37,7 +37,7 @@ void EmptyTexture::doInit(const TextureViewInfo &info) { void EmptyTexture::doDestroy() { } -void EmptyTexture::doResize(uint width, uint height) { +void EmptyTexture::doResize(uint width, uint height, uint size) { } } // namespace gfx diff --git a/native/cocos/renderer/gfx-empty/EmptyTexture.h b/native/cocos/renderer/gfx-empty/EmptyTexture.h index c4bfbf3205..fd21174f9f 100644 --- a/native/cocos/renderer/gfx-empty/EmptyTexture.h +++ b/native/cocos/renderer/gfx-empty/EmptyTexture.h @@ -36,7 +36,7 @@ protected: void doInit(const TextureInfo &info) override; void doInit(const TextureViewInfo &info) override; void doDestroy() override; - void doResize(uint width, uint height) override; + void doResize(uint width, uint height, uint size) override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp index 6d8d4a032d..701b35b48d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp @@ -72,17 +72,13 @@ void GLES2Buffer::doDestroy() { CC_SAFE_DELETE(_gpuBufferView); } -void GLES2Buffer::doResize(uint size) { - _gpuBuffer->size = _size; - _gpuBuffer->count = _count; +void GLES2Buffer::doResize(uint size, uint count) { + _gpuBuffer->size = size; + _gpuBuffer->count = count; GLES2CmdFuncResizeBuffer(GLES2Device::getInstance(), _gpuBuffer); } void GLES2Buffer::update(void *buffer, uint size) { - CCASSERT(!_isBufferView, "Cannot update through buffer views"); - CCASSERT(size != 0, "Should not update buffer with 0 bytes of data"); - CCASSERT(buffer, "Buffer should not be nullptr"); - GLES2CmdFuncUpdateBuffer(GLES2Device::getInstance(), _gpuBuffer, buffer, 0u, size); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h index 46e9e78522..2dbb7fbd79 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h @@ -47,7 +47,7 @@ protected: void doInit(const BufferInfo &info) override; void doInit(const BufferViewInfo &info) override; void doDestroy() override; - void doResize(uint size) override; + void doResize(uint size, uint count) override; GLES2GPUBuffer * _gpuBuffer = nullptr; GLES2GPUBufferView *_gpuBufferView = nullptr; diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index f51ad0f7a2..c407310cac 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -109,8 +109,8 @@ void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb _isInRenderPass = true; GLES2CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); - cmd->gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); - cmd->gpuFBO = ((GLES2Framebuffer *)fbo)->gpuFBO(); + cmd->gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); + cmd->gpuFBO = static_cast(fbo)->gpuFBO(); cmd->renderArea = renderArea; cmd->numClearColors = cmd->gpuRenderPass->colorAttachments.size(); for (size_t i = 0; i < cmd->numClearColors; ++i) { @@ -128,7 +128,7 @@ void GLES2CommandBuffer::endRenderPass() { } void GLES2CommandBuffer::bindPipelineState(PipelineState *pso) { - GLES2GPUPipelineState *gpuPipelineState = ((GLES2PipelineState *)pso)->gpuPipelineState(); + GLES2GPUPipelineState *gpuPipelineState = static_cast(pso)->gpuPipelineState(); if (_curGPUPipelineState != gpuPipelineState) { _curGPUPipelineState = gpuPipelineState; _isStateInvalid = true; @@ -138,7 +138,7 @@ void GLES2CommandBuffer::bindPipelineState(PipelineState *pso) { void GLES2CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { CCASSERT(_curGPUDescriptorSets.size() > set, "Invalid set index"); - GLES2GPUDescriptorSet *gpuDescriptorSet = ((GLES2DescriptorSet *)descriptorSet)->gpuDescriptorSet(); + GLES2GPUDescriptorSet *gpuDescriptorSet = static_cast(descriptorSet)->gpuDescriptorSet(); if (_curGPUDescriptorSets[set] != gpuDescriptorSet) { _curGPUDescriptorSets[set] = gpuDescriptorSet; _isStateInvalid = true; @@ -150,7 +150,7 @@ void GLES2CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } void GLES2CommandBuffer::bindInputAssembler(InputAssembler *ia) { - _curGPUInputAssember = ((GLES2InputAssembler *)ia)->gpuInputAssembler(); + _curGPUInputAssember = static_cast(ia)->gpuInputAssembler(); _isStateInvalid = true; } @@ -238,77 +238,62 @@ void GLES2CommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint m } void GLES2CommandBuffer::draw(InputAssembler *ia) { - if ((_type == CommandBufferType::PRIMARY && _isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - if (_isStateInvalid) { - BindStates(); - } + if (_isStateInvalid) { + BindStates(); + } - GLES2CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); - ((GLES2InputAssembler *)ia)->ExtractCmdDraw(cmd); - _curCmdPackage->drawCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::DRAW); + GLES2CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); + static_cast(ia)->ExtractCmdDraw(cmd); + _curCmdPackage->drawCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::DRAW); - ++_numDrawCalls; - _numInstances += ia->getInstanceCount(); - if (_curGPUPipelineState) { - switch (_curGPUPipelineState->glPrimitive) { - case GL_TRIANGLES: { - if (ia->getIndexBuffer() == nullptr) { - _numTriangles += ia->getVertexCount() / 3 * std::max(ia->getInstanceCount(), 1U); - } else { - _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); - } - break; + ++_numDrawCalls; + _numInstances += ia->getInstanceCount(); + if (_curGPUPipelineState) { + switch (_curGPUPipelineState->glPrimitive) { + case GL_TRIANGLES: { + if (ia->getIndexBuffer() == nullptr) { + _numTriangles += ia->getVertexCount() / 3 * std::max(ia->getInstanceCount(), 1U); + } else { + _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); } - case GL_TRIANGLE_STRIP: - case GL_TRIANGLE_FAN: { - _numTriangles += (ia->getVertexCount() - 2) * std::max(ia->getInstanceCount(), 1U); - break; - } - default: - break; + break; } + case GL_TRIANGLE_STRIP: + case GL_TRIANGLE_FAN: { + _numTriangles += (ia->getVertexCount() - 2) * std::max(ia->getInstanceCount(), 1U); + break; + } + default: + break; } - } else { - CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); } } void GLES2CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - GLES2GPUBuffer *gpuBuffer = ((GLES2Buffer *)buff)->gpuBuffer(); - if (gpuBuffer) { - GLES2CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); - cmd->gpuBuffer = gpuBuffer; - cmd->size = size; - cmd->buffer = (uint8_t *)data; + GLES2GPUBuffer *gpuBuffer = static_cast(buff)->gpuBuffer(); + if (gpuBuffer) { + GLES2CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); + cmd->gpuBuffer = gpuBuffer; + cmd->size = size; + cmd->buffer = (uint8_t *)data; - _curCmdPackage->updateBufferCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::UPDATE_BUFFER); - } - } else { - CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); + _curCmdPackage->updateBufferCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::UPDATE_BUFFER); } } void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - GLES2GPUTexture *gpuTexture = ((GLES2Texture *)texture)->gpuTexture(); - if (gpuTexture) { - GLES2CmdCopyBufferToTexture *cmd = _cmdAllocator->copyBufferToTextureCmdPool.alloc(); - cmd->gpuTexture = gpuTexture; - cmd->regions = regions; - cmd->count = count; - cmd->buffers = buffers; + GLES2GPUTexture *gpuTexture = static_cast(texture)->gpuTexture(); + if (gpuTexture) { + GLES2CmdCopyBufferToTexture *cmd = _cmdAllocator->copyBufferToTextureCmdPool.alloc(); + cmd->gpuTexture = gpuTexture; + cmd->regions = regions; + cmd->count = count; + cmd->buffers = buffers; - _curCmdPackage->copyBufferToTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::COPY_BUFFER_TO_TEXTURE); - } - } else { - CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); + _curCmdPackage->copyBufferToTextureCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::COPY_BUFFER_TO_TEXTURE); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 89b2788a2e..bf59becdcf 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -35,7 +35,7 @@ #include "cocos/bindings/event/EventDispatcher.h" #endif -#define FORCE_DISABLE_VALIDATION 1 +#define FORCE_DISABLE_VALIDATION 1 namespace cc { namespace gfx { @@ -46,7 +46,7 @@ void GL_APIENTRY GLES2EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, - const void *userParam) { + const void * userParam) { String sourceDesc; switch (source) { case GL_DEBUG_SOURCE_API_KHR: sourceDesc = "API"; break; @@ -102,7 +102,7 @@ GLES2Context::~GLES2Context() { bool GLES2Context::doInit(const ContextInfo &info) { - _vsyncMode = info.vsyncMode; + _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; ////////////////////////////////////////////////////////////////////////// @@ -113,21 +113,22 @@ bool GLES2Context::doInit(const ContextInfo &info) { } _isPrimaryContex = true; - _windowHandle = info.windowHandle; + _windowHandle = info.windowHandle; #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) - _nativeDisplay = (NativeDisplayType)GetDC((HWND)_windowHandle); + _nativeDisplay = GetDC(reinterpret_cast(_windowHandle)); if (!_nativeDisplay) { return false; } EGL_CHECK(_eglDisplay = eglGetDisplay(_nativeDisplay)); if (_eglDisplay == EGL_NO_DISPLAY) { - EGL_CHECK(_eglDisplay = eglGetDisplay((EGLNativeDisplayType)EGL_DEFAULT_DISPLAY)); + EGL_CHECK(_eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)); } #else - EGL_CHECK(_eglDisplay = eglGetDisplay((EGLNativeDisplayType)EGL_DEFAULT_DISPLAY)); + EGL_CHECK(_eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)); #endif + // If a display still couldn't be obtained, return an error. if (_eglDisplay == EGL_NO_DISPLAY) { CC_LOG_ERROR("eglGetDisplay() - FAILED."); @@ -146,7 +147,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { // rather than any other API (such as OpenVG). EGL_CHECK(eglBindAPI(EGL_OPENGL_ES_API)); - _colorFmt = Format::RGBA8; + _colorFmt = Format::RGBA8; _depthStencilFmt = Format::D24S8; const EGLint attribs[] = { @@ -177,7 +178,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { return false; } - EGLint depth = attribs[13]; + EGLint depth = attribs[13]; EGLint stencil = attribs[15]; CC_LOG_INFO("Setup EGLConfig: depth [%d] stencil [%d]", depth, stencil); @@ -199,8 +200,8 @@ bool GLES2Context::doInit(const ContextInfo &info) { } CC_LOG_INFO("Chosen EGLConfig: color [%s], depth stencil [%s].", - GFX_FORMAT_INFOS[(int)_colorFmt].name.c_str(), - GFX_FORMAT_INFOS[(int)_depthStencilFmt].name.c_str()); + GFX_FORMAT_INFOS[static_cast(_colorFmt)].name.c_str(), + GFX_FORMAT_INFOS[static_cast(_depthStencilFmt)].name.c_str()); /** * EGL_NATIVE_VISUAL_ID is an attribute of the EGLConfig that is @@ -216,12 +217,12 @@ bool GLES2Context::doInit(const ContextInfo &info) { return false; } - uint width = GLES2Device::getInstance()->getWidth(); + uint width = GLES2Device::getInstance()->getWidth(); uint height = GLES2Device::getInstance()->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); #endif - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), NULL)); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Window surface created failed."); return false; @@ -230,12 +231,12 @@ bool GLES2Context::doInit(const ContextInfo &info) { //String eglVendor = eglQueryString(_eglDisplay, EGL_VENDOR); //String eglVersion = eglQueryString(_eglDisplay, EGL_VERSION); - EGL_CHECK(_extensions = StringUtil::Split((const char *)eglQueryString(_eglDisplay, EGL_EXTENSIONS), " ")); + EGL_CHECK(_extensions = StringUtil::Split(eglQueryString(_eglDisplay, EGL_EXTENSIONS), " ")); _majorVersion = 2; _minorVersion = 0; EGLint ctxAttribs[32]; - uint n = 0; + uint n = 0; bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); if (hasKHRCreateCtx) { @@ -247,11 +248,11 @@ bool GLES2Context::doInit(const ContextInfo &info) { ctxAttribs[n++] = _majorVersion; ctxAttribs[n++] = EGL_CONTEXT_MINOR_VERSION_KHR; ctxAttribs[n++] = _minorVersion; - ctxAttribs[n] = EGL_NONE; + ctxAttribs[n] = EGL_NONE; } else { ctxAttribs[n++] = EGL_CONTEXT_CLIENT_VERSION; ctxAttribs[n++] = _majorVersion; - ctxAttribs[n] = EGL_NONE; + ctxAttribs[n] = EGL_NONE; } EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, NULL, ctxAttribs)); @@ -260,7 +261,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { return false; } -#if (CC_PLATFORM == CC_PLATFORM_ANDROID) + #if (CC_PLATFORM == CC_PLATFORM_ANDROID) EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent & /*unused*/) -> void { if (_eglSurface != EGL_NO_SURFACE) { eglDestroySurface(_eglDisplay, _eglSurface); @@ -277,7 +278,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { CC_LOG_ERROR("Getting configuration attributes failed."); return; } - uint width = GLES2Device::getInstance()->getWidth(); + uint width = GLES2Device::getInstance()->getWidth(); uint height = GLES2Device::getInstance()->getHeight(); ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); @@ -290,26 +291,26 @@ bool GLES2Context::doInit(const ContextInfo &info) { ((GLES2Context *)GLES2Device::getInstance()->getContext())->MakeCurrent(); GLES2Device::getInstance()->stateCache()->reset(); }); -#endif + #endif _eglSharedContext = _eglContext; } else { - GLES2Context *sharedCtx = (GLES2Context *)info.sharedCtx; + GLES2Context *sharedCtx = static_cast(info.sharedCtx); - _majorVersion = sharedCtx->major_ver(); - _minorVersion = sharedCtx->minor_ver(); - _nativeDisplay = sharedCtx->native_display(); - _eglDisplay = sharedCtx->egl_display(); - _eglConfig = sharedCtx->egl_config(); + _majorVersion = sharedCtx->major_ver(); + _minorVersion = sharedCtx->minor_ver(); + _nativeDisplay = sharedCtx->native_display(); + _eglDisplay = sharedCtx->egl_display(); + _eglConfig = sharedCtx->egl_config(); _eglSharedContext = sharedCtx->egl_shared_ctx(); - _eglSurface = sharedCtx->egl_surface(); - _colorFmt = sharedCtx->getColorFormat(); - _depthStencilFmt = sharedCtx->getDepthStencilFormat(); - _majorVersion = sharedCtx->major_ver(); - _minorVersion = sharedCtx->minor_ver(); - _extensions = sharedCtx->_extensions; - _isInitialized = sharedCtx->_isInitialized; + _eglSurface = sharedCtx->egl_surface(); + _colorFmt = sharedCtx->getColorFormat(); + _depthStencilFmt = sharedCtx->getDepthStencilFormat(); + _majorVersion = sharedCtx->major_ver(); + _minorVersion = sharedCtx->minor_ver(); + _extensions = sharedCtx->_extensions; + _isInitialized = sharedCtx->_isInitialized; bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); if (!hasKHRCreateCtx) { @@ -319,7 +320,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { } EGLint ctxAttribs[32]; - uint n = 0; + uint n = 0; if (hasKHRCreateCtx) { ctxAttribs[n++] = EGL_CONTEXT_MAJOR_VERSION_KHR; @@ -369,16 +370,16 @@ void GLES2Context::doDestroy() { #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) if (_nativeDisplay) { - ReleaseDC((HWND)_windowHandle, _nativeDisplay); + ReleaseDC(reinterpret_cast(_windowHandle), _nativeDisplay); } #endif } _isPrimaryContex = false; - _windowHandle = 0; - _nativeDisplay = 0; - _vsyncMode = VsyncMode::OFF; - _isInitialized = false; + _windowHandle = 0; + _nativeDisplay = 0; + _vsyncMode = VsyncMode::OFF; + _isInitialized = false; } bool GLES2Context::MakeCurrentImpl(bool bound) { @@ -470,7 +471,7 @@ bool GLES2Context::MakeCurrent(bool bound) { GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); + GL_CHECK(glBlendColor(0.0f, 0.0f, 0.0f, 0.0f)); CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index e0f7be88a9..121f3c5a8b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -43,7 +43,7 @@ GLES2DescriptorSet::~GLES2DescriptorSet() { } void GLES2DescriptorSet::doInit(const DescriptorSetInfo &info) { - const GLES2GPUDescriptorSetLayout *gpuDescriptorSetLayout = ((GLES2DescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); + const GLES2GPUDescriptorSetLayout *gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; const size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); @@ -85,10 +85,10 @@ void GLES2DescriptorSet::update() { } } else if (descriptors[i].type & DESCRIPTOR_TEXTURE_TYPE) { if (_textures[i]) { - _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = ((GLES2Texture *)_textures[i])->gpuTexture(); + _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = static_cast(_textures[i])->gpuTexture(); } if (_samplers[i]) { - _gpuDescriptorSet->gpuDescriptors[i].gpuSampler = ((GLES2Sampler *)_samplers[i])->gpuSampler(); + _gpuDescriptorSet->gpuDescriptors[i].gpuSampler = static_cast(_samplers[i])->gpuSampler(); } } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 2483938d02..acd2604045 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -90,63 +90,63 @@ bool GLES2Device::doInit(const DeviceInfo &info) { _extensions = StringUtil::Split(extStr, " "); if (checkExtension("GL_OES_texture_float")) { - _features[(int)Feature::TEXTURE_FLOAT] = true; + _features[static_cast(Feature::TEXTURE_FLOAT)] = true; } if (checkExtension("GL_OES_texture_half_float")) { - _features[(int)Feature::TEXTURE_HALF_FLOAT] = true; + _features[static_cast(Feature::TEXTURE_HALF_FLOAT)] = true; } - _features[(int)Feature::FORMAT_R11G11B10F] = true; - _features[(int)Feature::FORMAT_D24S8] = true; - _features[(int)Feature::MSAA] = true; + _features[static_cast(Feature::FORMAT_R11G11B10F)] = true; + _features[static_cast(Feature::FORMAT_D24S8)] = true; + _features[static_cast(Feature::MSAA)] = true; if (checkExtension("GL_OES_element_index_uint")) { - _features[(int)Feature::ELEMENT_INDEX_UINT] = true; + _features[static_cast(Feature::ELEMENT_INDEX_UINT)] = true; } if (checkExtension("color_buffer_float")) - _features[(int)Feature::COLOR_FLOAT] = true; + _features[static_cast(Feature::COLOR_FLOAT)] = true; if (checkExtension("color_buffer_half_float")) - _features[(int)Feature::COLOR_HALF_FLOAT] = true; + _features[static_cast(Feature::COLOR_HALF_FLOAT)] = true; if (checkExtension("texture_float_linear")) - _features[(int)Feature::TEXTURE_FLOAT_LINEAR] = true; + _features[static_cast(Feature::TEXTURE_FLOAT_LINEAR)] = true; if (checkExtension("texture_half_float_linear")) - _features[(int)Feature::TEXTURE_HALF_FLOAT_LINEAR] = true; + _features[static_cast(Feature::TEXTURE_HALF_FLOAT_LINEAR)] = true; if (checkExtension("draw_buffers")) - _features[(int)Feature::MULTIPLE_RENDER_TARGETS] = true; + _features[static_cast(Feature::MULTIPLE_RENDER_TARGETS)] = true; if (checkExtension("blend_minmax")) - _features[(int)Feature::BLEND_MINMAX] = true; + _features[static_cast(Feature::BLEND_MINMAX)] = true; _useVAO = checkExtension("vertex_array_object"); _useDrawInstanced = checkExtension("draw_instanced"); - _useInstancedArrays = _features[(int)Feature::INSTANCED_ARRAYS] = checkExtension("instanced_arrays"); + _useInstancedArrays = _features[static_cast(Feature::INSTANCED_ARRAYS)] = checkExtension("instanced_arrays"); _useDiscardFramebuffer = checkExtension("discard_framebuffer"); String compressedFmts; if (checkExtension("compressed_ETC1")) { - _features[(int)Feature::FORMAT_ETC1] = true; + _features[static_cast(Feature::FORMAT_ETC1)] = true; compressedFmts += "etc1 "; } if (checkForETC2()) { - _features[(int)Feature::FORMAT_ETC2] = true; + _features[static_cast(Feature::FORMAT_ETC2)] = true; compressedFmts += "etc2 "; } if (checkExtension("texture_compression_pvrtc")) { - _features[(int)Feature::FORMAT_PVRTC] = true; + _features[static_cast(Feature::FORMAT_PVRTC)] = true; compressedFmts += "pvrtc "; } if (checkExtension("texture_compression_astc")) { - _features[(int)Feature::FORMAT_ASTC] = true; + _features[static_cast(Feature::FORMAT_ASTC)] = true; compressedFmts += "astc "; } _features[static_cast(Feature::DEPTH_BOUNDS)] = true; @@ -312,7 +312,7 @@ TextureBarrier *GLES2Device::createTextureBarrier() { } void GLES2Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - GLES2CmdFuncCopyBuffersToTexture(this, buffers, ((GLES2Texture *)dst)->gpuTexture(), regions, count); + GLES2CmdFuncCopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count); } bool GLES2Device::checkForETC2() const { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index bf763d0bd5..302599cd28 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -91,7 +91,7 @@ public: protected: static GLES2Device * _instance; - friend class DeviceCreator; + friend class DeviceManager; friend class GLES2Context; GLES2Device(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp index a2d488fb33..16a2cadc63 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp @@ -56,7 +56,7 @@ void GLES2Framebuffer::doInit(const FramebufferInfo &info) { } _gpuFBO = CC_NEW(GLES2GPUFramebuffer); - _gpuFBO->gpuRenderPass = ((GLES2RenderPass *)_renderPass)->gpuRenderPass(); + _gpuFBO->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); _gpuFBO->gpuColorTextures.resize(_colorTextures.size()); for (size_t i = 0; i < _colorTextures.size(); ++i) { @@ -67,7 +67,7 @@ void GLES2Framebuffer::doInit(const FramebufferInfo &info) { } if (_depthStencilTexture) { - _gpuFBO->gpuDepthStencilTexture = ((GLES2Texture *)_depthStencilTexture)->gpuTexture(); + _gpuFBO->gpuDepthStencilTexture = static_cast(_depthStencilTexture)->gpuTexture(); } GLES2CmdFuncCreateFramebuffer(GLES2Device::getInstance(), _gpuFBO); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp index 9221f47af1..0e01c830bd 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp @@ -46,8 +46,7 @@ void GLES2PipelineLayout::doInit(const PipelineLayoutInfo &info) { _gpuPipelineLayout->dynamicOffsetIndices.resize(_setLayouts.size()); for (uint i = 0u; i < _setLayouts.size(); i++) { DescriptorSetLayout *setLayout = _setLayouts[i]; - CCASSERT(setLayout != nullptr, "SetLayout should not be nullptr."); - GLES2GPUDescriptorSetLayout *gpuSetLayout = ((GLES2DescriptorSetLayout *)setLayout)->gpuDescriptorSetLayout(); + GLES2GPUDescriptorSetLayout *gpuSetLayout = static_cast(setLayout)->gpuDescriptorSetLayout(); size_t dynamicCount = gpuSetLayout->dynamicBindings.size(); vector &indices = _gpuPipelineLayout->dynamicOffsetIndices[i]; indices.assign(setLayout->getBindingIndices().size(), -1); diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp index 22e62c5857..11269c687a 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp @@ -61,12 +61,12 @@ GLES2PipelineState::~GLES2PipelineState() { void GLES2PipelineState::doInit(const PipelineStateInfo &info) { _gpuPipelineState = CC_NEW(GLES2GPUPipelineState); _gpuPipelineState->glPrimitive = GLES2Primitives[(int)_primitive]; - _gpuPipelineState->gpuShader = ((GLES2Shader *)_shader)->gpuShader(); + _gpuPipelineState->gpuShader = static_cast(_shader)->gpuShader(); _gpuPipelineState->rs = _rasterizerState; _gpuPipelineState->dss = _depthStencilState; _gpuPipelineState->bs = _blendState; - _gpuPipelineState->gpuPipelineLayout = ((GLES2PipelineLayout *)_pipelineLayout)->gpuPipelineLayout(); - if (_renderPass) _gpuPipelineState->gpuRenderPass = ((GLES2RenderPass *)_renderPass)->gpuRenderPass(); + _gpuPipelineState->gpuPipelineLayout = static_cast(_pipelineLayout)->gpuPipelineLayout(); + if (_renderPass) _gpuPipelineState->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); for (uint i = 0; i < 31; i++) { if ((uint)_dynamicStates & (1 << i)) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index a6707bdabe..efee7d2152 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -64,8 +64,8 @@ void GLES2PrimaryCommandBuffer::end() { void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { _isInRenderPass = true; - GLES2GPURenderPass *gpuRenderPass = ((GLES2RenderPass *)renderPass)->gpuRenderPass(); - GLES2GPUFramebuffer *gpuFramebuffer = ((GLES2Framebuffer *)fbo)->gpuFBO(); + GLES2GPURenderPass *gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); + GLES2GPUFramebuffer *gpuFramebuffer = static_cast(fbo)->gpuFBO(); GLES2CmdFuncBeginRenderPass(GLES2Device::getInstance(), gpuRenderPass, gpuFramebuffer, renderArea, gpuRenderPass->colorAttachments.size(), colors, depth, stencil); @@ -77,73 +77,55 @@ void GLES2PrimaryCommandBuffer::endRenderPass() { } void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { - if ((_type == CommandBufferType::PRIMARY && _isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - - if (_isStateInvalid) { - vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { - size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; - //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); - count = std::min(count, _curDynamicOffsets[i].size()); - if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); - } - GLES2CmdFuncBindState(GLES2Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, - _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); - - _isStateInvalid = false; + if (_isStateInvalid) { + vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); + count = std::min(count, _curDynamicOffsets[i].size()); + if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } + GLES2CmdFuncBindState(GLES2Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, + _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); - DrawInfo drawInfo; - ia->extractDrawInfo(drawInfo); - GLES2CmdFuncDraw(GLES2Device::getInstance(), drawInfo); + _isStateInvalid = false; + } - ++_numDrawCalls; - _numInstances += ia->getInstanceCount(); - if (_curGPUPipelineState) { - switch (_curGPUPipelineState->glPrimitive) { - case GL_TRIANGLES: { - _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); - break; - } - case GL_TRIANGLE_STRIP: - case GL_TRIANGLE_FAN: { - _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); - break; - } - default: - break; + DrawInfo drawInfo; + ia->extractDrawInfo(drawInfo); + GLES2CmdFuncDraw(GLES2Device::getInstance(), drawInfo); + + ++_numDrawCalls; + _numInstances += ia->getInstanceCount(); + if (_curGPUPipelineState) { + switch (_curGPUPipelineState->glPrimitive) { + case GL_TRIANGLES: { + _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); + break; } + case GL_TRIANGLE_STRIP: + case GL_TRIANGLE_FAN: { + _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); + break; + } + default: + break; } - } else { - CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); } } void GLES2PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - - GLES2GPUBuffer *gpuBuffer = ((GLES2Buffer *)buff)->gpuBuffer(); - if (gpuBuffer) { - GLES2CmdFuncUpdateBuffer(GLES2Device::getInstance(), gpuBuffer, data, 0u, size); - } - } else { - CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); + GLES2GPUBuffer *gpuBuffer = static_cast(buff)->gpuBuffer(); + if (gpuBuffer) { + GLES2CmdFuncUpdateBuffer(GLES2Device::getInstance(), gpuBuffer, data, 0u, size); } } void GLES2PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - - GLES2GPUTexture *gpuTexture = ((GLES2Texture *)texture)->gpuTexture(); - if (gpuTexture) { - GLES2CmdFuncCopyBuffersToTexture(GLES2Device::getInstance(), buffers, gpuTexture, regions, count); - } - } else { - CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); + GLES2GPUTexture *gpuTexture = static_cast(texture)->gpuTexture(); + if (gpuTexture) { + GLES2CmdFuncCopyBuffersToTexture(GLES2Device::getInstance(), buffers, gpuTexture, regions, count); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp index 27454b53a2..46418a74db 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp @@ -69,10 +69,10 @@ void GLES2Texture::doDestroy() { } } -void GLES2Texture::doResize(uint width, uint height) { - _gpuTexture->width = _width; - _gpuTexture->height = _height; - _gpuTexture->size = _size; +void GLES2Texture::doResize(uint width, uint height, uint size) { + _gpuTexture->width = width; + _gpuTexture->height = height; + _gpuTexture->size = size; GLES2CmdFuncResizeTexture(GLES2Device::getInstance(), _gpuTexture); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.h b/native/cocos/renderer/gfx-gles2/GLES2Texture.h index 1ef6ad568b..8da288a472 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.h @@ -43,7 +43,7 @@ protected: void doInit(const TextureInfo &info) override; void doInit(const TextureViewInfo &info) override; void doDestroy() override; - void doResize(uint width, uint height) override; + void doResize(uint width, uint height, uint size) override; GLES2GPUTexture *_gpuTexture = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp index d22e8e787b..ede5517642 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp @@ -79,15 +79,13 @@ void GLES3Buffer::doDestroy() { } } -void GLES3Buffer::doResize(uint size) { - _gpuBuffer->size = _size; - _gpuBuffer->count = _count; +void GLES3Buffer::doResize(uint size, uint count) { + _gpuBuffer->size = size; + _gpuBuffer->count = count; GLES3CmdFuncResizeBuffer(GLES3Device::getInstance(), _gpuBuffer); } void GLES3Buffer::update(void *buffer, uint size) { - CCASSERT(!_isBufferView, "Cannot update through buffer views"); - GLES3CmdFuncUpdateBuffer(GLES3Device::getInstance(), _gpuBuffer, buffer, 0u, size); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h index bebff0394e..a4176ed58c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h @@ -45,7 +45,7 @@ protected: void doInit(const BufferInfo &info) override; void doInit(const BufferViewInfo &info) override; void doDestroy() override; - void doResize(uint size) override; + void doResize(uint size, uint count) override; GLES3GPUBuffer *_gpuBuffer = nullptr; }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 5697047da3..4a3a49774c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -108,8 +108,8 @@ void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fb _isInRenderPass = true; GLES3CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); - cmd->gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); - cmd->gpuFBO = ((GLES3Framebuffer *)fbo)->gpuFBO(); + cmd->gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); + cmd->gpuFBO = static_cast(fbo)->gpuFBO(); cmd->renderArea = renderArea; cmd->numClearColors = cmd->gpuRenderPass->colorAttachments.size(); for (size_t i = 0; i < cmd->numClearColors; ++i) { @@ -127,7 +127,7 @@ void GLES3CommandBuffer::endRenderPass() { } void GLES3CommandBuffer::bindPipelineState(PipelineState *pso) { - GLES3GPUPipelineState *gpuPipelineState = ((GLES3PipelineState *)pso)->gpuPipelineState(); + GLES3GPUPipelineState *gpuPipelineState = static_cast(pso)->gpuPipelineState(); if (_curGPUPipelineState != gpuPipelineState) { _curGPUPipelineState = gpuPipelineState; _isStateInvalid = true; @@ -137,7 +137,7 @@ void GLES3CommandBuffer::bindPipelineState(PipelineState *pso) { void GLES3CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { CCASSERT(_curGPUDescriptorSets.size() > set, "Invalid set index"); - GLES3GPUDescriptorSet *gpuDescriptorSet = ((GLES3DescriptorSet *)descriptorSet)->gpuDescriptorSet(); + GLES3GPUDescriptorSet *gpuDescriptorSet = static_cast(descriptorSet)->gpuDescriptorSet(); if (_curGPUDescriptorSets[set] != gpuDescriptorSet) { _curGPUDescriptorSets[set] = gpuDescriptorSet; _isStateInvalid = true; @@ -149,7 +149,7 @@ void GLES3CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe } void GLES3CommandBuffer::bindInputAssembler(InputAssembler *ia) { - _curGPUInputAssember = ((GLES3InputAssembler *)ia)->gpuInputAssembler(); + _curGPUInputAssember = static_cast(ia)->gpuInputAssembler(); _isStateInvalid = true; } @@ -244,95 +244,71 @@ void GLES3CommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint m } void GLES3CommandBuffer::draw(InputAssembler *ia) { - if ((_type == CommandBufferType::PRIMARY && _isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { + if (_isStateInvalid) { + BindStates(); + } - if (_isStateInvalid) { - BindStates(); - } + GLES3CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); + static_cast(ia)->ExtractCmdDraw(cmd); + _curCmdPackage->drawCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::DRAW); - GLES3CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); - ((GLES3InputAssembler *)ia)->ExtractCmdDraw(cmd); - _curCmdPackage->drawCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::DRAW); - - ++_numDrawCalls; - _numInstances += ia->getInstanceCount(); - if (_curGPUPipelineState) { - switch (_curGPUPipelineState->glPrimitive) { - case GL_TRIANGLES: { - _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); - break; - } - case GL_TRIANGLE_STRIP: - case GL_TRIANGLE_FAN: { - _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); - break; - } - default: - break; + ++_numDrawCalls; + _numInstances += ia->getInstanceCount(); + if (_curGPUPipelineState) { + switch (_curGPUPipelineState->glPrimitive) { + case GL_TRIANGLES: { + _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); + break; } + case GL_TRIANGLE_STRIP: + case GL_TRIANGLE_FAN: { + _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); + break; + } + default: + break; } - } else { - CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); } } void GLES3CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { + GLES3GPUBuffer *gpuBuffer = static_cast(buff)->gpuBuffer(); + if (gpuBuffer) { + GLES3CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); + cmd->gpuBuffer = gpuBuffer; + cmd->size = size; + cmd->buffer = (uint8_t *)data; - GLES3GPUBuffer *gpuBuffer = ((GLES3Buffer *)buff)->gpuBuffer(); - if (gpuBuffer) { - GLES3CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); - cmd->gpuBuffer = gpuBuffer; - cmd->size = size; - cmd->buffer = (uint8_t *)data; - - _curCmdPackage->updateBufferCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::UPDATE_BUFFER); - } - } else { - CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); + _curCmdPackage->updateBufferCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::UPDATE_BUFFER); } } void GLES3CommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { + GLES3CmdBlitTexture *cmd = _cmdAllocator->blitTextureCmdPool.alloc(); + if (srcTexture) cmd->gpuTextureSrc = static_cast(srcTexture)->gpuTexture(); + if (dstTexture) cmd->gpuTextureDst = static_cast(dstTexture)->gpuTexture(); + cmd->regions = regions; + cmd->count = count; + cmd->filter = filter; - GLES3CmdBlitTexture *cmd = _cmdAllocator->blitTextureCmdPool.alloc(); - if (srcTexture) cmd->gpuTextureSrc = ((GLES3Texture *)srcTexture)->gpuTexture(); - if (dstTexture) cmd->gpuTextureDst = ((GLES3Texture *)dstTexture)->gpuTexture(); - cmd->regions = regions; - cmd->count = count; - cmd->filter = filter; - - _curCmdPackage->blitTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::BLIT_TEXTURE); - } else { - CC_LOG_ERROR("Command 'blitTexture' must be recorded outside a render pass."); - } + _curCmdPackage->blitTextureCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::BLIT_TEXTURE); } void GLES3CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { + GLES3GPUTexture *gpuTexture = static_cast(texture)->gpuTexture(); + if (gpuTexture) { + GLES3CmdCopyBufferToTexture *cmd = _cmdAllocator->copyBufferToTextureCmdPool.alloc(); + cmd->gpuTexture = gpuTexture; + cmd->gpuTexture = gpuTexture; + cmd->regions = regions; + cmd->count = count; + cmd->buffers = buffers; - GLES3GPUTexture *gpuTexture = ((GLES3Texture *)texture)->gpuTexture(); - if (gpuTexture) { - GLES3CmdCopyBufferToTexture *cmd = _cmdAllocator->copyBufferToTextureCmdPool.alloc(); - cmd->gpuTexture = gpuTexture; - cmd->gpuTexture = gpuTexture; - cmd->regions = regions; - cmd->count = count; - cmd->buffers = buffers; - - _curCmdPackage->copyBufferToTextureCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::COPY_BUFFER_TO_TEXTURE); - } - } else { - CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); + _curCmdPackage->copyBufferToTextureCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::COPY_BUFFER_TO_TEXTURE); } } @@ -434,44 +410,33 @@ void GLES3CommandBuffer::BindStates() { } void GLES3CommandBuffer::dispatch(const DispatchInfo &info) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - - if (_isStateInvalid) { - BindStates(); - } - - GLES3CmdDispatch *cmd = _cmdAllocator->dispatchCmdPool.alloc(); - if (info.indirectBuffer) { - cmd->dispatchInfo.indirectBuffer = ((GLES3Buffer *)info.indirectBuffer)->gpuBuffer(); - cmd->dispatchInfo.indirectOffset = info.indirectOffset; - } else { - cmd->dispatchInfo.groupCountX = info.groupCountX; - cmd->dispatchInfo.groupCountY = info.groupCountY; - cmd->dispatchInfo.groupCountZ = info.groupCountZ; - } - _curCmdPackage->dispatchCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::DISPATCH); - } else { - CC_LOG_ERROR("Command 'dispatch' must be recorded outside a render pass."); + if (_isStateInvalid) { + BindStates(); } + + GLES3CmdDispatch *cmd = _cmdAllocator->dispatchCmdPool.alloc(); + if (info.indirectBuffer) { + cmd->dispatchInfo.indirectBuffer = static_cast(info.indirectBuffer)->gpuBuffer(); + cmd->dispatchInfo.indirectOffset = info.indirectOffset; + } else { + cmd->dispatchInfo.groupCountX = info.groupCountX; + cmd->dispatchInfo.groupCountY = info.groupCountY; + cmd->dispatchInfo.groupCountZ = info.groupCountZ; + } + _curCmdPackage->dispatchCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::DISPATCH); } void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - if (!barrier) return; + if (!barrier) return; - const GLES3GPUGlobalBarrier *gpuBarrier = ((GLES3GlobalBarrier *)barrier)->gpuBarrier(); + auto gpuBarrier = static_cast(barrier)->gpuBarrier(); - GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); - cmd->barriers = gpuBarrier->glBarriers; - cmd->barriersByRegion = gpuBarrier->glBarriersByRegion; - _curCmdPackage->barrierCmds.push(cmd); - _curCmdPackage->cmds.push(GLESCmdType::BARRIER); - } else { - CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); - } + GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); + cmd->barriers = gpuBarrier->glBarriers; + cmd->barriersByRegion = gpuBarrier->glBarriersByRegion; + _curCmdPackage->barrierCmds.push(cmd); + _curCmdPackage->cmds.push(GLESCmdType::BARRIER); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 46f070a351..cbe6498b09 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -109,18 +109,19 @@ bool GLES3Context::doInit(const ContextInfo &info) { _windowHandle = info.windowHandle; #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) - _nativeDisplay = (NativeDisplayType)GetDC((HWND)_windowHandle); + _nativeDisplay = GetDC(reinterpret_cast(_windowHandle)); if (!_nativeDisplay) { return false; } EGL_CHECK(_eglDisplay = eglGetDisplay(_nativeDisplay)); if (_eglDisplay == EGL_NO_DISPLAY) { - EGL_CHECK(_eglDisplay = eglGetDisplay((EGLNativeDisplayType)EGL_DEFAULT_DISPLAY)); + EGL_CHECK(_eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)); } #else - EGL_CHECK(_eglDisplay = eglGetDisplay((EGLNativeDisplayType)EGL_DEFAULT_DISPLAY)); + EGL_CHECK(_eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY)); #endif + // If a display still couldn't be obtained, return an error. if (_eglDisplay == EGL_NO_DISPLAY) { CC_LOG_ERROR("eglGetDisplay() - FAILED."); @@ -191,13 +192,13 @@ bool GLES3Context::doInit(const ContextInfo &info) { } CC_LOG_INFO("Chosen EGLConfig: color [%s], depth stencil [%s].", - GFX_FORMAT_INFOS[(int)_colorFmt].name.c_str(), - GFX_FORMAT_INFOS[(int)_depthStencilFmt].name.c_str()); + GFX_FORMAT_INFOS[static_cast(_colorFmt)].name.c_str(), + GFX_FORMAT_INFOS[static_cast(_depthStencilFmt)].name.c_str()); /* EGL_NATIVE_VISUAL_ID is an attribute of the EGLConfig that is - * guaranteed to be accepted by ANativeWindow_setBuffersGeometry(). - * As soon as we picked a EGLConfig, we can safely reconfigure the - * ANativeWindow buffers to match, using EGL_NATIVE_VISUAL_ID. */ + * guaranteed to be accepted by ANativeWindow_setBuffersGeometry(). + * As soon as we picked a EGLConfig, we can safely reconfigure the + * ANativeWindow buffers to match, using EGL_NATIVE_VISUAL_ID. */ #if (CC_PLATFORM == CC_PLATFORM_ANDROID) EGLint nFmt; @@ -211,7 +212,7 @@ bool GLES3Context::doInit(const ContextInfo &info) { ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); #endif - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), NULL)); if (_eglSurface == EGL_NO_SURFACE) { auto err = eglGetError(); CC_LOG_ERROR("Window surface created failed. code %d", err); @@ -221,7 +222,7 @@ bool GLES3Context::doInit(const ContextInfo &info) { //String eglVendor = eglQueryString(_eglDisplay, EGL_VENDOR); //String eglVersion = eglQueryString(_eglDisplay, EGL_VERSION); - EGL_CHECK(_extensions = StringUtil::Split((const char *)eglQueryString(_eglDisplay, EGL_EXTENSIONS), " ")); + EGL_CHECK(_extensions = StringUtil::Split(eglQueryString(_eglDisplay, EGL_EXTENSIONS), " ")); _majorVersion = 3; _minorVersion = 0; @@ -338,7 +339,7 @@ void GLES3Context::doDestroy() { #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) if (_nativeDisplay) { - ReleaseDC((HWND)_windowHandle, _nativeDisplay); + ReleaseDC(reinterpret_cast(_windowHandle), _nativeDisplay); } #endif } @@ -370,15 +371,15 @@ void GLES3Context::acquireSurface(uintptr_t windowHandle) { } uint width = GLES3Device::getInstance()->getWidth(); uint height = GLES3Device::getInstance()->getHeight(); - ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); + ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), NULL)); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Recreate window surface failed."); return; } - ((GLES3Context *)GLES3Device::getInstance()->getContext())->MakeCurrent(); + static_cast(GLES3Device::getInstance()->getContext())->MakeCurrent(); GLES3Device::getInstance()->stateCache()->reset(); #endif } @@ -471,7 +472,7 @@ bool GLES3Context::MakeCurrent(bool bound) { GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor((GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f, (GLclampf)0.0f)); + GL_CHECK(glBlendColor(0.0f, 0.0f, 0.0f, 0.0f)); CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index 867485dcc8..cb4a084f32 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -43,7 +43,7 @@ GLES3DescriptorSet::~GLES3DescriptorSet() { } void GLES3DescriptorSet::doInit(const DescriptorSetInfo &info) { - const GLES3GPUDescriptorSetLayout *gpuDescriptorSetLayout = ((GLES3DescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); + const GLES3GPUDescriptorSetLayout *gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; const size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); @@ -72,14 +72,14 @@ void GLES3DescriptorSet::update() { for (size_t i = 0; i < descriptors.size(); i++) { if (descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { if (_buffers[i]) { - _gpuDescriptorSet->gpuDescriptors[i].gpuBuffer = ((GLES3Buffer *)_buffers[i])->gpuBuffer(); + _gpuDescriptorSet->gpuDescriptors[i].gpuBuffer = static_cast(_buffers[i])->gpuBuffer(); } } else if (descriptors[i].type & DESCRIPTOR_TEXTURE_TYPE) { if (_textures[i]) { - _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = ((GLES3Texture *)_textures[i])->gpuTexture(); + _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = static_cast(_textures[i])->gpuTexture(); } if (_samplers[i]) { - _gpuDescriptorSet->gpuDescriptors[i].gpuSampler = ((GLES3Sampler *)_samplers[i])->gpuSampler(); + _gpuDescriptorSet->gpuDescriptors[i].gpuSampler = static_cast(_samplers[i])->gpuSampler(); } } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 170dd0281a..bfcd702c82 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -91,49 +91,49 @@ bool GLES3Device::doInit(const DeviceInfo &info) { String extStr = (const char *)glGetString(GL_EXTENSIONS); _extensions = StringUtil::Split(extStr, " "); - _features[(uint)Feature::TEXTURE_FLOAT] = true; - _features[(uint)Feature::TEXTURE_HALF_FLOAT] = true; - _features[(uint)Feature::FORMAT_R11G11B10F] = true; - _features[(uint)Feature::FORMAT_D24S8] = true; - _features[(uint)Feature::MSAA] = true; - _features[(uint)Feature::INSTANCED_ARRAYS] = true; - _features[(uint)Feature::MULTIPLE_RENDER_TARGETS] = true; - _features[(uint)Feature::BLEND_MINMAX] = true; - _features[(uint)Feature::ELEMENT_INDEX_UINT] = true; + _features[static_cast(Feature::TEXTURE_FLOAT)] = true; + _features[static_cast(Feature::TEXTURE_HALF_FLOAT)] = true; + _features[static_cast(Feature::FORMAT_R11G11B10F)] = true; + _features[static_cast(Feature::FORMAT_D24S8)] = true; + _features[static_cast(Feature::MSAA)] = true; + _features[static_cast(Feature::INSTANCED_ARRAYS)] = true; + _features[static_cast(Feature::MULTIPLE_RENDER_TARGETS)] = true; + _features[static_cast(Feature::BLEND_MINMAX)] = true; + _features[static_cast(Feature::ELEMENT_INDEX_UINT)] = true; - uint minorVersion = ((GLES3Context *)_context)->minor_ver(); + uint minorVersion = static_cast(_context)->minor_ver(); if (minorVersion) - _features[(uint)Feature::COMPUTE_SHADER] = true; + _features[static_cast(Feature::COMPUTE_SHADER)] = true; if (checkExtension("color_buffer_float")) - _features[(int)Feature::COLOR_FLOAT] = true; + _features[static_cast(Feature::COLOR_FLOAT)] = true; if (checkExtension("color_buffer_half_float")) - _features[(int)Feature::COLOR_HALF_FLOAT] = true; + _features[static_cast(Feature::COLOR_HALF_FLOAT)] = true; if (checkExtension("texture_float_linear")) - _features[(int)Feature::TEXTURE_FLOAT_LINEAR] = true; + _features[static_cast(Feature::TEXTURE_FLOAT_LINEAR)] = true; if (checkExtension("texture_half_float_linear")) - _features[(int)Feature::TEXTURE_HALF_FLOAT_LINEAR] = true; + _features[static_cast(Feature::TEXTURE_HALF_FLOAT_LINEAR)] = true; String compressedFmts; if (checkExtension("compressed_ETC1")) { - _features[(int)Feature::FORMAT_ETC1] = true; + _features[static_cast(Feature::FORMAT_ETC1)] = true; compressedFmts += "etc1 "; } - _features[(int)Feature::FORMAT_ETC2] = true; + _features[static_cast(Feature::FORMAT_ETC2)] = true; compressedFmts += "etc2 "; if (checkExtension("texture_compression_pvrtc")) { - _features[(int)Feature::FORMAT_PVRTC] = true; + _features[static_cast(Feature::FORMAT_PVRTC)] = true; compressedFmts += "pvrtc "; } if (checkExtension("texture_compression_astc")) { - _features[(int)Feature::FORMAT_ASTC] = true; + _features[static_cast(Feature::FORMAT_ASTC)] = true; compressedFmts += "astc "; } _features[static_cast(Feature::DEPTH_BOUNDS)] = true; @@ -203,11 +203,11 @@ void GLES3Device::doDestroy() { } void GLES3Device::releaseSurface(const uintptr_t windowHandle) { - ((GLES3Context *)_context)->releaseSurface(windowHandle); + static_cast(_context)->releaseSurface(windowHandle); } void GLES3Device::acquireSurface(const uintptr_t windowHandle) { - ((GLES3Context *)_context)->acquireSurface(windowHandle); + static_cast(_context)->acquireSurface(windowHandle); } void GLES3Device::resize(uint width, uint height) { @@ -261,7 +261,7 @@ void GLES3Device::bindDeviceContext(bool bound) { } } -uint GLES3Device::getMinorVersion() const { return ((GLES3Context *)_context)->minor_ver(); } +uint GLES3Device::getMinorVersion() const { return static_cast(_context)->minor_ver(); } CommandBuffer *GLES3Device::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer); @@ -325,7 +325,7 @@ TextureBarrier *GLES3Device::createTextureBarrier() { } void GLES3Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - GLES3CmdFuncCopyBuffersToTexture(this, buffers, ((GLES3Texture *)dst)->gpuTexture(), regions, count); + GLES3CmdFuncCopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 5f2bb8e552..4b0b8d38b6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -81,7 +81,7 @@ public: protected: static GLES3Device *_instance; - friend class DeviceCreator; + friend class DeviceManager; friend class GLES3Context; GLES3Device(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp index 1a7fee1ee4..2a31364000 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp @@ -43,7 +43,7 @@ GLES3Framebuffer::~GLES3Framebuffer() { void GLES3Framebuffer::doInit(const FramebufferInfo &info) { _gpuFBO = CC_NEW(GLES3GPUFramebuffer); - _gpuFBO->gpuRenderPass = ((GLES3RenderPass *)_renderPass)->gpuRenderPass(); + _gpuFBO->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); _gpuFBO->depthStencilMipmapLevel = info.depthStencilMipmapLevel; for (uint mipLevel : info.colorMipmapLevels) { _gpuFBO->colorMipmapLevels.push_back(mipLevel); @@ -58,7 +58,7 @@ void GLES3Framebuffer::doInit(const FramebufferInfo &info) { } if (_depthStencilTexture) { - _gpuFBO->gpuDepthStencilTexture = ((GLES3Texture *)_depthStencilTexture)->gpuTexture(); + _gpuFBO->gpuDepthStencilTexture = static_cast(_depthStencilTexture)->gpuTexture(); } GLES3CmdFuncCreateFramebuffer(GLES3Device::getInstance(), _gpuFBO); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp index ee7f94423e..ee4ccd268f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp @@ -46,8 +46,7 @@ void GLES3PipelineLayout::doInit(const PipelineLayoutInfo &info) { _gpuPipelineLayout->dynamicOffsetIndices.resize(_setLayouts.size()); for (uint i = 0u; i < _setLayouts.size(); i++) { DescriptorSetLayout *setLayout = _setLayouts[i]; - CCASSERT(setLayout != nullptr, "SetLayout should not be nullptr."); - GLES3GPUDescriptorSetLayout *gpuSetLayout = ((GLES3DescriptorSetLayout *)setLayout)->gpuDescriptorSetLayout(); + GLES3GPUDescriptorSetLayout *gpuSetLayout = static_cast(setLayout)->gpuDescriptorSetLayout(); size_t dynamicCount = gpuSetLayout->dynamicBindings.size(); vector &indices = _gpuPipelineLayout->dynamicOffsetIndices[i]; indices.assign(setLayout->getBindingIndices().size(), -1); diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp index 3b39083052..af0c7dcada 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp @@ -61,12 +61,12 @@ GLES3PipelineState::~GLES3PipelineState() { void GLES3PipelineState::doInit(const PipelineStateInfo &info) { _gpuPipelineState = CC_NEW(GLES3GPUPipelineState); _gpuPipelineState->glPrimitive = GLES3Primitives[(int)_primitive]; - _gpuPipelineState->gpuShader = ((GLES3Shader *)_shader)->gpuShader(); + _gpuPipelineState->gpuShader = static_cast(_shader)->gpuShader(); _gpuPipelineState->rs = _rasterizerState; _gpuPipelineState->dss = _depthStencilState; _gpuPipelineState->bs = _blendState; - _gpuPipelineState->gpuPipelineLayout = ((GLES3PipelineLayout *)_pipelineLayout)->gpuPipelineLayout(); - if (_renderPass) _gpuPipelineState->gpuRenderPass = ((GLES3RenderPass *)_renderPass)->gpuRenderPass(); + _gpuPipelineState->gpuPipelineLayout = static_cast(_pipelineLayout)->gpuPipelineLayout(); + if (_renderPass) _gpuPipelineState->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); for (uint i = 0; i < 31; i++) { if ((uint)_dynamicStates & (1 << i)) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 6d9760020e..6d2c4d96b4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -65,8 +65,8 @@ void GLES3PrimaryCommandBuffer::end() { void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { _isInRenderPass = true; - GLES3GPURenderPass * gpuRenderPass = ((GLES3RenderPass *)renderPass)->gpuRenderPass(); - GLES3GPUFramebuffer *gpuFramebuffer = ((GLES3Framebuffer *)fbo)->gpuFBO(); + GLES3GPURenderPass * gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); + GLES3GPUFramebuffer *gpuFramebuffer = static_cast(fbo)->gpuFBO(); GLES3CmdFuncBeginRenderPass(GLES3Device::getInstance(), gpuRenderPass, gpuFramebuffer, renderArea, gpuRenderPass->colorAttachments.size(), colors, depth, stencil); @@ -78,78 +78,54 @@ void GLES3PrimaryCommandBuffer::endRenderPass() { } void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { - if ((_type == CommandBufferType::PRIMARY && _isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { + if (_isStateInvalid) { + BindStates(); + } - if (_isStateInvalid) { - BindStates(); - } + DrawInfo drawInfo; + ia->extractDrawInfo(drawInfo); + GLES3CmdFuncDraw(GLES3Device::getInstance(), drawInfo); - DrawInfo drawInfo; - ia->extractDrawInfo(drawInfo); - GLES3CmdFuncDraw(GLES3Device::getInstance(), drawInfo); - - ++_numDrawCalls; - _numInstances += ia->getInstanceCount(); - if (_curGPUPipelineState) { - switch (_curGPUPipelineState->glPrimitive) { - case GL_TRIANGLES: { - _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); - break; - } - case GL_TRIANGLE_STRIP: - case GL_TRIANGLE_FAN: { - _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); - break; - } - default: - break; + ++_numDrawCalls; + _numInstances += ia->getInstanceCount(); + if (_curGPUPipelineState) { + switch (_curGPUPipelineState->glPrimitive) { + case GL_TRIANGLES: { + _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); + break; } + case GL_TRIANGLE_STRIP: + case GL_TRIANGLE_FAN: { + _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); + break; + } + default: + break; } - } else { - CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); } } void GLES3PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - - GLES3GPUBuffer *gpuBuffer = ((GLES3Buffer *)buff)->gpuBuffer(); - if (gpuBuffer) { - GLES3CmdFuncUpdateBuffer(GLES3Device::getInstance(), gpuBuffer, data, 0u, size); - } - } else { - CC_LOG_ERROR("Command 'updateBuffer' must be recorded outside a render pass."); + GLES3GPUBuffer *gpuBuffer = static_cast(buff)->gpuBuffer(); + if (gpuBuffer) { + GLES3CmdFuncUpdateBuffer(GLES3Device::getInstance(), gpuBuffer, data, 0u, size); } } void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - - GLES3GPUTexture *gpuTexture = ((GLES3Texture *)texture)->gpuTexture(); - if (gpuTexture) { - GLES3CmdFuncCopyBuffersToTexture(GLES3Device::getInstance(), buffers, gpuTexture, regions, count); - } - } else { - CC_LOG_ERROR("Command 'copyBuffersToTexture' must be recorded outside a render pass."); + GLES3GPUTexture *gpuTexture = static_cast(texture)->gpuTexture(); + if (gpuTexture) { + GLES3CmdFuncCopyBuffersToTexture(GLES3Device::getInstance(), buffers, gpuTexture, regions, count); } } void GLES3PrimaryCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { + GLES3GPUTexture *gpuTextureSrc = nullptr; + GLES3GPUTexture *gpuTextureDst = nullptr; + if (srcTexture) gpuTextureSrc = static_cast(srcTexture)->gpuTexture(); + if (dstTexture) gpuTextureDst = static_cast(dstTexture)->gpuTexture(); - GLES3GPUTexture *gpuTextureSrc = nullptr; - GLES3GPUTexture *gpuTextureDst = nullptr; - if (srcTexture) gpuTextureSrc = ((GLES3Texture *)srcTexture)->gpuTexture(); - if (dstTexture) gpuTextureDst = ((GLES3Texture *)dstTexture)->gpuTexture(); - - GLES3CmdFuncBlitTexture(GLES3Device::getInstance(), gpuTextureSrc, gpuTextureDst, regions, count, filter); - } else { - CC_LOG_ERROR("Command 'blitTexture' must be recorded outside a render pass."); - } + GLES3CmdFuncBlitTexture(GLES3Device::getInstance(), gpuTextureSrc, gpuTextureDst, regions, count, filter); } void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { @@ -189,38 +165,27 @@ void GLES3PrimaryCommandBuffer::BindStates() { } void GLES3PrimaryCommandBuffer::dispatch(const DispatchInfo &info) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - - if (_isStateInvalid) { - BindStates(); - } - - GLES3GPUDispatchInfo gpuInfo; - if (info.indirectBuffer) { - gpuInfo.indirectBuffer = ((GLES3Buffer *)info.indirectBuffer)->gpuBuffer(); - gpuInfo.indirectOffset = info.indirectOffset; - } else { - gpuInfo.groupCountX = info.groupCountX; - gpuInfo.groupCountY = info.groupCountY; - gpuInfo.groupCountZ = info.groupCountZ; - } - GLES3CmdFuncDispatch(GLES3Device::getInstance(), gpuInfo); - } else { - CC_LOG_ERROR("Command 'dispatch' must be recorded outside a render pass."); + if (_isStateInvalid) { + BindStates(); } + + GLES3GPUDispatchInfo gpuInfo; + if (info.indirectBuffer) { + gpuInfo.indirectBuffer = static_cast(info.indirectBuffer)->gpuBuffer(); + gpuInfo.indirectOffset = info.indirectOffset; + } else { + gpuInfo.groupCountX = info.groupCountX; + gpuInfo.groupCountY = info.groupCountY; + gpuInfo.groupCountZ = info.groupCountZ; + } + GLES3CmdFuncDispatch(GLES3Device::getInstance(), gpuInfo); } void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { - if ((_type == CommandBufferType::PRIMARY && !_isInRenderPass) || - (_type == CommandBufferType::SECONDARY)) { - if (!barrier) return; + if (!barrier) return; - const GLES3GPUGlobalBarrier *gpuBarrier = ((GLES3GlobalBarrier *)barrier)->gpuBarrier(); - GLES3CmdFuncMemoryBarrier(GLES3Device::getInstance(), gpuBarrier->glBarriers, gpuBarrier->glBarriersByRegion); - } else { - CC_LOG_ERROR("Command 'pipelineBarrier' must be recorded outside a render pass."); - } + auto gpuBarrier = static_cast(barrier)->gpuBarrier(); + GLES3CmdFuncMemoryBarrier(GLES3Device::getInstance(), gpuBarrier->glBarriers, gpuBarrier->glBarriersByRegion); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp index 21b169d213..1d5489b0d0 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp @@ -69,10 +69,10 @@ void GLES3Texture::doDestroy() { } } -void GLES3Texture::doResize(uint width, uint height) { - _gpuTexture->width = _width; - _gpuTexture->height = _height; - _gpuTexture->size = _size; +void GLES3Texture::doResize(uint width, uint height, uint size) { + _gpuTexture->width = width; + _gpuTexture->height = height; + _gpuTexture->size = size; GLES3CmdFuncResizeTexture(GLES3Device::getInstance(), _gpuTexture); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.h b/native/cocos/renderer/gfx-gles3/GLES3Texture.h index 550844470c..37d11eee37 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.h @@ -43,7 +43,7 @@ protected: void doInit(const TextureInfo &info) override; void doInit(const TextureViewInfo &info) override; void doDestroy() override; - void doResize(uint width, uint height) override; + void doResize(uint width, uint height, uint size) override; GLES3GPUTexture *_gpuTexture = nullptr; }; diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index 5ccefcbffe..57479e539a 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -59,7 +59,7 @@ protected: void doInit(const BufferInfo &info) override; void doInit(const BufferViewInfo &info) override; void doDestroy() override; - void doResize(uint size) override; + void doResize(uint size, uint count) override; bool createMTLBuffer(uint size, MemoryUsage usage); void updateMTLBuffer(void *buffer, uint offset, uint size); @@ -71,8 +71,8 @@ protected: uint _bufferViewOffset = 0; bool _isDrawIndirectByIndex = false; - std::vector _indexedPrimitivesIndirectArguments; - std::vector _primitiveIndirectArguments; + vector _indexedPrimitivesIndirectArguments; + vector _primitiveIndirectArguments; DrawInfoList _drawInfos; }; diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index 07cbe707c6..38821f6b15 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -79,7 +79,6 @@ bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) { if (_mtlBuffer) { Device *device = CCMTLDevice::getInstance(); id mtlBuffer = _mtlBuffer; - uint oldSize = [_mtlBuffer length]; std::function destroyFunc = [=]() { if (mtlBuffer) { @@ -128,16 +127,15 @@ void CCMTLBuffer::doDestroy() { CCMTLGPUGarbageCollectionPool::getInstance()->collect(destroyFunc); } -void CCMTLBuffer::doResize(uint size) { +void CCMTLBuffer::doResize(uint size, uint count) { if (_usage & BufferUsageBit::VERTEX || _usage & BufferUsageBit::INDEX || _usage & BufferUsageBit::UNIFORM) { createMTLBuffer(size, _memUsage); } - const uint oldSize = _size; _size = size; - _count = _size / _stride; + _count = count; if (_usage & BufferUsageBit::INDIRECT) { if (_isIndirectDrawSupported) { createMTLBuffer(size, _memUsage); diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index fcfaa38b34..e8ed589db8 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -45,7 +45,7 @@ CCMTLCommandBuffer::CCMTLCommandBuffer() _mtlDevice(CCMTLDevice::getInstance()) { _mtlCommandQueue = id(_mtlDevice->getMTLCommandQueue()); _indirectDrawSuppotred = _mtlDevice->isIndirectDrawSupported(); - + const auto setCount = _mtlDevice->bindingMappingInfo().bufferOffsets.size(); _GPUDescriptorSets.resize(setCount); _dynamicOffsets.resize(setCount); @@ -271,113 +271,108 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { const auto *indexBuffer = static_cast(ia->getIndexBuffer()); auto mtlEncoder = _renderEncoder.getMTLEncoder(); - if (_type == CommandBufferType::PRIMARY || _type == CommandBufferType::SECONDARY) { - if (indirectBuffer) { - const auto indirectMTLBuffer = indirectBuffer->getMTLBuffer(); + if (indirectBuffer) { + const auto indirectMTLBuffer = indirectBuffer->getMTLBuffer(); - if (_indirectDrawSuppotred) { - ++_numDrawCalls; - if (indirectBuffer->isDrawIndirectByIndex()) { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexType:indexBuffer->getIndexType() - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:0 - indirectBuffer:indirectMTLBuffer - indirectBufferOffset:0]; - } else { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - indirectBuffer:indirectMTLBuffer - indirectBufferOffset:0]; - } + if (_indirectDrawSuppotred) { + ++_numDrawCalls; + if (indirectBuffer->isDrawIndirectByIndex()) { + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexType:indexBuffer->getIndexType() + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:0 + indirectBuffer:indirectMTLBuffer + indirectBufferOffset:0]; } else { - uint stride = indirectBuffer->getStride(); - uint offset = 0; - uint drawInfoCount = indirectBuffer->getCount(); - const auto &drawInfos = indirectBuffer->getDrawInfos(); - _numDrawCalls += drawInfoCount; + [mtlEncoder drawPrimitives:_mtlPrimitiveType + indirectBuffer:indirectMTLBuffer + indirectBufferOffset:0]; + } + } else { + uint stride = indirectBuffer->getStride(); + uint offset = 0; + uint drawInfoCount = indirectBuffer->getCount(); + const auto &drawInfos = indirectBuffer->getDrawInfos(); + _numDrawCalls += drawInfoCount; - for (uint i = 0; i < drawInfoCount; ++i) { - const auto &drawInfo = drawInfos[i]; - offset += drawInfo.firstIndex * stride; - if (indirectBuffer->isDrawIndirectByIndex()) { - if (drawInfo.instanceCount == 0) { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:indexBuffer->getIndexType() - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:offset]; - } else { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:indexBuffer->getIndexType() - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:offset - instanceCount:drawInfo.instanceCount]; - } + for (uint i = 0; i < drawInfoCount; ++i) { + const auto &drawInfo = drawInfos[i]; + offset += drawInfo.firstIndex * stride; + if (indirectBuffer->isDrawIndirectByIndex()) { + if (drawInfo.instanceCount == 0) { + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:indexBuffer->getIndexType() + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:offset]; } else { - if (drawInfo.instanceCount == 0) { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount]; - } else { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount - instanceCount:drawInfo.instanceCount]; - } + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:indexBuffer->getIndexType() + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:offset + instanceCount:drawInfo.instanceCount]; + } + } else { + if (drawInfo.instanceCount == 0) { + [mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount]; + } else { + [mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount + instanceCount:drawInfo.instanceCount]; } } } - } else { - DrawInfo drawInfo; - static_cast(ia)->extractDrawInfo(drawInfo); - if (drawInfo.indexCount > 0) { - uint offset = 0; - offset += drawInfo.firstIndex * indexBuffer->getStride(); - if (drawInfo.instanceCount == 0) { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:indexBuffer->getIndexType() - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:offset]; - } else { - [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount - indexType:indexBuffer->getIndexType() - indexBuffer:indexBuffer->getMTLBuffer() - indexBufferOffset:offset - instanceCount:drawInfo.instanceCount]; - } - } else if (drawInfo.vertexCount) { - if (drawInfo.instanceCount == 0) { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount]; - } else { - [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount - instanceCount:drawInfo.instanceCount]; - } + } + } else { + DrawInfo drawInfo; + static_cast(ia)->extractDrawInfo(drawInfo); + if (drawInfo.indexCount > 0) { + uint offset = 0; + offset += drawInfo.firstIndex * indexBuffer->getStride(); + if (drawInfo.instanceCount == 0) { + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:indexBuffer->getIndexType() + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:offset]; + } else { + [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType + indexCount:drawInfo.indexCount + indexType:indexBuffer->getIndexType() + indexBuffer:indexBuffer->getMTLBuffer() + indexBufferOffset:offset + instanceCount:drawInfo.instanceCount]; } - _numInstances += drawInfo.instanceCount; - _numDrawCalls++; - if (_gpuPipelineState) { - uint indexCount = drawInfo.indexCount ? drawInfo.indexCount : drawInfo.vertexCount; - switch (_mtlPrimitiveType) { - case MTLPrimitiveTypeTriangle: - _numTriangles += indexCount / 3 * std::max(drawInfo.instanceCount, 1U); - break; - case MTLPrimitiveTypeTriangleStrip: - _numTriangles += (indexCount - 2) * std::max(drawInfo.instanceCount, 1U); - break; - default: break; - } + } else if (drawInfo.vertexCount) { + if (drawInfo.instanceCount == 0) { + [mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount]; + } else { + [mtlEncoder drawPrimitives:_mtlPrimitiveType + vertexStart:drawInfo.firstIndex + vertexCount:drawInfo.vertexCount + instanceCount:drawInfo.instanceCount]; + } + } + _numInstances += drawInfo.instanceCount; + _numDrawCalls++; + if (_gpuPipelineState) { + uint indexCount = drawInfo.indexCount ? drawInfo.indexCount : drawInfo.vertexCount; + switch (_mtlPrimitiveType) { + case MTLPrimitiveTypeTriangle: + _numTriangles += indexCount / 3 * std::max(drawInfo.instanceCount, 1U); + break; + case MTLPrimitiveTypeTriangleStrip: + _numTriangles += (indexCount - 2) * std::max(drawInfo.instanceCount, 1U); + break; + default: break; } } - - } else { - CC_LOG_ERROR("Command 'draw' must be recorded inside a render pass."); } } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.h b/native/cocos/renderer/gfx-metal/MTLDevice.h index 7f76414f21..a06a7b65f0 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.h +++ b/native/cocos/renderer/gfx-metal/MTLDevice.h @@ -88,7 +88,7 @@ public: protected: static CCMTLDevice * _instance; - friend class DeviceCreator; + friend class DeviceManager; bool doInit(const DeviceInfo &info) override; void doDestroy() override; diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index e53e00babe..4283c3e7af 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -135,37 +135,37 @@ bool CCMTLDevice::doInit(const DeviceInfo &info) { _gpuStagingBufferPools[i] = CC_NEW(CCMTLGPUStagingBufferPool(mtlDevice)); } - _features[static_cast(Feature::COLOR_FLOAT)] = mu::isColorBufferFloatSupported(gpuFamily); - _features[static_cast(Feature::COLOR_HALF_FLOAT)] = mu::isColorBufferHalfFloatSupported(gpuFamily); - _features[static_cast(Feature::TEXTURE_FLOAT_LINEAR)] = mu::isLinearTextureSupported(gpuFamily); - _features[static_cast(Feature::TEXTURE_HALF_FLOAT_LINEAR)] = mu::isLinearTextureSupported(gpuFamily); + _features[static_cast(Feature::COLOR_FLOAT)] = mu::isColorBufferFloatSupported(gpuFamily); + _features[static_cast(Feature::COLOR_HALF_FLOAT)] = mu::isColorBufferHalfFloatSupported(gpuFamily); + _features[static_cast(Feature::TEXTURE_FLOAT_LINEAR)] = mu::isLinearTextureSupported(gpuFamily); + _features[static_cast(Feature::TEXTURE_HALF_FLOAT_LINEAR)] = mu::isLinearTextureSupported(gpuFamily); String compressedFormats; if (mu::isPVRTCSuppported(gpuFamily)) { - _features[static_cast(Feature::FORMAT_PVRTC)] = true; + _features[static_cast(Feature::FORMAT_PVRTC)] = true; compressedFormats += "pvrtc "; } if (mu::isEAC_ETCCSuppported(gpuFamily)) { - _features[static_cast(Feature::FORMAT_ETC2)] = true; + _features[static_cast(Feature::FORMAT_ETC2)] = true; compressedFormats += "etc2 "; } if (mu::isASTCSuppported(gpuFamily)) { - _features[static_cast(Feature::FORMAT_ASTC)] = true; + _features[static_cast(Feature::FORMAT_ASTC)] = true; compressedFormats += "astc "; } if (mu::isBCSupported(gpuFamily)) { - _features[static_cast(Feature::FORMAT_ASTC)] = true; + _features[static_cast(Feature::FORMAT_ASTC)] = true; compressedFormats += "dxt "; } - _features[(int)Feature::TEXTURE_FLOAT] = true; - _features[(int)Feature::TEXTURE_HALF_FLOAT] = true; - _features[(int)Feature::FORMAT_R11G11B10F] = true; - _features[(int)Feature::MSAA] = true; - _features[(int)Feature::INSTANCED_ARRAYS] = true; - _features[(int)Feature::MULTIPLE_RENDER_TARGETS] = true; - _features[(uint)Feature::BLEND_MINMAX] = true; - _features[(uint)Feature::ELEMENT_INDEX_UINT] = true; + _features[static_cast(Feature::TEXTURE_FLOAT)] = true; + _features[static_cast(Feature::TEXTURE_HALF_FLOAT)] = true; + _features[static_cast(Feature::FORMAT_R11G11B10F)] = true; + _features[static_cast(Feature::MSAA)] = true; + _features[static_cast(Feature::INSTANCED_ARRAYS)] = true; + _features[static_cast(Feature::MULTIPLE_RENDER_TARGETS)] = true; + _features[static_cast(Feature::BLEND_MINMAX)] = true; + _features[static_cast(Feature::ELEMENT_INDEX_UINT)] = true; _features[static_cast(Feature::DEPTH_BOUNDS)] = false; _features[static_cast(Feature::LINE_WIDTH)] = false; _features[static_cast(Feature::STENCIL_COMPARE_MASK)] = false; diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.h b/native/cocos/renderer/gfx-metal/MTLTexture.h index 4a6e0c0dc7..060bedb34c 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.h +++ b/native/cocos/renderer/gfx-metal/MTLTexture.h @@ -50,7 +50,7 @@ protected: void doInit(const TextureInfo &info) override; void doInit(const TextureViewInfo &info) override; void doDestroy() override; - void doResize(uint width, uint height) override; + void doResize(uint width, uint height, uint size) override; bool createMTLTexture(); diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.mm b/native/cocos/renderer/gfx-metal/MTLTexture.mm index 4e6df7af43..21fd1fb76d 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.mm +++ b/native/cocos/renderer/gfx-metal/MTLTexture.mm @@ -139,7 +139,7 @@ void CCMTLTexture::doDestroy() { CCMTLGPUGarbageCollectionPool::getInstance()->collect(destroyFunc); } -void CCMTLTexture::doResize(uint width, uint height) { +void CCMTLTexture::doResize(uint width, uint height, uint size) { auto oldSize = _size; auto oldWidth = _width; auto oldHeight = _height; @@ -147,7 +147,7 @@ void CCMTLTexture::doResize(uint width, uint height) { _width = width; _height = height; - _size = FormatSize(_format, _width, _height, _depth); + _size = size; if (!createMTLTexture()) { _width = oldWidth; _height = oldHeight; diff --git a/native/cocos/renderer/gfx-validator/BufferValidator.cpp b/native/cocos/renderer/gfx-validator/BufferValidator.cpp new file mode 100644 index 0000000000..cc8d21a712 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/BufferValidator.cpp @@ -0,0 +1,97 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "BufferValidator.h" +#include "DeviceValidator.h" + +namespace cc { +namespace gfx { + +BufferValidator::~BufferValidator() { + CC_SAFE_DELETE(_actor); +} + +void BufferValidator::doInit(const BufferInfo &info) { + CCASSERT(info.usage != BufferUsageBit::NONE, "invalid source buffer"); + CCASSERT(info.memUsage != MemoryUsageBit::NONE, "invalid source buffer"); + // CCASSERT(info.size, "zero-sized buffer?"); // be more lenient on this for now + + if (info.usage & BufferUsageBit::VERTEX && !info.stride) { + CCASSERT(false, "invalid stride for vertex buffer"); + } + + _actor->initialize(info); +} + +void BufferValidator::doInit(const BufferViewInfo &info) { + CCASSERT(info.buffer, "invalid source buffer"); + CCASSERT(info.offset + info.range <= info.buffer->getSize(), "invalid range"); + + BufferViewInfo actorInfo = info; + actorInfo.buffer = static_cast(info.buffer)->getActor(); + + _actor->initialize(actorInfo); +} + +void BufferValidator::doResize(uint size, uint count) { + CCASSERT(!_isBufferView, "cannot resize through buffer views"); + CCASSERT(size, "invalid size"); + + _actor->resize(size); +} + +void BufferValidator::doDestroy() { + _actor->destroy(); +} + +void BufferValidator::update(void *buffer, uint size) { + CCASSERT(!_isBufferView, "cannot update through buffer views"); + CCASSERT(size && size <= _size, "invalid size"); + CCASSERT(buffer, "invalid buffer data"); + + if (_usage & BufferUsageBit::INDIRECT) { + DrawInfo * drawInfo = static_cast(buffer); + const size_t drawInfoCount = size / sizeof(DrawInfo); + const bool isIndexed = drawInfoCount > 0 && drawInfo->indexCount > 0; + for (size_t i = 1u; i < drawInfoCount; ++i) { + if ((++drawInfo)->indexCount > 0 != isIndexed) { + CCASSERT(false, "inconsistent indirect draw infos on using index buffer"); + } + } + } + + if (DeviceValidator::getInstance()->isRecording()) { + _buffer.resize(_size); + memcpy(_buffer.data(), buffer, size); + } + + _actor->update(buffer, size); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/BufferValidator.h b/native/cocos/renderer/gfx-validator/BufferValidator.h new file mode 100644 index 0000000000..42a0ad7d6b --- /dev/null +++ b/native/cocos/renderer/gfx-validator/BufferValidator.h @@ -0,0 +1,51 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXBuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL BufferValidator final : public Agent { +public: + using Agent::Agent; + ~BufferValidator() override; + + void update(void *buffer, uint size) override; + +protected: + void doInit(const BufferInfo &info) override; + void doInit(const BufferViewInfo &info) override; + void doResize(uint size, uint count) override; + void doDestroy() override; + + vector _buffer; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp b/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp new file mode 100644 index 0000000000..2331bd0f61 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp @@ -0,0 +1,229 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/job-system/JobSystem.h" +#include "base/threading/MessageQueue.h" + +#include "BufferValidator.h" +#include "CommandBufferValidator.h" +#include "DescriptorSetValidator.h" +#include "DeviceValidator.h" +#include "FramebufferValidator.h" +#include "InputAssemblerValidator.h" +#include "PipelineStateValidator.h" +#include "QueueValidator.h" +#include "RenderPassValidator.h" +#include "TextureValidator.h" + +namespace cc { +namespace gfx { + +CommandBufferValidator::~CommandBufferValidator() { + CC_SAFE_DELETE(_actor); +} + +void CommandBufferValidator::doInit(const CommandBufferInfo &info) { + CommandBufferInfo actorInfo = info; + actorInfo.queue = static_cast(info.queue)->getActor(); + + _actor->initialize(actorInfo); +} + +void CommandBufferValidator::doDestroy() { + _actor->destroy(); +} + +void CommandBufferValidator::begin(RenderPass *renderPass, uint subpass, Framebuffer *framebuffer) { + CCASSERT(!_insideRenderPass, "Already inside an render pass?"); + + // secondary command buffers enter the render pass right here + _insideRenderPass = !!renderPass; + + RenderPass * renderPassActor = renderPass ? static_cast(renderPass)->getActor() : nullptr; + Framebuffer *framebufferActor = framebuffer ? static_cast(framebuffer)->getActor() : nullptr; + + _actor->begin(renderPassActor, subpass, framebufferActor); +} + +void CommandBufferValidator::end() { + if (_type == CommandBufferType::PRIMARY && _insideRenderPass) { + CCASSERT(false, "Still inside an render pass?"); + } + _insideRenderPass = false; + + _actor->end(); +} + +void CommandBufferValidator::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { + CCASSERT(renderPass, "invalid render pass"); + CCASSERT(fbo, "invalid framebuffer"); + + CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'endRenderPass' must be recorded in primary command buffers."); + CCASSERT(!_insideRenderPass, "Already inside an render pass?"); + _insideRenderPass = true; + + static vector secondaryCBActors; + secondaryCBActors.resize(secondaryCBCount); + + RenderPass * renderPassActor = renderPass ? static_cast(renderPass)->getActor() : nullptr; + Framebuffer *framebufferActor = fbo ? static_cast(fbo)->getActor() : nullptr; + + CommandBuffer **actorSecondaryCBs = nullptr; + if (secondaryCBCount) { + actorSecondaryCBs = secondaryCBActors.data(); + for (uint i = 0; i < secondaryCBCount; ++i) { + actorSecondaryCBs[i] = static_cast(secondaryCBs[i])->getActor(); + } + } + + _actor->beginRenderPass(renderPassActor, framebufferActor, renderArea, colors, depth, stencil, actorSecondaryCBs, secondaryCBCount); +} + +void CommandBufferValidator::endRenderPass() { + CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'endRenderPass' must be recorded in primary command buffers."); + CCASSERT(_insideRenderPass, "No render pass to end?"); + _insideRenderPass = false; + + _actor->endRenderPass(); +} + +void CommandBufferValidator::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { + if (!count) return; // be more lenient on this for now + CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'execute' must be recorded in primary command buffers."); + + static vector cmdBuffActors; + cmdBuffActors.resize(count); + + for (uint i = 0u; i < count; ++i) { + cmdBuffActors[i] = static_cast(cmdBuffs[i])->getActor(); + } + + _actor->execute(cmdBuffActors.data(), count); +} + +void CommandBufferValidator::bindPipelineState(PipelineState *pso) { + _actor->bindPipelineState(static_cast(pso)->getActor()); +} + +void CommandBufferValidator::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { + _actor->bindDescriptorSet(set, static_cast(descriptorSet)->getActor(), dynamicOffsetCount, dynamicOffsets); +} + +void CommandBufferValidator::bindInputAssembler(InputAssembler *ia) { + _actor->bindInputAssembler(static_cast(ia)->getActor()); +} + +void CommandBufferValidator::setViewport(const Viewport &vp) { + _actor->setViewport(vp); +} + +void CommandBufferValidator::setScissor(const Rect &rect) { + _actor->setScissor(rect); +} + +void CommandBufferValidator::setLineWidth(float width) { + _actor->setLineWidth(width); +} + +void CommandBufferValidator::setDepthBias(float constant, float clamp, float slope) { + _actor->setDepthBias(constant, clamp, slope); +} + +void CommandBufferValidator::setBlendConstants(const Color &constants) { + _actor->setBlendConstants(constants); +} + +void CommandBufferValidator::setDepthBound(float minBounds, float maxBounds) { + _actor->setDepthBound(minBounds, maxBounds); +} + +void CommandBufferValidator::setStencilWriteMask(StencilFace face, uint mask) { + _actor->setStencilWriteMask(face, mask); +} + +void CommandBufferValidator::setStencilCompareMask(StencilFace face, int ref, uint mask) { + _actor->setStencilCompareMask(face, ref, mask); +} + +void CommandBufferValidator::draw(InputAssembler *ia) { + if (_type == CommandBufferType::PRIMARY && !_insideRenderPass) { + CCASSERT(false, "Command 'draw' must be recorded inside render passes."); + } + + _actor->draw(static_cast(ia)->getActor()); +} + +void CommandBufferValidator::updateBuffer(Buffer *buff, const void *data, uint size) { + CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'updateBuffer' must be recorded in primary command buffers."); + CCASSERT(!_insideRenderPass, "Command 'updateBuffer' must be recorded outside render passes."); + + _actor->updateBuffer(static_cast(buff)->getActor(), data, size); +} + +void CommandBufferValidator::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { + CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'copyBuffersToTexture' must be recorded in primary command buffers."); + CCASSERT(!_insideRenderPass, "Command 'copyBuffersToTexture' must be recorded outside render passes."); + + _actor->copyBuffersToTexture(buffers, static_cast(texture)->getActor(), regions, count); +} + +void CommandBufferValidator::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { + CCASSERT(!_insideRenderPass, "Command 'blitTexture' must be recorded outside render passes."); + + Texture *actorSrcTexture = nullptr; + Texture *actorDstTexture = nullptr; + if (srcTexture) actorSrcTexture = static_cast(srcTexture)->getActor(); + if (dstTexture) actorDstTexture = static_cast(dstTexture)->getActor(); + + _actor->blitTexture(actorSrcTexture, actorDstTexture, regions, count, filter); +} + +void CommandBufferValidator::dispatch(const DispatchInfo &info) { + CCASSERT(!_insideRenderPass, "Command 'dispatch' must be recorded outside render passes."); + + DispatchInfo actorInfo = info; + if (info.indirectBuffer) actorInfo.indirectBuffer = static_cast(info.indirectBuffer)->getActor(); + + _actor->dispatch(info); +} + +void CommandBufferValidator::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { + static vector textureActors; + textureActors.resize(textureBarrierCount); + + Texture **actorTextures = nullptr; + if (textureBarrierCount) { + actorTextures = textureActors.data(); + for (uint i = 0u; i < textureBarrierCount; ++i) { + actorTextures[i] = textures[i] ? static_cast(textures[i])->getActor() : nullptr; + } + } + + _actor->pipelineBarrier(barrier, textureBarriers, actorTextures, textureBarrierCount); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/CommandBufferValidator.h b/native/cocos/renderer/gfx-validator/CommandBufferValidator.h new file mode 100644 index 0000000000..0b0b787d7a --- /dev/null +++ b/native/cocos/renderer/gfx-validator/CommandBufferValidator.h @@ -0,0 +1,76 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXCommandBuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL CommandBufferValidator final : public Agent { +public: + using Agent::Agent; + ~CommandBufferValidator() override; + + void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; + void end() override; + void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; + void endRenderPass() override; + void bindPipelineState(PipelineState *pso) override; + void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) override; + void bindInputAssembler(InputAssembler *ia) override; + void setViewport(const Viewport &vp) override; + void setScissor(const Rect &rect) override; + void setLineWidth(float width) override; + void setDepthBias(float constant, float clamp, float slope) override; + void setBlendConstants(const Color &constants) override; + void setDepthBound(float minBounds, float maxBounds) override; + void setStencilWriteMask(StencilFace face, uint mask) override; + void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void draw(InputAssembler *ia) override; + void updateBuffer(Buffer *buff, const void *data, uint size) override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; + void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; + void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; + void dispatch(const DispatchInfo &info) override; + void pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) override; + + uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } + uint getNumInstances() const override { return _actor->getNumInstances(); } + uint getNumTris() const override { return _actor->getNumTris(); } + +protected: + friend class DeviceValidator; + + void doInit(const CommandBufferInfo &info) override; + void doDestroy() override; + + bool _insideRenderPass{false}; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp new file mode 100644 index 0000000000..03378bd1c8 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp @@ -0,0 +1,48 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DeviceValidator.h" +#include "DescriptorSetLayoutValidator.h" + +namespace cc { +namespace gfx { + +DescriptorSetLayoutValidator::~DescriptorSetLayoutValidator() { + CC_SAFE_DELETE(_actor); +} + +void DescriptorSetLayoutValidator::doInit(const DescriptorSetLayoutInfo &info) { + _actor->initialize(info); +} + +void DescriptorSetLayoutValidator::doDestroy() { + _actor->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h new file mode 100644 index 0000000000..7eaccdabe0 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXDescriptorSetLayout.h" + +namespace cc { +namespace gfx { + +class CC_DLL DescriptorSetLayoutValidator final : public Agent { +public: + using Agent::Agent; + ~DescriptorSetLayoutValidator() override; + +protected: + void doInit(const DescriptorSetLayoutInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp b/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp new file mode 100644 index 0000000000..6e761dea3d --- /dev/null +++ b/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp @@ -0,0 +1,77 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "BufferValidator.h" +#include "DescriptorSetLayoutValidator.h" +#include "DescriptorSetValidator.h" +#include "DeviceValidator.h" +#include "SamplerValidator.h" +#include "TextureValidator.h" + +namespace cc { +namespace gfx { + +DescriptorSetValidator::~DescriptorSetValidator() { + CC_SAFE_DELETE(_actor); +} + +void DescriptorSetValidator::doInit(const DescriptorSetInfo &info) { + DescriptorSetInfo actorInfo; + actorInfo.layout = static_cast(info.layout)->getActor(); + + _actor->initialize(actorInfo); +} + +void DescriptorSetValidator::doDestroy() { + _actor->destroy(); +} + +void DescriptorSetValidator::update() { + _actor->update(); +} + +void DescriptorSetValidator::bindBuffer(uint binding, Buffer *buffer, uint index) { + DescriptorSet::bindBuffer(binding, buffer, index); + + _actor->bindBuffer(binding, static_cast(buffer)->getActor(), index); +} + +void DescriptorSetValidator::bindTexture(uint binding, Texture *texture, uint index) { + DescriptorSet::bindTexture(binding, texture, index); + + _actor->bindTexture(binding, static_cast(texture)->getActor(), index); +} + +void DescriptorSetValidator::bindSampler(uint binding, Sampler *sampler, uint index) { + DescriptorSet::bindSampler(binding, sampler, index); + + _actor->bindSampler(binding, static_cast(sampler)->getActor(), index); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetValidator.h b/native/cocos/renderer/gfx-validator/DescriptorSetValidator.h new file mode 100644 index 0000000000..f933e9ecc0 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/DescriptorSetValidator.h @@ -0,0 +1,51 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXDescriptorSet.h" + +namespace cc { +namespace gfx { + +class CC_DLL DescriptorSetValidator final : public Agent { +public: + using Agent::Agent; + ~DescriptorSetValidator() override; + + void update() override; + + void bindBuffer(uint binding, Buffer *buffer, uint index) override; + void bindTexture(uint binding, Texture *texture, uint index) override; + void bindSampler(uint binding, Sampler *sampler, uint index) override; + +protected: + void doInit(const DescriptorSetInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/DeviceValidator.cpp b/native/cocos/renderer/gfx-validator/DeviceValidator.cpp new file mode 100644 index 0000000000..d5c83e2d84 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/DeviceValidator.cpp @@ -0,0 +1,204 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" + +#include "BufferValidator.h" +#include "CommandBufferValidator.h" +#include "DescriptorSetLayoutValidator.h" +#include "DescriptorSetValidator.h" +#include "DeviceValidator.h" +#include "FramebufferValidator.h" +#include "InputAssemblerValidator.h" +#include "PipelineLayoutValidator.h" +#include "PipelineStateValidator.h" +#include "QueueValidator.h" +#include "RenderPassValidator.h" +#include "SamplerValidator.h" +#include "ShaderValidator.h" +#include "TextureValidator.h" + +namespace cc { +namespace gfx { + +DeviceValidator *DeviceValidator::_instance = nullptr; + +DeviceValidator *DeviceValidator::getInstance() { + return DeviceValidator::_instance; +} + +DeviceValidator::DeviceValidator(Device *device) : Agent(device) { + DeviceValidator::_instance = this; +} + +DeviceValidator::~DeviceValidator() { + CC_SAFE_DELETE(_actor); + DeviceValidator::_instance = nullptr; +} + +bool DeviceValidator::doInit(const DeviceInfo &info) { + if (!_actor->initialize(info)) { + return false; + } + + _context = _actor->getContext(); + _API = _actor->getGfxAPI(); + _deviceName = _actor->getDeviceName(); + _queue = CC_NEW(QueueValidator(_actor->getQueue())); + _cmdBuff = CC_NEW(CommandBufferValidator(_actor->getCommandBuffer())); + static_cast(_cmdBuff)->_queue = _queue; + _renderer = _actor->getRenderer(); + _vendor = _actor->getVendor(); + _caps = _actor->_caps; + memcpy(_features, _actor->_features, static_cast(Feature::COUNT) * sizeof(bool)); + + CC_LOG_INFO("Device validator enabled."); + + return true; +} + +void DeviceValidator::doDestroy() { + if (_cmdBuff) { + static_cast(_cmdBuff)->_actor = nullptr; + CC_DELETE(_cmdBuff); + _cmdBuff = nullptr; + } + if (_queue) { + static_cast(_queue)->_actor = nullptr; + CC_DELETE(_queue); + _queue = nullptr; + } + + _actor->destroy(); +} + +void DeviceValidator::resize(uint width, uint height) { + _actor->resize(width, height); +} + +void DeviceValidator::acquire() { + _actor->acquire(); +} + +void DeviceValidator::present() { + _actor->present(); +} + +void DeviceValidator::setMultithreaded(bool multithreaded) { + _actor->setMultithreaded(multithreaded); +} + +CommandBuffer *DeviceValidator::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { + CommandBuffer *actor = _actor->createCommandBuffer(info, hasAgent); + return CC_NEW(CommandBufferValidator(actor)); +} + +Queue *DeviceValidator::createQueue() { + Queue *actor = _actor->createQueue(); + return CC_NEW(QueueValidator(actor)); +} + +Buffer *DeviceValidator::createBuffer() { + Buffer *actor = _actor->createBuffer(); + return CC_NEW(BufferValidator(actor)); +} + +Texture *DeviceValidator::createTexture() { + Texture *actor = _actor->createTexture(); + return CC_NEW(TextureValidator(actor)); +} + +Sampler *DeviceValidator::createSampler() { + Sampler *actor = _actor->createSampler(); + return CC_NEW(SamplerValidator(actor)); +} + +Shader *DeviceValidator::createShader() { + Shader *actor = _actor->createShader(); + return CC_NEW(ShaderValidator(actor)); +} + +InputAssembler *DeviceValidator::createInputAssembler() { + InputAssembler *actor = _actor->createInputAssembler(); + return CC_NEW(InputAssemblerValidator(actor)); +} + +RenderPass *DeviceValidator::createRenderPass() { + RenderPass *actor = _actor->createRenderPass(); + return CC_NEW(RenderPassValidator(actor)); +} + +Framebuffer *DeviceValidator::createFramebuffer() { + Framebuffer *actor = _actor->createFramebuffer(); + return CC_NEW(FramebufferValidator(actor)); +} + +DescriptorSet *DeviceValidator::createDescriptorSet() { + DescriptorSet *actor = _actor->createDescriptorSet(); + return CC_NEW(DescriptorSetValidator(actor)); +} + +DescriptorSetLayout *DeviceValidator::createDescriptorSetLayout() { + DescriptorSetLayout *actor = _actor->createDescriptorSetLayout(); + return CC_NEW(DescriptorSetLayoutValidator(actor)); +} + +PipelineLayout *DeviceValidator::createPipelineLayout() { + PipelineLayout *actor = _actor->createPipelineLayout(); + return CC_NEW(PipelineLayoutValidator(actor)); +} + +PipelineState *DeviceValidator::createPipelineState() { + PipelineState *actor = _actor->createPipelineState(); + return CC_NEW(PipelineStateValidator(actor)); +} + +GlobalBarrier *DeviceValidator::createGlobalBarrier() { + return _actor->createGlobalBarrier(); +} + +TextureBarrier *DeviceValidator::createTextureBarrier() { + return _actor->createTextureBarrier(); +} + +void DeviceValidator::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { + _actor->copyBuffersToTexture(buffers, static_cast(dst)->getActor(), regions, count); +} + +void DeviceValidator::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { + if (!count) return; + + static vector cmdBuffActors; + cmdBuffActors.resize(count); + + for (uint i = 0u; i < count; ++i) { + cmdBuffActors[i] = static_cast(cmdBuffs[i])->getActor(); + } + + _actor->flushCommands(cmdBuffActors.data(), count); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/DeviceValidator.h b/native/cocos/renderer/gfx-validator/DeviceValidator.h new file mode 100644 index 0000000000..8be04d4e39 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/DeviceValidator.h @@ -0,0 +1,114 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "base/threading/Semaphore.h" +#include "gfx-base/GFXDevice.h" + +namespace cc { +namespace gfx { + +class CC_DLL DeviceValidator final : public Agent { +public: + static DeviceValidator *getInstance(); + + ~DeviceValidator() override; + + using Device::copyBuffersToTexture; + using Device::createBuffer; + using Device::createCommandBuffer; + using Device::createDescriptorSet; + using Device::createDescriptorSetLayout; + using Device::createFramebuffer; + using Device::createGlobalBarrier; + using Device::createInputAssembler; + using Device::createPipelineLayout; + using Device::createPipelineState; + using Device::createQueue; + using Device::createRenderPass; + using Device::createSampler; + using Device::createShader; + using Device::createTexture; + using Device::createTextureBarrier; + + void resize(uint width, uint height) override; + void acquire() override; + void present() override; + + CommandBuffer * createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) override; + Queue * createQueue() override; + Buffer * createBuffer() override; + Texture * createTexture() override; + Sampler * createSampler() override; + Shader * createShader() override; + InputAssembler * createInputAssembler() override; + RenderPass * createRenderPass() override; + Framebuffer * createFramebuffer() override; + DescriptorSet * createDescriptorSet() override; + DescriptorSetLayout *createDescriptorSetLayout() override; + PipelineLayout * createPipelineLayout() override; + PipelineState * createPipelineState() override; + GlobalBarrier * createGlobalBarrier() override; + TextureBarrier * createTextureBarrier() override; + void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + + void flushCommands(CommandBuffer *const *cmdBuffs, uint count) override; + void setMultithreaded(bool multithreaded) override; + SurfaceTransform getSurfaceTransform() const override { return _actor->getSurfaceTransform(); } + uint getWidth() const override { return _actor->getWidth(); } + uint getHeight() const override { return _actor->getHeight(); } + uint getNativeWidth() const override { return _actor->getNativeWidth(); } + uint getNativeHeight() const override { return _actor->getNativeHeight(); } + MemoryStatus & getMemoryStatus() override { return _actor->getMemoryStatus(); } + uint getNumDrawCalls() const override { return _actor->getNumDrawCalls(); } + uint getNumInstances() const override { return _actor->getNumInstances(); } + uint getNumTris() const override { return _actor->getNumTris(); } + + inline void enableRecording(bool recording) { _recording = recording; } + inline bool isRecording() { return _recording; } + +protected: + static DeviceValidator *_instance; + + friend class DeviceManager; + + DeviceValidator(Device *device); + + bool doInit(const DeviceInfo &info) override; + void doDestroy() override; + + void releaseSurface(uintptr_t windowHandle) override { _actor->releaseSurface(windowHandle); } + void acquireSurface(uintptr_t windowHandle) override { _actor->acquireSurface(windowHandle); } + + void bindRenderContext(bool bound) override { _actor->bindRenderContext(bound); } + void bindDeviceContext(bool bound) override { _actor->bindDeviceContext(bound); } + + bool _recording{false}; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/FramebufferValidator.cpp b/native/cocos/renderer/gfx-validator/FramebufferValidator.cpp new file mode 100644 index 0000000000..45bf0833b2 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/FramebufferValidator.cpp @@ -0,0 +1,61 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DeviceValidator.h" +#include "FramebufferValidator.h" +#include "RenderPassValidator.h" +#include "TextureValidator.h" + +namespace cc { +namespace gfx { + +FramebufferValidator::~FramebufferValidator() { + CC_SAFE_DELETE(_actor); +} + +void FramebufferValidator::doInit(const FramebufferInfo &info) { + FramebufferInfo actorInfo = info; + for (uint i = 0u; i < info.colorTextures.size(); ++i) { + if (info.colorTextures[i]) { + actorInfo.colorTextures[i] = static_cast(info.colorTextures[i])->getActor(); + } + } + if (info.depthStencilTexture) { + actorInfo.depthStencilTexture = static_cast(info.depthStencilTexture)->getActor(); + } + actorInfo.renderPass = static_cast(info.renderPass)->getActor(); + + _actor->initialize(actorInfo); +} + +void FramebufferValidator::doDestroy() { + _actor->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/FramebufferValidator.h b/native/cocos/renderer/gfx-validator/FramebufferValidator.h new file mode 100644 index 0000000000..59449cb941 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/FramebufferValidator.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXFramebuffer.h" + +namespace cc { +namespace gfx { + +class CC_DLL FramebufferValidator final : public Agent { +public: + using Agent::Agent; + ~FramebufferValidator() override; + +protected: + void doInit(const FramebufferInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/InputAssemblerValidator.cpp b/native/cocos/renderer/gfx-validator/InputAssemblerValidator.cpp new file mode 100644 index 0000000000..a38069d1d2 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/InputAssemblerValidator.cpp @@ -0,0 +1,102 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "BufferValidator.h" +#include "DeviceValidator.h" +#include "InputAssemblerValidator.h" + +namespace cc { +namespace gfx { + +InputAssemblerValidator::~InputAssemblerValidator() { + CC_SAFE_DELETE(_actor); +} + +void InputAssemblerValidator::doInit(const InputAssemblerInfo &info) { + InputAssemblerInfo actorInfo = info; + for (uint i = 0u; i < actorInfo.vertexBuffers.size(); ++i) { + actorInfo.vertexBuffers[i] = static_cast(actorInfo.vertexBuffers[i])->getActor(); + } + if (actorInfo.indexBuffer) { + actorInfo.indexBuffer = static_cast(actorInfo.indexBuffer)->getActor(); + } + if (actorInfo.indirectBuffer) { + actorInfo.indirectBuffer = static_cast(actorInfo.indirectBuffer)->getActor(); + } + + _actor->initialize(actorInfo); +} + +void InputAssemblerValidator::doDestroy() { + _actor->destroy(); +} + +void InputAssemblerValidator::setVertexCount(uint count) { + _vertexCount = count; + + _actor->setVertexCount(count); +} + +void InputAssemblerValidator::setFirstVertex(uint first) { + _firstVertex = first; + + _actor->setFirstVertex(first); +} + +void InputAssemblerValidator::setIndexCount(uint count) { + _indexCount = count; + + _actor->setIndexCount(count); +} + +void InputAssemblerValidator::setFirstIndex(uint first) { + _firstIndex = first; + + _actor->setFirstIndex(first); +} + +void InputAssemblerValidator::setVertexOffset(uint offset) { + _vertexOffset = offset; + + _actor->setVertexOffset(offset); +} + +void InputAssemblerValidator::setInstanceCount(uint count) { + _instanceCount = count; + + _actor->setInstanceCount(count); +} + +void InputAssemblerValidator::setFirstInstance(uint first) { + _firstInstance = first; + + _actor->setFirstInstance(first); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/InputAssemblerValidator.h b/native/cocos/renderer/gfx-validator/InputAssemblerValidator.h new file mode 100644 index 0000000000..fea97e458d --- /dev/null +++ b/native/cocos/renderer/gfx-validator/InputAssemblerValidator.h @@ -0,0 +1,53 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXInputAssembler.h" + +namespace cc { +namespace gfx { + +class CC_DLL InputAssemblerValidator final : public Agent { +public: + using Agent::Agent; + ~InputAssemblerValidator() override; + + void setVertexCount(uint count) override; + void setFirstVertex(uint first) override; + void setIndexCount(uint count) override; + void setFirstIndex(uint first) override; + void setVertexOffset(uint offset) override; + void setInstanceCount(uint count) override; + void setFirstInstance(uint first) override; + +protected: + void doInit(const InputAssemblerInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp b/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp new file mode 100644 index 0000000000..7f6d19a87b --- /dev/null +++ b/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp @@ -0,0 +1,56 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DescriptorSetLayoutValidator.h" +#include "DeviceValidator.h" +#include "PipelineLayoutValidator.h" + +namespace cc { +namespace gfx { + +PipelineLayoutValidator::~PipelineLayoutValidator() { + CC_SAFE_DELETE(_actor); +} + +void PipelineLayoutValidator::doInit(const PipelineLayoutInfo &info) { + PipelineLayoutInfo actorInfo; + actorInfo.setLayouts.resize(info.setLayouts.size()); + for (uint i = 0u; i < info.setLayouts.size(); i++) { + CCASSERT(info.setLayouts[i], "invalid descriptor set layout"); + actorInfo.setLayouts[i] = static_cast(info.setLayouts[i])->getActor(); + } + + _actor->initialize(actorInfo); +} + +void PipelineLayoutValidator::doDestroy() { + _actor->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.h b/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.h new file mode 100644 index 0000000000..39343074ad --- /dev/null +++ b/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXPipelineLayout.h" + +namespace cc { +namespace gfx { + +class CC_DLL PipelineLayoutValidator final : public Agent { +public: + using Agent::Agent; + ~PipelineLayoutValidator() override; + +protected: + void doInit(const PipelineLayoutInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/PipelineStateValidator.cpp b/native/cocos/renderer/gfx-validator/PipelineStateValidator.cpp new file mode 100644 index 0000000000..a7a82473eb --- /dev/null +++ b/native/cocos/renderer/gfx-validator/PipelineStateValidator.cpp @@ -0,0 +1,56 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DeviceValidator.h" +#include "PipelineLayoutValidator.h" +#include "PipelineStateValidator.h" +#include "RenderPassValidator.h" +#include "ShaderValidator.h" + +namespace cc { +namespace gfx { + +PipelineStateValidator::~PipelineStateValidator() { + CC_SAFE_DELETE(_actor); +} + +void PipelineStateValidator::doInit(const PipelineStateInfo &info) { + PipelineStateInfo actorInfo = info; + actorInfo.shader = static_cast(info.shader)->getActor(); + actorInfo.pipelineLayout = static_cast(info.pipelineLayout)->getActor(); + if (info.renderPass) actorInfo.renderPass = static_cast(info.renderPass)->getActor(); + + _actor->initialize(actorInfo); +} + +void PipelineStateValidator::doDestroy() { + _actor->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/PipelineStateValidator.h b/native/cocos/renderer/gfx-validator/PipelineStateValidator.h new file mode 100644 index 0000000000..96b266f525 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/PipelineStateValidator.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXPipelineState.h" + +namespace cc { +namespace gfx { + +class CC_DLL PipelineStateValidator final : public Agent { +public: + using Agent::Agent; + ~PipelineStateValidator() override; + +protected: + void doInit(const PipelineStateInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/QueueValidator.cpp b/native/cocos/renderer/gfx-validator/QueueValidator.cpp new file mode 100644 index 0000000000..e1a4a3d886 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/QueueValidator.cpp @@ -0,0 +1,61 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" + +#include "CommandBufferValidator.h" +#include "DeviceValidator.h" +#include "QueueValidator.h" + +namespace cc { +namespace gfx { + +QueueValidator::~QueueValidator() { + CC_SAFE_DELETE(_actor); +} + +void QueueValidator::doInit(const QueueInfo &info) { + _actor->initialize(info); +} + +void QueueValidator::doDestroy() { + _actor->destroy(); +} + +void QueueValidator::submit(CommandBuffer *const *cmdBuffs, uint count) { + if (!count) return; + + static vector cmdBuffActors; + cmdBuffActors.resize(count); + + for (uint i = 0u; i < count; ++i) { + cmdBuffActors[i] = static_cast(cmdBuffs[i])->getActor(); + } + + _actor->submit(cmdBuffActors.data(), count); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/QueueValidator.h b/native/cocos/renderer/gfx-validator/QueueValidator.h new file mode 100644 index 0000000000..87f0fd0734 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/QueueValidator.h @@ -0,0 +1,51 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXQueue.h" +#include "base/Agent.h" + +namespace cc { +namespace gfx { + +class CC_DLL QueueValidator final : public Agent { +public: + using Agent::Agent; + using Queue::submit; + + ~QueueValidator() override; + + void submit(CommandBuffer *const *cmdBuffs, uint count) override; + +protected: + friend class DeviceValidator; + + void doInit(const QueueInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/RenderPassValidator.cpp b/native/cocos/renderer/gfx-validator/RenderPassValidator.cpp new file mode 100644 index 0000000000..9c44c947f8 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/RenderPassValidator.cpp @@ -0,0 +1,48 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DeviceValidator.h" +#include "RenderPassValidator.h" + +namespace cc { +namespace gfx { + +RenderPassValidator::~RenderPassValidator() { + CC_SAFE_DELETE(_actor); +} + +void RenderPassValidator::doInit(const RenderPassInfo &info) { + _actor->initialize(info); +} + +void RenderPassValidator::doDestroy() { + _actor->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/RenderPassValidator.h b/native/cocos/renderer/gfx-validator/RenderPassValidator.h new file mode 100644 index 0000000000..089051b5f3 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/RenderPassValidator.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "gfx-base/GFXRenderPass.h" +#include "base/Agent.h" + +namespace cc { +namespace gfx { + +class CC_DLL RenderPassValidator final : public Agent { +public: + using Agent::Agent; + ~RenderPassValidator() override; + +protected: + void doInit(const RenderPassInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/SamplerValidator.cpp b/native/cocos/renderer/gfx-validator/SamplerValidator.cpp new file mode 100644 index 0000000000..74625b921e --- /dev/null +++ b/native/cocos/renderer/gfx-validator/SamplerValidator.cpp @@ -0,0 +1,49 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DescriptorSetLayoutValidator.h" +#include "DeviceValidator.h" +#include "SamplerValidator.h" + +namespace cc { +namespace gfx { + +SamplerValidator::~SamplerValidator() { + CC_SAFE_DELETE(_actor); +} + +void SamplerValidator::doInit(const SamplerInfo &info) { + _actor->initialize(info); +} + +void SamplerValidator::doDestroy() { + _actor->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/SamplerValidator.h b/native/cocos/renderer/gfx-validator/SamplerValidator.h new file mode 100644 index 0000000000..9a7c8dd11a --- /dev/null +++ b/native/cocos/renderer/gfx-validator/SamplerValidator.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXSampler.h" + +namespace cc { +namespace gfx { + +class CC_DLL SamplerValidator final : public Agent { +public: + using Agent::Agent; + ~SamplerValidator() override; + +protected: + void doInit(const SamplerInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/ShaderValidator.cpp b/native/cocos/renderer/gfx-validator/ShaderValidator.cpp new file mode 100644 index 0000000000..39d8808a5e --- /dev/null +++ b/native/cocos/renderer/gfx-validator/ShaderValidator.cpp @@ -0,0 +1,48 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DeviceValidator.h" +#include "ShaderValidator.h" + +namespace cc { +namespace gfx { + +ShaderValidator::~ShaderValidator() { + CC_SAFE_DELETE(_actor); +} + +void ShaderValidator::doInit(const ShaderInfo &info) { + _actor->initialize(info); +} + +void ShaderValidator::doDestroy() { + _actor->destroy(); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/ShaderValidator.h b/native/cocos/renderer/gfx-validator/ShaderValidator.h new file mode 100644 index 0000000000..834c93d80b --- /dev/null +++ b/native/cocos/renderer/gfx-validator/ShaderValidator.h @@ -0,0 +1,45 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXShader.h" + +namespace cc { +namespace gfx { + +class CC_DLL ShaderValidator final : public Agent { +public: + using Agent::Agent; + ~ShaderValidator() override; + +protected: + void doInit(const ShaderInfo &info) override; + void doDestroy() override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/TextureValidator.cpp b/native/cocos/renderer/gfx-validator/TextureValidator.cpp new file mode 100644 index 0000000000..3f5e110b9b --- /dev/null +++ b/native/cocos/renderer/gfx-validator/TextureValidator.cpp @@ -0,0 +1,75 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "base/CoreStd.h" +#include "base/threading/MessageQueue.h" + +#include "DeviceValidator.h" +#include "TextureValidator.h" + +namespace cc { +namespace gfx { + +namespace { +unordered_map featureCheckMap{ + {Format::D16, Feature::FORMAT_D16}, + {Format::D16S8, Feature::FORMAT_D16S8}, + {Format::D24, Feature::FORMAT_D24}, + {Format::D24S8, Feature::FORMAT_D24S8}, + {Format::D32F, Feature::FORMAT_D32F}, + {Format::D32F_S8, Feature::FORMAT_D32FS8}, + {Format::RGB8, Feature::FORMAT_RGB8}, +}; +} + +TextureValidator::~TextureValidator() { + CC_SAFE_DELETE(_actor); +} + +void TextureValidator::doInit(const TextureInfo &info) { + CCASSERT(DeviceValidator::getInstance()->hasFeature(featureCheckMap[_format]), "unsupported format"); + + _actor->initialize(info); +} + +void TextureValidator::doInit(const TextureViewInfo &info) { + TextureViewInfo actorInfo = info; + actorInfo.texture = static_cast(info.texture)->getActor(); + + _actor->initialize(info); +} + +void TextureValidator::doDestroy() { + _actor->destroy(); +} + +void TextureValidator::doResize(uint width, uint height, uint size) { + CCASSERT(!_isTextureView, "Cannot resize texture views"); + + _actor->resize(width, height); +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/TextureValidator.h b/native/cocos/renderer/gfx-validator/TextureValidator.h new file mode 100644 index 0000000000..f3e1c8d730 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/TextureValidator.h @@ -0,0 +1,47 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/Agent.h" +#include "gfx-base/GFXTexture.h" + +namespace cc { +namespace gfx { + +class CC_DLL TextureValidator final : public Agent { +public: + using Agent::Agent; + ~TextureValidator() override; + +protected: + void doInit(const TextureInfo &info) override; + void doInit(const TextureViewInfo &info) override; + void doDestroy() override; + void doResize(uint width, uint height, uint size) override; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index f7654273dd..3b77c0d587 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -92,11 +92,11 @@ void CCVKBuffer::doDestroy() { } } -void CCVKBuffer::doResize(uint size) { +void CCVKBuffer::doResize(uint size, uint count) { CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuBuffer); - _gpuBuffer->size = _size; - _gpuBuffer->count = _count; + _gpuBuffer->size = size; + _gpuBuffer->count = count; CCVKCmdFuncCreateBuffer(CCVKDevice::getInstance(), _gpuBuffer); createBufferView(); @@ -109,22 +109,6 @@ void CCVKBuffer::doResize(uint size) { } void CCVKBuffer::update(void *buffer, uint size) { - CCASSERT(!_isBufferView, "Cannot update through buffer views"); - -#if CC_DEBUG > 0 - if (_usage & BufferUsageBit::INDIRECT) { - DrawInfo *drawInfo = static_cast(buffer); - const size_t drawInfoCount = size / sizeof(DrawInfo); - const bool isIndexed = drawInfoCount > 0 && drawInfo->indexCount > 0; - for (size_t i = 1u; i < drawInfoCount; i++) { - if ((++drawInfo)->indexCount > 0 != isIndexed) { - CC_LOG_WARNING("Inconsistent indirect draw infos on using index buffer"); - return; - } - } - } -#endif - CCVKDevice::getInstance()->gpuTransportHub()->checkIn([this, buffer, size](CCVKGPUCommandBuffer *gpuCommandBuffer) { CCVKCmdFuncUpdateBuffer(CCVKDevice::getInstance(), _gpuBuffer, buffer, size, gpuCommandBuffer); }); diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.h b/native/cocos/renderer/gfx-vulkan/VKBuffer.h index 4db6d44e1e..96ba996bfe 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.h @@ -47,7 +47,7 @@ protected: void doInit(const BufferInfo &info) override; void doInit(const BufferViewInfo &info) override; void doDestroy() override; - void doResize(uint size) override; + void doResize(uint size, uint count) override; void createBufferView(); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 69fb3ef67d..22659a8a8b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -53,7 +53,7 @@ CCVKCommandBuffer::~CCVKCommandBuffer() { void CCVKCommandBuffer::doInit(const CommandBufferInfo &info) { _gpuCommandBuffer = CC_NEW(CCVKGPUCommandBuffer); _gpuCommandBuffer->level = MapVkCommandBufferLevel(_type); - _gpuCommandBuffer->queueFamilyIndex = ((CCVKQueue *)_queue)->gpuQueue()->queueFamilyIndex; + _gpuCommandBuffer->queueFamilyIndex = static_cast(_queue)->gpuQueue()->queueFamilyIndex; size_t setCount = CCVKDevice::getInstance()->bindingMappingInfo().bufferOffsets.size(); _curGPUDescriptorSets.resize(setCount); @@ -88,15 +88,11 @@ void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer beginInfo.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT; VkCommandBufferInheritanceInfo inheritanceInfo{VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO}; - if (_type == CommandBufferType::SECONDARY) { - if (!renderPass) { - CC_LOG_ERROR("RenderPass has to be specified when beginning secondary command buffers."); - return; - } - inheritanceInfo.renderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass()->vkRenderPass; + if (renderPass) { + inheritanceInfo.renderPass = static_cast(renderPass)->gpuRenderPass()->vkRenderPass; inheritanceInfo.subpass = subpass; if (frameBuffer) { - CCVKGPUFramebuffer *gpuFBO = ((CCVKFramebuffer *)frameBuffer)->gpuFBO(); + CCVKGPUFramebuffer *gpuFBO = static_cast(frameBuffer)->gpuFBO(); if (gpuFBO->isOffscreen) inheritanceInfo.framebuffer = gpuFBO->vkFramebuffer; else @@ -138,8 +134,8 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo 0, 1, &vkBarrier, 0, nullptr, 0, nullptr); #endif - _curGPUFBO = ((CCVKFramebuffer *)fbo)->gpuFBO(); - CCVKGPURenderPass *gpuRenderPass = ((CCVKRenderPass *)renderPass)->gpuRenderPass(); + _curGPUFBO = static_cast(fbo)->gpuFBO(); + CCVKGPURenderPass *gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); VkFramebuffer framebuffer = _curGPUFBO->vkFramebuffer; if (!_curGPUFBO->isOffscreen) { framebuffer = _curGPUFBO->swapchain->vkSwapchainFramebufferListMap[_curGPUFBO][_curGPUFBO->swapchain->curImageIndex]; @@ -202,7 +198,7 @@ void CCVKCommandBuffer::endRenderPass() { } void CCVKCommandBuffer::bindPipelineState(PipelineState *pso) { - CCVKGPUPipelineState *gpuPipelineState = ((CCVKPipelineState *)pso)->gpuPipelineState(); + CCVKGPUPipelineState *gpuPipelineState = static_cast(pso)->gpuPipelineState(); if (_curGPUPipelineState != gpuPipelineState) { vkCmdBindPipeline(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_BIND_POINTS[(uint)gpuPipelineState->bindPoint], gpuPipelineState->vkPipeline); @@ -213,7 +209,7 @@ void CCVKCommandBuffer::bindPipelineState(PipelineState *pso) { void CCVKCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, uint dynamicOffsetCount, const uint *dynamicOffsets) { CCASSERT(_curGPUDescriptorSets.size() > set, "Invalid set index"); - CCVKGPUDescriptorSet *gpuDescriptorSet = ((CCVKDescriptorSet *)descriptorSet)->gpuDescriptorSet(); + CCVKGPUDescriptorSet *gpuDescriptorSet = static_cast(descriptorSet)->gpuDescriptorSet(); if (_curGPUDescriptorSets[set] != gpuDescriptorSet) { _curGPUDescriptorSets[set] = gpuDescriptorSet; @@ -227,7 +223,7 @@ void CCVKCommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet } void CCVKCommandBuffer::bindInputAssembler(InputAssembler *ia) { - CCVKGPUInputAssembler *gpuInputAssembler = ((CCVKInputAssembler *)ia)->gpuInputAssembler(); + CCVKGPUInputAssembler *gpuInputAssembler = static_cast(ia)->gpuInputAssembler(); if (_curGPUInputAssember != gpuInputAssembler) { // buffers may be rebuilt(e.g. resize event) without IA's acknowledge @@ -340,7 +336,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { bindDescriptorSets(VK_PIPELINE_BIND_POINT_GRAPHICS); } - CCVKGPUInputAssembler *gpuInputAssembler = ((CCVKInputAssembler *)ia)->gpuInputAssembler(); + CCVKGPUInputAssembler *gpuInputAssembler = static_cast(ia)->gpuInputAssembler(); CCVKGPUBuffer * gpuIndirectBuffer = gpuInputAssembler->gpuIndirectBuffer; DrawInfo drawInfo; @@ -383,7 +379,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { } } } else { - ((CCVKInputAssembler *)ia)->extractDrawInfo(drawInfo); + static_cast(ia)->extractDrawInfo(drawInfo); uint instanceCount = std::max(drawInfo.instanceCount, 1u); bool hasIndexBuffer = gpuInputAssembler->gpuIndexBuffer && drawInfo.indexCount > 0; @@ -436,12 +432,12 @@ void CCVKCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint count) { } void CCVKCommandBuffer::updateBuffer(Buffer *buffer, const void *data, uint size) { - CCVKGPUBuffer *gpuBuffer = ((CCVKBuffer *)buffer)->gpuBuffer(); + CCVKGPUBuffer *gpuBuffer = static_cast(buffer)->gpuBuffer(); CCVKCmdFuncUpdateBuffer(CCVKDevice::getInstance(), gpuBuffer, data, size, _gpuCommandBuffer); } void CCVKCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - CCVKCmdFuncCopyBuffersToTexture(CCVKDevice::getInstance(), buffers, ((CCVKTexture *)texture)->gpuTexture(), regions, count, _gpuCommandBuffer); + CCVKCmdFuncCopyBuffersToTexture(CCVKDevice::getInstance(), buffers, static_cast(texture)->gpuTexture(), regions, count, _gpuCommandBuffer); } void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { @@ -454,21 +450,21 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co CCVKGPUSwapchain * swapchain = CCVKDevice::getInstance()->gpuSwapchain(); if (srcTexture) { - CCVKGPUTexture *gpuTextureSrc = ((CCVKTexture *)srcTexture)->gpuTexture(); + CCVKGPUTexture *gpuTextureSrc = static_cast(srcTexture)->gpuTexture(); srcAspectMask = gpuTextureSrc->aspectMask; srcImage = gpuTextureSrc->vkImage; } else { - srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - srcImage = swapchain->swapchainImages[swapchain->curImageIndex]; + srcAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + srcImage = swapchain->swapchainImages[swapchain->curImageIndex]; } if (dstTexture) { - CCVKGPUTexture *gpuTextureDst = ((CCVKTexture *)dstTexture)->gpuTexture(); + CCVKGPUTexture *gpuTextureDst = static_cast(dstTexture)->gpuTexture(); dstAspectMask = gpuTextureDst->aspectMask; dstImage = gpuTextureDst->vkImage; } else { - dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - dstImage = swapchain->swapchainImages[swapchain->curImageIndex]; + dstAspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + dstImage = swapchain->swapchainImages[swapchain->curImageIndex]; } _blitRegions.resize(count); @@ -559,7 +555,7 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text VkImageMemoryBarrier const *pImageMemoryBarriers = nullptr; if (barrier) { - const CCVKGPUGlobalBarrier *gpuBarrier = ((CCVKGlobalBarrier *)barrier)->gpuBarrier(); + auto gpuBarrier = static_cast(barrier)->gpuBarrier(); srcStageMask |= gpuBarrier->srcStageMask; dstStageMask |= gpuBarrier->dstStageMask; pMemoryBarrier = &gpuBarrier->vkBarrier; @@ -571,11 +567,11 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text pImageMemoryBarriers = _imageMemoryBarriers.data(); for (uint i = 0u; i < textureBarrierCount; ++i) { - const CCVKGPUTextureBarrier *gpuBarrier = ((CCVKTextureBarrier *)textureBarriers[i])->gpuBarrier(); - _imageMemoryBarriers[i] = gpuBarrier->vkBarrier; + auto gpuBarrier = static_cast(textureBarriers[i])->gpuBarrier(); + _imageMemoryBarriers[i] = gpuBarrier->vkBarrier; if (textures[i]) { - CCVKGPUTexture *gpuTexture = ((CCVKTexture *)textures[i])->gpuTexture(); + auto gpuTexture = static_cast(textures[i])->gpuTexture(); _imageMemoryBarriers[i].image = gpuTexture->vkImage; _imageMemoryBarriers[i].subresourceRange.aspectMask = gpuTexture->aspectMask; gpuTexture->currentAccessTypes.assign(gpuBarrier->barrier.pNextAccesses, gpuBarrier->barrier.pNextAccesses + gpuBarrier->barrier.nextAccessCount); diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 05a67b410a..9e86324c91 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -46,7 +46,7 @@ CCVKDescriptorSet::~CCVKDescriptorSet() { } void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { - CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); + CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const uint bindingCount = gpuDescriptorSetLayout->bindings.size(); const uint descriptorCount = gpuDescriptorSetLayout->descriptorCount; @@ -156,7 +156,7 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { void CCVKDescriptorSet::doDestroy() { if (_gpuDescriptorSet) { CCVKGPUDescriptorHub * descriptorHub = CCVKDevice::getInstance()->gpuDescriptorHub(); - CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = ((CCVKDescriptorSetLayout *)_layout)->gpuDescriptorSetLayout(); + CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; @@ -199,7 +199,7 @@ void CCVKDescriptorSet::update() { if (binding.type & DESCRIPTOR_BUFFER_TYPE) { if (_buffers[i]) { - CCVKGPUBufferView *bufferView = ((CCVKBuffer *)_buffers[i])->gpuBufferView(); + CCVKGPUBufferView *bufferView = static_cast(_buffers[i])->gpuBufferView(); if (binding.gpuBufferView != bufferView) { for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { CCVKDescriptorInfo &descriptorInfo = _gpuDescriptorSet->instances[t].descriptorInfos[i]; @@ -218,7 +218,7 @@ void CCVKDescriptorSet::update() { } } else if (binding.type & DESCRIPTOR_TEXTURE_TYPE) { if (_textures[i]) { - CCVKGPUTextureView *textureView = ((CCVKTexture *)_textures[i])->gpuTextureView(); + CCVKGPUTextureView *textureView = static_cast(_textures[i])->gpuTextureView(); if (binding.gpuTextureView != textureView) { for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { CCVKDescriptorInfo &descriptorInfo = _gpuDescriptorSet->instances[t].descriptorInfos[i]; @@ -235,7 +235,7 @@ void CCVKDescriptorSet::update() { } } if (_samplers[i]) { - CCVKGPUSampler *sampler = ((CCVKSampler *)_samplers[i])->gpuSampler(); + CCVKGPUSampler *sampler = static_cast(_samplers[i])->gpuSampler(); if (binding.gpuSampler != sampler) { for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { CCVKDescriptorInfo &descriptorInfo = _gpuDescriptorSet->instances[t].descriptorInfos[i]; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index feb8d81e72..7803659f3d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -66,13 +66,13 @@ CCVKDevice *CCVKDevice::getInstance() { } CCVKDevice::CCVKDevice() { - _API = API::VULKAN; - _deviceName = "Vulkan"; + _API = API::VULKAN; + _deviceName = "Vulkan"; _caps.clipSpaceMinZ = 0.0f; _caps.screenSpaceSignY = -1.0f; _caps.UVSpaceSignY = 1.0f; - CCVKDevice::_instance = this; + CCVKDevice::_instance = this; } CCVKDevice::~CCVKDevice() { @@ -80,7 +80,7 @@ CCVKDevice::~CCVKDevice() { } CCVKGPUContext *CCVKDevice::gpuContext() const { - return ((CCVKContext *)_context)->gpuContext(); + return static_cast(_context)->gpuContext(); } bool CCVKDevice::doInit(const DeviceInfo &info) { @@ -94,7 +94,7 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { } const CCVKContext * context = (CCVKContext *)_context; - const CCVKGPUContext * gpuContext = ((CCVKContext *)_context)->gpuContext(); + const CCVKGPUContext * gpuContext = static_cast(_context)->gpuContext(); const VkPhysicalDeviceFeatures2 &deviceFeatures2 = gpuContext->physicalDeviceFeatures2; const VkPhysicalDeviceFeatures & deviceFeatures = deviceFeatures2.features; //const VkPhysicalDeviceVulkan11Features &deviceVulkan11Features = gpuContext->physicalDeviceVulkan11Features; @@ -203,24 +203,24 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { ///////////////////// Gather Device Properties ///////////////////// - _features[(uint)Feature::COLOR_FLOAT] = true; - _features[(uint)Feature::COLOR_HALF_FLOAT] = true; - _features[(uint)Feature::TEXTURE_FLOAT] = true; - _features[(uint)Feature::TEXTURE_HALF_FLOAT] = true; - _features[(uint)Feature::TEXTURE_FLOAT_LINEAR] = true; - _features[(uint)Feature::TEXTURE_HALF_FLOAT_LINEAR] = true; - _features[(uint)Feature::FORMAT_R11G11B10F] = true; - _features[(uint)Feature::MSAA] = true; - _features[(uint)Feature::ELEMENT_INDEX_UINT] = true; - _features[(uint)Feature::INSTANCED_ARRAYS] = true; - _features[(uint)Feature::MULTIPLE_RENDER_TARGETS] = true; - _features[(uint)Feature::BLEND_MINMAX] = true; - _features[(uint)Feature::DEPTH_BOUNDS] = deviceFeatures.depthBounds; - _features[(uint)Feature::LINE_WIDTH] = true; - _features[(uint)Feature::STENCIL_COMPARE_MASK] = true; - _features[(uint)Feature::STENCIL_WRITE_MASK] = true; - _features[(uint)Feature::MULTITHREADED_SUBMISSION] = true; - _features[(uint)Feature::COMPUTE_SHADER] = true; + _features[static_cast(Feature::COLOR_FLOAT)] = true; + _features[static_cast(Feature::COLOR_HALF_FLOAT)] = true; + _features[static_cast(Feature::TEXTURE_FLOAT)] = true; + _features[static_cast(Feature::TEXTURE_HALF_FLOAT)] = true; + _features[static_cast(Feature::TEXTURE_FLOAT_LINEAR)] = true; + _features[static_cast(Feature::TEXTURE_HALF_FLOAT_LINEAR)] = true; + _features[static_cast(Feature::FORMAT_R11G11B10F)] = true; + _features[static_cast(Feature::MSAA)] = true; + _features[static_cast(Feature::ELEMENT_INDEX_UINT)] = true; + _features[static_cast(Feature::INSTANCED_ARRAYS)] = true; + _features[static_cast(Feature::MULTIPLE_RENDER_TARGETS)] = true; + _features[static_cast(Feature::BLEND_MINMAX)] = true; + _features[static_cast(Feature::DEPTH_BOUNDS)] = deviceFeatures.depthBounds; + _features[static_cast(Feature::LINE_WIDTH)] = true; + _features[static_cast(Feature::STENCIL_COMPARE_MASK)] = true; + _features[static_cast(Feature::STENCIL_WRITE_MASK)] = true; + _features[static_cast(Feature::MULTITHREADED_SUBMISSION)] = true; + _features[static_cast(Feature::COMPUTE_SHADER)] = true; _gpuDevice->useMultiDrawIndirect = deviceFeatures.multiDrawIndirect; _gpuDevice->useDescriptorUpdateTemplate = _gpuDevice->minorVersion > 0 || checkExtension(VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME); @@ -229,41 +229,41 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { VkFormatProperties formatProperties; vkGetPhysicalDeviceFormatProperties(gpuContext->physicalDevice, VK_FORMAT_R8G8B8_UNORM, &formatProperties); if (formatProperties.optimalTilingFeatures & requiredFeatures) { - _features[(uint)Feature::FORMAT_RGB8] = true; + _features[static_cast(Feature::FORMAT_RGB8)] = true; } requiredFeatures = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT | VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT; vkGetPhysicalDeviceFormatProperties(gpuContext->physicalDevice, VK_FORMAT_D16_UNORM, &formatProperties); if (formatProperties.optimalTilingFeatures & requiredFeatures) { - _features[(uint)Feature::FORMAT_D16] = true; + _features[static_cast(Feature::FORMAT_D16)] = true; } vkGetPhysicalDeviceFormatProperties(gpuContext->physicalDevice, VK_FORMAT_X8_D24_UNORM_PACK32, &formatProperties); if (formatProperties.optimalTilingFeatures & requiredFeatures) { - _features[(uint)Feature::FORMAT_D24] = true; + _features[static_cast(Feature::FORMAT_D24)] = true; } vkGetPhysicalDeviceFormatProperties(gpuContext->physicalDevice, VK_FORMAT_D32_SFLOAT, &formatProperties); if (formatProperties.optimalTilingFeatures & requiredFeatures) { - _features[(uint)Feature::FORMAT_D32F] = true; + _features[static_cast(Feature::FORMAT_D32F)] = true; } vkGetPhysicalDeviceFormatProperties(gpuContext->physicalDevice, VK_FORMAT_D16_UNORM_S8_UINT, &formatProperties); if (formatProperties.optimalTilingFeatures & requiredFeatures) { - _features[(uint)Feature::FORMAT_D16S8] = true; + _features[static_cast(Feature::FORMAT_D16S8)] = true; } vkGetPhysicalDeviceFormatProperties(gpuContext->physicalDevice, VK_FORMAT_D24_UNORM_S8_UINT, &formatProperties); if (formatProperties.optimalTilingFeatures & requiredFeatures) { - _features[(uint)Feature::FORMAT_D24S8] = true; + _features[static_cast(Feature::FORMAT_D24S8)] = true; } vkGetPhysicalDeviceFormatProperties(gpuContext->physicalDevice, VK_FORMAT_D32_SFLOAT_S8_UINT, &formatProperties); if (formatProperties.optimalTilingFeatures & requiredFeatures) { - _features[(uint)Feature::FORMAT_D32FS8] = true; + _features[static_cast(Feature::FORMAT_D32FS8)] = true; } String compressedFmts; if (deviceFeatures.textureCompressionETC2) { - _features[(uint)Feature::FORMAT_ETC2] = true; + _features[static_cast(Feature::FORMAT_ETC2)] = true; compressedFmts += "etc2 "; } if (deviceFeatures.textureCompressionASTC_LDR) { - _features[(uint)Feature::FORMAT_ASTC] = true; + _features[static_cast(Feature::FORMAT_ASTC)] = true; compressedFmts += "astc "; } @@ -347,7 +347,7 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { } _gpuBufferHub = CC_NEW(CCVKGPUBufferHub(_gpuDevice)); - _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice, ((CCVKQueue *)_queue)->gpuQueue())); + _gpuTransportHub = CC_NEW(CCVKGPUTransportHub(_gpuDevice, static_cast(_queue)->gpuQueue())); _gpuDescriptorHub = CC_NEW(CCVKGPUDescriptorHub(_gpuDevice)); _gpuSemaphorePool = CC_NEW(CCVKGPUSemaphorePool(_gpuDevice)); _gpuBarrierManager = CC_NEW(CCVKGPUBarrierManager(_gpuDevice)); @@ -408,10 +408,10 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { ///////////////////// Print Debug Info ///////////////////// String instanceLayers, instanceExtensions, deviceLayers, deviceExtensions; - for (const char *layer : ((CCVKContext *)_context)->getLayers()) { + for (const char *layer : static_cast(_context)->getLayers()) { instanceLayers += layer + String(" "); } - for (const char *extension : ((CCVKContext *)_context)->getExtensions()) { + for (const char *extension : static_cast(_context)->getExtensions()) { instanceExtensions += extension + String(" "); } for (const char *layer : _layers) { @@ -463,7 +463,7 @@ void CCVKDevice::doDestroy() { CC_SAFE_DELETE(_gpuBarrierManager); CC_SAFE_DELETE(_gpuDescriptorSetHub); - uint backBufferCount = ((CCVKContext *)_context)->gpuContext()->swapchainCreateInfo.minImageCount; + uint backBufferCount = static_cast(_context)->gpuContext()->swapchainCreateInfo.minImageCount; for (uint i = 0u; i < backBufferCount; i++) { _gpuRecycleBins[i]->clear(); @@ -554,7 +554,7 @@ void CCVKDevice::acquire() { #if !defined(VK_USE_PLATFORM_METAL_EXT) assert(_gpuDevice->curBackBufferIndex == _gpuSwapchain->curImageIndex); // MoltenVK seems to be not consistent -#endif // defined(VK_USE_PLATFORM_METAL_EXT) +#endif // defined(VK_USE_PLATFORM_METAL_EXT) queue->gpuQueue()->nextWaitSemaphore = acquireSemaphore; queue->gpuQueue()->nextSignalSemaphore = _gpuSemaphorePool->alloc(); @@ -659,12 +659,12 @@ TextureBarrier *CCVKDevice::createTextureBarrier() { void CCVKDevice::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { gpuTransportHub()->checkIn([this, buffers, dst, regions, count](CCVKGPUCommandBuffer *gpuCommandBuffer) { - CCVKCmdFuncCopyBuffersToTexture(this, buffers, ((CCVKTexture *)dst)->gpuTexture(), regions, count, gpuCommandBuffer); + CCVKCmdFuncCopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count, gpuCommandBuffer); }); } bool CCVKDevice::checkSwapchainStatus() { - CCVKGPUContext *context = ((CCVKContext *)_context)->gpuContext(); + CCVKGPUContext *context = static_cast(_context)->gpuContext(); VkSurfaceCapabilitiesKHR surfaceCapabilities; VK_CHECK(vkGetPhysicalDeviceSurfaceCapabilitiesKHR(context->physicalDevice, context->vkSurface, &surfaceCapabilities)); @@ -727,8 +727,8 @@ bool CCVKDevice::checkSwapchainStatus() { _gpuSwapchain->vkSwapchainImageViews.resize(imageCount); for (uint i = 0u; i < imageCount; i++) { _depthStencilTextures[i]->resize(_width, _height); - _gpuSwapchain->depthStencilImages.push_back(((CCVKTexture *)_depthStencilTextures[i])->gpuTexture()->vkImage); - _gpuSwapchain->depthStencilImageViews.push_back(((CCVKTexture *)_depthStencilTextures[i])->gpuTextureView()->vkImageView); + _gpuSwapchain->depthStencilImages.push_back(static_cast(_depthStencilTextures[i])->gpuTexture()->vkImage); + _gpuSwapchain->depthStencilImageViews.push_back(static_cast(_depthStencilTextures[i])->gpuTextureView()->vkImageView); VkImageViewCreateInfo imageViewCreateInfo{VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO}; imageViewCreateInfo.image = _gpuSwapchain->swapchainImages[i]; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 82a9ff9f3c..63dda58320 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -100,7 +100,7 @@ public: protected: static CCVKDevice *_instance; - friend class DeviceCreator; + friend class DeviceManager; CCVKDevice(); diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp index 20b509db40..ae5a58b8fd 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp @@ -43,7 +43,7 @@ CCVKFramebuffer::~CCVKFramebuffer() { void CCVKFramebuffer::doInit(const FramebufferInfo &info) { _gpuFBO = CC_NEW(CCVKGPUFramebuffer); - _gpuFBO->gpuRenderPass = ((CCVKRenderPass *)_renderPass)->gpuRenderPass(); + _gpuFBO->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); _gpuFBO->gpuColorViews.resize(_colorTextures.size()); for (size_t i = 0; i < _colorTextures.size(); ++i) { @@ -54,7 +54,7 @@ void CCVKFramebuffer::doInit(const FramebufferInfo &info) { } if (_depthStencilTexture) { - _gpuFBO->gpuDepthStencilView = ((CCVKTexture *)_depthStencilTexture)->gpuTextureView(); + _gpuFBO->gpuDepthStencilView = static_cast(_depthStencilTexture)->gpuTextureView(); } CCVKCmdFuncCreateFramebuffer(CCVKDevice::getInstance(), _gpuFBO); diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp index 71bfc1c632..cc7680d56a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp @@ -46,8 +46,7 @@ void CCVKPipelineLayout::doInit(const PipelineLayoutInfo &info) { int offset = 0u; for (uint i = 0u; i < _setLayouts.size(); i++) { DescriptorSetLayout *setLayout = _setLayouts[i]; - CCASSERT(setLayout != nullptr, "SetLayout should not be nullptr."); - CCVKGPUDescriptorSetLayout *gpuSetLayout = ((CCVKDescriptorSetLayout *)setLayout)->gpuDescriptorSetLayout(); + CCVKGPUDescriptorSetLayout *gpuSetLayout = static_cast(setLayout)->gpuDescriptorSetLayout(); size_t dynamicCount = gpuSetLayout->dynamicBindings.size(); _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->setLayouts.push_back(gpuSetLayout); diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index de875ff53f..b929985603 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -46,13 +46,13 @@ void CCVKPipelineState::doInit(const PipelineStateInfo &info) { _gpuPipelineState = CC_NEW(CCVKGPUPipelineState); _gpuPipelineState->bindPoint = _bindPoint; _gpuPipelineState->primitive = _primitive; - _gpuPipelineState->gpuShader = ((CCVKShader *)_shader)->gpuShader(); + _gpuPipelineState->gpuShader = static_cast(_shader)->gpuShader(); _gpuPipelineState->inputState = _inputState; _gpuPipelineState->rs = _rasterizerState; _gpuPipelineState->dss = _depthStencilState; _gpuPipelineState->bs = _blendState; - _gpuPipelineState->gpuPipelineLayout = ((CCVKPipelineLayout *)_pipelineLayout)->gpuPipelineLayout(); - if (_renderPass) _gpuPipelineState->gpuRenderPass = ((CCVKRenderPass *)_renderPass)->gpuRenderPass(); + _gpuPipelineState->gpuPipelineLayout = static_cast(_pipelineLayout)->gpuPipelineLayout(); + if (_renderPass) _gpuPipelineState->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); for (uint i = 0; i < 31; i++) { if ((uint)_dynamicStates & (1 << i)) { diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index 73f4f83bf2..ef0837224b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -41,19 +41,19 @@ CCVKTexture::~CCVKTexture() { } void CCVKTexture::doInit(const TextureInfo &info) { - _gpuTexture = CC_NEW(CCVKGPUTexture); - _gpuTexture->type = _type; - _gpuTexture->format = _format; - _gpuTexture->usage = _usage; - _gpuTexture->width = _width; - _gpuTexture->height = _height; - _gpuTexture->depth = _depth; - _gpuTexture->size = _size; + _gpuTexture = CC_NEW(CCVKGPUTexture); + _gpuTexture->type = _type; + _gpuTexture->format = _format; + _gpuTexture->usage = _usage; + _gpuTexture->width = _width; + _gpuTexture->height = _height; + _gpuTexture->depth = _depth; + _gpuTexture->size = _size; _gpuTexture->arrayLayers = _layerCount; - _gpuTexture->mipLevels = _levelCount; - _gpuTexture->samples = _samples; - _gpuTexture->flags = _flags; - _gpuTexture->isPowerOf2 = math::IsPowerOfTwo(_width) && math::IsPowerOfTwo(_height); + _gpuTexture->mipLevels = _levelCount; + _gpuTexture->samples = _samples; + _gpuTexture->flags = _flags; + _gpuTexture->isPowerOf2 = math::IsPowerOfTwo(_width) && math::IsPowerOfTwo(_height); CCVKCmdFuncCreateTexture(CCVKDevice::getInstance(), _gpuTexture); @@ -62,7 +62,7 @@ void CCVKTexture::doInit(const TextureInfo &info) { } void CCVKTexture::doInit(const TextureViewInfo &info) { - _gpuTexture = ((CCVKTexture *)info.texture)->gpuTexture(); + _gpuTexture = static_cast(info.texture)->gpuTexture(); _gpuTextureView = CC_NEW(CCVKGPUTextureView); createTextureView(); @@ -70,11 +70,11 @@ void CCVKTexture::doInit(const TextureViewInfo &info) { void CCVKTexture::createTextureView() { _gpuTextureView->gpuTexture = _gpuTexture; - _gpuTextureView->type = _type; - _gpuTextureView->format = _format; - _gpuTextureView->baseLevel = _baseLevel; + _gpuTextureView->type = _type; + _gpuTextureView->format = _format; + _gpuTextureView->baseLevel = _baseLevel; _gpuTextureView->levelCount = _levelCount; - _gpuTextureView->baseLayer = _baseLayer; + _gpuTextureView->baseLayer = _baseLayer; _gpuTextureView->layerCount = _layerCount; CCVKCmdFuncCreateTextureView(CCVKDevice::getInstance(), _gpuTextureView); } @@ -97,10 +97,13 @@ void CCVKTexture::doDestroy() { } } -void CCVKTexture::doResize(uint width, uint height) { +void CCVKTexture::doResize(uint width, uint height, uint size) { CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuTextureView); CCVKDevice::getInstance()->gpuRecycleBin()->collect(_gpuTexture); + _gpuTexture->width = width; + _gpuTexture->height = height; + _gpuTexture->size = size; CCVKCmdFuncCreateTexture(CCVKDevice::getInstance(), _gpuTexture); CCVKCmdFuncCreateTextureView(CCVKDevice::getInstance(), _gpuTextureView); diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.h b/native/cocos/renderer/gfx-vulkan/VKTexture.h index a6e7b98cc6..b5d47ab000 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.h +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.h @@ -45,7 +45,7 @@ protected: void doInit(const TextureInfo &info) override; void doInit(const TextureViewInfo &info) override; void doDestroy() override; - void doResize(uint width, uint height) override; + void doResize(uint width, uint height, uint size) override; void createTextureView(); diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp index 13c836ca7c..57e048c5fb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp @@ -64,10 +64,10 @@ void CCVKTextureBarrier::doInit(const TextureBarrierInfo &info) { _gpuBarrier->barrier.subresourceRange.baseArrayLayer = 0u; _gpuBarrier->barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; _gpuBarrier->barrier.srcQueueFamilyIndex = info.srcQueue - ? ((CCVKQueue *)info.srcQueue)->gpuQueue()->queueFamilyIndex + ? static_cast(info.srcQueue)->gpuQueue()->queueFamilyIndex : VK_QUEUE_FAMILY_IGNORED; _gpuBarrier->barrier.dstQueueFamilyIndex = info.dstQueue - ? ((CCVKQueue *)info.dstQueue)->gpuQueue()->queueFamilyIndex + ? static_cast(info.dstQueue)->gpuQueue()->queueFamilyIndex : VK_QUEUE_FAMILY_IGNORED; thsvsGetVulkanImageMemoryBarrier(_gpuBarrier->barrier, &_gpuBarrier->srcStageMask, &_gpuBarrier->dstStageMask, &_gpuBarrier->vkBarrier); diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp index d4d96d5620..9ac903a8d9 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp @@ -26,7 +26,9 @@ #include "RenderBatchedQueue.h" #include "BatchedBuffer.h" #include "PipelineStateManager.h" -#include "gfx-base/GFXBase.h" +#include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXCommandBuffer.h" +#include "gfx-base/GFXRenderPass.h" #include "helper/SharedMemory.h" namespace cc { diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.h b/native/cocos/renderer/pipeline/RenderInstancedQueue.h index 41016eb3bd..cf3f78c197 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.h +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.h @@ -25,9 +25,16 @@ #pragma once -#include "gfx-base/GFXBase.h" +#include "base/CoreStd.h" namespace cc { + +namespace gfx { +class Device; +class RenderPass; +class CommandBuffer; +} // namespace gfx + namespace pipeline { class InstancedBuffer; diff --git a/native/templates/win32/AppDelegate.h b/native/templates/win32/AppDelegate.h index 247ec0e8a9..d4e4218964 100644 --- a/native/templates/win32/AppDelegate.h +++ b/native/templates/win32/AppDelegate.h @@ -15,8 +15,8 @@ public: void start(); private: - std::shared_ptr _game; std::shared_ptr _view; - + std::shared_ptr _game; + bool _quit = false; -}; \ No newline at end of file +}; From 6c1ab93ebea9630f8d942389a0083be02da7d7fd Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 23 Mar 2021 09:43:12 +0800 Subject: [PATCH 195/270] treat warning as error for base files (#3336) * treat warning as error for base files * remove UTFString as std::iterator template is deprecated in c++17 --- native/CMakeLists.txt | 102 +- native/cocos/base/Log.cpp | 9 +- native/cocos/base/ThreadPool.cpp | 2 +- native/cocos/base/UTFString.cpp | 594 ---------- native/cocos/base/UTFString.h | 1586 -------------------------- native/cocos/base/Value.cpp | 2 +- native/cocos/base/csscolorparser.cpp | 4 +- 7 files changed, 58 insertions(+), 2241 deletions(-) delete mode 100755 native/cocos/base/UTFString.cpp delete mode 100755 native/cocos/base/UTFString.h diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 38cde6fe31..5e8c02785d 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -314,58 +314,56 @@ endif() ##### base cocos_source_files( - cocos/base/Agent.h - NO_WERROR cocos/base/Array.cpp - cocos/base/Array.h - NO_WERROR cocos/base/astc.cpp - cocos/base/astc.h - NO_WERROR cocos/base/AutoreleasePool.cpp - cocos/base/AutoreleasePool.h - NO_WERROR cocos/base/base64.cpp - cocos/base/base64.h - cocos/base/CachedArray.h - cocos/base/Config.h - cocos/base/CoreStd.h - NO_WERROR cocos/base/csscolorparser.cpp - cocos/base/csscolorparser.h - NO_WERROR cocos/base/Data.cpp - cocos/base/Data.h - NO_WERROR cocos/base/etc1.cpp - cocos/base/etc1.h - NO_WERROR cocos/base/etc2.cpp - cocos/base/etc2.h - cocos/base/IndexHandle.h - NO_WERROR cocos/base/Log.cpp - cocos/base/Log.h - cocos/base/Macros.h - cocos/base/Map.h - cocos/base/Object.h - NO_WERROR cocos/base/Random.cpp - cocos/base/Random.h - NO_WERROR cocos/base/Ref.cpp - cocos/base/Ref.h - NO_WERROR cocos/base/Scheduler.cpp - cocos/base/Scheduler.h - NO_WERROR cocos/base/StringHandle.cpp - cocos/base/StringHandle.h - cocos/base/StringPool.h - NO_WERROR cocos/base/StringUtil.cpp - cocos/base/StringUtil.h - NO_WERROR cocos/base/ThreadPool.cpp - cocos/base/ThreadPool.h - cocos/base/TypeDef.h - NO_WERROR cocos/base/UTF8.cpp - cocos/base/UTF8.h - NO_WERROR cocos/base/UTFString.cpp - cocos/base/UTFString.h - cocos/base/uthash.h - NO_WERROR cocos/base/Utils.cpp - cocos/base/Utils.h - NO_WERROR cocos/base/Value.cpp - cocos/base/Value.h - cocos/base/Vector.h - NO_WERROR cocos/base/ZipUtils.cpp - cocos/base/ZipUtils.h + cocos/base/Agent.h + cocos/base/Array.cpp + cocos/base/Array.h + cocos/base/astc.cpp + cocos/base/astc.h + cocos/base/AutoreleasePool.cpp + cocos/base/AutoreleasePool.h + cocos/base/base64.cpp + cocos/base/base64.h + cocos/base/CachedArray.h + cocos/base/Config.h + cocos/base/CoreStd.h + cocos/base/csscolorparser.cpp + cocos/base/csscolorparser.h + cocos/base/Data.cpp + cocos/base/Data.h + cocos/base/etc1.cpp + cocos/base/etc1.h + cocos/base/etc2.cpp + cocos/base/etc2.h + cocos/base/IndexHandle.h + cocos/base/Log.cpp + cocos/base/Log.h + cocos/base/Macros.h + cocos/base/Map.h + cocos/base/Object.h + cocos/base/Random.cpp + cocos/base/Random.h + cocos/base/Ref.cpp + cocos/base/Ref.h + cocos/base/Scheduler.cpp + cocos/base/Scheduler.h + cocos/base/StringHandle.cpp + cocos/base/StringHandle.h + cocos/base/StringPool.h + cocos/base/StringUtil.cpp + cocos/base/StringUtil.h + cocos/base/ThreadPool.cpp + cocos/base/ThreadPool.h + cocos/base/TypeDef.h + cocos/base/UTF8.cpp + cocos/base/UTF8.h + cocos/base/uthash.h + cocos/base/Utils.cpp + cocos/base/Utils.h + cocos/base/Value.cpp + cocos/base/Value.h + cocos/base/Vector.h + cocos/base/ZipUtils.cpp + cocos/base/ZipUtils.h ) ##### memory diff --git a/native/cocos/base/Log.cpp b/native/cocos/base/Log.cpp index 7aaefd132b..09eaa57327 100755 --- a/native/cocos/base/Log.cpp +++ b/native/cocos/base/Log.cpp @@ -24,7 +24,6 @@ ****************************************************************************/ #include "Log.h" -#include "UTFString.h" #include "StringUtil.h" #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) @@ -137,8 +136,8 @@ void Log::logMessage(LogType type, LogLevel level, const char *formats, ...) { } #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) - UTFString utfstr(buff); - const wchar_t *ustr = utfstr.asWStr_c_str(); + WCHAR wszBuf[4096] = { 0 }; + MultiByteToWideChar(CP_UTF8, 0, buff, -1, wszBuf, sizeof(wszBuf)); WORD color; switch (level) { @@ -150,10 +149,10 @@ void Log::logMessage(LogType type, LogLevel level, const char *formats, ...) { default: color = COLOR_INFO; } SET_CONSOLE_TEXT_COLOR(color); - wprintf(L"%s", ustr); + wprintf(L"%s", wszBuf); SET_CONSOLE_TEXT_COLOR(COLOR_NORMAL); - OutputDebugStringW(ustr); + OutputDebugStringW(wszBuf); #elif (CC_PLATFORM == CC_PLATFORM_ANDROID) android_LogPriority priority; switch (level) { diff --git a/native/cocos/base/ThreadPool.cpp b/native/cocos/base/ThreadPool.cpp index b62ad6d68e..d8057f7794 100644 --- a/native/cocos/base/ThreadPool.cpp +++ b/native/cocos/base/ThreadPool.cpp @@ -44,7 +44,7 @@ namespace cc { #define DEFAULT_THREAD_POOL_MIN_NUM (4) #define DEFAULT_THREAD_POOL_MAX_NUM (20) -#define DEFAULT_SHRINK_INTERVAL (5.0f) +#define DEFAULT_SHRINK_INTERVAL (5) #define DEFAULT_SHRINK_STEP (2) #define DEFAULT_STRETCH_STEP (2) diff --git a/native/cocos/base/UTFString.cpp b/native/cocos/base/UTFString.cpp deleted file mode 100755 index e0a3ff7a7c..0000000000 --- a/native/cocos/base/UTFString.cpp +++ /dev/null @@ -1,594 +0,0 @@ -/**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "UTFString.h" -#include "memory/Memory.h" - -namespace cc { - -UTFString::unicode_char UTFString::_base_iterator::_getCharacter() const { - return string_->getChar(_get_index()); -} - -int UTFString::_base_iterator::_setCharacter(unicode_char uc) { - size_type current_index = _get_index(); - int change = string_->setChar(current_index, uc); - _jump_to(current_index); - return change; -} - -void UTFString::_base_iterator::_moveNext() { - _seekFwd(1); // move 1 code point forward - if (_test_end()) return; // exit if we hit the end - if (_utf16_surrogate_follow(iter_[0])) { - // landing on a follow code point means we might be part of a bigger character - // so we test for that - code_point lead_half = 0; - //NB: we can't possibly be at the beginning here, so no need to test - lead_half = iter_[-1]; // check the previous code point to see if we're part of a surrogate pair - if (_utf16_surrogate_lead(lead_half)) { - _seekFwd(1); // if so, then advance 1 more code point - } - } -} - -void UTFString::_base_iterator::_movePrev() { - _seekRev(1); // move 1 code point backwards - if (_test_begin()) return; // exit if we hit the beginning - if (_utf16_surrogate_follow(iter_[0])) { - // landing on a follow code point means we might be part of a bigger character - // so we test for that - code_point lead_half = 0; - lead_half = iter_[-1]; // check the previous character to see if we're part of a surrogate pair - if (_utf16_surrogate_lead(lead_half)) { - _seekRev(1); // if so, then rewind 1 more code point - } - } -} - -////////////////////////////////////////////////////////////////////////// - -UTFString::unicode_char UTFString::getChar(size_type loc) const { - const code_point *ptr = c_str(); - unicode_char uc; - size_t l = _utf16_char_length(ptr[loc]); - code_point cp[2] = {/* blame the code beautifier */ - 0, 0}; - cp[0] = ptr[loc]; - - if (l == 2 && (loc + 1) < m_data.length()) { - cp[1] = ptr[loc + 1]; - } - _utf16_to_utf32(cp, uc); - return uc; -} - -int UTFString::setChar(size_type loc, unicode_char ch) { - code_point cp[2] = {/* blame the code beautifier */ - 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - unicode_char existingChar = getChar(loc); - size_t existingSize = _utf16_char_length(existingChar); - size_t newSize = _utf16_char_length(ch); - - if (newSize > existingSize) { - at(loc) = cp[0]; - insert(loc + 1, 1, cp[1]); - return 1; - } - if (newSize < existingSize) { - erase(loc, 1); - at(loc) = cp[0]; - return -1; - } - - // newSize == existingSize - at(loc) = cp[0]; - if (l == 2) at(loc + 1) = cp[1]; - return 0; -} - -UTFString &UTFString::assign(const String &str) { - size_type len = _verifyUTF8(str); - clear(); // empty our contents, if there are any - if (len == 0) { - return *this; - } - - reserve(len); // best guess bulk capacity growth - - // This is a 3 step process, converting each byte in the UTF-8 stream to UTF-32, - // then converting it to UTF-16, then finally appending the data buffer - - unicode_char uc = 0; // temporary Unicode character buffer - unsigned char utf8buf[7]; // temporary UTF-8 buffer - utf8buf[6] = 0; - size_t utf8len; // UTF-8 length - code_point utf16buff[3]; // temporary UTF-16 buffer - utf16buff[2] = 0; - size_t utf16len; // UTF-16 length - - String::const_iterator i, ie = str.end(); - for (i = str.begin(); i != ie; i++) { - utf8len = _utf8_char_length(static_cast(*i)); // estimate bytes to load - for (size_t j = 0; j < utf8len; j++) { // load the needed UTF-8 bytes - utf8buf[j] = (static_cast(*(i + j))); // we don't increment 'i' here just in case the estimate is wrong (shouldn't happen, but we're being careful) - } - utf8buf[utf8len] = 0; // nul terminate so we throw an exception before running off the end of the buffer - utf8len = _utf8_to_utf32(utf8buf, uc); // do the UTF-8 -> UTF-32 conversion - i += utf8len - 1; // we subtract 1 for the increment of the 'for' loop - - utf16len = _utf32_to_utf16(uc, utf16buff); // UTF-32 -> UTF-16 conversion - append(utf16buff, utf16len); // append the characters to the string - } - return *this; -} - -UTFString &UTFString::assign(const WString &wstr) { - m_data.clear(); - m_data.reserve(wstr.length()); // best guess bulk allocate -#ifdef WCHAR_UTF16 // if we're already working in UTF-16, this is easy - code_point tmp; - WString::const_iterator i, ie = wstr.end(); - for (i = wstr.begin(); i != ie; i++) { - tmp = static_cast(*i); - m_data.push_back(tmp); - } -#else // otherwise we do it the safe way (which is still 100% safe to pass UTF-16 through, just slower) - code_point cp[3] = {0, 0, 0}; - unicode_char tmp; - WString::const_iterator i, ie = wstr.end(); - for (i = wstr.begin(); i != ie; i++) { - tmp = static_cast(*i); - size_t l = _utf32_to_utf16(tmp, cp); - if (l > 0) m_data.push_back(cp[0]); - if (l > 1) m_data.push_back(cp[1]); - } -#endif - return *this; -} - -UTFString &UTFString::append(size_type num, unicode_char ch) { - code_point cp[2] = {0, 0}; - if (_utf32_to_utf16(ch, cp) == 2) { - for (size_type i = 0; i < num; i++) { - append(1, cp[0]); - append(1, cp[1]); - } - } else { - for (size_type i = 0; i < num; i++) { - append(1, cp[0]); - } - } - return *this; -} - -UTFString &UTFString::insert(size_type index, size_type num, unicode_char ch) { - code_point cp[3] = {0, 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - if (l == 1) { - return insert(index, num, cp[0]); - } - for (size_type c = 0; c < num; c++) { - // insert in reverse order to preserve ordering after insert - insert(index, 1, cp[1]); - insert(index, 1, cp[0]); - } - return *this; -} - -void UTFString::insert(iterator i, size_type num, const unicode_char &ch) { - code_point cp[3] = {0, 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - if (l == 1) { - insert(i, num, cp[0]); - } else { - for (size_type c = 0; c < num; c++) { - // insert in reverse order to preserve ordering after insert - insert(i, 1, cp[1]); - insert(i, 1, cp[0]); - } - } -} - -UTFString::size_type UTFString::find_first_of(const UTFString &str, size_type index /*= 0*/, size_type num /*= npos */) const { - size_type i = 0; - const size_type len = length(); - while (i < num && (index + i) < len) { - unicode_char ch = getChar(index + i); - if (str.inString(ch)) - return index + i; - i += _utf16_char_length(ch); // increment by the Unicode character length - } - return npos; -} - -UTFString::size_type UTFString::find_first_not_of(const UTFString &str, size_type index /*= 0*/, size_type num /*= npos */) const { - size_type i = 0; - const size_type len = length(); - while (i < num && (index + i) < len) { - unicode_char ch = getChar(index + i); - if (!str.inString(ch)) - return index + i; - i += _utf16_char_length(ch); // increment by the Unicode character length - } - return npos; -} - -UTFString::size_type UTFString::find_last_of(const UTFString &str, size_type index /*= npos*/, size_type num /*= npos */) const { - size_type i = 0; - const size_type len = length(); - if (index > len) index = len - 1; - - while (i < num && (index - i) != npos) { - size_type j = index - i; - // careful to step full Unicode characters - if (j != 0 && _utf16_surrogate_follow(at(j)) && _utf16_surrogate_lead(at(j - 1))) { - j = index - ++i; - } - // and back to the usual dull test - unicode_char ch = getChar(j); - if (str.inString(ch)) - return j; - i++; - } - return npos; -} - -UTFString::size_type UTFString::find_last_not_of(const UTFString &str, size_type index /*= npos*/, size_type num /*= npos */) const { - size_type i = 0; - const size_type len = length(); - if (index > len) index = len - 1; - - while (i < num && (index - i) != npos) { - size_type j = index - i; - // careful to step full Unicode characters - if (j != 0 && _utf16_surrogate_follow(at(j)) && _utf16_surrogate_lead(at(j - 1))) { - j = index - ++i; - } - // and back to the usual dull test - unicode_char ch = getChar(j); - if (!str.inString(ch)) - return j; - i++; - } - return npos; -} - -size_t UTFString::_utf16_to_utf32(const code_point in_cp[2], unicode_char &out_uc) { - const code_point &cp1 = in_cp[0]; - const code_point &cp2 = in_cp[1]; - bool wordPair = false; - - // does it look like a surrogate pair? - if (0xD800 <= cp1 && cp1 <= 0xDBFF) { - // looks like one, but does the other half match the algorithm as well? - if (0xDC00 <= cp2 && cp2 <= 0xDFFF) - wordPair = true; // yep! - } - - if (!wordPair) { // if we aren't a 100% authentic surrogate pair, then just copy the value - out_uc = cp1; - return 1; - } - - unsigned short cU = cp1, cL = cp2; // copy upper and lower words of surrogate pair to writable buffers - cU -= 0xD800; // remove the encoding markers - cL -= 0xDC00; - - out_uc = (cU & 0x03FF) << 10; // grab the 10 upper bits and set them in their proper location - out_uc |= (cL & 0x03FF); // combine in the lower 10 bits - out_uc += 0x10000; // add back in the value offset - - return 2; // this whole operation takes to words, so that's what we'll return -} - -size_t UTFString::_utf32_to_utf16(const unicode_char &in_uc, code_point out_cp[2]) { - if (in_uc <= 0xFFFF) { // we blindly preserve sentinel values because our decoder understands them - out_cp[0] = static_cast(in_uc); - return 1; - } - unicode_char uc = in_uc; // copy to writable buffer - unsigned short tmp; // single code point buffer - uc -= 0x10000; // subtract value offset - - //process upper word - tmp = static_cast((uc >> 10) & 0x03FF); // grab the upper 10 bits - tmp += 0xD800; // add encoding offset - out_cp[0] = tmp; // write - - // process lower word - tmp = static_cast(uc & 0x03FF); // grab the lower 10 bits - tmp += 0xDC00; // add encoding offset - out_cp[1] = tmp; // write - - return 2; // return used word count (2 for surrogate pairs) -} - -size_t UTFString::_utf8_char_length(unsigned char cp) { - if (!(cp & 0x80)) return 1; - if ((cp & ~_lead1_mask) == _lead1) return 2; - if ((cp & ~_lead2_mask) == _lead2) return 3; - if ((cp & ~_lead3_mask) == _lead3) return 4; - if ((cp & ~_lead4_mask) == _lead4) return 5; - if ((cp & ~_lead5_mask) == _lead5) return 6; - - CCASSERT(0, "invalid UTF-8 sequence header value"); - return 1; -} - -size_t UTFString::_utf8_char_length(unicode_char uc) { - /* - 7 bit: U-00000000 - U-0000007F: 0xxxxxxx - 11 bit: U-00000080 - U-000007FF: 110xxxxx 10xxxxxx - 16 bit: U-00000800 - U-0000FFFF: 1110xxxx 10xxxxxx 10xxxxxx - 21 bit: U-00010000 - U-001FFFFF: 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx - 26 bit: U-00200000 - U-03FFFFFF: 111110xx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx - 31 bit: U-04000000 - U-7FFFFFFF: 1111110x 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx - */ - if (!(uc & ~0x0000007F)) return 1; - if (!(uc & ~0x000007FF)) return 2; - if (!(uc & ~0x0000FFFF)) return 3; - if (!(uc & ~0x001FFFFF)) return 4; - if (!(uc & ~0x03FFFFFF)) return 5; - if (!(uc & ~0x7FFFFFFF)) return 6; - - CCASSERT(0, "invalid UTF-32 value"); - return 1; -} - -size_t UTFString::_utf8_to_utf32(const unsigned char in_cp[6], unicode_char &out_uc) { - size_t len = _utf8_char_length(in_cp[0]); - if (len == 1) { // if we are only 1 byte long, then just grab it and exit - out_uc = in_cp[0]; - return 1; - } - - unicode_char c = 0; // temporary buffer - size_t i = 0; - switch (len) { // load header byte - case 6: - c = in_cp[i] & _lead5_mask; - break; - case 5: - c = in_cp[i] & _lead4_mask; - break; - case 4: - c = in_cp[i] & _lead3_mask; - break; - case 3: - c = in_cp[i] & _lead2_mask; - break; - case 2: - c = in_cp[i] & _lead1_mask; - break; - } - - for (++i; i < len; i++) { // load each continuation byte - if ((in_cp[i] & ~_cont_mask) != _cont) { - CCASSERT(0, "bad UTF-8 continuation byte"); - break; - } - c <<= 6; - c |= (in_cp[i] & _cont_mask); - } - - out_uc = c; // write the final value and return the used byte length - return len; -} - -size_t UTFString::_utf32_to_utf8(const unicode_char &in_uc, unsigned char out_cp[6]) { - size_t len = _utf8_char_length(in_uc); // predict byte length of sequence - unicode_char c = in_uc; // copy to temp buffer - - //stuff all of the lower bits - for (size_t i = len - 1; i > 0; i--) { - out_cp[i] = static_cast(((c)&_cont_mask) | _cont); - c >>= 6; - } - - //now write the header byte - switch (len) { - case 6: - out_cp[0] = static_cast(((c)&_lead5_mask) | _lead5); - break; - case 5: - out_cp[0] = static_cast(((c)&_lead4_mask) | _lead4); - break; - case 4: - out_cp[0] = static_cast(((c)&_lead3_mask) | _lead3); - break; - case 3: - out_cp[0] = static_cast(((c)&_lead2_mask) | _lead2); - break; - case 2: - out_cp[0] = static_cast(((c)&_lead1_mask) | _lead1); - break; - case 1: - default: - out_cp[0] = static_cast((c)&0x7F); - break; - } - - // return the byte length of the sequence - return len; -} - -UTFString::size_type UTFString::_verifyUTF8(const String &str) { - String::const_iterator i, ie = str.end(); - i = str.begin(); - size_type length = 0; - - while (i != ie) { - // characters pass until we find an extended sequence - if ((*i) & 0x80) { - unsigned char c = (*i); - size_t contBytes = 0; - - // get continuation byte count and test for overlong sequences - if ((c & ~_lead1_mask) == _lead1) { // 1 additional byte - if (c == _lead1) { - CCASSERT(0, "overlong UTF-8 sequence"); - return 0; - } - contBytes = 1; - - } else if ((c & ~_lead2_mask) == _lead2) { // 2 additional bytes - contBytes = 2; - if (c == _lead2) { // possible overlong UTF-8 sequence - c = (*(i + 1)); // look ahead to next byte in sequence - if ((c & _lead2) == _cont) { - CCASSERT(0, "overlong UTF-8 sequence"); - return 0; - } - } - - } else if ((c & ~_lead3_mask) == _lead3) { // 3 additional bytes - contBytes = 3; - if (c == _lead3) { // possible overlong UTF-8 sequence - c = (*(i + 1)); // look ahead to next byte in sequence - if ((c & _lead3) == _cont) { - CCASSERT(0, "overlong UTF-8 sequence"); - return 0; - } - } - - } else if ((c & ~_lead4_mask) == _lead4) { // 4 additional bytes - contBytes = 4; - if (c == _lead4) { // possible overlong UTF-8 sequence - c = (*(i + 1)); // look ahead to next byte in sequence - if ((c & _lead4) == _cont) { - CCASSERT(0, "overlong UTF-8 sequence"); - return 0; - } - } - - } else if ((c & ~_lead5_mask) == _lead5) { // 5 additional bytes - contBytes = 5; - if (c == _lead5) { // possible overlong UTF-8 sequence - c = (*(i + 1)); // look ahead to next byte in sequence - if ((c & _lead5) == _cont) { - CCASSERT(0, "overlong UTF-8 sequence"); - return 0; - } - } - } - - // check remaining continuation bytes for - while (contBytes--) { - c = (*(++i)); // get next byte in sequence - if ((c & ~_cont_mask) != _cont) { - CCASSERT(0, "bad UTF-8 continuation byte"); - return 0; - } - } - } - length++; - i++; - } - return length; -} - -void UTFString::_cleanBuffer() const { - if (m_buff.m_voidBuff != 0) { - switch (m_buffType) { - case BT_STR: - CC_DELETE_T(m_buff.m_strBuff, String); - break; - case BT_WSTR: - CC_DELETE_T(m_buff.m_wstrBuff, WString); - break; - case BT_NONE: // under the worse of circumstances, this is all we can do, and hope it works out - default: - //delete mBuffer.mVoidBuffer; - // delete void* is undefined, don't do that - CCASSERT(0, "This should never happen - mVoidBuffer should never contain something if we " - "don't know the type"); - break; - } - m_buff.m_voidBuff = 0; - m_buffSize = 0; - m_buffType = BT_NONE; - } -} - -void UTFString::_getBufferStr() const { - if (m_buffType != BT_STR) { - _cleanBuffer(); - m_buff.m_strBuff = CC_NEW_T(String); - m_buffType = BT_STR; - } - m_buff.m_strBuff->clear(); -} - -void UTFString::_getBufferWStr() const { - if (m_buffType != BT_WSTR) { - _cleanBuffer(); - m_buff.m_wstrBuff = CC_NEW_T(WString); - m_buffType = BT_WSTR; - } - m_buff.m_wstrBuff->clear(); -} - -void UTFString::_load_buffer_UTF8() const { - _getBufferStr(); - String &buffer = (*m_buff.m_strBuff); - buffer.reserve(length()); - - unsigned char utf8buf[6] = ""; - char *charbuf = (char *)utf8buf; - unicode_char c; - size_t len; - - const_iterator i, ie = end(); - for (i = begin(); i != ie; i.moveNext()) { - c = i.getCharacter(); - len = _utf32_to_utf8(c, utf8buf); - size_t j = 0; - while (j < len) - buffer.push_back(charbuf[j++]); - } -} - -void UTFString::_load_buffer_WStr() const { - _getBufferWStr(); - WString &buffer = (*m_buff.m_wstrBuff); - buffer.reserve(length()); // may over reserve, but should be close enough -#ifdef WCHAR_UTF16 // wchar_t matches UTF-16 - const_iterator i, ie = end(); - for (i = begin(); i != ie; ++i) { - buffer.push_back((wchar_t)(*i)); - } -#else // wchar_t fits UTF-32 - unicode_char c; - const_iterator i, ie = end(); - for (i = begin(); i != ie; i.moveNext()) { - c = i.getCharacter(); - buffer.push_back((wchar_t)c); - } -#endif -} - -} // namespace cc diff --git a/native/cocos/base/UTFString.h b/native/cocos/base/UTFString.h deleted file mode 100755 index 87afa2c803..0000000000 --- a/native/cocos/base/UTFString.h +++ /dev/null @@ -1,1586 +0,0 @@ -/**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#ifndef CC_CORE_KERNEL_UTF_STRING_H_ -#define CC_CORE_KERNEL_UTF_STRING_H_ - -#include "Macros.h" -#include "memory/StlAlloc.h" - -#if (CC_COMPILER == CC_COMPILER_MSVC && (CC_COMPILER_VERSION >= 70 && CC_COMPILER_VERSION < 100)) - - #if defined(_DLL_CPPLIB) -namespace std { -template class _CRTIMP2 basic_string, - allocator>; - -template class _CRTIMP2 basic_string<__wchar_t, char_traits<__wchar_t>, - allocator<__wchar_t>>; -} // namespace std - #endif // defined(_DLL_CPPLIB) - -#endif - -namespace cc { - -/* READ THIS NOTICE BEFORE USING IN YOUR OWN APPLICATIONS - =NOTICE= - This class is not a complete Unicode solution. It purposefully does not - provide certain functionality, such as proper lexical sorting for - Unicode values. It does provide comparison operators for the sole purpose - of using UTFString as an index with std::map and other operator< sorted - containers, but it should NOT be relied upon for meaningful lexical - operations, such as alphabetical sorts. If you need this type of - functionality, look into using ICU instead (http://icu.sourceforge.net/). - - =REQUIREMENTS= - There are a few requirements for proper operation. They are fairly small, - and shouldn't restrict usage on any reasonable target. - * Compiler must support unsigned 16-bit integer types - * Compiler must support signed 32-bit integer types - * wchar_t must be either UTF-16 or UTF-32 encoding, and specified as such - using the WCHAR_UTF16 macro as outlined below. - * You must include , , and . Probably more, but - these are the most obvious. - - =REQUIRED PREPROCESSOR MACROS= - This class requires two preprocessor macros to be defined in order to - work as advertised. - INT32 - must be mapped to a signed 32 bit integer (ex. #define INT32 int) - UINT16 - must be mapped to an unsigned 16 bit integer (ex. #define UINT32 unsigned short) - - Additionally, a third macro should be defined to control the evaluation of wchar_t: - WCHAR_UTF16 - should be defined when wchar_t represents UTF-16 code points, - such as in Windows. Otherwise it is assumed that wchar_t is a 32-bit - integer representing UTF-32 code points. - */ - -// THIS IS A VERY BRIEF AUTO DETECTION. YOU MAY NEED TO TWEAK THIS -#ifdef __STDC_ISO_10646__ -// for any compiler that provides this, wchar_t is guaranteed to hold any Unicode value with a single code point (32-bit or larger) -// so we can safely skip the rest of the testing -#else // #ifdef __STDC_ISO_10646__ - #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) || (CC_PLATFORM != CC_PLATFORM_ANDROID) - #define WCHAR_UTF16 // All currently known Windows platforms utilize UTF-16 encoding in wchar_t - #endif -#endif // #ifdef __STDC_ISO_10646__ - -// OGRE_IS_NATIVE_WCHAR_T means that wchar_t isn't a typedef of -// uint16 or uint32. -#if CC_COMPILER == CC_COMPILER_MSVC - - // Don't define wchar_t related functions since it'll duplicate - // with UTFString::code_point related functions when compile - // without /Zc:wchar_t, because in this case both of them are - // a typedef of uint16. - #if defined(_NATIVE_WCHAR_T_DEFINED) - #define CC_IS_NATIVE_WCHAR_T 0 - #else - #define CC_IS_NATIVE_WCHAR_T 0 - #endif -#else - // Assumed wchar_t is natively for other compilers - #define CC_IS_NATIVE_WCHAR_T 1 -#endif // CC_COMPILER == CC_COMPILER_MSVC - -//! A UTF-16 string with implicit conversion to/from std::string and std::wstring -/*! This class provides a complete 1 to 1 map of most std::string functions (at least to my - knowledge). Implicit conversions allow this string class to work with all common C++ string - formats, with specialty functions defined where implicit conversion would cause potential - problems or is otherwise unavailable. - - Some additional functionality is present to assist in working with characters using the - 32-bit UTF-32 encoding. (Which is guaranteed to fit any Unicode character into a single - code point.) \b Note: Reverse iterators do not have this functionality due to the - ambiguity that surrounds working with UTF-16 in reverse. (Such as, where should an - iterator point to represent the beginning of a surrogate pair?) - - - \par Supported Input Types - The supported string types for input, and their assumed encoding schemes, are: - - std::string (UTF-8) - - char* (UTF-8) - - std::wstring (autodetected UTF-16 / UTF-32 based on compiler) - - wchar_t* (autodetected UTF-16 / UTF-32 based on compiler) - - - \see - - For additional information on UTF-16 encoding: http://en.wikipedia.org/wiki/UTF-16 - - For additional information on UTF-8 encoding: http://en.wikipedia.org/wiki/UTF-8 - - For additional information on UTF-32 encoding: http://en.wikipedia.org/wiki/UTF-32 - */ - -class CC_DLL UTFString { - // constants used in UTF-8 conversions - static const unsigned char _lead1 = 0xC0; //110xxxxx - static const unsigned char _lead1_mask = 0x1F; //00011111 - static const unsigned char _lead2 = 0xE0; //1110xxxx - static const unsigned char _lead2_mask = 0x0F; //00001111 - static const unsigned char _lead3 = 0xF0; //11110xxx - static const unsigned char _lead3_mask = 0x07; //00000111 - static const unsigned char _lead4 = 0xF8; //111110xx - static const unsigned char _lead4_mask = 0x03; //00000011 - static const unsigned char _lead5 = 0xFC; //1111110x - static const unsigned char _lead5_mask = 0x01; //00000001 - static const unsigned char _cont = 0x80; //10xxxxxx - static const unsigned char _cont_mask = 0x3F; //00111111 - -public: - //! size type used to indicate string size and character positions within the string - typedef size_t size_type; - //! the usual constant representing: not found, no limit, etc - static const size_type npos = static_cast(~0); - - //! a single 32-bit Unicode character - typedef uint32_t unicode_char; - - //! a single UTF-16 code point - typedef char16_t code_point; - - //! value type typedef for use in iterators - typedef code_point value_type; - -#if (CC_STL_MEMORY_ALLOCATOR == CC_STL_MEMORY_ALLOCATOR_CUSTOM) - typedef std::basic_string, SA> dstring; // data string -#else - typedef std::basic_string dstring; // data string -#endif - //! base iterator class for UTFString - class CC_DLL _base_iterator : public std::iterator { - friend class UTFString; - - protected: - _base_iterator() { string_ = 0; } - - inline void _seekFwd(size_type c) { iter_ += c; } - inline void _seekRev(size_type c) { iter_ -= c; } - inline void _become(const _base_iterator &i) { - iter_ = i.iter_; - string_ = i.string_; - } - inline bool _test_begin() const { return iter_ == string_->m_data.begin(); } - inline bool _test_end() const { return iter_ == string_->m_data.end(); } - inline size_type _get_index() const { return iter_ - string_->m_data.begin(); } - inline void _jump_to(size_type index) { iter_ = string_->m_data.begin() + index; } - - unicode_char _getCharacter() const; - int _setCharacter(unicode_char uc); - void _moveNext(); - void _movePrev(); - - dstring::iterator iter_; - UTFString *string_; - }; - - ////////////////////////////////////////////////////////////////////////// - // FORWARD ITERATORS - - class _const_fwd_iterator; // forward declaration - - //! forward iterator for UTFString - class CC_DLL _fwd_iterator : public _base_iterator { - friend class _const_fwd_iterator; - - public: - _fwd_iterator() {} - _fwd_iterator(const _fwd_iterator &i) { _become(i); } - - //! pre-increment - inline _fwd_iterator &operator++() { - _seekFwd(1); - return *this; - } - - //! post-increment - inline _fwd_iterator operator++(int) { - _fwd_iterator tmp(*this); - _seekFwd(1); - return tmp; - } - - //! pre-decrement - inline _fwd_iterator &operator--() { - _seekRev(1); - return *this; - } - - //! post-decrement - inline _fwd_iterator operator--(int) { - _fwd_iterator tmp(*this); - _seekRev(1); - return tmp; - } - - //! addition operator - inline _fwd_iterator operator+(difference_type n) { - _fwd_iterator tmp(*this); - if (n < 0) - tmp._seekRev(-n); - else - tmp._seekFwd(n); - return tmp; - } - - //! subtraction operator - inline _fwd_iterator operator-(difference_type n) { - _fwd_iterator tmp(*this); - if (n < 0) - tmp._seekFwd(-n); - else - tmp._seekRev(n); - return tmp; - } - - //! addition assignment operator - inline _fwd_iterator &operator+=(difference_type n) { - if (n < 0) - _seekRev(-n); - else - _seekFwd(n); - return *this; - } - - //! subtraction assignment operator - inline _fwd_iterator &operator-=(difference_type n) { - if (n < 0) - _seekFwd(-n); - else - _seekRev(n); - return *this; - } - - //! dereference operator - inline value_type &operator*() const { return *iter_; } - - //! dereference at offset operator - inline value_type &operator[](difference_type n) const { - _fwd_iterator tmp(*this); - tmp += n; - return *tmp; - } - - //! advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream - inline _fwd_iterator &moveNext() { - _moveNext(); - return *this; - } - - //! rewinds to the previous Unicode character, honoring surrogate pairs in the UTF-16 stream - inline _fwd_iterator &movePrev() { - _movePrev(); - return *this; - } - - //! Returns the Unicode value of the character at the current position (decodes surrogate pairs if needed) - inline unicode_char getCharacter() const { return _getCharacter(); } - //! Sets the Unicode value of the character at the current position (adding a surrogate pair if needed); returns the amount of string length change caused by the operation - inline int setCharacter(unicode_char uc) { return _setCharacter(uc); } - }; - - ////////////////////////////////////////////////////////////////////////// - //! const forward iterator for UTFString - class CC_DLL _const_fwd_iterator : public _base_iterator { - public: - _const_fwd_iterator() {} - _const_fwd_iterator(const _const_fwd_iterator &i) { _become(i); } - _const_fwd_iterator(const _fwd_iterator &i) { _become(i); } - - //! pre-increment - inline _const_fwd_iterator &operator++() { - _seekFwd(1); - return *this; - } - - //! post-increment - inline _const_fwd_iterator operator++(int) { - _const_fwd_iterator tmp(*this); - _seekFwd(1); - return tmp; - } - - //! pre-decrement - inline _const_fwd_iterator &operator--() { - _seekRev(1); - return *this; - } - - //! post-decrement - inline _const_fwd_iterator operator--(int) { - _const_fwd_iterator tmp(*this); - _seekRev(1); - return tmp; - } - - //! addition operator - inline _const_fwd_iterator operator+(difference_type n) { - _const_fwd_iterator tmp(*this); - if (n < 0) - tmp._seekRev(-n); - else - tmp._seekFwd(n); - return tmp; - } - - //! subtraction operator - inline _const_fwd_iterator operator-(difference_type n) { - _const_fwd_iterator tmp(*this); - if (n < 0) - tmp._seekFwd(-n); - else - tmp._seekRev(n); - return tmp; - } - - //! addition assignment operator - inline _const_fwd_iterator &operator+=(difference_type n) { - if (n < 0) - _seekRev(-n); - else - _seekFwd(n); - return *this; - } - - //! subtraction assignment operator - inline _const_fwd_iterator &operator-=(difference_type n) { - if (n < 0) - _seekFwd(-n); - else - _seekRev(n); - return *this; - } - - //! dereference operator - inline const value_type &operator*() const { return *iter_; } - - //! dereference at offset operator - inline const value_type &operator[](difference_type n) const { - _const_fwd_iterator tmp(*this); - tmp += n; - return *tmp; - } - - //! advances to the next Unicode character, honoring surrogate pairs in the UTF-16 stream - inline _const_fwd_iterator &moveNext() { - _moveNext(); - return *this; - } - - //! rewinds to the previous Unicode character, honoring surrogate pairs in the UTF-16 stream - inline _const_fwd_iterator &movePrev() { - _movePrev(); - return *this; - } - - //! Returns the Unicode value of the character at the current position (decodes surrogate pairs if needed) - inline unicode_char getCharacter() const { return _getCharacter(); } - - //! difference operator - friend size_type operator-(const _const_fwd_iterator &left, const _const_fwd_iterator &right); - //! equality operator - friend bool operator==(const _const_fwd_iterator &left, const _const_fwd_iterator &right); - //! inequality operator - friend bool operator!=(const _const_fwd_iterator &left, const _const_fwd_iterator &right); - //! less than - friend bool operator<(const _const_fwd_iterator &left, const _const_fwd_iterator &right); - //! less than or equal - friend bool operator<=(const _const_fwd_iterator &left, const _const_fwd_iterator &right); - //! greater than - friend bool operator>(const _const_fwd_iterator &left, const _const_fwd_iterator &right); - //! greater than or equal - friend bool operator>=(const _const_fwd_iterator &left, const _const_fwd_iterator &right); - }; - - ////////////////////////////////////////////////////////////////////////// - // REVERSE ITERATORS - - class _const_rev_iterator; // forward declaration - //! forward iterator for UTFString - class CC_DLL _rev_iterator : public _base_iterator { - friend class _const_rev_iterator; - - public: - _rev_iterator() {} - _rev_iterator(const _rev_iterator &i) { _become(i); } - - //! pre-increment - inline _rev_iterator &operator++() { - _seekRev(1); - return *this; - } - - //! post-increment - inline _rev_iterator operator++(int) { - _rev_iterator tmp(*this); - _seekRev(1); - return tmp; - } - - //! pre-decrement - inline _rev_iterator &operator--() { - _seekFwd(1); - return *this; - } - - //! post-decrement - inline _rev_iterator operator--(int) { - _rev_iterator tmp(*this); - _seekFwd(1); - return tmp; - } - - //! addition operator - inline _rev_iterator operator+(difference_type n) { - _rev_iterator tmp(*this); - if (n < 0) - tmp._seekFwd(-n); - else - tmp._seekRev(n); - return tmp; - } - - //! subtraction operator - inline _rev_iterator operator-(difference_type n) { - _rev_iterator tmp(*this); - if (n < 0) - tmp._seekRev(-n); - else - tmp._seekFwd(n); - return tmp; - } - - //! addition assignment operator - inline _rev_iterator &operator+=(difference_type n) { - if (n < 0) - _seekFwd(-n); - else - _seekRev(n); - return *this; - } - - //! subtraction assignment operator - inline _rev_iterator &operator-=(difference_type n) { - if (n < 0) - _seekRev(-n); - else - _seekFwd(n); - return *this; - } - - //! dereference operator - inline value_type &operator*() const { return iter_[-1]; } - - //! dereference at offset operator - inline value_type &operator[](difference_type n) const { - _rev_iterator tmp(*this); - tmp -= n; - return *tmp; - } - }; - - ////////////////////////////////////////////////////////////////////////// - //! const reverse iterator for UTFString - - class CC_DLL _const_rev_iterator : public _base_iterator { - public: - _const_rev_iterator() {} - _const_rev_iterator(const _const_rev_iterator &i) { _become(i); } - _const_rev_iterator(const _rev_iterator &i) { _become(i); } - - //! pre-increment - inline _const_rev_iterator &operator++() { - _seekRev(1); - return *this; - } - - //! post-increment - inline _const_rev_iterator operator++(int) { - _const_rev_iterator tmp(*this); - _seekRev(1); - return tmp; - } - - //! pre-decrement - inline _const_rev_iterator &operator--() { - _seekFwd(1); - return *this; - } - - //! post-decrement - inline _const_rev_iterator operator--(int) { - _const_rev_iterator tmp(*this); - _seekFwd(1); - return tmp; - } - - //! addition operator - inline _const_rev_iterator operator+(difference_type n) { - _const_rev_iterator tmp(*this); - if (n < 0) - tmp._seekFwd(-n); - else - tmp._seekRev(n); - return tmp; - } - - //! subtraction operator - inline _const_rev_iterator operator-(difference_type n) { - _const_rev_iterator tmp(*this); - if (n < 0) - tmp._seekRev(-n); - else - tmp._seekFwd(n); - return tmp; - } - - //! addition assignment operator - inline _const_rev_iterator &operator+=(difference_type n) { - if (n < 0) - _seekFwd(-n); - else - _seekRev(n); - return *this; - } - - //! subtraction assignment operator - inline _const_rev_iterator &operator-=(difference_type n) { - if (n < 0) - _seekRev(-n); - else - _seekFwd(n); - return *this; - } - - //! dereference operator - inline const value_type &operator*() const { return iter_[-1]; } - - //! dereference at offset operator - inline const value_type &operator[](difference_type n) const { - _const_rev_iterator tmp(*this); - tmp -= n; - return *tmp; - } - - //! difference operator - friend size_type operator-(const _const_rev_iterator &left, const _const_rev_iterator &right); - //! equality operator - friend bool operator==(const _const_rev_iterator &left, const _const_rev_iterator &right); - //! inequality operator - friend bool operator!=(const _const_rev_iterator &left, const _const_rev_iterator &right); - //! less than - friend bool operator<(const _const_rev_iterator &left, const _const_rev_iterator &right); - //! less than or equal - friend bool operator<=(const _const_rev_iterator &left, const _const_rev_iterator &right); - //! greater than - friend bool operator>(const _const_rev_iterator &left, const _const_rev_iterator &right); - //! greater than or equal - friend bool operator>=(const _const_rev_iterator &left, const _const_rev_iterator &right); - }; - - ////////////////////////////////////////////////////////////////////////// - - typedef _fwd_iterator iterator; //!< iterator - typedef _rev_iterator reverse_iterator; //!< reverse iterator - typedef _const_fwd_iterator const_iterator; //!< const iterator - typedef _const_rev_iterator const_reverse_iterator; //!< const reverse iterator - - //!\name Constructors/Destructor - //@{ - //! default constructor, creates an empty string - UTFString() { _init(); } - //! copy constructor - UTFString(const UTFString ©) { - _init(); - m_data = copy.m_data; - } - //! \a length copies of \a ch - UTFString(size_type length, const code_point &ch) { - _init(); - assign(length, ch); - } - //! duplicate of nul-terminated sequence \a str - UTFString(const code_point *str) { - _init(); - assign(str); - } - //! duplicate of \a str, \a length code points long - UTFString(const code_point *str, size_type length) { - _init(); - assign(str, length); - } - //! substring of \a str starting at \a index and \a length code points long - UTFString(const UTFString &str, size_type index, size_type length) { - _init(); - assign(str, index, length); - } -#if CC_IS_NATIVE_WCHAR_T - //! duplicate of nul-terminated \c wchar_t array - UTFString(const wchar_t *w_str) { - _init(); - assign(w_str); - } - //! duplicate of \a w_str, \a length characters long - UTFString(const wchar_t *w_str, size_type length) { - _init(); - assign(w_str, length); - } -#endif - - //! duplicate of nul-terminated C-string \a c_str (UTF-8 encoding) - UTFString(const char *c_str) { - _init(); - assign(c_str); - } - //! duplicate of \a c_str, \a length characters long (UTF-8 encoding) - UTFString(const char *c_str, size_type length) { - _init(); - assign(c_str, length); - } - //! duplicate of \a str (UTF-8 encoding) - UTFString(const String &str) { - _init(); - assign(str); - } - //! duplicate of \a wstr - UTFString(const WString &wstr) { - _init(); - assign(wstr); - } - - //! destructor - ~UTFString() { _cleanBuffer(); } - - ////////////////////////////////////////////////////////////////////////// - // Utility functions - - //! Returns the number of code points in the current string - inline size_type size() const { return m_data.size(); } - //! Returns the number of code points in the current string - inline size_type length() const { return size(); } - //! Returns the number of Unicode characters in the string - /*! Executes in linear time. */ - inline size_type length_Characters() const { - const_iterator i = begin(), ie = end(); - size_type c = 0; - while (i != ie) { - i.moveNext(); - ++c; - } - return c; - } - //! returns the maximum number of UTF-16 code points that the string can hold - inline size_type max_size() const { return m_data.max_size(); } - //! sets the capacity of the string to at least \a size code points - inline void reserve(size_type size) { m_data.reserve(size); } - //! changes the size of the string to \a size, filling in any new area with \a val - inline void resize(size_type num, const code_point &val = 0) { m_data.resize(num, val); } - //! exchanges the elements of the current string with those of \a from - inline void swap(UTFString &from) { m_data.swap(from.m_data); } - //! returns \c true if the string has no elements, \c false otherwise - inline bool empty() const { return m_data.empty(); } - //! returns a pointer to the first character in the current string - inline const code_point *c_str() const { return m_data.c_str(); } - //! returns a pointer to the first character in the current string - inline const code_point *data() const { return c_str(); } - //! returns the number of elements that the string can hold before it will need to allocate more space - inline size_type capacity() const { return m_data.capacity(); } - //! deletes all of the elements in the string - inline void clear() { m_data.clear(); } - //! returns a substring of the current string, starting at \a index, and \a num characters long. - /*! If \a num is omitted, it will default to \c UTFString::npos, and the substr() function will simply return the remainder of the string starting at \a index. */ - inline UTFString substr(size_type index, size_type num = npos) const { - // this could avoid the extra copy if we used a private specialty constructor - dstring tmpData = m_data.substr(index, num); - UTFString tmp; - tmp.m_data.swap(tmpData); - return tmp; - } - //! appends \a val to the end of the string - inline void push_back(unicode_char val) { - code_point cp[2] = {0, 0}; - size_t c = _utf32_to_utf16(val, cp); - if (c > 0) push_back(cp[0]); - if (c > 1) push_back(cp[1]); - } -#if CC_IS_NATIVE_WCHAR_T - //! appends \a val to the end of the string - inline void push_back(wchar_t val) { - // we do this because the Unicode method still preserves UTF-16 code points - m_data.push_back(static_cast(val)); - } -#endif - //! appends \a val to the end of the string - /*! This can be used to push surrogate pair code points, you'll just need to push them - one after the other. */ - inline void push_back(code_point val) { m_data.push_back(val); } - //! appends \a val to the end of the string - /*! Limited to characters under the 127 value barrier. */ - inline void push_back(char val) { m_data.push_back(static_cast(val)); } - //! returns \c true if the given Unicode character \a ch is in this string - inline bool inString(unicode_char ch) const { - const_iterator i, ie = end(); - for (i = begin(); i != ie; i.moveNext()) { - if (i.getCharacter() == ch) - return true; - } - return false; - } - - ////////////////////////////////////////////////////////////////////////// - // Stream variations - - //! returns the current string in UTF-8 form within a std::string - inline const String &asUTF8() const { - _load_buffer_UTF8(); - return *m_buff.m_strBuff; - } - - //! returns the current string in UTF-8 form as a nul-terminated char array - inline const char *asUTF8_c_str() const { - _load_buffer_UTF8(); - return m_buff.m_strBuff->c_str(); - } - - //! returns the current string in the native form of std::wstring - inline const WString &asWStr() const { - _load_buffer_WStr(); - return *m_buff.m_wstrBuff; - } - - //! returns the current string in the native form of a nul-terminated wchar_t array - inline const wchar_t *asWStr_c_str() const { - _load_buffer_WStr(); - return m_buff.m_wstrBuff->c_str(); - } - - ////////////////////////////////////////////////////////////////////////// - // Single Character Access - - //! returns a reference to the element in the string at index \c loc - inline code_point &at(size_type loc) { return m_data.at(loc); } - //! returns a reference to the element in the string at index \c loc - inline const code_point &at(size_type loc) const { return m_data.at(loc); } - //! returns the data point \a loc evaluated as a UTF-32 value - /*! This function will will only properly decode surrogate pairs when \a loc points to the index - of a lead code point that is followed by a trailing code point. Evaluating the trailing code point - itself, or pointing to a code point that is a sentinel value (part of a broken pair) will return - the value of just that code point (not a valid Unicode value, but useful as a sentinel value). */ - unicode_char getChar(size_type loc) const; - - //! sets the value of the character at \a loc to the Unicode value \a ch (UTF-32) - /*! Providing sentinel values (values between U+D800-U+DFFF) are accepted, but you should be aware - that you can also unwittingly create a valid surrogate pair if you don't pay attention to what you - are doing. @note This operation may also lengthen the string if a surrogate pair is needed to - represent the value given, but one is not available to replace; or alternatively shorten the string - if an existing surrogate pair is replaced with a character that is representable without a surrogate - pair. The return value will signify any lengthening or shortening performed, returning 0 if no change - was made, -1 if the string was shortened, or 1 if the string was lengthened. Any single call can - only change the string length by + or - 1. */ - int setChar(size_type loc, unicode_char ch); - - ////////////////////////////////////////////////////////////////////////// - // iterator acquisition - - //! returns an iterator to the first element of the string - inline iterator begin() { - iterator i; - i.iter_ = m_data.begin(); - i.string_ = this; - return i; - } - //! returns an iterator to the first element of the string - inline const_iterator begin() const { - const_iterator i; - i.iter_ = const_cast(this)->m_data.begin(); - i.string_ = const_cast(this); - return i; - } - //! returns an iterator just past the end of the string - inline iterator end() { - iterator i; - i.iter_ = m_data.end(); - i.string_ = this; - return i; - } - //! returns an iterator just past the end of the string - inline const_iterator end() const { - const_iterator i; - i.iter_ = const_cast(this)->m_data.end(); - i.string_ = const_cast(this); - return i; - } - //! returns a reverse iterator to the last element of the string - inline reverse_iterator rbegin() { - reverse_iterator i; - i.iter_ = m_data.end(); - i.string_ = this; - return i; - } - //! returns a reverse iterator to the last element of the string - inline const_reverse_iterator rbegin() const { - const_reverse_iterator i; - i.iter_ = const_cast(this)->m_data.end(); - i.string_ = const_cast(this); - return i; - } - //! returns a reverse iterator just past the beginning of the string - inline reverse_iterator rend() { - reverse_iterator i; - i.iter_ = m_data.begin(); - i.string_ = this; - return i; - } - //! returns a reverse iterator just past the beginning of the string - inline const_reverse_iterator rend() const { - const_reverse_iterator i; - i.iter_ = const_cast(this)->m_data.begin(); - i.string_ = const_cast(this); - return i; - } - - ////////////////////////////////////////////////////////////////////////// - // assign - - //! gives the current string the values from \a start to \a end - inline UTFString &assign(iterator start, iterator end) { - m_data.assign(start.iter_, end.iter_); - return *this; - } - - //! assign \a str to the current string - inline UTFString &assign(const UTFString &str) { - m_data.assign(str.m_data); - return *this; - } - - //! assign the nul-terminated \a str to the current string - inline UTFString &assign(const code_point *str) { - m_data.assign(str); - return *this; - } - - //! assign the first \a num characters of \a str to the current string - inline UTFString &assign(const code_point *str, size_type num) { - m_data.assign(str, num); - return *this; - } - - //! assign \a len entries from \a str to the current string, starting at \a index - inline UTFString &assign(const UTFString &str, size_type index, size_type len) { - m_data.assign(str.m_data, index, len); - return *this; - } - - //! assign \a num copies of \a ch to the current string - inline UTFString &assign(size_type num, const code_point &ch) { - m_data.assign(num, ch); - return *this; - } - - //! assign \a str to the current string (\a str is treated as a UTF-8 stream) - UTFString &assign(const String &str); - //! assign \a wstr to the current string (\a wstr is treated as a UTF-16 stream) - UTFString &assign(const WString &wstr); - -#if CC_IS_NATIVE_WCHAR_T - //! assign \a w_str to the current string - inline UTFString &assign(const wchar_t *w_str) { - WString tmp(w_str); - return assign(tmp); - } - - //! assign the first \a num characters of \a w_str to the current string - inline UTFString &assign(const wchar_t *w_str, size_type num) { - WString tmp(w_str, num); - return assign(tmp); - } -#endif - - //! assign \a c_str to the current string (\a c_str is treated as a UTF-8 stream) - inline UTFString &assign(const char *c_str) { - String tmp(c_str); - return assign(tmp); - } - - //! assign the first \a num characters of \a c_str to the current string (\a c_str is treated as a UTF-8 stream) - inline UTFString &assign(const char *c_str, size_type num) { - String tmp(c_str, num); - return assign(tmp); - } - - ////////////////////////////////////////////////////////////////////////// - // append - - //! appends \a str on to the end of the current string - inline UTFString &append(const UTFString &str) { - m_data.append(str.m_data); - return *this; - } - //! appends \a str on to the end of the current string - inline UTFString &append(const code_point *str) { - m_data.append(str); - return *this; - } - //! appends a substring of \a str starting at \a index that is \a len characters long on to the end of the current string - inline UTFString &append(const UTFString &str, size_type index, size_type len) { - m_data.append(str.m_data, index, len); - return *this; - } - //! appends \a num characters of \a str on to the end of the current string - inline UTFString &append(const code_point *str, size_type num) { - m_data.append(str, num); - return *this; - } - //! appends \a num repetitions of \a ch on to the end of the current string - inline UTFString &append(size_type num, code_point ch) { - m_data.append(num, ch); - return *this; - } - //! appends the sequence denoted by \a start and \a end on to the end of the current string - inline UTFString &append(iterator start, iterator end) { - m_data.append(start.iter_, end.iter_); - return *this; - } -#if CC_IS_NATIVE_WCHAR_T - //! appends \a num characters of \a str on to the end of the current string - inline UTFString &append(const wchar_t *w_str, size_type num) { - WString tmp(w_str, num); - return append(tmp); - } - //! appends \a num repetitions of \a ch on to the end of the current string - inline UTFString &append(size_type num, wchar_t ch) { return append(num, static_cast(ch)); } -#endif - //! appends \a num characters of \a str on to the end of the current string (UTF-8 encoding) - inline UTFString &append(const char *c_str, size_type num) { - UTFString tmp(c_str, num); - append(tmp); - return *this; - } - - //! appends \a num repetitions of \a ch on to the end of the current string (Unicode values less than 128) - inline UTFString &append(size_type num, char ch) { - append(num, static_cast(ch)); - return *this; - } - - //! appends \a num repetitions of \a ch on to the end of the current string (Full Unicode spectrum) - UTFString &append(size_type num, unicode_char ch); - - ////////////////////////////////////////////////////////////////////////// - // insert - - //! inserts \a ch before the code point denoted by \a i - inline iterator insert(iterator i, const code_point &ch) { - iterator ret; - ret.iter_ = m_data.insert(i.iter_, ch); - ret.string_ = this; - return ret; - } - - //! inserts \a str into the current string, at location \a index - inline UTFString &insert(size_type index, const UTFString &str) { - m_data.insert(index, str.m_data); - return *this; - } - - //! inserts \a str into the current string, at location \a index - inline UTFString &insert(size_type index, const code_point *str) { - m_data.insert(index, str); - return *this; - } - //! inserts a substring of \a str (starting at \a index2 and \a num code points long) into the current string, at location \a index1 - inline UTFString &insert(size_type index1, const UTFString &str, size_type index2, size_type num) { - m_data.insert(index1, str.m_data, index2, num); - return *this; - } - - //! inserts the code points denoted by \a start and \a end into the current string, before the code point specified by \a i - inline void insert(iterator i, iterator start, iterator end) { m_data.insert(i.iter_, start.iter_, end.iter_); } - - //! inserts \a num code points of \a str into the current string, at location \a index - inline UTFString &insert(size_type index, const code_point *str, size_type num) { - m_data.insert(index, str, num); - return *this; - } - -#if CC_IS_NATIVE_WCHAR_T - //! inserts \a num code points of \a str into the current string, at location \a index - inline UTFString &insert(size_type index, const wchar_t *w_str, size_type num) { - UTFString tmp(w_str, num); - insert(index, tmp); - return *this; - } -#endif - //! inserts \a num code points of \a str into the current string, at location \a index - inline UTFString &insert(size_type index, const char *c_str, size_type num) { - UTFString tmp(c_str, num); - insert(index, tmp); - return *this; - } - - //! inserts \a num copies of \a ch into the current string, at location \a index - inline UTFString &insert(size_type index, size_type num, code_point ch) { - m_data.insert(index, num, ch); - return *this; - } - -#if CC_IS_NATIVE_WCHAR_T - //! inserts \a num copies of \a ch into the current string, at location \a index - inline UTFString &insert(size_type index, size_type num, wchar_t ch) { - insert(index, num, static_cast(ch)); - return *this; - } -#endif - //! inserts \a num copies of \a ch into the current string, at location \a index - inline UTFString &insert(size_type index, size_type num, char ch) { - insert(index, num, static_cast(ch)); - return *this; - } - - //! inserts \a num copies of \a ch into the current string, at location \a index - UTFString &insert(size_type index, size_type num, unicode_char ch); - - //! inserts \a num copies of \a ch into the current string, before the code point denoted by \a i - inline void insert(iterator i, size_type num, const code_point &ch) { m_data.insert(i.iter_, num, ch); } - -#if CC_IS_NATIVE_WCHAR_T - //! inserts \a num copies of \a ch into the current string, before the code point denoted by \a i - inline void insert(iterator i, size_type num, const wchar_t &ch) { insert(i, num, static_cast(ch)); } -#endif - - //! inserts \a num copies of \a ch into the current string, before the code point denoted by \a i - inline void insert(iterator i, size_type num, const char &ch) { insert(i, num, static_cast(ch)); } - //! inserts \a num copies of \a ch into the current string, before the code point denoted by \a i - void insert(iterator i, size_type num, const unicode_char &ch); - - ////////////////////////////////////////////////////////////////////////// - // erase - - //! removes the code point pointed to by \a loc, returning an iterator to the next character - inline iterator erase(iterator loc) { - iterator ret; - ret.iter_ = m_data.erase(loc.iter_); - ret.string_ = this; - return ret; - } - //! removes the code points between \a start and \a end (including the one at \a start but not the one at \a end), returning an iterator to the code point after the last code point removed - inline iterator erase(iterator start, iterator last) { - iterator ret; - ret.iter_ = m_data.erase(start.iter_, last.iter_); - ret.string_ = this; - return ret; - } - //! removes \a num code points from the current string, starting at \a index - inline UTFString &erase(size_type index = 0, size_type num = npos) { - if (num == npos) - m_data.erase(index); - else - m_data.erase(index, num); - return *this; - } - - ////////////////////////////////////////////////////////////////////////// - // replace - - //! replaces up to \a num1 code points of the current string (starting at \a index1) with \a str - inline UTFString &replace(size_type index1, size_type num1, const UTFString &str) { - m_data.replace(index1, num1, str.m_data, 0, npos); - return *this; - } - - //! replaces up to \a num1 code points of the current string (starting at \a index1) with up to \a num2 code points from \a str - inline UTFString &replace(size_type index1, size_type num1, const UTFString &str, size_type num2) { - m_data.replace(index1, num1, str.m_data, 0, num2); - return *this; - } - - //! replaces up to \a num1 code points of the current string (starting at \a index1) with up to \a num2 code points from \a str beginning at \a index2 - inline UTFString &replace(size_type index1, size_type num1, const UTFString &str, size_type index2, size_type num2) { - m_data.replace(index1, num1, str.m_data, index2, num2); - return *this; - } - - //! replaces code points in the current string from \a start to \a end with \a num code points from \a str - inline UTFString &replace(iterator start, iterator end, const UTFString &str, size_type num = npos) { - _const_fwd_iterator st(start); //Work around for gcc, allow it to find correct overload - - size_type index1 = begin() - st; - size_type num1 = end - st; - return replace(index1, num1, str, 0, num); - } - - //! replaces up to \a num1 code points in the current string (beginning at \a index) with \c num2 copies of \c ch - inline UTFString &replace(size_type index, size_type num1, size_type num2, code_point ch) { - m_data.replace(index, num1, num2, ch); - return *this; - } - - //! replaces the code points in the current string from \a start to \a end with \a num copies of \a ch - inline UTFString &replace(iterator start, iterator end, size_type num, code_point ch) { - _const_fwd_iterator st(start); //Work around for gcc, allow it to find correct overload - size_type index1 = begin() - st; - size_type num1 = end - st; - return replace(index1, num1, num, ch); - } - - ////////////////////////////////////////////////////////////////////////// - // compare - - //! compare \a str to the current string - inline int compare(const UTFString &str) const { return m_data.compare(str.m_data); } - //! compare \a str to the current string - inline int compare(const code_point *str) const { return m_data.compare(str); } - //! compare \a str to a substring of the current string, starting at \a index for \a length characters - inline int compare(size_type index, size_type length, const UTFString &str) const { return m_data.compare(index, length, str.m_data); } - //! compare a substring of \a str to a substring of the current string, where \a index2 and \a length2 refer to \a str and \a index and \a length refer to the current string - inline int compare(size_type index, size_type length, const UTFString &str, size_type index2, size_type length2) const { return m_data.compare(index, length, str.m_data, index2, length2); } - //! compare a substring of \a str to a substring of the current string, where the substring of \a str begins at zero and is \a length2 characters long, and the substring of the current string begins at \a index and is \a length characters long - inline int compare(size_type index, size_type length, const code_point *str, size_type length2) const { return m_data.compare(index, length, str, length2); } -#if CC_IS_NATIVE_WCHAR_T - //! compare a substring of \a str to a substring of the current string, where the substring of \a str begins at zero and is \a length2 elements long, and the substring of the current string begins at \a index and is \a length characters long - inline int compare(size_type index, size_type length, const wchar_t *w_str, size_type length2) const { - UTFString tmp(w_str, length2); - return compare(index, length, tmp); - } -#endif - //! compare a substring of \a str to a substring of the current string, where the substring of \a str begins at zero and is \a length2 UTF-8 code points long, and the substring of the current string begins at \a index and is \a length characters long - inline int compare(size_type index, size_type length, const char *c_str, size_type length2) const { - UTFString tmp(c_str, length2); - return compare(index, length, tmp); - } - - ////////////////////////////////////////////////////////////////////////// - // find & rfind - - //! returns the index of the first occurrence of \a str within the current string, starting at \a index; returns \c UTFString::npos if nothing is found - /*! \a str is a UTF-16 encoded string, but through implicit casting can also be a UTF-8 encoded string (const char* or std::string) */ - inline size_type find(const UTFString &str, size_type index = 0) const { return m_data.find(str.c_str(), index); } - //! returns the index of the first occurrence of \a str within the current string and within \a length code points, starting at \a index; returns \c UTFString::npos if nothing is found - /*! \a cp_str is a UTF-16 encoded string */ - inline size_type find(const code_point *cp_str, size_type index, size_type length) const { - UTFString tmp(cp_str); - return m_data.find(tmp.c_str(), index, length); - } - //! returns the index of the first occurrence of \a str within the current string and within \a length code points, starting at \a index; returns \c UTFString::npos if nothing is found - /*! \a cp_str is a UTF-8 encoded string */ - inline size_type find(const char *c_str, size_type index, size_type length) const { - UTFString tmp(c_str); - return m_data.find(tmp.c_str(), index, length); - } -#if CC_IS_NATIVE_WCHAR_T - //! returns the index of the first occurrence of \a str within the current string and within \a length code points, starting at \a index; returns \c UTFString::npos if nothing is found - /*! \a cp_str is a UTF-16 encoded string */ - inline size_type find(const wchar_t *w_str, size_type index, size_type length) const { - UTFString tmp(w_str); - return m_data.find(tmp.c_str(), index, length); - } -#endif - //! returns the index of the first occurrence \a ch within the current string, starting at \a index; returns \c UTFString::npos if nothing is found - /*! \a ch is only capable of representing Unicode values up to U+007F (127) */ - inline size_type find(char ch, size_type index = 0) const { return find(static_cast(ch), index); } - //! returns the index of the first occurrence \a ch within the current string, starting at \a index; returns \c UTFString::npos if nothing is found - /*! \a ch is only capable of representing Unicode values up to U+FFFF (65535) */ - inline size_type find(code_point ch, size_type index = 0) const { return m_data.find(ch, index); } -#if CC_IS_NATIVE_WCHAR_T - //! returns the index of the first occurrence \a ch within the current string, starting at \a index; returns \c UTFString::npos if nothing is found - /*! \a ch is only capable of representing Unicode values up to U+FFFF (65535) */ - inline size_type find(wchar_t ch, size_type index = 0) const { return find(static_cast(ch), index); } -#endif - //! returns the index of the first occurrence \a ch within the current string, starting at \a index; returns \c UTFString::npos if nothing is found - /*! \a ch can fully represent any Unicode character */ - inline size_type find(unicode_char ch, size_type index = 0) const { - code_point cp[3] = {0, 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - return find(UTFString(cp, l), index); - } - - //! returns the location of the first occurrence of \a str in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type rfind(const UTFString &str, size_type index = 0) const { return m_data.rfind(str.c_str(), index); } - //! returns the location of the first occurrence of \a str in the current string, doing a reverse search from \a index, searching at most \a num characters; returns \c UTFString::npos if nothing is found - inline size_type rfind(const code_point *cp_str, size_type index, size_type num) const { - UTFString tmp(cp_str); - return m_data.rfind(tmp.c_str(), index, num); - } - //! returns the location of the first occurrence of \a str in the current string, doing a reverse search from \a index, searching at most \a num characters; returns \c UTFString::npos if nothing is found - inline size_type rfind(const char *c_str, size_type index, size_type num) const { - UTFString tmp(c_str); - return m_data.rfind(tmp.c_str(), index, num); - } -#if CC_IS_NATIVE_WCHAR_T - //! returns the location of the first occurrence of \a str in the current string, doing a reverse search from \a index, searching at most \a num characters; returns \c UTFString::npos if nothing is found - inline size_type rfind(const wchar_t *w_str, size_type index, size_type num) const { - UTFString tmp(w_str); - return m_data.rfind(tmp.c_str(), index, num); - } -#endif - //! returns the location of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type rfind(char ch, size_type index = 0) const { return rfind(static_cast(ch), index); } - //! returns the location of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type rfind(code_point ch, size_type index) const { return m_data.rfind(ch, index); } -#if CC_IS_NATIVE_WCHAR_T - //! returns the location of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type rfind(wchar_t ch, size_type index = 0) const { return rfind(static_cast(ch), index); } -#endif - //! returns the location of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type rfind(unicode_char ch, size_type index = 0) const { - code_point cp[3] = {0, 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - return rfind(UTFString(cp, l), index); - } - - ////////////////////////////////////////////////////////////////////////// - //! find_first/last_(not)_of - - //! Returns the index of the first character within the current string that matches \b any character in \a str, beginning the search at \a index and searching at most \a num characters; returns \c UTFString::npos if nothing is found - size_type find_first_of(const UTFString &str, size_type index = 0, size_type num = npos) const; - //! returns the index of the first occurrence of \a ch in the current string, starting the search at \a index; returns \c UTFString::npos if nothing is found - inline size_type find_first_of(code_point ch, size_type index = 0) const { - UTFString tmp; - tmp.assign(1, ch); - return find_first_of(tmp, index); - } - //! returns the index of the first occurrence of \a ch in the current string, starting the search at \a index; returns \c UTFString::npos if nothing is found - inline size_type find_first_of(char ch, size_type index = 0) const { return find_first_of(static_cast(ch), index); } -#if CC_IS_NATIVE_WCHAR_T - //! returns the index of the first occurrence of \a ch in the current string, starting the search at \a index; returns \c UTFString::npos if nothing is found - inline size_type find_first_of(wchar_t ch, size_type index = 0) const { return find_first_of(static_cast(ch), index); } -#endif - //! returns the index of the first occurrence of \a ch in the current string, starting the search at \a index; returns \c UTFString::npos if nothing is found - inline size_type find_first_of(unicode_char ch, size_type index = 0) const { - code_point cp[3] = {0, 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - return find_first_of(UTFString(cp, l), index); - } - - //! returns the index of the first character within the current string that does not match any character in \a str, beginning the search at \a index and searching at most \a num characters; returns \c UTFString::npos if nothing is found - size_type find_first_not_of(const UTFString &str, size_type index = 0, size_type num = npos) const; - //! returns the index of the first character within the current string that does not match \a ch, starting the search at \a index; returns \c UTFString::npos if nothing is found - inline size_type find_first_not_of(code_point ch, size_type index = 0) const { - UTFString tmp; - tmp.assign(1, ch); - return find_first_not_of(tmp, index); - } - //! returns the index of the first character within the current string that does not match \a ch, starting the search at \a index; returns \c UTFString::npos if nothing is found - inline size_type find_first_not_of(char ch, size_type index = 0) const { return find_first_not_of(static_cast(ch), index); } -#if CC_IS_NATIVE_WCHAR_T - //! returns the index of the first character within the current string that does not match \a ch, starting the search at \a index; returns \c UTFString::npos if nothing is found - inline size_type find_first_not_of(wchar_t ch, size_type index = 0) const { return find_first_not_of(static_cast(ch), index); } -#endif - //! returns the index of the first character within the current string that does not match \a ch, starting the search at \a index; returns \c UTFString::npos if nothing is found - inline size_type find_first_not_of(unicode_char ch, size_type index = 0) const { - code_point cp[3] = {0, 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - return find_first_not_of(UTFString(cp, l), index); - } - - //! returns the index of the first character within the current string that matches any character in \a str, doing a reverse search from \a index and searching at most \a num characters; returns \c UTFString::npos if nothing is found - size_type find_last_of(const UTFString &str, size_type index = npos, size_type num = npos) const; - - //! returns the index of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type find_last_of(code_point ch, size_type index = npos) const { - UTFString tmp; - tmp.assign(1, ch); - return find_last_of(tmp, index); - } - - //! returns the index of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type find_last_of(char ch, size_type index = npos) const { return find_last_of(static_cast(ch), index); } - -#if CC_IS_NATIVE_WCHAR_T - //! returns the index of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type find_last_of(wchar_t ch, size_type index = npos) const { return find_last_of(static_cast(ch), index); } -#endif - //! returns the index of the first occurrence of \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type find_last_of(unicode_char ch, size_type index = npos) const { - code_point cp[3] = {0, 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - return find_last_of(UTFString(cp, l), index); - } - - //! returns the index of the last character within the current string that does not match any character in \a str, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - size_type find_last_not_of(const UTFString &str, size_type index = npos, size_type num = npos) const; - - //! returns the index of the last occurrence of a character that does not match \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type find_last_not_of(code_point ch, size_type index = npos) const { - UTFString tmp; - tmp.assign(1, ch); - return find_last_not_of(tmp, index); - } - - //! returns the index of the last occurrence of a character that does not match \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type find_last_not_of(char ch, size_type index = npos) const { return find_last_not_of(static_cast(ch), index); } - -#if CC_IS_NATIVE_WCHAR_T - //! returns the index of the last occurrence of a character that does not match \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type find_last_not_of(wchar_t ch, size_type index = npos) const { return find_last_not_of(static_cast(ch), index); } -#endif - //! returns the index of the last occurrence of a character that does not match \a ch in the current string, doing a reverse search from \a index; returns \c UTFString::npos if nothing is found - inline size_type find_last_not_of(unicode_char ch, size_type index = npos) const { - code_point cp[3] = {0, 0, 0}; - size_t l = _utf32_to_utf16(ch, cp); - return find_last_not_of(UTFString(cp, l), index); - } - - ////////////////////////////////////////////////////////////////////////// - // Operators - - //! less than operator - inline bool operator<(const UTFString &right) const { return compare(right) < 0; } - //! less than or equal operator - inline bool operator<=(const UTFString &right) const { return compare(right) <= 0; } - //! greater than operator - inline bool operator>(const UTFString &right) const { return compare(right) > 0; } - //! greater than or equal operator - inline bool operator>=(const UTFString &right) const { return compare(right) >= 0; } - //! equality operator - inline bool operator==(const UTFString &right) const { return compare(right) == 0; } - //! inequality operator - inline bool operator!=(const UTFString &right) const { return !operator==(right); } - //! assignment operator, implicitly casts all compatible types - inline UTFString &operator=(const UTFString &s) { return assign(s); } - //! assignment operator - inline UTFString &operator=(code_point ch) { - clear(); - return append(1, ch); - } - //! assignment operator - inline UTFString &operator=(char ch) { - clear(); - return append(1, ch); - } -#if CC_IS_NATIVE_WCHAR_T - //! assignment operator - inline UTFString &operator=(wchar_t ch) { - clear(); - return append(1, ch); - } -#endif - //! assignment operator - inline UTFString &operator=(unicode_char ch) { - clear(); - return append(1, ch); - } - //! code point dereference operator - inline code_point &operator[](size_type index) { return at(index); } - //! code point dereference operator - inline const code_point &operator[](size_type index) const { return at(index); } - - ////////////////////////////////////////////////////////////////////////// - // Implicit Cast Operators - - //! implicit cast to string - inline operator String() const { return String(asUTF8()); } - //! implicit cast to wstring - inline operator WString() const { return WString(asWStr()); } - - ////////////////////////////////////////////////////////////////////////// - // UTF-16 character encoding/decoding - - //! returns \c true if \a cp does not match the signature for the lead of follow code point of a surrogate pair in a UTF-16 sequence - inline static bool _utf16_independent_char(code_point cp) { - /* - if ( 0xD800 <= cp && cp <= 0xDFFF ) // tests if the cp is within the surrogate pair range - return false; // it matches a surrogate pair signature - return true; // everything else is a standalone code point - */ - return (0xD800 > cp || cp > 0xDFFF); - } - - //! returns \c true if \a cp matches the signature of a surrogate pair lead character - inline static bool _utf16_surrogate_lead(code_point cp) { - /* - if ( 0xD800 <= cp && cp <= 0xDBFF ) // tests if the cp is within the 2nd word of a surrogate pair - return true; // it is a 1st word - return false; // it isn't - */ - - return (0xD800 <= cp && cp <= 0xDBFF); - } - - //! returns \c true if \a cp matches the signature of a surrogate pair following character - inline static bool _utf16_surrogate_follow(code_point cp) { - /* - if ( 0xDC00 <= cp && cp <= 0xDFFF ) // tests if the cp is within the 2nd word of a surrogate pair - return true; // it is a 2nd word - return false; // everything else isn't - */ - - return (0xDC00 <= cp && cp <= 0xDFFF); - } - - //! estimates the number of UTF-16 code points in the sequence starting with \a cp - inline static size_t _utf16_char_length(code_point cp) { - /* - if ( 0xD800 <= cp && cp <= 0xDBFF ) // test if cp is the beginning of a surrogate pair - return 2; // if it is, then we are 2 words long - return 1; // otherwise we are only 1 word long - */ - - return (0xD800 <= cp && cp <= 0xDBFF) ? 2 : 1; - } - - //! returns the number of UTF-16 code points needed to represent the given UTF-32 character \a cp - inline static size_t _utf16_char_length(unicode_char uc) { - /* - if ( uc > 0xFFFF ) // test if uc is greater than the single word maximum - return 2; // if so, we need a surrogate pair - return 1; // otherwise we can stuff it into a single word - */ - - return (uc > 0xFFFF ? 2 : 1); - } - - //! converts the given UTF-16 character buffer \a in_cp to a single UTF-32 Unicode character \a out_uc, returns the number of code points used to create the output character (2 for surrogate pairs, otherwise 1) - /*! This function does it's best to prevent error conditions, verifying complete - surrogate pairs before applying the algorithm. In the event that half of a pair - is found it will happily generate a value in the 0xD800 - 0xDFFF range, which is - normally an invalid Unicode value but we preserve them for use as sentinel values. */ - static size_t _utf16_to_utf32(const code_point in_cp[2], unicode_char &out_uc); - - //! writes the given UTF-32 \a uc_in to the buffer location \a out_cp using UTF-16 encoding, returns the number of code points used to encode the input (always 1 or 2) - /*! This function, like its counterpart, will happily create invalid UTF-16 surrogate pairs. These - invalid entries will be created for any value of \c in_uc that falls in the range U+D800 - U+DFFF. - These are generally useful as sentinel values to represent various program specific conditions. - @note This function will also pass through any single UTF-16 code point without modification, - making it a safe method of ensuring a stream that is unknown UTF-32 or UTF-16 is truly UTF-16.*/ - static size_t _utf32_to_utf16(const unicode_char &in_uc, code_point out_cp[2]); - - ////////////////////////////////////////////////////////////////////////// - // UTF-8 character encoding/decoding - - //! returns \c true if \a cp is the beginning of a UTF-8 sequence - inline static bool _utf8_start_char(unsigned char cp) { return (cp & ~_cont_mask) != _cont; } - - //! estimates the number of UTF-8 code points in the sequence starting with \a cp - static size_t _utf8_char_length(unsigned char cp); - //! returns the number of UTF-8 code points needed to represent the given UTF-32 character \a cp - static size_t _utf8_char_length(unicode_char uc); - - //! converts the given UTF-8 character buffer to a single UTF-32 Unicode character, returns the number of bytes used to create the output character (maximum of 6) - static size_t _utf8_to_utf32(const unsigned char in_cp[6], unicode_char &out_uc); - //! writes the given UTF-32 \a uc_in to the buffer location \a out_cp using UTF-8 encoding, returns the number of bytes used to encode the input - static size_t _utf32_to_utf8(const unicode_char &in_uc, unsigned char out_cp[6]); - - //! verifies a UTF-8 stream, returning the total number of Unicode characters found - inline static size_type _verifyUTF8(const unsigned char *c_str) { - String tmp(reinterpret_cast(c_str)); - return _verifyUTF8(tmp); - } - - //! verifies a UTF-8 stream, returning the total number of Unicode characters found - static size_type _verifyUTF8(const String &str); - -private: - //template friend class _iterator; - dstring m_data; - - //! buffer data type identifier - enum BufferType { - BT_NONE, - BT_STR, - BT_WSTR, - }; - - //! common constructor operations - inline void _init() { - m_buff.m_voidBuff = 0; - m_buffType = BT_NONE; - m_buffSize = 0; - } - - /////////////////////////////////////////////////////////////////////// - // Scratch buffer - //! auto cleans the scratch buffer using the proper delete for the stored type - void _cleanBuffer() const; - - //! create a std::string in the scratch buffer area - void _getBufferStr() const; - //! create a std::wstring in the scratch buffer area - void _getBufferWStr() const; - - void _load_buffer_UTF8() const; - void _load_buffer_WStr() const; - void _load_buffer_UTF32() const; - - mutable BufferType m_buffType; // identifies the data type held in mBuffer - mutable size_t m_buffSize; // size of the CString buffer - - // multi-purpose buffer used everywhere we need a throw-away buffer - union { - mutable void *m_voidBuff; - mutable String *m_strBuff; - mutable WString *m_wstrBuff; - } m_buff; -}; - -////////////////////////////////////////////////////////////////////////// - -//! string addition operator \relates UTFString -inline UTFString operator+(const UTFString &s1, const UTFString &s2) { return UTFString(s1).append(s2); } -//! string addition operator \relates UTFString -inline UTFString operator+(const UTFString &s1, UTFString::code_point c) { return UTFString(s1).append(1, c); } -//! string addition operator \relates UTFString -inline UTFString operator+(const UTFString &s1, UTFString::unicode_char c) { return UTFString(s1).append(1, c); } -//! string addition operator \relates UTFString -inline UTFString operator+(const UTFString &s1, char c) { return UTFString(s1).append(1, c); } - -#if CC_IS_NATIVE_WCHAR_T -//! string addition operator \relates UTFString -inline UTFString operator+(const UTFString &s1, wchar_t c) { return UTFString(s1).append(1, c); } -#endif - -//! string addition operator \relates UTFString -inline UTFString operator+(UTFString::code_point c, const UTFString &s2) { return UTFString().append(1, c).append(s2); } -//! string addition operator \relates UTFString -inline UTFString operator+(UTFString::unicode_char c, const UTFString &s2) { return UTFString().append(1, c).append(s2); } -//! string addition operator \relates UTFString -inline UTFString operator+(char c, const UTFString &s2) { return UTFString().append(1, c).append(s2); } - -#if CC_IS_NATIVE_WCHAR_T -//! string addition operator \relates UTFString -inline UTFString operator+(wchar_t c, const UTFString &s2) { return UTFString().append(1, c).append(s2); } -#endif - -// (const) forward iterator common operators -inline UTFString::size_type operator-(const UTFString::_const_fwd_iterator &left, const UTFString::_const_fwd_iterator &right) { return (left.iter_ - right.iter_); } -inline bool operator==(const UTFString::_const_fwd_iterator &left, const UTFString::_const_fwd_iterator &right) { return left.iter_ == right.iter_; } -inline bool operator!=(const UTFString::_const_fwd_iterator &left, const UTFString::_const_fwd_iterator &right) { return left.iter_ != right.iter_; } -inline bool operator<(const UTFString::_const_fwd_iterator &left, const UTFString::_const_fwd_iterator &right) { return left.iter_ < right.iter_; } -inline bool operator<=(const UTFString::_const_fwd_iterator &left, const UTFString::_const_fwd_iterator &right) { return left.iter_ <= right.iter_; } -inline bool operator>(const UTFString::_const_fwd_iterator &left, const UTFString::_const_fwd_iterator &right) { return left.iter_ > right.iter_; } -inline bool operator>=(const UTFString::_const_fwd_iterator &left, const UTFString::_const_fwd_iterator &right) { return left.iter_ >= right.iter_; } - -// (const) reverse iterator common operators -// NB: many of these operations are evaluated in reverse because this is a reverse iterator wrapping a forward iterator -inline UTFString::size_type operator-(const UTFString::_const_rev_iterator &left, const UTFString::_const_rev_iterator &right) { return (right.iter_ - left.iter_); } -inline bool operator==(const UTFString::_const_rev_iterator &left, const UTFString::_const_rev_iterator &right) { return left.iter_ == right.iter_; } -inline bool operator!=(const UTFString::_const_rev_iterator &left, const UTFString::_const_rev_iterator &right) { return left.iter_ != right.iter_; } -inline bool operator<(const UTFString::_const_rev_iterator &left, const UTFString::_const_rev_iterator &right) { return right.iter_ < left.iter_; } -inline bool operator<=(const UTFString::_const_rev_iterator &left, const UTFString::_const_rev_iterator &right) { return right.iter_ <= left.iter_; } -inline bool operator>(const UTFString::_const_rev_iterator &left, const UTFString::_const_rev_iterator &right) { return right.iter_ > left.iter_; } -inline bool operator>=(const UTFString::_const_rev_iterator &left, const UTFString::_const_rev_iterator &right) { return right.iter_ >= left.iter_; } - -} // namespace cc - -#endif // CC_CORE_KERNEL_UTF_STRING_H_ diff --git a/native/cocos/base/Value.cpp b/native/cocos/base/Value.cpp index 9d74e83996..9f6d4e7337 100644 --- a/native/cocos/base/Value.cpp +++ b/native/cocos/base/Value.cpp @@ -504,7 +504,7 @@ float Value::asFloat() const { } if (_type == Type::STRING) { - return utils::atof(_field.strVal->c_str()); + return static_cast(utils::atof(_field.strVal->c_str())); } if (_type == Type::INTEGER) { diff --git a/native/cocos/base/csscolorparser.cpp b/native/cocos/base/csscolorparser.cpp index e8de4720d6..c4e77adc0c 100644 --- a/native/cocos/base/csscolorparser.cpp +++ b/native/cocos/base/csscolorparser.cpp @@ -215,8 +215,8 @@ const std::vector namedColors = { template uint8_t clamp_css_byte(T i) { // Clamp to integer 0 .. 255. - i = ::round(i); // Seems to be what Chrome does (vs truncation). - return i < 0 ? 0 : i > 255 ? 255 : uint8_t(i); + i = static_cast(::round(i)); // Seems to be what Chrome does (vs truncation). + return static_cast(i < 0 ? 0 : i > 255 ? 255 : i); } template From 286acde0e4e7d9b6dd4b950dc26eba2a5d0c7dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Tue, 23 Mar 2021 18:13:10 +0800 Subject: [PATCH 196/270] [CI] GitHub Action - ClangTidy / Android (#3338) --- .../.github/workflows/clangtidy-android.yml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 native/.github/workflows/clangtidy-android.yml diff --git a/native/.github/workflows/clangtidy-android.yml b/native/.github/workflows/clangtidy-android.yml new file mode 100644 index 0000000000..380458b230 --- /dev/null +++ b/native/.github/workflows/clangtidy-android.yml @@ -0,0 +1,59 @@ +name: Clang Tidy - Android + +# Run this workflow every time a new commit pushed to your repository +on: pull_request + +jobs: + # Set the job key. The key is displayed as the job name + # when a job name is not provided + super-lint: + # Name the Job + name: Lint code base - Android + # Set the type of machine to run on + runs-on: ubuntu-latest + + steps: + # Checks out a copy of your repository on the ubuntu-latest machine + - name: Checkout code + uses: actions/checkout@v2 + - uses: jitterbit/get-changed-files@v1 + id: listchanged + with: + format: space-delimited + token: ${{ secrets.GITHUB_TOKEN }} + - name: Install CMake & Clang Tidy + run: | + sudo apt install -y cmake llvm clang-tidy-11 + + - name: Generate Compile database + shell: bash + run: | + EXT_VERSION=`grep version external/config.json |awk -F'"' '{print $4}'` + rm external/config.json + git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos-creator/engine-native-external external + echo -e "cmake_minimum_required(VERSION 3.8)\nproject(engine_native CXX)\nenable_language(C ASM)" | cat - CMakeLists.txt > tmp.txt + mv tmp.txt CMakeLists.txt + cmake -Bbuild -DCC_USE_GLES2=ON -DCC_USE_VULKAN=ON -DCC_USE_GLES3=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake" -DANDROID_PLATFORM=android-21 -G"Unix Makefiles" + + - name: Generate clang-fix.yaml + shell: bash + run: | + FILES="${{ steps.listchanged.outputs.added_modified }}" + CPP="" + for file in $FILES; do + if [[ "$file" == *.cpp || "$file" == *.c || "$file" == *.m || "$file" == *.mm || "$file" == *.h ]]; then + CPP+=" $file" + fi + done + if [[ "$CPP-xxx" == "-xxx" ]]; then + echo "no source file found!" + else + clang-tidy-11 -p ./build --export-fixes=clang-fixes.yaml $CPP + fi + - name: clang-tidy-action + uses: PatriceJiang/clang-tidy-action@master + if: hashFiles('clang-fixes.yaml') != '' + with: + fixesFile: clang-fixes.yaml + noFailOnIssue: true + repo-token: ${{ secrets.GITHUB_TOKEN }} From 1788564ebf142398e61f4f3407180826ffac0cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Wed, 24 Mar 2021 18:41:54 +0800 Subject: [PATCH 197/270] Update cocos2dx files (#3346) * update cocos2dx-files.json * update cocos2dx-files.json --- native/templates/cocos2dx_files.json | 36840 +++++++++++++------------ 1 file changed, 18435 insertions(+), 18405 deletions(-) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index b5a951865c..d8994fa754 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -1,18412 +1,18442 @@ { "common": [ - ".browserslistrc", - ".clang-format", - ".clang-tidy", - "CMakeLists.txt", - "cocos/audio/AudioEngine.cpp", - "cocos/audio/android/AssetFd.cpp", - "cocos/audio/android/AssetFd.h", - "cocos/audio/android/AudioBufferProvider.h", - "cocos/audio/android/AudioDecoder.cpp", - "cocos/audio/android/AudioDecoder.h", - "cocos/audio/android/AudioDecoderMp3.cpp", - "cocos/audio/android/AudioDecoderMp3.h", - "cocos/audio/android/AudioDecoderOgg.cpp", - "cocos/audio/android/AudioDecoderOgg.h", - "cocos/audio/android/AudioDecoderProvider.cpp", - "cocos/audio/android/AudioDecoderProvider.h", - "cocos/audio/android/AudioDecoderSLES.cpp", - "cocos/audio/android/AudioDecoderSLES.h", - "cocos/audio/android/AudioDecoderWav.cpp", - "cocos/audio/android/AudioDecoderWav.h", - "cocos/audio/android/AudioEngine-inl.cpp", - "cocos/audio/android/AudioEngine-inl.h", - "cocos/audio/android/AudioMixer.cpp", - "cocos/audio/android/AudioMixer.h", - "cocos/audio/android/AudioMixerController.cpp", - "cocos/audio/android/AudioMixerController.h", - "cocos/audio/android/AudioMixerOps.h", - "cocos/audio/android/AudioPlayerProvider.cpp", - "cocos/audio/android/AudioPlayerProvider.h", - "cocos/audio/android/AudioResampler.cpp", - "cocos/audio/android/AudioResampler.h", - "cocos/audio/android/AudioResamplerCubic.cpp", - "cocos/audio/android/AudioResamplerCubic.h", - "cocos/audio/android/AudioResamplerPublic.h", - "cocos/audio/android/IAudioPlayer.h", - "cocos/audio/android/ICallerThreadUtils.h", - "cocos/audio/android/IVolumeProvider.h", - "cocos/audio/android/OpenSLHelper.h", - "cocos/audio/android/PcmAudioPlayer.cpp", - "cocos/audio/android/PcmAudioPlayer.h", - "cocos/audio/android/PcmAudioService.cpp", - "cocos/audio/android/PcmAudioService.h", - "cocos/audio/android/PcmBufferProvider.cpp", - "cocos/audio/android/PcmBufferProvider.h", - "cocos/audio/android/PcmData.cpp", - "cocos/audio/android/PcmData.h", - "cocos/audio/android/Track.cpp", - "cocos/audio/android/Track.h", - "cocos/audio/android/UrlAudioPlayer.cpp", - "cocos/audio/android/UrlAudioPlayer.h", - "cocos/audio/android/audio.h", - "cocos/audio/android/audio_utils/format.c", - "cocos/audio/android/audio_utils/include/audio_utils/format.h", - "cocos/audio/android/audio_utils/include/audio_utils/minifloat.h", - "cocos/audio/android/audio_utils/include/audio_utils/primitives.h", - "cocos/audio/android/audio_utils/minifloat.cpp", - "cocos/audio/android/audio_utils/primitives.c", - "cocos/audio/android/audio_utils/private/private.h", - "cocos/audio/android/cutils/bitops.h", - "cocos/audio/android/cutils/log.h", - "cocos/audio/android/mp3reader.cpp", - "cocos/audio/android/mp3reader.h", - "cocos/audio/android/tinysndfile.cpp", - "cocos/audio/android/tinysndfile.h", - "cocos/audio/android/utils/Compat.h", - "cocos/audio/android/utils/Errors.h", - "cocos/audio/android/utils/Utils.cpp", - "cocos/audio/android/utils/Utils.h", - "cocos/audio/apple/AudioCache.h", - "cocos/audio/apple/AudioCache.mm", - "cocos/audio/apple/AudioDecoder.h", - "cocos/audio/apple/AudioDecoder.mm", - "cocos/audio/apple/AudioEngine-inl.h", - "cocos/audio/apple/AudioEngine-inl.mm", - "cocos/audio/apple/AudioMacros.h", - "cocos/audio/apple/AudioPlayer.h", - "cocos/audio/apple/AudioPlayer.mm", - "cocos/audio/include/AudioEngine.h", - "cocos/audio/include/Export.h", - "cocos/audio/win32/AudioCache.cpp", - "cocos/audio/win32/AudioCache.h", - "cocos/audio/win32/AudioDecoder.cpp", - "cocos/audio/win32/AudioDecoder.h", - "cocos/audio/win32/AudioDecoderManager.cpp", - "cocos/audio/win32/AudioDecoderManager.h", - "cocos/audio/win32/AudioDecoderMp3.cpp", - "cocos/audio/win32/AudioDecoderMp3.h", - "cocos/audio/win32/AudioDecoderOgg.cpp", - "cocos/audio/win32/AudioDecoderOgg.h", - "cocos/audio/win32/AudioEngine-win32.cpp", - "cocos/audio/win32/AudioEngine-win32.h", - "cocos/audio/win32/AudioMacros.h", - "cocos/audio/win32/AudioPlayer.cpp", - "cocos/audio/win32/AudioPlayer.h", - "cocos/base/Agent.h", - "cocos/base/Array.cpp", - "cocos/base/Array.h", - "cocos/base/AutoreleasePool.cpp", - "cocos/base/AutoreleasePool.h", - "cocos/base/CachedArray.h", - "cocos/base/Config.h", - "cocos/base/CoreStd.h", - "cocos/base/Data.cpp", - "cocos/base/Data.h", - "cocos/base/IndexHandle.h", - "cocos/base/Log.cpp", - "cocos/base/Log.h", - "cocos/base/Macros.h", - "cocos/base/Map.h", - "cocos/base/Object.h", - "cocos/base/Random.cpp", - "cocos/base/Random.h", - "cocos/base/Ref.cpp", - "cocos/base/Ref.h", - "cocos/base/Scheduler.cpp", - "cocos/base/Scheduler.h", - "cocos/base/StringHandle.cpp", - "cocos/base/StringHandle.h", - "cocos/base/StringPool.h", - "cocos/base/StringUtil.cpp", - "cocos/base/StringUtil.h", - "cocos/base/ThreadPool.cpp", - "cocos/base/ThreadPool.h", - "cocos/base/TypeDef.h", - "cocos/base/UTF8.cpp", - "cocos/base/UTF8.h", - "cocos/base/UTFString.cpp", - "cocos/base/UTFString.h", - "cocos/base/Utils.cpp", - "cocos/base/Utils.h", - "cocos/base/Value.cpp", - "cocos/base/Value.h", - "cocos/base/Vector.h", - "cocos/base/ZipUtils.cpp", - "cocos/base/ZipUtils.h", - "cocos/base/astc.cpp", - "cocos/base/astc.h", - "cocos/base/base64.cpp", - "cocos/base/base64.h", - "cocos/base/csscolorparser.cpp", - "cocos/base/csscolorparser.h", - "cocos/base/etc1.cpp", - "cocos/base/etc1.h", - "cocos/base/etc2.cpp", - "cocos/base/etc2.h", - "cocos/base/job-system/JobSystem.h", - "cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp", - "cocos/base/job-system/job-system-taskflow/TFJobGraph.h", - "cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp", - "cocos/base/job-system/job-system-taskflow/TFJobSystem.h", - "cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp", - "cocos/base/job-system/job-system-tbb/TBBJobGraph.h", - "cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp", - "cocos/base/job-system/job-system-tbb/TBBJobSystem.h", - "cocos/base/memory/AllocatedObj.cpp", - "cocos/base/memory/AllocatedObj.h", - "cocos/base/memory/JeAlloc.cpp", - "cocos/base/memory/JeAlloc.h", - "cocos/base/memory/MemDef.h", - "cocos/base/memory/MemTracker.cpp", - "cocos/base/memory/MemTracker.h", - "cocos/base/memory/Memory.cpp", - "cocos/base/memory/Memory.h", - "cocos/base/memory/NedPooling.cpp", - "cocos/base/memory/NedPooling.h", - "cocos/base/memory/StdAlloc.h", - "cocos/base/memory/StlAlloc.h", - "cocos/base/threading/ConditionVariable.cpp", - "cocos/base/threading/ConditionVariable.h", - "cocos/base/threading/Event.h", - "cocos/base/threading/MessageQueue.cpp", - "cocos/base/threading/MessageQueue.h", - "cocos/base/threading/ReadWriteLock.h", - "cocos/base/threading/Semaphore.cpp", - "cocos/base/threading/Semaphore.h", - "cocos/base/threading/ThreadPool.cpp", - "cocos/base/threading/ThreadPool.h", - "cocos/base/threading/ThreadSafeCounter.h", - "cocos/base/threading/ThreadSafeLinearAllocator.cpp", - "cocos/base/threading/ThreadSafeLinearAllocator.h", - "cocos/base/uthash.h", - "cocos/editor-support/IOBuffer.cpp", - "cocos/editor-support/IOBuffer.h", - "cocos/editor-support/IOTypedArray.cpp", - "cocos/editor-support/IOTypedArray.h", - "cocos/editor-support/MeshBuffer.cpp", - "cocos/editor-support/MeshBuffer.h", - "cocos/editor-support/MiddlewareMacro.h", - "cocos/editor-support/MiddlewareManager.cpp", - "cocos/editor-support/MiddlewareManager.h", - "cocos/editor-support/SharedBufferManager.cpp", - "cocos/editor-support/SharedBufferManager.h", - "cocos/editor-support/TypedArrayPool.cpp", - "cocos/editor-support/TypedArrayPool.h", - "cocos/editor-support/dragonbones-creator-support/ArmatureCache.cpp", - "cocos/editor-support/dragonbones-creator-support/ArmatureCache.h", - "cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.cpp", - "cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.h", - "cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp", - "cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.h", - "cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp", - "cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h", - "cocos/editor-support/dragonbones-creator-support/CCDragonBonesHeaders.h", - "cocos/editor-support/dragonbones-creator-support/CCFactory.cpp", - "cocos/editor-support/dragonbones-creator-support/CCFactory.h", - "cocos/editor-support/dragonbones-creator-support/CCSlot.cpp", - "cocos/editor-support/dragonbones-creator-support/CCSlot.h", - "cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.cpp", - "cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.h", - "cocos/editor-support/dragonbones/DragonBonesHeaders.h", - "cocos/editor-support/dragonbones/animation/Animation.cpp", - "cocos/editor-support/dragonbones/animation/Animation.h", - "cocos/editor-support/dragonbones/animation/AnimationState.cpp", - "cocos/editor-support/dragonbones/animation/AnimationState.h", - "cocos/editor-support/dragonbones/animation/BaseTimelineState.cpp", - "cocos/editor-support/dragonbones/animation/BaseTimelineState.h", - "cocos/editor-support/dragonbones/animation/IAnimatable.h", - "cocos/editor-support/dragonbones/animation/TimelineState.cpp", - "cocos/editor-support/dragonbones/animation/TimelineState.h", - "cocos/editor-support/dragonbones/animation/WorldClock.cpp", - "cocos/editor-support/dragonbones/animation/WorldClock.h", - "cocos/editor-support/dragonbones/armature/Armature.cpp", - "cocos/editor-support/dragonbones/armature/Armature.h", - "cocos/editor-support/dragonbones/armature/Bone.cpp", - "cocos/editor-support/dragonbones/armature/Bone.h", - "cocos/editor-support/dragonbones/armature/Constraint.cpp", - "cocos/editor-support/dragonbones/armature/Constraint.h", - "cocos/editor-support/dragonbones/armature/DeformVertices.cpp", - "cocos/editor-support/dragonbones/armature/DeformVertices.h", - "cocos/editor-support/dragonbones/armature/IArmatureProxy.h", - "cocos/editor-support/dragonbones/armature/Slot.cpp", - "cocos/editor-support/dragonbones/armature/Slot.h", - "cocos/editor-support/dragonbones/armature/TransformObject.cpp", - "cocos/editor-support/dragonbones/armature/TransformObject.h", - "cocos/editor-support/dragonbones/core/BaseObject.cpp", - "cocos/editor-support/dragonbones/core/BaseObject.h", - "cocos/editor-support/dragonbones/core/DragonBones.cpp", - "cocos/editor-support/dragonbones/core/DragonBones.h", - "cocos/editor-support/dragonbones/event/EventObject.cpp", - "cocos/editor-support/dragonbones/event/EventObject.h", - "cocos/editor-support/dragonbones/event/IEventDispatcher.h", - "cocos/editor-support/dragonbones/factory/BaseFactory.cpp", - "cocos/editor-support/dragonbones/factory/BaseFactory.h", - "cocos/editor-support/dragonbones/geom/ColorTransform.h", - "cocos/editor-support/dragonbones/geom/Matrix.h", - "cocos/editor-support/dragonbones/geom/Point.cpp", - "cocos/editor-support/dragonbones/geom/Point.h", - "cocos/editor-support/dragonbones/geom/Rectangle.h", - "cocos/editor-support/dragonbones/geom/Transform.cpp", - "cocos/editor-support/dragonbones/geom/Transform.h", - "cocos/editor-support/dragonbones/model/AnimationConfig.cpp", - "cocos/editor-support/dragonbones/model/AnimationConfig.h", - "cocos/editor-support/dragonbones/model/AnimationData.cpp", - "cocos/editor-support/dragonbones/model/AnimationData.h", - "cocos/editor-support/dragonbones/model/ArmatureData.cpp", - "cocos/editor-support/dragonbones/model/ArmatureData.h", - "cocos/editor-support/dragonbones/model/BoundingBoxData.cpp", - "cocos/editor-support/dragonbones/model/BoundingBoxData.h", - "cocos/editor-support/dragonbones/model/CanvasData.cpp", - "cocos/editor-support/dragonbones/model/CanvasData.h", - "cocos/editor-support/dragonbones/model/ConstraintData.cpp", - "cocos/editor-support/dragonbones/model/ConstraintData.h", - "cocos/editor-support/dragonbones/model/DisplayData.cpp", - "cocos/editor-support/dragonbones/model/DisplayData.h", - "cocos/editor-support/dragonbones/model/DragonBonesData.cpp", - "cocos/editor-support/dragonbones/model/DragonBonesData.h", - "cocos/editor-support/dragonbones/model/SkinData.cpp", - "cocos/editor-support/dragonbones/model/SkinData.h", - "cocos/editor-support/dragonbones/model/TextureAtlasData.cpp", - "cocos/editor-support/dragonbones/model/TextureAtlasData.h", - "cocos/editor-support/dragonbones/model/UserData.cpp", - "cocos/editor-support/dragonbones/model/UserData.h", - "cocos/editor-support/dragonbones/parser/BinaryDataParser.cpp", - "cocos/editor-support/dragonbones/parser/BinaryDataParser.h", - "cocos/editor-support/dragonbones/parser/DataParser.cpp", - "cocos/editor-support/dragonbones/parser/DataParser.h", - "cocos/editor-support/dragonbones/parser/JSONDataParser.cpp", - "cocos/editor-support/dragonbones/parser/JSONDataParser.h", - "cocos/editor-support/middleware-adapter.cpp", - "cocos/editor-support/middleware-adapter.h", - "cocos/editor-support/spine-creator-support/AttachmentVertices.cpp", - "cocos/editor-support/spine-creator-support/AttachmentVertices.h", - "cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp", - "cocos/editor-support/spine-creator-support/SkeletonAnimation.h", - "cocos/editor-support/spine-creator-support/SkeletonCache.cpp", - "cocos/editor-support/spine-creator-support/SkeletonCache.h", - "cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp", - "cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.h", - "cocos/editor-support/spine-creator-support/SkeletonCacheMgr.cpp", - "cocos/editor-support/spine-creator-support/SkeletonCacheMgr.h", - "cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp", - "cocos/editor-support/spine-creator-support/SkeletonDataMgr.h", - "cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp", - "cocos/editor-support/spine-creator-support/SkeletonRenderer.h", - "cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp", - "cocos/editor-support/spine-creator-support/VertexEffectDelegate.h", - "cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp", - "cocos/editor-support/spine-creator-support/spine-cocos2dx.h", - "cocos/editor-support/spine/Animation.cpp", - "cocos/editor-support/spine/Animation.h", - "cocos/editor-support/spine/AnimationState.cpp", - "cocos/editor-support/spine/AnimationState.h", - "cocos/editor-support/spine/AnimationStateData.cpp", - "cocos/editor-support/spine/AnimationStateData.h", - "cocos/editor-support/spine/Atlas.cpp", - "cocos/editor-support/spine/Atlas.h", - "cocos/editor-support/spine/AtlasAttachmentLoader.cpp", - "cocos/editor-support/spine/AtlasAttachmentLoader.h", - "cocos/editor-support/spine/Attachment.cpp", - "cocos/editor-support/spine/Attachment.h", - "cocos/editor-support/spine/AttachmentLoader.cpp", - "cocos/editor-support/spine/AttachmentLoader.h", - "cocos/editor-support/spine/AttachmentTimeline.cpp", - "cocos/editor-support/spine/AttachmentTimeline.h", - "cocos/editor-support/spine/AttachmentType.h", - "cocos/editor-support/spine/BlendMode.h", - "cocos/editor-support/spine/Bone.cpp", - "cocos/editor-support/spine/Bone.h", - "cocos/editor-support/spine/BoneData.cpp", - "cocos/editor-support/spine/BoneData.h", - "cocos/editor-support/spine/BoundingBoxAttachment.cpp", - "cocos/editor-support/spine/BoundingBoxAttachment.h", - "cocos/editor-support/spine/ClippingAttachment.cpp", - "cocos/editor-support/spine/ClippingAttachment.h", - "cocos/editor-support/spine/Color.h", - "cocos/editor-support/spine/ColorTimeline.cpp", - "cocos/editor-support/spine/ColorTimeline.h", - "cocos/editor-support/spine/Constraint.cpp", - "cocos/editor-support/spine/Constraint.h", - "cocos/editor-support/spine/ConstraintData.cpp", - "cocos/editor-support/spine/ConstraintData.h", - "cocos/editor-support/spine/ContainerUtil.h", - "cocos/editor-support/spine/CurveTimeline.cpp", - "cocos/editor-support/spine/CurveTimeline.h", - "cocos/editor-support/spine/Debug.h", - "cocos/editor-support/spine/DeformTimeline.cpp", - "cocos/editor-support/spine/DeformTimeline.h", - "cocos/editor-support/spine/DrawOrderTimeline.cpp", - "cocos/editor-support/spine/DrawOrderTimeline.h", - "cocos/editor-support/spine/Event.cpp", - "cocos/editor-support/spine/Event.h", - "cocos/editor-support/spine/EventData.cpp", - "cocos/editor-support/spine/EventData.h", - "cocos/editor-support/spine/EventTimeline.cpp", - "cocos/editor-support/spine/EventTimeline.h", - "cocos/editor-support/spine/Extension.cpp", - "cocos/editor-support/spine/Extension.h", - "cocos/editor-support/spine/HasRendererObject.h", - "cocos/editor-support/spine/HashMap.h", - "cocos/editor-support/spine/IkConstraint.cpp", - "cocos/editor-support/spine/IkConstraint.h", - "cocos/editor-support/spine/IkConstraintData.cpp", - "cocos/editor-support/spine/IkConstraintData.h", - "cocos/editor-support/spine/IkConstraintTimeline.cpp", - "cocos/editor-support/spine/IkConstraintTimeline.h", - "cocos/editor-support/spine/Json.cpp", - "cocos/editor-support/spine/Json.h", - "cocos/editor-support/spine/LinkedMesh.cpp", - "cocos/editor-support/spine/LinkedMesh.h", - "cocos/editor-support/spine/MathUtil.cpp", - "cocos/editor-support/spine/MathUtil.h", - "cocos/editor-support/spine/MeshAttachment.cpp", - "cocos/editor-support/spine/MeshAttachment.h", - "cocos/editor-support/spine/MixBlend.h", - "cocos/editor-support/spine/MixDirection.h", - "cocos/editor-support/spine/PathAttachment.cpp", - "cocos/editor-support/spine/PathAttachment.h", - "cocos/editor-support/spine/PathConstraint.cpp", - "cocos/editor-support/spine/PathConstraint.h", - "cocos/editor-support/spine/PathConstraintData.cpp", - "cocos/editor-support/spine/PathConstraintData.h", - "cocos/editor-support/spine/PathConstraintMixTimeline.cpp", - "cocos/editor-support/spine/PathConstraintMixTimeline.h", - "cocos/editor-support/spine/PathConstraintPositionTimeline.cpp", - "cocos/editor-support/spine/PathConstraintPositionTimeline.h", - "cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp", - "cocos/editor-support/spine/PathConstraintSpacingTimeline.h", - "cocos/editor-support/spine/PointAttachment.cpp", - "cocos/editor-support/spine/PointAttachment.h", - "cocos/editor-support/spine/Pool.h", - "cocos/editor-support/spine/PositionMode.h", - "cocos/editor-support/spine/RTTI.cpp", - "cocos/editor-support/spine/RTTI.h", - "cocos/editor-support/spine/RegionAttachment.cpp", - "cocos/editor-support/spine/RegionAttachment.h", - "cocos/editor-support/spine/RotateMode.h", - "cocos/editor-support/spine/RotateTimeline.cpp", - "cocos/editor-support/spine/RotateTimeline.h", - "cocos/editor-support/spine/ScaleTimeline.cpp", - "cocos/editor-support/spine/ScaleTimeline.h", - "cocos/editor-support/spine/ShearTimeline.cpp", - "cocos/editor-support/spine/ShearTimeline.h", - "cocos/editor-support/spine/Skeleton.cpp", - "cocos/editor-support/spine/Skeleton.h", - "cocos/editor-support/spine/SkeletonBinary.cpp", - "cocos/editor-support/spine/SkeletonBinary.h", - "cocos/editor-support/spine/SkeletonBounds.cpp", - "cocos/editor-support/spine/SkeletonBounds.h", - "cocos/editor-support/spine/SkeletonClipping.cpp", - "cocos/editor-support/spine/SkeletonClipping.h", - "cocos/editor-support/spine/SkeletonData.cpp", - "cocos/editor-support/spine/SkeletonData.h", - "cocos/editor-support/spine/SkeletonJson.cpp", - "cocos/editor-support/spine/SkeletonJson.h", - "cocos/editor-support/spine/Skin.cpp", - "cocos/editor-support/spine/Skin.h", - "cocos/editor-support/spine/Slot.cpp", - "cocos/editor-support/spine/Slot.h", - "cocos/editor-support/spine/SlotData.cpp", - "cocos/editor-support/spine/SlotData.h", - "cocos/editor-support/spine/SpacingMode.h", - "cocos/editor-support/spine/SpineObject.cpp", - "cocos/editor-support/spine/SpineObject.h", - "cocos/editor-support/spine/SpineString.h", - "cocos/editor-support/spine/TextureLoader.cpp", - "cocos/editor-support/spine/TextureLoader.h", - "cocos/editor-support/spine/Timeline.cpp", - "cocos/editor-support/spine/Timeline.h", - "cocos/editor-support/spine/TimelineType.h", - "cocos/editor-support/spine/TransformConstraint.cpp", - "cocos/editor-support/spine/TransformConstraint.h", - "cocos/editor-support/spine/TransformConstraintData.cpp", - "cocos/editor-support/spine/TransformConstraintData.h", - "cocos/editor-support/spine/TransformConstraintTimeline.cpp", - "cocos/editor-support/spine/TransformConstraintTimeline.h", - "cocos/editor-support/spine/TransformMode.h", - "cocos/editor-support/spine/TranslateTimeline.cpp", - "cocos/editor-support/spine/TranslateTimeline.h", - "cocos/editor-support/spine/Triangulator.cpp", - "cocos/editor-support/spine/Triangulator.h", - "cocos/editor-support/spine/TwoColorTimeline.cpp", - "cocos/editor-support/spine/TwoColorTimeline.h", - "cocos/editor-support/spine/Updatable.cpp", - "cocos/editor-support/spine/Updatable.h", - "cocos/editor-support/spine/Vector.h", - "cocos/editor-support/spine/VertexAttachment.cpp", - "cocos/editor-support/spine/VertexAttachment.h", - "cocos/editor-support/spine/VertexEffect.cpp", - "cocos/editor-support/spine/VertexEffect.h", - "cocos/editor-support/spine/Vertices.h", - "cocos/editor-support/spine/dll.h", - "cocos/editor-support/spine/spine.h", - "cocos/math/Geometry.cpp", - "cocos/math/Geometry.h", - "cocos/math/Mat3.cpp", - "cocos/math/Mat3.h", - "cocos/math/Mat4.cpp", - "cocos/math/Mat4.h", - "cocos/math/Mat4.inl", - "cocos/math/Math.cpp", - "cocos/math/Math.h", - "cocos/math/MathBase.h", - "cocos/math/MathUtil.cpp", - "cocos/math/MathUtil.h", - "cocos/math/MathUtil.inl", - "cocos/math/MathUtilNeon.inl", - "cocos/math/MathUtilNeon64.inl", - "cocos/math/MathUtilSSE.inl", - "cocos/math/Quaternion.cpp", - "cocos/math/Quaternion.h", - "cocos/math/Quaternion.inl", - "cocos/math/Vec2.cpp", - "cocos/math/Vec2.h", - "cocos/math/Vec2.inl", - "cocos/math/Vec3.cpp", - "cocos/math/Vec3.h", - "cocos/math/Vec3.inl", - "cocos/math/Vec4.cpp", - "cocos/math/Vec4.h", - "cocos/math/Vec4.inl", - "cocos/math/Vertex.cpp", - "cocos/math/Vertex.h", - "cocos/network/Downloader-android.cpp", - "cocos/network/Downloader-android.h", - "cocos/network/Downloader-curl.cpp", - "cocos/network/Downloader-curl.h", - "cocos/network/Downloader.cpp", - "cocos/network/Downloader.h", - "cocos/network/DownloaderImpl-apple.h", - "cocos/network/DownloaderImpl-apple.mm", - "cocos/network/DownloaderImpl.h", - "cocos/network/HttpAsynConnection-apple.h", - "cocos/network/HttpAsynConnection-apple.m", - "cocos/network/HttpClient-android.cpp", - "cocos/network/HttpClient-apple.mm", - "cocos/network/HttpClient.cpp", - "cocos/network/HttpClient.h", - "cocos/network/HttpCookie.cpp", - "cocos/network/HttpCookie.h", - "cocos/network/HttpRequest.h", - "cocos/network/HttpResponse.h", - "cocos/network/SocketIO.cpp", - "cocos/network/SocketIO.h", - "cocos/network/Uri.cpp", - "cocos/network/Uri.h", - "cocos/network/WebSocket-apple.mm", - "cocos/network/WebSocket-libwebsockets.cpp", - "cocos/network/WebSocket.h", - "cocos/network/WebSocketServer.cpp", - "cocos/network/WebSocketServer.h", - "cocos/platform/Application.cpp", - "cocos/platform/Application.h", - "cocos/platform/CanvasRenderingContext2D.h", - "cocos/platform/Device.h", - "cocos/platform/FileUtils.cpp", - "cocos/platform/FileUtils.h", - "cocos/platform/Image.cpp", - "cocos/platform/Image.h", - "cocos/platform/SAXParser.cpp", - "cocos/platform/SAXParser.h", - "cocos/platform/StdC.h", - "cocos/platform/android/Application-android.cpp", - "cocos/platform/android/CanvasRenderingContext2D-android.cpp", - "cocos/platform/android/Device-android.cpp", - "cocos/platform/android/FileUtils-android.cpp", - "cocos/platform/android/FileUtils-android.h", - "cocos/platform/android/View.cpp", - "cocos/platform/android/View.h", - "cocos/platform/android/java/.classpath", - "cocos/platform/android/java/.project", - "cocos/platform/android/java/AndroidManifest.xml", - "cocos/platform/android/java/build.xml", - "cocos/platform/android/java/libs/", - "cocos/platform/android/java/libs/com.android.vending.expansion.zipfile.jar", - "cocos/platform/android/java/libs/okhttp-3.12.7.jar", - "cocos/platform/android/java/libs/okio-1.15.0.jar", - "cocos/platform/android/java/proguard-project.txt", - "cocos/platform/android/java/project.properties", - "cocos/platform/android/java/src/com/cocos/lib/CanvasRenderingContext2DImpl.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosActivity.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosDownloader.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosEditBoxActivity.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosHandler.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosHttpURLConnection.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosJavascriptJavaBridge.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosKeyCodeHandler.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosLocalStorage.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosNativeActivity.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosOrientationHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosReflectionHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosSensorHandler.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosSurfaceView.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosTouchHandler.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosVideoHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosWebView.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosWebViewHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/GlobalObject.java", - "cocos/platform/android/java/src/com/cocos/lib/Utils.java", - "cocos/platform/android/jni/JniCocosActivity.cpp", - "cocos/platform/android/jni/JniCocosActivity.h", - "cocos/platform/android/jni/JniCocosKeyCodeHandler.cpp", - "cocos/platform/android/jni/JniCocosOrientationHelper.cpp", - "cocos/platform/android/jni/JniCocosSurfaceView.cpp", - "cocos/platform/android/jni/JniCocosTouchHandler.cpp", - "cocos/platform/android/jni/JniHelper.cpp", - "cocos/platform/android/jni/JniHelper.h", - "cocos/platform/android/jni/JniImp.cpp", - "cocos/platform/android/jni/JniImp.h", - "cocos/platform/android/libcocos2dx/AndroidManifest.xml", - "cocos/platform/android/libcocos2dx/build.gradle", - "cocos/platform/android/libcocos2dx/proguard-rules.pro", - "cocos/platform/android/libcocos2dx/src/main/res/values-zh-rCN/strings.xml", - "cocos/platform/android/libcocos2dx/src/main/res/values/strings.xml", - "cocos/platform/apple/CanvasRenderingContext2D-apple.mm", - "cocos/platform/apple/Device-apple.h", - "cocos/platform/apple/Device-apple.mm", - "cocos/platform/apple/FileUtils-apple.h", - "cocos/platform/apple/FileUtils-apple.mm", - "cocos/platform/ios/Application-ios.mm", - "cocos/platform/ios/Device-ios.mm", - "cocos/platform/ios/Reachability.cpp", - "cocos/platform/ios/Reachability.h", - "cocos/platform/ios/View.h", - "cocos/platform/ios/View.mm", - "cocos/platform/mac/Application-mac.mm", - "cocos/platform/mac/Device-mac.mm", - "cocos/platform/mac/KeyCodeHelper.cpp", - "cocos/platform/mac/KeyCodeHelper.h", - "cocos/platform/mac/View.h", - "cocos/platform/mac/View.mm", - "cocos/platform/mac/cocos2d-prefix.pch", - "cocos/platform/win32/Application-win32.cpp", - "cocos/platform/win32/CanvasRenderingContext2D-win32.cpp", - "cocos/platform/win32/Device-win32.cpp", - "cocos/platform/win32/FileUtils-win32.cpp", - "cocos/platform/win32/FileUtils-win32.h", - "cocos/platform/win32/Utils-win32.cpp", - "cocos/platform/win32/Utils-win32.h", - "cocos/platform/win32/View-win32.cpp", - "cocos/platform/win32/View-win32.h", - "cocos/platform/win32/compat/stdint.h", - "cocos/platform/win32/inet_pton_mingw.cpp", - "cocos/platform/win32/inet_pton_mingw.h", - "cocos/renderer/GFXDeviceCreator.h", - "cocos/renderer/frame-graph/Blackboard.h", - "cocos/renderer/frame-graph/CallbackPass.h", - "cocos/renderer/frame-graph/DevicePass.cpp", - "cocos/renderer/frame-graph/DevicePass.h", - "cocos/renderer/frame-graph/DevicePassResourceTable.cpp", - "cocos/renderer/frame-graph/DevicePassResourceTable.h", - "cocos/renderer/frame-graph/FrameGraph.cpp", - "cocos/renderer/frame-graph/FrameGraph.h", - "cocos/renderer/frame-graph/Handle.h", - "cocos/renderer/frame-graph/PassInsertPointManager.cpp", - "cocos/renderer/frame-graph/PassInsertPointManager.h", - "cocos/renderer/frame-graph/PassNode.cpp", - "cocos/renderer/frame-graph/PassNode.h", - "cocos/renderer/frame-graph/PassNodeBuilder.cpp", - "cocos/renderer/frame-graph/PassNodeBuilder.h", - "cocos/renderer/frame-graph/RenderTargetAttachment.h", - "cocos/renderer/frame-graph/Resource.h", - "cocos/renderer/frame-graph/ResourceAllocator.h", - "cocos/renderer/frame-graph/ResourceEntry.h", - "cocos/renderer/frame-graph/ResourceNode.h", - "cocos/renderer/frame-graph/VirtualResource.cpp", - "cocos/renderer/frame-graph/VirtualResource.h", - "cocos/renderer/gfx-agent/BufferAgent.cpp", - "cocos/renderer/gfx-agent/BufferAgent.h", - "cocos/renderer/gfx-agent/CommandBufferAgent.cpp", - "cocos/renderer/gfx-agent/CommandBufferAgent.h", - "cocos/renderer/gfx-agent/DescriptorSetAgent.cpp", - "cocos/renderer/gfx-agent/DescriptorSetAgent.h", - "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp", - "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h", - "cocos/renderer/gfx-agent/DeviceAgent.cpp", - "cocos/renderer/gfx-agent/DeviceAgent.h", - "cocos/renderer/gfx-agent/FramebufferAgent.cpp", - "cocos/renderer/gfx-agent/FramebufferAgent.h", - "cocos/renderer/gfx-agent/InputAssemblerAgent.cpp", - "cocos/renderer/gfx-agent/InputAssemblerAgent.h", - "cocos/renderer/gfx-agent/LinearAllocatorPool.h", - "cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp", - "cocos/renderer/gfx-agent/PipelineLayoutAgent.h", - "cocos/renderer/gfx-agent/PipelineStateAgent.cpp", - "cocos/renderer/gfx-agent/PipelineStateAgent.h", - "cocos/renderer/gfx-agent/QueueAgent.cpp", - "cocos/renderer/gfx-agent/QueueAgent.h", - "cocos/renderer/gfx-agent/RenderPassAgent.cpp", - "cocos/renderer/gfx-agent/RenderPassAgent.h", - "cocos/renderer/gfx-agent/SamplerAgent.cpp", - "cocos/renderer/gfx-agent/SamplerAgent.h", - "cocos/renderer/gfx-agent/ShaderAgent.cpp", - "cocos/renderer/gfx-agent/ShaderAgent.h", - "cocos/renderer/gfx-agent/TextureAgent.cpp", - "cocos/renderer/gfx-agent/TextureAgent.h", - "cocos/renderer/gfx-base/GFXBase.h", - "cocos/renderer/gfx-base/GFXBuffer.cpp", - "cocos/renderer/gfx-base/GFXBuffer.h", - "cocos/renderer/gfx-base/GFXCommandBuffer.cpp", - "cocos/renderer/gfx-base/GFXCommandBuffer.h", - "cocos/renderer/gfx-base/GFXContext.cpp", - "cocos/renderer/gfx-base/GFXContext.h", - "cocos/renderer/gfx-base/GFXDef-common.h", - "cocos/renderer/gfx-base/GFXDef.cpp", - "cocos/renderer/gfx-base/GFXDef.h", - "cocos/renderer/gfx-base/GFXDescriptorSet.cpp", - "cocos/renderer/gfx-base/GFXDescriptorSet.h", - "cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp", - "cocos/renderer/gfx-base/GFXDescriptorSetLayout.h", - "cocos/renderer/gfx-base/GFXDevice.cpp", - "cocos/renderer/gfx-base/GFXDevice.h", - "cocos/renderer/gfx-base/GFXFramebuffer.cpp", - "cocos/renderer/gfx-base/GFXFramebuffer.h", - "cocos/renderer/gfx-base/GFXGlobalBarrier.cpp", - "cocos/renderer/gfx-base/GFXGlobalBarrier.h", - "cocos/renderer/gfx-base/GFXInputAssembler.cpp", - "cocos/renderer/gfx-base/GFXInputAssembler.h", - "cocos/renderer/gfx-base/GFXObject.cpp", - "cocos/renderer/gfx-base/GFXObject.h", - "cocos/renderer/gfx-base/GFXPipelineLayout.cpp", - "cocos/renderer/gfx-base/GFXPipelineLayout.h", - "cocos/renderer/gfx-base/GFXPipelineState.cpp", - "cocos/renderer/gfx-base/GFXPipelineState.h", - "cocos/renderer/gfx-base/GFXQueue.cpp", - "cocos/renderer/gfx-base/GFXQueue.h", - "cocos/renderer/gfx-base/GFXRenderPass.cpp", - "cocos/renderer/gfx-base/GFXRenderPass.h", - "cocos/renderer/gfx-base/GFXSampler.cpp", - "cocos/renderer/gfx-base/GFXSampler.h", - "cocos/renderer/gfx-base/GFXShader.cpp", - "cocos/renderer/gfx-base/GFXShader.h", - "cocos/renderer/gfx-base/GFXTexture.cpp", - "cocos/renderer/gfx-base/GFXTexture.h", - "cocos/renderer/gfx-base/GFXTextureBarrier.cpp", - "cocos/renderer/gfx-base/GFXTextureBarrier.h", - "cocos/renderer/gfx-empty/EmptyBuffer.cpp", - "cocos/renderer/gfx-empty/EmptyBuffer.h", - "cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp", - "cocos/renderer/gfx-empty/EmptyCommandBuffer.h", - "cocos/renderer/gfx-empty/EmptyContext.cpp", - "cocos/renderer/gfx-empty/EmptyContext.h", - "cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp", - "cocos/renderer/gfx-empty/EmptyDescriptorSet.h", - "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp", - "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h", - "cocos/renderer/gfx-empty/EmptyDevice.cpp", - "cocos/renderer/gfx-empty/EmptyDevice.h", - "cocos/renderer/gfx-empty/EmptyFramebuffer.cpp", - "cocos/renderer/gfx-empty/EmptyFramebuffer.h", - "cocos/renderer/gfx-empty/EmptyInputAssembler.cpp", - "cocos/renderer/gfx-empty/EmptyInputAssembler.h", - "cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp", - "cocos/renderer/gfx-empty/EmptyPipelineLayout.h", - "cocos/renderer/gfx-empty/EmptyPipelineState.cpp", - "cocos/renderer/gfx-empty/EmptyPipelineState.h", - "cocos/renderer/gfx-empty/EmptyQueue.cpp", - "cocos/renderer/gfx-empty/EmptyQueue.h", - "cocos/renderer/gfx-empty/EmptyRenderPass.cpp", - "cocos/renderer/gfx-empty/EmptyRenderPass.h", - "cocos/renderer/gfx-empty/EmptySampler.cpp", - "cocos/renderer/gfx-empty/EmptySampler.h", - "cocos/renderer/gfx-empty/EmptyShader.cpp", - "cocos/renderer/gfx-empty/EmptyShader.h", - "cocos/renderer/gfx-empty/EmptyTexture.cpp", - "cocos/renderer/gfx-empty/EmptyTexture.h", - "cocos/renderer/gfx-gles-common/GLESCommandPool.h", - "cocos/renderer/gfx-gles-common/eglw.cpp", - "cocos/renderer/gfx-gles-common/eglw.h", - "cocos/renderer/gfx-gles-common/gles2w.cpp", - "cocos/renderer/gfx-gles-common/gles2w.h", - "cocos/renderer/gfx-gles-common/gles3w.cpp", - "cocos/renderer/gfx-gles-common/gles3w.h", - "cocos/renderer/gfx-gles2/GFXGLES2.h", - "cocos/renderer/gfx-gles2/GLES2Buffer.cpp", - "cocos/renderer/gfx-gles2/GLES2Buffer.h", - "cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp", - "cocos/renderer/gfx-gles2/GLES2CommandBuffer.h", - "cocos/renderer/gfx-gles2/GLES2Commands.cpp", - "cocos/renderer/gfx-gles2/GLES2Commands.h", - "cocos/renderer/gfx-gles2/GLES2Context.cpp", - "cocos/renderer/gfx-gles2/GLES2Context.h", - "cocos/renderer/gfx-gles2/GLES2Context.mm", - "cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp", - "cocos/renderer/gfx-gles2/GLES2DescriptorSet.h", - "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp", - "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h", - "cocos/renderer/gfx-gles2/GLES2Device.cpp", - "cocos/renderer/gfx-gles2/GLES2Device.h", - "cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp", - "cocos/renderer/gfx-gles2/GLES2Framebuffer.h", - "cocos/renderer/gfx-gles2/GLES2GPUObjects.h", - "cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp", - "cocos/renderer/gfx-gles2/GLES2InputAssembler.h", - "cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp", - "cocos/renderer/gfx-gles2/GLES2PipelineLayout.h", - "cocos/renderer/gfx-gles2/GLES2PipelineState.cpp", - "cocos/renderer/gfx-gles2/GLES2PipelineState.h", - "cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp", - "cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h", - "cocos/renderer/gfx-gles2/GLES2Queue.cpp", - "cocos/renderer/gfx-gles2/GLES2Queue.h", - "cocos/renderer/gfx-gles2/GLES2RenderPass.cpp", - "cocos/renderer/gfx-gles2/GLES2RenderPass.h", - "cocos/renderer/gfx-gles2/GLES2Sampler.cpp", - "cocos/renderer/gfx-gles2/GLES2Sampler.h", - "cocos/renderer/gfx-gles2/GLES2Shader.cpp", - "cocos/renderer/gfx-gles2/GLES2Shader.h", - "cocos/renderer/gfx-gles2/GLES2Std.cpp", - "cocos/renderer/gfx-gles2/GLES2Std.h", - "cocos/renderer/gfx-gles2/GLES2Texture.cpp", - "cocos/renderer/gfx-gles2/GLES2Texture.h", - "cocos/renderer/gfx-gles2/GLES2Wrangler.cpp", - "cocos/renderer/gfx-gles2/GLES2Wrangler.h", - "cocos/renderer/gfx-gles2/GLES2Wrangler.mm", - "cocos/renderer/gfx-gles3/GFXGLES3.h", - "cocos/renderer/gfx-gles3/GLES3Buffer.cpp", - "cocos/renderer/gfx-gles3/GLES3Buffer.h", - "cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp", - "cocos/renderer/gfx-gles3/GLES3CommandBuffer.h", - "cocos/renderer/gfx-gles3/GLES3Commands.cpp", - "cocos/renderer/gfx-gles3/GLES3Commands.h", - "cocos/renderer/gfx-gles3/GLES3Context.cpp", - "cocos/renderer/gfx-gles3/GLES3Context.h", - "cocos/renderer/gfx-gles3/GLES3Context.mm", - "cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp", - "cocos/renderer/gfx-gles3/GLES3DescriptorSet.h", - "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp", - "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h", - "cocos/renderer/gfx-gles3/GLES3Device.cpp", - "cocos/renderer/gfx-gles3/GLES3Device.h", - "cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp", - "cocos/renderer/gfx-gles3/GLES3Framebuffer.h", - "cocos/renderer/gfx-gles3/GLES3GPUObjects.h", - "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp", - "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h", - "cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp", - "cocos/renderer/gfx-gles3/GLES3InputAssembler.h", - "cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp", - "cocos/renderer/gfx-gles3/GLES3PipelineLayout.h", - "cocos/renderer/gfx-gles3/GLES3PipelineState.cpp", - "cocos/renderer/gfx-gles3/GLES3PipelineState.h", - "cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp", - "cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h", - "cocos/renderer/gfx-gles3/GLES3Queue.cpp", - "cocos/renderer/gfx-gles3/GLES3Queue.h", - "cocos/renderer/gfx-gles3/GLES3RenderPass.cpp", - "cocos/renderer/gfx-gles3/GLES3RenderPass.h", - "cocos/renderer/gfx-gles3/GLES3Sampler.cpp", - "cocos/renderer/gfx-gles3/GLES3Sampler.h", - "cocos/renderer/gfx-gles3/GLES3Shader.cpp", - "cocos/renderer/gfx-gles3/GLES3Shader.h", - "cocos/renderer/gfx-gles3/GLES3Std.cpp", - "cocos/renderer/gfx-gles3/GLES3Std.h", - "cocos/renderer/gfx-gles3/GLES3Texture.cpp", - "cocos/renderer/gfx-gles3/GLES3Texture.h", - "cocos/renderer/gfx-gles3/GLES3Wrangler.cpp", - "cocos/renderer/gfx-gles3/GLES3Wrangler.h", - "cocos/renderer/gfx-gles3/GLES3Wrangler.mm", - "cocos/renderer/gfx-metal/GFXMTL.h", - "cocos/renderer/gfx-metal/MTLBuffer.h", - "cocos/renderer/gfx-metal/MTLBuffer.mm", - "cocos/renderer/gfx-metal/MTLCommandBuffer.h", - "cocos/renderer/gfx-metal/MTLCommandBuffer.mm", - "cocos/renderer/gfx-metal/MTLConfig.h", - "cocos/renderer/gfx-metal/MTLContext.h", - "cocos/renderer/gfx-metal/MTLContext.mm", - "cocos/renderer/gfx-metal/MTLDescriptorSet.h", - "cocos/renderer/gfx-metal/MTLDescriptorSet.mm", - "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h", - "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm", - "cocos/renderer/gfx-metal/MTLDevice.h", - "cocos/renderer/gfx-metal/MTLDevice.mm", - "cocos/renderer/gfx-metal/MTLFramebuffer.h", - "cocos/renderer/gfx-metal/MTLFramebuffer.mm", - "cocos/renderer/gfx-metal/MTLGPUObjects.h", - "cocos/renderer/gfx-metal/MTLInputAssembler.h", - "cocos/renderer/gfx-metal/MTLInputAssembler.mm", - "cocos/renderer/gfx-metal/MTLPipelineLayout.h", - "cocos/renderer/gfx-metal/MTLPipelineLayout.mm", - "cocos/renderer/gfx-metal/MTLPipelineState.h", - "cocos/renderer/gfx-metal/MTLPipelineState.mm", - "cocos/renderer/gfx-metal/MTLQueue.h", - "cocos/renderer/gfx-metal/MTLQueue.mm", - "cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h", - "cocos/renderer/gfx-metal/MTLRenderPass.h", - "cocos/renderer/gfx-metal/MTLRenderPass.mm", - "cocos/renderer/gfx-metal/MTLSampler.h", - "cocos/renderer/gfx-metal/MTLSampler.mm", - "cocos/renderer/gfx-metal/MTLSemaphore.h", - "cocos/renderer/gfx-metal/MTLShader.h", - "cocos/renderer/gfx-metal/MTLShader.mm", - "cocos/renderer/gfx-metal/MTLStd.cpp", - "cocos/renderer/gfx-metal/MTLStd.h", - "cocos/renderer/gfx-metal/MTLTexture.h", - "cocos/renderer/gfx-metal/MTLTexture.mm", - "cocos/renderer/gfx-metal/MTLUtils.h", - "cocos/renderer/gfx-metal/MTLUtils.mm", - "cocos/renderer/gfx-vulkan/GFXVulkan.h", - "cocos/renderer/gfx-vulkan/VKBuffer.cpp", - "cocos/renderer/gfx-vulkan/VKBuffer.h", - "cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp", - "cocos/renderer/gfx-vulkan/VKCommandBuffer.h", - "cocos/renderer/gfx-vulkan/VKCommands.cpp", - "cocos/renderer/gfx-vulkan/VKCommands.h", - "cocos/renderer/gfx-vulkan/VKContext.cpp", - "cocos/renderer/gfx-vulkan/VKContext.h", - "cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp", - "cocos/renderer/gfx-vulkan/VKDescriptorSet.h", - "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp", - "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h", - "cocos/renderer/gfx-vulkan/VKDevice.cpp", - "cocos/renderer/gfx-vulkan/VKDevice.h", - "cocos/renderer/gfx-vulkan/VKFramebuffer.cpp", - "cocos/renderer/gfx-vulkan/VKFramebuffer.h", - "cocos/renderer/gfx-vulkan/VKGPUObjects.h", - "cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp", - "cocos/renderer/gfx-vulkan/VKGlobalBarrier.h", - "cocos/renderer/gfx-vulkan/VKInputAssembler.cpp", - "cocos/renderer/gfx-vulkan/VKInputAssembler.h", - "cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp", - "cocos/renderer/gfx-vulkan/VKPipelineLayout.h", - "cocos/renderer/gfx-vulkan/VKPipelineState.cpp", - "cocos/renderer/gfx-vulkan/VKPipelineState.h", - "cocos/renderer/gfx-vulkan/VKQueue.cpp", - "cocos/renderer/gfx-vulkan/VKQueue.h", - "cocos/renderer/gfx-vulkan/VKRenderPass.cpp", - "cocos/renderer/gfx-vulkan/VKRenderPass.h", - "cocos/renderer/gfx-vulkan/VKSPIRV.h", - "cocos/renderer/gfx-vulkan/VKSampler.cpp", - "cocos/renderer/gfx-vulkan/VKSampler.h", - "cocos/renderer/gfx-vulkan/VKShader.cpp", - "cocos/renderer/gfx-vulkan/VKShader.h", - "cocos/renderer/gfx-vulkan/VKStd.cpp", - "cocos/renderer/gfx-vulkan/VKStd.h", - "cocos/renderer/gfx-vulkan/VKTexture.cpp", - "cocos/renderer/gfx-vulkan/VKTexture.h", - "cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp", - "cocos/renderer/gfx-vulkan/VKTextureBarrier.h", - "cocos/renderer/gfx-vulkan/VKUtils.h", - "cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h", - "cocos/renderer/gfx-vulkan/vk_mem_alloc.h", - "cocos/renderer/gfx-vulkan/volk.c", - "cocos/renderer/gfx-vulkan/volk.h", - "cocos/renderer/pipeline/BatchedBuffer.cpp", - "cocos/renderer/pipeline/BatchedBuffer.h", - "cocos/renderer/pipeline/Define.cpp", - "cocos/renderer/pipeline/Define.h", - "cocos/renderer/pipeline/InstancedBuffer.cpp", - "cocos/renderer/pipeline/InstancedBuffer.h", - "cocos/renderer/pipeline/PipelineSceneData.cpp", - "cocos/renderer/pipeline/PipelineSceneData.h", - "cocos/renderer/pipeline/PipelineStateManager.cpp", - "cocos/renderer/pipeline/PipelineStateManager.h", - "cocos/renderer/pipeline/PipelineUBO.cpp", - "cocos/renderer/pipeline/PipelineUBO.h", - "cocos/renderer/pipeline/PlanarShadowQueue.cpp", - "cocos/renderer/pipeline/PlanarShadowQueue.h", - "cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp", - "cocos/renderer/pipeline/RenderAdditiveLightQueue.h", - "cocos/renderer/pipeline/RenderBatchedQueue.cpp", - "cocos/renderer/pipeline/RenderBatchedQueue.h", - "cocos/renderer/pipeline/RenderFlow.cpp", - "cocos/renderer/pipeline/RenderFlow.h", - "cocos/renderer/pipeline/RenderInstancedQueue.cpp", - "cocos/renderer/pipeline/RenderInstancedQueue.h", - "cocos/renderer/pipeline/RenderPipeline.cpp", - "cocos/renderer/pipeline/RenderPipeline.h", - "cocos/renderer/pipeline/RenderQueue.cpp", - "cocos/renderer/pipeline/RenderQueue.h", - "cocos/renderer/pipeline/RenderStage.cpp", - "cocos/renderer/pipeline/RenderStage.h", - "cocos/renderer/pipeline/SceneCulling.cpp", - "cocos/renderer/pipeline/SceneCulling.h", - "cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp", - "cocos/renderer/pipeline/ShadowMapBatchedQueue.h", - "cocos/renderer/pipeline/deferred/DeferredPipeline.cpp", - "cocos/renderer/pipeline/deferred/DeferredPipeline.h", - "cocos/renderer/pipeline/deferred/GbufferFlow.cpp", - "cocos/renderer/pipeline/deferred/GbufferFlow.h", - "cocos/renderer/pipeline/deferred/GbufferStage.cpp", - "cocos/renderer/pipeline/deferred/GbufferStage.h", - "cocos/renderer/pipeline/deferred/LightingFlow.cpp", - "cocos/renderer/pipeline/deferred/LightingFlow.h", - "cocos/renderer/pipeline/deferred/LightingStage.cpp", - "cocos/renderer/pipeline/deferred/LightingStage.h", - "cocos/renderer/pipeline/deferred/PostprocessStage.cpp", - "cocos/renderer/pipeline/deferred/PostprocessStage.h", - "cocos/renderer/pipeline/forward/ForwardFlow.cpp", - "cocos/renderer/pipeline/forward/ForwardFlow.h", - "cocos/renderer/pipeline/forward/ForwardPipeline.cpp", - "cocos/renderer/pipeline/forward/ForwardPipeline.h", - "cocos/renderer/pipeline/forward/ForwardStage.cpp", - "cocos/renderer/pipeline/forward/ForwardStage.h", - "cocos/renderer/pipeline/forward/UIPhase.cpp", - "cocos/renderer/pipeline/forward/UIPhase.h", - "cocos/renderer/pipeline/helper/DefineMap.cpp", - "cocos/renderer/pipeline/helper/DefineMap.h", - "cocos/renderer/pipeline/helper/SharedMemory.cpp", - "cocos/renderer/pipeline/helper/SharedMemory.h", - "cocos/renderer/pipeline/shadow/ShadowFlow.cpp", - "cocos/renderer/pipeline/shadow/ShadowFlow.h", - "cocos/renderer/pipeline/shadow/ShadowStage.cpp", - "cocos/renderer/pipeline/shadow/ShadowStage.h", - "cocos/storage/local-storage/LocalStorage-android.cpp", - "cocos/storage/local-storage/LocalStorage.cpp", - "cocos/storage/local-storage/LocalStorage.h", - "cocos/ui/edit-box/EditBox-android.cpp", - "cocos/ui/edit-box/EditBox-ios.mm", - "cocos/ui/edit-box/EditBox-mac.mm", - "cocos/ui/edit-box/EditBox-win32.cpp", - "cocos/ui/edit-box/EditBox.h", - "cocos/ui/videoplayer/VideoPlayer-android.cpp", - "cocos/ui/videoplayer/VideoPlayer-ios.mm", - "cocos/ui/videoplayer/VideoPlayer.h", - "cocos/ui/webview/WebView-inl.h", - "cocos/ui/webview/WebView.h", - "cocos/ui/webview/WebViewImpl-android.cpp", - "cocos/ui/webview/WebViewImpl-android.h", - "cocos/ui/webview/WebViewImpl-ios.h", - "cocos/ui/webview/WebViewImpl-ios.mm", - "extensions/ExtensionExport.h", - "extensions/ExtensionMacros.h", - "extensions/assets-manager/AssetsManagerEx.cpp", - "extensions/assets-manager/AssetsManagerEx.h", - "extensions/assets-manager/AsyncTaskPool.cpp", - "extensions/assets-manager/AsyncTaskPool.h", - "extensions/assets-manager/EventAssetsManagerEx.cpp", - "extensions/assets-manager/EventAssetsManagerEx.h", - "extensions/assets-manager/Manifest.cpp", - "extensions/assets-manager/Manifest.h", - "extensions/cocos-ext.h", - "external/CMakeLists.txt", - "external/android/CMakeLists.txt", - "external/android/arm64-v8a/glslang/libOGLCompiler.a", - "external/android/arm64-v8a/glslang/libOSDependent.a", - "external/android/arm64-v8a/glslang/libSPIRV.a", - "external/android/arm64-v8a/glslang/libglslang-default-resource-limits.a", - "external/android/arm64-v8a/glslang/libglslang.a", - "external/android/arm64-v8a/include/StandAlone/ResourceLimits.h", - "external/android/arm64-v8a/include/StandAlone/resource_limits_c.h", - "external/android/arm64-v8a/include/freetype/config/ftconfig.h", - "external/android/arm64-v8a/include/freetype/config/ftheader.h", - "external/android/arm64-v8a/include/freetype/config/ftmodule.h", - "external/android/arm64-v8a/include/freetype/config/ftoption.h", - "external/android/arm64-v8a/include/freetype/config/ftstdlib.h", - "external/android/arm64-v8a/include/freetype/freetype.h", - "external/android/arm64-v8a/include/freetype/ft2build.h", - "external/android/arm64-v8a/include/freetype/ftadvanc.h", - "external/android/arm64-v8a/include/freetype/ftautoh.h", - "external/android/arm64-v8a/include/freetype/ftbbox.h", - "external/android/arm64-v8a/include/freetype/ftbdf.h", - "external/android/arm64-v8a/include/freetype/ftbitmap.h", - "external/android/arm64-v8a/include/freetype/ftbzip2.h", - "external/android/arm64-v8a/include/freetype/ftcache.h", - "external/android/arm64-v8a/include/freetype/ftcffdrv.h", - "external/android/arm64-v8a/include/freetype/ftchapters.h", - "external/android/arm64-v8a/include/freetype/ftcid.h", - "external/android/arm64-v8a/include/freetype/fterrdef.h", - "external/android/arm64-v8a/include/freetype/fterrors.h", - "external/android/arm64-v8a/include/freetype/ftfntfmt.h", - "external/android/arm64-v8a/include/freetype/ftgasp.h", - "external/android/arm64-v8a/include/freetype/ftglyph.h", - "external/android/arm64-v8a/include/freetype/ftgxval.h", - "external/android/arm64-v8a/include/freetype/ftgzip.h", - "external/android/arm64-v8a/include/freetype/ftimage.h", - "external/android/arm64-v8a/include/freetype/ftincrem.h", - "external/android/arm64-v8a/include/freetype/ftlcdfil.h", - "external/android/arm64-v8a/include/freetype/ftlist.h", - "external/android/arm64-v8a/include/freetype/ftlzw.h", - "external/android/arm64-v8a/include/freetype/ftmac.h", - "external/android/arm64-v8a/include/freetype/ftmm.h", - "external/android/arm64-v8a/include/freetype/ftmodapi.h", - "external/android/arm64-v8a/include/freetype/ftmoderr.h", - "external/android/arm64-v8a/include/freetype/ftotval.h", - "external/android/arm64-v8a/include/freetype/ftoutln.h", - "external/android/arm64-v8a/include/freetype/ftpfr.h", - "external/android/arm64-v8a/include/freetype/ftrender.h", - "external/android/arm64-v8a/include/freetype/ftsizes.h", - "external/android/arm64-v8a/include/freetype/ftsnames.h", - "external/android/arm64-v8a/include/freetype/ftstroke.h", - "external/android/arm64-v8a/include/freetype/ftsynth.h", - "external/android/arm64-v8a/include/freetype/ftsystem.h", - "external/android/arm64-v8a/include/freetype/fttrigon.h", - "external/android/arm64-v8a/include/freetype/ftttdrv.h", - "external/android/arm64-v8a/include/freetype/fttypes.h", - "external/android/arm64-v8a/include/freetype/ftwinfnt.h", - "external/android/arm64-v8a/include/freetype/t1tables.h", - "external/android/arm64-v8a/include/freetype/ttnameid.h", - "external/android/arm64-v8a/include/freetype/tttables.h", - "external/android/arm64-v8a/include/freetype/tttags.h", - "external/android/arm64-v8a/include/freetype/ttunpat.h", - "external/android/arm64-v8a/include/glslang/Include/BaseTypes.h", - "external/android/arm64-v8a/include/glslang/Include/Common.h", - "external/android/arm64-v8a/include/glslang/Include/ConstantUnion.h", - "external/android/arm64-v8a/include/glslang/Include/InfoSink.h", - "external/android/arm64-v8a/include/glslang/Include/InitializeGlobals.h", - "external/android/arm64-v8a/include/glslang/Include/PoolAlloc.h", - "external/android/arm64-v8a/include/glslang/Include/ResourceLimits.h", - "external/android/arm64-v8a/include/glslang/Include/ShHandle.h", - "external/android/arm64-v8a/include/glslang/Include/Types.h", - "external/android/arm64-v8a/include/glslang/Include/arrays.h", - "external/android/arm64-v8a/include/glslang/Include/glslang_c_interface.h", - "external/android/arm64-v8a/include/glslang/Include/glslang_c_shader_types.h", - "external/android/arm64-v8a/include/glslang/Include/intermediate.h", - "external/android/arm64-v8a/include/glslang/Include/revision.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/Initialize.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/LiveTraverser.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/ParseHelper.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/RemoveTree.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/Scan.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/ScanContext.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/SymbolTable.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/Versions.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/attribute.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/gl_types.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/iomapper.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/localintermediate.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/parseVersions.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/reflection.h", - "external/android/arm64-v8a/include/glslang/Public/ShaderLang.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.std.450.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GlslangToSpv.h", - "external/android/arm64-v8a/include/glslang/SPIRV/Logger.h", - "external/android/arm64-v8a/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/android/arm64-v8a/include/glslang/SPIRV/SPVRemapper.h", - "external/android/arm64-v8a/include/glslang/SPIRV/SpvBuilder.h", - "external/android/arm64-v8a/include/glslang/SPIRV/SpvTools.h", - "external/android/arm64-v8a/include/glslang/SPIRV/bitutils.h", - "external/android/arm64-v8a/include/glslang/SPIRV/disassemble.h", - "external/android/arm64-v8a/include/glslang/SPIRV/doc.h", - "external/android/arm64-v8a/include/glslang/SPIRV/hex_float.h", - "external/android/arm64-v8a/include/glslang/SPIRV/spirv.hpp", - "external/android/arm64-v8a/include/glslang/SPIRV/spvIR.h", - "external/android/arm64-v8a/include/jpeg/jconfig.h", - "external/android/arm64-v8a/include/jpeg/jerror.h", - "external/android/arm64-v8a/include/jpeg/jmorecfg.h", - "external/android/arm64-v8a/include/jpeg/jpeglib.h", - "external/android/arm64-v8a/include/openssl/aes.h", - "external/android/arm64-v8a/include/openssl/asn1.h", - "external/android/arm64-v8a/include/openssl/asn1_mac.h", - "external/android/arm64-v8a/include/openssl/asn1t.h", - "external/android/arm64-v8a/include/openssl/async.h", - "external/android/arm64-v8a/include/openssl/bio.h", - "external/android/arm64-v8a/include/openssl/blowfish.h", - "external/android/arm64-v8a/include/openssl/bn.h", - "external/android/arm64-v8a/include/openssl/buffer.h", - "external/android/arm64-v8a/include/openssl/camellia.h", - "external/android/arm64-v8a/include/openssl/cast.h", - "external/android/arm64-v8a/include/openssl/cmac.h", - "external/android/arm64-v8a/include/openssl/cms.h", - "external/android/arm64-v8a/include/openssl/comp.h", - "external/android/arm64-v8a/include/openssl/conf.h", - "external/android/arm64-v8a/include/openssl/conf_api.h", - "external/android/arm64-v8a/include/openssl/crypto.h", - "external/android/arm64-v8a/include/openssl/ct.h", - "external/android/arm64-v8a/include/openssl/des.h", - "external/android/arm64-v8a/include/openssl/dh.h", - "external/android/arm64-v8a/include/openssl/dsa.h", - "external/android/arm64-v8a/include/openssl/dtls1.h", - "external/android/arm64-v8a/include/openssl/e_os2.h", - "external/android/arm64-v8a/include/openssl/ebcdic.h", - "external/android/arm64-v8a/include/openssl/ec.h", - "external/android/arm64-v8a/include/openssl/ecdh.h", - "external/android/arm64-v8a/include/openssl/ecdsa.h", - "external/android/arm64-v8a/include/openssl/engine.h", - "external/android/arm64-v8a/include/openssl/err.h", - "external/android/arm64-v8a/include/openssl/evp.h", - "external/android/arm64-v8a/include/openssl/hmac.h", - "external/android/arm64-v8a/include/openssl/idea.h", - "external/android/arm64-v8a/include/openssl/kdf.h", - "external/android/arm64-v8a/include/openssl/lhash.h", - "external/android/arm64-v8a/include/openssl/md2.h", - "external/android/arm64-v8a/include/openssl/md4.h", - "external/android/arm64-v8a/include/openssl/md5.h", - "external/android/arm64-v8a/include/openssl/mdc2.h", - "external/android/arm64-v8a/include/openssl/modes.h", - "external/android/arm64-v8a/include/openssl/obj_mac.h", - "external/android/arm64-v8a/include/openssl/objects.h", - "external/android/arm64-v8a/include/openssl/ocsp.h", - "external/android/arm64-v8a/include/openssl/opensslconf-arm32.h", - "external/android/arm64-v8a/include/openssl/opensslconf-arm64.h", - "external/android/arm64-v8a/include/openssl/opensslconf-x86.h", - "external/android/arm64-v8a/include/openssl/opensslconf.h", - "external/android/arm64-v8a/include/openssl/opensslv.h", - "external/android/arm64-v8a/include/openssl/ossl_typ.h", - "external/android/arm64-v8a/include/openssl/pem.h", - "external/android/arm64-v8a/include/openssl/pem2.h", - "external/android/arm64-v8a/include/openssl/pkcs12.h", - "external/android/arm64-v8a/include/openssl/pkcs7.h", - "external/android/arm64-v8a/include/openssl/rand.h", - "external/android/arm64-v8a/include/openssl/rc2.h", - "external/android/arm64-v8a/include/openssl/rc4.h", - "external/android/arm64-v8a/include/openssl/rc5.h", - "external/android/arm64-v8a/include/openssl/ripemd.h", - "external/android/arm64-v8a/include/openssl/rsa.h", - "external/android/arm64-v8a/include/openssl/safestack.h", - "external/android/arm64-v8a/include/openssl/seed.h", - "external/android/arm64-v8a/include/openssl/sha.h", - "external/android/arm64-v8a/include/openssl/srp.h", - "external/android/arm64-v8a/include/openssl/srtp.h", - "external/android/arm64-v8a/include/openssl/ssl.h", - "external/android/arm64-v8a/include/openssl/ssl2.h", - "external/android/arm64-v8a/include/openssl/ssl3.h", - "external/android/arm64-v8a/include/openssl/stack.h", - "external/android/arm64-v8a/include/openssl/symhacks.h", - "external/android/arm64-v8a/include/openssl/tls1.h", - "external/android/arm64-v8a/include/openssl/ts.h", - "external/android/arm64-v8a/include/openssl/txt_db.h", - "external/android/arm64-v8a/include/openssl/ui.h", - "external/android/arm64-v8a/include/openssl/whrlpool.h", - "external/android/arm64-v8a/include/openssl/x509.h", - "external/android/arm64-v8a/include/openssl/x509_vfy.h", - "external/android/arm64-v8a/include/openssl/x509v3.h", - "external/android/arm64-v8a/include/png/png.h", - "external/android/arm64-v8a/include/png/pngconf.h", - "external/android/arm64-v8a/include/png/pnglibconf.h", - "external/android/arm64-v8a/include/uv/pthread-barrier.h", - "external/android/arm64-v8a/include/uv/stdint-msvc2008.h", - "external/android/arm64-v8a/include/uv/tree.h", - "external/android/arm64-v8a/include/uv/uv-aix.h", - "external/android/arm64-v8a/include/uv/uv-bsd.h", - "external/android/arm64-v8a/include/uv/uv-darwin.h", - "external/android/arm64-v8a/include/uv/uv-errno.h", - "external/android/arm64-v8a/include/uv/uv-linux.h", - "external/android/arm64-v8a/include/uv/uv-os390.h", - "external/android/arm64-v8a/include/uv/uv-posix.h", - "external/android/arm64-v8a/include/uv/uv-sunos.h", - "external/android/arm64-v8a/include/uv/uv-threadpool.h", - "external/android/arm64-v8a/include/uv/uv-unix.h", - "external/android/arm64-v8a/include/uv/uv-version.h", - "external/android/arm64-v8a/include/uv/uv-win.h", - "external/android/arm64-v8a/include/uv/uv.h", - "external/android/arm64-v8a/include/v8/APIDesign.md", - "external/android/arm64-v8a/include/v8/DEPS", - "external/android/arm64-v8a/include/v8/OWNERS", - "external/android/arm64-v8a/include/v8/libplatform/DEPS", - "external/android/arm64-v8a/include/v8/libplatform/libplatform-export.h", - "external/android/arm64-v8a/include/v8/libplatform/libplatform.h", - "external/android/arm64-v8a/include/v8/libplatform/v8-tracing.h", - "external/android/arm64-v8a/include/v8/v8-inspector-protocol.h", - "external/android/arm64-v8a/include/v8/v8-inspector.h", - "external/android/arm64-v8a/include/v8/v8-internal.h", - "external/android/arm64-v8a/include/v8/v8-platform.h", - "external/android/arm64-v8a/include/v8/v8-profiler.h", - "external/android/arm64-v8a/include/v8/v8-testing.h", - "external/android/arm64-v8a/include/v8/v8-util.h", - "external/android/arm64-v8a/include/v8/v8-value-serializer-version.h", - "external/android/arm64-v8a/include/v8/v8-version-string.h", - "external/android/arm64-v8a/include/v8/v8-version.h", - "external/android/arm64-v8a/include/v8/v8-wasm-trap-handler-posix.h", - "external/android/arm64-v8a/include/v8/v8-wasm-trap-handler-win.h", - "external/android/arm64-v8a/include/v8/v8.h", - "external/android/arm64-v8a/include/v8/v8config.h", - "external/android/arm64-v8a/include/webp/decode.h", - "external/android/arm64-v8a/include/webp/encode.h", - "external/android/arm64-v8a/include/webp/types.h", - "external/android/arm64-v8a/include/websockets/libwebsockets.h", - "external/android/arm64-v8a/include/websockets/lws_config.h", - "external/android/arm64-v8a/include/zlib/zconf.h", - "external/android/arm64-v8a/include/zlib/zlib.h", - "external/android/arm64-v8a/libcrypto.a", - "external/android/arm64-v8a/libfreetype.a", - "external/android/arm64-v8a/libjpeg.a", - "external/android/arm64-v8a/libpng.a", - "external/android/arm64-v8a/libssl.a", - "external/android/arm64-v8a/libtbb_static.a", - "external/android/arm64-v8a/libtbbmalloc_proxy_static.a", - "external/android/arm64-v8a/libtbbmalloc_static.a", - "external/android/arm64-v8a/libuv.a", - "external/android/arm64-v8a/libwebp.a", - "external/android/arm64-v8a/libwebsockets.a", - "external/android/arm64-v8a/libz.a", - "external/android/arm64-v8a/v8/libinspector.a", - "external/android/arm64-v8a/v8/libv8_monolith.a", - "external/android/armeabi-v7a/glslang/libOGLCompiler.a", - "external/android/armeabi-v7a/glslang/libOSDependent.a", - "external/android/armeabi-v7a/glslang/libSPIRV.a", - "external/android/armeabi-v7a/glslang/libglslang-default-resource-limits.a", - "external/android/armeabi-v7a/glslang/libglslang.a", - "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.AMD.h", - "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.EXT.h", - "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.KHR.h", - "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.NV.h", - "external/android/armeabi-v7a/include/SPIRV/GLSL.std.450.h", - "external/android/armeabi-v7a/include/SPIRV/GlslangToSpv.h", - "external/android/armeabi-v7a/include/SPIRV/Logger.h", - "external/android/armeabi-v7a/include/SPIRV/NonSemanticDebugPrintf.h", - "external/android/armeabi-v7a/include/SPIRV/SPVRemapper.h", - "external/android/armeabi-v7a/include/SPIRV/SpvBuilder.h", - "external/android/armeabi-v7a/include/SPIRV/SpvTools.h", - "external/android/armeabi-v7a/include/SPIRV/bitutils.h", - "external/android/armeabi-v7a/include/SPIRV/disassemble.h", - "external/android/armeabi-v7a/include/SPIRV/doc.h", - "external/android/armeabi-v7a/include/SPIRV/hex_float.h", - "external/android/armeabi-v7a/include/SPIRV/spirv.hpp", - "external/android/armeabi-v7a/include/SPIRV/spvIR.h", - "external/android/armeabi-v7a/include/StandAlone/ResourceLimits.h", - "external/android/armeabi-v7a/include/StandAlone/resource_limits_c.h", - "external/android/armeabi-v7a/include/freetype/config/ftconfig.h", - "external/android/armeabi-v7a/include/freetype/config/ftheader.h", - "external/android/armeabi-v7a/include/freetype/config/ftmodule.h", - "external/android/armeabi-v7a/include/freetype/config/ftoption.h", - "external/android/armeabi-v7a/include/freetype/config/ftstdlib.h", - "external/android/armeabi-v7a/include/freetype/freetype.h", - "external/android/armeabi-v7a/include/freetype/ft2build.h", - "external/android/armeabi-v7a/include/freetype/ftadvanc.h", - "external/android/armeabi-v7a/include/freetype/ftautoh.h", - "external/android/armeabi-v7a/include/freetype/ftbbox.h", - "external/android/armeabi-v7a/include/freetype/ftbdf.h", - "external/android/armeabi-v7a/include/freetype/ftbitmap.h", - "external/android/armeabi-v7a/include/freetype/ftbzip2.h", - "external/android/armeabi-v7a/include/freetype/ftcache.h", - "external/android/armeabi-v7a/include/freetype/ftcffdrv.h", - "external/android/armeabi-v7a/include/freetype/ftchapters.h", - "external/android/armeabi-v7a/include/freetype/ftcid.h", - "external/android/armeabi-v7a/include/freetype/fterrdef.h", - "external/android/armeabi-v7a/include/freetype/fterrors.h", - "external/android/armeabi-v7a/include/freetype/ftfntfmt.h", - "external/android/armeabi-v7a/include/freetype/ftgasp.h", - "external/android/armeabi-v7a/include/freetype/ftglyph.h", - "external/android/armeabi-v7a/include/freetype/ftgxval.h", - "external/android/armeabi-v7a/include/freetype/ftgzip.h", - "external/android/armeabi-v7a/include/freetype/ftimage.h", - "external/android/armeabi-v7a/include/freetype/ftincrem.h", - "external/android/armeabi-v7a/include/freetype/ftlcdfil.h", - "external/android/armeabi-v7a/include/freetype/ftlist.h", - "external/android/armeabi-v7a/include/freetype/ftlzw.h", - "external/android/armeabi-v7a/include/freetype/ftmac.h", - "external/android/armeabi-v7a/include/freetype/ftmm.h", - "external/android/armeabi-v7a/include/freetype/ftmodapi.h", - "external/android/armeabi-v7a/include/freetype/ftmoderr.h", - "external/android/armeabi-v7a/include/freetype/ftotval.h", - "external/android/armeabi-v7a/include/freetype/ftoutln.h", - "external/android/armeabi-v7a/include/freetype/ftpfr.h", - "external/android/armeabi-v7a/include/freetype/ftrender.h", - "external/android/armeabi-v7a/include/freetype/ftsizes.h", - "external/android/armeabi-v7a/include/freetype/ftsnames.h", - "external/android/armeabi-v7a/include/freetype/ftstroke.h", - "external/android/armeabi-v7a/include/freetype/ftsynth.h", - "external/android/armeabi-v7a/include/freetype/ftsystem.h", - "external/android/armeabi-v7a/include/freetype/fttrigon.h", - "external/android/armeabi-v7a/include/freetype/ftttdrv.h", - "external/android/armeabi-v7a/include/freetype/fttypes.h", - "external/android/armeabi-v7a/include/freetype/ftwinfnt.h", - "external/android/armeabi-v7a/include/freetype/t1tables.h", - "external/android/armeabi-v7a/include/freetype/ttnameid.h", - "external/android/armeabi-v7a/include/freetype/tttables.h", - "external/android/armeabi-v7a/include/freetype/tttags.h", - "external/android/armeabi-v7a/include/freetype/ttunpat.h", - "external/android/armeabi-v7a/include/glslang/Include/BaseTypes.h", - "external/android/armeabi-v7a/include/glslang/Include/Common.h", - "external/android/armeabi-v7a/include/glslang/Include/ConstantUnion.h", - "external/android/armeabi-v7a/include/glslang/Include/InfoSink.h", - "external/android/armeabi-v7a/include/glslang/Include/InitializeGlobals.h", - "external/android/armeabi-v7a/include/glslang/Include/PoolAlloc.h", - "external/android/armeabi-v7a/include/glslang/Include/ResourceLimits.h", - "external/android/armeabi-v7a/include/glslang/Include/ShHandle.h", - "external/android/armeabi-v7a/include/glslang/Include/Types.h", - "external/android/armeabi-v7a/include/glslang/Include/arrays.h", - "external/android/armeabi-v7a/include/glslang/Include/glslang_c_interface.h", - "external/android/armeabi-v7a/include/glslang/Include/glslang_c_shader_types.h", - "external/android/armeabi-v7a/include/glslang/Include/intermediate.h", - "external/android/armeabi-v7a/include/glslang/Include/revision.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/Initialize.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/LiveTraverser.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/ParseHelper.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/RemoveTree.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/Scan.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/ScanContext.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/SymbolTable.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/Versions.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/attribute.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/gl_types.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/iomapper.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/localintermediate.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/parseVersions.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/reflection.h", - "external/android/armeabi-v7a/include/glslang/Public/ShaderLang.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.std.450.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GlslangToSpv.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/Logger.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/SPVRemapper.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/SpvBuilder.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/SpvTools.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/bitutils.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/disassemble.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/doc.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/hex_float.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/spirv.hpp", - "external/android/armeabi-v7a/include/glslang/SPIRV/spvIR.h", - "external/android/armeabi-v7a/include/jpeg/jconfig.h", - "external/android/armeabi-v7a/include/jpeg/jerror.h", - "external/android/armeabi-v7a/include/jpeg/jmorecfg.h", - "external/android/armeabi-v7a/include/jpeg/jpeglib.h", - "external/android/armeabi-v7a/include/openssl/aes.h", - "external/android/armeabi-v7a/include/openssl/asn1.h", - "external/android/armeabi-v7a/include/openssl/asn1_mac.h", - "external/android/armeabi-v7a/include/openssl/asn1t.h", - "external/android/armeabi-v7a/include/openssl/async.h", - "external/android/armeabi-v7a/include/openssl/bio.h", - "external/android/armeabi-v7a/include/openssl/blowfish.h", - "external/android/armeabi-v7a/include/openssl/bn.h", - "external/android/armeabi-v7a/include/openssl/buffer.h", - "external/android/armeabi-v7a/include/openssl/camellia.h", - "external/android/armeabi-v7a/include/openssl/cast.h", - "external/android/armeabi-v7a/include/openssl/cmac.h", - "external/android/armeabi-v7a/include/openssl/cms.h", - "external/android/armeabi-v7a/include/openssl/comp.h", - "external/android/armeabi-v7a/include/openssl/conf.h", - "external/android/armeabi-v7a/include/openssl/conf_api.h", - "external/android/armeabi-v7a/include/openssl/crypto.h", - "external/android/armeabi-v7a/include/openssl/ct.h", - "external/android/armeabi-v7a/include/openssl/des.h", - "external/android/armeabi-v7a/include/openssl/dh.h", - "external/android/armeabi-v7a/include/openssl/dsa.h", - "external/android/armeabi-v7a/include/openssl/dtls1.h", - "external/android/armeabi-v7a/include/openssl/e_os2.h", - "external/android/armeabi-v7a/include/openssl/ebcdic.h", - "external/android/armeabi-v7a/include/openssl/ec.h", - "external/android/armeabi-v7a/include/openssl/ecdh.h", - "external/android/armeabi-v7a/include/openssl/ecdsa.h", - "external/android/armeabi-v7a/include/openssl/engine.h", - "external/android/armeabi-v7a/include/openssl/err.h", - "external/android/armeabi-v7a/include/openssl/evp.h", - "external/android/armeabi-v7a/include/openssl/hmac.h", - "external/android/armeabi-v7a/include/openssl/idea.h", - "external/android/armeabi-v7a/include/openssl/kdf.h", - "external/android/armeabi-v7a/include/openssl/lhash.h", - "external/android/armeabi-v7a/include/openssl/md2.h", - "external/android/armeabi-v7a/include/openssl/md4.h", - "external/android/armeabi-v7a/include/openssl/md5.h", - "external/android/armeabi-v7a/include/openssl/mdc2.h", - "external/android/armeabi-v7a/include/openssl/modes.h", - "external/android/armeabi-v7a/include/openssl/obj_mac.h", - "external/android/armeabi-v7a/include/openssl/objects.h", - "external/android/armeabi-v7a/include/openssl/ocsp.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-arm32.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-arm64.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-x86.h", - "external/android/armeabi-v7a/include/openssl/opensslconf.h", - "external/android/armeabi-v7a/include/openssl/opensslv.h", - "external/android/armeabi-v7a/include/openssl/ossl_typ.h", - "external/android/armeabi-v7a/include/openssl/pem.h", - "external/android/armeabi-v7a/include/openssl/pem2.h", - "external/android/armeabi-v7a/include/openssl/pkcs12.h", - "external/android/armeabi-v7a/include/openssl/pkcs7.h", - "external/android/armeabi-v7a/include/openssl/rand.h", - "external/android/armeabi-v7a/include/openssl/rc2.h", - "external/android/armeabi-v7a/include/openssl/rc4.h", - "external/android/armeabi-v7a/include/openssl/rc5.h", - "external/android/armeabi-v7a/include/openssl/ripemd.h", - "external/android/armeabi-v7a/include/openssl/rsa.h", - "external/android/armeabi-v7a/include/openssl/safestack.h", - "external/android/armeabi-v7a/include/openssl/seed.h", - "external/android/armeabi-v7a/include/openssl/sha.h", - "external/android/armeabi-v7a/include/openssl/srp.h", - "external/android/armeabi-v7a/include/openssl/srtp.h", - "external/android/armeabi-v7a/include/openssl/ssl.h", - "external/android/armeabi-v7a/include/openssl/ssl2.h", - "external/android/armeabi-v7a/include/openssl/ssl3.h", - "external/android/armeabi-v7a/include/openssl/stack.h", - "external/android/armeabi-v7a/include/openssl/symhacks.h", - "external/android/armeabi-v7a/include/openssl/tls1.h", - "external/android/armeabi-v7a/include/openssl/ts.h", - "external/android/armeabi-v7a/include/openssl/txt_db.h", - "external/android/armeabi-v7a/include/openssl/ui.h", - "external/android/armeabi-v7a/include/openssl/whrlpool.h", - "external/android/armeabi-v7a/include/openssl/x509.h", - "external/android/armeabi-v7a/include/openssl/x509_vfy.h", - "external/android/armeabi-v7a/include/openssl/x509v3.h", - "external/android/armeabi-v7a/include/png/png.h", - "external/android/armeabi-v7a/include/png/pngconf.h", - "external/android/armeabi-v7a/include/png/pnglibconf.h", - "external/android/armeabi-v7a/include/uv/pthread-barrier.h", - "external/android/armeabi-v7a/include/uv/stdint-msvc2008.h", - "external/android/armeabi-v7a/include/uv/tree.h", - "external/android/armeabi-v7a/include/uv/uv-aix.h", - "external/android/armeabi-v7a/include/uv/uv-bsd.h", - "external/android/armeabi-v7a/include/uv/uv-darwin.h", - "external/android/armeabi-v7a/include/uv/uv-errno.h", - "external/android/armeabi-v7a/include/uv/uv-linux.h", - "external/android/armeabi-v7a/include/uv/uv-os390.h", - "external/android/armeabi-v7a/include/uv/uv-posix.h", - "external/android/armeabi-v7a/include/uv/uv-sunos.h", - "external/android/armeabi-v7a/include/uv/uv-threadpool.h", - "external/android/armeabi-v7a/include/uv/uv-unix.h", - "external/android/armeabi-v7a/include/uv/uv-version.h", - "external/android/armeabi-v7a/include/uv/uv-win.h", - "external/android/armeabi-v7a/include/uv/uv.h", - "external/android/armeabi-v7a/include/v8/APIDesign.md", - "external/android/armeabi-v7a/include/v8/DEPS", - "external/android/armeabi-v7a/include/v8/OWNERS", - "external/android/armeabi-v7a/include/v8/libplatform/DEPS", - "external/android/armeabi-v7a/include/v8/libplatform/libplatform-export.h", - "external/android/armeabi-v7a/include/v8/libplatform/libplatform.h", - "external/android/armeabi-v7a/include/v8/libplatform/v8-tracing.h", - "external/android/armeabi-v7a/include/v8/v8-inspector-protocol.h", - "external/android/armeabi-v7a/include/v8/v8-inspector.h", - "external/android/armeabi-v7a/include/v8/v8-internal.h", - "external/android/armeabi-v7a/include/v8/v8-platform.h", - "external/android/armeabi-v7a/include/v8/v8-profiler.h", - "external/android/armeabi-v7a/include/v8/v8-testing.h", - "external/android/armeabi-v7a/include/v8/v8-util.h", - "external/android/armeabi-v7a/include/v8/v8-value-serializer-version.h", - "external/android/armeabi-v7a/include/v8/v8-version-string.h", - "external/android/armeabi-v7a/include/v8/v8-version.h", - "external/android/armeabi-v7a/include/v8/v8-wasm-trap-handler-posix.h", - "external/android/armeabi-v7a/include/v8/v8-wasm-trap-handler-win.h", - "external/android/armeabi-v7a/include/v8/v8.h", - "external/android/armeabi-v7a/include/v8/v8config.h", - "external/android/armeabi-v7a/include/webp/decode.h", - "external/android/armeabi-v7a/include/webp/encode.h", - "external/android/armeabi-v7a/include/webp/types.h", - "external/android/armeabi-v7a/include/websockets/libwebsockets.h", - "external/android/armeabi-v7a/include/websockets/lws_config.h", - "external/android/armeabi-v7a/include/zlib/zconf.h", - "external/android/armeabi-v7a/include/zlib/zlib.h", - "external/android/armeabi-v7a/libcrypto.a", - "external/android/armeabi-v7a/libfreetype.a", - "external/android/armeabi-v7a/libjpeg.a", - "external/android/armeabi-v7a/libpng.a", - "external/android/armeabi-v7a/libssl.a", - "external/android/armeabi-v7a/libtbb_static.a", - "external/android/armeabi-v7a/libtbbmalloc_proxy_static.a", - "external/android/armeabi-v7a/libtbbmalloc_static.a", - "external/android/armeabi-v7a/libuv.a", - "external/android/armeabi-v7a/libwebp.a", - "external/android/armeabi-v7a/libwebsockets.a", - "external/android/armeabi-v7a/libz.a", - "external/android/armeabi-v7a/v8/libinspector.a", - "external/android/armeabi-v7a/v8/libv8_monolith.a", - "external/android/x86/glslang/libOGLCompiler.a", - "external/android/x86/glslang/libOSDependent.a", - "external/android/x86/glslang/libSPIRV.a", - "external/android/x86/glslang/libglslang-default-resource-limits.a", - "external/android/x86/glslang/libglslang.a", - "external/android/x86/include/SPIRV/GLSL.ext.AMD.h", - "external/android/x86/include/SPIRV/GLSL.ext.EXT.h", - "external/android/x86/include/SPIRV/GLSL.ext.KHR.h", - "external/android/x86/include/SPIRV/GLSL.ext.NV.h", - "external/android/x86/include/SPIRV/GLSL.std.450.h", - "external/android/x86/include/SPIRV/GlslangToSpv.h", - "external/android/x86/include/SPIRV/Logger.h", - "external/android/x86/include/SPIRV/NonSemanticDebugPrintf.h", - "external/android/x86/include/SPIRV/SPVRemapper.h", - "external/android/x86/include/SPIRV/SpvBuilder.h", - "external/android/x86/include/SPIRV/SpvTools.h", - "external/android/x86/include/SPIRV/bitutils.h", - "external/android/x86/include/SPIRV/disassemble.h", - "external/android/x86/include/SPIRV/doc.h", - "external/android/x86/include/SPIRV/hex_float.h", - "external/android/x86/include/SPIRV/spirv.hpp", - "external/android/x86/include/SPIRV/spvIR.h", - "external/android/x86/include/StandAlone/ResourceLimits.h", - "external/android/x86/include/StandAlone/resource_limits_c.h", - "external/android/x86/include/freetype/config/ftconfig.h", - "external/android/x86/include/freetype/config/ftheader.h", - "external/android/x86/include/freetype/config/ftmodule.h", - "external/android/x86/include/freetype/config/ftoption.h", - "external/android/x86/include/freetype/config/ftstdlib.h", - "external/android/x86/include/freetype/freetype.h", - "external/android/x86/include/freetype/ft2build.h", - "external/android/x86/include/freetype/ftadvanc.h", - "external/android/x86/include/freetype/ftautoh.h", - "external/android/x86/include/freetype/ftbbox.h", - "external/android/x86/include/freetype/ftbdf.h", - "external/android/x86/include/freetype/ftbitmap.h", - "external/android/x86/include/freetype/ftbzip2.h", - "external/android/x86/include/freetype/ftcache.h", - "external/android/x86/include/freetype/ftcffdrv.h", - "external/android/x86/include/freetype/ftchapters.h", - "external/android/x86/include/freetype/ftcid.h", - "external/android/x86/include/freetype/fterrdef.h", - "external/android/x86/include/freetype/fterrors.h", - "external/android/x86/include/freetype/ftfntfmt.h", - "external/android/x86/include/freetype/ftgasp.h", - "external/android/x86/include/freetype/ftglyph.h", - "external/android/x86/include/freetype/ftgxval.h", - "external/android/x86/include/freetype/ftgzip.h", - "external/android/x86/include/freetype/ftimage.h", - "external/android/x86/include/freetype/ftincrem.h", - "external/android/x86/include/freetype/ftlcdfil.h", - "external/android/x86/include/freetype/ftlist.h", - "external/android/x86/include/freetype/ftlzw.h", - "external/android/x86/include/freetype/ftmac.h", - "external/android/x86/include/freetype/ftmm.h", - "external/android/x86/include/freetype/ftmodapi.h", - "external/android/x86/include/freetype/ftmoderr.h", - "external/android/x86/include/freetype/ftotval.h", - "external/android/x86/include/freetype/ftoutln.h", - "external/android/x86/include/freetype/ftpfr.h", - "external/android/x86/include/freetype/ftrender.h", - "external/android/x86/include/freetype/ftsizes.h", - "external/android/x86/include/freetype/ftsnames.h", - "external/android/x86/include/freetype/ftstroke.h", - "external/android/x86/include/freetype/ftsynth.h", - "external/android/x86/include/freetype/ftsystem.h", - "external/android/x86/include/freetype/fttrigon.h", - "external/android/x86/include/freetype/ftttdrv.h", - "external/android/x86/include/freetype/fttypes.h", - "external/android/x86/include/freetype/ftwinfnt.h", - "external/android/x86/include/freetype/t1tables.h", - "external/android/x86/include/freetype/ttnameid.h", - "external/android/x86/include/freetype/tttables.h", - "external/android/x86/include/freetype/tttags.h", - "external/android/x86/include/freetype/ttunpat.h", - "external/android/x86/include/glslang/Include/BaseTypes.h", - "external/android/x86/include/glslang/Include/Common.h", - "external/android/x86/include/glslang/Include/ConstantUnion.h", - "external/android/x86/include/glslang/Include/InfoSink.h", - "external/android/x86/include/glslang/Include/InitializeGlobals.h", - "external/android/x86/include/glslang/Include/PoolAlloc.h", - "external/android/x86/include/glslang/Include/ResourceLimits.h", - "external/android/x86/include/glslang/Include/ShHandle.h", - "external/android/x86/include/glslang/Include/Types.h", - "external/android/x86/include/glslang/Include/arrays.h", - "external/android/x86/include/glslang/Include/glslang_c_interface.h", - "external/android/x86/include/glslang/Include/glslang_c_shader_types.h", - "external/android/x86/include/glslang/Include/intermediate.h", - "external/android/x86/include/glslang/Include/revision.h", - "external/android/x86/include/glslang/MachineIndependent/Initialize.h", - "external/android/x86/include/glslang/MachineIndependent/LiveTraverser.h", - "external/android/x86/include/glslang/MachineIndependent/ParseHelper.h", - "external/android/x86/include/glslang/MachineIndependent/RemoveTree.h", - "external/android/x86/include/glslang/MachineIndependent/Scan.h", - "external/android/x86/include/glslang/MachineIndependent/ScanContext.h", - "external/android/x86/include/glslang/MachineIndependent/SymbolTable.h", - "external/android/x86/include/glslang/MachineIndependent/Versions.h", - "external/android/x86/include/glslang/MachineIndependent/attribute.h", - "external/android/x86/include/glslang/MachineIndependent/gl_types.h", - "external/android/x86/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/android/x86/include/glslang/MachineIndependent/iomapper.h", - "external/android/x86/include/glslang/MachineIndependent/localintermediate.h", - "external/android/x86/include/glslang/MachineIndependent/parseVersions.h", - "external/android/x86/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/android/x86/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/android/x86/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/android/x86/include/glslang/MachineIndependent/reflection.h", - "external/android/x86/include/glslang/Public/ShaderLang.h", - "external/android/x86/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/android/x86/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/android/x86/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/android/x86/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/android/x86/include/glslang/SPIRV/GLSL.std.450.h", - "external/android/x86/include/glslang/SPIRV/GlslangToSpv.h", - "external/android/x86/include/glslang/SPIRV/Logger.h", - "external/android/x86/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/android/x86/include/glslang/SPIRV/SPVRemapper.h", - "external/android/x86/include/glslang/SPIRV/SpvBuilder.h", - "external/android/x86/include/glslang/SPIRV/SpvTools.h", - "external/android/x86/include/glslang/SPIRV/bitutils.h", - "external/android/x86/include/glslang/SPIRV/disassemble.h", - "external/android/x86/include/glslang/SPIRV/doc.h", - "external/android/x86/include/glslang/SPIRV/hex_float.h", - "external/android/x86/include/glslang/SPIRV/spirv.hpp", - "external/android/x86/include/glslang/SPIRV/spvIR.h", - "external/android/x86/include/jpeg/jconfig.h", - "external/android/x86/include/jpeg/jerror.h", - "external/android/x86/include/jpeg/jmorecfg.h", - "external/android/x86/include/jpeg/jpeglib.h", - "external/android/x86/include/openssl/aes.h", - "external/android/x86/include/openssl/asn1.h", - "external/android/x86/include/openssl/asn1_mac.h", - "external/android/x86/include/openssl/asn1t.h", - "external/android/x86/include/openssl/async.h", - "external/android/x86/include/openssl/bio.h", - "external/android/x86/include/openssl/blowfish.h", - "external/android/x86/include/openssl/bn.h", - "external/android/x86/include/openssl/buffer.h", - "external/android/x86/include/openssl/camellia.h", - "external/android/x86/include/openssl/cast.h", - "external/android/x86/include/openssl/cmac.h", - "external/android/x86/include/openssl/cms.h", - "external/android/x86/include/openssl/comp.h", - "external/android/x86/include/openssl/conf.h", - "external/android/x86/include/openssl/conf_api.h", - "external/android/x86/include/openssl/crypto.h", - "external/android/x86/include/openssl/ct.h", - "external/android/x86/include/openssl/des.h", - "external/android/x86/include/openssl/dh.h", - "external/android/x86/include/openssl/dsa.h", - "external/android/x86/include/openssl/dtls1.h", - "external/android/x86/include/openssl/e_os2.h", - "external/android/x86/include/openssl/ebcdic.h", - "external/android/x86/include/openssl/ec.h", - "external/android/x86/include/openssl/ecdh.h", - "external/android/x86/include/openssl/ecdsa.h", - "external/android/x86/include/openssl/engine.h", - "external/android/x86/include/openssl/err.h", - "external/android/x86/include/openssl/evp.h", - "external/android/x86/include/openssl/hmac.h", - "external/android/x86/include/openssl/idea.h", - "external/android/x86/include/openssl/kdf.h", - "external/android/x86/include/openssl/lhash.h", - "external/android/x86/include/openssl/md2.h", - "external/android/x86/include/openssl/md4.h", - "external/android/x86/include/openssl/md5.h", - "external/android/x86/include/openssl/mdc2.h", - "external/android/x86/include/openssl/modes.h", - "external/android/x86/include/openssl/obj_mac.h", - "external/android/x86/include/openssl/objects.h", - "external/android/x86/include/openssl/ocsp.h", - "external/android/x86/include/openssl/opensslconf-arm32.h", - "external/android/x86/include/openssl/opensslconf-arm64.h", - "external/android/x86/include/openssl/opensslconf-x86.h", - "external/android/x86/include/openssl/opensslconf.h", - "external/android/x86/include/openssl/opensslv.h", - "external/android/x86/include/openssl/ossl_typ.h", - "external/android/x86/include/openssl/pem.h", - "external/android/x86/include/openssl/pem2.h", - "external/android/x86/include/openssl/pkcs12.h", - "external/android/x86/include/openssl/pkcs7.h", - "external/android/x86/include/openssl/rand.h", - "external/android/x86/include/openssl/rc2.h", - "external/android/x86/include/openssl/rc4.h", - "external/android/x86/include/openssl/rc5.h", - "external/android/x86/include/openssl/ripemd.h", - "external/android/x86/include/openssl/rsa.h", - "external/android/x86/include/openssl/safestack.h", - "external/android/x86/include/openssl/seed.h", - "external/android/x86/include/openssl/sha.h", - "external/android/x86/include/openssl/srp.h", - "external/android/x86/include/openssl/srtp.h", - "external/android/x86/include/openssl/ssl.h", - "external/android/x86/include/openssl/ssl2.h", - "external/android/x86/include/openssl/ssl3.h", - "external/android/x86/include/openssl/stack.h", - "external/android/x86/include/openssl/symhacks.h", - "external/android/x86/include/openssl/tls1.h", - "external/android/x86/include/openssl/ts.h", - "external/android/x86/include/openssl/txt_db.h", - "external/android/x86/include/openssl/ui.h", - "external/android/x86/include/openssl/whrlpool.h", - "external/android/x86/include/openssl/x509.h", - "external/android/x86/include/openssl/x509_vfy.h", - "external/android/x86/include/openssl/x509v3.h", - "external/android/x86/include/png/png.h", - "external/android/x86/include/png/pngconf.h", - "external/android/x86/include/png/pnglibconf.h", - "external/android/x86/include/uv/pthread-barrier.h", - "external/android/x86/include/uv/stdint-msvc2008.h", - "external/android/x86/include/uv/tree.h", - "external/android/x86/include/uv/uv-aix.h", - "external/android/x86/include/uv/uv-bsd.h", - "external/android/x86/include/uv/uv-darwin.h", - "external/android/x86/include/uv/uv-errno.h", - "external/android/x86/include/uv/uv-linux.h", - "external/android/x86/include/uv/uv-os390.h", - "external/android/x86/include/uv/uv-posix.h", - "external/android/x86/include/uv/uv-sunos.h", - "external/android/x86/include/uv/uv-threadpool.h", - "external/android/x86/include/uv/uv-unix.h", - "external/android/x86/include/uv/uv-version.h", - "external/android/x86/include/uv/uv-win.h", - "external/android/x86/include/uv/uv.h", - "external/android/x86/include/v8/APIDesign.md", - "external/android/x86/include/v8/DEPS", - "external/android/x86/include/v8/OWNERS", - "external/android/x86/include/v8/libplatform/DEPS", - "external/android/x86/include/v8/libplatform/libplatform-export.h", - "external/android/x86/include/v8/libplatform/libplatform.h", - "external/android/x86/include/v8/libplatform/v8-tracing.h", - "external/android/x86/include/v8/v8-inspector-protocol.h", - "external/android/x86/include/v8/v8-inspector.h", - "external/android/x86/include/v8/v8-internal.h", - "external/android/x86/include/v8/v8-platform.h", - "external/android/x86/include/v8/v8-profiler.h", - "external/android/x86/include/v8/v8-testing.h", - "external/android/x86/include/v8/v8-util.h", - "external/android/x86/include/v8/v8-value-serializer-version.h", - "external/android/x86/include/v8/v8-version-string.h", - "external/android/x86/include/v8/v8-version.h", - "external/android/x86/include/v8/v8-wasm-trap-handler-posix.h", - "external/android/x86/include/v8/v8-wasm-trap-handler-win.h", - "external/android/x86/include/v8/v8.h", - "external/android/x86/include/v8/v8config.h", - "external/android/x86/include/webp/decode.h", - "external/android/x86/include/webp/encode.h", - "external/android/x86/include/webp/types.h", - "external/android/x86/include/websockets/libwebsockets.h", - "external/android/x86/include/websockets/lws_config.h", - "external/android/x86/include/zlib/zconf.h", - "external/android/x86/include/zlib/zlib.h", - "external/android/x86/libcrypto.a", - "external/android/x86/libfreetype.a", - "external/android/x86/libjpeg.a", - "external/android/x86/libpng.a", - "external/android/x86/libssl.a", - "external/android/x86/libtbb_static.a", - "external/android/x86/libtbbmalloc_proxy_static.a", - "external/android/x86/libtbbmalloc_static.a", - "external/android/x86/libuv.a", - "external/android/x86/libwebp.a", - "external/android/x86/libwebsockets.a", - "external/android/x86/libz.a", - "external/android/x86/v8/libinspector.a", - "external/android/x86/v8/libv8_monolith.a", - "external/android/x86_64/glslang/libOGLCompiler.a", - "external/android/x86_64/glslang/libOSDependent.a", - "external/android/x86_64/glslang/libSPIRV.a", - "external/android/x86_64/glslang/libglslang-default-resource-limits.a", - "external/android/x86_64/glslang/libglslang.a", - "external/android/x86_64/include/SPIRV/GLSL.ext.AMD.h", - "external/android/x86_64/include/SPIRV/GLSL.ext.EXT.h", - "external/android/x86_64/include/SPIRV/GLSL.ext.KHR.h", - "external/android/x86_64/include/SPIRV/GLSL.ext.NV.h", - "external/android/x86_64/include/SPIRV/GLSL.std.450.h", - "external/android/x86_64/include/SPIRV/GlslangToSpv.h", - "external/android/x86_64/include/SPIRV/Logger.h", - "external/android/x86_64/include/SPIRV/NonSemanticDebugPrintf.h", - "external/android/x86_64/include/SPIRV/SPVRemapper.h", - "external/android/x86_64/include/SPIRV/SpvBuilder.h", - "external/android/x86_64/include/SPIRV/SpvTools.h", - "external/android/x86_64/include/SPIRV/bitutils.h", - "external/android/x86_64/include/SPIRV/disassemble.h", - "external/android/x86_64/include/SPIRV/doc.h", - "external/android/x86_64/include/SPIRV/hex_float.h", - "external/android/x86_64/include/SPIRV/spirv.hpp", - "external/android/x86_64/include/SPIRV/spvIR.h", - "external/android/x86_64/include/StandAlone/DirStackFileIncluder.h", - "external/android/x86_64/include/StandAlone/ResourceLimits.h", - "external/android/x86_64/include/StandAlone/Worklist.h", - "external/android/x86_64/include/StandAlone/resource_limits_c.h", - "external/android/x86_64/include/freetype/config/ftconfig.h", - "external/android/x86_64/include/freetype/config/ftheader.h", - "external/android/x86_64/include/freetype/config/ftmodule.h", - "external/android/x86_64/include/freetype/config/ftoption.h", - "external/android/x86_64/include/freetype/config/ftstdlib.h", - "external/android/x86_64/include/freetype/freetype.h", - "external/android/x86_64/include/freetype/ftadvanc.h", - "external/android/x86_64/include/freetype/ftautoh.h", - "external/android/x86_64/include/freetype/ftbbox.h", - "external/android/x86_64/include/freetype/ftbdf.h", - "external/android/x86_64/include/freetype/ftbitmap.h", - "external/android/x86_64/include/freetype/ftbzip2.h", - "external/android/x86_64/include/freetype/ftcache.h", - "external/android/x86_64/include/freetype/ftcffdrv.h", - "external/android/x86_64/include/freetype/ftchapters.h", - "external/android/x86_64/include/freetype/ftcid.h", - "external/android/x86_64/include/freetype/fterrdef.h", - "external/android/x86_64/include/freetype/fterrors.h", - "external/android/x86_64/include/freetype/ftfntfmt.h", - "external/android/x86_64/include/freetype/ftgasp.h", - "external/android/x86_64/include/freetype/ftglyph.h", - "external/android/x86_64/include/freetype/ftgxval.h", - "external/android/x86_64/include/freetype/ftgzip.h", - "external/android/x86_64/include/freetype/ftimage.h", - "external/android/x86_64/include/freetype/ftincrem.h", - "external/android/x86_64/include/freetype/ftlcdfil.h", - "external/android/x86_64/include/freetype/ftlist.h", - "external/android/x86_64/include/freetype/ftlzw.h", - "external/android/x86_64/include/freetype/ftmac.h", - "external/android/x86_64/include/freetype/ftmm.h", - "external/android/x86_64/include/freetype/ftmodapi.h", - "external/android/x86_64/include/freetype/ftmoderr.h", - "external/android/x86_64/include/freetype/ftotval.h", - "external/android/x86_64/include/freetype/ftoutln.h", - "external/android/x86_64/include/freetype/ftpfr.h", - "external/android/x86_64/include/freetype/ftrender.h", - "external/android/x86_64/include/freetype/ftsizes.h", - "external/android/x86_64/include/freetype/ftsnames.h", - "external/android/x86_64/include/freetype/ftstroke.h", - "external/android/x86_64/include/freetype/ftsynth.h", - "external/android/x86_64/include/freetype/ftsystem.h", - "external/android/x86_64/include/freetype/fttrigon.h", - "external/android/x86_64/include/freetype/ftttdrv.h", - "external/android/x86_64/include/freetype/fttypes.h", - "external/android/x86_64/include/freetype/ftwinfnt.h", - "external/android/x86_64/include/freetype/t1tables.h", - "external/android/x86_64/include/freetype/ttnameid.h", - "external/android/x86_64/include/freetype/tttables.h", - "external/android/x86_64/include/freetype/tttags.h", - "external/android/x86_64/include/freetype/ttunpat.h", - "external/android/x86_64/include/glslang/Include/BaseTypes.h", - "external/android/x86_64/include/glslang/Include/Common.h", - "external/android/x86_64/include/glslang/Include/ConstantUnion.h", - "external/android/x86_64/include/glslang/Include/InfoSink.h", - "external/android/x86_64/include/glslang/Include/InitializeGlobals.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/Initialize.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/LiveTraverser.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/ParseHelper.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/RemoveTree.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/Scan.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/ScanContext.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/SymbolTable.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/Versions.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/attribute.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/gl_types.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.m4", - "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.y", - "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang_tab.cpp.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/iomapper.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/localintermediate.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/parseVersions.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/pch.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpContext.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpTokens.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/propagateNoContraction.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/reflection.h", - "external/android/x86_64/include/glslang/Include/PoolAlloc.h", - "external/android/x86_64/include/glslang/Include/Public/ShaderLang.h", - "external/android/x86_64/include/glslang/Include/ResourceLimits.h", - "external/android/x86_64/include/glslang/Include/ShHandle.h", - "external/android/x86_64/include/glslang/Include/Types.h", - "external/android/x86_64/include/glslang/Include/arrays.h", - "external/android/x86_64/include/glslang/Include/glslang_c_interface.h", - "external/android/x86_64/include/glslang/Include/glslang_c_shader_types.h", - "external/android/x86_64/include/glslang/Include/intermediate.h", - "external/android/x86_64/include/glslang/MachineIndependent/Initialize.h", - "external/android/x86_64/include/glslang/MachineIndependent/LiveTraverser.h", - "external/android/x86_64/include/glslang/MachineIndependent/ParseHelper.h", - "external/android/x86_64/include/glslang/MachineIndependent/RemoveTree.h", - "external/android/x86_64/include/glslang/MachineIndependent/Scan.h", - "external/android/x86_64/include/glslang/MachineIndependent/ScanContext.h", - "external/android/x86_64/include/glslang/MachineIndependent/SymbolTable.h", - "external/android/x86_64/include/glslang/MachineIndependent/Versions.h", - "external/android/x86_64/include/glslang/MachineIndependent/attribute.h", - "external/android/x86_64/include/glslang/MachineIndependent/gl_types.h", - "external/android/x86_64/include/glslang/MachineIndependent/glslang.m4", - "external/android/x86_64/include/glslang/MachineIndependent/glslang.y", - "external/android/x86_64/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/android/x86_64/include/glslang/MachineIndependent/iomapper.h", - "external/android/x86_64/include/glslang/MachineIndependent/localintermediate.h", - "external/android/x86_64/include/glslang/MachineIndependent/parseVersions.h", - "external/android/x86_64/include/glslang/MachineIndependent/pch.h", - "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/android/x86_64/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/android/x86_64/include/glslang/MachineIndependent/reflection.h", - "external/android/x86_64/include/glslang/Public/ShaderLang.h", - "external/android/x86_64/include/jpeg/jconfig.h", - "external/android/x86_64/include/jpeg/jerror.h", - "external/android/x86_64/include/jpeg/jmorecfg.h", - "external/android/x86_64/include/jpeg/jpeglib.h", - "external/android/x86_64/include/openssl/aes.h", - "external/android/x86_64/include/openssl/asn1.h", - "external/android/x86_64/include/openssl/asn1_mac.h", - "external/android/x86_64/include/openssl/asn1t.h", - "external/android/x86_64/include/openssl/async.h", - "external/android/x86_64/include/openssl/bio.h", - "external/android/x86_64/include/openssl/blowfish.h", - "external/android/x86_64/include/openssl/bn.h", - "external/android/x86_64/include/openssl/buffer.h", - "external/android/x86_64/include/openssl/camellia.h", - "external/android/x86_64/include/openssl/cast.h", - "external/android/x86_64/include/openssl/cmac.h", - "external/android/x86_64/include/openssl/cms.h", - "external/android/x86_64/include/openssl/comp.h", - "external/android/x86_64/include/openssl/conf.h", - "external/android/x86_64/include/openssl/conf_api.h", - "external/android/x86_64/include/openssl/crypto.h", - "external/android/x86_64/include/openssl/ct.h", - "external/android/x86_64/include/openssl/des.h", - "external/android/x86_64/include/openssl/dh.h", - "external/android/x86_64/include/openssl/dsa.h", - "external/android/x86_64/include/openssl/dtls1.h", - "external/android/x86_64/include/openssl/e_os2.h", - "external/android/x86_64/include/openssl/ebcdic.h", - "external/android/x86_64/include/openssl/ec.h", - "external/android/x86_64/include/openssl/ecdh.h", - "external/android/x86_64/include/openssl/ecdsa.h", - "external/android/x86_64/include/openssl/engine.h", - "external/android/x86_64/include/openssl/err.h", - "external/android/x86_64/include/openssl/evp.h", - "external/android/x86_64/include/openssl/hmac.h", - "external/android/x86_64/include/openssl/idea.h", - "external/android/x86_64/include/openssl/kdf.h", - "external/android/x86_64/include/openssl/lhash.h", - "external/android/x86_64/include/openssl/md2.h", - "external/android/x86_64/include/openssl/md4.h", - "external/android/x86_64/include/openssl/md5.h", - "external/android/x86_64/include/openssl/mdc2.h", - "external/android/x86_64/include/openssl/modes.h", - "external/android/x86_64/include/openssl/obj_mac.h", - "external/android/x86_64/include/openssl/objects.h", - "external/android/x86_64/include/openssl/ocsp.h", - "external/android/x86_64/include/openssl/opensslconf-arm32.h", - "external/android/x86_64/include/openssl/opensslconf-arm64.h", - "external/android/x86_64/include/openssl/opensslconf-x86.h", - "external/android/x86_64/include/openssl/opensslconf.h", - "external/android/x86_64/include/openssl/opensslv.h", - "external/android/x86_64/include/openssl/ossl_typ.h", - "external/android/x86_64/include/openssl/pem.h", - "external/android/x86_64/include/openssl/pem2.h", - "external/android/x86_64/include/openssl/pkcs12.h", - "external/android/x86_64/include/openssl/pkcs7.h", - "external/android/x86_64/include/openssl/rand.h", - "external/android/x86_64/include/openssl/rc2.h", - "external/android/x86_64/include/openssl/rc4.h", - "external/android/x86_64/include/openssl/rc5.h", - "external/android/x86_64/include/openssl/ripemd.h", - "external/android/x86_64/include/openssl/rsa.h", - "external/android/x86_64/include/openssl/safestack.h", - "external/android/x86_64/include/openssl/seed.h", - "external/android/x86_64/include/openssl/sha.h", - "external/android/x86_64/include/openssl/srp.h", - "external/android/x86_64/include/openssl/srtp.h", - "external/android/x86_64/include/openssl/ssl.h", - "external/android/x86_64/include/openssl/ssl2.h", - "external/android/x86_64/include/openssl/ssl3.h", - "external/android/x86_64/include/openssl/stack.h", - "external/android/x86_64/include/openssl/symhacks.h", - "external/android/x86_64/include/openssl/tls1.h", - "external/android/x86_64/include/openssl/ts.h", - "external/android/x86_64/include/openssl/txt_db.h", - "external/android/x86_64/include/openssl/ui.h", - "external/android/x86_64/include/openssl/whrlpool.h", - "external/android/x86_64/include/openssl/x509.h", - "external/android/x86_64/include/openssl/x509_vfy.h", - "external/android/x86_64/include/openssl/x509v3.h", - "external/android/x86_64/include/png/png.h", - "external/android/x86_64/include/png/pngconf.h", - "external/android/x86_64/include/png/pnglibconf.h", - "external/android/x86_64/include/uv/pthread-barrier.h", - "external/android/x86_64/include/uv/stdint-msvc2008.h", - "external/android/x86_64/include/uv/tree.h", - "external/android/x86_64/include/uv/uv-aix.h", - "external/android/x86_64/include/uv/uv-bsd.h", - "external/android/x86_64/include/uv/uv-darwin.h", - "external/android/x86_64/include/uv/uv-errno.h", - "external/android/x86_64/include/uv/uv-linux.h", - "external/android/x86_64/include/uv/uv-os390.h", - "external/android/x86_64/include/uv/uv-posix.h", - "external/android/x86_64/include/uv/uv-sunos.h", - "external/android/x86_64/include/uv/uv-threadpool.h", - "external/android/x86_64/include/uv/uv-unix.h", - "external/android/x86_64/include/uv/uv-version.h", - "external/android/x86_64/include/uv/uv-win.h", - "external/android/x86_64/include/uv/uv.h", - "external/android/x86_64/include/v8/APIDesign.md", - "external/android/x86_64/include/v8/DEPS", - "external/android/x86_64/include/v8/OWNERS", - "external/android/x86_64/include/v8/libplatform/DEPS", - "external/android/x86_64/include/v8/libplatform/libplatform-export.h", - "external/android/x86_64/include/v8/libplatform/libplatform.h", - "external/android/x86_64/include/v8/libplatform/v8-tracing.h", - "external/android/x86_64/include/v8/v8-inspector-protocol.h", - "external/android/x86_64/include/v8/v8-inspector.h", - "external/android/x86_64/include/v8/v8-internal.h", - "external/android/x86_64/include/v8/v8-platform.h", - "external/android/x86_64/include/v8/v8-profiler.h", - "external/android/x86_64/include/v8/v8-testing.h", - "external/android/x86_64/include/v8/v8-util.h", - "external/android/x86_64/include/v8/v8-value-serializer-version.h", - "external/android/x86_64/include/v8/v8-version-string.h", - "external/android/x86_64/include/v8/v8-version.h", - "external/android/x86_64/include/v8/v8-wasm-trap-handler-posix.h", - "external/android/x86_64/include/v8/v8-wasm-trap-handler-win.h", - "external/android/x86_64/include/v8/v8.h", - "external/android/x86_64/include/v8/v8config.h", - "external/android/x86_64/include/webp/decode.h", - "external/android/x86_64/include/webp/encode.h", - "external/android/x86_64/include/webp/types.h", - "external/android/x86_64/include/websockets/libwebsockets.h", - "external/android/x86_64/include/websockets/lws_config.h", - "external/android/x86_64/include/zlib/zconf.h", - "external/android/x86_64/include/zlib/zlib.h", - "external/android/x86_64/libcrypto.a", - "external/android/x86_64/libfreetype.a", - "external/android/x86_64/libjpeg.a", - "external/android/x86_64/libpng.a", - "external/android/x86_64/libssl.a", - "external/android/x86_64/libtbb_static.a", - "external/android/x86_64/libtbbmalloc_proxy_static.a", - "external/android/x86_64/libtbbmalloc_static.a", - "external/android/x86_64/libuv.a", - "external/android/x86_64/libwebp.a", - "external/android/x86_64/libwebsockets.a", - "external/android/x86_64/libz.a", - "external/android/x86_64/v8/libinspector.a", - "external/android/x86_64/v8/libv8_monolith.a", - "external/cmake/CocosExternalConfig.cmake", - "external/cmake/scripts/sync_folder.py", - "external/ios/CMakeLists.txt", - "external/ios/include/StandAlone/ResourceLimits.h", - "external/ios/include/StandAlone/resource_limits_c.h", - "external/ios/include/freetype/config/ftconfig.h", - "external/ios/include/freetype/config/ftheader.h", - "external/ios/include/freetype/config/ftmodule.h", - "external/ios/include/freetype/config/ftoption.h", - "external/ios/include/freetype/config/ftstdlib.h", - "external/ios/include/freetype/freetype.h", - "external/ios/include/freetype/ft2build.h", - "external/ios/include/freetype/ftadvanc.h", - "external/ios/include/freetype/ftautoh.h", - "external/ios/include/freetype/ftbbox.h", - "external/ios/include/freetype/ftbdf.h", - "external/ios/include/freetype/ftbitmap.h", - "external/ios/include/freetype/ftbzip2.h", - "external/ios/include/freetype/ftcache.h", - "external/ios/include/freetype/ftcffdrv.h", - "external/ios/include/freetype/ftchapters.h", - "external/ios/include/freetype/ftcid.h", - "external/ios/include/freetype/fterrdef.h", - "external/ios/include/freetype/fterrors.h", - "external/ios/include/freetype/ftfntfmt.h", - "external/ios/include/freetype/ftgasp.h", - "external/ios/include/freetype/ftglyph.h", - "external/ios/include/freetype/ftgxval.h", - "external/ios/include/freetype/ftgzip.h", - "external/ios/include/freetype/ftimage.h", - "external/ios/include/freetype/ftincrem.h", - "external/ios/include/freetype/ftlcdfil.h", - "external/ios/include/freetype/ftlist.h", - "external/ios/include/freetype/ftlzw.h", - "external/ios/include/freetype/ftmac.h", - "external/ios/include/freetype/ftmm.h", - "external/ios/include/freetype/ftmodapi.h", - "external/ios/include/freetype/ftmoderr.h", - "external/ios/include/freetype/ftotval.h", - "external/ios/include/freetype/ftoutln.h", - "external/ios/include/freetype/ftpfr.h", - "external/ios/include/freetype/ftrender.h", - "external/ios/include/freetype/ftsizes.h", - "external/ios/include/freetype/ftsnames.h", - "external/ios/include/freetype/ftstroke.h", - "external/ios/include/freetype/ftsynth.h", - "external/ios/include/freetype/ftsystem.h", - "external/ios/include/freetype/fttrigon.h", - "external/ios/include/freetype/ftttdrv.h", - "external/ios/include/freetype/fttypes.h", - "external/ios/include/freetype/ftwinfnt.h", - "external/ios/include/freetype/t1tables.h", - "external/ios/include/freetype/ttnameid.h", - "external/ios/include/freetype/tttables.h", - "external/ios/include/freetype/tttags.h", - "external/ios/include/freetype/ttunpat.h", - "external/ios/include/glslang/Include/BaseTypes.h", - "external/ios/include/glslang/Include/Common.h", - "external/ios/include/glslang/Include/ConstantUnion.h", - "external/ios/include/glslang/Include/InfoSink.h", - "external/ios/include/glslang/Include/InitializeGlobals.h", - "external/ios/include/glslang/Include/PoolAlloc.h", - "external/ios/include/glslang/Include/ResourceLimits.h", - "external/ios/include/glslang/Include/ShHandle.h", - "external/ios/include/glslang/Include/Types.h", - "external/ios/include/glslang/Include/arrays.h", - "external/ios/include/glslang/Include/glslang_c_interface.h", - "external/ios/include/glslang/Include/glslang_c_shader_types.h", - "external/ios/include/glslang/Include/intermediate.h", - "external/ios/include/glslang/Include/revision.h", - "external/ios/include/glslang/MachineIndependent/Initialize.h", - "external/ios/include/glslang/MachineIndependent/LiveTraverser.h", - "external/ios/include/glslang/MachineIndependent/ParseHelper.h", - "external/ios/include/glslang/MachineIndependent/RemoveTree.h", - "external/ios/include/glslang/MachineIndependent/Scan.h", - "external/ios/include/glslang/MachineIndependent/ScanContext.h", - "external/ios/include/glslang/MachineIndependent/SymbolTable.h", - "external/ios/include/glslang/MachineIndependent/Versions.h", - "external/ios/include/glslang/MachineIndependent/attribute.h", - "external/ios/include/glslang/MachineIndependent/gl_types.h", - "external/ios/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/ios/include/glslang/MachineIndependent/iomapper.h", - "external/ios/include/glslang/MachineIndependent/localintermediate.h", - "external/ios/include/glslang/MachineIndependent/parseVersions.h", - "external/ios/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/ios/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/ios/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/ios/include/glslang/MachineIndependent/reflection.h", - "external/ios/include/glslang/Public/ShaderLang.h", - "external/ios/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/ios/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/ios/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/ios/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/ios/include/glslang/SPIRV/GLSL.std.450.h", - "external/ios/include/glslang/SPIRV/GlslangToSpv.h", - "external/ios/include/glslang/SPIRV/Logger.h", - "external/ios/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/ios/include/glslang/SPIRV/SPVRemapper.h", - "external/ios/include/glslang/SPIRV/SpvBuilder.h", - "external/ios/include/glslang/SPIRV/SpvTools.h", - "external/ios/include/glslang/SPIRV/bitutils.h", - "external/ios/include/glslang/SPIRV/disassemble.h", - "external/ios/include/glslang/SPIRV/doc.h", - "external/ios/include/glslang/SPIRV/hex_float.h", - "external/ios/include/glslang/SPIRV/spirv.hpp", - "external/ios/include/glslang/SPIRV/spvIR.h", - "external/ios/include/jpeg/jconfig.h", - "external/ios/include/jpeg/jerror.h", - "external/ios/include/jpeg/jmorecfg.h", - "external/ios/include/jpeg/jpeglib.h", - "external/ios/include/openssl/aes.h", - "external/ios/include/openssl/asn1.h", - "external/ios/include/openssl/asn1_mac.h", - "external/ios/include/openssl/asn1t.h", - "external/ios/include/openssl/async.h", - "external/ios/include/openssl/bio.h", - "external/ios/include/openssl/blowfish.h", - "external/ios/include/openssl/bn.h", - "external/ios/include/openssl/buffer.h", - "external/ios/include/openssl/camellia.h", - "external/ios/include/openssl/cast.h", - "external/ios/include/openssl/cmac.h", - "external/ios/include/openssl/cms.h", - "external/ios/include/openssl/comp.h", - "external/ios/include/openssl/conf.h", - "external/ios/include/openssl/conf_api.h", - "external/ios/include/openssl/crypto.h", - "external/ios/include/openssl/ct.h", - "external/ios/include/openssl/des.h", - "external/ios/include/openssl/dh.h", - "external/ios/include/openssl/dsa.h", - "external/ios/include/openssl/dtls1.h", - "external/ios/include/openssl/e_os2.h", - "external/ios/include/openssl/ebcdic.h", - "external/ios/include/openssl/ec.h", - "external/ios/include/openssl/ecdh.h", - "external/ios/include/openssl/ecdsa.h", - "external/ios/include/openssl/engine.h", - "external/ios/include/openssl/err.h", - "external/ios/include/openssl/evp.h", - "external/ios/include/openssl/hmac.h", - "external/ios/include/openssl/idea.h", - "external/ios/include/openssl/kdf.h", - "external/ios/include/openssl/lhash.h", - "external/ios/include/openssl/md2.h", - "external/ios/include/openssl/md4.h", - "external/ios/include/openssl/md5.h", - "external/ios/include/openssl/mdc2.h", - "external/ios/include/openssl/modes.h", - "external/ios/include/openssl/obj_mac.h", - "external/ios/include/openssl/objects.h", - "external/ios/include/openssl/ocsp.h", - "external/ios/include/openssl/opensslconf-arm32.h", - "external/ios/include/openssl/opensslconf-arm64.h", - "external/ios/include/openssl/opensslconf-i386.h", - "external/ios/include/openssl/opensslconf-x86_64.h", - "external/ios/include/openssl/opensslconf.h", - "external/ios/include/openssl/opensslv.h", - "external/ios/include/openssl/ossl_typ.h", - "external/ios/include/openssl/pem.h", - "external/ios/include/openssl/pem2.h", - "external/ios/include/openssl/pkcs12.h", - "external/ios/include/openssl/pkcs7.h", - "external/ios/include/openssl/rand.h", - "external/ios/include/openssl/rc2.h", - "external/ios/include/openssl/rc4.h", - "external/ios/include/openssl/rc5.h", - "external/ios/include/openssl/ripemd.h", - "external/ios/include/openssl/rsa.h", - "external/ios/include/openssl/safestack.h", - "external/ios/include/openssl/seed.h", - "external/ios/include/openssl/sha.h", - "external/ios/include/openssl/srp.h", - "external/ios/include/openssl/srtp.h", - "external/ios/include/openssl/ssl.h", - "external/ios/include/openssl/ssl2.h", - "external/ios/include/openssl/ssl3.h", - "external/ios/include/openssl/stack.h", - "external/ios/include/openssl/symhacks.h", - "external/ios/include/openssl/tls1.h", - "external/ios/include/openssl/ts.h", - "external/ios/include/openssl/txt_db.h", - "external/ios/include/openssl/ui.h", - "external/ios/include/openssl/whrlpool.h", - "external/ios/include/openssl/x509.h", - "external/ios/include/openssl/x509_vfy.h", - "external/ios/include/openssl/x509v3.h", - "external/ios/include/png/png.h", - "external/ios/include/png/pngconf.h", - "external/ios/include/png/pnglibconf.h", - "external/ios/include/spirv_cross/GLSL.std.450.h", - "external/ios/include/spirv_cross/spirv.hpp", - "external/ios/include/spirv_cross/spirv_cfg.hpp", - "external/ios/include/spirv_cross/spirv_common.hpp", - "external/ios/include/spirv_cross/spirv_cross.hpp", - "external/ios/include/spirv_cross/spirv_cross_containers.hpp", - "external/ios/include/spirv_cross/spirv_cross_error_handling.hpp", - "external/ios/include/spirv_cross/spirv_cross_parsed_ir.hpp", - "external/ios/include/spirv_cross/spirv_glsl.hpp", - "external/ios/include/spirv_cross/spirv_msl.hpp", - "external/ios/include/spirv_cross/spirv_parser.hpp", - "external/ios/include/uv/uv.h", - "external/ios/include/uv/uv/aix.h", - "external/ios/include/uv/uv/android-ifaddrs.h", - "external/ios/include/uv/uv/bsd.h", - "external/ios/include/uv/uv/darwin.h", - "external/ios/include/uv/uv/errno.h", - "external/ios/include/uv/uv/linux.h", - "external/ios/include/uv/uv/os390.h", - "external/ios/include/uv/uv/posix.h", - "external/ios/include/uv/uv/pthread-barrier.h", - "external/ios/include/uv/uv/stdint-msvc2008.h", - "external/ios/include/uv/uv/sunos.h", - "external/ios/include/uv/uv/threadpool.h", - "external/ios/include/uv/uv/tree.h", - "external/ios/include/uv/uv/unix.h", - "external/ios/include/uv/uv/version.h", - "external/ios/include/uv/uv/win.h", - "external/ios/include/v8/libplatform/libplatform-export.h", - "external/ios/include/v8/libplatform/libplatform.h", - "external/ios/include/v8/libplatform/v8-tracing.h", - "external/ios/include/v8/v8-inspector-protocol.h", - "external/ios/include/v8/v8-inspector.h", - "external/ios/include/v8/v8-internal.h", - "external/ios/include/v8/v8-platform.h", - "external/ios/include/v8/v8-profiler.h", - "external/ios/include/v8/v8-testing.h", - "external/ios/include/v8/v8-util.h", - "external/ios/include/v8/v8-value-serializer-version.h", - "external/ios/include/v8/v8-version-string.h", - "external/ios/include/v8/v8-version.h", - "external/ios/include/v8/v8-wasm-trap-handler-posix.h", - "external/ios/include/v8/v8-wasm-trap-handler-win.h", - "external/ios/include/v8/v8.h", - "external/ios/include/v8/v8config.h", - "external/ios/include/webp/decode.h", - "external/ios/include/webp/encode.h", - "external/ios/include/webp/types.h", - "external/ios/include/websockets/libwebsockets.h", - "external/ios/include/websockets/lws_config-arm32.h", - "external/ios/include/websockets/lws_config-arm64.h", - "external/ios/include/websockets/lws_config-i386.h", - "external/ios/include/websockets/lws_config-x86_64.h", - "external/ios/include/websockets/lws_config.h", - "external/ios/libs/glslang/libOGLCompiler.a", - "external/ios/libs/glslang/libOSDependent.a", - "external/ios/libs/glslang/libSPIRV.a", - "external/ios/libs/glslang/libglslang-default-resource-limits.a", - "external/ios/libs/glslang/libglslang.a", - "external/ios/libs/libcrypto.a", - "external/ios/libs/libfreetype.a", - "external/ios/libs/libjpeg.a", - "external/ios/libs/libpng.a", - "external/ios/libs/libssl.a", - "external/ios/libs/libtbb_static.a", - "external/ios/libs/libtbbmalloc_proxy_static.a", - "external/ios/libs/libtbbmalloc_static.a", - "external/ios/libs/libuv_a.a", - "external/ios/libs/libv8_monolith.a", - "external/ios/libs/libwebp.a", - "external/ios/libs/libwebsockets.a", - "external/ios/libs/spirv-cross/libspirv-cross-core.a", - "external/ios/libs/spirv-cross/libspirv-cross-glsl.a", - "external/ios/libs/spirv-cross/libspirv-cross-msl.a", - "external/mac/CMakeLists.txt", - "external/mac/include/StandAlone/ResourceLimits.h", - "external/mac/include/StandAlone/resource_limits_c.h", - "external/mac/include/curl/curl.h", - "external/mac/include/curl/curlbuild.h", - "external/mac/include/curl/curlrules.h", - "external/mac/include/curl/curlver.h", - "external/mac/include/curl/easy.h", - "external/mac/include/curl/mprintf.h", - "external/mac/include/curl/multi.h", - "external/mac/include/curl/stdcheaders.h", - "external/mac/include/curl/typecheck-gcc.h", - "external/mac/include/freetype/config/ftconfig.h", - "external/mac/include/freetype/config/ftheader.h", - "external/mac/include/freetype/config/ftmodule.h", - "external/mac/include/freetype/config/ftoption.h", - "external/mac/include/freetype/config/ftstdlib.h", - "external/mac/include/freetype/freetype.h", - "external/mac/include/freetype/ft2build.h", - "external/mac/include/freetype/ftadvanc.h", - "external/mac/include/freetype/ftautoh.h", - "external/mac/include/freetype/ftbbox.h", - "external/mac/include/freetype/ftbdf.h", - "external/mac/include/freetype/ftbitmap.h", - "external/mac/include/freetype/ftbzip2.h", - "external/mac/include/freetype/ftcache.h", - "external/mac/include/freetype/ftcffdrv.h", - "external/mac/include/freetype/ftchapters.h", - "external/mac/include/freetype/ftcid.h", - "external/mac/include/freetype/fterrdef.h", - "external/mac/include/freetype/fterrors.h", - "external/mac/include/freetype/ftfntfmt.h", - "external/mac/include/freetype/ftgasp.h", - "external/mac/include/freetype/ftglyph.h", - "external/mac/include/freetype/ftgxval.h", - "external/mac/include/freetype/ftgzip.h", - "external/mac/include/freetype/ftimage.h", - "external/mac/include/freetype/ftincrem.h", - "external/mac/include/freetype/ftlcdfil.h", - "external/mac/include/freetype/ftlist.h", - "external/mac/include/freetype/ftlzw.h", - "external/mac/include/freetype/ftmac.h", - "external/mac/include/freetype/ftmm.h", - "external/mac/include/freetype/ftmodapi.h", - "external/mac/include/freetype/ftmoderr.h", - "external/mac/include/freetype/ftotval.h", - "external/mac/include/freetype/ftoutln.h", - "external/mac/include/freetype/ftpfr.h", - "external/mac/include/freetype/ftrender.h", - "external/mac/include/freetype/ftsizes.h", - "external/mac/include/freetype/ftsnames.h", - "external/mac/include/freetype/ftstroke.h", - "external/mac/include/freetype/ftsynth.h", - "external/mac/include/freetype/ftsystem.h", - "external/mac/include/freetype/fttrigon.h", - "external/mac/include/freetype/ftttdrv.h", - "external/mac/include/freetype/fttypes.h", - "external/mac/include/freetype/ftwinfnt.h", - "external/mac/include/freetype/t1tables.h", - "external/mac/include/freetype/ttnameid.h", - "external/mac/include/freetype/tttables.h", - "external/mac/include/freetype/tttags.h", - "external/mac/include/freetype/ttunpat.h", - "external/mac/include/glslang/Include/BaseTypes.h", - "external/mac/include/glslang/Include/Common.h", - "external/mac/include/glslang/Include/ConstantUnion.h", - "external/mac/include/glslang/Include/InfoSink.h", - "external/mac/include/glslang/Include/InitializeGlobals.h", - "external/mac/include/glslang/Include/PoolAlloc.h", - "external/mac/include/glslang/Include/ResourceLimits.h", - "external/mac/include/glslang/Include/ShHandle.h", - "external/mac/include/glslang/Include/Types.h", - "external/mac/include/glslang/Include/arrays.h", - "external/mac/include/glslang/Include/glslang_c_interface.h", - "external/mac/include/glslang/Include/glslang_c_shader_types.h", - "external/mac/include/glslang/Include/intermediate.h", - "external/mac/include/glslang/Include/revision.h", - "external/mac/include/glslang/MachineIndependent/Initialize.h", - "external/mac/include/glslang/MachineIndependent/LiveTraverser.h", - "external/mac/include/glslang/MachineIndependent/ParseHelper.h", - "external/mac/include/glslang/MachineIndependent/RemoveTree.h", - "external/mac/include/glslang/MachineIndependent/Scan.h", - "external/mac/include/glslang/MachineIndependent/ScanContext.h", - "external/mac/include/glslang/MachineIndependent/SymbolTable.h", - "external/mac/include/glslang/MachineIndependent/Versions.h", - "external/mac/include/glslang/MachineIndependent/attribute.h", - "external/mac/include/glslang/MachineIndependent/gl_types.h", - "external/mac/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/mac/include/glslang/MachineIndependent/iomapper.h", - "external/mac/include/glslang/MachineIndependent/localintermediate.h", - "external/mac/include/glslang/MachineIndependent/parseVersions.h", - "external/mac/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/mac/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/mac/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/mac/include/glslang/MachineIndependent/reflection.h", - "external/mac/include/glslang/Public/ShaderLang.h", - "external/mac/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/mac/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/mac/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/mac/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/mac/include/glslang/SPIRV/GLSL.std.450.h", - "external/mac/include/glslang/SPIRV/GlslangToSpv.h", - "external/mac/include/glslang/SPIRV/Logger.h", - "external/mac/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/mac/include/glslang/SPIRV/SPVRemapper.h", - "external/mac/include/glslang/SPIRV/SpvBuilder.h", - "external/mac/include/glslang/SPIRV/SpvTools.h", - "external/mac/include/glslang/SPIRV/bitutils.h", - "external/mac/include/glslang/SPIRV/disassemble.h", - "external/mac/include/glslang/SPIRV/doc.h", - "external/mac/include/glslang/SPIRV/hex_float.h", - "external/mac/include/glslang/SPIRV/spirv.hpp", - "external/mac/include/glslang/SPIRV/spvIR.h", - "external/mac/include/jpeg/jconfig.h", - "external/mac/include/jpeg/jmorecfg.h", - "external/mac/include/jpeg/jpeglib.h", - "external/mac/include/openssl/aes.h", - "external/mac/include/openssl/asn1.h", - "external/mac/include/openssl/asn1_mac.h", - "external/mac/include/openssl/asn1t.h", - "external/mac/include/openssl/async.h", - "external/mac/include/openssl/bio.h", - "external/mac/include/openssl/blowfish.h", - "external/mac/include/openssl/bn.h", - "external/mac/include/openssl/buffer.h", - "external/mac/include/openssl/camellia.h", - "external/mac/include/openssl/cast.h", - "external/mac/include/openssl/cmac.h", - "external/mac/include/openssl/cms.h", - "external/mac/include/openssl/comp.h", - "external/mac/include/openssl/conf.h", - "external/mac/include/openssl/conf_api.h", - "external/mac/include/openssl/crypto.h", - "external/mac/include/openssl/ct.h", - "external/mac/include/openssl/des.h", - "external/mac/include/openssl/dh.h", - "external/mac/include/openssl/dsa.h", - "external/mac/include/openssl/dtls1.h", - "external/mac/include/openssl/e_os2.h", - "external/mac/include/openssl/ebcdic.h", - "external/mac/include/openssl/ec.h", - "external/mac/include/openssl/ecdh.h", - "external/mac/include/openssl/ecdsa.h", - "external/mac/include/openssl/engine.h", - "external/mac/include/openssl/err.h", - "external/mac/include/openssl/evp.h", - "external/mac/include/openssl/hmac.h", - "external/mac/include/openssl/idea.h", - "external/mac/include/openssl/kdf.h", - "external/mac/include/openssl/lhash.h", - "external/mac/include/openssl/md2.h", - "external/mac/include/openssl/md4.h", - "external/mac/include/openssl/md5.h", - "external/mac/include/openssl/mdc2.h", - "external/mac/include/openssl/modes.h", - "external/mac/include/openssl/obj_mac.h", - "external/mac/include/openssl/objects.h", - "external/mac/include/openssl/ocsp.h", - "external/mac/include/openssl/opensslconf.h", - "external/mac/include/openssl/opensslv.h", - "external/mac/include/openssl/ossl_typ.h", - "external/mac/include/openssl/pem.h", - "external/mac/include/openssl/pem2.h", - "external/mac/include/openssl/pkcs12.h", - "external/mac/include/openssl/pkcs7.h", - "external/mac/include/openssl/rand.h", - "external/mac/include/openssl/rc2.h", - "external/mac/include/openssl/rc4.h", - "external/mac/include/openssl/rc5.h", - "external/mac/include/openssl/ripemd.h", - "external/mac/include/openssl/rsa.h", - "external/mac/include/openssl/safestack.h", - "external/mac/include/openssl/seed.h", - "external/mac/include/openssl/sha.h", - "external/mac/include/openssl/srp.h", - "external/mac/include/openssl/srtp.h", - "external/mac/include/openssl/ssl.h", - "external/mac/include/openssl/ssl2.h", - "external/mac/include/openssl/ssl3.h", - "external/mac/include/openssl/stack.h", - "external/mac/include/openssl/symhacks.h", - "external/mac/include/openssl/tls1.h", - "external/mac/include/openssl/ts.h", - "external/mac/include/openssl/txt_db.h", - "external/mac/include/openssl/ui.h", - "external/mac/include/openssl/whrlpool.h", - "external/mac/include/openssl/x509.h", - "external/mac/include/openssl/x509_vfy.h", - "external/mac/include/openssl/x509v3.h", - "external/mac/include/png/png.h", - "external/mac/include/png/pngconf.h", - "external/mac/include/png/pnglibconf.h", - "external/mac/include/pvrsdk/CL/cl.h", - "external/mac/include/pvrsdk/CL/cl2.hpp", - "external/mac/include/pvrsdk/CL/cl_d3d10.h", - "external/mac/include/pvrsdk/CL/cl_d3d11.h", - "external/mac/include/pvrsdk/CL/cl_dx9_media_sharing.h", - "external/mac/include/pvrsdk/CL/cl_egl.h", - "external/mac/include/pvrsdk/CL/cl_ext.h", - "external/mac/include/pvrsdk/CL/cl_gl.h", - "external/mac/include/pvrsdk/CL/cl_gl_ext.h", - "external/mac/include/pvrsdk/CL/cl_platform.h", - "external/mac/include/pvrsdk/CL/opencl.h", - "external/mac/include/pvrsdk/DynamicEgl.h", - "external/mac/include/pvrsdk/DynamicGles.h", - "external/mac/include/pvrsdk/DynamicOCL.h", - "external/mac/include/pvrsdk/EGL/egl.h", - "external/mac/include/pvrsdk/EGL/eglext.h", - "external/mac/include/pvrsdk/EGL/eglplatform.h", - "external/mac/include/pvrsdk/GLES/egl.h", - "external/mac/include/pvrsdk/GLES/gl.h", - "external/mac/include/pvrsdk/GLES/glext.h", - "external/mac/include/pvrsdk/GLES/glplatform.h", - "external/mac/include/pvrsdk/GLES2/gl2.h", - "external/mac/include/pvrsdk/GLES2/gl2ext.h", - "external/mac/include/pvrsdk/GLES2/gl2platform.h", - "external/mac/include/pvrsdk/GLES3/gl3.h", - "external/mac/include/pvrsdk/GLES3/gl31.h", - "external/mac/include/pvrsdk/GLES3/gl32.h", - "external/mac/include/pvrsdk/GLES3/gl3platform.h", - "external/mac/include/pvrsdk/KHR/khrplatform.h", - "external/mac/include/pvrsdk/PVRScopeComms.h", - "external/mac/include/pvrsdk/PVRScopeStats.h", - "external/mac/include/pvrsdk/pvr_openlib.h", - "external/mac/include/pvrsdk/sdkver.h", - "external/mac/include/pvrsdk/vk_bindings.h", - "external/mac/include/pvrsdk/vk_bindings_helper.h", - "external/mac/include/pvrsdk/vulkan/vk_icd.h", - "external/mac/include/pvrsdk/vulkan/vk_layer.h", - "external/mac/include/pvrsdk/vulkan/vk_platform.h", - "external/mac/include/pvrsdk/vulkan/vulkan.h", - "external/mac/include/pvrsdk/vulkan/vulkan_android.h", - "external/mac/include/pvrsdk/vulkan/vulkan_core.h", - "external/mac/include/pvrsdk/vulkan/vulkan_ios.h", - "external/mac/include/pvrsdk/vulkan/vulkan_macos.h", - "external/mac/include/pvrsdk/vulkan/vulkan_mir.h", - "external/mac/include/pvrsdk/vulkan/vulkan_vi.h", - "external/mac/include/pvrsdk/vulkan/vulkan_wayland.h", - "external/mac/include/pvrsdk/vulkan/vulkan_win32.h", - "external/mac/include/pvrsdk/vulkan/vulkan_xcb.h", - "external/mac/include/pvrsdk/vulkan/vulkan_xlib.h", - "external/mac/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", - "external/mac/include/spirv_cross/GLSL.std.450.h", - "external/mac/include/spirv_cross/spirv.h", - "external/mac/include/spirv_cross/spirv.hpp", - "external/mac/include/spirv_cross/spirv_cfg.hpp", - "external/mac/include/spirv_cross/spirv_common.hpp", - "external/mac/include/spirv_cross/spirv_cpp.hpp", - "external/mac/include/spirv_cross/spirv_cross.hpp", - "external/mac/include/spirv_cross/spirv_cross_c.h", - "external/mac/include/spirv_cross/spirv_cross_containers.hpp", - "external/mac/include/spirv_cross/spirv_cross_error_handling.hpp", - "external/mac/include/spirv_cross/spirv_cross_parsed_ir.hpp", - "external/mac/include/spirv_cross/spirv_cross_util.hpp", - "external/mac/include/spirv_cross/spirv_glsl.hpp", - "external/mac/include/spirv_cross/spirv_hlsl.hpp", - "external/mac/include/spirv_cross/spirv_msl.hpp", - "external/mac/include/spirv_cross/spirv_parser.hpp", - "external/mac/include/spirv_cross/spirv_reflect.hpp", - "external/mac/include/uv/uv.h", - "external/mac/include/uv/uv/aix.h", - "external/mac/include/uv/uv/android-ifaddrs.h", - "external/mac/include/uv/uv/bsd.h", - "external/mac/include/uv/uv/darwin.h", - "external/mac/include/uv/uv/errno.h", - "external/mac/include/uv/uv/linux.h", - "external/mac/include/uv/uv/os390.h", - "external/mac/include/uv/uv/posix.h", - "external/mac/include/uv/uv/pthread-barrier.h", - "external/mac/include/uv/uv/stdint-msvc2008.h", - "external/mac/include/uv/uv/sunos.h", - "external/mac/include/uv/uv/threadpool.h", - "external/mac/include/uv/uv/tree.h", - "external/mac/include/uv/uv/unix.h", - "external/mac/include/uv/uv/version.h", - "external/mac/include/uv/uv/win.h", - "external/mac/include/v8/libplatform/libplatform-export.h", - "external/mac/include/v8/libplatform/libplatform.h", - "external/mac/include/v8/libplatform/v8-tracing.h", - "external/mac/include/v8/v8-inspector-protocol.h", - "external/mac/include/v8/v8-inspector.h", - "external/mac/include/v8/v8-internal.h", - "external/mac/include/v8/v8-platform.h", - "external/mac/include/v8/v8-profiler.h", - "external/mac/include/v8/v8-testing.h", - "external/mac/include/v8/v8-util.h", - "external/mac/include/v8/v8-value-serializer-version.h", - "external/mac/include/v8/v8-version-string.h", - "external/mac/include/v8/v8-version.h", - "external/mac/include/v8/v8-wasm-trap-handler-posix.h", - "external/mac/include/v8/v8-wasm-trap-handler-win.h", - "external/mac/include/v8/v8.h", - "external/mac/include/v8/v8config.h", - "external/mac/include/webp/decode.h", - "external/mac/include/webp/encode.h", - "external/mac/include/webp/types.h", - "external/mac/include/websockets/libwebsockets.h", - "external/mac/include/websockets/lws_config.h", - "external/mac/include/zlib/zconf.h", - "external/mac/include/zlib/zlib.h", - "external/mac/libs/glslang/libOGLCompiler.a", - "external/mac/libs/glslang/libOSDependent.a", - "external/mac/libs/glslang/libSPIRV.a", - "external/mac/libs/glslang/libglslang-default-resource-limits.a", - "external/mac/libs/glslang/libglslang.a", - "external/mac/libs/libEGL.dylib", - "external/mac/libs/libGLESv2.dylib", - "external/mac/libs/libcrypto.a", - "external/mac/libs/libcurl.a", - "external/mac/libs/libfreetype.a", - "external/mac/libs/libinspector.a", - "external/mac/libs/libjpeg.a", - "external/mac/libs/libpng.a", - "external/mac/libs/libspirv-cross-core.a", - "external/mac/libs/libspirv-cross-glsl.a", - "external/mac/libs/libspirv-cross-msl.a", - "external/mac/libs/libssl.a", - "external/mac/libs/libtbb_static.a", - "external/mac/libs/libtbbmalloc_proxy_static.a", - "external/mac/libs/libtbbmalloc_static.a", - "external/mac/libs/libuv_a.a", - "external/mac/libs/libv8_monolith.a", - "external/mac/libs/libwebp.a", - "external/mac/libs/libwebsockets.a", - "external/mac/libs/libz.a", - "external/sources/CMakeLists.txt", - "external/sources/ConvertUTF/CMakeLists.txt", - "external/sources/ConvertUTF/ConvertUTF.c", - "external/sources/ConvertUTF/ConvertUTF.h", - "external/sources/ConvertUTF/ConvertUTFWrapper.cpp", - "external/sources/SocketRocket/CMakeLists.txt", - "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.h", - "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.m", - "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumer.h", - "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumer.m", - "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumerPool.h", - "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumerPool.m", - "external/sources/SocketRocket/Internal/NSRunLoop+SRWebSocketPrivate.h", - "external/sources/SocketRocket/Internal/NSURLRequest+SRWebSocketPrivate.h", - "external/sources/SocketRocket/Internal/Proxy/SRProxyConnect.h", - "external/sources/SocketRocket/Internal/Proxy/SRProxyConnect.m", - "external/sources/SocketRocket/Internal/RunLoop/SRRunLoopThread.h", - "external/sources/SocketRocket/Internal/RunLoop/SRRunLoopThread.m", - "external/sources/SocketRocket/Internal/SRConstants.h", - "external/sources/SocketRocket/Internal/SRConstants.m", - "external/sources/SocketRocket/Internal/Security/SRPinningSecurityPolicy.h", - "external/sources/SocketRocket/Internal/Security/SRPinningSecurityPolicy.m", - "external/sources/SocketRocket/Internal/Utilities/SRError.h", - "external/sources/SocketRocket/Internal/Utilities/SRError.m", - "external/sources/SocketRocket/Internal/Utilities/SRHTTPConnectMessage.h", - "external/sources/SocketRocket/Internal/Utilities/SRHTTPConnectMessage.m", - "external/sources/SocketRocket/Internal/Utilities/SRHash.h", - "external/sources/SocketRocket/Internal/Utilities/SRHash.m", - "external/sources/SocketRocket/Internal/Utilities/SRLog.h", - "external/sources/SocketRocket/Internal/Utilities/SRLog.m", - "external/sources/SocketRocket/Internal/Utilities/SRMutex.h", - "external/sources/SocketRocket/Internal/Utilities/SRMutex.m", - "external/sources/SocketRocket/Internal/Utilities/SRRandom.h", - "external/sources/SocketRocket/Internal/Utilities/SRRandom.m", - "external/sources/SocketRocket/Internal/Utilities/SRSIMDHelpers.h", - "external/sources/SocketRocket/Internal/Utilities/SRSIMDHelpers.m", - "external/sources/SocketRocket/Internal/Utilities/SRURLUtilities.h", - "external/sources/SocketRocket/Internal/Utilities/SRURLUtilities.m", - "external/sources/SocketRocket/NSRunLoop+SRWebSocket.h", - "external/sources/SocketRocket/NSRunLoop+SRWebSocket.m", - "external/sources/SocketRocket/NSURLRequest+SRWebSocket.h", - "external/sources/SocketRocket/NSURLRequest+SRWebSocket.m", - "external/sources/SocketRocket/SRSecurityPolicy.h", - "external/sources/SocketRocket/SRSecurityPolicy.m", - "external/sources/SocketRocket/SRWebSocket.h", - "external/sources/SocketRocket/SRWebSocket.m", - "external/sources/SocketRocket/SocketRocket.h", - "external/sources/acl/compression/compress.h", - "external/sources/acl/compression/compression_level.h", - "external/sources/acl/compression/compression_settings.h", - "external/sources/acl/compression/convert.h", - "external/sources/acl/compression/impl/animated_track_utils.h", - "external/sources/acl/compression/impl/clip_context.h", - "external/sources/acl/compression/impl/compact_constant_streams.h", - "external/sources/acl/compression/impl/compress.impl.h", - "external/sources/acl/compression/impl/compression_settings.impl.h", - "external/sources/acl/compression/impl/constant_track_impl.h", - "external/sources/acl/compression/impl/convert.impl.h", - "external/sources/acl/compression/impl/convert_rotation_streams.h", - "external/sources/acl/compression/impl/normalize_streams.h", - "external/sources/acl/compression/impl/normalize_track_impl.h", - "external/sources/acl/compression/impl/quantize_streams.h", - "external/sources/acl/compression/impl/quantize_track_impl.h", - "external/sources/acl/compression/impl/sample_streams.h", - "external/sources/acl/compression/impl/segment_context.h", - "external/sources/acl/compression/impl/segment_streams.h", - "external/sources/acl/compression/impl/track.impl.h", - "external/sources/acl/compression/impl/track_array.impl.h", - "external/sources/acl/compression/impl/track_bit_rate_database.h", - "external/sources/acl/compression/impl/track_error.impl.h", - "external/sources/acl/compression/impl/track_list_context.h", - "external/sources/acl/compression/impl/track_range.h", - "external/sources/acl/compression/impl/track_range_impl.h", - "external/sources/acl/compression/impl/track_stream.h", - "external/sources/acl/compression/impl/transform_bit_rate_permutations.h", - "external/sources/acl/compression/impl/write_compression_stats_impl.h", - "external/sources/acl/compression/impl/write_decompression_stats.h", - "external/sources/acl/compression/impl/write_range_data.h", - "external/sources/acl/compression/impl/write_segment_data.h", - "external/sources/acl/compression/impl/write_stats.h", - "external/sources/acl/compression/impl/write_stream_bitsets.h", - "external/sources/acl/compression/impl/write_stream_data.h", - "external/sources/acl/compression/impl/write_track_data_impl.h", - "external/sources/acl/compression/impl/write_track_metadata.h", - "external/sources/acl/compression/output_stats.h", - "external/sources/acl/compression/track.h", - "external/sources/acl/compression/track_array.h", - "external/sources/acl/compression/track_error.h", - "external/sources/acl/compression/transform_error_metrics.h", - "external/sources/acl/compression/transform_pose_utils.h", - "external/sources/acl/core/additive_utils.h", - "external/sources/acl/core/algorithm_types.h", - "external/sources/acl/core/ansi_allocator.h", - "external/sources/acl/core/bit_manip_utils.h", - "external/sources/acl/core/bitset.h", - "external/sources/acl/core/buffer_tag.h", - "external/sources/acl/core/compressed_tracks.h", - "external/sources/acl/core/compressed_tracks_version.h", - "external/sources/acl/core/enum_utils.h", - "external/sources/acl/core/error.h", - "external/sources/acl/core/error_result.h", - "external/sources/acl/core/floating_point_exceptions.h", - "external/sources/acl/core/hash.h", - "external/sources/acl/core/iallocator.h", - "external/sources/acl/core/impl/compiler_utils.h", - "external/sources/acl/core/impl/compressed_headers.h", - "external/sources/acl/core/impl/compressed_tracks.impl.h", - "external/sources/acl/core/impl/debug_track_writer.h", - "external/sources/acl/core/impl/memory_cache.h", - "external/sources/acl/core/impl/track_desc.impl.h", - "external/sources/acl/core/impl/track_formats.impl.h", - "external/sources/acl/core/interpolation_utils.h", - "external/sources/acl/core/iterator.h", - "external/sources/acl/core/memory_utils.h", - "external/sources/acl/core/ptr_offset.h", - "external/sources/acl/core/range_reduction_types.h", - "external/sources/acl/core/scope_profiler.h", - "external/sources/acl/core/string.h", - "external/sources/acl/core/track_desc.h", - "external/sources/acl/core/track_formats.h", - "external/sources/acl/core/track_traits.h", - "external/sources/acl/core/track_types.h", - "external/sources/acl/core/track_writer.h", - "external/sources/acl/core/unique_ptr.h", - "external/sources/acl/core/utils.h", - "external/sources/acl/core/variable_bit_rates.h", - "external/sources/acl/decompression/decompress.h", - "external/sources/acl/decompression/impl/decompress.impl.h", - "external/sources/acl/decompression/impl/decompression_context_selector.h", - "external/sources/acl/decompression/impl/decompression_version_selector.h", - "external/sources/acl/decompression/impl/scalar_track_decompression.h", - "external/sources/acl/decompression/impl/track_cache.h", - "external/sources/acl/decompression/impl/transform_animated_track_cache.h", - "external/sources/acl/decompression/impl/transform_constant_track_cache.h", - "external/sources/acl/decompression/impl/transform_decompression_context.h", - "external/sources/acl/decompression/impl/transform_track_decompression.h", - "external/sources/acl/decompression/impl/universal_track_decompression.h", - "external/sources/acl/io/clip_reader.h", - "external/sources/acl/io/clip_reader_error.h", - "external/sources/acl/io/clip_writer.h", - "external/sources/acl/math/quat_packing.h", - "external/sources/acl/math/quatf.h", - "external/sources/acl/math/scalar_packing.h", - "external/sources/acl/math/vector4_packing.h", - "external/sources/acl/math/vector4f.h", - "external/sources/boost/boost/accumulators/accumulators.hpp", - "external/sources/boost/boost/accumulators/accumulators_fwd.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_base.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_concept.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_set.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/external_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/reference_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/value_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/depends_on.hpp", - "external/sources/boost/boost/accumulators/framework/external.hpp", - "external/sources/boost/boost/accumulators/framework/extractor.hpp", - "external/sources/boost/boost/accumulators/framework/features.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/sample.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/weight.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/weights.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function1.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function2.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function3.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function4.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function_n.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/pod_singleton.hpp", - "external/sources/boost/boost/accumulators/numeric/functional.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/complex.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/valarray.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/vector.hpp", - "external/sources/boost/boost/accumulators/numeric/functional_fwd.hpp", - "external/sources/boost/boost/accumulators/statistics.hpp", - "external/sources/boost/boost/accumulators/statistics/count.hpp", - "external/sources/boost/boost/accumulators/statistics/covariance.hpp", - "external/sources/boost/boost/accumulators/statistics/density.hpp", - "external/sources/boost/boost/accumulators/statistics/error_of.hpp", - "external/sources/boost/boost/accumulators/statistics/error_of_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/extended_p_square.hpp", - "external/sources/boost/boost/accumulators/statistics/extended_p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/kurtosis.hpp", - "external/sources/boost/boost/accumulators/statistics/max.hpp", - "external/sources/boost/boost/accumulators/statistics/mean.hpp", - "external/sources/boost/boost/accumulators/statistics/median.hpp", - "external/sources/boost/boost/accumulators/statistics/min.hpp", - "external/sources/boost/boost/accumulators/statistics/moment.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_cumul_dist.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_cumulative_distribution.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/parameters/quantile_probability.hpp", - "external/sources/boost/boost/accumulators/statistics/peaks_over_threshold.hpp", - "external/sources/boost/boost/accumulators/statistics/pot_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/pot_tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_count.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_moment.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_sum.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_variance.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_window.hpp", - "external/sources/boost/boost/accumulators/statistics/skewness.hpp", - "external/sources/boost/boost/accumulators/statistics/stats.hpp", - "external/sources/boost/boost/accumulators/statistics/sum.hpp", - "external/sources/boost/boost/accumulators/statistics/sum_kahan.hpp", - "external/sources/boost/boost/accumulators/statistics/tail.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_variate.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_variate_means.hpp", - "external/sources/boost/boost/accumulators/statistics/times2_iterator.hpp", - "external/sources/boost/boost/accumulators/statistics/variance.hpp", - "external/sources/boost/boost/accumulators/statistics/variates/covariate.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_covariance.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_density.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_extended_p_square.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_kurtosis.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_median.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_moment.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumul_dist.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumulative_distribution.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_peaks_over_threshold.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_skewness.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_sum.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_sum_kahan.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_variate_means.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_variance.hpp", - "external/sources/boost/boost/accumulators/statistics/with_error.hpp", - "external/sources/boost/boost/accumulators/statistics_fwd.hpp", - "external/sources/boost/boost/algorithm/algorithm.hpp", - "external/sources/boost/boost/algorithm/apply_permutation.hpp", - "external/sources/boost/boost/algorithm/clamp.hpp", - "external/sources/boost/boost/algorithm/cxx11/all_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/any_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/copy_if.hpp", - "external/sources/boost/boost/algorithm/cxx11/copy_n.hpp", - "external/sources/boost/boost/algorithm/cxx11/find_if_not.hpp", - "external/sources/boost/boost/algorithm/cxx11/iota.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_partitioned.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_permutation.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_sorted.hpp", - "external/sources/boost/boost/algorithm/cxx11/none_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/one_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/partition_copy.hpp", - "external/sources/boost/boost/algorithm/cxx11/partition_point.hpp", - "external/sources/boost/boost/algorithm/cxx14/equal.hpp", - "external/sources/boost/boost/algorithm/cxx14/is_permutation.hpp", - "external/sources/boost/boost/algorithm/cxx14/mismatch.hpp", - "external/sources/boost/boost/algorithm/cxx17/exclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/for_each_n.hpp", - "external/sources/boost/boost/algorithm/cxx17/inclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/reduce.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_exclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_inclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_reduce.hpp", - "external/sources/boost/boost/algorithm/find_backward.hpp", - "external/sources/boost/boost/algorithm/find_not.hpp", - "external/sources/boost/boost/algorithm/gather.hpp", - "external/sources/boost/boost/algorithm/hex.hpp", - "external/sources/boost/boost/algorithm/is_palindrome.hpp", - "external/sources/boost/boost/algorithm/is_partitioned_until.hpp", - "external/sources/boost/boost/algorithm/minmax.hpp", - "external/sources/boost/boost/algorithm/minmax_element.hpp", - "external/sources/boost/boost/algorithm/searching/boyer_moore.hpp", - "external/sources/boost/boost/algorithm/searching/boyer_moore_horspool.hpp", - "external/sources/boost/boost/algorithm/searching/detail/bm_traits.hpp", - "external/sources/boost/boost/algorithm/searching/detail/debugging.hpp", - "external/sources/boost/boost/algorithm/searching/knuth_morris_pratt.hpp", - "external/sources/boost/boost/algorithm/sort_subrange.hpp", - "external/sources/boost/boost/algorithm/string.hpp", - "external/sources/boost/boost/algorithm/string/case_conv.hpp", - "external/sources/boost/boost/algorithm/string/classification.hpp", - "external/sources/boost/boost/algorithm/string/compare.hpp", - "external/sources/boost/boost/algorithm/string/concept.hpp", - "external/sources/boost/boost/algorithm/string/config.hpp", - "external/sources/boost/boost/algorithm/string/constants.hpp", - "external/sources/boost/boost/algorithm/string/detail/case_conv.hpp", - "external/sources/boost/boost/algorithm/string/detail/classification.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format_all.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format_store.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_iterator.hpp", - "external/sources/boost/boost/algorithm/string/detail/finder.hpp", - "external/sources/boost/boost/algorithm/string/detail/finder_regex.hpp", - "external/sources/boost/boost/algorithm/string/detail/formatter.hpp", - "external/sources/boost/boost/algorithm/string/detail/formatter_regex.hpp", - "external/sources/boost/boost/algorithm/string/detail/predicate.hpp", - "external/sources/boost/boost/algorithm/string/detail/replace_storage.hpp", - "external/sources/boost/boost/algorithm/string/detail/sequence.hpp", - "external/sources/boost/boost/algorithm/string/detail/trim.hpp", - "external/sources/boost/boost/algorithm/string/detail/util.hpp", - "external/sources/boost/boost/algorithm/string/erase.hpp", - "external/sources/boost/boost/algorithm/string/find.hpp", - "external/sources/boost/boost/algorithm/string/find_format.hpp", - "external/sources/boost/boost/algorithm/string/find_iterator.hpp", - "external/sources/boost/boost/algorithm/string/finder.hpp", - "external/sources/boost/boost/algorithm/string/formatter.hpp", - "external/sources/boost/boost/algorithm/string/iter_find.hpp", - "external/sources/boost/boost/algorithm/string/join.hpp", - "external/sources/boost/boost/algorithm/string/predicate.hpp", - "external/sources/boost/boost/algorithm/string/predicate_facade.hpp", - "external/sources/boost/boost/algorithm/string/regex.hpp", - "external/sources/boost/boost/algorithm/string/regex_find_format.hpp", - "external/sources/boost/boost/algorithm/string/replace.hpp", - "external/sources/boost/boost/algorithm/string/sequence_traits.hpp", - "external/sources/boost/boost/algorithm/string/split.hpp", - "external/sources/boost/boost/algorithm/string/std/list_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/rope_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/slist_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/string_traits.hpp", - "external/sources/boost/boost/algorithm/string/std_containers_traits.hpp", - "external/sources/boost/boost/algorithm/string/trim.hpp", - "external/sources/boost/boost/algorithm/string/trim_all.hpp", - "external/sources/boost/boost/algorithm/string/yes_no_type.hpp", - "external/sources/boost/boost/algorithm/string_regex.hpp", - "external/sources/boost/boost/align.hpp", - "external/sources/boost/boost/align/align.hpp", - "external/sources/boost/boost/align/align_down.hpp", - "external/sources/boost/boost/align/align_up.hpp", - "external/sources/boost/boost/align/aligned_alloc.hpp", - "external/sources/boost/boost/align/aligned_allocator.hpp", - "external/sources/boost/boost/align/aligned_allocator_adaptor.hpp", - "external/sources/boost/boost/align/aligned_allocator_adaptor_forward.hpp", - "external/sources/boost/boost/align/aligned_allocator_forward.hpp", - "external/sources/boost/boost/align/aligned_delete.hpp", - "external/sources/boost/boost/align/aligned_delete_forward.hpp", - "external/sources/boost/boost/align/alignment_of.hpp", - "external/sources/boost/boost/align/alignment_of_forward.hpp", - "external/sources/boost/boost/align/assume_aligned.hpp", - "external/sources/boost/boost/align/detail/add_reference.hpp", - "external/sources/boost/boost/align/detail/align.hpp", - "external/sources/boost/boost/align/detail/align_cxx11.hpp", - "external/sources/boost/boost/align/detail/align_down.hpp", - "external/sources/boost/boost/align/detail/align_up.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_android.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_macos.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_mingw.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_msvc.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_new.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_posix.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_sunos.hpp", - "external/sources/boost/boost/align/detail/alignment_of.hpp", - "external/sources/boost/boost/align/detail/alignment_of_clang.hpp", - "external/sources/boost/boost/align/detail/alignment_of_codegear.hpp", - "external/sources/boost/boost/align/detail/alignment_of_cxx11.hpp", - "external/sources/boost/boost/align/detail/alignment_of_gcc.hpp", - "external/sources/boost/boost/align/detail/alignment_of_msvc.hpp", - "external/sources/boost/boost/align/detail/assume_aligned.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_clang.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_gcc.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_intel.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_msvc.hpp", - "external/sources/boost/boost/align/detail/element_type.hpp", - "external/sources/boost/boost/align/detail/integral_constant.hpp", - "external/sources/boost/boost/align/detail/is_aligned.hpp", - "external/sources/boost/boost/align/detail/is_alignment.hpp", - "external/sources/boost/boost/align/detail/is_alignment_constant.hpp", - "external/sources/boost/boost/align/detail/max_align.hpp", - "external/sources/boost/boost/align/detail/max_objects.hpp", - "external/sources/boost/boost/align/detail/max_size.hpp", - "external/sources/boost/boost/align/detail/min_size.hpp", - "external/sources/boost/boost/align/detail/not_pointer.hpp", - "external/sources/boost/boost/align/detail/throw_exception.hpp", - "external/sources/boost/boost/align/is_aligned.hpp", - "external/sources/boost/boost/aligned_storage.hpp", - "external/sources/boost/boost/any.hpp", - "external/sources/boost/boost/archive/archive_exception.hpp", - "external/sources/boost/boost/archive/basic_archive.hpp", - "external/sources/boost/boost/archive/basic_binary_iarchive.hpp", - "external/sources/boost/boost/archive/basic_binary_iprimitive.hpp", - "external/sources/boost/boost/archive/basic_binary_oarchive.hpp", - "external/sources/boost/boost/archive/basic_binary_oprimitive.hpp", - "external/sources/boost/boost/archive/basic_streambuf_locale_saver.hpp", - "external/sources/boost/boost/archive/basic_text_iarchive.hpp", - "external/sources/boost/boost/archive/basic_text_iprimitive.hpp", - "external/sources/boost/boost/archive/basic_text_oarchive.hpp", - "external/sources/boost/boost/archive/basic_text_oprimitive.hpp", - "external/sources/boost/boost/archive/basic_xml_archive.hpp", - "external/sources/boost/boost/archive/basic_xml_iarchive.hpp", - "external/sources/boost/boost/archive/basic_xml_oarchive.hpp", - "external/sources/boost/boost/archive/binary_iarchive.hpp", - "external/sources/boost/boost/archive/binary_iarchive_impl.hpp", - "external/sources/boost/boost/archive/binary_oarchive.hpp", - "external/sources/boost/boost/archive/binary_oarchive_impl.hpp", - "external/sources/boost/boost/archive/binary_wiarchive.hpp", - "external/sources/boost/boost/archive/binary_woarchive.hpp", - "external/sources/boost/boost/archive/codecvt_null.hpp", - "external/sources/boost/boost/archive/detail/abi_prefix.hpp", - "external/sources/boost/boost/archive/detail/abi_suffix.hpp", - "external/sources/boost/boost/archive/detail/archive_serializer_map.hpp", - "external/sources/boost/boost/archive/detail/auto_link_archive.hpp", - "external/sources/boost/boost/archive/detail/auto_link_warchive.hpp", - "external/sources/boost/boost/archive/detail/basic_iarchive.hpp", - "external/sources/boost/boost/archive/detail/basic_iserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_oarchive.hpp", - "external/sources/boost/boost/archive/detail/basic_oserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_pointer_iserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_pointer_oserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_serializer.hpp", - "external/sources/boost/boost/archive/detail/basic_serializer_map.hpp", - "external/sources/boost/boost/archive/detail/check.hpp", - "external/sources/boost/boost/archive/detail/common_iarchive.hpp", - "external/sources/boost/boost/archive/detail/common_oarchive.hpp", - "external/sources/boost/boost/archive/detail/decl.hpp", - "external/sources/boost/boost/archive/detail/helper_collection.hpp", - "external/sources/boost/boost/archive/detail/interface_iarchive.hpp", - "external/sources/boost/boost/archive/detail/interface_oarchive.hpp", - "external/sources/boost/boost/archive/detail/iserializer.hpp", - "external/sources/boost/boost/archive/detail/oserializer.hpp", - "external/sources/boost/boost/archive/detail/polymorphic_iarchive_route.hpp", - "external/sources/boost/boost/archive/detail/polymorphic_oarchive_route.hpp", - "external/sources/boost/boost/archive/detail/register_archive.hpp", - "external/sources/boost/boost/archive/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/archive/dinkumware.hpp", - "external/sources/boost/boost/archive/impl/archive_serializer_map.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_iprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_oarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_oprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_iprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_oarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_oprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_xml_grammar.hpp", - "external/sources/boost/boost/archive/impl/basic_xml_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_xml_oarchive.ipp", - "external/sources/boost/boost/archive/impl/text_iarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_oarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_wiarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_woarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_iarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_oarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_wiarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_woarchive_impl.ipp", - "external/sources/boost/boost/archive/iterators/base64_exception.hpp", - "external/sources/boost/boost/archive/iterators/base64_from_binary.hpp", - "external/sources/boost/boost/archive/iterators/binary_from_base64.hpp", - "external/sources/boost/boost/archive/iterators/dataflow.hpp", - "external/sources/boost/boost/archive/iterators/dataflow_exception.hpp", - "external/sources/boost/boost/archive/iterators/escape.hpp", - "external/sources/boost/boost/archive/iterators/insert_linebreaks.hpp", - "external/sources/boost/boost/archive/iterators/istream_iterator.hpp", - "external/sources/boost/boost/archive/iterators/mb_from_wchar.hpp", - "external/sources/boost/boost/archive/iterators/ostream_iterator.hpp", - "external/sources/boost/boost/archive/iterators/remove_whitespace.hpp", - "external/sources/boost/boost/archive/iterators/transform_width.hpp", - "external/sources/boost/boost/archive/iterators/unescape.hpp", - "external/sources/boost/boost/archive/iterators/wchar_from_mb.hpp", - "external/sources/boost/boost/archive/iterators/xml_escape.hpp", - "external/sources/boost/boost/archive/iterators/xml_unescape.hpp", - "external/sources/boost/boost/archive/iterators/xml_unescape_exception.hpp", - "external/sources/boost/boost/archive/polymorphic_binary_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_binary_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_wiarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_woarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_wiarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_woarchive.hpp", - "external/sources/boost/boost/archive/text_iarchive.hpp", - "external/sources/boost/boost/archive/text_oarchive.hpp", - "external/sources/boost/boost/archive/text_wiarchive.hpp", - "external/sources/boost/boost/archive/text_woarchive.hpp", - "external/sources/boost/boost/archive/tmpdir.hpp", - "external/sources/boost/boost/archive/wcslen.hpp", - "external/sources/boost/boost/archive/xml_archive_exception.hpp", - "external/sources/boost/boost/archive/xml_iarchive.hpp", - "external/sources/boost/boost/archive/xml_oarchive.hpp", - "external/sources/boost/boost/archive/xml_wiarchive.hpp", - "external/sources/boost/boost/archive/xml_woarchive.hpp", - "external/sources/boost/boost/array.hpp", - "external/sources/boost/boost/asio.hpp", - "external/sources/boost/boost/asio/any_io_executor.hpp", - "external/sources/boost/boost/asio/associated_allocator.hpp", - "external/sources/boost/boost/asio/associated_executor.hpp", - "external/sources/boost/boost/asio/async_result.hpp", - "external/sources/boost/boost/asio/awaitable.hpp", - "external/sources/boost/boost/asio/basic_datagram_socket.hpp", - "external/sources/boost/boost/asio/basic_deadline_timer.hpp", - "external/sources/boost/boost/asio/basic_io_object.hpp", - "external/sources/boost/boost/asio/basic_raw_socket.hpp", - "external/sources/boost/boost/asio/basic_seq_packet_socket.hpp", - "external/sources/boost/boost/asio/basic_serial_port.hpp", - "external/sources/boost/boost/asio/basic_signal_set.hpp", - "external/sources/boost/boost/asio/basic_socket.hpp", - "external/sources/boost/boost/asio/basic_socket_acceptor.hpp", - "external/sources/boost/boost/asio/basic_socket_iostream.hpp", - "external/sources/boost/boost/asio/basic_socket_streambuf.hpp", - "external/sources/boost/boost/asio/basic_stream_socket.hpp", - "external/sources/boost/boost/asio/basic_streambuf.hpp", - "external/sources/boost/boost/asio/basic_streambuf_fwd.hpp", - "external/sources/boost/boost/asio/basic_waitable_timer.hpp", - "external/sources/boost/boost/asio/bind_executor.hpp", - "external/sources/boost/boost/asio/buffer.hpp", - "external/sources/boost/boost/asio/buffered_read_stream.hpp", - "external/sources/boost/boost/asio/buffered_read_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffered_stream.hpp", - "external/sources/boost/boost/asio/buffered_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffered_write_stream.hpp", - "external/sources/boost/boost/asio/buffered_write_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffers_iterator.hpp", - "external/sources/boost/boost/asio/co_spawn.hpp", - "external/sources/boost/boost/asio/completion_condition.hpp", - "external/sources/boost/boost/asio/compose.hpp", - "external/sources/boost/boost/asio/connect.hpp", - "external/sources/boost/boost/asio/coroutine.hpp", - "external/sources/boost/boost/asio/deadline_timer.hpp", - "external/sources/boost/boost/asio/defer.hpp", - "external/sources/boost/boost/asio/detached.hpp", - "external/sources/boost/boost/asio/detail/array.hpp", - "external/sources/boost/boost/asio/detail/array_fwd.hpp", - "external/sources/boost/boost/asio/detail/assert.hpp", - "external/sources/boost/boost/asio/detail/atomic_count.hpp", - "external/sources/boost/boost/asio/detail/base_from_completion_cond.hpp", - "external/sources/boost/boost/asio/detail/bind_handler.hpp", - "external/sources/boost/boost/asio/detail/blocking_executor_op.hpp", - "external/sources/boost/boost/asio/detail/buffer_resize_guard.hpp", - "external/sources/boost/boost/asio/detail/buffer_sequence_adapter.hpp", - "external/sources/boost/boost/asio/detail/buffered_stream_storage.hpp", - "external/sources/boost/boost/asio/detail/bulk_executor_op.hpp", - "external/sources/boost/boost/asio/detail/call_stack.hpp", - "external/sources/boost/boost/asio/detail/chrono.hpp", - "external/sources/boost/boost/asio/detail/chrono_time_traits.hpp", - "external/sources/boost/boost/asio/detail/completion_handler.hpp", - "external/sources/boost/boost/asio/detail/concurrency_hint.hpp", - "external/sources/boost/boost/asio/detail/conditionally_enabled_event.hpp", - "external/sources/boost/boost/asio/detail/conditionally_enabled_mutex.hpp", - "external/sources/boost/boost/asio/detail/config.hpp", - "external/sources/boost/boost/asio/detail/consuming_buffers.hpp", - "external/sources/boost/boost/asio/detail/cstddef.hpp", - "external/sources/boost/boost/asio/detail/cstdint.hpp", - "external/sources/boost/boost/asio/detail/date_time_fwd.hpp", - "external/sources/boost/boost/asio/detail/deadline_timer_service.hpp", - "external/sources/boost/boost/asio/detail/dependent_type.hpp", - "external/sources/boost/boost/asio/detail/descriptor_ops.hpp", - "external/sources/boost/boost/asio/detail/descriptor_read_op.hpp", - "external/sources/boost/boost/asio/detail/descriptor_write_op.hpp", - "external/sources/boost/boost/asio/detail/dev_poll_reactor.hpp", - "external/sources/boost/boost/asio/detail/epoll_reactor.hpp", - "external/sources/boost/boost/asio/detail/event.hpp", - "external/sources/boost/boost/asio/detail/eventfd_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/executor_function.hpp", - "external/sources/boost/boost/asio/detail/executor_op.hpp", - "external/sources/boost/boost/asio/detail/fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/fenced_block.hpp", - "external/sources/boost/boost/asio/detail/functional.hpp", - "external/sources/boost/boost/asio/detail/future.hpp", - "external/sources/boost/boost/asio/detail/gcc_arm_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_hppa_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_sync_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_x86_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/global.hpp", - "external/sources/boost/boost/asio/detail/handler_alloc_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_cont_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_invoke_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_tracking.hpp", - "external/sources/boost/boost/asio/detail/handler_type_requirements.hpp", - "external/sources/boost/boost/asio/detail/handler_work.hpp", - "external/sources/boost/boost/asio/detail/hash_map.hpp", - "external/sources/boost/boost/asio/detail/impl/buffer_sequence_adapter.ipp", - "external/sources/boost/boost/asio/detail/impl/descriptor_ops.ipp", - "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/epoll_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/epoll_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/eventfd_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/handler_tracking.ipp", - "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/null_event.ipp", - "external/sources/boost/boost/asio/detail/impl/pipe_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_event.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_thread.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_tss_ptr.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_descriptor_service.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_serial_port_service.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_socket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/resolver_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/scheduler.ipp", - "external/sources/boost/boost/asio/detail/impl/select_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/select_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/service_registry.hpp", - "external/sources/boost/boost/asio/detail/impl/service_registry.ipp", - "external/sources/boost/boost/asio/detail/impl/signal_set_service.ipp", - "external/sources/boost/boost/asio/detail/impl/socket_ops.ipp", - "external/sources/boost/boost/asio/detail/impl/socket_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/strand_executor_service.hpp", - "external/sources/boost/boost/asio/detail/impl/strand_executor_service.ipp", - "external/sources/boost/boost/asio/detail/impl/strand_service.hpp", - "external/sources/boost/boost/asio/detail/impl/strand_service.ipp", - "external/sources/boost/boost/asio/detail/impl/throw_error.ipp", - "external/sources/boost/boost/asio/detail/impl/timer_queue_ptime.ipp", - "external/sources/boost/boost/asio/detail/impl/timer_queue_set.ipp", - "external/sources/boost/boost/asio/detail/impl/win_event.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_handle_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.hpp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_serial_port_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_socket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/win_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/win_object_handle_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_static_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/win_thread.ipp", - "external/sources/boost/boost/asio/detail/impl/win_tss_ptr.ipp", - "external/sources/boost/boost/asio/detail/impl/winrt_ssocket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.ipp", - "external/sources/boost/boost/asio/detail/impl/winsock_init.ipp", - "external/sources/boost/boost/asio/detail/io_control.hpp", - "external/sources/boost/boost/asio/detail/io_object_impl.hpp", - "external/sources/boost/boost/asio/detail/is_buffer_sequence.hpp", - "external/sources/boost/boost/asio/detail/is_executor.hpp", - "external/sources/boost/boost/asio/detail/keyword_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/kqueue_reactor.hpp", - "external/sources/boost/boost/asio/detail/limits.hpp", - "external/sources/boost/boost/asio/detail/local_free_on_block_exit.hpp", - "external/sources/boost/boost/asio/detail/macos_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/memory.hpp", - "external/sources/boost/boost/asio/detail/mutex.hpp", - "external/sources/boost/boost/asio/detail/non_const_lvalue.hpp", - "external/sources/boost/boost/asio/detail/noncopyable.hpp", - "external/sources/boost/boost/asio/detail/null_event.hpp", - "external/sources/boost/boost/asio/detail/null_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/null_global.hpp", - "external/sources/boost/boost/asio/detail/null_mutex.hpp", - "external/sources/boost/boost/asio/detail/null_reactor.hpp", - "external/sources/boost/boost/asio/detail/null_signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/null_socket_service.hpp", - "external/sources/boost/boost/asio/detail/null_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/null_thread.hpp", - "external/sources/boost/boost/asio/detail/null_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/object_pool.hpp", - "external/sources/boost/boost/asio/detail/old_win_sdk_compat.hpp", - "external/sources/boost/boost/asio/detail/op_queue.hpp", - "external/sources/boost/boost/asio/detail/operation.hpp", - "external/sources/boost/boost/asio/detail/pipe_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/pop_options.hpp", - "external/sources/boost/boost/asio/detail/posix_event.hpp", - "external/sources/boost/boost/asio/detail/posix_fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/posix_global.hpp", - "external/sources/boost/boost/asio/detail/posix_mutex.hpp", - "external/sources/boost/boost/asio/detail/posix_signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/posix_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/posix_thread.hpp", - "external/sources/boost/boost/asio/detail/posix_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/push_options.hpp", - "external/sources/boost/boost/asio/detail/reactive_descriptor_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_null_buffers_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_serial_port_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_accept_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recvfrom_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recvmsg_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_sendto_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_service_base.hpp", - "external/sources/boost/boost/asio/detail/reactive_wait_op.hpp", - "external/sources/boost/boost/asio/detail/reactor.hpp", - "external/sources/boost/boost/asio/detail/reactor_fwd.hpp", - "external/sources/boost/boost/asio/detail/reactor_op.hpp", - "external/sources/boost/boost/asio/detail/reactor_op_queue.hpp", - "external/sources/boost/boost/asio/detail/recycling_allocator.hpp", - "external/sources/boost/boost/asio/detail/regex_fwd.hpp", - "external/sources/boost/boost/asio/detail/resolve_endpoint_op.hpp", - "external/sources/boost/boost/asio/detail/resolve_op.hpp", - "external/sources/boost/boost/asio/detail/resolve_query_op.hpp", - "external/sources/boost/boost/asio/detail/resolver_service.hpp", - "external/sources/boost/boost/asio/detail/resolver_service_base.hpp", - "external/sources/boost/boost/asio/detail/scheduler.hpp", - "external/sources/boost/boost/asio/detail/scheduler_operation.hpp", - "external/sources/boost/boost/asio/detail/scheduler_thread_info.hpp", - "external/sources/boost/boost/asio/detail/scoped_lock.hpp", - "external/sources/boost/boost/asio/detail/scoped_ptr.hpp", - "external/sources/boost/boost/asio/detail/select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/select_reactor.hpp", - "external/sources/boost/boost/asio/detail/service_registry.hpp", - "external/sources/boost/boost/asio/detail/signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/signal_handler.hpp", - "external/sources/boost/boost/asio/detail/signal_init.hpp", - "external/sources/boost/boost/asio/detail/signal_op.hpp", - "external/sources/boost/boost/asio/detail/signal_set_service.hpp", - "external/sources/boost/boost/asio/detail/socket_holder.hpp", - "external/sources/boost/boost/asio/detail/socket_ops.hpp", - "external/sources/boost/boost/asio/detail/socket_option.hpp", - "external/sources/boost/boost/asio/detail/socket_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/socket_types.hpp", - "external/sources/boost/boost/asio/detail/solaris_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/source_location.hpp", - "external/sources/boost/boost/asio/detail/static_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_event.hpp", - "external/sources/boost/boost/asio/detail/std_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/std_global.hpp", - "external/sources/boost/boost/asio/detail/std_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_thread.hpp", - "external/sources/boost/boost/asio/detail/strand_executor_service.hpp", - "external/sources/boost/boost/asio/detail/strand_service.hpp", - "external/sources/boost/boost/asio/detail/string_view.hpp", - "external/sources/boost/boost/asio/detail/thread.hpp", - "external/sources/boost/boost/asio/detail/thread_context.hpp", - "external/sources/boost/boost/asio/detail/thread_group.hpp", - "external/sources/boost/boost/asio/detail/thread_info_base.hpp", - "external/sources/boost/boost/asio/detail/throw_error.hpp", - "external/sources/boost/boost/asio/detail/throw_exception.hpp", - "external/sources/boost/boost/asio/detail/timer_queue.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_base.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_ptime.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_set.hpp", - "external/sources/boost/boost/asio/detail/timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/timer_scheduler_fwd.hpp", - "external/sources/boost/boost/asio/detail/tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/type_traits.hpp", - "external/sources/boost/boost/asio/detail/variadic_templates.hpp", - "external/sources/boost/boost/asio/detail/wait_handler.hpp", - "external/sources/boost/boost/asio/detail/wait_op.hpp", - "external/sources/boost/boost/asio/detail/win_event.hpp", - "external/sources/boost/boost/asio/detail/win_fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/win_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/win_global.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_read_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_write_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_io_context.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_null_buffers_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_operation.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_overlapped_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_overlapped_ptr.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_serial_port_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_accept_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recvfrom_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recvmsg_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_service_base.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_thread_info.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_wait_op.hpp", - "external/sources/boost/boost/asio/detail/win_mutex.hpp", - "external/sources/boost/boost/asio/detail/win_object_handle_service.hpp", - "external/sources/boost/boost/asio/detail/win_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/win_thread.hpp", - "external/sources/boost/boost/asio/detail/win_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/winapp_thread.hpp", - "external/sources/boost/boost/asio/detail/wince_thread.hpp", - "external/sources/boost/boost/asio/detail/winrt_async_manager.hpp", - "external/sources/boost/boost/asio/detail/winrt_async_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_resolve_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_resolver_service.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_ssocket_service.hpp", - "external/sources/boost/boost/asio/detail/winrt_ssocket_service_base.hpp", - "external/sources/boost/boost/asio/detail/winrt_timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/winrt_utils.hpp", - "external/sources/boost/boost/asio/detail/winsock_init.hpp", - "external/sources/boost/boost/asio/detail/work_dispatcher.hpp", - "external/sources/boost/boost/asio/detail/wrapped_handler.hpp", - "external/sources/boost/boost/asio/dispatch.hpp", - "external/sources/boost/boost/asio/error.hpp", - "external/sources/boost/boost/asio/execution.hpp", - "external/sources/boost/boost/asio/execution/allocator.hpp", - "external/sources/boost/boost/asio/execution/any_executor.hpp", - "external/sources/boost/boost/asio/execution/bad_executor.hpp", - "external/sources/boost/boost/asio/execution/blocking.hpp", - "external/sources/boost/boost/asio/execution/blocking_adaptation.hpp", - "external/sources/boost/boost/asio/execution/bulk_execute.hpp", - "external/sources/boost/boost/asio/execution/bulk_guarantee.hpp", - "external/sources/boost/boost/asio/execution/connect.hpp", - "external/sources/boost/boost/asio/execution/context.hpp", - "external/sources/boost/boost/asio/execution/context_as.hpp", - "external/sources/boost/boost/asio/execution/detail/as_invocable.hpp", - "external/sources/boost/boost/asio/execution/detail/as_operation.hpp", - "external/sources/boost/boost/asio/execution/detail/as_receiver.hpp", - "external/sources/boost/boost/asio/execution/detail/bulk_sender.hpp", - "external/sources/boost/boost/asio/execution/detail/submit_receiver.hpp", - "external/sources/boost/boost/asio/execution/detail/void_receiver.hpp", - "external/sources/boost/boost/asio/execution/execute.hpp", - "external/sources/boost/boost/asio/execution/executor.hpp", - "external/sources/boost/boost/asio/execution/impl/bad_executor.ipp", - "external/sources/boost/boost/asio/execution/impl/receiver_invocation_error.ipp", - "external/sources/boost/boost/asio/execution/invocable_archetype.hpp", - "external/sources/boost/boost/asio/execution/mapping.hpp", - "external/sources/boost/boost/asio/execution/occupancy.hpp", - "external/sources/boost/boost/asio/execution/operation_state.hpp", - "external/sources/boost/boost/asio/execution/outstanding_work.hpp", - "external/sources/boost/boost/asio/execution/prefer_only.hpp", - "external/sources/boost/boost/asio/execution/receiver.hpp", - "external/sources/boost/boost/asio/execution/receiver_invocation_error.hpp", - "external/sources/boost/boost/asio/execution/relationship.hpp", - "external/sources/boost/boost/asio/execution/schedule.hpp", - "external/sources/boost/boost/asio/execution/scheduler.hpp", - "external/sources/boost/boost/asio/execution/sender.hpp", - "external/sources/boost/boost/asio/execution/set_done.hpp", - "external/sources/boost/boost/asio/execution/set_error.hpp", - "external/sources/boost/boost/asio/execution/set_value.hpp", - "external/sources/boost/boost/asio/execution/start.hpp", - "external/sources/boost/boost/asio/execution/submit.hpp", - "external/sources/boost/boost/asio/execution_context.hpp", - "external/sources/boost/boost/asio/executor.hpp", - "external/sources/boost/boost/asio/executor_work_guard.hpp", - "external/sources/boost/boost/asio/generic/basic_endpoint.hpp", - "external/sources/boost/boost/asio/generic/datagram_protocol.hpp", - "external/sources/boost/boost/asio/generic/detail/endpoint.hpp", - "external/sources/boost/boost/asio/generic/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/generic/raw_protocol.hpp", - "external/sources/boost/boost/asio/generic/seq_packet_protocol.hpp", - "external/sources/boost/boost/asio/generic/stream_protocol.hpp", - "external/sources/boost/boost/asio/handler_alloc_hook.hpp", - "external/sources/boost/boost/asio/handler_continuation_hook.hpp", - "external/sources/boost/boost/asio/handler_invoke_hook.hpp", - "external/sources/boost/boost/asio/high_resolution_timer.hpp", - "external/sources/boost/boost/asio/impl/awaitable.hpp", - "external/sources/boost/boost/asio/impl/buffered_read_stream.hpp", - "external/sources/boost/boost/asio/impl/buffered_write_stream.hpp", - "external/sources/boost/boost/asio/impl/co_spawn.hpp", - "external/sources/boost/boost/asio/impl/compose.hpp", - "external/sources/boost/boost/asio/impl/connect.hpp", - "external/sources/boost/boost/asio/impl/defer.hpp", - "external/sources/boost/boost/asio/impl/detached.hpp", - "external/sources/boost/boost/asio/impl/dispatch.hpp", - "external/sources/boost/boost/asio/impl/error.ipp", - "external/sources/boost/boost/asio/impl/execution_context.hpp", - "external/sources/boost/boost/asio/impl/execution_context.ipp", - "external/sources/boost/boost/asio/impl/executor.hpp", - "external/sources/boost/boost/asio/impl/executor.ipp", - "external/sources/boost/boost/asio/impl/handler_alloc_hook.ipp", - "external/sources/boost/boost/asio/impl/io_context.hpp", - "external/sources/boost/boost/asio/impl/io_context.ipp", - "external/sources/boost/boost/asio/impl/multiple_exceptions.ipp", - "external/sources/boost/boost/asio/impl/post.hpp", - "external/sources/boost/boost/asio/impl/read.hpp", - "external/sources/boost/boost/asio/impl/read_at.hpp", - "external/sources/boost/boost/asio/impl/read_until.hpp", - "external/sources/boost/boost/asio/impl/redirect_error.hpp", - "external/sources/boost/boost/asio/impl/serial_port_base.hpp", - "external/sources/boost/boost/asio/impl/serial_port_base.ipp", - "external/sources/boost/boost/asio/impl/spawn.hpp", - "external/sources/boost/boost/asio/impl/src.cpp", - "external/sources/boost/boost/asio/impl/src.hpp", - "external/sources/boost/boost/asio/impl/system_context.hpp", - "external/sources/boost/boost/asio/impl/system_context.ipp", - "external/sources/boost/boost/asio/impl/system_executor.hpp", - "external/sources/boost/boost/asio/impl/thread_pool.hpp", - "external/sources/boost/boost/asio/impl/thread_pool.ipp", - "external/sources/boost/boost/asio/impl/use_awaitable.hpp", - "external/sources/boost/boost/asio/impl/use_future.hpp", - "external/sources/boost/boost/asio/impl/write.hpp", - "external/sources/boost/boost/asio/impl/write_at.hpp", - "external/sources/boost/boost/asio/io_context.hpp", - "external/sources/boost/boost/asio/io_context_strand.hpp", - "external/sources/boost/boost/asio/io_service.hpp", - "external/sources/boost/boost/asio/io_service_strand.hpp", - "external/sources/boost/boost/asio/ip/address.hpp", - "external/sources/boost/boost/asio/ip/address_v4.hpp", - "external/sources/boost/boost/asio/ip/address_v4_iterator.hpp", - "external/sources/boost/boost/asio/ip/address_v4_range.hpp", - "external/sources/boost/boost/asio/ip/address_v6.hpp", - "external/sources/boost/boost/asio/ip/address_v6_iterator.hpp", - "external/sources/boost/boost/asio/ip/address_v6_range.hpp", - "external/sources/boost/boost/asio/ip/bad_address_cast.hpp", - "external/sources/boost/boost/asio/ip/basic_endpoint.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_entry.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_iterator.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_query.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_results.hpp", - "external/sources/boost/boost/asio/ip/detail/endpoint.hpp", - "external/sources/boost/boost/asio/ip/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/ip/detail/socket_option.hpp", - "external/sources/boost/boost/asio/ip/host_name.hpp", - "external/sources/boost/boost/asio/ip/icmp.hpp", - "external/sources/boost/boost/asio/ip/impl/address.hpp", - "external/sources/boost/boost/asio/ip/impl/address.ipp", - "external/sources/boost/boost/asio/ip/impl/address_v4.hpp", - "external/sources/boost/boost/asio/ip/impl/address_v4.ipp", - "external/sources/boost/boost/asio/ip/impl/address_v6.hpp", - "external/sources/boost/boost/asio/ip/impl/address_v6.ipp", - "external/sources/boost/boost/asio/ip/impl/basic_endpoint.hpp", - "external/sources/boost/boost/asio/ip/impl/host_name.ipp", - "external/sources/boost/boost/asio/ip/impl/network_v4.hpp", - "external/sources/boost/boost/asio/ip/impl/network_v4.ipp", - "external/sources/boost/boost/asio/ip/impl/network_v6.hpp", - "external/sources/boost/boost/asio/ip/impl/network_v6.ipp", - "external/sources/boost/boost/asio/ip/multicast.hpp", - "external/sources/boost/boost/asio/ip/network_v4.hpp", - "external/sources/boost/boost/asio/ip/network_v6.hpp", - "external/sources/boost/boost/asio/ip/resolver_base.hpp", - "external/sources/boost/boost/asio/ip/resolver_query_base.hpp", - "external/sources/boost/boost/asio/ip/tcp.hpp", - "external/sources/boost/boost/asio/ip/udp.hpp", - "external/sources/boost/boost/asio/ip/unicast.hpp", - "external/sources/boost/boost/asio/ip/v6_only.hpp", - "external/sources/boost/boost/asio/is_applicable_property.hpp", - "external/sources/boost/boost/asio/is_executor.hpp", - "external/sources/boost/boost/asio/is_read_buffered.hpp", - "external/sources/boost/boost/asio/is_write_buffered.hpp", - "external/sources/boost/boost/asio/local/basic_endpoint.hpp", - "external/sources/boost/boost/asio/local/connect_pair.hpp", - "external/sources/boost/boost/asio/local/datagram_protocol.hpp", - "external/sources/boost/boost/asio/local/detail/endpoint.hpp", - "external/sources/boost/boost/asio/local/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/local/stream_protocol.hpp", - "external/sources/boost/boost/asio/multiple_exceptions.hpp", - "external/sources/boost/boost/asio/packaged_task.hpp", - "external/sources/boost/boost/asio/placeholders.hpp", - "external/sources/boost/boost/asio/posix/basic_descriptor.hpp", - "external/sources/boost/boost/asio/posix/basic_stream_descriptor.hpp", - "external/sources/boost/boost/asio/posix/descriptor.hpp", - "external/sources/boost/boost/asio/posix/descriptor_base.hpp", - "external/sources/boost/boost/asio/posix/stream_descriptor.hpp", - "external/sources/boost/boost/asio/post.hpp", - "external/sources/boost/boost/asio/prefer.hpp", - "external/sources/boost/boost/asio/query.hpp", - "external/sources/boost/boost/asio/read.hpp", - "external/sources/boost/boost/asio/read_at.hpp", - "external/sources/boost/boost/asio/read_until.hpp", - "external/sources/boost/boost/asio/redirect_error.hpp", - "external/sources/boost/boost/asio/require.hpp", - "external/sources/boost/boost/asio/require_concept.hpp", - "external/sources/boost/boost/asio/serial_port.hpp", - "external/sources/boost/boost/asio/serial_port_base.hpp", - "external/sources/boost/boost/asio/signal_set.hpp", - "external/sources/boost/boost/asio/socket_base.hpp", - "external/sources/boost/boost/asio/spawn.hpp", - "external/sources/boost/boost/asio/ssl.hpp", - "external/sources/boost/boost/asio/ssl/context.hpp", - "external/sources/boost/boost/asio/ssl/context_base.hpp", - "external/sources/boost/boost/asio/ssl/detail/buffered_handshake_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/engine.hpp", - "external/sources/boost/boost/asio/ssl/detail/handshake_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/impl/engine.ipp", - "external/sources/boost/boost/asio/ssl/detail/impl/openssl_init.ipp", - "external/sources/boost/boost/asio/ssl/detail/io.hpp", - "external/sources/boost/boost/asio/ssl/detail/openssl_init.hpp", - "external/sources/boost/boost/asio/ssl/detail/openssl_types.hpp", - "external/sources/boost/boost/asio/ssl/detail/password_callback.hpp", - "external/sources/boost/boost/asio/ssl/detail/read_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/shutdown_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/stream_core.hpp", - "external/sources/boost/boost/asio/ssl/detail/verify_callback.hpp", - "external/sources/boost/boost/asio/ssl/detail/write_op.hpp", - "external/sources/boost/boost/asio/ssl/error.hpp", - "external/sources/boost/boost/asio/ssl/host_name_verification.hpp", - "external/sources/boost/boost/asio/ssl/impl/context.hpp", - "external/sources/boost/boost/asio/ssl/impl/context.ipp", - "external/sources/boost/boost/asio/ssl/impl/error.ipp", - "external/sources/boost/boost/asio/ssl/impl/host_name_verification.ipp", - "external/sources/boost/boost/asio/ssl/impl/rfc2818_verification.ipp", - "external/sources/boost/boost/asio/ssl/impl/src.hpp", - "external/sources/boost/boost/asio/ssl/rfc2818_verification.hpp", - "external/sources/boost/boost/asio/ssl/stream.hpp", - "external/sources/boost/boost/asio/ssl/stream_base.hpp", - "external/sources/boost/boost/asio/ssl/verify_context.hpp", - "external/sources/boost/boost/asio/ssl/verify_mode.hpp", - "external/sources/boost/boost/asio/static_thread_pool.hpp", - "external/sources/boost/boost/asio/steady_timer.hpp", - "external/sources/boost/boost/asio/strand.hpp", - "external/sources/boost/boost/asio/streambuf.hpp", - "external/sources/boost/boost/asio/system_context.hpp", - "external/sources/boost/boost/asio/system_executor.hpp", - "external/sources/boost/boost/asio/system_timer.hpp", - "external/sources/boost/boost/asio/this_coro.hpp", - "external/sources/boost/boost/asio/thread_pool.hpp", - "external/sources/boost/boost/asio/time_traits.hpp", - "external/sources/boost/boost/asio/traits/bulk_execute_free.hpp", - "external/sources/boost/boost/asio/traits/bulk_execute_member.hpp", - "external/sources/boost/boost/asio/traits/connect_free.hpp", - "external/sources/boost/boost/asio/traits/connect_member.hpp", - "external/sources/boost/boost/asio/traits/equality_comparable.hpp", - "external/sources/boost/boost/asio/traits/execute_free.hpp", - "external/sources/boost/boost/asio/traits/execute_member.hpp", - "external/sources/boost/boost/asio/traits/prefer_free.hpp", - "external/sources/boost/boost/asio/traits/prefer_member.hpp", - "external/sources/boost/boost/asio/traits/query_free.hpp", - "external/sources/boost/boost/asio/traits/query_member.hpp", - "external/sources/boost/boost/asio/traits/query_static_constexpr_member.hpp", - "external/sources/boost/boost/asio/traits/require_concept_free.hpp", - "external/sources/boost/boost/asio/traits/require_concept_member.hpp", - "external/sources/boost/boost/asio/traits/require_free.hpp", - "external/sources/boost/boost/asio/traits/require_member.hpp", - "external/sources/boost/boost/asio/traits/schedule_free.hpp", - "external/sources/boost/boost/asio/traits/schedule_member.hpp", - "external/sources/boost/boost/asio/traits/set_done_free.hpp", - "external/sources/boost/boost/asio/traits/set_done_member.hpp", - "external/sources/boost/boost/asio/traits/set_error_free.hpp", - "external/sources/boost/boost/asio/traits/set_error_member.hpp", - "external/sources/boost/boost/asio/traits/set_value_free.hpp", - "external/sources/boost/boost/asio/traits/set_value_member.hpp", - "external/sources/boost/boost/asio/traits/start_free.hpp", - "external/sources/boost/boost/asio/traits/start_member.hpp", - "external/sources/boost/boost/asio/traits/static_query.hpp", - "external/sources/boost/boost/asio/traits/static_require.hpp", - "external/sources/boost/boost/asio/traits/static_require_concept.hpp", - "external/sources/boost/boost/asio/traits/submit_free.hpp", - "external/sources/boost/boost/asio/traits/submit_member.hpp", - "external/sources/boost/boost/asio/ts/buffer.hpp", - "external/sources/boost/boost/asio/ts/executor.hpp", - "external/sources/boost/boost/asio/ts/internet.hpp", - "external/sources/boost/boost/asio/ts/io_context.hpp", - "external/sources/boost/boost/asio/ts/net.hpp", - "external/sources/boost/boost/asio/ts/netfwd.hpp", - "external/sources/boost/boost/asio/ts/socket.hpp", - "external/sources/boost/boost/asio/ts/timer.hpp", - "external/sources/boost/boost/asio/unyield.hpp", - "external/sources/boost/boost/asio/use_awaitable.hpp", - "external/sources/boost/boost/asio/use_future.hpp", - "external/sources/boost/boost/asio/uses_executor.hpp", - "external/sources/boost/boost/asio/version.hpp", - "external/sources/boost/boost/asio/wait_traits.hpp", - "external/sources/boost/boost/asio/windows/basic_object_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_overlapped_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_random_access_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_stream_handle.hpp", - "external/sources/boost/boost/asio/windows/object_handle.hpp", - "external/sources/boost/boost/asio/windows/overlapped_handle.hpp", - "external/sources/boost/boost/asio/windows/overlapped_ptr.hpp", - "external/sources/boost/boost/asio/windows/random_access_handle.hpp", - "external/sources/boost/boost/asio/windows/stream_handle.hpp", - "external/sources/boost/boost/asio/write.hpp", - "external/sources/boost/boost/asio/write_at.hpp", - "external/sources/boost/boost/asio/yield.hpp", - "external/sources/boost/boost/assert.hpp", - "external/sources/boost/boost/assert/source_location.hpp", - "external/sources/boost/boost/assign.hpp", - "external/sources/boost/boost/assign/assignment_exception.hpp", - "external/sources/boost/boost/assign/list_inserter.hpp", - "external/sources/boost/boost/assign/list_of.hpp", - "external/sources/boost/boost/assign/ptr_list_inserter.hpp", - "external/sources/boost/boost/assign/ptr_list_of.hpp", - "external/sources/boost/boost/assign/ptr_map_inserter.hpp", - "external/sources/boost/boost/assign/std.hpp", - "external/sources/boost/boost/assign/std/deque.hpp", - "external/sources/boost/boost/assign/std/list.hpp", - "external/sources/boost/boost/assign/std/map.hpp", - "external/sources/boost/boost/assign/std/queue.hpp", - "external/sources/boost/boost/assign/std/set.hpp", - "external/sources/boost/boost/assign/std/slist.hpp", - "external/sources/boost/boost/assign/std/stack.hpp", - "external/sources/boost/boost/assign/std/vector.hpp", - "external/sources/boost/boost/atomic.hpp", - "external/sources/boost/boost/atomic/atomic.hpp", - "external/sources/boost/boost/atomic/atomic_flag.hpp", - "external/sources/boost/boost/atomic/atomic_ref.hpp", - "external/sources/boost/boost/atomic/capabilities.hpp", - "external/sources/boost/boost/atomic/detail/addressof.hpp", - "external/sources/boost/boost/atomic/detail/aligned_variable.hpp", - "external/sources/boost/boost/atomic/detail/atomic_flag_impl.hpp", - "external/sources/boost/boost/atomic/detail/atomic_impl.hpp", - "external/sources/boost/boost/atomic/detail/atomic_ref_impl.hpp", - "external/sources/boost/boost/atomic/detail/bitwise_cast.hpp", - "external/sources/boost/boost/atomic/detail/bitwise_fp_cast.hpp", - "external/sources/boost/boost/atomic/detail/capabilities.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/caps_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/caps_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/caps_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_windows.hpp", - "external/sources/boost/boost/atomic/detail/cas_based_exchange.hpp", - "external/sources/boost/boost/atomic/detail/classify.hpp", - "external/sources/boost/boost/atomic/detail/config.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_operations.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/core_operations.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_emulated.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_emulated_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_cas_based.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_windows.hpp", - "external/sources/boost/boost/atomic/detail/extending_cas_based_arithmetic.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_operations.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/extra_operations.hpp", - "external/sources/boost/boost/atomic/detail/extra_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_operations.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_operations.hpp", - "external/sources/boost/boost/atomic/detail/fence_operations_emulated.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_windows.hpp", - "external/sources/boost/boost/atomic/detail/float_sizes.hpp", - "external/sources/boost/boost/atomic/detail/footer.hpp", - "external/sources/boost/boost/atomic/detail/fp_operations.hpp", - "external/sources/boost/boost/atomic/detail/fp_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/fp_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/fp_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/futex.hpp", - "external/sources/boost/boost/atomic/detail/gcc_arm_asm_common.hpp", - "external/sources/boost/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp", - "external/sources/boost/boost/atomic/detail/header.hpp", - "external/sources/boost/boost/atomic/detail/int_sizes.hpp", - "external/sources/boost/boost/atomic/detail/integral_conversions.hpp", - "external/sources/boost/boost/atomic/detail/interlocked.hpp", - "external/sources/boost/boost/atomic/detail/intptr.hpp", - "external/sources/boost/boost/atomic/detail/link.hpp", - "external/sources/boost/boost/atomic/detail/lock_pool.hpp", - "external/sources/boost/boost/atomic/detail/memory_order_utils.hpp", - "external/sources/boost/boost/atomic/detail/once_flag.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_aarch32_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_aarch64_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_arm_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_ppc_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_msvc_common.hpp", - "external/sources/boost/boost/atomic/detail/pause.hpp", - "external/sources/boost/boost/atomic/detail/platform.hpp", - "external/sources/boost/boost/atomic/detail/storage_traits.hpp", - "external/sources/boost/boost/atomic/detail/string_ops.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/alignment_of.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/conditional.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/integral_constant.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_floating_point.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_function.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_iec559.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_integral.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_signed.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_copyable.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/make_signed.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/make_unsigned.hpp", - "external/sources/boost/boost/atomic/detail/wait_capabilities.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_freebsd_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_futex.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_windows.hpp", - "external/sources/boost/boost/atomic/detail/wait_operations.hpp", - "external/sources/boost/boost/atomic/detail/wait_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_freebsd_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_futex.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_windows.hpp", - "external/sources/boost/boost/atomic/fences.hpp", - "external/sources/boost/boost/atomic/ipc_atomic.hpp", - "external/sources/boost/boost/atomic/ipc_atomic_flag.hpp", - "external/sources/boost/boost/atomic/ipc_atomic_ref.hpp", - "external/sources/boost/boost/beast.hpp", - "external/sources/boost/boost/beast/_experimental/http/icy_stream.hpp", - "external/sources/boost/boost/beast/_experimental/http/impl/icy_stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/error.hpp", - "external/sources/boost/boost/beast/_experimental/test/fail_count.hpp", - "external/sources/boost/boost/beast/_experimental/test/handler.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/error.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/error.ipp", - "external/sources/boost/boost/beast/_experimental/test/impl/fail_count.ipp", - "external/sources/boost/boost/beast/_experimental/test/impl/stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/stream.ipp", - "external/sources/boost/boost/beast/_experimental/test/stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/tcp.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/amount.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/detail/const_container.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/dstream.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/global_suites.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/main.ipp", - "external/sources/boost/boost/beast/_experimental/unit_test/match.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/recorder.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/reporter.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/results.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/runner.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite_info.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite_list.hpp", - "external/sources/boost/boost/beast/core.hpp", - "external/sources/boost/boost/beast/core/async_base.hpp", - "external/sources/boost/boost/beast/core/basic_stream.hpp", - "external/sources/boost/boost/beast/core/bind_handler.hpp", - "external/sources/boost/boost/beast/core/buffer_traits.hpp", - "external/sources/boost/boost/beast/core/buffered_read_stream.hpp", - "external/sources/boost/boost/beast/core/buffers_adaptor.hpp", - "external/sources/boost/boost/beast/core/buffers_cat.hpp", - "external/sources/boost/boost/beast/core/buffers_prefix.hpp", - "external/sources/boost/boost/beast/core/buffers_range.hpp", - "external/sources/boost/boost/beast/core/buffers_suffix.hpp", - "external/sources/boost/boost/beast/core/buffers_to_string.hpp", - "external/sources/boost/boost/beast/core/detail/allocator.hpp", - "external/sources/boost/boost/beast/core/detail/async_base.hpp", - "external/sources/boost/boost/beast/core/detail/base64.hpp", - "external/sources/boost/boost/beast/core/detail/base64.ipp", - "external/sources/boost/boost/beast/core/detail/bind_continuation.hpp", - "external/sources/boost/boost/beast/core/detail/bind_default_executor.hpp", - "external/sources/boost/boost/beast/core/detail/bind_handler.hpp", - "external/sources/boost/boost/beast/core/detail/buffer.hpp", - "external/sources/boost/boost/beast/core/detail/buffer_traits.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_pair.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_range_adaptor.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_ref.hpp", - "external/sources/boost/boost/beast/core/detail/chacha.hpp", - "external/sources/boost/boost/beast/core/detail/char_buffer.hpp", - "external/sources/boost/boost/beast/core/detail/clamp.hpp", - "external/sources/boost/boost/beast/core/detail/config.hpp", - "external/sources/boost/boost/beast/core/detail/cpu_info.hpp", - "external/sources/boost/boost/beast/core/detail/flat_stream.hpp", - "external/sources/boost/boost/beast/core/detail/get_io_context.hpp", - "external/sources/boost/boost/beast/core/detail/impl/read.hpp", - "external/sources/boost/boost/beast/core/detail/impl/temporary_buffer.ipp", - "external/sources/boost/boost/beast/core/detail/is_invocable.hpp", - "external/sources/boost/boost/beast/core/detail/ostream.hpp", - "external/sources/boost/boost/beast/core/detail/pcg.hpp", - "external/sources/boost/boost/beast/core/detail/read.hpp", - "external/sources/boost/boost/beast/core/detail/remap_post_to_defer.hpp", - "external/sources/boost/boost/beast/core/detail/service_base.hpp", - "external/sources/boost/boost/beast/core/detail/sha1.hpp", - "external/sources/boost/boost/beast/core/detail/sha1.ipp", - "external/sources/boost/boost/beast/core/detail/static_const.hpp", - "external/sources/boost/boost/beast/core/detail/static_ostream.hpp", - "external/sources/boost/boost/beast/core/detail/static_string.hpp", - "external/sources/boost/boost/beast/core/detail/stream_base.hpp", - "external/sources/boost/boost/beast/core/detail/stream_traits.hpp", - "external/sources/boost/boost/beast/core/detail/string.hpp", - "external/sources/boost/boost/beast/core/detail/temporary_buffer.hpp", - "external/sources/boost/boost/beast/core/detail/tuple.hpp", - "external/sources/boost/boost/beast/core/detail/type_traits.hpp", - "external/sources/boost/boost/beast/core/detail/variant.hpp", - "external/sources/boost/boost/beast/core/detail/varint.hpp", - "external/sources/boost/boost/beast/core/detail/win32_unicode_path.hpp", - "external/sources/boost/boost/beast/core/detail/work_guard.hpp", - "external/sources/boost/boost/beast/core/detect_ssl.hpp", - "external/sources/boost/boost/beast/core/error.hpp", - "external/sources/boost/boost/beast/core/file.hpp", - "external/sources/boost/boost/beast/core/file_base.hpp", - "external/sources/boost/boost/beast/core/file_posix.hpp", - "external/sources/boost/boost/beast/core/file_stdio.hpp", - "external/sources/boost/boost/beast/core/file_win32.hpp", - "external/sources/boost/boost/beast/core/flat_buffer.hpp", - "external/sources/boost/boost/beast/core/flat_static_buffer.hpp", - "external/sources/boost/boost/beast/core/flat_stream.hpp", - "external/sources/boost/boost/beast/core/impl/async_base.hpp", - "external/sources/boost/boost/beast/core/impl/basic_stream.hpp", - "external/sources/boost/boost/beast/core/impl/buffered_read_stream.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_adaptor.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_cat.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_prefix.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_suffix.hpp", - "external/sources/boost/boost/beast/core/impl/error.hpp", - "external/sources/boost/boost/beast/core/impl/error.ipp", - "external/sources/boost/boost/beast/core/impl/file_posix.ipp", - "external/sources/boost/boost/beast/core/impl/file_stdio.ipp", - "external/sources/boost/boost/beast/core/impl/file_win32.ipp", - "external/sources/boost/boost/beast/core/impl/flat_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/flat_static_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/flat_static_buffer.ipp", - "external/sources/boost/boost/beast/core/impl/flat_stream.hpp", - "external/sources/boost/boost/beast/core/impl/multi_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/read_size.hpp", - "external/sources/boost/boost/beast/core/impl/saved_handler.hpp", - "external/sources/boost/boost/beast/core/impl/saved_handler.ipp", - "external/sources/boost/boost/beast/core/impl/static_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/static_buffer.ipp", - "external/sources/boost/boost/beast/core/impl/static_string.hpp", - "external/sources/boost/boost/beast/core/impl/string.ipp", - "external/sources/boost/boost/beast/core/impl/string_param.hpp", - "external/sources/boost/boost/beast/core/make_printable.hpp", - "external/sources/boost/boost/beast/core/multi_buffer.hpp", - "external/sources/boost/boost/beast/core/ostream.hpp", - "external/sources/boost/boost/beast/core/rate_policy.hpp", - "external/sources/boost/boost/beast/core/read_size.hpp", - "external/sources/boost/boost/beast/core/role.hpp", - "external/sources/boost/boost/beast/core/saved_handler.hpp", - "external/sources/boost/boost/beast/core/span.hpp", - "external/sources/boost/boost/beast/core/static_buffer.hpp", - "external/sources/boost/boost/beast/core/static_string.hpp", - "external/sources/boost/boost/beast/core/stream_traits.hpp", - "external/sources/boost/boost/beast/core/string.hpp", - "external/sources/boost/boost/beast/core/string_param.hpp", - "external/sources/boost/boost/beast/core/string_type.hpp", - "external/sources/boost/boost/beast/core/tcp_stream.hpp", - "external/sources/boost/boost/beast/http.hpp", - "external/sources/boost/boost/beast/http/basic_dynamic_body.hpp", - "external/sources/boost/boost/beast/http/basic_file_body.hpp", - "external/sources/boost/boost/beast/http/basic_parser.hpp", - "external/sources/boost/boost/beast/http/buffer_body.hpp", - "external/sources/boost/boost/beast/http/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parsed_list.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parser.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parser.ipp", - "external/sources/boost/boost/beast/http/detail/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/detail/rfc7230.hpp", - "external/sources/boost/boost/beast/http/detail/rfc7230.ipp", - "external/sources/boost/boost/beast/http/detail/type_traits.hpp", - "external/sources/boost/boost/beast/http/dynamic_body.hpp", - "external/sources/boost/boost/beast/http/empty_body.hpp", - "external/sources/boost/boost/beast/http/error.hpp", - "external/sources/boost/boost/beast/http/field.hpp", - "external/sources/boost/boost/beast/http/fields.hpp", - "external/sources/boost/boost/beast/http/file_body.hpp", - "external/sources/boost/boost/beast/http/impl/basic_parser.hpp", - "external/sources/boost/boost/beast/http/impl/basic_parser.ipp", - "external/sources/boost/boost/beast/http/impl/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/impl/error.hpp", - "external/sources/boost/boost/beast/http/impl/error.ipp", - "external/sources/boost/boost/beast/http/impl/field.ipp", - "external/sources/boost/boost/beast/http/impl/fields.hpp", - "external/sources/boost/boost/beast/http/impl/fields.ipp", - "external/sources/boost/boost/beast/http/impl/file_body_win32.hpp", - "external/sources/boost/boost/beast/http/impl/message.hpp", - "external/sources/boost/boost/beast/http/impl/parser.hpp", - "external/sources/boost/boost/beast/http/impl/read.hpp", - "external/sources/boost/boost/beast/http/impl/rfc7230.hpp", - "external/sources/boost/boost/beast/http/impl/rfc7230.ipp", - "external/sources/boost/boost/beast/http/impl/serializer.hpp", - "external/sources/boost/boost/beast/http/impl/status.ipp", - "external/sources/boost/boost/beast/http/impl/verb.ipp", - "external/sources/boost/boost/beast/http/impl/write.hpp", - "external/sources/boost/boost/beast/http/message.hpp", - "external/sources/boost/boost/beast/http/parser.hpp", - "external/sources/boost/boost/beast/http/read.hpp", - "external/sources/boost/boost/beast/http/rfc7230.hpp", - "external/sources/boost/boost/beast/http/serializer.hpp", - "external/sources/boost/boost/beast/http/span_body.hpp", - "external/sources/boost/boost/beast/http/status.hpp", - "external/sources/boost/boost/beast/http/string_body.hpp", - "external/sources/boost/boost/beast/http/type_traits.hpp", - "external/sources/boost/boost/beast/http/vector_body.hpp", - "external/sources/boost/boost/beast/http/verb.hpp", - "external/sources/boost/boost/beast/http/write.hpp", - "external/sources/boost/boost/beast/src.hpp", - "external/sources/boost/boost/beast/ssl.hpp", - "external/sources/boost/boost/beast/ssl/ssl_stream.hpp", - "external/sources/boost/boost/beast/version.hpp", - "external/sources/boost/boost/beast/websocket.hpp", - "external/sources/boost/boost/beast/websocket/detail/decorator.hpp", - "external/sources/boost/boost/beast/websocket/detail/frame.hpp", - "external/sources/boost/boost/beast/websocket/detail/hybi13.hpp", - "external/sources/boost/boost/beast/websocket/detail/hybi13.ipp", - "external/sources/boost/boost/beast/websocket/detail/impl_base.hpp", - "external/sources/boost/boost/beast/websocket/detail/mask.hpp", - "external/sources/boost/boost/beast/websocket/detail/mask.ipp", - "external/sources/boost/boost/beast/websocket/detail/pmd_extension.hpp", - "external/sources/boost/boost/beast/websocket/detail/pmd_extension.ipp", - "external/sources/boost/boost/beast/websocket/detail/prng.hpp", - "external/sources/boost/boost/beast/websocket/detail/prng.ipp", - "external/sources/boost/boost/beast/websocket/detail/service.hpp", - "external/sources/boost/boost/beast/websocket/detail/service.ipp", - "external/sources/boost/boost/beast/websocket/detail/soft_mutex.hpp", - "external/sources/boost/boost/beast/websocket/detail/type_traits.hpp", - "external/sources/boost/boost/beast/websocket/detail/utf8_checker.hpp", - "external/sources/boost/boost/beast/websocket/detail/utf8_checker.ipp", - "external/sources/boost/boost/beast/websocket/error.hpp", - "external/sources/boost/boost/beast/websocket/impl/accept.hpp", - "external/sources/boost/boost/beast/websocket/impl/close.hpp", - "external/sources/boost/boost/beast/websocket/impl/error.hpp", - "external/sources/boost/boost/beast/websocket/impl/error.ipp", - "external/sources/boost/boost/beast/websocket/impl/handshake.hpp", - "external/sources/boost/boost/beast/websocket/impl/ping.hpp", - "external/sources/boost/boost/beast/websocket/impl/read.hpp", - "external/sources/boost/boost/beast/websocket/impl/rfc6455.hpp", - "external/sources/boost/boost/beast/websocket/impl/ssl.hpp", - "external/sources/boost/boost/beast/websocket/impl/stream.hpp", - "external/sources/boost/boost/beast/websocket/impl/stream_impl.hpp", - "external/sources/boost/boost/beast/websocket/impl/teardown.hpp", - "external/sources/boost/boost/beast/websocket/impl/write.hpp", - "external/sources/boost/boost/beast/websocket/option.hpp", - "external/sources/boost/boost/beast/websocket/rfc6455.hpp", - "external/sources/boost/boost/beast/websocket/ssl.hpp", - "external/sources/boost/boost/beast/websocket/stream.hpp", - "external/sources/boost/boost/beast/websocket/stream_base.hpp", - "external/sources/boost/boost/beast/websocket/stream_fwd.hpp", - "external/sources/boost/boost/beast/websocket/teardown.hpp", - "external/sources/boost/boost/beast/zlib.hpp", - "external/sources/boost/boost/beast/zlib/deflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/bitstream.hpp", - "external/sources/boost/boost/beast/zlib/detail/deflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/deflate_stream.ipp", - "external/sources/boost/boost/beast/zlib/detail/inflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/inflate_stream.ipp", - "external/sources/boost/boost/beast/zlib/detail/ranges.hpp", - "external/sources/boost/boost/beast/zlib/detail/window.hpp", - "external/sources/boost/boost/beast/zlib/error.hpp", - "external/sources/boost/boost/beast/zlib/impl/error.hpp", - "external/sources/boost/boost/beast/zlib/impl/error.ipp", - "external/sources/boost/boost/beast/zlib/inflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/zlib.hpp", - "external/sources/boost/boost/bimap.hpp", - "external/sources/boost/boost/bimap/bimap.hpp", - "external/sources/boost/boost/bimap/container_adaptor/associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/comparison_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/functor_bag.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/identity_converters.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/key_extractor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/non_unique_container_helper.hpp", - "external/sources/boost/boost/bimap/container_adaptor/list_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/list_map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/multimap_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/multiset_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/ordered_associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/sequence_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/set_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/support/iterator_facade_converters.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_multimap_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_multiset_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_set_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/vector_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/vector_map_adaptor.hpp", - "external/sources/boost/boost/bimap/detail/bimap_core.hpp", - "external/sources/boost/boost/bimap/detail/concept_tags.hpp", - "external/sources/boost/boost/bimap/detail/generate_index_binder.hpp", - "external/sources/boost/boost/bimap/detail/generate_relation_binder.hpp", - "external/sources/boost/boost/bimap/detail/generate_view_binder.hpp", - "external/sources/boost/boost/bimap/detail/is_set_type_of.hpp", - "external/sources/boost/boost/bimap/detail/manage_additional_parameters.hpp", - "external/sources/boost/boost/bimap/detail/manage_bimap_key.hpp", - "external/sources/boost/boost/bimap/detail/map_view_base.hpp", - "external/sources/boost/boost/bimap/detail/map_view_iterator.hpp", - "external/sources/boost/boost/bimap/detail/modifier_adaptor.hpp", - "external/sources/boost/boost/bimap/detail/non_unique_views_helper.hpp", - "external/sources/boost/boost/bimap/detail/set_view_base.hpp", - "external/sources/boost/boost/bimap/detail/set_view_iterator.hpp", - "external/sources/boost/boost/bimap/detail/test/check_metadata.hpp", - "external/sources/boost/boost/bimap/detail/user_interface_config.hpp", - "external/sources/boost/boost/bimap/list_of.hpp", - "external/sources/boost/boost/bimap/multiset_of.hpp", - "external/sources/boost/boost/bimap/property_map/set_support.hpp", - "external/sources/boost/boost/bimap/property_map/unordered_set_support.hpp", - "external/sources/boost/boost/bimap/relation/detail/access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/metadata_access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/mutant.hpp", - "external/sources/boost/boost/bimap/relation/detail/static_access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/to_mutable_relation_functor.hpp", - "external/sources/boost/boost/bimap/relation/member_at.hpp", - "external/sources/boost/boost/bimap/relation/mutant_relation.hpp", - "external/sources/boost/boost/bimap/relation/pair_layout.hpp", - "external/sources/boost/boost/bimap/relation/structured_pair.hpp", - "external/sources/boost/boost/bimap/relation/support/data_extractor.hpp", - "external/sources/boost/boost/bimap/relation/support/get.hpp", - "external/sources/boost/boost/bimap/relation/support/get_pair_functor.hpp", - "external/sources/boost/boost/bimap/relation/support/is_tag_of_member_at.hpp", - "external/sources/boost/boost/bimap/relation/support/member_with_tag.hpp", - "external/sources/boost/boost/bimap/relation/support/opposite_tag.hpp", - "external/sources/boost/boost/bimap/relation/support/pair_by.hpp", - "external/sources/boost/boost/bimap/relation/support/pair_type_by.hpp", - "external/sources/boost/boost/bimap/relation/support/value_type_of.hpp", - "external/sources/boost/boost/bimap/relation/symmetrical_base.hpp", - "external/sources/boost/boost/bimap/set_of.hpp", - "external/sources/boost/boost/bimap/support/data_type_by.hpp", - "external/sources/boost/boost/bimap/support/iterator_type_by.hpp", - "external/sources/boost/boost/bimap/support/key_type_by.hpp", - "external/sources/boost/boost/bimap/support/lambda.hpp", - "external/sources/boost/boost/bimap/support/map_by.hpp", - "external/sources/boost/boost/bimap/support/map_type_by.hpp", - "external/sources/boost/boost/bimap/support/value_type_by.hpp", - "external/sources/boost/boost/bimap/unconstrained_set_of.hpp", - "external/sources/boost/boost/bimap/unordered_multiset_of.hpp", - "external/sources/boost/boost/bimap/unordered_set_of.hpp", - "external/sources/boost/boost/bimap/vector_of.hpp", - "external/sources/boost/boost/bimap/views/list_map_view.hpp", - "external/sources/boost/boost/bimap/views/list_set_view.hpp", - "external/sources/boost/boost/bimap/views/map_view.hpp", - "external/sources/boost/boost/bimap/views/multimap_view.hpp", - "external/sources/boost/boost/bimap/views/multiset_view.hpp", - "external/sources/boost/boost/bimap/views/set_view.hpp", - "external/sources/boost/boost/bimap/views/unconstrained_map_view.hpp", - "external/sources/boost/boost/bimap/views/unconstrained_set_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_map_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_multimap_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_multiset_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_set_view.hpp", - "external/sources/boost/boost/bimap/views/vector_map_view.hpp", - "external/sources/boost/boost/bimap/views/vector_set_view.hpp", - "external/sources/boost/boost/bind.hpp", - "external/sources/boost/boost/bind/apply.hpp", - "external/sources/boost/boost/bind/arg.hpp", - "external/sources/boost/boost/bind/bind.hpp", - "external/sources/boost/boost/bind/bind_cc.hpp", - "external/sources/boost/boost/bind/bind_mf2_cc.hpp", - "external/sources/boost/boost/bind/bind_mf_cc.hpp", - "external/sources/boost/boost/bind/bind_template.hpp", - "external/sources/boost/boost/bind/make_adaptable.hpp", - "external/sources/boost/boost/bind/mem_fn.hpp", - "external/sources/boost/boost/bind/mem_fn_cc.hpp", - "external/sources/boost/boost/bind/mem_fn_template.hpp", - "external/sources/boost/boost/bind/mem_fn_vw.hpp", - "external/sources/boost/boost/bind/placeholders.hpp", - "external/sources/boost/boost/bind/protect.hpp", - "external/sources/boost/boost/bind/storage.hpp", - "external/sources/boost/boost/blank.hpp", - "external/sources/boost/boost/blank_fwd.hpp", - "external/sources/boost/boost/call_traits.hpp", - "external/sources/boost/boost/callable_traits.hpp", - "external/sources/boost/boost/callable_traits/add_member_const.hpp", - "external/sources/boost/boost/callable_traits/add_member_cv.hpp", - "external/sources/boost/boost/callable_traits/add_member_lvalue_reference.hpp", - "external/sources/boost/boost/callable_traits/add_member_rvalue_reference.hpp", - "external/sources/boost/boost/callable_traits/add_member_volatile.hpp", - "external/sources/boost/boost/callable_traits/add_noexcept.hpp", - "external/sources/boost/boost/callable_traits/add_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/add_varargs.hpp", - "external/sources/boost/boost/callable_traits/apply_member_pointer.hpp", - "external/sources/boost/boost/callable_traits/apply_return.hpp", - "external/sources/boost/boost/callable_traits/args.hpp", - "external/sources/boost/boost/callable_traits/class_of.hpp", - "external/sources/boost/boost/callable_traits/detail/config.hpp", - "external/sources/boost/boost/callable_traits/detail/core.hpp", - "external/sources/boost/boost/callable_traits/detail/default_callable_traits.hpp", - "external/sources/boost/boost/callable_traits/detail/forward_declarations.hpp", - "external/sources/boost/boost/callable_traits/detail/function.hpp", - "external/sources/boost/boost/callable_traits/detail/function_object.hpp", - "external/sources/boost/boost/callable_traits/detail/is_invocable_impl.hpp", - "external/sources/boost/boost/callable_traits/detail/parameter_index_helper.hpp", - "external/sources/boost/boost/callable_traits/detail/pmd.hpp", - "external/sources/boost/boost/callable_traits/detail/pmf.hpp", - "external/sources/boost/boost/callable_traits/detail/polyfills/disjunction.hpp", - "external/sources/boost/boost/callable_traits/detail/polyfills/make_index_sequence.hpp", - "external/sources/boost/boost/callable_traits/detail/qualifier_flags.hpp", - "external/sources/boost/boost/callable_traits/detail/set_function_qualifiers.hpp", - "external/sources/boost/boost/callable_traits/detail/sfinae_errors.hpp", - "external/sources/boost/boost/callable_traits/detail/traits.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_4.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_4.hpp", - "external/sources/boost/boost/callable_traits/detail/utility.hpp", - "external/sources/boost/boost/callable_traits/function_type.hpp", - "external/sources/boost/boost/callable_traits/has_member_qualifiers.hpp", - "external/sources/boost/boost/callable_traits/has_varargs.hpp", - "external/sources/boost/boost/callable_traits/has_void_return.hpp", - "external/sources/boost/boost/callable_traits/is_const_member.hpp", - "external/sources/boost/boost/callable_traits/is_cv_member.hpp", - "external/sources/boost/boost/callable_traits/is_invocable.hpp", - "external/sources/boost/boost/callable_traits/is_lvalue_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_noexcept.hpp", - "external/sources/boost/boost/callable_traits/is_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_rvalue_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/is_volatile_member.hpp", - "external/sources/boost/boost/callable_traits/qualified_class_of.hpp", - "external/sources/boost/boost/callable_traits/remove_member_const.hpp", - "external/sources/boost/boost/callable_traits/remove_member_cv.hpp", - "external/sources/boost/boost/callable_traits/remove_member_reference.hpp", - "external/sources/boost/boost/callable_traits/remove_member_volatile.hpp", - "external/sources/boost/boost/callable_traits/remove_noexcept.hpp", - "external/sources/boost/boost/callable_traits/remove_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/remove_varargs.hpp", - "external/sources/boost/boost/callable_traits/return_type.hpp", - "external/sources/boost/boost/cast.hpp", - "external/sources/boost/boost/cerrno.hpp", - "external/sources/boost/boost/checked_delete.hpp", - "external/sources/boost/boost/chrono.hpp", - "external/sources/boost/boost/chrono/ceil.hpp", - "external/sources/boost/boost/chrono/chrono.hpp", - "external/sources/boost/boost/chrono/chrono_io.hpp", - "external/sources/boost/boost/chrono/clock_string.hpp", - "external/sources/boost/boost/chrono/config.hpp", - "external/sources/boost/boost/chrono/detail/inlined/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/is_evenly_divisible_by.hpp", - "external/sources/boost/boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp", - "external/sources/boost/boost/chrono/detail/scan_keyword.hpp", - "external/sources/boost/boost/chrono/detail/static_assert.hpp", - "external/sources/boost/boost/chrono/detail/system.hpp", - "external/sources/boost/boost/chrono/duration.hpp", - "external/sources/boost/boost/chrono/floor.hpp", - "external/sources/boost/boost/chrono/include.hpp", - "external/sources/boost/boost/chrono/io/duration_get.hpp", - "external/sources/boost/boost/chrono/io/duration_io.hpp", - "external/sources/boost/boost/chrono/io/duration_put.hpp", - "external/sources/boost/boost/chrono/io/duration_style.hpp", - "external/sources/boost/boost/chrono/io/duration_units.hpp", - "external/sources/boost/boost/chrono/io/ios_base_state.hpp", - "external/sources/boost/boost/chrono/io/time_point_get.hpp", - "external/sources/boost/boost/chrono/io/time_point_io.hpp", - "external/sources/boost/boost/chrono/io/time_point_put.hpp", - "external/sources/boost/boost/chrono/io/time_point_units.hpp", - "external/sources/boost/boost/chrono/io/timezone.hpp", - "external/sources/boost/boost/chrono/io/utility/ios_base_state_ptr.hpp", - "external/sources/boost/boost/chrono/io/utility/manip_base.hpp", - "external/sources/boost/boost/chrono/io/utility/to_string.hpp", - "external/sources/boost/boost/chrono/io_v1/chrono_io.hpp", - "external/sources/boost/boost/chrono/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/round.hpp", - "external/sources/boost/boost/chrono/system_clocks.hpp", - "external/sources/boost/boost/chrono/thread_clock.hpp", - "external/sources/boost/boost/chrono/time_point.hpp", - "external/sources/boost/boost/chrono/typeof/boost/chrono/chrono.hpp", - "external/sources/boost/boost/chrono/typeof/boost/ratio.hpp", - "external/sources/boost/boost/circular_buffer.hpp", - "external/sources/boost/boost/circular_buffer/base.hpp", - "external/sources/boost/boost/circular_buffer/debug.hpp", - "external/sources/boost/boost/circular_buffer/details.hpp", - "external/sources/boost/boost/circular_buffer/space_optimized.hpp", - "external/sources/boost/boost/circular_buffer_fwd.hpp", - "external/sources/boost/boost/compatibility/cpp_c_headers/cassert", - "external/sources/boost/boost/compatibility/cpp_c_headers/cctype", - "external/sources/boost/boost/compatibility/cpp_c_headers/cerrno", - "external/sources/boost/boost/compatibility/cpp_c_headers/cfloat", - "external/sources/boost/boost/compatibility/cpp_c_headers/climits", - "external/sources/boost/boost/compatibility/cpp_c_headers/clocale", - "external/sources/boost/boost/compatibility/cpp_c_headers/cmath", - "external/sources/boost/boost/compatibility/cpp_c_headers/csetjmp", - "external/sources/boost/boost/compatibility/cpp_c_headers/csignal", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdarg", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstddef", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdio", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdlib", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstring", - "external/sources/boost/boost/compatibility/cpp_c_headers/ctime", - "external/sources/boost/boost/compatibility/cpp_c_headers/cwchar", - "external/sources/boost/boost/compatibility/cpp_c_headers/cwctype", - "external/sources/boost/boost/compressed_pair.hpp", - "external/sources/boost/boost/compute.hpp", - "external/sources/boost/boost/compute/algorithm.hpp", - "external/sources/boost/boost/compute/algorithm/accumulate.hpp", - "external/sources/boost/boost/compute/algorithm/adjacent_difference.hpp", - "external/sources/boost/boost/compute/algorithm/adjacent_find.hpp", - "external/sources/boost/boost/compute/algorithm/all_of.hpp", - "external/sources/boost/boost/compute/algorithm/any_of.hpp", - "external/sources/boost/boost/compute/algorithm/binary_search.hpp", - "external/sources/boost/boost/compute/algorithm/copy.hpp", - "external/sources/boost/boost/compute/algorithm/copy_if.hpp", - "external/sources/boost/boost/compute/algorithm/copy_n.hpp", - "external/sources/boost/boost/compute/algorithm/count.hpp", - "external/sources/boost/boost/compute/algorithm/count_if.hpp", - "external/sources/boost/boost/compute/algorithm/detail/balanced_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/binary_find.hpp", - "external/sources/boost/boost/compute/algorithm/detail/compact.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_on_device.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_to_device.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_to_host.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_ballot.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_threads.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_atomics.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_if_with_atomics.hpp", - "external/sources/boost/boost/compute/algorithm/detail/inplace_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/insertion_sort.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_with_merge_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/radix_sort.hpp", - "external/sources/boost/boost/compute/algorithm/detail/random_fill.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key_with_scan.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/search_all.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_accumulate.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_count_if.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_find_extrema.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_merge.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_scan.hpp", - "external/sources/boost/boost/compute/algorithm/equal.hpp", - "external/sources/boost/boost/compute/algorithm/equal_range.hpp", - "external/sources/boost/boost/compute/algorithm/exclusive_scan.hpp", - "external/sources/boost/boost/compute/algorithm/fill.hpp", - "external/sources/boost/boost/compute/algorithm/fill_n.hpp", - "external/sources/boost/boost/compute/algorithm/find.hpp", - "external/sources/boost/boost/compute/algorithm/find_end.hpp", - "external/sources/boost/boost/compute/algorithm/find_if.hpp", - "external/sources/boost/boost/compute/algorithm/find_if_not.hpp", - "external/sources/boost/boost/compute/algorithm/for_each.hpp", - "external/sources/boost/boost/compute/algorithm/for_each_n.hpp", - "external/sources/boost/boost/compute/algorithm/gather.hpp", - "external/sources/boost/boost/compute/algorithm/generate.hpp", - "external/sources/boost/boost/compute/algorithm/generate_n.hpp", - "external/sources/boost/boost/compute/algorithm/includes.hpp", - "external/sources/boost/boost/compute/algorithm/inclusive_scan.hpp", - "external/sources/boost/boost/compute/algorithm/inner_product.hpp", - "external/sources/boost/boost/compute/algorithm/inplace_merge.hpp", - "external/sources/boost/boost/compute/algorithm/iota.hpp", - "external/sources/boost/boost/compute/algorithm/is_partitioned.hpp", - "external/sources/boost/boost/compute/algorithm/is_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/is_sorted.hpp", - "external/sources/boost/boost/compute/algorithm/lexicographical_compare.hpp", - "external/sources/boost/boost/compute/algorithm/lower_bound.hpp", - "external/sources/boost/boost/compute/algorithm/max_element.hpp", - "external/sources/boost/boost/compute/algorithm/merge.hpp", - "external/sources/boost/boost/compute/algorithm/min_element.hpp", - "external/sources/boost/boost/compute/algorithm/minmax_element.hpp", - "external/sources/boost/boost/compute/algorithm/mismatch.hpp", - "external/sources/boost/boost/compute/algorithm/next_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/none_of.hpp", - "external/sources/boost/boost/compute/algorithm/nth_element.hpp", - "external/sources/boost/boost/compute/algorithm/partial_sum.hpp", - "external/sources/boost/boost/compute/algorithm/partition.hpp", - "external/sources/boost/boost/compute/algorithm/partition_copy.hpp", - "external/sources/boost/boost/compute/algorithm/partition_point.hpp", - "external/sources/boost/boost/compute/algorithm/prev_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/random_shuffle.hpp", - "external/sources/boost/boost/compute/algorithm/reduce.hpp", - "external/sources/boost/boost/compute/algorithm/reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/remove.hpp", - "external/sources/boost/boost/compute/algorithm/remove_if.hpp", - "external/sources/boost/boost/compute/algorithm/replace.hpp", - "external/sources/boost/boost/compute/algorithm/replace_copy.hpp", - "external/sources/boost/boost/compute/algorithm/reverse.hpp", - "external/sources/boost/boost/compute/algorithm/reverse_copy.hpp", - "external/sources/boost/boost/compute/algorithm/rotate.hpp", - "external/sources/boost/boost/compute/algorithm/rotate_copy.hpp", - "external/sources/boost/boost/compute/algorithm/scatter.hpp", - "external/sources/boost/boost/compute/algorithm/scatter_if.hpp", - "external/sources/boost/boost/compute/algorithm/search.hpp", - "external/sources/boost/boost/compute/algorithm/search_n.hpp", - "external/sources/boost/boost/compute/algorithm/set_difference.hpp", - "external/sources/boost/boost/compute/algorithm/set_intersection.hpp", - "external/sources/boost/boost/compute/algorithm/set_symmetric_difference.hpp", - "external/sources/boost/boost/compute/algorithm/set_union.hpp", - "external/sources/boost/boost/compute/algorithm/sort.hpp", - "external/sources/boost/boost/compute/algorithm/sort_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/stable_partition.hpp", - "external/sources/boost/boost/compute/algorithm/stable_sort.hpp", - "external/sources/boost/boost/compute/algorithm/stable_sort_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/swap_ranges.hpp", - "external/sources/boost/boost/compute/algorithm/transform.hpp", - "external/sources/boost/boost/compute/algorithm/transform_if.hpp", - "external/sources/boost/boost/compute/algorithm/transform_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/unique.hpp", - "external/sources/boost/boost/compute/algorithm/unique_copy.hpp", - "external/sources/boost/boost/compute/algorithm/upper_bound.hpp", - "external/sources/boost/boost/compute/allocator.hpp", - "external/sources/boost/boost/compute/allocator/buffer_allocator.hpp", - "external/sources/boost/boost/compute/allocator/pinned_allocator.hpp", - "external/sources/boost/boost/compute/async.hpp", - "external/sources/boost/boost/compute/async/future.hpp", - "external/sources/boost/boost/compute/async/wait.hpp", - "external/sources/boost/boost/compute/async/wait_guard.hpp", - "external/sources/boost/boost/compute/buffer.hpp", - "external/sources/boost/boost/compute/cl.hpp", - "external/sources/boost/boost/compute/cl_ext.hpp", - "external/sources/boost/boost/compute/closure.hpp", - "external/sources/boost/boost/compute/command_queue.hpp", - "external/sources/boost/boost/compute/config.hpp", - "external/sources/boost/boost/compute/container.hpp", - "external/sources/boost/boost/compute/container/array.hpp", - "external/sources/boost/boost/compute/container/basic_string.hpp", - "external/sources/boost/boost/compute/container/detail/scalar.hpp", - "external/sources/boost/boost/compute/container/dynamic_bitset.hpp", - "external/sources/boost/boost/compute/container/flat_map.hpp", - "external/sources/boost/boost/compute/container/flat_set.hpp", - "external/sources/boost/boost/compute/container/mapped_view.hpp", - "external/sources/boost/boost/compute/container/stack.hpp", - "external/sources/boost/boost/compute/container/string.hpp", - "external/sources/boost/boost/compute/container/valarray.hpp", - "external/sources/boost/boost/compute/container/vector.hpp", - "external/sources/boost/boost/compute/context.hpp", - "external/sources/boost/boost/compute/core.hpp", - "external/sources/boost/boost/compute/detail/assert_cl_success.hpp", - "external/sources/boost/boost/compute/detail/buffer_value.hpp", - "external/sources/boost/boost/compute/detail/cl_versions.hpp", - "external/sources/boost/boost/compute/detail/device_ptr.hpp", - "external/sources/boost/boost/compute/detail/diagnostic.hpp", - "external/sources/boost/boost/compute/detail/duration.hpp", - "external/sources/boost/boost/compute/detail/get_object_info.hpp", - "external/sources/boost/boost/compute/detail/getenv.hpp", - "external/sources/boost/boost/compute/detail/global_static.hpp", - "external/sources/boost/boost/compute/detail/is_buffer_iterator.hpp", - "external/sources/boost/boost/compute/detail/is_contiguous_iterator.hpp", - "external/sources/boost/boost/compute/detail/iterator_plus_distance.hpp", - "external/sources/boost/boost/compute/detail/iterator_range_size.hpp", - "external/sources/boost/boost/compute/detail/iterator_traits.hpp", - "external/sources/boost/boost/compute/detail/literal.hpp", - "external/sources/boost/boost/compute/detail/lru_cache.hpp", - "external/sources/boost/boost/compute/detail/meta_kernel.hpp", - "external/sources/boost/boost/compute/detail/mpl_vector_to_tuple.hpp", - "external/sources/boost/boost/compute/detail/nvidia_compute_capability.hpp", - "external/sources/boost/boost/compute/detail/parameter_cache.hpp", - "external/sources/boost/boost/compute/detail/path.hpp", - "external/sources/boost/boost/compute/detail/print_range.hpp", - "external/sources/boost/boost/compute/detail/read_write_single_value.hpp", - "external/sources/boost/boost/compute/detail/sha1.hpp", - "external/sources/boost/boost/compute/detail/variadic_macros.hpp", - "external/sources/boost/boost/compute/detail/vendor.hpp", - "external/sources/boost/boost/compute/detail/work_size.hpp", - "external/sources/boost/boost/compute/device.hpp", - "external/sources/boost/boost/compute/event.hpp", - "external/sources/boost/boost/compute/exception.hpp", - "external/sources/boost/boost/compute/exception/context_error.hpp", - "external/sources/boost/boost/compute/exception/no_device_found.hpp", - "external/sources/boost/boost/compute/exception/opencl_error.hpp", - "external/sources/boost/boost/compute/exception/program_build_failure.hpp", - "external/sources/boost/boost/compute/exception/unsupported_extension_error.hpp", - "external/sources/boost/boost/compute/experimental/clamp_range.hpp", - "external/sources/boost/boost/compute/experimental/malloc.hpp", - "external/sources/boost/boost/compute/experimental/sort_by_transform.hpp", - "external/sources/boost/boost/compute/experimental/tabulate.hpp", - "external/sources/boost/boost/compute/function.hpp", - "external/sources/boost/boost/compute/functional.hpp", - "external/sources/boost/boost/compute/functional/as.hpp", - "external/sources/boost/boost/compute/functional/atomic.hpp", - "external/sources/boost/boost/compute/functional/bind.hpp", - "external/sources/boost/boost/compute/functional/common.hpp", - "external/sources/boost/boost/compute/functional/convert.hpp", - "external/sources/boost/boost/compute/functional/detail/macros.hpp", - "external/sources/boost/boost/compute/functional/detail/nvidia_ballot.hpp", - "external/sources/boost/boost/compute/functional/detail/nvidia_popcount.hpp", - "external/sources/boost/boost/compute/functional/detail/unpack.hpp", - "external/sources/boost/boost/compute/functional/field.hpp", - "external/sources/boost/boost/compute/functional/geometry.hpp", - "external/sources/boost/boost/compute/functional/get.hpp", - "external/sources/boost/boost/compute/functional/hash.hpp", - "external/sources/boost/boost/compute/functional/identity.hpp", - "external/sources/boost/boost/compute/functional/integer.hpp", - "external/sources/boost/boost/compute/functional/logical.hpp", - "external/sources/boost/boost/compute/functional/math.hpp", - "external/sources/boost/boost/compute/functional/operator.hpp", - "external/sources/boost/boost/compute/functional/popcount.hpp", - "external/sources/boost/boost/compute/functional/relational.hpp", - "external/sources/boost/boost/compute/image.hpp", - "external/sources/boost/boost/compute/image/image1d.hpp", - "external/sources/boost/boost/compute/image/image2d.hpp", - "external/sources/boost/boost/compute/image/image3d.hpp", - "external/sources/boost/boost/compute/image/image_format.hpp", - "external/sources/boost/boost/compute/image/image_object.hpp", - "external/sources/boost/boost/compute/image/image_sampler.hpp", - "external/sources/boost/boost/compute/image2d.hpp", - "external/sources/boost/boost/compute/image3d.hpp", - "external/sources/boost/boost/compute/image_format.hpp", - "external/sources/boost/boost/compute/image_sampler.hpp", - "external/sources/boost/boost/compute/interop/eigen.hpp", - "external/sources/boost/boost/compute/interop/eigen/core.hpp", - "external/sources/boost/boost/compute/interop/opencv.hpp", - "external/sources/boost/boost/compute/interop/opencv/core.hpp", - "external/sources/boost/boost/compute/interop/opencv/highgui.hpp", - "external/sources/boost/boost/compute/interop/opencv/ocl.hpp", - "external/sources/boost/boost/compute/interop/opengl.hpp", - "external/sources/boost/boost/compute/interop/opengl/acquire.hpp", - "external/sources/boost/boost/compute/interop/opengl/cl_gl.hpp", - "external/sources/boost/boost/compute/interop/opengl/cl_gl_ext.hpp", - "external/sources/boost/boost/compute/interop/opengl/context.hpp", - "external/sources/boost/boost/compute/interop/opengl/gl.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_buffer.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_renderbuffer.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_texture.hpp", - "external/sources/boost/boost/compute/interop/qt.hpp", - "external/sources/boost/boost/compute/interop/qt/qimage.hpp", - "external/sources/boost/boost/compute/interop/qt/qpoint.hpp", - "external/sources/boost/boost/compute/interop/qt/qpointf.hpp", - "external/sources/boost/boost/compute/interop/qt/qtcore.hpp", - "external/sources/boost/boost/compute/interop/qt/qtgui.hpp", - "external/sources/boost/boost/compute/interop/qt/qvector.hpp", - "external/sources/boost/boost/compute/interop/vtk.hpp", - "external/sources/boost/boost/compute/interop/vtk/bounds.hpp", - "external/sources/boost/boost/compute/interop/vtk/data_array.hpp", - "external/sources/boost/boost/compute/interop/vtk/matrix4x4.hpp", - "external/sources/boost/boost/compute/interop/vtk/points.hpp", - "external/sources/boost/boost/compute/iterator.hpp", - "external/sources/boost/boost/compute/iterator/buffer_iterator.hpp", - "external/sources/boost/boost/compute/iterator/constant_buffer_iterator.hpp", - "external/sources/boost/boost/compute/iterator/constant_iterator.hpp", - "external/sources/boost/boost/compute/iterator/counting_iterator.hpp", - "external/sources/boost/boost/compute/iterator/detail/get_base_iterator_buffer.hpp", - "external/sources/boost/boost/compute/iterator/detail/swizzle_iterator.hpp", - "external/sources/boost/boost/compute/iterator/discard_iterator.hpp", - "external/sources/boost/boost/compute/iterator/function_input_iterator.hpp", - "external/sources/boost/boost/compute/iterator/permutation_iterator.hpp", - "external/sources/boost/boost/compute/iterator/strided_iterator.hpp", - "external/sources/boost/boost/compute/iterator/transform_iterator.hpp", - "external/sources/boost/boost/compute/iterator/zip_iterator.hpp", - "external/sources/boost/boost/compute/kernel.hpp", - "external/sources/boost/boost/compute/lambda.hpp", - "external/sources/boost/boost/compute/lambda/context.hpp", - "external/sources/boost/boost/compute/lambda/functional.hpp", - "external/sources/boost/boost/compute/lambda/get.hpp", - "external/sources/boost/boost/compute/lambda/make_pair.hpp", - "external/sources/boost/boost/compute/lambda/make_tuple.hpp", - "external/sources/boost/boost/compute/lambda/placeholder.hpp", - "external/sources/boost/boost/compute/lambda/placeholders.hpp", - "external/sources/boost/boost/compute/lambda/result_of.hpp", - "external/sources/boost/boost/compute/memory.hpp", - "external/sources/boost/boost/compute/memory/local_buffer.hpp", - "external/sources/boost/boost/compute/memory/svm_ptr.hpp", - "external/sources/boost/boost/compute/memory_object.hpp", - "external/sources/boost/boost/compute/pipe.hpp", - "external/sources/boost/boost/compute/platform.hpp", - "external/sources/boost/boost/compute/program.hpp", - "external/sources/boost/boost/compute/random.hpp", - "external/sources/boost/boost/compute/random/bernoulli_distribution.hpp", - "external/sources/boost/boost/compute/random/default_random_engine.hpp", - "external/sources/boost/boost/compute/random/discrete_distribution.hpp", - "external/sources/boost/boost/compute/random/linear_congruential_engine.hpp", - "external/sources/boost/boost/compute/random/mersenne_twister_engine.hpp", - "external/sources/boost/boost/compute/random/normal_distribution.hpp", - "external/sources/boost/boost/compute/random/threefry_engine.hpp", - "external/sources/boost/boost/compute/random/uniform_int_distribution.hpp", - "external/sources/boost/boost/compute/random/uniform_real_distribution.hpp", - "external/sources/boost/boost/compute/source.hpp", - "external/sources/boost/boost/compute/svm.hpp", - "external/sources/boost/boost/compute/system.hpp", - "external/sources/boost/boost/compute/type_traits.hpp", - "external/sources/boost/boost/compute/type_traits/common_type.hpp", - "external/sources/boost/boost/compute/type_traits/detail/capture_traits.hpp", - "external/sources/boost/boost/compute/type_traits/is_device_iterator.hpp", - "external/sources/boost/boost/compute/type_traits/is_fundamental.hpp", - "external/sources/boost/boost/compute/type_traits/is_vector_type.hpp", - "external/sources/boost/boost/compute/type_traits/make_vector_type.hpp", - "external/sources/boost/boost/compute/type_traits/result_of.hpp", - "external/sources/boost/boost/compute/type_traits/scalar_type.hpp", - "external/sources/boost/boost/compute/type_traits/type_definition.hpp", - "external/sources/boost/boost/compute/type_traits/type_name.hpp", - "external/sources/boost/boost/compute/type_traits/vector_size.hpp", - "external/sources/boost/boost/compute/types.hpp", - "external/sources/boost/boost/compute/types/builtin.hpp", - "external/sources/boost/boost/compute/types/complex.hpp", - "external/sources/boost/boost/compute/types/fundamental.hpp", - "external/sources/boost/boost/compute/types/pair.hpp", - "external/sources/boost/boost/compute/types/size_t.hpp", - "external/sources/boost/boost/compute/types/struct.hpp", - "external/sources/boost/boost/compute/types/tuple.hpp", - "external/sources/boost/boost/compute/user_event.hpp", - "external/sources/boost/boost/compute/utility.hpp", - "external/sources/boost/boost/compute/utility/dim.hpp", - "external/sources/boost/boost/compute/utility/extents.hpp", - "external/sources/boost/boost/compute/utility/invoke.hpp", - "external/sources/boost/boost/compute/utility/program_cache.hpp", - "external/sources/boost/boost/compute/utility/source.hpp", - "external/sources/boost/boost/compute/utility/wait_list.hpp", - "external/sources/boost/boost/compute/version.hpp", - "external/sources/boost/boost/compute/wait_list.hpp", - "external/sources/boost/boost/concept/assert.hpp", - "external/sources/boost/boost/concept/detail/backward_compatibility.hpp", - "external/sources/boost/boost/concept/detail/borland.hpp", - "external/sources/boost/boost/concept/detail/concept_def.hpp", - "external/sources/boost/boost/concept/detail/concept_undef.hpp", - "external/sources/boost/boost/concept/detail/general.hpp", - "external/sources/boost/boost/concept/detail/has_constraints.hpp", - "external/sources/boost/boost/concept/detail/msvc.hpp", - "external/sources/boost/boost/concept/requires.hpp", - "external/sources/boost/boost/concept/usage.hpp", - "external/sources/boost/boost/concept_archetype.hpp", - "external/sources/boost/boost/concept_check.hpp", - "external/sources/boost/boost/concept_check/borland.hpp", - "external/sources/boost/boost/concept_check/general.hpp", - "external/sources/boost/boost/concept_check/has_constraints.hpp", - "external/sources/boost/boost/concept_check/msvc.hpp", - "external/sources/boost/boost/config.hpp", - "external/sources/boost/boost/config/abi/borland_prefix.hpp", - "external/sources/boost/boost/config/abi/borland_suffix.hpp", - "external/sources/boost/boost/config/abi/msvc_prefix.hpp", - "external/sources/boost/boost/config/abi/msvc_suffix.hpp", - "external/sources/boost/boost/config/abi_prefix.hpp", - "external/sources/boost/boost/config/abi_suffix.hpp", - "external/sources/boost/boost/config/auto_link.hpp", - "external/sources/boost/boost/config/compiler/borland.hpp", - "external/sources/boost/boost/config/compiler/clang.hpp", - "external/sources/boost/boost/config/compiler/codegear.hpp", - "external/sources/boost/boost/config/compiler/comeau.hpp", - "external/sources/boost/boost/config/compiler/common_edg.hpp", - "external/sources/boost/boost/config/compiler/compaq_cxx.hpp", - "external/sources/boost/boost/config/compiler/cray.hpp", - "external/sources/boost/boost/config/compiler/diab.hpp", - "external/sources/boost/boost/config/compiler/digitalmars.hpp", - "external/sources/boost/boost/config/compiler/gcc.hpp", - "external/sources/boost/boost/config/compiler/gcc_xml.hpp", - "external/sources/boost/boost/config/compiler/greenhills.hpp", - "external/sources/boost/boost/config/compiler/hp_acc.hpp", - "external/sources/boost/boost/config/compiler/intel.hpp", - "external/sources/boost/boost/config/compiler/kai.hpp", - "external/sources/boost/boost/config/compiler/metrowerks.hpp", - "external/sources/boost/boost/config/compiler/mpw.hpp", - "external/sources/boost/boost/config/compiler/nvcc.hpp", - "external/sources/boost/boost/config/compiler/pathscale.hpp", - "external/sources/boost/boost/config/compiler/pgi.hpp", - "external/sources/boost/boost/config/compiler/sgi_mipspro.hpp", - "external/sources/boost/boost/config/compiler/sunpro_cc.hpp", - "external/sources/boost/boost/config/compiler/vacpp.hpp", - "external/sources/boost/boost/config/compiler/visualc.hpp", - "external/sources/boost/boost/config/compiler/xlcpp.hpp", - "external/sources/boost/boost/config/compiler/xlcpp_zos.hpp", - "external/sources/boost/boost/config/detail/posix_features.hpp", - "external/sources/boost/boost/config/detail/select_compiler_config.hpp", - "external/sources/boost/boost/config/detail/select_platform_config.hpp", - "external/sources/boost/boost/config/detail/select_stdlib_config.hpp", - "external/sources/boost/boost/config/detail/suffix.hpp", - "external/sources/boost/boost/config/header_deprecated.hpp", - "external/sources/boost/boost/config/helper_macros.hpp", - "external/sources/boost/boost/config/no_tr1/cmath.hpp", - "external/sources/boost/boost/config/no_tr1/complex.hpp", - "external/sources/boost/boost/config/no_tr1/functional.hpp", - "external/sources/boost/boost/config/no_tr1/memory.hpp", - "external/sources/boost/boost/config/no_tr1/utility.hpp", - "external/sources/boost/boost/config/platform/aix.hpp", - "external/sources/boost/boost/config/platform/amigaos.hpp", - "external/sources/boost/boost/config/platform/beos.hpp", - "external/sources/boost/boost/config/platform/bsd.hpp", - "external/sources/boost/boost/config/platform/cloudabi.hpp", - "external/sources/boost/boost/config/platform/cray.hpp", - "external/sources/boost/boost/config/platform/cygwin.hpp", - "external/sources/boost/boost/config/platform/haiku.hpp", - "external/sources/boost/boost/config/platform/hpux.hpp", - "external/sources/boost/boost/config/platform/irix.hpp", - "external/sources/boost/boost/config/platform/linux.hpp", - "external/sources/boost/boost/config/platform/macos.hpp", - "external/sources/boost/boost/config/platform/qnxnto.hpp", - "external/sources/boost/boost/config/platform/solaris.hpp", - "external/sources/boost/boost/config/platform/symbian.hpp", - "external/sources/boost/boost/config/platform/vms.hpp", - "external/sources/boost/boost/config/platform/vxworks.hpp", - "external/sources/boost/boost/config/platform/win32.hpp", - "external/sources/boost/boost/config/platform/zos.hpp", - "external/sources/boost/boost/config/pragma_message.hpp", - "external/sources/boost/boost/config/requires_threads.hpp", - "external/sources/boost/boost/config/stdlib/dinkumware.hpp", - "external/sources/boost/boost/config/stdlib/libcomo.hpp", - "external/sources/boost/boost/config/stdlib/libcpp.hpp", - "external/sources/boost/boost/config/stdlib/libstdcpp3.hpp", - "external/sources/boost/boost/config/stdlib/modena.hpp", - "external/sources/boost/boost/config/stdlib/msl.hpp", - "external/sources/boost/boost/config/stdlib/roguewave.hpp", - "external/sources/boost/boost/config/stdlib/sgi.hpp", - "external/sources/boost/boost/config/stdlib/stlport.hpp", - "external/sources/boost/boost/config/stdlib/vacpp.hpp", - "external/sources/boost/boost/config/stdlib/xlcpp_zos.hpp", - "external/sources/boost/boost/config/user.hpp", - "external/sources/boost/boost/config/warning_disable.hpp", - "external/sources/boost/boost/config/workaround.hpp", - "external/sources/boost/boost/container/adaptive_pool.hpp", - "external/sources/boost/boost/container/allocator.hpp", - "external/sources/boost/boost/container/allocator_traits.hpp", - "external/sources/boost/boost/container/container_fwd.hpp", - "external/sources/boost/boost/container/deque.hpp", - "external/sources/boost/boost/container/detail/adaptive_node_pool.hpp", - "external/sources/boost/boost/container/detail/adaptive_node_pool_impl.hpp", - "external/sources/boost/boost/container/detail/addressof.hpp", - "external/sources/boost/boost/container/detail/advanced_insert_int.hpp", - "external/sources/boost/boost/container/detail/algorithm.hpp", - "external/sources/boost/boost/container/detail/alloc_helpers.hpp", - "external/sources/boost/boost/container/detail/alloc_lib.h", - "external/sources/boost/boost/container/detail/allocation_type.hpp", - "external/sources/boost/boost/container/detail/allocator_version_traits.hpp", - "external/sources/boost/boost/container/detail/auto_link.hpp", - "external/sources/boost/boost/container/detail/block_list.hpp", - "external/sources/boost/boost/container/detail/block_slist.hpp", - "external/sources/boost/boost/container/detail/compare_functors.hpp", - "external/sources/boost/boost/container/detail/config_begin.hpp", - "external/sources/boost/boost/container/detail/config_end.hpp", - "external/sources/boost/boost/container/detail/construct_in_place.hpp", - "external/sources/boost/boost/container/detail/container_or_allocator_rebind.hpp", - "external/sources/boost/boost/container/detail/container_rebind.hpp", - "external/sources/boost/boost/container/detail/copy_move_algo.hpp", - "external/sources/boost/boost/container/detail/destroyers.hpp", - "external/sources/boost/boost/container/detail/dispatch_uses_allocator.hpp", - "external/sources/boost/boost/container/detail/dlmalloc.hpp", - "external/sources/boost/boost/container/detail/flat_tree.hpp", - "external/sources/boost/boost/container/detail/function_detector.hpp", - "external/sources/boost/boost/container/detail/is_container.hpp", - "external/sources/boost/boost/container/detail/is_contiguous_container.hpp", - "external/sources/boost/boost/container/detail/is_sorted.hpp", - "external/sources/boost/boost/container/detail/iterator.hpp", - "external/sources/boost/boost/container/detail/iterator_to_raw_pointer.hpp", - "external/sources/boost/boost/container/detail/iterators.hpp", - "external/sources/boost/boost/container/detail/math_functions.hpp", - "external/sources/boost/boost/container/detail/min_max.hpp", - "external/sources/boost/boost/container/detail/minimal_char_traits_header.hpp", - "external/sources/boost/boost/container/detail/mpl.hpp", - "external/sources/boost/boost/container/detail/multiallocation_chain.hpp", - "external/sources/boost/boost/container/detail/mutex.hpp", - "external/sources/boost/boost/container/detail/next_capacity.hpp", - "external/sources/boost/boost/container/detail/node_alloc_holder.hpp", - "external/sources/boost/boost/container/detail/node_pool.hpp", - "external/sources/boost/boost/container/detail/node_pool_impl.hpp", - "external/sources/boost/boost/container/detail/pair.hpp", - "external/sources/boost/boost/container/detail/pair_key_mapped_of_value.hpp", - "external/sources/boost/boost/container/detail/placement_new.hpp", - "external/sources/boost/boost/container/detail/pool_common.hpp", - "external/sources/boost/boost/container/detail/pool_common_alloc.hpp", - "external/sources/boost/boost/container/detail/pool_resource.hpp", - "external/sources/boost/boost/container/detail/singleton.hpp", - "external/sources/boost/boost/container/detail/std_fwd.hpp", - "external/sources/boost/boost/container/detail/thread_mutex.hpp", - "external/sources/boost/boost/container/detail/transform_iterator.hpp", - "external/sources/boost/boost/container/detail/tree.hpp", - "external/sources/boost/boost/container/detail/type_traits.hpp", - "external/sources/boost/boost/container/detail/value_functors.hpp", - "external/sources/boost/boost/container/detail/value_init.hpp", - "external/sources/boost/boost/container/detail/variadic_templates_tools.hpp", - "external/sources/boost/boost/container/detail/version_type.hpp", - "external/sources/boost/boost/container/detail/workaround.hpp", - "external/sources/boost/boost/container/flat_map.hpp", - "external/sources/boost/boost/container/flat_set.hpp", - "external/sources/boost/boost/container/list.hpp", - "external/sources/boost/boost/container/map.hpp", - "external/sources/boost/boost/container/new_allocator.hpp", - "external/sources/boost/boost/container/node_allocator.hpp", - "external/sources/boost/boost/container/node_handle.hpp", - "external/sources/boost/boost/container/options.hpp", - "external/sources/boost/boost/container/pmr/deque.hpp", - "external/sources/boost/boost/container/pmr/flat_map.hpp", - "external/sources/boost/boost/container/pmr/flat_set.hpp", - "external/sources/boost/boost/container/pmr/global_resource.hpp", - "external/sources/boost/boost/container/pmr/list.hpp", - "external/sources/boost/boost/container/pmr/map.hpp", - "external/sources/boost/boost/container/pmr/memory_resource.hpp", - "external/sources/boost/boost/container/pmr/monotonic_buffer_resource.hpp", - "external/sources/boost/boost/container/pmr/polymorphic_allocator.hpp", - "external/sources/boost/boost/container/pmr/pool_options.hpp", - "external/sources/boost/boost/container/pmr/resource_adaptor.hpp", - "external/sources/boost/boost/container/pmr/set.hpp", - "external/sources/boost/boost/container/pmr/slist.hpp", - "external/sources/boost/boost/container/pmr/small_vector.hpp", - "external/sources/boost/boost/container/pmr/stable_vector.hpp", - "external/sources/boost/boost/container/pmr/string.hpp", - "external/sources/boost/boost/container/pmr/synchronized_pool_resource.hpp", - "external/sources/boost/boost/container/pmr/unsynchronized_pool_resource.hpp", - "external/sources/boost/boost/container/pmr/vector.hpp", - "external/sources/boost/boost/container/scoped_allocator.hpp", - "external/sources/boost/boost/container/scoped_allocator_fwd.hpp", - "external/sources/boost/boost/container/set.hpp", - "external/sources/boost/boost/container/slist.hpp", - "external/sources/boost/boost/container/small_vector.hpp", - "external/sources/boost/boost/container/stable_vector.hpp", - "external/sources/boost/boost/container/static_vector.hpp", - "external/sources/boost/boost/container/string.hpp", - "external/sources/boost/boost/container/throw_exception.hpp", - "external/sources/boost/boost/container/uses_allocator.hpp", - "external/sources/boost/boost/container/uses_allocator_fwd.hpp", - "external/sources/boost/boost/container/vector.hpp", - "external/sources/boost/boost/container_hash/detail/float_functions.hpp", - "external/sources/boost/boost/container_hash/detail/hash_float.hpp", - "external/sources/boost/boost/container_hash/detail/limits.hpp", - "external/sources/boost/boost/container_hash/extensions.hpp", - "external/sources/boost/boost/container_hash/hash.hpp", - "external/sources/boost/boost/container_hash/hash_fwd.hpp", - "external/sources/boost/boost/context/continuation.hpp", - "external/sources/boost/boost/context/continuation_fcontext.hpp", - "external/sources/boost/boost/context/continuation_ucontext.hpp", - "external/sources/boost/boost/context/continuation_winfib.hpp", - "external/sources/boost/boost/context/detail/apply.hpp", - "external/sources/boost/boost/context/detail/config.hpp", - "external/sources/boost/boost/context/detail/disable_overload.hpp", - "external/sources/boost/boost/context/detail/exception.hpp", - "external/sources/boost/boost/context/detail/exchange.hpp", - "external/sources/boost/boost/context/detail/externc.hpp", - "external/sources/boost/boost/context/detail/fcontext.hpp", - "external/sources/boost/boost/context/detail/index_sequence.hpp", - "external/sources/boost/boost/context/detail/invoke.hpp", - "external/sources/boost/boost/context/detail/prefetch.hpp", - "external/sources/boost/boost/context/detail/tuple.hpp", - "external/sources/boost/boost/context/fiber.hpp", - "external/sources/boost/boost/context/fiber_fcontext.hpp", - "external/sources/boost/boost/context/fiber_ucontext.hpp", - "external/sources/boost/boost/context/fiber_winfib.hpp", - "external/sources/boost/boost/context/fixedsize_stack.hpp", - "external/sources/boost/boost/context/flags.hpp", - "external/sources/boost/boost/context/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/context/posix/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/context/posix/segmented_stack.hpp", - "external/sources/boost/boost/context/preallocated.hpp", - "external/sources/boost/boost/context/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/context/segmented_stack.hpp", - "external/sources/boost/boost/context/stack_context.hpp", - "external/sources/boost/boost/context/stack_traits.hpp", - "external/sources/boost/boost/context/windows/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/contract.hpp", - "external/sources/boost/boost/contract/assert.hpp", - "external/sources/boost/boost/contract/base_types.hpp", - "external/sources/boost/boost/contract/call_if.hpp", - "external/sources/boost/boost/contract/check.hpp", - "external/sources/boost/boost/contract/constructor.hpp", - "external/sources/boost/boost/contract/core/access.hpp", - "external/sources/boost/boost/contract/core/check_macro.hpp", - "external/sources/boost/boost/contract/core/config.hpp", - "external/sources/boost/boost/contract/core/constructor_precondition.hpp", - "external/sources/boost/boost/contract/core/exception.hpp", - "external/sources/boost/boost/contract/core/specify.hpp", - "external/sources/boost/boost/contract/core/virtual.hpp", - "external/sources/boost/boost/contract/destructor.hpp", - "external/sources/boost/boost/contract/detail/assert.hpp", - "external/sources/boost/boost/contract/detail/auto_ptr.hpp", - "external/sources/boost/boost/contract/detail/check.hpp", - "external/sources/boost/boost/contract/detail/checking.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_base.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_inv.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_post.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_subcontracting.hpp", - "external/sources/boost/boost/contract/detail/config.hpp", - "external/sources/boost/boost/contract/detail/debug.hpp", - "external/sources/boost/boost/contract/detail/decl.hpp", - "external/sources/boost/boost/contract/detail/declspec.hpp", - "external/sources/boost/boost/contract/detail/exception.hpp", - "external/sources/boost/boost/contract/detail/inlined.hpp", - "external/sources/boost/boost/contract/detail/inlined/core/exception.hpp", - "external/sources/boost/boost/contract/detail/inlined/detail/checking.hpp", - "external/sources/boost/boost/contract/detail/inlined/old.hpp", - "external/sources/boost/boost/contract/detail/name.hpp", - "external/sources/boost/boost/contract/detail/none.hpp", - "external/sources/boost/boost/contract/detail/noop.hpp", - "external/sources/boost/boost/contract/detail/operation/constructor.hpp", - "external/sources/boost/boost/contract/detail/operation/destructor.hpp", - "external/sources/boost/boost/contract/detail/operation/function.hpp", - "external/sources/boost/boost/contract/detail/operation/public_function.hpp", - "external/sources/boost/boost/contract/detail/operation/static_public_function.hpp", - "external/sources/boost/boost/contract/detail/operator_safe_bool.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/private.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/protected.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/public.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/utility/is.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/virtual.hpp", - "external/sources/boost/boost/contract/detail/static_local_var.hpp", - "external/sources/boost/boost/contract/detail/tvariadic.hpp", - "external/sources/boost/boost/contract/detail/type_traits/member_function_types.hpp", - "external/sources/boost/boost/contract/detail/type_traits/mirror.hpp", - "external/sources/boost/boost/contract/detail/type_traits/optional.hpp", - "external/sources/boost/boost/contract/function.hpp", - "external/sources/boost/boost/contract/old.hpp", - "external/sources/boost/boost/contract/override.hpp", - "external/sources/boost/boost/contract/public_function.hpp", - "external/sources/boost/boost/contract_macro.hpp", - "external/sources/boost/boost/convert.hpp", - "external/sources/boost/boost/convert/base.hpp", - "external/sources/boost/boost/convert/detail/char.hpp", - "external/sources/boost/boost/convert/detail/config.hpp", - "external/sources/boost/boost/convert/detail/has_member.hpp", - "external/sources/boost/boost/convert/detail/is_callable.hpp", - "external/sources/boost/boost/convert/detail/is_converter.hpp", - "external/sources/boost/boost/convert/detail/is_fun.hpp", - "external/sources/boost/boost/convert/detail/is_string.hpp", - "external/sources/boost/boost/convert/detail/range.hpp", - "external/sources/boost/boost/convert/lexical_cast.hpp", - "external/sources/boost/boost/convert/parameters.hpp", - "external/sources/boost/boost/convert/printf.hpp", - "external/sources/boost/boost/convert/spirit.hpp", - "external/sources/boost/boost/convert/stream.hpp", - "external/sources/boost/boost/convert/strtol.hpp", - "external/sources/boost/boost/core/addressof.hpp", - "external/sources/boost/boost/core/alloc_construct.hpp", - "external/sources/boost/boost/core/allocator_access.hpp", - "external/sources/boost/boost/core/checked_delete.hpp", - "external/sources/boost/boost/core/default_allocator.hpp", - "external/sources/boost/boost/core/demangle.hpp", - "external/sources/boost/boost/core/empty_value.hpp", - "external/sources/boost/boost/core/enable_if.hpp", - "external/sources/boost/boost/core/exchange.hpp", - "external/sources/boost/boost/core/explicit_operator_bool.hpp", - "external/sources/boost/boost/core/first_scalar.hpp", - "external/sources/boost/boost/core/ignore_unused.hpp", - "external/sources/boost/boost/core/is_same.hpp", - "external/sources/boost/boost/core/lightweight_test.hpp", - "external/sources/boost/boost/core/lightweight_test_trait.hpp", - "external/sources/boost/boost/core/no_exceptions_support.hpp", - "external/sources/boost/boost/core/noinit_adaptor.hpp", - "external/sources/boost/boost/core/noncopyable.hpp", - "external/sources/boost/boost/core/null_deleter.hpp", - "external/sources/boost/boost/core/nvp.hpp", - "external/sources/boost/boost/core/pointer_traits.hpp", - "external/sources/boost/boost/core/quick_exit.hpp", - "external/sources/boost/boost/core/ref.hpp", - "external/sources/boost/boost/core/scoped_enum.hpp", - "external/sources/boost/boost/core/swap.hpp", - "external/sources/boost/boost/core/typeinfo.hpp", - "external/sources/boost/boost/core/uncaught_exceptions.hpp", - "external/sources/boost/boost/core/underlying_type.hpp", - "external/sources/boost/boost/core/use_default.hpp", - "external/sources/boost/boost/coroutine/all.hpp", - "external/sources/boost/boost/coroutine/asymmetric_coroutine.hpp", - "external/sources/boost/boost/coroutine/attributes.hpp", - "external/sources/boost/boost/coroutine/coroutine.hpp", - "external/sources/boost/boost/coroutine/detail/config.hpp", - "external/sources/boost/boost/coroutine/detail/coroutine_context.hpp", - "external/sources/boost/boost/coroutine/detail/data.hpp", - "external/sources/boost/boost/coroutine/detail/flags.hpp", - "external/sources/boost/boost/coroutine/detail/parameters.hpp", - "external/sources/boost/boost/coroutine/detail/preallocated.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_synthesized.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_synthesized.hpp", - "external/sources/boost/boost/coroutine/detail/setup.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_call.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_yield.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline_pull.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline_push.hpp", - "external/sources/boost/boost/coroutine/exceptions.hpp", - "external/sources/boost/boost/coroutine/flags.hpp", - "external/sources/boost/boost/coroutine/posix/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/posix/segmented_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/segmented_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/stack_allocator.hpp", - "external/sources/boost/boost/coroutine/stack_context.hpp", - "external/sources/boost/boost/coroutine/stack_traits.hpp", - "external/sources/boost/boost/coroutine/standard_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/symmetric_coroutine.hpp", - "external/sources/boost/boost/coroutine/windows/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine2/all.hpp", - "external/sources/boost/boost/coroutine2/coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/config.hpp", - "external/sources/boost/boost/coroutine2/detail/coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/create_control_block.ipp", - "external/sources/boost/boost/coroutine2/detail/decay_copy.hpp", - "external/sources/boost/boost/coroutine2/detail/disable_overload.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.ipp", - "external/sources/boost/boost/coroutine2/detail/pull_coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_coroutine.ipp", - "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.hpp", - "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.ipp", - "external/sources/boost/boost/coroutine2/detail/push_coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/push_coroutine.ipp", - "external/sources/boost/boost/coroutine2/detail/state.hpp", - "external/sources/boost/boost/coroutine2/detail/wrap.hpp", - "external/sources/boost/boost/coroutine2/fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/segmented_stack.hpp", - "external/sources/boost/boost/crc.hpp", - "external/sources/boost/boost/cregex.hpp", - "external/sources/boost/boost/cstdfloat.hpp", - "external/sources/boost/boost/cstdint.hpp", - "external/sources/boost/boost/cstdlib.hpp", - "external/sources/boost/boost/current_function.hpp", - "external/sources/boost/boost/cxx11_char_types.hpp", - "external/sources/boost/boost/date_time.hpp", - "external/sources/boost/boost/date_time/adjust_functors.hpp", - "external/sources/boost/boost/date_time/c_local_time_adjustor.hpp", - "external/sources/boost/boost/date_time/c_time.hpp", - "external/sources/boost/boost/date_time/compiler_config.hpp", - "external/sources/boost/boost/date_time/constrained_value.hpp", - "external/sources/boost/boost/date_time/date.hpp", - "external/sources/boost/boost/date_time/date_clock_device.hpp", - "external/sources/boost/boost/date_time/date_defs.hpp", - "external/sources/boost/boost/date_time/date_duration.hpp", - "external/sources/boost/boost/date_time/date_duration_types.hpp", - "external/sources/boost/boost/date_time/date_facet.hpp", - "external/sources/boost/boost/date_time/date_format_simple.hpp", - "external/sources/boost/boost/date_time/date_formatting.hpp", - "external/sources/boost/boost/date_time/date_formatting_limited.hpp", - "external/sources/boost/boost/date_time/date_formatting_locales.hpp", - "external/sources/boost/boost/date_time/date_generator_formatter.hpp", - "external/sources/boost/boost/date_time/date_generator_parser.hpp", - "external/sources/boost/boost/date_time/date_generators.hpp", - "external/sources/boost/boost/date_time/date_iterator.hpp", - "external/sources/boost/boost/date_time/date_names_put.hpp", - "external/sources/boost/boost/date_time/date_parsing.hpp", - "external/sources/boost/boost/date_time/dst_rules.hpp", - "external/sources/boost/boost/date_time/dst_transition_generators.hpp", - "external/sources/boost/boost/date_time/filetime_functions.hpp", - "external/sources/boost/boost/date_time/find_match.hpp", - "external/sources/boost/boost/date_time/format_date_parser.hpp", - "external/sources/boost/boost/date_time/gregorian/conversion.hpp", - "external/sources/boost/boost/date_time/gregorian/formatters.hpp", - "external/sources/boost/boost/date_time/gregorian/formatters_limited.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_calendar.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_date.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_day.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_day_of_year.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_duration.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_duration_types.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_facet.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_month.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_serialize.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_weekday.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_year.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_ymd.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian_io.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian_types.hpp", - "external/sources/boost/boost/date_time/gregorian/parsers.hpp", - "external/sources/boost/boost/date_time/gregorian_calendar.hpp", - "external/sources/boost/boost/date_time/gregorian_calendar.ipp", - "external/sources/boost/boost/date_time/int_adapter.hpp", - "external/sources/boost/boost/date_time/iso_format.hpp", - "external/sources/boost/boost/date_time/local_time/conversion.hpp", - "external/sources/boost/boost/date_time/local_time/custom_time_zone.hpp", - "external/sources/boost/boost/date_time/local_time/date_duration_operators.hpp", - "external/sources/boost/boost/date_time/local_time/dst_transition_day_rules.hpp", - "external/sources/boost/boost/date_time/local_time/local_date_time.hpp", - "external/sources/boost/boost/date_time/local_time/local_time.hpp", - "external/sources/boost/boost/date_time/local_time/local_time_io.hpp", - "external/sources/boost/boost/date_time/local_time/local_time_types.hpp", - "external/sources/boost/boost/date_time/local_time/posix_time_zone.hpp", - "external/sources/boost/boost/date_time/local_time/tz_database.hpp", - "external/sources/boost/boost/date_time/local_time_adjustor.hpp", - "external/sources/boost/boost/date_time/local_timezone_defs.hpp", - "external/sources/boost/boost/date_time/locale_config.hpp", - "external/sources/boost/boost/date_time/microsec_time_clock.hpp", - "external/sources/boost/boost/date_time/parse_format_base.hpp", - "external/sources/boost/boost/date_time/period.hpp", - "external/sources/boost/boost/date_time/period_formatter.hpp", - "external/sources/boost/boost/date_time/period_parser.hpp", - "external/sources/boost/boost/date_time/posix_time/conversion.hpp", - "external/sources/boost/boost/date_time/posix_time/date_duration_operators.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_config.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_duration.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_io.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_legacy_io.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_system.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_types.hpp", - "external/sources/boost/boost/date_time/posix_time/ptime.hpp", - "external/sources/boost/boost/date_time/posix_time/time_formatters.hpp", - "external/sources/boost/boost/date_time/posix_time/time_formatters_limited.hpp", - "external/sources/boost/boost/date_time/posix_time/time_parsers.hpp", - "external/sources/boost/boost/date_time/posix_time/time_period.hpp", - "external/sources/boost/boost/date_time/posix_time/time_serialize.hpp", - "external/sources/boost/boost/date_time/special_defs.hpp", - "external/sources/boost/boost/date_time/special_values_formatter.hpp", - "external/sources/boost/boost/date_time/special_values_parser.hpp", - "external/sources/boost/boost/date_time/string_convert.hpp", - "external/sources/boost/boost/date_time/string_parse_tree.hpp", - "external/sources/boost/boost/date_time/strings_from_facet.hpp", - "external/sources/boost/boost/date_time/time.hpp", - "external/sources/boost/boost/date_time/time_clock.hpp", - "external/sources/boost/boost/date_time/time_defs.hpp", - "external/sources/boost/boost/date_time/time_duration.hpp", - "external/sources/boost/boost/date_time/time_facet.hpp", - "external/sources/boost/boost/date_time/time_formatting_streams.hpp", - "external/sources/boost/boost/date_time/time_iterator.hpp", - "external/sources/boost/boost/date_time/time_parsing.hpp", - "external/sources/boost/boost/date_time/time_resolution_traits.hpp", - "external/sources/boost/boost/date_time/time_system_counted.hpp", - "external/sources/boost/boost/date_time/time_system_split.hpp", - "external/sources/boost/boost/date_time/time_zone_base.hpp", - "external/sources/boost/boost/date_time/time_zone_names.hpp", - "external/sources/boost/boost/date_time/tz_db_base.hpp", - "external/sources/boost/boost/date_time/wrapping_int.hpp", - "external/sources/boost/boost/date_time/year_month_day.hpp", - "external/sources/boost/boost/detail/algorithm.hpp", - "external/sources/boost/boost/detail/allocator_utilities.hpp", - "external/sources/boost/boost/detail/atomic_count.hpp", - "external/sources/boost/boost/detail/basic_pointerbuf.hpp", - "external/sources/boost/boost/detail/binary_search.hpp", - "external/sources/boost/boost/detail/bitmask.hpp", - "external/sources/boost/boost/detail/call_traits.hpp", - "external/sources/boost/boost/detail/catch_exceptions.hpp", - "external/sources/boost/boost/detail/compressed_pair.hpp", - "external/sources/boost/boost/detail/container_fwd.hpp", - "external/sources/boost/boost/detail/fenv.hpp", - "external/sources/boost/boost/detail/has_default_constructor.hpp", - "external/sources/boost/boost/detail/identifier.hpp", - "external/sources/boost/boost/detail/indirect_traits.hpp", - "external/sources/boost/boost/detail/interlocked.hpp", - "external/sources/boost/boost/detail/is_incrementable.hpp", - "external/sources/boost/boost/detail/is_sorted.hpp", - "external/sources/boost/boost/detail/is_xxx.hpp", - "external/sources/boost/boost/detail/iterator.hpp", - "external/sources/boost/boost/detail/lcast_precision.hpp", - "external/sources/boost/boost/detail/lightweight_main.hpp", - "external/sources/boost/boost/detail/lightweight_mutex.hpp", - "external/sources/boost/boost/detail/lightweight_test.hpp", - "external/sources/boost/boost/detail/lightweight_test_report.hpp", - "external/sources/boost/boost/detail/lightweight_thread.hpp", - "external/sources/boost/boost/detail/named_template_params.hpp", - "external/sources/boost/boost/detail/no_exceptions_support.hpp", - "external/sources/boost/boost/detail/numeric_traits.hpp", - "external/sources/boost/boost/detail/ob_compressed_pair.hpp", - "external/sources/boost/boost/detail/quick_allocator.hpp", - "external/sources/boost/boost/detail/reference_content.hpp", - "external/sources/boost/boost/detail/scoped_enum_emulation.hpp", - "external/sources/boost/boost/detail/select_type.hpp", - "external/sources/boost/boost/detail/sp_typeinfo.hpp", - "external/sources/boost/boost/detail/templated_streams.hpp", - "external/sources/boost/boost/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/detail/utf8_codecvt_facet.ipp", - "external/sources/boost/boost/detail/winapi/access_rights.hpp", - "external/sources/boost/boost/detail/winapi/apc.hpp", - "external/sources/boost/boost/detail/winapi/basic_types.hpp", - "external/sources/boost/boost/detail/winapi/bcrypt.hpp", - "external/sources/boost/boost/detail/winapi/character_code_conversion.hpp", - "external/sources/boost/boost/detail/winapi/condition_variable.hpp", - "external/sources/boost/boost/detail/winapi/config.hpp", - "external/sources/boost/boost/detail/winapi/critical_section.hpp", - "external/sources/boost/boost/detail/winapi/crypt.hpp", - "external/sources/boost/boost/detail/winapi/dbghelp.hpp", - "external/sources/boost/boost/detail/winapi/debugapi.hpp", - "external/sources/boost/boost/detail/winapi/detail/deprecated_namespace.hpp", - "external/sources/boost/boost/detail/winapi/directory_management.hpp", - "external/sources/boost/boost/detail/winapi/dll.hpp", - "external/sources/boost/boost/detail/winapi/environment.hpp", - "external/sources/boost/boost/detail/winapi/error_codes.hpp", - "external/sources/boost/boost/detail/winapi/error_handling.hpp", - "external/sources/boost/boost/detail/winapi/event.hpp", - "external/sources/boost/boost/detail/winapi/file_management.hpp", - "external/sources/boost/boost/detail/winapi/file_mapping.hpp", - "external/sources/boost/boost/detail/winapi/get_current_process.hpp", - "external/sources/boost/boost/detail/winapi/get_current_process_id.hpp", - "external/sources/boost/boost/detail/winapi/get_current_thread.hpp", - "external/sources/boost/boost/detail/winapi/get_current_thread_id.hpp", - "external/sources/boost/boost/detail/winapi/get_last_error.hpp", - "external/sources/boost/boost/detail/winapi/get_process_times.hpp", - "external/sources/boost/boost/detail/winapi/get_system_directory.hpp", - "external/sources/boost/boost/detail/winapi/get_thread_times.hpp", - "external/sources/boost/boost/detail/winapi/handle_info.hpp", - "external/sources/boost/boost/detail/winapi/handles.hpp", - "external/sources/boost/boost/detail/winapi/heap_memory.hpp", - "external/sources/boost/boost/detail/winapi/init_once.hpp", - "external/sources/boost/boost/detail/winapi/jobs.hpp", - "external/sources/boost/boost/detail/winapi/limits.hpp", - "external/sources/boost/boost/detail/winapi/local_memory.hpp", - "external/sources/boost/boost/detail/winapi/memory.hpp", - "external/sources/boost/boost/detail/winapi/mutex.hpp", - "external/sources/boost/boost/detail/winapi/overlapped.hpp", - "external/sources/boost/boost/detail/winapi/page_protection_flags.hpp", - "external/sources/boost/boost/detail/winapi/pipes.hpp", - "external/sources/boost/boost/detail/winapi/priority_class.hpp", - "external/sources/boost/boost/detail/winapi/process.hpp", - "external/sources/boost/boost/detail/winapi/security.hpp", - "external/sources/boost/boost/detail/winapi/semaphore.hpp", - "external/sources/boost/boost/detail/winapi/shell.hpp", - "external/sources/boost/boost/detail/winapi/show_window.hpp", - "external/sources/boost/boost/detail/winapi/srw_lock.hpp", - "external/sources/boost/boost/detail/winapi/stack_backtrace.hpp", - "external/sources/boost/boost/detail/winapi/synchronization.hpp", - "external/sources/boost/boost/detail/winapi/system.hpp", - "external/sources/boost/boost/detail/winapi/thread.hpp", - "external/sources/boost/boost/detail/winapi/thread_pool.hpp", - "external/sources/boost/boost/detail/winapi/time.hpp", - "external/sources/boost/boost/detail/winapi/timers.hpp", - "external/sources/boost/boost/detail/winapi/tls.hpp", - "external/sources/boost/boost/detail/winapi/wait.hpp", - "external/sources/boost/boost/detail/winapi/waitable_timer.hpp", - "external/sources/boost/boost/detail/workaround.hpp", - "external/sources/boost/boost/dll.hpp", - "external/sources/boost/boost/dll/alias.hpp", - "external/sources/boost/boost/dll/config.hpp", - "external/sources/boost/boost/dll/detail/aggressive_ptr_cast.hpp", - "external/sources/boost/boost/dll/detail/ctor_dtor.hpp", - "external/sources/boost/boost/dll/detail/demangling/demangle_symbol.hpp", - "external/sources/boost/boost/dll/detail/demangling/itanium.hpp", - "external/sources/boost/boost/dll/detail/demangling/mangled_storage_base.hpp", - "external/sources/boost/boost/dll/detail/demangling/msvc.hpp", - "external/sources/boost/boost/dll/detail/elf_info.hpp", - "external/sources/boost/boost/dll/detail/get_mem_fn_type.hpp", - "external/sources/boost/boost/dll/detail/import_mangled_helpers.hpp", - "external/sources/boost/boost/dll/detail/macho_info.hpp", - "external/sources/boost/boost/dll/detail/pe_info.hpp", - "external/sources/boost/boost/dll/detail/posix/path_from_handle.hpp", - "external/sources/boost/boost/dll/detail/posix/program_location_impl.hpp", - "external/sources/boost/boost/dll/detail/posix/shared_library_impl.hpp", - "external/sources/boost/boost/dll/detail/system_error.hpp", - "external/sources/boost/boost/dll/detail/type_info.hpp", - "external/sources/boost/boost/dll/detail/windows/path_from_handle.hpp", - "external/sources/boost/boost/dll/detail/windows/shared_library_impl.hpp", - "external/sources/boost/boost/dll/import.hpp", - "external/sources/boost/boost/dll/import_class.hpp", - "external/sources/boost/boost/dll/import_mangled.hpp", - "external/sources/boost/boost/dll/library_info.hpp", - "external/sources/boost/boost/dll/runtime_symbol_info.hpp", - "external/sources/boost/boost/dll/shared_library.hpp", - "external/sources/boost/boost/dll/shared_library_load_mode.hpp", - "external/sources/boost/boost/dll/smart_library.hpp", - "external/sources/boost/boost/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/config.hpp", - "external/sources/boost/boost/dynamic_bitset/detail/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/detail/lowest_bit.hpp", - "external/sources/boost/boost/dynamic_bitset/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/serialization.hpp", - "external/sources/boost/boost/dynamic_bitset_fwd.hpp", - "external/sources/boost/boost/enable_shared_from_this.hpp", - "external/sources/boost/boost/endian.hpp", - "external/sources/boost/boost/endian/arithmetic.hpp", - "external/sources/boost/boost/endian/buffers.hpp", - "external/sources/boost/boost/endian/conversion.hpp", - "external/sources/boost/boost/endian/detail/disable_warnings.hpp", - "external/sources/boost/boost/endian/detail/disable_warnings_pop.hpp", - "external/sources/boost/boost/endian/detail/endian_load.hpp", - "external/sources/boost/boost/endian/detail/endian_reverse.hpp", - "external/sources/boost/boost/endian/detail/endian_store.hpp", - "external/sources/boost/boost/endian/detail/integral_by_size.hpp", - "external/sources/boost/boost/endian/detail/intrinsic.hpp", - "external/sources/boost/boost/endian/detail/is_scoped_enum.hpp", - "external/sources/boost/boost/endian/detail/is_trivially_copyable.hpp", - "external/sources/boost/boost/endian/detail/order.hpp", - "external/sources/boost/boost/endian/endian.hpp", - "external/sources/boost/boost/exception/all.hpp", - "external/sources/boost/boost/exception/current_exception_cast.hpp", - "external/sources/boost/boost/exception/detail/clone_current_exception.hpp", - "external/sources/boost/boost/exception/detail/error_info_impl.hpp", - "external/sources/boost/boost/exception/detail/exception_ptr.hpp", - "external/sources/boost/boost/exception/detail/is_output_streamable.hpp", - "external/sources/boost/boost/exception/detail/object_hex_dump.hpp", - "external/sources/boost/boost/exception/detail/shared_ptr.hpp", - "external/sources/boost/boost/exception/detail/type_info.hpp", - "external/sources/boost/boost/exception/diagnostic_information.hpp", - "external/sources/boost/boost/exception/enable_current_exception.hpp", - "external/sources/boost/boost/exception/enable_error_info.hpp", - "external/sources/boost/boost/exception/errinfo_api_function.hpp", - "external/sources/boost/boost/exception/errinfo_at_line.hpp", - "external/sources/boost/boost/exception/errinfo_errno.hpp", - "external/sources/boost/boost/exception/errinfo_file_handle.hpp", - "external/sources/boost/boost/exception/errinfo_file_name.hpp", - "external/sources/boost/boost/exception/errinfo_file_open_mode.hpp", - "external/sources/boost/boost/exception/errinfo_nested_exception.hpp", - "external/sources/boost/boost/exception/errinfo_type_info_name.hpp", - "external/sources/boost/boost/exception/error_info.hpp", - "external/sources/boost/boost/exception/exception.hpp", - "external/sources/boost/boost/exception/get_error_info.hpp", - "external/sources/boost/boost/exception/info.hpp", - "external/sources/boost/boost/exception/info_tuple.hpp", - "external/sources/boost/boost/exception/to_string.hpp", - "external/sources/boost/boost/exception/to_string_stub.hpp", - "external/sources/boost/boost/exception_ptr.hpp", - "external/sources/boost/boost/fiber/algo/algorithm.hpp", - "external/sources/boost/boost/fiber/algo/round_robin.hpp", - "external/sources/boost/boost/fiber/algo/shared_work.hpp", - "external/sources/boost/boost/fiber/algo/work_stealing.hpp", - "external/sources/boost/boost/fiber/all.hpp", - "external/sources/boost/boost/fiber/barrier.hpp", - "external/sources/boost/boost/fiber/buffered_channel.hpp", - "external/sources/boost/boost/fiber/channel_op_status.hpp", - "external/sources/boost/boost/fiber/condition_variable.hpp", - "external/sources/boost/boost/fiber/context.hpp", - "external/sources/boost/boost/fiber/cuda/waitfor.hpp", - "external/sources/boost/boost/fiber/detail/config.hpp", - "external/sources/boost/boost/fiber/detail/context_spinlock_queue.hpp", - "external/sources/boost/boost/fiber/detail/context_spmc_queue.hpp", - "external/sources/boost/boost/fiber/detail/convert.hpp", - "external/sources/boost/boost/fiber/detail/cpu_relax.hpp", - "external/sources/boost/boost/fiber/detail/data.hpp", - "external/sources/boost/boost/fiber/detail/decay_copy.hpp", - "external/sources/boost/boost/fiber/detail/disable_overload.hpp", - "external/sources/boost/boost/fiber/detail/exchange.hpp", - "external/sources/boost/boost/fiber/detail/fss.hpp", - "external/sources/boost/boost/fiber/detail/futex.hpp", - "external/sources/boost/boost/fiber/detail/is_all_same.hpp", - "external/sources/boost/boost/fiber/detail/rtm.hpp", - "external/sources/boost/boost/fiber/detail/spinlock.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_rtm.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_status.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive_futex.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_futex.hpp", - "external/sources/boost/boost/fiber/detail/thread_barrier.hpp", - "external/sources/boost/boost/fiber/exceptions.hpp", - "external/sources/boost/boost/fiber/fiber.hpp", - "external/sources/boost/boost/fiber/fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/fss.hpp", - "external/sources/boost/boost/fiber/future.hpp", - "external/sources/boost/boost/fiber/future/async.hpp", - "external/sources/boost/boost/fiber/future/detail/shared_state.hpp", - "external/sources/boost/boost/fiber/future/detail/shared_state_object.hpp", - "external/sources/boost/boost/fiber/future/detail/task_base.hpp", - "external/sources/boost/boost/fiber/future/detail/task_object.hpp", - "external/sources/boost/boost/fiber/future/future.hpp", - "external/sources/boost/boost/fiber/future/future_status.hpp", - "external/sources/boost/boost/fiber/future/packaged_task.hpp", - "external/sources/boost/boost/fiber/future/promise.hpp", - "external/sources/boost/boost/fiber/hip/waitfor.hpp", - "external/sources/boost/boost/fiber/mutex.hpp", - "external/sources/boost/boost/fiber/numa/algo/work_stealing.hpp", - "external/sources/boost/boost/fiber/numa/all.hpp", - "external/sources/boost/boost/fiber/numa/pin_thread.hpp", - "external/sources/boost/boost/fiber/numa/topology.hpp", - "external/sources/boost/boost/fiber/operations.hpp", - "external/sources/boost/boost/fiber/policy.hpp", - "external/sources/boost/boost/fiber/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/properties.hpp", - "external/sources/boost/boost/fiber/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/recursive_mutex.hpp", - "external/sources/boost/boost/fiber/recursive_timed_mutex.hpp", - "external/sources/boost/boost/fiber/scheduler.hpp", - "external/sources/boost/boost/fiber/segmented_stack.hpp", - "external/sources/boost/boost/fiber/timed_mutex.hpp", - "external/sources/boost/boost/fiber/type.hpp", - "external/sources/boost/boost/fiber/unbuffered_channel.hpp", - "external/sources/boost/boost/filesystem.hpp", - "external/sources/boost/boost/filesystem/config.hpp", - "external/sources/boost/boost/filesystem/convenience.hpp", - "external/sources/boost/boost/filesystem/detail/macro_value.hpp", - "external/sources/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/filesystem/directory.hpp", - "external/sources/boost/boost/filesystem/exception.hpp", - "external/sources/boost/boost/filesystem/file_status.hpp", - "external/sources/boost/boost/filesystem/fstream.hpp", - "external/sources/boost/boost/filesystem/operations.hpp", - "external/sources/boost/boost/filesystem/path.hpp", - "external/sources/boost/boost/filesystem/path_traits.hpp", - "external/sources/boost/boost/filesystem/string_file.hpp", - "external/sources/boost/boost/flyweight.hpp", - "external/sources/boost/boost/flyweight/assoc_container_factory.hpp", - "external/sources/boost/boost/flyweight/assoc_container_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/archive_constructed.hpp", - "external/sources/boost/boost/flyweight/detail/default_value_policy.hpp", - "external/sources/boost/boost/flyweight/detail/dyn_perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/flyweight_core.hpp", - "external/sources/boost/boost/flyweight/detail/is_placeholder_expr.hpp", - "external/sources/boost/boost/flyweight/detail/nested_xxx_if_not_ph.hpp", - "external/sources/boost/boost/flyweight/detail/not_placeholder_expr.hpp", - "external/sources/boost/boost/flyweight/detail/perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/pp_perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/recursive_lw_mutex.hpp", - "external/sources/boost/boost/flyweight/detail/serialization_helper.hpp", - "external/sources/boost/boost/flyweight/detail/value_tag.hpp", - "external/sources/boost/boost/flyweight/factory_tag.hpp", - "external/sources/boost/boost/flyweight/flyweight.hpp", - "external/sources/boost/boost/flyweight/flyweight_fwd.hpp", - "external/sources/boost/boost/flyweight/hashed_factory.hpp", - "external/sources/boost/boost/flyweight/hashed_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/holder_tag.hpp", - "external/sources/boost/boost/flyweight/intermodule_holder.hpp", - "external/sources/boost/boost/flyweight/intermodule_holder_fwd.hpp", - "external/sources/boost/boost/flyweight/key_value.hpp", - "external/sources/boost/boost/flyweight/key_value_fwd.hpp", - "external/sources/boost/boost/flyweight/locking_tag.hpp", - "external/sources/boost/boost/flyweight/no_locking.hpp", - "external/sources/boost/boost/flyweight/no_locking_fwd.hpp", - "external/sources/boost/boost/flyweight/no_tracking.hpp", - "external/sources/boost/boost/flyweight/no_tracking_fwd.hpp", - "external/sources/boost/boost/flyweight/refcounted.hpp", - "external/sources/boost/boost/flyweight/refcounted_fwd.hpp", - "external/sources/boost/boost/flyweight/serialize.hpp", - "external/sources/boost/boost/flyweight/set_factory.hpp", - "external/sources/boost/boost/flyweight/set_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/simple_locking.hpp", - "external/sources/boost/boost/flyweight/simple_locking_fwd.hpp", - "external/sources/boost/boost/flyweight/static_holder.hpp", - "external/sources/boost/boost/flyweight/static_holder_fwd.hpp", - "external/sources/boost/boost/flyweight/tag.hpp", - "external/sources/boost/boost/flyweight/tracking_tag.hpp", - "external/sources/boost/boost/foreach.hpp", - "external/sources/boost/boost/foreach_fwd.hpp", - "external/sources/boost/boost/format.hpp", - "external/sources/boost/boost/format/alt_sstream.hpp", - "external/sources/boost/boost/format/alt_sstream_impl.hpp", - "external/sources/boost/boost/format/detail/compat_workarounds.hpp", - "external/sources/boost/boost/format/detail/config_macros.hpp", - "external/sources/boost/boost/format/detail/msvc_disambiguater.hpp", - "external/sources/boost/boost/format/detail/unset_macros.hpp", - "external/sources/boost/boost/format/detail/workarounds_gcc-2_95.hpp", - "external/sources/boost/boost/format/detail/workarounds_stlport.hpp", - "external/sources/boost/boost/format/exceptions.hpp", - "external/sources/boost/boost/format/feed_args.hpp", - "external/sources/boost/boost/format/format_class.hpp", - "external/sources/boost/boost/format/format_fwd.hpp", - "external/sources/boost/boost/format/format_implementation.hpp", - "external/sources/boost/boost/format/free_funcs.hpp", - "external/sources/boost/boost/format/group.hpp", - "external/sources/boost/boost/format/internals.hpp", - "external/sources/boost/boost/format/internals_fwd.hpp", - "external/sources/boost/boost/format/parsing.hpp", - "external/sources/boost/boost/function.hpp", - "external/sources/boost/boost/function/detail/function_iterate.hpp", - "external/sources/boost/boost/function/detail/gen_maybe_include.pl", - "external/sources/boost/boost/function/detail/maybe_include.hpp", - "external/sources/boost/boost/function/detail/prologue.hpp", - "external/sources/boost/boost/function/function0.hpp", - "external/sources/boost/boost/function/function1.hpp", - "external/sources/boost/boost/function/function10.hpp", - "external/sources/boost/boost/function/function2.hpp", - "external/sources/boost/boost/function/function3.hpp", - "external/sources/boost/boost/function/function4.hpp", - "external/sources/boost/boost/function/function5.hpp", - "external/sources/boost/boost/function/function6.hpp", - "external/sources/boost/boost/function/function7.hpp", - "external/sources/boost/boost/function/function8.hpp", - "external/sources/boost/boost/function/function9.hpp", - "external/sources/boost/boost/function/function_base.hpp", - "external/sources/boost/boost/function/function_fwd.hpp", - "external/sources/boost/boost/function/function_template.hpp", - "external/sources/boost/boost/function/function_typeof.hpp", - "external/sources/boost/boost/function/gen_function_N.pl", - "external/sources/boost/boost/function_equal.hpp", - "external/sources/boost/boost/function_output_iterator.hpp", - "external/sources/boost/boost/function_types/components.hpp", - "external/sources/boost/boost/function_types/config/cc_names.hpp", - "external/sources/boost/boost/function_types/config/compiler.hpp", - "external/sources/boost/boost/function_types/config/config.hpp", - "external/sources/boost/boost/function_types/detail/class_transform.hpp", - "external/sources/boost/boost/function_types/detail/classifier.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/components_as_mpl_sequence.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/cv_traits.hpp", - "external/sources/boost/boost/function_types/detail/encoding/aliases_def.hpp", - "external/sources/boost/boost/function_types/detail/encoding/aliases_undef.hpp", - "external/sources/boost/boost/function_types/detail/encoding/def.hpp", - "external/sources/boost/boost/function_types/detail/encoding/undef.hpp", - "external/sources/boost/boost/function_types/detail/pp_arity_loop.hpp", - "external/sources/boost/boost/function_types/detail/pp_cc_loop/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_cc_loop/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_loop.hpp", - "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/cc_tag.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_variate_loop/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_variate_loop/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/retag_default_cc.hpp", - "external/sources/boost/boost/function_types/detail/synthesize.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/to_sequence.hpp", - "external/sources/boost/boost/function_types/function_arity.hpp", - "external/sources/boost/boost/function_types/function_pointer.hpp", - "external/sources/boost/boost/function_types/function_reference.hpp", - "external/sources/boost/boost/function_types/function_type.hpp", - "external/sources/boost/boost/function_types/is_callable_builtin.hpp", - "external/sources/boost/boost/function_types/is_function.hpp", - "external/sources/boost/boost/function_types/is_function_pointer.hpp", - "external/sources/boost/boost/function_types/is_function_reference.hpp", - "external/sources/boost/boost/function_types/is_member_function_pointer.hpp", - "external/sources/boost/boost/function_types/is_member_object_pointer.hpp", - "external/sources/boost/boost/function_types/is_member_pointer.hpp", - "external/sources/boost/boost/function_types/is_nonmember_callable_builtin.hpp", - "external/sources/boost/boost/function_types/member_function_pointer.hpp", - "external/sources/boost/boost/function_types/member_object_pointer.hpp", - "external/sources/boost/boost/function_types/parameter_types.hpp", - "external/sources/boost/boost/function_types/property_tags.hpp", - "external/sources/boost/boost/function_types/result_type.hpp", - "external/sources/boost/boost/functional.hpp", - "external/sources/boost/boost/functional/factory.hpp", - "external/sources/boost/boost/functional/forward_adapter.hpp", - "external/sources/boost/boost/functional/hash.hpp", - "external/sources/boost/boost/functional/hash/extensions.hpp", - "external/sources/boost/boost/functional/hash/hash.hpp", - "external/sources/boost/boost/functional/hash/hash_fwd.hpp", - "external/sources/boost/boost/functional/hash_fwd.hpp", - "external/sources/boost/boost/functional/lightweight_forward_adapter.hpp", - "external/sources/boost/boost/functional/overloaded_function.hpp", - "external/sources/boost/boost/functional/overloaded_function/config.hpp", - "external/sources/boost/boost/functional/overloaded_function/detail/base.hpp", - "external/sources/boost/boost/functional/overloaded_function/detail/function_type.hpp", - "external/sources/boost/boost/functional/value_factory.hpp", - "external/sources/boost/boost/fusion/adapted.hpp", - "external/sources/boost/boost/fusion/adapted/adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_adt_named.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt_named.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_assoc_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/extension.hpp", - "external/sources/boost/boost/fusion/adapted/array.hpp", - "external/sources/boost/boost/fusion/adapted/array/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/deref_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/array/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/value_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/array_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/mpl/clear.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/mpl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/empty_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/has_key_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/mpl_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_array.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/array_size.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/std_array_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/std_pair.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/mpl/clear.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/std_tuple_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_struct_named.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_assoc_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_auto.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_assoc_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_is_tpl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/extension.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/namespace.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/proxy_type.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/algorithm.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary/copy.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary/move.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/accumulate.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/accumulate_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/for_each_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query.hpp", - "external/sources/boost/boost/fusion/algorithm/query/all.hpp", - "external/sources/boost/boost/fusion/algorithm/query/any.hpp", - "external/sources/boost/boost/fusion/algorithm/query/count.hpp", - "external/sources/boost/boost/fusion/algorithm/query/count_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/all.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/any.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/count.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/count_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_if_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query/none.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/clear.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip10.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip20.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip30.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip40.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip50.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/erase.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/erase_key.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/filter.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/filter_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/flatten.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/insert.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/insert_range.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/join.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/pop_back.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/pop_front.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/push_back.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/push_front.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/remove.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/remove_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/replace.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/replace_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/reverse.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/transform.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/zip.hpp", - "external/sources/boost/boost/fusion/container.hpp", - "external/sources/boost/boost/fusion/container/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/back_extended_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/convert.hpp", - "external/sources/boost/boost/fusion/container/deque/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/deque_iterator.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/as_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_initial_size.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/keyed_element.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/front_extended_deque.hpp", - "external/sources/boost/boost/fusion/container/generation.hpp", - "external/sources/boost/boost/fusion/container/generation/cons_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_vector_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/ignore.hpp", - "external/sources/boost/boost/fusion/container/generation/list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/make_cons.hpp", - "external/sources/boost/boost/fusion/container/generation/make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/pair_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/vector_tie.hpp", - "external/sources/boost/boost/fusion/container/list.hpp", - "external/sources/boost/boost/fusion/container/list/cons.hpp", - "external/sources/boost/boost/fusion/container/list/cons_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/cons_iterator.hpp", - "external/sources/boost/boost/fusion/container/list/convert.hpp", - "external/sources/boost/boost/fusion/container/list/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp", - "external/sources/boost/boost/fusion/container/list/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/empty_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/reverse_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/list/list.hpp", - "external/sources/boost/boost/fusion/container/list/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/nil.hpp", - "external/sources/boost/boost/fusion/container/map.hpp", - "external/sources/boost/boost/fusion/container/map/convert.hpp", - "external/sources/boost/boost/fusion/container/map/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/at_key_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/as_map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/end_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/key_of_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map10.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map20.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map30.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map40.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map50.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/map_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/map_index.hpp", - "external/sources/boost/boost/fusion/container/map/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/value_at_key_impl.hpp", - "external/sources/boost/boost/fusion/container/map/map.hpp", - "external/sources/boost/boost/fusion/container/map/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/map_iterator.hpp", - "external/sources/boost/boost/fusion/container/set.hpp", - "external/sources/boost/boost/fusion/container/set/convert.hpp", - "external/sources/boost/boost/fusion/container/set/detail/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/set/set.hpp", - "external/sources/boost/boost/fusion/container/set/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/convert.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/config.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/vector_iterator.hpp", - "external/sources/boost/boost/fusion/functional.hpp", - "external/sources/boost/boost/fusion/functional/adapter.hpp", - "external/sources/boost/boost/fusion/functional/adapter/detail/access.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused_function_object.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused_procedure.hpp", - "external/sources/boost/boost/fusion/functional/adapter/limits.hpp", - "external/sources/boost/boost/fusion/functional/adapter/unfused.hpp", - "external/sources/boost/boost/fusion/functional/adapter/unfused_typed.hpp", - "external/sources/boost/boost/fusion/functional/generation.hpp", - "external/sources/boost/boost/fusion/functional/generation/detail/gen_make_adapter.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused_function_object.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused_procedure.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_unfused.hpp", - "external/sources/boost/boost/fusion/functional/invocation.hpp", - "external/sources/boost/boost/fusion/functional/invocation/detail/that_ptr.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke_function_object.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke_procedure.hpp", - "external/sources/boost/boost/fusion/functional/invocation/limits.hpp", - "external/sources/boost/boost/fusion/include/accumulate.hpp", - "external/sources/boost/boost/fusion/include/adapt_adt.hpp", - "external/sources/boost/boost/fusion/include/adapt_adt_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_adt.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_adt_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_struct.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_struct_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_struct.hpp", - "external/sources/boost/boost/fusion/include/adapt_struct_named.hpp", - "external/sources/boost/boost/fusion/include/adapted.hpp", - "external/sources/boost/boost/fusion/include/adapter.hpp", - "external/sources/boost/boost/fusion/include/advance.hpp", - "external/sources/boost/boost/fusion/include/algorithm.hpp", - "external/sources/boost/boost/fusion/include/all.hpp", - "external/sources/boost/boost/fusion/include/any.hpp", - "external/sources/boost/boost/fusion/include/array.hpp", - "external/sources/boost/boost/fusion/include/as_deque.hpp", - "external/sources/boost/boost/fusion/include/as_list.hpp", - "external/sources/boost/boost/fusion/include/as_map.hpp", - "external/sources/boost/boost/fusion/include/as_set.hpp", - "external/sources/boost/boost/fusion/include/as_vector.hpp", - "external/sources/boost/boost/fusion/include/at.hpp", - "external/sources/boost/boost/fusion/include/at_c.hpp", - "external/sources/boost/boost/fusion/include/at_key.hpp", - "external/sources/boost/boost/fusion/include/auxiliary.hpp", - "external/sources/boost/boost/fusion/include/back.hpp", - "external/sources/boost/boost/fusion/include/begin.hpp", - "external/sources/boost/boost/fusion/include/boost_array.hpp", - "external/sources/boost/boost/fusion/include/boost_tuple.hpp", - "external/sources/boost/boost/fusion/include/category_of.hpp", - "external/sources/boost/boost/fusion/include/clear.hpp", - "external/sources/boost/boost/fusion/include/comparison.hpp", - "external/sources/boost/boost/fusion/include/cons.hpp", - "external/sources/boost/boost/fusion/include/cons_tie.hpp", - "external/sources/boost/boost/fusion/include/container.hpp", - "external/sources/boost/boost/fusion/include/convert.hpp", - "external/sources/boost/boost/fusion/include/copy.hpp", - "external/sources/boost/boost/fusion/include/count.hpp", - "external/sources/boost/boost/fusion/include/count_if.hpp", - "external/sources/boost/boost/fusion/include/deduce.hpp", - "external/sources/boost/boost/fusion/include/deduce_sequence.hpp", - "external/sources/boost/boost/fusion/include/define_assoc_struct.hpp", - "external/sources/boost/boost/fusion/include/define_struct.hpp", - "external/sources/boost/boost/fusion/include/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/include/deque.hpp", - "external/sources/boost/boost/fusion/include/deque_fwd.hpp", - "external/sources/boost/boost/fusion/include/deque_tie.hpp", - "external/sources/boost/boost/fusion/include/deref.hpp", - "external/sources/boost/boost/fusion/include/deref_data.hpp", - "external/sources/boost/boost/fusion/include/distance.hpp", - "external/sources/boost/boost/fusion/include/empty.hpp", - "external/sources/boost/boost/fusion/include/end.hpp", - "external/sources/boost/boost/fusion/include/equal_to.hpp", - "external/sources/boost/boost/fusion/include/erase.hpp", - "external/sources/boost/boost/fusion/include/erase_key.hpp", - "external/sources/boost/boost/fusion/include/filter.hpp", - "external/sources/boost/boost/fusion/include/filter_if.hpp", - "external/sources/boost/boost/fusion/include/filter_view.hpp", - "external/sources/boost/boost/fusion/include/find.hpp", - "external/sources/boost/boost/fusion/include/find_if.hpp", - "external/sources/boost/boost/fusion/include/flatten.hpp", - "external/sources/boost/boost/fusion/include/flatten_view.hpp", - "external/sources/boost/boost/fusion/include/fold.hpp", - "external/sources/boost/boost/fusion/include/for_each.hpp", - "external/sources/boost/boost/fusion/include/front.hpp", - "external/sources/boost/boost/fusion/include/functional.hpp", - "external/sources/boost/boost/fusion/include/fused.hpp", - "external/sources/boost/boost/fusion/include/fused_function_object.hpp", - "external/sources/boost/boost/fusion/include/fused_procedure.hpp", - "external/sources/boost/boost/fusion/include/generation.hpp", - "external/sources/boost/boost/fusion/include/greater.hpp", - "external/sources/boost/boost/fusion/include/greater_equal.hpp", - "external/sources/boost/boost/fusion/include/has_key.hpp", - "external/sources/boost/boost/fusion/include/hash.hpp", - "external/sources/boost/boost/fusion/include/ignore.hpp", - "external/sources/boost/boost/fusion/include/in.hpp", - "external/sources/boost/boost/fusion/include/insert.hpp", - "external/sources/boost/boost/fusion/include/insert_range.hpp", - "external/sources/boost/boost/fusion/include/intrinsic.hpp", - "external/sources/boost/boost/fusion/include/invocation.hpp", - "external/sources/boost/boost/fusion/include/invoke.hpp", - "external/sources/boost/boost/fusion/include/invoke_function_object.hpp", - "external/sources/boost/boost/fusion/include/invoke_procedure.hpp", - "external/sources/boost/boost/fusion/include/io.hpp", - "external/sources/boost/boost/fusion/include/is_iterator.hpp", - "external/sources/boost/boost/fusion/include/is_segmented.hpp", - "external/sources/boost/boost/fusion/include/is_sequence.hpp", - "external/sources/boost/boost/fusion/include/is_view.hpp", - "external/sources/boost/boost/fusion/include/iter_fold.hpp", - "external/sources/boost/boost/fusion/include/iteration.hpp", - "external/sources/boost/boost/fusion/include/iterator.hpp", - "external/sources/boost/boost/fusion/include/iterator_adapter.hpp", - "external/sources/boost/boost/fusion/include/iterator_base.hpp", - "external/sources/boost/boost/fusion/include/iterator_facade.hpp", - "external/sources/boost/boost/fusion/include/iterator_range.hpp", - "external/sources/boost/boost/fusion/include/join.hpp", - "external/sources/boost/boost/fusion/include/joint_view.hpp", - "external/sources/boost/boost/fusion/include/key_of.hpp", - "external/sources/boost/boost/fusion/include/less.hpp", - "external/sources/boost/boost/fusion/include/less_equal.hpp", - "external/sources/boost/boost/fusion/include/list.hpp", - "external/sources/boost/boost/fusion/include/list_fwd.hpp", - "external/sources/boost/boost/fusion/include/list_tie.hpp", - "external/sources/boost/boost/fusion/include/make_cons.hpp", - "external/sources/boost/boost/fusion/include/make_deque.hpp", - "external/sources/boost/boost/fusion/include/make_fused.hpp", - "external/sources/boost/boost/fusion/include/make_fused_function_object.hpp", - "external/sources/boost/boost/fusion/include/make_fused_procedure.hpp", - "external/sources/boost/boost/fusion/include/make_list.hpp", - "external/sources/boost/boost/fusion/include/make_map.hpp", - "external/sources/boost/boost/fusion/include/make_set.hpp", - "external/sources/boost/boost/fusion/include/make_tuple.hpp", - "external/sources/boost/boost/fusion/include/make_unfused.hpp", - "external/sources/boost/boost/fusion/include/make_vector.hpp", - "external/sources/boost/boost/fusion/include/map.hpp", - "external/sources/boost/boost/fusion/include/map_fwd.hpp", - "external/sources/boost/boost/fusion/include/map_tie.hpp", - "external/sources/boost/boost/fusion/include/move.hpp", - "external/sources/boost/boost/fusion/include/mpl.hpp", - "external/sources/boost/boost/fusion/include/next.hpp", - "external/sources/boost/boost/fusion/include/nil.hpp", - "external/sources/boost/boost/fusion/include/none.hpp", - "external/sources/boost/boost/fusion/include/not_equal_to.hpp", - "external/sources/boost/boost/fusion/include/nview.hpp", - "external/sources/boost/boost/fusion/include/out.hpp", - "external/sources/boost/boost/fusion/include/pair.hpp", - "external/sources/boost/boost/fusion/include/pair_tie.hpp", - "external/sources/boost/boost/fusion/include/pop_back.hpp", - "external/sources/boost/boost/fusion/include/pop_front.hpp", - "external/sources/boost/boost/fusion/include/prior.hpp", - "external/sources/boost/boost/fusion/include/proxy_type.hpp", - "external/sources/boost/boost/fusion/include/push_back.hpp", - "external/sources/boost/boost/fusion/include/push_front.hpp", - "external/sources/boost/boost/fusion/include/query.hpp", - "external/sources/boost/boost/fusion/include/remove.hpp", - "external/sources/boost/boost/fusion/include/remove_if.hpp", - "external/sources/boost/boost/fusion/include/repetitive_view.hpp", - "external/sources/boost/boost/fusion/include/replace.hpp", - "external/sources/boost/boost/fusion/include/replace_if.hpp", - "external/sources/boost/boost/fusion/include/reverse.hpp", - "external/sources/boost/boost/fusion/include/reverse_fold.hpp", - "external/sources/boost/boost/fusion/include/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/include/reverse_view.hpp", - "external/sources/boost/boost/fusion/include/segmented_fold_until.hpp", - "external/sources/boost/boost/fusion/include/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/include/segments.hpp", - "external/sources/boost/boost/fusion/include/sequence.hpp", - "external/sources/boost/boost/fusion/include/sequence_base.hpp", - "external/sources/boost/boost/fusion/include/sequence_facade.hpp", - "external/sources/boost/boost/fusion/include/set.hpp", - "external/sources/boost/boost/fusion/include/set_fwd.hpp", - "external/sources/boost/boost/fusion/include/single_view.hpp", - "external/sources/boost/boost/fusion/include/size.hpp", - "external/sources/boost/boost/fusion/include/std_array.hpp", - "external/sources/boost/boost/fusion/include/std_pair.hpp", - "external/sources/boost/boost/fusion/include/std_tuple.hpp", - "external/sources/boost/boost/fusion/include/struct.hpp", - "external/sources/boost/boost/fusion/include/support.hpp", - "external/sources/boost/boost/fusion/include/swap.hpp", - "external/sources/boost/boost/fusion/include/tag_of.hpp", - "external/sources/boost/boost/fusion/include/tag_of_fwd.hpp", - "external/sources/boost/boost/fusion/include/transform.hpp", - "external/sources/boost/boost/fusion/include/transform_view.hpp", - "external/sources/boost/boost/fusion/include/transformation.hpp", - "external/sources/boost/boost/fusion/include/tuple.hpp", - "external/sources/boost/boost/fusion/include/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/include/tuple_tie.hpp", - "external/sources/boost/boost/fusion/include/unfused.hpp", - "external/sources/boost/boost/fusion/include/unfused_typed.hpp", - "external/sources/boost/boost/fusion/include/unused.hpp", - "external/sources/boost/boost/fusion/include/value_at.hpp", - "external/sources/boost/boost/fusion/include/value_at_key.hpp", - "external/sources/boost/boost/fusion/include/value_of.hpp", - "external/sources/boost/boost/fusion/include/value_of_data.hpp", - "external/sources/boost/boost/fusion/include/vector.hpp", - "external/sources/boost/boost/fusion/include/vector10.hpp", - "external/sources/boost/boost/fusion/include/vector20.hpp", - "external/sources/boost/boost/fusion/include/vector30.hpp", - "external/sources/boost/boost/fusion/include/vector40.hpp", - "external/sources/boost/boost/fusion/include/vector50.hpp", - "external/sources/boost/boost/fusion/include/vector_fwd.hpp", - "external/sources/boost/boost/fusion/include/vector_tie.hpp", - "external/sources/boost/boost/fusion/include/view.hpp", - "external/sources/boost/boost/fusion/include/void.hpp", - "external/sources/boost/boost/fusion/include/zip.hpp", - "external/sources/boost/boost/fusion/include/zip_view.hpp", - "external/sources/boost/boost/fusion/iterator.hpp", - "external/sources/boost/boost/fusion/iterator/advance.hpp", - "external/sources/boost/boost/fusion/iterator/basic_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/deref.hpp", - "external/sources/boost/boost/fusion/iterator/deref_data.hpp", - "external/sources/boost/boost/fusion/iterator/detail/adapt_deref_traits.hpp", - "external/sources/boost/boost/fusion/iterator/detail/adapt_value_traits.hpp", - "external/sources/boost/boost/fusion/iterator/detail/advance.hpp", - "external/sources/boost/boost/fusion/iterator/detail/distance.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segment_sequence.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_equal_to.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_next_impl.hpp", - "external/sources/boost/boost/fusion/iterator/distance.hpp", - "external/sources/boost/boost/fusion/iterator/equal_to.hpp", - "external/sources/boost/boost/fusion/iterator/iterator_adapter.hpp", - "external/sources/boost/boost/fusion/iterator/iterator_facade.hpp", - "external/sources/boost/boost/fusion/iterator/key_of.hpp", - "external/sources/boost/boost/fusion/iterator/mpl.hpp", - "external/sources/boost/boost/fusion/iterator/mpl/convert_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/mpl/fusion_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/next.hpp", - "external/sources/boost/boost/fusion/iterator/prior.hpp", - "external/sources/boost/boost/fusion/iterator/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/value_of.hpp", - "external/sources/boost/boost/fusion/iterator/value_of_data.hpp", - "external/sources/boost/boost/fusion/mpl.hpp", - "external/sources/boost/boost/fusion/mpl/at.hpp", - "external/sources/boost/boost/fusion/mpl/back.hpp", - "external/sources/boost/boost/fusion/mpl/begin.hpp", - "external/sources/boost/boost/fusion/mpl/clear.hpp", - "external/sources/boost/boost/fusion/mpl/detail/clear.hpp", - "external/sources/boost/boost/fusion/mpl/empty.hpp", - "external/sources/boost/boost/fusion/mpl/end.hpp", - "external/sources/boost/boost/fusion/mpl/erase.hpp", - "external/sources/boost/boost/fusion/mpl/erase_key.hpp", - "external/sources/boost/boost/fusion/mpl/front.hpp", - "external/sources/boost/boost/fusion/mpl/has_key.hpp", - "external/sources/boost/boost/fusion/mpl/insert.hpp", - "external/sources/boost/boost/fusion/mpl/insert_range.hpp", - "external/sources/boost/boost/fusion/mpl/pop_back.hpp", - "external/sources/boost/boost/fusion/mpl/pop_front.hpp", - "external/sources/boost/boost/fusion/mpl/push_back.hpp", - "external/sources/boost/boost/fusion/mpl/push_front.hpp", - "external/sources/boost/boost/fusion/mpl/size.hpp", - "external/sources/boost/boost/fusion/sequence.hpp", - "external/sources/boost/boost/fusion/sequence/comparison.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/greater.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/greater_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/less.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/less_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/not_equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/enable_comparison.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/greater.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/greater_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/less.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/less_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/not_equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/convert.hpp", - "external/sources/boost/boost/fusion/sequence/hash.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at_c.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/back.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/begin.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_size.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/empty.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/end.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/front.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/has_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/segments.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/size.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/swap.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/value_at.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/value_at_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic_fwd.hpp", - "external/sources/boost/boost/fusion/sequence/io.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/in.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/manip.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/out.hpp", - "external/sources/boost/boost/fusion/sequence/io/in.hpp", - "external/sources/boost/boost/fusion/sequence/io/out.hpp", - "external/sources/boost/boost/fusion/sequence/sequence_facade.hpp", - "external/sources/boost/boost/fusion/support.hpp", - "external/sources/boost/boost/fusion/support/as_const.hpp", - "external/sources/boost/boost/fusion/support/category_of.hpp", - "external/sources/boost/boost/fusion/support/config.hpp", - "external/sources/boost/boost/fusion/support/deduce.hpp", - "external/sources/boost/boost/fusion/support/deduce_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/access.hpp", - "external/sources/boost/boost/fusion/support/detail/and.hpp", - "external/sources/boost/boost/fusion/support/detail/as_fusion_element.hpp", - "external/sources/boost/boost/fusion/support/detail/enabler.hpp", - "external/sources/boost/boost/fusion/support/detail/index_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_mpl_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_native_fusion_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_same_size.hpp", - "external/sources/boost/boost/fusion/support/detail/mpl_iterator_category.hpp", - "external/sources/boost/boost/fusion/support/detail/pp_round.hpp", - "external/sources/boost/boost/fusion/support/detail/segmented_fold_until_impl.hpp", - "external/sources/boost/boost/fusion/support/is_iterator.hpp", - "external/sources/boost/boost/fusion/support/is_segmented.hpp", - "external/sources/boost/boost/fusion/support/is_sequence.hpp", - "external/sources/boost/boost/fusion/support/is_view.hpp", - "external/sources/boost/boost/fusion/support/iterator_base.hpp", - "external/sources/boost/boost/fusion/support/pair.hpp", - "external/sources/boost/boost/fusion/support/segmented_fold_until.hpp", - "external/sources/boost/boost/fusion/support/sequence_base.hpp", - "external/sources/boost/boost/fusion/support/tag_of.hpp", - "external/sources/boost/boost/fusion/support/tag_of_fwd.hpp", - "external/sources/boost/boost/fusion/support/unused.hpp", - "external/sources/boost/boost/fusion/support/void.hpp", - "external/sources/boost/boost/fusion/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_expand.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_tie.hpp", - "external/sources/boost/boost/fusion/tuple/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/tuple_tie.hpp", - "external/sources/boost/boost/fusion/view.hpp", - "external/sources/boost/boost/fusion/view/detail/strictest_traversal.hpp", - "external/sources/boost/boost/fusion/view/filter_view.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/filter_view.hpp", - "external/sources/boost/boost/fusion/view/filter_view/filter_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/flatten_view.hpp", - "external/sources/boost/boost/fusion/view/flatten_view/flatten_view.hpp", - "external/sources/boost/boost/fusion/view/flatten_view/flatten_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/iterator_range.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/is_segmented_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/segments_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/iterator_range.hpp", - "external/sources/boost/boost/fusion/view/joint_view.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/nview.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/cpp03/nview_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/nview_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/nview.hpp", - "external/sources/boost/boost/fusion/view/nview/nview_iterator.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/reverse_view.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/reverse_view.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/reverse_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/single_view.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/single_view.hpp", - "external/sources/boost/boost/fusion/view/single_view/single_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/transform_view.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/zip_view.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp", - "external/sources/boost/boost/generator_iterator.hpp", - "external/sources/boost/boost/geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/append.hpp", - "external/sources/boost/boost/geometry/algorithms/area.hpp", - "external/sources/boost/boost/geometry/algorithms/assign.hpp", - "external/sources/boost/boost/geometry/algorithms/buffer.hpp", - "external/sources/boost/boost/geometry/algorithms/centroid.hpp", - "external/sources/boost/boost/geometry/algorithms/clear.hpp", - "external/sources/boost/boost/geometry/algorithms/comparable_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/convert.hpp", - "external/sources/boost/boost/geometry/algorithms/convex_hull.hpp", - "external/sources/boost/boost/geometry/algorithms/correct.hpp", - "external/sources/boost/boost/geometry/algorithms/correct_closure.hpp", - "external/sources/boost/boost/geometry/algorithms/covered_by.hpp", - "external/sources/boost/boost/geometry/algorithms/crosses.hpp", - "external/sources/boost/boost/geometry/algorithms/densify.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/as_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_box_corners.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_indexed_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_values.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/azimuth.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_policies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/line_line_intersection.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/piece_border.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_original_visitor.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_null.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_point_order.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_sum.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/centroid/translating_transformer.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/check_iterator_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/geometry_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/point_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/convert_indexed_to_indexed.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/convert_point_to_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/counting.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/course.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/covered_by/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/covered_by/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/direction_code.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_segment_or_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multipoint_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multirange_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/segment_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/backward_compatibility.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/box_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/default_strategies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/geometry_to_segment_or_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/is_comparable.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/iterator_selector.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_or_areal_to_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/multipoint_to_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/initialize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/intersects_antimeridian.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/multipoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/range_of_boxes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/transform_units.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/collect_vectors.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/indexed.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand_by_epsilon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/extreme_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/for_each_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/get_max_size.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/has_self_intersections.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/interior_iterator.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/multi.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersects/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersects/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/always_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/failure_policy.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/multipoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_complement_graph.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_print_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_validity_phase.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_duplicates.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_invalid_coordinate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_valid_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/multipolygon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/pointlike.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/polygon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/make/make.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/max_interval_gap.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_modify.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_sum.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/normalize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/not.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/num_distinct_consecutive_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlaps/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlaps/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/add_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_duplicates.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/assign_parents.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/backtrack_check_si.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/check_enrich.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/clip_linestring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_exits.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/convert_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segments.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/debug_turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/do_reverse.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow_linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_distance_measure.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_relative_order.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/less_by_segment_ratio.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/needs_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay_type.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_pointlike.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/range_in_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/ring_properties.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_as_subrange.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_identifier.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/select_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/self_turn_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/sort_by_side.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/stream_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_ring_creator.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_switch_detector.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traverse.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/visit_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/partition.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/point_is_spike_or_equal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/point_on_border.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/recalculate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/boundary_checker.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/de9im.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/follow_helpers.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/multi_point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/relate_impl.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/result.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/topology_check.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relation/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relation/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/ring_identifier.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/range_by_section.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/section_box_policies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/section_functions.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/sectionalize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/signed_size_type.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/single_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sub_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sweep.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/throw_on_empty_input.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/touches/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/touches/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/tupled_output.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/compare_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/debug_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/filter_continue_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/print_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/remove_duplicate_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/multi_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/point_in_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/within_no_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/difference.hpp", - "external/sources/boost/boost/geometry/algorithms/discrete_frechet_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/discrete_hausdorff_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/disjoint.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/disjoint.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/distance.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/envelope.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/expand.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/is_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/is_valid.hpp", - "external/sources/boost/boost/geometry/algorithms/distance.hpp", - "external/sources/boost/boost/geometry/algorithms/envelope.hpp", - "external/sources/boost/boost/geometry/algorithms/equals.hpp", - "external/sources/boost/boost/geometry/algorithms/expand.hpp", - "external/sources/boost/boost/geometry/algorithms/for_each.hpp", - "external/sources/boost/boost/geometry/algorithms/intersection.hpp", - "external/sources/boost/boost/geometry/algorithms/intersects.hpp", - "external/sources/boost/boost/geometry/algorithms/is_convex.hpp", - "external/sources/boost/boost/geometry/algorithms/is_empty.hpp", - "external/sources/boost/boost/geometry/algorithms/is_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/is_valid.hpp", - "external/sources/boost/boost/geometry/algorithms/length.hpp", - "external/sources/boost/boost/geometry/algorithms/line_interpolate.hpp", - "external/sources/boost/boost/geometry/algorithms/make.hpp", - "external/sources/boost/boost/geometry/algorithms/not_implemented.hpp", - "external/sources/boost/boost/geometry/algorithms/num_geometries.hpp", - "external/sources/boost/boost/geometry/algorithms/num_interior_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/num_points.hpp", - "external/sources/boost/boost/geometry/algorithms/num_segments.hpp", - "external/sources/boost/boost/geometry/algorithms/overlaps.hpp", - "external/sources/boost/boost/geometry/algorithms/perimeter.hpp", - "external/sources/boost/boost/geometry/algorithms/point_on_surface.hpp", - "external/sources/boost/boost/geometry/algorithms/relate.hpp", - "external/sources/boost/boost/geometry/algorithms/relation.hpp", - "external/sources/boost/boost/geometry/algorithms/remove_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/reverse.hpp", - "external/sources/boost/boost/geometry/algorithms/simplify.hpp", - "external/sources/boost/boost/geometry/algorithms/sym_difference.hpp", - "external/sources/boost/boost/geometry/algorithms/touches.hpp", - "external/sources/boost/boost/geometry/algorithms/transform.hpp", - "external/sources/boost/boost/geometry/algorithms/union.hpp", - "external/sources/boost/boost/geometry/algorithms/unique.hpp", - "external/sources/boost/boost/geometry/algorithms/validity_failure_type.hpp", - "external/sources/boost/boost/geometry/algorithms/within.hpp", - "external/sources/boost/boost/geometry/arithmetic/arithmetic.hpp", - "external/sources/boost/boost/geometry/arithmetic/cross_product.hpp", - "external/sources/boost/boost/geometry/arithmetic/determinant.hpp", - "external/sources/boost/boost/geometry/arithmetic/dot_product.hpp", - "external/sources/boost/boost/geometry/arithmetic/infinite_line_functions.hpp", - "external/sources/boost/boost/geometry/arithmetic/normalize.hpp", - "external/sources/boost/boost/geometry/core/access.hpp", - "external/sources/boost/boost/geometry/core/assert.hpp", - "external/sources/boost/boost/geometry/core/closure.hpp", - "external/sources/boost/boost/geometry/core/config.hpp", - "external/sources/boost/boost/geometry/core/coordinate_dimension.hpp", - "external/sources/boost/boost/geometry/core/coordinate_system.hpp", - "external/sources/boost/boost/geometry/core/coordinate_type.hpp", - "external/sources/boost/boost/geometry/core/cs.hpp", - "external/sources/boost/boost/geometry/core/exception.hpp", - "external/sources/boost/boost/geometry/core/exterior_ring.hpp", - "external/sources/boost/boost/geometry/core/geometry_id.hpp", - "external/sources/boost/boost/geometry/core/interior_rings.hpp", - "external/sources/boost/boost/geometry/core/interior_type.hpp", - "external/sources/boost/boost/geometry/core/is_areal.hpp", - "external/sources/boost/boost/geometry/core/mutable_range.hpp", - "external/sources/boost/boost/geometry/core/point_order.hpp", - "external/sources/boost/boost/geometry/core/point_type.hpp", - "external/sources/boost/boost/geometry/core/radian_access.hpp", - "external/sources/boost/boost/geometry/core/radius.hpp", - "external/sources/boost/boost/geometry/core/reverse_dispatch.hpp", - "external/sources/boost/boost/geometry/core/ring_type.hpp", - "external/sources/boost/boost/geometry/core/tag.hpp", - "external/sources/boost/boost/geometry/core/tag_cast.hpp", - "external/sources/boost/boost/geometry/core/tags.hpp", - "external/sources/boost/boost/geometry/core/topological_dimension.hpp", - "external/sources/boost/boost/geometry/formulas/andoyer_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/area_formulas.hpp", - "external/sources/boost/boost/geometry/formulas/authalic_radius_sqr.hpp", - "external/sources/boost/boost/geometry/formulas/differential_quantities.hpp", - "external/sources/boost/boost/geometry/formulas/eccentricity_sqr.hpp", - "external/sources/boost/boost/geometry/formulas/flattening.hpp", - "external/sources/boost/boost/geometry/formulas/geographic.hpp", - "external/sources/boost/boost/geometry/formulas/gnomonic_intersection.hpp", - "external/sources/boost/boost/geometry/formulas/gnomonic_spheroid.hpp", - "external/sources/boost/boost/geometry/formulas/interpolate_point_spherical.hpp", - "external/sources/boost/boost/geometry/formulas/karney_direct.hpp", - "external/sources/boost/boost/geometry/formulas/karney_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/mean_radius.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_direct.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_segment.hpp", - "external/sources/boost/boost/geometry/formulas/quarter_meridian.hpp", - "external/sources/boost/boost/geometry/formulas/result_direct.hpp", - "external/sources/boost/boost/geometry/formulas/result_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/sjoberg_intersection.hpp", - "external/sources/boost/boost/geometry/formulas/spherical.hpp", - "external/sources/boost/boost/geometry/formulas/thomas_direct.hpp", - "external/sources/boost/boost/geometry/formulas/thomas_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/unit_spheroid.hpp", - "external/sources/boost/boost/geometry/formulas/vertex_latitude.hpp", - "external/sources/boost/boost/geometry/formulas/vertex_longitude.hpp", - "external/sources/boost/boost/geometry/formulas/vincenty_direct.hpp", - "external/sources/boost/boost/geometry/formulas/vincenty_inverse.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_fusion.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/box.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/hole_iterator.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/holes_proxy.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/point.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring_proxy.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/adjacent_filtered.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/filtered.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/reversed.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/sliced.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/strided.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/uniqued.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_tuple.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/c_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/std_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/std_pair_as_segment.hpp", - "external/sources/boost/boost/geometry/geometries/box.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/box_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/check.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/linestring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_linestring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_point_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_polygon_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/point_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/polygon_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/ring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/segment_concept.hpp", - "external/sources/boost/boost/geometry/geometries/geometries.hpp", - "external/sources/boost/boost/geometry/geometries/helper_geometry.hpp", - "external/sources/boost/boost/geometry/geometries/infinite_line.hpp", - "external/sources/boost/boost/geometry/geometries/linestring.hpp", - "external/sources/boost/boost/geometry/geometries/multi_linestring.hpp", - "external/sources/boost/boost/geometry/geometries/multi_point.hpp", - "external/sources/boost/boost/geometry/geometries/multi_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/point.hpp", - "external/sources/boost/boost/geometry/geometries/point_xy.hpp", - "external/sources/boost/boost/geometry/geometries/point_xyz.hpp", - "external/sources/boost/boost/geometry/geometries/pointing_segment.hpp", - "external/sources/boost/boost/geometry/geometries/polygon.hpp", - "external/sources/boost/boost/geometry/geometries/register/box.hpp", - "external/sources/boost/boost/geometry/geometries/register/linestring.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_linestring.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_point.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/register/point.hpp", - "external/sources/boost/boost/geometry/geometries/register/ring.hpp", - "external/sources/boost/boost/geometry/geometries/register/segment.hpp", - "external/sources/boost/boost/geometry/geometries/ring.hpp", - "external/sources/boost/boost/geometry/geometries/segment.hpp", - "external/sources/boost/boost/geometry/geometries/variant.hpp", - "external/sources/boost/boost/geometry/geometry.hpp", - "external/sources/boost/boost/geometry/index/adaptors/query.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/bounds.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_centroid.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_far.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_near.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/content.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/diff_abs.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/intersection_content.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/is_valid.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/margin.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/minmaxdist.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/nth_element.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/path_intersection.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/segment_intersection.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/smallest_for_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/sum_for_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/union_content.hpp", - "external/sources/boost/boost/geometry/index/detail/assert.hpp", - "external/sources/boost/boost/geometry/index/detail/bounded_view.hpp", - "external/sources/boost/boost/geometry/index/detail/config_begin.hpp", - "external/sources/boost/boost/geometry/index/detail/config_end.hpp", - "external/sources/boost/boost/geometry/index/detail/distance_predicates.hpp", - "external/sources/boost/boost/geometry/index/detail/exception.hpp", - "external/sources/boost/boost/geometry/index/detail/is_bounding_geometry.hpp", - "external/sources/boost/boost/geometry/index/detail/is_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/meta.hpp", - "external/sources/boost/boost/geometry/index/detail/predicates.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/adaptors.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/iterators.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/kmeans.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/split.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/linear/linear.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/linear/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/concept.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/node.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/node_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/pairs.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/scoped_deallocator.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/subtree_destroyer.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_dynamic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_static.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_visitor.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_static.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_visitor.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/options.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/pack_create.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/quadratic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/query_iterators.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/insert.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/rstar.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_boxes_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_counts_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_levels_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/print.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/statistics.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/view.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/children_box.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/copy.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/count.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/destroy.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/distance_query.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/insert.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/iterator.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/remove.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp", - "external/sources/boost/boost/geometry/index/detail/serialization.hpp", - "external/sources/boost/boost/geometry/index/detail/tags.hpp", - "external/sources/boost/boost/geometry/index/detail/translator.hpp", - "external/sources/boost/boost/geometry/index/detail/utilities.hpp", - "external/sources/boost/boost/geometry/index/detail/varray.hpp", - "external/sources/boost/boost/geometry/index/detail/varray_detail.hpp", - "external/sources/boost/boost/geometry/index/distance_predicates.hpp", - "external/sources/boost/boost/geometry/index/equal_to.hpp", - "external/sources/boost/boost/geometry/index/indexable.hpp", - "external/sources/boost/boost/geometry/index/inserter.hpp", - "external/sources/boost/boost/geometry/index/parameters.hpp", - "external/sources/boost/boost/geometry/index/predicates.hpp", - "external/sources/boost/boost/geometry/index/rtree.hpp", - "external/sources/boost/boost/geometry/io/dsv/write.hpp", - "external/sources/boost/boost/geometry/io/io.hpp", - "external/sources/boost/boost/geometry/io/svg/svg_mapper.hpp", - "external/sources/boost/boost/geometry/io/svg/write.hpp", - "external/sources/boost/boost/geometry/io/svg/write_svg.hpp", - "external/sources/boost/boost/geometry/io/svg/write_svg_multi.hpp", - "external/sources/boost/boost/geometry/io/wkt/detail/prefix.hpp", - "external/sources/boost/boost/geometry/io/wkt/detail/wkt_multi.hpp", - "external/sources/boost/boost/geometry/io/wkt/read.hpp", - "external/sources/boost/boost/geometry/io/wkt/stream.hpp", - "external/sources/boost/boost/geometry/io/wkt/wkt.hpp", - "external/sources/boost/boost/geometry/io/wkt/write.hpp", - "external/sources/boost/boost/geometry/iterators/base.hpp", - "external/sources/boost/boost/geometry/iterators/closing_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/concatenate_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/inner_range_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/iterator_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/value_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/iterator_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/range_segment_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/value_type.hpp", - "external/sources/boost/boost/geometry/iterators/dispatch/point_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/dispatch/segment_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/ever_circling_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/flatten_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/has_one_element.hpp", - "external/sources/boost/boost/geometry/iterators/point_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/point_reverse_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/segment_iterator.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/append.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/area.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/centroid.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/clear.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/convert.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/correct.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/covered_by.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/extreme_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/for_each_range.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/modify.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/multi_sum.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segment_point.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segments.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_ring.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_turns.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/self_turn_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/point_on_border.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/range_by_section.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/sectionalize.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/disjoint.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/distance.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/envelope.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/equals.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/for_each.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/intersection.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/length.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_geometries.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_interior_rings.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/perimeter.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/remove_spikes.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/reverse.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/simplify.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/transform.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/unique.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/within.hpp", - "external/sources/boost/boost/geometry/multi/core/closure.hpp", - "external/sources/boost/boost/geometry/multi/core/geometry_id.hpp", - "external/sources/boost/boost/geometry/multi/core/interior_rings.hpp", - "external/sources/boost/boost/geometry/multi/core/is_areal.hpp", - "external/sources/boost/boost/geometry/multi/core/point_order.hpp", - "external/sources/boost/boost/geometry/multi/core/point_type.hpp", - "external/sources/boost/boost/geometry/multi/core/ring_type.hpp", - "external/sources/boost/boost/geometry/multi/core/tags.hpp", - "external/sources/boost/boost/geometry/multi/core/topological_dimension.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/check.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_point_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_polygon_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_geometries.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_linestring.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_point.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_polygon.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_linestring.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_point.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_polygon.hpp", - "external/sources/boost/boost/geometry/multi/io/dsv/write.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/detail/prefix.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/read.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/wkt.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/write.hpp", - "external/sources/boost/boost/geometry/multi/multi.hpp", - "external/sources/boost/boost/geometry/multi/strategies/cartesian/centroid_average.hpp", - "external/sources/boost/boost/geometry/multi/views/detail/range_type.hpp", - "external/sources/boost/boost/geometry/policies/compare.hpp", - "external/sources/boost/boost/geometry/policies/disjoint_interrupt_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/default_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/failing_reason_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/failure_type_policy.hpp", - "external/sources/boost/boost/geometry/policies/predicate_based_interrupt_policy.hpp", - "external/sources/boost/boost/geometry/policies/relate/direction.hpp", - "external/sources/boost/boost/geometry/policies/relate/intersection_points.hpp", - "external/sources/boost/boost/geometry/policies/relate/intersection_ratios.hpp", - "external/sources/boost/boost/geometry/policies/relate/tupled.hpp", - "external/sources/boost/boost/geometry/policies/robustness/get_rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/no_rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp", - "external/sources/boost/boost/geometry/policies/robustness/robust_point_type.hpp", - "external/sources/boost/boost/geometry/policies/robustness/robust_type.hpp", - "external/sources/boost/boost/geometry/policies/robustness/segment_ratio.hpp", - "external/sources/boost/boost/geometry/policies/robustness/segment_ratio_type.hpp", - "external/sources/boost/boost/geometry/srs/epsg.hpp", - "external/sources/boost/boost/geometry/srs/esri.hpp", - "external/sources/boost/boost/geometry/srs/iau2000.hpp", - "external/sources/boost/boost/geometry/srs/projection.hpp", - "external/sources/boost/boost/geometry/srs/projections/code.hpp", - "external/sources/boost/boost/geometry/srs/projections/constants.hpp", - "external/sources/boost/boost/geometry/srs/projections/dpar.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/exception.hpp", - "external/sources/boost/boost/geometry/srs/projections/factory.hpp", - "external/sources/boost/boost/geometry/srs/projections/grids.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/aasincos.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/adjlon.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/base_dynamic.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/base_static.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/dms_parser.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/factory_entry.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/function_overloads.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/geocent.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_apply_gridshift.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_auth.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_datum_set.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_datums.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_ell_set.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_ellps.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_fwd.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gauss.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridinfo.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridlist.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_init.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_inv.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_mlfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_msfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_param.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_phi2.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_qsfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_strerrno.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_transform.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_tsfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_units.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_zpoly1.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/proj_mdist.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/projects.hpp", - "external/sources/boost/boost/geometry/srs/projections/invalid_point.hpp", - "external/sources/boost/boost/geometry/srs/projections/par_data.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aeqd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/airy.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aitoff.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/august.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bacon.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bipc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/boggs.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bonne.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cass.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/chamb.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/collg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/crast.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/denoy.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck1.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck4.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eqc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eqdc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/etmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/fahey.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/fouc_s.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gall.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/geocent.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/geos.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gins8.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gn_sinu.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gnom.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/goode.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gstmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/hammer.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/hatano.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/healpix.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/igh.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/imw_p.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/isea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/krovak.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/labrd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/laea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lagrng.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/larr.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lask.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/latlong.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lcc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lcca.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/loxim.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lsat.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbt_fps.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpp.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpq.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/merc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mill.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mod_ster.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/moll.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/natearth.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nell.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nell_h.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nocol.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nsper.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nzmg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ob_tran.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ocea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/oea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/omerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ortho.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/poly.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp4p.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp6.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/qsc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/robin.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/rouss.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/rpoly.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sconics.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/somerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/stere.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sterea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sts.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tcc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tcea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tpeqd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/urm5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/urmfps.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg4.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag7.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wink1.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wink2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj4.hpp", - "external/sources/boost/boost/geometry/srs/projections/spar.hpp", - "external/sources/boost/boost/geometry/srs/projections/srid_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/str_cast.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids_boost.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids_std.hpp", - "external/sources/boost/boost/geometry/srs/sphere.hpp", - "external/sources/boost/boost/geometry/srs/spheroid.hpp", - "external/sources/boost/boost/geometry/srs/srs.hpp", - "external/sources/boost/boost/geometry/srs/transformation.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/hull_graham_andrew.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_box_by_side.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_oriented_winding.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp", - "external/sources/boost/boost/geometry/strategies/area.hpp", - "external/sources/boost/boost/geometry/strategies/area_result.hpp", - "external/sources/boost/boost/geometry/strategies/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/buffer.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/area.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/area_surveyor.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/box_in_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_flat.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_round.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_miter.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round_by_divide.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_circle.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_square.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_side_straight.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_average.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/densify.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point_ax.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_multipoint.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/index.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/io.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_franklin.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/side_by_triangle.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/turn_in_ring_winding.hpp", - "external/sources/boost/boost/geometry/strategies/centroid.hpp", - "external/sources/boost/boost/geometry/strategies/comparable_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/compare.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/area_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/centroid_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/convex_hull_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/distance_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/segment_intersect_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/simplify_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/within_concept.hpp", - "external/sources/boost/boost/geometry/strategies/convex_hull.hpp", - "external/sources/boost/boost/geometry/strategies/covered_by.hpp", - "external/sources/boost/boost/geometry/strategies/default_area_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_comparable_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_length_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_strategy.hpp", - "external/sources/boost/boost/geometry/strategies/densify.hpp", - "external/sources/boost/boost/geometry/strategies/disjoint.hpp", - "external/sources/boost/boost/geometry/strategies/distance.hpp", - "external/sources/boost/boost/geometry/strategies/distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/expand.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/area.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/buffer_point_circle.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/densify.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_andoyer.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_karney.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_thomas.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_vincenty.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/index.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/intersection_elliptic.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/io.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/mapping_ssf.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/parameters.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_andoyer.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_thomas.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_vincenty.hpp", - "external/sources/boost/boost/geometry/strategies/index.hpp", - "external/sources/boost/boost/geometry/strategies/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/intersection_result.hpp", - "external/sources/boost/boost/geometry/strategies/intersection_strategies.hpp", - "external/sources/boost/boost/geometry/strategies/io.hpp", - "external/sources/boost/boost/geometry/strategies/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/normalize.hpp", - "external/sources/boost/boost/geometry/strategies/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/relate.hpp", - "external/sources/boost/boost/geometry/strategies/side.hpp", - "external/sources/boost/boost/geometry/strategies/side_info.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/area.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/compare.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/densify.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/disjoint_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_haversine.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_multipoint.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/get_radius.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/index.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/io.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/side_by_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/ssf.hpp", - "external/sources/boost/boost/geometry/strategies/strategies.hpp", - "external/sources/boost/boost/geometry/strategies/strategy_transform.hpp", - "external/sources/boost/boost/geometry/strategies/tags.hpp", - "external/sources/boost/boost/geometry/strategies/transform.hpp", - "external/sources/boost/boost/geometry/strategies/transform/inverse_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/transform/map_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/transform/matrix_transformers.hpp", - "external/sources/boost/boost/geometry/strategies/transform/srs_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/within.hpp", - "external/sources/boost/boost/geometry/util/add_const_if_c.hpp", - "external/sources/boost/boost/geometry/util/bare_type.hpp", - "external/sources/boost/boost/geometry/util/calculation_type.hpp", - "external/sources/boost/boost/geometry/util/closure_as_bool.hpp", - "external/sources/boost/boost/geometry/util/combine_if.hpp", - "external/sources/boost/boost/geometry/util/compress_variant.hpp", - "external/sources/boost/boost/geometry/util/condition.hpp", - "external/sources/boost/boost/geometry/util/coordinate_cast.hpp", - "external/sources/boost/boost/geometry/util/for_each_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_infinite_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_nan_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_non_finite_coordinate.hpp", - "external/sources/boost/boost/geometry/util/is_inverse_spheroidal_coordinates.hpp", - "external/sources/boost/boost/geometry/util/math.hpp", - "external/sources/boost/boost/geometry/util/normalize_spheroidal_box_coordinates.hpp", - "external/sources/boost/boost/geometry/util/normalize_spheroidal_coordinates.hpp", - "external/sources/boost/boost/geometry/util/order_as_direction.hpp", - "external/sources/boost/boost/geometry/util/parameter_type_of.hpp", - "external/sources/boost/boost/geometry/util/promote_floating_point.hpp", - "external/sources/boost/boost/geometry/util/promote_integral.hpp", - "external/sources/boost/boost/geometry/util/range.hpp", - "external/sources/boost/boost/geometry/util/rational.hpp", - "external/sources/boost/boost/geometry/util/readme.txt", - "external/sources/boost/boost/geometry/util/select_calculation_type.hpp", - "external/sources/boost/boost/geometry/util/select_coordinate_type.hpp", - "external/sources/boost/boost/geometry/util/select_most_precise.hpp", - "external/sources/boost/boost/geometry/util/select_sequence_element.hpp", - "external/sources/boost/boost/geometry/util/series_expansion.hpp", - "external/sources/boost/boost/geometry/util/transform_variant.hpp", - "external/sources/boost/boost/geometry/util/tuples.hpp", - "external/sources/boost/boost/geometry/views/box_view.hpp", - "external/sources/boost/boost/geometry/views/closeable_view.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view/implementation.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view/interface.hpp", - "external/sources/boost/boost/geometry/views/detail/indexed_point_view.hpp", - "external/sources/boost/boost/geometry/views/detail/normalized_view.hpp", - "external/sources/boost/boost/geometry/views/detail/points_view.hpp", - "external/sources/boost/boost/geometry/views/detail/range_type.hpp", - "external/sources/boost/boost/geometry/views/detail/two_dimensional_view.hpp", - "external/sources/boost/boost/geometry/views/identity_view.hpp", - "external/sources/boost/boost/geometry/views/reversible_view.hpp", - "external/sources/boost/boost/geometry/views/segment_view.hpp", - "external/sources/boost/boost/get_pointer.hpp", - "external/sources/boost/boost/gil.hpp", - "external/sources/boost/boost/gil/algorithm.hpp", - "external/sources/boost/boost/gil/bit_aligned_pixel_iterator.hpp", - "external/sources/boost/boost/gil/bit_aligned_pixel_reference.hpp", - "external/sources/boost/boost/gil/channel.hpp", - "external/sources/boost/boost/gil/channel_algorithm.hpp", - "external/sources/boost/boost/gil/cmyk.hpp", - "external/sources/boost/boost/gil/color_base.hpp", - "external/sources/boost/boost/gil/color_base_algorithm.hpp", - "external/sources/boost/boost/gil/color_convert.hpp", - "external/sources/boost/boost/gil/concepts.hpp", - "external/sources/boost/boost/gil/concepts/basic.hpp", - "external/sources/boost/boost/gil/concepts/channel.hpp", - "external/sources/boost/boost/gil/concepts/color.hpp", - "external/sources/boost/boost/gil/concepts/color_base.hpp", - "external/sources/boost/boost/gil/concepts/concept_check.hpp", - "external/sources/boost/boost/gil/concepts/detail/type_traits.hpp", - "external/sources/boost/boost/gil/concepts/detail/utility.hpp", - "external/sources/boost/boost/gil/concepts/dynamic_step.hpp", - "external/sources/boost/boost/gil/concepts/fwd.hpp", - "external/sources/boost/boost/gil/concepts/image.hpp", - "external/sources/boost/boost/gil/concepts/image_view.hpp", - "external/sources/boost/boost/gil/concepts/pixel.hpp", - "external/sources/boost/boost/gil/concepts/pixel_based.hpp", - "external/sources/boost/boost/gil/concepts/pixel_dereference.hpp", - "external/sources/boost/boost/gil/concepts/pixel_iterator.hpp", - "external/sources/boost/boost/gil/concepts/pixel_locator.hpp", - "external/sources/boost/boost/gil/concepts/point.hpp", - "external/sources/boost/boost/gil/deprecated.hpp", - "external/sources/boost/boost/gil/detail/is_channel_integral.hpp", - "external/sources/boost/boost/gil/detail/math.hpp", - "external/sources/boost/boost/gil/detail/mp11.hpp", - "external/sources/boost/boost/gil/detail/std_common_type.hpp", - "external/sources/boost/boost/gil/detail/type_traits.hpp", - "external/sources/boost/boost/gil/device_n.hpp", - "external/sources/boost/boost/gil/dynamic_step.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/algorithm.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/any_image.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/any_image_view.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/apply_operation.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_at_c.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_image_all.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/image_view_factory.hpp", - "external/sources/boost/boost/gil/extension/io/bmp.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/old.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/tags.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/write.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/base.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/old.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/tags.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/write.hpp", - "external/sources/boost/boost/gil/extension/io/png.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/base.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/png/old.hpp", - "external/sources/boost/boost/gil/extension/io/png/read.hpp", - "external/sources/boost/boost/gil/extension/io/png/tags.hpp", - "external/sources/boost/boost/gil/extension/io/png/write.hpp", - "external/sources/boost/boost/gil/extension/io/pnm.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/old.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/tags.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/write.hpp", - "external/sources/boost/boost/gil/extension/io/raw.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/device.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/raw/read.hpp", - "external/sources/boost/boost/gil/extension/io/raw/tags.hpp", - "external/sources/boost/boost/gil/extension/io/targa.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/targa/old.hpp", - "external/sources/boost/boost/gil/extension/io/targa/read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/tags.hpp", - "external/sources/boost/boost/gil/extension/io/targa/write.hpp", - "external/sources/boost/boost/gil/extension/io/tiff.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/device.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/log.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/old.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/tags.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/write.hpp", - "external/sources/boost/boost/gil/extension/numeric/affine.hpp", - "external/sources/boost/boost/gil/extension/numeric/algorithm.hpp", - "external/sources/boost/boost/gil/extension/numeric/channel_numeric_operations.hpp", - "external/sources/boost/boost/gil/extension/numeric/convolve.hpp", - "external/sources/boost/boost/gil/extension/numeric/kernel.hpp", - "external/sources/boost/boost/gil/extension/numeric/pixel_numeric_operations.hpp", - "external/sources/boost/boost/gil/extension/numeric/resample.hpp", - "external/sources/boost/boost/gil/extension/numeric/sampler.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters/rgb_to_luminance.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/cmyka.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsl.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsv.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/lab.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/xyz.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/ycbcr.hpp", - "external/sources/boost/boost/gil/extension/toolbox/dynamic_images.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types/indexed_image.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types/subchroma_image.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_type.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_view.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_num_bits.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_pixel_type.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_bit_aligned.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_homogeneous.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_similar.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/pixel_bit_size.hpp", - "external/sources/boost/boost/gil/extension/toolbox/toolbox.hpp", - "external/sources/boost/boost/gil/gray.hpp", - "external/sources/boost/boost/gil/image.hpp", - "external/sources/boost/boost/gil/image_processing/filter.hpp", - "external/sources/boost/boost/gil/image_processing/harris.hpp", - "external/sources/boost/boost/gil/image_processing/hessian.hpp", - "external/sources/boost/boost/gil/image_processing/numeric.hpp", - "external/sources/boost/boost/gil/image_processing/scaling.hpp", - "external/sources/boost/boost/gil/image_processing/threshold.hpp", - "external/sources/boost/boost/gil/image_view.hpp", - "external/sources/boost/boost/gil/image_view_factory.hpp", - "external/sources/boost/boost/gil/io/base.hpp", - "external/sources/boost/boost/gil/io/bit_operations.hpp", - "external/sources/boost/boost/gil/io/conversion_policies.hpp", - "external/sources/boost/boost/gil/io/device.hpp", - "external/sources/boost/boost/gil/io/dynamic_io_new.hpp", - "external/sources/boost/boost/gil/io/error.hpp", - "external/sources/boost/boost/gil/io/get_read_device.hpp", - "external/sources/boost/boost/gil/io/get_reader.hpp", - "external/sources/boost/boost/gil/io/get_write_device.hpp", - "external/sources/boost/boost/gil/io/get_writer.hpp", - "external/sources/boost/boost/gil/io/io.hpp", - "external/sources/boost/boost/gil/io/make_backend.hpp", - "external/sources/boost/boost/gil/io/make_dynamic_image_reader.hpp", - "external/sources/boost/boost/gil/io/make_dynamic_image_writer.hpp", - "external/sources/boost/boost/gil/io/make_reader.hpp", - "external/sources/boost/boost/gil/io/make_scanline_reader.hpp", - "external/sources/boost/boost/gil/io/make_writer.hpp", - "external/sources/boost/boost/gil/io/path_spec.hpp", - "external/sources/boost/boost/gil/io/read_and_convert_image.hpp", - "external/sources/boost/boost/gil/io/read_and_convert_view.hpp", - "external/sources/boost/boost/gil/io/read_image.hpp", - "external/sources/boost/boost/gil/io/read_image_info.hpp", - "external/sources/boost/boost/gil/io/read_view.hpp", - "external/sources/boost/boost/gil/io/reader_base.hpp", - "external/sources/boost/boost/gil/io/row_buffer_helper.hpp", - "external/sources/boost/boost/gil/io/scanline_read_iterator.hpp", - "external/sources/boost/boost/gil/io/typedefs.hpp", - "external/sources/boost/boost/gil/io/write_view.hpp", - "external/sources/boost/boost/gil/iterator_from_2d.hpp", - "external/sources/boost/boost/gil/locator.hpp", - "external/sources/boost/boost/gil/metafunctions.hpp", - "external/sources/boost/boost/gil/packed_pixel.hpp", - "external/sources/boost/boost/gil/pixel.hpp", - "external/sources/boost/boost/gil/pixel_iterator.hpp", - "external/sources/boost/boost/gil/pixel_iterator_adaptor.hpp", - "external/sources/boost/boost/gil/planar_pixel_iterator.hpp", - "external/sources/boost/boost/gil/planar_pixel_reference.hpp", - "external/sources/boost/boost/gil/point.hpp", - "external/sources/boost/boost/gil/position_iterator.hpp", - "external/sources/boost/boost/gil/premultiply.hpp", - "external/sources/boost/boost/gil/promote_integral.hpp", - "external/sources/boost/boost/gil/rgb.hpp", - "external/sources/boost/boost/gil/rgba.hpp", - "external/sources/boost/boost/gil/step_iterator.hpp", - "external/sources/boost/boost/gil/typedefs.hpp", - "external/sources/boost/boost/gil/utilities.hpp", - "external/sources/boost/boost/gil/virtual_locator.hpp", - "external/sources/boost/boost/graph/accounting.hpp", - "external/sources/boost/boost/graph/adj_list_serialize.hpp", - "external/sources/boost/boost/graph/adjacency_iterator.hpp", - "external/sources/boost/boost/graph/adjacency_list.hpp", - "external/sources/boost/boost/graph/adjacency_list_io.hpp", - "external/sources/boost/boost/graph/adjacency_matrix.hpp", - "external/sources/boost/boost/graph/astar_search.hpp", - "external/sources/boost/boost/graph/bandwidth.hpp", - "external/sources/boost/boost/graph/bc_clustering.hpp", - "external/sources/boost/boost/graph/bellman_ford_shortest_paths.hpp", - "external/sources/boost/boost/graph/betweenness_centrality.hpp", - "external/sources/boost/boost/graph/biconnected_components.hpp", - "external/sources/boost/boost/graph/bipartite.hpp", - "external/sources/boost/boost/graph/boyer_myrvold_planar_test.hpp", - "external/sources/boost/boost/graph/boykov_kolmogorov_max_flow.hpp", - "external/sources/boost/boost/graph/breadth_first_search.hpp", - "external/sources/boost/boost/graph/bron_kerbosch_all_cliques.hpp", - "external/sources/boost/boost/graph/buffer_concepts.hpp", - "external/sources/boost/boost/graph/chrobak_payne_drawing.hpp", - "external/sources/boost/boost/graph/circle_layout.hpp", - "external/sources/boost/boost/graph/closeness_centrality.hpp", - "external/sources/boost/boost/graph/clustering_coefficient.hpp", - "external/sources/boost/boost/graph/compressed_sparse_row_graph.hpp", - "external/sources/boost/boost/graph/connected_components.hpp", - "external/sources/boost/boost/graph/copy.hpp", - "external/sources/boost/boost/graph/core_numbers.hpp", - "external/sources/boost/boost/graph/create_condensation_graph.hpp", - "external/sources/boost/boost/graph/cuthill_mckee_ordering.hpp", - "external/sources/boost/boost/graph/cycle_canceling.hpp", - "external/sources/boost/boost/graph/dag_shortest_paths.hpp", - "external/sources/boost/boost/graph/degree_centrality.hpp", - "external/sources/boost/boost/graph/depth_first_search.hpp", - "external/sources/boost/boost/graph/detail/adj_list_edge_iterator.hpp", - "external/sources/boost/boost/graph/detail/adjacency_list.hpp", - "external/sources/boost/boost/graph/detail/array_binary_tree.hpp", - "external/sources/boost/boost/graph/detail/augment.hpp", - "external/sources/boost/boost/graph/detail/compressed_sparse_row_struct.hpp", - "external/sources/boost/boost/graph/detail/connected_components.hpp", - "external/sources/boost/boost/graph/detail/d_ary_heap.hpp", - "external/sources/boost/boost/graph/detail/edge.hpp", - "external/sources/boost/boost/graph/detail/empty_header.hpp", - "external/sources/boost/boost/graph/detail/geodesic.hpp", - "external/sources/boost/boost/graph/detail/histogram_sort.hpp", - "external/sources/boost/boost/graph/detail/incidence_iterator.hpp", - "external/sources/boost/boost/graph/detail/incremental_components.hpp", - "external/sources/boost/boost/graph/detail/index.hpp", - "external/sources/boost/boost/graph/detail/indexed_properties.hpp", - "external/sources/boost/boost/graph/detail/is_distributed_selector.hpp", - "external/sources/boost/boost/graph/detail/labeled_graph_traits.hpp", - "external/sources/boost/boost/graph/detail/list_base.hpp", - "external/sources/boost/boost/graph/detail/mpi_include.hpp", - "external/sources/boost/boost/graph/detail/permutation.hpp", - "external/sources/boost/boost/graph/detail/read_graphviz_new.hpp", - "external/sources/boost/boost/graph/detail/read_graphviz_spirit.hpp", - "external/sources/boost/boost/graph/detail/self_avoiding_walk.hpp", - "external/sources/boost/boost/graph/detail/set_adaptor.hpp", - "external/sources/boost/boost/graph/detail/shadow_iterator.hpp", - "external/sources/boost/boost/graph/detail/sparse_ordering.hpp", - "external/sources/boost/boost/graph/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/dijkstra_shortest_paths_no_color_map.hpp", - "external/sources/boost/boost/graph/dimacs.hpp", - "external/sources/boost/boost/graph/directed_graph.hpp", - "external/sources/boost/boost/graph/distributed/adjacency_list.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/handlers.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/initialize.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/redistribute.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/serialization.hpp", - "external/sources/boost/boost/graph/distributed/betweenness_centrality.hpp", - "external/sources/boost/boost/graph/distributed/boman_et_al_graph_coloring.hpp", - "external/sources/boost/boost/graph/distributed/breadth_first_search.hpp", - "external/sources/boost/boost/graph/distributed/compressed_sparse_row_graph.hpp", - "external/sources/boost/boost/graph/distributed/concepts.hpp", - "external/sources/boost/boost/graph/distributed/connected_components.hpp", - "external/sources/boost/boost/graph/distributed/connected_components_parallel_search.hpp", - "external/sources/boost/boost/graph/distributed/crauser_et_al_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp", - "external/sources/boost/boost/graph/distributed/delta_stepping_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/depth_first_search.hpp", - "external/sources/boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/detail/filtered_queue.hpp", - "external/sources/boost/boost/graph/distributed/detail/mpi_process_group.ipp", - "external/sources/boost/boost/graph/distributed/detail/queue.ipp", - "external/sources/boost/boost/graph/distributed/detail/remote_update_set.hpp", - "external/sources/boost/boost/graph/distributed/detail/tag_allocator.hpp", - "external/sources/boost/boost/graph/distributed/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/distributed_graph_utility.hpp", - "external/sources/boost/boost/graph/distributed/eager_dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/filtered_graph.hpp", - "external/sources/boost/boost/graph/distributed/fruchterman_reingold.hpp", - "external/sources/boost/boost/graph/distributed/graphviz.hpp", - "external/sources/boost/boost/graph/distributed/hohberg_biconnected_components.hpp", - "external/sources/boost/boost/graph/distributed/local_subgraph.hpp", - "external/sources/boost/boost/graph/distributed/mpi_process_group.hpp", - "external/sources/boost/boost/graph/distributed/named_graph.hpp", - "external/sources/boost/boost/graph/distributed/one_bit_color_map.hpp", - "external/sources/boost/boost/graph/distributed/page_rank.hpp", - "external/sources/boost/boost/graph/distributed/queue.hpp", - "external/sources/boost/boost/graph/distributed/reverse_graph.hpp", - "external/sources/boost/boost/graph/distributed/rmat_graph_generator.hpp", - "external/sources/boost/boost/graph/distributed/selector.hpp", - "external/sources/boost/boost/graph/distributed/shuffled_distribution.hpp", - "external/sources/boost/boost/graph/distributed/st_connected.hpp", - "external/sources/boost/boost/graph/distributed/strong_components.hpp", - "external/sources/boost/boost/graph/distributed/two_bit_color_map.hpp", - "external/sources/boost/boost/graph/distributed/unsafe_serialize.hpp", - "external/sources/boost/boost/graph/distributed/vertex_list_adaptor.hpp", - "external/sources/boost/boost/graph/dll_import_export.hpp", - "external/sources/boost/boost/graph/dominator_tree.hpp", - "external/sources/boost/boost/graph/eccentricity.hpp", - "external/sources/boost/boost/graph/edge_coloring.hpp", - "external/sources/boost/boost/graph/edge_connectivity.hpp", - "external/sources/boost/boost/graph/edge_list.hpp", - "external/sources/boost/boost/graph/edmonds_karp_max_flow.hpp", - "external/sources/boost/boost/graph/edmunds_karp_max_flow.hpp", - "external/sources/boost/boost/graph/erdos_renyi_generator.hpp", - "external/sources/boost/boost/graph/exception.hpp", - "external/sources/boost/boost/graph/exterior_property.hpp", - "external/sources/boost/boost/graph/filtered_graph.hpp", - "external/sources/boost/boost/graph/find_flow_cost.hpp", - "external/sources/boost/boost/graph/floyd_warshall_shortest.hpp", - "external/sources/boost/boost/graph/fruchterman_reingold.hpp", - "external/sources/boost/boost/graph/geodesic_distance.hpp", - "external/sources/boost/boost/graph/graph_archetypes.hpp", - "external/sources/boost/boost/graph/graph_as_tree.hpp", - "external/sources/boost/boost/graph/graph_concepts.hpp", - "external/sources/boost/boost/graph/graph_mutability_traits.hpp", - "external/sources/boost/boost/graph/graph_selectors.hpp", - "external/sources/boost/boost/graph/graph_stats.hpp", - "external/sources/boost/boost/graph/graph_traits.hpp", - "external/sources/boost/boost/graph/graph_utility.hpp", - "external/sources/boost/boost/graph/graphml.hpp", - "external/sources/boost/boost/graph/graphviz.hpp", - "external/sources/boost/boost/graph/grid_graph.hpp", - "external/sources/boost/boost/graph/gursoy_atun_layout.hpp", - "external/sources/boost/boost/graph/hawick_circuits.hpp", - "external/sources/boost/boost/graph/howard_cycle_ratio.hpp", - "external/sources/boost/boost/graph/incremental_components.hpp", - "external/sources/boost/boost/graph/is_kuratowski_subgraph.hpp", - "external/sources/boost/boost/graph/is_straight_line_drawing.hpp", - "external/sources/boost/boost/graph/isomorphism.hpp", - "external/sources/boost/boost/graph/iteration_macros.hpp", - "external/sources/boost/boost/graph/iteration_macros_undef.hpp", - "external/sources/boost/boost/graph/johnson_all_pairs_shortest.hpp", - "external/sources/boost/boost/graph/kamada_kawai_spring_layout.hpp", - "external/sources/boost/boost/graph/king_ordering.hpp", - "external/sources/boost/boost/graph/kruskal_min_spanning_tree.hpp", - "external/sources/boost/boost/graph/labeled_graph.hpp", - "external/sources/boost/boost/graph/leda_graph.hpp", - "external/sources/boost/boost/graph/lookup_edge.hpp", - "external/sources/boost/boost/graph/loop_erased_random_walk.hpp", - "external/sources/boost/boost/graph/make_biconnected_planar.hpp", - "external/sources/boost/boost/graph/make_connected.hpp", - "external/sources/boost/boost/graph/make_maximal_planar.hpp", - "external/sources/boost/boost/graph/matrix_as_graph.hpp", - "external/sources/boost/boost/graph/max_cardinality_matching.hpp", - "external/sources/boost/boost/graph/maximum_adjacency_search.hpp", - "external/sources/boost/boost/graph/maximum_weighted_matching.hpp", - "external/sources/boost/boost/graph/mcgregor_common_subgraphs.hpp", - "external/sources/boost/boost/graph/mesh_graph_generator.hpp", - "external/sources/boost/boost/graph/metis.hpp", - "external/sources/boost/boost/graph/metric_tsp_approx.hpp", - "external/sources/boost/boost/graph/minimum_degree_ordering.hpp", - "external/sources/boost/boost/graph/named_function_params.hpp", - "external/sources/boost/boost/graph/named_graph.hpp", - "external/sources/boost/boost/graph/neighbor_bfs.hpp", - "external/sources/boost/boost/graph/numeric_values.hpp", - "external/sources/boost/boost/graph/one_bit_color_map.hpp", - "external/sources/boost/boost/graph/overloading.hpp", - "external/sources/boost/boost/graph/page_rank.hpp", - "external/sources/boost/boost/graph/parallel/algorithm.hpp", - "external/sources/boost/boost/graph/parallel/basic_reduce.hpp", - "external/sources/boost/boost/graph/parallel/container_traits.hpp", - "external/sources/boost/boost/graph/parallel/detail/inplace_all_to_all.hpp", - "external/sources/boost/boost/graph/parallel/detail/property_holders.hpp", - "external/sources/boost/boost/graph/parallel/detail/untracked_pair.hpp", - "external/sources/boost/boost/graph/parallel/distribution.hpp", - "external/sources/boost/boost/graph/parallel/process_group.hpp", - "external/sources/boost/boost/graph/parallel/properties.hpp", - "external/sources/boost/boost/graph/parallel/simple_trigger.hpp", - "external/sources/boost/boost/graph/planar_canonical_ordering.hpp", - "external/sources/boost/boost/graph/planar_detail/add_edge_visitors.hpp", - "external/sources/boost/boost/graph/planar_detail/boyer_myrvold_impl.hpp", - "external/sources/boost/boost/graph/planar_detail/bucket_sort.hpp", - "external/sources/boost/boost/graph/planar_detail/face_handles.hpp", - "external/sources/boost/boost/graph/planar_detail/face_iterators.hpp", - "external/sources/boost/boost/graph/planar_face_traversal.hpp", - "external/sources/boost/boost/graph/plod_generator.hpp", - "external/sources/boost/boost/graph/point_traits.hpp", - "external/sources/boost/boost/graph/prim_minimum_spanning_tree.hpp", - "external/sources/boost/boost/graph/profile.hpp", - "external/sources/boost/boost/graph/properties.hpp", - "external/sources/boost/boost/graph/property_iter_range.hpp", - "external/sources/boost/boost/graph/property_maps/constant_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/container_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/matrix_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/null_property_map.hpp", - "external/sources/boost/boost/graph/push_relabel_max_flow.hpp", - "external/sources/boost/boost/graph/r_c_shortest_paths.hpp", - "external/sources/boost/boost/graph/random.hpp", - "external/sources/boost/boost/graph/random_layout.hpp", - "external/sources/boost/boost/graph/random_spanning_tree.hpp", - "external/sources/boost/boost/graph/read_dimacs.hpp", - "external/sources/boost/boost/graph/relax.hpp", - "external/sources/boost/boost/graph/reverse_graph.hpp", - "external/sources/boost/boost/graph/rmat_graph_generator.hpp", - "external/sources/boost/boost/graph/sequential_vertex_coloring.hpp", - "external/sources/boost/boost/graph/simple_point.hpp", - "external/sources/boost/boost/graph/sloan_ordering.hpp", - "external/sources/boost/boost/graph/small_world_generator.hpp", - "external/sources/boost/boost/graph/smallest_last_ordering.hpp", - "external/sources/boost/boost/graph/ssca_graph_generator.hpp", - "external/sources/boost/boost/graph/st_connected.hpp", - "external/sources/boost/boost/graph/stanford_graph.hpp", - "external/sources/boost/boost/graph/stoer_wagner_min_cut.hpp", - "external/sources/boost/boost/graph/strong_components.hpp", - "external/sources/boost/boost/graph/subgraph.hpp", - "external/sources/boost/boost/graph/successive_shortest_path_nonnegative_weights.hpp", - "external/sources/boost/boost/graph/tiernan_all_cycles.hpp", - "external/sources/boost/boost/graph/topological_sort.hpp", - "external/sources/boost/boost/graph/topology.hpp", - "external/sources/boost/boost/graph/transitive_closure.hpp", - "external/sources/boost/boost/graph/transitive_reduction.hpp", - "external/sources/boost/boost/graph/transpose_graph.hpp", - "external/sources/boost/boost/graph/tree_traits.hpp", - "external/sources/boost/boost/graph/two_bit_color_map.hpp", - "external/sources/boost/boost/graph/two_graphs_common_spanning_trees.hpp", - "external/sources/boost/boost/graph/undirected_dfs.hpp", - "external/sources/boost/boost/graph/undirected_graph.hpp", - "external/sources/boost/boost/graph/use_mpi.hpp", - "external/sources/boost/boost/graph/vector_as_graph.hpp", - "external/sources/boost/boost/graph/vertex_and_edge_range.hpp", - "external/sources/boost/boost/graph/vf2_sub_graph_iso.hpp", - "external/sources/boost/boost/graph/visitors.hpp", - "external/sources/boost/boost/graph/wavefront.hpp", - "external/sources/boost/boost/graph/write_dimacs.hpp", - "external/sources/boost/boost/hana.hpp", - "external/sources/boost/boost/hana/accessors.hpp", - "external/sources/boost/boost/hana/adapt_adt.hpp", - "external/sources/boost/boost/hana/adapt_struct.hpp", - "external/sources/boost/boost/hana/adjust.hpp", - "external/sources/boost/boost/hana/adjust_if.hpp", - "external/sources/boost/boost/hana/all.hpp", - "external/sources/boost/boost/hana/all_of.hpp", - "external/sources/boost/boost/hana/and.hpp", - "external/sources/boost/boost/hana/any.hpp", - "external/sources/boost/boost/hana/any_of.hpp", - "external/sources/boost/boost/hana/ap.hpp", - "external/sources/boost/boost/hana/append.hpp", - "external/sources/boost/boost/hana/assert.hpp", - "external/sources/boost/boost/hana/at.hpp", - "external/sources/boost/boost/hana/at_key.hpp", - "external/sources/boost/boost/hana/back.hpp", - "external/sources/boost/boost/hana/basic_tuple.hpp", - "external/sources/boost/boost/hana/bool.hpp", - "external/sources/boost/boost/hana/cartesian_product.hpp", - "external/sources/boost/boost/hana/chain.hpp", - "external/sources/boost/boost/hana/comparing.hpp", - "external/sources/boost/boost/hana/concat.hpp", - "external/sources/boost/boost/hana/concept.hpp", - "external/sources/boost/boost/hana/concept/applicative.hpp", - "external/sources/boost/boost/hana/concept/comonad.hpp", - "external/sources/boost/boost/hana/concept/comparable.hpp", - "external/sources/boost/boost/hana/concept/constant.hpp", - "external/sources/boost/boost/hana/concept/euclidean_ring.hpp", - "external/sources/boost/boost/hana/concept/foldable.hpp", - "external/sources/boost/boost/hana/concept/functor.hpp", - "external/sources/boost/boost/hana/concept/group.hpp", - "external/sources/boost/boost/hana/concept/hashable.hpp", - "external/sources/boost/boost/hana/concept/integral_constant.hpp", - "external/sources/boost/boost/hana/concept/iterable.hpp", - "external/sources/boost/boost/hana/concept/logical.hpp", - "external/sources/boost/boost/hana/concept/metafunction.hpp", - "external/sources/boost/boost/hana/concept/monad.hpp", - "external/sources/boost/boost/hana/concept/monad_plus.hpp", - "external/sources/boost/boost/hana/concept/monoid.hpp", - "external/sources/boost/boost/hana/concept/orderable.hpp", - "external/sources/boost/boost/hana/concept/product.hpp", - "external/sources/boost/boost/hana/concept/ring.hpp", - "external/sources/boost/boost/hana/concept/searchable.hpp", - "external/sources/boost/boost/hana/concept/sequence.hpp", - "external/sources/boost/boost/hana/concept/struct.hpp", - "external/sources/boost/boost/hana/config.hpp", - "external/sources/boost/boost/hana/contains.hpp", - "external/sources/boost/boost/hana/core.hpp", - "external/sources/boost/boost/hana/core/common.hpp", - "external/sources/boost/boost/hana/core/default.hpp", - "external/sources/boost/boost/hana/core/dispatch.hpp", - "external/sources/boost/boost/hana/core/is_a.hpp", - "external/sources/boost/boost/hana/core/make.hpp", - "external/sources/boost/boost/hana/core/tag_of.hpp", - "external/sources/boost/boost/hana/core/to.hpp", - "external/sources/boost/boost/hana/core/when.hpp", - "external/sources/boost/boost/hana/count.hpp", - "external/sources/boost/boost/hana/count_if.hpp", - "external/sources/boost/boost/hana/cycle.hpp", - "external/sources/boost/boost/hana/define_struct.hpp", - "external/sources/boost/boost/hana/detail/algorithm.hpp", - "external/sources/boost/boost/hana/detail/any_of.hpp", - "external/sources/boost/boost/hana/detail/array.hpp", - "external/sources/boost/boost/hana/detail/canonical_constant.hpp", - "external/sources/boost/boost/hana/detail/concepts.hpp", - "external/sources/boost/boost/hana/detail/create.hpp", - "external/sources/boost/boost/hana/detail/decay.hpp", - "external/sources/boost/boost/hana/detail/dispatch_if.hpp", - "external/sources/boost/boost/hana/detail/ebo.hpp", - "external/sources/boost/boost/hana/detail/fast_and.hpp", - "external/sources/boost/boost/hana/detail/first_unsatisfied_index.hpp", - "external/sources/boost/boost/hana/detail/has_common_embedding.hpp", - "external/sources/boost/boost/hana/detail/has_duplicates.hpp", - "external/sources/boost/boost/hana/detail/hash_table.hpp", - "external/sources/boost/boost/hana/detail/index_if.hpp", - "external/sources/boost/boost/hana/detail/integral_constant.hpp", - "external/sources/boost/boost/hana/detail/intrinsics.hpp", - "external/sources/boost/boost/hana/detail/nested_by.hpp", - "external/sources/boost/boost/hana/detail/nested_by_fwd.hpp", - "external/sources/boost/boost/hana/detail/nested_than.hpp", - "external/sources/boost/boost/hana/detail/nested_than_fwd.hpp", - "external/sources/boost/boost/hana/detail/nested_to.hpp", - "external/sources/boost/boost/hana/detail/nested_to_fwd.hpp", - "external/sources/boost/boost/hana/detail/operators/adl.hpp", - "external/sources/boost/boost/hana/detail/operators/arithmetic.hpp", - "external/sources/boost/boost/hana/detail/operators/comparable.hpp", - "external/sources/boost/boost/hana/detail/operators/iterable.hpp", - "external/sources/boost/boost/hana/detail/operators/logical.hpp", - "external/sources/boost/boost/hana/detail/operators/monad.hpp", - "external/sources/boost/boost/hana/detail/operators/orderable.hpp", - "external/sources/boost/boost/hana/detail/operators/searchable.hpp", - "external/sources/boost/boost/hana/detail/preprocessor.hpp", - "external/sources/boost/boost/hana/detail/std_common_type.hpp", - "external/sources/boost/boost/hana/detail/struct_macros.hpp", - "external/sources/boost/boost/hana/detail/struct_macros.hpp.erb", - "external/sources/boost/boost/hana/detail/type_at.hpp", - "external/sources/boost/boost/hana/detail/type_foldl1.hpp", - "external/sources/boost/boost/hana/detail/type_foldr1.hpp", - "external/sources/boost/boost/hana/detail/unpack_flatten.hpp", - "external/sources/boost/boost/hana/detail/variadic/at.hpp", - "external/sources/boost/boost/hana/detail/variadic/drop_into.hpp", - "external/sources/boost/boost/hana/detail/variadic/foldl1.hpp", - "external/sources/boost/boost/hana/detail/variadic/foldr1.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply/flat.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply/unrolled.hpp", - "external/sources/boost/boost/hana/detail/variadic/split_at.hpp", - "external/sources/boost/boost/hana/detail/variadic/take.hpp", - "external/sources/boost/boost/hana/detail/void_t.hpp", - "external/sources/boost/boost/hana/detail/wrong.hpp", - "external/sources/boost/boost/hana/difference.hpp", - "external/sources/boost/boost/hana/div.hpp", - "external/sources/boost/boost/hana/drop_back.hpp", - "external/sources/boost/boost/hana/drop_front.hpp", - "external/sources/boost/boost/hana/drop_front_exactly.hpp", - "external/sources/boost/boost/hana/drop_while.hpp", - "external/sources/boost/boost/hana/duplicate.hpp", - "external/sources/boost/boost/hana/empty.hpp", - "external/sources/boost/boost/hana/equal.hpp", - "external/sources/boost/boost/hana/erase_key.hpp", - "external/sources/boost/boost/hana/eval.hpp", - "external/sources/boost/boost/hana/eval_if.hpp", - "external/sources/boost/boost/hana/experimental/printable.hpp", - "external/sources/boost/boost/hana/experimental/type_name.hpp", - "external/sources/boost/boost/hana/experimental/types.hpp", - "external/sources/boost/boost/hana/experimental/view.hpp", - "external/sources/boost/boost/hana/ext/boost.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/deque.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/detail/common.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/list.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/tuple.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/vector.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/integral_c.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/list.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/vector.hpp", - "external/sources/boost/boost/hana/ext/boost/tuple.hpp", - "external/sources/boost/boost/hana/ext/std.hpp", - "external/sources/boost/boost/hana/ext/std/array.hpp", - "external/sources/boost/boost/hana/ext/std/integer_sequence.hpp", - "external/sources/boost/boost/hana/ext/std/integral_constant.hpp", - "external/sources/boost/boost/hana/ext/std/pair.hpp", - "external/sources/boost/boost/hana/ext/std/ratio.hpp", - "external/sources/boost/boost/hana/ext/std/tuple.hpp", - "external/sources/boost/boost/hana/ext/std/vector.hpp", - "external/sources/boost/boost/hana/extend.hpp", - "external/sources/boost/boost/hana/extract.hpp", - "external/sources/boost/boost/hana/fill.hpp", - "external/sources/boost/boost/hana/filter.hpp", - "external/sources/boost/boost/hana/find.hpp", - "external/sources/boost/boost/hana/find_if.hpp", - "external/sources/boost/boost/hana/first.hpp", - "external/sources/boost/boost/hana/flatten.hpp", - "external/sources/boost/boost/hana/fold.hpp", - "external/sources/boost/boost/hana/fold_left.hpp", - "external/sources/boost/boost/hana/fold_right.hpp", - "external/sources/boost/boost/hana/for_each.hpp", - "external/sources/boost/boost/hana/front.hpp", - "external/sources/boost/boost/hana/functional.hpp", - "external/sources/boost/boost/hana/functional/always.hpp", - "external/sources/boost/boost/hana/functional/apply.hpp", - "external/sources/boost/boost/hana/functional/arg.hpp", - "external/sources/boost/boost/hana/functional/capture.hpp", - "external/sources/boost/boost/hana/functional/compose.hpp", - "external/sources/boost/boost/hana/functional/curry.hpp", - "external/sources/boost/boost/hana/functional/demux.hpp", - "external/sources/boost/boost/hana/functional/fix.hpp", - "external/sources/boost/boost/hana/functional/flip.hpp", - "external/sources/boost/boost/hana/functional/id.hpp", - "external/sources/boost/boost/hana/functional/infix.hpp", - "external/sources/boost/boost/hana/functional/iterate.hpp", - "external/sources/boost/boost/hana/functional/lockstep.hpp", - "external/sources/boost/boost/hana/functional/on.hpp", - "external/sources/boost/boost/hana/functional/overload.hpp", - "external/sources/boost/boost/hana/functional/overload_linearly.hpp", - "external/sources/boost/boost/hana/functional/partial.hpp", - "external/sources/boost/boost/hana/functional/placeholder.hpp", - "external/sources/boost/boost/hana/functional/reverse_partial.hpp", - "external/sources/boost/boost/hana/fuse.hpp", - "external/sources/boost/boost/hana/fwd/accessors.hpp", - "external/sources/boost/boost/hana/fwd/adapt_adt.hpp", - "external/sources/boost/boost/hana/fwd/adapt_struct.hpp", - "external/sources/boost/boost/hana/fwd/adjust.hpp", - "external/sources/boost/boost/hana/fwd/adjust_if.hpp", - "external/sources/boost/boost/hana/fwd/all.hpp", - "external/sources/boost/boost/hana/fwd/all_of.hpp", - "external/sources/boost/boost/hana/fwd/and.hpp", - "external/sources/boost/boost/hana/fwd/any.hpp", - "external/sources/boost/boost/hana/fwd/any_of.hpp", - "external/sources/boost/boost/hana/fwd/ap.hpp", - "external/sources/boost/boost/hana/fwd/append.hpp", - "external/sources/boost/boost/hana/fwd/at.hpp", - "external/sources/boost/boost/hana/fwd/at_key.hpp", - "external/sources/boost/boost/hana/fwd/back.hpp", - "external/sources/boost/boost/hana/fwd/basic_tuple.hpp", - "external/sources/boost/boost/hana/fwd/bool.hpp", - "external/sources/boost/boost/hana/fwd/cartesian_product.hpp", - "external/sources/boost/boost/hana/fwd/chain.hpp", - "external/sources/boost/boost/hana/fwd/comparing.hpp", - "external/sources/boost/boost/hana/fwd/concat.hpp", - "external/sources/boost/boost/hana/fwd/concept/applicative.hpp", - "external/sources/boost/boost/hana/fwd/concept/comonad.hpp", - "external/sources/boost/boost/hana/fwd/concept/comparable.hpp", - "external/sources/boost/boost/hana/fwd/concept/constant.hpp", - "external/sources/boost/boost/hana/fwd/concept/euclidean_ring.hpp", - "external/sources/boost/boost/hana/fwd/concept/foldable.hpp", - "external/sources/boost/boost/hana/fwd/concept/functor.hpp", - "external/sources/boost/boost/hana/fwd/concept/group.hpp", - "external/sources/boost/boost/hana/fwd/concept/hashable.hpp", - "external/sources/boost/boost/hana/fwd/concept/integral_constant.hpp", - "external/sources/boost/boost/hana/fwd/concept/iterable.hpp", - "external/sources/boost/boost/hana/fwd/concept/logical.hpp", - "external/sources/boost/boost/hana/fwd/concept/metafunction.hpp", - "external/sources/boost/boost/hana/fwd/concept/monad.hpp", - "external/sources/boost/boost/hana/fwd/concept/monad_plus.hpp", - "external/sources/boost/boost/hana/fwd/concept/monoid.hpp", - "external/sources/boost/boost/hana/fwd/concept/orderable.hpp", - "external/sources/boost/boost/hana/fwd/concept/product.hpp", - "external/sources/boost/boost/hana/fwd/concept/ring.hpp", - "external/sources/boost/boost/hana/fwd/concept/searchable.hpp", - "external/sources/boost/boost/hana/fwd/concept/sequence.hpp", - "external/sources/boost/boost/hana/fwd/concept/struct.hpp", - "external/sources/boost/boost/hana/fwd/contains.hpp", - "external/sources/boost/boost/hana/fwd/core.hpp", - "external/sources/boost/boost/hana/fwd/core/common.hpp", - "external/sources/boost/boost/hana/fwd/core/default.hpp", - "external/sources/boost/boost/hana/fwd/core/is_a.hpp", - "external/sources/boost/boost/hana/fwd/core/make.hpp", - "external/sources/boost/boost/hana/fwd/core/tag_of.hpp", - "external/sources/boost/boost/hana/fwd/core/to.hpp", - "external/sources/boost/boost/hana/fwd/core/when.hpp", - "external/sources/boost/boost/hana/fwd/count.hpp", - "external/sources/boost/boost/hana/fwd/count_if.hpp", - "external/sources/boost/boost/hana/fwd/cycle.hpp", - "external/sources/boost/boost/hana/fwd/define_struct.hpp", - "external/sources/boost/boost/hana/fwd/difference.hpp", - "external/sources/boost/boost/hana/fwd/div.hpp", - "external/sources/boost/boost/hana/fwd/drop_back.hpp", - "external/sources/boost/boost/hana/fwd/drop_front.hpp", - "external/sources/boost/boost/hana/fwd/drop_front_exactly.hpp", - "external/sources/boost/boost/hana/fwd/drop_while.hpp", - "external/sources/boost/boost/hana/fwd/duplicate.hpp", - "external/sources/boost/boost/hana/fwd/empty.hpp", - "external/sources/boost/boost/hana/fwd/equal.hpp", - "external/sources/boost/boost/hana/fwd/erase_key.hpp", - "external/sources/boost/boost/hana/fwd/eval.hpp", - "external/sources/boost/boost/hana/fwd/eval_if.hpp", - "external/sources/boost/boost/hana/fwd/extend.hpp", - "external/sources/boost/boost/hana/fwd/extract.hpp", - "external/sources/boost/boost/hana/fwd/fill.hpp", - "external/sources/boost/boost/hana/fwd/filter.hpp", - "external/sources/boost/boost/hana/fwd/find.hpp", - "external/sources/boost/boost/hana/fwd/find_if.hpp", - "external/sources/boost/boost/hana/fwd/first.hpp", - "external/sources/boost/boost/hana/fwd/flatten.hpp", - "external/sources/boost/boost/hana/fwd/fold.hpp", - "external/sources/boost/boost/hana/fwd/fold_left.hpp", - "external/sources/boost/boost/hana/fwd/fold_right.hpp", - "external/sources/boost/boost/hana/fwd/for_each.hpp", - "external/sources/boost/boost/hana/fwd/front.hpp", - "external/sources/boost/boost/hana/fwd/fuse.hpp", - "external/sources/boost/boost/hana/fwd/greater.hpp", - "external/sources/boost/boost/hana/fwd/greater_equal.hpp", - "external/sources/boost/boost/hana/fwd/group.hpp", - "external/sources/boost/boost/hana/fwd/hash.hpp", - "external/sources/boost/boost/hana/fwd/if.hpp", - "external/sources/boost/boost/hana/fwd/index_if.hpp", - "external/sources/boost/boost/hana/fwd/insert.hpp", - "external/sources/boost/boost/hana/fwd/insert_range.hpp", - "external/sources/boost/boost/hana/fwd/integral_constant.hpp", - "external/sources/boost/boost/hana/fwd/intersection.hpp", - "external/sources/boost/boost/hana/fwd/intersperse.hpp", - "external/sources/boost/boost/hana/fwd/is_disjoint.hpp", - "external/sources/boost/boost/hana/fwd/is_empty.hpp", - "external/sources/boost/boost/hana/fwd/is_subset.hpp", - "external/sources/boost/boost/hana/fwd/keys.hpp", - "external/sources/boost/boost/hana/fwd/lazy.hpp", - "external/sources/boost/boost/hana/fwd/length.hpp", - "external/sources/boost/boost/hana/fwd/less.hpp", - "external/sources/boost/boost/hana/fwd/less_equal.hpp", - "external/sources/boost/boost/hana/fwd/lexicographical_compare.hpp", - "external/sources/boost/boost/hana/fwd/lift.hpp", - "external/sources/boost/boost/hana/fwd/map.hpp", - "external/sources/boost/boost/hana/fwd/max.hpp", - "external/sources/boost/boost/hana/fwd/maximum.hpp", - "external/sources/boost/boost/hana/fwd/members.hpp", - "external/sources/boost/boost/hana/fwd/min.hpp", - "external/sources/boost/boost/hana/fwd/minimum.hpp", - "external/sources/boost/boost/hana/fwd/minus.hpp", - "external/sources/boost/boost/hana/fwd/mod.hpp", - "external/sources/boost/boost/hana/fwd/monadic_compose.hpp", - "external/sources/boost/boost/hana/fwd/monadic_fold_left.hpp", - "external/sources/boost/boost/hana/fwd/monadic_fold_right.hpp", - "external/sources/boost/boost/hana/fwd/mult.hpp", - "external/sources/boost/boost/hana/fwd/negate.hpp", - "external/sources/boost/boost/hana/fwd/none.hpp", - "external/sources/boost/boost/hana/fwd/none_of.hpp", - "external/sources/boost/boost/hana/fwd/not.hpp", - "external/sources/boost/boost/hana/fwd/not_equal.hpp", - "external/sources/boost/boost/hana/fwd/one.hpp", - "external/sources/boost/boost/hana/fwd/optional.hpp", - "external/sources/boost/boost/hana/fwd/or.hpp", - "external/sources/boost/boost/hana/fwd/ordering.hpp", - "external/sources/boost/boost/hana/fwd/pair.hpp", - "external/sources/boost/boost/hana/fwd/partition.hpp", - "external/sources/boost/boost/hana/fwd/permutations.hpp", - "external/sources/boost/boost/hana/fwd/plus.hpp", - "external/sources/boost/boost/hana/fwd/power.hpp", - "external/sources/boost/boost/hana/fwd/prefix.hpp", - "external/sources/boost/boost/hana/fwd/prepend.hpp", - "external/sources/boost/boost/hana/fwd/product.hpp", - "external/sources/boost/boost/hana/fwd/range.hpp", - "external/sources/boost/boost/hana/fwd/remove.hpp", - "external/sources/boost/boost/hana/fwd/remove_at.hpp", - "external/sources/boost/boost/hana/fwd/remove_if.hpp", - "external/sources/boost/boost/hana/fwd/remove_range.hpp", - "external/sources/boost/boost/hana/fwd/repeat.hpp", - "external/sources/boost/boost/hana/fwd/replace.hpp", - "external/sources/boost/boost/hana/fwd/replace_if.hpp", - "external/sources/boost/boost/hana/fwd/replicate.hpp", - "external/sources/boost/boost/hana/fwd/reverse.hpp", - "external/sources/boost/boost/hana/fwd/reverse_fold.hpp", - "external/sources/boost/boost/hana/fwd/scan_left.hpp", - "external/sources/boost/boost/hana/fwd/scan_right.hpp", - "external/sources/boost/boost/hana/fwd/second.hpp", - "external/sources/boost/boost/hana/fwd/set.hpp", - "external/sources/boost/boost/hana/fwd/size.hpp", - "external/sources/boost/boost/hana/fwd/slice.hpp", - "external/sources/boost/boost/hana/fwd/sort.hpp", - "external/sources/boost/boost/hana/fwd/span.hpp", - "external/sources/boost/boost/hana/fwd/string.hpp", - "external/sources/boost/boost/hana/fwd/suffix.hpp", - "external/sources/boost/boost/hana/fwd/sum.hpp", - "external/sources/boost/boost/hana/fwd/symmetric_difference.hpp", - "external/sources/boost/boost/hana/fwd/take_back.hpp", - "external/sources/boost/boost/hana/fwd/take_front.hpp", - "external/sources/boost/boost/hana/fwd/take_while.hpp", - "external/sources/boost/boost/hana/fwd/tap.hpp", - "external/sources/boost/boost/hana/fwd/then.hpp", - "external/sources/boost/boost/hana/fwd/transform.hpp", - "external/sources/boost/boost/hana/fwd/tuple.hpp", - "external/sources/boost/boost/hana/fwd/type.hpp", - "external/sources/boost/boost/hana/fwd/unfold_left.hpp", - "external/sources/boost/boost/hana/fwd/unfold_right.hpp", - "external/sources/boost/boost/hana/fwd/union.hpp", - "external/sources/boost/boost/hana/fwd/unique.hpp", - "external/sources/boost/boost/hana/fwd/unpack.hpp", - "external/sources/boost/boost/hana/fwd/value.hpp", - "external/sources/boost/boost/hana/fwd/while.hpp", - "external/sources/boost/boost/hana/fwd/zero.hpp", - "external/sources/boost/boost/hana/fwd/zip.hpp", - "external/sources/boost/boost/hana/fwd/zip_shortest.hpp", - "external/sources/boost/boost/hana/fwd/zip_shortest_with.hpp", - "external/sources/boost/boost/hana/fwd/zip_with.hpp", - "external/sources/boost/boost/hana/greater.hpp", - "external/sources/boost/boost/hana/greater_equal.hpp", - "external/sources/boost/boost/hana/group.hpp", - "external/sources/boost/boost/hana/hash.hpp", - "external/sources/boost/boost/hana/if.hpp", - "external/sources/boost/boost/hana/index_if.hpp", - "external/sources/boost/boost/hana/insert.hpp", - "external/sources/boost/boost/hana/insert_range.hpp", - "external/sources/boost/boost/hana/integral_constant.hpp", - "external/sources/boost/boost/hana/intersection.hpp", - "external/sources/boost/boost/hana/intersperse.hpp", - "external/sources/boost/boost/hana/is_disjoint.hpp", - "external/sources/boost/boost/hana/is_empty.hpp", - "external/sources/boost/boost/hana/is_subset.hpp", - "external/sources/boost/boost/hana/keys.hpp", - "external/sources/boost/boost/hana/lazy.hpp", - "external/sources/boost/boost/hana/length.hpp", - "external/sources/boost/boost/hana/less.hpp", - "external/sources/boost/boost/hana/less_equal.hpp", - "external/sources/boost/boost/hana/lexicographical_compare.hpp", - "external/sources/boost/boost/hana/lift.hpp", - "external/sources/boost/boost/hana/map.hpp", - "external/sources/boost/boost/hana/max.hpp", - "external/sources/boost/boost/hana/maximum.hpp", - "external/sources/boost/boost/hana/members.hpp", - "external/sources/boost/boost/hana/min.hpp", - "external/sources/boost/boost/hana/minimum.hpp", - "external/sources/boost/boost/hana/minus.hpp", - "external/sources/boost/boost/hana/mod.hpp", - "external/sources/boost/boost/hana/monadic_compose.hpp", - "external/sources/boost/boost/hana/monadic_fold_left.hpp", - "external/sources/boost/boost/hana/monadic_fold_right.hpp", - "external/sources/boost/boost/hana/mult.hpp", - "external/sources/boost/boost/hana/negate.hpp", - "external/sources/boost/boost/hana/none.hpp", - "external/sources/boost/boost/hana/none_of.hpp", - "external/sources/boost/boost/hana/not.hpp", - "external/sources/boost/boost/hana/not_equal.hpp", - "external/sources/boost/boost/hana/one.hpp", - "external/sources/boost/boost/hana/optional.hpp", - "external/sources/boost/boost/hana/or.hpp", - "external/sources/boost/boost/hana/ordering.hpp", - "external/sources/boost/boost/hana/pair.hpp", - "external/sources/boost/boost/hana/partition.hpp", - "external/sources/boost/boost/hana/permutations.hpp", - "external/sources/boost/boost/hana/plus.hpp", - "external/sources/boost/boost/hana/power.hpp", - "external/sources/boost/boost/hana/prefix.hpp", - "external/sources/boost/boost/hana/prepend.hpp", - "external/sources/boost/boost/hana/product.hpp", - "external/sources/boost/boost/hana/range.hpp", - "external/sources/boost/boost/hana/remove.hpp", - "external/sources/boost/boost/hana/remove_at.hpp", - "external/sources/boost/boost/hana/remove_if.hpp", - "external/sources/boost/boost/hana/remove_range.hpp", - "external/sources/boost/boost/hana/repeat.hpp", - "external/sources/boost/boost/hana/replace.hpp", - "external/sources/boost/boost/hana/replace_if.hpp", - "external/sources/boost/boost/hana/replicate.hpp", - "external/sources/boost/boost/hana/reverse.hpp", - "external/sources/boost/boost/hana/reverse_fold.hpp", - "external/sources/boost/boost/hana/scan_left.hpp", - "external/sources/boost/boost/hana/scan_right.hpp", - "external/sources/boost/boost/hana/second.hpp", - "external/sources/boost/boost/hana/set.hpp", - "external/sources/boost/boost/hana/size.hpp", - "external/sources/boost/boost/hana/slice.hpp", - "external/sources/boost/boost/hana/sort.hpp", - "external/sources/boost/boost/hana/span.hpp", - "external/sources/boost/boost/hana/string.hpp", - "external/sources/boost/boost/hana/suffix.hpp", - "external/sources/boost/boost/hana/sum.hpp", - "external/sources/boost/boost/hana/symmetric_difference.hpp", - "external/sources/boost/boost/hana/take_back.hpp", - "external/sources/boost/boost/hana/take_front.hpp", - "external/sources/boost/boost/hana/take_while.hpp", - "external/sources/boost/boost/hana/tap.hpp", - "external/sources/boost/boost/hana/then.hpp", - "external/sources/boost/boost/hana/traits.hpp", - "external/sources/boost/boost/hana/transform.hpp", - "external/sources/boost/boost/hana/tuple.hpp", - "external/sources/boost/boost/hana/type.hpp", - "external/sources/boost/boost/hana/unfold_left.hpp", - "external/sources/boost/boost/hana/unfold_right.hpp", - "external/sources/boost/boost/hana/union.hpp", - "external/sources/boost/boost/hana/unique.hpp", - "external/sources/boost/boost/hana/unpack.hpp", - "external/sources/boost/boost/hana/value.hpp", - "external/sources/boost/boost/hana/version.hpp", - "external/sources/boost/boost/hana/while.hpp", - "external/sources/boost/boost/hana/zero.hpp", - "external/sources/boost/boost/hana/zip.hpp", - "external/sources/boost/boost/hana/zip_shortest.hpp", - "external/sources/boost/boost/hana/zip_shortest_with.hpp", - "external/sources/boost/boost/hana/zip_with.hpp", - "external/sources/boost/boost/heap/binomial_heap.hpp", - "external/sources/boost/boost/heap/d_ary_heap.hpp", - "external/sources/boost/boost/heap/detail/heap_comparison.hpp", - "external/sources/boost/boost/heap/detail/heap_node.hpp", - "external/sources/boost/boost/heap/detail/ilog2.hpp", - "external/sources/boost/boost/heap/detail/mutable_heap.hpp", - "external/sources/boost/boost/heap/detail/ordered_adaptor_iterator.hpp", - "external/sources/boost/boost/heap/detail/stable_heap.hpp", - "external/sources/boost/boost/heap/detail/tree_iterator.hpp", - "external/sources/boost/boost/heap/fibonacci_heap.hpp", - "external/sources/boost/boost/heap/heap_concepts.hpp", - "external/sources/boost/boost/heap/heap_merge.hpp", - "external/sources/boost/boost/heap/pairing_heap.hpp", - "external/sources/boost/boost/heap/policies.hpp", - "external/sources/boost/boost/heap/priority_queue.hpp", - "external/sources/boost/boost/heap/skew_heap.hpp", - "external/sources/boost/boost/histogram.hpp", - "external/sources/boost/boost/histogram/accumulators.hpp", - "external/sources/boost/boost/histogram/accumulators/count.hpp", - "external/sources/boost/boost/histogram/accumulators/mean.hpp", - "external/sources/boost/boost/histogram/accumulators/ostream.hpp", - "external/sources/boost/boost/histogram/accumulators/sum.hpp", - "external/sources/boost/boost/histogram/accumulators/thread_safe.hpp", - "external/sources/boost/boost/histogram/accumulators/weighted_mean.hpp", - "external/sources/boost/boost/histogram/accumulators/weighted_sum.hpp", - "external/sources/boost/boost/histogram/algorithm.hpp", - "external/sources/boost/boost/histogram/algorithm/empty.hpp", - "external/sources/boost/boost/histogram/algorithm/project.hpp", - "external/sources/boost/boost/histogram/algorithm/reduce.hpp", - "external/sources/boost/boost/histogram/algorithm/sum.hpp", - "external/sources/boost/boost/histogram/axis.hpp", - "external/sources/boost/boost/histogram/axis/boolean.hpp", - "external/sources/boost/boost/histogram/axis/category.hpp", - "external/sources/boost/boost/histogram/axis/integer.hpp", - "external/sources/boost/boost/histogram/axis/interval_view.hpp", - "external/sources/boost/boost/histogram/axis/iterator.hpp", - "external/sources/boost/boost/histogram/axis/metadata_base.hpp", - "external/sources/boost/boost/histogram/axis/option.hpp", - "external/sources/boost/boost/histogram/axis/ostream.hpp", - "external/sources/boost/boost/histogram/axis/polymorphic_bin.hpp", - "external/sources/boost/boost/histogram/axis/regular.hpp", - "external/sources/boost/boost/histogram/axis/traits.hpp", - "external/sources/boost/boost/histogram/axis/variable.hpp", - "external/sources/boost/boost/histogram/axis/variant.hpp", - "external/sources/boost/boost/histogram/detail/accumulator_traits.hpp", - "external/sources/boost/boost/histogram/detail/args_type.hpp", - "external/sources/boost/boost/histogram/detail/argument_traits.hpp", - "external/sources/boost/boost/histogram/detail/array_wrapper.hpp", - "external/sources/boost/boost/histogram/detail/axes.hpp", - "external/sources/boost/boost/histogram/detail/common_type.hpp", - "external/sources/boost/boost/histogram/detail/convert_integer.hpp", - "external/sources/boost/boost/histogram/detail/counting_streambuf.hpp", - "external/sources/boost/boost/histogram/detail/detect.hpp", - "external/sources/boost/boost/histogram/detail/fill.hpp", - "external/sources/boost/boost/histogram/detail/fill_n.hpp", - "external/sources/boost/boost/histogram/detail/index_translator.hpp", - "external/sources/boost/boost/histogram/detail/iterator_adaptor.hpp", - "external/sources/boost/boost/histogram/detail/large_int.hpp", - "external/sources/boost/boost/histogram/detail/limits.hpp", - "external/sources/boost/boost/histogram/detail/linearize.hpp", - "external/sources/boost/boost/histogram/detail/make_default.hpp", - "external/sources/boost/boost/histogram/detail/mutex_base.hpp", - "external/sources/boost/boost/histogram/detail/nonmember_container_access.hpp", - "external/sources/boost/boost/histogram/detail/operators.hpp", - "external/sources/boost/boost/histogram/detail/optional_index.hpp", - "external/sources/boost/boost/histogram/detail/priority.hpp", - "external/sources/boost/boost/histogram/detail/reduce_command.hpp", - "external/sources/boost/boost/histogram/detail/relaxed_equal.hpp", - "external/sources/boost/boost/histogram/detail/relaxed_tuple_size.hpp", - "external/sources/boost/boost/histogram/detail/replace_type.hpp", - "external/sources/boost/boost/histogram/detail/safe_comparison.hpp", - "external/sources/boost/boost/histogram/detail/span.hpp", - "external/sources/boost/boost/histogram/detail/static_if.hpp", - "external/sources/boost/boost/histogram/detail/sub_array.hpp", - "external/sources/boost/boost/histogram/detail/try_cast.hpp", - "external/sources/boost/boost/histogram/detail/tuple_slice.hpp", - "external/sources/boost/boost/histogram/detail/type_name.hpp", - "external/sources/boost/boost/histogram/detail/variant_proxy.hpp", - "external/sources/boost/boost/histogram/fwd.hpp", - "external/sources/boost/boost/histogram/histogram.hpp", - "external/sources/boost/boost/histogram/indexed.hpp", - "external/sources/boost/boost/histogram/literals.hpp", - "external/sources/boost/boost/histogram/make_histogram.hpp", - "external/sources/boost/boost/histogram/make_profile.hpp", - "external/sources/boost/boost/histogram/multi_index.hpp", - "external/sources/boost/boost/histogram/ostream.hpp", - "external/sources/boost/boost/histogram/sample.hpp", - "external/sources/boost/boost/histogram/serialization.hpp", - "external/sources/boost/boost/histogram/storage_adaptor.hpp", - "external/sources/boost/boost/histogram/unlimited_storage.hpp", - "external/sources/boost/boost/histogram/unsafe_access.hpp", - "external/sources/boost/boost/histogram/weight.hpp", - "external/sources/boost/boost/hof.hpp", - "external/sources/boost/boost/hof/alias.hpp", - "external/sources/boost/boost/hof/always.hpp", - "external/sources/boost/boost/hof/apply.hpp", - "external/sources/boost/boost/hof/apply_eval.hpp", - "external/sources/boost/boost/hof/arg.hpp", - "external/sources/boost/boost/hof/capture.hpp", - "external/sources/boost/boost/hof/combine.hpp", - "external/sources/boost/boost/hof/compose.hpp", - "external/sources/boost/boost/hof/config.hpp", - "external/sources/boost/boost/hof/construct.hpp", - "external/sources/boost/boost/hof/decay.hpp", - "external/sources/boost/boost/hof/decorate.hpp", - "external/sources/boost/boost/hof/detail/and.hpp", - "external/sources/boost/boost/hof/detail/callable_base.hpp", - "external/sources/boost/boost/hof/detail/can_be_called.hpp", - "external/sources/boost/boost/hof/detail/compressed_pair.hpp", - "external/sources/boost/boost/hof/detail/constexpr_deduce.hpp", - "external/sources/boost/boost/hof/detail/delegate.hpp", - "external/sources/boost/boost/hof/detail/forward.hpp", - "external/sources/boost/boost/hof/detail/holder.hpp", - "external/sources/boost/boost/hof/detail/intrinsics.hpp", - "external/sources/boost/boost/hof/detail/join.hpp", - "external/sources/boost/boost/hof/detail/make.hpp", - "external/sources/boost/boost/hof/detail/move.hpp", - "external/sources/boost/boost/hof/detail/noexcept.hpp", - "external/sources/boost/boost/hof/detail/pp.hpp", - "external/sources/boost/boost/hof/detail/recursive_constexpr_depth.hpp", - "external/sources/boost/boost/hof/detail/remove_rvalue_reference.hpp", - "external/sources/boost/boost/hof/detail/result_of.hpp", - "external/sources/boost/boost/hof/detail/result_type.hpp", - "external/sources/boost/boost/hof/detail/seq.hpp", - "external/sources/boost/boost/hof/detail/static_const_var.hpp", - "external/sources/boost/boost/hof/detail/unpack_tuple.hpp", - "external/sources/boost/boost/hof/detail/unwrap.hpp", - "external/sources/boost/boost/hof/detail/using.hpp", - "external/sources/boost/boost/hof/eval.hpp", - "external/sources/boost/boost/hof/first_of.hpp", - "external/sources/boost/boost/hof/fix.hpp", - "external/sources/boost/boost/hof/flip.hpp", - "external/sources/boost/boost/hof/flow.hpp", - "external/sources/boost/boost/hof/fold.hpp", - "external/sources/boost/boost/hof/function.hpp", - "external/sources/boost/boost/hof/function_param_limit.hpp", - "external/sources/boost/boost/hof/identity.hpp", - "external/sources/boost/boost/hof/if.hpp", - "external/sources/boost/boost/hof/implicit.hpp", - "external/sources/boost/boost/hof/indirect.hpp", - "external/sources/boost/boost/hof/infix.hpp", - "external/sources/boost/boost/hof/is_invocable.hpp", - "external/sources/boost/boost/hof/is_unpackable.hpp", - "external/sources/boost/boost/hof/lambda.hpp", - "external/sources/boost/boost/hof/lazy.hpp", - "external/sources/boost/boost/hof/lift.hpp", - "external/sources/boost/boost/hof/limit.hpp", - "external/sources/boost/boost/hof/match.hpp", - "external/sources/boost/boost/hof/mutable.hpp", - "external/sources/boost/boost/hof/pack.hpp", - "external/sources/boost/boost/hof/partial.hpp", - "external/sources/boost/boost/hof/pipable.hpp", - "external/sources/boost/boost/hof/placeholders.hpp", - "external/sources/boost/boost/hof/proj.hpp", - "external/sources/boost/boost/hof/protect.hpp", - "external/sources/boost/boost/hof/repeat.hpp", - "external/sources/boost/boost/hof/repeat_while.hpp", - "external/sources/boost/boost/hof/result.hpp", - "external/sources/boost/boost/hof/returns.hpp", - "external/sources/boost/boost/hof/reveal.hpp", - "external/sources/boost/boost/hof/reverse_fold.hpp", - "external/sources/boost/boost/hof/rotate.hpp", - "external/sources/boost/boost/hof/static.hpp", - "external/sources/boost/boost/hof/tap.hpp", - "external/sources/boost/boost/hof/unpack.hpp", - "external/sources/boost/boost/hof/unpack_sequence.hpp", - "external/sources/boost/boost/hof/version.hpp", - "external/sources/boost/boost/icl/associative_element_container.hpp", - "external/sources/boost/boost/icl/associative_interval_container.hpp", - "external/sources/boost/boost/icl/closed_interval.hpp", - "external/sources/boost/boost/icl/concept/comparable.hpp", - "external/sources/boost/boost/icl/concept/container.hpp", - "external/sources/boost/boost/icl/concept/element_associator.hpp", - "external/sources/boost/boost/icl/concept/element_map.hpp", - "external/sources/boost/boost/icl/concept/element_set.hpp", - "external/sources/boost/boost/icl/concept/element_set_value.hpp", - "external/sources/boost/boost/icl/concept/interval.hpp", - "external/sources/boost/boost/icl/concept/interval_associator.hpp", - "external/sources/boost/boost/icl/concept/interval_associator_base.hpp", - "external/sources/boost/boost/icl/concept/interval_bounds.hpp", - "external/sources/boost/boost/icl/concept/interval_map.hpp", - "external/sources/boost/boost/icl/concept/interval_set.hpp", - "external/sources/boost/boost/icl/concept/interval_set_value.hpp", - "external/sources/boost/boost/icl/concept/joinable.hpp", - "external/sources/boost/boost/icl/concept/map_value.hpp", - "external/sources/boost/boost/icl/concept/set_value.hpp", - "external/sources/boost/boost/icl/continuous_interval.hpp", - "external/sources/boost/boost/icl/detail/associated_value.hpp", - "external/sources/boost/boost/icl/detail/boost_config.hpp", - "external/sources/boost/boost/icl/detail/concept_check.hpp", - "external/sources/boost/boost/icl/detail/design_config.hpp", - "external/sources/boost/boost/icl/detail/element_comparer.hpp", - "external/sources/boost/boost/icl/detail/element_iterator.hpp", - "external/sources/boost/boost/icl/detail/exclusive_less_than.hpp", - "external/sources/boost/boost/icl/detail/interval_map_algo.hpp", - "external/sources/boost/boost/icl/detail/interval_morphism.hpp", - "external/sources/boost/boost/icl/detail/interval_set_algo.hpp", - "external/sources/boost/boost/icl/detail/interval_subset_comparer.hpp", - "external/sources/boost/boost/icl/detail/map_algo.hpp", - "external/sources/boost/boost/icl/detail/mapped_reference.hpp", - "external/sources/boost/boost/icl/detail/notate.hpp", - "external/sources/boost/boost/icl/detail/on_absorbtion.hpp", - "external/sources/boost/boost/icl/detail/relation_state.hpp", - "external/sources/boost/boost/icl/detail/set_algo.hpp", - "external/sources/boost/boost/icl/detail/std_set.hpp", - "external/sources/boost/boost/icl/detail/subset_comparer.hpp", - "external/sources/boost/boost/icl/discrete_interval.hpp", - "external/sources/boost/boost/icl/dynamic_interval_traits.hpp", - "external/sources/boost/boost/icl/functors.hpp", - "external/sources/boost/boost/icl/gregorian.hpp", - "external/sources/boost/boost/icl/impl_config.hpp", - "external/sources/boost/boost/icl/interval.hpp", - "external/sources/boost/boost/icl/interval_base_map.hpp", - "external/sources/boost/boost/icl/interval_base_set.hpp", - "external/sources/boost/boost/icl/interval_bounds.hpp", - "external/sources/boost/boost/icl/interval_combining_style.hpp", - "external/sources/boost/boost/icl/interval_map.hpp", - "external/sources/boost/boost/icl/interval_set.hpp", - "external/sources/boost/boost/icl/interval_traits.hpp", - "external/sources/boost/boost/icl/iterator.hpp", - "external/sources/boost/boost/icl/left_open_interval.hpp", - "external/sources/boost/boost/icl/map.hpp", - "external/sources/boost/boost/icl/open_interval.hpp", - "external/sources/boost/boost/icl/predicates/distinct_equal.hpp", - "external/sources/boost/boost/icl/predicates/element_equal.hpp", - "external/sources/boost/boost/icl/predicates/std_equal.hpp", - "external/sources/boost/boost/icl/predicates/sub_super_set.hpp", - "external/sources/boost/boost/icl/ptime.hpp", - "external/sources/boost/boost/icl/rational.hpp", - "external/sources/boost/boost/icl/right_open_interval.hpp", - "external/sources/boost/boost/icl/separate_interval_set.hpp", - "external/sources/boost/boost/icl/set.hpp", - "external/sources/boost/boost/icl/split_interval_map.hpp", - "external/sources/boost/boost/icl/split_interval_set.hpp", - "external/sources/boost/boost/icl/type_traits/absorbs_identities.hpp", - "external/sources/boost/boost/icl/type_traits/adds_inversely.hpp", - "external/sources/boost/boost/icl/type_traits/codomain_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/difference.hpp", - "external/sources/boost/boost/icl/type_traits/difference_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/domain_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/element_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/has_inverse.hpp", - "external/sources/boost/boost/icl/type_traits/has_set_semantics.hpp", - "external/sources/boost/boost/icl/type_traits/identity_element.hpp", - "external/sources/boost/boost/icl/type_traits/infinity.hpp", - "external/sources/boost/boost/icl/type_traits/interval_type_default.hpp", - "external/sources/boost/boost/icl/type_traits/interval_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/is_associative_element_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_asymmetric_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_combinable.hpp", - "external/sources/boost/boost/icl/type_traits/is_concept_equivalent.hpp", - "external/sources/boost/boost/icl/type_traits/is_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_continuous.hpp", - "external/sources/boost/boost/icl/type_traits/is_continuous_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_discrete.hpp", - "external/sources/boost/boost/icl/type_traits/is_discrete_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_element_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_icl_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_increasing.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_joiner.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_separator.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_splitter.hpp", - "external/sources/boost/boost/icl/type_traits/is_key_container_of.hpp", - "external/sources/boost/boost/icl/type_traits/is_map.hpp", - "external/sources/boost/boost/icl/type_traits/is_numeric.hpp", - "external/sources/boost/boost/icl/type_traits/is_set.hpp", - "external/sources/boost/boost/icl/type_traits/is_total.hpp", - "external/sources/boost/boost/icl/type_traits/no_type.hpp", - "external/sources/boost/boost/icl/type_traits/predicate.hpp", - "external/sources/boost/boost/icl/type_traits/rep_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/segment_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/size.hpp", - "external/sources/boost/boost/icl/type_traits/size_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/succ_pred.hpp", - "external/sources/boost/boost/icl/type_traits/to_string.hpp", - "external/sources/boost/boost/icl/type_traits/type_to_string.hpp", - "external/sources/boost/boost/icl/type_traits/unit_element.hpp", - "external/sources/boost/boost/icl/type_traits/value_size.hpp", - "external/sources/boost/boost/implicit_cast.hpp", - "external/sources/boost/boost/indirect_reference.hpp", - "external/sources/boost/boost/integer.hpp", - "external/sources/boost/boost/integer/common_factor.hpp", - "external/sources/boost/boost/integer/common_factor_ct.hpp", - "external/sources/boost/boost/integer/common_factor_rt.hpp", - "external/sources/boost/boost/integer/extended_euclidean.hpp", - "external/sources/boost/boost/integer/integer_log2.hpp", - "external/sources/boost/boost/integer/integer_mask.hpp", - "external/sources/boost/boost/integer/mod_inverse.hpp", - "external/sources/boost/boost/integer/static_log2.hpp", - "external/sources/boost/boost/integer/static_min_max.hpp", - "external/sources/boost/boost/integer_fwd.hpp", - "external/sources/boost/boost/integer_traits.hpp", - "external/sources/boost/boost/interprocess/allocators/adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/cached_adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/cached_node_allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/adaptive_node_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/allocator_common.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/node_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/node_tools.hpp", - "external/sources/boost/boost/interprocess/allocators/node_allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/private_adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/private_node_allocator.hpp", - "external/sources/boost/boost/interprocess/anonymous_shared_memory.hpp", - "external/sources/boost/boost/interprocess/containers/allocation_type.hpp", - "external/sources/boost/boost/interprocess/containers/containers_fwd.hpp", - "external/sources/boost/boost/interprocess/containers/deque.hpp", - "external/sources/boost/boost/interprocess/containers/flat_map.hpp", - "external/sources/boost/boost/interprocess/containers/flat_set.hpp", - "external/sources/boost/boost/interprocess/containers/list.hpp", - "external/sources/boost/boost/interprocess/containers/map.hpp", - "external/sources/boost/boost/interprocess/containers/pair.hpp", - "external/sources/boost/boost/interprocess/containers/set.hpp", - "external/sources/boost/boost/interprocess/containers/slist.hpp", - "external/sources/boost/boost/interprocess/containers/stable_vector.hpp", - "external/sources/boost/boost/interprocess/containers/string.hpp", - "external/sources/boost/boost/interprocess/containers/vector.hpp", - "external/sources/boost/boost/interprocess/containers/version_type.hpp", - "external/sources/boost/boost/interprocess/creation_tags.hpp", - "external/sources/boost/boost/interprocess/detail/atomic.hpp", - "external/sources/boost/boost/interprocess/detail/cast_tags.hpp", - "external/sources/boost/boost/interprocess/detail/config_begin.hpp", - "external/sources/boost/boost/interprocess/detail/config_end.hpp", - "external/sources/boost/boost/interprocess/detail/config_external_begin.hpp", - "external/sources/boost/boost/interprocess/detail/config_external_end.hpp", - "external/sources/boost/boost/interprocess/detail/file_locking_helpers.hpp", - "external/sources/boost/boost/interprocess/detail/file_wrapper.hpp", - "external/sources/boost/boost/interprocess/detail/in_place_interface.hpp", - "external/sources/boost/boost/interprocess/detail/intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/intermodule_singleton_common.hpp", - "external/sources/boost/boost/interprocess/detail/interprocess_tester.hpp", - "external/sources/boost/boost/interprocess/detail/intersegment_ptr.hpp", - "external/sources/boost/boost/interprocess/detail/managed_global_memory.hpp", - "external/sources/boost/boost/interprocess/detail/managed_memory_impl.hpp", - "external/sources/boost/boost/interprocess/detail/managed_multi_shared_memory.hpp", - "external/sources/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp", - "external/sources/boost/boost/interprocess/detail/math_functions.hpp", - "external/sources/boost/boost/interprocess/detail/min_max.hpp", - "external/sources/boost/boost/interprocess/detail/move.hpp", - "external/sources/boost/boost/interprocess/detail/mpl.hpp", - "external/sources/boost/boost/interprocess/detail/named_proxy.hpp", - "external/sources/boost/boost/interprocess/detail/nothrow.hpp", - "external/sources/boost/boost/interprocess/detail/os_file_functions.hpp", - "external/sources/boost/boost/interprocess/detail/os_thread_functions.hpp", - "external/sources/boost/boost/interprocess/detail/pointer_type.hpp", - "external/sources/boost/boost/interprocess/detail/portable_intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/posix_time_types_wrk.hpp", - "external/sources/boost/boost/interprocess/detail/ptime_wrk.hpp", - "external/sources/boost/boost/interprocess/detail/robust_emulation.hpp", - "external/sources/boost/boost/interprocess/detail/segment_manager_helper.hpp", - "external/sources/boost/boost/interprocess/detail/shared_dir_helpers.hpp", - "external/sources/boost/boost/interprocess/detail/simple_swap.hpp", - "external/sources/boost/boost/interprocess/detail/std_fwd.hpp", - "external/sources/boost/boost/interprocess/detail/transform_iterator.hpp", - "external/sources/boost/boost/interprocess/detail/type_traits.hpp", - "external/sources/boost/boost/interprocess/detail/utilities.hpp", - "external/sources/boost/boost/interprocess/detail/variadic_templates_tools.hpp", - "external/sources/boost/boost/interprocess/detail/win32_api.hpp", - "external/sources/boost/boost/interprocess/detail/windows_intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/workaround.hpp", - "external/sources/boost/boost/interprocess/detail/xsi_shared_memory_file_wrapper.hpp", - "external/sources/boost/boost/interprocess/errors.hpp", - "external/sources/boost/boost/interprocess/exceptions.hpp", - "external/sources/boost/boost/interprocess/file_mapping.hpp", - "external/sources/boost/boost/interprocess/indexes/flat_map_index.hpp", - "external/sources/boost/boost/interprocess/indexes/iset_index.hpp", - "external/sources/boost/boost/interprocess/indexes/iunordered_set_index.hpp", - "external/sources/boost/boost/interprocess/indexes/map_index.hpp", - "external/sources/boost/boost/interprocess/indexes/null_index.hpp", - "external/sources/boost/boost/interprocess/indexes/unordered_map_index.hpp", - "external/sources/boost/boost/interprocess/interprocess_fwd.hpp", - "external/sources/boost/boost/interprocess/ipc/message_queue.hpp", - "external/sources/boost/boost/interprocess/managed_external_buffer.hpp", - "external/sources/boost/boost/interprocess/managed_heap_memory.hpp", - "external/sources/boost/boost/interprocess/managed_mapped_file.hpp", - "external/sources/boost/boost/interprocess/managed_shared_memory.hpp", - "external/sources/boost/boost/interprocess/managed_windows_shared_memory.hpp", - "external/sources/boost/boost/interprocess/managed_xsi_shared_memory.hpp", - "external/sources/boost/boost/interprocess/mapped_region.hpp", - "external/sources/boost/boost/interprocess/mem_algo/detail/mem_algo_common.hpp", - "external/sources/boost/boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp", - "external/sources/boost/boost/interprocess/mem_algo/rbtree_best_fit.hpp", - "external/sources/boost/boost/interprocess/mem_algo/simple_seq_fit.hpp", - "external/sources/boost/boost/interprocess/offset_ptr.hpp", - "external/sources/boost/boost/interprocess/permissions.hpp", - "external/sources/boost/boost/interprocess/segment_manager.hpp", - "external/sources/boost/boost/interprocess/shared_memory_object.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/deleter.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/bad_weak_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/shared_count.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/enable_shared_from_this.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/intrusive_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/scoped_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/shared_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/unique_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/weak_ptr.hpp", - "external/sources/boost/boost/interprocess/streams/bufferstream.hpp", - "external/sources/boost/boost/interprocess/streams/vectorstream.hpp", - "external/sources/boost/boost/interprocess/sync/detail/common_algorithms.hpp", - "external/sources/boost/boost/interprocess/sync/detail/condition_algorithm_8a.hpp", - "external/sources/boost/boost/interprocess/sync/detail/condition_any_algorithm.hpp", - "external/sources/boost/boost/interprocess/sync/detail/locks.hpp", - "external/sources/boost/boost/interprocess/sync/file_lock.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_condition.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_sharable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/lock_options.hpp", - "external/sources/boost/boost/interprocess/sync/mutex_family.hpp", - "external/sources/boost/boost/interprocess/sync/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/named_sharable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/null_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/condition.hpp", - "external/sources/boost/boost/interprocess/sync/posix/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/posix/pthread_helpers.hpp", - "external/sources/boost/boost/interprocess/sync/posix/ptime_to_timespec.hpp", - "external/sources/boost/boost/interprocess/sync/posix/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/posix/semaphore_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/scoped_lock.hpp", - "external/sources/boost/boost/interprocess/sync/sharable_lock.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_creation_functor.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/condition.hpp", - "external/sources/boost/boost/interprocess/sync/spin/interprocess_barrier.hpp", - "external/sources/boost/boost/interprocess/sync/spin/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/spin/wait.hpp", - "external/sources/boost/boost/interprocess/sync/upgradable_lock.hpp", - "external/sources/boost/boost/interprocess/sync/windows/condition.hpp", - "external/sources/boost/boost/interprocess/sync/windows/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_sync.hpp", - "external/sources/boost/boost/interprocess/sync/windows/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/windows/sync_utils.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_mutex_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_semaphore_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_wrapper_common.hpp", - "external/sources/boost/boost/interprocess/windows_shared_memory.hpp", - "external/sources/boost/boost/interprocess/xsi_key.hpp", - "external/sources/boost/boost/interprocess/xsi_shared_memory.hpp", - "external/sources/boost/boost/intrusive/any_hook.hpp", - "external/sources/boost/boost/intrusive/avl_set.hpp", - "external/sources/boost/boost/intrusive/avl_set_hook.hpp", - "external/sources/boost/boost/intrusive/avltree.hpp", - "external/sources/boost/boost/intrusive/avltree_algorithms.hpp", - "external/sources/boost/boost/intrusive/bs_set.hpp", - "external/sources/boost/boost/intrusive/bs_set_hook.hpp", - "external/sources/boost/boost/intrusive/bstree.hpp", - "external/sources/boost/boost/intrusive/bstree_algorithms.hpp", - "external/sources/boost/boost/intrusive/circular_list_algorithms.hpp", - "external/sources/boost/boost/intrusive/circular_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/derivation_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/algo_type.hpp", - "external/sources/boost/boost/intrusive/detail/algorithm.hpp", - "external/sources/boost/boost/intrusive/detail/any_node_and_algorithms.hpp", - "external/sources/boost/boost/intrusive/detail/array_initializer.hpp", - "external/sources/boost/boost/intrusive/detail/assert.hpp", - "external/sources/boost/boost/intrusive/detail/avltree_node.hpp", - "external/sources/boost/boost/intrusive/detail/bstree_algorithms_base.hpp", - "external/sources/boost/boost/intrusive/detail/common_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/detail/config_begin.hpp", - "external/sources/boost/boost/intrusive/detail/config_end.hpp", - "external/sources/boost/boost/intrusive/detail/default_header_holder.hpp", - "external/sources/boost/boost/intrusive/detail/ebo_functor_holder.hpp", - "external/sources/boost/boost/intrusive/detail/empty_node_checker.hpp", - "external/sources/boost/boost/intrusive/detail/equal_to_value.hpp", - "external/sources/boost/boost/intrusive/detail/exception_disposer.hpp", - "external/sources/boost/boost/intrusive/detail/function_detector.hpp", - "external/sources/boost/boost/intrusive/detail/generic_hook.hpp", - "external/sources/boost/boost/intrusive/detail/get_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/has_member_function_callable_with.hpp", - "external/sources/boost/boost/intrusive/detail/hashtable_node.hpp", - "external/sources/boost/boost/intrusive/detail/hook_traits.hpp", - "external/sources/boost/boost/intrusive/detail/iiterator.hpp", - "external/sources/boost/boost/intrusive/detail/is_stateful_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/iterator.hpp", - "external/sources/boost/boost/intrusive/detail/key_nodeptr_comp.hpp", - "external/sources/boost/boost/intrusive/detail/list_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/list_node.hpp", - "external/sources/boost/boost/intrusive/detail/math.hpp", - "external/sources/boost/boost/intrusive/detail/minimal_less_equal_header.hpp", - "external/sources/boost/boost/intrusive/detail/minimal_pair_header.hpp", - "external/sources/boost/boost/intrusive/detail/mpl.hpp", - "external/sources/boost/boost/intrusive/detail/node_cloner_disposer.hpp", - "external/sources/boost/boost/intrusive/detail/node_holder.hpp", - "external/sources/boost/boost/intrusive/detail/node_to_value.hpp", - "external/sources/boost/boost/intrusive/detail/parent_from_member.hpp", - "external/sources/boost/boost/intrusive/detail/rbtree_node.hpp", - "external/sources/boost/boost/intrusive/detail/reverse_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/simple_disposers.hpp", - "external/sources/boost/boost/intrusive/detail/size_holder.hpp", - "external/sources/boost/boost/intrusive/detail/slist_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/slist_node.hpp", - "external/sources/boost/boost/intrusive/detail/std_fwd.hpp", - "external/sources/boost/boost/intrusive/detail/transform_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/tree_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/tree_node.hpp", - "external/sources/boost/boost/intrusive/detail/tree_value_compare.hpp", - "external/sources/boost/boost/intrusive/detail/uncast.hpp", - "external/sources/boost/boost/intrusive/detail/workaround.hpp", - "external/sources/boost/boost/intrusive/hashtable.hpp", - "external/sources/boost/boost/intrusive/intrusive_fwd.hpp", - "external/sources/boost/boost/intrusive/linear_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/link_mode.hpp", - "external/sources/boost/boost/intrusive/list.hpp", - "external/sources/boost/boost/intrusive/list_hook.hpp", - "external/sources/boost/boost/intrusive/member_value_traits.hpp", - "external/sources/boost/boost/intrusive/options.hpp", - "external/sources/boost/boost/intrusive/pack_options.hpp", - "external/sources/boost/boost/intrusive/parent_from_member.hpp", - "external/sources/boost/boost/intrusive/pointer_plus_bits.hpp", - "external/sources/boost/boost/intrusive/pointer_rebind.hpp", - "external/sources/boost/boost/intrusive/pointer_traits.hpp", - "external/sources/boost/boost/intrusive/priority_compare.hpp", - "external/sources/boost/boost/intrusive/rbtree.hpp", - "external/sources/boost/boost/intrusive/rbtree_algorithms.hpp", - "external/sources/boost/boost/intrusive/set.hpp", - "external/sources/boost/boost/intrusive/set_hook.hpp", - "external/sources/boost/boost/intrusive/sg_set.hpp", - "external/sources/boost/boost/intrusive/sgtree.hpp", - "external/sources/boost/boost/intrusive/sgtree_algorithms.hpp", - "external/sources/boost/boost/intrusive/slist.hpp", - "external/sources/boost/boost/intrusive/slist_hook.hpp", - "external/sources/boost/boost/intrusive/splay_set.hpp", - "external/sources/boost/boost/intrusive/splaytree.hpp", - "external/sources/boost/boost/intrusive/splaytree_algorithms.hpp", - "external/sources/boost/boost/intrusive/treap.hpp", - "external/sources/boost/boost/intrusive/treap_algorithms.hpp", - "external/sources/boost/boost/intrusive/treap_set.hpp", - "external/sources/boost/boost/intrusive/trivial_value_traits.hpp", - "external/sources/boost/boost/intrusive/unordered_set.hpp", - "external/sources/boost/boost/intrusive/unordered_set_hook.hpp", - "external/sources/boost/boost/intrusive_ptr.hpp", - "external/sources/boost/boost/io/detail/buffer_fill.hpp", - "external/sources/boost/boost/io/detail/ostream_guard.hpp", - "external/sources/boost/boost/io/ios_state.hpp", - "external/sources/boost/boost/io/ostream_joiner.hpp", - "external/sources/boost/boost/io/ostream_put.hpp", - "external/sources/boost/boost/io/quoted.hpp", - "external/sources/boost/boost/io_fwd.hpp", - "external/sources/boost/boost/iostreams/categories.hpp", - "external/sources/boost/boost/iostreams/chain.hpp", - "external/sources/boost/boost/iostreams/char_traits.hpp", - "external/sources/boost/boost/iostreams/checked_operations.hpp", - "external/sources/boost/boost/iostreams/close.hpp", - "external/sources/boost/boost/iostreams/code_converter.hpp", - "external/sources/boost/boost/iostreams/combine.hpp", - "external/sources/boost/boost/iostreams/compose.hpp", - "external/sources/boost/boost/iostreams/concepts.hpp", - "external/sources/boost/boost/iostreams/constants.hpp", - "external/sources/boost/boost/iostreams/copy.hpp", - "external/sources/boost/boost/iostreams/detail/absolute_path.hpp", - "external/sources/boost/boost/iostreams/detail/access_control.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/concept_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/device_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/direct_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/filter_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/mode_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/non_blocking_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/output_iterator_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/range_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/add_facet.hpp", - "external/sources/boost/boost/iostreams/detail/bool_trait_def.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/forward.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream_buffer.hpp", - "external/sources/boost/boost/iostreams/detail/buffer.hpp", - "external/sources/boost/boost/iostreams/detail/call_traits.hpp", - "external/sources/boost/boost/iostreams/detail/char_traits.hpp", - "external/sources/boost/boost/iostreams/detail/codecvt_helper.hpp", - "external/sources/boost/boost/iostreams/detail/codecvt_holder.hpp", - "external/sources/boost/boost/iostreams/detail/config/auto_link.hpp", - "external/sources/boost/boost/iostreams/detail/config/bzip2.hpp", - "external/sources/boost/boost/iostreams/detail/config/codecvt.hpp", - "external/sources/boost/boost/iostreams/detail/config/disable_warnings.hpp", - "external/sources/boost/boost/iostreams/detail/config/dyn_link.hpp", - "external/sources/boost/boost/iostreams/detail/config/enable_warnings.hpp", - "external/sources/boost/boost/iostreams/detail/config/fpos.hpp", - "external/sources/boost/boost/iostreams/detail/config/gcc.hpp", - "external/sources/boost/boost/iostreams/detail/config/limits.hpp", - "external/sources/boost/boost/iostreams/detail/config/overload_resolution.hpp", - "external/sources/boost/boost/iostreams/detail/config/rtl.hpp", - "external/sources/boost/boost/iostreams/detail/config/unreachable_return.hpp", - "external/sources/boost/boost/iostreams/detail/config/wide_streams.hpp", - "external/sources/boost/boost/iostreams/detail/config/windows_posix.hpp", - "external/sources/boost/boost/iostreams/detail/config/zlib.hpp", - "external/sources/boost/boost/iostreams/detail/counted_array.hpp", - "external/sources/boost/boost/iostreams/detail/current_directory.hpp", - "external/sources/boost/boost/iostreams/detail/default_arg.hpp", - "external/sources/boost/boost/iostreams/detail/dispatch.hpp", - "external/sources/boost/boost/iostreams/detail/double_object.hpp", - "external/sources/boost/boost/iostreams/detail/enable_if_stream.hpp", - "external/sources/boost/boost/iostreams/detail/error.hpp", - "external/sources/boost/boost/iostreams/detail/execute.hpp", - "external/sources/boost/boost/iostreams/detail/file_handle.hpp", - "external/sources/boost/boost/iostreams/detail/forward.hpp", - "external/sources/boost/boost/iostreams/detail/fstream.hpp", - "external/sources/boost/boost/iostreams/detail/functional.hpp", - "external/sources/boost/boost/iostreams/detail/ios.hpp", - "external/sources/boost/boost/iostreams/detail/iostream.hpp", - "external/sources/boost/boost/iostreams/detail/is_dereferenceable.hpp", - "external/sources/boost/boost/iostreams/detail/is_iterator_range.hpp", - "external/sources/boost/boost/iostreams/detail/newline.hpp", - "external/sources/boost/boost/iostreams/detail/optional.hpp", - "external/sources/boost/boost/iostreams/detail/param_type.hpp", - "external/sources/boost/boost/iostreams/detail/path.hpp", - "external/sources/boost/boost/iostreams/detail/push.hpp", - "external/sources/boost/boost/iostreams/detail/push_params.hpp", - "external/sources/boost/boost/iostreams/detail/resolve.hpp", - "external/sources/boost/boost/iostreams/detail/restrict_impl.hpp", - "external/sources/boost/boost/iostreams/detail/select.hpp", - "external/sources/boost/boost/iostreams/detail/select_by_size.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/chainbuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/direct_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/indirect_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/linked_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/system_failure.hpp", - "external/sources/boost/boost/iostreams/detail/template_params.hpp", - "external/sources/boost/boost/iostreams/detail/translate_int_type.hpp", - "external/sources/boost/boost/iostreams/detail/wrap_unwrap.hpp", - "external/sources/boost/boost/iostreams/device/array.hpp", - "external/sources/boost/boost/iostreams/device/back_inserter.hpp", - "external/sources/boost/boost/iostreams/device/file.hpp", - "external/sources/boost/boost/iostreams/device/file_descriptor.hpp", - "external/sources/boost/boost/iostreams/device/mapped_file.hpp", - "external/sources/boost/boost/iostreams/device/null.hpp", - "external/sources/boost/boost/iostreams/filter/aggregate.hpp", - "external/sources/boost/boost/iostreams/filter/bzip2.hpp", - "external/sources/boost/boost/iostreams/filter/counter.hpp", - "external/sources/boost/boost/iostreams/filter/grep.hpp", - "external/sources/boost/boost/iostreams/filter/gzip.hpp", - "external/sources/boost/boost/iostreams/filter/line.hpp", - "external/sources/boost/boost/iostreams/filter/lzma.hpp", - "external/sources/boost/boost/iostreams/filter/newline.hpp", - "external/sources/boost/boost/iostreams/filter/regex.hpp", - "external/sources/boost/boost/iostreams/filter/stdio.hpp", - "external/sources/boost/boost/iostreams/filter/symmetric.hpp", - "external/sources/boost/boost/iostreams/filter/test.hpp", - "external/sources/boost/boost/iostreams/filter/zlib.hpp", - "external/sources/boost/boost/iostreams/filter/zstd.hpp", - "external/sources/boost/boost/iostreams/filtering_stream.hpp", - "external/sources/boost/boost/iostreams/filtering_streambuf.hpp", - "external/sources/boost/boost/iostreams/flush.hpp", - "external/sources/boost/boost/iostreams/get.hpp", - "external/sources/boost/boost/iostreams/imbue.hpp", - "external/sources/boost/boost/iostreams/input_sequence.hpp", - "external/sources/boost/boost/iostreams/invert.hpp", - "external/sources/boost/boost/iostreams/operations.hpp", - "external/sources/boost/boost/iostreams/operations_fwd.hpp", - "external/sources/boost/boost/iostreams/optimal_buffer_size.hpp", - "external/sources/boost/boost/iostreams/output_sequence.hpp", - "external/sources/boost/boost/iostreams/pipeline.hpp", - "external/sources/boost/boost/iostreams/positioning.hpp", - "external/sources/boost/boost/iostreams/put.hpp", - "external/sources/boost/boost/iostreams/putback.hpp", - "external/sources/boost/boost/iostreams/read.hpp", - "external/sources/boost/boost/iostreams/restrict.hpp", - "external/sources/boost/boost/iostreams/seek.hpp", - "external/sources/boost/boost/iostreams/skip.hpp", - "external/sources/boost/boost/iostreams/slice.hpp", - "external/sources/boost/boost/iostreams/stream.hpp", - "external/sources/boost/boost/iostreams/stream_buffer.hpp", - "external/sources/boost/boost/iostreams/tee.hpp", - "external/sources/boost/boost/iostreams/traits.hpp", - "external/sources/boost/boost/iostreams/traits_fwd.hpp", - "external/sources/boost/boost/iostreams/write.hpp", - "external/sources/boost/boost/is_placeholder.hpp", - "external/sources/boost/boost/iterator.hpp", - "external/sources/boost/boost/iterator/advance.hpp", - "external/sources/boost/boost/iterator/counting_iterator.hpp", - "external/sources/boost/boost/iterator/detail/any_conversion_eater.hpp", - "external/sources/boost/boost/iterator/detail/config_def.hpp", - "external/sources/boost/boost/iterator/detail/config_undef.hpp", - "external/sources/boost/boost/iterator/detail/enable_if.hpp", - "external/sources/boost/boost/iterator/detail/facade_iterator_category.hpp", - "external/sources/boost/boost/iterator/detail/minimum_category.hpp", - "external/sources/boost/boost/iterator/distance.hpp", - "external/sources/boost/boost/iterator/filter_iterator.hpp", - "external/sources/boost/boost/iterator/function_input_iterator.hpp", - "external/sources/boost/boost/iterator/function_output_iterator.hpp", - "external/sources/boost/boost/iterator/indirect_iterator.hpp", - "external/sources/boost/boost/iterator/interoperable.hpp", - "external/sources/boost/boost/iterator/is_lvalue_iterator.hpp", - "external/sources/boost/boost/iterator/is_readable_iterator.hpp", - "external/sources/boost/boost/iterator/iterator_adaptor.hpp", - "external/sources/boost/boost/iterator/iterator_archetypes.hpp", - "external/sources/boost/boost/iterator/iterator_categories.hpp", - "external/sources/boost/boost/iterator/iterator_concepts.hpp", - "external/sources/boost/boost/iterator/iterator_facade.hpp", - "external/sources/boost/boost/iterator/iterator_traits.hpp", - "external/sources/boost/boost/iterator/minimum_category.hpp", - "external/sources/boost/boost/iterator/new_iterator_tests.hpp", - "external/sources/boost/boost/iterator/permutation_iterator.hpp", - "external/sources/boost/boost/iterator/reverse_iterator.hpp", - "external/sources/boost/boost/iterator/transform_iterator.hpp", - "external/sources/boost/boost/iterator/zip_iterator.hpp", - "external/sources/boost/boost/iterator_adaptors.hpp", - "external/sources/boost/boost/lambda/algorithm.hpp", - "external/sources/boost/boost/lambda/bind.hpp", - "external/sources/boost/boost/lambda/casts.hpp", - "external/sources/boost/boost/lambda/closures.hpp", - "external/sources/boost/boost/lambda/construct.hpp", - "external/sources/boost/boost/lambda/control_structures.hpp", - "external/sources/boost/boost/lambda/core.hpp", - "external/sources/boost/boost/lambda/detail/actions.hpp", - "external/sources/boost/boost/lambda/detail/arity_code.hpp", - "external/sources/boost/boost/lambda/detail/bind_functions.hpp", - "external/sources/boost/boost/lambda/detail/control_constructs_common.hpp", - "external/sources/boost/boost/lambda/detail/function_adaptors.hpp", - "external/sources/boost/boost/lambda/detail/is_instance_of.hpp", - "external/sources/boost/boost/lambda/detail/lambda_config.hpp", - "external/sources/boost/boost/lambda/detail/lambda_functor_base.hpp", - "external/sources/boost/boost/lambda/detail/lambda_functors.hpp", - "external/sources/boost/boost/lambda/detail/lambda_fwd.hpp", - "external/sources/boost/boost/lambda/detail/lambda_traits.hpp", - "external/sources/boost/boost/lambda/detail/member_ptr.hpp", - "external/sources/boost/boost/lambda/detail/operator_actions.hpp", - "external/sources/boost/boost/lambda/detail/operator_lambda_func_base.hpp", - "external/sources/boost/boost/lambda/detail/operator_return_type_traits.hpp", - "external/sources/boost/boost/lambda/detail/operators.hpp", - "external/sources/boost/boost/lambda/detail/ret.hpp", - "external/sources/boost/boost/lambda/detail/return_type_traits.hpp", - "external/sources/boost/boost/lambda/detail/select_functions.hpp", - "external/sources/boost/boost/lambda/detail/suppress_unused.hpp", - "external/sources/boost/boost/lambda/exceptions.hpp", - "external/sources/boost/boost/lambda/if.hpp", - "external/sources/boost/boost/lambda/lambda.hpp", - "external/sources/boost/boost/lambda/loops.hpp", - "external/sources/boost/boost/lambda/numeric.hpp", - "external/sources/boost/boost/lambda/switch.hpp", - "external/sources/boost/boost/lexical_cast.hpp", - "external/sources/boost/boost/lexical_cast/bad_lexical_cast.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_lexical.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_numeric.hpp", - "external/sources/boost/boost/lexical_cast/detail/inf_nan.hpp", - "external/sources/boost/boost/lexical_cast/detail/is_character.hpp", - "external/sources/boost/boost/lexical_cast/detail/lcast_char_constants.hpp", - "external/sources/boost/boost/lexical_cast/detail/lcast_unsigned_converters.hpp", - "external/sources/boost/boost/lexical_cast/detail/widest_char.hpp", - "external/sources/boost/boost/lexical_cast/lexical_cast_old.hpp", - "external/sources/boost/boost/lexical_cast/try_lexical_convert.hpp", - "external/sources/boost/boost/limits.hpp", - "external/sources/boost/boost/local_function.hpp", - "external/sources/boost/boost/local_function/aux_/add_pointed_const.hpp", - "external/sources/boost/boost/local_function/aux_/function.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/bind.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/functor.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/result.hpp", - "external/sources/boost/boost/local_function/aux_/macro/decl.hpp", - "external/sources/boost/boost/local_function/aux_/macro/name.hpp", - "external/sources/boost/boost/local_function/aux_/macro/typeof.hpp", - "external/sources/boost/boost/local_function/aux_/member.hpp", - "external/sources/boost/boost/local_function/aux_/nobind.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/bind.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/append.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/index.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/nil.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/set_error.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_binds.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_const_binds.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_error.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_params.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_returns.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/any_bind_type.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/sign.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/defaults.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/this.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/param.hpp", - "external/sources/boost/boost/local_function/aux_/symbol.hpp", - "external/sources/boost/boost/local_function/config.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/auto.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/bind.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const_bind.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/default.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/add.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/is.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/remove.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/inline.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/recursive.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/register.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/return.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/this.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/thisunderscore.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/void.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/line_counter.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/void_list.hpp", - "external/sources/boost/boost/locale.hpp", - "external/sources/boost/boost/locale/boundary.hpp", - "external/sources/boost/boost/locale/boundary/boundary_point.hpp", - "external/sources/boost/boost/locale/boundary/facets.hpp", - "external/sources/boost/boost/locale/boundary/index.hpp", - "external/sources/boost/boost/locale/boundary/segment.hpp", - "external/sources/boost/boost/locale/boundary/types.hpp", - "external/sources/boost/boost/locale/collator.hpp", - "external/sources/boost/boost/locale/config.hpp", - "external/sources/boost/boost/locale/conversion.hpp", - "external/sources/boost/boost/locale/date_time.hpp", - "external/sources/boost/boost/locale/date_time_facet.hpp", - "external/sources/boost/boost/locale/definitions.hpp", - "external/sources/boost/boost/locale/encoding.hpp", - "external/sources/boost/boost/locale/encoding_errors.hpp", - "external/sources/boost/boost/locale/encoding_utf.hpp", - "external/sources/boost/boost/locale/format.hpp", - "external/sources/boost/boost/locale/formatting.hpp", - "external/sources/boost/boost/locale/generator.hpp", - "external/sources/boost/boost/locale/generic_codecvt.hpp", - "external/sources/boost/boost/locale/gnu_gettext.hpp", - "external/sources/boost/boost/locale/hold_ptr.hpp", - "external/sources/boost/boost/locale/info.hpp", - "external/sources/boost/boost/locale/localization_backend.hpp", - "external/sources/boost/boost/locale/message.hpp", - "external/sources/boost/boost/locale/time_zone.hpp", - "external/sources/boost/boost/locale/utf.hpp", - "external/sources/boost/boost/locale/utf8_codecvt.hpp", - "external/sources/boost/boost/locale/util.hpp", - "external/sources/boost/boost/lockfree/detail/atomic.hpp", - "external/sources/boost/boost/lockfree/detail/copy_payload.hpp", - "external/sources/boost/boost/lockfree/detail/freelist.hpp", - "external/sources/boost/boost/lockfree/detail/parameter.hpp", - "external/sources/boost/boost/lockfree/detail/prefix.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr_dcas.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp", - "external/sources/boost/boost/lockfree/lockfree_forward.hpp", - "external/sources/boost/boost/lockfree/policies.hpp", - "external/sources/boost/boost/lockfree/queue.hpp", - "external/sources/boost/boost/lockfree/spsc_queue.hpp", - "external/sources/boost/boost/lockfree/stack.hpp", - "external/sources/boost/boost/log/attributes.hpp", - "external/sources/boost/boost/log/attributes/attribute.hpp", - "external/sources/boost/boost/log/attributes/attribute_cast.hpp", - "external/sources/boost/boost/log/attributes/attribute_name.hpp", - "external/sources/boost/boost/log/attributes/attribute_set.hpp", - "external/sources/boost/boost/log/attributes/attribute_value.hpp", - "external/sources/boost/boost/log/attributes/attribute_value_impl.hpp", - "external/sources/boost/boost/log/attributes/attribute_value_set.hpp", - "external/sources/boost/boost/log/attributes/clock.hpp", - "external/sources/boost/boost/log/attributes/constant.hpp", - "external/sources/boost/boost/log/attributes/counter.hpp", - "external/sources/boost/boost/log/attributes/current_process_id.hpp", - "external/sources/boost/boost/log/attributes/current_process_name.hpp", - "external/sources/boost/boost/log/attributes/current_thread_id.hpp", - "external/sources/boost/boost/log/attributes/fallback_policy.hpp", - "external/sources/boost/boost/log/attributes/fallback_policy_fwd.hpp", - "external/sources/boost/boost/log/attributes/function.hpp", - "external/sources/boost/boost/log/attributes/mutable_constant.hpp", - "external/sources/boost/boost/log/attributes/named_scope.hpp", - "external/sources/boost/boost/log/attributes/scoped_attribute.hpp", - "external/sources/boost/boost/log/attributes/time_traits.hpp", - "external/sources/boost/boost/log/attributes/timer.hpp", - "external/sources/boost/boost/log/attributes/value_extraction.hpp", - "external/sources/boost/boost/log/attributes/value_extraction_fwd.hpp", - "external/sources/boost/boost/log/attributes/value_visitation.hpp", - "external/sources/boost/boost/log/attributes/value_visitation_fwd.hpp", - "external/sources/boost/boost/log/common.hpp", - "external/sources/boost/boost/log/core.hpp", - "external/sources/boost/boost/log/core/core.hpp", - "external/sources/boost/boost/log/core/record.hpp", - "external/sources/boost/boost/log/core/record_view.hpp", - "external/sources/boost/boost/log/detail/adaptive_mutex.hpp", - "external/sources/boost/boost/log/detail/allocator_traits.hpp", - "external/sources/boost/boost/log/detail/asio_fwd.hpp", - "external/sources/boost/boost/log/detail/attachable_sstream_buf.hpp", - "external/sources/boost/boost/log/detail/attr_output_impl.hpp", - "external/sources/boost/boost/log/detail/attr_output_terminal.hpp", - "external/sources/boost/boost/log/detail/attribute_get_value_impl.hpp", - "external/sources/boost/boost/log/detail/attribute_predicate.hpp", - "external/sources/boost/boost/log/detail/c_str.hpp", - "external/sources/boost/boost/log/detail/cleanup_scope_guard.hpp", - "external/sources/boost/boost/log/detail/code_conversion.hpp", - "external/sources/boost/boost/log/detail/config.hpp", - "external/sources/boost/boost/log/detail/copy_cv.hpp", - "external/sources/boost/boost/log/detail/custom_terminal_spec.hpp", - "external/sources/boost/boost/log/detail/date_time_fmt_gen_traits_fwd.hpp", - "external/sources/boost/boost/log/detail/date_time_format_parser.hpp", - "external/sources/boost/boost/log/detail/decomposed_time.hpp", - "external/sources/boost/boost/log/detail/deduce_char_type.hpp", - "external/sources/boost/boost/log/detail/default_attribute_names.hpp", - "external/sources/boost/boost/log/detail/embedded_string_type.hpp", - "external/sources/boost/boost/log/detail/enqueued_record.hpp", - "external/sources/boost/boost/log/detail/event.hpp", - "external/sources/boost/boost/log/detail/fake_mutex.hpp", - "external/sources/boost/boost/log/detail/footer.hpp", - "external/sources/boost/boost/log/detail/format.hpp", - "external/sources/boost/boost/log/detail/function_traits.hpp", - "external/sources/boost/boost/log/detail/generate_overloads.hpp", - "external/sources/boost/boost/log/detail/header.hpp", - "external/sources/boost/boost/log/detail/id.hpp", - "external/sources/boost/boost/log/detail/is_character_type.hpp", - "external/sources/boost/boost/log/detail/is_ostream.hpp", - "external/sources/boost/boost/log/detail/light_function.hpp", - "external/sources/boost/boost/log/detail/light_function_pp.hpp", - "external/sources/boost/boost/log/detail/light_rw_mutex.hpp", - "external/sources/boost/boost/log/detail/locking_ptr.hpp", - "external/sources/boost/boost/log/detail/locks.hpp", - "external/sources/boost/boost/log/detail/named_scope_fmt_pp.hpp", - "external/sources/boost/boost/log/detail/native_typeof.hpp", - "external/sources/boost/boost/log/detail/parameter_tools.hpp", - "external/sources/boost/boost/log/detail/pause.hpp", - "external/sources/boost/boost/log/detail/pp_identity.hpp", - "external/sources/boost/boost/log/detail/process_id.hpp", - "external/sources/boost/boost/log/detail/setup_config.hpp", - "external/sources/boost/boost/log/detail/sfinae_tools.hpp", - "external/sources/boost/boost/log/detail/singleton.hpp", - "external/sources/boost/boost/log/detail/sink_init_helpers.hpp", - "external/sources/boost/boost/log/detail/snprintf.hpp", - "external/sources/boost/boost/log/detail/tagged_integer.hpp", - "external/sources/boost/boost/log/detail/thread_id.hpp", - "external/sources/boost/boost/log/detail/thread_specific.hpp", - "external/sources/boost/boost/log/detail/threadsafe_queue.hpp", - "external/sources/boost/boost/log/detail/timestamp.hpp", - "external/sources/boost/boost/log/detail/trivial_keyword.hpp", - "external/sources/boost/boost/log/detail/unary_function_terminal.hpp", - "external/sources/boost/boost/log/detail/value_ref_visitation.hpp", - "external/sources/boost/boost/log/exceptions.hpp", - "external/sources/boost/boost/log/expressions.hpp", - "external/sources/boost/boost/log/expressions/attr.hpp", - "external/sources/boost/boost/log/expressions/attr_fwd.hpp", - "external/sources/boost/boost/log/expressions/filter.hpp", - "external/sources/boost/boost/log/expressions/formatter.hpp", - "external/sources/boost/boost/log/expressions/formatters.hpp", - "external/sources/boost/boost/log/expressions/formatters/auto_newline.hpp", - "external/sources/boost/boost/log/expressions/formatters/c_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/char_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/csv_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/date_time.hpp", - "external/sources/boost/boost/log/expressions/formatters/format.hpp", - "external/sources/boost/boost/log/expressions/formatters/if.hpp", - "external/sources/boost/boost/log/expressions/formatters/max_size_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/named_scope.hpp", - "external/sources/boost/boost/log/expressions/formatters/stream.hpp", - "external/sources/boost/boost/log/expressions/formatters/wrap_formatter.hpp", - "external/sources/boost/boost/log/expressions/formatters/xml_decorator.hpp", - "external/sources/boost/boost/log/expressions/is_keyword_descriptor.hpp", - "external/sources/boost/boost/log/expressions/keyword.hpp", - "external/sources/boost/boost/log/expressions/keyword_fwd.hpp", - "external/sources/boost/boost/log/expressions/message.hpp", - "external/sources/boost/boost/log/expressions/predicates.hpp", - "external/sources/boost/boost/log/expressions/predicates/begins_with.hpp", - "external/sources/boost/boost/log/expressions/predicates/channel_severity_filter.hpp", - "external/sources/boost/boost/log/expressions/predicates/contains.hpp", - "external/sources/boost/boost/log/expressions/predicates/ends_with.hpp", - "external/sources/boost/boost/log/expressions/predicates/has_attr.hpp", - "external/sources/boost/boost/log/expressions/predicates/is_debugger_present.hpp", - "external/sources/boost/boost/log/expressions/predicates/is_in_range.hpp", - "external/sources/boost/boost/log/expressions/predicates/matches.hpp", - "external/sources/boost/boost/log/expressions/record.hpp", - "external/sources/boost/boost/log/keywords/auto_flush.hpp", - "external/sources/boost/boost/log/keywords/auto_newline_mode.hpp", - "external/sources/boost/boost/log/keywords/block_size.hpp", - "external/sources/boost/boost/log/keywords/capacity.hpp", - "external/sources/boost/boost/log/keywords/channel.hpp", - "external/sources/boost/boost/log/keywords/delimiter.hpp", - "external/sources/boost/boost/log/keywords/depth.hpp", - "external/sources/boost/boost/log/keywords/empty_marker.hpp", - "external/sources/boost/boost/log/keywords/enable_final_rotation.hpp", - "external/sources/boost/boost/log/keywords/facility.hpp", - "external/sources/boost/boost/log/keywords/file_name.hpp", - "external/sources/boost/boost/log/keywords/filter.hpp", - "external/sources/boost/boost/log/keywords/format.hpp", - "external/sources/boost/boost/log/keywords/ident.hpp", - "external/sources/boost/boost/log/keywords/incomplete_marker.hpp", - "external/sources/boost/boost/log/keywords/ip_version.hpp", - "external/sources/boost/boost/log/keywords/iteration.hpp", - "external/sources/boost/boost/log/keywords/log_name.hpp", - "external/sources/boost/boost/log/keywords/log_source.hpp", - "external/sources/boost/boost/log/keywords/max_files.hpp", - "external/sources/boost/boost/log/keywords/max_size.hpp", - "external/sources/boost/boost/log/keywords/message_file.hpp", - "external/sources/boost/boost/log/keywords/min_free_space.hpp", - "external/sources/boost/boost/log/keywords/name.hpp", - "external/sources/boost/boost/log/keywords/open_mode.hpp", - "external/sources/boost/boost/log/keywords/order.hpp", - "external/sources/boost/boost/log/keywords/ordering_window.hpp", - "external/sources/boost/boost/log/keywords/overflow_policy.hpp", - "external/sources/boost/boost/log/keywords/permissions.hpp", - "external/sources/boost/boost/log/keywords/registration.hpp", - "external/sources/boost/boost/log/keywords/rotation_size.hpp", - "external/sources/boost/boost/log/keywords/scan_method.hpp", - "external/sources/boost/boost/log/keywords/severity.hpp", - "external/sources/boost/boost/log/keywords/start_thread.hpp", - "external/sources/boost/boost/log/keywords/target.hpp", - "external/sources/boost/boost/log/keywords/target_file_name.hpp", - "external/sources/boost/boost/log/keywords/time_based_rotation.hpp", - "external/sources/boost/boost/log/keywords/use_impl.hpp", - "external/sources/boost/boost/log/sinks.hpp", - "external/sources/boost/boost/log/sinks/async_frontend.hpp", - "external/sources/boost/boost/log/sinks/attribute_mapping.hpp", - "external/sources/boost/boost/log/sinks/auto_newline_mode.hpp", - "external/sources/boost/boost/log/sinks/basic_sink_backend.hpp", - "external/sources/boost/boost/log/sinks/basic_sink_frontend.hpp", - "external/sources/boost/boost/log/sinks/block_on_overflow.hpp", - "external/sources/boost/boost/log/sinks/bounded_fifo_queue.hpp", - "external/sources/boost/boost/log/sinks/bounded_ordering_queue.hpp", - "external/sources/boost/boost/log/sinks/debug_output_backend.hpp", - "external/sources/boost/boost/log/sinks/drop_on_overflow.hpp", - "external/sources/boost/boost/log/sinks/event_log_backend.hpp", - "external/sources/boost/boost/log/sinks/event_log_constants.hpp", - "external/sources/boost/boost/log/sinks/frontend_requirements.hpp", - "external/sources/boost/boost/log/sinks/sink.hpp", - "external/sources/boost/boost/log/sinks/sync_frontend.hpp", - "external/sources/boost/boost/log/sinks/syslog_backend.hpp", - "external/sources/boost/boost/log/sinks/syslog_constants.hpp", - "external/sources/boost/boost/log/sinks/text_file_backend.hpp", - "external/sources/boost/boost/log/sinks/text_ipc_message_queue_backend.hpp", - "external/sources/boost/boost/log/sinks/text_multifile_backend.hpp", - "external/sources/boost/boost/log/sinks/text_ostream_backend.hpp", - "external/sources/boost/boost/log/sinks/unbounded_fifo_queue.hpp", - "external/sources/boost/boost/log/sinks/unbounded_ordering_queue.hpp", - "external/sources/boost/boost/log/sinks/unlocked_frontend.hpp", - "external/sources/boost/boost/log/sources/basic_logger.hpp", - "external/sources/boost/boost/log/sources/channel_feature.hpp", - "external/sources/boost/boost/log/sources/channel_logger.hpp", - "external/sources/boost/boost/log/sources/exception_handler_feature.hpp", - "external/sources/boost/boost/log/sources/features.hpp", - "external/sources/boost/boost/log/sources/global_logger_storage.hpp", - "external/sources/boost/boost/log/sources/logger.hpp", - "external/sources/boost/boost/log/sources/record_ostream.hpp", - "external/sources/boost/boost/log/sources/severity_channel_logger.hpp", - "external/sources/boost/boost/log/sources/severity_feature.hpp", - "external/sources/boost/boost/log/sources/severity_logger.hpp", - "external/sources/boost/boost/log/sources/threading_models.hpp", - "external/sources/boost/boost/log/support/date_time.hpp", - "external/sources/boost/boost/log/support/exception.hpp", - "external/sources/boost/boost/log/support/regex.hpp", - "external/sources/boost/boost/log/support/spirit_classic.hpp", - "external/sources/boost/boost/log/support/spirit_qi.hpp", - "external/sources/boost/boost/log/support/std_regex.hpp", - "external/sources/boost/boost/log/support/xpressive.hpp", - "external/sources/boost/boost/log/trivial.hpp", - "external/sources/boost/boost/log/utility/exception_handler.hpp", - "external/sources/boost/boost/log/utility/formatting_ostream.hpp", - "external/sources/boost/boost/log/utility/formatting_ostream_fwd.hpp", - "external/sources/boost/boost/log/utility/functional.hpp", - "external/sources/boost/boost/log/utility/functional/as_action.hpp", - "external/sources/boost/boost/log/utility/functional/begins_with.hpp", - "external/sources/boost/boost/log/utility/functional/bind.hpp", - "external/sources/boost/boost/log/utility/functional/bind_assign.hpp", - "external/sources/boost/boost/log/utility/functional/bind_output.hpp", - "external/sources/boost/boost/log/utility/functional/bind_to_log.hpp", - "external/sources/boost/boost/log/utility/functional/contains.hpp", - "external/sources/boost/boost/log/utility/functional/ends_with.hpp", - "external/sources/boost/boost/log/utility/functional/fun_ref.hpp", - "external/sources/boost/boost/log/utility/functional/in_range.hpp", - "external/sources/boost/boost/log/utility/functional/logical.hpp", - "external/sources/boost/boost/log/utility/functional/matches.hpp", - "external/sources/boost/boost/log/utility/functional/nop.hpp", - "external/sources/boost/boost/log/utility/functional/save_result.hpp", - "external/sources/boost/boost/log/utility/ipc/object_name.hpp", - "external/sources/boost/boost/log/utility/ipc/reliable_message_queue.hpp", - "external/sources/boost/boost/log/utility/manipulators.hpp", - "external/sources/boost/boost/log/utility/manipulators/add_value.hpp", - "external/sources/boost/boost/log/utility/manipulators/auto_newline.hpp", - "external/sources/boost/boost/log/utility/manipulators/dump.hpp", - "external/sources/boost/boost/log/utility/manipulators/optional.hpp", - "external/sources/boost/boost/log/utility/manipulators/range.hpp", - "external/sources/boost/boost/log/utility/manipulators/to_log.hpp", - "external/sources/boost/boost/log/utility/manipulators/tuple.hpp", - "external/sources/boost/boost/log/utility/once_block.hpp", - "external/sources/boost/boost/log/utility/open_mode.hpp", - "external/sources/boost/boost/log/utility/permissions.hpp", - "external/sources/boost/boost/log/utility/record_ordering.hpp", - "external/sources/boost/boost/log/utility/setup.hpp", - "external/sources/boost/boost/log/utility/setup/common_attributes.hpp", - "external/sources/boost/boost/log/utility/setup/console.hpp", - "external/sources/boost/boost/log/utility/setup/file.hpp", - "external/sources/boost/boost/log/utility/setup/filter_parser.hpp", - "external/sources/boost/boost/log/utility/setup/formatter_parser.hpp", - "external/sources/boost/boost/log/utility/setup/from_settings.hpp", - "external/sources/boost/boost/log/utility/setup/from_stream.hpp", - "external/sources/boost/boost/log/utility/setup/settings.hpp", - "external/sources/boost/boost/log/utility/setup/settings_parser.hpp", - "external/sources/boost/boost/log/utility/strictest_lock.hpp", - "external/sources/boost/boost/log/utility/string_literal.hpp", - "external/sources/boost/boost/log/utility/string_literal_fwd.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/date_time_types.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/dynamic_type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/standard_types.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/static_type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/unique_identifier_name.hpp", - "external/sources/boost/boost/log/utility/unused_variable.hpp", - "external/sources/boost/boost/log/utility/value_ref.hpp", - "external/sources/boost/boost/log/utility/value_ref_fwd.hpp", - "external/sources/boost/boost/logic/tribool.hpp", - "external/sources/boost/boost/logic/tribool_fwd.hpp", - "external/sources/boost/boost/logic/tribool_io.hpp", - "external/sources/boost/boost/make_default.hpp", - "external/sources/boost/boost/make_shared.hpp", - "external/sources/boost/boost/make_unique.hpp", - "external/sources/boost/boost/math/bindings/detail/big_digamma.hpp", - "external/sources/boost/boost/math/bindings/detail/big_lanczos.hpp", - "external/sources/boost/boost/math/bindings/e_float.hpp", - "external/sources/boost/boost/math/bindings/mpfr.hpp", - "external/sources/boost/boost/math/bindings/mpreal.hpp", - "external/sources/boost/boost/math/bindings/rr.hpp", - "external/sources/boost/boost/math/common_factor.hpp", - "external/sources/boost/boost/math/common_factor_ct.hpp", - "external/sources/boost/boost/math/common_factor_rt.hpp", - "external/sources/boost/boost/math/complex.hpp", - "external/sources/boost/boost/math/complex/acos.hpp", - "external/sources/boost/boost/math/complex/acosh.hpp", - "external/sources/boost/boost/math/complex/asin.hpp", - "external/sources/boost/boost/math/complex/asinh.hpp", - "external/sources/boost/boost/math/complex/atan.hpp", - "external/sources/boost/boost/math/complex/atanh.hpp", - "external/sources/boost/boost/math/complex/details.hpp", - "external/sources/boost/boost/math/complex/fabs.hpp", - "external/sources/boost/boost/math/concepts/distributions.hpp", - "external/sources/boost/boost/math/concepts/real_concept.hpp", - "external/sources/boost/boost/math/concepts/real_type_concept.hpp", - "external/sources/boost/boost/math/concepts/std_real_concept.hpp", - "external/sources/boost/boost/math/constants/calculate_constants.hpp", - "external/sources/boost/boost/math/constants/constants.hpp", - "external/sources/boost/boost/math/constants/info.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_cmath.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex_std.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_iostream.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_limits.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_types.hpp", - "external/sources/boost/boost/math/differentiation/autodiff.hpp", - "external/sources/boost/boost/math/differentiation/autodiff_cpp11.hpp", - "external/sources/boost/boost/math/differentiation/finite_difference.hpp", - "external/sources/boost/boost/math/differentiation/lanczos_smoothing.hpp", - "external/sources/boost/boost/math/distributions.hpp", - "external/sources/boost/boost/math/distributions/arcsine.hpp", - "external/sources/boost/boost/math/distributions/bernoulli.hpp", - "external/sources/boost/boost/math/distributions/beta.hpp", - "external/sources/boost/boost/math/distributions/binomial.hpp", - "external/sources/boost/boost/math/distributions/cauchy.hpp", - "external/sources/boost/boost/math/distributions/chi_squared.hpp", - "external/sources/boost/boost/math/distributions/complement.hpp", - "external/sources/boost/boost/math/distributions/detail/common_error_handling.hpp", - "external/sources/boost/boost/math/distributions/detail/derived_accessors.hpp", - "external/sources/boost/boost/math/distributions/detail/generic_mode.hpp", - "external/sources/boost/boost/math/distributions/detail/generic_quantile.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_cdf.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_pdf.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_quantile.hpp", - "external/sources/boost/boost/math/distributions/detail/inv_discrete_quantile.hpp", - "external/sources/boost/boost/math/distributions/empirical_cumulative_distribution_function.hpp", - "external/sources/boost/boost/math/distributions/exponential.hpp", - "external/sources/boost/boost/math/distributions/extreme_value.hpp", - "external/sources/boost/boost/math/distributions/find_location.hpp", - "external/sources/boost/boost/math/distributions/find_scale.hpp", - "external/sources/boost/boost/math/distributions/fisher_f.hpp", - "external/sources/boost/boost/math/distributions/fwd.hpp", - "external/sources/boost/boost/math/distributions/gamma.hpp", - "external/sources/boost/boost/math/distributions/geometric.hpp", - "external/sources/boost/boost/math/distributions/hyperexponential.hpp", - "external/sources/boost/boost/math/distributions/hypergeometric.hpp", - "external/sources/boost/boost/math/distributions/inverse_chi_squared.hpp", - "external/sources/boost/boost/math/distributions/inverse_gamma.hpp", - "external/sources/boost/boost/math/distributions/inverse_gaussian.hpp", - "external/sources/boost/boost/math/distributions/laplace.hpp", - "external/sources/boost/boost/math/distributions/logistic.hpp", - "external/sources/boost/boost/math/distributions/lognormal.hpp", - "external/sources/boost/boost/math/distributions/negative_binomial.hpp", - "external/sources/boost/boost/math/distributions/non_central_beta.hpp", - "external/sources/boost/boost/math/distributions/non_central_chi_squared.hpp", - "external/sources/boost/boost/math/distributions/non_central_f.hpp", - "external/sources/boost/boost/math/distributions/non_central_t.hpp", - "external/sources/boost/boost/math/distributions/normal.hpp", - "external/sources/boost/boost/math/distributions/pareto.hpp", - "external/sources/boost/boost/math/distributions/poisson.hpp", - "external/sources/boost/boost/math/distributions/rayleigh.hpp", - "external/sources/boost/boost/math/distributions/skew_normal.hpp", - "external/sources/boost/boost/math/distributions/students_t.hpp", - "external/sources/boost/boost/math/distributions/triangular.hpp", - "external/sources/boost/boost/math/distributions/uniform.hpp", - "external/sources/boost/boost/math/distributions/weibull.hpp", - "external/sources/boost/boost/math/filters/daubechies.hpp", - "external/sources/boost/boost/math/interpolators/barycentric_rational.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_cubic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_quintic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_trigonometric.hpp", - "external/sources/boost/boost/math/interpolators/catmull_rom.hpp", - "external/sources/boost/boost/math/interpolators/cubic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cubic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/detail/barycentric_rational_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_cubic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_quadratic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_quintic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_trigonometric_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cubic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cubic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/quintic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/septic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/vector_barycentric_rational_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/whittaker_shannon_detail.hpp", - "external/sources/boost/boost/math/interpolators/makima.hpp", - "external/sources/boost/boost/math/interpolators/pchip.hpp", - "external/sources/boost/boost/math/interpolators/quintic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/septic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/vector_barycentric_rational.hpp", - "external/sources/boost/boost/math/interpolators/whittaker_shannon.hpp", - "external/sources/boost/boost/math/octonion.hpp", - "external/sources/boost/boost/math/policies/error_handling.hpp", - "external/sources/boost/boost/math/policies/policy.hpp", - "external/sources/boost/boost/math/quadrature/detail/exp_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/ooura_fourier_integrals_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/sinh_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_constants.hpp", - "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/exp_sinh.hpp", - "external/sources/boost/boost/math/quadrature/gauss.hpp", - "external/sources/boost/boost/math/quadrature/gauss_kronrod.hpp", - "external/sources/boost/boost/math/quadrature/naive_monte_carlo.hpp", - "external/sources/boost/boost/math/quadrature/ooura_fourier_integrals.hpp", - "external/sources/boost/boost/math/quadrature/sinh_sinh.hpp", - "external/sources/boost/boost/math/quadrature/tanh_sinh.hpp", - "external/sources/boost/boost/math/quadrature/trapezoidal.hpp", - "external/sources/boost/boost/math/quadrature/wavelet_transforms.hpp", - "external/sources/boost/boost/math/quaternion.hpp", - "external/sources/boost/boost/math/special_functions.hpp", - "external/sources/boost/boost/math/special_functions/acosh.hpp", - "external/sources/boost/boost/math/special_functions/airy.hpp", - "external/sources/boost/boost/math/special_functions/asinh.hpp", - "external/sources/boost/boost/math/special_functions/atanh.hpp", - "external/sources/boost/boost/math/special_functions/bernoulli.hpp", - "external/sources/boost/boost/math/special_functions/bessel.hpp", - "external/sources/boost/boost/math/special_functions/bessel_iterators.hpp", - "external/sources/boost/boost/math/special_functions/bessel_prime.hpp", - "external/sources/boost/boost/math/special_functions/beta.hpp", - "external/sources/boost/boost/math/special_functions/binomial.hpp", - "external/sources/boost/boost/math/special_functions/cardinal_b_spline.hpp", - "external/sources/boost/boost/math/special_functions/cbrt.hpp", - "external/sources/boost/boost/math/special_functions/chebyshev.hpp", - "external/sources/boost/boost/math/special_functions/chebyshev_transform.hpp", - "external/sources/boost/boost/math/special_functions/cos_pi.hpp", - "external/sources/boost/boost/math/special_functions/daubechies_scaling.hpp", - "external/sources/boost/boost/math/special_functions/daubechies_wavelet.hpp", - "external/sources/boost/boost/math/special_functions/detail/airy_ai_bi_zero.hpp", - "external/sources/boost/boost/math/special_functions/detail/bernoulli_details.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_derivatives_linear.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_i0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_i1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_ik.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_j0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_j1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jn.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_zero.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_k0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_k1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_kn.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_y0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_y1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_yn.hpp", - "external/sources/boost/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp", - "external/sources/boost/boost/math/special_functions/detail/erf_inv.hpp", - "external/sources/boost/boost/math/special_functions/detail/fp_traits.hpp", - "external/sources/boost/boost/math/special_functions/detail/gamma_inva.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_0F1_bessel.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_addition_theorems_on_z.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_bessel.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_by_ratios.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_cf.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_a.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_abz.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_negative_b_regions.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_scaled_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_small_a_negative_b_by_ratio.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_cf.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pFq_checked_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pade.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_rational.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_separated_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/ibeta_inv_ab.hpp", - "external/sources/boost/boost/math/special_functions/detail/ibeta_inverse.hpp", - "external/sources/boost/boost/math/special_functions/detail/iconv.hpp", - "external/sources/boost/boost/math/special_functions/detail/igamma_inverse.hpp", - "external/sources/boost/boost/math/special_functions/detail/igamma_large.hpp", - "external/sources/boost/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", - "external/sources/boost/boost/math/special_functions/detail/lanczos_sse2.hpp", - "external/sources/boost/boost/math/special_functions/detail/lgamma_small.hpp", - "external/sources/boost/boost/math/special_functions/detail/polygamma.hpp", - "external/sources/boost/boost/math/special_functions/detail/round_fwd.hpp", - "external/sources/boost/boost/math/special_functions/detail/t_distribution_inv.hpp", - "external/sources/boost/boost/math/special_functions/detail/unchecked_bernoulli.hpp", - "external/sources/boost/boost/math/special_functions/detail/unchecked_factorial.hpp", - "external/sources/boost/boost/math/special_functions/digamma.hpp", - "external/sources/boost/boost/math/special_functions/ellint_1.hpp", - "external/sources/boost/boost/math/special_functions/ellint_2.hpp", - "external/sources/boost/boost/math/special_functions/ellint_3.hpp", - "external/sources/boost/boost/math/special_functions/ellint_d.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rc.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rd.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rf.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rg.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rj.hpp", - "external/sources/boost/boost/math/special_functions/erf.hpp", - "external/sources/boost/boost/math/special_functions/expint.hpp", - "external/sources/boost/boost/math/special_functions/expm1.hpp", - "external/sources/boost/boost/math/special_functions/factorials.hpp", - "external/sources/boost/boost/math/special_functions/fpclassify.hpp", - "external/sources/boost/boost/math/special_functions/gamma.hpp", - "external/sources/boost/boost/math/special_functions/gegenbauer.hpp", - "external/sources/boost/boost/math/special_functions/hankel.hpp", - "external/sources/boost/boost/math/special_functions/hermite.hpp", - "external/sources/boost/boost/math/special_functions/heuman_lambda.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_0F1.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_1F0.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_1F1.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_2F0.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_pFq.hpp", - "external/sources/boost/boost/math/special_functions/hypot.hpp", - "external/sources/boost/boost/math/special_functions/jacobi.hpp", - "external/sources/boost/boost/math/special_functions/jacobi_elliptic.hpp", - "external/sources/boost/boost/math/special_functions/jacobi_zeta.hpp", - "external/sources/boost/boost/math/special_functions/laguerre.hpp", - "external/sources/boost/boost/math/special_functions/lambert_w.hpp", - "external/sources/boost/boost/math/special_functions/lanczos.hpp", - "external/sources/boost/boost/math/special_functions/legendre.hpp", - "external/sources/boost/boost/math/special_functions/legendre_stieltjes.hpp", - "external/sources/boost/boost/math/special_functions/log1p.hpp", - "external/sources/boost/boost/math/special_functions/math_fwd.hpp", - "external/sources/boost/boost/math/special_functions/modf.hpp", - "external/sources/boost/boost/math/special_functions/next.hpp", - "external/sources/boost/boost/math/special_functions/nonfinite_num_facets.hpp", - "external/sources/boost/boost/math/special_functions/owens_t.hpp", - "external/sources/boost/boost/math/special_functions/polygamma.hpp", - "external/sources/boost/boost/math/special_functions/pow.hpp", - "external/sources/boost/boost/math/special_functions/powm1.hpp", - "external/sources/boost/boost/math/special_functions/prime.hpp", - "external/sources/boost/boost/math/special_functions/relative_difference.hpp", - "external/sources/boost/boost/math/special_functions/round.hpp", - "external/sources/boost/boost/math/special_functions/sign.hpp", - "external/sources/boost/boost/math/special_functions/sin_pi.hpp", - "external/sources/boost/boost/math/special_functions/sinc.hpp", - "external/sources/boost/boost/math/special_functions/sinhc.hpp", - "external/sources/boost/boost/math/special_functions/spherical_harmonic.hpp", - "external/sources/boost/boost/math/special_functions/sqrt1pm1.hpp", - "external/sources/boost/boost/math/special_functions/trigamma.hpp", - "external/sources/boost/boost/math/special_functions/trunc.hpp", - "external/sources/boost/boost/math/special_functions/ulp.hpp", - "external/sources/boost/boost/math/special_functions/zeta.hpp", - "external/sources/boost/boost/math/statistics/anderson_darling.hpp", - "external/sources/boost/boost/math/statistics/bivariate_statistics.hpp", - "external/sources/boost/boost/math/statistics/linear_regression.hpp", - "external/sources/boost/boost/math/statistics/ljung_box.hpp", - "external/sources/boost/boost/math/statistics/runs_test.hpp", - "external/sources/boost/boost/math/statistics/signal_statistics.hpp", - "external/sources/boost/boost/math/statistics/t_test.hpp", - "external/sources/boost/boost/math/statistics/univariate_statistics.hpp", - "external/sources/boost/boost/math/tools/atomic.hpp", - "external/sources/boost/boost/math/tools/big_constant.hpp", - "external/sources/boost/boost/math/tools/bivariate_statistics.hpp", - "external/sources/boost/boost/math/tools/complex.hpp", - "external/sources/boost/boost/math/tools/condition_numbers.hpp", - "external/sources/boost/boost/math/tools/config.hpp", - "external/sources/boost/boost/math/tools/convert_from_string.hpp", - "external/sources/boost/boost/math/tools/cxx03_warn.hpp", - "external/sources/boost/boost/math/tools/detail/is_const_iterable.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_9.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_9.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_9.hpp", - "external/sources/boost/boost/math/tools/fraction.hpp", - "external/sources/boost/boost/math/tools/minima.hpp", - "external/sources/boost/boost/math/tools/norms.hpp", - "external/sources/boost/boost/math/tools/numerical_differentiation.hpp", - "external/sources/boost/boost/math/tools/polynomial.hpp", - "external/sources/boost/boost/math/tools/polynomial_gcd.hpp", - "external/sources/boost/boost/math/tools/precision.hpp", - "external/sources/boost/boost/math/tools/promotion.hpp", - "external/sources/boost/boost/math/tools/rational.hpp", - "external/sources/boost/boost/math/tools/real_cast.hpp", - "external/sources/boost/boost/math/tools/recurrence.hpp", - "external/sources/boost/boost/math/tools/roots.hpp", - "external/sources/boost/boost/math/tools/series.hpp", - "external/sources/boost/boost/math/tools/signal_statistics.hpp", - "external/sources/boost/boost/math/tools/stats.hpp", - "external/sources/boost/boost/math/tools/test_value.hpp", - "external/sources/boost/boost/math/tools/toms748_solve.hpp", - "external/sources/boost/boost/math/tools/traits.hpp", - "external/sources/boost/boost/math/tools/tuple.hpp", - "external/sources/boost/boost/math/tools/univariate_statistics.hpp", - "external/sources/boost/boost/math/tools/user.hpp", - "external/sources/boost/boost/math/tools/workaround.hpp", - "external/sources/boost/boost/math/tr1.hpp", - "external/sources/boost/boost/math/tr1_c_macros.ipp", - "external/sources/boost/boost/math_fwd.hpp", - "external/sources/boost/boost/mem_fn.hpp", - "external/sources/boost/boost/memory_order.hpp", - "external/sources/boost/boost/metaparse.hpp", - "external/sources/boost/boost/metaparse/accept.hpp", - "external/sources/boost/boost/metaparse/accept_tag.hpp", - "external/sources/boost/boost/metaparse/accept_when.hpp", - "external/sources/boost/boost/metaparse/alphanum.hpp", - "external/sources/boost/boost/metaparse/always.hpp", - "external/sources/boost/boost/metaparse/always_c.hpp", - "external/sources/boost/boost/metaparse/change_error_message.hpp", - "external/sources/boost/boost/metaparse/config.hpp", - "external/sources/boost/boost/metaparse/debug_parsing_error.hpp", - "external/sources/boost/boost/metaparse/define_error.hpp", - "external/sources/boost/boost/metaparse/digit.hpp", - "external/sources/boost/boost/metaparse/digit_val.hpp", - "external/sources/boost/boost/metaparse/empty.hpp", - "external/sources/boost/boost/metaparse/entire_input.hpp", - "external/sources/boost/boost/metaparse/error/digit_expected.hpp", - "external/sources/boost/boost/metaparse/error/end_of_input_expected.hpp", - "external/sources/boost/boost/metaparse/error/index_out_of_range.hpp", - "external/sources/boost/boost/metaparse/error/letter_expected.hpp", - "external/sources/boost/boost/metaparse/error/literal_expected.hpp", - "external/sources/boost/boost/metaparse/error/none_of_the_expected_cases_found.hpp", - "external/sources/boost/boost/metaparse/error/unexpected_character.hpp", - "external/sources/boost/boost/metaparse/error/unexpected_end_of_input.hpp", - "external/sources/boost/boost/metaparse/error/unpaired.hpp", - "external/sources/boost/boost/metaparse/error/whitespace_expected.hpp", - "external/sources/boost/boost/metaparse/except.hpp", - "external/sources/boost/boost/metaparse/fail.hpp", - "external/sources/boost/boost/metaparse/fail_at_first_char_expected.hpp", - "external/sources/boost/boost/metaparse/fail_tag.hpp", - "external/sources/boost/boost/metaparse/first_of.hpp", - "external/sources/boost/boost/metaparse/foldl.hpp", - "external/sources/boost/boost/metaparse/foldl1.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/foldl_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/foldr.hpp", - "external/sources/boost/boost/metaparse/foldr1.hpp", - "external/sources/boost/boost/metaparse/foldr_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/foldr_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/foldr_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/get_col.hpp", - "external/sources/boost/boost/metaparse/get_line.hpp", - "external/sources/boost/boost/metaparse/get_message.hpp", - "external/sources/boost/boost/metaparse/get_position.hpp", - "external/sources/boost/boost/metaparse/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/get_remaining.hpp", - "external/sources/boost/boost/metaparse/get_result.hpp", - "external/sources/boost/boost/metaparse/grammar.hpp", - "external/sources/boost/boost/metaparse/if_.hpp", - "external/sources/boost/boost/metaparse/int_.hpp", - "external/sources/boost/boost/metaparse/is_error.hpp", - "external/sources/boost/boost/metaparse/iterate.hpp", - "external/sources/boost/boost/metaparse/iterate_c.hpp", - "external/sources/boost/boost/metaparse/keyword.hpp", - "external/sources/boost/boost/metaparse/last_of.hpp", - "external/sources/boost/boost/metaparse/letter.hpp", - "external/sources/boost/boost/metaparse/limit_one_char_except_size.hpp", - "external/sources/boost/boost/metaparse/limit_one_of_size.hpp", - "external/sources/boost/boost/metaparse/limit_sequence_size.hpp", - "external/sources/boost/boost/metaparse/limit_string_size.hpp", - "external/sources/boost/boost/metaparse/lit.hpp", - "external/sources/boost/boost/metaparse/lit_c.hpp", - "external/sources/boost/boost/metaparse/look_ahead.hpp", - "external/sources/boost/boost/metaparse/middle_of.hpp", - "external/sources/boost/boost/metaparse/next_char.hpp", - "external/sources/boost/boost/metaparse/next_line.hpp", - "external/sources/boost/boost/metaparse/nth_of.hpp", - "external/sources/boost/boost/metaparse/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/one_char.hpp", - "external/sources/boost/boost/metaparse/one_char_except.hpp", - "external/sources/boost/boost/metaparse/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/one_of.hpp", - "external/sources/boost/boost/metaparse/one_of_c.hpp", - "external/sources/boost/boost/metaparse/optional.hpp", - "external/sources/boost/boost/metaparse/range.hpp", - "external/sources/boost/boost/metaparse/range_c.hpp", - "external/sources/boost/boost/metaparse/reject.hpp", - "external/sources/boost/boost/metaparse/repeated.hpp", - "external/sources/boost/boost/metaparse/repeated1.hpp", - "external/sources/boost/boost/metaparse/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/repeated_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/repeated_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/return_.hpp", - "external/sources/boost/boost/metaparse/sequence.hpp", - "external/sources/boost/boost/metaparse/sequence_apply.hpp", - "external/sources/boost/boost/metaparse/source_position.hpp", - "external/sources/boost/boost/metaparse/source_position_tag.hpp", - "external/sources/boost/boost/metaparse/space.hpp", - "external/sources/boost/boost/metaparse/spaces.hpp", - "external/sources/boost/boost/metaparse/start.hpp", - "external/sources/boost/boost/metaparse/string.hpp", - "external/sources/boost/boost/metaparse/string_tag.hpp", - "external/sources/boost/boost/metaparse/token.hpp", - "external/sources/boost/boost/metaparse/transform.hpp", - "external/sources/boost/boost/metaparse/transform_error.hpp", - "external/sources/boost/boost/metaparse/transform_error_message.hpp", - "external/sources/boost/boost/metaparse/unless_error.hpp", - "external/sources/boost/boost/metaparse/util/digit_to_int.hpp", - "external/sources/boost/boost/metaparse/util/digit_to_int_c.hpp", - "external/sources/boost/boost/metaparse/util/in_range.hpp", - "external/sources/boost/boost/metaparse/util/in_range_c.hpp", - "external/sources/boost/boost/metaparse/util/int_to_digit.hpp", - "external/sources/boost/boost/metaparse/util/int_to_digit_c.hpp", - "external/sources/boost/boost/metaparse/util/is_digit.hpp", - "external/sources/boost/boost/metaparse/util/is_lcase_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_ucase_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_whitespace.hpp", - "external/sources/boost/boost/metaparse/util/is_whitespace_c.hpp", - "external/sources/boost/boost/metaparse/v1/accept.hpp", - "external/sources/boost/boost/metaparse/v1/accept_tag.hpp", - "external/sources/boost/boost/metaparse/v1/accept_when.hpp", - "external/sources/boost/boost/metaparse/v1/alphanum.hpp", - "external/sources/boost/boost/metaparse/v1/always.hpp", - "external/sources/boost/boost/metaparse/v1/always_c.hpp", - "external/sources/boost/boost/metaparse/v1/change_error_message.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/any_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/concat.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/empty_string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/eval_later_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c_skip_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/or_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_back.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_front.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_back_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/size.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/string_at.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp14/impl/any_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp14/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/empty_string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/is_none.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/later_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_char_except_not_used.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of_fwd_op.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_back.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_front.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_back_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_front_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/size.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/skip_seq.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/update_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/string.hpp", - "external/sources/boost/boost/metaparse/v1/debug_parsing_error.hpp", - "external/sources/boost/boost/metaparse/v1/define_error.hpp", - "external/sources/boost/boost/metaparse/v1/digit.hpp", - "external/sources/boost/boost/metaparse/v1/digit_val.hpp", - "external/sources/boost/boost/metaparse/v1/empty.hpp", - "external/sources/boost/boost/metaparse/v1/entire_input.hpp", - "external/sources/boost/boost/metaparse/v1/error/digit_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/end_of_input_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/expected_to_fail.hpp", - "external/sources/boost/boost/metaparse/v1/error/index_out_of_range.hpp", - "external/sources/boost/boost/metaparse/v1/error/letter_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/literal_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/none_of_the_expected_cases_found.hpp", - "external/sources/boost/boost/metaparse/v1/error/unexpected_character.hpp", - "external/sources/boost/boost/metaparse/v1/error/unexpected_end_of_input.hpp", - "external/sources/boost/boost/metaparse/v1/error/unpaired.hpp", - "external/sources/boost/boost/metaparse/v1/error/whitespace_expected.hpp", - "external/sources/boost/boost/metaparse/v1/except.hpp", - "external/sources/boost/boost/metaparse/v1/fail.hpp", - "external/sources/boost/boost/metaparse/v1/fail_at_first_char_expected.hpp", - "external/sources/boost/boost/metaparse/v1/fail_tag.hpp", - "external/sources/boost/boost/metaparse/v1/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/foldl.hpp", - "external/sources/boost/boost/metaparse/v1/foldl1.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/foldr.hpp", - "external/sources/boost/boost/metaparse/v1/foldr1.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/accept.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_col.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_line.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_message.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_position.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_result.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/next_char.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/next_line.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/reject.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/source_position.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/get_col.hpp", - "external/sources/boost/boost/metaparse/v1/get_line.hpp", - "external/sources/boost/boost/metaparse/v1/get_message.hpp", - "external/sources/boost/boost/metaparse/v1/get_position.hpp", - "external/sources/boost/boost/metaparse/v1/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/v1/get_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/get_result.hpp", - "external/sources/boost/boost/metaparse/v1/grammar.hpp", - "external/sources/boost/boost/metaparse/v1/if_.hpp", - "external/sources/boost/boost/metaparse/v1/impl/apply_parser.hpp", - "external/sources/boost/boost/metaparse/v1/impl/assert_string_length.hpp", - "external/sources/boost/boost/metaparse/v1/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/impl/back_inserter.hpp", - "external/sources/boost/boost/metaparse/v1/impl/front_inserter.hpp", - "external/sources/boost/boost/metaparse/v1/impl/fwd/iterate_impl.hpp", - "external/sources/boost/boost/metaparse/v1/impl/has_type.hpp", - "external/sources/boost/boost/metaparse/v1/impl/is_char_c.hpp", - "external/sources/boost/boost/metaparse/v1/impl/iterate_impl.hpp", - "external/sources/boost/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp", - "external/sources/boost/boost/metaparse/v1/impl/next_digit.hpp", - "external/sources/boost/boost/metaparse/v1/impl/no_char.hpp", - "external/sources/boost/boost/metaparse/v1/impl/returns.hpp", - "external/sources/boost/boost/metaparse/v1/impl/string_iterator.hpp", - "external/sources/boost/boost/metaparse/v1/impl/string_iterator_tag.hpp", - "external/sources/boost/boost/metaparse/v1/impl/void_.hpp", - "external/sources/boost/boost/metaparse/v1/int_.hpp", - "external/sources/boost/boost/metaparse/v1/is_error.hpp", - "external/sources/boost/boost/metaparse/v1/iterate.hpp", - "external/sources/boost/boost/metaparse/v1/iterate_c.hpp", - "external/sources/boost/boost/metaparse/v1/keyword.hpp", - "external/sources/boost/boost/metaparse/v1/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/letter.hpp", - "external/sources/boost/boost/metaparse/v1/lit.hpp", - "external/sources/boost/boost/metaparse/v1/lit_c.hpp", - "external/sources/boost/boost/metaparse/v1/look_ahead.hpp", - "external/sources/boost/boost/metaparse/v1/middle_of.hpp", - "external/sources/boost/boost/metaparse/v1/next_char.hpp", - "external/sources/boost/boost/metaparse/v1/next_line.hpp", - "external/sources/boost/boost/metaparse/v1/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/one_char.hpp", - "external/sources/boost/boost/metaparse/v1/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/optional.hpp", - "external/sources/boost/boost/metaparse/v1/range.hpp", - "external/sources/boost/boost/metaparse/v1/range_c.hpp", - "external/sources/boost/boost/metaparse/v1/reject.hpp", - "external/sources/boost/boost/metaparse/v1/repeated.hpp", - "external/sources/boost/boost/metaparse/v1/repeated1.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/return_.hpp", - "external/sources/boost/boost/metaparse/v1/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/sequence_apply.hpp", - "external/sources/boost/boost/metaparse/v1/source_position.hpp", - "external/sources/boost/boost/metaparse/v1/source_position_tag.hpp", - "external/sources/boost/boost/metaparse/v1/space.hpp", - "external/sources/boost/boost/metaparse/v1/spaces.hpp", - "external/sources/boost/boost/metaparse/v1/start.hpp", - "external/sources/boost/boost/metaparse/v1/string.hpp", - "external/sources/boost/boost/metaparse/v1/string_tag.hpp", - "external/sources/boost/boost/metaparse/v1/swap.hpp", - "external/sources/boost/boost/metaparse/v1/token.hpp", - "external/sources/boost/boost/metaparse/v1/transform.hpp", - "external/sources/boost/boost/metaparse/v1/transform_error.hpp", - "external/sources/boost/boost/metaparse/v1/transform_error_message.hpp", - "external/sources/boost/boost/metaparse/v1/unless_error.hpp", - "external/sources/boost/boost/metaparse/v1/util/digit_to_int.hpp", - "external/sources/boost/boost/metaparse/v1/util/digit_to_int_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/in_range.hpp", - "external/sources/boost/boost/metaparse/v1/util/in_range_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/int_to_digit.hpp", - "external/sources/boost/boost/metaparse/v1/util/int_to_digit_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_digit.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_lcase_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_ucase_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_whitespace.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_whitespace_c.hpp", - "external/sources/boost/boost/metaparse/version.hpp", - "external/sources/boost/boost/move/adl_move_swap.hpp", - "external/sources/boost/boost/move/algo/adaptive_merge.hpp", - "external/sources/boost/boost/move/algo/adaptive_sort.hpp", - "external/sources/boost/boost/move/algo/detail/adaptive_sort_merge.hpp", - "external/sources/boost/boost/move/algo/detail/basic_op.hpp", - "external/sources/boost/boost/move/algo/detail/heap_sort.hpp", - "external/sources/boost/boost/move/algo/detail/insertion_sort.hpp", - "external/sources/boost/boost/move/algo/detail/is_sorted.hpp", - "external/sources/boost/boost/move/algo/detail/merge.hpp", - "external/sources/boost/boost/move/algo/detail/merge_sort.hpp", - "external/sources/boost/boost/move/algo/detail/pdqsort.hpp", - "external/sources/boost/boost/move/algo/detail/set_difference.hpp", - "external/sources/boost/boost/move/algo/move.hpp", - "external/sources/boost/boost/move/algo/predicate.hpp", - "external/sources/boost/boost/move/algo/unique.hpp", - "external/sources/boost/boost/move/algorithm.hpp", - "external/sources/boost/boost/move/core.hpp", - "external/sources/boost/boost/move/default_delete.hpp", - "external/sources/boost/boost/move/detail/config_begin.hpp", - "external/sources/boost/boost/move/detail/config_end.hpp", - "external/sources/boost/boost/move/detail/destruct_n.hpp", - "external/sources/boost/boost/move/detail/fwd_macros.hpp", - "external/sources/boost/boost/move/detail/iterator_to_raw_pointer.hpp", - "external/sources/boost/boost/move/detail/iterator_traits.hpp", - "external/sources/boost/boost/move/detail/meta_utils.hpp", - "external/sources/boost/boost/move/detail/meta_utils_core.hpp", - "external/sources/boost/boost/move/detail/move_helpers.hpp", - "external/sources/boost/boost/move/detail/placement_new.hpp", - "external/sources/boost/boost/move/detail/pointer_element.hpp", - "external/sources/boost/boost/move/detail/reverse_iterator.hpp", - "external/sources/boost/boost/move/detail/std_ns_begin.hpp", - "external/sources/boost/boost/move/detail/std_ns_end.hpp", - "external/sources/boost/boost/move/detail/to_raw_pointer.hpp", - "external/sources/boost/boost/move/detail/type_traits.hpp", - "external/sources/boost/boost/move/detail/unique_ptr_meta_utils.hpp", - "external/sources/boost/boost/move/detail/workaround.hpp", - "external/sources/boost/boost/move/iterator.hpp", - "external/sources/boost/boost/move/make_unique.hpp", - "external/sources/boost/boost/move/move.hpp", - "external/sources/boost/boost/move/traits.hpp", - "external/sources/boost/boost/move/unique_ptr.hpp", - "external/sources/boost/boost/move/utility.hpp", - "external/sources/boost/boost/move/utility_core.hpp", - "external/sources/boost/boost/mp11.hpp", - "external/sources/boost/boost/mp11/algorithm.hpp", - "external/sources/boost/boost/mp11/bind.hpp", - "external/sources/boost/boost/mp11/detail/config.hpp", - "external/sources/boost/boost/mp11/detail/mp_append.hpp", - "external/sources/boost/boost/mp11/detail/mp_copy_if.hpp", - "external/sources/boost/boost/mp11/detail/mp_count.hpp", - "external/sources/boost/boost/mp11/detail/mp_fold.hpp", - "external/sources/boost/boost/mp11/detail/mp_is_list.hpp", - "external/sources/boost/boost/mp11/detail/mp_list.hpp", - "external/sources/boost/boost/mp11/detail/mp_map_find.hpp", - "external/sources/boost/boost/mp11/detail/mp_min_element.hpp", - "external/sources/boost/boost/mp11/detail/mp_plus.hpp", - "external/sources/boost/boost/mp11/detail/mp_remove_if.hpp", - "external/sources/boost/boost/mp11/detail/mp_void.hpp", - "external/sources/boost/boost/mp11/detail/mp_with_index.hpp", - "external/sources/boost/boost/mp11/detail/mpl_common.hpp", - "external/sources/boost/boost/mp11/function.hpp", - "external/sources/boost/boost/mp11/integer_sequence.hpp", - "external/sources/boost/boost/mp11/integral.hpp", - "external/sources/boost/boost/mp11/list.hpp", - "external/sources/boost/boost/mp11/map.hpp", - "external/sources/boost/boost/mp11/mpl.hpp", - "external/sources/boost/boost/mp11/mpl_list.hpp", - "external/sources/boost/boost/mp11/mpl_tuple.hpp", - "external/sources/boost/boost/mp11/set.hpp", - "external/sources/boost/boost/mp11/tuple.hpp", - "external/sources/boost/boost/mp11/utility.hpp", - "external/sources/boost/boost/mp11/version.hpp", - "external/sources/boost/boost/mpi.hpp", - "external/sources/boost/boost/mpi/allocator.hpp", - "external/sources/boost/boost/mpi/cartesian_communicator.hpp", - "external/sources/boost/boost/mpi/collectives.hpp", - "external/sources/boost/boost/mpi/collectives/all_gather.hpp", - "external/sources/boost/boost/mpi/collectives/all_gatherv.hpp", - "external/sources/boost/boost/mpi/collectives/all_reduce.hpp", - "external/sources/boost/boost/mpi/collectives/all_to_all.hpp", - "external/sources/boost/boost/mpi/collectives/broadcast.hpp", - "external/sources/boost/boost/mpi/collectives/gather.hpp", - "external/sources/boost/boost/mpi/collectives/gatherv.hpp", - "external/sources/boost/boost/mpi/collectives/reduce.hpp", - "external/sources/boost/boost/mpi/collectives/scan.hpp", - "external/sources/boost/boost/mpi/collectives/scatter.hpp", - "external/sources/boost/boost/mpi/collectives/scatterv.hpp", - "external/sources/boost/boost/mpi/collectives_fwd.hpp", - "external/sources/boost/boost/mpi/communicator.hpp", - "external/sources/boost/boost/mpi/config.hpp", - "external/sources/boost/boost/mpi/datatype.hpp", - "external/sources/boost/boost/mpi/datatype_fwd.hpp", - "external/sources/boost/boost/mpi/detail/antiques.hpp", - "external/sources/boost/boost/mpi/detail/binary_buffer_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/binary_buffer_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/broadcast_sc.hpp", - "external/sources/boost/boost/mpi/detail/communicator_sc.hpp", - "external/sources/boost/boost/mpi/detail/computation_tree.hpp", - "external/sources/boost/boost/mpi/detail/content_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/forward_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/forward_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/forward_skeleton_iarchive.hpp", - "external/sources/boost/boost/mpi/detail/forward_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_cache.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_primitive.hpp", - "external/sources/boost/boost/mpi/detail/offsets.hpp", - "external/sources/boost/boost/mpi/detail/packed_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/packed_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/point_to_point.hpp", - "external/sources/boost/boost/mpi/detail/request_handlers.hpp", - "external/sources/boost/boost/mpi/detail/text_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/environment.hpp", - "external/sources/boost/boost/mpi/error_string.hpp", - "external/sources/boost/boost/mpi/exception.hpp", - "external/sources/boost/boost/mpi/graph_communicator.hpp", - "external/sources/boost/boost/mpi/group.hpp", - "external/sources/boost/boost/mpi/inplace.hpp", - "external/sources/boost/boost/mpi/intercommunicator.hpp", - "external/sources/boost/boost/mpi/nonblocking.hpp", - "external/sources/boost/boost/mpi/operations.hpp", - "external/sources/boost/boost/mpi/packed_iarchive.hpp", - "external/sources/boost/boost/mpi/packed_oarchive.hpp", - "external/sources/boost/boost/mpi/python.hpp", - "external/sources/boost/boost/mpi/python/config.hpp", - "external/sources/boost/boost/mpi/python/serialize.hpp", - "external/sources/boost/boost/mpi/python/skeleton_and_content.hpp", - "external/sources/boost/boost/mpi/request.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content_fwd.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content_types.hpp", - "external/sources/boost/boost/mpi/status.hpp", - "external/sources/boost/boost/mpi/timer.hpp", - "external/sources/boost/boost/mpl/O1_size.hpp", - "external/sources/boost/boost/mpl/O1_size_fwd.hpp", - "external/sources/boost/boost/mpl/accumulate.hpp", - "external/sources/boost/boost/mpl/advance.hpp", - "external/sources/boost/boost/mpl/advance_fwd.hpp", - "external/sources/boost/boost/mpl/alias.hpp", - "external/sources/boost/boost/mpl/always.hpp", - "external/sources/boost/boost/mpl/and.hpp", - "external/sources/boost/boost/mpl/apply.hpp", - "external/sources/boost/boost/mpl/apply_fwd.hpp", - "external/sources/boost/boost/mpl/apply_wrap.hpp", - "external/sources/boost/boost/mpl/arg.hpp", - "external/sources/boost/boost/mpl/arg_fwd.hpp", - "external/sources/boost/boost/mpl/arithmetic.hpp", - "external/sources/boost/boost/mpl/as_sequence.hpp", - "external/sources/boost/boost/mpl/assert.hpp", - "external/sources/boost/boost/mpl/at.hpp", - "external/sources/boost/boost/mpl/at_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/O1_size_impl.hpp", - "external/sources/boost/boost/mpl/aux_/adl_barrier.hpp", - "external/sources/boost/boost/mpl/aux_/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/apply_1st.hpp", - "external/sources/boost/boost/mpl/aux_/arg_typedef.hpp", - "external/sources/boost/boost/mpl/aux_/arithmetic_op.hpp", - "external/sources/boost/boost/mpl/aux_/arity.hpp", - "external/sources/boost/boost/mpl/aux_/arity_spec.hpp", - "external/sources/boost/boost/mpl/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/aux_/back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/aux_/common_name_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/comparison_op.hpp", - "external/sources/boost/boost/mpl/aux_/config/adl.hpp", - "external/sources/boost/boost/mpl/aux_/config/arrays.hpp", - "external/sources/boost/boost/mpl/aux_/config/bcc.hpp", - "external/sources/boost/boost/mpl/aux_/config/bind.hpp", - "external/sources/boost/boost/mpl/aux_/config/compiler.hpp", - "external/sources/boost/boost/mpl/aux_/config/ctps.hpp", - "external/sources/boost/boost/mpl/aux_/config/dependent_nttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/dmc_ambiguous_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/config/dtp.hpp", - "external/sources/boost/boost/mpl/aux_/config/eti.hpp", - "external/sources/boost/boost/mpl/aux_/config/forwarding.hpp", - "external/sources/boost/boost/mpl/aux_/config/gcc.hpp", - "external/sources/boost/boost/mpl/aux_/config/gpu.hpp", - "external/sources/boost/boost/mpl/aux_/config/has_apply.hpp", - "external/sources/boost/boost/mpl/aux_/config/has_xxx.hpp", - "external/sources/boost/boost/mpl/aux_/config/integral.hpp", - "external/sources/boost/boost/mpl/aux_/config/intel.hpp", - "external/sources/boost/boost/mpl/aux_/config/lambda.hpp", - "external/sources/boost/boost/mpl/aux_/config/msvc.hpp", - "external/sources/boost/boost/mpl/aux_/config/msvc_typename.hpp", - "external/sources/boost/boost/mpl/aux_/config/nttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/operators.hpp", - "external/sources/boost/boost/mpl/aux_/config/overload_resolution.hpp", - "external/sources/boost/boost/mpl/aux_/config/pp_counter.hpp", - "external/sources/boost/boost/mpl/aux_/config/preprocessor.hpp", - "external/sources/boost/boost/mpl/aux_/config/static_constant.hpp", - "external/sources/boost/boost/mpl/aux_/config/ttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/typeof.hpp", - "external/sources/boost/boost/mpl/aux_/config/use_preprocessed.hpp", - "external/sources/boost/boost/mpl/aux_/config/workaround.hpp", - "external/sources/boost/boost/mpl/aux_/contains_impl.hpp", - "external/sources/boost/boost/mpl/aux_/count_args.hpp", - "external/sources/boost/boost/mpl/aux_/count_impl.hpp", - "external/sources/boost/boost/mpl/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/aux_/filter_iter.hpp", - "external/sources/boost/boost/mpl/aux_/find_if_pred.hpp", - "external/sources/boost/boost/mpl/aux_/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/fold_impl_body.hpp", - "external/sources/boost/boost/mpl/aux_/fold_op.hpp", - "external/sources/boost/boost/mpl/aux_/fold_pred.hpp", - "external/sources/boost/boost/mpl/aux_/front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/has_apply.hpp", - "external/sources/boost/boost/mpl/aux_/has_begin.hpp", - "external/sources/boost/boost/mpl/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/aux_/has_rebind.hpp", - "external/sources/boost/boost/mpl/aux_/has_size.hpp", - "external/sources/boost/boost/mpl/aux_/has_tag.hpp", - "external/sources/boost/boost/mpl/aux_/has_type.hpp", - "external/sources/boost/boost/mpl/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/aux_/inserter_algorithm.hpp", - "external/sources/boost/boost/mpl/aux_/integral_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/is_msvc_eti_arg.hpp", - "external/sources/boost/boost/mpl/aux_/iter_apply.hpp", - "external/sources/boost/boost/mpl/aux_/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/iter_push_front.hpp", - "external/sources/boost/boost/mpl/aux_/joint_iter.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_arity_param.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_spec.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_support.hpp", - "external/sources/boost/boost/mpl/aux_/largest_int.hpp", - "external/sources/boost/boost/mpl/aux_/logical_op.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_dtw.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_eti_base.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_is_class.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_never_true.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_type.hpp", - "external/sources/boost/boost/mpl/aux_/na.hpp", - "external/sources/boost/boost/mpl/aux_/na_assert.hpp", - "external/sources/boost/boost/mpl/aux_/na_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/na_spec.hpp", - "external/sources/boost/boost/mpl/aux_/nested_type_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/nttp_decl.hpp", - "external/sources/boost/boost/mpl/aux_/numeric_cast_utils.hpp", - "external/sources/boost/boost/mpl/aux_/numeric_op.hpp", - "external/sources/boost/boost/mpl/aux_/order_impl.hpp", - "external/sources/boost/boost/mpl/aux_/overload_names.hpp", - "external/sources/boost/boost/mpl/aux_/partition_op.hpp", - "external/sources/boost/boost/mpl/aux_/pop_back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/pop_front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/add.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/def_params_tail.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/default_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/enum.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/ext_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/filter_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/is_seq.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/partial_spec_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/range.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/repeat.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/sub.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/token_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/tuple.hpp", - "external/sources/boost/boost/mpl/aux_/ptr_to_ref.hpp", - "external/sources/boost/boost/mpl/aux_/push_back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/push_front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/O1_size.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/back.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/empty.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/front.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/iterator.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/size.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/tag.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_fold_impl_body.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/sequence_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/shift_op.hpp", - "external/sources/boost/boost/mpl/aux_/single_element_iter.hpp", - "external/sources/boost/boost/mpl/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/aux_/sort_impl.hpp", - "external/sources/boost/boost/mpl/aux_/static_cast.hpp", - "external/sources/boost/boost/mpl/aux_/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/template_arity_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/test.hpp", - "external/sources/boost/boost/mpl/aux_/test/assert.hpp", - "external/sources/boost/boost/mpl/aux_/test/data.hpp", - "external/sources/boost/boost/mpl/aux_/test/test_case.hpp", - "external/sources/boost/boost/mpl/aux_/traits_lambda_spec.hpp", - "external/sources/boost/boost/mpl/aux_/transform_iter.hpp", - "external/sources/boost/boost/mpl/aux_/type_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/unwrap.hpp", - "external/sources/boost/boost/mpl/aux_/value_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/yes_no.hpp", - "external/sources/boost/boost/mpl/back.hpp", - "external/sources/boost/boost/mpl/back_fwd.hpp", - "external/sources/boost/boost/mpl/back_inserter.hpp", - "external/sources/boost/boost/mpl/base.hpp", - "external/sources/boost/boost/mpl/begin.hpp", - "external/sources/boost/boost/mpl/begin_end.hpp", - "external/sources/boost/boost/mpl/begin_end_fwd.hpp", - "external/sources/boost/boost/mpl/bind.hpp", - "external/sources/boost/boost/mpl/bind_fwd.hpp", - "external/sources/boost/boost/mpl/bitand.hpp", - "external/sources/boost/boost/mpl/bitor.hpp", - "external/sources/boost/boost/mpl/bitwise.hpp", - "external/sources/boost/boost/mpl/bitxor.hpp", - "external/sources/boost/boost/mpl/bool.hpp", - "external/sources/boost/boost/mpl/bool_fwd.hpp", - "external/sources/boost/boost/mpl/char.hpp", - "external/sources/boost/boost/mpl/char_fwd.hpp", - "external/sources/boost/boost/mpl/clear.hpp", - "external/sources/boost/boost/mpl/clear_fwd.hpp", - "external/sources/boost/boost/mpl/comparison.hpp", - "external/sources/boost/boost/mpl/contains.hpp", - "external/sources/boost/boost/mpl/contains_fwd.hpp", - "external/sources/boost/boost/mpl/copy.hpp", - "external/sources/boost/boost/mpl/copy_if.hpp", - "external/sources/boost/boost/mpl/count.hpp", - "external/sources/boost/boost/mpl/count_fwd.hpp", - "external/sources/boost/boost/mpl/count_if.hpp", - "external/sources/boost/boost/mpl/deque.hpp", - "external/sources/boost/boost/mpl/deref.hpp", - "external/sources/boost/boost/mpl/distance.hpp", - "external/sources/boost/boost/mpl/distance_fwd.hpp", - "external/sources/boost/boost/mpl/divides.hpp", - "external/sources/boost/boost/mpl/empty.hpp", - "external/sources/boost/boost/mpl/empty_base.hpp", - "external/sources/boost/boost/mpl/empty_fwd.hpp", - "external/sources/boost/boost/mpl/empty_sequence.hpp", - "external/sources/boost/boost/mpl/end.hpp", - "external/sources/boost/boost/mpl/equal.hpp", - "external/sources/boost/boost/mpl/equal_to.hpp", - "external/sources/boost/boost/mpl/erase.hpp", - "external/sources/boost/boost/mpl/erase_fwd.hpp", - "external/sources/boost/boost/mpl/erase_key.hpp", - "external/sources/boost/boost/mpl/erase_key_fwd.hpp", - "external/sources/boost/boost/mpl/eval_if.hpp", - "external/sources/boost/boost/mpl/filter_view.hpp", - "external/sources/boost/boost/mpl/find.hpp", - "external/sources/boost/boost/mpl/find_if.hpp", - "external/sources/boost/boost/mpl/fold.hpp", - "external/sources/boost/boost/mpl/for_each.hpp", - "external/sources/boost/boost/mpl/front.hpp", - "external/sources/boost/boost/mpl/front_fwd.hpp", - "external/sources/boost/boost/mpl/front_inserter.hpp", - "external/sources/boost/boost/mpl/get_tag.hpp", - "external/sources/boost/boost/mpl/greater.hpp", - "external/sources/boost/boost/mpl/greater_equal.hpp", - "external/sources/boost/boost/mpl/has_key.hpp", - "external/sources/boost/boost/mpl/has_key_fwd.hpp", - "external/sources/boost/boost/mpl/has_xxx.hpp", - "external/sources/boost/boost/mpl/identity.hpp", - "external/sources/boost/boost/mpl/if.hpp", - "external/sources/boost/boost/mpl/index_if.hpp", - "external/sources/boost/boost/mpl/index_of.hpp", - "external/sources/boost/boost/mpl/inherit.hpp", - "external/sources/boost/boost/mpl/inherit_linearly.hpp", - "external/sources/boost/boost/mpl/insert.hpp", - "external/sources/boost/boost/mpl/insert_fwd.hpp", - "external/sources/boost/boost/mpl/insert_range.hpp", - "external/sources/boost/boost/mpl/insert_range_fwd.hpp", - "external/sources/boost/boost/mpl/inserter.hpp", - "external/sources/boost/boost/mpl/int.hpp", - "external/sources/boost/boost/mpl/int_fwd.hpp", - "external/sources/boost/boost/mpl/integral_c.hpp", - "external/sources/boost/boost/mpl/integral_c_fwd.hpp", - "external/sources/boost/boost/mpl/integral_c_tag.hpp", - "external/sources/boost/boost/mpl/is_placeholder.hpp", - "external/sources/boost/boost/mpl/is_sequence.hpp", - "external/sources/boost/boost/mpl/iter_fold.hpp", - "external/sources/boost/boost/mpl/iter_fold_if.hpp", - "external/sources/boost/boost/mpl/iterator_category.hpp", - "external/sources/boost/boost/mpl/iterator_range.hpp", - "external/sources/boost/boost/mpl/iterator_tags.hpp", - "external/sources/boost/boost/mpl/joint_view.hpp", - "external/sources/boost/boost/mpl/key_type.hpp", - "external/sources/boost/boost/mpl/key_type_fwd.hpp", - "external/sources/boost/boost/mpl/lambda.hpp", - "external/sources/boost/boost/mpl/lambda_fwd.hpp", - "external/sources/boost/boost/mpl/less.hpp", - "external/sources/boost/boost/mpl/less_equal.hpp", - "external/sources/boost/boost/mpl/limits/arity.hpp", - "external/sources/boost/boost/mpl/limits/list.hpp", - "external/sources/boost/boost/mpl/limits/map.hpp", - "external/sources/boost/boost/mpl/limits/set.hpp", - "external/sources/boost/boost/mpl/limits/string.hpp", - "external/sources/boost/boost/mpl/limits/unrolling.hpp", - "external/sources/boost/boost/mpl/limits/vector.hpp", - "external/sources/boost/boost/mpl/list.hpp", - "external/sources/boost/boost/mpl/list/aux_/O1_size.hpp", - "external/sources/boost/boost/mpl/list/aux_/begin_end.hpp", - "external/sources/boost/boost/mpl/list/aux_/clear.hpp", - "external/sources/boost/boost/mpl/list/aux_/empty.hpp", - "external/sources/boost/boost/mpl/list/aux_/front.hpp", - "external/sources/boost/boost/mpl/list/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/list/aux_/item.hpp", - "external/sources/boost/boost/mpl/list/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/list/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/list/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/pop_front.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/push_back.hpp", - "external/sources/boost/boost/mpl/list/aux_/push_front.hpp", - "external/sources/boost/boost/mpl/list/aux_/size.hpp", - "external/sources/boost/boost/mpl/list/aux_/tag.hpp", - "external/sources/boost/boost/mpl/list/list0.hpp", - "external/sources/boost/boost/mpl/list/list0_c.hpp", - "external/sources/boost/boost/mpl/list/list10.hpp", - "external/sources/boost/boost/mpl/list/list10_c.hpp", - "external/sources/boost/boost/mpl/list/list20.hpp", - "external/sources/boost/boost/mpl/list/list20_c.hpp", - "external/sources/boost/boost/mpl/list/list30.hpp", - "external/sources/boost/boost/mpl/list/list30_c.hpp", - "external/sources/boost/boost/mpl/list/list40.hpp", - "external/sources/boost/boost/mpl/list/list40_c.hpp", - "external/sources/boost/boost/mpl/list/list50.hpp", - "external/sources/boost/boost/mpl/list/list50_c.hpp", - "external/sources/boost/boost/mpl/list_c.hpp", - "external/sources/boost/boost/mpl/logical.hpp", - "external/sources/boost/boost/mpl/long.hpp", - "external/sources/boost/boost/mpl/long_fwd.hpp", - "external/sources/boost/boost/mpl/lower_bound.hpp", - "external/sources/boost/boost/mpl/map.hpp", - "external/sources/boost/boost/mpl/map/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/contains_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/map/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/item.hpp", - "external/sources/boost/boost/mpl/map/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/map/aux_/key_type_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/map0.hpp", - "external/sources/boost/boost/mpl/map/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/tag.hpp", - "external/sources/boost/boost/mpl/map/aux_/value_type_impl.hpp", - "external/sources/boost/boost/mpl/map/map0.hpp", - "external/sources/boost/boost/mpl/map/map10.hpp", - "external/sources/boost/boost/mpl/map/map20.hpp", - "external/sources/boost/boost/mpl/map/map30.hpp", - "external/sources/boost/boost/mpl/map/map40.hpp", - "external/sources/boost/boost/mpl/map/map50.hpp", - "external/sources/boost/boost/mpl/math/fixed_c.hpp", - "external/sources/boost/boost/mpl/math/is_even.hpp", - "external/sources/boost/boost/mpl/math/rational_c.hpp", - "external/sources/boost/boost/mpl/max.hpp", - "external/sources/boost/boost/mpl/max_element.hpp", - "external/sources/boost/boost/mpl/min.hpp", - "external/sources/boost/boost/mpl/min_element.hpp", - "external/sources/boost/boost/mpl/min_max.hpp", - "external/sources/boost/boost/mpl/minus.hpp", - "external/sources/boost/boost/mpl/modulus.hpp", - "external/sources/boost/boost/mpl/multiplies.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/count_impl.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/item.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/multiset0.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/tag.hpp", - "external/sources/boost/boost/mpl/multiset/multiset0.hpp", - "external/sources/boost/boost/mpl/negate.hpp", - "external/sources/boost/boost/mpl/next.hpp", - "external/sources/boost/boost/mpl/next_prior.hpp", - "external/sources/boost/boost/mpl/not.hpp", - "external/sources/boost/boost/mpl/not_equal_to.hpp", - "external/sources/boost/boost/mpl/numeric_cast.hpp", - "external/sources/boost/boost/mpl/or.hpp", - "external/sources/boost/boost/mpl/order.hpp", - "external/sources/boost/boost/mpl/order_fwd.hpp", - "external/sources/boost/boost/mpl/pair.hpp", - "external/sources/boost/boost/mpl/pair_view.hpp", - "external/sources/boost/boost/mpl/partition.hpp", - "external/sources/boost/boost/mpl/placeholders.hpp", - "external/sources/boost/boost/mpl/plus.hpp", - "external/sources/boost/boost/mpl/pop_back.hpp", - "external/sources/boost/boost/mpl/pop_back_fwd.hpp", - "external/sources/boost/boost/mpl/pop_front.hpp", - "external/sources/boost/boost/mpl/pop_front_fwd.hpp", - "external/sources/boost/boost/mpl/print.hpp", - "external/sources/boost/boost/mpl/prior.hpp", - "external/sources/boost/boost/mpl/protect.hpp", - "external/sources/boost/boost/mpl/push_back.hpp", - "external/sources/boost/boost/mpl/push_back_fwd.hpp", - "external/sources/boost/boost/mpl/push_front.hpp", - "external/sources/boost/boost/mpl/push_front_fwd.hpp", - "external/sources/boost/boost/mpl/quote.hpp", - "external/sources/boost/boost/mpl/range_c.hpp", - "external/sources/boost/boost/mpl/remove.hpp", - "external/sources/boost/boost/mpl/remove_if.hpp", - "external/sources/boost/boost/mpl/replace.hpp", - "external/sources/boost/boost/mpl/replace_if.hpp", - "external/sources/boost/boost/mpl/reverse.hpp", - "external/sources/boost/boost/mpl/reverse_fold.hpp", - "external/sources/boost/boost/mpl/reverse_iter_fold.hpp", - "external/sources/boost/boost/mpl/same_as.hpp", - "external/sources/boost/boost/mpl/sequence_tag.hpp", - "external/sources/boost/boost/mpl/sequence_tag_fwd.hpp", - "external/sources/boost/boost/mpl/set.hpp", - "external/sources/boost/boost/mpl/set/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/set/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/item.hpp", - "external/sources/boost/boost/mpl/set/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/set/aux_/key_type_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/set/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/set0.hpp", - "external/sources/boost/boost/mpl/set/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/tag.hpp", - "external/sources/boost/boost/mpl/set/aux_/value_type_impl.hpp", - "external/sources/boost/boost/mpl/set/set0.hpp", - "external/sources/boost/boost/mpl/set/set0_c.hpp", - "external/sources/boost/boost/mpl/set/set10.hpp", - "external/sources/boost/boost/mpl/set/set10_c.hpp", - "external/sources/boost/boost/mpl/set/set20.hpp", - "external/sources/boost/boost/mpl/set/set20_c.hpp", - "external/sources/boost/boost/mpl/set/set30.hpp", - "external/sources/boost/boost/mpl/set/set30_c.hpp", - "external/sources/boost/boost/mpl/set/set40.hpp", - "external/sources/boost/boost/mpl/set/set40_c.hpp", - "external/sources/boost/boost/mpl/set/set50.hpp", - "external/sources/boost/boost/mpl/set/set50_c.hpp", - "external/sources/boost/boost/mpl/set_c.hpp", - "external/sources/boost/boost/mpl/shift_left.hpp", - "external/sources/boost/boost/mpl/shift_right.hpp", - "external/sources/boost/boost/mpl/single_view.hpp", - "external/sources/boost/boost/mpl/size.hpp", - "external/sources/boost/boost/mpl/size_fwd.hpp", - "external/sources/boost/boost/mpl/size_t.hpp", - "external/sources/boost/boost/mpl/size_t_fwd.hpp", - "external/sources/boost/boost/mpl/sizeof.hpp", - "external/sources/boost/boost/mpl/sort.hpp", - "external/sources/boost/boost/mpl/stable_partition.hpp", - "external/sources/boost/boost/mpl/string.hpp", - "external/sources/boost/boost/mpl/switch.hpp", - "external/sources/boost/boost/mpl/tag.hpp", - "external/sources/boost/boost/mpl/times.hpp", - "external/sources/boost/boost/mpl/transform.hpp", - "external/sources/boost/boost/mpl/transform_view.hpp", - "external/sources/boost/boost/mpl/unique.hpp", - "external/sources/boost/boost/mpl/unpack_args.hpp", - "external/sources/boost/boost/mpl/upper_bound.hpp", - "external/sources/boost/boost/mpl/value_type.hpp", - "external/sources/boost/boost/mpl/value_type_fwd.hpp", - "external/sources/boost/boost/mpl/vector.hpp", - "external/sources/boost/boost/mpl/vector/aux_/O1_size.hpp", - "external/sources/boost/boost/mpl/vector/aux_/at.hpp", - "external/sources/boost/boost/mpl/vector/aux_/back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/begin_end.hpp", - "external/sources/boost/boost/mpl/vector/aux_/clear.hpp", - "external/sources/boost/boost/mpl/vector/aux_/empty.hpp", - "external/sources/boost/boost/mpl/vector/aux_/front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/vector/aux_/item.hpp", - "external/sources/boost/boost/mpl/vector/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/vector/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/vector/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/pop_back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/pop_front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/push_back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/push_front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/size.hpp", - "external/sources/boost/boost/mpl/vector/aux_/tag.hpp", - "external/sources/boost/boost/mpl/vector/aux_/vector0.hpp", - "external/sources/boost/boost/mpl/vector/vector0.hpp", - "external/sources/boost/boost/mpl/vector/vector0_c.hpp", - "external/sources/boost/boost/mpl/vector/vector10.hpp", - "external/sources/boost/boost/mpl/vector/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/vector20.hpp", - "external/sources/boost/boost/mpl/vector/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/vector30.hpp", - "external/sources/boost/boost/mpl/vector/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/vector40.hpp", - "external/sources/boost/boost/mpl/vector/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/vector50.hpp", - "external/sources/boost/boost/mpl/vector/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector_c.hpp", - "external/sources/boost/boost/mpl/void.hpp", - "external/sources/boost/boost/mpl/void_fwd.hpp", - "external/sources/boost/boost/mpl/zip_view.hpp", - "external/sources/boost/boost/msm/active_state_switching_policies.hpp", - "external/sources/boost/boost/msm/back/args.hpp", - "external/sources/boost/boost/msm/back/bind_helpers.hpp", - "external/sources/boost/boost/msm/back/common_types.hpp", - "external/sources/boost/boost/msm/back/copy_policies.hpp", - "external/sources/boost/boost/msm/back/default_compile_policy.hpp", - "external/sources/boost/boost/msm/back/dispatch_table.hpp", - "external/sources/boost/boost/msm/back/favor_compile_time.hpp", - "external/sources/boost/boost/msm/back/fold_to_list.hpp", - "external/sources/boost/boost/msm/back/history_policies.hpp", - "external/sources/boost/boost/msm/back/metafunctions.hpp", - "external/sources/boost/boost/msm/back/mpl_graph_fsm_check.hpp", - "external/sources/boost/boost/msm/back/no_fsm_check.hpp", - "external/sources/boost/boost/msm/back/queue_container_circular.hpp", - "external/sources/boost/boost/msm/back/queue_container_deque.hpp", - "external/sources/boost/boost/msm/back/state_machine.hpp", - "external/sources/boost/boost/msm/back/tools.hpp", - "external/sources/boost/boost/msm/common.hpp", - "external/sources/boost/boost/msm/event_traits.hpp", - "external/sources/boost/boost/msm/front/common_states.hpp", - "external/sources/boost/boost/msm/front/completion_event.hpp", - "external/sources/boost/boost/msm/front/detail/common_states.hpp", - "external/sources/boost/boost/msm/front/detail/row2_helper.hpp", - "external/sources/boost/boost/msm/front/euml/algorithm.hpp", - "external/sources/boost/boost/msm/front/euml/common.hpp", - "external/sources/boost/boost/msm/front/euml/container.hpp", - "external/sources/boost/boost/msm/front/euml/euml.hpp", - "external/sources/boost/boost/msm/front/euml/euml_typeof.hpp", - "external/sources/boost/boost/msm/front/euml/guard_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/iteration.hpp", - "external/sources/boost/boost/msm/front/euml/operator.hpp", - "external/sources/boost/boost/msm/front/euml/phoenix_placeholders.hpp", - "external/sources/boost/boost/msm/front/euml/querying.hpp", - "external/sources/boost/boost/msm/front/euml/state_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/stl.hpp", - "external/sources/boost/boost/msm/front/euml/stt_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/transformation.hpp", - "external/sources/boost/boost/msm/front/functor_row.hpp", - "external/sources/boost/boost/msm/front/internal_row.hpp", - "external/sources/boost/boost/msm/front/row2.hpp", - "external/sources/boost/boost/msm/front/state_machine_def.hpp", - "external/sources/boost/boost/msm/front/states.hpp", - "external/sources/boost/boost/msm/mpl_graph/adjacency_list_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/breadth_first_search.hpp", - "external/sources/boost/boost/msm/mpl_graph/depth_first_search.hpp", - "external/sources/boost/boost/msm/mpl_graph/detail/adjacency_list_graph.ipp", - "external/sources/boost/boost/msm/mpl_graph/detail/graph_implementation_interface.ipp", - "external/sources/boost/boost/msm/mpl_graph/detail/incidence_list_graph.ipp", - "external/sources/boost/boost/msm/mpl_graph/incidence_list_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/mpl_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/mpl_utils.hpp", - "external/sources/boost/boost/msm/mpl_graph/search_colors.hpp", - "external/sources/boost/boost/msm/msm_grammar.hpp", - "external/sources/boost/boost/msm/proto_config.hpp", - "external/sources/boost/boost/msm/row_tags.hpp", - "external/sources/boost/boost/multi_array.hpp", - "external/sources/boost/boost/multi_array/algorithm.hpp", - "external/sources/boost/boost/multi_array/base.hpp", - "external/sources/boost/boost/multi_array/collection_concept.hpp", - "external/sources/boost/boost/multi_array/concept_checks.hpp", - "external/sources/boost/boost/multi_array/copy_array.hpp", - "external/sources/boost/boost/multi_array/extent_gen.hpp", - "external/sources/boost/boost/multi_array/extent_range.hpp", - "external/sources/boost/boost/multi_array/index_gen.hpp", - "external/sources/boost/boost/multi_array/index_range.hpp", - "external/sources/boost/boost/multi_array/iterator.hpp", - "external/sources/boost/boost/multi_array/multi_array_ref.hpp", - "external/sources/boost/boost/multi_array/range_list.hpp", - "external/sources/boost/boost/multi_array/storage_order.hpp", - "external/sources/boost/boost/multi_array/subarray.hpp", - "external/sources/boost/boost/multi_array/types.hpp", - "external/sources/boost/boost/multi_array/view.hpp", - "external/sources/boost/boost/multi_index/composite_key.hpp", - "external/sources/boost/boost/multi_index/detail/access_specifier.hpp", - "external/sources/boost/boost/multi_index/detail/adl_swap.hpp", - "external/sources/boost/boost/multi_index/detail/allocator_traits.hpp", - "external/sources/boost/boost/multi_index/detail/archive_constructed.hpp", - "external/sources/boost/boost/multi_index/detail/auto_space.hpp", - "external/sources/boost/boost/multi_index/detail/base_type.hpp", - "external/sources/boost/boost/multi_index/detail/bidir_node_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/bucket_array.hpp", - "external/sources/boost/boost/multi_index/detail/cons_stdtuple.hpp", - "external/sources/boost/boost/multi_index/detail/converter.hpp", - "external/sources/boost/boost/multi_index/detail/copy_map.hpp", - "external/sources/boost/boost/multi_index/detail/define_if_constexpr_macro.hpp", - "external/sources/boost/boost/multi_index/detail/do_not_copy_elements_tag.hpp", - "external/sources/boost/boost/multi_index/detail/duplicates_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/has_tag.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_args.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/header_holder.hpp", - "external/sources/boost/boost/multi_index/detail/ignore_wstrict_aliasing.hpp", - "external/sources/boost/boost/multi_index/detail/index_base.hpp", - "external/sources/boost/boost/multi_index/detail/index_loader.hpp", - "external/sources/boost/boost/multi_index/detail/index_matcher.hpp", - "external/sources/boost/boost/multi_index/detail/index_node_base.hpp", - "external/sources/boost/boost/multi_index/detail/index_saver.hpp", - "external/sources/boost/boost/multi_index/detail/invariant_assert.hpp", - "external/sources/boost/boost/multi_index/detail/is_function.hpp", - "external/sources/boost/boost/multi_index/detail/is_index_list.hpp", - "external/sources/boost/boost/multi_index/detail/is_transparent.hpp", - "external/sources/boost/boost/multi_index/detail/iter_adaptor.hpp", - "external/sources/boost/boost/multi_index/detail/modify_key_adaptor.hpp", - "external/sources/boost/boost/multi_index/detail/no_duplicate_tags.hpp", - "external/sources/boost/boost/multi_index/detail/node_handle.hpp", - "external/sources/boost/boost/multi_index/detail/node_type.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_args.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_impl.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_impl_fwd.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/promotes_arg.hpp", - "external/sources/boost/boost/multi_index/detail/raw_ptr.hpp", - "external/sources/boost/boost/multi_index/detail/restore_wstrict_aliasing.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_loader.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_ptr_array.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_node_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/rnk_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/safe_mode.hpp", - "external/sources/boost/boost/multi_index/detail/scope_guard.hpp", - "external/sources/boost/boost/multi_index/detail/seq_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/seq_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/serialization_version.hpp", - "external/sources/boost/boost/multi_index/detail/uintptr_type.hpp", - "external/sources/boost/boost/multi_index/detail/unbounded.hpp", - "external/sources/boost/boost/multi_index/detail/undef_if_constexpr_macro.hpp", - "external/sources/boost/boost/multi_index/detail/value_compare.hpp", - "external/sources/boost/boost/multi_index/detail/vartempl_support.hpp", - "external/sources/boost/boost/multi_index/global_fun.hpp", - "external/sources/boost/boost/multi_index/hashed_index.hpp", - "external/sources/boost/boost/multi_index/hashed_index_fwd.hpp", - "external/sources/boost/boost/multi_index/identity.hpp", - "external/sources/boost/boost/multi_index/identity_fwd.hpp", - "external/sources/boost/boost/multi_index/indexed_by.hpp", - "external/sources/boost/boost/multi_index/key.hpp", - "external/sources/boost/boost/multi_index/key_extractors.hpp", - "external/sources/boost/boost/multi_index/mem_fun.hpp", - "external/sources/boost/boost/multi_index/member.hpp", - "external/sources/boost/boost/multi_index/ordered_index.hpp", - "external/sources/boost/boost/multi_index/ordered_index_fwd.hpp", - "external/sources/boost/boost/multi_index/random_access_index.hpp", - "external/sources/boost/boost/multi_index/random_access_index_fwd.hpp", - "external/sources/boost/boost/multi_index/ranked_index.hpp", - "external/sources/boost/boost/multi_index/ranked_index_fwd.hpp", - "external/sources/boost/boost/multi_index/safe_mode_errors.hpp", - "external/sources/boost/boost/multi_index/sequenced_index.hpp", - "external/sources/boost/boost/multi_index/sequenced_index_fwd.hpp", - "external/sources/boost/boost/multi_index/tag.hpp", - "external/sources/boost/boost/multi_index_container.hpp", - "external/sources/boost/boost/multi_index_container_fwd.hpp", - "external/sources/boost/boost/multiprecision/complex128.hpp", - "external/sources/boost/boost/multiprecision/complex_adaptor.hpp", - "external/sources/boost/boost/multiprecision/concepts/mp_number_archetypes.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float/io.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float/transcendental.hpp", - "external/sources/boost/boost/multiprecision/cpp_complex.hpp", - "external/sources/boost/boost/multiprecision/cpp_dec_float.hpp", - "external/sources/boost/boost/multiprecision/cpp_int.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/add.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/bitwise.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/checked.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/comparison.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/cpp_int_config.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/divide.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/import_export.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/limits.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/literals.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/misc.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/multiply.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/serialize.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/value_pack.hpp", - "external/sources/boost/boost/multiprecision/debug_adaptor.hpp", - "external/sources/boost/boost/multiprecision/detail/atomic.hpp", - "external/sources/boost/boost/multiprecision/detail/big_lanczos.hpp", - "external/sources/boost/boost/multiprecision/detail/bitscan.hpp", - "external/sources/boost/boost/multiprecision/detail/constexpr.hpp", - "external/sources/boost/boost/multiprecision/detail/default_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/digits.hpp", - "external/sources/boost/boost/multiprecision/detail/dynamic_array.hpp", - "external/sources/boost/boost/multiprecision/detail/et_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/float_string_cvt.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/constants.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/pow.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/trig.hpp", - "external/sources/boost/boost/multiprecision/detail/generic_interconvert.hpp", - "external/sources/boost/boost/multiprecision/detail/integer_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/itos.hpp", - "external/sources/boost/boost/multiprecision/detail/min_max.hpp", - "external/sources/boost/boost/multiprecision/detail/no_et_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/number_base.hpp", - "external/sources/boost/boost/multiprecision/detail/number_compare.hpp", - "external/sources/boost/boost/multiprecision/detail/precision.hpp", - "external/sources/boost/boost/multiprecision/detail/rebind.hpp", - "external/sources/boost/boost/multiprecision/detail/ublas_interop.hpp", - "external/sources/boost/boost/multiprecision/detail/utype_helper.hpp", - "external/sources/boost/boost/multiprecision/eigen.hpp", - "external/sources/boost/boost/multiprecision/float128.hpp", - "external/sources/boost/boost/multiprecision/gmp.hpp", - "external/sources/boost/boost/multiprecision/integer.hpp", - "external/sources/boost/boost/multiprecision/logged_adaptor.hpp", - "external/sources/boost/boost/multiprecision/miller_rabin.hpp", - "external/sources/boost/boost/multiprecision/mpc.hpp", - "external/sources/boost/boost/multiprecision/mpfi.hpp", - "external/sources/boost/boost/multiprecision/mpfr.hpp", - "external/sources/boost/boost/multiprecision/number.hpp", - "external/sources/boost/boost/multiprecision/random.hpp", - "external/sources/boost/boost/multiprecision/rational_adaptor.hpp", - "external/sources/boost/boost/multiprecision/tommath.hpp", - "external/sources/boost/boost/multiprecision/traits/explicit_conversion.hpp", - "external/sources/boost/boost/multiprecision/traits/extract_exponent_type.hpp", - "external/sources/boost/boost/multiprecision/traits/is_backend.hpp", - "external/sources/boost/boost/multiprecision/traits/is_byte_container.hpp", - "external/sources/boost/boost/multiprecision/traits/is_restricted_conversion.hpp", - "external/sources/boost/boost/multiprecision/traits/is_variable_precision.hpp", - "external/sources/boost/boost/next_prior.hpp", - "external/sources/boost/boost/non_type.hpp", - "external/sources/boost/boost/noncopyable.hpp", - "external/sources/boost/boost/nondet_random.hpp", - "external/sources/boost/boost/none.hpp", - "external/sources/boost/boost/none_t.hpp", - "external/sources/boost/boost/nowide/args.hpp", - "external/sources/boost/boost/nowide/config.hpp", - "external/sources/boost/boost/nowide/convert.hpp", - "external/sources/boost/boost/nowide/cstdio.hpp", - "external/sources/boost/boost/nowide/cstdlib.hpp", - "external/sources/boost/boost/nowide/detail/convert.hpp", - "external/sources/boost/boost/nowide/detail/utf.hpp", - "external/sources/boost/boost/nowide/filebuf.hpp", - "external/sources/boost/boost/nowide/filesystem.hpp", - "external/sources/boost/boost/nowide/fstream.hpp", - "external/sources/boost/boost/nowide/iostream.hpp", - "external/sources/boost/boost/nowide/replacement.hpp", - "external/sources/boost/boost/nowide/stackstring.hpp", - "external/sources/boost/boost/nowide/stat.hpp", - "external/sources/boost/boost/nowide/utf/convert.hpp", - "external/sources/boost/boost/nowide/utf/utf.hpp", - "external/sources/boost/boost/nowide/utf8_codecvt.hpp", - "external/sources/boost/boost/nowide/windows.hpp", - "external/sources/boost/boost/numeric/conversion/bounds.hpp", - "external/sources/boost/boost/numeric/conversion/cast.hpp", - "external/sources/boost/boost/numeric/conversion/conversion_traits.hpp", - "external/sources/boost/boost/numeric/conversion/converter.hpp", - "external/sources/boost/boost/numeric/conversion/converter_policies.hpp", - "external/sources/boost/boost/numeric/conversion/detail/bounds.hpp", - "external/sources/boost/boost/numeric/conversion/detail/conversion_traits.hpp", - "external/sources/boost/boost/numeric/conversion/detail/converter.hpp", - "external/sources/boost/boost/numeric/conversion/detail/int_float_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/detail/is_subranged.hpp", - "external/sources/boost/boost/numeric/conversion/detail/meta.hpp", - "external/sources/boost/boost/numeric/conversion/detail/numeric_cast_traits.hpp", - "external/sources/boost/boost/numeric/conversion/detail/old_numeric_cast.hpp", - "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp", - "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp", - "external/sources/boost/boost/numeric/conversion/detail/sign_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/int_float_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/int_float_mixture_enum.hpp", - "external/sources/boost/boost/numeric/conversion/is_subranged.hpp", - "external/sources/boost/boost/numeric/conversion/numeric_cast_traits.hpp", - "external/sources/boost/boost/numeric/conversion/sign_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/sign_mixture_enum.hpp", - "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture_enum.hpp", - "external/sources/boost/boost/numeric/interval.hpp", - "external/sources/boost/boost/numeric/interval/arith.hpp", - "external/sources/boost/boost/numeric/interval/arith2.hpp", - "external/sources/boost/boost/numeric/interval/arith3.hpp", - "external/sources/boost/boost/numeric/interval/checking.hpp", - "external/sources/boost/boost/numeric/interval/compare.hpp", - "external/sources/boost/boost/numeric/interval/compare/certain.hpp", - "external/sources/boost/boost/numeric/interval/compare/explicit.hpp", - "external/sources/boost/boost/numeric/interval/compare/lexicographic.hpp", - "external/sources/boost/boost/numeric/interval/compare/possible.hpp", - "external/sources/boost/boost/numeric/interval/compare/set.hpp", - "external/sources/boost/boost/numeric/interval/compare/tribool.hpp", - "external/sources/boost/boost/numeric/interval/constants.hpp", - "external/sources/boost/boost/numeric/interval/detail/alpha_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/bcc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/bugs.hpp", - "external/sources/boost/boost/numeric/interval/detail/c99_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/c99sub_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/division.hpp", - "external/sources/boost/boost/numeric/interval/detail/ia64_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/interval_prototype.hpp", - "external/sources/boost/boost/numeric/interval/detail/msvc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/ppc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/sparc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/test_input.hpp", - "external/sources/boost/boost/numeric/interval/detail/x86_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/x86gcc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/ext/integer.hpp", - "external/sources/boost/boost/numeric/interval/ext/x86_fast_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/hw_rounding.hpp", - "external/sources/boost/boost/numeric/interval/interval.hpp", - "external/sources/boost/boost/numeric/interval/io.hpp", - "external/sources/boost/boost/numeric/interval/limits.hpp", - "external/sources/boost/boost/numeric/interval/policies.hpp", - "external/sources/boost/boost/numeric/interval/rounded_arith.hpp", - "external/sources/boost/boost/numeric/interval/rounded_transc.hpp", - "external/sources/boost/boost/numeric/interval/rounding.hpp", - "external/sources/boost/boost/numeric/interval/transc.hpp", - "external/sources/boost/boost/numeric/interval/utility.hpp", - "external/sources/boost/boost/numeric/interval/utility_fwd.hpp", - "external/sources/boost/boost/numeric/odeint.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/array_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/default_operations.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/extract_value_type.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/for_each.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/macros.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/multi_array_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/norm_result_type.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/range_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/vector_space_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/config.hpp", - "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/gsl/gsl_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/external/mkl/mkl_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_nested_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_vector_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/implicit_euler_mtl4.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_copy.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_nested_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_abs.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_copy.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_same_instance.hpp", - "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_resize.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/check_adapter.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/functors.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/max_step_checker.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/null_observer.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/observer_collection.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/adaptive_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/adaptive_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/const_step_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/const_step_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/detail/ode_iterator_base.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/n_step_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/times_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/functors.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/null_observer.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/observer_collection.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/n_step_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/n_step_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/times_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/times_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adaptive_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/algebra_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_step_result.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adaptive_adams_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_operations.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/rotating_buffer.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/explicit_generic_rk.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/extrapolation_stepper.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_dense_output_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_dopri5.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_fehlberg78.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/make_controlled.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/make_dense_output.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/implicit_euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/modified_midpoint.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_controller.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_dense_output.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_fehlberg78.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/stepper_categories.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_m4_mclachlan.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_mclachlan.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/velocity_verlet.hpp", - "external/sources/boost/boost/numeric/odeint/util/bind.hpp", - "external/sources/boost/boost/numeric/odeint/util/copy.hpp", - "external/sources/boost/boost/numeric/odeint/util/detail/is_range.hpp", - "external/sources/boost/boost/numeric/odeint/util/detail/less_with_sign.hpp", - "external/sources/boost/boost/numeric/odeint/util/is_pair.hpp", - "external/sources/boost/boost/numeric/odeint/util/is_resizeable.hpp", - "external/sources/boost/boost/numeric/odeint/util/multi_array_adaption.hpp", - "external/sources/boost/boost/numeric/odeint/util/n_ary_helper.hpp", - "external/sources/boost/boost/numeric/odeint/util/odeint_error.hpp", - "external/sources/boost/boost/numeric/odeint/util/resize.hpp", - "external/sources/boost/boost/numeric/odeint/util/resizer.hpp", - "external/sources/boost/boost/numeric/odeint/util/same_instance.hpp", - "external/sources/boost/boost/numeric/odeint/util/same_size.hpp", - "external/sources/boost/boost/numeric/odeint/util/split.hpp", - "external/sources/boost/boost/numeric/odeint/util/split_adaptor.hpp", - "external/sources/boost/boost/numeric/odeint/util/state_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/util/stepper_traits.hpp", - "external/sources/boost/boost/numeric/odeint/util/ublas_matrix_expression.patch", - "external/sources/boost/boost/numeric/odeint/util/ublas_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/util/unit_helper.hpp", - "external/sources/boost/boost/numeric/odeint/util/unwrap_reference.hpp", - "external/sources/boost/boost/numeric/odeint/version.hpp", - "external/sources/boost/boost/numeric/ublas/assignment.hpp", - "external/sources/boost/boost/numeric/ublas/banded.hpp", - "external/sources/boost/boost/numeric/ublas/blas.hpp", - "external/sources/boost/boost/numeric/ublas/detail/concepts.hpp", - "external/sources/boost/boost/numeric/ublas/detail/config.hpp", - "external/sources/boost/boost/numeric/ublas/detail/definitions.hpp", - "external/sources/boost/boost/numeric/ublas/detail/documentation.hpp", - "external/sources/boost/boost/numeric/ublas/detail/duff.hpp", - "external/sources/boost/boost/numeric/ublas/detail/iterator.hpp", - "external/sources/boost/boost/numeric/ublas/detail/matrix_assign.hpp", - "external/sources/boost/boost/numeric/ublas/detail/raw.hpp", - "external/sources/boost/boost/numeric/ublas/detail/returntype_deduction.hpp", - "external/sources/boost/boost/numeric/ublas/detail/temporary.hpp", - "external/sources/boost/boost/numeric/ublas/detail/vector_assign.hpp", - "external/sources/boost/boost/numeric/ublas/doxydoc.hpp", - "external/sources/boost/boost/numeric/ublas/exception.hpp", - "external/sources/boost/boost/numeric/ublas/experimental/sparse_view.hpp", - "external/sources/boost/boost/numeric/ublas/expression_types.hpp", - "external/sources/boost/boost/numeric/ublas/functional.hpp", - "external/sources/boost/boost/numeric/ublas/fwd.hpp", - "external/sources/boost/boost/numeric/ublas/hermitian.hpp", - "external/sources/boost/boost/numeric/ublas/io.hpp", - "external/sources/boost/boost/numeric/ublas/lu.hpp", - "external/sources/boost/boost/numeric/ublas/matrix.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_expression.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_proxy.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_vector.hpp", - "external/sources/boost/boost/numeric/ublas/opencl.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/elementwise.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/library.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/matrix.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/misc.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/operations.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/prod.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/transpose.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/vector.hpp", - "external/sources/boost/boost/numeric/ublas/operation.hpp", - "external/sources/boost/boost/numeric/ublas/operation/begin.hpp", - "external/sources/boost/boost/numeric/ublas/operation/c_array.hpp", - "external/sources/boost/boost/numeric/ublas/operation/end.hpp", - "external/sources/boost/boost/numeric/ublas/operation/num_columns.hpp", - "external/sources/boost/boost/numeric/ublas/operation/num_rows.hpp", - "external/sources/boost/boost/numeric/ublas/operation/size.hpp", - "external/sources/boost/boost/numeric/ublas/operation_blocked.hpp", - "external/sources/boost/boost/numeric/ublas/operation_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/operations.hpp", - "external/sources/boost/boost/numeric/ublas/storage.hpp", - "external/sources/boost/boost/numeric/ublas/storage_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/symmetric.hpp", - "external/sources/boost/boost/numeric/ublas/tags.hpp", - "external/sources/boost/boost/numeric/ublas/tensor.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/algorithms.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/expression.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/extents.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/functions.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/index.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multi_index.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multi_index_utility.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multiplication.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/operators_arithmetic.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/operators_comparison.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/ostream.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/storage_traits.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/strides.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/tensor.hpp", - "external/sources/boost/boost/numeric/ublas/traits.hpp", - "external/sources/boost/boost/numeric/ublas/traits/c_array.hpp", - "external/sources/boost/boost/numeric/ublas/traits/const_iterator_type.hpp", - "external/sources/boost/boost/numeric/ublas/traits/iterator_type.hpp", - "external/sources/boost/boost/numeric/ublas/triangular.hpp", - "external/sources/boost/boost/numeric/ublas/vector.hpp", - "external/sources/boost/boost/numeric/ublas/vector_expression.hpp", - "external/sources/boost/boost/numeric/ublas/vector_of_vector.hpp", - "external/sources/boost/boost/numeric/ublas/vector_proxy.hpp", - "external/sources/boost/boost/numeric/ublas/vector_sparse.hpp", - "external/sources/boost/boost/operators.hpp", - "external/sources/boost/boost/operators_v1.hpp", - "external/sources/boost/boost/optional.hpp", - "external/sources/boost/boost/optional/bad_optional_access.hpp", - "external/sources/boost/boost/optional/detail/experimental_traits.hpp", - "external/sources/boost/boost/optional/detail/old_optional_implementation.hpp", - "external/sources/boost/boost/optional/detail/optional_aligned_storage.hpp", - "external/sources/boost/boost/optional/detail/optional_config.hpp", - "external/sources/boost/boost/optional/detail/optional_factory_support.hpp", - "external/sources/boost/boost/optional/detail/optional_reference_spec.hpp", - "external/sources/boost/boost/optional/detail/optional_relops.hpp", - "external/sources/boost/boost/optional/detail/optional_swap.hpp", - "external/sources/boost/boost/optional/detail/optional_trivially_copyable_base.hpp", - "external/sources/boost/boost/optional/optional.hpp", - "external/sources/boost/boost/optional/optional_fwd.hpp", - "external/sources/boost/boost/optional/optional_io.hpp", - "external/sources/boost/boost/outcome.hpp", - "external/sources/boost/boost/outcome/bad_access.hpp", - "external/sources/boost/boost/outcome/basic_outcome.hpp", - "external/sources/boost/boost/outcome/basic_result.hpp", - "external/sources/boost/boost/outcome/boost_outcome.hpp", - "external/sources/boost/boost/outcome/boost_result.hpp", - "external/sources/boost/boost/outcome/config.hpp", - "external/sources/boost/boost/outcome/convert.hpp", - "external/sources/boost/boost/outcome/coroutine_support.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers_impl.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_failure_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_error_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_final.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_storage.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_value_observers.hpp", - "external/sources/boost/boost/outcome/detail/coroutine_support.ipp", - "external/sources/boost/boost/outcome/detail/revision.hpp", - "external/sources/boost/boost/outcome/detail/trait_std_error_code.hpp", - "external/sources/boost/boost/outcome/detail/trait_std_exception.hpp", - "external/sources/boost/boost/outcome/detail/value_storage.hpp", - "external/sources/boost/boost/outcome/detail/version.hpp", - "external/sources/boost/boost/outcome/experimental/coroutine_support.hpp", - "external/sources/boost/boost/outcome/experimental/result.h", - "external/sources/boost/boost/outcome/experimental/status-code/com_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/config.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_generic_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_win32_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/win32_code_to_generic_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/error.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/errored_status_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/generic_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/getaddrinfo_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/iostream_support.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/nt_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/posix_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/quick_status_code_from_enum.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/result.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code_domain.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code_ptr.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_error.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/std_error_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_code_from_exception.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_error2.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/win32_code.hpp", - "external/sources/boost/boost/outcome/experimental/status_outcome.hpp", - "external/sources/boost/boost/outcome/experimental/status_result.hpp", - "external/sources/boost/boost/outcome/iostream_support.hpp", - "external/sources/boost/boost/outcome/outcome.hpp", - "external/sources/boost/boost/outcome/policy/all_narrow.hpp", - "external/sources/boost/boost/outcome/policy/base.hpp", - "external/sources/boost/boost/outcome/policy/fail_to_compile_observers.hpp", - "external/sources/boost/boost/outcome/policy/outcome_error_code_throw_as_system_error.hpp", - "external/sources/boost/boost/outcome/policy/outcome_exception_ptr_rethrow.hpp", - "external/sources/boost/boost/outcome/policy/result_error_code_throw_as_system_error.hpp", - "external/sources/boost/boost/outcome/policy/result_exception_ptr_rethrow.hpp", - "external/sources/boost/boost/outcome/policy/terminate.hpp", - "external/sources/boost/boost/outcome/policy/throw_bad_result_access.hpp", - "external/sources/boost/boost/outcome/result.hpp", - "external/sources/boost/boost/outcome/std_outcome.hpp", - "external/sources/boost/boost/outcome/std_result.hpp", - "external/sources/boost/boost/outcome/success_failure.hpp", - "external/sources/boost/boost/outcome/trait.hpp", - "external/sources/boost/boost/outcome/try.hpp", - "external/sources/boost/boost/outcome/utils.hpp", - "external/sources/boost/boost/parameter.hpp", - "external/sources/boost/boost/parameter/are_tagged_arguments.hpp", - "external/sources/boost/boost/parameter/aux_/always_true_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/arg_list.hpp", - "external/sources/boost/boost/parameter/aux_/as_lvalue.hpp", - "external/sources/boost/boost/parameter/aux_/augment_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/cast.hpp", - "external/sources/boost/boost/parameter/aux_/default.hpp", - "external/sources/boost/boost/parameter/aux_/has_nested_template_fn.hpp", - "external/sources/boost/boost/parameter/aux_/is_maybe.hpp", - "external/sources/boost/boost/parameter/aux_/is_placeholder.hpp", - "external/sources/boost/boost/parameter/aux_/is_tagged_argument.hpp", - "external/sources/boost/boost/parameter/aux_/lambda_tag.hpp", - "external/sources/boost/boost/parameter/aux_/maybe.hpp", - "external/sources/boost/boost/parameter/aux_/name.hpp", - "external/sources/boost/boost/parameter/aux_/pack/as_parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/pack/deduce_tag.hpp", - "external/sources/boost/boost/parameter/aux_/pack/deduced_item.hpp", - "external/sources/boost/boost/parameter/aux_/pack/insert_tagged.hpp", - "external/sources/boost/boost/parameter/aux_/pack/is_named_argument.hpp", - "external/sources/boost/boost/parameter/aux_/pack/item.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_arg_list.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_deduced_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_parameter_spec_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/pack/predicate.hpp", - "external/sources/boost/boost/parameter/aux_/pack/satisfies.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_deduced.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_type.hpp", - "external/sources/boost/boost/parameter/aux_/pack/unmatched_argument.hpp", - "external/sources/boost/boost/parameter/aux_/parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/parenthesized_type.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/argument_pack.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/match.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/flatten.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/for_each_pred.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/arity_range.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/flatten.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_cast.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_name.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/specification.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/split_args.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/is_binary.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/is_nullary.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/nullptr.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/qualifier.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/seq_enum.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/seq_merge.hpp", - "external/sources/boost/boost/parameter/aux_/python/invoker.hpp", - "external/sources/boost/boost/parameter/aux_/python/invoker_iterate.hpp", - "external/sources/boost/boost/parameter/aux_/result_of0.hpp", - "external/sources/boost/boost/parameter/aux_/set.hpp", - "external/sources/boost/boost/parameter/aux_/tag.hpp", - "external/sources/boost/boost/parameter/aux_/tagged_argument.hpp", - "external/sources/boost/boost/parameter/aux_/tagged_argument_fwd.hpp", - "external/sources/boost/boost/parameter/aux_/template_keyword.hpp", - "external/sources/boost/boost/parameter/aux_/unwrap_cv_reference.hpp", - "external/sources/boost/boost/parameter/aux_/use_default.hpp", - "external/sources/boost/boost/parameter/aux_/use_default_tag.hpp", - "external/sources/boost/boost/parameter/aux_/void.hpp", - "external/sources/boost/boost/parameter/aux_/yesno.hpp", - "external/sources/boost/boost/parameter/binding.hpp", - "external/sources/boost/boost/parameter/compose.hpp", - "external/sources/boost/boost/parameter/config.hpp", - "external/sources/boost/boost/parameter/deduced.hpp", - "external/sources/boost/boost/parameter/is_argument_pack.hpp", - "external/sources/boost/boost/parameter/keyword.hpp", - "external/sources/boost/boost/parameter/keyword_fwd.hpp", - "external/sources/boost/boost/parameter/macros.hpp", - "external/sources/boost/boost/parameter/match.hpp", - "external/sources/boost/boost/parameter/name.hpp", - "external/sources/boost/boost/parameter/nested_keyword.hpp", - "external/sources/boost/boost/parameter/optional.hpp", - "external/sources/boost/boost/parameter/parameters.hpp", - "external/sources/boost/boost/parameter/preprocessor.hpp", - "external/sources/boost/boost/parameter/preprocessor_no_spec.hpp", - "external/sources/boost/boost/parameter/python.hpp", - "external/sources/boost/boost/parameter/required.hpp", - "external/sources/boost/boost/parameter/template_keyword.hpp", - "external/sources/boost/boost/parameter/value_type.hpp", - "external/sources/boost/boost/pending/bucket_sorter.hpp", - "external/sources/boost/boost/pending/container_traits.hpp", - "external/sources/boost/boost/pending/detail/disjoint_sets.hpp", - "external/sources/boost/boost/pending/detail/int_iterator.hpp", - "external/sources/boost/boost/pending/detail/property.hpp", - "external/sources/boost/boost/pending/disjoint_sets.hpp", - "external/sources/boost/boost/pending/fenced_priority_queue.hpp", - "external/sources/boost/boost/pending/fibonacci_heap.hpp", - "external/sources/boost/boost/pending/indirect_cmp.hpp", - "external/sources/boost/boost/pending/integer_log2.hpp", - "external/sources/boost/boost/pending/is_heap.hpp", - "external/sources/boost/boost/pending/iterator_adaptors.hpp", - "external/sources/boost/boost/pending/iterator_tests.hpp", - "external/sources/boost/boost/pending/mutable_heap.hpp", - "external/sources/boost/boost/pending/mutable_queue.hpp", - "external/sources/boost/boost/pending/property.hpp", - "external/sources/boost/boost/pending/property_serialize.hpp", - "external/sources/boost/boost/pending/queue.hpp", - "external/sources/boost/boost/pending/relaxed_heap.hpp", - "external/sources/boost/boost/pending/stringtok.hpp", - "external/sources/boost/boost/phoenix.hpp", - "external/sources/boost/boost/phoenix/bind.hpp", - "external/sources/boost/boost/phoenix/bind/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/bind_member_variable.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/member_function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/member_variable.hpp", - "external/sources/boost/boost/phoenix/config.hpp", - "external/sources/boost/boost/phoenix/core.hpp", - "external/sources/boost/boost/phoenix/core/actor.hpp", - "external/sources/boost/boost/phoenix/core/argument.hpp", - "external/sources/boost/boost/phoenix/core/arity.hpp", - "external/sources/boost/boost/phoenix/core/as_actor.hpp", - "external/sources/boost/boost/phoenix/core/call.hpp", - "external/sources/boost/boost/phoenix/core/debug.hpp", - "external/sources/boost/boost/phoenix/core/detail/argument.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_operator.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_result_of.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/call.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval_expr.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/index_sequence.hpp", - "external/sources/boost/boost/phoenix/core/domain.hpp", - "external/sources/boost/boost/phoenix/core/environment.hpp", - "external/sources/boost/boost/phoenix/core/expression.hpp", - "external/sources/boost/boost/phoenix/core/function_equal.hpp", - "external/sources/boost/boost/phoenix/core/is_actor.hpp", - "external/sources/boost/boost/phoenix/core/is_nullary.hpp", - "external/sources/boost/boost/phoenix/core/is_value.hpp", - "external/sources/boost/boost/phoenix/core/limits.hpp", - "external/sources/boost/boost/phoenix/core/meta_grammar.hpp", - "external/sources/boost/boost/phoenix/core/nothing.hpp", - "external/sources/boost/boost/phoenix/core/reference.hpp", - "external/sources/boost/boost/phoenix/core/terminal.hpp", - "external/sources/boost/boost/phoenix/core/terminal_fwd.hpp", - "external/sources/boost/boost/phoenix/core/v2_eval.hpp", - "external/sources/boost/boost/phoenix/core/value.hpp", - "external/sources/boost/boost/phoenix/debug.hpp", - "external/sources/boost/boost/phoenix/function.hpp", - "external/sources/boost/boost/phoenix/function/adapt_callable.hpp", - "external/sources/boost/boost/phoenix/function/adapt_function.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/function_operator.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_20.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_30.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_40.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_50.hpp", - "external/sources/boost/boost/phoenix/function/function.hpp", - "external/sources/boost/boost/phoenix/function/lazy_list.hpp", - "external/sources/boost/boost/phoenix/function/lazy_operator.hpp", - "external/sources/boost/boost/phoenix/function/lazy_prelude.hpp", - "external/sources/boost/boost/phoenix/function/lazy_reuse.hpp", - "external/sources/boost/boost/phoenix/function/lazy_signature.hpp", - "external/sources/boost/boost/phoenix/function/lazy_smart.hpp", - "external/sources/boost/boost/phoenix/fusion.hpp", - "external/sources/boost/boost/phoenix/fusion/at.hpp", - "external/sources/boost/boost/phoenix/object.hpp", - "external/sources/boost/boost/phoenix/object/const_cast.hpp", - "external/sources/boost/boost/phoenix/object/construct.hpp", - "external/sources/boost/boost/phoenix/object/delete.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/target.hpp", - "external/sources/boost/boost/phoenix/object/dynamic_cast.hpp", - "external/sources/boost/boost/phoenix/object/new.hpp", - "external/sources/boost/boost/phoenix/object/reinterpret_cast.hpp", - "external/sources/boost/boost/phoenix/object/static_cast.hpp", - "external/sources/boost/boost/phoenix/operator.hpp", - "external/sources/boost/boost/phoenix/operator/arithmetic.hpp", - "external/sources/boost/boost/phoenix/operator/bitwise.hpp", - "external/sources/boost/boost/phoenix/operator/comparison.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval_result_of.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_expr.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_gen.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/define_operator.hpp", - "external/sources/boost/boost/phoenix/operator/detail/undef_operator.hpp", - "external/sources/boost/boost/phoenix/operator/if_else.hpp", - "external/sources/boost/boost/phoenix/operator/io.hpp", - "external/sources/boost/boost/phoenix/operator/logical.hpp", - "external/sources/boost/boost/phoenix/operator/member.hpp", - "external/sources/boost/boost/phoenix/operator/self.hpp", - "external/sources/boost/boost/phoenix/phoenix.hpp", - "external/sources/boost/boost/phoenix/scope.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/local_gen.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_10.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_20.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_30.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_40.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_50.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_10.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_20.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_30.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_50.hpp", - "external/sources/boost/boost/phoenix/scope/detail/local_gen.hpp", - "external/sources/boost/boost/phoenix/scope/detail/local_variable.hpp", - "external/sources/boost/boost/phoenix/scope/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/let.hpp", - "external/sources/boost/boost/phoenix/scope/local_variable.hpp", - "external/sources/boost/boost/phoenix/scope/scoped_environment.hpp", - "external/sources/boost/boost/phoenix/scope/this.hpp", - "external/sources/boost/boost/phoenix/statement.hpp", - "external/sources/boost/boost/phoenix/statement/detail/catch_push_back.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/switch.hpp", - "external/sources/boost/boost/phoenix/statement/detail/try_catch_eval.hpp", - "external/sources/boost/boost/phoenix/statement/detail/try_catch_expression.hpp", - "external/sources/boost/boost/phoenix/statement/do_while.hpp", - "external/sources/boost/boost/phoenix/statement/for.hpp", - "external/sources/boost/boost/phoenix/statement/if.hpp", - "external/sources/boost/boost/phoenix/statement/sequence.hpp", - "external/sources/boost/boost/phoenix/statement/switch.hpp", - "external/sources/boost/boost/phoenix/statement/throw.hpp", - "external/sources/boost/boost/phoenix/statement/try_catch.hpp", - "external/sources/boost/boost/phoenix/statement/while.hpp", - "external/sources/boost/boost/phoenix/stl.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/begin.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/decay_array.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/end.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_equal_range.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_find.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_lower_bound.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove_if.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_reverse.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_sort.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_unique.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_upper_bound.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_set.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_list.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_set.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/iteration.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/querying.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/transformation.hpp", - "external/sources/boost/boost/phoenix/stl/cmath.hpp", - "external/sources/boost/boost/phoenix/stl/container.hpp", - "external/sources/boost/boost/phoenix/stl/container/container.hpp", - "external/sources/boost/boost/phoenix/stl/container/detail/container.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate_define.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate_undef.hpp", - "external/sources/boost/boost/phoenix/support/iterate.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_10.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_20.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_30.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_40.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_50.hpp", - "external/sources/boost/boost/phoenix/support/preprocessor/round.hpp", - "external/sources/boost/boost/phoenix/support/vector.hpp", - "external/sources/boost/boost/phoenix/version.hpp", - "external/sources/boost/boost/pointee.hpp", - "external/sources/boost/boost/pointer_cast.hpp", - "external/sources/boost/boost/pointer_to_other.hpp", - "external/sources/boost/boost/poly_collection/algorithm.hpp", - "external/sources/boost/boost/poly_collection/any_collection.hpp", - "external/sources/boost/boost/poly_collection/any_collection_fwd.hpp", - "external/sources/boost/boost/poly_collection/base_collection.hpp", - "external/sources/boost/boost/poly_collection/base_collection_fwd.hpp", - "external/sources/boost/boost/poly_collection/detail/allocator_adaptor.hpp", - "external/sources/boost/boost/poly_collection/detail/any_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/any_model.hpp", - "external/sources/boost/boost/poly_collection/detail/auto_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/base_model.hpp", - "external/sources/boost/boost/poly_collection/detail/callable_wrapper.hpp", - "external/sources/boost/boost/poly_collection/detail/callable_wrapper_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/function_model.hpp", - "external/sources/boost/boost/poly_collection/detail/functional.hpp", - "external/sources/boost/boost/poly_collection/detail/is_acceptable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_constructible.hpp", - "external/sources/boost/boost/poly_collection/detail/is_equality_comparable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_final.hpp", - "external/sources/boost/boost/poly_collection/detail/is_invocable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_nothrow_eq_comparable.hpp", - "external/sources/boost/boost/poly_collection/detail/iterator_impl.hpp", - "external/sources/boost/boost/poly_collection/detail/iterator_traits.hpp", - "external/sources/boost/boost/poly_collection/detail/packed_segment.hpp", - "external/sources/boost/boost/poly_collection/detail/poly_collection.hpp", - "external/sources/boost/boost/poly_collection/detail/segment.hpp", - "external/sources/boost/boost/poly_collection/detail/segment_backend.hpp", - "external/sources/boost/boost/poly_collection/detail/segment_split.hpp", - "external/sources/boost/boost/poly_collection/detail/split_segment.hpp", - "external/sources/boost/boost/poly_collection/detail/stride_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/type_info_map.hpp", - "external/sources/boost/boost/poly_collection/detail/type_restitution.hpp", - "external/sources/boost/boost/poly_collection/detail/value_holder.hpp", - "external/sources/boost/boost/poly_collection/exception.hpp", - "external/sources/boost/boost/poly_collection/function_collection.hpp", - "external/sources/boost/boost/poly_collection/function_collection_fwd.hpp", - "external/sources/boost/boost/polygon/detail/boolean_op.hpp", - "external/sources/boost/boost/polygon/detail/boolean_op_45.hpp", - "external/sources/boost/boost/polygon/detail/iterator_compact_to_points.hpp", - "external/sources/boost/boost/polygon/detail/iterator_geometry_to_set.hpp", - "external/sources/boost/boost/polygon/detail/iterator_points_to_compact.hpp", - "external/sources/boost/boost/polygon/detail/max_cover.hpp", - "external/sources/boost/boost/polygon/detail/minkowski.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_touch.hpp", - "external/sources/boost/boost/polygon/detail/polygon_90_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_90_touch.hpp", - "external/sources/boost/boost/polygon/detail/polygon_arbitrary_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_simplify.hpp", - "external/sources/boost/boost/polygon/detail/polygon_sort_adaptor.hpp", - "external/sources/boost/boost/polygon/detail/property_merge.hpp", - "external/sources/boost/boost/polygon/detail/property_merge_45.hpp", - "external/sources/boost/boost/polygon/detail/rectangle_formation.hpp", - "external/sources/boost/boost/polygon/detail/scan_arbitrary.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_ctypes.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_predicates.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_robust_fpt.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_structures.hpp", - "external/sources/boost/boost/polygon/gmp_override.hpp", - "external/sources/boost/boost/polygon/gtl.hpp", - "external/sources/boost/boost/polygon/interval_concept.hpp", - "external/sources/boost/boost/polygon/interval_data.hpp", - "external/sources/boost/boost/polygon/interval_traits.hpp", - "external/sources/boost/boost/polygon/isotropy.hpp", - "external/sources/boost/boost/polygon/point_concept.hpp", - "external/sources/boost/boost/polygon/point_data.hpp", - "external/sources/boost/boost/polygon/point_traits.hpp", - "external/sources/boost/boost/polygon/polygon.hpp", - "external/sources/boost/boost/polygon/polygon_45_data.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_45_with_holes_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_90_with_holes_data.hpp", - "external/sources/boost/boost/polygon/polygon_data.hpp", - "external/sources/boost/boost/polygon/polygon_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_traits.hpp", - "external/sources/boost/boost/polygon/polygon_with_holes_data.hpp", - "external/sources/boost/boost/polygon/rectangle_concept.hpp", - "external/sources/boost/boost/polygon/rectangle_data.hpp", - "external/sources/boost/boost/polygon/rectangle_traits.hpp", - "external/sources/boost/boost/polygon/segment_concept.hpp", - "external/sources/boost/boost/polygon/segment_data.hpp", - "external/sources/boost/boost/polygon/segment_traits.hpp", - "external/sources/boost/boost/polygon/segment_utils.hpp", - "external/sources/boost/boost/polygon/transform.hpp", - "external/sources/boost/boost/polygon/voronoi.hpp", - "external/sources/boost/boost/polygon/voronoi_builder.hpp", - "external/sources/boost/boost/polygon/voronoi_diagram.hpp", - "external/sources/boost/boost/polygon/voronoi_geometry_type.hpp", - "external/sources/boost/boost/polymorphic_cast.hpp", - "external/sources/boost/boost/polymorphic_pointer_cast.hpp", - "external/sources/boost/boost/pool/detail/for.m4", - "external/sources/boost/boost/pool/detail/guard.hpp", - "external/sources/boost/boost/pool/detail/mutex.hpp", - "external/sources/boost/boost/pool/detail/pool_construct.bat", - "external/sources/boost/boost/pool/detail/pool_construct.ipp", - "external/sources/boost/boost/pool/detail/pool_construct.m4", - "external/sources/boost/boost/pool/detail/pool_construct.sh", - "external/sources/boost/boost/pool/detail/pool_construct_simple.bat", - "external/sources/boost/boost/pool/detail/pool_construct_simple.ipp", - "external/sources/boost/boost/pool/detail/pool_construct_simple.m4", - "external/sources/boost/boost/pool/detail/pool_construct_simple.sh", - "external/sources/boost/boost/pool/object_pool.hpp", - "external/sources/boost/boost/pool/pool.hpp", - "external/sources/boost/boost/pool/pool_alloc.hpp", - "external/sources/boost/boost/pool/poolfwd.hpp", - "external/sources/boost/boost/pool/simple_segregated_storage.hpp", - "external/sources/boost/boost/pool/singleton_pool.hpp", - "external/sources/boost/boost/predef.h", - "external/sources/boost/boost/predef/architecture.h", - "external/sources/boost/boost/predef/architecture/alpha.h", - "external/sources/boost/boost/predef/architecture/arm.h", - "external/sources/boost/boost/predef/architecture/blackfin.h", - "external/sources/boost/boost/predef/architecture/convex.h", - "external/sources/boost/boost/predef/architecture/ia64.h", - "external/sources/boost/boost/predef/architecture/m68k.h", - "external/sources/boost/boost/predef/architecture/mips.h", - "external/sources/boost/boost/predef/architecture/parisc.h", - "external/sources/boost/boost/predef/architecture/ppc.h", - "external/sources/boost/boost/predef/architecture/ptx.h", - "external/sources/boost/boost/predef/architecture/pyramid.h", - "external/sources/boost/boost/predef/architecture/riscv.h", - "external/sources/boost/boost/predef/architecture/rs6k.h", - "external/sources/boost/boost/predef/architecture/sparc.h", - "external/sources/boost/boost/predef/architecture/superh.h", - "external/sources/boost/boost/predef/architecture/sys370.h", - "external/sources/boost/boost/predef/architecture/sys390.h", - "external/sources/boost/boost/predef/architecture/x86.h", - "external/sources/boost/boost/predef/architecture/x86/32.h", - "external/sources/boost/boost/predef/architecture/x86/64.h", - "external/sources/boost/boost/predef/architecture/z.h", - "external/sources/boost/boost/predef/compiler.h", - "external/sources/boost/boost/predef/compiler/borland.h", - "external/sources/boost/boost/predef/compiler/clang.h", - "external/sources/boost/boost/predef/compiler/comeau.h", - "external/sources/boost/boost/predef/compiler/compaq.h", - "external/sources/boost/boost/predef/compiler/diab.h", - "external/sources/boost/boost/predef/compiler/digitalmars.h", - "external/sources/boost/boost/predef/compiler/dignus.h", - "external/sources/boost/boost/predef/compiler/edg.h", - "external/sources/boost/boost/predef/compiler/ekopath.h", - "external/sources/boost/boost/predef/compiler/gcc.h", - "external/sources/boost/boost/predef/compiler/gcc_xml.h", - "external/sources/boost/boost/predef/compiler/greenhills.h", - "external/sources/boost/boost/predef/compiler/hp_acc.h", - "external/sources/boost/boost/predef/compiler/iar.h", - "external/sources/boost/boost/predef/compiler/ibm.h", - "external/sources/boost/boost/predef/compiler/intel.h", - "external/sources/boost/boost/predef/compiler/kai.h", - "external/sources/boost/boost/predef/compiler/llvm.h", - "external/sources/boost/boost/predef/compiler/metaware.h", - "external/sources/boost/boost/predef/compiler/metrowerks.h", - "external/sources/boost/boost/predef/compiler/microtec.h", - "external/sources/boost/boost/predef/compiler/mpw.h", - "external/sources/boost/boost/predef/compiler/nvcc.h", - "external/sources/boost/boost/predef/compiler/palm.h", - "external/sources/boost/boost/predef/compiler/pgi.h", - "external/sources/boost/boost/predef/compiler/sgi_mipspro.h", - "external/sources/boost/boost/predef/compiler/sunpro.h", - "external/sources/boost/boost/predef/compiler/tendra.h", - "external/sources/boost/boost/predef/compiler/visualc.h", - "external/sources/boost/boost/predef/compiler/watcom.h", - "external/sources/boost/boost/predef/detail/_cassert.h", - "external/sources/boost/boost/predef/detail/_exception.h", - "external/sources/boost/boost/predef/detail/comp_detected.h", - "external/sources/boost/boost/predef/detail/os_detected.h", - "external/sources/boost/boost/predef/detail/platform_detected.h", - "external/sources/boost/boost/predef/detail/test.h", - "external/sources/boost/boost/predef/detail/test_def.h", - "external/sources/boost/boost/predef/hardware.h", - "external/sources/boost/boost/predef/hardware/simd.h", - "external/sources/boost/boost/predef/hardware/simd/arm.h", - "external/sources/boost/boost/predef/hardware/simd/arm/versions.h", - "external/sources/boost/boost/predef/hardware/simd/ppc.h", - "external/sources/boost/boost/predef/hardware/simd/ppc/versions.h", - "external/sources/boost/boost/predef/hardware/simd/x86.h", - "external/sources/boost/boost/predef/hardware/simd/x86/versions.h", - "external/sources/boost/boost/predef/hardware/simd/x86_amd.h", - "external/sources/boost/boost/predef/hardware/simd/x86_amd/versions.h", - "external/sources/boost/boost/predef/language.h", - "external/sources/boost/boost/predef/language/cuda.h", - "external/sources/boost/boost/predef/language/objc.h", - "external/sources/boost/boost/predef/language/stdc.h", - "external/sources/boost/boost/predef/language/stdcpp.h", - "external/sources/boost/boost/predef/library.h", - "external/sources/boost/boost/predef/library/c.h", - "external/sources/boost/boost/predef/library/c/_prefix.h", - "external/sources/boost/boost/predef/library/c/cloudabi.h", - "external/sources/boost/boost/predef/library/c/gnu.h", - "external/sources/boost/boost/predef/library/c/uc.h", - "external/sources/boost/boost/predef/library/c/vms.h", - "external/sources/boost/boost/predef/library/c/zos.h", - "external/sources/boost/boost/predef/library/std.h", - "external/sources/boost/boost/predef/library/std/_prefix.h", - "external/sources/boost/boost/predef/library/std/cxx.h", - "external/sources/boost/boost/predef/library/std/dinkumware.h", - "external/sources/boost/boost/predef/library/std/libcomo.h", - "external/sources/boost/boost/predef/library/std/modena.h", - "external/sources/boost/boost/predef/library/std/msl.h", - "external/sources/boost/boost/predef/library/std/roguewave.h", - "external/sources/boost/boost/predef/library/std/sgi.h", - "external/sources/boost/boost/predef/library/std/stdcpp3.h", - "external/sources/boost/boost/predef/library/std/stlport.h", - "external/sources/boost/boost/predef/library/std/vacpp.h", - "external/sources/boost/boost/predef/make.h", - "external/sources/boost/boost/predef/os.h", - "external/sources/boost/boost/predef/os/aix.h", - "external/sources/boost/boost/predef/os/amigaos.h", - "external/sources/boost/boost/predef/os/beos.h", - "external/sources/boost/boost/predef/os/bsd.h", - "external/sources/boost/boost/predef/os/bsd/bsdi.h", - "external/sources/boost/boost/predef/os/bsd/dragonfly.h", - "external/sources/boost/boost/predef/os/bsd/free.h", - "external/sources/boost/boost/predef/os/bsd/net.h", - "external/sources/boost/boost/predef/os/bsd/open.h", - "external/sources/boost/boost/predef/os/cygwin.h", - "external/sources/boost/boost/predef/os/haiku.h", - "external/sources/boost/boost/predef/os/hpux.h", - "external/sources/boost/boost/predef/os/ios.h", - "external/sources/boost/boost/predef/os/irix.h", - "external/sources/boost/boost/predef/os/linux.h", - "external/sources/boost/boost/predef/os/macos.h", - "external/sources/boost/boost/predef/os/os400.h", - "external/sources/boost/boost/predef/os/qnxnto.h", - "external/sources/boost/boost/predef/os/solaris.h", - "external/sources/boost/boost/predef/os/unix.h", - "external/sources/boost/boost/predef/os/vms.h", - "external/sources/boost/boost/predef/os/windows.h", - "external/sources/boost/boost/predef/other.h", - "external/sources/boost/boost/predef/other/endian.h", - "external/sources/boost/boost/predef/other/workaround.h", - "external/sources/boost/boost/predef/platform.h", - "external/sources/boost/boost/predef/platform/android.h", - "external/sources/boost/boost/predef/platform/cloudabi.h", - "external/sources/boost/boost/predef/platform/ios.h", - "external/sources/boost/boost/predef/platform/mingw.h", - "external/sources/boost/boost/predef/platform/mingw32.h", - "external/sources/boost/boost/predef/platform/mingw64.h", - "external/sources/boost/boost/predef/platform/windows_desktop.h", - "external/sources/boost/boost/predef/platform/windows_phone.h", - "external/sources/boost/boost/predef/platform/windows_runtime.h", - "external/sources/boost/boost/predef/platform/windows_server.h", - "external/sources/boost/boost/predef/platform/windows_store.h", - "external/sources/boost/boost/predef/platform/windows_system.h", - "external/sources/boost/boost/predef/platform/windows_uwp.h", - "external/sources/boost/boost/predef/version.h", - "external/sources/boost/boost/predef/version_number.h", - "external/sources/boost/boost/preprocessor.hpp", - "external/sources/boost/boost/preprocessor/arithmetic.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/add.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/dec.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/detail/div_base.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/div.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/inc.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/mod.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/mul.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/sub.hpp", - "external/sources/boost/boost/preprocessor/array.hpp", - "external/sources/boost/boost/preprocessor/array/data.hpp", - "external/sources/boost/boost/preprocessor/array/detail/get_data.hpp", - "external/sources/boost/boost/preprocessor/array/elem.hpp", - "external/sources/boost/boost/preprocessor/array/enum.hpp", - "external/sources/boost/boost/preprocessor/array/insert.hpp", - "external/sources/boost/boost/preprocessor/array/pop_back.hpp", - "external/sources/boost/boost/preprocessor/array/pop_front.hpp", - "external/sources/boost/boost/preprocessor/array/push_back.hpp", - "external/sources/boost/boost/preprocessor/array/push_front.hpp", - "external/sources/boost/boost/preprocessor/array/remove.hpp", - "external/sources/boost/boost/preprocessor/array/replace.hpp", - "external/sources/boost/boost/preprocessor/array/reverse.hpp", - "external/sources/boost/boost/preprocessor/array/size.hpp", - "external/sources/boost/boost/preprocessor/array/to_list.hpp", - "external/sources/boost/boost/preprocessor/array/to_seq.hpp", - "external/sources/boost/boost/preprocessor/array/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/assert_msg.hpp", - "external/sources/boost/boost/preprocessor/cat.hpp", - "external/sources/boost/boost/preprocessor/comma.hpp", - "external/sources/boost/boost/preprocessor/comma_if.hpp", - "external/sources/boost/boost/preprocessor/comparison.hpp", - "external/sources/boost/boost/preprocessor/comparison/equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/greater.hpp", - "external/sources/boost/boost/preprocessor/comparison/greater_equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/less.hpp", - "external/sources/boost/boost/preprocessor/comparison/less_equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/not_equal.hpp", - "external/sources/boost/boost/preprocessor/config/config.hpp", - "external/sources/boost/boost/preprocessor/config/limits.hpp", - "external/sources/boost/boost/preprocessor/control.hpp", - "external/sources/boost/boost/preprocessor/control/deduce_d.hpp", - "external/sources/boost/boost/preprocessor/control/detail/dmc/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/edg/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/msvc/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/while.hpp", - "external/sources/boost/boost/preprocessor/control/expr_if.hpp", - "external/sources/boost/boost/preprocessor/control/expr_iif.hpp", - "external/sources/boost/boost/preprocessor/control/if.hpp", - "external/sources/boost/boost/preprocessor/control/iif.hpp", - "external/sources/boost/boost/preprocessor/control/while.hpp", - "external/sources/boost/boost/preprocessor/debug.hpp", - "external/sources/boost/boost/preprocessor/dec.hpp", - "external/sources/boost/boost/preprocessor/detail/auto_rec.hpp", - "external/sources/boost/boost/preprocessor/detail/check.hpp", - "external/sources/boost/boost/preprocessor/detail/dmc/auto_rec.hpp", - "external/sources/boost/boost/preprocessor/detail/is_binary.hpp", - "external/sources/boost/boost/preprocessor/detail/is_nullary.hpp", - "external/sources/boost/boost/preprocessor/detail/is_unary.hpp", - "external/sources/boost/boost/preprocessor/detail/null.hpp", - "external/sources/boost/boost/preprocessor/detail/split.hpp", - "external/sources/boost/boost/preprocessor/empty.hpp", - "external/sources/boost/boost/preprocessor/enum.hpp", - "external/sources/boost/boost/preprocessor/enum_params.hpp", - "external/sources/boost/boost/preprocessor/enum_params_with_a_default.hpp", - "external/sources/boost/boost/preprocessor/enum_params_with_defaults.hpp", - "external/sources/boost/boost/preprocessor/enum_shifted.hpp", - "external/sources/boost/boost/preprocessor/enum_shifted_params.hpp", - "external/sources/boost/boost/preprocessor/expand.hpp", - "external/sources/boost/boost/preprocessor/expr_if.hpp", - "external/sources/boost/boost/preprocessor/facilities.hpp", - "external/sources/boost/boost/preprocessor/facilities/apply.hpp", - "external/sources/boost/boost/preprocessor/facilities/check_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/detail/is_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/expand.hpp", - "external/sources/boost/boost/preprocessor/facilities/identity.hpp", - "external/sources/boost/boost/preprocessor/facilities/intercept.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_1.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty_or_1.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty_variadic.hpp", - "external/sources/boost/boost/preprocessor/facilities/overload.hpp", - "external/sources/boost/boost/preprocessor/facilities/va_opt.hpp", - "external/sources/boost/boost/preprocessor/for.hpp", - "external/sources/boost/boost/preprocessor/identity.hpp", - "external/sources/boost/boost/preprocessor/if.hpp", - "external/sources/boost/boost/preprocessor/inc.hpp", - "external/sources/boost/boost/preprocessor/iterate.hpp", - "external/sources/boost/boost/preprocessor/iteration.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/finish.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/local.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/rlocal.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/self.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/start.hpp", - "external/sources/boost/boost/preprocessor/iteration/iterate.hpp", - "external/sources/boost/boost/preprocessor/iteration/local.hpp", - "external/sources/boost/boost/preprocessor/iteration/self.hpp", - "external/sources/boost/boost/preprocessor/library.hpp", - "external/sources/boost/boost/preprocessor/limits.hpp", - "external/sources/boost/boost/preprocessor/list.hpp", - "external/sources/boost/boost/preprocessor/list/adt.hpp", - "external/sources/boost/boost/preprocessor/list/append.hpp", - "external/sources/boost/boost/preprocessor/list/at.hpp", - "external/sources/boost/boost/preprocessor/list/cat.hpp", - "external/sources/boost/boost/preprocessor/list/detail/dmc/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/edg/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/edg/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/detail/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/enum.hpp", - "external/sources/boost/boost/preprocessor/list/filter.hpp", - "external/sources/boost/boost/preprocessor/list/first_n.hpp", - "external/sources/boost/boost/preprocessor/list/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/for_each.hpp", - "external/sources/boost/boost/preprocessor/list/for_each_i.hpp", - "external/sources/boost/boost/preprocessor/list/for_each_product.hpp", - "external/sources/boost/boost/preprocessor/list/rest_n.hpp", - "external/sources/boost/boost/preprocessor/list/reverse.hpp", - "external/sources/boost/boost/preprocessor/list/size.hpp", - "external/sources/boost/boost/preprocessor/list/to_array.hpp", - "external/sources/boost/boost/preprocessor/list/to_seq.hpp", - "external/sources/boost/boost/preprocessor/list/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/list/transform.hpp", - "external/sources/boost/boost/preprocessor/logical.hpp", - "external/sources/boost/boost/preprocessor/logical/and.hpp", - "external/sources/boost/boost/preprocessor/logical/bitand.hpp", - "external/sources/boost/boost/preprocessor/logical/bitnor.hpp", - "external/sources/boost/boost/preprocessor/logical/bitor.hpp", - "external/sources/boost/boost/preprocessor/logical/bitxor.hpp", - "external/sources/boost/boost/preprocessor/logical/bool.hpp", - "external/sources/boost/boost/preprocessor/logical/compl.hpp", - "external/sources/boost/boost/preprocessor/logical/nor.hpp", - "external/sources/boost/boost/preprocessor/logical/not.hpp", - "external/sources/boost/boost/preprocessor/logical/or.hpp", - "external/sources/boost/boost/preprocessor/logical/xor.hpp", - "external/sources/boost/boost/preprocessor/max.hpp", - "external/sources/boost/boost/preprocessor/min.hpp", - "external/sources/boost/boost/preprocessor/punctuation.hpp", - "external/sources/boost/boost/preprocessor/punctuation/comma.hpp", - "external/sources/boost/boost/preprocessor/punctuation/comma_if.hpp", - "external/sources/boost/boost/preprocessor/punctuation/detail/is_begin_parens.hpp", - "external/sources/boost/boost/preprocessor/punctuation/is_begin_parens.hpp", - "external/sources/boost/boost/preprocessor/punctuation/paren.hpp", - "external/sources/boost/boost/preprocessor/punctuation/paren_if.hpp", - "external/sources/boost/boost/preprocessor/punctuation/remove_parens.hpp", - "external/sources/boost/boost/preprocessor/repeat.hpp", - "external/sources/boost/boost/preprocessor/repeat_2nd.hpp", - "external/sources/boost/boost/preprocessor/repeat_3rd.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to_2nd.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to_3rd.hpp", - "external/sources/boost/boost/preprocessor/repetition.hpp", - "external/sources/boost/boost/preprocessor/repetition/deduce_r.hpp", - "external/sources/boost/boost/preprocessor/repetition/deduce_z.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/dmc/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/edg/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/msvc/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params_with_a_default.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params_with_defaults.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/repeat.hpp", - "external/sources/boost/boost/preprocessor/repetition/repeat_from_to.hpp", - "external/sources/boost/boost/preprocessor/selection.hpp", - "external/sources/boost/boost/preprocessor/selection/max.hpp", - "external/sources/boost/boost/preprocessor/selection/min.hpp", - "external/sources/boost/boost/preprocessor/seq.hpp", - "external/sources/boost/boost/preprocessor/seq/cat.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/binary_transform.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/is_empty.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/split.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/to_list_msvc.hpp", - "external/sources/boost/boost/preprocessor/seq/elem.hpp", - "external/sources/boost/boost/preprocessor/seq/enum.hpp", - "external/sources/boost/boost/preprocessor/seq/filter.hpp", - "external/sources/boost/boost/preprocessor/seq/first_n.hpp", - "external/sources/boost/boost/preprocessor/seq/fold_left.hpp", - "external/sources/boost/boost/preprocessor/seq/fold_right.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each_i.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each_product.hpp", - "external/sources/boost/boost/preprocessor/seq/insert.hpp", - "external/sources/boost/boost/preprocessor/seq/pop_back.hpp", - "external/sources/boost/boost/preprocessor/seq/pop_front.hpp", - "external/sources/boost/boost/preprocessor/seq/push_back.hpp", - "external/sources/boost/boost/preprocessor/seq/push_front.hpp", - "external/sources/boost/boost/preprocessor/seq/remove.hpp", - "external/sources/boost/boost/preprocessor/seq/replace.hpp", - "external/sources/boost/boost/preprocessor/seq/rest_n.hpp", - "external/sources/boost/boost/preprocessor/seq/reverse.hpp", - "external/sources/boost/boost/preprocessor/seq/seq.hpp", - "external/sources/boost/boost/preprocessor/seq/size.hpp", - "external/sources/boost/boost/preprocessor/seq/subseq.hpp", - "external/sources/boost/boost/preprocessor/seq/to_array.hpp", - "external/sources/boost/boost/preprocessor/seq/to_list.hpp", - "external/sources/boost/boost/preprocessor/seq/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/seq/transform.hpp", - "external/sources/boost/boost/preprocessor/seq/variadic_seq_to_seq.hpp", - "external/sources/boost/boost/preprocessor/slot.hpp", - "external/sources/boost/boost/preprocessor/slot/counter.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/counter.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/def.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/shared.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot1.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot2.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot3.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot4.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot5.hpp", - "external/sources/boost/boost/preprocessor/slot/slot.hpp", - "external/sources/boost/boost/preprocessor/stringize.hpp", - "external/sources/boost/boost/preprocessor/tuple.hpp", - "external/sources/boost/boost/preprocessor/tuple/detail/is_single_return.hpp", - "external/sources/boost/boost/preprocessor/tuple/eat.hpp", - "external/sources/boost/boost/preprocessor/tuple/elem.hpp", - "external/sources/boost/boost/preprocessor/tuple/enum.hpp", - "external/sources/boost/boost/preprocessor/tuple/insert.hpp", - "external/sources/boost/boost/preprocessor/tuple/pop_back.hpp", - "external/sources/boost/boost/preprocessor/tuple/pop_front.hpp", - "external/sources/boost/boost/preprocessor/tuple/push_back.hpp", - "external/sources/boost/boost/preprocessor/tuple/push_front.hpp", - "external/sources/boost/boost/preprocessor/tuple/rem.hpp", - "external/sources/boost/boost/preprocessor/tuple/remove.hpp", - "external/sources/boost/boost/preprocessor/tuple/replace.hpp", - "external/sources/boost/boost/preprocessor/tuple/reverse.hpp", - "external/sources/boost/boost/preprocessor/tuple/size.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_array.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_list.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_seq.hpp", - "external/sources/boost/boost/preprocessor/variadic.hpp", - "external/sources/boost/boost/preprocessor/variadic/detail/has_opt.hpp", - "external/sources/boost/boost/preprocessor/variadic/detail/is_single_return.hpp", - "external/sources/boost/boost/preprocessor/variadic/elem.hpp", - "external/sources/boost/boost/preprocessor/variadic/has_opt.hpp", - "external/sources/boost/boost/preprocessor/variadic/size.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_array.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_list.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_seq.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/while.hpp", - "external/sources/boost/boost/preprocessor/wstringize.hpp", - "external/sources/boost/boost/process.hpp", - "external/sources/boost/boost/process/args.hpp", - "external/sources/boost/boost/process/async.hpp", - "external/sources/boost/boost/process/async_pipe.hpp", - "external/sources/boost/boost/process/async_system.hpp", - "external/sources/boost/boost/process/child.hpp", - "external/sources/boost/boost/process/cmd.hpp", - "external/sources/boost/boost/process/detail/async_handler.hpp", - "external/sources/boost/boost/process/detail/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/child_decl.hpp", - "external/sources/boost/boost/process/detail/config.hpp", - "external/sources/boost/boost/process/detail/execute_impl.hpp", - "external/sources/boost/boost/process/detail/handler.hpp", - "external/sources/boost/boost/process/detail/handler_base.hpp", - "external/sources/boost/boost/process/detail/on_exit.hpp", - "external/sources/boost/boost/process/detail/posix/asio_fwd.hpp", - "external/sources/boost/boost/process/detail/posix/async_handler.hpp", - "external/sources/boost/boost/process/detail/posix/async_in.hpp", - "external/sources/boost/boost/process/detail/posix/async_out.hpp", - "external/sources/boost/boost/process/detail/posix/async_pipe.hpp", - "external/sources/boost/boost/process/detail/posix/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/posix/basic_pipe.hpp", - "external/sources/boost/boost/process/detail/posix/child_handle.hpp", - "external/sources/boost/boost/process/detail/posix/close_in.hpp", - "external/sources/boost/boost/process/detail/posix/close_out.hpp", - "external/sources/boost/boost/process/detail/posix/cmd.hpp", - "external/sources/boost/boost/process/detail/posix/compare_handles.hpp", - "external/sources/boost/boost/process/detail/posix/env_init.hpp", - "external/sources/boost/boost/process/detail/posix/environment.hpp", - "external/sources/boost/boost/process/detail/posix/exe.hpp", - "external/sources/boost/boost/process/detail/posix/executor.hpp", - "external/sources/boost/boost/process/detail/posix/fd.hpp", - "external/sources/boost/boost/process/detail/posix/file_descriptor.hpp", - "external/sources/boost/boost/process/detail/posix/file_in.hpp", - "external/sources/boost/boost/process/detail/posix/file_out.hpp", - "external/sources/boost/boost/process/detail/posix/group_handle.hpp", - "external/sources/boost/boost/process/detail/posix/group_ref.hpp", - "external/sources/boost/boost/process/detail/posix/handler.hpp", - "external/sources/boost/boost/process/detail/posix/handles.hpp", - "external/sources/boost/boost/process/detail/posix/io_context_ref.hpp", - "external/sources/boost/boost/process/detail/posix/is_running.hpp", - "external/sources/boost/boost/process/detail/posix/null_in.hpp", - "external/sources/boost/boost/process/detail/posix/null_out.hpp", - "external/sources/boost/boost/process/detail/posix/on_exit.hpp", - "external/sources/boost/boost/process/detail/posix/pipe_in.hpp", - "external/sources/boost/boost/process/detail/posix/pipe_out.hpp", - "external/sources/boost/boost/process/detail/posix/search_path.hpp", - "external/sources/boost/boost/process/detail/posix/shell_path.hpp", - "external/sources/boost/boost/process/detail/posix/sigchld_service.hpp", - "external/sources/boost/boost/process/detail/posix/signal.hpp", - "external/sources/boost/boost/process/detail/posix/start_dir.hpp", - "external/sources/boost/boost/process/detail/posix/terminate.hpp", - "external/sources/boost/boost/process/detail/posix/use_vfork.hpp", - "external/sources/boost/boost/process/detail/posix/wait_for_exit.hpp", - "external/sources/boost/boost/process/detail/posix/wait_group.hpp", - "external/sources/boost/boost/process/detail/throw_on_error.hpp", - "external/sources/boost/boost/process/detail/traits.hpp", - "external/sources/boost/boost/process/detail/traits/async.hpp", - "external/sources/boost/boost/process/detail/traits/cmd_or_exe.hpp", - "external/sources/boost/boost/process/detail/traits/decl.hpp", - "external/sources/boost/boost/process/detail/traits/env.hpp", - "external/sources/boost/boost/process/detail/traits/error.hpp", - "external/sources/boost/boost/process/detail/traits/group.hpp", - "external/sources/boost/boost/process/detail/traits/wchar_t.hpp", - "external/sources/boost/boost/process/detail/used_handles.hpp", - "external/sources/boost/boost/process/detail/windows/asio_fwd.hpp", - "external/sources/boost/boost/process/detail/windows/async_handler.hpp", - "external/sources/boost/boost/process/detail/windows/async_in.hpp", - "external/sources/boost/boost/process/detail/windows/async_out.hpp", - "external/sources/boost/boost/process/detail/windows/async_pipe.hpp", - "external/sources/boost/boost/process/detail/windows/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/windows/basic_pipe.hpp", - "external/sources/boost/boost/process/detail/windows/child_handle.hpp", - "external/sources/boost/boost/process/detail/windows/close_in.hpp", - "external/sources/boost/boost/process/detail/windows/close_out.hpp", - "external/sources/boost/boost/process/detail/windows/cmd.hpp", - "external/sources/boost/boost/process/detail/windows/compare_handles.hpp", - "external/sources/boost/boost/process/detail/windows/env_init.hpp", - "external/sources/boost/boost/process/detail/windows/environment.hpp", - "external/sources/boost/boost/process/detail/windows/executor.hpp", - "external/sources/boost/boost/process/detail/windows/file_descriptor.hpp", - "external/sources/boost/boost/process/detail/windows/file_in.hpp", - "external/sources/boost/boost/process/detail/windows/file_out.hpp", - "external/sources/boost/boost/process/detail/windows/group_handle.hpp", - "external/sources/boost/boost/process/detail/windows/group_ref.hpp", - "external/sources/boost/boost/process/detail/windows/handle_workaround.hpp", - "external/sources/boost/boost/process/detail/windows/handler.hpp", - "external/sources/boost/boost/process/detail/windows/handles.hpp", - "external/sources/boost/boost/process/detail/windows/io_context_ref.hpp", - "external/sources/boost/boost/process/detail/windows/is_running.hpp", - "external/sources/boost/boost/process/detail/windows/job_workaround.hpp", - "external/sources/boost/boost/process/detail/windows/locale.hpp", - "external/sources/boost/boost/process/detail/windows/null_in.hpp", - "external/sources/boost/boost/process/detail/windows/null_out.hpp", - "external/sources/boost/boost/process/detail/windows/on_exit.hpp", - "external/sources/boost/boost/process/detail/windows/pipe_in.hpp", - "external/sources/boost/boost/process/detail/windows/pipe_out.hpp", - "external/sources/boost/boost/process/detail/windows/search_path.hpp", - "external/sources/boost/boost/process/detail/windows/shell_path.hpp", - "external/sources/boost/boost/process/detail/windows/show_window.hpp", - "external/sources/boost/boost/process/detail/windows/start_dir.hpp", - "external/sources/boost/boost/process/detail/windows/terminate.hpp", - "external/sources/boost/boost/process/detail/windows/wait_for_exit.hpp", - "external/sources/boost/boost/process/detail/windows/wait_group.hpp", - "external/sources/boost/boost/process/env.hpp", - "external/sources/boost/boost/process/environment.hpp", - "external/sources/boost/boost/process/error.hpp", - "external/sources/boost/boost/process/exception.hpp", - "external/sources/boost/boost/process/exe.hpp", - "external/sources/boost/boost/process/extend.hpp", - "external/sources/boost/boost/process/group.hpp", - "external/sources/boost/boost/process/handles.hpp", - "external/sources/boost/boost/process/io.hpp", - "external/sources/boost/boost/process/locale.hpp", - "external/sources/boost/boost/process/pipe.hpp", - "external/sources/boost/boost/process/posix.hpp", - "external/sources/boost/boost/process/search_path.hpp", - "external/sources/boost/boost/process/shell.hpp", - "external/sources/boost/boost/process/spawn.hpp", - "external/sources/boost/boost/process/start_dir.hpp", - "external/sources/boost/boost/process/system.hpp", - "external/sources/boost/boost/process/windows.hpp", - "external/sources/boost/boost/program_options.hpp", - "external/sources/boost/boost/program_options/cmdline.hpp", - "external/sources/boost/boost/program_options/config.hpp", - "external/sources/boost/boost/program_options/detail/cmdline.hpp", - "external/sources/boost/boost/program_options/detail/config_file.hpp", - "external/sources/boost/boost/program_options/detail/convert.hpp", - "external/sources/boost/boost/program_options/detail/parsers.hpp", - "external/sources/boost/boost/program_options/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/program_options/detail/value_semantic.hpp", - "external/sources/boost/boost/program_options/environment_iterator.hpp", - "external/sources/boost/boost/program_options/eof_iterator.hpp", - "external/sources/boost/boost/program_options/errors.hpp", - "external/sources/boost/boost/program_options/option.hpp", - "external/sources/boost/boost/program_options/options_description.hpp", - "external/sources/boost/boost/program_options/parsers.hpp", - "external/sources/boost/boost/program_options/positional_options.hpp", - "external/sources/boost/boost/program_options/value_semantic.hpp", - "external/sources/boost/boost/program_options/variables_map.hpp", - "external/sources/boost/boost/program_options/version.hpp", - "external/sources/boost/boost/progress.hpp", - "external/sources/boost/boost/property_map/compose_property_map.hpp", - "external/sources/boost/boost/property_map/dynamic_property_map.hpp", - "external/sources/boost/boost/property_map/function_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/basic_reduce.hpp", - "external/sources/boost/boost/property_map/parallel/caching_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/detail/untracked_pair.hpp", - "external/sources/boost/boost/property_map/parallel/distributed_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/global_index_map.hpp", - "external/sources/boost/boost/property_map/parallel/impl/distributed_property_map.ipp", - "external/sources/boost/boost/property_map/parallel/local_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/parallel_property_maps.hpp", - "external/sources/boost/boost/property_map/parallel/process_group.hpp", - "external/sources/boost/boost/property_map/parallel/simple_trigger.hpp", - "external/sources/boost/boost/property_map/parallel/unsafe_serialize.hpp", - "external/sources/boost/boost/property_map/parallel/vector_property_map.hpp", - "external/sources/boost/boost/property_map/property_map.hpp", - "external/sources/boost/boost/property_map/property_map_iterator.hpp", - "external/sources/boost/boost/property_map/shared_array_property_map.hpp", - "external/sources/boost/boost/property_map/transform_value_property_map.hpp", - "external/sources/boost/boost/property_map/vector_property_map.hpp", - "external/sources/boost/boost/property_tree/detail/exception_implementation.hpp", - "external/sources/boost/boost/property_tree/detail/file_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_read.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_utils.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_write.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_writer_settings.hpp", - "external/sources/boost/boost/property_tree/detail/ptree_implementation.hpp", - "external/sources/boost/boost/property_tree/detail/ptree_utils.hpp", - "external/sources/boost/boost/property_tree/detail/rapidxml.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_flags.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_read_rapidxml.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_utils.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_write.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_writer_settings.hpp", - "external/sources/boost/boost/property_tree/exceptions.hpp", - "external/sources/boost/boost/property_tree/id_translator.hpp", - "external/sources/boost/boost/property_tree/info_parser.hpp", - "external/sources/boost/boost/property_tree/ini_parser.hpp", - "external/sources/boost/boost/property_tree/json_parser.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/narrow_encoding.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/parser.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/read.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/standard_callbacks.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/wide_encoding.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/write.hpp", - "external/sources/boost/boost/property_tree/json_parser/error.hpp", - "external/sources/boost/boost/property_tree/ptree.hpp", - "external/sources/boost/boost/property_tree/ptree_fwd.hpp", - "external/sources/boost/boost/property_tree/ptree_serialization.hpp", - "external/sources/boost/boost/property_tree/stream_translator.hpp", - "external/sources/boost/boost/property_tree/string_path.hpp", - "external/sources/boost/boost/property_tree/xml_parser.hpp", - "external/sources/boost/boost/proto/args.hpp", - "external/sources/boost/boost/proto/context.hpp", - "external/sources/boost/boost/proto/context/callable.hpp", - "external/sources/boost/boost/proto/context/default.hpp", - "external/sources/boost/boost/proto/context/detail/callable_eval.hpp", - "external/sources/boost/boost/proto/context/detail/default_eval.hpp", - "external/sources/boost/boost/proto/context/detail/null_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/callable_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/default_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/null_eval.hpp", - "external/sources/boost/boost/proto/context/null.hpp", - "external/sources/boost/boost/proto/core.hpp", - "external/sources/boost/boost/proto/debug.hpp", - "external/sources/boost/boost/proto/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/and_n.hpp", - "external/sources/boost/boost/proto/detail/any.hpp", - "external/sources/boost/boost/proto/detail/args.hpp", - "external/sources/boost/boost/proto/detail/as_expr.hpp", - "external/sources/boost/boost/proto/detail/as_lvalue.hpp", - "external/sources/boost/boost/proto/detail/basic_expr.hpp", - "external/sources/boost/boost/proto/detail/class_member_traits.hpp", - "external/sources/boost/boost/proto/detail/decltype.hpp", - "external/sources/boost/boost/proto/detail/deduce_domain.hpp", - "external/sources/boost/boost/proto/detail/deduce_domain_n.hpp", - "external/sources/boost/boost/proto/detail/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/deprecated.hpp", - "external/sources/boost/boost/proto/detail/dont_care.hpp", - "external/sources/boost/boost/proto/detail/expr.hpp", - "external/sources/boost/boost/proto/detail/expr_funop.hpp", - "external/sources/boost/boost/proto/detail/extends_funop.hpp", - "external/sources/boost/boost/proto/detail/extends_funop_const.hpp", - "external/sources/boost/boost/proto/detail/funop.hpp", - "external/sources/boost/boost/proto/detail/generate_by_value.hpp", - "external/sources/boost/boost/proto/detail/ignore_unused.hpp", - "external/sources/boost/boost/proto/detail/is_noncopyable.hpp", - "external/sources/boost/boost/proto/detail/lambda_matches.hpp", - "external/sources/boost/boost/proto/detail/local.hpp", - "external/sources/boost/boost/proto/detail/make_expr.hpp", - "external/sources/boost/boost/proto/detail/make_expr_.hpp", - "external/sources/boost/boost/proto/detail/make_expr_funop.hpp", - "external/sources/boost/boost/proto/detail/matches_.hpp", - "external/sources/boost/boost/proto/detail/memfun_funop.hpp", - "external/sources/boost/boost/proto/detail/or_n.hpp", - "external/sources/boost/boost/proto/detail/poly_function.hpp", - "external/sources/boost/boost/proto/detail/poly_function_funop.hpp", - "external/sources/boost/boost/proto/detail/poly_function_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/and_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/args.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/basic_expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/class_member_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/deduce_domain_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/expr_variadic.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/extends_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/extends_funop_const.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/generate_by_value.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/lambda_matches.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/matches_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/memfun_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/or_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/poly_function_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/poly_function_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/template_arity_helper.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/unpack_expr_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/vararg_matches_impl.hpp", - "external/sources/boost/boost/proto/detail/remove_typename.hpp", - "external/sources/boost/boost/proto/detail/static_const.hpp", - "external/sources/boost/boost/proto/detail/template_arity.hpp", - "external/sources/boost/boost/proto/detail/template_arity_helper.hpp", - "external/sources/boost/boost/proto/detail/traits.hpp", - "external/sources/boost/boost/proto/detail/unpack_expr_.hpp", - "external/sources/boost/boost/proto/detail/vararg_matches_impl.hpp", - "external/sources/boost/boost/proto/domain.hpp", - "external/sources/boost/boost/proto/eval.hpp", - "external/sources/boost/boost/proto/expr.hpp", - "external/sources/boost/boost/proto/extends.hpp", - "external/sources/boost/boost/proto/functional.hpp", - "external/sources/boost/boost/proto/functional/fusion.hpp", - "external/sources/boost/boost/proto/functional/fusion/at.hpp", - "external/sources/boost/boost/proto/functional/fusion/pop_back.hpp", - "external/sources/boost/boost/proto/functional/fusion/pop_front.hpp", - "external/sources/boost/boost/proto/functional/fusion/push_back.hpp", - "external/sources/boost/boost/proto/functional/fusion/push_front.hpp", - "external/sources/boost/boost/proto/functional/fusion/reverse.hpp", - "external/sources/boost/boost/proto/functional/range.hpp", - "external/sources/boost/boost/proto/functional/range/begin.hpp", - "external/sources/boost/boost/proto/functional/range/empty.hpp", - "external/sources/boost/boost/proto/functional/range/end.hpp", - "external/sources/boost/boost/proto/functional/range/rbegin.hpp", - "external/sources/boost/boost/proto/functional/range/rend.hpp", - "external/sources/boost/boost/proto/functional/range/size.hpp", - "external/sources/boost/boost/proto/functional/std.hpp", - "external/sources/boost/boost/proto/functional/std/iterator.hpp", - "external/sources/boost/boost/proto/functional/std/utility.hpp", - "external/sources/boost/boost/proto/fusion.hpp", - "external/sources/boost/boost/proto/generate.hpp", - "external/sources/boost/boost/proto/literal.hpp", - "external/sources/boost/boost/proto/make_expr.hpp", - "external/sources/boost/boost/proto/matches.hpp", - "external/sources/boost/boost/proto/operators.hpp", - "external/sources/boost/boost/proto/proto.hpp", - "external/sources/boost/boost/proto/proto_fwd.hpp", - "external/sources/boost/boost/proto/proto_typeof.hpp", - "external/sources/boost/boost/proto/repeat.hpp", - "external/sources/boost/boost/proto/tags.hpp", - "external/sources/boost/boost/proto/traits.hpp", - "external/sources/boost/boost/proto/transform.hpp", - "external/sources/boost/boost/proto/transform/arg.hpp", - "external/sources/boost/boost/proto/transform/call.hpp", - "external/sources/boost/boost/proto/transform/default.hpp", - "external/sources/boost/boost/proto/transform/detail/call.hpp", - "external/sources/boost/boost/proto/transform/detail/construct_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/construct_pod_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/default_function_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/expand_pack.hpp", - "external/sources/boost/boost/proto/transform/detail/fold_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/lazy.hpp", - "external/sources/boost/boost/proto/transform/detail/make.hpp", - "external/sources/boost/boost/proto/transform/detail/make_gcc_workaround.hpp", - "external/sources/boost/boost/proto/transform/detail/pack.hpp", - "external/sources/boost/boost/proto/transform/detail/pack_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/pass_through_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/call.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_pod_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/default_function_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/expand_pack.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/fold_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/lazy.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/make.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/make_gcc_workaround.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/pack_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/pass_through_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/when.hpp", - "external/sources/boost/boost/proto/transform/detail/when.hpp", - "external/sources/boost/boost/proto/transform/env.hpp", - "external/sources/boost/boost/proto/transform/fold.hpp", - "external/sources/boost/boost/proto/transform/fold_tree.hpp", - "external/sources/boost/boost/proto/transform/impl.hpp", - "external/sources/boost/boost/proto/transform/integral_c.hpp", - "external/sources/boost/boost/proto/transform/lazy.hpp", - "external/sources/boost/boost/proto/transform/make.hpp", - "external/sources/boost/boost/proto/transform/pass_through.hpp", - "external/sources/boost/boost/proto/transform/when.hpp", - "external/sources/boost/boost/ptr_container/clone_allocator.hpp", - "external/sources/boost/boost/ptr_container/detail/associative_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/detail/default_deleter.hpp", - "external/sources/boost/boost/ptr_container/detail/is_convertible.hpp", - "external/sources/boost/boost/ptr_container/detail/map_iterator.hpp", - "external/sources/boost/boost/ptr_container/detail/meta_functions.hpp", - "external/sources/boost/boost/ptr_container/detail/move.hpp", - "external/sources/boost/boost/ptr_container/detail/ptr_container_disable_deprecated.hpp", - "external/sources/boost/boost/ptr_container/detail/reversible_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/detail/scoped_deleter.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_ptr_map_adapter.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_reversible_cont.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_xml_names.hpp", - "external/sources/boost/boost/ptr_container/detail/static_move_ptr.hpp", - "external/sources/boost/boost/ptr_container/detail/throw_exception.hpp", - "external/sources/boost/boost/ptr_container/detail/void_ptr_iterator.hpp", - "external/sources/boost/boost/ptr_container/exception.hpp", - "external/sources/boost/boost/ptr_container/indirect_fun.hpp", - "external/sources/boost/boost/ptr_container/nullable.hpp", - "external/sources/boost/boost/ptr_container/ptr_array.hpp", - "external/sources/boost/boost/ptr_container/ptr_circular_buffer.hpp", - "external/sources/boost/boost/ptr_container/ptr_container.hpp", - "external/sources/boost/boost/ptr_container/ptr_deque.hpp", - "external/sources/boost/boost/ptr_container/ptr_inserter.hpp", - "external/sources/boost/boost/ptr_container/ptr_list.hpp", - "external/sources/boost/boost/ptr_container/ptr_map.hpp", - "external/sources/boost/boost/ptr_container/ptr_map_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_sequence_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_set.hpp", - "external/sources/boost/boost/ptr_container/ptr_set_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_unordered_map.hpp", - "external/sources/boost/boost/ptr_container/ptr_unordered_set.hpp", - "external/sources/boost/boost/ptr_container/ptr_vector.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_array.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_circular_buffer.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_deque.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_list.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_map.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_set.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_map.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_set.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_vector.hpp", - "external/sources/boost/boost/python.hpp", - "external/sources/boost/boost/python/arg_from_python.hpp", - "external/sources/boost/boost/python/args.hpp", - "external/sources/boost/boost/python/args_fwd.hpp", - "external/sources/boost/boost/python/back_reference.hpp", - "external/sources/boost/boost/python/base_type_traits.hpp", - "external/sources/boost/boost/python/bases.hpp", - "external/sources/boost/boost/python/borrowed.hpp", - "external/sources/boost/boost/python/call.hpp", - "external/sources/boost/boost/python/call_method.hpp", - "external/sources/boost/boost/python/cast.hpp", - "external/sources/boost/boost/python/class.hpp", - "external/sources/boost/boost/python/class_fwd.hpp", - "external/sources/boost/boost/python/converter/arg_from_python.hpp", - "external/sources/boost/boost/python/converter/arg_to_python.hpp", - "external/sources/boost/boost/python/converter/arg_to_python_base.hpp", - "external/sources/boost/boost/python/converter/as_to_python_function.hpp", - "external/sources/boost/boost/python/converter/builtin_converters.hpp", - "external/sources/boost/boost/python/converter/constructor_function.hpp", - "external/sources/boost/boost/python/converter/context_result_converter.hpp", - "external/sources/boost/boost/python/converter/convertible_function.hpp", - "external/sources/boost/boost/python/converter/from_python.hpp", - "external/sources/boost/boost/python/converter/implicit.hpp", - "external/sources/boost/boost/python/converter/obj_mgr_arg_from_python.hpp", - "external/sources/boost/boost/python/converter/object_manager.hpp", - "external/sources/boost/boost/python/converter/pointer_type_id.hpp", - "external/sources/boost/boost/python/converter/pyobject_traits.hpp", - "external/sources/boost/boost/python/converter/pyobject_type.hpp", - "external/sources/boost/boost/python/converter/pytype_function.hpp", - "external/sources/boost/boost/python/converter/pytype_object_mgr_traits.hpp", - "external/sources/boost/boost/python/converter/registered.hpp", - "external/sources/boost/boost/python/converter/registered_pointee.hpp", - "external/sources/boost/boost/python/converter/registrations.hpp", - "external/sources/boost/boost/python/converter/registry.hpp", - "external/sources/boost/boost/python/converter/return_from_python.hpp", - "external/sources/boost/boost/python/converter/rvalue_from_python_data.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_deleter.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_from_python.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_to_python.hpp", - "external/sources/boost/boost/python/converter/to_python_function_type.hpp", - "external/sources/boost/boost/python/copy_const_reference.hpp", - "external/sources/boost/boost/python/copy_non_const_reference.hpp", - "external/sources/boost/boost/python/data_members.hpp", - "external/sources/boost/boost/python/def.hpp", - "external/sources/boost/boost/python/def_visitor.hpp", - "external/sources/boost/boost/python/default_call_policies.hpp", - "external/sources/boost/boost/python/detail/aix_init_module.hpp", - "external/sources/boost/boost/python/detail/api_placeholder.hpp", - "external/sources/boost/boost/python/detail/borrowed_ptr.hpp", - "external/sources/boost/boost/python/detail/caller.hpp", - "external/sources/boost/boost/python/detail/config.hpp", - "external/sources/boost/boost/python/detail/construct.hpp", - "external/sources/boost/boost/python/detail/convertible.hpp", - "external/sources/boost/boost/python/detail/copy_ctor_mutates_rhs.hpp", - "external/sources/boost/boost/python/detail/cv_category.hpp", - "external/sources/boost/boost/python/detail/dealloc.hpp", - "external/sources/boost/boost/python/detail/decorated_type_id.hpp", - "external/sources/boost/boost/python/detail/decref_guard.hpp", - "external/sources/boost/boost/python/detail/def_helper.hpp", - "external/sources/boost/boost/python/detail/def_helper_fwd.hpp", - "external/sources/boost/boost/python/detail/defaults_def.hpp", - "external/sources/boost/boost/python/detail/defaults_gen.hpp", - "external/sources/boost/boost/python/detail/dependent.hpp", - "external/sources/boost/boost/python/detail/destroy.hpp", - "external/sources/boost/boost/python/detail/enable_if.hpp", - "external/sources/boost/boost/python/detail/exception_handler.hpp", - "external/sources/boost/boost/python/detail/force_instantiate.hpp", - "external/sources/boost/boost/python/detail/if_else.hpp", - "external/sources/boost/boost/python/detail/indirect_traits.hpp", - "external/sources/boost/boost/python/detail/invoke.hpp", - "external/sources/boost/boost/python/detail/is_auto_ptr.hpp", - "external/sources/boost/boost/python/detail/is_shared_ptr.hpp", - "external/sources/boost/boost/python/detail/is_wrapper.hpp", - "external/sources/boost/boost/python/detail/is_xxx.hpp", - "external/sources/boost/boost/python/detail/make_keyword_range_fn.hpp", - "external/sources/boost/boost/python/detail/make_tuple.hpp", - "external/sources/boost/boost/python/detail/map_entry.hpp", - "external/sources/boost/boost/python/detail/mpl_lambda.hpp", - "external/sources/boost/boost/python/detail/msvc_typeinfo.hpp", - "external/sources/boost/boost/python/detail/none.hpp", - "external/sources/boost/boost/python/detail/not_specified.hpp", - "external/sources/boost/boost/python/detail/nullary_function_adaptor.hpp", - "external/sources/boost/boost/python/detail/operator_id.hpp", - "external/sources/boost/boost/python/detail/overloads_fwd.hpp", - "external/sources/boost/boost/python/detail/pointee.hpp", - "external/sources/boost/boost/python/detail/prefix.hpp", - "external/sources/boost/boost/python/detail/preprocessor.hpp", - "external/sources/boost/boost/python/detail/python22_fixed.h", - "external/sources/boost/boost/python/detail/python_type.hpp", - "external/sources/boost/boost/python/detail/raw_pyobject.hpp", - "external/sources/boost/boost/python/detail/referent_storage.hpp", - "external/sources/boost/boost/python/detail/result.hpp", - "external/sources/boost/boost/python/detail/scope.hpp", - "external/sources/boost/boost/python/detail/sfinae.hpp", - "external/sources/boost/boost/python/detail/signature.hpp", - "external/sources/boost/boost/python/detail/string_literal.hpp", - "external/sources/boost/boost/python/detail/target.hpp", - "external/sources/boost/boost/python/detail/translate_exception.hpp", - "external/sources/boost/boost/python/detail/type_list.hpp", - "external/sources/boost/boost/python/detail/type_list_impl.hpp", - "external/sources/boost/boost/python/detail/type_traits.hpp", - "external/sources/boost/boost/python/detail/unwind_type.hpp", - "external/sources/boost/boost/python/detail/unwrap_type_id.hpp", - "external/sources/boost/boost/python/detail/unwrap_wrapper.hpp", - "external/sources/boost/boost/python/detail/value_arg.hpp", - "external/sources/boost/boost/python/detail/value_is_shared_ptr.hpp", - "external/sources/boost/boost/python/detail/value_is_xxx.hpp", - "external/sources/boost/boost/python/detail/void_ptr.hpp", - "external/sources/boost/boost/python/detail/void_return.hpp", - "external/sources/boost/boost/python/detail/wrap_python.hpp", - "external/sources/boost/boost/python/detail/wrapper_base.hpp", - "external/sources/boost/boost/python/dict.hpp", - "external/sources/boost/boost/python/docstring_options.hpp", - "external/sources/boost/boost/python/enum.hpp", - "external/sources/boost/boost/python/errors.hpp", - "external/sources/boost/boost/python/exception_translator.hpp", - "external/sources/boost/boost/python/exec.hpp", - "external/sources/boost/boost/python/extract.hpp", - "external/sources/boost/boost/python/handle.hpp", - "external/sources/boost/boost/python/handle_fwd.hpp", - "external/sources/boost/boost/python/has_back_reference.hpp", - "external/sources/boost/boost/python/implicit.hpp", - "external/sources/boost/boost/python/import.hpp", - "external/sources/boost/boost/python/init.hpp", - "external/sources/boost/boost/python/instance_holder.hpp", - "external/sources/boost/boost/python/iterator.hpp", - "external/sources/boost/boost/python/list.hpp", - "external/sources/boost/boost/python/long.hpp", - "external/sources/boost/boost/python/lvalue_from_pytype.hpp", - "external/sources/boost/boost/python/make_constructor.hpp", - "external/sources/boost/boost/python/make_function.hpp", - "external/sources/boost/boost/python/manage_new_object.hpp", - "external/sources/boost/boost/python/module.hpp", - "external/sources/boost/boost/python/module_init.hpp", - "external/sources/boost/boost/python/numpy.hpp", - "external/sources/boost/boost/python/numpy/config.hpp", - "external/sources/boost/boost/python/numpy/dtype.hpp", - "external/sources/boost/boost/python/numpy/internal.hpp", - "external/sources/boost/boost/python/numpy/invoke_matching.hpp", - "external/sources/boost/boost/python/numpy/matrix.hpp", - "external/sources/boost/boost/python/numpy/ndarray.hpp", - "external/sources/boost/boost/python/numpy/numpy_object_mgr_traits.hpp", - "external/sources/boost/boost/python/numpy/scalars.hpp", - "external/sources/boost/boost/python/numpy/ufunc.hpp", - "external/sources/boost/boost/python/object.hpp", - "external/sources/boost/boost/python/object/add_to_namespace.hpp", - "external/sources/boost/boost/python/object/class.hpp", - "external/sources/boost/boost/python/object/class_detail.hpp", - "external/sources/boost/boost/python/object/class_metadata.hpp", - "external/sources/boost/boost/python/object/class_wrapper.hpp", - "external/sources/boost/boost/python/object/enum_base.hpp", - "external/sources/boost/boost/python/object/find_instance.hpp", - "external/sources/boost/boost/python/object/forward.hpp", - "external/sources/boost/boost/python/object/function.hpp", - "external/sources/boost/boost/python/object/function_doc_signature.hpp", - "external/sources/boost/boost/python/object/function_handle.hpp", - "external/sources/boost/boost/python/object/function_object.hpp", - "external/sources/boost/boost/python/object/inheritance.hpp", - "external/sources/boost/boost/python/object/inheritance_query.hpp", - "external/sources/boost/boost/python/object/instance.hpp", - "external/sources/boost/boost/python/object/iterator.hpp", - "external/sources/boost/boost/python/object/iterator_core.hpp", - "external/sources/boost/boost/python/object/life_support.hpp", - "external/sources/boost/boost/python/object/make_holder.hpp", - "external/sources/boost/boost/python/object/make_instance.hpp", - "external/sources/boost/boost/python/object/make_ptr_instance.hpp", - "external/sources/boost/boost/python/object/pickle_support.hpp", - "external/sources/boost/boost/python/object/pointer_holder.hpp", - "external/sources/boost/boost/python/object/py_function.hpp", - "external/sources/boost/boost/python/object/stl_iterator_core.hpp", - "external/sources/boost/boost/python/object/value_holder.hpp", - "external/sources/boost/boost/python/object/value_holder_fwd.hpp", - "external/sources/boost/boost/python/object_attributes.hpp", - "external/sources/boost/boost/python/object_call.hpp", - "external/sources/boost/boost/python/object_core.hpp", - "external/sources/boost/boost/python/object_fwd.hpp", - "external/sources/boost/boost/python/object_items.hpp", - "external/sources/boost/boost/python/object_operators.hpp", - "external/sources/boost/boost/python/object_protocol.hpp", - "external/sources/boost/boost/python/object_protocol_core.hpp", - "external/sources/boost/boost/python/object_slices.hpp", - "external/sources/boost/boost/python/opaque_pointer_converter.hpp", - "external/sources/boost/boost/python/operators.hpp", - "external/sources/boost/boost/python/other.hpp", - "external/sources/boost/boost/python/overloads.hpp", - "external/sources/boost/boost/python/override.hpp", - "external/sources/boost/boost/python/pointee.hpp", - "external/sources/boost/boost/python/proxy.hpp", - "external/sources/boost/boost/python/ptr.hpp", - "external/sources/boost/boost/python/pure_virtual.hpp", - "external/sources/boost/boost/python/raw_function.hpp", - "external/sources/boost/boost/python/refcount.hpp", - "external/sources/boost/boost/python/reference_existing_object.hpp", - "external/sources/boost/boost/python/register_ptr_to_python.hpp", - "external/sources/boost/boost/python/return_arg.hpp", - "external/sources/boost/boost/python/return_by_value.hpp", - "external/sources/boost/boost/python/return_internal_reference.hpp", - "external/sources/boost/boost/python/return_opaque_pointer.hpp", - "external/sources/boost/boost/python/return_value_policy.hpp", - "external/sources/boost/boost/python/scope.hpp", - "external/sources/boost/boost/python/self.hpp", - "external/sources/boost/boost/python/signature.hpp", - "external/sources/boost/boost/python/slice.hpp", - "external/sources/boost/boost/python/slice_nil.hpp", - "external/sources/boost/boost/python/ssize_t.hpp", - "external/sources/boost/boost/python/stl_iterator.hpp", - "external/sources/boost/boost/python/str.hpp", - "external/sources/boost/boost/python/suite/indexing/container_utils.hpp", - "external/sources/boost/boost/python/suite/indexing/detail/indexing_suite_detail.hpp", - "external/sources/boost/boost/python/suite/indexing/indexing_suite.hpp", - "external/sources/boost/boost/python/suite/indexing/map_indexing_suite.hpp", - "external/sources/boost/boost/python/suite/indexing/vector_indexing_suite.hpp", - "external/sources/boost/boost/python/tag.hpp", - "external/sources/boost/boost/python/to_python_converter.hpp", - "external/sources/boost/boost/python/to_python_indirect.hpp", - "external/sources/boost/boost/python/to_python_value.hpp", - "external/sources/boost/boost/python/tuple.hpp", - "external/sources/boost/boost/python/type_id.hpp", - "external/sources/boost/boost/python/with_custodian_and_ward.hpp", - "external/sources/boost/boost/python/wrapper.hpp", - "external/sources/boost/boost/qvm/all.hpp", - "external/sources/boost/boost/qvm/assert.hpp", - "external/sources/boost/boost/qvm/deduce_mat.hpp", - "external/sources/boost/boost/qvm/deduce_quat.hpp", - "external/sources/boost/boost/qvm/deduce_scalar.hpp", - "external/sources/boost/boost/qvm/deduce_vec.hpp", - "external/sources/boost/boost/qvm/detail/cofactor_impl.hpp", - "external/sources/boost/boost/qvm/detail/determinant_impl.hpp", - "external/sources/boost/boost/qvm/detail/mat_assign.hpp", - "external/sources/boost/boost/qvm/detail/quat_assign.hpp", - "external/sources/boost/boost/qvm/detail/remove_const.hpp", - "external/sources/boost/boost/qvm/detail/swizzle_traits.hpp", - "external/sources/boost/boost/qvm/detail/transp_impl.hpp", - "external/sources/boost/boost/qvm/detail/vec_assign.hpp", - "external/sources/boost/boost/qvm/detail/vec_register_impl.hpp", - "external/sources/boost/boost/qvm/enable_if.hpp", - "external/sources/boost/boost/qvm/error.hpp", - "external/sources/boost/boost/qvm/inline.hpp", - "external/sources/boost/boost/qvm/map.hpp", - "external/sources/boost/boost/qvm/map_mat_mat.hpp", - "external/sources/boost/boost/qvm/map_mat_vec.hpp", - "external/sources/boost/boost/qvm/map_vec_mat.hpp", - "external/sources/boost/boost/qvm/mat.hpp", - "external/sources/boost/boost/qvm/mat_access.hpp", - "external/sources/boost/boost/qvm/mat_operations.hpp", - "external/sources/boost/boost/qvm/mat_operations2.hpp", - "external/sources/boost/boost/qvm/mat_operations3.hpp", - "external/sources/boost/boost/qvm/mat_operations4.hpp", - "external/sources/boost/boost/qvm/mat_traits.hpp", - "external/sources/boost/boost/qvm/mat_traits_array.hpp", - "external/sources/boost/boost/qvm/mat_traits_defaults.hpp", - "external/sources/boost/boost/qvm/math.hpp", - "external/sources/boost/boost/qvm/operations.hpp", - "external/sources/boost/boost/qvm/quat.hpp", - "external/sources/boost/boost/qvm/quat_access.hpp", - "external/sources/boost/boost/qvm/quat_operations.hpp", - "external/sources/boost/boost/qvm/quat_traits.hpp", - "external/sources/boost/boost/qvm/quat_traits_array.hpp", - "external/sources/boost/boost/qvm/quat_traits_defaults.hpp", - "external/sources/boost/boost/qvm/quat_vec_operations.hpp", - "external/sources/boost/boost/qvm/scalar_traits.hpp", - "external/sources/boost/boost/qvm/static_assert.hpp", - "external/sources/boost/boost/qvm/swizzle.hpp", - "external/sources/boost/boost/qvm/swizzle2.hpp", - "external/sources/boost/boost/qvm/swizzle3.hpp", - "external/sources/boost/boost/qvm/swizzle4.hpp", - "external/sources/boost/boost/qvm/throw_exception.hpp", - "external/sources/boost/boost/qvm/to_string.hpp", - "external/sources/boost/boost/qvm/vec.hpp", - "external/sources/boost/boost/qvm/vec_access.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations2.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations3.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations4.hpp", - "external/sources/boost/boost/qvm/vec_operations.hpp", - "external/sources/boost/boost/qvm/vec_operations2.hpp", - "external/sources/boost/boost/qvm/vec_operations3.hpp", - "external/sources/boost/boost/qvm/vec_operations4.hpp", - "external/sources/boost/boost/qvm/vec_register.hpp", - "external/sources/boost/boost/qvm/vec_register2.hpp", - "external/sources/boost/boost/qvm/vec_register3.hpp", - "external/sources/boost/boost/qvm/vec_register4.hpp", - "external/sources/boost/boost/qvm/vec_traits.hpp", - "external/sources/boost/boost/qvm/vec_traits_array.hpp", - "external/sources/boost/boost/qvm/vec_traits_defaults.hpp", - "external/sources/boost/boost/random.hpp", - "external/sources/boost/boost/random/additive_combine.hpp", - "external/sources/boost/boost/random/bernoulli_distribution.hpp", - "external/sources/boost/boost/random/beta_distribution.hpp", - "external/sources/boost/boost/random/binomial_distribution.hpp", - "external/sources/boost/boost/random/cauchy_distribution.hpp", - "external/sources/boost/boost/random/chi_squared_distribution.hpp", - "external/sources/boost/boost/random/detail/auto_link.hpp", - "external/sources/boost/boost/random/detail/config.hpp", - "external/sources/boost/boost/random/detail/const_mod.hpp", - "external/sources/boost/boost/random/detail/disable_warnings.hpp", - "external/sources/boost/boost/random/detail/enable_warnings.hpp", - "external/sources/boost/boost/random/detail/generator_bits.hpp", - "external/sources/boost/boost/random/detail/generator_seed_seq.hpp", - "external/sources/boost/boost/random/detail/gray_coded_qrng.hpp", - "external/sources/boost/boost/random/detail/int_float_pair.hpp", - "external/sources/boost/boost/random/detail/integer_log2.hpp", - "external/sources/boost/boost/random/detail/iterator_mixin.hpp", - "external/sources/boost/boost/random/detail/large_arithmetic.hpp", - "external/sources/boost/boost/random/detail/niederreiter_base2_table.hpp", - "external/sources/boost/boost/random/detail/operators.hpp", - "external/sources/boost/boost/random/detail/polynomial.hpp", - "external/sources/boost/boost/random/detail/ptr_helper.hpp", - "external/sources/boost/boost/random/detail/qrng_base.hpp", - "external/sources/boost/boost/random/detail/seed.hpp", - "external/sources/boost/boost/random/detail/seed_impl.hpp", - "external/sources/boost/boost/random/detail/signed_unsigned_tools.hpp", - "external/sources/boost/boost/random/detail/sobol_table.hpp", - "external/sources/boost/boost/random/detail/uniform_int_float.hpp", - "external/sources/boost/boost/random/detail/vector_io.hpp", - "external/sources/boost/boost/random/discard_block.hpp", - "external/sources/boost/boost/random/discrete_distribution.hpp", - "external/sources/boost/boost/random/exponential_distribution.hpp", - "external/sources/boost/boost/random/extreme_value_distribution.hpp", - "external/sources/boost/boost/random/faure.hpp", - "external/sources/boost/boost/random/fisher_f_distribution.hpp", - "external/sources/boost/boost/random/gamma_distribution.hpp", - "external/sources/boost/boost/random/generate_canonical.hpp", - "external/sources/boost/boost/random/geometric_distribution.hpp", - "external/sources/boost/boost/random/hyperexponential_distribution.hpp", - "external/sources/boost/boost/random/independent_bits.hpp", - "external/sources/boost/boost/random/inversive_congruential.hpp", - "external/sources/boost/boost/random/lagged_fibonacci.hpp", - "external/sources/boost/boost/random/laplace_distribution.hpp", - "external/sources/boost/boost/random/linear_congruential.hpp", - "external/sources/boost/boost/random/linear_feedback_shift.hpp", - "external/sources/boost/boost/random/lognormal_distribution.hpp", - "external/sources/boost/boost/random/mersenne_twister.hpp", - "external/sources/boost/boost/random/negative_binomial_distribution.hpp", - "external/sources/boost/boost/random/niederreiter_base2.hpp", - "external/sources/boost/boost/random/non_central_chi_squared_distribution.hpp", - "external/sources/boost/boost/random/normal_distribution.hpp", - "external/sources/boost/boost/random/piecewise_constant_distribution.hpp", - "external/sources/boost/boost/random/piecewise_linear_distribution.hpp", - "external/sources/boost/boost/random/poisson_distribution.hpp", - "external/sources/boost/boost/random/random_device.hpp", - "external/sources/boost/boost/random/random_number_generator.hpp", - "external/sources/boost/boost/random/ranlux.hpp", - "external/sources/boost/boost/random/seed_seq.hpp", - "external/sources/boost/boost/random/shuffle_order.hpp", - "external/sources/boost/boost/random/shuffle_output.hpp", - "external/sources/boost/boost/random/sobol.hpp", - "external/sources/boost/boost/random/student_t_distribution.hpp", - "external/sources/boost/boost/random/subtract_with_carry.hpp", - "external/sources/boost/boost/random/taus88.hpp", - "external/sources/boost/boost/random/traits.hpp", - "external/sources/boost/boost/random/triangle_distribution.hpp", - "external/sources/boost/boost/random/uniform_01.hpp", - "external/sources/boost/boost/random/uniform_int.hpp", - "external/sources/boost/boost/random/uniform_int_distribution.hpp", - "external/sources/boost/boost/random/uniform_on_sphere.hpp", - "external/sources/boost/boost/random/uniform_real.hpp", - "external/sources/boost/boost/random/uniform_real_distribution.hpp", - "external/sources/boost/boost/random/uniform_smallint.hpp", - "external/sources/boost/boost/random/variate_generator.hpp", - "external/sources/boost/boost/random/weibull_distribution.hpp", - "external/sources/boost/boost/random/xor_combine.hpp", - "external/sources/boost/boost/range.hpp", - "external/sources/boost/boost/range/adaptor/adjacent_filtered.hpp", - "external/sources/boost/boost/range/adaptor/argument_fwd.hpp", - "external/sources/boost/boost/range/adaptor/copied.hpp", - "external/sources/boost/boost/range/adaptor/define_adaptor.hpp", - "external/sources/boost/boost/range/adaptor/filtered.hpp", - "external/sources/boost/boost/range/adaptor/formatted.hpp", - "external/sources/boost/boost/range/adaptor/indexed.hpp", - "external/sources/boost/boost/range/adaptor/indirected.hpp", - "external/sources/boost/boost/range/adaptor/map.hpp", - "external/sources/boost/boost/range/adaptor/ref_unwrapped.hpp", - "external/sources/boost/boost/range/adaptor/replaced.hpp", - "external/sources/boost/boost/range/adaptor/replaced_if.hpp", - "external/sources/boost/boost/range/adaptor/reversed.hpp", - "external/sources/boost/boost/range/adaptor/sliced.hpp", - "external/sources/boost/boost/range/adaptor/strided.hpp", - "external/sources/boost/boost/range/adaptor/tokenized.hpp", - "external/sources/boost/boost/range/adaptor/transformed.hpp", - "external/sources/boost/boost/range/adaptor/type_erased.hpp", - "external/sources/boost/boost/range/adaptor/uniqued.hpp", - "external/sources/boost/boost/range/adaptors.hpp", - "external/sources/boost/boost/range/algorithm.hpp", - "external/sources/boost/boost/range/algorithm/adjacent_find.hpp", - "external/sources/boost/boost/range/algorithm/binary_search.hpp", - "external/sources/boost/boost/range/algorithm/copy.hpp", - "external/sources/boost/boost/range/algorithm/copy_backward.hpp", - "external/sources/boost/boost/range/algorithm/count.hpp", - "external/sources/boost/boost/range/algorithm/count_if.hpp", - "external/sources/boost/boost/range/algorithm/equal.hpp", - "external/sources/boost/boost/range/algorithm/equal_range.hpp", - "external/sources/boost/boost/range/algorithm/fill.hpp", - "external/sources/boost/boost/range/algorithm/fill_n.hpp", - "external/sources/boost/boost/range/algorithm/find.hpp", - "external/sources/boost/boost/range/algorithm/find_end.hpp", - "external/sources/boost/boost/range/algorithm/find_first_of.hpp", - "external/sources/boost/boost/range/algorithm/find_if.hpp", - "external/sources/boost/boost/range/algorithm/for_each.hpp", - "external/sources/boost/boost/range/algorithm/generate.hpp", - "external/sources/boost/boost/range/algorithm/heap_algorithm.hpp", - "external/sources/boost/boost/range/algorithm/inplace_merge.hpp", - "external/sources/boost/boost/range/algorithm/lexicographical_compare.hpp", - "external/sources/boost/boost/range/algorithm/lower_bound.hpp", - "external/sources/boost/boost/range/algorithm/max_element.hpp", - "external/sources/boost/boost/range/algorithm/merge.hpp", - "external/sources/boost/boost/range/algorithm/min_element.hpp", - "external/sources/boost/boost/range/algorithm/mismatch.hpp", - "external/sources/boost/boost/range/algorithm/nth_element.hpp", - "external/sources/boost/boost/range/algorithm/partial_sort.hpp", - "external/sources/boost/boost/range/algorithm/partial_sort_copy.hpp", - "external/sources/boost/boost/range/algorithm/partition.hpp", - "external/sources/boost/boost/range/algorithm/permutation.hpp", - "external/sources/boost/boost/range/algorithm/random_shuffle.hpp", - "external/sources/boost/boost/range/algorithm/remove.hpp", - "external/sources/boost/boost/range/algorithm/remove_copy.hpp", - "external/sources/boost/boost/range/algorithm/remove_copy_if.hpp", - "external/sources/boost/boost/range/algorithm/remove_if.hpp", - "external/sources/boost/boost/range/algorithm/replace.hpp", - "external/sources/boost/boost/range/algorithm/replace_copy.hpp", - "external/sources/boost/boost/range/algorithm/replace_copy_if.hpp", - "external/sources/boost/boost/range/algorithm/replace_if.hpp", - "external/sources/boost/boost/range/algorithm/reverse.hpp", - "external/sources/boost/boost/range/algorithm/reverse_copy.hpp", - "external/sources/boost/boost/range/algorithm/rotate.hpp", - "external/sources/boost/boost/range/algorithm/rotate_copy.hpp", - "external/sources/boost/boost/range/algorithm/search.hpp", - "external/sources/boost/boost/range/algorithm/search_n.hpp", - "external/sources/boost/boost/range/algorithm/set_algorithm.hpp", - "external/sources/boost/boost/range/algorithm/sort.hpp", - "external/sources/boost/boost/range/algorithm/stable_partition.hpp", - "external/sources/boost/boost/range/algorithm/stable_sort.hpp", - "external/sources/boost/boost/range/algorithm/swap_ranges.hpp", - "external/sources/boost/boost/range/algorithm/transform.hpp", - "external/sources/boost/boost/range/algorithm/unique.hpp", - "external/sources/boost/boost/range/algorithm/unique_copy.hpp", - "external/sources/boost/boost/range/algorithm/upper_bound.hpp", - "external/sources/boost/boost/range/algorithm_ext.hpp", - "external/sources/boost/boost/range/algorithm_ext/copy_n.hpp", - "external/sources/boost/boost/range/algorithm_ext/erase.hpp", - "external/sources/boost/boost/range/algorithm_ext/for_each.hpp", - "external/sources/boost/boost/range/algorithm_ext/insert.hpp", - "external/sources/boost/boost/range/algorithm_ext/iota.hpp", - "external/sources/boost/boost/range/algorithm_ext/is_sorted.hpp", - "external/sources/boost/boost/range/algorithm_ext/overwrite.hpp", - "external/sources/boost/boost/range/algorithm_ext/push_back.hpp", - "external/sources/boost/boost/range/algorithm_ext/push_front.hpp", - "external/sources/boost/boost/range/any_range.hpp", - "external/sources/boost/boost/range/as_array.hpp", - "external/sources/boost/boost/range/as_literal.hpp", - "external/sources/boost/boost/range/atl.hpp", - "external/sources/boost/boost/range/begin.hpp", - "external/sources/boost/boost/range/category.hpp", - "external/sources/boost/boost/range/combine.hpp", - "external/sources/boost/boost/range/concepts.hpp", - "external/sources/boost/boost/range/config.hpp", - "external/sources/boost/boost/range/const_iterator.hpp", - "external/sources/boost/boost/range/const_reverse_iterator.hpp", - "external/sources/boost/boost/range/counting_range.hpp", - "external/sources/boost/boost/range/detail/any_iterator.hpp", - "external/sources/boost/boost/range/detail/any_iterator_buffer.hpp", - "external/sources/boost/boost/range/detail/any_iterator_interface.hpp", - "external/sources/boost/boost/range/detail/any_iterator_wrapper.hpp", - "external/sources/boost/boost/range/detail/collection_traits.hpp", - "external/sources/boost/boost/range/detail/collection_traits_detail.hpp", - "external/sources/boost/boost/range/detail/combine_cxx03.hpp", - "external/sources/boost/boost/range/detail/combine_cxx11.hpp", - "external/sources/boost/boost/range/detail/combine_no_rvalue.hpp", - "external/sources/boost/boost/range/detail/combine_rvalue.hpp", - "external/sources/boost/boost/range/detail/common.hpp", - "external/sources/boost/boost/range/detail/default_constructible_unary_fn.hpp", - "external/sources/boost/boost/range/detail/demote_iterator_traversal_tag.hpp", - "external/sources/boost/boost/range/detail/difference_type.hpp", - "external/sources/boost/boost/range/detail/empty.hpp", - "external/sources/boost/boost/range/detail/extract_optional_type.hpp", - "external/sources/boost/boost/range/detail/has_member_size.hpp", - "external/sources/boost/boost/range/detail/implementation_help.hpp", - "external/sources/boost/boost/range/detail/join_iterator.hpp", - "external/sources/boost/boost/range/detail/less.hpp", - "external/sources/boost/boost/range/detail/microsoft.hpp", - "external/sources/boost/boost/range/detail/misc_concept.hpp", - "external/sources/boost/boost/range/detail/msvc_has_iterator_workaround.hpp", - "external/sources/boost/boost/range/detail/range_return.hpp", - "external/sources/boost/boost/range/detail/safe_bool.hpp", - "external/sources/boost/boost/range/detail/sfinae.hpp", - "external/sources/boost/boost/range/detail/sizer.hpp", - "external/sources/boost/boost/range/detail/str_types.hpp", - "external/sources/boost/boost/range/difference_type.hpp", - "external/sources/boost/boost/range/distance.hpp", - "external/sources/boost/boost/range/empty.hpp", - "external/sources/boost/boost/range/end.hpp", - "external/sources/boost/boost/range/functions.hpp", - "external/sources/boost/boost/range/has_range_iterator.hpp", - "external/sources/boost/boost/range/irange.hpp", - "external/sources/boost/boost/range/istream_range.hpp", - "external/sources/boost/boost/range/iterator.hpp", - "external/sources/boost/boost/range/iterator_range.hpp", - "external/sources/boost/boost/range/iterator_range_core.hpp", - "external/sources/boost/boost/range/iterator_range_hash.hpp", - "external/sources/boost/boost/range/iterator_range_io.hpp", - "external/sources/boost/boost/range/join.hpp", - "external/sources/boost/boost/range/metafunctions.hpp", - "external/sources/boost/boost/range/mfc.hpp", - "external/sources/boost/boost/range/mfc_map.hpp", - "external/sources/boost/boost/range/mutable_iterator.hpp", - "external/sources/boost/boost/range/numeric.hpp", - "external/sources/boost/boost/range/pointer.hpp", - "external/sources/boost/boost/range/range_fwd.hpp", - "external/sources/boost/boost/range/rbegin.hpp", - "external/sources/boost/boost/range/reference.hpp", - "external/sources/boost/boost/range/rend.hpp", - "external/sources/boost/boost/range/result_iterator.hpp", - "external/sources/boost/boost/range/reverse_iterator.hpp", - "external/sources/boost/boost/range/reverse_result_iterator.hpp", - "external/sources/boost/boost/range/size.hpp", - "external/sources/boost/boost/range/size_type.hpp", - "external/sources/boost/boost/range/sub_range.hpp", - "external/sources/boost/boost/range/traversal.hpp", - "external/sources/boost/boost/range/value_type.hpp", - "external/sources/boost/boost/ratio.hpp", - "external/sources/boost/boost/ratio/config.hpp", - "external/sources/boost/boost/ratio/detail/mpl/abs.hpp", - "external/sources/boost/boost/ratio/detail/mpl/gcd.hpp", - "external/sources/boost/boost/ratio/detail/mpl/lcm.hpp", - "external/sources/boost/boost/ratio/detail/mpl/sign.hpp", - "external/sources/boost/boost/ratio/detail/overflow_helpers.hpp", - "external/sources/boost/boost/ratio/detail/ratio_io.hpp", - "external/sources/boost/boost/ratio/include.hpp", - "external/sources/boost/boost/ratio/mpl/abs.hpp", - "external/sources/boost/boost/ratio/mpl/arithmetic.hpp", - "external/sources/boost/boost/ratio/mpl/comparison.hpp", - "external/sources/boost/boost/ratio/mpl/divides.hpp", - "external/sources/boost/boost/ratio/mpl/equal_to.hpp", - "external/sources/boost/boost/ratio/mpl/gcd.hpp", - "external/sources/boost/boost/ratio/mpl/greater.hpp", - "external/sources/boost/boost/ratio/mpl/greater_equal.hpp", - "external/sources/boost/boost/ratio/mpl/lcm.hpp", - "external/sources/boost/boost/ratio/mpl/less.hpp", - "external/sources/boost/boost/ratio/mpl/less_equal.hpp", - "external/sources/boost/boost/ratio/mpl/minus.hpp", - "external/sources/boost/boost/ratio/mpl/negate.hpp", - "external/sources/boost/boost/ratio/mpl/not_equal_to.hpp", - "external/sources/boost/boost/ratio/mpl/numeric_cast.hpp", - "external/sources/boost/boost/ratio/mpl/plus.hpp", - "external/sources/boost/boost/ratio/mpl/rational_c_tag.hpp", - "external/sources/boost/boost/ratio/mpl/rational_constant.hpp", - "external/sources/boost/boost/ratio/mpl/sign.hpp", - "external/sources/boost/boost/ratio/mpl/times.hpp", - "external/sources/boost/boost/ratio/ratio.hpp", - "external/sources/boost/boost/ratio/ratio_fwd.hpp", - "external/sources/boost/boost/ratio/ratio_io.hpp", - "external/sources/boost/boost/rational.hpp", - "external/sources/boost/boost/ref.hpp", - "external/sources/boost/boost/regex.h", - "external/sources/boost/boost/regex.hpp", - "external/sources/boost/boost/regex/concepts.hpp", - "external/sources/boost/boost/regex/config.hpp", - "external/sources/boost/boost/regex/config/borland.hpp", - "external/sources/boost/boost/regex/config/cwchar.hpp", - "external/sources/boost/boost/regex/icu.hpp", - "external/sources/boost/boost/regex/mfc.hpp", - "external/sources/boost/boost/regex/pattern_except.hpp", - "external/sources/boost/boost/regex/pending/object_cache.hpp", - "external/sources/boost/boost/regex/pending/static_mutex.hpp", - "external/sources/boost/boost/regex/pending/unicode_iterator.hpp", - "external/sources/boost/boost/regex/regex_traits.hpp", - "external/sources/boost/boost/regex/user.hpp", - "external/sources/boost/boost/regex/v4/basic_regex.hpp", - "external/sources/boost/boost/regex/v4/basic_regex_creator.hpp", - "external/sources/boost/boost/regex/v4/basic_regex_parser.hpp", - "external/sources/boost/boost/regex/v4/c_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/char_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/cpp_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/cregex.hpp", - "external/sources/boost/boost/regex/v4/error_type.hpp", - "external/sources/boost/boost/regex/v4/fileiter.hpp", - "external/sources/boost/boost/regex/v4/indexed_bit_flag.hpp", - "external/sources/boost/boost/regex/v4/instances.hpp", - "external/sources/boost/boost/regex/v4/iterator_category.hpp", - "external/sources/boost/boost/regex/v4/iterator_traits.hpp", - "external/sources/boost/boost/regex/v4/match_flags.hpp", - "external/sources/boost/boost/regex/v4/match_results.hpp", - "external/sources/boost/boost/regex/v4/mem_block_cache.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_common.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_non_recursive.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_recursive.hpp", - "external/sources/boost/boost/regex/v4/primary_transform.hpp", - "external/sources/boost/boost/regex/v4/protected_call.hpp", - "external/sources/boost/boost/regex/v4/regbase.hpp", - "external/sources/boost/boost/regex/v4/regex.hpp", - "external/sources/boost/boost/regex/v4/regex_format.hpp", - "external/sources/boost/boost/regex/v4/regex_fwd.hpp", - "external/sources/boost/boost/regex/v4/regex_grep.hpp", - "external/sources/boost/boost/regex/v4/regex_iterator.hpp", - "external/sources/boost/boost/regex/v4/regex_match.hpp", - "external/sources/boost/boost/regex/v4/regex_merge.hpp", - "external/sources/boost/boost/regex/v4/regex_raw_buffer.hpp", - "external/sources/boost/boost/regex/v4/regex_replace.hpp", - "external/sources/boost/boost/regex/v4/regex_search.hpp", - "external/sources/boost/boost/regex/v4/regex_split.hpp", - "external/sources/boost/boost/regex/v4/regex_token_iterator.hpp", - "external/sources/boost/boost/regex/v4/regex_traits.hpp", - "external/sources/boost/boost/regex/v4/regex_traits_defaults.hpp", - "external/sources/boost/boost/regex/v4/regex_workaround.hpp", - "external/sources/boost/boost/regex/v4/states.hpp", - "external/sources/boost/boost/regex/v4/sub_match.hpp", - "external/sources/boost/boost/regex/v4/syntax_type.hpp", - "external/sources/boost/boost/regex/v4/u32regex_iterator.hpp", - "external/sources/boost/boost/regex/v4/u32regex_token_iterator.hpp", - "external/sources/boost/boost/regex/v4/w32_regex_traits.hpp", - "external/sources/boost/boost/regex_fwd.hpp", - "external/sources/boost/boost/safe_numerics/CMakeLists.txt", - "external/sources/boost/boost/safe_numerics/automatic.hpp", - "external/sources/boost/boost/safe_numerics/checked_default.hpp", - "external/sources/boost/boost/safe_numerics/checked_float.hpp", - "external/sources/boost/boost/safe_numerics/checked_integer.hpp", - "external/sources/boost/boost/safe_numerics/checked_result.hpp", - "external/sources/boost/boost/safe_numerics/checked_result_operations.hpp", - "external/sources/boost/boost/safe_numerics/concept/CMakeLists.txt", - "external/sources/boost/boost/safe_numerics/concept/exception_policy.hpp", - "external/sources/boost/boost/safe_numerics/concept/integer.hpp", - "external/sources/boost/boost/safe_numerics/concept/numeric.hpp", - "external/sources/boost/boost/safe_numerics/concept/promotion_policy.hpp", - "external/sources/boost/boost/safe_numerics/concept/safe_numeric.hpp", - "external/sources/boost/boost/safe_numerics/cpp.hpp", - "external/sources/boost/boost/safe_numerics/exception.hpp", - "external/sources/boost/boost/safe_numerics/exception_policies.hpp", - "external/sources/boost/boost/safe_numerics/interval.hpp", - "external/sources/boost/boost/safe_numerics/native.hpp", - "external/sources/boost/boost/safe_numerics/range_value.hpp", - "external/sources/boost/boost/safe_numerics/safe_base.hpp", - "external/sources/boost/boost/safe_numerics/safe_base_operations.hpp", - "external/sources/boost/boost/safe_numerics/safe_common.hpp", - "external/sources/boost/boost/safe_numerics/safe_compare.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer_literal.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer_range.hpp", - "external/sources/boost/boost/safe_numerics/utility.hpp", - "external/sources/boost/boost/scope_exit.hpp", - "external/sources/boost/boost/scoped_array.hpp", - "external/sources/boost/boost/scoped_ptr.hpp", - "external/sources/boost/boost/serialization/access.hpp", - "external/sources/boost/boost/serialization/archive_input_unordered_map.hpp", - "external/sources/boost/boost/serialization/archive_input_unordered_set.hpp", - "external/sources/boost/boost/serialization/array.hpp", - "external/sources/boost/boost/serialization/array_optimization.hpp", - "external/sources/boost/boost/serialization/array_wrapper.hpp", - "external/sources/boost/boost/serialization/assume_abstract.hpp", - "external/sources/boost/boost/serialization/base_object.hpp", - "external/sources/boost/boost/serialization/binary_object.hpp", - "external/sources/boost/boost/serialization/bitset.hpp", - "external/sources/boost/boost/serialization/boost_array.hpp", - "external/sources/boost/boost/serialization/boost_unordered_map.hpp", - "external/sources/boost/boost/serialization/boost_unordered_set.hpp", - "external/sources/boost/boost/serialization/collection_size_type copy.hpp", - "external/sources/boost/boost/serialization/collection_size_type.hpp", - "external/sources/boost/boost/serialization/collection_traits.hpp", - "external/sources/boost/boost/serialization/collections_load_imp.hpp", - "external/sources/boost/boost/serialization/collections_save_imp.hpp", - "external/sources/boost/boost/serialization/complex.hpp", - "external/sources/boost/boost/serialization/config.hpp", - "external/sources/boost/boost/serialization/deque.hpp", - "external/sources/boost/boost/serialization/detail/is_default_constructible.hpp", - "external/sources/boost/boost/serialization/detail/shared_count_132.hpp", - "external/sources/boost/boost/serialization/detail/shared_ptr_132.hpp", - "external/sources/boost/boost/serialization/detail/shared_ptr_nmt_132.hpp", - "external/sources/boost/boost/serialization/detail/stack_constructor.hpp", - "external/sources/boost/boost/serialization/export.hpp", - "external/sources/boost/boost/serialization/extended_type_info.hpp", - "external/sources/boost/boost/serialization/extended_type_info_no_rtti.hpp", - "external/sources/boost/boost/serialization/extended_type_info_typeid.hpp", - "external/sources/boost/boost/serialization/factory.hpp", - "external/sources/boost/boost/serialization/force_include.hpp", - "external/sources/boost/boost/serialization/forward_list.hpp", - "external/sources/boost/boost/serialization/hash_collections_load_imp.hpp", - "external/sources/boost/boost/serialization/hash_collections_save_imp.hpp", - "external/sources/boost/boost/serialization/hash_map.hpp", - "external/sources/boost/boost/serialization/hash_set.hpp", - "external/sources/boost/boost/serialization/is_bitwise_serializable.hpp", - "external/sources/boost/boost/serialization/item_version_type.hpp", - "external/sources/boost/boost/serialization/level.hpp", - "external/sources/boost/boost/serialization/level_enum.hpp", - "external/sources/boost/boost/serialization/library_version_type.hpp", - "external/sources/boost/boost/serialization/list.hpp", - "external/sources/boost/boost/serialization/map.hpp", - "external/sources/boost/boost/serialization/nvp.hpp", - "external/sources/boost/boost/serialization/optional.hpp", - "external/sources/boost/boost/serialization/priority_queue.hpp", - "external/sources/boost/boost/serialization/queue.hpp", - "external/sources/boost/boost/serialization/scoped_ptr.hpp", - "external/sources/boost/boost/serialization/serialization.hpp", - "external/sources/boost/boost/serialization/set.hpp", - "external/sources/boost/boost/serialization/shared_ptr.hpp", - "external/sources/boost/boost/serialization/shared_ptr_132.hpp", - "external/sources/boost/boost/serialization/shared_ptr_helper.hpp", - "external/sources/boost/boost/serialization/singleton.hpp", - "external/sources/boost/boost/serialization/slist.hpp", - "external/sources/boost/boost/serialization/smart_cast.hpp", - "external/sources/boost/boost/serialization/split_free.hpp", - "external/sources/boost/boost/serialization/split_member.hpp", - "external/sources/boost/boost/serialization/stack.hpp", - "external/sources/boost/boost/serialization/state_saver.hpp", - "external/sources/boost/boost/serialization/static_warning.hpp", - "external/sources/boost/boost/serialization/string.hpp", - "external/sources/boost/boost/serialization/strong_typedef.hpp", - "external/sources/boost/boost/serialization/throw_exception.hpp", - "external/sources/boost/boost/serialization/tracking.hpp", - "external/sources/boost/boost/serialization/tracking_enum.hpp", - "external/sources/boost/boost/serialization/traits.hpp", - "external/sources/boost/boost/serialization/type_info_implementation.hpp", - "external/sources/boost/boost/serialization/unique_ptr.hpp", - "external/sources/boost/boost/serialization/unordered_collections_load_imp.hpp", - "external/sources/boost/boost/serialization/unordered_collections_save_imp.hpp", - "external/sources/boost/boost/serialization/unordered_map.hpp", - "external/sources/boost/boost/serialization/unordered_set.hpp", - "external/sources/boost/boost/serialization/utility.hpp", - "external/sources/boost/boost/serialization/valarray.hpp", - "external/sources/boost/boost/serialization/variant.hpp", - "external/sources/boost/boost/serialization/vector.hpp", - "external/sources/boost/boost/serialization/vector_135.hpp", - "external/sources/boost/boost/serialization/version.hpp", - "external/sources/boost/boost/serialization/void_cast.hpp", - "external/sources/boost/boost/serialization/void_cast_fwd.hpp", - "external/sources/boost/boost/serialization/weak_ptr.hpp", - "external/sources/boost/boost/serialization/wrapper.hpp", - "external/sources/boost/boost/shared_array.hpp", - "external/sources/boost/boost/shared_container_iterator.hpp", - "external/sources/boost/boost/shared_ptr.hpp", - "external/sources/boost/boost/signals2.hpp", - "external/sources/boost/boost/signals2/connection.hpp", - "external/sources/boost/boost/signals2/deconstruct.hpp", - "external/sources/boost/boost/signals2/deconstruct_ptr.hpp", - "external/sources/boost/boost/signals2/detail/auto_buffer.hpp", - "external/sources/boost/boost/signals2/detail/foreign_ptr.hpp", - "external/sources/boost/boost/signals2/detail/lwm_nop.hpp", - "external/sources/boost/boost/signals2/detail/lwm_pthreads.hpp", - "external/sources/boost/boost/signals2/detail/lwm_win32_cs.hpp", - "external/sources/boost/boost/signals2/detail/null_output_iterator.hpp", - "external/sources/boost/boost/signals2/detail/preprocessed_arg_type.hpp", - "external/sources/boost/boost/signals2/detail/preprocessed_arg_type_template.hpp", - "external/sources/boost/boost/signals2/detail/replace_slot_function.hpp", - "external/sources/boost/boost/signals2/detail/result_type_wrapper.hpp", - "external/sources/boost/boost/signals2/detail/scope_guard.hpp", - "external/sources/boost/boost/signals2/detail/signal_template.hpp", - "external/sources/boost/boost/signals2/detail/signals_common.hpp", - "external/sources/boost/boost/signals2/detail/signals_common_macros.hpp", - "external/sources/boost/boost/signals2/detail/slot_call_iterator.hpp", - "external/sources/boost/boost/signals2/detail/slot_groups.hpp", - "external/sources/boost/boost/signals2/detail/slot_template.hpp", - "external/sources/boost/boost/signals2/detail/tracked_objects_visitor.hpp", - "external/sources/boost/boost/signals2/detail/unique_lock.hpp", - "external/sources/boost/boost/signals2/detail/variadic_arg_type.hpp", - "external/sources/boost/boost/signals2/detail/variadic_slot_invoker.hpp", - "external/sources/boost/boost/signals2/dummy_mutex.hpp", - "external/sources/boost/boost/signals2/expired_slot.hpp", - "external/sources/boost/boost/signals2/last_value.hpp", - "external/sources/boost/boost/signals2/mutex.hpp", - "external/sources/boost/boost/signals2/optional_last_value.hpp", - "external/sources/boost/boost/signals2/postconstructible.hpp", - "external/sources/boost/boost/signals2/predestructible.hpp", - "external/sources/boost/boost/signals2/preprocessed_signal.hpp", - "external/sources/boost/boost/signals2/preprocessed_slot.hpp", - "external/sources/boost/boost/signals2/shared_connection_block.hpp", - "external/sources/boost/boost/signals2/signal.hpp", - "external/sources/boost/boost/signals2/signal_base.hpp", - "external/sources/boost/boost/signals2/signal_type.hpp", - "external/sources/boost/boost/signals2/slot.hpp", - "external/sources/boost/boost/signals2/slot_base.hpp", - "external/sources/boost/boost/signals2/trackable.hpp", - "external/sources/boost/boost/signals2/variadic_signal.hpp", - "external/sources/boost/boost/signals2/variadic_slot.hpp", - "external/sources/boost/boost/smart_ptr.hpp", - "external/sources/boost/boost/smart_ptr/allocate_local_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/allocate_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/allocate_unique.hpp", - "external/sources/boost/boost/smart_ptr/atomic_shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/bad_weak_ptr.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_spin.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_win32.hpp", - "external/sources/boost/boost/smart_ptr/detail/lightweight_mutex.hpp", - "external/sources/boost/boost/smart_ptr/detail/lightweight_thread.hpp", - "external/sources/boost/boost/smart_ptr/detail/local_counted_base.hpp", - "external/sources/boost/boost/smart_ptr/detail/local_sp_deleter.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_pthreads.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_std_mutex.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_win32_cs.hpp", - "external/sources/boost/boost/smart_ptr/detail/operator_bool.hpp", - "external/sources/boost/boost/smart_ptr/detail/quick_allocator.hpp", - "external/sources/boost/boost/smart_ptr/detail/shared_count.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_convertible.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_impl.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_forward.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_interlocked.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_noexcept.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_obsolete.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_pause.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_yield.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_arm.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_pool.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_w32.hpp", - "external/sources/boost/boost/smart_ptr/detail/yield_k.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from_raw.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from_this.hpp", - "external/sources/boost/boost/smart_ptr/intrusive_ptr.hpp", - "external/sources/boost/boost/smart_ptr/intrusive_ref_counter.hpp", - "external/sources/boost/boost/smart_ptr/local_shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared_object.hpp", - "external/sources/boost/boost/smart_ptr/make_shared.hpp", - "external/sources/boost/boost/smart_ptr/make_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/make_shared_object.hpp", - "external/sources/boost/boost/smart_ptr/make_unique.hpp", - "external/sources/boost/boost/smart_ptr/owner_equal_to.hpp", - "external/sources/boost/boost/smart_ptr/owner_hash.hpp", - "external/sources/boost/boost/smart_ptr/owner_less.hpp", - "external/sources/boost/boost/smart_ptr/scoped_array.hpp", - "external/sources/boost/boost/smart_ptr/scoped_ptr.hpp", - "external/sources/boost/boost/smart_ptr/shared_array.hpp", - "external/sources/boost/boost/smart_ptr/shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/weak_ptr.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/backbone.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/block.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/constants.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/merge_blocks.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/move_blocks.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/parallel_sort.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/block_indirect_sort.hpp", - "external/sources/boost/boost/sort/common/deque_cnc.hpp", - "external/sources/boost/boost/sort/common/file_vector.hpp", - "external/sources/boost/boost/sort/common/indirect.hpp", - "external/sources/boost/boost/sort/common/int_array.hpp", - "external/sources/boost/boost/sort/common/merge_block.hpp", - "external/sources/boost/boost/sort/common/merge_four.hpp", - "external/sources/boost/boost/sort/common/merge_vector.hpp", - "external/sources/boost/boost/sort/common/pivot.hpp", - "external/sources/boost/boost/sort/common/range.hpp", - "external/sources/boost/boost/sort/common/rearrange.hpp", - "external/sources/boost/boost/sort/common/scheduler.hpp", - "external/sources/boost/boost/sort/common/sort_basic.hpp", - "external/sources/boost/boost/sort/common/spinlock.hpp", - "external/sources/boost/boost/sort/common/stack_cnc.hpp", - "external/sources/boost/boost/sort/common/time_measure.hpp", - "external/sources/boost/boost/sort/common/util/algorithm.hpp", - "external/sources/boost/boost/sort/common/util/atomic.hpp", - "external/sources/boost/boost/sort/common/util/circular_buffer.hpp", - "external/sources/boost/boost/sort/common/util/insert.hpp", - "external/sources/boost/boost/sort/common/util/merge.hpp", - "external/sources/boost/boost/sort/common/util/search.hpp", - "external/sources/boost/boost/sort/common/util/traits.hpp", - "external/sources/boost/boost/sort/flat_stable_sort/flat_stable_sort.hpp", - "external/sources/boost/boost/sort/heap_sort/heap_sort.hpp", - "external/sources/boost/boost/sort/insert_sort/insert_sort.hpp", - "external/sources/boost/boost/sort/parallel_stable_sort/parallel_stable_sort.hpp", - "external/sources/boost/boost/sort/pdqsort/pdqsort.hpp", - "external/sources/boost/boost/sort/sample_sort/sample_sort.hpp", - "external/sources/boost/boost/sort/sort.hpp", - "external/sources/boost/boost/sort/spinsort/spinsort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/constants.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/float_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/integer_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/spreadsort_common.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/string_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/float_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/integer_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/spreadsort.hpp", - "external/sources/boost/boost/sort/spreadsort/string_sort.hpp", - "external/sources/boost/boost/spirit.hpp", - "external/sources/boost/boost/spirit/home/classic.hpp", - "external/sources/boost/boost/spirit/home/classic/actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/assign_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/assign_key_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/clear_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/decrement_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/erase_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/increment_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/insert_at_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/insert_key_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/push_back_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/push_front_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_const_ref_a.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_value_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/swap_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure_context.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/parametric.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/core.hpp", - "external/sources/boost/boost/spirit/home/classic/core/assert.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/actions.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/alternative.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/composite.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/difference.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/directives.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/epsilon.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/exclusive_or.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/alternative.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/difference.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/directives.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/exclusive_or.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/intersection.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/kleene_star.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/list.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/optional.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/positive.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequence.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_and.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_or.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/intersection.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/kleene_star.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/list.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/no_actions.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/operators.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/optional.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/positive.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequence.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_and.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_or.hpp", - "external/sources/boost/boost/spirit/home/classic/core/config.hpp", - "external/sources/boost/boost/spirit/home/classic/core/impl/match.ipp", - "external/sources/boost/boost/spirit/home/classic/core/impl/match_attr_traits.ipp", - "external/sources/boost/boost/spirit/home/classic/core/impl/parser.ipp", - "external/sources/boost/boost/spirit/home/classic/core/match.hpp", - "external/sources/boost/boost/spirit/home/classic/core/nil.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/static.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/subrule.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_context.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_id.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/rule.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/parser.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/numerics.ipp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/primitives.ipp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/primitives.hpp", - "external/sources/boost/boost/spirit/home/classic/core/safe_bool.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/impl/skipper.ipp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/debug.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/for.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/if.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/conditions.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/select.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/switch.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/lazy.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/rule_alias.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/select.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/switch.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/while.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/impl/exceptions.ipp", - "external/sources/boost/boost/spirit/home/classic/error_handling/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/impl/file_iterator.ipp", - "external/sources/boost/boost/spirit/home/classic/iterator/impl/position_iterator.ipp", - "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/meta.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/as_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/fundamental.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/fundamental.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/parser_traits.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/refactoring.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/traverse.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/parser_traits.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/refactoring.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/traverse.hpp", - "external/sources/boost/boost/spirit/home/classic/namespace.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/actor.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/binders.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/casts.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/closures.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/composite.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/functions.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/new.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/operators.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/primitives.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/special_ops.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/statements.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/tuple_helpers.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/tuples.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/impl/symbols.ipp", - "external/sources/boost/boost/spirit/home/classic/symbols/impl/tst.ipp", - "external/sources/boost/boost/spirit/home/classic/symbols/symbols.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/symbols_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/ast.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/ast_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/common.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/common_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/impl/parse_tree_utils.ipp", - "external/sources/boost/boost/spirit/home/classic/tree/impl/tree_to_xml.ipp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_utils.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parsetree.dtd", - "external/sources/boost/boost/spirit/home/classic/tree/tree_to_xml.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/utility.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/chset.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/chset_operators.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/confix.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/confix_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/distinct.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/distinct_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/escape_char.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/escape_char_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/functor_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/grammar_def.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/grammar_def_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset_operators.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/confix.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/escape_char.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/lists.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/regex.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/lists.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/lists_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/loops.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/regex.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/rule_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/scoped_lock.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/version.hpp", - "external/sources/boost/boost/spirit/home/karma.hpp", - "external/sources/boost/boost/spirit/home/karma/action.hpp", - "external/sources/boost/boost/spirit/home/karma/action/action.hpp", - "external/sources/boost/boost/spirit/home/karma/auto.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/auto.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/create_generator.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/lazy.hpp", - "external/sources/boost/boost/spirit/home/karma/binary.hpp", - "external/sources/boost/boost/spirit/home/karma/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/karma/binary/padding.hpp", - "external/sources/boost/boost/spirit/home/karma/char.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char_generator.hpp", - "external/sources/boost/boost/spirit/home/karma/delimit_flag.hpp", - "external/sources/boost/boost/spirit/home/karma/delimit_out.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/alternative_function.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/as.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/attributes.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/default_width.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/enable_lit.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/extract_from.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/fail_function.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate_to.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/get_casetag.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/get_stricttag.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/indirect_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/output_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/pass_container.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/string_compare.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/string_generate.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/unused_delimiter.hpp", - "external/sources/boost/boost/spirit/home/karma/directive.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/as.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/buffer.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/center_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/columns.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/delimit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/duplicate.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/encoding.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/left_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/maxwidth.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/no_delimit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/right_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/strict_relaxed.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/upper_lower_case.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/verbatim.hpp", - "external/sources/boost/boost/spirit/home/karma/domain.hpp", - "external/sources/boost/boost/spirit/home/karma/format.hpp", - "external/sources/boost/boost/spirit/home/karma/format_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/generate.hpp", - "external/sources/boost/boost/spirit/home/karma/generate_attr.hpp", - "external/sources/boost/boost/spirit/home/karma/generator.hpp", - "external/sources/boost/boost/spirit/home/karma/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/fcall.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/generator_binder.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/parameterized.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/nonterminal_fwd.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/bool_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/real_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/karma/operator.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/list.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/karma/phoenix_attributes.hpp", - "external/sources/boost/boost/spirit/home/karma/reference.hpp", - "external/sources/boost/boost/spirit/home/karma/stream.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/format_manip.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/format_manip_attr.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/ostream_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/stream.hpp", - "external/sources/boost/boost/spirit/home/karma/string.hpp", - "external/sources/boost/boost/spirit/home/karma/string/lit.hpp", - "external/sources/boost/boost/spirit/home/karma/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/karma/what.hpp", - "external/sources/boost/boost/spirit/home/lex.hpp", - "external/sources/boost/boost/spirit/home/lex/argument.hpp", - "external/sources/boost/boost/spirit/home/lex/argument_phoenix.hpp", - "external/sources/boost/boost/spirit/home/lex/detail/sequence_function.hpp", - "external/sources/boost/boost/spirit/home/lex/domain.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/action.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/char_token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/position_token.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/semantic_action_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_functor_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_version.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/token.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/pass_flags.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/sequence.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/string_token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/support_functions.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/support_functions_expression.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/terminals.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_lexertl.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_static_lexertl.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_type.hpp", - "external/sources/boost/boost/spirit/home/lex/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/lex/primitives.hpp", - "external/sources/boost/boost/spirit/home/lex/qi.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/in_state.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_raw_token.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_token.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/state_switcher.hpp", - "external/sources/boost/boost/spirit/home/lex/reference.hpp", - "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse.hpp", - "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse_attr.hpp", - "external/sources/boost/boost/spirit/home/qi.hpp", - "external/sources/boost/boost/spirit/home/qi/action.hpp", - "external/sources/boost/boost/spirit/home/qi/action/action.hpp", - "external/sources/boost/boost/spirit/home/qi/auto.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/auto.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/create_parser.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/attr.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eoi.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/lazy.hpp", - "external/sources/boost/boost/spirit/home/qi/binary.hpp", - "external/sources/boost/boost/spirit/home/qi/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/qi/char.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char_parser.hpp", - "external/sources/boost/boost/spirit/home/qi/copy.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/alternative_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/assign_to.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/attributes.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/construct.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/enable_lit.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/expect_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/expectation_failure.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/fail_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/parse.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/parse_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/pass_container.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/pass_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/permute_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/string_parse.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/unused_skipper.hpp", - "external/sources/boost/boost/spirit/home/qi/directive.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/as.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/encoding.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/expect.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/hold.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/lexeme.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/matches.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/no_case.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/no_skip.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/raw.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/skip.hpp", - "external/sources/boost/boost/spirit/home/qi/domain.hpp", - "external/sources/boost/boost/spirit/home/qi/match.hpp", - "external/sources/boost/boost/spirit/home/qi/match_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/fcall.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parameterized.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parser_binder.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/error_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/nonterminal_fwd.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/success_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/detail/real_impl.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/qi/operator.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/difference.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/expect.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/list.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/permutation.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequence_base.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequential_or.hpp", - "external/sources/boost/boost/spirit/home/qi/parse.hpp", - "external/sources/boost/boost/spirit/home/qi/parse_attr.hpp", - "external/sources/boost/boost/spirit/home/qi/parser.hpp", - "external/sources/boost/boost/spirit/home/qi/reference.hpp", - "external/sources/boost/boost/spirit/home/qi/skip_flag.hpp", - "external/sources/boost/boost/spirit/home/qi/skip_over.hpp", - "external/sources/boost/boost/spirit/home/qi/stream.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/match_manip.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/match_manip_attr.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/stream.hpp", - "external/sources/boost/boost/spirit/home/qi/string.hpp", - "external/sources/boost/boost/spirit/home/qi/string/detail/tst.hpp", - "external/sources/boost/boost/spirit/home/qi/string/lit.hpp", - "external/sources/boost/boost/spirit/home/qi/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/qi/string/tst.hpp", - "external/sources/boost/boost/spirit/home/qi/string/tst_map.hpp", - "external/sources/boost/boost/spirit/home/qi/what.hpp", - "external/sources/boost/boost/spirit/home/support.hpp", - "external/sources/boost/boost/spirit/home/support/action_dispatch.hpp", - "external/sources/boost/boost/spirit/home/support/adapt_adt_attributes.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns_so.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_ns.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_ns_so.hpp", - "external/sources/boost/boost/spirit/home/support/argument.hpp", - "external/sources/boost/boost/spirit/home/support/argument_expression.hpp", - "external/sources/boost/boost/spirit/home/support/assert_msg.hpp", - "external/sources/boost/boost/spirit/home/support/attributes.hpp", - "external/sources/boost/boost/spirit/home/support/attributes_fwd.hpp", - "external/sources/boost/boost/spirit/home/support/auto.hpp", - "external/sources/boost/boost/spirit/home/support/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/support/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/support/char_class.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/ascii.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/iso8859_1.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/standard.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/category_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/lowercase_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/query.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/script_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/basic_chset.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_functions.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_run.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_run_impl.hpp", - "external/sources/boost/boost/spirit/home/support/common_terminals.hpp", - "external/sources/boost/boost/spirit/home/support/container.hpp", - "external/sources/boost/boost/spirit/home/support/context.hpp", - "external/sources/boost/boost/spirit/home/support/detail/as_variant.hpp", - "external/sources/boost/boost/spirit/home/support/detail/endian.hpp", - "external/sources/boost/boost/spirit/home/support/detail/get_encoding.hpp", - "external/sources/boost/boost/spirit/home/support/detail/hold_any.hpp", - "external/sources/boost/boost/spirit/home/support/detail/is_spirit_tag.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/char_traits.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/consts.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_list.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_vector.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/conversion/char_state_machine.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/debug.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/file_input.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_cpp.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_re2c.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generator.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/input.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/internals.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/parser.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_helper.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_state.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/end_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/iteration_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/leaf_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/selection_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/sequence_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/charset.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/equivset.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/rules.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/runtime_error.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/size_t.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/state_machine.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/string_token.hpp", - "external/sources/boost/boost/spirit/home/support/detail/make_cons.hpp", - "external/sources/boost/boost/spirit/home/support/detail/make_vector.hpp", - "external/sources/boost/boost/spirit/home/support/detail/pow10.hpp", - "external/sources/boost/boost/spirit/home/support/detail/scoped_enum_emulation.hpp", - "external/sources/boost/boost/spirit/home/support/detail/sign.hpp", - "external/sources/boost/boost/spirit/home/support/detail/what_function.hpp", - "external/sources/boost/boost/spirit/home/support/extended_variant.hpp", - "external/sources/boost/boost/spirit/home/support/handles_container.hpp", - "external/sources/boost/boost/spirit/home/support/has_semantic_action.hpp", - "external/sources/boost/boost/spirit/home/support/info.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/buf_id_check_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/combine_policies.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/first_owner_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/istream_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/lex_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/no_check_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/ref_counted_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/split_functor_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/istream_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/line_pos_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/look_ahead.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/ostream_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/lazy.hpp", - "external/sources/boost/boost/spirit/home/support/limits.hpp", - "external/sources/boost/boost/spirit/home/support/make_component.hpp", - "external/sources/boost/boost/spirit/home/support/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/support/modify.hpp", - "external/sources/boost/boost/spirit/home/support/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/multi_pass_wrapper.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/expand_arg.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/extract_param.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/locals.hpp", - "external/sources/boost/boost/spirit/home/support/numeric_traits.hpp", - "external/sources/boost/boost/spirit/home/support/sequence_base_id.hpp", - "external/sources/boost/boost/spirit/home/support/string_traits.hpp", - "external/sources/boost/boost/spirit/home/support/terminal.hpp", - "external/sources/boost/boost/spirit/home/support/terminal_expression.hpp", - "external/sources/boost/boost/spirit/home/support/unused.hpp", - "external/sources/boost/boost/spirit/home/support/utf8.hpp", - "external/sources/boost/boost/spirit/home/support/utree.hpp", - "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail1.hpp", - "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail2.hpp", - "external/sources/boost/boost/spirit/home/support/utree/operators.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree_traits.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree_traits_fwd.hpp", - "external/sources/boost/boost/spirit/home/x3.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/any_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/attr.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eoi.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/guard.hpp", - "external/sources/boost/boost/spirit/home/x3/binary.hpp", - "external/sources/boost/boost/spirit/home/x3/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/x3/char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/any_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_class_tags.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_set.hpp", - "external/sources/boost/boost/spirit/home/x3/char/detail/cast_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/literal_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/negated_char_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/char/unicode.hpp", - "external/sources/boost/boost/spirit/home/x3/core.hpp", - "external/sources/boost/boost/spirit/home/x3/core/action.hpp", - "external/sources/boost/boost/spirit/home/x3/core/call.hpp", - "external/sources/boost/boost/spirit/home/x3/core/detail/parse_into_container.hpp", - "external/sources/boost/boost/spirit/home/x3/core/parse.hpp", - "external/sources/boost/boost/spirit/home/x3/core/parser.hpp", - "external/sources/boost/boost/spirit/home/x3/core/proxy.hpp", - "external/sources/boost/boost/spirit/home/x3/core/skip_over.hpp", - "external/sources/boost/boost/spirit/home/x3/directive.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/confix.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/expect.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/lexeme.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/matches.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/no_case.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/no_skip.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/raw.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/seek.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/skip.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/with.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/rule.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/transform_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/x3/operator.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/detail/alternative.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/detail/sequence.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/difference.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/list.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/x3/string.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/no_case_string_parse.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/string_parse.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/tst.hpp", - "external/sources/boost/boost/spirit/home/x3/string/literal_string.hpp", - "external/sources/boost/boost/spirit/home/x3/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/x3/string/tst.hpp", - "external/sources/boost/boost/spirit/home/x3/string/tst_map.hpp", - "external/sources/boost/boost/spirit/home/x3/support/ast/position_tagged.hpp", - "external/sources/boost/boost/spirit/home/x3/support/ast/variant.hpp", - "external/sources/boost/boost/spirit/home/x3/support/context.hpp", - "external/sources/boost/boost/spirit/home/x3/support/no_case.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/detail/extract_int.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_int.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_real.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/pow10.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/sign.hpp", - "external/sources/boost/boost/spirit/home/x3/support/subcontext.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_category.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of_binary.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_type.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/container_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/handles_container.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/has_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_range.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_variant.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/move_to.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/numeric_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/optional_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/print_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/print_token.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/pseudo_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/string_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/transform_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/tuple_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/variant_find_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/unused.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/annotate_on_success.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/error_reporting.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/is_callable.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/lambda_visitor.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/sfinae.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/utf8.hpp", - "external/sources/boost/boost/spirit/home/x3/version.hpp", - "external/sources/boost/boost/spirit/include/classic.hpp", - "external/sources/boost/boost/spirit/include/classic_actions.hpp", - "external/sources/boost/boost/spirit/include/classic_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_alternative.hpp", - "external/sources/boost/boost/spirit/include/classic_as_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_assert.hpp", - "external/sources/boost/boost/spirit/include/classic_assign_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_assign_key_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ast.hpp", - "external/sources/boost/boost/spirit/include/classic_ast_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_attribute.hpp", - "external/sources/boost/boost/spirit/include/classic_basic_chset.hpp", - "external/sources/boost/boost/spirit/include/classic_chset.hpp", - "external/sources/boost/boost/spirit/include/classic_chset_operators.hpp", - "external/sources/boost/boost/spirit/include/classic_clear_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_closure.hpp", - "external/sources/boost/boost/spirit/include/classic_closure_context.hpp", - "external/sources/boost/boost/spirit/include/classic_closure_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_common.hpp", - "external/sources/boost/boost/spirit/include/classic_common_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_composite.hpp", - "external/sources/boost/boost/spirit/include/classic_config.hpp", - "external/sources/boost/boost/spirit/include/classic_confix.hpp", - "external/sources/boost/boost/spirit/include/classic_confix_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_core.hpp", - "external/sources/boost/boost/spirit/include/classic_debug.hpp", - "external/sources/boost/boost/spirit/include/classic_debug_node.hpp", - "external/sources/boost/boost/spirit/include/classic_decrement_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_difference.hpp", - "external/sources/boost/boost/spirit/include/classic_directives.hpp", - "external/sources/boost/boost/spirit/include/classic_distinct.hpp", - "external/sources/boost/boost/spirit/include/classic_distinct_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_dynamic.hpp", - "external/sources/boost/boost/spirit/include/classic_epsilon.hpp", - "external/sources/boost/boost/spirit/include/classic_erase_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_error_handling.hpp", - "external/sources/boost/boost/spirit/include/classic_escape_char.hpp", - "external/sources/boost/boost/spirit/include/classic_escape_char_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_exceptions.hpp", - "external/sources/boost/boost/spirit/include/classic_exceptions_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_exclusive_or.hpp", - "external/sources/boost/boost/spirit/include/classic_file_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_file_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/include/classic_flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/classic_for.hpp", - "external/sources/boost/boost/spirit/include/classic_functor_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_fundamental.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar_def.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar_def_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_if.hpp", - "external/sources/boost/boost/spirit/include/classic_increment_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_insert_at_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_insert_key_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_intersection.hpp", - "external/sources/boost/boost/spirit/include/classic_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_kleene_star.hpp", - "external/sources/boost/boost/spirit/include/classic_lazy.hpp", - "external/sources/boost/boost/spirit/include/classic_list.hpp", - "external/sources/boost/boost/spirit/include/classic_lists.hpp", - "external/sources/boost/boost/spirit/include/classic_lists_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_loops.hpp", - "external/sources/boost/boost/spirit/include/classic_match.hpp", - "external/sources/boost/boost/spirit/include/classic_meta.hpp", - "external/sources/boost/boost/spirit/include/classic_minimal.hpp", - "external/sources/boost/boost/spirit/include/classic_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/classic_multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_nil.hpp", - "external/sources/boost/boost/spirit/include/classic_no_actions.hpp", - "external/sources/boost/boost/spirit/include/classic_numerics.hpp", - "external/sources/boost/boost/spirit/include/classic_numerics_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_operators.hpp", - "external/sources/boost/boost/spirit/include/classic_optional.hpp", - "external/sources/boost/boost/spirit/include/classic_parametric.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree_utils.hpp", - "external/sources/boost/boost/spirit/include/classic_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_context.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_id.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_names.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_traits.hpp", - "external/sources/boost/boost/spirit/include/classic_position_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_position_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_positive.hpp", - "external/sources/boost/boost/spirit/include/classic_primitives.hpp", - "external/sources/boost/boost/spirit/include/classic_push_back_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_push_front_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_range_run.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_refactoring.hpp", - "external/sources/boost/boost/spirit/include/classic_regex.hpp", - "external/sources/boost/boost/spirit/include/classic_rule.hpp", - "external/sources/boost/boost/spirit/include/classic_rule_alias.hpp", - "external/sources/boost/boost/spirit/include/classic_rule_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_safe_bool.hpp", - "external/sources/boost/boost/spirit/include/classic_scanner.hpp", - "external/sources/boost/boost/spirit/include/classic_scanner_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_scoped_lock.hpp", - "external/sources/boost/boost/spirit/include/classic_select.hpp", - "external/sources/boost/boost/spirit/include/classic_sequence.hpp", - "external/sources/boost/boost/spirit/include/classic_sequential_and.hpp", - "external/sources/boost/boost/spirit/include/classic_sequential_or.hpp", - "external/sources/boost/boost/spirit/include/classic_skipper.hpp", - "external/sources/boost/boost/spirit/include/classic_skipper_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_spirit.hpp", - "external/sources/boost/boost/spirit/include/classic_static.hpp", - "external/sources/boost/boost/spirit/include/classic_stored_rule.hpp", - "external/sources/boost/boost/spirit/include/classic_stored_rule_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_subrule.hpp", - "external/sources/boost/boost/spirit/include/classic_subrule_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_swap_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_switch.hpp", - "external/sources/boost/boost/spirit/include/classic_symbols.hpp", - "external/sources/boost/boost/spirit/include/classic_symbols_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_traverse.hpp", - "external/sources/boost/boost/spirit/include/classic_tree_to_xml.hpp", - "external/sources/boost/boost/spirit/include/classic_typeof.hpp", - "external/sources/boost/boost/spirit/include/classic_utility.hpp", - "external/sources/boost/boost/spirit/include/classic_version.hpp", - "external/sources/boost/boost/spirit/include/classic_while.hpp", - "external/sources/boost/boost/spirit/include/karma.hpp", - "external/sources/boost/boost/spirit/include/karma_action.hpp", - "external/sources/boost/boost/spirit/include/karma_alternative.hpp", - "external/sources/boost/boost/spirit/include/karma_and_predicate.hpp", - "external/sources/boost/boost/spirit/include/karma_as.hpp", - "external/sources/boost/boost/spirit/include/karma_attr_cast.hpp", - "external/sources/boost/boost/spirit/include/karma_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_auxiliary.hpp", - "external/sources/boost/boost/spirit/include/karma_binary.hpp", - "external/sources/boost/boost/spirit/include/karma_bool.hpp", - "external/sources/boost/boost/spirit/include/karma_buffer.hpp", - "external/sources/boost/boost/spirit/include/karma_center_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_char.hpp", - "external/sources/boost/boost/spirit/include/karma_char_.hpp", - "external/sources/boost/boost/spirit/include/karma_char_class.hpp", - "external/sources/boost/boost/spirit/include/karma_columns.hpp", - "external/sources/boost/boost/spirit/include/karma_delimit.hpp", - "external/sources/boost/boost/spirit/include/karma_directive.hpp", - "external/sources/boost/boost/spirit/include/karma_domain.hpp", - "external/sources/boost/boost/spirit/include/karma_duplicate.hpp", - "external/sources/boost/boost/spirit/include/karma_eol.hpp", - "external/sources/boost/boost/spirit/include/karma_eps.hpp", - "external/sources/boost/boost/spirit/include/karma_format.hpp", - "external/sources/boost/boost/spirit/include/karma_format_attr.hpp", - "external/sources/boost/boost/spirit/include/karma_format_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_generate.hpp", - "external/sources/boost/boost/spirit/include/karma_generate_attr.hpp", - "external/sources/boost/boost/spirit/include/karma_generate_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_grammar.hpp", - "external/sources/boost/boost/spirit/include/karma_int.hpp", - "external/sources/boost/boost/spirit/include/karma_kleene.hpp", - "external/sources/boost/boost/spirit/include/karma_lazy.hpp", - "external/sources/boost/boost/spirit/include/karma_left_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_list.hpp", - "external/sources/boost/boost/spirit/include/karma_maxwidth.hpp", - "external/sources/boost/boost/spirit/include/karma_no_delimit.hpp", - "external/sources/boost/boost/spirit/include/karma_nonterminal.hpp", - "external/sources/boost/boost/spirit/include/karma_not_predicate.hpp", - "external/sources/boost/boost/spirit/include/karma_numeric.hpp", - "external/sources/boost/boost/spirit/include/karma_omit.hpp", - "external/sources/boost/boost/spirit/include/karma_operator.hpp", - "external/sources/boost/boost/spirit/include/karma_optional.hpp", - "external/sources/boost/boost/spirit/include/karma_phoenix_attributes.hpp", - "external/sources/boost/boost/spirit/include/karma_plus.hpp", - "external/sources/boost/boost/spirit/include/karma_real.hpp", - "external/sources/boost/boost/spirit/include/karma_repeat.hpp", - "external/sources/boost/boost/spirit/include/karma_right_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_rule.hpp", - "external/sources/boost/boost/spirit/include/karma_sequence.hpp", - "external/sources/boost/boost/spirit/include/karma_stream.hpp", - "external/sources/boost/boost/spirit/include/karma_strict_relaxed.hpp", - "external/sources/boost/boost/spirit/include/karma_string.hpp", - "external/sources/boost/boost/spirit/include/karma_symbols.hpp", - "external/sources/boost/boost/spirit/include/karma_uint.hpp", - "external/sources/boost/boost/spirit/include/karma_upper_lower_case.hpp", - "external/sources/boost/boost/spirit/include/karma_verbatim.hpp", - "external/sources/boost/boost/spirit/include/karma_what.hpp", - "external/sources/boost/boost/spirit/include/lex.hpp", - "external/sources/boost/boost/spirit/include/lex_char_token_def.hpp", - "external/sources/boost/boost/spirit/include/lex_domain.hpp", - "external/sources/boost/boost/spirit/include/lex_generate_static_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_lexer.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl_position_token.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl_token.hpp", - "external/sources/boost/boost/spirit/include/lex_plain_token.hpp", - "external/sources/boost/boost/spirit/include/lex_primitives.hpp", - "external/sources/boost/boost/spirit/include/lex_static_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse.hpp", - "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse_attr.hpp", - "external/sources/boost/boost/spirit/include/phoenix.hpp", - "external/sources/boost/boost/spirit/include/phoenix1.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_actor.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_binders.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_casts.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_closures.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_composite.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_functions.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_new.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_operators.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_primitives.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_special_ops.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_statements.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_tuple_helpers.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_tuples.hpp", - "external/sources/boost/boost/spirit/include/phoenix_algorithm.hpp", - "external/sources/boost/boost/spirit/include/phoenix_bind.hpp", - "external/sources/boost/boost/spirit/include/phoenix_container.hpp", - "external/sources/boost/boost/spirit/include/phoenix_core.hpp", - "external/sources/boost/boost/spirit/include/phoenix_function.hpp", - "external/sources/boost/boost/spirit/include/phoenix_fusion.hpp", - "external/sources/boost/boost/spirit/include/phoenix_limits.hpp", - "external/sources/boost/boost/spirit/include/phoenix_object.hpp", - "external/sources/boost/boost/spirit/include/phoenix_operator.hpp", - "external/sources/boost/boost/spirit/include/phoenix_scope.hpp", - "external/sources/boost/boost/spirit/include/phoenix_statement.hpp", - "external/sources/boost/boost/spirit/include/phoenix_stl.hpp", - "external/sources/boost/boost/spirit/include/phoenix_version.hpp", - "external/sources/boost/boost/spirit/include/qi.hpp", - "external/sources/boost/boost/spirit/include/qi_action.hpp", - "external/sources/boost/boost/spirit/include/qi_alternative.hpp", - "external/sources/boost/boost/spirit/include/qi_and_predicate.hpp", - "external/sources/boost/boost/spirit/include/qi_as.hpp", - "external/sources/boost/boost/spirit/include/qi_as_string.hpp", - "external/sources/boost/boost/spirit/include/qi_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_attr_cast.hpp", - "external/sources/boost/boost/spirit/include/qi_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_auxiliary.hpp", - "external/sources/boost/boost/spirit/include/qi_binary.hpp", - "external/sources/boost/boost/spirit/include/qi_bool.hpp", - "external/sources/boost/boost/spirit/include/qi_char.hpp", - "external/sources/boost/boost/spirit/include/qi_char_.hpp", - "external/sources/boost/boost/spirit/include/qi_char_class.hpp", - "external/sources/boost/boost/spirit/include/qi_copy.hpp", - "external/sources/boost/boost/spirit/include/qi_core.hpp", - "external/sources/boost/boost/spirit/include/qi_difference.hpp", - "external/sources/boost/boost/spirit/include/qi_directive.hpp", - "external/sources/boost/boost/spirit/include/qi_domain.hpp", - "external/sources/boost/boost/spirit/include/qi_eoi.hpp", - "external/sources/boost/boost/spirit/include/qi_eol.hpp", - "external/sources/boost/boost/spirit/include/qi_eps.hpp", - "external/sources/boost/boost/spirit/include/qi_expect.hpp", - "external/sources/boost/boost/spirit/include/qi_grammar.hpp", - "external/sources/boost/boost/spirit/include/qi_hold.hpp", - "external/sources/boost/boost/spirit/include/qi_int.hpp", - "external/sources/boost/boost/spirit/include/qi_kleene.hpp", - "external/sources/boost/boost/spirit/include/qi_lazy.hpp", - "external/sources/boost/boost/spirit/include/qi_lexeme.hpp", - "external/sources/boost/boost/spirit/include/qi_list.hpp", - "external/sources/boost/boost/spirit/include/qi_lit.hpp", - "external/sources/boost/boost/spirit/include/qi_match.hpp", - "external/sources/boost/boost/spirit/include/qi_match_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_match_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_matches.hpp", - "external/sources/boost/boost/spirit/include/qi_no_case.hpp", - "external/sources/boost/boost/spirit/include/qi_no_skip.hpp", - "external/sources/boost/boost/spirit/include/qi_nonterminal.hpp", - "external/sources/boost/boost/spirit/include/qi_not_predicate.hpp", - "external/sources/boost/boost/spirit/include/qi_numeric.hpp", - "external/sources/boost/boost/spirit/include/qi_omit.hpp", - "external/sources/boost/boost/spirit/include/qi_operator.hpp", - "external/sources/boost/boost/spirit/include/qi_optional.hpp", - "external/sources/boost/boost/spirit/include/qi_parse.hpp", - "external/sources/boost/boost/spirit/include/qi_parse_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_parse_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_permutation.hpp", - "external/sources/boost/boost/spirit/include/qi_plus.hpp", - "external/sources/boost/boost/spirit/include/qi_raw.hpp", - "external/sources/boost/boost/spirit/include/qi_real.hpp", - "external/sources/boost/boost/spirit/include/qi_repeat.hpp", - "external/sources/boost/boost/spirit/include/qi_rule.hpp", - "external/sources/boost/boost/spirit/include/qi_sequence.hpp", - "external/sources/boost/boost/spirit/include/qi_sequential_or.hpp", - "external/sources/boost/boost/spirit/include/qi_skip.hpp", - "external/sources/boost/boost/spirit/include/qi_stream.hpp", - "external/sources/boost/boost/spirit/include/qi_string.hpp", - "external/sources/boost/boost/spirit/include/qi_symbols.hpp", - "external/sources/boost/boost/spirit/include/qi_uint.hpp", - "external/sources/boost/boost/spirit/include/qi_what.hpp", - "external/sources/boost/boost/spirit/include/support.hpp", - "external/sources/boost/boost/spirit/include/support_adapt_adt_attributes.hpp", - "external/sources/boost/boost/spirit/include/support_any.hpp", - "external/sources/boost/boost/spirit/include/support_any_if.hpp", - "external/sources/boost/boost/spirit/include/support_any_if_ns.hpp", - "external/sources/boost/boost/spirit/include/support_any_if_ns_so.hpp", - "external/sources/boost/boost/spirit/include/support_any_ns.hpp", - "external/sources/boost/boost/spirit/include/support_any_ns_so.hpp", - "external/sources/boost/boost/spirit/include/support_argument.hpp", - "external/sources/boost/boost/spirit/include/support_ascii.hpp", - "external/sources/boost/boost/spirit/include/support_attributes.hpp", - "external/sources/boost/boost/spirit/include/support_attributes_fwd.hpp", - "external/sources/boost/boost/spirit/include/support_auto.hpp", - "external/sources/boost/boost/spirit/include/support_char_class.hpp", - "external/sources/boost/boost/spirit/include/support_container.hpp", - "external/sources/boost/boost/spirit/include/support_extended_variant.hpp", - "external/sources/boost/boost/spirit/include/support_info.hpp", - "external/sources/boost/boost/spirit/include/support_iso8859_1.hpp", - "external/sources/boost/boost/spirit/include/support_istream_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_line_pos_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_locals.hpp", - "external/sources/boost/boost/spirit/include/support_look_ahead.hpp", - "external/sources/boost/boost/spirit/include/support_modify.hpp", - "external/sources/boost/boost/spirit/include/support_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/support_multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/include/support_ostream_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_standard.hpp", - "external/sources/boost/boost/spirit/include/support_standard_wide.hpp", - "external/sources/boost/boost/spirit/include/support_string_traits.hpp", - "external/sources/boost/boost/spirit/include/support_unused.hpp", - "external/sources/boost/boost/spirit/include/support_utree.hpp", - "external/sources/boost/boost/spirit/include/version.hpp", - "external/sources/boost/boost/spirit/repository/home/karma.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/directive.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/directive/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/nonterminal/subrule.hpp", - "external/sources/boost/boost/spirit/repository/home/qi.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/distinct.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/kwd.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/seek.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/nonterminal/subrule.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator/detail/keywords.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator/keywords.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/advance.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/iter_pos.hpp", - "external/sources/boost/boost/spirit/repository/home/support/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/support/distinct.hpp", - "external/sources/boost/boost/spirit/repository/home/support/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/home/support/kwd.hpp", - "external/sources/boost/boost/spirit/repository/home/support/seek.hpp", - "external/sources/boost/boost/spirit/repository/home/support/subrule_context.hpp", - "external/sources/boost/boost/spirit/repository/include/karma.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_confix.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_directive.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_subrule.hpp", - "external/sources/boost/boost/spirit/repository/include/qi.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_advance.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_confix.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_directive.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_distinct.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_iter_pos.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_keywords.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_kwd.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_primitive.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_seek.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_subrule.hpp", - "external/sources/boost/boost/spirit/version.hpp", - "external/sources/boost/boost/stacktrace.hpp", - "external/sources/boost/boost/stacktrace/detail/addr2line_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/collect_msvc.ipp", - "external/sources/boost/boost/stacktrace/detail/collect_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/collect_unwind.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_decl.hpp", - "external/sources/boost/boost/stacktrace/detail/frame_msvc.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_unwind.ipp", - "external/sources/boost/boost/stacktrace/detail/libbacktrace_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/location_from_symbol.hpp", - "external/sources/boost/boost/stacktrace/detail/pop_options.h", - "external/sources/boost/boost/stacktrace/detail/push_options.h", - "external/sources/boost/boost/stacktrace/detail/safe_dump_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/safe_dump_posix.ipp", - "external/sources/boost/boost/stacktrace/detail/safe_dump_win.ipp", - "external/sources/boost/boost/stacktrace/detail/to_dec_array.hpp", - "external/sources/boost/boost/stacktrace/detail/to_hex_array.hpp", - "external/sources/boost/boost/stacktrace/detail/try_dec_convert.hpp", - "external/sources/boost/boost/stacktrace/detail/unwind_base_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/void_ptr_cast.hpp", - "external/sources/boost/boost/stacktrace/frame.hpp", - "external/sources/boost/boost/stacktrace/safe_dump_to.hpp", - "external/sources/boost/boost/stacktrace/stacktrace.hpp", - "external/sources/boost/boost/stacktrace/stacktrace_fwd.hpp", - "external/sources/boost/boost/statechart/asynchronous_state_machine.hpp", - "external/sources/boost/boost/statechart/custom_reaction.hpp", - "external/sources/boost/boost/statechart/deep_history.hpp", - "external/sources/boost/boost/statechart/deferral.hpp", - "external/sources/boost/boost/statechart/detail/avoid_unused_warning.hpp", - "external/sources/boost/boost/statechart/detail/constructor.hpp", - "external/sources/boost/boost/statechart/detail/counted_base.hpp", - "external/sources/boost/boost/statechart/detail/leaf_state.hpp", - "external/sources/boost/boost/statechart/detail/memory.hpp", - "external/sources/boost/boost/statechart/detail/node_state.hpp", - "external/sources/boost/boost/statechart/detail/reaction_dispatcher.hpp", - "external/sources/boost/boost/statechart/detail/rtti_policy.hpp", - "external/sources/boost/boost/statechart/detail/state_base.hpp", - "external/sources/boost/boost/statechart/event.hpp", - "external/sources/boost/boost/statechart/event_base.hpp", - "external/sources/boost/boost/statechart/event_processor.hpp", - "external/sources/boost/boost/statechart/exception_translator.hpp", - "external/sources/boost/boost/statechart/fifo_scheduler.hpp", - "external/sources/boost/boost/statechart/fifo_worker.hpp", - "external/sources/boost/boost/statechart/history.hpp", - "external/sources/boost/boost/statechart/in_state_reaction.hpp", - "external/sources/boost/boost/statechart/null_exception_translator.hpp", - "external/sources/boost/boost/statechart/processor_container.hpp", - "external/sources/boost/boost/statechart/result.hpp", - "external/sources/boost/boost/statechart/shallow_history.hpp", - "external/sources/boost/boost/statechart/simple_state.hpp", - "external/sources/boost/boost/statechart/state.hpp", - "external/sources/boost/boost/statechart/state_machine.hpp", - "external/sources/boost/boost/statechart/termination.hpp", - "external/sources/boost/boost/statechart/transition.hpp", - "external/sources/boost/boost/static_assert.hpp", - "external/sources/boost/boost/static_string.hpp", - "external/sources/boost/boost/static_string/config.hpp", - "external/sources/boost/boost/static_string/static_string.hpp", - "external/sources/boost/boost/stl_interfaces/fwd.hpp", - "external/sources/boost/boost/stl_interfaces/iterator_interface.hpp", - "external/sources/boost/boost/stl_interfaces/reverse_iterator.hpp", - "external/sources/boost/boost/stl_interfaces/sequence_container_interface.hpp", - "external/sources/boost/boost/stl_interfaces/view_interface.hpp", - "external/sources/boost/boost/swap.hpp", - "external/sources/boost/boost/system/api_config.hpp", - "external/sources/boost/boost/system/config.hpp", - "external/sources/boost/boost/system/cygwin_error.hpp", - "external/sources/boost/boost/system/detail/config.hpp", - "external/sources/boost/boost/system/detail/generic_category.hpp", - "external/sources/boost/boost/system/detail/std_interoperability.hpp", - "external/sources/boost/boost/system/detail/system_category_posix.hpp", - "external/sources/boost/boost/system/detail/system_category_win32.hpp", - "external/sources/boost/boost/system/error_code.hpp", - "external/sources/boost/boost/system/linux_error.hpp", - "external/sources/boost/boost/system/system_error.hpp", - "external/sources/boost/boost/system/windows_error.hpp", - "external/sources/boost/boost/test/auto_unit_test.hpp", - "external/sources/boost/boost/test/data/config.hpp", - "external/sources/boost/boost/test/data/dataset.hpp", - "external/sources/boost/boost/test/data/for_each_sample.hpp", - "external/sources/boost/boost/test/data/index_sequence.hpp", - "external/sources/boost/boost/test/data/monomorphic.hpp", - "external/sources/boost/boost/test/data/monomorphic/array.hpp", - "external/sources/boost/boost/test/data/monomorphic/collection.hpp", - "external/sources/boost/boost/test/data/monomorphic/delayed.hpp", - "external/sources/boost/boost/test/data/monomorphic/fwd.hpp", - "external/sources/boost/boost/test/data/monomorphic/generate.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/keywords.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/random.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/xrange.hpp", - "external/sources/boost/boost/test/data/monomorphic/grid.hpp", - "external/sources/boost/boost/test/data/monomorphic/initializer_list.hpp", - "external/sources/boost/boost/test/data/monomorphic/join.hpp", - "external/sources/boost/boost/test/data/monomorphic/sample_merge.hpp", - "external/sources/boost/boost/test/data/monomorphic/singleton.hpp", - "external/sources/boost/boost/test/data/monomorphic/zip.hpp", - "external/sources/boost/boost/test/data/size.hpp", - "external/sources/boost/boost/test/data/test_case.hpp", - "external/sources/boost/boost/test/debug.hpp", - "external/sources/boost/boost/test/debug_config.hpp", - "external/sources/boost/boost/test/detail/config.hpp", - "external/sources/boost/boost/test/detail/enable_warnings.hpp", - "external/sources/boost/boost/test/detail/fwd_decl.hpp", - "external/sources/boost/boost/test/detail/global_typedef.hpp", - "external/sources/boost/boost/test/detail/log_level.hpp", - "external/sources/boost/boost/test/detail/pp_variadic.hpp", - "external/sources/boost/boost/test/detail/suppress_warnings.hpp", - "external/sources/boost/boost/test/detail/throw_exception.hpp", - "external/sources/boost/boost/test/execution_monitor.hpp", - "external/sources/boost/boost/test/floating_point_comparison.hpp", - "external/sources/boost/boost/test/framework.hpp", - "external/sources/boost/boost/test/impl/compiler_log_formatter.ipp", - "external/sources/boost/boost/test/impl/cpp_main.ipp", - "external/sources/boost/boost/test/impl/debug.ipp", - "external/sources/boost/boost/test/impl/decorator.ipp", - "external/sources/boost/boost/test/impl/execution_monitor.ipp", - "external/sources/boost/boost/test/impl/framework.ipp", - "external/sources/boost/boost/test/impl/junit_log_formatter.ipp", - "external/sources/boost/boost/test/impl/plain_report_formatter.ipp", - "external/sources/boost/boost/test/impl/progress_monitor.ipp", - "external/sources/boost/boost/test/impl/results_collector.ipp", - "external/sources/boost/boost/test/impl/results_reporter.ipp", - "external/sources/boost/boost/test/impl/test_framework_init_observer.ipp", - "external/sources/boost/boost/test/impl/test_main.ipp", - "external/sources/boost/boost/test/impl/test_tools.ipp", - "external/sources/boost/boost/test/impl/test_tree.ipp", - "external/sources/boost/boost/test/impl/unit_test_log.ipp", - "external/sources/boost/boost/test/impl/unit_test_main.ipp", - "external/sources/boost/boost/test/impl/unit_test_monitor.ipp", - "external/sources/boost/boost/test/impl/unit_test_parameters.ipp", - "external/sources/boost/boost/test/impl/xml_log_formatter.ipp", - "external/sources/boost/boost/test/impl/xml_report_formatter.ipp", - "external/sources/boost/boost/test/included/execution_monitor.hpp", - "external/sources/boost/boost/test/included/prg_exec_monitor.hpp", - "external/sources/boost/boost/test/included/test_exec_monitor.hpp", - "external/sources/boost/boost/test/included/unit_test.hpp", - "external/sources/boost/boost/test/included/unit_test_framework.hpp", - "external/sources/boost/boost/test/minimal.hpp", - "external/sources/boost/boost/test/output/compiler_log_formatter.hpp", - "external/sources/boost/boost/test/output/junit_log_formatter.hpp", - "external/sources/boost/boost/test/output/plain_report_formatter.hpp", - "external/sources/boost/boost/test/output/xml_log_formatter.hpp", - "external/sources/boost/boost/test/output/xml_report_formatter.hpp", - "external/sources/boost/boost/test/output_test_stream.hpp", - "external/sources/boost/boost/test/parameterized_test.hpp", - "external/sources/boost/boost/test/predicate_result.hpp", - "external/sources/boost/boost/test/prg_exec_monitor.hpp", - "external/sources/boost/boost/test/progress_monitor.hpp", - "external/sources/boost/boost/test/results_collector.hpp", - "external/sources/boost/boost/test/results_reporter.hpp", - "external/sources/boost/boost/test/test_case_template.hpp", - "external/sources/boost/boost/test/test_exec_monitor.hpp", - "external/sources/boost/boost/test/test_framework_init_observer.hpp", - "external/sources/boost/boost/test/test_tools.hpp", - "external/sources/boost/boost/test/tools/assertion.hpp", - "external/sources/boost/boost/test/tools/assertion_result.hpp", - "external/sources/boost/boost/test/tools/collection_comparison_op.hpp", - "external/sources/boost/boost/test/tools/context.hpp", - "external/sources/boost/boost/test/tools/cstring_comparison_op.hpp", - "external/sources/boost/boost/test/tools/detail/bitwise_manip.hpp", - "external/sources/boost/boost/test/tools/detail/fwd.hpp", - "external/sources/boost/boost/test/tools/detail/indirections.hpp", - "external/sources/boost/boost/test/tools/detail/it_pair.hpp", - "external/sources/boost/boost/test/tools/detail/lexicographic_manip.hpp", - "external/sources/boost/boost/test/tools/detail/per_element_manip.hpp", - "external/sources/boost/boost/test/tools/detail/print_helper.hpp", - "external/sources/boost/boost/test/tools/detail/tolerance_manip.hpp", - "external/sources/boost/boost/test/tools/floating_point_comparison.hpp", - "external/sources/boost/boost/test/tools/fpc_op.hpp", - "external/sources/boost/boost/test/tools/fpc_tolerance.hpp", - "external/sources/boost/boost/test/tools/interface.hpp", - "external/sources/boost/boost/test/tools/old/impl.hpp", - "external/sources/boost/boost/test/tools/old/interface.hpp", - "external/sources/boost/boost/test/tools/output_test_stream.hpp", - "external/sources/boost/boost/test/tree/auto_registration.hpp", - "external/sources/boost/boost/test/tree/decorator.hpp", - "external/sources/boost/boost/test/tree/fixture.hpp", - "external/sources/boost/boost/test/tree/global_fixture.hpp", - "external/sources/boost/boost/test/tree/observer.hpp", - "external/sources/boost/boost/test/tree/test_case_counter.hpp", - "external/sources/boost/boost/test/tree/test_case_template.hpp", - "external/sources/boost/boost/test/tree/test_unit.hpp", - "external/sources/boost/boost/test/tree/traverse.hpp", - "external/sources/boost/boost/test/tree/visitor.hpp", - "external/sources/boost/boost/test/unit_test.hpp", - "external/sources/boost/boost/test/unit_test_log.hpp", - "external/sources/boost/boost/test/unit_test_log_formatter.hpp", - "external/sources/boost/boost/test/unit_test_monitor.hpp", - "external/sources/boost/boost/test/unit_test_parameters.hpp", - "external/sources/boost/boost/test/unit_test_suite.hpp", - "external/sources/boost/boost/test/utils/algorithm.hpp", - "external/sources/boost/boost/test/utils/assign_op.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/bcs_char_traits.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/compare.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/io.hpp", - "external/sources/boost/boost/test/utils/class_properties.hpp", - "external/sources/boost/boost/test/utils/custom_manip.hpp", - "external/sources/boost/boost/test/utils/foreach.hpp", - "external/sources/boost/boost/test/utils/is_cstring.hpp", - "external/sources/boost/boost/test/utils/is_forward_iterable.hpp", - "external/sources/boost/boost/test/utils/iterator/input_iterator_facade.hpp", - "external/sources/boost/boost/test/utils/iterator/token_iterator.hpp", - "external/sources/boost/boost/test/utils/lazy_ostream.hpp", - "external/sources/boost/boost/test/utils/named_params.hpp", - "external/sources/boost/boost/test/utils/nullstream.hpp", - "external/sources/boost/boost/test/utils/rtti.hpp", - "external/sources/boost/boost/test/utils/runtime/argument.hpp", - "external/sources/boost/boost/test/utils/runtime/argument_factory.hpp", - "external/sources/boost/boost/test/utils/runtime/cla/argv_traverser.hpp", - "external/sources/boost/boost/test/utils/runtime/cla/parser.hpp", - "external/sources/boost/boost/test/utils/runtime/env/fetch.hpp", - "external/sources/boost/boost/test/utils/runtime/errors.hpp", - "external/sources/boost/boost/test/utils/runtime/finalize.hpp", - "external/sources/boost/boost/test/utils/runtime/fwd.hpp", - "external/sources/boost/boost/test/utils/runtime/modifier.hpp", - "external/sources/boost/boost/test/utils/runtime/parameter.hpp", - "external/sources/boost/boost/test/utils/setcolor.hpp", - "external/sources/boost/boost/test/utils/string_cast.hpp", - "external/sources/boost/boost/test/utils/timer.hpp", - "external/sources/boost/boost/test/utils/wrap_stringstream.hpp", - "external/sources/boost/boost/test/utils/xml_printer.hpp", - "external/sources/boost/boost/thread.hpp", - "external/sources/boost/boost/thread/barrier.hpp", - "external/sources/boost/boost/thread/caller_context.hpp", - "external/sources/boost/boost/thread/completion_latch.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_adaptor.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_views.hpp", - "external/sources/boost/boost/thread/concurrent_queues/detail/sync_deque_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/detail/sync_queue_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_adaptor.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_op_status.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_views.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_bounded_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_deque.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_priority_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_timed_queue.hpp", - "external/sources/boost/boost/thread/condition.hpp", - "external/sources/boost/boost/thread/condition_variable.hpp", - "external/sources/boost/boost/thread/csbl/deque.hpp", - "external/sources/boost/boost/thread/csbl/devector.hpp", - "external/sources/boost/boost/thread/csbl/functional.hpp", - "external/sources/boost/boost/thread/csbl/list.hpp", - "external/sources/boost/boost/thread/csbl/memory.hpp", - "external/sources/boost/boost/thread/csbl/memory/allocator_arg.hpp", - "external/sources/boost/boost/thread/csbl/memory/allocator_traits.hpp", - "external/sources/boost/boost/thread/csbl/memory/config.hpp", - "external/sources/boost/boost/thread/csbl/memory/default_delete.hpp", - "external/sources/boost/boost/thread/csbl/memory/pointer_traits.hpp", - "external/sources/boost/boost/thread/csbl/memory/scoped_allocator.hpp", - "external/sources/boost/boost/thread/csbl/memory/shared_ptr.hpp", - "external/sources/boost/boost/thread/csbl/memory/unique_ptr.hpp", - "external/sources/boost/boost/thread/csbl/queue.hpp", - "external/sources/boost/boost/thread/csbl/tuple.hpp", - "external/sources/boost/boost/thread/csbl/vector.hpp", - "external/sources/boost/boost/thread/cv_status.hpp", - "external/sources/boost/boost/thread/detail/atomic_redef_macros.hpp", - "external/sources/boost/boost/thread/detail/atomic_undef_macros.hpp", - "external/sources/boost/boost/thread/detail/config.hpp", - "external/sources/boost/boost/thread/detail/counter.hpp", - "external/sources/boost/boost/thread/detail/delete.hpp", - "external/sources/boost/boost/thread/detail/force_cast.hpp", - "external/sources/boost/boost/thread/detail/function_wrapper.hpp", - "external/sources/boost/boost/thread/detail/invoke.hpp", - "external/sources/boost/boost/thread/detail/invoker.hpp", - "external/sources/boost/boost/thread/detail/is_convertible.hpp", - "external/sources/boost/boost/thread/detail/lockable_wrapper.hpp", - "external/sources/boost/boost/thread/detail/log.hpp", - "external/sources/boost/boost/thread/detail/make_tuple_indices.hpp", - "external/sources/boost/boost/thread/detail/memory.hpp", - "external/sources/boost/boost/thread/detail/move.hpp", - "external/sources/boost/boost/thread/detail/nullary_function.hpp", - "external/sources/boost/boost/thread/detail/platform.hpp", - "external/sources/boost/boost/thread/detail/platform_time.hpp", - "external/sources/boost/boost/thread/detail/singleton.hpp", - "external/sources/boost/boost/thread/detail/thread.hpp", - "external/sources/boost/boost/thread/detail/thread_group.hpp", - "external/sources/boost/boost/thread/detail/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/detail/thread_interruption.hpp", - "external/sources/boost/boost/thread/detail/thread_safety.hpp", - "external/sources/boost/boost/thread/detail/tss_hooks.hpp", - "external/sources/boost/boost/thread/detail/variadic_footer.hpp", - "external/sources/boost/boost/thread/detail/variadic_header.hpp", - "external/sources/boost/boost/thread/exceptional_ptr.hpp", - "external/sources/boost/boost/thread/exceptions.hpp", - "external/sources/boost/boost/thread/executor.hpp", - "external/sources/boost/boost/thread/executors/basic_thread_pool.hpp", - "external/sources/boost/boost/thread/executors/detail/priority_executor_base.hpp", - "external/sources/boost/boost/thread/executors/detail/scheduled_executor_base.hpp", - "external/sources/boost/boost/thread/executors/executor.hpp", - "external/sources/boost/boost/thread/executors/executor_adaptor.hpp", - "external/sources/boost/boost/thread/executors/generic_executor_ref.hpp", - "external/sources/boost/boost/thread/executors/inline_executor.hpp", - "external/sources/boost/boost/thread/executors/loop_executor.hpp", - "external/sources/boost/boost/thread/executors/scheduled_thread_pool.hpp", - "external/sources/boost/boost/thread/executors/scheduler.hpp", - "external/sources/boost/boost/thread/executors/scheduling_adaptor.hpp", - "external/sources/boost/boost/thread/executors/serial_executor.hpp", - "external/sources/boost/boost/thread/executors/serial_executor_cont.hpp", - "external/sources/boost/boost/thread/executors/thread_executor.hpp", - "external/sources/boost/boost/thread/executors/work.hpp", - "external/sources/boost/boost/thread/experimental/config/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/exception_list.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v1/exception_list.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v1/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v2/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v2/task_region.hpp", - "external/sources/boost/boost/thread/experimental/task_region.hpp", - "external/sources/boost/boost/thread/externally_locked.hpp", - "external/sources/boost/boost/thread/externally_locked_stream.hpp", - "external/sources/boost/boost/thread/future.hpp", - "external/sources/boost/boost/thread/futures/future_error.hpp", - "external/sources/boost/boost/thread/futures/future_error_code.hpp", - "external/sources/boost/boost/thread/futures/future_status.hpp", - "external/sources/boost/boost/thread/futures/is_future_type.hpp", - "external/sources/boost/boost/thread/futures/launch.hpp", - "external/sources/boost/boost/thread/futures/wait_for_all.hpp", - "external/sources/boost/boost/thread/futures/wait_for_any.hpp", - "external/sources/boost/boost/thread/interruption.hpp", - "external/sources/boost/boost/thread/is_locked_by_this_thread.hpp", - "external/sources/boost/boost/thread/latch.hpp", - "external/sources/boost/boost/thread/lock_algorithms.hpp", - "external/sources/boost/boost/thread/lock_concepts.hpp", - "external/sources/boost/boost/thread/lock_factories.hpp", - "external/sources/boost/boost/thread/lock_guard.hpp", - "external/sources/boost/boost/thread/lock_options.hpp", - "external/sources/boost/boost/thread/lock_traits.hpp", - "external/sources/boost/boost/thread/lock_types.hpp", - "external/sources/boost/boost/thread/lockable_adapter.hpp", - "external/sources/boost/boost/thread/lockable_concepts.hpp", - "external/sources/boost/boost/thread/lockable_traits.hpp", - "external/sources/boost/boost/thread/locks.hpp", - "external/sources/boost/boost/thread/mutex.hpp", - "external/sources/boost/boost/thread/null_mutex.hpp", - "external/sources/boost/boost/thread/once.hpp", - "external/sources/boost/boost/thread/ostream_buffer.hpp", - "external/sources/boost/boost/thread/poly_lockable.hpp", - "external/sources/boost/boost/thread/poly_lockable_adapter.hpp", - "external/sources/boost/boost/thread/poly_shared_lockable.hpp", - "external/sources/boost/boost/thread/poly_shared_lockable_adapter.hpp", - "external/sources/boost/boost/thread/pthread/condition_variable.hpp", - "external/sources/boost/boost/thread/pthread/condition_variable_fwd.hpp", - "external/sources/boost/boost/thread/pthread/mutex.hpp", - "external/sources/boost/boost/thread/pthread/once.hpp", - "external/sources/boost/boost/thread/pthread/once_atomic.hpp", - "external/sources/boost/boost/thread/pthread/pthread_helpers.hpp", - "external/sources/boost/boost/thread/pthread/pthread_mutex_scoped_lock.hpp", - "external/sources/boost/boost/thread/pthread/recursive_mutex.hpp", - "external/sources/boost/boost/thread/pthread/shared_mutex.hpp", - "external/sources/boost/boost/thread/pthread/thread_data.hpp", - "external/sources/boost/boost/thread/pthread/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/recursive_mutex.hpp", - "external/sources/boost/boost/thread/reverse_lock.hpp", - "external/sources/boost/boost/thread/scoped_thread.hpp", - "external/sources/boost/boost/thread/shared_lock_guard.hpp", - "external/sources/boost/boost/thread/shared_mutex.hpp", - "external/sources/boost/boost/thread/strict_lock.hpp", - "external/sources/boost/boost/thread/sync_bounded_queue.hpp", - "external/sources/boost/boost/thread/sync_queue.hpp", - "external/sources/boost/boost/thread/synchronized_value.hpp", - "external/sources/boost/boost/thread/testable_mutex.hpp", - "external/sources/boost/boost/thread/thread.hpp", - "external/sources/boost/boost/thread/thread_functors.hpp", - "external/sources/boost/boost/thread/thread_guard.hpp", - "external/sources/boost/boost/thread/thread_only.hpp", - "external/sources/boost/boost/thread/thread_pool.hpp", - "external/sources/boost/boost/thread/thread_time.hpp", - "external/sources/boost/boost/thread/tss.hpp", - "external/sources/boost/boost/thread/user_scheduler.hpp", - "external/sources/boost/boost/thread/v2/shared_mutex.hpp", - "external/sources/boost/boost/thread/win32/basic_recursive_mutex.hpp", - "external/sources/boost/boost/thread/win32/basic_timed_mutex.hpp", - "external/sources/boost/boost/thread/win32/condition_variable.hpp", - "external/sources/boost/boost/thread/win32/interlocked_read.hpp", - "external/sources/boost/boost/thread/win32/mfc_thread_init.hpp", - "external/sources/boost/boost/thread/win32/mutex.hpp", - "external/sources/boost/boost/thread/win32/once.hpp", - "external/sources/boost/boost/thread/win32/recursive_mutex.hpp", - "external/sources/boost/boost/thread/win32/shared_mutex.hpp", - "external/sources/boost/boost/thread/win32/thread_data.hpp", - "external/sources/boost/boost/thread/win32/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/win32/thread_primitives.hpp", - "external/sources/boost/boost/thread/with_lock_guard.hpp", - "external/sources/boost/boost/thread/xtime.hpp", - "external/sources/boost/boost/throw_exception.hpp", - "external/sources/boost/boost/timer.hpp", - "external/sources/boost/boost/timer/config.hpp", - "external/sources/boost/boost/timer/progress_display.hpp", - "external/sources/boost/boost/timer/timer.hpp", - "external/sources/boost/boost/token_functions.hpp", - "external/sources/boost/boost/token_iterator.hpp", - "external/sources/boost/boost/tokenizer.hpp", - "external/sources/boost/boost/tti/detail/dclass.hpp", - "external/sources/boost/boost/tti/detail/dcomp_mem_fun.hpp", - "external/sources/boost/boost/tti/detail/dcomp_mem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/ddata.hpp", - "external/sources/boost/boost/tti/detail/ddeftype.hpp", - "external/sources/boost/boost/tti/detail/denclosing_type.hpp", - "external/sources/boost/boost/tti/detail/denum.hpp", - "external/sources/boost/boost/tti/detail/dftclass.hpp", - "external/sources/boost/boost/tti/detail/dfunction.hpp", - "external/sources/boost/boost/tti/detail/dfunction_template.hpp", - "external/sources/boost/boost/tti/detail/dlambda.hpp", - "external/sources/boost/boost/tti/detail/dmacro_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dmacro_fve.hpp", - "external/sources/boost/boost/tti/detail/dmacro_sunfix.hpp", - "external/sources/boost/boost/tti/detail/dmem_data.hpp", - "external/sources/boost/boost/tti/detail/dmem_fun.hpp", - "external/sources/boost/boost/tti/detail/dmem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dmem_type.hpp", - "external/sources/boost/boost/tti/detail/dmetafunc.hpp", - "external/sources/boost/boost/tti/detail/dnotype.hpp", - "external/sources/boost/boost/tti/detail/dnullptr.hpp", - "external/sources/boost/boost/tti/detail/dplaceholder.hpp", - "external/sources/boost/boost/tti/detail/dptmf.hpp", - "external/sources/boost/boost/tti/detail/dstatic_function_tags.hpp", - "external/sources/boost/boost/tti/detail/dstatic_function_type.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_data.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_fun.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dtclass.hpp", - "external/sources/boost/boost/tti/detail/dtemplate.hpp", - "external/sources/boost/boost/tti/detail/dtemplate_params.hpp", - "external/sources/boost/boost/tti/detail/dtfunction.hpp", - "external/sources/boost/boost/tti/detail/dtype.hpp", - "external/sources/boost/boost/tti/detail/dunion.hpp", - "external/sources/boost/boost/tti/detail/dvm_template_params.hpp", - "external/sources/boost/boost/tti/has_class.hpp", - "external/sources/boost/boost/tti/has_data.hpp", - "external/sources/boost/boost/tti/has_enum.hpp", - "external/sources/boost/boost/tti/has_function.hpp", - "external/sources/boost/boost/tti/has_function_template.hpp", - "external/sources/boost/boost/tti/has_member_data.hpp", - "external/sources/boost/boost/tti/has_member_function.hpp", - "external/sources/boost/boost/tti/has_member_function_template.hpp", - "external/sources/boost/boost/tti/has_static_member_data.hpp", - "external/sources/boost/boost/tti/has_static_member_function.hpp", - "external/sources/boost/boost/tti/has_static_member_function_template.hpp", - "external/sources/boost/boost/tti/has_template.hpp", - "external/sources/boost/boost/tti/has_type.hpp", - "external/sources/boost/boost/tti/has_union.hpp", - "external/sources/boost/boost/tti/member_type.hpp", - "external/sources/boost/boost/tti/tti.hpp", - "external/sources/boost/boost/tuple/detail/tuple_basic.hpp", - "external/sources/boost/boost/tuple/tuple.hpp", - "external/sources/boost/boost/tuple/tuple_comparison.hpp", - "external/sources/boost/boost/tuple/tuple_io.hpp", - "external/sources/boost/boost/type.hpp", - "external/sources/boost/boost/type_erasure/any.hpp", - "external/sources/boost/boost/type_erasure/any_cast.hpp", - "external/sources/boost/boost/type_erasure/binding.hpp", - "external/sources/boost/boost/type_erasure/binding_of.hpp", - "external/sources/boost/boost/type_erasure/builtin.hpp", - "external/sources/boost/boost/type_erasure/call.hpp", - "external/sources/boost/boost/type_erasure/callable.hpp", - "external/sources/boost/boost/type_erasure/check_match.hpp", - "external/sources/boost/boost/type_erasure/concept_interface.hpp", - "external/sources/boost/boost/type_erasure/concept_of.hpp", - "external/sources/boost/boost/type_erasure/config.hpp", - "external/sources/boost/boost/type_erasure/constructible.hpp", - "external/sources/boost/boost/type_erasure/deduced.hpp", - "external/sources/boost/boost/type_erasure/derived.hpp", - "external/sources/boost/boost/type_erasure/detail/access.hpp", - "external/sources/boost/boost/type_erasure/detail/adapt_to_vtable.hpp", - "external/sources/boost/boost/type_erasure/detail/any_base.hpp", - "external/sources/boost/boost/type_erasure/detail/auto_link.hpp", - "external/sources/boost/boost/type_erasure/detail/check_call.hpp", - "external/sources/boost/boost/type_erasure/detail/check_map.hpp", - "external/sources/boost/boost/type_erasure/detail/const.hpp", - "external/sources/boost/boost/type_erasure/detail/construct.hpp", - "external/sources/boost/boost/type_erasure/detail/dynamic_vtable.hpp", - "external/sources/boost/boost/type_erasure/detail/extract_concept.hpp", - "external/sources/boost/boost/type_erasure/detail/get_placeholders.hpp", - "external/sources/boost/boost/type_erasure/detail/get_signature.hpp", - "external/sources/boost/boost/type_erasure/detail/instantiate.hpp", - "external/sources/boost/boost/type_erasure/detail/macro.hpp", - "external/sources/boost/boost/type_erasure/detail/member11.hpp", - "external/sources/boost/boost/type_erasure/detail/meta.hpp", - "external/sources/boost/boost/type_erasure/detail/normalize.hpp", - "external/sources/boost/boost/type_erasure/detail/normalize_deduced.hpp", - "external/sources/boost/boost/type_erasure/detail/null.hpp", - "external/sources/boost/boost/type_erasure/detail/rebind_placeholders.hpp", - "external/sources/boost/boost/type_erasure/detail/storage.hpp", - "external/sources/boost/boost/type_erasure/detail/vtable.hpp", - "external/sources/boost/boost/type_erasure/dynamic_any_cast.hpp", - "external/sources/boost/boost/type_erasure/dynamic_binding.hpp", - "external/sources/boost/boost/type_erasure/exception.hpp", - "external/sources/boost/boost/type_erasure/free.hpp", - "external/sources/boost/boost/type_erasure/is_empty.hpp", - "external/sources/boost/boost/type_erasure/is_placeholder.hpp", - "external/sources/boost/boost/type_erasure/is_subconcept.hpp", - "external/sources/boost/boost/type_erasure/iterator.hpp", - "external/sources/boost/boost/type_erasure/member.hpp", - "external/sources/boost/boost/type_erasure/operators.hpp", - "external/sources/boost/boost/type_erasure/param.hpp", - "external/sources/boost/boost/type_erasure/placeholder.hpp", - "external/sources/boost/boost/type_erasure/placeholder_of.hpp", - "external/sources/boost/boost/type_erasure/rebind_any.hpp", - "external/sources/boost/boost/type_erasure/register_binding.hpp", - "external/sources/boost/boost/type_erasure/relaxed.hpp", - "external/sources/boost/boost/type_erasure/require_match.hpp", - "external/sources/boost/boost/type_erasure/same_type.hpp", - "external/sources/boost/boost/type_erasure/static_binding.hpp", - "external/sources/boost/boost/type_erasure/tuple.hpp", - "external/sources/boost/boost/type_erasure/typeid_of.hpp", - "external/sources/boost/boost/type_index.hpp", - "external/sources/boost/boost/type_index/ctti_type_index.hpp", - "external/sources/boost/boost/type_index/detail/compile_time_type_info.hpp", - "external/sources/boost/boost/type_index/detail/ctti_register_class.hpp", - "external/sources/boost/boost/type_index/detail/stl_register_class.hpp", - "external/sources/boost/boost/type_index/runtime_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/detail/runtime_cast_impl.hpp", - "external/sources/boost/boost/type_index/runtime_cast/pointer_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/reference_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/register_runtime_class.hpp", - "external/sources/boost/boost/type_index/runtime_cast/std_shared_ptr_cast.hpp", - "external/sources/boost/boost/type_index/stl_type_index.hpp", - "external/sources/boost/boost/type_index/type_index_facade.hpp", - "external/sources/boost/boost/type_traits.hpp", - "external/sources/boost/boost/type_traits/add_const.hpp", - "external/sources/boost/boost/type_traits/add_cv.hpp", - "external/sources/boost/boost/type_traits/add_lvalue_reference.hpp", - "external/sources/boost/boost/type_traits/add_pointer.hpp", - "external/sources/boost/boost/type_traits/add_reference.hpp", - "external/sources/boost/boost/type_traits/add_rvalue_reference.hpp", - "external/sources/boost/boost/type_traits/add_volatile.hpp", - "external/sources/boost/boost/type_traits/aligned_storage.hpp", - "external/sources/boost/boost/type_traits/alignment_of.hpp", - "external/sources/boost/boost/type_traits/alignment_traits.hpp", - "external/sources/boost/boost/type_traits/arithmetic_traits.hpp", - "external/sources/boost/boost/type_traits/array_traits.hpp", - "external/sources/boost/boost/type_traits/broken_compiler_spec.hpp", - "external/sources/boost/boost/type_traits/common_type.hpp", - "external/sources/boost/boost/type_traits/composite_traits.hpp", - "external/sources/boost/boost/type_traits/conditional.hpp", - "external/sources/boost/boost/type_traits/config.hpp", - "external/sources/boost/boost/type_traits/conjunction.hpp", - "external/sources/boost/boost/type_traits/conversion_traits.hpp", - "external/sources/boost/boost/type_traits/copy_cv.hpp", - "external/sources/boost/boost/type_traits/copy_cv_ref.hpp", - "external/sources/boost/boost/type_traits/copy_reference.hpp", - "external/sources/boost/boost/type_traits/cv_traits.hpp", - "external/sources/boost/boost/type_traits/decay.hpp", - "external/sources/boost/boost/type_traits/declval.hpp", - "external/sources/boost/boost/type_traits/detail/bool_trait_def.hpp", - "external/sources/boost/boost/type_traits/detail/bool_trait_undef.hpp", - "external/sources/boost/boost/type_traits/detail/common_arithmetic_type.hpp", - "external/sources/boost/boost/type_traits/detail/common_type_impl.hpp", - "external/sources/boost/boost/type_traits/detail/composite_member_pointer_type.hpp", - "external/sources/boost/boost/type_traits/detail/composite_pointer_type.hpp", - "external/sources/boost/boost/type_traits/detail/config.hpp", - "external/sources/boost/boost/type_traits/detail/detector.hpp", - "external/sources/boost/boost/type_traits/detail/has_binary_operator.hpp", - "external/sources/boost/boost/type_traits/detail/has_postfix_operator.hpp", - "external/sources/boost/boost/type_traits/detail/has_prefix_operator.hpp", - "external/sources/boost/boost/type_traits/detail/ice_and.hpp", - "external/sources/boost/boost/type_traits/detail/ice_eq.hpp", - "external/sources/boost/boost/type_traits/detail/ice_not.hpp", - "external/sources/boost/boost/type_traits/detail/ice_or.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_cxx_03.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_cxx_11.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_msvc10_fix.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_ptr_helper.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_ptr_tester.hpp", - "external/sources/boost/boost/type_traits/detail/is_likely_lambda.hpp", - "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp", - "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp", - "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp", - "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp", - "external/sources/boost/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp", - "external/sources/boost/boost/type_traits/detail/mp_defer.hpp", - "external/sources/boost/boost/type_traits/detail/template_arity_spec.hpp", - "external/sources/boost/boost/type_traits/detail/yes_no_type.hpp", - "external/sources/boost/boost/type_traits/detected.hpp", - "external/sources/boost/boost/type_traits/detected_or.hpp", - "external/sources/boost/boost/type_traits/disjunction.hpp", - "external/sources/boost/boost/type_traits/enable_if.hpp", - "external/sources/boost/boost/type_traits/extent.hpp", - "external/sources/boost/boost/type_traits/floating_point_promotion.hpp", - "external/sources/boost/boost/type_traits/function_traits.hpp", - "external/sources/boost/boost/type_traits/has_bit_and.hpp", - "external/sources/boost/boost/type_traits/has_bit_and_assign.hpp", - "external/sources/boost/boost/type_traits/has_bit_or.hpp", - "external/sources/boost/boost/type_traits/has_bit_or_assign.hpp", - "external/sources/boost/boost/type_traits/has_bit_xor.hpp", - "external/sources/boost/boost/type_traits/has_bit_xor_assign.hpp", - "external/sources/boost/boost/type_traits/has_complement.hpp", - "external/sources/boost/boost/type_traits/has_dereference.hpp", - "external/sources/boost/boost/type_traits/has_divides.hpp", - "external/sources/boost/boost/type_traits/has_divides_assign.hpp", - "external/sources/boost/boost/type_traits/has_equal_to.hpp", - "external/sources/boost/boost/type_traits/has_greater.hpp", - "external/sources/boost/boost/type_traits/has_greater_equal.hpp", - "external/sources/boost/boost/type_traits/has_left_shift.hpp", - "external/sources/boost/boost/type_traits/has_left_shift_assign.hpp", - "external/sources/boost/boost/type_traits/has_less.hpp", - "external/sources/boost/boost/type_traits/has_less_equal.hpp", - "external/sources/boost/boost/type_traits/has_logical_and.hpp", - "external/sources/boost/boost/type_traits/has_logical_not.hpp", - "external/sources/boost/boost/type_traits/has_logical_or.hpp", - "external/sources/boost/boost/type_traits/has_minus.hpp", - "external/sources/boost/boost/type_traits/has_minus_assign.hpp", - "external/sources/boost/boost/type_traits/has_modulus.hpp", - "external/sources/boost/boost/type_traits/has_modulus_assign.hpp", - "external/sources/boost/boost/type_traits/has_multiplies.hpp", - "external/sources/boost/boost/type_traits/has_multiplies_assign.hpp", - "external/sources/boost/boost/type_traits/has_negate.hpp", - "external/sources/boost/boost/type_traits/has_new_operator.hpp", - "external/sources/boost/boost/type_traits/has_not_equal_to.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_assign.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_constructor.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_copy.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_destructor.hpp", - "external/sources/boost/boost/type_traits/has_operator.hpp", - "external/sources/boost/boost/type_traits/has_plus.hpp", - "external/sources/boost/boost/type_traits/has_plus_assign.hpp", - "external/sources/boost/boost/type_traits/has_post_decrement.hpp", - "external/sources/boost/boost/type_traits/has_post_increment.hpp", - "external/sources/boost/boost/type_traits/has_pre_decrement.hpp", - "external/sources/boost/boost/type_traits/has_pre_increment.hpp", - "external/sources/boost/boost/type_traits/has_right_shift.hpp", - "external/sources/boost/boost/type_traits/has_right_shift_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_constructor.hpp", - "external/sources/boost/boost/type_traits/has_trivial_copy.hpp", - "external/sources/boost/boost/type_traits/has_trivial_destructor.hpp", - "external/sources/boost/boost/type_traits/has_trivial_move_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_move_constructor.hpp", - "external/sources/boost/boost/type_traits/has_unary_minus.hpp", - "external/sources/boost/boost/type_traits/has_unary_plus.hpp", - "external/sources/boost/boost/type_traits/has_virtual_destructor.hpp", - "external/sources/boost/boost/type_traits/ice.hpp", - "external/sources/boost/boost/type_traits/integral_constant.hpp", - "external/sources/boost/boost/type_traits/integral_promotion.hpp", - "external/sources/boost/boost/type_traits/intrinsics.hpp", - "external/sources/boost/boost/type_traits/is_abstract.hpp", - "external/sources/boost/boost/type_traits/is_arithmetic.hpp", - "external/sources/boost/boost/type_traits/is_array.hpp", - "external/sources/boost/boost/type_traits/is_assignable.hpp", - "external/sources/boost/boost/type_traits/is_base_and_derived.hpp", - "external/sources/boost/boost/type_traits/is_base_of.hpp", - "external/sources/boost/boost/type_traits/is_base_of_tr1.hpp", - "external/sources/boost/boost/type_traits/is_bounded_array.hpp", - "external/sources/boost/boost/type_traits/is_class.hpp", - "external/sources/boost/boost/type_traits/is_complete.hpp", - "external/sources/boost/boost/type_traits/is_complex.hpp", - "external/sources/boost/boost/type_traits/is_compound.hpp", - "external/sources/boost/boost/type_traits/is_const.hpp", - "external/sources/boost/boost/type_traits/is_constructible.hpp", - "external/sources/boost/boost/type_traits/is_convertible.hpp", - "external/sources/boost/boost/type_traits/is_copy_assignable.hpp", - "external/sources/boost/boost/type_traits/is_copy_constructible.hpp", - "external/sources/boost/boost/type_traits/is_default_constructible.hpp", - "external/sources/boost/boost/type_traits/is_destructible.hpp", - "external/sources/boost/boost/type_traits/is_detected.hpp", - "external/sources/boost/boost/type_traits/is_detected_convertible.hpp", - "external/sources/boost/boost/type_traits/is_detected_exact.hpp", - "external/sources/boost/boost/type_traits/is_empty.hpp", - "external/sources/boost/boost/type_traits/is_enum.hpp", - "external/sources/boost/boost/type_traits/is_final.hpp", - "external/sources/boost/boost/type_traits/is_float.hpp", - "external/sources/boost/boost/type_traits/is_floating_point.hpp", - "external/sources/boost/boost/type_traits/is_function.hpp", - "external/sources/boost/boost/type_traits/is_fundamental.hpp", - "external/sources/boost/boost/type_traits/is_integral.hpp", - "external/sources/boost/boost/type_traits/is_list_constructible.hpp", - "external/sources/boost/boost/type_traits/is_lvalue_reference.hpp", - "external/sources/boost/boost/type_traits/is_member_function_pointer.hpp", - "external/sources/boost/boost/type_traits/is_member_object_pointer.hpp", - "external/sources/boost/boost/type_traits/is_member_pointer.hpp", - "external/sources/boost/boost/type_traits/is_noncopyable.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_move_assignable.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_move_constructible.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_swappable.hpp", - "external/sources/boost/boost/type_traits/is_object.hpp", - "external/sources/boost/boost/type_traits/is_pod.hpp", - "external/sources/boost/boost/type_traits/is_pointer.hpp", - "external/sources/boost/boost/type_traits/is_polymorphic.hpp", - "external/sources/boost/boost/type_traits/is_reference.hpp", - "external/sources/boost/boost/type_traits/is_rvalue_reference.hpp", - "external/sources/boost/boost/type_traits/is_same.hpp", - "external/sources/boost/boost/type_traits/is_scalar.hpp", - "external/sources/boost/boost/type_traits/is_scoped_enum.hpp", - "external/sources/boost/boost/type_traits/is_signed.hpp", - "external/sources/boost/boost/type_traits/is_stateless.hpp", - "external/sources/boost/boost/type_traits/is_trivially_copyable.hpp", - "external/sources/boost/boost/type_traits/is_unbounded_array.hpp", - "external/sources/boost/boost/type_traits/is_union.hpp", - "external/sources/boost/boost/type_traits/is_unscoped_enum.hpp", - "external/sources/boost/boost/type_traits/is_unsigned.hpp", - "external/sources/boost/boost/type_traits/is_virtual_base_of.hpp", - "external/sources/boost/boost/type_traits/is_void.hpp", - "external/sources/boost/boost/type_traits/is_volatile.hpp", - "external/sources/boost/boost/type_traits/make_signed.hpp", - "external/sources/boost/boost/type_traits/make_unsigned.hpp", - "external/sources/boost/boost/type_traits/make_void.hpp", - "external/sources/boost/boost/type_traits/negation.hpp", - "external/sources/boost/boost/type_traits/nonesuch.hpp", - "external/sources/boost/boost/type_traits/object_traits.hpp", - "external/sources/boost/boost/type_traits/promote.hpp", - "external/sources/boost/boost/type_traits/rank.hpp", - "external/sources/boost/boost/type_traits/reference_traits.hpp", - "external/sources/boost/boost/type_traits/remove_all_extents.hpp", - "external/sources/boost/boost/type_traits/remove_bounds.hpp", - "external/sources/boost/boost/type_traits/remove_const.hpp", - "external/sources/boost/boost/type_traits/remove_cv.hpp", - "external/sources/boost/boost/type_traits/remove_cv_ref.hpp", - "external/sources/boost/boost/type_traits/remove_extent.hpp", - "external/sources/boost/boost/type_traits/remove_pointer.hpp", - "external/sources/boost/boost/type_traits/remove_reference.hpp", - "external/sources/boost/boost/type_traits/remove_volatile.hpp", - "external/sources/boost/boost/type_traits/same_traits.hpp", - "external/sources/boost/boost/type_traits/transform_traits.hpp", - "external/sources/boost/boost/type_traits/type_identity.hpp", - "external/sources/boost/boost/type_traits/type_with_alignment.hpp", - "external/sources/boost/boost/typeof/constant.hpp", - "external/sources/boost/boost/typeof/decltype.hpp", - "external/sources/boost/boost/typeof/dmc/typeof_impl.hpp", - "external/sources/boost/boost/typeof/encode_decode.hpp", - "external/sources/boost/boost/typeof/encode_decode_params.hpp", - "external/sources/boost/boost/typeof/incr_registration_group.hpp", - "external/sources/boost/boost/typeof/int_encoding.hpp", - "external/sources/boost/boost/typeof/integral_template_param.hpp", - "external/sources/boost/boost/typeof/message.hpp", - "external/sources/boost/boost/typeof/modifiers.hpp", - "external/sources/boost/boost/typeof/msvc/typeof_impl.hpp", - "external/sources/boost/boost/typeof/native.hpp", - "external/sources/boost/boost/typeof/pointers_data_members.hpp", - "external/sources/boost/boost/typeof/register_functions.hpp", - "external/sources/boost/boost/typeof/register_functions_iterate.hpp", - "external/sources/boost/boost/typeof/register_fundamental.hpp", - "external/sources/boost/boost/typeof/register_mem_functions.hpp", - "external/sources/boost/boost/typeof/std/bitset.hpp", - "external/sources/boost/boost/typeof/std/complex.hpp", - "external/sources/boost/boost/typeof/std/deque.hpp", - "external/sources/boost/boost/typeof/std/fstream.hpp", - "external/sources/boost/boost/typeof/std/functional.hpp", - "external/sources/boost/boost/typeof/std/iostream.hpp", - "external/sources/boost/boost/typeof/std/istream.hpp", - "external/sources/boost/boost/typeof/std/iterator.hpp", - "external/sources/boost/boost/typeof/std/list.hpp", - "external/sources/boost/boost/typeof/std/locale.hpp", - "external/sources/boost/boost/typeof/std/map.hpp", - "external/sources/boost/boost/typeof/std/memory.hpp", - "external/sources/boost/boost/typeof/std/ostream.hpp", - "external/sources/boost/boost/typeof/std/queue.hpp", - "external/sources/boost/boost/typeof/std/set.hpp", - "external/sources/boost/boost/typeof/std/sstream.hpp", - "external/sources/boost/boost/typeof/std/stack.hpp", - "external/sources/boost/boost/typeof/std/streambuf.hpp", - "external/sources/boost/boost/typeof/std/string.hpp", - "external/sources/boost/boost/typeof/std/utility.hpp", - "external/sources/boost/boost/typeof/std/valarray.hpp", - "external/sources/boost/boost/typeof/std/vector.hpp", - "external/sources/boost/boost/typeof/template_encoding.hpp", - "external/sources/boost/boost/typeof/template_template_param.hpp", - "external/sources/boost/boost/typeof/type_encoding.hpp", - "external/sources/boost/boost/typeof/type_template_param.hpp", - "external/sources/boost/boost/typeof/typeof.hpp", - "external/sources/boost/boost/typeof/typeof_impl.hpp", - "external/sources/boost/boost/typeof/unsupported.hpp", - "external/sources/boost/boost/typeof/vector.hpp", - "external/sources/boost/boost/typeof/vector100.hpp", - "external/sources/boost/boost/typeof/vector150.hpp", - "external/sources/boost/boost/typeof/vector200.hpp", - "external/sources/boost/boost/typeof/vector50.hpp", - "external/sources/boost/boost/units/absolute.hpp", - "external/sources/boost/boost/units/base_dimension.hpp", - "external/sources/boost/boost/units/base_unit.hpp", - "external/sources/boost/boost/units/base_units/angle/arcminute.hpp", - "external/sources/boost/boost/units/base_units/angle/arcsecond.hpp", - "external/sources/boost/boost/units/base_units/angle/degree.hpp", - "external/sources/boost/boost/units/base_units/angle/gradian.hpp", - "external/sources/boost/boost/units/base_units/angle/radian.hpp", - "external/sources/boost/boost/units/base_units/angle/revolution.hpp", - "external/sources/boost/boost/units/base_units/angle/steradian.hpp", - "external/sources/boost/boost/units/base_units/astronomical/astronomical_unit.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_day.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_hour.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_minute.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_second.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_year.hpp", - "external/sources/boost/boost/units/base_units/astronomical/parsec.hpp", - "external/sources/boost/boost/units/base_units/cgs/biot.hpp", - "external/sources/boost/boost/units/base_units/cgs/centimeter.hpp", - "external/sources/boost/boost/units/base_units/cgs/gram.hpp", - "external/sources/boost/boost/units/base_units/imperial/conversions.hpp", - "external/sources/boost/boost/units/base_units/imperial/drachm.hpp", - "external/sources/boost/boost/units/base_units/imperial/fluid_ounce.hpp", - "external/sources/boost/boost/units/base_units/imperial/foot.hpp", - "external/sources/boost/boost/units/base_units/imperial/furlong.hpp", - "external/sources/boost/boost/units/base_units/imperial/gallon.hpp", - "external/sources/boost/boost/units/base_units/imperial/gill.hpp", - "external/sources/boost/boost/units/base_units/imperial/grain.hpp", - "external/sources/boost/boost/units/base_units/imperial/hundredweight.hpp", - "external/sources/boost/boost/units/base_units/imperial/inch.hpp", - "external/sources/boost/boost/units/base_units/imperial/league.hpp", - "external/sources/boost/boost/units/base_units/imperial/mile.hpp", - "external/sources/boost/boost/units/base_units/imperial/ounce.hpp", - "external/sources/boost/boost/units/base_units/imperial/pint.hpp", - "external/sources/boost/boost/units/base_units/imperial/pound.hpp", - "external/sources/boost/boost/units/base_units/imperial/quart.hpp", - "external/sources/boost/boost/units/base_units/imperial/quarter.hpp", - "external/sources/boost/boost/units/base_units/imperial/stone.hpp", - "external/sources/boost/boost/units/base_units/imperial/thou.hpp", - "external/sources/boost/boost/units/base_units/imperial/ton.hpp", - "external/sources/boost/boost/units/base_units/imperial/yard.hpp", - "external/sources/boost/boost/units/base_units/information/bit.hpp", - "external/sources/boost/boost/units/base_units/information/byte.hpp", - "external/sources/boost/boost/units/base_units/information/hartley.hpp", - "external/sources/boost/boost/units/base_units/information/nat.hpp", - "external/sources/boost/boost/units/base_units/information/shannon.hpp", - "external/sources/boost/boost/units/base_units/metric/angstrom.hpp", - "external/sources/boost/boost/units/base_units/metric/are.hpp", - "external/sources/boost/boost/units/base_units/metric/atmosphere.hpp", - "external/sources/boost/boost/units/base_units/metric/bar.hpp", - "external/sources/boost/boost/units/base_units/metric/barn.hpp", - "external/sources/boost/boost/units/base_units/metric/day.hpp", - "external/sources/boost/boost/units/base_units/metric/fermi.hpp", - "external/sources/boost/boost/units/base_units/metric/hectare.hpp", - "external/sources/boost/boost/units/base_units/metric/hour.hpp", - "external/sources/boost/boost/units/base_units/metric/knot.hpp", - "external/sources/boost/boost/units/base_units/metric/liter.hpp", - "external/sources/boost/boost/units/base_units/metric/micron.hpp", - "external/sources/boost/boost/units/base_units/metric/minute.hpp", - "external/sources/boost/boost/units/base_units/metric/mmHg.hpp", - "external/sources/boost/boost/units/base_units/metric/nautical_mile.hpp", - "external/sources/boost/boost/units/base_units/metric/ton.hpp", - "external/sources/boost/boost/units/base_units/metric/torr.hpp", - "external/sources/boost/boost/units/base_units/metric/year.hpp", - "external/sources/boost/boost/units/base_units/si/ampere.hpp", - "external/sources/boost/boost/units/base_units/si/candela.hpp", - "external/sources/boost/boost/units/base_units/si/kelvin.hpp", - "external/sources/boost/boost/units/base_units/si/kilogram.hpp", - "external/sources/boost/boost/units/base_units/si/meter.hpp", - "external/sources/boost/boost/units/base_units/si/mole.hpp", - "external/sources/boost/boost/units/base_units/si/second.hpp", - "external/sources/boost/boost/units/base_units/temperature/celsius.hpp", - "external/sources/boost/boost/units/base_units/temperature/conversions.hpp", - "external/sources/boost/boost/units/base_units/temperature/fahrenheit.hpp", - "external/sources/boost/boost/units/base_units/us/cup.hpp", - "external/sources/boost/boost/units/base_units/us/dram.hpp", - "external/sources/boost/boost/units/base_units/us/fluid_dram.hpp", - "external/sources/boost/boost/units/base_units/us/fluid_ounce.hpp", - "external/sources/boost/boost/units/base_units/us/foot.hpp", - "external/sources/boost/boost/units/base_units/us/gallon.hpp", - "external/sources/boost/boost/units/base_units/us/gill.hpp", - "external/sources/boost/boost/units/base_units/us/grain.hpp", - "external/sources/boost/boost/units/base_units/us/hundredweight.hpp", - "external/sources/boost/boost/units/base_units/us/inch.hpp", - "external/sources/boost/boost/units/base_units/us/mil.hpp", - "external/sources/boost/boost/units/base_units/us/mile.hpp", - "external/sources/boost/boost/units/base_units/us/minim.hpp", - "external/sources/boost/boost/units/base_units/us/ounce.hpp", - "external/sources/boost/boost/units/base_units/us/pint.hpp", - "external/sources/boost/boost/units/base_units/us/pound.hpp", - "external/sources/boost/boost/units/base_units/us/pound_force.hpp", - "external/sources/boost/boost/units/base_units/us/quart.hpp", - "external/sources/boost/boost/units/base_units/us/tablespoon.hpp", - "external/sources/boost/boost/units/base_units/us/teaspoon.hpp", - "external/sources/boost/boost/units/base_units/us/ton.hpp", - "external/sources/boost/boost/units/base_units/us/yard.hpp", - "external/sources/boost/boost/units/cmath.hpp", - "external/sources/boost/boost/units/config.hpp", - "external/sources/boost/boost/units/conversion.hpp", - "external/sources/boost/boost/units/derived_dimension.hpp", - "external/sources/boost/boost/units/detail/absolute_impl.hpp", - "external/sources/boost/boost/units/detail/cmath_impl.hpp", - "external/sources/boost/boost/units/detail/conversion_impl.hpp", - "external/sources/boost/boost/units/detail/dim_impl.hpp", - "external/sources/boost/boost/units/detail/dimension_impl.hpp", - "external/sources/boost/boost/units/detail/dimension_list.hpp", - "external/sources/boost/boost/units/detail/dimensionless_unit.hpp", - "external/sources/boost/boost/units/detail/heterogeneous_conversion.hpp", - "external/sources/boost/boost/units/detail/linear_algebra.hpp", - "external/sources/boost/boost/units/detail/one.hpp", - "external/sources/boost/boost/units/detail/ordinal.hpp", - "external/sources/boost/boost/units/detail/prevent_redefinition.hpp", - "external/sources/boost/boost/units/detail/push_front_if.hpp", - "external/sources/boost/boost/units/detail/push_front_or_add.hpp", - "external/sources/boost/boost/units/detail/sort.hpp", - "external/sources/boost/boost/units/detail/static_rational_power.hpp", - "external/sources/boost/boost/units/detail/unscale.hpp", - "external/sources/boost/boost/units/detail/utility.hpp", - "external/sources/boost/boost/units/dim.hpp", - "external/sources/boost/boost/units/dimension.hpp", - "external/sources/boost/boost/units/dimensionless_quantity.hpp", - "external/sources/boost/boost/units/dimensionless_type.hpp", - "external/sources/boost/boost/units/dimensionless_unit.hpp", - "external/sources/boost/boost/units/get_dimension.hpp", - "external/sources/boost/boost/units/get_system.hpp", - "external/sources/boost/boost/units/heterogeneous_system.hpp", - "external/sources/boost/boost/units/homogeneous_system.hpp", - "external/sources/boost/boost/units/io.hpp", - "external/sources/boost/boost/units/is_dim.hpp", - "external/sources/boost/boost/units/is_dimension_list.hpp", - "external/sources/boost/boost/units/is_dimensionless.hpp", - "external/sources/boost/boost/units/is_dimensionless_quantity.hpp", - "external/sources/boost/boost/units/is_dimensionless_unit.hpp", - "external/sources/boost/boost/units/is_quantity.hpp", - "external/sources/boost/boost/units/is_quantity_of_dimension.hpp", - "external/sources/boost/boost/units/is_quantity_of_system.hpp", - "external/sources/boost/boost/units/is_unit.hpp", - "external/sources/boost/boost/units/is_unit_of_dimension.hpp", - "external/sources/boost/boost/units/is_unit_of_system.hpp", - "external/sources/boost/boost/units/lambda.hpp", - "external/sources/boost/boost/units/limits.hpp", - "external/sources/boost/boost/units/make_scaled_unit.hpp", - "external/sources/boost/boost/units/make_system.hpp", - "external/sources/boost/boost/units/operators.hpp", - "external/sources/boost/boost/units/physical_dimensions.hpp", - "external/sources/boost/boost/units/physical_dimensions/absorbed_dose.hpp", - "external/sources/boost/boost/units/physical_dimensions/acceleration.hpp", - "external/sources/boost/boost/units/physical_dimensions/action.hpp", - "external/sources/boost/boost/units/physical_dimensions/activity.hpp", - "external/sources/boost/boost/units/physical_dimensions/amount.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_acceleration.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_momentum.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_velocity.hpp", - "external/sources/boost/boost/units/physical_dimensions/area.hpp", - "external/sources/boost/boost/units/physical_dimensions/capacitance.hpp", - "external/sources/boost/boost/units/physical_dimensions/conductance.hpp", - "external/sources/boost/boost/units/physical_dimensions/conductivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/current.hpp", - "external/sources/boost/boost/units/physical_dimensions/dose_equivalent.hpp", - "external/sources/boost/boost/units/physical_dimensions/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/physical_dimensions/electric_charge.hpp", - "external/sources/boost/boost/units/physical_dimensions/electric_potential.hpp", - "external/sources/boost/boost/units/physical_dimensions/energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/energy_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/force.hpp", - "external/sources/boost/boost/units/physical_dimensions/frequency.hpp", - "external/sources/boost/boost/units/physical_dimensions/heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/illuminance.hpp", - "external/sources/boost/boost/units/physical_dimensions/impedance.hpp", - "external/sources/boost/boost/units/physical_dimensions/inductance.hpp", - "external/sources/boost/boost/units/physical_dimensions/information.hpp", - "external/sources/boost/boost/units/physical_dimensions/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/physical_dimensions/length.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminance.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminous_flux.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminous_intensity.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_field_intensity.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_flux.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_flux_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/mass.hpp", - "external/sources/boost/boost/units/physical_dimensions/mass_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/molar_energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/molar_heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/moment_of_inertia.hpp", - "external/sources/boost/boost/units/physical_dimensions/momentum.hpp", - "external/sources/boost/boost/units/physical_dimensions/permeability.hpp", - "external/sources/boost/boost/units/physical_dimensions/permittivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/plane_angle.hpp", - "external/sources/boost/boost/units/physical_dimensions/power.hpp", - "external/sources/boost/boost/units/physical_dimensions/pressure.hpp", - "external/sources/boost/boost/units/physical_dimensions/reluctance.hpp", - "external/sources/boost/boost/units/physical_dimensions/resistance.hpp", - "external/sources/boost/boost/units/physical_dimensions/resistivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/solid_angle.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_volume.hpp", - "external/sources/boost/boost/units/physical_dimensions/stress.hpp", - "external/sources/boost/boost/units/physical_dimensions/surface_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/surface_tension.hpp", - "external/sources/boost/boost/units/physical_dimensions/temperature.hpp", - "external/sources/boost/boost/units/physical_dimensions/thermal_conductivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/time.hpp", - "external/sources/boost/boost/units/physical_dimensions/torque.hpp", - "external/sources/boost/boost/units/physical_dimensions/velocity.hpp", - "external/sources/boost/boost/units/physical_dimensions/volume.hpp", - "external/sources/boost/boost/units/physical_dimensions/wavenumber.hpp", - "external/sources/boost/boost/units/pow.hpp", - "external/sources/boost/boost/units/quantity.hpp", - "external/sources/boost/boost/units/reduce_unit.hpp", - "external/sources/boost/boost/units/scale.hpp", - "external/sources/boost/boost/units/scaled_base_unit.hpp", - "external/sources/boost/boost/units/static_constant.hpp", - "external/sources/boost/boost/units/static_rational.hpp", - "external/sources/boost/boost/units/systems/abstract.hpp", - "external/sources/boost/boost/units/systems/angle/degrees.hpp", - "external/sources/boost/boost/units/systems/angle/gradians.hpp", - "external/sources/boost/boost/units/systems/angle/revolutions.hpp", - "external/sources/boost/boost/units/systems/cgs.hpp", - "external/sources/boost/boost/units/systems/cgs/acceleration.hpp", - "external/sources/boost/boost/units/systems/cgs/area.hpp", - "external/sources/boost/boost/units/systems/cgs/base.hpp", - "external/sources/boost/boost/units/systems/cgs/current.hpp", - "external/sources/boost/boost/units/systems/cgs/dimensionless.hpp", - "external/sources/boost/boost/units/systems/cgs/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/systems/cgs/energy.hpp", - "external/sources/boost/boost/units/systems/cgs/force.hpp", - "external/sources/boost/boost/units/systems/cgs/frequency.hpp", - "external/sources/boost/boost/units/systems/cgs/io.hpp", - "external/sources/boost/boost/units/systems/cgs/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/systems/cgs/length.hpp", - "external/sources/boost/boost/units/systems/cgs/mass.hpp", - "external/sources/boost/boost/units/systems/cgs/mass_density.hpp", - "external/sources/boost/boost/units/systems/cgs/momentum.hpp", - "external/sources/boost/boost/units/systems/cgs/power.hpp", - "external/sources/boost/boost/units/systems/cgs/pressure.hpp", - "external/sources/boost/boost/units/systems/cgs/time.hpp", - "external/sources/boost/boost/units/systems/cgs/velocity.hpp", - "external/sources/boost/boost/units/systems/cgs/volume.hpp", - "external/sources/boost/boost/units/systems/cgs/wavenumber.hpp", - "external/sources/boost/boost/units/systems/detail/constants.hpp", - "external/sources/boost/boost/units/systems/information.hpp", - "external/sources/boost/boost/units/systems/information/bit.hpp", - "external/sources/boost/boost/units/systems/information/byte.hpp", - "external/sources/boost/boost/units/systems/information/hartley.hpp", - "external/sources/boost/boost/units/systems/information/nat.hpp", - "external/sources/boost/boost/units/systems/information/prefixes.hpp", - "external/sources/boost/boost/units/systems/information/shannon.hpp", - "external/sources/boost/boost/units/systems/si.hpp", - "external/sources/boost/boost/units/systems/si/absorbed_dose.hpp", - "external/sources/boost/boost/units/systems/si/acceleration.hpp", - "external/sources/boost/boost/units/systems/si/action.hpp", - "external/sources/boost/boost/units/systems/si/activity.hpp", - "external/sources/boost/boost/units/systems/si/amount.hpp", - "external/sources/boost/boost/units/systems/si/angular_acceleration.hpp", - "external/sources/boost/boost/units/systems/si/angular_momentum.hpp", - "external/sources/boost/boost/units/systems/si/angular_velocity.hpp", - "external/sources/boost/boost/units/systems/si/area.hpp", - "external/sources/boost/boost/units/systems/si/base.hpp", - "external/sources/boost/boost/units/systems/si/capacitance.hpp", - "external/sources/boost/boost/units/systems/si/catalytic_activity.hpp", - "external/sources/boost/boost/units/systems/si/codata/alpha_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/atomic-nuclear_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/deuteron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/electromagnetic_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/electron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/helion_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/muon_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/neutron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/physico-chemical_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/proton_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/tau_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/triton_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/typedefs.hpp", - "external/sources/boost/boost/units/systems/si/codata/universal_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata_constants.hpp", - "external/sources/boost/boost/units/systems/si/conductance.hpp", - "external/sources/boost/boost/units/systems/si/conductivity.hpp", - "external/sources/boost/boost/units/systems/si/current.hpp", - "external/sources/boost/boost/units/systems/si/dimensionless.hpp", - "external/sources/boost/boost/units/systems/si/dose_equivalent.hpp", - "external/sources/boost/boost/units/systems/si/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/systems/si/electric_charge.hpp", - "external/sources/boost/boost/units/systems/si/electric_potential.hpp", - "external/sources/boost/boost/units/systems/si/energy.hpp", - "external/sources/boost/boost/units/systems/si/force.hpp", - "external/sources/boost/boost/units/systems/si/frequency.hpp", - "external/sources/boost/boost/units/systems/si/illuminance.hpp", - "external/sources/boost/boost/units/systems/si/impedance.hpp", - "external/sources/boost/boost/units/systems/si/inductance.hpp", - "external/sources/boost/boost/units/systems/si/io.hpp", - "external/sources/boost/boost/units/systems/si/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/systems/si/length.hpp", - "external/sources/boost/boost/units/systems/si/luminous_flux.hpp", - "external/sources/boost/boost/units/systems/si/luminous_intensity.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_field_intensity.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_flux.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_flux_density.hpp", - "external/sources/boost/boost/units/systems/si/mass.hpp", - "external/sources/boost/boost/units/systems/si/mass_density.hpp", - "external/sources/boost/boost/units/systems/si/moment_of_inertia.hpp", - "external/sources/boost/boost/units/systems/si/momentum.hpp", - "external/sources/boost/boost/units/systems/si/permeability.hpp", - "external/sources/boost/boost/units/systems/si/permittivity.hpp", - "external/sources/boost/boost/units/systems/si/plane_angle.hpp", - "external/sources/boost/boost/units/systems/si/power.hpp", - "external/sources/boost/boost/units/systems/si/prefixes.hpp", - "external/sources/boost/boost/units/systems/si/pressure.hpp", - "external/sources/boost/boost/units/systems/si/reluctance.hpp", - "external/sources/boost/boost/units/systems/si/resistance.hpp", - "external/sources/boost/boost/units/systems/si/resistivity.hpp", - "external/sources/boost/boost/units/systems/si/solid_angle.hpp", - "external/sources/boost/boost/units/systems/si/surface_density.hpp", - "external/sources/boost/boost/units/systems/si/surface_tension.hpp", - "external/sources/boost/boost/units/systems/si/temperature.hpp", - "external/sources/boost/boost/units/systems/si/time.hpp", - "external/sources/boost/boost/units/systems/si/torque.hpp", - "external/sources/boost/boost/units/systems/si/velocity.hpp", - "external/sources/boost/boost/units/systems/si/volume.hpp", - "external/sources/boost/boost/units/systems/si/wavenumber.hpp", - "external/sources/boost/boost/units/systems/temperature/celsius.hpp", - "external/sources/boost/boost/units/systems/temperature/fahrenheit.hpp", - "external/sources/boost/boost/units/unit.hpp", - "external/sources/boost/boost/units/units_fwd.hpp", - "external/sources/boost/boost/unordered/detail/fwd.hpp", - "external/sources/boost/boost/unordered/detail/implementation.hpp", - "external/sources/boost/boost/unordered/detail/map.hpp", - "external/sources/boost/boost/unordered/detail/set.hpp", - "external/sources/boost/boost/unordered/unordered_map.hpp", - "external/sources/boost/boost/unordered/unordered_map_fwd.hpp", - "external/sources/boost/boost/unordered/unordered_set.hpp", - "external/sources/boost/boost/unordered/unordered_set_fwd.hpp", - "external/sources/boost/boost/unordered_map.hpp", - "external/sources/boost/boost/unordered_set.hpp", - "external/sources/boost/boost/utility.hpp", - "external/sources/boost/boost/utility/addressof.hpp", - "external/sources/boost/boost/utility/base_from_member.hpp", - "external/sources/boost/boost/utility/binary.hpp", - "external/sources/boost/boost/utility/compare_pointees.hpp", - "external/sources/boost/boost/utility/declval.hpp", - "external/sources/boost/boost/utility/detail/in_place_factory_prefix.hpp", - "external/sources/boost/boost/utility/detail/in_place_factory_suffix.hpp", - "external/sources/boost/boost/utility/detail/minstd_rand.hpp", - "external/sources/boost/boost/utility/detail/result_of_iterate.hpp", - "external/sources/boost/boost/utility/enable_if.hpp", - "external/sources/boost/boost/utility/explicit_operator_bool.hpp", - "external/sources/boost/boost/utility/identity_type.hpp", - "external/sources/boost/boost/utility/in_place_factory.hpp", - "external/sources/boost/boost/utility/result_of.hpp", - "external/sources/boost/boost/utility/string_ref.hpp", - "external/sources/boost/boost/utility/string_ref_fwd.hpp", - "external/sources/boost/boost/utility/string_view.hpp", - "external/sources/boost/boost/utility/string_view_fwd.hpp", - "external/sources/boost/boost/utility/swap.hpp", - "external/sources/boost/boost/utility/typed_in_place_factory.hpp", - "external/sources/boost/boost/utility/value_init.hpp", - "external/sources/boost/boost/uuid/basic_name_generator.hpp", - "external/sources/boost/boost/uuid/detail/config.hpp", - "external/sources/boost/boost/uuid/detail/md5.hpp", - "external/sources/boost/boost/uuid/detail/random_provider.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_arc4random.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_bcrypt.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_detect_platform.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_getentropy.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_getrandom.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_include_platform.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_posix.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_wincrypt.ipp", - "external/sources/boost/boost/uuid/detail/sha1.hpp", - "external/sources/boost/boost/uuid/detail/uuid_generic.ipp", - "external/sources/boost/boost/uuid/detail/uuid_x86.ipp", - "external/sources/boost/boost/uuid/entropy_error.hpp", - "external/sources/boost/boost/uuid/name_generator.hpp", - "external/sources/boost/boost/uuid/name_generator_md5.hpp", - "external/sources/boost/boost/uuid/name_generator_sha1.hpp", - "external/sources/boost/boost/uuid/nil_generator.hpp", - "external/sources/boost/boost/uuid/random_generator.hpp", - "external/sources/boost/boost/uuid/string_generator.hpp", - "external/sources/boost/boost/uuid/uuid.hpp", - "external/sources/boost/boost/uuid/uuid_generators.hpp", - "external/sources/boost/boost/uuid/uuid_hash.hpp", - "external/sources/boost/boost/uuid/uuid_io.hpp", - "external/sources/boost/boost/uuid/uuid_serialize.hpp", - "external/sources/boost/boost/variant.hpp", - "external/sources/boost/boost/variant/apply_visitor.hpp", - "external/sources/boost/boost/variant/bad_visit.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_binary.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_delayed.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_unary.hpp", - "external/sources/boost/boost/variant/detail/backup_holder.hpp", - "external/sources/boost/boost/variant/detail/cast_storage.hpp", - "external/sources/boost/boost/variant/detail/config.hpp", - "external/sources/boost/boost/variant/detail/element_index.hpp", - "external/sources/boost/boost/variant/detail/enable_recursive.hpp", - "external/sources/boost/boost/variant/detail/enable_recursive_fwd.hpp", - "external/sources/boost/boost/variant/detail/forced_return.hpp", - "external/sources/boost/boost/variant/detail/has_result_type.hpp", - "external/sources/boost/boost/variant/detail/hash_variant.hpp", - "external/sources/boost/boost/variant/detail/initializer.hpp", - "external/sources/boost/boost/variant/detail/make_variant_list.hpp", - "external/sources/boost/boost/variant/detail/move.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_cpp11_based.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_cpp14_based.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_preprocessor_based.hpp", - "external/sources/boost/boost/variant/detail/over_sequence.hpp", - "external/sources/boost/boost/variant/detail/std_hash.hpp", - "external/sources/boost/boost/variant/detail/substitute.hpp", - "external/sources/boost/boost/variant/detail/substitute_fwd.hpp", - "external/sources/boost/boost/variant/detail/variant_io.hpp", - "external/sources/boost/boost/variant/detail/visitation_impl.hpp", - "external/sources/boost/boost/variant/get.hpp", - "external/sources/boost/boost/variant/multivisitors.hpp", - "external/sources/boost/boost/variant/polymorphic_get.hpp", - "external/sources/boost/boost/variant/recursive_variant.hpp", - "external/sources/boost/boost/variant/recursive_wrapper.hpp", - "external/sources/boost/boost/variant/recursive_wrapper_fwd.hpp", - "external/sources/boost/boost/variant/static_visitor.hpp", - "external/sources/boost/boost/variant/variant.hpp", - "external/sources/boost/boost/variant/variant_fwd.hpp", - "external/sources/boost/boost/variant/visitor_ptr.hpp", - "external/sources/boost/boost/variant2/variant.hpp", - "external/sources/boost/boost/version.hpp", - "external/sources/boost/boost/visit_each.hpp", - "external/sources/boost/boost/vmd/array.hpp", - "external/sources/boost/boost/vmd/array/to_seq.hpp", - "external/sources/boost/boost/vmd/array/to_tuple.hpp", - "external/sources/boost/boost/vmd/assert.hpp", - "external/sources/boost/boost/vmd/assert_is_array.hpp", - "external/sources/boost/boost/vmd/assert_is_empty.hpp", - "external/sources/boost/boost/vmd/assert_is_identifier.hpp", - "external/sources/boost/boost/vmd/assert_is_list.hpp", - "external/sources/boost/boost/vmd/assert_is_number.hpp", - "external/sources/boost/boost/vmd/assert_is_seq.hpp", - "external/sources/boost/boost/vmd/assert_is_tuple.hpp", - "external/sources/boost/boost/vmd/assert_is_type.hpp", - "external/sources/boost/boost/vmd/detail/adjust_tuple_type.hpp", - "external/sources/boost/boost/vmd/detail/array.hpp", - "external/sources/boost/boost/vmd/detail/assert.hpp", - "external/sources/boost/boost/vmd/detail/data_equal.hpp", - "external/sources/boost/boost/vmd/detail/data_equal_common.hpp", - "external/sources/boost/boost/vmd/detail/empty_result.hpp", - "external/sources/boost/boost/vmd/detail/equal.hpp", - "external/sources/boost/boost/vmd/detail/equal_common.hpp", - "external/sources/boost/boost/vmd/detail/equal_type.hpp", - "external/sources/boost/boost/vmd/detail/identifier.hpp", - "external/sources/boost/boost/vmd/detail/identifier_concat.hpp", - "external/sources/boost/boost/vmd/detail/identifier_type.hpp", - "external/sources/boost/boost/vmd/detail/idprefix.hpp", - "external/sources/boost/boost/vmd/detail/is_array.hpp", - "external/sources/boost/boost/vmd/detail/is_array_common.hpp", - "external/sources/boost/boost/vmd/detail/is_empty.hpp", - "external/sources/boost/boost/vmd/detail/is_empty_array.hpp", - "external/sources/boost/boost/vmd/detail/is_empty_tuple.hpp", - "external/sources/boost/boost/vmd/detail/is_entire.hpp", - "external/sources/boost/boost/vmd/detail/is_identifier.hpp", - "external/sources/boost/boost/vmd/detail/is_list.hpp", - "external/sources/boost/boost/vmd/detail/is_number.hpp", - "external/sources/boost/boost/vmd/detail/is_seq.hpp", - "external/sources/boost/boost/vmd/detail/is_tuple.hpp", - "external/sources/boost/boost/vmd/detail/is_type.hpp", - "external/sources/boost/boost/vmd/detail/is_type_type.hpp", - "external/sources/boost/boost/vmd/detail/list.hpp", - "external/sources/boost/boost/vmd/detail/match_identifier.hpp", - "external/sources/boost/boost/vmd/detail/match_identifier_common.hpp", - "external/sources/boost/boost/vmd/detail/match_single_identifier.hpp", - "external/sources/boost/boost/vmd/detail/modifiers.hpp", - "external/sources/boost/boost/vmd/detail/mods.hpp", - "external/sources/boost/boost/vmd/detail/nil_registration.hpp", - "external/sources/boost/boost/vmd/detail/not_empty.hpp", - "external/sources/boost/boost/vmd/detail/number_registration.hpp", - "external/sources/boost/boost/vmd/detail/only_after.hpp", - "external/sources/boost/boost/vmd/detail/parens.hpp", - "external/sources/boost/boost/vmd/detail/parens_common.hpp", - "external/sources/boost/boost/vmd/detail/parens_split.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_1.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_10.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_11.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_12.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_13.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_14.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_15.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_16.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_2.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_3.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_4.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_5.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_6.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_7.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_8.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_9.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_headers.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_specific.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_1.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_10.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_11.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_12.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_13.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_14.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_15.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_16.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_2.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_3.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_4.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_5.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_6.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_7.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_8.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_9.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_headers.hpp", - "external/sources/boost/boost/vmd/detail/seq.hpp", - "external/sources/boost/boost/vmd/detail/sequence_arity.hpp", - "external/sources/boost/boost/vmd/detail/sequence_common.hpp", - "external/sources/boost/boost/vmd/detail/sequence_elem.hpp", - "external/sources/boost/boost/vmd/detail/sequence_enum.hpp", - "external/sources/boost/boost/vmd/detail/sequence_size.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_array.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_list.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_seq.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_tuple.hpp", - "external/sources/boost/boost/vmd/detail/sequence_type.hpp", - "external/sources/boost/boost/vmd/detail/setup.hpp", - "external/sources/boost/boost/vmd/detail/tuple.hpp", - "external/sources/boost/boost/vmd/detail/type_registration.hpp", - "external/sources/boost/boost/vmd/detail/variadic_pop_front.hpp", - "external/sources/boost/boost/vmd/elem.hpp", - "external/sources/boost/boost/vmd/empty.hpp", - "external/sources/boost/boost/vmd/enum.hpp", - "external/sources/boost/boost/vmd/equal.hpp", - "external/sources/boost/boost/vmd/get_type.hpp", - "external/sources/boost/boost/vmd/identity.hpp", - "external/sources/boost/boost/vmd/is_array.hpp", - "external/sources/boost/boost/vmd/is_empty.hpp", - "external/sources/boost/boost/vmd/is_empty_array.hpp", - "external/sources/boost/boost/vmd/is_empty_list.hpp", - "external/sources/boost/boost/vmd/is_identifier.hpp", - "external/sources/boost/boost/vmd/is_list.hpp", - "external/sources/boost/boost/vmd/is_multi.hpp", - "external/sources/boost/boost/vmd/is_number.hpp", - "external/sources/boost/boost/vmd/is_parens_empty.hpp", - "external/sources/boost/boost/vmd/is_seq.hpp", - "external/sources/boost/boost/vmd/is_tuple.hpp", - "external/sources/boost/boost/vmd/is_type.hpp", - "external/sources/boost/boost/vmd/is_unary.hpp", - "external/sources/boost/boost/vmd/list.hpp", - "external/sources/boost/boost/vmd/list/to_seq.hpp", - "external/sources/boost/boost/vmd/list/to_tuple.hpp", - "external/sources/boost/boost/vmd/not_equal.hpp", - "external/sources/boost/boost/vmd/seq.hpp", - "external/sources/boost/boost/vmd/seq/is_vmd_seq.hpp", - "external/sources/boost/boost/vmd/seq/pop_back.hpp", - "external/sources/boost/boost/vmd/seq/pop_front.hpp", - "external/sources/boost/boost/vmd/seq/push_back.hpp", - "external/sources/boost/boost/vmd/seq/push_front.hpp", - "external/sources/boost/boost/vmd/seq/remove.hpp", - "external/sources/boost/boost/vmd/seq/size.hpp", - "external/sources/boost/boost/vmd/seq/to_array.hpp", - "external/sources/boost/boost/vmd/seq/to_list.hpp", - "external/sources/boost/boost/vmd/seq/to_tuple.hpp", - "external/sources/boost/boost/vmd/size.hpp", - "external/sources/boost/boost/vmd/to_array.hpp", - "external/sources/boost/boost/vmd/to_list.hpp", - "external/sources/boost/boost/vmd/to_seq.hpp", - "external/sources/boost/boost/vmd/to_tuple.hpp", - "external/sources/boost/boost/vmd/tuple.hpp", - "external/sources/boost/boost/vmd/tuple/is_vmd_tuple.hpp", - "external/sources/boost/boost/vmd/tuple/pop_back.hpp", - "external/sources/boost/boost/vmd/tuple/pop_front.hpp", - "external/sources/boost/boost/vmd/tuple/push_back.hpp", - "external/sources/boost/boost/vmd/tuple/push_front.hpp", - "external/sources/boost/boost/vmd/tuple/remove.hpp", - "external/sources/boost/boost/vmd/tuple/size.hpp", - "external/sources/boost/boost/vmd/tuple/to_array.hpp", - "external/sources/boost/boost/vmd/tuple/to_list.hpp", - "external/sources/boost/boost/vmd/tuple/to_seq.hpp", - "external/sources/boost/boost/vmd/vmd.hpp", - "external/sources/boost/boost/wave.hpp", - "external/sources/boost/boost/wave/cpp_context.hpp", - "external/sources/boost/boost/wave/cpp_exceptions.hpp", - "external/sources/boost/boost/wave/cpp_iteration_context.hpp", - "external/sources/boost/boost/wave/cpp_throw.hpp", - "external/sources/boost/boost/wave/cpplexer/convert_trigraphs.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface_generator.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_iterator.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_token.hpp", - "external/sources/boost/boost/wave/cpplexer/cpplexer_exceptions.hpp", - "external/sources/boost/boost/wave/cpplexer/detect_include_guards.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/aq.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp.re", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.inc", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/scanner.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp.re", - "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp_re.inc", - "external/sources/boost/boost/wave/cpplexer/token_cache.hpp", - "external/sources/boost/boost/wave/cpplexer/validate_universal_char.hpp", - "external/sources/boost/boost/wave/grammars/cpp_chlit_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_defined_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_defined_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_value.hpp", - "external/sources/boost/boost/wave/grammars/cpp_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_intlit_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_literal_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_predef_macros_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_predef_macros_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_value_error.hpp", - "external/sources/boost/boost/wave/language_support.hpp", - "external/sources/boost/boost/wave/preprocessing_hooks.hpp", - "external/sources/boost/boost/wave/token_ids.hpp", - "external/sources/boost/boost/wave/util/cpp_ifblock.hpp", - "external/sources/boost/boost/wave/util/cpp_include_paths.hpp", - "external/sources/boost/boost/wave/util/cpp_iterator.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap_predef.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap_utils.hpp", - "external/sources/boost/boost/wave/util/file_position.hpp", - "external/sources/boost/boost/wave/util/filesystem_compatibility.hpp", - "external/sources/boost/boost/wave/util/flex_string.hpp", - "external/sources/boost/boost/wave/util/functor_input.hpp", - "external/sources/boost/boost/wave/util/insert_whitespace_detection.hpp", - "external/sources/boost/boost/wave/util/interpret_pragma.hpp", - "external/sources/boost/boost/wave/util/iteration_context.hpp", - "external/sources/boost/boost/wave/util/macro_definition.hpp", - "external/sources/boost/boost/wave/util/macro_helpers.hpp", - "external/sources/boost/boost/wave/util/pattern_parser.hpp", - "external/sources/boost/boost/wave/util/symbol_table.hpp", - "external/sources/boost/boost/wave/util/time_conversion_helper.hpp", - "external/sources/boost/boost/wave/util/transform_iterator.hpp", - "external/sources/boost/boost/wave/util/unput_queue_iterator.hpp", - "external/sources/boost/boost/wave/wave_config.hpp", - "external/sources/boost/boost/wave/wave_config_constant.hpp", - "external/sources/boost/boost/wave/wave_version.hpp", - "external/sources/boost/boost/wave/whitespace_handling.hpp", - "external/sources/boost/boost/weak_ptr.hpp", - "external/sources/boost/boost/winapi/access_rights.hpp", - "external/sources/boost/boost/winapi/apc.hpp", - "external/sources/boost/boost/winapi/basic_types.hpp", - "external/sources/boost/boost/winapi/bcrypt.hpp", - "external/sources/boost/boost/winapi/character_code_conversion.hpp", - "external/sources/boost/boost/winapi/condition_variable.hpp", - "external/sources/boost/boost/winapi/config.hpp", - "external/sources/boost/boost/winapi/critical_section.hpp", - "external/sources/boost/boost/winapi/crypt.hpp", - "external/sources/boost/boost/winapi/dbghelp.hpp", - "external/sources/boost/boost/winapi/debugapi.hpp", - "external/sources/boost/boost/winapi/detail/cast_ptr.hpp", - "external/sources/boost/boost/winapi/detail/footer.hpp", - "external/sources/boost/boost/winapi/detail/header.hpp", - "external/sources/boost/boost/winapi/directory_management.hpp", - "external/sources/boost/boost/winapi/dll.hpp", - "external/sources/boost/boost/winapi/environment.hpp", - "external/sources/boost/boost/winapi/error_codes.hpp", - "external/sources/boost/boost/winapi/error_handling.hpp", - "external/sources/boost/boost/winapi/event.hpp", - "external/sources/boost/boost/winapi/file_management.hpp", - "external/sources/boost/boost/winapi/file_mapping.hpp", - "external/sources/boost/boost/winapi/get_current_process.hpp", - "external/sources/boost/boost/winapi/get_current_process_id.hpp", - "external/sources/boost/boost/winapi/get_current_thread.hpp", - "external/sources/boost/boost/winapi/get_current_thread_id.hpp", - "external/sources/boost/boost/winapi/get_last_error.hpp", - "external/sources/boost/boost/winapi/get_proc_address.hpp", - "external/sources/boost/boost/winapi/get_process_times.hpp", - "external/sources/boost/boost/winapi/get_system_directory.hpp", - "external/sources/boost/boost/winapi/get_thread_times.hpp", - "external/sources/boost/boost/winapi/handle_info.hpp", - "external/sources/boost/boost/winapi/handles.hpp", - "external/sources/boost/boost/winapi/heap_memory.hpp", - "external/sources/boost/boost/winapi/init_once.hpp", - "external/sources/boost/boost/winapi/jobs.hpp", - "external/sources/boost/boost/winapi/limits.hpp", - "external/sources/boost/boost/winapi/local_memory.hpp", - "external/sources/boost/boost/winapi/memory.hpp", - "external/sources/boost/boost/winapi/mutex.hpp", - "external/sources/boost/boost/winapi/overlapped.hpp", - "external/sources/boost/boost/winapi/page_protection_flags.hpp", - "external/sources/boost/boost/winapi/pipes.hpp", - "external/sources/boost/boost/winapi/priority_class.hpp", - "external/sources/boost/boost/winapi/process.hpp", - "external/sources/boost/boost/winapi/security.hpp", - "external/sources/boost/boost/winapi/semaphore.hpp", - "external/sources/boost/boost/winapi/shell.hpp", - "external/sources/boost/boost/winapi/show_window.hpp", - "external/sources/boost/boost/winapi/srw_lock.hpp", - "external/sources/boost/boost/winapi/stack_backtrace.hpp", - "external/sources/boost/boost/winapi/synchronization.hpp", - "external/sources/boost/boost/winapi/system.hpp", - "external/sources/boost/boost/winapi/thread.hpp", - "external/sources/boost/boost/winapi/thread_pool.hpp", - "external/sources/boost/boost/winapi/time.hpp", - "external/sources/boost/boost/winapi/timers.hpp", - "external/sources/boost/boost/winapi/tls.hpp", - "external/sources/boost/boost/winapi/wait.hpp", - "external/sources/boost/boost/winapi/wait_constants.hpp", - "external/sources/boost/boost/winapi/wait_on_address.hpp", - "external/sources/boost/boost/winapi/waitable_timer.hpp", - "external/sources/boost/boost/xpressive/basic_regex.hpp", - "external/sources/boost/boost/xpressive/detail/core/access.hpp", - "external/sources/boost/boost/xpressive/detail/core/action.hpp", - "external/sources/boost/boost/xpressive/detail/core/adaptor.hpp", - "external/sources/boost/boost/xpressive/detail/core/finder.hpp", - "external/sources/boost/boost/xpressive/detail/core/flow_control.hpp", - "external/sources/boost/boost/xpressive/detail/core/icase.hpp", - "external/sources/boost/boost/xpressive/detail/core/linker.hpp", - "external/sources/boost/boost/xpressive/detail/core/list.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/action_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/any_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bol_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bos_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eol_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eos_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_line_base.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_word_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/charset_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/epsilon_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/keeper_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/literal_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/logical_newline_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/lookahead_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/lookbehind_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/predicate_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/range_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/regex_byref_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/regex_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/set_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/string_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/true_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matchers.hpp", - "external/sources/boost/boost/xpressive/detail/core/optimize.hpp", - "external/sources/boost/boost/xpressive/detail/core/peeker.hpp", - "external/sources/boost/boost/xpressive/detail/core/quant_style.hpp", - "external/sources/boost/boost/xpressive/detail/core/regex_domain.hpp", - "external/sources/boost/boost/xpressive/detail/core/regex_impl.hpp", - "external/sources/boost/boost/xpressive/detail/core/results_cache.hpp", - "external/sources/boost/boost/xpressive/detail/core/state.hpp", - "external/sources/boost/boost/xpressive/detail/core/sub_match_impl.hpp", - "external/sources/boost/boost/xpressive/detail/core/sub_match_vector.hpp", - "external/sources/boost/boost/xpressive/detail/detail_fwd.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/dynamic.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/matchable.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parse_charset.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser_enum.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser_traits.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/sequence.hpp", - "external/sources/boost/boost/xpressive/detail/static/compile.hpp", - "external/sources/boost/boost/xpressive/detail/static/grammar.hpp", - "external/sources/boost/boost/xpressive/detail/static/is_pure.hpp", - "external/sources/boost/boost/xpressive/detail/static/modifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/placeholders.hpp", - "external/sources/boost/boost/xpressive/detail/static/static.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_action.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_alternate.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_independent.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_inverse.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_marker.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_modifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_quantifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_sequence.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_set.hpp", - "external/sources/boost/boost/xpressive/detail/static/transmogrify.hpp", - "external/sources/boost/boost/xpressive/detail/static/type_traits.hpp", - "external/sources/boost/boost/xpressive/detail/static/visitor.hpp", - "external/sources/boost/boost/xpressive/detail/static/width_of.hpp", - "external/sources/boost/boost/xpressive/detail/utility/algorithm.hpp", - "external/sources/boost/boost/xpressive/detail/utility/any.hpp", - "external/sources/boost/boost/xpressive/detail/utility/boyer_moore.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.ipp", - "external/sources/boost/boost/xpressive/detail/utility/chset/chset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.ipp", - "external/sources/boost/boost/xpressive/detail/utility/cons.hpp", - "external/sources/boost/boost/xpressive/detail/utility/counted_base.hpp", - "external/sources/boost/boost/xpressive/detail/utility/dont_care.hpp", - "external/sources/boost/boost/xpressive/detail/utility/hash_peek_bitset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/ignore_unused.hpp", - "external/sources/boost/boost/xpressive/detail/utility/literals.hpp", - "external/sources/boost/boost/xpressive/detail/utility/never_true.hpp", - "external/sources/boost/boost/xpressive/detail/utility/save_restore.hpp", - "external/sources/boost/boost/xpressive/detail/utility/sequence_stack.hpp", - "external/sources/boost/boost/xpressive/detail/utility/symbols.hpp", - "external/sources/boost/boost/xpressive/detail/utility/tracking_ptr.hpp", - "external/sources/boost/boost/xpressive/detail/utility/traits_utils.hpp", - "external/sources/boost/boost/xpressive/detail/utility/width.hpp", - "external/sources/boost/boost/xpressive/match_results.hpp", - "external/sources/boost/boost/xpressive/regex_actions.hpp", - "external/sources/boost/boost/xpressive/regex_algorithms.hpp", - "external/sources/boost/boost/xpressive/regex_compiler.hpp", - "external/sources/boost/boost/xpressive/regex_constants.hpp", - "external/sources/boost/boost/xpressive/regex_error.hpp", - "external/sources/boost/boost/xpressive/regex_iterator.hpp", - "external/sources/boost/boost/xpressive/regex_primitives.hpp", - "external/sources/boost/boost/xpressive/regex_token_iterator.hpp", - "external/sources/boost/boost/xpressive/regex_traits.hpp", - "external/sources/boost/boost/xpressive/sub_match.hpp", - "external/sources/boost/boost/xpressive/traits/c_regex_traits.hpp", - "external/sources/boost/boost/xpressive/traits/cpp_regex_traits.hpp", - "external/sources/boost/boost/xpressive/traits/detail/c_ctype.hpp", - "external/sources/boost/boost/xpressive/traits/null_regex_traits.hpp", - "external/sources/boost/boost/xpressive/xpressive.hpp", - "external/sources/boost/boost/xpressive/xpressive_dynamic.hpp", - "external/sources/boost/boost/xpressive/xpressive_fwd.hpp", - "external/sources/boost/boost/xpressive/xpressive_static.hpp", - "external/sources/boost/boost/xpressive/xpressive_typeof.hpp", - "external/sources/boost/boost/yap/algorithm.hpp", - "external/sources/boost/boost/yap/algorithm_fwd.hpp", - "external/sources/boost/boost/yap/config.hpp", - "external/sources/boost/boost/yap/detail/algorithm.hpp", - "external/sources/boost/boost/yap/detail/transform.hpp", - "external/sources/boost/boost/yap/expression.hpp", - "external/sources/boost/boost/yap/print.hpp", - "external/sources/boost/boost/yap/user_macros.hpp", - "external/sources/boost/boost/yap/yap.hpp", - "external/sources/concurrentqueue/blockingconcurrentqueue.h", - "external/sources/concurrentqueue/concurrentqueue.h", - "external/sources/concurrentqueue/lightweightsemaphore.h", - "external/sources/edtaa3func/CMakeLists.txt", - "external/sources/edtaa3func/edtaa3func.cpp", - "external/sources/edtaa3func/edtaa3func.h", - "external/sources/jemalloc/CMakeLists.txt", - "external/sources/jemalloc/ChangeLog", - "external/sources/jemalloc/include-linux/jemalloc/internal/arena.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/assert.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/atomic.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/base.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/bitmap.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/chunk.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/chunk_dss.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/chunk_mmap.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ckh.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ctl.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/extent.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/hash.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/huge.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_decls.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_defs.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_macros.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/mb.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/mutex.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/nstime.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/pages.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ph.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/private_namespace.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/private_symbols.txt", - "external/sources/jemalloc/include-linux/jemalloc/internal/private_unnamespace.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/prng.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/prof.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/public_namespace.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/public_symbols.txt", - "external/sources/jemalloc/include-linux/jemalloc/internal/public_unnamespace.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ql.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/qr.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/quarantine.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/rb.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/rtree.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/size_classes.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/smoothstep.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/spin.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/stats.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/tcache.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ticker.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/tsd.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/util.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/valgrind.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/witness.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_defs.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_macros.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_mangle.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_mangle_jet.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_protos.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_protos_jet.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_rename.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_typedefs.h", - "external/sources/jemalloc/include-win/jemalloc/internal/arena.h", - "external/sources/jemalloc/include-win/jemalloc/internal/assert.h", - "external/sources/jemalloc/include-win/jemalloc/internal/atomic.h", - "external/sources/jemalloc/include-win/jemalloc/internal/base.h", - "external/sources/jemalloc/include-win/jemalloc/internal/bitmap.h", - "external/sources/jemalloc/include-win/jemalloc/internal/chunk.h", - "external/sources/jemalloc/include-win/jemalloc/internal/chunk_dss.h", - "external/sources/jemalloc/include-win/jemalloc/internal/chunk_mmap.h", - "external/sources/jemalloc/include-win/jemalloc/internal/ckh.h", - "external/sources/jemalloc/include-win/jemalloc/internal/ctl.h", - "external/sources/jemalloc/include-win/jemalloc/internal/extent.h", - "external/sources/jemalloc/include-win/jemalloc/internal/hash.h", - "external/sources/jemalloc/include-win/jemalloc/internal/huge.h", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal.h", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal.h.in", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_decls.h", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_defs.h", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_defs.h.in", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_macros.h", - "external/sources/jemalloc/include-win/jemalloc/internal/mb.h", - "external/sources/jemalloc/include-win/jemalloc/internal/mutex.h", - "external/sources/jemalloc/include-win/jemalloc/internal/nstime.h", - "external/sources/jemalloc/include-win/jemalloc/internal/pages.h", - "external/sources/jemalloc/include-win/jemalloc/internal/ph.h", - "external/sources/jemalloc/include-win/jemalloc/internal/private_namespace.h", - "external/sources/jemalloc/include-win/jemalloc/internal/private_namespace.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/private_symbols.txt", - "external/sources/jemalloc/include-win/jemalloc/internal/private_unnamespace.h", - "external/sources/jemalloc/include-win/jemalloc/internal/private_unnamespace.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/prng.h", - "external/sources/jemalloc/include-win/jemalloc/internal/prof.h", - "external/sources/jemalloc/include-win/jemalloc/internal/public_namespace.h", - "external/sources/jemalloc/include-win/jemalloc/internal/public_namespace.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/public_symbols.txt", - "external/sources/jemalloc/include-win/jemalloc/internal/public_unnamespace.h", - "external/sources/jemalloc/include-win/jemalloc/internal/public_unnamespace.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/ql.h", - "external/sources/jemalloc/include-win/jemalloc/internal/qr.h", - "external/sources/jemalloc/include-win/jemalloc/internal/quarantine.h", - "external/sources/jemalloc/include-win/jemalloc/internal/rb.h", - "external/sources/jemalloc/include-win/jemalloc/internal/rtree.h", - "external/sources/jemalloc/include-win/jemalloc/internal/size_classes.h", - "external/sources/jemalloc/include-win/jemalloc/internal/size_classes.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/smoothstep.h", - "external/sources/jemalloc/include-win/jemalloc/internal/smoothstep.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/spin.h", - "external/sources/jemalloc/include-win/jemalloc/internal/stats.h", - "external/sources/jemalloc/include-win/jemalloc/internal/tcache.h", - "external/sources/jemalloc/include-win/jemalloc/internal/ticker.h", - "external/sources/jemalloc/include-win/jemalloc/internal/tsd.h", - "external/sources/jemalloc/include-win/jemalloc/internal/util.h", - "external/sources/jemalloc/include-win/jemalloc/internal/valgrind.h", - "external/sources/jemalloc/include-win/jemalloc/internal/witness.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_defs.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_macros.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_mangle.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_mangle_jet.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_protos.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_protos_jet.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_rename.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_typedefs.h", - "external/sources/jemalloc/include-win/msvc_compat/C99/stdbool.h", - "external/sources/jemalloc/include-win/msvc_compat/C99/stdint.h", - "external/sources/jemalloc/include-win/msvc_compat/strings.h", - "external/sources/jemalloc/include-win/msvc_compat/windows_extra.h", - "external/sources/jemalloc/src/je_arena.c", - "external/sources/jemalloc/src/je_atomic.c", - "external/sources/jemalloc/src/je_base.c", - "external/sources/jemalloc/src/je_bitmap.c", - "external/sources/jemalloc/src/je_chunk.c", - "external/sources/jemalloc/src/je_chunk_dss.c", - "external/sources/jemalloc/src/je_chunk_mmap.c", - "external/sources/jemalloc/src/je_ckh.c", - "external/sources/jemalloc/src/je_ctl.c", - "external/sources/jemalloc/src/je_extent.c", - "external/sources/jemalloc/src/je_hash.c", - "external/sources/jemalloc/src/je_huge.c", - "external/sources/jemalloc/src/je_jemalloc.c", - "external/sources/jemalloc/src/je_mb.c", - "external/sources/jemalloc/src/je_mutex.c", - "external/sources/jemalloc/src/je_nstime.c", - "external/sources/jemalloc/src/je_pages.c", - "external/sources/jemalloc/src/je_prng.c", - "external/sources/jemalloc/src/je_prof.c", - "external/sources/jemalloc/src/je_quarantine.c", - "external/sources/jemalloc/src/je_rtree.c", - "external/sources/jemalloc/src/je_spin.c", - "external/sources/jemalloc/src/je_stats.c", - "external/sources/jemalloc/src/je_tcache.c", - "external/sources/jemalloc/src/je_ticker.c", - "external/sources/jemalloc/src/je_tsd.c", - "external/sources/jemalloc/src/je_util.c", - "external/sources/jemalloc/src/je_valgrind.c", - "external/sources/jemalloc/src/je_witness.c", - "external/sources/jemalloc/src/je_zone.c", - "external/sources/json/allocators.h", - "external/sources/json/document-wrapper.h", - "external/sources/json/document.h", - "external/sources/json/encodedstream.h", - "external/sources/json/encodings.h", - "external/sources/json/error/en.h", - "external/sources/json/error/error.h", - "external/sources/json/filereadstream.h", - "external/sources/json/filestream.h", - "external/sources/json/filewritestream.h", - "external/sources/json/fwd.h", - "external/sources/json/internal/biginteger.h", - "external/sources/json/internal/diyfp.h", - "external/sources/json/internal/dtoa.h", - "external/sources/json/internal/ieee754.h", - "external/sources/json/internal/itoa.h", - "external/sources/json/internal/meta.h", - "external/sources/json/internal/pow10.h", - "external/sources/json/internal/regex.h", - "external/sources/json/internal/stack.h", - "external/sources/json/internal/strfunc.h", - "external/sources/json/internal/strtod.h", - "external/sources/json/internal/swap.h", - "external/sources/json/istreamwrapper.h", - "external/sources/json/memorybuffer.h", - "external/sources/json/memorystream.h", - "external/sources/json/msinttypes/inttypes.h", - "external/sources/json/msinttypes/stdint.h", - "external/sources/json/ostreamwrapper.h", - "external/sources/json/pointer.h", - "external/sources/json/prettywriter.h", - "external/sources/json/rapidjson.h", - "external/sources/json/reader.h", - "external/sources/json/schema.h", - "external/sources/json/stream.h", - "external/sources/json/stringbuffer.h", - "external/sources/json/writer.h", - "external/sources/khronos/EGL/egl.h", - "external/sources/khronos/EGL/eglext.h", - "external/sources/khronos/EGL/eglplatform.h", - "external/sources/khronos/GLES/egl.h", - "external/sources/khronos/GLES/gl.h", - "external/sources/khronos/GLES/glext.h", - "external/sources/khronos/GLES/glplatform.h", - "external/sources/khronos/GLES2/gl2.h", - "external/sources/khronos/GLES2/gl2ext.h", - "external/sources/khronos/GLES2/gl2platform.h", - "external/sources/khronos/GLES3/gl3.h", - "external/sources/khronos/GLES3/gl31.h", - "external/sources/khronos/GLES3/gl32.h", - "external/sources/khronos/GLES3/gl3ext.h", - "external/sources/khronos/GLES3/gl3platform.h", - "external/sources/khronos/KHR/khrplatform.h", - "external/sources/khronos/vulkan/vk_icd.h", - "external/sources/khronos/vulkan/vk_layer.h", - "external/sources/khronos/vulkan/vk_platform.h", - "external/sources/khronos/vulkan/vk_sdk_platform.h", - "external/sources/khronos/vulkan/vulkan.h", - "external/sources/khronos/vulkan/vulkan_android.h", - "external/sources/khronos/vulkan/vulkan_beta.h", - "external/sources/khronos/vulkan/vulkan_core.h", - "external/sources/khronos/vulkan/vulkan_directfb.h", - "external/sources/khronos/vulkan/vulkan_fuchsia.h", - "external/sources/khronos/vulkan/vulkan_ggp.h", - "external/sources/khronos/vulkan/vulkan_ios.h", - "external/sources/khronos/vulkan/vulkan_macos.h", - "external/sources/khronos/vulkan/vulkan_metal.h", - "external/sources/khronos/vulkan/vulkan_vi.h", - "external/sources/khronos/vulkan/vulkan_wayland.h", - "external/sources/khronos/vulkan/vulkan_win32.h", - "external/sources/khronos/vulkan/vulkan_xcb.h", - "external/sources/khronos/vulkan/vulkan_xlib.h", - "external/sources/khronos/vulkan/vulkan_xlib_xrandr.h", - "external/sources/nedmalloc/malloc.c.h", - "external/sources/nedmalloc/nedmalloc.c", - "external/sources/nedmalloc/nedmalloc.h", - "external/sources/pvmp3dec/CMakeLists.txt", - "external/sources/pvmp3dec/include/mp3_decoder_selection.h", - "external/sources/pvmp3dec/include/pvmp3_audio_type_defs.h", - "external/sources/pvmp3dec/include/pvmp3decoder_api.h", - "external/sources/pvmp3dec/src/asm/pvmp3_dct_16_gcc.s", - "external/sources/pvmp3dec/src/asm/pvmp3_dct_9_gcc.s", - "external/sources/pvmp3dec/src/asm/pvmp3_mdct_18_gcc.s", - "external/sources/pvmp3dec/src/asm/pvmp3_polyphase_filter_window_gcc.s", - "external/sources/pvmp3dec/src/mp3_mem_funcs.h", - "external/sources/pvmp3dec/src/pv_mp3_huffman.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_arm.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_arm_gcc.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_c_equivalent.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_msc_evc.h", - "external/sources/pvmp3dec/src/pvmp3_alias_reduction.cpp", - "external/sources/pvmp3dec/src/pvmp3_alias_reduction.h", - "external/sources/pvmp3dec/src/pvmp3_crc.cpp", - "external/sources/pvmp3dec/src/pvmp3_crc.h", - "external/sources/pvmp3dec/src/pvmp3_dct_16.cpp", - "external/sources/pvmp3dec/src/pvmp3_dct_16.h", - "external/sources/pvmp3dec/src/pvmp3_dct_6.cpp", - "external/sources/pvmp3dec/src/pvmp3_dct_9.cpp", - "external/sources/pvmp3dec/src/pvmp3_dec_defs.h", - "external/sources/pvmp3dec/src/pvmp3_decode_header.cpp", - "external/sources/pvmp3dec/src/pvmp3_decode_header.h", - "external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.cpp", - "external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.h", - "external/sources/pvmp3dec/src/pvmp3_dequantize_sample.cpp", - "external/sources/pvmp3dec/src/pvmp3_dequantize_sample.h", - "external/sources/pvmp3dec/src/pvmp3_equalizer.cpp", - "external/sources/pvmp3dec/src/pvmp3_equalizer.h", - "external/sources/pvmp3dec/src/pvmp3_framedecoder.cpp", - "external/sources/pvmp3dec/src/pvmp3_framedecoder.h", - "external/sources/pvmp3dec/src/pvmp3_get_main_data_size.cpp", - "external/sources/pvmp3dec/src/pvmp3_get_main_data_size.h", - "external/sources/pvmp3dec/src/pvmp3_get_scale_factors.cpp", - "external/sources/pvmp3dec/src/pvmp3_get_scale_factors.h", - "external/sources/pvmp3dec/src/pvmp3_get_side_info.cpp", - "external/sources/pvmp3dec/src/pvmp3_get_side_info.h", - "external/sources/pvmp3dec/src/pvmp3_getbits.cpp", - "external/sources/pvmp3dec/src/pvmp3_getbits.h", - "external/sources/pvmp3dec/src/pvmp3_huffman_decoding.cpp", - "external/sources/pvmp3dec/src/pvmp3_huffman_parsing.cpp", - "external/sources/pvmp3dec/src/pvmp3_imdct_synth.cpp", - "external/sources/pvmp3dec/src/pvmp3_imdct_synth.h", - "external/sources/pvmp3dec/src/pvmp3_mdct_18.cpp", - "external/sources/pvmp3dec/src/pvmp3_mdct_18.h", - "external/sources/pvmp3dec/src/pvmp3_mdct_6.cpp", - "external/sources/pvmp3dec/src/pvmp3_mdct_6.h", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.cpp", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.h", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.cpp", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.h", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.cpp", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.h", - "external/sources/pvmp3dec/src/pvmp3_normalize.cpp", - "external/sources/pvmp3dec/src/pvmp3_normalize.h", - "external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.cpp", - "external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.h", - "external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.cpp", - "external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.h", - "external/sources/pvmp3dec/src/pvmp3_reorder.cpp", - "external/sources/pvmp3dec/src/pvmp3_reorder.h", - "external/sources/pvmp3dec/src/pvmp3_seek_synch.cpp", - "external/sources/pvmp3dec/src/pvmp3_seek_synch.h", - "external/sources/pvmp3dec/src/pvmp3_stereo_proc.cpp", - "external/sources/pvmp3dec/src/pvmp3_stereo_proc.h", - "external/sources/pvmp3dec/src/pvmp3_tables.cpp", - "external/sources/pvmp3dec/src/pvmp3_tables.h", - "external/sources/pvmp3dec/src/s_huffcodetab.h", - "external/sources/pvmp3dec/src/s_mp3bits.h", - "external/sources/pvmp3dec/src/s_tmp3dec_chan.h", - "external/sources/pvmp3dec/src/s_tmp3dec_file.h", - "external/sources/rtm/constants.h", - "external/sources/rtm/impl/compiler_utils.h", - "external/sources/rtm/impl/error.h", - "external/sources/rtm/impl/mask_common.h", - "external/sources/rtm/impl/matrix_affine_common.h", - "external/sources/rtm/impl/matrix_cast.h", - "external/sources/rtm/impl/matrix_common.h", - "external/sources/rtm/impl/memory_utils.h", - "external/sources/rtm/impl/quat_common.h", - "external/sources/rtm/impl/qvv_common.h", - "external/sources/rtm/impl/scalar_common.h", - "external/sources/rtm/impl/type_args.h", - "external/sources/rtm/impl/vector_common.h", - "external/sources/rtm/macros.h", - "external/sources/rtm/mask4d.h", - "external/sources/rtm/mask4f.h", - "external/sources/rtm/mask4i.h", - "external/sources/rtm/mask4q.h", - "external/sources/rtm/math.h", - "external/sources/rtm/matrix3x3d.h", - "external/sources/rtm/matrix3x3f.h", - "external/sources/rtm/matrix3x4d.h", - "external/sources/rtm/matrix3x4f.h", - "external/sources/rtm/matrix4x4d.h", - "external/sources/rtm/matrix4x4f.h", - "external/sources/rtm/packing/quatd.h", - "external/sources/rtm/packing/quatf.h", - "external/sources/rtm/quatd.h", - "external/sources/rtm/quatf.h", - "external/sources/rtm/qvvd.h", - "external/sources/rtm/qvvf.h", - "external/sources/rtm/scalard.h", - "external/sources/rtm/scalarf.h", - "external/sources/rtm/type_traits.h", - "external/sources/rtm/types.h", - "external/sources/rtm/vector4d.h", - "external/sources/rtm/vector4f.h", - "external/sources/taskflow/core/algorithm/critical.hpp", - "external/sources/taskflow/core/algorithm/for_each.hpp", - "external/sources/taskflow/core/algorithm/reduce.hpp", - "external/sources/taskflow/core/algorithm/sort.hpp", - "external/sources/taskflow/core/declarations.hpp", - "external/sources/taskflow/core/error.hpp", - "external/sources/taskflow/core/executor.hpp", - "external/sources/taskflow/core/flow_builder.hpp", - "external/sources/taskflow/core/graph.hpp", - "external/sources/taskflow/core/notifier.hpp", - "external/sources/taskflow/core/observer.hpp", - "external/sources/taskflow/core/semaphore.hpp", - "external/sources/taskflow/core/task.hpp", - "external/sources/taskflow/core/taskflow.hpp", - "external/sources/taskflow/core/topology.hpp", - "external/sources/taskflow/core/tsq.hpp", - "external/sources/taskflow/core/worker.hpp", - "external/sources/taskflow/cublasflow.hpp", - "external/sources/taskflow/cuda/cublas/cublas_error.hpp", - "external/sources/taskflow/cuda/cublas/cublas_flow.hpp", - "external/sources/taskflow/cuda/cublas/cublas_handle.hpp", - "external/sources/taskflow/cuda/cublas/cublas_helper.hpp", - "external/sources/taskflow/cuda/cublas/cublas_level1.hpp", - "external/sources/taskflow/cuda/cublas/cublas_level2.hpp", - "external/sources/taskflow/cuda/cublas/cublas_level3.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_blaf.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_for_each.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_matmul.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_reduce.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_transform.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_transpose.hpp", - "external/sources/taskflow/cuda/cuda_capturer.hpp", - "external/sources/taskflow/cuda/cuda_device.hpp", - "external/sources/taskflow/cuda/cuda_error.hpp", - "external/sources/taskflow/cuda/cuda_flow.hpp", - "external/sources/taskflow/cuda/cuda_graph.hpp", - "external/sources/taskflow/cuda/cuda_memory.hpp", - "external/sources/taskflow/cuda/cuda_pool.hpp", - "external/sources/taskflow/cuda/cuda_stream.hpp", - "external/sources/taskflow/cuda/cuda_task.hpp", - "external/sources/taskflow/cudaflow.hpp", - "external/sources/taskflow/dsl/connection.hpp", - "external/sources/taskflow/dsl/dsl.hpp", - "external/sources/taskflow/dsl/meta_macro.hpp", - "external/sources/taskflow/dsl/task_analyzer.hpp", - "external/sources/taskflow/dsl/task_dsl.hpp", - "external/sources/taskflow/dsl/task_trait.hpp", - "external/sources/taskflow/dsl/tuple_utils.hpp", - "external/sources/taskflow/dsl/type_list.hpp", - "external/sources/taskflow/taskflow.hpp", - "external/sources/taskflow/tensorframe/tensor.hpp", - "external/sources/taskflow/tensorframe/tensor_expr.hpp", - "external/sources/taskflow/tensorframe/tensor_graph.hpp", - "external/sources/taskflow/tensorframe/tensor_ops.hpp", - "external/sources/taskflow/tensorframe/tensorframe.hpp", - "external/sources/taskflow/utility/iterator.hpp", - "external/sources/taskflow/utility/math.hpp", - "external/sources/taskflow/utility/object_pool.hpp", - "external/sources/taskflow/utility/os.hpp", - "external/sources/taskflow/utility/passive_vector.hpp", - "external/sources/taskflow/utility/singleton.hpp", - "external/sources/taskflow/utility/stream.hpp", - "external/sources/taskflow/utility/traits.hpp", - "external/sources/taskflow/utility/uuid.hpp", - "external/sources/tbb/aggregator.h", - "external/sources/tbb/aligned_space.h", - "external/sources/tbb/atomic.h", - "external/sources/tbb/blocked_range.h", - "external/sources/tbb/blocked_range2d.h", - "external/sources/tbb/blocked_range3d.h", - "external/sources/tbb/blocked_rangeNd.h", - "external/sources/tbb/cache_aligned_allocator.h", - "external/sources/tbb/combinable.h", - "external/sources/tbb/compat/condition_variable", - "external/sources/tbb/compat/ppl.h", - "external/sources/tbb/compat/thread", - "external/sources/tbb/compat/tuple", - "external/sources/tbb/concurrent_hash_map.h", - "external/sources/tbb/concurrent_lru_cache.h", - "external/sources/tbb/concurrent_map.h", - "external/sources/tbb/concurrent_priority_queue.h", - "external/sources/tbb/concurrent_queue.h", - "external/sources/tbb/concurrent_set.h", - "external/sources/tbb/concurrent_unordered_map.h", - "external/sources/tbb/concurrent_unordered_set.h", - "external/sources/tbb/concurrent_vector.h", - "external/sources/tbb/critical_section.h", - "external/sources/tbb/enumerable_thread_specific.h", - "external/sources/tbb/flow_graph.h", - "external/sources/tbb/flow_graph_abstractions.h", - "external/sources/tbb/flow_graph_opencl_node.h", - "external/sources/tbb/global_control.h", - "external/sources/tbb/index.html", - "external/sources/tbb/info.h", - "external/sources/tbb/internal/_aggregator_impl.h", - "external/sources/tbb/internal/_allocator_traits.h", - "external/sources/tbb/internal/_concurrent_queue_impl.h", - "external/sources/tbb/internal/_concurrent_skip_list_impl.h", - "external/sources/tbb/internal/_concurrent_unordered_impl.h", - "external/sources/tbb/internal/_deprecated_header_message_guard.h", - "external/sources/tbb/internal/_flow_graph_async_msg_impl.h", - "external/sources/tbb/internal/_flow_graph_body_impl.h", - "external/sources/tbb/internal/_flow_graph_cache_impl.h", - "external/sources/tbb/internal/_flow_graph_impl.h", - "external/sources/tbb/internal/_flow_graph_indexer_impl.h", - "external/sources/tbb/internal/_flow_graph_item_buffer_impl.h", - "external/sources/tbb/internal/_flow_graph_join_impl.h", - "external/sources/tbb/internal/_flow_graph_node_impl.h", - "external/sources/tbb/internal/_flow_graph_node_set_impl.h", - "external/sources/tbb/internal/_flow_graph_nodes_deduction.h", - "external/sources/tbb/internal/_flow_graph_streaming_node.h", - "external/sources/tbb/internal/_flow_graph_tagged_buffer_impl.h", - "external/sources/tbb/internal/_flow_graph_trace_impl.h", - "external/sources/tbb/internal/_flow_graph_types_impl.h", - "external/sources/tbb/internal/_mutex_padding.h", - "external/sources/tbb/internal/_node_handle_impl.h", - "external/sources/tbb/internal/_range_iterator.h", - "external/sources/tbb/internal/_tbb_hash_compare_impl.h", - "external/sources/tbb/internal/_tbb_strings.h", - "external/sources/tbb/internal/_tbb_trace_impl.h", - "external/sources/tbb/internal/_tbb_windef.h", - "external/sources/tbb/internal/_template_helpers.h", - "external/sources/tbb/internal/_warning_suppress_disable_notice.h", - "external/sources/tbb/internal/_warning_suppress_enable_notice.h", - "external/sources/tbb/internal/_x86_eliding_mutex_impl.h", - "external/sources/tbb/internal/_x86_rtm_rw_mutex_impl.h", - "external/sources/tbb/iterators.h", - "external/sources/tbb/machine/gcc_arm.h", - "external/sources/tbb/machine/gcc_generic.h", - "external/sources/tbb/machine/gcc_ia32_common.h", - "external/sources/tbb/machine/gcc_itsx.h", - "external/sources/tbb/machine/ibm_aix51.h", - "external/sources/tbb/machine/icc_generic.h", - "external/sources/tbb/machine/linux_common.h", - "external/sources/tbb/machine/linux_ia32.h", - "external/sources/tbb/machine/linux_ia64.h", - "external/sources/tbb/machine/linux_intel64.h", - "external/sources/tbb/machine/mac_ppc.h", - "external/sources/tbb/machine/macos_common.h", - "external/sources/tbb/machine/mic_common.h", - "external/sources/tbb/machine/msvc_armv7.h", - "external/sources/tbb/machine/msvc_ia32_common.h", - "external/sources/tbb/machine/sunos_sparc.h", - "external/sources/tbb/machine/windows_api.h", - "external/sources/tbb/machine/windows_ia32.h", - "external/sources/tbb/machine/windows_intel64.h", - "external/sources/tbb/memory_pool.h", - "external/sources/tbb/mutex.h", - "external/sources/tbb/null_mutex.h", - "external/sources/tbb/null_rw_mutex.h", - "external/sources/tbb/parallel_do.h", - "external/sources/tbb/parallel_for.h", - "external/sources/tbb/parallel_for_each.h", - "external/sources/tbb/parallel_invoke.h", - "external/sources/tbb/parallel_reduce.h", - "external/sources/tbb/parallel_scan.h", - "external/sources/tbb/parallel_sort.h", - "external/sources/tbb/parallel_while.h", - "external/sources/tbb/partitioner.h", - "external/sources/tbb/pipeline.h", - "external/sources/tbb/queuing_mutex.h", - "external/sources/tbb/queuing_rw_mutex.h", - "external/sources/tbb/reader_writer_lock.h", - "external/sources/tbb/recursive_mutex.h", - "external/sources/tbb/runtime_loader.h", - "external/sources/tbb/scalable_allocator.h", - "external/sources/tbb/spin_mutex.h", - "external/sources/tbb/spin_rw_mutex.h", - "external/sources/tbb/task.h", - "external/sources/tbb/task_arena.h", - "external/sources/tbb/task_group.h", - "external/sources/tbb/task_scheduler_init.h", - "external/sources/tbb/task_scheduler_observer.h", - "external/sources/tbb/tbb.h", - "external/sources/tbb/tbb_allocator.h", - "external/sources/tbb/tbb_config.h", - "external/sources/tbb/tbb_disable_exceptions.h", - "external/sources/tbb/tbb_exception.h", - "external/sources/tbb/tbb_machine.h", - "external/sources/tbb/tbb_profiling.h", - "external/sources/tbb/tbb_stddef.h", - "external/sources/tbb/tbb_thread.h", - "external/sources/tbb/tbbmalloc_proxy.h", - "external/sources/tbb/tick_count.h", - "external/sources/tinydir/COPYING", - "external/sources/tinydir/package.json", - "external/sources/tinydir/tinydir.h", - "external/sources/tinyxml2/tinyxml2.cpp", - "external/sources/tinyxml2/tinyxml2.h", - "external/sources/tommyds/CMakeLists.txt", - "external/sources/tommyds/tommy.c", - "external/sources/tommyds/tommy.h", - "external/sources/tommyds/tommyalloc.c", - "external/sources/tommyds/tommyalloc.h", - "external/sources/tommyds/tommyarray.c", - "external/sources/tommyds/tommyarray.h", - "external/sources/tommyds/tommyarrayblk.c", - "external/sources/tommyds/tommyarrayblk.h", - "external/sources/tommyds/tommyarrayblkof.c", - "external/sources/tommyds/tommyarrayblkof.h", - "external/sources/tommyds/tommyarrayof.c", - "external/sources/tommyds/tommyarrayof.h", - "external/sources/tommyds/tommychain.h", - "external/sources/tommyds/tommyhash.c", - "external/sources/tommyds/tommyhash.h", - "external/sources/tommyds/tommyhashdyn.c", - "external/sources/tommyds/tommyhashdyn.h", - "external/sources/tommyds/tommyhashlin.c", - "external/sources/tommyds/tommyhashlin.h", - "external/sources/tommyds/tommyhashtbl.c", - "external/sources/tommyds/tommyhashtbl.h", - "external/sources/tommyds/tommylist.c", - "external/sources/tommyds/tommylist.h", - "external/sources/tommyds/tommytree.c", - "external/sources/tommyds/tommytree.h", - "external/sources/tommyds/tommytrie.c", - "external/sources/tommyds/tommytrie.h", - "external/sources/tommyds/tommytrieinp.c", - "external/sources/tommyds/tommytrieinp.h", - "external/sources/tommyds/tommytypes.h", - "external/sources/tremolo/CMakeLists.txt", - "external/sources/tremolo/MODULE_LICENSE_BSD_LIKE", - "external/sources/tremolo/NOTICE", - "external/sources/tremolo/README.version", - "external/sources/tremolo/Tremolo/CHANGELOG", - "external/sources/tremolo/Tremolo/COPYING", - "external/sources/tremolo/Tremolo/Makefile", - "external/sources/tremolo/Tremolo/Profile.txt", - "external/sources/tremolo/Tremolo/README", - "external/sources/tremolo/Tremolo/TODO", - "external/sources/tremolo/Tremolo/annotate.c", - "external/sources/tremolo/Tremolo/asm_arm.h", - "external/sources/tremolo/Tremolo/bibble.txt", - "external/sources/tremolo/Tremolo/bitwise.c", - "external/sources/tremolo/Tremolo/bitwiseARM.s", - "external/sources/tremolo/Tremolo/codebook.c", - "external/sources/tremolo/Tremolo/codebook.h", - "external/sources/tremolo/Tremolo/codec_internal.h", - "external/sources/tremolo/Tremolo/config_types.h", - "external/sources/tremolo/Tremolo/dpen.s", - "external/sources/tremolo/Tremolo/dsp.c", - "external/sources/tremolo/Tremolo/floor0.c", - "external/sources/tremolo/Tremolo/floor1.c", - "external/sources/tremolo/Tremolo/floor1ARM.s", - "external/sources/tremolo/Tremolo/floor1LARM.s", - "external/sources/tremolo/Tremolo/floor_lookup.c", - "external/sources/tremolo/Tremolo/framing.c", - "external/sources/tremolo/Tremolo/info.c", - "external/sources/tremolo/Tremolo/ivorbiscodec.h", - "external/sources/tremolo/Tremolo/ivorbisfile.h", - "external/sources/tremolo/Tremolo/ivorbisfile_example.c", - "external/sources/tremolo/Tremolo/lsp_lookup.h", - "external/sources/tremolo/Tremolo/mapping0.c", - "external/sources/tremolo/Tremolo/mdct.c", - "external/sources/tremolo/Tremolo/mdct.h", - "external/sources/tremolo/Tremolo/mdctARM.s", - "external/sources/tremolo/Tremolo/mdctLARM.s", - "external/sources/tremolo/Tremolo/mdct_lookup.h", - "external/sources/tremolo/Tremolo/misc.c", - "external/sources/tremolo/Tremolo/misc.h", - "external/sources/tremolo/Tremolo/ogg.h", - "external/sources/tremolo/Tremolo/os.h", - "external/sources/tremolo/Tremolo/os_types.h", - "external/sources/tremolo/Tremolo/profile.c", - "external/sources/tremolo/Tremolo/res012.c", - "external/sources/tremolo/Tremolo/speed.s", - "external/sources/tremolo/Tremolo/testtremor.c", - "external/sources/tremolo/Tremolo/vorbisfile.c", - "external/sources/tremolo/Tremolo/window_lookup.h", - "external/sources/tremolo/local_modification.diff", - "external/sources/unzip/crypt.h", - "external/sources/unzip/ioapi.cpp", - "external/sources/unzip/ioapi.h", - "external/sources/unzip/ioapi_mem.cpp", - "external/sources/unzip/ioapi_mem.h", - "external/sources/unzip/unzip.cpp", - "external/sources/unzip/unzip.h", - "external/sources/xxhash/CMakeLists.txt", - "external/sources/xxhash/xxhash.c", - "external/sources/xxhash/xxhash.h", - "external/sources/xxtea/xxtea.cpp", - "external/sources/xxtea/xxtea.h", - "external/versions.txt", - "external/win32/CMakeLists.txt", - "external/win32/include/OpenalSoft/al.h", - "external/win32/include/OpenalSoft/alc.h", - "external/win32/include/OpenalSoft/alext.h", - "external/win32/include/OpenalSoft/efx-creative.h", - "external/win32/include/OpenalSoft/efx-presets.h", - "external/win32/include/OpenalSoft/efx.h", - "external/win32/include/curl/curl.h", - "external/win32/include/curl/curlbuild.h", - "external/win32/include/curl/curlrules.h", - "external/win32/include/curl/curlver.h", - "external/win32/include/curl/easy.h", - "external/win32/include/curl/mprintf.h", - "external/win32/include/curl/multi.h", - "external/win32/include/curl/stdcheaders.h", - "external/win32/include/curl/typecheck-gcc.h", - "external/win32/include/freetype/config/ftconfig.h", - "external/win32/include/freetype/config/ftheader.h", - "external/win32/include/freetype/config/ftmodule.h", - "external/win32/include/freetype/config/ftoption.h", - "external/win32/include/freetype/config/ftstdlib.h", - "external/win32/include/freetype/freetype.h", - "external/win32/include/freetype/ft2build.h", - "external/win32/include/freetype/ftadvanc.h", - "external/win32/include/freetype/ftautoh.h", - "external/win32/include/freetype/ftbbox.h", - "external/win32/include/freetype/ftbdf.h", - "external/win32/include/freetype/ftbitmap.h", - "external/win32/include/freetype/ftbzip2.h", - "external/win32/include/freetype/ftcache.h", - "external/win32/include/freetype/ftcffdrv.h", - "external/win32/include/freetype/ftchapters.h", - "external/win32/include/freetype/ftcid.h", - "external/win32/include/freetype/fterrdef.h", - "external/win32/include/freetype/fterrors.h", - "external/win32/include/freetype/ftfntfmt.h", - "external/win32/include/freetype/ftgasp.h", - "external/win32/include/freetype/ftglyph.h", - "external/win32/include/freetype/ftgxval.h", - "external/win32/include/freetype/ftgzip.h", - "external/win32/include/freetype/ftimage.h", - "external/win32/include/freetype/ftincrem.h", - "external/win32/include/freetype/ftlcdfil.h", - "external/win32/include/freetype/ftlist.h", - "external/win32/include/freetype/ftlzw.h", - "external/win32/include/freetype/ftmac.h", - "external/win32/include/freetype/ftmm.h", - "external/win32/include/freetype/ftmodapi.h", - "external/win32/include/freetype/ftmoderr.h", - "external/win32/include/freetype/ftotval.h", - "external/win32/include/freetype/ftoutln.h", - "external/win32/include/freetype/ftpfr.h", - "external/win32/include/freetype/ftrender.h", - "external/win32/include/freetype/ftsizes.h", - "external/win32/include/freetype/ftsnames.h", - "external/win32/include/freetype/ftstroke.h", - "external/win32/include/freetype/ftsynth.h", - "external/win32/include/freetype/ftsystem.h", - "external/win32/include/freetype/fttrigon.h", - "external/win32/include/freetype/ftttdrv.h", - "external/win32/include/freetype/fttypes.h", - "external/win32/include/freetype/ftwinfnt.h", - "external/win32/include/freetype/t1tables.h", - "external/win32/include/freetype/ttnameid.h", - "external/win32/include/freetype/tttables.h", - "external/win32/include/freetype/tttags.h", - "external/win32/include/freetype/ttunpat.h", - "external/win32/include/gles/glew.h", - "external/win32/include/gles/glxew.h", - "external/win32/include/gles/wglew.h", - "external/win32/include/glslang/SPIRV/CMakeLists.txt", - "external/win32/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/win32/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/win32/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/win32/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/win32/include/glslang/SPIRV/GLSL.std.450.h", - "external/win32/include/glslang/SPIRV/GlslangToSpv.cpp", - "external/win32/include/glslang/SPIRV/GlslangToSpv.h", - "external/win32/include/glslang/SPIRV/InReadableOrder.cpp", - "external/win32/include/glslang/SPIRV/Logger.cpp", - "external/win32/include/glslang/SPIRV/Logger.h", - "external/win32/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/win32/include/glslang/SPIRV/SPVRemapper.cpp", - "external/win32/include/glslang/SPIRV/SPVRemapper.h", - "external/win32/include/glslang/SPIRV/SpvBuilder.cpp", - "external/win32/include/glslang/SPIRV/SpvBuilder.h", - "external/win32/include/glslang/SPIRV/SpvPostProcess.cpp", - "external/win32/include/glslang/SPIRV/SpvTools.cpp", - "external/win32/include/glslang/SPIRV/SpvTools.h", - "external/win32/include/glslang/SPIRV/bitutils.h", - "external/win32/include/glslang/SPIRV/disassemble.cpp", - "external/win32/include/glslang/SPIRV/disassemble.h", - "external/win32/include/glslang/SPIRV/doc.cpp", - "external/win32/include/glslang/SPIRV/doc.h", - "external/win32/include/glslang/SPIRV/hex_float.h", - "external/win32/include/glslang/SPIRV/spirv.hpp", - "external/win32/include/glslang/SPIRV/spvIR.h", - "external/win32/include/glslang/StandAlone/CMakeLists.txt", - "external/win32/include/glslang/StandAlone/DirStackFileIncluder.h", - "external/win32/include/glslang/StandAlone/ResourceLimits.cpp", - "external/win32/include/glslang/StandAlone/ResourceLimits.h", - "external/win32/include/glslang/StandAlone/StandAlone.cpp", - "external/win32/include/glslang/StandAlone/Worklist.h", - "external/win32/include/glslang/StandAlone/resource_limits_c.cpp", - "external/win32/include/glslang/StandAlone/resource_limits_c.h", - "external/win32/include/glslang/StandAlone/spirv-remap.cpp", - "external/win32/include/glslang/glslang/CInterface/glslang_c_interface.cpp", - "external/win32/include/glslang/glslang/CMakeLists.txt", - "external/win32/include/glslang/glslang/GenericCodeGen/CodeGen.cpp", - "external/win32/include/glslang/glslang/GenericCodeGen/Link.cpp", - "external/win32/include/glslang/glslang/Include/BaseTypes.h", - "external/win32/include/glslang/glslang/Include/Common.h", - "external/win32/include/glslang/glslang/Include/ConstantUnion.h", - "external/win32/include/glslang/glslang/Include/InfoSink.h", - "external/win32/include/glslang/glslang/Include/InitializeGlobals.h", - "external/win32/include/glslang/glslang/Include/PoolAlloc.h", - "external/win32/include/glslang/glslang/Include/ResourceLimits.h", - "external/win32/include/glslang/glslang/Include/ShHandle.h", - "external/win32/include/glslang/glslang/Include/Types.h", - "external/win32/include/glslang/glslang/Include/arrays.h", - "external/win32/include/glslang/glslang/Include/glslang_c_interface.h", - "external/win32/include/glslang/glslang/Include/glslang_c_shader_types.h", - "external/win32/include/glslang/glslang/Include/intermediate.h", - "external/win32/include/glslang/glslang/Include/revision.h", - "external/win32/include/glslang/glslang/Include/revision.template", - "external/win32/include/glslang/glslang/MachineIndependent/Constant.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/InfoSink.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Initialize.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Initialize.h", - "external/win32/include/glslang/glslang/MachineIndependent/IntermTraverse.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Intermediate.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/LiveTraverser.h", - "external/win32/include/glslang/glslang/MachineIndependent/ParseContextBase.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/ParseHelper.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/ParseHelper.h", - "external/win32/include/glslang/glslang/MachineIndependent/PoolAlloc.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/RemoveTree.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/RemoveTree.h", - "external/win32/include/glslang/glslang/MachineIndependent/Scan.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Scan.h", - "external/win32/include/glslang/glslang/MachineIndependent/ScanContext.h", - "external/win32/include/glslang/glslang/MachineIndependent/ShaderLang.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/SymbolTable.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/SymbolTable.h", - "external/win32/include/glslang/glslang/MachineIndependent/Versions.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Versions.h", - "external/win32/include/glslang/glslang/MachineIndependent/attribute.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/attribute.h", - "external/win32/include/glslang/glslang/MachineIndependent/gl_types.h", - "external/win32/include/glslang/glslang/MachineIndependent/glslang.m4", - "external/win32/include/glslang/glslang/MachineIndependent/glslang.y", - "external/win32/include/glslang/glslang/MachineIndependent/glslang_tab.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/win32/include/glslang/glslang/MachineIndependent/intermOut.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/iomapper.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/iomapper.h", - "external/win32/include/glslang/glslang/MachineIndependent/limits.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/linkValidate.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/localintermediate.h", - "external/win32/include/glslang/glslang/MachineIndependent/parseConst.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/parseVersions.h", - "external/win32/include/glslang/glslang/MachineIndependent/pch.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/pch.h", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/win32/include/glslang/glslang/MachineIndependent/propagateNoContraction.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/propagateNoContraction.h", - "external/win32/include/glslang/glslang/MachineIndependent/reflection.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/reflection.h", - "external/win32/include/glslang/glslang/OSDependent/Unix/CMakeLists.txt", - "external/win32/include/glslang/glslang/OSDependent/Unix/ossource.cpp", - "external/win32/include/glslang/glslang/OSDependent/Web/CMakeLists.txt", - "external/win32/include/glslang/glslang/OSDependent/Web/glslang.after.js", - "external/win32/include/glslang/glslang/OSDependent/Web/glslang.js.cpp", - "external/win32/include/glslang/glslang/OSDependent/Web/glslang.pre.js", - "external/win32/include/glslang/glslang/OSDependent/Windows/CMakeLists.txt", - "external/win32/include/glslang/glslang/OSDependent/Windows/main.cpp", - "external/win32/include/glslang/glslang/OSDependent/Windows/ossource.cpp", - "external/win32/include/glslang/glslang/OSDependent/osinclude.h", - "external/win32/include/glslang/glslang/Public/ShaderLang.h", - "external/win32/include/glslang/glslang/updateGrammar", - "external/win32/include/glslang/spirv-tools/instrument.hpp", - "external/win32/include/glslang/spirv-tools/libspirv.h", - "external/win32/include/glslang/spirv-tools/libspirv.hpp", - "external/win32/include/glslang/spirv-tools/linker.hpp", - "external/win32/include/glslang/spirv-tools/optimizer.hpp", - "external/win32/include/icon/iconv.h", - "external/win32/include/jpeg/jconfig.h", - "external/win32/include/jpeg/jmorecfg.h", - "external/win32/include/jpeg/jpeglib.h", - "external/win32/include/mpg123/mpg123.h", - "external/win32/include/ogg/ogg.h", - "external/win32/include/ogg/os_types.h", - "external/win32/include/openssl/__DECC_INCLUDE_EPILOGUE.H", - "external/win32/include/openssl/__DECC_INCLUDE_PROLOGUE.H", - "external/win32/include/openssl/aes.h", - "external/win32/include/openssl/applink.c", - "external/win32/include/openssl/asn1.h", - "external/win32/include/openssl/asn1_mac.h", - "external/win32/include/openssl/asn1t.h", - "external/win32/include/openssl/async.h", - "external/win32/include/openssl/bio.h", - "external/win32/include/openssl/blowfish.h", - "external/win32/include/openssl/bn.h", - "external/win32/include/openssl/buffer.h", - "external/win32/include/openssl/camellia.h", - "external/win32/include/openssl/cast.h", - "external/win32/include/openssl/cmac.h", - "external/win32/include/openssl/cms.h", - "external/win32/include/openssl/comp.h", - "external/win32/include/openssl/conf.h", - "external/win32/include/openssl/conf_api.h", - "external/win32/include/openssl/crypto.h", - "external/win32/include/openssl/ct.h", - "external/win32/include/openssl/des.h", - "external/win32/include/openssl/dh.h", - "external/win32/include/openssl/dsa.h", - "external/win32/include/openssl/dtls1.h", - "external/win32/include/openssl/e_os2.h", - "external/win32/include/openssl/ebcdic.h", - "external/win32/include/openssl/ec.h", - "external/win32/include/openssl/ecdh.h", - "external/win32/include/openssl/ecdsa.h", - "external/win32/include/openssl/engine.h", - "external/win32/include/openssl/err.h", - "external/win32/include/openssl/evp.h", - "external/win32/include/openssl/hmac.h", - "external/win32/include/openssl/idea.h", - "external/win32/include/openssl/kdf.h", - "external/win32/include/openssl/lhash.h", - "external/win32/include/openssl/md2.h", - "external/win32/include/openssl/md4.h", - "external/win32/include/openssl/md5.h", - "external/win32/include/openssl/mdc2.h", - "external/win32/include/openssl/modes.h", - "external/win32/include/openssl/obj_mac.h", - "external/win32/include/openssl/objects.h", - "external/win32/include/openssl/ocsp.h", - "external/win32/include/openssl/opensslconf.h", - "external/win32/include/openssl/opensslv.h", - "external/win32/include/openssl/ossl_typ.h", - "external/win32/include/openssl/pem.h", - "external/win32/include/openssl/pem2.h", - "external/win32/include/openssl/pkcs12.h", - "external/win32/include/openssl/pkcs7.h", - "external/win32/include/openssl/rand.h", - "external/win32/include/openssl/rc2.h", - "external/win32/include/openssl/rc4.h", - "external/win32/include/openssl/rc5.h", - "external/win32/include/openssl/ripemd.h", - "external/win32/include/openssl/rsa.h", - "external/win32/include/openssl/safestack.h", - "external/win32/include/openssl/seed.h", - "external/win32/include/openssl/sha.h", - "external/win32/include/openssl/srp.h", - "external/win32/include/openssl/srtp.h", - "external/win32/include/openssl/ssl.h", - "external/win32/include/openssl/ssl2.h", - "external/win32/include/openssl/ssl3.h", - "external/win32/include/openssl/stack.h", - "external/win32/include/openssl/symhacks.h", - "external/win32/include/openssl/tls1.h", - "external/win32/include/openssl/ts.h", - "external/win32/include/openssl/txt_db.h", - "external/win32/include/openssl/ui.h", - "external/win32/include/openssl/whrlpool.h", - "external/win32/include/openssl/x509.h", - "external/win32/include/openssl/x509_vfy.h", - "external/win32/include/openssl/x509v3.h", - "external/win32/include/png/png.h", - "external/win32/include/png/pngconf.h", - "external/win32/include/png/pnglibconf.h", - "external/win32/include/pvrsdk/CL/cl.h", - "external/win32/include/pvrsdk/CL/cl2.hpp", - "external/win32/include/pvrsdk/CL/cl_d3d10.h", - "external/win32/include/pvrsdk/CL/cl_d3d11.h", - "external/win32/include/pvrsdk/CL/cl_dx9_media_sharing.h", - "external/win32/include/pvrsdk/CL/cl_egl.h", - "external/win32/include/pvrsdk/CL/cl_ext.h", - "external/win32/include/pvrsdk/CL/cl_gl.h", - "external/win32/include/pvrsdk/CL/cl_gl_ext.h", - "external/win32/include/pvrsdk/CL/cl_platform.h", - "external/win32/include/pvrsdk/CL/opencl.h", - "external/win32/include/pvrsdk/DynamicEgl.h", - "external/win32/include/pvrsdk/DynamicGles.h", - "external/win32/include/pvrsdk/DynamicOCL.h", - "external/win32/include/pvrsdk/EGL/egl.h", - "external/win32/include/pvrsdk/EGL/eglext.h", - "external/win32/include/pvrsdk/EGL/eglplatform.h", - "external/win32/include/pvrsdk/GLES/egl.h", - "external/win32/include/pvrsdk/GLES/gl.h", - "external/win32/include/pvrsdk/GLES/glext.h", - "external/win32/include/pvrsdk/GLES/glplatform.h", - "external/win32/include/pvrsdk/GLES2/gl2.h", - "external/win32/include/pvrsdk/GLES2/gl2ext.h", - "external/win32/include/pvrsdk/GLES2/gl2platform.h", - "external/win32/include/pvrsdk/GLES3/gl3.h", - "external/win32/include/pvrsdk/GLES3/gl31.h", - "external/win32/include/pvrsdk/GLES3/gl32.h", - "external/win32/include/pvrsdk/GLES3/gl3platform.h", - "external/win32/include/pvrsdk/KHR/khrplatform.h", - "external/win32/include/pvrsdk/PVRScopeComms.h", - "external/win32/include/pvrsdk/PVRScopeStats.h", - "external/win32/include/pvrsdk/pvr_openlib.h", - "external/win32/include/pvrsdk/sdkver.h", - "external/win32/include/pvrsdk/vk_bindings.h", - "external/win32/include/pvrsdk/vk_bindings_helper.h", - "external/win32/include/pvrsdk/vulkan/vk_icd.h", - "external/win32/include/pvrsdk/vulkan/vk_layer.h", - "external/win32/include/pvrsdk/vulkan/vk_platform.h", - "external/win32/include/pvrsdk/vulkan/vulkan.h", - "external/win32/include/pvrsdk/vulkan/vulkan_android.h", - "external/win32/include/pvrsdk/vulkan/vulkan_core.h", - "external/win32/include/pvrsdk/vulkan/vulkan_ios.h", - "external/win32/include/pvrsdk/vulkan/vulkan_macos.h", - "external/win32/include/pvrsdk/vulkan/vulkan_mir.h", - "external/win32/include/pvrsdk/vulkan/vulkan_vi.h", - "external/win32/include/pvrsdk/vulkan/vulkan_wayland.h", - "external/win32/include/pvrsdk/vulkan/vulkan_win32.h", - "external/win32/include/pvrsdk/vulkan/vulkan_xcb.h", - "external/win32/include/pvrsdk/vulkan/vulkan_xlib.h", - "external/win32/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", - "external/win32/include/sdl2/SDL.h", - "external/win32/include/sdl2/SDL_assert.h", - "external/win32/include/sdl2/SDL_atomic.h", - "external/win32/include/sdl2/SDL_audio.h", - "external/win32/include/sdl2/SDL_bits.h", - "external/win32/include/sdl2/SDL_blendmode.h", - "external/win32/include/sdl2/SDL_clipboard.h", - "external/win32/include/sdl2/SDL_config.h", - "external/win32/include/sdl2/SDL_config.h.cmake", - "external/win32/include/sdl2/SDL_config.h.in", - "external/win32/include/sdl2/SDL_config_android.h", - "external/win32/include/sdl2/SDL_config_iphoneos.h", - "external/win32/include/sdl2/SDL_config_macosx.h", - "external/win32/include/sdl2/SDL_config_macosx.h.orig", - "external/win32/include/sdl2/SDL_config_minimal.h", - "external/win32/include/sdl2/SDL_config_pandora.h", - "external/win32/include/sdl2/SDL_config_psp.h", - "external/win32/include/sdl2/SDL_config_windows.h", - "external/win32/include/sdl2/SDL_config_winrt.h", - "external/win32/include/sdl2/SDL_config_wiz.h", - "external/win32/include/sdl2/SDL_copying.h", - "external/win32/include/sdl2/SDL_cpuinfo.h", - "external/win32/include/sdl2/SDL_egl.h", - "external/win32/include/sdl2/SDL_endian.h", - "external/win32/include/sdl2/SDL_error.h", - "external/win32/include/sdl2/SDL_events.h", - "external/win32/include/sdl2/SDL_filesystem.h", - "external/win32/include/sdl2/SDL_gamecontroller.h", - "external/win32/include/sdl2/SDL_gesture.h", - "external/win32/include/sdl2/SDL_haptic.h", - "external/win32/include/sdl2/SDL_hints.h", - "external/win32/include/sdl2/SDL_joystick.h", - "external/win32/include/sdl2/SDL_keyboard.h", - "external/win32/include/sdl2/SDL_keycode.h", - "external/win32/include/sdl2/SDL_loadso.h", - "external/win32/include/sdl2/SDL_log.h", - "external/win32/include/sdl2/SDL_main.h", - "external/win32/include/sdl2/SDL_messagebox.h", - "external/win32/include/sdl2/SDL_mouse.h", - "external/win32/include/sdl2/SDL_mutex.h", - "external/win32/include/sdl2/SDL_name.h", - "external/win32/include/sdl2/SDL_opengl.h", - "external/win32/include/sdl2/SDL_opengl_glext.h", - "external/win32/include/sdl2/SDL_opengles.h", - "external/win32/include/sdl2/SDL_opengles2.h", - "external/win32/include/sdl2/SDL_opengles2_gl2.h", - "external/win32/include/sdl2/SDL_opengles2_gl2ext.h", - "external/win32/include/sdl2/SDL_opengles2_gl2platform.h", - "external/win32/include/sdl2/SDL_opengles2_khrplatform.h", - "external/win32/include/sdl2/SDL_pixels.h", - "external/win32/include/sdl2/SDL_platform.h", - "external/win32/include/sdl2/SDL_power.h", - "external/win32/include/sdl2/SDL_quit.h", - "external/win32/include/sdl2/SDL_rect.h", - "external/win32/include/sdl2/SDL_render.h", - "external/win32/include/sdl2/SDL_revision.h", - "external/win32/include/sdl2/SDL_rwops.h", - "external/win32/include/sdl2/SDL_scancode.h", - "external/win32/include/sdl2/SDL_sensor.h", - "external/win32/include/sdl2/SDL_shape.h", - "external/win32/include/sdl2/SDL_stdinc.h", - "external/win32/include/sdl2/SDL_surface.h", - "external/win32/include/sdl2/SDL_system.h", - "external/win32/include/sdl2/SDL_syswm.h", - "external/win32/include/sdl2/SDL_test.h", - "external/win32/include/sdl2/SDL_test_assert.h", - "external/win32/include/sdl2/SDL_test_common.h", - "external/win32/include/sdl2/SDL_test_compare.h", - "external/win32/include/sdl2/SDL_test_crc32.h", - "external/win32/include/sdl2/SDL_test_font.h", - "external/win32/include/sdl2/SDL_test_fuzzer.h", - "external/win32/include/sdl2/SDL_test_harness.h", - "external/win32/include/sdl2/SDL_test_images.h", - "external/win32/include/sdl2/SDL_test_log.h", - "external/win32/include/sdl2/SDL_test_md5.h", - "external/win32/include/sdl2/SDL_test_memory.h", - "external/win32/include/sdl2/SDL_test_random.h", - "external/win32/include/sdl2/SDL_thread.h", - "external/win32/include/sdl2/SDL_timer.h", - "external/win32/include/sdl2/SDL_touch.h", - "external/win32/include/sdl2/SDL_types.h", - "external/win32/include/sdl2/SDL_version.h", - "external/win32/include/sdl2/SDL_video.h", - "external/win32/include/sdl2/SDL_vulkan.h", - "external/win32/include/sdl2/begin_code.h", - "external/win32/include/sdl2/close_code.h", - "external/win32/include/sqlite3/sqlite3.h", - "external/win32/include/sqlite3/sqlite3ext.h", - "external/win32/include/uv/android-ifaddrs.h", - "external/win32/include/uv/pthread-barrier.h", - "external/win32/include/uv/stdint-msvc2008.h", - "external/win32/include/uv/tree.h", - "external/win32/include/uv/uv-aix.h", - "external/win32/include/uv/uv-bsd.h", - "external/win32/include/uv/uv-darwin.h", - "external/win32/include/uv/uv-errno.h", - "external/win32/include/uv/uv-linux.h", - "external/win32/include/uv/uv-os390.h", - "external/win32/include/uv/uv-posix.h", - "external/win32/include/uv/uv-sunos.h", - "external/win32/include/uv/uv-threadpool.h", - "external/win32/include/uv/uv-unix.h", - "external/win32/include/uv/uv-version.h", - "external/win32/include/uv/uv-win.h", - "external/win32/include/uv/uv.h", - "external/win32/include/v8/libplatform/libplatform-export.h", - "external/win32/include/v8/libplatform/libplatform.h", - "external/win32/include/v8/libplatform/v8-tracing.h", - "external/win32/include/v8/v8-inspector-protocol.h", - "external/win32/include/v8/v8-inspector.h", - "external/win32/include/v8/v8-internal.h", - "external/win32/include/v8/v8-platform.h", - "external/win32/include/v8/v8-profiler.h", - "external/win32/include/v8/v8-testing.h", - "external/win32/include/v8/v8-util.h", - "external/win32/include/v8/v8-value-serializer-version.h", - "external/win32/include/v8/v8-version-string.h", - "external/win32/include/v8/v8-version.h", - "external/win32/include/v8/v8-wasm-trap-handler-posix.h", - "external/win32/include/v8/v8-wasm-trap-handler-win.h", - "external/win32/include/v8/v8.h", - "external/win32/include/v8/v8config.h", - "external/win32/include/vorbis/codec.h", - "external/win32/include/vorbis/vorbisenc.h", - "external/win32/include/vorbis/vorbisfile.h", - "external/win32/include/webp/decode.h", - "external/win32/include/webp/encode.h", - "external/win32/include/webp/types.h", - "external/win32/include/websockets/libwebsockets.h", - "external/win32/include/websockets/lws_config.h", - "external/win32/include/zlib/zconf.h", - "external/win32/include/zlib/zlib.h", - "external/win32/libs/Debug/", - "external/win32/libs/Debug/mozglue.lib", - "external/win32/libs/Debug/mozjs-52.dll", - "external/win32/libs/Debug/mozjs-52.lib", - "external/win32/libs/Debug/nspr4.dll", - "external/win32/libs/OpenAL32.dll", - "external/win32/libs/OpenAL32.lib", - "external/win32/libs/SDL2.dll", - "external/win32/libs/SDL2.lib", - "external/win32/libs/SDL2main.lib", - "external/win32/libs/dbghelp.dll", - "external/win32/libs/freetype.lib", - "external/win32/libs/glew32.dll", - "external/win32/libs/glew32.lib", - "external/win32/libs/glslang/HLSL.lib", - "external/win32/libs/glslang/HLSLd.lib", - "external/win32/libs/glslang/OGLCompiler.lib", - "external/win32/libs/glslang/OGLCompilerd.lib", - "external/win32/libs/glslang/OSDependent.lib", - "external/win32/libs/glslang/OSDependentd.lib", - "external/win32/libs/glslang/SPIRV.lib", - "external/win32/libs/glslang/SPIRVd.lib", - "external/win32/libs/glslang/glslang-default-resource-limits.lib", - "external/win32/libs/glslang/glslang-default-resource-limitsd.lib", - "external/win32/libs/glslang/glslang.lib", - "external/win32/libs/glslang/glslangd.lib", - "external/win32/libs/iconv.dll", - "external/win32/libs/icui18n.dll", - "external/win32/libs/icui18n.dll.lib", - "external/win32/libs/icuuc.dll", - "external/win32/libs/icuuc.dll.lib", - "external/win32/libs/libEGL.dll", - "external/win32/libs/libGLESv2.dll", - "external/win32/libs/libcrypto-1_1.dll", - "external/win32/libs/libcrypto.lib", - "external/win32/libs/libcurl.dll", - "external/win32/libs/libcurl.lib", - "external/win32/libs/libiconv.lib", - "external/win32/libs/libjpeg-2015.lib", - "external/win32/libs/libjpeg.lib", - "external/win32/libs/libmpg123.dll", - "external/win32/libs/libmpg123.lib", - "external/win32/libs/libogg.dll", - "external/win32/libs/libogg.lib", - "external/win32/libs/libpng-2015.lib", - "external/win32/libs/libpng.lib", - "external/win32/libs/libssl-1_1.dll", - "external/win32/libs/libssl.lib", - "external/win32/libs/libuv.lib", - "external/win32/libs/libvorbis.dll", - "external/win32/libs/libvorbis.lib", - "external/win32/libs/libvorbisfile.dll", - "external/win32/libs/libvorbisfile.lib", - "external/win32/libs/libwebp.lib", - "external/win32/libs/libzlib.lib", - "external/win32/libs/nspr4.dll", - "external/win32/libs/sqlite3.dll", - "external/win32/libs/sqlite3.lib", - "external/win32/libs/tbb/tbb_static.lib", - "external/win32/libs/tbb/tbb_static_debug.lib", - "external/win32/libs/tbb/tbbmalloc_proxy_static.lib", - "external/win32/libs/tbb/tbbmalloc_proxy_static_debug.lib", - "external/win32/libs/tbb/tbbmalloc_static.lib", - "external/win32/libs/tbb/tbbmalloc_static_debug.lib", - "external/win32/libs/uv.dll", - "external/win32/libs/v8.dll", - "external/win32/libs/v8.dll.lib", - "external/win32/libs/v8_libbase.dll", - "external/win32/libs/v8_libbase.dll.lib", - "external/win32/libs/v8_libplatform.dll", - "external/win32/libs/v8_libplatform.dll.lib", - "external/win32/libs/websockets.dll", - "external/win32/libs/websockets.lib", - "external/win32/libs/zlib.dll", - "external/win32/libs/zlib.dll.lib", - "external/win32/libs/zlib1.dll", - "package-lock.json", - "unit-test/CMakeLists.txt", - "unit-test/CMakeLists.txt.in", - "unit-test/README", - "unit-test/src/CMakeLists.txt", - "unit-test/src/main.cpp", + ".browserslistrc", + ".clang-format", + ".clang-tidy", + ".github/workflows/clangtidy-android.yml", + ".vscode/settings.json", + "CMakeLists.txt", + "cocos/audio/AudioEngine.cpp", + "cocos/audio/android/AssetFd.cpp", + "cocos/audio/android/AssetFd.h", + "cocos/audio/android/AudioBufferProvider.h", + "cocos/audio/android/AudioDecoder.cpp", + "cocos/audio/android/AudioDecoder.h", + "cocos/audio/android/AudioDecoderMp3.cpp", + "cocos/audio/android/AudioDecoderMp3.h", + "cocos/audio/android/AudioDecoderOgg.cpp", + "cocos/audio/android/AudioDecoderOgg.h", + "cocos/audio/android/AudioDecoderProvider.cpp", + "cocos/audio/android/AudioDecoderProvider.h", + "cocos/audio/android/AudioDecoderSLES.cpp", + "cocos/audio/android/AudioDecoderSLES.h", + "cocos/audio/android/AudioDecoderWav.cpp", + "cocos/audio/android/AudioDecoderWav.h", + "cocos/audio/android/AudioEngine-inl.cpp", + "cocos/audio/android/AudioEngine-inl.h", + "cocos/audio/android/AudioMixer.cpp", + "cocos/audio/android/AudioMixer.h", + "cocos/audio/android/AudioMixerController.cpp", + "cocos/audio/android/AudioMixerController.h", + "cocos/audio/android/AudioMixerOps.h", + "cocos/audio/android/AudioPlayerProvider.cpp", + "cocos/audio/android/AudioPlayerProvider.h", + "cocos/audio/android/AudioResampler.cpp", + "cocos/audio/android/AudioResampler.h", + "cocos/audio/android/AudioResamplerCubic.cpp", + "cocos/audio/android/AudioResamplerCubic.h", + "cocos/audio/android/AudioResamplerPublic.h", + "cocos/audio/android/IAudioPlayer.h", + "cocos/audio/android/ICallerThreadUtils.h", + "cocos/audio/android/IVolumeProvider.h", + "cocos/audio/android/OpenSLHelper.h", + "cocos/audio/android/PcmAudioPlayer.cpp", + "cocos/audio/android/PcmAudioPlayer.h", + "cocos/audio/android/PcmAudioService.cpp", + "cocos/audio/android/PcmAudioService.h", + "cocos/audio/android/PcmBufferProvider.cpp", + "cocos/audio/android/PcmBufferProvider.h", + "cocos/audio/android/PcmData.cpp", + "cocos/audio/android/PcmData.h", + "cocos/audio/android/Track.cpp", + "cocos/audio/android/Track.h", + "cocos/audio/android/UrlAudioPlayer.cpp", + "cocos/audio/android/UrlAudioPlayer.h", + "cocos/audio/android/audio.h", + "cocos/audio/android/audio_utils/format.c", + "cocos/audio/android/audio_utils/include/audio_utils/format.h", + "cocos/audio/android/audio_utils/include/audio_utils/minifloat.h", + "cocos/audio/android/audio_utils/include/audio_utils/primitives.h", + "cocos/audio/android/audio_utils/minifloat.cpp", + "cocos/audio/android/audio_utils/primitives.c", + "cocos/audio/android/audio_utils/private/private.h", + "cocos/audio/android/cutils/bitops.h", + "cocos/audio/android/cutils/log.h", + "cocos/audio/android/mp3reader.cpp", + "cocos/audio/android/mp3reader.h", + "cocos/audio/android/tinysndfile.cpp", + "cocos/audio/android/tinysndfile.h", + "cocos/audio/android/utils/Compat.h", + "cocos/audio/android/utils/Errors.h", + "cocos/audio/android/utils/Utils.cpp", + "cocos/audio/android/utils/Utils.h", + "cocos/audio/apple/AudioCache.h", + "cocos/audio/apple/AudioCache.mm", + "cocos/audio/apple/AudioDecoder.h", + "cocos/audio/apple/AudioDecoder.mm", + "cocos/audio/apple/AudioEngine-inl.h", + "cocos/audio/apple/AudioEngine-inl.mm", + "cocos/audio/apple/AudioMacros.h", + "cocos/audio/apple/AudioPlayer.h", + "cocos/audio/apple/AudioPlayer.mm", + "cocos/audio/include/AudioEngine.h", + "cocos/audio/include/Export.h", + "cocos/audio/win32/AudioCache.cpp", + "cocos/audio/win32/AudioCache.h", + "cocos/audio/win32/AudioDecoder.cpp", + "cocos/audio/win32/AudioDecoder.h", + "cocos/audio/win32/AudioDecoderManager.cpp", + "cocos/audio/win32/AudioDecoderManager.h", + "cocos/audio/win32/AudioDecoderMp3.cpp", + "cocos/audio/win32/AudioDecoderMp3.h", + "cocos/audio/win32/AudioDecoderOgg.cpp", + "cocos/audio/win32/AudioDecoderOgg.h", + "cocos/audio/win32/AudioEngine-win32.cpp", + "cocos/audio/win32/AudioEngine-win32.h", + "cocos/audio/win32/AudioMacros.h", + "cocos/audio/win32/AudioPlayer.cpp", + "cocos/audio/win32/AudioPlayer.h", + "cocos/base/Agent.h", + "cocos/base/Array.cpp", + "cocos/base/Array.h", + "cocos/base/AutoreleasePool.cpp", + "cocos/base/AutoreleasePool.h", + "cocos/base/CachedArray.h", + "cocos/base/Config.h", + "cocos/base/CoreStd.h", + "cocos/base/Data.cpp", + "cocos/base/Data.h", + "cocos/base/IndexHandle.h", + "cocos/base/Log.cpp", + "cocos/base/Log.h", + "cocos/base/Macros.h", + "cocos/base/Map.h", + "cocos/base/Object.h", + "cocos/base/Random.cpp", + "cocos/base/Random.h", + "cocos/base/Ref.cpp", + "cocos/base/Ref.h", + "cocos/base/Scheduler.cpp", + "cocos/base/Scheduler.h", + "cocos/base/StringHandle.cpp", + "cocos/base/StringHandle.h", + "cocos/base/StringPool.h", + "cocos/base/StringUtil.cpp", + "cocos/base/StringUtil.h", + "cocos/base/ThreadPool.cpp", + "cocos/base/ThreadPool.h", + "cocos/base/TypeDef.h", + "cocos/base/UTF8.cpp", + "cocos/base/UTF8.h", + "cocos/base/Utils.cpp", + "cocos/base/Utils.h", + "cocos/base/Value.cpp", + "cocos/base/Value.h", + "cocos/base/Vector.h", + "cocos/base/ZipUtils.cpp", + "cocos/base/ZipUtils.h", + "cocos/base/astc.cpp", + "cocos/base/astc.h", + "cocos/base/base64.cpp", + "cocos/base/base64.h", + "cocos/base/csscolorparser.cpp", + "cocos/base/csscolorparser.h", + "cocos/base/etc1.cpp", + "cocos/base/etc1.h", + "cocos/base/etc2.cpp", + "cocos/base/etc2.h", + "cocos/base/job-system/JobSystem.h", + "cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp", + "cocos/base/job-system/job-system-taskflow/TFJobGraph.h", + "cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp", + "cocos/base/job-system/job-system-taskflow/TFJobSystem.h", + "cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp", + "cocos/base/job-system/job-system-tbb/TBBJobGraph.h", + "cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp", + "cocos/base/job-system/job-system-tbb/TBBJobSystem.h", + "cocos/base/memory/AllocatedObj.cpp", + "cocos/base/memory/AllocatedObj.h", + "cocos/base/memory/JeAlloc.cpp", + "cocos/base/memory/JeAlloc.h", + "cocos/base/memory/MemDef.h", + "cocos/base/memory/MemTracker.cpp", + "cocos/base/memory/MemTracker.h", + "cocos/base/memory/Memory.cpp", + "cocos/base/memory/Memory.h", + "cocos/base/memory/NedPooling.cpp", + "cocos/base/memory/NedPooling.h", + "cocos/base/memory/StdAlloc.h", + "cocos/base/memory/StlAlloc.h", + "cocos/base/threading/ConditionVariable.cpp", + "cocos/base/threading/ConditionVariable.h", + "cocos/base/threading/Event.h", + "cocos/base/threading/MessageQueue.cpp", + "cocos/base/threading/MessageQueue.h", + "cocos/base/threading/ReadWriteLock.h", + "cocos/base/threading/Semaphore.cpp", + "cocos/base/threading/Semaphore.h", + "cocos/base/threading/ThreadPool.cpp", + "cocos/base/threading/ThreadPool.h", + "cocos/base/threading/ThreadSafeCounter.h", + "cocos/base/threading/ThreadSafeLinearAllocator.cpp", + "cocos/base/threading/ThreadSafeLinearAllocator.h", + "cocos/base/uthash.h", + "cocos/editor-support/IOBuffer.cpp", + "cocos/editor-support/IOBuffer.h", + "cocos/editor-support/IOTypedArray.cpp", + "cocos/editor-support/IOTypedArray.h", + "cocos/editor-support/MeshBuffer.cpp", + "cocos/editor-support/MeshBuffer.h", + "cocos/editor-support/MiddlewareMacro.h", + "cocos/editor-support/MiddlewareManager.cpp", + "cocos/editor-support/MiddlewareManager.h", + "cocos/editor-support/SharedBufferManager.cpp", + "cocos/editor-support/SharedBufferManager.h", + "cocos/editor-support/TypedArrayPool.cpp", + "cocos/editor-support/TypedArrayPool.h", + "cocos/editor-support/dragonbones-creator-support/ArmatureCache.cpp", + "cocos/editor-support/dragonbones-creator-support/ArmatureCache.h", + "cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.cpp", + "cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.h", + "cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp", + "cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.h", + "cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp", + "cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h", + "cocos/editor-support/dragonbones-creator-support/CCDragonBonesHeaders.h", + "cocos/editor-support/dragonbones-creator-support/CCFactory.cpp", + "cocos/editor-support/dragonbones-creator-support/CCFactory.h", + "cocos/editor-support/dragonbones-creator-support/CCSlot.cpp", + "cocos/editor-support/dragonbones-creator-support/CCSlot.h", + "cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.cpp", + "cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.h", + "cocos/editor-support/dragonbones/DragonBonesHeaders.h", + "cocos/editor-support/dragonbones/animation/Animation.cpp", + "cocos/editor-support/dragonbones/animation/Animation.h", + "cocos/editor-support/dragonbones/animation/AnimationState.cpp", + "cocos/editor-support/dragonbones/animation/AnimationState.h", + "cocos/editor-support/dragonbones/animation/BaseTimelineState.cpp", + "cocos/editor-support/dragonbones/animation/BaseTimelineState.h", + "cocos/editor-support/dragonbones/animation/IAnimatable.h", + "cocos/editor-support/dragonbones/animation/TimelineState.cpp", + "cocos/editor-support/dragonbones/animation/TimelineState.h", + "cocos/editor-support/dragonbones/animation/WorldClock.cpp", + "cocos/editor-support/dragonbones/animation/WorldClock.h", + "cocos/editor-support/dragonbones/armature/Armature.cpp", + "cocos/editor-support/dragonbones/armature/Armature.h", + "cocos/editor-support/dragonbones/armature/Bone.cpp", + "cocos/editor-support/dragonbones/armature/Bone.h", + "cocos/editor-support/dragonbones/armature/Constraint.cpp", + "cocos/editor-support/dragonbones/armature/Constraint.h", + "cocos/editor-support/dragonbones/armature/DeformVertices.cpp", + "cocos/editor-support/dragonbones/armature/DeformVertices.h", + "cocos/editor-support/dragonbones/armature/IArmatureProxy.h", + "cocos/editor-support/dragonbones/armature/Slot.cpp", + "cocos/editor-support/dragonbones/armature/Slot.h", + "cocos/editor-support/dragonbones/armature/TransformObject.cpp", + "cocos/editor-support/dragonbones/armature/TransformObject.h", + "cocos/editor-support/dragonbones/core/BaseObject.cpp", + "cocos/editor-support/dragonbones/core/BaseObject.h", + "cocos/editor-support/dragonbones/core/DragonBones.cpp", + "cocos/editor-support/dragonbones/core/DragonBones.h", + "cocos/editor-support/dragonbones/event/EventObject.cpp", + "cocos/editor-support/dragonbones/event/EventObject.h", + "cocos/editor-support/dragonbones/event/IEventDispatcher.h", + "cocos/editor-support/dragonbones/factory/BaseFactory.cpp", + "cocos/editor-support/dragonbones/factory/BaseFactory.h", + "cocos/editor-support/dragonbones/geom/ColorTransform.h", + "cocos/editor-support/dragonbones/geom/Matrix.h", + "cocos/editor-support/dragonbones/geom/Point.cpp", + "cocos/editor-support/dragonbones/geom/Point.h", + "cocos/editor-support/dragonbones/geom/Rectangle.h", + "cocos/editor-support/dragonbones/geom/Transform.cpp", + "cocos/editor-support/dragonbones/geom/Transform.h", + "cocos/editor-support/dragonbones/model/AnimationConfig.cpp", + "cocos/editor-support/dragonbones/model/AnimationConfig.h", + "cocos/editor-support/dragonbones/model/AnimationData.cpp", + "cocos/editor-support/dragonbones/model/AnimationData.h", + "cocos/editor-support/dragonbones/model/ArmatureData.cpp", + "cocos/editor-support/dragonbones/model/ArmatureData.h", + "cocos/editor-support/dragonbones/model/BoundingBoxData.cpp", + "cocos/editor-support/dragonbones/model/BoundingBoxData.h", + "cocos/editor-support/dragonbones/model/CanvasData.cpp", + "cocos/editor-support/dragonbones/model/CanvasData.h", + "cocos/editor-support/dragonbones/model/ConstraintData.cpp", + "cocos/editor-support/dragonbones/model/ConstraintData.h", + "cocos/editor-support/dragonbones/model/DisplayData.cpp", + "cocos/editor-support/dragonbones/model/DisplayData.h", + "cocos/editor-support/dragonbones/model/DragonBonesData.cpp", + "cocos/editor-support/dragonbones/model/DragonBonesData.h", + "cocos/editor-support/dragonbones/model/SkinData.cpp", + "cocos/editor-support/dragonbones/model/SkinData.h", + "cocos/editor-support/dragonbones/model/TextureAtlasData.cpp", + "cocos/editor-support/dragonbones/model/TextureAtlasData.h", + "cocos/editor-support/dragonbones/model/UserData.cpp", + "cocos/editor-support/dragonbones/model/UserData.h", + "cocos/editor-support/dragonbones/parser/BinaryDataParser.cpp", + "cocos/editor-support/dragonbones/parser/BinaryDataParser.h", + "cocos/editor-support/dragonbones/parser/DataParser.cpp", + "cocos/editor-support/dragonbones/parser/DataParser.h", + "cocos/editor-support/dragonbones/parser/JSONDataParser.cpp", + "cocos/editor-support/dragonbones/parser/JSONDataParser.h", + "cocos/editor-support/middleware-adapter.cpp", + "cocos/editor-support/middleware-adapter.h", + "cocos/editor-support/spine-creator-support/AttachmentVertices.cpp", + "cocos/editor-support/spine-creator-support/AttachmentVertices.h", + "cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp", + "cocos/editor-support/spine-creator-support/SkeletonAnimation.h", + "cocos/editor-support/spine-creator-support/SkeletonCache.cpp", + "cocos/editor-support/spine-creator-support/SkeletonCache.h", + "cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp", + "cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.h", + "cocos/editor-support/spine-creator-support/SkeletonCacheMgr.cpp", + "cocos/editor-support/spine-creator-support/SkeletonCacheMgr.h", + "cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp", + "cocos/editor-support/spine-creator-support/SkeletonDataMgr.h", + "cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp", + "cocos/editor-support/spine-creator-support/SkeletonRenderer.h", + "cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp", + "cocos/editor-support/spine-creator-support/VertexEffectDelegate.h", + "cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp", + "cocos/editor-support/spine-creator-support/spine-cocos2dx.h", + "cocos/editor-support/spine/Animation.cpp", + "cocos/editor-support/spine/Animation.h", + "cocos/editor-support/spine/AnimationState.cpp", + "cocos/editor-support/spine/AnimationState.h", + "cocos/editor-support/spine/AnimationStateData.cpp", + "cocos/editor-support/spine/AnimationStateData.h", + "cocos/editor-support/spine/Atlas.cpp", + "cocos/editor-support/spine/Atlas.h", + "cocos/editor-support/spine/AtlasAttachmentLoader.cpp", + "cocos/editor-support/spine/AtlasAttachmentLoader.h", + "cocos/editor-support/spine/Attachment.cpp", + "cocos/editor-support/spine/Attachment.h", + "cocos/editor-support/spine/AttachmentLoader.cpp", + "cocos/editor-support/spine/AttachmentLoader.h", + "cocos/editor-support/spine/AttachmentTimeline.cpp", + "cocos/editor-support/spine/AttachmentTimeline.h", + "cocos/editor-support/spine/AttachmentType.h", + "cocos/editor-support/spine/BlendMode.h", + "cocos/editor-support/spine/Bone.cpp", + "cocos/editor-support/spine/Bone.h", + "cocos/editor-support/spine/BoneData.cpp", + "cocos/editor-support/spine/BoneData.h", + "cocos/editor-support/spine/BoundingBoxAttachment.cpp", + "cocos/editor-support/spine/BoundingBoxAttachment.h", + "cocos/editor-support/spine/ClippingAttachment.cpp", + "cocos/editor-support/spine/ClippingAttachment.h", + "cocos/editor-support/spine/Color.h", + "cocos/editor-support/spine/ColorTimeline.cpp", + "cocos/editor-support/spine/ColorTimeline.h", + "cocos/editor-support/spine/Constraint.cpp", + "cocos/editor-support/spine/Constraint.h", + "cocos/editor-support/spine/ConstraintData.cpp", + "cocos/editor-support/spine/ConstraintData.h", + "cocos/editor-support/spine/ContainerUtil.h", + "cocos/editor-support/spine/CurveTimeline.cpp", + "cocos/editor-support/spine/CurveTimeline.h", + "cocos/editor-support/spine/Debug.h", + "cocos/editor-support/spine/DeformTimeline.cpp", + "cocos/editor-support/spine/DeformTimeline.h", + "cocos/editor-support/spine/DrawOrderTimeline.cpp", + "cocos/editor-support/spine/DrawOrderTimeline.h", + "cocos/editor-support/spine/Event.cpp", + "cocos/editor-support/spine/Event.h", + "cocos/editor-support/spine/EventData.cpp", + "cocos/editor-support/spine/EventData.h", + "cocos/editor-support/spine/EventTimeline.cpp", + "cocos/editor-support/spine/EventTimeline.h", + "cocos/editor-support/spine/Extension.cpp", + "cocos/editor-support/spine/Extension.h", + "cocos/editor-support/spine/HasRendererObject.h", + "cocos/editor-support/spine/HashMap.h", + "cocos/editor-support/spine/IkConstraint.cpp", + "cocos/editor-support/spine/IkConstraint.h", + "cocos/editor-support/spine/IkConstraintData.cpp", + "cocos/editor-support/spine/IkConstraintData.h", + "cocos/editor-support/spine/IkConstraintTimeline.cpp", + "cocos/editor-support/spine/IkConstraintTimeline.h", + "cocos/editor-support/spine/Json.cpp", + "cocos/editor-support/spine/Json.h", + "cocos/editor-support/spine/LinkedMesh.cpp", + "cocos/editor-support/spine/LinkedMesh.h", + "cocos/editor-support/spine/MathUtil.cpp", + "cocos/editor-support/spine/MathUtil.h", + "cocos/editor-support/spine/MeshAttachment.cpp", + "cocos/editor-support/spine/MeshAttachment.h", + "cocos/editor-support/spine/MixBlend.h", + "cocos/editor-support/spine/MixDirection.h", + "cocos/editor-support/spine/PathAttachment.cpp", + "cocos/editor-support/spine/PathAttachment.h", + "cocos/editor-support/spine/PathConstraint.cpp", + "cocos/editor-support/spine/PathConstraint.h", + "cocos/editor-support/spine/PathConstraintData.cpp", + "cocos/editor-support/spine/PathConstraintData.h", + "cocos/editor-support/spine/PathConstraintMixTimeline.cpp", + "cocos/editor-support/spine/PathConstraintMixTimeline.h", + "cocos/editor-support/spine/PathConstraintPositionTimeline.cpp", + "cocos/editor-support/spine/PathConstraintPositionTimeline.h", + "cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp", + "cocos/editor-support/spine/PathConstraintSpacingTimeline.h", + "cocos/editor-support/spine/PointAttachment.cpp", + "cocos/editor-support/spine/PointAttachment.h", + "cocos/editor-support/spine/Pool.h", + "cocos/editor-support/spine/PositionMode.h", + "cocos/editor-support/spine/RTTI.cpp", + "cocos/editor-support/spine/RTTI.h", + "cocos/editor-support/spine/RegionAttachment.cpp", + "cocos/editor-support/spine/RegionAttachment.h", + "cocos/editor-support/spine/RotateMode.h", + "cocos/editor-support/spine/RotateTimeline.cpp", + "cocos/editor-support/spine/RotateTimeline.h", + "cocos/editor-support/spine/ScaleTimeline.cpp", + "cocos/editor-support/spine/ScaleTimeline.h", + "cocos/editor-support/spine/ShearTimeline.cpp", + "cocos/editor-support/spine/ShearTimeline.h", + "cocos/editor-support/spine/Skeleton.cpp", + "cocos/editor-support/spine/Skeleton.h", + "cocos/editor-support/spine/SkeletonBinary.cpp", + "cocos/editor-support/spine/SkeletonBinary.h", + "cocos/editor-support/spine/SkeletonBounds.cpp", + "cocos/editor-support/spine/SkeletonBounds.h", + "cocos/editor-support/spine/SkeletonClipping.cpp", + "cocos/editor-support/spine/SkeletonClipping.h", + "cocos/editor-support/spine/SkeletonData.cpp", + "cocos/editor-support/spine/SkeletonData.h", + "cocos/editor-support/spine/SkeletonJson.cpp", + "cocos/editor-support/spine/SkeletonJson.h", + "cocos/editor-support/spine/Skin.cpp", + "cocos/editor-support/spine/Skin.h", + "cocos/editor-support/spine/Slot.cpp", + "cocos/editor-support/spine/Slot.h", + "cocos/editor-support/spine/SlotData.cpp", + "cocos/editor-support/spine/SlotData.h", + "cocos/editor-support/spine/SpacingMode.h", + "cocos/editor-support/spine/SpineObject.cpp", + "cocos/editor-support/spine/SpineObject.h", + "cocos/editor-support/spine/SpineString.h", + "cocos/editor-support/spine/TextureLoader.cpp", + "cocos/editor-support/spine/TextureLoader.h", + "cocos/editor-support/spine/Timeline.cpp", + "cocos/editor-support/spine/Timeline.h", + "cocos/editor-support/spine/TimelineType.h", + "cocos/editor-support/spine/TransformConstraint.cpp", + "cocos/editor-support/spine/TransformConstraint.h", + "cocos/editor-support/spine/TransformConstraintData.cpp", + "cocos/editor-support/spine/TransformConstraintData.h", + "cocos/editor-support/spine/TransformConstraintTimeline.cpp", + "cocos/editor-support/spine/TransformConstraintTimeline.h", + "cocos/editor-support/spine/TransformMode.h", + "cocos/editor-support/spine/TranslateTimeline.cpp", + "cocos/editor-support/spine/TranslateTimeline.h", + "cocos/editor-support/spine/Triangulator.cpp", + "cocos/editor-support/spine/Triangulator.h", + "cocos/editor-support/spine/TwoColorTimeline.cpp", + "cocos/editor-support/spine/TwoColorTimeline.h", + "cocos/editor-support/spine/Updatable.cpp", + "cocos/editor-support/spine/Updatable.h", + "cocos/editor-support/spine/Vector.h", + "cocos/editor-support/spine/VertexAttachment.cpp", + "cocos/editor-support/spine/VertexAttachment.h", + "cocos/editor-support/spine/VertexEffect.cpp", + "cocos/editor-support/spine/VertexEffect.h", + "cocos/editor-support/spine/Vertices.h", + "cocos/editor-support/spine/dll.h", + "cocos/editor-support/spine/spine.h", + "cocos/math/Geometry.cpp", + "cocos/math/Geometry.h", + "cocos/math/Mat3.cpp", + "cocos/math/Mat3.h", + "cocos/math/Mat4.cpp", + "cocos/math/Mat4.h", + "cocos/math/Mat4.inl", + "cocos/math/Math.cpp", + "cocos/math/Math.h", + "cocos/math/MathBase.h", + "cocos/math/MathUtil.cpp", + "cocos/math/MathUtil.h", + "cocos/math/MathUtil.inl", + "cocos/math/MathUtilNeon.inl", + "cocos/math/MathUtilNeon64.inl", + "cocos/math/MathUtilSSE.inl", + "cocos/math/Quaternion.cpp", + "cocos/math/Quaternion.h", + "cocos/math/Quaternion.inl", + "cocos/math/Vec2.cpp", + "cocos/math/Vec2.h", + "cocos/math/Vec2.inl", + "cocos/math/Vec3.cpp", + "cocos/math/Vec3.h", + "cocos/math/Vec3.inl", + "cocos/math/Vec4.cpp", + "cocos/math/Vec4.h", + "cocos/math/Vec4.inl", + "cocos/math/Vertex.cpp", + "cocos/math/Vertex.h", + "cocos/network/Downloader-android.cpp", + "cocos/network/Downloader-android.h", + "cocos/network/Downloader-curl.cpp", + "cocos/network/Downloader-curl.h", + "cocos/network/Downloader.cpp", + "cocos/network/Downloader.h", + "cocos/network/DownloaderImpl-apple.h", + "cocos/network/DownloaderImpl-apple.mm", + "cocos/network/DownloaderImpl.h", + "cocos/network/HttpAsynConnection-apple.h", + "cocos/network/HttpAsynConnection-apple.m", + "cocos/network/HttpClient-android.cpp", + "cocos/network/HttpClient-apple.mm", + "cocos/network/HttpClient.cpp", + "cocos/network/HttpClient.h", + "cocos/network/HttpCookie.cpp", + "cocos/network/HttpCookie.h", + "cocos/network/HttpRequest.h", + "cocos/network/HttpResponse.h", + "cocos/network/SocketIO.cpp", + "cocos/network/SocketIO.h", + "cocos/network/Uri.cpp", + "cocos/network/Uri.h", + "cocos/network/WebSocket-apple.mm", + "cocos/network/WebSocket-libwebsockets.cpp", + "cocos/network/WebSocket.h", + "cocos/network/WebSocketServer.cpp", + "cocos/network/WebSocketServer.h", + "cocos/platform/Application.cpp", + "cocos/platform/Application.h", + "cocos/platform/CanvasRenderingContext2D.h", + "cocos/platform/Device.h", + "cocos/platform/FileUtils.cpp", + "cocos/platform/FileUtils.h", + "cocos/platform/Image.cpp", + "cocos/platform/Image.h", + "cocos/platform/SAXParser.cpp", + "cocos/platform/SAXParser.h", + "cocos/platform/StdC.h", + "cocos/platform/android/Application-android.cpp", + "cocos/platform/android/CanvasRenderingContext2D-android.cpp", + "cocos/platform/android/Device-android.cpp", + "cocos/platform/android/FileUtils-android.cpp", + "cocos/platform/android/FileUtils-android.h", + "cocos/platform/android/View.cpp", + "cocos/platform/android/View.h", + "cocos/platform/android/java/.classpath", + "cocos/platform/android/java/.project", + "cocos/platform/android/java/AndroidManifest.xml", + "cocos/platform/android/java/build.xml", + "cocos/platform/android/java/libs/", + "cocos/platform/android/java/libs/com.android.vending.expansion.zipfile.jar", + "cocos/platform/android/java/libs/okhttp-3.12.7.jar", + "cocos/platform/android/java/libs/okio-1.15.0.jar", + "cocos/platform/android/java/proguard-project.txt", + "cocos/platform/android/java/project.properties", + "cocos/platform/android/java/src/com/cocos/lib/CanvasRenderingContext2DImpl.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosActivity.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosDownloader.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosEditBoxActivity.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosHandler.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosHttpURLConnection.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosJavascriptJavaBridge.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosKeyCodeHandler.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosLocalStorage.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosNativeActivity.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosOrientationHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosReflectionHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosSensorHandler.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosSurfaceView.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosTouchHandler.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosVideoHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosWebView.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosWebViewHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/GlobalObject.java", + "cocos/platform/android/java/src/com/cocos/lib/Utils.java", + "cocos/platform/android/jni/JniCocosActivity.cpp", + "cocos/platform/android/jni/JniCocosActivity.h", + "cocos/platform/android/jni/JniCocosKeyCodeHandler.cpp", + "cocos/platform/android/jni/JniCocosOrientationHelper.cpp", + "cocos/platform/android/jni/JniCocosSurfaceView.cpp", + "cocos/platform/android/jni/JniCocosTouchHandler.cpp", + "cocos/platform/android/jni/JniHelper.cpp", + "cocos/platform/android/jni/JniHelper.h", + "cocos/platform/android/jni/JniImp.cpp", + "cocos/platform/android/jni/JniImp.h", + "cocos/platform/android/libcocos2dx/AndroidManifest.xml", + "cocos/platform/android/libcocos2dx/build.gradle", + "cocos/platform/android/libcocos2dx/proguard-rules.pro", + "cocos/platform/android/libcocos2dx/src/main/res/values-zh-rCN/strings.xml", + "cocos/platform/android/libcocos2dx/src/main/res/values/strings.xml", + "cocos/platform/apple/CanvasRenderingContext2D-apple.mm", + "cocos/platform/apple/Device-apple.h", + "cocos/platform/apple/Device-apple.mm", + "cocos/platform/apple/FileUtils-apple.h", + "cocos/platform/apple/FileUtils-apple.mm", + "cocos/platform/ios/Application-ios.mm", + "cocos/platform/ios/Device-ios.mm", + "cocos/platform/ios/Reachability.cpp", + "cocos/platform/ios/Reachability.h", + "cocos/platform/ios/View.h", + "cocos/platform/ios/View.mm", + "cocos/platform/mac/Application-mac.mm", + "cocos/platform/mac/Device-mac.mm", + "cocos/platform/mac/KeyCodeHelper.cpp", + "cocos/platform/mac/KeyCodeHelper.h", + "cocos/platform/mac/View.h", + "cocos/platform/mac/View.mm", + "cocos/platform/mac/cocos2d-prefix.pch", + "cocos/platform/win32/Application-win32.cpp", + "cocos/platform/win32/CanvasRenderingContext2D-win32.cpp", + "cocos/platform/win32/Device-win32.cpp", + "cocos/platform/win32/FileUtils-win32.cpp", + "cocos/platform/win32/FileUtils-win32.h", + "cocos/platform/win32/Utils-win32.cpp", + "cocos/platform/win32/Utils-win32.h", + "cocos/platform/win32/View-win32.cpp", + "cocos/platform/win32/View-win32.h", + "cocos/platform/win32/compat/stdint.h", + "cocos/platform/win32/inet_pton_mingw.cpp", + "cocos/platform/win32/inet_pton_mingw.h", + "cocos/renderer/GFXDeviceManager.h", + "cocos/renderer/frame-graph/Blackboard.h", + "cocos/renderer/frame-graph/CallbackPass.h", + "cocos/renderer/frame-graph/DevicePass.cpp", + "cocos/renderer/frame-graph/DevicePass.h", + "cocos/renderer/frame-graph/DevicePassResourceTable.cpp", + "cocos/renderer/frame-graph/DevicePassResourceTable.h", + "cocos/renderer/frame-graph/FrameGraph.cpp", + "cocos/renderer/frame-graph/FrameGraph.h", + "cocos/renderer/frame-graph/Handle.h", + "cocos/renderer/frame-graph/PassInsertPointManager.cpp", + "cocos/renderer/frame-graph/PassInsertPointManager.h", + "cocos/renderer/frame-graph/PassNode.cpp", + "cocos/renderer/frame-graph/PassNode.h", + "cocos/renderer/frame-graph/PassNodeBuilder.cpp", + "cocos/renderer/frame-graph/PassNodeBuilder.h", + "cocos/renderer/frame-graph/RenderTargetAttachment.h", + "cocos/renderer/frame-graph/Resource.h", + "cocos/renderer/frame-graph/ResourceAllocator.h", + "cocos/renderer/frame-graph/ResourceEntry.h", + "cocos/renderer/frame-graph/ResourceNode.h", + "cocos/renderer/frame-graph/VirtualResource.cpp", + "cocos/renderer/frame-graph/VirtualResource.h", + "cocos/renderer/gfx-agent/BufferAgent.cpp", + "cocos/renderer/gfx-agent/BufferAgent.h", + "cocos/renderer/gfx-agent/CommandBufferAgent.cpp", + "cocos/renderer/gfx-agent/CommandBufferAgent.h", + "cocos/renderer/gfx-agent/DescriptorSetAgent.cpp", + "cocos/renderer/gfx-agent/DescriptorSetAgent.h", + "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp", + "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h", + "cocos/renderer/gfx-agent/DeviceAgent.cpp", + "cocos/renderer/gfx-agent/DeviceAgent.h", + "cocos/renderer/gfx-agent/FramebufferAgent.cpp", + "cocos/renderer/gfx-agent/FramebufferAgent.h", + "cocos/renderer/gfx-agent/InputAssemblerAgent.cpp", + "cocos/renderer/gfx-agent/InputAssemblerAgent.h", + "cocos/renderer/gfx-agent/LinearAllocatorPool.h", + "cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp", + "cocos/renderer/gfx-agent/PipelineLayoutAgent.h", + "cocos/renderer/gfx-agent/PipelineStateAgent.cpp", + "cocos/renderer/gfx-agent/PipelineStateAgent.h", + "cocos/renderer/gfx-agent/QueueAgent.cpp", + "cocos/renderer/gfx-agent/QueueAgent.h", + "cocos/renderer/gfx-agent/RenderPassAgent.cpp", + "cocos/renderer/gfx-agent/RenderPassAgent.h", + "cocos/renderer/gfx-agent/SamplerAgent.cpp", + "cocos/renderer/gfx-agent/SamplerAgent.h", + "cocos/renderer/gfx-agent/ShaderAgent.cpp", + "cocos/renderer/gfx-agent/ShaderAgent.h", + "cocos/renderer/gfx-agent/TextureAgent.cpp", + "cocos/renderer/gfx-agent/TextureAgent.h", + "cocos/renderer/gfx-base/GFXBase.h", + "cocos/renderer/gfx-base/GFXBuffer.cpp", + "cocos/renderer/gfx-base/GFXBuffer.h", + "cocos/renderer/gfx-base/GFXCommandBuffer.cpp", + "cocos/renderer/gfx-base/GFXCommandBuffer.h", + "cocos/renderer/gfx-base/GFXContext.cpp", + "cocos/renderer/gfx-base/GFXContext.h", + "cocos/renderer/gfx-base/GFXDef-common.h", + "cocos/renderer/gfx-base/GFXDef.cpp", + "cocos/renderer/gfx-base/GFXDef.h", + "cocos/renderer/gfx-base/GFXDescriptorSet.cpp", + "cocos/renderer/gfx-base/GFXDescriptorSet.h", + "cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp", + "cocos/renderer/gfx-base/GFXDescriptorSetLayout.h", + "cocos/renderer/gfx-base/GFXDevice.cpp", + "cocos/renderer/gfx-base/GFXDevice.h", + "cocos/renderer/gfx-base/GFXFramebuffer.cpp", + "cocos/renderer/gfx-base/GFXFramebuffer.h", + "cocos/renderer/gfx-base/GFXGlobalBarrier.cpp", + "cocos/renderer/gfx-base/GFXGlobalBarrier.h", + "cocos/renderer/gfx-base/GFXInputAssembler.cpp", + "cocos/renderer/gfx-base/GFXInputAssembler.h", + "cocos/renderer/gfx-base/GFXObject.cpp", + "cocos/renderer/gfx-base/GFXObject.h", + "cocos/renderer/gfx-base/GFXPipelineLayout.cpp", + "cocos/renderer/gfx-base/GFXPipelineLayout.h", + "cocos/renderer/gfx-base/GFXPipelineState.cpp", + "cocos/renderer/gfx-base/GFXPipelineState.h", + "cocos/renderer/gfx-base/GFXQueue.cpp", + "cocos/renderer/gfx-base/GFXQueue.h", + "cocos/renderer/gfx-base/GFXRenderPass.cpp", + "cocos/renderer/gfx-base/GFXRenderPass.h", + "cocos/renderer/gfx-base/GFXSampler.cpp", + "cocos/renderer/gfx-base/GFXSampler.h", + "cocos/renderer/gfx-base/GFXShader.cpp", + "cocos/renderer/gfx-base/GFXShader.h", + "cocos/renderer/gfx-base/GFXTexture.cpp", + "cocos/renderer/gfx-base/GFXTexture.h", + "cocos/renderer/gfx-base/GFXTextureBarrier.cpp", + "cocos/renderer/gfx-base/GFXTextureBarrier.h", + "cocos/renderer/gfx-empty/EmptyBuffer.cpp", + "cocos/renderer/gfx-empty/EmptyBuffer.h", + "cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp", + "cocos/renderer/gfx-empty/EmptyCommandBuffer.h", + "cocos/renderer/gfx-empty/EmptyContext.cpp", + "cocos/renderer/gfx-empty/EmptyContext.h", + "cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp", + "cocos/renderer/gfx-empty/EmptyDescriptorSet.h", + "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp", + "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h", + "cocos/renderer/gfx-empty/EmptyDevice.cpp", + "cocos/renderer/gfx-empty/EmptyDevice.h", + "cocos/renderer/gfx-empty/EmptyFramebuffer.cpp", + "cocos/renderer/gfx-empty/EmptyFramebuffer.h", + "cocos/renderer/gfx-empty/EmptyInputAssembler.cpp", + "cocos/renderer/gfx-empty/EmptyInputAssembler.h", + "cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp", + "cocos/renderer/gfx-empty/EmptyPipelineLayout.h", + "cocos/renderer/gfx-empty/EmptyPipelineState.cpp", + "cocos/renderer/gfx-empty/EmptyPipelineState.h", + "cocos/renderer/gfx-empty/EmptyQueue.cpp", + "cocos/renderer/gfx-empty/EmptyQueue.h", + "cocos/renderer/gfx-empty/EmptyRenderPass.cpp", + "cocos/renderer/gfx-empty/EmptyRenderPass.h", + "cocos/renderer/gfx-empty/EmptySampler.cpp", + "cocos/renderer/gfx-empty/EmptySampler.h", + "cocos/renderer/gfx-empty/EmptyShader.cpp", + "cocos/renderer/gfx-empty/EmptyShader.h", + "cocos/renderer/gfx-empty/EmptyTexture.cpp", + "cocos/renderer/gfx-empty/EmptyTexture.h", + "cocos/renderer/gfx-gles-common/GLESCommandPool.h", + "cocos/renderer/gfx-gles-common/eglw.cpp", + "cocos/renderer/gfx-gles-common/eglw.h", + "cocos/renderer/gfx-gles-common/gles2w.cpp", + "cocos/renderer/gfx-gles-common/gles2w.h", + "cocos/renderer/gfx-gles-common/gles3w.cpp", + "cocos/renderer/gfx-gles-common/gles3w.h", + "cocos/renderer/gfx-gles2/GFXGLES2.h", + "cocos/renderer/gfx-gles2/GLES2Buffer.cpp", + "cocos/renderer/gfx-gles2/GLES2Buffer.h", + "cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp", + "cocos/renderer/gfx-gles2/GLES2CommandBuffer.h", + "cocos/renderer/gfx-gles2/GLES2Commands.cpp", + "cocos/renderer/gfx-gles2/GLES2Commands.h", + "cocos/renderer/gfx-gles2/GLES2Context.cpp", + "cocos/renderer/gfx-gles2/GLES2Context.h", + "cocos/renderer/gfx-gles2/GLES2Context.mm", + "cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp", + "cocos/renderer/gfx-gles2/GLES2DescriptorSet.h", + "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp", + "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h", + "cocos/renderer/gfx-gles2/GLES2Device.cpp", + "cocos/renderer/gfx-gles2/GLES2Device.h", + "cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp", + "cocos/renderer/gfx-gles2/GLES2Framebuffer.h", + "cocos/renderer/gfx-gles2/GLES2GPUObjects.h", + "cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp", + "cocos/renderer/gfx-gles2/GLES2InputAssembler.h", + "cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp", + "cocos/renderer/gfx-gles2/GLES2PipelineLayout.h", + "cocos/renderer/gfx-gles2/GLES2PipelineState.cpp", + "cocos/renderer/gfx-gles2/GLES2PipelineState.h", + "cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp", + "cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h", + "cocos/renderer/gfx-gles2/GLES2Queue.cpp", + "cocos/renderer/gfx-gles2/GLES2Queue.h", + "cocos/renderer/gfx-gles2/GLES2RenderPass.cpp", + "cocos/renderer/gfx-gles2/GLES2RenderPass.h", + "cocos/renderer/gfx-gles2/GLES2Sampler.cpp", + "cocos/renderer/gfx-gles2/GLES2Sampler.h", + "cocos/renderer/gfx-gles2/GLES2Shader.cpp", + "cocos/renderer/gfx-gles2/GLES2Shader.h", + "cocos/renderer/gfx-gles2/GLES2Std.cpp", + "cocos/renderer/gfx-gles2/GLES2Std.h", + "cocos/renderer/gfx-gles2/GLES2Texture.cpp", + "cocos/renderer/gfx-gles2/GLES2Texture.h", + "cocos/renderer/gfx-gles2/GLES2Wrangler.cpp", + "cocos/renderer/gfx-gles2/GLES2Wrangler.h", + "cocos/renderer/gfx-gles2/GLES2Wrangler.mm", + "cocos/renderer/gfx-gles3/GFXGLES3.h", + "cocos/renderer/gfx-gles3/GLES3Buffer.cpp", + "cocos/renderer/gfx-gles3/GLES3Buffer.h", + "cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp", + "cocos/renderer/gfx-gles3/GLES3CommandBuffer.h", + "cocos/renderer/gfx-gles3/GLES3Commands.cpp", + "cocos/renderer/gfx-gles3/GLES3Commands.h", + "cocos/renderer/gfx-gles3/GLES3Context.cpp", + "cocos/renderer/gfx-gles3/GLES3Context.h", + "cocos/renderer/gfx-gles3/GLES3Context.mm", + "cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp", + "cocos/renderer/gfx-gles3/GLES3DescriptorSet.h", + "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp", + "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h", + "cocos/renderer/gfx-gles3/GLES3Device.cpp", + "cocos/renderer/gfx-gles3/GLES3Device.h", + "cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp", + "cocos/renderer/gfx-gles3/GLES3Framebuffer.h", + "cocos/renderer/gfx-gles3/GLES3GPUObjects.h", + "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp", + "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h", + "cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp", + "cocos/renderer/gfx-gles3/GLES3InputAssembler.h", + "cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp", + "cocos/renderer/gfx-gles3/GLES3PipelineLayout.h", + "cocos/renderer/gfx-gles3/GLES3PipelineState.cpp", + "cocos/renderer/gfx-gles3/GLES3PipelineState.h", + "cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp", + "cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h", + "cocos/renderer/gfx-gles3/GLES3Queue.cpp", + "cocos/renderer/gfx-gles3/GLES3Queue.h", + "cocos/renderer/gfx-gles3/GLES3RenderPass.cpp", + "cocos/renderer/gfx-gles3/GLES3RenderPass.h", + "cocos/renderer/gfx-gles3/GLES3Sampler.cpp", + "cocos/renderer/gfx-gles3/GLES3Sampler.h", + "cocos/renderer/gfx-gles3/GLES3Shader.cpp", + "cocos/renderer/gfx-gles3/GLES3Shader.h", + "cocos/renderer/gfx-gles3/GLES3Std.cpp", + "cocos/renderer/gfx-gles3/GLES3Std.h", + "cocos/renderer/gfx-gles3/GLES3Texture.cpp", + "cocos/renderer/gfx-gles3/GLES3Texture.h", + "cocos/renderer/gfx-gles3/GLES3Wrangler.cpp", + "cocos/renderer/gfx-gles3/GLES3Wrangler.h", + "cocos/renderer/gfx-gles3/GLES3Wrangler.mm", + "cocos/renderer/gfx-metal/GFXMTL.h", + "cocos/renderer/gfx-metal/MTLBuffer.h", + "cocos/renderer/gfx-metal/MTLBuffer.mm", + "cocos/renderer/gfx-metal/MTLCommandBuffer.h", + "cocos/renderer/gfx-metal/MTLCommandBuffer.mm", + "cocos/renderer/gfx-metal/MTLCommandEncoder.h", + "cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h", + "cocos/renderer/gfx-metal/MTLConfig.h", + "cocos/renderer/gfx-metal/MTLContext.h", + "cocos/renderer/gfx-metal/MTLContext.mm", + "cocos/renderer/gfx-metal/MTLDescriptorSet.h", + "cocos/renderer/gfx-metal/MTLDescriptorSet.mm", + "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h", + "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm", + "cocos/renderer/gfx-metal/MTLDevice.h", + "cocos/renderer/gfx-metal/MTLDevice.mm", + "cocos/renderer/gfx-metal/MTLFramebuffer.h", + "cocos/renderer/gfx-metal/MTLFramebuffer.mm", + "cocos/renderer/gfx-metal/MTLGPUObjects.h", + "cocos/renderer/gfx-metal/MTLInputAssembler.h", + "cocos/renderer/gfx-metal/MTLInputAssembler.mm", + "cocos/renderer/gfx-metal/MTLPipelineLayout.h", + "cocos/renderer/gfx-metal/MTLPipelineLayout.mm", + "cocos/renderer/gfx-metal/MTLPipelineState.h", + "cocos/renderer/gfx-metal/MTLPipelineState.mm", + "cocos/renderer/gfx-metal/MTLQueue.h", + "cocos/renderer/gfx-metal/MTLQueue.mm", + "cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h", + "cocos/renderer/gfx-metal/MTLRenderPass.h", + "cocos/renderer/gfx-metal/MTLRenderPass.mm", + "cocos/renderer/gfx-metal/MTLSampler.h", + "cocos/renderer/gfx-metal/MTLSampler.mm", + "cocos/renderer/gfx-metal/MTLSemaphore.h", + "cocos/renderer/gfx-metal/MTLShader.h", + "cocos/renderer/gfx-metal/MTLShader.mm", + "cocos/renderer/gfx-metal/MTLStd.cpp", + "cocos/renderer/gfx-metal/MTLStd.h", + "cocos/renderer/gfx-metal/MTLTexture.h", + "cocos/renderer/gfx-metal/MTLTexture.mm", + "cocos/renderer/gfx-metal/MTLUtils.h", + "cocos/renderer/gfx-metal/MTLUtils.mm", + "cocos/renderer/gfx-validator/BufferValidator.cpp", + "cocos/renderer/gfx-validator/BufferValidator.h", + "cocos/renderer/gfx-validator/CommandBufferValidator.cpp", + "cocos/renderer/gfx-validator/CommandBufferValidator.h", + "cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp", + "cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h", + "cocos/renderer/gfx-validator/DescriptorSetValidator.cpp", + "cocos/renderer/gfx-validator/DescriptorSetValidator.h", + "cocos/renderer/gfx-validator/DeviceValidator.cpp", + "cocos/renderer/gfx-validator/DeviceValidator.h", + "cocos/renderer/gfx-validator/FramebufferValidator.cpp", + "cocos/renderer/gfx-validator/FramebufferValidator.h", + "cocos/renderer/gfx-validator/InputAssemblerValidator.cpp", + "cocos/renderer/gfx-validator/InputAssemblerValidator.h", + "cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp", + "cocos/renderer/gfx-validator/PipelineLayoutValidator.h", + "cocos/renderer/gfx-validator/PipelineStateValidator.cpp", + "cocos/renderer/gfx-validator/PipelineStateValidator.h", + "cocos/renderer/gfx-validator/QueueValidator.cpp", + "cocos/renderer/gfx-validator/QueueValidator.h", + "cocos/renderer/gfx-validator/RenderPassValidator.cpp", + "cocos/renderer/gfx-validator/RenderPassValidator.h", + "cocos/renderer/gfx-validator/SamplerValidator.cpp", + "cocos/renderer/gfx-validator/SamplerValidator.h", + "cocos/renderer/gfx-validator/ShaderValidator.cpp", + "cocos/renderer/gfx-validator/ShaderValidator.h", + "cocos/renderer/gfx-validator/TextureValidator.cpp", + "cocos/renderer/gfx-validator/TextureValidator.h", + "cocos/renderer/gfx-vulkan/GFXVulkan.h", + "cocos/renderer/gfx-vulkan/VKBuffer.cpp", + "cocos/renderer/gfx-vulkan/VKBuffer.h", + "cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp", + "cocos/renderer/gfx-vulkan/VKCommandBuffer.h", + "cocos/renderer/gfx-vulkan/VKCommands.cpp", + "cocos/renderer/gfx-vulkan/VKCommands.h", + "cocos/renderer/gfx-vulkan/VKContext.cpp", + "cocos/renderer/gfx-vulkan/VKContext.h", + "cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp", + "cocos/renderer/gfx-vulkan/VKDescriptorSet.h", + "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp", + "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h", + "cocos/renderer/gfx-vulkan/VKDevice.cpp", + "cocos/renderer/gfx-vulkan/VKDevice.h", + "cocos/renderer/gfx-vulkan/VKFramebuffer.cpp", + "cocos/renderer/gfx-vulkan/VKFramebuffer.h", + "cocos/renderer/gfx-vulkan/VKGPUObjects.h", + "cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp", + "cocos/renderer/gfx-vulkan/VKGlobalBarrier.h", + "cocos/renderer/gfx-vulkan/VKInputAssembler.cpp", + "cocos/renderer/gfx-vulkan/VKInputAssembler.h", + "cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp", + "cocos/renderer/gfx-vulkan/VKPipelineLayout.h", + "cocos/renderer/gfx-vulkan/VKPipelineState.cpp", + "cocos/renderer/gfx-vulkan/VKPipelineState.h", + "cocos/renderer/gfx-vulkan/VKQueue.cpp", + "cocos/renderer/gfx-vulkan/VKQueue.h", + "cocos/renderer/gfx-vulkan/VKRenderPass.cpp", + "cocos/renderer/gfx-vulkan/VKRenderPass.h", + "cocos/renderer/gfx-vulkan/VKSPIRV.h", + "cocos/renderer/gfx-vulkan/VKSampler.cpp", + "cocos/renderer/gfx-vulkan/VKSampler.h", + "cocos/renderer/gfx-vulkan/VKShader.cpp", + "cocos/renderer/gfx-vulkan/VKShader.h", + "cocos/renderer/gfx-vulkan/VKStd.cpp", + "cocos/renderer/gfx-vulkan/VKStd.h", + "cocos/renderer/gfx-vulkan/VKTexture.cpp", + "cocos/renderer/gfx-vulkan/VKTexture.h", + "cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp", + "cocos/renderer/gfx-vulkan/VKTextureBarrier.h", + "cocos/renderer/gfx-vulkan/VKUtils.h", + "cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h", + "cocos/renderer/gfx-vulkan/vk_mem_alloc.h", + "cocos/renderer/gfx-vulkan/volk.c", + "cocos/renderer/gfx-vulkan/volk.h", + "cocos/renderer/pipeline/BatchedBuffer.cpp", + "cocos/renderer/pipeline/BatchedBuffer.h", + "cocos/renderer/pipeline/Define.cpp", + "cocos/renderer/pipeline/Define.h", + "cocos/renderer/pipeline/InstancedBuffer.cpp", + "cocos/renderer/pipeline/InstancedBuffer.h", + "cocos/renderer/pipeline/PipelineSceneData.cpp", + "cocos/renderer/pipeline/PipelineSceneData.h", + "cocos/renderer/pipeline/PipelineStateManager.cpp", + "cocos/renderer/pipeline/PipelineStateManager.h", + "cocos/renderer/pipeline/PipelineUBO.cpp", + "cocos/renderer/pipeline/PipelineUBO.h", + "cocos/renderer/pipeline/PlanarShadowQueue.cpp", + "cocos/renderer/pipeline/PlanarShadowQueue.h", + "cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp", + "cocos/renderer/pipeline/RenderAdditiveLightQueue.h", + "cocos/renderer/pipeline/RenderBatchedQueue.cpp", + "cocos/renderer/pipeline/RenderBatchedQueue.h", + "cocos/renderer/pipeline/RenderFlow.cpp", + "cocos/renderer/pipeline/RenderFlow.h", + "cocos/renderer/pipeline/RenderInstancedQueue.cpp", + "cocos/renderer/pipeline/RenderInstancedQueue.h", + "cocos/renderer/pipeline/RenderPipeline.cpp", + "cocos/renderer/pipeline/RenderPipeline.h", + "cocos/renderer/pipeline/RenderQueue.cpp", + "cocos/renderer/pipeline/RenderQueue.h", + "cocos/renderer/pipeline/RenderStage.cpp", + "cocos/renderer/pipeline/RenderStage.h", + "cocos/renderer/pipeline/SceneCulling.cpp", + "cocos/renderer/pipeline/SceneCulling.h", + "cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp", + "cocos/renderer/pipeline/ShadowMapBatchedQueue.h", + "cocos/renderer/pipeline/deferred/DeferredPipeline.cpp", + "cocos/renderer/pipeline/deferred/DeferredPipeline.h", + "cocos/renderer/pipeline/deferred/GbufferFlow.cpp", + "cocos/renderer/pipeline/deferred/GbufferFlow.h", + "cocos/renderer/pipeline/deferred/GbufferStage.cpp", + "cocos/renderer/pipeline/deferred/GbufferStage.h", + "cocos/renderer/pipeline/deferred/LightingFlow.cpp", + "cocos/renderer/pipeline/deferred/LightingFlow.h", + "cocos/renderer/pipeline/deferred/LightingStage.cpp", + "cocos/renderer/pipeline/deferred/LightingStage.h", + "cocos/renderer/pipeline/deferred/PostprocessStage.cpp", + "cocos/renderer/pipeline/deferred/PostprocessStage.h", + "cocos/renderer/pipeline/forward/ForwardFlow.cpp", + "cocos/renderer/pipeline/forward/ForwardFlow.h", + "cocos/renderer/pipeline/forward/ForwardPipeline.cpp", + "cocos/renderer/pipeline/forward/ForwardPipeline.h", + "cocos/renderer/pipeline/forward/ForwardStage.cpp", + "cocos/renderer/pipeline/forward/ForwardStage.h", + "cocos/renderer/pipeline/forward/UIPhase.cpp", + "cocos/renderer/pipeline/forward/UIPhase.h", + "cocos/renderer/pipeline/helper/DefineMap.cpp", + "cocos/renderer/pipeline/helper/DefineMap.h", + "cocos/renderer/pipeline/helper/SharedMemory.cpp", + "cocos/renderer/pipeline/helper/SharedMemory.h", + "cocos/renderer/pipeline/shadow/ShadowFlow.cpp", + "cocos/renderer/pipeline/shadow/ShadowFlow.h", + "cocos/renderer/pipeline/shadow/ShadowStage.cpp", + "cocos/renderer/pipeline/shadow/ShadowStage.h", + "cocos/storage/local-storage/LocalStorage-android.cpp", + "cocos/storage/local-storage/LocalStorage.cpp", + "cocos/storage/local-storage/LocalStorage.h", + "cocos/ui/edit-box/EditBox-android.cpp", + "cocos/ui/edit-box/EditBox-ios.mm", + "cocos/ui/edit-box/EditBox-mac.mm", + "cocos/ui/edit-box/EditBox-win32.cpp", + "cocos/ui/edit-box/EditBox.h", + "cocos/ui/videoplayer/VideoPlayer-android.cpp", + "cocos/ui/videoplayer/VideoPlayer-ios.mm", + "cocos/ui/videoplayer/VideoPlayer.h", + "cocos/ui/webview/WebView-inl.h", + "cocos/ui/webview/WebView.h", + "cocos/ui/webview/WebViewImpl-android.cpp", + "cocos/ui/webview/WebViewImpl-android.h", + "cocos/ui/webview/WebViewImpl-ios.h", + "cocos/ui/webview/WebViewImpl-ios.mm", + "extensions/ExtensionExport.h", + "extensions/ExtensionMacros.h", + "extensions/assets-manager/AssetsManagerEx.cpp", + "extensions/assets-manager/AssetsManagerEx.h", + "extensions/assets-manager/AsyncTaskPool.cpp", + "extensions/assets-manager/AsyncTaskPool.h", + "extensions/assets-manager/EventAssetsManagerEx.cpp", + "extensions/assets-manager/EventAssetsManagerEx.h", + "extensions/assets-manager/Manifest.cpp", + "extensions/assets-manager/Manifest.h", + "extensions/cocos-ext.h", + "external/CMakeLists.txt", + "external/android/CMakeLists.txt", + "external/android/arm64-v8a/glslang/libOGLCompiler.a", + "external/android/arm64-v8a/glslang/libOSDependent.a", + "external/android/arm64-v8a/glslang/libSPIRV.a", + "external/android/arm64-v8a/glslang/libglslang-default-resource-limits.a", + "external/android/arm64-v8a/glslang/libglslang.a", + "external/android/arm64-v8a/include/StandAlone/ResourceLimits.h", + "external/android/arm64-v8a/include/StandAlone/resource_limits_c.h", + "external/android/arm64-v8a/include/freetype/config/ftconfig.h", + "external/android/arm64-v8a/include/freetype/config/ftheader.h", + "external/android/arm64-v8a/include/freetype/config/ftmodule.h", + "external/android/arm64-v8a/include/freetype/config/ftoption.h", + "external/android/arm64-v8a/include/freetype/config/ftstdlib.h", + "external/android/arm64-v8a/include/freetype/freetype.h", + "external/android/arm64-v8a/include/freetype/ft2build.h", + "external/android/arm64-v8a/include/freetype/ftadvanc.h", + "external/android/arm64-v8a/include/freetype/ftautoh.h", + "external/android/arm64-v8a/include/freetype/ftbbox.h", + "external/android/arm64-v8a/include/freetype/ftbdf.h", + "external/android/arm64-v8a/include/freetype/ftbitmap.h", + "external/android/arm64-v8a/include/freetype/ftbzip2.h", + "external/android/arm64-v8a/include/freetype/ftcache.h", + "external/android/arm64-v8a/include/freetype/ftcffdrv.h", + "external/android/arm64-v8a/include/freetype/ftchapters.h", + "external/android/arm64-v8a/include/freetype/ftcid.h", + "external/android/arm64-v8a/include/freetype/fterrdef.h", + "external/android/arm64-v8a/include/freetype/fterrors.h", + "external/android/arm64-v8a/include/freetype/ftfntfmt.h", + "external/android/arm64-v8a/include/freetype/ftgasp.h", + "external/android/arm64-v8a/include/freetype/ftglyph.h", + "external/android/arm64-v8a/include/freetype/ftgxval.h", + "external/android/arm64-v8a/include/freetype/ftgzip.h", + "external/android/arm64-v8a/include/freetype/ftimage.h", + "external/android/arm64-v8a/include/freetype/ftincrem.h", + "external/android/arm64-v8a/include/freetype/ftlcdfil.h", + "external/android/arm64-v8a/include/freetype/ftlist.h", + "external/android/arm64-v8a/include/freetype/ftlzw.h", + "external/android/arm64-v8a/include/freetype/ftmac.h", + "external/android/arm64-v8a/include/freetype/ftmm.h", + "external/android/arm64-v8a/include/freetype/ftmodapi.h", + "external/android/arm64-v8a/include/freetype/ftmoderr.h", + "external/android/arm64-v8a/include/freetype/ftotval.h", + "external/android/arm64-v8a/include/freetype/ftoutln.h", + "external/android/arm64-v8a/include/freetype/ftpfr.h", + "external/android/arm64-v8a/include/freetype/ftrender.h", + "external/android/arm64-v8a/include/freetype/ftsizes.h", + "external/android/arm64-v8a/include/freetype/ftsnames.h", + "external/android/arm64-v8a/include/freetype/ftstroke.h", + "external/android/arm64-v8a/include/freetype/ftsynth.h", + "external/android/arm64-v8a/include/freetype/ftsystem.h", + "external/android/arm64-v8a/include/freetype/fttrigon.h", + "external/android/arm64-v8a/include/freetype/ftttdrv.h", + "external/android/arm64-v8a/include/freetype/fttypes.h", + "external/android/arm64-v8a/include/freetype/ftwinfnt.h", + "external/android/arm64-v8a/include/freetype/t1tables.h", + "external/android/arm64-v8a/include/freetype/ttnameid.h", + "external/android/arm64-v8a/include/freetype/tttables.h", + "external/android/arm64-v8a/include/freetype/tttags.h", + "external/android/arm64-v8a/include/freetype/ttunpat.h", + "external/android/arm64-v8a/include/glslang/Include/BaseTypes.h", + "external/android/arm64-v8a/include/glslang/Include/Common.h", + "external/android/arm64-v8a/include/glslang/Include/ConstantUnion.h", + "external/android/arm64-v8a/include/glslang/Include/InfoSink.h", + "external/android/arm64-v8a/include/glslang/Include/InitializeGlobals.h", + "external/android/arm64-v8a/include/glslang/Include/PoolAlloc.h", + "external/android/arm64-v8a/include/glslang/Include/ResourceLimits.h", + "external/android/arm64-v8a/include/glslang/Include/ShHandle.h", + "external/android/arm64-v8a/include/glslang/Include/Types.h", + "external/android/arm64-v8a/include/glslang/Include/arrays.h", + "external/android/arm64-v8a/include/glslang/Include/glslang_c_interface.h", + "external/android/arm64-v8a/include/glslang/Include/glslang_c_shader_types.h", + "external/android/arm64-v8a/include/glslang/Include/intermediate.h", + "external/android/arm64-v8a/include/glslang/Include/revision.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/Initialize.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/Scan.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/ScanContext.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/Versions.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/attribute.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/gl_types.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/iomapper.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/localintermediate.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/parseVersions.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/reflection.h", + "external/android/arm64-v8a/include/glslang/Public/ShaderLang.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.std.450.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GlslangToSpv.h", + "external/android/arm64-v8a/include/glslang/SPIRV/Logger.h", + "external/android/arm64-v8a/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/android/arm64-v8a/include/glslang/SPIRV/SPVRemapper.h", + "external/android/arm64-v8a/include/glslang/SPIRV/SpvBuilder.h", + "external/android/arm64-v8a/include/glslang/SPIRV/SpvTools.h", + "external/android/arm64-v8a/include/glslang/SPIRV/bitutils.h", + "external/android/arm64-v8a/include/glslang/SPIRV/disassemble.h", + "external/android/arm64-v8a/include/glslang/SPIRV/doc.h", + "external/android/arm64-v8a/include/glslang/SPIRV/hex_float.h", + "external/android/arm64-v8a/include/glslang/SPIRV/spirv.hpp", + "external/android/arm64-v8a/include/glslang/SPIRV/spvIR.h", + "external/android/arm64-v8a/include/jpeg/jconfig.h", + "external/android/arm64-v8a/include/jpeg/jerror.h", + "external/android/arm64-v8a/include/jpeg/jmorecfg.h", + "external/android/arm64-v8a/include/jpeg/jpeglib.h", + "external/android/arm64-v8a/include/openssl/aes.h", + "external/android/arm64-v8a/include/openssl/asn1.h", + "external/android/arm64-v8a/include/openssl/asn1_mac.h", + "external/android/arm64-v8a/include/openssl/asn1t.h", + "external/android/arm64-v8a/include/openssl/async.h", + "external/android/arm64-v8a/include/openssl/bio.h", + "external/android/arm64-v8a/include/openssl/blowfish.h", + "external/android/arm64-v8a/include/openssl/bn.h", + "external/android/arm64-v8a/include/openssl/buffer.h", + "external/android/arm64-v8a/include/openssl/camellia.h", + "external/android/arm64-v8a/include/openssl/cast.h", + "external/android/arm64-v8a/include/openssl/cmac.h", + "external/android/arm64-v8a/include/openssl/cms.h", + "external/android/arm64-v8a/include/openssl/comp.h", + "external/android/arm64-v8a/include/openssl/conf.h", + "external/android/arm64-v8a/include/openssl/conf_api.h", + "external/android/arm64-v8a/include/openssl/crypto.h", + "external/android/arm64-v8a/include/openssl/ct.h", + "external/android/arm64-v8a/include/openssl/des.h", + "external/android/arm64-v8a/include/openssl/dh.h", + "external/android/arm64-v8a/include/openssl/dsa.h", + "external/android/arm64-v8a/include/openssl/dtls1.h", + "external/android/arm64-v8a/include/openssl/e_os2.h", + "external/android/arm64-v8a/include/openssl/ebcdic.h", + "external/android/arm64-v8a/include/openssl/ec.h", + "external/android/arm64-v8a/include/openssl/ecdh.h", + "external/android/arm64-v8a/include/openssl/ecdsa.h", + "external/android/arm64-v8a/include/openssl/engine.h", + "external/android/arm64-v8a/include/openssl/err.h", + "external/android/arm64-v8a/include/openssl/evp.h", + "external/android/arm64-v8a/include/openssl/hmac.h", + "external/android/arm64-v8a/include/openssl/idea.h", + "external/android/arm64-v8a/include/openssl/kdf.h", + "external/android/arm64-v8a/include/openssl/lhash.h", + "external/android/arm64-v8a/include/openssl/md2.h", + "external/android/arm64-v8a/include/openssl/md4.h", + "external/android/arm64-v8a/include/openssl/md5.h", + "external/android/arm64-v8a/include/openssl/mdc2.h", + "external/android/arm64-v8a/include/openssl/modes.h", + "external/android/arm64-v8a/include/openssl/obj_mac.h", + "external/android/arm64-v8a/include/openssl/objects.h", + "external/android/arm64-v8a/include/openssl/ocsp.h", + "external/android/arm64-v8a/include/openssl/opensslconf-arm32.h", + "external/android/arm64-v8a/include/openssl/opensslconf-arm64.h", + "external/android/arm64-v8a/include/openssl/opensslconf-x86.h", + "external/android/arm64-v8a/include/openssl/opensslconf.h", + "external/android/arm64-v8a/include/openssl/opensslv.h", + "external/android/arm64-v8a/include/openssl/ossl_typ.h", + "external/android/arm64-v8a/include/openssl/pem.h", + "external/android/arm64-v8a/include/openssl/pem2.h", + "external/android/arm64-v8a/include/openssl/pkcs12.h", + "external/android/arm64-v8a/include/openssl/pkcs7.h", + "external/android/arm64-v8a/include/openssl/rand.h", + "external/android/arm64-v8a/include/openssl/rc2.h", + "external/android/arm64-v8a/include/openssl/rc4.h", + "external/android/arm64-v8a/include/openssl/rc5.h", + "external/android/arm64-v8a/include/openssl/ripemd.h", + "external/android/arm64-v8a/include/openssl/rsa.h", + "external/android/arm64-v8a/include/openssl/safestack.h", + "external/android/arm64-v8a/include/openssl/seed.h", + "external/android/arm64-v8a/include/openssl/sha.h", + "external/android/arm64-v8a/include/openssl/srp.h", + "external/android/arm64-v8a/include/openssl/srtp.h", + "external/android/arm64-v8a/include/openssl/ssl.h", + "external/android/arm64-v8a/include/openssl/ssl2.h", + "external/android/arm64-v8a/include/openssl/ssl3.h", + "external/android/arm64-v8a/include/openssl/stack.h", + "external/android/arm64-v8a/include/openssl/symhacks.h", + "external/android/arm64-v8a/include/openssl/tls1.h", + "external/android/arm64-v8a/include/openssl/ts.h", + "external/android/arm64-v8a/include/openssl/txt_db.h", + "external/android/arm64-v8a/include/openssl/ui.h", + "external/android/arm64-v8a/include/openssl/whrlpool.h", + "external/android/arm64-v8a/include/openssl/x509.h", + "external/android/arm64-v8a/include/openssl/x509_vfy.h", + "external/android/arm64-v8a/include/openssl/x509v3.h", + "external/android/arm64-v8a/include/png/png.h", + "external/android/arm64-v8a/include/png/pngconf.h", + "external/android/arm64-v8a/include/png/pnglibconf.h", + "external/android/arm64-v8a/include/uv/pthread-barrier.h", + "external/android/arm64-v8a/include/uv/stdint-msvc2008.h", + "external/android/arm64-v8a/include/uv/tree.h", + "external/android/arm64-v8a/include/uv/uv-aix.h", + "external/android/arm64-v8a/include/uv/uv-bsd.h", + "external/android/arm64-v8a/include/uv/uv-darwin.h", + "external/android/arm64-v8a/include/uv/uv-errno.h", + "external/android/arm64-v8a/include/uv/uv-linux.h", + "external/android/arm64-v8a/include/uv/uv-os390.h", + "external/android/arm64-v8a/include/uv/uv-posix.h", + "external/android/arm64-v8a/include/uv/uv-sunos.h", + "external/android/arm64-v8a/include/uv/uv-threadpool.h", + "external/android/arm64-v8a/include/uv/uv-unix.h", + "external/android/arm64-v8a/include/uv/uv-version.h", + "external/android/arm64-v8a/include/uv/uv-win.h", + "external/android/arm64-v8a/include/uv/uv.h", + "external/android/arm64-v8a/include/v8/APIDesign.md", + "external/android/arm64-v8a/include/v8/DEPS", + "external/android/arm64-v8a/include/v8/OWNERS", + "external/android/arm64-v8a/include/v8/libplatform/DEPS", + "external/android/arm64-v8a/include/v8/libplatform/libplatform-export.h", + "external/android/arm64-v8a/include/v8/libplatform/libplatform.h", + "external/android/arm64-v8a/include/v8/libplatform/v8-tracing.h", + "external/android/arm64-v8a/include/v8/v8-inspector-protocol.h", + "external/android/arm64-v8a/include/v8/v8-inspector.h", + "external/android/arm64-v8a/include/v8/v8-internal.h", + "external/android/arm64-v8a/include/v8/v8-platform.h", + "external/android/arm64-v8a/include/v8/v8-profiler.h", + "external/android/arm64-v8a/include/v8/v8-testing.h", + "external/android/arm64-v8a/include/v8/v8-util.h", + "external/android/arm64-v8a/include/v8/v8-value-serializer-version.h", + "external/android/arm64-v8a/include/v8/v8-version-string.h", + "external/android/arm64-v8a/include/v8/v8-version.h", + "external/android/arm64-v8a/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/arm64-v8a/include/v8/v8-wasm-trap-handler-win.h", + "external/android/arm64-v8a/include/v8/v8.h", + "external/android/arm64-v8a/include/v8/v8config.h", + "external/android/arm64-v8a/include/webp/decode.h", + "external/android/arm64-v8a/include/webp/encode.h", + "external/android/arm64-v8a/include/webp/types.h", + "external/android/arm64-v8a/include/websockets/libwebsockets.h", + "external/android/arm64-v8a/include/websockets/lws_config.h", + "external/android/arm64-v8a/include/zlib/zconf.h", + "external/android/arm64-v8a/include/zlib/zlib.h", + "external/android/arm64-v8a/libcrypto.a", + "external/android/arm64-v8a/libfreetype.a", + "external/android/arm64-v8a/libjpeg.a", + "external/android/arm64-v8a/libpng.a", + "external/android/arm64-v8a/libssl.a", + "external/android/arm64-v8a/libtbb_static.a", + "external/android/arm64-v8a/libtbbmalloc_proxy_static.a", + "external/android/arm64-v8a/libtbbmalloc_static.a", + "external/android/arm64-v8a/libuv.a", + "external/android/arm64-v8a/libwebp.a", + "external/android/arm64-v8a/libwebsockets.a", + "external/android/arm64-v8a/libz.a", + "external/android/arm64-v8a/v8/libinspector.a", + "external/android/arm64-v8a/v8/libv8_monolith.a", + "external/android/armeabi-v7a/glslang/libOGLCompiler.a", + "external/android/armeabi-v7a/glslang/libOSDependent.a", + "external/android/armeabi-v7a/glslang/libSPIRV.a", + "external/android/armeabi-v7a/glslang/libglslang-default-resource-limits.a", + "external/android/armeabi-v7a/glslang/libglslang.a", + "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.AMD.h", + "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.EXT.h", + "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.KHR.h", + "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.NV.h", + "external/android/armeabi-v7a/include/SPIRV/GLSL.std.450.h", + "external/android/armeabi-v7a/include/SPIRV/GlslangToSpv.h", + "external/android/armeabi-v7a/include/SPIRV/Logger.h", + "external/android/armeabi-v7a/include/SPIRV/NonSemanticDebugPrintf.h", + "external/android/armeabi-v7a/include/SPIRV/SPVRemapper.h", + "external/android/armeabi-v7a/include/SPIRV/SpvBuilder.h", + "external/android/armeabi-v7a/include/SPIRV/SpvTools.h", + "external/android/armeabi-v7a/include/SPIRV/bitutils.h", + "external/android/armeabi-v7a/include/SPIRV/disassemble.h", + "external/android/armeabi-v7a/include/SPIRV/doc.h", + "external/android/armeabi-v7a/include/SPIRV/hex_float.h", + "external/android/armeabi-v7a/include/SPIRV/spirv.hpp", + "external/android/armeabi-v7a/include/SPIRV/spvIR.h", + "external/android/armeabi-v7a/include/StandAlone/ResourceLimits.h", + "external/android/armeabi-v7a/include/StandAlone/resource_limits_c.h", + "external/android/armeabi-v7a/include/freetype/config/ftconfig.h", + "external/android/armeabi-v7a/include/freetype/config/ftheader.h", + "external/android/armeabi-v7a/include/freetype/config/ftmodule.h", + "external/android/armeabi-v7a/include/freetype/config/ftoption.h", + "external/android/armeabi-v7a/include/freetype/config/ftstdlib.h", + "external/android/armeabi-v7a/include/freetype/freetype.h", + "external/android/armeabi-v7a/include/freetype/ft2build.h", + "external/android/armeabi-v7a/include/freetype/ftadvanc.h", + "external/android/armeabi-v7a/include/freetype/ftautoh.h", + "external/android/armeabi-v7a/include/freetype/ftbbox.h", + "external/android/armeabi-v7a/include/freetype/ftbdf.h", + "external/android/armeabi-v7a/include/freetype/ftbitmap.h", + "external/android/armeabi-v7a/include/freetype/ftbzip2.h", + "external/android/armeabi-v7a/include/freetype/ftcache.h", + "external/android/armeabi-v7a/include/freetype/ftcffdrv.h", + "external/android/armeabi-v7a/include/freetype/ftchapters.h", + "external/android/armeabi-v7a/include/freetype/ftcid.h", + "external/android/armeabi-v7a/include/freetype/fterrdef.h", + "external/android/armeabi-v7a/include/freetype/fterrors.h", + "external/android/armeabi-v7a/include/freetype/ftfntfmt.h", + "external/android/armeabi-v7a/include/freetype/ftgasp.h", + "external/android/armeabi-v7a/include/freetype/ftglyph.h", + "external/android/armeabi-v7a/include/freetype/ftgxval.h", + "external/android/armeabi-v7a/include/freetype/ftgzip.h", + "external/android/armeabi-v7a/include/freetype/ftimage.h", + "external/android/armeabi-v7a/include/freetype/ftincrem.h", + "external/android/armeabi-v7a/include/freetype/ftlcdfil.h", + "external/android/armeabi-v7a/include/freetype/ftlist.h", + "external/android/armeabi-v7a/include/freetype/ftlzw.h", + "external/android/armeabi-v7a/include/freetype/ftmac.h", + "external/android/armeabi-v7a/include/freetype/ftmm.h", + "external/android/armeabi-v7a/include/freetype/ftmodapi.h", + "external/android/armeabi-v7a/include/freetype/ftmoderr.h", + "external/android/armeabi-v7a/include/freetype/ftotval.h", + "external/android/armeabi-v7a/include/freetype/ftoutln.h", + "external/android/armeabi-v7a/include/freetype/ftpfr.h", + "external/android/armeabi-v7a/include/freetype/ftrender.h", + "external/android/armeabi-v7a/include/freetype/ftsizes.h", + "external/android/armeabi-v7a/include/freetype/ftsnames.h", + "external/android/armeabi-v7a/include/freetype/ftstroke.h", + "external/android/armeabi-v7a/include/freetype/ftsynth.h", + "external/android/armeabi-v7a/include/freetype/ftsystem.h", + "external/android/armeabi-v7a/include/freetype/fttrigon.h", + "external/android/armeabi-v7a/include/freetype/ftttdrv.h", + "external/android/armeabi-v7a/include/freetype/fttypes.h", + "external/android/armeabi-v7a/include/freetype/ftwinfnt.h", + "external/android/armeabi-v7a/include/freetype/t1tables.h", + "external/android/armeabi-v7a/include/freetype/ttnameid.h", + "external/android/armeabi-v7a/include/freetype/tttables.h", + "external/android/armeabi-v7a/include/freetype/tttags.h", + "external/android/armeabi-v7a/include/freetype/ttunpat.h", + "external/android/armeabi-v7a/include/glslang/Include/BaseTypes.h", + "external/android/armeabi-v7a/include/glslang/Include/Common.h", + "external/android/armeabi-v7a/include/glslang/Include/ConstantUnion.h", + "external/android/armeabi-v7a/include/glslang/Include/InfoSink.h", + "external/android/armeabi-v7a/include/glslang/Include/InitializeGlobals.h", + "external/android/armeabi-v7a/include/glslang/Include/PoolAlloc.h", + "external/android/armeabi-v7a/include/glslang/Include/ResourceLimits.h", + "external/android/armeabi-v7a/include/glslang/Include/ShHandle.h", + "external/android/armeabi-v7a/include/glslang/Include/Types.h", + "external/android/armeabi-v7a/include/glslang/Include/arrays.h", + "external/android/armeabi-v7a/include/glslang/Include/glslang_c_interface.h", + "external/android/armeabi-v7a/include/glslang/Include/glslang_c_shader_types.h", + "external/android/armeabi-v7a/include/glslang/Include/intermediate.h", + "external/android/armeabi-v7a/include/glslang/Include/revision.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/Initialize.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/Scan.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/ScanContext.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/Versions.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/attribute.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/gl_types.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/iomapper.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/localintermediate.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/parseVersions.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/reflection.h", + "external/android/armeabi-v7a/include/glslang/Public/ShaderLang.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.std.450.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GlslangToSpv.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/Logger.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/SPVRemapper.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/SpvBuilder.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/SpvTools.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/bitutils.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/disassemble.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/doc.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/hex_float.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/spirv.hpp", + "external/android/armeabi-v7a/include/glslang/SPIRV/spvIR.h", + "external/android/armeabi-v7a/include/jpeg/jconfig.h", + "external/android/armeabi-v7a/include/jpeg/jerror.h", + "external/android/armeabi-v7a/include/jpeg/jmorecfg.h", + "external/android/armeabi-v7a/include/jpeg/jpeglib.h", + "external/android/armeabi-v7a/include/openssl/aes.h", + "external/android/armeabi-v7a/include/openssl/asn1.h", + "external/android/armeabi-v7a/include/openssl/asn1_mac.h", + "external/android/armeabi-v7a/include/openssl/asn1t.h", + "external/android/armeabi-v7a/include/openssl/async.h", + "external/android/armeabi-v7a/include/openssl/bio.h", + "external/android/armeabi-v7a/include/openssl/blowfish.h", + "external/android/armeabi-v7a/include/openssl/bn.h", + "external/android/armeabi-v7a/include/openssl/buffer.h", + "external/android/armeabi-v7a/include/openssl/camellia.h", + "external/android/armeabi-v7a/include/openssl/cast.h", + "external/android/armeabi-v7a/include/openssl/cmac.h", + "external/android/armeabi-v7a/include/openssl/cms.h", + "external/android/armeabi-v7a/include/openssl/comp.h", + "external/android/armeabi-v7a/include/openssl/conf.h", + "external/android/armeabi-v7a/include/openssl/conf_api.h", + "external/android/armeabi-v7a/include/openssl/crypto.h", + "external/android/armeabi-v7a/include/openssl/ct.h", + "external/android/armeabi-v7a/include/openssl/des.h", + "external/android/armeabi-v7a/include/openssl/dh.h", + "external/android/armeabi-v7a/include/openssl/dsa.h", + "external/android/armeabi-v7a/include/openssl/dtls1.h", + "external/android/armeabi-v7a/include/openssl/e_os2.h", + "external/android/armeabi-v7a/include/openssl/ebcdic.h", + "external/android/armeabi-v7a/include/openssl/ec.h", + "external/android/armeabi-v7a/include/openssl/ecdh.h", + "external/android/armeabi-v7a/include/openssl/ecdsa.h", + "external/android/armeabi-v7a/include/openssl/engine.h", + "external/android/armeabi-v7a/include/openssl/err.h", + "external/android/armeabi-v7a/include/openssl/evp.h", + "external/android/armeabi-v7a/include/openssl/hmac.h", + "external/android/armeabi-v7a/include/openssl/idea.h", + "external/android/armeabi-v7a/include/openssl/kdf.h", + "external/android/armeabi-v7a/include/openssl/lhash.h", + "external/android/armeabi-v7a/include/openssl/md2.h", + "external/android/armeabi-v7a/include/openssl/md4.h", + "external/android/armeabi-v7a/include/openssl/md5.h", + "external/android/armeabi-v7a/include/openssl/mdc2.h", + "external/android/armeabi-v7a/include/openssl/modes.h", + "external/android/armeabi-v7a/include/openssl/obj_mac.h", + "external/android/armeabi-v7a/include/openssl/objects.h", + "external/android/armeabi-v7a/include/openssl/ocsp.h", + "external/android/armeabi-v7a/include/openssl/opensslconf-arm32.h", + "external/android/armeabi-v7a/include/openssl/opensslconf-arm64.h", + "external/android/armeabi-v7a/include/openssl/opensslconf-x86.h", + "external/android/armeabi-v7a/include/openssl/opensslconf.h", + "external/android/armeabi-v7a/include/openssl/opensslv.h", + "external/android/armeabi-v7a/include/openssl/ossl_typ.h", + "external/android/armeabi-v7a/include/openssl/pem.h", + "external/android/armeabi-v7a/include/openssl/pem2.h", + "external/android/armeabi-v7a/include/openssl/pkcs12.h", + "external/android/armeabi-v7a/include/openssl/pkcs7.h", + "external/android/armeabi-v7a/include/openssl/rand.h", + "external/android/armeabi-v7a/include/openssl/rc2.h", + "external/android/armeabi-v7a/include/openssl/rc4.h", + "external/android/armeabi-v7a/include/openssl/rc5.h", + "external/android/armeabi-v7a/include/openssl/ripemd.h", + "external/android/armeabi-v7a/include/openssl/rsa.h", + "external/android/armeabi-v7a/include/openssl/safestack.h", + "external/android/armeabi-v7a/include/openssl/seed.h", + "external/android/armeabi-v7a/include/openssl/sha.h", + "external/android/armeabi-v7a/include/openssl/srp.h", + "external/android/armeabi-v7a/include/openssl/srtp.h", + "external/android/armeabi-v7a/include/openssl/ssl.h", + "external/android/armeabi-v7a/include/openssl/ssl2.h", + "external/android/armeabi-v7a/include/openssl/ssl3.h", + "external/android/armeabi-v7a/include/openssl/stack.h", + "external/android/armeabi-v7a/include/openssl/symhacks.h", + "external/android/armeabi-v7a/include/openssl/tls1.h", + "external/android/armeabi-v7a/include/openssl/ts.h", + "external/android/armeabi-v7a/include/openssl/txt_db.h", + "external/android/armeabi-v7a/include/openssl/ui.h", + "external/android/armeabi-v7a/include/openssl/whrlpool.h", + "external/android/armeabi-v7a/include/openssl/x509.h", + "external/android/armeabi-v7a/include/openssl/x509_vfy.h", + "external/android/armeabi-v7a/include/openssl/x509v3.h", + "external/android/armeabi-v7a/include/png/png.h", + "external/android/armeabi-v7a/include/png/pngconf.h", + "external/android/armeabi-v7a/include/png/pnglibconf.h", + "external/android/armeabi-v7a/include/uv/pthread-barrier.h", + "external/android/armeabi-v7a/include/uv/stdint-msvc2008.h", + "external/android/armeabi-v7a/include/uv/tree.h", + "external/android/armeabi-v7a/include/uv/uv-aix.h", + "external/android/armeabi-v7a/include/uv/uv-bsd.h", + "external/android/armeabi-v7a/include/uv/uv-darwin.h", + "external/android/armeabi-v7a/include/uv/uv-errno.h", + "external/android/armeabi-v7a/include/uv/uv-linux.h", + "external/android/armeabi-v7a/include/uv/uv-os390.h", + "external/android/armeabi-v7a/include/uv/uv-posix.h", + "external/android/armeabi-v7a/include/uv/uv-sunos.h", + "external/android/armeabi-v7a/include/uv/uv-threadpool.h", + "external/android/armeabi-v7a/include/uv/uv-unix.h", + "external/android/armeabi-v7a/include/uv/uv-version.h", + "external/android/armeabi-v7a/include/uv/uv-win.h", + "external/android/armeabi-v7a/include/uv/uv.h", + "external/android/armeabi-v7a/include/v8/APIDesign.md", + "external/android/armeabi-v7a/include/v8/DEPS", + "external/android/armeabi-v7a/include/v8/OWNERS", + "external/android/armeabi-v7a/include/v8/libplatform/DEPS", + "external/android/armeabi-v7a/include/v8/libplatform/libplatform-export.h", + "external/android/armeabi-v7a/include/v8/libplatform/libplatform.h", + "external/android/armeabi-v7a/include/v8/libplatform/v8-tracing.h", + "external/android/armeabi-v7a/include/v8/v8-inspector-protocol.h", + "external/android/armeabi-v7a/include/v8/v8-inspector.h", + "external/android/armeabi-v7a/include/v8/v8-internal.h", + "external/android/armeabi-v7a/include/v8/v8-platform.h", + "external/android/armeabi-v7a/include/v8/v8-profiler.h", + "external/android/armeabi-v7a/include/v8/v8-testing.h", + "external/android/armeabi-v7a/include/v8/v8-util.h", + "external/android/armeabi-v7a/include/v8/v8-value-serializer-version.h", + "external/android/armeabi-v7a/include/v8/v8-version-string.h", + "external/android/armeabi-v7a/include/v8/v8-version.h", + "external/android/armeabi-v7a/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/armeabi-v7a/include/v8/v8-wasm-trap-handler-win.h", + "external/android/armeabi-v7a/include/v8/v8.h", + "external/android/armeabi-v7a/include/v8/v8config.h", + "external/android/armeabi-v7a/include/webp/decode.h", + "external/android/armeabi-v7a/include/webp/encode.h", + "external/android/armeabi-v7a/include/webp/types.h", + "external/android/armeabi-v7a/include/websockets/libwebsockets.h", + "external/android/armeabi-v7a/include/websockets/lws_config.h", + "external/android/armeabi-v7a/include/zlib/zconf.h", + "external/android/armeabi-v7a/include/zlib/zlib.h", + "external/android/armeabi-v7a/libcrypto.a", + "external/android/armeabi-v7a/libfreetype.a", + "external/android/armeabi-v7a/libjpeg.a", + "external/android/armeabi-v7a/libpng.a", + "external/android/armeabi-v7a/libssl.a", + "external/android/armeabi-v7a/libtbb_static.a", + "external/android/armeabi-v7a/libtbbmalloc_proxy_static.a", + "external/android/armeabi-v7a/libtbbmalloc_static.a", + "external/android/armeabi-v7a/libuv.a", + "external/android/armeabi-v7a/libwebp.a", + "external/android/armeabi-v7a/libwebsockets.a", + "external/android/armeabi-v7a/libz.a", + "external/android/armeabi-v7a/v8/libinspector.a", + "external/android/armeabi-v7a/v8/libv8_monolith.a", + "external/android/x86/glslang/libOGLCompiler.a", + "external/android/x86/glslang/libOSDependent.a", + "external/android/x86/glslang/libSPIRV.a", + "external/android/x86/glslang/libglslang-default-resource-limits.a", + "external/android/x86/glslang/libglslang.a", + "external/android/x86/include/SPIRV/GLSL.ext.AMD.h", + "external/android/x86/include/SPIRV/GLSL.ext.EXT.h", + "external/android/x86/include/SPIRV/GLSL.ext.KHR.h", + "external/android/x86/include/SPIRV/GLSL.ext.NV.h", + "external/android/x86/include/SPIRV/GLSL.std.450.h", + "external/android/x86/include/SPIRV/GlslangToSpv.h", + "external/android/x86/include/SPIRV/Logger.h", + "external/android/x86/include/SPIRV/NonSemanticDebugPrintf.h", + "external/android/x86/include/SPIRV/SPVRemapper.h", + "external/android/x86/include/SPIRV/SpvBuilder.h", + "external/android/x86/include/SPIRV/SpvTools.h", + "external/android/x86/include/SPIRV/bitutils.h", + "external/android/x86/include/SPIRV/disassemble.h", + "external/android/x86/include/SPIRV/doc.h", + "external/android/x86/include/SPIRV/hex_float.h", + "external/android/x86/include/SPIRV/spirv.hpp", + "external/android/x86/include/SPIRV/spvIR.h", + "external/android/x86/include/StandAlone/ResourceLimits.h", + "external/android/x86/include/StandAlone/resource_limits_c.h", + "external/android/x86/include/freetype/config/ftconfig.h", + "external/android/x86/include/freetype/config/ftheader.h", + "external/android/x86/include/freetype/config/ftmodule.h", + "external/android/x86/include/freetype/config/ftoption.h", + "external/android/x86/include/freetype/config/ftstdlib.h", + "external/android/x86/include/freetype/freetype.h", + "external/android/x86/include/freetype/ft2build.h", + "external/android/x86/include/freetype/ftadvanc.h", + "external/android/x86/include/freetype/ftautoh.h", + "external/android/x86/include/freetype/ftbbox.h", + "external/android/x86/include/freetype/ftbdf.h", + "external/android/x86/include/freetype/ftbitmap.h", + "external/android/x86/include/freetype/ftbzip2.h", + "external/android/x86/include/freetype/ftcache.h", + "external/android/x86/include/freetype/ftcffdrv.h", + "external/android/x86/include/freetype/ftchapters.h", + "external/android/x86/include/freetype/ftcid.h", + "external/android/x86/include/freetype/fterrdef.h", + "external/android/x86/include/freetype/fterrors.h", + "external/android/x86/include/freetype/ftfntfmt.h", + "external/android/x86/include/freetype/ftgasp.h", + "external/android/x86/include/freetype/ftglyph.h", + "external/android/x86/include/freetype/ftgxval.h", + "external/android/x86/include/freetype/ftgzip.h", + "external/android/x86/include/freetype/ftimage.h", + "external/android/x86/include/freetype/ftincrem.h", + "external/android/x86/include/freetype/ftlcdfil.h", + "external/android/x86/include/freetype/ftlist.h", + "external/android/x86/include/freetype/ftlzw.h", + "external/android/x86/include/freetype/ftmac.h", + "external/android/x86/include/freetype/ftmm.h", + "external/android/x86/include/freetype/ftmodapi.h", + "external/android/x86/include/freetype/ftmoderr.h", + "external/android/x86/include/freetype/ftotval.h", + "external/android/x86/include/freetype/ftoutln.h", + "external/android/x86/include/freetype/ftpfr.h", + "external/android/x86/include/freetype/ftrender.h", + "external/android/x86/include/freetype/ftsizes.h", + "external/android/x86/include/freetype/ftsnames.h", + "external/android/x86/include/freetype/ftstroke.h", + "external/android/x86/include/freetype/ftsynth.h", + "external/android/x86/include/freetype/ftsystem.h", + "external/android/x86/include/freetype/fttrigon.h", + "external/android/x86/include/freetype/ftttdrv.h", + "external/android/x86/include/freetype/fttypes.h", + "external/android/x86/include/freetype/ftwinfnt.h", + "external/android/x86/include/freetype/t1tables.h", + "external/android/x86/include/freetype/ttnameid.h", + "external/android/x86/include/freetype/tttables.h", + "external/android/x86/include/freetype/tttags.h", + "external/android/x86/include/freetype/ttunpat.h", + "external/android/x86/include/glslang/Include/BaseTypes.h", + "external/android/x86/include/glslang/Include/Common.h", + "external/android/x86/include/glslang/Include/ConstantUnion.h", + "external/android/x86/include/glslang/Include/InfoSink.h", + "external/android/x86/include/glslang/Include/InitializeGlobals.h", + "external/android/x86/include/glslang/Include/PoolAlloc.h", + "external/android/x86/include/glslang/Include/ResourceLimits.h", + "external/android/x86/include/glslang/Include/ShHandle.h", + "external/android/x86/include/glslang/Include/Types.h", + "external/android/x86/include/glslang/Include/arrays.h", + "external/android/x86/include/glslang/Include/glslang_c_interface.h", + "external/android/x86/include/glslang/Include/glslang_c_shader_types.h", + "external/android/x86/include/glslang/Include/intermediate.h", + "external/android/x86/include/glslang/Include/revision.h", + "external/android/x86/include/glslang/MachineIndependent/Initialize.h", + "external/android/x86/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/x86/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/x86/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/x86/include/glslang/MachineIndependent/Scan.h", + "external/android/x86/include/glslang/MachineIndependent/ScanContext.h", + "external/android/x86/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/x86/include/glslang/MachineIndependent/Versions.h", + "external/android/x86/include/glslang/MachineIndependent/attribute.h", + "external/android/x86/include/glslang/MachineIndependent/gl_types.h", + "external/android/x86/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/x86/include/glslang/MachineIndependent/iomapper.h", + "external/android/x86/include/glslang/MachineIndependent/localintermediate.h", + "external/android/x86/include/glslang/MachineIndependent/parseVersions.h", + "external/android/x86/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/x86/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/x86/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/x86/include/glslang/MachineIndependent/reflection.h", + "external/android/x86/include/glslang/Public/ShaderLang.h", + "external/android/x86/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/android/x86/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/android/x86/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/android/x86/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/android/x86/include/glslang/SPIRV/GLSL.std.450.h", + "external/android/x86/include/glslang/SPIRV/GlslangToSpv.h", + "external/android/x86/include/glslang/SPIRV/Logger.h", + "external/android/x86/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/android/x86/include/glslang/SPIRV/SPVRemapper.h", + "external/android/x86/include/glslang/SPIRV/SpvBuilder.h", + "external/android/x86/include/glslang/SPIRV/SpvTools.h", + "external/android/x86/include/glslang/SPIRV/bitutils.h", + "external/android/x86/include/glslang/SPIRV/disassemble.h", + "external/android/x86/include/glslang/SPIRV/doc.h", + "external/android/x86/include/glslang/SPIRV/hex_float.h", + "external/android/x86/include/glslang/SPIRV/spirv.hpp", + "external/android/x86/include/glslang/SPIRV/spvIR.h", + "external/android/x86/include/jpeg/jconfig.h", + "external/android/x86/include/jpeg/jerror.h", + "external/android/x86/include/jpeg/jmorecfg.h", + "external/android/x86/include/jpeg/jpeglib.h", + "external/android/x86/include/openssl/aes.h", + "external/android/x86/include/openssl/asn1.h", + "external/android/x86/include/openssl/asn1_mac.h", + "external/android/x86/include/openssl/asn1t.h", + "external/android/x86/include/openssl/async.h", + "external/android/x86/include/openssl/bio.h", + "external/android/x86/include/openssl/blowfish.h", + "external/android/x86/include/openssl/bn.h", + "external/android/x86/include/openssl/buffer.h", + "external/android/x86/include/openssl/camellia.h", + "external/android/x86/include/openssl/cast.h", + "external/android/x86/include/openssl/cmac.h", + "external/android/x86/include/openssl/cms.h", + "external/android/x86/include/openssl/comp.h", + "external/android/x86/include/openssl/conf.h", + "external/android/x86/include/openssl/conf_api.h", + "external/android/x86/include/openssl/crypto.h", + "external/android/x86/include/openssl/ct.h", + "external/android/x86/include/openssl/des.h", + "external/android/x86/include/openssl/dh.h", + "external/android/x86/include/openssl/dsa.h", + "external/android/x86/include/openssl/dtls1.h", + "external/android/x86/include/openssl/e_os2.h", + "external/android/x86/include/openssl/ebcdic.h", + "external/android/x86/include/openssl/ec.h", + "external/android/x86/include/openssl/ecdh.h", + "external/android/x86/include/openssl/ecdsa.h", + "external/android/x86/include/openssl/engine.h", + "external/android/x86/include/openssl/err.h", + "external/android/x86/include/openssl/evp.h", + "external/android/x86/include/openssl/hmac.h", + "external/android/x86/include/openssl/idea.h", + "external/android/x86/include/openssl/kdf.h", + "external/android/x86/include/openssl/lhash.h", + "external/android/x86/include/openssl/md2.h", + "external/android/x86/include/openssl/md4.h", + "external/android/x86/include/openssl/md5.h", + "external/android/x86/include/openssl/mdc2.h", + "external/android/x86/include/openssl/modes.h", + "external/android/x86/include/openssl/obj_mac.h", + "external/android/x86/include/openssl/objects.h", + "external/android/x86/include/openssl/ocsp.h", + "external/android/x86/include/openssl/opensslconf-arm32.h", + "external/android/x86/include/openssl/opensslconf-arm64.h", + "external/android/x86/include/openssl/opensslconf-x86.h", + "external/android/x86/include/openssl/opensslconf.h", + "external/android/x86/include/openssl/opensslv.h", + "external/android/x86/include/openssl/ossl_typ.h", + "external/android/x86/include/openssl/pem.h", + "external/android/x86/include/openssl/pem2.h", + "external/android/x86/include/openssl/pkcs12.h", + "external/android/x86/include/openssl/pkcs7.h", + "external/android/x86/include/openssl/rand.h", + "external/android/x86/include/openssl/rc2.h", + "external/android/x86/include/openssl/rc4.h", + "external/android/x86/include/openssl/rc5.h", + "external/android/x86/include/openssl/ripemd.h", + "external/android/x86/include/openssl/rsa.h", + "external/android/x86/include/openssl/safestack.h", + "external/android/x86/include/openssl/seed.h", + "external/android/x86/include/openssl/sha.h", + "external/android/x86/include/openssl/srp.h", + "external/android/x86/include/openssl/srtp.h", + "external/android/x86/include/openssl/ssl.h", + "external/android/x86/include/openssl/ssl2.h", + "external/android/x86/include/openssl/ssl3.h", + "external/android/x86/include/openssl/stack.h", + "external/android/x86/include/openssl/symhacks.h", + "external/android/x86/include/openssl/tls1.h", + "external/android/x86/include/openssl/ts.h", + "external/android/x86/include/openssl/txt_db.h", + "external/android/x86/include/openssl/ui.h", + "external/android/x86/include/openssl/whrlpool.h", + "external/android/x86/include/openssl/x509.h", + "external/android/x86/include/openssl/x509_vfy.h", + "external/android/x86/include/openssl/x509v3.h", + "external/android/x86/include/png/png.h", + "external/android/x86/include/png/pngconf.h", + "external/android/x86/include/png/pnglibconf.h", + "external/android/x86/include/uv/pthread-barrier.h", + "external/android/x86/include/uv/stdint-msvc2008.h", + "external/android/x86/include/uv/tree.h", + "external/android/x86/include/uv/uv-aix.h", + "external/android/x86/include/uv/uv-bsd.h", + "external/android/x86/include/uv/uv-darwin.h", + "external/android/x86/include/uv/uv-errno.h", + "external/android/x86/include/uv/uv-linux.h", + "external/android/x86/include/uv/uv-os390.h", + "external/android/x86/include/uv/uv-posix.h", + "external/android/x86/include/uv/uv-sunos.h", + "external/android/x86/include/uv/uv-threadpool.h", + "external/android/x86/include/uv/uv-unix.h", + "external/android/x86/include/uv/uv-version.h", + "external/android/x86/include/uv/uv-win.h", + "external/android/x86/include/uv/uv.h", + "external/android/x86/include/v8/APIDesign.md", + "external/android/x86/include/v8/DEPS", + "external/android/x86/include/v8/OWNERS", + "external/android/x86/include/v8/libplatform/DEPS", + "external/android/x86/include/v8/libplatform/libplatform-export.h", + "external/android/x86/include/v8/libplatform/libplatform.h", + "external/android/x86/include/v8/libplatform/v8-tracing.h", + "external/android/x86/include/v8/v8-inspector-protocol.h", + "external/android/x86/include/v8/v8-inspector.h", + "external/android/x86/include/v8/v8-internal.h", + "external/android/x86/include/v8/v8-platform.h", + "external/android/x86/include/v8/v8-profiler.h", + "external/android/x86/include/v8/v8-testing.h", + "external/android/x86/include/v8/v8-util.h", + "external/android/x86/include/v8/v8-value-serializer-version.h", + "external/android/x86/include/v8/v8-version-string.h", + "external/android/x86/include/v8/v8-version.h", + "external/android/x86/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/x86/include/v8/v8-wasm-trap-handler-win.h", + "external/android/x86/include/v8/v8.h", + "external/android/x86/include/v8/v8config.h", + "external/android/x86/include/webp/decode.h", + "external/android/x86/include/webp/encode.h", + "external/android/x86/include/webp/types.h", + "external/android/x86/include/websockets/libwebsockets.h", + "external/android/x86/include/websockets/lws_config.h", + "external/android/x86/include/zlib/zconf.h", + "external/android/x86/include/zlib/zlib.h", + "external/android/x86/libcrypto.a", + "external/android/x86/libfreetype.a", + "external/android/x86/libjpeg.a", + "external/android/x86/libpng.a", + "external/android/x86/libssl.a", + "external/android/x86/libtbb_static.a", + "external/android/x86/libtbbmalloc_proxy_static.a", + "external/android/x86/libtbbmalloc_static.a", + "external/android/x86/libuv.a", + "external/android/x86/libwebp.a", + "external/android/x86/libwebsockets.a", + "external/android/x86/libz.a", + "external/android/x86/v8/libinspector.a", + "external/android/x86/v8/libv8_monolith.a", + "external/android/x86_64/glslang/libOGLCompiler.a", + "external/android/x86_64/glslang/libOSDependent.a", + "external/android/x86_64/glslang/libSPIRV.a", + "external/android/x86_64/glslang/libglslang-default-resource-limits.a", + "external/android/x86_64/glslang/libglslang.a", + "external/android/x86_64/include/SPIRV/GLSL.ext.AMD.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.EXT.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.KHR.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.NV.h", + "external/android/x86_64/include/SPIRV/GLSL.std.450.h", + "external/android/x86_64/include/SPIRV/GlslangToSpv.h", + "external/android/x86_64/include/SPIRV/Logger.h", + "external/android/x86_64/include/SPIRV/NonSemanticDebugPrintf.h", + "external/android/x86_64/include/SPIRV/SPVRemapper.h", + "external/android/x86_64/include/SPIRV/SpvBuilder.h", + "external/android/x86_64/include/SPIRV/SpvTools.h", + "external/android/x86_64/include/SPIRV/bitutils.h", + "external/android/x86_64/include/SPIRV/disassemble.h", + "external/android/x86_64/include/SPIRV/doc.h", + "external/android/x86_64/include/SPIRV/hex_float.h", + "external/android/x86_64/include/SPIRV/spirv.hpp", + "external/android/x86_64/include/SPIRV/spvIR.h", + "external/android/x86_64/include/StandAlone/DirStackFileIncluder.h", + "external/android/x86_64/include/StandAlone/ResourceLimits.h", + "external/android/x86_64/include/StandAlone/Worklist.h", + "external/android/x86_64/include/StandAlone/resource_limits_c.h", + "external/android/x86_64/include/freetype/config/ftconfig.h", + "external/android/x86_64/include/freetype/config/ftheader.h", + "external/android/x86_64/include/freetype/config/ftmodule.h", + "external/android/x86_64/include/freetype/config/ftoption.h", + "external/android/x86_64/include/freetype/config/ftstdlib.h", + "external/android/x86_64/include/freetype/freetype.h", + "external/android/x86_64/include/freetype/ftadvanc.h", + "external/android/x86_64/include/freetype/ftautoh.h", + "external/android/x86_64/include/freetype/ftbbox.h", + "external/android/x86_64/include/freetype/ftbdf.h", + "external/android/x86_64/include/freetype/ftbitmap.h", + "external/android/x86_64/include/freetype/ftbzip2.h", + "external/android/x86_64/include/freetype/ftcache.h", + "external/android/x86_64/include/freetype/ftcffdrv.h", + "external/android/x86_64/include/freetype/ftchapters.h", + "external/android/x86_64/include/freetype/ftcid.h", + "external/android/x86_64/include/freetype/fterrdef.h", + "external/android/x86_64/include/freetype/fterrors.h", + "external/android/x86_64/include/freetype/ftfntfmt.h", + "external/android/x86_64/include/freetype/ftgasp.h", + "external/android/x86_64/include/freetype/ftglyph.h", + "external/android/x86_64/include/freetype/ftgxval.h", + "external/android/x86_64/include/freetype/ftgzip.h", + "external/android/x86_64/include/freetype/ftimage.h", + "external/android/x86_64/include/freetype/ftincrem.h", + "external/android/x86_64/include/freetype/ftlcdfil.h", + "external/android/x86_64/include/freetype/ftlist.h", + "external/android/x86_64/include/freetype/ftlzw.h", + "external/android/x86_64/include/freetype/ftmac.h", + "external/android/x86_64/include/freetype/ftmm.h", + "external/android/x86_64/include/freetype/ftmodapi.h", + "external/android/x86_64/include/freetype/ftmoderr.h", + "external/android/x86_64/include/freetype/ftotval.h", + "external/android/x86_64/include/freetype/ftoutln.h", + "external/android/x86_64/include/freetype/ftpfr.h", + "external/android/x86_64/include/freetype/ftrender.h", + "external/android/x86_64/include/freetype/ftsizes.h", + "external/android/x86_64/include/freetype/ftsnames.h", + "external/android/x86_64/include/freetype/ftstroke.h", + "external/android/x86_64/include/freetype/ftsynth.h", + "external/android/x86_64/include/freetype/ftsystem.h", + "external/android/x86_64/include/freetype/fttrigon.h", + "external/android/x86_64/include/freetype/ftttdrv.h", + "external/android/x86_64/include/freetype/fttypes.h", + "external/android/x86_64/include/freetype/ftwinfnt.h", + "external/android/x86_64/include/freetype/t1tables.h", + "external/android/x86_64/include/freetype/ttnameid.h", + "external/android/x86_64/include/freetype/tttables.h", + "external/android/x86_64/include/freetype/tttags.h", + "external/android/x86_64/include/freetype/ttunpat.h", + "external/android/x86_64/include/glslang/Include/BaseTypes.h", + "external/android/x86_64/include/glslang/Include/Common.h", + "external/android/x86_64/include/glslang/Include/ConstantUnion.h", + "external/android/x86_64/include/glslang/Include/InfoSink.h", + "external/android/x86_64/include/glslang/Include/InitializeGlobals.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Initialize.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/LiveTraverser.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/ParseHelper.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/RemoveTree.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Scan.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/ScanContext.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/SymbolTable.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Versions.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/attribute.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/gl_types.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.m4", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.y", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang_tab.cpp.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/iomapper.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/localintermediate.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/parseVersions.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/pch.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpContext.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpTokens.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/propagateNoContraction.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/reflection.h", + "external/android/x86_64/include/glslang/Include/PoolAlloc.h", + "external/android/x86_64/include/glslang/Include/Public/ShaderLang.h", + "external/android/x86_64/include/glslang/Include/ResourceLimits.h", + "external/android/x86_64/include/glslang/Include/ShHandle.h", + "external/android/x86_64/include/glslang/Include/Types.h", + "external/android/x86_64/include/glslang/Include/arrays.h", + "external/android/x86_64/include/glslang/Include/glslang_c_interface.h", + "external/android/x86_64/include/glslang/Include/glslang_c_shader_types.h", + "external/android/x86_64/include/glslang/Include/intermediate.h", + "external/android/x86_64/include/glslang/MachineIndependent/Initialize.h", + "external/android/x86_64/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/x86_64/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/x86_64/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/x86_64/include/glslang/MachineIndependent/Scan.h", + "external/android/x86_64/include/glslang/MachineIndependent/ScanContext.h", + "external/android/x86_64/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/x86_64/include/glslang/MachineIndependent/Versions.h", + "external/android/x86_64/include/glslang/MachineIndependent/attribute.h", + "external/android/x86_64/include/glslang/MachineIndependent/gl_types.h", + "external/android/x86_64/include/glslang/MachineIndependent/glslang.m4", + "external/android/x86_64/include/glslang/MachineIndependent/glslang.y", + "external/android/x86_64/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/x86_64/include/glslang/MachineIndependent/iomapper.h", + "external/android/x86_64/include/glslang/MachineIndependent/localintermediate.h", + "external/android/x86_64/include/glslang/MachineIndependent/parseVersions.h", + "external/android/x86_64/include/glslang/MachineIndependent/pch.h", + "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/x86_64/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/x86_64/include/glslang/MachineIndependent/reflection.h", + "external/android/x86_64/include/glslang/Public/ShaderLang.h", + "external/android/x86_64/include/jpeg/jconfig.h", + "external/android/x86_64/include/jpeg/jerror.h", + "external/android/x86_64/include/jpeg/jmorecfg.h", + "external/android/x86_64/include/jpeg/jpeglib.h", + "external/android/x86_64/include/openssl/aes.h", + "external/android/x86_64/include/openssl/asn1.h", + "external/android/x86_64/include/openssl/asn1_mac.h", + "external/android/x86_64/include/openssl/asn1t.h", + "external/android/x86_64/include/openssl/async.h", + "external/android/x86_64/include/openssl/bio.h", + "external/android/x86_64/include/openssl/blowfish.h", + "external/android/x86_64/include/openssl/bn.h", + "external/android/x86_64/include/openssl/buffer.h", + "external/android/x86_64/include/openssl/camellia.h", + "external/android/x86_64/include/openssl/cast.h", + "external/android/x86_64/include/openssl/cmac.h", + "external/android/x86_64/include/openssl/cms.h", + "external/android/x86_64/include/openssl/comp.h", + "external/android/x86_64/include/openssl/conf.h", + "external/android/x86_64/include/openssl/conf_api.h", + "external/android/x86_64/include/openssl/crypto.h", + "external/android/x86_64/include/openssl/ct.h", + "external/android/x86_64/include/openssl/des.h", + "external/android/x86_64/include/openssl/dh.h", + "external/android/x86_64/include/openssl/dsa.h", + "external/android/x86_64/include/openssl/dtls1.h", + "external/android/x86_64/include/openssl/e_os2.h", + "external/android/x86_64/include/openssl/ebcdic.h", + "external/android/x86_64/include/openssl/ec.h", + "external/android/x86_64/include/openssl/ecdh.h", + "external/android/x86_64/include/openssl/ecdsa.h", + "external/android/x86_64/include/openssl/engine.h", + "external/android/x86_64/include/openssl/err.h", + "external/android/x86_64/include/openssl/evp.h", + "external/android/x86_64/include/openssl/hmac.h", + "external/android/x86_64/include/openssl/idea.h", + "external/android/x86_64/include/openssl/kdf.h", + "external/android/x86_64/include/openssl/lhash.h", + "external/android/x86_64/include/openssl/md2.h", + "external/android/x86_64/include/openssl/md4.h", + "external/android/x86_64/include/openssl/md5.h", + "external/android/x86_64/include/openssl/mdc2.h", + "external/android/x86_64/include/openssl/modes.h", + "external/android/x86_64/include/openssl/obj_mac.h", + "external/android/x86_64/include/openssl/objects.h", + "external/android/x86_64/include/openssl/ocsp.h", + "external/android/x86_64/include/openssl/opensslconf-arm32.h", + "external/android/x86_64/include/openssl/opensslconf-arm64.h", + "external/android/x86_64/include/openssl/opensslconf-x86.h", + "external/android/x86_64/include/openssl/opensslconf.h", + "external/android/x86_64/include/openssl/opensslv.h", + "external/android/x86_64/include/openssl/ossl_typ.h", + "external/android/x86_64/include/openssl/pem.h", + "external/android/x86_64/include/openssl/pem2.h", + "external/android/x86_64/include/openssl/pkcs12.h", + "external/android/x86_64/include/openssl/pkcs7.h", + "external/android/x86_64/include/openssl/rand.h", + "external/android/x86_64/include/openssl/rc2.h", + "external/android/x86_64/include/openssl/rc4.h", + "external/android/x86_64/include/openssl/rc5.h", + "external/android/x86_64/include/openssl/ripemd.h", + "external/android/x86_64/include/openssl/rsa.h", + "external/android/x86_64/include/openssl/safestack.h", + "external/android/x86_64/include/openssl/seed.h", + "external/android/x86_64/include/openssl/sha.h", + "external/android/x86_64/include/openssl/srp.h", + "external/android/x86_64/include/openssl/srtp.h", + "external/android/x86_64/include/openssl/ssl.h", + "external/android/x86_64/include/openssl/ssl2.h", + "external/android/x86_64/include/openssl/ssl3.h", + "external/android/x86_64/include/openssl/stack.h", + "external/android/x86_64/include/openssl/symhacks.h", + "external/android/x86_64/include/openssl/tls1.h", + "external/android/x86_64/include/openssl/ts.h", + "external/android/x86_64/include/openssl/txt_db.h", + "external/android/x86_64/include/openssl/ui.h", + "external/android/x86_64/include/openssl/whrlpool.h", + "external/android/x86_64/include/openssl/x509.h", + "external/android/x86_64/include/openssl/x509_vfy.h", + "external/android/x86_64/include/openssl/x509v3.h", + "external/android/x86_64/include/png/png.h", + "external/android/x86_64/include/png/pngconf.h", + "external/android/x86_64/include/png/pnglibconf.h", + "external/android/x86_64/include/uv/pthread-barrier.h", + "external/android/x86_64/include/uv/stdint-msvc2008.h", + "external/android/x86_64/include/uv/tree.h", + "external/android/x86_64/include/uv/uv-aix.h", + "external/android/x86_64/include/uv/uv-bsd.h", + "external/android/x86_64/include/uv/uv-darwin.h", + "external/android/x86_64/include/uv/uv-errno.h", + "external/android/x86_64/include/uv/uv-linux.h", + "external/android/x86_64/include/uv/uv-os390.h", + "external/android/x86_64/include/uv/uv-posix.h", + "external/android/x86_64/include/uv/uv-sunos.h", + "external/android/x86_64/include/uv/uv-threadpool.h", + "external/android/x86_64/include/uv/uv-unix.h", + "external/android/x86_64/include/uv/uv-version.h", + "external/android/x86_64/include/uv/uv-win.h", + "external/android/x86_64/include/uv/uv.h", + "external/android/x86_64/include/v8/APIDesign.md", + "external/android/x86_64/include/v8/DEPS", + "external/android/x86_64/include/v8/OWNERS", + "external/android/x86_64/include/v8/libplatform/DEPS", + "external/android/x86_64/include/v8/libplatform/libplatform-export.h", + "external/android/x86_64/include/v8/libplatform/libplatform.h", + "external/android/x86_64/include/v8/libplatform/v8-tracing.h", + "external/android/x86_64/include/v8/v8-inspector-protocol.h", + "external/android/x86_64/include/v8/v8-inspector.h", + "external/android/x86_64/include/v8/v8-internal.h", + "external/android/x86_64/include/v8/v8-platform.h", + "external/android/x86_64/include/v8/v8-profiler.h", + "external/android/x86_64/include/v8/v8-testing.h", + "external/android/x86_64/include/v8/v8-util.h", + "external/android/x86_64/include/v8/v8-value-serializer-version.h", + "external/android/x86_64/include/v8/v8-version-string.h", + "external/android/x86_64/include/v8/v8-version.h", + "external/android/x86_64/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/x86_64/include/v8/v8-wasm-trap-handler-win.h", + "external/android/x86_64/include/v8/v8.h", + "external/android/x86_64/include/v8/v8config.h", + "external/android/x86_64/include/webp/decode.h", + "external/android/x86_64/include/webp/encode.h", + "external/android/x86_64/include/webp/types.h", + "external/android/x86_64/include/websockets/libwebsockets.h", + "external/android/x86_64/include/websockets/lws_config.h", + "external/android/x86_64/include/zlib/zconf.h", + "external/android/x86_64/include/zlib/zlib.h", + "external/android/x86_64/libcrypto.a", + "external/android/x86_64/libfreetype.a", + "external/android/x86_64/libjpeg.a", + "external/android/x86_64/libpng.a", + "external/android/x86_64/libssl.a", + "external/android/x86_64/libtbb_static.a", + "external/android/x86_64/libtbbmalloc_proxy_static.a", + "external/android/x86_64/libtbbmalloc_static.a", + "external/android/x86_64/libuv.a", + "external/android/x86_64/libwebp.a", + "external/android/x86_64/libwebsockets.a", + "external/android/x86_64/libz.a", + "external/android/x86_64/v8/libinspector.a", + "external/android/x86_64/v8/libv8_monolith.a", + "external/cmake/CocosExternalConfig.cmake", + "external/cmake/scripts/sync_folder.py", + "external/ios/CMakeLists.txt", + "external/ios/include/StandAlone/ResourceLimits.h", + "external/ios/include/StandAlone/resource_limits_c.h", + "external/ios/include/freetype/config/ftconfig.h", + "external/ios/include/freetype/config/ftheader.h", + "external/ios/include/freetype/config/ftmodule.h", + "external/ios/include/freetype/config/ftoption.h", + "external/ios/include/freetype/config/ftstdlib.h", + "external/ios/include/freetype/freetype.h", + "external/ios/include/freetype/ft2build.h", + "external/ios/include/freetype/ftadvanc.h", + "external/ios/include/freetype/ftautoh.h", + "external/ios/include/freetype/ftbbox.h", + "external/ios/include/freetype/ftbdf.h", + "external/ios/include/freetype/ftbitmap.h", + "external/ios/include/freetype/ftbzip2.h", + "external/ios/include/freetype/ftcache.h", + "external/ios/include/freetype/ftcffdrv.h", + "external/ios/include/freetype/ftchapters.h", + "external/ios/include/freetype/ftcid.h", + "external/ios/include/freetype/fterrdef.h", + "external/ios/include/freetype/fterrors.h", + "external/ios/include/freetype/ftfntfmt.h", + "external/ios/include/freetype/ftgasp.h", + "external/ios/include/freetype/ftglyph.h", + "external/ios/include/freetype/ftgxval.h", + "external/ios/include/freetype/ftgzip.h", + "external/ios/include/freetype/ftimage.h", + "external/ios/include/freetype/ftincrem.h", + "external/ios/include/freetype/ftlcdfil.h", + "external/ios/include/freetype/ftlist.h", + "external/ios/include/freetype/ftlzw.h", + "external/ios/include/freetype/ftmac.h", + "external/ios/include/freetype/ftmm.h", + "external/ios/include/freetype/ftmodapi.h", + "external/ios/include/freetype/ftmoderr.h", + "external/ios/include/freetype/ftotval.h", + "external/ios/include/freetype/ftoutln.h", + "external/ios/include/freetype/ftpfr.h", + "external/ios/include/freetype/ftrender.h", + "external/ios/include/freetype/ftsizes.h", + "external/ios/include/freetype/ftsnames.h", + "external/ios/include/freetype/ftstroke.h", + "external/ios/include/freetype/ftsynth.h", + "external/ios/include/freetype/ftsystem.h", + "external/ios/include/freetype/fttrigon.h", + "external/ios/include/freetype/ftttdrv.h", + "external/ios/include/freetype/fttypes.h", + "external/ios/include/freetype/ftwinfnt.h", + "external/ios/include/freetype/t1tables.h", + "external/ios/include/freetype/ttnameid.h", + "external/ios/include/freetype/tttables.h", + "external/ios/include/freetype/tttags.h", + "external/ios/include/freetype/ttunpat.h", + "external/ios/include/glslang/Include/BaseTypes.h", + "external/ios/include/glslang/Include/Common.h", + "external/ios/include/glslang/Include/ConstantUnion.h", + "external/ios/include/glslang/Include/InfoSink.h", + "external/ios/include/glslang/Include/InitializeGlobals.h", + "external/ios/include/glslang/Include/PoolAlloc.h", + "external/ios/include/glslang/Include/ResourceLimits.h", + "external/ios/include/glslang/Include/ShHandle.h", + "external/ios/include/glslang/Include/Types.h", + "external/ios/include/glslang/Include/arrays.h", + "external/ios/include/glslang/Include/glslang_c_interface.h", + "external/ios/include/glslang/Include/glslang_c_shader_types.h", + "external/ios/include/glslang/Include/intermediate.h", + "external/ios/include/glslang/Include/revision.h", + "external/ios/include/glslang/MachineIndependent/Initialize.h", + "external/ios/include/glslang/MachineIndependent/LiveTraverser.h", + "external/ios/include/glslang/MachineIndependent/ParseHelper.h", + "external/ios/include/glslang/MachineIndependent/RemoveTree.h", + "external/ios/include/glslang/MachineIndependent/Scan.h", + "external/ios/include/glslang/MachineIndependent/ScanContext.h", + "external/ios/include/glslang/MachineIndependent/SymbolTable.h", + "external/ios/include/glslang/MachineIndependent/Versions.h", + "external/ios/include/glslang/MachineIndependent/attribute.h", + "external/ios/include/glslang/MachineIndependent/gl_types.h", + "external/ios/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/ios/include/glslang/MachineIndependent/iomapper.h", + "external/ios/include/glslang/MachineIndependent/localintermediate.h", + "external/ios/include/glslang/MachineIndependent/parseVersions.h", + "external/ios/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/ios/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/ios/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/ios/include/glslang/MachineIndependent/reflection.h", + "external/ios/include/glslang/Public/ShaderLang.h", + "external/ios/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/ios/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/ios/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/ios/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/ios/include/glslang/SPIRV/GLSL.std.450.h", + "external/ios/include/glslang/SPIRV/GlslangToSpv.h", + "external/ios/include/glslang/SPIRV/Logger.h", + "external/ios/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/ios/include/glslang/SPIRV/SPVRemapper.h", + "external/ios/include/glslang/SPIRV/SpvBuilder.h", + "external/ios/include/glslang/SPIRV/SpvTools.h", + "external/ios/include/glslang/SPIRV/bitutils.h", + "external/ios/include/glslang/SPIRV/disassemble.h", + "external/ios/include/glslang/SPIRV/doc.h", + "external/ios/include/glslang/SPIRV/hex_float.h", + "external/ios/include/glslang/SPIRV/spirv.hpp", + "external/ios/include/glslang/SPIRV/spvIR.h", + "external/ios/include/jpeg/jconfig.h", + "external/ios/include/jpeg/jerror.h", + "external/ios/include/jpeg/jmorecfg.h", + "external/ios/include/jpeg/jpeglib.h", + "external/ios/include/openssl/aes.h", + "external/ios/include/openssl/asn1.h", + "external/ios/include/openssl/asn1_mac.h", + "external/ios/include/openssl/asn1t.h", + "external/ios/include/openssl/async.h", + "external/ios/include/openssl/bio.h", + "external/ios/include/openssl/blowfish.h", + "external/ios/include/openssl/bn.h", + "external/ios/include/openssl/buffer.h", + "external/ios/include/openssl/camellia.h", + "external/ios/include/openssl/cast.h", + "external/ios/include/openssl/cmac.h", + "external/ios/include/openssl/cms.h", + "external/ios/include/openssl/comp.h", + "external/ios/include/openssl/conf.h", + "external/ios/include/openssl/conf_api.h", + "external/ios/include/openssl/crypto.h", + "external/ios/include/openssl/ct.h", + "external/ios/include/openssl/des.h", + "external/ios/include/openssl/dh.h", + "external/ios/include/openssl/dsa.h", + "external/ios/include/openssl/dtls1.h", + "external/ios/include/openssl/e_os2.h", + "external/ios/include/openssl/ebcdic.h", + "external/ios/include/openssl/ec.h", + "external/ios/include/openssl/ecdh.h", + "external/ios/include/openssl/ecdsa.h", + "external/ios/include/openssl/engine.h", + "external/ios/include/openssl/err.h", + "external/ios/include/openssl/evp.h", + "external/ios/include/openssl/hmac.h", + "external/ios/include/openssl/idea.h", + "external/ios/include/openssl/kdf.h", + "external/ios/include/openssl/lhash.h", + "external/ios/include/openssl/md2.h", + "external/ios/include/openssl/md4.h", + "external/ios/include/openssl/md5.h", + "external/ios/include/openssl/mdc2.h", + "external/ios/include/openssl/modes.h", + "external/ios/include/openssl/obj_mac.h", + "external/ios/include/openssl/objects.h", + "external/ios/include/openssl/ocsp.h", + "external/ios/include/openssl/opensslconf-arm32.h", + "external/ios/include/openssl/opensslconf-arm64.h", + "external/ios/include/openssl/opensslconf-i386.h", + "external/ios/include/openssl/opensslconf-x86_64.h", + "external/ios/include/openssl/opensslconf.h", + "external/ios/include/openssl/opensslv.h", + "external/ios/include/openssl/ossl_typ.h", + "external/ios/include/openssl/pem.h", + "external/ios/include/openssl/pem2.h", + "external/ios/include/openssl/pkcs12.h", + "external/ios/include/openssl/pkcs7.h", + "external/ios/include/openssl/rand.h", + "external/ios/include/openssl/rc2.h", + "external/ios/include/openssl/rc4.h", + "external/ios/include/openssl/rc5.h", + "external/ios/include/openssl/ripemd.h", + "external/ios/include/openssl/rsa.h", + "external/ios/include/openssl/safestack.h", + "external/ios/include/openssl/seed.h", + "external/ios/include/openssl/sha.h", + "external/ios/include/openssl/srp.h", + "external/ios/include/openssl/srtp.h", + "external/ios/include/openssl/ssl.h", + "external/ios/include/openssl/ssl2.h", + "external/ios/include/openssl/ssl3.h", + "external/ios/include/openssl/stack.h", + "external/ios/include/openssl/symhacks.h", + "external/ios/include/openssl/tls1.h", + "external/ios/include/openssl/ts.h", + "external/ios/include/openssl/txt_db.h", + "external/ios/include/openssl/ui.h", + "external/ios/include/openssl/whrlpool.h", + "external/ios/include/openssl/x509.h", + "external/ios/include/openssl/x509_vfy.h", + "external/ios/include/openssl/x509v3.h", + "external/ios/include/png/png.h", + "external/ios/include/png/pngconf.h", + "external/ios/include/png/pnglibconf.h", + "external/ios/include/spirv_cross/GLSL.std.450.h", + "external/ios/include/spirv_cross/spirv.hpp", + "external/ios/include/spirv_cross/spirv_cfg.hpp", + "external/ios/include/spirv_cross/spirv_common.hpp", + "external/ios/include/spirv_cross/spirv_cross.hpp", + "external/ios/include/spirv_cross/spirv_cross_containers.hpp", + "external/ios/include/spirv_cross/spirv_cross_error_handling.hpp", + "external/ios/include/spirv_cross/spirv_cross_parsed_ir.hpp", + "external/ios/include/spirv_cross/spirv_glsl.hpp", + "external/ios/include/spirv_cross/spirv_msl.hpp", + "external/ios/include/spirv_cross/spirv_parser.hpp", + "external/ios/include/uv/uv.h", + "external/ios/include/uv/uv/aix.h", + "external/ios/include/uv/uv/android-ifaddrs.h", + "external/ios/include/uv/uv/bsd.h", + "external/ios/include/uv/uv/darwin.h", + "external/ios/include/uv/uv/errno.h", + "external/ios/include/uv/uv/linux.h", + "external/ios/include/uv/uv/os390.h", + "external/ios/include/uv/uv/posix.h", + "external/ios/include/uv/uv/pthread-barrier.h", + "external/ios/include/uv/uv/stdint-msvc2008.h", + "external/ios/include/uv/uv/sunos.h", + "external/ios/include/uv/uv/threadpool.h", + "external/ios/include/uv/uv/tree.h", + "external/ios/include/uv/uv/unix.h", + "external/ios/include/uv/uv/version.h", + "external/ios/include/uv/uv/win.h", + "external/ios/include/v8/libplatform/libplatform-export.h", + "external/ios/include/v8/libplatform/libplatform.h", + "external/ios/include/v8/libplatform/v8-tracing.h", + "external/ios/include/v8/v8-inspector-protocol.h", + "external/ios/include/v8/v8-inspector.h", + "external/ios/include/v8/v8-internal.h", + "external/ios/include/v8/v8-platform.h", + "external/ios/include/v8/v8-profiler.h", + "external/ios/include/v8/v8-testing.h", + "external/ios/include/v8/v8-util.h", + "external/ios/include/v8/v8-value-serializer-version.h", + "external/ios/include/v8/v8-version-string.h", + "external/ios/include/v8/v8-version.h", + "external/ios/include/v8/v8-wasm-trap-handler-posix.h", + "external/ios/include/v8/v8-wasm-trap-handler-win.h", + "external/ios/include/v8/v8.h", + "external/ios/include/v8/v8config.h", + "external/ios/include/webp/decode.h", + "external/ios/include/webp/encode.h", + "external/ios/include/webp/types.h", + "external/ios/include/websockets/libwebsockets.h", + "external/ios/include/websockets/lws_config-arm32.h", + "external/ios/include/websockets/lws_config-arm64.h", + "external/ios/include/websockets/lws_config-i386.h", + "external/ios/include/websockets/lws_config-x86_64.h", + "external/ios/include/websockets/lws_config.h", + "external/ios/libs/glslang/libOGLCompiler.a", + "external/ios/libs/glslang/libOSDependent.a", + "external/ios/libs/glslang/libSPIRV.a", + "external/ios/libs/glslang/libglslang-default-resource-limits.a", + "external/ios/libs/glslang/libglslang.a", + "external/ios/libs/libcrypto.a", + "external/ios/libs/libfreetype.a", + "external/ios/libs/libjpeg.a", + "external/ios/libs/libpng.a", + "external/ios/libs/libssl.a", + "external/ios/libs/libtbb_static.a", + "external/ios/libs/libtbbmalloc_proxy_static.a", + "external/ios/libs/libtbbmalloc_static.a", + "external/ios/libs/libuv_a.a", + "external/ios/libs/libv8_monolith.a", + "external/ios/libs/libwebp.a", + "external/ios/libs/libwebsockets.a", + "external/ios/libs/spirv-cross/libspirv-cross-core.a", + "external/ios/libs/spirv-cross/libspirv-cross-glsl.a", + "external/ios/libs/spirv-cross/libspirv-cross-msl.a", + "external/mac/CMakeLists.txt", + "external/mac/include/StandAlone/ResourceLimits.h", + "external/mac/include/StandAlone/resource_limits_c.h", + "external/mac/include/curl/curl.h", + "external/mac/include/curl/curlbuild.h", + "external/mac/include/curl/curlrules.h", + "external/mac/include/curl/curlver.h", + "external/mac/include/curl/easy.h", + "external/mac/include/curl/mprintf.h", + "external/mac/include/curl/multi.h", + "external/mac/include/curl/stdcheaders.h", + "external/mac/include/curl/typecheck-gcc.h", + "external/mac/include/freetype/config/ftconfig.h", + "external/mac/include/freetype/config/ftheader.h", + "external/mac/include/freetype/config/ftmodule.h", + "external/mac/include/freetype/config/ftoption.h", + "external/mac/include/freetype/config/ftstdlib.h", + "external/mac/include/freetype/freetype.h", + "external/mac/include/freetype/ft2build.h", + "external/mac/include/freetype/ftadvanc.h", + "external/mac/include/freetype/ftautoh.h", + "external/mac/include/freetype/ftbbox.h", + "external/mac/include/freetype/ftbdf.h", + "external/mac/include/freetype/ftbitmap.h", + "external/mac/include/freetype/ftbzip2.h", + "external/mac/include/freetype/ftcache.h", + "external/mac/include/freetype/ftcffdrv.h", + "external/mac/include/freetype/ftchapters.h", + "external/mac/include/freetype/ftcid.h", + "external/mac/include/freetype/fterrdef.h", + "external/mac/include/freetype/fterrors.h", + "external/mac/include/freetype/ftfntfmt.h", + "external/mac/include/freetype/ftgasp.h", + "external/mac/include/freetype/ftglyph.h", + "external/mac/include/freetype/ftgxval.h", + "external/mac/include/freetype/ftgzip.h", + "external/mac/include/freetype/ftimage.h", + "external/mac/include/freetype/ftincrem.h", + "external/mac/include/freetype/ftlcdfil.h", + "external/mac/include/freetype/ftlist.h", + "external/mac/include/freetype/ftlzw.h", + "external/mac/include/freetype/ftmac.h", + "external/mac/include/freetype/ftmm.h", + "external/mac/include/freetype/ftmodapi.h", + "external/mac/include/freetype/ftmoderr.h", + "external/mac/include/freetype/ftotval.h", + "external/mac/include/freetype/ftoutln.h", + "external/mac/include/freetype/ftpfr.h", + "external/mac/include/freetype/ftrender.h", + "external/mac/include/freetype/ftsizes.h", + "external/mac/include/freetype/ftsnames.h", + "external/mac/include/freetype/ftstroke.h", + "external/mac/include/freetype/ftsynth.h", + "external/mac/include/freetype/ftsystem.h", + "external/mac/include/freetype/fttrigon.h", + "external/mac/include/freetype/ftttdrv.h", + "external/mac/include/freetype/fttypes.h", + "external/mac/include/freetype/ftwinfnt.h", + "external/mac/include/freetype/t1tables.h", + "external/mac/include/freetype/ttnameid.h", + "external/mac/include/freetype/tttables.h", + "external/mac/include/freetype/tttags.h", + "external/mac/include/freetype/ttunpat.h", + "external/mac/include/glslang/Include/BaseTypes.h", + "external/mac/include/glslang/Include/Common.h", + "external/mac/include/glslang/Include/ConstantUnion.h", + "external/mac/include/glslang/Include/InfoSink.h", + "external/mac/include/glslang/Include/InitializeGlobals.h", + "external/mac/include/glslang/Include/PoolAlloc.h", + "external/mac/include/glslang/Include/ResourceLimits.h", + "external/mac/include/glslang/Include/ShHandle.h", + "external/mac/include/glslang/Include/Types.h", + "external/mac/include/glslang/Include/arrays.h", + "external/mac/include/glslang/Include/glslang_c_interface.h", + "external/mac/include/glslang/Include/glslang_c_shader_types.h", + "external/mac/include/glslang/Include/intermediate.h", + "external/mac/include/glslang/Include/revision.h", + "external/mac/include/glslang/MachineIndependent/Initialize.h", + "external/mac/include/glslang/MachineIndependent/LiveTraverser.h", + "external/mac/include/glslang/MachineIndependent/ParseHelper.h", + "external/mac/include/glslang/MachineIndependent/RemoveTree.h", + "external/mac/include/glslang/MachineIndependent/Scan.h", + "external/mac/include/glslang/MachineIndependent/ScanContext.h", + "external/mac/include/glslang/MachineIndependent/SymbolTable.h", + "external/mac/include/glslang/MachineIndependent/Versions.h", + "external/mac/include/glslang/MachineIndependent/attribute.h", + "external/mac/include/glslang/MachineIndependent/gl_types.h", + "external/mac/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/mac/include/glslang/MachineIndependent/iomapper.h", + "external/mac/include/glslang/MachineIndependent/localintermediate.h", + "external/mac/include/glslang/MachineIndependent/parseVersions.h", + "external/mac/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/mac/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/mac/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/mac/include/glslang/MachineIndependent/reflection.h", + "external/mac/include/glslang/Public/ShaderLang.h", + "external/mac/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/mac/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/mac/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/mac/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/mac/include/glslang/SPIRV/GLSL.std.450.h", + "external/mac/include/glslang/SPIRV/GlslangToSpv.h", + "external/mac/include/glslang/SPIRV/Logger.h", + "external/mac/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/mac/include/glslang/SPIRV/SPVRemapper.h", + "external/mac/include/glslang/SPIRV/SpvBuilder.h", + "external/mac/include/glslang/SPIRV/SpvTools.h", + "external/mac/include/glslang/SPIRV/bitutils.h", + "external/mac/include/glslang/SPIRV/disassemble.h", + "external/mac/include/glslang/SPIRV/doc.h", + "external/mac/include/glslang/SPIRV/hex_float.h", + "external/mac/include/glslang/SPIRV/spirv.hpp", + "external/mac/include/glslang/SPIRV/spvIR.h", + "external/mac/include/jpeg/jconfig.h", + "external/mac/include/jpeg/jmorecfg.h", + "external/mac/include/jpeg/jpeglib.h", + "external/mac/include/openssl/aes.h", + "external/mac/include/openssl/asn1.h", + "external/mac/include/openssl/asn1_mac.h", + "external/mac/include/openssl/asn1t.h", + "external/mac/include/openssl/async.h", + "external/mac/include/openssl/bio.h", + "external/mac/include/openssl/blowfish.h", + "external/mac/include/openssl/bn.h", + "external/mac/include/openssl/buffer.h", + "external/mac/include/openssl/camellia.h", + "external/mac/include/openssl/cast.h", + "external/mac/include/openssl/cmac.h", + "external/mac/include/openssl/cms.h", + "external/mac/include/openssl/comp.h", + "external/mac/include/openssl/conf.h", + "external/mac/include/openssl/conf_api.h", + "external/mac/include/openssl/crypto.h", + "external/mac/include/openssl/ct.h", + "external/mac/include/openssl/des.h", + "external/mac/include/openssl/dh.h", + "external/mac/include/openssl/dsa.h", + "external/mac/include/openssl/dtls1.h", + "external/mac/include/openssl/e_os2.h", + "external/mac/include/openssl/ebcdic.h", + "external/mac/include/openssl/ec.h", + "external/mac/include/openssl/ecdh.h", + "external/mac/include/openssl/ecdsa.h", + "external/mac/include/openssl/engine.h", + "external/mac/include/openssl/err.h", + "external/mac/include/openssl/evp.h", + "external/mac/include/openssl/hmac.h", + "external/mac/include/openssl/idea.h", + "external/mac/include/openssl/kdf.h", + "external/mac/include/openssl/lhash.h", + "external/mac/include/openssl/md2.h", + "external/mac/include/openssl/md4.h", + "external/mac/include/openssl/md5.h", + "external/mac/include/openssl/mdc2.h", + "external/mac/include/openssl/modes.h", + "external/mac/include/openssl/obj_mac.h", + "external/mac/include/openssl/objects.h", + "external/mac/include/openssl/ocsp.h", + "external/mac/include/openssl/opensslconf.h", + "external/mac/include/openssl/opensslv.h", + "external/mac/include/openssl/ossl_typ.h", + "external/mac/include/openssl/pem.h", + "external/mac/include/openssl/pem2.h", + "external/mac/include/openssl/pkcs12.h", + "external/mac/include/openssl/pkcs7.h", + "external/mac/include/openssl/rand.h", + "external/mac/include/openssl/rc2.h", + "external/mac/include/openssl/rc4.h", + "external/mac/include/openssl/rc5.h", + "external/mac/include/openssl/ripemd.h", + "external/mac/include/openssl/rsa.h", + "external/mac/include/openssl/safestack.h", + "external/mac/include/openssl/seed.h", + "external/mac/include/openssl/sha.h", + "external/mac/include/openssl/srp.h", + "external/mac/include/openssl/srtp.h", + "external/mac/include/openssl/ssl.h", + "external/mac/include/openssl/ssl2.h", + "external/mac/include/openssl/ssl3.h", + "external/mac/include/openssl/stack.h", + "external/mac/include/openssl/symhacks.h", + "external/mac/include/openssl/tls1.h", + "external/mac/include/openssl/ts.h", + "external/mac/include/openssl/txt_db.h", + "external/mac/include/openssl/ui.h", + "external/mac/include/openssl/whrlpool.h", + "external/mac/include/openssl/x509.h", + "external/mac/include/openssl/x509_vfy.h", + "external/mac/include/openssl/x509v3.h", + "external/mac/include/png/png.h", + "external/mac/include/png/pngconf.h", + "external/mac/include/png/pnglibconf.h", + "external/mac/include/pvrsdk/CL/cl.h", + "external/mac/include/pvrsdk/CL/cl2.hpp", + "external/mac/include/pvrsdk/CL/cl_d3d10.h", + "external/mac/include/pvrsdk/CL/cl_d3d11.h", + "external/mac/include/pvrsdk/CL/cl_dx9_media_sharing.h", + "external/mac/include/pvrsdk/CL/cl_egl.h", + "external/mac/include/pvrsdk/CL/cl_ext.h", + "external/mac/include/pvrsdk/CL/cl_gl.h", + "external/mac/include/pvrsdk/CL/cl_gl_ext.h", + "external/mac/include/pvrsdk/CL/cl_platform.h", + "external/mac/include/pvrsdk/CL/opencl.h", + "external/mac/include/pvrsdk/DynamicEgl.h", + "external/mac/include/pvrsdk/DynamicGles.h", + "external/mac/include/pvrsdk/DynamicOCL.h", + "external/mac/include/pvrsdk/EGL/egl.h", + "external/mac/include/pvrsdk/EGL/eglext.h", + "external/mac/include/pvrsdk/EGL/eglplatform.h", + "external/mac/include/pvrsdk/GLES/egl.h", + "external/mac/include/pvrsdk/GLES/gl.h", + "external/mac/include/pvrsdk/GLES/glext.h", + "external/mac/include/pvrsdk/GLES/glplatform.h", + "external/mac/include/pvrsdk/GLES2/gl2.h", + "external/mac/include/pvrsdk/GLES2/gl2ext.h", + "external/mac/include/pvrsdk/GLES2/gl2platform.h", + "external/mac/include/pvrsdk/GLES3/gl3.h", + "external/mac/include/pvrsdk/GLES3/gl31.h", + "external/mac/include/pvrsdk/GLES3/gl32.h", + "external/mac/include/pvrsdk/GLES3/gl3platform.h", + "external/mac/include/pvrsdk/KHR/khrplatform.h", + "external/mac/include/pvrsdk/PVRScopeComms.h", + "external/mac/include/pvrsdk/PVRScopeStats.h", + "external/mac/include/pvrsdk/pvr_openlib.h", + "external/mac/include/pvrsdk/sdkver.h", + "external/mac/include/pvrsdk/vk_bindings.h", + "external/mac/include/pvrsdk/vk_bindings_helper.h", + "external/mac/include/pvrsdk/vulkan/vk_icd.h", + "external/mac/include/pvrsdk/vulkan/vk_layer.h", + "external/mac/include/pvrsdk/vulkan/vk_platform.h", + "external/mac/include/pvrsdk/vulkan/vulkan.h", + "external/mac/include/pvrsdk/vulkan/vulkan_android.h", + "external/mac/include/pvrsdk/vulkan/vulkan_core.h", + "external/mac/include/pvrsdk/vulkan/vulkan_ios.h", + "external/mac/include/pvrsdk/vulkan/vulkan_macos.h", + "external/mac/include/pvrsdk/vulkan/vulkan_mir.h", + "external/mac/include/pvrsdk/vulkan/vulkan_vi.h", + "external/mac/include/pvrsdk/vulkan/vulkan_wayland.h", + "external/mac/include/pvrsdk/vulkan/vulkan_win32.h", + "external/mac/include/pvrsdk/vulkan/vulkan_xcb.h", + "external/mac/include/pvrsdk/vulkan/vulkan_xlib.h", + "external/mac/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", + "external/mac/include/spirv_cross/GLSL.std.450.h", + "external/mac/include/spirv_cross/spirv.h", + "external/mac/include/spirv_cross/spirv.hpp", + "external/mac/include/spirv_cross/spirv_cfg.hpp", + "external/mac/include/spirv_cross/spirv_common.hpp", + "external/mac/include/spirv_cross/spirv_cpp.hpp", + "external/mac/include/spirv_cross/spirv_cross.hpp", + "external/mac/include/spirv_cross/spirv_cross_c.h", + "external/mac/include/spirv_cross/spirv_cross_containers.hpp", + "external/mac/include/spirv_cross/spirv_cross_error_handling.hpp", + "external/mac/include/spirv_cross/spirv_cross_parsed_ir.hpp", + "external/mac/include/spirv_cross/spirv_cross_util.hpp", + "external/mac/include/spirv_cross/spirv_glsl.hpp", + "external/mac/include/spirv_cross/spirv_hlsl.hpp", + "external/mac/include/spirv_cross/spirv_msl.hpp", + "external/mac/include/spirv_cross/spirv_parser.hpp", + "external/mac/include/spirv_cross/spirv_reflect.hpp", + "external/mac/include/uv/uv.h", + "external/mac/include/uv/uv/aix.h", + "external/mac/include/uv/uv/android-ifaddrs.h", + "external/mac/include/uv/uv/bsd.h", + "external/mac/include/uv/uv/darwin.h", + "external/mac/include/uv/uv/errno.h", + "external/mac/include/uv/uv/linux.h", + "external/mac/include/uv/uv/os390.h", + "external/mac/include/uv/uv/posix.h", + "external/mac/include/uv/uv/pthread-barrier.h", + "external/mac/include/uv/uv/stdint-msvc2008.h", + "external/mac/include/uv/uv/sunos.h", + "external/mac/include/uv/uv/threadpool.h", + "external/mac/include/uv/uv/tree.h", + "external/mac/include/uv/uv/unix.h", + "external/mac/include/uv/uv/version.h", + "external/mac/include/uv/uv/win.h", + "external/mac/include/v8/libplatform/libplatform-export.h", + "external/mac/include/v8/libplatform/libplatform.h", + "external/mac/include/v8/libplatform/v8-tracing.h", + "external/mac/include/v8/v8-inspector-protocol.h", + "external/mac/include/v8/v8-inspector.h", + "external/mac/include/v8/v8-internal.h", + "external/mac/include/v8/v8-platform.h", + "external/mac/include/v8/v8-profiler.h", + "external/mac/include/v8/v8-testing.h", + "external/mac/include/v8/v8-util.h", + "external/mac/include/v8/v8-value-serializer-version.h", + "external/mac/include/v8/v8-version-string.h", + "external/mac/include/v8/v8-version.h", + "external/mac/include/v8/v8-wasm-trap-handler-posix.h", + "external/mac/include/v8/v8-wasm-trap-handler-win.h", + "external/mac/include/v8/v8.h", + "external/mac/include/v8/v8config.h", + "external/mac/include/webp/decode.h", + "external/mac/include/webp/encode.h", + "external/mac/include/webp/types.h", + "external/mac/include/websockets/libwebsockets.h", + "external/mac/include/websockets/lws_config.h", + "external/mac/include/zlib/zconf.h", + "external/mac/include/zlib/zlib.h", + "external/mac/libs/glslang/libOGLCompiler.a", + "external/mac/libs/glslang/libOSDependent.a", + "external/mac/libs/glslang/libSPIRV.a", + "external/mac/libs/glslang/libglslang-default-resource-limits.a", + "external/mac/libs/glslang/libglslang.a", + "external/mac/libs/libEGL.dylib", + "external/mac/libs/libGLESv2.dylib", + "external/mac/libs/libcrypto.a", + "external/mac/libs/libcurl.a", + "external/mac/libs/libfreetype.a", + "external/mac/libs/libinspector.a", + "external/mac/libs/libjpeg.a", + "external/mac/libs/libpng.a", + "external/mac/libs/libspirv-cross-core.a", + "external/mac/libs/libspirv-cross-glsl.a", + "external/mac/libs/libspirv-cross-msl.a", + "external/mac/libs/libssl.a", + "external/mac/libs/libtbb_static.a", + "external/mac/libs/libtbbmalloc_proxy_static.a", + "external/mac/libs/libtbbmalloc_static.a", + "external/mac/libs/libuv_a.a", + "external/mac/libs/libv8_monolith.a", + "external/mac/libs/libwebp.a", + "external/mac/libs/libwebsockets.a", + "external/mac/libs/libz.a", + "external/sources/CMakeLists.txt", + "external/sources/ConvertUTF/CMakeLists.txt", + "external/sources/ConvertUTF/ConvertUTF.c", + "external/sources/ConvertUTF/ConvertUTF.h", + "external/sources/ConvertUTF/ConvertUTFWrapper.cpp", + "external/sources/SocketRocket/CMakeLists.txt", + "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.h", + "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.m", + "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumer.h", + "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumer.m", + "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumerPool.h", + "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumerPool.m", + "external/sources/SocketRocket/Internal/NSRunLoop+SRWebSocketPrivate.h", + "external/sources/SocketRocket/Internal/NSURLRequest+SRWebSocketPrivate.h", + "external/sources/SocketRocket/Internal/Proxy/SRProxyConnect.h", + "external/sources/SocketRocket/Internal/Proxy/SRProxyConnect.m", + "external/sources/SocketRocket/Internal/RunLoop/SRRunLoopThread.h", + "external/sources/SocketRocket/Internal/RunLoop/SRRunLoopThread.m", + "external/sources/SocketRocket/Internal/SRConstants.h", + "external/sources/SocketRocket/Internal/SRConstants.m", + "external/sources/SocketRocket/Internal/Security/SRPinningSecurityPolicy.h", + "external/sources/SocketRocket/Internal/Security/SRPinningSecurityPolicy.m", + "external/sources/SocketRocket/Internal/Utilities/SRError.h", + "external/sources/SocketRocket/Internal/Utilities/SRError.m", + "external/sources/SocketRocket/Internal/Utilities/SRHTTPConnectMessage.h", + "external/sources/SocketRocket/Internal/Utilities/SRHTTPConnectMessage.m", + "external/sources/SocketRocket/Internal/Utilities/SRHash.h", + "external/sources/SocketRocket/Internal/Utilities/SRHash.m", + "external/sources/SocketRocket/Internal/Utilities/SRLog.h", + "external/sources/SocketRocket/Internal/Utilities/SRLog.m", + "external/sources/SocketRocket/Internal/Utilities/SRMutex.h", + "external/sources/SocketRocket/Internal/Utilities/SRMutex.m", + "external/sources/SocketRocket/Internal/Utilities/SRRandom.h", + "external/sources/SocketRocket/Internal/Utilities/SRRandom.m", + "external/sources/SocketRocket/Internal/Utilities/SRSIMDHelpers.h", + "external/sources/SocketRocket/Internal/Utilities/SRSIMDHelpers.m", + "external/sources/SocketRocket/Internal/Utilities/SRURLUtilities.h", + "external/sources/SocketRocket/Internal/Utilities/SRURLUtilities.m", + "external/sources/SocketRocket/NSRunLoop+SRWebSocket.h", + "external/sources/SocketRocket/NSRunLoop+SRWebSocket.m", + "external/sources/SocketRocket/NSURLRequest+SRWebSocket.h", + "external/sources/SocketRocket/NSURLRequest+SRWebSocket.m", + "external/sources/SocketRocket/SRSecurityPolicy.h", + "external/sources/SocketRocket/SRSecurityPolicy.m", + "external/sources/SocketRocket/SRWebSocket.h", + "external/sources/SocketRocket/SRWebSocket.m", + "external/sources/SocketRocket/SocketRocket.h", + "external/sources/acl/compression/compress.h", + "external/sources/acl/compression/compression_level.h", + "external/sources/acl/compression/compression_settings.h", + "external/sources/acl/compression/convert.h", + "external/sources/acl/compression/impl/animated_track_utils.h", + "external/sources/acl/compression/impl/clip_context.h", + "external/sources/acl/compression/impl/compact_constant_streams.h", + "external/sources/acl/compression/impl/compress.impl.h", + "external/sources/acl/compression/impl/compression_settings.impl.h", + "external/sources/acl/compression/impl/constant_track_impl.h", + "external/sources/acl/compression/impl/convert.impl.h", + "external/sources/acl/compression/impl/convert_rotation_streams.h", + "external/sources/acl/compression/impl/normalize_streams.h", + "external/sources/acl/compression/impl/normalize_track_impl.h", + "external/sources/acl/compression/impl/quantize_streams.h", + "external/sources/acl/compression/impl/quantize_track_impl.h", + "external/sources/acl/compression/impl/sample_streams.h", + "external/sources/acl/compression/impl/segment_context.h", + "external/sources/acl/compression/impl/segment_streams.h", + "external/sources/acl/compression/impl/track.impl.h", + "external/sources/acl/compression/impl/track_array.impl.h", + "external/sources/acl/compression/impl/track_bit_rate_database.h", + "external/sources/acl/compression/impl/track_error.impl.h", + "external/sources/acl/compression/impl/track_list_context.h", + "external/sources/acl/compression/impl/track_range.h", + "external/sources/acl/compression/impl/track_range_impl.h", + "external/sources/acl/compression/impl/track_stream.h", + "external/sources/acl/compression/impl/transform_bit_rate_permutations.h", + "external/sources/acl/compression/impl/write_compression_stats_impl.h", + "external/sources/acl/compression/impl/write_decompression_stats.h", + "external/sources/acl/compression/impl/write_range_data.h", + "external/sources/acl/compression/impl/write_segment_data.h", + "external/sources/acl/compression/impl/write_stats.h", + "external/sources/acl/compression/impl/write_stream_bitsets.h", + "external/sources/acl/compression/impl/write_stream_data.h", + "external/sources/acl/compression/impl/write_track_data_impl.h", + "external/sources/acl/compression/impl/write_track_metadata.h", + "external/sources/acl/compression/output_stats.h", + "external/sources/acl/compression/track.h", + "external/sources/acl/compression/track_array.h", + "external/sources/acl/compression/track_error.h", + "external/sources/acl/compression/transform_error_metrics.h", + "external/sources/acl/compression/transform_pose_utils.h", + "external/sources/acl/core/additive_utils.h", + "external/sources/acl/core/algorithm_types.h", + "external/sources/acl/core/ansi_allocator.h", + "external/sources/acl/core/bit_manip_utils.h", + "external/sources/acl/core/bitset.h", + "external/sources/acl/core/buffer_tag.h", + "external/sources/acl/core/compressed_tracks.h", + "external/sources/acl/core/compressed_tracks_version.h", + "external/sources/acl/core/enum_utils.h", + "external/sources/acl/core/error.h", + "external/sources/acl/core/error_result.h", + "external/sources/acl/core/floating_point_exceptions.h", + "external/sources/acl/core/hash.h", + "external/sources/acl/core/iallocator.h", + "external/sources/acl/core/impl/compiler_utils.h", + "external/sources/acl/core/impl/compressed_headers.h", + "external/sources/acl/core/impl/compressed_tracks.impl.h", + "external/sources/acl/core/impl/debug_track_writer.h", + "external/sources/acl/core/impl/memory_cache.h", + "external/sources/acl/core/impl/track_desc.impl.h", + "external/sources/acl/core/impl/track_formats.impl.h", + "external/sources/acl/core/interpolation_utils.h", + "external/sources/acl/core/iterator.h", + "external/sources/acl/core/memory_utils.h", + "external/sources/acl/core/ptr_offset.h", + "external/sources/acl/core/range_reduction_types.h", + "external/sources/acl/core/scope_profiler.h", + "external/sources/acl/core/string.h", + "external/sources/acl/core/track_desc.h", + "external/sources/acl/core/track_formats.h", + "external/sources/acl/core/track_traits.h", + "external/sources/acl/core/track_types.h", + "external/sources/acl/core/track_writer.h", + "external/sources/acl/core/unique_ptr.h", + "external/sources/acl/core/utils.h", + "external/sources/acl/core/variable_bit_rates.h", + "external/sources/acl/decompression/decompress.h", + "external/sources/acl/decompression/impl/decompress.impl.h", + "external/sources/acl/decompression/impl/decompression_context_selector.h", + "external/sources/acl/decompression/impl/decompression_version_selector.h", + "external/sources/acl/decompression/impl/scalar_track_decompression.h", + "external/sources/acl/decompression/impl/track_cache.h", + "external/sources/acl/decompression/impl/transform_animated_track_cache.h", + "external/sources/acl/decompression/impl/transform_constant_track_cache.h", + "external/sources/acl/decompression/impl/transform_decompression_context.h", + "external/sources/acl/decompression/impl/transform_track_decompression.h", + "external/sources/acl/decompression/impl/universal_track_decompression.h", + "external/sources/acl/io/clip_reader.h", + "external/sources/acl/io/clip_reader_error.h", + "external/sources/acl/io/clip_writer.h", + "external/sources/acl/math/quat_packing.h", + "external/sources/acl/math/quatf.h", + "external/sources/acl/math/scalar_packing.h", + "external/sources/acl/math/vector4_packing.h", + "external/sources/acl/math/vector4f.h", + "external/sources/boost/boost/accumulators/accumulators.hpp", + "external/sources/boost/boost/accumulators/accumulators_fwd.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_base.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_concept.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_set.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/external_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/reference_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/value_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/depends_on.hpp", + "external/sources/boost/boost/accumulators/framework/external.hpp", + "external/sources/boost/boost/accumulators/framework/extractor.hpp", + "external/sources/boost/boost/accumulators/framework/features.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/sample.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/weight.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/weights.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function1.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function2.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function3.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function4.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function_n.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/pod_singleton.hpp", + "external/sources/boost/boost/accumulators/numeric/functional.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/complex.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/valarray.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/vector.hpp", + "external/sources/boost/boost/accumulators/numeric/functional_fwd.hpp", + "external/sources/boost/boost/accumulators/statistics.hpp", + "external/sources/boost/boost/accumulators/statistics/count.hpp", + "external/sources/boost/boost/accumulators/statistics/covariance.hpp", + "external/sources/boost/boost/accumulators/statistics/density.hpp", + "external/sources/boost/boost/accumulators/statistics/error_of.hpp", + "external/sources/boost/boost/accumulators/statistics/error_of_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/extended_p_square.hpp", + "external/sources/boost/boost/accumulators/statistics/extended_p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/kurtosis.hpp", + "external/sources/boost/boost/accumulators/statistics/max.hpp", + "external/sources/boost/boost/accumulators/statistics/mean.hpp", + "external/sources/boost/boost/accumulators/statistics/median.hpp", + "external/sources/boost/boost/accumulators/statistics/min.hpp", + "external/sources/boost/boost/accumulators/statistics/moment.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_cumul_dist.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_cumulative_distribution.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/parameters/quantile_probability.hpp", + "external/sources/boost/boost/accumulators/statistics/peaks_over_threshold.hpp", + "external/sources/boost/boost/accumulators/statistics/pot_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/pot_tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_count.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_moment.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_sum.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_variance.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_window.hpp", + "external/sources/boost/boost/accumulators/statistics/skewness.hpp", + "external/sources/boost/boost/accumulators/statistics/stats.hpp", + "external/sources/boost/boost/accumulators/statistics/sum.hpp", + "external/sources/boost/boost/accumulators/statistics/sum_kahan.hpp", + "external/sources/boost/boost/accumulators/statistics/tail.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_variate.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_variate_means.hpp", + "external/sources/boost/boost/accumulators/statistics/times2_iterator.hpp", + "external/sources/boost/boost/accumulators/statistics/variance.hpp", + "external/sources/boost/boost/accumulators/statistics/variates/covariate.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_covariance.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_density.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_extended_p_square.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_kurtosis.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_median.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_moment.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumul_dist.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumulative_distribution.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_peaks_over_threshold.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_skewness.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_sum.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_sum_kahan.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_variate_means.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_variance.hpp", + "external/sources/boost/boost/accumulators/statistics/with_error.hpp", + "external/sources/boost/boost/accumulators/statistics_fwd.hpp", + "external/sources/boost/boost/algorithm/algorithm.hpp", + "external/sources/boost/boost/algorithm/apply_permutation.hpp", + "external/sources/boost/boost/algorithm/clamp.hpp", + "external/sources/boost/boost/algorithm/cxx11/all_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/any_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/copy_if.hpp", + "external/sources/boost/boost/algorithm/cxx11/copy_n.hpp", + "external/sources/boost/boost/algorithm/cxx11/find_if_not.hpp", + "external/sources/boost/boost/algorithm/cxx11/iota.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_partitioned.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_permutation.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_sorted.hpp", + "external/sources/boost/boost/algorithm/cxx11/none_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/one_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/partition_copy.hpp", + "external/sources/boost/boost/algorithm/cxx11/partition_point.hpp", + "external/sources/boost/boost/algorithm/cxx14/equal.hpp", + "external/sources/boost/boost/algorithm/cxx14/is_permutation.hpp", + "external/sources/boost/boost/algorithm/cxx14/mismatch.hpp", + "external/sources/boost/boost/algorithm/cxx17/exclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/for_each_n.hpp", + "external/sources/boost/boost/algorithm/cxx17/inclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/reduce.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_exclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_inclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_reduce.hpp", + "external/sources/boost/boost/algorithm/find_backward.hpp", + "external/sources/boost/boost/algorithm/find_not.hpp", + "external/sources/boost/boost/algorithm/gather.hpp", + "external/sources/boost/boost/algorithm/hex.hpp", + "external/sources/boost/boost/algorithm/is_palindrome.hpp", + "external/sources/boost/boost/algorithm/is_partitioned_until.hpp", + "external/sources/boost/boost/algorithm/minmax.hpp", + "external/sources/boost/boost/algorithm/minmax_element.hpp", + "external/sources/boost/boost/algorithm/searching/boyer_moore.hpp", + "external/sources/boost/boost/algorithm/searching/boyer_moore_horspool.hpp", + "external/sources/boost/boost/algorithm/searching/detail/bm_traits.hpp", + "external/sources/boost/boost/algorithm/searching/detail/debugging.hpp", + "external/sources/boost/boost/algorithm/searching/knuth_morris_pratt.hpp", + "external/sources/boost/boost/algorithm/sort_subrange.hpp", + "external/sources/boost/boost/algorithm/string.hpp", + "external/sources/boost/boost/algorithm/string/case_conv.hpp", + "external/sources/boost/boost/algorithm/string/classification.hpp", + "external/sources/boost/boost/algorithm/string/compare.hpp", + "external/sources/boost/boost/algorithm/string/concept.hpp", + "external/sources/boost/boost/algorithm/string/config.hpp", + "external/sources/boost/boost/algorithm/string/constants.hpp", + "external/sources/boost/boost/algorithm/string/detail/case_conv.hpp", + "external/sources/boost/boost/algorithm/string/detail/classification.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format_all.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format_store.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_iterator.hpp", + "external/sources/boost/boost/algorithm/string/detail/finder.hpp", + "external/sources/boost/boost/algorithm/string/detail/finder_regex.hpp", + "external/sources/boost/boost/algorithm/string/detail/formatter.hpp", + "external/sources/boost/boost/algorithm/string/detail/formatter_regex.hpp", + "external/sources/boost/boost/algorithm/string/detail/predicate.hpp", + "external/sources/boost/boost/algorithm/string/detail/replace_storage.hpp", + "external/sources/boost/boost/algorithm/string/detail/sequence.hpp", + "external/sources/boost/boost/algorithm/string/detail/trim.hpp", + "external/sources/boost/boost/algorithm/string/detail/util.hpp", + "external/sources/boost/boost/algorithm/string/erase.hpp", + "external/sources/boost/boost/algorithm/string/find.hpp", + "external/sources/boost/boost/algorithm/string/find_format.hpp", + "external/sources/boost/boost/algorithm/string/find_iterator.hpp", + "external/sources/boost/boost/algorithm/string/finder.hpp", + "external/sources/boost/boost/algorithm/string/formatter.hpp", + "external/sources/boost/boost/algorithm/string/iter_find.hpp", + "external/sources/boost/boost/algorithm/string/join.hpp", + "external/sources/boost/boost/algorithm/string/predicate.hpp", + "external/sources/boost/boost/algorithm/string/predicate_facade.hpp", + "external/sources/boost/boost/algorithm/string/regex.hpp", + "external/sources/boost/boost/algorithm/string/regex_find_format.hpp", + "external/sources/boost/boost/algorithm/string/replace.hpp", + "external/sources/boost/boost/algorithm/string/sequence_traits.hpp", + "external/sources/boost/boost/algorithm/string/split.hpp", + "external/sources/boost/boost/algorithm/string/std/list_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/rope_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/slist_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/string_traits.hpp", + "external/sources/boost/boost/algorithm/string/std_containers_traits.hpp", + "external/sources/boost/boost/algorithm/string/trim.hpp", + "external/sources/boost/boost/algorithm/string/trim_all.hpp", + "external/sources/boost/boost/algorithm/string/yes_no_type.hpp", + "external/sources/boost/boost/algorithm/string_regex.hpp", + "external/sources/boost/boost/align.hpp", + "external/sources/boost/boost/align/align.hpp", + "external/sources/boost/boost/align/align_down.hpp", + "external/sources/boost/boost/align/align_up.hpp", + "external/sources/boost/boost/align/aligned_alloc.hpp", + "external/sources/boost/boost/align/aligned_allocator.hpp", + "external/sources/boost/boost/align/aligned_allocator_adaptor.hpp", + "external/sources/boost/boost/align/aligned_allocator_adaptor_forward.hpp", + "external/sources/boost/boost/align/aligned_allocator_forward.hpp", + "external/sources/boost/boost/align/aligned_delete.hpp", + "external/sources/boost/boost/align/aligned_delete_forward.hpp", + "external/sources/boost/boost/align/alignment_of.hpp", + "external/sources/boost/boost/align/alignment_of_forward.hpp", + "external/sources/boost/boost/align/assume_aligned.hpp", + "external/sources/boost/boost/align/detail/add_reference.hpp", + "external/sources/boost/boost/align/detail/align.hpp", + "external/sources/boost/boost/align/detail/align_cxx11.hpp", + "external/sources/boost/boost/align/detail/align_down.hpp", + "external/sources/boost/boost/align/detail/align_up.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_android.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_macos.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_mingw.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_msvc.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_new.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_posix.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_sunos.hpp", + "external/sources/boost/boost/align/detail/alignment_of.hpp", + "external/sources/boost/boost/align/detail/alignment_of_clang.hpp", + "external/sources/boost/boost/align/detail/alignment_of_codegear.hpp", + "external/sources/boost/boost/align/detail/alignment_of_cxx11.hpp", + "external/sources/boost/boost/align/detail/alignment_of_gcc.hpp", + "external/sources/boost/boost/align/detail/alignment_of_msvc.hpp", + "external/sources/boost/boost/align/detail/assume_aligned.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_clang.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_gcc.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_intel.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_msvc.hpp", + "external/sources/boost/boost/align/detail/element_type.hpp", + "external/sources/boost/boost/align/detail/integral_constant.hpp", + "external/sources/boost/boost/align/detail/is_aligned.hpp", + "external/sources/boost/boost/align/detail/is_alignment.hpp", + "external/sources/boost/boost/align/detail/is_alignment_constant.hpp", + "external/sources/boost/boost/align/detail/max_align.hpp", + "external/sources/boost/boost/align/detail/max_objects.hpp", + "external/sources/boost/boost/align/detail/max_size.hpp", + "external/sources/boost/boost/align/detail/min_size.hpp", + "external/sources/boost/boost/align/detail/not_pointer.hpp", + "external/sources/boost/boost/align/detail/throw_exception.hpp", + "external/sources/boost/boost/align/is_aligned.hpp", + "external/sources/boost/boost/aligned_storage.hpp", + "external/sources/boost/boost/any.hpp", + "external/sources/boost/boost/archive/archive_exception.hpp", + "external/sources/boost/boost/archive/basic_archive.hpp", + "external/sources/boost/boost/archive/basic_binary_iarchive.hpp", + "external/sources/boost/boost/archive/basic_binary_iprimitive.hpp", + "external/sources/boost/boost/archive/basic_binary_oarchive.hpp", + "external/sources/boost/boost/archive/basic_binary_oprimitive.hpp", + "external/sources/boost/boost/archive/basic_streambuf_locale_saver.hpp", + "external/sources/boost/boost/archive/basic_text_iarchive.hpp", + "external/sources/boost/boost/archive/basic_text_iprimitive.hpp", + "external/sources/boost/boost/archive/basic_text_oarchive.hpp", + "external/sources/boost/boost/archive/basic_text_oprimitive.hpp", + "external/sources/boost/boost/archive/basic_xml_archive.hpp", + "external/sources/boost/boost/archive/basic_xml_iarchive.hpp", + "external/sources/boost/boost/archive/basic_xml_oarchive.hpp", + "external/sources/boost/boost/archive/binary_iarchive.hpp", + "external/sources/boost/boost/archive/binary_iarchive_impl.hpp", + "external/sources/boost/boost/archive/binary_oarchive.hpp", + "external/sources/boost/boost/archive/binary_oarchive_impl.hpp", + "external/sources/boost/boost/archive/binary_wiarchive.hpp", + "external/sources/boost/boost/archive/binary_woarchive.hpp", + "external/sources/boost/boost/archive/codecvt_null.hpp", + "external/sources/boost/boost/archive/detail/abi_prefix.hpp", + "external/sources/boost/boost/archive/detail/abi_suffix.hpp", + "external/sources/boost/boost/archive/detail/archive_serializer_map.hpp", + "external/sources/boost/boost/archive/detail/auto_link_archive.hpp", + "external/sources/boost/boost/archive/detail/auto_link_warchive.hpp", + "external/sources/boost/boost/archive/detail/basic_iarchive.hpp", + "external/sources/boost/boost/archive/detail/basic_iserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_oarchive.hpp", + "external/sources/boost/boost/archive/detail/basic_oserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_pointer_iserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_pointer_oserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_serializer.hpp", + "external/sources/boost/boost/archive/detail/basic_serializer_map.hpp", + "external/sources/boost/boost/archive/detail/check.hpp", + "external/sources/boost/boost/archive/detail/common_iarchive.hpp", + "external/sources/boost/boost/archive/detail/common_oarchive.hpp", + "external/sources/boost/boost/archive/detail/decl.hpp", + "external/sources/boost/boost/archive/detail/helper_collection.hpp", + "external/sources/boost/boost/archive/detail/interface_iarchive.hpp", + "external/sources/boost/boost/archive/detail/interface_oarchive.hpp", + "external/sources/boost/boost/archive/detail/iserializer.hpp", + "external/sources/boost/boost/archive/detail/oserializer.hpp", + "external/sources/boost/boost/archive/detail/polymorphic_iarchive_route.hpp", + "external/sources/boost/boost/archive/detail/polymorphic_oarchive_route.hpp", + "external/sources/boost/boost/archive/detail/register_archive.hpp", + "external/sources/boost/boost/archive/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/archive/dinkumware.hpp", + "external/sources/boost/boost/archive/impl/archive_serializer_map.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_iprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_oarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_oprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_iprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_oarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_oprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_xml_grammar.hpp", + "external/sources/boost/boost/archive/impl/basic_xml_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_xml_oarchive.ipp", + "external/sources/boost/boost/archive/impl/text_iarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_oarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_wiarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_woarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_iarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_oarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_wiarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_woarchive_impl.ipp", + "external/sources/boost/boost/archive/iterators/base64_exception.hpp", + "external/sources/boost/boost/archive/iterators/base64_from_binary.hpp", + "external/sources/boost/boost/archive/iterators/binary_from_base64.hpp", + "external/sources/boost/boost/archive/iterators/dataflow.hpp", + "external/sources/boost/boost/archive/iterators/dataflow_exception.hpp", + "external/sources/boost/boost/archive/iterators/escape.hpp", + "external/sources/boost/boost/archive/iterators/insert_linebreaks.hpp", + "external/sources/boost/boost/archive/iterators/istream_iterator.hpp", + "external/sources/boost/boost/archive/iterators/mb_from_wchar.hpp", + "external/sources/boost/boost/archive/iterators/ostream_iterator.hpp", + "external/sources/boost/boost/archive/iterators/remove_whitespace.hpp", + "external/sources/boost/boost/archive/iterators/transform_width.hpp", + "external/sources/boost/boost/archive/iterators/unescape.hpp", + "external/sources/boost/boost/archive/iterators/wchar_from_mb.hpp", + "external/sources/boost/boost/archive/iterators/xml_escape.hpp", + "external/sources/boost/boost/archive/iterators/xml_unescape.hpp", + "external/sources/boost/boost/archive/iterators/xml_unescape_exception.hpp", + "external/sources/boost/boost/archive/polymorphic_binary_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_binary_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_wiarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_woarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_wiarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_woarchive.hpp", + "external/sources/boost/boost/archive/text_iarchive.hpp", + "external/sources/boost/boost/archive/text_oarchive.hpp", + "external/sources/boost/boost/archive/text_wiarchive.hpp", + "external/sources/boost/boost/archive/text_woarchive.hpp", + "external/sources/boost/boost/archive/tmpdir.hpp", + "external/sources/boost/boost/archive/wcslen.hpp", + "external/sources/boost/boost/archive/xml_archive_exception.hpp", + "external/sources/boost/boost/archive/xml_iarchive.hpp", + "external/sources/boost/boost/archive/xml_oarchive.hpp", + "external/sources/boost/boost/archive/xml_wiarchive.hpp", + "external/sources/boost/boost/archive/xml_woarchive.hpp", + "external/sources/boost/boost/array.hpp", + "external/sources/boost/boost/asio.hpp", + "external/sources/boost/boost/asio/any_io_executor.hpp", + "external/sources/boost/boost/asio/associated_allocator.hpp", + "external/sources/boost/boost/asio/associated_executor.hpp", + "external/sources/boost/boost/asio/async_result.hpp", + "external/sources/boost/boost/asio/awaitable.hpp", + "external/sources/boost/boost/asio/basic_datagram_socket.hpp", + "external/sources/boost/boost/asio/basic_deadline_timer.hpp", + "external/sources/boost/boost/asio/basic_io_object.hpp", + "external/sources/boost/boost/asio/basic_raw_socket.hpp", + "external/sources/boost/boost/asio/basic_seq_packet_socket.hpp", + "external/sources/boost/boost/asio/basic_serial_port.hpp", + "external/sources/boost/boost/asio/basic_signal_set.hpp", + "external/sources/boost/boost/asio/basic_socket.hpp", + "external/sources/boost/boost/asio/basic_socket_acceptor.hpp", + "external/sources/boost/boost/asio/basic_socket_iostream.hpp", + "external/sources/boost/boost/asio/basic_socket_streambuf.hpp", + "external/sources/boost/boost/asio/basic_stream_socket.hpp", + "external/sources/boost/boost/asio/basic_streambuf.hpp", + "external/sources/boost/boost/asio/basic_streambuf_fwd.hpp", + "external/sources/boost/boost/asio/basic_waitable_timer.hpp", + "external/sources/boost/boost/asio/bind_executor.hpp", + "external/sources/boost/boost/asio/buffer.hpp", + "external/sources/boost/boost/asio/buffered_read_stream.hpp", + "external/sources/boost/boost/asio/buffered_read_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffered_stream.hpp", + "external/sources/boost/boost/asio/buffered_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffered_write_stream.hpp", + "external/sources/boost/boost/asio/buffered_write_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffers_iterator.hpp", + "external/sources/boost/boost/asio/co_spawn.hpp", + "external/sources/boost/boost/asio/completion_condition.hpp", + "external/sources/boost/boost/asio/compose.hpp", + "external/sources/boost/boost/asio/connect.hpp", + "external/sources/boost/boost/asio/coroutine.hpp", + "external/sources/boost/boost/asio/deadline_timer.hpp", + "external/sources/boost/boost/asio/defer.hpp", + "external/sources/boost/boost/asio/detached.hpp", + "external/sources/boost/boost/asio/detail/array.hpp", + "external/sources/boost/boost/asio/detail/array_fwd.hpp", + "external/sources/boost/boost/asio/detail/assert.hpp", + "external/sources/boost/boost/asio/detail/atomic_count.hpp", + "external/sources/boost/boost/asio/detail/base_from_completion_cond.hpp", + "external/sources/boost/boost/asio/detail/bind_handler.hpp", + "external/sources/boost/boost/asio/detail/blocking_executor_op.hpp", + "external/sources/boost/boost/asio/detail/buffer_resize_guard.hpp", + "external/sources/boost/boost/asio/detail/buffer_sequence_adapter.hpp", + "external/sources/boost/boost/asio/detail/buffered_stream_storage.hpp", + "external/sources/boost/boost/asio/detail/bulk_executor_op.hpp", + "external/sources/boost/boost/asio/detail/call_stack.hpp", + "external/sources/boost/boost/asio/detail/chrono.hpp", + "external/sources/boost/boost/asio/detail/chrono_time_traits.hpp", + "external/sources/boost/boost/asio/detail/completion_handler.hpp", + "external/sources/boost/boost/asio/detail/concurrency_hint.hpp", + "external/sources/boost/boost/asio/detail/conditionally_enabled_event.hpp", + "external/sources/boost/boost/asio/detail/conditionally_enabled_mutex.hpp", + "external/sources/boost/boost/asio/detail/config.hpp", + "external/sources/boost/boost/asio/detail/consuming_buffers.hpp", + "external/sources/boost/boost/asio/detail/cstddef.hpp", + "external/sources/boost/boost/asio/detail/cstdint.hpp", + "external/sources/boost/boost/asio/detail/date_time_fwd.hpp", + "external/sources/boost/boost/asio/detail/deadline_timer_service.hpp", + "external/sources/boost/boost/asio/detail/dependent_type.hpp", + "external/sources/boost/boost/asio/detail/descriptor_ops.hpp", + "external/sources/boost/boost/asio/detail/descriptor_read_op.hpp", + "external/sources/boost/boost/asio/detail/descriptor_write_op.hpp", + "external/sources/boost/boost/asio/detail/dev_poll_reactor.hpp", + "external/sources/boost/boost/asio/detail/epoll_reactor.hpp", + "external/sources/boost/boost/asio/detail/event.hpp", + "external/sources/boost/boost/asio/detail/eventfd_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/executor_function.hpp", + "external/sources/boost/boost/asio/detail/executor_op.hpp", + "external/sources/boost/boost/asio/detail/fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/fenced_block.hpp", + "external/sources/boost/boost/asio/detail/functional.hpp", + "external/sources/boost/boost/asio/detail/future.hpp", + "external/sources/boost/boost/asio/detail/gcc_arm_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_hppa_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_sync_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_x86_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/global.hpp", + "external/sources/boost/boost/asio/detail/handler_alloc_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_cont_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_invoke_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_tracking.hpp", + "external/sources/boost/boost/asio/detail/handler_type_requirements.hpp", + "external/sources/boost/boost/asio/detail/handler_work.hpp", + "external/sources/boost/boost/asio/detail/hash_map.hpp", + "external/sources/boost/boost/asio/detail/impl/buffer_sequence_adapter.ipp", + "external/sources/boost/boost/asio/detail/impl/descriptor_ops.ipp", + "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/epoll_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/epoll_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/eventfd_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/handler_tracking.ipp", + "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/null_event.ipp", + "external/sources/boost/boost/asio/detail/impl/pipe_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_event.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_thread.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_tss_ptr.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_descriptor_service.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_serial_port_service.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_socket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/resolver_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/scheduler.ipp", + "external/sources/boost/boost/asio/detail/impl/select_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/select_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/service_registry.hpp", + "external/sources/boost/boost/asio/detail/impl/service_registry.ipp", + "external/sources/boost/boost/asio/detail/impl/signal_set_service.ipp", + "external/sources/boost/boost/asio/detail/impl/socket_ops.ipp", + "external/sources/boost/boost/asio/detail/impl/socket_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/strand_executor_service.hpp", + "external/sources/boost/boost/asio/detail/impl/strand_executor_service.ipp", + "external/sources/boost/boost/asio/detail/impl/strand_service.hpp", + "external/sources/boost/boost/asio/detail/impl/strand_service.ipp", + "external/sources/boost/boost/asio/detail/impl/throw_error.ipp", + "external/sources/boost/boost/asio/detail/impl/timer_queue_ptime.ipp", + "external/sources/boost/boost/asio/detail/impl/timer_queue_set.ipp", + "external/sources/boost/boost/asio/detail/impl/win_event.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_handle_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.hpp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_serial_port_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_socket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/win_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/win_object_handle_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_static_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/win_thread.ipp", + "external/sources/boost/boost/asio/detail/impl/win_tss_ptr.ipp", + "external/sources/boost/boost/asio/detail/impl/winrt_ssocket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.ipp", + "external/sources/boost/boost/asio/detail/impl/winsock_init.ipp", + "external/sources/boost/boost/asio/detail/io_control.hpp", + "external/sources/boost/boost/asio/detail/io_object_impl.hpp", + "external/sources/boost/boost/asio/detail/is_buffer_sequence.hpp", + "external/sources/boost/boost/asio/detail/is_executor.hpp", + "external/sources/boost/boost/asio/detail/keyword_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/kqueue_reactor.hpp", + "external/sources/boost/boost/asio/detail/limits.hpp", + "external/sources/boost/boost/asio/detail/local_free_on_block_exit.hpp", + "external/sources/boost/boost/asio/detail/macos_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/memory.hpp", + "external/sources/boost/boost/asio/detail/mutex.hpp", + "external/sources/boost/boost/asio/detail/non_const_lvalue.hpp", + "external/sources/boost/boost/asio/detail/noncopyable.hpp", + "external/sources/boost/boost/asio/detail/null_event.hpp", + "external/sources/boost/boost/asio/detail/null_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/null_global.hpp", + "external/sources/boost/boost/asio/detail/null_mutex.hpp", + "external/sources/boost/boost/asio/detail/null_reactor.hpp", + "external/sources/boost/boost/asio/detail/null_signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/null_socket_service.hpp", + "external/sources/boost/boost/asio/detail/null_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/null_thread.hpp", + "external/sources/boost/boost/asio/detail/null_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/object_pool.hpp", + "external/sources/boost/boost/asio/detail/old_win_sdk_compat.hpp", + "external/sources/boost/boost/asio/detail/op_queue.hpp", + "external/sources/boost/boost/asio/detail/operation.hpp", + "external/sources/boost/boost/asio/detail/pipe_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/pop_options.hpp", + "external/sources/boost/boost/asio/detail/posix_event.hpp", + "external/sources/boost/boost/asio/detail/posix_fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/posix_global.hpp", + "external/sources/boost/boost/asio/detail/posix_mutex.hpp", + "external/sources/boost/boost/asio/detail/posix_signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/posix_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/posix_thread.hpp", + "external/sources/boost/boost/asio/detail/posix_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/push_options.hpp", + "external/sources/boost/boost/asio/detail/reactive_descriptor_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_null_buffers_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_serial_port_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_accept_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recvfrom_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recvmsg_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_sendto_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_service_base.hpp", + "external/sources/boost/boost/asio/detail/reactive_wait_op.hpp", + "external/sources/boost/boost/asio/detail/reactor.hpp", + "external/sources/boost/boost/asio/detail/reactor_fwd.hpp", + "external/sources/boost/boost/asio/detail/reactor_op.hpp", + "external/sources/boost/boost/asio/detail/reactor_op_queue.hpp", + "external/sources/boost/boost/asio/detail/recycling_allocator.hpp", + "external/sources/boost/boost/asio/detail/regex_fwd.hpp", + "external/sources/boost/boost/asio/detail/resolve_endpoint_op.hpp", + "external/sources/boost/boost/asio/detail/resolve_op.hpp", + "external/sources/boost/boost/asio/detail/resolve_query_op.hpp", + "external/sources/boost/boost/asio/detail/resolver_service.hpp", + "external/sources/boost/boost/asio/detail/resolver_service_base.hpp", + "external/sources/boost/boost/asio/detail/scheduler.hpp", + "external/sources/boost/boost/asio/detail/scheduler_operation.hpp", + "external/sources/boost/boost/asio/detail/scheduler_thread_info.hpp", + "external/sources/boost/boost/asio/detail/scoped_lock.hpp", + "external/sources/boost/boost/asio/detail/scoped_ptr.hpp", + "external/sources/boost/boost/asio/detail/select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/select_reactor.hpp", + "external/sources/boost/boost/asio/detail/service_registry.hpp", + "external/sources/boost/boost/asio/detail/signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/signal_handler.hpp", + "external/sources/boost/boost/asio/detail/signal_init.hpp", + "external/sources/boost/boost/asio/detail/signal_op.hpp", + "external/sources/boost/boost/asio/detail/signal_set_service.hpp", + "external/sources/boost/boost/asio/detail/socket_holder.hpp", + "external/sources/boost/boost/asio/detail/socket_ops.hpp", + "external/sources/boost/boost/asio/detail/socket_option.hpp", + "external/sources/boost/boost/asio/detail/socket_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/socket_types.hpp", + "external/sources/boost/boost/asio/detail/solaris_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/source_location.hpp", + "external/sources/boost/boost/asio/detail/static_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_event.hpp", + "external/sources/boost/boost/asio/detail/std_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/std_global.hpp", + "external/sources/boost/boost/asio/detail/std_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_thread.hpp", + "external/sources/boost/boost/asio/detail/strand_executor_service.hpp", + "external/sources/boost/boost/asio/detail/strand_service.hpp", + "external/sources/boost/boost/asio/detail/string_view.hpp", + "external/sources/boost/boost/asio/detail/thread.hpp", + "external/sources/boost/boost/asio/detail/thread_context.hpp", + "external/sources/boost/boost/asio/detail/thread_group.hpp", + "external/sources/boost/boost/asio/detail/thread_info_base.hpp", + "external/sources/boost/boost/asio/detail/throw_error.hpp", + "external/sources/boost/boost/asio/detail/throw_exception.hpp", + "external/sources/boost/boost/asio/detail/timer_queue.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_base.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_ptime.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_set.hpp", + "external/sources/boost/boost/asio/detail/timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/timer_scheduler_fwd.hpp", + "external/sources/boost/boost/asio/detail/tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/type_traits.hpp", + "external/sources/boost/boost/asio/detail/variadic_templates.hpp", + "external/sources/boost/boost/asio/detail/wait_handler.hpp", + "external/sources/boost/boost/asio/detail/wait_op.hpp", + "external/sources/boost/boost/asio/detail/win_event.hpp", + "external/sources/boost/boost/asio/detail/win_fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/win_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/win_global.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_read_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_write_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_io_context.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_null_buffers_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_operation.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_overlapped_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_overlapped_ptr.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_serial_port_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_accept_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recvfrom_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recvmsg_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_service_base.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_thread_info.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_wait_op.hpp", + "external/sources/boost/boost/asio/detail/win_mutex.hpp", + "external/sources/boost/boost/asio/detail/win_object_handle_service.hpp", + "external/sources/boost/boost/asio/detail/win_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/win_thread.hpp", + "external/sources/boost/boost/asio/detail/win_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/winapp_thread.hpp", + "external/sources/boost/boost/asio/detail/wince_thread.hpp", + "external/sources/boost/boost/asio/detail/winrt_async_manager.hpp", + "external/sources/boost/boost/asio/detail/winrt_async_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_resolve_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_resolver_service.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_ssocket_service.hpp", + "external/sources/boost/boost/asio/detail/winrt_ssocket_service_base.hpp", + "external/sources/boost/boost/asio/detail/winrt_timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/winrt_utils.hpp", + "external/sources/boost/boost/asio/detail/winsock_init.hpp", + "external/sources/boost/boost/asio/detail/work_dispatcher.hpp", + "external/sources/boost/boost/asio/detail/wrapped_handler.hpp", + "external/sources/boost/boost/asio/dispatch.hpp", + "external/sources/boost/boost/asio/error.hpp", + "external/sources/boost/boost/asio/execution.hpp", + "external/sources/boost/boost/asio/execution/allocator.hpp", + "external/sources/boost/boost/asio/execution/any_executor.hpp", + "external/sources/boost/boost/asio/execution/bad_executor.hpp", + "external/sources/boost/boost/asio/execution/blocking.hpp", + "external/sources/boost/boost/asio/execution/blocking_adaptation.hpp", + "external/sources/boost/boost/asio/execution/bulk_execute.hpp", + "external/sources/boost/boost/asio/execution/bulk_guarantee.hpp", + "external/sources/boost/boost/asio/execution/connect.hpp", + "external/sources/boost/boost/asio/execution/context.hpp", + "external/sources/boost/boost/asio/execution/context_as.hpp", + "external/sources/boost/boost/asio/execution/detail/as_invocable.hpp", + "external/sources/boost/boost/asio/execution/detail/as_operation.hpp", + "external/sources/boost/boost/asio/execution/detail/as_receiver.hpp", + "external/sources/boost/boost/asio/execution/detail/bulk_sender.hpp", + "external/sources/boost/boost/asio/execution/detail/submit_receiver.hpp", + "external/sources/boost/boost/asio/execution/detail/void_receiver.hpp", + "external/sources/boost/boost/asio/execution/execute.hpp", + "external/sources/boost/boost/asio/execution/executor.hpp", + "external/sources/boost/boost/asio/execution/impl/bad_executor.ipp", + "external/sources/boost/boost/asio/execution/impl/receiver_invocation_error.ipp", + "external/sources/boost/boost/asio/execution/invocable_archetype.hpp", + "external/sources/boost/boost/asio/execution/mapping.hpp", + "external/sources/boost/boost/asio/execution/occupancy.hpp", + "external/sources/boost/boost/asio/execution/operation_state.hpp", + "external/sources/boost/boost/asio/execution/outstanding_work.hpp", + "external/sources/boost/boost/asio/execution/prefer_only.hpp", + "external/sources/boost/boost/asio/execution/receiver.hpp", + "external/sources/boost/boost/asio/execution/receiver_invocation_error.hpp", + "external/sources/boost/boost/asio/execution/relationship.hpp", + "external/sources/boost/boost/asio/execution/schedule.hpp", + "external/sources/boost/boost/asio/execution/scheduler.hpp", + "external/sources/boost/boost/asio/execution/sender.hpp", + "external/sources/boost/boost/asio/execution/set_done.hpp", + "external/sources/boost/boost/asio/execution/set_error.hpp", + "external/sources/boost/boost/asio/execution/set_value.hpp", + "external/sources/boost/boost/asio/execution/start.hpp", + "external/sources/boost/boost/asio/execution/submit.hpp", + "external/sources/boost/boost/asio/execution_context.hpp", + "external/sources/boost/boost/asio/executor.hpp", + "external/sources/boost/boost/asio/executor_work_guard.hpp", + "external/sources/boost/boost/asio/generic/basic_endpoint.hpp", + "external/sources/boost/boost/asio/generic/datagram_protocol.hpp", + "external/sources/boost/boost/asio/generic/detail/endpoint.hpp", + "external/sources/boost/boost/asio/generic/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/generic/raw_protocol.hpp", + "external/sources/boost/boost/asio/generic/seq_packet_protocol.hpp", + "external/sources/boost/boost/asio/generic/stream_protocol.hpp", + "external/sources/boost/boost/asio/handler_alloc_hook.hpp", + "external/sources/boost/boost/asio/handler_continuation_hook.hpp", + "external/sources/boost/boost/asio/handler_invoke_hook.hpp", + "external/sources/boost/boost/asio/high_resolution_timer.hpp", + "external/sources/boost/boost/asio/impl/awaitable.hpp", + "external/sources/boost/boost/asio/impl/buffered_read_stream.hpp", + "external/sources/boost/boost/asio/impl/buffered_write_stream.hpp", + "external/sources/boost/boost/asio/impl/co_spawn.hpp", + "external/sources/boost/boost/asio/impl/compose.hpp", + "external/sources/boost/boost/asio/impl/connect.hpp", + "external/sources/boost/boost/asio/impl/defer.hpp", + "external/sources/boost/boost/asio/impl/detached.hpp", + "external/sources/boost/boost/asio/impl/dispatch.hpp", + "external/sources/boost/boost/asio/impl/error.ipp", + "external/sources/boost/boost/asio/impl/execution_context.hpp", + "external/sources/boost/boost/asio/impl/execution_context.ipp", + "external/sources/boost/boost/asio/impl/executor.hpp", + "external/sources/boost/boost/asio/impl/executor.ipp", + "external/sources/boost/boost/asio/impl/handler_alloc_hook.ipp", + "external/sources/boost/boost/asio/impl/io_context.hpp", + "external/sources/boost/boost/asio/impl/io_context.ipp", + "external/sources/boost/boost/asio/impl/multiple_exceptions.ipp", + "external/sources/boost/boost/asio/impl/post.hpp", + "external/sources/boost/boost/asio/impl/read.hpp", + "external/sources/boost/boost/asio/impl/read_at.hpp", + "external/sources/boost/boost/asio/impl/read_until.hpp", + "external/sources/boost/boost/asio/impl/redirect_error.hpp", + "external/sources/boost/boost/asio/impl/serial_port_base.hpp", + "external/sources/boost/boost/asio/impl/serial_port_base.ipp", + "external/sources/boost/boost/asio/impl/spawn.hpp", + "external/sources/boost/boost/asio/impl/src.cpp", + "external/sources/boost/boost/asio/impl/src.hpp", + "external/sources/boost/boost/asio/impl/system_context.hpp", + "external/sources/boost/boost/asio/impl/system_context.ipp", + "external/sources/boost/boost/asio/impl/system_executor.hpp", + "external/sources/boost/boost/asio/impl/thread_pool.hpp", + "external/sources/boost/boost/asio/impl/thread_pool.ipp", + "external/sources/boost/boost/asio/impl/use_awaitable.hpp", + "external/sources/boost/boost/asio/impl/use_future.hpp", + "external/sources/boost/boost/asio/impl/write.hpp", + "external/sources/boost/boost/asio/impl/write_at.hpp", + "external/sources/boost/boost/asio/io_context.hpp", + "external/sources/boost/boost/asio/io_context_strand.hpp", + "external/sources/boost/boost/asio/io_service.hpp", + "external/sources/boost/boost/asio/io_service_strand.hpp", + "external/sources/boost/boost/asio/ip/address.hpp", + "external/sources/boost/boost/asio/ip/address_v4.hpp", + "external/sources/boost/boost/asio/ip/address_v4_iterator.hpp", + "external/sources/boost/boost/asio/ip/address_v4_range.hpp", + "external/sources/boost/boost/asio/ip/address_v6.hpp", + "external/sources/boost/boost/asio/ip/address_v6_iterator.hpp", + "external/sources/boost/boost/asio/ip/address_v6_range.hpp", + "external/sources/boost/boost/asio/ip/bad_address_cast.hpp", + "external/sources/boost/boost/asio/ip/basic_endpoint.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_entry.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_iterator.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_query.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_results.hpp", + "external/sources/boost/boost/asio/ip/detail/endpoint.hpp", + "external/sources/boost/boost/asio/ip/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/ip/detail/socket_option.hpp", + "external/sources/boost/boost/asio/ip/host_name.hpp", + "external/sources/boost/boost/asio/ip/icmp.hpp", + "external/sources/boost/boost/asio/ip/impl/address.hpp", + "external/sources/boost/boost/asio/ip/impl/address.ipp", + "external/sources/boost/boost/asio/ip/impl/address_v4.hpp", + "external/sources/boost/boost/asio/ip/impl/address_v4.ipp", + "external/sources/boost/boost/asio/ip/impl/address_v6.hpp", + "external/sources/boost/boost/asio/ip/impl/address_v6.ipp", + "external/sources/boost/boost/asio/ip/impl/basic_endpoint.hpp", + "external/sources/boost/boost/asio/ip/impl/host_name.ipp", + "external/sources/boost/boost/asio/ip/impl/network_v4.hpp", + "external/sources/boost/boost/asio/ip/impl/network_v4.ipp", + "external/sources/boost/boost/asio/ip/impl/network_v6.hpp", + "external/sources/boost/boost/asio/ip/impl/network_v6.ipp", + "external/sources/boost/boost/asio/ip/multicast.hpp", + "external/sources/boost/boost/asio/ip/network_v4.hpp", + "external/sources/boost/boost/asio/ip/network_v6.hpp", + "external/sources/boost/boost/asio/ip/resolver_base.hpp", + "external/sources/boost/boost/asio/ip/resolver_query_base.hpp", + "external/sources/boost/boost/asio/ip/tcp.hpp", + "external/sources/boost/boost/asio/ip/udp.hpp", + "external/sources/boost/boost/asio/ip/unicast.hpp", + "external/sources/boost/boost/asio/ip/v6_only.hpp", + "external/sources/boost/boost/asio/is_applicable_property.hpp", + "external/sources/boost/boost/asio/is_executor.hpp", + "external/sources/boost/boost/asio/is_read_buffered.hpp", + "external/sources/boost/boost/asio/is_write_buffered.hpp", + "external/sources/boost/boost/asio/local/basic_endpoint.hpp", + "external/sources/boost/boost/asio/local/connect_pair.hpp", + "external/sources/boost/boost/asio/local/datagram_protocol.hpp", + "external/sources/boost/boost/asio/local/detail/endpoint.hpp", + "external/sources/boost/boost/asio/local/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/local/stream_protocol.hpp", + "external/sources/boost/boost/asio/multiple_exceptions.hpp", + "external/sources/boost/boost/asio/packaged_task.hpp", + "external/sources/boost/boost/asio/placeholders.hpp", + "external/sources/boost/boost/asio/posix/basic_descriptor.hpp", + "external/sources/boost/boost/asio/posix/basic_stream_descriptor.hpp", + "external/sources/boost/boost/asio/posix/descriptor.hpp", + "external/sources/boost/boost/asio/posix/descriptor_base.hpp", + "external/sources/boost/boost/asio/posix/stream_descriptor.hpp", + "external/sources/boost/boost/asio/post.hpp", + "external/sources/boost/boost/asio/prefer.hpp", + "external/sources/boost/boost/asio/query.hpp", + "external/sources/boost/boost/asio/read.hpp", + "external/sources/boost/boost/asio/read_at.hpp", + "external/sources/boost/boost/asio/read_until.hpp", + "external/sources/boost/boost/asio/redirect_error.hpp", + "external/sources/boost/boost/asio/require.hpp", + "external/sources/boost/boost/asio/require_concept.hpp", + "external/sources/boost/boost/asio/serial_port.hpp", + "external/sources/boost/boost/asio/serial_port_base.hpp", + "external/sources/boost/boost/asio/signal_set.hpp", + "external/sources/boost/boost/asio/socket_base.hpp", + "external/sources/boost/boost/asio/spawn.hpp", + "external/sources/boost/boost/asio/ssl.hpp", + "external/sources/boost/boost/asio/ssl/context.hpp", + "external/sources/boost/boost/asio/ssl/context_base.hpp", + "external/sources/boost/boost/asio/ssl/detail/buffered_handshake_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/engine.hpp", + "external/sources/boost/boost/asio/ssl/detail/handshake_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/impl/engine.ipp", + "external/sources/boost/boost/asio/ssl/detail/impl/openssl_init.ipp", + "external/sources/boost/boost/asio/ssl/detail/io.hpp", + "external/sources/boost/boost/asio/ssl/detail/openssl_init.hpp", + "external/sources/boost/boost/asio/ssl/detail/openssl_types.hpp", + "external/sources/boost/boost/asio/ssl/detail/password_callback.hpp", + "external/sources/boost/boost/asio/ssl/detail/read_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/shutdown_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/stream_core.hpp", + "external/sources/boost/boost/asio/ssl/detail/verify_callback.hpp", + "external/sources/boost/boost/asio/ssl/detail/write_op.hpp", + "external/sources/boost/boost/asio/ssl/error.hpp", + "external/sources/boost/boost/asio/ssl/host_name_verification.hpp", + "external/sources/boost/boost/asio/ssl/impl/context.hpp", + "external/sources/boost/boost/asio/ssl/impl/context.ipp", + "external/sources/boost/boost/asio/ssl/impl/error.ipp", + "external/sources/boost/boost/asio/ssl/impl/host_name_verification.ipp", + "external/sources/boost/boost/asio/ssl/impl/rfc2818_verification.ipp", + "external/sources/boost/boost/asio/ssl/impl/src.hpp", + "external/sources/boost/boost/asio/ssl/rfc2818_verification.hpp", + "external/sources/boost/boost/asio/ssl/stream.hpp", + "external/sources/boost/boost/asio/ssl/stream_base.hpp", + "external/sources/boost/boost/asio/ssl/verify_context.hpp", + "external/sources/boost/boost/asio/ssl/verify_mode.hpp", + "external/sources/boost/boost/asio/static_thread_pool.hpp", + "external/sources/boost/boost/asio/steady_timer.hpp", + "external/sources/boost/boost/asio/strand.hpp", + "external/sources/boost/boost/asio/streambuf.hpp", + "external/sources/boost/boost/asio/system_context.hpp", + "external/sources/boost/boost/asio/system_executor.hpp", + "external/sources/boost/boost/asio/system_timer.hpp", + "external/sources/boost/boost/asio/this_coro.hpp", + "external/sources/boost/boost/asio/thread_pool.hpp", + "external/sources/boost/boost/asio/time_traits.hpp", + "external/sources/boost/boost/asio/traits/bulk_execute_free.hpp", + "external/sources/boost/boost/asio/traits/bulk_execute_member.hpp", + "external/sources/boost/boost/asio/traits/connect_free.hpp", + "external/sources/boost/boost/asio/traits/connect_member.hpp", + "external/sources/boost/boost/asio/traits/equality_comparable.hpp", + "external/sources/boost/boost/asio/traits/execute_free.hpp", + "external/sources/boost/boost/asio/traits/execute_member.hpp", + "external/sources/boost/boost/asio/traits/prefer_free.hpp", + "external/sources/boost/boost/asio/traits/prefer_member.hpp", + "external/sources/boost/boost/asio/traits/query_free.hpp", + "external/sources/boost/boost/asio/traits/query_member.hpp", + "external/sources/boost/boost/asio/traits/query_static_constexpr_member.hpp", + "external/sources/boost/boost/asio/traits/require_concept_free.hpp", + "external/sources/boost/boost/asio/traits/require_concept_member.hpp", + "external/sources/boost/boost/asio/traits/require_free.hpp", + "external/sources/boost/boost/asio/traits/require_member.hpp", + "external/sources/boost/boost/asio/traits/schedule_free.hpp", + "external/sources/boost/boost/asio/traits/schedule_member.hpp", + "external/sources/boost/boost/asio/traits/set_done_free.hpp", + "external/sources/boost/boost/asio/traits/set_done_member.hpp", + "external/sources/boost/boost/asio/traits/set_error_free.hpp", + "external/sources/boost/boost/asio/traits/set_error_member.hpp", + "external/sources/boost/boost/asio/traits/set_value_free.hpp", + "external/sources/boost/boost/asio/traits/set_value_member.hpp", + "external/sources/boost/boost/asio/traits/start_free.hpp", + "external/sources/boost/boost/asio/traits/start_member.hpp", + "external/sources/boost/boost/asio/traits/static_query.hpp", + "external/sources/boost/boost/asio/traits/static_require.hpp", + "external/sources/boost/boost/asio/traits/static_require_concept.hpp", + "external/sources/boost/boost/asio/traits/submit_free.hpp", + "external/sources/boost/boost/asio/traits/submit_member.hpp", + "external/sources/boost/boost/asio/ts/buffer.hpp", + "external/sources/boost/boost/asio/ts/executor.hpp", + "external/sources/boost/boost/asio/ts/internet.hpp", + "external/sources/boost/boost/asio/ts/io_context.hpp", + "external/sources/boost/boost/asio/ts/net.hpp", + "external/sources/boost/boost/asio/ts/netfwd.hpp", + "external/sources/boost/boost/asio/ts/socket.hpp", + "external/sources/boost/boost/asio/ts/timer.hpp", + "external/sources/boost/boost/asio/unyield.hpp", + "external/sources/boost/boost/asio/use_awaitable.hpp", + "external/sources/boost/boost/asio/use_future.hpp", + "external/sources/boost/boost/asio/uses_executor.hpp", + "external/sources/boost/boost/asio/version.hpp", + "external/sources/boost/boost/asio/wait_traits.hpp", + "external/sources/boost/boost/asio/windows/basic_object_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_overlapped_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_random_access_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_stream_handle.hpp", + "external/sources/boost/boost/asio/windows/object_handle.hpp", + "external/sources/boost/boost/asio/windows/overlapped_handle.hpp", + "external/sources/boost/boost/asio/windows/overlapped_ptr.hpp", + "external/sources/boost/boost/asio/windows/random_access_handle.hpp", + "external/sources/boost/boost/asio/windows/stream_handle.hpp", + "external/sources/boost/boost/asio/write.hpp", + "external/sources/boost/boost/asio/write_at.hpp", + "external/sources/boost/boost/asio/yield.hpp", + "external/sources/boost/boost/assert.hpp", + "external/sources/boost/boost/assert/source_location.hpp", + "external/sources/boost/boost/assign.hpp", + "external/sources/boost/boost/assign/assignment_exception.hpp", + "external/sources/boost/boost/assign/list_inserter.hpp", + "external/sources/boost/boost/assign/list_of.hpp", + "external/sources/boost/boost/assign/ptr_list_inserter.hpp", + "external/sources/boost/boost/assign/ptr_list_of.hpp", + "external/sources/boost/boost/assign/ptr_map_inserter.hpp", + "external/sources/boost/boost/assign/std.hpp", + "external/sources/boost/boost/assign/std/deque.hpp", + "external/sources/boost/boost/assign/std/list.hpp", + "external/sources/boost/boost/assign/std/map.hpp", + "external/sources/boost/boost/assign/std/queue.hpp", + "external/sources/boost/boost/assign/std/set.hpp", + "external/sources/boost/boost/assign/std/slist.hpp", + "external/sources/boost/boost/assign/std/stack.hpp", + "external/sources/boost/boost/assign/std/vector.hpp", + "external/sources/boost/boost/atomic.hpp", + "external/sources/boost/boost/atomic/atomic.hpp", + "external/sources/boost/boost/atomic/atomic_flag.hpp", + "external/sources/boost/boost/atomic/atomic_ref.hpp", + "external/sources/boost/boost/atomic/capabilities.hpp", + "external/sources/boost/boost/atomic/detail/addressof.hpp", + "external/sources/boost/boost/atomic/detail/aligned_variable.hpp", + "external/sources/boost/boost/atomic/detail/atomic_flag_impl.hpp", + "external/sources/boost/boost/atomic/detail/atomic_impl.hpp", + "external/sources/boost/boost/atomic/detail/atomic_ref_impl.hpp", + "external/sources/boost/boost/atomic/detail/bitwise_cast.hpp", + "external/sources/boost/boost/atomic/detail/bitwise_fp_cast.hpp", + "external/sources/boost/boost/atomic/detail/capabilities.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/caps_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/caps_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/caps_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_windows.hpp", + "external/sources/boost/boost/atomic/detail/cas_based_exchange.hpp", + "external/sources/boost/boost/atomic/detail/classify.hpp", + "external/sources/boost/boost/atomic/detail/config.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_operations.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/core_operations.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_emulated.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_emulated_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_cas_based.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_windows.hpp", + "external/sources/boost/boost/atomic/detail/extending_cas_based_arithmetic.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_operations.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/extra_operations.hpp", + "external/sources/boost/boost/atomic/detail/extra_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_operations.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_operations.hpp", + "external/sources/boost/boost/atomic/detail/fence_operations_emulated.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_windows.hpp", + "external/sources/boost/boost/atomic/detail/float_sizes.hpp", + "external/sources/boost/boost/atomic/detail/footer.hpp", + "external/sources/boost/boost/atomic/detail/fp_operations.hpp", + "external/sources/boost/boost/atomic/detail/fp_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/fp_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/fp_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/futex.hpp", + "external/sources/boost/boost/atomic/detail/gcc_arm_asm_common.hpp", + "external/sources/boost/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp", + "external/sources/boost/boost/atomic/detail/header.hpp", + "external/sources/boost/boost/atomic/detail/int_sizes.hpp", + "external/sources/boost/boost/atomic/detail/integral_conversions.hpp", + "external/sources/boost/boost/atomic/detail/interlocked.hpp", + "external/sources/boost/boost/atomic/detail/intptr.hpp", + "external/sources/boost/boost/atomic/detail/link.hpp", + "external/sources/boost/boost/atomic/detail/lock_pool.hpp", + "external/sources/boost/boost/atomic/detail/memory_order_utils.hpp", + "external/sources/boost/boost/atomic/detail/once_flag.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_aarch32_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_aarch64_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_arm_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_ppc_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_msvc_common.hpp", + "external/sources/boost/boost/atomic/detail/pause.hpp", + "external/sources/boost/boost/atomic/detail/platform.hpp", + "external/sources/boost/boost/atomic/detail/storage_traits.hpp", + "external/sources/boost/boost/atomic/detail/string_ops.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/alignment_of.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/conditional.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/integral_constant.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_floating_point.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_function.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_iec559.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_integral.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_signed.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_copyable.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/make_signed.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/make_unsigned.hpp", + "external/sources/boost/boost/atomic/detail/wait_capabilities.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_freebsd_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_futex.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_windows.hpp", + "external/sources/boost/boost/atomic/detail/wait_operations.hpp", + "external/sources/boost/boost/atomic/detail/wait_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_freebsd_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_futex.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_windows.hpp", + "external/sources/boost/boost/atomic/fences.hpp", + "external/sources/boost/boost/atomic/ipc_atomic.hpp", + "external/sources/boost/boost/atomic/ipc_atomic_flag.hpp", + "external/sources/boost/boost/atomic/ipc_atomic_ref.hpp", + "external/sources/boost/boost/beast.hpp", + "external/sources/boost/boost/beast/_experimental/http/icy_stream.hpp", + "external/sources/boost/boost/beast/_experimental/http/impl/icy_stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/error.hpp", + "external/sources/boost/boost/beast/_experimental/test/fail_count.hpp", + "external/sources/boost/boost/beast/_experimental/test/handler.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/error.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/error.ipp", + "external/sources/boost/boost/beast/_experimental/test/impl/fail_count.ipp", + "external/sources/boost/boost/beast/_experimental/test/impl/stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/stream.ipp", + "external/sources/boost/boost/beast/_experimental/test/stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/tcp.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/amount.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/detail/const_container.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/dstream.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/global_suites.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/main.ipp", + "external/sources/boost/boost/beast/_experimental/unit_test/match.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/recorder.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/reporter.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/results.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/runner.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite_info.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite_list.hpp", + "external/sources/boost/boost/beast/core.hpp", + "external/sources/boost/boost/beast/core/async_base.hpp", + "external/sources/boost/boost/beast/core/basic_stream.hpp", + "external/sources/boost/boost/beast/core/bind_handler.hpp", + "external/sources/boost/boost/beast/core/buffer_traits.hpp", + "external/sources/boost/boost/beast/core/buffered_read_stream.hpp", + "external/sources/boost/boost/beast/core/buffers_adaptor.hpp", + "external/sources/boost/boost/beast/core/buffers_cat.hpp", + "external/sources/boost/boost/beast/core/buffers_prefix.hpp", + "external/sources/boost/boost/beast/core/buffers_range.hpp", + "external/sources/boost/boost/beast/core/buffers_suffix.hpp", + "external/sources/boost/boost/beast/core/buffers_to_string.hpp", + "external/sources/boost/boost/beast/core/detail/allocator.hpp", + "external/sources/boost/boost/beast/core/detail/async_base.hpp", + "external/sources/boost/boost/beast/core/detail/base64.hpp", + "external/sources/boost/boost/beast/core/detail/base64.ipp", + "external/sources/boost/boost/beast/core/detail/bind_continuation.hpp", + "external/sources/boost/boost/beast/core/detail/bind_default_executor.hpp", + "external/sources/boost/boost/beast/core/detail/bind_handler.hpp", + "external/sources/boost/boost/beast/core/detail/buffer.hpp", + "external/sources/boost/boost/beast/core/detail/buffer_traits.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_pair.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_range_adaptor.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_ref.hpp", + "external/sources/boost/boost/beast/core/detail/chacha.hpp", + "external/sources/boost/boost/beast/core/detail/char_buffer.hpp", + "external/sources/boost/boost/beast/core/detail/clamp.hpp", + "external/sources/boost/boost/beast/core/detail/config.hpp", + "external/sources/boost/boost/beast/core/detail/cpu_info.hpp", + "external/sources/boost/boost/beast/core/detail/flat_stream.hpp", + "external/sources/boost/boost/beast/core/detail/get_io_context.hpp", + "external/sources/boost/boost/beast/core/detail/impl/read.hpp", + "external/sources/boost/boost/beast/core/detail/impl/temporary_buffer.ipp", + "external/sources/boost/boost/beast/core/detail/is_invocable.hpp", + "external/sources/boost/boost/beast/core/detail/ostream.hpp", + "external/sources/boost/boost/beast/core/detail/pcg.hpp", + "external/sources/boost/boost/beast/core/detail/read.hpp", + "external/sources/boost/boost/beast/core/detail/remap_post_to_defer.hpp", + "external/sources/boost/boost/beast/core/detail/service_base.hpp", + "external/sources/boost/boost/beast/core/detail/sha1.hpp", + "external/sources/boost/boost/beast/core/detail/sha1.ipp", + "external/sources/boost/boost/beast/core/detail/static_const.hpp", + "external/sources/boost/boost/beast/core/detail/static_ostream.hpp", + "external/sources/boost/boost/beast/core/detail/static_string.hpp", + "external/sources/boost/boost/beast/core/detail/stream_base.hpp", + "external/sources/boost/boost/beast/core/detail/stream_traits.hpp", + "external/sources/boost/boost/beast/core/detail/string.hpp", + "external/sources/boost/boost/beast/core/detail/temporary_buffer.hpp", + "external/sources/boost/boost/beast/core/detail/tuple.hpp", + "external/sources/boost/boost/beast/core/detail/type_traits.hpp", + "external/sources/boost/boost/beast/core/detail/variant.hpp", + "external/sources/boost/boost/beast/core/detail/varint.hpp", + "external/sources/boost/boost/beast/core/detail/win32_unicode_path.hpp", + "external/sources/boost/boost/beast/core/detail/work_guard.hpp", + "external/sources/boost/boost/beast/core/detect_ssl.hpp", + "external/sources/boost/boost/beast/core/error.hpp", + "external/sources/boost/boost/beast/core/file.hpp", + "external/sources/boost/boost/beast/core/file_base.hpp", + "external/sources/boost/boost/beast/core/file_posix.hpp", + "external/sources/boost/boost/beast/core/file_stdio.hpp", + "external/sources/boost/boost/beast/core/file_win32.hpp", + "external/sources/boost/boost/beast/core/flat_buffer.hpp", + "external/sources/boost/boost/beast/core/flat_static_buffer.hpp", + "external/sources/boost/boost/beast/core/flat_stream.hpp", + "external/sources/boost/boost/beast/core/impl/async_base.hpp", + "external/sources/boost/boost/beast/core/impl/basic_stream.hpp", + "external/sources/boost/boost/beast/core/impl/buffered_read_stream.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_adaptor.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_cat.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_prefix.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_suffix.hpp", + "external/sources/boost/boost/beast/core/impl/error.hpp", + "external/sources/boost/boost/beast/core/impl/error.ipp", + "external/sources/boost/boost/beast/core/impl/file_posix.ipp", + "external/sources/boost/boost/beast/core/impl/file_stdio.ipp", + "external/sources/boost/boost/beast/core/impl/file_win32.ipp", + "external/sources/boost/boost/beast/core/impl/flat_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/flat_static_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/flat_static_buffer.ipp", + "external/sources/boost/boost/beast/core/impl/flat_stream.hpp", + "external/sources/boost/boost/beast/core/impl/multi_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/read_size.hpp", + "external/sources/boost/boost/beast/core/impl/saved_handler.hpp", + "external/sources/boost/boost/beast/core/impl/saved_handler.ipp", + "external/sources/boost/boost/beast/core/impl/static_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/static_buffer.ipp", + "external/sources/boost/boost/beast/core/impl/static_string.hpp", + "external/sources/boost/boost/beast/core/impl/string.ipp", + "external/sources/boost/boost/beast/core/impl/string_param.hpp", + "external/sources/boost/boost/beast/core/make_printable.hpp", + "external/sources/boost/boost/beast/core/multi_buffer.hpp", + "external/sources/boost/boost/beast/core/ostream.hpp", + "external/sources/boost/boost/beast/core/rate_policy.hpp", + "external/sources/boost/boost/beast/core/read_size.hpp", + "external/sources/boost/boost/beast/core/role.hpp", + "external/sources/boost/boost/beast/core/saved_handler.hpp", + "external/sources/boost/boost/beast/core/span.hpp", + "external/sources/boost/boost/beast/core/static_buffer.hpp", + "external/sources/boost/boost/beast/core/static_string.hpp", + "external/sources/boost/boost/beast/core/stream_traits.hpp", + "external/sources/boost/boost/beast/core/string.hpp", + "external/sources/boost/boost/beast/core/string_param.hpp", + "external/sources/boost/boost/beast/core/string_type.hpp", + "external/sources/boost/boost/beast/core/tcp_stream.hpp", + "external/sources/boost/boost/beast/http.hpp", + "external/sources/boost/boost/beast/http/basic_dynamic_body.hpp", + "external/sources/boost/boost/beast/http/basic_file_body.hpp", + "external/sources/boost/boost/beast/http/basic_parser.hpp", + "external/sources/boost/boost/beast/http/buffer_body.hpp", + "external/sources/boost/boost/beast/http/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parsed_list.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parser.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parser.ipp", + "external/sources/boost/boost/beast/http/detail/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/detail/rfc7230.hpp", + "external/sources/boost/boost/beast/http/detail/rfc7230.ipp", + "external/sources/boost/boost/beast/http/detail/type_traits.hpp", + "external/sources/boost/boost/beast/http/dynamic_body.hpp", + "external/sources/boost/boost/beast/http/empty_body.hpp", + "external/sources/boost/boost/beast/http/error.hpp", + "external/sources/boost/boost/beast/http/field.hpp", + "external/sources/boost/boost/beast/http/fields.hpp", + "external/sources/boost/boost/beast/http/file_body.hpp", + "external/sources/boost/boost/beast/http/impl/basic_parser.hpp", + "external/sources/boost/boost/beast/http/impl/basic_parser.ipp", + "external/sources/boost/boost/beast/http/impl/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/impl/error.hpp", + "external/sources/boost/boost/beast/http/impl/error.ipp", + "external/sources/boost/boost/beast/http/impl/field.ipp", + "external/sources/boost/boost/beast/http/impl/fields.hpp", + "external/sources/boost/boost/beast/http/impl/fields.ipp", + "external/sources/boost/boost/beast/http/impl/file_body_win32.hpp", + "external/sources/boost/boost/beast/http/impl/message.hpp", + "external/sources/boost/boost/beast/http/impl/parser.hpp", + "external/sources/boost/boost/beast/http/impl/read.hpp", + "external/sources/boost/boost/beast/http/impl/rfc7230.hpp", + "external/sources/boost/boost/beast/http/impl/rfc7230.ipp", + "external/sources/boost/boost/beast/http/impl/serializer.hpp", + "external/sources/boost/boost/beast/http/impl/status.ipp", + "external/sources/boost/boost/beast/http/impl/verb.ipp", + "external/sources/boost/boost/beast/http/impl/write.hpp", + "external/sources/boost/boost/beast/http/message.hpp", + "external/sources/boost/boost/beast/http/parser.hpp", + "external/sources/boost/boost/beast/http/read.hpp", + "external/sources/boost/boost/beast/http/rfc7230.hpp", + "external/sources/boost/boost/beast/http/serializer.hpp", + "external/sources/boost/boost/beast/http/span_body.hpp", + "external/sources/boost/boost/beast/http/status.hpp", + "external/sources/boost/boost/beast/http/string_body.hpp", + "external/sources/boost/boost/beast/http/type_traits.hpp", + "external/sources/boost/boost/beast/http/vector_body.hpp", + "external/sources/boost/boost/beast/http/verb.hpp", + "external/sources/boost/boost/beast/http/write.hpp", + "external/sources/boost/boost/beast/src.hpp", + "external/sources/boost/boost/beast/ssl.hpp", + "external/sources/boost/boost/beast/ssl/ssl_stream.hpp", + "external/sources/boost/boost/beast/version.hpp", + "external/sources/boost/boost/beast/websocket.hpp", + "external/sources/boost/boost/beast/websocket/detail/decorator.hpp", + "external/sources/boost/boost/beast/websocket/detail/frame.hpp", + "external/sources/boost/boost/beast/websocket/detail/hybi13.hpp", + "external/sources/boost/boost/beast/websocket/detail/hybi13.ipp", + "external/sources/boost/boost/beast/websocket/detail/impl_base.hpp", + "external/sources/boost/boost/beast/websocket/detail/mask.hpp", + "external/sources/boost/boost/beast/websocket/detail/mask.ipp", + "external/sources/boost/boost/beast/websocket/detail/pmd_extension.hpp", + "external/sources/boost/boost/beast/websocket/detail/pmd_extension.ipp", + "external/sources/boost/boost/beast/websocket/detail/prng.hpp", + "external/sources/boost/boost/beast/websocket/detail/prng.ipp", + "external/sources/boost/boost/beast/websocket/detail/service.hpp", + "external/sources/boost/boost/beast/websocket/detail/service.ipp", + "external/sources/boost/boost/beast/websocket/detail/soft_mutex.hpp", + "external/sources/boost/boost/beast/websocket/detail/type_traits.hpp", + "external/sources/boost/boost/beast/websocket/detail/utf8_checker.hpp", + "external/sources/boost/boost/beast/websocket/detail/utf8_checker.ipp", + "external/sources/boost/boost/beast/websocket/error.hpp", + "external/sources/boost/boost/beast/websocket/impl/accept.hpp", + "external/sources/boost/boost/beast/websocket/impl/close.hpp", + "external/sources/boost/boost/beast/websocket/impl/error.hpp", + "external/sources/boost/boost/beast/websocket/impl/error.ipp", + "external/sources/boost/boost/beast/websocket/impl/handshake.hpp", + "external/sources/boost/boost/beast/websocket/impl/ping.hpp", + "external/sources/boost/boost/beast/websocket/impl/read.hpp", + "external/sources/boost/boost/beast/websocket/impl/rfc6455.hpp", + "external/sources/boost/boost/beast/websocket/impl/ssl.hpp", + "external/sources/boost/boost/beast/websocket/impl/stream.hpp", + "external/sources/boost/boost/beast/websocket/impl/stream_impl.hpp", + "external/sources/boost/boost/beast/websocket/impl/teardown.hpp", + "external/sources/boost/boost/beast/websocket/impl/write.hpp", + "external/sources/boost/boost/beast/websocket/option.hpp", + "external/sources/boost/boost/beast/websocket/rfc6455.hpp", + "external/sources/boost/boost/beast/websocket/ssl.hpp", + "external/sources/boost/boost/beast/websocket/stream.hpp", + "external/sources/boost/boost/beast/websocket/stream_base.hpp", + "external/sources/boost/boost/beast/websocket/stream_fwd.hpp", + "external/sources/boost/boost/beast/websocket/teardown.hpp", + "external/sources/boost/boost/beast/zlib.hpp", + "external/sources/boost/boost/beast/zlib/deflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/bitstream.hpp", + "external/sources/boost/boost/beast/zlib/detail/deflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/deflate_stream.ipp", + "external/sources/boost/boost/beast/zlib/detail/inflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/inflate_stream.ipp", + "external/sources/boost/boost/beast/zlib/detail/ranges.hpp", + "external/sources/boost/boost/beast/zlib/detail/window.hpp", + "external/sources/boost/boost/beast/zlib/error.hpp", + "external/sources/boost/boost/beast/zlib/impl/error.hpp", + "external/sources/boost/boost/beast/zlib/impl/error.ipp", + "external/sources/boost/boost/beast/zlib/inflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/zlib.hpp", + "external/sources/boost/boost/bimap.hpp", + "external/sources/boost/boost/bimap/bimap.hpp", + "external/sources/boost/boost/bimap/container_adaptor/associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/comparison_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/functor_bag.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/identity_converters.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/key_extractor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/non_unique_container_helper.hpp", + "external/sources/boost/boost/bimap/container_adaptor/list_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/list_map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/multimap_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/multiset_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/ordered_associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/sequence_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/set_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/support/iterator_facade_converters.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_multimap_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_multiset_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_set_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/vector_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/vector_map_adaptor.hpp", + "external/sources/boost/boost/bimap/detail/bimap_core.hpp", + "external/sources/boost/boost/bimap/detail/concept_tags.hpp", + "external/sources/boost/boost/bimap/detail/generate_index_binder.hpp", + "external/sources/boost/boost/bimap/detail/generate_relation_binder.hpp", + "external/sources/boost/boost/bimap/detail/generate_view_binder.hpp", + "external/sources/boost/boost/bimap/detail/is_set_type_of.hpp", + "external/sources/boost/boost/bimap/detail/manage_additional_parameters.hpp", + "external/sources/boost/boost/bimap/detail/manage_bimap_key.hpp", + "external/sources/boost/boost/bimap/detail/map_view_base.hpp", + "external/sources/boost/boost/bimap/detail/map_view_iterator.hpp", + "external/sources/boost/boost/bimap/detail/modifier_adaptor.hpp", + "external/sources/boost/boost/bimap/detail/non_unique_views_helper.hpp", + "external/sources/boost/boost/bimap/detail/set_view_base.hpp", + "external/sources/boost/boost/bimap/detail/set_view_iterator.hpp", + "external/sources/boost/boost/bimap/detail/test/check_metadata.hpp", + "external/sources/boost/boost/bimap/detail/user_interface_config.hpp", + "external/sources/boost/boost/bimap/list_of.hpp", + "external/sources/boost/boost/bimap/multiset_of.hpp", + "external/sources/boost/boost/bimap/property_map/set_support.hpp", + "external/sources/boost/boost/bimap/property_map/unordered_set_support.hpp", + "external/sources/boost/boost/bimap/relation/detail/access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/metadata_access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/mutant.hpp", + "external/sources/boost/boost/bimap/relation/detail/static_access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/to_mutable_relation_functor.hpp", + "external/sources/boost/boost/bimap/relation/member_at.hpp", + "external/sources/boost/boost/bimap/relation/mutant_relation.hpp", + "external/sources/boost/boost/bimap/relation/pair_layout.hpp", + "external/sources/boost/boost/bimap/relation/structured_pair.hpp", + "external/sources/boost/boost/bimap/relation/support/data_extractor.hpp", + "external/sources/boost/boost/bimap/relation/support/get.hpp", + "external/sources/boost/boost/bimap/relation/support/get_pair_functor.hpp", + "external/sources/boost/boost/bimap/relation/support/is_tag_of_member_at.hpp", + "external/sources/boost/boost/bimap/relation/support/member_with_tag.hpp", + "external/sources/boost/boost/bimap/relation/support/opposite_tag.hpp", + "external/sources/boost/boost/bimap/relation/support/pair_by.hpp", + "external/sources/boost/boost/bimap/relation/support/pair_type_by.hpp", + "external/sources/boost/boost/bimap/relation/support/value_type_of.hpp", + "external/sources/boost/boost/bimap/relation/symmetrical_base.hpp", + "external/sources/boost/boost/bimap/set_of.hpp", + "external/sources/boost/boost/bimap/support/data_type_by.hpp", + "external/sources/boost/boost/bimap/support/iterator_type_by.hpp", + "external/sources/boost/boost/bimap/support/key_type_by.hpp", + "external/sources/boost/boost/bimap/support/lambda.hpp", + "external/sources/boost/boost/bimap/support/map_by.hpp", + "external/sources/boost/boost/bimap/support/map_type_by.hpp", + "external/sources/boost/boost/bimap/support/value_type_by.hpp", + "external/sources/boost/boost/bimap/unconstrained_set_of.hpp", + "external/sources/boost/boost/bimap/unordered_multiset_of.hpp", + "external/sources/boost/boost/bimap/unordered_set_of.hpp", + "external/sources/boost/boost/bimap/vector_of.hpp", + "external/sources/boost/boost/bimap/views/list_map_view.hpp", + "external/sources/boost/boost/bimap/views/list_set_view.hpp", + "external/sources/boost/boost/bimap/views/map_view.hpp", + "external/sources/boost/boost/bimap/views/multimap_view.hpp", + "external/sources/boost/boost/bimap/views/multiset_view.hpp", + "external/sources/boost/boost/bimap/views/set_view.hpp", + "external/sources/boost/boost/bimap/views/unconstrained_map_view.hpp", + "external/sources/boost/boost/bimap/views/unconstrained_set_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_map_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_multimap_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_multiset_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_set_view.hpp", + "external/sources/boost/boost/bimap/views/vector_map_view.hpp", + "external/sources/boost/boost/bimap/views/vector_set_view.hpp", + "external/sources/boost/boost/bind.hpp", + "external/sources/boost/boost/bind/apply.hpp", + "external/sources/boost/boost/bind/arg.hpp", + "external/sources/boost/boost/bind/bind.hpp", + "external/sources/boost/boost/bind/bind_cc.hpp", + "external/sources/boost/boost/bind/bind_mf2_cc.hpp", + "external/sources/boost/boost/bind/bind_mf_cc.hpp", + "external/sources/boost/boost/bind/bind_template.hpp", + "external/sources/boost/boost/bind/make_adaptable.hpp", + "external/sources/boost/boost/bind/mem_fn.hpp", + "external/sources/boost/boost/bind/mem_fn_cc.hpp", + "external/sources/boost/boost/bind/mem_fn_template.hpp", + "external/sources/boost/boost/bind/mem_fn_vw.hpp", + "external/sources/boost/boost/bind/placeholders.hpp", + "external/sources/boost/boost/bind/protect.hpp", + "external/sources/boost/boost/bind/storage.hpp", + "external/sources/boost/boost/blank.hpp", + "external/sources/boost/boost/blank_fwd.hpp", + "external/sources/boost/boost/call_traits.hpp", + "external/sources/boost/boost/callable_traits.hpp", + "external/sources/boost/boost/callable_traits/add_member_const.hpp", + "external/sources/boost/boost/callable_traits/add_member_cv.hpp", + "external/sources/boost/boost/callable_traits/add_member_lvalue_reference.hpp", + "external/sources/boost/boost/callable_traits/add_member_rvalue_reference.hpp", + "external/sources/boost/boost/callable_traits/add_member_volatile.hpp", + "external/sources/boost/boost/callable_traits/add_noexcept.hpp", + "external/sources/boost/boost/callable_traits/add_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/add_varargs.hpp", + "external/sources/boost/boost/callable_traits/apply_member_pointer.hpp", + "external/sources/boost/boost/callable_traits/apply_return.hpp", + "external/sources/boost/boost/callable_traits/args.hpp", + "external/sources/boost/boost/callable_traits/class_of.hpp", + "external/sources/boost/boost/callable_traits/detail/config.hpp", + "external/sources/boost/boost/callable_traits/detail/core.hpp", + "external/sources/boost/boost/callable_traits/detail/default_callable_traits.hpp", + "external/sources/boost/boost/callable_traits/detail/forward_declarations.hpp", + "external/sources/boost/boost/callable_traits/detail/function.hpp", + "external/sources/boost/boost/callable_traits/detail/function_object.hpp", + "external/sources/boost/boost/callable_traits/detail/is_invocable_impl.hpp", + "external/sources/boost/boost/callable_traits/detail/parameter_index_helper.hpp", + "external/sources/boost/boost/callable_traits/detail/pmd.hpp", + "external/sources/boost/boost/callable_traits/detail/pmf.hpp", + "external/sources/boost/boost/callable_traits/detail/polyfills/disjunction.hpp", + "external/sources/boost/boost/callable_traits/detail/polyfills/make_index_sequence.hpp", + "external/sources/boost/boost/callable_traits/detail/qualifier_flags.hpp", + "external/sources/boost/boost/callable_traits/detail/set_function_qualifiers.hpp", + "external/sources/boost/boost/callable_traits/detail/sfinae_errors.hpp", + "external/sources/boost/boost/callable_traits/detail/traits.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_4.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_4.hpp", + "external/sources/boost/boost/callable_traits/detail/utility.hpp", + "external/sources/boost/boost/callable_traits/function_type.hpp", + "external/sources/boost/boost/callable_traits/has_member_qualifiers.hpp", + "external/sources/boost/boost/callable_traits/has_varargs.hpp", + "external/sources/boost/boost/callable_traits/has_void_return.hpp", + "external/sources/boost/boost/callable_traits/is_const_member.hpp", + "external/sources/boost/boost/callable_traits/is_cv_member.hpp", + "external/sources/boost/boost/callable_traits/is_invocable.hpp", + "external/sources/boost/boost/callable_traits/is_lvalue_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_noexcept.hpp", + "external/sources/boost/boost/callable_traits/is_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_rvalue_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/is_volatile_member.hpp", + "external/sources/boost/boost/callable_traits/qualified_class_of.hpp", + "external/sources/boost/boost/callable_traits/remove_member_const.hpp", + "external/sources/boost/boost/callable_traits/remove_member_cv.hpp", + "external/sources/boost/boost/callable_traits/remove_member_reference.hpp", + "external/sources/boost/boost/callable_traits/remove_member_volatile.hpp", + "external/sources/boost/boost/callable_traits/remove_noexcept.hpp", + "external/sources/boost/boost/callable_traits/remove_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/remove_varargs.hpp", + "external/sources/boost/boost/callable_traits/return_type.hpp", + "external/sources/boost/boost/cast.hpp", + "external/sources/boost/boost/cerrno.hpp", + "external/sources/boost/boost/checked_delete.hpp", + "external/sources/boost/boost/chrono.hpp", + "external/sources/boost/boost/chrono/ceil.hpp", + "external/sources/boost/boost/chrono/chrono.hpp", + "external/sources/boost/boost/chrono/chrono_io.hpp", + "external/sources/boost/boost/chrono/clock_string.hpp", + "external/sources/boost/boost/chrono/config.hpp", + "external/sources/boost/boost/chrono/detail/inlined/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/is_evenly_divisible_by.hpp", + "external/sources/boost/boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp", + "external/sources/boost/boost/chrono/detail/scan_keyword.hpp", + "external/sources/boost/boost/chrono/detail/static_assert.hpp", + "external/sources/boost/boost/chrono/detail/system.hpp", + "external/sources/boost/boost/chrono/duration.hpp", + "external/sources/boost/boost/chrono/floor.hpp", + "external/sources/boost/boost/chrono/include.hpp", + "external/sources/boost/boost/chrono/io/duration_get.hpp", + "external/sources/boost/boost/chrono/io/duration_io.hpp", + "external/sources/boost/boost/chrono/io/duration_put.hpp", + "external/sources/boost/boost/chrono/io/duration_style.hpp", + "external/sources/boost/boost/chrono/io/duration_units.hpp", + "external/sources/boost/boost/chrono/io/ios_base_state.hpp", + "external/sources/boost/boost/chrono/io/time_point_get.hpp", + "external/sources/boost/boost/chrono/io/time_point_io.hpp", + "external/sources/boost/boost/chrono/io/time_point_put.hpp", + "external/sources/boost/boost/chrono/io/time_point_units.hpp", + "external/sources/boost/boost/chrono/io/timezone.hpp", + "external/sources/boost/boost/chrono/io/utility/ios_base_state_ptr.hpp", + "external/sources/boost/boost/chrono/io/utility/manip_base.hpp", + "external/sources/boost/boost/chrono/io/utility/to_string.hpp", + "external/sources/boost/boost/chrono/io_v1/chrono_io.hpp", + "external/sources/boost/boost/chrono/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/round.hpp", + "external/sources/boost/boost/chrono/system_clocks.hpp", + "external/sources/boost/boost/chrono/thread_clock.hpp", + "external/sources/boost/boost/chrono/time_point.hpp", + "external/sources/boost/boost/chrono/typeof/boost/chrono/chrono.hpp", + "external/sources/boost/boost/chrono/typeof/boost/ratio.hpp", + "external/sources/boost/boost/circular_buffer.hpp", + "external/sources/boost/boost/circular_buffer/base.hpp", + "external/sources/boost/boost/circular_buffer/debug.hpp", + "external/sources/boost/boost/circular_buffer/details.hpp", + "external/sources/boost/boost/circular_buffer/space_optimized.hpp", + "external/sources/boost/boost/circular_buffer_fwd.hpp", + "external/sources/boost/boost/compatibility/cpp_c_headers/cassert", + "external/sources/boost/boost/compatibility/cpp_c_headers/cctype", + "external/sources/boost/boost/compatibility/cpp_c_headers/cerrno", + "external/sources/boost/boost/compatibility/cpp_c_headers/cfloat", + "external/sources/boost/boost/compatibility/cpp_c_headers/climits", + "external/sources/boost/boost/compatibility/cpp_c_headers/clocale", + "external/sources/boost/boost/compatibility/cpp_c_headers/cmath", + "external/sources/boost/boost/compatibility/cpp_c_headers/csetjmp", + "external/sources/boost/boost/compatibility/cpp_c_headers/csignal", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdarg", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstddef", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdio", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdlib", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstring", + "external/sources/boost/boost/compatibility/cpp_c_headers/ctime", + "external/sources/boost/boost/compatibility/cpp_c_headers/cwchar", + "external/sources/boost/boost/compatibility/cpp_c_headers/cwctype", + "external/sources/boost/boost/compressed_pair.hpp", + "external/sources/boost/boost/compute.hpp", + "external/sources/boost/boost/compute/algorithm.hpp", + "external/sources/boost/boost/compute/algorithm/accumulate.hpp", + "external/sources/boost/boost/compute/algorithm/adjacent_difference.hpp", + "external/sources/boost/boost/compute/algorithm/adjacent_find.hpp", + "external/sources/boost/boost/compute/algorithm/all_of.hpp", + "external/sources/boost/boost/compute/algorithm/any_of.hpp", + "external/sources/boost/boost/compute/algorithm/binary_search.hpp", + "external/sources/boost/boost/compute/algorithm/copy.hpp", + "external/sources/boost/boost/compute/algorithm/copy_if.hpp", + "external/sources/boost/boost/compute/algorithm/copy_n.hpp", + "external/sources/boost/boost/compute/algorithm/count.hpp", + "external/sources/boost/boost/compute/algorithm/count_if.hpp", + "external/sources/boost/boost/compute/algorithm/detail/balanced_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/binary_find.hpp", + "external/sources/boost/boost/compute/algorithm/detail/compact.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_on_device.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_to_device.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_to_host.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_ballot.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_threads.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_atomics.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_if_with_atomics.hpp", + "external/sources/boost/boost/compute/algorithm/detail/inplace_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/insertion_sort.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_with_merge_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/radix_sort.hpp", + "external/sources/boost/boost/compute/algorithm/detail/random_fill.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key_with_scan.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/search_all.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_accumulate.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_count_if.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_find_extrema.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_merge.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_scan.hpp", + "external/sources/boost/boost/compute/algorithm/equal.hpp", + "external/sources/boost/boost/compute/algorithm/equal_range.hpp", + "external/sources/boost/boost/compute/algorithm/exclusive_scan.hpp", + "external/sources/boost/boost/compute/algorithm/fill.hpp", + "external/sources/boost/boost/compute/algorithm/fill_n.hpp", + "external/sources/boost/boost/compute/algorithm/find.hpp", + "external/sources/boost/boost/compute/algorithm/find_end.hpp", + "external/sources/boost/boost/compute/algorithm/find_if.hpp", + "external/sources/boost/boost/compute/algorithm/find_if_not.hpp", + "external/sources/boost/boost/compute/algorithm/for_each.hpp", + "external/sources/boost/boost/compute/algorithm/for_each_n.hpp", + "external/sources/boost/boost/compute/algorithm/gather.hpp", + "external/sources/boost/boost/compute/algorithm/generate.hpp", + "external/sources/boost/boost/compute/algorithm/generate_n.hpp", + "external/sources/boost/boost/compute/algorithm/includes.hpp", + "external/sources/boost/boost/compute/algorithm/inclusive_scan.hpp", + "external/sources/boost/boost/compute/algorithm/inner_product.hpp", + "external/sources/boost/boost/compute/algorithm/inplace_merge.hpp", + "external/sources/boost/boost/compute/algorithm/iota.hpp", + "external/sources/boost/boost/compute/algorithm/is_partitioned.hpp", + "external/sources/boost/boost/compute/algorithm/is_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/is_sorted.hpp", + "external/sources/boost/boost/compute/algorithm/lexicographical_compare.hpp", + "external/sources/boost/boost/compute/algorithm/lower_bound.hpp", + "external/sources/boost/boost/compute/algorithm/max_element.hpp", + "external/sources/boost/boost/compute/algorithm/merge.hpp", + "external/sources/boost/boost/compute/algorithm/min_element.hpp", + "external/sources/boost/boost/compute/algorithm/minmax_element.hpp", + "external/sources/boost/boost/compute/algorithm/mismatch.hpp", + "external/sources/boost/boost/compute/algorithm/next_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/none_of.hpp", + "external/sources/boost/boost/compute/algorithm/nth_element.hpp", + "external/sources/boost/boost/compute/algorithm/partial_sum.hpp", + "external/sources/boost/boost/compute/algorithm/partition.hpp", + "external/sources/boost/boost/compute/algorithm/partition_copy.hpp", + "external/sources/boost/boost/compute/algorithm/partition_point.hpp", + "external/sources/boost/boost/compute/algorithm/prev_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/random_shuffle.hpp", + "external/sources/boost/boost/compute/algorithm/reduce.hpp", + "external/sources/boost/boost/compute/algorithm/reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/remove.hpp", + "external/sources/boost/boost/compute/algorithm/remove_if.hpp", + "external/sources/boost/boost/compute/algorithm/replace.hpp", + "external/sources/boost/boost/compute/algorithm/replace_copy.hpp", + "external/sources/boost/boost/compute/algorithm/reverse.hpp", + "external/sources/boost/boost/compute/algorithm/reverse_copy.hpp", + "external/sources/boost/boost/compute/algorithm/rotate.hpp", + "external/sources/boost/boost/compute/algorithm/rotate_copy.hpp", + "external/sources/boost/boost/compute/algorithm/scatter.hpp", + "external/sources/boost/boost/compute/algorithm/scatter_if.hpp", + "external/sources/boost/boost/compute/algorithm/search.hpp", + "external/sources/boost/boost/compute/algorithm/search_n.hpp", + "external/sources/boost/boost/compute/algorithm/set_difference.hpp", + "external/sources/boost/boost/compute/algorithm/set_intersection.hpp", + "external/sources/boost/boost/compute/algorithm/set_symmetric_difference.hpp", + "external/sources/boost/boost/compute/algorithm/set_union.hpp", + "external/sources/boost/boost/compute/algorithm/sort.hpp", + "external/sources/boost/boost/compute/algorithm/sort_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/stable_partition.hpp", + "external/sources/boost/boost/compute/algorithm/stable_sort.hpp", + "external/sources/boost/boost/compute/algorithm/stable_sort_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/swap_ranges.hpp", + "external/sources/boost/boost/compute/algorithm/transform.hpp", + "external/sources/boost/boost/compute/algorithm/transform_if.hpp", + "external/sources/boost/boost/compute/algorithm/transform_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/unique.hpp", + "external/sources/boost/boost/compute/algorithm/unique_copy.hpp", + "external/sources/boost/boost/compute/algorithm/upper_bound.hpp", + "external/sources/boost/boost/compute/allocator.hpp", + "external/sources/boost/boost/compute/allocator/buffer_allocator.hpp", + "external/sources/boost/boost/compute/allocator/pinned_allocator.hpp", + "external/sources/boost/boost/compute/async.hpp", + "external/sources/boost/boost/compute/async/future.hpp", + "external/sources/boost/boost/compute/async/wait.hpp", + "external/sources/boost/boost/compute/async/wait_guard.hpp", + "external/sources/boost/boost/compute/buffer.hpp", + "external/sources/boost/boost/compute/cl.hpp", + "external/sources/boost/boost/compute/cl_ext.hpp", + "external/sources/boost/boost/compute/closure.hpp", + "external/sources/boost/boost/compute/command_queue.hpp", + "external/sources/boost/boost/compute/config.hpp", + "external/sources/boost/boost/compute/container.hpp", + "external/sources/boost/boost/compute/container/array.hpp", + "external/sources/boost/boost/compute/container/basic_string.hpp", + "external/sources/boost/boost/compute/container/detail/scalar.hpp", + "external/sources/boost/boost/compute/container/dynamic_bitset.hpp", + "external/sources/boost/boost/compute/container/flat_map.hpp", + "external/sources/boost/boost/compute/container/flat_set.hpp", + "external/sources/boost/boost/compute/container/mapped_view.hpp", + "external/sources/boost/boost/compute/container/stack.hpp", + "external/sources/boost/boost/compute/container/string.hpp", + "external/sources/boost/boost/compute/container/valarray.hpp", + "external/sources/boost/boost/compute/container/vector.hpp", + "external/sources/boost/boost/compute/context.hpp", + "external/sources/boost/boost/compute/core.hpp", + "external/sources/boost/boost/compute/detail/assert_cl_success.hpp", + "external/sources/boost/boost/compute/detail/buffer_value.hpp", + "external/sources/boost/boost/compute/detail/cl_versions.hpp", + "external/sources/boost/boost/compute/detail/device_ptr.hpp", + "external/sources/boost/boost/compute/detail/diagnostic.hpp", + "external/sources/boost/boost/compute/detail/duration.hpp", + "external/sources/boost/boost/compute/detail/get_object_info.hpp", + "external/sources/boost/boost/compute/detail/getenv.hpp", + "external/sources/boost/boost/compute/detail/global_static.hpp", + "external/sources/boost/boost/compute/detail/is_buffer_iterator.hpp", + "external/sources/boost/boost/compute/detail/is_contiguous_iterator.hpp", + "external/sources/boost/boost/compute/detail/iterator_plus_distance.hpp", + "external/sources/boost/boost/compute/detail/iterator_range_size.hpp", + "external/sources/boost/boost/compute/detail/iterator_traits.hpp", + "external/sources/boost/boost/compute/detail/literal.hpp", + "external/sources/boost/boost/compute/detail/lru_cache.hpp", + "external/sources/boost/boost/compute/detail/meta_kernel.hpp", + "external/sources/boost/boost/compute/detail/mpl_vector_to_tuple.hpp", + "external/sources/boost/boost/compute/detail/nvidia_compute_capability.hpp", + "external/sources/boost/boost/compute/detail/parameter_cache.hpp", + "external/sources/boost/boost/compute/detail/path.hpp", + "external/sources/boost/boost/compute/detail/print_range.hpp", + "external/sources/boost/boost/compute/detail/read_write_single_value.hpp", + "external/sources/boost/boost/compute/detail/sha1.hpp", + "external/sources/boost/boost/compute/detail/variadic_macros.hpp", + "external/sources/boost/boost/compute/detail/vendor.hpp", + "external/sources/boost/boost/compute/detail/work_size.hpp", + "external/sources/boost/boost/compute/device.hpp", + "external/sources/boost/boost/compute/event.hpp", + "external/sources/boost/boost/compute/exception.hpp", + "external/sources/boost/boost/compute/exception/context_error.hpp", + "external/sources/boost/boost/compute/exception/no_device_found.hpp", + "external/sources/boost/boost/compute/exception/opencl_error.hpp", + "external/sources/boost/boost/compute/exception/program_build_failure.hpp", + "external/sources/boost/boost/compute/exception/unsupported_extension_error.hpp", + "external/sources/boost/boost/compute/experimental/clamp_range.hpp", + "external/sources/boost/boost/compute/experimental/malloc.hpp", + "external/sources/boost/boost/compute/experimental/sort_by_transform.hpp", + "external/sources/boost/boost/compute/experimental/tabulate.hpp", + "external/sources/boost/boost/compute/function.hpp", + "external/sources/boost/boost/compute/functional.hpp", + "external/sources/boost/boost/compute/functional/as.hpp", + "external/sources/boost/boost/compute/functional/atomic.hpp", + "external/sources/boost/boost/compute/functional/bind.hpp", + "external/sources/boost/boost/compute/functional/common.hpp", + "external/sources/boost/boost/compute/functional/convert.hpp", + "external/sources/boost/boost/compute/functional/detail/macros.hpp", + "external/sources/boost/boost/compute/functional/detail/nvidia_ballot.hpp", + "external/sources/boost/boost/compute/functional/detail/nvidia_popcount.hpp", + "external/sources/boost/boost/compute/functional/detail/unpack.hpp", + "external/sources/boost/boost/compute/functional/field.hpp", + "external/sources/boost/boost/compute/functional/geometry.hpp", + "external/sources/boost/boost/compute/functional/get.hpp", + "external/sources/boost/boost/compute/functional/hash.hpp", + "external/sources/boost/boost/compute/functional/identity.hpp", + "external/sources/boost/boost/compute/functional/integer.hpp", + "external/sources/boost/boost/compute/functional/logical.hpp", + "external/sources/boost/boost/compute/functional/math.hpp", + "external/sources/boost/boost/compute/functional/operator.hpp", + "external/sources/boost/boost/compute/functional/popcount.hpp", + "external/sources/boost/boost/compute/functional/relational.hpp", + "external/sources/boost/boost/compute/image.hpp", + "external/sources/boost/boost/compute/image/image1d.hpp", + "external/sources/boost/boost/compute/image/image2d.hpp", + "external/sources/boost/boost/compute/image/image3d.hpp", + "external/sources/boost/boost/compute/image/image_format.hpp", + "external/sources/boost/boost/compute/image/image_object.hpp", + "external/sources/boost/boost/compute/image/image_sampler.hpp", + "external/sources/boost/boost/compute/image2d.hpp", + "external/sources/boost/boost/compute/image3d.hpp", + "external/sources/boost/boost/compute/image_format.hpp", + "external/sources/boost/boost/compute/image_sampler.hpp", + "external/sources/boost/boost/compute/interop/eigen.hpp", + "external/sources/boost/boost/compute/interop/eigen/core.hpp", + "external/sources/boost/boost/compute/interop/opencv.hpp", + "external/sources/boost/boost/compute/interop/opencv/core.hpp", + "external/sources/boost/boost/compute/interop/opencv/highgui.hpp", + "external/sources/boost/boost/compute/interop/opencv/ocl.hpp", + "external/sources/boost/boost/compute/interop/opengl.hpp", + "external/sources/boost/boost/compute/interop/opengl/acquire.hpp", + "external/sources/boost/boost/compute/interop/opengl/cl_gl.hpp", + "external/sources/boost/boost/compute/interop/opengl/cl_gl_ext.hpp", + "external/sources/boost/boost/compute/interop/opengl/context.hpp", + "external/sources/boost/boost/compute/interop/opengl/gl.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_buffer.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_renderbuffer.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_texture.hpp", + "external/sources/boost/boost/compute/interop/qt.hpp", + "external/sources/boost/boost/compute/interop/qt/qimage.hpp", + "external/sources/boost/boost/compute/interop/qt/qpoint.hpp", + "external/sources/boost/boost/compute/interop/qt/qpointf.hpp", + "external/sources/boost/boost/compute/interop/qt/qtcore.hpp", + "external/sources/boost/boost/compute/interop/qt/qtgui.hpp", + "external/sources/boost/boost/compute/interop/qt/qvector.hpp", + "external/sources/boost/boost/compute/interop/vtk.hpp", + "external/sources/boost/boost/compute/interop/vtk/bounds.hpp", + "external/sources/boost/boost/compute/interop/vtk/data_array.hpp", + "external/sources/boost/boost/compute/interop/vtk/matrix4x4.hpp", + "external/sources/boost/boost/compute/interop/vtk/points.hpp", + "external/sources/boost/boost/compute/iterator.hpp", + "external/sources/boost/boost/compute/iterator/buffer_iterator.hpp", + "external/sources/boost/boost/compute/iterator/constant_buffer_iterator.hpp", + "external/sources/boost/boost/compute/iterator/constant_iterator.hpp", + "external/sources/boost/boost/compute/iterator/counting_iterator.hpp", + "external/sources/boost/boost/compute/iterator/detail/get_base_iterator_buffer.hpp", + "external/sources/boost/boost/compute/iterator/detail/swizzle_iterator.hpp", + "external/sources/boost/boost/compute/iterator/discard_iterator.hpp", + "external/sources/boost/boost/compute/iterator/function_input_iterator.hpp", + "external/sources/boost/boost/compute/iterator/permutation_iterator.hpp", + "external/sources/boost/boost/compute/iterator/strided_iterator.hpp", + "external/sources/boost/boost/compute/iterator/transform_iterator.hpp", + "external/sources/boost/boost/compute/iterator/zip_iterator.hpp", + "external/sources/boost/boost/compute/kernel.hpp", + "external/sources/boost/boost/compute/lambda.hpp", + "external/sources/boost/boost/compute/lambda/context.hpp", + "external/sources/boost/boost/compute/lambda/functional.hpp", + "external/sources/boost/boost/compute/lambda/get.hpp", + "external/sources/boost/boost/compute/lambda/make_pair.hpp", + "external/sources/boost/boost/compute/lambda/make_tuple.hpp", + "external/sources/boost/boost/compute/lambda/placeholder.hpp", + "external/sources/boost/boost/compute/lambda/placeholders.hpp", + "external/sources/boost/boost/compute/lambda/result_of.hpp", + "external/sources/boost/boost/compute/memory.hpp", + "external/sources/boost/boost/compute/memory/local_buffer.hpp", + "external/sources/boost/boost/compute/memory/svm_ptr.hpp", + "external/sources/boost/boost/compute/memory_object.hpp", + "external/sources/boost/boost/compute/pipe.hpp", + "external/sources/boost/boost/compute/platform.hpp", + "external/sources/boost/boost/compute/program.hpp", + "external/sources/boost/boost/compute/random.hpp", + "external/sources/boost/boost/compute/random/bernoulli_distribution.hpp", + "external/sources/boost/boost/compute/random/default_random_engine.hpp", + "external/sources/boost/boost/compute/random/discrete_distribution.hpp", + "external/sources/boost/boost/compute/random/linear_congruential_engine.hpp", + "external/sources/boost/boost/compute/random/mersenne_twister_engine.hpp", + "external/sources/boost/boost/compute/random/normal_distribution.hpp", + "external/sources/boost/boost/compute/random/threefry_engine.hpp", + "external/sources/boost/boost/compute/random/uniform_int_distribution.hpp", + "external/sources/boost/boost/compute/random/uniform_real_distribution.hpp", + "external/sources/boost/boost/compute/source.hpp", + "external/sources/boost/boost/compute/svm.hpp", + "external/sources/boost/boost/compute/system.hpp", + "external/sources/boost/boost/compute/type_traits.hpp", + "external/sources/boost/boost/compute/type_traits/common_type.hpp", + "external/sources/boost/boost/compute/type_traits/detail/capture_traits.hpp", + "external/sources/boost/boost/compute/type_traits/is_device_iterator.hpp", + "external/sources/boost/boost/compute/type_traits/is_fundamental.hpp", + "external/sources/boost/boost/compute/type_traits/is_vector_type.hpp", + "external/sources/boost/boost/compute/type_traits/make_vector_type.hpp", + "external/sources/boost/boost/compute/type_traits/result_of.hpp", + "external/sources/boost/boost/compute/type_traits/scalar_type.hpp", + "external/sources/boost/boost/compute/type_traits/type_definition.hpp", + "external/sources/boost/boost/compute/type_traits/type_name.hpp", + "external/sources/boost/boost/compute/type_traits/vector_size.hpp", + "external/sources/boost/boost/compute/types.hpp", + "external/sources/boost/boost/compute/types/builtin.hpp", + "external/sources/boost/boost/compute/types/complex.hpp", + "external/sources/boost/boost/compute/types/fundamental.hpp", + "external/sources/boost/boost/compute/types/pair.hpp", + "external/sources/boost/boost/compute/types/size_t.hpp", + "external/sources/boost/boost/compute/types/struct.hpp", + "external/sources/boost/boost/compute/types/tuple.hpp", + "external/sources/boost/boost/compute/user_event.hpp", + "external/sources/boost/boost/compute/utility.hpp", + "external/sources/boost/boost/compute/utility/dim.hpp", + "external/sources/boost/boost/compute/utility/extents.hpp", + "external/sources/boost/boost/compute/utility/invoke.hpp", + "external/sources/boost/boost/compute/utility/program_cache.hpp", + "external/sources/boost/boost/compute/utility/source.hpp", + "external/sources/boost/boost/compute/utility/wait_list.hpp", + "external/sources/boost/boost/compute/version.hpp", + "external/sources/boost/boost/compute/wait_list.hpp", + "external/sources/boost/boost/concept/assert.hpp", + "external/sources/boost/boost/concept/detail/backward_compatibility.hpp", + "external/sources/boost/boost/concept/detail/borland.hpp", + "external/sources/boost/boost/concept/detail/concept_def.hpp", + "external/sources/boost/boost/concept/detail/concept_undef.hpp", + "external/sources/boost/boost/concept/detail/general.hpp", + "external/sources/boost/boost/concept/detail/has_constraints.hpp", + "external/sources/boost/boost/concept/detail/msvc.hpp", + "external/sources/boost/boost/concept/requires.hpp", + "external/sources/boost/boost/concept/usage.hpp", + "external/sources/boost/boost/concept_archetype.hpp", + "external/sources/boost/boost/concept_check.hpp", + "external/sources/boost/boost/concept_check/borland.hpp", + "external/sources/boost/boost/concept_check/general.hpp", + "external/sources/boost/boost/concept_check/has_constraints.hpp", + "external/sources/boost/boost/concept_check/msvc.hpp", + "external/sources/boost/boost/config.hpp", + "external/sources/boost/boost/config/abi/borland_prefix.hpp", + "external/sources/boost/boost/config/abi/borland_suffix.hpp", + "external/sources/boost/boost/config/abi/msvc_prefix.hpp", + "external/sources/boost/boost/config/abi/msvc_suffix.hpp", + "external/sources/boost/boost/config/abi_prefix.hpp", + "external/sources/boost/boost/config/abi_suffix.hpp", + "external/sources/boost/boost/config/auto_link.hpp", + "external/sources/boost/boost/config/compiler/borland.hpp", + "external/sources/boost/boost/config/compiler/clang.hpp", + "external/sources/boost/boost/config/compiler/codegear.hpp", + "external/sources/boost/boost/config/compiler/comeau.hpp", + "external/sources/boost/boost/config/compiler/common_edg.hpp", + "external/sources/boost/boost/config/compiler/compaq_cxx.hpp", + "external/sources/boost/boost/config/compiler/cray.hpp", + "external/sources/boost/boost/config/compiler/diab.hpp", + "external/sources/boost/boost/config/compiler/digitalmars.hpp", + "external/sources/boost/boost/config/compiler/gcc.hpp", + "external/sources/boost/boost/config/compiler/gcc_xml.hpp", + "external/sources/boost/boost/config/compiler/greenhills.hpp", + "external/sources/boost/boost/config/compiler/hp_acc.hpp", + "external/sources/boost/boost/config/compiler/intel.hpp", + "external/sources/boost/boost/config/compiler/kai.hpp", + "external/sources/boost/boost/config/compiler/metrowerks.hpp", + "external/sources/boost/boost/config/compiler/mpw.hpp", + "external/sources/boost/boost/config/compiler/nvcc.hpp", + "external/sources/boost/boost/config/compiler/pathscale.hpp", + "external/sources/boost/boost/config/compiler/pgi.hpp", + "external/sources/boost/boost/config/compiler/sgi_mipspro.hpp", + "external/sources/boost/boost/config/compiler/sunpro_cc.hpp", + "external/sources/boost/boost/config/compiler/vacpp.hpp", + "external/sources/boost/boost/config/compiler/visualc.hpp", + "external/sources/boost/boost/config/compiler/xlcpp.hpp", + "external/sources/boost/boost/config/compiler/xlcpp_zos.hpp", + "external/sources/boost/boost/config/detail/posix_features.hpp", + "external/sources/boost/boost/config/detail/select_compiler_config.hpp", + "external/sources/boost/boost/config/detail/select_platform_config.hpp", + "external/sources/boost/boost/config/detail/select_stdlib_config.hpp", + "external/sources/boost/boost/config/detail/suffix.hpp", + "external/sources/boost/boost/config/header_deprecated.hpp", + "external/sources/boost/boost/config/helper_macros.hpp", + "external/sources/boost/boost/config/no_tr1/cmath.hpp", + "external/sources/boost/boost/config/no_tr1/complex.hpp", + "external/sources/boost/boost/config/no_tr1/functional.hpp", + "external/sources/boost/boost/config/no_tr1/memory.hpp", + "external/sources/boost/boost/config/no_tr1/utility.hpp", + "external/sources/boost/boost/config/platform/aix.hpp", + "external/sources/boost/boost/config/platform/amigaos.hpp", + "external/sources/boost/boost/config/platform/beos.hpp", + "external/sources/boost/boost/config/platform/bsd.hpp", + "external/sources/boost/boost/config/platform/cloudabi.hpp", + "external/sources/boost/boost/config/platform/cray.hpp", + "external/sources/boost/boost/config/platform/cygwin.hpp", + "external/sources/boost/boost/config/platform/haiku.hpp", + "external/sources/boost/boost/config/platform/hpux.hpp", + "external/sources/boost/boost/config/platform/irix.hpp", + "external/sources/boost/boost/config/platform/linux.hpp", + "external/sources/boost/boost/config/platform/macos.hpp", + "external/sources/boost/boost/config/platform/qnxnto.hpp", + "external/sources/boost/boost/config/platform/solaris.hpp", + "external/sources/boost/boost/config/platform/symbian.hpp", + "external/sources/boost/boost/config/platform/vms.hpp", + "external/sources/boost/boost/config/platform/vxworks.hpp", + "external/sources/boost/boost/config/platform/win32.hpp", + "external/sources/boost/boost/config/platform/zos.hpp", + "external/sources/boost/boost/config/pragma_message.hpp", + "external/sources/boost/boost/config/requires_threads.hpp", + "external/sources/boost/boost/config/stdlib/dinkumware.hpp", + "external/sources/boost/boost/config/stdlib/libcomo.hpp", + "external/sources/boost/boost/config/stdlib/libcpp.hpp", + "external/sources/boost/boost/config/stdlib/libstdcpp3.hpp", + "external/sources/boost/boost/config/stdlib/modena.hpp", + "external/sources/boost/boost/config/stdlib/msl.hpp", + "external/sources/boost/boost/config/stdlib/roguewave.hpp", + "external/sources/boost/boost/config/stdlib/sgi.hpp", + "external/sources/boost/boost/config/stdlib/stlport.hpp", + "external/sources/boost/boost/config/stdlib/vacpp.hpp", + "external/sources/boost/boost/config/stdlib/xlcpp_zos.hpp", + "external/sources/boost/boost/config/user.hpp", + "external/sources/boost/boost/config/warning_disable.hpp", + "external/sources/boost/boost/config/workaround.hpp", + "external/sources/boost/boost/container/adaptive_pool.hpp", + "external/sources/boost/boost/container/allocator.hpp", + "external/sources/boost/boost/container/allocator_traits.hpp", + "external/sources/boost/boost/container/container_fwd.hpp", + "external/sources/boost/boost/container/deque.hpp", + "external/sources/boost/boost/container/detail/adaptive_node_pool.hpp", + "external/sources/boost/boost/container/detail/adaptive_node_pool_impl.hpp", + "external/sources/boost/boost/container/detail/addressof.hpp", + "external/sources/boost/boost/container/detail/advanced_insert_int.hpp", + "external/sources/boost/boost/container/detail/algorithm.hpp", + "external/sources/boost/boost/container/detail/alloc_helpers.hpp", + "external/sources/boost/boost/container/detail/alloc_lib.h", + "external/sources/boost/boost/container/detail/allocation_type.hpp", + "external/sources/boost/boost/container/detail/allocator_version_traits.hpp", + "external/sources/boost/boost/container/detail/auto_link.hpp", + "external/sources/boost/boost/container/detail/block_list.hpp", + "external/sources/boost/boost/container/detail/block_slist.hpp", + "external/sources/boost/boost/container/detail/compare_functors.hpp", + "external/sources/boost/boost/container/detail/config_begin.hpp", + "external/sources/boost/boost/container/detail/config_end.hpp", + "external/sources/boost/boost/container/detail/construct_in_place.hpp", + "external/sources/boost/boost/container/detail/container_or_allocator_rebind.hpp", + "external/sources/boost/boost/container/detail/container_rebind.hpp", + "external/sources/boost/boost/container/detail/copy_move_algo.hpp", + "external/sources/boost/boost/container/detail/destroyers.hpp", + "external/sources/boost/boost/container/detail/dispatch_uses_allocator.hpp", + "external/sources/boost/boost/container/detail/dlmalloc.hpp", + "external/sources/boost/boost/container/detail/flat_tree.hpp", + "external/sources/boost/boost/container/detail/function_detector.hpp", + "external/sources/boost/boost/container/detail/is_container.hpp", + "external/sources/boost/boost/container/detail/is_contiguous_container.hpp", + "external/sources/boost/boost/container/detail/is_sorted.hpp", + "external/sources/boost/boost/container/detail/iterator.hpp", + "external/sources/boost/boost/container/detail/iterator_to_raw_pointer.hpp", + "external/sources/boost/boost/container/detail/iterators.hpp", + "external/sources/boost/boost/container/detail/math_functions.hpp", + "external/sources/boost/boost/container/detail/min_max.hpp", + "external/sources/boost/boost/container/detail/minimal_char_traits_header.hpp", + "external/sources/boost/boost/container/detail/mpl.hpp", + "external/sources/boost/boost/container/detail/multiallocation_chain.hpp", + "external/sources/boost/boost/container/detail/mutex.hpp", + "external/sources/boost/boost/container/detail/next_capacity.hpp", + "external/sources/boost/boost/container/detail/node_alloc_holder.hpp", + "external/sources/boost/boost/container/detail/node_pool.hpp", + "external/sources/boost/boost/container/detail/node_pool_impl.hpp", + "external/sources/boost/boost/container/detail/pair.hpp", + "external/sources/boost/boost/container/detail/pair_key_mapped_of_value.hpp", + "external/sources/boost/boost/container/detail/placement_new.hpp", + "external/sources/boost/boost/container/detail/pool_common.hpp", + "external/sources/boost/boost/container/detail/pool_common_alloc.hpp", + "external/sources/boost/boost/container/detail/pool_resource.hpp", + "external/sources/boost/boost/container/detail/singleton.hpp", + "external/sources/boost/boost/container/detail/std_fwd.hpp", + "external/sources/boost/boost/container/detail/thread_mutex.hpp", + "external/sources/boost/boost/container/detail/transform_iterator.hpp", + "external/sources/boost/boost/container/detail/tree.hpp", + "external/sources/boost/boost/container/detail/type_traits.hpp", + "external/sources/boost/boost/container/detail/value_functors.hpp", + "external/sources/boost/boost/container/detail/value_init.hpp", + "external/sources/boost/boost/container/detail/variadic_templates_tools.hpp", + "external/sources/boost/boost/container/detail/version_type.hpp", + "external/sources/boost/boost/container/detail/workaround.hpp", + "external/sources/boost/boost/container/flat_map.hpp", + "external/sources/boost/boost/container/flat_set.hpp", + "external/sources/boost/boost/container/list.hpp", + "external/sources/boost/boost/container/map.hpp", + "external/sources/boost/boost/container/new_allocator.hpp", + "external/sources/boost/boost/container/node_allocator.hpp", + "external/sources/boost/boost/container/node_handle.hpp", + "external/sources/boost/boost/container/options.hpp", + "external/sources/boost/boost/container/pmr/deque.hpp", + "external/sources/boost/boost/container/pmr/flat_map.hpp", + "external/sources/boost/boost/container/pmr/flat_set.hpp", + "external/sources/boost/boost/container/pmr/global_resource.hpp", + "external/sources/boost/boost/container/pmr/list.hpp", + "external/sources/boost/boost/container/pmr/map.hpp", + "external/sources/boost/boost/container/pmr/memory_resource.hpp", + "external/sources/boost/boost/container/pmr/monotonic_buffer_resource.hpp", + "external/sources/boost/boost/container/pmr/polymorphic_allocator.hpp", + "external/sources/boost/boost/container/pmr/pool_options.hpp", + "external/sources/boost/boost/container/pmr/resource_adaptor.hpp", + "external/sources/boost/boost/container/pmr/set.hpp", + "external/sources/boost/boost/container/pmr/slist.hpp", + "external/sources/boost/boost/container/pmr/small_vector.hpp", + "external/sources/boost/boost/container/pmr/stable_vector.hpp", + "external/sources/boost/boost/container/pmr/string.hpp", + "external/sources/boost/boost/container/pmr/synchronized_pool_resource.hpp", + "external/sources/boost/boost/container/pmr/unsynchronized_pool_resource.hpp", + "external/sources/boost/boost/container/pmr/vector.hpp", + "external/sources/boost/boost/container/scoped_allocator.hpp", + "external/sources/boost/boost/container/scoped_allocator_fwd.hpp", + "external/sources/boost/boost/container/set.hpp", + "external/sources/boost/boost/container/slist.hpp", + "external/sources/boost/boost/container/small_vector.hpp", + "external/sources/boost/boost/container/stable_vector.hpp", + "external/sources/boost/boost/container/static_vector.hpp", + "external/sources/boost/boost/container/string.hpp", + "external/sources/boost/boost/container/throw_exception.hpp", + "external/sources/boost/boost/container/uses_allocator.hpp", + "external/sources/boost/boost/container/uses_allocator_fwd.hpp", + "external/sources/boost/boost/container/vector.hpp", + "external/sources/boost/boost/container_hash/detail/float_functions.hpp", + "external/sources/boost/boost/container_hash/detail/hash_float.hpp", + "external/sources/boost/boost/container_hash/detail/limits.hpp", + "external/sources/boost/boost/container_hash/extensions.hpp", + "external/sources/boost/boost/container_hash/hash.hpp", + "external/sources/boost/boost/container_hash/hash_fwd.hpp", + "external/sources/boost/boost/context/continuation.hpp", + "external/sources/boost/boost/context/continuation_fcontext.hpp", + "external/sources/boost/boost/context/continuation_ucontext.hpp", + "external/sources/boost/boost/context/continuation_winfib.hpp", + "external/sources/boost/boost/context/detail/apply.hpp", + "external/sources/boost/boost/context/detail/config.hpp", + "external/sources/boost/boost/context/detail/disable_overload.hpp", + "external/sources/boost/boost/context/detail/exception.hpp", + "external/sources/boost/boost/context/detail/exchange.hpp", + "external/sources/boost/boost/context/detail/externc.hpp", + "external/sources/boost/boost/context/detail/fcontext.hpp", + "external/sources/boost/boost/context/detail/index_sequence.hpp", + "external/sources/boost/boost/context/detail/invoke.hpp", + "external/sources/boost/boost/context/detail/prefetch.hpp", + "external/sources/boost/boost/context/detail/tuple.hpp", + "external/sources/boost/boost/context/fiber.hpp", + "external/sources/boost/boost/context/fiber_fcontext.hpp", + "external/sources/boost/boost/context/fiber_ucontext.hpp", + "external/sources/boost/boost/context/fiber_winfib.hpp", + "external/sources/boost/boost/context/fixedsize_stack.hpp", + "external/sources/boost/boost/context/flags.hpp", + "external/sources/boost/boost/context/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/context/posix/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/context/posix/segmented_stack.hpp", + "external/sources/boost/boost/context/preallocated.hpp", + "external/sources/boost/boost/context/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/context/segmented_stack.hpp", + "external/sources/boost/boost/context/stack_context.hpp", + "external/sources/boost/boost/context/stack_traits.hpp", + "external/sources/boost/boost/context/windows/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/contract.hpp", + "external/sources/boost/boost/contract/assert.hpp", + "external/sources/boost/boost/contract/base_types.hpp", + "external/sources/boost/boost/contract/call_if.hpp", + "external/sources/boost/boost/contract/check.hpp", + "external/sources/boost/boost/contract/constructor.hpp", + "external/sources/boost/boost/contract/core/access.hpp", + "external/sources/boost/boost/contract/core/check_macro.hpp", + "external/sources/boost/boost/contract/core/config.hpp", + "external/sources/boost/boost/contract/core/constructor_precondition.hpp", + "external/sources/boost/boost/contract/core/exception.hpp", + "external/sources/boost/boost/contract/core/specify.hpp", + "external/sources/boost/boost/contract/core/virtual.hpp", + "external/sources/boost/boost/contract/destructor.hpp", + "external/sources/boost/boost/contract/detail/assert.hpp", + "external/sources/boost/boost/contract/detail/auto_ptr.hpp", + "external/sources/boost/boost/contract/detail/check.hpp", + "external/sources/boost/boost/contract/detail/checking.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_base.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_inv.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_post.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_subcontracting.hpp", + "external/sources/boost/boost/contract/detail/config.hpp", + "external/sources/boost/boost/contract/detail/debug.hpp", + "external/sources/boost/boost/contract/detail/decl.hpp", + "external/sources/boost/boost/contract/detail/declspec.hpp", + "external/sources/boost/boost/contract/detail/exception.hpp", + "external/sources/boost/boost/contract/detail/inlined.hpp", + "external/sources/boost/boost/contract/detail/inlined/core/exception.hpp", + "external/sources/boost/boost/contract/detail/inlined/detail/checking.hpp", + "external/sources/boost/boost/contract/detail/inlined/old.hpp", + "external/sources/boost/boost/contract/detail/name.hpp", + "external/sources/boost/boost/contract/detail/none.hpp", + "external/sources/boost/boost/contract/detail/noop.hpp", + "external/sources/boost/boost/contract/detail/operation/constructor.hpp", + "external/sources/boost/boost/contract/detail/operation/destructor.hpp", + "external/sources/boost/boost/contract/detail/operation/function.hpp", + "external/sources/boost/boost/contract/detail/operation/public_function.hpp", + "external/sources/boost/boost/contract/detail/operation/static_public_function.hpp", + "external/sources/boost/boost/contract/detail/operator_safe_bool.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/private.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/protected.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/public.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/utility/is.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/virtual.hpp", + "external/sources/boost/boost/contract/detail/static_local_var.hpp", + "external/sources/boost/boost/contract/detail/tvariadic.hpp", + "external/sources/boost/boost/contract/detail/type_traits/member_function_types.hpp", + "external/sources/boost/boost/contract/detail/type_traits/mirror.hpp", + "external/sources/boost/boost/contract/detail/type_traits/optional.hpp", + "external/sources/boost/boost/contract/function.hpp", + "external/sources/boost/boost/contract/old.hpp", + "external/sources/boost/boost/contract/override.hpp", + "external/sources/boost/boost/contract/public_function.hpp", + "external/sources/boost/boost/contract_macro.hpp", + "external/sources/boost/boost/convert.hpp", + "external/sources/boost/boost/convert/base.hpp", + "external/sources/boost/boost/convert/detail/char.hpp", + "external/sources/boost/boost/convert/detail/config.hpp", + "external/sources/boost/boost/convert/detail/has_member.hpp", + "external/sources/boost/boost/convert/detail/is_callable.hpp", + "external/sources/boost/boost/convert/detail/is_converter.hpp", + "external/sources/boost/boost/convert/detail/is_fun.hpp", + "external/sources/boost/boost/convert/detail/is_string.hpp", + "external/sources/boost/boost/convert/detail/range.hpp", + "external/sources/boost/boost/convert/lexical_cast.hpp", + "external/sources/boost/boost/convert/parameters.hpp", + "external/sources/boost/boost/convert/printf.hpp", + "external/sources/boost/boost/convert/spirit.hpp", + "external/sources/boost/boost/convert/stream.hpp", + "external/sources/boost/boost/convert/strtol.hpp", + "external/sources/boost/boost/core/addressof.hpp", + "external/sources/boost/boost/core/alloc_construct.hpp", + "external/sources/boost/boost/core/allocator_access.hpp", + "external/sources/boost/boost/core/checked_delete.hpp", + "external/sources/boost/boost/core/default_allocator.hpp", + "external/sources/boost/boost/core/demangle.hpp", + "external/sources/boost/boost/core/empty_value.hpp", + "external/sources/boost/boost/core/enable_if.hpp", + "external/sources/boost/boost/core/exchange.hpp", + "external/sources/boost/boost/core/explicit_operator_bool.hpp", + "external/sources/boost/boost/core/first_scalar.hpp", + "external/sources/boost/boost/core/ignore_unused.hpp", + "external/sources/boost/boost/core/is_same.hpp", + "external/sources/boost/boost/core/lightweight_test.hpp", + "external/sources/boost/boost/core/lightweight_test_trait.hpp", + "external/sources/boost/boost/core/no_exceptions_support.hpp", + "external/sources/boost/boost/core/noinit_adaptor.hpp", + "external/sources/boost/boost/core/noncopyable.hpp", + "external/sources/boost/boost/core/null_deleter.hpp", + "external/sources/boost/boost/core/nvp.hpp", + "external/sources/boost/boost/core/pointer_traits.hpp", + "external/sources/boost/boost/core/quick_exit.hpp", + "external/sources/boost/boost/core/ref.hpp", + "external/sources/boost/boost/core/scoped_enum.hpp", + "external/sources/boost/boost/core/swap.hpp", + "external/sources/boost/boost/core/typeinfo.hpp", + "external/sources/boost/boost/core/uncaught_exceptions.hpp", + "external/sources/boost/boost/core/underlying_type.hpp", + "external/sources/boost/boost/core/use_default.hpp", + "external/sources/boost/boost/coroutine/all.hpp", + "external/sources/boost/boost/coroutine/asymmetric_coroutine.hpp", + "external/sources/boost/boost/coroutine/attributes.hpp", + "external/sources/boost/boost/coroutine/coroutine.hpp", + "external/sources/boost/boost/coroutine/detail/config.hpp", + "external/sources/boost/boost/coroutine/detail/coroutine_context.hpp", + "external/sources/boost/boost/coroutine/detail/data.hpp", + "external/sources/boost/boost/coroutine/detail/flags.hpp", + "external/sources/boost/boost/coroutine/detail/parameters.hpp", + "external/sources/boost/boost/coroutine/detail/preallocated.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_synthesized.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_synthesized.hpp", + "external/sources/boost/boost/coroutine/detail/setup.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_call.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_yield.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline_pull.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline_push.hpp", + "external/sources/boost/boost/coroutine/exceptions.hpp", + "external/sources/boost/boost/coroutine/flags.hpp", + "external/sources/boost/boost/coroutine/posix/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/posix/segmented_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/segmented_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/stack_allocator.hpp", + "external/sources/boost/boost/coroutine/stack_context.hpp", + "external/sources/boost/boost/coroutine/stack_traits.hpp", + "external/sources/boost/boost/coroutine/standard_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/symmetric_coroutine.hpp", + "external/sources/boost/boost/coroutine/windows/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine2/all.hpp", + "external/sources/boost/boost/coroutine2/coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/config.hpp", + "external/sources/boost/boost/coroutine2/detail/coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/create_control_block.ipp", + "external/sources/boost/boost/coroutine2/detail/decay_copy.hpp", + "external/sources/boost/boost/coroutine2/detail/disable_overload.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.ipp", + "external/sources/boost/boost/coroutine2/detail/pull_coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_coroutine.ipp", + "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.hpp", + "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.ipp", + "external/sources/boost/boost/coroutine2/detail/push_coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/push_coroutine.ipp", + "external/sources/boost/boost/coroutine2/detail/state.hpp", + "external/sources/boost/boost/coroutine2/detail/wrap.hpp", + "external/sources/boost/boost/coroutine2/fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/segmented_stack.hpp", + "external/sources/boost/boost/crc.hpp", + "external/sources/boost/boost/cregex.hpp", + "external/sources/boost/boost/cstdfloat.hpp", + "external/sources/boost/boost/cstdint.hpp", + "external/sources/boost/boost/cstdlib.hpp", + "external/sources/boost/boost/current_function.hpp", + "external/sources/boost/boost/cxx11_char_types.hpp", + "external/sources/boost/boost/date_time.hpp", + "external/sources/boost/boost/date_time/adjust_functors.hpp", + "external/sources/boost/boost/date_time/c_local_time_adjustor.hpp", + "external/sources/boost/boost/date_time/c_time.hpp", + "external/sources/boost/boost/date_time/compiler_config.hpp", + "external/sources/boost/boost/date_time/constrained_value.hpp", + "external/sources/boost/boost/date_time/date.hpp", + "external/sources/boost/boost/date_time/date_clock_device.hpp", + "external/sources/boost/boost/date_time/date_defs.hpp", + "external/sources/boost/boost/date_time/date_duration.hpp", + "external/sources/boost/boost/date_time/date_duration_types.hpp", + "external/sources/boost/boost/date_time/date_facet.hpp", + "external/sources/boost/boost/date_time/date_format_simple.hpp", + "external/sources/boost/boost/date_time/date_formatting.hpp", + "external/sources/boost/boost/date_time/date_formatting_limited.hpp", + "external/sources/boost/boost/date_time/date_formatting_locales.hpp", + "external/sources/boost/boost/date_time/date_generator_formatter.hpp", + "external/sources/boost/boost/date_time/date_generator_parser.hpp", + "external/sources/boost/boost/date_time/date_generators.hpp", + "external/sources/boost/boost/date_time/date_iterator.hpp", + "external/sources/boost/boost/date_time/date_names_put.hpp", + "external/sources/boost/boost/date_time/date_parsing.hpp", + "external/sources/boost/boost/date_time/dst_rules.hpp", + "external/sources/boost/boost/date_time/dst_transition_generators.hpp", + "external/sources/boost/boost/date_time/filetime_functions.hpp", + "external/sources/boost/boost/date_time/find_match.hpp", + "external/sources/boost/boost/date_time/format_date_parser.hpp", + "external/sources/boost/boost/date_time/gregorian/conversion.hpp", + "external/sources/boost/boost/date_time/gregorian/formatters.hpp", + "external/sources/boost/boost/date_time/gregorian/formatters_limited.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_calendar.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_date.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_day.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_day_of_year.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_duration.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_duration_types.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_facet.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_month.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_serialize.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_weekday.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_year.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_ymd.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian_io.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian_types.hpp", + "external/sources/boost/boost/date_time/gregorian/parsers.hpp", + "external/sources/boost/boost/date_time/gregorian_calendar.hpp", + "external/sources/boost/boost/date_time/gregorian_calendar.ipp", + "external/sources/boost/boost/date_time/int_adapter.hpp", + "external/sources/boost/boost/date_time/iso_format.hpp", + "external/sources/boost/boost/date_time/local_time/conversion.hpp", + "external/sources/boost/boost/date_time/local_time/custom_time_zone.hpp", + "external/sources/boost/boost/date_time/local_time/date_duration_operators.hpp", + "external/sources/boost/boost/date_time/local_time/dst_transition_day_rules.hpp", + "external/sources/boost/boost/date_time/local_time/local_date_time.hpp", + "external/sources/boost/boost/date_time/local_time/local_time.hpp", + "external/sources/boost/boost/date_time/local_time/local_time_io.hpp", + "external/sources/boost/boost/date_time/local_time/local_time_types.hpp", + "external/sources/boost/boost/date_time/local_time/posix_time_zone.hpp", + "external/sources/boost/boost/date_time/local_time/tz_database.hpp", + "external/sources/boost/boost/date_time/local_time_adjustor.hpp", + "external/sources/boost/boost/date_time/local_timezone_defs.hpp", + "external/sources/boost/boost/date_time/locale_config.hpp", + "external/sources/boost/boost/date_time/microsec_time_clock.hpp", + "external/sources/boost/boost/date_time/parse_format_base.hpp", + "external/sources/boost/boost/date_time/period.hpp", + "external/sources/boost/boost/date_time/period_formatter.hpp", + "external/sources/boost/boost/date_time/period_parser.hpp", + "external/sources/boost/boost/date_time/posix_time/conversion.hpp", + "external/sources/boost/boost/date_time/posix_time/date_duration_operators.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_config.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_duration.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_io.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_legacy_io.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_system.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_types.hpp", + "external/sources/boost/boost/date_time/posix_time/ptime.hpp", + "external/sources/boost/boost/date_time/posix_time/time_formatters.hpp", + "external/sources/boost/boost/date_time/posix_time/time_formatters_limited.hpp", + "external/sources/boost/boost/date_time/posix_time/time_parsers.hpp", + "external/sources/boost/boost/date_time/posix_time/time_period.hpp", + "external/sources/boost/boost/date_time/posix_time/time_serialize.hpp", + "external/sources/boost/boost/date_time/special_defs.hpp", + "external/sources/boost/boost/date_time/special_values_formatter.hpp", + "external/sources/boost/boost/date_time/special_values_parser.hpp", + "external/sources/boost/boost/date_time/string_convert.hpp", + "external/sources/boost/boost/date_time/string_parse_tree.hpp", + "external/sources/boost/boost/date_time/strings_from_facet.hpp", + "external/sources/boost/boost/date_time/time.hpp", + "external/sources/boost/boost/date_time/time_clock.hpp", + "external/sources/boost/boost/date_time/time_defs.hpp", + "external/sources/boost/boost/date_time/time_duration.hpp", + "external/sources/boost/boost/date_time/time_facet.hpp", + "external/sources/boost/boost/date_time/time_formatting_streams.hpp", + "external/sources/boost/boost/date_time/time_iterator.hpp", + "external/sources/boost/boost/date_time/time_parsing.hpp", + "external/sources/boost/boost/date_time/time_resolution_traits.hpp", + "external/sources/boost/boost/date_time/time_system_counted.hpp", + "external/sources/boost/boost/date_time/time_system_split.hpp", + "external/sources/boost/boost/date_time/time_zone_base.hpp", + "external/sources/boost/boost/date_time/time_zone_names.hpp", + "external/sources/boost/boost/date_time/tz_db_base.hpp", + "external/sources/boost/boost/date_time/wrapping_int.hpp", + "external/sources/boost/boost/date_time/year_month_day.hpp", + "external/sources/boost/boost/detail/algorithm.hpp", + "external/sources/boost/boost/detail/allocator_utilities.hpp", + "external/sources/boost/boost/detail/atomic_count.hpp", + "external/sources/boost/boost/detail/basic_pointerbuf.hpp", + "external/sources/boost/boost/detail/binary_search.hpp", + "external/sources/boost/boost/detail/bitmask.hpp", + "external/sources/boost/boost/detail/call_traits.hpp", + "external/sources/boost/boost/detail/catch_exceptions.hpp", + "external/sources/boost/boost/detail/compressed_pair.hpp", + "external/sources/boost/boost/detail/container_fwd.hpp", + "external/sources/boost/boost/detail/fenv.hpp", + "external/sources/boost/boost/detail/has_default_constructor.hpp", + "external/sources/boost/boost/detail/identifier.hpp", + "external/sources/boost/boost/detail/indirect_traits.hpp", + "external/sources/boost/boost/detail/interlocked.hpp", + "external/sources/boost/boost/detail/is_incrementable.hpp", + "external/sources/boost/boost/detail/is_sorted.hpp", + "external/sources/boost/boost/detail/is_xxx.hpp", + "external/sources/boost/boost/detail/iterator.hpp", + "external/sources/boost/boost/detail/lcast_precision.hpp", + "external/sources/boost/boost/detail/lightweight_main.hpp", + "external/sources/boost/boost/detail/lightweight_mutex.hpp", + "external/sources/boost/boost/detail/lightweight_test.hpp", + "external/sources/boost/boost/detail/lightweight_test_report.hpp", + "external/sources/boost/boost/detail/lightweight_thread.hpp", + "external/sources/boost/boost/detail/named_template_params.hpp", + "external/sources/boost/boost/detail/no_exceptions_support.hpp", + "external/sources/boost/boost/detail/numeric_traits.hpp", + "external/sources/boost/boost/detail/ob_compressed_pair.hpp", + "external/sources/boost/boost/detail/quick_allocator.hpp", + "external/sources/boost/boost/detail/reference_content.hpp", + "external/sources/boost/boost/detail/scoped_enum_emulation.hpp", + "external/sources/boost/boost/detail/select_type.hpp", + "external/sources/boost/boost/detail/sp_typeinfo.hpp", + "external/sources/boost/boost/detail/templated_streams.hpp", + "external/sources/boost/boost/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/detail/utf8_codecvt_facet.ipp", + "external/sources/boost/boost/detail/winapi/access_rights.hpp", + "external/sources/boost/boost/detail/winapi/apc.hpp", + "external/sources/boost/boost/detail/winapi/basic_types.hpp", + "external/sources/boost/boost/detail/winapi/bcrypt.hpp", + "external/sources/boost/boost/detail/winapi/character_code_conversion.hpp", + "external/sources/boost/boost/detail/winapi/condition_variable.hpp", + "external/sources/boost/boost/detail/winapi/config.hpp", + "external/sources/boost/boost/detail/winapi/critical_section.hpp", + "external/sources/boost/boost/detail/winapi/crypt.hpp", + "external/sources/boost/boost/detail/winapi/dbghelp.hpp", + "external/sources/boost/boost/detail/winapi/debugapi.hpp", + "external/sources/boost/boost/detail/winapi/detail/deprecated_namespace.hpp", + "external/sources/boost/boost/detail/winapi/directory_management.hpp", + "external/sources/boost/boost/detail/winapi/dll.hpp", + "external/sources/boost/boost/detail/winapi/environment.hpp", + "external/sources/boost/boost/detail/winapi/error_codes.hpp", + "external/sources/boost/boost/detail/winapi/error_handling.hpp", + "external/sources/boost/boost/detail/winapi/event.hpp", + "external/sources/boost/boost/detail/winapi/file_management.hpp", + "external/sources/boost/boost/detail/winapi/file_mapping.hpp", + "external/sources/boost/boost/detail/winapi/get_current_process.hpp", + "external/sources/boost/boost/detail/winapi/get_current_process_id.hpp", + "external/sources/boost/boost/detail/winapi/get_current_thread.hpp", + "external/sources/boost/boost/detail/winapi/get_current_thread_id.hpp", + "external/sources/boost/boost/detail/winapi/get_last_error.hpp", + "external/sources/boost/boost/detail/winapi/get_process_times.hpp", + "external/sources/boost/boost/detail/winapi/get_system_directory.hpp", + "external/sources/boost/boost/detail/winapi/get_thread_times.hpp", + "external/sources/boost/boost/detail/winapi/handle_info.hpp", + "external/sources/boost/boost/detail/winapi/handles.hpp", + "external/sources/boost/boost/detail/winapi/heap_memory.hpp", + "external/sources/boost/boost/detail/winapi/init_once.hpp", + "external/sources/boost/boost/detail/winapi/jobs.hpp", + "external/sources/boost/boost/detail/winapi/limits.hpp", + "external/sources/boost/boost/detail/winapi/local_memory.hpp", + "external/sources/boost/boost/detail/winapi/memory.hpp", + "external/sources/boost/boost/detail/winapi/mutex.hpp", + "external/sources/boost/boost/detail/winapi/overlapped.hpp", + "external/sources/boost/boost/detail/winapi/page_protection_flags.hpp", + "external/sources/boost/boost/detail/winapi/pipes.hpp", + "external/sources/boost/boost/detail/winapi/priority_class.hpp", + "external/sources/boost/boost/detail/winapi/process.hpp", + "external/sources/boost/boost/detail/winapi/security.hpp", + "external/sources/boost/boost/detail/winapi/semaphore.hpp", + "external/sources/boost/boost/detail/winapi/shell.hpp", + "external/sources/boost/boost/detail/winapi/show_window.hpp", + "external/sources/boost/boost/detail/winapi/srw_lock.hpp", + "external/sources/boost/boost/detail/winapi/stack_backtrace.hpp", + "external/sources/boost/boost/detail/winapi/synchronization.hpp", + "external/sources/boost/boost/detail/winapi/system.hpp", + "external/sources/boost/boost/detail/winapi/thread.hpp", + "external/sources/boost/boost/detail/winapi/thread_pool.hpp", + "external/sources/boost/boost/detail/winapi/time.hpp", + "external/sources/boost/boost/detail/winapi/timers.hpp", + "external/sources/boost/boost/detail/winapi/tls.hpp", + "external/sources/boost/boost/detail/winapi/wait.hpp", + "external/sources/boost/boost/detail/winapi/waitable_timer.hpp", + "external/sources/boost/boost/detail/workaround.hpp", + "external/sources/boost/boost/dll.hpp", + "external/sources/boost/boost/dll/alias.hpp", + "external/sources/boost/boost/dll/config.hpp", + "external/sources/boost/boost/dll/detail/aggressive_ptr_cast.hpp", + "external/sources/boost/boost/dll/detail/ctor_dtor.hpp", + "external/sources/boost/boost/dll/detail/demangling/demangle_symbol.hpp", + "external/sources/boost/boost/dll/detail/demangling/itanium.hpp", + "external/sources/boost/boost/dll/detail/demangling/mangled_storage_base.hpp", + "external/sources/boost/boost/dll/detail/demangling/msvc.hpp", + "external/sources/boost/boost/dll/detail/elf_info.hpp", + "external/sources/boost/boost/dll/detail/get_mem_fn_type.hpp", + "external/sources/boost/boost/dll/detail/import_mangled_helpers.hpp", + "external/sources/boost/boost/dll/detail/macho_info.hpp", + "external/sources/boost/boost/dll/detail/pe_info.hpp", + "external/sources/boost/boost/dll/detail/posix/path_from_handle.hpp", + "external/sources/boost/boost/dll/detail/posix/program_location_impl.hpp", + "external/sources/boost/boost/dll/detail/posix/shared_library_impl.hpp", + "external/sources/boost/boost/dll/detail/system_error.hpp", + "external/sources/boost/boost/dll/detail/type_info.hpp", + "external/sources/boost/boost/dll/detail/windows/path_from_handle.hpp", + "external/sources/boost/boost/dll/detail/windows/shared_library_impl.hpp", + "external/sources/boost/boost/dll/import.hpp", + "external/sources/boost/boost/dll/import_class.hpp", + "external/sources/boost/boost/dll/import_mangled.hpp", + "external/sources/boost/boost/dll/library_info.hpp", + "external/sources/boost/boost/dll/runtime_symbol_info.hpp", + "external/sources/boost/boost/dll/shared_library.hpp", + "external/sources/boost/boost/dll/shared_library_load_mode.hpp", + "external/sources/boost/boost/dll/smart_library.hpp", + "external/sources/boost/boost/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/config.hpp", + "external/sources/boost/boost/dynamic_bitset/detail/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/detail/lowest_bit.hpp", + "external/sources/boost/boost/dynamic_bitset/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/serialization.hpp", + "external/sources/boost/boost/dynamic_bitset_fwd.hpp", + "external/sources/boost/boost/enable_shared_from_this.hpp", + "external/sources/boost/boost/endian.hpp", + "external/sources/boost/boost/endian/arithmetic.hpp", + "external/sources/boost/boost/endian/buffers.hpp", + "external/sources/boost/boost/endian/conversion.hpp", + "external/sources/boost/boost/endian/detail/disable_warnings.hpp", + "external/sources/boost/boost/endian/detail/disable_warnings_pop.hpp", + "external/sources/boost/boost/endian/detail/endian_load.hpp", + "external/sources/boost/boost/endian/detail/endian_reverse.hpp", + "external/sources/boost/boost/endian/detail/endian_store.hpp", + "external/sources/boost/boost/endian/detail/integral_by_size.hpp", + "external/sources/boost/boost/endian/detail/intrinsic.hpp", + "external/sources/boost/boost/endian/detail/is_scoped_enum.hpp", + "external/sources/boost/boost/endian/detail/is_trivially_copyable.hpp", + "external/sources/boost/boost/endian/detail/order.hpp", + "external/sources/boost/boost/endian/endian.hpp", + "external/sources/boost/boost/exception/all.hpp", + "external/sources/boost/boost/exception/current_exception_cast.hpp", + "external/sources/boost/boost/exception/detail/clone_current_exception.hpp", + "external/sources/boost/boost/exception/detail/error_info_impl.hpp", + "external/sources/boost/boost/exception/detail/exception_ptr.hpp", + "external/sources/boost/boost/exception/detail/is_output_streamable.hpp", + "external/sources/boost/boost/exception/detail/object_hex_dump.hpp", + "external/sources/boost/boost/exception/detail/shared_ptr.hpp", + "external/sources/boost/boost/exception/detail/type_info.hpp", + "external/sources/boost/boost/exception/diagnostic_information.hpp", + "external/sources/boost/boost/exception/enable_current_exception.hpp", + "external/sources/boost/boost/exception/enable_error_info.hpp", + "external/sources/boost/boost/exception/errinfo_api_function.hpp", + "external/sources/boost/boost/exception/errinfo_at_line.hpp", + "external/sources/boost/boost/exception/errinfo_errno.hpp", + "external/sources/boost/boost/exception/errinfo_file_handle.hpp", + "external/sources/boost/boost/exception/errinfo_file_name.hpp", + "external/sources/boost/boost/exception/errinfo_file_open_mode.hpp", + "external/sources/boost/boost/exception/errinfo_nested_exception.hpp", + "external/sources/boost/boost/exception/errinfo_type_info_name.hpp", + "external/sources/boost/boost/exception/error_info.hpp", + "external/sources/boost/boost/exception/exception.hpp", + "external/sources/boost/boost/exception/get_error_info.hpp", + "external/sources/boost/boost/exception/info.hpp", + "external/sources/boost/boost/exception/info_tuple.hpp", + "external/sources/boost/boost/exception/to_string.hpp", + "external/sources/boost/boost/exception/to_string_stub.hpp", + "external/sources/boost/boost/exception_ptr.hpp", + "external/sources/boost/boost/fiber/algo/algorithm.hpp", + "external/sources/boost/boost/fiber/algo/round_robin.hpp", + "external/sources/boost/boost/fiber/algo/shared_work.hpp", + "external/sources/boost/boost/fiber/algo/work_stealing.hpp", + "external/sources/boost/boost/fiber/all.hpp", + "external/sources/boost/boost/fiber/barrier.hpp", + "external/sources/boost/boost/fiber/buffered_channel.hpp", + "external/sources/boost/boost/fiber/channel_op_status.hpp", + "external/sources/boost/boost/fiber/condition_variable.hpp", + "external/sources/boost/boost/fiber/context.hpp", + "external/sources/boost/boost/fiber/cuda/waitfor.hpp", + "external/sources/boost/boost/fiber/detail/config.hpp", + "external/sources/boost/boost/fiber/detail/context_spinlock_queue.hpp", + "external/sources/boost/boost/fiber/detail/context_spmc_queue.hpp", + "external/sources/boost/boost/fiber/detail/convert.hpp", + "external/sources/boost/boost/fiber/detail/cpu_relax.hpp", + "external/sources/boost/boost/fiber/detail/data.hpp", + "external/sources/boost/boost/fiber/detail/decay_copy.hpp", + "external/sources/boost/boost/fiber/detail/disable_overload.hpp", + "external/sources/boost/boost/fiber/detail/exchange.hpp", + "external/sources/boost/boost/fiber/detail/fss.hpp", + "external/sources/boost/boost/fiber/detail/futex.hpp", + "external/sources/boost/boost/fiber/detail/is_all_same.hpp", + "external/sources/boost/boost/fiber/detail/rtm.hpp", + "external/sources/boost/boost/fiber/detail/spinlock.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_rtm.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_status.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive_futex.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_futex.hpp", + "external/sources/boost/boost/fiber/detail/thread_barrier.hpp", + "external/sources/boost/boost/fiber/exceptions.hpp", + "external/sources/boost/boost/fiber/fiber.hpp", + "external/sources/boost/boost/fiber/fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/fss.hpp", + "external/sources/boost/boost/fiber/future.hpp", + "external/sources/boost/boost/fiber/future/async.hpp", + "external/sources/boost/boost/fiber/future/detail/shared_state.hpp", + "external/sources/boost/boost/fiber/future/detail/shared_state_object.hpp", + "external/sources/boost/boost/fiber/future/detail/task_base.hpp", + "external/sources/boost/boost/fiber/future/detail/task_object.hpp", + "external/sources/boost/boost/fiber/future/future.hpp", + "external/sources/boost/boost/fiber/future/future_status.hpp", + "external/sources/boost/boost/fiber/future/packaged_task.hpp", + "external/sources/boost/boost/fiber/future/promise.hpp", + "external/sources/boost/boost/fiber/hip/waitfor.hpp", + "external/sources/boost/boost/fiber/mutex.hpp", + "external/sources/boost/boost/fiber/numa/algo/work_stealing.hpp", + "external/sources/boost/boost/fiber/numa/all.hpp", + "external/sources/boost/boost/fiber/numa/pin_thread.hpp", + "external/sources/boost/boost/fiber/numa/topology.hpp", + "external/sources/boost/boost/fiber/operations.hpp", + "external/sources/boost/boost/fiber/policy.hpp", + "external/sources/boost/boost/fiber/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/properties.hpp", + "external/sources/boost/boost/fiber/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/recursive_mutex.hpp", + "external/sources/boost/boost/fiber/recursive_timed_mutex.hpp", + "external/sources/boost/boost/fiber/scheduler.hpp", + "external/sources/boost/boost/fiber/segmented_stack.hpp", + "external/sources/boost/boost/fiber/timed_mutex.hpp", + "external/sources/boost/boost/fiber/type.hpp", + "external/sources/boost/boost/fiber/unbuffered_channel.hpp", + "external/sources/boost/boost/filesystem.hpp", + "external/sources/boost/boost/filesystem/config.hpp", + "external/sources/boost/boost/filesystem/convenience.hpp", + "external/sources/boost/boost/filesystem/detail/macro_value.hpp", + "external/sources/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/filesystem/directory.hpp", + "external/sources/boost/boost/filesystem/exception.hpp", + "external/sources/boost/boost/filesystem/file_status.hpp", + "external/sources/boost/boost/filesystem/fstream.hpp", + "external/sources/boost/boost/filesystem/operations.hpp", + "external/sources/boost/boost/filesystem/path.hpp", + "external/sources/boost/boost/filesystem/path_traits.hpp", + "external/sources/boost/boost/filesystem/string_file.hpp", + "external/sources/boost/boost/flyweight.hpp", + "external/sources/boost/boost/flyweight/assoc_container_factory.hpp", + "external/sources/boost/boost/flyweight/assoc_container_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/archive_constructed.hpp", + "external/sources/boost/boost/flyweight/detail/default_value_policy.hpp", + "external/sources/boost/boost/flyweight/detail/dyn_perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/flyweight_core.hpp", + "external/sources/boost/boost/flyweight/detail/is_placeholder_expr.hpp", + "external/sources/boost/boost/flyweight/detail/nested_xxx_if_not_ph.hpp", + "external/sources/boost/boost/flyweight/detail/not_placeholder_expr.hpp", + "external/sources/boost/boost/flyweight/detail/perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/pp_perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/recursive_lw_mutex.hpp", + "external/sources/boost/boost/flyweight/detail/serialization_helper.hpp", + "external/sources/boost/boost/flyweight/detail/value_tag.hpp", + "external/sources/boost/boost/flyweight/factory_tag.hpp", + "external/sources/boost/boost/flyweight/flyweight.hpp", + "external/sources/boost/boost/flyweight/flyweight_fwd.hpp", + "external/sources/boost/boost/flyweight/hashed_factory.hpp", + "external/sources/boost/boost/flyweight/hashed_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/holder_tag.hpp", + "external/sources/boost/boost/flyweight/intermodule_holder.hpp", + "external/sources/boost/boost/flyweight/intermodule_holder_fwd.hpp", + "external/sources/boost/boost/flyweight/key_value.hpp", + "external/sources/boost/boost/flyweight/key_value_fwd.hpp", + "external/sources/boost/boost/flyweight/locking_tag.hpp", + "external/sources/boost/boost/flyweight/no_locking.hpp", + "external/sources/boost/boost/flyweight/no_locking_fwd.hpp", + "external/sources/boost/boost/flyweight/no_tracking.hpp", + "external/sources/boost/boost/flyweight/no_tracking_fwd.hpp", + "external/sources/boost/boost/flyweight/refcounted.hpp", + "external/sources/boost/boost/flyweight/refcounted_fwd.hpp", + "external/sources/boost/boost/flyweight/serialize.hpp", + "external/sources/boost/boost/flyweight/set_factory.hpp", + "external/sources/boost/boost/flyweight/set_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/simple_locking.hpp", + "external/sources/boost/boost/flyweight/simple_locking_fwd.hpp", + "external/sources/boost/boost/flyweight/static_holder.hpp", + "external/sources/boost/boost/flyweight/static_holder_fwd.hpp", + "external/sources/boost/boost/flyweight/tag.hpp", + "external/sources/boost/boost/flyweight/tracking_tag.hpp", + "external/sources/boost/boost/foreach.hpp", + "external/sources/boost/boost/foreach_fwd.hpp", + "external/sources/boost/boost/format.hpp", + "external/sources/boost/boost/format/alt_sstream.hpp", + "external/sources/boost/boost/format/alt_sstream_impl.hpp", + "external/sources/boost/boost/format/detail/compat_workarounds.hpp", + "external/sources/boost/boost/format/detail/config_macros.hpp", + "external/sources/boost/boost/format/detail/msvc_disambiguater.hpp", + "external/sources/boost/boost/format/detail/unset_macros.hpp", + "external/sources/boost/boost/format/detail/workarounds_gcc-2_95.hpp", + "external/sources/boost/boost/format/detail/workarounds_stlport.hpp", + "external/sources/boost/boost/format/exceptions.hpp", + "external/sources/boost/boost/format/feed_args.hpp", + "external/sources/boost/boost/format/format_class.hpp", + "external/sources/boost/boost/format/format_fwd.hpp", + "external/sources/boost/boost/format/format_implementation.hpp", + "external/sources/boost/boost/format/free_funcs.hpp", + "external/sources/boost/boost/format/group.hpp", + "external/sources/boost/boost/format/internals.hpp", + "external/sources/boost/boost/format/internals_fwd.hpp", + "external/sources/boost/boost/format/parsing.hpp", + "external/sources/boost/boost/function.hpp", + "external/sources/boost/boost/function/detail/function_iterate.hpp", + "external/sources/boost/boost/function/detail/gen_maybe_include.pl", + "external/sources/boost/boost/function/detail/maybe_include.hpp", + "external/sources/boost/boost/function/detail/prologue.hpp", + "external/sources/boost/boost/function/function0.hpp", + "external/sources/boost/boost/function/function1.hpp", + "external/sources/boost/boost/function/function10.hpp", + "external/sources/boost/boost/function/function2.hpp", + "external/sources/boost/boost/function/function3.hpp", + "external/sources/boost/boost/function/function4.hpp", + "external/sources/boost/boost/function/function5.hpp", + "external/sources/boost/boost/function/function6.hpp", + "external/sources/boost/boost/function/function7.hpp", + "external/sources/boost/boost/function/function8.hpp", + "external/sources/boost/boost/function/function9.hpp", + "external/sources/boost/boost/function/function_base.hpp", + "external/sources/boost/boost/function/function_fwd.hpp", + "external/sources/boost/boost/function/function_template.hpp", + "external/sources/boost/boost/function/function_typeof.hpp", + "external/sources/boost/boost/function/gen_function_N.pl", + "external/sources/boost/boost/function_equal.hpp", + "external/sources/boost/boost/function_output_iterator.hpp", + "external/sources/boost/boost/function_types/components.hpp", + "external/sources/boost/boost/function_types/config/cc_names.hpp", + "external/sources/boost/boost/function_types/config/compiler.hpp", + "external/sources/boost/boost/function_types/config/config.hpp", + "external/sources/boost/boost/function_types/detail/class_transform.hpp", + "external/sources/boost/boost/function_types/detail/classifier.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/components_as_mpl_sequence.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/cv_traits.hpp", + "external/sources/boost/boost/function_types/detail/encoding/aliases_def.hpp", + "external/sources/boost/boost/function_types/detail/encoding/aliases_undef.hpp", + "external/sources/boost/boost/function_types/detail/encoding/def.hpp", + "external/sources/boost/boost/function_types/detail/encoding/undef.hpp", + "external/sources/boost/boost/function_types/detail/pp_arity_loop.hpp", + "external/sources/boost/boost/function_types/detail/pp_cc_loop/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_cc_loop/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_loop.hpp", + "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/cc_tag.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_variate_loop/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_variate_loop/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/retag_default_cc.hpp", + "external/sources/boost/boost/function_types/detail/synthesize.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/to_sequence.hpp", + "external/sources/boost/boost/function_types/function_arity.hpp", + "external/sources/boost/boost/function_types/function_pointer.hpp", + "external/sources/boost/boost/function_types/function_reference.hpp", + "external/sources/boost/boost/function_types/function_type.hpp", + "external/sources/boost/boost/function_types/is_callable_builtin.hpp", + "external/sources/boost/boost/function_types/is_function.hpp", + "external/sources/boost/boost/function_types/is_function_pointer.hpp", + "external/sources/boost/boost/function_types/is_function_reference.hpp", + "external/sources/boost/boost/function_types/is_member_function_pointer.hpp", + "external/sources/boost/boost/function_types/is_member_object_pointer.hpp", + "external/sources/boost/boost/function_types/is_member_pointer.hpp", + "external/sources/boost/boost/function_types/is_nonmember_callable_builtin.hpp", + "external/sources/boost/boost/function_types/member_function_pointer.hpp", + "external/sources/boost/boost/function_types/member_object_pointer.hpp", + "external/sources/boost/boost/function_types/parameter_types.hpp", + "external/sources/boost/boost/function_types/property_tags.hpp", + "external/sources/boost/boost/function_types/result_type.hpp", + "external/sources/boost/boost/functional.hpp", + "external/sources/boost/boost/functional/factory.hpp", + "external/sources/boost/boost/functional/forward_adapter.hpp", + "external/sources/boost/boost/functional/hash.hpp", + "external/sources/boost/boost/functional/hash/extensions.hpp", + "external/sources/boost/boost/functional/hash/hash.hpp", + "external/sources/boost/boost/functional/hash/hash_fwd.hpp", + "external/sources/boost/boost/functional/hash_fwd.hpp", + "external/sources/boost/boost/functional/lightweight_forward_adapter.hpp", + "external/sources/boost/boost/functional/overloaded_function.hpp", + "external/sources/boost/boost/functional/overloaded_function/config.hpp", + "external/sources/boost/boost/functional/overloaded_function/detail/base.hpp", + "external/sources/boost/boost/functional/overloaded_function/detail/function_type.hpp", + "external/sources/boost/boost/functional/value_factory.hpp", + "external/sources/boost/boost/fusion/adapted.hpp", + "external/sources/boost/boost/fusion/adapted/adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_adt_named.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt_named.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_assoc_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/extension.hpp", + "external/sources/boost/boost/fusion/adapted/array.hpp", + "external/sources/boost/boost/fusion/adapted/array/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/deref_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/array/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/value_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/array_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/mpl/clear.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/mpl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/empty_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/has_key_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/mpl_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_array.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/array_size.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/std_array_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/std_pair.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/mpl/clear.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/std_tuple_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_struct_named.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_assoc_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_auto.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_assoc_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_is_tpl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/extension.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/namespace.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/proxy_type.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/algorithm.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary/copy.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary/move.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/accumulate.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/accumulate_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/for_each_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query.hpp", + "external/sources/boost/boost/fusion/algorithm/query/all.hpp", + "external/sources/boost/boost/fusion/algorithm/query/any.hpp", + "external/sources/boost/boost/fusion/algorithm/query/count.hpp", + "external/sources/boost/boost/fusion/algorithm/query/count_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/all.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/any.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/count.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/count_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_if_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query/none.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/clear.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip10.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip20.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip30.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip40.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip50.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/erase.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/erase_key.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/filter.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/filter_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/flatten.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/insert.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/insert_range.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/join.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/pop_back.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/pop_front.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/push_back.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/push_front.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/remove.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/remove_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/replace.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/replace_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/reverse.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/transform.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/zip.hpp", + "external/sources/boost/boost/fusion/container.hpp", + "external/sources/boost/boost/fusion/container/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/back_extended_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/convert.hpp", + "external/sources/boost/boost/fusion/container/deque/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/deque_iterator.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/as_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_initial_size.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/keyed_element.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/front_extended_deque.hpp", + "external/sources/boost/boost/fusion/container/generation.hpp", + "external/sources/boost/boost/fusion/container/generation/cons_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_vector_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/ignore.hpp", + "external/sources/boost/boost/fusion/container/generation/list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/make_cons.hpp", + "external/sources/boost/boost/fusion/container/generation/make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/pair_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/vector_tie.hpp", + "external/sources/boost/boost/fusion/container/list.hpp", + "external/sources/boost/boost/fusion/container/list/cons.hpp", + "external/sources/boost/boost/fusion/container/list/cons_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/cons_iterator.hpp", + "external/sources/boost/boost/fusion/container/list/convert.hpp", + "external/sources/boost/boost/fusion/container/list/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp", + "external/sources/boost/boost/fusion/container/list/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/empty_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/reverse_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/list/list.hpp", + "external/sources/boost/boost/fusion/container/list/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/nil.hpp", + "external/sources/boost/boost/fusion/container/map.hpp", + "external/sources/boost/boost/fusion/container/map/convert.hpp", + "external/sources/boost/boost/fusion/container/map/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/at_key_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/as_map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/end_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/key_of_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map10.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map20.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map30.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map40.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map50.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/map_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/map_index.hpp", + "external/sources/boost/boost/fusion/container/map/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/value_at_key_impl.hpp", + "external/sources/boost/boost/fusion/container/map/map.hpp", + "external/sources/boost/boost/fusion/container/map/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/map_iterator.hpp", + "external/sources/boost/boost/fusion/container/set.hpp", + "external/sources/boost/boost/fusion/container/set/convert.hpp", + "external/sources/boost/boost/fusion/container/set/detail/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/set/set.hpp", + "external/sources/boost/boost/fusion/container/set/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/convert.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/config.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/vector_iterator.hpp", + "external/sources/boost/boost/fusion/functional.hpp", + "external/sources/boost/boost/fusion/functional/adapter.hpp", + "external/sources/boost/boost/fusion/functional/adapter/detail/access.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused_function_object.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused_procedure.hpp", + "external/sources/boost/boost/fusion/functional/adapter/limits.hpp", + "external/sources/boost/boost/fusion/functional/adapter/unfused.hpp", + "external/sources/boost/boost/fusion/functional/adapter/unfused_typed.hpp", + "external/sources/boost/boost/fusion/functional/generation.hpp", + "external/sources/boost/boost/fusion/functional/generation/detail/gen_make_adapter.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused_function_object.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused_procedure.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_unfused.hpp", + "external/sources/boost/boost/fusion/functional/invocation.hpp", + "external/sources/boost/boost/fusion/functional/invocation/detail/that_ptr.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke_function_object.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke_procedure.hpp", + "external/sources/boost/boost/fusion/functional/invocation/limits.hpp", + "external/sources/boost/boost/fusion/include/accumulate.hpp", + "external/sources/boost/boost/fusion/include/adapt_adt.hpp", + "external/sources/boost/boost/fusion/include/adapt_adt_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_adt.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_adt_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_struct.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_struct_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_struct.hpp", + "external/sources/boost/boost/fusion/include/adapt_struct_named.hpp", + "external/sources/boost/boost/fusion/include/adapted.hpp", + "external/sources/boost/boost/fusion/include/adapter.hpp", + "external/sources/boost/boost/fusion/include/advance.hpp", + "external/sources/boost/boost/fusion/include/algorithm.hpp", + "external/sources/boost/boost/fusion/include/all.hpp", + "external/sources/boost/boost/fusion/include/any.hpp", + "external/sources/boost/boost/fusion/include/array.hpp", + "external/sources/boost/boost/fusion/include/as_deque.hpp", + "external/sources/boost/boost/fusion/include/as_list.hpp", + "external/sources/boost/boost/fusion/include/as_map.hpp", + "external/sources/boost/boost/fusion/include/as_set.hpp", + "external/sources/boost/boost/fusion/include/as_vector.hpp", + "external/sources/boost/boost/fusion/include/at.hpp", + "external/sources/boost/boost/fusion/include/at_c.hpp", + "external/sources/boost/boost/fusion/include/at_key.hpp", + "external/sources/boost/boost/fusion/include/auxiliary.hpp", + "external/sources/boost/boost/fusion/include/back.hpp", + "external/sources/boost/boost/fusion/include/begin.hpp", + "external/sources/boost/boost/fusion/include/boost_array.hpp", + "external/sources/boost/boost/fusion/include/boost_tuple.hpp", + "external/sources/boost/boost/fusion/include/category_of.hpp", + "external/sources/boost/boost/fusion/include/clear.hpp", + "external/sources/boost/boost/fusion/include/comparison.hpp", + "external/sources/boost/boost/fusion/include/cons.hpp", + "external/sources/boost/boost/fusion/include/cons_tie.hpp", + "external/sources/boost/boost/fusion/include/container.hpp", + "external/sources/boost/boost/fusion/include/convert.hpp", + "external/sources/boost/boost/fusion/include/copy.hpp", + "external/sources/boost/boost/fusion/include/count.hpp", + "external/sources/boost/boost/fusion/include/count_if.hpp", + "external/sources/boost/boost/fusion/include/deduce.hpp", + "external/sources/boost/boost/fusion/include/deduce_sequence.hpp", + "external/sources/boost/boost/fusion/include/define_assoc_struct.hpp", + "external/sources/boost/boost/fusion/include/define_struct.hpp", + "external/sources/boost/boost/fusion/include/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/include/deque.hpp", + "external/sources/boost/boost/fusion/include/deque_fwd.hpp", + "external/sources/boost/boost/fusion/include/deque_tie.hpp", + "external/sources/boost/boost/fusion/include/deref.hpp", + "external/sources/boost/boost/fusion/include/deref_data.hpp", + "external/sources/boost/boost/fusion/include/distance.hpp", + "external/sources/boost/boost/fusion/include/empty.hpp", + "external/sources/boost/boost/fusion/include/end.hpp", + "external/sources/boost/boost/fusion/include/equal_to.hpp", + "external/sources/boost/boost/fusion/include/erase.hpp", + "external/sources/boost/boost/fusion/include/erase_key.hpp", + "external/sources/boost/boost/fusion/include/filter.hpp", + "external/sources/boost/boost/fusion/include/filter_if.hpp", + "external/sources/boost/boost/fusion/include/filter_view.hpp", + "external/sources/boost/boost/fusion/include/find.hpp", + "external/sources/boost/boost/fusion/include/find_if.hpp", + "external/sources/boost/boost/fusion/include/flatten.hpp", + "external/sources/boost/boost/fusion/include/flatten_view.hpp", + "external/sources/boost/boost/fusion/include/fold.hpp", + "external/sources/boost/boost/fusion/include/for_each.hpp", + "external/sources/boost/boost/fusion/include/front.hpp", + "external/sources/boost/boost/fusion/include/functional.hpp", + "external/sources/boost/boost/fusion/include/fused.hpp", + "external/sources/boost/boost/fusion/include/fused_function_object.hpp", + "external/sources/boost/boost/fusion/include/fused_procedure.hpp", + "external/sources/boost/boost/fusion/include/generation.hpp", + "external/sources/boost/boost/fusion/include/greater.hpp", + "external/sources/boost/boost/fusion/include/greater_equal.hpp", + "external/sources/boost/boost/fusion/include/has_key.hpp", + "external/sources/boost/boost/fusion/include/hash.hpp", + "external/sources/boost/boost/fusion/include/ignore.hpp", + "external/sources/boost/boost/fusion/include/in.hpp", + "external/sources/boost/boost/fusion/include/insert.hpp", + "external/sources/boost/boost/fusion/include/insert_range.hpp", + "external/sources/boost/boost/fusion/include/intrinsic.hpp", + "external/sources/boost/boost/fusion/include/invocation.hpp", + "external/sources/boost/boost/fusion/include/invoke.hpp", + "external/sources/boost/boost/fusion/include/invoke_function_object.hpp", + "external/sources/boost/boost/fusion/include/invoke_procedure.hpp", + "external/sources/boost/boost/fusion/include/io.hpp", + "external/sources/boost/boost/fusion/include/is_iterator.hpp", + "external/sources/boost/boost/fusion/include/is_segmented.hpp", + "external/sources/boost/boost/fusion/include/is_sequence.hpp", + "external/sources/boost/boost/fusion/include/is_view.hpp", + "external/sources/boost/boost/fusion/include/iter_fold.hpp", + "external/sources/boost/boost/fusion/include/iteration.hpp", + "external/sources/boost/boost/fusion/include/iterator.hpp", + "external/sources/boost/boost/fusion/include/iterator_adapter.hpp", + "external/sources/boost/boost/fusion/include/iterator_base.hpp", + "external/sources/boost/boost/fusion/include/iterator_facade.hpp", + "external/sources/boost/boost/fusion/include/iterator_range.hpp", + "external/sources/boost/boost/fusion/include/join.hpp", + "external/sources/boost/boost/fusion/include/joint_view.hpp", + "external/sources/boost/boost/fusion/include/key_of.hpp", + "external/sources/boost/boost/fusion/include/less.hpp", + "external/sources/boost/boost/fusion/include/less_equal.hpp", + "external/sources/boost/boost/fusion/include/list.hpp", + "external/sources/boost/boost/fusion/include/list_fwd.hpp", + "external/sources/boost/boost/fusion/include/list_tie.hpp", + "external/sources/boost/boost/fusion/include/make_cons.hpp", + "external/sources/boost/boost/fusion/include/make_deque.hpp", + "external/sources/boost/boost/fusion/include/make_fused.hpp", + "external/sources/boost/boost/fusion/include/make_fused_function_object.hpp", + "external/sources/boost/boost/fusion/include/make_fused_procedure.hpp", + "external/sources/boost/boost/fusion/include/make_list.hpp", + "external/sources/boost/boost/fusion/include/make_map.hpp", + "external/sources/boost/boost/fusion/include/make_set.hpp", + "external/sources/boost/boost/fusion/include/make_tuple.hpp", + "external/sources/boost/boost/fusion/include/make_unfused.hpp", + "external/sources/boost/boost/fusion/include/make_vector.hpp", + "external/sources/boost/boost/fusion/include/map.hpp", + "external/sources/boost/boost/fusion/include/map_fwd.hpp", + "external/sources/boost/boost/fusion/include/map_tie.hpp", + "external/sources/boost/boost/fusion/include/move.hpp", + "external/sources/boost/boost/fusion/include/mpl.hpp", + "external/sources/boost/boost/fusion/include/next.hpp", + "external/sources/boost/boost/fusion/include/nil.hpp", + "external/sources/boost/boost/fusion/include/none.hpp", + "external/sources/boost/boost/fusion/include/not_equal_to.hpp", + "external/sources/boost/boost/fusion/include/nview.hpp", + "external/sources/boost/boost/fusion/include/out.hpp", + "external/sources/boost/boost/fusion/include/pair.hpp", + "external/sources/boost/boost/fusion/include/pair_tie.hpp", + "external/sources/boost/boost/fusion/include/pop_back.hpp", + "external/sources/boost/boost/fusion/include/pop_front.hpp", + "external/sources/boost/boost/fusion/include/prior.hpp", + "external/sources/boost/boost/fusion/include/proxy_type.hpp", + "external/sources/boost/boost/fusion/include/push_back.hpp", + "external/sources/boost/boost/fusion/include/push_front.hpp", + "external/sources/boost/boost/fusion/include/query.hpp", + "external/sources/boost/boost/fusion/include/remove.hpp", + "external/sources/boost/boost/fusion/include/remove_if.hpp", + "external/sources/boost/boost/fusion/include/repetitive_view.hpp", + "external/sources/boost/boost/fusion/include/replace.hpp", + "external/sources/boost/boost/fusion/include/replace_if.hpp", + "external/sources/boost/boost/fusion/include/reverse.hpp", + "external/sources/boost/boost/fusion/include/reverse_fold.hpp", + "external/sources/boost/boost/fusion/include/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/include/reverse_view.hpp", + "external/sources/boost/boost/fusion/include/segmented_fold_until.hpp", + "external/sources/boost/boost/fusion/include/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/include/segments.hpp", + "external/sources/boost/boost/fusion/include/sequence.hpp", + "external/sources/boost/boost/fusion/include/sequence_base.hpp", + "external/sources/boost/boost/fusion/include/sequence_facade.hpp", + "external/sources/boost/boost/fusion/include/set.hpp", + "external/sources/boost/boost/fusion/include/set_fwd.hpp", + "external/sources/boost/boost/fusion/include/single_view.hpp", + "external/sources/boost/boost/fusion/include/size.hpp", + "external/sources/boost/boost/fusion/include/std_array.hpp", + "external/sources/boost/boost/fusion/include/std_pair.hpp", + "external/sources/boost/boost/fusion/include/std_tuple.hpp", + "external/sources/boost/boost/fusion/include/struct.hpp", + "external/sources/boost/boost/fusion/include/support.hpp", + "external/sources/boost/boost/fusion/include/swap.hpp", + "external/sources/boost/boost/fusion/include/tag_of.hpp", + "external/sources/boost/boost/fusion/include/tag_of_fwd.hpp", + "external/sources/boost/boost/fusion/include/transform.hpp", + "external/sources/boost/boost/fusion/include/transform_view.hpp", + "external/sources/boost/boost/fusion/include/transformation.hpp", + "external/sources/boost/boost/fusion/include/tuple.hpp", + "external/sources/boost/boost/fusion/include/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/include/tuple_tie.hpp", + "external/sources/boost/boost/fusion/include/unfused.hpp", + "external/sources/boost/boost/fusion/include/unfused_typed.hpp", + "external/sources/boost/boost/fusion/include/unused.hpp", + "external/sources/boost/boost/fusion/include/value_at.hpp", + "external/sources/boost/boost/fusion/include/value_at_key.hpp", + "external/sources/boost/boost/fusion/include/value_of.hpp", + "external/sources/boost/boost/fusion/include/value_of_data.hpp", + "external/sources/boost/boost/fusion/include/vector.hpp", + "external/sources/boost/boost/fusion/include/vector10.hpp", + "external/sources/boost/boost/fusion/include/vector20.hpp", + "external/sources/boost/boost/fusion/include/vector30.hpp", + "external/sources/boost/boost/fusion/include/vector40.hpp", + "external/sources/boost/boost/fusion/include/vector50.hpp", + "external/sources/boost/boost/fusion/include/vector_fwd.hpp", + "external/sources/boost/boost/fusion/include/vector_tie.hpp", + "external/sources/boost/boost/fusion/include/view.hpp", + "external/sources/boost/boost/fusion/include/void.hpp", + "external/sources/boost/boost/fusion/include/zip.hpp", + "external/sources/boost/boost/fusion/include/zip_view.hpp", + "external/sources/boost/boost/fusion/iterator.hpp", + "external/sources/boost/boost/fusion/iterator/advance.hpp", + "external/sources/boost/boost/fusion/iterator/basic_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/deref.hpp", + "external/sources/boost/boost/fusion/iterator/deref_data.hpp", + "external/sources/boost/boost/fusion/iterator/detail/adapt_deref_traits.hpp", + "external/sources/boost/boost/fusion/iterator/detail/adapt_value_traits.hpp", + "external/sources/boost/boost/fusion/iterator/detail/advance.hpp", + "external/sources/boost/boost/fusion/iterator/detail/distance.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segment_sequence.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_equal_to.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_next_impl.hpp", + "external/sources/boost/boost/fusion/iterator/distance.hpp", + "external/sources/boost/boost/fusion/iterator/equal_to.hpp", + "external/sources/boost/boost/fusion/iterator/iterator_adapter.hpp", + "external/sources/boost/boost/fusion/iterator/iterator_facade.hpp", + "external/sources/boost/boost/fusion/iterator/key_of.hpp", + "external/sources/boost/boost/fusion/iterator/mpl.hpp", + "external/sources/boost/boost/fusion/iterator/mpl/convert_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/mpl/fusion_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/next.hpp", + "external/sources/boost/boost/fusion/iterator/prior.hpp", + "external/sources/boost/boost/fusion/iterator/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/value_of.hpp", + "external/sources/boost/boost/fusion/iterator/value_of_data.hpp", + "external/sources/boost/boost/fusion/mpl.hpp", + "external/sources/boost/boost/fusion/mpl/at.hpp", + "external/sources/boost/boost/fusion/mpl/back.hpp", + "external/sources/boost/boost/fusion/mpl/begin.hpp", + "external/sources/boost/boost/fusion/mpl/clear.hpp", + "external/sources/boost/boost/fusion/mpl/detail/clear.hpp", + "external/sources/boost/boost/fusion/mpl/empty.hpp", + "external/sources/boost/boost/fusion/mpl/end.hpp", + "external/sources/boost/boost/fusion/mpl/erase.hpp", + "external/sources/boost/boost/fusion/mpl/erase_key.hpp", + "external/sources/boost/boost/fusion/mpl/front.hpp", + "external/sources/boost/boost/fusion/mpl/has_key.hpp", + "external/sources/boost/boost/fusion/mpl/insert.hpp", + "external/sources/boost/boost/fusion/mpl/insert_range.hpp", + "external/sources/boost/boost/fusion/mpl/pop_back.hpp", + "external/sources/boost/boost/fusion/mpl/pop_front.hpp", + "external/sources/boost/boost/fusion/mpl/push_back.hpp", + "external/sources/boost/boost/fusion/mpl/push_front.hpp", + "external/sources/boost/boost/fusion/mpl/size.hpp", + "external/sources/boost/boost/fusion/sequence.hpp", + "external/sources/boost/boost/fusion/sequence/comparison.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/greater.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/greater_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/less.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/less_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/not_equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/enable_comparison.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/greater.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/greater_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/less.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/less_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/not_equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/convert.hpp", + "external/sources/boost/boost/fusion/sequence/hash.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at_c.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/back.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/begin.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_size.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/empty.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/end.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/front.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/has_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/segments.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/size.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/swap.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/value_at.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/value_at_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic_fwd.hpp", + "external/sources/boost/boost/fusion/sequence/io.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/in.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/manip.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/out.hpp", + "external/sources/boost/boost/fusion/sequence/io/in.hpp", + "external/sources/boost/boost/fusion/sequence/io/out.hpp", + "external/sources/boost/boost/fusion/sequence/sequence_facade.hpp", + "external/sources/boost/boost/fusion/support.hpp", + "external/sources/boost/boost/fusion/support/as_const.hpp", + "external/sources/boost/boost/fusion/support/category_of.hpp", + "external/sources/boost/boost/fusion/support/config.hpp", + "external/sources/boost/boost/fusion/support/deduce.hpp", + "external/sources/boost/boost/fusion/support/deduce_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/access.hpp", + "external/sources/boost/boost/fusion/support/detail/and.hpp", + "external/sources/boost/boost/fusion/support/detail/as_fusion_element.hpp", + "external/sources/boost/boost/fusion/support/detail/enabler.hpp", + "external/sources/boost/boost/fusion/support/detail/index_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_mpl_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_native_fusion_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_same_size.hpp", + "external/sources/boost/boost/fusion/support/detail/mpl_iterator_category.hpp", + "external/sources/boost/boost/fusion/support/detail/pp_round.hpp", + "external/sources/boost/boost/fusion/support/detail/segmented_fold_until_impl.hpp", + "external/sources/boost/boost/fusion/support/is_iterator.hpp", + "external/sources/boost/boost/fusion/support/is_segmented.hpp", + "external/sources/boost/boost/fusion/support/is_sequence.hpp", + "external/sources/boost/boost/fusion/support/is_view.hpp", + "external/sources/boost/boost/fusion/support/iterator_base.hpp", + "external/sources/boost/boost/fusion/support/pair.hpp", + "external/sources/boost/boost/fusion/support/segmented_fold_until.hpp", + "external/sources/boost/boost/fusion/support/sequence_base.hpp", + "external/sources/boost/boost/fusion/support/tag_of.hpp", + "external/sources/boost/boost/fusion/support/tag_of_fwd.hpp", + "external/sources/boost/boost/fusion/support/unused.hpp", + "external/sources/boost/boost/fusion/support/void.hpp", + "external/sources/boost/boost/fusion/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_expand.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_tie.hpp", + "external/sources/boost/boost/fusion/tuple/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/tuple_tie.hpp", + "external/sources/boost/boost/fusion/view.hpp", + "external/sources/boost/boost/fusion/view/detail/strictest_traversal.hpp", + "external/sources/boost/boost/fusion/view/filter_view.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/filter_view.hpp", + "external/sources/boost/boost/fusion/view/filter_view/filter_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/flatten_view.hpp", + "external/sources/boost/boost/fusion/view/flatten_view/flatten_view.hpp", + "external/sources/boost/boost/fusion/view/flatten_view/flatten_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/iterator_range.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/is_segmented_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/segments_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/iterator_range.hpp", + "external/sources/boost/boost/fusion/view/joint_view.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/nview.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/cpp03/nview_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/nview_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/nview.hpp", + "external/sources/boost/boost/fusion/view/nview/nview_iterator.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/reverse_view.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/reverse_view.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/reverse_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/single_view.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/single_view.hpp", + "external/sources/boost/boost/fusion/view/single_view/single_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/transform_view.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/zip_view.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp", + "external/sources/boost/boost/generator_iterator.hpp", + "external/sources/boost/boost/geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/append.hpp", + "external/sources/boost/boost/geometry/algorithms/area.hpp", + "external/sources/boost/boost/geometry/algorithms/assign.hpp", + "external/sources/boost/boost/geometry/algorithms/buffer.hpp", + "external/sources/boost/boost/geometry/algorithms/centroid.hpp", + "external/sources/boost/boost/geometry/algorithms/clear.hpp", + "external/sources/boost/boost/geometry/algorithms/comparable_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/convert.hpp", + "external/sources/boost/boost/geometry/algorithms/convex_hull.hpp", + "external/sources/boost/boost/geometry/algorithms/correct.hpp", + "external/sources/boost/boost/geometry/algorithms/correct_closure.hpp", + "external/sources/boost/boost/geometry/algorithms/covered_by.hpp", + "external/sources/boost/boost/geometry/algorithms/crosses.hpp", + "external/sources/boost/boost/geometry/algorithms/densify.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/as_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_box_corners.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_indexed_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_values.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/azimuth.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_policies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/line_line_intersection.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/piece_border.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_original_visitor.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_null.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_point_order.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_sum.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/centroid/translating_transformer.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/check_iterator_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/geometry_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/point_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/convert_indexed_to_indexed.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/convert_point_to_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/counting.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/course.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/covered_by/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/covered_by/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/direction_code.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_segment_or_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multipoint_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multirange_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/segment_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/backward_compatibility.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/box_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/default_strategies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/geometry_to_segment_or_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/is_comparable.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/iterator_selector.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_or_areal_to_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/multipoint_to_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/initialize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/intersects_antimeridian.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/multipoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/range_of_boxes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/transform_units.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/collect_vectors.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/indexed.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand_by_epsilon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/extreme_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/for_each_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/get_max_size.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/has_self_intersections.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/interior_iterator.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/multi.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersects/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersects/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/always_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/failure_policy.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/multipoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_complement_graph.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_print_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_validity_phase.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_duplicates.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_invalid_coordinate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_valid_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/multipolygon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/pointlike.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/polygon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/make/make.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/max_interval_gap.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_modify.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_sum.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/normalize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/not.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/num_distinct_consecutive_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlaps/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlaps/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/add_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_duplicates.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/assign_parents.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/backtrack_check_si.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/check_enrich.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/clip_linestring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_exits.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/convert_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segments.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/debug_turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/do_reverse.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow_linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_distance_measure.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_relative_order.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/less_by_segment_ratio.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/needs_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay_type.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_pointlike.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/range_in_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/ring_properties.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_as_subrange.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_identifier.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/select_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/self_turn_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/sort_by_side.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/stream_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_ring_creator.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_switch_detector.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traverse.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/visit_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/partition.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/point_is_spike_or_equal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/point_on_border.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/recalculate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/boundary_checker.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/de9im.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/follow_helpers.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/multi_point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/relate_impl.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/result.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/topology_check.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relation/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relation/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/ring_identifier.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/range_by_section.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/section_box_policies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/section_functions.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/sectionalize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/signed_size_type.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/single_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sub_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sweep.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/throw_on_empty_input.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/touches/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/touches/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/tupled_output.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/compare_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/debug_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/filter_continue_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/print_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/remove_duplicate_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/multi_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/point_in_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/within_no_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/difference.hpp", + "external/sources/boost/boost/geometry/algorithms/discrete_frechet_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/discrete_hausdorff_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/disjoint.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/disjoint.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/distance.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/envelope.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/expand.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/is_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/is_valid.hpp", + "external/sources/boost/boost/geometry/algorithms/distance.hpp", + "external/sources/boost/boost/geometry/algorithms/envelope.hpp", + "external/sources/boost/boost/geometry/algorithms/equals.hpp", + "external/sources/boost/boost/geometry/algorithms/expand.hpp", + "external/sources/boost/boost/geometry/algorithms/for_each.hpp", + "external/sources/boost/boost/geometry/algorithms/intersection.hpp", + "external/sources/boost/boost/geometry/algorithms/intersects.hpp", + "external/sources/boost/boost/geometry/algorithms/is_convex.hpp", + "external/sources/boost/boost/geometry/algorithms/is_empty.hpp", + "external/sources/boost/boost/geometry/algorithms/is_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/is_valid.hpp", + "external/sources/boost/boost/geometry/algorithms/length.hpp", + "external/sources/boost/boost/geometry/algorithms/line_interpolate.hpp", + "external/sources/boost/boost/geometry/algorithms/make.hpp", + "external/sources/boost/boost/geometry/algorithms/not_implemented.hpp", + "external/sources/boost/boost/geometry/algorithms/num_geometries.hpp", + "external/sources/boost/boost/geometry/algorithms/num_interior_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/num_points.hpp", + "external/sources/boost/boost/geometry/algorithms/num_segments.hpp", + "external/sources/boost/boost/geometry/algorithms/overlaps.hpp", + "external/sources/boost/boost/geometry/algorithms/perimeter.hpp", + "external/sources/boost/boost/geometry/algorithms/point_on_surface.hpp", + "external/sources/boost/boost/geometry/algorithms/relate.hpp", + "external/sources/boost/boost/geometry/algorithms/relation.hpp", + "external/sources/boost/boost/geometry/algorithms/remove_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/reverse.hpp", + "external/sources/boost/boost/geometry/algorithms/simplify.hpp", + "external/sources/boost/boost/geometry/algorithms/sym_difference.hpp", + "external/sources/boost/boost/geometry/algorithms/touches.hpp", + "external/sources/boost/boost/geometry/algorithms/transform.hpp", + "external/sources/boost/boost/geometry/algorithms/union.hpp", + "external/sources/boost/boost/geometry/algorithms/unique.hpp", + "external/sources/boost/boost/geometry/algorithms/validity_failure_type.hpp", + "external/sources/boost/boost/geometry/algorithms/within.hpp", + "external/sources/boost/boost/geometry/arithmetic/arithmetic.hpp", + "external/sources/boost/boost/geometry/arithmetic/cross_product.hpp", + "external/sources/boost/boost/geometry/arithmetic/determinant.hpp", + "external/sources/boost/boost/geometry/arithmetic/dot_product.hpp", + "external/sources/boost/boost/geometry/arithmetic/infinite_line_functions.hpp", + "external/sources/boost/boost/geometry/arithmetic/normalize.hpp", + "external/sources/boost/boost/geometry/core/access.hpp", + "external/sources/boost/boost/geometry/core/assert.hpp", + "external/sources/boost/boost/geometry/core/closure.hpp", + "external/sources/boost/boost/geometry/core/config.hpp", + "external/sources/boost/boost/geometry/core/coordinate_dimension.hpp", + "external/sources/boost/boost/geometry/core/coordinate_system.hpp", + "external/sources/boost/boost/geometry/core/coordinate_type.hpp", + "external/sources/boost/boost/geometry/core/cs.hpp", + "external/sources/boost/boost/geometry/core/exception.hpp", + "external/sources/boost/boost/geometry/core/exterior_ring.hpp", + "external/sources/boost/boost/geometry/core/geometry_id.hpp", + "external/sources/boost/boost/geometry/core/interior_rings.hpp", + "external/sources/boost/boost/geometry/core/interior_type.hpp", + "external/sources/boost/boost/geometry/core/is_areal.hpp", + "external/sources/boost/boost/geometry/core/mutable_range.hpp", + "external/sources/boost/boost/geometry/core/point_order.hpp", + "external/sources/boost/boost/geometry/core/point_type.hpp", + "external/sources/boost/boost/geometry/core/radian_access.hpp", + "external/sources/boost/boost/geometry/core/radius.hpp", + "external/sources/boost/boost/geometry/core/reverse_dispatch.hpp", + "external/sources/boost/boost/geometry/core/ring_type.hpp", + "external/sources/boost/boost/geometry/core/tag.hpp", + "external/sources/boost/boost/geometry/core/tag_cast.hpp", + "external/sources/boost/boost/geometry/core/tags.hpp", + "external/sources/boost/boost/geometry/core/topological_dimension.hpp", + "external/sources/boost/boost/geometry/formulas/andoyer_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/area_formulas.hpp", + "external/sources/boost/boost/geometry/formulas/authalic_radius_sqr.hpp", + "external/sources/boost/boost/geometry/formulas/differential_quantities.hpp", + "external/sources/boost/boost/geometry/formulas/eccentricity_sqr.hpp", + "external/sources/boost/boost/geometry/formulas/flattening.hpp", + "external/sources/boost/boost/geometry/formulas/geographic.hpp", + "external/sources/boost/boost/geometry/formulas/gnomonic_intersection.hpp", + "external/sources/boost/boost/geometry/formulas/gnomonic_spheroid.hpp", + "external/sources/boost/boost/geometry/formulas/interpolate_point_spherical.hpp", + "external/sources/boost/boost/geometry/formulas/karney_direct.hpp", + "external/sources/boost/boost/geometry/formulas/karney_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/mean_radius.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_direct.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_segment.hpp", + "external/sources/boost/boost/geometry/formulas/quarter_meridian.hpp", + "external/sources/boost/boost/geometry/formulas/result_direct.hpp", + "external/sources/boost/boost/geometry/formulas/result_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/sjoberg_intersection.hpp", + "external/sources/boost/boost/geometry/formulas/spherical.hpp", + "external/sources/boost/boost/geometry/formulas/thomas_direct.hpp", + "external/sources/boost/boost/geometry/formulas/thomas_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/unit_spheroid.hpp", + "external/sources/boost/boost/geometry/formulas/vertex_latitude.hpp", + "external/sources/boost/boost/geometry/formulas/vertex_longitude.hpp", + "external/sources/boost/boost/geometry/formulas/vincenty_direct.hpp", + "external/sources/boost/boost/geometry/formulas/vincenty_inverse.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_fusion.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/box.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/hole_iterator.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/holes_proxy.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/point.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring_proxy.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/adjacent_filtered.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/filtered.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/reversed.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/sliced.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/strided.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/uniqued.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_tuple.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/c_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/std_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/std_pair_as_segment.hpp", + "external/sources/boost/boost/geometry/geometries/box.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/box_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/check.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/linestring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_linestring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_point_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_polygon_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/point_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/polygon_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/ring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/segment_concept.hpp", + "external/sources/boost/boost/geometry/geometries/geometries.hpp", + "external/sources/boost/boost/geometry/geometries/helper_geometry.hpp", + "external/sources/boost/boost/geometry/geometries/infinite_line.hpp", + "external/sources/boost/boost/geometry/geometries/linestring.hpp", + "external/sources/boost/boost/geometry/geometries/multi_linestring.hpp", + "external/sources/boost/boost/geometry/geometries/multi_point.hpp", + "external/sources/boost/boost/geometry/geometries/multi_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/point.hpp", + "external/sources/boost/boost/geometry/geometries/point_xy.hpp", + "external/sources/boost/boost/geometry/geometries/point_xyz.hpp", + "external/sources/boost/boost/geometry/geometries/pointing_segment.hpp", + "external/sources/boost/boost/geometry/geometries/polygon.hpp", + "external/sources/boost/boost/geometry/geometries/register/box.hpp", + "external/sources/boost/boost/geometry/geometries/register/linestring.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_linestring.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_point.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/register/point.hpp", + "external/sources/boost/boost/geometry/geometries/register/ring.hpp", + "external/sources/boost/boost/geometry/geometries/register/segment.hpp", + "external/sources/boost/boost/geometry/geometries/ring.hpp", + "external/sources/boost/boost/geometry/geometries/segment.hpp", + "external/sources/boost/boost/geometry/geometries/variant.hpp", + "external/sources/boost/boost/geometry/geometry.hpp", + "external/sources/boost/boost/geometry/index/adaptors/query.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/bounds.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_centroid.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_far.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_near.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/content.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/diff_abs.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/intersection_content.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/is_valid.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/margin.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/minmaxdist.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/nth_element.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/path_intersection.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/segment_intersection.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/smallest_for_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/sum_for_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/union_content.hpp", + "external/sources/boost/boost/geometry/index/detail/assert.hpp", + "external/sources/boost/boost/geometry/index/detail/bounded_view.hpp", + "external/sources/boost/boost/geometry/index/detail/config_begin.hpp", + "external/sources/boost/boost/geometry/index/detail/config_end.hpp", + "external/sources/boost/boost/geometry/index/detail/distance_predicates.hpp", + "external/sources/boost/boost/geometry/index/detail/exception.hpp", + "external/sources/boost/boost/geometry/index/detail/is_bounding_geometry.hpp", + "external/sources/boost/boost/geometry/index/detail/is_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/meta.hpp", + "external/sources/boost/boost/geometry/index/detail/predicates.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/adaptors.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/iterators.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/kmeans.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/split.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/linear/linear.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/linear/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/concept.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/node.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/node_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/pairs.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/scoped_deallocator.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/subtree_destroyer.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_dynamic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_static.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_visitor.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_static.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_visitor.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/options.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/pack_create.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/quadratic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/query_iterators.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/insert.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/rstar.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_boxes_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_counts_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_levels_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/print.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/statistics.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/view.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/children_box.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/copy.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/count.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/destroy.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/distance_query.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/insert.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/iterator.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/remove.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp", + "external/sources/boost/boost/geometry/index/detail/serialization.hpp", + "external/sources/boost/boost/geometry/index/detail/tags.hpp", + "external/sources/boost/boost/geometry/index/detail/translator.hpp", + "external/sources/boost/boost/geometry/index/detail/utilities.hpp", + "external/sources/boost/boost/geometry/index/detail/varray.hpp", + "external/sources/boost/boost/geometry/index/detail/varray_detail.hpp", + "external/sources/boost/boost/geometry/index/distance_predicates.hpp", + "external/sources/boost/boost/geometry/index/equal_to.hpp", + "external/sources/boost/boost/geometry/index/indexable.hpp", + "external/sources/boost/boost/geometry/index/inserter.hpp", + "external/sources/boost/boost/geometry/index/parameters.hpp", + "external/sources/boost/boost/geometry/index/predicates.hpp", + "external/sources/boost/boost/geometry/index/rtree.hpp", + "external/sources/boost/boost/geometry/io/dsv/write.hpp", + "external/sources/boost/boost/geometry/io/io.hpp", + "external/sources/boost/boost/geometry/io/svg/svg_mapper.hpp", + "external/sources/boost/boost/geometry/io/svg/write.hpp", + "external/sources/boost/boost/geometry/io/svg/write_svg.hpp", + "external/sources/boost/boost/geometry/io/svg/write_svg_multi.hpp", + "external/sources/boost/boost/geometry/io/wkt/detail/prefix.hpp", + "external/sources/boost/boost/geometry/io/wkt/detail/wkt_multi.hpp", + "external/sources/boost/boost/geometry/io/wkt/read.hpp", + "external/sources/boost/boost/geometry/io/wkt/stream.hpp", + "external/sources/boost/boost/geometry/io/wkt/wkt.hpp", + "external/sources/boost/boost/geometry/io/wkt/write.hpp", + "external/sources/boost/boost/geometry/iterators/base.hpp", + "external/sources/boost/boost/geometry/iterators/closing_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/concatenate_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/inner_range_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/iterator_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/value_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/iterator_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/range_segment_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/value_type.hpp", + "external/sources/boost/boost/geometry/iterators/dispatch/point_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/dispatch/segment_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/ever_circling_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/flatten_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/has_one_element.hpp", + "external/sources/boost/boost/geometry/iterators/point_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/point_reverse_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/segment_iterator.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/append.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/area.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/centroid.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/clear.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/convert.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/correct.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/covered_by.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/extreme_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/for_each_range.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/modify.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/multi_sum.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segment_point.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segments.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_ring.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_turns.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/self_turn_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/point_on_border.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/range_by_section.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/sectionalize.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/disjoint.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/distance.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/envelope.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/equals.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/for_each.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/intersection.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/length.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_geometries.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_interior_rings.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/perimeter.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/remove_spikes.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/reverse.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/simplify.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/transform.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/unique.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/within.hpp", + "external/sources/boost/boost/geometry/multi/core/closure.hpp", + "external/sources/boost/boost/geometry/multi/core/geometry_id.hpp", + "external/sources/boost/boost/geometry/multi/core/interior_rings.hpp", + "external/sources/boost/boost/geometry/multi/core/is_areal.hpp", + "external/sources/boost/boost/geometry/multi/core/point_order.hpp", + "external/sources/boost/boost/geometry/multi/core/point_type.hpp", + "external/sources/boost/boost/geometry/multi/core/ring_type.hpp", + "external/sources/boost/boost/geometry/multi/core/tags.hpp", + "external/sources/boost/boost/geometry/multi/core/topological_dimension.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/check.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_point_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_polygon_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_geometries.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_linestring.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_point.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_polygon.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_linestring.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_point.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_polygon.hpp", + "external/sources/boost/boost/geometry/multi/io/dsv/write.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/detail/prefix.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/read.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/wkt.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/write.hpp", + "external/sources/boost/boost/geometry/multi/multi.hpp", + "external/sources/boost/boost/geometry/multi/strategies/cartesian/centroid_average.hpp", + "external/sources/boost/boost/geometry/multi/views/detail/range_type.hpp", + "external/sources/boost/boost/geometry/policies/compare.hpp", + "external/sources/boost/boost/geometry/policies/disjoint_interrupt_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/default_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/failing_reason_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/failure_type_policy.hpp", + "external/sources/boost/boost/geometry/policies/predicate_based_interrupt_policy.hpp", + "external/sources/boost/boost/geometry/policies/relate/direction.hpp", + "external/sources/boost/boost/geometry/policies/relate/intersection_points.hpp", + "external/sources/boost/boost/geometry/policies/relate/intersection_ratios.hpp", + "external/sources/boost/boost/geometry/policies/relate/tupled.hpp", + "external/sources/boost/boost/geometry/policies/robustness/get_rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/no_rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp", + "external/sources/boost/boost/geometry/policies/robustness/robust_point_type.hpp", + "external/sources/boost/boost/geometry/policies/robustness/robust_type.hpp", + "external/sources/boost/boost/geometry/policies/robustness/segment_ratio.hpp", + "external/sources/boost/boost/geometry/policies/robustness/segment_ratio_type.hpp", + "external/sources/boost/boost/geometry/srs/epsg.hpp", + "external/sources/boost/boost/geometry/srs/esri.hpp", + "external/sources/boost/boost/geometry/srs/iau2000.hpp", + "external/sources/boost/boost/geometry/srs/projection.hpp", + "external/sources/boost/boost/geometry/srs/projections/code.hpp", + "external/sources/boost/boost/geometry/srs/projections/constants.hpp", + "external/sources/boost/boost/geometry/srs/projections/dpar.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/exception.hpp", + "external/sources/boost/boost/geometry/srs/projections/factory.hpp", + "external/sources/boost/boost/geometry/srs/projections/grids.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/aasincos.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/adjlon.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/base_dynamic.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/base_static.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/dms_parser.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/factory_entry.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/function_overloads.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/geocent.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_apply_gridshift.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_auth.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_datum_set.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_datums.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_ell_set.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_ellps.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_fwd.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gauss.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridinfo.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridlist.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_init.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_inv.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_mlfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_msfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_param.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_phi2.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_qsfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_strerrno.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_transform.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_tsfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_units.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_zpoly1.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/proj_mdist.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/projects.hpp", + "external/sources/boost/boost/geometry/srs/projections/invalid_point.hpp", + "external/sources/boost/boost/geometry/srs/projections/par_data.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aeqd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/airy.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aitoff.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/august.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bacon.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bipc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/boggs.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bonne.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cass.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/chamb.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/collg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/crast.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/denoy.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck1.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck4.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eqc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eqdc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/etmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/fahey.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/fouc_s.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gall.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/geocent.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/geos.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gins8.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gn_sinu.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gnom.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/goode.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gstmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/hammer.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/hatano.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/healpix.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/igh.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/imw_p.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/isea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/krovak.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/labrd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/laea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lagrng.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/larr.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lask.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/latlong.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lcc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lcca.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/loxim.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lsat.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbt_fps.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpp.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpq.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/merc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mill.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mod_ster.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/moll.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/natearth.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nell.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nell_h.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nocol.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nsper.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nzmg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ob_tran.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ocea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/oea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/omerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ortho.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/poly.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp4p.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp6.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/qsc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/robin.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/rouss.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/rpoly.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sconics.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/somerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/stere.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sterea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sts.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tcc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tcea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tpeqd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/urm5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/urmfps.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg4.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag7.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wink1.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wink2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj4.hpp", + "external/sources/boost/boost/geometry/srs/projections/spar.hpp", + "external/sources/boost/boost/geometry/srs/projections/srid_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/str_cast.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids_boost.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids_std.hpp", + "external/sources/boost/boost/geometry/srs/sphere.hpp", + "external/sources/boost/boost/geometry/srs/spheroid.hpp", + "external/sources/boost/boost/geometry/srs/srs.hpp", + "external/sources/boost/boost/geometry/srs/transformation.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/hull_graham_andrew.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_box_by_side.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_oriented_winding.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp", + "external/sources/boost/boost/geometry/strategies/area.hpp", + "external/sources/boost/boost/geometry/strategies/area_result.hpp", + "external/sources/boost/boost/geometry/strategies/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/buffer.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/area.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/area_surveyor.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/box_in_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_flat.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_round.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_miter.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round_by_divide.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_circle.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_square.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_side_straight.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_average.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/densify.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point_ax.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_multipoint.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/index.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/io.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_franklin.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/side_by_triangle.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/turn_in_ring_winding.hpp", + "external/sources/boost/boost/geometry/strategies/centroid.hpp", + "external/sources/boost/boost/geometry/strategies/comparable_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/compare.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/area_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/centroid_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/convex_hull_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/distance_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/segment_intersect_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/simplify_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/within_concept.hpp", + "external/sources/boost/boost/geometry/strategies/convex_hull.hpp", + "external/sources/boost/boost/geometry/strategies/covered_by.hpp", + "external/sources/boost/boost/geometry/strategies/default_area_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_comparable_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_length_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_strategy.hpp", + "external/sources/boost/boost/geometry/strategies/densify.hpp", + "external/sources/boost/boost/geometry/strategies/disjoint.hpp", + "external/sources/boost/boost/geometry/strategies/distance.hpp", + "external/sources/boost/boost/geometry/strategies/distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/expand.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/area.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/buffer_point_circle.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/densify.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_andoyer.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_karney.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_thomas.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_vincenty.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/index.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/intersection_elliptic.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/io.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/mapping_ssf.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/parameters.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_andoyer.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_thomas.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_vincenty.hpp", + "external/sources/boost/boost/geometry/strategies/index.hpp", + "external/sources/boost/boost/geometry/strategies/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/intersection_result.hpp", + "external/sources/boost/boost/geometry/strategies/intersection_strategies.hpp", + "external/sources/boost/boost/geometry/strategies/io.hpp", + "external/sources/boost/boost/geometry/strategies/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/normalize.hpp", + "external/sources/boost/boost/geometry/strategies/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/relate.hpp", + "external/sources/boost/boost/geometry/strategies/side.hpp", + "external/sources/boost/boost/geometry/strategies/side_info.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/area.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/compare.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/densify.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/disjoint_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_haversine.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_multipoint.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/get_radius.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/index.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/io.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/side_by_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/ssf.hpp", + "external/sources/boost/boost/geometry/strategies/strategies.hpp", + "external/sources/boost/boost/geometry/strategies/strategy_transform.hpp", + "external/sources/boost/boost/geometry/strategies/tags.hpp", + "external/sources/boost/boost/geometry/strategies/transform.hpp", + "external/sources/boost/boost/geometry/strategies/transform/inverse_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/transform/map_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/transform/matrix_transformers.hpp", + "external/sources/boost/boost/geometry/strategies/transform/srs_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/within.hpp", + "external/sources/boost/boost/geometry/util/add_const_if_c.hpp", + "external/sources/boost/boost/geometry/util/bare_type.hpp", + "external/sources/boost/boost/geometry/util/calculation_type.hpp", + "external/sources/boost/boost/geometry/util/closure_as_bool.hpp", + "external/sources/boost/boost/geometry/util/combine_if.hpp", + "external/sources/boost/boost/geometry/util/compress_variant.hpp", + "external/sources/boost/boost/geometry/util/condition.hpp", + "external/sources/boost/boost/geometry/util/coordinate_cast.hpp", + "external/sources/boost/boost/geometry/util/for_each_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_infinite_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_nan_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_non_finite_coordinate.hpp", + "external/sources/boost/boost/geometry/util/is_inverse_spheroidal_coordinates.hpp", + "external/sources/boost/boost/geometry/util/math.hpp", + "external/sources/boost/boost/geometry/util/normalize_spheroidal_box_coordinates.hpp", + "external/sources/boost/boost/geometry/util/normalize_spheroidal_coordinates.hpp", + "external/sources/boost/boost/geometry/util/order_as_direction.hpp", + "external/sources/boost/boost/geometry/util/parameter_type_of.hpp", + "external/sources/boost/boost/geometry/util/promote_floating_point.hpp", + "external/sources/boost/boost/geometry/util/promote_integral.hpp", + "external/sources/boost/boost/geometry/util/range.hpp", + "external/sources/boost/boost/geometry/util/rational.hpp", + "external/sources/boost/boost/geometry/util/readme.txt", + "external/sources/boost/boost/geometry/util/select_calculation_type.hpp", + "external/sources/boost/boost/geometry/util/select_coordinate_type.hpp", + "external/sources/boost/boost/geometry/util/select_most_precise.hpp", + "external/sources/boost/boost/geometry/util/select_sequence_element.hpp", + "external/sources/boost/boost/geometry/util/series_expansion.hpp", + "external/sources/boost/boost/geometry/util/transform_variant.hpp", + "external/sources/boost/boost/geometry/util/tuples.hpp", + "external/sources/boost/boost/geometry/views/box_view.hpp", + "external/sources/boost/boost/geometry/views/closeable_view.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view/implementation.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view/interface.hpp", + "external/sources/boost/boost/geometry/views/detail/indexed_point_view.hpp", + "external/sources/boost/boost/geometry/views/detail/normalized_view.hpp", + "external/sources/boost/boost/geometry/views/detail/points_view.hpp", + "external/sources/boost/boost/geometry/views/detail/range_type.hpp", + "external/sources/boost/boost/geometry/views/detail/two_dimensional_view.hpp", + "external/sources/boost/boost/geometry/views/identity_view.hpp", + "external/sources/boost/boost/geometry/views/reversible_view.hpp", + "external/sources/boost/boost/geometry/views/segment_view.hpp", + "external/sources/boost/boost/get_pointer.hpp", + "external/sources/boost/boost/gil.hpp", + "external/sources/boost/boost/gil/algorithm.hpp", + "external/sources/boost/boost/gil/bit_aligned_pixel_iterator.hpp", + "external/sources/boost/boost/gil/bit_aligned_pixel_reference.hpp", + "external/sources/boost/boost/gil/channel.hpp", + "external/sources/boost/boost/gil/channel_algorithm.hpp", + "external/sources/boost/boost/gil/cmyk.hpp", + "external/sources/boost/boost/gil/color_base.hpp", + "external/sources/boost/boost/gil/color_base_algorithm.hpp", + "external/sources/boost/boost/gil/color_convert.hpp", + "external/sources/boost/boost/gil/concepts.hpp", + "external/sources/boost/boost/gil/concepts/basic.hpp", + "external/sources/boost/boost/gil/concepts/channel.hpp", + "external/sources/boost/boost/gil/concepts/color.hpp", + "external/sources/boost/boost/gil/concepts/color_base.hpp", + "external/sources/boost/boost/gil/concepts/concept_check.hpp", + "external/sources/boost/boost/gil/concepts/detail/type_traits.hpp", + "external/sources/boost/boost/gil/concepts/detail/utility.hpp", + "external/sources/boost/boost/gil/concepts/dynamic_step.hpp", + "external/sources/boost/boost/gil/concepts/fwd.hpp", + "external/sources/boost/boost/gil/concepts/image.hpp", + "external/sources/boost/boost/gil/concepts/image_view.hpp", + "external/sources/boost/boost/gil/concepts/pixel.hpp", + "external/sources/boost/boost/gil/concepts/pixel_based.hpp", + "external/sources/boost/boost/gil/concepts/pixel_dereference.hpp", + "external/sources/boost/boost/gil/concepts/pixel_iterator.hpp", + "external/sources/boost/boost/gil/concepts/pixel_locator.hpp", + "external/sources/boost/boost/gil/concepts/point.hpp", + "external/sources/boost/boost/gil/deprecated.hpp", + "external/sources/boost/boost/gil/detail/is_channel_integral.hpp", + "external/sources/boost/boost/gil/detail/math.hpp", + "external/sources/boost/boost/gil/detail/mp11.hpp", + "external/sources/boost/boost/gil/detail/std_common_type.hpp", + "external/sources/boost/boost/gil/detail/type_traits.hpp", + "external/sources/boost/boost/gil/device_n.hpp", + "external/sources/boost/boost/gil/dynamic_step.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/algorithm.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/any_image.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/any_image_view.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/apply_operation.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_at_c.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_image_all.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/image_view_factory.hpp", + "external/sources/boost/boost/gil/extension/io/bmp.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/old.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/tags.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/write.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/base.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/old.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/tags.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/write.hpp", + "external/sources/boost/boost/gil/extension/io/png.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/base.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/png/old.hpp", + "external/sources/boost/boost/gil/extension/io/png/read.hpp", + "external/sources/boost/boost/gil/extension/io/png/tags.hpp", + "external/sources/boost/boost/gil/extension/io/png/write.hpp", + "external/sources/boost/boost/gil/extension/io/pnm.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/old.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/tags.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/write.hpp", + "external/sources/boost/boost/gil/extension/io/raw.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/device.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/raw/read.hpp", + "external/sources/boost/boost/gil/extension/io/raw/tags.hpp", + "external/sources/boost/boost/gil/extension/io/targa.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/targa/old.hpp", + "external/sources/boost/boost/gil/extension/io/targa/read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/tags.hpp", + "external/sources/boost/boost/gil/extension/io/targa/write.hpp", + "external/sources/boost/boost/gil/extension/io/tiff.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/device.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/log.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/old.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/tags.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/write.hpp", + "external/sources/boost/boost/gil/extension/numeric/affine.hpp", + "external/sources/boost/boost/gil/extension/numeric/algorithm.hpp", + "external/sources/boost/boost/gil/extension/numeric/channel_numeric_operations.hpp", + "external/sources/boost/boost/gil/extension/numeric/convolve.hpp", + "external/sources/boost/boost/gil/extension/numeric/kernel.hpp", + "external/sources/boost/boost/gil/extension/numeric/pixel_numeric_operations.hpp", + "external/sources/boost/boost/gil/extension/numeric/resample.hpp", + "external/sources/boost/boost/gil/extension/numeric/sampler.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters/rgb_to_luminance.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/cmyka.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsl.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsv.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/lab.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/xyz.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/ycbcr.hpp", + "external/sources/boost/boost/gil/extension/toolbox/dynamic_images.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types/indexed_image.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types/subchroma_image.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_type.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_view.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_num_bits.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_pixel_type.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_bit_aligned.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_homogeneous.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_similar.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/pixel_bit_size.hpp", + "external/sources/boost/boost/gil/extension/toolbox/toolbox.hpp", + "external/sources/boost/boost/gil/gray.hpp", + "external/sources/boost/boost/gil/image.hpp", + "external/sources/boost/boost/gil/image_processing/filter.hpp", + "external/sources/boost/boost/gil/image_processing/harris.hpp", + "external/sources/boost/boost/gil/image_processing/hessian.hpp", + "external/sources/boost/boost/gil/image_processing/numeric.hpp", + "external/sources/boost/boost/gil/image_processing/scaling.hpp", + "external/sources/boost/boost/gil/image_processing/threshold.hpp", + "external/sources/boost/boost/gil/image_view.hpp", + "external/sources/boost/boost/gil/image_view_factory.hpp", + "external/sources/boost/boost/gil/io/base.hpp", + "external/sources/boost/boost/gil/io/bit_operations.hpp", + "external/sources/boost/boost/gil/io/conversion_policies.hpp", + "external/sources/boost/boost/gil/io/device.hpp", + "external/sources/boost/boost/gil/io/dynamic_io_new.hpp", + "external/sources/boost/boost/gil/io/error.hpp", + "external/sources/boost/boost/gil/io/get_read_device.hpp", + "external/sources/boost/boost/gil/io/get_reader.hpp", + "external/sources/boost/boost/gil/io/get_write_device.hpp", + "external/sources/boost/boost/gil/io/get_writer.hpp", + "external/sources/boost/boost/gil/io/io.hpp", + "external/sources/boost/boost/gil/io/make_backend.hpp", + "external/sources/boost/boost/gil/io/make_dynamic_image_reader.hpp", + "external/sources/boost/boost/gil/io/make_dynamic_image_writer.hpp", + "external/sources/boost/boost/gil/io/make_reader.hpp", + "external/sources/boost/boost/gil/io/make_scanline_reader.hpp", + "external/sources/boost/boost/gil/io/make_writer.hpp", + "external/sources/boost/boost/gil/io/path_spec.hpp", + "external/sources/boost/boost/gil/io/read_and_convert_image.hpp", + "external/sources/boost/boost/gil/io/read_and_convert_view.hpp", + "external/sources/boost/boost/gil/io/read_image.hpp", + "external/sources/boost/boost/gil/io/read_image_info.hpp", + "external/sources/boost/boost/gil/io/read_view.hpp", + "external/sources/boost/boost/gil/io/reader_base.hpp", + "external/sources/boost/boost/gil/io/row_buffer_helper.hpp", + "external/sources/boost/boost/gil/io/scanline_read_iterator.hpp", + "external/sources/boost/boost/gil/io/typedefs.hpp", + "external/sources/boost/boost/gil/io/write_view.hpp", + "external/sources/boost/boost/gil/iterator_from_2d.hpp", + "external/sources/boost/boost/gil/locator.hpp", + "external/sources/boost/boost/gil/metafunctions.hpp", + "external/sources/boost/boost/gil/packed_pixel.hpp", + "external/sources/boost/boost/gil/pixel.hpp", + "external/sources/boost/boost/gil/pixel_iterator.hpp", + "external/sources/boost/boost/gil/pixel_iterator_adaptor.hpp", + "external/sources/boost/boost/gil/planar_pixel_iterator.hpp", + "external/sources/boost/boost/gil/planar_pixel_reference.hpp", + "external/sources/boost/boost/gil/point.hpp", + "external/sources/boost/boost/gil/position_iterator.hpp", + "external/sources/boost/boost/gil/premultiply.hpp", + "external/sources/boost/boost/gil/promote_integral.hpp", + "external/sources/boost/boost/gil/rgb.hpp", + "external/sources/boost/boost/gil/rgba.hpp", + "external/sources/boost/boost/gil/step_iterator.hpp", + "external/sources/boost/boost/gil/typedefs.hpp", + "external/sources/boost/boost/gil/utilities.hpp", + "external/sources/boost/boost/gil/virtual_locator.hpp", + "external/sources/boost/boost/graph/accounting.hpp", + "external/sources/boost/boost/graph/adj_list_serialize.hpp", + "external/sources/boost/boost/graph/adjacency_iterator.hpp", + "external/sources/boost/boost/graph/adjacency_list.hpp", + "external/sources/boost/boost/graph/adjacency_list_io.hpp", + "external/sources/boost/boost/graph/adjacency_matrix.hpp", + "external/sources/boost/boost/graph/astar_search.hpp", + "external/sources/boost/boost/graph/bandwidth.hpp", + "external/sources/boost/boost/graph/bc_clustering.hpp", + "external/sources/boost/boost/graph/bellman_ford_shortest_paths.hpp", + "external/sources/boost/boost/graph/betweenness_centrality.hpp", + "external/sources/boost/boost/graph/biconnected_components.hpp", + "external/sources/boost/boost/graph/bipartite.hpp", + "external/sources/boost/boost/graph/boyer_myrvold_planar_test.hpp", + "external/sources/boost/boost/graph/boykov_kolmogorov_max_flow.hpp", + "external/sources/boost/boost/graph/breadth_first_search.hpp", + "external/sources/boost/boost/graph/bron_kerbosch_all_cliques.hpp", + "external/sources/boost/boost/graph/buffer_concepts.hpp", + "external/sources/boost/boost/graph/chrobak_payne_drawing.hpp", + "external/sources/boost/boost/graph/circle_layout.hpp", + "external/sources/boost/boost/graph/closeness_centrality.hpp", + "external/sources/boost/boost/graph/clustering_coefficient.hpp", + "external/sources/boost/boost/graph/compressed_sparse_row_graph.hpp", + "external/sources/boost/boost/graph/connected_components.hpp", + "external/sources/boost/boost/graph/copy.hpp", + "external/sources/boost/boost/graph/core_numbers.hpp", + "external/sources/boost/boost/graph/create_condensation_graph.hpp", + "external/sources/boost/boost/graph/cuthill_mckee_ordering.hpp", + "external/sources/boost/boost/graph/cycle_canceling.hpp", + "external/sources/boost/boost/graph/dag_shortest_paths.hpp", + "external/sources/boost/boost/graph/degree_centrality.hpp", + "external/sources/boost/boost/graph/depth_first_search.hpp", + "external/sources/boost/boost/graph/detail/adj_list_edge_iterator.hpp", + "external/sources/boost/boost/graph/detail/adjacency_list.hpp", + "external/sources/boost/boost/graph/detail/array_binary_tree.hpp", + "external/sources/boost/boost/graph/detail/augment.hpp", + "external/sources/boost/boost/graph/detail/compressed_sparse_row_struct.hpp", + "external/sources/boost/boost/graph/detail/connected_components.hpp", + "external/sources/boost/boost/graph/detail/d_ary_heap.hpp", + "external/sources/boost/boost/graph/detail/edge.hpp", + "external/sources/boost/boost/graph/detail/empty_header.hpp", + "external/sources/boost/boost/graph/detail/geodesic.hpp", + "external/sources/boost/boost/graph/detail/histogram_sort.hpp", + "external/sources/boost/boost/graph/detail/incidence_iterator.hpp", + "external/sources/boost/boost/graph/detail/incremental_components.hpp", + "external/sources/boost/boost/graph/detail/index.hpp", + "external/sources/boost/boost/graph/detail/indexed_properties.hpp", + "external/sources/boost/boost/graph/detail/is_distributed_selector.hpp", + "external/sources/boost/boost/graph/detail/labeled_graph_traits.hpp", + "external/sources/boost/boost/graph/detail/list_base.hpp", + "external/sources/boost/boost/graph/detail/mpi_include.hpp", + "external/sources/boost/boost/graph/detail/permutation.hpp", + "external/sources/boost/boost/graph/detail/read_graphviz_new.hpp", + "external/sources/boost/boost/graph/detail/read_graphviz_spirit.hpp", + "external/sources/boost/boost/graph/detail/self_avoiding_walk.hpp", + "external/sources/boost/boost/graph/detail/set_adaptor.hpp", + "external/sources/boost/boost/graph/detail/shadow_iterator.hpp", + "external/sources/boost/boost/graph/detail/sparse_ordering.hpp", + "external/sources/boost/boost/graph/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/dijkstra_shortest_paths_no_color_map.hpp", + "external/sources/boost/boost/graph/dimacs.hpp", + "external/sources/boost/boost/graph/directed_graph.hpp", + "external/sources/boost/boost/graph/distributed/adjacency_list.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/handlers.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/initialize.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/redistribute.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/serialization.hpp", + "external/sources/boost/boost/graph/distributed/betweenness_centrality.hpp", + "external/sources/boost/boost/graph/distributed/boman_et_al_graph_coloring.hpp", + "external/sources/boost/boost/graph/distributed/breadth_first_search.hpp", + "external/sources/boost/boost/graph/distributed/compressed_sparse_row_graph.hpp", + "external/sources/boost/boost/graph/distributed/concepts.hpp", + "external/sources/boost/boost/graph/distributed/connected_components.hpp", + "external/sources/boost/boost/graph/distributed/connected_components_parallel_search.hpp", + "external/sources/boost/boost/graph/distributed/crauser_et_al_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp", + "external/sources/boost/boost/graph/distributed/delta_stepping_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/depth_first_search.hpp", + "external/sources/boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/detail/filtered_queue.hpp", + "external/sources/boost/boost/graph/distributed/detail/mpi_process_group.ipp", + "external/sources/boost/boost/graph/distributed/detail/queue.ipp", + "external/sources/boost/boost/graph/distributed/detail/remote_update_set.hpp", + "external/sources/boost/boost/graph/distributed/detail/tag_allocator.hpp", + "external/sources/boost/boost/graph/distributed/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/distributed_graph_utility.hpp", + "external/sources/boost/boost/graph/distributed/eager_dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/filtered_graph.hpp", + "external/sources/boost/boost/graph/distributed/fruchterman_reingold.hpp", + "external/sources/boost/boost/graph/distributed/graphviz.hpp", + "external/sources/boost/boost/graph/distributed/hohberg_biconnected_components.hpp", + "external/sources/boost/boost/graph/distributed/local_subgraph.hpp", + "external/sources/boost/boost/graph/distributed/mpi_process_group.hpp", + "external/sources/boost/boost/graph/distributed/named_graph.hpp", + "external/sources/boost/boost/graph/distributed/one_bit_color_map.hpp", + "external/sources/boost/boost/graph/distributed/page_rank.hpp", + "external/sources/boost/boost/graph/distributed/queue.hpp", + "external/sources/boost/boost/graph/distributed/reverse_graph.hpp", + "external/sources/boost/boost/graph/distributed/rmat_graph_generator.hpp", + "external/sources/boost/boost/graph/distributed/selector.hpp", + "external/sources/boost/boost/graph/distributed/shuffled_distribution.hpp", + "external/sources/boost/boost/graph/distributed/st_connected.hpp", + "external/sources/boost/boost/graph/distributed/strong_components.hpp", + "external/sources/boost/boost/graph/distributed/two_bit_color_map.hpp", + "external/sources/boost/boost/graph/distributed/unsafe_serialize.hpp", + "external/sources/boost/boost/graph/distributed/vertex_list_adaptor.hpp", + "external/sources/boost/boost/graph/dll_import_export.hpp", + "external/sources/boost/boost/graph/dominator_tree.hpp", + "external/sources/boost/boost/graph/eccentricity.hpp", + "external/sources/boost/boost/graph/edge_coloring.hpp", + "external/sources/boost/boost/graph/edge_connectivity.hpp", + "external/sources/boost/boost/graph/edge_list.hpp", + "external/sources/boost/boost/graph/edmonds_karp_max_flow.hpp", + "external/sources/boost/boost/graph/edmunds_karp_max_flow.hpp", + "external/sources/boost/boost/graph/erdos_renyi_generator.hpp", + "external/sources/boost/boost/graph/exception.hpp", + "external/sources/boost/boost/graph/exterior_property.hpp", + "external/sources/boost/boost/graph/filtered_graph.hpp", + "external/sources/boost/boost/graph/find_flow_cost.hpp", + "external/sources/boost/boost/graph/floyd_warshall_shortest.hpp", + "external/sources/boost/boost/graph/fruchterman_reingold.hpp", + "external/sources/boost/boost/graph/geodesic_distance.hpp", + "external/sources/boost/boost/graph/graph_archetypes.hpp", + "external/sources/boost/boost/graph/graph_as_tree.hpp", + "external/sources/boost/boost/graph/graph_concepts.hpp", + "external/sources/boost/boost/graph/graph_mutability_traits.hpp", + "external/sources/boost/boost/graph/graph_selectors.hpp", + "external/sources/boost/boost/graph/graph_stats.hpp", + "external/sources/boost/boost/graph/graph_traits.hpp", + "external/sources/boost/boost/graph/graph_utility.hpp", + "external/sources/boost/boost/graph/graphml.hpp", + "external/sources/boost/boost/graph/graphviz.hpp", + "external/sources/boost/boost/graph/grid_graph.hpp", + "external/sources/boost/boost/graph/gursoy_atun_layout.hpp", + "external/sources/boost/boost/graph/hawick_circuits.hpp", + "external/sources/boost/boost/graph/howard_cycle_ratio.hpp", + "external/sources/boost/boost/graph/incremental_components.hpp", + "external/sources/boost/boost/graph/is_kuratowski_subgraph.hpp", + "external/sources/boost/boost/graph/is_straight_line_drawing.hpp", + "external/sources/boost/boost/graph/isomorphism.hpp", + "external/sources/boost/boost/graph/iteration_macros.hpp", + "external/sources/boost/boost/graph/iteration_macros_undef.hpp", + "external/sources/boost/boost/graph/johnson_all_pairs_shortest.hpp", + "external/sources/boost/boost/graph/kamada_kawai_spring_layout.hpp", + "external/sources/boost/boost/graph/king_ordering.hpp", + "external/sources/boost/boost/graph/kruskal_min_spanning_tree.hpp", + "external/sources/boost/boost/graph/labeled_graph.hpp", + "external/sources/boost/boost/graph/leda_graph.hpp", + "external/sources/boost/boost/graph/lookup_edge.hpp", + "external/sources/boost/boost/graph/loop_erased_random_walk.hpp", + "external/sources/boost/boost/graph/make_biconnected_planar.hpp", + "external/sources/boost/boost/graph/make_connected.hpp", + "external/sources/boost/boost/graph/make_maximal_planar.hpp", + "external/sources/boost/boost/graph/matrix_as_graph.hpp", + "external/sources/boost/boost/graph/max_cardinality_matching.hpp", + "external/sources/boost/boost/graph/maximum_adjacency_search.hpp", + "external/sources/boost/boost/graph/maximum_weighted_matching.hpp", + "external/sources/boost/boost/graph/mcgregor_common_subgraphs.hpp", + "external/sources/boost/boost/graph/mesh_graph_generator.hpp", + "external/sources/boost/boost/graph/metis.hpp", + "external/sources/boost/boost/graph/metric_tsp_approx.hpp", + "external/sources/boost/boost/graph/minimum_degree_ordering.hpp", + "external/sources/boost/boost/graph/named_function_params.hpp", + "external/sources/boost/boost/graph/named_graph.hpp", + "external/sources/boost/boost/graph/neighbor_bfs.hpp", + "external/sources/boost/boost/graph/numeric_values.hpp", + "external/sources/boost/boost/graph/one_bit_color_map.hpp", + "external/sources/boost/boost/graph/overloading.hpp", + "external/sources/boost/boost/graph/page_rank.hpp", + "external/sources/boost/boost/graph/parallel/algorithm.hpp", + "external/sources/boost/boost/graph/parallel/basic_reduce.hpp", + "external/sources/boost/boost/graph/parallel/container_traits.hpp", + "external/sources/boost/boost/graph/parallel/detail/inplace_all_to_all.hpp", + "external/sources/boost/boost/graph/parallel/detail/property_holders.hpp", + "external/sources/boost/boost/graph/parallel/detail/untracked_pair.hpp", + "external/sources/boost/boost/graph/parallel/distribution.hpp", + "external/sources/boost/boost/graph/parallel/process_group.hpp", + "external/sources/boost/boost/graph/parallel/properties.hpp", + "external/sources/boost/boost/graph/parallel/simple_trigger.hpp", + "external/sources/boost/boost/graph/planar_canonical_ordering.hpp", + "external/sources/boost/boost/graph/planar_detail/add_edge_visitors.hpp", + "external/sources/boost/boost/graph/planar_detail/boyer_myrvold_impl.hpp", + "external/sources/boost/boost/graph/planar_detail/bucket_sort.hpp", + "external/sources/boost/boost/graph/planar_detail/face_handles.hpp", + "external/sources/boost/boost/graph/planar_detail/face_iterators.hpp", + "external/sources/boost/boost/graph/planar_face_traversal.hpp", + "external/sources/boost/boost/graph/plod_generator.hpp", + "external/sources/boost/boost/graph/point_traits.hpp", + "external/sources/boost/boost/graph/prim_minimum_spanning_tree.hpp", + "external/sources/boost/boost/graph/profile.hpp", + "external/sources/boost/boost/graph/properties.hpp", + "external/sources/boost/boost/graph/property_iter_range.hpp", + "external/sources/boost/boost/graph/property_maps/constant_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/container_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/matrix_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/null_property_map.hpp", + "external/sources/boost/boost/graph/push_relabel_max_flow.hpp", + "external/sources/boost/boost/graph/r_c_shortest_paths.hpp", + "external/sources/boost/boost/graph/random.hpp", + "external/sources/boost/boost/graph/random_layout.hpp", + "external/sources/boost/boost/graph/random_spanning_tree.hpp", + "external/sources/boost/boost/graph/read_dimacs.hpp", + "external/sources/boost/boost/graph/relax.hpp", + "external/sources/boost/boost/graph/reverse_graph.hpp", + "external/sources/boost/boost/graph/rmat_graph_generator.hpp", + "external/sources/boost/boost/graph/sequential_vertex_coloring.hpp", + "external/sources/boost/boost/graph/simple_point.hpp", + "external/sources/boost/boost/graph/sloan_ordering.hpp", + "external/sources/boost/boost/graph/small_world_generator.hpp", + "external/sources/boost/boost/graph/smallest_last_ordering.hpp", + "external/sources/boost/boost/graph/ssca_graph_generator.hpp", + "external/sources/boost/boost/graph/st_connected.hpp", + "external/sources/boost/boost/graph/stanford_graph.hpp", + "external/sources/boost/boost/graph/stoer_wagner_min_cut.hpp", + "external/sources/boost/boost/graph/strong_components.hpp", + "external/sources/boost/boost/graph/subgraph.hpp", + "external/sources/boost/boost/graph/successive_shortest_path_nonnegative_weights.hpp", + "external/sources/boost/boost/graph/tiernan_all_cycles.hpp", + "external/sources/boost/boost/graph/topological_sort.hpp", + "external/sources/boost/boost/graph/topology.hpp", + "external/sources/boost/boost/graph/transitive_closure.hpp", + "external/sources/boost/boost/graph/transitive_reduction.hpp", + "external/sources/boost/boost/graph/transpose_graph.hpp", + "external/sources/boost/boost/graph/tree_traits.hpp", + "external/sources/boost/boost/graph/two_bit_color_map.hpp", + "external/sources/boost/boost/graph/two_graphs_common_spanning_trees.hpp", + "external/sources/boost/boost/graph/undirected_dfs.hpp", + "external/sources/boost/boost/graph/undirected_graph.hpp", + "external/sources/boost/boost/graph/use_mpi.hpp", + "external/sources/boost/boost/graph/vector_as_graph.hpp", + "external/sources/boost/boost/graph/vertex_and_edge_range.hpp", + "external/sources/boost/boost/graph/vf2_sub_graph_iso.hpp", + "external/sources/boost/boost/graph/visitors.hpp", + "external/sources/boost/boost/graph/wavefront.hpp", + "external/sources/boost/boost/graph/write_dimacs.hpp", + "external/sources/boost/boost/hana.hpp", + "external/sources/boost/boost/hana/accessors.hpp", + "external/sources/boost/boost/hana/adapt_adt.hpp", + "external/sources/boost/boost/hana/adapt_struct.hpp", + "external/sources/boost/boost/hana/adjust.hpp", + "external/sources/boost/boost/hana/adjust_if.hpp", + "external/sources/boost/boost/hana/all.hpp", + "external/sources/boost/boost/hana/all_of.hpp", + "external/sources/boost/boost/hana/and.hpp", + "external/sources/boost/boost/hana/any.hpp", + "external/sources/boost/boost/hana/any_of.hpp", + "external/sources/boost/boost/hana/ap.hpp", + "external/sources/boost/boost/hana/append.hpp", + "external/sources/boost/boost/hana/assert.hpp", + "external/sources/boost/boost/hana/at.hpp", + "external/sources/boost/boost/hana/at_key.hpp", + "external/sources/boost/boost/hana/back.hpp", + "external/sources/boost/boost/hana/basic_tuple.hpp", + "external/sources/boost/boost/hana/bool.hpp", + "external/sources/boost/boost/hana/cartesian_product.hpp", + "external/sources/boost/boost/hana/chain.hpp", + "external/sources/boost/boost/hana/comparing.hpp", + "external/sources/boost/boost/hana/concat.hpp", + "external/sources/boost/boost/hana/concept.hpp", + "external/sources/boost/boost/hana/concept/applicative.hpp", + "external/sources/boost/boost/hana/concept/comonad.hpp", + "external/sources/boost/boost/hana/concept/comparable.hpp", + "external/sources/boost/boost/hana/concept/constant.hpp", + "external/sources/boost/boost/hana/concept/euclidean_ring.hpp", + "external/sources/boost/boost/hana/concept/foldable.hpp", + "external/sources/boost/boost/hana/concept/functor.hpp", + "external/sources/boost/boost/hana/concept/group.hpp", + "external/sources/boost/boost/hana/concept/hashable.hpp", + "external/sources/boost/boost/hana/concept/integral_constant.hpp", + "external/sources/boost/boost/hana/concept/iterable.hpp", + "external/sources/boost/boost/hana/concept/logical.hpp", + "external/sources/boost/boost/hana/concept/metafunction.hpp", + "external/sources/boost/boost/hana/concept/monad.hpp", + "external/sources/boost/boost/hana/concept/monad_plus.hpp", + "external/sources/boost/boost/hana/concept/monoid.hpp", + "external/sources/boost/boost/hana/concept/orderable.hpp", + "external/sources/boost/boost/hana/concept/product.hpp", + "external/sources/boost/boost/hana/concept/ring.hpp", + "external/sources/boost/boost/hana/concept/searchable.hpp", + "external/sources/boost/boost/hana/concept/sequence.hpp", + "external/sources/boost/boost/hana/concept/struct.hpp", + "external/sources/boost/boost/hana/config.hpp", + "external/sources/boost/boost/hana/contains.hpp", + "external/sources/boost/boost/hana/core.hpp", + "external/sources/boost/boost/hana/core/common.hpp", + "external/sources/boost/boost/hana/core/default.hpp", + "external/sources/boost/boost/hana/core/dispatch.hpp", + "external/sources/boost/boost/hana/core/is_a.hpp", + "external/sources/boost/boost/hana/core/make.hpp", + "external/sources/boost/boost/hana/core/tag_of.hpp", + "external/sources/boost/boost/hana/core/to.hpp", + "external/sources/boost/boost/hana/core/when.hpp", + "external/sources/boost/boost/hana/count.hpp", + "external/sources/boost/boost/hana/count_if.hpp", + "external/sources/boost/boost/hana/cycle.hpp", + "external/sources/boost/boost/hana/define_struct.hpp", + "external/sources/boost/boost/hana/detail/algorithm.hpp", + "external/sources/boost/boost/hana/detail/any_of.hpp", + "external/sources/boost/boost/hana/detail/array.hpp", + "external/sources/boost/boost/hana/detail/canonical_constant.hpp", + "external/sources/boost/boost/hana/detail/concepts.hpp", + "external/sources/boost/boost/hana/detail/create.hpp", + "external/sources/boost/boost/hana/detail/decay.hpp", + "external/sources/boost/boost/hana/detail/dispatch_if.hpp", + "external/sources/boost/boost/hana/detail/ebo.hpp", + "external/sources/boost/boost/hana/detail/fast_and.hpp", + "external/sources/boost/boost/hana/detail/first_unsatisfied_index.hpp", + "external/sources/boost/boost/hana/detail/has_common_embedding.hpp", + "external/sources/boost/boost/hana/detail/has_duplicates.hpp", + "external/sources/boost/boost/hana/detail/hash_table.hpp", + "external/sources/boost/boost/hana/detail/index_if.hpp", + "external/sources/boost/boost/hana/detail/integral_constant.hpp", + "external/sources/boost/boost/hana/detail/intrinsics.hpp", + "external/sources/boost/boost/hana/detail/nested_by.hpp", + "external/sources/boost/boost/hana/detail/nested_by_fwd.hpp", + "external/sources/boost/boost/hana/detail/nested_than.hpp", + "external/sources/boost/boost/hana/detail/nested_than_fwd.hpp", + "external/sources/boost/boost/hana/detail/nested_to.hpp", + "external/sources/boost/boost/hana/detail/nested_to_fwd.hpp", + "external/sources/boost/boost/hana/detail/operators/adl.hpp", + "external/sources/boost/boost/hana/detail/operators/arithmetic.hpp", + "external/sources/boost/boost/hana/detail/operators/comparable.hpp", + "external/sources/boost/boost/hana/detail/operators/iterable.hpp", + "external/sources/boost/boost/hana/detail/operators/logical.hpp", + "external/sources/boost/boost/hana/detail/operators/monad.hpp", + "external/sources/boost/boost/hana/detail/operators/orderable.hpp", + "external/sources/boost/boost/hana/detail/operators/searchable.hpp", + "external/sources/boost/boost/hana/detail/preprocessor.hpp", + "external/sources/boost/boost/hana/detail/std_common_type.hpp", + "external/sources/boost/boost/hana/detail/struct_macros.hpp", + "external/sources/boost/boost/hana/detail/struct_macros.hpp.erb", + "external/sources/boost/boost/hana/detail/type_at.hpp", + "external/sources/boost/boost/hana/detail/type_foldl1.hpp", + "external/sources/boost/boost/hana/detail/type_foldr1.hpp", + "external/sources/boost/boost/hana/detail/unpack_flatten.hpp", + "external/sources/boost/boost/hana/detail/variadic/at.hpp", + "external/sources/boost/boost/hana/detail/variadic/drop_into.hpp", + "external/sources/boost/boost/hana/detail/variadic/foldl1.hpp", + "external/sources/boost/boost/hana/detail/variadic/foldr1.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply/flat.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply/unrolled.hpp", + "external/sources/boost/boost/hana/detail/variadic/split_at.hpp", + "external/sources/boost/boost/hana/detail/variadic/take.hpp", + "external/sources/boost/boost/hana/detail/void_t.hpp", + "external/sources/boost/boost/hana/detail/wrong.hpp", + "external/sources/boost/boost/hana/difference.hpp", + "external/sources/boost/boost/hana/div.hpp", + "external/sources/boost/boost/hana/drop_back.hpp", + "external/sources/boost/boost/hana/drop_front.hpp", + "external/sources/boost/boost/hana/drop_front_exactly.hpp", + "external/sources/boost/boost/hana/drop_while.hpp", + "external/sources/boost/boost/hana/duplicate.hpp", + "external/sources/boost/boost/hana/empty.hpp", + "external/sources/boost/boost/hana/equal.hpp", + "external/sources/boost/boost/hana/erase_key.hpp", + "external/sources/boost/boost/hana/eval.hpp", + "external/sources/boost/boost/hana/eval_if.hpp", + "external/sources/boost/boost/hana/experimental/printable.hpp", + "external/sources/boost/boost/hana/experimental/type_name.hpp", + "external/sources/boost/boost/hana/experimental/types.hpp", + "external/sources/boost/boost/hana/experimental/view.hpp", + "external/sources/boost/boost/hana/ext/boost.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/deque.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/detail/common.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/list.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/tuple.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/vector.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/integral_c.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/list.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/vector.hpp", + "external/sources/boost/boost/hana/ext/boost/tuple.hpp", + "external/sources/boost/boost/hana/ext/std.hpp", + "external/sources/boost/boost/hana/ext/std/array.hpp", + "external/sources/boost/boost/hana/ext/std/integer_sequence.hpp", + "external/sources/boost/boost/hana/ext/std/integral_constant.hpp", + "external/sources/boost/boost/hana/ext/std/pair.hpp", + "external/sources/boost/boost/hana/ext/std/ratio.hpp", + "external/sources/boost/boost/hana/ext/std/tuple.hpp", + "external/sources/boost/boost/hana/ext/std/vector.hpp", + "external/sources/boost/boost/hana/extend.hpp", + "external/sources/boost/boost/hana/extract.hpp", + "external/sources/boost/boost/hana/fill.hpp", + "external/sources/boost/boost/hana/filter.hpp", + "external/sources/boost/boost/hana/find.hpp", + "external/sources/boost/boost/hana/find_if.hpp", + "external/sources/boost/boost/hana/first.hpp", + "external/sources/boost/boost/hana/flatten.hpp", + "external/sources/boost/boost/hana/fold.hpp", + "external/sources/boost/boost/hana/fold_left.hpp", + "external/sources/boost/boost/hana/fold_right.hpp", + "external/sources/boost/boost/hana/for_each.hpp", + "external/sources/boost/boost/hana/front.hpp", + "external/sources/boost/boost/hana/functional.hpp", + "external/sources/boost/boost/hana/functional/always.hpp", + "external/sources/boost/boost/hana/functional/apply.hpp", + "external/sources/boost/boost/hana/functional/arg.hpp", + "external/sources/boost/boost/hana/functional/capture.hpp", + "external/sources/boost/boost/hana/functional/compose.hpp", + "external/sources/boost/boost/hana/functional/curry.hpp", + "external/sources/boost/boost/hana/functional/demux.hpp", + "external/sources/boost/boost/hana/functional/fix.hpp", + "external/sources/boost/boost/hana/functional/flip.hpp", + "external/sources/boost/boost/hana/functional/id.hpp", + "external/sources/boost/boost/hana/functional/infix.hpp", + "external/sources/boost/boost/hana/functional/iterate.hpp", + "external/sources/boost/boost/hana/functional/lockstep.hpp", + "external/sources/boost/boost/hana/functional/on.hpp", + "external/sources/boost/boost/hana/functional/overload.hpp", + "external/sources/boost/boost/hana/functional/overload_linearly.hpp", + "external/sources/boost/boost/hana/functional/partial.hpp", + "external/sources/boost/boost/hana/functional/placeholder.hpp", + "external/sources/boost/boost/hana/functional/reverse_partial.hpp", + "external/sources/boost/boost/hana/fuse.hpp", + "external/sources/boost/boost/hana/fwd/accessors.hpp", + "external/sources/boost/boost/hana/fwd/adapt_adt.hpp", + "external/sources/boost/boost/hana/fwd/adapt_struct.hpp", + "external/sources/boost/boost/hana/fwd/adjust.hpp", + "external/sources/boost/boost/hana/fwd/adjust_if.hpp", + "external/sources/boost/boost/hana/fwd/all.hpp", + "external/sources/boost/boost/hana/fwd/all_of.hpp", + "external/sources/boost/boost/hana/fwd/and.hpp", + "external/sources/boost/boost/hana/fwd/any.hpp", + "external/sources/boost/boost/hana/fwd/any_of.hpp", + "external/sources/boost/boost/hana/fwd/ap.hpp", + "external/sources/boost/boost/hana/fwd/append.hpp", + "external/sources/boost/boost/hana/fwd/at.hpp", + "external/sources/boost/boost/hana/fwd/at_key.hpp", + "external/sources/boost/boost/hana/fwd/back.hpp", + "external/sources/boost/boost/hana/fwd/basic_tuple.hpp", + "external/sources/boost/boost/hana/fwd/bool.hpp", + "external/sources/boost/boost/hana/fwd/cartesian_product.hpp", + "external/sources/boost/boost/hana/fwd/chain.hpp", + "external/sources/boost/boost/hana/fwd/comparing.hpp", + "external/sources/boost/boost/hana/fwd/concat.hpp", + "external/sources/boost/boost/hana/fwd/concept/applicative.hpp", + "external/sources/boost/boost/hana/fwd/concept/comonad.hpp", + "external/sources/boost/boost/hana/fwd/concept/comparable.hpp", + "external/sources/boost/boost/hana/fwd/concept/constant.hpp", + "external/sources/boost/boost/hana/fwd/concept/euclidean_ring.hpp", + "external/sources/boost/boost/hana/fwd/concept/foldable.hpp", + "external/sources/boost/boost/hana/fwd/concept/functor.hpp", + "external/sources/boost/boost/hana/fwd/concept/group.hpp", + "external/sources/boost/boost/hana/fwd/concept/hashable.hpp", + "external/sources/boost/boost/hana/fwd/concept/integral_constant.hpp", + "external/sources/boost/boost/hana/fwd/concept/iterable.hpp", + "external/sources/boost/boost/hana/fwd/concept/logical.hpp", + "external/sources/boost/boost/hana/fwd/concept/metafunction.hpp", + "external/sources/boost/boost/hana/fwd/concept/monad.hpp", + "external/sources/boost/boost/hana/fwd/concept/monad_plus.hpp", + "external/sources/boost/boost/hana/fwd/concept/monoid.hpp", + "external/sources/boost/boost/hana/fwd/concept/orderable.hpp", + "external/sources/boost/boost/hana/fwd/concept/product.hpp", + "external/sources/boost/boost/hana/fwd/concept/ring.hpp", + "external/sources/boost/boost/hana/fwd/concept/searchable.hpp", + "external/sources/boost/boost/hana/fwd/concept/sequence.hpp", + "external/sources/boost/boost/hana/fwd/concept/struct.hpp", + "external/sources/boost/boost/hana/fwd/contains.hpp", + "external/sources/boost/boost/hana/fwd/core.hpp", + "external/sources/boost/boost/hana/fwd/core/common.hpp", + "external/sources/boost/boost/hana/fwd/core/default.hpp", + "external/sources/boost/boost/hana/fwd/core/is_a.hpp", + "external/sources/boost/boost/hana/fwd/core/make.hpp", + "external/sources/boost/boost/hana/fwd/core/tag_of.hpp", + "external/sources/boost/boost/hana/fwd/core/to.hpp", + "external/sources/boost/boost/hana/fwd/core/when.hpp", + "external/sources/boost/boost/hana/fwd/count.hpp", + "external/sources/boost/boost/hana/fwd/count_if.hpp", + "external/sources/boost/boost/hana/fwd/cycle.hpp", + "external/sources/boost/boost/hana/fwd/define_struct.hpp", + "external/sources/boost/boost/hana/fwd/difference.hpp", + "external/sources/boost/boost/hana/fwd/div.hpp", + "external/sources/boost/boost/hana/fwd/drop_back.hpp", + "external/sources/boost/boost/hana/fwd/drop_front.hpp", + "external/sources/boost/boost/hana/fwd/drop_front_exactly.hpp", + "external/sources/boost/boost/hana/fwd/drop_while.hpp", + "external/sources/boost/boost/hana/fwd/duplicate.hpp", + "external/sources/boost/boost/hana/fwd/empty.hpp", + "external/sources/boost/boost/hana/fwd/equal.hpp", + "external/sources/boost/boost/hana/fwd/erase_key.hpp", + "external/sources/boost/boost/hana/fwd/eval.hpp", + "external/sources/boost/boost/hana/fwd/eval_if.hpp", + "external/sources/boost/boost/hana/fwd/extend.hpp", + "external/sources/boost/boost/hana/fwd/extract.hpp", + "external/sources/boost/boost/hana/fwd/fill.hpp", + "external/sources/boost/boost/hana/fwd/filter.hpp", + "external/sources/boost/boost/hana/fwd/find.hpp", + "external/sources/boost/boost/hana/fwd/find_if.hpp", + "external/sources/boost/boost/hana/fwd/first.hpp", + "external/sources/boost/boost/hana/fwd/flatten.hpp", + "external/sources/boost/boost/hana/fwd/fold.hpp", + "external/sources/boost/boost/hana/fwd/fold_left.hpp", + "external/sources/boost/boost/hana/fwd/fold_right.hpp", + "external/sources/boost/boost/hana/fwd/for_each.hpp", + "external/sources/boost/boost/hana/fwd/front.hpp", + "external/sources/boost/boost/hana/fwd/fuse.hpp", + "external/sources/boost/boost/hana/fwd/greater.hpp", + "external/sources/boost/boost/hana/fwd/greater_equal.hpp", + "external/sources/boost/boost/hana/fwd/group.hpp", + "external/sources/boost/boost/hana/fwd/hash.hpp", + "external/sources/boost/boost/hana/fwd/if.hpp", + "external/sources/boost/boost/hana/fwd/index_if.hpp", + "external/sources/boost/boost/hana/fwd/insert.hpp", + "external/sources/boost/boost/hana/fwd/insert_range.hpp", + "external/sources/boost/boost/hana/fwd/integral_constant.hpp", + "external/sources/boost/boost/hana/fwd/intersection.hpp", + "external/sources/boost/boost/hana/fwd/intersperse.hpp", + "external/sources/boost/boost/hana/fwd/is_disjoint.hpp", + "external/sources/boost/boost/hana/fwd/is_empty.hpp", + "external/sources/boost/boost/hana/fwd/is_subset.hpp", + "external/sources/boost/boost/hana/fwd/keys.hpp", + "external/sources/boost/boost/hana/fwd/lazy.hpp", + "external/sources/boost/boost/hana/fwd/length.hpp", + "external/sources/boost/boost/hana/fwd/less.hpp", + "external/sources/boost/boost/hana/fwd/less_equal.hpp", + "external/sources/boost/boost/hana/fwd/lexicographical_compare.hpp", + "external/sources/boost/boost/hana/fwd/lift.hpp", + "external/sources/boost/boost/hana/fwd/map.hpp", + "external/sources/boost/boost/hana/fwd/max.hpp", + "external/sources/boost/boost/hana/fwd/maximum.hpp", + "external/sources/boost/boost/hana/fwd/members.hpp", + "external/sources/boost/boost/hana/fwd/min.hpp", + "external/sources/boost/boost/hana/fwd/minimum.hpp", + "external/sources/boost/boost/hana/fwd/minus.hpp", + "external/sources/boost/boost/hana/fwd/mod.hpp", + "external/sources/boost/boost/hana/fwd/monadic_compose.hpp", + "external/sources/boost/boost/hana/fwd/monadic_fold_left.hpp", + "external/sources/boost/boost/hana/fwd/monadic_fold_right.hpp", + "external/sources/boost/boost/hana/fwd/mult.hpp", + "external/sources/boost/boost/hana/fwd/negate.hpp", + "external/sources/boost/boost/hana/fwd/none.hpp", + "external/sources/boost/boost/hana/fwd/none_of.hpp", + "external/sources/boost/boost/hana/fwd/not.hpp", + "external/sources/boost/boost/hana/fwd/not_equal.hpp", + "external/sources/boost/boost/hana/fwd/one.hpp", + "external/sources/boost/boost/hana/fwd/optional.hpp", + "external/sources/boost/boost/hana/fwd/or.hpp", + "external/sources/boost/boost/hana/fwd/ordering.hpp", + "external/sources/boost/boost/hana/fwd/pair.hpp", + "external/sources/boost/boost/hana/fwd/partition.hpp", + "external/sources/boost/boost/hana/fwd/permutations.hpp", + "external/sources/boost/boost/hana/fwd/plus.hpp", + "external/sources/boost/boost/hana/fwd/power.hpp", + "external/sources/boost/boost/hana/fwd/prefix.hpp", + "external/sources/boost/boost/hana/fwd/prepend.hpp", + "external/sources/boost/boost/hana/fwd/product.hpp", + "external/sources/boost/boost/hana/fwd/range.hpp", + "external/sources/boost/boost/hana/fwd/remove.hpp", + "external/sources/boost/boost/hana/fwd/remove_at.hpp", + "external/sources/boost/boost/hana/fwd/remove_if.hpp", + "external/sources/boost/boost/hana/fwd/remove_range.hpp", + "external/sources/boost/boost/hana/fwd/repeat.hpp", + "external/sources/boost/boost/hana/fwd/replace.hpp", + "external/sources/boost/boost/hana/fwd/replace_if.hpp", + "external/sources/boost/boost/hana/fwd/replicate.hpp", + "external/sources/boost/boost/hana/fwd/reverse.hpp", + "external/sources/boost/boost/hana/fwd/reverse_fold.hpp", + "external/sources/boost/boost/hana/fwd/scan_left.hpp", + "external/sources/boost/boost/hana/fwd/scan_right.hpp", + "external/sources/boost/boost/hana/fwd/second.hpp", + "external/sources/boost/boost/hana/fwd/set.hpp", + "external/sources/boost/boost/hana/fwd/size.hpp", + "external/sources/boost/boost/hana/fwd/slice.hpp", + "external/sources/boost/boost/hana/fwd/sort.hpp", + "external/sources/boost/boost/hana/fwd/span.hpp", + "external/sources/boost/boost/hana/fwd/string.hpp", + "external/sources/boost/boost/hana/fwd/suffix.hpp", + "external/sources/boost/boost/hana/fwd/sum.hpp", + "external/sources/boost/boost/hana/fwd/symmetric_difference.hpp", + "external/sources/boost/boost/hana/fwd/take_back.hpp", + "external/sources/boost/boost/hana/fwd/take_front.hpp", + "external/sources/boost/boost/hana/fwd/take_while.hpp", + "external/sources/boost/boost/hana/fwd/tap.hpp", + "external/sources/boost/boost/hana/fwd/then.hpp", + "external/sources/boost/boost/hana/fwd/transform.hpp", + "external/sources/boost/boost/hana/fwd/tuple.hpp", + "external/sources/boost/boost/hana/fwd/type.hpp", + "external/sources/boost/boost/hana/fwd/unfold_left.hpp", + "external/sources/boost/boost/hana/fwd/unfold_right.hpp", + "external/sources/boost/boost/hana/fwd/union.hpp", + "external/sources/boost/boost/hana/fwd/unique.hpp", + "external/sources/boost/boost/hana/fwd/unpack.hpp", + "external/sources/boost/boost/hana/fwd/value.hpp", + "external/sources/boost/boost/hana/fwd/while.hpp", + "external/sources/boost/boost/hana/fwd/zero.hpp", + "external/sources/boost/boost/hana/fwd/zip.hpp", + "external/sources/boost/boost/hana/fwd/zip_shortest.hpp", + "external/sources/boost/boost/hana/fwd/zip_shortest_with.hpp", + "external/sources/boost/boost/hana/fwd/zip_with.hpp", + "external/sources/boost/boost/hana/greater.hpp", + "external/sources/boost/boost/hana/greater_equal.hpp", + "external/sources/boost/boost/hana/group.hpp", + "external/sources/boost/boost/hana/hash.hpp", + "external/sources/boost/boost/hana/if.hpp", + "external/sources/boost/boost/hana/index_if.hpp", + "external/sources/boost/boost/hana/insert.hpp", + "external/sources/boost/boost/hana/insert_range.hpp", + "external/sources/boost/boost/hana/integral_constant.hpp", + "external/sources/boost/boost/hana/intersection.hpp", + "external/sources/boost/boost/hana/intersperse.hpp", + "external/sources/boost/boost/hana/is_disjoint.hpp", + "external/sources/boost/boost/hana/is_empty.hpp", + "external/sources/boost/boost/hana/is_subset.hpp", + "external/sources/boost/boost/hana/keys.hpp", + "external/sources/boost/boost/hana/lazy.hpp", + "external/sources/boost/boost/hana/length.hpp", + "external/sources/boost/boost/hana/less.hpp", + "external/sources/boost/boost/hana/less_equal.hpp", + "external/sources/boost/boost/hana/lexicographical_compare.hpp", + "external/sources/boost/boost/hana/lift.hpp", + "external/sources/boost/boost/hana/map.hpp", + "external/sources/boost/boost/hana/max.hpp", + "external/sources/boost/boost/hana/maximum.hpp", + "external/sources/boost/boost/hana/members.hpp", + "external/sources/boost/boost/hana/min.hpp", + "external/sources/boost/boost/hana/minimum.hpp", + "external/sources/boost/boost/hana/minus.hpp", + "external/sources/boost/boost/hana/mod.hpp", + "external/sources/boost/boost/hana/monadic_compose.hpp", + "external/sources/boost/boost/hana/monadic_fold_left.hpp", + "external/sources/boost/boost/hana/monadic_fold_right.hpp", + "external/sources/boost/boost/hana/mult.hpp", + "external/sources/boost/boost/hana/negate.hpp", + "external/sources/boost/boost/hana/none.hpp", + "external/sources/boost/boost/hana/none_of.hpp", + "external/sources/boost/boost/hana/not.hpp", + "external/sources/boost/boost/hana/not_equal.hpp", + "external/sources/boost/boost/hana/one.hpp", + "external/sources/boost/boost/hana/optional.hpp", + "external/sources/boost/boost/hana/or.hpp", + "external/sources/boost/boost/hana/ordering.hpp", + "external/sources/boost/boost/hana/pair.hpp", + "external/sources/boost/boost/hana/partition.hpp", + "external/sources/boost/boost/hana/permutations.hpp", + "external/sources/boost/boost/hana/plus.hpp", + "external/sources/boost/boost/hana/power.hpp", + "external/sources/boost/boost/hana/prefix.hpp", + "external/sources/boost/boost/hana/prepend.hpp", + "external/sources/boost/boost/hana/product.hpp", + "external/sources/boost/boost/hana/range.hpp", + "external/sources/boost/boost/hana/remove.hpp", + "external/sources/boost/boost/hana/remove_at.hpp", + "external/sources/boost/boost/hana/remove_if.hpp", + "external/sources/boost/boost/hana/remove_range.hpp", + "external/sources/boost/boost/hana/repeat.hpp", + "external/sources/boost/boost/hana/replace.hpp", + "external/sources/boost/boost/hana/replace_if.hpp", + "external/sources/boost/boost/hana/replicate.hpp", + "external/sources/boost/boost/hana/reverse.hpp", + "external/sources/boost/boost/hana/reverse_fold.hpp", + "external/sources/boost/boost/hana/scan_left.hpp", + "external/sources/boost/boost/hana/scan_right.hpp", + "external/sources/boost/boost/hana/second.hpp", + "external/sources/boost/boost/hana/set.hpp", + "external/sources/boost/boost/hana/size.hpp", + "external/sources/boost/boost/hana/slice.hpp", + "external/sources/boost/boost/hana/sort.hpp", + "external/sources/boost/boost/hana/span.hpp", + "external/sources/boost/boost/hana/string.hpp", + "external/sources/boost/boost/hana/suffix.hpp", + "external/sources/boost/boost/hana/sum.hpp", + "external/sources/boost/boost/hana/symmetric_difference.hpp", + "external/sources/boost/boost/hana/take_back.hpp", + "external/sources/boost/boost/hana/take_front.hpp", + "external/sources/boost/boost/hana/take_while.hpp", + "external/sources/boost/boost/hana/tap.hpp", + "external/sources/boost/boost/hana/then.hpp", + "external/sources/boost/boost/hana/traits.hpp", + "external/sources/boost/boost/hana/transform.hpp", + "external/sources/boost/boost/hana/tuple.hpp", + "external/sources/boost/boost/hana/type.hpp", + "external/sources/boost/boost/hana/unfold_left.hpp", + "external/sources/boost/boost/hana/unfold_right.hpp", + "external/sources/boost/boost/hana/union.hpp", + "external/sources/boost/boost/hana/unique.hpp", + "external/sources/boost/boost/hana/unpack.hpp", + "external/sources/boost/boost/hana/value.hpp", + "external/sources/boost/boost/hana/version.hpp", + "external/sources/boost/boost/hana/while.hpp", + "external/sources/boost/boost/hana/zero.hpp", + "external/sources/boost/boost/hana/zip.hpp", + "external/sources/boost/boost/hana/zip_shortest.hpp", + "external/sources/boost/boost/hana/zip_shortest_with.hpp", + "external/sources/boost/boost/hana/zip_with.hpp", + "external/sources/boost/boost/heap/binomial_heap.hpp", + "external/sources/boost/boost/heap/d_ary_heap.hpp", + "external/sources/boost/boost/heap/detail/heap_comparison.hpp", + "external/sources/boost/boost/heap/detail/heap_node.hpp", + "external/sources/boost/boost/heap/detail/ilog2.hpp", + "external/sources/boost/boost/heap/detail/mutable_heap.hpp", + "external/sources/boost/boost/heap/detail/ordered_adaptor_iterator.hpp", + "external/sources/boost/boost/heap/detail/stable_heap.hpp", + "external/sources/boost/boost/heap/detail/tree_iterator.hpp", + "external/sources/boost/boost/heap/fibonacci_heap.hpp", + "external/sources/boost/boost/heap/heap_concepts.hpp", + "external/sources/boost/boost/heap/heap_merge.hpp", + "external/sources/boost/boost/heap/pairing_heap.hpp", + "external/sources/boost/boost/heap/policies.hpp", + "external/sources/boost/boost/heap/priority_queue.hpp", + "external/sources/boost/boost/heap/skew_heap.hpp", + "external/sources/boost/boost/histogram.hpp", + "external/sources/boost/boost/histogram/accumulators.hpp", + "external/sources/boost/boost/histogram/accumulators/count.hpp", + "external/sources/boost/boost/histogram/accumulators/mean.hpp", + "external/sources/boost/boost/histogram/accumulators/ostream.hpp", + "external/sources/boost/boost/histogram/accumulators/sum.hpp", + "external/sources/boost/boost/histogram/accumulators/thread_safe.hpp", + "external/sources/boost/boost/histogram/accumulators/weighted_mean.hpp", + "external/sources/boost/boost/histogram/accumulators/weighted_sum.hpp", + "external/sources/boost/boost/histogram/algorithm.hpp", + "external/sources/boost/boost/histogram/algorithm/empty.hpp", + "external/sources/boost/boost/histogram/algorithm/project.hpp", + "external/sources/boost/boost/histogram/algorithm/reduce.hpp", + "external/sources/boost/boost/histogram/algorithm/sum.hpp", + "external/sources/boost/boost/histogram/axis.hpp", + "external/sources/boost/boost/histogram/axis/boolean.hpp", + "external/sources/boost/boost/histogram/axis/category.hpp", + "external/sources/boost/boost/histogram/axis/integer.hpp", + "external/sources/boost/boost/histogram/axis/interval_view.hpp", + "external/sources/boost/boost/histogram/axis/iterator.hpp", + "external/sources/boost/boost/histogram/axis/metadata_base.hpp", + "external/sources/boost/boost/histogram/axis/option.hpp", + "external/sources/boost/boost/histogram/axis/ostream.hpp", + "external/sources/boost/boost/histogram/axis/polymorphic_bin.hpp", + "external/sources/boost/boost/histogram/axis/regular.hpp", + "external/sources/boost/boost/histogram/axis/traits.hpp", + "external/sources/boost/boost/histogram/axis/variable.hpp", + "external/sources/boost/boost/histogram/axis/variant.hpp", + "external/sources/boost/boost/histogram/detail/accumulator_traits.hpp", + "external/sources/boost/boost/histogram/detail/args_type.hpp", + "external/sources/boost/boost/histogram/detail/argument_traits.hpp", + "external/sources/boost/boost/histogram/detail/array_wrapper.hpp", + "external/sources/boost/boost/histogram/detail/axes.hpp", + "external/sources/boost/boost/histogram/detail/common_type.hpp", + "external/sources/boost/boost/histogram/detail/convert_integer.hpp", + "external/sources/boost/boost/histogram/detail/counting_streambuf.hpp", + "external/sources/boost/boost/histogram/detail/detect.hpp", + "external/sources/boost/boost/histogram/detail/fill.hpp", + "external/sources/boost/boost/histogram/detail/fill_n.hpp", + "external/sources/boost/boost/histogram/detail/index_translator.hpp", + "external/sources/boost/boost/histogram/detail/iterator_adaptor.hpp", + "external/sources/boost/boost/histogram/detail/large_int.hpp", + "external/sources/boost/boost/histogram/detail/limits.hpp", + "external/sources/boost/boost/histogram/detail/linearize.hpp", + "external/sources/boost/boost/histogram/detail/make_default.hpp", + "external/sources/boost/boost/histogram/detail/mutex_base.hpp", + "external/sources/boost/boost/histogram/detail/nonmember_container_access.hpp", + "external/sources/boost/boost/histogram/detail/operators.hpp", + "external/sources/boost/boost/histogram/detail/optional_index.hpp", + "external/sources/boost/boost/histogram/detail/priority.hpp", + "external/sources/boost/boost/histogram/detail/reduce_command.hpp", + "external/sources/boost/boost/histogram/detail/relaxed_equal.hpp", + "external/sources/boost/boost/histogram/detail/relaxed_tuple_size.hpp", + "external/sources/boost/boost/histogram/detail/replace_type.hpp", + "external/sources/boost/boost/histogram/detail/safe_comparison.hpp", + "external/sources/boost/boost/histogram/detail/span.hpp", + "external/sources/boost/boost/histogram/detail/static_if.hpp", + "external/sources/boost/boost/histogram/detail/sub_array.hpp", + "external/sources/boost/boost/histogram/detail/try_cast.hpp", + "external/sources/boost/boost/histogram/detail/tuple_slice.hpp", + "external/sources/boost/boost/histogram/detail/type_name.hpp", + "external/sources/boost/boost/histogram/detail/variant_proxy.hpp", + "external/sources/boost/boost/histogram/fwd.hpp", + "external/sources/boost/boost/histogram/histogram.hpp", + "external/sources/boost/boost/histogram/indexed.hpp", + "external/sources/boost/boost/histogram/literals.hpp", + "external/sources/boost/boost/histogram/make_histogram.hpp", + "external/sources/boost/boost/histogram/make_profile.hpp", + "external/sources/boost/boost/histogram/multi_index.hpp", + "external/sources/boost/boost/histogram/ostream.hpp", + "external/sources/boost/boost/histogram/sample.hpp", + "external/sources/boost/boost/histogram/serialization.hpp", + "external/sources/boost/boost/histogram/storage_adaptor.hpp", + "external/sources/boost/boost/histogram/unlimited_storage.hpp", + "external/sources/boost/boost/histogram/unsafe_access.hpp", + "external/sources/boost/boost/histogram/weight.hpp", + "external/sources/boost/boost/hof.hpp", + "external/sources/boost/boost/hof/alias.hpp", + "external/sources/boost/boost/hof/always.hpp", + "external/sources/boost/boost/hof/apply.hpp", + "external/sources/boost/boost/hof/apply_eval.hpp", + "external/sources/boost/boost/hof/arg.hpp", + "external/sources/boost/boost/hof/capture.hpp", + "external/sources/boost/boost/hof/combine.hpp", + "external/sources/boost/boost/hof/compose.hpp", + "external/sources/boost/boost/hof/config.hpp", + "external/sources/boost/boost/hof/construct.hpp", + "external/sources/boost/boost/hof/decay.hpp", + "external/sources/boost/boost/hof/decorate.hpp", + "external/sources/boost/boost/hof/detail/and.hpp", + "external/sources/boost/boost/hof/detail/callable_base.hpp", + "external/sources/boost/boost/hof/detail/can_be_called.hpp", + "external/sources/boost/boost/hof/detail/compressed_pair.hpp", + "external/sources/boost/boost/hof/detail/constexpr_deduce.hpp", + "external/sources/boost/boost/hof/detail/delegate.hpp", + "external/sources/boost/boost/hof/detail/forward.hpp", + "external/sources/boost/boost/hof/detail/holder.hpp", + "external/sources/boost/boost/hof/detail/intrinsics.hpp", + "external/sources/boost/boost/hof/detail/join.hpp", + "external/sources/boost/boost/hof/detail/make.hpp", + "external/sources/boost/boost/hof/detail/move.hpp", + "external/sources/boost/boost/hof/detail/noexcept.hpp", + "external/sources/boost/boost/hof/detail/pp.hpp", + "external/sources/boost/boost/hof/detail/recursive_constexpr_depth.hpp", + "external/sources/boost/boost/hof/detail/remove_rvalue_reference.hpp", + "external/sources/boost/boost/hof/detail/result_of.hpp", + "external/sources/boost/boost/hof/detail/result_type.hpp", + "external/sources/boost/boost/hof/detail/seq.hpp", + "external/sources/boost/boost/hof/detail/static_const_var.hpp", + "external/sources/boost/boost/hof/detail/unpack_tuple.hpp", + "external/sources/boost/boost/hof/detail/unwrap.hpp", + "external/sources/boost/boost/hof/detail/using.hpp", + "external/sources/boost/boost/hof/eval.hpp", + "external/sources/boost/boost/hof/first_of.hpp", + "external/sources/boost/boost/hof/fix.hpp", + "external/sources/boost/boost/hof/flip.hpp", + "external/sources/boost/boost/hof/flow.hpp", + "external/sources/boost/boost/hof/fold.hpp", + "external/sources/boost/boost/hof/function.hpp", + "external/sources/boost/boost/hof/function_param_limit.hpp", + "external/sources/boost/boost/hof/identity.hpp", + "external/sources/boost/boost/hof/if.hpp", + "external/sources/boost/boost/hof/implicit.hpp", + "external/sources/boost/boost/hof/indirect.hpp", + "external/sources/boost/boost/hof/infix.hpp", + "external/sources/boost/boost/hof/is_invocable.hpp", + "external/sources/boost/boost/hof/is_unpackable.hpp", + "external/sources/boost/boost/hof/lambda.hpp", + "external/sources/boost/boost/hof/lazy.hpp", + "external/sources/boost/boost/hof/lift.hpp", + "external/sources/boost/boost/hof/limit.hpp", + "external/sources/boost/boost/hof/match.hpp", + "external/sources/boost/boost/hof/mutable.hpp", + "external/sources/boost/boost/hof/pack.hpp", + "external/sources/boost/boost/hof/partial.hpp", + "external/sources/boost/boost/hof/pipable.hpp", + "external/sources/boost/boost/hof/placeholders.hpp", + "external/sources/boost/boost/hof/proj.hpp", + "external/sources/boost/boost/hof/protect.hpp", + "external/sources/boost/boost/hof/repeat.hpp", + "external/sources/boost/boost/hof/repeat_while.hpp", + "external/sources/boost/boost/hof/result.hpp", + "external/sources/boost/boost/hof/returns.hpp", + "external/sources/boost/boost/hof/reveal.hpp", + "external/sources/boost/boost/hof/reverse_fold.hpp", + "external/sources/boost/boost/hof/rotate.hpp", + "external/sources/boost/boost/hof/static.hpp", + "external/sources/boost/boost/hof/tap.hpp", + "external/sources/boost/boost/hof/unpack.hpp", + "external/sources/boost/boost/hof/unpack_sequence.hpp", + "external/sources/boost/boost/hof/version.hpp", + "external/sources/boost/boost/icl/associative_element_container.hpp", + "external/sources/boost/boost/icl/associative_interval_container.hpp", + "external/sources/boost/boost/icl/closed_interval.hpp", + "external/sources/boost/boost/icl/concept/comparable.hpp", + "external/sources/boost/boost/icl/concept/container.hpp", + "external/sources/boost/boost/icl/concept/element_associator.hpp", + "external/sources/boost/boost/icl/concept/element_map.hpp", + "external/sources/boost/boost/icl/concept/element_set.hpp", + "external/sources/boost/boost/icl/concept/element_set_value.hpp", + "external/sources/boost/boost/icl/concept/interval.hpp", + "external/sources/boost/boost/icl/concept/interval_associator.hpp", + "external/sources/boost/boost/icl/concept/interval_associator_base.hpp", + "external/sources/boost/boost/icl/concept/interval_bounds.hpp", + "external/sources/boost/boost/icl/concept/interval_map.hpp", + "external/sources/boost/boost/icl/concept/interval_set.hpp", + "external/sources/boost/boost/icl/concept/interval_set_value.hpp", + "external/sources/boost/boost/icl/concept/joinable.hpp", + "external/sources/boost/boost/icl/concept/map_value.hpp", + "external/sources/boost/boost/icl/concept/set_value.hpp", + "external/sources/boost/boost/icl/continuous_interval.hpp", + "external/sources/boost/boost/icl/detail/associated_value.hpp", + "external/sources/boost/boost/icl/detail/boost_config.hpp", + "external/sources/boost/boost/icl/detail/concept_check.hpp", + "external/sources/boost/boost/icl/detail/design_config.hpp", + "external/sources/boost/boost/icl/detail/element_comparer.hpp", + "external/sources/boost/boost/icl/detail/element_iterator.hpp", + "external/sources/boost/boost/icl/detail/exclusive_less_than.hpp", + "external/sources/boost/boost/icl/detail/interval_map_algo.hpp", + "external/sources/boost/boost/icl/detail/interval_morphism.hpp", + "external/sources/boost/boost/icl/detail/interval_set_algo.hpp", + "external/sources/boost/boost/icl/detail/interval_subset_comparer.hpp", + "external/sources/boost/boost/icl/detail/map_algo.hpp", + "external/sources/boost/boost/icl/detail/mapped_reference.hpp", + "external/sources/boost/boost/icl/detail/notate.hpp", + "external/sources/boost/boost/icl/detail/on_absorbtion.hpp", + "external/sources/boost/boost/icl/detail/relation_state.hpp", + "external/sources/boost/boost/icl/detail/set_algo.hpp", + "external/sources/boost/boost/icl/detail/std_set.hpp", + "external/sources/boost/boost/icl/detail/subset_comparer.hpp", + "external/sources/boost/boost/icl/discrete_interval.hpp", + "external/sources/boost/boost/icl/dynamic_interval_traits.hpp", + "external/sources/boost/boost/icl/functors.hpp", + "external/sources/boost/boost/icl/gregorian.hpp", + "external/sources/boost/boost/icl/impl_config.hpp", + "external/sources/boost/boost/icl/interval.hpp", + "external/sources/boost/boost/icl/interval_base_map.hpp", + "external/sources/boost/boost/icl/interval_base_set.hpp", + "external/sources/boost/boost/icl/interval_bounds.hpp", + "external/sources/boost/boost/icl/interval_combining_style.hpp", + "external/sources/boost/boost/icl/interval_map.hpp", + "external/sources/boost/boost/icl/interval_set.hpp", + "external/sources/boost/boost/icl/interval_traits.hpp", + "external/sources/boost/boost/icl/iterator.hpp", + "external/sources/boost/boost/icl/left_open_interval.hpp", + "external/sources/boost/boost/icl/map.hpp", + "external/sources/boost/boost/icl/open_interval.hpp", + "external/sources/boost/boost/icl/predicates/distinct_equal.hpp", + "external/sources/boost/boost/icl/predicates/element_equal.hpp", + "external/sources/boost/boost/icl/predicates/std_equal.hpp", + "external/sources/boost/boost/icl/predicates/sub_super_set.hpp", + "external/sources/boost/boost/icl/ptime.hpp", + "external/sources/boost/boost/icl/rational.hpp", + "external/sources/boost/boost/icl/right_open_interval.hpp", + "external/sources/boost/boost/icl/separate_interval_set.hpp", + "external/sources/boost/boost/icl/set.hpp", + "external/sources/boost/boost/icl/split_interval_map.hpp", + "external/sources/boost/boost/icl/split_interval_set.hpp", + "external/sources/boost/boost/icl/type_traits/absorbs_identities.hpp", + "external/sources/boost/boost/icl/type_traits/adds_inversely.hpp", + "external/sources/boost/boost/icl/type_traits/codomain_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/difference.hpp", + "external/sources/boost/boost/icl/type_traits/difference_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/domain_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/element_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/has_inverse.hpp", + "external/sources/boost/boost/icl/type_traits/has_set_semantics.hpp", + "external/sources/boost/boost/icl/type_traits/identity_element.hpp", + "external/sources/boost/boost/icl/type_traits/infinity.hpp", + "external/sources/boost/boost/icl/type_traits/interval_type_default.hpp", + "external/sources/boost/boost/icl/type_traits/interval_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/is_associative_element_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_asymmetric_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_combinable.hpp", + "external/sources/boost/boost/icl/type_traits/is_concept_equivalent.hpp", + "external/sources/boost/boost/icl/type_traits/is_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_continuous.hpp", + "external/sources/boost/boost/icl/type_traits/is_continuous_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_discrete.hpp", + "external/sources/boost/boost/icl/type_traits/is_discrete_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_element_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_icl_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_increasing.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_joiner.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_separator.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_splitter.hpp", + "external/sources/boost/boost/icl/type_traits/is_key_container_of.hpp", + "external/sources/boost/boost/icl/type_traits/is_map.hpp", + "external/sources/boost/boost/icl/type_traits/is_numeric.hpp", + "external/sources/boost/boost/icl/type_traits/is_set.hpp", + "external/sources/boost/boost/icl/type_traits/is_total.hpp", + "external/sources/boost/boost/icl/type_traits/no_type.hpp", + "external/sources/boost/boost/icl/type_traits/predicate.hpp", + "external/sources/boost/boost/icl/type_traits/rep_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/segment_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/size.hpp", + "external/sources/boost/boost/icl/type_traits/size_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/succ_pred.hpp", + "external/sources/boost/boost/icl/type_traits/to_string.hpp", + "external/sources/boost/boost/icl/type_traits/type_to_string.hpp", + "external/sources/boost/boost/icl/type_traits/unit_element.hpp", + "external/sources/boost/boost/icl/type_traits/value_size.hpp", + "external/sources/boost/boost/implicit_cast.hpp", + "external/sources/boost/boost/indirect_reference.hpp", + "external/sources/boost/boost/integer.hpp", + "external/sources/boost/boost/integer/common_factor.hpp", + "external/sources/boost/boost/integer/common_factor_ct.hpp", + "external/sources/boost/boost/integer/common_factor_rt.hpp", + "external/sources/boost/boost/integer/extended_euclidean.hpp", + "external/sources/boost/boost/integer/integer_log2.hpp", + "external/sources/boost/boost/integer/integer_mask.hpp", + "external/sources/boost/boost/integer/mod_inverse.hpp", + "external/sources/boost/boost/integer/static_log2.hpp", + "external/sources/boost/boost/integer/static_min_max.hpp", + "external/sources/boost/boost/integer_fwd.hpp", + "external/sources/boost/boost/integer_traits.hpp", + "external/sources/boost/boost/interprocess/allocators/adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/cached_adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/cached_node_allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/adaptive_node_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/allocator_common.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/node_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/node_tools.hpp", + "external/sources/boost/boost/interprocess/allocators/node_allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/private_adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/private_node_allocator.hpp", + "external/sources/boost/boost/interprocess/anonymous_shared_memory.hpp", + "external/sources/boost/boost/interprocess/containers/allocation_type.hpp", + "external/sources/boost/boost/interprocess/containers/containers_fwd.hpp", + "external/sources/boost/boost/interprocess/containers/deque.hpp", + "external/sources/boost/boost/interprocess/containers/flat_map.hpp", + "external/sources/boost/boost/interprocess/containers/flat_set.hpp", + "external/sources/boost/boost/interprocess/containers/list.hpp", + "external/sources/boost/boost/interprocess/containers/map.hpp", + "external/sources/boost/boost/interprocess/containers/pair.hpp", + "external/sources/boost/boost/interprocess/containers/set.hpp", + "external/sources/boost/boost/interprocess/containers/slist.hpp", + "external/sources/boost/boost/interprocess/containers/stable_vector.hpp", + "external/sources/boost/boost/interprocess/containers/string.hpp", + "external/sources/boost/boost/interprocess/containers/vector.hpp", + "external/sources/boost/boost/interprocess/containers/version_type.hpp", + "external/sources/boost/boost/interprocess/creation_tags.hpp", + "external/sources/boost/boost/interprocess/detail/atomic.hpp", + "external/sources/boost/boost/interprocess/detail/cast_tags.hpp", + "external/sources/boost/boost/interprocess/detail/config_begin.hpp", + "external/sources/boost/boost/interprocess/detail/config_end.hpp", + "external/sources/boost/boost/interprocess/detail/config_external_begin.hpp", + "external/sources/boost/boost/interprocess/detail/config_external_end.hpp", + "external/sources/boost/boost/interprocess/detail/file_locking_helpers.hpp", + "external/sources/boost/boost/interprocess/detail/file_wrapper.hpp", + "external/sources/boost/boost/interprocess/detail/in_place_interface.hpp", + "external/sources/boost/boost/interprocess/detail/intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/intermodule_singleton_common.hpp", + "external/sources/boost/boost/interprocess/detail/interprocess_tester.hpp", + "external/sources/boost/boost/interprocess/detail/intersegment_ptr.hpp", + "external/sources/boost/boost/interprocess/detail/managed_global_memory.hpp", + "external/sources/boost/boost/interprocess/detail/managed_memory_impl.hpp", + "external/sources/boost/boost/interprocess/detail/managed_multi_shared_memory.hpp", + "external/sources/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp", + "external/sources/boost/boost/interprocess/detail/math_functions.hpp", + "external/sources/boost/boost/interprocess/detail/min_max.hpp", + "external/sources/boost/boost/interprocess/detail/move.hpp", + "external/sources/boost/boost/interprocess/detail/mpl.hpp", + "external/sources/boost/boost/interprocess/detail/named_proxy.hpp", + "external/sources/boost/boost/interprocess/detail/nothrow.hpp", + "external/sources/boost/boost/interprocess/detail/os_file_functions.hpp", + "external/sources/boost/boost/interprocess/detail/os_thread_functions.hpp", + "external/sources/boost/boost/interprocess/detail/pointer_type.hpp", + "external/sources/boost/boost/interprocess/detail/portable_intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/posix_time_types_wrk.hpp", + "external/sources/boost/boost/interprocess/detail/ptime_wrk.hpp", + "external/sources/boost/boost/interprocess/detail/robust_emulation.hpp", + "external/sources/boost/boost/interprocess/detail/segment_manager_helper.hpp", + "external/sources/boost/boost/interprocess/detail/shared_dir_helpers.hpp", + "external/sources/boost/boost/interprocess/detail/simple_swap.hpp", + "external/sources/boost/boost/interprocess/detail/std_fwd.hpp", + "external/sources/boost/boost/interprocess/detail/transform_iterator.hpp", + "external/sources/boost/boost/interprocess/detail/type_traits.hpp", + "external/sources/boost/boost/interprocess/detail/utilities.hpp", + "external/sources/boost/boost/interprocess/detail/variadic_templates_tools.hpp", + "external/sources/boost/boost/interprocess/detail/win32_api.hpp", + "external/sources/boost/boost/interprocess/detail/windows_intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/workaround.hpp", + "external/sources/boost/boost/interprocess/detail/xsi_shared_memory_file_wrapper.hpp", + "external/sources/boost/boost/interprocess/errors.hpp", + "external/sources/boost/boost/interprocess/exceptions.hpp", + "external/sources/boost/boost/interprocess/file_mapping.hpp", + "external/sources/boost/boost/interprocess/indexes/flat_map_index.hpp", + "external/sources/boost/boost/interprocess/indexes/iset_index.hpp", + "external/sources/boost/boost/interprocess/indexes/iunordered_set_index.hpp", + "external/sources/boost/boost/interprocess/indexes/map_index.hpp", + "external/sources/boost/boost/interprocess/indexes/null_index.hpp", + "external/sources/boost/boost/interprocess/indexes/unordered_map_index.hpp", + "external/sources/boost/boost/interprocess/interprocess_fwd.hpp", + "external/sources/boost/boost/interprocess/ipc/message_queue.hpp", + "external/sources/boost/boost/interprocess/managed_external_buffer.hpp", + "external/sources/boost/boost/interprocess/managed_heap_memory.hpp", + "external/sources/boost/boost/interprocess/managed_mapped_file.hpp", + "external/sources/boost/boost/interprocess/managed_shared_memory.hpp", + "external/sources/boost/boost/interprocess/managed_windows_shared_memory.hpp", + "external/sources/boost/boost/interprocess/managed_xsi_shared_memory.hpp", + "external/sources/boost/boost/interprocess/mapped_region.hpp", + "external/sources/boost/boost/interprocess/mem_algo/detail/mem_algo_common.hpp", + "external/sources/boost/boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp", + "external/sources/boost/boost/interprocess/mem_algo/rbtree_best_fit.hpp", + "external/sources/boost/boost/interprocess/mem_algo/simple_seq_fit.hpp", + "external/sources/boost/boost/interprocess/offset_ptr.hpp", + "external/sources/boost/boost/interprocess/permissions.hpp", + "external/sources/boost/boost/interprocess/segment_manager.hpp", + "external/sources/boost/boost/interprocess/shared_memory_object.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/deleter.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/bad_weak_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/shared_count.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/enable_shared_from_this.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/intrusive_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/scoped_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/shared_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/unique_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/weak_ptr.hpp", + "external/sources/boost/boost/interprocess/streams/bufferstream.hpp", + "external/sources/boost/boost/interprocess/streams/vectorstream.hpp", + "external/sources/boost/boost/interprocess/sync/detail/common_algorithms.hpp", + "external/sources/boost/boost/interprocess/sync/detail/condition_algorithm_8a.hpp", + "external/sources/boost/boost/interprocess/sync/detail/condition_any_algorithm.hpp", + "external/sources/boost/boost/interprocess/sync/detail/locks.hpp", + "external/sources/boost/boost/interprocess/sync/file_lock.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_condition.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_sharable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/lock_options.hpp", + "external/sources/boost/boost/interprocess/sync/mutex_family.hpp", + "external/sources/boost/boost/interprocess/sync/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/named_sharable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/null_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/condition.hpp", + "external/sources/boost/boost/interprocess/sync/posix/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/posix/pthread_helpers.hpp", + "external/sources/boost/boost/interprocess/sync/posix/ptime_to_timespec.hpp", + "external/sources/boost/boost/interprocess/sync/posix/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/posix/semaphore_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/scoped_lock.hpp", + "external/sources/boost/boost/interprocess/sync/sharable_lock.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_creation_functor.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/condition.hpp", + "external/sources/boost/boost/interprocess/sync/spin/interprocess_barrier.hpp", + "external/sources/boost/boost/interprocess/sync/spin/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/spin/wait.hpp", + "external/sources/boost/boost/interprocess/sync/upgradable_lock.hpp", + "external/sources/boost/boost/interprocess/sync/windows/condition.hpp", + "external/sources/boost/boost/interprocess/sync/windows/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_sync.hpp", + "external/sources/boost/boost/interprocess/sync/windows/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/windows/sync_utils.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_mutex_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_semaphore_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_wrapper_common.hpp", + "external/sources/boost/boost/interprocess/windows_shared_memory.hpp", + "external/sources/boost/boost/interprocess/xsi_key.hpp", + "external/sources/boost/boost/interprocess/xsi_shared_memory.hpp", + "external/sources/boost/boost/intrusive/any_hook.hpp", + "external/sources/boost/boost/intrusive/avl_set.hpp", + "external/sources/boost/boost/intrusive/avl_set_hook.hpp", + "external/sources/boost/boost/intrusive/avltree.hpp", + "external/sources/boost/boost/intrusive/avltree_algorithms.hpp", + "external/sources/boost/boost/intrusive/bs_set.hpp", + "external/sources/boost/boost/intrusive/bs_set_hook.hpp", + "external/sources/boost/boost/intrusive/bstree.hpp", + "external/sources/boost/boost/intrusive/bstree_algorithms.hpp", + "external/sources/boost/boost/intrusive/circular_list_algorithms.hpp", + "external/sources/boost/boost/intrusive/circular_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/derivation_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/algo_type.hpp", + "external/sources/boost/boost/intrusive/detail/algorithm.hpp", + "external/sources/boost/boost/intrusive/detail/any_node_and_algorithms.hpp", + "external/sources/boost/boost/intrusive/detail/array_initializer.hpp", + "external/sources/boost/boost/intrusive/detail/assert.hpp", + "external/sources/boost/boost/intrusive/detail/avltree_node.hpp", + "external/sources/boost/boost/intrusive/detail/bstree_algorithms_base.hpp", + "external/sources/boost/boost/intrusive/detail/common_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/detail/config_begin.hpp", + "external/sources/boost/boost/intrusive/detail/config_end.hpp", + "external/sources/boost/boost/intrusive/detail/default_header_holder.hpp", + "external/sources/boost/boost/intrusive/detail/ebo_functor_holder.hpp", + "external/sources/boost/boost/intrusive/detail/empty_node_checker.hpp", + "external/sources/boost/boost/intrusive/detail/equal_to_value.hpp", + "external/sources/boost/boost/intrusive/detail/exception_disposer.hpp", + "external/sources/boost/boost/intrusive/detail/function_detector.hpp", + "external/sources/boost/boost/intrusive/detail/generic_hook.hpp", + "external/sources/boost/boost/intrusive/detail/get_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/has_member_function_callable_with.hpp", + "external/sources/boost/boost/intrusive/detail/hashtable_node.hpp", + "external/sources/boost/boost/intrusive/detail/hook_traits.hpp", + "external/sources/boost/boost/intrusive/detail/iiterator.hpp", + "external/sources/boost/boost/intrusive/detail/is_stateful_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/iterator.hpp", + "external/sources/boost/boost/intrusive/detail/key_nodeptr_comp.hpp", + "external/sources/boost/boost/intrusive/detail/list_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/list_node.hpp", + "external/sources/boost/boost/intrusive/detail/math.hpp", + "external/sources/boost/boost/intrusive/detail/minimal_less_equal_header.hpp", + "external/sources/boost/boost/intrusive/detail/minimal_pair_header.hpp", + "external/sources/boost/boost/intrusive/detail/mpl.hpp", + "external/sources/boost/boost/intrusive/detail/node_cloner_disposer.hpp", + "external/sources/boost/boost/intrusive/detail/node_holder.hpp", + "external/sources/boost/boost/intrusive/detail/node_to_value.hpp", + "external/sources/boost/boost/intrusive/detail/parent_from_member.hpp", + "external/sources/boost/boost/intrusive/detail/rbtree_node.hpp", + "external/sources/boost/boost/intrusive/detail/reverse_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/simple_disposers.hpp", + "external/sources/boost/boost/intrusive/detail/size_holder.hpp", + "external/sources/boost/boost/intrusive/detail/slist_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/slist_node.hpp", + "external/sources/boost/boost/intrusive/detail/std_fwd.hpp", + "external/sources/boost/boost/intrusive/detail/transform_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/tree_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/tree_node.hpp", + "external/sources/boost/boost/intrusive/detail/tree_value_compare.hpp", + "external/sources/boost/boost/intrusive/detail/uncast.hpp", + "external/sources/boost/boost/intrusive/detail/workaround.hpp", + "external/sources/boost/boost/intrusive/hashtable.hpp", + "external/sources/boost/boost/intrusive/intrusive_fwd.hpp", + "external/sources/boost/boost/intrusive/linear_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/link_mode.hpp", + "external/sources/boost/boost/intrusive/list.hpp", + "external/sources/boost/boost/intrusive/list_hook.hpp", + "external/sources/boost/boost/intrusive/member_value_traits.hpp", + "external/sources/boost/boost/intrusive/options.hpp", + "external/sources/boost/boost/intrusive/pack_options.hpp", + "external/sources/boost/boost/intrusive/parent_from_member.hpp", + "external/sources/boost/boost/intrusive/pointer_plus_bits.hpp", + "external/sources/boost/boost/intrusive/pointer_rebind.hpp", + "external/sources/boost/boost/intrusive/pointer_traits.hpp", + "external/sources/boost/boost/intrusive/priority_compare.hpp", + "external/sources/boost/boost/intrusive/rbtree.hpp", + "external/sources/boost/boost/intrusive/rbtree_algorithms.hpp", + "external/sources/boost/boost/intrusive/set.hpp", + "external/sources/boost/boost/intrusive/set_hook.hpp", + "external/sources/boost/boost/intrusive/sg_set.hpp", + "external/sources/boost/boost/intrusive/sgtree.hpp", + "external/sources/boost/boost/intrusive/sgtree_algorithms.hpp", + "external/sources/boost/boost/intrusive/slist.hpp", + "external/sources/boost/boost/intrusive/slist_hook.hpp", + "external/sources/boost/boost/intrusive/splay_set.hpp", + "external/sources/boost/boost/intrusive/splaytree.hpp", + "external/sources/boost/boost/intrusive/splaytree_algorithms.hpp", + "external/sources/boost/boost/intrusive/treap.hpp", + "external/sources/boost/boost/intrusive/treap_algorithms.hpp", + "external/sources/boost/boost/intrusive/treap_set.hpp", + "external/sources/boost/boost/intrusive/trivial_value_traits.hpp", + "external/sources/boost/boost/intrusive/unordered_set.hpp", + "external/sources/boost/boost/intrusive/unordered_set_hook.hpp", + "external/sources/boost/boost/intrusive_ptr.hpp", + "external/sources/boost/boost/io/detail/buffer_fill.hpp", + "external/sources/boost/boost/io/detail/ostream_guard.hpp", + "external/sources/boost/boost/io/ios_state.hpp", + "external/sources/boost/boost/io/ostream_joiner.hpp", + "external/sources/boost/boost/io/ostream_put.hpp", + "external/sources/boost/boost/io/quoted.hpp", + "external/sources/boost/boost/io_fwd.hpp", + "external/sources/boost/boost/iostreams/categories.hpp", + "external/sources/boost/boost/iostreams/chain.hpp", + "external/sources/boost/boost/iostreams/char_traits.hpp", + "external/sources/boost/boost/iostreams/checked_operations.hpp", + "external/sources/boost/boost/iostreams/close.hpp", + "external/sources/boost/boost/iostreams/code_converter.hpp", + "external/sources/boost/boost/iostreams/combine.hpp", + "external/sources/boost/boost/iostreams/compose.hpp", + "external/sources/boost/boost/iostreams/concepts.hpp", + "external/sources/boost/boost/iostreams/constants.hpp", + "external/sources/boost/boost/iostreams/copy.hpp", + "external/sources/boost/boost/iostreams/detail/absolute_path.hpp", + "external/sources/boost/boost/iostreams/detail/access_control.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/concept_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/device_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/direct_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/filter_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/mode_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/non_blocking_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/output_iterator_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/range_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/add_facet.hpp", + "external/sources/boost/boost/iostreams/detail/bool_trait_def.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/forward.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream_buffer.hpp", + "external/sources/boost/boost/iostreams/detail/buffer.hpp", + "external/sources/boost/boost/iostreams/detail/call_traits.hpp", + "external/sources/boost/boost/iostreams/detail/char_traits.hpp", + "external/sources/boost/boost/iostreams/detail/codecvt_helper.hpp", + "external/sources/boost/boost/iostreams/detail/codecvt_holder.hpp", + "external/sources/boost/boost/iostreams/detail/config/auto_link.hpp", + "external/sources/boost/boost/iostreams/detail/config/bzip2.hpp", + "external/sources/boost/boost/iostreams/detail/config/codecvt.hpp", + "external/sources/boost/boost/iostreams/detail/config/disable_warnings.hpp", + "external/sources/boost/boost/iostreams/detail/config/dyn_link.hpp", + "external/sources/boost/boost/iostreams/detail/config/enable_warnings.hpp", + "external/sources/boost/boost/iostreams/detail/config/fpos.hpp", + "external/sources/boost/boost/iostreams/detail/config/gcc.hpp", + "external/sources/boost/boost/iostreams/detail/config/limits.hpp", + "external/sources/boost/boost/iostreams/detail/config/overload_resolution.hpp", + "external/sources/boost/boost/iostreams/detail/config/rtl.hpp", + "external/sources/boost/boost/iostreams/detail/config/unreachable_return.hpp", + "external/sources/boost/boost/iostreams/detail/config/wide_streams.hpp", + "external/sources/boost/boost/iostreams/detail/config/windows_posix.hpp", + "external/sources/boost/boost/iostreams/detail/config/zlib.hpp", + "external/sources/boost/boost/iostreams/detail/counted_array.hpp", + "external/sources/boost/boost/iostreams/detail/current_directory.hpp", + "external/sources/boost/boost/iostreams/detail/default_arg.hpp", + "external/sources/boost/boost/iostreams/detail/dispatch.hpp", + "external/sources/boost/boost/iostreams/detail/double_object.hpp", + "external/sources/boost/boost/iostreams/detail/enable_if_stream.hpp", + "external/sources/boost/boost/iostreams/detail/error.hpp", + "external/sources/boost/boost/iostreams/detail/execute.hpp", + "external/sources/boost/boost/iostreams/detail/file_handle.hpp", + "external/sources/boost/boost/iostreams/detail/forward.hpp", + "external/sources/boost/boost/iostreams/detail/fstream.hpp", + "external/sources/boost/boost/iostreams/detail/functional.hpp", + "external/sources/boost/boost/iostreams/detail/ios.hpp", + "external/sources/boost/boost/iostreams/detail/iostream.hpp", + "external/sources/boost/boost/iostreams/detail/is_dereferenceable.hpp", + "external/sources/boost/boost/iostreams/detail/is_iterator_range.hpp", + "external/sources/boost/boost/iostreams/detail/newline.hpp", + "external/sources/boost/boost/iostreams/detail/optional.hpp", + "external/sources/boost/boost/iostreams/detail/param_type.hpp", + "external/sources/boost/boost/iostreams/detail/path.hpp", + "external/sources/boost/boost/iostreams/detail/push.hpp", + "external/sources/boost/boost/iostreams/detail/push_params.hpp", + "external/sources/boost/boost/iostreams/detail/resolve.hpp", + "external/sources/boost/boost/iostreams/detail/restrict_impl.hpp", + "external/sources/boost/boost/iostreams/detail/select.hpp", + "external/sources/boost/boost/iostreams/detail/select_by_size.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/chainbuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/direct_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/indirect_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/linked_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/system_failure.hpp", + "external/sources/boost/boost/iostreams/detail/template_params.hpp", + "external/sources/boost/boost/iostreams/detail/translate_int_type.hpp", + "external/sources/boost/boost/iostreams/detail/wrap_unwrap.hpp", + "external/sources/boost/boost/iostreams/device/array.hpp", + "external/sources/boost/boost/iostreams/device/back_inserter.hpp", + "external/sources/boost/boost/iostreams/device/file.hpp", + "external/sources/boost/boost/iostreams/device/file_descriptor.hpp", + "external/sources/boost/boost/iostreams/device/mapped_file.hpp", + "external/sources/boost/boost/iostreams/device/null.hpp", + "external/sources/boost/boost/iostreams/filter/aggregate.hpp", + "external/sources/boost/boost/iostreams/filter/bzip2.hpp", + "external/sources/boost/boost/iostreams/filter/counter.hpp", + "external/sources/boost/boost/iostreams/filter/grep.hpp", + "external/sources/boost/boost/iostreams/filter/gzip.hpp", + "external/sources/boost/boost/iostreams/filter/line.hpp", + "external/sources/boost/boost/iostreams/filter/lzma.hpp", + "external/sources/boost/boost/iostreams/filter/newline.hpp", + "external/sources/boost/boost/iostreams/filter/regex.hpp", + "external/sources/boost/boost/iostreams/filter/stdio.hpp", + "external/sources/boost/boost/iostreams/filter/symmetric.hpp", + "external/sources/boost/boost/iostreams/filter/test.hpp", + "external/sources/boost/boost/iostreams/filter/zlib.hpp", + "external/sources/boost/boost/iostreams/filter/zstd.hpp", + "external/sources/boost/boost/iostreams/filtering_stream.hpp", + "external/sources/boost/boost/iostreams/filtering_streambuf.hpp", + "external/sources/boost/boost/iostreams/flush.hpp", + "external/sources/boost/boost/iostreams/get.hpp", + "external/sources/boost/boost/iostreams/imbue.hpp", + "external/sources/boost/boost/iostreams/input_sequence.hpp", + "external/sources/boost/boost/iostreams/invert.hpp", + "external/sources/boost/boost/iostreams/operations.hpp", + "external/sources/boost/boost/iostreams/operations_fwd.hpp", + "external/sources/boost/boost/iostreams/optimal_buffer_size.hpp", + "external/sources/boost/boost/iostreams/output_sequence.hpp", + "external/sources/boost/boost/iostreams/pipeline.hpp", + "external/sources/boost/boost/iostreams/positioning.hpp", + "external/sources/boost/boost/iostreams/put.hpp", + "external/sources/boost/boost/iostreams/putback.hpp", + "external/sources/boost/boost/iostreams/read.hpp", + "external/sources/boost/boost/iostreams/restrict.hpp", + "external/sources/boost/boost/iostreams/seek.hpp", + "external/sources/boost/boost/iostreams/skip.hpp", + "external/sources/boost/boost/iostreams/slice.hpp", + "external/sources/boost/boost/iostreams/stream.hpp", + "external/sources/boost/boost/iostreams/stream_buffer.hpp", + "external/sources/boost/boost/iostreams/tee.hpp", + "external/sources/boost/boost/iostreams/traits.hpp", + "external/sources/boost/boost/iostreams/traits_fwd.hpp", + "external/sources/boost/boost/iostreams/write.hpp", + "external/sources/boost/boost/is_placeholder.hpp", + "external/sources/boost/boost/iterator.hpp", + "external/sources/boost/boost/iterator/advance.hpp", + "external/sources/boost/boost/iterator/counting_iterator.hpp", + "external/sources/boost/boost/iterator/detail/any_conversion_eater.hpp", + "external/sources/boost/boost/iterator/detail/config_def.hpp", + "external/sources/boost/boost/iterator/detail/config_undef.hpp", + "external/sources/boost/boost/iterator/detail/enable_if.hpp", + "external/sources/boost/boost/iterator/detail/facade_iterator_category.hpp", + "external/sources/boost/boost/iterator/detail/minimum_category.hpp", + "external/sources/boost/boost/iterator/distance.hpp", + "external/sources/boost/boost/iterator/filter_iterator.hpp", + "external/sources/boost/boost/iterator/function_input_iterator.hpp", + "external/sources/boost/boost/iterator/function_output_iterator.hpp", + "external/sources/boost/boost/iterator/indirect_iterator.hpp", + "external/sources/boost/boost/iterator/interoperable.hpp", + "external/sources/boost/boost/iterator/is_lvalue_iterator.hpp", + "external/sources/boost/boost/iterator/is_readable_iterator.hpp", + "external/sources/boost/boost/iterator/iterator_adaptor.hpp", + "external/sources/boost/boost/iterator/iterator_archetypes.hpp", + "external/sources/boost/boost/iterator/iterator_categories.hpp", + "external/sources/boost/boost/iterator/iterator_concepts.hpp", + "external/sources/boost/boost/iterator/iterator_facade.hpp", + "external/sources/boost/boost/iterator/iterator_traits.hpp", + "external/sources/boost/boost/iterator/minimum_category.hpp", + "external/sources/boost/boost/iterator/new_iterator_tests.hpp", + "external/sources/boost/boost/iterator/permutation_iterator.hpp", + "external/sources/boost/boost/iterator/reverse_iterator.hpp", + "external/sources/boost/boost/iterator/transform_iterator.hpp", + "external/sources/boost/boost/iterator/zip_iterator.hpp", + "external/sources/boost/boost/iterator_adaptors.hpp", + "external/sources/boost/boost/lambda/algorithm.hpp", + "external/sources/boost/boost/lambda/bind.hpp", + "external/sources/boost/boost/lambda/casts.hpp", + "external/sources/boost/boost/lambda/closures.hpp", + "external/sources/boost/boost/lambda/construct.hpp", + "external/sources/boost/boost/lambda/control_structures.hpp", + "external/sources/boost/boost/lambda/core.hpp", + "external/sources/boost/boost/lambda/detail/actions.hpp", + "external/sources/boost/boost/lambda/detail/arity_code.hpp", + "external/sources/boost/boost/lambda/detail/bind_functions.hpp", + "external/sources/boost/boost/lambda/detail/control_constructs_common.hpp", + "external/sources/boost/boost/lambda/detail/function_adaptors.hpp", + "external/sources/boost/boost/lambda/detail/is_instance_of.hpp", + "external/sources/boost/boost/lambda/detail/lambda_config.hpp", + "external/sources/boost/boost/lambda/detail/lambda_functor_base.hpp", + "external/sources/boost/boost/lambda/detail/lambda_functors.hpp", + "external/sources/boost/boost/lambda/detail/lambda_fwd.hpp", + "external/sources/boost/boost/lambda/detail/lambda_traits.hpp", + "external/sources/boost/boost/lambda/detail/member_ptr.hpp", + "external/sources/boost/boost/lambda/detail/operator_actions.hpp", + "external/sources/boost/boost/lambda/detail/operator_lambda_func_base.hpp", + "external/sources/boost/boost/lambda/detail/operator_return_type_traits.hpp", + "external/sources/boost/boost/lambda/detail/operators.hpp", + "external/sources/boost/boost/lambda/detail/ret.hpp", + "external/sources/boost/boost/lambda/detail/return_type_traits.hpp", + "external/sources/boost/boost/lambda/detail/select_functions.hpp", + "external/sources/boost/boost/lambda/detail/suppress_unused.hpp", + "external/sources/boost/boost/lambda/exceptions.hpp", + "external/sources/boost/boost/lambda/if.hpp", + "external/sources/boost/boost/lambda/lambda.hpp", + "external/sources/boost/boost/lambda/loops.hpp", + "external/sources/boost/boost/lambda/numeric.hpp", + "external/sources/boost/boost/lambda/switch.hpp", + "external/sources/boost/boost/lexical_cast.hpp", + "external/sources/boost/boost/lexical_cast/bad_lexical_cast.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_lexical.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_numeric.hpp", + "external/sources/boost/boost/lexical_cast/detail/inf_nan.hpp", + "external/sources/boost/boost/lexical_cast/detail/is_character.hpp", + "external/sources/boost/boost/lexical_cast/detail/lcast_char_constants.hpp", + "external/sources/boost/boost/lexical_cast/detail/lcast_unsigned_converters.hpp", + "external/sources/boost/boost/lexical_cast/detail/widest_char.hpp", + "external/sources/boost/boost/lexical_cast/lexical_cast_old.hpp", + "external/sources/boost/boost/lexical_cast/try_lexical_convert.hpp", + "external/sources/boost/boost/limits.hpp", + "external/sources/boost/boost/local_function.hpp", + "external/sources/boost/boost/local_function/aux_/add_pointed_const.hpp", + "external/sources/boost/boost/local_function/aux_/function.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/bind.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/functor.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/result.hpp", + "external/sources/boost/boost/local_function/aux_/macro/decl.hpp", + "external/sources/boost/boost/local_function/aux_/macro/name.hpp", + "external/sources/boost/boost/local_function/aux_/macro/typeof.hpp", + "external/sources/boost/boost/local_function/aux_/member.hpp", + "external/sources/boost/boost/local_function/aux_/nobind.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/bind.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/append.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/index.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/nil.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/set_error.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_binds.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_const_binds.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_error.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_params.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_returns.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/any_bind_type.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/sign.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/defaults.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/this.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/param.hpp", + "external/sources/boost/boost/local_function/aux_/symbol.hpp", + "external/sources/boost/boost/local_function/config.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/auto.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/bind.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const_bind.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/default.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/add.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/is.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/remove.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/inline.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/recursive.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/register.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/return.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/this.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/thisunderscore.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/void.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/line_counter.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/void_list.hpp", + "external/sources/boost/boost/locale.hpp", + "external/sources/boost/boost/locale/boundary.hpp", + "external/sources/boost/boost/locale/boundary/boundary_point.hpp", + "external/sources/boost/boost/locale/boundary/facets.hpp", + "external/sources/boost/boost/locale/boundary/index.hpp", + "external/sources/boost/boost/locale/boundary/segment.hpp", + "external/sources/boost/boost/locale/boundary/types.hpp", + "external/sources/boost/boost/locale/collator.hpp", + "external/sources/boost/boost/locale/config.hpp", + "external/sources/boost/boost/locale/conversion.hpp", + "external/sources/boost/boost/locale/date_time.hpp", + "external/sources/boost/boost/locale/date_time_facet.hpp", + "external/sources/boost/boost/locale/definitions.hpp", + "external/sources/boost/boost/locale/encoding.hpp", + "external/sources/boost/boost/locale/encoding_errors.hpp", + "external/sources/boost/boost/locale/encoding_utf.hpp", + "external/sources/boost/boost/locale/format.hpp", + "external/sources/boost/boost/locale/formatting.hpp", + "external/sources/boost/boost/locale/generator.hpp", + "external/sources/boost/boost/locale/generic_codecvt.hpp", + "external/sources/boost/boost/locale/gnu_gettext.hpp", + "external/sources/boost/boost/locale/hold_ptr.hpp", + "external/sources/boost/boost/locale/info.hpp", + "external/sources/boost/boost/locale/localization_backend.hpp", + "external/sources/boost/boost/locale/message.hpp", + "external/sources/boost/boost/locale/time_zone.hpp", + "external/sources/boost/boost/locale/utf.hpp", + "external/sources/boost/boost/locale/utf8_codecvt.hpp", + "external/sources/boost/boost/locale/util.hpp", + "external/sources/boost/boost/lockfree/detail/atomic.hpp", + "external/sources/boost/boost/lockfree/detail/copy_payload.hpp", + "external/sources/boost/boost/lockfree/detail/freelist.hpp", + "external/sources/boost/boost/lockfree/detail/parameter.hpp", + "external/sources/boost/boost/lockfree/detail/prefix.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr_dcas.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp", + "external/sources/boost/boost/lockfree/lockfree_forward.hpp", + "external/sources/boost/boost/lockfree/policies.hpp", + "external/sources/boost/boost/lockfree/queue.hpp", + "external/sources/boost/boost/lockfree/spsc_queue.hpp", + "external/sources/boost/boost/lockfree/stack.hpp", + "external/sources/boost/boost/log/attributes.hpp", + "external/sources/boost/boost/log/attributes/attribute.hpp", + "external/sources/boost/boost/log/attributes/attribute_cast.hpp", + "external/sources/boost/boost/log/attributes/attribute_name.hpp", + "external/sources/boost/boost/log/attributes/attribute_set.hpp", + "external/sources/boost/boost/log/attributes/attribute_value.hpp", + "external/sources/boost/boost/log/attributes/attribute_value_impl.hpp", + "external/sources/boost/boost/log/attributes/attribute_value_set.hpp", + "external/sources/boost/boost/log/attributes/clock.hpp", + "external/sources/boost/boost/log/attributes/constant.hpp", + "external/sources/boost/boost/log/attributes/counter.hpp", + "external/sources/boost/boost/log/attributes/current_process_id.hpp", + "external/sources/boost/boost/log/attributes/current_process_name.hpp", + "external/sources/boost/boost/log/attributes/current_thread_id.hpp", + "external/sources/boost/boost/log/attributes/fallback_policy.hpp", + "external/sources/boost/boost/log/attributes/fallback_policy_fwd.hpp", + "external/sources/boost/boost/log/attributes/function.hpp", + "external/sources/boost/boost/log/attributes/mutable_constant.hpp", + "external/sources/boost/boost/log/attributes/named_scope.hpp", + "external/sources/boost/boost/log/attributes/scoped_attribute.hpp", + "external/sources/boost/boost/log/attributes/time_traits.hpp", + "external/sources/boost/boost/log/attributes/timer.hpp", + "external/sources/boost/boost/log/attributes/value_extraction.hpp", + "external/sources/boost/boost/log/attributes/value_extraction_fwd.hpp", + "external/sources/boost/boost/log/attributes/value_visitation.hpp", + "external/sources/boost/boost/log/attributes/value_visitation_fwd.hpp", + "external/sources/boost/boost/log/common.hpp", + "external/sources/boost/boost/log/core.hpp", + "external/sources/boost/boost/log/core/core.hpp", + "external/sources/boost/boost/log/core/record.hpp", + "external/sources/boost/boost/log/core/record_view.hpp", + "external/sources/boost/boost/log/detail/adaptive_mutex.hpp", + "external/sources/boost/boost/log/detail/allocator_traits.hpp", + "external/sources/boost/boost/log/detail/asio_fwd.hpp", + "external/sources/boost/boost/log/detail/attachable_sstream_buf.hpp", + "external/sources/boost/boost/log/detail/attr_output_impl.hpp", + "external/sources/boost/boost/log/detail/attr_output_terminal.hpp", + "external/sources/boost/boost/log/detail/attribute_get_value_impl.hpp", + "external/sources/boost/boost/log/detail/attribute_predicate.hpp", + "external/sources/boost/boost/log/detail/c_str.hpp", + "external/sources/boost/boost/log/detail/cleanup_scope_guard.hpp", + "external/sources/boost/boost/log/detail/code_conversion.hpp", + "external/sources/boost/boost/log/detail/config.hpp", + "external/sources/boost/boost/log/detail/copy_cv.hpp", + "external/sources/boost/boost/log/detail/custom_terminal_spec.hpp", + "external/sources/boost/boost/log/detail/date_time_fmt_gen_traits_fwd.hpp", + "external/sources/boost/boost/log/detail/date_time_format_parser.hpp", + "external/sources/boost/boost/log/detail/decomposed_time.hpp", + "external/sources/boost/boost/log/detail/deduce_char_type.hpp", + "external/sources/boost/boost/log/detail/default_attribute_names.hpp", + "external/sources/boost/boost/log/detail/embedded_string_type.hpp", + "external/sources/boost/boost/log/detail/enqueued_record.hpp", + "external/sources/boost/boost/log/detail/event.hpp", + "external/sources/boost/boost/log/detail/fake_mutex.hpp", + "external/sources/boost/boost/log/detail/footer.hpp", + "external/sources/boost/boost/log/detail/format.hpp", + "external/sources/boost/boost/log/detail/function_traits.hpp", + "external/sources/boost/boost/log/detail/generate_overloads.hpp", + "external/sources/boost/boost/log/detail/header.hpp", + "external/sources/boost/boost/log/detail/id.hpp", + "external/sources/boost/boost/log/detail/is_character_type.hpp", + "external/sources/boost/boost/log/detail/is_ostream.hpp", + "external/sources/boost/boost/log/detail/light_function.hpp", + "external/sources/boost/boost/log/detail/light_function_pp.hpp", + "external/sources/boost/boost/log/detail/light_rw_mutex.hpp", + "external/sources/boost/boost/log/detail/locking_ptr.hpp", + "external/sources/boost/boost/log/detail/locks.hpp", + "external/sources/boost/boost/log/detail/named_scope_fmt_pp.hpp", + "external/sources/boost/boost/log/detail/native_typeof.hpp", + "external/sources/boost/boost/log/detail/parameter_tools.hpp", + "external/sources/boost/boost/log/detail/pause.hpp", + "external/sources/boost/boost/log/detail/pp_identity.hpp", + "external/sources/boost/boost/log/detail/process_id.hpp", + "external/sources/boost/boost/log/detail/setup_config.hpp", + "external/sources/boost/boost/log/detail/sfinae_tools.hpp", + "external/sources/boost/boost/log/detail/singleton.hpp", + "external/sources/boost/boost/log/detail/sink_init_helpers.hpp", + "external/sources/boost/boost/log/detail/snprintf.hpp", + "external/sources/boost/boost/log/detail/tagged_integer.hpp", + "external/sources/boost/boost/log/detail/thread_id.hpp", + "external/sources/boost/boost/log/detail/thread_specific.hpp", + "external/sources/boost/boost/log/detail/threadsafe_queue.hpp", + "external/sources/boost/boost/log/detail/timestamp.hpp", + "external/sources/boost/boost/log/detail/trivial_keyword.hpp", + "external/sources/boost/boost/log/detail/unary_function_terminal.hpp", + "external/sources/boost/boost/log/detail/value_ref_visitation.hpp", + "external/sources/boost/boost/log/exceptions.hpp", + "external/sources/boost/boost/log/expressions.hpp", + "external/sources/boost/boost/log/expressions/attr.hpp", + "external/sources/boost/boost/log/expressions/attr_fwd.hpp", + "external/sources/boost/boost/log/expressions/filter.hpp", + "external/sources/boost/boost/log/expressions/formatter.hpp", + "external/sources/boost/boost/log/expressions/formatters.hpp", + "external/sources/boost/boost/log/expressions/formatters/auto_newline.hpp", + "external/sources/boost/boost/log/expressions/formatters/c_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/char_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/csv_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/date_time.hpp", + "external/sources/boost/boost/log/expressions/formatters/format.hpp", + "external/sources/boost/boost/log/expressions/formatters/if.hpp", + "external/sources/boost/boost/log/expressions/formatters/max_size_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/named_scope.hpp", + "external/sources/boost/boost/log/expressions/formatters/stream.hpp", + "external/sources/boost/boost/log/expressions/formatters/wrap_formatter.hpp", + "external/sources/boost/boost/log/expressions/formatters/xml_decorator.hpp", + "external/sources/boost/boost/log/expressions/is_keyword_descriptor.hpp", + "external/sources/boost/boost/log/expressions/keyword.hpp", + "external/sources/boost/boost/log/expressions/keyword_fwd.hpp", + "external/sources/boost/boost/log/expressions/message.hpp", + "external/sources/boost/boost/log/expressions/predicates.hpp", + "external/sources/boost/boost/log/expressions/predicates/begins_with.hpp", + "external/sources/boost/boost/log/expressions/predicates/channel_severity_filter.hpp", + "external/sources/boost/boost/log/expressions/predicates/contains.hpp", + "external/sources/boost/boost/log/expressions/predicates/ends_with.hpp", + "external/sources/boost/boost/log/expressions/predicates/has_attr.hpp", + "external/sources/boost/boost/log/expressions/predicates/is_debugger_present.hpp", + "external/sources/boost/boost/log/expressions/predicates/is_in_range.hpp", + "external/sources/boost/boost/log/expressions/predicates/matches.hpp", + "external/sources/boost/boost/log/expressions/record.hpp", + "external/sources/boost/boost/log/keywords/auto_flush.hpp", + "external/sources/boost/boost/log/keywords/auto_newline_mode.hpp", + "external/sources/boost/boost/log/keywords/block_size.hpp", + "external/sources/boost/boost/log/keywords/capacity.hpp", + "external/sources/boost/boost/log/keywords/channel.hpp", + "external/sources/boost/boost/log/keywords/delimiter.hpp", + "external/sources/boost/boost/log/keywords/depth.hpp", + "external/sources/boost/boost/log/keywords/empty_marker.hpp", + "external/sources/boost/boost/log/keywords/enable_final_rotation.hpp", + "external/sources/boost/boost/log/keywords/facility.hpp", + "external/sources/boost/boost/log/keywords/file_name.hpp", + "external/sources/boost/boost/log/keywords/filter.hpp", + "external/sources/boost/boost/log/keywords/format.hpp", + "external/sources/boost/boost/log/keywords/ident.hpp", + "external/sources/boost/boost/log/keywords/incomplete_marker.hpp", + "external/sources/boost/boost/log/keywords/ip_version.hpp", + "external/sources/boost/boost/log/keywords/iteration.hpp", + "external/sources/boost/boost/log/keywords/log_name.hpp", + "external/sources/boost/boost/log/keywords/log_source.hpp", + "external/sources/boost/boost/log/keywords/max_files.hpp", + "external/sources/boost/boost/log/keywords/max_size.hpp", + "external/sources/boost/boost/log/keywords/message_file.hpp", + "external/sources/boost/boost/log/keywords/min_free_space.hpp", + "external/sources/boost/boost/log/keywords/name.hpp", + "external/sources/boost/boost/log/keywords/open_mode.hpp", + "external/sources/boost/boost/log/keywords/order.hpp", + "external/sources/boost/boost/log/keywords/ordering_window.hpp", + "external/sources/boost/boost/log/keywords/overflow_policy.hpp", + "external/sources/boost/boost/log/keywords/permissions.hpp", + "external/sources/boost/boost/log/keywords/registration.hpp", + "external/sources/boost/boost/log/keywords/rotation_size.hpp", + "external/sources/boost/boost/log/keywords/scan_method.hpp", + "external/sources/boost/boost/log/keywords/severity.hpp", + "external/sources/boost/boost/log/keywords/start_thread.hpp", + "external/sources/boost/boost/log/keywords/target.hpp", + "external/sources/boost/boost/log/keywords/target_file_name.hpp", + "external/sources/boost/boost/log/keywords/time_based_rotation.hpp", + "external/sources/boost/boost/log/keywords/use_impl.hpp", + "external/sources/boost/boost/log/sinks.hpp", + "external/sources/boost/boost/log/sinks/async_frontend.hpp", + "external/sources/boost/boost/log/sinks/attribute_mapping.hpp", + "external/sources/boost/boost/log/sinks/auto_newline_mode.hpp", + "external/sources/boost/boost/log/sinks/basic_sink_backend.hpp", + "external/sources/boost/boost/log/sinks/basic_sink_frontend.hpp", + "external/sources/boost/boost/log/sinks/block_on_overflow.hpp", + "external/sources/boost/boost/log/sinks/bounded_fifo_queue.hpp", + "external/sources/boost/boost/log/sinks/bounded_ordering_queue.hpp", + "external/sources/boost/boost/log/sinks/debug_output_backend.hpp", + "external/sources/boost/boost/log/sinks/drop_on_overflow.hpp", + "external/sources/boost/boost/log/sinks/event_log_backend.hpp", + "external/sources/boost/boost/log/sinks/event_log_constants.hpp", + "external/sources/boost/boost/log/sinks/frontend_requirements.hpp", + "external/sources/boost/boost/log/sinks/sink.hpp", + "external/sources/boost/boost/log/sinks/sync_frontend.hpp", + "external/sources/boost/boost/log/sinks/syslog_backend.hpp", + "external/sources/boost/boost/log/sinks/syslog_constants.hpp", + "external/sources/boost/boost/log/sinks/text_file_backend.hpp", + "external/sources/boost/boost/log/sinks/text_ipc_message_queue_backend.hpp", + "external/sources/boost/boost/log/sinks/text_multifile_backend.hpp", + "external/sources/boost/boost/log/sinks/text_ostream_backend.hpp", + "external/sources/boost/boost/log/sinks/unbounded_fifo_queue.hpp", + "external/sources/boost/boost/log/sinks/unbounded_ordering_queue.hpp", + "external/sources/boost/boost/log/sinks/unlocked_frontend.hpp", + "external/sources/boost/boost/log/sources/basic_logger.hpp", + "external/sources/boost/boost/log/sources/channel_feature.hpp", + "external/sources/boost/boost/log/sources/channel_logger.hpp", + "external/sources/boost/boost/log/sources/exception_handler_feature.hpp", + "external/sources/boost/boost/log/sources/features.hpp", + "external/sources/boost/boost/log/sources/global_logger_storage.hpp", + "external/sources/boost/boost/log/sources/logger.hpp", + "external/sources/boost/boost/log/sources/record_ostream.hpp", + "external/sources/boost/boost/log/sources/severity_channel_logger.hpp", + "external/sources/boost/boost/log/sources/severity_feature.hpp", + "external/sources/boost/boost/log/sources/severity_logger.hpp", + "external/sources/boost/boost/log/sources/threading_models.hpp", + "external/sources/boost/boost/log/support/date_time.hpp", + "external/sources/boost/boost/log/support/exception.hpp", + "external/sources/boost/boost/log/support/regex.hpp", + "external/sources/boost/boost/log/support/spirit_classic.hpp", + "external/sources/boost/boost/log/support/spirit_qi.hpp", + "external/sources/boost/boost/log/support/std_regex.hpp", + "external/sources/boost/boost/log/support/xpressive.hpp", + "external/sources/boost/boost/log/trivial.hpp", + "external/sources/boost/boost/log/utility/exception_handler.hpp", + "external/sources/boost/boost/log/utility/formatting_ostream.hpp", + "external/sources/boost/boost/log/utility/formatting_ostream_fwd.hpp", + "external/sources/boost/boost/log/utility/functional.hpp", + "external/sources/boost/boost/log/utility/functional/as_action.hpp", + "external/sources/boost/boost/log/utility/functional/begins_with.hpp", + "external/sources/boost/boost/log/utility/functional/bind.hpp", + "external/sources/boost/boost/log/utility/functional/bind_assign.hpp", + "external/sources/boost/boost/log/utility/functional/bind_output.hpp", + "external/sources/boost/boost/log/utility/functional/bind_to_log.hpp", + "external/sources/boost/boost/log/utility/functional/contains.hpp", + "external/sources/boost/boost/log/utility/functional/ends_with.hpp", + "external/sources/boost/boost/log/utility/functional/fun_ref.hpp", + "external/sources/boost/boost/log/utility/functional/in_range.hpp", + "external/sources/boost/boost/log/utility/functional/logical.hpp", + "external/sources/boost/boost/log/utility/functional/matches.hpp", + "external/sources/boost/boost/log/utility/functional/nop.hpp", + "external/sources/boost/boost/log/utility/functional/save_result.hpp", + "external/sources/boost/boost/log/utility/ipc/object_name.hpp", + "external/sources/boost/boost/log/utility/ipc/reliable_message_queue.hpp", + "external/sources/boost/boost/log/utility/manipulators.hpp", + "external/sources/boost/boost/log/utility/manipulators/add_value.hpp", + "external/sources/boost/boost/log/utility/manipulators/auto_newline.hpp", + "external/sources/boost/boost/log/utility/manipulators/dump.hpp", + "external/sources/boost/boost/log/utility/manipulators/optional.hpp", + "external/sources/boost/boost/log/utility/manipulators/range.hpp", + "external/sources/boost/boost/log/utility/manipulators/to_log.hpp", + "external/sources/boost/boost/log/utility/manipulators/tuple.hpp", + "external/sources/boost/boost/log/utility/once_block.hpp", + "external/sources/boost/boost/log/utility/open_mode.hpp", + "external/sources/boost/boost/log/utility/permissions.hpp", + "external/sources/boost/boost/log/utility/record_ordering.hpp", + "external/sources/boost/boost/log/utility/setup.hpp", + "external/sources/boost/boost/log/utility/setup/common_attributes.hpp", + "external/sources/boost/boost/log/utility/setup/console.hpp", + "external/sources/boost/boost/log/utility/setup/file.hpp", + "external/sources/boost/boost/log/utility/setup/filter_parser.hpp", + "external/sources/boost/boost/log/utility/setup/formatter_parser.hpp", + "external/sources/boost/boost/log/utility/setup/from_settings.hpp", + "external/sources/boost/boost/log/utility/setup/from_stream.hpp", + "external/sources/boost/boost/log/utility/setup/settings.hpp", + "external/sources/boost/boost/log/utility/setup/settings_parser.hpp", + "external/sources/boost/boost/log/utility/strictest_lock.hpp", + "external/sources/boost/boost/log/utility/string_literal.hpp", + "external/sources/boost/boost/log/utility/string_literal_fwd.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/date_time_types.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/dynamic_type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/standard_types.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/static_type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/unique_identifier_name.hpp", + "external/sources/boost/boost/log/utility/unused_variable.hpp", + "external/sources/boost/boost/log/utility/value_ref.hpp", + "external/sources/boost/boost/log/utility/value_ref_fwd.hpp", + "external/sources/boost/boost/logic/tribool.hpp", + "external/sources/boost/boost/logic/tribool_fwd.hpp", + "external/sources/boost/boost/logic/tribool_io.hpp", + "external/sources/boost/boost/make_default.hpp", + "external/sources/boost/boost/make_shared.hpp", + "external/sources/boost/boost/make_unique.hpp", + "external/sources/boost/boost/math/bindings/detail/big_digamma.hpp", + "external/sources/boost/boost/math/bindings/detail/big_lanczos.hpp", + "external/sources/boost/boost/math/bindings/e_float.hpp", + "external/sources/boost/boost/math/bindings/mpfr.hpp", + "external/sources/boost/boost/math/bindings/mpreal.hpp", + "external/sources/boost/boost/math/bindings/rr.hpp", + "external/sources/boost/boost/math/common_factor.hpp", + "external/sources/boost/boost/math/common_factor_ct.hpp", + "external/sources/boost/boost/math/common_factor_rt.hpp", + "external/sources/boost/boost/math/complex.hpp", + "external/sources/boost/boost/math/complex/acos.hpp", + "external/sources/boost/boost/math/complex/acosh.hpp", + "external/sources/boost/boost/math/complex/asin.hpp", + "external/sources/boost/boost/math/complex/asinh.hpp", + "external/sources/boost/boost/math/complex/atan.hpp", + "external/sources/boost/boost/math/complex/atanh.hpp", + "external/sources/boost/boost/math/complex/details.hpp", + "external/sources/boost/boost/math/complex/fabs.hpp", + "external/sources/boost/boost/math/concepts/distributions.hpp", + "external/sources/boost/boost/math/concepts/real_concept.hpp", + "external/sources/boost/boost/math/concepts/real_type_concept.hpp", + "external/sources/boost/boost/math/concepts/std_real_concept.hpp", + "external/sources/boost/boost/math/constants/calculate_constants.hpp", + "external/sources/boost/boost/math/constants/constants.hpp", + "external/sources/boost/boost/math/constants/info.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_cmath.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex_std.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_iostream.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_limits.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_types.hpp", + "external/sources/boost/boost/math/differentiation/autodiff.hpp", + "external/sources/boost/boost/math/differentiation/autodiff_cpp11.hpp", + "external/sources/boost/boost/math/differentiation/finite_difference.hpp", + "external/sources/boost/boost/math/differentiation/lanczos_smoothing.hpp", + "external/sources/boost/boost/math/distributions.hpp", + "external/sources/boost/boost/math/distributions/arcsine.hpp", + "external/sources/boost/boost/math/distributions/bernoulli.hpp", + "external/sources/boost/boost/math/distributions/beta.hpp", + "external/sources/boost/boost/math/distributions/binomial.hpp", + "external/sources/boost/boost/math/distributions/cauchy.hpp", + "external/sources/boost/boost/math/distributions/chi_squared.hpp", + "external/sources/boost/boost/math/distributions/complement.hpp", + "external/sources/boost/boost/math/distributions/detail/common_error_handling.hpp", + "external/sources/boost/boost/math/distributions/detail/derived_accessors.hpp", + "external/sources/boost/boost/math/distributions/detail/generic_mode.hpp", + "external/sources/boost/boost/math/distributions/detail/generic_quantile.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_cdf.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_pdf.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_quantile.hpp", + "external/sources/boost/boost/math/distributions/detail/inv_discrete_quantile.hpp", + "external/sources/boost/boost/math/distributions/empirical_cumulative_distribution_function.hpp", + "external/sources/boost/boost/math/distributions/exponential.hpp", + "external/sources/boost/boost/math/distributions/extreme_value.hpp", + "external/sources/boost/boost/math/distributions/find_location.hpp", + "external/sources/boost/boost/math/distributions/find_scale.hpp", + "external/sources/boost/boost/math/distributions/fisher_f.hpp", + "external/sources/boost/boost/math/distributions/fwd.hpp", + "external/sources/boost/boost/math/distributions/gamma.hpp", + "external/sources/boost/boost/math/distributions/geometric.hpp", + "external/sources/boost/boost/math/distributions/hyperexponential.hpp", + "external/sources/boost/boost/math/distributions/hypergeometric.hpp", + "external/sources/boost/boost/math/distributions/inverse_chi_squared.hpp", + "external/sources/boost/boost/math/distributions/inverse_gamma.hpp", + "external/sources/boost/boost/math/distributions/inverse_gaussian.hpp", + "external/sources/boost/boost/math/distributions/laplace.hpp", + "external/sources/boost/boost/math/distributions/logistic.hpp", + "external/sources/boost/boost/math/distributions/lognormal.hpp", + "external/sources/boost/boost/math/distributions/negative_binomial.hpp", + "external/sources/boost/boost/math/distributions/non_central_beta.hpp", + "external/sources/boost/boost/math/distributions/non_central_chi_squared.hpp", + "external/sources/boost/boost/math/distributions/non_central_f.hpp", + "external/sources/boost/boost/math/distributions/non_central_t.hpp", + "external/sources/boost/boost/math/distributions/normal.hpp", + "external/sources/boost/boost/math/distributions/pareto.hpp", + "external/sources/boost/boost/math/distributions/poisson.hpp", + "external/sources/boost/boost/math/distributions/rayleigh.hpp", + "external/sources/boost/boost/math/distributions/skew_normal.hpp", + "external/sources/boost/boost/math/distributions/students_t.hpp", + "external/sources/boost/boost/math/distributions/triangular.hpp", + "external/sources/boost/boost/math/distributions/uniform.hpp", + "external/sources/boost/boost/math/distributions/weibull.hpp", + "external/sources/boost/boost/math/filters/daubechies.hpp", + "external/sources/boost/boost/math/interpolators/barycentric_rational.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_cubic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_quintic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_trigonometric.hpp", + "external/sources/boost/boost/math/interpolators/catmull_rom.hpp", + "external/sources/boost/boost/math/interpolators/cubic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cubic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/detail/barycentric_rational_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_cubic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_quadratic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_quintic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_trigonometric_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cubic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cubic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/quintic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/septic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/vector_barycentric_rational_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/whittaker_shannon_detail.hpp", + "external/sources/boost/boost/math/interpolators/makima.hpp", + "external/sources/boost/boost/math/interpolators/pchip.hpp", + "external/sources/boost/boost/math/interpolators/quintic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/septic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/vector_barycentric_rational.hpp", + "external/sources/boost/boost/math/interpolators/whittaker_shannon.hpp", + "external/sources/boost/boost/math/octonion.hpp", + "external/sources/boost/boost/math/policies/error_handling.hpp", + "external/sources/boost/boost/math/policies/policy.hpp", + "external/sources/boost/boost/math/quadrature/detail/exp_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/ooura_fourier_integrals_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/sinh_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_constants.hpp", + "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/exp_sinh.hpp", + "external/sources/boost/boost/math/quadrature/gauss.hpp", + "external/sources/boost/boost/math/quadrature/gauss_kronrod.hpp", + "external/sources/boost/boost/math/quadrature/naive_monte_carlo.hpp", + "external/sources/boost/boost/math/quadrature/ooura_fourier_integrals.hpp", + "external/sources/boost/boost/math/quadrature/sinh_sinh.hpp", + "external/sources/boost/boost/math/quadrature/tanh_sinh.hpp", + "external/sources/boost/boost/math/quadrature/trapezoidal.hpp", + "external/sources/boost/boost/math/quadrature/wavelet_transforms.hpp", + "external/sources/boost/boost/math/quaternion.hpp", + "external/sources/boost/boost/math/special_functions.hpp", + "external/sources/boost/boost/math/special_functions/acosh.hpp", + "external/sources/boost/boost/math/special_functions/airy.hpp", + "external/sources/boost/boost/math/special_functions/asinh.hpp", + "external/sources/boost/boost/math/special_functions/atanh.hpp", + "external/sources/boost/boost/math/special_functions/bernoulli.hpp", + "external/sources/boost/boost/math/special_functions/bessel.hpp", + "external/sources/boost/boost/math/special_functions/bessel_iterators.hpp", + "external/sources/boost/boost/math/special_functions/bessel_prime.hpp", + "external/sources/boost/boost/math/special_functions/beta.hpp", + "external/sources/boost/boost/math/special_functions/binomial.hpp", + "external/sources/boost/boost/math/special_functions/cardinal_b_spline.hpp", + "external/sources/boost/boost/math/special_functions/cbrt.hpp", + "external/sources/boost/boost/math/special_functions/chebyshev.hpp", + "external/sources/boost/boost/math/special_functions/chebyshev_transform.hpp", + "external/sources/boost/boost/math/special_functions/cos_pi.hpp", + "external/sources/boost/boost/math/special_functions/daubechies_scaling.hpp", + "external/sources/boost/boost/math/special_functions/daubechies_wavelet.hpp", + "external/sources/boost/boost/math/special_functions/detail/airy_ai_bi_zero.hpp", + "external/sources/boost/boost/math/special_functions/detail/bernoulli_details.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_derivatives_linear.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_i0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_i1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_ik.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_j0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_j1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jn.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_zero.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_k0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_k1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_kn.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_y0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_y1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_yn.hpp", + "external/sources/boost/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp", + "external/sources/boost/boost/math/special_functions/detail/erf_inv.hpp", + "external/sources/boost/boost/math/special_functions/detail/fp_traits.hpp", + "external/sources/boost/boost/math/special_functions/detail/gamma_inva.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_0F1_bessel.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_addition_theorems_on_z.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_bessel.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_by_ratios.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_cf.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_a.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_abz.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_negative_b_regions.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_scaled_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_small_a_negative_b_by_ratio.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_cf.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pFq_checked_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pade.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_rational.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_separated_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/ibeta_inv_ab.hpp", + "external/sources/boost/boost/math/special_functions/detail/ibeta_inverse.hpp", + "external/sources/boost/boost/math/special_functions/detail/iconv.hpp", + "external/sources/boost/boost/math/special_functions/detail/igamma_inverse.hpp", + "external/sources/boost/boost/math/special_functions/detail/igamma_large.hpp", + "external/sources/boost/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", + "external/sources/boost/boost/math/special_functions/detail/lanczos_sse2.hpp", + "external/sources/boost/boost/math/special_functions/detail/lgamma_small.hpp", + "external/sources/boost/boost/math/special_functions/detail/polygamma.hpp", + "external/sources/boost/boost/math/special_functions/detail/round_fwd.hpp", + "external/sources/boost/boost/math/special_functions/detail/t_distribution_inv.hpp", + "external/sources/boost/boost/math/special_functions/detail/unchecked_bernoulli.hpp", + "external/sources/boost/boost/math/special_functions/detail/unchecked_factorial.hpp", + "external/sources/boost/boost/math/special_functions/digamma.hpp", + "external/sources/boost/boost/math/special_functions/ellint_1.hpp", + "external/sources/boost/boost/math/special_functions/ellint_2.hpp", + "external/sources/boost/boost/math/special_functions/ellint_3.hpp", + "external/sources/boost/boost/math/special_functions/ellint_d.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rc.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rd.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rf.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rg.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rj.hpp", + "external/sources/boost/boost/math/special_functions/erf.hpp", + "external/sources/boost/boost/math/special_functions/expint.hpp", + "external/sources/boost/boost/math/special_functions/expm1.hpp", + "external/sources/boost/boost/math/special_functions/factorials.hpp", + "external/sources/boost/boost/math/special_functions/fpclassify.hpp", + "external/sources/boost/boost/math/special_functions/gamma.hpp", + "external/sources/boost/boost/math/special_functions/gegenbauer.hpp", + "external/sources/boost/boost/math/special_functions/hankel.hpp", + "external/sources/boost/boost/math/special_functions/hermite.hpp", + "external/sources/boost/boost/math/special_functions/heuman_lambda.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_0F1.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_1F0.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_1F1.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_2F0.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_pFq.hpp", + "external/sources/boost/boost/math/special_functions/hypot.hpp", + "external/sources/boost/boost/math/special_functions/jacobi.hpp", + "external/sources/boost/boost/math/special_functions/jacobi_elliptic.hpp", + "external/sources/boost/boost/math/special_functions/jacobi_zeta.hpp", + "external/sources/boost/boost/math/special_functions/laguerre.hpp", + "external/sources/boost/boost/math/special_functions/lambert_w.hpp", + "external/sources/boost/boost/math/special_functions/lanczos.hpp", + "external/sources/boost/boost/math/special_functions/legendre.hpp", + "external/sources/boost/boost/math/special_functions/legendre_stieltjes.hpp", + "external/sources/boost/boost/math/special_functions/log1p.hpp", + "external/sources/boost/boost/math/special_functions/math_fwd.hpp", + "external/sources/boost/boost/math/special_functions/modf.hpp", + "external/sources/boost/boost/math/special_functions/next.hpp", + "external/sources/boost/boost/math/special_functions/nonfinite_num_facets.hpp", + "external/sources/boost/boost/math/special_functions/owens_t.hpp", + "external/sources/boost/boost/math/special_functions/polygamma.hpp", + "external/sources/boost/boost/math/special_functions/pow.hpp", + "external/sources/boost/boost/math/special_functions/powm1.hpp", + "external/sources/boost/boost/math/special_functions/prime.hpp", + "external/sources/boost/boost/math/special_functions/relative_difference.hpp", + "external/sources/boost/boost/math/special_functions/round.hpp", + "external/sources/boost/boost/math/special_functions/sign.hpp", + "external/sources/boost/boost/math/special_functions/sin_pi.hpp", + "external/sources/boost/boost/math/special_functions/sinc.hpp", + "external/sources/boost/boost/math/special_functions/sinhc.hpp", + "external/sources/boost/boost/math/special_functions/spherical_harmonic.hpp", + "external/sources/boost/boost/math/special_functions/sqrt1pm1.hpp", + "external/sources/boost/boost/math/special_functions/trigamma.hpp", + "external/sources/boost/boost/math/special_functions/trunc.hpp", + "external/sources/boost/boost/math/special_functions/ulp.hpp", + "external/sources/boost/boost/math/special_functions/zeta.hpp", + "external/sources/boost/boost/math/statistics/anderson_darling.hpp", + "external/sources/boost/boost/math/statistics/bivariate_statistics.hpp", + "external/sources/boost/boost/math/statistics/linear_regression.hpp", + "external/sources/boost/boost/math/statistics/ljung_box.hpp", + "external/sources/boost/boost/math/statistics/runs_test.hpp", + "external/sources/boost/boost/math/statistics/signal_statistics.hpp", + "external/sources/boost/boost/math/statistics/t_test.hpp", + "external/sources/boost/boost/math/statistics/univariate_statistics.hpp", + "external/sources/boost/boost/math/tools/atomic.hpp", + "external/sources/boost/boost/math/tools/big_constant.hpp", + "external/sources/boost/boost/math/tools/bivariate_statistics.hpp", + "external/sources/boost/boost/math/tools/complex.hpp", + "external/sources/boost/boost/math/tools/condition_numbers.hpp", + "external/sources/boost/boost/math/tools/config.hpp", + "external/sources/boost/boost/math/tools/convert_from_string.hpp", + "external/sources/boost/boost/math/tools/cxx03_warn.hpp", + "external/sources/boost/boost/math/tools/detail/is_const_iterable.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_9.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_9.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_9.hpp", + "external/sources/boost/boost/math/tools/fraction.hpp", + "external/sources/boost/boost/math/tools/minima.hpp", + "external/sources/boost/boost/math/tools/norms.hpp", + "external/sources/boost/boost/math/tools/numerical_differentiation.hpp", + "external/sources/boost/boost/math/tools/polynomial.hpp", + "external/sources/boost/boost/math/tools/polynomial_gcd.hpp", + "external/sources/boost/boost/math/tools/precision.hpp", + "external/sources/boost/boost/math/tools/promotion.hpp", + "external/sources/boost/boost/math/tools/rational.hpp", + "external/sources/boost/boost/math/tools/real_cast.hpp", + "external/sources/boost/boost/math/tools/recurrence.hpp", + "external/sources/boost/boost/math/tools/roots.hpp", + "external/sources/boost/boost/math/tools/series.hpp", + "external/sources/boost/boost/math/tools/signal_statistics.hpp", + "external/sources/boost/boost/math/tools/stats.hpp", + "external/sources/boost/boost/math/tools/test_value.hpp", + "external/sources/boost/boost/math/tools/toms748_solve.hpp", + "external/sources/boost/boost/math/tools/traits.hpp", + "external/sources/boost/boost/math/tools/tuple.hpp", + "external/sources/boost/boost/math/tools/univariate_statistics.hpp", + "external/sources/boost/boost/math/tools/user.hpp", + "external/sources/boost/boost/math/tools/workaround.hpp", + "external/sources/boost/boost/math/tr1.hpp", + "external/sources/boost/boost/math/tr1_c_macros.ipp", + "external/sources/boost/boost/math_fwd.hpp", + "external/sources/boost/boost/mem_fn.hpp", + "external/sources/boost/boost/memory_order.hpp", + "external/sources/boost/boost/metaparse.hpp", + "external/sources/boost/boost/metaparse/accept.hpp", + "external/sources/boost/boost/metaparse/accept_tag.hpp", + "external/sources/boost/boost/metaparse/accept_when.hpp", + "external/sources/boost/boost/metaparse/alphanum.hpp", + "external/sources/boost/boost/metaparse/always.hpp", + "external/sources/boost/boost/metaparse/always_c.hpp", + "external/sources/boost/boost/metaparse/change_error_message.hpp", + "external/sources/boost/boost/metaparse/config.hpp", + "external/sources/boost/boost/metaparse/debug_parsing_error.hpp", + "external/sources/boost/boost/metaparse/define_error.hpp", + "external/sources/boost/boost/metaparse/digit.hpp", + "external/sources/boost/boost/metaparse/digit_val.hpp", + "external/sources/boost/boost/metaparse/empty.hpp", + "external/sources/boost/boost/metaparse/entire_input.hpp", + "external/sources/boost/boost/metaparse/error/digit_expected.hpp", + "external/sources/boost/boost/metaparse/error/end_of_input_expected.hpp", + "external/sources/boost/boost/metaparse/error/index_out_of_range.hpp", + "external/sources/boost/boost/metaparse/error/letter_expected.hpp", + "external/sources/boost/boost/metaparse/error/literal_expected.hpp", + "external/sources/boost/boost/metaparse/error/none_of_the_expected_cases_found.hpp", + "external/sources/boost/boost/metaparse/error/unexpected_character.hpp", + "external/sources/boost/boost/metaparse/error/unexpected_end_of_input.hpp", + "external/sources/boost/boost/metaparse/error/unpaired.hpp", + "external/sources/boost/boost/metaparse/error/whitespace_expected.hpp", + "external/sources/boost/boost/metaparse/except.hpp", + "external/sources/boost/boost/metaparse/fail.hpp", + "external/sources/boost/boost/metaparse/fail_at_first_char_expected.hpp", + "external/sources/boost/boost/metaparse/fail_tag.hpp", + "external/sources/boost/boost/metaparse/first_of.hpp", + "external/sources/boost/boost/metaparse/foldl.hpp", + "external/sources/boost/boost/metaparse/foldl1.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/foldl_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/foldr.hpp", + "external/sources/boost/boost/metaparse/foldr1.hpp", + "external/sources/boost/boost/metaparse/foldr_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/foldr_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/foldr_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/get_col.hpp", + "external/sources/boost/boost/metaparse/get_line.hpp", + "external/sources/boost/boost/metaparse/get_message.hpp", + "external/sources/boost/boost/metaparse/get_position.hpp", + "external/sources/boost/boost/metaparse/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/get_remaining.hpp", + "external/sources/boost/boost/metaparse/get_result.hpp", + "external/sources/boost/boost/metaparse/grammar.hpp", + "external/sources/boost/boost/metaparse/if_.hpp", + "external/sources/boost/boost/metaparse/int_.hpp", + "external/sources/boost/boost/metaparse/is_error.hpp", + "external/sources/boost/boost/metaparse/iterate.hpp", + "external/sources/boost/boost/metaparse/iterate_c.hpp", + "external/sources/boost/boost/metaparse/keyword.hpp", + "external/sources/boost/boost/metaparse/last_of.hpp", + "external/sources/boost/boost/metaparse/letter.hpp", + "external/sources/boost/boost/metaparse/limit_one_char_except_size.hpp", + "external/sources/boost/boost/metaparse/limit_one_of_size.hpp", + "external/sources/boost/boost/metaparse/limit_sequence_size.hpp", + "external/sources/boost/boost/metaparse/limit_string_size.hpp", + "external/sources/boost/boost/metaparse/lit.hpp", + "external/sources/boost/boost/metaparse/lit_c.hpp", + "external/sources/boost/boost/metaparse/look_ahead.hpp", + "external/sources/boost/boost/metaparse/middle_of.hpp", + "external/sources/boost/boost/metaparse/next_char.hpp", + "external/sources/boost/boost/metaparse/next_line.hpp", + "external/sources/boost/boost/metaparse/nth_of.hpp", + "external/sources/boost/boost/metaparse/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/one_char.hpp", + "external/sources/boost/boost/metaparse/one_char_except.hpp", + "external/sources/boost/boost/metaparse/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/one_of.hpp", + "external/sources/boost/boost/metaparse/one_of_c.hpp", + "external/sources/boost/boost/metaparse/optional.hpp", + "external/sources/boost/boost/metaparse/range.hpp", + "external/sources/boost/boost/metaparse/range_c.hpp", + "external/sources/boost/boost/metaparse/reject.hpp", + "external/sources/boost/boost/metaparse/repeated.hpp", + "external/sources/boost/boost/metaparse/repeated1.hpp", + "external/sources/boost/boost/metaparse/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/repeated_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/repeated_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/return_.hpp", + "external/sources/boost/boost/metaparse/sequence.hpp", + "external/sources/boost/boost/metaparse/sequence_apply.hpp", + "external/sources/boost/boost/metaparse/source_position.hpp", + "external/sources/boost/boost/metaparse/source_position_tag.hpp", + "external/sources/boost/boost/metaparse/space.hpp", + "external/sources/boost/boost/metaparse/spaces.hpp", + "external/sources/boost/boost/metaparse/start.hpp", + "external/sources/boost/boost/metaparse/string.hpp", + "external/sources/boost/boost/metaparse/string_tag.hpp", + "external/sources/boost/boost/metaparse/token.hpp", + "external/sources/boost/boost/metaparse/transform.hpp", + "external/sources/boost/boost/metaparse/transform_error.hpp", + "external/sources/boost/boost/metaparse/transform_error_message.hpp", + "external/sources/boost/boost/metaparse/unless_error.hpp", + "external/sources/boost/boost/metaparse/util/digit_to_int.hpp", + "external/sources/boost/boost/metaparse/util/digit_to_int_c.hpp", + "external/sources/boost/boost/metaparse/util/in_range.hpp", + "external/sources/boost/boost/metaparse/util/in_range_c.hpp", + "external/sources/boost/boost/metaparse/util/int_to_digit.hpp", + "external/sources/boost/boost/metaparse/util/int_to_digit_c.hpp", + "external/sources/boost/boost/metaparse/util/is_digit.hpp", + "external/sources/boost/boost/metaparse/util/is_lcase_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_ucase_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_whitespace.hpp", + "external/sources/boost/boost/metaparse/util/is_whitespace_c.hpp", + "external/sources/boost/boost/metaparse/v1/accept.hpp", + "external/sources/boost/boost/metaparse/v1/accept_tag.hpp", + "external/sources/boost/boost/metaparse/v1/accept_when.hpp", + "external/sources/boost/boost/metaparse/v1/alphanum.hpp", + "external/sources/boost/boost/metaparse/v1/always.hpp", + "external/sources/boost/boost/metaparse/v1/always_c.hpp", + "external/sources/boost/boost/metaparse/v1/change_error_message.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/any_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/concat.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/empty_string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/eval_later_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c_skip_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/or_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_back.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_front.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_back_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/size.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/string_at.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp14/impl/any_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp14/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/empty_string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/is_none.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/later_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_char_except_not_used.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of_fwd_op.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_back.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_front.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_back_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_front_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/size.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/skip_seq.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/update_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/string.hpp", + "external/sources/boost/boost/metaparse/v1/debug_parsing_error.hpp", + "external/sources/boost/boost/metaparse/v1/define_error.hpp", + "external/sources/boost/boost/metaparse/v1/digit.hpp", + "external/sources/boost/boost/metaparse/v1/digit_val.hpp", + "external/sources/boost/boost/metaparse/v1/empty.hpp", + "external/sources/boost/boost/metaparse/v1/entire_input.hpp", + "external/sources/boost/boost/metaparse/v1/error/digit_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/end_of_input_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/expected_to_fail.hpp", + "external/sources/boost/boost/metaparse/v1/error/index_out_of_range.hpp", + "external/sources/boost/boost/metaparse/v1/error/letter_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/literal_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/none_of_the_expected_cases_found.hpp", + "external/sources/boost/boost/metaparse/v1/error/unexpected_character.hpp", + "external/sources/boost/boost/metaparse/v1/error/unexpected_end_of_input.hpp", + "external/sources/boost/boost/metaparse/v1/error/unpaired.hpp", + "external/sources/boost/boost/metaparse/v1/error/whitespace_expected.hpp", + "external/sources/boost/boost/metaparse/v1/except.hpp", + "external/sources/boost/boost/metaparse/v1/fail.hpp", + "external/sources/boost/boost/metaparse/v1/fail_at_first_char_expected.hpp", + "external/sources/boost/boost/metaparse/v1/fail_tag.hpp", + "external/sources/boost/boost/metaparse/v1/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/foldl.hpp", + "external/sources/boost/boost/metaparse/v1/foldl1.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/foldr.hpp", + "external/sources/boost/boost/metaparse/v1/foldr1.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/accept.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_col.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_line.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_message.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_position.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_result.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/next_char.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/next_line.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/reject.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/source_position.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/get_col.hpp", + "external/sources/boost/boost/metaparse/v1/get_line.hpp", + "external/sources/boost/boost/metaparse/v1/get_message.hpp", + "external/sources/boost/boost/metaparse/v1/get_position.hpp", + "external/sources/boost/boost/metaparse/v1/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/v1/get_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/get_result.hpp", + "external/sources/boost/boost/metaparse/v1/grammar.hpp", + "external/sources/boost/boost/metaparse/v1/if_.hpp", + "external/sources/boost/boost/metaparse/v1/impl/apply_parser.hpp", + "external/sources/boost/boost/metaparse/v1/impl/assert_string_length.hpp", + "external/sources/boost/boost/metaparse/v1/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/impl/back_inserter.hpp", + "external/sources/boost/boost/metaparse/v1/impl/front_inserter.hpp", + "external/sources/boost/boost/metaparse/v1/impl/fwd/iterate_impl.hpp", + "external/sources/boost/boost/metaparse/v1/impl/has_type.hpp", + "external/sources/boost/boost/metaparse/v1/impl/is_char_c.hpp", + "external/sources/boost/boost/metaparse/v1/impl/iterate_impl.hpp", + "external/sources/boost/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp", + "external/sources/boost/boost/metaparse/v1/impl/next_digit.hpp", + "external/sources/boost/boost/metaparse/v1/impl/no_char.hpp", + "external/sources/boost/boost/metaparse/v1/impl/returns.hpp", + "external/sources/boost/boost/metaparse/v1/impl/string_iterator.hpp", + "external/sources/boost/boost/metaparse/v1/impl/string_iterator_tag.hpp", + "external/sources/boost/boost/metaparse/v1/impl/void_.hpp", + "external/sources/boost/boost/metaparse/v1/int_.hpp", + "external/sources/boost/boost/metaparse/v1/is_error.hpp", + "external/sources/boost/boost/metaparse/v1/iterate.hpp", + "external/sources/boost/boost/metaparse/v1/iterate_c.hpp", + "external/sources/boost/boost/metaparse/v1/keyword.hpp", + "external/sources/boost/boost/metaparse/v1/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/letter.hpp", + "external/sources/boost/boost/metaparse/v1/lit.hpp", + "external/sources/boost/boost/metaparse/v1/lit_c.hpp", + "external/sources/boost/boost/metaparse/v1/look_ahead.hpp", + "external/sources/boost/boost/metaparse/v1/middle_of.hpp", + "external/sources/boost/boost/metaparse/v1/next_char.hpp", + "external/sources/boost/boost/metaparse/v1/next_line.hpp", + "external/sources/boost/boost/metaparse/v1/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/one_char.hpp", + "external/sources/boost/boost/metaparse/v1/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/optional.hpp", + "external/sources/boost/boost/metaparse/v1/range.hpp", + "external/sources/boost/boost/metaparse/v1/range_c.hpp", + "external/sources/boost/boost/metaparse/v1/reject.hpp", + "external/sources/boost/boost/metaparse/v1/repeated.hpp", + "external/sources/boost/boost/metaparse/v1/repeated1.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/return_.hpp", + "external/sources/boost/boost/metaparse/v1/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/sequence_apply.hpp", + "external/sources/boost/boost/metaparse/v1/source_position.hpp", + "external/sources/boost/boost/metaparse/v1/source_position_tag.hpp", + "external/sources/boost/boost/metaparse/v1/space.hpp", + "external/sources/boost/boost/metaparse/v1/spaces.hpp", + "external/sources/boost/boost/metaparse/v1/start.hpp", + "external/sources/boost/boost/metaparse/v1/string.hpp", + "external/sources/boost/boost/metaparse/v1/string_tag.hpp", + "external/sources/boost/boost/metaparse/v1/swap.hpp", + "external/sources/boost/boost/metaparse/v1/token.hpp", + "external/sources/boost/boost/metaparse/v1/transform.hpp", + "external/sources/boost/boost/metaparse/v1/transform_error.hpp", + "external/sources/boost/boost/metaparse/v1/transform_error_message.hpp", + "external/sources/boost/boost/metaparse/v1/unless_error.hpp", + "external/sources/boost/boost/metaparse/v1/util/digit_to_int.hpp", + "external/sources/boost/boost/metaparse/v1/util/digit_to_int_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/in_range.hpp", + "external/sources/boost/boost/metaparse/v1/util/in_range_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/int_to_digit.hpp", + "external/sources/boost/boost/metaparse/v1/util/int_to_digit_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_digit.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_lcase_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_ucase_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_whitespace.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_whitespace_c.hpp", + "external/sources/boost/boost/metaparse/version.hpp", + "external/sources/boost/boost/move/adl_move_swap.hpp", + "external/sources/boost/boost/move/algo/adaptive_merge.hpp", + "external/sources/boost/boost/move/algo/adaptive_sort.hpp", + "external/sources/boost/boost/move/algo/detail/adaptive_sort_merge.hpp", + "external/sources/boost/boost/move/algo/detail/basic_op.hpp", + "external/sources/boost/boost/move/algo/detail/heap_sort.hpp", + "external/sources/boost/boost/move/algo/detail/insertion_sort.hpp", + "external/sources/boost/boost/move/algo/detail/is_sorted.hpp", + "external/sources/boost/boost/move/algo/detail/merge.hpp", + "external/sources/boost/boost/move/algo/detail/merge_sort.hpp", + "external/sources/boost/boost/move/algo/detail/pdqsort.hpp", + "external/sources/boost/boost/move/algo/detail/set_difference.hpp", + "external/sources/boost/boost/move/algo/move.hpp", + "external/sources/boost/boost/move/algo/predicate.hpp", + "external/sources/boost/boost/move/algo/unique.hpp", + "external/sources/boost/boost/move/algorithm.hpp", + "external/sources/boost/boost/move/core.hpp", + "external/sources/boost/boost/move/default_delete.hpp", + "external/sources/boost/boost/move/detail/config_begin.hpp", + "external/sources/boost/boost/move/detail/config_end.hpp", + "external/sources/boost/boost/move/detail/destruct_n.hpp", + "external/sources/boost/boost/move/detail/fwd_macros.hpp", + "external/sources/boost/boost/move/detail/iterator_to_raw_pointer.hpp", + "external/sources/boost/boost/move/detail/iterator_traits.hpp", + "external/sources/boost/boost/move/detail/meta_utils.hpp", + "external/sources/boost/boost/move/detail/meta_utils_core.hpp", + "external/sources/boost/boost/move/detail/move_helpers.hpp", + "external/sources/boost/boost/move/detail/placement_new.hpp", + "external/sources/boost/boost/move/detail/pointer_element.hpp", + "external/sources/boost/boost/move/detail/reverse_iterator.hpp", + "external/sources/boost/boost/move/detail/std_ns_begin.hpp", + "external/sources/boost/boost/move/detail/std_ns_end.hpp", + "external/sources/boost/boost/move/detail/to_raw_pointer.hpp", + "external/sources/boost/boost/move/detail/type_traits.hpp", + "external/sources/boost/boost/move/detail/unique_ptr_meta_utils.hpp", + "external/sources/boost/boost/move/detail/workaround.hpp", + "external/sources/boost/boost/move/iterator.hpp", + "external/sources/boost/boost/move/make_unique.hpp", + "external/sources/boost/boost/move/move.hpp", + "external/sources/boost/boost/move/traits.hpp", + "external/sources/boost/boost/move/unique_ptr.hpp", + "external/sources/boost/boost/move/utility.hpp", + "external/sources/boost/boost/move/utility_core.hpp", + "external/sources/boost/boost/mp11.hpp", + "external/sources/boost/boost/mp11/algorithm.hpp", + "external/sources/boost/boost/mp11/bind.hpp", + "external/sources/boost/boost/mp11/detail/config.hpp", + "external/sources/boost/boost/mp11/detail/mp_append.hpp", + "external/sources/boost/boost/mp11/detail/mp_copy_if.hpp", + "external/sources/boost/boost/mp11/detail/mp_count.hpp", + "external/sources/boost/boost/mp11/detail/mp_fold.hpp", + "external/sources/boost/boost/mp11/detail/mp_is_list.hpp", + "external/sources/boost/boost/mp11/detail/mp_list.hpp", + "external/sources/boost/boost/mp11/detail/mp_map_find.hpp", + "external/sources/boost/boost/mp11/detail/mp_min_element.hpp", + "external/sources/boost/boost/mp11/detail/mp_plus.hpp", + "external/sources/boost/boost/mp11/detail/mp_remove_if.hpp", + "external/sources/boost/boost/mp11/detail/mp_void.hpp", + "external/sources/boost/boost/mp11/detail/mp_with_index.hpp", + "external/sources/boost/boost/mp11/detail/mpl_common.hpp", + "external/sources/boost/boost/mp11/function.hpp", + "external/sources/boost/boost/mp11/integer_sequence.hpp", + "external/sources/boost/boost/mp11/integral.hpp", + "external/sources/boost/boost/mp11/list.hpp", + "external/sources/boost/boost/mp11/map.hpp", + "external/sources/boost/boost/mp11/mpl.hpp", + "external/sources/boost/boost/mp11/mpl_list.hpp", + "external/sources/boost/boost/mp11/mpl_tuple.hpp", + "external/sources/boost/boost/mp11/set.hpp", + "external/sources/boost/boost/mp11/tuple.hpp", + "external/sources/boost/boost/mp11/utility.hpp", + "external/sources/boost/boost/mp11/version.hpp", + "external/sources/boost/boost/mpi.hpp", + "external/sources/boost/boost/mpi/allocator.hpp", + "external/sources/boost/boost/mpi/cartesian_communicator.hpp", + "external/sources/boost/boost/mpi/collectives.hpp", + "external/sources/boost/boost/mpi/collectives/all_gather.hpp", + "external/sources/boost/boost/mpi/collectives/all_gatherv.hpp", + "external/sources/boost/boost/mpi/collectives/all_reduce.hpp", + "external/sources/boost/boost/mpi/collectives/all_to_all.hpp", + "external/sources/boost/boost/mpi/collectives/broadcast.hpp", + "external/sources/boost/boost/mpi/collectives/gather.hpp", + "external/sources/boost/boost/mpi/collectives/gatherv.hpp", + "external/sources/boost/boost/mpi/collectives/reduce.hpp", + "external/sources/boost/boost/mpi/collectives/scan.hpp", + "external/sources/boost/boost/mpi/collectives/scatter.hpp", + "external/sources/boost/boost/mpi/collectives/scatterv.hpp", + "external/sources/boost/boost/mpi/collectives_fwd.hpp", + "external/sources/boost/boost/mpi/communicator.hpp", + "external/sources/boost/boost/mpi/config.hpp", + "external/sources/boost/boost/mpi/datatype.hpp", + "external/sources/boost/boost/mpi/datatype_fwd.hpp", + "external/sources/boost/boost/mpi/detail/antiques.hpp", + "external/sources/boost/boost/mpi/detail/binary_buffer_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/binary_buffer_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/broadcast_sc.hpp", + "external/sources/boost/boost/mpi/detail/communicator_sc.hpp", + "external/sources/boost/boost/mpi/detail/computation_tree.hpp", + "external/sources/boost/boost/mpi/detail/content_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/forward_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/forward_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/forward_skeleton_iarchive.hpp", + "external/sources/boost/boost/mpi/detail/forward_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_cache.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_primitive.hpp", + "external/sources/boost/boost/mpi/detail/offsets.hpp", + "external/sources/boost/boost/mpi/detail/packed_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/packed_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/point_to_point.hpp", + "external/sources/boost/boost/mpi/detail/request_handlers.hpp", + "external/sources/boost/boost/mpi/detail/text_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/environment.hpp", + "external/sources/boost/boost/mpi/error_string.hpp", + "external/sources/boost/boost/mpi/exception.hpp", + "external/sources/boost/boost/mpi/graph_communicator.hpp", + "external/sources/boost/boost/mpi/group.hpp", + "external/sources/boost/boost/mpi/inplace.hpp", + "external/sources/boost/boost/mpi/intercommunicator.hpp", + "external/sources/boost/boost/mpi/nonblocking.hpp", + "external/sources/boost/boost/mpi/operations.hpp", + "external/sources/boost/boost/mpi/packed_iarchive.hpp", + "external/sources/boost/boost/mpi/packed_oarchive.hpp", + "external/sources/boost/boost/mpi/python.hpp", + "external/sources/boost/boost/mpi/python/config.hpp", + "external/sources/boost/boost/mpi/python/serialize.hpp", + "external/sources/boost/boost/mpi/python/skeleton_and_content.hpp", + "external/sources/boost/boost/mpi/request.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content_fwd.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content_types.hpp", + "external/sources/boost/boost/mpi/status.hpp", + "external/sources/boost/boost/mpi/timer.hpp", + "external/sources/boost/boost/mpl/O1_size.hpp", + "external/sources/boost/boost/mpl/O1_size_fwd.hpp", + "external/sources/boost/boost/mpl/accumulate.hpp", + "external/sources/boost/boost/mpl/advance.hpp", + "external/sources/boost/boost/mpl/advance_fwd.hpp", + "external/sources/boost/boost/mpl/alias.hpp", + "external/sources/boost/boost/mpl/always.hpp", + "external/sources/boost/boost/mpl/and.hpp", + "external/sources/boost/boost/mpl/apply.hpp", + "external/sources/boost/boost/mpl/apply_fwd.hpp", + "external/sources/boost/boost/mpl/apply_wrap.hpp", + "external/sources/boost/boost/mpl/arg.hpp", + "external/sources/boost/boost/mpl/arg_fwd.hpp", + "external/sources/boost/boost/mpl/arithmetic.hpp", + "external/sources/boost/boost/mpl/as_sequence.hpp", + "external/sources/boost/boost/mpl/assert.hpp", + "external/sources/boost/boost/mpl/at.hpp", + "external/sources/boost/boost/mpl/at_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/O1_size_impl.hpp", + "external/sources/boost/boost/mpl/aux_/adl_barrier.hpp", + "external/sources/boost/boost/mpl/aux_/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/apply_1st.hpp", + "external/sources/boost/boost/mpl/aux_/arg_typedef.hpp", + "external/sources/boost/boost/mpl/aux_/arithmetic_op.hpp", + "external/sources/boost/boost/mpl/aux_/arity.hpp", + "external/sources/boost/boost/mpl/aux_/arity_spec.hpp", + "external/sources/boost/boost/mpl/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/aux_/back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/aux_/common_name_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/comparison_op.hpp", + "external/sources/boost/boost/mpl/aux_/config/adl.hpp", + "external/sources/boost/boost/mpl/aux_/config/arrays.hpp", + "external/sources/boost/boost/mpl/aux_/config/bcc.hpp", + "external/sources/boost/boost/mpl/aux_/config/bind.hpp", + "external/sources/boost/boost/mpl/aux_/config/compiler.hpp", + "external/sources/boost/boost/mpl/aux_/config/ctps.hpp", + "external/sources/boost/boost/mpl/aux_/config/dependent_nttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/dmc_ambiguous_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/config/dtp.hpp", + "external/sources/boost/boost/mpl/aux_/config/eti.hpp", + "external/sources/boost/boost/mpl/aux_/config/forwarding.hpp", + "external/sources/boost/boost/mpl/aux_/config/gcc.hpp", + "external/sources/boost/boost/mpl/aux_/config/gpu.hpp", + "external/sources/boost/boost/mpl/aux_/config/has_apply.hpp", + "external/sources/boost/boost/mpl/aux_/config/has_xxx.hpp", + "external/sources/boost/boost/mpl/aux_/config/integral.hpp", + "external/sources/boost/boost/mpl/aux_/config/intel.hpp", + "external/sources/boost/boost/mpl/aux_/config/lambda.hpp", + "external/sources/boost/boost/mpl/aux_/config/msvc.hpp", + "external/sources/boost/boost/mpl/aux_/config/msvc_typename.hpp", + "external/sources/boost/boost/mpl/aux_/config/nttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/operators.hpp", + "external/sources/boost/boost/mpl/aux_/config/overload_resolution.hpp", + "external/sources/boost/boost/mpl/aux_/config/pp_counter.hpp", + "external/sources/boost/boost/mpl/aux_/config/preprocessor.hpp", + "external/sources/boost/boost/mpl/aux_/config/static_constant.hpp", + "external/sources/boost/boost/mpl/aux_/config/ttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/typeof.hpp", + "external/sources/boost/boost/mpl/aux_/config/use_preprocessed.hpp", + "external/sources/boost/boost/mpl/aux_/config/workaround.hpp", + "external/sources/boost/boost/mpl/aux_/contains_impl.hpp", + "external/sources/boost/boost/mpl/aux_/count_args.hpp", + "external/sources/boost/boost/mpl/aux_/count_impl.hpp", + "external/sources/boost/boost/mpl/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/aux_/filter_iter.hpp", + "external/sources/boost/boost/mpl/aux_/find_if_pred.hpp", + "external/sources/boost/boost/mpl/aux_/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/fold_impl_body.hpp", + "external/sources/boost/boost/mpl/aux_/fold_op.hpp", + "external/sources/boost/boost/mpl/aux_/fold_pred.hpp", + "external/sources/boost/boost/mpl/aux_/front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/has_apply.hpp", + "external/sources/boost/boost/mpl/aux_/has_begin.hpp", + "external/sources/boost/boost/mpl/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/aux_/has_rebind.hpp", + "external/sources/boost/boost/mpl/aux_/has_size.hpp", + "external/sources/boost/boost/mpl/aux_/has_tag.hpp", + "external/sources/boost/boost/mpl/aux_/has_type.hpp", + "external/sources/boost/boost/mpl/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/aux_/inserter_algorithm.hpp", + "external/sources/boost/boost/mpl/aux_/integral_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/is_msvc_eti_arg.hpp", + "external/sources/boost/boost/mpl/aux_/iter_apply.hpp", + "external/sources/boost/boost/mpl/aux_/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/iter_push_front.hpp", + "external/sources/boost/boost/mpl/aux_/joint_iter.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_arity_param.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_spec.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_support.hpp", + "external/sources/boost/boost/mpl/aux_/largest_int.hpp", + "external/sources/boost/boost/mpl/aux_/logical_op.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_dtw.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_eti_base.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_is_class.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_never_true.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_type.hpp", + "external/sources/boost/boost/mpl/aux_/na.hpp", + "external/sources/boost/boost/mpl/aux_/na_assert.hpp", + "external/sources/boost/boost/mpl/aux_/na_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/na_spec.hpp", + "external/sources/boost/boost/mpl/aux_/nested_type_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/nttp_decl.hpp", + "external/sources/boost/boost/mpl/aux_/numeric_cast_utils.hpp", + "external/sources/boost/boost/mpl/aux_/numeric_op.hpp", + "external/sources/boost/boost/mpl/aux_/order_impl.hpp", + "external/sources/boost/boost/mpl/aux_/overload_names.hpp", + "external/sources/boost/boost/mpl/aux_/partition_op.hpp", + "external/sources/boost/boost/mpl/aux_/pop_back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/pop_front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/add.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/def_params_tail.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/default_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/enum.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/ext_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/filter_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/is_seq.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/partial_spec_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/range.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/repeat.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/sub.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/token_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/tuple.hpp", + "external/sources/boost/boost/mpl/aux_/ptr_to_ref.hpp", + "external/sources/boost/boost/mpl/aux_/push_back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/push_front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/O1_size.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/back.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/empty.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/front.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/iterator.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/size.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/tag.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_fold_impl_body.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/sequence_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/shift_op.hpp", + "external/sources/boost/boost/mpl/aux_/single_element_iter.hpp", + "external/sources/boost/boost/mpl/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/aux_/sort_impl.hpp", + "external/sources/boost/boost/mpl/aux_/static_cast.hpp", + "external/sources/boost/boost/mpl/aux_/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/template_arity_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/test.hpp", + "external/sources/boost/boost/mpl/aux_/test/assert.hpp", + "external/sources/boost/boost/mpl/aux_/test/data.hpp", + "external/sources/boost/boost/mpl/aux_/test/test_case.hpp", + "external/sources/boost/boost/mpl/aux_/traits_lambda_spec.hpp", + "external/sources/boost/boost/mpl/aux_/transform_iter.hpp", + "external/sources/boost/boost/mpl/aux_/type_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/unwrap.hpp", + "external/sources/boost/boost/mpl/aux_/value_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/yes_no.hpp", + "external/sources/boost/boost/mpl/back.hpp", + "external/sources/boost/boost/mpl/back_fwd.hpp", + "external/sources/boost/boost/mpl/back_inserter.hpp", + "external/sources/boost/boost/mpl/base.hpp", + "external/sources/boost/boost/mpl/begin.hpp", + "external/sources/boost/boost/mpl/begin_end.hpp", + "external/sources/boost/boost/mpl/begin_end_fwd.hpp", + "external/sources/boost/boost/mpl/bind.hpp", + "external/sources/boost/boost/mpl/bind_fwd.hpp", + "external/sources/boost/boost/mpl/bitand.hpp", + "external/sources/boost/boost/mpl/bitor.hpp", + "external/sources/boost/boost/mpl/bitwise.hpp", + "external/sources/boost/boost/mpl/bitxor.hpp", + "external/sources/boost/boost/mpl/bool.hpp", + "external/sources/boost/boost/mpl/bool_fwd.hpp", + "external/sources/boost/boost/mpl/char.hpp", + "external/sources/boost/boost/mpl/char_fwd.hpp", + "external/sources/boost/boost/mpl/clear.hpp", + "external/sources/boost/boost/mpl/clear_fwd.hpp", + "external/sources/boost/boost/mpl/comparison.hpp", + "external/sources/boost/boost/mpl/contains.hpp", + "external/sources/boost/boost/mpl/contains_fwd.hpp", + "external/sources/boost/boost/mpl/copy.hpp", + "external/sources/boost/boost/mpl/copy_if.hpp", + "external/sources/boost/boost/mpl/count.hpp", + "external/sources/boost/boost/mpl/count_fwd.hpp", + "external/sources/boost/boost/mpl/count_if.hpp", + "external/sources/boost/boost/mpl/deque.hpp", + "external/sources/boost/boost/mpl/deref.hpp", + "external/sources/boost/boost/mpl/distance.hpp", + "external/sources/boost/boost/mpl/distance_fwd.hpp", + "external/sources/boost/boost/mpl/divides.hpp", + "external/sources/boost/boost/mpl/empty.hpp", + "external/sources/boost/boost/mpl/empty_base.hpp", + "external/sources/boost/boost/mpl/empty_fwd.hpp", + "external/sources/boost/boost/mpl/empty_sequence.hpp", + "external/sources/boost/boost/mpl/end.hpp", + "external/sources/boost/boost/mpl/equal.hpp", + "external/sources/boost/boost/mpl/equal_to.hpp", + "external/sources/boost/boost/mpl/erase.hpp", + "external/sources/boost/boost/mpl/erase_fwd.hpp", + "external/sources/boost/boost/mpl/erase_key.hpp", + "external/sources/boost/boost/mpl/erase_key_fwd.hpp", + "external/sources/boost/boost/mpl/eval_if.hpp", + "external/sources/boost/boost/mpl/filter_view.hpp", + "external/sources/boost/boost/mpl/find.hpp", + "external/sources/boost/boost/mpl/find_if.hpp", + "external/sources/boost/boost/mpl/fold.hpp", + "external/sources/boost/boost/mpl/for_each.hpp", + "external/sources/boost/boost/mpl/front.hpp", + "external/sources/boost/boost/mpl/front_fwd.hpp", + "external/sources/boost/boost/mpl/front_inserter.hpp", + "external/sources/boost/boost/mpl/get_tag.hpp", + "external/sources/boost/boost/mpl/greater.hpp", + "external/sources/boost/boost/mpl/greater_equal.hpp", + "external/sources/boost/boost/mpl/has_key.hpp", + "external/sources/boost/boost/mpl/has_key_fwd.hpp", + "external/sources/boost/boost/mpl/has_xxx.hpp", + "external/sources/boost/boost/mpl/identity.hpp", + "external/sources/boost/boost/mpl/if.hpp", + "external/sources/boost/boost/mpl/index_if.hpp", + "external/sources/boost/boost/mpl/index_of.hpp", + "external/sources/boost/boost/mpl/inherit.hpp", + "external/sources/boost/boost/mpl/inherit_linearly.hpp", + "external/sources/boost/boost/mpl/insert.hpp", + "external/sources/boost/boost/mpl/insert_fwd.hpp", + "external/sources/boost/boost/mpl/insert_range.hpp", + "external/sources/boost/boost/mpl/insert_range_fwd.hpp", + "external/sources/boost/boost/mpl/inserter.hpp", + "external/sources/boost/boost/mpl/int.hpp", + "external/sources/boost/boost/mpl/int_fwd.hpp", + "external/sources/boost/boost/mpl/integral_c.hpp", + "external/sources/boost/boost/mpl/integral_c_fwd.hpp", + "external/sources/boost/boost/mpl/integral_c_tag.hpp", + "external/sources/boost/boost/mpl/is_placeholder.hpp", + "external/sources/boost/boost/mpl/is_sequence.hpp", + "external/sources/boost/boost/mpl/iter_fold.hpp", + "external/sources/boost/boost/mpl/iter_fold_if.hpp", + "external/sources/boost/boost/mpl/iterator_category.hpp", + "external/sources/boost/boost/mpl/iterator_range.hpp", + "external/sources/boost/boost/mpl/iterator_tags.hpp", + "external/sources/boost/boost/mpl/joint_view.hpp", + "external/sources/boost/boost/mpl/key_type.hpp", + "external/sources/boost/boost/mpl/key_type_fwd.hpp", + "external/sources/boost/boost/mpl/lambda.hpp", + "external/sources/boost/boost/mpl/lambda_fwd.hpp", + "external/sources/boost/boost/mpl/less.hpp", + "external/sources/boost/boost/mpl/less_equal.hpp", + "external/sources/boost/boost/mpl/limits/arity.hpp", + "external/sources/boost/boost/mpl/limits/list.hpp", + "external/sources/boost/boost/mpl/limits/map.hpp", + "external/sources/boost/boost/mpl/limits/set.hpp", + "external/sources/boost/boost/mpl/limits/string.hpp", + "external/sources/boost/boost/mpl/limits/unrolling.hpp", + "external/sources/boost/boost/mpl/limits/vector.hpp", + "external/sources/boost/boost/mpl/list.hpp", + "external/sources/boost/boost/mpl/list/aux_/O1_size.hpp", + "external/sources/boost/boost/mpl/list/aux_/begin_end.hpp", + "external/sources/boost/boost/mpl/list/aux_/clear.hpp", + "external/sources/boost/boost/mpl/list/aux_/empty.hpp", + "external/sources/boost/boost/mpl/list/aux_/front.hpp", + "external/sources/boost/boost/mpl/list/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/list/aux_/item.hpp", + "external/sources/boost/boost/mpl/list/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/list/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/list/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/pop_front.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/push_back.hpp", + "external/sources/boost/boost/mpl/list/aux_/push_front.hpp", + "external/sources/boost/boost/mpl/list/aux_/size.hpp", + "external/sources/boost/boost/mpl/list/aux_/tag.hpp", + "external/sources/boost/boost/mpl/list/list0.hpp", + "external/sources/boost/boost/mpl/list/list0_c.hpp", + "external/sources/boost/boost/mpl/list/list10.hpp", + "external/sources/boost/boost/mpl/list/list10_c.hpp", + "external/sources/boost/boost/mpl/list/list20.hpp", + "external/sources/boost/boost/mpl/list/list20_c.hpp", + "external/sources/boost/boost/mpl/list/list30.hpp", + "external/sources/boost/boost/mpl/list/list30_c.hpp", + "external/sources/boost/boost/mpl/list/list40.hpp", + "external/sources/boost/boost/mpl/list/list40_c.hpp", + "external/sources/boost/boost/mpl/list/list50.hpp", + "external/sources/boost/boost/mpl/list/list50_c.hpp", + "external/sources/boost/boost/mpl/list_c.hpp", + "external/sources/boost/boost/mpl/logical.hpp", + "external/sources/boost/boost/mpl/long.hpp", + "external/sources/boost/boost/mpl/long_fwd.hpp", + "external/sources/boost/boost/mpl/lower_bound.hpp", + "external/sources/boost/boost/mpl/map.hpp", + "external/sources/boost/boost/mpl/map/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/contains_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/map/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/item.hpp", + "external/sources/boost/boost/mpl/map/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/map/aux_/key_type_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/map0.hpp", + "external/sources/boost/boost/mpl/map/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/tag.hpp", + "external/sources/boost/boost/mpl/map/aux_/value_type_impl.hpp", + "external/sources/boost/boost/mpl/map/map0.hpp", + "external/sources/boost/boost/mpl/map/map10.hpp", + "external/sources/boost/boost/mpl/map/map20.hpp", + "external/sources/boost/boost/mpl/map/map30.hpp", + "external/sources/boost/boost/mpl/map/map40.hpp", + "external/sources/boost/boost/mpl/map/map50.hpp", + "external/sources/boost/boost/mpl/math/fixed_c.hpp", + "external/sources/boost/boost/mpl/math/is_even.hpp", + "external/sources/boost/boost/mpl/math/rational_c.hpp", + "external/sources/boost/boost/mpl/max.hpp", + "external/sources/boost/boost/mpl/max_element.hpp", + "external/sources/boost/boost/mpl/min.hpp", + "external/sources/boost/boost/mpl/min_element.hpp", + "external/sources/boost/boost/mpl/min_max.hpp", + "external/sources/boost/boost/mpl/minus.hpp", + "external/sources/boost/boost/mpl/modulus.hpp", + "external/sources/boost/boost/mpl/multiplies.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/count_impl.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/item.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/multiset0.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/tag.hpp", + "external/sources/boost/boost/mpl/multiset/multiset0.hpp", + "external/sources/boost/boost/mpl/negate.hpp", + "external/sources/boost/boost/mpl/next.hpp", + "external/sources/boost/boost/mpl/next_prior.hpp", + "external/sources/boost/boost/mpl/not.hpp", + "external/sources/boost/boost/mpl/not_equal_to.hpp", + "external/sources/boost/boost/mpl/numeric_cast.hpp", + "external/sources/boost/boost/mpl/or.hpp", + "external/sources/boost/boost/mpl/order.hpp", + "external/sources/boost/boost/mpl/order_fwd.hpp", + "external/sources/boost/boost/mpl/pair.hpp", + "external/sources/boost/boost/mpl/pair_view.hpp", + "external/sources/boost/boost/mpl/partition.hpp", + "external/sources/boost/boost/mpl/placeholders.hpp", + "external/sources/boost/boost/mpl/plus.hpp", + "external/sources/boost/boost/mpl/pop_back.hpp", + "external/sources/boost/boost/mpl/pop_back_fwd.hpp", + "external/sources/boost/boost/mpl/pop_front.hpp", + "external/sources/boost/boost/mpl/pop_front_fwd.hpp", + "external/sources/boost/boost/mpl/print.hpp", + "external/sources/boost/boost/mpl/prior.hpp", + "external/sources/boost/boost/mpl/protect.hpp", + "external/sources/boost/boost/mpl/push_back.hpp", + "external/sources/boost/boost/mpl/push_back_fwd.hpp", + "external/sources/boost/boost/mpl/push_front.hpp", + "external/sources/boost/boost/mpl/push_front_fwd.hpp", + "external/sources/boost/boost/mpl/quote.hpp", + "external/sources/boost/boost/mpl/range_c.hpp", + "external/sources/boost/boost/mpl/remove.hpp", + "external/sources/boost/boost/mpl/remove_if.hpp", + "external/sources/boost/boost/mpl/replace.hpp", + "external/sources/boost/boost/mpl/replace_if.hpp", + "external/sources/boost/boost/mpl/reverse.hpp", + "external/sources/boost/boost/mpl/reverse_fold.hpp", + "external/sources/boost/boost/mpl/reverse_iter_fold.hpp", + "external/sources/boost/boost/mpl/same_as.hpp", + "external/sources/boost/boost/mpl/sequence_tag.hpp", + "external/sources/boost/boost/mpl/sequence_tag_fwd.hpp", + "external/sources/boost/boost/mpl/set.hpp", + "external/sources/boost/boost/mpl/set/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/set/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/item.hpp", + "external/sources/boost/boost/mpl/set/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/set/aux_/key_type_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/set/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/set0.hpp", + "external/sources/boost/boost/mpl/set/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/tag.hpp", + "external/sources/boost/boost/mpl/set/aux_/value_type_impl.hpp", + "external/sources/boost/boost/mpl/set/set0.hpp", + "external/sources/boost/boost/mpl/set/set0_c.hpp", + "external/sources/boost/boost/mpl/set/set10.hpp", + "external/sources/boost/boost/mpl/set/set10_c.hpp", + "external/sources/boost/boost/mpl/set/set20.hpp", + "external/sources/boost/boost/mpl/set/set20_c.hpp", + "external/sources/boost/boost/mpl/set/set30.hpp", + "external/sources/boost/boost/mpl/set/set30_c.hpp", + "external/sources/boost/boost/mpl/set/set40.hpp", + "external/sources/boost/boost/mpl/set/set40_c.hpp", + "external/sources/boost/boost/mpl/set/set50.hpp", + "external/sources/boost/boost/mpl/set/set50_c.hpp", + "external/sources/boost/boost/mpl/set_c.hpp", + "external/sources/boost/boost/mpl/shift_left.hpp", + "external/sources/boost/boost/mpl/shift_right.hpp", + "external/sources/boost/boost/mpl/single_view.hpp", + "external/sources/boost/boost/mpl/size.hpp", + "external/sources/boost/boost/mpl/size_fwd.hpp", + "external/sources/boost/boost/mpl/size_t.hpp", + "external/sources/boost/boost/mpl/size_t_fwd.hpp", + "external/sources/boost/boost/mpl/sizeof.hpp", + "external/sources/boost/boost/mpl/sort.hpp", + "external/sources/boost/boost/mpl/stable_partition.hpp", + "external/sources/boost/boost/mpl/string.hpp", + "external/sources/boost/boost/mpl/switch.hpp", + "external/sources/boost/boost/mpl/tag.hpp", + "external/sources/boost/boost/mpl/times.hpp", + "external/sources/boost/boost/mpl/transform.hpp", + "external/sources/boost/boost/mpl/transform_view.hpp", + "external/sources/boost/boost/mpl/unique.hpp", + "external/sources/boost/boost/mpl/unpack_args.hpp", + "external/sources/boost/boost/mpl/upper_bound.hpp", + "external/sources/boost/boost/mpl/value_type.hpp", + "external/sources/boost/boost/mpl/value_type_fwd.hpp", + "external/sources/boost/boost/mpl/vector.hpp", + "external/sources/boost/boost/mpl/vector/aux_/O1_size.hpp", + "external/sources/boost/boost/mpl/vector/aux_/at.hpp", + "external/sources/boost/boost/mpl/vector/aux_/back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/begin_end.hpp", + "external/sources/boost/boost/mpl/vector/aux_/clear.hpp", + "external/sources/boost/boost/mpl/vector/aux_/empty.hpp", + "external/sources/boost/boost/mpl/vector/aux_/front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/vector/aux_/item.hpp", + "external/sources/boost/boost/mpl/vector/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/vector/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/vector/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/pop_back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/pop_front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/push_back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/push_front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/size.hpp", + "external/sources/boost/boost/mpl/vector/aux_/tag.hpp", + "external/sources/boost/boost/mpl/vector/aux_/vector0.hpp", + "external/sources/boost/boost/mpl/vector/vector0.hpp", + "external/sources/boost/boost/mpl/vector/vector0_c.hpp", + "external/sources/boost/boost/mpl/vector/vector10.hpp", + "external/sources/boost/boost/mpl/vector/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/vector20.hpp", + "external/sources/boost/boost/mpl/vector/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/vector30.hpp", + "external/sources/boost/boost/mpl/vector/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/vector40.hpp", + "external/sources/boost/boost/mpl/vector/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/vector50.hpp", + "external/sources/boost/boost/mpl/vector/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector_c.hpp", + "external/sources/boost/boost/mpl/void.hpp", + "external/sources/boost/boost/mpl/void_fwd.hpp", + "external/sources/boost/boost/mpl/zip_view.hpp", + "external/sources/boost/boost/msm/active_state_switching_policies.hpp", + "external/sources/boost/boost/msm/back/args.hpp", + "external/sources/boost/boost/msm/back/bind_helpers.hpp", + "external/sources/boost/boost/msm/back/common_types.hpp", + "external/sources/boost/boost/msm/back/copy_policies.hpp", + "external/sources/boost/boost/msm/back/default_compile_policy.hpp", + "external/sources/boost/boost/msm/back/dispatch_table.hpp", + "external/sources/boost/boost/msm/back/favor_compile_time.hpp", + "external/sources/boost/boost/msm/back/fold_to_list.hpp", + "external/sources/boost/boost/msm/back/history_policies.hpp", + "external/sources/boost/boost/msm/back/metafunctions.hpp", + "external/sources/boost/boost/msm/back/mpl_graph_fsm_check.hpp", + "external/sources/boost/boost/msm/back/no_fsm_check.hpp", + "external/sources/boost/boost/msm/back/queue_container_circular.hpp", + "external/sources/boost/boost/msm/back/queue_container_deque.hpp", + "external/sources/boost/boost/msm/back/state_machine.hpp", + "external/sources/boost/boost/msm/back/tools.hpp", + "external/sources/boost/boost/msm/common.hpp", + "external/sources/boost/boost/msm/event_traits.hpp", + "external/sources/boost/boost/msm/front/common_states.hpp", + "external/sources/boost/boost/msm/front/completion_event.hpp", + "external/sources/boost/boost/msm/front/detail/common_states.hpp", + "external/sources/boost/boost/msm/front/detail/row2_helper.hpp", + "external/sources/boost/boost/msm/front/euml/algorithm.hpp", + "external/sources/boost/boost/msm/front/euml/common.hpp", + "external/sources/boost/boost/msm/front/euml/container.hpp", + "external/sources/boost/boost/msm/front/euml/euml.hpp", + "external/sources/boost/boost/msm/front/euml/euml_typeof.hpp", + "external/sources/boost/boost/msm/front/euml/guard_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/iteration.hpp", + "external/sources/boost/boost/msm/front/euml/operator.hpp", + "external/sources/boost/boost/msm/front/euml/phoenix_placeholders.hpp", + "external/sources/boost/boost/msm/front/euml/querying.hpp", + "external/sources/boost/boost/msm/front/euml/state_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/stl.hpp", + "external/sources/boost/boost/msm/front/euml/stt_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/transformation.hpp", + "external/sources/boost/boost/msm/front/functor_row.hpp", + "external/sources/boost/boost/msm/front/internal_row.hpp", + "external/sources/boost/boost/msm/front/row2.hpp", + "external/sources/boost/boost/msm/front/state_machine_def.hpp", + "external/sources/boost/boost/msm/front/states.hpp", + "external/sources/boost/boost/msm/mpl_graph/adjacency_list_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/breadth_first_search.hpp", + "external/sources/boost/boost/msm/mpl_graph/depth_first_search.hpp", + "external/sources/boost/boost/msm/mpl_graph/detail/adjacency_list_graph.ipp", + "external/sources/boost/boost/msm/mpl_graph/detail/graph_implementation_interface.ipp", + "external/sources/boost/boost/msm/mpl_graph/detail/incidence_list_graph.ipp", + "external/sources/boost/boost/msm/mpl_graph/incidence_list_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/mpl_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/mpl_utils.hpp", + "external/sources/boost/boost/msm/mpl_graph/search_colors.hpp", + "external/sources/boost/boost/msm/msm_grammar.hpp", + "external/sources/boost/boost/msm/proto_config.hpp", + "external/sources/boost/boost/msm/row_tags.hpp", + "external/sources/boost/boost/multi_array.hpp", + "external/sources/boost/boost/multi_array/algorithm.hpp", + "external/sources/boost/boost/multi_array/base.hpp", + "external/sources/boost/boost/multi_array/collection_concept.hpp", + "external/sources/boost/boost/multi_array/concept_checks.hpp", + "external/sources/boost/boost/multi_array/copy_array.hpp", + "external/sources/boost/boost/multi_array/extent_gen.hpp", + "external/sources/boost/boost/multi_array/extent_range.hpp", + "external/sources/boost/boost/multi_array/index_gen.hpp", + "external/sources/boost/boost/multi_array/index_range.hpp", + "external/sources/boost/boost/multi_array/iterator.hpp", + "external/sources/boost/boost/multi_array/multi_array_ref.hpp", + "external/sources/boost/boost/multi_array/range_list.hpp", + "external/sources/boost/boost/multi_array/storage_order.hpp", + "external/sources/boost/boost/multi_array/subarray.hpp", + "external/sources/boost/boost/multi_array/types.hpp", + "external/sources/boost/boost/multi_array/view.hpp", + "external/sources/boost/boost/multi_index/composite_key.hpp", + "external/sources/boost/boost/multi_index/detail/access_specifier.hpp", + "external/sources/boost/boost/multi_index/detail/adl_swap.hpp", + "external/sources/boost/boost/multi_index/detail/allocator_traits.hpp", + "external/sources/boost/boost/multi_index/detail/archive_constructed.hpp", + "external/sources/boost/boost/multi_index/detail/auto_space.hpp", + "external/sources/boost/boost/multi_index/detail/base_type.hpp", + "external/sources/boost/boost/multi_index/detail/bidir_node_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/bucket_array.hpp", + "external/sources/boost/boost/multi_index/detail/cons_stdtuple.hpp", + "external/sources/boost/boost/multi_index/detail/converter.hpp", + "external/sources/boost/boost/multi_index/detail/copy_map.hpp", + "external/sources/boost/boost/multi_index/detail/define_if_constexpr_macro.hpp", + "external/sources/boost/boost/multi_index/detail/do_not_copy_elements_tag.hpp", + "external/sources/boost/boost/multi_index/detail/duplicates_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/has_tag.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_args.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/header_holder.hpp", + "external/sources/boost/boost/multi_index/detail/ignore_wstrict_aliasing.hpp", + "external/sources/boost/boost/multi_index/detail/index_base.hpp", + "external/sources/boost/boost/multi_index/detail/index_loader.hpp", + "external/sources/boost/boost/multi_index/detail/index_matcher.hpp", + "external/sources/boost/boost/multi_index/detail/index_node_base.hpp", + "external/sources/boost/boost/multi_index/detail/index_saver.hpp", + "external/sources/boost/boost/multi_index/detail/invariant_assert.hpp", + "external/sources/boost/boost/multi_index/detail/is_function.hpp", + "external/sources/boost/boost/multi_index/detail/is_index_list.hpp", + "external/sources/boost/boost/multi_index/detail/is_transparent.hpp", + "external/sources/boost/boost/multi_index/detail/iter_adaptor.hpp", + "external/sources/boost/boost/multi_index/detail/modify_key_adaptor.hpp", + "external/sources/boost/boost/multi_index/detail/no_duplicate_tags.hpp", + "external/sources/boost/boost/multi_index/detail/node_handle.hpp", + "external/sources/boost/boost/multi_index/detail/node_type.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_args.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_impl.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_impl_fwd.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/promotes_arg.hpp", + "external/sources/boost/boost/multi_index/detail/raw_ptr.hpp", + "external/sources/boost/boost/multi_index/detail/restore_wstrict_aliasing.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_loader.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_ptr_array.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_node_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/rnk_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/safe_mode.hpp", + "external/sources/boost/boost/multi_index/detail/scope_guard.hpp", + "external/sources/boost/boost/multi_index/detail/seq_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/seq_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/serialization_version.hpp", + "external/sources/boost/boost/multi_index/detail/uintptr_type.hpp", + "external/sources/boost/boost/multi_index/detail/unbounded.hpp", + "external/sources/boost/boost/multi_index/detail/undef_if_constexpr_macro.hpp", + "external/sources/boost/boost/multi_index/detail/value_compare.hpp", + "external/sources/boost/boost/multi_index/detail/vartempl_support.hpp", + "external/sources/boost/boost/multi_index/global_fun.hpp", + "external/sources/boost/boost/multi_index/hashed_index.hpp", + "external/sources/boost/boost/multi_index/hashed_index_fwd.hpp", + "external/sources/boost/boost/multi_index/identity.hpp", + "external/sources/boost/boost/multi_index/identity_fwd.hpp", + "external/sources/boost/boost/multi_index/indexed_by.hpp", + "external/sources/boost/boost/multi_index/key.hpp", + "external/sources/boost/boost/multi_index/key_extractors.hpp", + "external/sources/boost/boost/multi_index/mem_fun.hpp", + "external/sources/boost/boost/multi_index/member.hpp", + "external/sources/boost/boost/multi_index/ordered_index.hpp", + "external/sources/boost/boost/multi_index/ordered_index_fwd.hpp", + "external/sources/boost/boost/multi_index/random_access_index.hpp", + "external/sources/boost/boost/multi_index/random_access_index_fwd.hpp", + "external/sources/boost/boost/multi_index/ranked_index.hpp", + "external/sources/boost/boost/multi_index/ranked_index_fwd.hpp", + "external/sources/boost/boost/multi_index/safe_mode_errors.hpp", + "external/sources/boost/boost/multi_index/sequenced_index.hpp", + "external/sources/boost/boost/multi_index/sequenced_index_fwd.hpp", + "external/sources/boost/boost/multi_index/tag.hpp", + "external/sources/boost/boost/multi_index_container.hpp", + "external/sources/boost/boost/multi_index_container_fwd.hpp", + "external/sources/boost/boost/multiprecision/complex128.hpp", + "external/sources/boost/boost/multiprecision/complex_adaptor.hpp", + "external/sources/boost/boost/multiprecision/concepts/mp_number_archetypes.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float/io.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float/transcendental.hpp", + "external/sources/boost/boost/multiprecision/cpp_complex.hpp", + "external/sources/boost/boost/multiprecision/cpp_dec_float.hpp", + "external/sources/boost/boost/multiprecision/cpp_int.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/add.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/bitwise.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/checked.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/comparison.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/cpp_int_config.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/divide.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/import_export.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/limits.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/literals.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/misc.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/multiply.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/serialize.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/value_pack.hpp", + "external/sources/boost/boost/multiprecision/debug_adaptor.hpp", + "external/sources/boost/boost/multiprecision/detail/atomic.hpp", + "external/sources/boost/boost/multiprecision/detail/big_lanczos.hpp", + "external/sources/boost/boost/multiprecision/detail/bitscan.hpp", + "external/sources/boost/boost/multiprecision/detail/constexpr.hpp", + "external/sources/boost/boost/multiprecision/detail/default_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/digits.hpp", + "external/sources/boost/boost/multiprecision/detail/dynamic_array.hpp", + "external/sources/boost/boost/multiprecision/detail/et_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/float_string_cvt.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/constants.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/pow.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/trig.hpp", + "external/sources/boost/boost/multiprecision/detail/generic_interconvert.hpp", + "external/sources/boost/boost/multiprecision/detail/integer_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/itos.hpp", + "external/sources/boost/boost/multiprecision/detail/min_max.hpp", + "external/sources/boost/boost/multiprecision/detail/no_et_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/number_base.hpp", + "external/sources/boost/boost/multiprecision/detail/number_compare.hpp", + "external/sources/boost/boost/multiprecision/detail/precision.hpp", + "external/sources/boost/boost/multiprecision/detail/rebind.hpp", + "external/sources/boost/boost/multiprecision/detail/ublas_interop.hpp", + "external/sources/boost/boost/multiprecision/detail/utype_helper.hpp", + "external/sources/boost/boost/multiprecision/eigen.hpp", + "external/sources/boost/boost/multiprecision/float128.hpp", + "external/sources/boost/boost/multiprecision/gmp.hpp", + "external/sources/boost/boost/multiprecision/integer.hpp", + "external/sources/boost/boost/multiprecision/logged_adaptor.hpp", + "external/sources/boost/boost/multiprecision/miller_rabin.hpp", + "external/sources/boost/boost/multiprecision/mpc.hpp", + "external/sources/boost/boost/multiprecision/mpfi.hpp", + "external/sources/boost/boost/multiprecision/mpfr.hpp", + "external/sources/boost/boost/multiprecision/number.hpp", + "external/sources/boost/boost/multiprecision/random.hpp", + "external/sources/boost/boost/multiprecision/rational_adaptor.hpp", + "external/sources/boost/boost/multiprecision/tommath.hpp", + "external/sources/boost/boost/multiprecision/traits/explicit_conversion.hpp", + "external/sources/boost/boost/multiprecision/traits/extract_exponent_type.hpp", + "external/sources/boost/boost/multiprecision/traits/is_backend.hpp", + "external/sources/boost/boost/multiprecision/traits/is_byte_container.hpp", + "external/sources/boost/boost/multiprecision/traits/is_restricted_conversion.hpp", + "external/sources/boost/boost/multiprecision/traits/is_variable_precision.hpp", + "external/sources/boost/boost/next_prior.hpp", + "external/sources/boost/boost/non_type.hpp", + "external/sources/boost/boost/noncopyable.hpp", + "external/sources/boost/boost/nondet_random.hpp", + "external/sources/boost/boost/none.hpp", + "external/sources/boost/boost/none_t.hpp", + "external/sources/boost/boost/nowide/args.hpp", + "external/sources/boost/boost/nowide/config.hpp", + "external/sources/boost/boost/nowide/convert.hpp", + "external/sources/boost/boost/nowide/cstdio.hpp", + "external/sources/boost/boost/nowide/cstdlib.hpp", + "external/sources/boost/boost/nowide/detail/convert.hpp", + "external/sources/boost/boost/nowide/detail/utf.hpp", + "external/sources/boost/boost/nowide/filebuf.hpp", + "external/sources/boost/boost/nowide/filesystem.hpp", + "external/sources/boost/boost/nowide/fstream.hpp", + "external/sources/boost/boost/nowide/iostream.hpp", + "external/sources/boost/boost/nowide/replacement.hpp", + "external/sources/boost/boost/nowide/stackstring.hpp", + "external/sources/boost/boost/nowide/stat.hpp", + "external/sources/boost/boost/nowide/utf/convert.hpp", + "external/sources/boost/boost/nowide/utf/utf.hpp", + "external/sources/boost/boost/nowide/utf8_codecvt.hpp", + "external/sources/boost/boost/nowide/windows.hpp", + "external/sources/boost/boost/numeric/conversion/bounds.hpp", + "external/sources/boost/boost/numeric/conversion/cast.hpp", + "external/sources/boost/boost/numeric/conversion/conversion_traits.hpp", + "external/sources/boost/boost/numeric/conversion/converter.hpp", + "external/sources/boost/boost/numeric/conversion/converter_policies.hpp", + "external/sources/boost/boost/numeric/conversion/detail/bounds.hpp", + "external/sources/boost/boost/numeric/conversion/detail/conversion_traits.hpp", + "external/sources/boost/boost/numeric/conversion/detail/converter.hpp", + "external/sources/boost/boost/numeric/conversion/detail/int_float_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/detail/is_subranged.hpp", + "external/sources/boost/boost/numeric/conversion/detail/meta.hpp", + "external/sources/boost/boost/numeric/conversion/detail/numeric_cast_traits.hpp", + "external/sources/boost/boost/numeric/conversion/detail/old_numeric_cast.hpp", + "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp", + "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp", + "external/sources/boost/boost/numeric/conversion/detail/sign_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/int_float_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/int_float_mixture_enum.hpp", + "external/sources/boost/boost/numeric/conversion/is_subranged.hpp", + "external/sources/boost/boost/numeric/conversion/numeric_cast_traits.hpp", + "external/sources/boost/boost/numeric/conversion/sign_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/sign_mixture_enum.hpp", + "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture_enum.hpp", + "external/sources/boost/boost/numeric/interval.hpp", + "external/sources/boost/boost/numeric/interval/arith.hpp", + "external/sources/boost/boost/numeric/interval/arith2.hpp", + "external/sources/boost/boost/numeric/interval/arith3.hpp", + "external/sources/boost/boost/numeric/interval/checking.hpp", + "external/sources/boost/boost/numeric/interval/compare.hpp", + "external/sources/boost/boost/numeric/interval/compare/certain.hpp", + "external/sources/boost/boost/numeric/interval/compare/explicit.hpp", + "external/sources/boost/boost/numeric/interval/compare/lexicographic.hpp", + "external/sources/boost/boost/numeric/interval/compare/possible.hpp", + "external/sources/boost/boost/numeric/interval/compare/set.hpp", + "external/sources/boost/boost/numeric/interval/compare/tribool.hpp", + "external/sources/boost/boost/numeric/interval/constants.hpp", + "external/sources/boost/boost/numeric/interval/detail/alpha_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/bcc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/bugs.hpp", + "external/sources/boost/boost/numeric/interval/detail/c99_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/c99sub_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/division.hpp", + "external/sources/boost/boost/numeric/interval/detail/ia64_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/interval_prototype.hpp", + "external/sources/boost/boost/numeric/interval/detail/msvc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/ppc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/sparc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/test_input.hpp", + "external/sources/boost/boost/numeric/interval/detail/x86_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/x86gcc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/ext/integer.hpp", + "external/sources/boost/boost/numeric/interval/ext/x86_fast_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/hw_rounding.hpp", + "external/sources/boost/boost/numeric/interval/interval.hpp", + "external/sources/boost/boost/numeric/interval/io.hpp", + "external/sources/boost/boost/numeric/interval/limits.hpp", + "external/sources/boost/boost/numeric/interval/policies.hpp", + "external/sources/boost/boost/numeric/interval/rounded_arith.hpp", + "external/sources/boost/boost/numeric/interval/rounded_transc.hpp", + "external/sources/boost/boost/numeric/interval/rounding.hpp", + "external/sources/boost/boost/numeric/interval/transc.hpp", + "external/sources/boost/boost/numeric/interval/utility.hpp", + "external/sources/boost/boost/numeric/interval/utility_fwd.hpp", + "external/sources/boost/boost/numeric/odeint.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/array_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/default_operations.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/extract_value_type.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/for_each.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/macros.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/multi_array_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/norm_result_type.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/range_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/vector_space_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/config.hpp", + "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/gsl/gsl_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/external/mkl/mkl_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_nested_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_vector_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/implicit_euler_mtl4.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_copy.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_nested_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_abs.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_copy.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_same_instance.hpp", + "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_resize.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/check_adapter.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/functors.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/max_step_checker.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/null_observer.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/observer_collection.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/adaptive_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/adaptive_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/const_step_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/const_step_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/detail/ode_iterator_base.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/n_step_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/times_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/functors.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/null_observer.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/observer_collection.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/n_step_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/n_step_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/times_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/times_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adaptive_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/algebra_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_step_result.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adaptive_adams_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_operations.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/rotating_buffer.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/explicit_generic_rk.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/extrapolation_stepper.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_dense_output_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_dopri5.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_fehlberg78.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/make_controlled.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/make_dense_output.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/implicit_euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/modified_midpoint.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_controller.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_dense_output.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_fehlberg78.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/stepper_categories.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_m4_mclachlan.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_mclachlan.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/velocity_verlet.hpp", + "external/sources/boost/boost/numeric/odeint/util/bind.hpp", + "external/sources/boost/boost/numeric/odeint/util/copy.hpp", + "external/sources/boost/boost/numeric/odeint/util/detail/is_range.hpp", + "external/sources/boost/boost/numeric/odeint/util/detail/less_with_sign.hpp", + "external/sources/boost/boost/numeric/odeint/util/is_pair.hpp", + "external/sources/boost/boost/numeric/odeint/util/is_resizeable.hpp", + "external/sources/boost/boost/numeric/odeint/util/multi_array_adaption.hpp", + "external/sources/boost/boost/numeric/odeint/util/n_ary_helper.hpp", + "external/sources/boost/boost/numeric/odeint/util/odeint_error.hpp", + "external/sources/boost/boost/numeric/odeint/util/resize.hpp", + "external/sources/boost/boost/numeric/odeint/util/resizer.hpp", + "external/sources/boost/boost/numeric/odeint/util/same_instance.hpp", + "external/sources/boost/boost/numeric/odeint/util/same_size.hpp", + "external/sources/boost/boost/numeric/odeint/util/split.hpp", + "external/sources/boost/boost/numeric/odeint/util/split_adaptor.hpp", + "external/sources/boost/boost/numeric/odeint/util/state_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/util/stepper_traits.hpp", + "external/sources/boost/boost/numeric/odeint/util/ublas_matrix_expression.patch", + "external/sources/boost/boost/numeric/odeint/util/ublas_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/util/unit_helper.hpp", + "external/sources/boost/boost/numeric/odeint/util/unwrap_reference.hpp", + "external/sources/boost/boost/numeric/odeint/version.hpp", + "external/sources/boost/boost/numeric/ublas/assignment.hpp", + "external/sources/boost/boost/numeric/ublas/banded.hpp", + "external/sources/boost/boost/numeric/ublas/blas.hpp", + "external/sources/boost/boost/numeric/ublas/detail/concepts.hpp", + "external/sources/boost/boost/numeric/ublas/detail/config.hpp", + "external/sources/boost/boost/numeric/ublas/detail/definitions.hpp", + "external/sources/boost/boost/numeric/ublas/detail/documentation.hpp", + "external/sources/boost/boost/numeric/ublas/detail/duff.hpp", + "external/sources/boost/boost/numeric/ublas/detail/iterator.hpp", + "external/sources/boost/boost/numeric/ublas/detail/matrix_assign.hpp", + "external/sources/boost/boost/numeric/ublas/detail/raw.hpp", + "external/sources/boost/boost/numeric/ublas/detail/returntype_deduction.hpp", + "external/sources/boost/boost/numeric/ublas/detail/temporary.hpp", + "external/sources/boost/boost/numeric/ublas/detail/vector_assign.hpp", + "external/sources/boost/boost/numeric/ublas/doxydoc.hpp", + "external/sources/boost/boost/numeric/ublas/exception.hpp", + "external/sources/boost/boost/numeric/ublas/experimental/sparse_view.hpp", + "external/sources/boost/boost/numeric/ublas/expression_types.hpp", + "external/sources/boost/boost/numeric/ublas/functional.hpp", + "external/sources/boost/boost/numeric/ublas/fwd.hpp", + "external/sources/boost/boost/numeric/ublas/hermitian.hpp", + "external/sources/boost/boost/numeric/ublas/io.hpp", + "external/sources/boost/boost/numeric/ublas/lu.hpp", + "external/sources/boost/boost/numeric/ublas/matrix.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_expression.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_proxy.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_vector.hpp", + "external/sources/boost/boost/numeric/ublas/opencl.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/elementwise.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/library.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/matrix.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/misc.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/operations.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/prod.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/transpose.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/vector.hpp", + "external/sources/boost/boost/numeric/ublas/operation.hpp", + "external/sources/boost/boost/numeric/ublas/operation/begin.hpp", + "external/sources/boost/boost/numeric/ublas/operation/c_array.hpp", + "external/sources/boost/boost/numeric/ublas/operation/end.hpp", + "external/sources/boost/boost/numeric/ublas/operation/num_columns.hpp", + "external/sources/boost/boost/numeric/ublas/operation/num_rows.hpp", + "external/sources/boost/boost/numeric/ublas/operation/size.hpp", + "external/sources/boost/boost/numeric/ublas/operation_blocked.hpp", + "external/sources/boost/boost/numeric/ublas/operation_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/operations.hpp", + "external/sources/boost/boost/numeric/ublas/storage.hpp", + "external/sources/boost/boost/numeric/ublas/storage_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/symmetric.hpp", + "external/sources/boost/boost/numeric/ublas/tags.hpp", + "external/sources/boost/boost/numeric/ublas/tensor.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/algorithms.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/expression.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/extents.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/functions.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/index.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multi_index.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multi_index_utility.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multiplication.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/operators_arithmetic.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/operators_comparison.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/ostream.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/storage_traits.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/strides.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/tensor.hpp", + "external/sources/boost/boost/numeric/ublas/traits.hpp", + "external/sources/boost/boost/numeric/ublas/traits/c_array.hpp", + "external/sources/boost/boost/numeric/ublas/traits/const_iterator_type.hpp", + "external/sources/boost/boost/numeric/ublas/traits/iterator_type.hpp", + "external/sources/boost/boost/numeric/ublas/triangular.hpp", + "external/sources/boost/boost/numeric/ublas/vector.hpp", + "external/sources/boost/boost/numeric/ublas/vector_expression.hpp", + "external/sources/boost/boost/numeric/ublas/vector_of_vector.hpp", + "external/sources/boost/boost/numeric/ublas/vector_proxy.hpp", + "external/sources/boost/boost/numeric/ublas/vector_sparse.hpp", + "external/sources/boost/boost/operators.hpp", + "external/sources/boost/boost/operators_v1.hpp", + "external/sources/boost/boost/optional.hpp", + "external/sources/boost/boost/optional/bad_optional_access.hpp", + "external/sources/boost/boost/optional/detail/experimental_traits.hpp", + "external/sources/boost/boost/optional/detail/old_optional_implementation.hpp", + "external/sources/boost/boost/optional/detail/optional_aligned_storage.hpp", + "external/sources/boost/boost/optional/detail/optional_config.hpp", + "external/sources/boost/boost/optional/detail/optional_factory_support.hpp", + "external/sources/boost/boost/optional/detail/optional_reference_spec.hpp", + "external/sources/boost/boost/optional/detail/optional_relops.hpp", + "external/sources/boost/boost/optional/detail/optional_swap.hpp", + "external/sources/boost/boost/optional/detail/optional_trivially_copyable_base.hpp", + "external/sources/boost/boost/optional/optional.hpp", + "external/sources/boost/boost/optional/optional_fwd.hpp", + "external/sources/boost/boost/optional/optional_io.hpp", + "external/sources/boost/boost/outcome.hpp", + "external/sources/boost/boost/outcome/bad_access.hpp", + "external/sources/boost/boost/outcome/basic_outcome.hpp", + "external/sources/boost/boost/outcome/basic_result.hpp", + "external/sources/boost/boost/outcome/boost_outcome.hpp", + "external/sources/boost/boost/outcome/boost_result.hpp", + "external/sources/boost/boost/outcome/config.hpp", + "external/sources/boost/boost/outcome/convert.hpp", + "external/sources/boost/boost/outcome/coroutine_support.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers_impl.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_failure_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_error_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_final.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_storage.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_value_observers.hpp", + "external/sources/boost/boost/outcome/detail/coroutine_support.ipp", + "external/sources/boost/boost/outcome/detail/revision.hpp", + "external/sources/boost/boost/outcome/detail/trait_std_error_code.hpp", + "external/sources/boost/boost/outcome/detail/trait_std_exception.hpp", + "external/sources/boost/boost/outcome/detail/value_storage.hpp", + "external/sources/boost/boost/outcome/detail/version.hpp", + "external/sources/boost/boost/outcome/experimental/coroutine_support.hpp", + "external/sources/boost/boost/outcome/experimental/result.h", + "external/sources/boost/boost/outcome/experimental/status-code/com_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/config.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_generic_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_win32_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/win32_code_to_generic_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/error.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/errored_status_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/generic_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/getaddrinfo_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/iostream_support.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/nt_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/posix_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/quick_status_code_from_enum.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/result.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code_domain.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code_ptr.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_error.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/std_error_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_code_from_exception.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_error2.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/win32_code.hpp", + "external/sources/boost/boost/outcome/experimental/status_outcome.hpp", + "external/sources/boost/boost/outcome/experimental/status_result.hpp", + "external/sources/boost/boost/outcome/iostream_support.hpp", + "external/sources/boost/boost/outcome/outcome.hpp", + "external/sources/boost/boost/outcome/policy/all_narrow.hpp", + "external/sources/boost/boost/outcome/policy/base.hpp", + "external/sources/boost/boost/outcome/policy/fail_to_compile_observers.hpp", + "external/sources/boost/boost/outcome/policy/outcome_error_code_throw_as_system_error.hpp", + "external/sources/boost/boost/outcome/policy/outcome_exception_ptr_rethrow.hpp", + "external/sources/boost/boost/outcome/policy/result_error_code_throw_as_system_error.hpp", + "external/sources/boost/boost/outcome/policy/result_exception_ptr_rethrow.hpp", + "external/sources/boost/boost/outcome/policy/terminate.hpp", + "external/sources/boost/boost/outcome/policy/throw_bad_result_access.hpp", + "external/sources/boost/boost/outcome/result.hpp", + "external/sources/boost/boost/outcome/std_outcome.hpp", + "external/sources/boost/boost/outcome/std_result.hpp", + "external/sources/boost/boost/outcome/success_failure.hpp", + "external/sources/boost/boost/outcome/trait.hpp", + "external/sources/boost/boost/outcome/try.hpp", + "external/sources/boost/boost/outcome/utils.hpp", + "external/sources/boost/boost/parameter.hpp", + "external/sources/boost/boost/parameter/are_tagged_arguments.hpp", + "external/sources/boost/boost/parameter/aux_/always_true_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/arg_list.hpp", + "external/sources/boost/boost/parameter/aux_/as_lvalue.hpp", + "external/sources/boost/boost/parameter/aux_/augment_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/cast.hpp", + "external/sources/boost/boost/parameter/aux_/default.hpp", + "external/sources/boost/boost/parameter/aux_/has_nested_template_fn.hpp", + "external/sources/boost/boost/parameter/aux_/is_maybe.hpp", + "external/sources/boost/boost/parameter/aux_/is_placeholder.hpp", + "external/sources/boost/boost/parameter/aux_/is_tagged_argument.hpp", + "external/sources/boost/boost/parameter/aux_/lambda_tag.hpp", + "external/sources/boost/boost/parameter/aux_/maybe.hpp", + "external/sources/boost/boost/parameter/aux_/name.hpp", + "external/sources/boost/boost/parameter/aux_/pack/as_parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/pack/deduce_tag.hpp", + "external/sources/boost/boost/parameter/aux_/pack/deduced_item.hpp", + "external/sources/boost/boost/parameter/aux_/pack/insert_tagged.hpp", + "external/sources/boost/boost/parameter/aux_/pack/is_named_argument.hpp", + "external/sources/boost/boost/parameter/aux_/pack/item.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_arg_list.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_deduced_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_parameter_spec_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/pack/predicate.hpp", + "external/sources/boost/boost/parameter/aux_/pack/satisfies.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_deduced.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_type.hpp", + "external/sources/boost/boost/parameter/aux_/pack/unmatched_argument.hpp", + "external/sources/boost/boost/parameter/aux_/parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/parenthesized_type.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/argument_pack.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/match.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/flatten.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/for_each_pred.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/arity_range.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/flatten.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_cast.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_name.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/specification.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/split_args.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/is_binary.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/is_nullary.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/nullptr.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/qualifier.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/seq_enum.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/seq_merge.hpp", + "external/sources/boost/boost/parameter/aux_/python/invoker.hpp", + "external/sources/boost/boost/parameter/aux_/python/invoker_iterate.hpp", + "external/sources/boost/boost/parameter/aux_/result_of0.hpp", + "external/sources/boost/boost/parameter/aux_/set.hpp", + "external/sources/boost/boost/parameter/aux_/tag.hpp", + "external/sources/boost/boost/parameter/aux_/tagged_argument.hpp", + "external/sources/boost/boost/parameter/aux_/tagged_argument_fwd.hpp", + "external/sources/boost/boost/parameter/aux_/template_keyword.hpp", + "external/sources/boost/boost/parameter/aux_/unwrap_cv_reference.hpp", + "external/sources/boost/boost/parameter/aux_/use_default.hpp", + "external/sources/boost/boost/parameter/aux_/use_default_tag.hpp", + "external/sources/boost/boost/parameter/aux_/void.hpp", + "external/sources/boost/boost/parameter/aux_/yesno.hpp", + "external/sources/boost/boost/parameter/binding.hpp", + "external/sources/boost/boost/parameter/compose.hpp", + "external/sources/boost/boost/parameter/config.hpp", + "external/sources/boost/boost/parameter/deduced.hpp", + "external/sources/boost/boost/parameter/is_argument_pack.hpp", + "external/sources/boost/boost/parameter/keyword.hpp", + "external/sources/boost/boost/parameter/keyword_fwd.hpp", + "external/sources/boost/boost/parameter/macros.hpp", + "external/sources/boost/boost/parameter/match.hpp", + "external/sources/boost/boost/parameter/name.hpp", + "external/sources/boost/boost/parameter/nested_keyword.hpp", + "external/sources/boost/boost/parameter/optional.hpp", + "external/sources/boost/boost/parameter/parameters.hpp", + "external/sources/boost/boost/parameter/preprocessor.hpp", + "external/sources/boost/boost/parameter/preprocessor_no_spec.hpp", + "external/sources/boost/boost/parameter/python.hpp", + "external/sources/boost/boost/parameter/required.hpp", + "external/sources/boost/boost/parameter/template_keyword.hpp", + "external/sources/boost/boost/parameter/value_type.hpp", + "external/sources/boost/boost/pending/bucket_sorter.hpp", + "external/sources/boost/boost/pending/container_traits.hpp", + "external/sources/boost/boost/pending/detail/disjoint_sets.hpp", + "external/sources/boost/boost/pending/detail/int_iterator.hpp", + "external/sources/boost/boost/pending/detail/property.hpp", + "external/sources/boost/boost/pending/disjoint_sets.hpp", + "external/sources/boost/boost/pending/fenced_priority_queue.hpp", + "external/sources/boost/boost/pending/fibonacci_heap.hpp", + "external/sources/boost/boost/pending/indirect_cmp.hpp", + "external/sources/boost/boost/pending/integer_log2.hpp", + "external/sources/boost/boost/pending/is_heap.hpp", + "external/sources/boost/boost/pending/iterator_adaptors.hpp", + "external/sources/boost/boost/pending/iterator_tests.hpp", + "external/sources/boost/boost/pending/mutable_heap.hpp", + "external/sources/boost/boost/pending/mutable_queue.hpp", + "external/sources/boost/boost/pending/property.hpp", + "external/sources/boost/boost/pending/property_serialize.hpp", + "external/sources/boost/boost/pending/queue.hpp", + "external/sources/boost/boost/pending/relaxed_heap.hpp", + "external/sources/boost/boost/pending/stringtok.hpp", + "external/sources/boost/boost/phoenix.hpp", + "external/sources/boost/boost/phoenix/bind.hpp", + "external/sources/boost/boost/phoenix/bind/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/bind_member_variable.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/member_function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/member_variable.hpp", + "external/sources/boost/boost/phoenix/config.hpp", + "external/sources/boost/boost/phoenix/core.hpp", + "external/sources/boost/boost/phoenix/core/actor.hpp", + "external/sources/boost/boost/phoenix/core/argument.hpp", + "external/sources/boost/boost/phoenix/core/arity.hpp", + "external/sources/boost/boost/phoenix/core/as_actor.hpp", + "external/sources/boost/boost/phoenix/core/call.hpp", + "external/sources/boost/boost/phoenix/core/debug.hpp", + "external/sources/boost/boost/phoenix/core/detail/argument.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_operator.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_result_of.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/call.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval_expr.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/index_sequence.hpp", + "external/sources/boost/boost/phoenix/core/domain.hpp", + "external/sources/boost/boost/phoenix/core/environment.hpp", + "external/sources/boost/boost/phoenix/core/expression.hpp", + "external/sources/boost/boost/phoenix/core/function_equal.hpp", + "external/sources/boost/boost/phoenix/core/is_actor.hpp", + "external/sources/boost/boost/phoenix/core/is_nullary.hpp", + "external/sources/boost/boost/phoenix/core/is_value.hpp", + "external/sources/boost/boost/phoenix/core/limits.hpp", + "external/sources/boost/boost/phoenix/core/meta_grammar.hpp", + "external/sources/boost/boost/phoenix/core/nothing.hpp", + "external/sources/boost/boost/phoenix/core/reference.hpp", + "external/sources/boost/boost/phoenix/core/terminal.hpp", + "external/sources/boost/boost/phoenix/core/terminal_fwd.hpp", + "external/sources/boost/boost/phoenix/core/v2_eval.hpp", + "external/sources/boost/boost/phoenix/core/value.hpp", + "external/sources/boost/boost/phoenix/debug.hpp", + "external/sources/boost/boost/phoenix/function.hpp", + "external/sources/boost/boost/phoenix/function/adapt_callable.hpp", + "external/sources/boost/boost/phoenix/function/adapt_function.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/function_operator.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_20.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_30.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_40.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_50.hpp", + "external/sources/boost/boost/phoenix/function/function.hpp", + "external/sources/boost/boost/phoenix/function/lazy_list.hpp", + "external/sources/boost/boost/phoenix/function/lazy_operator.hpp", + "external/sources/boost/boost/phoenix/function/lazy_prelude.hpp", + "external/sources/boost/boost/phoenix/function/lazy_reuse.hpp", + "external/sources/boost/boost/phoenix/function/lazy_signature.hpp", + "external/sources/boost/boost/phoenix/function/lazy_smart.hpp", + "external/sources/boost/boost/phoenix/fusion.hpp", + "external/sources/boost/boost/phoenix/fusion/at.hpp", + "external/sources/boost/boost/phoenix/object.hpp", + "external/sources/boost/boost/phoenix/object/const_cast.hpp", + "external/sources/boost/boost/phoenix/object/construct.hpp", + "external/sources/boost/boost/phoenix/object/delete.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/target.hpp", + "external/sources/boost/boost/phoenix/object/dynamic_cast.hpp", + "external/sources/boost/boost/phoenix/object/new.hpp", + "external/sources/boost/boost/phoenix/object/reinterpret_cast.hpp", + "external/sources/boost/boost/phoenix/object/static_cast.hpp", + "external/sources/boost/boost/phoenix/operator.hpp", + "external/sources/boost/boost/phoenix/operator/arithmetic.hpp", + "external/sources/boost/boost/phoenix/operator/bitwise.hpp", + "external/sources/boost/boost/phoenix/operator/comparison.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval_result_of.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_expr.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_gen.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/define_operator.hpp", + "external/sources/boost/boost/phoenix/operator/detail/undef_operator.hpp", + "external/sources/boost/boost/phoenix/operator/if_else.hpp", + "external/sources/boost/boost/phoenix/operator/io.hpp", + "external/sources/boost/boost/phoenix/operator/logical.hpp", + "external/sources/boost/boost/phoenix/operator/member.hpp", + "external/sources/boost/boost/phoenix/operator/self.hpp", + "external/sources/boost/boost/phoenix/phoenix.hpp", + "external/sources/boost/boost/phoenix/scope.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/local_gen.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_10.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_20.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_30.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_40.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_50.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_10.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_20.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_30.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_50.hpp", + "external/sources/boost/boost/phoenix/scope/detail/local_gen.hpp", + "external/sources/boost/boost/phoenix/scope/detail/local_variable.hpp", + "external/sources/boost/boost/phoenix/scope/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/let.hpp", + "external/sources/boost/boost/phoenix/scope/local_variable.hpp", + "external/sources/boost/boost/phoenix/scope/scoped_environment.hpp", + "external/sources/boost/boost/phoenix/scope/this.hpp", + "external/sources/boost/boost/phoenix/statement.hpp", + "external/sources/boost/boost/phoenix/statement/detail/catch_push_back.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/switch.hpp", + "external/sources/boost/boost/phoenix/statement/detail/try_catch_eval.hpp", + "external/sources/boost/boost/phoenix/statement/detail/try_catch_expression.hpp", + "external/sources/boost/boost/phoenix/statement/do_while.hpp", + "external/sources/boost/boost/phoenix/statement/for.hpp", + "external/sources/boost/boost/phoenix/statement/if.hpp", + "external/sources/boost/boost/phoenix/statement/sequence.hpp", + "external/sources/boost/boost/phoenix/statement/switch.hpp", + "external/sources/boost/boost/phoenix/statement/throw.hpp", + "external/sources/boost/boost/phoenix/statement/try_catch.hpp", + "external/sources/boost/boost/phoenix/statement/while.hpp", + "external/sources/boost/boost/phoenix/stl.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/begin.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/decay_array.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/end.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_equal_range.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_find.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_lower_bound.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove_if.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_reverse.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_sort.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_unique.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_upper_bound.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_set.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_list.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_set.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/iteration.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/querying.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/transformation.hpp", + "external/sources/boost/boost/phoenix/stl/cmath.hpp", + "external/sources/boost/boost/phoenix/stl/container.hpp", + "external/sources/boost/boost/phoenix/stl/container/container.hpp", + "external/sources/boost/boost/phoenix/stl/container/detail/container.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate_define.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate_undef.hpp", + "external/sources/boost/boost/phoenix/support/iterate.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_10.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_20.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_30.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_40.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_50.hpp", + "external/sources/boost/boost/phoenix/support/preprocessor/round.hpp", + "external/sources/boost/boost/phoenix/support/vector.hpp", + "external/sources/boost/boost/phoenix/version.hpp", + "external/sources/boost/boost/pointee.hpp", + "external/sources/boost/boost/pointer_cast.hpp", + "external/sources/boost/boost/pointer_to_other.hpp", + "external/sources/boost/boost/poly_collection/algorithm.hpp", + "external/sources/boost/boost/poly_collection/any_collection.hpp", + "external/sources/boost/boost/poly_collection/any_collection_fwd.hpp", + "external/sources/boost/boost/poly_collection/base_collection.hpp", + "external/sources/boost/boost/poly_collection/base_collection_fwd.hpp", + "external/sources/boost/boost/poly_collection/detail/allocator_adaptor.hpp", + "external/sources/boost/boost/poly_collection/detail/any_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/any_model.hpp", + "external/sources/boost/boost/poly_collection/detail/auto_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/base_model.hpp", + "external/sources/boost/boost/poly_collection/detail/callable_wrapper.hpp", + "external/sources/boost/boost/poly_collection/detail/callable_wrapper_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/function_model.hpp", + "external/sources/boost/boost/poly_collection/detail/functional.hpp", + "external/sources/boost/boost/poly_collection/detail/is_acceptable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_constructible.hpp", + "external/sources/boost/boost/poly_collection/detail/is_equality_comparable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_final.hpp", + "external/sources/boost/boost/poly_collection/detail/is_invocable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_nothrow_eq_comparable.hpp", + "external/sources/boost/boost/poly_collection/detail/iterator_impl.hpp", + "external/sources/boost/boost/poly_collection/detail/iterator_traits.hpp", + "external/sources/boost/boost/poly_collection/detail/packed_segment.hpp", + "external/sources/boost/boost/poly_collection/detail/poly_collection.hpp", + "external/sources/boost/boost/poly_collection/detail/segment.hpp", + "external/sources/boost/boost/poly_collection/detail/segment_backend.hpp", + "external/sources/boost/boost/poly_collection/detail/segment_split.hpp", + "external/sources/boost/boost/poly_collection/detail/split_segment.hpp", + "external/sources/boost/boost/poly_collection/detail/stride_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/type_info_map.hpp", + "external/sources/boost/boost/poly_collection/detail/type_restitution.hpp", + "external/sources/boost/boost/poly_collection/detail/value_holder.hpp", + "external/sources/boost/boost/poly_collection/exception.hpp", + "external/sources/boost/boost/poly_collection/function_collection.hpp", + "external/sources/boost/boost/poly_collection/function_collection_fwd.hpp", + "external/sources/boost/boost/polygon/detail/boolean_op.hpp", + "external/sources/boost/boost/polygon/detail/boolean_op_45.hpp", + "external/sources/boost/boost/polygon/detail/iterator_compact_to_points.hpp", + "external/sources/boost/boost/polygon/detail/iterator_geometry_to_set.hpp", + "external/sources/boost/boost/polygon/detail/iterator_points_to_compact.hpp", + "external/sources/boost/boost/polygon/detail/max_cover.hpp", + "external/sources/boost/boost/polygon/detail/minkowski.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_touch.hpp", + "external/sources/boost/boost/polygon/detail/polygon_90_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_90_touch.hpp", + "external/sources/boost/boost/polygon/detail/polygon_arbitrary_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_simplify.hpp", + "external/sources/boost/boost/polygon/detail/polygon_sort_adaptor.hpp", + "external/sources/boost/boost/polygon/detail/property_merge.hpp", + "external/sources/boost/boost/polygon/detail/property_merge_45.hpp", + "external/sources/boost/boost/polygon/detail/rectangle_formation.hpp", + "external/sources/boost/boost/polygon/detail/scan_arbitrary.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_ctypes.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_predicates.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_robust_fpt.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_structures.hpp", + "external/sources/boost/boost/polygon/gmp_override.hpp", + "external/sources/boost/boost/polygon/gtl.hpp", + "external/sources/boost/boost/polygon/interval_concept.hpp", + "external/sources/boost/boost/polygon/interval_data.hpp", + "external/sources/boost/boost/polygon/interval_traits.hpp", + "external/sources/boost/boost/polygon/isotropy.hpp", + "external/sources/boost/boost/polygon/point_concept.hpp", + "external/sources/boost/boost/polygon/point_data.hpp", + "external/sources/boost/boost/polygon/point_traits.hpp", + "external/sources/boost/boost/polygon/polygon.hpp", + "external/sources/boost/boost/polygon/polygon_45_data.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_45_with_holes_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_90_with_holes_data.hpp", + "external/sources/boost/boost/polygon/polygon_data.hpp", + "external/sources/boost/boost/polygon/polygon_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_traits.hpp", + "external/sources/boost/boost/polygon/polygon_with_holes_data.hpp", + "external/sources/boost/boost/polygon/rectangle_concept.hpp", + "external/sources/boost/boost/polygon/rectangle_data.hpp", + "external/sources/boost/boost/polygon/rectangle_traits.hpp", + "external/sources/boost/boost/polygon/segment_concept.hpp", + "external/sources/boost/boost/polygon/segment_data.hpp", + "external/sources/boost/boost/polygon/segment_traits.hpp", + "external/sources/boost/boost/polygon/segment_utils.hpp", + "external/sources/boost/boost/polygon/transform.hpp", + "external/sources/boost/boost/polygon/voronoi.hpp", + "external/sources/boost/boost/polygon/voronoi_builder.hpp", + "external/sources/boost/boost/polygon/voronoi_diagram.hpp", + "external/sources/boost/boost/polygon/voronoi_geometry_type.hpp", + "external/sources/boost/boost/polymorphic_cast.hpp", + "external/sources/boost/boost/polymorphic_pointer_cast.hpp", + "external/sources/boost/boost/pool/detail/for.m4", + "external/sources/boost/boost/pool/detail/guard.hpp", + "external/sources/boost/boost/pool/detail/mutex.hpp", + "external/sources/boost/boost/pool/detail/pool_construct.bat", + "external/sources/boost/boost/pool/detail/pool_construct.ipp", + "external/sources/boost/boost/pool/detail/pool_construct.m4", + "external/sources/boost/boost/pool/detail/pool_construct.sh", + "external/sources/boost/boost/pool/detail/pool_construct_simple.bat", + "external/sources/boost/boost/pool/detail/pool_construct_simple.ipp", + "external/sources/boost/boost/pool/detail/pool_construct_simple.m4", + "external/sources/boost/boost/pool/detail/pool_construct_simple.sh", + "external/sources/boost/boost/pool/object_pool.hpp", + "external/sources/boost/boost/pool/pool.hpp", + "external/sources/boost/boost/pool/pool_alloc.hpp", + "external/sources/boost/boost/pool/poolfwd.hpp", + "external/sources/boost/boost/pool/simple_segregated_storage.hpp", + "external/sources/boost/boost/pool/singleton_pool.hpp", + "external/sources/boost/boost/predef.h", + "external/sources/boost/boost/predef/architecture.h", + "external/sources/boost/boost/predef/architecture/alpha.h", + "external/sources/boost/boost/predef/architecture/arm.h", + "external/sources/boost/boost/predef/architecture/blackfin.h", + "external/sources/boost/boost/predef/architecture/convex.h", + "external/sources/boost/boost/predef/architecture/ia64.h", + "external/sources/boost/boost/predef/architecture/m68k.h", + "external/sources/boost/boost/predef/architecture/mips.h", + "external/sources/boost/boost/predef/architecture/parisc.h", + "external/sources/boost/boost/predef/architecture/ppc.h", + "external/sources/boost/boost/predef/architecture/ptx.h", + "external/sources/boost/boost/predef/architecture/pyramid.h", + "external/sources/boost/boost/predef/architecture/riscv.h", + "external/sources/boost/boost/predef/architecture/rs6k.h", + "external/sources/boost/boost/predef/architecture/sparc.h", + "external/sources/boost/boost/predef/architecture/superh.h", + "external/sources/boost/boost/predef/architecture/sys370.h", + "external/sources/boost/boost/predef/architecture/sys390.h", + "external/sources/boost/boost/predef/architecture/x86.h", + "external/sources/boost/boost/predef/architecture/x86/32.h", + "external/sources/boost/boost/predef/architecture/x86/64.h", + "external/sources/boost/boost/predef/architecture/z.h", + "external/sources/boost/boost/predef/compiler.h", + "external/sources/boost/boost/predef/compiler/borland.h", + "external/sources/boost/boost/predef/compiler/clang.h", + "external/sources/boost/boost/predef/compiler/comeau.h", + "external/sources/boost/boost/predef/compiler/compaq.h", + "external/sources/boost/boost/predef/compiler/diab.h", + "external/sources/boost/boost/predef/compiler/digitalmars.h", + "external/sources/boost/boost/predef/compiler/dignus.h", + "external/sources/boost/boost/predef/compiler/edg.h", + "external/sources/boost/boost/predef/compiler/ekopath.h", + "external/sources/boost/boost/predef/compiler/gcc.h", + "external/sources/boost/boost/predef/compiler/gcc_xml.h", + "external/sources/boost/boost/predef/compiler/greenhills.h", + "external/sources/boost/boost/predef/compiler/hp_acc.h", + "external/sources/boost/boost/predef/compiler/iar.h", + "external/sources/boost/boost/predef/compiler/ibm.h", + "external/sources/boost/boost/predef/compiler/intel.h", + "external/sources/boost/boost/predef/compiler/kai.h", + "external/sources/boost/boost/predef/compiler/llvm.h", + "external/sources/boost/boost/predef/compiler/metaware.h", + "external/sources/boost/boost/predef/compiler/metrowerks.h", + "external/sources/boost/boost/predef/compiler/microtec.h", + "external/sources/boost/boost/predef/compiler/mpw.h", + "external/sources/boost/boost/predef/compiler/nvcc.h", + "external/sources/boost/boost/predef/compiler/palm.h", + "external/sources/boost/boost/predef/compiler/pgi.h", + "external/sources/boost/boost/predef/compiler/sgi_mipspro.h", + "external/sources/boost/boost/predef/compiler/sunpro.h", + "external/sources/boost/boost/predef/compiler/tendra.h", + "external/sources/boost/boost/predef/compiler/visualc.h", + "external/sources/boost/boost/predef/compiler/watcom.h", + "external/sources/boost/boost/predef/detail/_cassert.h", + "external/sources/boost/boost/predef/detail/_exception.h", + "external/sources/boost/boost/predef/detail/comp_detected.h", + "external/sources/boost/boost/predef/detail/os_detected.h", + "external/sources/boost/boost/predef/detail/platform_detected.h", + "external/sources/boost/boost/predef/detail/test.h", + "external/sources/boost/boost/predef/detail/test_def.h", + "external/sources/boost/boost/predef/hardware.h", + "external/sources/boost/boost/predef/hardware/simd.h", + "external/sources/boost/boost/predef/hardware/simd/arm.h", + "external/sources/boost/boost/predef/hardware/simd/arm/versions.h", + "external/sources/boost/boost/predef/hardware/simd/ppc.h", + "external/sources/boost/boost/predef/hardware/simd/ppc/versions.h", + "external/sources/boost/boost/predef/hardware/simd/x86.h", + "external/sources/boost/boost/predef/hardware/simd/x86/versions.h", + "external/sources/boost/boost/predef/hardware/simd/x86_amd.h", + "external/sources/boost/boost/predef/hardware/simd/x86_amd/versions.h", + "external/sources/boost/boost/predef/language.h", + "external/sources/boost/boost/predef/language/cuda.h", + "external/sources/boost/boost/predef/language/objc.h", + "external/sources/boost/boost/predef/language/stdc.h", + "external/sources/boost/boost/predef/language/stdcpp.h", + "external/sources/boost/boost/predef/library.h", + "external/sources/boost/boost/predef/library/c.h", + "external/sources/boost/boost/predef/library/c/_prefix.h", + "external/sources/boost/boost/predef/library/c/cloudabi.h", + "external/sources/boost/boost/predef/library/c/gnu.h", + "external/sources/boost/boost/predef/library/c/uc.h", + "external/sources/boost/boost/predef/library/c/vms.h", + "external/sources/boost/boost/predef/library/c/zos.h", + "external/sources/boost/boost/predef/library/std.h", + "external/sources/boost/boost/predef/library/std/_prefix.h", + "external/sources/boost/boost/predef/library/std/cxx.h", + "external/sources/boost/boost/predef/library/std/dinkumware.h", + "external/sources/boost/boost/predef/library/std/libcomo.h", + "external/sources/boost/boost/predef/library/std/modena.h", + "external/sources/boost/boost/predef/library/std/msl.h", + "external/sources/boost/boost/predef/library/std/roguewave.h", + "external/sources/boost/boost/predef/library/std/sgi.h", + "external/sources/boost/boost/predef/library/std/stdcpp3.h", + "external/sources/boost/boost/predef/library/std/stlport.h", + "external/sources/boost/boost/predef/library/std/vacpp.h", + "external/sources/boost/boost/predef/make.h", + "external/sources/boost/boost/predef/os.h", + "external/sources/boost/boost/predef/os/aix.h", + "external/sources/boost/boost/predef/os/amigaos.h", + "external/sources/boost/boost/predef/os/beos.h", + "external/sources/boost/boost/predef/os/bsd.h", + "external/sources/boost/boost/predef/os/bsd/bsdi.h", + "external/sources/boost/boost/predef/os/bsd/dragonfly.h", + "external/sources/boost/boost/predef/os/bsd/free.h", + "external/sources/boost/boost/predef/os/bsd/net.h", + "external/sources/boost/boost/predef/os/bsd/open.h", + "external/sources/boost/boost/predef/os/cygwin.h", + "external/sources/boost/boost/predef/os/haiku.h", + "external/sources/boost/boost/predef/os/hpux.h", + "external/sources/boost/boost/predef/os/ios.h", + "external/sources/boost/boost/predef/os/irix.h", + "external/sources/boost/boost/predef/os/linux.h", + "external/sources/boost/boost/predef/os/macos.h", + "external/sources/boost/boost/predef/os/os400.h", + "external/sources/boost/boost/predef/os/qnxnto.h", + "external/sources/boost/boost/predef/os/solaris.h", + "external/sources/boost/boost/predef/os/unix.h", + "external/sources/boost/boost/predef/os/vms.h", + "external/sources/boost/boost/predef/os/windows.h", + "external/sources/boost/boost/predef/other.h", + "external/sources/boost/boost/predef/other/endian.h", + "external/sources/boost/boost/predef/other/workaround.h", + "external/sources/boost/boost/predef/platform.h", + "external/sources/boost/boost/predef/platform/android.h", + "external/sources/boost/boost/predef/platform/cloudabi.h", + "external/sources/boost/boost/predef/platform/ios.h", + "external/sources/boost/boost/predef/platform/mingw.h", + "external/sources/boost/boost/predef/platform/mingw32.h", + "external/sources/boost/boost/predef/platform/mingw64.h", + "external/sources/boost/boost/predef/platform/windows_desktop.h", + "external/sources/boost/boost/predef/platform/windows_phone.h", + "external/sources/boost/boost/predef/platform/windows_runtime.h", + "external/sources/boost/boost/predef/platform/windows_server.h", + "external/sources/boost/boost/predef/platform/windows_store.h", + "external/sources/boost/boost/predef/platform/windows_system.h", + "external/sources/boost/boost/predef/platform/windows_uwp.h", + "external/sources/boost/boost/predef/version.h", + "external/sources/boost/boost/predef/version_number.h", + "external/sources/boost/boost/preprocessor.hpp", + "external/sources/boost/boost/preprocessor/arithmetic.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/add.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/dec.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/detail/div_base.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/div.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/inc.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/mod.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/mul.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/sub.hpp", + "external/sources/boost/boost/preprocessor/array.hpp", + "external/sources/boost/boost/preprocessor/array/data.hpp", + "external/sources/boost/boost/preprocessor/array/detail/get_data.hpp", + "external/sources/boost/boost/preprocessor/array/elem.hpp", + "external/sources/boost/boost/preprocessor/array/enum.hpp", + "external/sources/boost/boost/preprocessor/array/insert.hpp", + "external/sources/boost/boost/preprocessor/array/pop_back.hpp", + "external/sources/boost/boost/preprocessor/array/pop_front.hpp", + "external/sources/boost/boost/preprocessor/array/push_back.hpp", + "external/sources/boost/boost/preprocessor/array/push_front.hpp", + "external/sources/boost/boost/preprocessor/array/remove.hpp", + "external/sources/boost/boost/preprocessor/array/replace.hpp", + "external/sources/boost/boost/preprocessor/array/reverse.hpp", + "external/sources/boost/boost/preprocessor/array/size.hpp", + "external/sources/boost/boost/preprocessor/array/to_list.hpp", + "external/sources/boost/boost/preprocessor/array/to_seq.hpp", + "external/sources/boost/boost/preprocessor/array/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/assert_msg.hpp", + "external/sources/boost/boost/preprocessor/cat.hpp", + "external/sources/boost/boost/preprocessor/comma.hpp", + "external/sources/boost/boost/preprocessor/comma_if.hpp", + "external/sources/boost/boost/preprocessor/comparison.hpp", + "external/sources/boost/boost/preprocessor/comparison/equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/greater.hpp", + "external/sources/boost/boost/preprocessor/comparison/greater_equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/less.hpp", + "external/sources/boost/boost/preprocessor/comparison/less_equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/not_equal.hpp", + "external/sources/boost/boost/preprocessor/config/config.hpp", + "external/sources/boost/boost/preprocessor/config/limits.hpp", + "external/sources/boost/boost/preprocessor/control.hpp", + "external/sources/boost/boost/preprocessor/control/deduce_d.hpp", + "external/sources/boost/boost/preprocessor/control/detail/dmc/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/edg/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/msvc/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/while.hpp", + "external/sources/boost/boost/preprocessor/control/expr_if.hpp", + "external/sources/boost/boost/preprocessor/control/expr_iif.hpp", + "external/sources/boost/boost/preprocessor/control/if.hpp", + "external/sources/boost/boost/preprocessor/control/iif.hpp", + "external/sources/boost/boost/preprocessor/control/while.hpp", + "external/sources/boost/boost/preprocessor/debug.hpp", + "external/sources/boost/boost/preprocessor/dec.hpp", + "external/sources/boost/boost/preprocessor/detail/auto_rec.hpp", + "external/sources/boost/boost/preprocessor/detail/check.hpp", + "external/sources/boost/boost/preprocessor/detail/dmc/auto_rec.hpp", + "external/sources/boost/boost/preprocessor/detail/is_binary.hpp", + "external/sources/boost/boost/preprocessor/detail/is_nullary.hpp", + "external/sources/boost/boost/preprocessor/detail/is_unary.hpp", + "external/sources/boost/boost/preprocessor/detail/null.hpp", + "external/sources/boost/boost/preprocessor/detail/split.hpp", + "external/sources/boost/boost/preprocessor/empty.hpp", + "external/sources/boost/boost/preprocessor/enum.hpp", + "external/sources/boost/boost/preprocessor/enum_params.hpp", + "external/sources/boost/boost/preprocessor/enum_params_with_a_default.hpp", + "external/sources/boost/boost/preprocessor/enum_params_with_defaults.hpp", + "external/sources/boost/boost/preprocessor/enum_shifted.hpp", + "external/sources/boost/boost/preprocessor/enum_shifted_params.hpp", + "external/sources/boost/boost/preprocessor/expand.hpp", + "external/sources/boost/boost/preprocessor/expr_if.hpp", + "external/sources/boost/boost/preprocessor/facilities.hpp", + "external/sources/boost/boost/preprocessor/facilities/apply.hpp", + "external/sources/boost/boost/preprocessor/facilities/check_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/detail/is_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/expand.hpp", + "external/sources/boost/boost/preprocessor/facilities/identity.hpp", + "external/sources/boost/boost/preprocessor/facilities/intercept.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_1.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty_or_1.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty_variadic.hpp", + "external/sources/boost/boost/preprocessor/facilities/overload.hpp", + "external/sources/boost/boost/preprocessor/facilities/va_opt.hpp", + "external/sources/boost/boost/preprocessor/for.hpp", + "external/sources/boost/boost/preprocessor/identity.hpp", + "external/sources/boost/boost/preprocessor/if.hpp", + "external/sources/boost/boost/preprocessor/inc.hpp", + "external/sources/boost/boost/preprocessor/iterate.hpp", + "external/sources/boost/boost/preprocessor/iteration.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/finish.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/local.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/rlocal.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/self.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/start.hpp", + "external/sources/boost/boost/preprocessor/iteration/iterate.hpp", + "external/sources/boost/boost/preprocessor/iteration/local.hpp", + "external/sources/boost/boost/preprocessor/iteration/self.hpp", + "external/sources/boost/boost/preprocessor/library.hpp", + "external/sources/boost/boost/preprocessor/limits.hpp", + "external/sources/boost/boost/preprocessor/list.hpp", + "external/sources/boost/boost/preprocessor/list/adt.hpp", + "external/sources/boost/boost/preprocessor/list/append.hpp", + "external/sources/boost/boost/preprocessor/list/at.hpp", + "external/sources/boost/boost/preprocessor/list/cat.hpp", + "external/sources/boost/boost/preprocessor/list/detail/dmc/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/edg/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/edg/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/detail/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/enum.hpp", + "external/sources/boost/boost/preprocessor/list/filter.hpp", + "external/sources/boost/boost/preprocessor/list/first_n.hpp", + "external/sources/boost/boost/preprocessor/list/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/for_each.hpp", + "external/sources/boost/boost/preprocessor/list/for_each_i.hpp", + "external/sources/boost/boost/preprocessor/list/for_each_product.hpp", + "external/sources/boost/boost/preprocessor/list/rest_n.hpp", + "external/sources/boost/boost/preprocessor/list/reverse.hpp", + "external/sources/boost/boost/preprocessor/list/size.hpp", + "external/sources/boost/boost/preprocessor/list/to_array.hpp", + "external/sources/boost/boost/preprocessor/list/to_seq.hpp", + "external/sources/boost/boost/preprocessor/list/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/list/transform.hpp", + "external/sources/boost/boost/preprocessor/logical.hpp", + "external/sources/boost/boost/preprocessor/logical/and.hpp", + "external/sources/boost/boost/preprocessor/logical/bitand.hpp", + "external/sources/boost/boost/preprocessor/logical/bitnor.hpp", + "external/sources/boost/boost/preprocessor/logical/bitor.hpp", + "external/sources/boost/boost/preprocessor/logical/bitxor.hpp", + "external/sources/boost/boost/preprocessor/logical/bool.hpp", + "external/sources/boost/boost/preprocessor/logical/compl.hpp", + "external/sources/boost/boost/preprocessor/logical/nor.hpp", + "external/sources/boost/boost/preprocessor/logical/not.hpp", + "external/sources/boost/boost/preprocessor/logical/or.hpp", + "external/sources/boost/boost/preprocessor/logical/xor.hpp", + "external/sources/boost/boost/preprocessor/max.hpp", + "external/sources/boost/boost/preprocessor/min.hpp", + "external/sources/boost/boost/preprocessor/punctuation.hpp", + "external/sources/boost/boost/preprocessor/punctuation/comma.hpp", + "external/sources/boost/boost/preprocessor/punctuation/comma_if.hpp", + "external/sources/boost/boost/preprocessor/punctuation/detail/is_begin_parens.hpp", + "external/sources/boost/boost/preprocessor/punctuation/is_begin_parens.hpp", + "external/sources/boost/boost/preprocessor/punctuation/paren.hpp", + "external/sources/boost/boost/preprocessor/punctuation/paren_if.hpp", + "external/sources/boost/boost/preprocessor/punctuation/remove_parens.hpp", + "external/sources/boost/boost/preprocessor/repeat.hpp", + "external/sources/boost/boost/preprocessor/repeat_2nd.hpp", + "external/sources/boost/boost/preprocessor/repeat_3rd.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to_2nd.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to_3rd.hpp", + "external/sources/boost/boost/preprocessor/repetition.hpp", + "external/sources/boost/boost/preprocessor/repetition/deduce_r.hpp", + "external/sources/boost/boost/preprocessor/repetition/deduce_z.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/dmc/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/edg/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/msvc/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params_with_a_default.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params_with_defaults.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/repeat.hpp", + "external/sources/boost/boost/preprocessor/repetition/repeat_from_to.hpp", + "external/sources/boost/boost/preprocessor/selection.hpp", + "external/sources/boost/boost/preprocessor/selection/max.hpp", + "external/sources/boost/boost/preprocessor/selection/min.hpp", + "external/sources/boost/boost/preprocessor/seq.hpp", + "external/sources/boost/boost/preprocessor/seq/cat.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/binary_transform.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/is_empty.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/split.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/to_list_msvc.hpp", + "external/sources/boost/boost/preprocessor/seq/elem.hpp", + "external/sources/boost/boost/preprocessor/seq/enum.hpp", + "external/sources/boost/boost/preprocessor/seq/filter.hpp", + "external/sources/boost/boost/preprocessor/seq/first_n.hpp", + "external/sources/boost/boost/preprocessor/seq/fold_left.hpp", + "external/sources/boost/boost/preprocessor/seq/fold_right.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each_i.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each_product.hpp", + "external/sources/boost/boost/preprocessor/seq/insert.hpp", + "external/sources/boost/boost/preprocessor/seq/pop_back.hpp", + "external/sources/boost/boost/preprocessor/seq/pop_front.hpp", + "external/sources/boost/boost/preprocessor/seq/push_back.hpp", + "external/sources/boost/boost/preprocessor/seq/push_front.hpp", + "external/sources/boost/boost/preprocessor/seq/remove.hpp", + "external/sources/boost/boost/preprocessor/seq/replace.hpp", + "external/sources/boost/boost/preprocessor/seq/rest_n.hpp", + "external/sources/boost/boost/preprocessor/seq/reverse.hpp", + "external/sources/boost/boost/preprocessor/seq/seq.hpp", + "external/sources/boost/boost/preprocessor/seq/size.hpp", + "external/sources/boost/boost/preprocessor/seq/subseq.hpp", + "external/sources/boost/boost/preprocessor/seq/to_array.hpp", + "external/sources/boost/boost/preprocessor/seq/to_list.hpp", + "external/sources/boost/boost/preprocessor/seq/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/seq/transform.hpp", + "external/sources/boost/boost/preprocessor/seq/variadic_seq_to_seq.hpp", + "external/sources/boost/boost/preprocessor/slot.hpp", + "external/sources/boost/boost/preprocessor/slot/counter.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/counter.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/def.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/shared.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot1.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot2.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot3.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot4.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot5.hpp", + "external/sources/boost/boost/preprocessor/slot/slot.hpp", + "external/sources/boost/boost/preprocessor/stringize.hpp", + "external/sources/boost/boost/preprocessor/tuple.hpp", + "external/sources/boost/boost/preprocessor/tuple/detail/is_single_return.hpp", + "external/sources/boost/boost/preprocessor/tuple/eat.hpp", + "external/sources/boost/boost/preprocessor/tuple/elem.hpp", + "external/sources/boost/boost/preprocessor/tuple/enum.hpp", + "external/sources/boost/boost/preprocessor/tuple/insert.hpp", + "external/sources/boost/boost/preprocessor/tuple/pop_back.hpp", + "external/sources/boost/boost/preprocessor/tuple/pop_front.hpp", + "external/sources/boost/boost/preprocessor/tuple/push_back.hpp", + "external/sources/boost/boost/preprocessor/tuple/push_front.hpp", + "external/sources/boost/boost/preprocessor/tuple/rem.hpp", + "external/sources/boost/boost/preprocessor/tuple/remove.hpp", + "external/sources/boost/boost/preprocessor/tuple/replace.hpp", + "external/sources/boost/boost/preprocessor/tuple/reverse.hpp", + "external/sources/boost/boost/preprocessor/tuple/size.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_array.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_list.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_seq.hpp", + "external/sources/boost/boost/preprocessor/variadic.hpp", + "external/sources/boost/boost/preprocessor/variadic/detail/has_opt.hpp", + "external/sources/boost/boost/preprocessor/variadic/detail/is_single_return.hpp", + "external/sources/boost/boost/preprocessor/variadic/elem.hpp", + "external/sources/boost/boost/preprocessor/variadic/has_opt.hpp", + "external/sources/boost/boost/preprocessor/variadic/size.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_array.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_list.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_seq.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/while.hpp", + "external/sources/boost/boost/preprocessor/wstringize.hpp", + "external/sources/boost/boost/process.hpp", + "external/sources/boost/boost/process/args.hpp", + "external/sources/boost/boost/process/async.hpp", + "external/sources/boost/boost/process/async_pipe.hpp", + "external/sources/boost/boost/process/async_system.hpp", + "external/sources/boost/boost/process/child.hpp", + "external/sources/boost/boost/process/cmd.hpp", + "external/sources/boost/boost/process/detail/async_handler.hpp", + "external/sources/boost/boost/process/detail/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/child_decl.hpp", + "external/sources/boost/boost/process/detail/config.hpp", + "external/sources/boost/boost/process/detail/execute_impl.hpp", + "external/sources/boost/boost/process/detail/handler.hpp", + "external/sources/boost/boost/process/detail/handler_base.hpp", + "external/sources/boost/boost/process/detail/on_exit.hpp", + "external/sources/boost/boost/process/detail/posix/asio_fwd.hpp", + "external/sources/boost/boost/process/detail/posix/async_handler.hpp", + "external/sources/boost/boost/process/detail/posix/async_in.hpp", + "external/sources/boost/boost/process/detail/posix/async_out.hpp", + "external/sources/boost/boost/process/detail/posix/async_pipe.hpp", + "external/sources/boost/boost/process/detail/posix/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/posix/basic_pipe.hpp", + "external/sources/boost/boost/process/detail/posix/child_handle.hpp", + "external/sources/boost/boost/process/detail/posix/close_in.hpp", + "external/sources/boost/boost/process/detail/posix/close_out.hpp", + "external/sources/boost/boost/process/detail/posix/cmd.hpp", + "external/sources/boost/boost/process/detail/posix/compare_handles.hpp", + "external/sources/boost/boost/process/detail/posix/env_init.hpp", + "external/sources/boost/boost/process/detail/posix/environment.hpp", + "external/sources/boost/boost/process/detail/posix/exe.hpp", + "external/sources/boost/boost/process/detail/posix/executor.hpp", + "external/sources/boost/boost/process/detail/posix/fd.hpp", + "external/sources/boost/boost/process/detail/posix/file_descriptor.hpp", + "external/sources/boost/boost/process/detail/posix/file_in.hpp", + "external/sources/boost/boost/process/detail/posix/file_out.hpp", + "external/sources/boost/boost/process/detail/posix/group_handle.hpp", + "external/sources/boost/boost/process/detail/posix/group_ref.hpp", + "external/sources/boost/boost/process/detail/posix/handler.hpp", + "external/sources/boost/boost/process/detail/posix/handles.hpp", + "external/sources/boost/boost/process/detail/posix/io_context_ref.hpp", + "external/sources/boost/boost/process/detail/posix/is_running.hpp", + "external/sources/boost/boost/process/detail/posix/null_in.hpp", + "external/sources/boost/boost/process/detail/posix/null_out.hpp", + "external/sources/boost/boost/process/detail/posix/on_exit.hpp", + "external/sources/boost/boost/process/detail/posix/pipe_in.hpp", + "external/sources/boost/boost/process/detail/posix/pipe_out.hpp", + "external/sources/boost/boost/process/detail/posix/search_path.hpp", + "external/sources/boost/boost/process/detail/posix/shell_path.hpp", + "external/sources/boost/boost/process/detail/posix/sigchld_service.hpp", + "external/sources/boost/boost/process/detail/posix/signal.hpp", + "external/sources/boost/boost/process/detail/posix/start_dir.hpp", + "external/sources/boost/boost/process/detail/posix/terminate.hpp", + "external/sources/boost/boost/process/detail/posix/use_vfork.hpp", + "external/sources/boost/boost/process/detail/posix/wait_for_exit.hpp", + "external/sources/boost/boost/process/detail/posix/wait_group.hpp", + "external/sources/boost/boost/process/detail/throw_on_error.hpp", + "external/sources/boost/boost/process/detail/traits.hpp", + "external/sources/boost/boost/process/detail/traits/async.hpp", + "external/sources/boost/boost/process/detail/traits/cmd_or_exe.hpp", + "external/sources/boost/boost/process/detail/traits/decl.hpp", + "external/sources/boost/boost/process/detail/traits/env.hpp", + "external/sources/boost/boost/process/detail/traits/error.hpp", + "external/sources/boost/boost/process/detail/traits/group.hpp", + "external/sources/boost/boost/process/detail/traits/wchar_t.hpp", + "external/sources/boost/boost/process/detail/used_handles.hpp", + "external/sources/boost/boost/process/detail/windows/asio_fwd.hpp", + "external/sources/boost/boost/process/detail/windows/async_handler.hpp", + "external/sources/boost/boost/process/detail/windows/async_in.hpp", + "external/sources/boost/boost/process/detail/windows/async_out.hpp", + "external/sources/boost/boost/process/detail/windows/async_pipe.hpp", + "external/sources/boost/boost/process/detail/windows/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/windows/basic_pipe.hpp", + "external/sources/boost/boost/process/detail/windows/child_handle.hpp", + "external/sources/boost/boost/process/detail/windows/close_in.hpp", + "external/sources/boost/boost/process/detail/windows/close_out.hpp", + "external/sources/boost/boost/process/detail/windows/cmd.hpp", + "external/sources/boost/boost/process/detail/windows/compare_handles.hpp", + "external/sources/boost/boost/process/detail/windows/env_init.hpp", + "external/sources/boost/boost/process/detail/windows/environment.hpp", + "external/sources/boost/boost/process/detail/windows/executor.hpp", + "external/sources/boost/boost/process/detail/windows/file_descriptor.hpp", + "external/sources/boost/boost/process/detail/windows/file_in.hpp", + "external/sources/boost/boost/process/detail/windows/file_out.hpp", + "external/sources/boost/boost/process/detail/windows/group_handle.hpp", + "external/sources/boost/boost/process/detail/windows/group_ref.hpp", + "external/sources/boost/boost/process/detail/windows/handle_workaround.hpp", + "external/sources/boost/boost/process/detail/windows/handler.hpp", + "external/sources/boost/boost/process/detail/windows/handles.hpp", + "external/sources/boost/boost/process/detail/windows/io_context_ref.hpp", + "external/sources/boost/boost/process/detail/windows/is_running.hpp", + "external/sources/boost/boost/process/detail/windows/job_workaround.hpp", + "external/sources/boost/boost/process/detail/windows/locale.hpp", + "external/sources/boost/boost/process/detail/windows/null_in.hpp", + "external/sources/boost/boost/process/detail/windows/null_out.hpp", + "external/sources/boost/boost/process/detail/windows/on_exit.hpp", + "external/sources/boost/boost/process/detail/windows/pipe_in.hpp", + "external/sources/boost/boost/process/detail/windows/pipe_out.hpp", + "external/sources/boost/boost/process/detail/windows/search_path.hpp", + "external/sources/boost/boost/process/detail/windows/shell_path.hpp", + "external/sources/boost/boost/process/detail/windows/show_window.hpp", + "external/sources/boost/boost/process/detail/windows/start_dir.hpp", + "external/sources/boost/boost/process/detail/windows/terminate.hpp", + "external/sources/boost/boost/process/detail/windows/wait_for_exit.hpp", + "external/sources/boost/boost/process/detail/windows/wait_group.hpp", + "external/sources/boost/boost/process/env.hpp", + "external/sources/boost/boost/process/environment.hpp", + "external/sources/boost/boost/process/error.hpp", + "external/sources/boost/boost/process/exception.hpp", + "external/sources/boost/boost/process/exe.hpp", + "external/sources/boost/boost/process/extend.hpp", + "external/sources/boost/boost/process/group.hpp", + "external/sources/boost/boost/process/handles.hpp", + "external/sources/boost/boost/process/io.hpp", + "external/sources/boost/boost/process/locale.hpp", + "external/sources/boost/boost/process/pipe.hpp", + "external/sources/boost/boost/process/posix.hpp", + "external/sources/boost/boost/process/search_path.hpp", + "external/sources/boost/boost/process/shell.hpp", + "external/sources/boost/boost/process/spawn.hpp", + "external/sources/boost/boost/process/start_dir.hpp", + "external/sources/boost/boost/process/system.hpp", + "external/sources/boost/boost/process/windows.hpp", + "external/sources/boost/boost/program_options.hpp", + "external/sources/boost/boost/program_options/cmdline.hpp", + "external/sources/boost/boost/program_options/config.hpp", + "external/sources/boost/boost/program_options/detail/cmdline.hpp", + "external/sources/boost/boost/program_options/detail/config_file.hpp", + "external/sources/boost/boost/program_options/detail/convert.hpp", + "external/sources/boost/boost/program_options/detail/parsers.hpp", + "external/sources/boost/boost/program_options/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/program_options/detail/value_semantic.hpp", + "external/sources/boost/boost/program_options/environment_iterator.hpp", + "external/sources/boost/boost/program_options/eof_iterator.hpp", + "external/sources/boost/boost/program_options/errors.hpp", + "external/sources/boost/boost/program_options/option.hpp", + "external/sources/boost/boost/program_options/options_description.hpp", + "external/sources/boost/boost/program_options/parsers.hpp", + "external/sources/boost/boost/program_options/positional_options.hpp", + "external/sources/boost/boost/program_options/value_semantic.hpp", + "external/sources/boost/boost/program_options/variables_map.hpp", + "external/sources/boost/boost/program_options/version.hpp", + "external/sources/boost/boost/progress.hpp", + "external/sources/boost/boost/property_map/compose_property_map.hpp", + "external/sources/boost/boost/property_map/dynamic_property_map.hpp", + "external/sources/boost/boost/property_map/function_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/basic_reduce.hpp", + "external/sources/boost/boost/property_map/parallel/caching_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/detail/untracked_pair.hpp", + "external/sources/boost/boost/property_map/parallel/distributed_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/global_index_map.hpp", + "external/sources/boost/boost/property_map/parallel/impl/distributed_property_map.ipp", + "external/sources/boost/boost/property_map/parallel/local_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/parallel_property_maps.hpp", + "external/sources/boost/boost/property_map/parallel/process_group.hpp", + "external/sources/boost/boost/property_map/parallel/simple_trigger.hpp", + "external/sources/boost/boost/property_map/parallel/unsafe_serialize.hpp", + "external/sources/boost/boost/property_map/parallel/vector_property_map.hpp", + "external/sources/boost/boost/property_map/property_map.hpp", + "external/sources/boost/boost/property_map/property_map_iterator.hpp", + "external/sources/boost/boost/property_map/shared_array_property_map.hpp", + "external/sources/boost/boost/property_map/transform_value_property_map.hpp", + "external/sources/boost/boost/property_map/vector_property_map.hpp", + "external/sources/boost/boost/property_tree/detail/exception_implementation.hpp", + "external/sources/boost/boost/property_tree/detail/file_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_read.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_utils.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_write.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_writer_settings.hpp", + "external/sources/boost/boost/property_tree/detail/ptree_implementation.hpp", + "external/sources/boost/boost/property_tree/detail/ptree_utils.hpp", + "external/sources/boost/boost/property_tree/detail/rapidxml.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_flags.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_read_rapidxml.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_utils.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_write.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_writer_settings.hpp", + "external/sources/boost/boost/property_tree/exceptions.hpp", + "external/sources/boost/boost/property_tree/id_translator.hpp", + "external/sources/boost/boost/property_tree/info_parser.hpp", + "external/sources/boost/boost/property_tree/ini_parser.hpp", + "external/sources/boost/boost/property_tree/json_parser.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/narrow_encoding.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/parser.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/read.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/standard_callbacks.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/wide_encoding.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/write.hpp", + "external/sources/boost/boost/property_tree/json_parser/error.hpp", + "external/sources/boost/boost/property_tree/ptree.hpp", + "external/sources/boost/boost/property_tree/ptree_fwd.hpp", + "external/sources/boost/boost/property_tree/ptree_serialization.hpp", + "external/sources/boost/boost/property_tree/stream_translator.hpp", + "external/sources/boost/boost/property_tree/string_path.hpp", + "external/sources/boost/boost/property_tree/xml_parser.hpp", + "external/sources/boost/boost/proto/args.hpp", + "external/sources/boost/boost/proto/context.hpp", + "external/sources/boost/boost/proto/context/callable.hpp", + "external/sources/boost/boost/proto/context/default.hpp", + "external/sources/boost/boost/proto/context/detail/callable_eval.hpp", + "external/sources/boost/boost/proto/context/detail/default_eval.hpp", + "external/sources/boost/boost/proto/context/detail/null_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/callable_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/default_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/null_eval.hpp", + "external/sources/boost/boost/proto/context/null.hpp", + "external/sources/boost/boost/proto/core.hpp", + "external/sources/boost/boost/proto/debug.hpp", + "external/sources/boost/boost/proto/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/and_n.hpp", + "external/sources/boost/boost/proto/detail/any.hpp", + "external/sources/boost/boost/proto/detail/args.hpp", + "external/sources/boost/boost/proto/detail/as_expr.hpp", + "external/sources/boost/boost/proto/detail/as_lvalue.hpp", + "external/sources/boost/boost/proto/detail/basic_expr.hpp", + "external/sources/boost/boost/proto/detail/class_member_traits.hpp", + "external/sources/boost/boost/proto/detail/decltype.hpp", + "external/sources/boost/boost/proto/detail/deduce_domain.hpp", + "external/sources/boost/boost/proto/detail/deduce_domain_n.hpp", + "external/sources/boost/boost/proto/detail/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/deprecated.hpp", + "external/sources/boost/boost/proto/detail/dont_care.hpp", + "external/sources/boost/boost/proto/detail/expr.hpp", + "external/sources/boost/boost/proto/detail/expr_funop.hpp", + "external/sources/boost/boost/proto/detail/extends_funop.hpp", + "external/sources/boost/boost/proto/detail/extends_funop_const.hpp", + "external/sources/boost/boost/proto/detail/funop.hpp", + "external/sources/boost/boost/proto/detail/generate_by_value.hpp", + "external/sources/boost/boost/proto/detail/ignore_unused.hpp", + "external/sources/boost/boost/proto/detail/is_noncopyable.hpp", + "external/sources/boost/boost/proto/detail/lambda_matches.hpp", + "external/sources/boost/boost/proto/detail/local.hpp", + "external/sources/boost/boost/proto/detail/make_expr.hpp", + "external/sources/boost/boost/proto/detail/make_expr_.hpp", + "external/sources/boost/boost/proto/detail/make_expr_funop.hpp", + "external/sources/boost/boost/proto/detail/matches_.hpp", + "external/sources/boost/boost/proto/detail/memfun_funop.hpp", + "external/sources/boost/boost/proto/detail/or_n.hpp", + "external/sources/boost/boost/proto/detail/poly_function.hpp", + "external/sources/boost/boost/proto/detail/poly_function_funop.hpp", + "external/sources/boost/boost/proto/detail/poly_function_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/and_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/args.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/basic_expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/class_member_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/deduce_domain_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/expr_variadic.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/extends_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/extends_funop_const.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/generate_by_value.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/lambda_matches.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/matches_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/memfun_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/or_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/poly_function_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/poly_function_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/template_arity_helper.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/unpack_expr_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/vararg_matches_impl.hpp", + "external/sources/boost/boost/proto/detail/remove_typename.hpp", + "external/sources/boost/boost/proto/detail/static_const.hpp", + "external/sources/boost/boost/proto/detail/template_arity.hpp", + "external/sources/boost/boost/proto/detail/template_arity_helper.hpp", + "external/sources/boost/boost/proto/detail/traits.hpp", + "external/sources/boost/boost/proto/detail/unpack_expr_.hpp", + "external/sources/boost/boost/proto/detail/vararg_matches_impl.hpp", + "external/sources/boost/boost/proto/domain.hpp", + "external/sources/boost/boost/proto/eval.hpp", + "external/sources/boost/boost/proto/expr.hpp", + "external/sources/boost/boost/proto/extends.hpp", + "external/sources/boost/boost/proto/functional.hpp", + "external/sources/boost/boost/proto/functional/fusion.hpp", + "external/sources/boost/boost/proto/functional/fusion/at.hpp", + "external/sources/boost/boost/proto/functional/fusion/pop_back.hpp", + "external/sources/boost/boost/proto/functional/fusion/pop_front.hpp", + "external/sources/boost/boost/proto/functional/fusion/push_back.hpp", + "external/sources/boost/boost/proto/functional/fusion/push_front.hpp", + "external/sources/boost/boost/proto/functional/fusion/reverse.hpp", + "external/sources/boost/boost/proto/functional/range.hpp", + "external/sources/boost/boost/proto/functional/range/begin.hpp", + "external/sources/boost/boost/proto/functional/range/empty.hpp", + "external/sources/boost/boost/proto/functional/range/end.hpp", + "external/sources/boost/boost/proto/functional/range/rbegin.hpp", + "external/sources/boost/boost/proto/functional/range/rend.hpp", + "external/sources/boost/boost/proto/functional/range/size.hpp", + "external/sources/boost/boost/proto/functional/std.hpp", + "external/sources/boost/boost/proto/functional/std/iterator.hpp", + "external/sources/boost/boost/proto/functional/std/utility.hpp", + "external/sources/boost/boost/proto/fusion.hpp", + "external/sources/boost/boost/proto/generate.hpp", + "external/sources/boost/boost/proto/literal.hpp", + "external/sources/boost/boost/proto/make_expr.hpp", + "external/sources/boost/boost/proto/matches.hpp", + "external/sources/boost/boost/proto/operators.hpp", + "external/sources/boost/boost/proto/proto.hpp", + "external/sources/boost/boost/proto/proto_fwd.hpp", + "external/sources/boost/boost/proto/proto_typeof.hpp", + "external/sources/boost/boost/proto/repeat.hpp", + "external/sources/boost/boost/proto/tags.hpp", + "external/sources/boost/boost/proto/traits.hpp", + "external/sources/boost/boost/proto/transform.hpp", + "external/sources/boost/boost/proto/transform/arg.hpp", + "external/sources/boost/boost/proto/transform/call.hpp", + "external/sources/boost/boost/proto/transform/default.hpp", + "external/sources/boost/boost/proto/transform/detail/call.hpp", + "external/sources/boost/boost/proto/transform/detail/construct_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/construct_pod_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/default_function_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/expand_pack.hpp", + "external/sources/boost/boost/proto/transform/detail/fold_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/lazy.hpp", + "external/sources/boost/boost/proto/transform/detail/make.hpp", + "external/sources/boost/boost/proto/transform/detail/make_gcc_workaround.hpp", + "external/sources/boost/boost/proto/transform/detail/pack.hpp", + "external/sources/boost/boost/proto/transform/detail/pack_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/pass_through_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/call.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_pod_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/default_function_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/expand_pack.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/fold_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/lazy.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/make.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/make_gcc_workaround.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/pack_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/pass_through_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/when.hpp", + "external/sources/boost/boost/proto/transform/detail/when.hpp", + "external/sources/boost/boost/proto/transform/env.hpp", + "external/sources/boost/boost/proto/transform/fold.hpp", + "external/sources/boost/boost/proto/transform/fold_tree.hpp", + "external/sources/boost/boost/proto/transform/impl.hpp", + "external/sources/boost/boost/proto/transform/integral_c.hpp", + "external/sources/boost/boost/proto/transform/lazy.hpp", + "external/sources/boost/boost/proto/transform/make.hpp", + "external/sources/boost/boost/proto/transform/pass_through.hpp", + "external/sources/boost/boost/proto/transform/when.hpp", + "external/sources/boost/boost/ptr_container/clone_allocator.hpp", + "external/sources/boost/boost/ptr_container/detail/associative_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/detail/default_deleter.hpp", + "external/sources/boost/boost/ptr_container/detail/is_convertible.hpp", + "external/sources/boost/boost/ptr_container/detail/map_iterator.hpp", + "external/sources/boost/boost/ptr_container/detail/meta_functions.hpp", + "external/sources/boost/boost/ptr_container/detail/move.hpp", + "external/sources/boost/boost/ptr_container/detail/ptr_container_disable_deprecated.hpp", + "external/sources/boost/boost/ptr_container/detail/reversible_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/detail/scoped_deleter.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_ptr_map_adapter.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_reversible_cont.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_xml_names.hpp", + "external/sources/boost/boost/ptr_container/detail/static_move_ptr.hpp", + "external/sources/boost/boost/ptr_container/detail/throw_exception.hpp", + "external/sources/boost/boost/ptr_container/detail/void_ptr_iterator.hpp", + "external/sources/boost/boost/ptr_container/exception.hpp", + "external/sources/boost/boost/ptr_container/indirect_fun.hpp", + "external/sources/boost/boost/ptr_container/nullable.hpp", + "external/sources/boost/boost/ptr_container/ptr_array.hpp", + "external/sources/boost/boost/ptr_container/ptr_circular_buffer.hpp", + "external/sources/boost/boost/ptr_container/ptr_container.hpp", + "external/sources/boost/boost/ptr_container/ptr_deque.hpp", + "external/sources/boost/boost/ptr_container/ptr_inserter.hpp", + "external/sources/boost/boost/ptr_container/ptr_list.hpp", + "external/sources/boost/boost/ptr_container/ptr_map.hpp", + "external/sources/boost/boost/ptr_container/ptr_map_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_sequence_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_set.hpp", + "external/sources/boost/boost/ptr_container/ptr_set_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_unordered_map.hpp", + "external/sources/boost/boost/ptr_container/ptr_unordered_set.hpp", + "external/sources/boost/boost/ptr_container/ptr_vector.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_array.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_circular_buffer.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_deque.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_list.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_map.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_set.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_map.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_set.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_vector.hpp", + "external/sources/boost/boost/python.hpp", + "external/sources/boost/boost/python/arg_from_python.hpp", + "external/sources/boost/boost/python/args.hpp", + "external/sources/boost/boost/python/args_fwd.hpp", + "external/sources/boost/boost/python/back_reference.hpp", + "external/sources/boost/boost/python/base_type_traits.hpp", + "external/sources/boost/boost/python/bases.hpp", + "external/sources/boost/boost/python/borrowed.hpp", + "external/sources/boost/boost/python/call.hpp", + "external/sources/boost/boost/python/call_method.hpp", + "external/sources/boost/boost/python/cast.hpp", + "external/sources/boost/boost/python/class.hpp", + "external/sources/boost/boost/python/class_fwd.hpp", + "external/sources/boost/boost/python/converter/arg_from_python.hpp", + "external/sources/boost/boost/python/converter/arg_to_python.hpp", + "external/sources/boost/boost/python/converter/arg_to_python_base.hpp", + "external/sources/boost/boost/python/converter/as_to_python_function.hpp", + "external/sources/boost/boost/python/converter/builtin_converters.hpp", + "external/sources/boost/boost/python/converter/constructor_function.hpp", + "external/sources/boost/boost/python/converter/context_result_converter.hpp", + "external/sources/boost/boost/python/converter/convertible_function.hpp", + "external/sources/boost/boost/python/converter/from_python.hpp", + "external/sources/boost/boost/python/converter/implicit.hpp", + "external/sources/boost/boost/python/converter/obj_mgr_arg_from_python.hpp", + "external/sources/boost/boost/python/converter/object_manager.hpp", + "external/sources/boost/boost/python/converter/pointer_type_id.hpp", + "external/sources/boost/boost/python/converter/pyobject_traits.hpp", + "external/sources/boost/boost/python/converter/pyobject_type.hpp", + "external/sources/boost/boost/python/converter/pytype_function.hpp", + "external/sources/boost/boost/python/converter/pytype_object_mgr_traits.hpp", + "external/sources/boost/boost/python/converter/registered.hpp", + "external/sources/boost/boost/python/converter/registered_pointee.hpp", + "external/sources/boost/boost/python/converter/registrations.hpp", + "external/sources/boost/boost/python/converter/registry.hpp", + "external/sources/boost/boost/python/converter/return_from_python.hpp", + "external/sources/boost/boost/python/converter/rvalue_from_python_data.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_deleter.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_from_python.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_to_python.hpp", + "external/sources/boost/boost/python/converter/to_python_function_type.hpp", + "external/sources/boost/boost/python/copy_const_reference.hpp", + "external/sources/boost/boost/python/copy_non_const_reference.hpp", + "external/sources/boost/boost/python/data_members.hpp", + "external/sources/boost/boost/python/def.hpp", + "external/sources/boost/boost/python/def_visitor.hpp", + "external/sources/boost/boost/python/default_call_policies.hpp", + "external/sources/boost/boost/python/detail/aix_init_module.hpp", + "external/sources/boost/boost/python/detail/api_placeholder.hpp", + "external/sources/boost/boost/python/detail/borrowed_ptr.hpp", + "external/sources/boost/boost/python/detail/caller.hpp", + "external/sources/boost/boost/python/detail/config.hpp", + "external/sources/boost/boost/python/detail/construct.hpp", + "external/sources/boost/boost/python/detail/convertible.hpp", + "external/sources/boost/boost/python/detail/copy_ctor_mutates_rhs.hpp", + "external/sources/boost/boost/python/detail/cv_category.hpp", + "external/sources/boost/boost/python/detail/dealloc.hpp", + "external/sources/boost/boost/python/detail/decorated_type_id.hpp", + "external/sources/boost/boost/python/detail/decref_guard.hpp", + "external/sources/boost/boost/python/detail/def_helper.hpp", + "external/sources/boost/boost/python/detail/def_helper_fwd.hpp", + "external/sources/boost/boost/python/detail/defaults_def.hpp", + "external/sources/boost/boost/python/detail/defaults_gen.hpp", + "external/sources/boost/boost/python/detail/dependent.hpp", + "external/sources/boost/boost/python/detail/destroy.hpp", + "external/sources/boost/boost/python/detail/enable_if.hpp", + "external/sources/boost/boost/python/detail/exception_handler.hpp", + "external/sources/boost/boost/python/detail/force_instantiate.hpp", + "external/sources/boost/boost/python/detail/if_else.hpp", + "external/sources/boost/boost/python/detail/indirect_traits.hpp", + "external/sources/boost/boost/python/detail/invoke.hpp", + "external/sources/boost/boost/python/detail/is_auto_ptr.hpp", + "external/sources/boost/boost/python/detail/is_shared_ptr.hpp", + "external/sources/boost/boost/python/detail/is_wrapper.hpp", + "external/sources/boost/boost/python/detail/is_xxx.hpp", + "external/sources/boost/boost/python/detail/make_keyword_range_fn.hpp", + "external/sources/boost/boost/python/detail/make_tuple.hpp", + "external/sources/boost/boost/python/detail/map_entry.hpp", + "external/sources/boost/boost/python/detail/mpl_lambda.hpp", + "external/sources/boost/boost/python/detail/msvc_typeinfo.hpp", + "external/sources/boost/boost/python/detail/none.hpp", + "external/sources/boost/boost/python/detail/not_specified.hpp", + "external/sources/boost/boost/python/detail/nullary_function_adaptor.hpp", + "external/sources/boost/boost/python/detail/operator_id.hpp", + "external/sources/boost/boost/python/detail/overloads_fwd.hpp", + "external/sources/boost/boost/python/detail/pointee.hpp", + "external/sources/boost/boost/python/detail/prefix.hpp", + "external/sources/boost/boost/python/detail/preprocessor.hpp", + "external/sources/boost/boost/python/detail/python22_fixed.h", + "external/sources/boost/boost/python/detail/python_type.hpp", + "external/sources/boost/boost/python/detail/raw_pyobject.hpp", + "external/sources/boost/boost/python/detail/referent_storage.hpp", + "external/sources/boost/boost/python/detail/result.hpp", + "external/sources/boost/boost/python/detail/scope.hpp", + "external/sources/boost/boost/python/detail/sfinae.hpp", + "external/sources/boost/boost/python/detail/signature.hpp", + "external/sources/boost/boost/python/detail/string_literal.hpp", + "external/sources/boost/boost/python/detail/target.hpp", + "external/sources/boost/boost/python/detail/translate_exception.hpp", + "external/sources/boost/boost/python/detail/type_list.hpp", + "external/sources/boost/boost/python/detail/type_list_impl.hpp", + "external/sources/boost/boost/python/detail/type_traits.hpp", + "external/sources/boost/boost/python/detail/unwind_type.hpp", + "external/sources/boost/boost/python/detail/unwrap_type_id.hpp", + "external/sources/boost/boost/python/detail/unwrap_wrapper.hpp", + "external/sources/boost/boost/python/detail/value_arg.hpp", + "external/sources/boost/boost/python/detail/value_is_shared_ptr.hpp", + "external/sources/boost/boost/python/detail/value_is_xxx.hpp", + "external/sources/boost/boost/python/detail/void_ptr.hpp", + "external/sources/boost/boost/python/detail/void_return.hpp", + "external/sources/boost/boost/python/detail/wrap_python.hpp", + "external/sources/boost/boost/python/detail/wrapper_base.hpp", + "external/sources/boost/boost/python/dict.hpp", + "external/sources/boost/boost/python/docstring_options.hpp", + "external/sources/boost/boost/python/enum.hpp", + "external/sources/boost/boost/python/errors.hpp", + "external/sources/boost/boost/python/exception_translator.hpp", + "external/sources/boost/boost/python/exec.hpp", + "external/sources/boost/boost/python/extract.hpp", + "external/sources/boost/boost/python/handle.hpp", + "external/sources/boost/boost/python/handle_fwd.hpp", + "external/sources/boost/boost/python/has_back_reference.hpp", + "external/sources/boost/boost/python/implicit.hpp", + "external/sources/boost/boost/python/import.hpp", + "external/sources/boost/boost/python/init.hpp", + "external/sources/boost/boost/python/instance_holder.hpp", + "external/sources/boost/boost/python/iterator.hpp", + "external/sources/boost/boost/python/list.hpp", + "external/sources/boost/boost/python/long.hpp", + "external/sources/boost/boost/python/lvalue_from_pytype.hpp", + "external/sources/boost/boost/python/make_constructor.hpp", + "external/sources/boost/boost/python/make_function.hpp", + "external/sources/boost/boost/python/manage_new_object.hpp", + "external/sources/boost/boost/python/module.hpp", + "external/sources/boost/boost/python/module_init.hpp", + "external/sources/boost/boost/python/numpy.hpp", + "external/sources/boost/boost/python/numpy/config.hpp", + "external/sources/boost/boost/python/numpy/dtype.hpp", + "external/sources/boost/boost/python/numpy/internal.hpp", + "external/sources/boost/boost/python/numpy/invoke_matching.hpp", + "external/sources/boost/boost/python/numpy/matrix.hpp", + "external/sources/boost/boost/python/numpy/ndarray.hpp", + "external/sources/boost/boost/python/numpy/numpy_object_mgr_traits.hpp", + "external/sources/boost/boost/python/numpy/scalars.hpp", + "external/sources/boost/boost/python/numpy/ufunc.hpp", + "external/sources/boost/boost/python/object.hpp", + "external/sources/boost/boost/python/object/add_to_namespace.hpp", + "external/sources/boost/boost/python/object/class.hpp", + "external/sources/boost/boost/python/object/class_detail.hpp", + "external/sources/boost/boost/python/object/class_metadata.hpp", + "external/sources/boost/boost/python/object/class_wrapper.hpp", + "external/sources/boost/boost/python/object/enum_base.hpp", + "external/sources/boost/boost/python/object/find_instance.hpp", + "external/sources/boost/boost/python/object/forward.hpp", + "external/sources/boost/boost/python/object/function.hpp", + "external/sources/boost/boost/python/object/function_doc_signature.hpp", + "external/sources/boost/boost/python/object/function_handle.hpp", + "external/sources/boost/boost/python/object/function_object.hpp", + "external/sources/boost/boost/python/object/inheritance.hpp", + "external/sources/boost/boost/python/object/inheritance_query.hpp", + "external/sources/boost/boost/python/object/instance.hpp", + "external/sources/boost/boost/python/object/iterator.hpp", + "external/sources/boost/boost/python/object/iterator_core.hpp", + "external/sources/boost/boost/python/object/life_support.hpp", + "external/sources/boost/boost/python/object/make_holder.hpp", + "external/sources/boost/boost/python/object/make_instance.hpp", + "external/sources/boost/boost/python/object/make_ptr_instance.hpp", + "external/sources/boost/boost/python/object/pickle_support.hpp", + "external/sources/boost/boost/python/object/pointer_holder.hpp", + "external/sources/boost/boost/python/object/py_function.hpp", + "external/sources/boost/boost/python/object/stl_iterator_core.hpp", + "external/sources/boost/boost/python/object/value_holder.hpp", + "external/sources/boost/boost/python/object/value_holder_fwd.hpp", + "external/sources/boost/boost/python/object_attributes.hpp", + "external/sources/boost/boost/python/object_call.hpp", + "external/sources/boost/boost/python/object_core.hpp", + "external/sources/boost/boost/python/object_fwd.hpp", + "external/sources/boost/boost/python/object_items.hpp", + "external/sources/boost/boost/python/object_operators.hpp", + "external/sources/boost/boost/python/object_protocol.hpp", + "external/sources/boost/boost/python/object_protocol_core.hpp", + "external/sources/boost/boost/python/object_slices.hpp", + "external/sources/boost/boost/python/opaque_pointer_converter.hpp", + "external/sources/boost/boost/python/operators.hpp", + "external/sources/boost/boost/python/other.hpp", + "external/sources/boost/boost/python/overloads.hpp", + "external/sources/boost/boost/python/override.hpp", + "external/sources/boost/boost/python/pointee.hpp", + "external/sources/boost/boost/python/proxy.hpp", + "external/sources/boost/boost/python/ptr.hpp", + "external/sources/boost/boost/python/pure_virtual.hpp", + "external/sources/boost/boost/python/raw_function.hpp", + "external/sources/boost/boost/python/refcount.hpp", + "external/sources/boost/boost/python/reference_existing_object.hpp", + "external/sources/boost/boost/python/register_ptr_to_python.hpp", + "external/sources/boost/boost/python/return_arg.hpp", + "external/sources/boost/boost/python/return_by_value.hpp", + "external/sources/boost/boost/python/return_internal_reference.hpp", + "external/sources/boost/boost/python/return_opaque_pointer.hpp", + "external/sources/boost/boost/python/return_value_policy.hpp", + "external/sources/boost/boost/python/scope.hpp", + "external/sources/boost/boost/python/self.hpp", + "external/sources/boost/boost/python/signature.hpp", + "external/sources/boost/boost/python/slice.hpp", + "external/sources/boost/boost/python/slice_nil.hpp", + "external/sources/boost/boost/python/ssize_t.hpp", + "external/sources/boost/boost/python/stl_iterator.hpp", + "external/sources/boost/boost/python/str.hpp", + "external/sources/boost/boost/python/suite/indexing/container_utils.hpp", + "external/sources/boost/boost/python/suite/indexing/detail/indexing_suite_detail.hpp", + "external/sources/boost/boost/python/suite/indexing/indexing_suite.hpp", + "external/sources/boost/boost/python/suite/indexing/map_indexing_suite.hpp", + "external/sources/boost/boost/python/suite/indexing/vector_indexing_suite.hpp", + "external/sources/boost/boost/python/tag.hpp", + "external/sources/boost/boost/python/to_python_converter.hpp", + "external/sources/boost/boost/python/to_python_indirect.hpp", + "external/sources/boost/boost/python/to_python_value.hpp", + "external/sources/boost/boost/python/tuple.hpp", + "external/sources/boost/boost/python/type_id.hpp", + "external/sources/boost/boost/python/with_custodian_and_ward.hpp", + "external/sources/boost/boost/python/wrapper.hpp", + "external/sources/boost/boost/qvm/all.hpp", + "external/sources/boost/boost/qvm/assert.hpp", + "external/sources/boost/boost/qvm/deduce_mat.hpp", + "external/sources/boost/boost/qvm/deduce_quat.hpp", + "external/sources/boost/boost/qvm/deduce_scalar.hpp", + "external/sources/boost/boost/qvm/deduce_vec.hpp", + "external/sources/boost/boost/qvm/detail/cofactor_impl.hpp", + "external/sources/boost/boost/qvm/detail/determinant_impl.hpp", + "external/sources/boost/boost/qvm/detail/mat_assign.hpp", + "external/sources/boost/boost/qvm/detail/quat_assign.hpp", + "external/sources/boost/boost/qvm/detail/remove_const.hpp", + "external/sources/boost/boost/qvm/detail/swizzle_traits.hpp", + "external/sources/boost/boost/qvm/detail/transp_impl.hpp", + "external/sources/boost/boost/qvm/detail/vec_assign.hpp", + "external/sources/boost/boost/qvm/detail/vec_register_impl.hpp", + "external/sources/boost/boost/qvm/enable_if.hpp", + "external/sources/boost/boost/qvm/error.hpp", + "external/sources/boost/boost/qvm/inline.hpp", + "external/sources/boost/boost/qvm/map.hpp", + "external/sources/boost/boost/qvm/map_mat_mat.hpp", + "external/sources/boost/boost/qvm/map_mat_vec.hpp", + "external/sources/boost/boost/qvm/map_vec_mat.hpp", + "external/sources/boost/boost/qvm/mat.hpp", + "external/sources/boost/boost/qvm/mat_access.hpp", + "external/sources/boost/boost/qvm/mat_operations.hpp", + "external/sources/boost/boost/qvm/mat_operations2.hpp", + "external/sources/boost/boost/qvm/mat_operations3.hpp", + "external/sources/boost/boost/qvm/mat_operations4.hpp", + "external/sources/boost/boost/qvm/mat_traits.hpp", + "external/sources/boost/boost/qvm/mat_traits_array.hpp", + "external/sources/boost/boost/qvm/mat_traits_defaults.hpp", + "external/sources/boost/boost/qvm/math.hpp", + "external/sources/boost/boost/qvm/operations.hpp", + "external/sources/boost/boost/qvm/quat.hpp", + "external/sources/boost/boost/qvm/quat_access.hpp", + "external/sources/boost/boost/qvm/quat_operations.hpp", + "external/sources/boost/boost/qvm/quat_traits.hpp", + "external/sources/boost/boost/qvm/quat_traits_array.hpp", + "external/sources/boost/boost/qvm/quat_traits_defaults.hpp", + "external/sources/boost/boost/qvm/quat_vec_operations.hpp", + "external/sources/boost/boost/qvm/scalar_traits.hpp", + "external/sources/boost/boost/qvm/static_assert.hpp", + "external/sources/boost/boost/qvm/swizzle.hpp", + "external/sources/boost/boost/qvm/swizzle2.hpp", + "external/sources/boost/boost/qvm/swizzle3.hpp", + "external/sources/boost/boost/qvm/swizzle4.hpp", + "external/sources/boost/boost/qvm/throw_exception.hpp", + "external/sources/boost/boost/qvm/to_string.hpp", + "external/sources/boost/boost/qvm/vec.hpp", + "external/sources/boost/boost/qvm/vec_access.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations2.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations3.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations4.hpp", + "external/sources/boost/boost/qvm/vec_operations.hpp", + "external/sources/boost/boost/qvm/vec_operations2.hpp", + "external/sources/boost/boost/qvm/vec_operations3.hpp", + "external/sources/boost/boost/qvm/vec_operations4.hpp", + "external/sources/boost/boost/qvm/vec_register.hpp", + "external/sources/boost/boost/qvm/vec_register2.hpp", + "external/sources/boost/boost/qvm/vec_register3.hpp", + "external/sources/boost/boost/qvm/vec_register4.hpp", + "external/sources/boost/boost/qvm/vec_traits.hpp", + "external/sources/boost/boost/qvm/vec_traits_array.hpp", + "external/sources/boost/boost/qvm/vec_traits_defaults.hpp", + "external/sources/boost/boost/random.hpp", + "external/sources/boost/boost/random/additive_combine.hpp", + "external/sources/boost/boost/random/bernoulli_distribution.hpp", + "external/sources/boost/boost/random/beta_distribution.hpp", + "external/sources/boost/boost/random/binomial_distribution.hpp", + "external/sources/boost/boost/random/cauchy_distribution.hpp", + "external/sources/boost/boost/random/chi_squared_distribution.hpp", + "external/sources/boost/boost/random/detail/auto_link.hpp", + "external/sources/boost/boost/random/detail/config.hpp", + "external/sources/boost/boost/random/detail/const_mod.hpp", + "external/sources/boost/boost/random/detail/disable_warnings.hpp", + "external/sources/boost/boost/random/detail/enable_warnings.hpp", + "external/sources/boost/boost/random/detail/generator_bits.hpp", + "external/sources/boost/boost/random/detail/generator_seed_seq.hpp", + "external/sources/boost/boost/random/detail/gray_coded_qrng.hpp", + "external/sources/boost/boost/random/detail/int_float_pair.hpp", + "external/sources/boost/boost/random/detail/integer_log2.hpp", + "external/sources/boost/boost/random/detail/iterator_mixin.hpp", + "external/sources/boost/boost/random/detail/large_arithmetic.hpp", + "external/sources/boost/boost/random/detail/niederreiter_base2_table.hpp", + "external/sources/boost/boost/random/detail/operators.hpp", + "external/sources/boost/boost/random/detail/polynomial.hpp", + "external/sources/boost/boost/random/detail/ptr_helper.hpp", + "external/sources/boost/boost/random/detail/qrng_base.hpp", + "external/sources/boost/boost/random/detail/seed.hpp", + "external/sources/boost/boost/random/detail/seed_impl.hpp", + "external/sources/boost/boost/random/detail/signed_unsigned_tools.hpp", + "external/sources/boost/boost/random/detail/sobol_table.hpp", + "external/sources/boost/boost/random/detail/uniform_int_float.hpp", + "external/sources/boost/boost/random/detail/vector_io.hpp", + "external/sources/boost/boost/random/discard_block.hpp", + "external/sources/boost/boost/random/discrete_distribution.hpp", + "external/sources/boost/boost/random/exponential_distribution.hpp", + "external/sources/boost/boost/random/extreme_value_distribution.hpp", + "external/sources/boost/boost/random/faure.hpp", + "external/sources/boost/boost/random/fisher_f_distribution.hpp", + "external/sources/boost/boost/random/gamma_distribution.hpp", + "external/sources/boost/boost/random/generate_canonical.hpp", + "external/sources/boost/boost/random/geometric_distribution.hpp", + "external/sources/boost/boost/random/hyperexponential_distribution.hpp", + "external/sources/boost/boost/random/independent_bits.hpp", + "external/sources/boost/boost/random/inversive_congruential.hpp", + "external/sources/boost/boost/random/lagged_fibonacci.hpp", + "external/sources/boost/boost/random/laplace_distribution.hpp", + "external/sources/boost/boost/random/linear_congruential.hpp", + "external/sources/boost/boost/random/linear_feedback_shift.hpp", + "external/sources/boost/boost/random/lognormal_distribution.hpp", + "external/sources/boost/boost/random/mersenne_twister.hpp", + "external/sources/boost/boost/random/negative_binomial_distribution.hpp", + "external/sources/boost/boost/random/niederreiter_base2.hpp", + "external/sources/boost/boost/random/non_central_chi_squared_distribution.hpp", + "external/sources/boost/boost/random/normal_distribution.hpp", + "external/sources/boost/boost/random/piecewise_constant_distribution.hpp", + "external/sources/boost/boost/random/piecewise_linear_distribution.hpp", + "external/sources/boost/boost/random/poisson_distribution.hpp", + "external/sources/boost/boost/random/random_device.hpp", + "external/sources/boost/boost/random/random_number_generator.hpp", + "external/sources/boost/boost/random/ranlux.hpp", + "external/sources/boost/boost/random/seed_seq.hpp", + "external/sources/boost/boost/random/shuffle_order.hpp", + "external/sources/boost/boost/random/shuffle_output.hpp", + "external/sources/boost/boost/random/sobol.hpp", + "external/sources/boost/boost/random/student_t_distribution.hpp", + "external/sources/boost/boost/random/subtract_with_carry.hpp", + "external/sources/boost/boost/random/taus88.hpp", + "external/sources/boost/boost/random/traits.hpp", + "external/sources/boost/boost/random/triangle_distribution.hpp", + "external/sources/boost/boost/random/uniform_01.hpp", + "external/sources/boost/boost/random/uniform_int.hpp", + "external/sources/boost/boost/random/uniform_int_distribution.hpp", + "external/sources/boost/boost/random/uniform_on_sphere.hpp", + "external/sources/boost/boost/random/uniform_real.hpp", + "external/sources/boost/boost/random/uniform_real_distribution.hpp", + "external/sources/boost/boost/random/uniform_smallint.hpp", + "external/sources/boost/boost/random/variate_generator.hpp", + "external/sources/boost/boost/random/weibull_distribution.hpp", + "external/sources/boost/boost/random/xor_combine.hpp", + "external/sources/boost/boost/range.hpp", + "external/sources/boost/boost/range/adaptor/adjacent_filtered.hpp", + "external/sources/boost/boost/range/adaptor/argument_fwd.hpp", + "external/sources/boost/boost/range/adaptor/copied.hpp", + "external/sources/boost/boost/range/adaptor/define_adaptor.hpp", + "external/sources/boost/boost/range/adaptor/filtered.hpp", + "external/sources/boost/boost/range/adaptor/formatted.hpp", + "external/sources/boost/boost/range/adaptor/indexed.hpp", + "external/sources/boost/boost/range/adaptor/indirected.hpp", + "external/sources/boost/boost/range/adaptor/map.hpp", + "external/sources/boost/boost/range/adaptor/ref_unwrapped.hpp", + "external/sources/boost/boost/range/adaptor/replaced.hpp", + "external/sources/boost/boost/range/adaptor/replaced_if.hpp", + "external/sources/boost/boost/range/adaptor/reversed.hpp", + "external/sources/boost/boost/range/adaptor/sliced.hpp", + "external/sources/boost/boost/range/adaptor/strided.hpp", + "external/sources/boost/boost/range/adaptor/tokenized.hpp", + "external/sources/boost/boost/range/adaptor/transformed.hpp", + "external/sources/boost/boost/range/adaptor/type_erased.hpp", + "external/sources/boost/boost/range/adaptor/uniqued.hpp", + "external/sources/boost/boost/range/adaptors.hpp", + "external/sources/boost/boost/range/algorithm.hpp", + "external/sources/boost/boost/range/algorithm/adjacent_find.hpp", + "external/sources/boost/boost/range/algorithm/binary_search.hpp", + "external/sources/boost/boost/range/algorithm/copy.hpp", + "external/sources/boost/boost/range/algorithm/copy_backward.hpp", + "external/sources/boost/boost/range/algorithm/count.hpp", + "external/sources/boost/boost/range/algorithm/count_if.hpp", + "external/sources/boost/boost/range/algorithm/equal.hpp", + "external/sources/boost/boost/range/algorithm/equal_range.hpp", + "external/sources/boost/boost/range/algorithm/fill.hpp", + "external/sources/boost/boost/range/algorithm/fill_n.hpp", + "external/sources/boost/boost/range/algorithm/find.hpp", + "external/sources/boost/boost/range/algorithm/find_end.hpp", + "external/sources/boost/boost/range/algorithm/find_first_of.hpp", + "external/sources/boost/boost/range/algorithm/find_if.hpp", + "external/sources/boost/boost/range/algorithm/for_each.hpp", + "external/sources/boost/boost/range/algorithm/generate.hpp", + "external/sources/boost/boost/range/algorithm/heap_algorithm.hpp", + "external/sources/boost/boost/range/algorithm/inplace_merge.hpp", + "external/sources/boost/boost/range/algorithm/lexicographical_compare.hpp", + "external/sources/boost/boost/range/algorithm/lower_bound.hpp", + "external/sources/boost/boost/range/algorithm/max_element.hpp", + "external/sources/boost/boost/range/algorithm/merge.hpp", + "external/sources/boost/boost/range/algorithm/min_element.hpp", + "external/sources/boost/boost/range/algorithm/mismatch.hpp", + "external/sources/boost/boost/range/algorithm/nth_element.hpp", + "external/sources/boost/boost/range/algorithm/partial_sort.hpp", + "external/sources/boost/boost/range/algorithm/partial_sort_copy.hpp", + "external/sources/boost/boost/range/algorithm/partition.hpp", + "external/sources/boost/boost/range/algorithm/permutation.hpp", + "external/sources/boost/boost/range/algorithm/random_shuffle.hpp", + "external/sources/boost/boost/range/algorithm/remove.hpp", + "external/sources/boost/boost/range/algorithm/remove_copy.hpp", + "external/sources/boost/boost/range/algorithm/remove_copy_if.hpp", + "external/sources/boost/boost/range/algorithm/remove_if.hpp", + "external/sources/boost/boost/range/algorithm/replace.hpp", + "external/sources/boost/boost/range/algorithm/replace_copy.hpp", + "external/sources/boost/boost/range/algorithm/replace_copy_if.hpp", + "external/sources/boost/boost/range/algorithm/replace_if.hpp", + "external/sources/boost/boost/range/algorithm/reverse.hpp", + "external/sources/boost/boost/range/algorithm/reverse_copy.hpp", + "external/sources/boost/boost/range/algorithm/rotate.hpp", + "external/sources/boost/boost/range/algorithm/rotate_copy.hpp", + "external/sources/boost/boost/range/algorithm/search.hpp", + "external/sources/boost/boost/range/algorithm/search_n.hpp", + "external/sources/boost/boost/range/algorithm/set_algorithm.hpp", + "external/sources/boost/boost/range/algorithm/sort.hpp", + "external/sources/boost/boost/range/algorithm/stable_partition.hpp", + "external/sources/boost/boost/range/algorithm/stable_sort.hpp", + "external/sources/boost/boost/range/algorithm/swap_ranges.hpp", + "external/sources/boost/boost/range/algorithm/transform.hpp", + "external/sources/boost/boost/range/algorithm/unique.hpp", + "external/sources/boost/boost/range/algorithm/unique_copy.hpp", + "external/sources/boost/boost/range/algorithm/upper_bound.hpp", + "external/sources/boost/boost/range/algorithm_ext.hpp", + "external/sources/boost/boost/range/algorithm_ext/copy_n.hpp", + "external/sources/boost/boost/range/algorithm_ext/erase.hpp", + "external/sources/boost/boost/range/algorithm_ext/for_each.hpp", + "external/sources/boost/boost/range/algorithm_ext/insert.hpp", + "external/sources/boost/boost/range/algorithm_ext/iota.hpp", + "external/sources/boost/boost/range/algorithm_ext/is_sorted.hpp", + "external/sources/boost/boost/range/algorithm_ext/overwrite.hpp", + "external/sources/boost/boost/range/algorithm_ext/push_back.hpp", + "external/sources/boost/boost/range/algorithm_ext/push_front.hpp", + "external/sources/boost/boost/range/any_range.hpp", + "external/sources/boost/boost/range/as_array.hpp", + "external/sources/boost/boost/range/as_literal.hpp", + "external/sources/boost/boost/range/atl.hpp", + "external/sources/boost/boost/range/begin.hpp", + "external/sources/boost/boost/range/category.hpp", + "external/sources/boost/boost/range/combine.hpp", + "external/sources/boost/boost/range/concepts.hpp", + "external/sources/boost/boost/range/config.hpp", + "external/sources/boost/boost/range/const_iterator.hpp", + "external/sources/boost/boost/range/const_reverse_iterator.hpp", + "external/sources/boost/boost/range/counting_range.hpp", + "external/sources/boost/boost/range/detail/any_iterator.hpp", + "external/sources/boost/boost/range/detail/any_iterator_buffer.hpp", + "external/sources/boost/boost/range/detail/any_iterator_interface.hpp", + "external/sources/boost/boost/range/detail/any_iterator_wrapper.hpp", + "external/sources/boost/boost/range/detail/collection_traits.hpp", + "external/sources/boost/boost/range/detail/collection_traits_detail.hpp", + "external/sources/boost/boost/range/detail/combine_cxx03.hpp", + "external/sources/boost/boost/range/detail/combine_cxx11.hpp", + "external/sources/boost/boost/range/detail/combine_no_rvalue.hpp", + "external/sources/boost/boost/range/detail/combine_rvalue.hpp", + "external/sources/boost/boost/range/detail/common.hpp", + "external/sources/boost/boost/range/detail/default_constructible_unary_fn.hpp", + "external/sources/boost/boost/range/detail/demote_iterator_traversal_tag.hpp", + "external/sources/boost/boost/range/detail/difference_type.hpp", + "external/sources/boost/boost/range/detail/empty.hpp", + "external/sources/boost/boost/range/detail/extract_optional_type.hpp", + "external/sources/boost/boost/range/detail/has_member_size.hpp", + "external/sources/boost/boost/range/detail/implementation_help.hpp", + "external/sources/boost/boost/range/detail/join_iterator.hpp", + "external/sources/boost/boost/range/detail/less.hpp", + "external/sources/boost/boost/range/detail/microsoft.hpp", + "external/sources/boost/boost/range/detail/misc_concept.hpp", + "external/sources/boost/boost/range/detail/msvc_has_iterator_workaround.hpp", + "external/sources/boost/boost/range/detail/range_return.hpp", + "external/sources/boost/boost/range/detail/safe_bool.hpp", + "external/sources/boost/boost/range/detail/sfinae.hpp", + "external/sources/boost/boost/range/detail/sizer.hpp", + "external/sources/boost/boost/range/detail/str_types.hpp", + "external/sources/boost/boost/range/difference_type.hpp", + "external/sources/boost/boost/range/distance.hpp", + "external/sources/boost/boost/range/empty.hpp", + "external/sources/boost/boost/range/end.hpp", + "external/sources/boost/boost/range/functions.hpp", + "external/sources/boost/boost/range/has_range_iterator.hpp", + "external/sources/boost/boost/range/irange.hpp", + "external/sources/boost/boost/range/istream_range.hpp", + "external/sources/boost/boost/range/iterator.hpp", + "external/sources/boost/boost/range/iterator_range.hpp", + "external/sources/boost/boost/range/iterator_range_core.hpp", + "external/sources/boost/boost/range/iterator_range_hash.hpp", + "external/sources/boost/boost/range/iterator_range_io.hpp", + "external/sources/boost/boost/range/join.hpp", + "external/sources/boost/boost/range/metafunctions.hpp", + "external/sources/boost/boost/range/mfc.hpp", + "external/sources/boost/boost/range/mfc_map.hpp", + "external/sources/boost/boost/range/mutable_iterator.hpp", + "external/sources/boost/boost/range/numeric.hpp", + "external/sources/boost/boost/range/pointer.hpp", + "external/sources/boost/boost/range/range_fwd.hpp", + "external/sources/boost/boost/range/rbegin.hpp", + "external/sources/boost/boost/range/reference.hpp", + "external/sources/boost/boost/range/rend.hpp", + "external/sources/boost/boost/range/result_iterator.hpp", + "external/sources/boost/boost/range/reverse_iterator.hpp", + "external/sources/boost/boost/range/reverse_result_iterator.hpp", + "external/sources/boost/boost/range/size.hpp", + "external/sources/boost/boost/range/size_type.hpp", + "external/sources/boost/boost/range/sub_range.hpp", + "external/sources/boost/boost/range/traversal.hpp", + "external/sources/boost/boost/range/value_type.hpp", + "external/sources/boost/boost/ratio.hpp", + "external/sources/boost/boost/ratio/config.hpp", + "external/sources/boost/boost/ratio/detail/mpl/abs.hpp", + "external/sources/boost/boost/ratio/detail/mpl/gcd.hpp", + "external/sources/boost/boost/ratio/detail/mpl/lcm.hpp", + "external/sources/boost/boost/ratio/detail/mpl/sign.hpp", + "external/sources/boost/boost/ratio/detail/overflow_helpers.hpp", + "external/sources/boost/boost/ratio/detail/ratio_io.hpp", + "external/sources/boost/boost/ratio/include.hpp", + "external/sources/boost/boost/ratio/mpl/abs.hpp", + "external/sources/boost/boost/ratio/mpl/arithmetic.hpp", + "external/sources/boost/boost/ratio/mpl/comparison.hpp", + "external/sources/boost/boost/ratio/mpl/divides.hpp", + "external/sources/boost/boost/ratio/mpl/equal_to.hpp", + "external/sources/boost/boost/ratio/mpl/gcd.hpp", + "external/sources/boost/boost/ratio/mpl/greater.hpp", + "external/sources/boost/boost/ratio/mpl/greater_equal.hpp", + "external/sources/boost/boost/ratio/mpl/lcm.hpp", + "external/sources/boost/boost/ratio/mpl/less.hpp", + "external/sources/boost/boost/ratio/mpl/less_equal.hpp", + "external/sources/boost/boost/ratio/mpl/minus.hpp", + "external/sources/boost/boost/ratio/mpl/negate.hpp", + "external/sources/boost/boost/ratio/mpl/not_equal_to.hpp", + "external/sources/boost/boost/ratio/mpl/numeric_cast.hpp", + "external/sources/boost/boost/ratio/mpl/plus.hpp", + "external/sources/boost/boost/ratio/mpl/rational_c_tag.hpp", + "external/sources/boost/boost/ratio/mpl/rational_constant.hpp", + "external/sources/boost/boost/ratio/mpl/sign.hpp", + "external/sources/boost/boost/ratio/mpl/times.hpp", + "external/sources/boost/boost/ratio/ratio.hpp", + "external/sources/boost/boost/ratio/ratio_fwd.hpp", + "external/sources/boost/boost/ratio/ratio_io.hpp", + "external/sources/boost/boost/rational.hpp", + "external/sources/boost/boost/ref.hpp", + "external/sources/boost/boost/regex.h", + "external/sources/boost/boost/regex.hpp", + "external/sources/boost/boost/regex/concepts.hpp", + "external/sources/boost/boost/regex/config.hpp", + "external/sources/boost/boost/regex/config/borland.hpp", + "external/sources/boost/boost/regex/config/cwchar.hpp", + "external/sources/boost/boost/regex/icu.hpp", + "external/sources/boost/boost/regex/mfc.hpp", + "external/sources/boost/boost/regex/pattern_except.hpp", + "external/sources/boost/boost/regex/pending/object_cache.hpp", + "external/sources/boost/boost/regex/pending/static_mutex.hpp", + "external/sources/boost/boost/regex/pending/unicode_iterator.hpp", + "external/sources/boost/boost/regex/regex_traits.hpp", + "external/sources/boost/boost/regex/user.hpp", + "external/sources/boost/boost/regex/v4/basic_regex.hpp", + "external/sources/boost/boost/regex/v4/basic_regex_creator.hpp", + "external/sources/boost/boost/regex/v4/basic_regex_parser.hpp", + "external/sources/boost/boost/regex/v4/c_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/char_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/cpp_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/cregex.hpp", + "external/sources/boost/boost/regex/v4/error_type.hpp", + "external/sources/boost/boost/regex/v4/fileiter.hpp", + "external/sources/boost/boost/regex/v4/indexed_bit_flag.hpp", + "external/sources/boost/boost/regex/v4/instances.hpp", + "external/sources/boost/boost/regex/v4/iterator_category.hpp", + "external/sources/boost/boost/regex/v4/iterator_traits.hpp", + "external/sources/boost/boost/regex/v4/match_flags.hpp", + "external/sources/boost/boost/regex/v4/match_results.hpp", + "external/sources/boost/boost/regex/v4/mem_block_cache.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_common.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_non_recursive.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_recursive.hpp", + "external/sources/boost/boost/regex/v4/primary_transform.hpp", + "external/sources/boost/boost/regex/v4/protected_call.hpp", + "external/sources/boost/boost/regex/v4/regbase.hpp", + "external/sources/boost/boost/regex/v4/regex.hpp", + "external/sources/boost/boost/regex/v4/regex_format.hpp", + "external/sources/boost/boost/regex/v4/regex_fwd.hpp", + "external/sources/boost/boost/regex/v4/regex_grep.hpp", + "external/sources/boost/boost/regex/v4/regex_iterator.hpp", + "external/sources/boost/boost/regex/v4/regex_match.hpp", + "external/sources/boost/boost/regex/v4/regex_merge.hpp", + "external/sources/boost/boost/regex/v4/regex_raw_buffer.hpp", + "external/sources/boost/boost/regex/v4/regex_replace.hpp", + "external/sources/boost/boost/regex/v4/regex_search.hpp", + "external/sources/boost/boost/regex/v4/regex_split.hpp", + "external/sources/boost/boost/regex/v4/regex_token_iterator.hpp", + "external/sources/boost/boost/regex/v4/regex_traits.hpp", + "external/sources/boost/boost/regex/v4/regex_traits_defaults.hpp", + "external/sources/boost/boost/regex/v4/regex_workaround.hpp", + "external/sources/boost/boost/regex/v4/states.hpp", + "external/sources/boost/boost/regex/v4/sub_match.hpp", + "external/sources/boost/boost/regex/v4/syntax_type.hpp", + "external/sources/boost/boost/regex/v4/u32regex_iterator.hpp", + "external/sources/boost/boost/regex/v4/u32regex_token_iterator.hpp", + "external/sources/boost/boost/regex/v4/w32_regex_traits.hpp", + "external/sources/boost/boost/regex_fwd.hpp", + "external/sources/boost/boost/safe_numerics/CMakeLists.txt", + "external/sources/boost/boost/safe_numerics/automatic.hpp", + "external/sources/boost/boost/safe_numerics/checked_default.hpp", + "external/sources/boost/boost/safe_numerics/checked_float.hpp", + "external/sources/boost/boost/safe_numerics/checked_integer.hpp", + "external/sources/boost/boost/safe_numerics/checked_result.hpp", + "external/sources/boost/boost/safe_numerics/checked_result_operations.hpp", + "external/sources/boost/boost/safe_numerics/concept/CMakeLists.txt", + "external/sources/boost/boost/safe_numerics/concept/exception_policy.hpp", + "external/sources/boost/boost/safe_numerics/concept/integer.hpp", + "external/sources/boost/boost/safe_numerics/concept/numeric.hpp", + "external/sources/boost/boost/safe_numerics/concept/promotion_policy.hpp", + "external/sources/boost/boost/safe_numerics/concept/safe_numeric.hpp", + "external/sources/boost/boost/safe_numerics/cpp.hpp", + "external/sources/boost/boost/safe_numerics/exception.hpp", + "external/sources/boost/boost/safe_numerics/exception_policies.hpp", + "external/sources/boost/boost/safe_numerics/interval.hpp", + "external/sources/boost/boost/safe_numerics/native.hpp", + "external/sources/boost/boost/safe_numerics/range_value.hpp", + "external/sources/boost/boost/safe_numerics/safe_base.hpp", + "external/sources/boost/boost/safe_numerics/safe_base_operations.hpp", + "external/sources/boost/boost/safe_numerics/safe_common.hpp", + "external/sources/boost/boost/safe_numerics/safe_compare.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer_literal.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer_range.hpp", + "external/sources/boost/boost/safe_numerics/utility.hpp", + "external/sources/boost/boost/scope_exit.hpp", + "external/sources/boost/boost/scoped_array.hpp", + "external/sources/boost/boost/scoped_ptr.hpp", + "external/sources/boost/boost/serialization/access.hpp", + "external/sources/boost/boost/serialization/archive_input_unordered_map.hpp", + "external/sources/boost/boost/serialization/archive_input_unordered_set.hpp", + "external/sources/boost/boost/serialization/array.hpp", + "external/sources/boost/boost/serialization/array_optimization.hpp", + "external/sources/boost/boost/serialization/array_wrapper.hpp", + "external/sources/boost/boost/serialization/assume_abstract.hpp", + "external/sources/boost/boost/serialization/base_object.hpp", + "external/sources/boost/boost/serialization/binary_object.hpp", + "external/sources/boost/boost/serialization/bitset.hpp", + "external/sources/boost/boost/serialization/boost_array.hpp", + "external/sources/boost/boost/serialization/boost_unordered_map.hpp", + "external/sources/boost/boost/serialization/boost_unordered_set.hpp", + "external/sources/boost/boost/serialization/collection_size_type copy.hpp", + "external/sources/boost/boost/serialization/collection_size_type.hpp", + "external/sources/boost/boost/serialization/collection_traits.hpp", + "external/sources/boost/boost/serialization/collections_load_imp.hpp", + "external/sources/boost/boost/serialization/collections_save_imp.hpp", + "external/sources/boost/boost/serialization/complex.hpp", + "external/sources/boost/boost/serialization/config.hpp", + "external/sources/boost/boost/serialization/deque.hpp", + "external/sources/boost/boost/serialization/detail/is_default_constructible.hpp", + "external/sources/boost/boost/serialization/detail/shared_count_132.hpp", + "external/sources/boost/boost/serialization/detail/shared_ptr_132.hpp", + "external/sources/boost/boost/serialization/detail/shared_ptr_nmt_132.hpp", + "external/sources/boost/boost/serialization/detail/stack_constructor.hpp", + "external/sources/boost/boost/serialization/export.hpp", + "external/sources/boost/boost/serialization/extended_type_info.hpp", + "external/sources/boost/boost/serialization/extended_type_info_no_rtti.hpp", + "external/sources/boost/boost/serialization/extended_type_info_typeid.hpp", + "external/sources/boost/boost/serialization/factory.hpp", + "external/sources/boost/boost/serialization/force_include.hpp", + "external/sources/boost/boost/serialization/forward_list.hpp", + "external/sources/boost/boost/serialization/hash_collections_load_imp.hpp", + "external/sources/boost/boost/serialization/hash_collections_save_imp.hpp", + "external/sources/boost/boost/serialization/hash_map.hpp", + "external/sources/boost/boost/serialization/hash_set.hpp", + "external/sources/boost/boost/serialization/is_bitwise_serializable.hpp", + "external/sources/boost/boost/serialization/item_version_type.hpp", + "external/sources/boost/boost/serialization/level.hpp", + "external/sources/boost/boost/serialization/level_enum.hpp", + "external/sources/boost/boost/serialization/library_version_type.hpp", + "external/sources/boost/boost/serialization/list.hpp", + "external/sources/boost/boost/serialization/map.hpp", + "external/sources/boost/boost/serialization/nvp.hpp", + "external/sources/boost/boost/serialization/optional.hpp", + "external/sources/boost/boost/serialization/priority_queue.hpp", + "external/sources/boost/boost/serialization/queue.hpp", + "external/sources/boost/boost/serialization/scoped_ptr.hpp", + "external/sources/boost/boost/serialization/serialization.hpp", + "external/sources/boost/boost/serialization/set.hpp", + "external/sources/boost/boost/serialization/shared_ptr.hpp", + "external/sources/boost/boost/serialization/shared_ptr_132.hpp", + "external/sources/boost/boost/serialization/shared_ptr_helper.hpp", + "external/sources/boost/boost/serialization/singleton.hpp", + "external/sources/boost/boost/serialization/slist.hpp", + "external/sources/boost/boost/serialization/smart_cast.hpp", + "external/sources/boost/boost/serialization/split_free.hpp", + "external/sources/boost/boost/serialization/split_member.hpp", + "external/sources/boost/boost/serialization/stack.hpp", + "external/sources/boost/boost/serialization/state_saver.hpp", + "external/sources/boost/boost/serialization/static_warning.hpp", + "external/sources/boost/boost/serialization/string.hpp", + "external/sources/boost/boost/serialization/strong_typedef.hpp", + "external/sources/boost/boost/serialization/throw_exception.hpp", + "external/sources/boost/boost/serialization/tracking.hpp", + "external/sources/boost/boost/serialization/tracking_enum.hpp", + "external/sources/boost/boost/serialization/traits.hpp", + "external/sources/boost/boost/serialization/type_info_implementation.hpp", + "external/sources/boost/boost/serialization/unique_ptr.hpp", + "external/sources/boost/boost/serialization/unordered_collections_load_imp.hpp", + "external/sources/boost/boost/serialization/unordered_collections_save_imp.hpp", + "external/sources/boost/boost/serialization/unordered_map.hpp", + "external/sources/boost/boost/serialization/unordered_set.hpp", + "external/sources/boost/boost/serialization/utility.hpp", + "external/sources/boost/boost/serialization/valarray.hpp", + "external/sources/boost/boost/serialization/variant.hpp", + "external/sources/boost/boost/serialization/vector.hpp", + "external/sources/boost/boost/serialization/vector_135.hpp", + "external/sources/boost/boost/serialization/version.hpp", + "external/sources/boost/boost/serialization/void_cast.hpp", + "external/sources/boost/boost/serialization/void_cast_fwd.hpp", + "external/sources/boost/boost/serialization/weak_ptr.hpp", + "external/sources/boost/boost/serialization/wrapper.hpp", + "external/sources/boost/boost/shared_array.hpp", + "external/sources/boost/boost/shared_container_iterator.hpp", + "external/sources/boost/boost/shared_ptr.hpp", + "external/sources/boost/boost/signals2.hpp", + "external/sources/boost/boost/signals2/connection.hpp", + "external/sources/boost/boost/signals2/deconstruct.hpp", + "external/sources/boost/boost/signals2/deconstruct_ptr.hpp", + "external/sources/boost/boost/signals2/detail/auto_buffer.hpp", + "external/sources/boost/boost/signals2/detail/foreign_ptr.hpp", + "external/sources/boost/boost/signals2/detail/lwm_nop.hpp", + "external/sources/boost/boost/signals2/detail/lwm_pthreads.hpp", + "external/sources/boost/boost/signals2/detail/lwm_win32_cs.hpp", + "external/sources/boost/boost/signals2/detail/null_output_iterator.hpp", + "external/sources/boost/boost/signals2/detail/preprocessed_arg_type.hpp", + "external/sources/boost/boost/signals2/detail/preprocessed_arg_type_template.hpp", + "external/sources/boost/boost/signals2/detail/replace_slot_function.hpp", + "external/sources/boost/boost/signals2/detail/result_type_wrapper.hpp", + "external/sources/boost/boost/signals2/detail/scope_guard.hpp", + "external/sources/boost/boost/signals2/detail/signal_template.hpp", + "external/sources/boost/boost/signals2/detail/signals_common.hpp", + "external/sources/boost/boost/signals2/detail/signals_common_macros.hpp", + "external/sources/boost/boost/signals2/detail/slot_call_iterator.hpp", + "external/sources/boost/boost/signals2/detail/slot_groups.hpp", + "external/sources/boost/boost/signals2/detail/slot_template.hpp", + "external/sources/boost/boost/signals2/detail/tracked_objects_visitor.hpp", + "external/sources/boost/boost/signals2/detail/unique_lock.hpp", + "external/sources/boost/boost/signals2/detail/variadic_arg_type.hpp", + "external/sources/boost/boost/signals2/detail/variadic_slot_invoker.hpp", + "external/sources/boost/boost/signals2/dummy_mutex.hpp", + "external/sources/boost/boost/signals2/expired_slot.hpp", + "external/sources/boost/boost/signals2/last_value.hpp", + "external/sources/boost/boost/signals2/mutex.hpp", + "external/sources/boost/boost/signals2/optional_last_value.hpp", + "external/sources/boost/boost/signals2/postconstructible.hpp", + "external/sources/boost/boost/signals2/predestructible.hpp", + "external/sources/boost/boost/signals2/preprocessed_signal.hpp", + "external/sources/boost/boost/signals2/preprocessed_slot.hpp", + "external/sources/boost/boost/signals2/shared_connection_block.hpp", + "external/sources/boost/boost/signals2/signal.hpp", + "external/sources/boost/boost/signals2/signal_base.hpp", + "external/sources/boost/boost/signals2/signal_type.hpp", + "external/sources/boost/boost/signals2/slot.hpp", + "external/sources/boost/boost/signals2/slot_base.hpp", + "external/sources/boost/boost/signals2/trackable.hpp", + "external/sources/boost/boost/signals2/variadic_signal.hpp", + "external/sources/boost/boost/signals2/variadic_slot.hpp", + "external/sources/boost/boost/smart_ptr.hpp", + "external/sources/boost/boost/smart_ptr/allocate_local_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/allocate_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/allocate_unique.hpp", + "external/sources/boost/boost/smart_ptr/atomic_shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/bad_weak_ptr.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_spin.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_win32.hpp", + "external/sources/boost/boost/smart_ptr/detail/lightweight_mutex.hpp", + "external/sources/boost/boost/smart_ptr/detail/lightweight_thread.hpp", + "external/sources/boost/boost/smart_ptr/detail/local_counted_base.hpp", + "external/sources/boost/boost/smart_ptr/detail/local_sp_deleter.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_pthreads.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_std_mutex.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_win32_cs.hpp", + "external/sources/boost/boost/smart_ptr/detail/operator_bool.hpp", + "external/sources/boost/boost/smart_ptr/detail/quick_allocator.hpp", + "external/sources/boost/boost/smart_ptr/detail/shared_count.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_convertible.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_impl.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_forward.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_interlocked.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_noexcept.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_obsolete.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_pause.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_yield.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_arm.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_pool.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_w32.hpp", + "external/sources/boost/boost/smart_ptr/detail/yield_k.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from_raw.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from_this.hpp", + "external/sources/boost/boost/smart_ptr/intrusive_ptr.hpp", + "external/sources/boost/boost/smart_ptr/intrusive_ref_counter.hpp", + "external/sources/boost/boost/smart_ptr/local_shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared_object.hpp", + "external/sources/boost/boost/smart_ptr/make_shared.hpp", + "external/sources/boost/boost/smart_ptr/make_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/make_shared_object.hpp", + "external/sources/boost/boost/smart_ptr/make_unique.hpp", + "external/sources/boost/boost/smart_ptr/owner_equal_to.hpp", + "external/sources/boost/boost/smart_ptr/owner_hash.hpp", + "external/sources/boost/boost/smart_ptr/owner_less.hpp", + "external/sources/boost/boost/smart_ptr/scoped_array.hpp", + "external/sources/boost/boost/smart_ptr/scoped_ptr.hpp", + "external/sources/boost/boost/smart_ptr/shared_array.hpp", + "external/sources/boost/boost/smart_ptr/shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/weak_ptr.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/backbone.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/block.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/constants.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/merge_blocks.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/move_blocks.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/parallel_sort.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/block_indirect_sort.hpp", + "external/sources/boost/boost/sort/common/deque_cnc.hpp", + "external/sources/boost/boost/sort/common/file_vector.hpp", + "external/sources/boost/boost/sort/common/indirect.hpp", + "external/sources/boost/boost/sort/common/int_array.hpp", + "external/sources/boost/boost/sort/common/merge_block.hpp", + "external/sources/boost/boost/sort/common/merge_four.hpp", + "external/sources/boost/boost/sort/common/merge_vector.hpp", + "external/sources/boost/boost/sort/common/pivot.hpp", + "external/sources/boost/boost/sort/common/range.hpp", + "external/sources/boost/boost/sort/common/rearrange.hpp", + "external/sources/boost/boost/sort/common/scheduler.hpp", + "external/sources/boost/boost/sort/common/sort_basic.hpp", + "external/sources/boost/boost/sort/common/spinlock.hpp", + "external/sources/boost/boost/sort/common/stack_cnc.hpp", + "external/sources/boost/boost/sort/common/time_measure.hpp", + "external/sources/boost/boost/sort/common/util/algorithm.hpp", + "external/sources/boost/boost/sort/common/util/atomic.hpp", + "external/sources/boost/boost/sort/common/util/circular_buffer.hpp", + "external/sources/boost/boost/sort/common/util/insert.hpp", + "external/sources/boost/boost/sort/common/util/merge.hpp", + "external/sources/boost/boost/sort/common/util/search.hpp", + "external/sources/boost/boost/sort/common/util/traits.hpp", + "external/sources/boost/boost/sort/flat_stable_sort/flat_stable_sort.hpp", + "external/sources/boost/boost/sort/heap_sort/heap_sort.hpp", + "external/sources/boost/boost/sort/insert_sort/insert_sort.hpp", + "external/sources/boost/boost/sort/parallel_stable_sort/parallel_stable_sort.hpp", + "external/sources/boost/boost/sort/pdqsort/pdqsort.hpp", + "external/sources/boost/boost/sort/sample_sort/sample_sort.hpp", + "external/sources/boost/boost/sort/sort.hpp", + "external/sources/boost/boost/sort/spinsort/spinsort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/constants.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/float_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/integer_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/spreadsort_common.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/string_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/float_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/integer_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/spreadsort.hpp", + "external/sources/boost/boost/sort/spreadsort/string_sort.hpp", + "external/sources/boost/boost/spirit.hpp", + "external/sources/boost/boost/spirit/home/classic.hpp", + "external/sources/boost/boost/spirit/home/classic/actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/assign_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/assign_key_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/clear_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/decrement_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/erase_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/increment_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/insert_at_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/insert_key_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/push_back_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/push_front_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_const_ref_a.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_value_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/swap_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure_context.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/parametric.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/core.hpp", + "external/sources/boost/boost/spirit/home/classic/core/assert.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/actions.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/alternative.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/composite.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/difference.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/directives.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/epsilon.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/exclusive_or.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/alternative.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/difference.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/directives.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/exclusive_or.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/intersection.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/kleene_star.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/list.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/optional.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/positive.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequence.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_and.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_or.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/intersection.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/kleene_star.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/list.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/no_actions.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/operators.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/optional.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/positive.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequence.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_and.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_or.hpp", + "external/sources/boost/boost/spirit/home/classic/core/config.hpp", + "external/sources/boost/boost/spirit/home/classic/core/impl/match.ipp", + "external/sources/boost/boost/spirit/home/classic/core/impl/match_attr_traits.ipp", + "external/sources/boost/boost/spirit/home/classic/core/impl/parser.ipp", + "external/sources/boost/boost/spirit/home/classic/core/match.hpp", + "external/sources/boost/boost/spirit/home/classic/core/nil.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/static.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/subrule.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_context.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_id.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/rule.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/parser.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/numerics.ipp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/primitives.ipp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/primitives.hpp", + "external/sources/boost/boost/spirit/home/classic/core/safe_bool.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/impl/skipper.ipp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/debug.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/for.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/if.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/conditions.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/select.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/switch.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/lazy.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/rule_alias.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/select.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/switch.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/while.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/impl/exceptions.ipp", + "external/sources/boost/boost/spirit/home/classic/error_handling/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/impl/file_iterator.ipp", + "external/sources/boost/boost/spirit/home/classic/iterator/impl/position_iterator.ipp", + "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/meta.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/as_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/fundamental.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/fundamental.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/parser_traits.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/refactoring.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/traverse.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/parser_traits.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/refactoring.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/traverse.hpp", + "external/sources/boost/boost/spirit/home/classic/namespace.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/actor.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/binders.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/casts.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/closures.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/composite.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/functions.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/new.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/operators.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/primitives.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/special_ops.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/statements.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/tuple_helpers.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/tuples.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/impl/symbols.ipp", + "external/sources/boost/boost/spirit/home/classic/symbols/impl/tst.ipp", + "external/sources/boost/boost/spirit/home/classic/symbols/symbols.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/symbols_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/ast.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/ast_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/common.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/common_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/impl/parse_tree_utils.ipp", + "external/sources/boost/boost/spirit/home/classic/tree/impl/tree_to_xml.ipp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_utils.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parsetree.dtd", + "external/sources/boost/boost/spirit/home/classic/tree/tree_to_xml.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/utility.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/chset.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/chset_operators.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/confix.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/confix_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/distinct.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/distinct_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/escape_char.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/escape_char_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/functor_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/grammar_def.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/grammar_def_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset_operators.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/confix.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/escape_char.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/lists.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/regex.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/lists.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/lists_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/loops.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/regex.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/rule_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/scoped_lock.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/version.hpp", + "external/sources/boost/boost/spirit/home/karma.hpp", + "external/sources/boost/boost/spirit/home/karma/action.hpp", + "external/sources/boost/boost/spirit/home/karma/action/action.hpp", + "external/sources/boost/boost/spirit/home/karma/auto.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/auto.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/create_generator.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/lazy.hpp", + "external/sources/boost/boost/spirit/home/karma/binary.hpp", + "external/sources/boost/boost/spirit/home/karma/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/karma/binary/padding.hpp", + "external/sources/boost/boost/spirit/home/karma/char.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char_generator.hpp", + "external/sources/boost/boost/spirit/home/karma/delimit_flag.hpp", + "external/sources/boost/boost/spirit/home/karma/delimit_out.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/alternative_function.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/as.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/attributes.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/default_width.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/enable_lit.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/extract_from.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/fail_function.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate_to.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/get_casetag.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/get_stricttag.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/indirect_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/output_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/pass_container.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/string_compare.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/string_generate.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/unused_delimiter.hpp", + "external/sources/boost/boost/spirit/home/karma/directive.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/as.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/buffer.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/center_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/columns.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/delimit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/duplicate.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/encoding.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/left_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/maxwidth.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/no_delimit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/right_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/strict_relaxed.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/upper_lower_case.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/verbatim.hpp", + "external/sources/boost/boost/spirit/home/karma/domain.hpp", + "external/sources/boost/boost/spirit/home/karma/format.hpp", + "external/sources/boost/boost/spirit/home/karma/format_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/generate.hpp", + "external/sources/boost/boost/spirit/home/karma/generate_attr.hpp", + "external/sources/boost/boost/spirit/home/karma/generator.hpp", + "external/sources/boost/boost/spirit/home/karma/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/fcall.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/generator_binder.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/parameterized.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/nonterminal_fwd.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/bool_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/real_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/karma/operator.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/list.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/karma/phoenix_attributes.hpp", + "external/sources/boost/boost/spirit/home/karma/reference.hpp", + "external/sources/boost/boost/spirit/home/karma/stream.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/format_manip.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/format_manip_attr.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/ostream_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/stream.hpp", + "external/sources/boost/boost/spirit/home/karma/string.hpp", + "external/sources/boost/boost/spirit/home/karma/string/lit.hpp", + "external/sources/boost/boost/spirit/home/karma/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/karma/what.hpp", + "external/sources/boost/boost/spirit/home/lex.hpp", + "external/sources/boost/boost/spirit/home/lex/argument.hpp", + "external/sources/boost/boost/spirit/home/lex/argument_phoenix.hpp", + "external/sources/boost/boost/spirit/home/lex/detail/sequence_function.hpp", + "external/sources/boost/boost/spirit/home/lex/domain.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/action.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/char_token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/position_token.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/semantic_action_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_functor_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_version.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/token.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/pass_flags.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/sequence.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/string_token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/support_functions.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/support_functions_expression.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/terminals.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_lexertl.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_static_lexertl.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_type.hpp", + "external/sources/boost/boost/spirit/home/lex/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/lex/primitives.hpp", + "external/sources/boost/boost/spirit/home/lex/qi.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/in_state.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_raw_token.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_token.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/state_switcher.hpp", + "external/sources/boost/boost/spirit/home/lex/reference.hpp", + "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse.hpp", + "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse_attr.hpp", + "external/sources/boost/boost/spirit/home/qi.hpp", + "external/sources/boost/boost/spirit/home/qi/action.hpp", + "external/sources/boost/boost/spirit/home/qi/action/action.hpp", + "external/sources/boost/boost/spirit/home/qi/auto.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/auto.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/create_parser.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/attr.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eoi.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/lazy.hpp", + "external/sources/boost/boost/spirit/home/qi/binary.hpp", + "external/sources/boost/boost/spirit/home/qi/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/qi/char.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char_parser.hpp", + "external/sources/boost/boost/spirit/home/qi/copy.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/alternative_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/assign_to.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/attributes.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/construct.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/enable_lit.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/expect_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/expectation_failure.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/fail_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/parse.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/parse_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/pass_container.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/pass_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/permute_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/string_parse.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/unused_skipper.hpp", + "external/sources/boost/boost/spirit/home/qi/directive.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/as.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/encoding.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/expect.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/hold.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/lexeme.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/matches.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/no_case.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/no_skip.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/raw.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/skip.hpp", + "external/sources/boost/boost/spirit/home/qi/domain.hpp", + "external/sources/boost/boost/spirit/home/qi/match.hpp", + "external/sources/boost/boost/spirit/home/qi/match_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/fcall.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parameterized.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parser_binder.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/error_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/nonterminal_fwd.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/success_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/detail/real_impl.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/qi/operator.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/difference.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/expect.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/list.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/permutation.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequence_base.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequential_or.hpp", + "external/sources/boost/boost/spirit/home/qi/parse.hpp", + "external/sources/boost/boost/spirit/home/qi/parse_attr.hpp", + "external/sources/boost/boost/spirit/home/qi/parser.hpp", + "external/sources/boost/boost/spirit/home/qi/reference.hpp", + "external/sources/boost/boost/spirit/home/qi/skip_flag.hpp", + "external/sources/boost/boost/spirit/home/qi/skip_over.hpp", + "external/sources/boost/boost/spirit/home/qi/stream.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/match_manip.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/match_manip_attr.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/stream.hpp", + "external/sources/boost/boost/spirit/home/qi/string.hpp", + "external/sources/boost/boost/spirit/home/qi/string/detail/tst.hpp", + "external/sources/boost/boost/spirit/home/qi/string/lit.hpp", + "external/sources/boost/boost/spirit/home/qi/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/qi/string/tst.hpp", + "external/sources/boost/boost/spirit/home/qi/string/tst_map.hpp", + "external/sources/boost/boost/spirit/home/qi/what.hpp", + "external/sources/boost/boost/spirit/home/support.hpp", + "external/sources/boost/boost/spirit/home/support/action_dispatch.hpp", + "external/sources/boost/boost/spirit/home/support/adapt_adt_attributes.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns_so.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_ns.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_ns_so.hpp", + "external/sources/boost/boost/spirit/home/support/argument.hpp", + "external/sources/boost/boost/spirit/home/support/argument_expression.hpp", + "external/sources/boost/boost/spirit/home/support/assert_msg.hpp", + "external/sources/boost/boost/spirit/home/support/attributes.hpp", + "external/sources/boost/boost/spirit/home/support/attributes_fwd.hpp", + "external/sources/boost/boost/spirit/home/support/auto.hpp", + "external/sources/boost/boost/spirit/home/support/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/support/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/support/char_class.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/ascii.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/iso8859_1.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/standard.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/category_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/lowercase_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/query.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/script_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/basic_chset.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_functions.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_run.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_run_impl.hpp", + "external/sources/boost/boost/spirit/home/support/common_terminals.hpp", + "external/sources/boost/boost/spirit/home/support/container.hpp", + "external/sources/boost/boost/spirit/home/support/context.hpp", + "external/sources/boost/boost/spirit/home/support/detail/as_variant.hpp", + "external/sources/boost/boost/spirit/home/support/detail/endian.hpp", + "external/sources/boost/boost/spirit/home/support/detail/get_encoding.hpp", + "external/sources/boost/boost/spirit/home/support/detail/hold_any.hpp", + "external/sources/boost/boost/spirit/home/support/detail/is_spirit_tag.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/char_traits.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/consts.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_list.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_vector.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/conversion/char_state_machine.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/debug.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/file_input.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_cpp.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_re2c.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generator.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/input.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/internals.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/parser.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_helper.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_state.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/end_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/iteration_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/leaf_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/selection_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/sequence_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/charset.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/equivset.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/rules.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/runtime_error.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/size_t.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/state_machine.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/string_token.hpp", + "external/sources/boost/boost/spirit/home/support/detail/make_cons.hpp", + "external/sources/boost/boost/spirit/home/support/detail/make_vector.hpp", + "external/sources/boost/boost/spirit/home/support/detail/pow10.hpp", + "external/sources/boost/boost/spirit/home/support/detail/scoped_enum_emulation.hpp", + "external/sources/boost/boost/spirit/home/support/detail/sign.hpp", + "external/sources/boost/boost/spirit/home/support/detail/what_function.hpp", + "external/sources/boost/boost/spirit/home/support/extended_variant.hpp", + "external/sources/boost/boost/spirit/home/support/handles_container.hpp", + "external/sources/boost/boost/spirit/home/support/has_semantic_action.hpp", + "external/sources/boost/boost/spirit/home/support/info.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/buf_id_check_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/combine_policies.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/first_owner_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/istream_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/lex_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/no_check_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/ref_counted_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/split_functor_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/istream_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/line_pos_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/look_ahead.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/ostream_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/lazy.hpp", + "external/sources/boost/boost/spirit/home/support/limits.hpp", + "external/sources/boost/boost/spirit/home/support/make_component.hpp", + "external/sources/boost/boost/spirit/home/support/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/support/modify.hpp", + "external/sources/boost/boost/spirit/home/support/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/multi_pass_wrapper.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/expand_arg.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/extract_param.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/locals.hpp", + "external/sources/boost/boost/spirit/home/support/numeric_traits.hpp", + "external/sources/boost/boost/spirit/home/support/sequence_base_id.hpp", + "external/sources/boost/boost/spirit/home/support/string_traits.hpp", + "external/sources/boost/boost/spirit/home/support/terminal.hpp", + "external/sources/boost/boost/spirit/home/support/terminal_expression.hpp", + "external/sources/boost/boost/spirit/home/support/unused.hpp", + "external/sources/boost/boost/spirit/home/support/utf8.hpp", + "external/sources/boost/boost/spirit/home/support/utree.hpp", + "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail1.hpp", + "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail2.hpp", + "external/sources/boost/boost/spirit/home/support/utree/operators.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree_traits.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree_traits_fwd.hpp", + "external/sources/boost/boost/spirit/home/x3.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/any_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/attr.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eoi.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/guard.hpp", + "external/sources/boost/boost/spirit/home/x3/binary.hpp", + "external/sources/boost/boost/spirit/home/x3/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/x3/char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/any_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_class_tags.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_set.hpp", + "external/sources/boost/boost/spirit/home/x3/char/detail/cast_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/literal_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/negated_char_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/char/unicode.hpp", + "external/sources/boost/boost/spirit/home/x3/core.hpp", + "external/sources/boost/boost/spirit/home/x3/core/action.hpp", + "external/sources/boost/boost/spirit/home/x3/core/call.hpp", + "external/sources/boost/boost/spirit/home/x3/core/detail/parse_into_container.hpp", + "external/sources/boost/boost/spirit/home/x3/core/parse.hpp", + "external/sources/boost/boost/spirit/home/x3/core/parser.hpp", + "external/sources/boost/boost/spirit/home/x3/core/proxy.hpp", + "external/sources/boost/boost/spirit/home/x3/core/skip_over.hpp", + "external/sources/boost/boost/spirit/home/x3/directive.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/confix.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/expect.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/lexeme.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/matches.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/no_case.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/no_skip.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/raw.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/seek.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/skip.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/with.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/rule.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/transform_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/x3/operator.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/detail/alternative.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/detail/sequence.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/difference.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/list.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/x3/string.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/no_case_string_parse.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/string_parse.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/tst.hpp", + "external/sources/boost/boost/spirit/home/x3/string/literal_string.hpp", + "external/sources/boost/boost/spirit/home/x3/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/x3/string/tst.hpp", + "external/sources/boost/boost/spirit/home/x3/string/tst_map.hpp", + "external/sources/boost/boost/spirit/home/x3/support/ast/position_tagged.hpp", + "external/sources/boost/boost/spirit/home/x3/support/ast/variant.hpp", + "external/sources/boost/boost/spirit/home/x3/support/context.hpp", + "external/sources/boost/boost/spirit/home/x3/support/no_case.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/detail/extract_int.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_int.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_real.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/pow10.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/sign.hpp", + "external/sources/boost/boost/spirit/home/x3/support/subcontext.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_category.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of_binary.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_type.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/container_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/handles_container.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/has_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_range.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_variant.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/move_to.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/numeric_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/optional_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/print_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/print_token.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/pseudo_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/string_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/transform_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/tuple_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/variant_find_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/unused.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/annotate_on_success.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/error_reporting.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/is_callable.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/lambda_visitor.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/sfinae.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/utf8.hpp", + "external/sources/boost/boost/spirit/home/x3/version.hpp", + "external/sources/boost/boost/spirit/include/classic.hpp", + "external/sources/boost/boost/spirit/include/classic_actions.hpp", + "external/sources/boost/boost/spirit/include/classic_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_alternative.hpp", + "external/sources/boost/boost/spirit/include/classic_as_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_assert.hpp", + "external/sources/boost/boost/spirit/include/classic_assign_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_assign_key_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ast.hpp", + "external/sources/boost/boost/spirit/include/classic_ast_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_attribute.hpp", + "external/sources/boost/boost/spirit/include/classic_basic_chset.hpp", + "external/sources/boost/boost/spirit/include/classic_chset.hpp", + "external/sources/boost/boost/spirit/include/classic_chset_operators.hpp", + "external/sources/boost/boost/spirit/include/classic_clear_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_closure.hpp", + "external/sources/boost/boost/spirit/include/classic_closure_context.hpp", + "external/sources/boost/boost/spirit/include/classic_closure_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_common.hpp", + "external/sources/boost/boost/spirit/include/classic_common_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_composite.hpp", + "external/sources/boost/boost/spirit/include/classic_config.hpp", + "external/sources/boost/boost/spirit/include/classic_confix.hpp", + "external/sources/boost/boost/spirit/include/classic_confix_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_core.hpp", + "external/sources/boost/boost/spirit/include/classic_debug.hpp", + "external/sources/boost/boost/spirit/include/classic_debug_node.hpp", + "external/sources/boost/boost/spirit/include/classic_decrement_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_difference.hpp", + "external/sources/boost/boost/spirit/include/classic_directives.hpp", + "external/sources/boost/boost/spirit/include/classic_distinct.hpp", + "external/sources/boost/boost/spirit/include/classic_distinct_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_dynamic.hpp", + "external/sources/boost/boost/spirit/include/classic_epsilon.hpp", + "external/sources/boost/boost/spirit/include/classic_erase_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_error_handling.hpp", + "external/sources/boost/boost/spirit/include/classic_escape_char.hpp", + "external/sources/boost/boost/spirit/include/classic_escape_char_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_exceptions.hpp", + "external/sources/boost/boost/spirit/include/classic_exceptions_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_exclusive_or.hpp", + "external/sources/boost/boost/spirit/include/classic_file_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_file_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/include/classic_flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/classic_for.hpp", + "external/sources/boost/boost/spirit/include/classic_functor_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_fundamental.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar_def.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar_def_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_if.hpp", + "external/sources/boost/boost/spirit/include/classic_increment_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_insert_at_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_insert_key_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_intersection.hpp", + "external/sources/boost/boost/spirit/include/classic_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_kleene_star.hpp", + "external/sources/boost/boost/spirit/include/classic_lazy.hpp", + "external/sources/boost/boost/spirit/include/classic_list.hpp", + "external/sources/boost/boost/spirit/include/classic_lists.hpp", + "external/sources/boost/boost/spirit/include/classic_lists_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_loops.hpp", + "external/sources/boost/boost/spirit/include/classic_match.hpp", + "external/sources/boost/boost/spirit/include/classic_meta.hpp", + "external/sources/boost/boost/spirit/include/classic_minimal.hpp", + "external/sources/boost/boost/spirit/include/classic_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/classic_multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_nil.hpp", + "external/sources/boost/boost/spirit/include/classic_no_actions.hpp", + "external/sources/boost/boost/spirit/include/classic_numerics.hpp", + "external/sources/boost/boost/spirit/include/classic_numerics_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_operators.hpp", + "external/sources/boost/boost/spirit/include/classic_optional.hpp", + "external/sources/boost/boost/spirit/include/classic_parametric.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree_utils.hpp", + "external/sources/boost/boost/spirit/include/classic_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_context.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_id.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_names.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_traits.hpp", + "external/sources/boost/boost/spirit/include/classic_position_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_position_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_positive.hpp", + "external/sources/boost/boost/spirit/include/classic_primitives.hpp", + "external/sources/boost/boost/spirit/include/classic_push_back_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_push_front_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_range_run.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_refactoring.hpp", + "external/sources/boost/boost/spirit/include/classic_regex.hpp", + "external/sources/boost/boost/spirit/include/classic_rule.hpp", + "external/sources/boost/boost/spirit/include/classic_rule_alias.hpp", + "external/sources/boost/boost/spirit/include/classic_rule_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_safe_bool.hpp", + "external/sources/boost/boost/spirit/include/classic_scanner.hpp", + "external/sources/boost/boost/spirit/include/classic_scanner_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_scoped_lock.hpp", + "external/sources/boost/boost/spirit/include/classic_select.hpp", + "external/sources/boost/boost/spirit/include/classic_sequence.hpp", + "external/sources/boost/boost/spirit/include/classic_sequential_and.hpp", + "external/sources/boost/boost/spirit/include/classic_sequential_or.hpp", + "external/sources/boost/boost/spirit/include/classic_skipper.hpp", + "external/sources/boost/boost/spirit/include/classic_skipper_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_spirit.hpp", + "external/sources/boost/boost/spirit/include/classic_static.hpp", + "external/sources/boost/boost/spirit/include/classic_stored_rule.hpp", + "external/sources/boost/boost/spirit/include/classic_stored_rule_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_subrule.hpp", + "external/sources/boost/boost/spirit/include/classic_subrule_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_swap_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_switch.hpp", + "external/sources/boost/boost/spirit/include/classic_symbols.hpp", + "external/sources/boost/boost/spirit/include/classic_symbols_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_traverse.hpp", + "external/sources/boost/boost/spirit/include/classic_tree_to_xml.hpp", + "external/sources/boost/boost/spirit/include/classic_typeof.hpp", + "external/sources/boost/boost/spirit/include/classic_utility.hpp", + "external/sources/boost/boost/spirit/include/classic_version.hpp", + "external/sources/boost/boost/spirit/include/classic_while.hpp", + "external/sources/boost/boost/spirit/include/karma.hpp", + "external/sources/boost/boost/spirit/include/karma_action.hpp", + "external/sources/boost/boost/spirit/include/karma_alternative.hpp", + "external/sources/boost/boost/spirit/include/karma_and_predicate.hpp", + "external/sources/boost/boost/spirit/include/karma_as.hpp", + "external/sources/boost/boost/spirit/include/karma_attr_cast.hpp", + "external/sources/boost/boost/spirit/include/karma_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_auxiliary.hpp", + "external/sources/boost/boost/spirit/include/karma_binary.hpp", + "external/sources/boost/boost/spirit/include/karma_bool.hpp", + "external/sources/boost/boost/spirit/include/karma_buffer.hpp", + "external/sources/boost/boost/spirit/include/karma_center_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_char.hpp", + "external/sources/boost/boost/spirit/include/karma_char_.hpp", + "external/sources/boost/boost/spirit/include/karma_char_class.hpp", + "external/sources/boost/boost/spirit/include/karma_columns.hpp", + "external/sources/boost/boost/spirit/include/karma_delimit.hpp", + "external/sources/boost/boost/spirit/include/karma_directive.hpp", + "external/sources/boost/boost/spirit/include/karma_domain.hpp", + "external/sources/boost/boost/spirit/include/karma_duplicate.hpp", + "external/sources/boost/boost/spirit/include/karma_eol.hpp", + "external/sources/boost/boost/spirit/include/karma_eps.hpp", + "external/sources/boost/boost/spirit/include/karma_format.hpp", + "external/sources/boost/boost/spirit/include/karma_format_attr.hpp", + "external/sources/boost/boost/spirit/include/karma_format_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_generate.hpp", + "external/sources/boost/boost/spirit/include/karma_generate_attr.hpp", + "external/sources/boost/boost/spirit/include/karma_generate_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_grammar.hpp", + "external/sources/boost/boost/spirit/include/karma_int.hpp", + "external/sources/boost/boost/spirit/include/karma_kleene.hpp", + "external/sources/boost/boost/spirit/include/karma_lazy.hpp", + "external/sources/boost/boost/spirit/include/karma_left_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_list.hpp", + "external/sources/boost/boost/spirit/include/karma_maxwidth.hpp", + "external/sources/boost/boost/spirit/include/karma_no_delimit.hpp", + "external/sources/boost/boost/spirit/include/karma_nonterminal.hpp", + "external/sources/boost/boost/spirit/include/karma_not_predicate.hpp", + "external/sources/boost/boost/spirit/include/karma_numeric.hpp", + "external/sources/boost/boost/spirit/include/karma_omit.hpp", + "external/sources/boost/boost/spirit/include/karma_operator.hpp", + "external/sources/boost/boost/spirit/include/karma_optional.hpp", + "external/sources/boost/boost/spirit/include/karma_phoenix_attributes.hpp", + "external/sources/boost/boost/spirit/include/karma_plus.hpp", + "external/sources/boost/boost/spirit/include/karma_real.hpp", + "external/sources/boost/boost/spirit/include/karma_repeat.hpp", + "external/sources/boost/boost/spirit/include/karma_right_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_rule.hpp", + "external/sources/boost/boost/spirit/include/karma_sequence.hpp", + "external/sources/boost/boost/spirit/include/karma_stream.hpp", + "external/sources/boost/boost/spirit/include/karma_strict_relaxed.hpp", + "external/sources/boost/boost/spirit/include/karma_string.hpp", + "external/sources/boost/boost/spirit/include/karma_symbols.hpp", + "external/sources/boost/boost/spirit/include/karma_uint.hpp", + "external/sources/boost/boost/spirit/include/karma_upper_lower_case.hpp", + "external/sources/boost/boost/spirit/include/karma_verbatim.hpp", + "external/sources/boost/boost/spirit/include/karma_what.hpp", + "external/sources/boost/boost/spirit/include/lex.hpp", + "external/sources/boost/boost/spirit/include/lex_char_token_def.hpp", + "external/sources/boost/boost/spirit/include/lex_domain.hpp", + "external/sources/boost/boost/spirit/include/lex_generate_static_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_lexer.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl_position_token.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl_token.hpp", + "external/sources/boost/boost/spirit/include/lex_plain_token.hpp", + "external/sources/boost/boost/spirit/include/lex_primitives.hpp", + "external/sources/boost/boost/spirit/include/lex_static_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse.hpp", + "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse_attr.hpp", + "external/sources/boost/boost/spirit/include/phoenix.hpp", + "external/sources/boost/boost/spirit/include/phoenix1.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_actor.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_binders.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_casts.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_closures.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_composite.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_functions.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_new.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_operators.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_primitives.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_special_ops.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_statements.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_tuple_helpers.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_tuples.hpp", + "external/sources/boost/boost/spirit/include/phoenix_algorithm.hpp", + "external/sources/boost/boost/spirit/include/phoenix_bind.hpp", + "external/sources/boost/boost/spirit/include/phoenix_container.hpp", + "external/sources/boost/boost/spirit/include/phoenix_core.hpp", + "external/sources/boost/boost/spirit/include/phoenix_function.hpp", + "external/sources/boost/boost/spirit/include/phoenix_fusion.hpp", + "external/sources/boost/boost/spirit/include/phoenix_limits.hpp", + "external/sources/boost/boost/spirit/include/phoenix_object.hpp", + "external/sources/boost/boost/spirit/include/phoenix_operator.hpp", + "external/sources/boost/boost/spirit/include/phoenix_scope.hpp", + "external/sources/boost/boost/spirit/include/phoenix_statement.hpp", + "external/sources/boost/boost/spirit/include/phoenix_stl.hpp", + "external/sources/boost/boost/spirit/include/phoenix_version.hpp", + "external/sources/boost/boost/spirit/include/qi.hpp", + "external/sources/boost/boost/spirit/include/qi_action.hpp", + "external/sources/boost/boost/spirit/include/qi_alternative.hpp", + "external/sources/boost/boost/spirit/include/qi_and_predicate.hpp", + "external/sources/boost/boost/spirit/include/qi_as.hpp", + "external/sources/boost/boost/spirit/include/qi_as_string.hpp", + "external/sources/boost/boost/spirit/include/qi_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_attr_cast.hpp", + "external/sources/boost/boost/spirit/include/qi_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_auxiliary.hpp", + "external/sources/boost/boost/spirit/include/qi_binary.hpp", + "external/sources/boost/boost/spirit/include/qi_bool.hpp", + "external/sources/boost/boost/spirit/include/qi_char.hpp", + "external/sources/boost/boost/spirit/include/qi_char_.hpp", + "external/sources/boost/boost/spirit/include/qi_char_class.hpp", + "external/sources/boost/boost/spirit/include/qi_copy.hpp", + "external/sources/boost/boost/spirit/include/qi_core.hpp", + "external/sources/boost/boost/spirit/include/qi_difference.hpp", + "external/sources/boost/boost/spirit/include/qi_directive.hpp", + "external/sources/boost/boost/spirit/include/qi_domain.hpp", + "external/sources/boost/boost/spirit/include/qi_eoi.hpp", + "external/sources/boost/boost/spirit/include/qi_eol.hpp", + "external/sources/boost/boost/spirit/include/qi_eps.hpp", + "external/sources/boost/boost/spirit/include/qi_expect.hpp", + "external/sources/boost/boost/spirit/include/qi_grammar.hpp", + "external/sources/boost/boost/spirit/include/qi_hold.hpp", + "external/sources/boost/boost/spirit/include/qi_int.hpp", + "external/sources/boost/boost/spirit/include/qi_kleene.hpp", + "external/sources/boost/boost/spirit/include/qi_lazy.hpp", + "external/sources/boost/boost/spirit/include/qi_lexeme.hpp", + "external/sources/boost/boost/spirit/include/qi_list.hpp", + "external/sources/boost/boost/spirit/include/qi_lit.hpp", + "external/sources/boost/boost/spirit/include/qi_match.hpp", + "external/sources/boost/boost/spirit/include/qi_match_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_match_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_matches.hpp", + "external/sources/boost/boost/spirit/include/qi_no_case.hpp", + "external/sources/boost/boost/spirit/include/qi_no_skip.hpp", + "external/sources/boost/boost/spirit/include/qi_nonterminal.hpp", + "external/sources/boost/boost/spirit/include/qi_not_predicate.hpp", + "external/sources/boost/boost/spirit/include/qi_numeric.hpp", + "external/sources/boost/boost/spirit/include/qi_omit.hpp", + "external/sources/boost/boost/spirit/include/qi_operator.hpp", + "external/sources/boost/boost/spirit/include/qi_optional.hpp", + "external/sources/boost/boost/spirit/include/qi_parse.hpp", + "external/sources/boost/boost/spirit/include/qi_parse_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_parse_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_permutation.hpp", + "external/sources/boost/boost/spirit/include/qi_plus.hpp", + "external/sources/boost/boost/spirit/include/qi_raw.hpp", + "external/sources/boost/boost/spirit/include/qi_real.hpp", + "external/sources/boost/boost/spirit/include/qi_repeat.hpp", + "external/sources/boost/boost/spirit/include/qi_rule.hpp", + "external/sources/boost/boost/spirit/include/qi_sequence.hpp", + "external/sources/boost/boost/spirit/include/qi_sequential_or.hpp", + "external/sources/boost/boost/spirit/include/qi_skip.hpp", + "external/sources/boost/boost/spirit/include/qi_stream.hpp", + "external/sources/boost/boost/spirit/include/qi_string.hpp", + "external/sources/boost/boost/spirit/include/qi_symbols.hpp", + "external/sources/boost/boost/spirit/include/qi_uint.hpp", + "external/sources/boost/boost/spirit/include/qi_what.hpp", + "external/sources/boost/boost/spirit/include/support.hpp", + "external/sources/boost/boost/spirit/include/support_adapt_adt_attributes.hpp", + "external/sources/boost/boost/spirit/include/support_any.hpp", + "external/sources/boost/boost/spirit/include/support_any_if.hpp", + "external/sources/boost/boost/spirit/include/support_any_if_ns.hpp", + "external/sources/boost/boost/spirit/include/support_any_if_ns_so.hpp", + "external/sources/boost/boost/spirit/include/support_any_ns.hpp", + "external/sources/boost/boost/spirit/include/support_any_ns_so.hpp", + "external/sources/boost/boost/spirit/include/support_argument.hpp", + "external/sources/boost/boost/spirit/include/support_ascii.hpp", + "external/sources/boost/boost/spirit/include/support_attributes.hpp", + "external/sources/boost/boost/spirit/include/support_attributes_fwd.hpp", + "external/sources/boost/boost/spirit/include/support_auto.hpp", + "external/sources/boost/boost/spirit/include/support_char_class.hpp", + "external/sources/boost/boost/spirit/include/support_container.hpp", + "external/sources/boost/boost/spirit/include/support_extended_variant.hpp", + "external/sources/boost/boost/spirit/include/support_info.hpp", + "external/sources/boost/boost/spirit/include/support_iso8859_1.hpp", + "external/sources/boost/boost/spirit/include/support_istream_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_line_pos_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_locals.hpp", + "external/sources/boost/boost/spirit/include/support_look_ahead.hpp", + "external/sources/boost/boost/spirit/include/support_modify.hpp", + "external/sources/boost/boost/spirit/include/support_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/support_multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/include/support_ostream_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_standard.hpp", + "external/sources/boost/boost/spirit/include/support_standard_wide.hpp", + "external/sources/boost/boost/spirit/include/support_string_traits.hpp", + "external/sources/boost/boost/spirit/include/support_unused.hpp", + "external/sources/boost/boost/spirit/include/support_utree.hpp", + "external/sources/boost/boost/spirit/include/version.hpp", + "external/sources/boost/boost/spirit/repository/home/karma.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/directive.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/directive/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/nonterminal/subrule.hpp", + "external/sources/boost/boost/spirit/repository/home/qi.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/distinct.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/kwd.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/seek.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/nonterminal/subrule.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator/detail/keywords.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator/keywords.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/advance.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/iter_pos.hpp", + "external/sources/boost/boost/spirit/repository/home/support/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/support/distinct.hpp", + "external/sources/boost/boost/spirit/repository/home/support/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/home/support/kwd.hpp", + "external/sources/boost/boost/spirit/repository/home/support/seek.hpp", + "external/sources/boost/boost/spirit/repository/home/support/subrule_context.hpp", + "external/sources/boost/boost/spirit/repository/include/karma.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_confix.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_directive.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_subrule.hpp", + "external/sources/boost/boost/spirit/repository/include/qi.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_advance.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_confix.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_directive.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_distinct.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_iter_pos.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_keywords.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_kwd.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_primitive.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_seek.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_subrule.hpp", + "external/sources/boost/boost/spirit/version.hpp", + "external/sources/boost/boost/stacktrace.hpp", + "external/sources/boost/boost/stacktrace/detail/addr2line_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/collect_msvc.ipp", + "external/sources/boost/boost/stacktrace/detail/collect_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/collect_unwind.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_decl.hpp", + "external/sources/boost/boost/stacktrace/detail/frame_msvc.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_unwind.ipp", + "external/sources/boost/boost/stacktrace/detail/libbacktrace_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/location_from_symbol.hpp", + "external/sources/boost/boost/stacktrace/detail/pop_options.h", + "external/sources/boost/boost/stacktrace/detail/push_options.h", + "external/sources/boost/boost/stacktrace/detail/safe_dump_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/safe_dump_posix.ipp", + "external/sources/boost/boost/stacktrace/detail/safe_dump_win.ipp", + "external/sources/boost/boost/stacktrace/detail/to_dec_array.hpp", + "external/sources/boost/boost/stacktrace/detail/to_hex_array.hpp", + "external/sources/boost/boost/stacktrace/detail/try_dec_convert.hpp", + "external/sources/boost/boost/stacktrace/detail/unwind_base_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/void_ptr_cast.hpp", + "external/sources/boost/boost/stacktrace/frame.hpp", + "external/sources/boost/boost/stacktrace/safe_dump_to.hpp", + "external/sources/boost/boost/stacktrace/stacktrace.hpp", + "external/sources/boost/boost/stacktrace/stacktrace_fwd.hpp", + "external/sources/boost/boost/statechart/asynchronous_state_machine.hpp", + "external/sources/boost/boost/statechart/custom_reaction.hpp", + "external/sources/boost/boost/statechart/deep_history.hpp", + "external/sources/boost/boost/statechart/deferral.hpp", + "external/sources/boost/boost/statechart/detail/avoid_unused_warning.hpp", + "external/sources/boost/boost/statechart/detail/constructor.hpp", + "external/sources/boost/boost/statechart/detail/counted_base.hpp", + "external/sources/boost/boost/statechart/detail/leaf_state.hpp", + "external/sources/boost/boost/statechart/detail/memory.hpp", + "external/sources/boost/boost/statechart/detail/node_state.hpp", + "external/sources/boost/boost/statechart/detail/reaction_dispatcher.hpp", + "external/sources/boost/boost/statechart/detail/rtti_policy.hpp", + "external/sources/boost/boost/statechart/detail/state_base.hpp", + "external/sources/boost/boost/statechart/event.hpp", + "external/sources/boost/boost/statechart/event_base.hpp", + "external/sources/boost/boost/statechart/event_processor.hpp", + "external/sources/boost/boost/statechart/exception_translator.hpp", + "external/sources/boost/boost/statechart/fifo_scheduler.hpp", + "external/sources/boost/boost/statechart/fifo_worker.hpp", + "external/sources/boost/boost/statechart/history.hpp", + "external/sources/boost/boost/statechart/in_state_reaction.hpp", + "external/sources/boost/boost/statechart/null_exception_translator.hpp", + "external/sources/boost/boost/statechart/processor_container.hpp", + "external/sources/boost/boost/statechart/result.hpp", + "external/sources/boost/boost/statechart/shallow_history.hpp", + "external/sources/boost/boost/statechart/simple_state.hpp", + "external/sources/boost/boost/statechart/state.hpp", + "external/sources/boost/boost/statechart/state_machine.hpp", + "external/sources/boost/boost/statechart/termination.hpp", + "external/sources/boost/boost/statechart/transition.hpp", + "external/sources/boost/boost/static_assert.hpp", + "external/sources/boost/boost/static_string.hpp", + "external/sources/boost/boost/static_string/config.hpp", + "external/sources/boost/boost/static_string/static_string.hpp", + "external/sources/boost/boost/stl_interfaces/fwd.hpp", + "external/sources/boost/boost/stl_interfaces/iterator_interface.hpp", + "external/sources/boost/boost/stl_interfaces/reverse_iterator.hpp", + "external/sources/boost/boost/stl_interfaces/sequence_container_interface.hpp", + "external/sources/boost/boost/stl_interfaces/view_interface.hpp", + "external/sources/boost/boost/swap.hpp", + "external/sources/boost/boost/system/api_config.hpp", + "external/sources/boost/boost/system/config.hpp", + "external/sources/boost/boost/system/cygwin_error.hpp", + "external/sources/boost/boost/system/detail/config.hpp", + "external/sources/boost/boost/system/detail/generic_category.hpp", + "external/sources/boost/boost/system/detail/std_interoperability.hpp", + "external/sources/boost/boost/system/detail/system_category_posix.hpp", + "external/sources/boost/boost/system/detail/system_category_win32.hpp", + "external/sources/boost/boost/system/error_code.hpp", + "external/sources/boost/boost/system/linux_error.hpp", + "external/sources/boost/boost/system/system_error.hpp", + "external/sources/boost/boost/system/windows_error.hpp", + "external/sources/boost/boost/test/auto_unit_test.hpp", + "external/sources/boost/boost/test/data/config.hpp", + "external/sources/boost/boost/test/data/dataset.hpp", + "external/sources/boost/boost/test/data/for_each_sample.hpp", + "external/sources/boost/boost/test/data/index_sequence.hpp", + "external/sources/boost/boost/test/data/monomorphic.hpp", + "external/sources/boost/boost/test/data/monomorphic/array.hpp", + "external/sources/boost/boost/test/data/monomorphic/collection.hpp", + "external/sources/boost/boost/test/data/monomorphic/delayed.hpp", + "external/sources/boost/boost/test/data/monomorphic/fwd.hpp", + "external/sources/boost/boost/test/data/monomorphic/generate.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/keywords.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/random.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/xrange.hpp", + "external/sources/boost/boost/test/data/monomorphic/grid.hpp", + "external/sources/boost/boost/test/data/monomorphic/initializer_list.hpp", + "external/sources/boost/boost/test/data/monomorphic/join.hpp", + "external/sources/boost/boost/test/data/monomorphic/sample_merge.hpp", + "external/sources/boost/boost/test/data/monomorphic/singleton.hpp", + "external/sources/boost/boost/test/data/monomorphic/zip.hpp", + "external/sources/boost/boost/test/data/size.hpp", + "external/sources/boost/boost/test/data/test_case.hpp", + "external/sources/boost/boost/test/debug.hpp", + "external/sources/boost/boost/test/debug_config.hpp", + "external/sources/boost/boost/test/detail/config.hpp", + "external/sources/boost/boost/test/detail/enable_warnings.hpp", + "external/sources/boost/boost/test/detail/fwd_decl.hpp", + "external/sources/boost/boost/test/detail/global_typedef.hpp", + "external/sources/boost/boost/test/detail/log_level.hpp", + "external/sources/boost/boost/test/detail/pp_variadic.hpp", + "external/sources/boost/boost/test/detail/suppress_warnings.hpp", + "external/sources/boost/boost/test/detail/throw_exception.hpp", + "external/sources/boost/boost/test/execution_monitor.hpp", + "external/sources/boost/boost/test/floating_point_comparison.hpp", + "external/sources/boost/boost/test/framework.hpp", + "external/sources/boost/boost/test/impl/compiler_log_formatter.ipp", + "external/sources/boost/boost/test/impl/cpp_main.ipp", + "external/sources/boost/boost/test/impl/debug.ipp", + "external/sources/boost/boost/test/impl/decorator.ipp", + "external/sources/boost/boost/test/impl/execution_monitor.ipp", + "external/sources/boost/boost/test/impl/framework.ipp", + "external/sources/boost/boost/test/impl/junit_log_formatter.ipp", + "external/sources/boost/boost/test/impl/plain_report_formatter.ipp", + "external/sources/boost/boost/test/impl/progress_monitor.ipp", + "external/sources/boost/boost/test/impl/results_collector.ipp", + "external/sources/boost/boost/test/impl/results_reporter.ipp", + "external/sources/boost/boost/test/impl/test_framework_init_observer.ipp", + "external/sources/boost/boost/test/impl/test_main.ipp", + "external/sources/boost/boost/test/impl/test_tools.ipp", + "external/sources/boost/boost/test/impl/test_tree.ipp", + "external/sources/boost/boost/test/impl/unit_test_log.ipp", + "external/sources/boost/boost/test/impl/unit_test_main.ipp", + "external/sources/boost/boost/test/impl/unit_test_monitor.ipp", + "external/sources/boost/boost/test/impl/unit_test_parameters.ipp", + "external/sources/boost/boost/test/impl/xml_log_formatter.ipp", + "external/sources/boost/boost/test/impl/xml_report_formatter.ipp", + "external/sources/boost/boost/test/included/execution_monitor.hpp", + "external/sources/boost/boost/test/included/prg_exec_monitor.hpp", + "external/sources/boost/boost/test/included/test_exec_monitor.hpp", + "external/sources/boost/boost/test/included/unit_test.hpp", + "external/sources/boost/boost/test/included/unit_test_framework.hpp", + "external/sources/boost/boost/test/minimal.hpp", + "external/sources/boost/boost/test/output/compiler_log_formatter.hpp", + "external/sources/boost/boost/test/output/junit_log_formatter.hpp", + "external/sources/boost/boost/test/output/plain_report_formatter.hpp", + "external/sources/boost/boost/test/output/xml_log_formatter.hpp", + "external/sources/boost/boost/test/output/xml_report_formatter.hpp", + "external/sources/boost/boost/test/output_test_stream.hpp", + "external/sources/boost/boost/test/parameterized_test.hpp", + "external/sources/boost/boost/test/predicate_result.hpp", + "external/sources/boost/boost/test/prg_exec_monitor.hpp", + "external/sources/boost/boost/test/progress_monitor.hpp", + "external/sources/boost/boost/test/results_collector.hpp", + "external/sources/boost/boost/test/results_reporter.hpp", + "external/sources/boost/boost/test/test_case_template.hpp", + "external/sources/boost/boost/test/test_exec_monitor.hpp", + "external/sources/boost/boost/test/test_framework_init_observer.hpp", + "external/sources/boost/boost/test/test_tools.hpp", + "external/sources/boost/boost/test/tools/assertion.hpp", + "external/sources/boost/boost/test/tools/assertion_result.hpp", + "external/sources/boost/boost/test/tools/collection_comparison_op.hpp", + "external/sources/boost/boost/test/tools/context.hpp", + "external/sources/boost/boost/test/tools/cstring_comparison_op.hpp", + "external/sources/boost/boost/test/tools/detail/bitwise_manip.hpp", + "external/sources/boost/boost/test/tools/detail/fwd.hpp", + "external/sources/boost/boost/test/tools/detail/indirections.hpp", + "external/sources/boost/boost/test/tools/detail/it_pair.hpp", + "external/sources/boost/boost/test/tools/detail/lexicographic_manip.hpp", + "external/sources/boost/boost/test/tools/detail/per_element_manip.hpp", + "external/sources/boost/boost/test/tools/detail/print_helper.hpp", + "external/sources/boost/boost/test/tools/detail/tolerance_manip.hpp", + "external/sources/boost/boost/test/tools/floating_point_comparison.hpp", + "external/sources/boost/boost/test/tools/fpc_op.hpp", + "external/sources/boost/boost/test/tools/fpc_tolerance.hpp", + "external/sources/boost/boost/test/tools/interface.hpp", + "external/sources/boost/boost/test/tools/old/impl.hpp", + "external/sources/boost/boost/test/tools/old/interface.hpp", + "external/sources/boost/boost/test/tools/output_test_stream.hpp", + "external/sources/boost/boost/test/tree/auto_registration.hpp", + "external/sources/boost/boost/test/tree/decorator.hpp", + "external/sources/boost/boost/test/tree/fixture.hpp", + "external/sources/boost/boost/test/tree/global_fixture.hpp", + "external/sources/boost/boost/test/tree/observer.hpp", + "external/sources/boost/boost/test/tree/test_case_counter.hpp", + "external/sources/boost/boost/test/tree/test_case_template.hpp", + "external/sources/boost/boost/test/tree/test_unit.hpp", + "external/sources/boost/boost/test/tree/traverse.hpp", + "external/sources/boost/boost/test/tree/visitor.hpp", + "external/sources/boost/boost/test/unit_test.hpp", + "external/sources/boost/boost/test/unit_test_log.hpp", + "external/sources/boost/boost/test/unit_test_log_formatter.hpp", + "external/sources/boost/boost/test/unit_test_monitor.hpp", + "external/sources/boost/boost/test/unit_test_parameters.hpp", + "external/sources/boost/boost/test/unit_test_suite.hpp", + "external/sources/boost/boost/test/utils/algorithm.hpp", + "external/sources/boost/boost/test/utils/assign_op.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/bcs_char_traits.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/compare.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/io.hpp", + "external/sources/boost/boost/test/utils/class_properties.hpp", + "external/sources/boost/boost/test/utils/custom_manip.hpp", + "external/sources/boost/boost/test/utils/foreach.hpp", + "external/sources/boost/boost/test/utils/is_cstring.hpp", + "external/sources/boost/boost/test/utils/is_forward_iterable.hpp", + "external/sources/boost/boost/test/utils/iterator/input_iterator_facade.hpp", + "external/sources/boost/boost/test/utils/iterator/token_iterator.hpp", + "external/sources/boost/boost/test/utils/lazy_ostream.hpp", + "external/sources/boost/boost/test/utils/named_params.hpp", + "external/sources/boost/boost/test/utils/nullstream.hpp", + "external/sources/boost/boost/test/utils/rtti.hpp", + "external/sources/boost/boost/test/utils/runtime/argument.hpp", + "external/sources/boost/boost/test/utils/runtime/argument_factory.hpp", + "external/sources/boost/boost/test/utils/runtime/cla/argv_traverser.hpp", + "external/sources/boost/boost/test/utils/runtime/cla/parser.hpp", + "external/sources/boost/boost/test/utils/runtime/env/fetch.hpp", + "external/sources/boost/boost/test/utils/runtime/errors.hpp", + "external/sources/boost/boost/test/utils/runtime/finalize.hpp", + "external/sources/boost/boost/test/utils/runtime/fwd.hpp", + "external/sources/boost/boost/test/utils/runtime/modifier.hpp", + "external/sources/boost/boost/test/utils/runtime/parameter.hpp", + "external/sources/boost/boost/test/utils/setcolor.hpp", + "external/sources/boost/boost/test/utils/string_cast.hpp", + "external/sources/boost/boost/test/utils/timer.hpp", + "external/sources/boost/boost/test/utils/wrap_stringstream.hpp", + "external/sources/boost/boost/test/utils/xml_printer.hpp", + "external/sources/boost/boost/thread.hpp", + "external/sources/boost/boost/thread/barrier.hpp", + "external/sources/boost/boost/thread/caller_context.hpp", + "external/sources/boost/boost/thread/completion_latch.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_adaptor.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_views.hpp", + "external/sources/boost/boost/thread/concurrent_queues/detail/sync_deque_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/detail/sync_queue_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_adaptor.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_op_status.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_views.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_bounded_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_deque.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_priority_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_timed_queue.hpp", + "external/sources/boost/boost/thread/condition.hpp", + "external/sources/boost/boost/thread/condition_variable.hpp", + "external/sources/boost/boost/thread/csbl/deque.hpp", + "external/sources/boost/boost/thread/csbl/devector.hpp", + "external/sources/boost/boost/thread/csbl/functional.hpp", + "external/sources/boost/boost/thread/csbl/list.hpp", + "external/sources/boost/boost/thread/csbl/memory.hpp", + "external/sources/boost/boost/thread/csbl/memory/allocator_arg.hpp", + "external/sources/boost/boost/thread/csbl/memory/allocator_traits.hpp", + "external/sources/boost/boost/thread/csbl/memory/config.hpp", + "external/sources/boost/boost/thread/csbl/memory/default_delete.hpp", + "external/sources/boost/boost/thread/csbl/memory/pointer_traits.hpp", + "external/sources/boost/boost/thread/csbl/memory/scoped_allocator.hpp", + "external/sources/boost/boost/thread/csbl/memory/shared_ptr.hpp", + "external/sources/boost/boost/thread/csbl/memory/unique_ptr.hpp", + "external/sources/boost/boost/thread/csbl/queue.hpp", + "external/sources/boost/boost/thread/csbl/tuple.hpp", + "external/sources/boost/boost/thread/csbl/vector.hpp", + "external/sources/boost/boost/thread/cv_status.hpp", + "external/sources/boost/boost/thread/detail/atomic_redef_macros.hpp", + "external/sources/boost/boost/thread/detail/atomic_undef_macros.hpp", + "external/sources/boost/boost/thread/detail/config.hpp", + "external/sources/boost/boost/thread/detail/counter.hpp", + "external/sources/boost/boost/thread/detail/delete.hpp", + "external/sources/boost/boost/thread/detail/force_cast.hpp", + "external/sources/boost/boost/thread/detail/function_wrapper.hpp", + "external/sources/boost/boost/thread/detail/invoke.hpp", + "external/sources/boost/boost/thread/detail/invoker.hpp", + "external/sources/boost/boost/thread/detail/is_convertible.hpp", + "external/sources/boost/boost/thread/detail/lockable_wrapper.hpp", + "external/sources/boost/boost/thread/detail/log.hpp", + "external/sources/boost/boost/thread/detail/make_tuple_indices.hpp", + "external/sources/boost/boost/thread/detail/memory.hpp", + "external/sources/boost/boost/thread/detail/move.hpp", + "external/sources/boost/boost/thread/detail/nullary_function.hpp", + "external/sources/boost/boost/thread/detail/platform.hpp", + "external/sources/boost/boost/thread/detail/platform_time.hpp", + "external/sources/boost/boost/thread/detail/singleton.hpp", + "external/sources/boost/boost/thread/detail/thread.hpp", + "external/sources/boost/boost/thread/detail/thread_group.hpp", + "external/sources/boost/boost/thread/detail/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/detail/thread_interruption.hpp", + "external/sources/boost/boost/thread/detail/thread_safety.hpp", + "external/sources/boost/boost/thread/detail/tss_hooks.hpp", + "external/sources/boost/boost/thread/detail/variadic_footer.hpp", + "external/sources/boost/boost/thread/detail/variadic_header.hpp", + "external/sources/boost/boost/thread/exceptional_ptr.hpp", + "external/sources/boost/boost/thread/exceptions.hpp", + "external/sources/boost/boost/thread/executor.hpp", + "external/sources/boost/boost/thread/executors/basic_thread_pool.hpp", + "external/sources/boost/boost/thread/executors/detail/priority_executor_base.hpp", + "external/sources/boost/boost/thread/executors/detail/scheduled_executor_base.hpp", + "external/sources/boost/boost/thread/executors/executor.hpp", + "external/sources/boost/boost/thread/executors/executor_adaptor.hpp", + "external/sources/boost/boost/thread/executors/generic_executor_ref.hpp", + "external/sources/boost/boost/thread/executors/inline_executor.hpp", + "external/sources/boost/boost/thread/executors/loop_executor.hpp", + "external/sources/boost/boost/thread/executors/scheduled_thread_pool.hpp", + "external/sources/boost/boost/thread/executors/scheduler.hpp", + "external/sources/boost/boost/thread/executors/scheduling_adaptor.hpp", + "external/sources/boost/boost/thread/executors/serial_executor.hpp", + "external/sources/boost/boost/thread/executors/serial_executor_cont.hpp", + "external/sources/boost/boost/thread/executors/thread_executor.hpp", + "external/sources/boost/boost/thread/executors/work.hpp", + "external/sources/boost/boost/thread/experimental/config/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/exception_list.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v1/exception_list.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v1/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v2/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v2/task_region.hpp", + "external/sources/boost/boost/thread/experimental/task_region.hpp", + "external/sources/boost/boost/thread/externally_locked.hpp", + "external/sources/boost/boost/thread/externally_locked_stream.hpp", + "external/sources/boost/boost/thread/future.hpp", + "external/sources/boost/boost/thread/futures/future_error.hpp", + "external/sources/boost/boost/thread/futures/future_error_code.hpp", + "external/sources/boost/boost/thread/futures/future_status.hpp", + "external/sources/boost/boost/thread/futures/is_future_type.hpp", + "external/sources/boost/boost/thread/futures/launch.hpp", + "external/sources/boost/boost/thread/futures/wait_for_all.hpp", + "external/sources/boost/boost/thread/futures/wait_for_any.hpp", + "external/sources/boost/boost/thread/interruption.hpp", + "external/sources/boost/boost/thread/is_locked_by_this_thread.hpp", + "external/sources/boost/boost/thread/latch.hpp", + "external/sources/boost/boost/thread/lock_algorithms.hpp", + "external/sources/boost/boost/thread/lock_concepts.hpp", + "external/sources/boost/boost/thread/lock_factories.hpp", + "external/sources/boost/boost/thread/lock_guard.hpp", + "external/sources/boost/boost/thread/lock_options.hpp", + "external/sources/boost/boost/thread/lock_traits.hpp", + "external/sources/boost/boost/thread/lock_types.hpp", + "external/sources/boost/boost/thread/lockable_adapter.hpp", + "external/sources/boost/boost/thread/lockable_concepts.hpp", + "external/sources/boost/boost/thread/lockable_traits.hpp", + "external/sources/boost/boost/thread/locks.hpp", + "external/sources/boost/boost/thread/mutex.hpp", + "external/sources/boost/boost/thread/null_mutex.hpp", + "external/sources/boost/boost/thread/once.hpp", + "external/sources/boost/boost/thread/ostream_buffer.hpp", + "external/sources/boost/boost/thread/poly_lockable.hpp", + "external/sources/boost/boost/thread/poly_lockable_adapter.hpp", + "external/sources/boost/boost/thread/poly_shared_lockable.hpp", + "external/sources/boost/boost/thread/poly_shared_lockable_adapter.hpp", + "external/sources/boost/boost/thread/pthread/condition_variable.hpp", + "external/sources/boost/boost/thread/pthread/condition_variable_fwd.hpp", + "external/sources/boost/boost/thread/pthread/mutex.hpp", + "external/sources/boost/boost/thread/pthread/once.hpp", + "external/sources/boost/boost/thread/pthread/once_atomic.hpp", + "external/sources/boost/boost/thread/pthread/pthread_helpers.hpp", + "external/sources/boost/boost/thread/pthread/pthread_mutex_scoped_lock.hpp", + "external/sources/boost/boost/thread/pthread/recursive_mutex.hpp", + "external/sources/boost/boost/thread/pthread/shared_mutex.hpp", + "external/sources/boost/boost/thread/pthread/thread_data.hpp", + "external/sources/boost/boost/thread/pthread/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/recursive_mutex.hpp", + "external/sources/boost/boost/thread/reverse_lock.hpp", + "external/sources/boost/boost/thread/scoped_thread.hpp", + "external/sources/boost/boost/thread/shared_lock_guard.hpp", + "external/sources/boost/boost/thread/shared_mutex.hpp", + "external/sources/boost/boost/thread/strict_lock.hpp", + "external/sources/boost/boost/thread/sync_bounded_queue.hpp", + "external/sources/boost/boost/thread/sync_queue.hpp", + "external/sources/boost/boost/thread/synchronized_value.hpp", + "external/sources/boost/boost/thread/testable_mutex.hpp", + "external/sources/boost/boost/thread/thread.hpp", + "external/sources/boost/boost/thread/thread_functors.hpp", + "external/sources/boost/boost/thread/thread_guard.hpp", + "external/sources/boost/boost/thread/thread_only.hpp", + "external/sources/boost/boost/thread/thread_pool.hpp", + "external/sources/boost/boost/thread/thread_time.hpp", + "external/sources/boost/boost/thread/tss.hpp", + "external/sources/boost/boost/thread/user_scheduler.hpp", + "external/sources/boost/boost/thread/v2/shared_mutex.hpp", + "external/sources/boost/boost/thread/win32/basic_recursive_mutex.hpp", + "external/sources/boost/boost/thread/win32/basic_timed_mutex.hpp", + "external/sources/boost/boost/thread/win32/condition_variable.hpp", + "external/sources/boost/boost/thread/win32/interlocked_read.hpp", + "external/sources/boost/boost/thread/win32/mfc_thread_init.hpp", + "external/sources/boost/boost/thread/win32/mutex.hpp", + "external/sources/boost/boost/thread/win32/once.hpp", + "external/sources/boost/boost/thread/win32/recursive_mutex.hpp", + "external/sources/boost/boost/thread/win32/shared_mutex.hpp", + "external/sources/boost/boost/thread/win32/thread_data.hpp", + "external/sources/boost/boost/thread/win32/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/win32/thread_primitives.hpp", + "external/sources/boost/boost/thread/with_lock_guard.hpp", + "external/sources/boost/boost/thread/xtime.hpp", + "external/sources/boost/boost/throw_exception.hpp", + "external/sources/boost/boost/timer.hpp", + "external/sources/boost/boost/timer/config.hpp", + "external/sources/boost/boost/timer/progress_display.hpp", + "external/sources/boost/boost/timer/timer.hpp", + "external/sources/boost/boost/token_functions.hpp", + "external/sources/boost/boost/token_iterator.hpp", + "external/sources/boost/boost/tokenizer.hpp", + "external/sources/boost/boost/tti/detail/dclass.hpp", + "external/sources/boost/boost/tti/detail/dcomp_mem_fun.hpp", + "external/sources/boost/boost/tti/detail/dcomp_mem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/ddata.hpp", + "external/sources/boost/boost/tti/detail/ddeftype.hpp", + "external/sources/boost/boost/tti/detail/denclosing_type.hpp", + "external/sources/boost/boost/tti/detail/denum.hpp", + "external/sources/boost/boost/tti/detail/dftclass.hpp", + "external/sources/boost/boost/tti/detail/dfunction.hpp", + "external/sources/boost/boost/tti/detail/dfunction_template.hpp", + "external/sources/boost/boost/tti/detail/dlambda.hpp", + "external/sources/boost/boost/tti/detail/dmacro_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dmacro_fve.hpp", + "external/sources/boost/boost/tti/detail/dmacro_sunfix.hpp", + "external/sources/boost/boost/tti/detail/dmem_data.hpp", + "external/sources/boost/boost/tti/detail/dmem_fun.hpp", + "external/sources/boost/boost/tti/detail/dmem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dmem_type.hpp", + "external/sources/boost/boost/tti/detail/dmetafunc.hpp", + "external/sources/boost/boost/tti/detail/dnotype.hpp", + "external/sources/boost/boost/tti/detail/dnullptr.hpp", + "external/sources/boost/boost/tti/detail/dplaceholder.hpp", + "external/sources/boost/boost/tti/detail/dptmf.hpp", + "external/sources/boost/boost/tti/detail/dstatic_function_tags.hpp", + "external/sources/boost/boost/tti/detail/dstatic_function_type.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_data.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_fun.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dtclass.hpp", + "external/sources/boost/boost/tti/detail/dtemplate.hpp", + "external/sources/boost/boost/tti/detail/dtemplate_params.hpp", + "external/sources/boost/boost/tti/detail/dtfunction.hpp", + "external/sources/boost/boost/tti/detail/dtype.hpp", + "external/sources/boost/boost/tti/detail/dunion.hpp", + "external/sources/boost/boost/tti/detail/dvm_template_params.hpp", + "external/sources/boost/boost/tti/has_class.hpp", + "external/sources/boost/boost/tti/has_data.hpp", + "external/sources/boost/boost/tti/has_enum.hpp", + "external/sources/boost/boost/tti/has_function.hpp", + "external/sources/boost/boost/tti/has_function_template.hpp", + "external/sources/boost/boost/tti/has_member_data.hpp", + "external/sources/boost/boost/tti/has_member_function.hpp", + "external/sources/boost/boost/tti/has_member_function_template.hpp", + "external/sources/boost/boost/tti/has_static_member_data.hpp", + "external/sources/boost/boost/tti/has_static_member_function.hpp", + "external/sources/boost/boost/tti/has_static_member_function_template.hpp", + "external/sources/boost/boost/tti/has_template.hpp", + "external/sources/boost/boost/tti/has_type.hpp", + "external/sources/boost/boost/tti/has_union.hpp", + "external/sources/boost/boost/tti/member_type.hpp", + "external/sources/boost/boost/tti/tti.hpp", + "external/sources/boost/boost/tuple/detail/tuple_basic.hpp", + "external/sources/boost/boost/tuple/tuple.hpp", + "external/sources/boost/boost/tuple/tuple_comparison.hpp", + "external/sources/boost/boost/tuple/tuple_io.hpp", + "external/sources/boost/boost/type.hpp", + "external/sources/boost/boost/type_erasure/any.hpp", + "external/sources/boost/boost/type_erasure/any_cast.hpp", + "external/sources/boost/boost/type_erasure/binding.hpp", + "external/sources/boost/boost/type_erasure/binding_of.hpp", + "external/sources/boost/boost/type_erasure/builtin.hpp", + "external/sources/boost/boost/type_erasure/call.hpp", + "external/sources/boost/boost/type_erasure/callable.hpp", + "external/sources/boost/boost/type_erasure/check_match.hpp", + "external/sources/boost/boost/type_erasure/concept_interface.hpp", + "external/sources/boost/boost/type_erasure/concept_of.hpp", + "external/sources/boost/boost/type_erasure/config.hpp", + "external/sources/boost/boost/type_erasure/constructible.hpp", + "external/sources/boost/boost/type_erasure/deduced.hpp", + "external/sources/boost/boost/type_erasure/derived.hpp", + "external/sources/boost/boost/type_erasure/detail/access.hpp", + "external/sources/boost/boost/type_erasure/detail/adapt_to_vtable.hpp", + "external/sources/boost/boost/type_erasure/detail/any_base.hpp", + "external/sources/boost/boost/type_erasure/detail/auto_link.hpp", + "external/sources/boost/boost/type_erasure/detail/check_call.hpp", + "external/sources/boost/boost/type_erasure/detail/check_map.hpp", + "external/sources/boost/boost/type_erasure/detail/const.hpp", + "external/sources/boost/boost/type_erasure/detail/construct.hpp", + "external/sources/boost/boost/type_erasure/detail/dynamic_vtable.hpp", + "external/sources/boost/boost/type_erasure/detail/extract_concept.hpp", + "external/sources/boost/boost/type_erasure/detail/get_placeholders.hpp", + "external/sources/boost/boost/type_erasure/detail/get_signature.hpp", + "external/sources/boost/boost/type_erasure/detail/instantiate.hpp", + "external/sources/boost/boost/type_erasure/detail/macro.hpp", + "external/sources/boost/boost/type_erasure/detail/member11.hpp", + "external/sources/boost/boost/type_erasure/detail/meta.hpp", + "external/sources/boost/boost/type_erasure/detail/normalize.hpp", + "external/sources/boost/boost/type_erasure/detail/normalize_deduced.hpp", + "external/sources/boost/boost/type_erasure/detail/null.hpp", + "external/sources/boost/boost/type_erasure/detail/rebind_placeholders.hpp", + "external/sources/boost/boost/type_erasure/detail/storage.hpp", + "external/sources/boost/boost/type_erasure/detail/vtable.hpp", + "external/sources/boost/boost/type_erasure/dynamic_any_cast.hpp", + "external/sources/boost/boost/type_erasure/dynamic_binding.hpp", + "external/sources/boost/boost/type_erasure/exception.hpp", + "external/sources/boost/boost/type_erasure/free.hpp", + "external/sources/boost/boost/type_erasure/is_empty.hpp", + "external/sources/boost/boost/type_erasure/is_placeholder.hpp", + "external/sources/boost/boost/type_erasure/is_subconcept.hpp", + "external/sources/boost/boost/type_erasure/iterator.hpp", + "external/sources/boost/boost/type_erasure/member.hpp", + "external/sources/boost/boost/type_erasure/operators.hpp", + "external/sources/boost/boost/type_erasure/param.hpp", + "external/sources/boost/boost/type_erasure/placeholder.hpp", + "external/sources/boost/boost/type_erasure/placeholder_of.hpp", + "external/sources/boost/boost/type_erasure/rebind_any.hpp", + "external/sources/boost/boost/type_erasure/register_binding.hpp", + "external/sources/boost/boost/type_erasure/relaxed.hpp", + "external/sources/boost/boost/type_erasure/require_match.hpp", + "external/sources/boost/boost/type_erasure/same_type.hpp", + "external/sources/boost/boost/type_erasure/static_binding.hpp", + "external/sources/boost/boost/type_erasure/tuple.hpp", + "external/sources/boost/boost/type_erasure/typeid_of.hpp", + "external/sources/boost/boost/type_index.hpp", + "external/sources/boost/boost/type_index/ctti_type_index.hpp", + "external/sources/boost/boost/type_index/detail/compile_time_type_info.hpp", + "external/sources/boost/boost/type_index/detail/ctti_register_class.hpp", + "external/sources/boost/boost/type_index/detail/stl_register_class.hpp", + "external/sources/boost/boost/type_index/runtime_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/detail/runtime_cast_impl.hpp", + "external/sources/boost/boost/type_index/runtime_cast/pointer_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/reference_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/register_runtime_class.hpp", + "external/sources/boost/boost/type_index/runtime_cast/std_shared_ptr_cast.hpp", + "external/sources/boost/boost/type_index/stl_type_index.hpp", + "external/sources/boost/boost/type_index/type_index_facade.hpp", + "external/sources/boost/boost/type_traits.hpp", + "external/sources/boost/boost/type_traits/add_const.hpp", + "external/sources/boost/boost/type_traits/add_cv.hpp", + "external/sources/boost/boost/type_traits/add_lvalue_reference.hpp", + "external/sources/boost/boost/type_traits/add_pointer.hpp", + "external/sources/boost/boost/type_traits/add_reference.hpp", + "external/sources/boost/boost/type_traits/add_rvalue_reference.hpp", + "external/sources/boost/boost/type_traits/add_volatile.hpp", + "external/sources/boost/boost/type_traits/aligned_storage.hpp", + "external/sources/boost/boost/type_traits/alignment_of.hpp", + "external/sources/boost/boost/type_traits/alignment_traits.hpp", + "external/sources/boost/boost/type_traits/arithmetic_traits.hpp", + "external/sources/boost/boost/type_traits/array_traits.hpp", + "external/sources/boost/boost/type_traits/broken_compiler_spec.hpp", + "external/sources/boost/boost/type_traits/common_type.hpp", + "external/sources/boost/boost/type_traits/composite_traits.hpp", + "external/sources/boost/boost/type_traits/conditional.hpp", + "external/sources/boost/boost/type_traits/config.hpp", + "external/sources/boost/boost/type_traits/conjunction.hpp", + "external/sources/boost/boost/type_traits/conversion_traits.hpp", + "external/sources/boost/boost/type_traits/copy_cv.hpp", + "external/sources/boost/boost/type_traits/copy_cv_ref.hpp", + "external/sources/boost/boost/type_traits/copy_reference.hpp", + "external/sources/boost/boost/type_traits/cv_traits.hpp", + "external/sources/boost/boost/type_traits/decay.hpp", + "external/sources/boost/boost/type_traits/declval.hpp", + "external/sources/boost/boost/type_traits/detail/bool_trait_def.hpp", + "external/sources/boost/boost/type_traits/detail/bool_trait_undef.hpp", + "external/sources/boost/boost/type_traits/detail/common_arithmetic_type.hpp", + "external/sources/boost/boost/type_traits/detail/common_type_impl.hpp", + "external/sources/boost/boost/type_traits/detail/composite_member_pointer_type.hpp", + "external/sources/boost/boost/type_traits/detail/composite_pointer_type.hpp", + "external/sources/boost/boost/type_traits/detail/config.hpp", + "external/sources/boost/boost/type_traits/detail/detector.hpp", + "external/sources/boost/boost/type_traits/detail/has_binary_operator.hpp", + "external/sources/boost/boost/type_traits/detail/has_postfix_operator.hpp", + "external/sources/boost/boost/type_traits/detail/has_prefix_operator.hpp", + "external/sources/boost/boost/type_traits/detail/ice_and.hpp", + "external/sources/boost/boost/type_traits/detail/ice_eq.hpp", + "external/sources/boost/boost/type_traits/detail/ice_not.hpp", + "external/sources/boost/boost/type_traits/detail/ice_or.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_cxx_03.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_cxx_11.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_msvc10_fix.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_ptr_helper.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_ptr_tester.hpp", + "external/sources/boost/boost/type_traits/detail/is_likely_lambda.hpp", + "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp", + "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp", + "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp", + "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp", + "external/sources/boost/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp", + "external/sources/boost/boost/type_traits/detail/mp_defer.hpp", + "external/sources/boost/boost/type_traits/detail/template_arity_spec.hpp", + "external/sources/boost/boost/type_traits/detail/yes_no_type.hpp", + "external/sources/boost/boost/type_traits/detected.hpp", + "external/sources/boost/boost/type_traits/detected_or.hpp", + "external/sources/boost/boost/type_traits/disjunction.hpp", + "external/sources/boost/boost/type_traits/enable_if.hpp", + "external/sources/boost/boost/type_traits/extent.hpp", + "external/sources/boost/boost/type_traits/floating_point_promotion.hpp", + "external/sources/boost/boost/type_traits/function_traits.hpp", + "external/sources/boost/boost/type_traits/has_bit_and.hpp", + "external/sources/boost/boost/type_traits/has_bit_and_assign.hpp", + "external/sources/boost/boost/type_traits/has_bit_or.hpp", + "external/sources/boost/boost/type_traits/has_bit_or_assign.hpp", + "external/sources/boost/boost/type_traits/has_bit_xor.hpp", + "external/sources/boost/boost/type_traits/has_bit_xor_assign.hpp", + "external/sources/boost/boost/type_traits/has_complement.hpp", + "external/sources/boost/boost/type_traits/has_dereference.hpp", + "external/sources/boost/boost/type_traits/has_divides.hpp", + "external/sources/boost/boost/type_traits/has_divides_assign.hpp", + "external/sources/boost/boost/type_traits/has_equal_to.hpp", + "external/sources/boost/boost/type_traits/has_greater.hpp", + "external/sources/boost/boost/type_traits/has_greater_equal.hpp", + "external/sources/boost/boost/type_traits/has_left_shift.hpp", + "external/sources/boost/boost/type_traits/has_left_shift_assign.hpp", + "external/sources/boost/boost/type_traits/has_less.hpp", + "external/sources/boost/boost/type_traits/has_less_equal.hpp", + "external/sources/boost/boost/type_traits/has_logical_and.hpp", + "external/sources/boost/boost/type_traits/has_logical_not.hpp", + "external/sources/boost/boost/type_traits/has_logical_or.hpp", + "external/sources/boost/boost/type_traits/has_minus.hpp", + "external/sources/boost/boost/type_traits/has_minus_assign.hpp", + "external/sources/boost/boost/type_traits/has_modulus.hpp", + "external/sources/boost/boost/type_traits/has_modulus_assign.hpp", + "external/sources/boost/boost/type_traits/has_multiplies.hpp", + "external/sources/boost/boost/type_traits/has_multiplies_assign.hpp", + "external/sources/boost/boost/type_traits/has_negate.hpp", + "external/sources/boost/boost/type_traits/has_new_operator.hpp", + "external/sources/boost/boost/type_traits/has_not_equal_to.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_assign.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_constructor.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_copy.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_destructor.hpp", + "external/sources/boost/boost/type_traits/has_operator.hpp", + "external/sources/boost/boost/type_traits/has_plus.hpp", + "external/sources/boost/boost/type_traits/has_plus_assign.hpp", + "external/sources/boost/boost/type_traits/has_post_decrement.hpp", + "external/sources/boost/boost/type_traits/has_post_increment.hpp", + "external/sources/boost/boost/type_traits/has_pre_decrement.hpp", + "external/sources/boost/boost/type_traits/has_pre_increment.hpp", + "external/sources/boost/boost/type_traits/has_right_shift.hpp", + "external/sources/boost/boost/type_traits/has_right_shift_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_constructor.hpp", + "external/sources/boost/boost/type_traits/has_trivial_copy.hpp", + "external/sources/boost/boost/type_traits/has_trivial_destructor.hpp", + "external/sources/boost/boost/type_traits/has_trivial_move_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_move_constructor.hpp", + "external/sources/boost/boost/type_traits/has_unary_minus.hpp", + "external/sources/boost/boost/type_traits/has_unary_plus.hpp", + "external/sources/boost/boost/type_traits/has_virtual_destructor.hpp", + "external/sources/boost/boost/type_traits/ice.hpp", + "external/sources/boost/boost/type_traits/integral_constant.hpp", + "external/sources/boost/boost/type_traits/integral_promotion.hpp", + "external/sources/boost/boost/type_traits/intrinsics.hpp", + "external/sources/boost/boost/type_traits/is_abstract.hpp", + "external/sources/boost/boost/type_traits/is_arithmetic.hpp", + "external/sources/boost/boost/type_traits/is_array.hpp", + "external/sources/boost/boost/type_traits/is_assignable.hpp", + "external/sources/boost/boost/type_traits/is_base_and_derived.hpp", + "external/sources/boost/boost/type_traits/is_base_of.hpp", + "external/sources/boost/boost/type_traits/is_base_of_tr1.hpp", + "external/sources/boost/boost/type_traits/is_bounded_array.hpp", + "external/sources/boost/boost/type_traits/is_class.hpp", + "external/sources/boost/boost/type_traits/is_complete.hpp", + "external/sources/boost/boost/type_traits/is_complex.hpp", + "external/sources/boost/boost/type_traits/is_compound.hpp", + "external/sources/boost/boost/type_traits/is_const.hpp", + "external/sources/boost/boost/type_traits/is_constructible.hpp", + "external/sources/boost/boost/type_traits/is_convertible.hpp", + "external/sources/boost/boost/type_traits/is_copy_assignable.hpp", + "external/sources/boost/boost/type_traits/is_copy_constructible.hpp", + "external/sources/boost/boost/type_traits/is_default_constructible.hpp", + "external/sources/boost/boost/type_traits/is_destructible.hpp", + "external/sources/boost/boost/type_traits/is_detected.hpp", + "external/sources/boost/boost/type_traits/is_detected_convertible.hpp", + "external/sources/boost/boost/type_traits/is_detected_exact.hpp", + "external/sources/boost/boost/type_traits/is_empty.hpp", + "external/sources/boost/boost/type_traits/is_enum.hpp", + "external/sources/boost/boost/type_traits/is_final.hpp", + "external/sources/boost/boost/type_traits/is_float.hpp", + "external/sources/boost/boost/type_traits/is_floating_point.hpp", + "external/sources/boost/boost/type_traits/is_function.hpp", + "external/sources/boost/boost/type_traits/is_fundamental.hpp", + "external/sources/boost/boost/type_traits/is_integral.hpp", + "external/sources/boost/boost/type_traits/is_list_constructible.hpp", + "external/sources/boost/boost/type_traits/is_lvalue_reference.hpp", + "external/sources/boost/boost/type_traits/is_member_function_pointer.hpp", + "external/sources/boost/boost/type_traits/is_member_object_pointer.hpp", + "external/sources/boost/boost/type_traits/is_member_pointer.hpp", + "external/sources/boost/boost/type_traits/is_noncopyable.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_move_assignable.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_move_constructible.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_swappable.hpp", + "external/sources/boost/boost/type_traits/is_object.hpp", + "external/sources/boost/boost/type_traits/is_pod.hpp", + "external/sources/boost/boost/type_traits/is_pointer.hpp", + "external/sources/boost/boost/type_traits/is_polymorphic.hpp", + "external/sources/boost/boost/type_traits/is_reference.hpp", + "external/sources/boost/boost/type_traits/is_rvalue_reference.hpp", + "external/sources/boost/boost/type_traits/is_same.hpp", + "external/sources/boost/boost/type_traits/is_scalar.hpp", + "external/sources/boost/boost/type_traits/is_scoped_enum.hpp", + "external/sources/boost/boost/type_traits/is_signed.hpp", + "external/sources/boost/boost/type_traits/is_stateless.hpp", + "external/sources/boost/boost/type_traits/is_trivially_copyable.hpp", + "external/sources/boost/boost/type_traits/is_unbounded_array.hpp", + "external/sources/boost/boost/type_traits/is_union.hpp", + "external/sources/boost/boost/type_traits/is_unscoped_enum.hpp", + "external/sources/boost/boost/type_traits/is_unsigned.hpp", + "external/sources/boost/boost/type_traits/is_virtual_base_of.hpp", + "external/sources/boost/boost/type_traits/is_void.hpp", + "external/sources/boost/boost/type_traits/is_volatile.hpp", + "external/sources/boost/boost/type_traits/make_signed.hpp", + "external/sources/boost/boost/type_traits/make_unsigned.hpp", + "external/sources/boost/boost/type_traits/make_void.hpp", + "external/sources/boost/boost/type_traits/negation.hpp", + "external/sources/boost/boost/type_traits/nonesuch.hpp", + "external/sources/boost/boost/type_traits/object_traits.hpp", + "external/sources/boost/boost/type_traits/promote.hpp", + "external/sources/boost/boost/type_traits/rank.hpp", + "external/sources/boost/boost/type_traits/reference_traits.hpp", + "external/sources/boost/boost/type_traits/remove_all_extents.hpp", + "external/sources/boost/boost/type_traits/remove_bounds.hpp", + "external/sources/boost/boost/type_traits/remove_const.hpp", + "external/sources/boost/boost/type_traits/remove_cv.hpp", + "external/sources/boost/boost/type_traits/remove_cv_ref.hpp", + "external/sources/boost/boost/type_traits/remove_extent.hpp", + "external/sources/boost/boost/type_traits/remove_pointer.hpp", + "external/sources/boost/boost/type_traits/remove_reference.hpp", + "external/sources/boost/boost/type_traits/remove_volatile.hpp", + "external/sources/boost/boost/type_traits/same_traits.hpp", + "external/sources/boost/boost/type_traits/transform_traits.hpp", + "external/sources/boost/boost/type_traits/type_identity.hpp", + "external/sources/boost/boost/type_traits/type_with_alignment.hpp", + "external/sources/boost/boost/typeof/constant.hpp", + "external/sources/boost/boost/typeof/decltype.hpp", + "external/sources/boost/boost/typeof/dmc/typeof_impl.hpp", + "external/sources/boost/boost/typeof/encode_decode.hpp", + "external/sources/boost/boost/typeof/encode_decode_params.hpp", + "external/sources/boost/boost/typeof/incr_registration_group.hpp", + "external/sources/boost/boost/typeof/int_encoding.hpp", + "external/sources/boost/boost/typeof/integral_template_param.hpp", + "external/sources/boost/boost/typeof/message.hpp", + "external/sources/boost/boost/typeof/modifiers.hpp", + "external/sources/boost/boost/typeof/msvc/typeof_impl.hpp", + "external/sources/boost/boost/typeof/native.hpp", + "external/sources/boost/boost/typeof/pointers_data_members.hpp", + "external/sources/boost/boost/typeof/register_functions.hpp", + "external/sources/boost/boost/typeof/register_functions_iterate.hpp", + "external/sources/boost/boost/typeof/register_fundamental.hpp", + "external/sources/boost/boost/typeof/register_mem_functions.hpp", + "external/sources/boost/boost/typeof/std/bitset.hpp", + "external/sources/boost/boost/typeof/std/complex.hpp", + "external/sources/boost/boost/typeof/std/deque.hpp", + "external/sources/boost/boost/typeof/std/fstream.hpp", + "external/sources/boost/boost/typeof/std/functional.hpp", + "external/sources/boost/boost/typeof/std/iostream.hpp", + "external/sources/boost/boost/typeof/std/istream.hpp", + "external/sources/boost/boost/typeof/std/iterator.hpp", + "external/sources/boost/boost/typeof/std/list.hpp", + "external/sources/boost/boost/typeof/std/locale.hpp", + "external/sources/boost/boost/typeof/std/map.hpp", + "external/sources/boost/boost/typeof/std/memory.hpp", + "external/sources/boost/boost/typeof/std/ostream.hpp", + "external/sources/boost/boost/typeof/std/queue.hpp", + "external/sources/boost/boost/typeof/std/set.hpp", + "external/sources/boost/boost/typeof/std/sstream.hpp", + "external/sources/boost/boost/typeof/std/stack.hpp", + "external/sources/boost/boost/typeof/std/streambuf.hpp", + "external/sources/boost/boost/typeof/std/string.hpp", + "external/sources/boost/boost/typeof/std/utility.hpp", + "external/sources/boost/boost/typeof/std/valarray.hpp", + "external/sources/boost/boost/typeof/std/vector.hpp", + "external/sources/boost/boost/typeof/template_encoding.hpp", + "external/sources/boost/boost/typeof/template_template_param.hpp", + "external/sources/boost/boost/typeof/type_encoding.hpp", + "external/sources/boost/boost/typeof/type_template_param.hpp", + "external/sources/boost/boost/typeof/typeof.hpp", + "external/sources/boost/boost/typeof/typeof_impl.hpp", + "external/sources/boost/boost/typeof/unsupported.hpp", + "external/sources/boost/boost/typeof/vector.hpp", + "external/sources/boost/boost/typeof/vector100.hpp", + "external/sources/boost/boost/typeof/vector150.hpp", + "external/sources/boost/boost/typeof/vector200.hpp", + "external/sources/boost/boost/typeof/vector50.hpp", + "external/sources/boost/boost/units/absolute.hpp", + "external/sources/boost/boost/units/base_dimension.hpp", + "external/sources/boost/boost/units/base_unit.hpp", + "external/sources/boost/boost/units/base_units/angle/arcminute.hpp", + "external/sources/boost/boost/units/base_units/angle/arcsecond.hpp", + "external/sources/boost/boost/units/base_units/angle/degree.hpp", + "external/sources/boost/boost/units/base_units/angle/gradian.hpp", + "external/sources/boost/boost/units/base_units/angle/radian.hpp", + "external/sources/boost/boost/units/base_units/angle/revolution.hpp", + "external/sources/boost/boost/units/base_units/angle/steradian.hpp", + "external/sources/boost/boost/units/base_units/astronomical/astronomical_unit.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_day.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_hour.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_minute.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_second.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_year.hpp", + "external/sources/boost/boost/units/base_units/astronomical/parsec.hpp", + "external/sources/boost/boost/units/base_units/cgs/biot.hpp", + "external/sources/boost/boost/units/base_units/cgs/centimeter.hpp", + "external/sources/boost/boost/units/base_units/cgs/gram.hpp", + "external/sources/boost/boost/units/base_units/imperial/conversions.hpp", + "external/sources/boost/boost/units/base_units/imperial/drachm.hpp", + "external/sources/boost/boost/units/base_units/imperial/fluid_ounce.hpp", + "external/sources/boost/boost/units/base_units/imperial/foot.hpp", + "external/sources/boost/boost/units/base_units/imperial/furlong.hpp", + "external/sources/boost/boost/units/base_units/imperial/gallon.hpp", + "external/sources/boost/boost/units/base_units/imperial/gill.hpp", + "external/sources/boost/boost/units/base_units/imperial/grain.hpp", + "external/sources/boost/boost/units/base_units/imperial/hundredweight.hpp", + "external/sources/boost/boost/units/base_units/imperial/inch.hpp", + "external/sources/boost/boost/units/base_units/imperial/league.hpp", + "external/sources/boost/boost/units/base_units/imperial/mile.hpp", + "external/sources/boost/boost/units/base_units/imperial/ounce.hpp", + "external/sources/boost/boost/units/base_units/imperial/pint.hpp", + "external/sources/boost/boost/units/base_units/imperial/pound.hpp", + "external/sources/boost/boost/units/base_units/imperial/quart.hpp", + "external/sources/boost/boost/units/base_units/imperial/quarter.hpp", + "external/sources/boost/boost/units/base_units/imperial/stone.hpp", + "external/sources/boost/boost/units/base_units/imperial/thou.hpp", + "external/sources/boost/boost/units/base_units/imperial/ton.hpp", + "external/sources/boost/boost/units/base_units/imperial/yard.hpp", + "external/sources/boost/boost/units/base_units/information/bit.hpp", + "external/sources/boost/boost/units/base_units/information/byte.hpp", + "external/sources/boost/boost/units/base_units/information/hartley.hpp", + "external/sources/boost/boost/units/base_units/information/nat.hpp", + "external/sources/boost/boost/units/base_units/information/shannon.hpp", + "external/sources/boost/boost/units/base_units/metric/angstrom.hpp", + "external/sources/boost/boost/units/base_units/metric/are.hpp", + "external/sources/boost/boost/units/base_units/metric/atmosphere.hpp", + "external/sources/boost/boost/units/base_units/metric/bar.hpp", + "external/sources/boost/boost/units/base_units/metric/barn.hpp", + "external/sources/boost/boost/units/base_units/metric/day.hpp", + "external/sources/boost/boost/units/base_units/metric/fermi.hpp", + "external/sources/boost/boost/units/base_units/metric/hectare.hpp", + "external/sources/boost/boost/units/base_units/metric/hour.hpp", + "external/sources/boost/boost/units/base_units/metric/knot.hpp", + "external/sources/boost/boost/units/base_units/metric/liter.hpp", + "external/sources/boost/boost/units/base_units/metric/micron.hpp", + "external/sources/boost/boost/units/base_units/metric/minute.hpp", + "external/sources/boost/boost/units/base_units/metric/mmHg.hpp", + "external/sources/boost/boost/units/base_units/metric/nautical_mile.hpp", + "external/sources/boost/boost/units/base_units/metric/ton.hpp", + "external/sources/boost/boost/units/base_units/metric/torr.hpp", + "external/sources/boost/boost/units/base_units/metric/year.hpp", + "external/sources/boost/boost/units/base_units/si/ampere.hpp", + "external/sources/boost/boost/units/base_units/si/candela.hpp", + "external/sources/boost/boost/units/base_units/si/kelvin.hpp", + "external/sources/boost/boost/units/base_units/si/kilogram.hpp", + "external/sources/boost/boost/units/base_units/si/meter.hpp", + "external/sources/boost/boost/units/base_units/si/mole.hpp", + "external/sources/boost/boost/units/base_units/si/second.hpp", + "external/sources/boost/boost/units/base_units/temperature/celsius.hpp", + "external/sources/boost/boost/units/base_units/temperature/conversions.hpp", + "external/sources/boost/boost/units/base_units/temperature/fahrenheit.hpp", + "external/sources/boost/boost/units/base_units/us/cup.hpp", + "external/sources/boost/boost/units/base_units/us/dram.hpp", + "external/sources/boost/boost/units/base_units/us/fluid_dram.hpp", + "external/sources/boost/boost/units/base_units/us/fluid_ounce.hpp", + "external/sources/boost/boost/units/base_units/us/foot.hpp", + "external/sources/boost/boost/units/base_units/us/gallon.hpp", + "external/sources/boost/boost/units/base_units/us/gill.hpp", + "external/sources/boost/boost/units/base_units/us/grain.hpp", + "external/sources/boost/boost/units/base_units/us/hundredweight.hpp", + "external/sources/boost/boost/units/base_units/us/inch.hpp", + "external/sources/boost/boost/units/base_units/us/mil.hpp", + "external/sources/boost/boost/units/base_units/us/mile.hpp", + "external/sources/boost/boost/units/base_units/us/minim.hpp", + "external/sources/boost/boost/units/base_units/us/ounce.hpp", + "external/sources/boost/boost/units/base_units/us/pint.hpp", + "external/sources/boost/boost/units/base_units/us/pound.hpp", + "external/sources/boost/boost/units/base_units/us/pound_force.hpp", + "external/sources/boost/boost/units/base_units/us/quart.hpp", + "external/sources/boost/boost/units/base_units/us/tablespoon.hpp", + "external/sources/boost/boost/units/base_units/us/teaspoon.hpp", + "external/sources/boost/boost/units/base_units/us/ton.hpp", + "external/sources/boost/boost/units/base_units/us/yard.hpp", + "external/sources/boost/boost/units/cmath.hpp", + "external/sources/boost/boost/units/config.hpp", + "external/sources/boost/boost/units/conversion.hpp", + "external/sources/boost/boost/units/derived_dimension.hpp", + "external/sources/boost/boost/units/detail/absolute_impl.hpp", + "external/sources/boost/boost/units/detail/cmath_impl.hpp", + "external/sources/boost/boost/units/detail/conversion_impl.hpp", + "external/sources/boost/boost/units/detail/dim_impl.hpp", + "external/sources/boost/boost/units/detail/dimension_impl.hpp", + "external/sources/boost/boost/units/detail/dimension_list.hpp", + "external/sources/boost/boost/units/detail/dimensionless_unit.hpp", + "external/sources/boost/boost/units/detail/heterogeneous_conversion.hpp", + "external/sources/boost/boost/units/detail/linear_algebra.hpp", + "external/sources/boost/boost/units/detail/one.hpp", + "external/sources/boost/boost/units/detail/ordinal.hpp", + "external/sources/boost/boost/units/detail/prevent_redefinition.hpp", + "external/sources/boost/boost/units/detail/push_front_if.hpp", + "external/sources/boost/boost/units/detail/push_front_or_add.hpp", + "external/sources/boost/boost/units/detail/sort.hpp", + "external/sources/boost/boost/units/detail/static_rational_power.hpp", + "external/sources/boost/boost/units/detail/unscale.hpp", + "external/sources/boost/boost/units/detail/utility.hpp", + "external/sources/boost/boost/units/dim.hpp", + "external/sources/boost/boost/units/dimension.hpp", + "external/sources/boost/boost/units/dimensionless_quantity.hpp", + "external/sources/boost/boost/units/dimensionless_type.hpp", + "external/sources/boost/boost/units/dimensionless_unit.hpp", + "external/sources/boost/boost/units/get_dimension.hpp", + "external/sources/boost/boost/units/get_system.hpp", + "external/sources/boost/boost/units/heterogeneous_system.hpp", + "external/sources/boost/boost/units/homogeneous_system.hpp", + "external/sources/boost/boost/units/io.hpp", + "external/sources/boost/boost/units/is_dim.hpp", + "external/sources/boost/boost/units/is_dimension_list.hpp", + "external/sources/boost/boost/units/is_dimensionless.hpp", + "external/sources/boost/boost/units/is_dimensionless_quantity.hpp", + "external/sources/boost/boost/units/is_dimensionless_unit.hpp", + "external/sources/boost/boost/units/is_quantity.hpp", + "external/sources/boost/boost/units/is_quantity_of_dimension.hpp", + "external/sources/boost/boost/units/is_quantity_of_system.hpp", + "external/sources/boost/boost/units/is_unit.hpp", + "external/sources/boost/boost/units/is_unit_of_dimension.hpp", + "external/sources/boost/boost/units/is_unit_of_system.hpp", + "external/sources/boost/boost/units/lambda.hpp", + "external/sources/boost/boost/units/limits.hpp", + "external/sources/boost/boost/units/make_scaled_unit.hpp", + "external/sources/boost/boost/units/make_system.hpp", + "external/sources/boost/boost/units/operators.hpp", + "external/sources/boost/boost/units/physical_dimensions.hpp", + "external/sources/boost/boost/units/physical_dimensions/absorbed_dose.hpp", + "external/sources/boost/boost/units/physical_dimensions/acceleration.hpp", + "external/sources/boost/boost/units/physical_dimensions/action.hpp", + "external/sources/boost/boost/units/physical_dimensions/activity.hpp", + "external/sources/boost/boost/units/physical_dimensions/amount.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_acceleration.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_momentum.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_velocity.hpp", + "external/sources/boost/boost/units/physical_dimensions/area.hpp", + "external/sources/boost/boost/units/physical_dimensions/capacitance.hpp", + "external/sources/boost/boost/units/physical_dimensions/conductance.hpp", + "external/sources/boost/boost/units/physical_dimensions/conductivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/current.hpp", + "external/sources/boost/boost/units/physical_dimensions/dose_equivalent.hpp", + "external/sources/boost/boost/units/physical_dimensions/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/physical_dimensions/electric_charge.hpp", + "external/sources/boost/boost/units/physical_dimensions/electric_potential.hpp", + "external/sources/boost/boost/units/physical_dimensions/energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/energy_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/force.hpp", + "external/sources/boost/boost/units/physical_dimensions/frequency.hpp", + "external/sources/boost/boost/units/physical_dimensions/heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/illuminance.hpp", + "external/sources/boost/boost/units/physical_dimensions/impedance.hpp", + "external/sources/boost/boost/units/physical_dimensions/inductance.hpp", + "external/sources/boost/boost/units/physical_dimensions/information.hpp", + "external/sources/boost/boost/units/physical_dimensions/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/physical_dimensions/length.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminance.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminous_flux.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminous_intensity.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_field_intensity.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_flux.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_flux_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/mass.hpp", + "external/sources/boost/boost/units/physical_dimensions/mass_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/molar_energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/molar_heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/moment_of_inertia.hpp", + "external/sources/boost/boost/units/physical_dimensions/momentum.hpp", + "external/sources/boost/boost/units/physical_dimensions/permeability.hpp", + "external/sources/boost/boost/units/physical_dimensions/permittivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/plane_angle.hpp", + "external/sources/boost/boost/units/physical_dimensions/power.hpp", + "external/sources/boost/boost/units/physical_dimensions/pressure.hpp", + "external/sources/boost/boost/units/physical_dimensions/reluctance.hpp", + "external/sources/boost/boost/units/physical_dimensions/resistance.hpp", + "external/sources/boost/boost/units/physical_dimensions/resistivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/solid_angle.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_volume.hpp", + "external/sources/boost/boost/units/physical_dimensions/stress.hpp", + "external/sources/boost/boost/units/physical_dimensions/surface_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/surface_tension.hpp", + "external/sources/boost/boost/units/physical_dimensions/temperature.hpp", + "external/sources/boost/boost/units/physical_dimensions/thermal_conductivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/time.hpp", + "external/sources/boost/boost/units/physical_dimensions/torque.hpp", + "external/sources/boost/boost/units/physical_dimensions/velocity.hpp", + "external/sources/boost/boost/units/physical_dimensions/volume.hpp", + "external/sources/boost/boost/units/physical_dimensions/wavenumber.hpp", + "external/sources/boost/boost/units/pow.hpp", + "external/sources/boost/boost/units/quantity.hpp", + "external/sources/boost/boost/units/reduce_unit.hpp", + "external/sources/boost/boost/units/scale.hpp", + "external/sources/boost/boost/units/scaled_base_unit.hpp", + "external/sources/boost/boost/units/static_constant.hpp", + "external/sources/boost/boost/units/static_rational.hpp", + "external/sources/boost/boost/units/systems/abstract.hpp", + "external/sources/boost/boost/units/systems/angle/degrees.hpp", + "external/sources/boost/boost/units/systems/angle/gradians.hpp", + "external/sources/boost/boost/units/systems/angle/revolutions.hpp", + "external/sources/boost/boost/units/systems/cgs.hpp", + "external/sources/boost/boost/units/systems/cgs/acceleration.hpp", + "external/sources/boost/boost/units/systems/cgs/area.hpp", + "external/sources/boost/boost/units/systems/cgs/base.hpp", + "external/sources/boost/boost/units/systems/cgs/current.hpp", + "external/sources/boost/boost/units/systems/cgs/dimensionless.hpp", + "external/sources/boost/boost/units/systems/cgs/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/systems/cgs/energy.hpp", + "external/sources/boost/boost/units/systems/cgs/force.hpp", + "external/sources/boost/boost/units/systems/cgs/frequency.hpp", + "external/sources/boost/boost/units/systems/cgs/io.hpp", + "external/sources/boost/boost/units/systems/cgs/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/systems/cgs/length.hpp", + "external/sources/boost/boost/units/systems/cgs/mass.hpp", + "external/sources/boost/boost/units/systems/cgs/mass_density.hpp", + "external/sources/boost/boost/units/systems/cgs/momentum.hpp", + "external/sources/boost/boost/units/systems/cgs/power.hpp", + "external/sources/boost/boost/units/systems/cgs/pressure.hpp", + "external/sources/boost/boost/units/systems/cgs/time.hpp", + "external/sources/boost/boost/units/systems/cgs/velocity.hpp", + "external/sources/boost/boost/units/systems/cgs/volume.hpp", + "external/sources/boost/boost/units/systems/cgs/wavenumber.hpp", + "external/sources/boost/boost/units/systems/detail/constants.hpp", + "external/sources/boost/boost/units/systems/information.hpp", + "external/sources/boost/boost/units/systems/information/bit.hpp", + "external/sources/boost/boost/units/systems/information/byte.hpp", + "external/sources/boost/boost/units/systems/information/hartley.hpp", + "external/sources/boost/boost/units/systems/information/nat.hpp", + "external/sources/boost/boost/units/systems/information/prefixes.hpp", + "external/sources/boost/boost/units/systems/information/shannon.hpp", + "external/sources/boost/boost/units/systems/si.hpp", + "external/sources/boost/boost/units/systems/si/absorbed_dose.hpp", + "external/sources/boost/boost/units/systems/si/acceleration.hpp", + "external/sources/boost/boost/units/systems/si/action.hpp", + "external/sources/boost/boost/units/systems/si/activity.hpp", + "external/sources/boost/boost/units/systems/si/amount.hpp", + "external/sources/boost/boost/units/systems/si/angular_acceleration.hpp", + "external/sources/boost/boost/units/systems/si/angular_momentum.hpp", + "external/sources/boost/boost/units/systems/si/angular_velocity.hpp", + "external/sources/boost/boost/units/systems/si/area.hpp", + "external/sources/boost/boost/units/systems/si/base.hpp", + "external/sources/boost/boost/units/systems/si/capacitance.hpp", + "external/sources/boost/boost/units/systems/si/catalytic_activity.hpp", + "external/sources/boost/boost/units/systems/si/codata/alpha_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/atomic-nuclear_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/deuteron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/electromagnetic_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/electron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/helion_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/muon_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/neutron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/physico-chemical_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/proton_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/tau_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/triton_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/typedefs.hpp", + "external/sources/boost/boost/units/systems/si/codata/universal_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata_constants.hpp", + "external/sources/boost/boost/units/systems/si/conductance.hpp", + "external/sources/boost/boost/units/systems/si/conductivity.hpp", + "external/sources/boost/boost/units/systems/si/current.hpp", + "external/sources/boost/boost/units/systems/si/dimensionless.hpp", + "external/sources/boost/boost/units/systems/si/dose_equivalent.hpp", + "external/sources/boost/boost/units/systems/si/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/systems/si/electric_charge.hpp", + "external/sources/boost/boost/units/systems/si/electric_potential.hpp", + "external/sources/boost/boost/units/systems/si/energy.hpp", + "external/sources/boost/boost/units/systems/si/force.hpp", + "external/sources/boost/boost/units/systems/si/frequency.hpp", + "external/sources/boost/boost/units/systems/si/illuminance.hpp", + "external/sources/boost/boost/units/systems/si/impedance.hpp", + "external/sources/boost/boost/units/systems/si/inductance.hpp", + "external/sources/boost/boost/units/systems/si/io.hpp", + "external/sources/boost/boost/units/systems/si/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/systems/si/length.hpp", + "external/sources/boost/boost/units/systems/si/luminous_flux.hpp", + "external/sources/boost/boost/units/systems/si/luminous_intensity.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_field_intensity.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_flux.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_flux_density.hpp", + "external/sources/boost/boost/units/systems/si/mass.hpp", + "external/sources/boost/boost/units/systems/si/mass_density.hpp", + "external/sources/boost/boost/units/systems/si/moment_of_inertia.hpp", + "external/sources/boost/boost/units/systems/si/momentum.hpp", + "external/sources/boost/boost/units/systems/si/permeability.hpp", + "external/sources/boost/boost/units/systems/si/permittivity.hpp", + "external/sources/boost/boost/units/systems/si/plane_angle.hpp", + "external/sources/boost/boost/units/systems/si/power.hpp", + "external/sources/boost/boost/units/systems/si/prefixes.hpp", + "external/sources/boost/boost/units/systems/si/pressure.hpp", + "external/sources/boost/boost/units/systems/si/reluctance.hpp", + "external/sources/boost/boost/units/systems/si/resistance.hpp", + "external/sources/boost/boost/units/systems/si/resistivity.hpp", + "external/sources/boost/boost/units/systems/si/solid_angle.hpp", + "external/sources/boost/boost/units/systems/si/surface_density.hpp", + "external/sources/boost/boost/units/systems/si/surface_tension.hpp", + "external/sources/boost/boost/units/systems/si/temperature.hpp", + "external/sources/boost/boost/units/systems/si/time.hpp", + "external/sources/boost/boost/units/systems/si/torque.hpp", + "external/sources/boost/boost/units/systems/si/velocity.hpp", + "external/sources/boost/boost/units/systems/si/volume.hpp", + "external/sources/boost/boost/units/systems/si/wavenumber.hpp", + "external/sources/boost/boost/units/systems/temperature/celsius.hpp", + "external/sources/boost/boost/units/systems/temperature/fahrenheit.hpp", + "external/sources/boost/boost/units/unit.hpp", + "external/sources/boost/boost/units/units_fwd.hpp", + "external/sources/boost/boost/unordered/detail/fwd.hpp", + "external/sources/boost/boost/unordered/detail/implementation.hpp", + "external/sources/boost/boost/unordered/detail/map.hpp", + "external/sources/boost/boost/unordered/detail/set.hpp", + "external/sources/boost/boost/unordered/unordered_map.hpp", + "external/sources/boost/boost/unordered/unordered_map_fwd.hpp", + "external/sources/boost/boost/unordered/unordered_set.hpp", + "external/sources/boost/boost/unordered/unordered_set_fwd.hpp", + "external/sources/boost/boost/unordered_map.hpp", + "external/sources/boost/boost/unordered_set.hpp", + "external/sources/boost/boost/utility.hpp", + "external/sources/boost/boost/utility/addressof.hpp", + "external/sources/boost/boost/utility/base_from_member.hpp", + "external/sources/boost/boost/utility/binary.hpp", + "external/sources/boost/boost/utility/compare_pointees.hpp", + "external/sources/boost/boost/utility/declval.hpp", + "external/sources/boost/boost/utility/detail/in_place_factory_prefix.hpp", + "external/sources/boost/boost/utility/detail/in_place_factory_suffix.hpp", + "external/sources/boost/boost/utility/detail/minstd_rand.hpp", + "external/sources/boost/boost/utility/detail/result_of_iterate.hpp", + "external/sources/boost/boost/utility/enable_if.hpp", + "external/sources/boost/boost/utility/explicit_operator_bool.hpp", + "external/sources/boost/boost/utility/identity_type.hpp", + "external/sources/boost/boost/utility/in_place_factory.hpp", + "external/sources/boost/boost/utility/result_of.hpp", + "external/sources/boost/boost/utility/string_ref.hpp", + "external/sources/boost/boost/utility/string_ref_fwd.hpp", + "external/sources/boost/boost/utility/string_view.hpp", + "external/sources/boost/boost/utility/string_view_fwd.hpp", + "external/sources/boost/boost/utility/swap.hpp", + "external/sources/boost/boost/utility/typed_in_place_factory.hpp", + "external/sources/boost/boost/utility/value_init.hpp", + "external/sources/boost/boost/uuid/basic_name_generator.hpp", + "external/sources/boost/boost/uuid/detail/config.hpp", + "external/sources/boost/boost/uuid/detail/md5.hpp", + "external/sources/boost/boost/uuid/detail/random_provider.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_arc4random.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_bcrypt.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_detect_platform.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_getentropy.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_getrandom.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_include_platform.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_posix.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_wincrypt.ipp", + "external/sources/boost/boost/uuid/detail/sha1.hpp", + "external/sources/boost/boost/uuid/detail/uuid_generic.ipp", + "external/sources/boost/boost/uuid/detail/uuid_x86.ipp", + "external/sources/boost/boost/uuid/entropy_error.hpp", + "external/sources/boost/boost/uuid/name_generator.hpp", + "external/sources/boost/boost/uuid/name_generator_md5.hpp", + "external/sources/boost/boost/uuid/name_generator_sha1.hpp", + "external/sources/boost/boost/uuid/nil_generator.hpp", + "external/sources/boost/boost/uuid/random_generator.hpp", + "external/sources/boost/boost/uuid/string_generator.hpp", + "external/sources/boost/boost/uuid/uuid.hpp", + "external/sources/boost/boost/uuid/uuid_generators.hpp", + "external/sources/boost/boost/uuid/uuid_hash.hpp", + "external/sources/boost/boost/uuid/uuid_io.hpp", + "external/sources/boost/boost/uuid/uuid_serialize.hpp", + "external/sources/boost/boost/variant.hpp", + "external/sources/boost/boost/variant/apply_visitor.hpp", + "external/sources/boost/boost/variant/bad_visit.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_binary.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_delayed.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_unary.hpp", + "external/sources/boost/boost/variant/detail/backup_holder.hpp", + "external/sources/boost/boost/variant/detail/cast_storage.hpp", + "external/sources/boost/boost/variant/detail/config.hpp", + "external/sources/boost/boost/variant/detail/element_index.hpp", + "external/sources/boost/boost/variant/detail/enable_recursive.hpp", + "external/sources/boost/boost/variant/detail/enable_recursive_fwd.hpp", + "external/sources/boost/boost/variant/detail/forced_return.hpp", + "external/sources/boost/boost/variant/detail/has_result_type.hpp", + "external/sources/boost/boost/variant/detail/hash_variant.hpp", + "external/sources/boost/boost/variant/detail/initializer.hpp", + "external/sources/boost/boost/variant/detail/make_variant_list.hpp", + "external/sources/boost/boost/variant/detail/move.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_cpp11_based.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_cpp14_based.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_preprocessor_based.hpp", + "external/sources/boost/boost/variant/detail/over_sequence.hpp", + "external/sources/boost/boost/variant/detail/std_hash.hpp", + "external/sources/boost/boost/variant/detail/substitute.hpp", + "external/sources/boost/boost/variant/detail/substitute_fwd.hpp", + "external/sources/boost/boost/variant/detail/variant_io.hpp", + "external/sources/boost/boost/variant/detail/visitation_impl.hpp", + "external/sources/boost/boost/variant/get.hpp", + "external/sources/boost/boost/variant/multivisitors.hpp", + "external/sources/boost/boost/variant/polymorphic_get.hpp", + "external/sources/boost/boost/variant/recursive_variant.hpp", + "external/sources/boost/boost/variant/recursive_wrapper.hpp", + "external/sources/boost/boost/variant/recursive_wrapper_fwd.hpp", + "external/sources/boost/boost/variant/static_visitor.hpp", + "external/sources/boost/boost/variant/variant.hpp", + "external/sources/boost/boost/variant/variant_fwd.hpp", + "external/sources/boost/boost/variant/visitor_ptr.hpp", + "external/sources/boost/boost/variant2/variant.hpp", + "external/sources/boost/boost/version.hpp", + "external/sources/boost/boost/visit_each.hpp", + "external/sources/boost/boost/vmd/array.hpp", + "external/sources/boost/boost/vmd/array/to_seq.hpp", + "external/sources/boost/boost/vmd/array/to_tuple.hpp", + "external/sources/boost/boost/vmd/assert.hpp", + "external/sources/boost/boost/vmd/assert_is_array.hpp", + "external/sources/boost/boost/vmd/assert_is_empty.hpp", + "external/sources/boost/boost/vmd/assert_is_identifier.hpp", + "external/sources/boost/boost/vmd/assert_is_list.hpp", + "external/sources/boost/boost/vmd/assert_is_number.hpp", + "external/sources/boost/boost/vmd/assert_is_seq.hpp", + "external/sources/boost/boost/vmd/assert_is_tuple.hpp", + "external/sources/boost/boost/vmd/assert_is_type.hpp", + "external/sources/boost/boost/vmd/detail/adjust_tuple_type.hpp", + "external/sources/boost/boost/vmd/detail/array.hpp", + "external/sources/boost/boost/vmd/detail/assert.hpp", + "external/sources/boost/boost/vmd/detail/data_equal.hpp", + "external/sources/boost/boost/vmd/detail/data_equal_common.hpp", + "external/sources/boost/boost/vmd/detail/empty_result.hpp", + "external/sources/boost/boost/vmd/detail/equal.hpp", + "external/sources/boost/boost/vmd/detail/equal_common.hpp", + "external/sources/boost/boost/vmd/detail/equal_type.hpp", + "external/sources/boost/boost/vmd/detail/identifier.hpp", + "external/sources/boost/boost/vmd/detail/identifier_concat.hpp", + "external/sources/boost/boost/vmd/detail/identifier_type.hpp", + "external/sources/boost/boost/vmd/detail/idprefix.hpp", + "external/sources/boost/boost/vmd/detail/is_array.hpp", + "external/sources/boost/boost/vmd/detail/is_array_common.hpp", + "external/sources/boost/boost/vmd/detail/is_empty.hpp", + "external/sources/boost/boost/vmd/detail/is_empty_array.hpp", + "external/sources/boost/boost/vmd/detail/is_empty_tuple.hpp", + "external/sources/boost/boost/vmd/detail/is_entire.hpp", + "external/sources/boost/boost/vmd/detail/is_identifier.hpp", + "external/sources/boost/boost/vmd/detail/is_list.hpp", + "external/sources/boost/boost/vmd/detail/is_number.hpp", + "external/sources/boost/boost/vmd/detail/is_seq.hpp", + "external/sources/boost/boost/vmd/detail/is_tuple.hpp", + "external/sources/boost/boost/vmd/detail/is_type.hpp", + "external/sources/boost/boost/vmd/detail/is_type_type.hpp", + "external/sources/boost/boost/vmd/detail/list.hpp", + "external/sources/boost/boost/vmd/detail/match_identifier.hpp", + "external/sources/boost/boost/vmd/detail/match_identifier_common.hpp", + "external/sources/boost/boost/vmd/detail/match_single_identifier.hpp", + "external/sources/boost/boost/vmd/detail/modifiers.hpp", + "external/sources/boost/boost/vmd/detail/mods.hpp", + "external/sources/boost/boost/vmd/detail/nil_registration.hpp", + "external/sources/boost/boost/vmd/detail/not_empty.hpp", + "external/sources/boost/boost/vmd/detail/number_registration.hpp", + "external/sources/boost/boost/vmd/detail/only_after.hpp", + "external/sources/boost/boost/vmd/detail/parens.hpp", + "external/sources/boost/boost/vmd/detail/parens_common.hpp", + "external/sources/boost/boost/vmd/detail/parens_split.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_1.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_10.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_11.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_12.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_13.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_14.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_15.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_16.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_2.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_3.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_4.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_5.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_6.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_7.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_8.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_9.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_headers.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_specific.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_1.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_10.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_11.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_12.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_13.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_14.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_15.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_16.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_2.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_3.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_4.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_5.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_6.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_7.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_8.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_9.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_headers.hpp", + "external/sources/boost/boost/vmd/detail/seq.hpp", + "external/sources/boost/boost/vmd/detail/sequence_arity.hpp", + "external/sources/boost/boost/vmd/detail/sequence_common.hpp", + "external/sources/boost/boost/vmd/detail/sequence_elem.hpp", + "external/sources/boost/boost/vmd/detail/sequence_enum.hpp", + "external/sources/boost/boost/vmd/detail/sequence_size.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_array.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_list.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_seq.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_tuple.hpp", + "external/sources/boost/boost/vmd/detail/sequence_type.hpp", + "external/sources/boost/boost/vmd/detail/setup.hpp", + "external/sources/boost/boost/vmd/detail/tuple.hpp", + "external/sources/boost/boost/vmd/detail/type_registration.hpp", + "external/sources/boost/boost/vmd/detail/variadic_pop_front.hpp", + "external/sources/boost/boost/vmd/elem.hpp", + "external/sources/boost/boost/vmd/empty.hpp", + "external/sources/boost/boost/vmd/enum.hpp", + "external/sources/boost/boost/vmd/equal.hpp", + "external/sources/boost/boost/vmd/get_type.hpp", + "external/sources/boost/boost/vmd/identity.hpp", + "external/sources/boost/boost/vmd/is_array.hpp", + "external/sources/boost/boost/vmd/is_empty.hpp", + "external/sources/boost/boost/vmd/is_empty_array.hpp", + "external/sources/boost/boost/vmd/is_empty_list.hpp", + "external/sources/boost/boost/vmd/is_identifier.hpp", + "external/sources/boost/boost/vmd/is_list.hpp", + "external/sources/boost/boost/vmd/is_multi.hpp", + "external/sources/boost/boost/vmd/is_number.hpp", + "external/sources/boost/boost/vmd/is_parens_empty.hpp", + "external/sources/boost/boost/vmd/is_seq.hpp", + "external/sources/boost/boost/vmd/is_tuple.hpp", + "external/sources/boost/boost/vmd/is_type.hpp", + "external/sources/boost/boost/vmd/is_unary.hpp", + "external/sources/boost/boost/vmd/list.hpp", + "external/sources/boost/boost/vmd/list/to_seq.hpp", + "external/sources/boost/boost/vmd/list/to_tuple.hpp", + "external/sources/boost/boost/vmd/not_equal.hpp", + "external/sources/boost/boost/vmd/seq.hpp", + "external/sources/boost/boost/vmd/seq/is_vmd_seq.hpp", + "external/sources/boost/boost/vmd/seq/pop_back.hpp", + "external/sources/boost/boost/vmd/seq/pop_front.hpp", + "external/sources/boost/boost/vmd/seq/push_back.hpp", + "external/sources/boost/boost/vmd/seq/push_front.hpp", + "external/sources/boost/boost/vmd/seq/remove.hpp", + "external/sources/boost/boost/vmd/seq/size.hpp", + "external/sources/boost/boost/vmd/seq/to_array.hpp", + "external/sources/boost/boost/vmd/seq/to_list.hpp", + "external/sources/boost/boost/vmd/seq/to_tuple.hpp", + "external/sources/boost/boost/vmd/size.hpp", + "external/sources/boost/boost/vmd/to_array.hpp", + "external/sources/boost/boost/vmd/to_list.hpp", + "external/sources/boost/boost/vmd/to_seq.hpp", + "external/sources/boost/boost/vmd/to_tuple.hpp", + "external/sources/boost/boost/vmd/tuple.hpp", + "external/sources/boost/boost/vmd/tuple/is_vmd_tuple.hpp", + "external/sources/boost/boost/vmd/tuple/pop_back.hpp", + "external/sources/boost/boost/vmd/tuple/pop_front.hpp", + "external/sources/boost/boost/vmd/tuple/push_back.hpp", + "external/sources/boost/boost/vmd/tuple/push_front.hpp", + "external/sources/boost/boost/vmd/tuple/remove.hpp", + "external/sources/boost/boost/vmd/tuple/size.hpp", + "external/sources/boost/boost/vmd/tuple/to_array.hpp", + "external/sources/boost/boost/vmd/tuple/to_list.hpp", + "external/sources/boost/boost/vmd/tuple/to_seq.hpp", + "external/sources/boost/boost/vmd/vmd.hpp", + "external/sources/boost/boost/wave.hpp", + "external/sources/boost/boost/wave/cpp_context.hpp", + "external/sources/boost/boost/wave/cpp_exceptions.hpp", + "external/sources/boost/boost/wave/cpp_iteration_context.hpp", + "external/sources/boost/boost/wave/cpp_throw.hpp", + "external/sources/boost/boost/wave/cpplexer/convert_trigraphs.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface_generator.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_iterator.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_token.hpp", + "external/sources/boost/boost/wave/cpplexer/cpplexer_exceptions.hpp", + "external/sources/boost/boost/wave/cpplexer/detect_include_guards.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/aq.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp.re", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.inc", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/scanner.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp.re", + "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp_re.inc", + "external/sources/boost/boost/wave/cpplexer/token_cache.hpp", + "external/sources/boost/boost/wave/cpplexer/validate_universal_char.hpp", + "external/sources/boost/boost/wave/grammars/cpp_chlit_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_defined_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_defined_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_value.hpp", + "external/sources/boost/boost/wave/grammars/cpp_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_intlit_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_literal_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_predef_macros_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_predef_macros_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_value_error.hpp", + "external/sources/boost/boost/wave/language_support.hpp", + "external/sources/boost/boost/wave/preprocessing_hooks.hpp", + "external/sources/boost/boost/wave/token_ids.hpp", + "external/sources/boost/boost/wave/util/cpp_ifblock.hpp", + "external/sources/boost/boost/wave/util/cpp_include_paths.hpp", + "external/sources/boost/boost/wave/util/cpp_iterator.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap_predef.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap_utils.hpp", + "external/sources/boost/boost/wave/util/file_position.hpp", + "external/sources/boost/boost/wave/util/filesystem_compatibility.hpp", + "external/sources/boost/boost/wave/util/flex_string.hpp", + "external/sources/boost/boost/wave/util/functor_input.hpp", + "external/sources/boost/boost/wave/util/insert_whitespace_detection.hpp", + "external/sources/boost/boost/wave/util/interpret_pragma.hpp", + "external/sources/boost/boost/wave/util/iteration_context.hpp", + "external/sources/boost/boost/wave/util/macro_definition.hpp", + "external/sources/boost/boost/wave/util/macro_helpers.hpp", + "external/sources/boost/boost/wave/util/pattern_parser.hpp", + "external/sources/boost/boost/wave/util/symbol_table.hpp", + "external/sources/boost/boost/wave/util/time_conversion_helper.hpp", + "external/sources/boost/boost/wave/util/transform_iterator.hpp", + "external/sources/boost/boost/wave/util/unput_queue_iterator.hpp", + "external/sources/boost/boost/wave/wave_config.hpp", + "external/sources/boost/boost/wave/wave_config_constant.hpp", + "external/sources/boost/boost/wave/wave_version.hpp", + "external/sources/boost/boost/wave/whitespace_handling.hpp", + "external/sources/boost/boost/weak_ptr.hpp", + "external/sources/boost/boost/winapi/access_rights.hpp", + "external/sources/boost/boost/winapi/apc.hpp", + "external/sources/boost/boost/winapi/basic_types.hpp", + "external/sources/boost/boost/winapi/bcrypt.hpp", + "external/sources/boost/boost/winapi/character_code_conversion.hpp", + "external/sources/boost/boost/winapi/condition_variable.hpp", + "external/sources/boost/boost/winapi/config.hpp", + "external/sources/boost/boost/winapi/critical_section.hpp", + "external/sources/boost/boost/winapi/crypt.hpp", + "external/sources/boost/boost/winapi/dbghelp.hpp", + "external/sources/boost/boost/winapi/debugapi.hpp", + "external/sources/boost/boost/winapi/detail/cast_ptr.hpp", + "external/sources/boost/boost/winapi/detail/footer.hpp", + "external/sources/boost/boost/winapi/detail/header.hpp", + "external/sources/boost/boost/winapi/directory_management.hpp", + "external/sources/boost/boost/winapi/dll.hpp", + "external/sources/boost/boost/winapi/environment.hpp", + "external/sources/boost/boost/winapi/error_codes.hpp", + "external/sources/boost/boost/winapi/error_handling.hpp", + "external/sources/boost/boost/winapi/event.hpp", + "external/sources/boost/boost/winapi/file_management.hpp", + "external/sources/boost/boost/winapi/file_mapping.hpp", + "external/sources/boost/boost/winapi/get_current_process.hpp", + "external/sources/boost/boost/winapi/get_current_process_id.hpp", + "external/sources/boost/boost/winapi/get_current_thread.hpp", + "external/sources/boost/boost/winapi/get_current_thread_id.hpp", + "external/sources/boost/boost/winapi/get_last_error.hpp", + "external/sources/boost/boost/winapi/get_proc_address.hpp", + "external/sources/boost/boost/winapi/get_process_times.hpp", + "external/sources/boost/boost/winapi/get_system_directory.hpp", + "external/sources/boost/boost/winapi/get_thread_times.hpp", + "external/sources/boost/boost/winapi/handle_info.hpp", + "external/sources/boost/boost/winapi/handles.hpp", + "external/sources/boost/boost/winapi/heap_memory.hpp", + "external/sources/boost/boost/winapi/init_once.hpp", + "external/sources/boost/boost/winapi/jobs.hpp", + "external/sources/boost/boost/winapi/limits.hpp", + "external/sources/boost/boost/winapi/local_memory.hpp", + "external/sources/boost/boost/winapi/memory.hpp", + "external/sources/boost/boost/winapi/mutex.hpp", + "external/sources/boost/boost/winapi/overlapped.hpp", + "external/sources/boost/boost/winapi/page_protection_flags.hpp", + "external/sources/boost/boost/winapi/pipes.hpp", + "external/sources/boost/boost/winapi/priority_class.hpp", + "external/sources/boost/boost/winapi/process.hpp", + "external/sources/boost/boost/winapi/security.hpp", + "external/sources/boost/boost/winapi/semaphore.hpp", + "external/sources/boost/boost/winapi/shell.hpp", + "external/sources/boost/boost/winapi/show_window.hpp", + "external/sources/boost/boost/winapi/srw_lock.hpp", + "external/sources/boost/boost/winapi/stack_backtrace.hpp", + "external/sources/boost/boost/winapi/synchronization.hpp", + "external/sources/boost/boost/winapi/system.hpp", + "external/sources/boost/boost/winapi/thread.hpp", + "external/sources/boost/boost/winapi/thread_pool.hpp", + "external/sources/boost/boost/winapi/time.hpp", + "external/sources/boost/boost/winapi/timers.hpp", + "external/sources/boost/boost/winapi/tls.hpp", + "external/sources/boost/boost/winapi/wait.hpp", + "external/sources/boost/boost/winapi/wait_constants.hpp", + "external/sources/boost/boost/winapi/wait_on_address.hpp", + "external/sources/boost/boost/winapi/waitable_timer.hpp", + "external/sources/boost/boost/xpressive/basic_regex.hpp", + "external/sources/boost/boost/xpressive/detail/core/access.hpp", + "external/sources/boost/boost/xpressive/detail/core/action.hpp", + "external/sources/boost/boost/xpressive/detail/core/adaptor.hpp", + "external/sources/boost/boost/xpressive/detail/core/finder.hpp", + "external/sources/boost/boost/xpressive/detail/core/flow_control.hpp", + "external/sources/boost/boost/xpressive/detail/core/icase.hpp", + "external/sources/boost/boost/xpressive/detail/core/linker.hpp", + "external/sources/boost/boost/xpressive/detail/core/list.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/action_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/any_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bol_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bos_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eol_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eos_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_line_base.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_word_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/charset_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/epsilon_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/keeper_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/literal_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/logical_newline_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/lookahead_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/lookbehind_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/predicate_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/range_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/regex_byref_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/regex_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/set_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/string_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/true_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matchers.hpp", + "external/sources/boost/boost/xpressive/detail/core/optimize.hpp", + "external/sources/boost/boost/xpressive/detail/core/peeker.hpp", + "external/sources/boost/boost/xpressive/detail/core/quant_style.hpp", + "external/sources/boost/boost/xpressive/detail/core/regex_domain.hpp", + "external/sources/boost/boost/xpressive/detail/core/regex_impl.hpp", + "external/sources/boost/boost/xpressive/detail/core/results_cache.hpp", + "external/sources/boost/boost/xpressive/detail/core/state.hpp", + "external/sources/boost/boost/xpressive/detail/core/sub_match_impl.hpp", + "external/sources/boost/boost/xpressive/detail/core/sub_match_vector.hpp", + "external/sources/boost/boost/xpressive/detail/detail_fwd.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/dynamic.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/matchable.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parse_charset.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser_enum.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser_traits.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/sequence.hpp", + "external/sources/boost/boost/xpressive/detail/static/compile.hpp", + "external/sources/boost/boost/xpressive/detail/static/grammar.hpp", + "external/sources/boost/boost/xpressive/detail/static/is_pure.hpp", + "external/sources/boost/boost/xpressive/detail/static/modifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/placeholders.hpp", + "external/sources/boost/boost/xpressive/detail/static/static.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_action.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_alternate.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_independent.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_inverse.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_marker.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_modifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_quantifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_sequence.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_set.hpp", + "external/sources/boost/boost/xpressive/detail/static/transmogrify.hpp", + "external/sources/boost/boost/xpressive/detail/static/type_traits.hpp", + "external/sources/boost/boost/xpressive/detail/static/visitor.hpp", + "external/sources/boost/boost/xpressive/detail/static/width_of.hpp", + "external/sources/boost/boost/xpressive/detail/utility/algorithm.hpp", + "external/sources/boost/boost/xpressive/detail/utility/any.hpp", + "external/sources/boost/boost/xpressive/detail/utility/boyer_moore.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.ipp", + "external/sources/boost/boost/xpressive/detail/utility/chset/chset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.ipp", + "external/sources/boost/boost/xpressive/detail/utility/cons.hpp", + "external/sources/boost/boost/xpressive/detail/utility/counted_base.hpp", + "external/sources/boost/boost/xpressive/detail/utility/dont_care.hpp", + "external/sources/boost/boost/xpressive/detail/utility/hash_peek_bitset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/ignore_unused.hpp", + "external/sources/boost/boost/xpressive/detail/utility/literals.hpp", + "external/sources/boost/boost/xpressive/detail/utility/never_true.hpp", + "external/sources/boost/boost/xpressive/detail/utility/save_restore.hpp", + "external/sources/boost/boost/xpressive/detail/utility/sequence_stack.hpp", + "external/sources/boost/boost/xpressive/detail/utility/symbols.hpp", + "external/sources/boost/boost/xpressive/detail/utility/tracking_ptr.hpp", + "external/sources/boost/boost/xpressive/detail/utility/traits_utils.hpp", + "external/sources/boost/boost/xpressive/detail/utility/width.hpp", + "external/sources/boost/boost/xpressive/match_results.hpp", + "external/sources/boost/boost/xpressive/regex_actions.hpp", + "external/sources/boost/boost/xpressive/regex_algorithms.hpp", + "external/sources/boost/boost/xpressive/regex_compiler.hpp", + "external/sources/boost/boost/xpressive/regex_constants.hpp", + "external/sources/boost/boost/xpressive/regex_error.hpp", + "external/sources/boost/boost/xpressive/regex_iterator.hpp", + "external/sources/boost/boost/xpressive/regex_primitives.hpp", + "external/sources/boost/boost/xpressive/regex_token_iterator.hpp", + "external/sources/boost/boost/xpressive/regex_traits.hpp", + "external/sources/boost/boost/xpressive/sub_match.hpp", + "external/sources/boost/boost/xpressive/traits/c_regex_traits.hpp", + "external/sources/boost/boost/xpressive/traits/cpp_regex_traits.hpp", + "external/sources/boost/boost/xpressive/traits/detail/c_ctype.hpp", + "external/sources/boost/boost/xpressive/traits/null_regex_traits.hpp", + "external/sources/boost/boost/xpressive/xpressive.hpp", + "external/sources/boost/boost/xpressive/xpressive_dynamic.hpp", + "external/sources/boost/boost/xpressive/xpressive_fwd.hpp", + "external/sources/boost/boost/xpressive/xpressive_static.hpp", + "external/sources/boost/boost/xpressive/xpressive_typeof.hpp", + "external/sources/boost/boost/yap/algorithm.hpp", + "external/sources/boost/boost/yap/algorithm_fwd.hpp", + "external/sources/boost/boost/yap/config.hpp", + "external/sources/boost/boost/yap/detail/algorithm.hpp", + "external/sources/boost/boost/yap/detail/transform.hpp", + "external/sources/boost/boost/yap/expression.hpp", + "external/sources/boost/boost/yap/print.hpp", + "external/sources/boost/boost/yap/user_macros.hpp", + "external/sources/boost/boost/yap/yap.hpp", + "external/sources/concurrentqueue/blockingconcurrentqueue.h", + "external/sources/concurrentqueue/concurrentqueue.h", + "external/sources/concurrentqueue/lightweightsemaphore.h", + "external/sources/edtaa3func/CMakeLists.txt", + "external/sources/edtaa3func/edtaa3func.cpp", + "external/sources/edtaa3func/edtaa3func.h", + "external/sources/jemalloc/CMakeLists.txt", + "external/sources/jemalloc/ChangeLog", + "external/sources/jemalloc/include-linux/jemalloc/internal/arena.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/assert.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/atomic.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/base.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/bitmap.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/chunk.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/chunk_dss.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/chunk_mmap.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ckh.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ctl.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/extent.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/hash.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/huge.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_decls.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_defs.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_macros.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/mb.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/mutex.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/nstime.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/pages.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ph.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/private_namespace.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/private_symbols.txt", + "external/sources/jemalloc/include-linux/jemalloc/internal/private_unnamespace.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/prng.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/prof.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/public_namespace.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/public_symbols.txt", + "external/sources/jemalloc/include-linux/jemalloc/internal/public_unnamespace.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ql.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/qr.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/quarantine.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/rb.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/rtree.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/size_classes.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/smoothstep.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/spin.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/stats.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/tcache.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ticker.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/tsd.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/util.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/valgrind.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/witness.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_defs.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_macros.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_mangle.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_mangle_jet.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_protos.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_protos_jet.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_rename.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_typedefs.h", + "external/sources/jemalloc/include-win/jemalloc/internal/arena.h", + "external/sources/jemalloc/include-win/jemalloc/internal/assert.h", + "external/sources/jemalloc/include-win/jemalloc/internal/atomic.h", + "external/sources/jemalloc/include-win/jemalloc/internal/base.h", + "external/sources/jemalloc/include-win/jemalloc/internal/bitmap.h", + "external/sources/jemalloc/include-win/jemalloc/internal/chunk.h", + "external/sources/jemalloc/include-win/jemalloc/internal/chunk_dss.h", + "external/sources/jemalloc/include-win/jemalloc/internal/chunk_mmap.h", + "external/sources/jemalloc/include-win/jemalloc/internal/ckh.h", + "external/sources/jemalloc/include-win/jemalloc/internal/ctl.h", + "external/sources/jemalloc/include-win/jemalloc/internal/extent.h", + "external/sources/jemalloc/include-win/jemalloc/internal/hash.h", + "external/sources/jemalloc/include-win/jemalloc/internal/huge.h", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal.h", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal.h.in", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_decls.h", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_defs.h", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_defs.h.in", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_macros.h", + "external/sources/jemalloc/include-win/jemalloc/internal/mb.h", + "external/sources/jemalloc/include-win/jemalloc/internal/mutex.h", + "external/sources/jemalloc/include-win/jemalloc/internal/nstime.h", + "external/sources/jemalloc/include-win/jemalloc/internal/pages.h", + "external/sources/jemalloc/include-win/jemalloc/internal/ph.h", + "external/sources/jemalloc/include-win/jemalloc/internal/private_namespace.h", + "external/sources/jemalloc/include-win/jemalloc/internal/private_namespace.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/private_symbols.txt", + "external/sources/jemalloc/include-win/jemalloc/internal/private_unnamespace.h", + "external/sources/jemalloc/include-win/jemalloc/internal/private_unnamespace.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/prng.h", + "external/sources/jemalloc/include-win/jemalloc/internal/prof.h", + "external/sources/jemalloc/include-win/jemalloc/internal/public_namespace.h", + "external/sources/jemalloc/include-win/jemalloc/internal/public_namespace.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/public_symbols.txt", + "external/sources/jemalloc/include-win/jemalloc/internal/public_unnamespace.h", + "external/sources/jemalloc/include-win/jemalloc/internal/public_unnamespace.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/ql.h", + "external/sources/jemalloc/include-win/jemalloc/internal/qr.h", + "external/sources/jemalloc/include-win/jemalloc/internal/quarantine.h", + "external/sources/jemalloc/include-win/jemalloc/internal/rb.h", + "external/sources/jemalloc/include-win/jemalloc/internal/rtree.h", + "external/sources/jemalloc/include-win/jemalloc/internal/size_classes.h", + "external/sources/jemalloc/include-win/jemalloc/internal/size_classes.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/smoothstep.h", + "external/sources/jemalloc/include-win/jemalloc/internal/smoothstep.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/spin.h", + "external/sources/jemalloc/include-win/jemalloc/internal/stats.h", + "external/sources/jemalloc/include-win/jemalloc/internal/tcache.h", + "external/sources/jemalloc/include-win/jemalloc/internal/ticker.h", + "external/sources/jemalloc/include-win/jemalloc/internal/tsd.h", + "external/sources/jemalloc/include-win/jemalloc/internal/util.h", + "external/sources/jemalloc/include-win/jemalloc/internal/valgrind.h", + "external/sources/jemalloc/include-win/jemalloc/internal/witness.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_defs.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_macros.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_mangle.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_mangle_jet.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_protos.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_protos_jet.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_rename.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_typedefs.h", + "external/sources/jemalloc/include-win/msvc_compat/C99/stdbool.h", + "external/sources/jemalloc/include-win/msvc_compat/C99/stdint.h", + "external/sources/jemalloc/include-win/msvc_compat/strings.h", + "external/sources/jemalloc/include-win/msvc_compat/windows_extra.h", + "external/sources/jemalloc/src/je_arena.c", + "external/sources/jemalloc/src/je_atomic.c", + "external/sources/jemalloc/src/je_base.c", + "external/sources/jemalloc/src/je_bitmap.c", + "external/sources/jemalloc/src/je_chunk.c", + "external/sources/jemalloc/src/je_chunk_dss.c", + "external/sources/jemalloc/src/je_chunk_mmap.c", + "external/sources/jemalloc/src/je_ckh.c", + "external/sources/jemalloc/src/je_ctl.c", + "external/sources/jemalloc/src/je_extent.c", + "external/sources/jemalloc/src/je_hash.c", + "external/sources/jemalloc/src/je_huge.c", + "external/sources/jemalloc/src/je_jemalloc.c", + "external/sources/jemalloc/src/je_mb.c", + "external/sources/jemalloc/src/je_mutex.c", + "external/sources/jemalloc/src/je_nstime.c", + "external/sources/jemalloc/src/je_pages.c", + "external/sources/jemalloc/src/je_prng.c", + "external/sources/jemalloc/src/je_prof.c", + "external/sources/jemalloc/src/je_quarantine.c", + "external/sources/jemalloc/src/je_rtree.c", + "external/sources/jemalloc/src/je_spin.c", + "external/sources/jemalloc/src/je_stats.c", + "external/sources/jemalloc/src/je_tcache.c", + "external/sources/jemalloc/src/je_ticker.c", + "external/sources/jemalloc/src/je_tsd.c", + "external/sources/jemalloc/src/je_util.c", + "external/sources/jemalloc/src/je_valgrind.c", + "external/sources/jemalloc/src/je_witness.c", + "external/sources/jemalloc/src/je_zone.c", + "external/sources/json/allocators.h", + "external/sources/json/document-wrapper.h", + "external/sources/json/document.h", + "external/sources/json/encodedstream.h", + "external/sources/json/encodings.h", + "external/sources/json/error/en.h", + "external/sources/json/error/error.h", + "external/sources/json/filereadstream.h", + "external/sources/json/filestream.h", + "external/sources/json/filewritestream.h", + "external/sources/json/fwd.h", + "external/sources/json/internal/biginteger.h", + "external/sources/json/internal/diyfp.h", + "external/sources/json/internal/dtoa.h", + "external/sources/json/internal/ieee754.h", + "external/sources/json/internal/itoa.h", + "external/sources/json/internal/meta.h", + "external/sources/json/internal/pow10.h", + "external/sources/json/internal/regex.h", + "external/sources/json/internal/stack.h", + "external/sources/json/internal/strfunc.h", + "external/sources/json/internal/strtod.h", + "external/sources/json/internal/swap.h", + "external/sources/json/istreamwrapper.h", + "external/sources/json/memorybuffer.h", + "external/sources/json/memorystream.h", + "external/sources/json/msinttypes/inttypes.h", + "external/sources/json/msinttypes/stdint.h", + "external/sources/json/ostreamwrapper.h", + "external/sources/json/pointer.h", + "external/sources/json/prettywriter.h", + "external/sources/json/rapidjson.h", + "external/sources/json/reader.h", + "external/sources/json/schema.h", + "external/sources/json/stream.h", + "external/sources/json/stringbuffer.h", + "external/sources/json/writer.h", + "external/sources/khronos/EGL/egl.h", + "external/sources/khronos/EGL/eglext.h", + "external/sources/khronos/EGL/eglplatform.h", + "external/sources/khronos/GLES/egl.h", + "external/sources/khronos/GLES/gl.h", + "external/sources/khronos/GLES/glext.h", + "external/sources/khronos/GLES/glplatform.h", + "external/sources/khronos/GLES2/gl2.h", + "external/sources/khronos/GLES2/gl2ext.h", + "external/sources/khronos/GLES2/gl2platform.h", + "external/sources/khronos/GLES3/gl3.h", + "external/sources/khronos/GLES3/gl31.h", + "external/sources/khronos/GLES3/gl32.h", + "external/sources/khronos/GLES3/gl3ext.h", + "external/sources/khronos/GLES3/gl3platform.h", + "external/sources/khronos/KHR/khrplatform.h", + "external/sources/khronos/vulkan/vk_icd.h", + "external/sources/khronos/vulkan/vk_layer.h", + "external/sources/khronos/vulkan/vk_platform.h", + "external/sources/khronos/vulkan/vk_sdk_platform.h", + "external/sources/khronos/vulkan/vulkan.h", + "external/sources/khronos/vulkan/vulkan_android.h", + "external/sources/khronos/vulkan/vulkan_beta.h", + "external/sources/khronos/vulkan/vulkan_core.h", + "external/sources/khronos/vulkan/vulkan_directfb.h", + "external/sources/khronos/vulkan/vulkan_fuchsia.h", + "external/sources/khronos/vulkan/vulkan_ggp.h", + "external/sources/khronos/vulkan/vulkan_ios.h", + "external/sources/khronos/vulkan/vulkan_macos.h", + "external/sources/khronos/vulkan/vulkan_metal.h", + "external/sources/khronos/vulkan/vulkan_vi.h", + "external/sources/khronos/vulkan/vulkan_wayland.h", + "external/sources/khronos/vulkan/vulkan_win32.h", + "external/sources/khronos/vulkan/vulkan_xcb.h", + "external/sources/khronos/vulkan/vulkan_xlib.h", + "external/sources/khronos/vulkan/vulkan_xlib_xrandr.h", + "external/sources/nedmalloc/malloc.c.h", + "external/sources/nedmalloc/nedmalloc.c", + "external/sources/nedmalloc/nedmalloc.h", + "external/sources/pvmp3dec/CMakeLists.txt", + "external/sources/pvmp3dec/include/mp3_decoder_selection.h", + "external/sources/pvmp3dec/include/pvmp3_audio_type_defs.h", + "external/sources/pvmp3dec/include/pvmp3decoder_api.h", + "external/sources/pvmp3dec/src/asm/pvmp3_dct_16_gcc.s", + "external/sources/pvmp3dec/src/asm/pvmp3_dct_9_gcc.s", + "external/sources/pvmp3dec/src/asm/pvmp3_mdct_18_gcc.s", + "external/sources/pvmp3dec/src/asm/pvmp3_polyphase_filter_window_gcc.s", + "external/sources/pvmp3dec/src/mp3_mem_funcs.h", + "external/sources/pvmp3dec/src/pv_mp3_huffman.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_arm.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_arm_gcc.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_c_equivalent.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_msc_evc.h", + "external/sources/pvmp3dec/src/pvmp3_alias_reduction.cpp", + "external/sources/pvmp3dec/src/pvmp3_alias_reduction.h", + "external/sources/pvmp3dec/src/pvmp3_crc.cpp", + "external/sources/pvmp3dec/src/pvmp3_crc.h", + "external/sources/pvmp3dec/src/pvmp3_dct_16.cpp", + "external/sources/pvmp3dec/src/pvmp3_dct_16.h", + "external/sources/pvmp3dec/src/pvmp3_dct_6.cpp", + "external/sources/pvmp3dec/src/pvmp3_dct_9.cpp", + "external/sources/pvmp3dec/src/pvmp3_dec_defs.h", + "external/sources/pvmp3dec/src/pvmp3_decode_header.cpp", + "external/sources/pvmp3dec/src/pvmp3_decode_header.h", + "external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.cpp", + "external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.h", + "external/sources/pvmp3dec/src/pvmp3_dequantize_sample.cpp", + "external/sources/pvmp3dec/src/pvmp3_dequantize_sample.h", + "external/sources/pvmp3dec/src/pvmp3_equalizer.cpp", + "external/sources/pvmp3dec/src/pvmp3_equalizer.h", + "external/sources/pvmp3dec/src/pvmp3_framedecoder.cpp", + "external/sources/pvmp3dec/src/pvmp3_framedecoder.h", + "external/sources/pvmp3dec/src/pvmp3_get_main_data_size.cpp", + "external/sources/pvmp3dec/src/pvmp3_get_main_data_size.h", + "external/sources/pvmp3dec/src/pvmp3_get_scale_factors.cpp", + "external/sources/pvmp3dec/src/pvmp3_get_scale_factors.h", + "external/sources/pvmp3dec/src/pvmp3_get_side_info.cpp", + "external/sources/pvmp3dec/src/pvmp3_get_side_info.h", + "external/sources/pvmp3dec/src/pvmp3_getbits.cpp", + "external/sources/pvmp3dec/src/pvmp3_getbits.h", + "external/sources/pvmp3dec/src/pvmp3_huffman_decoding.cpp", + "external/sources/pvmp3dec/src/pvmp3_huffman_parsing.cpp", + "external/sources/pvmp3dec/src/pvmp3_imdct_synth.cpp", + "external/sources/pvmp3dec/src/pvmp3_imdct_synth.h", + "external/sources/pvmp3dec/src/pvmp3_mdct_18.cpp", + "external/sources/pvmp3dec/src/pvmp3_mdct_18.h", + "external/sources/pvmp3dec/src/pvmp3_mdct_6.cpp", + "external/sources/pvmp3dec/src/pvmp3_mdct_6.h", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.cpp", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.h", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.cpp", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.h", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.cpp", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.h", + "external/sources/pvmp3dec/src/pvmp3_normalize.cpp", + "external/sources/pvmp3dec/src/pvmp3_normalize.h", + "external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.cpp", + "external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.h", + "external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.cpp", + "external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.h", + "external/sources/pvmp3dec/src/pvmp3_reorder.cpp", + "external/sources/pvmp3dec/src/pvmp3_reorder.h", + "external/sources/pvmp3dec/src/pvmp3_seek_synch.cpp", + "external/sources/pvmp3dec/src/pvmp3_seek_synch.h", + "external/sources/pvmp3dec/src/pvmp3_stereo_proc.cpp", + "external/sources/pvmp3dec/src/pvmp3_stereo_proc.h", + "external/sources/pvmp3dec/src/pvmp3_tables.cpp", + "external/sources/pvmp3dec/src/pvmp3_tables.h", + "external/sources/pvmp3dec/src/s_huffcodetab.h", + "external/sources/pvmp3dec/src/s_mp3bits.h", + "external/sources/pvmp3dec/src/s_tmp3dec_chan.h", + "external/sources/pvmp3dec/src/s_tmp3dec_file.h", + "external/sources/rtm/constants.h", + "external/sources/rtm/impl/compiler_utils.h", + "external/sources/rtm/impl/error.h", + "external/sources/rtm/impl/mask_common.h", + "external/sources/rtm/impl/matrix_affine_common.h", + "external/sources/rtm/impl/matrix_cast.h", + "external/sources/rtm/impl/matrix_common.h", + "external/sources/rtm/impl/memory_utils.h", + "external/sources/rtm/impl/quat_common.h", + "external/sources/rtm/impl/qvv_common.h", + "external/sources/rtm/impl/scalar_common.h", + "external/sources/rtm/impl/type_args.h", + "external/sources/rtm/impl/vector_common.h", + "external/sources/rtm/macros.h", + "external/sources/rtm/mask4d.h", + "external/sources/rtm/mask4f.h", + "external/sources/rtm/mask4i.h", + "external/sources/rtm/mask4q.h", + "external/sources/rtm/math.h", + "external/sources/rtm/matrix3x3d.h", + "external/sources/rtm/matrix3x3f.h", + "external/sources/rtm/matrix3x4d.h", + "external/sources/rtm/matrix3x4f.h", + "external/sources/rtm/matrix4x4d.h", + "external/sources/rtm/matrix4x4f.h", + "external/sources/rtm/packing/quatd.h", + "external/sources/rtm/packing/quatf.h", + "external/sources/rtm/quatd.h", + "external/sources/rtm/quatf.h", + "external/sources/rtm/qvvd.h", + "external/sources/rtm/qvvf.h", + "external/sources/rtm/scalard.h", + "external/sources/rtm/scalarf.h", + "external/sources/rtm/type_traits.h", + "external/sources/rtm/types.h", + "external/sources/rtm/vector4d.h", + "external/sources/rtm/vector4f.h", + "external/sources/taskflow/core/algorithm/critical.hpp", + "external/sources/taskflow/core/algorithm/for_each.hpp", + "external/sources/taskflow/core/algorithm/reduce.hpp", + "external/sources/taskflow/core/algorithm/sort.hpp", + "external/sources/taskflow/core/declarations.hpp", + "external/sources/taskflow/core/error.hpp", + "external/sources/taskflow/core/executor.hpp", + "external/sources/taskflow/core/flow_builder.hpp", + "external/sources/taskflow/core/graph.hpp", + "external/sources/taskflow/core/notifier.hpp", + "external/sources/taskflow/core/observer.hpp", + "external/sources/taskflow/core/semaphore.hpp", + "external/sources/taskflow/core/task.hpp", + "external/sources/taskflow/core/taskflow.hpp", + "external/sources/taskflow/core/topology.hpp", + "external/sources/taskflow/core/tsq.hpp", + "external/sources/taskflow/core/worker.hpp", + "external/sources/taskflow/cublasflow.hpp", + "external/sources/taskflow/cuda/cublas/cublas_error.hpp", + "external/sources/taskflow/cuda/cublas/cublas_flow.hpp", + "external/sources/taskflow/cuda/cublas/cublas_handle.hpp", + "external/sources/taskflow/cuda/cublas/cublas_helper.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level1.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level2.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level3.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_blaf.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_for_each.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_matmul.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_reduce.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_transform.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_transpose.hpp", + "external/sources/taskflow/cuda/cuda_capturer.hpp", + "external/sources/taskflow/cuda/cuda_device.hpp", + "external/sources/taskflow/cuda/cuda_error.hpp", + "external/sources/taskflow/cuda/cuda_flow.hpp", + "external/sources/taskflow/cuda/cuda_graph.hpp", + "external/sources/taskflow/cuda/cuda_memory.hpp", + "external/sources/taskflow/cuda/cuda_pool.hpp", + "external/sources/taskflow/cuda/cuda_stream.hpp", + "external/sources/taskflow/cuda/cuda_task.hpp", + "external/sources/taskflow/cudaflow.hpp", + "external/sources/taskflow/dsl/connection.hpp", + "external/sources/taskflow/dsl/dsl.hpp", + "external/sources/taskflow/dsl/meta_macro.hpp", + "external/sources/taskflow/dsl/task_analyzer.hpp", + "external/sources/taskflow/dsl/task_dsl.hpp", + "external/sources/taskflow/dsl/task_trait.hpp", + "external/sources/taskflow/dsl/tuple_utils.hpp", + "external/sources/taskflow/dsl/type_list.hpp", + "external/sources/taskflow/taskflow.hpp", + "external/sources/taskflow/tensorframe/tensor.hpp", + "external/sources/taskflow/tensorframe/tensor_expr.hpp", + "external/sources/taskflow/tensorframe/tensor_graph.hpp", + "external/sources/taskflow/tensorframe/tensor_ops.hpp", + "external/sources/taskflow/tensorframe/tensorframe.hpp", + "external/sources/taskflow/utility/iterator.hpp", + "external/sources/taskflow/utility/math.hpp", + "external/sources/taskflow/utility/object_pool.hpp", + "external/sources/taskflow/utility/os.hpp", + "external/sources/taskflow/utility/passive_vector.hpp", + "external/sources/taskflow/utility/singleton.hpp", + "external/sources/taskflow/utility/stream.hpp", + "external/sources/taskflow/utility/traits.hpp", + "external/sources/taskflow/utility/uuid.hpp", + "external/sources/tbb/aggregator.h", + "external/sources/tbb/aligned_space.h", + "external/sources/tbb/atomic.h", + "external/sources/tbb/blocked_range.h", + "external/sources/tbb/blocked_range2d.h", + "external/sources/tbb/blocked_range3d.h", + "external/sources/tbb/blocked_rangeNd.h", + "external/sources/tbb/cache_aligned_allocator.h", + "external/sources/tbb/combinable.h", + "external/sources/tbb/compat/condition_variable", + "external/sources/tbb/compat/ppl.h", + "external/sources/tbb/compat/thread", + "external/sources/tbb/compat/tuple", + "external/sources/tbb/concurrent_hash_map.h", + "external/sources/tbb/concurrent_lru_cache.h", + "external/sources/tbb/concurrent_map.h", + "external/sources/tbb/concurrent_priority_queue.h", + "external/sources/tbb/concurrent_queue.h", + "external/sources/tbb/concurrent_set.h", + "external/sources/tbb/concurrent_unordered_map.h", + "external/sources/tbb/concurrent_unordered_set.h", + "external/sources/tbb/concurrent_vector.h", + "external/sources/tbb/critical_section.h", + "external/sources/tbb/enumerable_thread_specific.h", + "external/sources/tbb/flow_graph.h", + "external/sources/tbb/flow_graph_abstractions.h", + "external/sources/tbb/flow_graph_opencl_node.h", + "external/sources/tbb/global_control.h", + "external/sources/tbb/index.html", + "external/sources/tbb/info.h", + "external/sources/tbb/internal/_aggregator_impl.h", + "external/sources/tbb/internal/_allocator_traits.h", + "external/sources/tbb/internal/_concurrent_queue_impl.h", + "external/sources/tbb/internal/_concurrent_skip_list_impl.h", + "external/sources/tbb/internal/_concurrent_unordered_impl.h", + "external/sources/tbb/internal/_deprecated_header_message_guard.h", + "external/sources/tbb/internal/_flow_graph_async_msg_impl.h", + "external/sources/tbb/internal/_flow_graph_body_impl.h", + "external/sources/tbb/internal/_flow_graph_cache_impl.h", + "external/sources/tbb/internal/_flow_graph_impl.h", + "external/sources/tbb/internal/_flow_graph_indexer_impl.h", + "external/sources/tbb/internal/_flow_graph_item_buffer_impl.h", + "external/sources/tbb/internal/_flow_graph_join_impl.h", + "external/sources/tbb/internal/_flow_graph_node_impl.h", + "external/sources/tbb/internal/_flow_graph_node_set_impl.h", + "external/sources/tbb/internal/_flow_graph_nodes_deduction.h", + "external/sources/tbb/internal/_flow_graph_streaming_node.h", + "external/sources/tbb/internal/_flow_graph_tagged_buffer_impl.h", + "external/sources/tbb/internal/_flow_graph_trace_impl.h", + "external/sources/tbb/internal/_flow_graph_types_impl.h", + "external/sources/tbb/internal/_mutex_padding.h", + "external/sources/tbb/internal/_node_handle_impl.h", + "external/sources/tbb/internal/_range_iterator.h", + "external/sources/tbb/internal/_tbb_hash_compare_impl.h", + "external/sources/tbb/internal/_tbb_strings.h", + "external/sources/tbb/internal/_tbb_trace_impl.h", + "external/sources/tbb/internal/_tbb_windef.h", + "external/sources/tbb/internal/_template_helpers.h", + "external/sources/tbb/internal/_warning_suppress_disable_notice.h", + "external/sources/tbb/internal/_warning_suppress_enable_notice.h", + "external/sources/tbb/internal/_x86_eliding_mutex_impl.h", + "external/sources/tbb/internal/_x86_rtm_rw_mutex_impl.h", + "external/sources/tbb/iterators.h", + "external/sources/tbb/machine/gcc_arm.h", + "external/sources/tbb/machine/gcc_generic.h", + "external/sources/tbb/machine/gcc_ia32_common.h", + "external/sources/tbb/machine/gcc_itsx.h", + "external/sources/tbb/machine/ibm_aix51.h", + "external/sources/tbb/machine/icc_generic.h", + "external/sources/tbb/machine/linux_common.h", + "external/sources/tbb/machine/linux_ia32.h", + "external/sources/tbb/machine/linux_ia64.h", + "external/sources/tbb/machine/linux_intel64.h", + "external/sources/tbb/machine/mac_ppc.h", + "external/sources/tbb/machine/macos_common.h", + "external/sources/tbb/machine/mic_common.h", + "external/sources/tbb/machine/msvc_armv7.h", + "external/sources/tbb/machine/msvc_ia32_common.h", + "external/sources/tbb/machine/sunos_sparc.h", + "external/sources/tbb/machine/windows_api.h", + "external/sources/tbb/machine/windows_ia32.h", + "external/sources/tbb/machine/windows_intel64.h", + "external/sources/tbb/memory_pool.h", + "external/sources/tbb/mutex.h", + "external/sources/tbb/null_mutex.h", + "external/sources/tbb/null_rw_mutex.h", + "external/sources/tbb/parallel_do.h", + "external/sources/tbb/parallel_for.h", + "external/sources/tbb/parallel_for_each.h", + "external/sources/tbb/parallel_invoke.h", + "external/sources/tbb/parallel_reduce.h", + "external/sources/tbb/parallel_scan.h", + "external/sources/tbb/parallel_sort.h", + "external/sources/tbb/parallel_while.h", + "external/sources/tbb/partitioner.h", + "external/sources/tbb/pipeline.h", + "external/sources/tbb/queuing_mutex.h", + "external/sources/tbb/queuing_rw_mutex.h", + "external/sources/tbb/reader_writer_lock.h", + "external/sources/tbb/recursive_mutex.h", + "external/sources/tbb/runtime_loader.h", + "external/sources/tbb/scalable_allocator.h", + "external/sources/tbb/spin_mutex.h", + "external/sources/tbb/spin_rw_mutex.h", + "external/sources/tbb/task.h", + "external/sources/tbb/task_arena.h", + "external/sources/tbb/task_group.h", + "external/sources/tbb/task_scheduler_init.h", + "external/sources/tbb/task_scheduler_observer.h", + "external/sources/tbb/tbb.h", + "external/sources/tbb/tbb_allocator.h", + "external/sources/tbb/tbb_config.h", + "external/sources/tbb/tbb_disable_exceptions.h", + "external/sources/tbb/tbb_exception.h", + "external/sources/tbb/tbb_machine.h", + "external/sources/tbb/tbb_profiling.h", + "external/sources/tbb/tbb_stddef.h", + "external/sources/tbb/tbb_thread.h", + "external/sources/tbb/tbbmalloc_proxy.h", + "external/sources/tbb/tick_count.h", + "external/sources/tinydir/COPYING", + "external/sources/tinydir/package.json", + "external/sources/tinydir/tinydir.h", + "external/sources/tinyxml2/tinyxml2.cpp", + "external/sources/tinyxml2/tinyxml2.h", + "external/sources/tommyds/CMakeLists.txt", + "external/sources/tommyds/tommy.c", + "external/sources/tommyds/tommy.h", + "external/sources/tommyds/tommyalloc.c", + "external/sources/tommyds/tommyalloc.h", + "external/sources/tommyds/tommyarray.c", + "external/sources/tommyds/tommyarray.h", + "external/sources/tommyds/tommyarrayblk.c", + "external/sources/tommyds/tommyarrayblk.h", + "external/sources/tommyds/tommyarrayblkof.c", + "external/sources/tommyds/tommyarrayblkof.h", + "external/sources/tommyds/tommyarrayof.c", + "external/sources/tommyds/tommyarrayof.h", + "external/sources/tommyds/tommychain.h", + "external/sources/tommyds/tommyhash.c", + "external/sources/tommyds/tommyhash.h", + "external/sources/tommyds/tommyhashdyn.c", + "external/sources/tommyds/tommyhashdyn.h", + "external/sources/tommyds/tommyhashlin.c", + "external/sources/tommyds/tommyhashlin.h", + "external/sources/tommyds/tommyhashtbl.c", + "external/sources/tommyds/tommyhashtbl.h", + "external/sources/tommyds/tommylist.c", + "external/sources/tommyds/tommylist.h", + "external/sources/tommyds/tommytree.c", + "external/sources/tommyds/tommytree.h", + "external/sources/tommyds/tommytrie.c", + "external/sources/tommyds/tommytrie.h", + "external/sources/tommyds/tommytrieinp.c", + "external/sources/tommyds/tommytrieinp.h", + "external/sources/tommyds/tommytypes.h", + "external/sources/tremolo/CMakeLists.txt", + "external/sources/tremolo/MODULE_LICENSE_BSD_LIKE", + "external/sources/tremolo/NOTICE", + "external/sources/tremolo/README.version", + "external/sources/tremolo/Tremolo/CHANGELOG", + "external/sources/tremolo/Tremolo/COPYING", + "external/sources/tremolo/Tremolo/Makefile", + "external/sources/tremolo/Tremolo/Profile.txt", + "external/sources/tremolo/Tremolo/README", + "external/sources/tremolo/Tremolo/TODO", + "external/sources/tremolo/Tremolo/annotate.c", + "external/sources/tremolo/Tremolo/asm_arm.h", + "external/sources/tremolo/Tremolo/bibble.txt", + "external/sources/tremolo/Tremolo/bitwise.c", + "external/sources/tremolo/Tremolo/bitwiseARM.s", + "external/sources/tremolo/Tremolo/codebook.c", + "external/sources/tremolo/Tremolo/codebook.h", + "external/sources/tremolo/Tremolo/codec_internal.h", + "external/sources/tremolo/Tremolo/config_types.h", + "external/sources/tremolo/Tremolo/dpen.s", + "external/sources/tremolo/Tremolo/dsp.c", + "external/sources/tremolo/Tremolo/floor0.c", + "external/sources/tremolo/Tremolo/floor1.c", + "external/sources/tremolo/Tremolo/floor1ARM.s", + "external/sources/tremolo/Tremolo/floor1LARM.s", + "external/sources/tremolo/Tremolo/floor_lookup.c", + "external/sources/tremolo/Tremolo/framing.c", + "external/sources/tremolo/Tremolo/info.c", + "external/sources/tremolo/Tremolo/ivorbiscodec.h", + "external/sources/tremolo/Tremolo/ivorbisfile.h", + "external/sources/tremolo/Tremolo/ivorbisfile_example.c", + "external/sources/tremolo/Tremolo/lsp_lookup.h", + "external/sources/tremolo/Tremolo/mapping0.c", + "external/sources/tremolo/Tremolo/mdct.c", + "external/sources/tremolo/Tremolo/mdct.h", + "external/sources/tremolo/Tremolo/mdctARM.s", + "external/sources/tremolo/Tremolo/mdctLARM.s", + "external/sources/tremolo/Tremolo/mdct_lookup.h", + "external/sources/tremolo/Tremolo/misc.c", + "external/sources/tremolo/Tremolo/misc.h", + "external/sources/tremolo/Tremolo/ogg.h", + "external/sources/tremolo/Tremolo/os.h", + "external/sources/tremolo/Tremolo/os_types.h", + "external/sources/tremolo/Tremolo/profile.c", + "external/sources/tremolo/Tremolo/res012.c", + "external/sources/tremolo/Tremolo/speed.s", + "external/sources/tremolo/Tremolo/testtremor.c", + "external/sources/tremolo/Tremolo/vorbisfile.c", + "external/sources/tremolo/Tremolo/window_lookup.h", + "external/sources/tremolo/local_modification.diff", + "external/sources/unzip/crypt.h", + "external/sources/unzip/ioapi.cpp", + "external/sources/unzip/ioapi.h", + "external/sources/unzip/ioapi_mem.cpp", + "external/sources/unzip/ioapi_mem.h", + "external/sources/unzip/unzip.cpp", + "external/sources/unzip/unzip.h", + "external/sources/xxhash/CMakeLists.txt", + "external/sources/xxhash/xxhash.c", + "external/sources/xxhash/xxhash.h", + "external/sources/xxtea/xxtea.cpp", + "external/sources/xxtea/xxtea.h", + "external/versions.txt", + "external/win32/CMakeLists.txt", + "external/win32/include/OpenalSoft/al.h", + "external/win32/include/OpenalSoft/alc.h", + "external/win32/include/OpenalSoft/alext.h", + "external/win32/include/OpenalSoft/efx-creative.h", + "external/win32/include/OpenalSoft/efx-presets.h", + "external/win32/include/OpenalSoft/efx.h", + "external/win32/include/curl/curl.h", + "external/win32/include/curl/curlbuild.h", + "external/win32/include/curl/curlrules.h", + "external/win32/include/curl/curlver.h", + "external/win32/include/curl/easy.h", + "external/win32/include/curl/mprintf.h", + "external/win32/include/curl/multi.h", + "external/win32/include/curl/stdcheaders.h", + "external/win32/include/curl/typecheck-gcc.h", + "external/win32/include/freetype/config/ftconfig.h", + "external/win32/include/freetype/config/ftheader.h", + "external/win32/include/freetype/config/ftmodule.h", + "external/win32/include/freetype/config/ftoption.h", + "external/win32/include/freetype/config/ftstdlib.h", + "external/win32/include/freetype/freetype.h", + "external/win32/include/freetype/ft2build.h", + "external/win32/include/freetype/ftadvanc.h", + "external/win32/include/freetype/ftautoh.h", + "external/win32/include/freetype/ftbbox.h", + "external/win32/include/freetype/ftbdf.h", + "external/win32/include/freetype/ftbitmap.h", + "external/win32/include/freetype/ftbzip2.h", + "external/win32/include/freetype/ftcache.h", + "external/win32/include/freetype/ftcffdrv.h", + "external/win32/include/freetype/ftchapters.h", + "external/win32/include/freetype/ftcid.h", + "external/win32/include/freetype/fterrdef.h", + "external/win32/include/freetype/fterrors.h", + "external/win32/include/freetype/ftfntfmt.h", + "external/win32/include/freetype/ftgasp.h", + "external/win32/include/freetype/ftglyph.h", + "external/win32/include/freetype/ftgxval.h", + "external/win32/include/freetype/ftgzip.h", + "external/win32/include/freetype/ftimage.h", + "external/win32/include/freetype/ftincrem.h", + "external/win32/include/freetype/ftlcdfil.h", + "external/win32/include/freetype/ftlist.h", + "external/win32/include/freetype/ftlzw.h", + "external/win32/include/freetype/ftmac.h", + "external/win32/include/freetype/ftmm.h", + "external/win32/include/freetype/ftmodapi.h", + "external/win32/include/freetype/ftmoderr.h", + "external/win32/include/freetype/ftotval.h", + "external/win32/include/freetype/ftoutln.h", + "external/win32/include/freetype/ftpfr.h", + "external/win32/include/freetype/ftrender.h", + "external/win32/include/freetype/ftsizes.h", + "external/win32/include/freetype/ftsnames.h", + "external/win32/include/freetype/ftstroke.h", + "external/win32/include/freetype/ftsynth.h", + "external/win32/include/freetype/ftsystem.h", + "external/win32/include/freetype/fttrigon.h", + "external/win32/include/freetype/ftttdrv.h", + "external/win32/include/freetype/fttypes.h", + "external/win32/include/freetype/ftwinfnt.h", + "external/win32/include/freetype/t1tables.h", + "external/win32/include/freetype/ttnameid.h", + "external/win32/include/freetype/tttables.h", + "external/win32/include/freetype/tttags.h", + "external/win32/include/freetype/ttunpat.h", + "external/win32/include/gles/glew.h", + "external/win32/include/gles/glxew.h", + "external/win32/include/gles/wglew.h", + "external/win32/include/glslang/SPIRV/CMakeLists.txt", + "external/win32/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/win32/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/win32/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/win32/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/win32/include/glslang/SPIRV/GLSL.std.450.h", + "external/win32/include/glslang/SPIRV/GlslangToSpv.cpp", + "external/win32/include/glslang/SPIRV/GlslangToSpv.h", + "external/win32/include/glslang/SPIRV/InReadableOrder.cpp", + "external/win32/include/glslang/SPIRV/Logger.cpp", + "external/win32/include/glslang/SPIRV/Logger.h", + "external/win32/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/win32/include/glslang/SPIRV/SPVRemapper.cpp", + "external/win32/include/glslang/SPIRV/SPVRemapper.h", + "external/win32/include/glslang/SPIRV/SpvBuilder.cpp", + "external/win32/include/glslang/SPIRV/SpvBuilder.h", + "external/win32/include/glslang/SPIRV/SpvPostProcess.cpp", + "external/win32/include/glslang/SPIRV/SpvTools.cpp", + "external/win32/include/glslang/SPIRV/SpvTools.h", + "external/win32/include/glslang/SPIRV/bitutils.h", + "external/win32/include/glslang/SPIRV/disassemble.cpp", + "external/win32/include/glslang/SPIRV/disassemble.h", + "external/win32/include/glslang/SPIRV/doc.cpp", + "external/win32/include/glslang/SPIRV/doc.h", + "external/win32/include/glslang/SPIRV/hex_float.h", + "external/win32/include/glslang/SPIRV/spirv.hpp", + "external/win32/include/glslang/SPIRV/spvIR.h", + "external/win32/include/glslang/StandAlone/CMakeLists.txt", + "external/win32/include/glslang/StandAlone/DirStackFileIncluder.h", + "external/win32/include/glslang/StandAlone/ResourceLimits.cpp", + "external/win32/include/glslang/StandAlone/ResourceLimits.h", + "external/win32/include/glslang/StandAlone/StandAlone.cpp", + "external/win32/include/glslang/StandAlone/Worklist.h", + "external/win32/include/glslang/StandAlone/resource_limits_c.cpp", + "external/win32/include/glslang/StandAlone/resource_limits_c.h", + "external/win32/include/glslang/StandAlone/spirv-remap.cpp", + "external/win32/include/glslang/glslang/CInterface/glslang_c_interface.cpp", + "external/win32/include/glslang/glslang/CMakeLists.txt", + "external/win32/include/glslang/glslang/GenericCodeGen/CodeGen.cpp", + "external/win32/include/glslang/glslang/GenericCodeGen/Link.cpp", + "external/win32/include/glslang/glslang/Include/BaseTypes.h", + "external/win32/include/glslang/glslang/Include/Common.h", + "external/win32/include/glslang/glslang/Include/ConstantUnion.h", + "external/win32/include/glslang/glslang/Include/InfoSink.h", + "external/win32/include/glslang/glslang/Include/InitializeGlobals.h", + "external/win32/include/glslang/glslang/Include/PoolAlloc.h", + "external/win32/include/glslang/glslang/Include/ResourceLimits.h", + "external/win32/include/glslang/glslang/Include/ShHandle.h", + "external/win32/include/glslang/glslang/Include/Types.h", + "external/win32/include/glslang/glslang/Include/arrays.h", + "external/win32/include/glslang/glslang/Include/glslang_c_interface.h", + "external/win32/include/glslang/glslang/Include/glslang_c_shader_types.h", + "external/win32/include/glslang/glslang/Include/intermediate.h", + "external/win32/include/glslang/glslang/Include/revision.h", + "external/win32/include/glslang/glslang/Include/revision.template", + "external/win32/include/glslang/glslang/MachineIndependent/Constant.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/InfoSink.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Initialize.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Initialize.h", + "external/win32/include/glslang/glslang/MachineIndependent/IntermTraverse.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Intermediate.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/LiveTraverser.h", + "external/win32/include/glslang/glslang/MachineIndependent/ParseContextBase.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/ParseHelper.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/ParseHelper.h", + "external/win32/include/glslang/glslang/MachineIndependent/PoolAlloc.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/RemoveTree.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/RemoveTree.h", + "external/win32/include/glslang/glslang/MachineIndependent/Scan.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Scan.h", + "external/win32/include/glslang/glslang/MachineIndependent/ScanContext.h", + "external/win32/include/glslang/glslang/MachineIndependent/ShaderLang.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/SymbolTable.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/SymbolTable.h", + "external/win32/include/glslang/glslang/MachineIndependent/Versions.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Versions.h", + "external/win32/include/glslang/glslang/MachineIndependent/attribute.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/attribute.h", + "external/win32/include/glslang/glslang/MachineIndependent/gl_types.h", + "external/win32/include/glslang/glslang/MachineIndependent/glslang.m4", + "external/win32/include/glslang/glslang/MachineIndependent/glslang.y", + "external/win32/include/glslang/glslang/MachineIndependent/glslang_tab.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/win32/include/glslang/glslang/MachineIndependent/intermOut.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/iomapper.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/iomapper.h", + "external/win32/include/glslang/glslang/MachineIndependent/limits.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/linkValidate.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/localintermediate.h", + "external/win32/include/glslang/glslang/MachineIndependent/parseConst.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/parseVersions.h", + "external/win32/include/glslang/glslang/MachineIndependent/pch.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/pch.h", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/win32/include/glslang/glslang/MachineIndependent/propagateNoContraction.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/propagateNoContraction.h", + "external/win32/include/glslang/glslang/MachineIndependent/reflection.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/reflection.h", + "external/win32/include/glslang/glslang/OSDependent/Unix/CMakeLists.txt", + "external/win32/include/glslang/glslang/OSDependent/Unix/ossource.cpp", + "external/win32/include/glslang/glslang/OSDependent/Web/CMakeLists.txt", + "external/win32/include/glslang/glslang/OSDependent/Web/glslang.after.js", + "external/win32/include/glslang/glslang/OSDependent/Web/glslang.js.cpp", + "external/win32/include/glslang/glslang/OSDependent/Web/glslang.pre.js", + "external/win32/include/glslang/glslang/OSDependent/Windows/CMakeLists.txt", + "external/win32/include/glslang/glslang/OSDependent/Windows/main.cpp", + "external/win32/include/glslang/glslang/OSDependent/Windows/ossource.cpp", + "external/win32/include/glslang/glslang/OSDependent/osinclude.h", + "external/win32/include/glslang/glslang/Public/ShaderLang.h", + "external/win32/include/glslang/glslang/updateGrammar", + "external/win32/include/glslang/spirv-tools/instrument.hpp", + "external/win32/include/glslang/spirv-tools/libspirv.h", + "external/win32/include/glslang/spirv-tools/libspirv.hpp", + "external/win32/include/glslang/spirv-tools/linker.hpp", + "external/win32/include/glslang/spirv-tools/optimizer.hpp", + "external/win32/include/icon/iconv.h", + "external/win32/include/jpeg/jconfig.h", + "external/win32/include/jpeg/jmorecfg.h", + "external/win32/include/jpeg/jpeglib.h", + "external/win32/include/mpg123/mpg123.h", + "external/win32/include/ogg/ogg.h", + "external/win32/include/ogg/os_types.h", + "external/win32/include/openssl/__DECC_INCLUDE_EPILOGUE.H", + "external/win32/include/openssl/__DECC_INCLUDE_PROLOGUE.H", + "external/win32/include/openssl/aes.h", + "external/win32/include/openssl/applink.c", + "external/win32/include/openssl/asn1.h", + "external/win32/include/openssl/asn1_mac.h", + "external/win32/include/openssl/asn1t.h", + "external/win32/include/openssl/async.h", + "external/win32/include/openssl/bio.h", + "external/win32/include/openssl/blowfish.h", + "external/win32/include/openssl/bn.h", + "external/win32/include/openssl/buffer.h", + "external/win32/include/openssl/camellia.h", + "external/win32/include/openssl/cast.h", + "external/win32/include/openssl/cmac.h", + "external/win32/include/openssl/cms.h", + "external/win32/include/openssl/comp.h", + "external/win32/include/openssl/conf.h", + "external/win32/include/openssl/conf_api.h", + "external/win32/include/openssl/crypto.h", + "external/win32/include/openssl/ct.h", + "external/win32/include/openssl/des.h", + "external/win32/include/openssl/dh.h", + "external/win32/include/openssl/dsa.h", + "external/win32/include/openssl/dtls1.h", + "external/win32/include/openssl/e_os2.h", + "external/win32/include/openssl/ebcdic.h", + "external/win32/include/openssl/ec.h", + "external/win32/include/openssl/ecdh.h", + "external/win32/include/openssl/ecdsa.h", + "external/win32/include/openssl/engine.h", + "external/win32/include/openssl/err.h", + "external/win32/include/openssl/evp.h", + "external/win32/include/openssl/hmac.h", + "external/win32/include/openssl/idea.h", + "external/win32/include/openssl/kdf.h", + "external/win32/include/openssl/lhash.h", + "external/win32/include/openssl/md2.h", + "external/win32/include/openssl/md4.h", + "external/win32/include/openssl/md5.h", + "external/win32/include/openssl/mdc2.h", + "external/win32/include/openssl/modes.h", + "external/win32/include/openssl/obj_mac.h", + "external/win32/include/openssl/objects.h", + "external/win32/include/openssl/ocsp.h", + "external/win32/include/openssl/opensslconf.h", + "external/win32/include/openssl/opensslv.h", + "external/win32/include/openssl/ossl_typ.h", + "external/win32/include/openssl/pem.h", + "external/win32/include/openssl/pem2.h", + "external/win32/include/openssl/pkcs12.h", + "external/win32/include/openssl/pkcs7.h", + "external/win32/include/openssl/rand.h", + "external/win32/include/openssl/rc2.h", + "external/win32/include/openssl/rc4.h", + "external/win32/include/openssl/rc5.h", + "external/win32/include/openssl/ripemd.h", + "external/win32/include/openssl/rsa.h", + "external/win32/include/openssl/safestack.h", + "external/win32/include/openssl/seed.h", + "external/win32/include/openssl/sha.h", + "external/win32/include/openssl/srp.h", + "external/win32/include/openssl/srtp.h", + "external/win32/include/openssl/ssl.h", + "external/win32/include/openssl/ssl2.h", + "external/win32/include/openssl/ssl3.h", + "external/win32/include/openssl/stack.h", + "external/win32/include/openssl/symhacks.h", + "external/win32/include/openssl/tls1.h", + "external/win32/include/openssl/ts.h", + "external/win32/include/openssl/txt_db.h", + "external/win32/include/openssl/ui.h", + "external/win32/include/openssl/whrlpool.h", + "external/win32/include/openssl/x509.h", + "external/win32/include/openssl/x509_vfy.h", + "external/win32/include/openssl/x509v3.h", + "external/win32/include/png/png.h", + "external/win32/include/png/pngconf.h", + "external/win32/include/png/pnglibconf.h", + "external/win32/include/pvrsdk/CL/cl.h", + "external/win32/include/pvrsdk/CL/cl2.hpp", + "external/win32/include/pvrsdk/CL/cl_d3d10.h", + "external/win32/include/pvrsdk/CL/cl_d3d11.h", + "external/win32/include/pvrsdk/CL/cl_dx9_media_sharing.h", + "external/win32/include/pvrsdk/CL/cl_egl.h", + "external/win32/include/pvrsdk/CL/cl_ext.h", + "external/win32/include/pvrsdk/CL/cl_gl.h", + "external/win32/include/pvrsdk/CL/cl_gl_ext.h", + "external/win32/include/pvrsdk/CL/cl_platform.h", + "external/win32/include/pvrsdk/CL/opencl.h", + "external/win32/include/pvrsdk/DynamicEgl.h", + "external/win32/include/pvrsdk/DynamicGles.h", + "external/win32/include/pvrsdk/DynamicOCL.h", + "external/win32/include/pvrsdk/EGL/egl.h", + "external/win32/include/pvrsdk/EGL/eglext.h", + "external/win32/include/pvrsdk/EGL/eglplatform.h", + "external/win32/include/pvrsdk/GLES/egl.h", + "external/win32/include/pvrsdk/GLES/gl.h", + "external/win32/include/pvrsdk/GLES/glext.h", + "external/win32/include/pvrsdk/GLES/glplatform.h", + "external/win32/include/pvrsdk/GLES2/gl2.h", + "external/win32/include/pvrsdk/GLES2/gl2ext.h", + "external/win32/include/pvrsdk/GLES2/gl2platform.h", + "external/win32/include/pvrsdk/GLES3/gl3.h", + "external/win32/include/pvrsdk/GLES3/gl31.h", + "external/win32/include/pvrsdk/GLES3/gl32.h", + "external/win32/include/pvrsdk/GLES3/gl3platform.h", + "external/win32/include/pvrsdk/KHR/khrplatform.h", + "external/win32/include/pvrsdk/PVRScopeComms.h", + "external/win32/include/pvrsdk/PVRScopeStats.h", + "external/win32/include/pvrsdk/pvr_openlib.h", + "external/win32/include/pvrsdk/sdkver.h", + "external/win32/include/pvrsdk/vk_bindings.h", + "external/win32/include/pvrsdk/vk_bindings_helper.h", + "external/win32/include/pvrsdk/vulkan/vk_icd.h", + "external/win32/include/pvrsdk/vulkan/vk_layer.h", + "external/win32/include/pvrsdk/vulkan/vk_platform.h", + "external/win32/include/pvrsdk/vulkan/vulkan.h", + "external/win32/include/pvrsdk/vulkan/vulkan_android.h", + "external/win32/include/pvrsdk/vulkan/vulkan_core.h", + "external/win32/include/pvrsdk/vulkan/vulkan_ios.h", + "external/win32/include/pvrsdk/vulkan/vulkan_macos.h", + "external/win32/include/pvrsdk/vulkan/vulkan_mir.h", + "external/win32/include/pvrsdk/vulkan/vulkan_vi.h", + "external/win32/include/pvrsdk/vulkan/vulkan_wayland.h", + "external/win32/include/pvrsdk/vulkan/vulkan_win32.h", + "external/win32/include/pvrsdk/vulkan/vulkan_xcb.h", + "external/win32/include/pvrsdk/vulkan/vulkan_xlib.h", + "external/win32/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", + "external/win32/include/sdl2/SDL.h", + "external/win32/include/sdl2/SDL_assert.h", + "external/win32/include/sdl2/SDL_atomic.h", + "external/win32/include/sdl2/SDL_audio.h", + "external/win32/include/sdl2/SDL_bits.h", + "external/win32/include/sdl2/SDL_blendmode.h", + "external/win32/include/sdl2/SDL_clipboard.h", + "external/win32/include/sdl2/SDL_config.h", + "external/win32/include/sdl2/SDL_config.h.cmake", + "external/win32/include/sdl2/SDL_config.h.in", + "external/win32/include/sdl2/SDL_config_android.h", + "external/win32/include/sdl2/SDL_config_iphoneos.h", + "external/win32/include/sdl2/SDL_config_macosx.h", + "external/win32/include/sdl2/SDL_config_macosx.h.orig", + "external/win32/include/sdl2/SDL_config_minimal.h", + "external/win32/include/sdl2/SDL_config_pandora.h", + "external/win32/include/sdl2/SDL_config_psp.h", + "external/win32/include/sdl2/SDL_config_windows.h", + "external/win32/include/sdl2/SDL_config_winrt.h", + "external/win32/include/sdl2/SDL_config_wiz.h", + "external/win32/include/sdl2/SDL_copying.h", + "external/win32/include/sdl2/SDL_cpuinfo.h", + "external/win32/include/sdl2/SDL_egl.h", + "external/win32/include/sdl2/SDL_endian.h", + "external/win32/include/sdl2/SDL_error.h", + "external/win32/include/sdl2/SDL_events.h", + "external/win32/include/sdl2/SDL_filesystem.h", + "external/win32/include/sdl2/SDL_gamecontroller.h", + "external/win32/include/sdl2/SDL_gesture.h", + "external/win32/include/sdl2/SDL_haptic.h", + "external/win32/include/sdl2/SDL_hints.h", + "external/win32/include/sdl2/SDL_joystick.h", + "external/win32/include/sdl2/SDL_keyboard.h", + "external/win32/include/sdl2/SDL_keycode.h", + "external/win32/include/sdl2/SDL_loadso.h", + "external/win32/include/sdl2/SDL_log.h", + "external/win32/include/sdl2/SDL_main.h", + "external/win32/include/sdl2/SDL_messagebox.h", + "external/win32/include/sdl2/SDL_mouse.h", + "external/win32/include/sdl2/SDL_mutex.h", + "external/win32/include/sdl2/SDL_name.h", + "external/win32/include/sdl2/SDL_opengl.h", + "external/win32/include/sdl2/SDL_opengl_glext.h", + "external/win32/include/sdl2/SDL_opengles.h", + "external/win32/include/sdl2/SDL_opengles2.h", + "external/win32/include/sdl2/SDL_opengles2_gl2.h", + "external/win32/include/sdl2/SDL_opengles2_gl2ext.h", + "external/win32/include/sdl2/SDL_opengles2_gl2platform.h", + "external/win32/include/sdl2/SDL_opengles2_khrplatform.h", + "external/win32/include/sdl2/SDL_pixels.h", + "external/win32/include/sdl2/SDL_platform.h", + "external/win32/include/sdl2/SDL_power.h", + "external/win32/include/sdl2/SDL_quit.h", + "external/win32/include/sdl2/SDL_rect.h", + "external/win32/include/sdl2/SDL_render.h", + "external/win32/include/sdl2/SDL_revision.h", + "external/win32/include/sdl2/SDL_rwops.h", + "external/win32/include/sdl2/SDL_scancode.h", + "external/win32/include/sdl2/SDL_sensor.h", + "external/win32/include/sdl2/SDL_shape.h", + "external/win32/include/sdl2/SDL_stdinc.h", + "external/win32/include/sdl2/SDL_surface.h", + "external/win32/include/sdl2/SDL_system.h", + "external/win32/include/sdl2/SDL_syswm.h", + "external/win32/include/sdl2/SDL_test.h", + "external/win32/include/sdl2/SDL_test_assert.h", + "external/win32/include/sdl2/SDL_test_common.h", + "external/win32/include/sdl2/SDL_test_compare.h", + "external/win32/include/sdl2/SDL_test_crc32.h", + "external/win32/include/sdl2/SDL_test_font.h", + "external/win32/include/sdl2/SDL_test_fuzzer.h", + "external/win32/include/sdl2/SDL_test_harness.h", + "external/win32/include/sdl2/SDL_test_images.h", + "external/win32/include/sdl2/SDL_test_log.h", + "external/win32/include/sdl2/SDL_test_md5.h", + "external/win32/include/sdl2/SDL_test_memory.h", + "external/win32/include/sdl2/SDL_test_random.h", + "external/win32/include/sdl2/SDL_thread.h", + "external/win32/include/sdl2/SDL_timer.h", + "external/win32/include/sdl2/SDL_touch.h", + "external/win32/include/sdl2/SDL_types.h", + "external/win32/include/sdl2/SDL_version.h", + "external/win32/include/sdl2/SDL_video.h", + "external/win32/include/sdl2/SDL_vulkan.h", + "external/win32/include/sdl2/begin_code.h", + "external/win32/include/sdl2/close_code.h", + "external/win32/include/sqlite3/sqlite3.h", + "external/win32/include/sqlite3/sqlite3ext.h", + "external/win32/include/uv/android-ifaddrs.h", + "external/win32/include/uv/pthread-barrier.h", + "external/win32/include/uv/stdint-msvc2008.h", + "external/win32/include/uv/tree.h", + "external/win32/include/uv/uv-aix.h", + "external/win32/include/uv/uv-bsd.h", + "external/win32/include/uv/uv-darwin.h", + "external/win32/include/uv/uv-errno.h", + "external/win32/include/uv/uv-linux.h", + "external/win32/include/uv/uv-os390.h", + "external/win32/include/uv/uv-posix.h", + "external/win32/include/uv/uv-sunos.h", + "external/win32/include/uv/uv-threadpool.h", + "external/win32/include/uv/uv-unix.h", + "external/win32/include/uv/uv-version.h", + "external/win32/include/uv/uv-win.h", + "external/win32/include/uv/uv.h", + "external/win32/include/v8/libplatform/libplatform-export.h", + "external/win32/include/v8/libplatform/libplatform.h", + "external/win32/include/v8/libplatform/v8-tracing.h", + "external/win32/include/v8/v8-inspector-protocol.h", + "external/win32/include/v8/v8-inspector.h", + "external/win32/include/v8/v8-internal.h", + "external/win32/include/v8/v8-platform.h", + "external/win32/include/v8/v8-profiler.h", + "external/win32/include/v8/v8-testing.h", + "external/win32/include/v8/v8-util.h", + "external/win32/include/v8/v8-value-serializer-version.h", + "external/win32/include/v8/v8-version-string.h", + "external/win32/include/v8/v8-version.h", + "external/win32/include/v8/v8-wasm-trap-handler-posix.h", + "external/win32/include/v8/v8-wasm-trap-handler-win.h", + "external/win32/include/v8/v8.h", + "external/win32/include/v8/v8config.h", + "external/win32/include/vorbis/codec.h", + "external/win32/include/vorbis/vorbisenc.h", + "external/win32/include/vorbis/vorbisfile.h", + "external/win32/include/webp/decode.h", + "external/win32/include/webp/encode.h", + "external/win32/include/webp/types.h", + "external/win32/include/websockets/libwebsockets.h", + "external/win32/include/websockets/lws_config.h", + "external/win32/include/zlib/zconf.h", + "external/win32/include/zlib/zlib.h", + "external/win32/libs/Debug/", + "external/win32/libs/Debug/mozglue.lib", + "external/win32/libs/Debug/mozjs-52.dll", + "external/win32/libs/Debug/mozjs-52.lib", + "external/win32/libs/Debug/nspr4.dll", + "external/win32/libs/OpenAL32.dll", + "external/win32/libs/OpenAL32.lib", + "external/win32/libs/SDL2.dll", + "external/win32/libs/SDL2.lib", + "external/win32/libs/SDL2main.lib", + "external/win32/libs/dbghelp.dll", + "external/win32/libs/freetype.lib", + "external/win32/libs/glew32.dll", + "external/win32/libs/glew32.lib", + "external/win32/libs/glslang/HLSL.lib", + "external/win32/libs/glslang/HLSLd.lib", + "external/win32/libs/glslang/OGLCompiler.lib", + "external/win32/libs/glslang/OGLCompilerd.lib", + "external/win32/libs/glslang/OSDependent.lib", + "external/win32/libs/glslang/OSDependentd.lib", + "external/win32/libs/glslang/SPIRV.lib", + "external/win32/libs/glslang/SPIRVd.lib", + "external/win32/libs/glslang/glslang-default-resource-limits.lib", + "external/win32/libs/glslang/glslang-default-resource-limitsd.lib", + "external/win32/libs/glslang/glslang.lib", + "external/win32/libs/glslang/glslangd.lib", + "external/win32/libs/iconv.dll", + "external/win32/libs/icui18n.dll", + "external/win32/libs/icui18n.dll.lib", + "external/win32/libs/icuuc.dll", + "external/win32/libs/icuuc.dll.lib", + "external/win32/libs/libEGL.dll", + "external/win32/libs/libGLESv2.dll", + "external/win32/libs/libcrypto-1_1.dll", + "external/win32/libs/libcrypto.lib", + "external/win32/libs/libcurl.dll", + "external/win32/libs/libcurl.lib", + "external/win32/libs/libiconv.lib", + "external/win32/libs/libjpeg-2015.lib", + "external/win32/libs/libjpeg.lib", + "external/win32/libs/libmpg123.dll", + "external/win32/libs/libmpg123.lib", + "external/win32/libs/libogg.dll", + "external/win32/libs/libogg.lib", + "external/win32/libs/libpng-2015.lib", + "external/win32/libs/libpng.lib", + "external/win32/libs/libssl-1_1.dll", + "external/win32/libs/libssl.lib", + "external/win32/libs/libuv.lib", + "external/win32/libs/libvorbis.dll", + "external/win32/libs/libvorbis.lib", + "external/win32/libs/libvorbisfile.dll", + "external/win32/libs/libvorbisfile.lib", + "external/win32/libs/libwebp.lib", + "external/win32/libs/libzlib.lib", + "external/win32/libs/nspr4.dll", + "external/win32/libs/sqlite3.dll", + "external/win32/libs/sqlite3.lib", + "external/win32/libs/tbb/tbb_static.lib", + "external/win32/libs/tbb/tbb_static_debug.lib", + "external/win32/libs/tbb/tbbmalloc_proxy_static.lib", + "external/win32/libs/tbb/tbbmalloc_proxy_static_debug.lib", + "external/win32/libs/tbb/tbbmalloc_static.lib", + "external/win32/libs/tbb/tbbmalloc_static_debug.lib", + "external/win32/libs/uv.dll", + "external/win32/libs/v8.dll", + "external/win32/libs/v8.dll.lib", + "external/win32/libs/v8_libbase.dll", + "external/win32/libs/v8_libbase.dll.lib", + "external/win32/libs/v8_libplatform.dll", + "external/win32/libs/v8_libplatform.dll.lib", + "external/win32/libs/websockets.dll", + "external/win32/libs/websockets.lib", + "external/win32/libs/zlib.dll", + "external/win32/libs/zlib.dll.lib", + "external/win32/libs/zlib1.dll", + "package-lock.json", + "unit-test/CMakeLists.txt", + "unit-test/CMakeLists.txt.in", + "unit-test/README", + "unit-test/src/CMakeLists.txt", + "unit-test/src/main.cpp", "unit-test/src/math_vec2_test.cpp" - ], + ], "js": [ - "cocos/bindings/auto/jsb_audio_auto.cpp", - "cocos/bindings/auto/jsb_audio_auto.h", - "cocos/bindings/auto/jsb_cocos_auto.cpp", - "cocos/bindings/auto/jsb_cocos_auto.h", - "cocos/bindings/auto/jsb_dragonbones_auto.cpp", - "cocos/bindings/auto/jsb_dragonbones_auto.h", - "cocos/bindings/auto/jsb_editor_support_auto.cpp", - "cocos/bindings/auto/jsb_editor_support_auto.h", - "cocos/bindings/auto/jsb_extension_auto.cpp", - "cocos/bindings/auto/jsb_extension_auto.h", - "cocos/bindings/auto/jsb_gfx_auto.cpp", - "cocos/bindings/auto/jsb_gfx_auto.h", - "cocos/bindings/auto/jsb_network_auto.cpp", - "cocos/bindings/auto/jsb_network_auto.h", - "cocos/bindings/auto/jsb_pipeline_auto.cpp", - "cocos/bindings/auto/jsb_pipeline_auto.h", - "cocos/bindings/auto/jsb_spine_auto.cpp", - "cocos/bindings/auto/jsb_spine_auto.h", - "cocos/bindings/auto/jsb_video_auto.cpp", - "cocos/bindings/auto/jsb_video_auto.h", - "cocos/bindings/auto/jsb_webview_auto.cpp", - "cocos/bindings/auto/jsb_webview_auto.h", - "cocos/bindings/docs/JSB2.0-Architecture.png", - "cocos/bindings/docs/JSB2.0-learning-en.md", - "cocos/bindings/docs/JSB2.0-learning-zh.md", - "cocos/bindings/docs/jsc-breakpoint.png", - "cocos/bindings/docs/jsc-entitlements-check.png", - "cocos/bindings/docs/jsc-entitlements.png", - "cocos/bindings/docs/jsc-mac-debug.png", - "cocos/bindings/docs/jsc-mac-simulator-sign.png", - "cocos/bindings/docs/jsc-security-key.png", - "cocos/bindings/docs/jsc-timeline.png", - "cocos/bindings/docs/v8-win32-debug.jpg", - "cocos/bindings/docs/v8-win32-memory.jpg", - "cocos/bindings/docs/v8-win32-profile.jpg", - "cocos/bindings/dop/BufferAllocator.cpp", - "cocos/bindings/dop/BufferAllocator.h", - "cocos/bindings/dop/BufferPool.cpp", - "cocos/bindings/dop/BufferPool.h", - "cocos/bindings/dop/ObjectPool.cpp", - "cocos/bindings/dop/ObjectPool.h", - "cocos/bindings/dop/PoolType.h", - "cocos/bindings/dop/jsb_dop.cpp", - "cocos/bindings/dop/jsb_dop.h", - "cocos/bindings/event/CustomEventTypes.h", - "cocos/bindings/event/EventDispatcher.cpp", - "cocos/bindings/event/EventDispatcher.h", - "cocos/bindings/jswrapper/HandleObject.cpp", - "cocos/bindings/jswrapper/HandleObject.h", - "cocos/bindings/jswrapper/MappingUtils.cpp", - "cocos/bindings/jswrapper/MappingUtils.h", - "cocos/bindings/jswrapper/Object.h", - "cocos/bindings/jswrapper/RefCounter.cpp", - "cocos/bindings/jswrapper/RefCounter.h", - "cocos/bindings/jswrapper/SeApi.h", - "cocos/bindings/jswrapper/State.cpp", - "cocos/bindings/jswrapper/State.h", - "cocos/bindings/jswrapper/Value.cpp", - "cocos/bindings/jswrapper/Value.h", - "cocos/bindings/jswrapper/chakracore/Base.h", - "cocos/bindings/jswrapper/chakracore/Class.cpp", - "cocos/bindings/jswrapper/chakracore/Class.h", - "cocos/bindings/jswrapper/chakracore/HelperMacros.h", - "cocos/bindings/jswrapper/chakracore/Object.cpp", - "cocos/bindings/jswrapper/chakracore/Object.h", - "cocos/bindings/jswrapper/chakracore/ScriptEngine.cpp", - "cocos/bindings/jswrapper/chakracore/ScriptEngine.h", - "cocos/bindings/jswrapper/chakracore/SeApi.h", - "cocos/bindings/jswrapper/chakracore/Utils.cpp", - "cocos/bindings/jswrapper/chakracore/Utils.h", - "cocos/bindings/jswrapper/config.cpp", - "cocos/bindings/jswrapper/config.h", - "cocos/bindings/jswrapper/jsc/Base.h", - "cocos/bindings/jswrapper/jsc/Class.cpp", - "cocos/bindings/jswrapper/jsc/Class.h", - "cocos/bindings/jswrapper/jsc/EJConvert.h", - "cocos/bindings/jswrapper/jsc/EJConvert.m", - "cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h", - "cocos/bindings/jswrapper/jsc/EJConvertTypedArray.m", - "cocos/bindings/jswrapper/jsc/HelperMacros.h", - "cocos/bindings/jswrapper/jsc/Object.h", - "cocos/bindings/jswrapper/jsc/Object.mm", - "cocos/bindings/jswrapper/jsc/PlatformUtils.h", - "cocos/bindings/jswrapper/jsc/PlatformUtils.mm", - "cocos/bindings/jswrapper/jsc/ScriptEngine.h", - "cocos/bindings/jswrapper/jsc/ScriptEngine.mm", - "cocos/bindings/jswrapper/jsc/SeApi.h", - "cocos/bindings/jswrapper/jsc/Utils.cpp", - "cocos/bindings/jswrapper/jsc/Utils.h", - "cocos/bindings/jswrapper/sm/Base.h", - "cocos/bindings/jswrapper/sm/Class.cpp", - "cocos/bindings/jswrapper/sm/Class.h", - "cocos/bindings/jswrapper/sm/HelperMacros.h", - "cocos/bindings/jswrapper/sm/Object.cpp", - "cocos/bindings/jswrapper/sm/Object.h", - "cocos/bindings/jswrapper/sm/ScriptEngine.cpp", - "cocos/bindings/jswrapper/sm/ScriptEngine.h", - "cocos/bindings/jswrapper/sm/SeApi.h", - "cocos/bindings/jswrapper/sm/Utils.cpp", - "cocos/bindings/jswrapper/sm/Utils.h", - "cocos/bindings/jswrapper/v8/Base.h", - "cocos/bindings/jswrapper/v8/Class.cpp", - "cocos/bindings/jswrapper/v8/Class.h", - "cocos/bindings/jswrapper/v8/HelperMacros.h", - "cocos/bindings/jswrapper/v8/Object.cpp", - "cocos/bindings/jswrapper/v8/Object.h", - "cocos/bindings/jswrapper/v8/ObjectWrap.cpp", - "cocos/bindings/jswrapper/v8/ObjectWrap.h", - "cocos/bindings/jswrapper/v8/README.md", - "cocos/bindings/jswrapper/v8/ScriptEngine.cpp", - "cocos/bindings/jswrapper/v8/ScriptEngine.h", - "cocos/bindings/jswrapper/v8/SeApi.h", - "cocos/bindings/jswrapper/v8/Utils.cpp", - "cocos/bindings/jswrapper/v8/Utils.h", - "cocos/bindings/jswrapper/v8/debugger/SHA1.cpp", - "cocos/bindings/jswrapper/v8/debugger/SHA1.h", - "cocos/bindings/jswrapper/v8/debugger/base64.h", - "cocos/bindings/jswrapper/v8/debugger/env.cpp", - "cocos/bindings/jswrapper/v8/debugger/env.h", - "cocos/bindings/jswrapper/v8/debugger/http_parser.c", - "cocos/bindings/jswrapper/v8/debugger/http_parser.h", - "cocos/bindings/jswrapper/v8/debugger/inspector_agent.cpp", - "cocos/bindings/jswrapper/v8/debugger/inspector_agent.h", - "cocos/bindings/jswrapper/v8/debugger/inspector_io.cpp", - "cocos/bindings/jswrapper/v8/debugger/inspector_io.h", - "cocos/bindings/jswrapper/v8/debugger/inspector_socket.cpp", - "cocos/bindings/jswrapper/v8/debugger/inspector_socket.h", - "cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.cpp", - "cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.h", - "cocos/bindings/jswrapper/v8/debugger/node.cpp", - "cocos/bindings/jswrapper/v8/debugger/node.h", - "cocos/bindings/jswrapper/v8/debugger/node_debug_options.cpp", - "cocos/bindings/jswrapper/v8/debugger/node_debug_options.h", - "cocos/bindings/jswrapper/v8/debugger/node_mutex.h", - "cocos/bindings/jswrapper/v8/debugger/util-inl.h", - "cocos/bindings/jswrapper/v8/debugger/util.cpp", - "cocos/bindings/jswrapper/v8/debugger/util.h", - "cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h", - "cocos/bindings/manual/JavaScriptJavaBridge.cpp", - "cocos/bindings/manual/JavaScriptJavaBridge.h", - "cocos/bindings/manual/JavaScriptObjCBridge.h", - "cocos/bindings/manual/JavaScriptObjCBridge.mm", - "cocos/bindings/manual/jsb_classtype.cpp", - "cocos/bindings/manual/jsb_classtype.h", - "cocos/bindings/manual/jsb_cocos_manual.cpp", - "cocos/bindings/manual/jsb_cocos_manual.h", - "cocos/bindings/manual/jsb_conversions.cpp", - "cocos/bindings/manual/jsb_conversions.h", - "cocos/bindings/manual/jsb_dragonbones_manual.cpp", - "cocos/bindings/manual/jsb_dragonbones_manual.h", - "cocos/bindings/manual/jsb_extension_manual.cpp", - "cocos/bindings/manual/jsb_extension_manual.h", - "cocos/bindings/manual/jsb_gfx_manual.cpp", - "cocos/bindings/manual/jsb_gfx_manual.h", - "cocos/bindings/manual/jsb_global.cpp", - "cocos/bindings/manual/jsb_global.h", - "cocos/bindings/manual/jsb_global_init.cpp", - "cocos/bindings/manual/jsb_global_init.h", - "cocos/bindings/manual/jsb_helper.cpp", - "cocos/bindings/manual/jsb_helper.h", - "cocos/bindings/manual/jsb_module_register.cpp", - "cocos/bindings/manual/jsb_module_register.h", - "cocos/bindings/manual/jsb_network_manual.cpp", - "cocos/bindings/manual/jsb_network_manual.h", - "cocos/bindings/manual/jsb_pipeline_manual.cpp", - "cocos/bindings/manual/jsb_pipeline_manual.h", - "cocos/bindings/manual/jsb_platform.h", - "cocos/bindings/manual/jsb_platform_android.cpp", - "cocos/bindings/manual/jsb_platfrom_apple.mm", - "cocos/bindings/manual/jsb_platfrom_win32.cpp", - "cocos/bindings/manual/jsb_socketio.cpp", - "cocos/bindings/manual/jsb_socketio.h", - "cocos/bindings/manual/jsb_spine_manual.cpp", - "cocos/bindings/manual/jsb_spine_manual.h", - "cocos/bindings/manual/jsb_websocket.cpp", - "cocos/bindings/manual/jsb_websocket.h", - "cocos/bindings/manual/jsb_websocket_server.cpp", - "cocos/bindings/manual/jsb_websocket_server.h", - "cocos/bindings/manual/jsb_xmlhttprequest.cpp", + "cocos/bindings/auto/jsb_audio_auto.cpp", + "cocos/bindings/auto/jsb_audio_auto.h", + "cocos/bindings/auto/jsb_cocos_auto.cpp", + "cocos/bindings/auto/jsb_cocos_auto.h", + "cocos/bindings/auto/jsb_dragonbones_auto.cpp", + "cocos/bindings/auto/jsb_dragonbones_auto.h", + "cocos/bindings/auto/jsb_editor_support_auto.cpp", + "cocos/bindings/auto/jsb_editor_support_auto.h", + "cocos/bindings/auto/jsb_extension_auto.cpp", + "cocos/bindings/auto/jsb_extension_auto.h", + "cocos/bindings/auto/jsb_gfx_auto.cpp", + "cocos/bindings/auto/jsb_gfx_auto.h", + "cocos/bindings/auto/jsb_network_auto.cpp", + "cocos/bindings/auto/jsb_network_auto.h", + "cocos/bindings/auto/jsb_pipeline_auto.cpp", + "cocos/bindings/auto/jsb_pipeline_auto.h", + "cocos/bindings/auto/jsb_spine_auto.cpp", + "cocos/bindings/auto/jsb_spine_auto.h", + "cocos/bindings/auto/jsb_video_auto.cpp", + "cocos/bindings/auto/jsb_video_auto.h", + "cocos/bindings/auto/jsb_webview_auto.cpp", + "cocos/bindings/auto/jsb_webview_auto.h", + "cocos/bindings/docs/JSB2.0-Architecture.png", + "cocos/bindings/docs/JSB2.0-learning-en.md", + "cocos/bindings/docs/JSB2.0-learning-zh.md", + "cocos/bindings/docs/jsc-breakpoint.png", + "cocos/bindings/docs/jsc-entitlements-check.png", + "cocos/bindings/docs/jsc-entitlements.png", + "cocos/bindings/docs/jsc-mac-debug.png", + "cocos/bindings/docs/jsc-mac-simulator-sign.png", + "cocos/bindings/docs/jsc-security-key.png", + "cocos/bindings/docs/jsc-timeline.png", + "cocos/bindings/docs/v8-win32-debug.jpg", + "cocos/bindings/docs/v8-win32-memory.jpg", + "cocos/bindings/docs/v8-win32-profile.jpg", + "cocos/bindings/dop/BufferAllocator.cpp", + "cocos/bindings/dop/BufferAllocator.h", + "cocos/bindings/dop/BufferPool.cpp", + "cocos/bindings/dop/BufferPool.h", + "cocos/bindings/dop/ObjectPool.cpp", + "cocos/bindings/dop/ObjectPool.h", + "cocos/bindings/dop/PoolType.h", + "cocos/bindings/dop/jsb_dop.cpp", + "cocos/bindings/dop/jsb_dop.h", + "cocos/bindings/event/CustomEventTypes.h", + "cocos/bindings/event/EventDispatcher.cpp", + "cocos/bindings/event/EventDispatcher.h", + "cocos/bindings/jswrapper/HandleObject.cpp", + "cocos/bindings/jswrapper/HandleObject.h", + "cocos/bindings/jswrapper/MappingUtils.cpp", + "cocos/bindings/jswrapper/MappingUtils.h", + "cocos/bindings/jswrapper/Object.h", + "cocos/bindings/jswrapper/RefCounter.cpp", + "cocos/bindings/jswrapper/RefCounter.h", + "cocos/bindings/jswrapper/SeApi.h", + "cocos/bindings/jswrapper/State.cpp", + "cocos/bindings/jswrapper/State.h", + "cocos/bindings/jswrapper/Value.cpp", + "cocos/bindings/jswrapper/Value.h", + "cocos/bindings/jswrapper/chakracore/Base.h", + "cocos/bindings/jswrapper/chakracore/Class.cpp", + "cocos/bindings/jswrapper/chakracore/Class.h", + "cocos/bindings/jswrapper/chakracore/HelperMacros.h", + "cocos/bindings/jswrapper/chakracore/Object.cpp", + "cocos/bindings/jswrapper/chakracore/Object.h", + "cocos/bindings/jswrapper/chakracore/ScriptEngine.cpp", + "cocos/bindings/jswrapper/chakracore/ScriptEngine.h", + "cocos/bindings/jswrapper/chakracore/SeApi.h", + "cocos/bindings/jswrapper/chakracore/Utils.cpp", + "cocos/bindings/jswrapper/chakracore/Utils.h", + "cocos/bindings/jswrapper/config.cpp", + "cocos/bindings/jswrapper/config.h", + "cocos/bindings/jswrapper/jsc/Base.h", + "cocos/bindings/jswrapper/jsc/Class.cpp", + "cocos/bindings/jswrapper/jsc/Class.h", + "cocos/bindings/jswrapper/jsc/EJConvert.h", + "cocos/bindings/jswrapper/jsc/EJConvert.m", + "cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h", + "cocos/bindings/jswrapper/jsc/EJConvertTypedArray.m", + "cocos/bindings/jswrapper/jsc/HelperMacros.h", + "cocos/bindings/jswrapper/jsc/Object.h", + "cocos/bindings/jswrapper/jsc/Object.mm", + "cocos/bindings/jswrapper/jsc/PlatformUtils.h", + "cocos/bindings/jswrapper/jsc/PlatformUtils.mm", + "cocos/bindings/jswrapper/jsc/ScriptEngine.h", + "cocos/bindings/jswrapper/jsc/ScriptEngine.mm", + "cocos/bindings/jswrapper/jsc/SeApi.h", + "cocos/bindings/jswrapper/jsc/Utils.cpp", + "cocos/bindings/jswrapper/jsc/Utils.h", + "cocos/bindings/jswrapper/sm/Base.h", + "cocos/bindings/jswrapper/sm/Class.cpp", + "cocos/bindings/jswrapper/sm/Class.h", + "cocos/bindings/jswrapper/sm/HelperMacros.h", + "cocos/bindings/jswrapper/sm/Object.cpp", + "cocos/bindings/jswrapper/sm/Object.h", + "cocos/bindings/jswrapper/sm/ScriptEngine.cpp", + "cocos/bindings/jswrapper/sm/ScriptEngine.h", + "cocos/bindings/jswrapper/sm/SeApi.h", + "cocos/bindings/jswrapper/sm/Utils.cpp", + "cocos/bindings/jswrapper/sm/Utils.h", + "cocos/bindings/jswrapper/v8/Base.h", + "cocos/bindings/jswrapper/v8/Class.cpp", + "cocos/bindings/jswrapper/v8/Class.h", + "cocos/bindings/jswrapper/v8/HelperMacros.h", + "cocos/bindings/jswrapper/v8/Object.cpp", + "cocos/bindings/jswrapper/v8/Object.h", + "cocos/bindings/jswrapper/v8/ObjectWrap.cpp", + "cocos/bindings/jswrapper/v8/ObjectWrap.h", + "cocos/bindings/jswrapper/v8/README.md", + "cocos/bindings/jswrapper/v8/ScriptEngine.cpp", + "cocos/bindings/jswrapper/v8/ScriptEngine.h", + "cocos/bindings/jswrapper/v8/SeApi.h", + "cocos/bindings/jswrapper/v8/Utils.cpp", + "cocos/bindings/jswrapper/v8/Utils.h", + "cocos/bindings/jswrapper/v8/debugger/SHA1.cpp", + "cocos/bindings/jswrapper/v8/debugger/SHA1.h", + "cocos/bindings/jswrapper/v8/debugger/base64.h", + "cocos/bindings/jswrapper/v8/debugger/env.cpp", + "cocos/bindings/jswrapper/v8/debugger/env.h", + "cocos/bindings/jswrapper/v8/debugger/http_parser.c", + "cocos/bindings/jswrapper/v8/debugger/http_parser.h", + "cocos/bindings/jswrapper/v8/debugger/inspector_agent.cpp", + "cocos/bindings/jswrapper/v8/debugger/inspector_agent.h", + "cocos/bindings/jswrapper/v8/debugger/inspector_io.cpp", + "cocos/bindings/jswrapper/v8/debugger/inspector_io.h", + "cocos/bindings/jswrapper/v8/debugger/inspector_socket.cpp", + "cocos/bindings/jswrapper/v8/debugger/inspector_socket.h", + "cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.cpp", + "cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.h", + "cocos/bindings/jswrapper/v8/debugger/node.cpp", + "cocos/bindings/jswrapper/v8/debugger/node.h", + "cocos/bindings/jswrapper/v8/debugger/node_debug_options.cpp", + "cocos/bindings/jswrapper/v8/debugger/node_debug_options.h", + "cocos/bindings/jswrapper/v8/debugger/node_mutex.h", + "cocos/bindings/jswrapper/v8/debugger/util-inl.h", + "cocos/bindings/jswrapper/v8/debugger/util.cpp", + "cocos/bindings/jswrapper/v8/debugger/util.h", + "cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h", + "cocos/bindings/manual/JavaScriptJavaBridge.cpp", + "cocos/bindings/manual/JavaScriptJavaBridge.h", + "cocos/bindings/manual/JavaScriptObjCBridge.h", + "cocos/bindings/manual/JavaScriptObjCBridge.mm", + "cocos/bindings/manual/jsb_classtype.cpp", + "cocos/bindings/manual/jsb_classtype.h", + "cocos/bindings/manual/jsb_cocos_manual.cpp", + "cocos/bindings/manual/jsb_cocos_manual.h", + "cocos/bindings/manual/jsb_conversions.cpp", + "cocos/bindings/manual/jsb_conversions.h", + "cocos/bindings/manual/jsb_dragonbones_manual.cpp", + "cocos/bindings/manual/jsb_dragonbones_manual.h", + "cocos/bindings/manual/jsb_extension_manual.cpp", + "cocos/bindings/manual/jsb_extension_manual.h", + "cocos/bindings/manual/jsb_gfx_manual.cpp", + "cocos/bindings/manual/jsb_gfx_manual.h", + "cocos/bindings/manual/jsb_global.cpp", + "cocos/bindings/manual/jsb_global.h", + "cocos/bindings/manual/jsb_global_init.cpp", + "cocos/bindings/manual/jsb_global_init.h", + "cocos/bindings/manual/jsb_helper.cpp", + "cocos/bindings/manual/jsb_helper.h", + "cocos/bindings/manual/jsb_module_register.cpp", + "cocos/bindings/manual/jsb_module_register.h", + "cocos/bindings/manual/jsb_network_manual.cpp", + "cocos/bindings/manual/jsb_network_manual.h", + "cocos/bindings/manual/jsb_pipeline_manual.cpp", + "cocos/bindings/manual/jsb_pipeline_manual.h", + "cocos/bindings/manual/jsb_platform.h", + "cocos/bindings/manual/jsb_platform_android.cpp", + "cocos/bindings/manual/jsb_platfrom_apple.mm", + "cocos/bindings/manual/jsb_platfrom_win32.cpp", + "cocos/bindings/manual/jsb_socketio.cpp", + "cocos/bindings/manual/jsb_socketio.h", + "cocos/bindings/manual/jsb_spine_manual.cpp", + "cocos/bindings/manual/jsb_spine_manual.h", + "cocos/bindings/manual/jsb_websocket.cpp", + "cocos/bindings/manual/jsb_websocket.h", + "cocos/bindings/manual/jsb_websocket_server.cpp", + "cocos/bindings/manual/jsb_websocket_server.h", + "cocos/bindings/manual/jsb_xmlhttprequest.cpp", "cocos/bindings/manual/jsb_xmlhttprequest.h" ] } \ No newline at end of file From b6384e4e3f587eb7f6953cf99b8822a2f5300c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Thu, 25 Mar 2021 09:53:06 +0800 Subject: [PATCH 198/270] [CI] Warning as errors (#3342) --- .../.github/workflows/clangtidy-android.yml | 36 +++++++++++-------- native/.github/workflows/filter_by_cdb.js | 23 ++++++++++++ 2 files changed, 44 insertions(+), 15 deletions(-) create mode 100644 native/.github/workflows/filter_by_cdb.js diff --git a/native/.github/workflows/clangtidy-android.yml b/native/.github/workflows/clangtidy-android.yml index 380458b230..9e65890050 100644 --- a/native/.github/workflows/clangtidy-android.yml +++ b/native/.github/workflows/clangtidy-android.yml @@ -1,6 +1,5 @@ name: Clang Tidy - Android -# Run this workflow every time a new commit pushed to your repository on: pull_request jobs: @@ -16,11 +15,21 @@ jobs: # Checks out a copy of your repository on the ubuntu-latest machine - name: Checkout code uses: actions/checkout@v2 - - uses: jitterbit/get-changed-files@v1 + - name: Get changed files + uses: dorny/paths-filter@v2 id: listchanged with: - format: space-delimited - token: ${{ secrets.GITHUB_TOKEN }} + list-files: shell + filters: | + source: + - added|modified: '**/*.cpp' + - added|modified: '**/*.h' + - added|modified: '**/*.hpp' + - added|modified: '**/*.m' + - added|modified: '**/*.mm' + - added|modified: '**/*.c' + allChanges: + - added|modified|deleted: '**' - name: Install CMake & Clang Tidy run: | sudo apt install -y cmake llvm clang-tidy-11 @@ -37,23 +46,20 @@ jobs: - name: Generate clang-fix.yaml shell: bash + if: ${{ steps.listchanged.outputs.source == 'true' }} run: | - FILES="${{ steps.listchanged.outputs.added_modified }}" - CPP="" - for file in $FILES; do - if [[ "$file" == *.cpp || "$file" == *.c || "$file" == *.m || "$file" == *.mm || "$file" == *.h ]]; then - CPP+=" $file" - fi - done - if [[ "$CPP-xxx" == "-xxx" ]]; then - echo "no source file found!" + CPP="${{ steps.listchanged.outputs.source_files }}" + FILTERED=`node .github/workflows/filter_by_cdb.js $CPP` + if [[ "$FILTERED-xxx" == "-xxx" ]]; then + echo "no source files match" else - clang-tidy-11 -p ./build --export-fixes=clang-fixes.yaml $CPP + clang-tidy-11 --format-style=file -p ./build --export-fixes=clang-fixes.yaml $FILTERED fi - name: clang-tidy-action uses: PatriceJiang/clang-tidy-action@master if: hashFiles('clang-fixes.yaml') != '' with: fixesFile: clang-fixes.yaml - noFailOnIssue: true + noFailOnIssue: false repo-token: ${{ secrets.GITHUB_TOKEN }} + error-limit: 200 diff --git a/native/.github/workflows/filter_by_cdb.js b/native/.github/workflows/filter_by_cdb.js new file mode 100644 index 0000000000..87962c7df9 --- /dev/null +++ b/native/.github/workflows/filter_by_cdb.js @@ -0,0 +1,23 @@ +#!/usr/bin/env node + +const path = require('path'); +const fs = require('fs'); + +const ARGS = process.argv.slice(2); + +let result = []; + +const cdbFile = path.join(__dirname, '../../build/compile_commands.json'); +if (fs.existsSync(cdbFile)) { + const db = JSON.parse(fs.readFileSync(cdbFile, { encoding: 'utf8' })); + for (let f of ARGS) { + for (let t of db) { + if (t.file.endsWith(f)) { + result.push(f); + } + } + } + console.log(result.join(" ")); +} else { + console.log(ARGS.join(" ")); +} \ No newline at end of file From b6a78bd153b340e09c8e530d420cf02512d193e3 Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Thu, 25 Mar 2021 10:46:02 +0800 Subject: [PATCH 199/270] fix crash issue port to NSView (#3339) * fix crash issue port to NSView * remove redundant header --- native/cocos/platform/mac/Application-mac.mm | 58 ++++++++++---------- native/cocos/renderer/gfx-metal/MTLDevice.mm | 5 ++ 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index 0316211bd6..8ccb4c5a5c 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -32,15 +32,15 @@ #include #include -#include "renderer/GFXDeviceManager.h" #include "pipeline/Define.h" +#include "renderer/GFXDeviceManager.h" #import @interface MyTimer : NSObject { cc::Application *_app; - NSTimer *_timer; - int _fps; + NSTimer * _timer; + int _fps; } - (instancetype)initWithApp:(cc::Application *)app fps:(int)fps; - (void)start; @@ -93,10 +93,10 @@ namespace cc { namespace { bool setCanvasCallback(se::Object *global) { - auto viewLogicalSize = Application::getInstance()->getViewLogicalSize(); - se::ScriptEngine *se = se::ScriptEngine::getInstance(); - char commandBuf[200] = {0}; - NSView *view = [[[[NSApplication sharedApplication] delegate] getWindow] contentView]; + auto viewLogicalSize = Application::getInstance()->getViewLogicalSize(); + se::ScriptEngine *se = se::ScriptEngine::getInstance(); + char commandBuf[200] = {0}; + NSView * view = [[[[NSApplication sharedApplication] delegate] getWindow] contentView]; sprintf(commandBuf, "window.innerWidth = %d; window.innerHeight = %d; window.windowHandler = 0x%" PRIxPTR ";", (int)(viewLogicalSize.x), (int)(viewLogicalSize.y), @@ -104,11 +104,11 @@ bool setCanvasCallback(se::Object *global) { se->evalString(commandBuf); gfx::DeviceInfo deviceInfo; - deviceInfo.windowHandle = (uintptr_t)view; - deviceInfo.width = viewLogicalSize.x; - deviceInfo.height = viewLogicalSize.y; - deviceInfo.nativeWidth = viewLogicalSize.x; - deviceInfo.nativeHeight = viewLogicalSize.y; + deviceInfo.windowHandle = (uintptr_t)view; + deviceInfo.width = viewLogicalSize.x; + deviceInfo.height = viewLogicalSize.y; + deviceInfo.nativeWidth = viewLogicalSize.x; + deviceInfo.nativeHeight = viewLogicalSize.y; deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; gfx::DeviceManager::create(deviceInfo); @@ -119,7 +119,7 @@ bool setCanvasCallback(se::Object *global) { MyTimer *_timer; } -Application *Application::_instance = nullptr; +Application * Application::_instance = nullptr; std::shared_ptr Application::_scheduler = nullptr; Application::Application(int width, int height) { @@ -132,8 +132,6 @@ Application::Application(int width, int height) { EventDispatcher::init(); _timer = [[MyTimer alloc] initWithApp:this fps:_fps]; - - [[[[[NSApplication sharedApplication] delegate] getWindow] contentView] start]; } Application::~Application() { @@ -168,23 +166,23 @@ Application::Platform Application::getPlatform() const { } std::string Application::getCurrentLanguageCode() const { - NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; - NSArray *languages = [defaults objectForKey:@"AppleLanguages"]; - NSString *currentLanguage = [languages objectAtIndex:0]; + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; + NSArray * languages = [defaults objectForKey:@"AppleLanguages"]; + NSString * currentLanguage = [languages objectAtIndex:0]; return [currentLanguage UTF8String]; } bool Application::isDisplayStats() { se::AutoHandleScope hs; - se::Value ret; - char commandBuf[100] = "cc.debug.isDisplayStats();"; + se::Value ret; + char commandBuf[100] = "cc.debug.isDisplayStats();"; se::ScriptEngine::getInstance()->evalString(commandBuf, 100, &ret); return ret.toBoolean(); } void Application::setDisplayStats(bool isShow) { se::AutoHandleScope hs; - char commandBuf[100] = {0}; + char commandBuf[100] = {0}; sprintf(commandBuf, "cc.debug.setDisplayStats(%s);", isShow ? "true" : "false"); se::ScriptEngine::getInstance()->evalString(commandBuf); } @@ -198,13 +196,13 @@ void Application::setCursorEnabled(bool value) { Application::LanguageType Application::getCurrentLanguage() const { // get the current language and country config - NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; - NSArray *languages = [defaults objectForKey:@"AppleLanguages"]; - NSString *currentLanguage = [languages objectAtIndex:0]; + NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; + NSArray * languages = [defaults objectForKey:@"AppleLanguages"]; + NSString * currentLanguage = [languages objectAtIndex:0]; // get the current language code.(such as English is "en", Chinese is "zh" and so on) - NSDictionary *temp = [NSLocale componentsFromLocaleIdentifier:currentLanguage]; - NSString *languageCode = [temp objectForKey:NSLocaleLanguageCode]; + NSDictionary *temp = [NSLocale componentsFromLocaleIdentifier:currentLanguage]; + NSString * languageCode = [temp objectForKey:NSLocaleLanguageCode]; if ([languageCode isEqualToString:@"zh"]) return LanguageType::CHINESE; if ([languageCode isEqualToString:@"en"]) return LanguageType::ENGLISH; @@ -229,8 +227,8 @@ Application::LanguageType Application::getCurrentLanguage() const { } bool Application::openURL(const std::string &url) { - NSString *msg = [NSString stringWithCString:url.c_str() encoding:NSUTF8StringEncoding]; - NSURL *nsUrl = [NSURL URLWithString:msg]; + NSString *msg = [NSString stringWithCString:url.c_str() encoding:NSUTF8StringEncoding]; + NSURL * nsUrl = [NSURL URLWithString:msg]; return [[NSWorkspace sharedWorkspace] openURL:nsUrl]; } @@ -250,8 +248,8 @@ void Application::onResume() { } std::string Application::getSystemVersion() { - NSOperatingSystemVersion v = NSProcessInfo.processInfo.operatingSystemVersion; - char version[50] = {0}; + NSOperatingSystemVersion v = NSProcessInfo.processInfo.operatingSystemVersion; + char version[50] = {0}; snprintf(version, sizeof(version), "%d.%d.%d", (int)v.majorVersion, (int)v.minorVersion, (int)v.patchVersion); return version; } diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 4283c3e7af..2bfd312c07 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -78,7 +78,12 @@ bool CCMTLDevice::doInit(const DeviceInfo &info) { #else UIView *view = (UIView *)_windowHandle; #endif + +#ifdef CC_USE_METAL + CAMetalLayer *layer = static_cast(view.layer); +#else CAMetalLayer *layer = static_cast(view); +#endif _mtlLayer = layer; layer.framebufferOnly = NO; id mtlDevice = (id)layer.device; From fe6da4a1d2f3cc5a37d21c883f4667b9bb2be311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Thu, 25 Mar 2021 13:48:03 +0800 Subject: [PATCH 200/270] [sync] Travis compile vulkan (#3343) --- native/cocos/network/WebSocketServer.h | 95 ++++++++++--------- .../renderer/gfx-metal/MTLInputAssembler.mm | 2 +- native/cocos/renderer/gfx-metal/MTLShader.mm | 40 ++++---- native/tools/travis-scripts/before-install.sh | 6 ++ native/tools/travis-scripts/generate-pr.sh | 3 +- native/tools/travis-scripts/run-script.sh | 28 +++++- 6 files changed, 100 insertions(+), 74 deletions(-) diff --git a/native/cocos/network/WebSocketServer.h b/native/cocos/network/WebSocketServer.h index aa6713b5da..976f184860 100644 --- a/native/cocos/network/WebSocketServer.h +++ b/native/cocos/network/WebSocketServer.h @@ -29,18 +29,19 @@ #include "uv.h" - #include - #include #include - #include - #include - #include - #include - #include - #include - #include #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include "cocos/base/Macros.h" #include "websockets/libwebsockets.h" namespace cc { @@ -89,9 +90,9 @@ public: unsigned char *getData() { return _underlyingData.data() + LWS_PRE; } private: - std::vector _underlyingData; - int _consumed = 0; - bool _isBinary = false; + std::vector _underlyingData; + int _consumed = 0; + bool _isBinary = false; std::function _callback; }; @@ -102,9 +103,9 @@ public: enum ReadyState { CONNECTING = 1, - OPEN = 2, - CLOSING = 3, - CLOSED = 4 + OPEN = 2, + CLOSING = 3, + CLOSED = 4 }; void sendTextAsync(const std::string &, std::function callback); @@ -162,7 +163,7 @@ public: void onClientCloseInit(); - inline void setData(void *d) { _data = d; } + inline void setData(void *d) { _data = d; } inline void *getData() const { return _data; } private: @@ -176,31 +177,31 @@ private: void onConnected(); void onDataReceive(void *in, int len); - int onDrainData(); + int onDrainData(); void onHTTP(); void onClientCloseInit(int code, const std::string &msg); void onDestroyClient(); - struct lws *_wsi = nullptr; - std::map _headers; + struct lws * _wsi = nullptr; + std::map _headers; std::list> _sendQueue; - std::shared_ptr _prevPkg; - bool _closed = false; - std::string _closeReason = "close connection"; - int _closeCode = 1000; - std::atomic _readyState{ReadyState::CLOSED}; + std::shared_ptr _prevPkg; + bool _closed = false; + std::string _closeReason = "close connection"; + int _closeCode = 1000; + std::atomic _readyState{ReadyState::CLOSED}; // Attention: do not reference **this** in callbacks - std::function _onclose; - std::function _onerror; + std::function _onclose; + std::function _onerror; std::function)> _ontext; std::function)> _onbinary; std::function)> _ondata; - std::function _onconnect; - std::function _onend; - uv_async_t _async = {0}; - void *_data = nullptr; + std::function _onconnect; + std::function _onend; + uv_async_t _async = {0}; + void * _data = nullptr; friend class WebSocketServer; }; @@ -211,7 +212,7 @@ public: virtual ~WebSocketServer(); static void listenAsync(std::shared_ptr &server, int port, const std::string &host, std::function callback); - void closeAsync(std::function callback = nullptr); + void closeAsync(std::function callback = nullptr); std::vector> getConnections() const; @@ -239,39 +240,39 @@ public: _onbegin = cb; } - inline void setData(void *d) { _data = d; } + inline void setData(void *d) { _data = d; } inline void *getData() const { return _data; } protected: static void listen(std::shared_ptr server, int port, const std::string &host, std::function callback); - bool close(std::function callback = nullptr); + bool close(std::function callback = nullptr); void onCreateClient(struct lws *wsi); void onDestroyClient(struct lws *wsi); void onCloseClient(struct lws *wsi); void onCloseClientInit(struct lws *wsi, void *in, int len); void onClientReceive(struct lws *wsi, void *in, int len); - int onServerWritable(struct lws *wsi); + int onServerWritable(struct lws *wsi); void onClientHTTP(struct lws *wsi); private: std::shared_ptr findConnection(struct lws *wsi); - void destroyContext(); + void destroyContext(); - std::string _host; - lws_context *_ctx = nullptr; - uv_async_t _async = {0}; + std::string _host; + lws_context *_ctx = nullptr; + uv_async_t _async = {0}; - mutable std::mutex _connsMtx; + mutable std::mutex _connsMtx; std::unordered_map> _conns; // Attention: do not reference **this** in callbacks - std::function _onlistening; - std::function _onerror; - std::function _onclose; - std::function _onclose_cb; - std::function _onend; - std::function _onbegin; + std::function _onlistening; + std::function _onerror; + std::function _onclose; + std::function _onclose_cb; + std::function _onend; + std::function _onbegin; std::function)> _onconnection; enum class ServerThreadState { @@ -282,8 +283,8 @@ private: DESTROIED }; std::atomic _serverState{ServerThreadState::NOT_BOOTED}; - std::mutex _serverLock; - void *_data = nullptr; + std::mutex _serverLock; + void * _data = nullptr; public: static int _websocketServerCallback(struct lws *wsi, enum lws_callback_reasons reason, diff --git a/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm b/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm index ba14cd1fa3..efb5e9058a 100644 --- a/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm +++ b/native/cocos/renderer/gfx-metal/MTLInputAssembler.mm @@ -37,7 +37,7 @@ CCMTLInputAssembler::CCMTLInputAssembler() : InputAssembler() {} void CCMTLInputAssembler::doInit(const InputAssemblerInfo &info) { _GPUInputAssembler = CC_NEW(CCMTLGPUInputAssembler); if (!_GPUInputAssembler) { - return false; + return; } if (info.indexBuffer) { diff --git a/native/cocos/renderer/gfx-metal/MTLShader.mm b/native/cocos/renderer/gfx-metal/MTLShader.mm index 5e855a781e..b60250a524 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.mm +++ b/native/cocos/renderer/gfx-metal/MTLShader.mm @@ -41,7 +41,7 @@ void CCMTLShader::doInit(const ShaderInfo &info) { for (const auto &stage : _stages) { if (!createMTLFunction(stage)) { destroy(); - return false; + return; } } @@ -52,11 +52,11 @@ void CCMTLShader::doInit(const ShaderInfo &info) { void CCMTLShader::doDestroy() { id vertFunc = _vertexMTLFunction; - _vertexMTLFunction = nil; + _vertexMTLFunction = nil; id fragFunc = _fragmentMTLFunction; - _fragmentMTLFunction = nil; + _fragmentMTLFunction = nil; id cmptFunc = _computeMTLFunction; - _computeMTLFunction = nil; + _computeMTLFunction = nil; CC_SAFE_DELETE(_gpuShader); @@ -75,10 +75,10 @@ void CCMTLShader::doDestroy() { } bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { - bool isVertexShader = false; + bool isVertexShader = false; bool isFragmentShader = false; - bool isComputeShader = false; - + bool isComputeShader = false; + if (stage.stage == ShaderStageFlagBit::VERTEX) { isVertexShader = true; } else if (stage.stage == ShaderStageFlagBit::FRAGMENT) { @@ -86,7 +86,7 @@ bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { } else if (stage.stage == ShaderStageFlagBit::COMPUTE) { isComputeShader = true; } - + id mtlDevice = id(CCMTLDevice::getInstance()->getMTLDevice()); auto mtlShader = mu::compileGLSLShader2Msl(stage.source, @@ -94,14 +94,14 @@ bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { CCMTLDevice::getInstance(), _gpuShader); - NSString *shader = [NSString stringWithUTF8String:mtlShader.c_str()]; - NSError *error = nil; + NSString * shader = [NSString stringWithUTF8String:mtlShader.c_str()]; + NSError * error = nil; id library = [mtlDevice newLibraryWithSource:shader options:nil error:&error]; if (!library) { - CC_LOG_ERROR("Can not compile %s shader: %s", isVertexShader ? "vertex" : - isFragmentShader ? "fragment" : "compute", + CC_LOG_ERROR("Can not compile %s shader: %s", isVertexShader ? "vertex" : isFragmentShader ? "fragment" + : "compute", [[error localizedDescription] UTF8String]); CC_LOG_ERROR("%s", stage.source.c_str()); return false; @@ -138,13 +138,13 @@ bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { #ifdef DEBUG_SHADER if (isVertexShader) { _vertGlslShader = stage.source; - _vertMtlShader = mtlShader; + _vertMtlShader = mtlShader; } else if (isFragmenShader) { _fragGlslShader = stage.source; - _fragMtlShader = mtlShader; + _fragMtlShader = mtlShader; } else if (isComputeShader) { _cmptGlslShader = stage.source; - _cmptMtlShader = mtlShader; + _cmptMtlShader = mtlShader; } #endif return true; @@ -164,10 +164,10 @@ uint CCMTLShader::getAvailableBufferBindingIndex(ShaderStageFlagBit stage, uint } void CCMTLShader::setAvailableBufferBindingIndex() { - uint usedVertexBufferBindingIndexes = 0; + uint usedVertexBufferBindingIndexes = 0; uint usedFragmentBufferBindingIndexes = 0; - uint vertexBindingCount = 0; - uint fragmentBindingCount = 0; + uint vertexBindingCount = 0; + uint fragmentBindingCount = 0; for (const auto &block : _gpuShader->blocks) { if (block.second.stages & ShaderStageFlagBit::VERTEX) { vertexBindingCount++; @@ -182,9 +182,9 @@ void CCMTLShader::setAvailableBufferBindingIndex() { auto maxBufferBindingIndex = CCMTLDevice::getInstance()->getMaximumBufferBindingIndex(); _availableVertexBufferBindingIndex.resize(maxBufferBindingIndex - vertexBindingCount); _availableFragmentBufferBindingIndex.resize(maxBufferBindingIndex - fragmentBindingCount); - uint availableVertexBufferBit = ~usedVertexBufferBindingIndexes; + uint availableVertexBufferBit = ~usedVertexBufferBindingIndexes; uint availableFragmentBufferBit = ~usedFragmentBufferBindingIndexes; - int theBit = maxBufferBindingIndex - 1; + int theBit = maxBufferBindingIndex - 1; uint i = 0, j = 0; for (; theBit >= 0; theBit--) { if ((availableVertexBufferBit & (1 << theBit))) { diff --git a/native/tools/travis-scripts/before-install.sh b/native/tools/travis-scripts/before-install.sh index c8a952599e..ca5e66e8b7 100755 --- a/native/tools/travis-scripts/before-install.sh +++ b/native/tools/travis-scripts/before-install.sh @@ -60,6 +60,11 @@ function install_python_win32() export PATH="/c/Python27":$PATH } +function install_vulkan_sdk_win32() +{ + choco install vulkan-sdk +} + function install_python_module() { if [ "$TRAVIS_OS_NAME" == "osx" ]; then @@ -68,6 +73,7 @@ function install_python_module() pip install Cheetah elif [ "$TRAVIS_OS_NAME" == "windows" ]; then install_python_win32 + install_vulkan_sdk_win32 python -m easy_install pip python -m pip install PyYAML python -m pip install Cheetah diff --git a/native/tools/travis-scripts/generate-pr.sh b/native/tools/travis-scripts/generate-pr.sh index 79596b0d1a..f9f8bad4ce 100644 --- a/native/tools/travis-scripts/generate-pr.sh +++ b/native/tools/travis-scripts/generate-pr.sh @@ -147,8 +147,9 @@ echo " finish push ..." # set +x # 7. +ENCODED_MESSAGE=$(python -c "import urllib; print urllib.quote('''$TRAVIS_COMMIT_MESSAGE''')") echo "Sending Pull Request to base repo ..." -curl -H "Authorization: token $GH_TOKEN" --request POST --data "{ \"title\": \"$COMMITTAG\", \"body\": \"> $TRAVIS_COMMIT_MESSAGE\", \"head\": \"${GH_USER}:${COCOS_BRANCH}\", \"base\": \"${TRAVIS_BRANCH}\"}" "${PULL_REQUEST_REPO}" # 2> /dev/null > /dev/null +curl -H "Authorization: token $GH_TOKEN" --request POST --data "{ \"title\": \"$COMMITTAG\", \"body\": \"> $ENCODED_MESSAGE\", \"head\": \"${GH_USER}:${COCOS_BRANCH}\", \"base\": \"${TRAVIS_BRANCH}\"}" "${PULL_REQUEST_REPO}" # 2> /dev/null > /dev/null echo " finish sending PR ..." diff --git a/native/tools/travis-scripts/run-script.sh b/native/tools/travis-scripts/run-script.sh index 6135e090b6..42d8a80f91 100755 --- a/native/tools/travis-scripts/run-script.sh +++ b/native/tools/travis-scripts/run-script.sh @@ -65,6 +65,11 @@ function build_android() cd $COCOS2DX_ROOT/templates/android/build mkdir -p build-android/proj touch build-android/proj/cfg.cmake + echo "set(CC_USE_GLES3 ON)" >> build-android/proj/cfg.cmake + echo "set(CC_USE_VULKAN ON)" >> build-android/proj/cfg.cmake + echo "set(CC_USE_GLES2 ON)" >> build-android/proj/cfg.cmake + echo "set(USE_WEBSOCKET_SERVER ON)" >> build-android/proj/cfg.cmake + mkdir -p build-android/assets ASSET_DIR=$COCOS2DX_ROOT/templates/android/build/build-android/ @@ -76,6 +81,7 @@ function build_android() sed -i "s@^APPLICATION_ID.*@APPLICATION_ID=com.cocos.android@g" gradle.properties sed -i "s@^RES_PATH.*@RES_PATH=$ASSET_DIR@g" gradle.properties sed -i "s@^COCOS_ENGINE_PATH.*@COCOS_ENGINE_PATH=$COCOS2DX_ROOT@g" gradle.properties + sed -i "s@^PROP_APP_ABI.*@PROP_APP_ABI=armeabi-v7a:arm64-v8a:x86@g" gradle.properties #echo "Compile Android - ndk-build ..." #./gradlew assembleDebug --quiet @@ -123,17 +129,21 @@ function build_macosx() cd $COCOS2DX_ROOT/templates/mac mkdir -p build-mac/proj touch build-mac/proj/cfg.cmake + echo "set(CC_USE_VULKAN OFF)" >> build-mac/proj/cfg.cmake + echo "set(CC_USE_GLES2 OFF)" >> build-mac/proj/cfg.cmake + echo "set(CC_USE_METAL ON)" >> build-mac/proj/cfg.cmake + echo "set(USE_WEBSOCKET_SERVER OFF)" >> build-mac/proj/cfg.cmake mkdir build-mac/assets RES_DIR=$COCOS2DX_ROOT/templates/mac/build-mac cd build-mac - cmake ../ -GXcode -DCC_USE_METAL=ON -DCMAKE_OSX_ARCHITECTURES=x86_64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT + cmake ../ -GXcode -DCC_USE_GLES3=ON -DCMAKE_OSX_ARCHITECTURES=x86_64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT cmake --build . --config Release -- -quiet -jobs $NUM_OF_CORES -arch x86_64 echo "Compile MacOSX X86_64 Release Done!" cd .. mkdir build-mac-apple-silicon cd build-mac-apple-silicon - cmake ../ -GXcode -DCC_USE_METAL=ON -DCC_USE_GLES3=OFF -DCMAKE_OSX_ARCHITECTURES=arm64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT + cmake ../ -GXcode -DCC_USE_GLES3=OFF -DCMAKE_OSX_ARCHITECTURES=arm64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT cmake --build . --config Release -- -quiet -jobs $NUM_OF_CORES -arch arm64 echo "Compile MacOSX ARM64 Release Done!" } @@ -146,13 +156,17 @@ function build_ios() cd $COCOS2DX_ROOT/templates/ios mkdir -p build-ios/proj touch build-ios/proj/cfg.cmake + echo "set(CC_USE_GLES3 OFF)" >> build-ios/proj/cfg.cmake + echo "set(CC_USE_VULKAN OFF)" >> build-ios/proj/cfg.cmake + echo "set(CC_USE_GLES2 OFF)" >> build-ios/proj/cfg.cmake + echo "set(CC_USE_METAL ON)" >> build-ios/proj/cfg.cmake + echo "set(USE_WEBSOCKET_SERVER OFF)" >> build-ios/proj/cfg.cmake mkdir build-ios/assets cd build-ios RES_DIR=$COCOS2DX_ROOT/templates/ios/build-ios cmake ../ -GXcode -DCMAKE_SYSTEM_NAME=iOS \ -DCMAKE_OSX_SYSROOT=iphonesimulator \ -DCMAKE_OSX_ARCHITECTURES=x86_64 \ - -DCC_USE_METAL=ON \ -DRES_DIR=$RES_DIR \ -DCOCOS_X_PATH=$COCOS2DX_ROOT cmake --build . --config Debug -- -quiet -jobs $NUM_OF_CORES -allowProvisioningUpdates @@ -165,14 +179,18 @@ function build_windows() cd $COCOS2DX_ROOT/templates/win32 mkdir -p build-win32/proj touch build-win32/proj/cfg.cmake + echo "set(CC_USE_GLES3 ON)" >> build-win32/proj/cfg.cmake + echo "set(CC_USE_VULKAN ON)" >> build-win32/proj/cfg.cmake + echo "set(CC_USE_GLES2 ON)" >> build-win32/proj/cfg.cmake + echo "set(USE_WEBSOCKET_SERVER ON)" >> build-win32/proj/cfg.cmake mkdir build-win32/assets cd build-win32 RES_DIR=$COCOS2DX_ROOT/templates/win32/build-win32 cmake ../ -G"Visual Studio 15 2017" -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT cmake --build . --config Debug echo "Compile Win32 Debug Done!" - cmake --build . --config Release - echo "Compile Win32 Debug Done!" + # cmake --build . --config Release + # echo "Compile Win32 Debug Done!" } From 33b0583147adf7957cb9f173ab3f51ee7e08ddcb Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Thu, 25 Mar 2021 14:30:55 +0800 Subject: [PATCH 201/270] [ci skip][AUTO]: updating jsbinding automatically: fe6da4a1 (#3348) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 36870 ++++++++++++------------- 1 file changed, 18435 insertions(+), 18435 deletions(-) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index d8994fa754..fb403a0c56 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -1,18442 +1,18442 @@ { "common": [ - ".browserslistrc", - ".clang-format", - ".clang-tidy", - ".github/workflows/clangtidy-android.yml", - ".vscode/settings.json", - "CMakeLists.txt", - "cocos/audio/AudioEngine.cpp", - "cocos/audio/android/AssetFd.cpp", - "cocos/audio/android/AssetFd.h", - "cocos/audio/android/AudioBufferProvider.h", - "cocos/audio/android/AudioDecoder.cpp", - "cocos/audio/android/AudioDecoder.h", - "cocos/audio/android/AudioDecoderMp3.cpp", - "cocos/audio/android/AudioDecoderMp3.h", - "cocos/audio/android/AudioDecoderOgg.cpp", - "cocos/audio/android/AudioDecoderOgg.h", - "cocos/audio/android/AudioDecoderProvider.cpp", - "cocos/audio/android/AudioDecoderProvider.h", - "cocos/audio/android/AudioDecoderSLES.cpp", - "cocos/audio/android/AudioDecoderSLES.h", - "cocos/audio/android/AudioDecoderWav.cpp", - "cocos/audio/android/AudioDecoderWav.h", - "cocos/audio/android/AudioEngine-inl.cpp", - "cocos/audio/android/AudioEngine-inl.h", - "cocos/audio/android/AudioMixer.cpp", - "cocos/audio/android/AudioMixer.h", - "cocos/audio/android/AudioMixerController.cpp", - "cocos/audio/android/AudioMixerController.h", - "cocos/audio/android/AudioMixerOps.h", - "cocos/audio/android/AudioPlayerProvider.cpp", - "cocos/audio/android/AudioPlayerProvider.h", - "cocos/audio/android/AudioResampler.cpp", - "cocos/audio/android/AudioResampler.h", - "cocos/audio/android/AudioResamplerCubic.cpp", - "cocos/audio/android/AudioResamplerCubic.h", - "cocos/audio/android/AudioResamplerPublic.h", - "cocos/audio/android/IAudioPlayer.h", - "cocos/audio/android/ICallerThreadUtils.h", - "cocos/audio/android/IVolumeProvider.h", - "cocos/audio/android/OpenSLHelper.h", - "cocos/audio/android/PcmAudioPlayer.cpp", - "cocos/audio/android/PcmAudioPlayer.h", - "cocos/audio/android/PcmAudioService.cpp", - "cocos/audio/android/PcmAudioService.h", - "cocos/audio/android/PcmBufferProvider.cpp", - "cocos/audio/android/PcmBufferProvider.h", - "cocos/audio/android/PcmData.cpp", - "cocos/audio/android/PcmData.h", - "cocos/audio/android/Track.cpp", - "cocos/audio/android/Track.h", - "cocos/audio/android/UrlAudioPlayer.cpp", - "cocos/audio/android/UrlAudioPlayer.h", - "cocos/audio/android/audio.h", - "cocos/audio/android/audio_utils/format.c", - "cocos/audio/android/audio_utils/include/audio_utils/format.h", - "cocos/audio/android/audio_utils/include/audio_utils/minifloat.h", - "cocos/audio/android/audio_utils/include/audio_utils/primitives.h", - "cocos/audio/android/audio_utils/minifloat.cpp", - "cocos/audio/android/audio_utils/primitives.c", - "cocos/audio/android/audio_utils/private/private.h", - "cocos/audio/android/cutils/bitops.h", - "cocos/audio/android/cutils/log.h", - "cocos/audio/android/mp3reader.cpp", - "cocos/audio/android/mp3reader.h", - "cocos/audio/android/tinysndfile.cpp", - "cocos/audio/android/tinysndfile.h", - "cocos/audio/android/utils/Compat.h", - "cocos/audio/android/utils/Errors.h", - "cocos/audio/android/utils/Utils.cpp", - "cocos/audio/android/utils/Utils.h", - "cocos/audio/apple/AudioCache.h", - "cocos/audio/apple/AudioCache.mm", - "cocos/audio/apple/AudioDecoder.h", - "cocos/audio/apple/AudioDecoder.mm", - "cocos/audio/apple/AudioEngine-inl.h", - "cocos/audio/apple/AudioEngine-inl.mm", - "cocos/audio/apple/AudioMacros.h", - "cocos/audio/apple/AudioPlayer.h", - "cocos/audio/apple/AudioPlayer.mm", - "cocos/audio/include/AudioEngine.h", - "cocos/audio/include/Export.h", - "cocos/audio/win32/AudioCache.cpp", - "cocos/audio/win32/AudioCache.h", - "cocos/audio/win32/AudioDecoder.cpp", - "cocos/audio/win32/AudioDecoder.h", - "cocos/audio/win32/AudioDecoderManager.cpp", - "cocos/audio/win32/AudioDecoderManager.h", - "cocos/audio/win32/AudioDecoderMp3.cpp", - "cocos/audio/win32/AudioDecoderMp3.h", - "cocos/audio/win32/AudioDecoderOgg.cpp", - "cocos/audio/win32/AudioDecoderOgg.h", - "cocos/audio/win32/AudioEngine-win32.cpp", - "cocos/audio/win32/AudioEngine-win32.h", - "cocos/audio/win32/AudioMacros.h", - "cocos/audio/win32/AudioPlayer.cpp", - "cocos/audio/win32/AudioPlayer.h", - "cocos/base/Agent.h", - "cocos/base/Array.cpp", - "cocos/base/Array.h", - "cocos/base/AutoreleasePool.cpp", - "cocos/base/AutoreleasePool.h", - "cocos/base/CachedArray.h", - "cocos/base/Config.h", - "cocos/base/CoreStd.h", - "cocos/base/Data.cpp", - "cocos/base/Data.h", - "cocos/base/IndexHandle.h", - "cocos/base/Log.cpp", - "cocos/base/Log.h", - "cocos/base/Macros.h", - "cocos/base/Map.h", - "cocos/base/Object.h", - "cocos/base/Random.cpp", - "cocos/base/Random.h", - "cocos/base/Ref.cpp", - "cocos/base/Ref.h", - "cocos/base/Scheduler.cpp", - "cocos/base/Scheduler.h", - "cocos/base/StringHandle.cpp", - "cocos/base/StringHandle.h", - "cocos/base/StringPool.h", - "cocos/base/StringUtil.cpp", - "cocos/base/StringUtil.h", - "cocos/base/ThreadPool.cpp", - "cocos/base/ThreadPool.h", - "cocos/base/TypeDef.h", - "cocos/base/UTF8.cpp", - "cocos/base/UTF8.h", - "cocos/base/Utils.cpp", - "cocos/base/Utils.h", - "cocos/base/Value.cpp", - "cocos/base/Value.h", - "cocos/base/Vector.h", - "cocos/base/ZipUtils.cpp", - "cocos/base/ZipUtils.h", - "cocos/base/astc.cpp", - "cocos/base/astc.h", - "cocos/base/base64.cpp", - "cocos/base/base64.h", - "cocos/base/csscolorparser.cpp", - "cocos/base/csscolorparser.h", - "cocos/base/etc1.cpp", - "cocos/base/etc1.h", - "cocos/base/etc2.cpp", - "cocos/base/etc2.h", - "cocos/base/job-system/JobSystem.h", - "cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp", - "cocos/base/job-system/job-system-taskflow/TFJobGraph.h", - "cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp", - "cocos/base/job-system/job-system-taskflow/TFJobSystem.h", - "cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp", - "cocos/base/job-system/job-system-tbb/TBBJobGraph.h", - "cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp", - "cocos/base/job-system/job-system-tbb/TBBJobSystem.h", - "cocos/base/memory/AllocatedObj.cpp", - "cocos/base/memory/AllocatedObj.h", - "cocos/base/memory/JeAlloc.cpp", - "cocos/base/memory/JeAlloc.h", - "cocos/base/memory/MemDef.h", - "cocos/base/memory/MemTracker.cpp", - "cocos/base/memory/MemTracker.h", - "cocos/base/memory/Memory.cpp", - "cocos/base/memory/Memory.h", - "cocos/base/memory/NedPooling.cpp", - "cocos/base/memory/NedPooling.h", - "cocos/base/memory/StdAlloc.h", - "cocos/base/memory/StlAlloc.h", - "cocos/base/threading/ConditionVariable.cpp", - "cocos/base/threading/ConditionVariable.h", - "cocos/base/threading/Event.h", - "cocos/base/threading/MessageQueue.cpp", - "cocos/base/threading/MessageQueue.h", - "cocos/base/threading/ReadWriteLock.h", - "cocos/base/threading/Semaphore.cpp", - "cocos/base/threading/Semaphore.h", - "cocos/base/threading/ThreadPool.cpp", - "cocos/base/threading/ThreadPool.h", - "cocos/base/threading/ThreadSafeCounter.h", - "cocos/base/threading/ThreadSafeLinearAllocator.cpp", - "cocos/base/threading/ThreadSafeLinearAllocator.h", - "cocos/base/uthash.h", - "cocos/editor-support/IOBuffer.cpp", - "cocos/editor-support/IOBuffer.h", - "cocos/editor-support/IOTypedArray.cpp", - "cocos/editor-support/IOTypedArray.h", - "cocos/editor-support/MeshBuffer.cpp", - "cocos/editor-support/MeshBuffer.h", - "cocos/editor-support/MiddlewareMacro.h", - "cocos/editor-support/MiddlewareManager.cpp", - "cocos/editor-support/MiddlewareManager.h", - "cocos/editor-support/SharedBufferManager.cpp", - "cocos/editor-support/SharedBufferManager.h", - "cocos/editor-support/TypedArrayPool.cpp", - "cocos/editor-support/TypedArrayPool.h", - "cocos/editor-support/dragonbones-creator-support/ArmatureCache.cpp", - "cocos/editor-support/dragonbones-creator-support/ArmatureCache.h", - "cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.cpp", - "cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.h", - "cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp", - "cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.h", - "cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp", - "cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h", - "cocos/editor-support/dragonbones-creator-support/CCDragonBonesHeaders.h", - "cocos/editor-support/dragonbones-creator-support/CCFactory.cpp", - "cocos/editor-support/dragonbones-creator-support/CCFactory.h", - "cocos/editor-support/dragonbones-creator-support/CCSlot.cpp", - "cocos/editor-support/dragonbones-creator-support/CCSlot.h", - "cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.cpp", - "cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.h", - "cocos/editor-support/dragonbones/DragonBonesHeaders.h", - "cocos/editor-support/dragonbones/animation/Animation.cpp", - "cocos/editor-support/dragonbones/animation/Animation.h", - "cocos/editor-support/dragonbones/animation/AnimationState.cpp", - "cocos/editor-support/dragonbones/animation/AnimationState.h", - "cocos/editor-support/dragonbones/animation/BaseTimelineState.cpp", - "cocos/editor-support/dragonbones/animation/BaseTimelineState.h", - "cocos/editor-support/dragonbones/animation/IAnimatable.h", - "cocos/editor-support/dragonbones/animation/TimelineState.cpp", - "cocos/editor-support/dragonbones/animation/TimelineState.h", - "cocos/editor-support/dragonbones/animation/WorldClock.cpp", - "cocos/editor-support/dragonbones/animation/WorldClock.h", - "cocos/editor-support/dragonbones/armature/Armature.cpp", - "cocos/editor-support/dragonbones/armature/Armature.h", - "cocos/editor-support/dragonbones/armature/Bone.cpp", - "cocos/editor-support/dragonbones/armature/Bone.h", - "cocos/editor-support/dragonbones/armature/Constraint.cpp", - "cocos/editor-support/dragonbones/armature/Constraint.h", - "cocos/editor-support/dragonbones/armature/DeformVertices.cpp", - "cocos/editor-support/dragonbones/armature/DeformVertices.h", - "cocos/editor-support/dragonbones/armature/IArmatureProxy.h", - "cocos/editor-support/dragonbones/armature/Slot.cpp", - "cocos/editor-support/dragonbones/armature/Slot.h", - "cocos/editor-support/dragonbones/armature/TransformObject.cpp", - "cocos/editor-support/dragonbones/armature/TransformObject.h", - "cocos/editor-support/dragonbones/core/BaseObject.cpp", - "cocos/editor-support/dragonbones/core/BaseObject.h", - "cocos/editor-support/dragonbones/core/DragonBones.cpp", - "cocos/editor-support/dragonbones/core/DragonBones.h", - "cocos/editor-support/dragonbones/event/EventObject.cpp", - "cocos/editor-support/dragonbones/event/EventObject.h", - "cocos/editor-support/dragonbones/event/IEventDispatcher.h", - "cocos/editor-support/dragonbones/factory/BaseFactory.cpp", - "cocos/editor-support/dragonbones/factory/BaseFactory.h", - "cocos/editor-support/dragonbones/geom/ColorTransform.h", - "cocos/editor-support/dragonbones/geom/Matrix.h", - "cocos/editor-support/dragonbones/geom/Point.cpp", - "cocos/editor-support/dragonbones/geom/Point.h", - "cocos/editor-support/dragonbones/geom/Rectangle.h", - "cocos/editor-support/dragonbones/geom/Transform.cpp", - "cocos/editor-support/dragonbones/geom/Transform.h", - "cocos/editor-support/dragonbones/model/AnimationConfig.cpp", - "cocos/editor-support/dragonbones/model/AnimationConfig.h", - "cocos/editor-support/dragonbones/model/AnimationData.cpp", - "cocos/editor-support/dragonbones/model/AnimationData.h", - "cocos/editor-support/dragonbones/model/ArmatureData.cpp", - "cocos/editor-support/dragonbones/model/ArmatureData.h", - "cocos/editor-support/dragonbones/model/BoundingBoxData.cpp", - "cocos/editor-support/dragonbones/model/BoundingBoxData.h", - "cocos/editor-support/dragonbones/model/CanvasData.cpp", - "cocos/editor-support/dragonbones/model/CanvasData.h", - "cocos/editor-support/dragonbones/model/ConstraintData.cpp", - "cocos/editor-support/dragonbones/model/ConstraintData.h", - "cocos/editor-support/dragonbones/model/DisplayData.cpp", - "cocos/editor-support/dragonbones/model/DisplayData.h", - "cocos/editor-support/dragonbones/model/DragonBonesData.cpp", - "cocos/editor-support/dragonbones/model/DragonBonesData.h", - "cocos/editor-support/dragonbones/model/SkinData.cpp", - "cocos/editor-support/dragonbones/model/SkinData.h", - "cocos/editor-support/dragonbones/model/TextureAtlasData.cpp", - "cocos/editor-support/dragonbones/model/TextureAtlasData.h", - "cocos/editor-support/dragonbones/model/UserData.cpp", - "cocos/editor-support/dragonbones/model/UserData.h", - "cocos/editor-support/dragonbones/parser/BinaryDataParser.cpp", - "cocos/editor-support/dragonbones/parser/BinaryDataParser.h", - "cocos/editor-support/dragonbones/parser/DataParser.cpp", - "cocos/editor-support/dragonbones/parser/DataParser.h", - "cocos/editor-support/dragonbones/parser/JSONDataParser.cpp", - "cocos/editor-support/dragonbones/parser/JSONDataParser.h", - "cocos/editor-support/middleware-adapter.cpp", - "cocos/editor-support/middleware-adapter.h", - "cocos/editor-support/spine-creator-support/AttachmentVertices.cpp", - "cocos/editor-support/spine-creator-support/AttachmentVertices.h", - "cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp", - "cocos/editor-support/spine-creator-support/SkeletonAnimation.h", - "cocos/editor-support/spine-creator-support/SkeletonCache.cpp", - "cocos/editor-support/spine-creator-support/SkeletonCache.h", - "cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp", - "cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.h", - "cocos/editor-support/spine-creator-support/SkeletonCacheMgr.cpp", - "cocos/editor-support/spine-creator-support/SkeletonCacheMgr.h", - "cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp", - "cocos/editor-support/spine-creator-support/SkeletonDataMgr.h", - "cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp", - "cocos/editor-support/spine-creator-support/SkeletonRenderer.h", - "cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp", - "cocos/editor-support/spine-creator-support/VertexEffectDelegate.h", - "cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp", - "cocos/editor-support/spine-creator-support/spine-cocos2dx.h", - "cocos/editor-support/spine/Animation.cpp", - "cocos/editor-support/spine/Animation.h", - "cocos/editor-support/spine/AnimationState.cpp", - "cocos/editor-support/spine/AnimationState.h", - "cocos/editor-support/spine/AnimationStateData.cpp", - "cocos/editor-support/spine/AnimationStateData.h", - "cocos/editor-support/spine/Atlas.cpp", - "cocos/editor-support/spine/Atlas.h", - "cocos/editor-support/spine/AtlasAttachmentLoader.cpp", - "cocos/editor-support/spine/AtlasAttachmentLoader.h", - "cocos/editor-support/spine/Attachment.cpp", - "cocos/editor-support/spine/Attachment.h", - "cocos/editor-support/spine/AttachmentLoader.cpp", - "cocos/editor-support/spine/AttachmentLoader.h", - "cocos/editor-support/spine/AttachmentTimeline.cpp", - "cocos/editor-support/spine/AttachmentTimeline.h", - "cocos/editor-support/spine/AttachmentType.h", - "cocos/editor-support/spine/BlendMode.h", - "cocos/editor-support/spine/Bone.cpp", - "cocos/editor-support/spine/Bone.h", - "cocos/editor-support/spine/BoneData.cpp", - "cocos/editor-support/spine/BoneData.h", - "cocos/editor-support/spine/BoundingBoxAttachment.cpp", - "cocos/editor-support/spine/BoundingBoxAttachment.h", - "cocos/editor-support/spine/ClippingAttachment.cpp", - "cocos/editor-support/spine/ClippingAttachment.h", - "cocos/editor-support/spine/Color.h", - "cocos/editor-support/spine/ColorTimeline.cpp", - "cocos/editor-support/spine/ColorTimeline.h", - "cocos/editor-support/spine/Constraint.cpp", - "cocos/editor-support/spine/Constraint.h", - "cocos/editor-support/spine/ConstraintData.cpp", - "cocos/editor-support/spine/ConstraintData.h", - "cocos/editor-support/spine/ContainerUtil.h", - "cocos/editor-support/spine/CurveTimeline.cpp", - "cocos/editor-support/spine/CurveTimeline.h", - "cocos/editor-support/spine/Debug.h", - "cocos/editor-support/spine/DeformTimeline.cpp", - "cocos/editor-support/spine/DeformTimeline.h", - "cocos/editor-support/spine/DrawOrderTimeline.cpp", - "cocos/editor-support/spine/DrawOrderTimeline.h", - "cocos/editor-support/spine/Event.cpp", - "cocos/editor-support/spine/Event.h", - "cocos/editor-support/spine/EventData.cpp", - "cocos/editor-support/spine/EventData.h", - "cocos/editor-support/spine/EventTimeline.cpp", - "cocos/editor-support/spine/EventTimeline.h", - "cocos/editor-support/spine/Extension.cpp", - "cocos/editor-support/spine/Extension.h", - "cocos/editor-support/spine/HasRendererObject.h", - "cocos/editor-support/spine/HashMap.h", - "cocos/editor-support/spine/IkConstraint.cpp", - "cocos/editor-support/spine/IkConstraint.h", - "cocos/editor-support/spine/IkConstraintData.cpp", - "cocos/editor-support/spine/IkConstraintData.h", - "cocos/editor-support/spine/IkConstraintTimeline.cpp", - "cocos/editor-support/spine/IkConstraintTimeline.h", - "cocos/editor-support/spine/Json.cpp", - "cocos/editor-support/spine/Json.h", - "cocos/editor-support/spine/LinkedMesh.cpp", - "cocos/editor-support/spine/LinkedMesh.h", - "cocos/editor-support/spine/MathUtil.cpp", - "cocos/editor-support/spine/MathUtil.h", - "cocos/editor-support/spine/MeshAttachment.cpp", - "cocos/editor-support/spine/MeshAttachment.h", - "cocos/editor-support/spine/MixBlend.h", - "cocos/editor-support/spine/MixDirection.h", - "cocos/editor-support/spine/PathAttachment.cpp", - "cocos/editor-support/spine/PathAttachment.h", - "cocos/editor-support/spine/PathConstraint.cpp", - "cocos/editor-support/spine/PathConstraint.h", - "cocos/editor-support/spine/PathConstraintData.cpp", - "cocos/editor-support/spine/PathConstraintData.h", - "cocos/editor-support/spine/PathConstraintMixTimeline.cpp", - "cocos/editor-support/spine/PathConstraintMixTimeline.h", - "cocos/editor-support/spine/PathConstraintPositionTimeline.cpp", - "cocos/editor-support/spine/PathConstraintPositionTimeline.h", - "cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp", - "cocos/editor-support/spine/PathConstraintSpacingTimeline.h", - "cocos/editor-support/spine/PointAttachment.cpp", - "cocos/editor-support/spine/PointAttachment.h", - "cocos/editor-support/spine/Pool.h", - "cocos/editor-support/spine/PositionMode.h", - "cocos/editor-support/spine/RTTI.cpp", - "cocos/editor-support/spine/RTTI.h", - "cocos/editor-support/spine/RegionAttachment.cpp", - "cocos/editor-support/spine/RegionAttachment.h", - "cocos/editor-support/spine/RotateMode.h", - "cocos/editor-support/spine/RotateTimeline.cpp", - "cocos/editor-support/spine/RotateTimeline.h", - "cocos/editor-support/spine/ScaleTimeline.cpp", - "cocos/editor-support/spine/ScaleTimeline.h", - "cocos/editor-support/spine/ShearTimeline.cpp", - "cocos/editor-support/spine/ShearTimeline.h", - "cocos/editor-support/spine/Skeleton.cpp", - "cocos/editor-support/spine/Skeleton.h", - "cocos/editor-support/spine/SkeletonBinary.cpp", - "cocos/editor-support/spine/SkeletonBinary.h", - "cocos/editor-support/spine/SkeletonBounds.cpp", - "cocos/editor-support/spine/SkeletonBounds.h", - "cocos/editor-support/spine/SkeletonClipping.cpp", - "cocos/editor-support/spine/SkeletonClipping.h", - "cocos/editor-support/spine/SkeletonData.cpp", - "cocos/editor-support/spine/SkeletonData.h", - "cocos/editor-support/spine/SkeletonJson.cpp", - "cocos/editor-support/spine/SkeletonJson.h", - "cocos/editor-support/spine/Skin.cpp", - "cocos/editor-support/spine/Skin.h", - "cocos/editor-support/spine/Slot.cpp", - "cocos/editor-support/spine/Slot.h", - "cocos/editor-support/spine/SlotData.cpp", - "cocos/editor-support/spine/SlotData.h", - "cocos/editor-support/spine/SpacingMode.h", - "cocos/editor-support/spine/SpineObject.cpp", - "cocos/editor-support/spine/SpineObject.h", - "cocos/editor-support/spine/SpineString.h", - "cocos/editor-support/spine/TextureLoader.cpp", - "cocos/editor-support/spine/TextureLoader.h", - "cocos/editor-support/spine/Timeline.cpp", - "cocos/editor-support/spine/Timeline.h", - "cocos/editor-support/spine/TimelineType.h", - "cocos/editor-support/spine/TransformConstraint.cpp", - "cocos/editor-support/spine/TransformConstraint.h", - "cocos/editor-support/spine/TransformConstraintData.cpp", - "cocos/editor-support/spine/TransformConstraintData.h", - "cocos/editor-support/spine/TransformConstraintTimeline.cpp", - "cocos/editor-support/spine/TransformConstraintTimeline.h", - "cocos/editor-support/spine/TransformMode.h", - "cocos/editor-support/spine/TranslateTimeline.cpp", - "cocos/editor-support/spine/TranslateTimeline.h", - "cocos/editor-support/spine/Triangulator.cpp", - "cocos/editor-support/spine/Triangulator.h", - "cocos/editor-support/spine/TwoColorTimeline.cpp", - "cocos/editor-support/spine/TwoColorTimeline.h", - "cocos/editor-support/spine/Updatable.cpp", - "cocos/editor-support/spine/Updatable.h", - "cocos/editor-support/spine/Vector.h", - "cocos/editor-support/spine/VertexAttachment.cpp", - "cocos/editor-support/spine/VertexAttachment.h", - "cocos/editor-support/spine/VertexEffect.cpp", - "cocos/editor-support/spine/VertexEffect.h", - "cocos/editor-support/spine/Vertices.h", - "cocos/editor-support/spine/dll.h", - "cocos/editor-support/spine/spine.h", - "cocos/math/Geometry.cpp", - "cocos/math/Geometry.h", - "cocos/math/Mat3.cpp", - "cocos/math/Mat3.h", - "cocos/math/Mat4.cpp", - "cocos/math/Mat4.h", - "cocos/math/Mat4.inl", - "cocos/math/Math.cpp", - "cocos/math/Math.h", - "cocos/math/MathBase.h", - "cocos/math/MathUtil.cpp", - "cocos/math/MathUtil.h", - "cocos/math/MathUtil.inl", - "cocos/math/MathUtilNeon.inl", - "cocos/math/MathUtilNeon64.inl", - "cocos/math/MathUtilSSE.inl", - "cocos/math/Quaternion.cpp", - "cocos/math/Quaternion.h", - "cocos/math/Quaternion.inl", - "cocos/math/Vec2.cpp", - "cocos/math/Vec2.h", - "cocos/math/Vec2.inl", - "cocos/math/Vec3.cpp", - "cocos/math/Vec3.h", - "cocos/math/Vec3.inl", - "cocos/math/Vec4.cpp", - "cocos/math/Vec4.h", - "cocos/math/Vec4.inl", - "cocos/math/Vertex.cpp", - "cocos/math/Vertex.h", - "cocos/network/Downloader-android.cpp", - "cocos/network/Downloader-android.h", - "cocos/network/Downloader-curl.cpp", - "cocos/network/Downloader-curl.h", - "cocos/network/Downloader.cpp", - "cocos/network/Downloader.h", - "cocos/network/DownloaderImpl-apple.h", - "cocos/network/DownloaderImpl-apple.mm", - "cocos/network/DownloaderImpl.h", - "cocos/network/HttpAsynConnection-apple.h", - "cocos/network/HttpAsynConnection-apple.m", - "cocos/network/HttpClient-android.cpp", - "cocos/network/HttpClient-apple.mm", - "cocos/network/HttpClient.cpp", - "cocos/network/HttpClient.h", - "cocos/network/HttpCookie.cpp", - "cocos/network/HttpCookie.h", - "cocos/network/HttpRequest.h", - "cocos/network/HttpResponse.h", - "cocos/network/SocketIO.cpp", - "cocos/network/SocketIO.h", - "cocos/network/Uri.cpp", - "cocos/network/Uri.h", - "cocos/network/WebSocket-apple.mm", - "cocos/network/WebSocket-libwebsockets.cpp", - "cocos/network/WebSocket.h", - "cocos/network/WebSocketServer.cpp", - "cocos/network/WebSocketServer.h", - "cocos/platform/Application.cpp", - "cocos/platform/Application.h", - "cocos/platform/CanvasRenderingContext2D.h", - "cocos/platform/Device.h", - "cocos/platform/FileUtils.cpp", - "cocos/platform/FileUtils.h", - "cocos/platform/Image.cpp", - "cocos/platform/Image.h", - "cocos/platform/SAXParser.cpp", - "cocos/platform/SAXParser.h", - "cocos/platform/StdC.h", - "cocos/platform/android/Application-android.cpp", - "cocos/platform/android/CanvasRenderingContext2D-android.cpp", - "cocos/platform/android/Device-android.cpp", - "cocos/platform/android/FileUtils-android.cpp", - "cocos/platform/android/FileUtils-android.h", - "cocos/platform/android/View.cpp", - "cocos/platform/android/View.h", - "cocos/platform/android/java/.classpath", - "cocos/platform/android/java/.project", - "cocos/platform/android/java/AndroidManifest.xml", - "cocos/platform/android/java/build.xml", - "cocos/platform/android/java/libs/", - "cocos/platform/android/java/libs/com.android.vending.expansion.zipfile.jar", - "cocos/platform/android/java/libs/okhttp-3.12.7.jar", - "cocos/platform/android/java/libs/okio-1.15.0.jar", - "cocos/platform/android/java/proguard-project.txt", - "cocos/platform/android/java/project.properties", - "cocos/platform/android/java/src/com/cocos/lib/CanvasRenderingContext2DImpl.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosActivity.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosDownloader.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosEditBoxActivity.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosHandler.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosHttpURLConnection.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosJavascriptJavaBridge.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosKeyCodeHandler.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosLocalStorage.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosNativeActivity.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosOrientationHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosReflectionHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosSensorHandler.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosSurfaceView.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosTouchHandler.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosVideoHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosWebView.java", - "cocos/platform/android/java/src/com/cocos/lib/CocosWebViewHelper.java", - "cocos/platform/android/java/src/com/cocos/lib/GlobalObject.java", - "cocos/platform/android/java/src/com/cocos/lib/Utils.java", - "cocos/platform/android/jni/JniCocosActivity.cpp", - "cocos/platform/android/jni/JniCocosActivity.h", - "cocos/platform/android/jni/JniCocosKeyCodeHandler.cpp", - "cocos/platform/android/jni/JniCocosOrientationHelper.cpp", - "cocos/platform/android/jni/JniCocosSurfaceView.cpp", - "cocos/platform/android/jni/JniCocosTouchHandler.cpp", - "cocos/platform/android/jni/JniHelper.cpp", - "cocos/platform/android/jni/JniHelper.h", - "cocos/platform/android/jni/JniImp.cpp", - "cocos/platform/android/jni/JniImp.h", - "cocos/platform/android/libcocos2dx/AndroidManifest.xml", - "cocos/platform/android/libcocos2dx/build.gradle", - "cocos/platform/android/libcocos2dx/proguard-rules.pro", - "cocos/platform/android/libcocos2dx/src/main/res/values-zh-rCN/strings.xml", - "cocos/platform/android/libcocos2dx/src/main/res/values/strings.xml", - "cocos/platform/apple/CanvasRenderingContext2D-apple.mm", - "cocos/platform/apple/Device-apple.h", - "cocos/platform/apple/Device-apple.mm", - "cocos/platform/apple/FileUtils-apple.h", - "cocos/platform/apple/FileUtils-apple.mm", - "cocos/platform/ios/Application-ios.mm", - "cocos/platform/ios/Device-ios.mm", - "cocos/platform/ios/Reachability.cpp", - "cocos/platform/ios/Reachability.h", - "cocos/platform/ios/View.h", - "cocos/platform/ios/View.mm", - "cocos/platform/mac/Application-mac.mm", - "cocos/platform/mac/Device-mac.mm", - "cocos/platform/mac/KeyCodeHelper.cpp", - "cocos/platform/mac/KeyCodeHelper.h", - "cocos/platform/mac/View.h", - "cocos/platform/mac/View.mm", - "cocos/platform/mac/cocos2d-prefix.pch", - "cocos/platform/win32/Application-win32.cpp", - "cocos/platform/win32/CanvasRenderingContext2D-win32.cpp", - "cocos/platform/win32/Device-win32.cpp", - "cocos/platform/win32/FileUtils-win32.cpp", - "cocos/platform/win32/FileUtils-win32.h", - "cocos/platform/win32/Utils-win32.cpp", - "cocos/platform/win32/Utils-win32.h", - "cocos/platform/win32/View-win32.cpp", - "cocos/platform/win32/View-win32.h", - "cocos/platform/win32/compat/stdint.h", - "cocos/platform/win32/inet_pton_mingw.cpp", - "cocos/platform/win32/inet_pton_mingw.h", - "cocos/renderer/GFXDeviceManager.h", - "cocos/renderer/frame-graph/Blackboard.h", - "cocos/renderer/frame-graph/CallbackPass.h", - "cocos/renderer/frame-graph/DevicePass.cpp", - "cocos/renderer/frame-graph/DevicePass.h", - "cocos/renderer/frame-graph/DevicePassResourceTable.cpp", - "cocos/renderer/frame-graph/DevicePassResourceTable.h", - "cocos/renderer/frame-graph/FrameGraph.cpp", - "cocos/renderer/frame-graph/FrameGraph.h", - "cocos/renderer/frame-graph/Handle.h", - "cocos/renderer/frame-graph/PassInsertPointManager.cpp", - "cocos/renderer/frame-graph/PassInsertPointManager.h", - "cocos/renderer/frame-graph/PassNode.cpp", - "cocos/renderer/frame-graph/PassNode.h", - "cocos/renderer/frame-graph/PassNodeBuilder.cpp", - "cocos/renderer/frame-graph/PassNodeBuilder.h", - "cocos/renderer/frame-graph/RenderTargetAttachment.h", - "cocos/renderer/frame-graph/Resource.h", - "cocos/renderer/frame-graph/ResourceAllocator.h", - "cocos/renderer/frame-graph/ResourceEntry.h", - "cocos/renderer/frame-graph/ResourceNode.h", - "cocos/renderer/frame-graph/VirtualResource.cpp", - "cocos/renderer/frame-graph/VirtualResource.h", - "cocos/renderer/gfx-agent/BufferAgent.cpp", - "cocos/renderer/gfx-agent/BufferAgent.h", - "cocos/renderer/gfx-agent/CommandBufferAgent.cpp", - "cocos/renderer/gfx-agent/CommandBufferAgent.h", - "cocos/renderer/gfx-agent/DescriptorSetAgent.cpp", - "cocos/renderer/gfx-agent/DescriptorSetAgent.h", - "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp", - "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h", - "cocos/renderer/gfx-agent/DeviceAgent.cpp", - "cocos/renderer/gfx-agent/DeviceAgent.h", - "cocos/renderer/gfx-agent/FramebufferAgent.cpp", - "cocos/renderer/gfx-agent/FramebufferAgent.h", - "cocos/renderer/gfx-agent/InputAssemblerAgent.cpp", - "cocos/renderer/gfx-agent/InputAssemblerAgent.h", - "cocos/renderer/gfx-agent/LinearAllocatorPool.h", - "cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp", - "cocos/renderer/gfx-agent/PipelineLayoutAgent.h", - "cocos/renderer/gfx-agent/PipelineStateAgent.cpp", - "cocos/renderer/gfx-agent/PipelineStateAgent.h", - "cocos/renderer/gfx-agent/QueueAgent.cpp", - "cocos/renderer/gfx-agent/QueueAgent.h", - "cocos/renderer/gfx-agent/RenderPassAgent.cpp", - "cocos/renderer/gfx-agent/RenderPassAgent.h", - "cocos/renderer/gfx-agent/SamplerAgent.cpp", - "cocos/renderer/gfx-agent/SamplerAgent.h", - "cocos/renderer/gfx-agent/ShaderAgent.cpp", - "cocos/renderer/gfx-agent/ShaderAgent.h", - "cocos/renderer/gfx-agent/TextureAgent.cpp", - "cocos/renderer/gfx-agent/TextureAgent.h", - "cocos/renderer/gfx-base/GFXBase.h", - "cocos/renderer/gfx-base/GFXBuffer.cpp", - "cocos/renderer/gfx-base/GFXBuffer.h", - "cocos/renderer/gfx-base/GFXCommandBuffer.cpp", - "cocos/renderer/gfx-base/GFXCommandBuffer.h", - "cocos/renderer/gfx-base/GFXContext.cpp", - "cocos/renderer/gfx-base/GFXContext.h", - "cocos/renderer/gfx-base/GFXDef-common.h", - "cocos/renderer/gfx-base/GFXDef.cpp", - "cocos/renderer/gfx-base/GFXDef.h", - "cocos/renderer/gfx-base/GFXDescriptorSet.cpp", - "cocos/renderer/gfx-base/GFXDescriptorSet.h", - "cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp", - "cocos/renderer/gfx-base/GFXDescriptorSetLayout.h", - "cocos/renderer/gfx-base/GFXDevice.cpp", - "cocos/renderer/gfx-base/GFXDevice.h", - "cocos/renderer/gfx-base/GFXFramebuffer.cpp", - "cocos/renderer/gfx-base/GFXFramebuffer.h", - "cocos/renderer/gfx-base/GFXGlobalBarrier.cpp", - "cocos/renderer/gfx-base/GFXGlobalBarrier.h", - "cocos/renderer/gfx-base/GFXInputAssembler.cpp", - "cocos/renderer/gfx-base/GFXInputAssembler.h", - "cocos/renderer/gfx-base/GFXObject.cpp", - "cocos/renderer/gfx-base/GFXObject.h", - "cocos/renderer/gfx-base/GFXPipelineLayout.cpp", - "cocos/renderer/gfx-base/GFXPipelineLayout.h", - "cocos/renderer/gfx-base/GFXPipelineState.cpp", - "cocos/renderer/gfx-base/GFXPipelineState.h", - "cocos/renderer/gfx-base/GFXQueue.cpp", - "cocos/renderer/gfx-base/GFXQueue.h", - "cocos/renderer/gfx-base/GFXRenderPass.cpp", - "cocos/renderer/gfx-base/GFXRenderPass.h", - "cocos/renderer/gfx-base/GFXSampler.cpp", - "cocos/renderer/gfx-base/GFXSampler.h", - "cocos/renderer/gfx-base/GFXShader.cpp", - "cocos/renderer/gfx-base/GFXShader.h", - "cocos/renderer/gfx-base/GFXTexture.cpp", - "cocos/renderer/gfx-base/GFXTexture.h", - "cocos/renderer/gfx-base/GFXTextureBarrier.cpp", - "cocos/renderer/gfx-base/GFXTextureBarrier.h", - "cocos/renderer/gfx-empty/EmptyBuffer.cpp", - "cocos/renderer/gfx-empty/EmptyBuffer.h", - "cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp", - "cocos/renderer/gfx-empty/EmptyCommandBuffer.h", - "cocos/renderer/gfx-empty/EmptyContext.cpp", - "cocos/renderer/gfx-empty/EmptyContext.h", - "cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp", - "cocos/renderer/gfx-empty/EmptyDescriptorSet.h", - "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp", - "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h", - "cocos/renderer/gfx-empty/EmptyDevice.cpp", - "cocos/renderer/gfx-empty/EmptyDevice.h", - "cocos/renderer/gfx-empty/EmptyFramebuffer.cpp", - "cocos/renderer/gfx-empty/EmptyFramebuffer.h", - "cocos/renderer/gfx-empty/EmptyInputAssembler.cpp", - "cocos/renderer/gfx-empty/EmptyInputAssembler.h", - "cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp", - "cocos/renderer/gfx-empty/EmptyPipelineLayout.h", - "cocos/renderer/gfx-empty/EmptyPipelineState.cpp", - "cocos/renderer/gfx-empty/EmptyPipelineState.h", - "cocos/renderer/gfx-empty/EmptyQueue.cpp", - "cocos/renderer/gfx-empty/EmptyQueue.h", - "cocos/renderer/gfx-empty/EmptyRenderPass.cpp", - "cocos/renderer/gfx-empty/EmptyRenderPass.h", - "cocos/renderer/gfx-empty/EmptySampler.cpp", - "cocos/renderer/gfx-empty/EmptySampler.h", - "cocos/renderer/gfx-empty/EmptyShader.cpp", - "cocos/renderer/gfx-empty/EmptyShader.h", - "cocos/renderer/gfx-empty/EmptyTexture.cpp", - "cocos/renderer/gfx-empty/EmptyTexture.h", - "cocos/renderer/gfx-gles-common/GLESCommandPool.h", - "cocos/renderer/gfx-gles-common/eglw.cpp", - "cocos/renderer/gfx-gles-common/eglw.h", - "cocos/renderer/gfx-gles-common/gles2w.cpp", - "cocos/renderer/gfx-gles-common/gles2w.h", - "cocos/renderer/gfx-gles-common/gles3w.cpp", - "cocos/renderer/gfx-gles-common/gles3w.h", - "cocos/renderer/gfx-gles2/GFXGLES2.h", - "cocos/renderer/gfx-gles2/GLES2Buffer.cpp", - "cocos/renderer/gfx-gles2/GLES2Buffer.h", - "cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp", - "cocos/renderer/gfx-gles2/GLES2CommandBuffer.h", - "cocos/renderer/gfx-gles2/GLES2Commands.cpp", - "cocos/renderer/gfx-gles2/GLES2Commands.h", - "cocos/renderer/gfx-gles2/GLES2Context.cpp", - "cocos/renderer/gfx-gles2/GLES2Context.h", - "cocos/renderer/gfx-gles2/GLES2Context.mm", - "cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp", - "cocos/renderer/gfx-gles2/GLES2DescriptorSet.h", - "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp", - "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h", - "cocos/renderer/gfx-gles2/GLES2Device.cpp", - "cocos/renderer/gfx-gles2/GLES2Device.h", - "cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp", - "cocos/renderer/gfx-gles2/GLES2Framebuffer.h", - "cocos/renderer/gfx-gles2/GLES2GPUObjects.h", - "cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp", - "cocos/renderer/gfx-gles2/GLES2InputAssembler.h", - "cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp", - "cocos/renderer/gfx-gles2/GLES2PipelineLayout.h", - "cocos/renderer/gfx-gles2/GLES2PipelineState.cpp", - "cocos/renderer/gfx-gles2/GLES2PipelineState.h", - "cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp", - "cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h", - "cocos/renderer/gfx-gles2/GLES2Queue.cpp", - "cocos/renderer/gfx-gles2/GLES2Queue.h", - "cocos/renderer/gfx-gles2/GLES2RenderPass.cpp", - "cocos/renderer/gfx-gles2/GLES2RenderPass.h", - "cocos/renderer/gfx-gles2/GLES2Sampler.cpp", - "cocos/renderer/gfx-gles2/GLES2Sampler.h", - "cocos/renderer/gfx-gles2/GLES2Shader.cpp", - "cocos/renderer/gfx-gles2/GLES2Shader.h", - "cocos/renderer/gfx-gles2/GLES2Std.cpp", - "cocos/renderer/gfx-gles2/GLES2Std.h", - "cocos/renderer/gfx-gles2/GLES2Texture.cpp", - "cocos/renderer/gfx-gles2/GLES2Texture.h", - "cocos/renderer/gfx-gles2/GLES2Wrangler.cpp", - "cocos/renderer/gfx-gles2/GLES2Wrangler.h", - "cocos/renderer/gfx-gles2/GLES2Wrangler.mm", - "cocos/renderer/gfx-gles3/GFXGLES3.h", - "cocos/renderer/gfx-gles3/GLES3Buffer.cpp", - "cocos/renderer/gfx-gles3/GLES3Buffer.h", - "cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp", - "cocos/renderer/gfx-gles3/GLES3CommandBuffer.h", - "cocos/renderer/gfx-gles3/GLES3Commands.cpp", - "cocos/renderer/gfx-gles3/GLES3Commands.h", - "cocos/renderer/gfx-gles3/GLES3Context.cpp", - "cocos/renderer/gfx-gles3/GLES3Context.h", - "cocos/renderer/gfx-gles3/GLES3Context.mm", - "cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp", - "cocos/renderer/gfx-gles3/GLES3DescriptorSet.h", - "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp", - "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h", - "cocos/renderer/gfx-gles3/GLES3Device.cpp", - "cocos/renderer/gfx-gles3/GLES3Device.h", - "cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp", - "cocos/renderer/gfx-gles3/GLES3Framebuffer.h", - "cocos/renderer/gfx-gles3/GLES3GPUObjects.h", - "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp", - "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h", - "cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp", - "cocos/renderer/gfx-gles3/GLES3InputAssembler.h", - "cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp", - "cocos/renderer/gfx-gles3/GLES3PipelineLayout.h", - "cocos/renderer/gfx-gles3/GLES3PipelineState.cpp", - "cocos/renderer/gfx-gles3/GLES3PipelineState.h", - "cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp", - "cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h", - "cocos/renderer/gfx-gles3/GLES3Queue.cpp", - "cocos/renderer/gfx-gles3/GLES3Queue.h", - "cocos/renderer/gfx-gles3/GLES3RenderPass.cpp", - "cocos/renderer/gfx-gles3/GLES3RenderPass.h", - "cocos/renderer/gfx-gles3/GLES3Sampler.cpp", - "cocos/renderer/gfx-gles3/GLES3Sampler.h", - "cocos/renderer/gfx-gles3/GLES3Shader.cpp", - "cocos/renderer/gfx-gles3/GLES3Shader.h", - "cocos/renderer/gfx-gles3/GLES3Std.cpp", - "cocos/renderer/gfx-gles3/GLES3Std.h", - "cocos/renderer/gfx-gles3/GLES3Texture.cpp", - "cocos/renderer/gfx-gles3/GLES3Texture.h", - "cocos/renderer/gfx-gles3/GLES3Wrangler.cpp", - "cocos/renderer/gfx-gles3/GLES3Wrangler.h", - "cocos/renderer/gfx-gles3/GLES3Wrangler.mm", - "cocos/renderer/gfx-metal/GFXMTL.h", - "cocos/renderer/gfx-metal/MTLBuffer.h", - "cocos/renderer/gfx-metal/MTLBuffer.mm", - "cocos/renderer/gfx-metal/MTLCommandBuffer.h", - "cocos/renderer/gfx-metal/MTLCommandBuffer.mm", - "cocos/renderer/gfx-metal/MTLCommandEncoder.h", - "cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h", - "cocos/renderer/gfx-metal/MTLConfig.h", - "cocos/renderer/gfx-metal/MTLContext.h", - "cocos/renderer/gfx-metal/MTLContext.mm", - "cocos/renderer/gfx-metal/MTLDescriptorSet.h", - "cocos/renderer/gfx-metal/MTLDescriptorSet.mm", - "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h", - "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm", - "cocos/renderer/gfx-metal/MTLDevice.h", - "cocos/renderer/gfx-metal/MTLDevice.mm", - "cocos/renderer/gfx-metal/MTLFramebuffer.h", - "cocos/renderer/gfx-metal/MTLFramebuffer.mm", - "cocos/renderer/gfx-metal/MTLGPUObjects.h", - "cocos/renderer/gfx-metal/MTLInputAssembler.h", - "cocos/renderer/gfx-metal/MTLInputAssembler.mm", - "cocos/renderer/gfx-metal/MTLPipelineLayout.h", - "cocos/renderer/gfx-metal/MTLPipelineLayout.mm", - "cocos/renderer/gfx-metal/MTLPipelineState.h", - "cocos/renderer/gfx-metal/MTLPipelineState.mm", - "cocos/renderer/gfx-metal/MTLQueue.h", - "cocos/renderer/gfx-metal/MTLQueue.mm", - "cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h", - "cocos/renderer/gfx-metal/MTLRenderPass.h", - "cocos/renderer/gfx-metal/MTLRenderPass.mm", - "cocos/renderer/gfx-metal/MTLSampler.h", - "cocos/renderer/gfx-metal/MTLSampler.mm", - "cocos/renderer/gfx-metal/MTLSemaphore.h", - "cocos/renderer/gfx-metal/MTLShader.h", - "cocos/renderer/gfx-metal/MTLShader.mm", - "cocos/renderer/gfx-metal/MTLStd.cpp", - "cocos/renderer/gfx-metal/MTLStd.h", - "cocos/renderer/gfx-metal/MTLTexture.h", - "cocos/renderer/gfx-metal/MTLTexture.mm", - "cocos/renderer/gfx-metal/MTLUtils.h", - "cocos/renderer/gfx-metal/MTLUtils.mm", - "cocos/renderer/gfx-validator/BufferValidator.cpp", - "cocos/renderer/gfx-validator/BufferValidator.h", - "cocos/renderer/gfx-validator/CommandBufferValidator.cpp", - "cocos/renderer/gfx-validator/CommandBufferValidator.h", - "cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp", - "cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h", - "cocos/renderer/gfx-validator/DescriptorSetValidator.cpp", - "cocos/renderer/gfx-validator/DescriptorSetValidator.h", - "cocos/renderer/gfx-validator/DeviceValidator.cpp", - "cocos/renderer/gfx-validator/DeviceValidator.h", - "cocos/renderer/gfx-validator/FramebufferValidator.cpp", - "cocos/renderer/gfx-validator/FramebufferValidator.h", - "cocos/renderer/gfx-validator/InputAssemblerValidator.cpp", - "cocos/renderer/gfx-validator/InputAssemblerValidator.h", - "cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp", - "cocos/renderer/gfx-validator/PipelineLayoutValidator.h", - "cocos/renderer/gfx-validator/PipelineStateValidator.cpp", - "cocos/renderer/gfx-validator/PipelineStateValidator.h", - "cocos/renderer/gfx-validator/QueueValidator.cpp", - "cocos/renderer/gfx-validator/QueueValidator.h", - "cocos/renderer/gfx-validator/RenderPassValidator.cpp", - "cocos/renderer/gfx-validator/RenderPassValidator.h", - "cocos/renderer/gfx-validator/SamplerValidator.cpp", - "cocos/renderer/gfx-validator/SamplerValidator.h", - "cocos/renderer/gfx-validator/ShaderValidator.cpp", - "cocos/renderer/gfx-validator/ShaderValidator.h", - "cocos/renderer/gfx-validator/TextureValidator.cpp", - "cocos/renderer/gfx-validator/TextureValidator.h", - "cocos/renderer/gfx-vulkan/GFXVulkan.h", - "cocos/renderer/gfx-vulkan/VKBuffer.cpp", - "cocos/renderer/gfx-vulkan/VKBuffer.h", - "cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp", - "cocos/renderer/gfx-vulkan/VKCommandBuffer.h", - "cocos/renderer/gfx-vulkan/VKCommands.cpp", - "cocos/renderer/gfx-vulkan/VKCommands.h", - "cocos/renderer/gfx-vulkan/VKContext.cpp", - "cocos/renderer/gfx-vulkan/VKContext.h", - "cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp", - "cocos/renderer/gfx-vulkan/VKDescriptorSet.h", - "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp", - "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h", - "cocos/renderer/gfx-vulkan/VKDevice.cpp", - "cocos/renderer/gfx-vulkan/VKDevice.h", - "cocos/renderer/gfx-vulkan/VKFramebuffer.cpp", - "cocos/renderer/gfx-vulkan/VKFramebuffer.h", - "cocos/renderer/gfx-vulkan/VKGPUObjects.h", - "cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp", - "cocos/renderer/gfx-vulkan/VKGlobalBarrier.h", - "cocos/renderer/gfx-vulkan/VKInputAssembler.cpp", - "cocos/renderer/gfx-vulkan/VKInputAssembler.h", - "cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp", - "cocos/renderer/gfx-vulkan/VKPipelineLayout.h", - "cocos/renderer/gfx-vulkan/VKPipelineState.cpp", - "cocos/renderer/gfx-vulkan/VKPipelineState.h", - "cocos/renderer/gfx-vulkan/VKQueue.cpp", - "cocos/renderer/gfx-vulkan/VKQueue.h", - "cocos/renderer/gfx-vulkan/VKRenderPass.cpp", - "cocos/renderer/gfx-vulkan/VKRenderPass.h", - "cocos/renderer/gfx-vulkan/VKSPIRV.h", - "cocos/renderer/gfx-vulkan/VKSampler.cpp", - "cocos/renderer/gfx-vulkan/VKSampler.h", - "cocos/renderer/gfx-vulkan/VKShader.cpp", - "cocos/renderer/gfx-vulkan/VKShader.h", - "cocos/renderer/gfx-vulkan/VKStd.cpp", - "cocos/renderer/gfx-vulkan/VKStd.h", - "cocos/renderer/gfx-vulkan/VKTexture.cpp", - "cocos/renderer/gfx-vulkan/VKTexture.h", - "cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp", - "cocos/renderer/gfx-vulkan/VKTextureBarrier.h", - "cocos/renderer/gfx-vulkan/VKUtils.h", - "cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h", - "cocos/renderer/gfx-vulkan/vk_mem_alloc.h", - "cocos/renderer/gfx-vulkan/volk.c", - "cocos/renderer/gfx-vulkan/volk.h", - "cocos/renderer/pipeline/BatchedBuffer.cpp", - "cocos/renderer/pipeline/BatchedBuffer.h", - "cocos/renderer/pipeline/Define.cpp", - "cocos/renderer/pipeline/Define.h", - "cocos/renderer/pipeline/InstancedBuffer.cpp", - "cocos/renderer/pipeline/InstancedBuffer.h", - "cocos/renderer/pipeline/PipelineSceneData.cpp", - "cocos/renderer/pipeline/PipelineSceneData.h", - "cocos/renderer/pipeline/PipelineStateManager.cpp", - "cocos/renderer/pipeline/PipelineStateManager.h", - "cocos/renderer/pipeline/PipelineUBO.cpp", - "cocos/renderer/pipeline/PipelineUBO.h", - "cocos/renderer/pipeline/PlanarShadowQueue.cpp", - "cocos/renderer/pipeline/PlanarShadowQueue.h", - "cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp", - "cocos/renderer/pipeline/RenderAdditiveLightQueue.h", - "cocos/renderer/pipeline/RenderBatchedQueue.cpp", - "cocos/renderer/pipeline/RenderBatchedQueue.h", - "cocos/renderer/pipeline/RenderFlow.cpp", - "cocos/renderer/pipeline/RenderFlow.h", - "cocos/renderer/pipeline/RenderInstancedQueue.cpp", - "cocos/renderer/pipeline/RenderInstancedQueue.h", - "cocos/renderer/pipeline/RenderPipeline.cpp", - "cocos/renderer/pipeline/RenderPipeline.h", - "cocos/renderer/pipeline/RenderQueue.cpp", - "cocos/renderer/pipeline/RenderQueue.h", - "cocos/renderer/pipeline/RenderStage.cpp", - "cocos/renderer/pipeline/RenderStage.h", - "cocos/renderer/pipeline/SceneCulling.cpp", - "cocos/renderer/pipeline/SceneCulling.h", - "cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp", - "cocos/renderer/pipeline/ShadowMapBatchedQueue.h", - "cocos/renderer/pipeline/deferred/DeferredPipeline.cpp", - "cocos/renderer/pipeline/deferred/DeferredPipeline.h", - "cocos/renderer/pipeline/deferred/GbufferFlow.cpp", - "cocos/renderer/pipeline/deferred/GbufferFlow.h", - "cocos/renderer/pipeline/deferred/GbufferStage.cpp", - "cocos/renderer/pipeline/deferred/GbufferStage.h", - "cocos/renderer/pipeline/deferred/LightingFlow.cpp", - "cocos/renderer/pipeline/deferred/LightingFlow.h", - "cocos/renderer/pipeline/deferred/LightingStage.cpp", - "cocos/renderer/pipeline/deferred/LightingStage.h", - "cocos/renderer/pipeline/deferred/PostprocessStage.cpp", - "cocos/renderer/pipeline/deferred/PostprocessStage.h", - "cocos/renderer/pipeline/forward/ForwardFlow.cpp", - "cocos/renderer/pipeline/forward/ForwardFlow.h", - "cocos/renderer/pipeline/forward/ForwardPipeline.cpp", - "cocos/renderer/pipeline/forward/ForwardPipeline.h", - "cocos/renderer/pipeline/forward/ForwardStage.cpp", - "cocos/renderer/pipeline/forward/ForwardStage.h", - "cocos/renderer/pipeline/forward/UIPhase.cpp", - "cocos/renderer/pipeline/forward/UIPhase.h", - "cocos/renderer/pipeline/helper/DefineMap.cpp", - "cocos/renderer/pipeline/helper/DefineMap.h", - "cocos/renderer/pipeline/helper/SharedMemory.cpp", - "cocos/renderer/pipeline/helper/SharedMemory.h", - "cocos/renderer/pipeline/shadow/ShadowFlow.cpp", - "cocos/renderer/pipeline/shadow/ShadowFlow.h", - "cocos/renderer/pipeline/shadow/ShadowStage.cpp", - "cocos/renderer/pipeline/shadow/ShadowStage.h", - "cocos/storage/local-storage/LocalStorage-android.cpp", - "cocos/storage/local-storage/LocalStorage.cpp", - "cocos/storage/local-storage/LocalStorage.h", - "cocos/ui/edit-box/EditBox-android.cpp", - "cocos/ui/edit-box/EditBox-ios.mm", - "cocos/ui/edit-box/EditBox-mac.mm", - "cocos/ui/edit-box/EditBox-win32.cpp", - "cocos/ui/edit-box/EditBox.h", - "cocos/ui/videoplayer/VideoPlayer-android.cpp", - "cocos/ui/videoplayer/VideoPlayer-ios.mm", - "cocos/ui/videoplayer/VideoPlayer.h", - "cocos/ui/webview/WebView-inl.h", - "cocos/ui/webview/WebView.h", - "cocos/ui/webview/WebViewImpl-android.cpp", - "cocos/ui/webview/WebViewImpl-android.h", - "cocos/ui/webview/WebViewImpl-ios.h", - "cocos/ui/webview/WebViewImpl-ios.mm", - "extensions/ExtensionExport.h", - "extensions/ExtensionMacros.h", - "extensions/assets-manager/AssetsManagerEx.cpp", - "extensions/assets-manager/AssetsManagerEx.h", - "extensions/assets-manager/AsyncTaskPool.cpp", - "extensions/assets-manager/AsyncTaskPool.h", - "extensions/assets-manager/EventAssetsManagerEx.cpp", - "extensions/assets-manager/EventAssetsManagerEx.h", - "extensions/assets-manager/Manifest.cpp", - "extensions/assets-manager/Manifest.h", - "extensions/cocos-ext.h", - "external/CMakeLists.txt", - "external/android/CMakeLists.txt", - "external/android/arm64-v8a/glslang/libOGLCompiler.a", - "external/android/arm64-v8a/glslang/libOSDependent.a", - "external/android/arm64-v8a/glslang/libSPIRV.a", - "external/android/arm64-v8a/glslang/libglslang-default-resource-limits.a", - "external/android/arm64-v8a/glslang/libglslang.a", - "external/android/arm64-v8a/include/StandAlone/ResourceLimits.h", - "external/android/arm64-v8a/include/StandAlone/resource_limits_c.h", - "external/android/arm64-v8a/include/freetype/config/ftconfig.h", - "external/android/arm64-v8a/include/freetype/config/ftheader.h", - "external/android/arm64-v8a/include/freetype/config/ftmodule.h", - "external/android/arm64-v8a/include/freetype/config/ftoption.h", - "external/android/arm64-v8a/include/freetype/config/ftstdlib.h", - "external/android/arm64-v8a/include/freetype/freetype.h", - "external/android/arm64-v8a/include/freetype/ft2build.h", - "external/android/arm64-v8a/include/freetype/ftadvanc.h", - "external/android/arm64-v8a/include/freetype/ftautoh.h", - "external/android/arm64-v8a/include/freetype/ftbbox.h", - "external/android/arm64-v8a/include/freetype/ftbdf.h", - "external/android/arm64-v8a/include/freetype/ftbitmap.h", - "external/android/arm64-v8a/include/freetype/ftbzip2.h", - "external/android/arm64-v8a/include/freetype/ftcache.h", - "external/android/arm64-v8a/include/freetype/ftcffdrv.h", - "external/android/arm64-v8a/include/freetype/ftchapters.h", - "external/android/arm64-v8a/include/freetype/ftcid.h", - "external/android/arm64-v8a/include/freetype/fterrdef.h", - "external/android/arm64-v8a/include/freetype/fterrors.h", - "external/android/arm64-v8a/include/freetype/ftfntfmt.h", - "external/android/arm64-v8a/include/freetype/ftgasp.h", - "external/android/arm64-v8a/include/freetype/ftglyph.h", - "external/android/arm64-v8a/include/freetype/ftgxval.h", - "external/android/arm64-v8a/include/freetype/ftgzip.h", - "external/android/arm64-v8a/include/freetype/ftimage.h", - "external/android/arm64-v8a/include/freetype/ftincrem.h", - "external/android/arm64-v8a/include/freetype/ftlcdfil.h", - "external/android/arm64-v8a/include/freetype/ftlist.h", - "external/android/arm64-v8a/include/freetype/ftlzw.h", - "external/android/arm64-v8a/include/freetype/ftmac.h", - "external/android/arm64-v8a/include/freetype/ftmm.h", - "external/android/arm64-v8a/include/freetype/ftmodapi.h", - "external/android/arm64-v8a/include/freetype/ftmoderr.h", - "external/android/arm64-v8a/include/freetype/ftotval.h", - "external/android/arm64-v8a/include/freetype/ftoutln.h", - "external/android/arm64-v8a/include/freetype/ftpfr.h", - "external/android/arm64-v8a/include/freetype/ftrender.h", - "external/android/arm64-v8a/include/freetype/ftsizes.h", - "external/android/arm64-v8a/include/freetype/ftsnames.h", - "external/android/arm64-v8a/include/freetype/ftstroke.h", - "external/android/arm64-v8a/include/freetype/ftsynth.h", - "external/android/arm64-v8a/include/freetype/ftsystem.h", - "external/android/arm64-v8a/include/freetype/fttrigon.h", - "external/android/arm64-v8a/include/freetype/ftttdrv.h", - "external/android/arm64-v8a/include/freetype/fttypes.h", - "external/android/arm64-v8a/include/freetype/ftwinfnt.h", - "external/android/arm64-v8a/include/freetype/t1tables.h", - "external/android/arm64-v8a/include/freetype/ttnameid.h", - "external/android/arm64-v8a/include/freetype/tttables.h", - "external/android/arm64-v8a/include/freetype/tttags.h", - "external/android/arm64-v8a/include/freetype/ttunpat.h", - "external/android/arm64-v8a/include/glslang/Include/BaseTypes.h", - "external/android/arm64-v8a/include/glslang/Include/Common.h", - "external/android/arm64-v8a/include/glslang/Include/ConstantUnion.h", - "external/android/arm64-v8a/include/glslang/Include/InfoSink.h", - "external/android/arm64-v8a/include/glslang/Include/InitializeGlobals.h", - "external/android/arm64-v8a/include/glslang/Include/PoolAlloc.h", - "external/android/arm64-v8a/include/glslang/Include/ResourceLimits.h", - "external/android/arm64-v8a/include/glslang/Include/ShHandle.h", - "external/android/arm64-v8a/include/glslang/Include/Types.h", - "external/android/arm64-v8a/include/glslang/Include/arrays.h", - "external/android/arm64-v8a/include/glslang/Include/glslang_c_interface.h", - "external/android/arm64-v8a/include/glslang/Include/glslang_c_shader_types.h", - "external/android/arm64-v8a/include/glslang/Include/intermediate.h", - "external/android/arm64-v8a/include/glslang/Include/revision.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/Initialize.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/LiveTraverser.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/ParseHelper.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/RemoveTree.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/Scan.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/ScanContext.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/SymbolTable.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/Versions.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/attribute.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/gl_types.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/iomapper.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/localintermediate.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/parseVersions.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/android/arm64-v8a/include/glslang/MachineIndependent/reflection.h", - "external/android/arm64-v8a/include/glslang/Public/ShaderLang.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.std.450.h", - "external/android/arm64-v8a/include/glslang/SPIRV/GlslangToSpv.h", - "external/android/arm64-v8a/include/glslang/SPIRV/Logger.h", - "external/android/arm64-v8a/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/android/arm64-v8a/include/glslang/SPIRV/SPVRemapper.h", - "external/android/arm64-v8a/include/glslang/SPIRV/SpvBuilder.h", - "external/android/arm64-v8a/include/glslang/SPIRV/SpvTools.h", - "external/android/arm64-v8a/include/glslang/SPIRV/bitutils.h", - "external/android/arm64-v8a/include/glslang/SPIRV/disassemble.h", - "external/android/arm64-v8a/include/glslang/SPIRV/doc.h", - "external/android/arm64-v8a/include/glslang/SPIRV/hex_float.h", - "external/android/arm64-v8a/include/glslang/SPIRV/spirv.hpp", - "external/android/arm64-v8a/include/glslang/SPIRV/spvIR.h", - "external/android/arm64-v8a/include/jpeg/jconfig.h", - "external/android/arm64-v8a/include/jpeg/jerror.h", - "external/android/arm64-v8a/include/jpeg/jmorecfg.h", - "external/android/arm64-v8a/include/jpeg/jpeglib.h", - "external/android/arm64-v8a/include/openssl/aes.h", - "external/android/arm64-v8a/include/openssl/asn1.h", - "external/android/arm64-v8a/include/openssl/asn1_mac.h", - "external/android/arm64-v8a/include/openssl/asn1t.h", - "external/android/arm64-v8a/include/openssl/async.h", - "external/android/arm64-v8a/include/openssl/bio.h", - "external/android/arm64-v8a/include/openssl/blowfish.h", - "external/android/arm64-v8a/include/openssl/bn.h", - "external/android/arm64-v8a/include/openssl/buffer.h", - "external/android/arm64-v8a/include/openssl/camellia.h", - "external/android/arm64-v8a/include/openssl/cast.h", - "external/android/arm64-v8a/include/openssl/cmac.h", - "external/android/arm64-v8a/include/openssl/cms.h", - "external/android/arm64-v8a/include/openssl/comp.h", - "external/android/arm64-v8a/include/openssl/conf.h", - "external/android/arm64-v8a/include/openssl/conf_api.h", - "external/android/arm64-v8a/include/openssl/crypto.h", - "external/android/arm64-v8a/include/openssl/ct.h", - "external/android/arm64-v8a/include/openssl/des.h", - "external/android/arm64-v8a/include/openssl/dh.h", - "external/android/arm64-v8a/include/openssl/dsa.h", - "external/android/arm64-v8a/include/openssl/dtls1.h", - "external/android/arm64-v8a/include/openssl/e_os2.h", - "external/android/arm64-v8a/include/openssl/ebcdic.h", - "external/android/arm64-v8a/include/openssl/ec.h", - "external/android/arm64-v8a/include/openssl/ecdh.h", - "external/android/arm64-v8a/include/openssl/ecdsa.h", - "external/android/arm64-v8a/include/openssl/engine.h", - "external/android/arm64-v8a/include/openssl/err.h", - "external/android/arm64-v8a/include/openssl/evp.h", - "external/android/arm64-v8a/include/openssl/hmac.h", - "external/android/arm64-v8a/include/openssl/idea.h", - "external/android/arm64-v8a/include/openssl/kdf.h", - "external/android/arm64-v8a/include/openssl/lhash.h", - "external/android/arm64-v8a/include/openssl/md2.h", - "external/android/arm64-v8a/include/openssl/md4.h", - "external/android/arm64-v8a/include/openssl/md5.h", - "external/android/arm64-v8a/include/openssl/mdc2.h", - "external/android/arm64-v8a/include/openssl/modes.h", - "external/android/arm64-v8a/include/openssl/obj_mac.h", - "external/android/arm64-v8a/include/openssl/objects.h", - "external/android/arm64-v8a/include/openssl/ocsp.h", - "external/android/arm64-v8a/include/openssl/opensslconf-arm32.h", - "external/android/arm64-v8a/include/openssl/opensslconf-arm64.h", - "external/android/arm64-v8a/include/openssl/opensslconf-x86.h", - "external/android/arm64-v8a/include/openssl/opensslconf.h", - "external/android/arm64-v8a/include/openssl/opensslv.h", - "external/android/arm64-v8a/include/openssl/ossl_typ.h", - "external/android/arm64-v8a/include/openssl/pem.h", - "external/android/arm64-v8a/include/openssl/pem2.h", - "external/android/arm64-v8a/include/openssl/pkcs12.h", - "external/android/arm64-v8a/include/openssl/pkcs7.h", - "external/android/arm64-v8a/include/openssl/rand.h", - "external/android/arm64-v8a/include/openssl/rc2.h", - "external/android/arm64-v8a/include/openssl/rc4.h", - "external/android/arm64-v8a/include/openssl/rc5.h", - "external/android/arm64-v8a/include/openssl/ripemd.h", - "external/android/arm64-v8a/include/openssl/rsa.h", - "external/android/arm64-v8a/include/openssl/safestack.h", - "external/android/arm64-v8a/include/openssl/seed.h", - "external/android/arm64-v8a/include/openssl/sha.h", - "external/android/arm64-v8a/include/openssl/srp.h", - "external/android/arm64-v8a/include/openssl/srtp.h", - "external/android/arm64-v8a/include/openssl/ssl.h", - "external/android/arm64-v8a/include/openssl/ssl2.h", - "external/android/arm64-v8a/include/openssl/ssl3.h", - "external/android/arm64-v8a/include/openssl/stack.h", - "external/android/arm64-v8a/include/openssl/symhacks.h", - "external/android/arm64-v8a/include/openssl/tls1.h", - "external/android/arm64-v8a/include/openssl/ts.h", - "external/android/arm64-v8a/include/openssl/txt_db.h", - "external/android/arm64-v8a/include/openssl/ui.h", - "external/android/arm64-v8a/include/openssl/whrlpool.h", - "external/android/arm64-v8a/include/openssl/x509.h", - "external/android/arm64-v8a/include/openssl/x509_vfy.h", - "external/android/arm64-v8a/include/openssl/x509v3.h", - "external/android/arm64-v8a/include/png/png.h", - "external/android/arm64-v8a/include/png/pngconf.h", - "external/android/arm64-v8a/include/png/pnglibconf.h", - "external/android/arm64-v8a/include/uv/pthread-barrier.h", - "external/android/arm64-v8a/include/uv/stdint-msvc2008.h", - "external/android/arm64-v8a/include/uv/tree.h", - "external/android/arm64-v8a/include/uv/uv-aix.h", - "external/android/arm64-v8a/include/uv/uv-bsd.h", - "external/android/arm64-v8a/include/uv/uv-darwin.h", - "external/android/arm64-v8a/include/uv/uv-errno.h", - "external/android/arm64-v8a/include/uv/uv-linux.h", - "external/android/arm64-v8a/include/uv/uv-os390.h", - "external/android/arm64-v8a/include/uv/uv-posix.h", - "external/android/arm64-v8a/include/uv/uv-sunos.h", - "external/android/arm64-v8a/include/uv/uv-threadpool.h", - "external/android/arm64-v8a/include/uv/uv-unix.h", - "external/android/arm64-v8a/include/uv/uv-version.h", - "external/android/arm64-v8a/include/uv/uv-win.h", - "external/android/arm64-v8a/include/uv/uv.h", - "external/android/arm64-v8a/include/v8/APIDesign.md", - "external/android/arm64-v8a/include/v8/DEPS", - "external/android/arm64-v8a/include/v8/OWNERS", - "external/android/arm64-v8a/include/v8/libplatform/DEPS", - "external/android/arm64-v8a/include/v8/libplatform/libplatform-export.h", - "external/android/arm64-v8a/include/v8/libplatform/libplatform.h", - "external/android/arm64-v8a/include/v8/libplatform/v8-tracing.h", - "external/android/arm64-v8a/include/v8/v8-inspector-protocol.h", - "external/android/arm64-v8a/include/v8/v8-inspector.h", - "external/android/arm64-v8a/include/v8/v8-internal.h", - "external/android/arm64-v8a/include/v8/v8-platform.h", - "external/android/arm64-v8a/include/v8/v8-profiler.h", - "external/android/arm64-v8a/include/v8/v8-testing.h", - "external/android/arm64-v8a/include/v8/v8-util.h", - "external/android/arm64-v8a/include/v8/v8-value-serializer-version.h", - "external/android/arm64-v8a/include/v8/v8-version-string.h", - "external/android/arm64-v8a/include/v8/v8-version.h", - "external/android/arm64-v8a/include/v8/v8-wasm-trap-handler-posix.h", - "external/android/arm64-v8a/include/v8/v8-wasm-trap-handler-win.h", - "external/android/arm64-v8a/include/v8/v8.h", - "external/android/arm64-v8a/include/v8/v8config.h", - "external/android/arm64-v8a/include/webp/decode.h", - "external/android/arm64-v8a/include/webp/encode.h", - "external/android/arm64-v8a/include/webp/types.h", - "external/android/arm64-v8a/include/websockets/libwebsockets.h", - "external/android/arm64-v8a/include/websockets/lws_config.h", - "external/android/arm64-v8a/include/zlib/zconf.h", - "external/android/arm64-v8a/include/zlib/zlib.h", - "external/android/arm64-v8a/libcrypto.a", - "external/android/arm64-v8a/libfreetype.a", - "external/android/arm64-v8a/libjpeg.a", - "external/android/arm64-v8a/libpng.a", - "external/android/arm64-v8a/libssl.a", - "external/android/arm64-v8a/libtbb_static.a", - "external/android/arm64-v8a/libtbbmalloc_proxy_static.a", - "external/android/arm64-v8a/libtbbmalloc_static.a", - "external/android/arm64-v8a/libuv.a", - "external/android/arm64-v8a/libwebp.a", - "external/android/arm64-v8a/libwebsockets.a", - "external/android/arm64-v8a/libz.a", - "external/android/arm64-v8a/v8/libinspector.a", - "external/android/arm64-v8a/v8/libv8_monolith.a", - "external/android/armeabi-v7a/glslang/libOGLCompiler.a", - "external/android/armeabi-v7a/glslang/libOSDependent.a", - "external/android/armeabi-v7a/glslang/libSPIRV.a", - "external/android/armeabi-v7a/glslang/libglslang-default-resource-limits.a", - "external/android/armeabi-v7a/glslang/libglslang.a", - "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.AMD.h", - "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.EXT.h", - "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.KHR.h", - "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.NV.h", - "external/android/armeabi-v7a/include/SPIRV/GLSL.std.450.h", - "external/android/armeabi-v7a/include/SPIRV/GlslangToSpv.h", - "external/android/armeabi-v7a/include/SPIRV/Logger.h", - "external/android/armeabi-v7a/include/SPIRV/NonSemanticDebugPrintf.h", - "external/android/armeabi-v7a/include/SPIRV/SPVRemapper.h", - "external/android/armeabi-v7a/include/SPIRV/SpvBuilder.h", - "external/android/armeabi-v7a/include/SPIRV/SpvTools.h", - "external/android/armeabi-v7a/include/SPIRV/bitutils.h", - "external/android/armeabi-v7a/include/SPIRV/disassemble.h", - "external/android/armeabi-v7a/include/SPIRV/doc.h", - "external/android/armeabi-v7a/include/SPIRV/hex_float.h", - "external/android/armeabi-v7a/include/SPIRV/spirv.hpp", - "external/android/armeabi-v7a/include/SPIRV/spvIR.h", - "external/android/armeabi-v7a/include/StandAlone/ResourceLimits.h", - "external/android/armeabi-v7a/include/StandAlone/resource_limits_c.h", - "external/android/armeabi-v7a/include/freetype/config/ftconfig.h", - "external/android/armeabi-v7a/include/freetype/config/ftheader.h", - "external/android/armeabi-v7a/include/freetype/config/ftmodule.h", - "external/android/armeabi-v7a/include/freetype/config/ftoption.h", - "external/android/armeabi-v7a/include/freetype/config/ftstdlib.h", - "external/android/armeabi-v7a/include/freetype/freetype.h", - "external/android/armeabi-v7a/include/freetype/ft2build.h", - "external/android/armeabi-v7a/include/freetype/ftadvanc.h", - "external/android/armeabi-v7a/include/freetype/ftautoh.h", - "external/android/armeabi-v7a/include/freetype/ftbbox.h", - "external/android/armeabi-v7a/include/freetype/ftbdf.h", - "external/android/armeabi-v7a/include/freetype/ftbitmap.h", - "external/android/armeabi-v7a/include/freetype/ftbzip2.h", - "external/android/armeabi-v7a/include/freetype/ftcache.h", - "external/android/armeabi-v7a/include/freetype/ftcffdrv.h", - "external/android/armeabi-v7a/include/freetype/ftchapters.h", - "external/android/armeabi-v7a/include/freetype/ftcid.h", - "external/android/armeabi-v7a/include/freetype/fterrdef.h", - "external/android/armeabi-v7a/include/freetype/fterrors.h", - "external/android/armeabi-v7a/include/freetype/ftfntfmt.h", - "external/android/armeabi-v7a/include/freetype/ftgasp.h", - "external/android/armeabi-v7a/include/freetype/ftglyph.h", - "external/android/armeabi-v7a/include/freetype/ftgxval.h", - "external/android/armeabi-v7a/include/freetype/ftgzip.h", - "external/android/armeabi-v7a/include/freetype/ftimage.h", - "external/android/armeabi-v7a/include/freetype/ftincrem.h", - "external/android/armeabi-v7a/include/freetype/ftlcdfil.h", - "external/android/armeabi-v7a/include/freetype/ftlist.h", - "external/android/armeabi-v7a/include/freetype/ftlzw.h", - "external/android/armeabi-v7a/include/freetype/ftmac.h", - "external/android/armeabi-v7a/include/freetype/ftmm.h", - "external/android/armeabi-v7a/include/freetype/ftmodapi.h", - "external/android/armeabi-v7a/include/freetype/ftmoderr.h", - "external/android/armeabi-v7a/include/freetype/ftotval.h", - "external/android/armeabi-v7a/include/freetype/ftoutln.h", - "external/android/armeabi-v7a/include/freetype/ftpfr.h", - "external/android/armeabi-v7a/include/freetype/ftrender.h", - "external/android/armeabi-v7a/include/freetype/ftsizes.h", - "external/android/armeabi-v7a/include/freetype/ftsnames.h", - "external/android/armeabi-v7a/include/freetype/ftstroke.h", - "external/android/armeabi-v7a/include/freetype/ftsynth.h", - "external/android/armeabi-v7a/include/freetype/ftsystem.h", - "external/android/armeabi-v7a/include/freetype/fttrigon.h", - "external/android/armeabi-v7a/include/freetype/ftttdrv.h", - "external/android/armeabi-v7a/include/freetype/fttypes.h", - "external/android/armeabi-v7a/include/freetype/ftwinfnt.h", - "external/android/armeabi-v7a/include/freetype/t1tables.h", - "external/android/armeabi-v7a/include/freetype/ttnameid.h", - "external/android/armeabi-v7a/include/freetype/tttables.h", - "external/android/armeabi-v7a/include/freetype/tttags.h", - "external/android/armeabi-v7a/include/freetype/ttunpat.h", - "external/android/armeabi-v7a/include/glslang/Include/BaseTypes.h", - "external/android/armeabi-v7a/include/glslang/Include/Common.h", - "external/android/armeabi-v7a/include/glslang/Include/ConstantUnion.h", - "external/android/armeabi-v7a/include/glslang/Include/InfoSink.h", - "external/android/armeabi-v7a/include/glslang/Include/InitializeGlobals.h", - "external/android/armeabi-v7a/include/glslang/Include/PoolAlloc.h", - "external/android/armeabi-v7a/include/glslang/Include/ResourceLimits.h", - "external/android/armeabi-v7a/include/glslang/Include/ShHandle.h", - "external/android/armeabi-v7a/include/glslang/Include/Types.h", - "external/android/armeabi-v7a/include/glslang/Include/arrays.h", - "external/android/armeabi-v7a/include/glslang/Include/glslang_c_interface.h", - "external/android/armeabi-v7a/include/glslang/Include/glslang_c_shader_types.h", - "external/android/armeabi-v7a/include/glslang/Include/intermediate.h", - "external/android/armeabi-v7a/include/glslang/Include/revision.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/Initialize.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/LiveTraverser.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/ParseHelper.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/RemoveTree.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/Scan.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/ScanContext.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/SymbolTable.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/Versions.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/attribute.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/gl_types.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/iomapper.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/localintermediate.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/parseVersions.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/android/armeabi-v7a/include/glslang/MachineIndependent/reflection.h", - "external/android/armeabi-v7a/include/glslang/Public/ShaderLang.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.std.450.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/GlslangToSpv.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/Logger.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/SPVRemapper.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/SpvBuilder.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/SpvTools.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/bitutils.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/disassemble.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/doc.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/hex_float.h", - "external/android/armeabi-v7a/include/glslang/SPIRV/spirv.hpp", - "external/android/armeabi-v7a/include/glslang/SPIRV/spvIR.h", - "external/android/armeabi-v7a/include/jpeg/jconfig.h", - "external/android/armeabi-v7a/include/jpeg/jerror.h", - "external/android/armeabi-v7a/include/jpeg/jmorecfg.h", - "external/android/armeabi-v7a/include/jpeg/jpeglib.h", - "external/android/armeabi-v7a/include/openssl/aes.h", - "external/android/armeabi-v7a/include/openssl/asn1.h", - "external/android/armeabi-v7a/include/openssl/asn1_mac.h", - "external/android/armeabi-v7a/include/openssl/asn1t.h", - "external/android/armeabi-v7a/include/openssl/async.h", - "external/android/armeabi-v7a/include/openssl/bio.h", - "external/android/armeabi-v7a/include/openssl/blowfish.h", - "external/android/armeabi-v7a/include/openssl/bn.h", - "external/android/armeabi-v7a/include/openssl/buffer.h", - "external/android/armeabi-v7a/include/openssl/camellia.h", - "external/android/armeabi-v7a/include/openssl/cast.h", - "external/android/armeabi-v7a/include/openssl/cmac.h", - "external/android/armeabi-v7a/include/openssl/cms.h", - "external/android/armeabi-v7a/include/openssl/comp.h", - "external/android/armeabi-v7a/include/openssl/conf.h", - "external/android/armeabi-v7a/include/openssl/conf_api.h", - "external/android/armeabi-v7a/include/openssl/crypto.h", - "external/android/armeabi-v7a/include/openssl/ct.h", - "external/android/armeabi-v7a/include/openssl/des.h", - "external/android/armeabi-v7a/include/openssl/dh.h", - "external/android/armeabi-v7a/include/openssl/dsa.h", - "external/android/armeabi-v7a/include/openssl/dtls1.h", - "external/android/armeabi-v7a/include/openssl/e_os2.h", - "external/android/armeabi-v7a/include/openssl/ebcdic.h", - "external/android/armeabi-v7a/include/openssl/ec.h", - "external/android/armeabi-v7a/include/openssl/ecdh.h", - "external/android/armeabi-v7a/include/openssl/ecdsa.h", - "external/android/armeabi-v7a/include/openssl/engine.h", - "external/android/armeabi-v7a/include/openssl/err.h", - "external/android/armeabi-v7a/include/openssl/evp.h", - "external/android/armeabi-v7a/include/openssl/hmac.h", - "external/android/armeabi-v7a/include/openssl/idea.h", - "external/android/armeabi-v7a/include/openssl/kdf.h", - "external/android/armeabi-v7a/include/openssl/lhash.h", - "external/android/armeabi-v7a/include/openssl/md2.h", - "external/android/armeabi-v7a/include/openssl/md4.h", - "external/android/armeabi-v7a/include/openssl/md5.h", - "external/android/armeabi-v7a/include/openssl/mdc2.h", - "external/android/armeabi-v7a/include/openssl/modes.h", - "external/android/armeabi-v7a/include/openssl/obj_mac.h", - "external/android/armeabi-v7a/include/openssl/objects.h", - "external/android/armeabi-v7a/include/openssl/ocsp.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-arm32.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-arm64.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-x86.h", - "external/android/armeabi-v7a/include/openssl/opensslconf.h", - "external/android/armeabi-v7a/include/openssl/opensslv.h", - "external/android/armeabi-v7a/include/openssl/ossl_typ.h", - "external/android/armeabi-v7a/include/openssl/pem.h", - "external/android/armeabi-v7a/include/openssl/pem2.h", - "external/android/armeabi-v7a/include/openssl/pkcs12.h", - "external/android/armeabi-v7a/include/openssl/pkcs7.h", - "external/android/armeabi-v7a/include/openssl/rand.h", - "external/android/armeabi-v7a/include/openssl/rc2.h", - "external/android/armeabi-v7a/include/openssl/rc4.h", - "external/android/armeabi-v7a/include/openssl/rc5.h", - "external/android/armeabi-v7a/include/openssl/ripemd.h", - "external/android/armeabi-v7a/include/openssl/rsa.h", - "external/android/armeabi-v7a/include/openssl/safestack.h", - "external/android/armeabi-v7a/include/openssl/seed.h", - "external/android/armeabi-v7a/include/openssl/sha.h", - "external/android/armeabi-v7a/include/openssl/srp.h", - "external/android/armeabi-v7a/include/openssl/srtp.h", - "external/android/armeabi-v7a/include/openssl/ssl.h", - "external/android/armeabi-v7a/include/openssl/ssl2.h", - "external/android/armeabi-v7a/include/openssl/ssl3.h", - "external/android/armeabi-v7a/include/openssl/stack.h", - "external/android/armeabi-v7a/include/openssl/symhacks.h", - "external/android/armeabi-v7a/include/openssl/tls1.h", - "external/android/armeabi-v7a/include/openssl/ts.h", - "external/android/armeabi-v7a/include/openssl/txt_db.h", - "external/android/armeabi-v7a/include/openssl/ui.h", - "external/android/armeabi-v7a/include/openssl/whrlpool.h", - "external/android/armeabi-v7a/include/openssl/x509.h", - "external/android/armeabi-v7a/include/openssl/x509_vfy.h", - "external/android/armeabi-v7a/include/openssl/x509v3.h", - "external/android/armeabi-v7a/include/png/png.h", - "external/android/armeabi-v7a/include/png/pngconf.h", - "external/android/armeabi-v7a/include/png/pnglibconf.h", - "external/android/armeabi-v7a/include/uv/pthread-barrier.h", - "external/android/armeabi-v7a/include/uv/stdint-msvc2008.h", - "external/android/armeabi-v7a/include/uv/tree.h", - "external/android/armeabi-v7a/include/uv/uv-aix.h", - "external/android/armeabi-v7a/include/uv/uv-bsd.h", - "external/android/armeabi-v7a/include/uv/uv-darwin.h", - "external/android/armeabi-v7a/include/uv/uv-errno.h", - "external/android/armeabi-v7a/include/uv/uv-linux.h", - "external/android/armeabi-v7a/include/uv/uv-os390.h", - "external/android/armeabi-v7a/include/uv/uv-posix.h", - "external/android/armeabi-v7a/include/uv/uv-sunos.h", - "external/android/armeabi-v7a/include/uv/uv-threadpool.h", - "external/android/armeabi-v7a/include/uv/uv-unix.h", - "external/android/armeabi-v7a/include/uv/uv-version.h", - "external/android/armeabi-v7a/include/uv/uv-win.h", - "external/android/armeabi-v7a/include/uv/uv.h", - "external/android/armeabi-v7a/include/v8/APIDesign.md", - "external/android/armeabi-v7a/include/v8/DEPS", - "external/android/armeabi-v7a/include/v8/OWNERS", - "external/android/armeabi-v7a/include/v8/libplatform/DEPS", - "external/android/armeabi-v7a/include/v8/libplatform/libplatform-export.h", - "external/android/armeabi-v7a/include/v8/libplatform/libplatform.h", - "external/android/armeabi-v7a/include/v8/libplatform/v8-tracing.h", - "external/android/armeabi-v7a/include/v8/v8-inspector-protocol.h", - "external/android/armeabi-v7a/include/v8/v8-inspector.h", - "external/android/armeabi-v7a/include/v8/v8-internal.h", - "external/android/armeabi-v7a/include/v8/v8-platform.h", - "external/android/armeabi-v7a/include/v8/v8-profiler.h", - "external/android/armeabi-v7a/include/v8/v8-testing.h", - "external/android/armeabi-v7a/include/v8/v8-util.h", - "external/android/armeabi-v7a/include/v8/v8-value-serializer-version.h", - "external/android/armeabi-v7a/include/v8/v8-version-string.h", - "external/android/armeabi-v7a/include/v8/v8-version.h", - "external/android/armeabi-v7a/include/v8/v8-wasm-trap-handler-posix.h", - "external/android/armeabi-v7a/include/v8/v8-wasm-trap-handler-win.h", - "external/android/armeabi-v7a/include/v8/v8.h", - "external/android/armeabi-v7a/include/v8/v8config.h", - "external/android/armeabi-v7a/include/webp/decode.h", - "external/android/armeabi-v7a/include/webp/encode.h", - "external/android/armeabi-v7a/include/webp/types.h", - "external/android/armeabi-v7a/include/websockets/libwebsockets.h", - "external/android/armeabi-v7a/include/websockets/lws_config.h", - "external/android/armeabi-v7a/include/zlib/zconf.h", - "external/android/armeabi-v7a/include/zlib/zlib.h", - "external/android/armeabi-v7a/libcrypto.a", - "external/android/armeabi-v7a/libfreetype.a", - "external/android/armeabi-v7a/libjpeg.a", - "external/android/armeabi-v7a/libpng.a", - "external/android/armeabi-v7a/libssl.a", - "external/android/armeabi-v7a/libtbb_static.a", - "external/android/armeabi-v7a/libtbbmalloc_proxy_static.a", - "external/android/armeabi-v7a/libtbbmalloc_static.a", - "external/android/armeabi-v7a/libuv.a", - "external/android/armeabi-v7a/libwebp.a", - "external/android/armeabi-v7a/libwebsockets.a", - "external/android/armeabi-v7a/libz.a", - "external/android/armeabi-v7a/v8/libinspector.a", - "external/android/armeabi-v7a/v8/libv8_monolith.a", - "external/android/x86/glslang/libOGLCompiler.a", - "external/android/x86/glslang/libOSDependent.a", - "external/android/x86/glslang/libSPIRV.a", - "external/android/x86/glslang/libglslang-default-resource-limits.a", - "external/android/x86/glslang/libglslang.a", - "external/android/x86/include/SPIRV/GLSL.ext.AMD.h", - "external/android/x86/include/SPIRV/GLSL.ext.EXT.h", - "external/android/x86/include/SPIRV/GLSL.ext.KHR.h", - "external/android/x86/include/SPIRV/GLSL.ext.NV.h", - "external/android/x86/include/SPIRV/GLSL.std.450.h", - "external/android/x86/include/SPIRV/GlslangToSpv.h", - "external/android/x86/include/SPIRV/Logger.h", - "external/android/x86/include/SPIRV/NonSemanticDebugPrintf.h", - "external/android/x86/include/SPIRV/SPVRemapper.h", - "external/android/x86/include/SPIRV/SpvBuilder.h", - "external/android/x86/include/SPIRV/SpvTools.h", - "external/android/x86/include/SPIRV/bitutils.h", - "external/android/x86/include/SPIRV/disassemble.h", - "external/android/x86/include/SPIRV/doc.h", - "external/android/x86/include/SPIRV/hex_float.h", - "external/android/x86/include/SPIRV/spirv.hpp", - "external/android/x86/include/SPIRV/spvIR.h", - "external/android/x86/include/StandAlone/ResourceLimits.h", - "external/android/x86/include/StandAlone/resource_limits_c.h", - "external/android/x86/include/freetype/config/ftconfig.h", - "external/android/x86/include/freetype/config/ftheader.h", - "external/android/x86/include/freetype/config/ftmodule.h", - "external/android/x86/include/freetype/config/ftoption.h", - "external/android/x86/include/freetype/config/ftstdlib.h", - "external/android/x86/include/freetype/freetype.h", - "external/android/x86/include/freetype/ft2build.h", - "external/android/x86/include/freetype/ftadvanc.h", - "external/android/x86/include/freetype/ftautoh.h", - "external/android/x86/include/freetype/ftbbox.h", - "external/android/x86/include/freetype/ftbdf.h", - "external/android/x86/include/freetype/ftbitmap.h", - "external/android/x86/include/freetype/ftbzip2.h", - "external/android/x86/include/freetype/ftcache.h", - "external/android/x86/include/freetype/ftcffdrv.h", - "external/android/x86/include/freetype/ftchapters.h", - "external/android/x86/include/freetype/ftcid.h", - "external/android/x86/include/freetype/fterrdef.h", - "external/android/x86/include/freetype/fterrors.h", - "external/android/x86/include/freetype/ftfntfmt.h", - "external/android/x86/include/freetype/ftgasp.h", - "external/android/x86/include/freetype/ftglyph.h", - "external/android/x86/include/freetype/ftgxval.h", - "external/android/x86/include/freetype/ftgzip.h", - "external/android/x86/include/freetype/ftimage.h", - "external/android/x86/include/freetype/ftincrem.h", - "external/android/x86/include/freetype/ftlcdfil.h", - "external/android/x86/include/freetype/ftlist.h", - "external/android/x86/include/freetype/ftlzw.h", - "external/android/x86/include/freetype/ftmac.h", - "external/android/x86/include/freetype/ftmm.h", - "external/android/x86/include/freetype/ftmodapi.h", - "external/android/x86/include/freetype/ftmoderr.h", - "external/android/x86/include/freetype/ftotval.h", - "external/android/x86/include/freetype/ftoutln.h", - "external/android/x86/include/freetype/ftpfr.h", - "external/android/x86/include/freetype/ftrender.h", - "external/android/x86/include/freetype/ftsizes.h", - "external/android/x86/include/freetype/ftsnames.h", - "external/android/x86/include/freetype/ftstroke.h", - "external/android/x86/include/freetype/ftsynth.h", - "external/android/x86/include/freetype/ftsystem.h", - "external/android/x86/include/freetype/fttrigon.h", - "external/android/x86/include/freetype/ftttdrv.h", - "external/android/x86/include/freetype/fttypes.h", - "external/android/x86/include/freetype/ftwinfnt.h", - "external/android/x86/include/freetype/t1tables.h", - "external/android/x86/include/freetype/ttnameid.h", - "external/android/x86/include/freetype/tttables.h", - "external/android/x86/include/freetype/tttags.h", - "external/android/x86/include/freetype/ttunpat.h", - "external/android/x86/include/glslang/Include/BaseTypes.h", - "external/android/x86/include/glslang/Include/Common.h", - "external/android/x86/include/glslang/Include/ConstantUnion.h", - "external/android/x86/include/glslang/Include/InfoSink.h", - "external/android/x86/include/glslang/Include/InitializeGlobals.h", - "external/android/x86/include/glslang/Include/PoolAlloc.h", - "external/android/x86/include/glslang/Include/ResourceLimits.h", - "external/android/x86/include/glslang/Include/ShHandle.h", - "external/android/x86/include/glslang/Include/Types.h", - "external/android/x86/include/glslang/Include/arrays.h", - "external/android/x86/include/glslang/Include/glslang_c_interface.h", - "external/android/x86/include/glslang/Include/glslang_c_shader_types.h", - "external/android/x86/include/glslang/Include/intermediate.h", - "external/android/x86/include/glslang/Include/revision.h", - "external/android/x86/include/glslang/MachineIndependent/Initialize.h", - "external/android/x86/include/glslang/MachineIndependent/LiveTraverser.h", - "external/android/x86/include/glslang/MachineIndependent/ParseHelper.h", - "external/android/x86/include/glslang/MachineIndependent/RemoveTree.h", - "external/android/x86/include/glslang/MachineIndependent/Scan.h", - "external/android/x86/include/glslang/MachineIndependent/ScanContext.h", - "external/android/x86/include/glslang/MachineIndependent/SymbolTable.h", - "external/android/x86/include/glslang/MachineIndependent/Versions.h", - "external/android/x86/include/glslang/MachineIndependent/attribute.h", - "external/android/x86/include/glslang/MachineIndependent/gl_types.h", - "external/android/x86/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/android/x86/include/glslang/MachineIndependent/iomapper.h", - "external/android/x86/include/glslang/MachineIndependent/localintermediate.h", - "external/android/x86/include/glslang/MachineIndependent/parseVersions.h", - "external/android/x86/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/android/x86/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/android/x86/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/android/x86/include/glslang/MachineIndependent/reflection.h", - "external/android/x86/include/glslang/Public/ShaderLang.h", - "external/android/x86/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/android/x86/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/android/x86/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/android/x86/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/android/x86/include/glslang/SPIRV/GLSL.std.450.h", - "external/android/x86/include/glslang/SPIRV/GlslangToSpv.h", - "external/android/x86/include/glslang/SPIRV/Logger.h", - "external/android/x86/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/android/x86/include/glslang/SPIRV/SPVRemapper.h", - "external/android/x86/include/glslang/SPIRV/SpvBuilder.h", - "external/android/x86/include/glslang/SPIRV/SpvTools.h", - "external/android/x86/include/glslang/SPIRV/bitutils.h", - "external/android/x86/include/glslang/SPIRV/disassemble.h", - "external/android/x86/include/glslang/SPIRV/doc.h", - "external/android/x86/include/glslang/SPIRV/hex_float.h", - "external/android/x86/include/glslang/SPIRV/spirv.hpp", - "external/android/x86/include/glslang/SPIRV/spvIR.h", - "external/android/x86/include/jpeg/jconfig.h", - "external/android/x86/include/jpeg/jerror.h", - "external/android/x86/include/jpeg/jmorecfg.h", - "external/android/x86/include/jpeg/jpeglib.h", - "external/android/x86/include/openssl/aes.h", - "external/android/x86/include/openssl/asn1.h", - "external/android/x86/include/openssl/asn1_mac.h", - "external/android/x86/include/openssl/asn1t.h", - "external/android/x86/include/openssl/async.h", - "external/android/x86/include/openssl/bio.h", - "external/android/x86/include/openssl/blowfish.h", - "external/android/x86/include/openssl/bn.h", - "external/android/x86/include/openssl/buffer.h", - "external/android/x86/include/openssl/camellia.h", - "external/android/x86/include/openssl/cast.h", - "external/android/x86/include/openssl/cmac.h", - "external/android/x86/include/openssl/cms.h", - "external/android/x86/include/openssl/comp.h", - "external/android/x86/include/openssl/conf.h", - "external/android/x86/include/openssl/conf_api.h", - "external/android/x86/include/openssl/crypto.h", - "external/android/x86/include/openssl/ct.h", - "external/android/x86/include/openssl/des.h", - "external/android/x86/include/openssl/dh.h", - "external/android/x86/include/openssl/dsa.h", - "external/android/x86/include/openssl/dtls1.h", - "external/android/x86/include/openssl/e_os2.h", - "external/android/x86/include/openssl/ebcdic.h", - "external/android/x86/include/openssl/ec.h", - "external/android/x86/include/openssl/ecdh.h", - "external/android/x86/include/openssl/ecdsa.h", - "external/android/x86/include/openssl/engine.h", - "external/android/x86/include/openssl/err.h", - "external/android/x86/include/openssl/evp.h", - "external/android/x86/include/openssl/hmac.h", - "external/android/x86/include/openssl/idea.h", - "external/android/x86/include/openssl/kdf.h", - "external/android/x86/include/openssl/lhash.h", - "external/android/x86/include/openssl/md2.h", - "external/android/x86/include/openssl/md4.h", - "external/android/x86/include/openssl/md5.h", - "external/android/x86/include/openssl/mdc2.h", - "external/android/x86/include/openssl/modes.h", - "external/android/x86/include/openssl/obj_mac.h", - "external/android/x86/include/openssl/objects.h", - "external/android/x86/include/openssl/ocsp.h", - "external/android/x86/include/openssl/opensslconf-arm32.h", - "external/android/x86/include/openssl/opensslconf-arm64.h", - "external/android/x86/include/openssl/opensslconf-x86.h", - "external/android/x86/include/openssl/opensslconf.h", - "external/android/x86/include/openssl/opensslv.h", - "external/android/x86/include/openssl/ossl_typ.h", - "external/android/x86/include/openssl/pem.h", - "external/android/x86/include/openssl/pem2.h", - "external/android/x86/include/openssl/pkcs12.h", - "external/android/x86/include/openssl/pkcs7.h", - "external/android/x86/include/openssl/rand.h", - "external/android/x86/include/openssl/rc2.h", - "external/android/x86/include/openssl/rc4.h", - "external/android/x86/include/openssl/rc5.h", - "external/android/x86/include/openssl/ripemd.h", - "external/android/x86/include/openssl/rsa.h", - "external/android/x86/include/openssl/safestack.h", - "external/android/x86/include/openssl/seed.h", - "external/android/x86/include/openssl/sha.h", - "external/android/x86/include/openssl/srp.h", - "external/android/x86/include/openssl/srtp.h", - "external/android/x86/include/openssl/ssl.h", - "external/android/x86/include/openssl/ssl2.h", - "external/android/x86/include/openssl/ssl3.h", - "external/android/x86/include/openssl/stack.h", - "external/android/x86/include/openssl/symhacks.h", - "external/android/x86/include/openssl/tls1.h", - "external/android/x86/include/openssl/ts.h", - "external/android/x86/include/openssl/txt_db.h", - "external/android/x86/include/openssl/ui.h", - "external/android/x86/include/openssl/whrlpool.h", - "external/android/x86/include/openssl/x509.h", - "external/android/x86/include/openssl/x509_vfy.h", - "external/android/x86/include/openssl/x509v3.h", - "external/android/x86/include/png/png.h", - "external/android/x86/include/png/pngconf.h", - "external/android/x86/include/png/pnglibconf.h", - "external/android/x86/include/uv/pthread-barrier.h", - "external/android/x86/include/uv/stdint-msvc2008.h", - "external/android/x86/include/uv/tree.h", - "external/android/x86/include/uv/uv-aix.h", - "external/android/x86/include/uv/uv-bsd.h", - "external/android/x86/include/uv/uv-darwin.h", - "external/android/x86/include/uv/uv-errno.h", - "external/android/x86/include/uv/uv-linux.h", - "external/android/x86/include/uv/uv-os390.h", - "external/android/x86/include/uv/uv-posix.h", - "external/android/x86/include/uv/uv-sunos.h", - "external/android/x86/include/uv/uv-threadpool.h", - "external/android/x86/include/uv/uv-unix.h", - "external/android/x86/include/uv/uv-version.h", - "external/android/x86/include/uv/uv-win.h", - "external/android/x86/include/uv/uv.h", - "external/android/x86/include/v8/APIDesign.md", - "external/android/x86/include/v8/DEPS", - "external/android/x86/include/v8/OWNERS", - "external/android/x86/include/v8/libplatform/DEPS", - "external/android/x86/include/v8/libplatform/libplatform-export.h", - "external/android/x86/include/v8/libplatform/libplatform.h", - "external/android/x86/include/v8/libplatform/v8-tracing.h", - "external/android/x86/include/v8/v8-inspector-protocol.h", - "external/android/x86/include/v8/v8-inspector.h", - "external/android/x86/include/v8/v8-internal.h", - "external/android/x86/include/v8/v8-platform.h", - "external/android/x86/include/v8/v8-profiler.h", - "external/android/x86/include/v8/v8-testing.h", - "external/android/x86/include/v8/v8-util.h", - "external/android/x86/include/v8/v8-value-serializer-version.h", - "external/android/x86/include/v8/v8-version-string.h", - "external/android/x86/include/v8/v8-version.h", - "external/android/x86/include/v8/v8-wasm-trap-handler-posix.h", - "external/android/x86/include/v8/v8-wasm-trap-handler-win.h", - "external/android/x86/include/v8/v8.h", - "external/android/x86/include/v8/v8config.h", - "external/android/x86/include/webp/decode.h", - "external/android/x86/include/webp/encode.h", - "external/android/x86/include/webp/types.h", - "external/android/x86/include/websockets/libwebsockets.h", - "external/android/x86/include/websockets/lws_config.h", - "external/android/x86/include/zlib/zconf.h", - "external/android/x86/include/zlib/zlib.h", - "external/android/x86/libcrypto.a", - "external/android/x86/libfreetype.a", - "external/android/x86/libjpeg.a", - "external/android/x86/libpng.a", - "external/android/x86/libssl.a", - "external/android/x86/libtbb_static.a", - "external/android/x86/libtbbmalloc_proxy_static.a", - "external/android/x86/libtbbmalloc_static.a", - "external/android/x86/libuv.a", - "external/android/x86/libwebp.a", - "external/android/x86/libwebsockets.a", - "external/android/x86/libz.a", - "external/android/x86/v8/libinspector.a", - "external/android/x86/v8/libv8_monolith.a", - "external/android/x86_64/glslang/libOGLCompiler.a", - "external/android/x86_64/glslang/libOSDependent.a", - "external/android/x86_64/glslang/libSPIRV.a", - "external/android/x86_64/glslang/libglslang-default-resource-limits.a", - "external/android/x86_64/glslang/libglslang.a", - "external/android/x86_64/include/SPIRV/GLSL.ext.AMD.h", - "external/android/x86_64/include/SPIRV/GLSL.ext.EXT.h", - "external/android/x86_64/include/SPIRV/GLSL.ext.KHR.h", - "external/android/x86_64/include/SPIRV/GLSL.ext.NV.h", - "external/android/x86_64/include/SPIRV/GLSL.std.450.h", - "external/android/x86_64/include/SPIRV/GlslangToSpv.h", - "external/android/x86_64/include/SPIRV/Logger.h", - "external/android/x86_64/include/SPIRV/NonSemanticDebugPrintf.h", - "external/android/x86_64/include/SPIRV/SPVRemapper.h", - "external/android/x86_64/include/SPIRV/SpvBuilder.h", - "external/android/x86_64/include/SPIRV/SpvTools.h", - "external/android/x86_64/include/SPIRV/bitutils.h", - "external/android/x86_64/include/SPIRV/disassemble.h", - "external/android/x86_64/include/SPIRV/doc.h", - "external/android/x86_64/include/SPIRV/hex_float.h", - "external/android/x86_64/include/SPIRV/spirv.hpp", - "external/android/x86_64/include/SPIRV/spvIR.h", - "external/android/x86_64/include/StandAlone/DirStackFileIncluder.h", - "external/android/x86_64/include/StandAlone/ResourceLimits.h", - "external/android/x86_64/include/StandAlone/Worklist.h", - "external/android/x86_64/include/StandAlone/resource_limits_c.h", - "external/android/x86_64/include/freetype/config/ftconfig.h", - "external/android/x86_64/include/freetype/config/ftheader.h", - "external/android/x86_64/include/freetype/config/ftmodule.h", - "external/android/x86_64/include/freetype/config/ftoption.h", - "external/android/x86_64/include/freetype/config/ftstdlib.h", - "external/android/x86_64/include/freetype/freetype.h", - "external/android/x86_64/include/freetype/ftadvanc.h", - "external/android/x86_64/include/freetype/ftautoh.h", - "external/android/x86_64/include/freetype/ftbbox.h", - "external/android/x86_64/include/freetype/ftbdf.h", - "external/android/x86_64/include/freetype/ftbitmap.h", - "external/android/x86_64/include/freetype/ftbzip2.h", - "external/android/x86_64/include/freetype/ftcache.h", - "external/android/x86_64/include/freetype/ftcffdrv.h", - "external/android/x86_64/include/freetype/ftchapters.h", - "external/android/x86_64/include/freetype/ftcid.h", - "external/android/x86_64/include/freetype/fterrdef.h", - "external/android/x86_64/include/freetype/fterrors.h", - "external/android/x86_64/include/freetype/ftfntfmt.h", - "external/android/x86_64/include/freetype/ftgasp.h", - "external/android/x86_64/include/freetype/ftglyph.h", - "external/android/x86_64/include/freetype/ftgxval.h", - "external/android/x86_64/include/freetype/ftgzip.h", - "external/android/x86_64/include/freetype/ftimage.h", - "external/android/x86_64/include/freetype/ftincrem.h", - "external/android/x86_64/include/freetype/ftlcdfil.h", - "external/android/x86_64/include/freetype/ftlist.h", - "external/android/x86_64/include/freetype/ftlzw.h", - "external/android/x86_64/include/freetype/ftmac.h", - "external/android/x86_64/include/freetype/ftmm.h", - "external/android/x86_64/include/freetype/ftmodapi.h", - "external/android/x86_64/include/freetype/ftmoderr.h", - "external/android/x86_64/include/freetype/ftotval.h", - "external/android/x86_64/include/freetype/ftoutln.h", - "external/android/x86_64/include/freetype/ftpfr.h", - "external/android/x86_64/include/freetype/ftrender.h", - "external/android/x86_64/include/freetype/ftsizes.h", - "external/android/x86_64/include/freetype/ftsnames.h", - "external/android/x86_64/include/freetype/ftstroke.h", - "external/android/x86_64/include/freetype/ftsynth.h", - "external/android/x86_64/include/freetype/ftsystem.h", - "external/android/x86_64/include/freetype/fttrigon.h", - "external/android/x86_64/include/freetype/ftttdrv.h", - "external/android/x86_64/include/freetype/fttypes.h", - "external/android/x86_64/include/freetype/ftwinfnt.h", - "external/android/x86_64/include/freetype/t1tables.h", - "external/android/x86_64/include/freetype/ttnameid.h", - "external/android/x86_64/include/freetype/tttables.h", - "external/android/x86_64/include/freetype/tttags.h", - "external/android/x86_64/include/freetype/ttunpat.h", - "external/android/x86_64/include/glslang/Include/BaseTypes.h", - "external/android/x86_64/include/glslang/Include/Common.h", - "external/android/x86_64/include/glslang/Include/ConstantUnion.h", - "external/android/x86_64/include/glslang/Include/InfoSink.h", - "external/android/x86_64/include/glslang/Include/InitializeGlobals.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/Initialize.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/LiveTraverser.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/ParseHelper.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/RemoveTree.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/Scan.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/ScanContext.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/SymbolTable.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/Versions.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/attribute.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/gl_types.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.m4", - "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.y", - "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang_tab.cpp.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/iomapper.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/localintermediate.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/parseVersions.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/pch.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpContext.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpTokens.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/propagateNoContraction.h", - "external/android/x86_64/include/glslang/Include/MachineIndependent/reflection.h", - "external/android/x86_64/include/glslang/Include/PoolAlloc.h", - "external/android/x86_64/include/glslang/Include/Public/ShaderLang.h", - "external/android/x86_64/include/glslang/Include/ResourceLimits.h", - "external/android/x86_64/include/glslang/Include/ShHandle.h", - "external/android/x86_64/include/glslang/Include/Types.h", - "external/android/x86_64/include/glslang/Include/arrays.h", - "external/android/x86_64/include/glslang/Include/glslang_c_interface.h", - "external/android/x86_64/include/glslang/Include/glslang_c_shader_types.h", - "external/android/x86_64/include/glslang/Include/intermediate.h", - "external/android/x86_64/include/glslang/MachineIndependent/Initialize.h", - "external/android/x86_64/include/glslang/MachineIndependent/LiveTraverser.h", - "external/android/x86_64/include/glslang/MachineIndependent/ParseHelper.h", - "external/android/x86_64/include/glslang/MachineIndependent/RemoveTree.h", - "external/android/x86_64/include/glslang/MachineIndependent/Scan.h", - "external/android/x86_64/include/glslang/MachineIndependent/ScanContext.h", - "external/android/x86_64/include/glslang/MachineIndependent/SymbolTable.h", - "external/android/x86_64/include/glslang/MachineIndependent/Versions.h", - "external/android/x86_64/include/glslang/MachineIndependent/attribute.h", - "external/android/x86_64/include/glslang/MachineIndependent/gl_types.h", - "external/android/x86_64/include/glslang/MachineIndependent/glslang.m4", - "external/android/x86_64/include/glslang/MachineIndependent/glslang.y", - "external/android/x86_64/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/android/x86_64/include/glslang/MachineIndependent/iomapper.h", - "external/android/x86_64/include/glslang/MachineIndependent/localintermediate.h", - "external/android/x86_64/include/glslang/MachineIndependent/parseVersions.h", - "external/android/x86_64/include/glslang/MachineIndependent/pch.h", - "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/android/x86_64/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/android/x86_64/include/glslang/MachineIndependent/reflection.h", - "external/android/x86_64/include/glslang/Public/ShaderLang.h", - "external/android/x86_64/include/jpeg/jconfig.h", - "external/android/x86_64/include/jpeg/jerror.h", - "external/android/x86_64/include/jpeg/jmorecfg.h", - "external/android/x86_64/include/jpeg/jpeglib.h", - "external/android/x86_64/include/openssl/aes.h", - "external/android/x86_64/include/openssl/asn1.h", - "external/android/x86_64/include/openssl/asn1_mac.h", - "external/android/x86_64/include/openssl/asn1t.h", - "external/android/x86_64/include/openssl/async.h", - "external/android/x86_64/include/openssl/bio.h", - "external/android/x86_64/include/openssl/blowfish.h", - "external/android/x86_64/include/openssl/bn.h", - "external/android/x86_64/include/openssl/buffer.h", - "external/android/x86_64/include/openssl/camellia.h", - "external/android/x86_64/include/openssl/cast.h", - "external/android/x86_64/include/openssl/cmac.h", - "external/android/x86_64/include/openssl/cms.h", - "external/android/x86_64/include/openssl/comp.h", - "external/android/x86_64/include/openssl/conf.h", - "external/android/x86_64/include/openssl/conf_api.h", - "external/android/x86_64/include/openssl/crypto.h", - "external/android/x86_64/include/openssl/ct.h", - "external/android/x86_64/include/openssl/des.h", - "external/android/x86_64/include/openssl/dh.h", - "external/android/x86_64/include/openssl/dsa.h", - "external/android/x86_64/include/openssl/dtls1.h", - "external/android/x86_64/include/openssl/e_os2.h", - "external/android/x86_64/include/openssl/ebcdic.h", - "external/android/x86_64/include/openssl/ec.h", - "external/android/x86_64/include/openssl/ecdh.h", - "external/android/x86_64/include/openssl/ecdsa.h", - "external/android/x86_64/include/openssl/engine.h", - "external/android/x86_64/include/openssl/err.h", - "external/android/x86_64/include/openssl/evp.h", - "external/android/x86_64/include/openssl/hmac.h", - "external/android/x86_64/include/openssl/idea.h", - "external/android/x86_64/include/openssl/kdf.h", - "external/android/x86_64/include/openssl/lhash.h", - "external/android/x86_64/include/openssl/md2.h", - "external/android/x86_64/include/openssl/md4.h", - "external/android/x86_64/include/openssl/md5.h", - "external/android/x86_64/include/openssl/mdc2.h", - "external/android/x86_64/include/openssl/modes.h", - "external/android/x86_64/include/openssl/obj_mac.h", - "external/android/x86_64/include/openssl/objects.h", - "external/android/x86_64/include/openssl/ocsp.h", - "external/android/x86_64/include/openssl/opensslconf-arm32.h", - "external/android/x86_64/include/openssl/opensslconf-arm64.h", - "external/android/x86_64/include/openssl/opensslconf-x86.h", - "external/android/x86_64/include/openssl/opensslconf.h", - "external/android/x86_64/include/openssl/opensslv.h", - "external/android/x86_64/include/openssl/ossl_typ.h", - "external/android/x86_64/include/openssl/pem.h", - "external/android/x86_64/include/openssl/pem2.h", - "external/android/x86_64/include/openssl/pkcs12.h", - "external/android/x86_64/include/openssl/pkcs7.h", - "external/android/x86_64/include/openssl/rand.h", - "external/android/x86_64/include/openssl/rc2.h", - "external/android/x86_64/include/openssl/rc4.h", - "external/android/x86_64/include/openssl/rc5.h", - "external/android/x86_64/include/openssl/ripemd.h", - "external/android/x86_64/include/openssl/rsa.h", - "external/android/x86_64/include/openssl/safestack.h", - "external/android/x86_64/include/openssl/seed.h", - "external/android/x86_64/include/openssl/sha.h", - "external/android/x86_64/include/openssl/srp.h", - "external/android/x86_64/include/openssl/srtp.h", - "external/android/x86_64/include/openssl/ssl.h", - "external/android/x86_64/include/openssl/ssl2.h", - "external/android/x86_64/include/openssl/ssl3.h", - "external/android/x86_64/include/openssl/stack.h", - "external/android/x86_64/include/openssl/symhacks.h", - "external/android/x86_64/include/openssl/tls1.h", - "external/android/x86_64/include/openssl/ts.h", - "external/android/x86_64/include/openssl/txt_db.h", - "external/android/x86_64/include/openssl/ui.h", - "external/android/x86_64/include/openssl/whrlpool.h", - "external/android/x86_64/include/openssl/x509.h", - "external/android/x86_64/include/openssl/x509_vfy.h", - "external/android/x86_64/include/openssl/x509v3.h", - "external/android/x86_64/include/png/png.h", - "external/android/x86_64/include/png/pngconf.h", - "external/android/x86_64/include/png/pnglibconf.h", - "external/android/x86_64/include/uv/pthread-barrier.h", - "external/android/x86_64/include/uv/stdint-msvc2008.h", - "external/android/x86_64/include/uv/tree.h", - "external/android/x86_64/include/uv/uv-aix.h", - "external/android/x86_64/include/uv/uv-bsd.h", - "external/android/x86_64/include/uv/uv-darwin.h", - "external/android/x86_64/include/uv/uv-errno.h", - "external/android/x86_64/include/uv/uv-linux.h", - "external/android/x86_64/include/uv/uv-os390.h", - "external/android/x86_64/include/uv/uv-posix.h", - "external/android/x86_64/include/uv/uv-sunos.h", - "external/android/x86_64/include/uv/uv-threadpool.h", - "external/android/x86_64/include/uv/uv-unix.h", - "external/android/x86_64/include/uv/uv-version.h", - "external/android/x86_64/include/uv/uv-win.h", - "external/android/x86_64/include/uv/uv.h", - "external/android/x86_64/include/v8/APIDesign.md", - "external/android/x86_64/include/v8/DEPS", - "external/android/x86_64/include/v8/OWNERS", - "external/android/x86_64/include/v8/libplatform/DEPS", - "external/android/x86_64/include/v8/libplatform/libplatform-export.h", - "external/android/x86_64/include/v8/libplatform/libplatform.h", - "external/android/x86_64/include/v8/libplatform/v8-tracing.h", - "external/android/x86_64/include/v8/v8-inspector-protocol.h", - "external/android/x86_64/include/v8/v8-inspector.h", - "external/android/x86_64/include/v8/v8-internal.h", - "external/android/x86_64/include/v8/v8-platform.h", - "external/android/x86_64/include/v8/v8-profiler.h", - "external/android/x86_64/include/v8/v8-testing.h", - "external/android/x86_64/include/v8/v8-util.h", - "external/android/x86_64/include/v8/v8-value-serializer-version.h", - "external/android/x86_64/include/v8/v8-version-string.h", - "external/android/x86_64/include/v8/v8-version.h", - "external/android/x86_64/include/v8/v8-wasm-trap-handler-posix.h", - "external/android/x86_64/include/v8/v8-wasm-trap-handler-win.h", - "external/android/x86_64/include/v8/v8.h", - "external/android/x86_64/include/v8/v8config.h", - "external/android/x86_64/include/webp/decode.h", - "external/android/x86_64/include/webp/encode.h", - "external/android/x86_64/include/webp/types.h", - "external/android/x86_64/include/websockets/libwebsockets.h", - "external/android/x86_64/include/websockets/lws_config.h", - "external/android/x86_64/include/zlib/zconf.h", - "external/android/x86_64/include/zlib/zlib.h", - "external/android/x86_64/libcrypto.a", - "external/android/x86_64/libfreetype.a", - "external/android/x86_64/libjpeg.a", - "external/android/x86_64/libpng.a", - "external/android/x86_64/libssl.a", - "external/android/x86_64/libtbb_static.a", - "external/android/x86_64/libtbbmalloc_proxy_static.a", - "external/android/x86_64/libtbbmalloc_static.a", - "external/android/x86_64/libuv.a", - "external/android/x86_64/libwebp.a", - "external/android/x86_64/libwebsockets.a", - "external/android/x86_64/libz.a", - "external/android/x86_64/v8/libinspector.a", - "external/android/x86_64/v8/libv8_monolith.a", - "external/cmake/CocosExternalConfig.cmake", - "external/cmake/scripts/sync_folder.py", - "external/ios/CMakeLists.txt", - "external/ios/include/StandAlone/ResourceLimits.h", - "external/ios/include/StandAlone/resource_limits_c.h", - "external/ios/include/freetype/config/ftconfig.h", - "external/ios/include/freetype/config/ftheader.h", - "external/ios/include/freetype/config/ftmodule.h", - "external/ios/include/freetype/config/ftoption.h", - "external/ios/include/freetype/config/ftstdlib.h", - "external/ios/include/freetype/freetype.h", - "external/ios/include/freetype/ft2build.h", - "external/ios/include/freetype/ftadvanc.h", - "external/ios/include/freetype/ftautoh.h", - "external/ios/include/freetype/ftbbox.h", - "external/ios/include/freetype/ftbdf.h", - "external/ios/include/freetype/ftbitmap.h", - "external/ios/include/freetype/ftbzip2.h", - "external/ios/include/freetype/ftcache.h", - "external/ios/include/freetype/ftcffdrv.h", - "external/ios/include/freetype/ftchapters.h", - "external/ios/include/freetype/ftcid.h", - "external/ios/include/freetype/fterrdef.h", - "external/ios/include/freetype/fterrors.h", - "external/ios/include/freetype/ftfntfmt.h", - "external/ios/include/freetype/ftgasp.h", - "external/ios/include/freetype/ftglyph.h", - "external/ios/include/freetype/ftgxval.h", - "external/ios/include/freetype/ftgzip.h", - "external/ios/include/freetype/ftimage.h", - "external/ios/include/freetype/ftincrem.h", - "external/ios/include/freetype/ftlcdfil.h", - "external/ios/include/freetype/ftlist.h", - "external/ios/include/freetype/ftlzw.h", - "external/ios/include/freetype/ftmac.h", - "external/ios/include/freetype/ftmm.h", - "external/ios/include/freetype/ftmodapi.h", - "external/ios/include/freetype/ftmoderr.h", - "external/ios/include/freetype/ftotval.h", - "external/ios/include/freetype/ftoutln.h", - "external/ios/include/freetype/ftpfr.h", - "external/ios/include/freetype/ftrender.h", - "external/ios/include/freetype/ftsizes.h", - "external/ios/include/freetype/ftsnames.h", - "external/ios/include/freetype/ftstroke.h", - "external/ios/include/freetype/ftsynth.h", - "external/ios/include/freetype/ftsystem.h", - "external/ios/include/freetype/fttrigon.h", - "external/ios/include/freetype/ftttdrv.h", - "external/ios/include/freetype/fttypes.h", - "external/ios/include/freetype/ftwinfnt.h", - "external/ios/include/freetype/t1tables.h", - "external/ios/include/freetype/ttnameid.h", - "external/ios/include/freetype/tttables.h", - "external/ios/include/freetype/tttags.h", - "external/ios/include/freetype/ttunpat.h", - "external/ios/include/glslang/Include/BaseTypes.h", - "external/ios/include/glslang/Include/Common.h", - "external/ios/include/glslang/Include/ConstantUnion.h", - "external/ios/include/glslang/Include/InfoSink.h", - "external/ios/include/glslang/Include/InitializeGlobals.h", - "external/ios/include/glslang/Include/PoolAlloc.h", - "external/ios/include/glslang/Include/ResourceLimits.h", - "external/ios/include/glslang/Include/ShHandle.h", - "external/ios/include/glslang/Include/Types.h", - "external/ios/include/glslang/Include/arrays.h", - "external/ios/include/glslang/Include/glslang_c_interface.h", - "external/ios/include/glslang/Include/glslang_c_shader_types.h", - "external/ios/include/glslang/Include/intermediate.h", - "external/ios/include/glslang/Include/revision.h", - "external/ios/include/glslang/MachineIndependent/Initialize.h", - "external/ios/include/glslang/MachineIndependent/LiveTraverser.h", - "external/ios/include/glslang/MachineIndependent/ParseHelper.h", - "external/ios/include/glslang/MachineIndependent/RemoveTree.h", - "external/ios/include/glslang/MachineIndependent/Scan.h", - "external/ios/include/glslang/MachineIndependent/ScanContext.h", - "external/ios/include/glslang/MachineIndependent/SymbolTable.h", - "external/ios/include/glslang/MachineIndependent/Versions.h", - "external/ios/include/glslang/MachineIndependent/attribute.h", - "external/ios/include/glslang/MachineIndependent/gl_types.h", - "external/ios/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/ios/include/glslang/MachineIndependent/iomapper.h", - "external/ios/include/glslang/MachineIndependent/localintermediate.h", - "external/ios/include/glslang/MachineIndependent/parseVersions.h", - "external/ios/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/ios/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/ios/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/ios/include/glslang/MachineIndependent/reflection.h", - "external/ios/include/glslang/Public/ShaderLang.h", - "external/ios/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/ios/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/ios/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/ios/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/ios/include/glslang/SPIRV/GLSL.std.450.h", - "external/ios/include/glslang/SPIRV/GlslangToSpv.h", - "external/ios/include/glslang/SPIRV/Logger.h", - "external/ios/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/ios/include/glslang/SPIRV/SPVRemapper.h", - "external/ios/include/glslang/SPIRV/SpvBuilder.h", - "external/ios/include/glslang/SPIRV/SpvTools.h", - "external/ios/include/glslang/SPIRV/bitutils.h", - "external/ios/include/glslang/SPIRV/disassemble.h", - "external/ios/include/glslang/SPIRV/doc.h", - "external/ios/include/glslang/SPIRV/hex_float.h", - "external/ios/include/glslang/SPIRV/spirv.hpp", - "external/ios/include/glslang/SPIRV/spvIR.h", - "external/ios/include/jpeg/jconfig.h", - "external/ios/include/jpeg/jerror.h", - "external/ios/include/jpeg/jmorecfg.h", - "external/ios/include/jpeg/jpeglib.h", - "external/ios/include/openssl/aes.h", - "external/ios/include/openssl/asn1.h", - "external/ios/include/openssl/asn1_mac.h", - "external/ios/include/openssl/asn1t.h", - "external/ios/include/openssl/async.h", - "external/ios/include/openssl/bio.h", - "external/ios/include/openssl/blowfish.h", - "external/ios/include/openssl/bn.h", - "external/ios/include/openssl/buffer.h", - "external/ios/include/openssl/camellia.h", - "external/ios/include/openssl/cast.h", - "external/ios/include/openssl/cmac.h", - "external/ios/include/openssl/cms.h", - "external/ios/include/openssl/comp.h", - "external/ios/include/openssl/conf.h", - "external/ios/include/openssl/conf_api.h", - "external/ios/include/openssl/crypto.h", - "external/ios/include/openssl/ct.h", - "external/ios/include/openssl/des.h", - "external/ios/include/openssl/dh.h", - "external/ios/include/openssl/dsa.h", - "external/ios/include/openssl/dtls1.h", - "external/ios/include/openssl/e_os2.h", - "external/ios/include/openssl/ebcdic.h", - "external/ios/include/openssl/ec.h", - "external/ios/include/openssl/ecdh.h", - "external/ios/include/openssl/ecdsa.h", - "external/ios/include/openssl/engine.h", - "external/ios/include/openssl/err.h", - "external/ios/include/openssl/evp.h", - "external/ios/include/openssl/hmac.h", - "external/ios/include/openssl/idea.h", - "external/ios/include/openssl/kdf.h", - "external/ios/include/openssl/lhash.h", - "external/ios/include/openssl/md2.h", - "external/ios/include/openssl/md4.h", - "external/ios/include/openssl/md5.h", - "external/ios/include/openssl/mdc2.h", - "external/ios/include/openssl/modes.h", - "external/ios/include/openssl/obj_mac.h", - "external/ios/include/openssl/objects.h", - "external/ios/include/openssl/ocsp.h", - "external/ios/include/openssl/opensslconf-arm32.h", - "external/ios/include/openssl/opensslconf-arm64.h", - "external/ios/include/openssl/opensslconf-i386.h", - "external/ios/include/openssl/opensslconf-x86_64.h", - "external/ios/include/openssl/opensslconf.h", - "external/ios/include/openssl/opensslv.h", - "external/ios/include/openssl/ossl_typ.h", - "external/ios/include/openssl/pem.h", - "external/ios/include/openssl/pem2.h", - "external/ios/include/openssl/pkcs12.h", - "external/ios/include/openssl/pkcs7.h", - "external/ios/include/openssl/rand.h", - "external/ios/include/openssl/rc2.h", - "external/ios/include/openssl/rc4.h", - "external/ios/include/openssl/rc5.h", - "external/ios/include/openssl/ripemd.h", - "external/ios/include/openssl/rsa.h", - "external/ios/include/openssl/safestack.h", - "external/ios/include/openssl/seed.h", - "external/ios/include/openssl/sha.h", - "external/ios/include/openssl/srp.h", - "external/ios/include/openssl/srtp.h", - "external/ios/include/openssl/ssl.h", - "external/ios/include/openssl/ssl2.h", - "external/ios/include/openssl/ssl3.h", - "external/ios/include/openssl/stack.h", - "external/ios/include/openssl/symhacks.h", - "external/ios/include/openssl/tls1.h", - "external/ios/include/openssl/ts.h", - "external/ios/include/openssl/txt_db.h", - "external/ios/include/openssl/ui.h", - "external/ios/include/openssl/whrlpool.h", - "external/ios/include/openssl/x509.h", - "external/ios/include/openssl/x509_vfy.h", - "external/ios/include/openssl/x509v3.h", - "external/ios/include/png/png.h", - "external/ios/include/png/pngconf.h", - "external/ios/include/png/pnglibconf.h", - "external/ios/include/spirv_cross/GLSL.std.450.h", - "external/ios/include/spirv_cross/spirv.hpp", - "external/ios/include/spirv_cross/spirv_cfg.hpp", - "external/ios/include/spirv_cross/spirv_common.hpp", - "external/ios/include/spirv_cross/spirv_cross.hpp", - "external/ios/include/spirv_cross/spirv_cross_containers.hpp", - "external/ios/include/spirv_cross/spirv_cross_error_handling.hpp", - "external/ios/include/spirv_cross/spirv_cross_parsed_ir.hpp", - "external/ios/include/spirv_cross/spirv_glsl.hpp", - "external/ios/include/spirv_cross/spirv_msl.hpp", - "external/ios/include/spirv_cross/spirv_parser.hpp", - "external/ios/include/uv/uv.h", - "external/ios/include/uv/uv/aix.h", - "external/ios/include/uv/uv/android-ifaddrs.h", - "external/ios/include/uv/uv/bsd.h", - "external/ios/include/uv/uv/darwin.h", - "external/ios/include/uv/uv/errno.h", - "external/ios/include/uv/uv/linux.h", - "external/ios/include/uv/uv/os390.h", - "external/ios/include/uv/uv/posix.h", - "external/ios/include/uv/uv/pthread-barrier.h", - "external/ios/include/uv/uv/stdint-msvc2008.h", - "external/ios/include/uv/uv/sunos.h", - "external/ios/include/uv/uv/threadpool.h", - "external/ios/include/uv/uv/tree.h", - "external/ios/include/uv/uv/unix.h", - "external/ios/include/uv/uv/version.h", - "external/ios/include/uv/uv/win.h", - "external/ios/include/v8/libplatform/libplatform-export.h", - "external/ios/include/v8/libplatform/libplatform.h", - "external/ios/include/v8/libplatform/v8-tracing.h", - "external/ios/include/v8/v8-inspector-protocol.h", - "external/ios/include/v8/v8-inspector.h", - "external/ios/include/v8/v8-internal.h", - "external/ios/include/v8/v8-platform.h", - "external/ios/include/v8/v8-profiler.h", - "external/ios/include/v8/v8-testing.h", - "external/ios/include/v8/v8-util.h", - "external/ios/include/v8/v8-value-serializer-version.h", - "external/ios/include/v8/v8-version-string.h", - "external/ios/include/v8/v8-version.h", - "external/ios/include/v8/v8-wasm-trap-handler-posix.h", - "external/ios/include/v8/v8-wasm-trap-handler-win.h", - "external/ios/include/v8/v8.h", - "external/ios/include/v8/v8config.h", - "external/ios/include/webp/decode.h", - "external/ios/include/webp/encode.h", - "external/ios/include/webp/types.h", - "external/ios/include/websockets/libwebsockets.h", - "external/ios/include/websockets/lws_config-arm32.h", - "external/ios/include/websockets/lws_config-arm64.h", - "external/ios/include/websockets/lws_config-i386.h", - "external/ios/include/websockets/lws_config-x86_64.h", - "external/ios/include/websockets/lws_config.h", - "external/ios/libs/glslang/libOGLCompiler.a", - "external/ios/libs/glslang/libOSDependent.a", - "external/ios/libs/glslang/libSPIRV.a", - "external/ios/libs/glslang/libglslang-default-resource-limits.a", - "external/ios/libs/glslang/libglslang.a", - "external/ios/libs/libcrypto.a", - "external/ios/libs/libfreetype.a", - "external/ios/libs/libjpeg.a", - "external/ios/libs/libpng.a", - "external/ios/libs/libssl.a", - "external/ios/libs/libtbb_static.a", - "external/ios/libs/libtbbmalloc_proxy_static.a", - "external/ios/libs/libtbbmalloc_static.a", - "external/ios/libs/libuv_a.a", - "external/ios/libs/libv8_monolith.a", - "external/ios/libs/libwebp.a", - "external/ios/libs/libwebsockets.a", - "external/ios/libs/spirv-cross/libspirv-cross-core.a", - "external/ios/libs/spirv-cross/libspirv-cross-glsl.a", - "external/ios/libs/spirv-cross/libspirv-cross-msl.a", - "external/mac/CMakeLists.txt", - "external/mac/include/StandAlone/ResourceLimits.h", - "external/mac/include/StandAlone/resource_limits_c.h", - "external/mac/include/curl/curl.h", - "external/mac/include/curl/curlbuild.h", - "external/mac/include/curl/curlrules.h", - "external/mac/include/curl/curlver.h", - "external/mac/include/curl/easy.h", - "external/mac/include/curl/mprintf.h", - "external/mac/include/curl/multi.h", - "external/mac/include/curl/stdcheaders.h", - "external/mac/include/curl/typecheck-gcc.h", - "external/mac/include/freetype/config/ftconfig.h", - "external/mac/include/freetype/config/ftheader.h", - "external/mac/include/freetype/config/ftmodule.h", - "external/mac/include/freetype/config/ftoption.h", - "external/mac/include/freetype/config/ftstdlib.h", - "external/mac/include/freetype/freetype.h", - "external/mac/include/freetype/ft2build.h", - "external/mac/include/freetype/ftadvanc.h", - "external/mac/include/freetype/ftautoh.h", - "external/mac/include/freetype/ftbbox.h", - "external/mac/include/freetype/ftbdf.h", - "external/mac/include/freetype/ftbitmap.h", - "external/mac/include/freetype/ftbzip2.h", - "external/mac/include/freetype/ftcache.h", - "external/mac/include/freetype/ftcffdrv.h", - "external/mac/include/freetype/ftchapters.h", - "external/mac/include/freetype/ftcid.h", - "external/mac/include/freetype/fterrdef.h", - "external/mac/include/freetype/fterrors.h", - "external/mac/include/freetype/ftfntfmt.h", - "external/mac/include/freetype/ftgasp.h", - "external/mac/include/freetype/ftglyph.h", - "external/mac/include/freetype/ftgxval.h", - "external/mac/include/freetype/ftgzip.h", - "external/mac/include/freetype/ftimage.h", - "external/mac/include/freetype/ftincrem.h", - "external/mac/include/freetype/ftlcdfil.h", - "external/mac/include/freetype/ftlist.h", - "external/mac/include/freetype/ftlzw.h", - "external/mac/include/freetype/ftmac.h", - "external/mac/include/freetype/ftmm.h", - "external/mac/include/freetype/ftmodapi.h", - "external/mac/include/freetype/ftmoderr.h", - "external/mac/include/freetype/ftotval.h", - "external/mac/include/freetype/ftoutln.h", - "external/mac/include/freetype/ftpfr.h", - "external/mac/include/freetype/ftrender.h", - "external/mac/include/freetype/ftsizes.h", - "external/mac/include/freetype/ftsnames.h", - "external/mac/include/freetype/ftstroke.h", - "external/mac/include/freetype/ftsynth.h", - "external/mac/include/freetype/ftsystem.h", - "external/mac/include/freetype/fttrigon.h", - "external/mac/include/freetype/ftttdrv.h", - "external/mac/include/freetype/fttypes.h", - "external/mac/include/freetype/ftwinfnt.h", - "external/mac/include/freetype/t1tables.h", - "external/mac/include/freetype/ttnameid.h", - "external/mac/include/freetype/tttables.h", - "external/mac/include/freetype/tttags.h", - "external/mac/include/freetype/ttunpat.h", - "external/mac/include/glslang/Include/BaseTypes.h", - "external/mac/include/glslang/Include/Common.h", - "external/mac/include/glslang/Include/ConstantUnion.h", - "external/mac/include/glslang/Include/InfoSink.h", - "external/mac/include/glslang/Include/InitializeGlobals.h", - "external/mac/include/glslang/Include/PoolAlloc.h", - "external/mac/include/glslang/Include/ResourceLimits.h", - "external/mac/include/glslang/Include/ShHandle.h", - "external/mac/include/glslang/Include/Types.h", - "external/mac/include/glslang/Include/arrays.h", - "external/mac/include/glslang/Include/glslang_c_interface.h", - "external/mac/include/glslang/Include/glslang_c_shader_types.h", - "external/mac/include/glslang/Include/intermediate.h", - "external/mac/include/glslang/Include/revision.h", - "external/mac/include/glslang/MachineIndependent/Initialize.h", - "external/mac/include/glslang/MachineIndependent/LiveTraverser.h", - "external/mac/include/glslang/MachineIndependent/ParseHelper.h", - "external/mac/include/glslang/MachineIndependent/RemoveTree.h", - "external/mac/include/glslang/MachineIndependent/Scan.h", - "external/mac/include/glslang/MachineIndependent/ScanContext.h", - "external/mac/include/glslang/MachineIndependent/SymbolTable.h", - "external/mac/include/glslang/MachineIndependent/Versions.h", - "external/mac/include/glslang/MachineIndependent/attribute.h", - "external/mac/include/glslang/MachineIndependent/gl_types.h", - "external/mac/include/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/mac/include/glslang/MachineIndependent/iomapper.h", - "external/mac/include/glslang/MachineIndependent/localintermediate.h", - "external/mac/include/glslang/MachineIndependent/parseVersions.h", - "external/mac/include/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/mac/include/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/mac/include/glslang/MachineIndependent/propagateNoContraction.h", - "external/mac/include/glslang/MachineIndependent/reflection.h", - "external/mac/include/glslang/Public/ShaderLang.h", - "external/mac/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/mac/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/mac/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/mac/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/mac/include/glslang/SPIRV/GLSL.std.450.h", - "external/mac/include/glslang/SPIRV/GlslangToSpv.h", - "external/mac/include/glslang/SPIRV/Logger.h", - "external/mac/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/mac/include/glslang/SPIRV/SPVRemapper.h", - "external/mac/include/glslang/SPIRV/SpvBuilder.h", - "external/mac/include/glslang/SPIRV/SpvTools.h", - "external/mac/include/glslang/SPIRV/bitutils.h", - "external/mac/include/glslang/SPIRV/disassemble.h", - "external/mac/include/glslang/SPIRV/doc.h", - "external/mac/include/glslang/SPIRV/hex_float.h", - "external/mac/include/glslang/SPIRV/spirv.hpp", - "external/mac/include/glslang/SPIRV/spvIR.h", - "external/mac/include/jpeg/jconfig.h", - "external/mac/include/jpeg/jmorecfg.h", - "external/mac/include/jpeg/jpeglib.h", - "external/mac/include/openssl/aes.h", - "external/mac/include/openssl/asn1.h", - "external/mac/include/openssl/asn1_mac.h", - "external/mac/include/openssl/asn1t.h", - "external/mac/include/openssl/async.h", - "external/mac/include/openssl/bio.h", - "external/mac/include/openssl/blowfish.h", - "external/mac/include/openssl/bn.h", - "external/mac/include/openssl/buffer.h", - "external/mac/include/openssl/camellia.h", - "external/mac/include/openssl/cast.h", - "external/mac/include/openssl/cmac.h", - "external/mac/include/openssl/cms.h", - "external/mac/include/openssl/comp.h", - "external/mac/include/openssl/conf.h", - "external/mac/include/openssl/conf_api.h", - "external/mac/include/openssl/crypto.h", - "external/mac/include/openssl/ct.h", - "external/mac/include/openssl/des.h", - "external/mac/include/openssl/dh.h", - "external/mac/include/openssl/dsa.h", - "external/mac/include/openssl/dtls1.h", - "external/mac/include/openssl/e_os2.h", - "external/mac/include/openssl/ebcdic.h", - "external/mac/include/openssl/ec.h", - "external/mac/include/openssl/ecdh.h", - "external/mac/include/openssl/ecdsa.h", - "external/mac/include/openssl/engine.h", - "external/mac/include/openssl/err.h", - "external/mac/include/openssl/evp.h", - "external/mac/include/openssl/hmac.h", - "external/mac/include/openssl/idea.h", - "external/mac/include/openssl/kdf.h", - "external/mac/include/openssl/lhash.h", - "external/mac/include/openssl/md2.h", - "external/mac/include/openssl/md4.h", - "external/mac/include/openssl/md5.h", - "external/mac/include/openssl/mdc2.h", - "external/mac/include/openssl/modes.h", - "external/mac/include/openssl/obj_mac.h", - "external/mac/include/openssl/objects.h", - "external/mac/include/openssl/ocsp.h", - "external/mac/include/openssl/opensslconf.h", - "external/mac/include/openssl/opensslv.h", - "external/mac/include/openssl/ossl_typ.h", - "external/mac/include/openssl/pem.h", - "external/mac/include/openssl/pem2.h", - "external/mac/include/openssl/pkcs12.h", - "external/mac/include/openssl/pkcs7.h", - "external/mac/include/openssl/rand.h", - "external/mac/include/openssl/rc2.h", - "external/mac/include/openssl/rc4.h", - "external/mac/include/openssl/rc5.h", - "external/mac/include/openssl/ripemd.h", - "external/mac/include/openssl/rsa.h", - "external/mac/include/openssl/safestack.h", - "external/mac/include/openssl/seed.h", - "external/mac/include/openssl/sha.h", - "external/mac/include/openssl/srp.h", - "external/mac/include/openssl/srtp.h", - "external/mac/include/openssl/ssl.h", - "external/mac/include/openssl/ssl2.h", - "external/mac/include/openssl/ssl3.h", - "external/mac/include/openssl/stack.h", - "external/mac/include/openssl/symhacks.h", - "external/mac/include/openssl/tls1.h", - "external/mac/include/openssl/ts.h", - "external/mac/include/openssl/txt_db.h", - "external/mac/include/openssl/ui.h", - "external/mac/include/openssl/whrlpool.h", - "external/mac/include/openssl/x509.h", - "external/mac/include/openssl/x509_vfy.h", - "external/mac/include/openssl/x509v3.h", - "external/mac/include/png/png.h", - "external/mac/include/png/pngconf.h", - "external/mac/include/png/pnglibconf.h", - "external/mac/include/pvrsdk/CL/cl.h", - "external/mac/include/pvrsdk/CL/cl2.hpp", - "external/mac/include/pvrsdk/CL/cl_d3d10.h", - "external/mac/include/pvrsdk/CL/cl_d3d11.h", - "external/mac/include/pvrsdk/CL/cl_dx9_media_sharing.h", - "external/mac/include/pvrsdk/CL/cl_egl.h", - "external/mac/include/pvrsdk/CL/cl_ext.h", - "external/mac/include/pvrsdk/CL/cl_gl.h", - "external/mac/include/pvrsdk/CL/cl_gl_ext.h", - "external/mac/include/pvrsdk/CL/cl_platform.h", - "external/mac/include/pvrsdk/CL/opencl.h", - "external/mac/include/pvrsdk/DynamicEgl.h", - "external/mac/include/pvrsdk/DynamicGles.h", - "external/mac/include/pvrsdk/DynamicOCL.h", - "external/mac/include/pvrsdk/EGL/egl.h", - "external/mac/include/pvrsdk/EGL/eglext.h", - "external/mac/include/pvrsdk/EGL/eglplatform.h", - "external/mac/include/pvrsdk/GLES/egl.h", - "external/mac/include/pvrsdk/GLES/gl.h", - "external/mac/include/pvrsdk/GLES/glext.h", - "external/mac/include/pvrsdk/GLES/glplatform.h", - "external/mac/include/pvrsdk/GLES2/gl2.h", - "external/mac/include/pvrsdk/GLES2/gl2ext.h", - "external/mac/include/pvrsdk/GLES2/gl2platform.h", - "external/mac/include/pvrsdk/GLES3/gl3.h", - "external/mac/include/pvrsdk/GLES3/gl31.h", - "external/mac/include/pvrsdk/GLES3/gl32.h", - "external/mac/include/pvrsdk/GLES3/gl3platform.h", - "external/mac/include/pvrsdk/KHR/khrplatform.h", - "external/mac/include/pvrsdk/PVRScopeComms.h", - "external/mac/include/pvrsdk/PVRScopeStats.h", - "external/mac/include/pvrsdk/pvr_openlib.h", - "external/mac/include/pvrsdk/sdkver.h", - "external/mac/include/pvrsdk/vk_bindings.h", - "external/mac/include/pvrsdk/vk_bindings_helper.h", - "external/mac/include/pvrsdk/vulkan/vk_icd.h", - "external/mac/include/pvrsdk/vulkan/vk_layer.h", - "external/mac/include/pvrsdk/vulkan/vk_platform.h", - "external/mac/include/pvrsdk/vulkan/vulkan.h", - "external/mac/include/pvrsdk/vulkan/vulkan_android.h", - "external/mac/include/pvrsdk/vulkan/vulkan_core.h", - "external/mac/include/pvrsdk/vulkan/vulkan_ios.h", - "external/mac/include/pvrsdk/vulkan/vulkan_macos.h", - "external/mac/include/pvrsdk/vulkan/vulkan_mir.h", - "external/mac/include/pvrsdk/vulkan/vulkan_vi.h", - "external/mac/include/pvrsdk/vulkan/vulkan_wayland.h", - "external/mac/include/pvrsdk/vulkan/vulkan_win32.h", - "external/mac/include/pvrsdk/vulkan/vulkan_xcb.h", - "external/mac/include/pvrsdk/vulkan/vulkan_xlib.h", - "external/mac/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", - "external/mac/include/spirv_cross/GLSL.std.450.h", - "external/mac/include/spirv_cross/spirv.h", - "external/mac/include/spirv_cross/spirv.hpp", - "external/mac/include/spirv_cross/spirv_cfg.hpp", - "external/mac/include/spirv_cross/spirv_common.hpp", - "external/mac/include/spirv_cross/spirv_cpp.hpp", - "external/mac/include/spirv_cross/spirv_cross.hpp", - "external/mac/include/spirv_cross/spirv_cross_c.h", - "external/mac/include/spirv_cross/spirv_cross_containers.hpp", - "external/mac/include/spirv_cross/spirv_cross_error_handling.hpp", - "external/mac/include/spirv_cross/spirv_cross_parsed_ir.hpp", - "external/mac/include/spirv_cross/spirv_cross_util.hpp", - "external/mac/include/spirv_cross/spirv_glsl.hpp", - "external/mac/include/spirv_cross/spirv_hlsl.hpp", - "external/mac/include/spirv_cross/spirv_msl.hpp", - "external/mac/include/spirv_cross/spirv_parser.hpp", - "external/mac/include/spirv_cross/spirv_reflect.hpp", - "external/mac/include/uv/uv.h", - "external/mac/include/uv/uv/aix.h", - "external/mac/include/uv/uv/android-ifaddrs.h", - "external/mac/include/uv/uv/bsd.h", - "external/mac/include/uv/uv/darwin.h", - "external/mac/include/uv/uv/errno.h", - "external/mac/include/uv/uv/linux.h", - "external/mac/include/uv/uv/os390.h", - "external/mac/include/uv/uv/posix.h", - "external/mac/include/uv/uv/pthread-barrier.h", - "external/mac/include/uv/uv/stdint-msvc2008.h", - "external/mac/include/uv/uv/sunos.h", - "external/mac/include/uv/uv/threadpool.h", - "external/mac/include/uv/uv/tree.h", - "external/mac/include/uv/uv/unix.h", - "external/mac/include/uv/uv/version.h", - "external/mac/include/uv/uv/win.h", - "external/mac/include/v8/libplatform/libplatform-export.h", - "external/mac/include/v8/libplatform/libplatform.h", - "external/mac/include/v8/libplatform/v8-tracing.h", - "external/mac/include/v8/v8-inspector-protocol.h", - "external/mac/include/v8/v8-inspector.h", - "external/mac/include/v8/v8-internal.h", - "external/mac/include/v8/v8-platform.h", - "external/mac/include/v8/v8-profiler.h", - "external/mac/include/v8/v8-testing.h", - "external/mac/include/v8/v8-util.h", - "external/mac/include/v8/v8-value-serializer-version.h", - "external/mac/include/v8/v8-version-string.h", - "external/mac/include/v8/v8-version.h", - "external/mac/include/v8/v8-wasm-trap-handler-posix.h", - "external/mac/include/v8/v8-wasm-trap-handler-win.h", - "external/mac/include/v8/v8.h", - "external/mac/include/v8/v8config.h", - "external/mac/include/webp/decode.h", - "external/mac/include/webp/encode.h", - "external/mac/include/webp/types.h", - "external/mac/include/websockets/libwebsockets.h", - "external/mac/include/websockets/lws_config.h", - "external/mac/include/zlib/zconf.h", - "external/mac/include/zlib/zlib.h", - "external/mac/libs/glslang/libOGLCompiler.a", - "external/mac/libs/glslang/libOSDependent.a", - "external/mac/libs/glslang/libSPIRV.a", - "external/mac/libs/glslang/libglslang-default-resource-limits.a", - "external/mac/libs/glslang/libglslang.a", - "external/mac/libs/libEGL.dylib", - "external/mac/libs/libGLESv2.dylib", - "external/mac/libs/libcrypto.a", - "external/mac/libs/libcurl.a", - "external/mac/libs/libfreetype.a", - "external/mac/libs/libinspector.a", - "external/mac/libs/libjpeg.a", - "external/mac/libs/libpng.a", - "external/mac/libs/libspirv-cross-core.a", - "external/mac/libs/libspirv-cross-glsl.a", - "external/mac/libs/libspirv-cross-msl.a", - "external/mac/libs/libssl.a", - "external/mac/libs/libtbb_static.a", - "external/mac/libs/libtbbmalloc_proxy_static.a", - "external/mac/libs/libtbbmalloc_static.a", - "external/mac/libs/libuv_a.a", - "external/mac/libs/libv8_monolith.a", - "external/mac/libs/libwebp.a", - "external/mac/libs/libwebsockets.a", - "external/mac/libs/libz.a", - "external/sources/CMakeLists.txt", - "external/sources/ConvertUTF/CMakeLists.txt", - "external/sources/ConvertUTF/ConvertUTF.c", - "external/sources/ConvertUTF/ConvertUTF.h", - "external/sources/ConvertUTF/ConvertUTFWrapper.cpp", - "external/sources/SocketRocket/CMakeLists.txt", - "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.h", - "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.m", - "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumer.h", - "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumer.m", - "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumerPool.h", - "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumerPool.m", - "external/sources/SocketRocket/Internal/NSRunLoop+SRWebSocketPrivate.h", - "external/sources/SocketRocket/Internal/NSURLRequest+SRWebSocketPrivate.h", - "external/sources/SocketRocket/Internal/Proxy/SRProxyConnect.h", - "external/sources/SocketRocket/Internal/Proxy/SRProxyConnect.m", - "external/sources/SocketRocket/Internal/RunLoop/SRRunLoopThread.h", - "external/sources/SocketRocket/Internal/RunLoop/SRRunLoopThread.m", - "external/sources/SocketRocket/Internal/SRConstants.h", - "external/sources/SocketRocket/Internal/SRConstants.m", - "external/sources/SocketRocket/Internal/Security/SRPinningSecurityPolicy.h", - "external/sources/SocketRocket/Internal/Security/SRPinningSecurityPolicy.m", - "external/sources/SocketRocket/Internal/Utilities/SRError.h", - "external/sources/SocketRocket/Internal/Utilities/SRError.m", - "external/sources/SocketRocket/Internal/Utilities/SRHTTPConnectMessage.h", - "external/sources/SocketRocket/Internal/Utilities/SRHTTPConnectMessage.m", - "external/sources/SocketRocket/Internal/Utilities/SRHash.h", - "external/sources/SocketRocket/Internal/Utilities/SRHash.m", - "external/sources/SocketRocket/Internal/Utilities/SRLog.h", - "external/sources/SocketRocket/Internal/Utilities/SRLog.m", - "external/sources/SocketRocket/Internal/Utilities/SRMutex.h", - "external/sources/SocketRocket/Internal/Utilities/SRMutex.m", - "external/sources/SocketRocket/Internal/Utilities/SRRandom.h", - "external/sources/SocketRocket/Internal/Utilities/SRRandom.m", - "external/sources/SocketRocket/Internal/Utilities/SRSIMDHelpers.h", - "external/sources/SocketRocket/Internal/Utilities/SRSIMDHelpers.m", - "external/sources/SocketRocket/Internal/Utilities/SRURLUtilities.h", - "external/sources/SocketRocket/Internal/Utilities/SRURLUtilities.m", - "external/sources/SocketRocket/NSRunLoop+SRWebSocket.h", - "external/sources/SocketRocket/NSRunLoop+SRWebSocket.m", - "external/sources/SocketRocket/NSURLRequest+SRWebSocket.h", - "external/sources/SocketRocket/NSURLRequest+SRWebSocket.m", - "external/sources/SocketRocket/SRSecurityPolicy.h", - "external/sources/SocketRocket/SRSecurityPolicy.m", - "external/sources/SocketRocket/SRWebSocket.h", - "external/sources/SocketRocket/SRWebSocket.m", - "external/sources/SocketRocket/SocketRocket.h", - "external/sources/acl/compression/compress.h", - "external/sources/acl/compression/compression_level.h", - "external/sources/acl/compression/compression_settings.h", - "external/sources/acl/compression/convert.h", - "external/sources/acl/compression/impl/animated_track_utils.h", - "external/sources/acl/compression/impl/clip_context.h", - "external/sources/acl/compression/impl/compact_constant_streams.h", - "external/sources/acl/compression/impl/compress.impl.h", - "external/sources/acl/compression/impl/compression_settings.impl.h", - "external/sources/acl/compression/impl/constant_track_impl.h", - "external/sources/acl/compression/impl/convert.impl.h", - "external/sources/acl/compression/impl/convert_rotation_streams.h", - "external/sources/acl/compression/impl/normalize_streams.h", - "external/sources/acl/compression/impl/normalize_track_impl.h", - "external/sources/acl/compression/impl/quantize_streams.h", - "external/sources/acl/compression/impl/quantize_track_impl.h", - "external/sources/acl/compression/impl/sample_streams.h", - "external/sources/acl/compression/impl/segment_context.h", - "external/sources/acl/compression/impl/segment_streams.h", - "external/sources/acl/compression/impl/track.impl.h", - "external/sources/acl/compression/impl/track_array.impl.h", - "external/sources/acl/compression/impl/track_bit_rate_database.h", - "external/sources/acl/compression/impl/track_error.impl.h", - "external/sources/acl/compression/impl/track_list_context.h", - "external/sources/acl/compression/impl/track_range.h", - "external/sources/acl/compression/impl/track_range_impl.h", - "external/sources/acl/compression/impl/track_stream.h", - "external/sources/acl/compression/impl/transform_bit_rate_permutations.h", - "external/sources/acl/compression/impl/write_compression_stats_impl.h", - "external/sources/acl/compression/impl/write_decompression_stats.h", - "external/sources/acl/compression/impl/write_range_data.h", - "external/sources/acl/compression/impl/write_segment_data.h", - "external/sources/acl/compression/impl/write_stats.h", - "external/sources/acl/compression/impl/write_stream_bitsets.h", - "external/sources/acl/compression/impl/write_stream_data.h", - "external/sources/acl/compression/impl/write_track_data_impl.h", - "external/sources/acl/compression/impl/write_track_metadata.h", - "external/sources/acl/compression/output_stats.h", - "external/sources/acl/compression/track.h", - "external/sources/acl/compression/track_array.h", - "external/sources/acl/compression/track_error.h", - "external/sources/acl/compression/transform_error_metrics.h", - "external/sources/acl/compression/transform_pose_utils.h", - "external/sources/acl/core/additive_utils.h", - "external/sources/acl/core/algorithm_types.h", - "external/sources/acl/core/ansi_allocator.h", - "external/sources/acl/core/bit_manip_utils.h", - "external/sources/acl/core/bitset.h", - "external/sources/acl/core/buffer_tag.h", - "external/sources/acl/core/compressed_tracks.h", - "external/sources/acl/core/compressed_tracks_version.h", - "external/sources/acl/core/enum_utils.h", - "external/sources/acl/core/error.h", - "external/sources/acl/core/error_result.h", - "external/sources/acl/core/floating_point_exceptions.h", - "external/sources/acl/core/hash.h", - "external/sources/acl/core/iallocator.h", - "external/sources/acl/core/impl/compiler_utils.h", - "external/sources/acl/core/impl/compressed_headers.h", - "external/sources/acl/core/impl/compressed_tracks.impl.h", - "external/sources/acl/core/impl/debug_track_writer.h", - "external/sources/acl/core/impl/memory_cache.h", - "external/sources/acl/core/impl/track_desc.impl.h", - "external/sources/acl/core/impl/track_formats.impl.h", - "external/sources/acl/core/interpolation_utils.h", - "external/sources/acl/core/iterator.h", - "external/sources/acl/core/memory_utils.h", - "external/sources/acl/core/ptr_offset.h", - "external/sources/acl/core/range_reduction_types.h", - "external/sources/acl/core/scope_profiler.h", - "external/sources/acl/core/string.h", - "external/sources/acl/core/track_desc.h", - "external/sources/acl/core/track_formats.h", - "external/sources/acl/core/track_traits.h", - "external/sources/acl/core/track_types.h", - "external/sources/acl/core/track_writer.h", - "external/sources/acl/core/unique_ptr.h", - "external/sources/acl/core/utils.h", - "external/sources/acl/core/variable_bit_rates.h", - "external/sources/acl/decompression/decompress.h", - "external/sources/acl/decompression/impl/decompress.impl.h", - "external/sources/acl/decompression/impl/decompression_context_selector.h", - "external/sources/acl/decompression/impl/decompression_version_selector.h", - "external/sources/acl/decompression/impl/scalar_track_decompression.h", - "external/sources/acl/decompression/impl/track_cache.h", - "external/sources/acl/decompression/impl/transform_animated_track_cache.h", - "external/sources/acl/decompression/impl/transform_constant_track_cache.h", - "external/sources/acl/decompression/impl/transform_decompression_context.h", - "external/sources/acl/decompression/impl/transform_track_decompression.h", - "external/sources/acl/decompression/impl/universal_track_decompression.h", - "external/sources/acl/io/clip_reader.h", - "external/sources/acl/io/clip_reader_error.h", - "external/sources/acl/io/clip_writer.h", - "external/sources/acl/math/quat_packing.h", - "external/sources/acl/math/quatf.h", - "external/sources/acl/math/scalar_packing.h", - "external/sources/acl/math/vector4_packing.h", - "external/sources/acl/math/vector4f.h", - "external/sources/boost/boost/accumulators/accumulators.hpp", - "external/sources/boost/boost/accumulators/accumulators_fwd.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_base.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_concept.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_set.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/external_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/reference_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/value_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/depends_on.hpp", - "external/sources/boost/boost/accumulators/framework/external.hpp", - "external/sources/boost/boost/accumulators/framework/extractor.hpp", - "external/sources/boost/boost/accumulators/framework/features.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/sample.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/weight.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/weights.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function1.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function2.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function3.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function4.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function_n.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/pod_singleton.hpp", - "external/sources/boost/boost/accumulators/numeric/functional.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/complex.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/valarray.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/vector.hpp", - "external/sources/boost/boost/accumulators/numeric/functional_fwd.hpp", - "external/sources/boost/boost/accumulators/statistics.hpp", - "external/sources/boost/boost/accumulators/statistics/count.hpp", - "external/sources/boost/boost/accumulators/statistics/covariance.hpp", - "external/sources/boost/boost/accumulators/statistics/density.hpp", - "external/sources/boost/boost/accumulators/statistics/error_of.hpp", - "external/sources/boost/boost/accumulators/statistics/error_of_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/extended_p_square.hpp", - "external/sources/boost/boost/accumulators/statistics/extended_p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/kurtosis.hpp", - "external/sources/boost/boost/accumulators/statistics/max.hpp", - "external/sources/boost/boost/accumulators/statistics/mean.hpp", - "external/sources/boost/boost/accumulators/statistics/median.hpp", - "external/sources/boost/boost/accumulators/statistics/min.hpp", - "external/sources/boost/boost/accumulators/statistics/moment.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_cumul_dist.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_cumulative_distribution.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/parameters/quantile_probability.hpp", - "external/sources/boost/boost/accumulators/statistics/peaks_over_threshold.hpp", - "external/sources/boost/boost/accumulators/statistics/pot_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/pot_tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_count.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_moment.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_sum.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_variance.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_window.hpp", - "external/sources/boost/boost/accumulators/statistics/skewness.hpp", - "external/sources/boost/boost/accumulators/statistics/stats.hpp", - "external/sources/boost/boost/accumulators/statistics/sum.hpp", - "external/sources/boost/boost/accumulators/statistics/sum_kahan.hpp", - "external/sources/boost/boost/accumulators/statistics/tail.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_variate.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_variate_means.hpp", - "external/sources/boost/boost/accumulators/statistics/times2_iterator.hpp", - "external/sources/boost/boost/accumulators/statistics/variance.hpp", - "external/sources/boost/boost/accumulators/statistics/variates/covariate.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_covariance.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_density.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_extended_p_square.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_kurtosis.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_median.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_moment.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumul_dist.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumulative_distribution.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_peaks_over_threshold.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_skewness.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_sum.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_sum_kahan.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_variate_means.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_variance.hpp", - "external/sources/boost/boost/accumulators/statistics/with_error.hpp", - "external/sources/boost/boost/accumulators/statistics_fwd.hpp", - "external/sources/boost/boost/algorithm/algorithm.hpp", - "external/sources/boost/boost/algorithm/apply_permutation.hpp", - "external/sources/boost/boost/algorithm/clamp.hpp", - "external/sources/boost/boost/algorithm/cxx11/all_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/any_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/copy_if.hpp", - "external/sources/boost/boost/algorithm/cxx11/copy_n.hpp", - "external/sources/boost/boost/algorithm/cxx11/find_if_not.hpp", - "external/sources/boost/boost/algorithm/cxx11/iota.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_partitioned.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_permutation.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_sorted.hpp", - "external/sources/boost/boost/algorithm/cxx11/none_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/one_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/partition_copy.hpp", - "external/sources/boost/boost/algorithm/cxx11/partition_point.hpp", - "external/sources/boost/boost/algorithm/cxx14/equal.hpp", - "external/sources/boost/boost/algorithm/cxx14/is_permutation.hpp", - "external/sources/boost/boost/algorithm/cxx14/mismatch.hpp", - "external/sources/boost/boost/algorithm/cxx17/exclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/for_each_n.hpp", - "external/sources/boost/boost/algorithm/cxx17/inclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/reduce.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_exclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_inclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_reduce.hpp", - "external/sources/boost/boost/algorithm/find_backward.hpp", - "external/sources/boost/boost/algorithm/find_not.hpp", - "external/sources/boost/boost/algorithm/gather.hpp", - "external/sources/boost/boost/algorithm/hex.hpp", - "external/sources/boost/boost/algorithm/is_palindrome.hpp", - "external/sources/boost/boost/algorithm/is_partitioned_until.hpp", - "external/sources/boost/boost/algorithm/minmax.hpp", - "external/sources/boost/boost/algorithm/minmax_element.hpp", - "external/sources/boost/boost/algorithm/searching/boyer_moore.hpp", - "external/sources/boost/boost/algorithm/searching/boyer_moore_horspool.hpp", - "external/sources/boost/boost/algorithm/searching/detail/bm_traits.hpp", - "external/sources/boost/boost/algorithm/searching/detail/debugging.hpp", - "external/sources/boost/boost/algorithm/searching/knuth_morris_pratt.hpp", - "external/sources/boost/boost/algorithm/sort_subrange.hpp", - "external/sources/boost/boost/algorithm/string.hpp", - "external/sources/boost/boost/algorithm/string/case_conv.hpp", - "external/sources/boost/boost/algorithm/string/classification.hpp", - "external/sources/boost/boost/algorithm/string/compare.hpp", - "external/sources/boost/boost/algorithm/string/concept.hpp", - "external/sources/boost/boost/algorithm/string/config.hpp", - "external/sources/boost/boost/algorithm/string/constants.hpp", - "external/sources/boost/boost/algorithm/string/detail/case_conv.hpp", - "external/sources/boost/boost/algorithm/string/detail/classification.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format_all.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format_store.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_iterator.hpp", - "external/sources/boost/boost/algorithm/string/detail/finder.hpp", - "external/sources/boost/boost/algorithm/string/detail/finder_regex.hpp", - "external/sources/boost/boost/algorithm/string/detail/formatter.hpp", - "external/sources/boost/boost/algorithm/string/detail/formatter_regex.hpp", - "external/sources/boost/boost/algorithm/string/detail/predicate.hpp", - "external/sources/boost/boost/algorithm/string/detail/replace_storage.hpp", - "external/sources/boost/boost/algorithm/string/detail/sequence.hpp", - "external/sources/boost/boost/algorithm/string/detail/trim.hpp", - "external/sources/boost/boost/algorithm/string/detail/util.hpp", - "external/sources/boost/boost/algorithm/string/erase.hpp", - "external/sources/boost/boost/algorithm/string/find.hpp", - "external/sources/boost/boost/algorithm/string/find_format.hpp", - "external/sources/boost/boost/algorithm/string/find_iterator.hpp", - "external/sources/boost/boost/algorithm/string/finder.hpp", - "external/sources/boost/boost/algorithm/string/formatter.hpp", - "external/sources/boost/boost/algorithm/string/iter_find.hpp", - "external/sources/boost/boost/algorithm/string/join.hpp", - "external/sources/boost/boost/algorithm/string/predicate.hpp", - "external/sources/boost/boost/algorithm/string/predicate_facade.hpp", - "external/sources/boost/boost/algorithm/string/regex.hpp", - "external/sources/boost/boost/algorithm/string/regex_find_format.hpp", - "external/sources/boost/boost/algorithm/string/replace.hpp", - "external/sources/boost/boost/algorithm/string/sequence_traits.hpp", - "external/sources/boost/boost/algorithm/string/split.hpp", - "external/sources/boost/boost/algorithm/string/std/list_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/rope_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/slist_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/string_traits.hpp", - "external/sources/boost/boost/algorithm/string/std_containers_traits.hpp", - "external/sources/boost/boost/algorithm/string/trim.hpp", - "external/sources/boost/boost/algorithm/string/trim_all.hpp", - "external/sources/boost/boost/algorithm/string/yes_no_type.hpp", - "external/sources/boost/boost/algorithm/string_regex.hpp", - "external/sources/boost/boost/align.hpp", - "external/sources/boost/boost/align/align.hpp", - "external/sources/boost/boost/align/align_down.hpp", - "external/sources/boost/boost/align/align_up.hpp", - "external/sources/boost/boost/align/aligned_alloc.hpp", - "external/sources/boost/boost/align/aligned_allocator.hpp", - "external/sources/boost/boost/align/aligned_allocator_adaptor.hpp", - "external/sources/boost/boost/align/aligned_allocator_adaptor_forward.hpp", - "external/sources/boost/boost/align/aligned_allocator_forward.hpp", - "external/sources/boost/boost/align/aligned_delete.hpp", - "external/sources/boost/boost/align/aligned_delete_forward.hpp", - "external/sources/boost/boost/align/alignment_of.hpp", - "external/sources/boost/boost/align/alignment_of_forward.hpp", - "external/sources/boost/boost/align/assume_aligned.hpp", - "external/sources/boost/boost/align/detail/add_reference.hpp", - "external/sources/boost/boost/align/detail/align.hpp", - "external/sources/boost/boost/align/detail/align_cxx11.hpp", - "external/sources/boost/boost/align/detail/align_down.hpp", - "external/sources/boost/boost/align/detail/align_up.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_android.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_macos.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_mingw.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_msvc.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_new.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_posix.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_sunos.hpp", - "external/sources/boost/boost/align/detail/alignment_of.hpp", - "external/sources/boost/boost/align/detail/alignment_of_clang.hpp", - "external/sources/boost/boost/align/detail/alignment_of_codegear.hpp", - "external/sources/boost/boost/align/detail/alignment_of_cxx11.hpp", - "external/sources/boost/boost/align/detail/alignment_of_gcc.hpp", - "external/sources/boost/boost/align/detail/alignment_of_msvc.hpp", - "external/sources/boost/boost/align/detail/assume_aligned.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_clang.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_gcc.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_intel.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_msvc.hpp", - "external/sources/boost/boost/align/detail/element_type.hpp", - "external/sources/boost/boost/align/detail/integral_constant.hpp", - "external/sources/boost/boost/align/detail/is_aligned.hpp", - "external/sources/boost/boost/align/detail/is_alignment.hpp", - "external/sources/boost/boost/align/detail/is_alignment_constant.hpp", - "external/sources/boost/boost/align/detail/max_align.hpp", - "external/sources/boost/boost/align/detail/max_objects.hpp", - "external/sources/boost/boost/align/detail/max_size.hpp", - "external/sources/boost/boost/align/detail/min_size.hpp", - "external/sources/boost/boost/align/detail/not_pointer.hpp", - "external/sources/boost/boost/align/detail/throw_exception.hpp", - "external/sources/boost/boost/align/is_aligned.hpp", - "external/sources/boost/boost/aligned_storage.hpp", - "external/sources/boost/boost/any.hpp", - "external/sources/boost/boost/archive/archive_exception.hpp", - "external/sources/boost/boost/archive/basic_archive.hpp", - "external/sources/boost/boost/archive/basic_binary_iarchive.hpp", - "external/sources/boost/boost/archive/basic_binary_iprimitive.hpp", - "external/sources/boost/boost/archive/basic_binary_oarchive.hpp", - "external/sources/boost/boost/archive/basic_binary_oprimitive.hpp", - "external/sources/boost/boost/archive/basic_streambuf_locale_saver.hpp", - "external/sources/boost/boost/archive/basic_text_iarchive.hpp", - "external/sources/boost/boost/archive/basic_text_iprimitive.hpp", - "external/sources/boost/boost/archive/basic_text_oarchive.hpp", - "external/sources/boost/boost/archive/basic_text_oprimitive.hpp", - "external/sources/boost/boost/archive/basic_xml_archive.hpp", - "external/sources/boost/boost/archive/basic_xml_iarchive.hpp", - "external/sources/boost/boost/archive/basic_xml_oarchive.hpp", - "external/sources/boost/boost/archive/binary_iarchive.hpp", - "external/sources/boost/boost/archive/binary_iarchive_impl.hpp", - "external/sources/boost/boost/archive/binary_oarchive.hpp", - "external/sources/boost/boost/archive/binary_oarchive_impl.hpp", - "external/sources/boost/boost/archive/binary_wiarchive.hpp", - "external/sources/boost/boost/archive/binary_woarchive.hpp", - "external/sources/boost/boost/archive/codecvt_null.hpp", - "external/sources/boost/boost/archive/detail/abi_prefix.hpp", - "external/sources/boost/boost/archive/detail/abi_suffix.hpp", - "external/sources/boost/boost/archive/detail/archive_serializer_map.hpp", - "external/sources/boost/boost/archive/detail/auto_link_archive.hpp", - "external/sources/boost/boost/archive/detail/auto_link_warchive.hpp", - "external/sources/boost/boost/archive/detail/basic_iarchive.hpp", - "external/sources/boost/boost/archive/detail/basic_iserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_oarchive.hpp", - "external/sources/boost/boost/archive/detail/basic_oserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_pointer_iserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_pointer_oserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_serializer.hpp", - "external/sources/boost/boost/archive/detail/basic_serializer_map.hpp", - "external/sources/boost/boost/archive/detail/check.hpp", - "external/sources/boost/boost/archive/detail/common_iarchive.hpp", - "external/sources/boost/boost/archive/detail/common_oarchive.hpp", - "external/sources/boost/boost/archive/detail/decl.hpp", - "external/sources/boost/boost/archive/detail/helper_collection.hpp", - "external/sources/boost/boost/archive/detail/interface_iarchive.hpp", - "external/sources/boost/boost/archive/detail/interface_oarchive.hpp", - "external/sources/boost/boost/archive/detail/iserializer.hpp", - "external/sources/boost/boost/archive/detail/oserializer.hpp", - "external/sources/boost/boost/archive/detail/polymorphic_iarchive_route.hpp", - "external/sources/boost/boost/archive/detail/polymorphic_oarchive_route.hpp", - "external/sources/boost/boost/archive/detail/register_archive.hpp", - "external/sources/boost/boost/archive/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/archive/dinkumware.hpp", - "external/sources/boost/boost/archive/impl/archive_serializer_map.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_iprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_oarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_oprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_iprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_oarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_oprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_xml_grammar.hpp", - "external/sources/boost/boost/archive/impl/basic_xml_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_xml_oarchive.ipp", - "external/sources/boost/boost/archive/impl/text_iarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_oarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_wiarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_woarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_iarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_oarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_wiarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_woarchive_impl.ipp", - "external/sources/boost/boost/archive/iterators/base64_exception.hpp", - "external/sources/boost/boost/archive/iterators/base64_from_binary.hpp", - "external/sources/boost/boost/archive/iterators/binary_from_base64.hpp", - "external/sources/boost/boost/archive/iterators/dataflow.hpp", - "external/sources/boost/boost/archive/iterators/dataflow_exception.hpp", - "external/sources/boost/boost/archive/iterators/escape.hpp", - "external/sources/boost/boost/archive/iterators/insert_linebreaks.hpp", - "external/sources/boost/boost/archive/iterators/istream_iterator.hpp", - "external/sources/boost/boost/archive/iterators/mb_from_wchar.hpp", - "external/sources/boost/boost/archive/iterators/ostream_iterator.hpp", - "external/sources/boost/boost/archive/iterators/remove_whitespace.hpp", - "external/sources/boost/boost/archive/iterators/transform_width.hpp", - "external/sources/boost/boost/archive/iterators/unescape.hpp", - "external/sources/boost/boost/archive/iterators/wchar_from_mb.hpp", - "external/sources/boost/boost/archive/iterators/xml_escape.hpp", - "external/sources/boost/boost/archive/iterators/xml_unescape.hpp", - "external/sources/boost/boost/archive/iterators/xml_unescape_exception.hpp", - "external/sources/boost/boost/archive/polymorphic_binary_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_binary_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_wiarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_woarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_wiarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_woarchive.hpp", - "external/sources/boost/boost/archive/text_iarchive.hpp", - "external/sources/boost/boost/archive/text_oarchive.hpp", - "external/sources/boost/boost/archive/text_wiarchive.hpp", - "external/sources/boost/boost/archive/text_woarchive.hpp", - "external/sources/boost/boost/archive/tmpdir.hpp", - "external/sources/boost/boost/archive/wcslen.hpp", - "external/sources/boost/boost/archive/xml_archive_exception.hpp", - "external/sources/boost/boost/archive/xml_iarchive.hpp", - "external/sources/boost/boost/archive/xml_oarchive.hpp", - "external/sources/boost/boost/archive/xml_wiarchive.hpp", - "external/sources/boost/boost/archive/xml_woarchive.hpp", - "external/sources/boost/boost/array.hpp", - "external/sources/boost/boost/asio.hpp", - "external/sources/boost/boost/asio/any_io_executor.hpp", - "external/sources/boost/boost/asio/associated_allocator.hpp", - "external/sources/boost/boost/asio/associated_executor.hpp", - "external/sources/boost/boost/asio/async_result.hpp", - "external/sources/boost/boost/asio/awaitable.hpp", - "external/sources/boost/boost/asio/basic_datagram_socket.hpp", - "external/sources/boost/boost/asio/basic_deadline_timer.hpp", - "external/sources/boost/boost/asio/basic_io_object.hpp", - "external/sources/boost/boost/asio/basic_raw_socket.hpp", - "external/sources/boost/boost/asio/basic_seq_packet_socket.hpp", - "external/sources/boost/boost/asio/basic_serial_port.hpp", - "external/sources/boost/boost/asio/basic_signal_set.hpp", - "external/sources/boost/boost/asio/basic_socket.hpp", - "external/sources/boost/boost/asio/basic_socket_acceptor.hpp", - "external/sources/boost/boost/asio/basic_socket_iostream.hpp", - "external/sources/boost/boost/asio/basic_socket_streambuf.hpp", - "external/sources/boost/boost/asio/basic_stream_socket.hpp", - "external/sources/boost/boost/asio/basic_streambuf.hpp", - "external/sources/boost/boost/asio/basic_streambuf_fwd.hpp", - "external/sources/boost/boost/asio/basic_waitable_timer.hpp", - "external/sources/boost/boost/asio/bind_executor.hpp", - "external/sources/boost/boost/asio/buffer.hpp", - "external/sources/boost/boost/asio/buffered_read_stream.hpp", - "external/sources/boost/boost/asio/buffered_read_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffered_stream.hpp", - "external/sources/boost/boost/asio/buffered_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffered_write_stream.hpp", - "external/sources/boost/boost/asio/buffered_write_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffers_iterator.hpp", - "external/sources/boost/boost/asio/co_spawn.hpp", - "external/sources/boost/boost/asio/completion_condition.hpp", - "external/sources/boost/boost/asio/compose.hpp", - "external/sources/boost/boost/asio/connect.hpp", - "external/sources/boost/boost/asio/coroutine.hpp", - "external/sources/boost/boost/asio/deadline_timer.hpp", - "external/sources/boost/boost/asio/defer.hpp", - "external/sources/boost/boost/asio/detached.hpp", - "external/sources/boost/boost/asio/detail/array.hpp", - "external/sources/boost/boost/asio/detail/array_fwd.hpp", - "external/sources/boost/boost/asio/detail/assert.hpp", - "external/sources/boost/boost/asio/detail/atomic_count.hpp", - "external/sources/boost/boost/asio/detail/base_from_completion_cond.hpp", - "external/sources/boost/boost/asio/detail/bind_handler.hpp", - "external/sources/boost/boost/asio/detail/blocking_executor_op.hpp", - "external/sources/boost/boost/asio/detail/buffer_resize_guard.hpp", - "external/sources/boost/boost/asio/detail/buffer_sequence_adapter.hpp", - "external/sources/boost/boost/asio/detail/buffered_stream_storage.hpp", - "external/sources/boost/boost/asio/detail/bulk_executor_op.hpp", - "external/sources/boost/boost/asio/detail/call_stack.hpp", - "external/sources/boost/boost/asio/detail/chrono.hpp", - "external/sources/boost/boost/asio/detail/chrono_time_traits.hpp", - "external/sources/boost/boost/asio/detail/completion_handler.hpp", - "external/sources/boost/boost/asio/detail/concurrency_hint.hpp", - "external/sources/boost/boost/asio/detail/conditionally_enabled_event.hpp", - "external/sources/boost/boost/asio/detail/conditionally_enabled_mutex.hpp", - "external/sources/boost/boost/asio/detail/config.hpp", - "external/sources/boost/boost/asio/detail/consuming_buffers.hpp", - "external/sources/boost/boost/asio/detail/cstddef.hpp", - "external/sources/boost/boost/asio/detail/cstdint.hpp", - "external/sources/boost/boost/asio/detail/date_time_fwd.hpp", - "external/sources/boost/boost/asio/detail/deadline_timer_service.hpp", - "external/sources/boost/boost/asio/detail/dependent_type.hpp", - "external/sources/boost/boost/asio/detail/descriptor_ops.hpp", - "external/sources/boost/boost/asio/detail/descriptor_read_op.hpp", - "external/sources/boost/boost/asio/detail/descriptor_write_op.hpp", - "external/sources/boost/boost/asio/detail/dev_poll_reactor.hpp", - "external/sources/boost/boost/asio/detail/epoll_reactor.hpp", - "external/sources/boost/boost/asio/detail/event.hpp", - "external/sources/boost/boost/asio/detail/eventfd_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/executor_function.hpp", - "external/sources/boost/boost/asio/detail/executor_op.hpp", - "external/sources/boost/boost/asio/detail/fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/fenced_block.hpp", - "external/sources/boost/boost/asio/detail/functional.hpp", - "external/sources/boost/boost/asio/detail/future.hpp", - "external/sources/boost/boost/asio/detail/gcc_arm_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_hppa_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_sync_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_x86_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/global.hpp", - "external/sources/boost/boost/asio/detail/handler_alloc_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_cont_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_invoke_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_tracking.hpp", - "external/sources/boost/boost/asio/detail/handler_type_requirements.hpp", - "external/sources/boost/boost/asio/detail/handler_work.hpp", - "external/sources/boost/boost/asio/detail/hash_map.hpp", - "external/sources/boost/boost/asio/detail/impl/buffer_sequence_adapter.ipp", - "external/sources/boost/boost/asio/detail/impl/descriptor_ops.ipp", - "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/epoll_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/epoll_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/eventfd_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/handler_tracking.ipp", - "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/null_event.ipp", - "external/sources/boost/boost/asio/detail/impl/pipe_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_event.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_thread.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_tss_ptr.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_descriptor_service.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_serial_port_service.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_socket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/resolver_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/scheduler.ipp", - "external/sources/boost/boost/asio/detail/impl/select_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/select_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/service_registry.hpp", - "external/sources/boost/boost/asio/detail/impl/service_registry.ipp", - "external/sources/boost/boost/asio/detail/impl/signal_set_service.ipp", - "external/sources/boost/boost/asio/detail/impl/socket_ops.ipp", - "external/sources/boost/boost/asio/detail/impl/socket_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/strand_executor_service.hpp", - "external/sources/boost/boost/asio/detail/impl/strand_executor_service.ipp", - "external/sources/boost/boost/asio/detail/impl/strand_service.hpp", - "external/sources/boost/boost/asio/detail/impl/strand_service.ipp", - "external/sources/boost/boost/asio/detail/impl/throw_error.ipp", - "external/sources/boost/boost/asio/detail/impl/timer_queue_ptime.ipp", - "external/sources/boost/boost/asio/detail/impl/timer_queue_set.ipp", - "external/sources/boost/boost/asio/detail/impl/win_event.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_handle_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.hpp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_serial_port_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_socket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/win_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/win_object_handle_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_static_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/win_thread.ipp", - "external/sources/boost/boost/asio/detail/impl/win_tss_ptr.ipp", - "external/sources/boost/boost/asio/detail/impl/winrt_ssocket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.ipp", - "external/sources/boost/boost/asio/detail/impl/winsock_init.ipp", - "external/sources/boost/boost/asio/detail/io_control.hpp", - "external/sources/boost/boost/asio/detail/io_object_impl.hpp", - "external/sources/boost/boost/asio/detail/is_buffer_sequence.hpp", - "external/sources/boost/boost/asio/detail/is_executor.hpp", - "external/sources/boost/boost/asio/detail/keyword_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/kqueue_reactor.hpp", - "external/sources/boost/boost/asio/detail/limits.hpp", - "external/sources/boost/boost/asio/detail/local_free_on_block_exit.hpp", - "external/sources/boost/boost/asio/detail/macos_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/memory.hpp", - "external/sources/boost/boost/asio/detail/mutex.hpp", - "external/sources/boost/boost/asio/detail/non_const_lvalue.hpp", - "external/sources/boost/boost/asio/detail/noncopyable.hpp", - "external/sources/boost/boost/asio/detail/null_event.hpp", - "external/sources/boost/boost/asio/detail/null_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/null_global.hpp", - "external/sources/boost/boost/asio/detail/null_mutex.hpp", - "external/sources/boost/boost/asio/detail/null_reactor.hpp", - "external/sources/boost/boost/asio/detail/null_signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/null_socket_service.hpp", - "external/sources/boost/boost/asio/detail/null_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/null_thread.hpp", - "external/sources/boost/boost/asio/detail/null_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/object_pool.hpp", - "external/sources/boost/boost/asio/detail/old_win_sdk_compat.hpp", - "external/sources/boost/boost/asio/detail/op_queue.hpp", - "external/sources/boost/boost/asio/detail/operation.hpp", - "external/sources/boost/boost/asio/detail/pipe_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/pop_options.hpp", - "external/sources/boost/boost/asio/detail/posix_event.hpp", - "external/sources/boost/boost/asio/detail/posix_fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/posix_global.hpp", - "external/sources/boost/boost/asio/detail/posix_mutex.hpp", - "external/sources/boost/boost/asio/detail/posix_signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/posix_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/posix_thread.hpp", - "external/sources/boost/boost/asio/detail/posix_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/push_options.hpp", - "external/sources/boost/boost/asio/detail/reactive_descriptor_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_null_buffers_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_serial_port_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_accept_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recvfrom_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recvmsg_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_sendto_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_service_base.hpp", - "external/sources/boost/boost/asio/detail/reactive_wait_op.hpp", - "external/sources/boost/boost/asio/detail/reactor.hpp", - "external/sources/boost/boost/asio/detail/reactor_fwd.hpp", - "external/sources/boost/boost/asio/detail/reactor_op.hpp", - "external/sources/boost/boost/asio/detail/reactor_op_queue.hpp", - "external/sources/boost/boost/asio/detail/recycling_allocator.hpp", - "external/sources/boost/boost/asio/detail/regex_fwd.hpp", - "external/sources/boost/boost/asio/detail/resolve_endpoint_op.hpp", - "external/sources/boost/boost/asio/detail/resolve_op.hpp", - "external/sources/boost/boost/asio/detail/resolve_query_op.hpp", - "external/sources/boost/boost/asio/detail/resolver_service.hpp", - "external/sources/boost/boost/asio/detail/resolver_service_base.hpp", - "external/sources/boost/boost/asio/detail/scheduler.hpp", - "external/sources/boost/boost/asio/detail/scheduler_operation.hpp", - "external/sources/boost/boost/asio/detail/scheduler_thread_info.hpp", - "external/sources/boost/boost/asio/detail/scoped_lock.hpp", - "external/sources/boost/boost/asio/detail/scoped_ptr.hpp", - "external/sources/boost/boost/asio/detail/select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/select_reactor.hpp", - "external/sources/boost/boost/asio/detail/service_registry.hpp", - "external/sources/boost/boost/asio/detail/signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/signal_handler.hpp", - "external/sources/boost/boost/asio/detail/signal_init.hpp", - "external/sources/boost/boost/asio/detail/signal_op.hpp", - "external/sources/boost/boost/asio/detail/signal_set_service.hpp", - "external/sources/boost/boost/asio/detail/socket_holder.hpp", - "external/sources/boost/boost/asio/detail/socket_ops.hpp", - "external/sources/boost/boost/asio/detail/socket_option.hpp", - "external/sources/boost/boost/asio/detail/socket_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/socket_types.hpp", - "external/sources/boost/boost/asio/detail/solaris_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/source_location.hpp", - "external/sources/boost/boost/asio/detail/static_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_event.hpp", - "external/sources/boost/boost/asio/detail/std_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/std_global.hpp", - "external/sources/boost/boost/asio/detail/std_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_thread.hpp", - "external/sources/boost/boost/asio/detail/strand_executor_service.hpp", - "external/sources/boost/boost/asio/detail/strand_service.hpp", - "external/sources/boost/boost/asio/detail/string_view.hpp", - "external/sources/boost/boost/asio/detail/thread.hpp", - "external/sources/boost/boost/asio/detail/thread_context.hpp", - "external/sources/boost/boost/asio/detail/thread_group.hpp", - "external/sources/boost/boost/asio/detail/thread_info_base.hpp", - "external/sources/boost/boost/asio/detail/throw_error.hpp", - "external/sources/boost/boost/asio/detail/throw_exception.hpp", - "external/sources/boost/boost/asio/detail/timer_queue.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_base.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_ptime.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_set.hpp", - "external/sources/boost/boost/asio/detail/timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/timer_scheduler_fwd.hpp", - "external/sources/boost/boost/asio/detail/tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/type_traits.hpp", - "external/sources/boost/boost/asio/detail/variadic_templates.hpp", - "external/sources/boost/boost/asio/detail/wait_handler.hpp", - "external/sources/boost/boost/asio/detail/wait_op.hpp", - "external/sources/boost/boost/asio/detail/win_event.hpp", - "external/sources/boost/boost/asio/detail/win_fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/win_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/win_global.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_read_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_write_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_io_context.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_null_buffers_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_operation.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_overlapped_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_overlapped_ptr.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_serial_port_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_accept_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recvfrom_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recvmsg_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_service_base.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_thread_info.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_wait_op.hpp", - "external/sources/boost/boost/asio/detail/win_mutex.hpp", - "external/sources/boost/boost/asio/detail/win_object_handle_service.hpp", - "external/sources/boost/boost/asio/detail/win_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/win_thread.hpp", - "external/sources/boost/boost/asio/detail/win_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/winapp_thread.hpp", - "external/sources/boost/boost/asio/detail/wince_thread.hpp", - "external/sources/boost/boost/asio/detail/winrt_async_manager.hpp", - "external/sources/boost/boost/asio/detail/winrt_async_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_resolve_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_resolver_service.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_ssocket_service.hpp", - "external/sources/boost/boost/asio/detail/winrt_ssocket_service_base.hpp", - "external/sources/boost/boost/asio/detail/winrt_timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/winrt_utils.hpp", - "external/sources/boost/boost/asio/detail/winsock_init.hpp", - "external/sources/boost/boost/asio/detail/work_dispatcher.hpp", - "external/sources/boost/boost/asio/detail/wrapped_handler.hpp", - "external/sources/boost/boost/asio/dispatch.hpp", - "external/sources/boost/boost/asio/error.hpp", - "external/sources/boost/boost/asio/execution.hpp", - "external/sources/boost/boost/asio/execution/allocator.hpp", - "external/sources/boost/boost/asio/execution/any_executor.hpp", - "external/sources/boost/boost/asio/execution/bad_executor.hpp", - "external/sources/boost/boost/asio/execution/blocking.hpp", - "external/sources/boost/boost/asio/execution/blocking_adaptation.hpp", - "external/sources/boost/boost/asio/execution/bulk_execute.hpp", - "external/sources/boost/boost/asio/execution/bulk_guarantee.hpp", - "external/sources/boost/boost/asio/execution/connect.hpp", - "external/sources/boost/boost/asio/execution/context.hpp", - "external/sources/boost/boost/asio/execution/context_as.hpp", - "external/sources/boost/boost/asio/execution/detail/as_invocable.hpp", - "external/sources/boost/boost/asio/execution/detail/as_operation.hpp", - "external/sources/boost/boost/asio/execution/detail/as_receiver.hpp", - "external/sources/boost/boost/asio/execution/detail/bulk_sender.hpp", - "external/sources/boost/boost/asio/execution/detail/submit_receiver.hpp", - "external/sources/boost/boost/asio/execution/detail/void_receiver.hpp", - "external/sources/boost/boost/asio/execution/execute.hpp", - "external/sources/boost/boost/asio/execution/executor.hpp", - "external/sources/boost/boost/asio/execution/impl/bad_executor.ipp", - "external/sources/boost/boost/asio/execution/impl/receiver_invocation_error.ipp", - "external/sources/boost/boost/asio/execution/invocable_archetype.hpp", - "external/sources/boost/boost/asio/execution/mapping.hpp", - "external/sources/boost/boost/asio/execution/occupancy.hpp", - "external/sources/boost/boost/asio/execution/operation_state.hpp", - "external/sources/boost/boost/asio/execution/outstanding_work.hpp", - "external/sources/boost/boost/asio/execution/prefer_only.hpp", - "external/sources/boost/boost/asio/execution/receiver.hpp", - "external/sources/boost/boost/asio/execution/receiver_invocation_error.hpp", - "external/sources/boost/boost/asio/execution/relationship.hpp", - "external/sources/boost/boost/asio/execution/schedule.hpp", - "external/sources/boost/boost/asio/execution/scheduler.hpp", - "external/sources/boost/boost/asio/execution/sender.hpp", - "external/sources/boost/boost/asio/execution/set_done.hpp", - "external/sources/boost/boost/asio/execution/set_error.hpp", - "external/sources/boost/boost/asio/execution/set_value.hpp", - "external/sources/boost/boost/asio/execution/start.hpp", - "external/sources/boost/boost/asio/execution/submit.hpp", - "external/sources/boost/boost/asio/execution_context.hpp", - "external/sources/boost/boost/asio/executor.hpp", - "external/sources/boost/boost/asio/executor_work_guard.hpp", - "external/sources/boost/boost/asio/generic/basic_endpoint.hpp", - "external/sources/boost/boost/asio/generic/datagram_protocol.hpp", - "external/sources/boost/boost/asio/generic/detail/endpoint.hpp", - "external/sources/boost/boost/asio/generic/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/generic/raw_protocol.hpp", - "external/sources/boost/boost/asio/generic/seq_packet_protocol.hpp", - "external/sources/boost/boost/asio/generic/stream_protocol.hpp", - "external/sources/boost/boost/asio/handler_alloc_hook.hpp", - "external/sources/boost/boost/asio/handler_continuation_hook.hpp", - "external/sources/boost/boost/asio/handler_invoke_hook.hpp", - "external/sources/boost/boost/asio/high_resolution_timer.hpp", - "external/sources/boost/boost/asio/impl/awaitable.hpp", - "external/sources/boost/boost/asio/impl/buffered_read_stream.hpp", - "external/sources/boost/boost/asio/impl/buffered_write_stream.hpp", - "external/sources/boost/boost/asio/impl/co_spawn.hpp", - "external/sources/boost/boost/asio/impl/compose.hpp", - "external/sources/boost/boost/asio/impl/connect.hpp", - "external/sources/boost/boost/asio/impl/defer.hpp", - "external/sources/boost/boost/asio/impl/detached.hpp", - "external/sources/boost/boost/asio/impl/dispatch.hpp", - "external/sources/boost/boost/asio/impl/error.ipp", - "external/sources/boost/boost/asio/impl/execution_context.hpp", - "external/sources/boost/boost/asio/impl/execution_context.ipp", - "external/sources/boost/boost/asio/impl/executor.hpp", - "external/sources/boost/boost/asio/impl/executor.ipp", - "external/sources/boost/boost/asio/impl/handler_alloc_hook.ipp", - "external/sources/boost/boost/asio/impl/io_context.hpp", - "external/sources/boost/boost/asio/impl/io_context.ipp", - "external/sources/boost/boost/asio/impl/multiple_exceptions.ipp", - "external/sources/boost/boost/asio/impl/post.hpp", - "external/sources/boost/boost/asio/impl/read.hpp", - "external/sources/boost/boost/asio/impl/read_at.hpp", - "external/sources/boost/boost/asio/impl/read_until.hpp", - "external/sources/boost/boost/asio/impl/redirect_error.hpp", - "external/sources/boost/boost/asio/impl/serial_port_base.hpp", - "external/sources/boost/boost/asio/impl/serial_port_base.ipp", - "external/sources/boost/boost/asio/impl/spawn.hpp", - "external/sources/boost/boost/asio/impl/src.cpp", - "external/sources/boost/boost/asio/impl/src.hpp", - "external/sources/boost/boost/asio/impl/system_context.hpp", - "external/sources/boost/boost/asio/impl/system_context.ipp", - "external/sources/boost/boost/asio/impl/system_executor.hpp", - "external/sources/boost/boost/asio/impl/thread_pool.hpp", - "external/sources/boost/boost/asio/impl/thread_pool.ipp", - "external/sources/boost/boost/asio/impl/use_awaitable.hpp", - "external/sources/boost/boost/asio/impl/use_future.hpp", - "external/sources/boost/boost/asio/impl/write.hpp", - "external/sources/boost/boost/asio/impl/write_at.hpp", - "external/sources/boost/boost/asio/io_context.hpp", - "external/sources/boost/boost/asio/io_context_strand.hpp", - "external/sources/boost/boost/asio/io_service.hpp", - "external/sources/boost/boost/asio/io_service_strand.hpp", - "external/sources/boost/boost/asio/ip/address.hpp", - "external/sources/boost/boost/asio/ip/address_v4.hpp", - "external/sources/boost/boost/asio/ip/address_v4_iterator.hpp", - "external/sources/boost/boost/asio/ip/address_v4_range.hpp", - "external/sources/boost/boost/asio/ip/address_v6.hpp", - "external/sources/boost/boost/asio/ip/address_v6_iterator.hpp", - "external/sources/boost/boost/asio/ip/address_v6_range.hpp", - "external/sources/boost/boost/asio/ip/bad_address_cast.hpp", - "external/sources/boost/boost/asio/ip/basic_endpoint.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_entry.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_iterator.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_query.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_results.hpp", - "external/sources/boost/boost/asio/ip/detail/endpoint.hpp", - "external/sources/boost/boost/asio/ip/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/ip/detail/socket_option.hpp", - "external/sources/boost/boost/asio/ip/host_name.hpp", - "external/sources/boost/boost/asio/ip/icmp.hpp", - "external/sources/boost/boost/asio/ip/impl/address.hpp", - "external/sources/boost/boost/asio/ip/impl/address.ipp", - "external/sources/boost/boost/asio/ip/impl/address_v4.hpp", - "external/sources/boost/boost/asio/ip/impl/address_v4.ipp", - "external/sources/boost/boost/asio/ip/impl/address_v6.hpp", - "external/sources/boost/boost/asio/ip/impl/address_v6.ipp", - "external/sources/boost/boost/asio/ip/impl/basic_endpoint.hpp", - "external/sources/boost/boost/asio/ip/impl/host_name.ipp", - "external/sources/boost/boost/asio/ip/impl/network_v4.hpp", - "external/sources/boost/boost/asio/ip/impl/network_v4.ipp", - "external/sources/boost/boost/asio/ip/impl/network_v6.hpp", - "external/sources/boost/boost/asio/ip/impl/network_v6.ipp", - "external/sources/boost/boost/asio/ip/multicast.hpp", - "external/sources/boost/boost/asio/ip/network_v4.hpp", - "external/sources/boost/boost/asio/ip/network_v6.hpp", - "external/sources/boost/boost/asio/ip/resolver_base.hpp", - "external/sources/boost/boost/asio/ip/resolver_query_base.hpp", - "external/sources/boost/boost/asio/ip/tcp.hpp", - "external/sources/boost/boost/asio/ip/udp.hpp", - "external/sources/boost/boost/asio/ip/unicast.hpp", - "external/sources/boost/boost/asio/ip/v6_only.hpp", - "external/sources/boost/boost/asio/is_applicable_property.hpp", - "external/sources/boost/boost/asio/is_executor.hpp", - "external/sources/boost/boost/asio/is_read_buffered.hpp", - "external/sources/boost/boost/asio/is_write_buffered.hpp", - "external/sources/boost/boost/asio/local/basic_endpoint.hpp", - "external/sources/boost/boost/asio/local/connect_pair.hpp", - "external/sources/boost/boost/asio/local/datagram_protocol.hpp", - "external/sources/boost/boost/asio/local/detail/endpoint.hpp", - "external/sources/boost/boost/asio/local/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/local/stream_protocol.hpp", - "external/sources/boost/boost/asio/multiple_exceptions.hpp", - "external/sources/boost/boost/asio/packaged_task.hpp", - "external/sources/boost/boost/asio/placeholders.hpp", - "external/sources/boost/boost/asio/posix/basic_descriptor.hpp", - "external/sources/boost/boost/asio/posix/basic_stream_descriptor.hpp", - "external/sources/boost/boost/asio/posix/descriptor.hpp", - "external/sources/boost/boost/asio/posix/descriptor_base.hpp", - "external/sources/boost/boost/asio/posix/stream_descriptor.hpp", - "external/sources/boost/boost/asio/post.hpp", - "external/sources/boost/boost/asio/prefer.hpp", - "external/sources/boost/boost/asio/query.hpp", - "external/sources/boost/boost/asio/read.hpp", - "external/sources/boost/boost/asio/read_at.hpp", - "external/sources/boost/boost/asio/read_until.hpp", - "external/sources/boost/boost/asio/redirect_error.hpp", - "external/sources/boost/boost/asio/require.hpp", - "external/sources/boost/boost/asio/require_concept.hpp", - "external/sources/boost/boost/asio/serial_port.hpp", - "external/sources/boost/boost/asio/serial_port_base.hpp", - "external/sources/boost/boost/asio/signal_set.hpp", - "external/sources/boost/boost/asio/socket_base.hpp", - "external/sources/boost/boost/asio/spawn.hpp", - "external/sources/boost/boost/asio/ssl.hpp", - "external/sources/boost/boost/asio/ssl/context.hpp", - "external/sources/boost/boost/asio/ssl/context_base.hpp", - "external/sources/boost/boost/asio/ssl/detail/buffered_handshake_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/engine.hpp", - "external/sources/boost/boost/asio/ssl/detail/handshake_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/impl/engine.ipp", - "external/sources/boost/boost/asio/ssl/detail/impl/openssl_init.ipp", - "external/sources/boost/boost/asio/ssl/detail/io.hpp", - "external/sources/boost/boost/asio/ssl/detail/openssl_init.hpp", - "external/sources/boost/boost/asio/ssl/detail/openssl_types.hpp", - "external/sources/boost/boost/asio/ssl/detail/password_callback.hpp", - "external/sources/boost/boost/asio/ssl/detail/read_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/shutdown_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/stream_core.hpp", - "external/sources/boost/boost/asio/ssl/detail/verify_callback.hpp", - "external/sources/boost/boost/asio/ssl/detail/write_op.hpp", - "external/sources/boost/boost/asio/ssl/error.hpp", - "external/sources/boost/boost/asio/ssl/host_name_verification.hpp", - "external/sources/boost/boost/asio/ssl/impl/context.hpp", - "external/sources/boost/boost/asio/ssl/impl/context.ipp", - "external/sources/boost/boost/asio/ssl/impl/error.ipp", - "external/sources/boost/boost/asio/ssl/impl/host_name_verification.ipp", - "external/sources/boost/boost/asio/ssl/impl/rfc2818_verification.ipp", - "external/sources/boost/boost/asio/ssl/impl/src.hpp", - "external/sources/boost/boost/asio/ssl/rfc2818_verification.hpp", - "external/sources/boost/boost/asio/ssl/stream.hpp", - "external/sources/boost/boost/asio/ssl/stream_base.hpp", - "external/sources/boost/boost/asio/ssl/verify_context.hpp", - "external/sources/boost/boost/asio/ssl/verify_mode.hpp", - "external/sources/boost/boost/asio/static_thread_pool.hpp", - "external/sources/boost/boost/asio/steady_timer.hpp", - "external/sources/boost/boost/asio/strand.hpp", - "external/sources/boost/boost/asio/streambuf.hpp", - "external/sources/boost/boost/asio/system_context.hpp", - "external/sources/boost/boost/asio/system_executor.hpp", - "external/sources/boost/boost/asio/system_timer.hpp", - "external/sources/boost/boost/asio/this_coro.hpp", - "external/sources/boost/boost/asio/thread_pool.hpp", - "external/sources/boost/boost/asio/time_traits.hpp", - "external/sources/boost/boost/asio/traits/bulk_execute_free.hpp", - "external/sources/boost/boost/asio/traits/bulk_execute_member.hpp", - "external/sources/boost/boost/asio/traits/connect_free.hpp", - "external/sources/boost/boost/asio/traits/connect_member.hpp", - "external/sources/boost/boost/asio/traits/equality_comparable.hpp", - "external/sources/boost/boost/asio/traits/execute_free.hpp", - "external/sources/boost/boost/asio/traits/execute_member.hpp", - "external/sources/boost/boost/asio/traits/prefer_free.hpp", - "external/sources/boost/boost/asio/traits/prefer_member.hpp", - "external/sources/boost/boost/asio/traits/query_free.hpp", - "external/sources/boost/boost/asio/traits/query_member.hpp", - "external/sources/boost/boost/asio/traits/query_static_constexpr_member.hpp", - "external/sources/boost/boost/asio/traits/require_concept_free.hpp", - "external/sources/boost/boost/asio/traits/require_concept_member.hpp", - "external/sources/boost/boost/asio/traits/require_free.hpp", - "external/sources/boost/boost/asio/traits/require_member.hpp", - "external/sources/boost/boost/asio/traits/schedule_free.hpp", - "external/sources/boost/boost/asio/traits/schedule_member.hpp", - "external/sources/boost/boost/asio/traits/set_done_free.hpp", - "external/sources/boost/boost/asio/traits/set_done_member.hpp", - "external/sources/boost/boost/asio/traits/set_error_free.hpp", - "external/sources/boost/boost/asio/traits/set_error_member.hpp", - "external/sources/boost/boost/asio/traits/set_value_free.hpp", - "external/sources/boost/boost/asio/traits/set_value_member.hpp", - "external/sources/boost/boost/asio/traits/start_free.hpp", - "external/sources/boost/boost/asio/traits/start_member.hpp", - "external/sources/boost/boost/asio/traits/static_query.hpp", - "external/sources/boost/boost/asio/traits/static_require.hpp", - "external/sources/boost/boost/asio/traits/static_require_concept.hpp", - "external/sources/boost/boost/asio/traits/submit_free.hpp", - "external/sources/boost/boost/asio/traits/submit_member.hpp", - "external/sources/boost/boost/asio/ts/buffer.hpp", - "external/sources/boost/boost/asio/ts/executor.hpp", - "external/sources/boost/boost/asio/ts/internet.hpp", - "external/sources/boost/boost/asio/ts/io_context.hpp", - "external/sources/boost/boost/asio/ts/net.hpp", - "external/sources/boost/boost/asio/ts/netfwd.hpp", - "external/sources/boost/boost/asio/ts/socket.hpp", - "external/sources/boost/boost/asio/ts/timer.hpp", - "external/sources/boost/boost/asio/unyield.hpp", - "external/sources/boost/boost/asio/use_awaitable.hpp", - "external/sources/boost/boost/asio/use_future.hpp", - "external/sources/boost/boost/asio/uses_executor.hpp", - "external/sources/boost/boost/asio/version.hpp", - "external/sources/boost/boost/asio/wait_traits.hpp", - "external/sources/boost/boost/asio/windows/basic_object_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_overlapped_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_random_access_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_stream_handle.hpp", - "external/sources/boost/boost/asio/windows/object_handle.hpp", - "external/sources/boost/boost/asio/windows/overlapped_handle.hpp", - "external/sources/boost/boost/asio/windows/overlapped_ptr.hpp", - "external/sources/boost/boost/asio/windows/random_access_handle.hpp", - "external/sources/boost/boost/asio/windows/stream_handle.hpp", - "external/sources/boost/boost/asio/write.hpp", - "external/sources/boost/boost/asio/write_at.hpp", - "external/sources/boost/boost/asio/yield.hpp", - "external/sources/boost/boost/assert.hpp", - "external/sources/boost/boost/assert/source_location.hpp", - "external/sources/boost/boost/assign.hpp", - "external/sources/boost/boost/assign/assignment_exception.hpp", - "external/sources/boost/boost/assign/list_inserter.hpp", - "external/sources/boost/boost/assign/list_of.hpp", - "external/sources/boost/boost/assign/ptr_list_inserter.hpp", - "external/sources/boost/boost/assign/ptr_list_of.hpp", - "external/sources/boost/boost/assign/ptr_map_inserter.hpp", - "external/sources/boost/boost/assign/std.hpp", - "external/sources/boost/boost/assign/std/deque.hpp", - "external/sources/boost/boost/assign/std/list.hpp", - "external/sources/boost/boost/assign/std/map.hpp", - "external/sources/boost/boost/assign/std/queue.hpp", - "external/sources/boost/boost/assign/std/set.hpp", - "external/sources/boost/boost/assign/std/slist.hpp", - "external/sources/boost/boost/assign/std/stack.hpp", - "external/sources/boost/boost/assign/std/vector.hpp", - "external/sources/boost/boost/atomic.hpp", - "external/sources/boost/boost/atomic/atomic.hpp", - "external/sources/boost/boost/atomic/atomic_flag.hpp", - "external/sources/boost/boost/atomic/atomic_ref.hpp", - "external/sources/boost/boost/atomic/capabilities.hpp", - "external/sources/boost/boost/atomic/detail/addressof.hpp", - "external/sources/boost/boost/atomic/detail/aligned_variable.hpp", - "external/sources/boost/boost/atomic/detail/atomic_flag_impl.hpp", - "external/sources/boost/boost/atomic/detail/atomic_impl.hpp", - "external/sources/boost/boost/atomic/detail/atomic_ref_impl.hpp", - "external/sources/boost/boost/atomic/detail/bitwise_cast.hpp", - "external/sources/boost/boost/atomic/detail/bitwise_fp_cast.hpp", - "external/sources/boost/boost/atomic/detail/capabilities.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/caps_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/caps_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/caps_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_windows.hpp", - "external/sources/boost/boost/atomic/detail/cas_based_exchange.hpp", - "external/sources/boost/boost/atomic/detail/classify.hpp", - "external/sources/boost/boost/atomic/detail/config.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_operations.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/core_operations.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_emulated.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_emulated_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_cas_based.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_windows.hpp", - "external/sources/boost/boost/atomic/detail/extending_cas_based_arithmetic.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_operations.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/extra_operations.hpp", - "external/sources/boost/boost/atomic/detail/extra_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_operations.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_operations.hpp", - "external/sources/boost/boost/atomic/detail/fence_operations_emulated.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_windows.hpp", - "external/sources/boost/boost/atomic/detail/float_sizes.hpp", - "external/sources/boost/boost/atomic/detail/footer.hpp", - "external/sources/boost/boost/atomic/detail/fp_operations.hpp", - "external/sources/boost/boost/atomic/detail/fp_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/fp_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/fp_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/futex.hpp", - "external/sources/boost/boost/atomic/detail/gcc_arm_asm_common.hpp", - "external/sources/boost/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp", - "external/sources/boost/boost/atomic/detail/header.hpp", - "external/sources/boost/boost/atomic/detail/int_sizes.hpp", - "external/sources/boost/boost/atomic/detail/integral_conversions.hpp", - "external/sources/boost/boost/atomic/detail/interlocked.hpp", - "external/sources/boost/boost/atomic/detail/intptr.hpp", - "external/sources/boost/boost/atomic/detail/link.hpp", - "external/sources/boost/boost/atomic/detail/lock_pool.hpp", - "external/sources/boost/boost/atomic/detail/memory_order_utils.hpp", - "external/sources/boost/boost/atomic/detail/once_flag.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_aarch32_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_aarch64_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_arm_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_ppc_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_msvc_common.hpp", - "external/sources/boost/boost/atomic/detail/pause.hpp", - "external/sources/boost/boost/atomic/detail/platform.hpp", - "external/sources/boost/boost/atomic/detail/storage_traits.hpp", - "external/sources/boost/boost/atomic/detail/string_ops.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/alignment_of.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/conditional.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/integral_constant.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_floating_point.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_function.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_iec559.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_integral.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_signed.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_copyable.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/make_signed.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/make_unsigned.hpp", - "external/sources/boost/boost/atomic/detail/wait_capabilities.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_freebsd_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_futex.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_windows.hpp", - "external/sources/boost/boost/atomic/detail/wait_operations.hpp", - "external/sources/boost/boost/atomic/detail/wait_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_freebsd_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_futex.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_windows.hpp", - "external/sources/boost/boost/atomic/fences.hpp", - "external/sources/boost/boost/atomic/ipc_atomic.hpp", - "external/sources/boost/boost/atomic/ipc_atomic_flag.hpp", - "external/sources/boost/boost/atomic/ipc_atomic_ref.hpp", - "external/sources/boost/boost/beast.hpp", - "external/sources/boost/boost/beast/_experimental/http/icy_stream.hpp", - "external/sources/boost/boost/beast/_experimental/http/impl/icy_stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/error.hpp", - "external/sources/boost/boost/beast/_experimental/test/fail_count.hpp", - "external/sources/boost/boost/beast/_experimental/test/handler.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/error.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/error.ipp", - "external/sources/boost/boost/beast/_experimental/test/impl/fail_count.ipp", - "external/sources/boost/boost/beast/_experimental/test/impl/stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/stream.ipp", - "external/sources/boost/boost/beast/_experimental/test/stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/tcp.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/amount.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/detail/const_container.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/dstream.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/global_suites.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/main.ipp", - "external/sources/boost/boost/beast/_experimental/unit_test/match.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/recorder.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/reporter.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/results.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/runner.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite_info.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite_list.hpp", - "external/sources/boost/boost/beast/core.hpp", - "external/sources/boost/boost/beast/core/async_base.hpp", - "external/sources/boost/boost/beast/core/basic_stream.hpp", - "external/sources/boost/boost/beast/core/bind_handler.hpp", - "external/sources/boost/boost/beast/core/buffer_traits.hpp", - "external/sources/boost/boost/beast/core/buffered_read_stream.hpp", - "external/sources/boost/boost/beast/core/buffers_adaptor.hpp", - "external/sources/boost/boost/beast/core/buffers_cat.hpp", - "external/sources/boost/boost/beast/core/buffers_prefix.hpp", - "external/sources/boost/boost/beast/core/buffers_range.hpp", - "external/sources/boost/boost/beast/core/buffers_suffix.hpp", - "external/sources/boost/boost/beast/core/buffers_to_string.hpp", - "external/sources/boost/boost/beast/core/detail/allocator.hpp", - "external/sources/boost/boost/beast/core/detail/async_base.hpp", - "external/sources/boost/boost/beast/core/detail/base64.hpp", - "external/sources/boost/boost/beast/core/detail/base64.ipp", - "external/sources/boost/boost/beast/core/detail/bind_continuation.hpp", - "external/sources/boost/boost/beast/core/detail/bind_default_executor.hpp", - "external/sources/boost/boost/beast/core/detail/bind_handler.hpp", - "external/sources/boost/boost/beast/core/detail/buffer.hpp", - "external/sources/boost/boost/beast/core/detail/buffer_traits.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_pair.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_range_adaptor.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_ref.hpp", - "external/sources/boost/boost/beast/core/detail/chacha.hpp", - "external/sources/boost/boost/beast/core/detail/char_buffer.hpp", - "external/sources/boost/boost/beast/core/detail/clamp.hpp", - "external/sources/boost/boost/beast/core/detail/config.hpp", - "external/sources/boost/boost/beast/core/detail/cpu_info.hpp", - "external/sources/boost/boost/beast/core/detail/flat_stream.hpp", - "external/sources/boost/boost/beast/core/detail/get_io_context.hpp", - "external/sources/boost/boost/beast/core/detail/impl/read.hpp", - "external/sources/boost/boost/beast/core/detail/impl/temporary_buffer.ipp", - "external/sources/boost/boost/beast/core/detail/is_invocable.hpp", - "external/sources/boost/boost/beast/core/detail/ostream.hpp", - "external/sources/boost/boost/beast/core/detail/pcg.hpp", - "external/sources/boost/boost/beast/core/detail/read.hpp", - "external/sources/boost/boost/beast/core/detail/remap_post_to_defer.hpp", - "external/sources/boost/boost/beast/core/detail/service_base.hpp", - "external/sources/boost/boost/beast/core/detail/sha1.hpp", - "external/sources/boost/boost/beast/core/detail/sha1.ipp", - "external/sources/boost/boost/beast/core/detail/static_const.hpp", - "external/sources/boost/boost/beast/core/detail/static_ostream.hpp", - "external/sources/boost/boost/beast/core/detail/static_string.hpp", - "external/sources/boost/boost/beast/core/detail/stream_base.hpp", - "external/sources/boost/boost/beast/core/detail/stream_traits.hpp", - "external/sources/boost/boost/beast/core/detail/string.hpp", - "external/sources/boost/boost/beast/core/detail/temporary_buffer.hpp", - "external/sources/boost/boost/beast/core/detail/tuple.hpp", - "external/sources/boost/boost/beast/core/detail/type_traits.hpp", - "external/sources/boost/boost/beast/core/detail/variant.hpp", - "external/sources/boost/boost/beast/core/detail/varint.hpp", - "external/sources/boost/boost/beast/core/detail/win32_unicode_path.hpp", - "external/sources/boost/boost/beast/core/detail/work_guard.hpp", - "external/sources/boost/boost/beast/core/detect_ssl.hpp", - "external/sources/boost/boost/beast/core/error.hpp", - "external/sources/boost/boost/beast/core/file.hpp", - "external/sources/boost/boost/beast/core/file_base.hpp", - "external/sources/boost/boost/beast/core/file_posix.hpp", - "external/sources/boost/boost/beast/core/file_stdio.hpp", - "external/sources/boost/boost/beast/core/file_win32.hpp", - "external/sources/boost/boost/beast/core/flat_buffer.hpp", - "external/sources/boost/boost/beast/core/flat_static_buffer.hpp", - "external/sources/boost/boost/beast/core/flat_stream.hpp", - "external/sources/boost/boost/beast/core/impl/async_base.hpp", - "external/sources/boost/boost/beast/core/impl/basic_stream.hpp", - "external/sources/boost/boost/beast/core/impl/buffered_read_stream.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_adaptor.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_cat.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_prefix.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_suffix.hpp", - "external/sources/boost/boost/beast/core/impl/error.hpp", - "external/sources/boost/boost/beast/core/impl/error.ipp", - "external/sources/boost/boost/beast/core/impl/file_posix.ipp", - "external/sources/boost/boost/beast/core/impl/file_stdio.ipp", - "external/sources/boost/boost/beast/core/impl/file_win32.ipp", - "external/sources/boost/boost/beast/core/impl/flat_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/flat_static_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/flat_static_buffer.ipp", - "external/sources/boost/boost/beast/core/impl/flat_stream.hpp", - "external/sources/boost/boost/beast/core/impl/multi_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/read_size.hpp", - "external/sources/boost/boost/beast/core/impl/saved_handler.hpp", - "external/sources/boost/boost/beast/core/impl/saved_handler.ipp", - "external/sources/boost/boost/beast/core/impl/static_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/static_buffer.ipp", - "external/sources/boost/boost/beast/core/impl/static_string.hpp", - "external/sources/boost/boost/beast/core/impl/string.ipp", - "external/sources/boost/boost/beast/core/impl/string_param.hpp", - "external/sources/boost/boost/beast/core/make_printable.hpp", - "external/sources/boost/boost/beast/core/multi_buffer.hpp", - "external/sources/boost/boost/beast/core/ostream.hpp", - "external/sources/boost/boost/beast/core/rate_policy.hpp", - "external/sources/boost/boost/beast/core/read_size.hpp", - "external/sources/boost/boost/beast/core/role.hpp", - "external/sources/boost/boost/beast/core/saved_handler.hpp", - "external/sources/boost/boost/beast/core/span.hpp", - "external/sources/boost/boost/beast/core/static_buffer.hpp", - "external/sources/boost/boost/beast/core/static_string.hpp", - "external/sources/boost/boost/beast/core/stream_traits.hpp", - "external/sources/boost/boost/beast/core/string.hpp", - "external/sources/boost/boost/beast/core/string_param.hpp", - "external/sources/boost/boost/beast/core/string_type.hpp", - "external/sources/boost/boost/beast/core/tcp_stream.hpp", - "external/sources/boost/boost/beast/http.hpp", - "external/sources/boost/boost/beast/http/basic_dynamic_body.hpp", - "external/sources/boost/boost/beast/http/basic_file_body.hpp", - "external/sources/boost/boost/beast/http/basic_parser.hpp", - "external/sources/boost/boost/beast/http/buffer_body.hpp", - "external/sources/boost/boost/beast/http/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parsed_list.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parser.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parser.ipp", - "external/sources/boost/boost/beast/http/detail/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/detail/rfc7230.hpp", - "external/sources/boost/boost/beast/http/detail/rfc7230.ipp", - "external/sources/boost/boost/beast/http/detail/type_traits.hpp", - "external/sources/boost/boost/beast/http/dynamic_body.hpp", - "external/sources/boost/boost/beast/http/empty_body.hpp", - "external/sources/boost/boost/beast/http/error.hpp", - "external/sources/boost/boost/beast/http/field.hpp", - "external/sources/boost/boost/beast/http/fields.hpp", - "external/sources/boost/boost/beast/http/file_body.hpp", - "external/sources/boost/boost/beast/http/impl/basic_parser.hpp", - "external/sources/boost/boost/beast/http/impl/basic_parser.ipp", - "external/sources/boost/boost/beast/http/impl/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/impl/error.hpp", - "external/sources/boost/boost/beast/http/impl/error.ipp", - "external/sources/boost/boost/beast/http/impl/field.ipp", - "external/sources/boost/boost/beast/http/impl/fields.hpp", - "external/sources/boost/boost/beast/http/impl/fields.ipp", - "external/sources/boost/boost/beast/http/impl/file_body_win32.hpp", - "external/sources/boost/boost/beast/http/impl/message.hpp", - "external/sources/boost/boost/beast/http/impl/parser.hpp", - "external/sources/boost/boost/beast/http/impl/read.hpp", - "external/sources/boost/boost/beast/http/impl/rfc7230.hpp", - "external/sources/boost/boost/beast/http/impl/rfc7230.ipp", - "external/sources/boost/boost/beast/http/impl/serializer.hpp", - "external/sources/boost/boost/beast/http/impl/status.ipp", - "external/sources/boost/boost/beast/http/impl/verb.ipp", - "external/sources/boost/boost/beast/http/impl/write.hpp", - "external/sources/boost/boost/beast/http/message.hpp", - "external/sources/boost/boost/beast/http/parser.hpp", - "external/sources/boost/boost/beast/http/read.hpp", - "external/sources/boost/boost/beast/http/rfc7230.hpp", - "external/sources/boost/boost/beast/http/serializer.hpp", - "external/sources/boost/boost/beast/http/span_body.hpp", - "external/sources/boost/boost/beast/http/status.hpp", - "external/sources/boost/boost/beast/http/string_body.hpp", - "external/sources/boost/boost/beast/http/type_traits.hpp", - "external/sources/boost/boost/beast/http/vector_body.hpp", - "external/sources/boost/boost/beast/http/verb.hpp", - "external/sources/boost/boost/beast/http/write.hpp", - "external/sources/boost/boost/beast/src.hpp", - "external/sources/boost/boost/beast/ssl.hpp", - "external/sources/boost/boost/beast/ssl/ssl_stream.hpp", - "external/sources/boost/boost/beast/version.hpp", - "external/sources/boost/boost/beast/websocket.hpp", - "external/sources/boost/boost/beast/websocket/detail/decorator.hpp", - "external/sources/boost/boost/beast/websocket/detail/frame.hpp", - "external/sources/boost/boost/beast/websocket/detail/hybi13.hpp", - "external/sources/boost/boost/beast/websocket/detail/hybi13.ipp", - "external/sources/boost/boost/beast/websocket/detail/impl_base.hpp", - "external/sources/boost/boost/beast/websocket/detail/mask.hpp", - "external/sources/boost/boost/beast/websocket/detail/mask.ipp", - "external/sources/boost/boost/beast/websocket/detail/pmd_extension.hpp", - "external/sources/boost/boost/beast/websocket/detail/pmd_extension.ipp", - "external/sources/boost/boost/beast/websocket/detail/prng.hpp", - "external/sources/boost/boost/beast/websocket/detail/prng.ipp", - "external/sources/boost/boost/beast/websocket/detail/service.hpp", - "external/sources/boost/boost/beast/websocket/detail/service.ipp", - "external/sources/boost/boost/beast/websocket/detail/soft_mutex.hpp", - "external/sources/boost/boost/beast/websocket/detail/type_traits.hpp", - "external/sources/boost/boost/beast/websocket/detail/utf8_checker.hpp", - "external/sources/boost/boost/beast/websocket/detail/utf8_checker.ipp", - "external/sources/boost/boost/beast/websocket/error.hpp", - "external/sources/boost/boost/beast/websocket/impl/accept.hpp", - "external/sources/boost/boost/beast/websocket/impl/close.hpp", - "external/sources/boost/boost/beast/websocket/impl/error.hpp", - "external/sources/boost/boost/beast/websocket/impl/error.ipp", - "external/sources/boost/boost/beast/websocket/impl/handshake.hpp", - "external/sources/boost/boost/beast/websocket/impl/ping.hpp", - "external/sources/boost/boost/beast/websocket/impl/read.hpp", - "external/sources/boost/boost/beast/websocket/impl/rfc6455.hpp", - "external/sources/boost/boost/beast/websocket/impl/ssl.hpp", - "external/sources/boost/boost/beast/websocket/impl/stream.hpp", - "external/sources/boost/boost/beast/websocket/impl/stream_impl.hpp", - "external/sources/boost/boost/beast/websocket/impl/teardown.hpp", - "external/sources/boost/boost/beast/websocket/impl/write.hpp", - "external/sources/boost/boost/beast/websocket/option.hpp", - "external/sources/boost/boost/beast/websocket/rfc6455.hpp", - "external/sources/boost/boost/beast/websocket/ssl.hpp", - "external/sources/boost/boost/beast/websocket/stream.hpp", - "external/sources/boost/boost/beast/websocket/stream_base.hpp", - "external/sources/boost/boost/beast/websocket/stream_fwd.hpp", - "external/sources/boost/boost/beast/websocket/teardown.hpp", - "external/sources/boost/boost/beast/zlib.hpp", - "external/sources/boost/boost/beast/zlib/deflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/bitstream.hpp", - "external/sources/boost/boost/beast/zlib/detail/deflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/deflate_stream.ipp", - "external/sources/boost/boost/beast/zlib/detail/inflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/inflate_stream.ipp", - "external/sources/boost/boost/beast/zlib/detail/ranges.hpp", - "external/sources/boost/boost/beast/zlib/detail/window.hpp", - "external/sources/boost/boost/beast/zlib/error.hpp", - "external/sources/boost/boost/beast/zlib/impl/error.hpp", - "external/sources/boost/boost/beast/zlib/impl/error.ipp", - "external/sources/boost/boost/beast/zlib/inflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/zlib.hpp", - "external/sources/boost/boost/bimap.hpp", - "external/sources/boost/boost/bimap/bimap.hpp", - "external/sources/boost/boost/bimap/container_adaptor/associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/comparison_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/functor_bag.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/identity_converters.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/key_extractor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/non_unique_container_helper.hpp", - "external/sources/boost/boost/bimap/container_adaptor/list_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/list_map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/multimap_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/multiset_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/ordered_associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/sequence_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/set_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/support/iterator_facade_converters.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_multimap_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_multiset_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_set_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/vector_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/vector_map_adaptor.hpp", - "external/sources/boost/boost/bimap/detail/bimap_core.hpp", - "external/sources/boost/boost/bimap/detail/concept_tags.hpp", - "external/sources/boost/boost/bimap/detail/generate_index_binder.hpp", - "external/sources/boost/boost/bimap/detail/generate_relation_binder.hpp", - "external/sources/boost/boost/bimap/detail/generate_view_binder.hpp", - "external/sources/boost/boost/bimap/detail/is_set_type_of.hpp", - "external/sources/boost/boost/bimap/detail/manage_additional_parameters.hpp", - "external/sources/boost/boost/bimap/detail/manage_bimap_key.hpp", - "external/sources/boost/boost/bimap/detail/map_view_base.hpp", - "external/sources/boost/boost/bimap/detail/map_view_iterator.hpp", - "external/sources/boost/boost/bimap/detail/modifier_adaptor.hpp", - "external/sources/boost/boost/bimap/detail/non_unique_views_helper.hpp", - "external/sources/boost/boost/bimap/detail/set_view_base.hpp", - "external/sources/boost/boost/bimap/detail/set_view_iterator.hpp", - "external/sources/boost/boost/bimap/detail/test/check_metadata.hpp", - "external/sources/boost/boost/bimap/detail/user_interface_config.hpp", - "external/sources/boost/boost/bimap/list_of.hpp", - "external/sources/boost/boost/bimap/multiset_of.hpp", - "external/sources/boost/boost/bimap/property_map/set_support.hpp", - "external/sources/boost/boost/bimap/property_map/unordered_set_support.hpp", - "external/sources/boost/boost/bimap/relation/detail/access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/metadata_access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/mutant.hpp", - "external/sources/boost/boost/bimap/relation/detail/static_access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/to_mutable_relation_functor.hpp", - "external/sources/boost/boost/bimap/relation/member_at.hpp", - "external/sources/boost/boost/bimap/relation/mutant_relation.hpp", - "external/sources/boost/boost/bimap/relation/pair_layout.hpp", - "external/sources/boost/boost/bimap/relation/structured_pair.hpp", - "external/sources/boost/boost/bimap/relation/support/data_extractor.hpp", - "external/sources/boost/boost/bimap/relation/support/get.hpp", - "external/sources/boost/boost/bimap/relation/support/get_pair_functor.hpp", - "external/sources/boost/boost/bimap/relation/support/is_tag_of_member_at.hpp", - "external/sources/boost/boost/bimap/relation/support/member_with_tag.hpp", - "external/sources/boost/boost/bimap/relation/support/opposite_tag.hpp", - "external/sources/boost/boost/bimap/relation/support/pair_by.hpp", - "external/sources/boost/boost/bimap/relation/support/pair_type_by.hpp", - "external/sources/boost/boost/bimap/relation/support/value_type_of.hpp", - "external/sources/boost/boost/bimap/relation/symmetrical_base.hpp", - "external/sources/boost/boost/bimap/set_of.hpp", - "external/sources/boost/boost/bimap/support/data_type_by.hpp", - "external/sources/boost/boost/bimap/support/iterator_type_by.hpp", - "external/sources/boost/boost/bimap/support/key_type_by.hpp", - "external/sources/boost/boost/bimap/support/lambda.hpp", - "external/sources/boost/boost/bimap/support/map_by.hpp", - "external/sources/boost/boost/bimap/support/map_type_by.hpp", - "external/sources/boost/boost/bimap/support/value_type_by.hpp", - "external/sources/boost/boost/bimap/unconstrained_set_of.hpp", - "external/sources/boost/boost/bimap/unordered_multiset_of.hpp", - "external/sources/boost/boost/bimap/unordered_set_of.hpp", - "external/sources/boost/boost/bimap/vector_of.hpp", - "external/sources/boost/boost/bimap/views/list_map_view.hpp", - "external/sources/boost/boost/bimap/views/list_set_view.hpp", - "external/sources/boost/boost/bimap/views/map_view.hpp", - "external/sources/boost/boost/bimap/views/multimap_view.hpp", - "external/sources/boost/boost/bimap/views/multiset_view.hpp", - "external/sources/boost/boost/bimap/views/set_view.hpp", - "external/sources/boost/boost/bimap/views/unconstrained_map_view.hpp", - "external/sources/boost/boost/bimap/views/unconstrained_set_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_map_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_multimap_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_multiset_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_set_view.hpp", - "external/sources/boost/boost/bimap/views/vector_map_view.hpp", - "external/sources/boost/boost/bimap/views/vector_set_view.hpp", - "external/sources/boost/boost/bind.hpp", - "external/sources/boost/boost/bind/apply.hpp", - "external/sources/boost/boost/bind/arg.hpp", - "external/sources/boost/boost/bind/bind.hpp", - "external/sources/boost/boost/bind/bind_cc.hpp", - "external/sources/boost/boost/bind/bind_mf2_cc.hpp", - "external/sources/boost/boost/bind/bind_mf_cc.hpp", - "external/sources/boost/boost/bind/bind_template.hpp", - "external/sources/boost/boost/bind/make_adaptable.hpp", - "external/sources/boost/boost/bind/mem_fn.hpp", - "external/sources/boost/boost/bind/mem_fn_cc.hpp", - "external/sources/boost/boost/bind/mem_fn_template.hpp", - "external/sources/boost/boost/bind/mem_fn_vw.hpp", - "external/sources/boost/boost/bind/placeholders.hpp", - "external/sources/boost/boost/bind/protect.hpp", - "external/sources/boost/boost/bind/storage.hpp", - "external/sources/boost/boost/blank.hpp", - "external/sources/boost/boost/blank_fwd.hpp", - "external/sources/boost/boost/call_traits.hpp", - "external/sources/boost/boost/callable_traits.hpp", - "external/sources/boost/boost/callable_traits/add_member_const.hpp", - "external/sources/boost/boost/callable_traits/add_member_cv.hpp", - "external/sources/boost/boost/callable_traits/add_member_lvalue_reference.hpp", - "external/sources/boost/boost/callable_traits/add_member_rvalue_reference.hpp", - "external/sources/boost/boost/callable_traits/add_member_volatile.hpp", - "external/sources/boost/boost/callable_traits/add_noexcept.hpp", - "external/sources/boost/boost/callable_traits/add_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/add_varargs.hpp", - "external/sources/boost/boost/callable_traits/apply_member_pointer.hpp", - "external/sources/boost/boost/callable_traits/apply_return.hpp", - "external/sources/boost/boost/callable_traits/args.hpp", - "external/sources/boost/boost/callable_traits/class_of.hpp", - "external/sources/boost/boost/callable_traits/detail/config.hpp", - "external/sources/boost/boost/callable_traits/detail/core.hpp", - "external/sources/boost/boost/callable_traits/detail/default_callable_traits.hpp", - "external/sources/boost/boost/callable_traits/detail/forward_declarations.hpp", - "external/sources/boost/boost/callable_traits/detail/function.hpp", - "external/sources/boost/boost/callable_traits/detail/function_object.hpp", - "external/sources/boost/boost/callable_traits/detail/is_invocable_impl.hpp", - "external/sources/boost/boost/callable_traits/detail/parameter_index_helper.hpp", - "external/sources/boost/boost/callable_traits/detail/pmd.hpp", - "external/sources/boost/boost/callable_traits/detail/pmf.hpp", - "external/sources/boost/boost/callable_traits/detail/polyfills/disjunction.hpp", - "external/sources/boost/boost/callable_traits/detail/polyfills/make_index_sequence.hpp", - "external/sources/boost/boost/callable_traits/detail/qualifier_flags.hpp", - "external/sources/boost/boost/callable_traits/detail/set_function_qualifiers.hpp", - "external/sources/boost/boost/callable_traits/detail/sfinae_errors.hpp", - "external/sources/boost/boost/callable_traits/detail/traits.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_4.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_4.hpp", - "external/sources/boost/boost/callable_traits/detail/utility.hpp", - "external/sources/boost/boost/callable_traits/function_type.hpp", - "external/sources/boost/boost/callable_traits/has_member_qualifiers.hpp", - "external/sources/boost/boost/callable_traits/has_varargs.hpp", - "external/sources/boost/boost/callable_traits/has_void_return.hpp", - "external/sources/boost/boost/callable_traits/is_const_member.hpp", - "external/sources/boost/boost/callable_traits/is_cv_member.hpp", - "external/sources/boost/boost/callable_traits/is_invocable.hpp", - "external/sources/boost/boost/callable_traits/is_lvalue_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_noexcept.hpp", - "external/sources/boost/boost/callable_traits/is_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_rvalue_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/is_volatile_member.hpp", - "external/sources/boost/boost/callable_traits/qualified_class_of.hpp", - "external/sources/boost/boost/callable_traits/remove_member_const.hpp", - "external/sources/boost/boost/callable_traits/remove_member_cv.hpp", - "external/sources/boost/boost/callable_traits/remove_member_reference.hpp", - "external/sources/boost/boost/callable_traits/remove_member_volatile.hpp", - "external/sources/boost/boost/callable_traits/remove_noexcept.hpp", - "external/sources/boost/boost/callable_traits/remove_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/remove_varargs.hpp", - "external/sources/boost/boost/callable_traits/return_type.hpp", - "external/sources/boost/boost/cast.hpp", - "external/sources/boost/boost/cerrno.hpp", - "external/sources/boost/boost/checked_delete.hpp", - "external/sources/boost/boost/chrono.hpp", - "external/sources/boost/boost/chrono/ceil.hpp", - "external/sources/boost/boost/chrono/chrono.hpp", - "external/sources/boost/boost/chrono/chrono_io.hpp", - "external/sources/boost/boost/chrono/clock_string.hpp", - "external/sources/boost/boost/chrono/config.hpp", - "external/sources/boost/boost/chrono/detail/inlined/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/is_evenly_divisible_by.hpp", - "external/sources/boost/boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp", - "external/sources/boost/boost/chrono/detail/scan_keyword.hpp", - "external/sources/boost/boost/chrono/detail/static_assert.hpp", - "external/sources/boost/boost/chrono/detail/system.hpp", - "external/sources/boost/boost/chrono/duration.hpp", - "external/sources/boost/boost/chrono/floor.hpp", - "external/sources/boost/boost/chrono/include.hpp", - "external/sources/boost/boost/chrono/io/duration_get.hpp", - "external/sources/boost/boost/chrono/io/duration_io.hpp", - "external/sources/boost/boost/chrono/io/duration_put.hpp", - "external/sources/boost/boost/chrono/io/duration_style.hpp", - "external/sources/boost/boost/chrono/io/duration_units.hpp", - "external/sources/boost/boost/chrono/io/ios_base_state.hpp", - "external/sources/boost/boost/chrono/io/time_point_get.hpp", - "external/sources/boost/boost/chrono/io/time_point_io.hpp", - "external/sources/boost/boost/chrono/io/time_point_put.hpp", - "external/sources/boost/boost/chrono/io/time_point_units.hpp", - "external/sources/boost/boost/chrono/io/timezone.hpp", - "external/sources/boost/boost/chrono/io/utility/ios_base_state_ptr.hpp", - "external/sources/boost/boost/chrono/io/utility/manip_base.hpp", - "external/sources/boost/boost/chrono/io/utility/to_string.hpp", - "external/sources/boost/boost/chrono/io_v1/chrono_io.hpp", - "external/sources/boost/boost/chrono/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/round.hpp", - "external/sources/boost/boost/chrono/system_clocks.hpp", - "external/sources/boost/boost/chrono/thread_clock.hpp", - "external/sources/boost/boost/chrono/time_point.hpp", - "external/sources/boost/boost/chrono/typeof/boost/chrono/chrono.hpp", - "external/sources/boost/boost/chrono/typeof/boost/ratio.hpp", - "external/sources/boost/boost/circular_buffer.hpp", - "external/sources/boost/boost/circular_buffer/base.hpp", - "external/sources/boost/boost/circular_buffer/debug.hpp", - "external/sources/boost/boost/circular_buffer/details.hpp", - "external/sources/boost/boost/circular_buffer/space_optimized.hpp", - "external/sources/boost/boost/circular_buffer_fwd.hpp", - "external/sources/boost/boost/compatibility/cpp_c_headers/cassert", - "external/sources/boost/boost/compatibility/cpp_c_headers/cctype", - "external/sources/boost/boost/compatibility/cpp_c_headers/cerrno", - "external/sources/boost/boost/compatibility/cpp_c_headers/cfloat", - "external/sources/boost/boost/compatibility/cpp_c_headers/climits", - "external/sources/boost/boost/compatibility/cpp_c_headers/clocale", - "external/sources/boost/boost/compatibility/cpp_c_headers/cmath", - "external/sources/boost/boost/compatibility/cpp_c_headers/csetjmp", - "external/sources/boost/boost/compatibility/cpp_c_headers/csignal", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdarg", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstddef", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdio", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdlib", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstring", - "external/sources/boost/boost/compatibility/cpp_c_headers/ctime", - "external/sources/boost/boost/compatibility/cpp_c_headers/cwchar", - "external/sources/boost/boost/compatibility/cpp_c_headers/cwctype", - "external/sources/boost/boost/compressed_pair.hpp", - "external/sources/boost/boost/compute.hpp", - "external/sources/boost/boost/compute/algorithm.hpp", - "external/sources/boost/boost/compute/algorithm/accumulate.hpp", - "external/sources/boost/boost/compute/algorithm/adjacent_difference.hpp", - "external/sources/boost/boost/compute/algorithm/adjacent_find.hpp", - "external/sources/boost/boost/compute/algorithm/all_of.hpp", - "external/sources/boost/boost/compute/algorithm/any_of.hpp", - "external/sources/boost/boost/compute/algorithm/binary_search.hpp", - "external/sources/boost/boost/compute/algorithm/copy.hpp", - "external/sources/boost/boost/compute/algorithm/copy_if.hpp", - "external/sources/boost/boost/compute/algorithm/copy_n.hpp", - "external/sources/boost/boost/compute/algorithm/count.hpp", - "external/sources/boost/boost/compute/algorithm/count_if.hpp", - "external/sources/boost/boost/compute/algorithm/detail/balanced_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/binary_find.hpp", - "external/sources/boost/boost/compute/algorithm/detail/compact.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_on_device.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_to_device.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_to_host.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_ballot.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_threads.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_atomics.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_if_with_atomics.hpp", - "external/sources/boost/boost/compute/algorithm/detail/inplace_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/insertion_sort.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_with_merge_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/radix_sort.hpp", - "external/sources/boost/boost/compute/algorithm/detail/random_fill.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key_with_scan.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/search_all.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_accumulate.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_count_if.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_find_extrema.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_merge.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_scan.hpp", - "external/sources/boost/boost/compute/algorithm/equal.hpp", - "external/sources/boost/boost/compute/algorithm/equal_range.hpp", - "external/sources/boost/boost/compute/algorithm/exclusive_scan.hpp", - "external/sources/boost/boost/compute/algorithm/fill.hpp", - "external/sources/boost/boost/compute/algorithm/fill_n.hpp", - "external/sources/boost/boost/compute/algorithm/find.hpp", - "external/sources/boost/boost/compute/algorithm/find_end.hpp", - "external/sources/boost/boost/compute/algorithm/find_if.hpp", - "external/sources/boost/boost/compute/algorithm/find_if_not.hpp", - "external/sources/boost/boost/compute/algorithm/for_each.hpp", - "external/sources/boost/boost/compute/algorithm/for_each_n.hpp", - "external/sources/boost/boost/compute/algorithm/gather.hpp", - "external/sources/boost/boost/compute/algorithm/generate.hpp", - "external/sources/boost/boost/compute/algorithm/generate_n.hpp", - "external/sources/boost/boost/compute/algorithm/includes.hpp", - "external/sources/boost/boost/compute/algorithm/inclusive_scan.hpp", - "external/sources/boost/boost/compute/algorithm/inner_product.hpp", - "external/sources/boost/boost/compute/algorithm/inplace_merge.hpp", - "external/sources/boost/boost/compute/algorithm/iota.hpp", - "external/sources/boost/boost/compute/algorithm/is_partitioned.hpp", - "external/sources/boost/boost/compute/algorithm/is_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/is_sorted.hpp", - "external/sources/boost/boost/compute/algorithm/lexicographical_compare.hpp", - "external/sources/boost/boost/compute/algorithm/lower_bound.hpp", - "external/sources/boost/boost/compute/algorithm/max_element.hpp", - "external/sources/boost/boost/compute/algorithm/merge.hpp", - "external/sources/boost/boost/compute/algorithm/min_element.hpp", - "external/sources/boost/boost/compute/algorithm/minmax_element.hpp", - "external/sources/boost/boost/compute/algorithm/mismatch.hpp", - "external/sources/boost/boost/compute/algorithm/next_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/none_of.hpp", - "external/sources/boost/boost/compute/algorithm/nth_element.hpp", - "external/sources/boost/boost/compute/algorithm/partial_sum.hpp", - "external/sources/boost/boost/compute/algorithm/partition.hpp", - "external/sources/boost/boost/compute/algorithm/partition_copy.hpp", - "external/sources/boost/boost/compute/algorithm/partition_point.hpp", - "external/sources/boost/boost/compute/algorithm/prev_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/random_shuffle.hpp", - "external/sources/boost/boost/compute/algorithm/reduce.hpp", - "external/sources/boost/boost/compute/algorithm/reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/remove.hpp", - "external/sources/boost/boost/compute/algorithm/remove_if.hpp", - "external/sources/boost/boost/compute/algorithm/replace.hpp", - "external/sources/boost/boost/compute/algorithm/replace_copy.hpp", - "external/sources/boost/boost/compute/algorithm/reverse.hpp", - "external/sources/boost/boost/compute/algorithm/reverse_copy.hpp", - "external/sources/boost/boost/compute/algorithm/rotate.hpp", - "external/sources/boost/boost/compute/algorithm/rotate_copy.hpp", - "external/sources/boost/boost/compute/algorithm/scatter.hpp", - "external/sources/boost/boost/compute/algorithm/scatter_if.hpp", - "external/sources/boost/boost/compute/algorithm/search.hpp", - "external/sources/boost/boost/compute/algorithm/search_n.hpp", - "external/sources/boost/boost/compute/algorithm/set_difference.hpp", - "external/sources/boost/boost/compute/algorithm/set_intersection.hpp", - "external/sources/boost/boost/compute/algorithm/set_symmetric_difference.hpp", - "external/sources/boost/boost/compute/algorithm/set_union.hpp", - "external/sources/boost/boost/compute/algorithm/sort.hpp", - "external/sources/boost/boost/compute/algorithm/sort_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/stable_partition.hpp", - "external/sources/boost/boost/compute/algorithm/stable_sort.hpp", - "external/sources/boost/boost/compute/algorithm/stable_sort_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/swap_ranges.hpp", - "external/sources/boost/boost/compute/algorithm/transform.hpp", - "external/sources/boost/boost/compute/algorithm/transform_if.hpp", - "external/sources/boost/boost/compute/algorithm/transform_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/unique.hpp", - "external/sources/boost/boost/compute/algorithm/unique_copy.hpp", - "external/sources/boost/boost/compute/algorithm/upper_bound.hpp", - "external/sources/boost/boost/compute/allocator.hpp", - "external/sources/boost/boost/compute/allocator/buffer_allocator.hpp", - "external/sources/boost/boost/compute/allocator/pinned_allocator.hpp", - "external/sources/boost/boost/compute/async.hpp", - "external/sources/boost/boost/compute/async/future.hpp", - "external/sources/boost/boost/compute/async/wait.hpp", - "external/sources/boost/boost/compute/async/wait_guard.hpp", - "external/sources/boost/boost/compute/buffer.hpp", - "external/sources/boost/boost/compute/cl.hpp", - "external/sources/boost/boost/compute/cl_ext.hpp", - "external/sources/boost/boost/compute/closure.hpp", - "external/sources/boost/boost/compute/command_queue.hpp", - "external/sources/boost/boost/compute/config.hpp", - "external/sources/boost/boost/compute/container.hpp", - "external/sources/boost/boost/compute/container/array.hpp", - "external/sources/boost/boost/compute/container/basic_string.hpp", - "external/sources/boost/boost/compute/container/detail/scalar.hpp", - "external/sources/boost/boost/compute/container/dynamic_bitset.hpp", - "external/sources/boost/boost/compute/container/flat_map.hpp", - "external/sources/boost/boost/compute/container/flat_set.hpp", - "external/sources/boost/boost/compute/container/mapped_view.hpp", - "external/sources/boost/boost/compute/container/stack.hpp", - "external/sources/boost/boost/compute/container/string.hpp", - "external/sources/boost/boost/compute/container/valarray.hpp", - "external/sources/boost/boost/compute/container/vector.hpp", - "external/sources/boost/boost/compute/context.hpp", - "external/sources/boost/boost/compute/core.hpp", - "external/sources/boost/boost/compute/detail/assert_cl_success.hpp", - "external/sources/boost/boost/compute/detail/buffer_value.hpp", - "external/sources/boost/boost/compute/detail/cl_versions.hpp", - "external/sources/boost/boost/compute/detail/device_ptr.hpp", - "external/sources/boost/boost/compute/detail/diagnostic.hpp", - "external/sources/boost/boost/compute/detail/duration.hpp", - "external/sources/boost/boost/compute/detail/get_object_info.hpp", - "external/sources/boost/boost/compute/detail/getenv.hpp", - "external/sources/boost/boost/compute/detail/global_static.hpp", - "external/sources/boost/boost/compute/detail/is_buffer_iterator.hpp", - "external/sources/boost/boost/compute/detail/is_contiguous_iterator.hpp", - "external/sources/boost/boost/compute/detail/iterator_plus_distance.hpp", - "external/sources/boost/boost/compute/detail/iterator_range_size.hpp", - "external/sources/boost/boost/compute/detail/iterator_traits.hpp", - "external/sources/boost/boost/compute/detail/literal.hpp", - "external/sources/boost/boost/compute/detail/lru_cache.hpp", - "external/sources/boost/boost/compute/detail/meta_kernel.hpp", - "external/sources/boost/boost/compute/detail/mpl_vector_to_tuple.hpp", - "external/sources/boost/boost/compute/detail/nvidia_compute_capability.hpp", - "external/sources/boost/boost/compute/detail/parameter_cache.hpp", - "external/sources/boost/boost/compute/detail/path.hpp", - "external/sources/boost/boost/compute/detail/print_range.hpp", - "external/sources/boost/boost/compute/detail/read_write_single_value.hpp", - "external/sources/boost/boost/compute/detail/sha1.hpp", - "external/sources/boost/boost/compute/detail/variadic_macros.hpp", - "external/sources/boost/boost/compute/detail/vendor.hpp", - "external/sources/boost/boost/compute/detail/work_size.hpp", - "external/sources/boost/boost/compute/device.hpp", - "external/sources/boost/boost/compute/event.hpp", - "external/sources/boost/boost/compute/exception.hpp", - "external/sources/boost/boost/compute/exception/context_error.hpp", - "external/sources/boost/boost/compute/exception/no_device_found.hpp", - "external/sources/boost/boost/compute/exception/opencl_error.hpp", - "external/sources/boost/boost/compute/exception/program_build_failure.hpp", - "external/sources/boost/boost/compute/exception/unsupported_extension_error.hpp", - "external/sources/boost/boost/compute/experimental/clamp_range.hpp", - "external/sources/boost/boost/compute/experimental/malloc.hpp", - "external/sources/boost/boost/compute/experimental/sort_by_transform.hpp", - "external/sources/boost/boost/compute/experimental/tabulate.hpp", - "external/sources/boost/boost/compute/function.hpp", - "external/sources/boost/boost/compute/functional.hpp", - "external/sources/boost/boost/compute/functional/as.hpp", - "external/sources/boost/boost/compute/functional/atomic.hpp", - "external/sources/boost/boost/compute/functional/bind.hpp", - "external/sources/boost/boost/compute/functional/common.hpp", - "external/sources/boost/boost/compute/functional/convert.hpp", - "external/sources/boost/boost/compute/functional/detail/macros.hpp", - "external/sources/boost/boost/compute/functional/detail/nvidia_ballot.hpp", - "external/sources/boost/boost/compute/functional/detail/nvidia_popcount.hpp", - "external/sources/boost/boost/compute/functional/detail/unpack.hpp", - "external/sources/boost/boost/compute/functional/field.hpp", - "external/sources/boost/boost/compute/functional/geometry.hpp", - "external/sources/boost/boost/compute/functional/get.hpp", - "external/sources/boost/boost/compute/functional/hash.hpp", - "external/sources/boost/boost/compute/functional/identity.hpp", - "external/sources/boost/boost/compute/functional/integer.hpp", - "external/sources/boost/boost/compute/functional/logical.hpp", - "external/sources/boost/boost/compute/functional/math.hpp", - "external/sources/boost/boost/compute/functional/operator.hpp", - "external/sources/boost/boost/compute/functional/popcount.hpp", - "external/sources/boost/boost/compute/functional/relational.hpp", - "external/sources/boost/boost/compute/image.hpp", - "external/sources/boost/boost/compute/image/image1d.hpp", - "external/sources/boost/boost/compute/image/image2d.hpp", - "external/sources/boost/boost/compute/image/image3d.hpp", - "external/sources/boost/boost/compute/image/image_format.hpp", - "external/sources/boost/boost/compute/image/image_object.hpp", - "external/sources/boost/boost/compute/image/image_sampler.hpp", - "external/sources/boost/boost/compute/image2d.hpp", - "external/sources/boost/boost/compute/image3d.hpp", - "external/sources/boost/boost/compute/image_format.hpp", - "external/sources/boost/boost/compute/image_sampler.hpp", - "external/sources/boost/boost/compute/interop/eigen.hpp", - "external/sources/boost/boost/compute/interop/eigen/core.hpp", - "external/sources/boost/boost/compute/interop/opencv.hpp", - "external/sources/boost/boost/compute/interop/opencv/core.hpp", - "external/sources/boost/boost/compute/interop/opencv/highgui.hpp", - "external/sources/boost/boost/compute/interop/opencv/ocl.hpp", - "external/sources/boost/boost/compute/interop/opengl.hpp", - "external/sources/boost/boost/compute/interop/opengl/acquire.hpp", - "external/sources/boost/boost/compute/interop/opengl/cl_gl.hpp", - "external/sources/boost/boost/compute/interop/opengl/cl_gl_ext.hpp", - "external/sources/boost/boost/compute/interop/opengl/context.hpp", - "external/sources/boost/boost/compute/interop/opengl/gl.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_buffer.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_renderbuffer.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_texture.hpp", - "external/sources/boost/boost/compute/interop/qt.hpp", - "external/sources/boost/boost/compute/interop/qt/qimage.hpp", - "external/sources/boost/boost/compute/interop/qt/qpoint.hpp", - "external/sources/boost/boost/compute/interop/qt/qpointf.hpp", - "external/sources/boost/boost/compute/interop/qt/qtcore.hpp", - "external/sources/boost/boost/compute/interop/qt/qtgui.hpp", - "external/sources/boost/boost/compute/interop/qt/qvector.hpp", - "external/sources/boost/boost/compute/interop/vtk.hpp", - "external/sources/boost/boost/compute/interop/vtk/bounds.hpp", - "external/sources/boost/boost/compute/interop/vtk/data_array.hpp", - "external/sources/boost/boost/compute/interop/vtk/matrix4x4.hpp", - "external/sources/boost/boost/compute/interop/vtk/points.hpp", - "external/sources/boost/boost/compute/iterator.hpp", - "external/sources/boost/boost/compute/iterator/buffer_iterator.hpp", - "external/sources/boost/boost/compute/iterator/constant_buffer_iterator.hpp", - "external/sources/boost/boost/compute/iterator/constant_iterator.hpp", - "external/sources/boost/boost/compute/iterator/counting_iterator.hpp", - "external/sources/boost/boost/compute/iterator/detail/get_base_iterator_buffer.hpp", - "external/sources/boost/boost/compute/iterator/detail/swizzle_iterator.hpp", - "external/sources/boost/boost/compute/iterator/discard_iterator.hpp", - "external/sources/boost/boost/compute/iterator/function_input_iterator.hpp", - "external/sources/boost/boost/compute/iterator/permutation_iterator.hpp", - "external/sources/boost/boost/compute/iterator/strided_iterator.hpp", - "external/sources/boost/boost/compute/iterator/transform_iterator.hpp", - "external/sources/boost/boost/compute/iterator/zip_iterator.hpp", - "external/sources/boost/boost/compute/kernel.hpp", - "external/sources/boost/boost/compute/lambda.hpp", - "external/sources/boost/boost/compute/lambda/context.hpp", - "external/sources/boost/boost/compute/lambda/functional.hpp", - "external/sources/boost/boost/compute/lambda/get.hpp", - "external/sources/boost/boost/compute/lambda/make_pair.hpp", - "external/sources/boost/boost/compute/lambda/make_tuple.hpp", - "external/sources/boost/boost/compute/lambda/placeholder.hpp", - "external/sources/boost/boost/compute/lambda/placeholders.hpp", - "external/sources/boost/boost/compute/lambda/result_of.hpp", - "external/sources/boost/boost/compute/memory.hpp", - "external/sources/boost/boost/compute/memory/local_buffer.hpp", - "external/sources/boost/boost/compute/memory/svm_ptr.hpp", - "external/sources/boost/boost/compute/memory_object.hpp", - "external/sources/boost/boost/compute/pipe.hpp", - "external/sources/boost/boost/compute/platform.hpp", - "external/sources/boost/boost/compute/program.hpp", - "external/sources/boost/boost/compute/random.hpp", - "external/sources/boost/boost/compute/random/bernoulli_distribution.hpp", - "external/sources/boost/boost/compute/random/default_random_engine.hpp", - "external/sources/boost/boost/compute/random/discrete_distribution.hpp", - "external/sources/boost/boost/compute/random/linear_congruential_engine.hpp", - "external/sources/boost/boost/compute/random/mersenne_twister_engine.hpp", - "external/sources/boost/boost/compute/random/normal_distribution.hpp", - "external/sources/boost/boost/compute/random/threefry_engine.hpp", - "external/sources/boost/boost/compute/random/uniform_int_distribution.hpp", - "external/sources/boost/boost/compute/random/uniform_real_distribution.hpp", - "external/sources/boost/boost/compute/source.hpp", - "external/sources/boost/boost/compute/svm.hpp", - "external/sources/boost/boost/compute/system.hpp", - "external/sources/boost/boost/compute/type_traits.hpp", - "external/sources/boost/boost/compute/type_traits/common_type.hpp", - "external/sources/boost/boost/compute/type_traits/detail/capture_traits.hpp", - "external/sources/boost/boost/compute/type_traits/is_device_iterator.hpp", - "external/sources/boost/boost/compute/type_traits/is_fundamental.hpp", - "external/sources/boost/boost/compute/type_traits/is_vector_type.hpp", - "external/sources/boost/boost/compute/type_traits/make_vector_type.hpp", - "external/sources/boost/boost/compute/type_traits/result_of.hpp", - "external/sources/boost/boost/compute/type_traits/scalar_type.hpp", - "external/sources/boost/boost/compute/type_traits/type_definition.hpp", - "external/sources/boost/boost/compute/type_traits/type_name.hpp", - "external/sources/boost/boost/compute/type_traits/vector_size.hpp", - "external/sources/boost/boost/compute/types.hpp", - "external/sources/boost/boost/compute/types/builtin.hpp", - "external/sources/boost/boost/compute/types/complex.hpp", - "external/sources/boost/boost/compute/types/fundamental.hpp", - "external/sources/boost/boost/compute/types/pair.hpp", - "external/sources/boost/boost/compute/types/size_t.hpp", - "external/sources/boost/boost/compute/types/struct.hpp", - "external/sources/boost/boost/compute/types/tuple.hpp", - "external/sources/boost/boost/compute/user_event.hpp", - "external/sources/boost/boost/compute/utility.hpp", - "external/sources/boost/boost/compute/utility/dim.hpp", - "external/sources/boost/boost/compute/utility/extents.hpp", - "external/sources/boost/boost/compute/utility/invoke.hpp", - "external/sources/boost/boost/compute/utility/program_cache.hpp", - "external/sources/boost/boost/compute/utility/source.hpp", - "external/sources/boost/boost/compute/utility/wait_list.hpp", - "external/sources/boost/boost/compute/version.hpp", - "external/sources/boost/boost/compute/wait_list.hpp", - "external/sources/boost/boost/concept/assert.hpp", - "external/sources/boost/boost/concept/detail/backward_compatibility.hpp", - "external/sources/boost/boost/concept/detail/borland.hpp", - "external/sources/boost/boost/concept/detail/concept_def.hpp", - "external/sources/boost/boost/concept/detail/concept_undef.hpp", - "external/sources/boost/boost/concept/detail/general.hpp", - "external/sources/boost/boost/concept/detail/has_constraints.hpp", - "external/sources/boost/boost/concept/detail/msvc.hpp", - "external/sources/boost/boost/concept/requires.hpp", - "external/sources/boost/boost/concept/usage.hpp", - "external/sources/boost/boost/concept_archetype.hpp", - "external/sources/boost/boost/concept_check.hpp", - "external/sources/boost/boost/concept_check/borland.hpp", - "external/sources/boost/boost/concept_check/general.hpp", - "external/sources/boost/boost/concept_check/has_constraints.hpp", - "external/sources/boost/boost/concept_check/msvc.hpp", - "external/sources/boost/boost/config.hpp", - "external/sources/boost/boost/config/abi/borland_prefix.hpp", - "external/sources/boost/boost/config/abi/borland_suffix.hpp", - "external/sources/boost/boost/config/abi/msvc_prefix.hpp", - "external/sources/boost/boost/config/abi/msvc_suffix.hpp", - "external/sources/boost/boost/config/abi_prefix.hpp", - "external/sources/boost/boost/config/abi_suffix.hpp", - "external/sources/boost/boost/config/auto_link.hpp", - "external/sources/boost/boost/config/compiler/borland.hpp", - "external/sources/boost/boost/config/compiler/clang.hpp", - "external/sources/boost/boost/config/compiler/codegear.hpp", - "external/sources/boost/boost/config/compiler/comeau.hpp", - "external/sources/boost/boost/config/compiler/common_edg.hpp", - "external/sources/boost/boost/config/compiler/compaq_cxx.hpp", - "external/sources/boost/boost/config/compiler/cray.hpp", - "external/sources/boost/boost/config/compiler/diab.hpp", - "external/sources/boost/boost/config/compiler/digitalmars.hpp", - "external/sources/boost/boost/config/compiler/gcc.hpp", - "external/sources/boost/boost/config/compiler/gcc_xml.hpp", - "external/sources/boost/boost/config/compiler/greenhills.hpp", - "external/sources/boost/boost/config/compiler/hp_acc.hpp", - "external/sources/boost/boost/config/compiler/intel.hpp", - "external/sources/boost/boost/config/compiler/kai.hpp", - "external/sources/boost/boost/config/compiler/metrowerks.hpp", - "external/sources/boost/boost/config/compiler/mpw.hpp", - "external/sources/boost/boost/config/compiler/nvcc.hpp", - "external/sources/boost/boost/config/compiler/pathscale.hpp", - "external/sources/boost/boost/config/compiler/pgi.hpp", - "external/sources/boost/boost/config/compiler/sgi_mipspro.hpp", - "external/sources/boost/boost/config/compiler/sunpro_cc.hpp", - "external/sources/boost/boost/config/compiler/vacpp.hpp", - "external/sources/boost/boost/config/compiler/visualc.hpp", - "external/sources/boost/boost/config/compiler/xlcpp.hpp", - "external/sources/boost/boost/config/compiler/xlcpp_zos.hpp", - "external/sources/boost/boost/config/detail/posix_features.hpp", - "external/sources/boost/boost/config/detail/select_compiler_config.hpp", - "external/sources/boost/boost/config/detail/select_platform_config.hpp", - "external/sources/boost/boost/config/detail/select_stdlib_config.hpp", - "external/sources/boost/boost/config/detail/suffix.hpp", - "external/sources/boost/boost/config/header_deprecated.hpp", - "external/sources/boost/boost/config/helper_macros.hpp", - "external/sources/boost/boost/config/no_tr1/cmath.hpp", - "external/sources/boost/boost/config/no_tr1/complex.hpp", - "external/sources/boost/boost/config/no_tr1/functional.hpp", - "external/sources/boost/boost/config/no_tr1/memory.hpp", - "external/sources/boost/boost/config/no_tr1/utility.hpp", - "external/sources/boost/boost/config/platform/aix.hpp", - "external/sources/boost/boost/config/platform/amigaos.hpp", - "external/sources/boost/boost/config/platform/beos.hpp", - "external/sources/boost/boost/config/platform/bsd.hpp", - "external/sources/boost/boost/config/platform/cloudabi.hpp", - "external/sources/boost/boost/config/platform/cray.hpp", - "external/sources/boost/boost/config/platform/cygwin.hpp", - "external/sources/boost/boost/config/platform/haiku.hpp", - "external/sources/boost/boost/config/platform/hpux.hpp", - "external/sources/boost/boost/config/platform/irix.hpp", - "external/sources/boost/boost/config/platform/linux.hpp", - "external/sources/boost/boost/config/platform/macos.hpp", - "external/sources/boost/boost/config/platform/qnxnto.hpp", - "external/sources/boost/boost/config/platform/solaris.hpp", - "external/sources/boost/boost/config/platform/symbian.hpp", - "external/sources/boost/boost/config/platform/vms.hpp", - "external/sources/boost/boost/config/platform/vxworks.hpp", - "external/sources/boost/boost/config/platform/win32.hpp", - "external/sources/boost/boost/config/platform/zos.hpp", - "external/sources/boost/boost/config/pragma_message.hpp", - "external/sources/boost/boost/config/requires_threads.hpp", - "external/sources/boost/boost/config/stdlib/dinkumware.hpp", - "external/sources/boost/boost/config/stdlib/libcomo.hpp", - "external/sources/boost/boost/config/stdlib/libcpp.hpp", - "external/sources/boost/boost/config/stdlib/libstdcpp3.hpp", - "external/sources/boost/boost/config/stdlib/modena.hpp", - "external/sources/boost/boost/config/stdlib/msl.hpp", - "external/sources/boost/boost/config/stdlib/roguewave.hpp", - "external/sources/boost/boost/config/stdlib/sgi.hpp", - "external/sources/boost/boost/config/stdlib/stlport.hpp", - "external/sources/boost/boost/config/stdlib/vacpp.hpp", - "external/sources/boost/boost/config/stdlib/xlcpp_zos.hpp", - "external/sources/boost/boost/config/user.hpp", - "external/sources/boost/boost/config/warning_disable.hpp", - "external/sources/boost/boost/config/workaround.hpp", - "external/sources/boost/boost/container/adaptive_pool.hpp", - "external/sources/boost/boost/container/allocator.hpp", - "external/sources/boost/boost/container/allocator_traits.hpp", - "external/sources/boost/boost/container/container_fwd.hpp", - "external/sources/boost/boost/container/deque.hpp", - "external/sources/boost/boost/container/detail/adaptive_node_pool.hpp", - "external/sources/boost/boost/container/detail/adaptive_node_pool_impl.hpp", - "external/sources/boost/boost/container/detail/addressof.hpp", - "external/sources/boost/boost/container/detail/advanced_insert_int.hpp", - "external/sources/boost/boost/container/detail/algorithm.hpp", - "external/sources/boost/boost/container/detail/alloc_helpers.hpp", - "external/sources/boost/boost/container/detail/alloc_lib.h", - "external/sources/boost/boost/container/detail/allocation_type.hpp", - "external/sources/boost/boost/container/detail/allocator_version_traits.hpp", - "external/sources/boost/boost/container/detail/auto_link.hpp", - "external/sources/boost/boost/container/detail/block_list.hpp", - "external/sources/boost/boost/container/detail/block_slist.hpp", - "external/sources/boost/boost/container/detail/compare_functors.hpp", - "external/sources/boost/boost/container/detail/config_begin.hpp", - "external/sources/boost/boost/container/detail/config_end.hpp", - "external/sources/boost/boost/container/detail/construct_in_place.hpp", - "external/sources/boost/boost/container/detail/container_or_allocator_rebind.hpp", - "external/sources/boost/boost/container/detail/container_rebind.hpp", - "external/sources/boost/boost/container/detail/copy_move_algo.hpp", - "external/sources/boost/boost/container/detail/destroyers.hpp", - "external/sources/boost/boost/container/detail/dispatch_uses_allocator.hpp", - "external/sources/boost/boost/container/detail/dlmalloc.hpp", - "external/sources/boost/boost/container/detail/flat_tree.hpp", - "external/sources/boost/boost/container/detail/function_detector.hpp", - "external/sources/boost/boost/container/detail/is_container.hpp", - "external/sources/boost/boost/container/detail/is_contiguous_container.hpp", - "external/sources/boost/boost/container/detail/is_sorted.hpp", - "external/sources/boost/boost/container/detail/iterator.hpp", - "external/sources/boost/boost/container/detail/iterator_to_raw_pointer.hpp", - "external/sources/boost/boost/container/detail/iterators.hpp", - "external/sources/boost/boost/container/detail/math_functions.hpp", - "external/sources/boost/boost/container/detail/min_max.hpp", - "external/sources/boost/boost/container/detail/minimal_char_traits_header.hpp", - "external/sources/boost/boost/container/detail/mpl.hpp", - "external/sources/boost/boost/container/detail/multiallocation_chain.hpp", - "external/sources/boost/boost/container/detail/mutex.hpp", - "external/sources/boost/boost/container/detail/next_capacity.hpp", - "external/sources/boost/boost/container/detail/node_alloc_holder.hpp", - "external/sources/boost/boost/container/detail/node_pool.hpp", - "external/sources/boost/boost/container/detail/node_pool_impl.hpp", - "external/sources/boost/boost/container/detail/pair.hpp", - "external/sources/boost/boost/container/detail/pair_key_mapped_of_value.hpp", - "external/sources/boost/boost/container/detail/placement_new.hpp", - "external/sources/boost/boost/container/detail/pool_common.hpp", - "external/sources/boost/boost/container/detail/pool_common_alloc.hpp", - "external/sources/boost/boost/container/detail/pool_resource.hpp", - "external/sources/boost/boost/container/detail/singleton.hpp", - "external/sources/boost/boost/container/detail/std_fwd.hpp", - "external/sources/boost/boost/container/detail/thread_mutex.hpp", - "external/sources/boost/boost/container/detail/transform_iterator.hpp", - "external/sources/boost/boost/container/detail/tree.hpp", - "external/sources/boost/boost/container/detail/type_traits.hpp", - "external/sources/boost/boost/container/detail/value_functors.hpp", - "external/sources/boost/boost/container/detail/value_init.hpp", - "external/sources/boost/boost/container/detail/variadic_templates_tools.hpp", - "external/sources/boost/boost/container/detail/version_type.hpp", - "external/sources/boost/boost/container/detail/workaround.hpp", - "external/sources/boost/boost/container/flat_map.hpp", - "external/sources/boost/boost/container/flat_set.hpp", - "external/sources/boost/boost/container/list.hpp", - "external/sources/boost/boost/container/map.hpp", - "external/sources/boost/boost/container/new_allocator.hpp", - "external/sources/boost/boost/container/node_allocator.hpp", - "external/sources/boost/boost/container/node_handle.hpp", - "external/sources/boost/boost/container/options.hpp", - "external/sources/boost/boost/container/pmr/deque.hpp", - "external/sources/boost/boost/container/pmr/flat_map.hpp", - "external/sources/boost/boost/container/pmr/flat_set.hpp", - "external/sources/boost/boost/container/pmr/global_resource.hpp", - "external/sources/boost/boost/container/pmr/list.hpp", - "external/sources/boost/boost/container/pmr/map.hpp", - "external/sources/boost/boost/container/pmr/memory_resource.hpp", - "external/sources/boost/boost/container/pmr/monotonic_buffer_resource.hpp", - "external/sources/boost/boost/container/pmr/polymorphic_allocator.hpp", - "external/sources/boost/boost/container/pmr/pool_options.hpp", - "external/sources/boost/boost/container/pmr/resource_adaptor.hpp", - "external/sources/boost/boost/container/pmr/set.hpp", - "external/sources/boost/boost/container/pmr/slist.hpp", - "external/sources/boost/boost/container/pmr/small_vector.hpp", - "external/sources/boost/boost/container/pmr/stable_vector.hpp", - "external/sources/boost/boost/container/pmr/string.hpp", - "external/sources/boost/boost/container/pmr/synchronized_pool_resource.hpp", - "external/sources/boost/boost/container/pmr/unsynchronized_pool_resource.hpp", - "external/sources/boost/boost/container/pmr/vector.hpp", - "external/sources/boost/boost/container/scoped_allocator.hpp", - "external/sources/boost/boost/container/scoped_allocator_fwd.hpp", - "external/sources/boost/boost/container/set.hpp", - "external/sources/boost/boost/container/slist.hpp", - "external/sources/boost/boost/container/small_vector.hpp", - "external/sources/boost/boost/container/stable_vector.hpp", - "external/sources/boost/boost/container/static_vector.hpp", - "external/sources/boost/boost/container/string.hpp", - "external/sources/boost/boost/container/throw_exception.hpp", - "external/sources/boost/boost/container/uses_allocator.hpp", - "external/sources/boost/boost/container/uses_allocator_fwd.hpp", - "external/sources/boost/boost/container/vector.hpp", - "external/sources/boost/boost/container_hash/detail/float_functions.hpp", - "external/sources/boost/boost/container_hash/detail/hash_float.hpp", - "external/sources/boost/boost/container_hash/detail/limits.hpp", - "external/sources/boost/boost/container_hash/extensions.hpp", - "external/sources/boost/boost/container_hash/hash.hpp", - "external/sources/boost/boost/container_hash/hash_fwd.hpp", - "external/sources/boost/boost/context/continuation.hpp", - "external/sources/boost/boost/context/continuation_fcontext.hpp", - "external/sources/boost/boost/context/continuation_ucontext.hpp", - "external/sources/boost/boost/context/continuation_winfib.hpp", - "external/sources/boost/boost/context/detail/apply.hpp", - "external/sources/boost/boost/context/detail/config.hpp", - "external/sources/boost/boost/context/detail/disable_overload.hpp", - "external/sources/boost/boost/context/detail/exception.hpp", - "external/sources/boost/boost/context/detail/exchange.hpp", - "external/sources/boost/boost/context/detail/externc.hpp", - "external/sources/boost/boost/context/detail/fcontext.hpp", - "external/sources/boost/boost/context/detail/index_sequence.hpp", - "external/sources/boost/boost/context/detail/invoke.hpp", - "external/sources/boost/boost/context/detail/prefetch.hpp", - "external/sources/boost/boost/context/detail/tuple.hpp", - "external/sources/boost/boost/context/fiber.hpp", - "external/sources/boost/boost/context/fiber_fcontext.hpp", - "external/sources/boost/boost/context/fiber_ucontext.hpp", - "external/sources/boost/boost/context/fiber_winfib.hpp", - "external/sources/boost/boost/context/fixedsize_stack.hpp", - "external/sources/boost/boost/context/flags.hpp", - "external/sources/boost/boost/context/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/context/posix/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/context/posix/segmented_stack.hpp", - "external/sources/boost/boost/context/preallocated.hpp", - "external/sources/boost/boost/context/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/context/segmented_stack.hpp", - "external/sources/boost/boost/context/stack_context.hpp", - "external/sources/boost/boost/context/stack_traits.hpp", - "external/sources/boost/boost/context/windows/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/contract.hpp", - "external/sources/boost/boost/contract/assert.hpp", - "external/sources/boost/boost/contract/base_types.hpp", - "external/sources/boost/boost/contract/call_if.hpp", - "external/sources/boost/boost/contract/check.hpp", - "external/sources/boost/boost/contract/constructor.hpp", - "external/sources/boost/boost/contract/core/access.hpp", - "external/sources/boost/boost/contract/core/check_macro.hpp", - "external/sources/boost/boost/contract/core/config.hpp", - "external/sources/boost/boost/contract/core/constructor_precondition.hpp", - "external/sources/boost/boost/contract/core/exception.hpp", - "external/sources/boost/boost/contract/core/specify.hpp", - "external/sources/boost/boost/contract/core/virtual.hpp", - "external/sources/boost/boost/contract/destructor.hpp", - "external/sources/boost/boost/contract/detail/assert.hpp", - "external/sources/boost/boost/contract/detail/auto_ptr.hpp", - "external/sources/boost/boost/contract/detail/check.hpp", - "external/sources/boost/boost/contract/detail/checking.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_base.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_inv.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_post.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_subcontracting.hpp", - "external/sources/boost/boost/contract/detail/config.hpp", - "external/sources/boost/boost/contract/detail/debug.hpp", - "external/sources/boost/boost/contract/detail/decl.hpp", - "external/sources/boost/boost/contract/detail/declspec.hpp", - "external/sources/boost/boost/contract/detail/exception.hpp", - "external/sources/boost/boost/contract/detail/inlined.hpp", - "external/sources/boost/boost/contract/detail/inlined/core/exception.hpp", - "external/sources/boost/boost/contract/detail/inlined/detail/checking.hpp", - "external/sources/boost/boost/contract/detail/inlined/old.hpp", - "external/sources/boost/boost/contract/detail/name.hpp", - "external/sources/boost/boost/contract/detail/none.hpp", - "external/sources/boost/boost/contract/detail/noop.hpp", - "external/sources/boost/boost/contract/detail/operation/constructor.hpp", - "external/sources/boost/boost/contract/detail/operation/destructor.hpp", - "external/sources/boost/boost/contract/detail/operation/function.hpp", - "external/sources/boost/boost/contract/detail/operation/public_function.hpp", - "external/sources/boost/boost/contract/detail/operation/static_public_function.hpp", - "external/sources/boost/boost/contract/detail/operator_safe_bool.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/private.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/protected.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/public.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/utility/is.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/virtual.hpp", - "external/sources/boost/boost/contract/detail/static_local_var.hpp", - "external/sources/boost/boost/contract/detail/tvariadic.hpp", - "external/sources/boost/boost/contract/detail/type_traits/member_function_types.hpp", - "external/sources/boost/boost/contract/detail/type_traits/mirror.hpp", - "external/sources/boost/boost/contract/detail/type_traits/optional.hpp", - "external/sources/boost/boost/contract/function.hpp", - "external/sources/boost/boost/contract/old.hpp", - "external/sources/boost/boost/contract/override.hpp", - "external/sources/boost/boost/contract/public_function.hpp", - "external/sources/boost/boost/contract_macro.hpp", - "external/sources/boost/boost/convert.hpp", - "external/sources/boost/boost/convert/base.hpp", - "external/sources/boost/boost/convert/detail/char.hpp", - "external/sources/boost/boost/convert/detail/config.hpp", - "external/sources/boost/boost/convert/detail/has_member.hpp", - "external/sources/boost/boost/convert/detail/is_callable.hpp", - "external/sources/boost/boost/convert/detail/is_converter.hpp", - "external/sources/boost/boost/convert/detail/is_fun.hpp", - "external/sources/boost/boost/convert/detail/is_string.hpp", - "external/sources/boost/boost/convert/detail/range.hpp", - "external/sources/boost/boost/convert/lexical_cast.hpp", - "external/sources/boost/boost/convert/parameters.hpp", - "external/sources/boost/boost/convert/printf.hpp", - "external/sources/boost/boost/convert/spirit.hpp", - "external/sources/boost/boost/convert/stream.hpp", - "external/sources/boost/boost/convert/strtol.hpp", - "external/sources/boost/boost/core/addressof.hpp", - "external/sources/boost/boost/core/alloc_construct.hpp", - "external/sources/boost/boost/core/allocator_access.hpp", - "external/sources/boost/boost/core/checked_delete.hpp", - "external/sources/boost/boost/core/default_allocator.hpp", - "external/sources/boost/boost/core/demangle.hpp", - "external/sources/boost/boost/core/empty_value.hpp", - "external/sources/boost/boost/core/enable_if.hpp", - "external/sources/boost/boost/core/exchange.hpp", - "external/sources/boost/boost/core/explicit_operator_bool.hpp", - "external/sources/boost/boost/core/first_scalar.hpp", - "external/sources/boost/boost/core/ignore_unused.hpp", - "external/sources/boost/boost/core/is_same.hpp", - "external/sources/boost/boost/core/lightweight_test.hpp", - "external/sources/boost/boost/core/lightweight_test_trait.hpp", - "external/sources/boost/boost/core/no_exceptions_support.hpp", - "external/sources/boost/boost/core/noinit_adaptor.hpp", - "external/sources/boost/boost/core/noncopyable.hpp", - "external/sources/boost/boost/core/null_deleter.hpp", - "external/sources/boost/boost/core/nvp.hpp", - "external/sources/boost/boost/core/pointer_traits.hpp", - "external/sources/boost/boost/core/quick_exit.hpp", - "external/sources/boost/boost/core/ref.hpp", - "external/sources/boost/boost/core/scoped_enum.hpp", - "external/sources/boost/boost/core/swap.hpp", - "external/sources/boost/boost/core/typeinfo.hpp", - "external/sources/boost/boost/core/uncaught_exceptions.hpp", - "external/sources/boost/boost/core/underlying_type.hpp", - "external/sources/boost/boost/core/use_default.hpp", - "external/sources/boost/boost/coroutine/all.hpp", - "external/sources/boost/boost/coroutine/asymmetric_coroutine.hpp", - "external/sources/boost/boost/coroutine/attributes.hpp", - "external/sources/boost/boost/coroutine/coroutine.hpp", - "external/sources/boost/boost/coroutine/detail/config.hpp", - "external/sources/boost/boost/coroutine/detail/coroutine_context.hpp", - "external/sources/boost/boost/coroutine/detail/data.hpp", - "external/sources/boost/boost/coroutine/detail/flags.hpp", - "external/sources/boost/boost/coroutine/detail/parameters.hpp", - "external/sources/boost/boost/coroutine/detail/preallocated.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_synthesized.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_synthesized.hpp", - "external/sources/boost/boost/coroutine/detail/setup.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_call.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_yield.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline_pull.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline_push.hpp", - "external/sources/boost/boost/coroutine/exceptions.hpp", - "external/sources/boost/boost/coroutine/flags.hpp", - "external/sources/boost/boost/coroutine/posix/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/posix/segmented_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/segmented_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/stack_allocator.hpp", - "external/sources/boost/boost/coroutine/stack_context.hpp", - "external/sources/boost/boost/coroutine/stack_traits.hpp", - "external/sources/boost/boost/coroutine/standard_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/symmetric_coroutine.hpp", - "external/sources/boost/boost/coroutine/windows/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine2/all.hpp", - "external/sources/boost/boost/coroutine2/coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/config.hpp", - "external/sources/boost/boost/coroutine2/detail/coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/create_control_block.ipp", - "external/sources/boost/boost/coroutine2/detail/decay_copy.hpp", - "external/sources/boost/boost/coroutine2/detail/disable_overload.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.ipp", - "external/sources/boost/boost/coroutine2/detail/pull_coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_coroutine.ipp", - "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.hpp", - "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.ipp", - "external/sources/boost/boost/coroutine2/detail/push_coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/push_coroutine.ipp", - "external/sources/boost/boost/coroutine2/detail/state.hpp", - "external/sources/boost/boost/coroutine2/detail/wrap.hpp", - "external/sources/boost/boost/coroutine2/fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/segmented_stack.hpp", - "external/sources/boost/boost/crc.hpp", - "external/sources/boost/boost/cregex.hpp", - "external/sources/boost/boost/cstdfloat.hpp", - "external/sources/boost/boost/cstdint.hpp", - "external/sources/boost/boost/cstdlib.hpp", - "external/sources/boost/boost/current_function.hpp", - "external/sources/boost/boost/cxx11_char_types.hpp", - "external/sources/boost/boost/date_time.hpp", - "external/sources/boost/boost/date_time/adjust_functors.hpp", - "external/sources/boost/boost/date_time/c_local_time_adjustor.hpp", - "external/sources/boost/boost/date_time/c_time.hpp", - "external/sources/boost/boost/date_time/compiler_config.hpp", - "external/sources/boost/boost/date_time/constrained_value.hpp", - "external/sources/boost/boost/date_time/date.hpp", - "external/sources/boost/boost/date_time/date_clock_device.hpp", - "external/sources/boost/boost/date_time/date_defs.hpp", - "external/sources/boost/boost/date_time/date_duration.hpp", - "external/sources/boost/boost/date_time/date_duration_types.hpp", - "external/sources/boost/boost/date_time/date_facet.hpp", - "external/sources/boost/boost/date_time/date_format_simple.hpp", - "external/sources/boost/boost/date_time/date_formatting.hpp", - "external/sources/boost/boost/date_time/date_formatting_limited.hpp", - "external/sources/boost/boost/date_time/date_formatting_locales.hpp", - "external/sources/boost/boost/date_time/date_generator_formatter.hpp", - "external/sources/boost/boost/date_time/date_generator_parser.hpp", - "external/sources/boost/boost/date_time/date_generators.hpp", - "external/sources/boost/boost/date_time/date_iterator.hpp", - "external/sources/boost/boost/date_time/date_names_put.hpp", - "external/sources/boost/boost/date_time/date_parsing.hpp", - "external/sources/boost/boost/date_time/dst_rules.hpp", - "external/sources/boost/boost/date_time/dst_transition_generators.hpp", - "external/sources/boost/boost/date_time/filetime_functions.hpp", - "external/sources/boost/boost/date_time/find_match.hpp", - "external/sources/boost/boost/date_time/format_date_parser.hpp", - "external/sources/boost/boost/date_time/gregorian/conversion.hpp", - "external/sources/boost/boost/date_time/gregorian/formatters.hpp", - "external/sources/boost/boost/date_time/gregorian/formatters_limited.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_calendar.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_date.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_day.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_day_of_year.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_duration.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_duration_types.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_facet.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_month.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_serialize.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_weekday.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_year.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_ymd.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian_io.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian_types.hpp", - "external/sources/boost/boost/date_time/gregorian/parsers.hpp", - "external/sources/boost/boost/date_time/gregorian_calendar.hpp", - "external/sources/boost/boost/date_time/gregorian_calendar.ipp", - "external/sources/boost/boost/date_time/int_adapter.hpp", - "external/sources/boost/boost/date_time/iso_format.hpp", - "external/sources/boost/boost/date_time/local_time/conversion.hpp", - "external/sources/boost/boost/date_time/local_time/custom_time_zone.hpp", - "external/sources/boost/boost/date_time/local_time/date_duration_operators.hpp", - "external/sources/boost/boost/date_time/local_time/dst_transition_day_rules.hpp", - "external/sources/boost/boost/date_time/local_time/local_date_time.hpp", - "external/sources/boost/boost/date_time/local_time/local_time.hpp", - "external/sources/boost/boost/date_time/local_time/local_time_io.hpp", - "external/sources/boost/boost/date_time/local_time/local_time_types.hpp", - "external/sources/boost/boost/date_time/local_time/posix_time_zone.hpp", - "external/sources/boost/boost/date_time/local_time/tz_database.hpp", - "external/sources/boost/boost/date_time/local_time_adjustor.hpp", - "external/sources/boost/boost/date_time/local_timezone_defs.hpp", - "external/sources/boost/boost/date_time/locale_config.hpp", - "external/sources/boost/boost/date_time/microsec_time_clock.hpp", - "external/sources/boost/boost/date_time/parse_format_base.hpp", - "external/sources/boost/boost/date_time/period.hpp", - "external/sources/boost/boost/date_time/period_formatter.hpp", - "external/sources/boost/boost/date_time/period_parser.hpp", - "external/sources/boost/boost/date_time/posix_time/conversion.hpp", - "external/sources/boost/boost/date_time/posix_time/date_duration_operators.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_config.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_duration.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_io.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_legacy_io.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_system.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_types.hpp", - "external/sources/boost/boost/date_time/posix_time/ptime.hpp", - "external/sources/boost/boost/date_time/posix_time/time_formatters.hpp", - "external/sources/boost/boost/date_time/posix_time/time_formatters_limited.hpp", - "external/sources/boost/boost/date_time/posix_time/time_parsers.hpp", - "external/sources/boost/boost/date_time/posix_time/time_period.hpp", - "external/sources/boost/boost/date_time/posix_time/time_serialize.hpp", - "external/sources/boost/boost/date_time/special_defs.hpp", - "external/sources/boost/boost/date_time/special_values_formatter.hpp", - "external/sources/boost/boost/date_time/special_values_parser.hpp", - "external/sources/boost/boost/date_time/string_convert.hpp", - "external/sources/boost/boost/date_time/string_parse_tree.hpp", - "external/sources/boost/boost/date_time/strings_from_facet.hpp", - "external/sources/boost/boost/date_time/time.hpp", - "external/sources/boost/boost/date_time/time_clock.hpp", - "external/sources/boost/boost/date_time/time_defs.hpp", - "external/sources/boost/boost/date_time/time_duration.hpp", - "external/sources/boost/boost/date_time/time_facet.hpp", - "external/sources/boost/boost/date_time/time_formatting_streams.hpp", - "external/sources/boost/boost/date_time/time_iterator.hpp", - "external/sources/boost/boost/date_time/time_parsing.hpp", - "external/sources/boost/boost/date_time/time_resolution_traits.hpp", - "external/sources/boost/boost/date_time/time_system_counted.hpp", - "external/sources/boost/boost/date_time/time_system_split.hpp", - "external/sources/boost/boost/date_time/time_zone_base.hpp", - "external/sources/boost/boost/date_time/time_zone_names.hpp", - "external/sources/boost/boost/date_time/tz_db_base.hpp", - "external/sources/boost/boost/date_time/wrapping_int.hpp", - "external/sources/boost/boost/date_time/year_month_day.hpp", - "external/sources/boost/boost/detail/algorithm.hpp", - "external/sources/boost/boost/detail/allocator_utilities.hpp", - "external/sources/boost/boost/detail/atomic_count.hpp", - "external/sources/boost/boost/detail/basic_pointerbuf.hpp", - "external/sources/boost/boost/detail/binary_search.hpp", - "external/sources/boost/boost/detail/bitmask.hpp", - "external/sources/boost/boost/detail/call_traits.hpp", - "external/sources/boost/boost/detail/catch_exceptions.hpp", - "external/sources/boost/boost/detail/compressed_pair.hpp", - "external/sources/boost/boost/detail/container_fwd.hpp", - "external/sources/boost/boost/detail/fenv.hpp", - "external/sources/boost/boost/detail/has_default_constructor.hpp", - "external/sources/boost/boost/detail/identifier.hpp", - "external/sources/boost/boost/detail/indirect_traits.hpp", - "external/sources/boost/boost/detail/interlocked.hpp", - "external/sources/boost/boost/detail/is_incrementable.hpp", - "external/sources/boost/boost/detail/is_sorted.hpp", - "external/sources/boost/boost/detail/is_xxx.hpp", - "external/sources/boost/boost/detail/iterator.hpp", - "external/sources/boost/boost/detail/lcast_precision.hpp", - "external/sources/boost/boost/detail/lightweight_main.hpp", - "external/sources/boost/boost/detail/lightweight_mutex.hpp", - "external/sources/boost/boost/detail/lightweight_test.hpp", - "external/sources/boost/boost/detail/lightweight_test_report.hpp", - "external/sources/boost/boost/detail/lightweight_thread.hpp", - "external/sources/boost/boost/detail/named_template_params.hpp", - "external/sources/boost/boost/detail/no_exceptions_support.hpp", - "external/sources/boost/boost/detail/numeric_traits.hpp", - "external/sources/boost/boost/detail/ob_compressed_pair.hpp", - "external/sources/boost/boost/detail/quick_allocator.hpp", - "external/sources/boost/boost/detail/reference_content.hpp", - "external/sources/boost/boost/detail/scoped_enum_emulation.hpp", - "external/sources/boost/boost/detail/select_type.hpp", - "external/sources/boost/boost/detail/sp_typeinfo.hpp", - "external/sources/boost/boost/detail/templated_streams.hpp", - "external/sources/boost/boost/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/detail/utf8_codecvt_facet.ipp", - "external/sources/boost/boost/detail/winapi/access_rights.hpp", - "external/sources/boost/boost/detail/winapi/apc.hpp", - "external/sources/boost/boost/detail/winapi/basic_types.hpp", - "external/sources/boost/boost/detail/winapi/bcrypt.hpp", - "external/sources/boost/boost/detail/winapi/character_code_conversion.hpp", - "external/sources/boost/boost/detail/winapi/condition_variable.hpp", - "external/sources/boost/boost/detail/winapi/config.hpp", - "external/sources/boost/boost/detail/winapi/critical_section.hpp", - "external/sources/boost/boost/detail/winapi/crypt.hpp", - "external/sources/boost/boost/detail/winapi/dbghelp.hpp", - "external/sources/boost/boost/detail/winapi/debugapi.hpp", - "external/sources/boost/boost/detail/winapi/detail/deprecated_namespace.hpp", - "external/sources/boost/boost/detail/winapi/directory_management.hpp", - "external/sources/boost/boost/detail/winapi/dll.hpp", - "external/sources/boost/boost/detail/winapi/environment.hpp", - "external/sources/boost/boost/detail/winapi/error_codes.hpp", - "external/sources/boost/boost/detail/winapi/error_handling.hpp", - "external/sources/boost/boost/detail/winapi/event.hpp", - "external/sources/boost/boost/detail/winapi/file_management.hpp", - "external/sources/boost/boost/detail/winapi/file_mapping.hpp", - "external/sources/boost/boost/detail/winapi/get_current_process.hpp", - "external/sources/boost/boost/detail/winapi/get_current_process_id.hpp", - "external/sources/boost/boost/detail/winapi/get_current_thread.hpp", - "external/sources/boost/boost/detail/winapi/get_current_thread_id.hpp", - "external/sources/boost/boost/detail/winapi/get_last_error.hpp", - "external/sources/boost/boost/detail/winapi/get_process_times.hpp", - "external/sources/boost/boost/detail/winapi/get_system_directory.hpp", - "external/sources/boost/boost/detail/winapi/get_thread_times.hpp", - "external/sources/boost/boost/detail/winapi/handle_info.hpp", - "external/sources/boost/boost/detail/winapi/handles.hpp", - "external/sources/boost/boost/detail/winapi/heap_memory.hpp", - "external/sources/boost/boost/detail/winapi/init_once.hpp", - "external/sources/boost/boost/detail/winapi/jobs.hpp", - "external/sources/boost/boost/detail/winapi/limits.hpp", - "external/sources/boost/boost/detail/winapi/local_memory.hpp", - "external/sources/boost/boost/detail/winapi/memory.hpp", - "external/sources/boost/boost/detail/winapi/mutex.hpp", - "external/sources/boost/boost/detail/winapi/overlapped.hpp", - "external/sources/boost/boost/detail/winapi/page_protection_flags.hpp", - "external/sources/boost/boost/detail/winapi/pipes.hpp", - "external/sources/boost/boost/detail/winapi/priority_class.hpp", - "external/sources/boost/boost/detail/winapi/process.hpp", - "external/sources/boost/boost/detail/winapi/security.hpp", - "external/sources/boost/boost/detail/winapi/semaphore.hpp", - "external/sources/boost/boost/detail/winapi/shell.hpp", - "external/sources/boost/boost/detail/winapi/show_window.hpp", - "external/sources/boost/boost/detail/winapi/srw_lock.hpp", - "external/sources/boost/boost/detail/winapi/stack_backtrace.hpp", - "external/sources/boost/boost/detail/winapi/synchronization.hpp", - "external/sources/boost/boost/detail/winapi/system.hpp", - "external/sources/boost/boost/detail/winapi/thread.hpp", - "external/sources/boost/boost/detail/winapi/thread_pool.hpp", - "external/sources/boost/boost/detail/winapi/time.hpp", - "external/sources/boost/boost/detail/winapi/timers.hpp", - "external/sources/boost/boost/detail/winapi/tls.hpp", - "external/sources/boost/boost/detail/winapi/wait.hpp", - "external/sources/boost/boost/detail/winapi/waitable_timer.hpp", - "external/sources/boost/boost/detail/workaround.hpp", - "external/sources/boost/boost/dll.hpp", - "external/sources/boost/boost/dll/alias.hpp", - "external/sources/boost/boost/dll/config.hpp", - "external/sources/boost/boost/dll/detail/aggressive_ptr_cast.hpp", - "external/sources/boost/boost/dll/detail/ctor_dtor.hpp", - "external/sources/boost/boost/dll/detail/demangling/demangle_symbol.hpp", - "external/sources/boost/boost/dll/detail/demangling/itanium.hpp", - "external/sources/boost/boost/dll/detail/demangling/mangled_storage_base.hpp", - "external/sources/boost/boost/dll/detail/demangling/msvc.hpp", - "external/sources/boost/boost/dll/detail/elf_info.hpp", - "external/sources/boost/boost/dll/detail/get_mem_fn_type.hpp", - "external/sources/boost/boost/dll/detail/import_mangled_helpers.hpp", - "external/sources/boost/boost/dll/detail/macho_info.hpp", - "external/sources/boost/boost/dll/detail/pe_info.hpp", - "external/sources/boost/boost/dll/detail/posix/path_from_handle.hpp", - "external/sources/boost/boost/dll/detail/posix/program_location_impl.hpp", - "external/sources/boost/boost/dll/detail/posix/shared_library_impl.hpp", - "external/sources/boost/boost/dll/detail/system_error.hpp", - "external/sources/boost/boost/dll/detail/type_info.hpp", - "external/sources/boost/boost/dll/detail/windows/path_from_handle.hpp", - "external/sources/boost/boost/dll/detail/windows/shared_library_impl.hpp", - "external/sources/boost/boost/dll/import.hpp", - "external/sources/boost/boost/dll/import_class.hpp", - "external/sources/boost/boost/dll/import_mangled.hpp", - "external/sources/boost/boost/dll/library_info.hpp", - "external/sources/boost/boost/dll/runtime_symbol_info.hpp", - "external/sources/boost/boost/dll/shared_library.hpp", - "external/sources/boost/boost/dll/shared_library_load_mode.hpp", - "external/sources/boost/boost/dll/smart_library.hpp", - "external/sources/boost/boost/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/config.hpp", - "external/sources/boost/boost/dynamic_bitset/detail/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/detail/lowest_bit.hpp", - "external/sources/boost/boost/dynamic_bitset/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/serialization.hpp", - "external/sources/boost/boost/dynamic_bitset_fwd.hpp", - "external/sources/boost/boost/enable_shared_from_this.hpp", - "external/sources/boost/boost/endian.hpp", - "external/sources/boost/boost/endian/arithmetic.hpp", - "external/sources/boost/boost/endian/buffers.hpp", - "external/sources/boost/boost/endian/conversion.hpp", - "external/sources/boost/boost/endian/detail/disable_warnings.hpp", - "external/sources/boost/boost/endian/detail/disable_warnings_pop.hpp", - "external/sources/boost/boost/endian/detail/endian_load.hpp", - "external/sources/boost/boost/endian/detail/endian_reverse.hpp", - "external/sources/boost/boost/endian/detail/endian_store.hpp", - "external/sources/boost/boost/endian/detail/integral_by_size.hpp", - "external/sources/boost/boost/endian/detail/intrinsic.hpp", - "external/sources/boost/boost/endian/detail/is_scoped_enum.hpp", - "external/sources/boost/boost/endian/detail/is_trivially_copyable.hpp", - "external/sources/boost/boost/endian/detail/order.hpp", - "external/sources/boost/boost/endian/endian.hpp", - "external/sources/boost/boost/exception/all.hpp", - "external/sources/boost/boost/exception/current_exception_cast.hpp", - "external/sources/boost/boost/exception/detail/clone_current_exception.hpp", - "external/sources/boost/boost/exception/detail/error_info_impl.hpp", - "external/sources/boost/boost/exception/detail/exception_ptr.hpp", - "external/sources/boost/boost/exception/detail/is_output_streamable.hpp", - "external/sources/boost/boost/exception/detail/object_hex_dump.hpp", - "external/sources/boost/boost/exception/detail/shared_ptr.hpp", - "external/sources/boost/boost/exception/detail/type_info.hpp", - "external/sources/boost/boost/exception/diagnostic_information.hpp", - "external/sources/boost/boost/exception/enable_current_exception.hpp", - "external/sources/boost/boost/exception/enable_error_info.hpp", - "external/sources/boost/boost/exception/errinfo_api_function.hpp", - "external/sources/boost/boost/exception/errinfo_at_line.hpp", - "external/sources/boost/boost/exception/errinfo_errno.hpp", - "external/sources/boost/boost/exception/errinfo_file_handle.hpp", - "external/sources/boost/boost/exception/errinfo_file_name.hpp", - "external/sources/boost/boost/exception/errinfo_file_open_mode.hpp", - "external/sources/boost/boost/exception/errinfo_nested_exception.hpp", - "external/sources/boost/boost/exception/errinfo_type_info_name.hpp", - "external/sources/boost/boost/exception/error_info.hpp", - "external/sources/boost/boost/exception/exception.hpp", - "external/sources/boost/boost/exception/get_error_info.hpp", - "external/sources/boost/boost/exception/info.hpp", - "external/sources/boost/boost/exception/info_tuple.hpp", - "external/sources/boost/boost/exception/to_string.hpp", - "external/sources/boost/boost/exception/to_string_stub.hpp", - "external/sources/boost/boost/exception_ptr.hpp", - "external/sources/boost/boost/fiber/algo/algorithm.hpp", - "external/sources/boost/boost/fiber/algo/round_robin.hpp", - "external/sources/boost/boost/fiber/algo/shared_work.hpp", - "external/sources/boost/boost/fiber/algo/work_stealing.hpp", - "external/sources/boost/boost/fiber/all.hpp", - "external/sources/boost/boost/fiber/barrier.hpp", - "external/sources/boost/boost/fiber/buffered_channel.hpp", - "external/sources/boost/boost/fiber/channel_op_status.hpp", - "external/sources/boost/boost/fiber/condition_variable.hpp", - "external/sources/boost/boost/fiber/context.hpp", - "external/sources/boost/boost/fiber/cuda/waitfor.hpp", - "external/sources/boost/boost/fiber/detail/config.hpp", - "external/sources/boost/boost/fiber/detail/context_spinlock_queue.hpp", - "external/sources/boost/boost/fiber/detail/context_spmc_queue.hpp", - "external/sources/boost/boost/fiber/detail/convert.hpp", - "external/sources/boost/boost/fiber/detail/cpu_relax.hpp", - "external/sources/boost/boost/fiber/detail/data.hpp", - "external/sources/boost/boost/fiber/detail/decay_copy.hpp", - "external/sources/boost/boost/fiber/detail/disable_overload.hpp", - "external/sources/boost/boost/fiber/detail/exchange.hpp", - "external/sources/boost/boost/fiber/detail/fss.hpp", - "external/sources/boost/boost/fiber/detail/futex.hpp", - "external/sources/boost/boost/fiber/detail/is_all_same.hpp", - "external/sources/boost/boost/fiber/detail/rtm.hpp", - "external/sources/boost/boost/fiber/detail/spinlock.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_rtm.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_status.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive_futex.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_futex.hpp", - "external/sources/boost/boost/fiber/detail/thread_barrier.hpp", - "external/sources/boost/boost/fiber/exceptions.hpp", - "external/sources/boost/boost/fiber/fiber.hpp", - "external/sources/boost/boost/fiber/fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/fss.hpp", - "external/sources/boost/boost/fiber/future.hpp", - "external/sources/boost/boost/fiber/future/async.hpp", - "external/sources/boost/boost/fiber/future/detail/shared_state.hpp", - "external/sources/boost/boost/fiber/future/detail/shared_state_object.hpp", - "external/sources/boost/boost/fiber/future/detail/task_base.hpp", - "external/sources/boost/boost/fiber/future/detail/task_object.hpp", - "external/sources/boost/boost/fiber/future/future.hpp", - "external/sources/boost/boost/fiber/future/future_status.hpp", - "external/sources/boost/boost/fiber/future/packaged_task.hpp", - "external/sources/boost/boost/fiber/future/promise.hpp", - "external/sources/boost/boost/fiber/hip/waitfor.hpp", - "external/sources/boost/boost/fiber/mutex.hpp", - "external/sources/boost/boost/fiber/numa/algo/work_stealing.hpp", - "external/sources/boost/boost/fiber/numa/all.hpp", - "external/sources/boost/boost/fiber/numa/pin_thread.hpp", - "external/sources/boost/boost/fiber/numa/topology.hpp", - "external/sources/boost/boost/fiber/operations.hpp", - "external/sources/boost/boost/fiber/policy.hpp", - "external/sources/boost/boost/fiber/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/properties.hpp", - "external/sources/boost/boost/fiber/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/recursive_mutex.hpp", - "external/sources/boost/boost/fiber/recursive_timed_mutex.hpp", - "external/sources/boost/boost/fiber/scheduler.hpp", - "external/sources/boost/boost/fiber/segmented_stack.hpp", - "external/sources/boost/boost/fiber/timed_mutex.hpp", - "external/sources/boost/boost/fiber/type.hpp", - "external/sources/boost/boost/fiber/unbuffered_channel.hpp", - "external/sources/boost/boost/filesystem.hpp", - "external/sources/boost/boost/filesystem/config.hpp", - "external/sources/boost/boost/filesystem/convenience.hpp", - "external/sources/boost/boost/filesystem/detail/macro_value.hpp", - "external/sources/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/filesystem/directory.hpp", - "external/sources/boost/boost/filesystem/exception.hpp", - "external/sources/boost/boost/filesystem/file_status.hpp", - "external/sources/boost/boost/filesystem/fstream.hpp", - "external/sources/boost/boost/filesystem/operations.hpp", - "external/sources/boost/boost/filesystem/path.hpp", - "external/sources/boost/boost/filesystem/path_traits.hpp", - "external/sources/boost/boost/filesystem/string_file.hpp", - "external/sources/boost/boost/flyweight.hpp", - "external/sources/boost/boost/flyweight/assoc_container_factory.hpp", - "external/sources/boost/boost/flyweight/assoc_container_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/archive_constructed.hpp", - "external/sources/boost/boost/flyweight/detail/default_value_policy.hpp", - "external/sources/boost/boost/flyweight/detail/dyn_perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/flyweight_core.hpp", - "external/sources/boost/boost/flyweight/detail/is_placeholder_expr.hpp", - "external/sources/boost/boost/flyweight/detail/nested_xxx_if_not_ph.hpp", - "external/sources/boost/boost/flyweight/detail/not_placeholder_expr.hpp", - "external/sources/boost/boost/flyweight/detail/perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/pp_perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/recursive_lw_mutex.hpp", - "external/sources/boost/boost/flyweight/detail/serialization_helper.hpp", - "external/sources/boost/boost/flyweight/detail/value_tag.hpp", - "external/sources/boost/boost/flyweight/factory_tag.hpp", - "external/sources/boost/boost/flyweight/flyweight.hpp", - "external/sources/boost/boost/flyweight/flyweight_fwd.hpp", - "external/sources/boost/boost/flyweight/hashed_factory.hpp", - "external/sources/boost/boost/flyweight/hashed_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/holder_tag.hpp", - "external/sources/boost/boost/flyweight/intermodule_holder.hpp", - "external/sources/boost/boost/flyweight/intermodule_holder_fwd.hpp", - "external/sources/boost/boost/flyweight/key_value.hpp", - "external/sources/boost/boost/flyweight/key_value_fwd.hpp", - "external/sources/boost/boost/flyweight/locking_tag.hpp", - "external/sources/boost/boost/flyweight/no_locking.hpp", - "external/sources/boost/boost/flyweight/no_locking_fwd.hpp", - "external/sources/boost/boost/flyweight/no_tracking.hpp", - "external/sources/boost/boost/flyweight/no_tracking_fwd.hpp", - "external/sources/boost/boost/flyweight/refcounted.hpp", - "external/sources/boost/boost/flyweight/refcounted_fwd.hpp", - "external/sources/boost/boost/flyweight/serialize.hpp", - "external/sources/boost/boost/flyweight/set_factory.hpp", - "external/sources/boost/boost/flyweight/set_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/simple_locking.hpp", - "external/sources/boost/boost/flyweight/simple_locking_fwd.hpp", - "external/sources/boost/boost/flyweight/static_holder.hpp", - "external/sources/boost/boost/flyweight/static_holder_fwd.hpp", - "external/sources/boost/boost/flyweight/tag.hpp", - "external/sources/boost/boost/flyweight/tracking_tag.hpp", - "external/sources/boost/boost/foreach.hpp", - "external/sources/boost/boost/foreach_fwd.hpp", - "external/sources/boost/boost/format.hpp", - "external/sources/boost/boost/format/alt_sstream.hpp", - "external/sources/boost/boost/format/alt_sstream_impl.hpp", - "external/sources/boost/boost/format/detail/compat_workarounds.hpp", - "external/sources/boost/boost/format/detail/config_macros.hpp", - "external/sources/boost/boost/format/detail/msvc_disambiguater.hpp", - "external/sources/boost/boost/format/detail/unset_macros.hpp", - "external/sources/boost/boost/format/detail/workarounds_gcc-2_95.hpp", - "external/sources/boost/boost/format/detail/workarounds_stlport.hpp", - "external/sources/boost/boost/format/exceptions.hpp", - "external/sources/boost/boost/format/feed_args.hpp", - "external/sources/boost/boost/format/format_class.hpp", - "external/sources/boost/boost/format/format_fwd.hpp", - "external/sources/boost/boost/format/format_implementation.hpp", - "external/sources/boost/boost/format/free_funcs.hpp", - "external/sources/boost/boost/format/group.hpp", - "external/sources/boost/boost/format/internals.hpp", - "external/sources/boost/boost/format/internals_fwd.hpp", - "external/sources/boost/boost/format/parsing.hpp", - "external/sources/boost/boost/function.hpp", - "external/sources/boost/boost/function/detail/function_iterate.hpp", - "external/sources/boost/boost/function/detail/gen_maybe_include.pl", - "external/sources/boost/boost/function/detail/maybe_include.hpp", - "external/sources/boost/boost/function/detail/prologue.hpp", - "external/sources/boost/boost/function/function0.hpp", - "external/sources/boost/boost/function/function1.hpp", - "external/sources/boost/boost/function/function10.hpp", - "external/sources/boost/boost/function/function2.hpp", - "external/sources/boost/boost/function/function3.hpp", - "external/sources/boost/boost/function/function4.hpp", - "external/sources/boost/boost/function/function5.hpp", - "external/sources/boost/boost/function/function6.hpp", - "external/sources/boost/boost/function/function7.hpp", - "external/sources/boost/boost/function/function8.hpp", - "external/sources/boost/boost/function/function9.hpp", - "external/sources/boost/boost/function/function_base.hpp", - "external/sources/boost/boost/function/function_fwd.hpp", - "external/sources/boost/boost/function/function_template.hpp", - "external/sources/boost/boost/function/function_typeof.hpp", - "external/sources/boost/boost/function/gen_function_N.pl", - "external/sources/boost/boost/function_equal.hpp", - "external/sources/boost/boost/function_output_iterator.hpp", - "external/sources/boost/boost/function_types/components.hpp", - "external/sources/boost/boost/function_types/config/cc_names.hpp", - "external/sources/boost/boost/function_types/config/compiler.hpp", - "external/sources/boost/boost/function_types/config/config.hpp", - "external/sources/boost/boost/function_types/detail/class_transform.hpp", - "external/sources/boost/boost/function_types/detail/classifier.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/components_as_mpl_sequence.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/cv_traits.hpp", - "external/sources/boost/boost/function_types/detail/encoding/aliases_def.hpp", - "external/sources/boost/boost/function_types/detail/encoding/aliases_undef.hpp", - "external/sources/boost/boost/function_types/detail/encoding/def.hpp", - "external/sources/boost/boost/function_types/detail/encoding/undef.hpp", - "external/sources/boost/boost/function_types/detail/pp_arity_loop.hpp", - "external/sources/boost/boost/function_types/detail/pp_cc_loop/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_cc_loop/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_loop.hpp", - "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/cc_tag.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_variate_loop/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_variate_loop/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/retag_default_cc.hpp", - "external/sources/boost/boost/function_types/detail/synthesize.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/to_sequence.hpp", - "external/sources/boost/boost/function_types/function_arity.hpp", - "external/sources/boost/boost/function_types/function_pointer.hpp", - "external/sources/boost/boost/function_types/function_reference.hpp", - "external/sources/boost/boost/function_types/function_type.hpp", - "external/sources/boost/boost/function_types/is_callable_builtin.hpp", - "external/sources/boost/boost/function_types/is_function.hpp", - "external/sources/boost/boost/function_types/is_function_pointer.hpp", - "external/sources/boost/boost/function_types/is_function_reference.hpp", - "external/sources/boost/boost/function_types/is_member_function_pointer.hpp", - "external/sources/boost/boost/function_types/is_member_object_pointer.hpp", - "external/sources/boost/boost/function_types/is_member_pointer.hpp", - "external/sources/boost/boost/function_types/is_nonmember_callable_builtin.hpp", - "external/sources/boost/boost/function_types/member_function_pointer.hpp", - "external/sources/boost/boost/function_types/member_object_pointer.hpp", - "external/sources/boost/boost/function_types/parameter_types.hpp", - "external/sources/boost/boost/function_types/property_tags.hpp", - "external/sources/boost/boost/function_types/result_type.hpp", - "external/sources/boost/boost/functional.hpp", - "external/sources/boost/boost/functional/factory.hpp", - "external/sources/boost/boost/functional/forward_adapter.hpp", - "external/sources/boost/boost/functional/hash.hpp", - "external/sources/boost/boost/functional/hash/extensions.hpp", - "external/sources/boost/boost/functional/hash/hash.hpp", - "external/sources/boost/boost/functional/hash/hash_fwd.hpp", - "external/sources/boost/boost/functional/hash_fwd.hpp", - "external/sources/boost/boost/functional/lightweight_forward_adapter.hpp", - "external/sources/boost/boost/functional/overloaded_function.hpp", - "external/sources/boost/boost/functional/overloaded_function/config.hpp", - "external/sources/boost/boost/functional/overloaded_function/detail/base.hpp", - "external/sources/boost/boost/functional/overloaded_function/detail/function_type.hpp", - "external/sources/boost/boost/functional/value_factory.hpp", - "external/sources/boost/boost/fusion/adapted.hpp", - "external/sources/boost/boost/fusion/adapted/adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_adt_named.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt_named.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_assoc_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/extension.hpp", - "external/sources/boost/boost/fusion/adapted/array.hpp", - "external/sources/boost/boost/fusion/adapted/array/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/deref_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/array/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/value_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/array_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/mpl/clear.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/mpl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/empty_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/has_key_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/mpl_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_array.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/array_size.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/std_array_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/std_pair.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/mpl/clear.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/std_tuple_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_struct_named.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_assoc_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_auto.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_assoc_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_is_tpl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/extension.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/namespace.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/proxy_type.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/algorithm.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary/copy.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary/move.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/accumulate.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/accumulate_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/for_each_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query.hpp", - "external/sources/boost/boost/fusion/algorithm/query/all.hpp", - "external/sources/boost/boost/fusion/algorithm/query/any.hpp", - "external/sources/boost/boost/fusion/algorithm/query/count.hpp", - "external/sources/boost/boost/fusion/algorithm/query/count_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/all.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/any.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/count.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/count_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_if_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query/none.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/clear.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip10.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip20.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip30.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip40.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip50.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/erase.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/erase_key.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/filter.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/filter_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/flatten.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/insert.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/insert_range.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/join.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/pop_back.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/pop_front.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/push_back.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/push_front.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/remove.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/remove_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/replace.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/replace_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/reverse.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/transform.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/zip.hpp", - "external/sources/boost/boost/fusion/container.hpp", - "external/sources/boost/boost/fusion/container/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/back_extended_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/convert.hpp", - "external/sources/boost/boost/fusion/container/deque/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/deque_iterator.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/as_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_initial_size.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/keyed_element.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/front_extended_deque.hpp", - "external/sources/boost/boost/fusion/container/generation.hpp", - "external/sources/boost/boost/fusion/container/generation/cons_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_vector_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/ignore.hpp", - "external/sources/boost/boost/fusion/container/generation/list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/make_cons.hpp", - "external/sources/boost/boost/fusion/container/generation/make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/pair_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/vector_tie.hpp", - "external/sources/boost/boost/fusion/container/list.hpp", - "external/sources/boost/boost/fusion/container/list/cons.hpp", - "external/sources/boost/boost/fusion/container/list/cons_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/cons_iterator.hpp", - "external/sources/boost/boost/fusion/container/list/convert.hpp", - "external/sources/boost/boost/fusion/container/list/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp", - "external/sources/boost/boost/fusion/container/list/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/empty_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/reverse_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/list/list.hpp", - "external/sources/boost/boost/fusion/container/list/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/nil.hpp", - "external/sources/boost/boost/fusion/container/map.hpp", - "external/sources/boost/boost/fusion/container/map/convert.hpp", - "external/sources/boost/boost/fusion/container/map/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/at_key_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/as_map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/end_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/key_of_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map10.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map20.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map30.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map40.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map50.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/map_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/map_index.hpp", - "external/sources/boost/boost/fusion/container/map/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/value_at_key_impl.hpp", - "external/sources/boost/boost/fusion/container/map/map.hpp", - "external/sources/boost/boost/fusion/container/map/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/map_iterator.hpp", - "external/sources/boost/boost/fusion/container/set.hpp", - "external/sources/boost/boost/fusion/container/set/convert.hpp", - "external/sources/boost/boost/fusion/container/set/detail/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/set/set.hpp", - "external/sources/boost/boost/fusion/container/set/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/convert.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/config.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/vector_iterator.hpp", - "external/sources/boost/boost/fusion/functional.hpp", - "external/sources/boost/boost/fusion/functional/adapter.hpp", - "external/sources/boost/boost/fusion/functional/adapter/detail/access.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused_function_object.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused_procedure.hpp", - "external/sources/boost/boost/fusion/functional/adapter/limits.hpp", - "external/sources/boost/boost/fusion/functional/adapter/unfused.hpp", - "external/sources/boost/boost/fusion/functional/adapter/unfused_typed.hpp", - "external/sources/boost/boost/fusion/functional/generation.hpp", - "external/sources/boost/boost/fusion/functional/generation/detail/gen_make_adapter.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused_function_object.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused_procedure.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_unfused.hpp", - "external/sources/boost/boost/fusion/functional/invocation.hpp", - "external/sources/boost/boost/fusion/functional/invocation/detail/that_ptr.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke_function_object.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke_procedure.hpp", - "external/sources/boost/boost/fusion/functional/invocation/limits.hpp", - "external/sources/boost/boost/fusion/include/accumulate.hpp", - "external/sources/boost/boost/fusion/include/adapt_adt.hpp", - "external/sources/boost/boost/fusion/include/adapt_adt_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_adt.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_adt_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_struct.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_struct_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_struct.hpp", - "external/sources/boost/boost/fusion/include/adapt_struct_named.hpp", - "external/sources/boost/boost/fusion/include/adapted.hpp", - "external/sources/boost/boost/fusion/include/adapter.hpp", - "external/sources/boost/boost/fusion/include/advance.hpp", - "external/sources/boost/boost/fusion/include/algorithm.hpp", - "external/sources/boost/boost/fusion/include/all.hpp", - "external/sources/boost/boost/fusion/include/any.hpp", - "external/sources/boost/boost/fusion/include/array.hpp", - "external/sources/boost/boost/fusion/include/as_deque.hpp", - "external/sources/boost/boost/fusion/include/as_list.hpp", - "external/sources/boost/boost/fusion/include/as_map.hpp", - "external/sources/boost/boost/fusion/include/as_set.hpp", - "external/sources/boost/boost/fusion/include/as_vector.hpp", - "external/sources/boost/boost/fusion/include/at.hpp", - "external/sources/boost/boost/fusion/include/at_c.hpp", - "external/sources/boost/boost/fusion/include/at_key.hpp", - "external/sources/boost/boost/fusion/include/auxiliary.hpp", - "external/sources/boost/boost/fusion/include/back.hpp", - "external/sources/boost/boost/fusion/include/begin.hpp", - "external/sources/boost/boost/fusion/include/boost_array.hpp", - "external/sources/boost/boost/fusion/include/boost_tuple.hpp", - "external/sources/boost/boost/fusion/include/category_of.hpp", - "external/sources/boost/boost/fusion/include/clear.hpp", - "external/sources/boost/boost/fusion/include/comparison.hpp", - "external/sources/boost/boost/fusion/include/cons.hpp", - "external/sources/boost/boost/fusion/include/cons_tie.hpp", - "external/sources/boost/boost/fusion/include/container.hpp", - "external/sources/boost/boost/fusion/include/convert.hpp", - "external/sources/boost/boost/fusion/include/copy.hpp", - "external/sources/boost/boost/fusion/include/count.hpp", - "external/sources/boost/boost/fusion/include/count_if.hpp", - "external/sources/boost/boost/fusion/include/deduce.hpp", - "external/sources/boost/boost/fusion/include/deduce_sequence.hpp", - "external/sources/boost/boost/fusion/include/define_assoc_struct.hpp", - "external/sources/boost/boost/fusion/include/define_struct.hpp", - "external/sources/boost/boost/fusion/include/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/include/deque.hpp", - "external/sources/boost/boost/fusion/include/deque_fwd.hpp", - "external/sources/boost/boost/fusion/include/deque_tie.hpp", - "external/sources/boost/boost/fusion/include/deref.hpp", - "external/sources/boost/boost/fusion/include/deref_data.hpp", - "external/sources/boost/boost/fusion/include/distance.hpp", - "external/sources/boost/boost/fusion/include/empty.hpp", - "external/sources/boost/boost/fusion/include/end.hpp", - "external/sources/boost/boost/fusion/include/equal_to.hpp", - "external/sources/boost/boost/fusion/include/erase.hpp", - "external/sources/boost/boost/fusion/include/erase_key.hpp", - "external/sources/boost/boost/fusion/include/filter.hpp", - "external/sources/boost/boost/fusion/include/filter_if.hpp", - "external/sources/boost/boost/fusion/include/filter_view.hpp", - "external/sources/boost/boost/fusion/include/find.hpp", - "external/sources/boost/boost/fusion/include/find_if.hpp", - "external/sources/boost/boost/fusion/include/flatten.hpp", - "external/sources/boost/boost/fusion/include/flatten_view.hpp", - "external/sources/boost/boost/fusion/include/fold.hpp", - "external/sources/boost/boost/fusion/include/for_each.hpp", - "external/sources/boost/boost/fusion/include/front.hpp", - "external/sources/boost/boost/fusion/include/functional.hpp", - "external/sources/boost/boost/fusion/include/fused.hpp", - "external/sources/boost/boost/fusion/include/fused_function_object.hpp", - "external/sources/boost/boost/fusion/include/fused_procedure.hpp", - "external/sources/boost/boost/fusion/include/generation.hpp", - "external/sources/boost/boost/fusion/include/greater.hpp", - "external/sources/boost/boost/fusion/include/greater_equal.hpp", - "external/sources/boost/boost/fusion/include/has_key.hpp", - "external/sources/boost/boost/fusion/include/hash.hpp", - "external/sources/boost/boost/fusion/include/ignore.hpp", - "external/sources/boost/boost/fusion/include/in.hpp", - "external/sources/boost/boost/fusion/include/insert.hpp", - "external/sources/boost/boost/fusion/include/insert_range.hpp", - "external/sources/boost/boost/fusion/include/intrinsic.hpp", - "external/sources/boost/boost/fusion/include/invocation.hpp", - "external/sources/boost/boost/fusion/include/invoke.hpp", - "external/sources/boost/boost/fusion/include/invoke_function_object.hpp", - "external/sources/boost/boost/fusion/include/invoke_procedure.hpp", - "external/sources/boost/boost/fusion/include/io.hpp", - "external/sources/boost/boost/fusion/include/is_iterator.hpp", - "external/sources/boost/boost/fusion/include/is_segmented.hpp", - "external/sources/boost/boost/fusion/include/is_sequence.hpp", - "external/sources/boost/boost/fusion/include/is_view.hpp", - "external/sources/boost/boost/fusion/include/iter_fold.hpp", - "external/sources/boost/boost/fusion/include/iteration.hpp", - "external/sources/boost/boost/fusion/include/iterator.hpp", - "external/sources/boost/boost/fusion/include/iterator_adapter.hpp", - "external/sources/boost/boost/fusion/include/iterator_base.hpp", - "external/sources/boost/boost/fusion/include/iterator_facade.hpp", - "external/sources/boost/boost/fusion/include/iterator_range.hpp", - "external/sources/boost/boost/fusion/include/join.hpp", - "external/sources/boost/boost/fusion/include/joint_view.hpp", - "external/sources/boost/boost/fusion/include/key_of.hpp", - "external/sources/boost/boost/fusion/include/less.hpp", - "external/sources/boost/boost/fusion/include/less_equal.hpp", - "external/sources/boost/boost/fusion/include/list.hpp", - "external/sources/boost/boost/fusion/include/list_fwd.hpp", - "external/sources/boost/boost/fusion/include/list_tie.hpp", - "external/sources/boost/boost/fusion/include/make_cons.hpp", - "external/sources/boost/boost/fusion/include/make_deque.hpp", - "external/sources/boost/boost/fusion/include/make_fused.hpp", - "external/sources/boost/boost/fusion/include/make_fused_function_object.hpp", - "external/sources/boost/boost/fusion/include/make_fused_procedure.hpp", - "external/sources/boost/boost/fusion/include/make_list.hpp", - "external/sources/boost/boost/fusion/include/make_map.hpp", - "external/sources/boost/boost/fusion/include/make_set.hpp", - "external/sources/boost/boost/fusion/include/make_tuple.hpp", - "external/sources/boost/boost/fusion/include/make_unfused.hpp", - "external/sources/boost/boost/fusion/include/make_vector.hpp", - "external/sources/boost/boost/fusion/include/map.hpp", - "external/sources/boost/boost/fusion/include/map_fwd.hpp", - "external/sources/boost/boost/fusion/include/map_tie.hpp", - "external/sources/boost/boost/fusion/include/move.hpp", - "external/sources/boost/boost/fusion/include/mpl.hpp", - "external/sources/boost/boost/fusion/include/next.hpp", - "external/sources/boost/boost/fusion/include/nil.hpp", - "external/sources/boost/boost/fusion/include/none.hpp", - "external/sources/boost/boost/fusion/include/not_equal_to.hpp", - "external/sources/boost/boost/fusion/include/nview.hpp", - "external/sources/boost/boost/fusion/include/out.hpp", - "external/sources/boost/boost/fusion/include/pair.hpp", - "external/sources/boost/boost/fusion/include/pair_tie.hpp", - "external/sources/boost/boost/fusion/include/pop_back.hpp", - "external/sources/boost/boost/fusion/include/pop_front.hpp", - "external/sources/boost/boost/fusion/include/prior.hpp", - "external/sources/boost/boost/fusion/include/proxy_type.hpp", - "external/sources/boost/boost/fusion/include/push_back.hpp", - "external/sources/boost/boost/fusion/include/push_front.hpp", - "external/sources/boost/boost/fusion/include/query.hpp", - "external/sources/boost/boost/fusion/include/remove.hpp", - "external/sources/boost/boost/fusion/include/remove_if.hpp", - "external/sources/boost/boost/fusion/include/repetitive_view.hpp", - "external/sources/boost/boost/fusion/include/replace.hpp", - "external/sources/boost/boost/fusion/include/replace_if.hpp", - "external/sources/boost/boost/fusion/include/reverse.hpp", - "external/sources/boost/boost/fusion/include/reverse_fold.hpp", - "external/sources/boost/boost/fusion/include/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/include/reverse_view.hpp", - "external/sources/boost/boost/fusion/include/segmented_fold_until.hpp", - "external/sources/boost/boost/fusion/include/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/include/segments.hpp", - "external/sources/boost/boost/fusion/include/sequence.hpp", - "external/sources/boost/boost/fusion/include/sequence_base.hpp", - "external/sources/boost/boost/fusion/include/sequence_facade.hpp", - "external/sources/boost/boost/fusion/include/set.hpp", - "external/sources/boost/boost/fusion/include/set_fwd.hpp", - "external/sources/boost/boost/fusion/include/single_view.hpp", - "external/sources/boost/boost/fusion/include/size.hpp", - "external/sources/boost/boost/fusion/include/std_array.hpp", - "external/sources/boost/boost/fusion/include/std_pair.hpp", - "external/sources/boost/boost/fusion/include/std_tuple.hpp", - "external/sources/boost/boost/fusion/include/struct.hpp", - "external/sources/boost/boost/fusion/include/support.hpp", - "external/sources/boost/boost/fusion/include/swap.hpp", - "external/sources/boost/boost/fusion/include/tag_of.hpp", - "external/sources/boost/boost/fusion/include/tag_of_fwd.hpp", - "external/sources/boost/boost/fusion/include/transform.hpp", - "external/sources/boost/boost/fusion/include/transform_view.hpp", - "external/sources/boost/boost/fusion/include/transformation.hpp", - "external/sources/boost/boost/fusion/include/tuple.hpp", - "external/sources/boost/boost/fusion/include/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/include/tuple_tie.hpp", - "external/sources/boost/boost/fusion/include/unfused.hpp", - "external/sources/boost/boost/fusion/include/unfused_typed.hpp", - "external/sources/boost/boost/fusion/include/unused.hpp", - "external/sources/boost/boost/fusion/include/value_at.hpp", - "external/sources/boost/boost/fusion/include/value_at_key.hpp", - "external/sources/boost/boost/fusion/include/value_of.hpp", - "external/sources/boost/boost/fusion/include/value_of_data.hpp", - "external/sources/boost/boost/fusion/include/vector.hpp", - "external/sources/boost/boost/fusion/include/vector10.hpp", - "external/sources/boost/boost/fusion/include/vector20.hpp", - "external/sources/boost/boost/fusion/include/vector30.hpp", - "external/sources/boost/boost/fusion/include/vector40.hpp", - "external/sources/boost/boost/fusion/include/vector50.hpp", - "external/sources/boost/boost/fusion/include/vector_fwd.hpp", - "external/sources/boost/boost/fusion/include/vector_tie.hpp", - "external/sources/boost/boost/fusion/include/view.hpp", - "external/sources/boost/boost/fusion/include/void.hpp", - "external/sources/boost/boost/fusion/include/zip.hpp", - "external/sources/boost/boost/fusion/include/zip_view.hpp", - "external/sources/boost/boost/fusion/iterator.hpp", - "external/sources/boost/boost/fusion/iterator/advance.hpp", - "external/sources/boost/boost/fusion/iterator/basic_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/deref.hpp", - "external/sources/boost/boost/fusion/iterator/deref_data.hpp", - "external/sources/boost/boost/fusion/iterator/detail/adapt_deref_traits.hpp", - "external/sources/boost/boost/fusion/iterator/detail/adapt_value_traits.hpp", - "external/sources/boost/boost/fusion/iterator/detail/advance.hpp", - "external/sources/boost/boost/fusion/iterator/detail/distance.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segment_sequence.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_equal_to.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_next_impl.hpp", - "external/sources/boost/boost/fusion/iterator/distance.hpp", - "external/sources/boost/boost/fusion/iterator/equal_to.hpp", - "external/sources/boost/boost/fusion/iterator/iterator_adapter.hpp", - "external/sources/boost/boost/fusion/iterator/iterator_facade.hpp", - "external/sources/boost/boost/fusion/iterator/key_of.hpp", - "external/sources/boost/boost/fusion/iterator/mpl.hpp", - "external/sources/boost/boost/fusion/iterator/mpl/convert_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/mpl/fusion_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/next.hpp", - "external/sources/boost/boost/fusion/iterator/prior.hpp", - "external/sources/boost/boost/fusion/iterator/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/value_of.hpp", - "external/sources/boost/boost/fusion/iterator/value_of_data.hpp", - "external/sources/boost/boost/fusion/mpl.hpp", - "external/sources/boost/boost/fusion/mpl/at.hpp", - "external/sources/boost/boost/fusion/mpl/back.hpp", - "external/sources/boost/boost/fusion/mpl/begin.hpp", - "external/sources/boost/boost/fusion/mpl/clear.hpp", - "external/sources/boost/boost/fusion/mpl/detail/clear.hpp", - "external/sources/boost/boost/fusion/mpl/empty.hpp", - "external/sources/boost/boost/fusion/mpl/end.hpp", - "external/sources/boost/boost/fusion/mpl/erase.hpp", - "external/sources/boost/boost/fusion/mpl/erase_key.hpp", - "external/sources/boost/boost/fusion/mpl/front.hpp", - "external/sources/boost/boost/fusion/mpl/has_key.hpp", - "external/sources/boost/boost/fusion/mpl/insert.hpp", - "external/sources/boost/boost/fusion/mpl/insert_range.hpp", - "external/sources/boost/boost/fusion/mpl/pop_back.hpp", - "external/sources/boost/boost/fusion/mpl/pop_front.hpp", - "external/sources/boost/boost/fusion/mpl/push_back.hpp", - "external/sources/boost/boost/fusion/mpl/push_front.hpp", - "external/sources/boost/boost/fusion/mpl/size.hpp", - "external/sources/boost/boost/fusion/sequence.hpp", - "external/sources/boost/boost/fusion/sequence/comparison.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/greater.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/greater_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/less.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/less_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/not_equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/enable_comparison.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/greater.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/greater_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/less.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/less_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/not_equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/convert.hpp", - "external/sources/boost/boost/fusion/sequence/hash.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at_c.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/back.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/begin.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_size.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/empty.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/end.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/front.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/has_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/segments.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/size.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/swap.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/value_at.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/value_at_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic_fwd.hpp", - "external/sources/boost/boost/fusion/sequence/io.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/in.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/manip.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/out.hpp", - "external/sources/boost/boost/fusion/sequence/io/in.hpp", - "external/sources/boost/boost/fusion/sequence/io/out.hpp", - "external/sources/boost/boost/fusion/sequence/sequence_facade.hpp", - "external/sources/boost/boost/fusion/support.hpp", - "external/sources/boost/boost/fusion/support/as_const.hpp", - "external/sources/boost/boost/fusion/support/category_of.hpp", - "external/sources/boost/boost/fusion/support/config.hpp", - "external/sources/boost/boost/fusion/support/deduce.hpp", - "external/sources/boost/boost/fusion/support/deduce_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/access.hpp", - "external/sources/boost/boost/fusion/support/detail/and.hpp", - "external/sources/boost/boost/fusion/support/detail/as_fusion_element.hpp", - "external/sources/boost/boost/fusion/support/detail/enabler.hpp", - "external/sources/boost/boost/fusion/support/detail/index_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_mpl_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_native_fusion_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_same_size.hpp", - "external/sources/boost/boost/fusion/support/detail/mpl_iterator_category.hpp", - "external/sources/boost/boost/fusion/support/detail/pp_round.hpp", - "external/sources/boost/boost/fusion/support/detail/segmented_fold_until_impl.hpp", - "external/sources/boost/boost/fusion/support/is_iterator.hpp", - "external/sources/boost/boost/fusion/support/is_segmented.hpp", - "external/sources/boost/boost/fusion/support/is_sequence.hpp", - "external/sources/boost/boost/fusion/support/is_view.hpp", - "external/sources/boost/boost/fusion/support/iterator_base.hpp", - "external/sources/boost/boost/fusion/support/pair.hpp", - "external/sources/boost/boost/fusion/support/segmented_fold_until.hpp", - "external/sources/boost/boost/fusion/support/sequence_base.hpp", - "external/sources/boost/boost/fusion/support/tag_of.hpp", - "external/sources/boost/boost/fusion/support/tag_of_fwd.hpp", - "external/sources/boost/boost/fusion/support/unused.hpp", - "external/sources/boost/boost/fusion/support/void.hpp", - "external/sources/boost/boost/fusion/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_expand.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_tie.hpp", - "external/sources/boost/boost/fusion/tuple/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/tuple_tie.hpp", - "external/sources/boost/boost/fusion/view.hpp", - "external/sources/boost/boost/fusion/view/detail/strictest_traversal.hpp", - "external/sources/boost/boost/fusion/view/filter_view.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/filter_view.hpp", - "external/sources/boost/boost/fusion/view/filter_view/filter_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/flatten_view.hpp", - "external/sources/boost/boost/fusion/view/flatten_view/flatten_view.hpp", - "external/sources/boost/boost/fusion/view/flatten_view/flatten_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/iterator_range.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/is_segmented_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/segments_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/iterator_range.hpp", - "external/sources/boost/boost/fusion/view/joint_view.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/nview.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/cpp03/nview_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/nview_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/nview.hpp", - "external/sources/boost/boost/fusion/view/nview/nview_iterator.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/reverse_view.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/reverse_view.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/reverse_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/single_view.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/single_view.hpp", - "external/sources/boost/boost/fusion/view/single_view/single_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/transform_view.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/zip_view.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp", - "external/sources/boost/boost/generator_iterator.hpp", - "external/sources/boost/boost/geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/append.hpp", - "external/sources/boost/boost/geometry/algorithms/area.hpp", - "external/sources/boost/boost/geometry/algorithms/assign.hpp", - "external/sources/boost/boost/geometry/algorithms/buffer.hpp", - "external/sources/boost/boost/geometry/algorithms/centroid.hpp", - "external/sources/boost/boost/geometry/algorithms/clear.hpp", - "external/sources/boost/boost/geometry/algorithms/comparable_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/convert.hpp", - "external/sources/boost/boost/geometry/algorithms/convex_hull.hpp", - "external/sources/boost/boost/geometry/algorithms/correct.hpp", - "external/sources/boost/boost/geometry/algorithms/correct_closure.hpp", - "external/sources/boost/boost/geometry/algorithms/covered_by.hpp", - "external/sources/boost/boost/geometry/algorithms/crosses.hpp", - "external/sources/boost/boost/geometry/algorithms/densify.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/as_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_box_corners.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_indexed_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_values.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/azimuth.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_policies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/line_line_intersection.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/piece_border.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_original_visitor.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_null.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_point_order.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_sum.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/centroid/translating_transformer.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/check_iterator_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/geometry_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/point_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/convert_indexed_to_indexed.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/convert_point_to_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/counting.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/course.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/covered_by/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/covered_by/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/direction_code.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_segment_or_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multipoint_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multirange_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/segment_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/backward_compatibility.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/box_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/default_strategies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/geometry_to_segment_or_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/is_comparable.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/iterator_selector.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_or_areal_to_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/multipoint_to_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/initialize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/intersects_antimeridian.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/multipoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/range_of_boxes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/transform_units.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/collect_vectors.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/indexed.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand_by_epsilon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/extreme_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/for_each_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/get_max_size.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/has_self_intersections.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/interior_iterator.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/multi.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersects/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersects/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/always_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/failure_policy.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/multipoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_complement_graph.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_print_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_validity_phase.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_duplicates.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_invalid_coordinate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_valid_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/multipolygon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/pointlike.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/polygon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/make/make.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/max_interval_gap.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_modify.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_sum.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/normalize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/not.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/num_distinct_consecutive_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlaps/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlaps/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/add_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_duplicates.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/assign_parents.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/backtrack_check_si.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/check_enrich.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/clip_linestring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_exits.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/convert_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segments.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/debug_turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/do_reverse.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow_linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_distance_measure.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_relative_order.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/less_by_segment_ratio.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/needs_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay_type.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_pointlike.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/range_in_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/ring_properties.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_as_subrange.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_identifier.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/select_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/self_turn_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/sort_by_side.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/stream_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_ring_creator.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_switch_detector.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traverse.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/visit_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/partition.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/point_is_spike_or_equal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/point_on_border.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/recalculate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/boundary_checker.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/de9im.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/follow_helpers.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/multi_point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/relate_impl.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/result.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/topology_check.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relation/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relation/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/ring_identifier.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/range_by_section.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/section_box_policies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/section_functions.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/sectionalize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/signed_size_type.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/single_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sub_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sweep.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/throw_on_empty_input.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/touches/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/touches/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/tupled_output.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/compare_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/debug_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/filter_continue_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/print_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/remove_duplicate_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/multi_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/point_in_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/within_no_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/difference.hpp", - "external/sources/boost/boost/geometry/algorithms/discrete_frechet_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/discrete_hausdorff_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/disjoint.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/disjoint.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/distance.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/envelope.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/expand.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/is_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/is_valid.hpp", - "external/sources/boost/boost/geometry/algorithms/distance.hpp", - "external/sources/boost/boost/geometry/algorithms/envelope.hpp", - "external/sources/boost/boost/geometry/algorithms/equals.hpp", - "external/sources/boost/boost/geometry/algorithms/expand.hpp", - "external/sources/boost/boost/geometry/algorithms/for_each.hpp", - "external/sources/boost/boost/geometry/algorithms/intersection.hpp", - "external/sources/boost/boost/geometry/algorithms/intersects.hpp", - "external/sources/boost/boost/geometry/algorithms/is_convex.hpp", - "external/sources/boost/boost/geometry/algorithms/is_empty.hpp", - "external/sources/boost/boost/geometry/algorithms/is_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/is_valid.hpp", - "external/sources/boost/boost/geometry/algorithms/length.hpp", - "external/sources/boost/boost/geometry/algorithms/line_interpolate.hpp", - "external/sources/boost/boost/geometry/algorithms/make.hpp", - "external/sources/boost/boost/geometry/algorithms/not_implemented.hpp", - "external/sources/boost/boost/geometry/algorithms/num_geometries.hpp", - "external/sources/boost/boost/geometry/algorithms/num_interior_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/num_points.hpp", - "external/sources/boost/boost/geometry/algorithms/num_segments.hpp", - "external/sources/boost/boost/geometry/algorithms/overlaps.hpp", - "external/sources/boost/boost/geometry/algorithms/perimeter.hpp", - "external/sources/boost/boost/geometry/algorithms/point_on_surface.hpp", - "external/sources/boost/boost/geometry/algorithms/relate.hpp", - "external/sources/boost/boost/geometry/algorithms/relation.hpp", - "external/sources/boost/boost/geometry/algorithms/remove_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/reverse.hpp", - "external/sources/boost/boost/geometry/algorithms/simplify.hpp", - "external/sources/boost/boost/geometry/algorithms/sym_difference.hpp", - "external/sources/boost/boost/geometry/algorithms/touches.hpp", - "external/sources/boost/boost/geometry/algorithms/transform.hpp", - "external/sources/boost/boost/geometry/algorithms/union.hpp", - "external/sources/boost/boost/geometry/algorithms/unique.hpp", - "external/sources/boost/boost/geometry/algorithms/validity_failure_type.hpp", - "external/sources/boost/boost/geometry/algorithms/within.hpp", - "external/sources/boost/boost/geometry/arithmetic/arithmetic.hpp", - "external/sources/boost/boost/geometry/arithmetic/cross_product.hpp", - "external/sources/boost/boost/geometry/arithmetic/determinant.hpp", - "external/sources/boost/boost/geometry/arithmetic/dot_product.hpp", - "external/sources/boost/boost/geometry/arithmetic/infinite_line_functions.hpp", - "external/sources/boost/boost/geometry/arithmetic/normalize.hpp", - "external/sources/boost/boost/geometry/core/access.hpp", - "external/sources/boost/boost/geometry/core/assert.hpp", - "external/sources/boost/boost/geometry/core/closure.hpp", - "external/sources/boost/boost/geometry/core/config.hpp", - "external/sources/boost/boost/geometry/core/coordinate_dimension.hpp", - "external/sources/boost/boost/geometry/core/coordinate_system.hpp", - "external/sources/boost/boost/geometry/core/coordinate_type.hpp", - "external/sources/boost/boost/geometry/core/cs.hpp", - "external/sources/boost/boost/geometry/core/exception.hpp", - "external/sources/boost/boost/geometry/core/exterior_ring.hpp", - "external/sources/boost/boost/geometry/core/geometry_id.hpp", - "external/sources/boost/boost/geometry/core/interior_rings.hpp", - "external/sources/boost/boost/geometry/core/interior_type.hpp", - "external/sources/boost/boost/geometry/core/is_areal.hpp", - "external/sources/boost/boost/geometry/core/mutable_range.hpp", - "external/sources/boost/boost/geometry/core/point_order.hpp", - "external/sources/boost/boost/geometry/core/point_type.hpp", - "external/sources/boost/boost/geometry/core/radian_access.hpp", - "external/sources/boost/boost/geometry/core/radius.hpp", - "external/sources/boost/boost/geometry/core/reverse_dispatch.hpp", - "external/sources/boost/boost/geometry/core/ring_type.hpp", - "external/sources/boost/boost/geometry/core/tag.hpp", - "external/sources/boost/boost/geometry/core/tag_cast.hpp", - "external/sources/boost/boost/geometry/core/tags.hpp", - "external/sources/boost/boost/geometry/core/topological_dimension.hpp", - "external/sources/boost/boost/geometry/formulas/andoyer_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/area_formulas.hpp", - "external/sources/boost/boost/geometry/formulas/authalic_radius_sqr.hpp", - "external/sources/boost/boost/geometry/formulas/differential_quantities.hpp", - "external/sources/boost/boost/geometry/formulas/eccentricity_sqr.hpp", - "external/sources/boost/boost/geometry/formulas/flattening.hpp", - "external/sources/boost/boost/geometry/formulas/geographic.hpp", - "external/sources/boost/boost/geometry/formulas/gnomonic_intersection.hpp", - "external/sources/boost/boost/geometry/formulas/gnomonic_spheroid.hpp", - "external/sources/boost/boost/geometry/formulas/interpolate_point_spherical.hpp", - "external/sources/boost/boost/geometry/formulas/karney_direct.hpp", - "external/sources/boost/boost/geometry/formulas/karney_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/mean_radius.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_direct.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_segment.hpp", - "external/sources/boost/boost/geometry/formulas/quarter_meridian.hpp", - "external/sources/boost/boost/geometry/formulas/result_direct.hpp", - "external/sources/boost/boost/geometry/formulas/result_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/sjoberg_intersection.hpp", - "external/sources/boost/boost/geometry/formulas/spherical.hpp", - "external/sources/boost/boost/geometry/formulas/thomas_direct.hpp", - "external/sources/boost/boost/geometry/formulas/thomas_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/unit_spheroid.hpp", - "external/sources/boost/boost/geometry/formulas/vertex_latitude.hpp", - "external/sources/boost/boost/geometry/formulas/vertex_longitude.hpp", - "external/sources/boost/boost/geometry/formulas/vincenty_direct.hpp", - "external/sources/boost/boost/geometry/formulas/vincenty_inverse.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_fusion.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/box.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/hole_iterator.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/holes_proxy.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/point.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring_proxy.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/adjacent_filtered.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/filtered.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/reversed.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/sliced.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/strided.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/uniqued.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_tuple.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/c_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/std_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/std_pair_as_segment.hpp", - "external/sources/boost/boost/geometry/geometries/box.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/box_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/check.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/linestring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_linestring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_point_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_polygon_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/point_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/polygon_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/ring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/segment_concept.hpp", - "external/sources/boost/boost/geometry/geometries/geometries.hpp", - "external/sources/boost/boost/geometry/geometries/helper_geometry.hpp", - "external/sources/boost/boost/geometry/geometries/infinite_line.hpp", - "external/sources/boost/boost/geometry/geometries/linestring.hpp", - "external/sources/boost/boost/geometry/geometries/multi_linestring.hpp", - "external/sources/boost/boost/geometry/geometries/multi_point.hpp", - "external/sources/boost/boost/geometry/geometries/multi_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/point.hpp", - "external/sources/boost/boost/geometry/geometries/point_xy.hpp", - "external/sources/boost/boost/geometry/geometries/point_xyz.hpp", - "external/sources/boost/boost/geometry/geometries/pointing_segment.hpp", - "external/sources/boost/boost/geometry/geometries/polygon.hpp", - "external/sources/boost/boost/geometry/geometries/register/box.hpp", - "external/sources/boost/boost/geometry/geometries/register/linestring.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_linestring.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_point.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/register/point.hpp", - "external/sources/boost/boost/geometry/geometries/register/ring.hpp", - "external/sources/boost/boost/geometry/geometries/register/segment.hpp", - "external/sources/boost/boost/geometry/geometries/ring.hpp", - "external/sources/boost/boost/geometry/geometries/segment.hpp", - "external/sources/boost/boost/geometry/geometries/variant.hpp", - "external/sources/boost/boost/geometry/geometry.hpp", - "external/sources/boost/boost/geometry/index/adaptors/query.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/bounds.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_centroid.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_far.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_near.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/content.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/diff_abs.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/intersection_content.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/is_valid.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/margin.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/minmaxdist.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/nth_element.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/path_intersection.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/segment_intersection.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/smallest_for_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/sum_for_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/union_content.hpp", - "external/sources/boost/boost/geometry/index/detail/assert.hpp", - "external/sources/boost/boost/geometry/index/detail/bounded_view.hpp", - "external/sources/boost/boost/geometry/index/detail/config_begin.hpp", - "external/sources/boost/boost/geometry/index/detail/config_end.hpp", - "external/sources/boost/boost/geometry/index/detail/distance_predicates.hpp", - "external/sources/boost/boost/geometry/index/detail/exception.hpp", - "external/sources/boost/boost/geometry/index/detail/is_bounding_geometry.hpp", - "external/sources/boost/boost/geometry/index/detail/is_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/meta.hpp", - "external/sources/boost/boost/geometry/index/detail/predicates.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/adaptors.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/iterators.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/kmeans.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/split.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/linear/linear.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/linear/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/concept.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/node.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/node_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/pairs.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/scoped_deallocator.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/subtree_destroyer.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_dynamic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_static.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_visitor.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_static.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_visitor.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/options.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/pack_create.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/quadratic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/query_iterators.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/insert.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/rstar.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_boxes_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_counts_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_levels_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/print.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/statistics.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/view.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/children_box.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/copy.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/count.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/destroy.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/distance_query.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/insert.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/iterator.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/remove.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp", - "external/sources/boost/boost/geometry/index/detail/serialization.hpp", - "external/sources/boost/boost/geometry/index/detail/tags.hpp", - "external/sources/boost/boost/geometry/index/detail/translator.hpp", - "external/sources/boost/boost/geometry/index/detail/utilities.hpp", - "external/sources/boost/boost/geometry/index/detail/varray.hpp", - "external/sources/boost/boost/geometry/index/detail/varray_detail.hpp", - "external/sources/boost/boost/geometry/index/distance_predicates.hpp", - "external/sources/boost/boost/geometry/index/equal_to.hpp", - "external/sources/boost/boost/geometry/index/indexable.hpp", - "external/sources/boost/boost/geometry/index/inserter.hpp", - "external/sources/boost/boost/geometry/index/parameters.hpp", - "external/sources/boost/boost/geometry/index/predicates.hpp", - "external/sources/boost/boost/geometry/index/rtree.hpp", - "external/sources/boost/boost/geometry/io/dsv/write.hpp", - "external/sources/boost/boost/geometry/io/io.hpp", - "external/sources/boost/boost/geometry/io/svg/svg_mapper.hpp", - "external/sources/boost/boost/geometry/io/svg/write.hpp", - "external/sources/boost/boost/geometry/io/svg/write_svg.hpp", - "external/sources/boost/boost/geometry/io/svg/write_svg_multi.hpp", - "external/sources/boost/boost/geometry/io/wkt/detail/prefix.hpp", - "external/sources/boost/boost/geometry/io/wkt/detail/wkt_multi.hpp", - "external/sources/boost/boost/geometry/io/wkt/read.hpp", - "external/sources/boost/boost/geometry/io/wkt/stream.hpp", - "external/sources/boost/boost/geometry/io/wkt/wkt.hpp", - "external/sources/boost/boost/geometry/io/wkt/write.hpp", - "external/sources/boost/boost/geometry/iterators/base.hpp", - "external/sources/boost/boost/geometry/iterators/closing_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/concatenate_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/inner_range_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/iterator_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/value_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/iterator_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/range_segment_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/value_type.hpp", - "external/sources/boost/boost/geometry/iterators/dispatch/point_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/dispatch/segment_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/ever_circling_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/flatten_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/has_one_element.hpp", - "external/sources/boost/boost/geometry/iterators/point_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/point_reverse_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/segment_iterator.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/append.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/area.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/centroid.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/clear.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/convert.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/correct.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/covered_by.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/extreme_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/for_each_range.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/modify.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/multi_sum.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segment_point.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segments.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_ring.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_turns.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/self_turn_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/point_on_border.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/range_by_section.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/sectionalize.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/disjoint.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/distance.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/envelope.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/equals.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/for_each.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/intersection.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/length.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_geometries.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_interior_rings.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/perimeter.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/remove_spikes.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/reverse.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/simplify.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/transform.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/unique.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/within.hpp", - "external/sources/boost/boost/geometry/multi/core/closure.hpp", - "external/sources/boost/boost/geometry/multi/core/geometry_id.hpp", - "external/sources/boost/boost/geometry/multi/core/interior_rings.hpp", - "external/sources/boost/boost/geometry/multi/core/is_areal.hpp", - "external/sources/boost/boost/geometry/multi/core/point_order.hpp", - "external/sources/boost/boost/geometry/multi/core/point_type.hpp", - "external/sources/boost/boost/geometry/multi/core/ring_type.hpp", - "external/sources/boost/boost/geometry/multi/core/tags.hpp", - "external/sources/boost/boost/geometry/multi/core/topological_dimension.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/check.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_point_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_polygon_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_geometries.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_linestring.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_point.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_polygon.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_linestring.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_point.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_polygon.hpp", - "external/sources/boost/boost/geometry/multi/io/dsv/write.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/detail/prefix.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/read.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/wkt.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/write.hpp", - "external/sources/boost/boost/geometry/multi/multi.hpp", - "external/sources/boost/boost/geometry/multi/strategies/cartesian/centroid_average.hpp", - "external/sources/boost/boost/geometry/multi/views/detail/range_type.hpp", - "external/sources/boost/boost/geometry/policies/compare.hpp", - "external/sources/boost/boost/geometry/policies/disjoint_interrupt_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/default_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/failing_reason_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/failure_type_policy.hpp", - "external/sources/boost/boost/geometry/policies/predicate_based_interrupt_policy.hpp", - "external/sources/boost/boost/geometry/policies/relate/direction.hpp", - "external/sources/boost/boost/geometry/policies/relate/intersection_points.hpp", - "external/sources/boost/boost/geometry/policies/relate/intersection_ratios.hpp", - "external/sources/boost/boost/geometry/policies/relate/tupled.hpp", - "external/sources/boost/boost/geometry/policies/robustness/get_rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/no_rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp", - "external/sources/boost/boost/geometry/policies/robustness/robust_point_type.hpp", - "external/sources/boost/boost/geometry/policies/robustness/robust_type.hpp", - "external/sources/boost/boost/geometry/policies/robustness/segment_ratio.hpp", - "external/sources/boost/boost/geometry/policies/robustness/segment_ratio_type.hpp", - "external/sources/boost/boost/geometry/srs/epsg.hpp", - "external/sources/boost/boost/geometry/srs/esri.hpp", - "external/sources/boost/boost/geometry/srs/iau2000.hpp", - "external/sources/boost/boost/geometry/srs/projection.hpp", - "external/sources/boost/boost/geometry/srs/projections/code.hpp", - "external/sources/boost/boost/geometry/srs/projections/constants.hpp", - "external/sources/boost/boost/geometry/srs/projections/dpar.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/exception.hpp", - "external/sources/boost/boost/geometry/srs/projections/factory.hpp", - "external/sources/boost/boost/geometry/srs/projections/grids.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/aasincos.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/adjlon.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/base_dynamic.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/base_static.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/dms_parser.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/factory_entry.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/function_overloads.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/geocent.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_apply_gridshift.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_auth.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_datum_set.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_datums.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_ell_set.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_ellps.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_fwd.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gauss.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridinfo.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridlist.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_init.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_inv.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_mlfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_msfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_param.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_phi2.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_qsfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_strerrno.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_transform.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_tsfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_units.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_zpoly1.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/proj_mdist.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/projects.hpp", - "external/sources/boost/boost/geometry/srs/projections/invalid_point.hpp", - "external/sources/boost/boost/geometry/srs/projections/par_data.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aeqd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/airy.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aitoff.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/august.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bacon.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bipc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/boggs.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bonne.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cass.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/chamb.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/collg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/crast.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/denoy.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck1.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck4.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eqc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eqdc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/etmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/fahey.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/fouc_s.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gall.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/geocent.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/geos.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gins8.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gn_sinu.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gnom.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/goode.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gstmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/hammer.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/hatano.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/healpix.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/igh.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/imw_p.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/isea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/krovak.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/labrd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/laea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lagrng.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/larr.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lask.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/latlong.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lcc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lcca.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/loxim.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lsat.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbt_fps.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpp.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpq.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/merc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mill.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mod_ster.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/moll.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/natearth.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nell.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nell_h.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nocol.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nsper.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nzmg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ob_tran.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ocea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/oea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/omerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ortho.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/poly.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp4p.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp6.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/qsc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/robin.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/rouss.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/rpoly.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sconics.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/somerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/stere.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sterea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sts.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tcc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tcea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tpeqd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/urm5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/urmfps.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg4.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag7.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wink1.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wink2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj4.hpp", - "external/sources/boost/boost/geometry/srs/projections/spar.hpp", - "external/sources/boost/boost/geometry/srs/projections/srid_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/str_cast.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids_boost.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids_std.hpp", - "external/sources/boost/boost/geometry/srs/sphere.hpp", - "external/sources/boost/boost/geometry/srs/spheroid.hpp", - "external/sources/boost/boost/geometry/srs/srs.hpp", - "external/sources/boost/boost/geometry/srs/transformation.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/hull_graham_andrew.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_box_by_side.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_oriented_winding.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp", - "external/sources/boost/boost/geometry/strategies/area.hpp", - "external/sources/boost/boost/geometry/strategies/area_result.hpp", - "external/sources/boost/boost/geometry/strategies/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/buffer.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/area.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/area_surveyor.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/box_in_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_flat.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_round.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_miter.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round_by_divide.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_circle.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_square.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_side_straight.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_average.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/densify.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point_ax.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_multipoint.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/index.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/io.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_franklin.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/side_by_triangle.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/turn_in_ring_winding.hpp", - "external/sources/boost/boost/geometry/strategies/centroid.hpp", - "external/sources/boost/boost/geometry/strategies/comparable_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/compare.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/area_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/centroid_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/convex_hull_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/distance_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/segment_intersect_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/simplify_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/within_concept.hpp", - "external/sources/boost/boost/geometry/strategies/convex_hull.hpp", - "external/sources/boost/boost/geometry/strategies/covered_by.hpp", - "external/sources/boost/boost/geometry/strategies/default_area_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_comparable_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_length_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_strategy.hpp", - "external/sources/boost/boost/geometry/strategies/densify.hpp", - "external/sources/boost/boost/geometry/strategies/disjoint.hpp", - "external/sources/boost/boost/geometry/strategies/distance.hpp", - "external/sources/boost/boost/geometry/strategies/distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/expand.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/area.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/buffer_point_circle.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/densify.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_andoyer.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_karney.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_thomas.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_vincenty.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/index.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/intersection_elliptic.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/io.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/mapping_ssf.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/parameters.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_andoyer.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_thomas.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_vincenty.hpp", - "external/sources/boost/boost/geometry/strategies/index.hpp", - "external/sources/boost/boost/geometry/strategies/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/intersection_result.hpp", - "external/sources/boost/boost/geometry/strategies/intersection_strategies.hpp", - "external/sources/boost/boost/geometry/strategies/io.hpp", - "external/sources/boost/boost/geometry/strategies/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/normalize.hpp", - "external/sources/boost/boost/geometry/strategies/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/relate.hpp", - "external/sources/boost/boost/geometry/strategies/side.hpp", - "external/sources/boost/boost/geometry/strategies/side_info.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/area.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/compare.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/densify.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/disjoint_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_haversine.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_multipoint.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/get_radius.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/index.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/io.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/side_by_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/ssf.hpp", - "external/sources/boost/boost/geometry/strategies/strategies.hpp", - "external/sources/boost/boost/geometry/strategies/strategy_transform.hpp", - "external/sources/boost/boost/geometry/strategies/tags.hpp", - "external/sources/boost/boost/geometry/strategies/transform.hpp", - "external/sources/boost/boost/geometry/strategies/transform/inverse_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/transform/map_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/transform/matrix_transformers.hpp", - "external/sources/boost/boost/geometry/strategies/transform/srs_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/within.hpp", - "external/sources/boost/boost/geometry/util/add_const_if_c.hpp", - "external/sources/boost/boost/geometry/util/bare_type.hpp", - "external/sources/boost/boost/geometry/util/calculation_type.hpp", - "external/sources/boost/boost/geometry/util/closure_as_bool.hpp", - "external/sources/boost/boost/geometry/util/combine_if.hpp", - "external/sources/boost/boost/geometry/util/compress_variant.hpp", - "external/sources/boost/boost/geometry/util/condition.hpp", - "external/sources/boost/boost/geometry/util/coordinate_cast.hpp", - "external/sources/boost/boost/geometry/util/for_each_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_infinite_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_nan_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_non_finite_coordinate.hpp", - "external/sources/boost/boost/geometry/util/is_inverse_spheroidal_coordinates.hpp", - "external/sources/boost/boost/geometry/util/math.hpp", - "external/sources/boost/boost/geometry/util/normalize_spheroidal_box_coordinates.hpp", - "external/sources/boost/boost/geometry/util/normalize_spheroidal_coordinates.hpp", - "external/sources/boost/boost/geometry/util/order_as_direction.hpp", - "external/sources/boost/boost/geometry/util/parameter_type_of.hpp", - "external/sources/boost/boost/geometry/util/promote_floating_point.hpp", - "external/sources/boost/boost/geometry/util/promote_integral.hpp", - "external/sources/boost/boost/geometry/util/range.hpp", - "external/sources/boost/boost/geometry/util/rational.hpp", - "external/sources/boost/boost/geometry/util/readme.txt", - "external/sources/boost/boost/geometry/util/select_calculation_type.hpp", - "external/sources/boost/boost/geometry/util/select_coordinate_type.hpp", - "external/sources/boost/boost/geometry/util/select_most_precise.hpp", - "external/sources/boost/boost/geometry/util/select_sequence_element.hpp", - "external/sources/boost/boost/geometry/util/series_expansion.hpp", - "external/sources/boost/boost/geometry/util/transform_variant.hpp", - "external/sources/boost/boost/geometry/util/tuples.hpp", - "external/sources/boost/boost/geometry/views/box_view.hpp", - "external/sources/boost/boost/geometry/views/closeable_view.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view/implementation.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view/interface.hpp", - "external/sources/boost/boost/geometry/views/detail/indexed_point_view.hpp", - "external/sources/boost/boost/geometry/views/detail/normalized_view.hpp", - "external/sources/boost/boost/geometry/views/detail/points_view.hpp", - "external/sources/boost/boost/geometry/views/detail/range_type.hpp", - "external/sources/boost/boost/geometry/views/detail/two_dimensional_view.hpp", - "external/sources/boost/boost/geometry/views/identity_view.hpp", - "external/sources/boost/boost/geometry/views/reversible_view.hpp", - "external/sources/boost/boost/geometry/views/segment_view.hpp", - "external/sources/boost/boost/get_pointer.hpp", - "external/sources/boost/boost/gil.hpp", - "external/sources/boost/boost/gil/algorithm.hpp", - "external/sources/boost/boost/gil/bit_aligned_pixel_iterator.hpp", - "external/sources/boost/boost/gil/bit_aligned_pixel_reference.hpp", - "external/sources/boost/boost/gil/channel.hpp", - "external/sources/boost/boost/gil/channel_algorithm.hpp", - "external/sources/boost/boost/gil/cmyk.hpp", - "external/sources/boost/boost/gil/color_base.hpp", - "external/sources/boost/boost/gil/color_base_algorithm.hpp", - "external/sources/boost/boost/gil/color_convert.hpp", - "external/sources/boost/boost/gil/concepts.hpp", - "external/sources/boost/boost/gil/concepts/basic.hpp", - "external/sources/boost/boost/gil/concepts/channel.hpp", - "external/sources/boost/boost/gil/concepts/color.hpp", - "external/sources/boost/boost/gil/concepts/color_base.hpp", - "external/sources/boost/boost/gil/concepts/concept_check.hpp", - "external/sources/boost/boost/gil/concepts/detail/type_traits.hpp", - "external/sources/boost/boost/gil/concepts/detail/utility.hpp", - "external/sources/boost/boost/gil/concepts/dynamic_step.hpp", - "external/sources/boost/boost/gil/concepts/fwd.hpp", - "external/sources/boost/boost/gil/concepts/image.hpp", - "external/sources/boost/boost/gil/concepts/image_view.hpp", - "external/sources/boost/boost/gil/concepts/pixel.hpp", - "external/sources/boost/boost/gil/concepts/pixel_based.hpp", - "external/sources/boost/boost/gil/concepts/pixel_dereference.hpp", - "external/sources/boost/boost/gil/concepts/pixel_iterator.hpp", - "external/sources/boost/boost/gil/concepts/pixel_locator.hpp", - "external/sources/boost/boost/gil/concepts/point.hpp", - "external/sources/boost/boost/gil/deprecated.hpp", - "external/sources/boost/boost/gil/detail/is_channel_integral.hpp", - "external/sources/boost/boost/gil/detail/math.hpp", - "external/sources/boost/boost/gil/detail/mp11.hpp", - "external/sources/boost/boost/gil/detail/std_common_type.hpp", - "external/sources/boost/boost/gil/detail/type_traits.hpp", - "external/sources/boost/boost/gil/device_n.hpp", - "external/sources/boost/boost/gil/dynamic_step.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/algorithm.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/any_image.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/any_image_view.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/apply_operation.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_at_c.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_image_all.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/image_view_factory.hpp", - "external/sources/boost/boost/gil/extension/io/bmp.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/old.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/tags.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/write.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/base.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/old.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/tags.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/write.hpp", - "external/sources/boost/boost/gil/extension/io/png.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/base.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/png/old.hpp", - "external/sources/boost/boost/gil/extension/io/png/read.hpp", - "external/sources/boost/boost/gil/extension/io/png/tags.hpp", - "external/sources/boost/boost/gil/extension/io/png/write.hpp", - "external/sources/boost/boost/gil/extension/io/pnm.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/old.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/tags.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/write.hpp", - "external/sources/boost/boost/gil/extension/io/raw.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/device.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/raw/read.hpp", - "external/sources/boost/boost/gil/extension/io/raw/tags.hpp", - "external/sources/boost/boost/gil/extension/io/targa.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/targa/old.hpp", - "external/sources/boost/boost/gil/extension/io/targa/read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/tags.hpp", - "external/sources/boost/boost/gil/extension/io/targa/write.hpp", - "external/sources/boost/boost/gil/extension/io/tiff.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/device.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/log.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/old.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/tags.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/write.hpp", - "external/sources/boost/boost/gil/extension/numeric/affine.hpp", - "external/sources/boost/boost/gil/extension/numeric/algorithm.hpp", - "external/sources/boost/boost/gil/extension/numeric/channel_numeric_operations.hpp", - "external/sources/boost/boost/gil/extension/numeric/convolve.hpp", - "external/sources/boost/boost/gil/extension/numeric/kernel.hpp", - "external/sources/boost/boost/gil/extension/numeric/pixel_numeric_operations.hpp", - "external/sources/boost/boost/gil/extension/numeric/resample.hpp", - "external/sources/boost/boost/gil/extension/numeric/sampler.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters/rgb_to_luminance.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/cmyka.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsl.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsv.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/lab.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/xyz.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/ycbcr.hpp", - "external/sources/boost/boost/gil/extension/toolbox/dynamic_images.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types/indexed_image.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types/subchroma_image.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_type.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_view.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_num_bits.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_pixel_type.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_bit_aligned.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_homogeneous.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_similar.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/pixel_bit_size.hpp", - "external/sources/boost/boost/gil/extension/toolbox/toolbox.hpp", - "external/sources/boost/boost/gil/gray.hpp", - "external/sources/boost/boost/gil/image.hpp", - "external/sources/boost/boost/gil/image_processing/filter.hpp", - "external/sources/boost/boost/gil/image_processing/harris.hpp", - "external/sources/boost/boost/gil/image_processing/hessian.hpp", - "external/sources/boost/boost/gil/image_processing/numeric.hpp", - "external/sources/boost/boost/gil/image_processing/scaling.hpp", - "external/sources/boost/boost/gil/image_processing/threshold.hpp", - "external/sources/boost/boost/gil/image_view.hpp", - "external/sources/boost/boost/gil/image_view_factory.hpp", - "external/sources/boost/boost/gil/io/base.hpp", - "external/sources/boost/boost/gil/io/bit_operations.hpp", - "external/sources/boost/boost/gil/io/conversion_policies.hpp", - "external/sources/boost/boost/gil/io/device.hpp", - "external/sources/boost/boost/gil/io/dynamic_io_new.hpp", - "external/sources/boost/boost/gil/io/error.hpp", - "external/sources/boost/boost/gil/io/get_read_device.hpp", - "external/sources/boost/boost/gil/io/get_reader.hpp", - "external/sources/boost/boost/gil/io/get_write_device.hpp", - "external/sources/boost/boost/gil/io/get_writer.hpp", - "external/sources/boost/boost/gil/io/io.hpp", - "external/sources/boost/boost/gil/io/make_backend.hpp", - "external/sources/boost/boost/gil/io/make_dynamic_image_reader.hpp", - "external/sources/boost/boost/gil/io/make_dynamic_image_writer.hpp", - "external/sources/boost/boost/gil/io/make_reader.hpp", - "external/sources/boost/boost/gil/io/make_scanline_reader.hpp", - "external/sources/boost/boost/gil/io/make_writer.hpp", - "external/sources/boost/boost/gil/io/path_spec.hpp", - "external/sources/boost/boost/gil/io/read_and_convert_image.hpp", - "external/sources/boost/boost/gil/io/read_and_convert_view.hpp", - "external/sources/boost/boost/gil/io/read_image.hpp", - "external/sources/boost/boost/gil/io/read_image_info.hpp", - "external/sources/boost/boost/gil/io/read_view.hpp", - "external/sources/boost/boost/gil/io/reader_base.hpp", - "external/sources/boost/boost/gil/io/row_buffer_helper.hpp", - "external/sources/boost/boost/gil/io/scanline_read_iterator.hpp", - "external/sources/boost/boost/gil/io/typedefs.hpp", - "external/sources/boost/boost/gil/io/write_view.hpp", - "external/sources/boost/boost/gil/iterator_from_2d.hpp", - "external/sources/boost/boost/gil/locator.hpp", - "external/sources/boost/boost/gil/metafunctions.hpp", - "external/sources/boost/boost/gil/packed_pixel.hpp", - "external/sources/boost/boost/gil/pixel.hpp", - "external/sources/boost/boost/gil/pixel_iterator.hpp", - "external/sources/boost/boost/gil/pixel_iterator_adaptor.hpp", - "external/sources/boost/boost/gil/planar_pixel_iterator.hpp", - "external/sources/boost/boost/gil/planar_pixel_reference.hpp", - "external/sources/boost/boost/gil/point.hpp", - "external/sources/boost/boost/gil/position_iterator.hpp", - "external/sources/boost/boost/gil/premultiply.hpp", - "external/sources/boost/boost/gil/promote_integral.hpp", - "external/sources/boost/boost/gil/rgb.hpp", - "external/sources/boost/boost/gil/rgba.hpp", - "external/sources/boost/boost/gil/step_iterator.hpp", - "external/sources/boost/boost/gil/typedefs.hpp", - "external/sources/boost/boost/gil/utilities.hpp", - "external/sources/boost/boost/gil/virtual_locator.hpp", - "external/sources/boost/boost/graph/accounting.hpp", - "external/sources/boost/boost/graph/adj_list_serialize.hpp", - "external/sources/boost/boost/graph/adjacency_iterator.hpp", - "external/sources/boost/boost/graph/adjacency_list.hpp", - "external/sources/boost/boost/graph/adjacency_list_io.hpp", - "external/sources/boost/boost/graph/adjacency_matrix.hpp", - "external/sources/boost/boost/graph/astar_search.hpp", - "external/sources/boost/boost/graph/bandwidth.hpp", - "external/sources/boost/boost/graph/bc_clustering.hpp", - "external/sources/boost/boost/graph/bellman_ford_shortest_paths.hpp", - "external/sources/boost/boost/graph/betweenness_centrality.hpp", - "external/sources/boost/boost/graph/biconnected_components.hpp", - "external/sources/boost/boost/graph/bipartite.hpp", - "external/sources/boost/boost/graph/boyer_myrvold_planar_test.hpp", - "external/sources/boost/boost/graph/boykov_kolmogorov_max_flow.hpp", - "external/sources/boost/boost/graph/breadth_first_search.hpp", - "external/sources/boost/boost/graph/bron_kerbosch_all_cliques.hpp", - "external/sources/boost/boost/graph/buffer_concepts.hpp", - "external/sources/boost/boost/graph/chrobak_payne_drawing.hpp", - "external/sources/boost/boost/graph/circle_layout.hpp", - "external/sources/boost/boost/graph/closeness_centrality.hpp", - "external/sources/boost/boost/graph/clustering_coefficient.hpp", - "external/sources/boost/boost/graph/compressed_sparse_row_graph.hpp", - "external/sources/boost/boost/graph/connected_components.hpp", - "external/sources/boost/boost/graph/copy.hpp", - "external/sources/boost/boost/graph/core_numbers.hpp", - "external/sources/boost/boost/graph/create_condensation_graph.hpp", - "external/sources/boost/boost/graph/cuthill_mckee_ordering.hpp", - "external/sources/boost/boost/graph/cycle_canceling.hpp", - "external/sources/boost/boost/graph/dag_shortest_paths.hpp", - "external/sources/boost/boost/graph/degree_centrality.hpp", - "external/sources/boost/boost/graph/depth_first_search.hpp", - "external/sources/boost/boost/graph/detail/adj_list_edge_iterator.hpp", - "external/sources/boost/boost/graph/detail/adjacency_list.hpp", - "external/sources/boost/boost/graph/detail/array_binary_tree.hpp", - "external/sources/boost/boost/graph/detail/augment.hpp", - "external/sources/boost/boost/graph/detail/compressed_sparse_row_struct.hpp", - "external/sources/boost/boost/graph/detail/connected_components.hpp", - "external/sources/boost/boost/graph/detail/d_ary_heap.hpp", - "external/sources/boost/boost/graph/detail/edge.hpp", - "external/sources/boost/boost/graph/detail/empty_header.hpp", - "external/sources/boost/boost/graph/detail/geodesic.hpp", - "external/sources/boost/boost/graph/detail/histogram_sort.hpp", - "external/sources/boost/boost/graph/detail/incidence_iterator.hpp", - "external/sources/boost/boost/graph/detail/incremental_components.hpp", - "external/sources/boost/boost/graph/detail/index.hpp", - "external/sources/boost/boost/graph/detail/indexed_properties.hpp", - "external/sources/boost/boost/graph/detail/is_distributed_selector.hpp", - "external/sources/boost/boost/graph/detail/labeled_graph_traits.hpp", - "external/sources/boost/boost/graph/detail/list_base.hpp", - "external/sources/boost/boost/graph/detail/mpi_include.hpp", - "external/sources/boost/boost/graph/detail/permutation.hpp", - "external/sources/boost/boost/graph/detail/read_graphviz_new.hpp", - "external/sources/boost/boost/graph/detail/read_graphviz_spirit.hpp", - "external/sources/boost/boost/graph/detail/self_avoiding_walk.hpp", - "external/sources/boost/boost/graph/detail/set_adaptor.hpp", - "external/sources/boost/boost/graph/detail/shadow_iterator.hpp", - "external/sources/boost/boost/graph/detail/sparse_ordering.hpp", - "external/sources/boost/boost/graph/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/dijkstra_shortest_paths_no_color_map.hpp", - "external/sources/boost/boost/graph/dimacs.hpp", - "external/sources/boost/boost/graph/directed_graph.hpp", - "external/sources/boost/boost/graph/distributed/adjacency_list.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/handlers.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/initialize.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/redistribute.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/serialization.hpp", - "external/sources/boost/boost/graph/distributed/betweenness_centrality.hpp", - "external/sources/boost/boost/graph/distributed/boman_et_al_graph_coloring.hpp", - "external/sources/boost/boost/graph/distributed/breadth_first_search.hpp", - "external/sources/boost/boost/graph/distributed/compressed_sparse_row_graph.hpp", - "external/sources/boost/boost/graph/distributed/concepts.hpp", - "external/sources/boost/boost/graph/distributed/connected_components.hpp", - "external/sources/boost/boost/graph/distributed/connected_components_parallel_search.hpp", - "external/sources/boost/boost/graph/distributed/crauser_et_al_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp", - "external/sources/boost/boost/graph/distributed/delta_stepping_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/depth_first_search.hpp", - "external/sources/boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/detail/filtered_queue.hpp", - "external/sources/boost/boost/graph/distributed/detail/mpi_process_group.ipp", - "external/sources/boost/boost/graph/distributed/detail/queue.ipp", - "external/sources/boost/boost/graph/distributed/detail/remote_update_set.hpp", - "external/sources/boost/boost/graph/distributed/detail/tag_allocator.hpp", - "external/sources/boost/boost/graph/distributed/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/distributed_graph_utility.hpp", - "external/sources/boost/boost/graph/distributed/eager_dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/filtered_graph.hpp", - "external/sources/boost/boost/graph/distributed/fruchterman_reingold.hpp", - "external/sources/boost/boost/graph/distributed/graphviz.hpp", - "external/sources/boost/boost/graph/distributed/hohberg_biconnected_components.hpp", - "external/sources/boost/boost/graph/distributed/local_subgraph.hpp", - "external/sources/boost/boost/graph/distributed/mpi_process_group.hpp", - "external/sources/boost/boost/graph/distributed/named_graph.hpp", - "external/sources/boost/boost/graph/distributed/one_bit_color_map.hpp", - "external/sources/boost/boost/graph/distributed/page_rank.hpp", - "external/sources/boost/boost/graph/distributed/queue.hpp", - "external/sources/boost/boost/graph/distributed/reverse_graph.hpp", - "external/sources/boost/boost/graph/distributed/rmat_graph_generator.hpp", - "external/sources/boost/boost/graph/distributed/selector.hpp", - "external/sources/boost/boost/graph/distributed/shuffled_distribution.hpp", - "external/sources/boost/boost/graph/distributed/st_connected.hpp", - "external/sources/boost/boost/graph/distributed/strong_components.hpp", - "external/sources/boost/boost/graph/distributed/two_bit_color_map.hpp", - "external/sources/boost/boost/graph/distributed/unsafe_serialize.hpp", - "external/sources/boost/boost/graph/distributed/vertex_list_adaptor.hpp", - "external/sources/boost/boost/graph/dll_import_export.hpp", - "external/sources/boost/boost/graph/dominator_tree.hpp", - "external/sources/boost/boost/graph/eccentricity.hpp", - "external/sources/boost/boost/graph/edge_coloring.hpp", - "external/sources/boost/boost/graph/edge_connectivity.hpp", - "external/sources/boost/boost/graph/edge_list.hpp", - "external/sources/boost/boost/graph/edmonds_karp_max_flow.hpp", - "external/sources/boost/boost/graph/edmunds_karp_max_flow.hpp", - "external/sources/boost/boost/graph/erdos_renyi_generator.hpp", - "external/sources/boost/boost/graph/exception.hpp", - "external/sources/boost/boost/graph/exterior_property.hpp", - "external/sources/boost/boost/graph/filtered_graph.hpp", - "external/sources/boost/boost/graph/find_flow_cost.hpp", - "external/sources/boost/boost/graph/floyd_warshall_shortest.hpp", - "external/sources/boost/boost/graph/fruchterman_reingold.hpp", - "external/sources/boost/boost/graph/geodesic_distance.hpp", - "external/sources/boost/boost/graph/graph_archetypes.hpp", - "external/sources/boost/boost/graph/graph_as_tree.hpp", - "external/sources/boost/boost/graph/graph_concepts.hpp", - "external/sources/boost/boost/graph/graph_mutability_traits.hpp", - "external/sources/boost/boost/graph/graph_selectors.hpp", - "external/sources/boost/boost/graph/graph_stats.hpp", - "external/sources/boost/boost/graph/graph_traits.hpp", - "external/sources/boost/boost/graph/graph_utility.hpp", - "external/sources/boost/boost/graph/graphml.hpp", - "external/sources/boost/boost/graph/graphviz.hpp", - "external/sources/boost/boost/graph/grid_graph.hpp", - "external/sources/boost/boost/graph/gursoy_atun_layout.hpp", - "external/sources/boost/boost/graph/hawick_circuits.hpp", - "external/sources/boost/boost/graph/howard_cycle_ratio.hpp", - "external/sources/boost/boost/graph/incremental_components.hpp", - "external/sources/boost/boost/graph/is_kuratowski_subgraph.hpp", - "external/sources/boost/boost/graph/is_straight_line_drawing.hpp", - "external/sources/boost/boost/graph/isomorphism.hpp", - "external/sources/boost/boost/graph/iteration_macros.hpp", - "external/sources/boost/boost/graph/iteration_macros_undef.hpp", - "external/sources/boost/boost/graph/johnson_all_pairs_shortest.hpp", - "external/sources/boost/boost/graph/kamada_kawai_spring_layout.hpp", - "external/sources/boost/boost/graph/king_ordering.hpp", - "external/sources/boost/boost/graph/kruskal_min_spanning_tree.hpp", - "external/sources/boost/boost/graph/labeled_graph.hpp", - "external/sources/boost/boost/graph/leda_graph.hpp", - "external/sources/boost/boost/graph/lookup_edge.hpp", - "external/sources/boost/boost/graph/loop_erased_random_walk.hpp", - "external/sources/boost/boost/graph/make_biconnected_planar.hpp", - "external/sources/boost/boost/graph/make_connected.hpp", - "external/sources/boost/boost/graph/make_maximal_planar.hpp", - "external/sources/boost/boost/graph/matrix_as_graph.hpp", - "external/sources/boost/boost/graph/max_cardinality_matching.hpp", - "external/sources/boost/boost/graph/maximum_adjacency_search.hpp", - "external/sources/boost/boost/graph/maximum_weighted_matching.hpp", - "external/sources/boost/boost/graph/mcgregor_common_subgraphs.hpp", - "external/sources/boost/boost/graph/mesh_graph_generator.hpp", - "external/sources/boost/boost/graph/metis.hpp", - "external/sources/boost/boost/graph/metric_tsp_approx.hpp", - "external/sources/boost/boost/graph/minimum_degree_ordering.hpp", - "external/sources/boost/boost/graph/named_function_params.hpp", - "external/sources/boost/boost/graph/named_graph.hpp", - "external/sources/boost/boost/graph/neighbor_bfs.hpp", - "external/sources/boost/boost/graph/numeric_values.hpp", - "external/sources/boost/boost/graph/one_bit_color_map.hpp", - "external/sources/boost/boost/graph/overloading.hpp", - "external/sources/boost/boost/graph/page_rank.hpp", - "external/sources/boost/boost/graph/parallel/algorithm.hpp", - "external/sources/boost/boost/graph/parallel/basic_reduce.hpp", - "external/sources/boost/boost/graph/parallel/container_traits.hpp", - "external/sources/boost/boost/graph/parallel/detail/inplace_all_to_all.hpp", - "external/sources/boost/boost/graph/parallel/detail/property_holders.hpp", - "external/sources/boost/boost/graph/parallel/detail/untracked_pair.hpp", - "external/sources/boost/boost/graph/parallel/distribution.hpp", - "external/sources/boost/boost/graph/parallel/process_group.hpp", - "external/sources/boost/boost/graph/parallel/properties.hpp", - "external/sources/boost/boost/graph/parallel/simple_trigger.hpp", - "external/sources/boost/boost/graph/planar_canonical_ordering.hpp", - "external/sources/boost/boost/graph/planar_detail/add_edge_visitors.hpp", - "external/sources/boost/boost/graph/planar_detail/boyer_myrvold_impl.hpp", - "external/sources/boost/boost/graph/planar_detail/bucket_sort.hpp", - "external/sources/boost/boost/graph/planar_detail/face_handles.hpp", - "external/sources/boost/boost/graph/planar_detail/face_iterators.hpp", - "external/sources/boost/boost/graph/planar_face_traversal.hpp", - "external/sources/boost/boost/graph/plod_generator.hpp", - "external/sources/boost/boost/graph/point_traits.hpp", - "external/sources/boost/boost/graph/prim_minimum_spanning_tree.hpp", - "external/sources/boost/boost/graph/profile.hpp", - "external/sources/boost/boost/graph/properties.hpp", - "external/sources/boost/boost/graph/property_iter_range.hpp", - "external/sources/boost/boost/graph/property_maps/constant_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/container_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/matrix_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/null_property_map.hpp", - "external/sources/boost/boost/graph/push_relabel_max_flow.hpp", - "external/sources/boost/boost/graph/r_c_shortest_paths.hpp", - "external/sources/boost/boost/graph/random.hpp", - "external/sources/boost/boost/graph/random_layout.hpp", - "external/sources/boost/boost/graph/random_spanning_tree.hpp", - "external/sources/boost/boost/graph/read_dimacs.hpp", - "external/sources/boost/boost/graph/relax.hpp", - "external/sources/boost/boost/graph/reverse_graph.hpp", - "external/sources/boost/boost/graph/rmat_graph_generator.hpp", - "external/sources/boost/boost/graph/sequential_vertex_coloring.hpp", - "external/sources/boost/boost/graph/simple_point.hpp", - "external/sources/boost/boost/graph/sloan_ordering.hpp", - "external/sources/boost/boost/graph/small_world_generator.hpp", - "external/sources/boost/boost/graph/smallest_last_ordering.hpp", - "external/sources/boost/boost/graph/ssca_graph_generator.hpp", - "external/sources/boost/boost/graph/st_connected.hpp", - "external/sources/boost/boost/graph/stanford_graph.hpp", - "external/sources/boost/boost/graph/stoer_wagner_min_cut.hpp", - "external/sources/boost/boost/graph/strong_components.hpp", - "external/sources/boost/boost/graph/subgraph.hpp", - "external/sources/boost/boost/graph/successive_shortest_path_nonnegative_weights.hpp", - "external/sources/boost/boost/graph/tiernan_all_cycles.hpp", - "external/sources/boost/boost/graph/topological_sort.hpp", - "external/sources/boost/boost/graph/topology.hpp", - "external/sources/boost/boost/graph/transitive_closure.hpp", - "external/sources/boost/boost/graph/transitive_reduction.hpp", - "external/sources/boost/boost/graph/transpose_graph.hpp", - "external/sources/boost/boost/graph/tree_traits.hpp", - "external/sources/boost/boost/graph/two_bit_color_map.hpp", - "external/sources/boost/boost/graph/two_graphs_common_spanning_trees.hpp", - "external/sources/boost/boost/graph/undirected_dfs.hpp", - "external/sources/boost/boost/graph/undirected_graph.hpp", - "external/sources/boost/boost/graph/use_mpi.hpp", - "external/sources/boost/boost/graph/vector_as_graph.hpp", - "external/sources/boost/boost/graph/vertex_and_edge_range.hpp", - "external/sources/boost/boost/graph/vf2_sub_graph_iso.hpp", - "external/sources/boost/boost/graph/visitors.hpp", - "external/sources/boost/boost/graph/wavefront.hpp", - "external/sources/boost/boost/graph/write_dimacs.hpp", - "external/sources/boost/boost/hana.hpp", - "external/sources/boost/boost/hana/accessors.hpp", - "external/sources/boost/boost/hana/adapt_adt.hpp", - "external/sources/boost/boost/hana/adapt_struct.hpp", - "external/sources/boost/boost/hana/adjust.hpp", - "external/sources/boost/boost/hana/adjust_if.hpp", - "external/sources/boost/boost/hana/all.hpp", - "external/sources/boost/boost/hana/all_of.hpp", - "external/sources/boost/boost/hana/and.hpp", - "external/sources/boost/boost/hana/any.hpp", - "external/sources/boost/boost/hana/any_of.hpp", - "external/sources/boost/boost/hana/ap.hpp", - "external/sources/boost/boost/hana/append.hpp", - "external/sources/boost/boost/hana/assert.hpp", - "external/sources/boost/boost/hana/at.hpp", - "external/sources/boost/boost/hana/at_key.hpp", - "external/sources/boost/boost/hana/back.hpp", - "external/sources/boost/boost/hana/basic_tuple.hpp", - "external/sources/boost/boost/hana/bool.hpp", - "external/sources/boost/boost/hana/cartesian_product.hpp", - "external/sources/boost/boost/hana/chain.hpp", - "external/sources/boost/boost/hana/comparing.hpp", - "external/sources/boost/boost/hana/concat.hpp", - "external/sources/boost/boost/hana/concept.hpp", - "external/sources/boost/boost/hana/concept/applicative.hpp", - "external/sources/boost/boost/hana/concept/comonad.hpp", - "external/sources/boost/boost/hana/concept/comparable.hpp", - "external/sources/boost/boost/hana/concept/constant.hpp", - "external/sources/boost/boost/hana/concept/euclidean_ring.hpp", - "external/sources/boost/boost/hana/concept/foldable.hpp", - "external/sources/boost/boost/hana/concept/functor.hpp", - "external/sources/boost/boost/hana/concept/group.hpp", - "external/sources/boost/boost/hana/concept/hashable.hpp", - "external/sources/boost/boost/hana/concept/integral_constant.hpp", - "external/sources/boost/boost/hana/concept/iterable.hpp", - "external/sources/boost/boost/hana/concept/logical.hpp", - "external/sources/boost/boost/hana/concept/metafunction.hpp", - "external/sources/boost/boost/hana/concept/monad.hpp", - "external/sources/boost/boost/hana/concept/monad_plus.hpp", - "external/sources/boost/boost/hana/concept/monoid.hpp", - "external/sources/boost/boost/hana/concept/orderable.hpp", - "external/sources/boost/boost/hana/concept/product.hpp", - "external/sources/boost/boost/hana/concept/ring.hpp", - "external/sources/boost/boost/hana/concept/searchable.hpp", - "external/sources/boost/boost/hana/concept/sequence.hpp", - "external/sources/boost/boost/hana/concept/struct.hpp", - "external/sources/boost/boost/hana/config.hpp", - "external/sources/boost/boost/hana/contains.hpp", - "external/sources/boost/boost/hana/core.hpp", - "external/sources/boost/boost/hana/core/common.hpp", - "external/sources/boost/boost/hana/core/default.hpp", - "external/sources/boost/boost/hana/core/dispatch.hpp", - "external/sources/boost/boost/hana/core/is_a.hpp", - "external/sources/boost/boost/hana/core/make.hpp", - "external/sources/boost/boost/hana/core/tag_of.hpp", - "external/sources/boost/boost/hana/core/to.hpp", - "external/sources/boost/boost/hana/core/when.hpp", - "external/sources/boost/boost/hana/count.hpp", - "external/sources/boost/boost/hana/count_if.hpp", - "external/sources/boost/boost/hana/cycle.hpp", - "external/sources/boost/boost/hana/define_struct.hpp", - "external/sources/boost/boost/hana/detail/algorithm.hpp", - "external/sources/boost/boost/hana/detail/any_of.hpp", - "external/sources/boost/boost/hana/detail/array.hpp", - "external/sources/boost/boost/hana/detail/canonical_constant.hpp", - "external/sources/boost/boost/hana/detail/concepts.hpp", - "external/sources/boost/boost/hana/detail/create.hpp", - "external/sources/boost/boost/hana/detail/decay.hpp", - "external/sources/boost/boost/hana/detail/dispatch_if.hpp", - "external/sources/boost/boost/hana/detail/ebo.hpp", - "external/sources/boost/boost/hana/detail/fast_and.hpp", - "external/sources/boost/boost/hana/detail/first_unsatisfied_index.hpp", - "external/sources/boost/boost/hana/detail/has_common_embedding.hpp", - "external/sources/boost/boost/hana/detail/has_duplicates.hpp", - "external/sources/boost/boost/hana/detail/hash_table.hpp", - "external/sources/boost/boost/hana/detail/index_if.hpp", - "external/sources/boost/boost/hana/detail/integral_constant.hpp", - "external/sources/boost/boost/hana/detail/intrinsics.hpp", - "external/sources/boost/boost/hana/detail/nested_by.hpp", - "external/sources/boost/boost/hana/detail/nested_by_fwd.hpp", - "external/sources/boost/boost/hana/detail/nested_than.hpp", - "external/sources/boost/boost/hana/detail/nested_than_fwd.hpp", - "external/sources/boost/boost/hana/detail/nested_to.hpp", - "external/sources/boost/boost/hana/detail/nested_to_fwd.hpp", - "external/sources/boost/boost/hana/detail/operators/adl.hpp", - "external/sources/boost/boost/hana/detail/operators/arithmetic.hpp", - "external/sources/boost/boost/hana/detail/operators/comparable.hpp", - "external/sources/boost/boost/hana/detail/operators/iterable.hpp", - "external/sources/boost/boost/hana/detail/operators/logical.hpp", - "external/sources/boost/boost/hana/detail/operators/monad.hpp", - "external/sources/boost/boost/hana/detail/operators/orderable.hpp", - "external/sources/boost/boost/hana/detail/operators/searchable.hpp", - "external/sources/boost/boost/hana/detail/preprocessor.hpp", - "external/sources/boost/boost/hana/detail/std_common_type.hpp", - "external/sources/boost/boost/hana/detail/struct_macros.hpp", - "external/sources/boost/boost/hana/detail/struct_macros.hpp.erb", - "external/sources/boost/boost/hana/detail/type_at.hpp", - "external/sources/boost/boost/hana/detail/type_foldl1.hpp", - "external/sources/boost/boost/hana/detail/type_foldr1.hpp", - "external/sources/boost/boost/hana/detail/unpack_flatten.hpp", - "external/sources/boost/boost/hana/detail/variadic/at.hpp", - "external/sources/boost/boost/hana/detail/variadic/drop_into.hpp", - "external/sources/boost/boost/hana/detail/variadic/foldl1.hpp", - "external/sources/boost/boost/hana/detail/variadic/foldr1.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply/flat.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply/unrolled.hpp", - "external/sources/boost/boost/hana/detail/variadic/split_at.hpp", - "external/sources/boost/boost/hana/detail/variadic/take.hpp", - "external/sources/boost/boost/hana/detail/void_t.hpp", - "external/sources/boost/boost/hana/detail/wrong.hpp", - "external/sources/boost/boost/hana/difference.hpp", - "external/sources/boost/boost/hana/div.hpp", - "external/sources/boost/boost/hana/drop_back.hpp", - "external/sources/boost/boost/hana/drop_front.hpp", - "external/sources/boost/boost/hana/drop_front_exactly.hpp", - "external/sources/boost/boost/hana/drop_while.hpp", - "external/sources/boost/boost/hana/duplicate.hpp", - "external/sources/boost/boost/hana/empty.hpp", - "external/sources/boost/boost/hana/equal.hpp", - "external/sources/boost/boost/hana/erase_key.hpp", - "external/sources/boost/boost/hana/eval.hpp", - "external/sources/boost/boost/hana/eval_if.hpp", - "external/sources/boost/boost/hana/experimental/printable.hpp", - "external/sources/boost/boost/hana/experimental/type_name.hpp", - "external/sources/boost/boost/hana/experimental/types.hpp", - "external/sources/boost/boost/hana/experimental/view.hpp", - "external/sources/boost/boost/hana/ext/boost.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/deque.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/detail/common.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/list.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/tuple.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/vector.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/integral_c.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/list.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/vector.hpp", - "external/sources/boost/boost/hana/ext/boost/tuple.hpp", - "external/sources/boost/boost/hana/ext/std.hpp", - "external/sources/boost/boost/hana/ext/std/array.hpp", - "external/sources/boost/boost/hana/ext/std/integer_sequence.hpp", - "external/sources/boost/boost/hana/ext/std/integral_constant.hpp", - "external/sources/boost/boost/hana/ext/std/pair.hpp", - "external/sources/boost/boost/hana/ext/std/ratio.hpp", - "external/sources/boost/boost/hana/ext/std/tuple.hpp", - "external/sources/boost/boost/hana/ext/std/vector.hpp", - "external/sources/boost/boost/hana/extend.hpp", - "external/sources/boost/boost/hana/extract.hpp", - "external/sources/boost/boost/hana/fill.hpp", - "external/sources/boost/boost/hana/filter.hpp", - "external/sources/boost/boost/hana/find.hpp", - "external/sources/boost/boost/hana/find_if.hpp", - "external/sources/boost/boost/hana/first.hpp", - "external/sources/boost/boost/hana/flatten.hpp", - "external/sources/boost/boost/hana/fold.hpp", - "external/sources/boost/boost/hana/fold_left.hpp", - "external/sources/boost/boost/hana/fold_right.hpp", - "external/sources/boost/boost/hana/for_each.hpp", - "external/sources/boost/boost/hana/front.hpp", - "external/sources/boost/boost/hana/functional.hpp", - "external/sources/boost/boost/hana/functional/always.hpp", - "external/sources/boost/boost/hana/functional/apply.hpp", - "external/sources/boost/boost/hana/functional/arg.hpp", - "external/sources/boost/boost/hana/functional/capture.hpp", - "external/sources/boost/boost/hana/functional/compose.hpp", - "external/sources/boost/boost/hana/functional/curry.hpp", - "external/sources/boost/boost/hana/functional/demux.hpp", - "external/sources/boost/boost/hana/functional/fix.hpp", - "external/sources/boost/boost/hana/functional/flip.hpp", - "external/sources/boost/boost/hana/functional/id.hpp", - "external/sources/boost/boost/hana/functional/infix.hpp", - "external/sources/boost/boost/hana/functional/iterate.hpp", - "external/sources/boost/boost/hana/functional/lockstep.hpp", - "external/sources/boost/boost/hana/functional/on.hpp", - "external/sources/boost/boost/hana/functional/overload.hpp", - "external/sources/boost/boost/hana/functional/overload_linearly.hpp", - "external/sources/boost/boost/hana/functional/partial.hpp", - "external/sources/boost/boost/hana/functional/placeholder.hpp", - "external/sources/boost/boost/hana/functional/reverse_partial.hpp", - "external/sources/boost/boost/hana/fuse.hpp", - "external/sources/boost/boost/hana/fwd/accessors.hpp", - "external/sources/boost/boost/hana/fwd/adapt_adt.hpp", - "external/sources/boost/boost/hana/fwd/adapt_struct.hpp", - "external/sources/boost/boost/hana/fwd/adjust.hpp", - "external/sources/boost/boost/hana/fwd/adjust_if.hpp", - "external/sources/boost/boost/hana/fwd/all.hpp", - "external/sources/boost/boost/hana/fwd/all_of.hpp", - "external/sources/boost/boost/hana/fwd/and.hpp", - "external/sources/boost/boost/hana/fwd/any.hpp", - "external/sources/boost/boost/hana/fwd/any_of.hpp", - "external/sources/boost/boost/hana/fwd/ap.hpp", - "external/sources/boost/boost/hana/fwd/append.hpp", - "external/sources/boost/boost/hana/fwd/at.hpp", - "external/sources/boost/boost/hana/fwd/at_key.hpp", - "external/sources/boost/boost/hana/fwd/back.hpp", - "external/sources/boost/boost/hana/fwd/basic_tuple.hpp", - "external/sources/boost/boost/hana/fwd/bool.hpp", - "external/sources/boost/boost/hana/fwd/cartesian_product.hpp", - "external/sources/boost/boost/hana/fwd/chain.hpp", - "external/sources/boost/boost/hana/fwd/comparing.hpp", - "external/sources/boost/boost/hana/fwd/concat.hpp", - "external/sources/boost/boost/hana/fwd/concept/applicative.hpp", - "external/sources/boost/boost/hana/fwd/concept/comonad.hpp", - "external/sources/boost/boost/hana/fwd/concept/comparable.hpp", - "external/sources/boost/boost/hana/fwd/concept/constant.hpp", - "external/sources/boost/boost/hana/fwd/concept/euclidean_ring.hpp", - "external/sources/boost/boost/hana/fwd/concept/foldable.hpp", - "external/sources/boost/boost/hana/fwd/concept/functor.hpp", - "external/sources/boost/boost/hana/fwd/concept/group.hpp", - "external/sources/boost/boost/hana/fwd/concept/hashable.hpp", - "external/sources/boost/boost/hana/fwd/concept/integral_constant.hpp", - "external/sources/boost/boost/hana/fwd/concept/iterable.hpp", - "external/sources/boost/boost/hana/fwd/concept/logical.hpp", - "external/sources/boost/boost/hana/fwd/concept/metafunction.hpp", - "external/sources/boost/boost/hana/fwd/concept/monad.hpp", - "external/sources/boost/boost/hana/fwd/concept/monad_plus.hpp", - "external/sources/boost/boost/hana/fwd/concept/monoid.hpp", - "external/sources/boost/boost/hana/fwd/concept/orderable.hpp", - "external/sources/boost/boost/hana/fwd/concept/product.hpp", - "external/sources/boost/boost/hana/fwd/concept/ring.hpp", - "external/sources/boost/boost/hana/fwd/concept/searchable.hpp", - "external/sources/boost/boost/hana/fwd/concept/sequence.hpp", - "external/sources/boost/boost/hana/fwd/concept/struct.hpp", - "external/sources/boost/boost/hana/fwd/contains.hpp", - "external/sources/boost/boost/hana/fwd/core.hpp", - "external/sources/boost/boost/hana/fwd/core/common.hpp", - "external/sources/boost/boost/hana/fwd/core/default.hpp", - "external/sources/boost/boost/hana/fwd/core/is_a.hpp", - "external/sources/boost/boost/hana/fwd/core/make.hpp", - "external/sources/boost/boost/hana/fwd/core/tag_of.hpp", - "external/sources/boost/boost/hana/fwd/core/to.hpp", - "external/sources/boost/boost/hana/fwd/core/when.hpp", - "external/sources/boost/boost/hana/fwd/count.hpp", - "external/sources/boost/boost/hana/fwd/count_if.hpp", - "external/sources/boost/boost/hana/fwd/cycle.hpp", - "external/sources/boost/boost/hana/fwd/define_struct.hpp", - "external/sources/boost/boost/hana/fwd/difference.hpp", - "external/sources/boost/boost/hana/fwd/div.hpp", - "external/sources/boost/boost/hana/fwd/drop_back.hpp", - "external/sources/boost/boost/hana/fwd/drop_front.hpp", - "external/sources/boost/boost/hana/fwd/drop_front_exactly.hpp", - "external/sources/boost/boost/hana/fwd/drop_while.hpp", - "external/sources/boost/boost/hana/fwd/duplicate.hpp", - "external/sources/boost/boost/hana/fwd/empty.hpp", - "external/sources/boost/boost/hana/fwd/equal.hpp", - "external/sources/boost/boost/hana/fwd/erase_key.hpp", - "external/sources/boost/boost/hana/fwd/eval.hpp", - "external/sources/boost/boost/hana/fwd/eval_if.hpp", - "external/sources/boost/boost/hana/fwd/extend.hpp", - "external/sources/boost/boost/hana/fwd/extract.hpp", - "external/sources/boost/boost/hana/fwd/fill.hpp", - "external/sources/boost/boost/hana/fwd/filter.hpp", - "external/sources/boost/boost/hana/fwd/find.hpp", - "external/sources/boost/boost/hana/fwd/find_if.hpp", - "external/sources/boost/boost/hana/fwd/first.hpp", - "external/sources/boost/boost/hana/fwd/flatten.hpp", - "external/sources/boost/boost/hana/fwd/fold.hpp", - "external/sources/boost/boost/hana/fwd/fold_left.hpp", - "external/sources/boost/boost/hana/fwd/fold_right.hpp", - "external/sources/boost/boost/hana/fwd/for_each.hpp", - "external/sources/boost/boost/hana/fwd/front.hpp", - "external/sources/boost/boost/hana/fwd/fuse.hpp", - "external/sources/boost/boost/hana/fwd/greater.hpp", - "external/sources/boost/boost/hana/fwd/greater_equal.hpp", - "external/sources/boost/boost/hana/fwd/group.hpp", - "external/sources/boost/boost/hana/fwd/hash.hpp", - "external/sources/boost/boost/hana/fwd/if.hpp", - "external/sources/boost/boost/hana/fwd/index_if.hpp", - "external/sources/boost/boost/hana/fwd/insert.hpp", - "external/sources/boost/boost/hana/fwd/insert_range.hpp", - "external/sources/boost/boost/hana/fwd/integral_constant.hpp", - "external/sources/boost/boost/hana/fwd/intersection.hpp", - "external/sources/boost/boost/hana/fwd/intersperse.hpp", - "external/sources/boost/boost/hana/fwd/is_disjoint.hpp", - "external/sources/boost/boost/hana/fwd/is_empty.hpp", - "external/sources/boost/boost/hana/fwd/is_subset.hpp", - "external/sources/boost/boost/hana/fwd/keys.hpp", - "external/sources/boost/boost/hana/fwd/lazy.hpp", - "external/sources/boost/boost/hana/fwd/length.hpp", - "external/sources/boost/boost/hana/fwd/less.hpp", - "external/sources/boost/boost/hana/fwd/less_equal.hpp", - "external/sources/boost/boost/hana/fwd/lexicographical_compare.hpp", - "external/sources/boost/boost/hana/fwd/lift.hpp", - "external/sources/boost/boost/hana/fwd/map.hpp", - "external/sources/boost/boost/hana/fwd/max.hpp", - "external/sources/boost/boost/hana/fwd/maximum.hpp", - "external/sources/boost/boost/hana/fwd/members.hpp", - "external/sources/boost/boost/hana/fwd/min.hpp", - "external/sources/boost/boost/hana/fwd/minimum.hpp", - "external/sources/boost/boost/hana/fwd/minus.hpp", - "external/sources/boost/boost/hana/fwd/mod.hpp", - "external/sources/boost/boost/hana/fwd/monadic_compose.hpp", - "external/sources/boost/boost/hana/fwd/monadic_fold_left.hpp", - "external/sources/boost/boost/hana/fwd/monadic_fold_right.hpp", - "external/sources/boost/boost/hana/fwd/mult.hpp", - "external/sources/boost/boost/hana/fwd/negate.hpp", - "external/sources/boost/boost/hana/fwd/none.hpp", - "external/sources/boost/boost/hana/fwd/none_of.hpp", - "external/sources/boost/boost/hana/fwd/not.hpp", - "external/sources/boost/boost/hana/fwd/not_equal.hpp", - "external/sources/boost/boost/hana/fwd/one.hpp", - "external/sources/boost/boost/hana/fwd/optional.hpp", - "external/sources/boost/boost/hana/fwd/or.hpp", - "external/sources/boost/boost/hana/fwd/ordering.hpp", - "external/sources/boost/boost/hana/fwd/pair.hpp", - "external/sources/boost/boost/hana/fwd/partition.hpp", - "external/sources/boost/boost/hana/fwd/permutations.hpp", - "external/sources/boost/boost/hana/fwd/plus.hpp", - "external/sources/boost/boost/hana/fwd/power.hpp", - "external/sources/boost/boost/hana/fwd/prefix.hpp", - "external/sources/boost/boost/hana/fwd/prepend.hpp", - "external/sources/boost/boost/hana/fwd/product.hpp", - "external/sources/boost/boost/hana/fwd/range.hpp", - "external/sources/boost/boost/hana/fwd/remove.hpp", - "external/sources/boost/boost/hana/fwd/remove_at.hpp", - "external/sources/boost/boost/hana/fwd/remove_if.hpp", - "external/sources/boost/boost/hana/fwd/remove_range.hpp", - "external/sources/boost/boost/hana/fwd/repeat.hpp", - "external/sources/boost/boost/hana/fwd/replace.hpp", - "external/sources/boost/boost/hana/fwd/replace_if.hpp", - "external/sources/boost/boost/hana/fwd/replicate.hpp", - "external/sources/boost/boost/hana/fwd/reverse.hpp", - "external/sources/boost/boost/hana/fwd/reverse_fold.hpp", - "external/sources/boost/boost/hana/fwd/scan_left.hpp", - "external/sources/boost/boost/hana/fwd/scan_right.hpp", - "external/sources/boost/boost/hana/fwd/second.hpp", - "external/sources/boost/boost/hana/fwd/set.hpp", - "external/sources/boost/boost/hana/fwd/size.hpp", - "external/sources/boost/boost/hana/fwd/slice.hpp", - "external/sources/boost/boost/hana/fwd/sort.hpp", - "external/sources/boost/boost/hana/fwd/span.hpp", - "external/sources/boost/boost/hana/fwd/string.hpp", - "external/sources/boost/boost/hana/fwd/suffix.hpp", - "external/sources/boost/boost/hana/fwd/sum.hpp", - "external/sources/boost/boost/hana/fwd/symmetric_difference.hpp", - "external/sources/boost/boost/hana/fwd/take_back.hpp", - "external/sources/boost/boost/hana/fwd/take_front.hpp", - "external/sources/boost/boost/hana/fwd/take_while.hpp", - "external/sources/boost/boost/hana/fwd/tap.hpp", - "external/sources/boost/boost/hana/fwd/then.hpp", - "external/sources/boost/boost/hana/fwd/transform.hpp", - "external/sources/boost/boost/hana/fwd/tuple.hpp", - "external/sources/boost/boost/hana/fwd/type.hpp", - "external/sources/boost/boost/hana/fwd/unfold_left.hpp", - "external/sources/boost/boost/hana/fwd/unfold_right.hpp", - "external/sources/boost/boost/hana/fwd/union.hpp", - "external/sources/boost/boost/hana/fwd/unique.hpp", - "external/sources/boost/boost/hana/fwd/unpack.hpp", - "external/sources/boost/boost/hana/fwd/value.hpp", - "external/sources/boost/boost/hana/fwd/while.hpp", - "external/sources/boost/boost/hana/fwd/zero.hpp", - "external/sources/boost/boost/hana/fwd/zip.hpp", - "external/sources/boost/boost/hana/fwd/zip_shortest.hpp", - "external/sources/boost/boost/hana/fwd/zip_shortest_with.hpp", - "external/sources/boost/boost/hana/fwd/zip_with.hpp", - "external/sources/boost/boost/hana/greater.hpp", - "external/sources/boost/boost/hana/greater_equal.hpp", - "external/sources/boost/boost/hana/group.hpp", - "external/sources/boost/boost/hana/hash.hpp", - "external/sources/boost/boost/hana/if.hpp", - "external/sources/boost/boost/hana/index_if.hpp", - "external/sources/boost/boost/hana/insert.hpp", - "external/sources/boost/boost/hana/insert_range.hpp", - "external/sources/boost/boost/hana/integral_constant.hpp", - "external/sources/boost/boost/hana/intersection.hpp", - "external/sources/boost/boost/hana/intersperse.hpp", - "external/sources/boost/boost/hana/is_disjoint.hpp", - "external/sources/boost/boost/hana/is_empty.hpp", - "external/sources/boost/boost/hana/is_subset.hpp", - "external/sources/boost/boost/hana/keys.hpp", - "external/sources/boost/boost/hana/lazy.hpp", - "external/sources/boost/boost/hana/length.hpp", - "external/sources/boost/boost/hana/less.hpp", - "external/sources/boost/boost/hana/less_equal.hpp", - "external/sources/boost/boost/hana/lexicographical_compare.hpp", - "external/sources/boost/boost/hana/lift.hpp", - "external/sources/boost/boost/hana/map.hpp", - "external/sources/boost/boost/hana/max.hpp", - "external/sources/boost/boost/hana/maximum.hpp", - "external/sources/boost/boost/hana/members.hpp", - "external/sources/boost/boost/hana/min.hpp", - "external/sources/boost/boost/hana/minimum.hpp", - "external/sources/boost/boost/hana/minus.hpp", - "external/sources/boost/boost/hana/mod.hpp", - "external/sources/boost/boost/hana/monadic_compose.hpp", - "external/sources/boost/boost/hana/monadic_fold_left.hpp", - "external/sources/boost/boost/hana/monadic_fold_right.hpp", - "external/sources/boost/boost/hana/mult.hpp", - "external/sources/boost/boost/hana/negate.hpp", - "external/sources/boost/boost/hana/none.hpp", - "external/sources/boost/boost/hana/none_of.hpp", - "external/sources/boost/boost/hana/not.hpp", - "external/sources/boost/boost/hana/not_equal.hpp", - "external/sources/boost/boost/hana/one.hpp", - "external/sources/boost/boost/hana/optional.hpp", - "external/sources/boost/boost/hana/or.hpp", - "external/sources/boost/boost/hana/ordering.hpp", - "external/sources/boost/boost/hana/pair.hpp", - "external/sources/boost/boost/hana/partition.hpp", - "external/sources/boost/boost/hana/permutations.hpp", - "external/sources/boost/boost/hana/plus.hpp", - "external/sources/boost/boost/hana/power.hpp", - "external/sources/boost/boost/hana/prefix.hpp", - "external/sources/boost/boost/hana/prepend.hpp", - "external/sources/boost/boost/hana/product.hpp", - "external/sources/boost/boost/hana/range.hpp", - "external/sources/boost/boost/hana/remove.hpp", - "external/sources/boost/boost/hana/remove_at.hpp", - "external/sources/boost/boost/hana/remove_if.hpp", - "external/sources/boost/boost/hana/remove_range.hpp", - "external/sources/boost/boost/hana/repeat.hpp", - "external/sources/boost/boost/hana/replace.hpp", - "external/sources/boost/boost/hana/replace_if.hpp", - "external/sources/boost/boost/hana/replicate.hpp", - "external/sources/boost/boost/hana/reverse.hpp", - "external/sources/boost/boost/hana/reverse_fold.hpp", - "external/sources/boost/boost/hana/scan_left.hpp", - "external/sources/boost/boost/hana/scan_right.hpp", - "external/sources/boost/boost/hana/second.hpp", - "external/sources/boost/boost/hana/set.hpp", - "external/sources/boost/boost/hana/size.hpp", - "external/sources/boost/boost/hana/slice.hpp", - "external/sources/boost/boost/hana/sort.hpp", - "external/sources/boost/boost/hana/span.hpp", - "external/sources/boost/boost/hana/string.hpp", - "external/sources/boost/boost/hana/suffix.hpp", - "external/sources/boost/boost/hana/sum.hpp", - "external/sources/boost/boost/hana/symmetric_difference.hpp", - "external/sources/boost/boost/hana/take_back.hpp", - "external/sources/boost/boost/hana/take_front.hpp", - "external/sources/boost/boost/hana/take_while.hpp", - "external/sources/boost/boost/hana/tap.hpp", - "external/sources/boost/boost/hana/then.hpp", - "external/sources/boost/boost/hana/traits.hpp", - "external/sources/boost/boost/hana/transform.hpp", - "external/sources/boost/boost/hana/tuple.hpp", - "external/sources/boost/boost/hana/type.hpp", - "external/sources/boost/boost/hana/unfold_left.hpp", - "external/sources/boost/boost/hana/unfold_right.hpp", - "external/sources/boost/boost/hana/union.hpp", - "external/sources/boost/boost/hana/unique.hpp", - "external/sources/boost/boost/hana/unpack.hpp", - "external/sources/boost/boost/hana/value.hpp", - "external/sources/boost/boost/hana/version.hpp", - "external/sources/boost/boost/hana/while.hpp", - "external/sources/boost/boost/hana/zero.hpp", - "external/sources/boost/boost/hana/zip.hpp", - "external/sources/boost/boost/hana/zip_shortest.hpp", - "external/sources/boost/boost/hana/zip_shortest_with.hpp", - "external/sources/boost/boost/hana/zip_with.hpp", - "external/sources/boost/boost/heap/binomial_heap.hpp", - "external/sources/boost/boost/heap/d_ary_heap.hpp", - "external/sources/boost/boost/heap/detail/heap_comparison.hpp", - "external/sources/boost/boost/heap/detail/heap_node.hpp", - "external/sources/boost/boost/heap/detail/ilog2.hpp", - "external/sources/boost/boost/heap/detail/mutable_heap.hpp", - "external/sources/boost/boost/heap/detail/ordered_adaptor_iterator.hpp", - "external/sources/boost/boost/heap/detail/stable_heap.hpp", - "external/sources/boost/boost/heap/detail/tree_iterator.hpp", - "external/sources/boost/boost/heap/fibonacci_heap.hpp", - "external/sources/boost/boost/heap/heap_concepts.hpp", - "external/sources/boost/boost/heap/heap_merge.hpp", - "external/sources/boost/boost/heap/pairing_heap.hpp", - "external/sources/boost/boost/heap/policies.hpp", - "external/sources/boost/boost/heap/priority_queue.hpp", - "external/sources/boost/boost/heap/skew_heap.hpp", - "external/sources/boost/boost/histogram.hpp", - "external/sources/boost/boost/histogram/accumulators.hpp", - "external/sources/boost/boost/histogram/accumulators/count.hpp", - "external/sources/boost/boost/histogram/accumulators/mean.hpp", - "external/sources/boost/boost/histogram/accumulators/ostream.hpp", - "external/sources/boost/boost/histogram/accumulators/sum.hpp", - "external/sources/boost/boost/histogram/accumulators/thread_safe.hpp", - "external/sources/boost/boost/histogram/accumulators/weighted_mean.hpp", - "external/sources/boost/boost/histogram/accumulators/weighted_sum.hpp", - "external/sources/boost/boost/histogram/algorithm.hpp", - "external/sources/boost/boost/histogram/algorithm/empty.hpp", - "external/sources/boost/boost/histogram/algorithm/project.hpp", - "external/sources/boost/boost/histogram/algorithm/reduce.hpp", - "external/sources/boost/boost/histogram/algorithm/sum.hpp", - "external/sources/boost/boost/histogram/axis.hpp", - "external/sources/boost/boost/histogram/axis/boolean.hpp", - "external/sources/boost/boost/histogram/axis/category.hpp", - "external/sources/boost/boost/histogram/axis/integer.hpp", - "external/sources/boost/boost/histogram/axis/interval_view.hpp", - "external/sources/boost/boost/histogram/axis/iterator.hpp", - "external/sources/boost/boost/histogram/axis/metadata_base.hpp", - "external/sources/boost/boost/histogram/axis/option.hpp", - "external/sources/boost/boost/histogram/axis/ostream.hpp", - "external/sources/boost/boost/histogram/axis/polymorphic_bin.hpp", - "external/sources/boost/boost/histogram/axis/regular.hpp", - "external/sources/boost/boost/histogram/axis/traits.hpp", - "external/sources/boost/boost/histogram/axis/variable.hpp", - "external/sources/boost/boost/histogram/axis/variant.hpp", - "external/sources/boost/boost/histogram/detail/accumulator_traits.hpp", - "external/sources/boost/boost/histogram/detail/args_type.hpp", - "external/sources/boost/boost/histogram/detail/argument_traits.hpp", - "external/sources/boost/boost/histogram/detail/array_wrapper.hpp", - "external/sources/boost/boost/histogram/detail/axes.hpp", - "external/sources/boost/boost/histogram/detail/common_type.hpp", - "external/sources/boost/boost/histogram/detail/convert_integer.hpp", - "external/sources/boost/boost/histogram/detail/counting_streambuf.hpp", - "external/sources/boost/boost/histogram/detail/detect.hpp", - "external/sources/boost/boost/histogram/detail/fill.hpp", - "external/sources/boost/boost/histogram/detail/fill_n.hpp", - "external/sources/boost/boost/histogram/detail/index_translator.hpp", - "external/sources/boost/boost/histogram/detail/iterator_adaptor.hpp", - "external/sources/boost/boost/histogram/detail/large_int.hpp", - "external/sources/boost/boost/histogram/detail/limits.hpp", - "external/sources/boost/boost/histogram/detail/linearize.hpp", - "external/sources/boost/boost/histogram/detail/make_default.hpp", - "external/sources/boost/boost/histogram/detail/mutex_base.hpp", - "external/sources/boost/boost/histogram/detail/nonmember_container_access.hpp", - "external/sources/boost/boost/histogram/detail/operators.hpp", - "external/sources/boost/boost/histogram/detail/optional_index.hpp", - "external/sources/boost/boost/histogram/detail/priority.hpp", - "external/sources/boost/boost/histogram/detail/reduce_command.hpp", - "external/sources/boost/boost/histogram/detail/relaxed_equal.hpp", - "external/sources/boost/boost/histogram/detail/relaxed_tuple_size.hpp", - "external/sources/boost/boost/histogram/detail/replace_type.hpp", - "external/sources/boost/boost/histogram/detail/safe_comparison.hpp", - "external/sources/boost/boost/histogram/detail/span.hpp", - "external/sources/boost/boost/histogram/detail/static_if.hpp", - "external/sources/boost/boost/histogram/detail/sub_array.hpp", - "external/sources/boost/boost/histogram/detail/try_cast.hpp", - "external/sources/boost/boost/histogram/detail/tuple_slice.hpp", - "external/sources/boost/boost/histogram/detail/type_name.hpp", - "external/sources/boost/boost/histogram/detail/variant_proxy.hpp", - "external/sources/boost/boost/histogram/fwd.hpp", - "external/sources/boost/boost/histogram/histogram.hpp", - "external/sources/boost/boost/histogram/indexed.hpp", - "external/sources/boost/boost/histogram/literals.hpp", - "external/sources/boost/boost/histogram/make_histogram.hpp", - "external/sources/boost/boost/histogram/make_profile.hpp", - "external/sources/boost/boost/histogram/multi_index.hpp", - "external/sources/boost/boost/histogram/ostream.hpp", - "external/sources/boost/boost/histogram/sample.hpp", - "external/sources/boost/boost/histogram/serialization.hpp", - "external/sources/boost/boost/histogram/storage_adaptor.hpp", - "external/sources/boost/boost/histogram/unlimited_storage.hpp", - "external/sources/boost/boost/histogram/unsafe_access.hpp", - "external/sources/boost/boost/histogram/weight.hpp", - "external/sources/boost/boost/hof.hpp", - "external/sources/boost/boost/hof/alias.hpp", - "external/sources/boost/boost/hof/always.hpp", - "external/sources/boost/boost/hof/apply.hpp", - "external/sources/boost/boost/hof/apply_eval.hpp", - "external/sources/boost/boost/hof/arg.hpp", - "external/sources/boost/boost/hof/capture.hpp", - "external/sources/boost/boost/hof/combine.hpp", - "external/sources/boost/boost/hof/compose.hpp", - "external/sources/boost/boost/hof/config.hpp", - "external/sources/boost/boost/hof/construct.hpp", - "external/sources/boost/boost/hof/decay.hpp", - "external/sources/boost/boost/hof/decorate.hpp", - "external/sources/boost/boost/hof/detail/and.hpp", - "external/sources/boost/boost/hof/detail/callable_base.hpp", - "external/sources/boost/boost/hof/detail/can_be_called.hpp", - "external/sources/boost/boost/hof/detail/compressed_pair.hpp", - "external/sources/boost/boost/hof/detail/constexpr_deduce.hpp", - "external/sources/boost/boost/hof/detail/delegate.hpp", - "external/sources/boost/boost/hof/detail/forward.hpp", - "external/sources/boost/boost/hof/detail/holder.hpp", - "external/sources/boost/boost/hof/detail/intrinsics.hpp", - "external/sources/boost/boost/hof/detail/join.hpp", - "external/sources/boost/boost/hof/detail/make.hpp", - "external/sources/boost/boost/hof/detail/move.hpp", - "external/sources/boost/boost/hof/detail/noexcept.hpp", - "external/sources/boost/boost/hof/detail/pp.hpp", - "external/sources/boost/boost/hof/detail/recursive_constexpr_depth.hpp", - "external/sources/boost/boost/hof/detail/remove_rvalue_reference.hpp", - "external/sources/boost/boost/hof/detail/result_of.hpp", - "external/sources/boost/boost/hof/detail/result_type.hpp", - "external/sources/boost/boost/hof/detail/seq.hpp", - "external/sources/boost/boost/hof/detail/static_const_var.hpp", - "external/sources/boost/boost/hof/detail/unpack_tuple.hpp", - "external/sources/boost/boost/hof/detail/unwrap.hpp", - "external/sources/boost/boost/hof/detail/using.hpp", - "external/sources/boost/boost/hof/eval.hpp", - "external/sources/boost/boost/hof/first_of.hpp", - "external/sources/boost/boost/hof/fix.hpp", - "external/sources/boost/boost/hof/flip.hpp", - "external/sources/boost/boost/hof/flow.hpp", - "external/sources/boost/boost/hof/fold.hpp", - "external/sources/boost/boost/hof/function.hpp", - "external/sources/boost/boost/hof/function_param_limit.hpp", - "external/sources/boost/boost/hof/identity.hpp", - "external/sources/boost/boost/hof/if.hpp", - "external/sources/boost/boost/hof/implicit.hpp", - "external/sources/boost/boost/hof/indirect.hpp", - "external/sources/boost/boost/hof/infix.hpp", - "external/sources/boost/boost/hof/is_invocable.hpp", - "external/sources/boost/boost/hof/is_unpackable.hpp", - "external/sources/boost/boost/hof/lambda.hpp", - "external/sources/boost/boost/hof/lazy.hpp", - "external/sources/boost/boost/hof/lift.hpp", - "external/sources/boost/boost/hof/limit.hpp", - "external/sources/boost/boost/hof/match.hpp", - "external/sources/boost/boost/hof/mutable.hpp", - "external/sources/boost/boost/hof/pack.hpp", - "external/sources/boost/boost/hof/partial.hpp", - "external/sources/boost/boost/hof/pipable.hpp", - "external/sources/boost/boost/hof/placeholders.hpp", - "external/sources/boost/boost/hof/proj.hpp", - "external/sources/boost/boost/hof/protect.hpp", - "external/sources/boost/boost/hof/repeat.hpp", - "external/sources/boost/boost/hof/repeat_while.hpp", - "external/sources/boost/boost/hof/result.hpp", - "external/sources/boost/boost/hof/returns.hpp", - "external/sources/boost/boost/hof/reveal.hpp", - "external/sources/boost/boost/hof/reverse_fold.hpp", - "external/sources/boost/boost/hof/rotate.hpp", - "external/sources/boost/boost/hof/static.hpp", - "external/sources/boost/boost/hof/tap.hpp", - "external/sources/boost/boost/hof/unpack.hpp", - "external/sources/boost/boost/hof/unpack_sequence.hpp", - "external/sources/boost/boost/hof/version.hpp", - "external/sources/boost/boost/icl/associative_element_container.hpp", - "external/sources/boost/boost/icl/associative_interval_container.hpp", - "external/sources/boost/boost/icl/closed_interval.hpp", - "external/sources/boost/boost/icl/concept/comparable.hpp", - "external/sources/boost/boost/icl/concept/container.hpp", - "external/sources/boost/boost/icl/concept/element_associator.hpp", - "external/sources/boost/boost/icl/concept/element_map.hpp", - "external/sources/boost/boost/icl/concept/element_set.hpp", - "external/sources/boost/boost/icl/concept/element_set_value.hpp", - "external/sources/boost/boost/icl/concept/interval.hpp", - "external/sources/boost/boost/icl/concept/interval_associator.hpp", - "external/sources/boost/boost/icl/concept/interval_associator_base.hpp", - "external/sources/boost/boost/icl/concept/interval_bounds.hpp", - "external/sources/boost/boost/icl/concept/interval_map.hpp", - "external/sources/boost/boost/icl/concept/interval_set.hpp", - "external/sources/boost/boost/icl/concept/interval_set_value.hpp", - "external/sources/boost/boost/icl/concept/joinable.hpp", - "external/sources/boost/boost/icl/concept/map_value.hpp", - "external/sources/boost/boost/icl/concept/set_value.hpp", - "external/sources/boost/boost/icl/continuous_interval.hpp", - "external/sources/boost/boost/icl/detail/associated_value.hpp", - "external/sources/boost/boost/icl/detail/boost_config.hpp", - "external/sources/boost/boost/icl/detail/concept_check.hpp", - "external/sources/boost/boost/icl/detail/design_config.hpp", - "external/sources/boost/boost/icl/detail/element_comparer.hpp", - "external/sources/boost/boost/icl/detail/element_iterator.hpp", - "external/sources/boost/boost/icl/detail/exclusive_less_than.hpp", - "external/sources/boost/boost/icl/detail/interval_map_algo.hpp", - "external/sources/boost/boost/icl/detail/interval_morphism.hpp", - "external/sources/boost/boost/icl/detail/interval_set_algo.hpp", - "external/sources/boost/boost/icl/detail/interval_subset_comparer.hpp", - "external/sources/boost/boost/icl/detail/map_algo.hpp", - "external/sources/boost/boost/icl/detail/mapped_reference.hpp", - "external/sources/boost/boost/icl/detail/notate.hpp", - "external/sources/boost/boost/icl/detail/on_absorbtion.hpp", - "external/sources/boost/boost/icl/detail/relation_state.hpp", - "external/sources/boost/boost/icl/detail/set_algo.hpp", - "external/sources/boost/boost/icl/detail/std_set.hpp", - "external/sources/boost/boost/icl/detail/subset_comparer.hpp", - "external/sources/boost/boost/icl/discrete_interval.hpp", - "external/sources/boost/boost/icl/dynamic_interval_traits.hpp", - "external/sources/boost/boost/icl/functors.hpp", - "external/sources/boost/boost/icl/gregorian.hpp", - "external/sources/boost/boost/icl/impl_config.hpp", - "external/sources/boost/boost/icl/interval.hpp", - "external/sources/boost/boost/icl/interval_base_map.hpp", - "external/sources/boost/boost/icl/interval_base_set.hpp", - "external/sources/boost/boost/icl/interval_bounds.hpp", - "external/sources/boost/boost/icl/interval_combining_style.hpp", - "external/sources/boost/boost/icl/interval_map.hpp", - "external/sources/boost/boost/icl/interval_set.hpp", - "external/sources/boost/boost/icl/interval_traits.hpp", - "external/sources/boost/boost/icl/iterator.hpp", - "external/sources/boost/boost/icl/left_open_interval.hpp", - "external/sources/boost/boost/icl/map.hpp", - "external/sources/boost/boost/icl/open_interval.hpp", - "external/sources/boost/boost/icl/predicates/distinct_equal.hpp", - "external/sources/boost/boost/icl/predicates/element_equal.hpp", - "external/sources/boost/boost/icl/predicates/std_equal.hpp", - "external/sources/boost/boost/icl/predicates/sub_super_set.hpp", - "external/sources/boost/boost/icl/ptime.hpp", - "external/sources/boost/boost/icl/rational.hpp", - "external/sources/boost/boost/icl/right_open_interval.hpp", - "external/sources/boost/boost/icl/separate_interval_set.hpp", - "external/sources/boost/boost/icl/set.hpp", - "external/sources/boost/boost/icl/split_interval_map.hpp", - "external/sources/boost/boost/icl/split_interval_set.hpp", - "external/sources/boost/boost/icl/type_traits/absorbs_identities.hpp", - "external/sources/boost/boost/icl/type_traits/adds_inversely.hpp", - "external/sources/boost/boost/icl/type_traits/codomain_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/difference.hpp", - "external/sources/boost/boost/icl/type_traits/difference_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/domain_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/element_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/has_inverse.hpp", - "external/sources/boost/boost/icl/type_traits/has_set_semantics.hpp", - "external/sources/boost/boost/icl/type_traits/identity_element.hpp", - "external/sources/boost/boost/icl/type_traits/infinity.hpp", - "external/sources/boost/boost/icl/type_traits/interval_type_default.hpp", - "external/sources/boost/boost/icl/type_traits/interval_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/is_associative_element_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_asymmetric_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_combinable.hpp", - "external/sources/boost/boost/icl/type_traits/is_concept_equivalent.hpp", - "external/sources/boost/boost/icl/type_traits/is_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_continuous.hpp", - "external/sources/boost/boost/icl/type_traits/is_continuous_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_discrete.hpp", - "external/sources/boost/boost/icl/type_traits/is_discrete_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_element_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_icl_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_increasing.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_joiner.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_separator.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_splitter.hpp", - "external/sources/boost/boost/icl/type_traits/is_key_container_of.hpp", - "external/sources/boost/boost/icl/type_traits/is_map.hpp", - "external/sources/boost/boost/icl/type_traits/is_numeric.hpp", - "external/sources/boost/boost/icl/type_traits/is_set.hpp", - "external/sources/boost/boost/icl/type_traits/is_total.hpp", - "external/sources/boost/boost/icl/type_traits/no_type.hpp", - "external/sources/boost/boost/icl/type_traits/predicate.hpp", - "external/sources/boost/boost/icl/type_traits/rep_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/segment_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/size.hpp", - "external/sources/boost/boost/icl/type_traits/size_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/succ_pred.hpp", - "external/sources/boost/boost/icl/type_traits/to_string.hpp", - "external/sources/boost/boost/icl/type_traits/type_to_string.hpp", - "external/sources/boost/boost/icl/type_traits/unit_element.hpp", - "external/sources/boost/boost/icl/type_traits/value_size.hpp", - "external/sources/boost/boost/implicit_cast.hpp", - "external/sources/boost/boost/indirect_reference.hpp", - "external/sources/boost/boost/integer.hpp", - "external/sources/boost/boost/integer/common_factor.hpp", - "external/sources/boost/boost/integer/common_factor_ct.hpp", - "external/sources/boost/boost/integer/common_factor_rt.hpp", - "external/sources/boost/boost/integer/extended_euclidean.hpp", - "external/sources/boost/boost/integer/integer_log2.hpp", - "external/sources/boost/boost/integer/integer_mask.hpp", - "external/sources/boost/boost/integer/mod_inverse.hpp", - "external/sources/boost/boost/integer/static_log2.hpp", - "external/sources/boost/boost/integer/static_min_max.hpp", - "external/sources/boost/boost/integer_fwd.hpp", - "external/sources/boost/boost/integer_traits.hpp", - "external/sources/boost/boost/interprocess/allocators/adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/cached_adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/cached_node_allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/adaptive_node_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/allocator_common.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/node_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/node_tools.hpp", - "external/sources/boost/boost/interprocess/allocators/node_allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/private_adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/private_node_allocator.hpp", - "external/sources/boost/boost/interprocess/anonymous_shared_memory.hpp", - "external/sources/boost/boost/interprocess/containers/allocation_type.hpp", - "external/sources/boost/boost/interprocess/containers/containers_fwd.hpp", - "external/sources/boost/boost/interprocess/containers/deque.hpp", - "external/sources/boost/boost/interprocess/containers/flat_map.hpp", - "external/sources/boost/boost/interprocess/containers/flat_set.hpp", - "external/sources/boost/boost/interprocess/containers/list.hpp", - "external/sources/boost/boost/interprocess/containers/map.hpp", - "external/sources/boost/boost/interprocess/containers/pair.hpp", - "external/sources/boost/boost/interprocess/containers/set.hpp", - "external/sources/boost/boost/interprocess/containers/slist.hpp", - "external/sources/boost/boost/interprocess/containers/stable_vector.hpp", - "external/sources/boost/boost/interprocess/containers/string.hpp", - "external/sources/boost/boost/interprocess/containers/vector.hpp", - "external/sources/boost/boost/interprocess/containers/version_type.hpp", - "external/sources/boost/boost/interprocess/creation_tags.hpp", - "external/sources/boost/boost/interprocess/detail/atomic.hpp", - "external/sources/boost/boost/interprocess/detail/cast_tags.hpp", - "external/sources/boost/boost/interprocess/detail/config_begin.hpp", - "external/sources/boost/boost/interprocess/detail/config_end.hpp", - "external/sources/boost/boost/interprocess/detail/config_external_begin.hpp", - "external/sources/boost/boost/interprocess/detail/config_external_end.hpp", - "external/sources/boost/boost/interprocess/detail/file_locking_helpers.hpp", - "external/sources/boost/boost/interprocess/detail/file_wrapper.hpp", - "external/sources/boost/boost/interprocess/detail/in_place_interface.hpp", - "external/sources/boost/boost/interprocess/detail/intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/intermodule_singleton_common.hpp", - "external/sources/boost/boost/interprocess/detail/interprocess_tester.hpp", - "external/sources/boost/boost/interprocess/detail/intersegment_ptr.hpp", - "external/sources/boost/boost/interprocess/detail/managed_global_memory.hpp", - "external/sources/boost/boost/interprocess/detail/managed_memory_impl.hpp", - "external/sources/boost/boost/interprocess/detail/managed_multi_shared_memory.hpp", - "external/sources/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp", - "external/sources/boost/boost/interprocess/detail/math_functions.hpp", - "external/sources/boost/boost/interprocess/detail/min_max.hpp", - "external/sources/boost/boost/interprocess/detail/move.hpp", - "external/sources/boost/boost/interprocess/detail/mpl.hpp", - "external/sources/boost/boost/interprocess/detail/named_proxy.hpp", - "external/sources/boost/boost/interprocess/detail/nothrow.hpp", - "external/sources/boost/boost/interprocess/detail/os_file_functions.hpp", - "external/sources/boost/boost/interprocess/detail/os_thread_functions.hpp", - "external/sources/boost/boost/interprocess/detail/pointer_type.hpp", - "external/sources/boost/boost/interprocess/detail/portable_intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/posix_time_types_wrk.hpp", - "external/sources/boost/boost/interprocess/detail/ptime_wrk.hpp", - "external/sources/boost/boost/interprocess/detail/robust_emulation.hpp", - "external/sources/boost/boost/interprocess/detail/segment_manager_helper.hpp", - "external/sources/boost/boost/interprocess/detail/shared_dir_helpers.hpp", - "external/sources/boost/boost/interprocess/detail/simple_swap.hpp", - "external/sources/boost/boost/interprocess/detail/std_fwd.hpp", - "external/sources/boost/boost/interprocess/detail/transform_iterator.hpp", - "external/sources/boost/boost/interprocess/detail/type_traits.hpp", - "external/sources/boost/boost/interprocess/detail/utilities.hpp", - "external/sources/boost/boost/interprocess/detail/variadic_templates_tools.hpp", - "external/sources/boost/boost/interprocess/detail/win32_api.hpp", - "external/sources/boost/boost/interprocess/detail/windows_intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/workaround.hpp", - "external/sources/boost/boost/interprocess/detail/xsi_shared_memory_file_wrapper.hpp", - "external/sources/boost/boost/interprocess/errors.hpp", - "external/sources/boost/boost/interprocess/exceptions.hpp", - "external/sources/boost/boost/interprocess/file_mapping.hpp", - "external/sources/boost/boost/interprocess/indexes/flat_map_index.hpp", - "external/sources/boost/boost/interprocess/indexes/iset_index.hpp", - "external/sources/boost/boost/interprocess/indexes/iunordered_set_index.hpp", - "external/sources/boost/boost/interprocess/indexes/map_index.hpp", - "external/sources/boost/boost/interprocess/indexes/null_index.hpp", - "external/sources/boost/boost/interprocess/indexes/unordered_map_index.hpp", - "external/sources/boost/boost/interprocess/interprocess_fwd.hpp", - "external/sources/boost/boost/interprocess/ipc/message_queue.hpp", - "external/sources/boost/boost/interprocess/managed_external_buffer.hpp", - "external/sources/boost/boost/interprocess/managed_heap_memory.hpp", - "external/sources/boost/boost/interprocess/managed_mapped_file.hpp", - "external/sources/boost/boost/interprocess/managed_shared_memory.hpp", - "external/sources/boost/boost/interprocess/managed_windows_shared_memory.hpp", - "external/sources/boost/boost/interprocess/managed_xsi_shared_memory.hpp", - "external/sources/boost/boost/interprocess/mapped_region.hpp", - "external/sources/boost/boost/interprocess/mem_algo/detail/mem_algo_common.hpp", - "external/sources/boost/boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp", - "external/sources/boost/boost/interprocess/mem_algo/rbtree_best_fit.hpp", - "external/sources/boost/boost/interprocess/mem_algo/simple_seq_fit.hpp", - "external/sources/boost/boost/interprocess/offset_ptr.hpp", - "external/sources/boost/boost/interprocess/permissions.hpp", - "external/sources/boost/boost/interprocess/segment_manager.hpp", - "external/sources/boost/boost/interprocess/shared_memory_object.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/deleter.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/bad_weak_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/shared_count.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/enable_shared_from_this.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/intrusive_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/scoped_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/shared_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/unique_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/weak_ptr.hpp", - "external/sources/boost/boost/interprocess/streams/bufferstream.hpp", - "external/sources/boost/boost/interprocess/streams/vectorstream.hpp", - "external/sources/boost/boost/interprocess/sync/detail/common_algorithms.hpp", - "external/sources/boost/boost/interprocess/sync/detail/condition_algorithm_8a.hpp", - "external/sources/boost/boost/interprocess/sync/detail/condition_any_algorithm.hpp", - "external/sources/boost/boost/interprocess/sync/detail/locks.hpp", - "external/sources/boost/boost/interprocess/sync/file_lock.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_condition.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_sharable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/lock_options.hpp", - "external/sources/boost/boost/interprocess/sync/mutex_family.hpp", - "external/sources/boost/boost/interprocess/sync/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/named_sharable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/null_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/condition.hpp", - "external/sources/boost/boost/interprocess/sync/posix/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/posix/pthread_helpers.hpp", - "external/sources/boost/boost/interprocess/sync/posix/ptime_to_timespec.hpp", - "external/sources/boost/boost/interprocess/sync/posix/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/posix/semaphore_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/scoped_lock.hpp", - "external/sources/boost/boost/interprocess/sync/sharable_lock.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_creation_functor.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/condition.hpp", - "external/sources/boost/boost/interprocess/sync/spin/interprocess_barrier.hpp", - "external/sources/boost/boost/interprocess/sync/spin/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/spin/wait.hpp", - "external/sources/boost/boost/interprocess/sync/upgradable_lock.hpp", - "external/sources/boost/boost/interprocess/sync/windows/condition.hpp", - "external/sources/boost/boost/interprocess/sync/windows/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_sync.hpp", - "external/sources/boost/boost/interprocess/sync/windows/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/windows/sync_utils.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_mutex_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_semaphore_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_wrapper_common.hpp", - "external/sources/boost/boost/interprocess/windows_shared_memory.hpp", - "external/sources/boost/boost/interprocess/xsi_key.hpp", - "external/sources/boost/boost/interprocess/xsi_shared_memory.hpp", - "external/sources/boost/boost/intrusive/any_hook.hpp", - "external/sources/boost/boost/intrusive/avl_set.hpp", - "external/sources/boost/boost/intrusive/avl_set_hook.hpp", - "external/sources/boost/boost/intrusive/avltree.hpp", - "external/sources/boost/boost/intrusive/avltree_algorithms.hpp", - "external/sources/boost/boost/intrusive/bs_set.hpp", - "external/sources/boost/boost/intrusive/bs_set_hook.hpp", - "external/sources/boost/boost/intrusive/bstree.hpp", - "external/sources/boost/boost/intrusive/bstree_algorithms.hpp", - "external/sources/boost/boost/intrusive/circular_list_algorithms.hpp", - "external/sources/boost/boost/intrusive/circular_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/derivation_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/algo_type.hpp", - "external/sources/boost/boost/intrusive/detail/algorithm.hpp", - "external/sources/boost/boost/intrusive/detail/any_node_and_algorithms.hpp", - "external/sources/boost/boost/intrusive/detail/array_initializer.hpp", - "external/sources/boost/boost/intrusive/detail/assert.hpp", - "external/sources/boost/boost/intrusive/detail/avltree_node.hpp", - "external/sources/boost/boost/intrusive/detail/bstree_algorithms_base.hpp", - "external/sources/boost/boost/intrusive/detail/common_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/detail/config_begin.hpp", - "external/sources/boost/boost/intrusive/detail/config_end.hpp", - "external/sources/boost/boost/intrusive/detail/default_header_holder.hpp", - "external/sources/boost/boost/intrusive/detail/ebo_functor_holder.hpp", - "external/sources/boost/boost/intrusive/detail/empty_node_checker.hpp", - "external/sources/boost/boost/intrusive/detail/equal_to_value.hpp", - "external/sources/boost/boost/intrusive/detail/exception_disposer.hpp", - "external/sources/boost/boost/intrusive/detail/function_detector.hpp", - "external/sources/boost/boost/intrusive/detail/generic_hook.hpp", - "external/sources/boost/boost/intrusive/detail/get_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/has_member_function_callable_with.hpp", - "external/sources/boost/boost/intrusive/detail/hashtable_node.hpp", - "external/sources/boost/boost/intrusive/detail/hook_traits.hpp", - "external/sources/boost/boost/intrusive/detail/iiterator.hpp", - "external/sources/boost/boost/intrusive/detail/is_stateful_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/iterator.hpp", - "external/sources/boost/boost/intrusive/detail/key_nodeptr_comp.hpp", - "external/sources/boost/boost/intrusive/detail/list_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/list_node.hpp", - "external/sources/boost/boost/intrusive/detail/math.hpp", - "external/sources/boost/boost/intrusive/detail/minimal_less_equal_header.hpp", - "external/sources/boost/boost/intrusive/detail/minimal_pair_header.hpp", - "external/sources/boost/boost/intrusive/detail/mpl.hpp", - "external/sources/boost/boost/intrusive/detail/node_cloner_disposer.hpp", - "external/sources/boost/boost/intrusive/detail/node_holder.hpp", - "external/sources/boost/boost/intrusive/detail/node_to_value.hpp", - "external/sources/boost/boost/intrusive/detail/parent_from_member.hpp", - "external/sources/boost/boost/intrusive/detail/rbtree_node.hpp", - "external/sources/boost/boost/intrusive/detail/reverse_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/simple_disposers.hpp", - "external/sources/boost/boost/intrusive/detail/size_holder.hpp", - "external/sources/boost/boost/intrusive/detail/slist_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/slist_node.hpp", - "external/sources/boost/boost/intrusive/detail/std_fwd.hpp", - "external/sources/boost/boost/intrusive/detail/transform_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/tree_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/tree_node.hpp", - "external/sources/boost/boost/intrusive/detail/tree_value_compare.hpp", - "external/sources/boost/boost/intrusive/detail/uncast.hpp", - "external/sources/boost/boost/intrusive/detail/workaround.hpp", - "external/sources/boost/boost/intrusive/hashtable.hpp", - "external/sources/boost/boost/intrusive/intrusive_fwd.hpp", - "external/sources/boost/boost/intrusive/linear_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/link_mode.hpp", - "external/sources/boost/boost/intrusive/list.hpp", - "external/sources/boost/boost/intrusive/list_hook.hpp", - "external/sources/boost/boost/intrusive/member_value_traits.hpp", - "external/sources/boost/boost/intrusive/options.hpp", - "external/sources/boost/boost/intrusive/pack_options.hpp", - "external/sources/boost/boost/intrusive/parent_from_member.hpp", - "external/sources/boost/boost/intrusive/pointer_plus_bits.hpp", - "external/sources/boost/boost/intrusive/pointer_rebind.hpp", - "external/sources/boost/boost/intrusive/pointer_traits.hpp", - "external/sources/boost/boost/intrusive/priority_compare.hpp", - "external/sources/boost/boost/intrusive/rbtree.hpp", - "external/sources/boost/boost/intrusive/rbtree_algorithms.hpp", - "external/sources/boost/boost/intrusive/set.hpp", - "external/sources/boost/boost/intrusive/set_hook.hpp", - "external/sources/boost/boost/intrusive/sg_set.hpp", - "external/sources/boost/boost/intrusive/sgtree.hpp", - "external/sources/boost/boost/intrusive/sgtree_algorithms.hpp", - "external/sources/boost/boost/intrusive/slist.hpp", - "external/sources/boost/boost/intrusive/slist_hook.hpp", - "external/sources/boost/boost/intrusive/splay_set.hpp", - "external/sources/boost/boost/intrusive/splaytree.hpp", - "external/sources/boost/boost/intrusive/splaytree_algorithms.hpp", - "external/sources/boost/boost/intrusive/treap.hpp", - "external/sources/boost/boost/intrusive/treap_algorithms.hpp", - "external/sources/boost/boost/intrusive/treap_set.hpp", - "external/sources/boost/boost/intrusive/trivial_value_traits.hpp", - "external/sources/boost/boost/intrusive/unordered_set.hpp", - "external/sources/boost/boost/intrusive/unordered_set_hook.hpp", - "external/sources/boost/boost/intrusive_ptr.hpp", - "external/sources/boost/boost/io/detail/buffer_fill.hpp", - "external/sources/boost/boost/io/detail/ostream_guard.hpp", - "external/sources/boost/boost/io/ios_state.hpp", - "external/sources/boost/boost/io/ostream_joiner.hpp", - "external/sources/boost/boost/io/ostream_put.hpp", - "external/sources/boost/boost/io/quoted.hpp", - "external/sources/boost/boost/io_fwd.hpp", - "external/sources/boost/boost/iostreams/categories.hpp", - "external/sources/boost/boost/iostreams/chain.hpp", - "external/sources/boost/boost/iostreams/char_traits.hpp", - "external/sources/boost/boost/iostreams/checked_operations.hpp", - "external/sources/boost/boost/iostreams/close.hpp", - "external/sources/boost/boost/iostreams/code_converter.hpp", - "external/sources/boost/boost/iostreams/combine.hpp", - "external/sources/boost/boost/iostreams/compose.hpp", - "external/sources/boost/boost/iostreams/concepts.hpp", - "external/sources/boost/boost/iostreams/constants.hpp", - "external/sources/boost/boost/iostreams/copy.hpp", - "external/sources/boost/boost/iostreams/detail/absolute_path.hpp", - "external/sources/boost/boost/iostreams/detail/access_control.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/concept_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/device_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/direct_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/filter_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/mode_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/non_blocking_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/output_iterator_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/range_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/add_facet.hpp", - "external/sources/boost/boost/iostreams/detail/bool_trait_def.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/forward.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream_buffer.hpp", - "external/sources/boost/boost/iostreams/detail/buffer.hpp", - "external/sources/boost/boost/iostreams/detail/call_traits.hpp", - "external/sources/boost/boost/iostreams/detail/char_traits.hpp", - "external/sources/boost/boost/iostreams/detail/codecvt_helper.hpp", - "external/sources/boost/boost/iostreams/detail/codecvt_holder.hpp", - "external/sources/boost/boost/iostreams/detail/config/auto_link.hpp", - "external/sources/boost/boost/iostreams/detail/config/bzip2.hpp", - "external/sources/boost/boost/iostreams/detail/config/codecvt.hpp", - "external/sources/boost/boost/iostreams/detail/config/disable_warnings.hpp", - "external/sources/boost/boost/iostreams/detail/config/dyn_link.hpp", - "external/sources/boost/boost/iostreams/detail/config/enable_warnings.hpp", - "external/sources/boost/boost/iostreams/detail/config/fpos.hpp", - "external/sources/boost/boost/iostreams/detail/config/gcc.hpp", - "external/sources/boost/boost/iostreams/detail/config/limits.hpp", - "external/sources/boost/boost/iostreams/detail/config/overload_resolution.hpp", - "external/sources/boost/boost/iostreams/detail/config/rtl.hpp", - "external/sources/boost/boost/iostreams/detail/config/unreachable_return.hpp", - "external/sources/boost/boost/iostreams/detail/config/wide_streams.hpp", - "external/sources/boost/boost/iostreams/detail/config/windows_posix.hpp", - "external/sources/boost/boost/iostreams/detail/config/zlib.hpp", - "external/sources/boost/boost/iostreams/detail/counted_array.hpp", - "external/sources/boost/boost/iostreams/detail/current_directory.hpp", - "external/sources/boost/boost/iostreams/detail/default_arg.hpp", - "external/sources/boost/boost/iostreams/detail/dispatch.hpp", - "external/sources/boost/boost/iostreams/detail/double_object.hpp", - "external/sources/boost/boost/iostreams/detail/enable_if_stream.hpp", - "external/sources/boost/boost/iostreams/detail/error.hpp", - "external/sources/boost/boost/iostreams/detail/execute.hpp", - "external/sources/boost/boost/iostreams/detail/file_handle.hpp", - "external/sources/boost/boost/iostreams/detail/forward.hpp", - "external/sources/boost/boost/iostreams/detail/fstream.hpp", - "external/sources/boost/boost/iostreams/detail/functional.hpp", - "external/sources/boost/boost/iostreams/detail/ios.hpp", - "external/sources/boost/boost/iostreams/detail/iostream.hpp", - "external/sources/boost/boost/iostreams/detail/is_dereferenceable.hpp", - "external/sources/boost/boost/iostreams/detail/is_iterator_range.hpp", - "external/sources/boost/boost/iostreams/detail/newline.hpp", - "external/sources/boost/boost/iostreams/detail/optional.hpp", - "external/sources/boost/boost/iostreams/detail/param_type.hpp", - "external/sources/boost/boost/iostreams/detail/path.hpp", - "external/sources/boost/boost/iostreams/detail/push.hpp", - "external/sources/boost/boost/iostreams/detail/push_params.hpp", - "external/sources/boost/boost/iostreams/detail/resolve.hpp", - "external/sources/boost/boost/iostreams/detail/restrict_impl.hpp", - "external/sources/boost/boost/iostreams/detail/select.hpp", - "external/sources/boost/boost/iostreams/detail/select_by_size.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/chainbuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/direct_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/indirect_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/linked_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/system_failure.hpp", - "external/sources/boost/boost/iostreams/detail/template_params.hpp", - "external/sources/boost/boost/iostreams/detail/translate_int_type.hpp", - "external/sources/boost/boost/iostreams/detail/wrap_unwrap.hpp", - "external/sources/boost/boost/iostreams/device/array.hpp", - "external/sources/boost/boost/iostreams/device/back_inserter.hpp", - "external/sources/boost/boost/iostreams/device/file.hpp", - "external/sources/boost/boost/iostreams/device/file_descriptor.hpp", - "external/sources/boost/boost/iostreams/device/mapped_file.hpp", - "external/sources/boost/boost/iostreams/device/null.hpp", - "external/sources/boost/boost/iostreams/filter/aggregate.hpp", - "external/sources/boost/boost/iostreams/filter/bzip2.hpp", - "external/sources/boost/boost/iostreams/filter/counter.hpp", - "external/sources/boost/boost/iostreams/filter/grep.hpp", - "external/sources/boost/boost/iostreams/filter/gzip.hpp", - "external/sources/boost/boost/iostreams/filter/line.hpp", - "external/sources/boost/boost/iostreams/filter/lzma.hpp", - "external/sources/boost/boost/iostreams/filter/newline.hpp", - "external/sources/boost/boost/iostreams/filter/regex.hpp", - "external/sources/boost/boost/iostreams/filter/stdio.hpp", - "external/sources/boost/boost/iostreams/filter/symmetric.hpp", - "external/sources/boost/boost/iostreams/filter/test.hpp", - "external/sources/boost/boost/iostreams/filter/zlib.hpp", - "external/sources/boost/boost/iostreams/filter/zstd.hpp", - "external/sources/boost/boost/iostreams/filtering_stream.hpp", - "external/sources/boost/boost/iostreams/filtering_streambuf.hpp", - "external/sources/boost/boost/iostreams/flush.hpp", - "external/sources/boost/boost/iostreams/get.hpp", - "external/sources/boost/boost/iostreams/imbue.hpp", - "external/sources/boost/boost/iostreams/input_sequence.hpp", - "external/sources/boost/boost/iostreams/invert.hpp", - "external/sources/boost/boost/iostreams/operations.hpp", - "external/sources/boost/boost/iostreams/operations_fwd.hpp", - "external/sources/boost/boost/iostreams/optimal_buffer_size.hpp", - "external/sources/boost/boost/iostreams/output_sequence.hpp", - "external/sources/boost/boost/iostreams/pipeline.hpp", - "external/sources/boost/boost/iostreams/positioning.hpp", - "external/sources/boost/boost/iostreams/put.hpp", - "external/sources/boost/boost/iostreams/putback.hpp", - "external/sources/boost/boost/iostreams/read.hpp", - "external/sources/boost/boost/iostreams/restrict.hpp", - "external/sources/boost/boost/iostreams/seek.hpp", - "external/sources/boost/boost/iostreams/skip.hpp", - "external/sources/boost/boost/iostreams/slice.hpp", - "external/sources/boost/boost/iostreams/stream.hpp", - "external/sources/boost/boost/iostreams/stream_buffer.hpp", - "external/sources/boost/boost/iostreams/tee.hpp", - "external/sources/boost/boost/iostreams/traits.hpp", - "external/sources/boost/boost/iostreams/traits_fwd.hpp", - "external/sources/boost/boost/iostreams/write.hpp", - "external/sources/boost/boost/is_placeholder.hpp", - "external/sources/boost/boost/iterator.hpp", - "external/sources/boost/boost/iterator/advance.hpp", - "external/sources/boost/boost/iterator/counting_iterator.hpp", - "external/sources/boost/boost/iterator/detail/any_conversion_eater.hpp", - "external/sources/boost/boost/iterator/detail/config_def.hpp", - "external/sources/boost/boost/iterator/detail/config_undef.hpp", - "external/sources/boost/boost/iterator/detail/enable_if.hpp", - "external/sources/boost/boost/iterator/detail/facade_iterator_category.hpp", - "external/sources/boost/boost/iterator/detail/minimum_category.hpp", - "external/sources/boost/boost/iterator/distance.hpp", - "external/sources/boost/boost/iterator/filter_iterator.hpp", - "external/sources/boost/boost/iterator/function_input_iterator.hpp", - "external/sources/boost/boost/iterator/function_output_iterator.hpp", - "external/sources/boost/boost/iterator/indirect_iterator.hpp", - "external/sources/boost/boost/iterator/interoperable.hpp", - "external/sources/boost/boost/iterator/is_lvalue_iterator.hpp", - "external/sources/boost/boost/iterator/is_readable_iterator.hpp", - "external/sources/boost/boost/iterator/iterator_adaptor.hpp", - "external/sources/boost/boost/iterator/iterator_archetypes.hpp", - "external/sources/boost/boost/iterator/iterator_categories.hpp", - "external/sources/boost/boost/iterator/iterator_concepts.hpp", - "external/sources/boost/boost/iterator/iterator_facade.hpp", - "external/sources/boost/boost/iterator/iterator_traits.hpp", - "external/sources/boost/boost/iterator/minimum_category.hpp", - "external/sources/boost/boost/iterator/new_iterator_tests.hpp", - "external/sources/boost/boost/iterator/permutation_iterator.hpp", - "external/sources/boost/boost/iterator/reverse_iterator.hpp", - "external/sources/boost/boost/iterator/transform_iterator.hpp", - "external/sources/boost/boost/iterator/zip_iterator.hpp", - "external/sources/boost/boost/iterator_adaptors.hpp", - "external/sources/boost/boost/lambda/algorithm.hpp", - "external/sources/boost/boost/lambda/bind.hpp", - "external/sources/boost/boost/lambda/casts.hpp", - "external/sources/boost/boost/lambda/closures.hpp", - "external/sources/boost/boost/lambda/construct.hpp", - "external/sources/boost/boost/lambda/control_structures.hpp", - "external/sources/boost/boost/lambda/core.hpp", - "external/sources/boost/boost/lambda/detail/actions.hpp", - "external/sources/boost/boost/lambda/detail/arity_code.hpp", - "external/sources/boost/boost/lambda/detail/bind_functions.hpp", - "external/sources/boost/boost/lambda/detail/control_constructs_common.hpp", - "external/sources/boost/boost/lambda/detail/function_adaptors.hpp", - "external/sources/boost/boost/lambda/detail/is_instance_of.hpp", - "external/sources/boost/boost/lambda/detail/lambda_config.hpp", - "external/sources/boost/boost/lambda/detail/lambda_functor_base.hpp", - "external/sources/boost/boost/lambda/detail/lambda_functors.hpp", - "external/sources/boost/boost/lambda/detail/lambda_fwd.hpp", - "external/sources/boost/boost/lambda/detail/lambda_traits.hpp", - "external/sources/boost/boost/lambda/detail/member_ptr.hpp", - "external/sources/boost/boost/lambda/detail/operator_actions.hpp", - "external/sources/boost/boost/lambda/detail/operator_lambda_func_base.hpp", - "external/sources/boost/boost/lambda/detail/operator_return_type_traits.hpp", - "external/sources/boost/boost/lambda/detail/operators.hpp", - "external/sources/boost/boost/lambda/detail/ret.hpp", - "external/sources/boost/boost/lambda/detail/return_type_traits.hpp", - "external/sources/boost/boost/lambda/detail/select_functions.hpp", - "external/sources/boost/boost/lambda/detail/suppress_unused.hpp", - "external/sources/boost/boost/lambda/exceptions.hpp", - "external/sources/boost/boost/lambda/if.hpp", - "external/sources/boost/boost/lambda/lambda.hpp", - "external/sources/boost/boost/lambda/loops.hpp", - "external/sources/boost/boost/lambda/numeric.hpp", - "external/sources/boost/boost/lambda/switch.hpp", - "external/sources/boost/boost/lexical_cast.hpp", - "external/sources/boost/boost/lexical_cast/bad_lexical_cast.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_lexical.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_numeric.hpp", - "external/sources/boost/boost/lexical_cast/detail/inf_nan.hpp", - "external/sources/boost/boost/lexical_cast/detail/is_character.hpp", - "external/sources/boost/boost/lexical_cast/detail/lcast_char_constants.hpp", - "external/sources/boost/boost/lexical_cast/detail/lcast_unsigned_converters.hpp", - "external/sources/boost/boost/lexical_cast/detail/widest_char.hpp", - "external/sources/boost/boost/lexical_cast/lexical_cast_old.hpp", - "external/sources/boost/boost/lexical_cast/try_lexical_convert.hpp", - "external/sources/boost/boost/limits.hpp", - "external/sources/boost/boost/local_function.hpp", - "external/sources/boost/boost/local_function/aux_/add_pointed_const.hpp", - "external/sources/boost/boost/local_function/aux_/function.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/bind.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/functor.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/result.hpp", - "external/sources/boost/boost/local_function/aux_/macro/decl.hpp", - "external/sources/boost/boost/local_function/aux_/macro/name.hpp", - "external/sources/boost/boost/local_function/aux_/macro/typeof.hpp", - "external/sources/boost/boost/local_function/aux_/member.hpp", - "external/sources/boost/boost/local_function/aux_/nobind.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/bind.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/append.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/index.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/nil.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/set_error.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_binds.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_const_binds.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_error.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_params.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_returns.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/any_bind_type.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/sign.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/defaults.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/this.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/param.hpp", - "external/sources/boost/boost/local_function/aux_/symbol.hpp", - "external/sources/boost/boost/local_function/config.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/auto.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/bind.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const_bind.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/default.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/add.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/is.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/remove.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/inline.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/recursive.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/register.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/return.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/this.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/thisunderscore.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/void.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/line_counter.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/void_list.hpp", - "external/sources/boost/boost/locale.hpp", - "external/sources/boost/boost/locale/boundary.hpp", - "external/sources/boost/boost/locale/boundary/boundary_point.hpp", - "external/sources/boost/boost/locale/boundary/facets.hpp", - "external/sources/boost/boost/locale/boundary/index.hpp", - "external/sources/boost/boost/locale/boundary/segment.hpp", - "external/sources/boost/boost/locale/boundary/types.hpp", - "external/sources/boost/boost/locale/collator.hpp", - "external/sources/boost/boost/locale/config.hpp", - "external/sources/boost/boost/locale/conversion.hpp", - "external/sources/boost/boost/locale/date_time.hpp", - "external/sources/boost/boost/locale/date_time_facet.hpp", - "external/sources/boost/boost/locale/definitions.hpp", - "external/sources/boost/boost/locale/encoding.hpp", - "external/sources/boost/boost/locale/encoding_errors.hpp", - "external/sources/boost/boost/locale/encoding_utf.hpp", - "external/sources/boost/boost/locale/format.hpp", - "external/sources/boost/boost/locale/formatting.hpp", - "external/sources/boost/boost/locale/generator.hpp", - "external/sources/boost/boost/locale/generic_codecvt.hpp", - "external/sources/boost/boost/locale/gnu_gettext.hpp", - "external/sources/boost/boost/locale/hold_ptr.hpp", - "external/sources/boost/boost/locale/info.hpp", - "external/sources/boost/boost/locale/localization_backend.hpp", - "external/sources/boost/boost/locale/message.hpp", - "external/sources/boost/boost/locale/time_zone.hpp", - "external/sources/boost/boost/locale/utf.hpp", - "external/sources/boost/boost/locale/utf8_codecvt.hpp", - "external/sources/boost/boost/locale/util.hpp", - "external/sources/boost/boost/lockfree/detail/atomic.hpp", - "external/sources/boost/boost/lockfree/detail/copy_payload.hpp", - "external/sources/boost/boost/lockfree/detail/freelist.hpp", - "external/sources/boost/boost/lockfree/detail/parameter.hpp", - "external/sources/boost/boost/lockfree/detail/prefix.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr_dcas.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp", - "external/sources/boost/boost/lockfree/lockfree_forward.hpp", - "external/sources/boost/boost/lockfree/policies.hpp", - "external/sources/boost/boost/lockfree/queue.hpp", - "external/sources/boost/boost/lockfree/spsc_queue.hpp", - "external/sources/boost/boost/lockfree/stack.hpp", - "external/sources/boost/boost/log/attributes.hpp", - "external/sources/boost/boost/log/attributes/attribute.hpp", - "external/sources/boost/boost/log/attributes/attribute_cast.hpp", - "external/sources/boost/boost/log/attributes/attribute_name.hpp", - "external/sources/boost/boost/log/attributes/attribute_set.hpp", - "external/sources/boost/boost/log/attributes/attribute_value.hpp", - "external/sources/boost/boost/log/attributes/attribute_value_impl.hpp", - "external/sources/boost/boost/log/attributes/attribute_value_set.hpp", - "external/sources/boost/boost/log/attributes/clock.hpp", - "external/sources/boost/boost/log/attributes/constant.hpp", - "external/sources/boost/boost/log/attributes/counter.hpp", - "external/sources/boost/boost/log/attributes/current_process_id.hpp", - "external/sources/boost/boost/log/attributes/current_process_name.hpp", - "external/sources/boost/boost/log/attributes/current_thread_id.hpp", - "external/sources/boost/boost/log/attributes/fallback_policy.hpp", - "external/sources/boost/boost/log/attributes/fallback_policy_fwd.hpp", - "external/sources/boost/boost/log/attributes/function.hpp", - "external/sources/boost/boost/log/attributes/mutable_constant.hpp", - "external/sources/boost/boost/log/attributes/named_scope.hpp", - "external/sources/boost/boost/log/attributes/scoped_attribute.hpp", - "external/sources/boost/boost/log/attributes/time_traits.hpp", - "external/sources/boost/boost/log/attributes/timer.hpp", - "external/sources/boost/boost/log/attributes/value_extraction.hpp", - "external/sources/boost/boost/log/attributes/value_extraction_fwd.hpp", - "external/sources/boost/boost/log/attributes/value_visitation.hpp", - "external/sources/boost/boost/log/attributes/value_visitation_fwd.hpp", - "external/sources/boost/boost/log/common.hpp", - "external/sources/boost/boost/log/core.hpp", - "external/sources/boost/boost/log/core/core.hpp", - "external/sources/boost/boost/log/core/record.hpp", - "external/sources/boost/boost/log/core/record_view.hpp", - "external/sources/boost/boost/log/detail/adaptive_mutex.hpp", - "external/sources/boost/boost/log/detail/allocator_traits.hpp", - "external/sources/boost/boost/log/detail/asio_fwd.hpp", - "external/sources/boost/boost/log/detail/attachable_sstream_buf.hpp", - "external/sources/boost/boost/log/detail/attr_output_impl.hpp", - "external/sources/boost/boost/log/detail/attr_output_terminal.hpp", - "external/sources/boost/boost/log/detail/attribute_get_value_impl.hpp", - "external/sources/boost/boost/log/detail/attribute_predicate.hpp", - "external/sources/boost/boost/log/detail/c_str.hpp", - "external/sources/boost/boost/log/detail/cleanup_scope_guard.hpp", - "external/sources/boost/boost/log/detail/code_conversion.hpp", - "external/sources/boost/boost/log/detail/config.hpp", - "external/sources/boost/boost/log/detail/copy_cv.hpp", - "external/sources/boost/boost/log/detail/custom_terminal_spec.hpp", - "external/sources/boost/boost/log/detail/date_time_fmt_gen_traits_fwd.hpp", - "external/sources/boost/boost/log/detail/date_time_format_parser.hpp", - "external/sources/boost/boost/log/detail/decomposed_time.hpp", - "external/sources/boost/boost/log/detail/deduce_char_type.hpp", - "external/sources/boost/boost/log/detail/default_attribute_names.hpp", - "external/sources/boost/boost/log/detail/embedded_string_type.hpp", - "external/sources/boost/boost/log/detail/enqueued_record.hpp", - "external/sources/boost/boost/log/detail/event.hpp", - "external/sources/boost/boost/log/detail/fake_mutex.hpp", - "external/sources/boost/boost/log/detail/footer.hpp", - "external/sources/boost/boost/log/detail/format.hpp", - "external/sources/boost/boost/log/detail/function_traits.hpp", - "external/sources/boost/boost/log/detail/generate_overloads.hpp", - "external/sources/boost/boost/log/detail/header.hpp", - "external/sources/boost/boost/log/detail/id.hpp", - "external/sources/boost/boost/log/detail/is_character_type.hpp", - "external/sources/boost/boost/log/detail/is_ostream.hpp", - "external/sources/boost/boost/log/detail/light_function.hpp", - "external/sources/boost/boost/log/detail/light_function_pp.hpp", - "external/sources/boost/boost/log/detail/light_rw_mutex.hpp", - "external/sources/boost/boost/log/detail/locking_ptr.hpp", - "external/sources/boost/boost/log/detail/locks.hpp", - "external/sources/boost/boost/log/detail/named_scope_fmt_pp.hpp", - "external/sources/boost/boost/log/detail/native_typeof.hpp", - "external/sources/boost/boost/log/detail/parameter_tools.hpp", - "external/sources/boost/boost/log/detail/pause.hpp", - "external/sources/boost/boost/log/detail/pp_identity.hpp", - "external/sources/boost/boost/log/detail/process_id.hpp", - "external/sources/boost/boost/log/detail/setup_config.hpp", - "external/sources/boost/boost/log/detail/sfinae_tools.hpp", - "external/sources/boost/boost/log/detail/singleton.hpp", - "external/sources/boost/boost/log/detail/sink_init_helpers.hpp", - "external/sources/boost/boost/log/detail/snprintf.hpp", - "external/sources/boost/boost/log/detail/tagged_integer.hpp", - "external/sources/boost/boost/log/detail/thread_id.hpp", - "external/sources/boost/boost/log/detail/thread_specific.hpp", - "external/sources/boost/boost/log/detail/threadsafe_queue.hpp", - "external/sources/boost/boost/log/detail/timestamp.hpp", - "external/sources/boost/boost/log/detail/trivial_keyword.hpp", - "external/sources/boost/boost/log/detail/unary_function_terminal.hpp", - "external/sources/boost/boost/log/detail/value_ref_visitation.hpp", - "external/sources/boost/boost/log/exceptions.hpp", - "external/sources/boost/boost/log/expressions.hpp", - "external/sources/boost/boost/log/expressions/attr.hpp", - "external/sources/boost/boost/log/expressions/attr_fwd.hpp", - "external/sources/boost/boost/log/expressions/filter.hpp", - "external/sources/boost/boost/log/expressions/formatter.hpp", - "external/sources/boost/boost/log/expressions/formatters.hpp", - "external/sources/boost/boost/log/expressions/formatters/auto_newline.hpp", - "external/sources/boost/boost/log/expressions/formatters/c_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/char_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/csv_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/date_time.hpp", - "external/sources/boost/boost/log/expressions/formatters/format.hpp", - "external/sources/boost/boost/log/expressions/formatters/if.hpp", - "external/sources/boost/boost/log/expressions/formatters/max_size_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/named_scope.hpp", - "external/sources/boost/boost/log/expressions/formatters/stream.hpp", - "external/sources/boost/boost/log/expressions/formatters/wrap_formatter.hpp", - "external/sources/boost/boost/log/expressions/formatters/xml_decorator.hpp", - "external/sources/boost/boost/log/expressions/is_keyword_descriptor.hpp", - "external/sources/boost/boost/log/expressions/keyword.hpp", - "external/sources/boost/boost/log/expressions/keyword_fwd.hpp", - "external/sources/boost/boost/log/expressions/message.hpp", - "external/sources/boost/boost/log/expressions/predicates.hpp", - "external/sources/boost/boost/log/expressions/predicates/begins_with.hpp", - "external/sources/boost/boost/log/expressions/predicates/channel_severity_filter.hpp", - "external/sources/boost/boost/log/expressions/predicates/contains.hpp", - "external/sources/boost/boost/log/expressions/predicates/ends_with.hpp", - "external/sources/boost/boost/log/expressions/predicates/has_attr.hpp", - "external/sources/boost/boost/log/expressions/predicates/is_debugger_present.hpp", - "external/sources/boost/boost/log/expressions/predicates/is_in_range.hpp", - "external/sources/boost/boost/log/expressions/predicates/matches.hpp", - "external/sources/boost/boost/log/expressions/record.hpp", - "external/sources/boost/boost/log/keywords/auto_flush.hpp", - "external/sources/boost/boost/log/keywords/auto_newline_mode.hpp", - "external/sources/boost/boost/log/keywords/block_size.hpp", - "external/sources/boost/boost/log/keywords/capacity.hpp", - "external/sources/boost/boost/log/keywords/channel.hpp", - "external/sources/boost/boost/log/keywords/delimiter.hpp", - "external/sources/boost/boost/log/keywords/depth.hpp", - "external/sources/boost/boost/log/keywords/empty_marker.hpp", - "external/sources/boost/boost/log/keywords/enable_final_rotation.hpp", - "external/sources/boost/boost/log/keywords/facility.hpp", - "external/sources/boost/boost/log/keywords/file_name.hpp", - "external/sources/boost/boost/log/keywords/filter.hpp", - "external/sources/boost/boost/log/keywords/format.hpp", - "external/sources/boost/boost/log/keywords/ident.hpp", - "external/sources/boost/boost/log/keywords/incomplete_marker.hpp", - "external/sources/boost/boost/log/keywords/ip_version.hpp", - "external/sources/boost/boost/log/keywords/iteration.hpp", - "external/sources/boost/boost/log/keywords/log_name.hpp", - "external/sources/boost/boost/log/keywords/log_source.hpp", - "external/sources/boost/boost/log/keywords/max_files.hpp", - "external/sources/boost/boost/log/keywords/max_size.hpp", - "external/sources/boost/boost/log/keywords/message_file.hpp", - "external/sources/boost/boost/log/keywords/min_free_space.hpp", - "external/sources/boost/boost/log/keywords/name.hpp", - "external/sources/boost/boost/log/keywords/open_mode.hpp", - "external/sources/boost/boost/log/keywords/order.hpp", - "external/sources/boost/boost/log/keywords/ordering_window.hpp", - "external/sources/boost/boost/log/keywords/overflow_policy.hpp", - "external/sources/boost/boost/log/keywords/permissions.hpp", - "external/sources/boost/boost/log/keywords/registration.hpp", - "external/sources/boost/boost/log/keywords/rotation_size.hpp", - "external/sources/boost/boost/log/keywords/scan_method.hpp", - "external/sources/boost/boost/log/keywords/severity.hpp", - "external/sources/boost/boost/log/keywords/start_thread.hpp", - "external/sources/boost/boost/log/keywords/target.hpp", - "external/sources/boost/boost/log/keywords/target_file_name.hpp", - "external/sources/boost/boost/log/keywords/time_based_rotation.hpp", - "external/sources/boost/boost/log/keywords/use_impl.hpp", - "external/sources/boost/boost/log/sinks.hpp", - "external/sources/boost/boost/log/sinks/async_frontend.hpp", - "external/sources/boost/boost/log/sinks/attribute_mapping.hpp", - "external/sources/boost/boost/log/sinks/auto_newline_mode.hpp", - "external/sources/boost/boost/log/sinks/basic_sink_backend.hpp", - "external/sources/boost/boost/log/sinks/basic_sink_frontend.hpp", - "external/sources/boost/boost/log/sinks/block_on_overflow.hpp", - "external/sources/boost/boost/log/sinks/bounded_fifo_queue.hpp", - "external/sources/boost/boost/log/sinks/bounded_ordering_queue.hpp", - "external/sources/boost/boost/log/sinks/debug_output_backend.hpp", - "external/sources/boost/boost/log/sinks/drop_on_overflow.hpp", - "external/sources/boost/boost/log/sinks/event_log_backend.hpp", - "external/sources/boost/boost/log/sinks/event_log_constants.hpp", - "external/sources/boost/boost/log/sinks/frontend_requirements.hpp", - "external/sources/boost/boost/log/sinks/sink.hpp", - "external/sources/boost/boost/log/sinks/sync_frontend.hpp", - "external/sources/boost/boost/log/sinks/syslog_backend.hpp", - "external/sources/boost/boost/log/sinks/syslog_constants.hpp", - "external/sources/boost/boost/log/sinks/text_file_backend.hpp", - "external/sources/boost/boost/log/sinks/text_ipc_message_queue_backend.hpp", - "external/sources/boost/boost/log/sinks/text_multifile_backend.hpp", - "external/sources/boost/boost/log/sinks/text_ostream_backend.hpp", - "external/sources/boost/boost/log/sinks/unbounded_fifo_queue.hpp", - "external/sources/boost/boost/log/sinks/unbounded_ordering_queue.hpp", - "external/sources/boost/boost/log/sinks/unlocked_frontend.hpp", - "external/sources/boost/boost/log/sources/basic_logger.hpp", - "external/sources/boost/boost/log/sources/channel_feature.hpp", - "external/sources/boost/boost/log/sources/channel_logger.hpp", - "external/sources/boost/boost/log/sources/exception_handler_feature.hpp", - "external/sources/boost/boost/log/sources/features.hpp", - "external/sources/boost/boost/log/sources/global_logger_storage.hpp", - "external/sources/boost/boost/log/sources/logger.hpp", - "external/sources/boost/boost/log/sources/record_ostream.hpp", - "external/sources/boost/boost/log/sources/severity_channel_logger.hpp", - "external/sources/boost/boost/log/sources/severity_feature.hpp", - "external/sources/boost/boost/log/sources/severity_logger.hpp", - "external/sources/boost/boost/log/sources/threading_models.hpp", - "external/sources/boost/boost/log/support/date_time.hpp", - "external/sources/boost/boost/log/support/exception.hpp", - "external/sources/boost/boost/log/support/regex.hpp", - "external/sources/boost/boost/log/support/spirit_classic.hpp", - "external/sources/boost/boost/log/support/spirit_qi.hpp", - "external/sources/boost/boost/log/support/std_regex.hpp", - "external/sources/boost/boost/log/support/xpressive.hpp", - "external/sources/boost/boost/log/trivial.hpp", - "external/sources/boost/boost/log/utility/exception_handler.hpp", - "external/sources/boost/boost/log/utility/formatting_ostream.hpp", - "external/sources/boost/boost/log/utility/formatting_ostream_fwd.hpp", - "external/sources/boost/boost/log/utility/functional.hpp", - "external/sources/boost/boost/log/utility/functional/as_action.hpp", - "external/sources/boost/boost/log/utility/functional/begins_with.hpp", - "external/sources/boost/boost/log/utility/functional/bind.hpp", - "external/sources/boost/boost/log/utility/functional/bind_assign.hpp", - "external/sources/boost/boost/log/utility/functional/bind_output.hpp", - "external/sources/boost/boost/log/utility/functional/bind_to_log.hpp", - "external/sources/boost/boost/log/utility/functional/contains.hpp", - "external/sources/boost/boost/log/utility/functional/ends_with.hpp", - "external/sources/boost/boost/log/utility/functional/fun_ref.hpp", - "external/sources/boost/boost/log/utility/functional/in_range.hpp", - "external/sources/boost/boost/log/utility/functional/logical.hpp", - "external/sources/boost/boost/log/utility/functional/matches.hpp", - "external/sources/boost/boost/log/utility/functional/nop.hpp", - "external/sources/boost/boost/log/utility/functional/save_result.hpp", - "external/sources/boost/boost/log/utility/ipc/object_name.hpp", - "external/sources/boost/boost/log/utility/ipc/reliable_message_queue.hpp", - "external/sources/boost/boost/log/utility/manipulators.hpp", - "external/sources/boost/boost/log/utility/manipulators/add_value.hpp", - "external/sources/boost/boost/log/utility/manipulators/auto_newline.hpp", - "external/sources/boost/boost/log/utility/manipulators/dump.hpp", - "external/sources/boost/boost/log/utility/manipulators/optional.hpp", - "external/sources/boost/boost/log/utility/manipulators/range.hpp", - "external/sources/boost/boost/log/utility/manipulators/to_log.hpp", - "external/sources/boost/boost/log/utility/manipulators/tuple.hpp", - "external/sources/boost/boost/log/utility/once_block.hpp", - "external/sources/boost/boost/log/utility/open_mode.hpp", - "external/sources/boost/boost/log/utility/permissions.hpp", - "external/sources/boost/boost/log/utility/record_ordering.hpp", - "external/sources/boost/boost/log/utility/setup.hpp", - "external/sources/boost/boost/log/utility/setup/common_attributes.hpp", - "external/sources/boost/boost/log/utility/setup/console.hpp", - "external/sources/boost/boost/log/utility/setup/file.hpp", - "external/sources/boost/boost/log/utility/setup/filter_parser.hpp", - "external/sources/boost/boost/log/utility/setup/formatter_parser.hpp", - "external/sources/boost/boost/log/utility/setup/from_settings.hpp", - "external/sources/boost/boost/log/utility/setup/from_stream.hpp", - "external/sources/boost/boost/log/utility/setup/settings.hpp", - "external/sources/boost/boost/log/utility/setup/settings_parser.hpp", - "external/sources/boost/boost/log/utility/strictest_lock.hpp", - "external/sources/boost/boost/log/utility/string_literal.hpp", - "external/sources/boost/boost/log/utility/string_literal_fwd.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/date_time_types.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/dynamic_type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/standard_types.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/static_type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/unique_identifier_name.hpp", - "external/sources/boost/boost/log/utility/unused_variable.hpp", - "external/sources/boost/boost/log/utility/value_ref.hpp", - "external/sources/boost/boost/log/utility/value_ref_fwd.hpp", - "external/sources/boost/boost/logic/tribool.hpp", - "external/sources/boost/boost/logic/tribool_fwd.hpp", - "external/sources/boost/boost/logic/tribool_io.hpp", - "external/sources/boost/boost/make_default.hpp", - "external/sources/boost/boost/make_shared.hpp", - "external/sources/boost/boost/make_unique.hpp", - "external/sources/boost/boost/math/bindings/detail/big_digamma.hpp", - "external/sources/boost/boost/math/bindings/detail/big_lanczos.hpp", - "external/sources/boost/boost/math/bindings/e_float.hpp", - "external/sources/boost/boost/math/bindings/mpfr.hpp", - "external/sources/boost/boost/math/bindings/mpreal.hpp", - "external/sources/boost/boost/math/bindings/rr.hpp", - "external/sources/boost/boost/math/common_factor.hpp", - "external/sources/boost/boost/math/common_factor_ct.hpp", - "external/sources/boost/boost/math/common_factor_rt.hpp", - "external/sources/boost/boost/math/complex.hpp", - "external/sources/boost/boost/math/complex/acos.hpp", - "external/sources/boost/boost/math/complex/acosh.hpp", - "external/sources/boost/boost/math/complex/asin.hpp", - "external/sources/boost/boost/math/complex/asinh.hpp", - "external/sources/boost/boost/math/complex/atan.hpp", - "external/sources/boost/boost/math/complex/atanh.hpp", - "external/sources/boost/boost/math/complex/details.hpp", - "external/sources/boost/boost/math/complex/fabs.hpp", - "external/sources/boost/boost/math/concepts/distributions.hpp", - "external/sources/boost/boost/math/concepts/real_concept.hpp", - "external/sources/boost/boost/math/concepts/real_type_concept.hpp", - "external/sources/boost/boost/math/concepts/std_real_concept.hpp", - "external/sources/boost/boost/math/constants/calculate_constants.hpp", - "external/sources/boost/boost/math/constants/constants.hpp", - "external/sources/boost/boost/math/constants/info.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_cmath.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex_std.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_iostream.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_limits.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_types.hpp", - "external/sources/boost/boost/math/differentiation/autodiff.hpp", - "external/sources/boost/boost/math/differentiation/autodiff_cpp11.hpp", - "external/sources/boost/boost/math/differentiation/finite_difference.hpp", - "external/sources/boost/boost/math/differentiation/lanczos_smoothing.hpp", - "external/sources/boost/boost/math/distributions.hpp", - "external/sources/boost/boost/math/distributions/arcsine.hpp", - "external/sources/boost/boost/math/distributions/bernoulli.hpp", - "external/sources/boost/boost/math/distributions/beta.hpp", - "external/sources/boost/boost/math/distributions/binomial.hpp", - "external/sources/boost/boost/math/distributions/cauchy.hpp", - "external/sources/boost/boost/math/distributions/chi_squared.hpp", - "external/sources/boost/boost/math/distributions/complement.hpp", - "external/sources/boost/boost/math/distributions/detail/common_error_handling.hpp", - "external/sources/boost/boost/math/distributions/detail/derived_accessors.hpp", - "external/sources/boost/boost/math/distributions/detail/generic_mode.hpp", - "external/sources/boost/boost/math/distributions/detail/generic_quantile.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_cdf.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_pdf.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_quantile.hpp", - "external/sources/boost/boost/math/distributions/detail/inv_discrete_quantile.hpp", - "external/sources/boost/boost/math/distributions/empirical_cumulative_distribution_function.hpp", - "external/sources/boost/boost/math/distributions/exponential.hpp", - "external/sources/boost/boost/math/distributions/extreme_value.hpp", - "external/sources/boost/boost/math/distributions/find_location.hpp", - "external/sources/boost/boost/math/distributions/find_scale.hpp", - "external/sources/boost/boost/math/distributions/fisher_f.hpp", - "external/sources/boost/boost/math/distributions/fwd.hpp", - "external/sources/boost/boost/math/distributions/gamma.hpp", - "external/sources/boost/boost/math/distributions/geometric.hpp", - "external/sources/boost/boost/math/distributions/hyperexponential.hpp", - "external/sources/boost/boost/math/distributions/hypergeometric.hpp", - "external/sources/boost/boost/math/distributions/inverse_chi_squared.hpp", - "external/sources/boost/boost/math/distributions/inverse_gamma.hpp", - "external/sources/boost/boost/math/distributions/inverse_gaussian.hpp", - "external/sources/boost/boost/math/distributions/laplace.hpp", - "external/sources/boost/boost/math/distributions/logistic.hpp", - "external/sources/boost/boost/math/distributions/lognormal.hpp", - "external/sources/boost/boost/math/distributions/negative_binomial.hpp", - "external/sources/boost/boost/math/distributions/non_central_beta.hpp", - "external/sources/boost/boost/math/distributions/non_central_chi_squared.hpp", - "external/sources/boost/boost/math/distributions/non_central_f.hpp", - "external/sources/boost/boost/math/distributions/non_central_t.hpp", - "external/sources/boost/boost/math/distributions/normal.hpp", - "external/sources/boost/boost/math/distributions/pareto.hpp", - "external/sources/boost/boost/math/distributions/poisson.hpp", - "external/sources/boost/boost/math/distributions/rayleigh.hpp", - "external/sources/boost/boost/math/distributions/skew_normal.hpp", - "external/sources/boost/boost/math/distributions/students_t.hpp", - "external/sources/boost/boost/math/distributions/triangular.hpp", - "external/sources/boost/boost/math/distributions/uniform.hpp", - "external/sources/boost/boost/math/distributions/weibull.hpp", - "external/sources/boost/boost/math/filters/daubechies.hpp", - "external/sources/boost/boost/math/interpolators/barycentric_rational.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_cubic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_quintic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_trigonometric.hpp", - "external/sources/boost/boost/math/interpolators/catmull_rom.hpp", - "external/sources/boost/boost/math/interpolators/cubic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cubic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/detail/barycentric_rational_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_cubic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_quadratic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_quintic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_trigonometric_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cubic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cubic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/quintic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/septic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/vector_barycentric_rational_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/whittaker_shannon_detail.hpp", - "external/sources/boost/boost/math/interpolators/makima.hpp", - "external/sources/boost/boost/math/interpolators/pchip.hpp", - "external/sources/boost/boost/math/interpolators/quintic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/septic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/vector_barycentric_rational.hpp", - "external/sources/boost/boost/math/interpolators/whittaker_shannon.hpp", - "external/sources/boost/boost/math/octonion.hpp", - "external/sources/boost/boost/math/policies/error_handling.hpp", - "external/sources/boost/boost/math/policies/policy.hpp", - "external/sources/boost/boost/math/quadrature/detail/exp_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/ooura_fourier_integrals_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/sinh_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_constants.hpp", - "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/exp_sinh.hpp", - "external/sources/boost/boost/math/quadrature/gauss.hpp", - "external/sources/boost/boost/math/quadrature/gauss_kronrod.hpp", - "external/sources/boost/boost/math/quadrature/naive_monte_carlo.hpp", - "external/sources/boost/boost/math/quadrature/ooura_fourier_integrals.hpp", - "external/sources/boost/boost/math/quadrature/sinh_sinh.hpp", - "external/sources/boost/boost/math/quadrature/tanh_sinh.hpp", - "external/sources/boost/boost/math/quadrature/trapezoidal.hpp", - "external/sources/boost/boost/math/quadrature/wavelet_transforms.hpp", - "external/sources/boost/boost/math/quaternion.hpp", - "external/sources/boost/boost/math/special_functions.hpp", - "external/sources/boost/boost/math/special_functions/acosh.hpp", - "external/sources/boost/boost/math/special_functions/airy.hpp", - "external/sources/boost/boost/math/special_functions/asinh.hpp", - "external/sources/boost/boost/math/special_functions/atanh.hpp", - "external/sources/boost/boost/math/special_functions/bernoulli.hpp", - "external/sources/boost/boost/math/special_functions/bessel.hpp", - "external/sources/boost/boost/math/special_functions/bessel_iterators.hpp", - "external/sources/boost/boost/math/special_functions/bessel_prime.hpp", - "external/sources/boost/boost/math/special_functions/beta.hpp", - "external/sources/boost/boost/math/special_functions/binomial.hpp", - "external/sources/boost/boost/math/special_functions/cardinal_b_spline.hpp", - "external/sources/boost/boost/math/special_functions/cbrt.hpp", - "external/sources/boost/boost/math/special_functions/chebyshev.hpp", - "external/sources/boost/boost/math/special_functions/chebyshev_transform.hpp", - "external/sources/boost/boost/math/special_functions/cos_pi.hpp", - "external/sources/boost/boost/math/special_functions/daubechies_scaling.hpp", - "external/sources/boost/boost/math/special_functions/daubechies_wavelet.hpp", - "external/sources/boost/boost/math/special_functions/detail/airy_ai_bi_zero.hpp", - "external/sources/boost/boost/math/special_functions/detail/bernoulli_details.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_derivatives_linear.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_i0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_i1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_ik.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_j0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_j1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jn.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_zero.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_k0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_k1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_kn.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_y0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_y1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_yn.hpp", - "external/sources/boost/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp", - "external/sources/boost/boost/math/special_functions/detail/erf_inv.hpp", - "external/sources/boost/boost/math/special_functions/detail/fp_traits.hpp", - "external/sources/boost/boost/math/special_functions/detail/gamma_inva.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_0F1_bessel.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_addition_theorems_on_z.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_bessel.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_by_ratios.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_cf.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_a.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_abz.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_negative_b_regions.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_scaled_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_small_a_negative_b_by_ratio.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_cf.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pFq_checked_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pade.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_rational.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_separated_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/ibeta_inv_ab.hpp", - "external/sources/boost/boost/math/special_functions/detail/ibeta_inverse.hpp", - "external/sources/boost/boost/math/special_functions/detail/iconv.hpp", - "external/sources/boost/boost/math/special_functions/detail/igamma_inverse.hpp", - "external/sources/boost/boost/math/special_functions/detail/igamma_large.hpp", - "external/sources/boost/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", - "external/sources/boost/boost/math/special_functions/detail/lanczos_sse2.hpp", - "external/sources/boost/boost/math/special_functions/detail/lgamma_small.hpp", - "external/sources/boost/boost/math/special_functions/detail/polygamma.hpp", - "external/sources/boost/boost/math/special_functions/detail/round_fwd.hpp", - "external/sources/boost/boost/math/special_functions/detail/t_distribution_inv.hpp", - "external/sources/boost/boost/math/special_functions/detail/unchecked_bernoulli.hpp", - "external/sources/boost/boost/math/special_functions/detail/unchecked_factorial.hpp", - "external/sources/boost/boost/math/special_functions/digamma.hpp", - "external/sources/boost/boost/math/special_functions/ellint_1.hpp", - "external/sources/boost/boost/math/special_functions/ellint_2.hpp", - "external/sources/boost/boost/math/special_functions/ellint_3.hpp", - "external/sources/boost/boost/math/special_functions/ellint_d.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rc.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rd.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rf.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rg.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rj.hpp", - "external/sources/boost/boost/math/special_functions/erf.hpp", - "external/sources/boost/boost/math/special_functions/expint.hpp", - "external/sources/boost/boost/math/special_functions/expm1.hpp", - "external/sources/boost/boost/math/special_functions/factorials.hpp", - "external/sources/boost/boost/math/special_functions/fpclassify.hpp", - "external/sources/boost/boost/math/special_functions/gamma.hpp", - "external/sources/boost/boost/math/special_functions/gegenbauer.hpp", - "external/sources/boost/boost/math/special_functions/hankel.hpp", - "external/sources/boost/boost/math/special_functions/hermite.hpp", - "external/sources/boost/boost/math/special_functions/heuman_lambda.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_0F1.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_1F0.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_1F1.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_2F0.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_pFq.hpp", - "external/sources/boost/boost/math/special_functions/hypot.hpp", - "external/sources/boost/boost/math/special_functions/jacobi.hpp", - "external/sources/boost/boost/math/special_functions/jacobi_elliptic.hpp", - "external/sources/boost/boost/math/special_functions/jacobi_zeta.hpp", - "external/sources/boost/boost/math/special_functions/laguerre.hpp", - "external/sources/boost/boost/math/special_functions/lambert_w.hpp", - "external/sources/boost/boost/math/special_functions/lanczos.hpp", - "external/sources/boost/boost/math/special_functions/legendre.hpp", - "external/sources/boost/boost/math/special_functions/legendre_stieltjes.hpp", - "external/sources/boost/boost/math/special_functions/log1p.hpp", - "external/sources/boost/boost/math/special_functions/math_fwd.hpp", - "external/sources/boost/boost/math/special_functions/modf.hpp", - "external/sources/boost/boost/math/special_functions/next.hpp", - "external/sources/boost/boost/math/special_functions/nonfinite_num_facets.hpp", - "external/sources/boost/boost/math/special_functions/owens_t.hpp", - "external/sources/boost/boost/math/special_functions/polygamma.hpp", - "external/sources/boost/boost/math/special_functions/pow.hpp", - "external/sources/boost/boost/math/special_functions/powm1.hpp", - "external/sources/boost/boost/math/special_functions/prime.hpp", - "external/sources/boost/boost/math/special_functions/relative_difference.hpp", - "external/sources/boost/boost/math/special_functions/round.hpp", - "external/sources/boost/boost/math/special_functions/sign.hpp", - "external/sources/boost/boost/math/special_functions/sin_pi.hpp", - "external/sources/boost/boost/math/special_functions/sinc.hpp", - "external/sources/boost/boost/math/special_functions/sinhc.hpp", - "external/sources/boost/boost/math/special_functions/spherical_harmonic.hpp", - "external/sources/boost/boost/math/special_functions/sqrt1pm1.hpp", - "external/sources/boost/boost/math/special_functions/trigamma.hpp", - "external/sources/boost/boost/math/special_functions/trunc.hpp", - "external/sources/boost/boost/math/special_functions/ulp.hpp", - "external/sources/boost/boost/math/special_functions/zeta.hpp", - "external/sources/boost/boost/math/statistics/anderson_darling.hpp", - "external/sources/boost/boost/math/statistics/bivariate_statistics.hpp", - "external/sources/boost/boost/math/statistics/linear_regression.hpp", - "external/sources/boost/boost/math/statistics/ljung_box.hpp", - "external/sources/boost/boost/math/statistics/runs_test.hpp", - "external/sources/boost/boost/math/statistics/signal_statistics.hpp", - "external/sources/boost/boost/math/statistics/t_test.hpp", - "external/sources/boost/boost/math/statistics/univariate_statistics.hpp", - "external/sources/boost/boost/math/tools/atomic.hpp", - "external/sources/boost/boost/math/tools/big_constant.hpp", - "external/sources/boost/boost/math/tools/bivariate_statistics.hpp", - "external/sources/boost/boost/math/tools/complex.hpp", - "external/sources/boost/boost/math/tools/condition_numbers.hpp", - "external/sources/boost/boost/math/tools/config.hpp", - "external/sources/boost/boost/math/tools/convert_from_string.hpp", - "external/sources/boost/boost/math/tools/cxx03_warn.hpp", - "external/sources/boost/boost/math/tools/detail/is_const_iterable.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_9.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_9.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_9.hpp", - "external/sources/boost/boost/math/tools/fraction.hpp", - "external/sources/boost/boost/math/tools/minima.hpp", - "external/sources/boost/boost/math/tools/norms.hpp", - "external/sources/boost/boost/math/tools/numerical_differentiation.hpp", - "external/sources/boost/boost/math/tools/polynomial.hpp", - "external/sources/boost/boost/math/tools/polynomial_gcd.hpp", - "external/sources/boost/boost/math/tools/precision.hpp", - "external/sources/boost/boost/math/tools/promotion.hpp", - "external/sources/boost/boost/math/tools/rational.hpp", - "external/sources/boost/boost/math/tools/real_cast.hpp", - "external/sources/boost/boost/math/tools/recurrence.hpp", - "external/sources/boost/boost/math/tools/roots.hpp", - "external/sources/boost/boost/math/tools/series.hpp", - "external/sources/boost/boost/math/tools/signal_statistics.hpp", - "external/sources/boost/boost/math/tools/stats.hpp", - "external/sources/boost/boost/math/tools/test_value.hpp", - "external/sources/boost/boost/math/tools/toms748_solve.hpp", - "external/sources/boost/boost/math/tools/traits.hpp", - "external/sources/boost/boost/math/tools/tuple.hpp", - "external/sources/boost/boost/math/tools/univariate_statistics.hpp", - "external/sources/boost/boost/math/tools/user.hpp", - "external/sources/boost/boost/math/tools/workaround.hpp", - "external/sources/boost/boost/math/tr1.hpp", - "external/sources/boost/boost/math/tr1_c_macros.ipp", - "external/sources/boost/boost/math_fwd.hpp", - "external/sources/boost/boost/mem_fn.hpp", - "external/sources/boost/boost/memory_order.hpp", - "external/sources/boost/boost/metaparse.hpp", - "external/sources/boost/boost/metaparse/accept.hpp", - "external/sources/boost/boost/metaparse/accept_tag.hpp", - "external/sources/boost/boost/metaparse/accept_when.hpp", - "external/sources/boost/boost/metaparse/alphanum.hpp", - "external/sources/boost/boost/metaparse/always.hpp", - "external/sources/boost/boost/metaparse/always_c.hpp", - "external/sources/boost/boost/metaparse/change_error_message.hpp", - "external/sources/boost/boost/metaparse/config.hpp", - "external/sources/boost/boost/metaparse/debug_parsing_error.hpp", - "external/sources/boost/boost/metaparse/define_error.hpp", - "external/sources/boost/boost/metaparse/digit.hpp", - "external/sources/boost/boost/metaparse/digit_val.hpp", - "external/sources/boost/boost/metaparse/empty.hpp", - "external/sources/boost/boost/metaparse/entire_input.hpp", - "external/sources/boost/boost/metaparse/error/digit_expected.hpp", - "external/sources/boost/boost/metaparse/error/end_of_input_expected.hpp", - "external/sources/boost/boost/metaparse/error/index_out_of_range.hpp", - "external/sources/boost/boost/metaparse/error/letter_expected.hpp", - "external/sources/boost/boost/metaparse/error/literal_expected.hpp", - "external/sources/boost/boost/metaparse/error/none_of_the_expected_cases_found.hpp", - "external/sources/boost/boost/metaparse/error/unexpected_character.hpp", - "external/sources/boost/boost/metaparse/error/unexpected_end_of_input.hpp", - "external/sources/boost/boost/metaparse/error/unpaired.hpp", - "external/sources/boost/boost/metaparse/error/whitespace_expected.hpp", - "external/sources/boost/boost/metaparse/except.hpp", - "external/sources/boost/boost/metaparse/fail.hpp", - "external/sources/boost/boost/metaparse/fail_at_first_char_expected.hpp", - "external/sources/boost/boost/metaparse/fail_tag.hpp", - "external/sources/boost/boost/metaparse/first_of.hpp", - "external/sources/boost/boost/metaparse/foldl.hpp", - "external/sources/boost/boost/metaparse/foldl1.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/foldl_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/foldr.hpp", - "external/sources/boost/boost/metaparse/foldr1.hpp", - "external/sources/boost/boost/metaparse/foldr_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/foldr_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/foldr_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/get_col.hpp", - "external/sources/boost/boost/metaparse/get_line.hpp", - "external/sources/boost/boost/metaparse/get_message.hpp", - "external/sources/boost/boost/metaparse/get_position.hpp", - "external/sources/boost/boost/metaparse/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/get_remaining.hpp", - "external/sources/boost/boost/metaparse/get_result.hpp", - "external/sources/boost/boost/metaparse/grammar.hpp", - "external/sources/boost/boost/metaparse/if_.hpp", - "external/sources/boost/boost/metaparse/int_.hpp", - "external/sources/boost/boost/metaparse/is_error.hpp", - "external/sources/boost/boost/metaparse/iterate.hpp", - "external/sources/boost/boost/metaparse/iterate_c.hpp", - "external/sources/boost/boost/metaparse/keyword.hpp", - "external/sources/boost/boost/metaparse/last_of.hpp", - "external/sources/boost/boost/metaparse/letter.hpp", - "external/sources/boost/boost/metaparse/limit_one_char_except_size.hpp", - "external/sources/boost/boost/metaparse/limit_one_of_size.hpp", - "external/sources/boost/boost/metaparse/limit_sequence_size.hpp", - "external/sources/boost/boost/metaparse/limit_string_size.hpp", - "external/sources/boost/boost/metaparse/lit.hpp", - "external/sources/boost/boost/metaparse/lit_c.hpp", - "external/sources/boost/boost/metaparse/look_ahead.hpp", - "external/sources/boost/boost/metaparse/middle_of.hpp", - "external/sources/boost/boost/metaparse/next_char.hpp", - "external/sources/boost/boost/metaparse/next_line.hpp", - "external/sources/boost/boost/metaparse/nth_of.hpp", - "external/sources/boost/boost/metaparse/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/one_char.hpp", - "external/sources/boost/boost/metaparse/one_char_except.hpp", - "external/sources/boost/boost/metaparse/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/one_of.hpp", - "external/sources/boost/boost/metaparse/one_of_c.hpp", - "external/sources/boost/boost/metaparse/optional.hpp", - "external/sources/boost/boost/metaparse/range.hpp", - "external/sources/boost/boost/metaparse/range_c.hpp", - "external/sources/boost/boost/metaparse/reject.hpp", - "external/sources/boost/boost/metaparse/repeated.hpp", - "external/sources/boost/boost/metaparse/repeated1.hpp", - "external/sources/boost/boost/metaparse/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/repeated_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/repeated_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/return_.hpp", - "external/sources/boost/boost/metaparse/sequence.hpp", - "external/sources/boost/boost/metaparse/sequence_apply.hpp", - "external/sources/boost/boost/metaparse/source_position.hpp", - "external/sources/boost/boost/metaparse/source_position_tag.hpp", - "external/sources/boost/boost/metaparse/space.hpp", - "external/sources/boost/boost/metaparse/spaces.hpp", - "external/sources/boost/boost/metaparse/start.hpp", - "external/sources/boost/boost/metaparse/string.hpp", - "external/sources/boost/boost/metaparse/string_tag.hpp", - "external/sources/boost/boost/metaparse/token.hpp", - "external/sources/boost/boost/metaparse/transform.hpp", - "external/sources/boost/boost/metaparse/transform_error.hpp", - "external/sources/boost/boost/metaparse/transform_error_message.hpp", - "external/sources/boost/boost/metaparse/unless_error.hpp", - "external/sources/boost/boost/metaparse/util/digit_to_int.hpp", - "external/sources/boost/boost/metaparse/util/digit_to_int_c.hpp", - "external/sources/boost/boost/metaparse/util/in_range.hpp", - "external/sources/boost/boost/metaparse/util/in_range_c.hpp", - "external/sources/boost/boost/metaparse/util/int_to_digit.hpp", - "external/sources/boost/boost/metaparse/util/int_to_digit_c.hpp", - "external/sources/boost/boost/metaparse/util/is_digit.hpp", - "external/sources/boost/boost/metaparse/util/is_lcase_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_ucase_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_whitespace.hpp", - "external/sources/boost/boost/metaparse/util/is_whitespace_c.hpp", - "external/sources/boost/boost/metaparse/v1/accept.hpp", - "external/sources/boost/boost/metaparse/v1/accept_tag.hpp", - "external/sources/boost/boost/metaparse/v1/accept_when.hpp", - "external/sources/boost/boost/metaparse/v1/alphanum.hpp", - "external/sources/boost/boost/metaparse/v1/always.hpp", - "external/sources/boost/boost/metaparse/v1/always_c.hpp", - "external/sources/boost/boost/metaparse/v1/change_error_message.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/any_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/concat.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/empty_string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/eval_later_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c_skip_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/or_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_back.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_front.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_back_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/size.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/string_at.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp14/impl/any_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp14/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/empty_string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/is_none.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/later_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_char_except_not_used.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of_fwd_op.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_back.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_front.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_back_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_front_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/size.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/skip_seq.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/update_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/string.hpp", - "external/sources/boost/boost/metaparse/v1/debug_parsing_error.hpp", - "external/sources/boost/boost/metaparse/v1/define_error.hpp", - "external/sources/boost/boost/metaparse/v1/digit.hpp", - "external/sources/boost/boost/metaparse/v1/digit_val.hpp", - "external/sources/boost/boost/metaparse/v1/empty.hpp", - "external/sources/boost/boost/metaparse/v1/entire_input.hpp", - "external/sources/boost/boost/metaparse/v1/error/digit_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/end_of_input_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/expected_to_fail.hpp", - "external/sources/boost/boost/metaparse/v1/error/index_out_of_range.hpp", - "external/sources/boost/boost/metaparse/v1/error/letter_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/literal_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/none_of_the_expected_cases_found.hpp", - "external/sources/boost/boost/metaparse/v1/error/unexpected_character.hpp", - "external/sources/boost/boost/metaparse/v1/error/unexpected_end_of_input.hpp", - "external/sources/boost/boost/metaparse/v1/error/unpaired.hpp", - "external/sources/boost/boost/metaparse/v1/error/whitespace_expected.hpp", - "external/sources/boost/boost/metaparse/v1/except.hpp", - "external/sources/boost/boost/metaparse/v1/fail.hpp", - "external/sources/boost/boost/metaparse/v1/fail_at_first_char_expected.hpp", - "external/sources/boost/boost/metaparse/v1/fail_tag.hpp", - "external/sources/boost/boost/metaparse/v1/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/foldl.hpp", - "external/sources/boost/boost/metaparse/v1/foldl1.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/foldr.hpp", - "external/sources/boost/boost/metaparse/v1/foldr1.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/accept.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_col.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_line.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_message.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_position.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_result.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/next_char.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/next_line.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/reject.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/source_position.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/get_col.hpp", - "external/sources/boost/boost/metaparse/v1/get_line.hpp", - "external/sources/boost/boost/metaparse/v1/get_message.hpp", - "external/sources/boost/boost/metaparse/v1/get_position.hpp", - "external/sources/boost/boost/metaparse/v1/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/v1/get_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/get_result.hpp", - "external/sources/boost/boost/metaparse/v1/grammar.hpp", - "external/sources/boost/boost/metaparse/v1/if_.hpp", - "external/sources/boost/boost/metaparse/v1/impl/apply_parser.hpp", - "external/sources/boost/boost/metaparse/v1/impl/assert_string_length.hpp", - "external/sources/boost/boost/metaparse/v1/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/impl/back_inserter.hpp", - "external/sources/boost/boost/metaparse/v1/impl/front_inserter.hpp", - "external/sources/boost/boost/metaparse/v1/impl/fwd/iterate_impl.hpp", - "external/sources/boost/boost/metaparse/v1/impl/has_type.hpp", - "external/sources/boost/boost/metaparse/v1/impl/is_char_c.hpp", - "external/sources/boost/boost/metaparse/v1/impl/iterate_impl.hpp", - "external/sources/boost/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp", - "external/sources/boost/boost/metaparse/v1/impl/next_digit.hpp", - "external/sources/boost/boost/metaparse/v1/impl/no_char.hpp", - "external/sources/boost/boost/metaparse/v1/impl/returns.hpp", - "external/sources/boost/boost/metaparse/v1/impl/string_iterator.hpp", - "external/sources/boost/boost/metaparse/v1/impl/string_iterator_tag.hpp", - "external/sources/boost/boost/metaparse/v1/impl/void_.hpp", - "external/sources/boost/boost/metaparse/v1/int_.hpp", - "external/sources/boost/boost/metaparse/v1/is_error.hpp", - "external/sources/boost/boost/metaparse/v1/iterate.hpp", - "external/sources/boost/boost/metaparse/v1/iterate_c.hpp", - "external/sources/boost/boost/metaparse/v1/keyword.hpp", - "external/sources/boost/boost/metaparse/v1/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/letter.hpp", - "external/sources/boost/boost/metaparse/v1/lit.hpp", - "external/sources/boost/boost/metaparse/v1/lit_c.hpp", - "external/sources/boost/boost/metaparse/v1/look_ahead.hpp", - "external/sources/boost/boost/metaparse/v1/middle_of.hpp", - "external/sources/boost/boost/metaparse/v1/next_char.hpp", - "external/sources/boost/boost/metaparse/v1/next_line.hpp", - "external/sources/boost/boost/metaparse/v1/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/one_char.hpp", - "external/sources/boost/boost/metaparse/v1/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/optional.hpp", - "external/sources/boost/boost/metaparse/v1/range.hpp", - "external/sources/boost/boost/metaparse/v1/range_c.hpp", - "external/sources/boost/boost/metaparse/v1/reject.hpp", - "external/sources/boost/boost/metaparse/v1/repeated.hpp", - "external/sources/boost/boost/metaparse/v1/repeated1.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/return_.hpp", - "external/sources/boost/boost/metaparse/v1/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/sequence_apply.hpp", - "external/sources/boost/boost/metaparse/v1/source_position.hpp", - "external/sources/boost/boost/metaparse/v1/source_position_tag.hpp", - "external/sources/boost/boost/metaparse/v1/space.hpp", - "external/sources/boost/boost/metaparse/v1/spaces.hpp", - "external/sources/boost/boost/metaparse/v1/start.hpp", - "external/sources/boost/boost/metaparse/v1/string.hpp", - "external/sources/boost/boost/metaparse/v1/string_tag.hpp", - "external/sources/boost/boost/metaparse/v1/swap.hpp", - "external/sources/boost/boost/metaparse/v1/token.hpp", - "external/sources/boost/boost/metaparse/v1/transform.hpp", - "external/sources/boost/boost/metaparse/v1/transform_error.hpp", - "external/sources/boost/boost/metaparse/v1/transform_error_message.hpp", - "external/sources/boost/boost/metaparse/v1/unless_error.hpp", - "external/sources/boost/boost/metaparse/v1/util/digit_to_int.hpp", - "external/sources/boost/boost/metaparse/v1/util/digit_to_int_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/in_range.hpp", - "external/sources/boost/boost/metaparse/v1/util/in_range_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/int_to_digit.hpp", - "external/sources/boost/boost/metaparse/v1/util/int_to_digit_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_digit.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_lcase_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_ucase_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_whitespace.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_whitespace_c.hpp", - "external/sources/boost/boost/metaparse/version.hpp", - "external/sources/boost/boost/move/adl_move_swap.hpp", - "external/sources/boost/boost/move/algo/adaptive_merge.hpp", - "external/sources/boost/boost/move/algo/adaptive_sort.hpp", - "external/sources/boost/boost/move/algo/detail/adaptive_sort_merge.hpp", - "external/sources/boost/boost/move/algo/detail/basic_op.hpp", - "external/sources/boost/boost/move/algo/detail/heap_sort.hpp", - "external/sources/boost/boost/move/algo/detail/insertion_sort.hpp", - "external/sources/boost/boost/move/algo/detail/is_sorted.hpp", - "external/sources/boost/boost/move/algo/detail/merge.hpp", - "external/sources/boost/boost/move/algo/detail/merge_sort.hpp", - "external/sources/boost/boost/move/algo/detail/pdqsort.hpp", - "external/sources/boost/boost/move/algo/detail/set_difference.hpp", - "external/sources/boost/boost/move/algo/move.hpp", - "external/sources/boost/boost/move/algo/predicate.hpp", - "external/sources/boost/boost/move/algo/unique.hpp", - "external/sources/boost/boost/move/algorithm.hpp", - "external/sources/boost/boost/move/core.hpp", - "external/sources/boost/boost/move/default_delete.hpp", - "external/sources/boost/boost/move/detail/config_begin.hpp", - "external/sources/boost/boost/move/detail/config_end.hpp", - "external/sources/boost/boost/move/detail/destruct_n.hpp", - "external/sources/boost/boost/move/detail/fwd_macros.hpp", - "external/sources/boost/boost/move/detail/iterator_to_raw_pointer.hpp", - "external/sources/boost/boost/move/detail/iterator_traits.hpp", - "external/sources/boost/boost/move/detail/meta_utils.hpp", - "external/sources/boost/boost/move/detail/meta_utils_core.hpp", - "external/sources/boost/boost/move/detail/move_helpers.hpp", - "external/sources/boost/boost/move/detail/placement_new.hpp", - "external/sources/boost/boost/move/detail/pointer_element.hpp", - "external/sources/boost/boost/move/detail/reverse_iterator.hpp", - "external/sources/boost/boost/move/detail/std_ns_begin.hpp", - "external/sources/boost/boost/move/detail/std_ns_end.hpp", - "external/sources/boost/boost/move/detail/to_raw_pointer.hpp", - "external/sources/boost/boost/move/detail/type_traits.hpp", - "external/sources/boost/boost/move/detail/unique_ptr_meta_utils.hpp", - "external/sources/boost/boost/move/detail/workaround.hpp", - "external/sources/boost/boost/move/iterator.hpp", - "external/sources/boost/boost/move/make_unique.hpp", - "external/sources/boost/boost/move/move.hpp", - "external/sources/boost/boost/move/traits.hpp", - "external/sources/boost/boost/move/unique_ptr.hpp", - "external/sources/boost/boost/move/utility.hpp", - "external/sources/boost/boost/move/utility_core.hpp", - "external/sources/boost/boost/mp11.hpp", - "external/sources/boost/boost/mp11/algorithm.hpp", - "external/sources/boost/boost/mp11/bind.hpp", - "external/sources/boost/boost/mp11/detail/config.hpp", - "external/sources/boost/boost/mp11/detail/mp_append.hpp", - "external/sources/boost/boost/mp11/detail/mp_copy_if.hpp", - "external/sources/boost/boost/mp11/detail/mp_count.hpp", - "external/sources/boost/boost/mp11/detail/mp_fold.hpp", - "external/sources/boost/boost/mp11/detail/mp_is_list.hpp", - "external/sources/boost/boost/mp11/detail/mp_list.hpp", - "external/sources/boost/boost/mp11/detail/mp_map_find.hpp", - "external/sources/boost/boost/mp11/detail/mp_min_element.hpp", - "external/sources/boost/boost/mp11/detail/mp_plus.hpp", - "external/sources/boost/boost/mp11/detail/mp_remove_if.hpp", - "external/sources/boost/boost/mp11/detail/mp_void.hpp", - "external/sources/boost/boost/mp11/detail/mp_with_index.hpp", - "external/sources/boost/boost/mp11/detail/mpl_common.hpp", - "external/sources/boost/boost/mp11/function.hpp", - "external/sources/boost/boost/mp11/integer_sequence.hpp", - "external/sources/boost/boost/mp11/integral.hpp", - "external/sources/boost/boost/mp11/list.hpp", - "external/sources/boost/boost/mp11/map.hpp", - "external/sources/boost/boost/mp11/mpl.hpp", - "external/sources/boost/boost/mp11/mpl_list.hpp", - "external/sources/boost/boost/mp11/mpl_tuple.hpp", - "external/sources/boost/boost/mp11/set.hpp", - "external/sources/boost/boost/mp11/tuple.hpp", - "external/sources/boost/boost/mp11/utility.hpp", - "external/sources/boost/boost/mp11/version.hpp", - "external/sources/boost/boost/mpi.hpp", - "external/sources/boost/boost/mpi/allocator.hpp", - "external/sources/boost/boost/mpi/cartesian_communicator.hpp", - "external/sources/boost/boost/mpi/collectives.hpp", - "external/sources/boost/boost/mpi/collectives/all_gather.hpp", - "external/sources/boost/boost/mpi/collectives/all_gatherv.hpp", - "external/sources/boost/boost/mpi/collectives/all_reduce.hpp", - "external/sources/boost/boost/mpi/collectives/all_to_all.hpp", - "external/sources/boost/boost/mpi/collectives/broadcast.hpp", - "external/sources/boost/boost/mpi/collectives/gather.hpp", - "external/sources/boost/boost/mpi/collectives/gatherv.hpp", - "external/sources/boost/boost/mpi/collectives/reduce.hpp", - "external/sources/boost/boost/mpi/collectives/scan.hpp", - "external/sources/boost/boost/mpi/collectives/scatter.hpp", - "external/sources/boost/boost/mpi/collectives/scatterv.hpp", - "external/sources/boost/boost/mpi/collectives_fwd.hpp", - "external/sources/boost/boost/mpi/communicator.hpp", - "external/sources/boost/boost/mpi/config.hpp", - "external/sources/boost/boost/mpi/datatype.hpp", - "external/sources/boost/boost/mpi/datatype_fwd.hpp", - "external/sources/boost/boost/mpi/detail/antiques.hpp", - "external/sources/boost/boost/mpi/detail/binary_buffer_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/binary_buffer_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/broadcast_sc.hpp", - "external/sources/boost/boost/mpi/detail/communicator_sc.hpp", - "external/sources/boost/boost/mpi/detail/computation_tree.hpp", - "external/sources/boost/boost/mpi/detail/content_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/forward_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/forward_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/forward_skeleton_iarchive.hpp", - "external/sources/boost/boost/mpi/detail/forward_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_cache.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_primitive.hpp", - "external/sources/boost/boost/mpi/detail/offsets.hpp", - "external/sources/boost/boost/mpi/detail/packed_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/packed_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/point_to_point.hpp", - "external/sources/boost/boost/mpi/detail/request_handlers.hpp", - "external/sources/boost/boost/mpi/detail/text_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/environment.hpp", - "external/sources/boost/boost/mpi/error_string.hpp", - "external/sources/boost/boost/mpi/exception.hpp", - "external/sources/boost/boost/mpi/graph_communicator.hpp", - "external/sources/boost/boost/mpi/group.hpp", - "external/sources/boost/boost/mpi/inplace.hpp", - "external/sources/boost/boost/mpi/intercommunicator.hpp", - "external/sources/boost/boost/mpi/nonblocking.hpp", - "external/sources/boost/boost/mpi/operations.hpp", - "external/sources/boost/boost/mpi/packed_iarchive.hpp", - "external/sources/boost/boost/mpi/packed_oarchive.hpp", - "external/sources/boost/boost/mpi/python.hpp", - "external/sources/boost/boost/mpi/python/config.hpp", - "external/sources/boost/boost/mpi/python/serialize.hpp", - "external/sources/boost/boost/mpi/python/skeleton_and_content.hpp", - "external/sources/boost/boost/mpi/request.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content_fwd.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content_types.hpp", - "external/sources/boost/boost/mpi/status.hpp", - "external/sources/boost/boost/mpi/timer.hpp", - "external/sources/boost/boost/mpl/O1_size.hpp", - "external/sources/boost/boost/mpl/O1_size_fwd.hpp", - "external/sources/boost/boost/mpl/accumulate.hpp", - "external/sources/boost/boost/mpl/advance.hpp", - "external/sources/boost/boost/mpl/advance_fwd.hpp", - "external/sources/boost/boost/mpl/alias.hpp", - "external/sources/boost/boost/mpl/always.hpp", - "external/sources/boost/boost/mpl/and.hpp", - "external/sources/boost/boost/mpl/apply.hpp", - "external/sources/boost/boost/mpl/apply_fwd.hpp", - "external/sources/boost/boost/mpl/apply_wrap.hpp", - "external/sources/boost/boost/mpl/arg.hpp", - "external/sources/boost/boost/mpl/arg_fwd.hpp", - "external/sources/boost/boost/mpl/arithmetic.hpp", - "external/sources/boost/boost/mpl/as_sequence.hpp", - "external/sources/boost/boost/mpl/assert.hpp", - "external/sources/boost/boost/mpl/at.hpp", - "external/sources/boost/boost/mpl/at_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/O1_size_impl.hpp", - "external/sources/boost/boost/mpl/aux_/adl_barrier.hpp", - "external/sources/boost/boost/mpl/aux_/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/apply_1st.hpp", - "external/sources/boost/boost/mpl/aux_/arg_typedef.hpp", - "external/sources/boost/boost/mpl/aux_/arithmetic_op.hpp", - "external/sources/boost/boost/mpl/aux_/arity.hpp", - "external/sources/boost/boost/mpl/aux_/arity_spec.hpp", - "external/sources/boost/boost/mpl/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/aux_/back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/aux_/common_name_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/comparison_op.hpp", - "external/sources/boost/boost/mpl/aux_/config/adl.hpp", - "external/sources/boost/boost/mpl/aux_/config/arrays.hpp", - "external/sources/boost/boost/mpl/aux_/config/bcc.hpp", - "external/sources/boost/boost/mpl/aux_/config/bind.hpp", - "external/sources/boost/boost/mpl/aux_/config/compiler.hpp", - "external/sources/boost/boost/mpl/aux_/config/ctps.hpp", - "external/sources/boost/boost/mpl/aux_/config/dependent_nttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/dmc_ambiguous_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/config/dtp.hpp", - "external/sources/boost/boost/mpl/aux_/config/eti.hpp", - "external/sources/boost/boost/mpl/aux_/config/forwarding.hpp", - "external/sources/boost/boost/mpl/aux_/config/gcc.hpp", - "external/sources/boost/boost/mpl/aux_/config/gpu.hpp", - "external/sources/boost/boost/mpl/aux_/config/has_apply.hpp", - "external/sources/boost/boost/mpl/aux_/config/has_xxx.hpp", - "external/sources/boost/boost/mpl/aux_/config/integral.hpp", - "external/sources/boost/boost/mpl/aux_/config/intel.hpp", - "external/sources/boost/boost/mpl/aux_/config/lambda.hpp", - "external/sources/boost/boost/mpl/aux_/config/msvc.hpp", - "external/sources/boost/boost/mpl/aux_/config/msvc_typename.hpp", - "external/sources/boost/boost/mpl/aux_/config/nttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/operators.hpp", - "external/sources/boost/boost/mpl/aux_/config/overload_resolution.hpp", - "external/sources/boost/boost/mpl/aux_/config/pp_counter.hpp", - "external/sources/boost/boost/mpl/aux_/config/preprocessor.hpp", - "external/sources/boost/boost/mpl/aux_/config/static_constant.hpp", - "external/sources/boost/boost/mpl/aux_/config/ttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/typeof.hpp", - "external/sources/boost/boost/mpl/aux_/config/use_preprocessed.hpp", - "external/sources/boost/boost/mpl/aux_/config/workaround.hpp", - "external/sources/boost/boost/mpl/aux_/contains_impl.hpp", - "external/sources/boost/boost/mpl/aux_/count_args.hpp", - "external/sources/boost/boost/mpl/aux_/count_impl.hpp", - "external/sources/boost/boost/mpl/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/aux_/filter_iter.hpp", - "external/sources/boost/boost/mpl/aux_/find_if_pred.hpp", - "external/sources/boost/boost/mpl/aux_/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/fold_impl_body.hpp", - "external/sources/boost/boost/mpl/aux_/fold_op.hpp", - "external/sources/boost/boost/mpl/aux_/fold_pred.hpp", - "external/sources/boost/boost/mpl/aux_/front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/has_apply.hpp", - "external/sources/boost/boost/mpl/aux_/has_begin.hpp", - "external/sources/boost/boost/mpl/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/aux_/has_rebind.hpp", - "external/sources/boost/boost/mpl/aux_/has_size.hpp", - "external/sources/boost/boost/mpl/aux_/has_tag.hpp", - "external/sources/boost/boost/mpl/aux_/has_type.hpp", - "external/sources/boost/boost/mpl/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/aux_/inserter_algorithm.hpp", - "external/sources/boost/boost/mpl/aux_/integral_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/is_msvc_eti_arg.hpp", - "external/sources/boost/boost/mpl/aux_/iter_apply.hpp", - "external/sources/boost/boost/mpl/aux_/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/iter_push_front.hpp", - "external/sources/boost/boost/mpl/aux_/joint_iter.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_arity_param.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_spec.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_support.hpp", - "external/sources/boost/boost/mpl/aux_/largest_int.hpp", - "external/sources/boost/boost/mpl/aux_/logical_op.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_dtw.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_eti_base.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_is_class.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_never_true.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_type.hpp", - "external/sources/boost/boost/mpl/aux_/na.hpp", - "external/sources/boost/boost/mpl/aux_/na_assert.hpp", - "external/sources/boost/boost/mpl/aux_/na_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/na_spec.hpp", - "external/sources/boost/boost/mpl/aux_/nested_type_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/nttp_decl.hpp", - "external/sources/boost/boost/mpl/aux_/numeric_cast_utils.hpp", - "external/sources/boost/boost/mpl/aux_/numeric_op.hpp", - "external/sources/boost/boost/mpl/aux_/order_impl.hpp", - "external/sources/boost/boost/mpl/aux_/overload_names.hpp", - "external/sources/boost/boost/mpl/aux_/partition_op.hpp", - "external/sources/boost/boost/mpl/aux_/pop_back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/pop_front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/add.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/def_params_tail.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/default_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/enum.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/ext_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/filter_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/is_seq.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/partial_spec_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/range.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/repeat.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/sub.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/token_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/tuple.hpp", - "external/sources/boost/boost/mpl/aux_/ptr_to_ref.hpp", - "external/sources/boost/boost/mpl/aux_/push_back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/push_front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/O1_size.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/back.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/empty.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/front.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/iterator.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/size.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/tag.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_fold_impl_body.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/sequence_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/shift_op.hpp", - "external/sources/boost/boost/mpl/aux_/single_element_iter.hpp", - "external/sources/boost/boost/mpl/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/aux_/sort_impl.hpp", - "external/sources/boost/boost/mpl/aux_/static_cast.hpp", - "external/sources/boost/boost/mpl/aux_/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/template_arity_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/test.hpp", - "external/sources/boost/boost/mpl/aux_/test/assert.hpp", - "external/sources/boost/boost/mpl/aux_/test/data.hpp", - "external/sources/boost/boost/mpl/aux_/test/test_case.hpp", - "external/sources/boost/boost/mpl/aux_/traits_lambda_spec.hpp", - "external/sources/boost/boost/mpl/aux_/transform_iter.hpp", - "external/sources/boost/boost/mpl/aux_/type_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/unwrap.hpp", - "external/sources/boost/boost/mpl/aux_/value_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/yes_no.hpp", - "external/sources/boost/boost/mpl/back.hpp", - "external/sources/boost/boost/mpl/back_fwd.hpp", - "external/sources/boost/boost/mpl/back_inserter.hpp", - "external/sources/boost/boost/mpl/base.hpp", - "external/sources/boost/boost/mpl/begin.hpp", - "external/sources/boost/boost/mpl/begin_end.hpp", - "external/sources/boost/boost/mpl/begin_end_fwd.hpp", - "external/sources/boost/boost/mpl/bind.hpp", - "external/sources/boost/boost/mpl/bind_fwd.hpp", - "external/sources/boost/boost/mpl/bitand.hpp", - "external/sources/boost/boost/mpl/bitor.hpp", - "external/sources/boost/boost/mpl/bitwise.hpp", - "external/sources/boost/boost/mpl/bitxor.hpp", - "external/sources/boost/boost/mpl/bool.hpp", - "external/sources/boost/boost/mpl/bool_fwd.hpp", - "external/sources/boost/boost/mpl/char.hpp", - "external/sources/boost/boost/mpl/char_fwd.hpp", - "external/sources/boost/boost/mpl/clear.hpp", - "external/sources/boost/boost/mpl/clear_fwd.hpp", - "external/sources/boost/boost/mpl/comparison.hpp", - "external/sources/boost/boost/mpl/contains.hpp", - "external/sources/boost/boost/mpl/contains_fwd.hpp", - "external/sources/boost/boost/mpl/copy.hpp", - "external/sources/boost/boost/mpl/copy_if.hpp", - "external/sources/boost/boost/mpl/count.hpp", - "external/sources/boost/boost/mpl/count_fwd.hpp", - "external/sources/boost/boost/mpl/count_if.hpp", - "external/sources/boost/boost/mpl/deque.hpp", - "external/sources/boost/boost/mpl/deref.hpp", - "external/sources/boost/boost/mpl/distance.hpp", - "external/sources/boost/boost/mpl/distance_fwd.hpp", - "external/sources/boost/boost/mpl/divides.hpp", - "external/sources/boost/boost/mpl/empty.hpp", - "external/sources/boost/boost/mpl/empty_base.hpp", - "external/sources/boost/boost/mpl/empty_fwd.hpp", - "external/sources/boost/boost/mpl/empty_sequence.hpp", - "external/sources/boost/boost/mpl/end.hpp", - "external/sources/boost/boost/mpl/equal.hpp", - "external/sources/boost/boost/mpl/equal_to.hpp", - "external/sources/boost/boost/mpl/erase.hpp", - "external/sources/boost/boost/mpl/erase_fwd.hpp", - "external/sources/boost/boost/mpl/erase_key.hpp", - "external/sources/boost/boost/mpl/erase_key_fwd.hpp", - "external/sources/boost/boost/mpl/eval_if.hpp", - "external/sources/boost/boost/mpl/filter_view.hpp", - "external/sources/boost/boost/mpl/find.hpp", - "external/sources/boost/boost/mpl/find_if.hpp", - "external/sources/boost/boost/mpl/fold.hpp", - "external/sources/boost/boost/mpl/for_each.hpp", - "external/sources/boost/boost/mpl/front.hpp", - "external/sources/boost/boost/mpl/front_fwd.hpp", - "external/sources/boost/boost/mpl/front_inserter.hpp", - "external/sources/boost/boost/mpl/get_tag.hpp", - "external/sources/boost/boost/mpl/greater.hpp", - "external/sources/boost/boost/mpl/greater_equal.hpp", - "external/sources/boost/boost/mpl/has_key.hpp", - "external/sources/boost/boost/mpl/has_key_fwd.hpp", - "external/sources/boost/boost/mpl/has_xxx.hpp", - "external/sources/boost/boost/mpl/identity.hpp", - "external/sources/boost/boost/mpl/if.hpp", - "external/sources/boost/boost/mpl/index_if.hpp", - "external/sources/boost/boost/mpl/index_of.hpp", - "external/sources/boost/boost/mpl/inherit.hpp", - "external/sources/boost/boost/mpl/inherit_linearly.hpp", - "external/sources/boost/boost/mpl/insert.hpp", - "external/sources/boost/boost/mpl/insert_fwd.hpp", - "external/sources/boost/boost/mpl/insert_range.hpp", - "external/sources/boost/boost/mpl/insert_range_fwd.hpp", - "external/sources/boost/boost/mpl/inserter.hpp", - "external/sources/boost/boost/mpl/int.hpp", - "external/sources/boost/boost/mpl/int_fwd.hpp", - "external/sources/boost/boost/mpl/integral_c.hpp", - "external/sources/boost/boost/mpl/integral_c_fwd.hpp", - "external/sources/boost/boost/mpl/integral_c_tag.hpp", - "external/sources/boost/boost/mpl/is_placeholder.hpp", - "external/sources/boost/boost/mpl/is_sequence.hpp", - "external/sources/boost/boost/mpl/iter_fold.hpp", - "external/sources/boost/boost/mpl/iter_fold_if.hpp", - "external/sources/boost/boost/mpl/iterator_category.hpp", - "external/sources/boost/boost/mpl/iterator_range.hpp", - "external/sources/boost/boost/mpl/iterator_tags.hpp", - "external/sources/boost/boost/mpl/joint_view.hpp", - "external/sources/boost/boost/mpl/key_type.hpp", - "external/sources/boost/boost/mpl/key_type_fwd.hpp", - "external/sources/boost/boost/mpl/lambda.hpp", - "external/sources/boost/boost/mpl/lambda_fwd.hpp", - "external/sources/boost/boost/mpl/less.hpp", - "external/sources/boost/boost/mpl/less_equal.hpp", - "external/sources/boost/boost/mpl/limits/arity.hpp", - "external/sources/boost/boost/mpl/limits/list.hpp", - "external/sources/boost/boost/mpl/limits/map.hpp", - "external/sources/boost/boost/mpl/limits/set.hpp", - "external/sources/boost/boost/mpl/limits/string.hpp", - "external/sources/boost/boost/mpl/limits/unrolling.hpp", - "external/sources/boost/boost/mpl/limits/vector.hpp", - "external/sources/boost/boost/mpl/list.hpp", - "external/sources/boost/boost/mpl/list/aux_/O1_size.hpp", - "external/sources/boost/boost/mpl/list/aux_/begin_end.hpp", - "external/sources/boost/boost/mpl/list/aux_/clear.hpp", - "external/sources/boost/boost/mpl/list/aux_/empty.hpp", - "external/sources/boost/boost/mpl/list/aux_/front.hpp", - "external/sources/boost/boost/mpl/list/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/list/aux_/item.hpp", - "external/sources/boost/boost/mpl/list/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/list/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/list/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/pop_front.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/push_back.hpp", - "external/sources/boost/boost/mpl/list/aux_/push_front.hpp", - "external/sources/boost/boost/mpl/list/aux_/size.hpp", - "external/sources/boost/boost/mpl/list/aux_/tag.hpp", - "external/sources/boost/boost/mpl/list/list0.hpp", - "external/sources/boost/boost/mpl/list/list0_c.hpp", - "external/sources/boost/boost/mpl/list/list10.hpp", - "external/sources/boost/boost/mpl/list/list10_c.hpp", - "external/sources/boost/boost/mpl/list/list20.hpp", - "external/sources/boost/boost/mpl/list/list20_c.hpp", - "external/sources/boost/boost/mpl/list/list30.hpp", - "external/sources/boost/boost/mpl/list/list30_c.hpp", - "external/sources/boost/boost/mpl/list/list40.hpp", - "external/sources/boost/boost/mpl/list/list40_c.hpp", - "external/sources/boost/boost/mpl/list/list50.hpp", - "external/sources/boost/boost/mpl/list/list50_c.hpp", - "external/sources/boost/boost/mpl/list_c.hpp", - "external/sources/boost/boost/mpl/logical.hpp", - "external/sources/boost/boost/mpl/long.hpp", - "external/sources/boost/boost/mpl/long_fwd.hpp", - "external/sources/boost/boost/mpl/lower_bound.hpp", - "external/sources/boost/boost/mpl/map.hpp", - "external/sources/boost/boost/mpl/map/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/contains_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/map/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/item.hpp", - "external/sources/boost/boost/mpl/map/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/map/aux_/key_type_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/map0.hpp", - "external/sources/boost/boost/mpl/map/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/tag.hpp", - "external/sources/boost/boost/mpl/map/aux_/value_type_impl.hpp", - "external/sources/boost/boost/mpl/map/map0.hpp", - "external/sources/boost/boost/mpl/map/map10.hpp", - "external/sources/boost/boost/mpl/map/map20.hpp", - "external/sources/boost/boost/mpl/map/map30.hpp", - "external/sources/boost/boost/mpl/map/map40.hpp", - "external/sources/boost/boost/mpl/map/map50.hpp", - "external/sources/boost/boost/mpl/math/fixed_c.hpp", - "external/sources/boost/boost/mpl/math/is_even.hpp", - "external/sources/boost/boost/mpl/math/rational_c.hpp", - "external/sources/boost/boost/mpl/max.hpp", - "external/sources/boost/boost/mpl/max_element.hpp", - "external/sources/boost/boost/mpl/min.hpp", - "external/sources/boost/boost/mpl/min_element.hpp", - "external/sources/boost/boost/mpl/min_max.hpp", - "external/sources/boost/boost/mpl/minus.hpp", - "external/sources/boost/boost/mpl/modulus.hpp", - "external/sources/boost/boost/mpl/multiplies.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/count_impl.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/item.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/multiset0.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/tag.hpp", - "external/sources/boost/boost/mpl/multiset/multiset0.hpp", - "external/sources/boost/boost/mpl/negate.hpp", - "external/sources/boost/boost/mpl/next.hpp", - "external/sources/boost/boost/mpl/next_prior.hpp", - "external/sources/boost/boost/mpl/not.hpp", - "external/sources/boost/boost/mpl/not_equal_to.hpp", - "external/sources/boost/boost/mpl/numeric_cast.hpp", - "external/sources/boost/boost/mpl/or.hpp", - "external/sources/boost/boost/mpl/order.hpp", - "external/sources/boost/boost/mpl/order_fwd.hpp", - "external/sources/boost/boost/mpl/pair.hpp", - "external/sources/boost/boost/mpl/pair_view.hpp", - "external/sources/boost/boost/mpl/partition.hpp", - "external/sources/boost/boost/mpl/placeholders.hpp", - "external/sources/boost/boost/mpl/plus.hpp", - "external/sources/boost/boost/mpl/pop_back.hpp", - "external/sources/boost/boost/mpl/pop_back_fwd.hpp", - "external/sources/boost/boost/mpl/pop_front.hpp", - "external/sources/boost/boost/mpl/pop_front_fwd.hpp", - "external/sources/boost/boost/mpl/print.hpp", - "external/sources/boost/boost/mpl/prior.hpp", - "external/sources/boost/boost/mpl/protect.hpp", - "external/sources/boost/boost/mpl/push_back.hpp", - "external/sources/boost/boost/mpl/push_back_fwd.hpp", - "external/sources/boost/boost/mpl/push_front.hpp", - "external/sources/boost/boost/mpl/push_front_fwd.hpp", - "external/sources/boost/boost/mpl/quote.hpp", - "external/sources/boost/boost/mpl/range_c.hpp", - "external/sources/boost/boost/mpl/remove.hpp", - "external/sources/boost/boost/mpl/remove_if.hpp", - "external/sources/boost/boost/mpl/replace.hpp", - "external/sources/boost/boost/mpl/replace_if.hpp", - "external/sources/boost/boost/mpl/reverse.hpp", - "external/sources/boost/boost/mpl/reverse_fold.hpp", - "external/sources/boost/boost/mpl/reverse_iter_fold.hpp", - "external/sources/boost/boost/mpl/same_as.hpp", - "external/sources/boost/boost/mpl/sequence_tag.hpp", - "external/sources/boost/boost/mpl/sequence_tag_fwd.hpp", - "external/sources/boost/boost/mpl/set.hpp", - "external/sources/boost/boost/mpl/set/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/set/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/item.hpp", - "external/sources/boost/boost/mpl/set/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/set/aux_/key_type_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/set/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/set0.hpp", - "external/sources/boost/boost/mpl/set/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/tag.hpp", - "external/sources/boost/boost/mpl/set/aux_/value_type_impl.hpp", - "external/sources/boost/boost/mpl/set/set0.hpp", - "external/sources/boost/boost/mpl/set/set0_c.hpp", - "external/sources/boost/boost/mpl/set/set10.hpp", - "external/sources/boost/boost/mpl/set/set10_c.hpp", - "external/sources/boost/boost/mpl/set/set20.hpp", - "external/sources/boost/boost/mpl/set/set20_c.hpp", - "external/sources/boost/boost/mpl/set/set30.hpp", - "external/sources/boost/boost/mpl/set/set30_c.hpp", - "external/sources/boost/boost/mpl/set/set40.hpp", - "external/sources/boost/boost/mpl/set/set40_c.hpp", - "external/sources/boost/boost/mpl/set/set50.hpp", - "external/sources/boost/boost/mpl/set/set50_c.hpp", - "external/sources/boost/boost/mpl/set_c.hpp", - "external/sources/boost/boost/mpl/shift_left.hpp", - "external/sources/boost/boost/mpl/shift_right.hpp", - "external/sources/boost/boost/mpl/single_view.hpp", - "external/sources/boost/boost/mpl/size.hpp", - "external/sources/boost/boost/mpl/size_fwd.hpp", - "external/sources/boost/boost/mpl/size_t.hpp", - "external/sources/boost/boost/mpl/size_t_fwd.hpp", - "external/sources/boost/boost/mpl/sizeof.hpp", - "external/sources/boost/boost/mpl/sort.hpp", - "external/sources/boost/boost/mpl/stable_partition.hpp", - "external/sources/boost/boost/mpl/string.hpp", - "external/sources/boost/boost/mpl/switch.hpp", - "external/sources/boost/boost/mpl/tag.hpp", - "external/sources/boost/boost/mpl/times.hpp", - "external/sources/boost/boost/mpl/transform.hpp", - "external/sources/boost/boost/mpl/transform_view.hpp", - "external/sources/boost/boost/mpl/unique.hpp", - "external/sources/boost/boost/mpl/unpack_args.hpp", - "external/sources/boost/boost/mpl/upper_bound.hpp", - "external/sources/boost/boost/mpl/value_type.hpp", - "external/sources/boost/boost/mpl/value_type_fwd.hpp", - "external/sources/boost/boost/mpl/vector.hpp", - "external/sources/boost/boost/mpl/vector/aux_/O1_size.hpp", - "external/sources/boost/boost/mpl/vector/aux_/at.hpp", - "external/sources/boost/boost/mpl/vector/aux_/back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/begin_end.hpp", - "external/sources/boost/boost/mpl/vector/aux_/clear.hpp", - "external/sources/boost/boost/mpl/vector/aux_/empty.hpp", - "external/sources/boost/boost/mpl/vector/aux_/front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/vector/aux_/item.hpp", - "external/sources/boost/boost/mpl/vector/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/vector/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/vector/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/pop_back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/pop_front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/push_back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/push_front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/size.hpp", - "external/sources/boost/boost/mpl/vector/aux_/tag.hpp", - "external/sources/boost/boost/mpl/vector/aux_/vector0.hpp", - "external/sources/boost/boost/mpl/vector/vector0.hpp", - "external/sources/boost/boost/mpl/vector/vector0_c.hpp", - "external/sources/boost/boost/mpl/vector/vector10.hpp", - "external/sources/boost/boost/mpl/vector/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/vector20.hpp", - "external/sources/boost/boost/mpl/vector/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/vector30.hpp", - "external/sources/boost/boost/mpl/vector/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/vector40.hpp", - "external/sources/boost/boost/mpl/vector/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/vector50.hpp", - "external/sources/boost/boost/mpl/vector/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector_c.hpp", - "external/sources/boost/boost/mpl/void.hpp", - "external/sources/boost/boost/mpl/void_fwd.hpp", - "external/sources/boost/boost/mpl/zip_view.hpp", - "external/sources/boost/boost/msm/active_state_switching_policies.hpp", - "external/sources/boost/boost/msm/back/args.hpp", - "external/sources/boost/boost/msm/back/bind_helpers.hpp", - "external/sources/boost/boost/msm/back/common_types.hpp", - "external/sources/boost/boost/msm/back/copy_policies.hpp", - "external/sources/boost/boost/msm/back/default_compile_policy.hpp", - "external/sources/boost/boost/msm/back/dispatch_table.hpp", - "external/sources/boost/boost/msm/back/favor_compile_time.hpp", - "external/sources/boost/boost/msm/back/fold_to_list.hpp", - "external/sources/boost/boost/msm/back/history_policies.hpp", - "external/sources/boost/boost/msm/back/metafunctions.hpp", - "external/sources/boost/boost/msm/back/mpl_graph_fsm_check.hpp", - "external/sources/boost/boost/msm/back/no_fsm_check.hpp", - "external/sources/boost/boost/msm/back/queue_container_circular.hpp", - "external/sources/boost/boost/msm/back/queue_container_deque.hpp", - "external/sources/boost/boost/msm/back/state_machine.hpp", - "external/sources/boost/boost/msm/back/tools.hpp", - "external/sources/boost/boost/msm/common.hpp", - "external/sources/boost/boost/msm/event_traits.hpp", - "external/sources/boost/boost/msm/front/common_states.hpp", - "external/sources/boost/boost/msm/front/completion_event.hpp", - "external/sources/boost/boost/msm/front/detail/common_states.hpp", - "external/sources/boost/boost/msm/front/detail/row2_helper.hpp", - "external/sources/boost/boost/msm/front/euml/algorithm.hpp", - "external/sources/boost/boost/msm/front/euml/common.hpp", - "external/sources/boost/boost/msm/front/euml/container.hpp", - "external/sources/boost/boost/msm/front/euml/euml.hpp", - "external/sources/boost/boost/msm/front/euml/euml_typeof.hpp", - "external/sources/boost/boost/msm/front/euml/guard_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/iteration.hpp", - "external/sources/boost/boost/msm/front/euml/operator.hpp", - "external/sources/boost/boost/msm/front/euml/phoenix_placeholders.hpp", - "external/sources/boost/boost/msm/front/euml/querying.hpp", - "external/sources/boost/boost/msm/front/euml/state_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/stl.hpp", - "external/sources/boost/boost/msm/front/euml/stt_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/transformation.hpp", - "external/sources/boost/boost/msm/front/functor_row.hpp", - "external/sources/boost/boost/msm/front/internal_row.hpp", - "external/sources/boost/boost/msm/front/row2.hpp", - "external/sources/boost/boost/msm/front/state_machine_def.hpp", - "external/sources/boost/boost/msm/front/states.hpp", - "external/sources/boost/boost/msm/mpl_graph/adjacency_list_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/breadth_first_search.hpp", - "external/sources/boost/boost/msm/mpl_graph/depth_first_search.hpp", - "external/sources/boost/boost/msm/mpl_graph/detail/adjacency_list_graph.ipp", - "external/sources/boost/boost/msm/mpl_graph/detail/graph_implementation_interface.ipp", - "external/sources/boost/boost/msm/mpl_graph/detail/incidence_list_graph.ipp", - "external/sources/boost/boost/msm/mpl_graph/incidence_list_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/mpl_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/mpl_utils.hpp", - "external/sources/boost/boost/msm/mpl_graph/search_colors.hpp", - "external/sources/boost/boost/msm/msm_grammar.hpp", - "external/sources/boost/boost/msm/proto_config.hpp", - "external/sources/boost/boost/msm/row_tags.hpp", - "external/sources/boost/boost/multi_array.hpp", - "external/sources/boost/boost/multi_array/algorithm.hpp", - "external/sources/boost/boost/multi_array/base.hpp", - "external/sources/boost/boost/multi_array/collection_concept.hpp", - "external/sources/boost/boost/multi_array/concept_checks.hpp", - "external/sources/boost/boost/multi_array/copy_array.hpp", - "external/sources/boost/boost/multi_array/extent_gen.hpp", - "external/sources/boost/boost/multi_array/extent_range.hpp", - "external/sources/boost/boost/multi_array/index_gen.hpp", - "external/sources/boost/boost/multi_array/index_range.hpp", - "external/sources/boost/boost/multi_array/iterator.hpp", - "external/sources/boost/boost/multi_array/multi_array_ref.hpp", - "external/sources/boost/boost/multi_array/range_list.hpp", - "external/sources/boost/boost/multi_array/storage_order.hpp", - "external/sources/boost/boost/multi_array/subarray.hpp", - "external/sources/boost/boost/multi_array/types.hpp", - "external/sources/boost/boost/multi_array/view.hpp", - "external/sources/boost/boost/multi_index/composite_key.hpp", - "external/sources/boost/boost/multi_index/detail/access_specifier.hpp", - "external/sources/boost/boost/multi_index/detail/adl_swap.hpp", - "external/sources/boost/boost/multi_index/detail/allocator_traits.hpp", - "external/sources/boost/boost/multi_index/detail/archive_constructed.hpp", - "external/sources/boost/boost/multi_index/detail/auto_space.hpp", - "external/sources/boost/boost/multi_index/detail/base_type.hpp", - "external/sources/boost/boost/multi_index/detail/bidir_node_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/bucket_array.hpp", - "external/sources/boost/boost/multi_index/detail/cons_stdtuple.hpp", - "external/sources/boost/boost/multi_index/detail/converter.hpp", - "external/sources/boost/boost/multi_index/detail/copy_map.hpp", - "external/sources/boost/boost/multi_index/detail/define_if_constexpr_macro.hpp", - "external/sources/boost/boost/multi_index/detail/do_not_copy_elements_tag.hpp", - "external/sources/boost/boost/multi_index/detail/duplicates_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/has_tag.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_args.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/header_holder.hpp", - "external/sources/boost/boost/multi_index/detail/ignore_wstrict_aliasing.hpp", - "external/sources/boost/boost/multi_index/detail/index_base.hpp", - "external/sources/boost/boost/multi_index/detail/index_loader.hpp", - "external/sources/boost/boost/multi_index/detail/index_matcher.hpp", - "external/sources/boost/boost/multi_index/detail/index_node_base.hpp", - "external/sources/boost/boost/multi_index/detail/index_saver.hpp", - "external/sources/boost/boost/multi_index/detail/invariant_assert.hpp", - "external/sources/boost/boost/multi_index/detail/is_function.hpp", - "external/sources/boost/boost/multi_index/detail/is_index_list.hpp", - "external/sources/boost/boost/multi_index/detail/is_transparent.hpp", - "external/sources/boost/boost/multi_index/detail/iter_adaptor.hpp", - "external/sources/boost/boost/multi_index/detail/modify_key_adaptor.hpp", - "external/sources/boost/boost/multi_index/detail/no_duplicate_tags.hpp", - "external/sources/boost/boost/multi_index/detail/node_handle.hpp", - "external/sources/boost/boost/multi_index/detail/node_type.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_args.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_impl.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_impl_fwd.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/promotes_arg.hpp", - "external/sources/boost/boost/multi_index/detail/raw_ptr.hpp", - "external/sources/boost/boost/multi_index/detail/restore_wstrict_aliasing.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_loader.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_ptr_array.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_node_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/rnk_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/safe_mode.hpp", - "external/sources/boost/boost/multi_index/detail/scope_guard.hpp", - "external/sources/boost/boost/multi_index/detail/seq_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/seq_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/serialization_version.hpp", - "external/sources/boost/boost/multi_index/detail/uintptr_type.hpp", - "external/sources/boost/boost/multi_index/detail/unbounded.hpp", - "external/sources/boost/boost/multi_index/detail/undef_if_constexpr_macro.hpp", - "external/sources/boost/boost/multi_index/detail/value_compare.hpp", - "external/sources/boost/boost/multi_index/detail/vartempl_support.hpp", - "external/sources/boost/boost/multi_index/global_fun.hpp", - "external/sources/boost/boost/multi_index/hashed_index.hpp", - "external/sources/boost/boost/multi_index/hashed_index_fwd.hpp", - "external/sources/boost/boost/multi_index/identity.hpp", - "external/sources/boost/boost/multi_index/identity_fwd.hpp", - "external/sources/boost/boost/multi_index/indexed_by.hpp", - "external/sources/boost/boost/multi_index/key.hpp", - "external/sources/boost/boost/multi_index/key_extractors.hpp", - "external/sources/boost/boost/multi_index/mem_fun.hpp", - "external/sources/boost/boost/multi_index/member.hpp", - "external/sources/boost/boost/multi_index/ordered_index.hpp", - "external/sources/boost/boost/multi_index/ordered_index_fwd.hpp", - "external/sources/boost/boost/multi_index/random_access_index.hpp", - "external/sources/boost/boost/multi_index/random_access_index_fwd.hpp", - "external/sources/boost/boost/multi_index/ranked_index.hpp", - "external/sources/boost/boost/multi_index/ranked_index_fwd.hpp", - "external/sources/boost/boost/multi_index/safe_mode_errors.hpp", - "external/sources/boost/boost/multi_index/sequenced_index.hpp", - "external/sources/boost/boost/multi_index/sequenced_index_fwd.hpp", - "external/sources/boost/boost/multi_index/tag.hpp", - "external/sources/boost/boost/multi_index_container.hpp", - "external/sources/boost/boost/multi_index_container_fwd.hpp", - "external/sources/boost/boost/multiprecision/complex128.hpp", - "external/sources/boost/boost/multiprecision/complex_adaptor.hpp", - "external/sources/boost/boost/multiprecision/concepts/mp_number_archetypes.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float/io.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float/transcendental.hpp", - "external/sources/boost/boost/multiprecision/cpp_complex.hpp", - "external/sources/boost/boost/multiprecision/cpp_dec_float.hpp", - "external/sources/boost/boost/multiprecision/cpp_int.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/add.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/bitwise.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/checked.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/comparison.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/cpp_int_config.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/divide.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/import_export.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/limits.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/literals.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/misc.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/multiply.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/serialize.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/value_pack.hpp", - "external/sources/boost/boost/multiprecision/debug_adaptor.hpp", - "external/sources/boost/boost/multiprecision/detail/atomic.hpp", - "external/sources/boost/boost/multiprecision/detail/big_lanczos.hpp", - "external/sources/boost/boost/multiprecision/detail/bitscan.hpp", - "external/sources/boost/boost/multiprecision/detail/constexpr.hpp", - "external/sources/boost/boost/multiprecision/detail/default_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/digits.hpp", - "external/sources/boost/boost/multiprecision/detail/dynamic_array.hpp", - "external/sources/boost/boost/multiprecision/detail/et_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/float_string_cvt.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/constants.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/pow.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/trig.hpp", - "external/sources/boost/boost/multiprecision/detail/generic_interconvert.hpp", - "external/sources/boost/boost/multiprecision/detail/integer_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/itos.hpp", - "external/sources/boost/boost/multiprecision/detail/min_max.hpp", - "external/sources/boost/boost/multiprecision/detail/no_et_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/number_base.hpp", - "external/sources/boost/boost/multiprecision/detail/number_compare.hpp", - "external/sources/boost/boost/multiprecision/detail/precision.hpp", - "external/sources/boost/boost/multiprecision/detail/rebind.hpp", - "external/sources/boost/boost/multiprecision/detail/ublas_interop.hpp", - "external/sources/boost/boost/multiprecision/detail/utype_helper.hpp", - "external/sources/boost/boost/multiprecision/eigen.hpp", - "external/sources/boost/boost/multiprecision/float128.hpp", - "external/sources/boost/boost/multiprecision/gmp.hpp", - "external/sources/boost/boost/multiprecision/integer.hpp", - "external/sources/boost/boost/multiprecision/logged_adaptor.hpp", - "external/sources/boost/boost/multiprecision/miller_rabin.hpp", - "external/sources/boost/boost/multiprecision/mpc.hpp", - "external/sources/boost/boost/multiprecision/mpfi.hpp", - "external/sources/boost/boost/multiprecision/mpfr.hpp", - "external/sources/boost/boost/multiprecision/number.hpp", - "external/sources/boost/boost/multiprecision/random.hpp", - "external/sources/boost/boost/multiprecision/rational_adaptor.hpp", - "external/sources/boost/boost/multiprecision/tommath.hpp", - "external/sources/boost/boost/multiprecision/traits/explicit_conversion.hpp", - "external/sources/boost/boost/multiprecision/traits/extract_exponent_type.hpp", - "external/sources/boost/boost/multiprecision/traits/is_backend.hpp", - "external/sources/boost/boost/multiprecision/traits/is_byte_container.hpp", - "external/sources/boost/boost/multiprecision/traits/is_restricted_conversion.hpp", - "external/sources/boost/boost/multiprecision/traits/is_variable_precision.hpp", - "external/sources/boost/boost/next_prior.hpp", - "external/sources/boost/boost/non_type.hpp", - "external/sources/boost/boost/noncopyable.hpp", - "external/sources/boost/boost/nondet_random.hpp", - "external/sources/boost/boost/none.hpp", - "external/sources/boost/boost/none_t.hpp", - "external/sources/boost/boost/nowide/args.hpp", - "external/sources/boost/boost/nowide/config.hpp", - "external/sources/boost/boost/nowide/convert.hpp", - "external/sources/boost/boost/nowide/cstdio.hpp", - "external/sources/boost/boost/nowide/cstdlib.hpp", - "external/sources/boost/boost/nowide/detail/convert.hpp", - "external/sources/boost/boost/nowide/detail/utf.hpp", - "external/sources/boost/boost/nowide/filebuf.hpp", - "external/sources/boost/boost/nowide/filesystem.hpp", - "external/sources/boost/boost/nowide/fstream.hpp", - "external/sources/boost/boost/nowide/iostream.hpp", - "external/sources/boost/boost/nowide/replacement.hpp", - "external/sources/boost/boost/nowide/stackstring.hpp", - "external/sources/boost/boost/nowide/stat.hpp", - "external/sources/boost/boost/nowide/utf/convert.hpp", - "external/sources/boost/boost/nowide/utf/utf.hpp", - "external/sources/boost/boost/nowide/utf8_codecvt.hpp", - "external/sources/boost/boost/nowide/windows.hpp", - "external/sources/boost/boost/numeric/conversion/bounds.hpp", - "external/sources/boost/boost/numeric/conversion/cast.hpp", - "external/sources/boost/boost/numeric/conversion/conversion_traits.hpp", - "external/sources/boost/boost/numeric/conversion/converter.hpp", - "external/sources/boost/boost/numeric/conversion/converter_policies.hpp", - "external/sources/boost/boost/numeric/conversion/detail/bounds.hpp", - "external/sources/boost/boost/numeric/conversion/detail/conversion_traits.hpp", - "external/sources/boost/boost/numeric/conversion/detail/converter.hpp", - "external/sources/boost/boost/numeric/conversion/detail/int_float_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/detail/is_subranged.hpp", - "external/sources/boost/boost/numeric/conversion/detail/meta.hpp", - "external/sources/boost/boost/numeric/conversion/detail/numeric_cast_traits.hpp", - "external/sources/boost/boost/numeric/conversion/detail/old_numeric_cast.hpp", - "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp", - "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp", - "external/sources/boost/boost/numeric/conversion/detail/sign_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/int_float_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/int_float_mixture_enum.hpp", - "external/sources/boost/boost/numeric/conversion/is_subranged.hpp", - "external/sources/boost/boost/numeric/conversion/numeric_cast_traits.hpp", - "external/sources/boost/boost/numeric/conversion/sign_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/sign_mixture_enum.hpp", - "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture_enum.hpp", - "external/sources/boost/boost/numeric/interval.hpp", - "external/sources/boost/boost/numeric/interval/arith.hpp", - "external/sources/boost/boost/numeric/interval/arith2.hpp", - "external/sources/boost/boost/numeric/interval/arith3.hpp", - "external/sources/boost/boost/numeric/interval/checking.hpp", - "external/sources/boost/boost/numeric/interval/compare.hpp", - "external/sources/boost/boost/numeric/interval/compare/certain.hpp", - "external/sources/boost/boost/numeric/interval/compare/explicit.hpp", - "external/sources/boost/boost/numeric/interval/compare/lexicographic.hpp", - "external/sources/boost/boost/numeric/interval/compare/possible.hpp", - "external/sources/boost/boost/numeric/interval/compare/set.hpp", - "external/sources/boost/boost/numeric/interval/compare/tribool.hpp", - "external/sources/boost/boost/numeric/interval/constants.hpp", - "external/sources/boost/boost/numeric/interval/detail/alpha_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/bcc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/bugs.hpp", - "external/sources/boost/boost/numeric/interval/detail/c99_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/c99sub_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/division.hpp", - "external/sources/boost/boost/numeric/interval/detail/ia64_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/interval_prototype.hpp", - "external/sources/boost/boost/numeric/interval/detail/msvc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/ppc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/sparc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/test_input.hpp", - "external/sources/boost/boost/numeric/interval/detail/x86_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/x86gcc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/ext/integer.hpp", - "external/sources/boost/boost/numeric/interval/ext/x86_fast_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/hw_rounding.hpp", - "external/sources/boost/boost/numeric/interval/interval.hpp", - "external/sources/boost/boost/numeric/interval/io.hpp", - "external/sources/boost/boost/numeric/interval/limits.hpp", - "external/sources/boost/boost/numeric/interval/policies.hpp", - "external/sources/boost/boost/numeric/interval/rounded_arith.hpp", - "external/sources/boost/boost/numeric/interval/rounded_transc.hpp", - "external/sources/boost/boost/numeric/interval/rounding.hpp", - "external/sources/boost/boost/numeric/interval/transc.hpp", - "external/sources/boost/boost/numeric/interval/utility.hpp", - "external/sources/boost/boost/numeric/interval/utility_fwd.hpp", - "external/sources/boost/boost/numeric/odeint.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/array_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/default_operations.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/extract_value_type.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/for_each.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/macros.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/multi_array_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/norm_result_type.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/range_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/vector_space_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/config.hpp", - "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/gsl/gsl_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/external/mkl/mkl_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_nested_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_vector_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/implicit_euler_mtl4.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_copy.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_nested_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_abs.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_copy.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_same_instance.hpp", - "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_resize.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/check_adapter.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/functors.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/max_step_checker.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/null_observer.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/observer_collection.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/adaptive_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/adaptive_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/const_step_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/const_step_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/detail/ode_iterator_base.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/n_step_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/times_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/functors.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/null_observer.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/observer_collection.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/n_step_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/n_step_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/times_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/times_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adaptive_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/algebra_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_step_result.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adaptive_adams_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_operations.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/rotating_buffer.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/explicit_generic_rk.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/extrapolation_stepper.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_dense_output_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_dopri5.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_fehlberg78.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/make_controlled.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/make_dense_output.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/implicit_euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/modified_midpoint.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_controller.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_dense_output.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_fehlberg78.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/stepper_categories.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_m4_mclachlan.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_mclachlan.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/velocity_verlet.hpp", - "external/sources/boost/boost/numeric/odeint/util/bind.hpp", - "external/sources/boost/boost/numeric/odeint/util/copy.hpp", - "external/sources/boost/boost/numeric/odeint/util/detail/is_range.hpp", - "external/sources/boost/boost/numeric/odeint/util/detail/less_with_sign.hpp", - "external/sources/boost/boost/numeric/odeint/util/is_pair.hpp", - "external/sources/boost/boost/numeric/odeint/util/is_resizeable.hpp", - "external/sources/boost/boost/numeric/odeint/util/multi_array_adaption.hpp", - "external/sources/boost/boost/numeric/odeint/util/n_ary_helper.hpp", - "external/sources/boost/boost/numeric/odeint/util/odeint_error.hpp", - "external/sources/boost/boost/numeric/odeint/util/resize.hpp", - "external/sources/boost/boost/numeric/odeint/util/resizer.hpp", - "external/sources/boost/boost/numeric/odeint/util/same_instance.hpp", - "external/sources/boost/boost/numeric/odeint/util/same_size.hpp", - "external/sources/boost/boost/numeric/odeint/util/split.hpp", - "external/sources/boost/boost/numeric/odeint/util/split_adaptor.hpp", - "external/sources/boost/boost/numeric/odeint/util/state_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/util/stepper_traits.hpp", - "external/sources/boost/boost/numeric/odeint/util/ublas_matrix_expression.patch", - "external/sources/boost/boost/numeric/odeint/util/ublas_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/util/unit_helper.hpp", - "external/sources/boost/boost/numeric/odeint/util/unwrap_reference.hpp", - "external/sources/boost/boost/numeric/odeint/version.hpp", - "external/sources/boost/boost/numeric/ublas/assignment.hpp", - "external/sources/boost/boost/numeric/ublas/banded.hpp", - "external/sources/boost/boost/numeric/ublas/blas.hpp", - "external/sources/boost/boost/numeric/ublas/detail/concepts.hpp", - "external/sources/boost/boost/numeric/ublas/detail/config.hpp", - "external/sources/boost/boost/numeric/ublas/detail/definitions.hpp", - "external/sources/boost/boost/numeric/ublas/detail/documentation.hpp", - "external/sources/boost/boost/numeric/ublas/detail/duff.hpp", - "external/sources/boost/boost/numeric/ublas/detail/iterator.hpp", - "external/sources/boost/boost/numeric/ublas/detail/matrix_assign.hpp", - "external/sources/boost/boost/numeric/ublas/detail/raw.hpp", - "external/sources/boost/boost/numeric/ublas/detail/returntype_deduction.hpp", - "external/sources/boost/boost/numeric/ublas/detail/temporary.hpp", - "external/sources/boost/boost/numeric/ublas/detail/vector_assign.hpp", - "external/sources/boost/boost/numeric/ublas/doxydoc.hpp", - "external/sources/boost/boost/numeric/ublas/exception.hpp", - "external/sources/boost/boost/numeric/ublas/experimental/sparse_view.hpp", - "external/sources/boost/boost/numeric/ublas/expression_types.hpp", - "external/sources/boost/boost/numeric/ublas/functional.hpp", - "external/sources/boost/boost/numeric/ublas/fwd.hpp", - "external/sources/boost/boost/numeric/ublas/hermitian.hpp", - "external/sources/boost/boost/numeric/ublas/io.hpp", - "external/sources/boost/boost/numeric/ublas/lu.hpp", - "external/sources/boost/boost/numeric/ublas/matrix.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_expression.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_proxy.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_vector.hpp", - "external/sources/boost/boost/numeric/ublas/opencl.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/elementwise.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/library.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/matrix.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/misc.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/operations.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/prod.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/transpose.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/vector.hpp", - "external/sources/boost/boost/numeric/ublas/operation.hpp", - "external/sources/boost/boost/numeric/ublas/operation/begin.hpp", - "external/sources/boost/boost/numeric/ublas/operation/c_array.hpp", - "external/sources/boost/boost/numeric/ublas/operation/end.hpp", - "external/sources/boost/boost/numeric/ublas/operation/num_columns.hpp", - "external/sources/boost/boost/numeric/ublas/operation/num_rows.hpp", - "external/sources/boost/boost/numeric/ublas/operation/size.hpp", - "external/sources/boost/boost/numeric/ublas/operation_blocked.hpp", - "external/sources/boost/boost/numeric/ublas/operation_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/operations.hpp", - "external/sources/boost/boost/numeric/ublas/storage.hpp", - "external/sources/boost/boost/numeric/ublas/storage_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/symmetric.hpp", - "external/sources/boost/boost/numeric/ublas/tags.hpp", - "external/sources/boost/boost/numeric/ublas/tensor.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/algorithms.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/expression.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/extents.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/functions.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/index.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multi_index.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multi_index_utility.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multiplication.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/operators_arithmetic.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/operators_comparison.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/ostream.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/storage_traits.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/strides.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/tensor.hpp", - "external/sources/boost/boost/numeric/ublas/traits.hpp", - "external/sources/boost/boost/numeric/ublas/traits/c_array.hpp", - "external/sources/boost/boost/numeric/ublas/traits/const_iterator_type.hpp", - "external/sources/boost/boost/numeric/ublas/traits/iterator_type.hpp", - "external/sources/boost/boost/numeric/ublas/triangular.hpp", - "external/sources/boost/boost/numeric/ublas/vector.hpp", - "external/sources/boost/boost/numeric/ublas/vector_expression.hpp", - "external/sources/boost/boost/numeric/ublas/vector_of_vector.hpp", - "external/sources/boost/boost/numeric/ublas/vector_proxy.hpp", - "external/sources/boost/boost/numeric/ublas/vector_sparse.hpp", - "external/sources/boost/boost/operators.hpp", - "external/sources/boost/boost/operators_v1.hpp", - "external/sources/boost/boost/optional.hpp", - "external/sources/boost/boost/optional/bad_optional_access.hpp", - "external/sources/boost/boost/optional/detail/experimental_traits.hpp", - "external/sources/boost/boost/optional/detail/old_optional_implementation.hpp", - "external/sources/boost/boost/optional/detail/optional_aligned_storage.hpp", - "external/sources/boost/boost/optional/detail/optional_config.hpp", - "external/sources/boost/boost/optional/detail/optional_factory_support.hpp", - "external/sources/boost/boost/optional/detail/optional_reference_spec.hpp", - "external/sources/boost/boost/optional/detail/optional_relops.hpp", - "external/sources/boost/boost/optional/detail/optional_swap.hpp", - "external/sources/boost/boost/optional/detail/optional_trivially_copyable_base.hpp", - "external/sources/boost/boost/optional/optional.hpp", - "external/sources/boost/boost/optional/optional_fwd.hpp", - "external/sources/boost/boost/optional/optional_io.hpp", - "external/sources/boost/boost/outcome.hpp", - "external/sources/boost/boost/outcome/bad_access.hpp", - "external/sources/boost/boost/outcome/basic_outcome.hpp", - "external/sources/boost/boost/outcome/basic_result.hpp", - "external/sources/boost/boost/outcome/boost_outcome.hpp", - "external/sources/boost/boost/outcome/boost_result.hpp", - "external/sources/boost/boost/outcome/config.hpp", - "external/sources/boost/boost/outcome/convert.hpp", - "external/sources/boost/boost/outcome/coroutine_support.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers_impl.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_failure_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_error_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_final.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_storage.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_value_observers.hpp", - "external/sources/boost/boost/outcome/detail/coroutine_support.ipp", - "external/sources/boost/boost/outcome/detail/revision.hpp", - "external/sources/boost/boost/outcome/detail/trait_std_error_code.hpp", - "external/sources/boost/boost/outcome/detail/trait_std_exception.hpp", - "external/sources/boost/boost/outcome/detail/value_storage.hpp", - "external/sources/boost/boost/outcome/detail/version.hpp", - "external/sources/boost/boost/outcome/experimental/coroutine_support.hpp", - "external/sources/boost/boost/outcome/experimental/result.h", - "external/sources/boost/boost/outcome/experimental/status-code/com_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/config.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_generic_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_win32_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/win32_code_to_generic_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/error.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/errored_status_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/generic_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/getaddrinfo_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/iostream_support.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/nt_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/posix_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/quick_status_code_from_enum.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/result.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code_domain.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code_ptr.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_error.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/std_error_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_code_from_exception.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_error2.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/win32_code.hpp", - "external/sources/boost/boost/outcome/experimental/status_outcome.hpp", - "external/sources/boost/boost/outcome/experimental/status_result.hpp", - "external/sources/boost/boost/outcome/iostream_support.hpp", - "external/sources/boost/boost/outcome/outcome.hpp", - "external/sources/boost/boost/outcome/policy/all_narrow.hpp", - "external/sources/boost/boost/outcome/policy/base.hpp", - "external/sources/boost/boost/outcome/policy/fail_to_compile_observers.hpp", - "external/sources/boost/boost/outcome/policy/outcome_error_code_throw_as_system_error.hpp", - "external/sources/boost/boost/outcome/policy/outcome_exception_ptr_rethrow.hpp", - "external/sources/boost/boost/outcome/policy/result_error_code_throw_as_system_error.hpp", - "external/sources/boost/boost/outcome/policy/result_exception_ptr_rethrow.hpp", - "external/sources/boost/boost/outcome/policy/terminate.hpp", - "external/sources/boost/boost/outcome/policy/throw_bad_result_access.hpp", - "external/sources/boost/boost/outcome/result.hpp", - "external/sources/boost/boost/outcome/std_outcome.hpp", - "external/sources/boost/boost/outcome/std_result.hpp", - "external/sources/boost/boost/outcome/success_failure.hpp", - "external/sources/boost/boost/outcome/trait.hpp", - "external/sources/boost/boost/outcome/try.hpp", - "external/sources/boost/boost/outcome/utils.hpp", - "external/sources/boost/boost/parameter.hpp", - "external/sources/boost/boost/parameter/are_tagged_arguments.hpp", - "external/sources/boost/boost/parameter/aux_/always_true_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/arg_list.hpp", - "external/sources/boost/boost/parameter/aux_/as_lvalue.hpp", - "external/sources/boost/boost/parameter/aux_/augment_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/cast.hpp", - "external/sources/boost/boost/parameter/aux_/default.hpp", - "external/sources/boost/boost/parameter/aux_/has_nested_template_fn.hpp", - "external/sources/boost/boost/parameter/aux_/is_maybe.hpp", - "external/sources/boost/boost/parameter/aux_/is_placeholder.hpp", - "external/sources/boost/boost/parameter/aux_/is_tagged_argument.hpp", - "external/sources/boost/boost/parameter/aux_/lambda_tag.hpp", - "external/sources/boost/boost/parameter/aux_/maybe.hpp", - "external/sources/boost/boost/parameter/aux_/name.hpp", - "external/sources/boost/boost/parameter/aux_/pack/as_parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/pack/deduce_tag.hpp", - "external/sources/boost/boost/parameter/aux_/pack/deduced_item.hpp", - "external/sources/boost/boost/parameter/aux_/pack/insert_tagged.hpp", - "external/sources/boost/boost/parameter/aux_/pack/is_named_argument.hpp", - "external/sources/boost/boost/parameter/aux_/pack/item.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_arg_list.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_deduced_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_parameter_spec_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/pack/predicate.hpp", - "external/sources/boost/boost/parameter/aux_/pack/satisfies.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_deduced.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_type.hpp", - "external/sources/boost/boost/parameter/aux_/pack/unmatched_argument.hpp", - "external/sources/boost/boost/parameter/aux_/parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/parenthesized_type.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/argument_pack.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/match.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/flatten.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/for_each_pred.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/arity_range.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/flatten.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_cast.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_name.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/specification.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/split_args.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/is_binary.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/is_nullary.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/nullptr.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/qualifier.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/seq_enum.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/seq_merge.hpp", - "external/sources/boost/boost/parameter/aux_/python/invoker.hpp", - "external/sources/boost/boost/parameter/aux_/python/invoker_iterate.hpp", - "external/sources/boost/boost/parameter/aux_/result_of0.hpp", - "external/sources/boost/boost/parameter/aux_/set.hpp", - "external/sources/boost/boost/parameter/aux_/tag.hpp", - "external/sources/boost/boost/parameter/aux_/tagged_argument.hpp", - "external/sources/boost/boost/parameter/aux_/tagged_argument_fwd.hpp", - "external/sources/boost/boost/parameter/aux_/template_keyword.hpp", - "external/sources/boost/boost/parameter/aux_/unwrap_cv_reference.hpp", - "external/sources/boost/boost/parameter/aux_/use_default.hpp", - "external/sources/boost/boost/parameter/aux_/use_default_tag.hpp", - "external/sources/boost/boost/parameter/aux_/void.hpp", - "external/sources/boost/boost/parameter/aux_/yesno.hpp", - "external/sources/boost/boost/parameter/binding.hpp", - "external/sources/boost/boost/parameter/compose.hpp", - "external/sources/boost/boost/parameter/config.hpp", - "external/sources/boost/boost/parameter/deduced.hpp", - "external/sources/boost/boost/parameter/is_argument_pack.hpp", - "external/sources/boost/boost/parameter/keyword.hpp", - "external/sources/boost/boost/parameter/keyword_fwd.hpp", - "external/sources/boost/boost/parameter/macros.hpp", - "external/sources/boost/boost/parameter/match.hpp", - "external/sources/boost/boost/parameter/name.hpp", - "external/sources/boost/boost/parameter/nested_keyword.hpp", - "external/sources/boost/boost/parameter/optional.hpp", - "external/sources/boost/boost/parameter/parameters.hpp", - "external/sources/boost/boost/parameter/preprocessor.hpp", - "external/sources/boost/boost/parameter/preprocessor_no_spec.hpp", - "external/sources/boost/boost/parameter/python.hpp", - "external/sources/boost/boost/parameter/required.hpp", - "external/sources/boost/boost/parameter/template_keyword.hpp", - "external/sources/boost/boost/parameter/value_type.hpp", - "external/sources/boost/boost/pending/bucket_sorter.hpp", - "external/sources/boost/boost/pending/container_traits.hpp", - "external/sources/boost/boost/pending/detail/disjoint_sets.hpp", - "external/sources/boost/boost/pending/detail/int_iterator.hpp", - "external/sources/boost/boost/pending/detail/property.hpp", - "external/sources/boost/boost/pending/disjoint_sets.hpp", - "external/sources/boost/boost/pending/fenced_priority_queue.hpp", - "external/sources/boost/boost/pending/fibonacci_heap.hpp", - "external/sources/boost/boost/pending/indirect_cmp.hpp", - "external/sources/boost/boost/pending/integer_log2.hpp", - "external/sources/boost/boost/pending/is_heap.hpp", - "external/sources/boost/boost/pending/iterator_adaptors.hpp", - "external/sources/boost/boost/pending/iterator_tests.hpp", - "external/sources/boost/boost/pending/mutable_heap.hpp", - "external/sources/boost/boost/pending/mutable_queue.hpp", - "external/sources/boost/boost/pending/property.hpp", - "external/sources/boost/boost/pending/property_serialize.hpp", - "external/sources/boost/boost/pending/queue.hpp", - "external/sources/boost/boost/pending/relaxed_heap.hpp", - "external/sources/boost/boost/pending/stringtok.hpp", - "external/sources/boost/boost/phoenix.hpp", - "external/sources/boost/boost/phoenix/bind.hpp", - "external/sources/boost/boost/phoenix/bind/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/bind_member_variable.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/member_function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/member_variable.hpp", - "external/sources/boost/boost/phoenix/config.hpp", - "external/sources/boost/boost/phoenix/core.hpp", - "external/sources/boost/boost/phoenix/core/actor.hpp", - "external/sources/boost/boost/phoenix/core/argument.hpp", - "external/sources/boost/boost/phoenix/core/arity.hpp", - "external/sources/boost/boost/phoenix/core/as_actor.hpp", - "external/sources/boost/boost/phoenix/core/call.hpp", - "external/sources/boost/boost/phoenix/core/debug.hpp", - "external/sources/boost/boost/phoenix/core/detail/argument.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_operator.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_result_of.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/call.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval_expr.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/index_sequence.hpp", - "external/sources/boost/boost/phoenix/core/domain.hpp", - "external/sources/boost/boost/phoenix/core/environment.hpp", - "external/sources/boost/boost/phoenix/core/expression.hpp", - "external/sources/boost/boost/phoenix/core/function_equal.hpp", - "external/sources/boost/boost/phoenix/core/is_actor.hpp", - "external/sources/boost/boost/phoenix/core/is_nullary.hpp", - "external/sources/boost/boost/phoenix/core/is_value.hpp", - "external/sources/boost/boost/phoenix/core/limits.hpp", - "external/sources/boost/boost/phoenix/core/meta_grammar.hpp", - "external/sources/boost/boost/phoenix/core/nothing.hpp", - "external/sources/boost/boost/phoenix/core/reference.hpp", - "external/sources/boost/boost/phoenix/core/terminal.hpp", - "external/sources/boost/boost/phoenix/core/terminal_fwd.hpp", - "external/sources/boost/boost/phoenix/core/v2_eval.hpp", - "external/sources/boost/boost/phoenix/core/value.hpp", - "external/sources/boost/boost/phoenix/debug.hpp", - "external/sources/boost/boost/phoenix/function.hpp", - "external/sources/boost/boost/phoenix/function/adapt_callable.hpp", - "external/sources/boost/boost/phoenix/function/adapt_function.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/function_operator.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_20.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_30.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_40.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_50.hpp", - "external/sources/boost/boost/phoenix/function/function.hpp", - "external/sources/boost/boost/phoenix/function/lazy_list.hpp", - "external/sources/boost/boost/phoenix/function/lazy_operator.hpp", - "external/sources/boost/boost/phoenix/function/lazy_prelude.hpp", - "external/sources/boost/boost/phoenix/function/lazy_reuse.hpp", - "external/sources/boost/boost/phoenix/function/lazy_signature.hpp", - "external/sources/boost/boost/phoenix/function/lazy_smart.hpp", - "external/sources/boost/boost/phoenix/fusion.hpp", - "external/sources/boost/boost/phoenix/fusion/at.hpp", - "external/sources/boost/boost/phoenix/object.hpp", - "external/sources/boost/boost/phoenix/object/const_cast.hpp", - "external/sources/boost/boost/phoenix/object/construct.hpp", - "external/sources/boost/boost/phoenix/object/delete.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/target.hpp", - "external/sources/boost/boost/phoenix/object/dynamic_cast.hpp", - "external/sources/boost/boost/phoenix/object/new.hpp", - "external/sources/boost/boost/phoenix/object/reinterpret_cast.hpp", - "external/sources/boost/boost/phoenix/object/static_cast.hpp", - "external/sources/boost/boost/phoenix/operator.hpp", - "external/sources/boost/boost/phoenix/operator/arithmetic.hpp", - "external/sources/boost/boost/phoenix/operator/bitwise.hpp", - "external/sources/boost/boost/phoenix/operator/comparison.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval_result_of.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_expr.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_gen.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/define_operator.hpp", - "external/sources/boost/boost/phoenix/operator/detail/undef_operator.hpp", - "external/sources/boost/boost/phoenix/operator/if_else.hpp", - "external/sources/boost/boost/phoenix/operator/io.hpp", - "external/sources/boost/boost/phoenix/operator/logical.hpp", - "external/sources/boost/boost/phoenix/operator/member.hpp", - "external/sources/boost/boost/phoenix/operator/self.hpp", - "external/sources/boost/boost/phoenix/phoenix.hpp", - "external/sources/boost/boost/phoenix/scope.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/local_gen.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_10.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_20.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_30.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_40.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_50.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_10.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_20.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_30.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_50.hpp", - "external/sources/boost/boost/phoenix/scope/detail/local_gen.hpp", - "external/sources/boost/boost/phoenix/scope/detail/local_variable.hpp", - "external/sources/boost/boost/phoenix/scope/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/let.hpp", - "external/sources/boost/boost/phoenix/scope/local_variable.hpp", - "external/sources/boost/boost/phoenix/scope/scoped_environment.hpp", - "external/sources/boost/boost/phoenix/scope/this.hpp", - "external/sources/boost/boost/phoenix/statement.hpp", - "external/sources/boost/boost/phoenix/statement/detail/catch_push_back.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/switch.hpp", - "external/sources/boost/boost/phoenix/statement/detail/try_catch_eval.hpp", - "external/sources/boost/boost/phoenix/statement/detail/try_catch_expression.hpp", - "external/sources/boost/boost/phoenix/statement/do_while.hpp", - "external/sources/boost/boost/phoenix/statement/for.hpp", - "external/sources/boost/boost/phoenix/statement/if.hpp", - "external/sources/boost/boost/phoenix/statement/sequence.hpp", - "external/sources/boost/boost/phoenix/statement/switch.hpp", - "external/sources/boost/boost/phoenix/statement/throw.hpp", - "external/sources/boost/boost/phoenix/statement/try_catch.hpp", - "external/sources/boost/boost/phoenix/statement/while.hpp", - "external/sources/boost/boost/phoenix/stl.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/begin.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/decay_array.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/end.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_equal_range.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_find.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_lower_bound.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove_if.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_reverse.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_sort.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_unique.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_upper_bound.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_set.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_list.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_set.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/iteration.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/querying.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/transformation.hpp", - "external/sources/boost/boost/phoenix/stl/cmath.hpp", - "external/sources/boost/boost/phoenix/stl/container.hpp", - "external/sources/boost/boost/phoenix/stl/container/container.hpp", - "external/sources/boost/boost/phoenix/stl/container/detail/container.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate_define.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate_undef.hpp", - "external/sources/boost/boost/phoenix/support/iterate.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_10.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_20.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_30.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_40.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_50.hpp", - "external/sources/boost/boost/phoenix/support/preprocessor/round.hpp", - "external/sources/boost/boost/phoenix/support/vector.hpp", - "external/sources/boost/boost/phoenix/version.hpp", - "external/sources/boost/boost/pointee.hpp", - "external/sources/boost/boost/pointer_cast.hpp", - "external/sources/boost/boost/pointer_to_other.hpp", - "external/sources/boost/boost/poly_collection/algorithm.hpp", - "external/sources/boost/boost/poly_collection/any_collection.hpp", - "external/sources/boost/boost/poly_collection/any_collection_fwd.hpp", - "external/sources/boost/boost/poly_collection/base_collection.hpp", - "external/sources/boost/boost/poly_collection/base_collection_fwd.hpp", - "external/sources/boost/boost/poly_collection/detail/allocator_adaptor.hpp", - "external/sources/boost/boost/poly_collection/detail/any_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/any_model.hpp", - "external/sources/boost/boost/poly_collection/detail/auto_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/base_model.hpp", - "external/sources/boost/boost/poly_collection/detail/callable_wrapper.hpp", - "external/sources/boost/boost/poly_collection/detail/callable_wrapper_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/function_model.hpp", - "external/sources/boost/boost/poly_collection/detail/functional.hpp", - "external/sources/boost/boost/poly_collection/detail/is_acceptable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_constructible.hpp", - "external/sources/boost/boost/poly_collection/detail/is_equality_comparable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_final.hpp", - "external/sources/boost/boost/poly_collection/detail/is_invocable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_nothrow_eq_comparable.hpp", - "external/sources/boost/boost/poly_collection/detail/iterator_impl.hpp", - "external/sources/boost/boost/poly_collection/detail/iterator_traits.hpp", - "external/sources/boost/boost/poly_collection/detail/packed_segment.hpp", - "external/sources/boost/boost/poly_collection/detail/poly_collection.hpp", - "external/sources/boost/boost/poly_collection/detail/segment.hpp", - "external/sources/boost/boost/poly_collection/detail/segment_backend.hpp", - "external/sources/boost/boost/poly_collection/detail/segment_split.hpp", - "external/sources/boost/boost/poly_collection/detail/split_segment.hpp", - "external/sources/boost/boost/poly_collection/detail/stride_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/type_info_map.hpp", - "external/sources/boost/boost/poly_collection/detail/type_restitution.hpp", - "external/sources/boost/boost/poly_collection/detail/value_holder.hpp", - "external/sources/boost/boost/poly_collection/exception.hpp", - "external/sources/boost/boost/poly_collection/function_collection.hpp", - "external/sources/boost/boost/poly_collection/function_collection_fwd.hpp", - "external/sources/boost/boost/polygon/detail/boolean_op.hpp", - "external/sources/boost/boost/polygon/detail/boolean_op_45.hpp", - "external/sources/boost/boost/polygon/detail/iterator_compact_to_points.hpp", - "external/sources/boost/boost/polygon/detail/iterator_geometry_to_set.hpp", - "external/sources/boost/boost/polygon/detail/iterator_points_to_compact.hpp", - "external/sources/boost/boost/polygon/detail/max_cover.hpp", - "external/sources/boost/boost/polygon/detail/minkowski.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_touch.hpp", - "external/sources/boost/boost/polygon/detail/polygon_90_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_90_touch.hpp", - "external/sources/boost/boost/polygon/detail/polygon_arbitrary_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_simplify.hpp", - "external/sources/boost/boost/polygon/detail/polygon_sort_adaptor.hpp", - "external/sources/boost/boost/polygon/detail/property_merge.hpp", - "external/sources/boost/boost/polygon/detail/property_merge_45.hpp", - "external/sources/boost/boost/polygon/detail/rectangle_formation.hpp", - "external/sources/boost/boost/polygon/detail/scan_arbitrary.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_ctypes.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_predicates.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_robust_fpt.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_structures.hpp", - "external/sources/boost/boost/polygon/gmp_override.hpp", - "external/sources/boost/boost/polygon/gtl.hpp", - "external/sources/boost/boost/polygon/interval_concept.hpp", - "external/sources/boost/boost/polygon/interval_data.hpp", - "external/sources/boost/boost/polygon/interval_traits.hpp", - "external/sources/boost/boost/polygon/isotropy.hpp", - "external/sources/boost/boost/polygon/point_concept.hpp", - "external/sources/boost/boost/polygon/point_data.hpp", - "external/sources/boost/boost/polygon/point_traits.hpp", - "external/sources/boost/boost/polygon/polygon.hpp", - "external/sources/boost/boost/polygon/polygon_45_data.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_45_with_holes_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_90_with_holes_data.hpp", - "external/sources/boost/boost/polygon/polygon_data.hpp", - "external/sources/boost/boost/polygon/polygon_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_traits.hpp", - "external/sources/boost/boost/polygon/polygon_with_holes_data.hpp", - "external/sources/boost/boost/polygon/rectangle_concept.hpp", - "external/sources/boost/boost/polygon/rectangle_data.hpp", - "external/sources/boost/boost/polygon/rectangle_traits.hpp", - "external/sources/boost/boost/polygon/segment_concept.hpp", - "external/sources/boost/boost/polygon/segment_data.hpp", - "external/sources/boost/boost/polygon/segment_traits.hpp", - "external/sources/boost/boost/polygon/segment_utils.hpp", - "external/sources/boost/boost/polygon/transform.hpp", - "external/sources/boost/boost/polygon/voronoi.hpp", - "external/sources/boost/boost/polygon/voronoi_builder.hpp", - "external/sources/boost/boost/polygon/voronoi_diagram.hpp", - "external/sources/boost/boost/polygon/voronoi_geometry_type.hpp", - "external/sources/boost/boost/polymorphic_cast.hpp", - "external/sources/boost/boost/polymorphic_pointer_cast.hpp", - "external/sources/boost/boost/pool/detail/for.m4", - "external/sources/boost/boost/pool/detail/guard.hpp", - "external/sources/boost/boost/pool/detail/mutex.hpp", - "external/sources/boost/boost/pool/detail/pool_construct.bat", - "external/sources/boost/boost/pool/detail/pool_construct.ipp", - "external/sources/boost/boost/pool/detail/pool_construct.m4", - "external/sources/boost/boost/pool/detail/pool_construct.sh", - "external/sources/boost/boost/pool/detail/pool_construct_simple.bat", - "external/sources/boost/boost/pool/detail/pool_construct_simple.ipp", - "external/sources/boost/boost/pool/detail/pool_construct_simple.m4", - "external/sources/boost/boost/pool/detail/pool_construct_simple.sh", - "external/sources/boost/boost/pool/object_pool.hpp", - "external/sources/boost/boost/pool/pool.hpp", - "external/sources/boost/boost/pool/pool_alloc.hpp", - "external/sources/boost/boost/pool/poolfwd.hpp", - "external/sources/boost/boost/pool/simple_segregated_storage.hpp", - "external/sources/boost/boost/pool/singleton_pool.hpp", - "external/sources/boost/boost/predef.h", - "external/sources/boost/boost/predef/architecture.h", - "external/sources/boost/boost/predef/architecture/alpha.h", - "external/sources/boost/boost/predef/architecture/arm.h", - "external/sources/boost/boost/predef/architecture/blackfin.h", - "external/sources/boost/boost/predef/architecture/convex.h", - "external/sources/boost/boost/predef/architecture/ia64.h", - "external/sources/boost/boost/predef/architecture/m68k.h", - "external/sources/boost/boost/predef/architecture/mips.h", - "external/sources/boost/boost/predef/architecture/parisc.h", - "external/sources/boost/boost/predef/architecture/ppc.h", - "external/sources/boost/boost/predef/architecture/ptx.h", - "external/sources/boost/boost/predef/architecture/pyramid.h", - "external/sources/boost/boost/predef/architecture/riscv.h", - "external/sources/boost/boost/predef/architecture/rs6k.h", - "external/sources/boost/boost/predef/architecture/sparc.h", - "external/sources/boost/boost/predef/architecture/superh.h", - "external/sources/boost/boost/predef/architecture/sys370.h", - "external/sources/boost/boost/predef/architecture/sys390.h", - "external/sources/boost/boost/predef/architecture/x86.h", - "external/sources/boost/boost/predef/architecture/x86/32.h", - "external/sources/boost/boost/predef/architecture/x86/64.h", - "external/sources/boost/boost/predef/architecture/z.h", - "external/sources/boost/boost/predef/compiler.h", - "external/sources/boost/boost/predef/compiler/borland.h", - "external/sources/boost/boost/predef/compiler/clang.h", - "external/sources/boost/boost/predef/compiler/comeau.h", - "external/sources/boost/boost/predef/compiler/compaq.h", - "external/sources/boost/boost/predef/compiler/diab.h", - "external/sources/boost/boost/predef/compiler/digitalmars.h", - "external/sources/boost/boost/predef/compiler/dignus.h", - "external/sources/boost/boost/predef/compiler/edg.h", - "external/sources/boost/boost/predef/compiler/ekopath.h", - "external/sources/boost/boost/predef/compiler/gcc.h", - "external/sources/boost/boost/predef/compiler/gcc_xml.h", - "external/sources/boost/boost/predef/compiler/greenhills.h", - "external/sources/boost/boost/predef/compiler/hp_acc.h", - "external/sources/boost/boost/predef/compiler/iar.h", - "external/sources/boost/boost/predef/compiler/ibm.h", - "external/sources/boost/boost/predef/compiler/intel.h", - "external/sources/boost/boost/predef/compiler/kai.h", - "external/sources/boost/boost/predef/compiler/llvm.h", - "external/sources/boost/boost/predef/compiler/metaware.h", - "external/sources/boost/boost/predef/compiler/metrowerks.h", - "external/sources/boost/boost/predef/compiler/microtec.h", - "external/sources/boost/boost/predef/compiler/mpw.h", - "external/sources/boost/boost/predef/compiler/nvcc.h", - "external/sources/boost/boost/predef/compiler/palm.h", - "external/sources/boost/boost/predef/compiler/pgi.h", - "external/sources/boost/boost/predef/compiler/sgi_mipspro.h", - "external/sources/boost/boost/predef/compiler/sunpro.h", - "external/sources/boost/boost/predef/compiler/tendra.h", - "external/sources/boost/boost/predef/compiler/visualc.h", - "external/sources/boost/boost/predef/compiler/watcom.h", - "external/sources/boost/boost/predef/detail/_cassert.h", - "external/sources/boost/boost/predef/detail/_exception.h", - "external/sources/boost/boost/predef/detail/comp_detected.h", - "external/sources/boost/boost/predef/detail/os_detected.h", - "external/sources/boost/boost/predef/detail/platform_detected.h", - "external/sources/boost/boost/predef/detail/test.h", - "external/sources/boost/boost/predef/detail/test_def.h", - "external/sources/boost/boost/predef/hardware.h", - "external/sources/boost/boost/predef/hardware/simd.h", - "external/sources/boost/boost/predef/hardware/simd/arm.h", - "external/sources/boost/boost/predef/hardware/simd/arm/versions.h", - "external/sources/boost/boost/predef/hardware/simd/ppc.h", - "external/sources/boost/boost/predef/hardware/simd/ppc/versions.h", - "external/sources/boost/boost/predef/hardware/simd/x86.h", - "external/sources/boost/boost/predef/hardware/simd/x86/versions.h", - "external/sources/boost/boost/predef/hardware/simd/x86_amd.h", - "external/sources/boost/boost/predef/hardware/simd/x86_amd/versions.h", - "external/sources/boost/boost/predef/language.h", - "external/sources/boost/boost/predef/language/cuda.h", - "external/sources/boost/boost/predef/language/objc.h", - "external/sources/boost/boost/predef/language/stdc.h", - "external/sources/boost/boost/predef/language/stdcpp.h", - "external/sources/boost/boost/predef/library.h", - "external/sources/boost/boost/predef/library/c.h", - "external/sources/boost/boost/predef/library/c/_prefix.h", - "external/sources/boost/boost/predef/library/c/cloudabi.h", - "external/sources/boost/boost/predef/library/c/gnu.h", - "external/sources/boost/boost/predef/library/c/uc.h", - "external/sources/boost/boost/predef/library/c/vms.h", - "external/sources/boost/boost/predef/library/c/zos.h", - "external/sources/boost/boost/predef/library/std.h", - "external/sources/boost/boost/predef/library/std/_prefix.h", - "external/sources/boost/boost/predef/library/std/cxx.h", - "external/sources/boost/boost/predef/library/std/dinkumware.h", - "external/sources/boost/boost/predef/library/std/libcomo.h", - "external/sources/boost/boost/predef/library/std/modena.h", - "external/sources/boost/boost/predef/library/std/msl.h", - "external/sources/boost/boost/predef/library/std/roguewave.h", - "external/sources/boost/boost/predef/library/std/sgi.h", - "external/sources/boost/boost/predef/library/std/stdcpp3.h", - "external/sources/boost/boost/predef/library/std/stlport.h", - "external/sources/boost/boost/predef/library/std/vacpp.h", - "external/sources/boost/boost/predef/make.h", - "external/sources/boost/boost/predef/os.h", - "external/sources/boost/boost/predef/os/aix.h", - "external/sources/boost/boost/predef/os/amigaos.h", - "external/sources/boost/boost/predef/os/beos.h", - "external/sources/boost/boost/predef/os/bsd.h", - "external/sources/boost/boost/predef/os/bsd/bsdi.h", - "external/sources/boost/boost/predef/os/bsd/dragonfly.h", - "external/sources/boost/boost/predef/os/bsd/free.h", - "external/sources/boost/boost/predef/os/bsd/net.h", - "external/sources/boost/boost/predef/os/bsd/open.h", - "external/sources/boost/boost/predef/os/cygwin.h", - "external/sources/boost/boost/predef/os/haiku.h", - "external/sources/boost/boost/predef/os/hpux.h", - "external/sources/boost/boost/predef/os/ios.h", - "external/sources/boost/boost/predef/os/irix.h", - "external/sources/boost/boost/predef/os/linux.h", - "external/sources/boost/boost/predef/os/macos.h", - "external/sources/boost/boost/predef/os/os400.h", - "external/sources/boost/boost/predef/os/qnxnto.h", - "external/sources/boost/boost/predef/os/solaris.h", - "external/sources/boost/boost/predef/os/unix.h", - "external/sources/boost/boost/predef/os/vms.h", - "external/sources/boost/boost/predef/os/windows.h", - "external/sources/boost/boost/predef/other.h", - "external/sources/boost/boost/predef/other/endian.h", - "external/sources/boost/boost/predef/other/workaround.h", - "external/sources/boost/boost/predef/platform.h", - "external/sources/boost/boost/predef/platform/android.h", - "external/sources/boost/boost/predef/platform/cloudabi.h", - "external/sources/boost/boost/predef/platform/ios.h", - "external/sources/boost/boost/predef/platform/mingw.h", - "external/sources/boost/boost/predef/platform/mingw32.h", - "external/sources/boost/boost/predef/platform/mingw64.h", - "external/sources/boost/boost/predef/platform/windows_desktop.h", - "external/sources/boost/boost/predef/platform/windows_phone.h", - "external/sources/boost/boost/predef/platform/windows_runtime.h", - "external/sources/boost/boost/predef/platform/windows_server.h", - "external/sources/boost/boost/predef/platform/windows_store.h", - "external/sources/boost/boost/predef/platform/windows_system.h", - "external/sources/boost/boost/predef/platform/windows_uwp.h", - "external/sources/boost/boost/predef/version.h", - "external/sources/boost/boost/predef/version_number.h", - "external/sources/boost/boost/preprocessor.hpp", - "external/sources/boost/boost/preprocessor/arithmetic.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/add.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/dec.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/detail/div_base.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/div.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/inc.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/mod.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/mul.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/sub.hpp", - "external/sources/boost/boost/preprocessor/array.hpp", - "external/sources/boost/boost/preprocessor/array/data.hpp", - "external/sources/boost/boost/preprocessor/array/detail/get_data.hpp", - "external/sources/boost/boost/preprocessor/array/elem.hpp", - "external/sources/boost/boost/preprocessor/array/enum.hpp", - "external/sources/boost/boost/preprocessor/array/insert.hpp", - "external/sources/boost/boost/preprocessor/array/pop_back.hpp", - "external/sources/boost/boost/preprocessor/array/pop_front.hpp", - "external/sources/boost/boost/preprocessor/array/push_back.hpp", - "external/sources/boost/boost/preprocessor/array/push_front.hpp", - "external/sources/boost/boost/preprocessor/array/remove.hpp", - "external/sources/boost/boost/preprocessor/array/replace.hpp", - "external/sources/boost/boost/preprocessor/array/reverse.hpp", - "external/sources/boost/boost/preprocessor/array/size.hpp", - "external/sources/boost/boost/preprocessor/array/to_list.hpp", - "external/sources/boost/boost/preprocessor/array/to_seq.hpp", - "external/sources/boost/boost/preprocessor/array/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/assert_msg.hpp", - "external/sources/boost/boost/preprocessor/cat.hpp", - "external/sources/boost/boost/preprocessor/comma.hpp", - "external/sources/boost/boost/preprocessor/comma_if.hpp", - "external/sources/boost/boost/preprocessor/comparison.hpp", - "external/sources/boost/boost/preprocessor/comparison/equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/greater.hpp", - "external/sources/boost/boost/preprocessor/comparison/greater_equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/less.hpp", - "external/sources/boost/boost/preprocessor/comparison/less_equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/not_equal.hpp", - "external/sources/boost/boost/preprocessor/config/config.hpp", - "external/sources/boost/boost/preprocessor/config/limits.hpp", - "external/sources/boost/boost/preprocessor/control.hpp", - "external/sources/boost/boost/preprocessor/control/deduce_d.hpp", - "external/sources/boost/boost/preprocessor/control/detail/dmc/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/edg/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/msvc/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/while.hpp", - "external/sources/boost/boost/preprocessor/control/expr_if.hpp", - "external/sources/boost/boost/preprocessor/control/expr_iif.hpp", - "external/sources/boost/boost/preprocessor/control/if.hpp", - "external/sources/boost/boost/preprocessor/control/iif.hpp", - "external/sources/boost/boost/preprocessor/control/while.hpp", - "external/sources/boost/boost/preprocessor/debug.hpp", - "external/sources/boost/boost/preprocessor/dec.hpp", - "external/sources/boost/boost/preprocessor/detail/auto_rec.hpp", - "external/sources/boost/boost/preprocessor/detail/check.hpp", - "external/sources/boost/boost/preprocessor/detail/dmc/auto_rec.hpp", - "external/sources/boost/boost/preprocessor/detail/is_binary.hpp", - "external/sources/boost/boost/preprocessor/detail/is_nullary.hpp", - "external/sources/boost/boost/preprocessor/detail/is_unary.hpp", - "external/sources/boost/boost/preprocessor/detail/null.hpp", - "external/sources/boost/boost/preprocessor/detail/split.hpp", - "external/sources/boost/boost/preprocessor/empty.hpp", - "external/sources/boost/boost/preprocessor/enum.hpp", - "external/sources/boost/boost/preprocessor/enum_params.hpp", - "external/sources/boost/boost/preprocessor/enum_params_with_a_default.hpp", - "external/sources/boost/boost/preprocessor/enum_params_with_defaults.hpp", - "external/sources/boost/boost/preprocessor/enum_shifted.hpp", - "external/sources/boost/boost/preprocessor/enum_shifted_params.hpp", - "external/sources/boost/boost/preprocessor/expand.hpp", - "external/sources/boost/boost/preprocessor/expr_if.hpp", - "external/sources/boost/boost/preprocessor/facilities.hpp", - "external/sources/boost/boost/preprocessor/facilities/apply.hpp", - "external/sources/boost/boost/preprocessor/facilities/check_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/detail/is_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/expand.hpp", - "external/sources/boost/boost/preprocessor/facilities/identity.hpp", - "external/sources/boost/boost/preprocessor/facilities/intercept.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_1.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty_or_1.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty_variadic.hpp", - "external/sources/boost/boost/preprocessor/facilities/overload.hpp", - "external/sources/boost/boost/preprocessor/facilities/va_opt.hpp", - "external/sources/boost/boost/preprocessor/for.hpp", - "external/sources/boost/boost/preprocessor/identity.hpp", - "external/sources/boost/boost/preprocessor/if.hpp", - "external/sources/boost/boost/preprocessor/inc.hpp", - "external/sources/boost/boost/preprocessor/iterate.hpp", - "external/sources/boost/boost/preprocessor/iteration.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/finish.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/local.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/rlocal.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/self.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/start.hpp", - "external/sources/boost/boost/preprocessor/iteration/iterate.hpp", - "external/sources/boost/boost/preprocessor/iteration/local.hpp", - "external/sources/boost/boost/preprocessor/iteration/self.hpp", - "external/sources/boost/boost/preprocessor/library.hpp", - "external/sources/boost/boost/preprocessor/limits.hpp", - "external/sources/boost/boost/preprocessor/list.hpp", - "external/sources/boost/boost/preprocessor/list/adt.hpp", - "external/sources/boost/boost/preprocessor/list/append.hpp", - "external/sources/boost/boost/preprocessor/list/at.hpp", - "external/sources/boost/boost/preprocessor/list/cat.hpp", - "external/sources/boost/boost/preprocessor/list/detail/dmc/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/edg/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/edg/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/detail/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/enum.hpp", - "external/sources/boost/boost/preprocessor/list/filter.hpp", - "external/sources/boost/boost/preprocessor/list/first_n.hpp", - "external/sources/boost/boost/preprocessor/list/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/for_each.hpp", - "external/sources/boost/boost/preprocessor/list/for_each_i.hpp", - "external/sources/boost/boost/preprocessor/list/for_each_product.hpp", - "external/sources/boost/boost/preprocessor/list/rest_n.hpp", - "external/sources/boost/boost/preprocessor/list/reverse.hpp", - "external/sources/boost/boost/preprocessor/list/size.hpp", - "external/sources/boost/boost/preprocessor/list/to_array.hpp", - "external/sources/boost/boost/preprocessor/list/to_seq.hpp", - "external/sources/boost/boost/preprocessor/list/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/list/transform.hpp", - "external/sources/boost/boost/preprocessor/logical.hpp", - "external/sources/boost/boost/preprocessor/logical/and.hpp", - "external/sources/boost/boost/preprocessor/logical/bitand.hpp", - "external/sources/boost/boost/preprocessor/logical/bitnor.hpp", - "external/sources/boost/boost/preprocessor/logical/bitor.hpp", - "external/sources/boost/boost/preprocessor/logical/bitxor.hpp", - "external/sources/boost/boost/preprocessor/logical/bool.hpp", - "external/sources/boost/boost/preprocessor/logical/compl.hpp", - "external/sources/boost/boost/preprocessor/logical/nor.hpp", - "external/sources/boost/boost/preprocessor/logical/not.hpp", - "external/sources/boost/boost/preprocessor/logical/or.hpp", - "external/sources/boost/boost/preprocessor/logical/xor.hpp", - "external/sources/boost/boost/preprocessor/max.hpp", - "external/sources/boost/boost/preprocessor/min.hpp", - "external/sources/boost/boost/preprocessor/punctuation.hpp", - "external/sources/boost/boost/preprocessor/punctuation/comma.hpp", - "external/sources/boost/boost/preprocessor/punctuation/comma_if.hpp", - "external/sources/boost/boost/preprocessor/punctuation/detail/is_begin_parens.hpp", - "external/sources/boost/boost/preprocessor/punctuation/is_begin_parens.hpp", - "external/sources/boost/boost/preprocessor/punctuation/paren.hpp", - "external/sources/boost/boost/preprocessor/punctuation/paren_if.hpp", - "external/sources/boost/boost/preprocessor/punctuation/remove_parens.hpp", - "external/sources/boost/boost/preprocessor/repeat.hpp", - "external/sources/boost/boost/preprocessor/repeat_2nd.hpp", - "external/sources/boost/boost/preprocessor/repeat_3rd.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to_2nd.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to_3rd.hpp", - "external/sources/boost/boost/preprocessor/repetition.hpp", - "external/sources/boost/boost/preprocessor/repetition/deduce_r.hpp", - "external/sources/boost/boost/preprocessor/repetition/deduce_z.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/dmc/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/edg/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/msvc/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params_with_a_default.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params_with_defaults.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/repeat.hpp", - "external/sources/boost/boost/preprocessor/repetition/repeat_from_to.hpp", - "external/sources/boost/boost/preprocessor/selection.hpp", - "external/sources/boost/boost/preprocessor/selection/max.hpp", - "external/sources/boost/boost/preprocessor/selection/min.hpp", - "external/sources/boost/boost/preprocessor/seq.hpp", - "external/sources/boost/boost/preprocessor/seq/cat.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/binary_transform.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/is_empty.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/split.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/to_list_msvc.hpp", - "external/sources/boost/boost/preprocessor/seq/elem.hpp", - "external/sources/boost/boost/preprocessor/seq/enum.hpp", - "external/sources/boost/boost/preprocessor/seq/filter.hpp", - "external/sources/boost/boost/preprocessor/seq/first_n.hpp", - "external/sources/boost/boost/preprocessor/seq/fold_left.hpp", - "external/sources/boost/boost/preprocessor/seq/fold_right.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each_i.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each_product.hpp", - "external/sources/boost/boost/preprocessor/seq/insert.hpp", - "external/sources/boost/boost/preprocessor/seq/pop_back.hpp", - "external/sources/boost/boost/preprocessor/seq/pop_front.hpp", - "external/sources/boost/boost/preprocessor/seq/push_back.hpp", - "external/sources/boost/boost/preprocessor/seq/push_front.hpp", - "external/sources/boost/boost/preprocessor/seq/remove.hpp", - "external/sources/boost/boost/preprocessor/seq/replace.hpp", - "external/sources/boost/boost/preprocessor/seq/rest_n.hpp", - "external/sources/boost/boost/preprocessor/seq/reverse.hpp", - "external/sources/boost/boost/preprocessor/seq/seq.hpp", - "external/sources/boost/boost/preprocessor/seq/size.hpp", - "external/sources/boost/boost/preprocessor/seq/subseq.hpp", - "external/sources/boost/boost/preprocessor/seq/to_array.hpp", - "external/sources/boost/boost/preprocessor/seq/to_list.hpp", - "external/sources/boost/boost/preprocessor/seq/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/seq/transform.hpp", - "external/sources/boost/boost/preprocessor/seq/variadic_seq_to_seq.hpp", - "external/sources/boost/boost/preprocessor/slot.hpp", - "external/sources/boost/boost/preprocessor/slot/counter.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/counter.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/def.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/shared.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot1.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot2.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot3.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot4.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot5.hpp", - "external/sources/boost/boost/preprocessor/slot/slot.hpp", - "external/sources/boost/boost/preprocessor/stringize.hpp", - "external/sources/boost/boost/preprocessor/tuple.hpp", - "external/sources/boost/boost/preprocessor/tuple/detail/is_single_return.hpp", - "external/sources/boost/boost/preprocessor/tuple/eat.hpp", - "external/sources/boost/boost/preprocessor/tuple/elem.hpp", - "external/sources/boost/boost/preprocessor/tuple/enum.hpp", - "external/sources/boost/boost/preprocessor/tuple/insert.hpp", - "external/sources/boost/boost/preprocessor/tuple/pop_back.hpp", - "external/sources/boost/boost/preprocessor/tuple/pop_front.hpp", - "external/sources/boost/boost/preprocessor/tuple/push_back.hpp", - "external/sources/boost/boost/preprocessor/tuple/push_front.hpp", - "external/sources/boost/boost/preprocessor/tuple/rem.hpp", - "external/sources/boost/boost/preprocessor/tuple/remove.hpp", - "external/sources/boost/boost/preprocessor/tuple/replace.hpp", - "external/sources/boost/boost/preprocessor/tuple/reverse.hpp", - "external/sources/boost/boost/preprocessor/tuple/size.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_array.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_list.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_seq.hpp", - "external/sources/boost/boost/preprocessor/variadic.hpp", - "external/sources/boost/boost/preprocessor/variadic/detail/has_opt.hpp", - "external/sources/boost/boost/preprocessor/variadic/detail/is_single_return.hpp", - "external/sources/boost/boost/preprocessor/variadic/elem.hpp", - "external/sources/boost/boost/preprocessor/variadic/has_opt.hpp", - "external/sources/boost/boost/preprocessor/variadic/size.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_array.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_list.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_seq.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/while.hpp", - "external/sources/boost/boost/preprocessor/wstringize.hpp", - "external/sources/boost/boost/process.hpp", - "external/sources/boost/boost/process/args.hpp", - "external/sources/boost/boost/process/async.hpp", - "external/sources/boost/boost/process/async_pipe.hpp", - "external/sources/boost/boost/process/async_system.hpp", - "external/sources/boost/boost/process/child.hpp", - "external/sources/boost/boost/process/cmd.hpp", - "external/sources/boost/boost/process/detail/async_handler.hpp", - "external/sources/boost/boost/process/detail/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/child_decl.hpp", - "external/sources/boost/boost/process/detail/config.hpp", - "external/sources/boost/boost/process/detail/execute_impl.hpp", - "external/sources/boost/boost/process/detail/handler.hpp", - "external/sources/boost/boost/process/detail/handler_base.hpp", - "external/sources/boost/boost/process/detail/on_exit.hpp", - "external/sources/boost/boost/process/detail/posix/asio_fwd.hpp", - "external/sources/boost/boost/process/detail/posix/async_handler.hpp", - "external/sources/boost/boost/process/detail/posix/async_in.hpp", - "external/sources/boost/boost/process/detail/posix/async_out.hpp", - "external/sources/boost/boost/process/detail/posix/async_pipe.hpp", - "external/sources/boost/boost/process/detail/posix/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/posix/basic_pipe.hpp", - "external/sources/boost/boost/process/detail/posix/child_handle.hpp", - "external/sources/boost/boost/process/detail/posix/close_in.hpp", - "external/sources/boost/boost/process/detail/posix/close_out.hpp", - "external/sources/boost/boost/process/detail/posix/cmd.hpp", - "external/sources/boost/boost/process/detail/posix/compare_handles.hpp", - "external/sources/boost/boost/process/detail/posix/env_init.hpp", - "external/sources/boost/boost/process/detail/posix/environment.hpp", - "external/sources/boost/boost/process/detail/posix/exe.hpp", - "external/sources/boost/boost/process/detail/posix/executor.hpp", - "external/sources/boost/boost/process/detail/posix/fd.hpp", - "external/sources/boost/boost/process/detail/posix/file_descriptor.hpp", - "external/sources/boost/boost/process/detail/posix/file_in.hpp", - "external/sources/boost/boost/process/detail/posix/file_out.hpp", - "external/sources/boost/boost/process/detail/posix/group_handle.hpp", - "external/sources/boost/boost/process/detail/posix/group_ref.hpp", - "external/sources/boost/boost/process/detail/posix/handler.hpp", - "external/sources/boost/boost/process/detail/posix/handles.hpp", - "external/sources/boost/boost/process/detail/posix/io_context_ref.hpp", - "external/sources/boost/boost/process/detail/posix/is_running.hpp", - "external/sources/boost/boost/process/detail/posix/null_in.hpp", - "external/sources/boost/boost/process/detail/posix/null_out.hpp", - "external/sources/boost/boost/process/detail/posix/on_exit.hpp", - "external/sources/boost/boost/process/detail/posix/pipe_in.hpp", - "external/sources/boost/boost/process/detail/posix/pipe_out.hpp", - "external/sources/boost/boost/process/detail/posix/search_path.hpp", - "external/sources/boost/boost/process/detail/posix/shell_path.hpp", - "external/sources/boost/boost/process/detail/posix/sigchld_service.hpp", - "external/sources/boost/boost/process/detail/posix/signal.hpp", - "external/sources/boost/boost/process/detail/posix/start_dir.hpp", - "external/sources/boost/boost/process/detail/posix/terminate.hpp", - "external/sources/boost/boost/process/detail/posix/use_vfork.hpp", - "external/sources/boost/boost/process/detail/posix/wait_for_exit.hpp", - "external/sources/boost/boost/process/detail/posix/wait_group.hpp", - "external/sources/boost/boost/process/detail/throw_on_error.hpp", - "external/sources/boost/boost/process/detail/traits.hpp", - "external/sources/boost/boost/process/detail/traits/async.hpp", - "external/sources/boost/boost/process/detail/traits/cmd_or_exe.hpp", - "external/sources/boost/boost/process/detail/traits/decl.hpp", - "external/sources/boost/boost/process/detail/traits/env.hpp", - "external/sources/boost/boost/process/detail/traits/error.hpp", - "external/sources/boost/boost/process/detail/traits/group.hpp", - "external/sources/boost/boost/process/detail/traits/wchar_t.hpp", - "external/sources/boost/boost/process/detail/used_handles.hpp", - "external/sources/boost/boost/process/detail/windows/asio_fwd.hpp", - "external/sources/boost/boost/process/detail/windows/async_handler.hpp", - "external/sources/boost/boost/process/detail/windows/async_in.hpp", - "external/sources/boost/boost/process/detail/windows/async_out.hpp", - "external/sources/boost/boost/process/detail/windows/async_pipe.hpp", - "external/sources/boost/boost/process/detail/windows/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/windows/basic_pipe.hpp", - "external/sources/boost/boost/process/detail/windows/child_handle.hpp", - "external/sources/boost/boost/process/detail/windows/close_in.hpp", - "external/sources/boost/boost/process/detail/windows/close_out.hpp", - "external/sources/boost/boost/process/detail/windows/cmd.hpp", - "external/sources/boost/boost/process/detail/windows/compare_handles.hpp", - "external/sources/boost/boost/process/detail/windows/env_init.hpp", - "external/sources/boost/boost/process/detail/windows/environment.hpp", - "external/sources/boost/boost/process/detail/windows/executor.hpp", - "external/sources/boost/boost/process/detail/windows/file_descriptor.hpp", - "external/sources/boost/boost/process/detail/windows/file_in.hpp", - "external/sources/boost/boost/process/detail/windows/file_out.hpp", - "external/sources/boost/boost/process/detail/windows/group_handle.hpp", - "external/sources/boost/boost/process/detail/windows/group_ref.hpp", - "external/sources/boost/boost/process/detail/windows/handle_workaround.hpp", - "external/sources/boost/boost/process/detail/windows/handler.hpp", - "external/sources/boost/boost/process/detail/windows/handles.hpp", - "external/sources/boost/boost/process/detail/windows/io_context_ref.hpp", - "external/sources/boost/boost/process/detail/windows/is_running.hpp", - "external/sources/boost/boost/process/detail/windows/job_workaround.hpp", - "external/sources/boost/boost/process/detail/windows/locale.hpp", - "external/sources/boost/boost/process/detail/windows/null_in.hpp", - "external/sources/boost/boost/process/detail/windows/null_out.hpp", - "external/sources/boost/boost/process/detail/windows/on_exit.hpp", - "external/sources/boost/boost/process/detail/windows/pipe_in.hpp", - "external/sources/boost/boost/process/detail/windows/pipe_out.hpp", - "external/sources/boost/boost/process/detail/windows/search_path.hpp", - "external/sources/boost/boost/process/detail/windows/shell_path.hpp", - "external/sources/boost/boost/process/detail/windows/show_window.hpp", - "external/sources/boost/boost/process/detail/windows/start_dir.hpp", - "external/sources/boost/boost/process/detail/windows/terminate.hpp", - "external/sources/boost/boost/process/detail/windows/wait_for_exit.hpp", - "external/sources/boost/boost/process/detail/windows/wait_group.hpp", - "external/sources/boost/boost/process/env.hpp", - "external/sources/boost/boost/process/environment.hpp", - "external/sources/boost/boost/process/error.hpp", - "external/sources/boost/boost/process/exception.hpp", - "external/sources/boost/boost/process/exe.hpp", - "external/sources/boost/boost/process/extend.hpp", - "external/sources/boost/boost/process/group.hpp", - "external/sources/boost/boost/process/handles.hpp", - "external/sources/boost/boost/process/io.hpp", - "external/sources/boost/boost/process/locale.hpp", - "external/sources/boost/boost/process/pipe.hpp", - "external/sources/boost/boost/process/posix.hpp", - "external/sources/boost/boost/process/search_path.hpp", - "external/sources/boost/boost/process/shell.hpp", - "external/sources/boost/boost/process/spawn.hpp", - "external/sources/boost/boost/process/start_dir.hpp", - "external/sources/boost/boost/process/system.hpp", - "external/sources/boost/boost/process/windows.hpp", - "external/sources/boost/boost/program_options.hpp", - "external/sources/boost/boost/program_options/cmdline.hpp", - "external/sources/boost/boost/program_options/config.hpp", - "external/sources/boost/boost/program_options/detail/cmdline.hpp", - "external/sources/boost/boost/program_options/detail/config_file.hpp", - "external/sources/boost/boost/program_options/detail/convert.hpp", - "external/sources/boost/boost/program_options/detail/parsers.hpp", - "external/sources/boost/boost/program_options/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/program_options/detail/value_semantic.hpp", - "external/sources/boost/boost/program_options/environment_iterator.hpp", - "external/sources/boost/boost/program_options/eof_iterator.hpp", - "external/sources/boost/boost/program_options/errors.hpp", - "external/sources/boost/boost/program_options/option.hpp", - "external/sources/boost/boost/program_options/options_description.hpp", - "external/sources/boost/boost/program_options/parsers.hpp", - "external/sources/boost/boost/program_options/positional_options.hpp", - "external/sources/boost/boost/program_options/value_semantic.hpp", - "external/sources/boost/boost/program_options/variables_map.hpp", - "external/sources/boost/boost/program_options/version.hpp", - "external/sources/boost/boost/progress.hpp", - "external/sources/boost/boost/property_map/compose_property_map.hpp", - "external/sources/boost/boost/property_map/dynamic_property_map.hpp", - "external/sources/boost/boost/property_map/function_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/basic_reduce.hpp", - "external/sources/boost/boost/property_map/parallel/caching_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/detail/untracked_pair.hpp", - "external/sources/boost/boost/property_map/parallel/distributed_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/global_index_map.hpp", - "external/sources/boost/boost/property_map/parallel/impl/distributed_property_map.ipp", - "external/sources/boost/boost/property_map/parallel/local_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/parallel_property_maps.hpp", - "external/sources/boost/boost/property_map/parallel/process_group.hpp", - "external/sources/boost/boost/property_map/parallel/simple_trigger.hpp", - "external/sources/boost/boost/property_map/parallel/unsafe_serialize.hpp", - "external/sources/boost/boost/property_map/parallel/vector_property_map.hpp", - "external/sources/boost/boost/property_map/property_map.hpp", - "external/sources/boost/boost/property_map/property_map_iterator.hpp", - "external/sources/boost/boost/property_map/shared_array_property_map.hpp", - "external/sources/boost/boost/property_map/transform_value_property_map.hpp", - "external/sources/boost/boost/property_map/vector_property_map.hpp", - "external/sources/boost/boost/property_tree/detail/exception_implementation.hpp", - "external/sources/boost/boost/property_tree/detail/file_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_read.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_utils.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_write.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_writer_settings.hpp", - "external/sources/boost/boost/property_tree/detail/ptree_implementation.hpp", - "external/sources/boost/boost/property_tree/detail/ptree_utils.hpp", - "external/sources/boost/boost/property_tree/detail/rapidxml.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_flags.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_read_rapidxml.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_utils.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_write.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_writer_settings.hpp", - "external/sources/boost/boost/property_tree/exceptions.hpp", - "external/sources/boost/boost/property_tree/id_translator.hpp", - "external/sources/boost/boost/property_tree/info_parser.hpp", - "external/sources/boost/boost/property_tree/ini_parser.hpp", - "external/sources/boost/boost/property_tree/json_parser.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/narrow_encoding.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/parser.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/read.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/standard_callbacks.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/wide_encoding.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/write.hpp", - "external/sources/boost/boost/property_tree/json_parser/error.hpp", - "external/sources/boost/boost/property_tree/ptree.hpp", - "external/sources/boost/boost/property_tree/ptree_fwd.hpp", - "external/sources/boost/boost/property_tree/ptree_serialization.hpp", - "external/sources/boost/boost/property_tree/stream_translator.hpp", - "external/sources/boost/boost/property_tree/string_path.hpp", - "external/sources/boost/boost/property_tree/xml_parser.hpp", - "external/sources/boost/boost/proto/args.hpp", - "external/sources/boost/boost/proto/context.hpp", - "external/sources/boost/boost/proto/context/callable.hpp", - "external/sources/boost/boost/proto/context/default.hpp", - "external/sources/boost/boost/proto/context/detail/callable_eval.hpp", - "external/sources/boost/boost/proto/context/detail/default_eval.hpp", - "external/sources/boost/boost/proto/context/detail/null_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/callable_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/default_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/null_eval.hpp", - "external/sources/boost/boost/proto/context/null.hpp", - "external/sources/boost/boost/proto/core.hpp", - "external/sources/boost/boost/proto/debug.hpp", - "external/sources/boost/boost/proto/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/and_n.hpp", - "external/sources/boost/boost/proto/detail/any.hpp", - "external/sources/boost/boost/proto/detail/args.hpp", - "external/sources/boost/boost/proto/detail/as_expr.hpp", - "external/sources/boost/boost/proto/detail/as_lvalue.hpp", - "external/sources/boost/boost/proto/detail/basic_expr.hpp", - "external/sources/boost/boost/proto/detail/class_member_traits.hpp", - "external/sources/boost/boost/proto/detail/decltype.hpp", - "external/sources/boost/boost/proto/detail/deduce_domain.hpp", - "external/sources/boost/boost/proto/detail/deduce_domain_n.hpp", - "external/sources/boost/boost/proto/detail/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/deprecated.hpp", - "external/sources/boost/boost/proto/detail/dont_care.hpp", - "external/sources/boost/boost/proto/detail/expr.hpp", - "external/sources/boost/boost/proto/detail/expr_funop.hpp", - "external/sources/boost/boost/proto/detail/extends_funop.hpp", - "external/sources/boost/boost/proto/detail/extends_funop_const.hpp", - "external/sources/boost/boost/proto/detail/funop.hpp", - "external/sources/boost/boost/proto/detail/generate_by_value.hpp", - "external/sources/boost/boost/proto/detail/ignore_unused.hpp", - "external/sources/boost/boost/proto/detail/is_noncopyable.hpp", - "external/sources/boost/boost/proto/detail/lambda_matches.hpp", - "external/sources/boost/boost/proto/detail/local.hpp", - "external/sources/boost/boost/proto/detail/make_expr.hpp", - "external/sources/boost/boost/proto/detail/make_expr_.hpp", - "external/sources/boost/boost/proto/detail/make_expr_funop.hpp", - "external/sources/boost/boost/proto/detail/matches_.hpp", - "external/sources/boost/boost/proto/detail/memfun_funop.hpp", - "external/sources/boost/boost/proto/detail/or_n.hpp", - "external/sources/boost/boost/proto/detail/poly_function.hpp", - "external/sources/boost/boost/proto/detail/poly_function_funop.hpp", - "external/sources/boost/boost/proto/detail/poly_function_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/and_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/args.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/basic_expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/class_member_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/deduce_domain_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/expr_variadic.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/extends_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/extends_funop_const.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/generate_by_value.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/lambda_matches.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/matches_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/memfun_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/or_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/poly_function_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/poly_function_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/template_arity_helper.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/unpack_expr_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/vararg_matches_impl.hpp", - "external/sources/boost/boost/proto/detail/remove_typename.hpp", - "external/sources/boost/boost/proto/detail/static_const.hpp", - "external/sources/boost/boost/proto/detail/template_arity.hpp", - "external/sources/boost/boost/proto/detail/template_arity_helper.hpp", - "external/sources/boost/boost/proto/detail/traits.hpp", - "external/sources/boost/boost/proto/detail/unpack_expr_.hpp", - "external/sources/boost/boost/proto/detail/vararg_matches_impl.hpp", - "external/sources/boost/boost/proto/domain.hpp", - "external/sources/boost/boost/proto/eval.hpp", - "external/sources/boost/boost/proto/expr.hpp", - "external/sources/boost/boost/proto/extends.hpp", - "external/sources/boost/boost/proto/functional.hpp", - "external/sources/boost/boost/proto/functional/fusion.hpp", - "external/sources/boost/boost/proto/functional/fusion/at.hpp", - "external/sources/boost/boost/proto/functional/fusion/pop_back.hpp", - "external/sources/boost/boost/proto/functional/fusion/pop_front.hpp", - "external/sources/boost/boost/proto/functional/fusion/push_back.hpp", - "external/sources/boost/boost/proto/functional/fusion/push_front.hpp", - "external/sources/boost/boost/proto/functional/fusion/reverse.hpp", - "external/sources/boost/boost/proto/functional/range.hpp", - "external/sources/boost/boost/proto/functional/range/begin.hpp", - "external/sources/boost/boost/proto/functional/range/empty.hpp", - "external/sources/boost/boost/proto/functional/range/end.hpp", - "external/sources/boost/boost/proto/functional/range/rbegin.hpp", - "external/sources/boost/boost/proto/functional/range/rend.hpp", - "external/sources/boost/boost/proto/functional/range/size.hpp", - "external/sources/boost/boost/proto/functional/std.hpp", - "external/sources/boost/boost/proto/functional/std/iterator.hpp", - "external/sources/boost/boost/proto/functional/std/utility.hpp", - "external/sources/boost/boost/proto/fusion.hpp", - "external/sources/boost/boost/proto/generate.hpp", - "external/sources/boost/boost/proto/literal.hpp", - "external/sources/boost/boost/proto/make_expr.hpp", - "external/sources/boost/boost/proto/matches.hpp", - "external/sources/boost/boost/proto/operators.hpp", - "external/sources/boost/boost/proto/proto.hpp", - "external/sources/boost/boost/proto/proto_fwd.hpp", - "external/sources/boost/boost/proto/proto_typeof.hpp", - "external/sources/boost/boost/proto/repeat.hpp", - "external/sources/boost/boost/proto/tags.hpp", - "external/sources/boost/boost/proto/traits.hpp", - "external/sources/boost/boost/proto/transform.hpp", - "external/sources/boost/boost/proto/transform/arg.hpp", - "external/sources/boost/boost/proto/transform/call.hpp", - "external/sources/boost/boost/proto/transform/default.hpp", - "external/sources/boost/boost/proto/transform/detail/call.hpp", - "external/sources/boost/boost/proto/transform/detail/construct_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/construct_pod_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/default_function_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/expand_pack.hpp", - "external/sources/boost/boost/proto/transform/detail/fold_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/lazy.hpp", - "external/sources/boost/boost/proto/transform/detail/make.hpp", - "external/sources/boost/boost/proto/transform/detail/make_gcc_workaround.hpp", - "external/sources/boost/boost/proto/transform/detail/pack.hpp", - "external/sources/boost/boost/proto/transform/detail/pack_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/pass_through_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/call.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_pod_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/default_function_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/expand_pack.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/fold_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/lazy.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/make.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/make_gcc_workaround.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/pack_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/pass_through_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/when.hpp", - "external/sources/boost/boost/proto/transform/detail/when.hpp", - "external/sources/boost/boost/proto/transform/env.hpp", - "external/sources/boost/boost/proto/transform/fold.hpp", - "external/sources/boost/boost/proto/transform/fold_tree.hpp", - "external/sources/boost/boost/proto/transform/impl.hpp", - "external/sources/boost/boost/proto/transform/integral_c.hpp", - "external/sources/boost/boost/proto/transform/lazy.hpp", - "external/sources/boost/boost/proto/transform/make.hpp", - "external/sources/boost/boost/proto/transform/pass_through.hpp", - "external/sources/boost/boost/proto/transform/when.hpp", - "external/sources/boost/boost/ptr_container/clone_allocator.hpp", - "external/sources/boost/boost/ptr_container/detail/associative_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/detail/default_deleter.hpp", - "external/sources/boost/boost/ptr_container/detail/is_convertible.hpp", - "external/sources/boost/boost/ptr_container/detail/map_iterator.hpp", - "external/sources/boost/boost/ptr_container/detail/meta_functions.hpp", - "external/sources/boost/boost/ptr_container/detail/move.hpp", - "external/sources/boost/boost/ptr_container/detail/ptr_container_disable_deprecated.hpp", - "external/sources/boost/boost/ptr_container/detail/reversible_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/detail/scoped_deleter.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_ptr_map_adapter.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_reversible_cont.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_xml_names.hpp", - "external/sources/boost/boost/ptr_container/detail/static_move_ptr.hpp", - "external/sources/boost/boost/ptr_container/detail/throw_exception.hpp", - "external/sources/boost/boost/ptr_container/detail/void_ptr_iterator.hpp", - "external/sources/boost/boost/ptr_container/exception.hpp", - "external/sources/boost/boost/ptr_container/indirect_fun.hpp", - "external/sources/boost/boost/ptr_container/nullable.hpp", - "external/sources/boost/boost/ptr_container/ptr_array.hpp", - "external/sources/boost/boost/ptr_container/ptr_circular_buffer.hpp", - "external/sources/boost/boost/ptr_container/ptr_container.hpp", - "external/sources/boost/boost/ptr_container/ptr_deque.hpp", - "external/sources/boost/boost/ptr_container/ptr_inserter.hpp", - "external/sources/boost/boost/ptr_container/ptr_list.hpp", - "external/sources/boost/boost/ptr_container/ptr_map.hpp", - "external/sources/boost/boost/ptr_container/ptr_map_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_sequence_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_set.hpp", - "external/sources/boost/boost/ptr_container/ptr_set_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_unordered_map.hpp", - "external/sources/boost/boost/ptr_container/ptr_unordered_set.hpp", - "external/sources/boost/boost/ptr_container/ptr_vector.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_array.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_circular_buffer.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_deque.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_list.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_map.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_set.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_map.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_set.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_vector.hpp", - "external/sources/boost/boost/python.hpp", - "external/sources/boost/boost/python/arg_from_python.hpp", - "external/sources/boost/boost/python/args.hpp", - "external/sources/boost/boost/python/args_fwd.hpp", - "external/sources/boost/boost/python/back_reference.hpp", - "external/sources/boost/boost/python/base_type_traits.hpp", - "external/sources/boost/boost/python/bases.hpp", - "external/sources/boost/boost/python/borrowed.hpp", - "external/sources/boost/boost/python/call.hpp", - "external/sources/boost/boost/python/call_method.hpp", - "external/sources/boost/boost/python/cast.hpp", - "external/sources/boost/boost/python/class.hpp", - "external/sources/boost/boost/python/class_fwd.hpp", - "external/sources/boost/boost/python/converter/arg_from_python.hpp", - "external/sources/boost/boost/python/converter/arg_to_python.hpp", - "external/sources/boost/boost/python/converter/arg_to_python_base.hpp", - "external/sources/boost/boost/python/converter/as_to_python_function.hpp", - "external/sources/boost/boost/python/converter/builtin_converters.hpp", - "external/sources/boost/boost/python/converter/constructor_function.hpp", - "external/sources/boost/boost/python/converter/context_result_converter.hpp", - "external/sources/boost/boost/python/converter/convertible_function.hpp", - "external/sources/boost/boost/python/converter/from_python.hpp", - "external/sources/boost/boost/python/converter/implicit.hpp", - "external/sources/boost/boost/python/converter/obj_mgr_arg_from_python.hpp", - "external/sources/boost/boost/python/converter/object_manager.hpp", - "external/sources/boost/boost/python/converter/pointer_type_id.hpp", - "external/sources/boost/boost/python/converter/pyobject_traits.hpp", - "external/sources/boost/boost/python/converter/pyobject_type.hpp", - "external/sources/boost/boost/python/converter/pytype_function.hpp", - "external/sources/boost/boost/python/converter/pytype_object_mgr_traits.hpp", - "external/sources/boost/boost/python/converter/registered.hpp", - "external/sources/boost/boost/python/converter/registered_pointee.hpp", - "external/sources/boost/boost/python/converter/registrations.hpp", - "external/sources/boost/boost/python/converter/registry.hpp", - "external/sources/boost/boost/python/converter/return_from_python.hpp", - "external/sources/boost/boost/python/converter/rvalue_from_python_data.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_deleter.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_from_python.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_to_python.hpp", - "external/sources/boost/boost/python/converter/to_python_function_type.hpp", - "external/sources/boost/boost/python/copy_const_reference.hpp", - "external/sources/boost/boost/python/copy_non_const_reference.hpp", - "external/sources/boost/boost/python/data_members.hpp", - "external/sources/boost/boost/python/def.hpp", - "external/sources/boost/boost/python/def_visitor.hpp", - "external/sources/boost/boost/python/default_call_policies.hpp", - "external/sources/boost/boost/python/detail/aix_init_module.hpp", - "external/sources/boost/boost/python/detail/api_placeholder.hpp", - "external/sources/boost/boost/python/detail/borrowed_ptr.hpp", - "external/sources/boost/boost/python/detail/caller.hpp", - "external/sources/boost/boost/python/detail/config.hpp", - "external/sources/boost/boost/python/detail/construct.hpp", - "external/sources/boost/boost/python/detail/convertible.hpp", - "external/sources/boost/boost/python/detail/copy_ctor_mutates_rhs.hpp", - "external/sources/boost/boost/python/detail/cv_category.hpp", - "external/sources/boost/boost/python/detail/dealloc.hpp", - "external/sources/boost/boost/python/detail/decorated_type_id.hpp", - "external/sources/boost/boost/python/detail/decref_guard.hpp", - "external/sources/boost/boost/python/detail/def_helper.hpp", - "external/sources/boost/boost/python/detail/def_helper_fwd.hpp", - "external/sources/boost/boost/python/detail/defaults_def.hpp", - "external/sources/boost/boost/python/detail/defaults_gen.hpp", - "external/sources/boost/boost/python/detail/dependent.hpp", - "external/sources/boost/boost/python/detail/destroy.hpp", - "external/sources/boost/boost/python/detail/enable_if.hpp", - "external/sources/boost/boost/python/detail/exception_handler.hpp", - "external/sources/boost/boost/python/detail/force_instantiate.hpp", - "external/sources/boost/boost/python/detail/if_else.hpp", - "external/sources/boost/boost/python/detail/indirect_traits.hpp", - "external/sources/boost/boost/python/detail/invoke.hpp", - "external/sources/boost/boost/python/detail/is_auto_ptr.hpp", - "external/sources/boost/boost/python/detail/is_shared_ptr.hpp", - "external/sources/boost/boost/python/detail/is_wrapper.hpp", - "external/sources/boost/boost/python/detail/is_xxx.hpp", - "external/sources/boost/boost/python/detail/make_keyword_range_fn.hpp", - "external/sources/boost/boost/python/detail/make_tuple.hpp", - "external/sources/boost/boost/python/detail/map_entry.hpp", - "external/sources/boost/boost/python/detail/mpl_lambda.hpp", - "external/sources/boost/boost/python/detail/msvc_typeinfo.hpp", - "external/sources/boost/boost/python/detail/none.hpp", - "external/sources/boost/boost/python/detail/not_specified.hpp", - "external/sources/boost/boost/python/detail/nullary_function_adaptor.hpp", - "external/sources/boost/boost/python/detail/operator_id.hpp", - "external/sources/boost/boost/python/detail/overloads_fwd.hpp", - "external/sources/boost/boost/python/detail/pointee.hpp", - "external/sources/boost/boost/python/detail/prefix.hpp", - "external/sources/boost/boost/python/detail/preprocessor.hpp", - "external/sources/boost/boost/python/detail/python22_fixed.h", - "external/sources/boost/boost/python/detail/python_type.hpp", - "external/sources/boost/boost/python/detail/raw_pyobject.hpp", - "external/sources/boost/boost/python/detail/referent_storage.hpp", - "external/sources/boost/boost/python/detail/result.hpp", - "external/sources/boost/boost/python/detail/scope.hpp", - "external/sources/boost/boost/python/detail/sfinae.hpp", - "external/sources/boost/boost/python/detail/signature.hpp", - "external/sources/boost/boost/python/detail/string_literal.hpp", - "external/sources/boost/boost/python/detail/target.hpp", - "external/sources/boost/boost/python/detail/translate_exception.hpp", - "external/sources/boost/boost/python/detail/type_list.hpp", - "external/sources/boost/boost/python/detail/type_list_impl.hpp", - "external/sources/boost/boost/python/detail/type_traits.hpp", - "external/sources/boost/boost/python/detail/unwind_type.hpp", - "external/sources/boost/boost/python/detail/unwrap_type_id.hpp", - "external/sources/boost/boost/python/detail/unwrap_wrapper.hpp", - "external/sources/boost/boost/python/detail/value_arg.hpp", - "external/sources/boost/boost/python/detail/value_is_shared_ptr.hpp", - "external/sources/boost/boost/python/detail/value_is_xxx.hpp", - "external/sources/boost/boost/python/detail/void_ptr.hpp", - "external/sources/boost/boost/python/detail/void_return.hpp", - "external/sources/boost/boost/python/detail/wrap_python.hpp", - "external/sources/boost/boost/python/detail/wrapper_base.hpp", - "external/sources/boost/boost/python/dict.hpp", - "external/sources/boost/boost/python/docstring_options.hpp", - "external/sources/boost/boost/python/enum.hpp", - "external/sources/boost/boost/python/errors.hpp", - "external/sources/boost/boost/python/exception_translator.hpp", - "external/sources/boost/boost/python/exec.hpp", - "external/sources/boost/boost/python/extract.hpp", - "external/sources/boost/boost/python/handle.hpp", - "external/sources/boost/boost/python/handle_fwd.hpp", - "external/sources/boost/boost/python/has_back_reference.hpp", - "external/sources/boost/boost/python/implicit.hpp", - "external/sources/boost/boost/python/import.hpp", - "external/sources/boost/boost/python/init.hpp", - "external/sources/boost/boost/python/instance_holder.hpp", - "external/sources/boost/boost/python/iterator.hpp", - "external/sources/boost/boost/python/list.hpp", - "external/sources/boost/boost/python/long.hpp", - "external/sources/boost/boost/python/lvalue_from_pytype.hpp", - "external/sources/boost/boost/python/make_constructor.hpp", - "external/sources/boost/boost/python/make_function.hpp", - "external/sources/boost/boost/python/manage_new_object.hpp", - "external/sources/boost/boost/python/module.hpp", - "external/sources/boost/boost/python/module_init.hpp", - "external/sources/boost/boost/python/numpy.hpp", - "external/sources/boost/boost/python/numpy/config.hpp", - "external/sources/boost/boost/python/numpy/dtype.hpp", - "external/sources/boost/boost/python/numpy/internal.hpp", - "external/sources/boost/boost/python/numpy/invoke_matching.hpp", - "external/sources/boost/boost/python/numpy/matrix.hpp", - "external/sources/boost/boost/python/numpy/ndarray.hpp", - "external/sources/boost/boost/python/numpy/numpy_object_mgr_traits.hpp", - "external/sources/boost/boost/python/numpy/scalars.hpp", - "external/sources/boost/boost/python/numpy/ufunc.hpp", - "external/sources/boost/boost/python/object.hpp", - "external/sources/boost/boost/python/object/add_to_namespace.hpp", - "external/sources/boost/boost/python/object/class.hpp", - "external/sources/boost/boost/python/object/class_detail.hpp", - "external/sources/boost/boost/python/object/class_metadata.hpp", - "external/sources/boost/boost/python/object/class_wrapper.hpp", - "external/sources/boost/boost/python/object/enum_base.hpp", - "external/sources/boost/boost/python/object/find_instance.hpp", - "external/sources/boost/boost/python/object/forward.hpp", - "external/sources/boost/boost/python/object/function.hpp", - "external/sources/boost/boost/python/object/function_doc_signature.hpp", - "external/sources/boost/boost/python/object/function_handle.hpp", - "external/sources/boost/boost/python/object/function_object.hpp", - "external/sources/boost/boost/python/object/inheritance.hpp", - "external/sources/boost/boost/python/object/inheritance_query.hpp", - "external/sources/boost/boost/python/object/instance.hpp", - "external/sources/boost/boost/python/object/iterator.hpp", - "external/sources/boost/boost/python/object/iterator_core.hpp", - "external/sources/boost/boost/python/object/life_support.hpp", - "external/sources/boost/boost/python/object/make_holder.hpp", - "external/sources/boost/boost/python/object/make_instance.hpp", - "external/sources/boost/boost/python/object/make_ptr_instance.hpp", - "external/sources/boost/boost/python/object/pickle_support.hpp", - "external/sources/boost/boost/python/object/pointer_holder.hpp", - "external/sources/boost/boost/python/object/py_function.hpp", - "external/sources/boost/boost/python/object/stl_iterator_core.hpp", - "external/sources/boost/boost/python/object/value_holder.hpp", - "external/sources/boost/boost/python/object/value_holder_fwd.hpp", - "external/sources/boost/boost/python/object_attributes.hpp", - "external/sources/boost/boost/python/object_call.hpp", - "external/sources/boost/boost/python/object_core.hpp", - "external/sources/boost/boost/python/object_fwd.hpp", - "external/sources/boost/boost/python/object_items.hpp", - "external/sources/boost/boost/python/object_operators.hpp", - "external/sources/boost/boost/python/object_protocol.hpp", - "external/sources/boost/boost/python/object_protocol_core.hpp", - "external/sources/boost/boost/python/object_slices.hpp", - "external/sources/boost/boost/python/opaque_pointer_converter.hpp", - "external/sources/boost/boost/python/operators.hpp", - "external/sources/boost/boost/python/other.hpp", - "external/sources/boost/boost/python/overloads.hpp", - "external/sources/boost/boost/python/override.hpp", - "external/sources/boost/boost/python/pointee.hpp", - "external/sources/boost/boost/python/proxy.hpp", - "external/sources/boost/boost/python/ptr.hpp", - "external/sources/boost/boost/python/pure_virtual.hpp", - "external/sources/boost/boost/python/raw_function.hpp", - "external/sources/boost/boost/python/refcount.hpp", - "external/sources/boost/boost/python/reference_existing_object.hpp", - "external/sources/boost/boost/python/register_ptr_to_python.hpp", - "external/sources/boost/boost/python/return_arg.hpp", - "external/sources/boost/boost/python/return_by_value.hpp", - "external/sources/boost/boost/python/return_internal_reference.hpp", - "external/sources/boost/boost/python/return_opaque_pointer.hpp", - "external/sources/boost/boost/python/return_value_policy.hpp", - "external/sources/boost/boost/python/scope.hpp", - "external/sources/boost/boost/python/self.hpp", - "external/sources/boost/boost/python/signature.hpp", - "external/sources/boost/boost/python/slice.hpp", - "external/sources/boost/boost/python/slice_nil.hpp", - "external/sources/boost/boost/python/ssize_t.hpp", - "external/sources/boost/boost/python/stl_iterator.hpp", - "external/sources/boost/boost/python/str.hpp", - "external/sources/boost/boost/python/suite/indexing/container_utils.hpp", - "external/sources/boost/boost/python/suite/indexing/detail/indexing_suite_detail.hpp", - "external/sources/boost/boost/python/suite/indexing/indexing_suite.hpp", - "external/sources/boost/boost/python/suite/indexing/map_indexing_suite.hpp", - "external/sources/boost/boost/python/suite/indexing/vector_indexing_suite.hpp", - "external/sources/boost/boost/python/tag.hpp", - "external/sources/boost/boost/python/to_python_converter.hpp", - "external/sources/boost/boost/python/to_python_indirect.hpp", - "external/sources/boost/boost/python/to_python_value.hpp", - "external/sources/boost/boost/python/tuple.hpp", - "external/sources/boost/boost/python/type_id.hpp", - "external/sources/boost/boost/python/with_custodian_and_ward.hpp", - "external/sources/boost/boost/python/wrapper.hpp", - "external/sources/boost/boost/qvm/all.hpp", - "external/sources/boost/boost/qvm/assert.hpp", - "external/sources/boost/boost/qvm/deduce_mat.hpp", - "external/sources/boost/boost/qvm/deduce_quat.hpp", - "external/sources/boost/boost/qvm/deduce_scalar.hpp", - "external/sources/boost/boost/qvm/deduce_vec.hpp", - "external/sources/boost/boost/qvm/detail/cofactor_impl.hpp", - "external/sources/boost/boost/qvm/detail/determinant_impl.hpp", - "external/sources/boost/boost/qvm/detail/mat_assign.hpp", - "external/sources/boost/boost/qvm/detail/quat_assign.hpp", - "external/sources/boost/boost/qvm/detail/remove_const.hpp", - "external/sources/boost/boost/qvm/detail/swizzle_traits.hpp", - "external/sources/boost/boost/qvm/detail/transp_impl.hpp", - "external/sources/boost/boost/qvm/detail/vec_assign.hpp", - "external/sources/boost/boost/qvm/detail/vec_register_impl.hpp", - "external/sources/boost/boost/qvm/enable_if.hpp", - "external/sources/boost/boost/qvm/error.hpp", - "external/sources/boost/boost/qvm/inline.hpp", - "external/sources/boost/boost/qvm/map.hpp", - "external/sources/boost/boost/qvm/map_mat_mat.hpp", - "external/sources/boost/boost/qvm/map_mat_vec.hpp", - "external/sources/boost/boost/qvm/map_vec_mat.hpp", - "external/sources/boost/boost/qvm/mat.hpp", - "external/sources/boost/boost/qvm/mat_access.hpp", - "external/sources/boost/boost/qvm/mat_operations.hpp", - "external/sources/boost/boost/qvm/mat_operations2.hpp", - "external/sources/boost/boost/qvm/mat_operations3.hpp", - "external/sources/boost/boost/qvm/mat_operations4.hpp", - "external/sources/boost/boost/qvm/mat_traits.hpp", - "external/sources/boost/boost/qvm/mat_traits_array.hpp", - "external/sources/boost/boost/qvm/mat_traits_defaults.hpp", - "external/sources/boost/boost/qvm/math.hpp", - "external/sources/boost/boost/qvm/operations.hpp", - "external/sources/boost/boost/qvm/quat.hpp", - "external/sources/boost/boost/qvm/quat_access.hpp", - "external/sources/boost/boost/qvm/quat_operations.hpp", - "external/sources/boost/boost/qvm/quat_traits.hpp", - "external/sources/boost/boost/qvm/quat_traits_array.hpp", - "external/sources/boost/boost/qvm/quat_traits_defaults.hpp", - "external/sources/boost/boost/qvm/quat_vec_operations.hpp", - "external/sources/boost/boost/qvm/scalar_traits.hpp", - "external/sources/boost/boost/qvm/static_assert.hpp", - "external/sources/boost/boost/qvm/swizzle.hpp", - "external/sources/boost/boost/qvm/swizzle2.hpp", - "external/sources/boost/boost/qvm/swizzle3.hpp", - "external/sources/boost/boost/qvm/swizzle4.hpp", - "external/sources/boost/boost/qvm/throw_exception.hpp", - "external/sources/boost/boost/qvm/to_string.hpp", - "external/sources/boost/boost/qvm/vec.hpp", - "external/sources/boost/boost/qvm/vec_access.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations2.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations3.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations4.hpp", - "external/sources/boost/boost/qvm/vec_operations.hpp", - "external/sources/boost/boost/qvm/vec_operations2.hpp", - "external/sources/boost/boost/qvm/vec_operations3.hpp", - "external/sources/boost/boost/qvm/vec_operations4.hpp", - "external/sources/boost/boost/qvm/vec_register.hpp", - "external/sources/boost/boost/qvm/vec_register2.hpp", - "external/sources/boost/boost/qvm/vec_register3.hpp", - "external/sources/boost/boost/qvm/vec_register4.hpp", - "external/sources/boost/boost/qvm/vec_traits.hpp", - "external/sources/boost/boost/qvm/vec_traits_array.hpp", - "external/sources/boost/boost/qvm/vec_traits_defaults.hpp", - "external/sources/boost/boost/random.hpp", - "external/sources/boost/boost/random/additive_combine.hpp", - "external/sources/boost/boost/random/bernoulli_distribution.hpp", - "external/sources/boost/boost/random/beta_distribution.hpp", - "external/sources/boost/boost/random/binomial_distribution.hpp", - "external/sources/boost/boost/random/cauchy_distribution.hpp", - "external/sources/boost/boost/random/chi_squared_distribution.hpp", - "external/sources/boost/boost/random/detail/auto_link.hpp", - "external/sources/boost/boost/random/detail/config.hpp", - "external/sources/boost/boost/random/detail/const_mod.hpp", - "external/sources/boost/boost/random/detail/disable_warnings.hpp", - "external/sources/boost/boost/random/detail/enable_warnings.hpp", - "external/sources/boost/boost/random/detail/generator_bits.hpp", - "external/sources/boost/boost/random/detail/generator_seed_seq.hpp", - "external/sources/boost/boost/random/detail/gray_coded_qrng.hpp", - "external/sources/boost/boost/random/detail/int_float_pair.hpp", - "external/sources/boost/boost/random/detail/integer_log2.hpp", - "external/sources/boost/boost/random/detail/iterator_mixin.hpp", - "external/sources/boost/boost/random/detail/large_arithmetic.hpp", - "external/sources/boost/boost/random/detail/niederreiter_base2_table.hpp", - "external/sources/boost/boost/random/detail/operators.hpp", - "external/sources/boost/boost/random/detail/polynomial.hpp", - "external/sources/boost/boost/random/detail/ptr_helper.hpp", - "external/sources/boost/boost/random/detail/qrng_base.hpp", - "external/sources/boost/boost/random/detail/seed.hpp", - "external/sources/boost/boost/random/detail/seed_impl.hpp", - "external/sources/boost/boost/random/detail/signed_unsigned_tools.hpp", - "external/sources/boost/boost/random/detail/sobol_table.hpp", - "external/sources/boost/boost/random/detail/uniform_int_float.hpp", - "external/sources/boost/boost/random/detail/vector_io.hpp", - "external/sources/boost/boost/random/discard_block.hpp", - "external/sources/boost/boost/random/discrete_distribution.hpp", - "external/sources/boost/boost/random/exponential_distribution.hpp", - "external/sources/boost/boost/random/extreme_value_distribution.hpp", - "external/sources/boost/boost/random/faure.hpp", - "external/sources/boost/boost/random/fisher_f_distribution.hpp", - "external/sources/boost/boost/random/gamma_distribution.hpp", - "external/sources/boost/boost/random/generate_canonical.hpp", - "external/sources/boost/boost/random/geometric_distribution.hpp", - "external/sources/boost/boost/random/hyperexponential_distribution.hpp", - "external/sources/boost/boost/random/independent_bits.hpp", - "external/sources/boost/boost/random/inversive_congruential.hpp", - "external/sources/boost/boost/random/lagged_fibonacci.hpp", - "external/sources/boost/boost/random/laplace_distribution.hpp", - "external/sources/boost/boost/random/linear_congruential.hpp", - "external/sources/boost/boost/random/linear_feedback_shift.hpp", - "external/sources/boost/boost/random/lognormal_distribution.hpp", - "external/sources/boost/boost/random/mersenne_twister.hpp", - "external/sources/boost/boost/random/negative_binomial_distribution.hpp", - "external/sources/boost/boost/random/niederreiter_base2.hpp", - "external/sources/boost/boost/random/non_central_chi_squared_distribution.hpp", - "external/sources/boost/boost/random/normal_distribution.hpp", - "external/sources/boost/boost/random/piecewise_constant_distribution.hpp", - "external/sources/boost/boost/random/piecewise_linear_distribution.hpp", - "external/sources/boost/boost/random/poisson_distribution.hpp", - "external/sources/boost/boost/random/random_device.hpp", - "external/sources/boost/boost/random/random_number_generator.hpp", - "external/sources/boost/boost/random/ranlux.hpp", - "external/sources/boost/boost/random/seed_seq.hpp", - "external/sources/boost/boost/random/shuffle_order.hpp", - "external/sources/boost/boost/random/shuffle_output.hpp", - "external/sources/boost/boost/random/sobol.hpp", - "external/sources/boost/boost/random/student_t_distribution.hpp", - "external/sources/boost/boost/random/subtract_with_carry.hpp", - "external/sources/boost/boost/random/taus88.hpp", - "external/sources/boost/boost/random/traits.hpp", - "external/sources/boost/boost/random/triangle_distribution.hpp", - "external/sources/boost/boost/random/uniform_01.hpp", - "external/sources/boost/boost/random/uniform_int.hpp", - "external/sources/boost/boost/random/uniform_int_distribution.hpp", - "external/sources/boost/boost/random/uniform_on_sphere.hpp", - "external/sources/boost/boost/random/uniform_real.hpp", - "external/sources/boost/boost/random/uniform_real_distribution.hpp", - "external/sources/boost/boost/random/uniform_smallint.hpp", - "external/sources/boost/boost/random/variate_generator.hpp", - "external/sources/boost/boost/random/weibull_distribution.hpp", - "external/sources/boost/boost/random/xor_combine.hpp", - "external/sources/boost/boost/range.hpp", - "external/sources/boost/boost/range/adaptor/adjacent_filtered.hpp", - "external/sources/boost/boost/range/adaptor/argument_fwd.hpp", - "external/sources/boost/boost/range/adaptor/copied.hpp", - "external/sources/boost/boost/range/adaptor/define_adaptor.hpp", - "external/sources/boost/boost/range/adaptor/filtered.hpp", - "external/sources/boost/boost/range/adaptor/formatted.hpp", - "external/sources/boost/boost/range/adaptor/indexed.hpp", - "external/sources/boost/boost/range/adaptor/indirected.hpp", - "external/sources/boost/boost/range/adaptor/map.hpp", - "external/sources/boost/boost/range/adaptor/ref_unwrapped.hpp", - "external/sources/boost/boost/range/adaptor/replaced.hpp", - "external/sources/boost/boost/range/adaptor/replaced_if.hpp", - "external/sources/boost/boost/range/adaptor/reversed.hpp", - "external/sources/boost/boost/range/adaptor/sliced.hpp", - "external/sources/boost/boost/range/adaptor/strided.hpp", - "external/sources/boost/boost/range/adaptor/tokenized.hpp", - "external/sources/boost/boost/range/adaptor/transformed.hpp", - "external/sources/boost/boost/range/adaptor/type_erased.hpp", - "external/sources/boost/boost/range/adaptor/uniqued.hpp", - "external/sources/boost/boost/range/adaptors.hpp", - "external/sources/boost/boost/range/algorithm.hpp", - "external/sources/boost/boost/range/algorithm/adjacent_find.hpp", - "external/sources/boost/boost/range/algorithm/binary_search.hpp", - "external/sources/boost/boost/range/algorithm/copy.hpp", - "external/sources/boost/boost/range/algorithm/copy_backward.hpp", - "external/sources/boost/boost/range/algorithm/count.hpp", - "external/sources/boost/boost/range/algorithm/count_if.hpp", - "external/sources/boost/boost/range/algorithm/equal.hpp", - "external/sources/boost/boost/range/algorithm/equal_range.hpp", - "external/sources/boost/boost/range/algorithm/fill.hpp", - "external/sources/boost/boost/range/algorithm/fill_n.hpp", - "external/sources/boost/boost/range/algorithm/find.hpp", - "external/sources/boost/boost/range/algorithm/find_end.hpp", - "external/sources/boost/boost/range/algorithm/find_first_of.hpp", - "external/sources/boost/boost/range/algorithm/find_if.hpp", - "external/sources/boost/boost/range/algorithm/for_each.hpp", - "external/sources/boost/boost/range/algorithm/generate.hpp", - "external/sources/boost/boost/range/algorithm/heap_algorithm.hpp", - "external/sources/boost/boost/range/algorithm/inplace_merge.hpp", - "external/sources/boost/boost/range/algorithm/lexicographical_compare.hpp", - "external/sources/boost/boost/range/algorithm/lower_bound.hpp", - "external/sources/boost/boost/range/algorithm/max_element.hpp", - "external/sources/boost/boost/range/algorithm/merge.hpp", - "external/sources/boost/boost/range/algorithm/min_element.hpp", - "external/sources/boost/boost/range/algorithm/mismatch.hpp", - "external/sources/boost/boost/range/algorithm/nth_element.hpp", - "external/sources/boost/boost/range/algorithm/partial_sort.hpp", - "external/sources/boost/boost/range/algorithm/partial_sort_copy.hpp", - "external/sources/boost/boost/range/algorithm/partition.hpp", - "external/sources/boost/boost/range/algorithm/permutation.hpp", - "external/sources/boost/boost/range/algorithm/random_shuffle.hpp", - "external/sources/boost/boost/range/algorithm/remove.hpp", - "external/sources/boost/boost/range/algorithm/remove_copy.hpp", - "external/sources/boost/boost/range/algorithm/remove_copy_if.hpp", - "external/sources/boost/boost/range/algorithm/remove_if.hpp", - "external/sources/boost/boost/range/algorithm/replace.hpp", - "external/sources/boost/boost/range/algorithm/replace_copy.hpp", - "external/sources/boost/boost/range/algorithm/replace_copy_if.hpp", - "external/sources/boost/boost/range/algorithm/replace_if.hpp", - "external/sources/boost/boost/range/algorithm/reverse.hpp", - "external/sources/boost/boost/range/algorithm/reverse_copy.hpp", - "external/sources/boost/boost/range/algorithm/rotate.hpp", - "external/sources/boost/boost/range/algorithm/rotate_copy.hpp", - "external/sources/boost/boost/range/algorithm/search.hpp", - "external/sources/boost/boost/range/algorithm/search_n.hpp", - "external/sources/boost/boost/range/algorithm/set_algorithm.hpp", - "external/sources/boost/boost/range/algorithm/sort.hpp", - "external/sources/boost/boost/range/algorithm/stable_partition.hpp", - "external/sources/boost/boost/range/algorithm/stable_sort.hpp", - "external/sources/boost/boost/range/algorithm/swap_ranges.hpp", - "external/sources/boost/boost/range/algorithm/transform.hpp", - "external/sources/boost/boost/range/algorithm/unique.hpp", - "external/sources/boost/boost/range/algorithm/unique_copy.hpp", - "external/sources/boost/boost/range/algorithm/upper_bound.hpp", - "external/sources/boost/boost/range/algorithm_ext.hpp", - "external/sources/boost/boost/range/algorithm_ext/copy_n.hpp", - "external/sources/boost/boost/range/algorithm_ext/erase.hpp", - "external/sources/boost/boost/range/algorithm_ext/for_each.hpp", - "external/sources/boost/boost/range/algorithm_ext/insert.hpp", - "external/sources/boost/boost/range/algorithm_ext/iota.hpp", - "external/sources/boost/boost/range/algorithm_ext/is_sorted.hpp", - "external/sources/boost/boost/range/algorithm_ext/overwrite.hpp", - "external/sources/boost/boost/range/algorithm_ext/push_back.hpp", - "external/sources/boost/boost/range/algorithm_ext/push_front.hpp", - "external/sources/boost/boost/range/any_range.hpp", - "external/sources/boost/boost/range/as_array.hpp", - "external/sources/boost/boost/range/as_literal.hpp", - "external/sources/boost/boost/range/atl.hpp", - "external/sources/boost/boost/range/begin.hpp", - "external/sources/boost/boost/range/category.hpp", - "external/sources/boost/boost/range/combine.hpp", - "external/sources/boost/boost/range/concepts.hpp", - "external/sources/boost/boost/range/config.hpp", - "external/sources/boost/boost/range/const_iterator.hpp", - "external/sources/boost/boost/range/const_reverse_iterator.hpp", - "external/sources/boost/boost/range/counting_range.hpp", - "external/sources/boost/boost/range/detail/any_iterator.hpp", - "external/sources/boost/boost/range/detail/any_iterator_buffer.hpp", - "external/sources/boost/boost/range/detail/any_iterator_interface.hpp", - "external/sources/boost/boost/range/detail/any_iterator_wrapper.hpp", - "external/sources/boost/boost/range/detail/collection_traits.hpp", - "external/sources/boost/boost/range/detail/collection_traits_detail.hpp", - "external/sources/boost/boost/range/detail/combine_cxx03.hpp", - "external/sources/boost/boost/range/detail/combine_cxx11.hpp", - "external/sources/boost/boost/range/detail/combine_no_rvalue.hpp", - "external/sources/boost/boost/range/detail/combine_rvalue.hpp", - "external/sources/boost/boost/range/detail/common.hpp", - "external/sources/boost/boost/range/detail/default_constructible_unary_fn.hpp", - "external/sources/boost/boost/range/detail/demote_iterator_traversal_tag.hpp", - "external/sources/boost/boost/range/detail/difference_type.hpp", - "external/sources/boost/boost/range/detail/empty.hpp", - "external/sources/boost/boost/range/detail/extract_optional_type.hpp", - "external/sources/boost/boost/range/detail/has_member_size.hpp", - "external/sources/boost/boost/range/detail/implementation_help.hpp", - "external/sources/boost/boost/range/detail/join_iterator.hpp", - "external/sources/boost/boost/range/detail/less.hpp", - "external/sources/boost/boost/range/detail/microsoft.hpp", - "external/sources/boost/boost/range/detail/misc_concept.hpp", - "external/sources/boost/boost/range/detail/msvc_has_iterator_workaround.hpp", - "external/sources/boost/boost/range/detail/range_return.hpp", - "external/sources/boost/boost/range/detail/safe_bool.hpp", - "external/sources/boost/boost/range/detail/sfinae.hpp", - "external/sources/boost/boost/range/detail/sizer.hpp", - "external/sources/boost/boost/range/detail/str_types.hpp", - "external/sources/boost/boost/range/difference_type.hpp", - "external/sources/boost/boost/range/distance.hpp", - "external/sources/boost/boost/range/empty.hpp", - "external/sources/boost/boost/range/end.hpp", - "external/sources/boost/boost/range/functions.hpp", - "external/sources/boost/boost/range/has_range_iterator.hpp", - "external/sources/boost/boost/range/irange.hpp", - "external/sources/boost/boost/range/istream_range.hpp", - "external/sources/boost/boost/range/iterator.hpp", - "external/sources/boost/boost/range/iterator_range.hpp", - "external/sources/boost/boost/range/iterator_range_core.hpp", - "external/sources/boost/boost/range/iterator_range_hash.hpp", - "external/sources/boost/boost/range/iterator_range_io.hpp", - "external/sources/boost/boost/range/join.hpp", - "external/sources/boost/boost/range/metafunctions.hpp", - "external/sources/boost/boost/range/mfc.hpp", - "external/sources/boost/boost/range/mfc_map.hpp", - "external/sources/boost/boost/range/mutable_iterator.hpp", - "external/sources/boost/boost/range/numeric.hpp", - "external/sources/boost/boost/range/pointer.hpp", - "external/sources/boost/boost/range/range_fwd.hpp", - "external/sources/boost/boost/range/rbegin.hpp", - "external/sources/boost/boost/range/reference.hpp", - "external/sources/boost/boost/range/rend.hpp", - "external/sources/boost/boost/range/result_iterator.hpp", - "external/sources/boost/boost/range/reverse_iterator.hpp", - "external/sources/boost/boost/range/reverse_result_iterator.hpp", - "external/sources/boost/boost/range/size.hpp", - "external/sources/boost/boost/range/size_type.hpp", - "external/sources/boost/boost/range/sub_range.hpp", - "external/sources/boost/boost/range/traversal.hpp", - "external/sources/boost/boost/range/value_type.hpp", - "external/sources/boost/boost/ratio.hpp", - "external/sources/boost/boost/ratio/config.hpp", - "external/sources/boost/boost/ratio/detail/mpl/abs.hpp", - "external/sources/boost/boost/ratio/detail/mpl/gcd.hpp", - "external/sources/boost/boost/ratio/detail/mpl/lcm.hpp", - "external/sources/boost/boost/ratio/detail/mpl/sign.hpp", - "external/sources/boost/boost/ratio/detail/overflow_helpers.hpp", - "external/sources/boost/boost/ratio/detail/ratio_io.hpp", - "external/sources/boost/boost/ratio/include.hpp", - "external/sources/boost/boost/ratio/mpl/abs.hpp", - "external/sources/boost/boost/ratio/mpl/arithmetic.hpp", - "external/sources/boost/boost/ratio/mpl/comparison.hpp", - "external/sources/boost/boost/ratio/mpl/divides.hpp", - "external/sources/boost/boost/ratio/mpl/equal_to.hpp", - "external/sources/boost/boost/ratio/mpl/gcd.hpp", - "external/sources/boost/boost/ratio/mpl/greater.hpp", - "external/sources/boost/boost/ratio/mpl/greater_equal.hpp", - "external/sources/boost/boost/ratio/mpl/lcm.hpp", - "external/sources/boost/boost/ratio/mpl/less.hpp", - "external/sources/boost/boost/ratio/mpl/less_equal.hpp", - "external/sources/boost/boost/ratio/mpl/minus.hpp", - "external/sources/boost/boost/ratio/mpl/negate.hpp", - "external/sources/boost/boost/ratio/mpl/not_equal_to.hpp", - "external/sources/boost/boost/ratio/mpl/numeric_cast.hpp", - "external/sources/boost/boost/ratio/mpl/plus.hpp", - "external/sources/boost/boost/ratio/mpl/rational_c_tag.hpp", - "external/sources/boost/boost/ratio/mpl/rational_constant.hpp", - "external/sources/boost/boost/ratio/mpl/sign.hpp", - "external/sources/boost/boost/ratio/mpl/times.hpp", - "external/sources/boost/boost/ratio/ratio.hpp", - "external/sources/boost/boost/ratio/ratio_fwd.hpp", - "external/sources/boost/boost/ratio/ratio_io.hpp", - "external/sources/boost/boost/rational.hpp", - "external/sources/boost/boost/ref.hpp", - "external/sources/boost/boost/regex.h", - "external/sources/boost/boost/regex.hpp", - "external/sources/boost/boost/regex/concepts.hpp", - "external/sources/boost/boost/regex/config.hpp", - "external/sources/boost/boost/regex/config/borland.hpp", - "external/sources/boost/boost/regex/config/cwchar.hpp", - "external/sources/boost/boost/regex/icu.hpp", - "external/sources/boost/boost/regex/mfc.hpp", - "external/sources/boost/boost/regex/pattern_except.hpp", - "external/sources/boost/boost/regex/pending/object_cache.hpp", - "external/sources/boost/boost/regex/pending/static_mutex.hpp", - "external/sources/boost/boost/regex/pending/unicode_iterator.hpp", - "external/sources/boost/boost/regex/regex_traits.hpp", - "external/sources/boost/boost/regex/user.hpp", - "external/sources/boost/boost/regex/v4/basic_regex.hpp", - "external/sources/boost/boost/regex/v4/basic_regex_creator.hpp", - "external/sources/boost/boost/regex/v4/basic_regex_parser.hpp", - "external/sources/boost/boost/regex/v4/c_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/char_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/cpp_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/cregex.hpp", - "external/sources/boost/boost/regex/v4/error_type.hpp", - "external/sources/boost/boost/regex/v4/fileiter.hpp", - "external/sources/boost/boost/regex/v4/indexed_bit_flag.hpp", - "external/sources/boost/boost/regex/v4/instances.hpp", - "external/sources/boost/boost/regex/v4/iterator_category.hpp", - "external/sources/boost/boost/regex/v4/iterator_traits.hpp", - "external/sources/boost/boost/regex/v4/match_flags.hpp", - "external/sources/boost/boost/regex/v4/match_results.hpp", - "external/sources/boost/boost/regex/v4/mem_block_cache.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_common.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_non_recursive.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_recursive.hpp", - "external/sources/boost/boost/regex/v4/primary_transform.hpp", - "external/sources/boost/boost/regex/v4/protected_call.hpp", - "external/sources/boost/boost/regex/v4/regbase.hpp", - "external/sources/boost/boost/regex/v4/regex.hpp", - "external/sources/boost/boost/regex/v4/regex_format.hpp", - "external/sources/boost/boost/regex/v4/regex_fwd.hpp", - "external/sources/boost/boost/regex/v4/regex_grep.hpp", - "external/sources/boost/boost/regex/v4/regex_iterator.hpp", - "external/sources/boost/boost/regex/v4/regex_match.hpp", - "external/sources/boost/boost/regex/v4/regex_merge.hpp", - "external/sources/boost/boost/regex/v4/regex_raw_buffer.hpp", - "external/sources/boost/boost/regex/v4/regex_replace.hpp", - "external/sources/boost/boost/regex/v4/regex_search.hpp", - "external/sources/boost/boost/regex/v4/regex_split.hpp", - "external/sources/boost/boost/regex/v4/regex_token_iterator.hpp", - "external/sources/boost/boost/regex/v4/regex_traits.hpp", - "external/sources/boost/boost/regex/v4/regex_traits_defaults.hpp", - "external/sources/boost/boost/regex/v4/regex_workaround.hpp", - "external/sources/boost/boost/regex/v4/states.hpp", - "external/sources/boost/boost/regex/v4/sub_match.hpp", - "external/sources/boost/boost/regex/v4/syntax_type.hpp", - "external/sources/boost/boost/regex/v4/u32regex_iterator.hpp", - "external/sources/boost/boost/regex/v4/u32regex_token_iterator.hpp", - "external/sources/boost/boost/regex/v4/w32_regex_traits.hpp", - "external/sources/boost/boost/regex_fwd.hpp", - "external/sources/boost/boost/safe_numerics/CMakeLists.txt", - "external/sources/boost/boost/safe_numerics/automatic.hpp", - "external/sources/boost/boost/safe_numerics/checked_default.hpp", - "external/sources/boost/boost/safe_numerics/checked_float.hpp", - "external/sources/boost/boost/safe_numerics/checked_integer.hpp", - "external/sources/boost/boost/safe_numerics/checked_result.hpp", - "external/sources/boost/boost/safe_numerics/checked_result_operations.hpp", - "external/sources/boost/boost/safe_numerics/concept/CMakeLists.txt", - "external/sources/boost/boost/safe_numerics/concept/exception_policy.hpp", - "external/sources/boost/boost/safe_numerics/concept/integer.hpp", - "external/sources/boost/boost/safe_numerics/concept/numeric.hpp", - "external/sources/boost/boost/safe_numerics/concept/promotion_policy.hpp", - "external/sources/boost/boost/safe_numerics/concept/safe_numeric.hpp", - "external/sources/boost/boost/safe_numerics/cpp.hpp", - "external/sources/boost/boost/safe_numerics/exception.hpp", - "external/sources/boost/boost/safe_numerics/exception_policies.hpp", - "external/sources/boost/boost/safe_numerics/interval.hpp", - "external/sources/boost/boost/safe_numerics/native.hpp", - "external/sources/boost/boost/safe_numerics/range_value.hpp", - "external/sources/boost/boost/safe_numerics/safe_base.hpp", - "external/sources/boost/boost/safe_numerics/safe_base_operations.hpp", - "external/sources/boost/boost/safe_numerics/safe_common.hpp", - "external/sources/boost/boost/safe_numerics/safe_compare.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer_literal.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer_range.hpp", - "external/sources/boost/boost/safe_numerics/utility.hpp", - "external/sources/boost/boost/scope_exit.hpp", - "external/sources/boost/boost/scoped_array.hpp", - "external/sources/boost/boost/scoped_ptr.hpp", - "external/sources/boost/boost/serialization/access.hpp", - "external/sources/boost/boost/serialization/archive_input_unordered_map.hpp", - "external/sources/boost/boost/serialization/archive_input_unordered_set.hpp", - "external/sources/boost/boost/serialization/array.hpp", - "external/sources/boost/boost/serialization/array_optimization.hpp", - "external/sources/boost/boost/serialization/array_wrapper.hpp", - "external/sources/boost/boost/serialization/assume_abstract.hpp", - "external/sources/boost/boost/serialization/base_object.hpp", - "external/sources/boost/boost/serialization/binary_object.hpp", - "external/sources/boost/boost/serialization/bitset.hpp", - "external/sources/boost/boost/serialization/boost_array.hpp", - "external/sources/boost/boost/serialization/boost_unordered_map.hpp", - "external/sources/boost/boost/serialization/boost_unordered_set.hpp", - "external/sources/boost/boost/serialization/collection_size_type copy.hpp", - "external/sources/boost/boost/serialization/collection_size_type.hpp", - "external/sources/boost/boost/serialization/collection_traits.hpp", - "external/sources/boost/boost/serialization/collections_load_imp.hpp", - "external/sources/boost/boost/serialization/collections_save_imp.hpp", - "external/sources/boost/boost/serialization/complex.hpp", - "external/sources/boost/boost/serialization/config.hpp", - "external/sources/boost/boost/serialization/deque.hpp", - "external/sources/boost/boost/serialization/detail/is_default_constructible.hpp", - "external/sources/boost/boost/serialization/detail/shared_count_132.hpp", - "external/sources/boost/boost/serialization/detail/shared_ptr_132.hpp", - "external/sources/boost/boost/serialization/detail/shared_ptr_nmt_132.hpp", - "external/sources/boost/boost/serialization/detail/stack_constructor.hpp", - "external/sources/boost/boost/serialization/export.hpp", - "external/sources/boost/boost/serialization/extended_type_info.hpp", - "external/sources/boost/boost/serialization/extended_type_info_no_rtti.hpp", - "external/sources/boost/boost/serialization/extended_type_info_typeid.hpp", - "external/sources/boost/boost/serialization/factory.hpp", - "external/sources/boost/boost/serialization/force_include.hpp", - "external/sources/boost/boost/serialization/forward_list.hpp", - "external/sources/boost/boost/serialization/hash_collections_load_imp.hpp", - "external/sources/boost/boost/serialization/hash_collections_save_imp.hpp", - "external/sources/boost/boost/serialization/hash_map.hpp", - "external/sources/boost/boost/serialization/hash_set.hpp", - "external/sources/boost/boost/serialization/is_bitwise_serializable.hpp", - "external/sources/boost/boost/serialization/item_version_type.hpp", - "external/sources/boost/boost/serialization/level.hpp", - "external/sources/boost/boost/serialization/level_enum.hpp", - "external/sources/boost/boost/serialization/library_version_type.hpp", - "external/sources/boost/boost/serialization/list.hpp", - "external/sources/boost/boost/serialization/map.hpp", - "external/sources/boost/boost/serialization/nvp.hpp", - "external/sources/boost/boost/serialization/optional.hpp", - "external/sources/boost/boost/serialization/priority_queue.hpp", - "external/sources/boost/boost/serialization/queue.hpp", - "external/sources/boost/boost/serialization/scoped_ptr.hpp", - "external/sources/boost/boost/serialization/serialization.hpp", - "external/sources/boost/boost/serialization/set.hpp", - "external/sources/boost/boost/serialization/shared_ptr.hpp", - "external/sources/boost/boost/serialization/shared_ptr_132.hpp", - "external/sources/boost/boost/serialization/shared_ptr_helper.hpp", - "external/sources/boost/boost/serialization/singleton.hpp", - "external/sources/boost/boost/serialization/slist.hpp", - "external/sources/boost/boost/serialization/smart_cast.hpp", - "external/sources/boost/boost/serialization/split_free.hpp", - "external/sources/boost/boost/serialization/split_member.hpp", - "external/sources/boost/boost/serialization/stack.hpp", - "external/sources/boost/boost/serialization/state_saver.hpp", - "external/sources/boost/boost/serialization/static_warning.hpp", - "external/sources/boost/boost/serialization/string.hpp", - "external/sources/boost/boost/serialization/strong_typedef.hpp", - "external/sources/boost/boost/serialization/throw_exception.hpp", - "external/sources/boost/boost/serialization/tracking.hpp", - "external/sources/boost/boost/serialization/tracking_enum.hpp", - "external/sources/boost/boost/serialization/traits.hpp", - "external/sources/boost/boost/serialization/type_info_implementation.hpp", - "external/sources/boost/boost/serialization/unique_ptr.hpp", - "external/sources/boost/boost/serialization/unordered_collections_load_imp.hpp", - "external/sources/boost/boost/serialization/unordered_collections_save_imp.hpp", - "external/sources/boost/boost/serialization/unordered_map.hpp", - "external/sources/boost/boost/serialization/unordered_set.hpp", - "external/sources/boost/boost/serialization/utility.hpp", - "external/sources/boost/boost/serialization/valarray.hpp", - "external/sources/boost/boost/serialization/variant.hpp", - "external/sources/boost/boost/serialization/vector.hpp", - "external/sources/boost/boost/serialization/vector_135.hpp", - "external/sources/boost/boost/serialization/version.hpp", - "external/sources/boost/boost/serialization/void_cast.hpp", - "external/sources/boost/boost/serialization/void_cast_fwd.hpp", - "external/sources/boost/boost/serialization/weak_ptr.hpp", - "external/sources/boost/boost/serialization/wrapper.hpp", - "external/sources/boost/boost/shared_array.hpp", - "external/sources/boost/boost/shared_container_iterator.hpp", - "external/sources/boost/boost/shared_ptr.hpp", - "external/sources/boost/boost/signals2.hpp", - "external/sources/boost/boost/signals2/connection.hpp", - "external/sources/boost/boost/signals2/deconstruct.hpp", - "external/sources/boost/boost/signals2/deconstruct_ptr.hpp", - "external/sources/boost/boost/signals2/detail/auto_buffer.hpp", - "external/sources/boost/boost/signals2/detail/foreign_ptr.hpp", - "external/sources/boost/boost/signals2/detail/lwm_nop.hpp", - "external/sources/boost/boost/signals2/detail/lwm_pthreads.hpp", - "external/sources/boost/boost/signals2/detail/lwm_win32_cs.hpp", - "external/sources/boost/boost/signals2/detail/null_output_iterator.hpp", - "external/sources/boost/boost/signals2/detail/preprocessed_arg_type.hpp", - "external/sources/boost/boost/signals2/detail/preprocessed_arg_type_template.hpp", - "external/sources/boost/boost/signals2/detail/replace_slot_function.hpp", - "external/sources/boost/boost/signals2/detail/result_type_wrapper.hpp", - "external/sources/boost/boost/signals2/detail/scope_guard.hpp", - "external/sources/boost/boost/signals2/detail/signal_template.hpp", - "external/sources/boost/boost/signals2/detail/signals_common.hpp", - "external/sources/boost/boost/signals2/detail/signals_common_macros.hpp", - "external/sources/boost/boost/signals2/detail/slot_call_iterator.hpp", - "external/sources/boost/boost/signals2/detail/slot_groups.hpp", - "external/sources/boost/boost/signals2/detail/slot_template.hpp", - "external/sources/boost/boost/signals2/detail/tracked_objects_visitor.hpp", - "external/sources/boost/boost/signals2/detail/unique_lock.hpp", - "external/sources/boost/boost/signals2/detail/variadic_arg_type.hpp", - "external/sources/boost/boost/signals2/detail/variadic_slot_invoker.hpp", - "external/sources/boost/boost/signals2/dummy_mutex.hpp", - "external/sources/boost/boost/signals2/expired_slot.hpp", - "external/sources/boost/boost/signals2/last_value.hpp", - "external/sources/boost/boost/signals2/mutex.hpp", - "external/sources/boost/boost/signals2/optional_last_value.hpp", - "external/sources/boost/boost/signals2/postconstructible.hpp", - "external/sources/boost/boost/signals2/predestructible.hpp", - "external/sources/boost/boost/signals2/preprocessed_signal.hpp", - "external/sources/boost/boost/signals2/preprocessed_slot.hpp", - "external/sources/boost/boost/signals2/shared_connection_block.hpp", - "external/sources/boost/boost/signals2/signal.hpp", - "external/sources/boost/boost/signals2/signal_base.hpp", - "external/sources/boost/boost/signals2/signal_type.hpp", - "external/sources/boost/boost/signals2/slot.hpp", - "external/sources/boost/boost/signals2/slot_base.hpp", - "external/sources/boost/boost/signals2/trackable.hpp", - "external/sources/boost/boost/signals2/variadic_signal.hpp", - "external/sources/boost/boost/signals2/variadic_slot.hpp", - "external/sources/boost/boost/smart_ptr.hpp", - "external/sources/boost/boost/smart_ptr/allocate_local_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/allocate_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/allocate_unique.hpp", - "external/sources/boost/boost/smart_ptr/atomic_shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/bad_weak_ptr.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_spin.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_win32.hpp", - "external/sources/boost/boost/smart_ptr/detail/lightweight_mutex.hpp", - "external/sources/boost/boost/smart_ptr/detail/lightweight_thread.hpp", - "external/sources/boost/boost/smart_ptr/detail/local_counted_base.hpp", - "external/sources/boost/boost/smart_ptr/detail/local_sp_deleter.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_pthreads.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_std_mutex.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_win32_cs.hpp", - "external/sources/boost/boost/smart_ptr/detail/operator_bool.hpp", - "external/sources/boost/boost/smart_ptr/detail/quick_allocator.hpp", - "external/sources/boost/boost/smart_ptr/detail/shared_count.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_convertible.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_impl.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_forward.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_interlocked.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_noexcept.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_obsolete.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_pause.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_yield.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_arm.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_pool.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_w32.hpp", - "external/sources/boost/boost/smart_ptr/detail/yield_k.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from_raw.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from_this.hpp", - "external/sources/boost/boost/smart_ptr/intrusive_ptr.hpp", - "external/sources/boost/boost/smart_ptr/intrusive_ref_counter.hpp", - "external/sources/boost/boost/smart_ptr/local_shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared_object.hpp", - "external/sources/boost/boost/smart_ptr/make_shared.hpp", - "external/sources/boost/boost/smart_ptr/make_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/make_shared_object.hpp", - "external/sources/boost/boost/smart_ptr/make_unique.hpp", - "external/sources/boost/boost/smart_ptr/owner_equal_to.hpp", - "external/sources/boost/boost/smart_ptr/owner_hash.hpp", - "external/sources/boost/boost/smart_ptr/owner_less.hpp", - "external/sources/boost/boost/smart_ptr/scoped_array.hpp", - "external/sources/boost/boost/smart_ptr/scoped_ptr.hpp", - "external/sources/boost/boost/smart_ptr/shared_array.hpp", - "external/sources/boost/boost/smart_ptr/shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/weak_ptr.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/backbone.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/block.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/constants.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/merge_blocks.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/move_blocks.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/parallel_sort.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/block_indirect_sort.hpp", - "external/sources/boost/boost/sort/common/deque_cnc.hpp", - "external/sources/boost/boost/sort/common/file_vector.hpp", - "external/sources/boost/boost/sort/common/indirect.hpp", - "external/sources/boost/boost/sort/common/int_array.hpp", - "external/sources/boost/boost/sort/common/merge_block.hpp", - "external/sources/boost/boost/sort/common/merge_four.hpp", - "external/sources/boost/boost/sort/common/merge_vector.hpp", - "external/sources/boost/boost/sort/common/pivot.hpp", - "external/sources/boost/boost/sort/common/range.hpp", - "external/sources/boost/boost/sort/common/rearrange.hpp", - "external/sources/boost/boost/sort/common/scheduler.hpp", - "external/sources/boost/boost/sort/common/sort_basic.hpp", - "external/sources/boost/boost/sort/common/spinlock.hpp", - "external/sources/boost/boost/sort/common/stack_cnc.hpp", - "external/sources/boost/boost/sort/common/time_measure.hpp", - "external/sources/boost/boost/sort/common/util/algorithm.hpp", - "external/sources/boost/boost/sort/common/util/atomic.hpp", - "external/sources/boost/boost/sort/common/util/circular_buffer.hpp", - "external/sources/boost/boost/sort/common/util/insert.hpp", - "external/sources/boost/boost/sort/common/util/merge.hpp", - "external/sources/boost/boost/sort/common/util/search.hpp", - "external/sources/boost/boost/sort/common/util/traits.hpp", - "external/sources/boost/boost/sort/flat_stable_sort/flat_stable_sort.hpp", - "external/sources/boost/boost/sort/heap_sort/heap_sort.hpp", - "external/sources/boost/boost/sort/insert_sort/insert_sort.hpp", - "external/sources/boost/boost/sort/parallel_stable_sort/parallel_stable_sort.hpp", - "external/sources/boost/boost/sort/pdqsort/pdqsort.hpp", - "external/sources/boost/boost/sort/sample_sort/sample_sort.hpp", - "external/sources/boost/boost/sort/sort.hpp", - "external/sources/boost/boost/sort/spinsort/spinsort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/constants.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/float_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/integer_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/spreadsort_common.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/string_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/float_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/integer_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/spreadsort.hpp", - "external/sources/boost/boost/sort/spreadsort/string_sort.hpp", - "external/sources/boost/boost/spirit.hpp", - "external/sources/boost/boost/spirit/home/classic.hpp", - "external/sources/boost/boost/spirit/home/classic/actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/assign_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/assign_key_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/clear_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/decrement_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/erase_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/increment_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/insert_at_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/insert_key_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/push_back_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/push_front_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_const_ref_a.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_value_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/swap_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure_context.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/parametric.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/core.hpp", - "external/sources/boost/boost/spirit/home/classic/core/assert.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/actions.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/alternative.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/composite.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/difference.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/directives.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/epsilon.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/exclusive_or.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/alternative.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/difference.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/directives.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/exclusive_or.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/intersection.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/kleene_star.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/list.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/optional.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/positive.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequence.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_and.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_or.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/intersection.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/kleene_star.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/list.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/no_actions.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/operators.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/optional.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/positive.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequence.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_and.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_or.hpp", - "external/sources/boost/boost/spirit/home/classic/core/config.hpp", - "external/sources/boost/boost/spirit/home/classic/core/impl/match.ipp", - "external/sources/boost/boost/spirit/home/classic/core/impl/match_attr_traits.ipp", - "external/sources/boost/boost/spirit/home/classic/core/impl/parser.ipp", - "external/sources/boost/boost/spirit/home/classic/core/match.hpp", - "external/sources/boost/boost/spirit/home/classic/core/nil.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/static.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/subrule.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_context.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_id.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/rule.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/parser.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/numerics.ipp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/primitives.ipp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/primitives.hpp", - "external/sources/boost/boost/spirit/home/classic/core/safe_bool.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/impl/skipper.ipp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/debug.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/for.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/if.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/conditions.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/select.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/switch.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/lazy.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/rule_alias.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/select.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/switch.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/while.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/impl/exceptions.ipp", - "external/sources/boost/boost/spirit/home/classic/error_handling/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/impl/file_iterator.ipp", - "external/sources/boost/boost/spirit/home/classic/iterator/impl/position_iterator.ipp", - "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/meta.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/as_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/fundamental.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/fundamental.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/parser_traits.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/refactoring.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/traverse.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/parser_traits.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/refactoring.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/traverse.hpp", - "external/sources/boost/boost/spirit/home/classic/namespace.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/actor.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/binders.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/casts.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/closures.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/composite.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/functions.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/new.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/operators.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/primitives.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/special_ops.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/statements.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/tuple_helpers.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/tuples.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/impl/symbols.ipp", - "external/sources/boost/boost/spirit/home/classic/symbols/impl/tst.ipp", - "external/sources/boost/boost/spirit/home/classic/symbols/symbols.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/symbols_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/ast.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/ast_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/common.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/common_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/impl/parse_tree_utils.ipp", - "external/sources/boost/boost/spirit/home/classic/tree/impl/tree_to_xml.ipp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_utils.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parsetree.dtd", - "external/sources/boost/boost/spirit/home/classic/tree/tree_to_xml.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/utility.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/chset.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/chset_operators.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/confix.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/confix_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/distinct.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/distinct_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/escape_char.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/escape_char_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/functor_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/grammar_def.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/grammar_def_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset_operators.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/confix.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/escape_char.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/lists.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/regex.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/lists.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/lists_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/loops.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/regex.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/rule_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/scoped_lock.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/version.hpp", - "external/sources/boost/boost/spirit/home/karma.hpp", - "external/sources/boost/boost/spirit/home/karma/action.hpp", - "external/sources/boost/boost/spirit/home/karma/action/action.hpp", - "external/sources/boost/boost/spirit/home/karma/auto.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/auto.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/create_generator.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/lazy.hpp", - "external/sources/boost/boost/spirit/home/karma/binary.hpp", - "external/sources/boost/boost/spirit/home/karma/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/karma/binary/padding.hpp", - "external/sources/boost/boost/spirit/home/karma/char.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char_generator.hpp", - "external/sources/boost/boost/spirit/home/karma/delimit_flag.hpp", - "external/sources/boost/boost/spirit/home/karma/delimit_out.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/alternative_function.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/as.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/attributes.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/default_width.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/enable_lit.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/extract_from.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/fail_function.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate_to.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/get_casetag.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/get_stricttag.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/indirect_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/output_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/pass_container.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/string_compare.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/string_generate.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/unused_delimiter.hpp", - "external/sources/boost/boost/spirit/home/karma/directive.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/as.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/buffer.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/center_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/columns.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/delimit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/duplicate.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/encoding.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/left_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/maxwidth.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/no_delimit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/right_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/strict_relaxed.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/upper_lower_case.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/verbatim.hpp", - "external/sources/boost/boost/spirit/home/karma/domain.hpp", - "external/sources/boost/boost/spirit/home/karma/format.hpp", - "external/sources/boost/boost/spirit/home/karma/format_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/generate.hpp", - "external/sources/boost/boost/spirit/home/karma/generate_attr.hpp", - "external/sources/boost/boost/spirit/home/karma/generator.hpp", - "external/sources/boost/boost/spirit/home/karma/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/fcall.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/generator_binder.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/parameterized.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/nonterminal_fwd.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/bool_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/real_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/karma/operator.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/list.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/karma/phoenix_attributes.hpp", - "external/sources/boost/boost/spirit/home/karma/reference.hpp", - "external/sources/boost/boost/spirit/home/karma/stream.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/format_manip.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/format_manip_attr.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/ostream_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/stream.hpp", - "external/sources/boost/boost/spirit/home/karma/string.hpp", - "external/sources/boost/boost/spirit/home/karma/string/lit.hpp", - "external/sources/boost/boost/spirit/home/karma/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/karma/what.hpp", - "external/sources/boost/boost/spirit/home/lex.hpp", - "external/sources/boost/boost/spirit/home/lex/argument.hpp", - "external/sources/boost/boost/spirit/home/lex/argument_phoenix.hpp", - "external/sources/boost/boost/spirit/home/lex/detail/sequence_function.hpp", - "external/sources/boost/boost/spirit/home/lex/domain.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/action.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/char_token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/position_token.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/semantic_action_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_functor_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_version.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/token.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/pass_flags.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/sequence.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/string_token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/support_functions.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/support_functions_expression.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/terminals.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_lexertl.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_static_lexertl.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_type.hpp", - "external/sources/boost/boost/spirit/home/lex/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/lex/primitives.hpp", - "external/sources/boost/boost/spirit/home/lex/qi.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/in_state.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_raw_token.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_token.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/state_switcher.hpp", - "external/sources/boost/boost/spirit/home/lex/reference.hpp", - "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse.hpp", - "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse_attr.hpp", - "external/sources/boost/boost/spirit/home/qi.hpp", - "external/sources/boost/boost/spirit/home/qi/action.hpp", - "external/sources/boost/boost/spirit/home/qi/action/action.hpp", - "external/sources/boost/boost/spirit/home/qi/auto.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/auto.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/create_parser.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/attr.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eoi.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/lazy.hpp", - "external/sources/boost/boost/spirit/home/qi/binary.hpp", - "external/sources/boost/boost/spirit/home/qi/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/qi/char.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char_parser.hpp", - "external/sources/boost/boost/spirit/home/qi/copy.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/alternative_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/assign_to.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/attributes.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/construct.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/enable_lit.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/expect_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/expectation_failure.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/fail_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/parse.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/parse_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/pass_container.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/pass_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/permute_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/string_parse.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/unused_skipper.hpp", - "external/sources/boost/boost/spirit/home/qi/directive.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/as.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/encoding.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/expect.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/hold.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/lexeme.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/matches.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/no_case.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/no_skip.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/raw.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/skip.hpp", - "external/sources/boost/boost/spirit/home/qi/domain.hpp", - "external/sources/boost/boost/spirit/home/qi/match.hpp", - "external/sources/boost/boost/spirit/home/qi/match_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/fcall.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parameterized.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parser_binder.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/error_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/nonterminal_fwd.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/success_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/detail/real_impl.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/qi/operator.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/difference.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/expect.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/list.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/permutation.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequence_base.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequential_or.hpp", - "external/sources/boost/boost/spirit/home/qi/parse.hpp", - "external/sources/boost/boost/spirit/home/qi/parse_attr.hpp", - "external/sources/boost/boost/spirit/home/qi/parser.hpp", - "external/sources/boost/boost/spirit/home/qi/reference.hpp", - "external/sources/boost/boost/spirit/home/qi/skip_flag.hpp", - "external/sources/boost/boost/spirit/home/qi/skip_over.hpp", - "external/sources/boost/boost/spirit/home/qi/stream.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/match_manip.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/match_manip_attr.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/stream.hpp", - "external/sources/boost/boost/spirit/home/qi/string.hpp", - "external/sources/boost/boost/spirit/home/qi/string/detail/tst.hpp", - "external/sources/boost/boost/spirit/home/qi/string/lit.hpp", - "external/sources/boost/boost/spirit/home/qi/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/qi/string/tst.hpp", - "external/sources/boost/boost/spirit/home/qi/string/tst_map.hpp", - "external/sources/boost/boost/spirit/home/qi/what.hpp", - "external/sources/boost/boost/spirit/home/support.hpp", - "external/sources/boost/boost/spirit/home/support/action_dispatch.hpp", - "external/sources/boost/boost/spirit/home/support/adapt_adt_attributes.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns_so.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_ns.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_ns_so.hpp", - "external/sources/boost/boost/spirit/home/support/argument.hpp", - "external/sources/boost/boost/spirit/home/support/argument_expression.hpp", - "external/sources/boost/boost/spirit/home/support/assert_msg.hpp", - "external/sources/boost/boost/spirit/home/support/attributes.hpp", - "external/sources/boost/boost/spirit/home/support/attributes_fwd.hpp", - "external/sources/boost/boost/spirit/home/support/auto.hpp", - "external/sources/boost/boost/spirit/home/support/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/support/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/support/char_class.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/ascii.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/iso8859_1.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/standard.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/category_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/lowercase_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/query.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/script_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/basic_chset.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_functions.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_run.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_run_impl.hpp", - "external/sources/boost/boost/spirit/home/support/common_terminals.hpp", - "external/sources/boost/boost/spirit/home/support/container.hpp", - "external/sources/boost/boost/spirit/home/support/context.hpp", - "external/sources/boost/boost/spirit/home/support/detail/as_variant.hpp", - "external/sources/boost/boost/spirit/home/support/detail/endian.hpp", - "external/sources/boost/boost/spirit/home/support/detail/get_encoding.hpp", - "external/sources/boost/boost/spirit/home/support/detail/hold_any.hpp", - "external/sources/boost/boost/spirit/home/support/detail/is_spirit_tag.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/char_traits.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/consts.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_list.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_vector.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/conversion/char_state_machine.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/debug.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/file_input.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_cpp.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_re2c.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generator.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/input.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/internals.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/parser.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_helper.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_state.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/end_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/iteration_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/leaf_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/selection_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/sequence_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/charset.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/equivset.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/rules.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/runtime_error.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/size_t.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/state_machine.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/string_token.hpp", - "external/sources/boost/boost/spirit/home/support/detail/make_cons.hpp", - "external/sources/boost/boost/spirit/home/support/detail/make_vector.hpp", - "external/sources/boost/boost/spirit/home/support/detail/pow10.hpp", - "external/sources/boost/boost/spirit/home/support/detail/scoped_enum_emulation.hpp", - "external/sources/boost/boost/spirit/home/support/detail/sign.hpp", - "external/sources/boost/boost/spirit/home/support/detail/what_function.hpp", - "external/sources/boost/boost/spirit/home/support/extended_variant.hpp", - "external/sources/boost/boost/spirit/home/support/handles_container.hpp", - "external/sources/boost/boost/spirit/home/support/has_semantic_action.hpp", - "external/sources/boost/boost/spirit/home/support/info.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/buf_id_check_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/combine_policies.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/first_owner_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/istream_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/lex_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/no_check_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/ref_counted_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/split_functor_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/istream_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/line_pos_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/look_ahead.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/ostream_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/lazy.hpp", - "external/sources/boost/boost/spirit/home/support/limits.hpp", - "external/sources/boost/boost/spirit/home/support/make_component.hpp", - "external/sources/boost/boost/spirit/home/support/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/support/modify.hpp", - "external/sources/boost/boost/spirit/home/support/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/multi_pass_wrapper.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/expand_arg.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/extract_param.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/locals.hpp", - "external/sources/boost/boost/spirit/home/support/numeric_traits.hpp", - "external/sources/boost/boost/spirit/home/support/sequence_base_id.hpp", - "external/sources/boost/boost/spirit/home/support/string_traits.hpp", - "external/sources/boost/boost/spirit/home/support/terminal.hpp", - "external/sources/boost/boost/spirit/home/support/terminal_expression.hpp", - "external/sources/boost/boost/spirit/home/support/unused.hpp", - "external/sources/boost/boost/spirit/home/support/utf8.hpp", - "external/sources/boost/boost/spirit/home/support/utree.hpp", - "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail1.hpp", - "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail2.hpp", - "external/sources/boost/boost/spirit/home/support/utree/operators.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree_traits.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree_traits_fwd.hpp", - "external/sources/boost/boost/spirit/home/x3.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/any_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/attr.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eoi.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/guard.hpp", - "external/sources/boost/boost/spirit/home/x3/binary.hpp", - "external/sources/boost/boost/spirit/home/x3/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/x3/char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/any_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_class_tags.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_set.hpp", - "external/sources/boost/boost/spirit/home/x3/char/detail/cast_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/literal_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/negated_char_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/char/unicode.hpp", - "external/sources/boost/boost/spirit/home/x3/core.hpp", - "external/sources/boost/boost/spirit/home/x3/core/action.hpp", - "external/sources/boost/boost/spirit/home/x3/core/call.hpp", - "external/sources/boost/boost/spirit/home/x3/core/detail/parse_into_container.hpp", - "external/sources/boost/boost/spirit/home/x3/core/parse.hpp", - "external/sources/boost/boost/spirit/home/x3/core/parser.hpp", - "external/sources/boost/boost/spirit/home/x3/core/proxy.hpp", - "external/sources/boost/boost/spirit/home/x3/core/skip_over.hpp", - "external/sources/boost/boost/spirit/home/x3/directive.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/confix.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/expect.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/lexeme.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/matches.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/no_case.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/no_skip.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/raw.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/seek.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/skip.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/with.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/rule.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/transform_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/x3/operator.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/detail/alternative.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/detail/sequence.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/difference.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/list.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/x3/string.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/no_case_string_parse.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/string_parse.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/tst.hpp", - "external/sources/boost/boost/spirit/home/x3/string/literal_string.hpp", - "external/sources/boost/boost/spirit/home/x3/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/x3/string/tst.hpp", - "external/sources/boost/boost/spirit/home/x3/string/tst_map.hpp", - "external/sources/boost/boost/spirit/home/x3/support/ast/position_tagged.hpp", - "external/sources/boost/boost/spirit/home/x3/support/ast/variant.hpp", - "external/sources/boost/boost/spirit/home/x3/support/context.hpp", - "external/sources/boost/boost/spirit/home/x3/support/no_case.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/detail/extract_int.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_int.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_real.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/pow10.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/sign.hpp", - "external/sources/boost/boost/spirit/home/x3/support/subcontext.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_category.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of_binary.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_type.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/container_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/handles_container.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/has_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_range.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_variant.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/move_to.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/numeric_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/optional_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/print_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/print_token.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/pseudo_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/string_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/transform_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/tuple_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/variant_find_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/unused.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/annotate_on_success.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/error_reporting.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/is_callable.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/lambda_visitor.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/sfinae.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/utf8.hpp", - "external/sources/boost/boost/spirit/home/x3/version.hpp", - "external/sources/boost/boost/spirit/include/classic.hpp", - "external/sources/boost/boost/spirit/include/classic_actions.hpp", - "external/sources/boost/boost/spirit/include/classic_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_alternative.hpp", - "external/sources/boost/boost/spirit/include/classic_as_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_assert.hpp", - "external/sources/boost/boost/spirit/include/classic_assign_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_assign_key_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ast.hpp", - "external/sources/boost/boost/spirit/include/classic_ast_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_attribute.hpp", - "external/sources/boost/boost/spirit/include/classic_basic_chset.hpp", - "external/sources/boost/boost/spirit/include/classic_chset.hpp", - "external/sources/boost/boost/spirit/include/classic_chset_operators.hpp", - "external/sources/boost/boost/spirit/include/classic_clear_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_closure.hpp", - "external/sources/boost/boost/spirit/include/classic_closure_context.hpp", - "external/sources/boost/boost/spirit/include/classic_closure_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_common.hpp", - "external/sources/boost/boost/spirit/include/classic_common_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_composite.hpp", - "external/sources/boost/boost/spirit/include/classic_config.hpp", - "external/sources/boost/boost/spirit/include/classic_confix.hpp", - "external/sources/boost/boost/spirit/include/classic_confix_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_core.hpp", - "external/sources/boost/boost/spirit/include/classic_debug.hpp", - "external/sources/boost/boost/spirit/include/classic_debug_node.hpp", - "external/sources/boost/boost/spirit/include/classic_decrement_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_difference.hpp", - "external/sources/boost/boost/spirit/include/classic_directives.hpp", - "external/sources/boost/boost/spirit/include/classic_distinct.hpp", - "external/sources/boost/boost/spirit/include/classic_distinct_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_dynamic.hpp", - "external/sources/boost/boost/spirit/include/classic_epsilon.hpp", - "external/sources/boost/boost/spirit/include/classic_erase_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_error_handling.hpp", - "external/sources/boost/boost/spirit/include/classic_escape_char.hpp", - "external/sources/boost/boost/spirit/include/classic_escape_char_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_exceptions.hpp", - "external/sources/boost/boost/spirit/include/classic_exceptions_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_exclusive_or.hpp", - "external/sources/boost/boost/spirit/include/classic_file_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_file_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/include/classic_flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/classic_for.hpp", - "external/sources/boost/boost/spirit/include/classic_functor_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_fundamental.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar_def.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar_def_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_if.hpp", - "external/sources/boost/boost/spirit/include/classic_increment_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_insert_at_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_insert_key_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_intersection.hpp", - "external/sources/boost/boost/spirit/include/classic_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_kleene_star.hpp", - "external/sources/boost/boost/spirit/include/classic_lazy.hpp", - "external/sources/boost/boost/spirit/include/classic_list.hpp", - "external/sources/boost/boost/spirit/include/classic_lists.hpp", - "external/sources/boost/boost/spirit/include/classic_lists_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_loops.hpp", - "external/sources/boost/boost/spirit/include/classic_match.hpp", - "external/sources/boost/boost/spirit/include/classic_meta.hpp", - "external/sources/boost/boost/spirit/include/classic_minimal.hpp", - "external/sources/boost/boost/spirit/include/classic_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/classic_multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_nil.hpp", - "external/sources/boost/boost/spirit/include/classic_no_actions.hpp", - "external/sources/boost/boost/spirit/include/classic_numerics.hpp", - "external/sources/boost/boost/spirit/include/classic_numerics_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_operators.hpp", - "external/sources/boost/boost/spirit/include/classic_optional.hpp", - "external/sources/boost/boost/spirit/include/classic_parametric.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree_utils.hpp", - "external/sources/boost/boost/spirit/include/classic_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_context.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_id.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_names.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_traits.hpp", - "external/sources/boost/boost/spirit/include/classic_position_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_position_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_positive.hpp", - "external/sources/boost/boost/spirit/include/classic_primitives.hpp", - "external/sources/boost/boost/spirit/include/classic_push_back_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_push_front_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_range_run.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_refactoring.hpp", - "external/sources/boost/boost/spirit/include/classic_regex.hpp", - "external/sources/boost/boost/spirit/include/classic_rule.hpp", - "external/sources/boost/boost/spirit/include/classic_rule_alias.hpp", - "external/sources/boost/boost/spirit/include/classic_rule_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_safe_bool.hpp", - "external/sources/boost/boost/spirit/include/classic_scanner.hpp", - "external/sources/boost/boost/spirit/include/classic_scanner_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_scoped_lock.hpp", - "external/sources/boost/boost/spirit/include/classic_select.hpp", - "external/sources/boost/boost/spirit/include/classic_sequence.hpp", - "external/sources/boost/boost/spirit/include/classic_sequential_and.hpp", - "external/sources/boost/boost/spirit/include/classic_sequential_or.hpp", - "external/sources/boost/boost/spirit/include/classic_skipper.hpp", - "external/sources/boost/boost/spirit/include/classic_skipper_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_spirit.hpp", - "external/sources/boost/boost/spirit/include/classic_static.hpp", - "external/sources/boost/boost/spirit/include/classic_stored_rule.hpp", - "external/sources/boost/boost/spirit/include/classic_stored_rule_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_subrule.hpp", - "external/sources/boost/boost/spirit/include/classic_subrule_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_swap_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_switch.hpp", - "external/sources/boost/boost/spirit/include/classic_symbols.hpp", - "external/sources/boost/boost/spirit/include/classic_symbols_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_traverse.hpp", - "external/sources/boost/boost/spirit/include/classic_tree_to_xml.hpp", - "external/sources/boost/boost/spirit/include/classic_typeof.hpp", - "external/sources/boost/boost/spirit/include/classic_utility.hpp", - "external/sources/boost/boost/spirit/include/classic_version.hpp", - "external/sources/boost/boost/spirit/include/classic_while.hpp", - "external/sources/boost/boost/spirit/include/karma.hpp", - "external/sources/boost/boost/spirit/include/karma_action.hpp", - "external/sources/boost/boost/spirit/include/karma_alternative.hpp", - "external/sources/boost/boost/spirit/include/karma_and_predicate.hpp", - "external/sources/boost/boost/spirit/include/karma_as.hpp", - "external/sources/boost/boost/spirit/include/karma_attr_cast.hpp", - "external/sources/boost/boost/spirit/include/karma_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_auxiliary.hpp", - "external/sources/boost/boost/spirit/include/karma_binary.hpp", - "external/sources/boost/boost/spirit/include/karma_bool.hpp", - "external/sources/boost/boost/spirit/include/karma_buffer.hpp", - "external/sources/boost/boost/spirit/include/karma_center_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_char.hpp", - "external/sources/boost/boost/spirit/include/karma_char_.hpp", - "external/sources/boost/boost/spirit/include/karma_char_class.hpp", - "external/sources/boost/boost/spirit/include/karma_columns.hpp", - "external/sources/boost/boost/spirit/include/karma_delimit.hpp", - "external/sources/boost/boost/spirit/include/karma_directive.hpp", - "external/sources/boost/boost/spirit/include/karma_domain.hpp", - "external/sources/boost/boost/spirit/include/karma_duplicate.hpp", - "external/sources/boost/boost/spirit/include/karma_eol.hpp", - "external/sources/boost/boost/spirit/include/karma_eps.hpp", - "external/sources/boost/boost/spirit/include/karma_format.hpp", - "external/sources/boost/boost/spirit/include/karma_format_attr.hpp", - "external/sources/boost/boost/spirit/include/karma_format_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_generate.hpp", - "external/sources/boost/boost/spirit/include/karma_generate_attr.hpp", - "external/sources/boost/boost/spirit/include/karma_generate_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_grammar.hpp", - "external/sources/boost/boost/spirit/include/karma_int.hpp", - "external/sources/boost/boost/spirit/include/karma_kleene.hpp", - "external/sources/boost/boost/spirit/include/karma_lazy.hpp", - "external/sources/boost/boost/spirit/include/karma_left_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_list.hpp", - "external/sources/boost/boost/spirit/include/karma_maxwidth.hpp", - "external/sources/boost/boost/spirit/include/karma_no_delimit.hpp", - "external/sources/boost/boost/spirit/include/karma_nonterminal.hpp", - "external/sources/boost/boost/spirit/include/karma_not_predicate.hpp", - "external/sources/boost/boost/spirit/include/karma_numeric.hpp", - "external/sources/boost/boost/spirit/include/karma_omit.hpp", - "external/sources/boost/boost/spirit/include/karma_operator.hpp", - "external/sources/boost/boost/spirit/include/karma_optional.hpp", - "external/sources/boost/boost/spirit/include/karma_phoenix_attributes.hpp", - "external/sources/boost/boost/spirit/include/karma_plus.hpp", - "external/sources/boost/boost/spirit/include/karma_real.hpp", - "external/sources/boost/boost/spirit/include/karma_repeat.hpp", - "external/sources/boost/boost/spirit/include/karma_right_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_rule.hpp", - "external/sources/boost/boost/spirit/include/karma_sequence.hpp", - "external/sources/boost/boost/spirit/include/karma_stream.hpp", - "external/sources/boost/boost/spirit/include/karma_strict_relaxed.hpp", - "external/sources/boost/boost/spirit/include/karma_string.hpp", - "external/sources/boost/boost/spirit/include/karma_symbols.hpp", - "external/sources/boost/boost/spirit/include/karma_uint.hpp", - "external/sources/boost/boost/spirit/include/karma_upper_lower_case.hpp", - "external/sources/boost/boost/spirit/include/karma_verbatim.hpp", - "external/sources/boost/boost/spirit/include/karma_what.hpp", - "external/sources/boost/boost/spirit/include/lex.hpp", - "external/sources/boost/boost/spirit/include/lex_char_token_def.hpp", - "external/sources/boost/boost/spirit/include/lex_domain.hpp", - "external/sources/boost/boost/spirit/include/lex_generate_static_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_lexer.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl_position_token.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl_token.hpp", - "external/sources/boost/boost/spirit/include/lex_plain_token.hpp", - "external/sources/boost/boost/spirit/include/lex_primitives.hpp", - "external/sources/boost/boost/spirit/include/lex_static_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse.hpp", - "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse_attr.hpp", - "external/sources/boost/boost/spirit/include/phoenix.hpp", - "external/sources/boost/boost/spirit/include/phoenix1.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_actor.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_binders.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_casts.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_closures.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_composite.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_functions.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_new.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_operators.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_primitives.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_special_ops.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_statements.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_tuple_helpers.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_tuples.hpp", - "external/sources/boost/boost/spirit/include/phoenix_algorithm.hpp", - "external/sources/boost/boost/spirit/include/phoenix_bind.hpp", - "external/sources/boost/boost/spirit/include/phoenix_container.hpp", - "external/sources/boost/boost/spirit/include/phoenix_core.hpp", - "external/sources/boost/boost/spirit/include/phoenix_function.hpp", - "external/sources/boost/boost/spirit/include/phoenix_fusion.hpp", - "external/sources/boost/boost/spirit/include/phoenix_limits.hpp", - "external/sources/boost/boost/spirit/include/phoenix_object.hpp", - "external/sources/boost/boost/spirit/include/phoenix_operator.hpp", - "external/sources/boost/boost/spirit/include/phoenix_scope.hpp", - "external/sources/boost/boost/spirit/include/phoenix_statement.hpp", - "external/sources/boost/boost/spirit/include/phoenix_stl.hpp", - "external/sources/boost/boost/spirit/include/phoenix_version.hpp", - "external/sources/boost/boost/spirit/include/qi.hpp", - "external/sources/boost/boost/spirit/include/qi_action.hpp", - "external/sources/boost/boost/spirit/include/qi_alternative.hpp", - "external/sources/boost/boost/spirit/include/qi_and_predicate.hpp", - "external/sources/boost/boost/spirit/include/qi_as.hpp", - "external/sources/boost/boost/spirit/include/qi_as_string.hpp", - "external/sources/boost/boost/spirit/include/qi_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_attr_cast.hpp", - "external/sources/boost/boost/spirit/include/qi_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_auxiliary.hpp", - "external/sources/boost/boost/spirit/include/qi_binary.hpp", - "external/sources/boost/boost/spirit/include/qi_bool.hpp", - "external/sources/boost/boost/spirit/include/qi_char.hpp", - "external/sources/boost/boost/spirit/include/qi_char_.hpp", - "external/sources/boost/boost/spirit/include/qi_char_class.hpp", - "external/sources/boost/boost/spirit/include/qi_copy.hpp", - "external/sources/boost/boost/spirit/include/qi_core.hpp", - "external/sources/boost/boost/spirit/include/qi_difference.hpp", - "external/sources/boost/boost/spirit/include/qi_directive.hpp", - "external/sources/boost/boost/spirit/include/qi_domain.hpp", - "external/sources/boost/boost/spirit/include/qi_eoi.hpp", - "external/sources/boost/boost/spirit/include/qi_eol.hpp", - "external/sources/boost/boost/spirit/include/qi_eps.hpp", - "external/sources/boost/boost/spirit/include/qi_expect.hpp", - "external/sources/boost/boost/spirit/include/qi_grammar.hpp", - "external/sources/boost/boost/spirit/include/qi_hold.hpp", - "external/sources/boost/boost/spirit/include/qi_int.hpp", - "external/sources/boost/boost/spirit/include/qi_kleene.hpp", - "external/sources/boost/boost/spirit/include/qi_lazy.hpp", - "external/sources/boost/boost/spirit/include/qi_lexeme.hpp", - "external/sources/boost/boost/spirit/include/qi_list.hpp", - "external/sources/boost/boost/spirit/include/qi_lit.hpp", - "external/sources/boost/boost/spirit/include/qi_match.hpp", - "external/sources/boost/boost/spirit/include/qi_match_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_match_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_matches.hpp", - "external/sources/boost/boost/spirit/include/qi_no_case.hpp", - "external/sources/boost/boost/spirit/include/qi_no_skip.hpp", - "external/sources/boost/boost/spirit/include/qi_nonterminal.hpp", - "external/sources/boost/boost/spirit/include/qi_not_predicate.hpp", - "external/sources/boost/boost/spirit/include/qi_numeric.hpp", - "external/sources/boost/boost/spirit/include/qi_omit.hpp", - "external/sources/boost/boost/spirit/include/qi_operator.hpp", - "external/sources/boost/boost/spirit/include/qi_optional.hpp", - "external/sources/boost/boost/spirit/include/qi_parse.hpp", - "external/sources/boost/boost/spirit/include/qi_parse_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_parse_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_permutation.hpp", - "external/sources/boost/boost/spirit/include/qi_plus.hpp", - "external/sources/boost/boost/spirit/include/qi_raw.hpp", - "external/sources/boost/boost/spirit/include/qi_real.hpp", - "external/sources/boost/boost/spirit/include/qi_repeat.hpp", - "external/sources/boost/boost/spirit/include/qi_rule.hpp", - "external/sources/boost/boost/spirit/include/qi_sequence.hpp", - "external/sources/boost/boost/spirit/include/qi_sequential_or.hpp", - "external/sources/boost/boost/spirit/include/qi_skip.hpp", - "external/sources/boost/boost/spirit/include/qi_stream.hpp", - "external/sources/boost/boost/spirit/include/qi_string.hpp", - "external/sources/boost/boost/spirit/include/qi_symbols.hpp", - "external/sources/boost/boost/spirit/include/qi_uint.hpp", - "external/sources/boost/boost/spirit/include/qi_what.hpp", - "external/sources/boost/boost/spirit/include/support.hpp", - "external/sources/boost/boost/spirit/include/support_adapt_adt_attributes.hpp", - "external/sources/boost/boost/spirit/include/support_any.hpp", - "external/sources/boost/boost/spirit/include/support_any_if.hpp", - "external/sources/boost/boost/spirit/include/support_any_if_ns.hpp", - "external/sources/boost/boost/spirit/include/support_any_if_ns_so.hpp", - "external/sources/boost/boost/spirit/include/support_any_ns.hpp", - "external/sources/boost/boost/spirit/include/support_any_ns_so.hpp", - "external/sources/boost/boost/spirit/include/support_argument.hpp", - "external/sources/boost/boost/spirit/include/support_ascii.hpp", - "external/sources/boost/boost/spirit/include/support_attributes.hpp", - "external/sources/boost/boost/spirit/include/support_attributes_fwd.hpp", - "external/sources/boost/boost/spirit/include/support_auto.hpp", - "external/sources/boost/boost/spirit/include/support_char_class.hpp", - "external/sources/boost/boost/spirit/include/support_container.hpp", - "external/sources/boost/boost/spirit/include/support_extended_variant.hpp", - "external/sources/boost/boost/spirit/include/support_info.hpp", - "external/sources/boost/boost/spirit/include/support_iso8859_1.hpp", - "external/sources/boost/boost/spirit/include/support_istream_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_line_pos_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_locals.hpp", - "external/sources/boost/boost/spirit/include/support_look_ahead.hpp", - "external/sources/boost/boost/spirit/include/support_modify.hpp", - "external/sources/boost/boost/spirit/include/support_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/support_multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/include/support_ostream_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_standard.hpp", - "external/sources/boost/boost/spirit/include/support_standard_wide.hpp", - "external/sources/boost/boost/spirit/include/support_string_traits.hpp", - "external/sources/boost/boost/spirit/include/support_unused.hpp", - "external/sources/boost/boost/spirit/include/support_utree.hpp", - "external/sources/boost/boost/spirit/include/version.hpp", - "external/sources/boost/boost/spirit/repository/home/karma.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/directive.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/directive/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/nonterminal/subrule.hpp", - "external/sources/boost/boost/spirit/repository/home/qi.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/distinct.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/kwd.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/seek.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/nonterminal/subrule.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator/detail/keywords.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator/keywords.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/advance.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/iter_pos.hpp", - "external/sources/boost/boost/spirit/repository/home/support/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/support/distinct.hpp", - "external/sources/boost/boost/spirit/repository/home/support/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/home/support/kwd.hpp", - "external/sources/boost/boost/spirit/repository/home/support/seek.hpp", - "external/sources/boost/boost/spirit/repository/home/support/subrule_context.hpp", - "external/sources/boost/boost/spirit/repository/include/karma.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_confix.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_directive.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_subrule.hpp", - "external/sources/boost/boost/spirit/repository/include/qi.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_advance.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_confix.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_directive.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_distinct.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_iter_pos.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_keywords.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_kwd.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_primitive.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_seek.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_subrule.hpp", - "external/sources/boost/boost/spirit/version.hpp", - "external/sources/boost/boost/stacktrace.hpp", - "external/sources/boost/boost/stacktrace/detail/addr2line_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/collect_msvc.ipp", - "external/sources/boost/boost/stacktrace/detail/collect_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/collect_unwind.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_decl.hpp", - "external/sources/boost/boost/stacktrace/detail/frame_msvc.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_unwind.ipp", - "external/sources/boost/boost/stacktrace/detail/libbacktrace_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/location_from_symbol.hpp", - "external/sources/boost/boost/stacktrace/detail/pop_options.h", - "external/sources/boost/boost/stacktrace/detail/push_options.h", - "external/sources/boost/boost/stacktrace/detail/safe_dump_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/safe_dump_posix.ipp", - "external/sources/boost/boost/stacktrace/detail/safe_dump_win.ipp", - "external/sources/boost/boost/stacktrace/detail/to_dec_array.hpp", - "external/sources/boost/boost/stacktrace/detail/to_hex_array.hpp", - "external/sources/boost/boost/stacktrace/detail/try_dec_convert.hpp", - "external/sources/boost/boost/stacktrace/detail/unwind_base_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/void_ptr_cast.hpp", - "external/sources/boost/boost/stacktrace/frame.hpp", - "external/sources/boost/boost/stacktrace/safe_dump_to.hpp", - "external/sources/boost/boost/stacktrace/stacktrace.hpp", - "external/sources/boost/boost/stacktrace/stacktrace_fwd.hpp", - "external/sources/boost/boost/statechart/asynchronous_state_machine.hpp", - "external/sources/boost/boost/statechart/custom_reaction.hpp", - "external/sources/boost/boost/statechart/deep_history.hpp", - "external/sources/boost/boost/statechart/deferral.hpp", - "external/sources/boost/boost/statechart/detail/avoid_unused_warning.hpp", - "external/sources/boost/boost/statechart/detail/constructor.hpp", - "external/sources/boost/boost/statechart/detail/counted_base.hpp", - "external/sources/boost/boost/statechart/detail/leaf_state.hpp", - "external/sources/boost/boost/statechart/detail/memory.hpp", - "external/sources/boost/boost/statechart/detail/node_state.hpp", - "external/sources/boost/boost/statechart/detail/reaction_dispatcher.hpp", - "external/sources/boost/boost/statechart/detail/rtti_policy.hpp", - "external/sources/boost/boost/statechart/detail/state_base.hpp", - "external/sources/boost/boost/statechart/event.hpp", - "external/sources/boost/boost/statechart/event_base.hpp", - "external/sources/boost/boost/statechart/event_processor.hpp", - "external/sources/boost/boost/statechart/exception_translator.hpp", - "external/sources/boost/boost/statechart/fifo_scheduler.hpp", - "external/sources/boost/boost/statechart/fifo_worker.hpp", - "external/sources/boost/boost/statechart/history.hpp", - "external/sources/boost/boost/statechart/in_state_reaction.hpp", - "external/sources/boost/boost/statechart/null_exception_translator.hpp", - "external/sources/boost/boost/statechart/processor_container.hpp", - "external/sources/boost/boost/statechart/result.hpp", - "external/sources/boost/boost/statechart/shallow_history.hpp", - "external/sources/boost/boost/statechart/simple_state.hpp", - "external/sources/boost/boost/statechart/state.hpp", - "external/sources/boost/boost/statechart/state_machine.hpp", - "external/sources/boost/boost/statechart/termination.hpp", - "external/sources/boost/boost/statechart/transition.hpp", - "external/sources/boost/boost/static_assert.hpp", - "external/sources/boost/boost/static_string.hpp", - "external/sources/boost/boost/static_string/config.hpp", - "external/sources/boost/boost/static_string/static_string.hpp", - "external/sources/boost/boost/stl_interfaces/fwd.hpp", - "external/sources/boost/boost/stl_interfaces/iterator_interface.hpp", - "external/sources/boost/boost/stl_interfaces/reverse_iterator.hpp", - "external/sources/boost/boost/stl_interfaces/sequence_container_interface.hpp", - "external/sources/boost/boost/stl_interfaces/view_interface.hpp", - "external/sources/boost/boost/swap.hpp", - "external/sources/boost/boost/system/api_config.hpp", - "external/sources/boost/boost/system/config.hpp", - "external/sources/boost/boost/system/cygwin_error.hpp", - "external/sources/boost/boost/system/detail/config.hpp", - "external/sources/boost/boost/system/detail/generic_category.hpp", - "external/sources/boost/boost/system/detail/std_interoperability.hpp", - "external/sources/boost/boost/system/detail/system_category_posix.hpp", - "external/sources/boost/boost/system/detail/system_category_win32.hpp", - "external/sources/boost/boost/system/error_code.hpp", - "external/sources/boost/boost/system/linux_error.hpp", - "external/sources/boost/boost/system/system_error.hpp", - "external/sources/boost/boost/system/windows_error.hpp", - "external/sources/boost/boost/test/auto_unit_test.hpp", - "external/sources/boost/boost/test/data/config.hpp", - "external/sources/boost/boost/test/data/dataset.hpp", - "external/sources/boost/boost/test/data/for_each_sample.hpp", - "external/sources/boost/boost/test/data/index_sequence.hpp", - "external/sources/boost/boost/test/data/monomorphic.hpp", - "external/sources/boost/boost/test/data/monomorphic/array.hpp", - "external/sources/boost/boost/test/data/monomorphic/collection.hpp", - "external/sources/boost/boost/test/data/monomorphic/delayed.hpp", - "external/sources/boost/boost/test/data/monomorphic/fwd.hpp", - "external/sources/boost/boost/test/data/monomorphic/generate.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/keywords.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/random.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/xrange.hpp", - "external/sources/boost/boost/test/data/monomorphic/grid.hpp", - "external/sources/boost/boost/test/data/monomorphic/initializer_list.hpp", - "external/sources/boost/boost/test/data/monomorphic/join.hpp", - "external/sources/boost/boost/test/data/monomorphic/sample_merge.hpp", - "external/sources/boost/boost/test/data/monomorphic/singleton.hpp", - "external/sources/boost/boost/test/data/monomorphic/zip.hpp", - "external/sources/boost/boost/test/data/size.hpp", - "external/sources/boost/boost/test/data/test_case.hpp", - "external/sources/boost/boost/test/debug.hpp", - "external/sources/boost/boost/test/debug_config.hpp", - "external/sources/boost/boost/test/detail/config.hpp", - "external/sources/boost/boost/test/detail/enable_warnings.hpp", - "external/sources/boost/boost/test/detail/fwd_decl.hpp", - "external/sources/boost/boost/test/detail/global_typedef.hpp", - "external/sources/boost/boost/test/detail/log_level.hpp", - "external/sources/boost/boost/test/detail/pp_variadic.hpp", - "external/sources/boost/boost/test/detail/suppress_warnings.hpp", - "external/sources/boost/boost/test/detail/throw_exception.hpp", - "external/sources/boost/boost/test/execution_monitor.hpp", - "external/sources/boost/boost/test/floating_point_comparison.hpp", - "external/sources/boost/boost/test/framework.hpp", - "external/sources/boost/boost/test/impl/compiler_log_formatter.ipp", - "external/sources/boost/boost/test/impl/cpp_main.ipp", - "external/sources/boost/boost/test/impl/debug.ipp", - "external/sources/boost/boost/test/impl/decorator.ipp", - "external/sources/boost/boost/test/impl/execution_monitor.ipp", - "external/sources/boost/boost/test/impl/framework.ipp", - "external/sources/boost/boost/test/impl/junit_log_formatter.ipp", - "external/sources/boost/boost/test/impl/plain_report_formatter.ipp", - "external/sources/boost/boost/test/impl/progress_monitor.ipp", - "external/sources/boost/boost/test/impl/results_collector.ipp", - "external/sources/boost/boost/test/impl/results_reporter.ipp", - "external/sources/boost/boost/test/impl/test_framework_init_observer.ipp", - "external/sources/boost/boost/test/impl/test_main.ipp", - "external/sources/boost/boost/test/impl/test_tools.ipp", - "external/sources/boost/boost/test/impl/test_tree.ipp", - "external/sources/boost/boost/test/impl/unit_test_log.ipp", - "external/sources/boost/boost/test/impl/unit_test_main.ipp", - "external/sources/boost/boost/test/impl/unit_test_monitor.ipp", - "external/sources/boost/boost/test/impl/unit_test_parameters.ipp", - "external/sources/boost/boost/test/impl/xml_log_formatter.ipp", - "external/sources/boost/boost/test/impl/xml_report_formatter.ipp", - "external/sources/boost/boost/test/included/execution_monitor.hpp", - "external/sources/boost/boost/test/included/prg_exec_monitor.hpp", - "external/sources/boost/boost/test/included/test_exec_monitor.hpp", - "external/sources/boost/boost/test/included/unit_test.hpp", - "external/sources/boost/boost/test/included/unit_test_framework.hpp", - "external/sources/boost/boost/test/minimal.hpp", - "external/sources/boost/boost/test/output/compiler_log_formatter.hpp", - "external/sources/boost/boost/test/output/junit_log_formatter.hpp", - "external/sources/boost/boost/test/output/plain_report_formatter.hpp", - "external/sources/boost/boost/test/output/xml_log_formatter.hpp", - "external/sources/boost/boost/test/output/xml_report_formatter.hpp", - "external/sources/boost/boost/test/output_test_stream.hpp", - "external/sources/boost/boost/test/parameterized_test.hpp", - "external/sources/boost/boost/test/predicate_result.hpp", - "external/sources/boost/boost/test/prg_exec_monitor.hpp", - "external/sources/boost/boost/test/progress_monitor.hpp", - "external/sources/boost/boost/test/results_collector.hpp", - "external/sources/boost/boost/test/results_reporter.hpp", - "external/sources/boost/boost/test/test_case_template.hpp", - "external/sources/boost/boost/test/test_exec_monitor.hpp", - "external/sources/boost/boost/test/test_framework_init_observer.hpp", - "external/sources/boost/boost/test/test_tools.hpp", - "external/sources/boost/boost/test/tools/assertion.hpp", - "external/sources/boost/boost/test/tools/assertion_result.hpp", - "external/sources/boost/boost/test/tools/collection_comparison_op.hpp", - "external/sources/boost/boost/test/tools/context.hpp", - "external/sources/boost/boost/test/tools/cstring_comparison_op.hpp", - "external/sources/boost/boost/test/tools/detail/bitwise_manip.hpp", - "external/sources/boost/boost/test/tools/detail/fwd.hpp", - "external/sources/boost/boost/test/tools/detail/indirections.hpp", - "external/sources/boost/boost/test/tools/detail/it_pair.hpp", - "external/sources/boost/boost/test/tools/detail/lexicographic_manip.hpp", - "external/sources/boost/boost/test/tools/detail/per_element_manip.hpp", - "external/sources/boost/boost/test/tools/detail/print_helper.hpp", - "external/sources/boost/boost/test/tools/detail/tolerance_manip.hpp", - "external/sources/boost/boost/test/tools/floating_point_comparison.hpp", - "external/sources/boost/boost/test/tools/fpc_op.hpp", - "external/sources/boost/boost/test/tools/fpc_tolerance.hpp", - "external/sources/boost/boost/test/tools/interface.hpp", - "external/sources/boost/boost/test/tools/old/impl.hpp", - "external/sources/boost/boost/test/tools/old/interface.hpp", - "external/sources/boost/boost/test/tools/output_test_stream.hpp", - "external/sources/boost/boost/test/tree/auto_registration.hpp", - "external/sources/boost/boost/test/tree/decorator.hpp", - "external/sources/boost/boost/test/tree/fixture.hpp", - "external/sources/boost/boost/test/tree/global_fixture.hpp", - "external/sources/boost/boost/test/tree/observer.hpp", - "external/sources/boost/boost/test/tree/test_case_counter.hpp", - "external/sources/boost/boost/test/tree/test_case_template.hpp", - "external/sources/boost/boost/test/tree/test_unit.hpp", - "external/sources/boost/boost/test/tree/traverse.hpp", - "external/sources/boost/boost/test/tree/visitor.hpp", - "external/sources/boost/boost/test/unit_test.hpp", - "external/sources/boost/boost/test/unit_test_log.hpp", - "external/sources/boost/boost/test/unit_test_log_formatter.hpp", - "external/sources/boost/boost/test/unit_test_monitor.hpp", - "external/sources/boost/boost/test/unit_test_parameters.hpp", - "external/sources/boost/boost/test/unit_test_suite.hpp", - "external/sources/boost/boost/test/utils/algorithm.hpp", - "external/sources/boost/boost/test/utils/assign_op.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/bcs_char_traits.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/compare.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/io.hpp", - "external/sources/boost/boost/test/utils/class_properties.hpp", - "external/sources/boost/boost/test/utils/custom_manip.hpp", - "external/sources/boost/boost/test/utils/foreach.hpp", - "external/sources/boost/boost/test/utils/is_cstring.hpp", - "external/sources/boost/boost/test/utils/is_forward_iterable.hpp", - "external/sources/boost/boost/test/utils/iterator/input_iterator_facade.hpp", - "external/sources/boost/boost/test/utils/iterator/token_iterator.hpp", - "external/sources/boost/boost/test/utils/lazy_ostream.hpp", - "external/sources/boost/boost/test/utils/named_params.hpp", - "external/sources/boost/boost/test/utils/nullstream.hpp", - "external/sources/boost/boost/test/utils/rtti.hpp", - "external/sources/boost/boost/test/utils/runtime/argument.hpp", - "external/sources/boost/boost/test/utils/runtime/argument_factory.hpp", - "external/sources/boost/boost/test/utils/runtime/cla/argv_traverser.hpp", - "external/sources/boost/boost/test/utils/runtime/cla/parser.hpp", - "external/sources/boost/boost/test/utils/runtime/env/fetch.hpp", - "external/sources/boost/boost/test/utils/runtime/errors.hpp", - "external/sources/boost/boost/test/utils/runtime/finalize.hpp", - "external/sources/boost/boost/test/utils/runtime/fwd.hpp", - "external/sources/boost/boost/test/utils/runtime/modifier.hpp", - "external/sources/boost/boost/test/utils/runtime/parameter.hpp", - "external/sources/boost/boost/test/utils/setcolor.hpp", - "external/sources/boost/boost/test/utils/string_cast.hpp", - "external/sources/boost/boost/test/utils/timer.hpp", - "external/sources/boost/boost/test/utils/wrap_stringstream.hpp", - "external/sources/boost/boost/test/utils/xml_printer.hpp", - "external/sources/boost/boost/thread.hpp", - "external/sources/boost/boost/thread/barrier.hpp", - "external/sources/boost/boost/thread/caller_context.hpp", - "external/sources/boost/boost/thread/completion_latch.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_adaptor.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_views.hpp", - "external/sources/boost/boost/thread/concurrent_queues/detail/sync_deque_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/detail/sync_queue_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_adaptor.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_op_status.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_views.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_bounded_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_deque.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_priority_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_timed_queue.hpp", - "external/sources/boost/boost/thread/condition.hpp", - "external/sources/boost/boost/thread/condition_variable.hpp", - "external/sources/boost/boost/thread/csbl/deque.hpp", - "external/sources/boost/boost/thread/csbl/devector.hpp", - "external/sources/boost/boost/thread/csbl/functional.hpp", - "external/sources/boost/boost/thread/csbl/list.hpp", - "external/sources/boost/boost/thread/csbl/memory.hpp", - "external/sources/boost/boost/thread/csbl/memory/allocator_arg.hpp", - "external/sources/boost/boost/thread/csbl/memory/allocator_traits.hpp", - "external/sources/boost/boost/thread/csbl/memory/config.hpp", - "external/sources/boost/boost/thread/csbl/memory/default_delete.hpp", - "external/sources/boost/boost/thread/csbl/memory/pointer_traits.hpp", - "external/sources/boost/boost/thread/csbl/memory/scoped_allocator.hpp", - "external/sources/boost/boost/thread/csbl/memory/shared_ptr.hpp", - "external/sources/boost/boost/thread/csbl/memory/unique_ptr.hpp", - "external/sources/boost/boost/thread/csbl/queue.hpp", - "external/sources/boost/boost/thread/csbl/tuple.hpp", - "external/sources/boost/boost/thread/csbl/vector.hpp", - "external/sources/boost/boost/thread/cv_status.hpp", - "external/sources/boost/boost/thread/detail/atomic_redef_macros.hpp", - "external/sources/boost/boost/thread/detail/atomic_undef_macros.hpp", - "external/sources/boost/boost/thread/detail/config.hpp", - "external/sources/boost/boost/thread/detail/counter.hpp", - "external/sources/boost/boost/thread/detail/delete.hpp", - "external/sources/boost/boost/thread/detail/force_cast.hpp", - "external/sources/boost/boost/thread/detail/function_wrapper.hpp", - "external/sources/boost/boost/thread/detail/invoke.hpp", - "external/sources/boost/boost/thread/detail/invoker.hpp", - "external/sources/boost/boost/thread/detail/is_convertible.hpp", - "external/sources/boost/boost/thread/detail/lockable_wrapper.hpp", - "external/sources/boost/boost/thread/detail/log.hpp", - "external/sources/boost/boost/thread/detail/make_tuple_indices.hpp", - "external/sources/boost/boost/thread/detail/memory.hpp", - "external/sources/boost/boost/thread/detail/move.hpp", - "external/sources/boost/boost/thread/detail/nullary_function.hpp", - "external/sources/boost/boost/thread/detail/platform.hpp", - "external/sources/boost/boost/thread/detail/platform_time.hpp", - "external/sources/boost/boost/thread/detail/singleton.hpp", - "external/sources/boost/boost/thread/detail/thread.hpp", - "external/sources/boost/boost/thread/detail/thread_group.hpp", - "external/sources/boost/boost/thread/detail/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/detail/thread_interruption.hpp", - "external/sources/boost/boost/thread/detail/thread_safety.hpp", - "external/sources/boost/boost/thread/detail/tss_hooks.hpp", - "external/sources/boost/boost/thread/detail/variadic_footer.hpp", - "external/sources/boost/boost/thread/detail/variadic_header.hpp", - "external/sources/boost/boost/thread/exceptional_ptr.hpp", - "external/sources/boost/boost/thread/exceptions.hpp", - "external/sources/boost/boost/thread/executor.hpp", - "external/sources/boost/boost/thread/executors/basic_thread_pool.hpp", - "external/sources/boost/boost/thread/executors/detail/priority_executor_base.hpp", - "external/sources/boost/boost/thread/executors/detail/scheduled_executor_base.hpp", - "external/sources/boost/boost/thread/executors/executor.hpp", - "external/sources/boost/boost/thread/executors/executor_adaptor.hpp", - "external/sources/boost/boost/thread/executors/generic_executor_ref.hpp", - "external/sources/boost/boost/thread/executors/inline_executor.hpp", - "external/sources/boost/boost/thread/executors/loop_executor.hpp", - "external/sources/boost/boost/thread/executors/scheduled_thread_pool.hpp", - "external/sources/boost/boost/thread/executors/scheduler.hpp", - "external/sources/boost/boost/thread/executors/scheduling_adaptor.hpp", - "external/sources/boost/boost/thread/executors/serial_executor.hpp", - "external/sources/boost/boost/thread/executors/serial_executor_cont.hpp", - "external/sources/boost/boost/thread/executors/thread_executor.hpp", - "external/sources/boost/boost/thread/executors/work.hpp", - "external/sources/boost/boost/thread/experimental/config/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/exception_list.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v1/exception_list.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v1/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v2/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v2/task_region.hpp", - "external/sources/boost/boost/thread/experimental/task_region.hpp", - "external/sources/boost/boost/thread/externally_locked.hpp", - "external/sources/boost/boost/thread/externally_locked_stream.hpp", - "external/sources/boost/boost/thread/future.hpp", - "external/sources/boost/boost/thread/futures/future_error.hpp", - "external/sources/boost/boost/thread/futures/future_error_code.hpp", - "external/sources/boost/boost/thread/futures/future_status.hpp", - "external/sources/boost/boost/thread/futures/is_future_type.hpp", - "external/sources/boost/boost/thread/futures/launch.hpp", - "external/sources/boost/boost/thread/futures/wait_for_all.hpp", - "external/sources/boost/boost/thread/futures/wait_for_any.hpp", - "external/sources/boost/boost/thread/interruption.hpp", - "external/sources/boost/boost/thread/is_locked_by_this_thread.hpp", - "external/sources/boost/boost/thread/latch.hpp", - "external/sources/boost/boost/thread/lock_algorithms.hpp", - "external/sources/boost/boost/thread/lock_concepts.hpp", - "external/sources/boost/boost/thread/lock_factories.hpp", - "external/sources/boost/boost/thread/lock_guard.hpp", - "external/sources/boost/boost/thread/lock_options.hpp", - "external/sources/boost/boost/thread/lock_traits.hpp", - "external/sources/boost/boost/thread/lock_types.hpp", - "external/sources/boost/boost/thread/lockable_adapter.hpp", - "external/sources/boost/boost/thread/lockable_concepts.hpp", - "external/sources/boost/boost/thread/lockable_traits.hpp", - "external/sources/boost/boost/thread/locks.hpp", - "external/sources/boost/boost/thread/mutex.hpp", - "external/sources/boost/boost/thread/null_mutex.hpp", - "external/sources/boost/boost/thread/once.hpp", - "external/sources/boost/boost/thread/ostream_buffer.hpp", - "external/sources/boost/boost/thread/poly_lockable.hpp", - "external/sources/boost/boost/thread/poly_lockable_adapter.hpp", - "external/sources/boost/boost/thread/poly_shared_lockable.hpp", - "external/sources/boost/boost/thread/poly_shared_lockable_adapter.hpp", - "external/sources/boost/boost/thread/pthread/condition_variable.hpp", - "external/sources/boost/boost/thread/pthread/condition_variable_fwd.hpp", - "external/sources/boost/boost/thread/pthread/mutex.hpp", - "external/sources/boost/boost/thread/pthread/once.hpp", - "external/sources/boost/boost/thread/pthread/once_atomic.hpp", - "external/sources/boost/boost/thread/pthread/pthread_helpers.hpp", - "external/sources/boost/boost/thread/pthread/pthread_mutex_scoped_lock.hpp", - "external/sources/boost/boost/thread/pthread/recursive_mutex.hpp", - "external/sources/boost/boost/thread/pthread/shared_mutex.hpp", - "external/sources/boost/boost/thread/pthread/thread_data.hpp", - "external/sources/boost/boost/thread/pthread/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/recursive_mutex.hpp", - "external/sources/boost/boost/thread/reverse_lock.hpp", - "external/sources/boost/boost/thread/scoped_thread.hpp", - "external/sources/boost/boost/thread/shared_lock_guard.hpp", - "external/sources/boost/boost/thread/shared_mutex.hpp", - "external/sources/boost/boost/thread/strict_lock.hpp", - "external/sources/boost/boost/thread/sync_bounded_queue.hpp", - "external/sources/boost/boost/thread/sync_queue.hpp", - "external/sources/boost/boost/thread/synchronized_value.hpp", - "external/sources/boost/boost/thread/testable_mutex.hpp", - "external/sources/boost/boost/thread/thread.hpp", - "external/sources/boost/boost/thread/thread_functors.hpp", - "external/sources/boost/boost/thread/thread_guard.hpp", - "external/sources/boost/boost/thread/thread_only.hpp", - "external/sources/boost/boost/thread/thread_pool.hpp", - "external/sources/boost/boost/thread/thread_time.hpp", - "external/sources/boost/boost/thread/tss.hpp", - "external/sources/boost/boost/thread/user_scheduler.hpp", - "external/sources/boost/boost/thread/v2/shared_mutex.hpp", - "external/sources/boost/boost/thread/win32/basic_recursive_mutex.hpp", - "external/sources/boost/boost/thread/win32/basic_timed_mutex.hpp", - "external/sources/boost/boost/thread/win32/condition_variable.hpp", - "external/sources/boost/boost/thread/win32/interlocked_read.hpp", - "external/sources/boost/boost/thread/win32/mfc_thread_init.hpp", - "external/sources/boost/boost/thread/win32/mutex.hpp", - "external/sources/boost/boost/thread/win32/once.hpp", - "external/sources/boost/boost/thread/win32/recursive_mutex.hpp", - "external/sources/boost/boost/thread/win32/shared_mutex.hpp", - "external/sources/boost/boost/thread/win32/thread_data.hpp", - "external/sources/boost/boost/thread/win32/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/win32/thread_primitives.hpp", - "external/sources/boost/boost/thread/with_lock_guard.hpp", - "external/sources/boost/boost/thread/xtime.hpp", - "external/sources/boost/boost/throw_exception.hpp", - "external/sources/boost/boost/timer.hpp", - "external/sources/boost/boost/timer/config.hpp", - "external/sources/boost/boost/timer/progress_display.hpp", - "external/sources/boost/boost/timer/timer.hpp", - "external/sources/boost/boost/token_functions.hpp", - "external/sources/boost/boost/token_iterator.hpp", - "external/sources/boost/boost/tokenizer.hpp", - "external/sources/boost/boost/tti/detail/dclass.hpp", - "external/sources/boost/boost/tti/detail/dcomp_mem_fun.hpp", - "external/sources/boost/boost/tti/detail/dcomp_mem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/ddata.hpp", - "external/sources/boost/boost/tti/detail/ddeftype.hpp", - "external/sources/boost/boost/tti/detail/denclosing_type.hpp", - "external/sources/boost/boost/tti/detail/denum.hpp", - "external/sources/boost/boost/tti/detail/dftclass.hpp", - "external/sources/boost/boost/tti/detail/dfunction.hpp", - "external/sources/boost/boost/tti/detail/dfunction_template.hpp", - "external/sources/boost/boost/tti/detail/dlambda.hpp", - "external/sources/boost/boost/tti/detail/dmacro_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dmacro_fve.hpp", - "external/sources/boost/boost/tti/detail/dmacro_sunfix.hpp", - "external/sources/boost/boost/tti/detail/dmem_data.hpp", - "external/sources/boost/boost/tti/detail/dmem_fun.hpp", - "external/sources/boost/boost/tti/detail/dmem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dmem_type.hpp", - "external/sources/boost/boost/tti/detail/dmetafunc.hpp", - "external/sources/boost/boost/tti/detail/dnotype.hpp", - "external/sources/boost/boost/tti/detail/dnullptr.hpp", - "external/sources/boost/boost/tti/detail/dplaceholder.hpp", - "external/sources/boost/boost/tti/detail/dptmf.hpp", - "external/sources/boost/boost/tti/detail/dstatic_function_tags.hpp", - "external/sources/boost/boost/tti/detail/dstatic_function_type.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_data.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_fun.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dtclass.hpp", - "external/sources/boost/boost/tti/detail/dtemplate.hpp", - "external/sources/boost/boost/tti/detail/dtemplate_params.hpp", - "external/sources/boost/boost/tti/detail/dtfunction.hpp", - "external/sources/boost/boost/tti/detail/dtype.hpp", - "external/sources/boost/boost/tti/detail/dunion.hpp", - "external/sources/boost/boost/tti/detail/dvm_template_params.hpp", - "external/sources/boost/boost/tti/has_class.hpp", - "external/sources/boost/boost/tti/has_data.hpp", - "external/sources/boost/boost/tti/has_enum.hpp", - "external/sources/boost/boost/tti/has_function.hpp", - "external/sources/boost/boost/tti/has_function_template.hpp", - "external/sources/boost/boost/tti/has_member_data.hpp", - "external/sources/boost/boost/tti/has_member_function.hpp", - "external/sources/boost/boost/tti/has_member_function_template.hpp", - "external/sources/boost/boost/tti/has_static_member_data.hpp", - "external/sources/boost/boost/tti/has_static_member_function.hpp", - "external/sources/boost/boost/tti/has_static_member_function_template.hpp", - "external/sources/boost/boost/tti/has_template.hpp", - "external/sources/boost/boost/tti/has_type.hpp", - "external/sources/boost/boost/tti/has_union.hpp", - "external/sources/boost/boost/tti/member_type.hpp", - "external/sources/boost/boost/tti/tti.hpp", - "external/sources/boost/boost/tuple/detail/tuple_basic.hpp", - "external/sources/boost/boost/tuple/tuple.hpp", - "external/sources/boost/boost/tuple/tuple_comparison.hpp", - "external/sources/boost/boost/tuple/tuple_io.hpp", - "external/sources/boost/boost/type.hpp", - "external/sources/boost/boost/type_erasure/any.hpp", - "external/sources/boost/boost/type_erasure/any_cast.hpp", - "external/sources/boost/boost/type_erasure/binding.hpp", - "external/sources/boost/boost/type_erasure/binding_of.hpp", - "external/sources/boost/boost/type_erasure/builtin.hpp", - "external/sources/boost/boost/type_erasure/call.hpp", - "external/sources/boost/boost/type_erasure/callable.hpp", - "external/sources/boost/boost/type_erasure/check_match.hpp", - "external/sources/boost/boost/type_erasure/concept_interface.hpp", - "external/sources/boost/boost/type_erasure/concept_of.hpp", - "external/sources/boost/boost/type_erasure/config.hpp", - "external/sources/boost/boost/type_erasure/constructible.hpp", - "external/sources/boost/boost/type_erasure/deduced.hpp", - "external/sources/boost/boost/type_erasure/derived.hpp", - "external/sources/boost/boost/type_erasure/detail/access.hpp", - "external/sources/boost/boost/type_erasure/detail/adapt_to_vtable.hpp", - "external/sources/boost/boost/type_erasure/detail/any_base.hpp", - "external/sources/boost/boost/type_erasure/detail/auto_link.hpp", - "external/sources/boost/boost/type_erasure/detail/check_call.hpp", - "external/sources/boost/boost/type_erasure/detail/check_map.hpp", - "external/sources/boost/boost/type_erasure/detail/const.hpp", - "external/sources/boost/boost/type_erasure/detail/construct.hpp", - "external/sources/boost/boost/type_erasure/detail/dynamic_vtable.hpp", - "external/sources/boost/boost/type_erasure/detail/extract_concept.hpp", - "external/sources/boost/boost/type_erasure/detail/get_placeholders.hpp", - "external/sources/boost/boost/type_erasure/detail/get_signature.hpp", - "external/sources/boost/boost/type_erasure/detail/instantiate.hpp", - "external/sources/boost/boost/type_erasure/detail/macro.hpp", - "external/sources/boost/boost/type_erasure/detail/member11.hpp", - "external/sources/boost/boost/type_erasure/detail/meta.hpp", - "external/sources/boost/boost/type_erasure/detail/normalize.hpp", - "external/sources/boost/boost/type_erasure/detail/normalize_deduced.hpp", - "external/sources/boost/boost/type_erasure/detail/null.hpp", - "external/sources/boost/boost/type_erasure/detail/rebind_placeholders.hpp", - "external/sources/boost/boost/type_erasure/detail/storage.hpp", - "external/sources/boost/boost/type_erasure/detail/vtable.hpp", - "external/sources/boost/boost/type_erasure/dynamic_any_cast.hpp", - "external/sources/boost/boost/type_erasure/dynamic_binding.hpp", - "external/sources/boost/boost/type_erasure/exception.hpp", - "external/sources/boost/boost/type_erasure/free.hpp", - "external/sources/boost/boost/type_erasure/is_empty.hpp", - "external/sources/boost/boost/type_erasure/is_placeholder.hpp", - "external/sources/boost/boost/type_erasure/is_subconcept.hpp", - "external/sources/boost/boost/type_erasure/iterator.hpp", - "external/sources/boost/boost/type_erasure/member.hpp", - "external/sources/boost/boost/type_erasure/operators.hpp", - "external/sources/boost/boost/type_erasure/param.hpp", - "external/sources/boost/boost/type_erasure/placeholder.hpp", - "external/sources/boost/boost/type_erasure/placeholder_of.hpp", - "external/sources/boost/boost/type_erasure/rebind_any.hpp", - "external/sources/boost/boost/type_erasure/register_binding.hpp", - "external/sources/boost/boost/type_erasure/relaxed.hpp", - "external/sources/boost/boost/type_erasure/require_match.hpp", - "external/sources/boost/boost/type_erasure/same_type.hpp", - "external/sources/boost/boost/type_erasure/static_binding.hpp", - "external/sources/boost/boost/type_erasure/tuple.hpp", - "external/sources/boost/boost/type_erasure/typeid_of.hpp", - "external/sources/boost/boost/type_index.hpp", - "external/sources/boost/boost/type_index/ctti_type_index.hpp", - "external/sources/boost/boost/type_index/detail/compile_time_type_info.hpp", - "external/sources/boost/boost/type_index/detail/ctti_register_class.hpp", - "external/sources/boost/boost/type_index/detail/stl_register_class.hpp", - "external/sources/boost/boost/type_index/runtime_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/detail/runtime_cast_impl.hpp", - "external/sources/boost/boost/type_index/runtime_cast/pointer_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/reference_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/register_runtime_class.hpp", - "external/sources/boost/boost/type_index/runtime_cast/std_shared_ptr_cast.hpp", - "external/sources/boost/boost/type_index/stl_type_index.hpp", - "external/sources/boost/boost/type_index/type_index_facade.hpp", - "external/sources/boost/boost/type_traits.hpp", - "external/sources/boost/boost/type_traits/add_const.hpp", - "external/sources/boost/boost/type_traits/add_cv.hpp", - "external/sources/boost/boost/type_traits/add_lvalue_reference.hpp", - "external/sources/boost/boost/type_traits/add_pointer.hpp", - "external/sources/boost/boost/type_traits/add_reference.hpp", - "external/sources/boost/boost/type_traits/add_rvalue_reference.hpp", - "external/sources/boost/boost/type_traits/add_volatile.hpp", - "external/sources/boost/boost/type_traits/aligned_storage.hpp", - "external/sources/boost/boost/type_traits/alignment_of.hpp", - "external/sources/boost/boost/type_traits/alignment_traits.hpp", - "external/sources/boost/boost/type_traits/arithmetic_traits.hpp", - "external/sources/boost/boost/type_traits/array_traits.hpp", - "external/sources/boost/boost/type_traits/broken_compiler_spec.hpp", - "external/sources/boost/boost/type_traits/common_type.hpp", - "external/sources/boost/boost/type_traits/composite_traits.hpp", - "external/sources/boost/boost/type_traits/conditional.hpp", - "external/sources/boost/boost/type_traits/config.hpp", - "external/sources/boost/boost/type_traits/conjunction.hpp", - "external/sources/boost/boost/type_traits/conversion_traits.hpp", - "external/sources/boost/boost/type_traits/copy_cv.hpp", - "external/sources/boost/boost/type_traits/copy_cv_ref.hpp", - "external/sources/boost/boost/type_traits/copy_reference.hpp", - "external/sources/boost/boost/type_traits/cv_traits.hpp", - "external/sources/boost/boost/type_traits/decay.hpp", - "external/sources/boost/boost/type_traits/declval.hpp", - "external/sources/boost/boost/type_traits/detail/bool_trait_def.hpp", - "external/sources/boost/boost/type_traits/detail/bool_trait_undef.hpp", - "external/sources/boost/boost/type_traits/detail/common_arithmetic_type.hpp", - "external/sources/boost/boost/type_traits/detail/common_type_impl.hpp", - "external/sources/boost/boost/type_traits/detail/composite_member_pointer_type.hpp", - "external/sources/boost/boost/type_traits/detail/composite_pointer_type.hpp", - "external/sources/boost/boost/type_traits/detail/config.hpp", - "external/sources/boost/boost/type_traits/detail/detector.hpp", - "external/sources/boost/boost/type_traits/detail/has_binary_operator.hpp", - "external/sources/boost/boost/type_traits/detail/has_postfix_operator.hpp", - "external/sources/boost/boost/type_traits/detail/has_prefix_operator.hpp", - "external/sources/boost/boost/type_traits/detail/ice_and.hpp", - "external/sources/boost/boost/type_traits/detail/ice_eq.hpp", - "external/sources/boost/boost/type_traits/detail/ice_not.hpp", - "external/sources/boost/boost/type_traits/detail/ice_or.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_cxx_03.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_cxx_11.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_msvc10_fix.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_ptr_helper.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_ptr_tester.hpp", - "external/sources/boost/boost/type_traits/detail/is_likely_lambda.hpp", - "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp", - "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp", - "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp", - "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp", - "external/sources/boost/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp", - "external/sources/boost/boost/type_traits/detail/mp_defer.hpp", - "external/sources/boost/boost/type_traits/detail/template_arity_spec.hpp", - "external/sources/boost/boost/type_traits/detail/yes_no_type.hpp", - "external/sources/boost/boost/type_traits/detected.hpp", - "external/sources/boost/boost/type_traits/detected_or.hpp", - "external/sources/boost/boost/type_traits/disjunction.hpp", - "external/sources/boost/boost/type_traits/enable_if.hpp", - "external/sources/boost/boost/type_traits/extent.hpp", - "external/sources/boost/boost/type_traits/floating_point_promotion.hpp", - "external/sources/boost/boost/type_traits/function_traits.hpp", - "external/sources/boost/boost/type_traits/has_bit_and.hpp", - "external/sources/boost/boost/type_traits/has_bit_and_assign.hpp", - "external/sources/boost/boost/type_traits/has_bit_or.hpp", - "external/sources/boost/boost/type_traits/has_bit_or_assign.hpp", - "external/sources/boost/boost/type_traits/has_bit_xor.hpp", - "external/sources/boost/boost/type_traits/has_bit_xor_assign.hpp", - "external/sources/boost/boost/type_traits/has_complement.hpp", - "external/sources/boost/boost/type_traits/has_dereference.hpp", - "external/sources/boost/boost/type_traits/has_divides.hpp", - "external/sources/boost/boost/type_traits/has_divides_assign.hpp", - "external/sources/boost/boost/type_traits/has_equal_to.hpp", - "external/sources/boost/boost/type_traits/has_greater.hpp", - "external/sources/boost/boost/type_traits/has_greater_equal.hpp", - "external/sources/boost/boost/type_traits/has_left_shift.hpp", - "external/sources/boost/boost/type_traits/has_left_shift_assign.hpp", - "external/sources/boost/boost/type_traits/has_less.hpp", - "external/sources/boost/boost/type_traits/has_less_equal.hpp", - "external/sources/boost/boost/type_traits/has_logical_and.hpp", - "external/sources/boost/boost/type_traits/has_logical_not.hpp", - "external/sources/boost/boost/type_traits/has_logical_or.hpp", - "external/sources/boost/boost/type_traits/has_minus.hpp", - "external/sources/boost/boost/type_traits/has_minus_assign.hpp", - "external/sources/boost/boost/type_traits/has_modulus.hpp", - "external/sources/boost/boost/type_traits/has_modulus_assign.hpp", - "external/sources/boost/boost/type_traits/has_multiplies.hpp", - "external/sources/boost/boost/type_traits/has_multiplies_assign.hpp", - "external/sources/boost/boost/type_traits/has_negate.hpp", - "external/sources/boost/boost/type_traits/has_new_operator.hpp", - "external/sources/boost/boost/type_traits/has_not_equal_to.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_assign.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_constructor.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_copy.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_destructor.hpp", - "external/sources/boost/boost/type_traits/has_operator.hpp", - "external/sources/boost/boost/type_traits/has_plus.hpp", - "external/sources/boost/boost/type_traits/has_plus_assign.hpp", - "external/sources/boost/boost/type_traits/has_post_decrement.hpp", - "external/sources/boost/boost/type_traits/has_post_increment.hpp", - "external/sources/boost/boost/type_traits/has_pre_decrement.hpp", - "external/sources/boost/boost/type_traits/has_pre_increment.hpp", - "external/sources/boost/boost/type_traits/has_right_shift.hpp", - "external/sources/boost/boost/type_traits/has_right_shift_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_constructor.hpp", - "external/sources/boost/boost/type_traits/has_trivial_copy.hpp", - "external/sources/boost/boost/type_traits/has_trivial_destructor.hpp", - "external/sources/boost/boost/type_traits/has_trivial_move_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_move_constructor.hpp", - "external/sources/boost/boost/type_traits/has_unary_minus.hpp", - "external/sources/boost/boost/type_traits/has_unary_plus.hpp", - "external/sources/boost/boost/type_traits/has_virtual_destructor.hpp", - "external/sources/boost/boost/type_traits/ice.hpp", - "external/sources/boost/boost/type_traits/integral_constant.hpp", - "external/sources/boost/boost/type_traits/integral_promotion.hpp", - "external/sources/boost/boost/type_traits/intrinsics.hpp", - "external/sources/boost/boost/type_traits/is_abstract.hpp", - "external/sources/boost/boost/type_traits/is_arithmetic.hpp", - "external/sources/boost/boost/type_traits/is_array.hpp", - "external/sources/boost/boost/type_traits/is_assignable.hpp", - "external/sources/boost/boost/type_traits/is_base_and_derived.hpp", - "external/sources/boost/boost/type_traits/is_base_of.hpp", - "external/sources/boost/boost/type_traits/is_base_of_tr1.hpp", - "external/sources/boost/boost/type_traits/is_bounded_array.hpp", - "external/sources/boost/boost/type_traits/is_class.hpp", - "external/sources/boost/boost/type_traits/is_complete.hpp", - "external/sources/boost/boost/type_traits/is_complex.hpp", - "external/sources/boost/boost/type_traits/is_compound.hpp", - "external/sources/boost/boost/type_traits/is_const.hpp", - "external/sources/boost/boost/type_traits/is_constructible.hpp", - "external/sources/boost/boost/type_traits/is_convertible.hpp", - "external/sources/boost/boost/type_traits/is_copy_assignable.hpp", - "external/sources/boost/boost/type_traits/is_copy_constructible.hpp", - "external/sources/boost/boost/type_traits/is_default_constructible.hpp", - "external/sources/boost/boost/type_traits/is_destructible.hpp", - "external/sources/boost/boost/type_traits/is_detected.hpp", - "external/sources/boost/boost/type_traits/is_detected_convertible.hpp", - "external/sources/boost/boost/type_traits/is_detected_exact.hpp", - "external/sources/boost/boost/type_traits/is_empty.hpp", - "external/sources/boost/boost/type_traits/is_enum.hpp", - "external/sources/boost/boost/type_traits/is_final.hpp", - "external/sources/boost/boost/type_traits/is_float.hpp", - "external/sources/boost/boost/type_traits/is_floating_point.hpp", - "external/sources/boost/boost/type_traits/is_function.hpp", - "external/sources/boost/boost/type_traits/is_fundamental.hpp", - "external/sources/boost/boost/type_traits/is_integral.hpp", - "external/sources/boost/boost/type_traits/is_list_constructible.hpp", - "external/sources/boost/boost/type_traits/is_lvalue_reference.hpp", - "external/sources/boost/boost/type_traits/is_member_function_pointer.hpp", - "external/sources/boost/boost/type_traits/is_member_object_pointer.hpp", - "external/sources/boost/boost/type_traits/is_member_pointer.hpp", - "external/sources/boost/boost/type_traits/is_noncopyable.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_move_assignable.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_move_constructible.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_swappable.hpp", - "external/sources/boost/boost/type_traits/is_object.hpp", - "external/sources/boost/boost/type_traits/is_pod.hpp", - "external/sources/boost/boost/type_traits/is_pointer.hpp", - "external/sources/boost/boost/type_traits/is_polymorphic.hpp", - "external/sources/boost/boost/type_traits/is_reference.hpp", - "external/sources/boost/boost/type_traits/is_rvalue_reference.hpp", - "external/sources/boost/boost/type_traits/is_same.hpp", - "external/sources/boost/boost/type_traits/is_scalar.hpp", - "external/sources/boost/boost/type_traits/is_scoped_enum.hpp", - "external/sources/boost/boost/type_traits/is_signed.hpp", - "external/sources/boost/boost/type_traits/is_stateless.hpp", - "external/sources/boost/boost/type_traits/is_trivially_copyable.hpp", - "external/sources/boost/boost/type_traits/is_unbounded_array.hpp", - "external/sources/boost/boost/type_traits/is_union.hpp", - "external/sources/boost/boost/type_traits/is_unscoped_enum.hpp", - "external/sources/boost/boost/type_traits/is_unsigned.hpp", - "external/sources/boost/boost/type_traits/is_virtual_base_of.hpp", - "external/sources/boost/boost/type_traits/is_void.hpp", - "external/sources/boost/boost/type_traits/is_volatile.hpp", - "external/sources/boost/boost/type_traits/make_signed.hpp", - "external/sources/boost/boost/type_traits/make_unsigned.hpp", - "external/sources/boost/boost/type_traits/make_void.hpp", - "external/sources/boost/boost/type_traits/negation.hpp", - "external/sources/boost/boost/type_traits/nonesuch.hpp", - "external/sources/boost/boost/type_traits/object_traits.hpp", - "external/sources/boost/boost/type_traits/promote.hpp", - "external/sources/boost/boost/type_traits/rank.hpp", - "external/sources/boost/boost/type_traits/reference_traits.hpp", - "external/sources/boost/boost/type_traits/remove_all_extents.hpp", - "external/sources/boost/boost/type_traits/remove_bounds.hpp", - "external/sources/boost/boost/type_traits/remove_const.hpp", - "external/sources/boost/boost/type_traits/remove_cv.hpp", - "external/sources/boost/boost/type_traits/remove_cv_ref.hpp", - "external/sources/boost/boost/type_traits/remove_extent.hpp", - "external/sources/boost/boost/type_traits/remove_pointer.hpp", - "external/sources/boost/boost/type_traits/remove_reference.hpp", - "external/sources/boost/boost/type_traits/remove_volatile.hpp", - "external/sources/boost/boost/type_traits/same_traits.hpp", - "external/sources/boost/boost/type_traits/transform_traits.hpp", - "external/sources/boost/boost/type_traits/type_identity.hpp", - "external/sources/boost/boost/type_traits/type_with_alignment.hpp", - "external/sources/boost/boost/typeof/constant.hpp", - "external/sources/boost/boost/typeof/decltype.hpp", - "external/sources/boost/boost/typeof/dmc/typeof_impl.hpp", - "external/sources/boost/boost/typeof/encode_decode.hpp", - "external/sources/boost/boost/typeof/encode_decode_params.hpp", - "external/sources/boost/boost/typeof/incr_registration_group.hpp", - "external/sources/boost/boost/typeof/int_encoding.hpp", - "external/sources/boost/boost/typeof/integral_template_param.hpp", - "external/sources/boost/boost/typeof/message.hpp", - "external/sources/boost/boost/typeof/modifiers.hpp", - "external/sources/boost/boost/typeof/msvc/typeof_impl.hpp", - "external/sources/boost/boost/typeof/native.hpp", - "external/sources/boost/boost/typeof/pointers_data_members.hpp", - "external/sources/boost/boost/typeof/register_functions.hpp", - "external/sources/boost/boost/typeof/register_functions_iterate.hpp", - "external/sources/boost/boost/typeof/register_fundamental.hpp", - "external/sources/boost/boost/typeof/register_mem_functions.hpp", - "external/sources/boost/boost/typeof/std/bitset.hpp", - "external/sources/boost/boost/typeof/std/complex.hpp", - "external/sources/boost/boost/typeof/std/deque.hpp", - "external/sources/boost/boost/typeof/std/fstream.hpp", - "external/sources/boost/boost/typeof/std/functional.hpp", - "external/sources/boost/boost/typeof/std/iostream.hpp", - "external/sources/boost/boost/typeof/std/istream.hpp", - "external/sources/boost/boost/typeof/std/iterator.hpp", - "external/sources/boost/boost/typeof/std/list.hpp", - "external/sources/boost/boost/typeof/std/locale.hpp", - "external/sources/boost/boost/typeof/std/map.hpp", - "external/sources/boost/boost/typeof/std/memory.hpp", - "external/sources/boost/boost/typeof/std/ostream.hpp", - "external/sources/boost/boost/typeof/std/queue.hpp", - "external/sources/boost/boost/typeof/std/set.hpp", - "external/sources/boost/boost/typeof/std/sstream.hpp", - "external/sources/boost/boost/typeof/std/stack.hpp", - "external/sources/boost/boost/typeof/std/streambuf.hpp", - "external/sources/boost/boost/typeof/std/string.hpp", - "external/sources/boost/boost/typeof/std/utility.hpp", - "external/sources/boost/boost/typeof/std/valarray.hpp", - "external/sources/boost/boost/typeof/std/vector.hpp", - "external/sources/boost/boost/typeof/template_encoding.hpp", - "external/sources/boost/boost/typeof/template_template_param.hpp", - "external/sources/boost/boost/typeof/type_encoding.hpp", - "external/sources/boost/boost/typeof/type_template_param.hpp", - "external/sources/boost/boost/typeof/typeof.hpp", - "external/sources/boost/boost/typeof/typeof_impl.hpp", - "external/sources/boost/boost/typeof/unsupported.hpp", - "external/sources/boost/boost/typeof/vector.hpp", - "external/sources/boost/boost/typeof/vector100.hpp", - "external/sources/boost/boost/typeof/vector150.hpp", - "external/sources/boost/boost/typeof/vector200.hpp", - "external/sources/boost/boost/typeof/vector50.hpp", - "external/sources/boost/boost/units/absolute.hpp", - "external/sources/boost/boost/units/base_dimension.hpp", - "external/sources/boost/boost/units/base_unit.hpp", - "external/sources/boost/boost/units/base_units/angle/arcminute.hpp", - "external/sources/boost/boost/units/base_units/angle/arcsecond.hpp", - "external/sources/boost/boost/units/base_units/angle/degree.hpp", - "external/sources/boost/boost/units/base_units/angle/gradian.hpp", - "external/sources/boost/boost/units/base_units/angle/radian.hpp", - "external/sources/boost/boost/units/base_units/angle/revolution.hpp", - "external/sources/boost/boost/units/base_units/angle/steradian.hpp", - "external/sources/boost/boost/units/base_units/astronomical/astronomical_unit.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_day.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_hour.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_minute.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_second.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_year.hpp", - "external/sources/boost/boost/units/base_units/astronomical/parsec.hpp", - "external/sources/boost/boost/units/base_units/cgs/biot.hpp", - "external/sources/boost/boost/units/base_units/cgs/centimeter.hpp", - "external/sources/boost/boost/units/base_units/cgs/gram.hpp", - "external/sources/boost/boost/units/base_units/imperial/conversions.hpp", - "external/sources/boost/boost/units/base_units/imperial/drachm.hpp", - "external/sources/boost/boost/units/base_units/imperial/fluid_ounce.hpp", - "external/sources/boost/boost/units/base_units/imperial/foot.hpp", - "external/sources/boost/boost/units/base_units/imperial/furlong.hpp", - "external/sources/boost/boost/units/base_units/imperial/gallon.hpp", - "external/sources/boost/boost/units/base_units/imperial/gill.hpp", - "external/sources/boost/boost/units/base_units/imperial/grain.hpp", - "external/sources/boost/boost/units/base_units/imperial/hundredweight.hpp", - "external/sources/boost/boost/units/base_units/imperial/inch.hpp", - "external/sources/boost/boost/units/base_units/imperial/league.hpp", - "external/sources/boost/boost/units/base_units/imperial/mile.hpp", - "external/sources/boost/boost/units/base_units/imperial/ounce.hpp", - "external/sources/boost/boost/units/base_units/imperial/pint.hpp", - "external/sources/boost/boost/units/base_units/imperial/pound.hpp", - "external/sources/boost/boost/units/base_units/imperial/quart.hpp", - "external/sources/boost/boost/units/base_units/imperial/quarter.hpp", - "external/sources/boost/boost/units/base_units/imperial/stone.hpp", - "external/sources/boost/boost/units/base_units/imperial/thou.hpp", - "external/sources/boost/boost/units/base_units/imperial/ton.hpp", - "external/sources/boost/boost/units/base_units/imperial/yard.hpp", - "external/sources/boost/boost/units/base_units/information/bit.hpp", - "external/sources/boost/boost/units/base_units/information/byte.hpp", - "external/sources/boost/boost/units/base_units/information/hartley.hpp", - "external/sources/boost/boost/units/base_units/information/nat.hpp", - "external/sources/boost/boost/units/base_units/information/shannon.hpp", - "external/sources/boost/boost/units/base_units/metric/angstrom.hpp", - "external/sources/boost/boost/units/base_units/metric/are.hpp", - "external/sources/boost/boost/units/base_units/metric/atmosphere.hpp", - "external/sources/boost/boost/units/base_units/metric/bar.hpp", - "external/sources/boost/boost/units/base_units/metric/barn.hpp", - "external/sources/boost/boost/units/base_units/metric/day.hpp", - "external/sources/boost/boost/units/base_units/metric/fermi.hpp", - "external/sources/boost/boost/units/base_units/metric/hectare.hpp", - "external/sources/boost/boost/units/base_units/metric/hour.hpp", - "external/sources/boost/boost/units/base_units/metric/knot.hpp", - "external/sources/boost/boost/units/base_units/metric/liter.hpp", - "external/sources/boost/boost/units/base_units/metric/micron.hpp", - "external/sources/boost/boost/units/base_units/metric/minute.hpp", - "external/sources/boost/boost/units/base_units/metric/mmHg.hpp", - "external/sources/boost/boost/units/base_units/metric/nautical_mile.hpp", - "external/sources/boost/boost/units/base_units/metric/ton.hpp", - "external/sources/boost/boost/units/base_units/metric/torr.hpp", - "external/sources/boost/boost/units/base_units/metric/year.hpp", - "external/sources/boost/boost/units/base_units/si/ampere.hpp", - "external/sources/boost/boost/units/base_units/si/candela.hpp", - "external/sources/boost/boost/units/base_units/si/kelvin.hpp", - "external/sources/boost/boost/units/base_units/si/kilogram.hpp", - "external/sources/boost/boost/units/base_units/si/meter.hpp", - "external/sources/boost/boost/units/base_units/si/mole.hpp", - "external/sources/boost/boost/units/base_units/si/second.hpp", - "external/sources/boost/boost/units/base_units/temperature/celsius.hpp", - "external/sources/boost/boost/units/base_units/temperature/conversions.hpp", - "external/sources/boost/boost/units/base_units/temperature/fahrenheit.hpp", - "external/sources/boost/boost/units/base_units/us/cup.hpp", - "external/sources/boost/boost/units/base_units/us/dram.hpp", - "external/sources/boost/boost/units/base_units/us/fluid_dram.hpp", - "external/sources/boost/boost/units/base_units/us/fluid_ounce.hpp", - "external/sources/boost/boost/units/base_units/us/foot.hpp", - "external/sources/boost/boost/units/base_units/us/gallon.hpp", - "external/sources/boost/boost/units/base_units/us/gill.hpp", - "external/sources/boost/boost/units/base_units/us/grain.hpp", - "external/sources/boost/boost/units/base_units/us/hundredweight.hpp", - "external/sources/boost/boost/units/base_units/us/inch.hpp", - "external/sources/boost/boost/units/base_units/us/mil.hpp", - "external/sources/boost/boost/units/base_units/us/mile.hpp", - "external/sources/boost/boost/units/base_units/us/minim.hpp", - "external/sources/boost/boost/units/base_units/us/ounce.hpp", - "external/sources/boost/boost/units/base_units/us/pint.hpp", - "external/sources/boost/boost/units/base_units/us/pound.hpp", - "external/sources/boost/boost/units/base_units/us/pound_force.hpp", - "external/sources/boost/boost/units/base_units/us/quart.hpp", - "external/sources/boost/boost/units/base_units/us/tablespoon.hpp", - "external/sources/boost/boost/units/base_units/us/teaspoon.hpp", - "external/sources/boost/boost/units/base_units/us/ton.hpp", - "external/sources/boost/boost/units/base_units/us/yard.hpp", - "external/sources/boost/boost/units/cmath.hpp", - "external/sources/boost/boost/units/config.hpp", - "external/sources/boost/boost/units/conversion.hpp", - "external/sources/boost/boost/units/derived_dimension.hpp", - "external/sources/boost/boost/units/detail/absolute_impl.hpp", - "external/sources/boost/boost/units/detail/cmath_impl.hpp", - "external/sources/boost/boost/units/detail/conversion_impl.hpp", - "external/sources/boost/boost/units/detail/dim_impl.hpp", - "external/sources/boost/boost/units/detail/dimension_impl.hpp", - "external/sources/boost/boost/units/detail/dimension_list.hpp", - "external/sources/boost/boost/units/detail/dimensionless_unit.hpp", - "external/sources/boost/boost/units/detail/heterogeneous_conversion.hpp", - "external/sources/boost/boost/units/detail/linear_algebra.hpp", - "external/sources/boost/boost/units/detail/one.hpp", - "external/sources/boost/boost/units/detail/ordinal.hpp", - "external/sources/boost/boost/units/detail/prevent_redefinition.hpp", - "external/sources/boost/boost/units/detail/push_front_if.hpp", - "external/sources/boost/boost/units/detail/push_front_or_add.hpp", - "external/sources/boost/boost/units/detail/sort.hpp", - "external/sources/boost/boost/units/detail/static_rational_power.hpp", - "external/sources/boost/boost/units/detail/unscale.hpp", - "external/sources/boost/boost/units/detail/utility.hpp", - "external/sources/boost/boost/units/dim.hpp", - "external/sources/boost/boost/units/dimension.hpp", - "external/sources/boost/boost/units/dimensionless_quantity.hpp", - "external/sources/boost/boost/units/dimensionless_type.hpp", - "external/sources/boost/boost/units/dimensionless_unit.hpp", - "external/sources/boost/boost/units/get_dimension.hpp", - "external/sources/boost/boost/units/get_system.hpp", - "external/sources/boost/boost/units/heterogeneous_system.hpp", - "external/sources/boost/boost/units/homogeneous_system.hpp", - "external/sources/boost/boost/units/io.hpp", - "external/sources/boost/boost/units/is_dim.hpp", - "external/sources/boost/boost/units/is_dimension_list.hpp", - "external/sources/boost/boost/units/is_dimensionless.hpp", - "external/sources/boost/boost/units/is_dimensionless_quantity.hpp", - "external/sources/boost/boost/units/is_dimensionless_unit.hpp", - "external/sources/boost/boost/units/is_quantity.hpp", - "external/sources/boost/boost/units/is_quantity_of_dimension.hpp", - "external/sources/boost/boost/units/is_quantity_of_system.hpp", - "external/sources/boost/boost/units/is_unit.hpp", - "external/sources/boost/boost/units/is_unit_of_dimension.hpp", - "external/sources/boost/boost/units/is_unit_of_system.hpp", - "external/sources/boost/boost/units/lambda.hpp", - "external/sources/boost/boost/units/limits.hpp", - "external/sources/boost/boost/units/make_scaled_unit.hpp", - "external/sources/boost/boost/units/make_system.hpp", - "external/sources/boost/boost/units/operators.hpp", - "external/sources/boost/boost/units/physical_dimensions.hpp", - "external/sources/boost/boost/units/physical_dimensions/absorbed_dose.hpp", - "external/sources/boost/boost/units/physical_dimensions/acceleration.hpp", - "external/sources/boost/boost/units/physical_dimensions/action.hpp", - "external/sources/boost/boost/units/physical_dimensions/activity.hpp", - "external/sources/boost/boost/units/physical_dimensions/amount.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_acceleration.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_momentum.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_velocity.hpp", - "external/sources/boost/boost/units/physical_dimensions/area.hpp", - "external/sources/boost/boost/units/physical_dimensions/capacitance.hpp", - "external/sources/boost/boost/units/physical_dimensions/conductance.hpp", - "external/sources/boost/boost/units/physical_dimensions/conductivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/current.hpp", - "external/sources/boost/boost/units/physical_dimensions/dose_equivalent.hpp", - "external/sources/boost/boost/units/physical_dimensions/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/physical_dimensions/electric_charge.hpp", - "external/sources/boost/boost/units/physical_dimensions/electric_potential.hpp", - "external/sources/boost/boost/units/physical_dimensions/energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/energy_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/force.hpp", - "external/sources/boost/boost/units/physical_dimensions/frequency.hpp", - "external/sources/boost/boost/units/physical_dimensions/heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/illuminance.hpp", - "external/sources/boost/boost/units/physical_dimensions/impedance.hpp", - "external/sources/boost/boost/units/physical_dimensions/inductance.hpp", - "external/sources/boost/boost/units/physical_dimensions/information.hpp", - "external/sources/boost/boost/units/physical_dimensions/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/physical_dimensions/length.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminance.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminous_flux.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminous_intensity.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_field_intensity.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_flux.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_flux_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/mass.hpp", - "external/sources/boost/boost/units/physical_dimensions/mass_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/molar_energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/molar_heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/moment_of_inertia.hpp", - "external/sources/boost/boost/units/physical_dimensions/momentum.hpp", - "external/sources/boost/boost/units/physical_dimensions/permeability.hpp", - "external/sources/boost/boost/units/physical_dimensions/permittivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/plane_angle.hpp", - "external/sources/boost/boost/units/physical_dimensions/power.hpp", - "external/sources/boost/boost/units/physical_dimensions/pressure.hpp", - "external/sources/boost/boost/units/physical_dimensions/reluctance.hpp", - "external/sources/boost/boost/units/physical_dimensions/resistance.hpp", - "external/sources/boost/boost/units/physical_dimensions/resistivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/solid_angle.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_volume.hpp", - "external/sources/boost/boost/units/physical_dimensions/stress.hpp", - "external/sources/boost/boost/units/physical_dimensions/surface_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/surface_tension.hpp", - "external/sources/boost/boost/units/physical_dimensions/temperature.hpp", - "external/sources/boost/boost/units/physical_dimensions/thermal_conductivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/time.hpp", - "external/sources/boost/boost/units/physical_dimensions/torque.hpp", - "external/sources/boost/boost/units/physical_dimensions/velocity.hpp", - "external/sources/boost/boost/units/physical_dimensions/volume.hpp", - "external/sources/boost/boost/units/physical_dimensions/wavenumber.hpp", - "external/sources/boost/boost/units/pow.hpp", - "external/sources/boost/boost/units/quantity.hpp", - "external/sources/boost/boost/units/reduce_unit.hpp", - "external/sources/boost/boost/units/scale.hpp", - "external/sources/boost/boost/units/scaled_base_unit.hpp", - "external/sources/boost/boost/units/static_constant.hpp", - "external/sources/boost/boost/units/static_rational.hpp", - "external/sources/boost/boost/units/systems/abstract.hpp", - "external/sources/boost/boost/units/systems/angle/degrees.hpp", - "external/sources/boost/boost/units/systems/angle/gradians.hpp", - "external/sources/boost/boost/units/systems/angle/revolutions.hpp", - "external/sources/boost/boost/units/systems/cgs.hpp", - "external/sources/boost/boost/units/systems/cgs/acceleration.hpp", - "external/sources/boost/boost/units/systems/cgs/area.hpp", - "external/sources/boost/boost/units/systems/cgs/base.hpp", - "external/sources/boost/boost/units/systems/cgs/current.hpp", - "external/sources/boost/boost/units/systems/cgs/dimensionless.hpp", - "external/sources/boost/boost/units/systems/cgs/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/systems/cgs/energy.hpp", - "external/sources/boost/boost/units/systems/cgs/force.hpp", - "external/sources/boost/boost/units/systems/cgs/frequency.hpp", - "external/sources/boost/boost/units/systems/cgs/io.hpp", - "external/sources/boost/boost/units/systems/cgs/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/systems/cgs/length.hpp", - "external/sources/boost/boost/units/systems/cgs/mass.hpp", - "external/sources/boost/boost/units/systems/cgs/mass_density.hpp", - "external/sources/boost/boost/units/systems/cgs/momentum.hpp", - "external/sources/boost/boost/units/systems/cgs/power.hpp", - "external/sources/boost/boost/units/systems/cgs/pressure.hpp", - "external/sources/boost/boost/units/systems/cgs/time.hpp", - "external/sources/boost/boost/units/systems/cgs/velocity.hpp", - "external/sources/boost/boost/units/systems/cgs/volume.hpp", - "external/sources/boost/boost/units/systems/cgs/wavenumber.hpp", - "external/sources/boost/boost/units/systems/detail/constants.hpp", - "external/sources/boost/boost/units/systems/information.hpp", - "external/sources/boost/boost/units/systems/information/bit.hpp", - "external/sources/boost/boost/units/systems/information/byte.hpp", - "external/sources/boost/boost/units/systems/information/hartley.hpp", - "external/sources/boost/boost/units/systems/information/nat.hpp", - "external/sources/boost/boost/units/systems/information/prefixes.hpp", - "external/sources/boost/boost/units/systems/information/shannon.hpp", - "external/sources/boost/boost/units/systems/si.hpp", - "external/sources/boost/boost/units/systems/si/absorbed_dose.hpp", - "external/sources/boost/boost/units/systems/si/acceleration.hpp", - "external/sources/boost/boost/units/systems/si/action.hpp", - "external/sources/boost/boost/units/systems/si/activity.hpp", - "external/sources/boost/boost/units/systems/si/amount.hpp", - "external/sources/boost/boost/units/systems/si/angular_acceleration.hpp", - "external/sources/boost/boost/units/systems/si/angular_momentum.hpp", - "external/sources/boost/boost/units/systems/si/angular_velocity.hpp", - "external/sources/boost/boost/units/systems/si/area.hpp", - "external/sources/boost/boost/units/systems/si/base.hpp", - "external/sources/boost/boost/units/systems/si/capacitance.hpp", - "external/sources/boost/boost/units/systems/si/catalytic_activity.hpp", - "external/sources/boost/boost/units/systems/si/codata/alpha_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/atomic-nuclear_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/deuteron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/electromagnetic_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/electron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/helion_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/muon_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/neutron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/physico-chemical_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/proton_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/tau_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/triton_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/typedefs.hpp", - "external/sources/boost/boost/units/systems/si/codata/universal_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata_constants.hpp", - "external/sources/boost/boost/units/systems/si/conductance.hpp", - "external/sources/boost/boost/units/systems/si/conductivity.hpp", - "external/sources/boost/boost/units/systems/si/current.hpp", - "external/sources/boost/boost/units/systems/si/dimensionless.hpp", - "external/sources/boost/boost/units/systems/si/dose_equivalent.hpp", - "external/sources/boost/boost/units/systems/si/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/systems/si/electric_charge.hpp", - "external/sources/boost/boost/units/systems/si/electric_potential.hpp", - "external/sources/boost/boost/units/systems/si/energy.hpp", - "external/sources/boost/boost/units/systems/si/force.hpp", - "external/sources/boost/boost/units/systems/si/frequency.hpp", - "external/sources/boost/boost/units/systems/si/illuminance.hpp", - "external/sources/boost/boost/units/systems/si/impedance.hpp", - "external/sources/boost/boost/units/systems/si/inductance.hpp", - "external/sources/boost/boost/units/systems/si/io.hpp", - "external/sources/boost/boost/units/systems/si/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/systems/si/length.hpp", - "external/sources/boost/boost/units/systems/si/luminous_flux.hpp", - "external/sources/boost/boost/units/systems/si/luminous_intensity.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_field_intensity.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_flux.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_flux_density.hpp", - "external/sources/boost/boost/units/systems/si/mass.hpp", - "external/sources/boost/boost/units/systems/si/mass_density.hpp", - "external/sources/boost/boost/units/systems/si/moment_of_inertia.hpp", - "external/sources/boost/boost/units/systems/si/momentum.hpp", - "external/sources/boost/boost/units/systems/si/permeability.hpp", - "external/sources/boost/boost/units/systems/si/permittivity.hpp", - "external/sources/boost/boost/units/systems/si/plane_angle.hpp", - "external/sources/boost/boost/units/systems/si/power.hpp", - "external/sources/boost/boost/units/systems/si/prefixes.hpp", - "external/sources/boost/boost/units/systems/si/pressure.hpp", - "external/sources/boost/boost/units/systems/si/reluctance.hpp", - "external/sources/boost/boost/units/systems/si/resistance.hpp", - "external/sources/boost/boost/units/systems/si/resistivity.hpp", - "external/sources/boost/boost/units/systems/si/solid_angle.hpp", - "external/sources/boost/boost/units/systems/si/surface_density.hpp", - "external/sources/boost/boost/units/systems/si/surface_tension.hpp", - "external/sources/boost/boost/units/systems/si/temperature.hpp", - "external/sources/boost/boost/units/systems/si/time.hpp", - "external/sources/boost/boost/units/systems/si/torque.hpp", - "external/sources/boost/boost/units/systems/si/velocity.hpp", - "external/sources/boost/boost/units/systems/si/volume.hpp", - "external/sources/boost/boost/units/systems/si/wavenumber.hpp", - "external/sources/boost/boost/units/systems/temperature/celsius.hpp", - "external/sources/boost/boost/units/systems/temperature/fahrenheit.hpp", - "external/sources/boost/boost/units/unit.hpp", - "external/sources/boost/boost/units/units_fwd.hpp", - "external/sources/boost/boost/unordered/detail/fwd.hpp", - "external/sources/boost/boost/unordered/detail/implementation.hpp", - "external/sources/boost/boost/unordered/detail/map.hpp", - "external/sources/boost/boost/unordered/detail/set.hpp", - "external/sources/boost/boost/unordered/unordered_map.hpp", - "external/sources/boost/boost/unordered/unordered_map_fwd.hpp", - "external/sources/boost/boost/unordered/unordered_set.hpp", - "external/sources/boost/boost/unordered/unordered_set_fwd.hpp", - "external/sources/boost/boost/unordered_map.hpp", - "external/sources/boost/boost/unordered_set.hpp", - "external/sources/boost/boost/utility.hpp", - "external/sources/boost/boost/utility/addressof.hpp", - "external/sources/boost/boost/utility/base_from_member.hpp", - "external/sources/boost/boost/utility/binary.hpp", - "external/sources/boost/boost/utility/compare_pointees.hpp", - "external/sources/boost/boost/utility/declval.hpp", - "external/sources/boost/boost/utility/detail/in_place_factory_prefix.hpp", - "external/sources/boost/boost/utility/detail/in_place_factory_suffix.hpp", - "external/sources/boost/boost/utility/detail/minstd_rand.hpp", - "external/sources/boost/boost/utility/detail/result_of_iterate.hpp", - "external/sources/boost/boost/utility/enable_if.hpp", - "external/sources/boost/boost/utility/explicit_operator_bool.hpp", - "external/sources/boost/boost/utility/identity_type.hpp", - "external/sources/boost/boost/utility/in_place_factory.hpp", - "external/sources/boost/boost/utility/result_of.hpp", - "external/sources/boost/boost/utility/string_ref.hpp", - "external/sources/boost/boost/utility/string_ref_fwd.hpp", - "external/sources/boost/boost/utility/string_view.hpp", - "external/sources/boost/boost/utility/string_view_fwd.hpp", - "external/sources/boost/boost/utility/swap.hpp", - "external/sources/boost/boost/utility/typed_in_place_factory.hpp", - "external/sources/boost/boost/utility/value_init.hpp", - "external/sources/boost/boost/uuid/basic_name_generator.hpp", - "external/sources/boost/boost/uuid/detail/config.hpp", - "external/sources/boost/boost/uuid/detail/md5.hpp", - "external/sources/boost/boost/uuid/detail/random_provider.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_arc4random.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_bcrypt.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_detect_platform.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_getentropy.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_getrandom.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_include_platform.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_posix.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_wincrypt.ipp", - "external/sources/boost/boost/uuid/detail/sha1.hpp", - "external/sources/boost/boost/uuid/detail/uuid_generic.ipp", - "external/sources/boost/boost/uuid/detail/uuid_x86.ipp", - "external/sources/boost/boost/uuid/entropy_error.hpp", - "external/sources/boost/boost/uuid/name_generator.hpp", - "external/sources/boost/boost/uuid/name_generator_md5.hpp", - "external/sources/boost/boost/uuid/name_generator_sha1.hpp", - "external/sources/boost/boost/uuid/nil_generator.hpp", - "external/sources/boost/boost/uuid/random_generator.hpp", - "external/sources/boost/boost/uuid/string_generator.hpp", - "external/sources/boost/boost/uuid/uuid.hpp", - "external/sources/boost/boost/uuid/uuid_generators.hpp", - "external/sources/boost/boost/uuid/uuid_hash.hpp", - "external/sources/boost/boost/uuid/uuid_io.hpp", - "external/sources/boost/boost/uuid/uuid_serialize.hpp", - "external/sources/boost/boost/variant.hpp", - "external/sources/boost/boost/variant/apply_visitor.hpp", - "external/sources/boost/boost/variant/bad_visit.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_binary.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_delayed.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_unary.hpp", - "external/sources/boost/boost/variant/detail/backup_holder.hpp", - "external/sources/boost/boost/variant/detail/cast_storage.hpp", - "external/sources/boost/boost/variant/detail/config.hpp", - "external/sources/boost/boost/variant/detail/element_index.hpp", - "external/sources/boost/boost/variant/detail/enable_recursive.hpp", - "external/sources/boost/boost/variant/detail/enable_recursive_fwd.hpp", - "external/sources/boost/boost/variant/detail/forced_return.hpp", - "external/sources/boost/boost/variant/detail/has_result_type.hpp", - "external/sources/boost/boost/variant/detail/hash_variant.hpp", - "external/sources/boost/boost/variant/detail/initializer.hpp", - "external/sources/boost/boost/variant/detail/make_variant_list.hpp", - "external/sources/boost/boost/variant/detail/move.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_cpp11_based.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_cpp14_based.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_preprocessor_based.hpp", - "external/sources/boost/boost/variant/detail/over_sequence.hpp", - "external/sources/boost/boost/variant/detail/std_hash.hpp", - "external/sources/boost/boost/variant/detail/substitute.hpp", - "external/sources/boost/boost/variant/detail/substitute_fwd.hpp", - "external/sources/boost/boost/variant/detail/variant_io.hpp", - "external/sources/boost/boost/variant/detail/visitation_impl.hpp", - "external/sources/boost/boost/variant/get.hpp", - "external/sources/boost/boost/variant/multivisitors.hpp", - "external/sources/boost/boost/variant/polymorphic_get.hpp", - "external/sources/boost/boost/variant/recursive_variant.hpp", - "external/sources/boost/boost/variant/recursive_wrapper.hpp", - "external/sources/boost/boost/variant/recursive_wrapper_fwd.hpp", - "external/sources/boost/boost/variant/static_visitor.hpp", - "external/sources/boost/boost/variant/variant.hpp", - "external/sources/boost/boost/variant/variant_fwd.hpp", - "external/sources/boost/boost/variant/visitor_ptr.hpp", - "external/sources/boost/boost/variant2/variant.hpp", - "external/sources/boost/boost/version.hpp", - "external/sources/boost/boost/visit_each.hpp", - "external/sources/boost/boost/vmd/array.hpp", - "external/sources/boost/boost/vmd/array/to_seq.hpp", - "external/sources/boost/boost/vmd/array/to_tuple.hpp", - "external/sources/boost/boost/vmd/assert.hpp", - "external/sources/boost/boost/vmd/assert_is_array.hpp", - "external/sources/boost/boost/vmd/assert_is_empty.hpp", - "external/sources/boost/boost/vmd/assert_is_identifier.hpp", - "external/sources/boost/boost/vmd/assert_is_list.hpp", - "external/sources/boost/boost/vmd/assert_is_number.hpp", - "external/sources/boost/boost/vmd/assert_is_seq.hpp", - "external/sources/boost/boost/vmd/assert_is_tuple.hpp", - "external/sources/boost/boost/vmd/assert_is_type.hpp", - "external/sources/boost/boost/vmd/detail/adjust_tuple_type.hpp", - "external/sources/boost/boost/vmd/detail/array.hpp", - "external/sources/boost/boost/vmd/detail/assert.hpp", - "external/sources/boost/boost/vmd/detail/data_equal.hpp", - "external/sources/boost/boost/vmd/detail/data_equal_common.hpp", - "external/sources/boost/boost/vmd/detail/empty_result.hpp", - "external/sources/boost/boost/vmd/detail/equal.hpp", - "external/sources/boost/boost/vmd/detail/equal_common.hpp", - "external/sources/boost/boost/vmd/detail/equal_type.hpp", - "external/sources/boost/boost/vmd/detail/identifier.hpp", - "external/sources/boost/boost/vmd/detail/identifier_concat.hpp", - "external/sources/boost/boost/vmd/detail/identifier_type.hpp", - "external/sources/boost/boost/vmd/detail/idprefix.hpp", - "external/sources/boost/boost/vmd/detail/is_array.hpp", - "external/sources/boost/boost/vmd/detail/is_array_common.hpp", - "external/sources/boost/boost/vmd/detail/is_empty.hpp", - "external/sources/boost/boost/vmd/detail/is_empty_array.hpp", - "external/sources/boost/boost/vmd/detail/is_empty_tuple.hpp", - "external/sources/boost/boost/vmd/detail/is_entire.hpp", - "external/sources/boost/boost/vmd/detail/is_identifier.hpp", - "external/sources/boost/boost/vmd/detail/is_list.hpp", - "external/sources/boost/boost/vmd/detail/is_number.hpp", - "external/sources/boost/boost/vmd/detail/is_seq.hpp", - "external/sources/boost/boost/vmd/detail/is_tuple.hpp", - "external/sources/boost/boost/vmd/detail/is_type.hpp", - "external/sources/boost/boost/vmd/detail/is_type_type.hpp", - "external/sources/boost/boost/vmd/detail/list.hpp", - "external/sources/boost/boost/vmd/detail/match_identifier.hpp", - "external/sources/boost/boost/vmd/detail/match_identifier_common.hpp", - "external/sources/boost/boost/vmd/detail/match_single_identifier.hpp", - "external/sources/boost/boost/vmd/detail/modifiers.hpp", - "external/sources/boost/boost/vmd/detail/mods.hpp", - "external/sources/boost/boost/vmd/detail/nil_registration.hpp", - "external/sources/boost/boost/vmd/detail/not_empty.hpp", - "external/sources/boost/boost/vmd/detail/number_registration.hpp", - "external/sources/boost/boost/vmd/detail/only_after.hpp", - "external/sources/boost/boost/vmd/detail/parens.hpp", - "external/sources/boost/boost/vmd/detail/parens_common.hpp", - "external/sources/boost/boost/vmd/detail/parens_split.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_1.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_10.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_11.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_12.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_13.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_14.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_15.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_16.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_2.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_3.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_4.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_5.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_6.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_7.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_8.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_9.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_headers.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_specific.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_1.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_10.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_11.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_12.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_13.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_14.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_15.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_16.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_2.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_3.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_4.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_5.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_6.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_7.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_8.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_9.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_headers.hpp", - "external/sources/boost/boost/vmd/detail/seq.hpp", - "external/sources/boost/boost/vmd/detail/sequence_arity.hpp", - "external/sources/boost/boost/vmd/detail/sequence_common.hpp", - "external/sources/boost/boost/vmd/detail/sequence_elem.hpp", - "external/sources/boost/boost/vmd/detail/sequence_enum.hpp", - "external/sources/boost/boost/vmd/detail/sequence_size.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_array.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_list.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_seq.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_tuple.hpp", - "external/sources/boost/boost/vmd/detail/sequence_type.hpp", - "external/sources/boost/boost/vmd/detail/setup.hpp", - "external/sources/boost/boost/vmd/detail/tuple.hpp", - "external/sources/boost/boost/vmd/detail/type_registration.hpp", - "external/sources/boost/boost/vmd/detail/variadic_pop_front.hpp", - "external/sources/boost/boost/vmd/elem.hpp", - "external/sources/boost/boost/vmd/empty.hpp", - "external/sources/boost/boost/vmd/enum.hpp", - "external/sources/boost/boost/vmd/equal.hpp", - "external/sources/boost/boost/vmd/get_type.hpp", - "external/sources/boost/boost/vmd/identity.hpp", - "external/sources/boost/boost/vmd/is_array.hpp", - "external/sources/boost/boost/vmd/is_empty.hpp", - "external/sources/boost/boost/vmd/is_empty_array.hpp", - "external/sources/boost/boost/vmd/is_empty_list.hpp", - "external/sources/boost/boost/vmd/is_identifier.hpp", - "external/sources/boost/boost/vmd/is_list.hpp", - "external/sources/boost/boost/vmd/is_multi.hpp", - "external/sources/boost/boost/vmd/is_number.hpp", - "external/sources/boost/boost/vmd/is_parens_empty.hpp", - "external/sources/boost/boost/vmd/is_seq.hpp", - "external/sources/boost/boost/vmd/is_tuple.hpp", - "external/sources/boost/boost/vmd/is_type.hpp", - "external/sources/boost/boost/vmd/is_unary.hpp", - "external/sources/boost/boost/vmd/list.hpp", - "external/sources/boost/boost/vmd/list/to_seq.hpp", - "external/sources/boost/boost/vmd/list/to_tuple.hpp", - "external/sources/boost/boost/vmd/not_equal.hpp", - "external/sources/boost/boost/vmd/seq.hpp", - "external/sources/boost/boost/vmd/seq/is_vmd_seq.hpp", - "external/sources/boost/boost/vmd/seq/pop_back.hpp", - "external/sources/boost/boost/vmd/seq/pop_front.hpp", - "external/sources/boost/boost/vmd/seq/push_back.hpp", - "external/sources/boost/boost/vmd/seq/push_front.hpp", - "external/sources/boost/boost/vmd/seq/remove.hpp", - "external/sources/boost/boost/vmd/seq/size.hpp", - "external/sources/boost/boost/vmd/seq/to_array.hpp", - "external/sources/boost/boost/vmd/seq/to_list.hpp", - "external/sources/boost/boost/vmd/seq/to_tuple.hpp", - "external/sources/boost/boost/vmd/size.hpp", - "external/sources/boost/boost/vmd/to_array.hpp", - "external/sources/boost/boost/vmd/to_list.hpp", - "external/sources/boost/boost/vmd/to_seq.hpp", - "external/sources/boost/boost/vmd/to_tuple.hpp", - "external/sources/boost/boost/vmd/tuple.hpp", - "external/sources/boost/boost/vmd/tuple/is_vmd_tuple.hpp", - "external/sources/boost/boost/vmd/tuple/pop_back.hpp", - "external/sources/boost/boost/vmd/tuple/pop_front.hpp", - "external/sources/boost/boost/vmd/tuple/push_back.hpp", - "external/sources/boost/boost/vmd/tuple/push_front.hpp", - "external/sources/boost/boost/vmd/tuple/remove.hpp", - "external/sources/boost/boost/vmd/tuple/size.hpp", - "external/sources/boost/boost/vmd/tuple/to_array.hpp", - "external/sources/boost/boost/vmd/tuple/to_list.hpp", - "external/sources/boost/boost/vmd/tuple/to_seq.hpp", - "external/sources/boost/boost/vmd/vmd.hpp", - "external/sources/boost/boost/wave.hpp", - "external/sources/boost/boost/wave/cpp_context.hpp", - "external/sources/boost/boost/wave/cpp_exceptions.hpp", - "external/sources/boost/boost/wave/cpp_iteration_context.hpp", - "external/sources/boost/boost/wave/cpp_throw.hpp", - "external/sources/boost/boost/wave/cpplexer/convert_trigraphs.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface_generator.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_iterator.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_token.hpp", - "external/sources/boost/boost/wave/cpplexer/cpplexer_exceptions.hpp", - "external/sources/boost/boost/wave/cpplexer/detect_include_guards.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/aq.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp.re", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.inc", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/scanner.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp.re", - "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp_re.inc", - "external/sources/boost/boost/wave/cpplexer/token_cache.hpp", - "external/sources/boost/boost/wave/cpplexer/validate_universal_char.hpp", - "external/sources/boost/boost/wave/grammars/cpp_chlit_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_defined_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_defined_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_value.hpp", - "external/sources/boost/boost/wave/grammars/cpp_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_intlit_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_literal_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_predef_macros_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_predef_macros_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_value_error.hpp", - "external/sources/boost/boost/wave/language_support.hpp", - "external/sources/boost/boost/wave/preprocessing_hooks.hpp", - "external/sources/boost/boost/wave/token_ids.hpp", - "external/sources/boost/boost/wave/util/cpp_ifblock.hpp", - "external/sources/boost/boost/wave/util/cpp_include_paths.hpp", - "external/sources/boost/boost/wave/util/cpp_iterator.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap_predef.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap_utils.hpp", - "external/sources/boost/boost/wave/util/file_position.hpp", - "external/sources/boost/boost/wave/util/filesystem_compatibility.hpp", - "external/sources/boost/boost/wave/util/flex_string.hpp", - "external/sources/boost/boost/wave/util/functor_input.hpp", - "external/sources/boost/boost/wave/util/insert_whitespace_detection.hpp", - "external/sources/boost/boost/wave/util/interpret_pragma.hpp", - "external/sources/boost/boost/wave/util/iteration_context.hpp", - "external/sources/boost/boost/wave/util/macro_definition.hpp", - "external/sources/boost/boost/wave/util/macro_helpers.hpp", - "external/sources/boost/boost/wave/util/pattern_parser.hpp", - "external/sources/boost/boost/wave/util/symbol_table.hpp", - "external/sources/boost/boost/wave/util/time_conversion_helper.hpp", - "external/sources/boost/boost/wave/util/transform_iterator.hpp", - "external/sources/boost/boost/wave/util/unput_queue_iterator.hpp", - "external/sources/boost/boost/wave/wave_config.hpp", - "external/sources/boost/boost/wave/wave_config_constant.hpp", - "external/sources/boost/boost/wave/wave_version.hpp", - "external/sources/boost/boost/wave/whitespace_handling.hpp", - "external/sources/boost/boost/weak_ptr.hpp", - "external/sources/boost/boost/winapi/access_rights.hpp", - "external/sources/boost/boost/winapi/apc.hpp", - "external/sources/boost/boost/winapi/basic_types.hpp", - "external/sources/boost/boost/winapi/bcrypt.hpp", - "external/sources/boost/boost/winapi/character_code_conversion.hpp", - "external/sources/boost/boost/winapi/condition_variable.hpp", - "external/sources/boost/boost/winapi/config.hpp", - "external/sources/boost/boost/winapi/critical_section.hpp", - "external/sources/boost/boost/winapi/crypt.hpp", - "external/sources/boost/boost/winapi/dbghelp.hpp", - "external/sources/boost/boost/winapi/debugapi.hpp", - "external/sources/boost/boost/winapi/detail/cast_ptr.hpp", - "external/sources/boost/boost/winapi/detail/footer.hpp", - "external/sources/boost/boost/winapi/detail/header.hpp", - "external/sources/boost/boost/winapi/directory_management.hpp", - "external/sources/boost/boost/winapi/dll.hpp", - "external/sources/boost/boost/winapi/environment.hpp", - "external/sources/boost/boost/winapi/error_codes.hpp", - "external/sources/boost/boost/winapi/error_handling.hpp", - "external/sources/boost/boost/winapi/event.hpp", - "external/sources/boost/boost/winapi/file_management.hpp", - "external/sources/boost/boost/winapi/file_mapping.hpp", - "external/sources/boost/boost/winapi/get_current_process.hpp", - "external/sources/boost/boost/winapi/get_current_process_id.hpp", - "external/sources/boost/boost/winapi/get_current_thread.hpp", - "external/sources/boost/boost/winapi/get_current_thread_id.hpp", - "external/sources/boost/boost/winapi/get_last_error.hpp", - "external/sources/boost/boost/winapi/get_proc_address.hpp", - "external/sources/boost/boost/winapi/get_process_times.hpp", - "external/sources/boost/boost/winapi/get_system_directory.hpp", - "external/sources/boost/boost/winapi/get_thread_times.hpp", - "external/sources/boost/boost/winapi/handle_info.hpp", - "external/sources/boost/boost/winapi/handles.hpp", - "external/sources/boost/boost/winapi/heap_memory.hpp", - "external/sources/boost/boost/winapi/init_once.hpp", - "external/sources/boost/boost/winapi/jobs.hpp", - "external/sources/boost/boost/winapi/limits.hpp", - "external/sources/boost/boost/winapi/local_memory.hpp", - "external/sources/boost/boost/winapi/memory.hpp", - "external/sources/boost/boost/winapi/mutex.hpp", - "external/sources/boost/boost/winapi/overlapped.hpp", - "external/sources/boost/boost/winapi/page_protection_flags.hpp", - "external/sources/boost/boost/winapi/pipes.hpp", - "external/sources/boost/boost/winapi/priority_class.hpp", - "external/sources/boost/boost/winapi/process.hpp", - "external/sources/boost/boost/winapi/security.hpp", - "external/sources/boost/boost/winapi/semaphore.hpp", - "external/sources/boost/boost/winapi/shell.hpp", - "external/sources/boost/boost/winapi/show_window.hpp", - "external/sources/boost/boost/winapi/srw_lock.hpp", - "external/sources/boost/boost/winapi/stack_backtrace.hpp", - "external/sources/boost/boost/winapi/synchronization.hpp", - "external/sources/boost/boost/winapi/system.hpp", - "external/sources/boost/boost/winapi/thread.hpp", - "external/sources/boost/boost/winapi/thread_pool.hpp", - "external/sources/boost/boost/winapi/time.hpp", - "external/sources/boost/boost/winapi/timers.hpp", - "external/sources/boost/boost/winapi/tls.hpp", - "external/sources/boost/boost/winapi/wait.hpp", - "external/sources/boost/boost/winapi/wait_constants.hpp", - "external/sources/boost/boost/winapi/wait_on_address.hpp", - "external/sources/boost/boost/winapi/waitable_timer.hpp", - "external/sources/boost/boost/xpressive/basic_regex.hpp", - "external/sources/boost/boost/xpressive/detail/core/access.hpp", - "external/sources/boost/boost/xpressive/detail/core/action.hpp", - "external/sources/boost/boost/xpressive/detail/core/adaptor.hpp", - "external/sources/boost/boost/xpressive/detail/core/finder.hpp", - "external/sources/boost/boost/xpressive/detail/core/flow_control.hpp", - "external/sources/boost/boost/xpressive/detail/core/icase.hpp", - "external/sources/boost/boost/xpressive/detail/core/linker.hpp", - "external/sources/boost/boost/xpressive/detail/core/list.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/action_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/any_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bol_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bos_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eol_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eos_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_line_base.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_word_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/charset_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/epsilon_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/keeper_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/literal_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/logical_newline_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/lookahead_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/lookbehind_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/predicate_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/range_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/regex_byref_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/regex_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/set_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/string_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/true_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matchers.hpp", - "external/sources/boost/boost/xpressive/detail/core/optimize.hpp", - "external/sources/boost/boost/xpressive/detail/core/peeker.hpp", - "external/sources/boost/boost/xpressive/detail/core/quant_style.hpp", - "external/sources/boost/boost/xpressive/detail/core/regex_domain.hpp", - "external/sources/boost/boost/xpressive/detail/core/regex_impl.hpp", - "external/sources/boost/boost/xpressive/detail/core/results_cache.hpp", - "external/sources/boost/boost/xpressive/detail/core/state.hpp", - "external/sources/boost/boost/xpressive/detail/core/sub_match_impl.hpp", - "external/sources/boost/boost/xpressive/detail/core/sub_match_vector.hpp", - "external/sources/boost/boost/xpressive/detail/detail_fwd.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/dynamic.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/matchable.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parse_charset.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser_enum.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser_traits.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/sequence.hpp", - "external/sources/boost/boost/xpressive/detail/static/compile.hpp", - "external/sources/boost/boost/xpressive/detail/static/grammar.hpp", - "external/sources/boost/boost/xpressive/detail/static/is_pure.hpp", - "external/sources/boost/boost/xpressive/detail/static/modifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/placeholders.hpp", - "external/sources/boost/boost/xpressive/detail/static/static.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_action.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_alternate.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_independent.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_inverse.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_marker.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_modifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_quantifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_sequence.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_set.hpp", - "external/sources/boost/boost/xpressive/detail/static/transmogrify.hpp", - "external/sources/boost/boost/xpressive/detail/static/type_traits.hpp", - "external/sources/boost/boost/xpressive/detail/static/visitor.hpp", - "external/sources/boost/boost/xpressive/detail/static/width_of.hpp", - "external/sources/boost/boost/xpressive/detail/utility/algorithm.hpp", - "external/sources/boost/boost/xpressive/detail/utility/any.hpp", - "external/sources/boost/boost/xpressive/detail/utility/boyer_moore.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.ipp", - "external/sources/boost/boost/xpressive/detail/utility/chset/chset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.ipp", - "external/sources/boost/boost/xpressive/detail/utility/cons.hpp", - "external/sources/boost/boost/xpressive/detail/utility/counted_base.hpp", - "external/sources/boost/boost/xpressive/detail/utility/dont_care.hpp", - "external/sources/boost/boost/xpressive/detail/utility/hash_peek_bitset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/ignore_unused.hpp", - "external/sources/boost/boost/xpressive/detail/utility/literals.hpp", - "external/sources/boost/boost/xpressive/detail/utility/never_true.hpp", - "external/sources/boost/boost/xpressive/detail/utility/save_restore.hpp", - "external/sources/boost/boost/xpressive/detail/utility/sequence_stack.hpp", - "external/sources/boost/boost/xpressive/detail/utility/symbols.hpp", - "external/sources/boost/boost/xpressive/detail/utility/tracking_ptr.hpp", - "external/sources/boost/boost/xpressive/detail/utility/traits_utils.hpp", - "external/sources/boost/boost/xpressive/detail/utility/width.hpp", - "external/sources/boost/boost/xpressive/match_results.hpp", - "external/sources/boost/boost/xpressive/regex_actions.hpp", - "external/sources/boost/boost/xpressive/regex_algorithms.hpp", - "external/sources/boost/boost/xpressive/regex_compiler.hpp", - "external/sources/boost/boost/xpressive/regex_constants.hpp", - "external/sources/boost/boost/xpressive/regex_error.hpp", - "external/sources/boost/boost/xpressive/regex_iterator.hpp", - "external/sources/boost/boost/xpressive/regex_primitives.hpp", - "external/sources/boost/boost/xpressive/regex_token_iterator.hpp", - "external/sources/boost/boost/xpressive/regex_traits.hpp", - "external/sources/boost/boost/xpressive/sub_match.hpp", - "external/sources/boost/boost/xpressive/traits/c_regex_traits.hpp", - "external/sources/boost/boost/xpressive/traits/cpp_regex_traits.hpp", - "external/sources/boost/boost/xpressive/traits/detail/c_ctype.hpp", - "external/sources/boost/boost/xpressive/traits/null_regex_traits.hpp", - "external/sources/boost/boost/xpressive/xpressive.hpp", - "external/sources/boost/boost/xpressive/xpressive_dynamic.hpp", - "external/sources/boost/boost/xpressive/xpressive_fwd.hpp", - "external/sources/boost/boost/xpressive/xpressive_static.hpp", - "external/sources/boost/boost/xpressive/xpressive_typeof.hpp", - "external/sources/boost/boost/yap/algorithm.hpp", - "external/sources/boost/boost/yap/algorithm_fwd.hpp", - "external/sources/boost/boost/yap/config.hpp", - "external/sources/boost/boost/yap/detail/algorithm.hpp", - "external/sources/boost/boost/yap/detail/transform.hpp", - "external/sources/boost/boost/yap/expression.hpp", - "external/sources/boost/boost/yap/print.hpp", - "external/sources/boost/boost/yap/user_macros.hpp", - "external/sources/boost/boost/yap/yap.hpp", - "external/sources/concurrentqueue/blockingconcurrentqueue.h", - "external/sources/concurrentqueue/concurrentqueue.h", - "external/sources/concurrentqueue/lightweightsemaphore.h", - "external/sources/edtaa3func/CMakeLists.txt", - "external/sources/edtaa3func/edtaa3func.cpp", - "external/sources/edtaa3func/edtaa3func.h", - "external/sources/jemalloc/CMakeLists.txt", - "external/sources/jemalloc/ChangeLog", - "external/sources/jemalloc/include-linux/jemalloc/internal/arena.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/assert.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/atomic.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/base.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/bitmap.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/chunk.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/chunk_dss.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/chunk_mmap.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ckh.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ctl.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/extent.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/hash.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/huge.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_decls.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_defs.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_macros.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/mb.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/mutex.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/nstime.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/pages.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ph.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/private_namespace.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/private_symbols.txt", - "external/sources/jemalloc/include-linux/jemalloc/internal/private_unnamespace.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/prng.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/prof.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/public_namespace.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/public_symbols.txt", - "external/sources/jemalloc/include-linux/jemalloc/internal/public_unnamespace.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ql.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/qr.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/quarantine.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/rb.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/rtree.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/size_classes.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/smoothstep.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/spin.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/stats.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/tcache.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/ticker.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/tsd.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/util.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/valgrind.h", - "external/sources/jemalloc/include-linux/jemalloc/internal/witness.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_defs.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_macros.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_mangle.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_mangle_jet.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_protos.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_protos_jet.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_rename.h", - "external/sources/jemalloc/include-linux/jemalloc/jemalloc_typedefs.h", - "external/sources/jemalloc/include-win/jemalloc/internal/arena.h", - "external/sources/jemalloc/include-win/jemalloc/internal/assert.h", - "external/sources/jemalloc/include-win/jemalloc/internal/atomic.h", - "external/sources/jemalloc/include-win/jemalloc/internal/base.h", - "external/sources/jemalloc/include-win/jemalloc/internal/bitmap.h", - "external/sources/jemalloc/include-win/jemalloc/internal/chunk.h", - "external/sources/jemalloc/include-win/jemalloc/internal/chunk_dss.h", - "external/sources/jemalloc/include-win/jemalloc/internal/chunk_mmap.h", - "external/sources/jemalloc/include-win/jemalloc/internal/ckh.h", - "external/sources/jemalloc/include-win/jemalloc/internal/ctl.h", - "external/sources/jemalloc/include-win/jemalloc/internal/extent.h", - "external/sources/jemalloc/include-win/jemalloc/internal/hash.h", - "external/sources/jemalloc/include-win/jemalloc/internal/huge.h", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal.h", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal.h.in", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_decls.h", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_defs.h", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_defs.h.in", - "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_macros.h", - "external/sources/jemalloc/include-win/jemalloc/internal/mb.h", - "external/sources/jemalloc/include-win/jemalloc/internal/mutex.h", - "external/sources/jemalloc/include-win/jemalloc/internal/nstime.h", - "external/sources/jemalloc/include-win/jemalloc/internal/pages.h", - "external/sources/jemalloc/include-win/jemalloc/internal/ph.h", - "external/sources/jemalloc/include-win/jemalloc/internal/private_namespace.h", - "external/sources/jemalloc/include-win/jemalloc/internal/private_namespace.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/private_symbols.txt", - "external/sources/jemalloc/include-win/jemalloc/internal/private_unnamespace.h", - "external/sources/jemalloc/include-win/jemalloc/internal/private_unnamespace.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/prng.h", - "external/sources/jemalloc/include-win/jemalloc/internal/prof.h", - "external/sources/jemalloc/include-win/jemalloc/internal/public_namespace.h", - "external/sources/jemalloc/include-win/jemalloc/internal/public_namespace.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/public_symbols.txt", - "external/sources/jemalloc/include-win/jemalloc/internal/public_unnamespace.h", - "external/sources/jemalloc/include-win/jemalloc/internal/public_unnamespace.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/ql.h", - "external/sources/jemalloc/include-win/jemalloc/internal/qr.h", - "external/sources/jemalloc/include-win/jemalloc/internal/quarantine.h", - "external/sources/jemalloc/include-win/jemalloc/internal/rb.h", - "external/sources/jemalloc/include-win/jemalloc/internal/rtree.h", - "external/sources/jemalloc/include-win/jemalloc/internal/size_classes.h", - "external/sources/jemalloc/include-win/jemalloc/internal/size_classes.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/smoothstep.h", - "external/sources/jemalloc/include-win/jemalloc/internal/smoothstep.sh", - "external/sources/jemalloc/include-win/jemalloc/internal/spin.h", - "external/sources/jemalloc/include-win/jemalloc/internal/stats.h", - "external/sources/jemalloc/include-win/jemalloc/internal/tcache.h", - "external/sources/jemalloc/include-win/jemalloc/internal/ticker.h", - "external/sources/jemalloc/include-win/jemalloc/internal/tsd.h", - "external/sources/jemalloc/include-win/jemalloc/internal/util.h", - "external/sources/jemalloc/include-win/jemalloc/internal/valgrind.h", - "external/sources/jemalloc/include-win/jemalloc/internal/witness.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_defs.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_macros.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_mangle.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_mangle_jet.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_protos.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_protos_jet.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_rename.h", - "external/sources/jemalloc/include-win/jemalloc/jemalloc_typedefs.h", - "external/sources/jemalloc/include-win/msvc_compat/C99/stdbool.h", - "external/sources/jemalloc/include-win/msvc_compat/C99/stdint.h", - "external/sources/jemalloc/include-win/msvc_compat/strings.h", - "external/sources/jemalloc/include-win/msvc_compat/windows_extra.h", - "external/sources/jemalloc/src/je_arena.c", - "external/sources/jemalloc/src/je_atomic.c", - "external/sources/jemalloc/src/je_base.c", - "external/sources/jemalloc/src/je_bitmap.c", - "external/sources/jemalloc/src/je_chunk.c", - "external/sources/jemalloc/src/je_chunk_dss.c", - "external/sources/jemalloc/src/je_chunk_mmap.c", - "external/sources/jemalloc/src/je_ckh.c", - "external/sources/jemalloc/src/je_ctl.c", - "external/sources/jemalloc/src/je_extent.c", - "external/sources/jemalloc/src/je_hash.c", - "external/sources/jemalloc/src/je_huge.c", - "external/sources/jemalloc/src/je_jemalloc.c", - "external/sources/jemalloc/src/je_mb.c", - "external/sources/jemalloc/src/je_mutex.c", - "external/sources/jemalloc/src/je_nstime.c", - "external/sources/jemalloc/src/je_pages.c", - "external/sources/jemalloc/src/je_prng.c", - "external/sources/jemalloc/src/je_prof.c", - "external/sources/jemalloc/src/je_quarantine.c", - "external/sources/jemalloc/src/je_rtree.c", - "external/sources/jemalloc/src/je_spin.c", - "external/sources/jemalloc/src/je_stats.c", - "external/sources/jemalloc/src/je_tcache.c", - "external/sources/jemalloc/src/je_ticker.c", - "external/sources/jemalloc/src/je_tsd.c", - "external/sources/jemalloc/src/je_util.c", - "external/sources/jemalloc/src/je_valgrind.c", - "external/sources/jemalloc/src/je_witness.c", - "external/sources/jemalloc/src/je_zone.c", - "external/sources/json/allocators.h", - "external/sources/json/document-wrapper.h", - "external/sources/json/document.h", - "external/sources/json/encodedstream.h", - "external/sources/json/encodings.h", - "external/sources/json/error/en.h", - "external/sources/json/error/error.h", - "external/sources/json/filereadstream.h", - "external/sources/json/filestream.h", - "external/sources/json/filewritestream.h", - "external/sources/json/fwd.h", - "external/sources/json/internal/biginteger.h", - "external/sources/json/internal/diyfp.h", - "external/sources/json/internal/dtoa.h", - "external/sources/json/internal/ieee754.h", - "external/sources/json/internal/itoa.h", - "external/sources/json/internal/meta.h", - "external/sources/json/internal/pow10.h", - "external/sources/json/internal/regex.h", - "external/sources/json/internal/stack.h", - "external/sources/json/internal/strfunc.h", - "external/sources/json/internal/strtod.h", - "external/sources/json/internal/swap.h", - "external/sources/json/istreamwrapper.h", - "external/sources/json/memorybuffer.h", - "external/sources/json/memorystream.h", - "external/sources/json/msinttypes/inttypes.h", - "external/sources/json/msinttypes/stdint.h", - "external/sources/json/ostreamwrapper.h", - "external/sources/json/pointer.h", - "external/sources/json/prettywriter.h", - "external/sources/json/rapidjson.h", - "external/sources/json/reader.h", - "external/sources/json/schema.h", - "external/sources/json/stream.h", - "external/sources/json/stringbuffer.h", - "external/sources/json/writer.h", - "external/sources/khronos/EGL/egl.h", - "external/sources/khronos/EGL/eglext.h", - "external/sources/khronos/EGL/eglplatform.h", - "external/sources/khronos/GLES/egl.h", - "external/sources/khronos/GLES/gl.h", - "external/sources/khronos/GLES/glext.h", - "external/sources/khronos/GLES/glplatform.h", - "external/sources/khronos/GLES2/gl2.h", - "external/sources/khronos/GLES2/gl2ext.h", - "external/sources/khronos/GLES2/gl2platform.h", - "external/sources/khronos/GLES3/gl3.h", - "external/sources/khronos/GLES3/gl31.h", - "external/sources/khronos/GLES3/gl32.h", - "external/sources/khronos/GLES3/gl3ext.h", - "external/sources/khronos/GLES3/gl3platform.h", - "external/sources/khronos/KHR/khrplatform.h", - "external/sources/khronos/vulkan/vk_icd.h", - "external/sources/khronos/vulkan/vk_layer.h", - "external/sources/khronos/vulkan/vk_platform.h", - "external/sources/khronos/vulkan/vk_sdk_platform.h", - "external/sources/khronos/vulkan/vulkan.h", - "external/sources/khronos/vulkan/vulkan_android.h", - "external/sources/khronos/vulkan/vulkan_beta.h", - "external/sources/khronos/vulkan/vulkan_core.h", - "external/sources/khronos/vulkan/vulkan_directfb.h", - "external/sources/khronos/vulkan/vulkan_fuchsia.h", - "external/sources/khronos/vulkan/vulkan_ggp.h", - "external/sources/khronos/vulkan/vulkan_ios.h", - "external/sources/khronos/vulkan/vulkan_macos.h", - "external/sources/khronos/vulkan/vulkan_metal.h", - "external/sources/khronos/vulkan/vulkan_vi.h", - "external/sources/khronos/vulkan/vulkan_wayland.h", - "external/sources/khronos/vulkan/vulkan_win32.h", - "external/sources/khronos/vulkan/vulkan_xcb.h", - "external/sources/khronos/vulkan/vulkan_xlib.h", - "external/sources/khronos/vulkan/vulkan_xlib_xrandr.h", - "external/sources/nedmalloc/malloc.c.h", - "external/sources/nedmalloc/nedmalloc.c", - "external/sources/nedmalloc/nedmalloc.h", - "external/sources/pvmp3dec/CMakeLists.txt", - "external/sources/pvmp3dec/include/mp3_decoder_selection.h", - "external/sources/pvmp3dec/include/pvmp3_audio_type_defs.h", - "external/sources/pvmp3dec/include/pvmp3decoder_api.h", - "external/sources/pvmp3dec/src/asm/pvmp3_dct_16_gcc.s", - "external/sources/pvmp3dec/src/asm/pvmp3_dct_9_gcc.s", - "external/sources/pvmp3dec/src/asm/pvmp3_mdct_18_gcc.s", - "external/sources/pvmp3dec/src/asm/pvmp3_polyphase_filter_window_gcc.s", - "external/sources/pvmp3dec/src/mp3_mem_funcs.h", - "external/sources/pvmp3dec/src/pv_mp3_huffman.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_arm.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_arm_gcc.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_c_equivalent.h", - "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_msc_evc.h", - "external/sources/pvmp3dec/src/pvmp3_alias_reduction.cpp", - "external/sources/pvmp3dec/src/pvmp3_alias_reduction.h", - "external/sources/pvmp3dec/src/pvmp3_crc.cpp", - "external/sources/pvmp3dec/src/pvmp3_crc.h", - "external/sources/pvmp3dec/src/pvmp3_dct_16.cpp", - "external/sources/pvmp3dec/src/pvmp3_dct_16.h", - "external/sources/pvmp3dec/src/pvmp3_dct_6.cpp", - "external/sources/pvmp3dec/src/pvmp3_dct_9.cpp", - "external/sources/pvmp3dec/src/pvmp3_dec_defs.h", - "external/sources/pvmp3dec/src/pvmp3_decode_header.cpp", - "external/sources/pvmp3dec/src/pvmp3_decode_header.h", - "external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.cpp", - "external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.h", - "external/sources/pvmp3dec/src/pvmp3_dequantize_sample.cpp", - "external/sources/pvmp3dec/src/pvmp3_dequantize_sample.h", - "external/sources/pvmp3dec/src/pvmp3_equalizer.cpp", - "external/sources/pvmp3dec/src/pvmp3_equalizer.h", - "external/sources/pvmp3dec/src/pvmp3_framedecoder.cpp", - "external/sources/pvmp3dec/src/pvmp3_framedecoder.h", - "external/sources/pvmp3dec/src/pvmp3_get_main_data_size.cpp", - "external/sources/pvmp3dec/src/pvmp3_get_main_data_size.h", - "external/sources/pvmp3dec/src/pvmp3_get_scale_factors.cpp", - "external/sources/pvmp3dec/src/pvmp3_get_scale_factors.h", - "external/sources/pvmp3dec/src/pvmp3_get_side_info.cpp", - "external/sources/pvmp3dec/src/pvmp3_get_side_info.h", - "external/sources/pvmp3dec/src/pvmp3_getbits.cpp", - "external/sources/pvmp3dec/src/pvmp3_getbits.h", - "external/sources/pvmp3dec/src/pvmp3_huffman_decoding.cpp", - "external/sources/pvmp3dec/src/pvmp3_huffman_parsing.cpp", - "external/sources/pvmp3dec/src/pvmp3_imdct_synth.cpp", - "external/sources/pvmp3dec/src/pvmp3_imdct_synth.h", - "external/sources/pvmp3dec/src/pvmp3_mdct_18.cpp", - "external/sources/pvmp3dec/src/pvmp3_mdct_18.h", - "external/sources/pvmp3dec/src/pvmp3_mdct_6.cpp", - "external/sources/pvmp3dec/src/pvmp3_mdct_6.h", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.cpp", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.h", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.cpp", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.h", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.cpp", - "external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.h", - "external/sources/pvmp3dec/src/pvmp3_normalize.cpp", - "external/sources/pvmp3dec/src/pvmp3_normalize.h", - "external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.cpp", - "external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.h", - "external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.cpp", - "external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.h", - "external/sources/pvmp3dec/src/pvmp3_reorder.cpp", - "external/sources/pvmp3dec/src/pvmp3_reorder.h", - "external/sources/pvmp3dec/src/pvmp3_seek_synch.cpp", - "external/sources/pvmp3dec/src/pvmp3_seek_synch.h", - "external/sources/pvmp3dec/src/pvmp3_stereo_proc.cpp", - "external/sources/pvmp3dec/src/pvmp3_stereo_proc.h", - "external/sources/pvmp3dec/src/pvmp3_tables.cpp", - "external/sources/pvmp3dec/src/pvmp3_tables.h", - "external/sources/pvmp3dec/src/s_huffcodetab.h", - "external/sources/pvmp3dec/src/s_mp3bits.h", - "external/sources/pvmp3dec/src/s_tmp3dec_chan.h", - "external/sources/pvmp3dec/src/s_tmp3dec_file.h", - "external/sources/rtm/constants.h", - "external/sources/rtm/impl/compiler_utils.h", - "external/sources/rtm/impl/error.h", - "external/sources/rtm/impl/mask_common.h", - "external/sources/rtm/impl/matrix_affine_common.h", - "external/sources/rtm/impl/matrix_cast.h", - "external/sources/rtm/impl/matrix_common.h", - "external/sources/rtm/impl/memory_utils.h", - "external/sources/rtm/impl/quat_common.h", - "external/sources/rtm/impl/qvv_common.h", - "external/sources/rtm/impl/scalar_common.h", - "external/sources/rtm/impl/type_args.h", - "external/sources/rtm/impl/vector_common.h", - "external/sources/rtm/macros.h", - "external/sources/rtm/mask4d.h", - "external/sources/rtm/mask4f.h", - "external/sources/rtm/mask4i.h", - "external/sources/rtm/mask4q.h", - "external/sources/rtm/math.h", - "external/sources/rtm/matrix3x3d.h", - "external/sources/rtm/matrix3x3f.h", - "external/sources/rtm/matrix3x4d.h", - "external/sources/rtm/matrix3x4f.h", - "external/sources/rtm/matrix4x4d.h", - "external/sources/rtm/matrix4x4f.h", - "external/sources/rtm/packing/quatd.h", - "external/sources/rtm/packing/quatf.h", - "external/sources/rtm/quatd.h", - "external/sources/rtm/quatf.h", - "external/sources/rtm/qvvd.h", - "external/sources/rtm/qvvf.h", - "external/sources/rtm/scalard.h", - "external/sources/rtm/scalarf.h", - "external/sources/rtm/type_traits.h", - "external/sources/rtm/types.h", - "external/sources/rtm/vector4d.h", - "external/sources/rtm/vector4f.h", - "external/sources/taskflow/core/algorithm/critical.hpp", - "external/sources/taskflow/core/algorithm/for_each.hpp", - "external/sources/taskflow/core/algorithm/reduce.hpp", - "external/sources/taskflow/core/algorithm/sort.hpp", - "external/sources/taskflow/core/declarations.hpp", - "external/sources/taskflow/core/error.hpp", - "external/sources/taskflow/core/executor.hpp", - "external/sources/taskflow/core/flow_builder.hpp", - "external/sources/taskflow/core/graph.hpp", - "external/sources/taskflow/core/notifier.hpp", - "external/sources/taskflow/core/observer.hpp", - "external/sources/taskflow/core/semaphore.hpp", - "external/sources/taskflow/core/task.hpp", - "external/sources/taskflow/core/taskflow.hpp", - "external/sources/taskflow/core/topology.hpp", - "external/sources/taskflow/core/tsq.hpp", - "external/sources/taskflow/core/worker.hpp", - "external/sources/taskflow/cublasflow.hpp", - "external/sources/taskflow/cuda/cublas/cublas_error.hpp", - "external/sources/taskflow/cuda/cublas/cublas_flow.hpp", - "external/sources/taskflow/cuda/cublas/cublas_handle.hpp", - "external/sources/taskflow/cuda/cublas/cublas_helper.hpp", - "external/sources/taskflow/cuda/cublas/cublas_level1.hpp", - "external/sources/taskflow/cuda/cublas/cublas_level2.hpp", - "external/sources/taskflow/cuda/cublas/cublas_level3.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_blaf.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_for_each.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_matmul.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_reduce.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_transform.hpp", - "external/sources/taskflow/cuda/cuda_algorithm/cuda_transpose.hpp", - "external/sources/taskflow/cuda/cuda_capturer.hpp", - "external/sources/taskflow/cuda/cuda_device.hpp", - "external/sources/taskflow/cuda/cuda_error.hpp", - "external/sources/taskflow/cuda/cuda_flow.hpp", - "external/sources/taskflow/cuda/cuda_graph.hpp", - "external/sources/taskflow/cuda/cuda_memory.hpp", - "external/sources/taskflow/cuda/cuda_pool.hpp", - "external/sources/taskflow/cuda/cuda_stream.hpp", - "external/sources/taskflow/cuda/cuda_task.hpp", - "external/sources/taskflow/cudaflow.hpp", - "external/sources/taskflow/dsl/connection.hpp", - "external/sources/taskflow/dsl/dsl.hpp", - "external/sources/taskflow/dsl/meta_macro.hpp", - "external/sources/taskflow/dsl/task_analyzer.hpp", - "external/sources/taskflow/dsl/task_dsl.hpp", - "external/sources/taskflow/dsl/task_trait.hpp", - "external/sources/taskflow/dsl/tuple_utils.hpp", - "external/sources/taskflow/dsl/type_list.hpp", - "external/sources/taskflow/taskflow.hpp", - "external/sources/taskflow/tensorframe/tensor.hpp", - "external/sources/taskflow/tensorframe/tensor_expr.hpp", - "external/sources/taskflow/tensorframe/tensor_graph.hpp", - "external/sources/taskflow/tensorframe/tensor_ops.hpp", - "external/sources/taskflow/tensorframe/tensorframe.hpp", - "external/sources/taskflow/utility/iterator.hpp", - "external/sources/taskflow/utility/math.hpp", - "external/sources/taskflow/utility/object_pool.hpp", - "external/sources/taskflow/utility/os.hpp", - "external/sources/taskflow/utility/passive_vector.hpp", - "external/sources/taskflow/utility/singleton.hpp", - "external/sources/taskflow/utility/stream.hpp", - "external/sources/taskflow/utility/traits.hpp", - "external/sources/taskflow/utility/uuid.hpp", - "external/sources/tbb/aggregator.h", - "external/sources/tbb/aligned_space.h", - "external/sources/tbb/atomic.h", - "external/sources/tbb/blocked_range.h", - "external/sources/tbb/blocked_range2d.h", - "external/sources/tbb/blocked_range3d.h", - "external/sources/tbb/blocked_rangeNd.h", - "external/sources/tbb/cache_aligned_allocator.h", - "external/sources/tbb/combinable.h", - "external/sources/tbb/compat/condition_variable", - "external/sources/tbb/compat/ppl.h", - "external/sources/tbb/compat/thread", - "external/sources/tbb/compat/tuple", - "external/sources/tbb/concurrent_hash_map.h", - "external/sources/tbb/concurrent_lru_cache.h", - "external/sources/tbb/concurrent_map.h", - "external/sources/tbb/concurrent_priority_queue.h", - "external/sources/tbb/concurrent_queue.h", - "external/sources/tbb/concurrent_set.h", - "external/sources/tbb/concurrent_unordered_map.h", - "external/sources/tbb/concurrent_unordered_set.h", - "external/sources/tbb/concurrent_vector.h", - "external/sources/tbb/critical_section.h", - "external/sources/tbb/enumerable_thread_specific.h", - "external/sources/tbb/flow_graph.h", - "external/sources/tbb/flow_graph_abstractions.h", - "external/sources/tbb/flow_graph_opencl_node.h", - "external/sources/tbb/global_control.h", - "external/sources/tbb/index.html", - "external/sources/tbb/info.h", - "external/sources/tbb/internal/_aggregator_impl.h", - "external/sources/tbb/internal/_allocator_traits.h", - "external/sources/tbb/internal/_concurrent_queue_impl.h", - "external/sources/tbb/internal/_concurrent_skip_list_impl.h", - "external/sources/tbb/internal/_concurrent_unordered_impl.h", - "external/sources/tbb/internal/_deprecated_header_message_guard.h", - "external/sources/tbb/internal/_flow_graph_async_msg_impl.h", - "external/sources/tbb/internal/_flow_graph_body_impl.h", - "external/sources/tbb/internal/_flow_graph_cache_impl.h", - "external/sources/tbb/internal/_flow_graph_impl.h", - "external/sources/tbb/internal/_flow_graph_indexer_impl.h", - "external/sources/tbb/internal/_flow_graph_item_buffer_impl.h", - "external/sources/tbb/internal/_flow_graph_join_impl.h", - "external/sources/tbb/internal/_flow_graph_node_impl.h", - "external/sources/tbb/internal/_flow_graph_node_set_impl.h", - "external/sources/tbb/internal/_flow_graph_nodes_deduction.h", - "external/sources/tbb/internal/_flow_graph_streaming_node.h", - "external/sources/tbb/internal/_flow_graph_tagged_buffer_impl.h", - "external/sources/tbb/internal/_flow_graph_trace_impl.h", - "external/sources/tbb/internal/_flow_graph_types_impl.h", - "external/sources/tbb/internal/_mutex_padding.h", - "external/sources/tbb/internal/_node_handle_impl.h", - "external/sources/tbb/internal/_range_iterator.h", - "external/sources/tbb/internal/_tbb_hash_compare_impl.h", - "external/sources/tbb/internal/_tbb_strings.h", - "external/sources/tbb/internal/_tbb_trace_impl.h", - "external/sources/tbb/internal/_tbb_windef.h", - "external/sources/tbb/internal/_template_helpers.h", - "external/sources/tbb/internal/_warning_suppress_disable_notice.h", - "external/sources/tbb/internal/_warning_suppress_enable_notice.h", - "external/sources/tbb/internal/_x86_eliding_mutex_impl.h", - "external/sources/tbb/internal/_x86_rtm_rw_mutex_impl.h", - "external/sources/tbb/iterators.h", - "external/sources/tbb/machine/gcc_arm.h", - "external/sources/tbb/machine/gcc_generic.h", - "external/sources/tbb/machine/gcc_ia32_common.h", - "external/sources/tbb/machine/gcc_itsx.h", - "external/sources/tbb/machine/ibm_aix51.h", - "external/sources/tbb/machine/icc_generic.h", - "external/sources/tbb/machine/linux_common.h", - "external/sources/tbb/machine/linux_ia32.h", - "external/sources/tbb/machine/linux_ia64.h", - "external/sources/tbb/machine/linux_intel64.h", - "external/sources/tbb/machine/mac_ppc.h", - "external/sources/tbb/machine/macos_common.h", - "external/sources/tbb/machine/mic_common.h", - "external/sources/tbb/machine/msvc_armv7.h", - "external/sources/tbb/machine/msvc_ia32_common.h", - "external/sources/tbb/machine/sunos_sparc.h", - "external/sources/tbb/machine/windows_api.h", - "external/sources/tbb/machine/windows_ia32.h", - "external/sources/tbb/machine/windows_intel64.h", - "external/sources/tbb/memory_pool.h", - "external/sources/tbb/mutex.h", - "external/sources/tbb/null_mutex.h", - "external/sources/tbb/null_rw_mutex.h", - "external/sources/tbb/parallel_do.h", - "external/sources/tbb/parallel_for.h", - "external/sources/tbb/parallel_for_each.h", - "external/sources/tbb/parallel_invoke.h", - "external/sources/tbb/parallel_reduce.h", - "external/sources/tbb/parallel_scan.h", - "external/sources/tbb/parallel_sort.h", - "external/sources/tbb/parallel_while.h", - "external/sources/tbb/partitioner.h", - "external/sources/tbb/pipeline.h", - "external/sources/tbb/queuing_mutex.h", - "external/sources/tbb/queuing_rw_mutex.h", - "external/sources/tbb/reader_writer_lock.h", - "external/sources/tbb/recursive_mutex.h", - "external/sources/tbb/runtime_loader.h", - "external/sources/tbb/scalable_allocator.h", - "external/sources/tbb/spin_mutex.h", - "external/sources/tbb/spin_rw_mutex.h", - "external/sources/tbb/task.h", - "external/sources/tbb/task_arena.h", - "external/sources/tbb/task_group.h", - "external/sources/tbb/task_scheduler_init.h", - "external/sources/tbb/task_scheduler_observer.h", - "external/sources/tbb/tbb.h", - "external/sources/tbb/tbb_allocator.h", - "external/sources/tbb/tbb_config.h", - "external/sources/tbb/tbb_disable_exceptions.h", - "external/sources/tbb/tbb_exception.h", - "external/sources/tbb/tbb_machine.h", - "external/sources/tbb/tbb_profiling.h", - "external/sources/tbb/tbb_stddef.h", - "external/sources/tbb/tbb_thread.h", - "external/sources/tbb/tbbmalloc_proxy.h", - "external/sources/tbb/tick_count.h", - "external/sources/tinydir/COPYING", - "external/sources/tinydir/package.json", - "external/sources/tinydir/tinydir.h", - "external/sources/tinyxml2/tinyxml2.cpp", - "external/sources/tinyxml2/tinyxml2.h", - "external/sources/tommyds/CMakeLists.txt", - "external/sources/tommyds/tommy.c", - "external/sources/tommyds/tommy.h", - "external/sources/tommyds/tommyalloc.c", - "external/sources/tommyds/tommyalloc.h", - "external/sources/tommyds/tommyarray.c", - "external/sources/tommyds/tommyarray.h", - "external/sources/tommyds/tommyarrayblk.c", - "external/sources/tommyds/tommyarrayblk.h", - "external/sources/tommyds/tommyarrayblkof.c", - "external/sources/tommyds/tommyarrayblkof.h", - "external/sources/tommyds/tommyarrayof.c", - "external/sources/tommyds/tommyarrayof.h", - "external/sources/tommyds/tommychain.h", - "external/sources/tommyds/tommyhash.c", - "external/sources/tommyds/tommyhash.h", - "external/sources/tommyds/tommyhashdyn.c", - "external/sources/tommyds/tommyhashdyn.h", - "external/sources/tommyds/tommyhashlin.c", - "external/sources/tommyds/tommyhashlin.h", - "external/sources/tommyds/tommyhashtbl.c", - "external/sources/tommyds/tommyhashtbl.h", - "external/sources/tommyds/tommylist.c", - "external/sources/tommyds/tommylist.h", - "external/sources/tommyds/tommytree.c", - "external/sources/tommyds/tommytree.h", - "external/sources/tommyds/tommytrie.c", - "external/sources/tommyds/tommytrie.h", - "external/sources/tommyds/tommytrieinp.c", - "external/sources/tommyds/tommytrieinp.h", - "external/sources/tommyds/tommytypes.h", - "external/sources/tremolo/CMakeLists.txt", - "external/sources/tremolo/MODULE_LICENSE_BSD_LIKE", - "external/sources/tremolo/NOTICE", - "external/sources/tremolo/README.version", - "external/sources/tremolo/Tremolo/CHANGELOG", - "external/sources/tremolo/Tremolo/COPYING", - "external/sources/tremolo/Tremolo/Makefile", - "external/sources/tremolo/Tremolo/Profile.txt", - "external/sources/tremolo/Tremolo/README", - "external/sources/tremolo/Tremolo/TODO", - "external/sources/tremolo/Tremolo/annotate.c", - "external/sources/tremolo/Tremolo/asm_arm.h", - "external/sources/tremolo/Tremolo/bibble.txt", - "external/sources/tremolo/Tremolo/bitwise.c", - "external/sources/tremolo/Tremolo/bitwiseARM.s", - "external/sources/tremolo/Tremolo/codebook.c", - "external/sources/tremolo/Tremolo/codebook.h", - "external/sources/tremolo/Tremolo/codec_internal.h", - "external/sources/tremolo/Tremolo/config_types.h", - "external/sources/tremolo/Tremolo/dpen.s", - "external/sources/tremolo/Tremolo/dsp.c", - "external/sources/tremolo/Tremolo/floor0.c", - "external/sources/tremolo/Tremolo/floor1.c", - "external/sources/tremolo/Tremolo/floor1ARM.s", - "external/sources/tremolo/Tremolo/floor1LARM.s", - "external/sources/tremolo/Tremolo/floor_lookup.c", - "external/sources/tremolo/Tremolo/framing.c", - "external/sources/tremolo/Tremolo/info.c", - "external/sources/tremolo/Tremolo/ivorbiscodec.h", - "external/sources/tremolo/Tremolo/ivorbisfile.h", - "external/sources/tremolo/Tremolo/ivorbisfile_example.c", - "external/sources/tremolo/Tremolo/lsp_lookup.h", - "external/sources/tremolo/Tremolo/mapping0.c", - "external/sources/tremolo/Tremolo/mdct.c", - "external/sources/tremolo/Tremolo/mdct.h", - "external/sources/tremolo/Tremolo/mdctARM.s", - "external/sources/tremolo/Tremolo/mdctLARM.s", - "external/sources/tremolo/Tremolo/mdct_lookup.h", - "external/sources/tremolo/Tremolo/misc.c", - "external/sources/tremolo/Tremolo/misc.h", - "external/sources/tremolo/Tremolo/ogg.h", - "external/sources/tremolo/Tremolo/os.h", - "external/sources/tremolo/Tremolo/os_types.h", - "external/sources/tremolo/Tremolo/profile.c", - "external/sources/tremolo/Tremolo/res012.c", - "external/sources/tremolo/Tremolo/speed.s", - "external/sources/tremolo/Tremolo/testtremor.c", - "external/sources/tremolo/Tremolo/vorbisfile.c", - "external/sources/tremolo/Tremolo/window_lookup.h", - "external/sources/tremolo/local_modification.diff", - "external/sources/unzip/crypt.h", - "external/sources/unzip/ioapi.cpp", - "external/sources/unzip/ioapi.h", - "external/sources/unzip/ioapi_mem.cpp", - "external/sources/unzip/ioapi_mem.h", - "external/sources/unzip/unzip.cpp", - "external/sources/unzip/unzip.h", - "external/sources/xxhash/CMakeLists.txt", - "external/sources/xxhash/xxhash.c", - "external/sources/xxhash/xxhash.h", - "external/sources/xxtea/xxtea.cpp", - "external/sources/xxtea/xxtea.h", - "external/versions.txt", - "external/win32/CMakeLists.txt", - "external/win32/include/OpenalSoft/al.h", - "external/win32/include/OpenalSoft/alc.h", - "external/win32/include/OpenalSoft/alext.h", - "external/win32/include/OpenalSoft/efx-creative.h", - "external/win32/include/OpenalSoft/efx-presets.h", - "external/win32/include/OpenalSoft/efx.h", - "external/win32/include/curl/curl.h", - "external/win32/include/curl/curlbuild.h", - "external/win32/include/curl/curlrules.h", - "external/win32/include/curl/curlver.h", - "external/win32/include/curl/easy.h", - "external/win32/include/curl/mprintf.h", - "external/win32/include/curl/multi.h", - "external/win32/include/curl/stdcheaders.h", - "external/win32/include/curl/typecheck-gcc.h", - "external/win32/include/freetype/config/ftconfig.h", - "external/win32/include/freetype/config/ftheader.h", - "external/win32/include/freetype/config/ftmodule.h", - "external/win32/include/freetype/config/ftoption.h", - "external/win32/include/freetype/config/ftstdlib.h", - "external/win32/include/freetype/freetype.h", - "external/win32/include/freetype/ft2build.h", - "external/win32/include/freetype/ftadvanc.h", - "external/win32/include/freetype/ftautoh.h", - "external/win32/include/freetype/ftbbox.h", - "external/win32/include/freetype/ftbdf.h", - "external/win32/include/freetype/ftbitmap.h", - "external/win32/include/freetype/ftbzip2.h", - "external/win32/include/freetype/ftcache.h", - "external/win32/include/freetype/ftcffdrv.h", - "external/win32/include/freetype/ftchapters.h", - "external/win32/include/freetype/ftcid.h", - "external/win32/include/freetype/fterrdef.h", - "external/win32/include/freetype/fterrors.h", - "external/win32/include/freetype/ftfntfmt.h", - "external/win32/include/freetype/ftgasp.h", - "external/win32/include/freetype/ftglyph.h", - "external/win32/include/freetype/ftgxval.h", - "external/win32/include/freetype/ftgzip.h", - "external/win32/include/freetype/ftimage.h", - "external/win32/include/freetype/ftincrem.h", - "external/win32/include/freetype/ftlcdfil.h", - "external/win32/include/freetype/ftlist.h", - "external/win32/include/freetype/ftlzw.h", - "external/win32/include/freetype/ftmac.h", - "external/win32/include/freetype/ftmm.h", - "external/win32/include/freetype/ftmodapi.h", - "external/win32/include/freetype/ftmoderr.h", - "external/win32/include/freetype/ftotval.h", - "external/win32/include/freetype/ftoutln.h", - "external/win32/include/freetype/ftpfr.h", - "external/win32/include/freetype/ftrender.h", - "external/win32/include/freetype/ftsizes.h", - "external/win32/include/freetype/ftsnames.h", - "external/win32/include/freetype/ftstroke.h", - "external/win32/include/freetype/ftsynth.h", - "external/win32/include/freetype/ftsystem.h", - "external/win32/include/freetype/fttrigon.h", - "external/win32/include/freetype/ftttdrv.h", - "external/win32/include/freetype/fttypes.h", - "external/win32/include/freetype/ftwinfnt.h", - "external/win32/include/freetype/t1tables.h", - "external/win32/include/freetype/ttnameid.h", - "external/win32/include/freetype/tttables.h", - "external/win32/include/freetype/tttags.h", - "external/win32/include/freetype/ttunpat.h", - "external/win32/include/gles/glew.h", - "external/win32/include/gles/glxew.h", - "external/win32/include/gles/wglew.h", - "external/win32/include/glslang/SPIRV/CMakeLists.txt", - "external/win32/include/glslang/SPIRV/GLSL.ext.AMD.h", - "external/win32/include/glslang/SPIRV/GLSL.ext.EXT.h", - "external/win32/include/glslang/SPIRV/GLSL.ext.KHR.h", - "external/win32/include/glslang/SPIRV/GLSL.ext.NV.h", - "external/win32/include/glslang/SPIRV/GLSL.std.450.h", - "external/win32/include/glslang/SPIRV/GlslangToSpv.cpp", - "external/win32/include/glslang/SPIRV/GlslangToSpv.h", - "external/win32/include/glslang/SPIRV/InReadableOrder.cpp", - "external/win32/include/glslang/SPIRV/Logger.cpp", - "external/win32/include/glslang/SPIRV/Logger.h", - "external/win32/include/glslang/SPIRV/NonSemanticDebugPrintf.h", - "external/win32/include/glslang/SPIRV/SPVRemapper.cpp", - "external/win32/include/glslang/SPIRV/SPVRemapper.h", - "external/win32/include/glslang/SPIRV/SpvBuilder.cpp", - "external/win32/include/glslang/SPIRV/SpvBuilder.h", - "external/win32/include/glslang/SPIRV/SpvPostProcess.cpp", - "external/win32/include/glslang/SPIRV/SpvTools.cpp", - "external/win32/include/glslang/SPIRV/SpvTools.h", - "external/win32/include/glslang/SPIRV/bitutils.h", - "external/win32/include/glslang/SPIRV/disassemble.cpp", - "external/win32/include/glslang/SPIRV/disassemble.h", - "external/win32/include/glslang/SPIRV/doc.cpp", - "external/win32/include/glslang/SPIRV/doc.h", - "external/win32/include/glslang/SPIRV/hex_float.h", - "external/win32/include/glslang/SPIRV/spirv.hpp", - "external/win32/include/glslang/SPIRV/spvIR.h", - "external/win32/include/glslang/StandAlone/CMakeLists.txt", - "external/win32/include/glslang/StandAlone/DirStackFileIncluder.h", - "external/win32/include/glslang/StandAlone/ResourceLimits.cpp", - "external/win32/include/glslang/StandAlone/ResourceLimits.h", - "external/win32/include/glslang/StandAlone/StandAlone.cpp", - "external/win32/include/glslang/StandAlone/Worklist.h", - "external/win32/include/glslang/StandAlone/resource_limits_c.cpp", - "external/win32/include/glslang/StandAlone/resource_limits_c.h", - "external/win32/include/glslang/StandAlone/spirv-remap.cpp", - "external/win32/include/glslang/glslang/CInterface/glslang_c_interface.cpp", - "external/win32/include/glslang/glslang/CMakeLists.txt", - "external/win32/include/glslang/glslang/GenericCodeGen/CodeGen.cpp", - "external/win32/include/glslang/glslang/GenericCodeGen/Link.cpp", - "external/win32/include/glslang/glslang/Include/BaseTypes.h", - "external/win32/include/glslang/glslang/Include/Common.h", - "external/win32/include/glslang/glslang/Include/ConstantUnion.h", - "external/win32/include/glslang/glslang/Include/InfoSink.h", - "external/win32/include/glslang/glslang/Include/InitializeGlobals.h", - "external/win32/include/glslang/glslang/Include/PoolAlloc.h", - "external/win32/include/glslang/glslang/Include/ResourceLimits.h", - "external/win32/include/glslang/glslang/Include/ShHandle.h", - "external/win32/include/glslang/glslang/Include/Types.h", - "external/win32/include/glslang/glslang/Include/arrays.h", - "external/win32/include/glslang/glslang/Include/glslang_c_interface.h", - "external/win32/include/glslang/glslang/Include/glslang_c_shader_types.h", - "external/win32/include/glslang/glslang/Include/intermediate.h", - "external/win32/include/glslang/glslang/Include/revision.h", - "external/win32/include/glslang/glslang/Include/revision.template", - "external/win32/include/glslang/glslang/MachineIndependent/Constant.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/InfoSink.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Initialize.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Initialize.h", - "external/win32/include/glslang/glslang/MachineIndependent/IntermTraverse.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Intermediate.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/LiveTraverser.h", - "external/win32/include/glslang/glslang/MachineIndependent/ParseContextBase.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/ParseHelper.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/ParseHelper.h", - "external/win32/include/glslang/glslang/MachineIndependent/PoolAlloc.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/RemoveTree.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/RemoveTree.h", - "external/win32/include/glslang/glslang/MachineIndependent/Scan.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Scan.h", - "external/win32/include/glslang/glslang/MachineIndependent/ScanContext.h", - "external/win32/include/glslang/glslang/MachineIndependent/ShaderLang.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/SymbolTable.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/SymbolTable.h", - "external/win32/include/glslang/glslang/MachineIndependent/Versions.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/Versions.h", - "external/win32/include/glslang/glslang/MachineIndependent/attribute.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/attribute.h", - "external/win32/include/glslang/glslang/MachineIndependent/gl_types.h", - "external/win32/include/glslang/glslang/MachineIndependent/glslang.m4", - "external/win32/include/glslang/glslang/MachineIndependent/glslang.y", - "external/win32/include/glslang/glslang/MachineIndependent/glslang_tab.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/glslang_tab.cpp.h", - "external/win32/include/glslang/glslang/MachineIndependent/intermOut.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/iomapper.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/iomapper.h", - "external/win32/include/glslang/glslang/MachineIndependent/limits.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/linkValidate.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/localintermediate.h", - "external/win32/include/glslang/glslang/MachineIndependent/parseConst.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/parseVersions.h", - "external/win32/include/glslang/glslang/MachineIndependent/pch.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/pch.h", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpContext.h", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpTokens.h", - "external/win32/include/glslang/glslang/MachineIndependent/propagateNoContraction.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/propagateNoContraction.h", - "external/win32/include/glslang/glslang/MachineIndependent/reflection.cpp", - "external/win32/include/glslang/glslang/MachineIndependent/reflection.h", - "external/win32/include/glslang/glslang/OSDependent/Unix/CMakeLists.txt", - "external/win32/include/glslang/glslang/OSDependent/Unix/ossource.cpp", - "external/win32/include/glslang/glslang/OSDependent/Web/CMakeLists.txt", - "external/win32/include/glslang/glslang/OSDependent/Web/glslang.after.js", - "external/win32/include/glslang/glslang/OSDependent/Web/glslang.js.cpp", - "external/win32/include/glslang/glslang/OSDependent/Web/glslang.pre.js", - "external/win32/include/glslang/glslang/OSDependent/Windows/CMakeLists.txt", - "external/win32/include/glslang/glslang/OSDependent/Windows/main.cpp", - "external/win32/include/glslang/glslang/OSDependent/Windows/ossource.cpp", - "external/win32/include/glslang/glslang/OSDependent/osinclude.h", - "external/win32/include/glslang/glslang/Public/ShaderLang.h", - "external/win32/include/glslang/glslang/updateGrammar", - "external/win32/include/glslang/spirv-tools/instrument.hpp", - "external/win32/include/glslang/spirv-tools/libspirv.h", - "external/win32/include/glslang/spirv-tools/libspirv.hpp", - "external/win32/include/glslang/spirv-tools/linker.hpp", - "external/win32/include/glslang/spirv-tools/optimizer.hpp", - "external/win32/include/icon/iconv.h", - "external/win32/include/jpeg/jconfig.h", - "external/win32/include/jpeg/jmorecfg.h", - "external/win32/include/jpeg/jpeglib.h", - "external/win32/include/mpg123/mpg123.h", - "external/win32/include/ogg/ogg.h", - "external/win32/include/ogg/os_types.h", - "external/win32/include/openssl/__DECC_INCLUDE_EPILOGUE.H", - "external/win32/include/openssl/__DECC_INCLUDE_PROLOGUE.H", - "external/win32/include/openssl/aes.h", - "external/win32/include/openssl/applink.c", - "external/win32/include/openssl/asn1.h", - "external/win32/include/openssl/asn1_mac.h", - "external/win32/include/openssl/asn1t.h", - "external/win32/include/openssl/async.h", - "external/win32/include/openssl/bio.h", - "external/win32/include/openssl/blowfish.h", - "external/win32/include/openssl/bn.h", - "external/win32/include/openssl/buffer.h", - "external/win32/include/openssl/camellia.h", - "external/win32/include/openssl/cast.h", - "external/win32/include/openssl/cmac.h", - "external/win32/include/openssl/cms.h", - "external/win32/include/openssl/comp.h", - "external/win32/include/openssl/conf.h", - "external/win32/include/openssl/conf_api.h", - "external/win32/include/openssl/crypto.h", - "external/win32/include/openssl/ct.h", - "external/win32/include/openssl/des.h", - "external/win32/include/openssl/dh.h", - "external/win32/include/openssl/dsa.h", - "external/win32/include/openssl/dtls1.h", - "external/win32/include/openssl/e_os2.h", - "external/win32/include/openssl/ebcdic.h", - "external/win32/include/openssl/ec.h", - "external/win32/include/openssl/ecdh.h", - "external/win32/include/openssl/ecdsa.h", - "external/win32/include/openssl/engine.h", - "external/win32/include/openssl/err.h", - "external/win32/include/openssl/evp.h", - "external/win32/include/openssl/hmac.h", - "external/win32/include/openssl/idea.h", - "external/win32/include/openssl/kdf.h", - "external/win32/include/openssl/lhash.h", - "external/win32/include/openssl/md2.h", - "external/win32/include/openssl/md4.h", - "external/win32/include/openssl/md5.h", - "external/win32/include/openssl/mdc2.h", - "external/win32/include/openssl/modes.h", - "external/win32/include/openssl/obj_mac.h", - "external/win32/include/openssl/objects.h", - "external/win32/include/openssl/ocsp.h", - "external/win32/include/openssl/opensslconf.h", - "external/win32/include/openssl/opensslv.h", - "external/win32/include/openssl/ossl_typ.h", - "external/win32/include/openssl/pem.h", - "external/win32/include/openssl/pem2.h", - "external/win32/include/openssl/pkcs12.h", - "external/win32/include/openssl/pkcs7.h", - "external/win32/include/openssl/rand.h", - "external/win32/include/openssl/rc2.h", - "external/win32/include/openssl/rc4.h", - "external/win32/include/openssl/rc5.h", - "external/win32/include/openssl/ripemd.h", - "external/win32/include/openssl/rsa.h", - "external/win32/include/openssl/safestack.h", - "external/win32/include/openssl/seed.h", - "external/win32/include/openssl/sha.h", - "external/win32/include/openssl/srp.h", - "external/win32/include/openssl/srtp.h", - "external/win32/include/openssl/ssl.h", - "external/win32/include/openssl/ssl2.h", - "external/win32/include/openssl/ssl3.h", - "external/win32/include/openssl/stack.h", - "external/win32/include/openssl/symhacks.h", - "external/win32/include/openssl/tls1.h", - "external/win32/include/openssl/ts.h", - "external/win32/include/openssl/txt_db.h", - "external/win32/include/openssl/ui.h", - "external/win32/include/openssl/whrlpool.h", - "external/win32/include/openssl/x509.h", - "external/win32/include/openssl/x509_vfy.h", - "external/win32/include/openssl/x509v3.h", - "external/win32/include/png/png.h", - "external/win32/include/png/pngconf.h", - "external/win32/include/png/pnglibconf.h", - "external/win32/include/pvrsdk/CL/cl.h", - "external/win32/include/pvrsdk/CL/cl2.hpp", - "external/win32/include/pvrsdk/CL/cl_d3d10.h", - "external/win32/include/pvrsdk/CL/cl_d3d11.h", - "external/win32/include/pvrsdk/CL/cl_dx9_media_sharing.h", - "external/win32/include/pvrsdk/CL/cl_egl.h", - "external/win32/include/pvrsdk/CL/cl_ext.h", - "external/win32/include/pvrsdk/CL/cl_gl.h", - "external/win32/include/pvrsdk/CL/cl_gl_ext.h", - "external/win32/include/pvrsdk/CL/cl_platform.h", - "external/win32/include/pvrsdk/CL/opencl.h", - "external/win32/include/pvrsdk/DynamicEgl.h", - "external/win32/include/pvrsdk/DynamicGles.h", - "external/win32/include/pvrsdk/DynamicOCL.h", - "external/win32/include/pvrsdk/EGL/egl.h", - "external/win32/include/pvrsdk/EGL/eglext.h", - "external/win32/include/pvrsdk/EGL/eglplatform.h", - "external/win32/include/pvrsdk/GLES/egl.h", - "external/win32/include/pvrsdk/GLES/gl.h", - "external/win32/include/pvrsdk/GLES/glext.h", - "external/win32/include/pvrsdk/GLES/glplatform.h", - "external/win32/include/pvrsdk/GLES2/gl2.h", - "external/win32/include/pvrsdk/GLES2/gl2ext.h", - "external/win32/include/pvrsdk/GLES2/gl2platform.h", - "external/win32/include/pvrsdk/GLES3/gl3.h", - "external/win32/include/pvrsdk/GLES3/gl31.h", - "external/win32/include/pvrsdk/GLES3/gl32.h", - "external/win32/include/pvrsdk/GLES3/gl3platform.h", - "external/win32/include/pvrsdk/KHR/khrplatform.h", - "external/win32/include/pvrsdk/PVRScopeComms.h", - "external/win32/include/pvrsdk/PVRScopeStats.h", - "external/win32/include/pvrsdk/pvr_openlib.h", - "external/win32/include/pvrsdk/sdkver.h", - "external/win32/include/pvrsdk/vk_bindings.h", - "external/win32/include/pvrsdk/vk_bindings_helper.h", - "external/win32/include/pvrsdk/vulkan/vk_icd.h", - "external/win32/include/pvrsdk/vulkan/vk_layer.h", - "external/win32/include/pvrsdk/vulkan/vk_platform.h", - "external/win32/include/pvrsdk/vulkan/vulkan.h", - "external/win32/include/pvrsdk/vulkan/vulkan_android.h", - "external/win32/include/pvrsdk/vulkan/vulkan_core.h", - "external/win32/include/pvrsdk/vulkan/vulkan_ios.h", - "external/win32/include/pvrsdk/vulkan/vulkan_macos.h", - "external/win32/include/pvrsdk/vulkan/vulkan_mir.h", - "external/win32/include/pvrsdk/vulkan/vulkan_vi.h", - "external/win32/include/pvrsdk/vulkan/vulkan_wayland.h", - "external/win32/include/pvrsdk/vulkan/vulkan_win32.h", - "external/win32/include/pvrsdk/vulkan/vulkan_xcb.h", - "external/win32/include/pvrsdk/vulkan/vulkan_xlib.h", - "external/win32/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", - "external/win32/include/sdl2/SDL.h", - "external/win32/include/sdl2/SDL_assert.h", - "external/win32/include/sdl2/SDL_atomic.h", - "external/win32/include/sdl2/SDL_audio.h", - "external/win32/include/sdl2/SDL_bits.h", - "external/win32/include/sdl2/SDL_blendmode.h", - "external/win32/include/sdl2/SDL_clipboard.h", - "external/win32/include/sdl2/SDL_config.h", - "external/win32/include/sdl2/SDL_config.h.cmake", - "external/win32/include/sdl2/SDL_config.h.in", - "external/win32/include/sdl2/SDL_config_android.h", - "external/win32/include/sdl2/SDL_config_iphoneos.h", - "external/win32/include/sdl2/SDL_config_macosx.h", - "external/win32/include/sdl2/SDL_config_macosx.h.orig", - "external/win32/include/sdl2/SDL_config_minimal.h", - "external/win32/include/sdl2/SDL_config_pandora.h", - "external/win32/include/sdl2/SDL_config_psp.h", - "external/win32/include/sdl2/SDL_config_windows.h", - "external/win32/include/sdl2/SDL_config_winrt.h", - "external/win32/include/sdl2/SDL_config_wiz.h", - "external/win32/include/sdl2/SDL_copying.h", - "external/win32/include/sdl2/SDL_cpuinfo.h", - "external/win32/include/sdl2/SDL_egl.h", - "external/win32/include/sdl2/SDL_endian.h", - "external/win32/include/sdl2/SDL_error.h", - "external/win32/include/sdl2/SDL_events.h", - "external/win32/include/sdl2/SDL_filesystem.h", - "external/win32/include/sdl2/SDL_gamecontroller.h", - "external/win32/include/sdl2/SDL_gesture.h", - "external/win32/include/sdl2/SDL_haptic.h", - "external/win32/include/sdl2/SDL_hints.h", - "external/win32/include/sdl2/SDL_joystick.h", - "external/win32/include/sdl2/SDL_keyboard.h", - "external/win32/include/sdl2/SDL_keycode.h", - "external/win32/include/sdl2/SDL_loadso.h", - "external/win32/include/sdl2/SDL_log.h", - "external/win32/include/sdl2/SDL_main.h", - "external/win32/include/sdl2/SDL_messagebox.h", - "external/win32/include/sdl2/SDL_mouse.h", - "external/win32/include/sdl2/SDL_mutex.h", - "external/win32/include/sdl2/SDL_name.h", - "external/win32/include/sdl2/SDL_opengl.h", - "external/win32/include/sdl2/SDL_opengl_glext.h", - "external/win32/include/sdl2/SDL_opengles.h", - "external/win32/include/sdl2/SDL_opengles2.h", - "external/win32/include/sdl2/SDL_opengles2_gl2.h", - "external/win32/include/sdl2/SDL_opengles2_gl2ext.h", - "external/win32/include/sdl2/SDL_opengles2_gl2platform.h", - "external/win32/include/sdl2/SDL_opengles2_khrplatform.h", - "external/win32/include/sdl2/SDL_pixels.h", - "external/win32/include/sdl2/SDL_platform.h", - "external/win32/include/sdl2/SDL_power.h", - "external/win32/include/sdl2/SDL_quit.h", - "external/win32/include/sdl2/SDL_rect.h", - "external/win32/include/sdl2/SDL_render.h", - "external/win32/include/sdl2/SDL_revision.h", - "external/win32/include/sdl2/SDL_rwops.h", - "external/win32/include/sdl2/SDL_scancode.h", - "external/win32/include/sdl2/SDL_sensor.h", - "external/win32/include/sdl2/SDL_shape.h", - "external/win32/include/sdl2/SDL_stdinc.h", - "external/win32/include/sdl2/SDL_surface.h", - "external/win32/include/sdl2/SDL_system.h", - "external/win32/include/sdl2/SDL_syswm.h", - "external/win32/include/sdl2/SDL_test.h", - "external/win32/include/sdl2/SDL_test_assert.h", - "external/win32/include/sdl2/SDL_test_common.h", - "external/win32/include/sdl2/SDL_test_compare.h", - "external/win32/include/sdl2/SDL_test_crc32.h", - "external/win32/include/sdl2/SDL_test_font.h", - "external/win32/include/sdl2/SDL_test_fuzzer.h", - "external/win32/include/sdl2/SDL_test_harness.h", - "external/win32/include/sdl2/SDL_test_images.h", - "external/win32/include/sdl2/SDL_test_log.h", - "external/win32/include/sdl2/SDL_test_md5.h", - "external/win32/include/sdl2/SDL_test_memory.h", - "external/win32/include/sdl2/SDL_test_random.h", - "external/win32/include/sdl2/SDL_thread.h", - "external/win32/include/sdl2/SDL_timer.h", - "external/win32/include/sdl2/SDL_touch.h", - "external/win32/include/sdl2/SDL_types.h", - "external/win32/include/sdl2/SDL_version.h", - "external/win32/include/sdl2/SDL_video.h", - "external/win32/include/sdl2/SDL_vulkan.h", - "external/win32/include/sdl2/begin_code.h", - "external/win32/include/sdl2/close_code.h", - "external/win32/include/sqlite3/sqlite3.h", - "external/win32/include/sqlite3/sqlite3ext.h", - "external/win32/include/uv/android-ifaddrs.h", - "external/win32/include/uv/pthread-barrier.h", - "external/win32/include/uv/stdint-msvc2008.h", - "external/win32/include/uv/tree.h", - "external/win32/include/uv/uv-aix.h", - "external/win32/include/uv/uv-bsd.h", - "external/win32/include/uv/uv-darwin.h", - "external/win32/include/uv/uv-errno.h", - "external/win32/include/uv/uv-linux.h", - "external/win32/include/uv/uv-os390.h", - "external/win32/include/uv/uv-posix.h", - "external/win32/include/uv/uv-sunos.h", - "external/win32/include/uv/uv-threadpool.h", - "external/win32/include/uv/uv-unix.h", - "external/win32/include/uv/uv-version.h", - "external/win32/include/uv/uv-win.h", - "external/win32/include/uv/uv.h", - "external/win32/include/v8/libplatform/libplatform-export.h", - "external/win32/include/v8/libplatform/libplatform.h", - "external/win32/include/v8/libplatform/v8-tracing.h", - "external/win32/include/v8/v8-inspector-protocol.h", - "external/win32/include/v8/v8-inspector.h", - "external/win32/include/v8/v8-internal.h", - "external/win32/include/v8/v8-platform.h", - "external/win32/include/v8/v8-profiler.h", - "external/win32/include/v8/v8-testing.h", - "external/win32/include/v8/v8-util.h", - "external/win32/include/v8/v8-value-serializer-version.h", - "external/win32/include/v8/v8-version-string.h", - "external/win32/include/v8/v8-version.h", - "external/win32/include/v8/v8-wasm-trap-handler-posix.h", - "external/win32/include/v8/v8-wasm-trap-handler-win.h", - "external/win32/include/v8/v8.h", - "external/win32/include/v8/v8config.h", - "external/win32/include/vorbis/codec.h", - "external/win32/include/vorbis/vorbisenc.h", - "external/win32/include/vorbis/vorbisfile.h", - "external/win32/include/webp/decode.h", - "external/win32/include/webp/encode.h", - "external/win32/include/webp/types.h", - "external/win32/include/websockets/libwebsockets.h", - "external/win32/include/websockets/lws_config.h", - "external/win32/include/zlib/zconf.h", - "external/win32/include/zlib/zlib.h", - "external/win32/libs/Debug/", - "external/win32/libs/Debug/mozglue.lib", - "external/win32/libs/Debug/mozjs-52.dll", - "external/win32/libs/Debug/mozjs-52.lib", - "external/win32/libs/Debug/nspr4.dll", - "external/win32/libs/OpenAL32.dll", - "external/win32/libs/OpenAL32.lib", - "external/win32/libs/SDL2.dll", - "external/win32/libs/SDL2.lib", - "external/win32/libs/SDL2main.lib", - "external/win32/libs/dbghelp.dll", - "external/win32/libs/freetype.lib", - "external/win32/libs/glew32.dll", - "external/win32/libs/glew32.lib", - "external/win32/libs/glslang/HLSL.lib", - "external/win32/libs/glslang/HLSLd.lib", - "external/win32/libs/glslang/OGLCompiler.lib", - "external/win32/libs/glslang/OGLCompilerd.lib", - "external/win32/libs/glslang/OSDependent.lib", - "external/win32/libs/glslang/OSDependentd.lib", - "external/win32/libs/glslang/SPIRV.lib", - "external/win32/libs/glslang/SPIRVd.lib", - "external/win32/libs/glslang/glslang-default-resource-limits.lib", - "external/win32/libs/glslang/glslang-default-resource-limitsd.lib", - "external/win32/libs/glslang/glslang.lib", - "external/win32/libs/glslang/glslangd.lib", - "external/win32/libs/iconv.dll", - "external/win32/libs/icui18n.dll", - "external/win32/libs/icui18n.dll.lib", - "external/win32/libs/icuuc.dll", - "external/win32/libs/icuuc.dll.lib", - "external/win32/libs/libEGL.dll", - "external/win32/libs/libGLESv2.dll", - "external/win32/libs/libcrypto-1_1.dll", - "external/win32/libs/libcrypto.lib", - "external/win32/libs/libcurl.dll", - "external/win32/libs/libcurl.lib", - "external/win32/libs/libiconv.lib", - "external/win32/libs/libjpeg-2015.lib", - "external/win32/libs/libjpeg.lib", - "external/win32/libs/libmpg123.dll", - "external/win32/libs/libmpg123.lib", - "external/win32/libs/libogg.dll", - "external/win32/libs/libogg.lib", - "external/win32/libs/libpng-2015.lib", - "external/win32/libs/libpng.lib", - "external/win32/libs/libssl-1_1.dll", - "external/win32/libs/libssl.lib", - "external/win32/libs/libuv.lib", - "external/win32/libs/libvorbis.dll", - "external/win32/libs/libvorbis.lib", - "external/win32/libs/libvorbisfile.dll", - "external/win32/libs/libvorbisfile.lib", - "external/win32/libs/libwebp.lib", - "external/win32/libs/libzlib.lib", - "external/win32/libs/nspr4.dll", - "external/win32/libs/sqlite3.dll", - "external/win32/libs/sqlite3.lib", - "external/win32/libs/tbb/tbb_static.lib", - "external/win32/libs/tbb/tbb_static_debug.lib", - "external/win32/libs/tbb/tbbmalloc_proxy_static.lib", - "external/win32/libs/tbb/tbbmalloc_proxy_static_debug.lib", - "external/win32/libs/tbb/tbbmalloc_static.lib", - "external/win32/libs/tbb/tbbmalloc_static_debug.lib", - "external/win32/libs/uv.dll", - "external/win32/libs/v8.dll", - "external/win32/libs/v8.dll.lib", - "external/win32/libs/v8_libbase.dll", - "external/win32/libs/v8_libbase.dll.lib", - "external/win32/libs/v8_libplatform.dll", - "external/win32/libs/v8_libplatform.dll.lib", - "external/win32/libs/websockets.dll", - "external/win32/libs/websockets.lib", - "external/win32/libs/zlib.dll", - "external/win32/libs/zlib.dll.lib", - "external/win32/libs/zlib1.dll", - "package-lock.json", - "unit-test/CMakeLists.txt", - "unit-test/CMakeLists.txt.in", - "unit-test/README", - "unit-test/src/CMakeLists.txt", - "unit-test/src/main.cpp", + ".browserslistrc", + ".clang-format", + ".clang-tidy", + ".github/workflows/clangtidy-android.yml", + ".github/workflows/filter_by_cdb.js", + "CMakeLists.txt", + "cocos/audio/AudioEngine.cpp", + "cocos/audio/android/AssetFd.cpp", + "cocos/audio/android/AssetFd.h", + "cocos/audio/android/AudioBufferProvider.h", + "cocos/audio/android/AudioDecoder.cpp", + "cocos/audio/android/AudioDecoder.h", + "cocos/audio/android/AudioDecoderMp3.cpp", + "cocos/audio/android/AudioDecoderMp3.h", + "cocos/audio/android/AudioDecoderOgg.cpp", + "cocos/audio/android/AudioDecoderOgg.h", + "cocos/audio/android/AudioDecoderProvider.cpp", + "cocos/audio/android/AudioDecoderProvider.h", + "cocos/audio/android/AudioDecoderSLES.cpp", + "cocos/audio/android/AudioDecoderSLES.h", + "cocos/audio/android/AudioDecoderWav.cpp", + "cocos/audio/android/AudioDecoderWav.h", + "cocos/audio/android/AudioEngine-inl.cpp", + "cocos/audio/android/AudioEngine-inl.h", + "cocos/audio/android/AudioMixer.cpp", + "cocos/audio/android/AudioMixer.h", + "cocos/audio/android/AudioMixerController.cpp", + "cocos/audio/android/AudioMixerController.h", + "cocos/audio/android/AudioMixerOps.h", + "cocos/audio/android/AudioPlayerProvider.cpp", + "cocos/audio/android/AudioPlayerProvider.h", + "cocos/audio/android/AudioResampler.cpp", + "cocos/audio/android/AudioResampler.h", + "cocos/audio/android/AudioResamplerCubic.cpp", + "cocos/audio/android/AudioResamplerCubic.h", + "cocos/audio/android/AudioResamplerPublic.h", + "cocos/audio/android/IAudioPlayer.h", + "cocos/audio/android/ICallerThreadUtils.h", + "cocos/audio/android/IVolumeProvider.h", + "cocos/audio/android/OpenSLHelper.h", + "cocos/audio/android/PcmAudioPlayer.cpp", + "cocos/audio/android/PcmAudioPlayer.h", + "cocos/audio/android/PcmAudioService.cpp", + "cocos/audio/android/PcmAudioService.h", + "cocos/audio/android/PcmBufferProvider.cpp", + "cocos/audio/android/PcmBufferProvider.h", + "cocos/audio/android/PcmData.cpp", + "cocos/audio/android/PcmData.h", + "cocos/audio/android/Track.cpp", + "cocos/audio/android/Track.h", + "cocos/audio/android/UrlAudioPlayer.cpp", + "cocos/audio/android/UrlAudioPlayer.h", + "cocos/audio/android/audio.h", + "cocos/audio/android/audio_utils/format.c", + "cocos/audio/android/audio_utils/include/audio_utils/format.h", + "cocos/audio/android/audio_utils/include/audio_utils/minifloat.h", + "cocos/audio/android/audio_utils/include/audio_utils/primitives.h", + "cocos/audio/android/audio_utils/minifloat.cpp", + "cocos/audio/android/audio_utils/primitives.c", + "cocos/audio/android/audio_utils/private/private.h", + "cocos/audio/android/cutils/bitops.h", + "cocos/audio/android/cutils/log.h", + "cocos/audio/android/mp3reader.cpp", + "cocos/audio/android/mp3reader.h", + "cocos/audio/android/tinysndfile.cpp", + "cocos/audio/android/tinysndfile.h", + "cocos/audio/android/utils/Compat.h", + "cocos/audio/android/utils/Errors.h", + "cocos/audio/android/utils/Utils.cpp", + "cocos/audio/android/utils/Utils.h", + "cocos/audio/apple/AudioCache.h", + "cocos/audio/apple/AudioCache.mm", + "cocos/audio/apple/AudioDecoder.h", + "cocos/audio/apple/AudioDecoder.mm", + "cocos/audio/apple/AudioEngine-inl.h", + "cocos/audio/apple/AudioEngine-inl.mm", + "cocos/audio/apple/AudioMacros.h", + "cocos/audio/apple/AudioPlayer.h", + "cocos/audio/apple/AudioPlayer.mm", + "cocos/audio/include/AudioEngine.h", + "cocos/audio/include/Export.h", + "cocos/audio/win32/AudioCache.cpp", + "cocos/audio/win32/AudioCache.h", + "cocos/audio/win32/AudioDecoder.cpp", + "cocos/audio/win32/AudioDecoder.h", + "cocos/audio/win32/AudioDecoderManager.cpp", + "cocos/audio/win32/AudioDecoderManager.h", + "cocos/audio/win32/AudioDecoderMp3.cpp", + "cocos/audio/win32/AudioDecoderMp3.h", + "cocos/audio/win32/AudioDecoderOgg.cpp", + "cocos/audio/win32/AudioDecoderOgg.h", + "cocos/audio/win32/AudioEngine-win32.cpp", + "cocos/audio/win32/AudioEngine-win32.h", + "cocos/audio/win32/AudioMacros.h", + "cocos/audio/win32/AudioPlayer.cpp", + "cocos/audio/win32/AudioPlayer.h", + "cocos/base/Agent.h", + "cocos/base/Array.cpp", + "cocos/base/Array.h", + "cocos/base/AutoreleasePool.cpp", + "cocos/base/AutoreleasePool.h", + "cocos/base/CachedArray.h", + "cocos/base/Config.h", + "cocos/base/CoreStd.h", + "cocos/base/Data.cpp", + "cocos/base/Data.h", + "cocos/base/IndexHandle.h", + "cocos/base/Log.cpp", + "cocos/base/Log.h", + "cocos/base/Macros.h", + "cocos/base/Map.h", + "cocos/base/Object.h", + "cocos/base/Random.cpp", + "cocos/base/Random.h", + "cocos/base/Ref.cpp", + "cocos/base/Ref.h", + "cocos/base/Scheduler.cpp", + "cocos/base/Scheduler.h", + "cocos/base/StringHandle.cpp", + "cocos/base/StringHandle.h", + "cocos/base/StringPool.h", + "cocos/base/StringUtil.cpp", + "cocos/base/StringUtil.h", + "cocos/base/ThreadPool.cpp", + "cocos/base/ThreadPool.h", + "cocos/base/TypeDef.h", + "cocos/base/UTF8.cpp", + "cocos/base/UTF8.h", + "cocos/base/Utils.cpp", + "cocos/base/Utils.h", + "cocos/base/Value.cpp", + "cocos/base/Value.h", + "cocos/base/Vector.h", + "cocos/base/ZipUtils.cpp", + "cocos/base/ZipUtils.h", + "cocos/base/astc.cpp", + "cocos/base/astc.h", + "cocos/base/base64.cpp", + "cocos/base/base64.h", + "cocos/base/csscolorparser.cpp", + "cocos/base/csscolorparser.h", + "cocos/base/etc1.cpp", + "cocos/base/etc1.h", + "cocos/base/etc2.cpp", + "cocos/base/etc2.h", + "cocos/base/job-system/JobSystem.h", + "cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp", + "cocos/base/job-system/job-system-taskflow/TFJobGraph.h", + "cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp", + "cocos/base/job-system/job-system-taskflow/TFJobSystem.h", + "cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp", + "cocos/base/job-system/job-system-tbb/TBBJobGraph.h", + "cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp", + "cocos/base/job-system/job-system-tbb/TBBJobSystem.h", + "cocos/base/memory/AllocatedObj.cpp", + "cocos/base/memory/AllocatedObj.h", + "cocos/base/memory/JeAlloc.cpp", + "cocos/base/memory/JeAlloc.h", + "cocos/base/memory/MemDef.h", + "cocos/base/memory/MemTracker.cpp", + "cocos/base/memory/MemTracker.h", + "cocos/base/memory/Memory.cpp", + "cocos/base/memory/Memory.h", + "cocos/base/memory/NedPooling.cpp", + "cocos/base/memory/NedPooling.h", + "cocos/base/memory/StdAlloc.h", + "cocos/base/memory/StlAlloc.h", + "cocos/base/threading/ConditionVariable.cpp", + "cocos/base/threading/ConditionVariable.h", + "cocos/base/threading/Event.h", + "cocos/base/threading/MessageQueue.cpp", + "cocos/base/threading/MessageQueue.h", + "cocos/base/threading/ReadWriteLock.h", + "cocos/base/threading/Semaphore.cpp", + "cocos/base/threading/Semaphore.h", + "cocos/base/threading/ThreadPool.cpp", + "cocos/base/threading/ThreadPool.h", + "cocos/base/threading/ThreadSafeCounter.h", + "cocos/base/threading/ThreadSafeLinearAllocator.cpp", + "cocos/base/threading/ThreadSafeLinearAllocator.h", + "cocos/base/uthash.h", + "cocos/editor-support/IOBuffer.cpp", + "cocos/editor-support/IOBuffer.h", + "cocos/editor-support/IOTypedArray.cpp", + "cocos/editor-support/IOTypedArray.h", + "cocos/editor-support/MeshBuffer.cpp", + "cocos/editor-support/MeshBuffer.h", + "cocos/editor-support/MiddlewareMacro.h", + "cocos/editor-support/MiddlewareManager.cpp", + "cocos/editor-support/MiddlewareManager.h", + "cocos/editor-support/SharedBufferManager.cpp", + "cocos/editor-support/SharedBufferManager.h", + "cocos/editor-support/TypedArrayPool.cpp", + "cocos/editor-support/TypedArrayPool.h", + "cocos/editor-support/dragonbones-creator-support/ArmatureCache.cpp", + "cocos/editor-support/dragonbones-creator-support/ArmatureCache.h", + "cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.cpp", + "cocos/editor-support/dragonbones-creator-support/ArmatureCacheMgr.h", + "cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.cpp", + "cocos/editor-support/dragonbones-creator-support/CCArmatureCacheDisplay.h", + "cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.cpp", + "cocos/editor-support/dragonbones-creator-support/CCArmatureDisplay.h", + "cocos/editor-support/dragonbones-creator-support/CCDragonBonesHeaders.h", + "cocos/editor-support/dragonbones-creator-support/CCFactory.cpp", + "cocos/editor-support/dragonbones-creator-support/CCFactory.h", + "cocos/editor-support/dragonbones-creator-support/CCSlot.cpp", + "cocos/editor-support/dragonbones-creator-support/CCSlot.h", + "cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.cpp", + "cocos/editor-support/dragonbones-creator-support/CCTextureAtlasData.h", + "cocos/editor-support/dragonbones/DragonBonesHeaders.h", + "cocos/editor-support/dragonbones/animation/Animation.cpp", + "cocos/editor-support/dragonbones/animation/Animation.h", + "cocos/editor-support/dragonbones/animation/AnimationState.cpp", + "cocos/editor-support/dragonbones/animation/AnimationState.h", + "cocos/editor-support/dragonbones/animation/BaseTimelineState.cpp", + "cocos/editor-support/dragonbones/animation/BaseTimelineState.h", + "cocos/editor-support/dragonbones/animation/IAnimatable.h", + "cocos/editor-support/dragonbones/animation/TimelineState.cpp", + "cocos/editor-support/dragonbones/animation/TimelineState.h", + "cocos/editor-support/dragonbones/animation/WorldClock.cpp", + "cocos/editor-support/dragonbones/animation/WorldClock.h", + "cocos/editor-support/dragonbones/armature/Armature.cpp", + "cocos/editor-support/dragonbones/armature/Armature.h", + "cocos/editor-support/dragonbones/armature/Bone.cpp", + "cocos/editor-support/dragonbones/armature/Bone.h", + "cocos/editor-support/dragonbones/armature/Constraint.cpp", + "cocos/editor-support/dragonbones/armature/Constraint.h", + "cocos/editor-support/dragonbones/armature/DeformVertices.cpp", + "cocos/editor-support/dragonbones/armature/DeformVertices.h", + "cocos/editor-support/dragonbones/armature/IArmatureProxy.h", + "cocos/editor-support/dragonbones/armature/Slot.cpp", + "cocos/editor-support/dragonbones/armature/Slot.h", + "cocos/editor-support/dragonbones/armature/TransformObject.cpp", + "cocos/editor-support/dragonbones/armature/TransformObject.h", + "cocos/editor-support/dragonbones/core/BaseObject.cpp", + "cocos/editor-support/dragonbones/core/BaseObject.h", + "cocos/editor-support/dragonbones/core/DragonBones.cpp", + "cocos/editor-support/dragonbones/core/DragonBones.h", + "cocos/editor-support/dragonbones/event/EventObject.cpp", + "cocos/editor-support/dragonbones/event/EventObject.h", + "cocos/editor-support/dragonbones/event/IEventDispatcher.h", + "cocos/editor-support/dragonbones/factory/BaseFactory.cpp", + "cocos/editor-support/dragonbones/factory/BaseFactory.h", + "cocos/editor-support/dragonbones/geom/ColorTransform.h", + "cocos/editor-support/dragonbones/geom/Matrix.h", + "cocos/editor-support/dragonbones/geom/Point.cpp", + "cocos/editor-support/dragonbones/geom/Point.h", + "cocos/editor-support/dragonbones/geom/Rectangle.h", + "cocos/editor-support/dragonbones/geom/Transform.cpp", + "cocos/editor-support/dragonbones/geom/Transform.h", + "cocos/editor-support/dragonbones/model/AnimationConfig.cpp", + "cocos/editor-support/dragonbones/model/AnimationConfig.h", + "cocos/editor-support/dragonbones/model/AnimationData.cpp", + "cocos/editor-support/dragonbones/model/AnimationData.h", + "cocos/editor-support/dragonbones/model/ArmatureData.cpp", + "cocos/editor-support/dragonbones/model/ArmatureData.h", + "cocos/editor-support/dragonbones/model/BoundingBoxData.cpp", + "cocos/editor-support/dragonbones/model/BoundingBoxData.h", + "cocos/editor-support/dragonbones/model/CanvasData.cpp", + "cocos/editor-support/dragonbones/model/CanvasData.h", + "cocos/editor-support/dragonbones/model/ConstraintData.cpp", + "cocos/editor-support/dragonbones/model/ConstraintData.h", + "cocos/editor-support/dragonbones/model/DisplayData.cpp", + "cocos/editor-support/dragonbones/model/DisplayData.h", + "cocos/editor-support/dragonbones/model/DragonBonesData.cpp", + "cocos/editor-support/dragonbones/model/DragonBonesData.h", + "cocos/editor-support/dragonbones/model/SkinData.cpp", + "cocos/editor-support/dragonbones/model/SkinData.h", + "cocos/editor-support/dragonbones/model/TextureAtlasData.cpp", + "cocos/editor-support/dragonbones/model/TextureAtlasData.h", + "cocos/editor-support/dragonbones/model/UserData.cpp", + "cocos/editor-support/dragonbones/model/UserData.h", + "cocos/editor-support/dragonbones/parser/BinaryDataParser.cpp", + "cocos/editor-support/dragonbones/parser/BinaryDataParser.h", + "cocos/editor-support/dragonbones/parser/DataParser.cpp", + "cocos/editor-support/dragonbones/parser/DataParser.h", + "cocos/editor-support/dragonbones/parser/JSONDataParser.cpp", + "cocos/editor-support/dragonbones/parser/JSONDataParser.h", + "cocos/editor-support/middleware-adapter.cpp", + "cocos/editor-support/middleware-adapter.h", + "cocos/editor-support/spine-creator-support/AttachmentVertices.cpp", + "cocos/editor-support/spine-creator-support/AttachmentVertices.h", + "cocos/editor-support/spine-creator-support/SkeletonAnimation.cpp", + "cocos/editor-support/spine-creator-support/SkeletonAnimation.h", + "cocos/editor-support/spine-creator-support/SkeletonCache.cpp", + "cocos/editor-support/spine-creator-support/SkeletonCache.h", + "cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.cpp", + "cocos/editor-support/spine-creator-support/SkeletonCacheAnimation.h", + "cocos/editor-support/spine-creator-support/SkeletonCacheMgr.cpp", + "cocos/editor-support/spine-creator-support/SkeletonCacheMgr.h", + "cocos/editor-support/spine-creator-support/SkeletonDataMgr.cpp", + "cocos/editor-support/spine-creator-support/SkeletonDataMgr.h", + "cocos/editor-support/spine-creator-support/SkeletonRenderer.cpp", + "cocos/editor-support/spine-creator-support/SkeletonRenderer.h", + "cocos/editor-support/spine-creator-support/VertexEffectDelegate.cpp", + "cocos/editor-support/spine-creator-support/VertexEffectDelegate.h", + "cocos/editor-support/spine-creator-support/spine-cocos2dx.cpp", + "cocos/editor-support/spine-creator-support/spine-cocos2dx.h", + "cocos/editor-support/spine/Animation.cpp", + "cocos/editor-support/spine/Animation.h", + "cocos/editor-support/spine/AnimationState.cpp", + "cocos/editor-support/spine/AnimationState.h", + "cocos/editor-support/spine/AnimationStateData.cpp", + "cocos/editor-support/spine/AnimationStateData.h", + "cocos/editor-support/spine/Atlas.cpp", + "cocos/editor-support/spine/Atlas.h", + "cocos/editor-support/spine/AtlasAttachmentLoader.cpp", + "cocos/editor-support/spine/AtlasAttachmentLoader.h", + "cocos/editor-support/spine/Attachment.cpp", + "cocos/editor-support/spine/Attachment.h", + "cocos/editor-support/spine/AttachmentLoader.cpp", + "cocos/editor-support/spine/AttachmentLoader.h", + "cocos/editor-support/spine/AttachmentTimeline.cpp", + "cocos/editor-support/spine/AttachmentTimeline.h", + "cocos/editor-support/spine/AttachmentType.h", + "cocos/editor-support/spine/BlendMode.h", + "cocos/editor-support/spine/Bone.cpp", + "cocos/editor-support/spine/Bone.h", + "cocos/editor-support/spine/BoneData.cpp", + "cocos/editor-support/spine/BoneData.h", + "cocos/editor-support/spine/BoundingBoxAttachment.cpp", + "cocos/editor-support/spine/BoundingBoxAttachment.h", + "cocos/editor-support/spine/ClippingAttachment.cpp", + "cocos/editor-support/spine/ClippingAttachment.h", + "cocos/editor-support/spine/Color.h", + "cocos/editor-support/spine/ColorTimeline.cpp", + "cocos/editor-support/spine/ColorTimeline.h", + "cocos/editor-support/spine/Constraint.cpp", + "cocos/editor-support/spine/Constraint.h", + "cocos/editor-support/spine/ConstraintData.cpp", + "cocos/editor-support/spine/ConstraintData.h", + "cocos/editor-support/spine/ContainerUtil.h", + "cocos/editor-support/spine/CurveTimeline.cpp", + "cocos/editor-support/spine/CurveTimeline.h", + "cocos/editor-support/spine/Debug.h", + "cocos/editor-support/spine/DeformTimeline.cpp", + "cocos/editor-support/spine/DeformTimeline.h", + "cocos/editor-support/spine/DrawOrderTimeline.cpp", + "cocos/editor-support/spine/DrawOrderTimeline.h", + "cocos/editor-support/spine/Event.cpp", + "cocos/editor-support/spine/Event.h", + "cocos/editor-support/spine/EventData.cpp", + "cocos/editor-support/spine/EventData.h", + "cocos/editor-support/spine/EventTimeline.cpp", + "cocos/editor-support/spine/EventTimeline.h", + "cocos/editor-support/spine/Extension.cpp", + "cocos/editor-support/spine/Extension.h", + "cocos/editor-support/spine/HasRendererObject.h", + "cocos/editor-support/spine/HashMap.h", + "cocos/editor-support/spine/IkConstraint.cpp", + "cocos/editor-support/spine/IkConstraint.h", + "cocos/editor-support/spine/IkConstraintData.cpp", + "cocos/editor-support/spine/IkConstraintData.h", + "cocos/editor-support/spine/IkConstraintTimeline.cpp", + "cocos/editor-support/spine/IkConstraintTimeline.h", + "cocos/editor-support/spine/Json.cpp", + "cocos/editor-support/spine/Json.h", + "cocos/editor-support/spine/LinkedMesh.cpp", + "cocos/editor-support/spine/LinkedMesh.h", + "cocos/editor-support/spine/MathUtil.cpp", + "cocos/editor-support/spine/MathUtil.h", + "cocos/editor-support/spine/MeshAttachment.cpp", + "cocos/editor-support/spine/MeshAttachment.h", + "cocos/editor-support/spine/MixBlend.h", + "cocos/editor-support/spine/MixDirection.h", + "cocos/editor-support/spine/PathAttachment.cpp", + "cocos/editor-support/spine/PathAttachment.h", + "cocos/editor-support/spine/PathConstraint.cpp", + "cocos/editor-support/spine/PathConstraint.h", + "cocos/editor-support/spine/PathConstraintData.cpp", + "cocos/editor-support/spine/PathConstraintData.h", + "cocos/editor-support/spine/PathConstraintMixTimeline.cpp", + "cocos/editor-support/spine/PathConstraintMixTimeline.h", + "cocos/editor-support/spine/PathConstraintPositionTimeline.cpp", + "cocos/editor-support/spine/PathConstraintPositionTimeline.h", + "cocos/editor-support/spine/PathConstraintSpacingTimeline.cpp", + "cocos/editor-support/spine/PathConstraintSpacingTimeline.h", + "cocos/editor-support/spine/PointAttachment.cpp", + "cocos/editor-support/spine/PointAttachment.h", + "cocos/editor-support/spine/Pool.h", + "cocos/editor-support/spine/PositionMode.h", + "cocos/editor-support/spine/RTTI.cpp", + "cocos/editor-support/spine/RTTI.h", + "cocos/editor-support/spine/RegionAttachment.cpp", + "cocos/editor-support/spine/RegionAttachment.h", + "cocos/editor-support/spine/RotateMode.h", + "cocos/editor-support/spine/RotateTimeline.cpp", + "cocos/editor-support/spine/RotateTimeline.h", + "cocos/editor-support/spine/ScaleTimeline.cpp", + "cocos/editor-support/spine/ScaleTimeline.h", + "cocos/editor-support/spine/ShearTimeline.cpp", + "cocos/editor-support/spine/ShearTimeline.h", + "cocos/editor-support/spine/Skeleton.cpp", + "cocos/editor-support/spine/Skeleton.h", + "cocos/editor-support/spine/SkeletonBinary.cpp", + "cocos/editor-support/spine/SkeletonBinary.h", + "cocos/editor-support/spine/SkeletonBounds.cpp", + "cocos/editor-support/spine/SkeletonBounds.h", + "cocos/editor-support/spine/SkeletonClipping.cpp", + "cocos/editor-support/spine/SkeletonClipping.h", + "cocos/editor-support/spine/SkeletonData.cpp", + "cocos/editor-support/spine/SkeletonData.h", + "cocos/editor-support/spine/SkeletonJson.cpp", + "cocos/editor-support/spine/SkeletonJson.h", + "cocos/editor-support/spine/Skin.cpp", + "cocos/editor-support/spine/Skin.h", + "cocos/editor-support/spine/Slot.cpp", + "cocos/editor-support/spine/Slot.h", + "cocos/editor-support/spine/SlotData.cpp", + "cocos/editor-support/spine/SlotData.h", + "cocos/editor-support/spine/SpacingMode.h", + "cocos/editor-support/spine/SpineObject.cpp", + "cocos/editor-support/spine/SpineObject.h", + "cocos/editor-support/spine/SpineString.h", + "cocos/editor-support/spine/TextureLoader.cpp", + "cocos/editor-support/spine/TextureLoader.h", + "cocos/editor-support/spine/Timeline.cpp", + "cocos/editor-support/spine/Timeline.h", + "cocos/editor-support/spine/TimelineType.h", + "cocos/editor-support/spine/TransformConstraint.cpp", + "cocos/editor-support/spine/TransformConstraint.h", + "cocos/editor-support/spine/TransformConstraintData.cpp", + "cocos/editor-support/spine/TransformConstraintData.h", + "cocos/editor-support/spine/TransformConstraintTimeline.cpp", + "cocos/editor-support/spine/TransformConstraintTimeline.h", + "cocos/editor-support/spine/TransformMode.h", + "cocos/editor-support/spine/TranslateTimeline.cpp", + "cocos/editor-support/spine/TranslateTimeline.h", + "cocos/editor-support/spine/Triangulator.cpp", + "cocos/editor-support/spine/Triangulator.h", + "cocos/editor-support/spine/TwoColorTimeline.cpp", + "cocos/editor-support/spine/TwoColorTimeline.h", + "cocos/editor-support/spine/Updatable.cpp", + "cocos/editor-support/spine/Updatable.h", + "cocos/editor-support/spine/Vector.h", + "cocos/editor-support/spine/VertexAttachment.cpp", + "cocos/editor-support/spine/VertexAttachment.h", + "cocos/editor-support/spine/VertexEffect.cpp", + "cocos/editor-support/spine/VertexEffect.h", + "cocos/editor-support/spine/Vertices.h", + "cocos/editor-support/spine/dll.h", + "cocos/editor-support/spine/spine.h", + "cocos/math/Geometry.cpp", + "cocos/math/Geometry.h", + "cocos/math/Mat3.cpp", + "cocos/math/Mat3.h", + "cocos/math/Mat4.cpp", + "cocos/math/Mat4.h", + "cocos/math/Mat4.inl", + "cocos/math/Math.cpp", + "cocos/math/Math.h", + "cocos/math/MathBase.h", + "cocos/math/MathUtil.cpp", + "cocos/math/MathUtil.h", + "cocos/math/MathUtil.inl", + "cocos/math/MathUtilNeon.inl", + "cocos/math/MathUtilNeon64.inl", + "cocos/math/MathUtilSSE.inl", + "cocos/math/Quaternion.cpp", + "cocos/math/Quaternion.h", + "cocos/math/Quaternion.inl", + "cocos/math/Vec2.cpp", + "cocos/math/Vec2.h", + "cocos/math/Vec2.inl", + "cocos/math/Vec3.cpp", + "cocos/math/Vec3.h", + "cocos/math/Vec3.inl", + "cocos/math/Vec4.cpp", + "cocos/math/Vec4.h", + "cocos/math/Vec4.inl", + "cocos/math/Vertex.cpp", + "cocos/math/Vertex.h", + "cocos/network/Downloader-android.cpp", + "cocos/network/Downloader-android.h", + "cocos/network/Downloader-curl.cpp", + "cocos/network/Downloader-curl.h", + "cocos/network/Downloader.cpp", + "cocos/network/Downloader.h", + "cocos/network/DownloaderImpl-apple.h", + "cocos/network/DownloaderImpl-apple.mm", + "cocos/network/DownloaderImpl.h", + "cocos/network/HttpAsynConnection-apple.h", + "cocos/network/HttpAsynConnection-apple.m", + "cocos/network/HttpClient-android.cpp", + "cocos/network/HttpClient-apple.mm", + "cocos/network/HttpClient.cpp", + "cocos/network/HttpClient.h", + "cocos/network/HttpCookie.cpp", + "cocos/network/HttpCookie.h", + "cocos/network/HttpRequest.h", + "cocos/network/HttpResponse.h", + "cocos/network/SocketIO.cpp", + "cocos/network/SocketIO.h", + "cocos/network/Uri.cpp", + "cocos/network/Uri.h", + "cocos/network/WebSocket-apple.mm", + "cocos/network/WebSocket-libwebsockets.cpp", + "cocos/network/WebSocket.h", + "cocos/network/WebSocketServer.cpp", + "cocos/network/WebSocketServer.h", + "cocos/platform/Application.cpp", + "cocos/platform/Application.h", + "cocos/platform/CanvasRenderingContext2D.h", + "cocos/platform/Device.h", + "cocos/platform/FileUtils.cpp", + "cocos/platform/FileUtils.h", + "cocos/platform/Image.cpp", + "cocos/platform/Image.h", + "cocos/platform/SAXParser.cpp", + "cocos/platform/SAXParser.h", + "cocos/platform/StdC.h", + "cocos/platform/android/Application-android.cpp", + "cocos/platform/android/CanvasRenderingContext2D-android.cpp", + "cocos/platform/android/Device-android.cpp", + "cocos/platform/android/FileUtils-android.cpp", + "cocos/platform/android/FileUtils-android.h", + "cocos/platform/android/View.cpp", + "cocos/platform/android/View.h", + "cocos/platform/android/java/.classpath", + "cocos/platform/android/java/.project", + "cocos/platform/android/java/AndroidManifest.xml", + "cocos/platform/android/java/build.xml", + "cocos/platform/android/java/libs/", + "cocos/platform/android/java/libs/com.android.vending.expansion.zipfile.jar", + "cocos/platform/android/java/libs/okhttp-3.12.7.jar", + "cocos/platform/android/java/libs/okio-1.15.0.jar", + "cocos/platform/android/java/proguard-project.txt", + "cocos/platform/android/java/project.properties", + "cocos/platform/android/java/src/com/cocos/lib/CanvasRenderingContext2DImpl.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosActivity.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosDownloader.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosEditBoxActivity.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosHandler.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosHttpURLConnection.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosJavascriptJavaBridge.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosKeyCodeHandler.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosLocalStorage.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosNativeActivity.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosOrientationHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosReflectionHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosSensorHandler.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosSurfaceView.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosTouchHandler.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosVideoHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosVideoView.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosWebView.java", + "cocos/platform/android/java/src/com/cocos/lib/CocosWebViewHelper.java", + "cocos/platform/android/java/src/com/cocos/lib/GlobalObject.java", + "cocos/platform/android/java/src/com/cocos/lib/Utils.java", + "cocos/platform/android/jni/JniCocosActivity.cpp", + "cocos/platform/android/jni/JniCocosActivity.h", + "cocos/platform/android/jni/JniCocosKeyCodeHandler.cpp", + "cocos/platform/android/jni/JniCocosOrientationHelper.cpp", + "cocos/platform/android/jni/JniCocosSurfaceView.cpp", + "cocos/platform/android/jni/JniCocosTouchHandler.cpp", + "cocos/platform/android/jni/JniHelper.cpp", + "cocos/platform/android/jni/JniHelper.h", + "cocos/platform/android/jni/JniImp.cpp", + "cocos/platform/android/jni/JniImp.h", + "cocos/platform/android/libcocos2dx/AndroidManifest.xml", + "cocos/platform/android/libcocos2dx/build.gradle", + "cocos/platform/android/libcocos2dx/proguard-rules.pro", + "cocos/platform/android/libcocos2dx/src/main/res/values-zh-rCN/strings.xml", + "cocos/platform/android/libcocos2dx/src/main/res/values/strings.xml", + "cocos/platform/apple/CanvasRenderingContext2D-apple.mm", + "cocos/platform/apple/Device-apple.h", + "cocos/platform/apple/Device-apple.mm", + "cocos/platform/apple/FileUtils-apple.h", + "cocos/platform/apple/FileUtils-apple.mm", + "cocos/platform/ios/Application-ios.mm", + "cocos/platform/ios/Device-ios.mm", + "cocos/platform/ios/Reachability.cpp", + "cocos/platform/ios/Reachability.h", + "cocos/platform/ios/View.h", + "cocos/platform/ios/View.mm", + "cocos/platform/mac/Application-mac.mm", + "cocos/platform/mac/Device-mac.mm", + "cocos/platform/mac/KeyCodeHelper.cpp", + "cocos/platform/mac/KeyCodeHelper.h", + "cocos/platform/mac/View.h", + "cocos/platform/mac/View.mm", + "cocos/platform/mac/cocos2d-prefix.pch", + "cocos/platform/win32/Application-win32.cpp", + "cocos/platform/win32/CanvasRenderingContext2D-win32.cpp", + "cocos/platform/win32/Device-win32.cpp", + "cocos/platform/win32/FileUtils-win32.cpp", + "cocos/platform/win32/FileUtils-win32.h", + "cocos/platform/win32/Utils-win32.cpp", + "cocos/platform/win32/Utils-win32.h", + "cocos/platform/win32/View-win32.cpp", + "cocos/platform/win32/View-win32.h", + "cocos/platform/win32/compat/stdint.h", + "cocos/platform/win32/inet_pton_mingw.cpp", + "cocos/platform/win32/inet_pton_mingw.h", + "cocos/renderer/GFXDeviceManager.h", + "cocos/renderer/frame-graph/Blackboard.h", + "cocos/renderer/frame-graph/CallbackPass.h", + "cocos/renderer/frame-graph/DevicePass.cpp", + "cocos/renderer/frame-graph/DevicePass.h", + "cocos/renderer/frame-graph/DevicePassResourceTable.cpp", + "cocos/renderer/frame-graph/DevicePassResourceTable.h", + "cocos/renderer/frame-graph/FrameGraph.cpp", + "cocos/renderer/frame-graph/FrameGraph.h", + "cocos/renderer/frame-graph/Handle.h", + "cocos/renderer/frame-graph/PassInsertPointManager.cpp", + "cocos/renderer/frame-graph/PassInsertPointManager.h", + "cocos/renderer/frame-graph/PassNode.cpp", + "cocos/renderer/frame-graph/PassNode.h", + "cocos/renderer/frame-graph/PassNodeBuilder.cpp", + "cocos/renderer/frame-graph/PassNodeBuilder.h", + "cocos/renderer/frame-graph/RenderTargetAttachment.h", + "cocos/renderer/frame-graph/Resource.h", + "cocos/renderer/frame-graph/ResourceAllocator.h", + "cocos/renderer/frame-graph/ResourceEntry.h", + "cocos/renderer/frame-graph/ResourceNode.h", + "cocos/renderer/frame-graph/VirtualResource.cpp", + "cocos/renderer/frame-graph/VirtualResource.h", + "cocos/renderer/gfx-agent/BufferAgent.cpp", + "cocos/renderer/gfx-agent/BufferAgent.h", + "cocos/renderer/gfx-agent/CommandBufferAgent.cpp", + "cocos/renderer/gfx-agent/CommandBufferAgent.h", + "cocos/renderer/gfx-agent/DescriptorSetAgent.cpp", + "cocos/renderer/gfx-agent/DescriptorSetAgent.h", + "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp", + "cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h", + "cocos/renderer/gfx-agent/DeviceAgent.cpp", + "cocos/renderer/gfx-agent/DeviceAgent.h", + "cocos/renderer/gfx-agent/FramebufferAgent.cpp", + "cocos/renderer/gfx-agent/FramebufferAgent.h", + "cocos/renderer/gfx-agent/InputAssemblerAgent.cpp", + "cocos/renderer/gfx-agent/InputAssemblerAgent.h", + "cocos/renderer/gfx-agent/LinearAllocatorPool.h", + "cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp", + "cocos/renderer/gfx-agent/PipelineLayoutAgent.h", + "cocos/renderer/gfx-agent/PipelineStateAgent.cpp", + "cocos/renderer/gfx-agent/PipelineStateAgent.h", + "cocos/renderer/gfx-agent/QueueAgent.cpp", + "cocos/renderer/gfx-agent/QueueAgent.h", + "cocos/renderer/gfx-agent/RenderPassAgent.cpp", + "cocos/renderer/gfx-agent/RenderPassAgent.h", + "cocos/renderer/gfx-agent/SamplerAgent.cpp", + "cocos/renderer/gfx-agent/SamplerAgent.h", + "cocos/renderer/gfx-agent/ShaderAgent.cpp", + "cocos/renderer/gfx-agent/ShaderAgent.h", + "cocos/renderer/gfx-agent/TextureAgent.cpp", + "cocos/renderer/gfx-agent/TextureAgent.h", + "cocos/renderer/gfx-base/GFXBase.h", + "cocos/renderer/gfx-base/GFXBuffer.cpp", + "cocos/renderer/gfx-base/GFXBuffer.h", + "cocos/renderer/gfx-base/GFXCommandBuffer.cpp", + "cocos/renderer/gfx-base/GFXCommandBuffer.h", + "cocos/renderer/gfx-base/GFXContext.cpp", + "cocos/renderer/gfx-base/GFXContext.h", + "cocos/renderer/gfx-base/GFXDef-common.h", + "cocos/renderer/gfx-base/GFXDef.cpp", + "cocos/renderer/gfx-base/GFXDef.h", + "cocos/renderer/gfx-base/GFXDescriptorSet.cpp", + "cocos/renderer/gfx-base/GFXDescriptorSet.h", + "cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp", + "cocos/renderer/gfx-base/GFXDescriptorSetLayout.h", + "cocos/renderer/gfx-base/GFXDevice.cpp", + "cocos/renderer/gfx-base/GFXDevice.h", + "cocos/renderer/gfx-base/GFXFramebuffer.cpp", + "cocos/renderer/gfx-base/GFXFramebuffer.h", + "cocos/renderer/gfx-base/GFXGlobalBarrier.cpp", + "cocos/renderer/gfx-base/GFXGlobalBarrier.h", + "cocos/renderer/gfx-base/GFXInputAssembler.cpp", + "cocos/renderer/gfx-base/GFXInputAssembler.h", + "cocos/renderer/gfx-base/GFXObject.cpp", + "cocos/renderer/gfx-base/GFXObject.h", + "cocos/renderer/gfx-base/GFXPipelineLayout.cpp", + "cocos/renderer/gfx-base/GFXPipelineLayout.h", + "cocos/renderer/gfx-base/GFXPipelineState.cpp", + "cocos/renderer/gfx-base/GFXPipelineState.h", + "cocos/renderer/gfx-base/GFXQueue.cpp", + "cocos/renderer/gfx-base/GFXQueue.h", + "cocos/renderer/gfx-base/GFXRenderPass.cpp", + "cocos/renderer/gfx-base/GFXRenderPass.h", + "cocos/renderer/gfx-base/GFXSampler.cpp", + "cocos/renderer/gfx-base/GFXSampler.h", + "cocos/renderer/gfx-base/GFXShader.cpp", + "cocos/renderer/gfx-base/GFXShader.h", + "cocos/renderer/gfx-base/GFXTexture.cpp", + "cocos/renderer/gfx-base/GFXTexture.h", + "cocos/renderer/gfx-base/GFXTextureBarrier.cpp", + "cocos/renderer/gfx-base/GFXTextureBarrier.h", + "cocos/renderer/gfx-empty/EmptyBuffer.cpp", + "cocos/renderer/gfx-empty/EmptyBuffer.h", + "cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp", + "cocos/renderer/gfx-empty/EmptyCommandBuffer.h", + "cocos/renderer/gfx-empty/EmptyContext.cpp", + "cocos/renderer/gfx-empty/EmptyContext.h", + "cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp", + "cocos/renderer/gfx-empty/EmptyDescriptorSet.h", + "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp", + "cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h", + "cocos/renderer/gfx-empty/EmptyDevice.cpp", + "cocos/renderer/gfx-empty/EmptyDevice.h", + "cocos/renderer/gfx-empty/EmptyFramebuffer.cpp", + "cocos/renderer/gfx-empty/EmptyFramebuffer.h", + "cocos/renderer/gfx-empty/EmptyInputAssembler.cpp", + "cocos/renderer/gfx-empty/EmptyInputAssembler.h", + "cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp", + "cocos/renderer/gfx-empty/EmptyPipelineLayout.h", + "cocos/renderer/gfx-empty/EmptyPipelineState.cpp", + "cocos/renderer/gfx-empty/EmptyPipelineState.h", + "cocos/renderer/gfx-empty/EmptyQueue.cpp", + "cocos/renderer/gfx-empty/EmptyQueue.h", + "cocos/renderer/gfx-empty/EmptyRenderPass.cpp", + "cocos/renderer/gfx-empty/EmptyRenderPass.h", + "cocos/renderer/gfx-empty/EmptySampler.cpp", + "cocos/renderer/gfx-empty/EmptySampler.h", + "cocos/renderer/gfx-empty/EmptyShader.cpp", + "cocos/renderer/gfx-empty/EmptyShader.h", + "cocos/renderer/gfx-empty/EmptyTexture.cpp", + "cocos/renderer/gfx-empty/EmptyTexture.h", + "cocos/renderer/gfx-gles-common/GLESCommandPool.h", + "cocos/renderer/gfx-gles-common/eglw.cpp", + "cocos/renderer/gfx-gles-common/eglw.h", + "cocos/renderer/gfx-gles-common/gles2w.cpp", + "cocos/renderer/gfx-gles-common/gles2w.h", + "cocos/renderer/gfx-gles-common/gles3w.cpp", + "cocos/renderer/gfx-gles-common/gles3w.h", + "cocos/renderer/gfx-gles2/GFXGLES2.h", + "cocos/renderer/gfx-gles2/GLES2Buffer.cpp", + "cocos/renderer/gfx-gles2/GLES2Buffer.h", + "cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp", + "cocos/renderer/gfx-gles2/GLES2CommandBuffer.h", + "cocos/renderer/gfx-gles2/GLES2Commands.cpp", + "cocos/renderer/gfx-gles2/GLES2Commands.h", + "cocos/renderer/gfx-gles2/GLES2Context.cpp", + "cocos/renderer/gfx-gles2/GLES2Context.h", + "cocos/renderer/gfx-gles2/GLES2Context.mm", + "cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp", + "cocos/renderer/gfx-gles2/GLES2DescriptorSet.h", + "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp", + "cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h", + "cocos/renderer/gfx-gles2/GLES2Device.cpp", + "cocos/renderer/gfx-gles2/GLES2Device.h", + "cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp", + "cocos/renderer/gfx-gles2/GLES2Framebuffer.h", + "cocos/renderer/gfx-gles2/GLES2GPUObjects.h", + "cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp", + "cocos/renderer/gfx-gles2/GLES2InputAssembler.h", + "cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp", + "cocos/renderer/gfx-gles2/GLES2PipelineLayout.h", + "cocos/renderer/gfx-gles2/GLES2PipelineState.cpp", + "cocos/renderer/gfx-gles2/GLES2PipelineState.h", + "cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp", + "cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h", + "cocos/renderer/gfx-gles2/GLES2Queue.cpp", + "cocos/renderer/gfx-gles2/GLES2Queue.h", + "cocos/renderer/gfx-gles2/GLES2RenderPass.cpp", + "cocos/renderer/gfx-gles2/GLES2RenderPass.h", + "cocos/renderer/gfx-gles2/GLES2Sampler.cpp", + "cocos/renderer/gfx-gles2/GLES2Sampler.h", + "cocos/renderer/gfx-gles2/GLES2Shader.cpp", + "cocos/renderer/gfx-gles2/GLES2Shader.h", + "cocos/renderer/gfx-gles2/GLES2Std.cpp", + "cocos/renderer/gfx-gles2/GLES2Std.h", + "cocos/renderer/gfx-gles2/GLES2Texture.cpp", + "cocos/renderer/gfx-gles2/GLES2Texture.h", + "cocos/renderer/gfx-gles2/GLES2Wrangler.cpp", + "cocos/renderer/gfx-gles2/GLES2Wrangler.h", + "cocos/renderer/gfx-gles2/GLES2Wrangler.mm", + "cocos/renderer/gfx-gles3/GFXGLES3.h", + "cocos/renderer/gfx-gles3/GLES3Buffer.cpp", + "cocos/renderer/gfx-gles3/GLES3Buffer.h", + "cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp", + "cocos/renderer/gfx-gles3/GLES3CommandBuffer.h", + "cocos/renderer/gfx-gles3/GLES3Commands.cpp", + "cocos/renderer/gfx-gles3/GLES3Commands.h", + "cocos/renderer/gfx-gles3/GLES3Context.cpp", + "cocos/renderer/gfx-gles3/GLES3Context.h", + "cocos/renderer/gfx-gles3/GLES3Context.mm", + "cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp", + "cocos/renderer/gfx-gles3/GLES3DescriptorSet.h", + "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp", + "cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h", + "cocos/renderer/gfx-gles3/GLES3Device.cpp", + "cocos/renderer/gfx-gles3/GLES3Device.h", + "cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp", + "cocos/renderer/gfx-gles3/GLES3Framebuffer.h", + "cocos/renderer/gfx-gles3/GLES3GPUObjects.h", + "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp", + "cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h", + "cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp", + "cocos/renderer/gfx-gles3/GLES3InputAssembler.h", + "cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp", + "cocos/renderer/gfx-gles3/GLES3PipelineLayout.h", + "cocos/renderer/gfx-gles3/GLES3PipelineState.cpp", + "cocos/renderer/gfx-gles3/GLES3PipelineState.h", + "cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp", + "cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h", + "cocos/renderer/gfx-gles3/GLES3Queue.cpp", + "cocos/renderer/gfx-gles3/GLES3Queue.h", + "cocos/renderer/gfx-gles3/GLES3RenderPass.cpp", + "cocos/renderer/gfx-gles3/GLES3RenderPass.h", + "cocos/renderer/gfx-gles3/GLES3Sampler.cpp", + "cocos/renderer/gfx-gles3/GLES3Sampler.h", + "cocos/renderer/gfx-gles3/GLES3Shader.cpp", + "cocos/renderer/gfx-gles3/GLES3Shader.h", + "cocos/renderer/gfx-gles3/GLES3Std.cpp", + "cocos/renderer/gfx-gles3/GLES3Std.h", + "cocos/renderer/gfx-gles3/GLES3Texture.cpp", + "cocos/renderer/gfx-gles3/GLES3Texture.h", + "cocos/renderer/gfx-gles3/GLES3Wrangler.cpp", + "cocos/renderer/gfx-gles3/GLES3Wrangler.h", + "cocos/renderer/gfx-gles3/GLES3Wrangler.mm", + "cocos/renderer/gfx-metal/GFXMTL.h", + "cocos/renderer/gfx-metal/MTLBuffer.h", + "cocos/renderer/gfx-metal/MTLBuffer.mm", + "cocos/renderer/gfx-metal/MTLCommandBuffer.h", + "cocos/renderer/gfx-metal/MTLCommandBuffer.mm", + "cocos/renderer/gfx-metal/MTLCommandEncoder.h", + "cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h", + "cocos/renderer/gfx-metal/MTLConfig.h", + "cocos/renderer/gfx-metal/MTLContext.h", + "cocos/renderer/gfx-metal/MTLContext.mm", + "cocos/renderer/gfx-metal/MTLDescriptorSet.h", + "cocos/renderer/gfx-metal/MTLDescriptorSet.mm", + "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h", + "cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm", + "cocos/renderer/gfx-metal/MTLDevice.h", + "cocos/renderer/gfx-metal/MTLDevice.mm", + "cocos/renderer/gfx-metal/MTLFramebuffer.h", + "cocos/renderer/gfx-metal/MTLFramebuffer.mm", + "cocos/renderer/gfx-metal/MTLGPUObjects.h", + "cocos/renderer/gfx-metal/MTLInputAssembler.h", + "cocos/renderer/gfx-metal/MTLInputAssembler.mm", + "cocos/renderer/gfx-metal/MTLPipelineLayout.h", + "cocos/renderer/gfx-metal/MTLPipelineLayout.mm", + "cocos/renderer/gfx-metal/MTLPipelineState.h", + "cocos/renderer/gfx-metal/MTLPipelineState.mm", + "cocos/renderer/gfx-metal/MTLQueue.h", + "cocos/renderer/gfx-metal/MTLQueue.mm", + "cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h", + "cocos/renderer/gfx-metal/MTLRenderPass.h", + "cocos/renderer/gfx-metal/MTLRenderPass.mm", + "cocos/renderer/gfx-metal/MTLSampler.h", + "cocos/renderer/gfx-metal/MTLSampler.mm", + "cocos/renderer/gfx-metal/MTLSemaphore.h", + "cocos/renderer/gfx-metal/MTLShader.h", + "cocos/renderer/gfx-metal/MTLShader.mm", + "cocos/renderer/gfx-metal/MTLStd.cpp", + "cocos/renderer/gfx-metal/MTLStd.h", + "cocos/renderer/gfx-metal/MTLTexture.h", + "cocos/renderer/gfx-metal/MTLTexture.mm", + "cocos/renderer/gfx-metal/MTLUtils.h", + "cocos/renderer/gfx-metal/MTLUtils.mm", + "cocos/renderer/gfx-validator/BufferValidator.cpp", + "cocos/renderer/gfx-validator/BufferValidator.h", + "cocos/renderer/gfx-validator/CommandBufferValidator.cpp", + "cocos/renderer/gfx-validator/CommandBufferValidator.h", + "cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp", + "cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h", + "cocos/renderer/gfx-validator/DescriptorSetValidator.cpp", + "cocos/renderer/gfx-validator/DescriptorSetValidator.h", + "cocos/renderer/gfx-validator/DeviceValidator.cpp", + "cocos/renderer/gfx-validator/DeviceValidator.h", + "cocos/renderer/gfx-validator/FramebufferValidator.cpp", + "cocos/renderer/gfx-validator/FramebufferValidator.h", + "cocos/renderer/gfx-validator/InputAssemblerValidator.cpp", + "cocos/renderer/gfx-validator/InputAssemblerValidator.h", + "cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp", + "cocos/renderer/gfx-validator/PipelineLayoutValidator.h", + "cocos/renderer/gfx-validator/PipelineStateValidator.cpp", + "cocos/renderer/gfx-validator/PipelineStateValidator.h", + "cocos/renderer/gfx-validator/QueueValidator.cpp", + "cocos/renderer/gfx-validator/QueueValidator.h", + "cocos/renderer/gfx-validator/RenderPassValidator.cpp", + "cocos/renderer/gfx-validator/RenderPassValidator.h", + "cocos/renderer/gfx-validator/SamplerValidator.cpp", + "cocos/renderer/gfx-validator/SamplerValidator.h", + "cocos/renderer/gfx-validator/ShaderValidator.cpp", + "cocos/renderer/gfx-validator/ShaderValidator.h", + "cocos/renderer/gfx-validator/TextureValidator.cpp", + "cocos/renderer/gfx-validator/TextureValidator.h", + "cocos/renderer/gfx-vulkan/GFXVulkan.h", + "cocos/renderer/gfx-vulkan/VKBuffer.cpp", + "cocos/renderer/gfx-vulkan/VKBuffer.h", + "cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp", + "cocos/renderer/gfx-vulkan/VKCommandBuffer.h", + "cocos/renderer/gfx-vulkan/VKCommands.cpp", + "cocos/renderer/gfx-vulkan/VKCommands.h", + "cocos/renderer/gfx-vulkan/VKContext.cpp", + "cocos/renderer/gfx-vulkan/VKContext.h", + "cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp", + "cocos/renderer/gfx-vulkan/VKDescriptorSet.h", + "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp", + "cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h", + "cocos/renderer/gfx-vulkan/VKDevice.cpp", + "cocos/renderer/gfx-vulkan/VKDevice.h", + "cocos/renderer/gfx-vulkan/VKFramebuffer.cpp", + "cocos/renderer/gfx-vulkan/VKFramebuffer.h", + "cocos/renderer/gfx-vulkan/VKGPUObjects.h", + "cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp", + "cocos/renderer/gfx-vulkan/VKGlobalBarrier.h", + "cocos/renderer/gfx-vulkan/VKInputAssembler.cpp", + "cocos/renderer/gfx-vulkan/VKInputAssembler.h", + "cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp", + "cocos/renderer/gfx-vulkan/VKPipelineLayout.h", + "cocos/renderer/gfx-vulkan/VKPipelineState.cpp", + "cocos/renderer/gfx-vulkan/VKPipelineState.h", + "cocos/renderer/gfx-vulkan/VKQueue.cpp", + "cocos/renderer/gfx-vulkan/VKQueue.h", + "cocos/renderer/gfx-vulkan/VKRenderPass.cpp", + "cocos/renderer/gfx-vulkan/VKRenderPass.h", + "cocos/renderer/gfx-vulkan/VKSPIRV.h", + "cocos/renderer/gfx-vulkan/VKSampler.cpp", + "cocos/renderer/gfx-vulkan/VKSampler.h", + "cocos/renderer/gfx-vulkan/VKShader.cpp", + "cocos/renderer/gfx-vulkan/VKShader.h", + "cocos/renderer/gfx-vulkan/VKStd.cpp", + "cocos/renderer/gfx-vulkan/VKStd.h", + "cocos/renderer/gfx-vulkan/VKTexture.cpp", + "cocos/renderer/gfx-vulkan/VKTexture.h", + "cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp", + "cocos/renderer/gfx-vulkan/VKTextureBarrier.h", + "cocos/renderer/gfx-vulkan/VKUtils.h", + "cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h", + "cocos/renderer/gfx-vulkan/vk_mem_alloc.h", + "cocos/renderer/gfx-vulkan/volk.c", + "cocos/renderer/gfx-vulkan/volk.h", + "cocos/renderer/pipeline/BatchedBuffer.cpp", + "cocos/renderer/pipeline/BatchedBuffer.h", + "cocos/renderer/pipeline/Define.cpp", + "cocos/renderer/pipeline/Define.h", + "cocos/renderer/pipeline/InstancedBuffer.cpp", + "cocos/renderer/pipeline/InstancedBuffer.h", + "cocos/renderer/pipeline/PipelineSceneData.cpp", + "cocos/renderer/pipeline/PipelineSceneData.h", + "cocos/renderer/pipeline/PipelineStateManager.cpp", + "cocos/renderer/pipeline/PipelineStateManager.h", + "cocos/renderer/pipeline/PipelineUBO.cpp", + "cocos/renderer/pipeline/PipelineUBO.h", + "cocos/renderer/pipeline/PlanarShadowQueue.cpp", + "cocos/renderer/pipeline/PlanarShadowQueue.h", + "cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp", + "cocos/renderer/pipeline/RenderAdditiveLightQueue.h", + "cocos/renderer/pipeline/RenderBatchedQueue.cpp", + "cocos/renderer/pipeline/RenderBatchedQueue.h", + "cocos/renderer/pipeline/RenderFlow.cpp", + "cocos/renderer/pipeline/RenderFlow.h", + "cocos/renderer/pipeline/RenderInstancedQueue.cpp", + "cocos/renderer/pipeline/RenderInstancedQueue.h", + "cocos/renderer/pipeline/RenderPipeline.cpp", + "cocos/renderer/pipeline/RenderPipeline.h", + "cocos/renderer/pipeline/RenderQueue.cpp", + "cocos/renderer/pipeline/RenderQueue.h", + "cocos/renderer/pipeline/RenderStage.cpp", + "cocos/renderer/pipeline/RenderStage.h", + "cocos/renderer/pipeline/SceneCulling.cpp", + "cocos/renderer/pipeline/SceneCulling.h", + "cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp", + "cocos/renderer/pipeline/ShadowMapBatchedQueue.h", + "cocos/renderer/pipeline/deferred/DeferredPipeline.cpp", + "cocos/renderer/pipeline/deferred/DeferredPipeline.h", + "cocos/renderer/pipeline/deferred/GbufferFlow.cpp", + "cocos/renderer/pipeline/deferred/GbufferFlow.h", + "cocos/renderer/pipeline/deferred/GbufferStage.cpp", + "cocos/renderer/pipeline/deferred/GbufferStage.h", + "cocos/renderer/pipeline/deferred/LightingFlow.cpp", + "cocos/renderer/pipeline/deferred/LightingFlow.h", + "cocos/renderer/pipeline/deferred/LightingStage.cpp", + "cocos/renderer/pipeline/deferred/LightingStage.h", + "cocos/renderer/pipeline/deferred/PostprocessStage.cpp", + "cocos/renderer/pipeline/deferred/PostprocessStage.h", + "cocos/renderer/pipeline/forward/ForwardFlow.cpp", + "cocos/renderer/pipeline/forward/ForwardFlow.h", + "cocos/renderer/pipeline/forward/ForwardPipeline.cpp", + "cocos/renderer/pipeline/forward/ForwardPipeline.h", + "cocos/renderer/pipeline/forward/ForwardStage.cpp", + "cocos/renderer/pipeline/forward/ForwardStage.h", + "cocos/renderer/pipeline/forward/UIPhase.cpp", + "cocos/renderer/pipeline/forward/UIPhase.h", + "cocos/renderer/pipeline/helper/DefineMap.cpp", + "cocos/renderer/pipeline/helper/DefineMap.h", + "cocos/renderer/pipeline/helper/SharedMemory.cpp", + "cocos/renderer/pipeline/helper/SharedMemory.h", + "cocos/renderer/pipeline/shadow/ShadowFlow.cpp", + "cocos/renderer/pipeline/shadow/ShadowFlow.h", + "cocos/renderer/pipeline/shadow/ShadowStage.cpp", + "cocos/renderer/pipeline/shadow/ShadowStage.h", + "cocos/storage/local-storage/LocalStorage-android.cpp", + "cocos/storage/local-storage/LocalStorage.cpp", + "cocos/storage/local-storage/LocalStorage.h", + "cocos/ui/edit-box/EditBox-android.cpp", + "cocos/ui/edit-box/EditBox-ios.mm", + "cocos/ui/edit-box/EditBox-mac.mm", + "cocos/ui/edit-box/EditBox-win32.cpp", + "cocos/ui/edit-box/EditBox.h", + "cocos/ui/videoplayer/VideoPlayer-android.cpp", + "cocos/ui/videoplayer/VideoPlayer-ios.mm", + "cocos/ui/videoplayer/VideoPlayer.h", + "cocos/ui/webview/WebView-inl.h", + "cocos/ui/webview/WebView.h", + "cocos/ui/webview/WebViewImpl-android.cpp", + "cocos/ui/webview/WebViewImpl-android.h", + "cocos/ui/webview/WebViewImpl-ios.h", + "cocos/ui/webview/WebViewImpl-ios.mm", + "extensions/ExtensionExport.h", + "extensions/ExtensionMacros.h", + "extensions/assets-manager/AssetsManagerEx.cpp", + "extensions/assets-manager/AssetsManagerEx.h", + "extensions/assets-manager/AsyncTaskPool.cpp", + "extensions/assets-manager/AsyncTaskPool.h", + "extensions/assets-manager/EventAssetsManagerEx.cpp", + "extensions/assets-manager/EventAssetsManagerEx.h", + "extensions/assets-manager/Manifest.cpp", + "extensions/assets-manager/Manifest.h", + "extensions/cocos-ext.h", + "external/CMakeLists.txt", + "external/android/CMakeLists.txt", + "external/android/arm64-v8a/glslang/libOGLCompiler.a", + "external/android/arm64-v8a/glslang/libOSDependent.a", + "external/android/arm64-v8a/glslang/libSPIRV.a", + "external/android/arm64-v8a/glslang/libglslang-default-resource-limits.a", + "external/android/arm64-v8a/glslang/libglslang.a", + "external/android/arm64-v8a/include/StandAlone/ResourceLimits.h", + "external/android/arm64-v8a/include/StandAlone/resource_limits_c.h", + "external/android/arm64-v8a/include/freetype/config/ftconfig.h", + "external/android/arm64-v8a/include/freetype/config/ftheader.h", + "external/android/arm64-v8a/include/freetype/config/ftmodule.h", + "external/android/arm64-v8a/include/freetype/config/ftoption.h", + "external/android/arm64-v8a/include/freetype/config/ftstdlib.h", + "external/android/arm64-v8a/include/freetype/freetype.h", + "external/android/arm64-v8a/include/freetype/ft2build.h", + "external/android/arm64-v8a/include/freetype/ftadvanc.h", + "external/android/arm64-v8a/include/freetype/ftautoh.h", + "external/android/arm64-v8a/include/freetype/ftbbox.h", + "external/android/arm64-v8a/include/freetype/ftbdf.h", + "external/android/arm64-v8a/include/freetype/ftbitmap.h", + "external/android/arm64-v8a/include/freetype/ftbzip2.h", + "external/android/arm64-v8a/include/freetype/ftcache.h", + "external/android/arm64-v8a/include/freetype/ftcffdrv.h", + "external/android/arm64-v8a/include/freetype/ftchapters.h", + "external/android/arm64-v8a/include/freetype/ftcid.h", + "external/android/arm64-v8a/include/freetype/fterrdef.h", + "external/android/arm64-v8a/include/freetype/fterrors.h", + "external/android/arm64-v8a/include/freetype/ftfntfmt.h", + "external/android/arm64-v8a/include/freetype/ftgasp.h", + "external/android/arm64-v8a/include/freetype/ftglyph.h", + "external/android/arm64-v8a/include/freetype/ftgxval.h", + "external/android/arm64-v8a/include/freetype/ftgzip.h", + "external/android/arm64-v8a/include/freetype/ftimage.h", + "external/android/arm64-v8a/include/freetype/ftincrem.h", + "external/android/arm64-v8a/include/freetype/ftlcdfil.h", + "external/android/arm64-v8a/include/freetype/ftlist.h", + "external/android/arm64-v8a/include/freetype/ftlzw.h", + "external/android/arm64-v8a/include/freetype/ftmac.h", + "external/android/arm64-v8a/include/freetype/ftmm.h", + "external/android/arm64-v8a/include/freetype/ftmodapi.h", + "external/android/arm64-v8a/include/freetype/ftmoderr.h", + "external/android/arm64-v8a/include/freetype/ftotval.h", + "external/android/arm64-v8a/include/freetype/ftoutln.h", + "external/android/arm64-v8a/include/freetype/ftpfr.h", + "external/android/arm64-v8a/include/freetype/ftrender.h", + "external/android/arm64-v8a/include/freetype/ftsizes.h", + "external/android/arm64-v8a/include/freetype/ftsnames.h", + "external/android/arm64-v8a/include/freetype/ftstroke.h", + "external/android/arm64-v8a/include/freetype/ftsynth.h", + "external/android/arm64-v8a/include/freetype/ftsystem.h", + "external/android/arm64-v8a/include/freetype/fttrigon.h", + "external/android/arm64-v8a/include/freetype/ftttdrv.h", + "external/android/arm64-v8a/include/freetype/fttypes.h", + "external/android/arm64-v8a/include/freetype/ftwinfnt.h", + "external/android/arm64-v8a/include/freetype/t1tables.h", + "external/android/arm64-v8a/include/freetype/ttnameid.h", + "external/android/arm64-v8a/include/freetype/tttables.h", + "external/android/arm64-v8a/include/freetype/tttags.h", + "external/android/arm64-v8a/include/freetype/ttunpat.h", + "external/android/arm64-v8a/include/glslang/Include/BaseTypes.h", + "external/android/arm64-v8a/include/glslang/Include/Common.h", + "external/android/arm64-v8a/include/glslang/Include/ConstantUnion.h", + "external/android/arm64-v8a/include/glslang/Include/InfoSink.h", + "external/android/arm64-v8a/include/glslang/Include/InitializeGlobals.h", + "external/android/arm64-v8a/include/glslang/Include/PoolAlloc.h", + "external/android/arm64-v8a/include/glslang/Include/ResourceLimits.h", + "external/android/arm64-v8a/include/glslang/Include/ShHandle.h", + "external/android/arm64-v8a/include/glslang/Include/Types.h", + "external/android/arm64-v8a/include/glslang/Include/arrays.h", + "external/android/arm64-v8a/include/glslang/Include/glslang_c_interface.h", + "external/android/arm64-v8a/include/glslang/Include/glslang_c_shader_types.h", + "external/android/arm64-v8a/include/glslang/Include/intermediate.h", + "external/android/arm64-v8a/include/glslang/Include/revision.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/Initialize.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/Scan.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/ScanContext.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/Versions.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/attribute.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/gl_types.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/iomapper.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/localintermediate.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/parseVersions.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/arm64-v8a/include/glslang/MachineIndependent/reflection.h", + "external/android/arm64-v8a/include/glslang/Public/ShaderLang.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GLSL.std.450.h", + "external/android/arm64-v8a/include/glslang/SPIRV/GlslangToSpv.h", + "external/android/arm64-v8a/include/glslang/SPIRV/Logger.h", + "external/android/arm64-v8a/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/android/arm64-v8a/include/glslang/SPIRV/SPVRemapper.h", + "external/android/arm64-v8a/include/glslang/SPIRV/SpvBuilder.h", + "external/android/arm64-v8a/include/glslang/SPIRV/SpvTools.h", + "external/android/arm64-v8a/include/glslang/SPIRV/bitutils.h", + "external/android/arm64-v8a/include/glslang/SPIRV/disassemble.h", + "external/android/arm64-v8a/include/glslang/SPIRV/doc.h", + "external/android/arm64-v8a/include/glslang/SPIRV/hex_float.h", + "external/android/arm64-v8a/include/glslang/SPIRV/spirv.hpp", + "external/android/arm64-v8a/include/glslang/SPIRV/spvIR.h", + "external/android/arm64-v8a/include/jpeg/jconfig.h", + "external/android/arm64-v8a/include/jpeg/jerror.h", + "external/android/arm64-v8a/include/jpeg/jmorecfg.h", + "external/android/arm64-v8a/include/jpeg/jpeglib.h", + "external/android/arm64-v8a/include/openssl/aes.h", + "external/android/arm64-v8a/include/openssl/asn1.h", + "external/android/arm64-v8a/include/openssl/asn1_mac.h", + "external/android/arm64-v8a/include/openssl/asn1t.h", + "external/android/arm64-v8a/include/openssl/async.h", + "external/android/arm64-v8a/include/openssl/bio.h", + "external/android/arm64-v8a/include/openssl/blowfish.h", + "external/android/arm64-v8a/include/openssl/bn.h", + "external/android/arm64-v8a/include/openssl/buffer.h", + "external/android/arm64-v8a/include/openssl/camellia.h", + "external/android/arm64-v8a/include/openssl/cast.h", + "external/android/arm64-v8a/include/openssl/cmac.h", + "external/android/arm64-v8a/include/openssl/cms.h", + "external/android/arm64-v8a/include/openssl/comp.h", + "external/android/arm64-v8a/include/openssl/conf.h", + "external/android/arm64-v8a/include/openssl/conf_api.h", + "external/android/arm64-v8a/include/openssl/crypto.h", + "external/android/arm64-v8a/include/openssl/ct.h", + "external/android/arm64-v8a/include/openssl/des.h", + "external/android/arm64-v8a/include/openssl/dh.h", + "external/android/arm64-v8a/include/openssl/dsa.h", + "external/android/arm64-v8a/include/openssl/dtls1.h", + "external/android/arm64-v8a/include/openssl/e_os2.h", + "external/android/arm64-v8a/include/openssl/ebcdic.h", + "external/android/arm64-v8a/include/openssl/ec.h", + "external/android/arm64-v8a/include/openssl/ecdh.h", + "external/android/arm64-v8a/include/openssl/ecdsa.h", + "external/android/arm64-v8a/include/openssl/engine.h", + "external/android/arm64-v8a/include/openssl/err.h", + "external/android/arm64-v8a/include/openssl/evp.h", + "external/android/arm64-v8a/include/openssl/hmac.h", + "external/android/arm64-v8a/include/openssl/idea.h", + "external/android/arm64-v8a/include/openssl/kdf.h", + "external/android/arm64-v8a/include/openssl/lhash.h", + "external/android/arm64-v8a/include/openssl/md2.h", + "external/android/arm64-v8a/include/openssl/md4.h", + "external/android/arm64-v8a/include/openssl/md5.h", + "external/android/arm64-v8a/include/openssl/mdc2.h", + "external/android/arm64-v8a/include/openssl/modes.h", + "external/android/arm64-v8a/include/openssl/obj_mac.h", + "external/android/arm64-v8a/include/openssl/objects.h", + "external/android/arm64-v8a/include/openssl/ocsp.h", + "external/android/arm64-v8a/include/openssl/opensslconf-arm32.h", + "external/android/arm64-v8a/include/openssl/opensslconf-arm64.h", + "external/android/arm64-v8a/include/openssl/opensslconf-x86.h", + "external/android/arm64-v8a/include/openssl/opensslconf.h", + "external/android/arm64-v8a/include/openssl/opensslv.h", + "external/android/arm64-v8a/include/openssl/ossl_typ.h", + "external/android/arm64-v8a/include/openssl/pem.h", + "external/android/arm64-v8a/include/openssl/pem2.h", + "external/android/arm64-v8a/include/openssl/pkcs12.h", + "external/android/arm64-v8a/include/openssl/pkcs7.h", + "external/android/arm64-v8a/include/openssl/rand.h", + "external/android/arm64-v8a/include/openssl/rc2.h", + "external/android/arm64-v8a/include/openssl/rc4.h", + "external/android/arm64-v8a/include/openssl/rc5.h", + "external/android/arm64-v8a/include/openssl/ripemd.h", + "external/android/arm64-v8a/include/openssl/rsa.h", + "external/android/arm64-v8a/include/openssl/safestack.h", + "external/android/arm64-v8a/include/openssl/seed.h", + "external/android/arm64-v8a/include/openssl/sha.h", + "external/android/arm64-v8a/include/openssl/srp.h", + "external/android/arm64-v8a/include/openssl/srtp.h", + "external/android/arm64-v8a/include/openssl/ssl.h", + "external/android/arm64-v8a/include/openssl/ssl2.h", + "external/android/arm64-v8a/include/openssl/ssl3.h", + "external/android/arm64-v8a/include/openssl/stack.h", + "external/android/arm64-v8a/include/openssl/symhacks.h", + "external/android/arm64-v8a/include/openssl/tls1.h", + "external/android/arm64-v8a/include/openssl/ts.h", + "external/android/arm64-v8a/include/openssl/txt_db.h", + "external/android/arm64-v8a/include/openssl/ui.h", + "external/android/arm64-v8a/include/openssl/whrlpool.h", + "external/android/arm64-v8a/include/openssl/x509.h", + "external/android/arm64-v8a/include/openssl/x509_vfy.h", + "external/android/arm64-v8a/include/openssl/x509v3.h", + "external/android/arm64-v8a/include/png/png.h", + "external/android/arm64-v8a/include/png/pngconf.h", + "external/android/arm64-v8a/include/png/pnglibconf.h", + "external/android/arm64-v8a/include/uv/pthread-barrier.h", + "external/android/arm64-v8a/include/uv/stdint-msvc2008.h", + "external/android/arm64-v8a/include/uv/tree.h", + "external/android/arm64-v8a/include/uv/uv-aix.h", + "external/android/arm64-v8a/include/uv/uv-bsd.h", + "external/android/arm64-v8a/include/uv/uv-darwin.h", + "external/android/arm64-v8a/include/uv/uv-errno.h", + "external/android/arm64-v8a/include/uv/uv-linux.h", + "external/android/arm64-v8a/include/uv/uv-os390.h", + "external/android/arm64-v8a/include/uv/uv-posix.h", + "external/android/arm64-v8a/include/uv/uv-sunos.h", + "external/android/arm64-v8a/include/uv/uv-threadpool.h", + "external/android/arm64-v8a/include/uv/uv-unix.h", + "external/android/arm64-v8a/include/uv/uv-version.h", + "external/android/arm64-v8a/include/uv/uv-win.h", + "external/android/arm64-v8a/include/uv/uv.h", + "external/android/arm64-v8a/include/v8/APIDesign.md", + "external/android/arm64-v8a/include/v8/DEPS", + "external/android/arm64-v8a/include/v8/OWNERS", + "external/android/arm64-v8a/include/v8/libplatform/DEPS", + "external/android/arm64-v8a/include/v8/libplatform/libplatform-export.h", + "external/android/arm64-v8a/include/v8/libplatform/libplatform.h", + "external/android/arm64-v8a/include/v8/libplatform/v8-tracing.h", + "external/android/arm64-v8a/include/v8/v8-inspector-protocol.h", + "external/android/arm64-v8a/include/v8/v8-inspector.h", + "external/android/arm64-v8a/include/v8/v8-internal.h", + "external/android/arm64-v8a/include/v8/v8-platform.h", + "external/android/arm64-v8a/include/v8/v8-profiler.h", + "external/android/arm64-v8a/include/v8/v8-testing.h", + "external/android/arm64-v8a/include/v8/v8-util.h", + "external/android/arm64-v8a/include/v8/v8-value-serializer-version.h", + "external/android/arm64-v8a/include/v8/v8-version-string.h", + "external/android/arm64-v8a/include/v8/v8-version.h", + "external/android/arm64-v8a/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/arm64-v8a/include/v8/v8-wasm-trap-handler-win.h", + "external/android/arm64-v8a/include/v8/v8.h", + "external/android/arm64-v8a/include/v8/v8config.h", + "external/android/arm64-v8a/include/webp/decode.h", + "external/android/arm64-v8a/include/webp/encode.h", + "external/android/arm64-v8a/include/webp/types.h", + "external/android/arm64-v8a/include/websockets/libwebsockets.h", + "external/android/arm64-v8a/include/websockets/lws_config.h", + "external/android/arm64-v8a/include/zlib/zconf.h", + "external/android/arm64-v8a/include/zlib/zlib.h", + "external/android/arm64-v8a/libcrypto.a", + "external/android/arm64-v8a/libfreetype.a", + "external/android/arm64-v8a/libjpeg.a", + "external/android/arm64-v8a/libpng.a", + "external/android/arm64-v8a/libssl.a", + "external/android/arm64-v8a/libtbb_static.a", + "external/android/arm64-v8a/libtbbmalloc_proxy_static.a", + "external/android/arm64-v8a/libtbbmalloc_static.a", + "external/android/arm64-v8a/libuv.a", + "external/android/arm64-v8a/libwebp.a", + "external/android/arm64-v8a/libwebsockets.a", + "external/android/arm64-v8a/libz.a", + "external/android/arm64-v8a/v8/libinspector.a", + "external/android/arm64-v8a/v8/libv8_monolith.a", + "external/android/armeabi-v7a/glslang/libOGLCompiler.a", + "external/android/armeabi-v7a/glslang/libOSDependent.a", + "external/android/armeabi-v7a/glslang/libSPIRV.a", + "external/android/armeabi-v7a/glslang/libglslang-default-resource-limits.a", + "external/android/armeabi-v7a/glslang/libglslang.a", + "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.AMD.h", + "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.EXT.h", + "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.KHR.h", + "external/android/armeabi-v7a/include/SPIRV/GLSL.ext.NV.h", + "external/android/armeabi-v7a/include/SPIRV/GLSL.std.450.h", + "external/android/armeabi-v7a/include/SPIRV/GlslangToSpv.h", + "external/android/armeabi-v7a/include/SPIRV/Logger.h", + "external/android/armeabi-v7a/include/SPIRV/NonSemanticDebugPrintf.h", + "external/android/armeabi-v7a/include/SPIRV/SPVRemapper.h", + "external/android/armeabi-v7a/include/SPIRV/SpvBuilder.h", + "external/android/armeabi-v7a/include/SPIRV/SpvTools.h", + "external/android/armeabi-v7a/include/SPIRV/bitutils.h", + "external/android/armeabi-v7a/include/SPIRV/disassemble.h", + "external/android/armeabi-v7a/include/SPIRV/doc.h", + "external/android/armeabi-v7a/include/SPIRV/hex_float.h", + "external/android/armeabi-v7a/include/SPIRV/spirv.hpp", + "external/android/armeabi-v7a/include/SPIRV/spvIR.h", + "external/android/armeabi-v7a/include/StandAlone/ResourceLimits.h", + "external/android/armeabi-v7a/include/StandAlone/resource_limits_c.h", + "external/android/armeabi-v7a/include/freetype/config/ftconfig.h", + "external/android/armeabi-v7a/include/freetype/config/ftheader.h", + "external/android/armeabi-v7a/include/freetype/config/ftmodule.h", + "external/android/armeabi-v7a/include/freetype/config/ftoption.h", + "external/android/armeabi-v7a/include/freetype/config/ftstdlib.h", + "external/android/armeabi-v7a/include/freetype/freetype.h", + "external/android/armeabi-v7a/include/freetype/ft2build.h", + "external/android/armeabi-v7a/include/freetype/ftadvanc.h", + "external/android/armeabi-v7a/include/freetype/ftautoh.h", + "external/android/armeabi-v7a/include/freetype/ftbbox.h", + "external/android/armeabi-v7a/include/freetype/ftbdf.h", + "external/android/armeabi-v7a/include/freetype/ftbitmap.h", + "external/android/armeabi-v7a/include/freetype/ftbzip2.h", + "external/android/armeabi-v7a/include/freetype/ftcache.h", + "external/android/armeabi-v7a/include/freetype/ftcffdrv.h", + "external/android/armeabi-v7a/include/freetype/ftchapters.h", + "external/android/armeabi-v7a/include/freetype/ftcid.h", + "external/android/armeabi-v7a/include/freetype/fterrdef.h", + "external/android/armeabi-v7a/include/freetype/fterrors.h", + "external/android/armeabi-v7a/include/freetype/ftfntfmt.h", + "external/android/armeabi-v7a/include/freetype/ftgasp.h", + "external/android/armeabi-v7a/include/freetype/ftglyph.h", + "external/android/armeabi-v7a/include/freetype/ftgxval.h", + "external/android/armeabi-v7a/include/freetype/ftgzip.h", + "external/android/armeabi-v7a/include/freetype/ftimage.h", + "external/android/armeabi-v7a/include/freetype/ftincrem.h", + "external/android/armeabi-v7a/include/freetype/ftlcdfil.h", + "external/android/armeabi-v7a/include/freetype/ftlist.h", + "external/android/armeabi-v7a/include/freetype/ftlzw.h", + "external/android/armeabi-v7a/include/freetype/ftmac.h", + "external/android/armeabi-v7a/include/freetype/ftmm.h", + "external/android/armeabi-v7a/include/freetype/ftmodapi.h", + "external/android/armeabi-v7a/include/freetype/ftmoderr.h", + "external/android/armeabi-v7a/include/freetype/ftotval.h", + "external/android/armeabi-v7a/include/freetype/ftoutln.h", + "external/android/armeabi-v7a/include/freetype/ftpfr.h", + "external/android/armeabi-v7a/include/freetype/ftrender.h", + "external/android/armeabi-v7a/include/freetype/ftsizes.h", + "external/android/armeabi-v7a/include/freetype/ftsnames.h", + "external/android/armeabi-v7a/include/freetype/ftstroke.h", + "external/android/armeabi-v7a/include/freetype/ftsynth.h", + "external/android/armeabi-v7a/include/freetype/ftsystem.h", + "external/android/armeabi-v7a/include/freetype/fttrigon.h", + "external/android/armeabi-v7a/include/freetype/ftttdrv.h", + "external/android/armeabi-v7a/include/freetype/fttypes.h", + "external/android/armeabi-v7a/include/freetype/ftwinfnt.h", + "external/android/armeabi-v7a/include/freetype/t1tables.h", + "external/android/armeabi-v7a/include/freetype/ttnameid.h", + "external/android/armeabi-v7a/include/freetype/tttables.h", + "external/android/armeabi-v7a/include/freetype/tttags.h", + "external/android/armeabi-v7a/include/freetype/ttunpat.h", + "external/android/armeabi-v7a/include/glslang/Include/BaseTypes.h", + "external/android/armeabi-v7a/include/glslang/Include/Common.h", + "external/android/armeabi-v7a/include/glslang/Include/ConstantUnion.h", + "external/android/armeabi-v7a/include/glslang/Include/InfoSink.h", + "external/android/armeabi-v7a/include/glslang/Include/InitializeGlobals.h", + "external/android/armeabi-v7a/include/glslang/Include/PoolAlloc.h", + "external/android/armeabi-v7a/include/glslang/Include/ResourceLimits.h", + "external/android/armeabi-v7a/include/glslang/Include/ShHandle.h", + "external/android/armeabi-v7a/include/glslang/Include/Types.h", + "external/android/armeabi-v7a/include/glslang/Include/arrays.h", + "external/android/armeabi-v7a/include/glslang/Include/glslang_c_interface.h", + "external/android/armeabi-v7a/include/glslang/Include/glslang_c_shader_types.h", + "external/android/armeabi-v7a/include/glslang/Include/intermediate.h", + "external/android/armeabi-v7a/include/glslang/Include/revision.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/Initialize.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/Scan.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/ScanContext.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/Versions.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/attribute.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/gl_types.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/iomapper.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/localintermediate.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/parseVersions.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/armeabi-v7a/include/glslang/MachineIndependent/reflection.h", + "external/android/armeabi-v7a/include/glslang/Public/ShaderLang.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GLSL.std.450.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/GlslangToSpv.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/Logger.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/SPVRemapper.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/SpvBuilder.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/SpvTools.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/bitutils.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/disassemble.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/doc.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/hex_float.h", + "external/android/armeabi-v7a/include/glslang/SPIRV/spirv.hpp", + "external/android/armeabi-v7a/include/glslang/SPIRV/spvIR.h", + "external/android/armeabi-v7a/include/jpeg/jconfig.h", + "external/android/armeabi-v7a/include/jpeg/jerror.h", + "external/android/armeabi-v7a/include/jpeg/jmorecfg.h", + "external/android/armeabi-v7a/include/jpeg/jpeglib.h", + "external/android/armeabi-v7a/include/openssl/aes.h", + "external/android/armeabi-v7a/include/openssl/asn1.h", + "external/android/armeabi-v7a/include/openssl/asn1_mac.h", + "external/android/armeabi-v7a/include/openssl/asn1t.h", + "external/android/armeabi-v7a/include/openssl/async.h", + "external/android/armeabi-v7a/include/openssl/bio.h", + "external/android/armeabi-v7a/include/openssl/blowfish.h", + "external/android/armeabi-v7a/include/openssl/bn.h", + "external/android/armeabi-v7a/include/openssl/buffer.h", + "external/android/armeabi-v7a/include/openssl/camellia.h", + "external/android/armeabi-v7a/include/openssl/cast.h", + "external/android/armeabi-v7a/include/openssl/cmac.h", + "external/android/armeabi-v7a/include/openssl/cms.h", + "external/android/armeabi-v7a/include/openssl/comp.h", + "external/android/armeabi-v7a/include/openssl/conf.h", + "external/android/armeabi-v7a/include/openssl/conf_api.h", + "external/android/armeabi-v7a/include/openssl/crypto.h", + "external/android/armeabi-v7a/include/openssl/ct.h", + "external/android/armeabi-v7a/include/openssl/des.h", + "external/android/armeabi-v7a/include/openssl/dh.h", + "external/android/armeabi-v7a/include/openssl/dsa.h", + "external/android/armeabi-v7a/include/openssl/dtls1.h", + "external/android/armeabi-v7a/include/openssl/e_os2.h", + "external/android/armeabi-v7a/include/openssl/ebcdic.h", + "external/android/armeabi-v7a/include/openssl/ec.h", + "external/android/armeabi-v7a/include/openssl/ecdh.h", + "external/android/armeabi-v7a/include/openssl/ecdsa.h", + "external/android/armeabi-v7a/include/openssl/engine.h", + "external/android/armeabi-v7a/include/openssl/err.h", + "external/android/armeabi-v7a/include/openssl/evp.h", + "external/android/armeabi-v7a/include/openssl/hmac.h", + "external/android/armeabi-v7a/include/openssl/idea.h", + "external/android/armeabi-v7a/include/openssl/kdf.h", + "external/android/armeabi-v7a/include/openssl/lhash.h", + "external/android/armeabi-v7a/include/openssl/md2.h", + "external/android/armeabi-v7a/include/openssl/md4.h", + "external/android/armeabi-v7a/include/openssl/md5.h", + "external/android/armeabi-v7a/include/openssl/mdc2.h", + "external/android/armeabi-v7a/include/openssl/modes.h", + "external/android/armeabi-v7a/include/openssl/obj_mac.h", + "external/android/armeabi-v7a/include/openssl/objects.h", + "external/android/armeabi-v7a/include/openssl/ocsp.h", + "external/android/armeabi-v7a/include/openssl/opensslconf-arm32.h", + "external/android/armeabi-v7a/include/openssl/opensslconf-arm64.h", + "external/android/armeabi-v7a/include/openssl/opensslconf-x86.h", + "external/android/armeabi-v7a/include/openssl/opensslconf.h", + "external/android/armeabi-v7a/include/openssl/opensslv.h", + "external/android/armeabi-v7a/include/openssl/ossl_typ.h", + "external/android/armeabi-v7a/include/openssl/pem.h", + "external/android/armeabi-v7a/include/openssl/pem2.h", + "external/android/armeabi-v7a/include/openssl/pkcs12.h", + "external/android/armeabi-v7a/include/openssl/pkcs7.h", + "external/android/armeabi-v7a/include/openssl/rand.h", + "external/android/armeabi-v7a/include/openssl/rc2.h", + "external/android/armeabi-v7a/include/openssl/rc4.h", + "external/android/armeabi-v7a/include/openssl/rc5.h", + "external/android/armeabi-v7a/include/openssl/ripemd.h", + "external/android/armeabi-v7a/include/openssl/rsa.h", + "external/android/armeabi-v7a/include/openssl/safestack.h", + "external/android/armeabi-v7a/include/openssl/seed.h", + "external/android/armeabi-v7a/include/openssl/sha.h", + "external/android/armeabi-v7a/include/openssl/srp.h", + "external/android/armeabi-v7a/include/openssl/srtp.h", + "external/android/armeabi-v7a/include/openssl/ssl.h", + "external/android/armeabi-v7a/include/openssl/ssl2.h", + "external/android/armeabi-v7a/include/openssl/ssl3.h", + "external/android/armeabi-v7a/include/openssl/stack.h", + "external/android/armeabi-v7a/include/openssl/symhacks.h", + "external/android/armeabi-v7a/include/openssl/tls1.h", + "external/android/armeabi-v7a/include/openssl/ts.h", + "external/android/armeabi-v7a/include/openssl/txt_db.h", + "external/android/armeabi-v7a/include/openssl/ui.h", + "external/android/armeabi-v7a/include/openssl/whrlpool.h", + "external/android/armeabi-v7a/include/openssl/x509.h", + "external/android/armeabi-v7a/include/openssl/x509_vfy.h", + "external/android/armeabi-v7a/include/openssl/x509v3.h", + "external/android/armeabi-v7a/include/png/png.h", + "external/android/armeabi-v7a/include/png/pngconf.h", + "external/android/armeabi-v7a/include/png/pnglibconf.h", + "external/android/armeabi-v7a/include/uv/pthread-barrier.h", + "external/android/armeabi-v7a/include/uv/stdint-msvc2008.h", + "external/android/armeabi-v7a/include/uv/tree.h", + "external/android/armeabi-v7a/include/uv/uv-aix.h", + "external/android/armeabi-v7a/include/uv/uv-bsd.h", + "external/android/armeabi-v7a/include/uv/uv-darwin.h", + "external/android/armeabi-v7a/include/uv/uv-errno.h", + "external/android/armeabi-v7a/include/uv/uv-linux.h", + "external/android/armeabi-v7a/include/uv/uv-os390.h", + "external/android/armeabi-v7a/include/uv/uv-posix.h", + "external/android/armeabi-v7a/include/uv/uv-sunos.h", + "external/android/armeabi-v7a/include/uv/uv-threadpool.h", + "external/android/armeabi-v7a/include/uv/uv-unix.h", + "external/android/armeabi-v7a/include/uv/uv-version.h", + "external/android/armeabi-v7a/include/uv/uv-win.h", + "external/android/armeabi-v7a/include/uv/uv.h", + "external/android/armeabi-v7a/include/v8/APIDesign.md", + "external/android/armeabi-v7a/include/v8/DEPS", + "external/android/armeabi-v7a/include/v8/OWNERS", + "external/android/armeabi-v7a/include/v8/libplatform/DEPS", + "external/android/armeabi-v7a/include/v8/libplatform/libplatform-export.h", + "external/android/armeabi-v7a/include/v8/libplatform/libplatform.h", + "external/android/armeabi-v7a/include/v8/libplatform/v8-tracing.h", + "external/android/armeabi-v7a/include/v8/v8-inspector-protocol.h", + "external/android/armeabi-v7a/include/v8/v8-inspector.h", + "external/android/armeabi-v7a/include/v8/v8-internal.h", + "external/android/armeabi-v7a/include/v8/v8-platform.h", + "external/android/armeabi-v7a/include/v8/v8-profiler.h", + "external/android/armeabi-v7a/include/v8/v8-testing.h", + "external/android/armeabi-v7a/include/v8/v8-util.h", + "external/android/armeabi-v7a/include/v8/v8-value-serializer-version.h", + "external/android/armeabi-v7a/include/v8/v8-version-string.h", + "external/android/armeabi-v7a/include/v8/v8-version.h", + "external/android/armeabi-v7a/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/armeabi-v7a/include/v8/v8-wasm-trap-handler-win.h", + "external/android/armeabi-v7a/include/v8/v8.h", + "external/android/armeabi-v7a/include/v8/v8config.h", + "external/android/armeabi-v7a/include/webp/decode.h", + "external/android/armeabi-v7a/include/webp/encode.h", + "external/android/armeabi-v7a/include/webp/types.h", + "external/android/armeabi-v7a/include/websockets/libwebsockets.h", + "external/android/armeabi-v7a/include/websockets/lws_config.h", + "external/android/armeabi-v7a/include/zlib/zconf.h", + "external/android/armeabi-v7a/include/zlib/zlib.h", + "external/android/armeabi-v7a/libcrypto.a", + "external/android/armeabi-v7a/libfreetype.a", + "external/android/armeabi-v7a/libjpeg.a", + "external/android/armeabi-v7a/libpng.a", + "external/android/armeabi-v7a/libssl.a", + "external/android/armeabi-v7a/libtbb_static.a", + "external/android/armeabi-v7a/libtbbmalloc_proxy_static.a", + "external/android/armeabi-v7a/libtbbmalloc_static.a", + "external/android/armeabi-v7a/libuv.a", + "external/android/armeabi-v7a/libwebp.a", + "external/android/armeabi-v7a/libwebsockets.a", + "external/android/armeabi-v7a/libz.a", + "external/android/armeabi-v7a/v8/libinspector.a", + "external/android/armeabi-v7a/v8/libv8_monolith.a", + "external/android/x86/glslang/libOGLCompiler.a", + "external/android/x86/glslang/libOSDependent.a", + "external/android/x86/glslang/libSPIRV.a", + "external/android/x86/glslang/libglslang-default-resource-limits.a", + "external/android/x86/glslang/libglslang.a", + "external/android/x86/include/SPIRV/GLSL.ext.AMD.h", + "external/android/x86/include/SPIRV/GLSL.ext.EXT.h", + "external/android/x86/include/SPIRV/GLSL.ext.KHR.h", + "external/android/x86/include/SPIRV/GLSL.ext.NV.h", + "external/android/x86/include/SPIRV/GLSL.std.450.h", + "external/android/x86/include/SPIRV/GlslangToSpv.h", + "external/android/x86/include/SPIRV/Logger.h", + "external/android/x86/include/SPIRV/NonSemanticDebugPrintf.h", + "external/android/x86/include/SPIRV/SPVRemapper.h", + "external/android/x86/include/SPIRV/SpvBuilder.h", + "external/android/x86/include/SPIRV/SpvTools.h", + "external/android/x86/include/SPIRV/bitutils.h", + "external/android/x86/include/SPIRV/disassemble.h", + "external/android/x86/include/SPIRV/doc.h", + "external/android/x86/include/SPIRV/hex_float.h", + "external/android/x86/include/SPIRV/spirv.hpp", + "external/android/x86/include/SPIRV/spvIR.h", + "external/android/x86/include/StandAlone/ResourceLimits.h", + "external/android/x86/include/StandAlone/resource_limits_c.h", + "external/android/x86/include/freetype/config/ftconfig.h", + "external/android/x86/include/freetype/config/ftheader.h", + "external/android/x86/include/freetype/config/ftmodule.h", + "external/android/x86/include/freetype/config/ftoption.h", + "external/android/x86/include/freetype/config/ftstdlib.h", + "external/android/x86/include/freetype/freetype.h", + "external/android/x86/include/freetype/ft2build.h", + "external/android/x86/include/freetype/ftadvanc.h", + "external/android/x86/include/freetype/ftautoh.h", + "external/android/x86/include/freetype/ftbbox.h", + "external/android/x86/include/freetype/ftbdf.h", + "external/android/x86/include/freetype/ftbitmap.h", + "external/android/x86/include/freetype/ftbzip2.h", + "external/android/x86/include/freetype/ftcache.h", + "external/android/x86/include/freetype/ftcffdrv.h", + "external/android/x86/include/freetype/ftchapters.h", + "external/android/x86/include/freetype/ftcid.h", + "external/android/x86/include/freetype/fterrdef.h", + "external/android/x86/include/freetype/fterrors.h", + "external/android/x86/include/freetype/ftfntfmt.h", + "external/android/x86/include/freetype/ftgasp.h", + "external/android/x86/include/freetype/ftglyph.h", + "external/android/x86/include/freetype/ftgxval.h", + "external/android/x86/include/freetype/ftgzip.h", + "external/android/x86/include/freetype/ftimage.h", + "external/android/x86/include/freetype/ftincrem.h", + "external/android/x86/include/freetype/ftlcdfil.h", + "external/android/x86/include/freetype/ftlist.h", + "external/android/x86/include/freetype/ftlzw.h", + "external/android/x86/include/freetype/ftmac.h", + "external/android/x86/include/freetype/ftmm.h", + "external/android/x86/include/freetype/ftmodapi.h", + "external/android/x86/include/freetype/ftmoderr.h", + "external/android/x86/include/freetype/ftotval.h", + "external/android/x86/include/freetype/ftoutln.h", + "external/android/x86/include/freetype/ftpfr.h", + "external/android/x86/include/freetype/ftrender.h", + "external/android/x86/include/freetype/ftsizes.h", + "external/android/x86/include/freetype/ftsnames.h", + "external/android/x86/include/freetype/ftstroke.h", + "external/android/x86/include/freetype/ftsynth.h", + "external/android/x86/include/freetype/ftsystem.h", + "external/android/x86/include/freetype/fttrigon.h", + "external/android/x86/include/freetype/ftttdrv.h", + "external/android/x86/include/freetype/fttypes.h", + "external/android/x86/include/freetype/ftwinfnt.h", + "external/android/x86/include/freetype/t1tables.h", + "external/android/x86/include/freetype/ttnameid.h", + "external/android/x86/include/freetype/tttables.h", + "external/android/x86/include/freetype/tttags.h", + "external/android/x86/include/freetype/ttunpat.h", + "external/android/x86/include/glslang/Include/BaseTypes.h", + "external/android/x86/include/glslang/Include/Common.h", + "external/android/x86/include/glslang/Include/ConstantUnion.h", + "external/android/x86/include/glslang/Include/InfoSink.h", + "external/android/x86/include/glslang/Include/InitializeGlobals.h", + "external/android/x86/include/glslang/Include/PoolAlloc.h", + "external/android/x86/include/glslang/Include/ResourceLimits.h", + "external/android/x86/include/glslang/Include/ShHandle.h", + "external/android/x86/include/glslang/Include/Types.h", + "external/android/x86/include/glslang/Include/arrays.h", + "external/android/x86/include/glslang/Include/glslang_c_interface.h", + "external/android/x86/include/glslang/Include/glslang_c_shader_types.h", + "external/android/x86/include/glslang/Include/intermediate.h", + "external/android/x86/include/glslang/Include/revision.h", + "external/android/x86/include/glslang/MachineIndependent/Initialize.h", + "external/android/x86/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/x86/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/x86/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/x86/include/glslang/MachineIndependent/Scan.h", + "external/android/x86/include/glslang/MachineIndependent/ScanContext.h", + "external/android/x86/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/x86/include/glslang/MachineIndependent/Versions.h", + "external/android/x86/include/glslang/MachineIndependent/attribute.h", + "external/android/x86/include/glslang/MachineIndependent/gl_types.h", + "external/android/x86/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/x86/include/glslang/MachineIndependent/iomapper.h", + "external/android/x86/include/glslang/MachineIndependent/localintermediate.h", + "external/android/x86/include/glslang/MachineIndependent/parseVersions.h", + "external/android/x86/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/x86/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/x86/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/x86/include/glslang/MachineIndependent/reflection.h", + "external/android/x86/include/glslang/Public/ShaderLang.h", + "external/android/x86/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/android/x86/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/android/x86/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/android/x86/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/android/x86/include/glslang/SPIRV/GLSL.std.450.h", + "external/android/x86/include/glslang/SPIRV/GlslangToSpv.h", + "external/android/x86/include/glslang/SPIRV/Logger.h", + "external/android/x86/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/android/x86/include/glslang/SPIRV/SPVRemapper.h", + "external/android/x86/include/glslang/SPIRV/SpvBuilder.h", + "external/android/x86/include/glslang/SPIRV/SpvTools.h", + "external/android/x86/include/glslang/SPIRV/bitutils.h", + "external/android/x86/include/glslang/SPIRV/disassemble.h", + "external/android/x86/include/glslang/SPIRV/doc.h", + "external/android/x86/include/glslang/SPIRV/hex_float.h", + "external/android/x86/include/glslang/SPIRV/spirv.hpp", + "external/android/x86/include/glslang/SPIRV/spvIR.h", + "external/android/x86/include/jpeg/jconfig.h", + "external/android/x86/include/jpeg/jerror.h", + "external/android/x86/include/jpeg/jmorecfg.h", + "external/android/x86/include/jpeg/jpeglib.h", + "external/android/x86/include/openssl/aes.h", + "external/android/x86/include/openssl/asn1.h", + "external/android/x86/include/openssl/asn1_mac.h", + "external/android/x86/include/openssl/asn1t.h", + "external/android/x86/include/openssl/async.h", + "external/android/x86/include/openssl/bio.h", + "external/android/x86/include/openssl/blowfish.h", + "external/android/x86/include/openssl/bn.h", + "external/android/x86/include/openssl/buffer.h", + "external/android/x86/include/openssl/camellia.h", + "external/android/x86/include/openssl/cast.h", + "external/android/x86/include/openssl/cmac.h", + "external/android/x86/include/openssl/cms.h", + "external/android/x86/include/openssl/comp.h", + "external/android/x86/include/openssl/conf.h", + "external/android/x86/include/openssl/conf_api.h", + "external/android/x86/include/openssl/crypto.h", + "external/android/x86/include/openssl/ct.h", + "external/android/x86/include/openssl/des.h", + "external/android/x86/include/openssl/dh.h", + "external/android/x86/include/openssl/dsa.h", + "external/android/x86/include/openssl/dtls1.h", + "external/android/x86/include/openssl/e_os2.h", + "external/android/x86/include/openssl/ebcdic.h", + "external/android/x86/include/openssl/ec.h", + "external/android/x86/include/openssl/ecdh.h", + "external/android/x86/include/openssl/ecdsa.h", + "external/android/x86/include/openssl/engine.h", + "external/android/x86/include/openssl/err.h", + "external/android/x86/include/openssl/evp.h", + "external/android/x86/include/openssl/hmac.h", + "external/android/x86/include/openssl/idea.h", + "external/android/x86/include/openssl/kdf.h", + "external/android/x86/include/openssl/lhash.h", + "external/android/x86/include/openssl/md2.h", + "external/android/x86/include/openssl/md4.h", + "external/android/x86/include/openssl/md5.h", + "external/android/x86/include/openssl/mdc2.h", + "external/android/x86/include/openssl/modes.h", + "external/android/x86/include/openssl/obj_mac.h", + "external/android/x86/include/openssl/objects.h", + "external/android/x86/include/openssl/ocsp.h", + "external/android/x86/include/openssl/opensslconf-arm32.h", + "external/android/x86/include/openssl/opensslconf-arm64.h", + "external/android/x86/include/openssl/opensslconf-x86.h", + "external/android/x86/include/openssl/opensslconf.h", + "external/android/x86/include/openssl/opensslv.h", + "external/android/x86/include/openssl/ossl_typ.h", + "external/android/x86/include/openssl/pem.h", + "external/android/x86/include/openssl/pem2.h", + "external/android/x86/include/openssl/pkcs12.h", + "external/android/x86/include/openssl/pkcs7.h", + "external/android/x86/include/openssl/rand.h", + "external/android/x86/include/openssl/rc2.h", + "external/android/x86/include/openssl/rc4.h", + "external/android/x86/include/openssl/rc5.h", + "external/android/x86/include/openssl/ripemd.h", + "external/android/x86/include/openssl/rsa.h", + "external/android/x86/include/openssl/safestack.h", + "external/android/x86/include/openssl/seed.h", + "external/android/x86/include/openssl/sha.h", + "external/android/x86/include/openssl/srp.h", + "external/android/x86/include/openssl/srtp.h", + "external/android/x86/include/openssl/ssl.h", + "external/android/x86/include/openssl/ssl2.h", + "external/android/x86/include/openssl/ssl3.h", + "external/android/x86/include/openssl/stack.h", + "external/android/x86/include/openssl/symhacks.h", + "external/android/x86/include/openssl/tls1.h", + "external/android/x86/include/openssl/ts.h", + "external/android/x86/include/openssl/txt_db.h", + "external/android/x86/include/openssl/ui.h", + "external/android/x86/include/openssl/whrlpool.h", + "external/android/x86/include/openssl/x509.h", + "external/android/x86/include/openssl/x509_vfy.h", + "external/android/x86/include/openssl/x509v3.h", + "external/android/x86/include/png/png.h", + "external/android/x86/include/png/pngconf.h", + "external/android/x86/include/png/pnglibconf.h", + "external/android/x86/include/uv/pthread-barrier.h", + "external/android/x86/include/uv/stdint-msvc2008.h", + "external/android/x86/include/uv/tree.h", + "external/android/x86/include/uv/uv-aix.h", + "external/android/x86/include/uv/uv-bsd.h", + "external/android/x86/include/uv/uv-darwin.h", + "external/android/x86/include/uv/uv-errno.h", + "external/android/x86/include/uv/uv-linux.h", + "external/android/x86/include/uv/uv-os390.h", + "external/android/x86/include/uv/uv-posix.h", + "external/android/x86/include/uv/uv-sunos.h", + "external/android/x86/include/uv/uv-threadpool.h", + "external/android/x86/include/uv/uv-unix.h", + "external/android/x86/include/uv/uv-version.h", + "external/android/x86/include/uv/uv-win.h", + "external/android/x86/include/uv/uv.h", + "external/android/x86/include/v8/APIDesign.md", + "external/android/x86/include/v8/DEPS", + "external/android/x86/include/v8/OWNERS", + "external/android/x86/include/v8/libplatform/DEPS", + "external/android/x86/include/v8/libplatform/libplatform-export.h", + "external/android/x86/include/v8/libplatform/libplatform.h", + "external/android/x86/include/v8/libplatform/v8-tracing.h", + "external/android/x86/include/v8/v8-inspector-protocol.h", + "external/android/x86/include/v8/v8-inspector.h", + "external/android/x86/include/v8/v8-internal.h", + "external/android/x86/include/v8/v8-platform.h", + "external/android/x86/include/v8/v8-profiler.h", + "external/android/x86/include/v8/v8-testing.h", + "external/android/x86/include/v8/v8-util.h", + "external/android/x86/include/v8/v8-value-serializer-version.h", + "external/android/x86/include/v8/v8-version-string.h", + "external/android/x86/include/v8/v8-version.h", + "external/android/x86/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/x86/include/v8/v8-wasm-trap-handler-win.h", + "external/android/x86/include/v8/v8.h", + "external/android/x86/include/v8/v8config.h", + "external/android/x86/include/webp/decode.h", + "external/android/x86/include/webp/encode.h", + "external/android/x86/include/webp/types.h", + "external/android/x86/include/websockets/libwebsockets.h", + "external/android/x86/include/websockets/lws_config.h", + "external/android/x86/include/zlib/zconf.h", + "external/android/x86/include/zlib/zlib.h", + "external/android/x86/libcrypto.a", + "external/android/x86/libfreetype.a", + "external/android/x86/libjpeg.a", + "external/android/x86/libpng.a", + "external/android/x86/libssl.a", + "external/android/x86/libtbb_static.a", + "external/android/x86/libtbbmalloc_proxy_static.a", + "external/android/x86/libtbbmalloc_static.a", + "external/android/x86/libuv.a", + "external/android/x86/libwebp.a", + "external/android/x86/libwebsockets.a", + "external/android/x86/libz.a", + "external/android/x86/v8/libinspector.a", + "external/android/x86/v8/libv8_monolith.a", + "external/android/x86_64/glslang/libOGLCompiler.a", + "external/android/x86_64/glslang/libOSDependent.a", + "external/android/x86_64/glslang/libSPIRV.a", + "external/android/x86_64/glslang/libglslang-default-resource-limits.a", + "external/android/x86_64/glslang/libglslang.a", + "external/android/x86_64/include/SPIRV/GLSL.ext.AMD.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.EXT.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.KHR.h", + "external/android/x86_64/include/SPIRV/GLSL.ext.NV.h", + "external/android/x86_64/include/SPIRV/GLSL.std.450.h", + "external/android/x86_64/include/SPIRV/GlslangToSpv.h", + "external/android/x86_64/include/SPIRV/Logger.h", + "external/android/x86_64/include/SPIRV/NonSemanticDebugPrintf.h", + "external/android/x86_64/include/SPIRV/SPVRemapper.h", + "external/android/x86_64/include/SPIRV/SpvBuilder.h", + "external/android/x86_64/include/SPIRV/SpvTools.h", + "external/android/x86_64/include/SPIRV/bitutils.h", + "external/android/x86_64/include/SPIRV/disassemble.h", + "external/android/x86_64/include/SPIRV/doc.h", + "external/android/x86_64/include/SPIRV/hex_float.h", + "external/android/x86_64/include/SPIRV/spirv.hpp", + "external/android/x86_64/include/SPIRV/spvIR.h", + "external/android/x86_64/include/StandAlone/DirStackFileIncluder.h", + "external/android/x86_64/include/StandAlone/ResourceLimits.h", + "external/android/x86_64/include/StandAlone/Worklist.h", + "external/android/x86_64/include/StandAlone/resource_limits_c.h", + "external/android/x86_64/include/freetype/config/ftconfig.h", + "external/android/x86_64/include/freetype/config/ftheader.h", + "external/android/x86_64/include/freetype/config/ftmodule.h", + "external/android/x86_64/include/freetype/config/ftoption.h", + "external/android/x86_64/include/freetype/config/ftstdlib.h", + "external/android/x86_64/include/freetype/freetype.h", + "external/android/x86_64/include/freetype/ftadvanc.h", + "external/android/x86_64/include/freetype/ftautoh.h", + "external/android/x86_64/include/freetype/ftbbox.h", + "external/android/x86_64/include/freetype/ftbdf.h", + "external/android/x86_64/include/freetype/ftbitmap.h", + "external/android/x86_64/include/freetype/ftbzip2.h", + "external/android/x86_64/include/freetype/ftcache.h", + "external/android/x86_64/include/freetype/ftcffdrv.h", + "external/android/x86_64/include/freetype/ftchapters.h", + "external/android/x86_64/include/freetype/ftcid.h", + "external/android/x86_64/include/freetype/fterrdef.h", + "external/android/x86_64/include/freetype/fterrors.h", + "external/android/x86_64/include/freetype/ftfntfmt.h", + "external/android/x86_64/include/freetype/ftgasp.h", + "external/android/x86_64/include/freetype/ftglyph.h", + "external/android/x86_64/include/freetype/ftgxval.h", + "external/android/x86_64/include/freetype/ftgzip.h", + "external/android/x86_64/include/freetype/ftimage.h", + "external/android/x86_64/include/freetype/ftincrem.h", + "external/android/x86_64/include/freetype/ftlcdfil.h", + "external/android/x86_64/include/freetype/ftlist.h", + "external/android/x86_64/include/freetype/ftlzw.h", + "external/android/x86_64/include/freetype/ftmac.h", + "external/android/x86_64/include/freetype/ftmm.h", + "external/android/x86_64/include/freetype/ftmodapi.h", + "external/android/x86_64/include/freetype/ftmoderr.h", + "external/android/x86_64/include/freetype/ftotval.h", + "external/android/x86_64/include/freetype/ftoutln.h", + "external/android/x86_64/include/freetype/ftpfr.h", + "external/android/x86_64/include/freetype/ftrender.h", + "external/android/x86_64/include/freetype/ftsizes.h", + "external/android/x86_64/include/freetype/ftsnames.h", + "external/android/x86_64/include/freetype/ftstroke.h", + "external/android/x86_64/include/freetype/ftsynth.h", + "external/android/x86_64/include/freetype/ftsystem.h", + "external/android/x86_64/include/freetype/fttrigon.h", + "external/android/x86_64/include/freetype/ftttdrv.h", + "external/android/x86_64/include/freetype/fttypes.h", + "external/android/x86_64/include/freetype/ftwinfnt.h", + "external/android/x86_64/include/freetype/t1tables.h", + "external/android/x86_64/include/freetype/ttnameid.h", + "external/android/x86_64/include/freetype/tttables.h", + "external/android/x86_64/include/freetype/tttags.h", + "external/android/x86_64/include/freetype/ttunpat.h", + "external/android/x86_64/include/glslang/Include/BaseTypes.h", + "external/android/x86_64/include/glslang/Include/Common.h", + "external/android/x86_64/include/glslang/Include/ConstantUnion.h", + "external/android/x86_64/include/glslang/Include/InfoSink.h", + "external/android/x86_64/include/glslang/Include/InitializeGlobals.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Initialize.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/LiveTraverser.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/ParseHelper.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/RemoveTree.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Scan.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/ScanContext.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/SymbolTable.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/Versions.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/attribute.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/gl_types.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.m4", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang.y", + "external/android/x86_64/include/glslang/Include/MachineIndependent/glslang_tab.cpp.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/iomapper.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/localintermediate.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/parseVersions.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/pch.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpContext.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/preprocessor/PpTokens.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/propagateNoContraction.h", + "external/android/x86_64/include/glslang/Include/MachineIndependent/reflection.h", + "external/android/x86_64/include/glslang/Include/PoolAlloc.h", + "external/android/x86_64/include/glslang/Include/Public/ShaderLang.h", + "external/android/x86_64/include/glslang/Include/ResourceLimits.h", + "external/android/x86_64/include/glslang/Include/ShHandle.h", + "external/android/x86_64/include/glslang/Include/Types.h", + "external/android/x86_64/include/glslang/Include/arrays.h", + "external/android/x86_64/include/glslang/Include/glslang_c_interface.h", + "external/android/x86_64/include/glslang/Include/glslang_c_shader_types.h", + "external/android/x86_64/include/glslang/Include/intermediate.h", + "external/android/x86_64/include/glslang/MachineIndependent/Initialize.h", + "external/android/x86_64/include/glslang/MachineIndependent/LiveTraverser.h", + "external/android/x86_64/include/glslang/MachineIndependent/ParseHelper.h", + "external/android/x86_64/include/glslang/MachineIndependent/RemoveTree.h", + "external/android/x86_64/include/glslang/MachineIndependent/Scan.h", + "external/android/x86_64/include/glslang/MachineIndependent/ScanContext.h", + "external/android/x86_64/include/glslang/MachineIndependent/SymbolTable.h", + "external/android/x86_64/include/glslang/MachineIndependent/Versions.h", + "external/android/x86_64/include/glslang/MachineIndependent/attribute.h", + "external/android/x86_64/include/glslang/MachineIndependent/gl_types.h", + "external/android/x86_64/include/glslang/MachineIndependent/glslang.m4", + "external/android/x86_64/include/glslang/MachineIndependent/glslang.y", + "external/android/x86_64/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/android/x86_64/include/glslang/MachineIndependent/iomapper.h", + "external/android/x86_64/include/glslang/MachineIndependent/localintermediate.h", + "external/android/x86_64/include/glslang/MachineIndependent/parseVersions.h", + "external/android/x86_64/include/glslang/MachineIndependent/pch.h", + "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/android/x86_64/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/android/x86_64/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/android/x86_64/include/glslang/MachineIndependent/reflection.h", + "external/android/x86_64/include/glslang/Public/ShaderLang.h", + "external/android/x86_64/include/jpeg/jconfig.h", + "external/android/x86_64/include/jpeg/jerror.h", + "external/android/x86_64/include/jpeg/jmorecfg.h", + "external/android/x86_64/include/jpeg/jpeglib.h", + "external/android/x86_64/include/openssl/aes.h", + "external/android/x86_64/include/openssl/asn1.h", + "external/android/x86_64/include/openssl/asn1_mac.h", + "external/android/x86_64/include/openssl/asn1t.h", + "external/android/x86_64/include/openssl/async.h", + "external/android/x86_64/include/openssl/bio.h", + "external/android/x86_64/include/openssl/blowfish.h", + "external/android/x86_64/include/openssl/bn.h", + "external/android/x86_64/include/openssl/buffer.h", + "external/android/x86_64/include/openssl/camellia.h", + "external/android/x86_64/include/openssl/cast.h", + "external/android/x86_64/include/openssl/cmac.h", + "external/android/x86_64/include/openssl/cms.h", + "external/android/x86_64/include/openssl/comp.h", + "external/android/x86_64/include/openssl/conf.h", + "external/android/x86_64/include/openssl/conf_api.h", + "external/android/x86_64/include/openssl/crypto.h", + "external/android/x86_64/include/openssl/ct.h", + "external/android/x86_64/include/openssl/des.h", + "external/android/x86_64/include/openssl/dh.h", + "external/android/x86_64/include/openssl/dsa.h", + "external/android/x86_64/include/openssl/dtls1.h", + "external/android/x86_64/include/openssl/e_os2.h", + "external/android/x86_64/include/openssl/ebcdic.h", + "external/android/x86_64/include/openssl/ec.h", + "external/android/x86_64/include/openssl/ecdh.h", + "external/android/x86_64/include/openssl/ecdsa.h", + "external/android/x86_64/include/openssl/engine.h", + "external/android/x86_64/include/openssl/err.h", + "external/android/x86_64/include/openssl/evp.h", + "external/android/x86_64/include/openssl/hmac.h", + "external/android/x86_64/include/openssl/idea.h", + "external/android/x86_64/include/openssl/kdf.h", + "external/android/x86_64/include/openssl/lhash.h", + "external/android/x86_64/include/openssl/md2.h", + "external/android/x86_64/include/openssl/md4.h", + "external/android/x86_64/include/openssl/md5.h", + "external/android/x86_64/include/openssl/mdc2.h", + "external/android/x86_64/include/openssl/modes.h", + "external/android/x86_64/include/openssl/obj_mac.h", + "external/android/x86_64/include/openssl/objects.h", + "external/android/x86_64/include/openssl/ocsp.h", + "external/android/x86_64/include/openssl/opensslconf-arm32.h", + "external/android/x86_64/include/openssl/opensslconf-arm64.h", + "external/android/x86_64/include/openssl/opensslconf-x86.h", + "external/android/x86_64/include/openssl/opensslconf.h", + "external/android/x86_64/include/openssl/opensslv.h", + "external/android/x86_64/include/openssl/ossl_typ.h", + "external/android/x86_64/include/openssl/pem.h", + "external/android/x86_64/include/openssl/pem2.h", + "external/android/x86_64/include/openssl/pkcs12.h", + "external/android/x86_64/include/openssl/pkcs7.h", + "external/android/x86_64/include/openssl/rand.h", + "external/android/x86_64/include/openssl/rc2.h", + "external/android/x86_64/include/openssl/rc4.h", + "external/android/x86_64/include/openssl/rc5.h", + "external/android/x86_64/include/openssl/ripemd.h", + "external/android/x86_64/include/openssl/rsa.h", + "external/android/x86_64/include/openssl/safestack.h", + "external/android/x86_64/include/openssl/seed.h", + "external/android/x86_64/include/openssl/sha.h", + "external/android/x86_64/include/openssl/srp.h", + "external/android/x86_64/include/openssl/srtp.h", + "external/android/x86_64/include/openssl/ssl.h", + "external/android/x86_64/include/openssl/ssl2.h", + "external/android/x86_64/include/openssl/ssl3.h", + "external/android/x86_64/include/openssl/stack.h", + "external/android/x86_64/include/openssl/symhacks.h", + "external/android/x86_64/include/openssl/tls1.h", + "external/android/x86_64/include/openssl/ts.h", + "external/android/x86_64/include/openssl/txt_db.h", + "external/android/x86_64/include/openssl/ui.h", + "external/android/x86_64/include/openssl/whrlpool.h", + "external/android/x86_64/include/openssl/x509.h", + "external/android/x86_64/include/openssl/x509_vfy.h", + "external/android/x86_64/include/openssl/x509v3.h", + "external/android/x86_64/include/png/png.h", + "external/android/x86_64/include/png/pngconf.h", + "external/android/x86_64/include/png/pnglibconf.h", + "external/android/x86_64/include/uv/pthread-barrier.h", + "external/android/x86_64/include/uv/stdint-msvc2008.h", + "external/android/x86_64/include/uv/tree.h", + "external/android/x86_64/include/uv/uv-aix.h", + "external/android/x86_64/include/uv/uv-bsd.h", + "external/android/x86_64/include/uv/uv-darwin.h", + "external/android/x86_64/include/uv/uv-errno.h", + "external/android/x86_64/include/uv/uv-linux.h", + "external/android/x86_64/include/uv/uv-os390.h", + "external/android/x86_64/include/uv/uv-posix.h", + "external/android/x86_64/include/uv/uv-sunos.h", + "external/android/x86_64/include/uv/uv-threadpool.h", + "external/android/x86_64/include/uv/uv-unix.h", + "external/android/x86_64/include/uv/uv-version.h", + "external/android/x86_64/include/uv/uv-win.h", + "external/android/x86_64/include/uv/uv.h", + "external/android/x86_64/include/v8/APIDesign.md", + "external/android/x86_64/include/v8/DEPS", + "external/android/x86_64/include/v8/OWNERS", + "external/android/x86_64/include/v8/libplatform/DEPS", + "external/android/x86_64/include/v8/libplatform/libplatform-export.h", + "external/android/x86_64/include/v8/libplatform/libplatform.h", + "external/android/x86_64/include/v8/libplatform/v8-tracing.h", + "external/android/x86_64/include/v8/v8-inspector-protocol.h", + "external/android/x86_64/include/v8/v8-inspector.h", + "external/android/x86_64/include/v8/v8-internal.h", + "external/android/x86_64/include/v8/v8-platform.h", + "external/android/x86_64/include/v8/v8-profiler.h", + "external/android/x86_64/include/v8/v8-testing.h", + "external/android/x86_64/include/v8/v8-util.h", + "external/android/x86_64/include/v8/v8-value-serializer-version.h", + "external/android/x86_64/include/v8/v8-version-string.h", + "external/android/x86_64/include/v8/v8-version.h", + "external/android/x86_64/include/v8/v8-wasm-trap-handler-posix.h", + "external/android/x86_64/include/v8/v8-wasm-trap-handler-win.h", + "external/android/x86_64/include/v8/v8.h", + "external/android/x86_64/include/v8/v8config.h", + "external/android/x86_64/include/webp/decode.h", + "external/android/x86_64/include/webp/encode.h", + "external/android/x86_64/include/webp/types.h", + "external/android/x86_64/include/websockets/libwebsockets.h", + "external/android/x86_64/include/websockets/lws_config.h", + "external/android/x86_64/include/zlib/zconf.h", + "external/android/x86_64/include/zlib/zlib.h", + "external/android/x86_64/libcrypto.a", + "external/android/x86_64/libfreetype.a", + "external/android/x86_64/libjpeg.a", + "external/android/x86_64/libpng.a", + "external/android/x86_64/libssl.a", + "external/android/x86_64/libtbb_static.a", + "external/android/x86_64/libtbbmalloc_proxy_static.a", + "external/android/x86_64/libtbbmalloc_static.a", + "external/android/x86_64/libuv.a", + "external/android/x86_64/libwebp.a", + "external/android/x86_64/libwebsockets.a", + "external/android/x86_64/libz.a", + "external/android/x86_64/v8/libinspector.a", + "external/android/x86_64/v8/libv8_monolith.a", + "external/cmake/CocosExternalConfig.cmake", + "external/cmake/scripts/sync_folder.py", + "external/ios/CMakeLists.txt", + "external/ios/include/StandAlone/ResourceLimits.h", + "external/ios/include/StandAlone/resource_limits_c.h", + "external/ios/include/freetype/config/ftconfig.h", + "external/ios/include/freetype/config/ftheader.h", + "external/ios/include/freetype/config/ftmodule.h", + "external/ios/include/freetype/config/ftoption.h", + "external/ios/include/freetype/config/ftstdlib.h", + "external/ios/include/freetype/freetype.h", + "external/ios/include/freetype/ft2build.h", + "external/ios/include/freetype/ftadvanc.h", + "external/ios/include/freetype/ftautoh.h", + "external/ios/include/freetype/ftbbox.h", + "external/ios/include/freetype/ftbdf.h", + "external/ios/include/freetype/ftbitmap.h", + "external/ios/include/freetype/ftbzip2.h", + "external/ios/include/freetype/ftcache.h", + "external/ios/include/freetype/ftcffdrv.h", + "external/ios/include/freetype/ftchapters.h", + "external/ios/include/freetype/ftcid.h", + "external/ios/include/freetype/fterrdef.h", + "external/ios/include/freetype/fterrors.h", + "external/ios/include/freetype/ftfntfmt.h", + "external/ios/include/freetype/ftgasp.h", + "external/ios/include/freetype/ftglyph.h", + "external/ios/include/freetype/ftgxval.h", + "external/ios/include/freetype/ftgzip.h", + "external/ios/include/freetype/ftimage.h", + "external/ios/include/freetype/ftincrem.h", + "external/ios/include/freetype/ftlcdfil.h", + "external/ios/include/freetype/ftlist.h", + "external/ios/include/freetype/ftlzw.h", + "external/ios/include/freetype/ftmac.h", + "external/ios/include/freetype/ftmm.h", + "external/ios/include/freetype/ftmodapi.h", + "external/ios/include/freetype/ftmoderr.h", + "external/ios/include/freetype/ftotval.h", + "external/ios/include/freetype/ftoutln.h", + "external/ios/include/freetype/ftpfr.h", + "external/ios/include/freetype/ftrender.h", + "external/ios/include/freetype/ftsizes.h", + "external/ios/include/freetype/ftsnames.h", + "external/ios/include/freetype/ftstroke.h", + "external/ios/include/freetype/ftsynth.h", + "external/ios/include/freetype/ftsystem.h", + "external/ios/include/freetype/fttrigon.h", + "external/ios/include/freetype/ftttdrv.h", + "external/ios/include/freetype/fttypes.h", + "external/ios/include/freetype/ftwinfnt.h", + "external/ios/include/freetype/t1tables.h", + "external/ios/include/freetype/ttnameid.h", + "external/ios/include/freetype/tttables.h", + "external/ios/include/freetype/tttags.h", + "external/ios/include/freetype/ttunpat.h", + "external/ios/include/glslang/Include/BaseTypes.h", + "external/ios/include/glslang/Include/Common.h", + "external/ios/include/glslang/Include/ConstantUnion.h", + "external/ios/include/glslang/Include/InfoSink.h", + "external/ios/include/glslang/Include/InitializeGlobals.h", + "external/ios/include/glslang/Include/PoolAlloc.h", + "external/ios/include/glslang/Include/ResourceLimits.h", + "external/ios/include/glslang/Include/ShHandle.h", + "external/ios/include/glslang/Include/Types.h", + "external/ios/include/glslang/Include/arrays.h", + "external/ios/include/glslang/Include/glslang_c_interface.h", + "external/ios/include/glslang/Include/glslang_c_shader_types.h", + "external/ios/include/glslang/Include/intermediate.h", + "external/ios/include/glslang/Include/revision.h", + "external/ios/include/glslang/MachineIndependent/Initialize.h", + "external/ios/include/glslang/MachineIndependent/LiveTraverser.h", + "external/ios/include/glslang/MachineIndependent/ParseHelper.h", + "external/ios/include/glslang/MachineIndependent/RemoveTree.h", + "external/ios/include/glslang/MachineIndependent/Scan.h", + "external/ios/include/glslang/MachineIndependent/ScanContext.h", + "external/ios/include/glslang/MachineIndependent/SymbolTable.h", + "external/ios/include/glslang/MachineIndependent/Versions.h", + "external/ios/include/glslang/MachineIndependent/attribute.h", + "external/ios/include/glslang/MachineIndependent/gl_types.h", + "external/ios/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/ios/include/glslang/MachineIndependent/iomapper.h", + "external/ios/include/glslang/MachineIndependent/localintermediate.h", + "external/ios/include/glslang/MachineIndependent/parseVersions.h", + "external/ios/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/ios/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/ios/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/ios/include/glslang/MachineIndependent/reflection.h", + "external/ios/include/glslang/Public/ShaderLang.h", + "external/ios/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/ios/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/ios/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/ios/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/ios/include/glslang/SPIRV/GLSL.std.450.h", + "external/ios/include/glslang/SPIRV/GlslangToSpv.h", + "external/ios/include/glslang/SPIRV/Logger.h", + "external/ios/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/ios/include/glslang/SPIRV/SPVRemapper.h", + "external/ios/include/glslang/SPIRV/SpvBuilder.h", + "external/ios/include/glslang/SPIRV/SpvTools.h", + "external/ios/include/glslang/SPIRV/bitutils.h", + "external/ios/include/glslang/SPIRV/disassemble.h", + "external/ios/include/glslang/SPIRV/doc.h", + "external/ios/include/glslang/SPIRV/hex_float.h", + "external/ios/include/glslang/SPIRV/spirv.hpp", + "external/ios/include/glslang/SPIRV/spvIR.h", + "external/ios/include/jpeg/jconfig.h", + "external/ios/include/jpeg/jerror.h", + "external/ios/include/jpeg/jmorecfg.h", + "external/ios/include/jpeg/jpeglib.h", + "external/ios/include/openssl/aes.h", + "external/ios/include/openssl/asn1.h", + "external/ios/include/openssl/asn1_mac.h", + "external/ios/include/openssl/asn1t.h", + "external/ios/include/openssl/async.h", + "external/ios/include/openssl/bio.h", + "external/ios/include/openssl/blowfish.h", + "external/ios/include/openssl/bn.h", + "external/ios/include/openssl/buffer.h", + "external/ios/include/openssl/camellia.h", + "external/ios/include/openssl/cast.h", + "external/ios/include/openssl/cmac.h", + "external/ios/include/openssl/cms.h", + "external/ios/include/openssl/comp.h", + "external/ios/include/openssl/conf.h", + "external/ios/include/openssl/conf_api.h", + "external/ios/include/openssl/crypto.h", + "external/ios/include/openssl/ct.h", + "external/ios/include/openssl/des.h", + "external/ios/include/openssl/dh.h", + "external/ios/include/openssl/dsa.h", + "external/ios/include/openssl/dtls1.h", + "external/ios/include/openssl/e_os2.h", + "external/ios/include/openssl/ebcdic.h", + "external/ios/include/openssl/ec.h", + "external/ios/include/openssl/ecdh.h", + "external/ios/include/openssl/ecdsa.h", + "external/ios/include/openssl/engine.h", + "external/ios/include/openssl/err.h", + "external/ios/include/openssl/evp.h", + "external/ios/include/openssl/hmac.h", + "external/ios/include/openssl/idea.h", + "external/ios/include/openssl/kdf.h", + "external/ios/include/openssl/lhash.h", + "external/ios/include/openssl/md2.h", + "external/ios/include/openssl/md4.h", + "external/ios/include/openssl/md5.h", + "external/ios/include/openssl/mdc2.h", + "external/ios/include/openssl/modes.h", + "external/ios/include/openssl/obj_mac.h", + "external/ios/include/openssl/objects.h", + "external/ios/include/openssl/ocsp.h", + "external/ios/include/openssl/opensslconf-arm32.h", + "external/ios/include/openssl/opensslconf-arm64.h", + "external/ios/include/openssl/opensslconf-i386.h", + "external/ios/include/openssl/opensslconf-x86_64.h", + "external/ios/include/openssl/opensslconf.h", + "external/ios/include/openssl/opensslv.h", + "external/ios/include/openssl/ossl_typ.h", + "external/ios/include/openssl/pem.h", + "external/ios/include/openssl/pem2.h", + "external/ios/include/openssl/pkcs12.h", + "external/ios/include/openssl/pkcs7.h", + "external/ios/include/openssl/rand.h", + "external/ios/include/openssl/rc2.h", + "external/ios/include/openssl/rc4.h", + "external/ios/include/openssl/rc5.h", + "external/ios/include/openssl/ripemd.h", + "external/ios/include/openssl/rsa.h", + "external/ios/include/openssl/safestack.h", + "external/ios/include/openssl/seed.h", + "external/ios/include/openssl/sha.h", + "external/ios/include/openssl/srp.h", + "external/ios/include/openssl/srtp.h", + "external/ios/include/openssl/ssl.h", + "external/ios/include/openssl/ssl2.h", + "external/ios/include/openssl/ssl3.h", + "external/ios/include/openssl/stack.h", + "external/ios/include/openssl/symhacks.h", + "external/ios/include/openssl/tls1.h", + "external/ios/include/openssl/ts.h", + "external/ios/include/openssl/txt_db.h", + "external/ios/include/openssl/ui.h", + "external/ios/include/openssl/whrlpool.h", + "external/ios/include/openssl/x509.h", + "external/ios/include/openssl/x509_vfy.h", + "external/ios/include/openssl/x509v3.h", + "external/ios/include/png/png.h", + "external/ios/include/png/pngconf.h", + "external/ios/include/png/pnglibconf.h", + "external/ios/include/spirv_cross/GLSL.std.450.h", + "external/ios/include/spirv_cross/spirv.hpp", + "external/ios/include/spirv_cross/spirv_cfg.hpp", + "external/ios/include/spirv_cross/spirv_common.hpp", + "external/ios/include/spirv_cross/spirv_cross.hpp", + "external/ios/include/spirv_cross/spirv_cross_containers.hpp", + "external/ios/include/spirv_cross/spirv_cross_error_handling.hpp", + "external/ios/include/spirv_cross/spirv_cross_parsed_ir.hpp", + "external/ios/include/spirv_cross/spirv_glsl.hpp", + "external/ios/include/spirv_cross/spirv_msl.hpp", + "external/ios/include/spirv_cross/spirv_parser.hpp", + "external/ios/include/uv/uv.h", + "external/ios/include/uv/uv/aix.h", + "external/ios/include/uv/uv/android-ifaddrs.h", + "external/ios/include/uv/uv/bsd.h", + "external/ios/include/uv/uv/darwin.h", + "external/ios/include/uv/uv/errno.h", + "external/ios/include/uv/uv/linux.h", + "external/ios/include/uv/uv/os390.h", + "external/ios/include/uv/uv/posix.h", + "external/ios/include/uv/uv/pthread-barrier.h", + "external/ios/include/uv/uv/stdint-msvc2008.h", + "external/ios/include/uv/uv/sunos.h", + "external/ios/include/uv/uv/threadpool.h", + "external/ios/include/uv/uv/tree.h", + "external/ios/include/uv/uv/unix.h", + "external/ios/include/uv/uv/version.h", + "external/ios/include/uv/uv/win.h", + "external/ios/include/v8/libplatform/libplatform-export.h", + "external/ios/include/v8/libplatform/libplatform.h", + "external/ios/include/v8/libplatform/v8-tracing.h", + "external/ios/include/v8/v8-inspector-protocol.h", + "external/ios/include/v8/v8-inspector.h", + "external/ios/include/v8/v8-internal.h", + "external/ios/include/v8/v8-platform.h", + "external/ios/include/v8/v8-profiler.h", + "external/ios/include/v8/v8-testing.h", + "external/ios/include/v8/v8-util.h", + "external/ios/include/v8/v8-value-serializer-version.h", + "external/ios/include/v8/v8-version-string.h", + "external/ios/include/v8/v8-version.h", + "external/ios/include/v8/v8-wasm-trap-handler-posix.h", + "external/ios/include/v8/v8-wasm-trap-handler-win.h", + "external/ios/include/v8/v8.h", + "external/ios/include/v8/v8config.h", + "external/ios/include/webp/decode.h", + "external/ios/include/webp/encode.h", + "external/ios/include/webp/types.h", + "external/ios/include/websockets/libwebsockets.h", + "external/ios/include/websockets/lws_config-arm32.h", + "external/ios/include/websockets/lws_config-arm64.h", + "external/ios/include/websockets/lws_config-i386.h", + "external/ios/include/websockets/lws_config-x86_64.h", + "external/ios/include/websockets/lws_config.h", + "external/ios/libs/glslang/libOGLCompiler.a", + "external/ios/libs/glslang/libOSDependent.a", + "external/ios/libs/glslang/libSPIRV.a", + "external/ios/libs/glslang/libglslang-default-resource-limits.a", + "external/ios/libs/glslang/libglslang.a", + "external/ios/libs/libcrypto.a", + "external/ios/libs/libfreetype.a", + "external/ios/libs/libjpeg.a", + "external/ios/libs/libpng.a", + "external/ios/libs/libssl.a", + "external/ios/libs/libtbb_static.a", + "external/ios/libs/libtbbmalloc_proxy_static.a", + "external/ios/libs/libtbbmalloc_static.a", + "external/ios/libs/libuv_a.a", + "external/ios/libs/libv8_monolith.a", + "external/ios/libs/libwebp.a", + "external/ios/libs/libwebsockets.a", + "external/ios/libs/spirv-cross/libspirv-cross-core.a", + "external/ios/libs/spirv-cross/libspirv-cross-glsl.a", + "external/ios/libs/spirv-cross/libspirv-cross-msl.a", + "external/mac/CMakeLists.txt", + "external/mac/include/StandAlone/ResourceLimits.h", + "external/mac/include/StandAlone/resource_limits_c.h", + "external/mac/include/curl/curl.h", + "external/mac/include/curl/curlbuild.h", + "external/mac/include/curl/curlrules.h", + "external/mac/include/curl/curlver.h", + "external/mac/include/curl/easy.h", + "external/mac/include/curl/mprintf.h", + "external/mac/include/curl/multi.h", + "external/mac/include/curl/stdcheaders.h", + "external/mac/include/curl/typecheck-gcc.h", + "external/mac/include/freetype/config/ftconfig.h", + "external/mac/include/freetype/config/ftheader.h", + "external/mac/include/freetype/config/ftmodule.h", + "external/mac/include/freetype/config/ftoption.h", + "external/mac/include/freetype/config/ftstdlib.h", + "external/mac/include/freetype/freetype.h", + "external/mac/include/freetype/ft2build.h", + "external/mac/include/freetype/ftadvanc.h", + "external/mac/include/freetype/ftautoh.h", + "external/mac/include/freetype/ftbbox.h", + "external/mac/include/freetype/ftbdf.h", + "external/mac/include/freetype/ftbitmap.h", + "external/mac/include/freetype/ftbzip2.h", + "external/mac/include/freetype/ftcache.h", + "external/mac/include/freetype/ftcffdrv.h", + "external/mac/include/freetype/ftchapters.h", + "external/mac/include/freetype/ftcid.h", + "external/mac/include/freetype/fterrdef.h", + "external/mac/include/freetype/fterrors.h", + "external/mac/include/freetype/ftfntfmt.h", + "external/mac/include/freetype/ftgasp.h", + "external/mac/include/freetype/ftglyph.h", + "external/mac/include/freetype/ftgxval.h", + "external/mac/include/freetype/ftgzip.h", + "external/mac/include/freetype/ftimage.h", + "external/mac/include/freetype/ftincrem.h", + "external/mac/include/freetype/ftlcdfil.h", + "external/mac/include/freetype/ftlist.h", + "external/mac/include/freetype/ftlzw.h", + "external/mac/include/freetype/ftmac.h", + "external/mac/include/freetype/ftmm.h", + "external/mac/include/freetype/ftmodapi.h", + "external/mac/include/freetype/ftmoderr.h", + "external/mac/include/freetype/ftotval.h", + "external/mac/include/freetype/ftoutln.h", + "external/mac/include/freetype/ftpfr.h", + "external/mac/include/freetype/ftrender.h", + "external/mac/include/freetype/ftsizes.h", + "external/mac/include/freetype/ftsnames.h", + "external/mac/include/freetype/ftstroke.h", + "external/mac/include/freetype/ftsynth.h", + "external/mac/include/freetype/ftsystem.h", + "external/mac/include/freetype/fttrigon.h", + "external/mac/include/freetype/ftttdrv.h", + "external/mac/include/freetype/fttypes.h", + "external/mac/include/freetype/ftwinfnt.h", + "external/mac/include/freetype/t1tables.h", + "external/mac/include/freetype/ttnameid.h", + "external/mac/include/freetype/tttables.h", + "external/mac/include/freetype/tttags.h", + "external/mac/include/freetype/ttunpat.h", + "external/mac/include/glslang/Include/BaseTypes.h", + "external/mac/include/glslang/Include/Common.h", + "external/mac/include/glslang/Include/ConstantUnion.h", + "external/mac/include/glslang/Include/InfoSink.h", + "external/mac/include/glslang/Include/InitializeGlobals.h", + "external/mac/include/glslang/Include/PoolAlloc.h", + "external/mac/include/glslang/Include/ResourceLimits.h", + "external/mac/include/glslang/Include/ShHandle.h", + "external/mac/include/glslang/Include/Types.h", + "external/mac/include/glslang/Include/arrays.h", + "external/mac/include/glslang/Include/glslang_c_interface.h", + "external/mac/include/glslang/Include/glslang_c_shader_types.h", + "external/mac/include/glslang/Include/intermediate.h", + "external/mac/include/glslang/Include/revision.h", + "external/mac/include/glslang/MachineIndependent/Initialize.h", + "external/mac/include/glslang/MachineIndependent/LiveTraverser.h", + "external/mac/include/glslang/MachineIndependent/ParseHelper.h", + "external/mac/include/glslang/MachineIndependent/RemoveTree.h", + "external/mac/include/glslang/MachineIndependent/Scan.h", + "external/mac/include/glslang/MachineIndependent/ScanContext.h", + "external/mac/include/glslang/MachineIndependent/SymbolTable.h", + "external/mac/include/glslang/MachineIndependent/Versions.h", + "external/mac/include/glslang/MachineIndependent/attribute.h", + "external/mac/include/glslang/MachineIndependent/gl_types.h", + "external/mac/include/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/mac/include/glslang/MachineIndependent/iomapper.h", + "external/mac/include/glslang/MachineIndependent/localintermediate.h", + "external/mac/include/glslang/MachineIndependent/parseVersions.h", + "external/mac/include/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/mac/include/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/mac/include/glslang/MachineIndependent/propagateNoContraction.h", + "external/mac/include/glslang/MachineIndependent/reflection.h", + "external/mac/include/glslang/Public/ShaderLang.h", + "external/mac/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/mac/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/mac/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/mac/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/mac/include/glslang/SPIRV/GLSL.std.450.h", + "external/mac/include/glslang/SPIRV/GlslangToSpv.h", + "external/mac/include/glslang/SPIRV/Logger.h", + "external/mac/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/mac/include/glslang/SPIRV/SPVRemapper.h", + "external/mac/include/glslang/SPIRV/SpvBuilder.h", + "external/mac/include/glslang/SPIRV/SpvTools.h", + "external/mac/include/glslang/SPIRV/bitutils.h", + "external/mac/include/glslang/SPIRV/disassemble.h", + "external/mac/include/glslang/SPIRV/doc.h", + "external/mac/include/glslang/SPIRV/hex_float.h", + "external/mac/include/glslang/SPIRV/spirv.hpp", + "external/mac/include/glslang/SPIRV/spvIR.h", + "external/mac/include/jpeg/jconfig.h", + "external/mac/include/jpeg/jmorecfg.h", + "external/mac/include/jpeg/jpeglib.h", + "external/mac/include/openssl/aes.h", + "external/mac/include/openssl/asn1.h", + "external/mac/include/openssl/asn1_mac.h", + "external/mac/include/openssl/asn1t.h", + "external/mac/include/openssl/async.h", + "external/mac/include/openssl/bio.h", + "external/mac/include/openssl/blowfish.h", + "external/mac/include/openssl/bn.h", + "external/mac/include/openssl/buffer.h", + "external/mac/include/openssl/camellia.h", + "external/mac/include/openssl/cast.h", + "external/mac/include/openssl/cmac.h", + "external/mac/include/openssl/cms.h", + "external/mac/include/openssl/comp.h", + "external/mac/include/openssl/conf.h", + "external/mac/include/openssl/conf_api.h", + "external/mac/include/openssl/crypto.h", + "external/mac/include/openssl/ct.h", + "external/mac/include/openssl/des.h", + "external/mac/include/openssl/dh.h", + "external/mac/include/openssl/dsa.h", + "external/mac/include/openssl/dtls1.h", + "external/mac/include/openssl/e_os2.h", + "external/mac/include/openssl/ebcdic.h", + "external/mac/include/openssl/ec.h", + "external/mac/include/openssl/ecdh.h", + "external/mac/include/openssl/ecdsa.h", + "external/mac/include/openssl/engine.h", + "external/mac/include/openssl/err.h", + "external/mac/include/openssl/evp.h", + "external/mac/include/openssl/hmac.h", + "external/mac/include/openssl/idea.h", + "external/mac/include/openssl/kdf.h", + "external/mac/include/openssl/lhash.h", + "external/mac/include/openssl/md2.h", + "external/mac/include/openssl/md4.h", + "external/mac/include/openssl/md5.h", + "external/mac/include/openssl/mdc2.h", + "external/mac/include/openssl/modes.h", + "external/mac/include/openssl/obj_mac.h", + "external/mac/include/openssl/objects.h", + "external/mac/include/openssl/ocsp.h", + "external/mac/include/openssl/opensslconf.h", + "external/mac/include/openssl/opensslv.h", + "external/mac/include/openssl/ossl_typ.h", + "external/mac/include/openssl/pem.h", + "external/mac/include/openssl/pem2.h", + "external/mac/include/openssl/pkcs12.h", + "external/mac/include/openssl/pkcs7.h", + "external/mac/include/openssl/rand.h", + "external/mac/include/openssl/rc2.h", + "external/mac/include/openssl/rc4.h", + "external/mac/include/openssl/rc5.h", + "external/mac/include/openssl/ripemd.h", + "external/mac/include/openssl/rsa.h", + "external/mac/include/openssl/safestack.h", + "external/mac/include/openssl/seed.h", + "external/mac/include/openssl/sha.h", + "external/mac/include/openssl/srp.h", + "external/mac/include/openssl/srtp.h", + "external/mac/include/openssl/ssl.h", + "external/mac/include/openssl/ssl2.h", + "external/mac/include/openssl/ssl3.h", + "external/mac/include/openssl/stack.h", + "external/mac/include/openssl/symhacks.h", + "external/mac/include/openssl/tls1.h", + "external/mac/include/openssl/ts.h", + "external/mac/include/openssl/txt_db.h", + "external/mac/include/openssl/ui.h", + "external/mac/include/openssl/whrlpool.h", + "external/mac/include/openssl/x509.h", + "external/mac/include/openssl/x509_vfy.h", + "external/mac/include/openssl/x509v3.h", + "external/mac/include/png/png.h", + "external/mac/include/png/pngconf.h", + "external/mac/include/png/pnglibconf.h", + "external/mac/include/pvrsdk/CL/cl.h", + "external/mac/include/pvrsdk/CL/cl2.hpp", + "external/mac/include/pvrsdk/CL/cl_d3d10.h", + "external/mac/include/pvrsdk/CL/cl_d3d11.h", + "external/mac/include/pvrsdk/CL/cl_dx9_media_sharing.h", + "external/mac/include/pvrsdk/CL/cl_egl.h", + "external/mac/include/pvrsdk/CL/cl_ext.h", + "external/mac/include/pvrsdk/CL/cl_gl.h", + "external/mac/include/pvrsdk/CL/cl_gl_ext.h", + "external/mac/include/pvrsdk/CL/cl_platform.h", + "external/mac/include/pvrsdk/CL/opencl.h", + "external/mac/include/pvrsdk/DynamicEgl.h", + "external/mac/include/pvrsdk/DynamicGles.h", + "external/mac/include/pvrsdk/DynamicOCL.h", + "external/mac/include/pvrsdk/EGL/egl.h", + "external/mac/include/pvrsdk/EGL/eglext.h", + "external/mac/include/pvrsdk/EGL/eglplatform.h", + "external/mac/include/pvrsdk/GLES/egl.h", + "external/mac/include/pvrsdk/GLES/gl.h", + "external/mac/include/pvrsdk/GLES/glext.h", + "external/mac/include/pvrsdk/GLES/glplatform.h", + "external/mac/include/pvrsdk/GLES2/gl2.h", + "external/mac/include/pvrsdk/GLES2/gl2ext.h", + "external/mac/include/pvrsdk/GLES2/gl2platform.h", + "external/mac/include/pvrsdk/GLES3/gl3.h", + "external/mac/include/pvrsdk/GLES3/gl31.h", + "external/mac/include/pvrsdk/GLES3/gl32.h", + "external/mac/include/pvrsdk/GLES3/gl3platform.h", + "external/mac/include/pvrsdk/KHR/khrplatform.h", + "external/mac/include/pvrsdk/PVRScopeComms.h", + "external/mac/include/pvrsdk/PVRScopeStats.h", + "external/mac/include/pvrsdk/pvr_openlib.h", + "external/mac/include/pvrsdk/sdkver.h", + "external/mac/include/pvrsdk/vk_bindings.h", + "external/mac/include/pvrsdk/vk_bindings_helper.h", + "external/mac/include/pvrsdk/vulkan/vk_icd.h", + "external/mac/include/pvrsdk/vulkan/vk_layer.h", + "external/mac/include/pvrsdk/vulkan/vk_platform.h", + "external/mac/include/pvrsdk/vulkan/vulkan.h", + "external/mac/include/pvrsdk/vulkan/vulkan_android.h", + "external/mac/include/pvrsdk/vulkan/vulkan_core.h", + "external/mac/include/pvrsdk/vulkan/vulkan_ios.h", + "external/mac/include/pvrsdk/vulkan/vulkan_macos.h", + "external/mac/include/pvrsdk/vulkan/vulkan_mir.h", + "external/mac/include/pvrsdk/vulkan/vulkan_vi.h", + "external/mac/include/pvrsdk/vulkan/vulkan_wayland.h", + "external/mac/include/pvrsdk/vulkan/vulkan_win32.h", + "external/mac/include/pvrsdk/vulkan/vulkan_xcb.h", + "external/mac/include/pvrsdk/vulkan/vulkan_xlib.h", + "external/mac/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", + "external/mac/include/spirv_cross/GLSL.std.450.h", + "external/mac/include/spirv_cross/spirv.h", + "external/mac/include/spirv_cross/spirv.hpp", + "external/mac/include/spirv_cross/spirv_cfg.hpp", + "external/mac/include/spirv_cross/spirv_common.hpp", + "external/mac/include/spirv_cross/spirv_cpp.hpp", + "external/mac/include/spirv_cross/spirv_cross.hpp", + "external/mac/include/spirv_cross/spirv_cross_c.h", + "external/mac/include/spirv_cross/spirv_cross_containers.hpp", + "external/mac/include/spirv_cross/spirv_cross_error_handling.hpp", + "external/mac/include/spirv_cross/spirv_cross_parsed_ir.hpp", + "external/mac/include/spirv_cross/spirv_cross_util.hpp", + "external/mac/include/spirv_cross/spirv_glsl.hpp", + "external/mac/include/spirv_cross/spirv_hlsl.hpp", + "external/mac/include/spirv_cross/spirv_msl.hpp", + "external/mac/include/spirv_cross/spirv_parser.hpp", + "external/mac/include/spirv_cross/spirv_reflect.hpp", + "external/mac/include/uv/uv.h", + "external/mac/include/uv/uv/aix.h", + "external/mac/include/uv/uv/android-ifaddrs.h", + "external/mac/include/uv/uv/bsd.h", + "external/mac/include/uv/uv/darwin.h", + "external/mac/include/uv/uv/errno.h", + "external/mac/include/uv/uv/linux.h", + "external/mac/include/uv/uv/os390.h", + "external/mac/include/uv/uv/posix.h", + "external/mac/include/uv/uv/pthread-barrier.h", + "external/mac/include/uv/uv/stdint-msvc2008.h", + "external/mac/include/uv/uv/sunos.h", + "external/mac/include/uv/uv/threadpool.h", + "external/mac/include/uv/uv/tree.h", + "external/mac/include/uv/uv/unix.h", + "external/mac/include/uv/uv/version.h", + "external/mac/include/uv/uv/win.h", + "external/mac/include/v8/libplatform/libplatform-export.h", + "external/mac/include/v8/libplatform/libplatform.h", + "external/mac/include/v8/libplatform/v8-tracing.h", + "external/mac/include/v8/v8-inspector-protocol.h", + "external/mac/include/v8/v8-inspector.h", + "external/mac/include/v8/v8-internal.h", + "external/mac/include/v8/v8-platform.h", + "external/mac/include/v8/v8-profiler.h", + "external/mac/include/v8/v8-testing.h", + "external/mac/include/v8/v8-util.h", + "external/mac/include/v8/v8-value-serializer-version.h", + "external/mac/include/v8/v8-version-string.h", + "external/mac/include/v8/v8-version.h", + "external/mac/include/v8/v8-wasm-trap-handler-posix.h", + "external/mac/include/v8/v8-wasm-trap-handler-win.h", + "external/mac/include/v8/v8.h", + "external/mac/include/v8/v8config.h", + "external/mac/include/webp/decode.h", + "external/mac/include/webp/encode.h", + "external/mac/include/webp/types.h", + "external/mac/include/websockets/libwebsockets.h", + "external/mac/include/websockets/lws_config.h", + "external/mac/include/zlib/zconf.h", + "external/mac/include/zlib/zlib.h", + "external/mac/libs/glslang/libOGLCompiler.a", + "external/mac/libs/glslang/libOSDependent.a", + "external/mac/libs/glslang/libSPIRV.a", + "external/mac/libs/glslang/libglslang-default-resource-limits.a", + "external/mac/libs/glslang/libglslang.a", + "external/mac/libs/libEGL.dylib", + "external/mac/libs/libGLESv2.dylib", + "external/mac/libs/libcrypto.a", + "external/mac/libs/libcurl.a", + "external/mac/libs/libfreetype.a", + "external/mac/libs/libinspector.a", + "external/mac/libs/libjpeg.a", + "external/mac/libs/libpng.a", + "external/mac/libs/libspirv-cross-core.a", + "external/mac/libs/libspirv-cross-glsl.a", + "external/mac/libs/libspirv-cross-msl.a", + "external/mac/libs/libssl.a", + "external/mac/libs/libtbb_static.a", + "external/mac/libs/libtbbmalloc_proxy_static.a", + "external/mac/libs/libtbbmalloc_static.a", + "external/mac/libs/libuv_a.a", + "external/mac/libs/libv8_monolith.a", + "external/mac/libs/libwebp.a", + "external/mac/libs/libwebsockets.a", + "external/mac/libs/libz.a", + "external/sources/CMakeLists.txt", + "external/sources/ConvertUTF/CMakeLists.txt", + "external/sources/ConvertUTF/ConvertUTF.c", + "external/sources/ConvertUTF/ConvertUTF.h", + "external/sources/ConvertUTF/ConvertUTFWrapper.cpp", + "external/sources/SocketRocket/CMakeLists.txt", + "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.h", + "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.m", + "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumer.h", + "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumer.m", + "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumerPool.h", + "external/sources/SocketRocket/Internal/IOConsumer/SRIOConsumerPool.m", + "external/sources/SocketRocket/Internal/NSRunLoop+SRWebSocketPrivate.h", + "external/sources/SocketRocket/Internal/NSURLRequest+SRWebSocketPrivate.h", + "external/sources/SocketRocket/Internal/Proxy/SRProxyConnect.h", + "external/sources/SocketRocket/Internal/Proxy/SRProxyConnect.m", + "external/sources/SocketRocket/Internal/RunLoop/SRRunLoopThread.h", + "external/sources/SocketRocket/Internal/RunLoop/SRRunLoopThread.m", + "external/sources/SocketRocket/Internal/SRConstants.h", + "external/sources/SocketRocket/Internal/SRConstants.m", + "external/sources/SocketRocket/Internal/Security/SRPinningSecurityPolicy.h", + "external/sources/SocketRocket/Internal/Security/SRPinningSecurityPolicy.m", + "external/sources/SocketRocket/Internal/Utilities/SRError.h", + "external/sources/SocketRocket/Internal/Utilities/SRError.m", + "external/sources/SocketRocket/Internal/Utilities/SRHTTPConnectMessage.h", + "external/sources/SocketRocket/Internal/Utilities/SRHTTPConnectMessage.m", + "external/sources/SocketRocket/Internal/Utilities/SRHash.h", + "external/sources/SocketRocket/Internal/Utilities/SRHash.m", + "external/sources/SocketRocket/Internal/Utilities/SRLog.h", + "external/sources/SocketRocket/Internal/Utilities/SRLog.m", + "external/sources/SocketRocket/Internal/Utilities/SRMutex.h", + "external/sources/SocketRocket/Internal/Utilities/SRMutex.m", + "external/sources/SocketRocket/Internal/Utilities/SRRandom.h", + "external/sources/SocketRocket/Internal/Utilities/SRRandom.m", + "external/sources/SocketRocket/Internal/Utilities/SRSIMDHelpers.h", + "external/sources/SocketRocket/Internal/Utilities/SRSIMDHelpers.m", + "external/sources/SocketRocket/Internal/Utilities/SRURLUtilities.h", + "external/sources/SocketRocket/Internal/Utilities/SRURLUtilities.m", + "external/sources/SocketRocket/NSRunLoop+SRWebSocket.h", + "external/sources/SocketRocket/NSRunLoop+SRWebSocket.m", + "external/sources/SocketRocket/NSURLRequest+SRWebSocket.h", + "external/sources/SocketRocket/NSURLRequest+SRWebSocket.m", + "external/sources/SocketRocket/SRSecurityPolicy.h", + "external/sources/SocketRocket/SRSecurityPolicy.m", + "external/sources/SocketRocket/SRWebSocket.h", + "external/sources/SocketRocket/SRWebSocket.m", + "external/sources/SocketRocket/SocketRocket.h", + "external/sources/acl/compression/compress.h", + "external/sources/acl/compression/compression_level.h", + "external/sources/acl/compression/compression_settings.h", + "external/sources/acl/compression/convert.h", + "external/sources/acl/compression/impl/animated_track_utils.h", + "external/sources/acl/compression/impl/clip_context.h", + "external/sources/acl/compression/impl/compact_constant_streams.h", + "external/sources/acl/compression/impl/compress.impl.h", + "external/sources/acl/compression/impl/compression_settings.impl.h", + "external/sources/acl/compression/impl/constant_track_impl.h", + "external/sources/acl/compression/impl/convert.impl.h", + "external/sources/acl/compression/impl/convert_rotation_streams.h", + "external/sources/acl/compression/impl/normalize_streams.h", + "external/sources/acl/compression/impl/normalize_track_impl.h", + "external/sources/acl/compression/impl/quantize_streams.h", + "external/sources/acl/compression/impl/quantize_track_impl.h", + "external/sources/acl/compression/impl/sample_streams.h", + "external/sources/acl/compression/impl/segment_context.h", + "external/sources/acl/compression/impl/segment_streams.h", + "external/sources/acl/compression/impl/track.impl.h", + "external/sources/acl/compression/impl/track_array.impl.h", + "external/sources/acl/compression/impl/track_bit_rate_database.h", + "external/sources/acl/compression/impl/track_error.impl.h", + "external/sources/acl/compression/impl/track_list_context.h", + "external/sources/acl/compression/impl/track_range.h", + "external/sources/acl/compression/impl/track_range_impl.h", + "external/sources/acl/compression/impl/track_stream.h", + "external/sources/acl/compression/impl/transform_bit_rate_permutations.h", + "external/sources/acl/compression/impl/write_compression_stats_impl.h", + "external/sources/acl/compression/impl/write_decompression_stats.h", + "external/sources/acl/compression/impl/write_range_data.h", + "external/sources/acl/compression/impl/write_segment_data.h", + "external/sources/acl/compression/impl/write_stats.h", + "external/sources/acl/compression/impl/write_stream_bitsets.h", + "external/sources/acl/compression/impl/write_stream_data.h", + "external/sources/acl/compression/impl/write_track_data_impl.h", + "external/sources/acl/compression/impl/write_track_metadata.h", + "external/sources/acl/compression/output_stats.h", + "external/sources/acl/compression/track.h", + "external/sources/acl/compression/track_array.h", + "external/sources/acl/compression/track_error.h", + "external/sources/acl/compression/transform_error_metrics.h", + "external/sources/acl/compression/transform_pose_utils.h", + "external/sources/acl/core/additive_utils.h", + "external/sources/acl/core/algorithm_types.h", + "external/sources/acl/core/ansi_allocator.h", + "external/sources/acl/core/bit_manip_utils.h", + "external/sources/acl/core/bitset.h", + "external/sources/acl/core/buffer_tag.h", + "external/sources/acl/core/compressed_tracks.h", + "external/sources/acl/core/compressed_tracks_version.h", + "external/sources/acl/core/enum_utils.h", + "external/sources/acl/core/error.h", + "external/sources/acl/core/error_result.h", + "external/sources/acl/core/floating_point_exceptions.h", + "external/sources/acl/core/hash.h", + "external/sources/acl/core/iallocator.h", + "external/sources/acl/core/impl/compiler_utils.h", + "external/sources/acl/core/impl/compressed_headers.h", + "external/sources/acl/core/impl/compressed_tracks.impl.h", + "external/sources/acl/core/impl/debug_track_writer.h", + "external/sources/acl/core/impl/memory_cache.h", + "external/sources/acl/core/impl/track_desc.impl.h", + "external/sources/acl/core/impl/track_formats.impl.h", + "external/sources/acl/core/interpolation_utils.h", + "external/sources/acl/core/iterator.h", + "external/sources/acl/core/memory_utils.h", + "external/sources/acl/core/ptr_offset.h", + "external/sources/acl/core/range_reduction_types.h", + "external/sources/acl/core/scope_profiler.h", + "external/sources/acl/core/string.h", + "external/sources/acl/core/track_desc.h", + "external/sources/acl/core/track_formats.h", + "external/sources/acl/core/track_traits.h", + "external/sources/acl/core/track_types.h", + "external/sources/acl/core/track_writer.h", + "external/sources/acl/core/unique_ptr.h", + "external/sources/acl/core/utils.h", + "external/sources/acl/core/variable_bit_rates.h", + "external/sources/acl/decompression/decompress.h", + "external/sources/acl/decompression/impl/decompress.impl.h", + "external/sources/acl/decompression/impl/decompression_context_selector.h", + "external/sources/acl/decompression/impl/decompression_version_selector.h", + "external/sources/acl/decompression/impl/scalar_track_decompression.h", + "external/sources/acl/decompression/impl/track_cache.h", + "external/sources/acl/decompression/impl/transform_animated_track_cache.h", + "external/sources/acl/decompression/impl/transform_constant_track_cache.h", + "external/sources/acl/decompression/impl/transform_decompression_context.h", + "external/sources/acl/decompression/impl/transform_track_decompression.h", + "external/sources/acl/decompression/impl/universal_track_decompression.h", + "external/sources/acl/io/clip_reader.h", + "external/sources/acl/io/clip_reader_error.h", + "external/sources/acl/io/clip_writer.h", + "external/sources/acl/math/quat_packing.h", + "external/sources/acl/math/quatf.h", + "external/sources/acl/math/scalar_packing.h", + "external/sources/acl/math/vector4_packing.h", + "external/sources/acl/math/vector4f.h", + "external/sources/boost/boost/accumulators/accumulators.hpp", + "external/sources/boost/boost/accumulators/accumulators_fwd.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_base.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_concept.hpp", + "external/sources/boost/boost/accumulators/framework/accumulator_set.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/external_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/reference_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/accumulators/value_accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/depends_on.hpp", + "external/sources/boost/boost/accumulators/framework/external.hpp", + "external/sources/boost/boost/accumulators/framework/extractor.hpp", + "external/sources/boost/boost/accumulators/framework/features.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/accumulator.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/sample.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/weight.hpp", + "external/sources/boost/boost/accumulators/framework/parameters/weights.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function1.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function2.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function3.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function4.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/function_n.hpp", + "external/sources/boost/boost/accumulators/numeric/detail/pod_singleton.hpp", + "external/sources/boost/boost/accumulators/numeric/functional.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/complex.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/valarray.hpp", + "external/sources/boost/boost/accumulators/numeric/functional/vector.hpp", + "external/sources/boost/boost/accumulators/numeric/functional_fwd.hpp", + "external/sources/boost/boost/accumulators/statistics.hpp", + "external/sources/boost/boost/accumulators/statistics/count.hpp", + "external/sources/boost/boost/accumulators/statistics/covariance.hpp", + "external/sources/boost/boost/accumulators/statistics/density.hpp", + "external/sources/boost/boost/accumulators/statistics/error_of.hpp", + "external/sources/boost/boost/accumulators/statistics/error_of_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/extended_p_square.hpp", + "external/sources/boost/boost/accumulators/statistics/extended_p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/kurtosis.hpp", + "external/sources/boost/boost/accumulators/statistics/max.hpp", + "external/sources/boost/boost/accumulators/statistics/mean.hpp", + "external/sources/boost/boost/accumulators/statistics/median.hpp", + "external/sources/boost/boost/accumulators/statistics/min.hpp", + "external/sources/boost/boost/accumulators/statistics/moment.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_cumul_dist.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_cumulative_distribution.hpp", + "external/sources/boost/boost/accumulators/statistics/p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/parameters/quantile_probability.hpp", + "external/sources/boost/boost/accumulators/statistics/peaks_over_threshold.hpp", + "external/sources/boost/boost/accumulators/statistics/pot_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/pot_tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_count.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_moment.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_sum.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_variance.hpp", + "external/sources/boost/boost/accumulators/statistics/rolling_window.hpp", + "external/sources/boost/boost/accumulators/statistics/skewness.hpp", + "external/sources/boost/boost/accumulators/statistics/stats.hpp", + "external/sources/boost/boost/accumulators/statistics/sum.hpp", + "external/sources/boost/boost/accumulators/statistics/sum_kahan.hpp", + "external/sources/boost/boost/accumulators/statistics/tail.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_variate.hpp", + "external/sources/boost/boost/accumulators/statistics/tail_variate_means.hpp", + "external/sources/boost/boost/accumulators/statistics/times2_iterator.hpp", + "external/sources/boost/boost/accumulators/statistics/variance.hpp", + "external/sources/boost/boost/accumulators/statistics/variates/covariate.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_covariance.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_density.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_extended_p_square.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_kurtosis.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_median.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_moment.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumul_dist.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumulative_distribution.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_p_square_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_peaks_over_threshold.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_skewness.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_sum.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_sum_kahan.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_mean.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_quantile.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_tail_variate_means.hpp", + "external/sources/boost/boost/accumulators/statistics/weighted_variance.hpp", + "external/sources/boost/boost/accumulators/statistics/with_error.hpp", + "external/sources/boost/boost/accumulators/statistics_fwd.hpp", + "external/sources/boost/boost/algorithm/algorithm.hpp", + "external/sources/boost/boost/algorithm/apply_permutation.hpp", + "external/sources/boost/boost/algorithm/clamp.hpp", + "external/sources/boost/boost/algorithm/cxx11/all_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/any_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/copy_if.hpp", + "external/sources/boost/boost/algorithm/cxx11/copy_n.hpp", + "external/sources/boost/boost/algorithm/cxx11/find_if_not.hpp", + "external/sources/boost/boost/algorithm/cxx11/iota.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_partitioned.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_permutation.hpp", + "external/sources/boost/boost/algorithm/cxx11/is_sorted.hpp", + "external/sources/boost/boost/algorithm/cxx11/none_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/one_of.hpp", + "external/sources/boost/boost/algorithm/cxx11/partition_copy.hpp", + "external/sources/boost/boost/algorithm/cxx11/partition_point.hpp", + "external/sources/boost/boost/algorithm/cxx14/equal.hpp", + "external/sources/boost/boost/algorithm/cxx14/is_permutation.hpp", + "external/sources/boost/boost/algorithm/cxx14/mismatch.hpp", + "external/sources/boost/boost/algorithm/cxx17/exclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/for_each_n.hpp", + "external/sources/boost/boost/algorithm/cxx17/inclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/reduce.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_exclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_inclusive_scan.hpp", + "external/sources/boost/boost/algorithm/cxx17/transform_reduce.hpp", + "external/sources/boost/boost/algorithm/find_backward.hpp", + "external/sources/boost/boost/algorithm/find_not.hpp", + "external/sources/boost/boost/algorithm/gather.hpp", + "external/sources/boost/boost/algorithm/hex.hpp", + "external/sources/boost/boost/algorithm/is_palindrome.hpp", + "external/sources/boost/boost/algorithm/is_partitioned_until.hpp", + "external/sources/boost/boost/algorithm/minmax.hpp", + "external/sources/boost/boost/algorithm/minmax_element.hpp", + "external/sources/boost/boost/algorithm/searching/boyer_moore.hpp", + "external/sources/boost/boost/algorithm/searching/boyer_moore_horspool.hpp", + "external/sources/boost/boost/algorithm/searching/detail/bm_traits.hpp", + "external/sources/boost/boost/algorithm/searching/detail/debugging.hpp", + "external/sources/boost/boost/algorithm/searching/knuth_morris_pratt.hpp", + "external/sources/boost/boost/algorithm/sort_subrange.hpp", + "external/sources/boost/boost/algorithm/string.hpp", + "external/sources/boost/boost/algorithm/string/case_conv.hpp", + "external/sources/boost/boost/algorithm/string/classification.hpp", + "external/sources/boost/boost/algorithm/string/compare.hpp", + "external/sources/boost/boost/algorithm/string/concept.hpp", + "external/sources/boost/boost/algorithm/string/config.hpp", + "external/sources/boost/boost/algorithm/string/constants.hpp", + "external/sources/boost/boost/algorithm/string/detail/case_conv.hpp", + "external/sources/boost/boost/algorithm/string/detail/classification.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format_all.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_format_store.hpp", + "external/sources/boost/boost/algorithm/string/detail/find_iterator.hpp", + "external/sources/boost/boost/algorithm/string/detail/finder.hpp", + "external/sources/boost/boost/algorithm/string/detail/finder_regex.hpp", + "external/sources/boost/boost/algorithm/string/detail/formatter.hpp", + "external/sources/boost/boost/algorithm/string/detail/formatter_regex.hpp", + "external/sources/boost/boost/algorithm/string/detail/predicate.hpp", + "external/sources/boost/boost/algorithm/string/detail/replace_storage.hpp", + "external/sources/boost/boost/algorithm/string/detail/sequence.hpp", + "external/sources/boost/boost/algorithm/string/detail/trim.hpp", + "external/sources/boost/boost/algorithm/string/detail/util.hpp", + "external/sources/boost/boost/algorithm/string/erase.hpp", + "external/sources/boost/boost/algorithm/string/find.hpp", + "external/sources/boost/boost/algorithm/string/find_format.hpp", + "external/sources/boost/boost/algorithm/string/find_iterator.hpp", + "external/sources/boost/boost/algorithm/string/finder.hpp", + "external/sources/boost/boost/algorithm/string/formatter.hpp", + "external/sources/boost/boost/algorithm/string/iter_find.hpp", + "external/sources/boost/boost/algorithm/string/join.hpp", + "external/sources/boost/boost/algorithm/string/predicate.hpp", + "external/sources/boost/boost/algorithm/string/predicate_facade.hpp", + "external/sources/boost/boost/algorithm/string/regex.hpp", + "external/sources/boost/boost/algorithm/string/regex_find_format.hpp", + "external/sources/boost/boost/algorithm/string/replace.hpp", + "external/sources/boost/boost/algorithm/string/sequence_traits.hpp", + "external/sources/boost/boost/algorithm/string/split.hpp", + "external/sources/boost/boost/algorithm/string/std/list_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/rope_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/slist_traits.hpp", + "external/sources/boost/boost/algorithm/string/std/string_traits.hpp", + "external/sources/boost/boost/algorithm/string/std_containers_traits.hpp", + "external/sources/boost/boost/algorithm/string/trim.hpp", + "external/sources/boost/boost/algorithm/string/trim_all.hpp", + "external/sources/boost/boost/algorithm/string/yes_no_type.hpp", + "external/sources/boost/boost/algorithm/string_regex.hpp", + "external/sources/boost/boost/align.hpp", + "external/sources/boost/boost/align/align.hpp", + "external/sources/boost/boost/align/align_down.hpp", + "external/sources/boost/boost/align/align_up.hpp", + "external/sources/boost/boost/align/aligned_alloc.hpp", + "external/sources/boost/boost/align/aligned_allocator.hpp", + "external/sources/boost/boost/align/aligned_allocator_adaptor.hpp", + "external/sources/boost/boost/align/aligned_allocator_adaptor_forward.hpp", + "external/sources/boost/boost/align/aligned_allocator_forward.hpp", + "external/sources/boost/boost/align/aligned_delete.hpp", + "external/sources/boost/boost/align/aligned_delete_forward.hpp", + "external/sources/boost/boost/align/alignment_of.hpp", + "external/sources/boost/boost/align/alignment_of_forward.hpp", + "external/sources/boost/boost/align/assume_aligned.hpp", + "external/sources/boost/boost/align/detail/add_reference.hpp", + "external/sources/boost/boost/align/detail/align.hpp", + "external/sources/boost/boost/align/detail/align_cxx11.hpp", + "external/sources/boost/boost/align/detail/align_down.hpp", + "external/sources/boost/boost/align/detail/align_up.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_android.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_macos.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_mingw.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_msvc.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_new.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_posix.hpp", + "external/sources/boost/boost/align/detail/aligned_alloc_sunos.hpp", + "external/sources/boost/boost/align/detail/alignment_of.hpp", + "external/sources/boost/boost/align/detail/alignment_of_clang.hpp", + "external/sources/boost/boost/align/detail/alignment_of_codegear.hpp", + "external/sources/boost/boost/align/detail/alignment_of_cxx11.hpp", + "external/sources/boost/boost/align/detail/alignment_of_gcc.hpp", + "external/sources/boost/boost/align/detail/alignment_of_msvc.hpp", + "external/sources/boost/boost/align/detail/assume_aligned.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_clang.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_gcc.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_intel.hpp", + "external/sources/boost/boost/align/detail/assume_aligned_msvc.hpp", + "external/sources/boost/boost/align/detail/element_type.hpp", + "external/sources/boost/boost/align/detail/integral_constant.hpp", + "external/sources/boost/boost/align/detail/is_aligned.hpp", + "external/sources/boost/boost/align/detail/is_alignment.hpp", + "external/sources/boost/boost/align/detail/is_alignment_constant.hpp", + "external/sources/boost/boost/align/detail/max_align.hpp", + "external/sources/boost/boost/align/detail/max_objects.hpp", + "external/sources/boost/boost/align/detail/max_size.hpp", + "external/sources/boost/boost/align/detail/min_size.hpp", + "external/sources/boost/boost/align/detail/not_pointer.hpp", + "external/sources/boost/boost/align/detail/throw_exception.hpp", + "external/sources/boost/boost/align/is_aligned.hpp", + "external/sources/boost/boost/aligned_storage.hpp", + "external/sources/boost/boost/any.hpp", + "external/sources/boost/boost/archive/archive_exception.hpp", + "external/sources/boost/boost/archive/basic_archive.hpp", + "external/sources/boost/boost/archive/basic_binary_iarchive.hpp", + "external/sources/boost/boost/archive/basic_binary_iprimitive.hpp", + "external/sources/boost/boost/archive/basic_binary_oarchive.hpp", + "external/sources/boost/boost/archive/basic_binary_oprimitive.hpp", + "external/sources/boost/boost/archive/basic_streambuf_locale_saver.hpp", + "external/sources/boost/boost/archive/basic_text_iarchive.hpp", + "external/sources/boost/boost/archive/basic_text_iprimitive.hpp", + "external/sources/boost/boost/archive/basic_text_oarchive.hpp", + "external/sources/boost/boost/archive/basic_text_oprimitive.hpp", + "external/sources/boost/boost/archive/basic_xml_archive.hpp", + "external/sources/boost/boost/archive/basic_xml_iarchive.hpp", + "external/sources/boost/boost/archive/basic_xml_oarchive.hpp", + "external/sources/boost/boost/archive/binary_iarchive.hpp", + "external/sources/boost/boost/archive/binary_iarchive_impl.hpp", + "external/sources/boost/boost/archive/binary_oarchive.hpp", + "external/sources/boost/boost/archive/binary_oarchive_impl.hpp", + "external/sources/boost/boost/archive/binary_wiarchive.hpp", + "external/sources/boost/boost/archive/binary_woarchive.hpp", + "external/sources/boost/boost/archive/codecvt_null.hpp", + "external/sources/boost/boost/archive/detail/abi_prefix.hpp", + "external/sources/boost/boost/archive/detail/abi_suffix.hpp", + "external/sources/boost/boost/archive/detail/archive_serializer_map.hpp", + "external/sources/boost/boost/archive/detail/auto_link_archive.hpp", + "external/sources/boost/boost/archive/detail/auto_link_warchive.hpp", + "external/sources/boost/boost/archive/detail/basic_iarchive.hpp", + "external/sources/boost/boost/archive/detail/basic_iserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_oarchive.hpp", + "external/sources/boost/boost/archive/detail/basic_oserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_pointer_iserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_pointer_oserializer.hpp", + "external/sources/boost/boost/archive/detail/basic_serializer.hpp", + "external/sources/boost/boost/archive/detail/basic_serializer_map.hpp", + "external/sources/boost/boost/archive/detail/check.hpp", + "external/sources/boost/boost/archive/detail/common_iarchive.hpp", + "external/sources/boost/boost/archive/detail/common_oarchive.hpp", + "external/sources/boost/boost/archive/detail/decl.hpp", + "external/sources/boost/boost/archive/detail/helper_collection.hpp", + "external/sources/boost/boost/archive/detail/interface_iarchive.hpp", + "external/sources/boost/boost/archive/detail/interface_oarchive.hpp", + "external/sources/boost/boost/archive/detail/iserializer.hpp", + "external/sources/boost/boost/archive/detail/oserializer.hpp", + "external/sources/boost/boost/archive/detail/polymorphic_iarchive_route.hpp", + "external/sources/boost/boost/archive/detail/polymorphic_oarchive_route.hpp", + "external/sources/boost/boost/archive/detail/register_archive.hpp", + "external/sources/boost/boost/archive/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/archive/dinkumware.hpp", + "external/sources/boost/boost/archive/impl/archive_serializer_map.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_iprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_oarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_binary_oprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_iprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_oarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_text_oprimitive.ipp", + "external/sources/boost/boost/archive/impl/basic_xml_grammar.hpp", + "external/sources/boost/boost/archive/impl/basic_xml_iarchive.ipp", + "external/sources/boost/boost/archive/impl/basic_xml_oarchive.ipp", + "external/sources/boost/boost/archive/impl/text_iarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_oarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_wiarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/text_woarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_iarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_oarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_wiarchive_impl.ipp", + "external/sources/boost/boost/archive/impl/xml_woarchive_impl.ipp", + "external/sources/boost/boost/archive/iterators/base64_exception.hpp", + "external/sources/boost/boost/archive/iterators/base64_from_binary.hpp", + "external/sources/boost/boost/archive/iterators/binary_from_base64.hpp", + "external/sources/boost/boost/archive/iterators/dataflow.hpp", + "external/sources/boost/boost/archive/iterators/dataflow_exception.hpp", + "external/sources/boost/boost/archive/iterators/escape.hpp", + "external/sources/boost/boost/archive/iterators/insert_linebreaks.hpp", + "external/sources/boost/boost/archive/iterators/istream_iterator.hpp", + "external/sources/boost/boost/archive/iterators/mb_from_wchar.hpp", + "external/sources/boost/boost/archive/iterators/ostream_iterator.hpp", + "external/sources/boost/boost/archive/iterators/remove_whitespace.hpp", + "external/sources/boost/boost/archive/iterators/transform_width.hpp", + "external/sources/boost/boost/archive/iterators/unescape.hpp", + "external/sources/boost/boost/archive/iterators/wchar_from_mb.hpp", + "external/sources/boost/boost/archive/iterators/xml_escape.hpp", + "external/sources/boost/boost/archive/iterators/xml_unescape.hpp", + "external/sources/boost/boost/archive/iterators/xml_unescape_exception.hpp", + "external/sources/boost/boost/archive/polymorphic_binary_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_binary_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_wiarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_text_woarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_iarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_oarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_wiarchive.hpp", + "external/sources/boost/boost/archive/polymorphic_xml_woarchive.hpp", + "external/sources/boost/boost/archive/text_iarchive.hpp", + "external/sources/boost/boost/archive/text_oarchive.hpp", + "external/sources/boost/boost/archive/text_wiarchive.hpp", + "external/sources/boost/boost/archive/text_woarchive.hpp", + "external/sources/boost/boost/archive/tmpdir.hpp", + "external/sources/boost/boost/archive/wcslen.hpp", + "external/sources/boost/boost/archive/xml_archive_exception.hpp", + "external/sources/boost/boost/archive/xml_iarchive.hpp", + "external/sources/boost/boost/archive/xml_oarchive.hpp", + "external/sources/boost/boost/archive/xml_wiarchive.hpp", + "external/sources/boost/boost/archive/xml_woarchive.hpp", + "external/sources/boost/boost/array.hpp", + "external/sources/boost/boost/asio.hpp", + "external/sources/boost/boost/asio/any_io_executor.hpp", + "external/sources/boost/boost/asio/associated_allocator.hpp", + "external/sources/boost/boost/asio/associated_executor.hpp", + "external/sources/boost/boost/asio/async_result.hpp", + "external/sources/boost/boost/asio/awaitable.hpp", + "external/sources/boost/boost/asio/basic_datagram_socket.hpp", + "external/sources/boost/boost/asio/basic_deadline_timer.hpp", + "external/sources/boost/boost/asio/basic_io_object.hpp", + "external/sources/boost/boost/asio/basic_raw_socket.hpp", + "external/sources/boost/boost/asio/basic_seq_packet_socket.hpp", + "external/sources/boost/boost/asio/basic_serial_port.hpp", + "external/sources/boost/boost/asio/basic_signal_set.hpp", + "external/sources/boost/boost/asio/basic_socket.hpp", + "external/sources/boost/boost/asio/basic_socket_acceptor.hpp", + "external/sources/boost/boost/asio/basic_socket_iostream.hpp", + "external/sources/boost/boost/asio/basic_socket_streambuf.hpp", + "external/sources/boost/boost/asio/basic_stream_socket.hpp", + "external/sources/boost/boost/asio/basic_streambuf.hpp", + "external/sources/boost/boost/asio/basic_streambuf_fwd.hpp", + "external/sources/boost/boost/asio/basic_waitable_timer.hpp", + "external/sources/boost/boost/asio/bind_executor.hpp", + "external/sources/boost/boost/asio/buffer.hpp", + "external/sources/boost/boost/asio/buffered_read_stream.hpp", + "external/sources/boost/boost/asio/buffered_read_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffered_stream.hpp", + "external/sources/boost/boost/asio/buffered_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffered_write_stream.hpp", + "external/sources/boost/boost/asio/buffered_write_stream_fwd.hpp", + "external/sources/boost/boost/asio/buffers_iterator.hpp", + "external/sources/boost/boost/asio/co_spawn.hpp", + "external/sources/boost/boost/asio/completion_condition.hpp", + "external/sources/boost/boost/asio/compose.hpp", + "external/sources/boost/boost/asio/connect.hpp", + "external/sources/boost/boost/asio/coroutine.hpp", + "external/sources/boost/boost/asio/deadline_timer.hpp", + "external/sources/boost/boost/asio/defer.hpp", + "external/sources/boost/boost/asio/detached.hpp", + "external/sources/boost/boost/asio/detail/array.hpp", + "external/sources/boost/boost/asio/detail/array_fwd.hpp", + "external/sources/boost/boost/asio/detail/assert.hpp", + "external/sources/boost/boost/asio/detail/atomic_count.hpp", + "external/sources/boost/boost/asio/detail/base_from_completion_cond.hpp", + "external/sources/boost/boost/asio/detail/bind_handler.hpp", + "external/sources/boost/boost/asio/detail/blocking_executor_op.hpp", + "external/sources/boost/boost/asio/detail/buffer_resize_guard.hpp", + "external/sources/boost/boost/asio/detail/buffer_sequence_adapter.hpp", + "external/sources/boost/boost/asio/detail/buffered_stream_storage.hpp", + "external/sources/boost/boost/asio/detail/bulk_executor_op.hpp", + "external/sources/boost/boost/asio/detail/call_stack.hpp", + "external/sources/boost/boost/asio/detail/chrono.hpp", + "external/sources/boost/boost/asio/detail/chrono_time_traits.hpp", + "external/sources/boost/boost/asio/detail/completion_handler.hpp", + "external/sources/boost/boost/asio/detail/concurrency_hint.hpp", + "external/sources/boost/boost/asio/detail/conditionally_enabled_event.hpp", + "external/sources/boost/boost/asio/detail/conditionally_enabled_mutex.hpp", + "external/sources/boost/boost/asio/detail/config.hpp", + "external/sources/boost/boost/asio/detail/consuming_buffers.hpp", + "external/sources/boost/boost/asio/detail/cstddef.hpp", + "external/sources/boost/boost/asio/detail/cstdint.hpp", + "external/sources/boost/boost/asio/detail/date_time_fwd.hpp", + "external/sources/boost/boost/asio/detail/deadline_timer_service.hpp", + "external/sources/boost/boost/asio/detail/dependent_type.hpp", + "external/sources/boost/boost/asio/detail/descriptor_ops.hpp", + "external/sources/boost/boost/asio/detail/descriptor_read_op.hpp", + "external/sources/boost/boost/asio/detail/descriptor_write_op.hpp", + "external/sources/boost/boost/asio/detail/dev_poll_reactor.hpp", + "external/sources/boost/boost/asio/detail/epoll_reactor.hpp", + "external/sources/boost/boost/asio/detail/event.hpp", + "external/sources/boost/boost/asio/detail/eventfd_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/executor_function.hpp", + "external/sources/boost/boost/asio/detail/executor_op.hpp", + "external/sources/boost/boost/asio/detail/fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/fenced_block.hpp", + "external/sources/boost/boost/asio/detail/functional.hpp", + "external/sources/boost/boost/asio/detail/future.hpp", + "external/sources/boost/boost/asio/detail/gcc_arm_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_hppa_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_sync_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/gcc_x86_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/global.hpp", + "external/sources/boost/boost/asio/detail/handler_alloc_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_cont_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_invoke_helpers.hpp", + "external/sources/boost/boost/asio/detail/handler_tracking.hpp", + "external/sources/boost/boost/asio/detail/handler_type_requirements.hpp", + "external/sources/boost/boost/asio/detail/handler_work.hpp", + "external/sources/boost/boost/asio/detail/hash_map.hpp", + "external/sources/boost/boost/asio/detail/impl/buffer_sequence_adapter.ipp", + "external/sources/boost/boost/asio/detail/impl/descriptor_ops.ipp", + "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/epoll_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/epoll_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/eventfd_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/handler_tracking.ipp", + "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/null_event.ipp", + "external/sources/boost/boost/asio/detail/impl/pipe_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_event.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_thread.ipp", + "external/sources/boost/boost/asio/detail/impl/posix_tss_ptr.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_descriptor_service.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_serial_port_service.ipp", + "external/sources/boost/boost/asio/detail/impl/reactive_socket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/resolver_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/scheduler.ipp", + "external/sources/boost/boost/asio/detail/impl/select_reactor.hpp", + "external/sources/boost/boost/asio/detail/impl/select_reactor.ipp", + "external/sources/boost/boost/asio/detail/impl/service_registry.hpp", + "external/sources/boost/boost/asio/detail/impl/service_registry.ipp", + "external/sources/boost/boost/asio/detail/impl/signal_set_service.ipp", + "external/sources/boost/boost/asio/detail/impl/socket_ops.ipp", + "external/sources/boost/boost/asio/detail/impl/socket_select_interrupter.ipp", + "external/sources/boost/boost/asio/detail/impl/strand_executor_service.hpp", + "external/sources/boost/boost/asio/detail/impl/strand_executor_service.ipp", + "external/sources/boost/boost/asio/detail/impl/strand_service.hpp", + "external/sources/boost/boost/asio/detail/impl/strand_service.ipp", + "external/sources/boost/boost/asio/detail/impl/throw_error.ipp", + "external/sources/boost/boost/asio/detail/impl/timer_queue_ptime.ipp", + "external/sources/boost/boost/asio/detail/impl/timer_queue_set.ipp", + "external/sources/boost/boost/asio/detail/impl/win_event.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_handle_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.hpp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_serial_port_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_iocp_socket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/win_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/win_object_handle_service.ipp", + "external/sources/boost/boost/asio/detail/impl/win_static_mutex.ipp", + "external/sources/boost/boost/asio/detail/impl/win_thread.ipp", + "external/sources/boost/boost/asio/detail/impl/win_tss_ptr.ipp", + "external/sources/boost/boost/asio/detail/impl/winrt_ssocket_service_base.ipp", + "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.ipp", + "external/sources/boost/boost/asio/detail/impl/winsock_init.ipp", + "external/sources/boost/boost/asio/detail/io_control.hpp", + "external/sources/boost/boost/asio/detail/io_object_impl.hpp", + "external/sources/boost/boost/asio/detail/is_buffer_sequence.hpp", + "external/sources/boost/boost/asio/detail/is_executor.hpp", + "external/sources/boost/boost/asio/detail/keyword_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/kqueue_reactor.hpp", + "external/sources/boost/boost/asio/detail/limits.hpp", + "external/sources/boost/boost/asio/detail/local_free_on_block_exit.hpp", + "external/sources/boost/boost/asio/detail/macos_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/memory.hpp", + "external/sources/boost/boost/asio/detail/mutex.hpp", + "external/sources/boost/boost/asio/detail/non_const_lvalue.hpp", + "external/sources/boost/boost/asio/detail/noncopyable.hpp", + "external/sources/boost/boost/asio/detail/null_event.hpp", + "external/sources/boost/boost/asio/detail/null_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/null_global.hpp", + "external/sources/boost/boost/asio/detail/null_mutex.hpp", + "external/sources/boost/boost/asio/detail/null_reactor.hpp", + "external/sources/boost/boost/asio/detail/null_signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/null_socket_service.hpp", + "external/sources/boost/boost/asio/detail/null_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/null_thread.hpp", + "external/sources/boost/boost/asio/detail/null_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/object_pool.hpp", + "external/sources/boost/boost/asio/detail/old_win_sdk_compat.hpp", + "external/sources/boost/boost/asio/detail/op_queue.hpp", + "external/sources/boost/boost/asio/detail/operation.hpp", + "external/sources/boost/boost/asio/detail/pipe_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/pop_options.hpp", + "external/sources/boost/boost/asio/detail/posix_event.hpp", + "external/sources/boost/boost/asio/detail/posix_fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/posix_global.hpp", + "external/sources/boost/boost/asio/detail/posix_mutex.hpp", + "external/sources/boost/boost/asio/detail/posix_signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/posix_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/posix_thread.hpp", + "external/sources/boost/boost/asio/detail/posix_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/push_options.hpp", + "external/sources/boost/boost/asio/detail/reactive_descriptor_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_null_buffers_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_serial_port_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_accept_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recvfrom_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_recvmsg_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_sendto_op.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_service.hpp", + "external/sources/boost/boost/asio/detail/reactive_socket_service_base.hpp", + "external/sources/boost/boost/asio/detail/reactive_wait_op.hpp", + "external/sources/boost/boost/asio/detail/reactor.hpp", + "external/sources/boost/boost/asio/detail/reactor_fwd.hpp", + "external/sources/boost/boost/asio/detail/reactor_op.hpp", + "external/sources/boost/boost/asio/detail/reactor_op_queue.hpp", + "external/sources/boost/boost/asio/detail/recycling_allocator.hpp", + "external/sources/boost/boost/asio/detail/regex_fwd.hpp", + "external/sources/boost/boost/asio/detail/resolve_endpoint_op.hpp", + "external/sources/boost/boost/asio/detail/resolve_op.hpp", + "external/sources/boost/boost/asio/detail/resolve_query_op.hpp", + "external/sources/boost/boost/asio/detail/resolver_service.hpp", + "external/sources/boost/boost/asio/detail/resolver_service_base.hpp", + "external/sources/boost/boost/asio/detail/scheduler.hpp", + "external/sources/boost/boost/asio/detail/scheduler_operation.hpp", + "external/sources/boost/boost/asio/detail/scheduler_thread_info.hpp", + "external/sources/boost/boost/asio/detail/scoped_lock.hpp", + "external/sources/boost/boost/asio/detail/scoped_ptr.hpp", + "external/sources/boost/boost/asio/detail/select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/select_reactor.hpp", + "external/sources/boost/boost/asio/detail/service_registry.hpp", + "external/sources/boost/boost/asio/detail/signal_blocker.hpp", + "external/sources/boost/boost/asio/detail/signal_handler.hpp", + "external/sources/boost/boost/asio/detail/signal_init.hpp", + "external/sources/boost/boost/asio/detail/signal_op.hpp", + "external/sources/boost/boost/asio/detail/signal_set_service.hpp", + "external/sources/boost/boost/asio/detail/socket_holder.hpp", + "external/sources/boost/boost/asio/detail/socket_ops.hpp", + "external/sources/boost/boost/asio/detail/socket_option.hpp", + "external/sources/boost/boost/asio/detail/socket_select_interrupter.hpp", + "external/sources/boost/boost/asio/detail/socket_types.hpp", + "external/sources/boost/boost/asio/detail/solaris_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/source_location.hpp", + "external/sources/boost/boost/asio/detail/static_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_event.hpp", + "external/sources/boost/boost/asio/detail/std_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/std_global.hpp", + "external/sources/boost/boost/asio/detail/std_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/std_thread.hpp", + "external/sources/boost/boost/asio/detail/strand_executor_service.hpp", + "external/sources/boost/boost/asio/detail/strand_service.hpp", + "external/sources/boost/boost/asio/detail/string_view.hpp", + "external/sources/boost/boost/asio/detail/thread.hpp", + "external/sources/boost/boost/asio/detail/thread_context.hpp", + "external/sources/boost/boost/asio/detail/thread_group.hpp", + "external/sources/boost/boost/asio/detail/thread_info_base.hpp", + "external/sources/boost/boost/asio/detail/throw_error.hpp", + "external/sources/boost/boost/asio/detail/throw_exception.hpp", + "external/sources/boost/boost/asio/detail/timer_queue.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_base.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_ptime.hpp", + "external/sources/boost/boost/asio/detail/timer_queue_set.hpp", + "external/sources/boost/boost/asio/detail/timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/timer_scheduler_fwd.hpp", + "external/sources/boost/boost/asio/detail/tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/type_traits.hpp", + "external/sources/boost/boost/asio/detail/variadic_templates.hpp", + "external/sources/boost/boost/asio/detail/wait_handler.hpp", + "external/sources/boost/boost/asio/detail/wait_op.hpp", + "external/sources/boost/boost/asio/detail/win_event.hpp", + "external/sources/boost/boost/asio/detail/win_fd_set_adapter.hpp", + "external/sources/boost/boost/asio/detail/win_fenced_block.hpp", + "external/sources/boost/boost/asio/detail/win_global.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_read_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_handle_write_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_io_context.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_null_buffers_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_operation.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_overlapped_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_overlapped_ptr.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_serial_port_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_accept_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recvfrom_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_recvmsg_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_service.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_socket_service_base.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_thread_info.hpp", + "external/sources/boost/boost/asio/detail/win_iocp_wait_op.hpp", + "external/sources/boost/boost/asio/detail/win_mutex.hpp", + "external/sources/boost/boost/asio/detail/win_object_handle_service.hpp", + "external/sources/boost/boost/asio/detail/win_static_mutex.hpp", + "external/sources/boost/boost/asio/detail/win_thread.hpp", + "external/sources/boost/boost/asio/detail/win_tss_ptr.hpp", + "external/sources/boost/boost/asio/detail/winapp_thread.hpp", + "external/sources/boost/boost/asio/detail/wince_thread.hpp", + "external/sources/boost/boost/asio/detail/winrt_async_manager.hpp", + "external/sources/boost/boost/asio/detail/winrt_async_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_resolve_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_resolver_service.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_connect_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_recv_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_socket_send_op.hpp", + "external/sources/boost/boost/asio/detail/winrt_ssocket_service.hpp", + "external/sources/boost/boost/asio/detail/winrt_ssocket_service_base.hpp", + "external/sources/boost/boost/asio/detail/winrt_timer_scheduler.hpp", + "external/sources/boost/boost/asio/detail/winrt_utils.hpp", + "external/sources/boost/boost/asio/detail/winsock_init.hpp", + "external/sources/boost/boost/asio/detail/work_dispatcher.hpp", + "external/sources/boost/boost/asio/detail/wrapped_handler.hpp", + "external/sources/boost/boost/asio/dispatch.hpp", + "external/sources/boost/boost/asio/error.hpp", + "external/sources/boost/boost/asio/execution.hpp", + "external/sources/boost/boost/asio/execution/allocator.hpp", + "external/sources/boost/boost/asio/execution/any_executor.hpp", + "external/sources/boost/boost/asio/execution/bad_executor.hpp", + "external/sources/boost/boost/asio/execution/blocking.hpp", + "external/sources/boost/boost/asio/execution/blocking_adaptation.hpp", + "external/sources/boost/boost/asio/execution/bulk_execute.hpp", + "external/sources/boost/boost/asio/execution/bulk_guarantee.hpp", + "external/sources/boost/boost/asio/execution/connect.hpp", + "external/sources/boost/boost/asio/execution/context.hpp", + "external/sources/boost/boost/asio/execution/context_as.hpp", + "external/sources/boost/boost/asio/execution/detail/as_invocable.hpp", + "external/sources/boost/boost/asio/execution/detail/as_operation.hpp", + "external/sources/boost/boost/asio/execution/detail/as_receiver.hpp", + "external/sources/boost/boost/asio/execution/detail/bulk_sender.hpp", + "external/sources/boost/boost/asio/execution/detail/submit_receiver.hpp", + "external/sources/boost/boost/asio/execution/detail/void_receiver.hpp", + "external/sources/boost/boost/asio/execution/execute.hpp", + "external/sources/boost/boost/asio/execution/executor.hpp", + "external/sources/boost/boost/asio/execution/impl/bad_executor.ipp", + "external/sources/boost/boost/asio/execution/impl/receiver_invocation_error.ipp", + "external/sources/boost/boost/asio/execution/invocable_archetype.hpp", + "external/sources/boost/boost/asio/execution/mapping.hpp", + "external/sources/boost/boost/asio/execution/occupancy.hpp", + "external/sources/boost/boost/asio/execution/operation_state.hpp", + "external/sources/boost/boost/asio/execution/outstanding_work.hpp", + "external/sources/boost/boost/asio/execution/prefer_only.hpp", + "external/sources/boost/boost/asio/execution/receiver.hpp", + "external/sources/boost/boost/asio/execution/receiver_invocation_error.hpp", + "external/sources/boost/boost/asio/execution/relationship.hpp", + "external/sources/boost/boost/asio/execution/schedule.hpp", + "external/sources/boost/boost/asio/execution/scheduler.hpp", + "external/sources/boost/boost/asio/execution/sender.hpp", + "external/sources/boost/boost/asio/execution/set_done.hpp", + "external/sources/boost/boost/asio/execution/set_error.hpp", + "external/sources/boost/boost/asio/execution/set_value.hpp", + "external/sources/boost/boost/asio/execution/start.hpp", + "external/sources/boost/boost/asio/execution/submit.hpp", + "external/sources/boost/boost/asio/execution_context.hpp", + "external/sources/boost/boost/asio/executor.hpp", + "external/sources/boost/boost/asio/executor_work_guard.hpp", + "external/sources/boost/boost/asio/generic/basic_endpoint.hpp", + "external/sources/boost/boost/asio/generic/datagram_protocol.hpp", + "external/sources/boost/boost/asio/generic/detail/endpoint.hpp", + "external/sources/boost/boost/asio/generic/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/generic/raw_protocol.hpp", + "external/sources/boost/boost/asio/generic/seq_packet_protocol.hpp", + "external/sources/boost/boost/asio/generic/stream_protocol.hpp", + "external/sources/boost/boost/asio/handler_alloc_hook.hpp", + "external/sources/boost/boost/asio/handler_continuation_hook.hpp", + "external/sources/boost/boost/asio/handler_invoke_hook.hpp", + "external/sources/boost/boost/asio/high_resolution_timer.hpp", + "external/sources/boost/boost/asio/impl/awaitable.hpp", + "external/sources/boost/boost/asio/impl/buffered_read_stream.hpp", + "external/sources/boost/boost/asio/impl/buffered_write_stream.hpp", + "external/sources/boost/boost/asio/impl/co_spawn.hpp", + "external/sources/boost/boost/asio/impl/compose.hpp", + "external/sources/boost/boost/asio/impl/connect.hpp", + "external/sources/boost/boost/asio/impl/defer.hpp", + "external/sources/boost/boost/asio/impl/detached.hpp", + "external/sources/boost/boost/asio/impl/dispatch.hpp", + "external/sources/boost/boost/asio/impl/error.ipp", + "external/sources/boost/boost/asio/impl/execution_context.hpp", + "external/sources/boost/boost/asio/impl/execution_context.ipp", + "external/sources/boost/boost/asio/impl/executor.hpp", + "external/sources/boost/boost/asio/impl/executor.ipp", + "external/sources/boost/boost/asio/impl/handler_alloc_hook.ipp", + "external/sources/boost/boost/asio/impl/io_context.hpp", + "external/sources/boost/boost/asio/impl/io_context.ipp", + "external/sources/boost/boost/asio/impl/multiple_exceptions.ipp", + "external/sources/boost/boost/asio/impl/post.hpp", + "external/sources/boost/boost/asio/impl/read.hpp", + "external/sources/boost/boost/asio/impl/read_at.hpp", + "external/sources/boost/boost/asio/impl/read_until.hpp", + "external/sources/boost/boost/asio/impl/redirect_error.hpp", + "external/sources/boost/boost/asio/impl/serial_port_base.hpp", + "external/sources/boost/boost/asio/impl/serial_port_base.ipp", + "external/sources/boost/boost/asio/impl/spawn.hpp", + "external/sources/boost/boost/asio/impl/src.cpp", + "external/sources/boost/boost/asio/impl/src.hpp", + "external/sources/boost/boost/asio/impl/system_context.hpp", + "external/sources/boost/boost/asio/impl/system_context.ipp", + "external/sources/boost/boost/asio/impl/system_executor.hpp", + "external/sources/boost/boost/asio/impl/thread_pool.hpp", + "external/sources/boost/boost/asio/impl/thread_pool.ipp", + "external/sources/boost/boost/asio/impl/use_awaitable.hpp", + "external/sources/boost/boost/asio/impl/use_future.hpp", + "external/sources/boost/boost/asio/impl/write.hpp", + "external/sources/boost/boost/asio/impl/write_at.hpp", + "external/sources/boost/boost/asio/io_context.hpp", + "external/sources/boost/boost/asio/io_context_strand.hpp", + "external/sources/boost/boost/asio/io_service.hpp", + "external/sources/boost/boost/asio/io_service_strand.hpp", + "external/sources/boost/boost/asio/ip/address.hpp", + "external/sources/boost/boost/asio/ip/address_v4.hpp", + "external/sources/boost/boost/asio/ip/address_v4_iterator.hpp", + "external/sources/boost/boost/asio/ip/address_v4_range.hpp", + "external/sources/boost/boost/asio/ip/address_v6.hpp", + "external/sources/boost/boost/asio/ip/address_v6_iterator.hpp", + "external/sources/boost/boost/asio/ip/address_v6_range.hpp", + "external/sources/boost/boost/asio/ip/bad_address_cast.hpp", + "external/sources/boost/boost/asio/ip/basic_endpoint.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_entry.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_iterator.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_query.hpp", + "external/sources/boost/boost/asio/ip/basic_resolver_results.hpp", + "external/sources/boost/boost/asio/ip/detail/endpoint.hpp", + "external/sources/boost/boost/asio/ip/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/ip/detail/socket_option.hpp", + "external/sources/boost/boost/asio/ip/host_name.hpp", + "external/sources/boost/boost/asio/ip/icmp.hpp", + "external/sources/boost/boost/asio/ip/impl/address.hpp", + "external/sources/boost/boost/asio/ip/impl/address.ipp", + "external/sources/boost/boost/asio/ip/impl/address_v4.hpp", + "external/sources/boost/boost/asio/ip/impl/address_v4.ipp", + "external/sources/boost/boost/asio/ip/impl/address_v6.hpp", + "external/sources/boost/boost/asio/ip/impl/address_v6.ipp", + "external/sources/boost/boost/asio/ip/impl/basic_endpoint.hpp", + "external/sources/boost/boost/asio/ip/impl/host_name.ipp", + "external/sources/boost/boost/asio/ip/impl/network_v4.hpp", + "external/sources/boost/boost/asio/ip/impl/network_v4.ipp", + "external/sources/boost/boost/asio/ip/impl/network_v6.hpp", + "external/sources/boost/boost/asio/ip/impl/network_v6.ipp", + "external/sources/boost/boost/asio/ip/multicast.hpp", + "external/sources/boost/boost/asio/ip/network_v4.hpp", + "external/sources/boost/boost/asio/ip/network_v6.hpp", + "external/sources/boost/boost/asio/ip/resolver_base.hpp", + "external/sources/boost/boost/asio/ip/resolver_query_base.hpp", + "external/sources/boost/boost/asio/ip/tcp.hpp", + "external/sources/boost/boost/asio/ip/udp.hpp", + "external/sources/boost/boost/asio/ip/unicast.hpp", + "external/sources/boost/boost/asio/ip/v6_only.hpp", + "external/sources/boost/boost/asio/is_applicable_property.hpp", + "external/sources/boost/boost/asio/is_executor.hpp", + "external/sources/boost/boost/asio/is_read_buffered.hpp", + "external/sources/boost/boost/asio/is_write_buffered.hpp", + "external/sources/boost/boost/asio/local/basic_endpoint.hpp", + "external/sources/boost/boost/asio/local/connect_pair.hpp", + "external/sources/boost/boost/asio/local/datagram_protocol.hpp", + "external/sources/boost/boost/asio/local/detail/endpoint.hpp", + "external/sources/boost/boost/asio/local/detail/impl/endpoint.ipp", + "external/sources/boost/boost/asio/local/stream_protocol.hpp", + "external/sources/boost/boost/asio/multiple_exceptions.hpp", + "external/sources/boost/boost/asio/packaged_task.hpp", + "external/sources/boost/boost/asio/placeholders.hpp", + "external/sources/boost/boost/asio/posix/basic_descriptor.hpp", + "external/sources/boost/boost/asio/posix/basic_stream_descriptor.hpp", + "external/sources/boost/boost/asio/posix/descriptor.hpp", + "external/sources/boost/boost/asio/posix/descriptor_base.hpp", + "external/sources/boost/boost/asio/posix/stream_descriptor.hpp", + "external/sources/boost/boost/asio/post.hpp", + "external/sources/boost/boost/asio/prefer.hpp", + "external/sources/boost/boost/asio/query.hpp", + "external/sources/boost/boost/asio/read.hpp", + "external/sources/boost/boost/asio/read_at.hpp", + "external/sources/boost/boost/asio/read_until.hpp", + "external/sources/boost/boost/asio/redirect_error.hpp", + "external/sources/boost/boost/asio/require.hpp", + "external/sources/boost/boost/asio/require_concept.hpp", + "external/sources/boost/boost/asio/serial_port.hpp", + "external/sources/boost/boost/asio/serial_port_base.hpp", + "external/sources/boost/boost/asio/signal_set.hpp", + "external/sources/boost/boost/asio/socket_base.hpp", + "external/sources/boost/boost/asio/spawn.hpp", + "external/sources/boost/boost/asio/ssl.hpp", + "external/sources/boost/boost/asio/ssl/context.hpp", + "external/sources/boost/boost/asio/ssl/context_base.hpp", + "external/sources/boost/boost/asio/ssl/detail/buffered_handshake_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/engine.hpp", + "external/sources/boost/boost/asio/ssl/detail/handshake_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/impl/engine.ipp", + "external/sources/boost/boost/asio/ssl/detail/impl/openssl_init.ipp", + "external/sources/boost/boost/asio/ssl/detail/io.hpp", + "external/sources/boost/boost/asio/ssl/detail/openssl_init.hpp", + "external/sources/boost/boost/asio/ssl/detail/openssl_types.hpp", + "external/sources/boost/boost/asio/ssl/detail/password_callback.hpp", + "external/sources/boost/boost/asio/ssl/detail/read_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/shutdown_op.hpp", + "external/sources/boost/boost/asio/ssl/detail/stream_core.hpp", + "external/sources/boost/boost/asio/ssl/detail/verify_callback.hpp", + "external/sources/boost/boost/asio/ssl/detail/write_op.hpp", + "external/sources/boost/boost/asio/ssl/error.hpp", + "external/sources/boost/boost/asio/ssl/host_name_verification.hpp", + "external/sources/boost/boost/asio/ssl/impl/context.hpp", + "external/sources/boost/boost/asio/ssl/impl/context.ipp", + "external/sources/boost/boost/asio/ssl/impl/error.ipp", + "external/sources/boost/boost/asio/ssl/impl/host_name_verification.ipp", + "external/sources/boost/boost/asio/ssl/impl/rfc2818_verification.ipp", + "external/sources/boost/boost/asio/ssl/impl/src.hpp", + "external/sources/boost/boost/asio/ssl/rfc2818_verification.hpp", + "external/sources/boost/boost/asio/ssl/stream.hpp", + "external/sources/boost/boost/asio/ssl/stream_base.hpp", + "external/sources/boost/boost/asio/ssl/verify_context.hpp", + "external/sources/boost/boost/asio/ssl/verify_mode.hpp", + "external/sources/boost/boost/asio/static_thread_pool.hpp", + "external/sources/boost/boost/asio/steady_timer.hpp", + "external/sources/boost/boost/asio/strand.hpp", + "external/sources/boost/boost/asio/streambuf.hpp", + "external/sources/boost/boost/asio/system_context.hpp", + "external/sources/boost/boost/asio/system_executor.hpp", + "external/sources/boost/boost/asio/system_timer.hpp", + "external/sources/boost/boost/asio/this_coro.hpp", + "external/sources/boost/boost/asio/thread_pool.hpp", + "external/sources/boost/boost/asio/time_traits.hpp", + "external/sources/boost/boost/asio/traits/bulk_execute_free.hpp", + "external/sources/boost/boost/asio/traits/bulk_execute_member.hpp", + "external/sources/boost/boost/asio/traits/connect_free.hpp", + "external/sources/boost/boost/asio/traits/connect_member.hpp", + "external/sources/boost/boost/asio/traits/equality_comparable.hpp", + "external/sources/boost/boost/asio/traits/execute_free.hpp", + "external/sources/boost/boost/asio/traits/execute_member.hpp", + "external/sources/boost/boost/asio/traits/prefer_free.hpp", + "external/sources/boost/boost/asio/traits/prefer_member.hpp", + "external/sources/boost/boost/asio/traits/query_free.hpp", + "external/sources/boost/boost/asio/traits/query_member.hpp", + "external/sources/boost/boost/asio/traits/query_static_constexpr_member.hpp", + "external/sources/boost/boost/asio/traits/require_concept_free.hpp", + "external/sources/boost/boost/asio/traits/require_concept_member.hpp", + "external/sources/boost/boost/asio/traits/require_free.hpp", + "external/sources/boost/boost/asio/traits/require_member.hpp", + "external/sources/boost/boost/asio/traits/schedule_free.hpp", + "external/sources/boost/boost/asio/traits/schedule_member.hpp", + "external/sources/boost/boost/asio/traits/set_done_free.hpp", + "external/sources/boost/boost/asio/traits/set_done_member.hpp", + "external/sources/boost/boost/asio/traits/set_error_free.hpp", + "external/sources/boost/boost/asio/traits/set_error_member.hpp", + "external/sources/boost/boost/asio/traits/set_value_free.hpp", + "external/sources/boost/boost/asio/traits/set_value_member.hpp", + "external/sources/boost/boost/asio/traits/start_free.hpp", + "external/sources/boost/boost/asio/traits/start_member.hpp", + "external/sources/boost/boost/asio/traits/static_query.hpp", + "external/sources/boost/boost/asio/traits/static_require.hpp", + "external/sources/boost/boost/asio/traits/static_require_concept.hpp", + "external/sources/boost/boost/asio/traits/submit_free.hpp", + "external/sources/boost/boost/asio/traits/submit_member.hpp", + "external/sources/boost/boost/asio/ts/buffer.hpp", + "external/sources/boost/boost/asio/ts/executor.hpp", + "external/sources/boost/boost/asio/ts/internet.hpp", + "external/sources/boost/boost/asio/ts/io_context.hpp", + "external/sources/boost/boost/asio/ts/net.hpp", + "external/sources/boost/boost/asio/ts/netfwd.hpp", + "external/sources/boost/boost/asio/ts/socket.hpp", + "external/sources/boost/boost/asio/ts/timer.hpp", + "external/sources/boost/boost/asio/unyield.hpp", + "external/sources/boost/boost/asio/use_awaitable.hpp", + "external/sources/boost/boost/asio/use_future.hpp", + "external/sources/boost/boost/asio/uses_executor.hpp", + "external/sources/boost/boost/asio/version.hpp", + "external/sources/boost/boost/asio/wait_traits.hpp", + "external/sources/boost/boost/asio/windows/basic_object_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_overlapped_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_random_access_handle.hpp", + "external/sources/boost/boost/asio/windows/basic_stream_handle.hpp", + "external/sources/boost/boost/asio/windows/object_handle.hpp", + "external/sources/boost/boost/asio/windows/overlapped_handle.hpp", + "external/sources/boost/boost/asio/windows/overlapped_ptr.hpp", + "external/sources/boost/boost/asio/windows/random_access_handle.hpp", + "external/sources/boost/boost/asio/windows/stream_handle.hpp", + "external/sources/boost/boost/asio/write.hpp", + "external/sources/boost/boost/asio/write_at.hpp", + "external/sources/boost/boost/asio/yield.hpp", + "external/sources/boost/boost/assert.hpp", + "external/sources/boost/boost/assert/source_location.hpp", + "external/sources/boost/boost/assign.hpp", + "external/sources/boost/boost/assign/assignment_exception.hpp", + "external/sources/boost/boost/assign/list_inserter.hpp", + "external/sources/boost/boost/assign/list_of.hpp", + "external/sources/boost/boost/assign/ptr_list_inserter.hpp", + "external/sources/boost/boost/assign/ptr_list_of.hpp", + "external/sources/boost/boost/assign/ptr_map_inserter.hpp", + "external/sources/boost/boost/assign/std.hpp", + "external/sources/boost/boost/assign/std/deque.hpp", + "external/sources/boost/boost/assign/std/list.hpp", + "external/sources/boost/boost/assign/std/map.hpp", + "external/sources/boost/boost/assign/std/queue.hpp", + "external/sources/boost/boost/assign/std/set.hpp", + "external/sources/boost/boost/assign/std/slist.hpp", + "external/sources/boost/boost/assign/std/stack.hpp", + "external/sources/boost/boost/assign/std/vector.hpp", + "external/sources/boost/boost/atomic.hpp", + "external/sources/boost/boost/atomic/atomic.hpp", + "external/sources/boost/boost/atomic/atomic_flag.hpp", + "external/sources/boost/boost/atomic/atomic_ref.hpp", + "external/sources/boost/boost/atomic/capabilities.hpp", + "external/sources/boost/boost/atomic/detail/addressof.hpp", + "external/sources/boost/boost/atomic/detail/aligned_variable.hpp", + "external/sources/boost/boost/atomic/detail/atomic_flag_impl.hpp", + "external/sources/boost/boost/atomic/detail/atomic_impl.hpp", + "external/sources/boost/boost/atomic/detail/atomic_ref_impl.hpp", + "external/sources/boost/boost/atomic/detail/bitwise_cast.hpp", + "external/sources/boost/boost/atomic/detail/bitwise_fp_cast.hpp", + "external/sources/boost/boost/atomic/detail/capabilities.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_arch_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/caps_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/caps_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/caps_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/caps_windows.hpp", + "external/sources/boost/boost/atomic/detail/cas_based_exchange.hpp", + "external/sources/boost/boost/atomic/detail/classify.hpp", + "external/sources/boost/boost/atomic/detail/config.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_operations.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/core_operations.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_emulated.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_emulated_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_cas_based.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/core_ops_windows.hpp", + "external/sources/boost/boost/atomic/detail/extending_cas_based_arithmetic.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_operations.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/extra_fp_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/extra_operations.hpp", + "external/sources/boost/boost/atomic/detail/extra_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/extra_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_operations.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp", + "external/sources/boost/boost/atomic/detail/fence_operations.hpp", + "external/sources/boost/boost/atomic/detail/fence_operations_emulated.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_gcc_atomic.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_gcc_sync.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_linux_arm.hpp", + "external/sources/boost/boost/atomic/detail/fence_ops_windows.hpp", + "external/sources/boost/boost/atomic/detail/float_sizes.hpp", + "external/sources/boost/boost/atomic/detail/footer.hpp", + "external/sources/boost/boost/atomic/detail/fp_operations.hpp", + "external/sources/boost/boost/atomic/detail/fp_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/fp_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/fp_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/futex.hpp", + "external/sources/boost/boost/atomic/detail/gcc_arm_asm_common.hpp", + "external/sources/boost/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp", + "external/sources/boost/boost/atomic/detail/header.hpp", + "external/sources/boost/boost/atomic/detail/int_sizes.hpp", + "external/sources/boost/boost/atomic/detail/integral_conversions.hpp", + "external/sources/boost/boost/atomic/detail/interlocked.hpp", + "external/sources/boost/boost/atomic/detail/intptr.hpp", + "external/sources/boost/boost/atomic/detail/link.hpp", + "external/sources/boost/boost/atomic/detail/lock_pool.hpp", + "external/sources/boost/boost/atomic/detail/memory_order_utils.hpp", + "external/sources/boost/boost/atomic/detail/once_flag.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_aarch32_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_aarch64_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_arm_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_gcc_ppc_common.hpp", + "external/sources/boost/boost/atomic/detail/ops_msvc_common.hpp", + "external/sources/boost/boost/atomic/detail/pause.hpp", + "external/sources/boost/boost/atomic/detail/platform.hpp", + "external/sources/boost/boost/atomic/detail/storage_traits.hpp", + "external/sources/boost/boost/atomic/detail/string_ops.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/alignment_of.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/conditional.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/integral_constant.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_floating_point.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_function.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_iec559.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_integral.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_signed.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_copyable.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/make_signed.hpp", + "external/sources/boost/boost/atomic/detail/type_traits/make_unsigned.hpp", + "external/sources/boost/boost/atomic/detail/wait_capabilities.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_freebsd_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_futex.hpp", + "external/sources/boost/boost/atomic/detail/wait_caps_windows.hpp", + "external/sources/boost/boost/atomic/detail/wait_operations.hpp", + "external/sources/boost/boost/atomic/detail/wait_operations_fwd.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_emulated.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_freebsd_umtx.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_futex.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_generic.hpp", + "external/sources/boost/boost/atomic/detail/wait_ops_windows.hpp", + "external/sources/boost/boost/atomic/fences.hpp", + "external/sources/boost/boost/atomic/ipc_atomic.hpp", + "external/sources/boost/boost/atomic/ipc_atomic_flag.hpp", + "external/sources/boost/boost/atomic/ipc_atomic_ref.hpp", + "external/sources/boost/boost/beast.hpp", + "external/sources/boost/boost/beast/_experimental/http/icy_stream.hpp", + "external/sources/boost/boost/beast/_experimental/http/impl/icy_stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/error.hpp", + "external/sources/boost/boost/beast/_experimental/test/fail_count.hpp", + "external/sources/boost/boost/beast/_experimental/test/handler.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/error.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/error.ipp", + "external/sources/boost/boost/beast/_experimental/test/impl/fail_count.ipp", + "external/sources/boost/boost/beast/_experimental/test/impl/stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/impl/stream.ipp", + "external/sources/boost/boost/beast/_experimental/test/stream.hpp", + "external/sources/boost/boost/beast/_experimental/test/tcp.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/amount.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/detail/const_container.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/dstream.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/global_suites.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/main.ipp", + "external/sources/boost/boost/beast/_experimental/unit_test/match.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/recorder.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/reporter.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/results.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/runner.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite_info.hpp", + "external/sources/boost/boost/beast/_experimental/unit_test/suite_list.hpp", + "external/sources/boost/boost/beast/core.hpp", + "external/sources/boost/boost/beast/core/async_base.hpp", + "external/sources/boost/boost/beast/core/basic_stream.hpp", + "external/sources/boost/boost/beast/core/bind_handler.hpp", + "external/sources/boost/boost/beast/core/buffer_traits.hpp", + "external/sources/boost/boost/beast/core/buffered_read_stream.hpp", + "external/sources/boost/boost/beast/core/buffers_adaptor.hpp", + "external/sources/boost/boost/beast/core/buffers_cat.hpp", + "external/sources/boost/boost/beast/core/buffers_prefix.hpp", + "external/sources/boost/boost/beast/core/buffers_range.hpp", + "external/sources/boost/boost/beast/core/buffers_suffix.hpp", + "external/sources/boost/boost/beast/core/buffers_to_string.hpp", + "external/sources/boost/boost/beast/core/detail/allocator.hpp", + "external/sources/boost/boost/beast/core/detail/async_base.hpp", + "external/sources/boost/boost/beast/core/detail/base64.hpp", + "external/sources/boost/boost/beast/core/detail/base64.ipp", + "external/sources/boost/boost/beast/core/detail/bind_continuation.hpp", + "external/sources/boost/boost/beast/core/detail/bind_default_executor.hpp", + "external/sources/boost/boost/beast/core/detail/bind_handler.hpp", + "external/sources/boost/boost/beast/core/detail/buffer.hpp", + "external/sources/boost/boost/beast/core/detail/buffer_traits.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_pair.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_range_adaptor.hpp", + "external/sources/boost/boost/beast/core/detail/buffers_ref.hpp", + "external/sources/boost/boost/beast/core/detail/chacha.hpp", + "external/sources/boost/boost/beast/core/detail/char_buffer.hpp", + "external/sources/boost/boost/beast/core/detail/clamp.hpp", + "external/sources/boost/boost/beast/core/detail/config.hpp", + "external/sources/boost/boost/beast/core/detail/cpu_info.hpp", + "external/sources/boost/boost/beast/core/detail/flat_stream.hpp", + "external/sources/boost/boost/beast/core/detail/get_io_context.hpp", + "external/sources/boost/boost/beast/core/detail/impl/read.hpp", + "external/sources/boost/boost/beast/core/detail/impl/temporary_buffer.ipp", + "external/sources/boost/boost/beast/core/detail/is_invocable.hpp", + "external/sources/boost/boost/beast/core/detail/ostream.hpp", + "external/sources/boost/boost/beast/core/detail/pcg.hpp", + "external/sources/boost/boost/beast/core/detail/read.hpp", + "external/sources/boost/boost/beast/core/detail/remap_post_to_defer.hpp", + "external/sources/boost/boost/beast/core/detail/service_base.hpp", + "external/sources/boost/boost/beast/core/detail/sha1.hpp", + "external/sources/boost/boost/beast/core/detail/sha1.ipp", + "external/sources/boost/boost/beast/core/detail/static_const.hpp", + "external/sources/boost/boost/beast/core/detail/static_ostream.hpp", + "external/sources/boost/boost/beast/core/detail/static_string.hpp", + "external/sources/boost/boost/beast/core/detail/stream_base.hpp", + "external/sources/boost/boost/beast/core/detail/stream_traits.hpp", + "external/sources/boost/boost/beast/core/detail/string.hpp", + "external/sources/boost/boost/beast/core/detail/temporary_buffer.hpp", + "external/sources/boost/boost/beast/core/detail/tuple.hpp", + "external/sources/boost/boost/beast/core/detail/type_traits.hpp", + "external/sources/boost/boost/beast/core/detail/variant.hpp", + "external/sources/boost/boost/beast/core/detail/varint.hpp", + "external/sources/boost/boost/beast/core/detail/win32_unicode_path.hpp", + "external/sources/boost/boost/beast/core/detail/work_guard.hpp", + "external/sources/boost/boost/beast/core/detect_ssl.hpp", + "external/sources/boost/boost/beast/core/error.hpp", + "external/sources/boost/boost/beast/core/file.hpp", + "external/sources/boost/boost/beast/core/file_base.hpp", + "external/sources/boost/boost/beast/core/file_posix.hpp", + "external/sources/boost/boost/beast/core/file_stdio.hpp", + "external/sources/boost/boost/beast/core/file_win32.hpp", + "external/sources/boost/boost/beast/core/flat_buffer.hpp", + "external/sources/boost/boost/beast/core/flat_static_buffer.hpp", + "external/sources/boost/boost/beast/core/flat_stream.hpp", + "external/sources/boost/boost/beast/core/impl/async_base.hpp", + "external/sources/boost/boost/beast/core/impl/basic_stream.hpp", + "external/sources/boost/boost/beast/core/impl/buffered_read_stream.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_adaptor.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_cat.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_prefix.hpp", + "external/sources/boost/boost/beast/core/impl/buffers_suffix.hpp", + "external/sources/boost/boost/beast/core/impl/error.hpp", + "external/sources/boost/boost/beast/core/impl/error.ipp", + "external/sources/boost/boost/beast/core/impl/file_posix.ipp", + "external/sources/boost/boost/beast/core/impl/file_stdio.ipp", + "external/sources/boost/boost/beast/core/impl/file_win32.ipp", + "external/sources/boost/boost/beast/core/impl/flat_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/flat_static_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/flat_static_buffer.ipp", + "external/sources/boost/boost/beast/core/impl/flat_stream.hpp", + "external/sources/boost/boost/beast/core/impl/multi_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/read_size.hpp", + "external/sources/boost/boost/beast/core/impl/saved_handler.hpp", + "external/sources/boost/boost/beast/core/impl/saved_handler.ipp", + "external/sources/boost/boost/beast/core/impl/static_buffer.hpp", + "external/sources/boost/boost/beast/core/impl/static_buffer.ipp", + "external/sources/boost/boost/beast/core/impl/static_string.hpp", + "external/sources/boost/boost/beast/core/impl/string.ipp", + "external/sources/boost/boost/beast/core/impl/string_param.hpp", + "external/sources/boost/boost/beast/core/make_printable.hpp", + "external/sources/boost/boost/beast/core/multi_buffer.hpp", + "external/sources/boost/boost/beast/core/ostream.hpp", + "external/sources/boost/boost/beast/core/rate_policy.hpp", + "external/sources/boost/boost/beast/core/read_size.hpp", + "external/sources/boost/boost/beast/core/role.hpp", + "external/sources/boost/boost/beast/core/saved_handler.hpp", + "external/sources/boost/boost/beast/core/span.hpp", + "external/sources/boost/boost/beast/core/static_buffer.hpp", + "external/sources/boost/boost/beast/core/static_string.hpp", + "external/sources/boost/boost/beast/core/stream_traits.hpp", + "external/sources/boost/boost/beast/core/string.hpp", + "external/sources/boost/boost/beast/core/string_param.hpp", + "external/sources/boost/boost/beast/core/string_type.hpp", + "external/sources/boost/boost/beast/core/tcp_stream.hpp", + "external/sources/boost/boost/beast/http.hpp", + "external/sources/boost/boost/beast/http/basic_dynamic_body.hpp", + "external/sources/boost/boost/beast/http/basic_file_body.hpp", + "external/sources/boost/boost/beast/http/basic_parser.hpp", + "external/sources/boost/boost/beast/http/buffer_body.hpp", + "external/sources/boost/boost/beast/http/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parsed_list.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parser.hpp", + "external/sources/boost/boost/beast/http/detail/basic_parser.ipp", + "external/sources/boost/boost/beast/http/detail/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/detail/rfc7230.hpp", + "external/sources/boost/boost/beast/http/detail/rfc7230.ipp", + "external/sources/boost/boost/beast/http/detail/type_traits.hpp", + "external/sources/boost/boost/beast/http/dynamic_body.hpp", + "external/sources/boost/boost/beast/http/empty_body.hpp", + "external/sources/boost/boost/beast/http/error.hpp", + "external/sources/boost/boost/beast/http/field.hpp", + "external/sources/boost/boost/beast/http/fields.hpp", + "external/sources/boost/boost/beast/http/file_body.hpp", + "external/sources/boost/boost/beast/http/impl/basic_parser.hpp", + "external/sources/boost/boost/beast/http/impl/basic_parser.ipp", + "external/sources/boost/boost/beast/http/impl/chunk_encode.hpp", + "external/sources/boost/boost/beast/http/impl/error.hpp", + "external/sources/boost/boost/beast/http/impl/error.ipp", + "external/sources/boost/boost/beast/http/impl/field.ipp", + "external/sources/boost/boost/beast/http/impl/fields.hpp", + "external/sources/boost/boost/beast/http/impl/fields.ipp", + "external/sources/boost/boost/beast/http/impl/file_body_win32.hpp", + "external/sources/boost/boost/beast/http/impl/message.hpp", + "external/sources/boost/boost/beast/http/impl/parser.hpp", + "external/sources/boost/boost/beast/http/impl/read.hpp", + "external/sources/boost/boost/beast/http/impl/rfc7230.hpp", + "external/sources/boost/boost/beast/http/impl/rfc7230.ipp", + "external/sources/boost/boost/beast/http/impl/serializer.hpp", + "external/sources/boost/boost/beast/http/impl/status.ipp", + "external/sources/boost/boost/beast/http/impl/verb.ipp", + "external/sources/boost/boost/beast/http/impl/write.hpp", + "external/sources/boost/boost/beast/http/message.hpp", + "external/sources/boost/boost/beast/http/parser.hpp", + "external/sources/boost/boost/beast/http/read.hpp", + "external/sources/boost/boost/beast/http/rfc7230.hpp", + "external/sources/boost/boost/beast/http/serializer.hpp", + "external/sources/boost/boost/beast/http/span_body.hpp", + "external/sources/boost/boost/beast/http/status.hpp", + "external/sources/boost/boost/beast/http/string_body.hpp", + "external/sources/boost/boost/beast/http/type_traits.hpp", + "external/sources/boost/boost/beast/http/vector_body.hpp", + "external/sources/boost/boost/beast/http/verb.hpp", + "external/sources/boost/boost/beast/http/write.hpp", + "external/sources/boost/boost/beast/src.hpp", + "external/sources/boost/boost/beast/ssl.hpp", + "external/sources/boost/boost/beast/ssl/ssl_stream.hpp", + "external/sources/boost/boost/beast/version.hpp", + "external/sources/boost/boost/beast/websocket.hpp", + "external/sources/boost/boost/beast/websocket/detail/decorator.hpp", + "external/sources/boost/boost/beast/websocket/detail/frame.hpp", + "external/sources/boost/boost/beast/websocket/detail/hybi13.hpp", + "external/sources/boost/boost/beast/websocket/detail/hybi13.ipp", + "external/sources/boost/boost/beast/websocket/detail/impl_base.hpp", + "external/sources/boost/boost/beast/websocket/detail/mask.hpp", + "external/sources/boost/boost/beast/websocket/detail/mask.ipp", + "external/sources/boost/boost/beast/websocket/detail/pmd_extension.hpp", + "external/sources/boost/boost/beast/websocket/detail/pmd_extension.ipp", + "external/sources/boost/boost/beast/websocket/detail/prng.hpp", + "external/sources/boost/boost/beast/websocket/detail/prng.ipp", + "external/sources/boost/boost/beast/websocket/detail/service.hpp", + "external/sources/boost/boost/beast/websocket/detail/service.ipp", + "external/sources/boost/boost/beast/websocket/detail/soft_mutex.hpp", + "external/sources/boost/boost/beast/websocket/detail/type_traits.hpp", + "external/sources/boost/boost/beast/websocket/detail/utf8_checker.hpp", + "external/sources/boost/boost/beast/websocket/detail/utf8_checker.ipp", + "external/sources/boost/boost/beast/websocket/error.hpp", + "external/sources/boost/boost/beast/websocket/impl/accept.hpp", + "external/sources/boost/boost/beast/websocket/impl/close.hpp", + "external/sources/boost/boost/beast/websocket/impl/error.hpp", + "external/sources/boost/boost/beast/websocket/impl/error.ipp", + "external/sources/boost/boost/beast/websocket/impl/handshake.hpp", + "external/sources/boost/boost/beast/websocket/impl/ping.hpp", + "external/sources/boost/boost/beast/websocket/impl/read.hpp", + "external/sources/boost/boost/beast/websocket/impl/rfc6455.hpp", + "external/sources/boost/boost/beast/websocket/impl/ssl.hpp", + "external/sources/boost/boost/beast/websocket/impl/stream.hpp", + "external/sources/boost/boost/beast/websocket/impl/stream_impl.hpp", + "external/sources/boost/boost/beast/websocket/impl/teardown.hpp", + "external/sources/boost/boost/beast/websocket/impl/write.hpp", + "external/sources/boost/boost/beast/websocket/option.hpp", + "external/sources/boost/boost/beast/websocket/rfc6455.hpp", + "external/sources/boost/boost/beast/websocket/ssl.hpp", + "external/sources/boost/boost/beast/websocket/stream.hpp", + "external/sources/boost/boost/beast/websocket/stream_base.hpp", + "external/sources/boost/boost/beast/websocket/stream_fwd.hpp", + "external/sources/boost/boost/beast/websocket/teardown.hpp", + "external/sources/boost/boost/beast/zlib.hpp", + "external/sources/boost/boost/beast/zlib/deflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/bitstream.hpp", + "external/sources/boost/boost/beast/zlib/detail/deflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/deflate_stream.ipp", + "external/sources/boost/boost/beast/zlib/detail/inflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/detail/inflate_stream.ipp", + "external/sources/boost/boost/beast/zlib/detail/ranges.hpp", + "external/sources/boost/boost/beast/zlib/detail/window.hpp", + "external/sources/boost/boost/beast/zlib/error.hpp", + "external/sources/boost/boost/beast/zlib/impl/error.hpp", + "external/sources/boost/boost/beast/zlib/impl/error.ipp", + "external/sources/boost/boost/beast/zlib/inflate_stream.hpp", + "external/sources/boost/boost/beast/zlib/zlib.hpp", + "external/sources/boost/boost/bimap.hpp", + "external/sources/boost/boost/bimap/bimap.hpp", + "external/sources/boost/boost/bimap/container_adaptor/associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/comparison_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/functor_bag.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/identity_converters.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/key_extractor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/detail/non_unique_container_helper.hpp", + "external/sources/boost/boost/bimap/container_adaptor/list_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/list_map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/multimap_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/multiset_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/ordered_associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/sequence_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/set_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/support/iterator_facade_converters.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_associative_container_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_map_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_multimap_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_multiset_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/unordered_set_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/vector_adaptor.hpp", + "external/sources/boost/boost/bimap/container_adaptor/vector_map_adaptor.hpp", + "external/sources/boost/boost/bimap/detail/bimap_core.hpp", + "external/sources/boost/boost/bimap/detail/concept_tags.hpp", + "external/sources/boost/boost/bimap/detail/generate_index_binder.hpp", + "external/sources/boost/boost/bimap/detail/generate_relation_binder.hpp", + "external/sources/boost/boost/bimap/detail/generate_view_binder.hpp", + "external/sources/boost/boost/bimap/detail/is_set_type_of.hpp", + "external/sources/boost/boost/bimap/detail/manage_additional_parameters.hpp", + "external/sources/boost/boost/bimap/detail/manage_bimap_key.hpp", + "external/sources/boost/boost/bimap/detail/map_view_base.hpp", + "external/sources/boost/boost/bimap/detail/map_view_iterator.hpp", + "external/sources/boost/boost/bimap/detail/modifier_adaptor.hpp", + "external/sources/boost/boost/bimap/detail/non_unique_views_helper.hpp", + "external/sources/boost/boost/bimap/detail/set_view_base.hpp", + "external/sources/boost/boost/bimap/detail/set_view_iterator.hpp", + "external/sources/boost/boost/bimap/detail/test/check_metadata.hpp", + "external/sources/boost/boost/bimap/detail/user_interface_config.hpp", + "external/sources/boost/boost/bimap/list_of.hpp", + "external/sources/boost/boost/bimap/multiset_of.hpp", + "external/sources/boost/boost/bimap/property_map/set_support.hpp", + "external/sources/boost/boost/bimap/property_map/unordered_set_support.hpp", + "external/sources/boost/boost/bimap/relation/detail/access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/metadata_access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/mutant.hpp", + "external/sources/boost/boost/bimap/relation/detail/static_access_builder.hpp", + "external/sources/boost/boost/bimap/relation/detail/to_mutable_relation_functor.hpp", + "external/sources/boost/boost/bimap/relation/member_at.hpp", + "external/sources/boost/boost/bimap/relation/mutant_relation.hpp", + "external/sources/boost/boost/bimap/relation/pair_layout.hpp", + "external/sources/boost/boost/bimap/relation/structured_pair.hpp", + "external/sources/boost/boost/bimap/relation/support/data_extractor.hpp", + "external/sources/boost/boost/bimap/relation/support/get.hpp", + "external/sources/boost/boost/bimap/relation/support/get_pair_functor.hpp", + "external/sources/boost/boost/bimap/relation/support/is_tag_of_member_at.hpp", + "external/sources/boost/boost/bimap/relation/support/member_with_tag.hpp", + "external/sources/boost/boost/bimap/relation/support/opposite_tag.hpp", + "external/sources/boost/boost/bimap/relation/support/pair_by.hpp", + "external/sources/boost/boost/bimap/relation/support/pair_type_by.hpp", + "external/sources/boost/boost/bimap/relation/support/value_type_of.hpp", + "external/sources/boost/boost/bimap/relation/symmetrical_base.hpp", + "external/sources/boost/boost/bimap/set_of.hpp", + "external/sources/boost/boost/bimap/support/data_type_by.hpp", + "external/sources/boost/boost/bimap/support/iterator_type_by.hpp", + "external/sources/boost/boost/bimap/support/key_type_by.hpp", + "external/sources/boost/boost/bimap/support/lambda.hpp", + "external/sources/boost/boost/bimap/support/map_by.hpp", + "external/sources/boost/boost/bimap/support/map_type_by.hpp", + "external/sources/boost/boost/bimap/support/value_type_by.hpp", + "external/sources/boost/boost/bimap/unconstrained_set_of.hpp", + "external/sources/boost/boost/bimap/unordered_multiset_of.hpp", + "external/sources/boost/boost/bimap/unordered_set_of.hpp", + "external/sources/boost/boost/bimap/vector_of.hpp", + "external/sources/boost/boost/bimap/views/list_map_view.hpp", + "external/sources/boost/boost/bimap/views/list_set_view.hpp", + "external/sources/boost/boost/bimap/views/map_view.hpp", + "external/sources/boost/boost/bimap/views/multimap_view.hpp", + "external/sources/boost/boost/bimap/views/multiset_view.hpp", + "external/sources/boost/boost/bimap/views/set_view.hpp", + "external/sources/boost/boost/bimap/views/unconstrained_map_view.hpp", + "external/sources/boost/boost/bimap/views/unconstrained_set_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_map_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_multimap_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_multiset_view.hpp", + "external/sources/boost/boost/bimap/views/unordered_set_view.hpp", + "external/sources/boost/boost/bimap/views/vector_map_view.hpp", + "external/sources/boost/boost/bimap/views/vector_set_view.hpp", + "external/sources/boost/boost/bind.hpp", + "external/sources/boost/boost/bind/apply.hpp", + "external/sources/boost/boost/bind/arg.hpp", + "external/sources/boost/boost/bind/bind.hpp", + "external/sources/boost/boost/bind/bind_cc.hpp", + "external/sources/boost/boost/bind/bind_mf2_cc.hpp", + "external/sources/boost/boost/bind/bind_mf_cc.hpp", + "external/sources/boost/boost/bind/bind_template.hpp", + "external/sources/boost/boost/bind/make_adaptable.hpp", + "external/sources/boost/boost/bind/mem_fn.hpp", + "external/sources/boost/boost/bind/mem_fn_cc.hpp", + "external/sources/boost/boost/bind/mem_fn_template.hpp", + "external/sources/boost/boost/bind/mem_fn_vw.hpp", + "external/sources/boost/boost/bind/placeholders.hpp", + "external/sources/boost/boost/bind/protect.hpp", + "external/sources/boost/boost/bind/storage.hpp", + "external/sources/boost/boost/blank.hpp", + "external/sources/boost/boost/blank_fwd.hpp", + "external/sources/boost/boost/call_traits.hpp", + "external/sources/boost/boost/callable_traits.hpp", + "external/sources/boost/boost/callable_traits/add_member_const.hpp", + "external/sources/boost/boost/callable_traits/add_member_cv.hpp", + "external/sources/boost/boost/callable_traits/add_member_lvalue_reference.hpp", + "external/sources/boost/boost/callable_traits/add_member_rvalue_reference.hpp", + "external/sources/boost/boost/callable_traits/add_member_volatile.hpp", + "external/sources/boost/boost/callable_traits/add_noexcept.hpp", + "external/sources/boost/boost/callable_traits/add_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/add_varargs.hpp", + "external/sources/boost/boost/callable_traits/apply_member_pointer.hpp", + "external/sources/boost/boost/callable_traits/apply_return.hpp", + "external/sources/boost/boost/callable_traits/args.hpp", + "external/sources/boost/boost/callable_traits/class_of.hpp", + "external/sources/boost/boost/callable_traits/detail/config.hpp", + "external/sources/boost/boost/callable_traits/detail/core.hpp", + "external/sources/boost/boost/callable_traits/detail/default_callable_traits.hpp", + "external/sources/boost/boost/callable_traits/detail/forward_declarations.hpp", + "external/sources/boost/boost/callable_traits/detail/function.hpp", + "external/sources/boost/boost/callable_traits/detail/function_object.hpp", + "external/sources/boost/boost/callable_traits/detail/is_invocable_impl.hpp", + "external/sources/boost/boost/callable_traits/detail/parameter_index_helper.hpp", + "external/sources/boost/boost/callable_traits/detail/pmd.hpp", + "external/sources/boost/boost/callable_traits/detail/pmf.hpp", + "external/sources/boost/boost/callable_traits/detail/polyfills/disjunction.hpp", + "external/sources/boost/boost/callable_traits/detail/polyfills/make_index_sequence.hpp", + "external/sources/boost/boost/callable_traits/detail/qualifier_flags.hpp", + "external/sources/boost/boost/callable_traits/detail/set_function_qualifiers.hpp", + "external/sources/boost/boost/callable_traits/detail/sfinae_errors.hpp", + "external/sources/boost/boost/callable_traits/detail/traits.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_4.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_2.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp", + "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_4.hpp", + "external/sources/boost/boost/callable_traits/detail/utility.hpp", + "external/sources/boost/boost/callable_traits/function_type.hpp", + "external/sources/boost/boost/callable_traits/has_member_qualifiers.hpp", + "external/sources/boost/boost/callable_traits/has_varargs.hpp", + "external/sources/boost/boost/callable_traits/has_void_return.hpp", + "external/sources/boost/boost/callable_traits/is_const_member.hpp", + "external/sources/boost/boost/callable_traits/is_cv_member.hpp", + "external/sources/boost/boost/callable_traits/is_invocable.hpp", + "external/sources/boost/boost/callable_traits/is_lvalue_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_noexcept.hpp", + "external/sources/boost/boost/callable_traits/is_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_rvalue_reference_member.hpp", + "external/sources/boost/boost/callable_traits/is_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/is_volatile_member.hpp", + "external/sources/boost/boost/callable_traits/qualified_class_of.hpp", + "external/sources/boost/boost/callable_traits/remove_member_const.hpp", + "external/sources/boost/boost/callable_traits/remove_member_cv.hpp", + "external/sources/boost/boost/callable_traits/remove_member_reference.hpp", + "external/sources/boost/boost/callable_traits/remove_member_volatile.hpp", + "external/sources/boost/boost/callable_traits/remove_noexcept.hpp", + "external/sources/boost/boost/callable_traits/remove_transaction_safe.hpp", + "external/sources/boost/boost/callable_traits/remove_varargs.hpp", + "external/sources/boost/boost/callable_traits/return_type.hpp", + "external/sources/boost/boost/cast.hpp", + "external/sources/boost/boost/cerrno.hpp", + "external/sources/boost/boost/checked_delete.hpp", + "external/sources/boost/boost/chrono.hpp", + "external/sources/boost/boost/chrono/ceil.hpp", + "external/sources/boost/boost/chrono/chrono.hpp", + "external/sources/boost/boost/chrono/chrono_io.hpp", + "external/sources/boost/boost/chrono/clock_string.hpp", + "external/sources/boost/boost/chrono/config.hpp", + "external/sources/boost/boost/chrono/detail/inlined/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/mac/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/posix/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/chrono.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/detail/inlined/win/thread_clock.hpp", + "external/sources/boost/boost/chrono/detail/is_evenly_divisible_by.hpp", + "external/sources/boost/boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp", + "external/sources/boost/boost/chrono/detail/scan_keyword.hpp", + "external/sources/boost/boost/chrono/detail/static_assert.hpp", + "external/sources/boost/boost/chrono/detail/system.hpp", + "external/sources/boost/boost/chrono/duration.hpp", + "external/sources/boost/boost/chrono/floor.hpp", + "external/sources/boost/boost/chrono/include.hpp", + "external/sources/boost/boost/chrono/io/duration_get.hpp", + "external/sources/boost/boost/chrono/io/duration_io.hpp", + "external/sources/boost/boost/chrono/io/duration_put.hpp", + "external/sources/boost/boost/chrono/io/duration_style.hpp", + "external/sources/boost/boost/chrono/io/duration_units.hpp", + "external/sources/boost/boost/chrono/io/ios_base_state.hpp", + "external/sources/boost/boost/chrono/io/time_point_get.hpp", + "external/sources/boost/boost/chrono/io/time_point_io.hpp", + "external/sources/boost/boost/chrono/io/time_point_put.hpp", + "external/sources/boost/boost/chrono/io/time_point_units.hpp", + "external/sources/boost/boost/chrono/io/timezone.hpp", + "external/sources/boost/boost/chrono/io/utility/ios_base_state_ptr.hpp", + "external/sources/boost/boost/chrono/io/utility/manip_base.hpp", + "external/sources/boost/boost/chrono/io/utility/to_string.hpp", + "external/sources/boost/boost/chrono/io_v1/chrono_io.hpp", + "external/sources/boost/boost/chrono/process_cpu_clocks.hpp", + "external/sources/boost/boost/chrono/round.hpp", + "external/sources/boost/boost/chrono/system_clocks.hpp", + "external/sources/boost/boost/chrono/thread_clock.hpp", + "external/sources/boost/boost/chrono/time_point.hpp", + "external/sources/boost/boost/chrono/typeof/boost/chrono/chrono.hpp", + "external/sources/boost/boost/chrono/typeof/boost/ratio.hpp", + "external/sources/boost/boost/circular_buffer.hpp", + "external/sources/boost/boost/circular_buffer/base.hpp", + "external/sources/boost/boost/circular_buffer/debug.hpp", + "external/sources/boost/boost/circular_buffer/details.hpp", + "external/sources/boost/boost/circular_buffer/space_optimized.hpp", + "external/sources/boost/boost/circular_buffer_fwd.hpp", + "external/sources/boost/boost/compatibility/cpp_c_headers/cassert", + "external/sources/boost/boost/compatibility/cpp_c_headers/cctype", + "external/sources/boost/boost/compatibility/cpp_c_headers/cerrno", + "external/sources/boost/boost/compatibility/cpp_c_headers/cfloat", + "external/sources/boost/boost/compatibility/cpp_c_headers/climits", + "external/sources/boost/boost/compatibility/cpp_c_headers/clocale", + "external/sources/boost/boost/compatibility/cpp_c_headers/cmath", + "external/sources/boost/boost/compatibility/cpp_c_headers/csetjmp", + "external/sources/boost/boost/compatibility/cpp_c_headers/csignal", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdarg", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstddef", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdio", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstdlib", + "external/sources/boost/boost/compatibility/cpp_c_headers/cstring", + "external/sources/boost/boost/compatibility/cpp_c_headers/ctime", + "external/sources/boost/boost/compatibility/cpp_c_headers/cwchar", + "external/sources/boost/boost/compatibility/cpp_c_headers/cwctype", + "external/sources/boost/boost/compressed_pair.hpp", + "external/sources/boost/boost/compute.hpp", + "external/sources/boost/boost/compute/algorithm.hpp", + "external/sources/boost/boost/compute/algorithm/accumulate.hpp", + "external/sources/boost/boost/compute/algorithm/adjacent_difference.hpp", + "external/sources/boost/boost/compute/algorithm/adjacent_find.hpp", + "external/sources/boost/boost/compute/algorithm/all_of.hpp", + "external/sources/boost/boost/compute/algorithm/any_of.hpp", + "external/sources/boost/boost/compute/algorithm/binary_search.hpp", + "external/sources/boost/boost/compute/algorithm/copy.hpp", + "external/sources/boost/boost/compute/algorithm/copy_if.hpp", + "external/sources/boost/boost/compute/algorithm/copy_n.hpp", + "external/sources/boost/boost/compute/algorithm/count.hpp", + "external/sources/boost/boost/compute/algorithm/count_if.hpp", + "external/sources/boost/boost/compute/algorithm/detail/balanced_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/binary_find.hpp", + "external/sources/boost/boost/compute/algorithm/detail/compact.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_on_device.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_to_device.hpp", + "external/sources/boost/boost/compute/algorithm/detail/copy_to_host.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_ballot.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/count_if_with_threads.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_atomics.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/find_if_with_atomics.hpp", + "external/sources/boost/boost/compute/algorithm/detail/inplace_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/insertion_sort.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/merge_with_merge_path.hpp", + "external/sources/boost/boost/compute/algorithm/detail/radix_sort.hpp", + "external/sources/boost/boost/compute/algorithm/detail/random_fill.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key_with_scan.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/reduce_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan_on_cpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/scan_on_gpu.hpp", + "external/sources/boost/boost/compute/algorithm/detail/search_all.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_accumulate.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_count_if.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_find_extrema.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_merge.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/detail/serial_scan.hpp", + "external/sources/boost/boost/compute/algorithm/equal.hpp", + "external/sources/boost/boost/compute/algorithm/equal_range.hpp", + "external/sources/boost/boost/compute/algorithm/exclusive_scan.hpp", + "external/sources/boost/boost/compute/algorithm/fill.hpp", + "external/sources/boost/boost/compute/algorithm/fill_n.hpp", + "external/sources/boost/boost/compute/algorithm/find.hpp", + "external/sources/boost/boost/compute/algorithm/find_end.hpp", + "external/sources/boost/boost/compute/algorithm/find_if.hpp", + "external/sources/boost/boost/compute/algorithm/find_if_not.hpp", + "external/sources/boost/boost/compute/algorithm/for_each.hpp", + "external/sources/boost/boost/compute/algorithm/for_each_n.hpp", + "external/sources/boost/boost/compute/algorithm/gather.hpp", + "external/sources/boost/boost/compute/algorithm/generate.hpp", + "external/sources/boost/boost/compute/algorithm/generate_n.hpp", + "external/sources/boost/boost/compute/algorithm/includes.hpp", + "external/sources/boost/boost/compute/algorithm/inclusive_scan.hpp", + "external/sources/boost/boost/compute/algorithm/inner_product.hpp", + "external/sources/boost/boost/compute/algorithm/inplace_merge.hpp", + "external/sources/boost/boost/compute/algorithm/iota.hpp", + "external/sources/boost/boost/compute/algorithm/is_partitioned.hpp", + "external/sources/boost/boost/compute/algorithm/is_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/is_sorted.hpp", + "external/sources/boost/boost/compute/algorithm/lexicographical_compare.hpp", + "external/sources/boost/boost/compute/algorithm/lower_bound.hpp", + "external/sources/boost/boost/compute/algorithm/max_element.hpp", + "external/sources/boost/boost/compute/algorithm/merge.hpp", + "external/sources/boost/boost/compute/algorithm/min_element.hpp", + "external/sources/boost/boost/compute/algorithm/minmax_element.hpp", + "external/sources/boost/boost/compute/algorithm/mismatch.hpp", + "external/sources/boost/boost/compute/algorithm/next_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/none_of.hpp", + "external/sources/boost/boost/compute/algorithm/nth_element.hpp", + "external/sources/boost/boost/compute/algorithm/partial_sum.hpp", + "external/sources/boost/boost/compute/algorithm/partition.hpp", + "external/sources/boost/boost/compute/algorithm/partition_copy.hpp", + "external/sources/boost/boost/compute/algorithm/partition_point.hpp", + "external/sources/boost/boost/compute/algorithm/prev_permutation.hpp", + "external/sources/boost/boost/compute/algorithm/random_shuffle.hpp", + "external/sources/boost/boost/compute/algorithm/reduce.hpp", + "external/sources/boost/boost/compute/algorithm/reduce_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/remove.hpp", + "external/sources/boost/boost/compute/algorithm/remove_if.hpp", + "external/sources/boost/boost/compute/algorithm/replace.hpp", + "external/sources/boost/boost/compute/algorithm/replace_copy.hpp", + "external/sources/boost/boost/compute/algorithm/reverse.hpp", + "external/sources/boost/boost/compute/algorithm/reverse_copy.hpp", + "external/sources/boost/boost/compute/algorithm/rotate.hpp", + "external/sources/boost/boost/compute/algorithm/rotate_copy.hpp", + "external/sources/boost/boost/compute/algorithm/scatter.hpp", + "external/sources/boost/boost/compute/algorithm/scatter_if.hpp", + "external/sources/boost/boost/compute/algorithm/search.hpp", + "external/sources/boost/boost/compute/algorithm/search_n.hpp", + "external/sources/boost/boost/compute/algorithm/set_difference.hpp", + "external/sources/boost/boost/compute/algorithm/set_intersection.hpp", + "external/sources/boost/boost/compute/algorithm/set_symmetric_difference.hpp", + "external/sources/boost/boost/compute/algorithm/set_union.hpp", + "external/sources/boost/boost/compute/algorithm/sort.hpp", + "external/sources/boost/boost/compute/algorithm/sort_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/stable_partition.hpp", + "external/sources/boost/boost/compute/algorithm/stable_sort.hpp", + "external/sources/boost/boost/compute/algorithm/stable_sort_by_key.hpp", + "external/sources/boost/boost/compute/algorithm/swap_ranges.hpp", + "external/sources/boost/boost/compute/algorithm/transform.hpp", + "external/sources/boost/boost/compute/algorithm/transform_if.hpp", + "external/sources/boost/boost/compute/algorithm/transform_reduce.hpp", + "external/sources/boost/boost/compute/algorithm/unique.hpp", + "external/sources/boost/boost/compute/algorithm/unique_copy.hpp", + "external/sources/boost/boost/compute/algorithm/upper_bound.hpp", + "external/sources/boost/boost/compute/allocator.hpp", + "external/sources/boost/boost/compute/allocator/buffer_allocator.hpp", + "external/sources/boost/boost/compute/allocator/pinned_allocator.hpp", + "external/sources/boost/boost/compute/async.hpp", + "external/sources/boost/boost/compute/async/future.hpp", + "external/sources/boost/boost/compute/async/wait.hpp", + "external/sources/boost/boost/compute/async/wait_guard.hpp", + "external/sources/boost/boost/compute/buffer.hpp", + "external/sources/boost/boost/compute/cl.hpp", + "external/sources/boost/boost/compute/cl_ext.hpp", + "external/sources/boost/boost/compute/closure.hpp", + "external/sources/boost/boost/compute/command_queue.hpp", + "external/sources/boost/boost/compute/config.hpp", + "external/sources/boost/boost/compute/container.hpp", + "external/sources/boost/boost/compute/container/array.hpp", + "external/sources/boost/boost/compute/container/basic_string.hpp", + "external/sources/boost/boost/compute/container/detail/scalar.hpp", + "external/sources/boost/boost/compute/container/dynamic_bitset.hpp", + "external/sources/boost/boost/compute/container/flat_map.hpp", + "external/sources/boost/boost/compute/container/flat_set.hpp", + "external/sources/boost/boost/compute/container/mapped_view.hpp", + "external/sources/boost/boost/compute/container/stack.hpp", + "external/sources/boost/boost/compute/container/string.hpp", + "external/sources/boost/boost/compute/container/valarray.hpp", + "external/sources/boost/boost/compute/container/vector.hpp", + "external/sources/boost/boost/compute/context.hpp", + "external/sources/boost/boost/compute/core.hpp", + "external/sources/boost/boost/compute/detail/assert_cl_success.hpp", + "external/sources/boost/boost/compute/detail/buffer_value.hpp", + "external/sources/boost/boost/compute/detail/cl_versions.hpp", + "external/sources/boost/boost/compute/detail/device_ptr.hpp", + "external/sources/boost/boost/compute/detail/diagnostic.hpp", + "external/sources/boost/boost/compute/detail/duration.hpp", + "external/sources/boost/boost/compute/detail/get_object_info.hpp", + "external/sources/boost/boost/compute/detail/getenv.hpp", + "external/sources/boost/boost/compute/detail/global_static.hpp", + "external/sources/boost/boost/compute/detail/is_buffer_iterator.hpp", + "external/sources/boost/boost/compute/detail/is_contiguous_iterator.hpp", + "external/sources/boost/boost/compute/detail/iterator_plus_distance.hpp", + "external/sources/boost/boost/compute/detail/iterator_range_size.hpp", + "external/sources/boost/boost/compute/detail/iterator_traits.hpp", + "external/sources/boost/boost/compute/detail/literal.hpp", + "external/sources/boost/boost/compute/detail/lru_cache.hpp", + "external/sources/boost/boost/compute/detail/meta_kernel.hpp", + "external/sources/boost/boost/compute/detail/mpl_vector_to_tuple.hpp", + "external/sources/boost/boost/compute/detail/nvidia_compute_capability.hpp", + "external/sources/boost/boost/compute/detail/parameter_cache.hpp", + "external/sources/boost/boost/compute/detail/path.hpp", + "external/sources/boost/boost/compute/detail/print_range.hpp", + "external/sources/boost/boost/compute/detail/read_write_single_value.hpp", + "external/sources/boost/boost/compute/detail/sha1.hpp", + "external/sources/boost/boost/compute/detail/variadic_macros.hpp", + "external/sources/boost/boost/compute/detail/vendor.hpp", + "external/sources/boost/boost/compute/detail/work_size.hpp", + "external/sources/boost/boost/compute/device.hpp", + "external/sources/boost/boost/compute/event.hpp", + "external/sources/boost/boost/compute/exception.hpp", + "external/sources/boost/boost/compute/exception/context_error.hpp", + "external/sources/boost/boost/compute/exception/no_device_found.hpp", + "external/sources/boost/boost/compute/exception/opencl_error.hpp", + "external/sources/boost/boost/compute/exception/program_build_failure.hpp", + "external/sources/boost/boost/compute/exception/unsupported_extension_error.hpp", + "external/sources/boost/boost/compute/experimental/clamp_range.hpp", + "external/sources/boost/boost/compute/experimental/malloc.hpp", + "external/sources/boost/boost/compute/experimental/sort_by_transform.hpp", + "external/sources/boost/boost/compute/experimental/tabulate.hpp", + "external/sources/boost/boost/compute/function.hpp", + "external/sources/boost/boost/compute/functional.hpp", + "external/sources/boost/boost/compute/functional/as.hpp", + "external/sources/boost/boost/compute/functional/atomic.hpp", + "external/sources/boost/boost/compute/functional/bind.hpp", + "external/sources/boost/boost/compute/functional/common.hpp", + "external/sources/boost/boost/compute/functional/convert.hpp", + "external/sources/boost/boost/compute/functional/detail/macros.hpp", + "external/sources/boost/boost/compute/functional/detail/nvidia_ballot.hpp", + "external/sources/boost/boost/compute/functional/detail/nvidia_popcount.hpp", + "external/sources/boost/boost/compute/functional/detail/unpack.hpp", + "external/sources/boost/boost/compute/functional/field.hpp", + "external/sources/boost/boost/compute/functional/geometry.hpp", + "external/sources/boost/boost/compute/functional/get.hpp", + "external/sources/boost/boost/compute/functional/hash.hpp", + "external/sources/boost/boost/compute/functional/identity.hpp", + "external/sources/boost/boost/compute/functional/integer.hpp", + "external/sources/boost/boost/compute/functional/logical.hpp", + "external/sources/boost/boost/compute/functional/math.hpp", + "external/sources/boost/boost/compute/functional/operator.hpp", + "external/sources/boost/boost/compute/functional/popcount.hpp", + "external/sources/boost/boost/compute/functional/relational.hpp", + "external/sources/boost/boost/compute/image.hpp", + "external/sources/boost/boost/compute/image/image1d.hpp", + "external/sources/boost/boost/compute/image/image2d.hpp", + "external/sources/boost/boost/compute/image/image3d.hpp", + "external/sources/boost/boost/compute/image/image_format.hpp", + "external/sources/boost/boost/compute/image/image_object.hpp", + "external/sources/boost/boost/compute/image/image_sampler.hpp", + "external/sources/boost/boost/compute/image2d.hpp", + "external/sources/boost/boost/compute/image3d.hpp", + "external/sources/boost/boost/compute/image_format.hpp", + "external/sources/boost/boost/compute/image_sampler.hpp", + "external/sources/boost/boost/compute/interop/eigen.hpp", + "external/sources/boost/boost/compute/interop/eigen/core.hpp", + "external/sources/boost/boost/compute/interop/opencv.hpp", + "external/sources/boost/boost/compute/interop/opencv/core.hpp", + "external/sources/boost/boost/compute/interop/opencv/highgui.hpp", + "external/sources/boost/boost/compute/interop/opencv/ocl.hpp", + "external/sources/boost/boost/compute/interop/opengl.hpp", + "external/sources/boost/boost/compute/interop/opengl/acquire.hpp", + "external/sources/boost/boost/compute/interop/opengl/cl_gl.hpp", + "external/sources/boost/boost/compute/interop/opengl/cl_gl_ext.hpp", + "external/sources/boost/boost/compute/interop/opengl/context.hpp", + "external/sources/boost/boost/compute/interop/opengl/gl.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_buffer.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_renderbuffer.hpp", + "external/sources/boost/boost/compute/interop/opengl/opengl_texture.hpp", + "external/sources/boost/boost/compute/interop/qt.hpp", + "external/sources/boost/boost/compute/interop/qt/qimage.hpp", + "external/sources/boost/boost/compute/interop/qt/qpoint.hpp", + "external/sources/boost/boost/compute/interop/qt/qpointf.hpp", + "external/sources/boost/boost/compute/interop/qt/qtcore.hpp", + "external/sources/boost/boost/compute/interop/qt/qtgui.hpp", + "external/sources/boost/boost/compute/interop/qt/qvector.hpp", + "external/sources/boost/boost/compute/interop/vtk.hpp", + "external/sources/boost/boost/compute/interop/vtk/bounds.hpp", + "external/sources/boost/boost/compute/interop/vtk/data_array.hpp", + "external/sources/boost/boost/compute/interop/vtk/matrix4x4.hpp", + "external/sources/boost/boost/compute/interop/vtk/points.hpp", + "external/sources/boost/boost/compute/iterator.hpp", + "external/sources/boost/boost/compute/iterator/buffer_iterator.hpp", + "external/sources/boost/boost/compute/iterator/constant_buffer_iterator.hpp", + "external/sources/boost/boost/compute/iterator/constant_iterator.hpp", + "external/sources/boost/boost/compute/iterator/counting_iterator.hpp", + "external/sources/boost/boost/compute/iterator/detail/get_base_iterator_buffer.hpp", + "external/sources/boost/boost/compute/iterator/detail/swizzle_iterator.hpp", + "external/sources/boost/boost/compute/iterator/discard_iterator.hpp", + "external/sources/boost/boost/compute/iterator/function_input_iterator.hpp", + "external/sources/boost/boost/compute/iterator/permutation_iterator.hpp", + "external/sources/boost/boost/compute/iterator/strided_iterator.hpp", + "external/sources/boost/boost/compute/iterator/transform_iterator.hpp", + "external/sources/boost/boost/compute/iterator/zip_iterator.hpp", + "external/sources/boost/boost/compute/kernel.hpp", + "external/sources/boost/boost/compute/lambda.hpp", + "external/sources/boost/boost/compute/lambda/context.hpp", + "external/sources/boost/boost/compute/lambda/functional.hpp", + "external/sources/boost/boost/compute/lambda/get.hpp", + "external/sources/boost/boost/compute/lambda/make_pair.hpp", + "external/sources/boost/boost/compute/lambda/make_tuple.hpp", + "external/sources/boost/boost/compute/lambda/placeholder.hpp", + "external/sources/boost/boost/compute/lambda/placeholders.hpp", + "external/sources/boost/boost/compute/lambda/result_of.hpp", + "external/sources/boost/boost/compute/memory.hpp", + "external/sources/boost/boost/compute/memory/local_buffer.hpp", + "external/sources/boost/boost/compute/memory/svm_ptr.hpp", + "external/sources/boost/boost/compute/memory_object.hpp", + "external/sources/boost/boost/compute/pipe.hpp", + "external/sources/boost/boost/compute/platform.hpp", + "external/sources/boost/boost/compute/program.hpp", + "external/sources/boost/boost/compute/random.hpp", + "external/sources/boost/boost/compute/random/bernoulli_distribution.hpp", + "external/sources/boost/boost/compute/random/default_random_engine.hpp", + "external/sources/boost/boost/compute/random/discrete_distribution.hpp", + "external/sources/boost/boost/compute/random/linear_congruential_engine.hpp", + "external/sources/boost/boost/compute/random/mersenne_twister_engine.hpp", + "external/sources/boost/boost/compute/random/normal_distribution.hpp", + "external/sources/boost/boost/compute/random/threefry_engine.hpp", + "external/sources/boost/boost/compute/random/uniform_int_distribution.hpp", + "external/sources/boost/boost/compute/random/uniform_real_distribution.hpp", + "external/sources/boost/boost/compute/source.hpp", + "external/sources/boost/boost/compute/svm.hpp", + "external/sources/boost/boost/compute/system.hpp", + "external/sources/boost/boost/compute/type_traits.hpp", + "external/sources/boost/boost/compute/type_traits/common_type.hpp", + "external/sources/boost/boost/compute/type_traits/detail/capture_traits.hpp", + "external/sources/boost/boost/compute/type_traits/is_device_iterator.hpp", + "external/sources/boost/boost/compute/type_traits/is_fundamental.hpp", + "external/sources/boost/boost/compute/type_traits/is_vector_type.hpp", + "external/sources/boost/boost/compute/type_traits/make_vector_type.hpp", + "external/sources/boost/boost/compute/type_traits/result_of.hpp", + "external/sources/boost/boost/compute/type_traits/scalar_type.hpp", + "external/sources/boost/boost/compute/type_traits/type_definition.hpp", + "external/sources/boost/boost/compute/type_traits/type_name.hpp", + "external/sources/boost/boost/compute/type_traits/vector_size.hpp", + "external/sources/boost/boost/compute/types.hpp", + "external/sources/boost/boost/compute/types/builtin.hpp", + "external/sources/boost/boost/compute/types/complex.hpp", + "external/sources/boost/boost/compute/types/fundamental.hpp", + "external/sources/boost/boost/compute/types/pair.hpp", + "external/sources/boost/boost/compute/types/size_t.hpp", + "external/sources/boost/boost/compute/types/struct.hpp", + "external/sources/boost/boost/compute/types/tuple.hpp", + "external/sources/boost/boost/compute/user_event.hpp", + "external/sources/boost/boost/compute/utility.hpp", + "external/sources/boost/boost/compute/utility/dim.hpp", + "external/sources/boost/boost/compute/utility/extents.hpp", + "external/sources/boost/boost/compute/utility/invoke.hpp", + "external/sources/boost/boost/compute/utility/program_cache.hpp", + "external/sources/boost/boost/compute/utility/source.hpp", + "external/sources/boost/boost/compute/utility/wait_list.hpp", + "external/sources/boost/boost/compute/version.hpp", + "external/sources/boost/boost/compute/wait_list.hpp", + "external/sources/boost/boost/concept/assert.hpp", + "external/sources/boost/boost/concept/detail/backward_compatibility.hpp", + "external/sources/boost/boost/concept/detail/borland.hpp", + "external/sources/boost/boost/concept/detail/concept_def.hpp", + "external/sources/boost/boost/concept/detail/concept_undef.hpp", + "external/sources/boost/boost/concept/detail/general.hpp", + "external/sources/boost/boost/concept/detail/has_constraints.hpp", + "external/sources/boost/boost/concept/detail/msvc.hpp", + "external/sources/boost/boost/concept/requires.hpp", + "external/sources/boost/boost/concept/usage.hpp", + "external/sources/boost/boost/concept_archetype.hpp", + "external/sources/boost/boost/concept_check.hpp", + "external/sources/boost/boost/concept_check/borland.hpp", + "external/sources/boost/boost/concept_check/general.hpp", + "external/sources/boost/boost/concept_check/has_constraints.hpp", + "external/sources/boost/boost/concept_check/msvc.hpp", + "external/sources/boost/boost/config.hpp", + "external/sources/boost/boost/config/abi/borland_prefix.hpp", + "external/sources/boost/boost/config/abi/borland_suffix.hpp", + "external/sources/boost/boost/config/abi/msvc_prefix.hpp", + "external/sources/boost/boost/config/abi/msvc_suffix.hpp", + "external/sources/boost/boost/config/abi_prefix.hpp", + "external/sources/boost/boost/config/abi_suffix.hpp", + "external/sources/boost/boost/config/auto_link.hpp", + "external/sources/boost/boost/config/compiler/borland.hpp", + "external/sources/boost/boost/config/compiler/clang.hpp", + "external/sources/boost/boost/config/compiler/codegear.hpp", + "external/sources/boost/boost/config/compiler/comeau.hpp", + "external/sources/boost/boost/config/compiler/common_edg.hpp", + "external/sources/boost/boost/config/compiler/compaq_cxx.hpp", + "external/sources/boost/boost/config/compiler/cray.hpp", + "external/sources/boost/boost/config/compiler/diab.hpp", + "external/sources/boost/boost/config/compiler/digitalmars.hpp", + "external/sources/boost/boost/config/compiler/gcc.hpp", + "external/sources/boost/boost/config/compiler/gcc_xml.hpp", + "external/sources/boost/boost/config/compiler/greenhills.hpp", + "external/sources/boost/boost/config/compiler/hp_acc.hpp", + "external/sources/boost/boost/config/compiler/intel.hpp", + "external/sources/boost/boost/config/compiler/kai.hpp", + "external/sources/boost/boost/config/compiler/metrowerks.hpp", + "external/sources/boost/boost/config/compiler/mpw.hpp", + "external/sources/boost/boost/config/compiler/nvcc.hpp", + "external/sources/boost/boost/config/compiler/pathscale.hpp", + "external/sources/boost/boost/config/compiler/pgi.hpp", + "external/sources/boost/boost/config/compiler/sgi_mipspro.hpp", + "external/sources/boost/boost/config/compiler/sunpro_cc.hpp", + "external/sources/boost/boost/config/compiler/vacpp.hpp", + "external/sources/boost/boost/config/compiler/visualc.hpp", + "external/sources/boost/boost/config/compiler/xlcpp.hpp", + "external/sources/boost/boost/config/compiler/xlcpp_zos.hpp", + "external/sources/boost/boost/config/detail/posix_features.hpp", + "external/sources/boost/boost/config/detail/select_compiler_config.hpp", + "external/sources/boost/boost/config/detail/select_platform_config.hpp", + "external/sources/boost/boost/config/detail/select_stdlib_config.hpp", + "external/sources/boost/boost/config/detail/suffix.hpp", + "external/sources/boost/boost/config/header_deprecated.hpp", + "external/sources/boost/boost/config/helper_macros.hpp", + "external/sources/boost/boost/config/no_tr1/cmath.hpp", + "external/sources/boost/boost/config/no_tr1/complex.hpp", + "external/sources/boost/boost/config/no_tr1/functional.hpp", + "external/sources/boost/boost/config/no_tr1/memory.hpp", + "external/sources/boost/boost/config/no_tr1/utility.hpp", + "external/sources/boost/boost/config/platform/aix.hpp", + "external/sources/boost/boost/config/platform/amigaos.hpp", + "external/sources/boost/boost/config/platform/beos.hpp", + "external/sources/boost/boost/config/platform/bsd.hpp", + "external/sources/boost/boost/config/platform/cloudabi.hpp", + "external/sources/boost/boost/config/platform/cray.hpp", + "external/sources/boost/boost/config/platform/cygwin.hpp", + "external/sources/boost/boost/config/platform/haiku.hpp", + "external/sources/boost/boost/config/platform/hpux.hpp", + "external/sources/boost/boost/config/platform/irix.hpp", + "external/sources/boost/boost/config/platform/linux.hpp", + "external/sources/boost/boost/config/platform/macos.hpp", + "external/sources/boost/boost/config/platform/qnxnto.hpp", + "external/sources/boost/boost/config/platform/solaris.hpp", + "external/sources/boost/boost/config/platform/symbian.hpp", + "external/sources/boost/boost/config/platform/vms.hpp", + "external/sources/boost/boost/config/platform/vxworks.hpp", + "external/sources/boost/boost/config/platform/win32.hpp", + "external/sources/boost/boost/config/platform/zos.hpp", + "external/sources/boost/boost/config/pragma_message.hpp", + "external/sources/boost/boost/config/requires_threads.hpp", + "external/sources/boost/boost/config/stdlib/dinkumware.hpp", + "external/sources/boost/boost/config/stdlib/libcomo.hpp", + "external/sources/boost/boost/config/stdlib/libcpp.hpp", + "external/sources/boost/boost/config/stdlib/libstdcpp3.hpp", + "external/sources/boost/boost/config/stdlib/modena.hpp", + "external/sources/boost/boost/config/stdlib/msl.hpp", + "external/sources/boost/boost/config/stdlib/roguewave.hpp", + "external/sources/boost/boost/config/stdlib/sgi.hpp", + "external/sources/boost/boost/config/stdlib/stlport.hpp", + "external/sources/boost/boost/config/stdlib/vacpp.hpp", + "external/sources/boost/boost/config/stdlib/xlcpp_zos.hpp", + "external/sources/boost/boost/config/user.hpp", + "external/sources/boost/boost/config/warning_disable.hpp", + "external/sources/boost/boost/config/workaround.hpp", + "external/sources/boost/boost/container/adaptive_pool.hpp", + "external/sources/boost/boost/container/allocator.hpp", + "external/sources/boost/boost/container/allocator_traits.hpp", + "external/sources/boost/boost/container/container_fwd.hpp", + "external/sources/boost/boost/container/deque.hpp", + "external/sources/boost/boost/container/detail/adaptive_node_pool.hpp", + "external/sources/boost/boost/container/detail/adaptive_node_pool_impl.hpp", + "external/sources/boost/boost/container/detail/addressof.hpp", + "external/sources/boost/boost/container/detail/advanced_insert_int.hpp", + "external/sources/boost/boost/container/detail/algorithm.hpp", + "external/sources/boost/boost/container/detail/alloc_helpers.hpp", + "external/sources/boost/boost/container/detail/alloc_lib.h", + "external/sources/boost/boost/container/detail/allocation_type.hpp", + "external/sources/boost/boost/container/detail/allocator_version_traits.hpp", + "external/sources/boost/boost/container/detail/auto_link.hpp", + "external/sources/boost/boost/container/detail/block_list.hpp", + "external/sources/boost/boost/container/detail/block_slist.hpp", + "external/sources/boost/boost/container/detail/compare_functors.hpp", + "external/sources/boost/boost/container/detail/config_begin.hpp", + "external/sources/boost/boost/container/detail/config_end.hpp", + "external/sources/boost/boost/container/detail/construct_in_place.hpp", + "external/sources/boost/boost/container/detail/container_or_allocator_rebind.hpp", + "external/sources/boost/boost/container/detail/container_rebind.hpp", + "external/sources/boost/boost/container/detail/copy_move_algo.hpp", + "external/sources/boost/boost/container/detail/destroyers.hpp", + "external/sources/boost/boost/container/detail/dispatch_uses_allocator.hpp", + "external/sources/boost/boost/container/detail/dlmalloc.hpp", + "external/sources/boost/boost/container/detail/flat_tree.hpp", + "external/sources/boost/boost/container/detail/function_detector.hpp", + "external/sources/boost/boost/container/detail/is_container.hpp", + "external/sources/boost/boost/container/detail/is_contiguous_container.hpp", + "external/sources/boost/boost/container/detail/is_sorted.hpp", + "external/sources/boost/boost/container/detail/iterator.hpp", + "external/sources/boost/boost/container/detail/iterator_to_raw_pointer.hpp", + "external/sources/boost/boost/container/detail/iterators.hpp", + "external/sources/boost/boost/container/detail/math_functions.hpp", + "external/sources/boost/boost/container/detail/min_max.hpp", + "external/sources/boost/boost/container/detail/minimal_char_traits_header.hpp", + "external/sources/boost/boost/container/detail/mpl.hpp", + "external/sources/boost/boost/container/detail/multiallocation_chain.hpp", + "external/sources/boost/boost/container/detail/mutex.hpp", + "external/sources/boost/boost/container/detail/next_capacity.hpp", + "external/sources/boost/boost/container/detail/node_alloc_holder.hpp", + "external/sources/boost/boost/container/detail/node_pool.hpp", + "external/sources/boost/boost/container/detail/node_pool_impl.hpp", + "external/sources/boost/boost/container/detail/pair.hpp", + "external/sources/boost/boost/container/detail/pair_key_mapped_of_value.hpp", + "external/sources/boost/boost/container/detail/placement_new.hpp", + "external/sources/boost/boost/container/detail/pool_common.hpp", + "external/sources/boost/boost/container/detail/pool_common_alloc.hpp", + "external/sources/boost/boost/container/detail/pool_resource.hpp", + "external/sources/boost/boost/container/detail/singleton.hpp", + "external/sources/boost/boost/container/detail/std_fwd.hpp", + "external/sources/boost/boost/container/detail/thread_mutex.hpp", + "external/sources/boost/boost/container/detail/transform_iterator.hpp", + "external/sources/boost/boost/container/detail/tree.hpp", + "external/sources/boost/boost/container/detail/type_traits.hpp", + "external/sources/boost/boost/container/detail/value_functors.hpp", + "external/sources/boost/boost/container/detail/value_init.hpp", + "external/sources/boost/boost/container/detail/variadic_templates_tools.hpp", + "external/sources/boost/boost/container/detail/version_type.hpp", + "external/sources/boost/boost/container/detail/workaround.hpp", + "external/sources/boost/boost/container/flat_map.hpp", + "external/sources/boost/boost/container/flat_set.hpp", + "external/sources/boost/boost/container/list.hpp", + "external/sources/boost/boost/container/map.hpp", + "external/sources/boost/boost/container/new_allocator.hpp", + "external/sources/boost/boost/container/node_allocator.hpp", + "external/sources/boost/boost/container/node_handle.hpp", + "external/sources/boost/boost/container/options.hpp", + "external/sources/boost/boost/container/pmr/deque.hpp", + "external/sources/boost/boost/container/pmr/flat_map.hpp", + "external/sources/boost/boost/container/pmr/flat_set.hpp", + "external/sources/boost/boost/container/pmr/global_resource.hpp", + "external/sources/boost/boost/container/pmr/list.hpp", + "external/sources/boost/boost/container/pmr/map.hpp", + "external/sources/boost/boost/container/pmr/memory_resource.hpp", + "external/sources/boost/boost/container/pmr/monotonic_buffer_resource.hpp", + "external/sources/boost/boost/container/pmr/polymorphic_allocator.hpp", + "external/sources/boost/boost/container/pmr/pool_options.hpp", + "external/sources/boost/boost/container/pmr/resource_adaptor.hpp", + "external/sources/boost/boost/container/pmr/set.hpp", + "external/sources/boost/boost/container/pmr/slist.hpp", + "external/sources/boost/boost/container/pmr/small_vector.hpp", + "external/sources/boost/boost/container/pmr/stable_vector.hpp", + "external/sources/boost/boost/container/pmr/string.hpp", + "external/sources/boost/boost/container/pmr/synchronized_pool_resource.hpp", + "external/sources/boost/boost/container/pmr/unsynchronized_pool_resource.hpp", + "external/sources/boost/boost/container/pmr/vector.hpp", + "external/sources/boost/boost/container/scoped_allocator.hpp", + "external/sources/boost/boost/container/scoped_allocator_fwd.hpp", + "external/sources/boost/boost/container/set.hpp", + "external/sources/boost/boost/container/slist.hpp", + "external/sources/boost/boost/container/small_vector.hpp", + "external/sources/boost/boost/container/stable_vector.hpp", + "external/sources/boost/boost/container/static_vector.hpp", + "external/sources/boost/boost/container/string.hpp", + "external/sources/boost/boost/container/throw_exception.hpp", + "external/sources/boost/boost/container/uses_allocator.hpp", + "external/sources/boost/boost/container/uses_allocator_fwd.hpp", + "external/sources/boost/boost/container/vector.hpp", + "external/sources/boost/boost/container_hash/detail/float_functions.hpp", + "external/sources/boost/boost/container_hash/detail/hash_float.hpp", + "external/sources/boost/boost/container_hash/detail/limits.hpp", + "external/sources/boost/boost/container_hash/extensions.hpp", + "external/sources/boost/boost/container_hash/hash.hpp", + "external/sources/boost/boost/container_hash/hash_fwd.hpp", + "external/sources/boost/boost/context/continuation.hpp", + "external/sources/boost/boost/context/continuation_fcontext.hpp", + "external/sources/boost/boost/context/continuation_ucontext.hpp", + "external/sources/boost/boost/context/continuation_winfib.hpp", + "external/sources/boost/boost/context/detail/apply.hpp", + "external/sources/boost/boost/context/detail/config.hpp", + "external/sources/boost/boost/context/detail/disable_overload.hpp", + "external/sources/boost/boost/context/detail/exception.hpp", + "external/sources/boost/boost/context/detail/exchange.hpp", + "external/sources/boost/boost/context/detail/externc.hpp", + "external/sources/boost/boost/context/detail/fcontext.hpp", + "external/sources/boost/boost/context/detail/index_sequence.hpp", + "external/sources/boost/boost/context/detail/invoke.hpp", + "external/sources/boost/boost/context/detail/prefetch.hpp", + "external/sources/boost/boost/context/detail/tuple.hpp", + "external/sources/boost/boost/context/fiber.hpp", + "external/sources/boost/boost/context/fiber_fcontext.hpp", + "external/sources/boost/boost/context/fiber_ucontext.hpp", + "external/sources/boost/boost/context/fiber_winfib.hpp", + "external/sources/boost/boost/context/fixedsize_stack.hpp", + "external/sources/boost/boost/context/flags.hpp", + "external/sources/boost/boost/context/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/context/posix/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/context/posix/segmented_stack.hpp", + "external/sources/boost/boost/context/preallocated.hpp", + "external/sources/boost/boost/context/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/context/segmented_stack.hpp", + "external/sources/boost/boost/context/stack_context.hpp", + "external/sources/boost/boost/context/stack_traits.hpp", + "external/sources/boost/boost/context/windows/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/contract.hpp", + "external/sources/boost/boost/contract/assert.hpp", + "external/sources/boost/boost/contract/base_types.hpp", + "external/sources/boost/boost/contract/call_if.hpp", + "external/sources/boost/boost/contract/check.hpp", + "external/sources/boost/boost/contract/constructor.hpp", + "external/sources/boost/boost/contract/core/access.hpp", + "external/sources/boost/boost/contract/core/check_macro.hpp", + "external/sources/boost/boost/contract/core/config.hpp", + "external/sources/boost/boost/contract/core/constructor_precondition.hpp", + "external/sources/boost/boost/contract/core/exception.hpp", + "external/sources/boost/boost/contract/core/specify.hpp", + "external/sources/boost/boost/contract/core/virtual.hpp", + "external/sources/boost/boost/contract/destructor.hpp", + "external/sources/boost/boost/contract/detail/assert.hpp", + "external/sources/boost/boost/contract/detail/auto_ptr.hpp", + "external/sources/boost/boost/contract/detail/check.hpp", + "external/sources/boost/boost/contract/detail/checking.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_base.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_inv.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_post.hpp", + "external/sources/boost/boost/contract/detail/condition/cond_subcontracting.hpp", + "external/sources/boost/boost/contract/detail/config.hpp", + "external/sources/boost/boost/contract/detail/debug.hpp", + "external/sources/boost/boost/contract/detail/decl.hpp", + "external/sources/boost/boost/contract/detail/declspec.hpp", + "external/sources/boost/boost/contract/detail/exception.hpp", + "external/sources/boost/boost/contract/detail/inlined.hpp", + "external/sources/boost/boost/contract/detail/inlined/core/exception.hpp", + "external/sources/boost/boost/contract/detail/inlined/detail/checking.hpp", + "external/sources/boost/boost/contract/detail/inlined/old.hpp", + "external/sources/boost/boost/contract/detail/name.hpp", + "external/sources/boost/boost/contract/detail/none.hpp", + "external/sources/boost/boost/contract/detail/noop.hpp", + "external/sources/boost/boost/contract/detail/operation/constructor.hpp", + "external/sources/boost/boost/contract/detail/operation/destructor.hpp", + "external/sources/boost/boost/contract/detail/operation/function.hpp", + "external/sources/boost/boost/contract/detail/operation/public_function.hpp", + "external/sources/boost/boost/contract/detail/operation/static_public_function.hpp", + "external/sources/boost/boost/contract/detail/operator_safe_bool.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/private.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/protected.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/public.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/utility/is.hpp", + "external/sources/boost/boost/contract/detail/preprocessor/keyword/virtual.hpp", + "external/sources/boost/boost/contract/detail/static_local_var.hpp", + "external/sources/boost/boost/contract/detail/tvariadic.hpp", + "external/sources/boost/boost/contract/detail/type_traits/member_function_types.hpp", + "external/sources/boost/boost/contract/detail/type_traits/mirror.hpp", + "external/sources/boost/boost/contract/detail/type_traits/optional.hpp", + "external/sources/boost/boost/contract/function.hpp", + "external/sources/boost/boost/contract/old.hpp", + "external/sources/boost/boost/contract/override.hpp", + "external/sources/boost/boost/contract/public_function.hpp", + "external/sources/boost/boost/contract_macro.hpp", + "external/sources/boost/boost/convert.hpp", + "external/sources/boost/boost/convert/base.hpp", + "external/sources/boost/boost/convert/detail/char.hpp", + "external/sources/boost/boost/convert/detail/config.hpp", + "external/sources/boost/boost/convert/detail/has_member.hpp", + "external/sources/boost/boost/convert/detail/is_callable.hpp", + "external/sources/boost/boost/convert/detail/is_converter.hpp", + "external/sources/boost/boost/convert/detail/is_fun.hpp", + "external/sources/boost/boost/convert/detail/is_string.hpp", + "external/sources/boost/boost/convert/detail/range.hpp", + "external/sources/boost/boost/convert/lexical_cast.hpp", + "external/sources/boost/boost/convert/parameters.hpp", + "external/sources/boost/boost/convert/printf.hpp", + "external/sources/boost/boost/convert/spirit.hpp", + "external/sources/boost/boost/convert/stream.hpp", + "external/sources/boost/boost/convert/strtol.hpp", + "external/sources/boost/boost/core/addressof.hpp", + "external/sources/boost/boost/core/alloc_construct.hpp", + "external/sources/boost/boost/core/allocator_access.hpp", + "external/sources/boost/boost/core/checked_delete.hpp", + "external/sources/boost/boost/core/default_allocator.hpp", + "external/sources/boost/boost/core/demangle.hpp", + "external/sources/boost/boost/core/empty_value.hpp", + "external/sources/boost/boost/core/enable_if.hpp", + "external/sources/boost/boost/core/exchange.hpp", + "external/sources/boost/boost/core/explicit_operator_bool.hpp", + "external/sources/boost/boost/core/first_scalar.hpp", + "external/sources/boost/boost/core/ignore_unused.hpp", + "external/sources/boost/boost/core/is_same.hpp", + "external/sources/boost/boost/core/lightweight_test.hpp", + "external/sources/boost/boost/core/lightweight_test_trait.hpp", + "external/sources/boost/boost/core/no_exceptions_support.hpp", + "external/sources/boost/boost/core/noinit_adaptor.hpp", + "external/sources/boost/boost/core/noncopyable.hpp", + "external/sources/boost/boost/core/null_deleter.hpp", + "external/sources/boost/boost/core/nvp.hpp", + "external/sources/boost/boost/core/pointer_traits.hpp", + "external/sources/boost/boost/core/quick_exit.hpp", + "external/sources/boost/boost/core/ref.hpp", + "external/sources/boost/boost/core/scoped_enum.hpp", + "external/sources/boost/boost/core/swap.hpp", + "external/sources/boost/boost/core/typeinfo.hpp", + "external/sources/boost/boost/core/uncaught_exceptions.hpp", + "external/sources/boost/boost/core/underlying_type.hpp", + "external/sources/boost/boost/core/use_default.hpp", + "external/sources/boost/boost/coroutine/all.hpp", + "external/sources/boost/boost/coroutine/asymmetric_coroutine.hpp", + "external/sources/boost/boost/coroutine/attributes.hpp", + "external/sources/boost/boost/coroutine/coroutine.hpp", + "external/sources/boost/boost/coroutine/detail/config.hpp", + "external/sources/boost/boost/coroutine/detail/coroutine_context.hpp", + "external/sources/boost/boost/coroutine/detail/data.hpp", + "external/sources/boost/boost/coroutine/detail/flags.hpp", + "external/sources/boost/boost/coroutine/detail/parameters.hpp", + "external/sources/boost/boost/coroutine/detail/preallocated.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/pull_coroutine_synthesized.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/push_coroutine_synthesized.hpp", + "external/sources/boost/boost/coroutine/detail/setup.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_call.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_impl.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_object.hpp", + "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_yield.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline_pull.hpp", + "external/sources/boost/boost/coroutine/detail/trampoline_push.hpp", + "external/sources/boost/boost/coroutine/exceptions.hpp", + "external/sources/boost/boost/coroutine/flags.hpp", + "external/sources/boost/boost/coroutine/posix/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/posix/segmented_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/segmented_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/stack_allocator.hpp", + "external/sources/boost/boost/coroutine/stack_context.hpp", + "external/sources/boost/boost/coroutine/stack_traits.hpp", + "external/sources/boost/boost/coroutine/standard_stack_allocator.hpp", + "external/sources/boost/boost/coroutine/symmetric_coroutine.hpp", + "external/sources/boost/boost/coroutine/windows/protected_stack_allocator.hpp", + "external/sources/boost/boost/coroutine2/all.hpp", + "external/sources/boost/boost/coroutine2/coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/config.hpp", + "external/sources/boost/boost/coroutine2/detail/coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/create_control_block.ipp", + "external/sources/boost/boost/coroutine2/detail/decay_copy.hpp", + "external/sources/boost/boost/coroutine2/detail/disable_overload.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.ipp", + "external/sources/boost/boost/coroutine2/detail/pull_coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/pull_coroutine.ipp", + "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.hpp", + "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.ipp", + "external/sources/boost/boost/coroutine2/detail/push_coroutine.hpp", + "external/sources/boost/boost/coroutine2/detail/push_coroutine.ipp", + "external/sources/boost/boost/coroutine2/detail/state.hpp", + "external/sources/boost/boost/coroutine2/detail/wrap.hpp", + "external/sources/boost/boost/coroutine2/fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/coroutine2/segmented_stack.hpp", + "external/sources/boost/boost/crc.hpp", + "external/sources/boost/boost/cregex.hpp", + "external/sources/boost/boost/cstdfloat.hpp", + "external/sources/boost/boost/cstdint.hpp", + "external/sources/boost/boost/cstdlib.hpp", + "external/sources/boost/boost/current_function.hpp", + "external/sources/boost/boost/cxx11_char_types.hpp", + "external/sources/boost/boost/date_time.hpp", + "external/sources/boost/boost/date_time/adjust_functors.hpp", + "external/sources/boost/boost/date_time/c_local_time_adjustor.hpp", + "external/sources/boost/boost/date_time/c_time.hpp", + "external/sources/boost/boost/date_time/compiler_config.hpp", + "external/sources/boost/boost/date_time/constrained_value.hpp", + "external/sources/boost/boost/date_time/date.hpp", + "external/sources/boost/boost/date_time/date_clock_device.hpp", + "external/sources/boost/boost/date_time/date_defs.hpp", + "external/sources/boost/boost/date_time/date_duration.hpp", + "external/sources/boost/boost/date_time/date_duration_types.hpp", + "external/sources/boost/boost/date_time/date_facet.hpp", + "external/sources/boost/boost/date_time/date_format_simple.hpp", + "external/sources/boost/boost/date_time/date_formatting.hpp", + "external/sources/boost/boost/date_time/date_formatting_limited.hpp", + "external/sources/boost/boost/date_time/date_formatting_locales.hpp", + "external/sources/boost/boost/date_time/date_generator_formatter.hpp", + "external/sources/boost/boost/date_time/date_generator_parser.hpp", + "external/sources/boost/boost/date_time/date_generators.hpp", + "external/sources/boost/boost/date_time/date_iterator.hpp", + "external/sources/boost/boost/date_time/date_names_put.hpp", + "external/sources/boost/boost/date_time/date_parsing.hpp", + "external/sources/boost/boost/date_time/dst_rules.hpp", + "external/sources/boost/boost/date_time/dst_transition_generators.hpp", + "external/sources/boost/boost/date_time/filetime_functions.hpp", + "external/sources/boost/boost/date_time/find_match.hpp", + "external/sources/boost/boost/date_time/format_date_parser.hpp", + "external/sources/boost/boost/date_time/gregorian/conversion.hpp", + "external/sources/boost/boost/date_time/gregorian/formatters.hpp", + "external/sources/boost/boost/date_time/gregorian/formatters_limited.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_calendar.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_date.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_day.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_day_of_year.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_duration.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_duration_types.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_facet.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_month.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_serialize.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_weekday.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_year.hpp", + "external/sources/boost/boost/date_time/gregorian/greg_ymd.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian_io.hpp", + "external/sources/boost/boost/date_time/gregorian/gregorian_types.hpp", + "external/sources/boost/boost/date_time/gregorian/parsers.hpp", + "external/sources/boost/boost/date_time/gregorian_calendar.hpp", + "external/sources/boost/boost/date_time/gregorian_calendar.ipp", + "external/sources/boost/boost/date_time/int_adapter.hpp", + "external/sources/boost/boost/date_time/iso_format.hpp", + "external/sources/boost/boost/date_time/local_time/conversion.hpp", + "external/sources/boost/boost/date_time/local_time/custom_time_zone.hpp", + "external/sources/boost/boost/date_time/local_time/date_duration_operators.hpp", + "external/sources/boost/boost/date_time/local_time/dst_transition_day_rules.hpp", + "external/sources/boost/boost/date_time/local_time/local_date_time.hpp", + "external/sources/boost/boost/date_time/local_time/local_time.hpp", + "external/sources/boost/boost/date_time/local_time/local_time_io.hpp", + "external/sources/boost/boost/date_time/local_time/local_time_types.hpp", + "external/sources/boost/boost/date_time/local_time/posix_time_zone.hpp", + "external/sources/boost/boost/date_time/local_time/tz_database.hpp", + "external/sources/boost/boost/date_time/local_time_adjustor.hpp", + "external/sources/boost/boost/date_time/local_timezone_defs.hpp", + "external/sources/boost/boost/date_time/locale_config.hpp", + "external/sources/boost/boost/date_time/microsec_time_clock.hpp", + "external/sources/boost/boost/date_time/parse_format_base.hpp", + "external/sources/boost/boost/date_time/period.hpp", + "external/sources/boost/boost/date_time/period_formatter.hpp", + "external/sources/boost/boost/date_time/period_parser.hpp", + "external/sources/boost/boost/date_time/posix_time/conversion.hpp", + "external/sources/boost/boost/date_time/posix_time/date_duration_operators.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_config.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_duration.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_io.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_legacy_io.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_system.hpp", + "external/sources/boost/boost/date_time/posix_time/posix_time_types.hpp", + "external/sources/boost/boost/date_time/posix_time/ptime.hpp", + "external/sources/boost/boost/date_time/posix_time/time_formatters.hpp", + "external/sources/boost/boost/date_time/posix_time/time_formatters_limited.hpp", + "external/sources/boost/boost/date_time/posix_time/time_parsers.hpp", + "external/sources/boost/boost/date_time/posix_time/time_period.hpp", + "external/sources/boost/boost/date_time/posix_time/time_serialize.hpp", + "external/sources/boost/boost/date_time/special_defs.hpp", + "external/sources/boost/boost/date_time/special_values_formatter.hpp", + "external/sources/boost/boost/date_time/special_values_parser.hpp", + "external/sources/boost/boost/date_time/string_convert.hpp", + "external/sources/boost/boost/date_time/string_parse_tree.hpp", + "external/sources/boost/boost/date_time/strings_from_facet.hpp", + "external/sources/boost/boost/date_time/time.hpp", + "external/sources/boost/boost/date_time/time_clock.hpp", + "external/sources/boost/boost/date_time/time_defs.hpp", + "external/sources/boost/boost/date_time/time_duration.hpp", + "external/sources/boost/boost/date_time/time_facet.hpp", + "external/sources/boost/boost/date_time/time_formatting_streams.hpp", + "external/sources/boost/boost/date_time/time_iterator.hpp", + "external/sources/boost/boost/date_time/time_parsing.hpp", + "external/sources/boost/boost/date_time/time_resolution_traits.hpp", + "external/sources/boost/boost/date_time/time_system_counted.hpp", + "external/sources/boost/boost/date_time/time_system_split.hpp", + "external/sources/boost/boost/date_time/time_zone_base.hpp", + "external/sources/boost/boost/date_time/time_zone_names.hpp", + "external/sources/boost/boost/date_time/tz_db_base.hpp", + "external/sources/boost/boost/date_time/wrapping_int.hpp", + "external/sources/boost/boost/date_time/year_month_day.hpp", + "external/sources/boost/boost/detail/algorithm.hpp", + "external/sources/boost/boost/detail/allocator_utilities.hpp", + "external/sources/boost/boost/detail/atomic_count.hpp", + "external/sources/boost/boost/detail/basic_pointerbuf.hpp", + "external/sources/boost/boost/detail/binary_search.hpp", + "external/sources/boost/boost/detail/bitmask.hpp", + "external/sources/boost/boost/detail/call_traits.hpp", + "external/sources/boost/boost/detail/catch_exceptions.hpp", + "external/sources/boost/boost/detail/compressed_pair.hpp", + "external/sources/boost/boost/detail/container_fwd.hpp", + "external/sources/boost/boost/detail/fenv.hpp", + "external/sources/boost/boost/detail/has_default_constructor.hpp", + "external/sources/boost/boost/detail/identifier.hpp", + "external/sources/boost/boost/detail/indirect_traits.hpp", + "external/sources/boost/boost/detail/interlocked.hpp", + "external/sources/boost/boost/detail/is_incrementable.hpp", + "external/sources/boost/boost/detail/is_sorted.hpp", + "external/sources/boost/boost/detail/is_xxx.hpp", + "external/sources/boost/boost/detail/iterator.hpp", + "external/sources/boost/boost/detail/lcast_precision.hpp", + "external/sources/boost/boost/detail/lightweight_main.hpp", + "external/sources/boost/boost/detail/lightweight_mutex.hpp", + "external/sources/boost/boost/detail/lightweight_test.hpp", + "external/sources/boost/boost/detail/lightweight_test_report.hpp", + "external/sources/boost/boost/detail/lightweight_thread.hpp", + "external/sources/boost/boost/detail/named_template_params.hpp", + "external/sources/boost/boost/detail/no_exceptions_support.hpp", + "external/sources/boost/boost/detail/numeric_traits.hpp", + "external/sources/boost/boost/detail/ob_compressed_pair.hpp", + "external/sources/boost/boost/detail/quick_allocator.hpp", + "external/sources/boost/boost/detail/reference_content.hpp", + "external/sources/boost/boost/detail/scoped_enum_emulation.hpp", + "external/sources/boost/boost/detail/select_type.hpp", + "external/sources/boost/boost/detail/sp_typeinfo.hpp", + "external/sources/boost/boost/detail/templated_streams.hpp", + "external/sources/boost/boost/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/detail/utf8_codecvt_facet.ipp", + "external/sources/boost/boost/detail/winapi/access_rights.hpp", + "external/sources/boost/boost/detail/winapi/apc.hpp", + "external/sources/boost/boost/detail/winapi/basic_types.hpp", + "external/sources/boost/boost/detail/winapi/bcrypt.hpp", + "external/sources/boost/boost/detail/winapi/character_code_conversion.hpp", + "external/sources/boost/boost/detail/winapi/condition_variable.hpp", + "external/sources/boost/boost/detail/winapi/config.hpp", + "external/sources/boost/boost/detail/winapi/critical_section.hpp", + "external/sources/boost/boost/detail/winapi/crypt.hpp", + "external/sources/boost/boost/detail/winapi/dbghelp.hpp", + "external/sources/boost/boost/detail/winapi/debugapi.hpp", + "external/sources/boost/boost/detail/winapi/detail/deprecated_namespace.hpp", + "external/sources/boost/boost/detail/winapi/directory_management.hpp", + "external/sources/boost/boost/detail/winapi/dll.hpp", + "external/sources/boost/boost/detail/winapi/environment.hpp", + "external/sources/boost/boost/detail/winapi/error_codes.hpp", + "external/sources/boost/boost/detail/winapi/error_handling.hpp", + "external/sources/boost/boost/detail/winapi/event.hpp", + "external/sources/boost/boost/detail/winapi/file_management.hpp", + "external/sources/boost/boost/detail/winapi/file_mapping.hpp", + "external/sources/boost/boost/detail/winapi/get_current_process.hpp", + "external/sources/boost/boost/detail/winapi/get_current_process_id.hpp", + "external/sources/boost/boost/detail/winapi/get_current_thread.hpp", + "external/sources/boost/boost/detail/winapi/get_current_thread_id.hpp", + "external/sources/boost/boost/detail/winapi/get_last_error.hpp", + "external/sources/boost/boost/detail/winapi/get_process_times.hpp", + "external/sources/boost/boost/detail/winapi/get_system_directory.hpp", + "external/sources/boost/boost/detail/winapi/get_thread_times.hpp", + "external/sources/boost/boost/detail/winapi/handle_info.hpp", + "external/sources/boost/boost/detail/winapi/handles.hpp", + "external/sources/boost/boost/detail/winapi/heap_memory.hpp", + "external/sources/boost/boost/detail/winapi/init_once.hpp", + "external/sources/boost/boost/detail/winapi/jobs.hpp", + "external/sources/boost/boost/detail/winapi/limits.hpp", + "external/sources/boost/boost/detail/winapi/local_memory.hpp", + "external/sources/boost/boost/detail/winapi/memory.hpp", + "external/sources/boost/boost/detail/winapi/mutex.hpp", + "external/sources/boost/boost/detail/winapi/overlapped.hpp", + "external/sources/boost/boost/detail/winapi/page_protection_flags.hpp", + "external/sources/boost/boost/detail/winapi/pipes.hpp", + "external/sources/boost/boost/detail/winapi/priority_class.hpp", + "external/sources/boost/boost/detail/winapi/process.hpp", + "external/sources/boost/boost/detail/winapi/security.hpp", + "external/sources/boost/boost/detail/winapi/semaphore.hpp", + "external/sources/boost/boost/detail/winapi/shell.hpp", + "external/sources/boost/boost/detail/winapi/show_window.hpp", + "external/sources/boost/boost/detail/winapi/srw_lock.hpp", + "external/sources/boost/boost/detail/winapi/stack_backtrace.hpp", + "external/sources/boost/boost/detail/winapi/synchronization.hpp", + "external/sources/boost/boost/detail/winapi/system.hpp", + "external/sources/boost/boost/detail/winapi/thread.hpp", + "external/sources/boost/boost/detail/winapi/thread_pool.hpp", + "external/sources/boost/boost/detail/winapi/time.hpp", + "external/sources/boost/boost/detail/winapi/timers.hpp", + "external/sources/boost/boost/detail/winapi/tls.hpp", + "external/sources/boost/boost/detail/winapi/wait.hpp", + "external/sources/boost/boost/detail/winapi/waitable_timer.hpp", + "external/sources/boost/boost/detail/workaround.hpp", + "external/sources/boost/boost/dll.hpp", + "external/sources/boost/boost/dll/alias.hpp", + "external/sources/boost/boost/dll/config.hpp", + "external/sources/boost/boost/dll/detail/aggressive_ptr_cast.hpp", + "external/sources/boost/boost/dll/detail/ctor_dtor.hpp", + "external/sources/boost/boost/dll/detail/demangling/demangle_symbol.hpp", + "external/sources/boost/boost/dll/detail/demangling/itanium.hpp", + "external/sources/boost/boost/dll/detail/demangling/mangled_storage_base.hpp", + "external/sources/boost/boost/dll/detail/demangling/msvc.hpp", + "external/sources/boost/boost/dll/detail/elf_info.hpp", + "external/sources/boost/boost/dll/detail/get_mem_fn_type.hpp", + "external/sources/boost/boost/dll/detail/import_mangled_helpers.hpp", + "external/sources/boost/boost/dll/detail/macho_info.hpp", + "external/sources/boost/boost/dll/detail/pe_info.hpp", + "external/sources/boost/boost/dll/detail/posix/path_from_handle.hpp", + "external/sources/boost/boost/dll/detail/posix/program_location_impl.hpp", + "external/sources/boost/boost/dll/detail/posix/shared_library_impl.hpp", + "external/sources/boost/boost/dll/detail/system_error.hpp", + "external/sources/boost/boost/dll/detail/type_info.hpp", + "external/sources/boost/boost/dll/detail/windows/path_from_handle.hpp", + "external/sources/boost/boost/dll/detail/windows/shared_library_impl.hpp", + "external/sources/boost/boost/dll/import.hpp", + "external/sources/boost/boost/dll/import_class.hpp", + "external/sources/boost/boost/dll/import_mangled.hpp", + "external/sources/boost/boost/dll/library_info.hpp", + "external/sources/boost/boost/dll/runtime_symbol_info.hpp", + "external/sources/boost/boost/dll/shared_library.hpp", + "external/sources/boost/boost/dll/shared_library_load_mode.hpp", + "external/sources/boost/boost/dll/smart_library.hpp", + "external/sources/boost/boost/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/config.hpp", + "external/sources/boost/boost/dynamic_bitset/detail/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/detail/lowest_bit.hpp", + "external/sources/boost/boost/dynamic_bitset/dynamic_bitset.hpp", + "external/sources/boost/boost/dynamic_bitset/serialization.hpp", + "external/sources/boost/boost/dynamic_bitset_fwd.hpp", + "external/sources/boost/boost/enable_shared_from_this.hpp", + "external/sources/boost/boost/endian.hpp", + "external/sources/boost/boost/endian/arithmetic.hpp", + "external/sources/boost/boost/endian/buffers.hpp", + "external/sources/boost/boost/endian/conversion.hpp", + "external/sources/boost/boost/endian/detail/disable_warnings.hpp", + "external/sources/boost/boost/endian/detail/disable_warnings_pop.hpp", + "external/sources/boost/boost/endian/detail/endian_load.hpp", + "external/sources/boost/boost/endian/detail/endian_reverse.hpp", + "external/sources/boost/boost/endian/detail/endian_store.hpp", + "external/sources/boost/boost/endian/detail/integral_by_size.hpp", + "external/sources/boost/boost/endian/detail/intrinsic.hpp", + "external/sources/boost/boost/endian/detail/is_scoped_enum.hpp", + "external/sources/boost/boost/endian/detail/is_trivially_copyable.hpp", + "external/sources/boost/boost/endian/detail/order.hpp", + "external/sources/boost/boost/endian/endian.hpp", + "external/sources/boost/boost/exception/all.hpp", + "external/sources/boost/boost/exception/current_exception_cast.hpp", + "external/sources/boost/boost/exception/detail/clone_current_exception.hpp", + "external/sources/boost/boost/exception/detail/error_info_impl.hpp", + "external/sources/boost/boost/exception/detail/exception_ptr.hpp", + "external/sources/boost/boost/exception/detail/is_output_streamable.hpp", + "external/sources/boost/boost/exception/detail/object_hex_dump.hpp", + "external/sources/boost/boost/exception/detail/shared_ptr.hpp", + "external/sources/boost/boost/exception/detail/type_info.hpp", + "external/sources/boost/boost/exception/diagnostic_information.hpp", + "external/sources/boost/boost/exception/enable_current_exception.hpp", + "external/sources/boost/boost/exception/enable_error_info.hpp", + "external/sources/boost/boost/exception/errinfo_api_function.hpp", + "external/sources/boost/boost/exception/errinfo_at_line.hpp", + "external/sources/boost/boost/exception/errinfo_errno.hpp", + "external/sources/boost/boost/exception/errinfo_file_handle.hpp", + "external/sources/boost/boost/exception/errinfo_file_name.hpp", + "external/sources/boost/boost/exception/errinfo_file_open_mode.hpp", + "external/sources/boost/boost/exception/errinfo_nested_exception.hpp", + "external/sources/boost/boost/exception/errinfo_type_info_name.hpp", + "external/sources/boost/boost/exception/error_info.hpp", + "external/sources/boost/boost/exception/exception.hpp", + "external/sources/boost/boost/exception/get_error_info.hpp", + "external/sources/boost/boost/exception/info.hpp", + "external/sources/boost/boost/exception/info_tuple.hpp", + "external/sources/boost/boost/exception/to_string.hpp", + "external/sources/boost/boost/exception/to_string_stub.hpp", + "external/sources/boost/boost/exception_ptr.hpp", + "external/sources/boost/boost/fiber/algo/algorithm.hpp", + "external/sources/boost/boost/fiber/algo/round_robin.hpp", + "external/sources/boost/boost/fiber/algo/shared_work.hpp", + "external/sources/boost/boost/fiber/algo/work_stealing.hpp", + "external/sources/boost/boost/fiber/all.hpp", + "external/sources/boost/boost/fiber/barrier.hpp", + "external/sources/boost/boost/fiber/buffered_channel.hpp", + "external/sources/boost/boost/fiber/channel_op_status.hpp", + "external/sources/boost/boost/fiber/condition_variable.hpp", + "external/sources/boost/boost/fiber/context.hpp", + "external/sources/boost/boost/fiber/cuda/waitfor.hpp", + "external/sources/boost/boost/fiber/detail/config.hpp", + "external/sources/boost/boost/fiber/detail/context_spinlock_queue.hpp", + "external/sources/boost/boost/fiber/detail/context_spmc_queue.hpp", + "external/sources/boost/boost/fiber/detail/convert.hpp", + "external/sources/boost/boost/fiber/detail/cpu_relax.hpp", + "external/sources/boost/boost/fiber/detail/data.hpp", + "external/sources/boost/boost/fiber/detail/decay_copy.hpp", + "external/sources/boost/boost/fiber/detail/disable_overload.hpp", + "external/sources/boost/boost/fiber/detail/exchange.hpp", + "external/sources/boost/boost/fiber/detail/fss.hpp", + "external/sources/boost/boost/fiber/detail/futex.hpp", + "external/sources/boost/boost/fiber/detail/is_all_same.hpp", + "external/sources/boost/boost/fiber/detail/rtm.hpp", + "external/sources/boost/boost/fiber/detail/spinlock.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_rtm.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_status.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive_futex.hpp", + "external/sources/boost/boost/fiber/detail/spinlock_ttas_futex.hpp", + "external/sources/boost/boost/fiber/detail/thread_barrier.hpp", + "external/sources/boost/boost/fiber/exceptions.hpp", + "external/sources/boost/boost/fiber/fiber.hpp", + "external/sources/boost/boost/fiber/fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/fss.hpp", + "external/sources/boost/boost/fiber/future.hpp", + "external/sources/boost/boost/fiber/future/async.hpp", + "external/sources/boost/boost/fiber/future/detail/shared_state.hpp", + "external/sources/boost/boost/fiber/future/detail/shared_state_object.hpp", + "external/sources/boost/boost/fiber/future/detail/task_base.hpp", + "external/sources/boost/boost/fiber/future/detail/task_object.hpp", + "external/sources/boost/boost/fiber/future/future.hpp", + "external/sources/boost/boost/fiber/future/future_status.hpp", + "external/sources/boost/boost/fiber/future/packaged_task.hpp", + "external/sources/boost/boost/fiber/future/promise.hpp", + "external/sources/boost/boost/fiber/hip/waitfor.hpp", + "external/sources/boost/boost/fiber/mutex.hpp", + "external/sources/boost/boost/fiber/numa/algo/work_stealing.hpp", + "external/sources/boost/boost/fiber/numa/all.hpp", + "external/sources/boost/boost/fiber/numa/pin_thread.hpp", + "external/sources/boost/boost/fiber/numa/topology.hpp", + "external/sources/boost/boost/fiber/operations.hpp", + "external/sources/boost/boost/fiber/policy.hpp", + "external/sources/boost/boost/fiber/pooled_fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/properties.hpp", + "external/sources/boost/boost/fiber/protected_fixedsize_stack.hpp", + "external/sources/boost/boost/fiber/recursive_mutex.hpp", + "external/sources/boost/boost/fiber/recursive_timed_mutex.hpp", + "external/sources/boost/boost/fiber/scheduler.hpp", + "external/sources/boost/boost/fiber/segmented_stack.hpp", + "external/sources/boost/boost/fiber/timed_mutex.hpp", + "external/sources/boost/boost/fiber/type.hpp", + "external/sources/boost/boost/fiber/unbuffered_channel.hpp", + "external/sources/boost/boost/filesystem.hpp", + "external/sources/boost/boost/filesystem/config.hpp", + "external/sources/boost/boost/filesystem/convenience.hpp", + "external/sources/boost/boost/filesystem/detail/macro_value.hpp", + "external/sources/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/filesystem/directory.hpp", + "external/sources/boost/boost/filesystem/exception.hpp", + "external/sources/boost/boost/filesystem/file_status.hpp", + "external/sources/boost/boost/filesystem/fstream.hpp", + "external/sources/boost/boost/filesystem/operations.hpp", + "external/sources/boost/boost/filesystem/path.hpp", + "external/sources/boost/boost/filesystem/path_traits.hpp", + "external/sources/boost/boost/filesystem/string_file.hpp", + "external/sources/boost/boost/flyweight.hpp", + "external/sources/boost/boost/flyweight/assoc_container_factory.hpp", + "external/sources/boost/boost/flyweight/assoc_container_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/archive_constructed.hpp", + "external/sources/boost/boost/flyweight/detail/default_value_policy.hpp", + "external/sources/boost/boost/flyweight/detail/dyn_perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/flyweight_core.hpp", + "external/sources/boost/boost/flyweight/detail/is_placeholder_expr.hpp", + "external/sources/boost/boost/flyweight/detail/nested_xxx_if_not_ph.hpp", + "external/sources/boost/boost/flyweight/detail/not_placeholder_expr.hpp", + "external/sources/boost/boost/flyweight/detail/perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/pp_perfect_fwd.hpp", + "external/sources/boost/boost/flyweight/detail/recursive_lw_mutex.hpp", + "external/sources/boost/boost/flyweight/detail/serialization_helper.hpp", + "external/sources/boost/boost/flyweight/detail/value_tag.hpp", + "external/sources/boost/boost/flyweight/factory_tag.hpp", + "external/sources/boost/boost/flyweight/flyweight.hpp", + "external/sources/boost/boost/flyweight/flyweight_fwd.hpp", + "external/sources/boost/boost/flyweight/hashed_factory.hpp", + "external/sources/boost/boost/flyweight/hashed_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/holder_tag.hpp", + "external/sources/boost/boost/flyweight/intermodule_holder.hpp", + "external/sources/boost/boost/flyweight/intermodule_holder_fwd.hpp", + "external/sources/boost/boost/flyweight/key_value.hpp", + "external/sources/boost/boost/flyweight/key_value_fwd.hpp", + "external/sources/boost/boost/flyweight/locking_tag.hpp", + "external/sources/boost/boost/flyweight/no_locking.hpp", + "external/sources/boost/boost/flyweight/no_locking_fwd.hpp", + "external/sources/boost/boost/flyweight/no_tracking.hpp", + "external/sources/boost/boost/flyweight/no_tracking_fwd.hpp", + "external/sources/boost/boost/flyweight/refcounted.hpp", + "external/sources/boost/boost/flyweight/refcounted_fwd.hpp", + "external/sources/boost/boost/flyweight/serialize.hpp", + "external/sources/boost/boost/flyweight/set_factory.hpp", + "external/sources/boost/boost/flyweight/set_factory_fwd.hpp", + "external/sources/boost/boost/flyweight/simple_locking.hpp", + "external/sources/boost/boost/flyweight/simple_locking_fwd.hpp", + "external/sources/boost/boost/flyweight/static_holder.hpp", + "external/sources/boost/boost/flyweight/static_holder_fwd.hpp", + "external/sources/boost/boost/flyweight/tag.hpp", + "external/sources/boost/boost/flyweight/tracking_tag.hpp", + "external/sources/boost/boost/foreach.hpp", + "external/sources/boost/boost/foreach_fwd.hpp", + "external/sources/boost/boost/format.hpp", + "external/sources/boost/boost/format/alt_sstream.hpp", + "external/sources/boost/boost/format/alt_sstream_impl.hpp", + "external/sources/boost/boost/format/detail/compat_workarounds.hpp", + "external/sources/boost/boost/format/detail/config_macros.hpp", + "external/sources/boost/boost/format/detail/msvc_disambiguater.hpp", + "external/sources/boost/boost/format/detail/unset_macros.hpp", + "external/sources/boost/boost/format/detail/workarounds_gcc-2_95.hpp", + "external/sources/boost/boost/format/detail/workarounds_stlport.hpp", + "external/sources/boost/boost/format/exceptions.hpp", + "external/sources/boost/boost/format/feed_args.hpp", + "external/sources/boost/boost/format/format_class.hpp", + "external/sources/boost/boost/format/format_fwd.hpp", + "external/sources/boost/boost/format/format_implementation.hpp", + "external/sources/boost/boost/format/free_funcs.hpp", + "external/sources/boost/boost/format/group.hpp", + "external/sources/boost/boost/format/internals.hpp", + "external/sources/boost/boost/format/internals_fwd.hpp", + "external/sources/boost/boost/format/parsing.hpp", + "external/sources/boost/boost/function.hpp", + "external/sources/boost/boost/function/detail/function_iterate.hpp", + "external/sources/boost/boost/function/detail/gen_maybe_include.pl", + "external/sources/boost/boost/function/detail/maybe_include.hpp", + "external/sources/boost/boost/function/detail/prologue.hpp", + "external/sources/boost/boost/function/function0.hpp", + "external/sources/boost/boost/function/function1.hpp", + "external/sources/boost/boost/function/function10.hpp", + "external/sources/boost/boost/function/function2.hpp", + "external/sources/boost/boost/function/function3.hpp", + "external/sources/boost/boost/function/function4.hpp", + "external/sources/boost/boost/function/function5.hpp", + "external/sources/boost/boost/function/function6.hpp", + "external/sources/boost/boost/function/function7.hpp", + "external/sources/boost/boost/function/function8.hpp", + "external/sources/boost/boost/function/function9.hpp", + "external/sources/boost/boost/function/function_base.hpp", + "external/sources/boost/boost/function/function_fwd.hpp", + "external/sources/boost/boost/function/function_template.hpp", + "external/sources/boost/boost/function/function_typeof.hpp", + "external/sources/boost/boost/function/gen_function_N.pl", + "external/sources/boost/boost/function_equal.hpp", + "external/sources/boost/boost/function_output_iterator.hpp", + "external/sources/boost/boost/function_types/components.hpp", + "external/sources/boost/boost/function_types/config/cc_names.hpp", + "external/sources/boost/boost/function_types/config/compiler.hpp", + "external/sources/boost/boost/function_types/config/config.hpp", + "external/sources/boost/boost/function_types/detail/class_transform.hpp", + "external/sources/boost/boost/function_types/detail/classifier.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/classifier_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/components_as_mpl_sequence.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/components_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/cv_traits.hpp", + "external/sources/boost/boost/function_types/detail/encoding/aliases_def.hpp", + "external/sources/boost/boost/function_types/detail/encoding/aliases_undef.hpp", + "external/sources/boost/boost/function_types/detail/encoding/def.hpp", + "external/sources/boost/boost/function_types/detail/encoding/undef.hpp", + "external/sources/boost/boost/function_types/detail/pp_arity_loop.hpp", + "external/sources/boost/boost/function_types/detail/pp_cc_loop/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_cc_loop/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_loop.hpp", + "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/cc_tag.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_tags/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/pp_variate_loop/master.hpp", + "external/sources/boost/boost/function_types/detail/pp_variate_loop/preprocessed.hpp", + "external/sources/boost/boost/function_types/detail/retag_default_cc.hpp", + "external/sources/boost/boost/function_types/detail/synthesize.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_0.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_1.hpp", + "external/sources/boost/boost/function_types/detail/synthesize_impl/master.hpp", + "external/sources/boost/boost/function_types/detail/to_sequence.hpp", + "external/sources/boost/boost/function_types/function_arity.hpp", + "external/sources/boost/boost/function_types/function_pointer.hpp", + "external/sources/boost/boost/function_types/function_reference.hpp", + "external/sources/boost/boost/function_types/function_type.hpp", + "external/sources/boost/boost/function_types/is_callable_builtin.hpp", + "external/sources/boost/boost/function_types/is_function.hpp", + "external/sources/boost/boost/function_types/is_function_pointer.hpp", + "external/sources/boost/boost/function_types/is_function_reference.hpp", + "external/sources/boost/boost/function_types/is_member_function_pointer.hpp", + "external/sources/boost/boost/function_types/is_member_object_pointer.hpp", + "external/sources/boost/boost/function_types/is_member_pointer.hpp", + "external/sources/boost/boost/function_types/is_nonmember_callable_builtin.hpp", + "external/sources/boost/boost/function_types/member_function_pointer.hpp", + "external/sources/boost/boost/function_types/member_object_pointer.hpp", + "external/sources/boost/boost/function_types/parameter_types.hpp", + "external/sources/boost/boost/function_types/property_tags.hpp", + "external/sources/boost/boost/function_types/result_type.hpp", + "external/sources/boost/boost/functional.hpp", + "external/sources/boost/boost/functional/factory.hpp", + "external/sources/boost/boost/functional/forward_adapter.hpp", + "external/sources/boost/boost/functional/hash.hpp", + "external/sources/boost/boost/functional/hash/extensions.hpp", + "external/sources/boost/boost/functional/hash/hash.hpp", + "external/sources/boost/boost/functional/hash/hash_fwd.hpp", + "external/sources/boost/boost/functional/hash_fwd.hpp", + "external/sources/boost/boost/functional/lightweight_forward_adapter.hpp", + "external/sources/boost/boost/functional/overloaded_function.hpp", + "external/sources/boost/boost/functional/overloaded_function/config.hpp", + "external/sources/boost/boost/functional/overloaded_function/detail/base.hpp", + "external/sources/boost/boost/functional/overloaded_function/detail/function_type.hpp", + "external/sources/boost/boost/functional/value_factory.hpp", + "external/sources/boost/boost/fusion/adapted.hpp", + "external/sources/boost/boost/fusion/adapted/adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_adt_named.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt.hpp", + "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt_named.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_assoc_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/adt/detail/extension.hpp", + "external/sources/boost/boost/fusion/adapted/array.hpp", + "external/sources/boost/boost/fusion/adapted/array/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/deref_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/array/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/array/value_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/array_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/mpl/clear.hpp", + "external/sources/boost/boost/fusion/adapted/boost_tuple/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/mpl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/empty_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/has_key_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/mpl/mpl_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_array.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/array_size.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/std_array_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_array/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/std_pair.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/mpl/clear.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/std_tuple_iterator.hpp", + "external/sources/boost/boost/fusion/adapted/std_tuple/tag_of.hpp", + "external/sources/boost/boost/fusion/adapted/struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/adapt_struct_named.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_assoc_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_auto.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_assoc_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_attr_filler.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_is_tpl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/category_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/extension.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/is_view_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/namespace.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/proxy_type.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/algorithm.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary/copy.hpp", + "external/sources/boost/boost/fusion/algorithm/auxiliary/move.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/accumulate.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/accumulate_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/for_each.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/for_each_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query.hpp", + "external/sources/boost/boost/fusion/algorithm/query/all.hpp", + "external/sources/boost/boost/fusion/algorithm/query/any.hpp", + "external/sources/boost/boost/fusion/algorithm/query/count.hpp", + "external/sources/boost/boost/fusion/algorithm/query/count_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/all.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/any.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/count.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/count_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find.hpp", + "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_if.hpp", + "external/sources/boost/boost/fusion/algorithm/query/find_if_fwd.hpp", + "external/sources/boost/boost/fusion/algorithm/query/none.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/clear.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip10.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip20.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip30.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip40.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip50.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/erase.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/erase_key.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/filter.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/filter_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/flatten.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/insert.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/insert_range.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/join.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/pop_back.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/pop_front.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/push_back.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/push_front.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/remove.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/remove_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/replace.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/replace_if.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/reverse.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/transform.hpp", + "external/sources/boost/boost/fusion/algorithm/transformation/zip.hpp", + "external/sources/boost/boost/fusion/container.hpp", + "external/sources/boost/boost/fusion/container/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/back_extended_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/convert.hpp", + "external/sources/boost/boost/fusion/container/deque/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/deque_iterator.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/as_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_initial_size.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_fwd.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values10.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values20.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values30.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values40.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values50.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/deque_keyed_values.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/is_sequence_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/keyed_element.hpp", + "external/sources/boost/boost/fusion/container/deque/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/deque/front_extended_deque.hpp", + "external/sources/boost/boost/fusion/container/generation.hpp", + "external/sources/boost/boost/fusion/container/generation/cons_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/pp_vector_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie10.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie20.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie30.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie40.hpp", + "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie50.hpp", + "external/sources/boost/boost/fusion/container/generation/ignore.hpp", + "external/sources/boost/boost/fusion/container/generation/list_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/make_cons.hpp", + "external/sources/boost/boost/fusion/container/generation/make_deque.hpp", + "external/sources/boost/boost/fusion/container/generation/make_list.hpp", + "external/sources/boost/boost/fusion/container/generation/make_map.hpp", + "external/sources/boost/boost/fusion/container/generation/make_set.hpp", + "external/sources/boost/boost/fusion/container/generation/make_vector.hpp", + "external/sources/boost/boost/fusion/container/generation/map_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/pair_tie.hpp", + "external/sources/boost/boost/fusion/container/generation/vector_tie.hpp", + "external/sources/boost/boost/fusion/container/list.hpp", + "external/sources/boost/boost/fusion/container/list/cons.hpp", + "external/sources/boost/boost/fusion/container/list/cons_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/cons_iterator.hpp", + "external/sources/boost/boost/fusion/container/list/convert.hpp", + "external/sources/boost/boost/fusion/container/list/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp", + "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp", + "external/sources/boost/boost/fusion/container/list/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/empty_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/list_to_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/reverse_cons.hpp", + "external/sources/boost/boost/fusion/container/list/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/list/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/list/list.hpp", + "external/sources/boost/boost/fusion/container/list/list_fwd.hpp", + "external/sources/boost/boost/fusion/container/list/nil.hpp", + "external/sources/boost/boost/fusion/container/map.hpp", + "external/sources/boost/boost/fusion/container/map/convert.hpp", + "external/sources/boost/boost/fusion/container/map/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/at_key_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/as_map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/end_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/key_of_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map10.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map20.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map30.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map40.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map50.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/map_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/map_index.hpp", + "external/sources/boost/boost/fusion/container/map/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/map/detail/value_at_key_impl.hpp", + "external/sources/boost/boost/fusion/container/map/map.hpp", + "external/sources/boost/boost/fusion/container/map/map_fwd.hpp", + "external/sources/boost/boost/fusion/container/map/map_iterator.hpp", + "external/sources/boost/boost/fusion/container/set.hpp", + "external/sources/boost/boost/fusion/container/set/convert.hpp", + "external/sources/boost/boost/fusion/container/set/detail/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/set/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/container/set/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/set/set.hpp", + "external/sources/boost/boost/fusion/container/set/set_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/convert.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/config.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/convert_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/limits.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/container/vector/vector.hpp", + "external/sources/boost/boost/fusion/container/vector/vector10.hpp", + "external/sources/boost/boost/fusion/container/vector/vector20.hpp", + "external/sources/boost/boost/fusion/container/vector/vector30.hpp", + "external/sources/boost/boost/fusion/container/vector/vector40.hpp", + "external/sources/boost/boost/fusion/container/vector/vector50.hpp", + "external/sources/boost/boost/fusion/container/vector/vector_fwd.hpp", + "external/sources/boost/boost/fusion/container/vector/vector_iterator.hpp", + "external/sources/boost/boost/fusion/functional.hpp", + "external/sources/boost/boost/fusion/functional/adapter.hpp", + "external/sources/boost/boost/fusion/functional/adapter/detail/access.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused_function_object.hpp", + "external/sources/boost/boost/fusion/functional/adapter/fused_procedure.hpp", + "external/sources/boost/boost/fusion/functional/adapter/limits.hpp", + "external/sources/boost/boost/fusion/functional/adapter/unfused.hpp", + "external/sources/boost/boost/fusion/functional/adapter/unfused_typed.hpp", + "external/sources/boost/boost/fusion/functional/generation.hpp", + "external/sources/boost/boost/fusion/functional/generation/detail/gen_make_adapter.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused_function_object.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_fused_procedure.hpp", + "external/sources/boost/boost/fusion/functional/generation/make_unfused.hpp", + "external/sources/boost/boost/fusion/functional/invocation.hpp", + "external/sources/boost/boost/fusion/functional/invocation/detail/that_ptr.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke_function_object.hpp", + "external/sources/boost/boost/fusion/functional/invocation/invoke_procedure.hpp", + "external/sources/boost/boost/fusion/functional/invocation/limits.hpp", + "external/sources/boost/boost/fusion/include/accumulate.hpp", + "external/sources/boost/boost/fusion/include/adapt_adt.hpp", + "external/sources/boost/boost/fusion/include/adapt_adt_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_adt.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_adt_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_struct.hpp", + "external/sources/boost/boost/fusion/include/adapt_assoc_struct_named.hpp", + "external/sources/boost/boost/fusion/include/adapt_struct.hpp", + "external/sources/boost/boost/fusion/include/adapt_struct_named.hpp", + "external/sources/boost/boost/fusion/include/adapted.hpp", + "external/sources/boost/boost/fusion/include/adapter.hpp", + "external/sources/boost/boost/fusion/include/advance.hpp", + "external/sources/boost/boost/fusion/include/algorithm.hpp", + "external/sources/boost/boost/fusion/include/all.hpp", + "external/sources/boost/boost/fusion/include/any.hpp", + "external/sources/boost/boost/fusion/include/array.hpp", + "external/sources/boost/boost/fusion/include/as_deque.hpp", + "external/sources/boost/boost/fusion/include/as_list.hpp", + "external/sources/boost/boost/fusion/include/as_map.hpp", + "external/sources/boost/boost/fusion/include/as_set.hpp", + "external/sources/boost/boost/fusion/include/as_vector.hpp", + "external/sources/boost/boost/fusion/include/at.hpp", + "external/sources/boost/boost/fusion/include/at_c.hpp", + "external/sources/boost/boost/fusion/include/at_key.hpp", + "external/sources/boost/boost/fusion/include/auxiliary.hpp", + "external/sources/boost/boost/fusion/include/back.hpp", + "external/sources/boost/boost/fusion/include/begin.hpp", + "external/sources/boost/boost/fusion/include/boost_array.hpp", + "external/sources/boost/boost/fusion/include/boost_tuple.hpp", + "external/sources/boost/boost/fusion/include/category_of.hpp", + "external/sources/boost/boost/fusion/include/clear.hpp", + "external/sources/boost/boost/fusion/include/comparison.hpp", + "external/sources/boost/boost/fusion/include/cons.hpp", + "external/sources/boost/boost/fusion/include/cons_tie.hpp", + "external/sources/boost/boost/fusion/include/container.hpp", + "external/sources/boost/boost/fusion/include/convert.hpp", + "external/sources/boost/boost/fusion/include/copy.hpp", + "external/sources/boost/boost/fusion/include/count.hpp", + "external/sources/boost/boost/fusion/include/count_if.hpp", + "external/sources/boost/boost/fusion/include/deduce.hpp", + "external/sources/boost/boost/fusion/include/deduce_sequence.hpp", + "external/sources/boost/boost/fusion/include/define_assoc_struct.hpp", + "external/sources/boost/boost/fusion/include/define_struct.hpp", + "external/sources/boost/boost/fusion/include/define_struct_inline.hpp", + "external/sources/boost/boost/fusion/include/deque.hpp", + "external/sources/boost/boost/fusion/include/deque_fwd.hpp", + "external/sources/boost/boost/fusion/include/deque_tie.hpp", + "external/sources/boost/boost/fusion/include/deref.hpp", + "external/sources/boost/boost/fusion/include/deref_data.hpp", + "external/sources/boost/boost/fusion/include/distance.hpp", + "external/sources/boost/boost/fusion/include/empty.hpp", + "external/sources/boost/boost/fusion/include/end.hpp", + "external/sources/boost/boost/fusion/include/equal_to.hpp", + "external/sources/boost/boost/fusion/include/erase.hpp", + "external/sources/boost/boost/fusion/include/erase_key.hpp", + "external/sources/boost/boost/fusion/include/filter.hpp", + "external/sources/boost/boost/fusion/include/filter_if.hpp", + "external/sources/boost/boost/fusion/include/filter_view.hpp", + "external/sources/boost/boost/fusion/include/find.hpp", + "external/sources/boost/boost/fusion/include/find_if.hpp", + "external/sources/boost/boost/fusion/include/flatten.hpp", + "external/sources/boost/boost/fusion/include/flatten_view.hpp", + "external/sources/boost/boost/fusion/include/fold.hpp", + "external/sources/boost/boost/fusion/include/for_each.hpp", + "external/sources/boost/boost/fusion/include/front.hpp", + "external/sources/boost/boost/fusion/include/functional.hpp", + "external/sources/boost/boost/fusion/include/fused.hpp", + "external/sources/boost/boost/fusion/include/fused_function_object.hpp", + "external/sources/boost/boost/fusion/include/fused_procedure.hpp", + "external/sources/boost/boost/fusion/include/generation.hpp", + "external/sources/boost/boost/fusion/include/greater.hpp", + "external/sources/boost/boost/fusion/include/greater_equal.hpp", + "external/sources/boost/boost/fusion/include/has_key.hpp", + "external/sources/boost/boost/fusion/include/hash.hpp", + "external/sources/boost/boost/fusion/include/ignore.hpp", + "external/sources/boost/boost/fusion/include/in.hpp", + "external/sources/boost/boost/fusion/include/insert.hpp", + "external/sources/boost/boost/fusion/include/insert_range.hpp", + "external/sources/boost/boost/fusion/include/intrinsic.hpp", + "external/sources/boost/boost/fusion/include/invocation.hpp", + "external/sources/boost/boost/fusion/include/invoke.hpp", + "external/sources/boost/boost/fusion/include/invoke_function_object.hpp", + "external/sources/boost/boost/fusion/include/invoke_procedure.hpp", + "external/sources/boost/boost/fusion/include/io.hpp", + "external/sources/boost/boost/fusion/include/is_iterator.hpp", + "external/sources/boost/boost/fusion/include/is_segmented.hpp", + "external/sources/boost/boost/fusion/include/is_sequence.hpp", + "external/sources/boost/boost/fusion/include/is_view.hpp", + "external/sources/boost/boost/fusion/include/iter_fold.hpp", + "external/sources/boost/boost/fusion/include/iteration.hpp", + "external/sources/boost/boost/fusion/include/iterator.hpp", + "external/sources/boost/boost/fusion/include/iterator_adapter.hpp", + "external/sources/boost/boost/fusion/include/iterator_base.hpp", + "external/sources/boost/boost/fusion/include/iterator_facade.hpp", + "external/sources/boost/boost/fusion/include/iterator_range.hpp", + "external/sources/boost/boost/fusion/include/join.hpp", + "external/sources/boost/boost/fusion/include/joint_view.hpp", + "external/sources/boost/boost/fusion/include/key_of.hpp", + "external/sources/boost/boost/fusion/include/less.hpp", + "external/sources/boost/boost/fusion/include/less_equal.hpp", + "external/sources/boost/boost/fusion/include/list.hpp", + "external/sources/boost/boost/fusion/include/list_fwd.hpp", + "external/sources/boost/boost/fusion/include/list_tie.hpp", + "external/sources/boost/boost/fusion/include/make_cons.hpp", + "external/sources/boost/boost/fusion/include/make_deque.hpp", + "external/sources/boost/boost/fusion/include/make_fused.hpp", + "external/sources/boost/boost/fusion/include/make_fused_function_object.hpp", + "external/sources/boost/boost/fusion/include/make_fused_procedure.hpp", + "external/sources/boost/boost/fusion/include/make_list.hpp", + "external/sources/boost/boost/fusion/include/make_map.hpp", + "external/sources/boost/boost/fusion/include/make_set.hpp", + "external/sources/boost/boost/fusion/include/make_tuple.hpp", + "external/sources/boost/boost/fusion/include/make_unfused.hpp", + "external/sources/boost/boost/fusion/include/make_vector.hpp", + "external/sources/boost/boost/fusion/include/map.hpp", + "external/sources/boost/boost/fusion/include/map_fwd.hpp", + "external/sources/boost/boost/fusion/include/map_tie.hpp", + "external/sources/boost/boost/fusion/include/move.hpp", + "external/sources/boost/boost/fusion/include/mpl.hpp", + "external/sources/boost/boost/fusion/include/next.hpp", + "external/sources/boost/boost/fusion/include/nil.hpp", + "external/sources/boost/boost/fusion/include/none.hpp", + "external/sources/boost/boost/fusion/include/not_equal_to.hpp", + "external/sources/boost/boost/fusion/include/nview.hpp", + "external/sources/boost/boost/fusion/include/out.hpp", + "external/sources/boost/boost/fusion/include/pair.hpp", + "external/sources/boost/boost/fusion/include/pair_tie.hpp", + "external/sources/boost/boost/fusion/include/pop_back.hpp", + "external/sources/boost/boost/fusion/include/pop_front.hpp", + "external/sources/boost/boost/fusion/include/prior.hpp", + "external/sources/boost/boost/fusion/include/proxy_type.hpp", + "external/sources/boost/boost/fusion/include/push_back.hpp", + "external/sources/boost/boost/fusion/include/push_front.hpp", + "external/sources/boost/boost/fusion/include/query.hpp", + "external/sources/boost/boost/fusion/include/remove.hpp", + "external/sources/boost/boost/fusion/include/remove_if.hpp", + "external/sources/boost/boost/fusion/include/repetitive_view.hpp", + "external/sources/boost/boost/fusion/include/replace.hpp", + "external/sources/boost/boost/fusion/include/replace_if.hpp", + "external/sources/boost/boost/fusion/include/reverse.hpp", + "external/sources/boost/boost/fusion/include/reverse_fold.hpp", + "external/sources/boost/boost/fusion/include/reverse_iter_fold.hpp", + "external/sources/boost/boost/fusion/include/reverse_view.hpp", + "external/sources/boost/boost/fusion/include/segmented_fold_until.hpp", + "external/sources/boost/boost/fusion/include/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/include/segments.hpp", + "external/sources/boost/boost/fusion/include/sequence.hpp", + "external/sources/boost/boost/fusion/include/sequence_base.hpp", + "external/sources/boost/boost/fusion/include/sequence_facade.hpp", + "external/sources/boost/boost/fusion/include/set.hpp", + "external/sources/boost/boost/fusion/include/set_fwd.hpp", + "external/sources/boost/boost/fusion/include/single_view.hpp", + "external/sources/boost/boost/fusion/include/size.hpp", + "external/sources/boost/boost/fusion/include/std_array.hpp", + "external/sources/boost/boost/fusion/include/std_pair.hpp", + "external/sources/boost/boost/fusion/include/std_tuple.hpp", + "external/sources/boost/boost/fusion/include/struct.hpp", + "external/sources/boost/boost/fusion/include/support.hpp", + "external/sources/boost/boost/fusion/include/swap.hpp", + "external/sources/boost/boost/fusion/include/tag_of.hpp", + "external/sources/boost/boost/fusion/include/tag_of_fwd.hpp", + "external/sources/boost/boost/fusion/include/transform.hpp", + "external/sources/boost/boost/fusion/include/transform_view.hpp", + "external/sources/boost/boost/fusion/include/transformation.hpp", + "external/sources/boost/boost/fusion/include/tuple.hpp", + "external/sources/boost/boost/fusion/include/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/include/tuple_tie.hpp", + "external/sources/boost/boost/fusion/include/unfused.hpp", + "external/sources/boost/boost/fusion/include/unfused_typed.hpp", + "external/sources/boost/boost/fusion/include/unused.hpp", + "external/sources/boost/boost/fusion/include/value_at.hpp", + "external/sources/boost/boost/fusion/include/value_at_key.hpp", + "external/sources/boost/boost/fusion/include/value_of.hpp", + "external/sources/boost/boost/fusion/include/value_of_data.hpp", + "external/sources/boost/boost/fusion/include/vector.hpp", + "external/sources/boost/boost/fusion/include/vector10.hpp", + "external/sources/boost/boost/fusion/include/vector20.hpp", + "external/sources/boost/boost/fusion/include/vector30.hpp", + "external/sources/boost/boost/fusion/include/vector40.hpp", + "external/sources/boost/boost/fusion/include/vector50.hpp", + "external/sources/boost/boost/fusion/include/vector_fwd.hpp", + "external/sources/boost/boost/fusion/include/vector_tie.hpp", + "external/sources/boost/boost/fusion/include/view.hpp", + "external/sources/boost/boost/fusion/include/void.hpp", + "external/sources/boost/boost/fusion/include/zip.hpp", + "external/sources/boost/boost/fusion/include/zip_view.hpp", + "external/sources/boost/boost/fusion/iterator.hpp", + "external/sources/boost/boost/fusion/iterator/advance.hpp", + "external/sources/boost/boost/fusion/iterator/basic_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/deref.hpp", + "external/sources/boost/boost/fusion/iterator/deref_data.hpp", + "external/sources/boost/boost/fusion/iterator/detail/adapt_deref_traits.hpp", + "external/sources/boost/boost/fusion/iterator/detail/adapt_value_traits.hpp", + "external/sources/boost/boost/fusion/iterator/detail/advance.hpp", + "external/sources/boost/boost/fusion/iterator/detail/distance.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segment_sequence.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_equal_to.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/detail/segmented_next_impl.hpp", + "external/sources/boost/boost/fusion/iterator/distance.hpp", + "external/sources/boost/boost/fusion/iterator/equal_to.hpp", + "external/sources/boost/boost/fusion/iterator/iterator_adapter.hpp", + "external/sources/boost/boost/fusion/iterator/iterator_facade.hpp", + "external/sources/boost/boost/fusion/iterator/key_of.hpp", + "external/sources/boost/boost/fusion/iterator/mpl.hpp", + "external/sources/boost/boost/fusion/iterator/mpl/convert_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/mpl/fusion_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/next.hpp", + "external/sources/boost/boost/fusion/iterator/prior.hpp", + "external/sources/boost/boost/fusion/iterator/segmented_iterator.hpp", + "external/sources/boost/boost/fusion/iterator/value_of.hpp", + "external/sources/boost/boost/fusion/iterator/value_of_data.hpp", + "external/sources/boost/boost/fusion/mpl.hpp", + "external/sources/boost/boost/fusion/mpl/at.hpp", + "external/sources/boost/boost/fusion/mpl/back.hpp", + "external/sources/boost/boost/fusion/mpl/begin.hpp", + "external/sources/boost/boost/fusion/mpl/clear.hpp", + "external/sources/boost/boost/fusion/mpl/detail/clear.hpp", + "external/sources/boost/boost/fusion/mpl/empty.hpp", + "external/sources/boost/boost/fusion/mpl/end.hpp", + "external/sources/boost/boost/fusion/mpl/erase.hpp", + "external/sources/boost/boost/fusion/mpl/erase_key.hpp", + "external/sources/boost/boost/fusion/mpl/front.hpp", + "external/sources/boost/boost/fusion/mpl/has_key.hpp", + "external/sources/boost/boost/fusion/mpl/insert.hpp", + "external/sources/boost/boost/fusion/mpl/insert_range.hpp", + "external/sources/boost/boost/fusion/mpl/pop_back.hpp", + "external/sources/boost/boost/fusion/mpl/pop_front.hpp", + "external/sources/boost/boost/fusion/mpl/push_back.hpp", + "external/sources/boost/boost/fusion/mpl/push_front.hpp", + "external/sources/boost/boost/fusion/mpl/size.hpp", + "external/sources/boost/boost/fusion/sequence.hpp", + "external/sources/boost/boost/fusion/sequence/comparison.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/greater.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/greater_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/less.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/less_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/detail/not_equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/enable_comparison.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/greater.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/greater_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/less.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/less_equal.hpp", + "external/sources/boost/boost/fusion/sequence/comparison/not_equal_to.hpp", + "external/sources/boost/boost/fusion/sequence/convert.hpp", + "external/sources/boost/boost/fusion/sequence/hash.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at_c.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/at_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/back.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/begin.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_size.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/empty.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/end.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/front.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/has_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/segments.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/size.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/swap.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/value_at.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic/value_at_key.hpp", + "external/sources/boost/boost/fusion/sequence/intrinsic_fwd.hpp", + "external/sources/boost/boost/fusion/sequence/io.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/in.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/manip.hpp", + "external/sources/boost/boost/fusion/sequence/io/detail/out.hpp", + "external/sources/boost/boost/fusion/sequence/io/in.hpp", + "external/sources/boost/boost/fusion/sequence/io/out.hpp", + "external/sources/boost/boost/fusion/sequence/sequence_facade.hpp", + "external/sources/boost/boost/fusion/support.hpp", + "external/sources/boost/boost/fusion/support/as_const.hpp", + "external/sources/boost/boost/fusion/support/category_of.hpp", + "external/sources/boost/boost/fusion/support/config.hpp", + "external/sources/boost/boost/fusion/support/deduce.hpp", + "external/sources/boost/boost/fusion/support/deduce_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/access.hpp", + "external/sources/boost/boost/fusion/support/detail/and.hpp", + "external/sources/boost/boost/fusion/support/detail/as_fusion_element.hpp", + "external/sources/boost/boost/fusion/support/detail/enabler.hpp", + "external/sources/boost/boost/fusion/support/detail/index_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_mpl_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_native_fusion_sequence.hpp", + "external/sources/boost/boost/fusion/support/detail/is_same_size.hpp", + "external/sources/boost/boost/fusion/support/detail/mpl_iterator_category.hpp", + "external/sources/boost/boost/fusion/support/detail/pp_round.hpp", + "external/sources/boost/boost/fusion/support/detail/segmented_fold_until_impl.hpp", + "external/sources/boost/boost/fusion/support/is_iterator.hpp", + "external/sources/boost/boost/fusion/support/is_segmented.hpp", + "external/sources/boost/boost/fusion/support/is_sequence.hpp", + "external/sources/boost/boost/fusion/support/is_view.hpp", + "external/sources/boost/boost/fusion/support/iterator_base.hpp", + "external/sources/boost/boost/fusion/support/pair.hpp", + "external/sources/boost/boost/fusion/support/segmented_fold_until.hpp", + "external/sources/boost/boost/fusion/support/sequence_base.hpp", + "external/sources/boost/boost/fusion/support/tag_of.hpp", + "external/sources/boost/boost/fusion/support/tag_of_fwd.hpp", + "external/sources/boost/boost/fusion/support/unused.hpp", + "external/sources/boost/boost/fusion/support/void.hpp", + "external/sources/boost/boost/fusion/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie10.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie20.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie30.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie40.hpp", + "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie50.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_expand.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/detail/tuple_tie.hpp", + "external/sources/boost/boost/fusion/tuple/make_tuple.hpp", + "external/sources/boost/boost/fusion/tuple/tuple.hpp", + "external/sources/boost/boost/fusion/tuple/tuple_fwd.hpp", + "external/sources/boost/boost/fusion/tuple/tuple_tie.hpp", + "external/sources/boost/boost/fusion/view.hpp", + "external/sources/boost/boost/fusion/view/detail/strictest_traversal.hpp", + "external/sources/boost/boost/fusion/view/filter_view.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/filter_view/filter_view.hpp", + "external/sources/boost/boost/fusion/view/filter_view/filter_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/flatten_view.hpp", + "external/sources/boost/boost/fusion/view/flatten_view/flatten_view.hpp", + "external/sources/boost/boost/fusion/view/flatten_view/flatten_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/iterator_range.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/is_segmented_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/segments_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/iterator_range/iterator_range.hpp", + "external/sources/boost/boost/fusion/view/joint_view.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/joint_view/joint_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/nview.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/cpp03/nview_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/nview_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/nview/nview.hpp", + "external/sources/boost/boost/fusion/view/nview/nview_iterator.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/reverse_view.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/key_of_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/reverse_view.hpp", + "external/sources/boost/boost/fusion/view/reverse_view/reverse_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/single_view.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/single_view/single_view.hpp", + "external/sources/boost/boost/fusion/view/single_view/single_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/transform_view.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view_fwd.hpp", + "external/sources/boost/boost/fusion/view/transform_view/transform_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/zip_view.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/advance_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/at_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/begin_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/deref_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/distance_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/end_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/equal_to_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/next_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/prior_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/size_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/value_at_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/detail/value_of_impl.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator.hpp", + "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp", + "external/sources/boost/boost/generator_iterator.hpp", + "external/sources/boost/boost/geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/append.hpp", + "external/sources/boost/boost/geometry/algorithms/area.hpp", + "external/sources/boost/boost/geometry/algorithms/assign.hpp", + "external/sources/boost/boost/geometry/algorithms/buffer.hpp", + "external/sources/boost/boost/geometry/algorithms/centroid.hpp", + "external/sources/boost/boost/geometry/algorithms/clear.hpp", + "external/sources/boost/boost/geometry/algorithms/comparable_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/convert.hpp", + "external/sources/boost/boost/geometry/algorithms/convex_hull.hpp", + "external/sources/boost/boost/geometry/algorithms/correct.hpp", + "external/sources/boost/boost/geometry/algorithms/correct_closure.hpp", + "external/sources/boost/boost/geometry/algorithms/covered_by.hpp", + "external/sources/boost/boost/geometry/algorithms/crosses.hpp", + "external/sources/boost/boost/geometry/algorithms/densify.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/as_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_box_corners.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_indexed_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/assign_values.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/azimuth.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_policies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/line_line_intersection.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/piece_border.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_original_visitor.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_null.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_point_order.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/calculate_sum.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/centroid/translating_transformer.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/check_iterator_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/geometry_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/point_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/convert_indexed_to_indexed.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/convert_point_to_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/counting.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/course.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/covered_by/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/covered_by/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/direction_code.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_segment_or_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multipoint_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multirange_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/disjoint/segment_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/backward_compatibility.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/box_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/default_strategies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/geometry_to_segment_or_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/is_comparable.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/iterator_selector.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_or_areal_to_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/multipoint_to_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/initialize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/intersects_antimeridian.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/multipoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/range_of_boxes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/envelope/transform_units.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/collect_vectors.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/equals/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/indexed.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/expand_by_epsilon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/extreme_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/for_each_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/get_max_size.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/has_self_intersections.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/interior_iterator.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersection/multi.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersects/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/intersects/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/always_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/failure_policy.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_simple/multipoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_complement_graph.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_print_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_validity_phase.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_duplicates.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_invalid_coordinate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_valid_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/multipolygon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/pointlike.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/polygon.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/is_valid/segment.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/make/make.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/max_interval_gap.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_modify.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/multi_sum.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/normalize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/not.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/num_distinct_consecutive_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlaps/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlaps/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/add_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_duplicates.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/assign_parents.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/backtrack_check_si.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/check_enrich.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/clip_linestring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_exits.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/convert_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segments.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/debug_turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/do_reverse.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow_linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_distance_measure.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_relative_order.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_ring.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/less_by_segment_ratio.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/needs_self_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay_type.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_pointlike.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/range_in_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/ring_properties.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_as_subrange.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_identifier.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/select_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/self_turn_points.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/sort_by_side.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/stream_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_ring_creator.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_switch_detector.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/traverse.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/turn_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/overlay/visit_info.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/partition.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/point_is_spike_or_equal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/point_on_border.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/recalculate.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/areal_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/boundary_checker.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/de9im.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/follow_helpers.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_areal.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_linear.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/multi_point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/point_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/point_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/relate_impl.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/result.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/topology_check.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relate/turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relation/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/relation/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/ring_identifier.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/range_by_section.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/section_box_policies.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/section_functions.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sections/sectionalize.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/signed_size_type.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/single_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sub_range.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/sweep.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/throw_on_empty_input.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/touches/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/touches/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/tupled_output.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/compare_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/debug_turn.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/filter_continue_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/print_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/turns/remove_duplicate_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/implementation.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/interface.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/multi_point.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/point_in_geometry.hpp", + "external/sources/boost/boost/geometry/algorithms/detail/within/within_no_turns.hpp", + "external/sources/boost/boost/geometry/algorithms/difference.hpp", + "external/sources/boost/boost/geometry/algorithms/discrete_frechet_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/discrete_hausdorff_distance.hpp", + "external/sources/boost/boost/geometry/algorithms/disjoint.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/disjoint.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/distance.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/envelope.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/expand.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/is_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/dispatch/is_valid.hpp", + "external/sources/boost/boost/geometry/algorithms/distance.hpp", + "external/sources/boost/boost/geometry/algorithms/envelope.hpp", + "external/sources/boost/boost/geometry/algorithms/equals.hpp", + "external/sources/boost/boost/geometry/algorithms/expand.hpp", + "external/sources/boost/boost/geometry/algorithms/for_each.hpp", + "external/sources/boost/boost/geometry/algorithms/intersection.hpp", + "external/sources/boost/boost/geometry/algorithms/intersects.hpp", + "external/sources/boost/boost/geometry/algorithms/is_convex.hpp", + "external/sources/boost/boost/geometry/algorithms/is_empty.hpp", + "external/sources/boost/boost/geometry/algorithms/is_simple.hpp", + "external/sources/boost/boost/geometry/algorithms/is_valid.hpp", + "external/sources/boost/boost/geometry/algorithms/length.hpp", + "external/sources/boost/boost/geometry/algorithms/line_interpolate.hpp", + "external/sources/boost/boost/geometry/algorithms/make.hpp", + "external/sources/boost/boost/geometry/algorithms/not_implemented.hpp", + "external/sources/boost/boost/geometry/algorithms/num_geometries.hpp", + "external/sources/boost/boost/geometry/algorithms/num_interior_rings.hpp", + "external/sources/boost/boost/geometry/algorithms/num_points.hpp", + "external/sources/boost/boost/geometry/algorithms/num_segments.hpp", + "external/sources/boost/boost/geometry/algorithms/overlaps.hpp", + "external/sources/boost/boost/geometry/algorithms/perimeter.hpp", + "external/sources/boost/boost/geometry/algorithms/point_on_surface.hpp", + "external/sources/boost/boost/geometry/algorithms/relate.hpp", + "external/sources/boost/boost/geometry/algorithms/relation.hpp", + "external/sources/boost/boost/geometry/algorithms/remove_spikes.hpp", + "external/sources/boost/boost/geometry/algorithms/reverse.hpp", + "external/sources/boost/boost/geometry/algorithms/simplify.hpp", + "external/sources/boost/boost/geometry/algorithms/sym_difference.hpp", + "external/sources/boost/boost/geometry/algorithms/touches.hpp", + "external/sources/boost/boost/geometry/algorithms/transform.hpp", + "external/sources/boost/boost/geometry/algorithms/union.hpp", + "external/sources/boost/boost/geometry/algorithms/unique.hpp", + "external/sources/boost/boost/geometry/algorithms/validity_failure_type.hpp", + "external/sources/boost/boost/geometry/algorithms/within.hpp", + "external/sources/boost/boost/geometry/arithmetic/arithmetic.hpp", + "external/sources/boost/boost/geometry/arithmetic/cross_product.hpp", + "external/sources/boost/boost/geometry/arithmetic/determinant.hpp", + "external/sources/boost/boost/geometry/arithmetic/dot_product.hpp", + "external/sources/boost/boost/geometry/arithmetic/infinite_line_functions.hpp", + "external/sources/boost/boost/geometry/arithmetic/normalize.hpp", + "external/sources/boost/boost/geometry/core/access.hpp", + "external/sources/boost/boost/geometry/core/assert.hpp", + "external/sources/boost/boost/geometry/core/closure.hpp", + "external/sources/boost/boost/geometry/core/config.hpp", + "external/sources/boost/boost/geometry/core/coordinate_dimension.hpp", + "external/sources/boost/boost/geometry/core/coordinate_system.hpp", + "external/sources/boost/boost/geometry/core/coordinate_type.hpp", + "external/sources/boost/boost/geometry/core/cs.hpp", + "external/sources/boost/boost/geometry/core/exception.hpp", + "external/sources/boost/boost/geometry/core/exterior_ring.hpp", + "external/sources/boost/boost/geometry/core/geometry_id.hpp", + "external/sources/boost/boost/geometry/core/interior_rings.hpp", + "external/sources/boost/boost/geometry/core/interior_type.hpp", + "external/sources/boost/boost/geometry/core/is_areal.hpp", + "external/sources/boost/boost/geometry/core/mutable_range.hpp", + "external/sources/boost/boost/geometry/core/point_order.hpp", + "external/sources/boost/boost/geometry/core/point_type.hpp", + "external/sources/boost/boost/geometry/core/radian_access.hpp", + "external/sources/boost/boost/geometry/core/radius.hpp", + "external/sources/boost/boost/geometry/core/reverse_dispatch.hpp", + "external/sources/boost/boost/geometry/core/ring_type.hpp", + "external/sources/boost/boost/geometry/core/tag.hpp", + "external/sources/boost/boost/geometry/core/tag_cast.hpp", + "external/sources/boost/boost/geometry/core/tags.hpp", + "external/sources/boost/boost/geometry/core/topological_dimension.hpp", + "external/sources/boost/boost/geometry/formulas/andoyer_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/area_formulas.hpp", + "external/sources/boost/boost/geometry/formulas/authalic_radius_sqr.hpp", + "external/sources/boost/boost/geometry/formulas/differential_quantities.hpp", + "external/sources/boost/boost/geometry/formulas/eccentricity_sqr.hpp", + "external/sources/boost/boost/geometry/formulas/flattening.hpp", + "external/sources/boost/boost/geometry/formulas/geographic.hpp", + "external/sources/boost/boost/geometry/formulas/gnomonic_intersection.hpp", + "external/sources/boost/boost/geometry/formulas/gnomonic_spheroid.hpp", + "external/sources/boost/boost/geometry/formulas/interpolate_point_spherical.hpp", + "external/sources/boost/boost/geometry/formulas/karney_direct.hpp", + "external/sources/boost/boost/geometry/formulas/karney_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/mean_radius.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_direct.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/meridian_segment.hpp", + "external/sources/boost/boost/geometry/formulas/quarter_meridian.hpp", + "external/sources/boost/boost/geometry/formulas/result_direct.hpp", + "external/sources/boost/boost/geometry/formulas/result_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/sjoberg_intersection.hpp", + "external/sources/boost/boost/geometry/formulas/spherical.hpp", + "external/sources/boost/boost/geometry/formulas/thomas_direct.hpp", + "external/sources/boost/boost/geometry/formulas/thomas_inverse.hpp", + "external/sources/boost/boost/geometry/formulas/unit_spheroid.hpp", + "external/sources/boost/boost/geometry/formulas/vertex_latitude.hpp", + "external/sources/boost/boost/geometry/formulas/vertex_longitude.hpp", + "external/sources/boost/boost/geometry/formulas/vincenty_direct.hpp", + "external/sources/boost/boost/geometry/formulas/vincenty_inverse.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_fusion.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/box.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/hole_iterator.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/holes_proxy.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/point.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring_proxy.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/adjacent_filtered.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/filtered.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/reversed.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/sliced.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/strided.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_range/uniqued.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/boost_tuple.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/c_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/std_array.hpp", + "external/sources/boost/boost/geometry/geometries/adapted/std_pair_as_segment.hpp", + "external/sources/boost/boost/geometry/geometries/box.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/box_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/check.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/linestring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_linestring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_point_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/multi_polygon_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/point_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/polygon_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/ring_concept.hpp", + "external/sources/boost/boost/geometry/geometries/concepts/segment_concept.hpp", + "external/sources/boost/boost/geometry/geometries/geometries.hpp", + "external/sources/boost/boost/geometry/geometries/helper_geometry.hpp", + "external/sources/boost/boost/geometry/geometries/infinite_line.hpp", + "external/sources/boost/boost/geometry/geometries/linestring.hpp", + "external/sources/boost/boost/geometry/geometries/multi_linestring.hpp", + "external/sources/boost/boost/geometry/geometries/multi_point.hpp", + "external/sources/boost/boost/geometry/geometries/multi_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/point.hpp", + "external/sources/boost/boost/geometry/geometries/point_xy.hpp", + "external/sources/boost/boost/geometry/geometries/point_xyz.hpp", + "external/sources/boost/boost/geometry/geometries/pointing_segment.hpp", + "external/sources/boost/boost/geometry/geometries/polygon.hpp", + "external/sources/boost/boost/geometry/geometries/register/box.hpp", + "external/sources/boost/boost/geometry/geometries/register/linestring.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_linestring.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_point.hpp", + "external/sources/boost/boost/geometry/geometries/register/multi_polygon.hpp", + "external/sources/boost/boost/geometry/geometries/register/point.hpp", + "external/sources/boost/boost/geometry/geometries/register/ring.hpp", + "external/sources/boost/boost/geometry/geometries/register/segment.hpp", + "external/sources/boost/boost/geometry/geometries/ring.hpp", + "external/sources/boost/boost/geometry/geometries/segment.hpp", + "external/sources/boost/boost/geometry/geometries/variant.hpp", + "external/sources/boost/boost/geometry/geometry.hpp", + "external/sources/boost/boost/geometry/index/adaptors/query.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/bounds.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_centroid.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_far.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_near.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/content.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/diff_abs.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/intersection_content.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/is_valid.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/margin.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/minmaxdist.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/nth_element.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/path_intersection.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/segment_intersection.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/smallest_for_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/sum_for_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/algorithms/union_content.hpp", + "external/sources/boost/boost/geometry/index/detail/assert.hpp", + "external/sources/boost/boost/geometry/index/detail/bounded_view.hpp", + "external/sources/boost/boost/geometry/index/detail/config_begin.hpp", + "external/sources/boost/boost/geometry/index/detail/config_end.hpp", + "external/sources/boost/boost/geometry/index/detail/distance_predicates.hpp", + "external/sources/boost/boost/geometry/index/detail/exception.hpp", + "external/sources/boost/boost/geometry/index/detail/is_bounding_geometry.hpp", + "external/sources/boost/boost/geometry/index/detail/is_indexable.hpp", + "external/sources/boost/boost/geometry/index/detail/meta.hpp", + "external/sources/boost/boost/geometry/index/detail/predicates.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/adaptors.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/iterators.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/kmeans.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/split.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/linear/linear.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/linear/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/concept.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/node.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/node_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/pairs.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/scoped_deallocator.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/subtree_destroyer.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_dynamic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_static.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_visitor.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_static.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_visitor.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/options.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/pack_create.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/quadratic.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/query_iterators.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/insert.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/redistribute_elements.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/rstar/rstar.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_boxes_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_counts_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_levels_ok.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/print.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/statistics.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/utilities/view.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/children_box.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/copy.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/count.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/destroy.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/distance_query.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/insert.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/iterator.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/remove.hpp", + "external/sources/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp", + "external/sources/boost/boost/geometry/index/detail/serialization.hpp", + "external/sources/boost/boost/geometry/index/detail/tags.hpp", + "external/sources/boost/boost/geometry/index/detail/translator.hpp", + "external/sources/boost/boost/geometry/index/detail/utilities.hpp", + "external/sources/boost/boost/geometry/index/detail/varray.hpp", + "external/sources/boost/boost/geometry/index/detail/varray_detail.hpp", + "external/sources/boost/boost/geometry/index/distance_predicates.hpp", + "external/sources/boost/boost/geometry/index/equal_to.hpp", + "external/sources/boost/boost/geometry/index/indexable.hpp", + "external/sources/boost/boost/geometry/index/inserter.hpp", + "external/sources/boost/boost/geometry/index/parameters.hpp", + "external/sources/boost/boost/geometry/index/predicates.hpp", + "external/sources/boost/boost/geometry/index/rtree.hpp", + "external/sources/boost/boost/geometry/io/dsv/write.hpp", + "external/sources/boost/boost/geometry/io/io.hpp", + "external/sources/boost/boost/geometry/io/svg/svg_mapper.hpp", + "external/sources/boost/boost/geometry/io/svg/write.hpp", + "external/sources/boost/boost/geometry/io/svg/write_svg.hpp", + "external/sources/boost/boost/geometry/io/svg/write_svg_multi.hpp", + "external/sources/boost/boost/geometry/io/wkt/detail/prefix.hpp", + "external/sources/boost/boost/geometry/io/wkt/detail/wkt_multi.hpp", + "external/sources/boost/boost/geometry/io/wkt/read.hpp", + "external/sources/boost/boost/geometry/io/wkt/stream.hpp", + "external/sources/boost/boost/geometry/io/wkt/wkt.hpp", + "external/sources/boost/boost/geometry/io/wkt/write.hpp", + "external/sources/boost/boost/geometry/iterators/base.hpp", + "external/sources/boost/boost/geometry/iterators/closing_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/concatenate_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/inner_range_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/iterator_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/point_iterator/value_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/iterator_type.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/range_segment_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/value_type.hpp", + "external/sources/boost/boost/geometry/iterators/dispatch/point_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/dispatch/segment_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/ever_circling_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/flatten_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/has_one_element.hpp", + "external/sources/boost/boost/geometry/iterators/point_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/point_reverse_iterator.hpp", + "external/sources/boost/boost/geometry/iterators/segment_iterator.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/append.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/area.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/centroid.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/clear.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/convert.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/correct.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/covered_by.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/extreme_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/for_each_range.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/modify.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/multi_sum.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segment_point.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segments.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_ring.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_turns.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/self_turn_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/point_on_border.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/range_by_section.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/sectionalize.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/disjoint.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/distance.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/envelope.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/equals.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/for_each.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/intersection.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/length.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_geometries.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_interior_rings.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/num_points.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/perimeter.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/remove_spikes.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/reverse.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/simplify.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/transform.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/unique.hpp", + "external/sources/boost/boost/geometry/multi/algorithms/within.hpp", + "external/sources/boost/boost/geometry/multi/core/closure.hpp", + "external/sources/boost/boost/geometry/multi/core/geometry_id.hpp", + "external/sources/boost/boost/geometry/multi/core/interior_rings.hpp", + "external/sources/boost/boost/geometry/multi/core/is_areal.hpp", + "external/sources/boost/boost/geometry/multi/core/point_order.hpp", + "external/sources/boost/boost/geometry/multi/core/point_type.hpp", + "external/sources/boost/boost/geometry/multi/core/ring_type.hpp", + "external/sources/boost/boost/geometry/multi/core/tags.hpp", + "external/sources/boost/boost/geometry/multi/core/topological_dimension.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/check.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_point_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_polygon_concept.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_geometries.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_linestring.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_point.hpp", + "external/sources/boost/boost/geometry/multi/geometries/multi_polygon.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_linestring.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_point.hpp", + "external/sources/boost/boost/geometry/multi/geometries/register/multi_polygon.hpp", + "external/sources/boost/boost/geometry/multi/io/dsv/write.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/detail/prefix.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/read.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/wkt.hpp", + "external/sources/boost/boost/geometry/multi/io/wkt/write.hpp", + "external/sources/boost/boost/geometry/multi/multi.hpp", + "external/sources/boost/boost/geometry/multi/strategies/cartesian/centroid_average.hpp", + "external/sources/boost/boost/geometry/multi/views/detail/range_type.hpp", + "external/sources/boost/boost/geometry/policies/compare.hpp", + "external/sources/boost/boost/geometry/policies/disjoint_interrupt_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/default_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/failing_reason_policy.hpp", + "external/sources/boost/boost/geometry/policies/is_valid/failure_type_policy.hpp", + "external/sources/boost/boost/geometry/policies/predicate_based_interrupt_policy.hpp", + "external/sources/boost/boost/geometry/policies/relate/direction.hpp", + "external/sources/boost/boost/geometry/policies/relate/intersection_points.hpp", + "external/sources/boost/boost/geometry/policies/relate/intersection_ratios.hpp", + "external/sources/boost/boost/geometry/policies/relate/tupled.hpp", + "external/sources/boost/boost/geometry/policies/robustness/get_rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/no_rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/rescale_policy.hpp", + "external/sources/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp", + "external/sources/boost/boost/geometry/policies/robustness/robust_point_type.hpp", + "external/sources/boost/boost/geometry/policies/robustness/robust_type.hpp", + "external/sources/boost/boost/geometry/policies/robustness/segment_ratio.hpp", + "external/sources/boost/boost/geometry/policies/robustness/segment_ratio_type.hpp", + "external/sources/boost/boost/geometry/srs/epsg.hpp", + "external/sources/boost/boost/geometry/srs/esri.hpp", + "external/sources/boost/boost/geometry/srs/iau2000.hpp", + "external/sources/boost/boost/geometry/srs/projection.hpp", + "external/sources/boost/boost/geometry/srs/projections/code.hpp", + "external/sources/boost/boost/geometry/srs/projections/constants.hpp", + "external/sources/boost/boost/geometry/srs/projections/dpar.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/epsg_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/esri_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/exception.hpp", + "external/sources/boost/boost/geometry/srs/projections/factory.hpp", + "external/sources/boost/boost/geometry/srs/projections/grids.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000_params.hpp", + "external/sources/boost/boost/geometry/srs/projections/iau2000_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/aasincos.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/adjlon.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/base_dynamic.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/base_static.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/dms_parser.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/factory_entry.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/function_overloads.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/geocent.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_apply_gridshift.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_auth.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_datum_set.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_datums.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_ell_set.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_ellps.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_fwd.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gauss.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridinfo.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridlist.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_init.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_inv.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_mlfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_msfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_param.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_phi2.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_qsfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_strerrno.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_transform.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_tsfn.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_units.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/pj_zpoly1.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/proj_mdist.hpp", + "external/sources/boost/boost/geometry/srs/projections/impl/projects.hpp", + "external/sources/boost/boost/geometry/srs/projections/invalid_point.hpp", + "external/sources/boost/boost/geometry/srs/projections/par_data.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aeqd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/airy.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/aitoff.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/august.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bacon.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bipc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/boggs.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/bonne.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cass.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/cea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/chamb.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/collg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/crast.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/denoy.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck1.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck4.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eck5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eqc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/eqdc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/etmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/fahey.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/fouc_s.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gall.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/geocent.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/geos.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gins8.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gn_sinu.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gnom.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/goode.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/gstmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/hammer.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/hatano.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/healpix.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/igh.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/imw_p.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/isea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/krovak.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/labrd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/laea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lagrng.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/larr.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lask.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/latlong.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lcc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lcca.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/loxim.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/lsat.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbt_fps.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpp.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpq.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/merc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mill.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/mod_ster.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/moll.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/natearth.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nell.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nell_h.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nocol.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nsper.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/nzmg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ob_tran.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ocea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/oea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/omerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/ortho.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/poly.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp4p.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/putp6.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/qsc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/robin.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/rouss.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/rpoly.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sconics.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/somerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/stere.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sterea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/sts.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tcc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tcea.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tmerc.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/tpeqd.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/urm5.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/urmfps.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/vandg4.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag3.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wag7.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wink1.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj/wink2.hpp", + "external/sources/boost/boost/geometry/srs/projections/proj4.hpp", + "external/sources/boost/boost/geometry/srs/projections/spar.hpp", + "external/sources/boost/boost/geometry/srs/projections/srid_traits.hpp", + "external/sources/boost/boost/geometry/srs/projections/str_cast.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids_boost.hpp", + "external/sources/boost/boost/geometry/srs/shared_grids_std.hpp", + "external/sources/boost/boost/geometry/srs/sphere.hpp", + "external/sources/boost/boost/geometry/srs/spheroid.hpp", + "external/sources/boost/boost/geometry/srs/srs.hpp", + "external/sources/boost/boost/geometry/srs/transformation.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/hull_graham_andrew.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_box_by_side.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_oriented_winding.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp", + "external/sources/boost/boost/geometry/strategies/area.hpp", + "external/sources/boost/boost/geometry/strategies/area_result.hpp", + "external/sources/boost/boost/geometry/strategies/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/buffer.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/area.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/area_surveyor.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/box_in_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_flat.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_round.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_miter.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round_by_divide.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_circle.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_square.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/buffer_side_straight.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_average.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/densify.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point_ax.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_multipoint.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/index.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/io.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_box.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_franklin.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/side_by_triangle.hpp", + "external/sources/boost/boost/geometry/strategies/cartesian/turn_in_ring_winding.hpp", + "external/sources/boost/boost/geometry/strategies/centroid.hpp", + "external/sources/boost/boost/geometry/strategies/comparable_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/compare.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/area_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/centroid_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/convex_hull_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/distance_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/segment_intersect_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/simplify_concept.hpp", + "external/sources/boost/boost/geometry/strategies/concepts/within_concept.hpp", + "external/sources/boost/boost/geometry/strategies/convex_hull.hpp", + "external/sources/boost/boost/geometry/strategies/covered_by.hpp", + "external/sources/boost/boost/geometry/strategies/default_area_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_comparable_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_length_result.hpp", + "external/sources/boost/boost/geometry/strategies/default_strategy.hpp", + "external/sources/boost/boost/geometry/strategies/densify.hpp", + "external/sources/boost/boost/geometry/strategies/disjoint.hpp", + "external/sources/boost/boost/geometry/strategies/distance.hpp", + "external/sources/boost/boost/geometry/strategies/distance_result.hpp", + "external/sources/boost/boost/geometry/strategies/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/expand.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/area.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/buffer_point_circle.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/densify.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_andoyer.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_karney.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_thomas.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/distance_vincenty.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/index.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/intersection_elliptic.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/io.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/mapping_ssf.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/parameters.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_andoyer.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_thomas.hpp", + "external/sources/boost/boost/geometry/strategies/geographic/side_vincenty.hpp", + "external/sources/boost/boost/geometry/strategies/index.hpp", + "external/sources/boost/boost/geometry/strategies/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/intersection_result.hpp", + "external/sources/boost/boost/geometry/strategies/intersection_strategies.hpp", + "external/sources/boost/boost/geometry/strategies/io.hpp", + "external/sources/boost/boost/geometry/strategies/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/normalize.hpp", + "external/sources/boost/boost/geometry/strategies/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/relate.hpp", + "external/sources/boost/boost/geometry/strategies/side.hpp", + "external/sources/boost/boost/geometry/strategies/side_info.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/area.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/azimuth.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/compare.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/densify.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/disjoint_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/disjoint_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_box_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_haversine.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/distance_segment_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_multipoint.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/envelope_segment.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_box.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/expand_segment.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/get_radius.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/index.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/intersection.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/io.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/line_interpolate.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_in_point.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_in_poly_winding.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/point_order.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/side_by_cross_track.hpp", + "external/sources/boost/boost/geometry/strategies/spherical/ssf.hpp", + "external/sources/boost/boost/geometry/strategies/strategies.hpp", + "external/sources/boost/boost/geometry/strategies/strategy_transform.hpp", + "external/sources/boost/boost/geometry/strategies/tags.hpp", + "external/sources/boost/boost/geometry/strategies/transform.hpp", + "external/sources/boost/boost/geometry/strategies/transform/inverse_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/transform/map_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/transform/matrix_transformers.hpp", + "external/sources/boost/boost/geometry/strategies/transform/srs_transformer.hpp", + "external/sources/boost/boost/geometry/strategies/within.hpp", + "external/sources/boost/boost/geometry/util/add_const_if_c.hpp", + "external/sources/boost/boost/geometry/util/bare_type.hpp", + "external/sources/boost/boost/geometry/util/calculation_type.hpp", + "external/sources/boost/boost/geometry/util/closure_as_bool.hpp", + "external/sources/boost/boost/geometry/util/combine_if.hpp", + "external/sources/boost/boost/geometry/util/compress_variant.hpp", + "external/sources/boost/boost/geometry/util/condition.hpp", + "external/sources/boost/boost/geometry/util/coordinate_cast.hpp", + "external/sources/boost/boost/geometry/util/for_each_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_infinite_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_nan_coordinate.hpp", + "external/sources/boost/boost/geometry/util/has_non_finite_coordinate.hpp", + "external/sources/boost/boost/geometry/util/is_inverse_spheroidal_coordinates.hpp", + "external/sources/boost/boost/geometry/util/math.hpp", + "external/sources/boost/boost/geometry/util/normalize_spheroidal_box_coordinates.hpp", + "external/sources/boost/boost/geometry/util/normalize_spheroidal_coordinates.hpp", + "external/sources/boost/boost/geometry/util/order_as_direction.hpp", + "external/sources/boost/boost/geometry/util/parameter_type_of.hpp", + "external/sources/boost/boost/geometry/util/promote_floating_point.hpp", + "external/sources/boost/boost/geometry/util/promote_integral.hpp", + "external/sources/boost/boost/geometry/util/range.hpp", + "external/sources/boost/boost/geometry/util/rational.hpp", + "external/sources/boost/boost/geometry/util/readme.txt", + "external/sources/boost/boost/geometry/util/select_calculation_type.hpp", + "external/sources/boost/boost/geometry/util/select_coordinate_type.hpp", + "external/sources/boost/boost/geometry/util/select_most_precise.hpp", + "external/sources/boost/boost/geometry/util/select_sequence_element.hpp", + "external/sources/boost/boost/geometry/util/series_expansion.hpp", + "external/sources/boost/boost/geometry/util/transform_variant.hpp", + "external/sources/boost/boost/geometry/util/tuples.hpp", + "external/sources/boost/boost/geometry/views/box_view.hpp", + "external/sources/boost/boost/geometry/views/closeable_view.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view/implementation.hpp", + "external/sources/boost/boost/geometry/views/detail/boundary_view/interface.hpp", + "external/sources/boost/boost/geometry/views/detail/indexed_point_view.hpp", + "external/sources/boost/boost/geometry/views/detail/normalized_view.hpp", + "external/sources/boost/boost/geometry/views/detail/points_view.hpp", + "external/sources/boost/boost/geometry/views/detail/range_type.hpp", + "external/sources/boost/boost/geometry/views/detail/two_dimensional_view.hpp", + "external/sources/boost/boost/geometry/views/identity_view.hpp", + "external/sources/boost/boost/geometry/views/reversible_view.hpp", + "external/sources/boost/boost/geometry/views/segment_view.hpp", + "external/sources/boost/boost/get_pointer.hpp", + "external/sources/boost/boost/gil.hpp", + "external/sources/boost/boost/gil/algorithm.hpp", + "external/sources/boost/boost/gil/bit_aligned_pixel_iterator.hpp", + "external/sources/boost/boost/gil/bit_aligned_pixel_reference.hpp", + "external/sources/boost/boost/gil/channel.hpp", + "external/sources/boost/boost/gil/channel_algorithm.hpp", + "external/sources/boost/boost/gil/cmyk.hpp", + "external/sources/boost/boost/gil/color_base.hpp", + "external/sources/boost/boost/gil/color_base_algorithm.hpp", + "external/sources/boost/boost/gil/color_convert.hpp", + "external/sources/boost/boost/gil/concepts.hpp", + "external/sources/boost/boost/gil/concepts/basic.hpp", + "external/sources/boost/boost/gil/concepts/channel.hpp", + "external/sources/boost/boost/gil/concepts/color.hpp", + "external/sources/boost/boost/gil/concepts/color_base.hpp", + "external/sources/boost/boost/gil/concepts/concept_check.hpp", + "external/sources/boost/boost/gil/concepts/detail/type_traits.hpp", + "external/sources/boost/boost/gil/concepts/detail/utility.hpp", + "external/sources/boost/boost/gil/concepts/dynamic_step.hpp", + "external/sources/boost/boost/gil/concepts/fwd.hpp", + "external/sources/boost/boost/gil/concepts/image.hpp", + "external/sources/boost/boost/gil/concepts/image_view.hpp", + "external/sources/boost/boost/gil/concepts/pixel.hpp", + "external/sources/boost/boost/gil/concepts/pixel_based.hpp", + "external/sources/boost/boost/gil/concepts/pixel_dereference.hpp", + "external/sources/boost/boost/gil/concepts/pixel_iterator.hpp", + "external/sources/boost/boost/gil/concepts/pixel_locator.hpp", + "external/sources/boost/boost/gil/concepts/point.hpp", + "external/sources/boost/boost/gil/deprecated.hpp", + "external/sources/boost/boost/gil/detail/is_channel_integral.hpp", + "external/sources/boost/boost/gil/detail/math.hpp", + "external/sources/boost/boost/gil/detail/mp11.hpp", + "external/sources/boost/boost/gil/detail/std_common_type.hpp", + "external/sources/boost/boost/gil/detail/type_traits.hpp", + "external/sources/boost/boost/gil/device_n.hpp", + "external/sources/boost/boost/gil/dynamic_step.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/algorithm.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/any_image.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/any_image_view.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/apply_operation.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_at_c.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_image_all.hpp", + "external/sources/boost/boost/gil/extension/dynamic_image/image_view_factory.hpp", + "external/sources/boost/boost/gil/extension/io/bmp.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/old.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/read.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/tags.hpp", + "external/sources/boost/boost/gil/extension/io/bmp/write.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/base.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/old.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/read.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/tags.hpp", + "external/sources/boost/boost/gil/extension/io/jpeg/write.hpp", + "external/sources/boost/boost/gil/extension/io/png.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/base.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/png/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/png/old.hpp", + "external/sources/boost/boost/gil/extension/io/png/read.hpp", + "external/sources/boost/boost/gil/extension/io/png/tags.hpp", + "external/sources/boost/boost/gil/extension/io/png/write.hpp", + "external/sources/boost/boost/gil/extension/io/pnm.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/old.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/read.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/tags.hpp", + "external/sources/boost/boost/gil/extension/io/pnm/write.hpp", + "external/sources/boost/boost/gil/extension/io/raw.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/device.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/raw/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/raw/read.hpp", + "external/sources/boost/boost/gil/extension/io/raw/tags.hpp", + "external/sources/boost/boost/gil/extension/io/targa.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/targa/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/targa/old.hpp", + "external/sources/boost/boost/gil/extension/io/targa/read.hpp", + "external/sources/boost/boost/gil/extension/io/targa/tags.hpp", + "external/sources/boost/boost/gil/extension/io/targa/write.hpp", + "external/sources/boost/boost/gil/extension/io/tiff.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/device.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/is_allowed.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/log.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/reader_backend.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/scanline_read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/supported_types.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/write.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/detail/writer_backend.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/old.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/read.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/tags.hpp", + "external/sources/boost/boost/gil/extension/io/tiff/write.hpp", + "external/sources/boost/boost/gil/extension/numeric/affine.hpp", + "external/sources/boost/boost/gil/extension/numeric/algorithm.hpp", + "external/sources/boost/boost/gil/extension/numeric/channel_numeric_operations.hpp", + "external/sources/boost/boost/gil/extension/numeric/convolve.hpp", + "external/sources/boost/boost/gil/extension/numeric/kernel.hpp", + "external/sources/boost/boost/gil/extension/numeric/pixel_numeric_operations.hpp", + "external/sources/boost/boost/gil/extension/numeric/resample.hpp", + "external/sources/boost/boost/gil/extension/numeric/sampler.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_converters/rgb_to_luminance.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/cmyka.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsl.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsv.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/lab.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/xyz.hpp", + "external/sources/boost/boost/gil/extension/toolbox/color_spaces/ycbcr.hpp", + "external/sources/boost/boost/gil/extension/toolbox/dynamic_images.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types/indexed_image.hpp", + "external/sources/boost/boost/gil/extension/toolbox/image_types/subchroma_image.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_type.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_view.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_num_bits.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_pixel_type.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_bit_aligned.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_homogeneous.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_similar.hpp", + "external/sources/boost/boost/gil/extension/toolbox/metafunctions/pixel_bit_size.hpp", + "external/sources/boost/boost/gil/extension/toolbox/toolbox.hpp", + "external/sources/boost/boost/gil/gray.hpp", + "external/sources/boost/boost/gil/image.hpp", + "external/sources/boost/boost/gil/image_processing/filter.hpp", + "external/sources/boost/boost/gil/image_processing/harris.hpp", + "external/sources/boost/boost/gil/image_processing/hessian.hpp", + "external/sources/boost/boost/gil/image_processing/numeric.hpp", + "external/sources/boost/boost/gil/image_processing/scaling.hpp", + "external/sources/boost/boost/gil/image_processing/threshold.hpp", + "external/sources/boost/boost/gil/image_view.hpp", + "external/sources/boost/boost/gil/image_view_factory.hpp", + "external/sources/boost/boost/gil/io/base.hpp", + "external/sources/boost/boost/gil/io/bit_operations.hpp", + "external/sources/boost/boost/gil/io/conversion_policies.hpp", + "external/sources/boost/boost/gil/io/device.hpp", + "external/sources/boost/boost/gil/io/dynamic_io_new.hpp", + "external/sources/boost/boost/gil/io/error.hpp", + "external/sources/boost/boost/gil/io/get_read_device.hpp", + "external/sources/boost/boost/gil/io/get_reader.hpp", + "external/sources/boost/boost/gil/io/get_write_device.hpp", + "external/sources/boost/boost/gil/io/get_writer.hpp", + "external/sources/boost/boost/gil/io/io.hpp", + "external/sources/boost/boost/gil/io/make_backend.hpp", + "external/sources/boost/boost/gil/io/make_dynamic_image_reader.hpp", + "external/sources/boost/boost/gil/io/make_dynamic_image_writer.hpp", + "external/sources/boost/boost/gil/io/make_reader.hpp", + "external/sources/boost/boost/gil/io/make_scanline_reader.hpp", + "external/sources/boost/boost/gil/io/make_writer.hpp", + "external/sources/boost/boost/gil/io/path_spec.hpp", + "external/sources/boost/boost/gil/io/read_and_convert_image.hpp", + "external/sources/boost/boost/gil/io/read_and_convert_view.hpp", + "external/sources/boost/boost/gil/io/read_image.hpp", + "external/sources/boost/boost/gil/io/read_image_info.hpp", + "external/sources/boost/boost/gil/io/read_view.hpp", + "external/sources/boost/boost/gil/io/reader_base.hpp", + "external/sources/boost/boost/gil/io/row_buffer_helper.hpp", + "external/sources/boost/boost/gil/io/scanline_read_iterator.hpp", + "external/sources/boost/boost/gil/io/typedefs.hpp", + "external/sources/boost/boost/gil/io/write_view.hpp", + "external/sources/boost/boost/gil/iterator_from_2d.hpp", + "external/sources/boost/boost/gil/locator.hpp", + "external/sources/boost/boost/gil/metafunctions.hpp", + "external/sources/boost/boost/gil/packed_pixel.hpp", + "external/sources/boost/boost/gil/pixel.hpp", + "external/sources/boost/boost/gil/pixel_iterator.hpp", + "external/sources/boost/boost/gil/pixel_iterator_adaptor.hpp", + "external/sources/boost/boost/gil/planar_pixel_iterator.hpp", + "external/sources/boost/boost/gil/planar_pixel_reference.hpp", + "external/sources/boost/boost/gil/point.hpp", + "external/sources/boost/boost/gil/position_iterator.hpp", + "external/sources/boost/boost/gil/premultiply.hpp", + "external/sources/boost/boost/gil/promote_integral.hpp", + "external/sources/boost/boost/gil/rgb.hpp", + "external/sources/boost/boost/gil/rgba.hpp", + "external/sources/boost/boost/gil/step_iterator.hpp", + "external/sources/boost/boost/gil/typedefs.hpp", + "external/sources/boost/boost/gil/utilities.hpp", + "external/sources/boost/boost/gil/virtual_locator.hpp", + "external/sources/boost/boost/graph/accounting.hpp", + "external/sources/boost/boost/graph/adj_list_serialize.hpp", + "external/sources/boost/boost/graph/adjacency_iterator.hpp", + "external/sources/boost/boost/graph/adjacency_list.hpp", + "external/sources/boost/boost/graph/adjacency_list_io.hpp", + "external/sources/boost/boost/graph/adjacency_matrix.hpp", + "external/sources/boost/boost/graph/astar_search.hpp", + "external/sources/boost/boost/graph/bandwidth.hpp", + "external/sources/boost/boost/graph/bc_clustering.hpp", + "external/sources/boost/boost/graph/bellman_ford_shortest_paths.hpp", + "external/sources/boost/boost/graph/betweenness_centrality.hpp", + "external/sources/boost/boost/graph/biconnected_components.hpp", + "external/sources/boost/boost/graph/bipartite.hpp", + "external/sources/boost/boost/graph/boyer_myrvold_planar_test.hpp", + "external/sources/boost/boost/graph/boykov_kolmogorov_max_flow.hpp", + "external/sources/boost/boost/graph/breadth_first_search.hpp", + "external/sources/boost/boost/graph/bron_kerbosch_all_cliques.hpp", + "external/sources/boost/boost/graph/buffer_concepts.hpp", + "external/sources/boost/boost/graph/chrobak_payne_drawing.hpp", + "external/sources/boost/boost/graph/circle_layout.hpp", + "external/sources/boost/boost/graph/closeness_centrality.hpp", + "external/sources/boost/boost/graph/clustering_coefficient.hpp", + "external/sources/boost/boost/graph/compressed_sparse_row_graph.hpp", + "external/sources/boost/boost/graph/connected_components.hpp", + "external/sources/boost/boost/graph/copy.hpp", + "external/sources/boost/boost/graph/core_numbers.hpp", + "external/sources/boost/boost/graph/create_condensation_graph.hpp", + "external/sources/boost/boost/graph/cuthill_mckee_ordering.hpp", + "external/sources/boost/boost/graph/cycle_canceling.hpp", + "external/sources/boost/boost/graph/dag_shortest_paths.hpp", + "external/sources/boost/boost/graph/degree_centrality.hpp", + "external/sources/boost/boost/graph/depth_first_search.hpp", + "external/sources/boost/boost/graph/detail/adj_list_edge_iterator.hpp", + "external/sources/boost/boost/graph/detail/adjacency_list.hpp", + "external/sources/boost/boost/graph/detail/array_binary_tree.hpp", + "external/sources/boost/boost/graph/detail/augment.hpp", + "external/sources/boost/boost/graph/detail/compressed_sparse_row_struct.hpp", + "external/sources/boost/boost/graph/detail/connected_components.hpp", + "external/sources/boost/boost/graph/detail/d_ary_heap.hpp", + "external/sources/boost/boost/graph/detail/edge.hpp", + "external/sources/boost/boost/graph/detail/empty_header.hpp", + "external/sources/boost/boost/graph/detail/geodesic.hpp", + "external/sources/boost/boost/graph/detail/histogram_sort.hpp", + "external/sources/boost/boost/graph/detail/incidence_iterator.hpp", + "external/sources/boost/boost/graph/detail/incremental_components.hpp", + "external/sources/boost/boost/graph/detail/index.hpp", + "external/sources/boost/boost/graph/detail/indexed_properties.hpp", + "external/sources/boost/boost/graph/detail/is_distributed_selector.hpp", + "external/sources/boost/boost/graph/detail/labeled_graph_traits.hpp", + "external/sources/boost/boost/graph/detail/list_base.hpp", + "external/sources/boost/boost/graph/detail/mpi_include.hpp", + "external/sources/boost/boost/graph/detail/permutation.hpp", + "external/sources/boost/boost/graph/detail/read_graphviz_new.hpp", + "external/sources/boost/boost/graph/detail/read_graphviz_spirit.hpp", + "external/sources/boost/boost/graph/detail/self_avoiding_walk.hpp", + "external/sources/boost/boost/graph/detail/set_adaptor.hpp", + "external/sources/boost/boost/graph/detail/shadow_iterator.hpp", + "external/sources/boost/boost/graph/detail/sparse_ordering.hpp", + "external/sources/boost/boost/graph/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/dijkstra_shortest_paths_no_color_map.hpp", + "external/sources/boost/boost/graph/dimacs.hpp", + "external/sources/boost/boost/graph/directed_graph.hpp", + "external/sources/boost/boost/graph/distributed/adjacency_list.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/handlers.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/initialize.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/redistribute.hpp", + "external/sources/boost/boost/graph/distributed/adjlist/serialization.hpp", + "external/sources/boost/boost/graph/distributed/betweenness_centrality.hpp", + "external/sources/boost/boost/graph/distributed/boman_et_al_graph_coloring.hpp", + "external/sources/boost/boost/graph/distributed/breadth_first_search.hpp", + "external/sources/boost/boost/graph/distributed/compressed_sparse_row_graph.hpp", + "external/sources/boost/boost/graph/distributed/concepts.hpp", + "external/sources/boost/boost/graph/distributed/connected_components.hpp", + "external/sources/boost/boost/graph/distributed/connected_components_parallel_search.hpp", + "external/sources/boost/boost/graph/distributed/crauser_et_al_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp", + "external/sources/boost/boost/graph/distributed/delta_stepping_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/depth_first_search.hpp", + "external/sources/boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/detail/filtered_queue.hpp", + "external/sources/boost/boost/graph/distributed/detail/mpi_process_group.ipp", + "external/sources/boost/boost/graph/distributed/detail/queue.ipp", + "external/sources/boost/boost/graph/distributed/detail/remote_update_set.hpp", + "external/sources/boost/boost/graph/distributed/detail/tag_allocator.hpp", + "external/sources/boost/boost/graph/distributed/dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/distributed_graph_utility.hpp", + "external/sources/boost/boost/graph/distributed/eager_dijkstra_shortest_paths.hpp", + "external/sources/boost/boost/graph/distributed/filtered_graph.hpp", + "external/sources/boost/boost/graph/distributed/fruchterman_reingold.hpp", + "external/sources/boost/boost/graph/distributed/graphviz.hpp", + "external/sources/boost/boost/graph/distributed/hohberg_biconnected_components.hpp", + "external/sources/boost/boost/graph/distributed/local_subgraph.hpp", + "external/sources/boost/boost/graph/distributed/mpi_process_group.hpp", + "external/sources/boost/boost/graph/distributed/named_graph.hpp", + "external/sources/boost/boost/graph/distributed/one_bit_color_map.hpp", + "external/sources/boost/boost/graph/distributed/page_rank.hpp", + "external/sources/boost/boost/graph/distributed/queue.hpp", + "external/sources/boost/boost/graph/distributed/reverse_graph.hpp", + "external/sources/boost/boost/graph/distributed/rmat_graph_generator.hpp", + "external/sources/boost/boost/graph/distributed/selector.hpp", + "external/sources/boost/boost/graph/distributed/shuffled_distribution.hpp", + "external/sources/boost/boost/graph/distributed/st_connected.hpp", + "external/sources/boost/boost/graph/distributed/strong_components.hpp", + "external/sources/boost/boost/graph/distributed/two_bit_color_map.hpp", + "external/sources/boost/boost/graph/distributed/unsafe_serialize.hpp", + "external/sources/boost/boost/graph/distributed/vertex_list_adaptor.hpp", + "external/sources/boost/boost/graph/dll_import_export.hpp", + "external/sources/boost/boost/graph/dominator_tree.hpp", + "external/sources/boost/boost/graph/eccentricity.hpp", + "external/sources/boost/boost/graph/edge_coloring.hpp", + "external/sources/boost/boost/graph/edge_connectivity.hpp", + "external/sources/boost/boost/graph/edge_list.hpp", + "external/sources/boost/boost/graph/edmonds_karp_max_flow.hpp", + "external/sources/boost/boost/graph/edmunds_karp_max_flow.hpp", + "external/sources/boost/boost/graph/erdos_renyi_generator.hpp", + "external/sources/boost/boost/graph/exception.hpp", + "external/sources/boost/boost/graph/exterior_property.hpp", + "external/sources/boost/boost/graph/filtered_graph.hpp", + "external/sources/boost/boost/graph/find_flow_cost.hpp", + "external/sources/boost/boost/graph/floyd_warshall_shortest.hpp", + "external/sources/boost/boost/graph/fruchterman_reingold.hpp", + "external/sources/boost/boost/graph/geodesic_distance.hpp", + "external/sources/boost/boost/graph/graph_archetypes.hpp", + "external/sources/boost/boost/graph/graph_as_tree.hpp", + "external/sources/boost/boost/graph/graph_concepts.hpp", + "external/sources/boost/boost/graph/graph_mutability_traits.hpp", + "external/sources/boost/boost/graph/graph_selectors.hpp", + "external/sources/boost/boost/graph/graph_stats.hpp", + "external/sources/boost/boost/graph/graph_traits.hpp", + "external/sources/boost/boost/graph/graph_utility.hpp", + "external/sources/boost/boost/graph/graphml.hpp", + "external/sources/boost/boost/graph/graphviz.hpp", + "external/sources/boost/boost/graph/grid_graph.hpp", + "external/sources/boost/boost/graph/gursoy_atun_layout.hpp", + "external/sources/boost/boost/graph/hawick_circuits.hpp", + "external/sources/boost/boost/graph/howard_cycle_ratio.hpp", + "external/sources/boost/boost/graph/incremental_components.hpp", + "external/sources/boost/boost/graph/is_kuratowski_subgraph.hpp", + "external/sources/boost/boost/graph/is_straight_line_drawing.hpp", + "external/sources/boost/boost/graph/isomorphism.hpp", + "external/sources/boost/boost/graph/iteration_macros.hpp", + "external/sources/boost/boost/graph/iteration_macros_undef.hpp", + "external/sources/boost/boost/graph/johnson_all_pairs_shortest.hpp", + "external/sources/boost/boost/graph/kamada_kawai_spring_layout.hpp", + "external/sources/boost/boost/graph/king_ordering.hpp", + "external/sources/boost/boost/graph/kruskal_min_spanning_tree.hpp", + "external/sources/boost/boost/graph/labeled_graph.hpp", + "external/sources/boost/boost/graph/leda_graph.hpp", + "external/sources/boost/boost/graph/lookup_edge.hpp", + "external/sources/boost/boost/graph/loop_erased_random_walk.hpp", + "external/sources/boost/boost/graph/make_biconnected_planar.hpp", + "external/sources/boost/boost/graph/make_connected.hpp", + "external/sources/boost/boost/graph/make_maximal_planar.hpp", + "external/sources/boost/boost/graph/matrix_as_graph.hpp", + "external/sources/boost/boost/graph/max_cardinality_matching.hpp", + "external/sources/boost/boost/graph/maximum_adjacency_search.hpp", + "external/sources/boost/boost/graph/maximum_weighted_matching.hpp", + "external/sources/boost/boost/graph/mcgregor_common_subgraphs.hpp", + "external/sources/boost/boost/graph/mesh_graph_generator.hpp", + "external/sources/boost/boost/graph/metis.hpp", + "external/sources/boost/boost/graph/metric_tsp_approx.hpp", + "external/sources/boost/boost/graph/minimum_degree_ordering.hpp", + "external/sources/boost/boost/graph/named_function_params.hpp", + "external/sources/boost/boost/graph/named_graph.hpp", + "external/sources/boost/boost/graph/neighbor_bfs.hpp", + "external/sources/boost/boost/graph/numeric_values.hpp", + "external/sources/boost/boost/graph/one_bit_color_map.hpp", + "external/sources/boost/boost/graph/overloading.hpp", + "external/sources/boost/boost/graph/page_rank.hpp", + "external/sources/boost/boost/graph/parallel/algorithm.hpp", + "external/sources/boost/boost/graph/parallel/basic_reduce.hpp", + "external/sources/boost/boost/graph/parallel/container_traits.hpp", + "external/sources/boost/boost/graph/parallel/detail/inplace_all_to_all.hpp", + "external/sources/boost/boost/graph/parallel/detail/property_holders.hpp", + "external/sources/boost/boost/graph/parallel/detail/untracked_pair.hpp", + "external/sources/boost/boost/graph/parallel/distribution.hpp", + "external/sources/boost/boost/graph/parallel/process_group.hpp", + "external/sources/boost/boost/graph/parallel/properties.hpp", + "external/sources/boost/boost/graph/parallel/simple_trigger.hpp", + "external/sources/boost/boost/graph/planar_canonical_ordering.hpp", + "external/sources/boost/boost/graph/planar_detail/add_edge_visitors.hpp", + "external/sources/boost/boost/graph/planar_detail/boyer_myrvold_impl.hpp", + "external/sources/boost/boost/graph/planar_detail/bucket_sort.hpp", + "external/sources/boost/boost/graph/planar_detail/face_handles.hpp", + "external/sources/boost/boost/graph/planar_detail/face_iterators.hpp", + "external/sources/boost/boost/graph/planar_face_traversal.hpp", + "external/sources/boost/boost/graph/plod_generator.hpp", + "external/sources/boost/boost/graph/point_traits.hpp", + "external/sources/boost/boost/graph/prim_minimum_spanning_tree.hpp", + "external/sources/boost/boost/graph/profile.hpp", + "external/sources/boost/boost/graph/properties.hpp", + "external/sources/boost/boost/graph/property_iter_range.hpp", + "external/sources/boost/boost/graph/property_maps/constant_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/container_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/matrix_property_map.hpp", + "external/sources/boost/boost/graph/property_maps/null_property_map.hpp", + "external/sources/boost/boost/graph/push_relabel_max_flow.hpp", + "external/sources/boost/boost/graph/r_c_shortest_paths.hpp", + "external/sources/boost/boost/graph/random.hpp", + "external/sources/boost/boost/graph/random_layout.hpp", + "external/sources/boost/boost/graph/random_spanning_tree.hpp", + "external/sources/boost/boost/graph/read_dimacs.hpp", + "external/sources/boost/boost/graph/relax.hpp", + "external/sources/boost/boost/graph/reverse_graph.hpp", + "external/sources/boost/boost/graph/rmat_graph_generator.hpp", + "external/sources/boost/boost/graph/sequential_vertex_coloring.hpp", + "external/sources/boost/boost/graph/simple_point.hpp", + "external/sources/boost/boost/graph/sloan_ordering.hpp", + "external/sources/boost/boost/graph/small_world_generator.hpp", + "external/sources/boost/boost/graph/smallest_last_ordering.hpp", + "external/sources/boost/boost/graph/ssca_graph_generator.hpp", + "external/sources/boost/boost/graph/st_connected.hpp", + "external/sources/boost/boost/graph/stanford_graph.hpp", + "external/sources/boost/boost/graph/stoer_wagner_min_cut.hpp", + "external/sources/boost/boost/graph/strong_components.hpp", + "external/sources/boost/boost/graph/subgraph.hpp", + "external/sources/boost/boost/graph/successive_shortest_path_nonnegative_weights.hpp", + "external/sources/boost/boost/graph/tiernan_all_cycles.hpp", + "external/sources/boost/boost/graph/topological_sort.hpp", + "external/sources/boost/boost/graph/topology.hpp", + "external/sources/boost/boost/graph/transitive_closure.hpp", + "external/sources/boost/boost/graph/transitive_reduction.hpp", + "external/sources/boost/boost/graph/transpose_graph.hpp", + "external/sources/boost/boost/graph/tree_traits.hpp", + "external/sources/boost/boost/graph/two_bit_color_map.hpp", + "external/sources/boost/boost/graph/two_graphs_common_spanning_trees.hpp", + "external/sources/boost/boost/graph/undirected_dfs.hpp", + "external/sources/boost/boost/graph/undirected_graph.hpp", + "external/sources/boost/boost/graph/use_mpi.hpp", + "external/sources/boost/boost/graph/vector_as_graph.hpp", + "external/sources/boost/boost/graph/vertex_and_edge_range.hpp", + "external/sources/boost/boost/graph/vf2_sub_graph_iso.hpp", + "external/sources/boost/boost/graph/visitors.hpp", + "external/sources/boost/boost/graph/wavefront.hpp", + "external/sources/boost/boost/graph/write_dimacs.hpp", + "external/sources/boost/boost/hana.hpp", + "external/sources/boost/boost/hana/accessors.hpp", + "external/sources/boost/boost/hana/adapt_adt.hpp", + "external/sources/boost/boost/hana/adapt_struct.hpp", + "external/sources/boost/boost/hana/adjust.hpp", + "external/sources/boost/boost/hana/adjust_if.hpp", + "external/sources/boost/boost/hana/all.hpp", + "external/sources/boost/boost/hana/all_of.hpp", + "external/sources/boost/boost/hana/and.hpp", + "external/sources/boost/boost/hana/any.hpp", + "external/sources/boost/boost/hana/any_of.hpp", + "external/sources/boost/boost/hana/ap.hpp", + "external/sources/boost/boost/hana/append.hpp", + "external/sources/boost/boost/hana/assert.hpp", + "external/sources/boost/boost/hana/at.hpp", + "external/sources/boost/boost/hana/at_key.hpp", + "external/sources/boost/boost/hana/back.hpp", + "external/sources/boost/boost/hana/basic_tuple.hpp", + "external/sources/boost/boost/hana/bool.hpp", + "external/sources/boost/boost/hana/cartesian_product.hpp", + "external/sources/boost/boost/hana/chain.hpp", + "external/sources/boost/boost/hana/comparing.hpp", + "external/sources/boost/boost/hana/concat.hpp", + "external/sources/boost/boost/hana/concept.hpp", + "external/sources/boost/boost/hana/concept/applicative.hpp", + "external/sources/boost/boost/hana/concept/comonad.hpp", + "external/sources/boost/boost/hana/concept/comparable.hpp", + "external/sources/boost/boost/hana/concept/constant.hpp", + "external/sources/boost/boost/hana/concept/euclidean_ring.hpp", + "external/sources/boost/boost/hana/concept/foldable.hpp", + "external/sources/boost/boost/hana/concept/functor.hpp", + "external/sources/boost/boost/hana/concept/group.hpp", + "external/sources/boost/boost/hana/concept/hashable.hpp", + "external/sources/boost/boost/hana/concept/integral_constant.hpp", + "external/sources/boost/boost/hana/concept/iterable.hpp", + "external/sources/boost/boost/hana/concept/logical.hpp", + "external/sources/boost/boost/hana/concept/metafunction.hpp", + "external/sources/boost/boost/hana/concept/monad.hpp", + "external/sources/boost/boost/hana/concept/monad_plus.hpp", + "external/sources/boost/boost/hana/concept/monoid.hpp", + "external/sources/boost/boost/hana/concept/orderable.hpp", + "external/sources/boost/boost/hana/concept/product.hpp", + "external/sources/boost/boost/hana/concept/ring.hpp", + "external/sources/boost/boost/hana/concept/searchable.hpp", + "external/sources/boost/boost/hana/concept/sequence.hpp", + "external/sources/boost/boost/hana/concept/struct.hpp", + "external/sources/boost/boost/hana/config.hpp", + "external/sources/boost/boost/hana/contains.hpp", + "external/sources/boost/boost/hana/core.hpp", + "external/sources/boost/boost/hana/core/common.hpp", + "external/sources/boost/boost/hana/core/default.hpp", + "external/sources/boost/boost/hana/core/dispatch.hpp", + "external/sources/boost/boost/hana/core/is_a.hpp", + "external/sources/boost/boost/hana/core/make.hpp", + "external/sources/boost/boost/hana/core/tag_of.hpp", + "external/sources/boost/boost/hana/core/to.hpp", + "external/sources/boost/boost/hana/core/when.hpp", + "external/sources/boost/boost/hana/count.hpp", + "external/sources/boost/boost/hana/count_if.hpp", + "external/sources/boost/boost/hana/cycle.hpp", + "external/sources/boost/boost/hana/define_struct.hpp", + "external/sources/boost/boost/hana/detail/algorithm.hpp", + "external/sources/boost/boost/hana/detail/any_of.hpp", + "external/sources/boost/boost/hana/detail/array.hpp", + "external/sources/boost/boost/hana/detail/canonical_constant.hpp", + "external/sources/boost/boost/hana/detail/concepts.hpp", + "external/sources/boost/boost/hana/detail/create.hpp", + "external/sources/boost/boost/hana/detail/decay.hpp", + "external/sources/boost/boost/hana/detail/dispatch_if.hpp", + "external/sources/boost/boost/hana/detail/ebo.hpp", + "external/sources/boost/boost/hana/detail/fast_and.hpp", + "external/sources/boost/boost/hana/detail/first_unsatisfied_index.hpp", + "external/sources/boost/boost/hana/detail/has_common_embedding.hpp", + "external/sources/boost/boost/hana/detail/has_duplicates.hpp", + "external/sources/boost/boost/hana/detail/hash_table.hpp", + "external/sources/boost/boost/hana/detail/index_if.hpp", + "external/sources/boost/boost/hana/detail/integral_constant.hpp", + "external/sources/boost/boost/hana/detail/intrinsics.hpp", + "external/sources/boost/boost/hana/detail/nested_by.hpp", + "external/sources/boost/boost/hana/detail/nested_by_fwd.hpp", + "external/sources/boost/boost/hana/detail/nested_than.hpp", + "external/sources/boost/boost/hana/detail/nested_than_fwd.hpp", + "external/sources/boost/boost/hana/detail/nested_to.hpp", + "external/sources/boost/boost/hana/detail/nested_to_fwd.hpp", + "external/sources/boost/boost/hana/detail/operators/adl.hpp", + "external/sources/boost/boost/hana/detail/operators/arithmetic.hpp", + "external/sources/boost/boost/hana/detail/operators/comparable.hpp", + "external/sources/boost/boost/hana/detail/operators/iterable.hpp", + "external/sources/boost/boost/hana/detail/operators/logical.hpp", + "external/sources/boost/boost/hana/detail/operators/monad.hpp", + "external/sources/boost/boost/hana/detail/operators/orderable.hpp", + "external/sources/boost/boost/hana/detail/operators/searchable.hpp", + "external/sources/boost/boost/hana/detail/preprocessor.hpp", + "external/sources/boost/boost/hana/detail/std_common_type.hpp", + "external/sources/boost/boost/hana/detail/struct_macros.hpp", + "external/sources/boost/boost/hana/detail/struct_macros.hpp.erb", + "external/sources/boost/boost/hana/detail/type_at.hpp", + "external/sources/boost/boost/hana/detail/type_foldl1.hpp", + "external/sources/boost/boost/hana/detail/type_foldr1.hpp", + "external/sources/boost/boost/hana/detail/unpack_flatten.hpp", + "external/sources/boost/boost/hana/detail/variadic/at.hpp", + "external/sources/boost/boost/hana/detail/variadic/drop_into.hpp", + "external/sources/boost/boost/hana/detail/variadic/foldl1.hpp", + "external/sources/boost/boost/hana/detail/variadic/foldr1.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply/flat.hpp", + "external/sources/boost/boost/hana/detail/variadic/reverse_apply/unrolled.hpp", + "external/sources/boost/boost/hana/detail/variadic/split_at.hpp", + "external/sources/boost/boost/hana/detail/variadic/take.hpp", + "external/sources/boost/boost/hana/detail/void_t.hpp", + "external/sources/boost/boost/hana/detail/wrong.hpp", + "external/sources/boost/boost/hana/difference.hpp", + "external/sources/boost/boost/hana/div.hpp", + "external/sources/boost/boost/hana/drop_back.hpp", + "external/sources/boost/boost/hana/drop_front.hpp", + "external/sources/boost/boost/hana/drop_front_exactly.hpp", + "external/sources/boost/boost/hana/drop_while.hpp", + "external/sources/boost/boost/hana/duplicate.hpp", + "external/sources/boost/boost/hana/empty.hpp", + "external/sources/boost/boost/hana/equal.hpp", + "external/sources/boost/boost/hana/erase_key.hpp", + "external/sources/boost/boost/hana/eval.hpp", + "external/sources/boost/boost/hana/eval_if.hpp", + "external/sources/boost/boost/hana/experimental/printable.hpp", + "external/sources/boost/boost/hana/experimental/type_name.hpp", + "external/sources/boost/boost/hana/experimental/types.hpp", + "external/sources/boost/boost/hana/experimental/view.hpp", + "external/sources/boost/boost/hana/ext/boost.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/deque.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/detail/common.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/list.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/tuple.hpp", + "external/sources/boost/boost/hana/ext/boost/fusion/vector.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/integral_c.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/list.hpp", + "external/sources/boost/boost/hana/ext/boost/mpl/vector.hpp", + "external/sources/boost/boost/hana/ext/boost/tuple.hpp", + "external/sources/boost/boost/hana/ext/std.hpp", + "external/sources/boost/boost/hana/ext/std/array.hpp", + "external/sources/boost/boost/hana/ext/std/integer_sequence.hpp", + "external/sources/boost/boost/hana/ext/std/integral_constant.hpp", + "external/sources/boost/boost/hana/ext/std/pair.hpp", + "external/sources/boost/boost/hana/ext/std/ratio.hpp", + "external/sources/boost/boost/hana/ext/std/tuple.hpp", + "external/sources/boost/boost/hana/ext/std/vector.hpp", + "external/sources/boost/boost/hana/extend.hpp", + "external/sources/boost/boost/hana/extract.hpp", + "external/sources/boost/boost/hana/fill.hpp", + "external/sources/boost/boost/hana/filter.hpp", + "external/sources/boost/boost/hana/find.hpp", + "external/sources/boost/boost/hana/find_if.hpp", + "external/sources/boost/boost/hana/first.hpp", + "external/sources/boost/boost/hana/flatten.hpp", + "external/sources/boost/boost/hana/fold.hpp", + "external/sources/boost/boost/hana/fold_left.hpp", + "external/sources/boost/boost/hana/fold_right.hpp", + "external/sources/boost/boost/hana/for_each.hpp", + "external/sources/boost/boost/hana/front.hpp", + "external/sources/boost/boost/hana/functional.hpp", + "external/sources/boost/boost/hana/functional/always.hpp", + "external/sources/boost/boost/hana/functional/apply.hpp", + "external/sources/boost/boost/hana/functional/arg.hpp", + "external/sources/boost/boost/hana/functional/capture.hpp", + "external/sources/boost/boost/hana/functional/compose.hpp", + "external/sources/boost/boost/hana/functional/curry.hpp", + "external/sources/boost/boost/hana/functional/demux.hpp", + "external/sources/boost/boost/hana/functional/fix.hpp", + "external/sources/boost/boost/hana/functional/flip.hpp", + "external/sources/boost/boost/hana/functional/id.hpp", + "external/sources/boost/boost/hana/functional/infix.hpp", + "external/sources/boost/boost/hana/functional/iterate.hpp", + "external/sources/boost/boost/hana/functional/lockstep.hpp", + "external/sources/boost/boost/hana/functional/on.hpp", + "external/sources/boost/boost/hana/functional/overload.hpp", + "external/sources/boost/boost/hana/functional/overload_linearly.hpp", + "external/sources/boost/boost/hana/functional/partial.hpp", + "external/sources/boost/boost/hana/functional/placeholder.hpp", + "external/sources/boost/boost/hana/functional/reverse_partial.hpp", + "external/sources/boost/boost/hana/fuse.hpp", + "external/sources/boost/boost/hana/fwd/accessors.hpp", + "external/sources/boost/boost/hana/fwd/adapt_adt.hpp", + "external/sources/boost/boost/hana/fwd/adapt_struct.hpp", + "external/sources/boost/boost/hana/fwd/adjust.hpp", + "external/sources/boost/boost/hana/fwd/adjust_if.hpp", + "external/sources/boost/boost/hana/fwd/all.hpp", + "external/sources/boost/boost/hana/fwd/all_of.hpp", + "external/sources/boost/boost/hana/fwd/and.hpp", + "external/sources/boost/boost/hana/fwd/any.hpp", + "external/sources/boost/boost/hana/fwd/any_of.hpp", + "external/sources/boost/boost/hana/fwd/ap.hpp", + "external/sources/boost/boost/hana/fwd/append.hpp", + "external/sources/boost/boost/hana/fwd/at.hpp", + "external/sources/boost/boost/hana/fwd/at_key.hpp", + "external/sources/boost/boost/hana/fwd/back.hpp", + "external/sources/boost/boost/hana/fwd/basic_tuple.hpp", + "external/sources/boost/boost/hana/fwd/bool.hpp", + "external/sources/boost/boost/hana/fwd/cartesian_product.hpp", + "external/sources/boost/boost/hana/fwd/chain.hpp", + "external/sources/boost/boost/hana/fwd/comparing.hpp", + "external/sources/boost/boost/hana/fwd/concat.hpp", + "external/sources/boost/boost/hana/fwd/concept/applicative.hpp", + "external/sources/boost/boost/hana/fwd/concept/comonad.hpp", + "external/sources/boost/boost/hana/fwd/concept/comparable.hpp", + "external/sources/boost/boost/hana/fwd/concept/constant.hpp", + "external/sources/boost/boost/hana/fwd/concept/euclidean_ring.hpp", + "external/sources/boost/boost/hana/fwd/concept/foldable.hpp", + "external/sources/boost/boost/hana/fwd/concept/functor.hpp", + "external/sources/boost/boost/hana/fwd/concept/group.hpp", + "external/sources/boost/boost/hana/fwd/concept/hashable.hpp", + "external/sources/boost/boost/hana/fwd/concept/integral_constant.hpp", + "external/sources/boost/boost/hana/fwd/concept/iterable.hpp", + "external/sources/boost/boost/hana/fwd/concept/logical.hpp", + "external/sources/boost/boost/hana/fwd/concept/metafunction.hpp", + "external/sources/boost/boost/hana/fwd/concept/monad.hpp", + "external/sources/boost/boost/hana/fwd/concept/monad_plus.hpp", + "external/sources/boost/boost/hana/fwd/concept/monoid.hpp", + "external/sources/boost/boost/hana/fwd/concept/orderable.hpp", + "external/sources/boost/boost/hana/fwd/concept/product.hpp", + "external/sources/boost/boost/hana/fwd/concept/ring.hpp", + "external/sources/boost/boost/hana/fwd/concept/searchable.hpp", + "external/sources/boost/boost/hana/fwd/concept/sequence.hpp", + "external/sources/boost/boost/hana/fwd/concept/struct.hpp", + "external/sources/boost/boost/hana/fwd/contains.hpp", + "external/sources/boost/boost/hana/fwd/core.hpp", + "external/sources/boost/boost/hana/fwd/core/common.hpp", + "external/sources/boost/boost/hana/fwd/core/default.hpp", + "external/sources/boost/boost/hana/fwd/core/is_a.hpp", + "external/sources/boost/boost/hana/fwd/core/make.hpp", + "external/sources/boost/boost/hana/fwd/core/tag_of.hpp", + "external/sources/boost/boost/hana/fwd/core/to.hpp", + "external/sources/boost/boost/hana/fwd/core/when.hpp", + "external/sources/boost/boost/hana/fwd/count.hpp", + "external/sources/boost/boost/hana/fwd/count_if.hpp", + "external/sources/boost/boost/hana/fwd/cycle.hpp", + "external/sources/boost/boost/hana/fwd/define_struct.hpp", + "external/sources/boost/boost/hana/fwd/difference.hpp", + "external/sources/boost/boost/hana/fwd/div.hpp", + "external/sources/boost/boost/hana/fwd/drop_back.hpp", + "external/sources/boost/boost/hana/fwd/drop_front.hpp", + "external/sources/boost/boost/hana/fwd/drop_front_exactly.hpp", + "external/sources/boost/boost/hana/fwd/drop_while.hpp", + "external/sources/boost/boost/hana/fwd/duplicate.hpp", + "external/sources/boost/boost/hana/fwd/empty.hpp", + "external/sources/boost/boost/hana/fwd/equal.hpp", + "external/sources/boost/boost/hana/fwd/erase_key.hpp", + "external/sources/boost/boost/hana/fwd/eval.hpp", + "external/sources/boost/boost/hana/fwd/eval_if.hpp", + "external/sources/boost/boost/hana/fwd/extend.hpp", + "external/sources/boost/boost/hana/fwd/extract.hpp", + "external/sources/boost/boost/hana/fwd/fill.hpp", + "external/sources/boost/boost/hana/fwd/filter.hpp", + "external/sources/boost/boost/hana/fwd/find.hpp", + "external/sources/boost/boost/hana/fwd/find_if.hpp", + "external/sources/boost/boost/hana/fwd/first.hpp", + "external/sources/boost/boost/hana/fwd/flatten.hpp", + "external/sources/boost/boost/hana/fwd/fold.hpp", + "external/sources/boost/boost/hana/fwd/fold_left.hpp", + "external/sources/boost/boost/hana/fwd/fold_right.hpp", + "external/sources/boost/boost/hana/fwd/for_each.hpp", + "external/sources/boost/boost/hana/fwd/front.hpp", + "external/sources/boost/boost/hana/fwd/fuse.hpp", + "external/sources/boost/boost/hana/fwd/greater.hpp", + "external/sources/boost/boost/hana/fwd/greater_equal.hpp", + "external/sources/boost/boost/hana/fwd/group.hpp", + "external/sources/boost/boost/hana/fwd/hash.hpp", + "external/sources/boost/boost/hana/fwd/if.hpp", + "external/sources/boost/boost/hana/fwd/index_if.hpp", + "external/sources/boost/boost/hana/fwd/insert.hpp", + "external/sources/boost/boost/hana/fwd/insert_range.hpp", + "external/sources/boost/boost/hana/fwd/integral_constant.hpp", + "external/sources/boost/boost/hana/fwd/intersection.hpp", + "external/sources/boost/boost/hana/fwd/intersperse.hpp", + "external/sources/boost/boost/hana/fwd/is_disjoint.hpp", + "external/sources/boost/boost/hana/fwd/is_empty.hpp", + "external/sources/boost/boost/hana/fwd/is_subset.hpp", + "external/sources/boost/boost/hana/fwd/keys.hpp", + "external/sources/boost/boost/hana/fwd/lazy.hpp", + "external/sources/boost/boost/hana/fwd/length.hpp", + "external/sources/boost/boost/hana/fwd/less.hpp", + "external/sources/boost/boost/hana/fwd/less_equal.hpp", + "external/sources/boost/boost/hana/fwd/lexicographical_compare.hpp", + "external/sources/boost/boost/hana/fwd/lift.hpp", + "external/sources/boost/boost/hana/fwd/map.hpp", + "external/sources/boost/boost/hana/fwd/max.hpp", + "external/sources/boost/boost/hana/fwd/maximum.hpp", + "external/sources/boost/boost/hana/fwd/members.hpp", + "external/sources/boost/boost/hana/fwd/min.hpp", + "external/sources/boost/boost/hana/fwd/minimum.hpp", + "external/sources/boost/boost/hana/fwd/minus.hpp", + "external/sources/boost/boost/hana/fwd/mod.hpp", + "external/sources/boost/boost/hana/fwd/monadic_compose.hpp", + "external/sources/boost/boost/hana/fwd/monadic_fold_left.hpp", + "external/sources/boost/boost/hana/fwd/monadic_fold_right.hpp", + "external/sources/boost/boost/hana/fwd/mult.hpp", + "external/sources/boost/boost/hana/fwd/negate.hpp", + "external/sources/boost/boost/hana/fwd/none.hpp", + "external/sources/boost/boost/hana/fwd/none_of.hpp", + "external/sources/boost/boost/hana/fwd/not.hpp", + "external/sources/boost/boost/hana/fwd/not_equal.hpp", + "external/sources/boost/boost/hana/fwd/one.hpp", + "external/sources/boost/boost/hana/fwd/optional.hpp", + "external/sources/boost/boost/hana/fwd/or.hpp", + "external/sources/boost/boost/hana/fwd/ordering.hpp", + "external/sources/boost/boost/hana/fwd/pair.hpp", + "external/sources/boost/boost/hana/fwd/partition.hpp", + "external/sources/boost/boost/hana/fwd/permutations.hpp", + "external/sources/boost/boost/hana/fwd/plus.hpp", + "external/sources/boost/boost/hana/fwd/power.hpp", + "external/sources/boost/boost/hana/fwd/prefix.hpp", + "external/sources/boost/boost/hana/fwd/prepend.hpp", + "external/sources/boost/boost/hana/fwd/product.hpp", + "external/sources/boost/boost/hana/fwd/range.hpp", + "external/sources/boost/boost/hana/fwd/remove.hpp", + "external/sources/boost/boost/hana/fwd/remove_at.hpp", + "external/sources/boost/boost/hana/fwd/remove_if.hpp", + "external/sources/boost/boost/hana/fwd/remove_range.hpp", + "external/sources/boost/boost/hana/fwd/repeat.hpp", + "external/sources/boost/boost/hana/fwd/replace.hpp", + "external/sources/boost/boost/hana/fwd/replace_if.hpp", + "external/sources/boost/boost/hana/fwd/replicate.hpp", + "external/sources/boost/boost/hana/fwd/reverse.hpp", + "external/sources/boost/boost/hana/fwd/reverse_fold.hpp", + "external/sources/boost/boost/hana/fwd/scan_left.hpp", + "external/sources/boost/boost/hana/fwd/scan_right.hpp", + "external/sources/boost/boost/hana/fwd/second.hpp", + "external/sources/boost/boost/hana/fwd/set.hpp", + "external/sources/boost/boost/hana/fwd/size.hpp", + "external/sources/boost/boost/hana/fwd/slice.hpp", + "external/sources/boost/boost/hana/fwd/sort.hpp", + "external/sources/boost/boost/hana/fwd/span.hpp", + "external/sources/boost/boost/hana/fwd/string.hpp", + "external/sources/boost/boost/hana/fwd/suffix.hpp", + "external/sources/boost/boost/hana/fwd/sum.hpp", + "external/sources/boost/boost/hana/fwd/symmetric_difference.hpp", + "external/sources/boost/boost/hana/fwd/take_back.hpp", + "external/sources/boost/boost/hana/fwd/take_front.hpp", + "external/sources/boost/boost/hana/fwd/take_while.hpp", + "external/sources/boost/boost/hana/fwd/tap.hpp", + "external/sources/boost/boost/hana/fwd/then.hpp", + "external/sources/boost/boost/hana/fwd/transform.hpp", + "external/sources/boost/boost/hana/fwd/tuple.hpp", + "external/sources/boost/boost/hana/fwd/type.hpp", + "external/sources/boost/boost/hana/fwd/unfold_left.hpp", + "external/sources/boost/boost/hana/fwd/unfold_right.hpp", + "external/sources/boost/boost/hana/fwd/union.hpp", + "external/sources/boost/boost/hana/fwd/unique.hpp", + "external/sources/boost/boost/hana/fwd/unpack.hpp", + "external/sources/boost/boost/hana/fwd/value.hpp", + "external/sources/boost/boost/hana/fwd/while.hpp", + "external/sources/boost/boost/hana/fwd/zero.hpp", + "external/sources/boost/boost/hana/fwd/zip.hpp", + "external/sources/boost/boost/hana/fwd/zip_shortest.hpp", + "external/sources/boost/boost/hana/fwd/zip_shortest_with.hpp", + "external/sources/boost/boost/hana/fwd/zip_with.hpp", + "external/sources/boost/boost/hana/greater.hpp", + "external/sources/boost/boost/hana/greater_equal.hpp", + "external/sources/boost/boost/hana/group.hpp", + "external/sources/boost/boost/hana/hash.hpp", + "external/sources/boost/boost/hana/if.hpp", + "external/sources/boost/boost/hana/index_if.hpp", + "external/sources/boost/boost/hana/insert.hpp", + "external/sources/boost/boost/hana/insert_range.hpp", + "external/sources/boost/boost/hana/integral_constant.hpp", + "external/sources/boost/boost/hana/intersection.hpp", + "external/sources/boost/boost/hana/intersperse.hpp", + "external/sources/boost/boost/hana/is_disjoint.hpp", + "external/sources/boost/boost/hana/is_empty.hpp", + "external/sources/boost/boost/hana/is_subset.hpp", + "external/sources/boost/boost/hana/keys.hpp", + "external/sources/boost/boost/hana/lazy.hpp", + "external/sources/boost/boost/hana/length.hpp", + "external/sources/boost/boost/hana/less.hpp", + "external/sources/boost/boost/hana/less_equal.hpp", + "external/sources/boost/boost/hana/lexicographical_compare.hpp", + "external/sources/boost/boost/hana/lift.hpp", + "external/sources/boost/boost/hana/map.hpp", + "external/sources/boost/boost/hana/max.hpp", + "external/sources/boost/boost/hana/maximum.hpp", + "external/sources/boost/boost/hana/members.hpp", + "external/sources/boost/boost/hana/min.hpp", + "external/sources/boost/boost/hana/minimum.hpp", + "external/sources/boost/boost/hana/minus.hpp", + "external/sources/boost/boost/hana/mod.hpp", + "external/sources/boost/boost/hana/monadic_compose.hpp", + "external/sources/boost/boost/hana/monadic_fold_left.hpp", + "external/sources/boost/boost/hana/monadic_fold_right.hpp", + "external/sources/boost/boost/hana/mult.hpp", + "external/sources/boost/boost/hana/negate.hpp", + "external/sources/boost/boost/hana/none.hpp", + "external/sources/boost/boost/hana/none_of.hpp", + "external/sources/boost/boost/hana/not.hpp", + "external/sources/boost/boost/hana/not_equal.hpp", + "external/sources/boost/boost/hana/one.hpp", + "external/sources/boost/boost/hana/optional.hpp", + "external/sources/boost/boost/hana/or.hpp", + "external/sources/boost/boost/hana/ordering.hpp", + "external/sources/boost/boost/hana/pair.hpp", + "external/sources/boost/boost/hana/partition.hpp", + "external/sources/boost/boost/hana/permutations.hpp", + "external/sources/boost/boost/hana/plus.hpp", + "external/sources/boost/boost/hana/power.hpp", + "external/sources/boost/boost/hana/prefix.hpp", + "external/sources/boost/boost/hana/prepend.hpp", + "external/sources/boost/boost/hana/product.hpp", + "external/sources/boost/boost/hana/range.hpp", + "external/sources/boost/boost/hana/remove.hpp", + "external/sources/boost/boost/hana/remove_at.hpp", + "external/sources/boost/boost/hana/remove_if.hpp", + "external/sources/boost/boost/hana/remove_range.hpp", + "external/sources/boost/boost/hana/repeat.hpp", + "external/sources/boost/boost/hana/replace.hpp", + "external/sources/boost/boost/hana/replace_if.hpp", + "external/sources/boost/boost/hana/replicate.hpp", + "external/sources/boost/boost/hana/reverse.hpp", + "external/sources/boost/boost/hana/reverse_fold.hpp", + "external/sources/boost/boost/hana/scan_left.hpp", + "external/sources/boost/boost/hana/scan_right.hpp", + "external/sources/boost/boost/hana/second.hpp", + "external/sources/boost/boost/hana/set.hpp", + "external/sources/boost/boost/hana/size.hpp", + "external/sources/boost/boost/hana/slice.hpp", + "external/sources/boost/boost/hana/sort.hpp", + "external/sources/boost/boost/hana/span.hpp", + "external/sources/boost/boost/hana/string.hpp", + "external/sources/boost/boost/hana/suffix.hpp", + "external/sources/boost/boost/hana/sum.hpp", + "external/sources/boost/boost/hana/symmetric_difference.hpp", + "external/sources/boost/boost/hana/take_back.hpp", + "external/sources/boost/boost/hana/take_front.hpp", + "external/sources/boost/boost/hana/take_while.hpp", + "external/sources/boost/boost/hana/tap.hpp", + "external/sources/boost/boost/hana/then.hpp", + "external/sources/boost/boost/hana/traits.hpp", + "external/sources/boost/boost/hana/transform.hpp", + "external/sources/boost/boost/hana/tuple.hpp", + "external/sources/boost/boost/hana/type.hpp", + "external/sources/boost/boost/hana/unfold_left.hpp", + "external/sources/boost/boost/hana/unfold_right.hpp", + "external/sources/boost/boost/hana/union.hpp", + "external/sources/boost/boost/hana/unique.hpp", + "external/sources/boost/boost/hana/unpack.hpp", + "external/sources/boost/boost/hana/value.hpp", + "external/sources/boost/boost/hana/version.hpp", + "external/sources/boost/boost/hana/while.hpp", + "external/sources/boost/boost/hana/zero.hpp", + "external/sources/boost/boost/hana/zip.hpp", + "external/sources/boost/boost/hana/zip_shortest.hpp", + "external/sources/boost/boost/hana/zip_shortest_with.hpp", + "external/sources/boost/boost/hana/zip_with.hpp", + "external/sources/boost/boost/heap/binomial_heap.hpp", + "external/sources/boost/boost/heap/d_ary_heap.hpp", + "external/sources/boost/boost/heap/detail/heap_comparison.hpp", + "external/sources/boost/boost/heap/detail/heap_node.hpp", + "external/sources/boost/boost/heap/detail/ilog2.hpp", + "external/sources/boost/boost/heap/detail/mutable_heap.hpp", + "external/sources/boost/boost/heap/detail/ordered_adaptor_iterator.hpp", + "external/sources/boost/boost/heap/detail/stable_heap.hpp", + "external/sources/boost/boost/heap/detail/tree_iterator.hpp", + "external/sources/boost/boost/heap/fibonacci_heap.hpp", + "external/sources/boost/boost/heap/heap_concepts.hpp", + "external/sources/boost/boost/heap/heap_merge.hpp", + "external/sources/boost/boost/heap/pairing_heap.hpp", + "external/sources/boost/boost/heap/policies.hpp", + "external/sources/boost/boost/heap/priority_queue.hpp", + "external/sources/boost/boost/heap/skew_heap.hpp", + "external/sources/boost/boost/histogram.hpp", + "external/sources/boost/boost/histogram/accumulators.hpp", + "external/sources/boost/boost/histogram/accumulators/count.hpp", + "external/sources/boost/boost/histogram/accumulators/mean.hpp", + "external/sources/boost/boost/histogram/accumulators/ostream.hpp", + "external/sources/boost/boost/histogram/accumulators/sum.hpp", + "external/sources/boost/boost/histogram/accumulators/thread_safe.hpp", + "external/sources/boost/boost/histogram/accumulators/weighted_mean.hpp", + "external/sources/boost/boost/histogram/accumulators/weighted_sum.hpp", + "external/sources/boost/boost/histogram/algorithm.hpp", + "external/sources/boost/boost/histogram/algorithm/empty.hpp", + "external/sources/boost/boost/histogram/algorithm/project.hpp", + "external/sources/boost/boost/histogram/algorithm/reduce.hpp", + "external/sources/boost/boost/histogram/algorithm/sum.hpp", + "external/sources/boost/boost/histogram/axis.hpp", + "external/sources/boost/boost/histogram/axis/boolean.hpp", + "external/sources/boost/boost/histogram/axis/category.hpp", + "external/sources/boost/boost/histogram/axis/integer.hpp", + "external/sources/boost/boost/histogram/axis/interval_view.hpp", + "external/sources/boost/boost/histogram/axis/iterator.hpp", + "external/sources/boost/boost/histogram/axis/metadata_base.hpp", + "external/sources/boost/boost/histogram/axis/option.hpp", + "external/sources/boost/boost/histogram/axis/ostream.hpp", + "external/sources/boost/boost/histogram/axis/polymorphic_bin.hpp", + "external/sources/boost/boost/histogram/axis/regular.hpp", + "external/sources/boost/boost/histogram/axis/traits.hpp", + "external/sources/boost/boost/histogram/axis/variable.hpp", + "external/sources/boost/boost/histogram/axis/variant.hpp", + "external/sources/boost/boost/histogram/detail/accumulator_traits.hpp", + "external/sources/boost/boost/histogram/detail/args_type.hpp", + "external/sources/boost/boost/histogram/detail/argument_traits.hpp", + "external/sources/boost/boost/histogram/detail/array_wrapper.hpp", + "external/sources/boost/boost/histogram/detail/axes.hpp", + "external/sources/boost/boost/histogram/detail/common_type.hpp", + "external/sources/boost/boost/histogram/detail/convert_integer.hpp", + "external/sources/boost/boost/histogram/detail/counting_streambuf.hpp", + "external/sources/boost/boost/histogram/detail/detect.hpp", + "external/sources/boost/boost/histogram/detail/fill.hpp", + "external/sources/boost/boost/histogram/detail/fill_n.hpp", + "external/sources/boost/boost/histogram/detail/index_translator.hpp", + "external/sources/boost/boost/histogram/detail/iterator_adaptor.hpp", + "external/sources/boost/boost/histogram/detail/large_int.hpp", + "external/sources/boost/boost/histogram/detail/limits.hpp", + "external/sources/boost/boost/histogram/detail/linearize.hpp", + "external/sources/boost/boost/histogram/detail/make_default.hpp", + "external/sources/boost/boost/histogram/detail/mutex_base.hpp", + "external/sources/boost/boost/histogram/detail/nonmember_container_access.hpp", + "external/sources/boost/boost/histogram/detail/operators.hpp", + "external/sources/boost/boost/histogram/detail/optional_index.hpp", + "external/sources/boost/boost/histogram/detail/priority.hpp", + "external/sources/boost/boost/histogram/detail/reduce_command.hpp", + "external/sources/boost/boost/histogram/detail/relaxed_equal.hpp", + "external/sources/boost/boost/histogram/detail/relaxed_tuple_size.hpp", + "external/sources/boost/boost/histogram/detail/replace_type.hpp", + "external/sources/boost/boost/histogram/detail/safe_comparison.hpp", + "external/sources/boost/boost/histogram/detail/span.hpp", + "external/sources/boost/boost/histogram/detail/static_if.hpp", + "external/sources/boost/boost/histogram/detail/sub_array.hpp", + "external/sources/boost/boost/histogram/detail/try_cast.hpp", + "external/sources/boost/boost/histogram/detail/tuple_slice.hpp", + "external/sources/boost/boost/histogram/detail/type_name.hpp", + "external/sources/boost/boost/histogram/detail/variant_proxy.hpp", + "external/sources/boost/boost/histogram/fwd.hpp", + "external/sources/boost/boost/histogram/histogram.hpp", + "external/sources/boost/boost/histogram/indexed.hpp", + "external/sources/boost/boost/histogram/literals.hpp", + "external/sources/boost/boost/histogram/make_histogram.hpp", + "external/sources/boost/boost/histogram/make_profile.hpp", + "external/sources/boost/boost/histogram/multi_index.hpp", + "external/sources/boost/boost/histogram/ostream.hpp", + "external/sources/boost/boost/histogram/sample.hpp", + "external/sources/boost/boost/histogram/serialization.hpp", + "external/sources/boost/boost/histogram/storage_adaptor.hpp", + "external/sources/boost/boost/histogram/unlimited_storage.hpp", + "external/sources/boost/boost/histogram/unsafe_access.hpp", + "external/sources/boost/boost/histogram/weight.hpp", + "external/sources/boost/boost/hof.hpp", + "external/sources/boost/boost/hof/alias.hpp", + "external/sources/boost/boost/hof/always.hpp", + "external/sources/boost/boost/hof/apply.hpp", + "external/sources/boost/boost/hof/apply_eval.hpp", + "external/sources/boost/boost/hof/arg.hpp", + "external/sources/boost/boost/hof/capture.hpp", + "external/sources/boost/boost/hof/combine.hpp", + "external/sources/boost/boost/hof/compose.hpp", + "external/sources/boost/boost/hof/config.hpp", + "external/sources/boost/boost/hof/construct.hpp", + "external/sources/boost/boost/hof/decay.hpp", + "external/sources/boost/boost/hof/decorate.hpp", + "external/sources/boost/boost/hof/detail/and.hpp", + "external/sources/boost/boost/hof/detail/callable_base.hpp", + "external/sources/boost/boost/hof/detail/can_be_called.hpp", + "external/sources/boost/boost/hof/detail/compressed_pair.hpp", + "external/sources/boost/boost/hof/detail/constexpr_deduce.hpp", + "external/sources/boost/boost/hof/detail/delegate.hpp", + "external/sources/boost/boost/hof/detail/forward.hpp", + "external/sources/boost/boost/hof/detail/holder.hpp", + "external/sources/boost/boost/hof/detail/intrinsics.hpp", + "external/sources/boost/boost/hof/detail/join.hpp", + "external/sources/boost/boost/hof/detail/make.hpp", + "external/sources/boost/boost/hof/detail/move.hpp", + "external/sources/boost/boost/hof/detail/noexcept.hpp", + "external/sources/boost/boost/hof/detail/pp.hpp", + "external/sources/boost/boost/hof/detail/recursive_constexpr_depth.hpp", + "external/sources/boost/boost/hof/detail/remove_rvalue_reference.hpp", + "external/sources/boost/boost/hof/detail/result_of.hpp", + "external/sources/boost/boost/hof/detail/result_type.hpp", + "external/sources/boost/boost/hof/detail/seq.hpp", + "external/sources/boost/boost/hof/detail/static_const_var.hpp", + "external/sources/boost/boost/hof/detail/unpack_tuple.hpp", + "external/sources/boost/boost/hof/detail/unwrap.hpp", + "external/sources/boost/boost/hof/detail/using.hpp", + "external/sources/boost/boost/hof/eval.hpp", + "external/sources/boost/boost/hof/first_of.hpp", + "external/sources/boost/boost/hof/fix.hpp", + "external/sources/boost/boost/hof/flip.hpp", + "external/sources/boost/boost/hof/flow.hpp", + "external/sources/boost/boost/hof/fold.hpp", + "external/sources/boost/boost/hof/function.hpp", + "external/sources/boost/boost/hof/function_param_limit.hpp", + "external/sources/boost/boost/hof/identity.hpp", + "external/sources/boost/boost/hof/if.hpp", + "external/sources/boost/boost/hof/implicit.hpp", + "external/sources/boost/boost/hof/indirect.hpp", + "external/sources/boost/boost/hof/infix.hpp", + "external/sources/boost/boost/hof/is_invocable.hpp", + "external/sources/boost/boost/hof/is_unpackable.hpp", + "external/sources/boost/boost/hof/lambda.hpp", + "external/sources/boost/boost/hof/lazy.hpp", + "external/sources/boost/boost/hof/lift.hpp", + "external/sources/boost/boost/hof/limit.hpp", + "external/sources/boost/boost/hof/match.hpp", + "external/sources/boost/boost/hof/mutable.hpp", + "external/sources/boost/boost/hof/pack.hpp", + "external/sources/boost/boost/hof/partial.hpp", + "external/sources/boost/boost/hof/pipable.hpp", + "external/sources/boost/boost/hof/placeholders.hpp", + "external/sources/boost/boost/hof/proj.hpp", + "external/sources/boost/boost/hof/protect.hpp", + "external/sources/boost/boost/hof/repeat.hpp", + "external/sources/boost/boost/hof/repeat_while.hpp", + "external/sources/boost/boost/hof/result.hpp", + "external/sources/boost/boost/hof/returns.hpp", + "external/sources/boost/boost/hof/reveal.hpp", + "external/sources/boost/boost/hof/reverse_fold.hpp", + "external/sources/boost/boost/hof/rotate.hpp", + "external/sources/boost/boost/hof/static.hpp", + "external/sources/boost/boost/hof/tap.hpp", + "external/sources/boost/boost/hof/unpack.hpp", + "external/sources/boost/boost/hof/unpack_sequence.hpp", + "external/sources/boost/boost/hof/version.hpp", + "external/sources/boost/boost/icl/associative_element_container.hpp", + "external/sources/boost/boost/icl/associative_interval_container.hpp", + "external/sources/boost/boost/icl/closed_interval.hpp", + "external/sources/boost/boost/icl/concept/comparable.hpp", + "external/sources/boost/boost/icl/concept/container.hpp", + "external/sources/boost/boost/icl/concept/element_associator.hpp", + "external/sources/boost/boost/icl/concept/element_map.hpp", + "external/sources/boost/boost/icl/concept/element_set.hpp", + "external/sources/boost/boost/icl/concept/element_set_value.hpp", + "external/sources/boost/boost/icl/concept/interval.hpp", + "external/sources/boost/boost/icl/concept/interval_associator.hpp", + "external/sources/boost/boost/icl/concept/interval_associator_base.hpp", + "external/sources/boost/boost/icl/concept/interval_bounds.hpp", + "external/sources/boost/boost/icl/concept/interval_map.hpp", + "external/sources/boost/boost/icl/concept/interval_set.hpp", + "external/sources/boost/boost/icl/concept/interval_set_value.hpp", + "external/sources/boost/boost/icl/concept/joinable.hpp", + "external/sources/boost/boost/icl/concept/map_value.hpp", + "external/sources/boost/boost/icl/concept/set_value.hpp", + "external/sources/boost/boost/icl/continuous_interval.hpp", + "external/sources/boost/boost/icl/detail/associated_value.hpp", + "external/sources/boost/boost/icl/detail/boost_config.hpp", + "external/sources/boost/boost/icl/detail/concept_check.hpp", + "external/sources/boost/boost/icl/detail/design_config.hpp", + "external/sources/boost/boost/icl/detail/element_comparer.hpp", + "external/sources/boost/boost/icl/detail/element_iterator.hpp", + "external/sources/boost/boost/icl/detail/exclusive_less_than.hpp", + "external/sources/boost/boost/icl/detail/interval_map_algo.hpp", + "external/sources/boost/boost/icl/detail/interval_morphism.hpp", + "external/sources/boost/boost/icl/detail/interval_set_algo.hpp", + "external/sources/boost/boost/icl/detail/interval_subset_comparer.hpp", + "external/sources/boost/boost/icl/detail/map_algo.hpp", + "external/sources/boost/boost/icl/detail/mapped_reference.hpp", + "external/sources/boost/boost/icl/detail/notate.hpp", + "external/sources/boost/boost/icl/detail/on_absorbtion.hpp", + "external/sources/boost/boost/icl/detail/relation_state.hpp", + "external/sources/boost/boost/icl/detail/set_algo.hpp", + "external/sources/boost/boost/icl/detail/std_set.hpp", + "external/sources/boost/boost/icl/detail/subset_comparer.hpp", + "external/sources/boost/boost/icl/discrete_interval.hpp", + "external/sources/boost/boost/icl/dynamic_interval_traits.hpp", + "external/sources/boost/boost/icl/functors.hpp", + "external/sources/boost/boost/icl/gregorian.hpp", + "external/sources/boost/boost/icl/impl_config.hpp", + "external/sources/boost/boost/icl/interval.hpp", + "external/sources/boost/boost/icl/interval_base_map.hpp", + "external/sources/boost/boost/icl/interval_base_set.hpp", + "external/sources/boost/boost/icl/interval_bounds.hpp", + "external/sources/boost/boost/icl/interval_combining_style.hpp", + "external/sources/boost/boost/icl/interval_map.hpp", + "external/sources/boost/boost/icl/interval_set.hpp", + "external/sources/boost/boost/icl/interval_traits.hpp", + "external/sources/boost/boost/icl/iterator.hpp", + "external/sources/boost/boost/icl/left_open_interval.hpp", + "external/sources/boost/boost/icl/map.hpp", + "external/sources/boost/boost/icl/open_interval.hpp", + "external/sources/boost/boost/icl/predicates/distinct_equal.hpp", + "external/sources/boost/boost/icl/predicates/element_equal.hpp", + "external/sources/boost/boost/icl/predicates/std_equal.hpp", + "external/sources/boost/boost/icl/predicates/sub_super_set.hpp", + "external/sources/boost/boost/icl/ptime.hpp", + "external/sources/boost/boost/icl/rational.hpp", + "external/sources/boost/boost/icl/right_open_interval.hpp", + "external/sources/boost/boost/icl/separate_interval_set.hpp", + "external/sources/boost/boost/icl/set.hpp", + "external/sources/boost/boost/icl/split_interval_map.hpp", + "external/sources/boost/boost/icl/split_interval_set.hpp", + "external/sources/boost/boost/icl/type_traits/absorbs_identities.hpp", + "external/sources/boost/boost/icl/type_traits/adds_inversely.hpp", + "external/sources/boost/boost/icl/type_traits/codomain_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/difference.hpp", + "external/sources/boost/boost/icl/type_traits/difference_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/domain_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/element_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/has_inverse.hpp", + "external/sources/boost/boost/icl/type_traits/has_set_semantics.hpp", + "external/sources/boost/boost/icl/type_traits/identity_element.hpp", + "external/sources/boost/boost/icl/type_traits/infinity.hpp", + "external/sources/boost/boost/icl/type_traits/interval_type_default.hpp", + "external/sources/boost/boost/icl/type_traits/interval_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/is_associative_element_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_asymmetric_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_combinable.hpp", + "external/sources/boost/boost/icl/type_traits/is_concept_equivalent.hpp", + "external/sources/boost/boost/icl/type_traits/is_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_continuous.hpp", + "external/sources/boost/boost/icl/type_traits/is_continuous_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_discrete.hpp", + "external/sources/boost/boost/icl/type_traits/is_discrete_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_element_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_icl_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_increasing.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_container.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_joiner.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_separator.hpp", + "external/sources/boost/boost/icl/type_traits/is_interval_splitter.hpp", + "external/sources/boost/boost/icl/type_traits/is_key_container_of.hpp", + "external/sources/boost/boost/icl/type_traits/is_map.hpp", + "external/sources/boost/boost/icl/type_traits/is_numeric.hpp", + "external/sources/boost/boost/icl/type_traits/is_set.hpp", + "external/sources/boost/boost/icl/type_traits/is_total.hpp", + "external/sources/boost/boost/icl/type_traits/no_type.hpp", + "external/sources/boost/boost/icl/type_traits/predicate.hpp", + "external/sources/boost/boost/icl/type_traits/rep_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/segment_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/size.hpp", + "external/sources/boost/boost/icl/type_traits/size_type_of.hpp", + "external/sources/boost/boost/icl/type_traits/succ_pred.hpp", + "external/sources/boost/boost/icl/type_traits/to_string.hpp", + "external/sources/boost/boost/icl/type_traits/type_to_string.hpp", + "external/sources/boost/boost/icl/type_traits/unit_element.hpp", + "external/sources/boost/boost/icl/type_traits/value_size.hpp", + "external/sources/boost/boost/implicit_cast.hpp", + "external/sources/boost/boost/indirect_reference.hpp", + "external/sources/boost/boost/integer.hpp", + "external/sources/boost/boost/integer/common_factor.hpp", + "external/sources/boost/boost/integer/common_factor_ct.hpp", + "external/sources/boost/boost/integer/common_factor_rt.hpp", + "external/sources/boost/boost/integer/extended_euclidean.hpp", + "external/sources/boost/boost/integer/integer_log2.hpp", + "external/sources/boost/boost/integer/integer_mask.hpp", + "external/sources/boost/boost/integer/mod_inverse.hpp", + "external/sources/boost/boost/integer/static_log2.hpp", + "external/sources/boost/boost/integer/static_min_max.hpp", + "external/sources/boost/boost/integer_fwd.hpp", + "external/sources/boost/boost/integer_traits.hpp", + "external/sources/boost/boost/interprocess/allocators/adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/cached_adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/cached_node_allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/adaptive_node_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/allocator_common.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/node_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/detail/node_tools.hpp", + "external/sources/boost/boost/interprocess/allocators/node_allocator.hpp", + "external/sources/boost/boost/interprocess/allocators/private_adaptive_pool.hpp", + "external/sources/boost/boost/interprocess/allocators/private_node_allocator.hpp", + "external/sources/boost/boost/interprocess/anonymous_shared_memory.hpp", + "external/sources/boost/boost/interprocess/containers/allocation_type.hpp", + "external/sources/boost/boost/interprocess/containers/containers_fwd.hpp", + "external/sources/boost/boost/interprocess/containers/deque.hpp", + "external/sources/boost/boost/interprocess/containers/flat_map.hpp", + "external/sources/boost/boost/interprocess/containers/flat_set.hpp", + "external/sources/boost/boost/interprocess/containers/list.hpp", + "external/sources/boost/boost/interprocess/containers/map.hpp", + "external/sources/boost/boost/interprocess/containers/pair.hpp", + "external/sources/boost/boost/interprocess/containers/set.hpp", + "external/sources/boost/boost/interprocess/containers/slist.hpp", + "external/sources/boost/boost/interprocess/containers/stable_vector.hpp", + "external/sources/boost/boost/interprocess/containers/string.hpp", + "external/sources/boost/boost/interprocess/containers/vector.hpp", + "external/sources/boost/boost/interprocess/containers/version_type.hpp", + "external/sources/boost/boost/interprocess/creation_tags.hpp", + "external/sources/boost/boost/interprocess/detail/atomic.hpp", + "external/sources/boost/boost/interprocess/detail/cast_tags.hpp", + "external/sources/boost/boost/interprocess/detail/config_begin.hpp", + "external/sources/boost/boost/interprocess/detail/config_end.hpp", + "external/sources/boost/boost/interprocess/detail/config_external_begin.hpp", + "external/sources/boost/boost/interprocess/detail/config_external_end.hpp", + "external/sources/boost/boost/interprocess/detail/file_locking_helpers.hpp", + "external/sources/boost/boost/interprocess/detail/file_wrapper.hpp", + "external/sources/boost/boost/interprocess/detail/in_place_interface.hpp", + "external/sources/boost/boost/interprocess/detail/intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/intermodule_singleton_common.hpp", + "external/sources/boost/boost/interprocess/detail/interprocess_tester.hpp", + "external/sources/boost/boost/interprocess/detail/intersegment_ptr.hpp", + "external/sources/boost/boost/interprocess/detail/managed_global_memory.hpp", + "external/sources/boost/boost/interprocess/detail/managed_memory_impl.hpp", + "external/sources/boost/boost/interprocess/detail/managed_multi_shared_memory.hpp", + "external/sources/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp", + "external/sources/boost/boost/interprocess/detail/math_functions.hpp", + "external/sources/boost/boost/interprocess/detail/min_max.hpp", + "external/sources/boost/boost/interprocess/detail/move.hpp", + "external/sources/boost/boost/interprocess/detail/mpl.hpp", + "external/sources/boost/boost/interprocess/detail/named_proxy.hpp", + "external/sources/boost/boost/interprocess/detail/nothrow.hpp", + "external/sources/boost/boost/interprocess/detail/os_file_functions.hpp", + "external/sources/boost/boost/interprocess/detail/os_thread_functions.hpp", + "external/sources/boost/boost/interprocess/detail/pointer_type.hpp", + "external/sources/boost/boost/interprocess/detail/portable_intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/posix_time_types_wrk.hpp", + "external/sources/boost/boost/interprocess/detail/ptime_wrk.hpp", + "external/sources/boost/boost/interprocess/detail/robust_emulation.hpp", + "external/sources/boost/boost/interprocess/detail/segment_manager_helper.hpp", + "external/sources/boost/boost/interprocess/detail/shared_dir_helpers.hpp", + "external/sources/boost/boost/interprocess/detail/simple_swap.hpp", + "external/sources/boost/boost/interprocess/detail/std_fwd.hpp", + "external/sources/boost/boost/interprocess/detail/transform_iterator.hpp", + "external/sources/boost/boost/interprocess/detail/type_traits.hpp", + "external/sources/boost/boost/interprocess/detail/utilities.hpp", + "external/sources/boost/boost/interprocess/detail/variadic_templates_tools.hpp", + "external/sources/boost/boost/interprocess/detail/win32_api.hpp", + "external/sources/boost/boost/interprocess/detail/windows_intermodule_singleton.hpp", + "external/sources/boost/boost/interprocess/detail/workaround.hpp", + "external/sources/boost/boost/interprocess/detail/xsi_shared_memory_file_wrapper.hpp", + "external/sources/boost/boost/interprocess/errors.hpp", + "external/sources/boost/boost/interprocess/exceptions.hpp", + "external/sources/boost/boost/interprocess/file_mapping.hpp", + "external/sources/boost/boost/interprocess/indexes/flat_map_index.hpp", + "external/sources/boost/boost/interprocess/indexes/iset_index.hpp", + "external/sources/boost/boost/interprocess/indexes/iunordered_set_index.hpp", + "external/sources/boost/boost/interprocess/indexes/map_index.hpp", + "external/sources/boost/boost/interprocess/indexes/null_index.hpp", + "external/sources/boost/boost/interprocess/indexes/unordered_map_index.hpp", + "external/sources/boost/boost/interprocess/interprocess_fwd.hpp", + "external/sources/boost/boost/interprocess/ipc/message_queue.hpp", + "external/sources/boost/boost/interprocess/managed_external_buffer.hpp", + "external/sources/boost/boost/interprocess/managed_heap_memory.hpp", + "external/sources/boost/boost/interprocess/managed_mapped_file.hpp", + "external/sources/boost/boost/interprocess/managed_shared_memory.hpp", + "external/sources/boost/boost/interprocess/managed_windows_shared_memory.hpp", + "external/sources/boost/boost/interprocess/managed_xsi_shared_memory.hpp", + "external/sources/boost/boost/interprocess/mapped_region.hpp", + "external/sources/boost/boost/interprocess/mem_algo/detail/mem_algo_common.hpp", + "external/sources/boost/boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp", + "external/sources/boost/boost/interprocess/mem_algo/rbtree_best_fit.hpp", + "external/sources/boost/boost/interprocess/mem_algo/simple_seq_fit.hpp", + "external/sources/boost/boost/interprocess/offset_ptr.hpp", + "external/sources/boost/boost/interprocess/permissions.hpp", + "external/sources/boost/boost/interprocess/segment_manager.hpp", + "external/sources/boost/boost/interprocess/shared_memory_object.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/deleter.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/bad_weak_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/shared_count.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/enable_shared_from_this.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/intrusive_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/scoped_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/shared_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/unique_ptr.hpp", + "external/sources/boost/boost/interprocess/smart_ptr/weak_ptr.hpp", + "external/sources/boost/boost/interprocess/streams/bufferstream.hpp", + "external/sources/boost/boost/interprocess/streams/vectorstream.hpp", + "external/sources/boost/boost/interprocess/sync/detail/common_algorithms.hpp", + "external/sources/boost/boost/interprocess/sync/detail/condition_algorithm_8a.hpp", + "external/sources/boost/boost/interprocess/sync/detail/condition_any_algorithm.hpp", + "external/sources/boost/boost/interprocess/sync/detail/locks.hpp", + "external/sources/boost/boost/interprocess/sync/file_lock.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_condition.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_sharable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/interprocess_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/lock_options.hpp", + "external/sources/boost/boost/interprocess/sync/mutex_family.hpp", + "external/sources/boost/boost/interprocess/sync/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/named_sharable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/named_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/null_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/condition.hpp", + "external/sources/boost/boost/interprocess/sync/posix/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/posix/pthread_helpers.hpp", + "external/sources/boost/boost/interprocess/sync/posix/ptime_to_timespec.hpp", + "external/sources/boost/boost/interprocess/sync/posix/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/posix/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/posix/semaphore_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/scoped_lock.hpp", + "external/sources/boost/boost/interprocess/sync/sharable_lock.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_creation_functor.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/shm/named_upgradable_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/condition.hpp", + "external/sources/boost/boost/interprocess/sync/spin/interprocess_barrier.hpp", + "external/sources/boost/boost/interprocess/sync/spin/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/spin/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/spin/wait.hpp", + "external/sources/boost/boost/interprocess/sync/upgradable_lock.hpp", + "external/sources/boost/boost/interprocess/sync/windows/condition.hpp", + "external/sources/boost/boost/interprocess/sync/windows/mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_condition.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_condition_any.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/windows/named_sync.hpp", + "external/sources/boost/boost/interprocess/sync/windows/recursive_mutex.hpp", + "external/sources/boost/boost/interprocess/sync/windows/semaphore.hpp", + "external/sources/boost/boost/interprocess/sync/windows/sync_utils.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_mutex_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_semaphore_wrapper.hpp", + "external/sources/boost/boost/interprocess/sync/windows/winapi_wrapper_common.hpp", + "external/sources/boost/boost/interprocess/windows_shared_memory.hpp", + "external/sources/boost/boost/interprocess/xsi_key.hpp", + "external/sources/boost/boost/interprocess/xsi_shared_memory.hpp", + "external/sources/boost/boost/intrusive/any_hook.hpp", + "external/sources/boost/boost/intrusive/avl_set.hpp", + "external/sources/boost/boost/intrusive/avl_set_hook.hpp", + "external/sources/boost/boost/intrusive/avltree.hpp", + "external/sources/boost/boost/intrusive/avltree_algorithms.hpp", + "external/sources/boost/boost/intrusive/bs_set.hpp", + "external/sources/boost/boost/intrusive/bs_set_hook.hpp", + "external/sources/boost/boost/intrusive/bstree.hpp", + "external/sources/boost/boost/intrusive/bstree_algorithms.hpp", + "external/sources/boost/boost/intrusive/circular_list_algorithms.hpp", + "external/sources/boost/boost/intrusive/circular_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/derivation_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/algo_type.hpp", + "external/sources/boost/boost/intrusive/detail/algorithm.hpp", + "external/sources/boost/boost/intrusive/detail/any_node_and_algorithms.hpp", + "external/sources/boost/boost/intrusive/detail/array_initializer.hpp", + "external/sources/boost/boost/intrusive/detail/assert.hpp", + "external/sources/boost/boost/intrusive/detail/avltree_node.hpp", + "external/sources/boost/boost/intrusive/detail/bstree_algorithms_base.hpp", + "external/sources/boost/boost/intrusive/detail/common_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/detail/config_begin.hpp", + "external/sources/boost/boost/intrusive/detail/config_end.hpp", + "external/sources/boost/boost/intrusive/detail/default_header_holder.hpp", + "external/sources/boost/boost/intrusive/detail/ebo_functor_holder.hpp", + "external/sources/boost/boost/intrusive/detail/empty_node_checker.hpp", + "external/sources/boost/boost/intrusive/detail/equal_to_value.hpp", + "external/sources/boost/boost/intrusive/detail/exception_disposer.hpp", + "external/sources/boost/boost/intrusive/detail/function_detector.hpp", + "external/sources/boost/boost/intrusive/detail/generic_hook.hpp", + "external/sources/boost/boost/intrusive/detail/get_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/has_member_function_callable_with.hpp", + "external/sources/boost/boost/intrusive/detail/hashtable_node.hpp", + "external/sources/boost/boost/intrusive/detail/hook_traits.hpp", + "external/sources/boost/boost/intrusive/detail/iiterator.hpp", + "external/sources/boost/boost/intrusive/detail/is_stateful_value_traits.hpp", + "external/sources/boost/boost/intrusive/detail/iterator.hpp", + "external/sources/boost/boost/intrusive/detail/key_nodeptr_comp.hpp", + "external/sources/boost/boost/intrusive/detail/list_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/list_node.hpp", + "external/sources/boost/boost/intrusive/detail/math.hpp", + "external/sources/boost/boost/intrusive/detail/minimal_less_equal_header.hpp", + "external/sources/boost/boost/intrusive/detail/minimal_pair_header.hpp", + "external/sources/boost/boost/intrusive/detail/mpl.hpp", + "external/sources/boost/boost/intrusive/detail/node_cloner_disposer.hpp", + "external/sources/boost/boost/intrusive/detail/node_holder.hpp", + "external/sources/boost/boost/intrusive/detail/node_to_value.hpp", + "external/sources/boost/boost/intrusive/detail/parent_from_member.hpp", + "external/sources/boost/boost/intrusive/detail/rbtree_node.hpp", + "external/sources/boost/boost/intrusive/detail/reverse_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/simple_disposers.hpp", + "external/sources/boost/boost/intrusive/detail/size_holder.hpp", + "external/sources/boost/boost/intrusive/detail/slist_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/slist_node.hpp", + "external/sources/boost/boost/intrusive/detail/std_fwd.hpp", + "external/sources/boost/boost/intrusive/detail/transform_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/tree_iterator.hpp", + "external/sources/boost/boost/intrusive/detail/tree_node.hpp", + "external/sources/boost/boost/intrusive/detail/tree_value_compare.hpp", + "external/sources/boost/boost/intrusive/detail/uncast.hpp", + "external/sources/boost/boost/intrusive/detail/workaround.hpp", + "external/sources/boost/boost/intrusive/hashtable.hpp", + "external/sources/boost/boost/intrusive/intrusive_fwd.hpp", + "external/sources/boost/boost/intrusive/linear_slist_algorithms.hpp", + "external/sources/boost/boost/intrusive/link_mode.hpp", + "external/sources/boost/boost/intrusive/list.hpp", + "external/sources/boost/boost/intrusive/list_hook.hpp", + "external/sources/boost/boost/intrusive/member_value_traits.hpp", + "external/sources/boost/boost/intrusive/options.hpp", + "external/sources/boost/boost/intrusive/pack_options.hpp", + "external/sources/boost/boost/intrusive/parent_from_member.hpp", + "external/sources/boost/boost/intrusive/pointer_plus_bits.hpp", + "external/sources/boost/boost/intrusive/pointer_rebind.hpp", + "external/sources/boost/boost/intrusive/pointer_traits.hpp", + "external/sources/boost/boost/intrusive/priority_compare.hpp", + "external/sources/boost/boost/intrusive/rbtree.hpp", + "external/sources/boost/boost/intrusive/rbtree_algorithms.hpp", + "external/sources/boost/boost/intrusive/set.hpp", + "external/sources/boost/boost/intrusive/set_hook.hpp", + "external/sources/boost/boost/intrusive/sg_set.hpp", + "external/sources/boost/boost/intrusive/sgtree.hpp", + "external/sources/boost/boost/intrusive/sgtree_algorithms.hpp", + "external/sources/boost/boost/intrusive/slist.hpp", + "external/sources/boost/boost/intrusive/slist_hook.hpp", + "external/sources/boost/boost/intrusive/splay_set.hpp", + "external/sources/boost/boost/intrusive/splaytree.hpp", + "external/sources/boost/boost/intrusive/splaytree_algorithms.hpp", + "external/sources/boost/boost/intrusive/treap.hpp", + "external/sources/boost/boost/intrusive/treap_algorithms.hpp", + "external/sources/boost/boost/intrusive/treap_set.hpp", + "external/sources/boost/boost/intrusive/trivial_value_traits.hpp", + "external/sources/boost/boost/intrusive/unordered_set.hpp", + "external/sources/boost/boost/intrusive/unordered_set_hook.hpp", + "external/sources/boost/boost/intrusive_ptr.hpp", + "external/sources/boost/boost/io/detail/buffer_fill.hpp", + "external/sources/boost/boost/io/detail/ostream_guard.hpp", + "external/sources/boost/boost/io/ios_state.hpp", + "external/sources/boost/boost/io/ostream_joiner.hpp", + "external/sources/boost/boost/io/ostream_put.hpp", + "external/sources/boost/boost/io/quoted.hpp", + "external/sources/boost/boost/io_fwd.hpp", + "external/sources/boost/boost/iostreams/categories.hpp", + "external/sources/boost/boost/iostreams/chain.hpp", + "external/sources/boost/boost/iostreams/char_traits.hpp", + "external/sources/boost/boost/iostreams/checked_operations.hpp", + "external/sources/boost/boost/iostreams/close.hpp", + "external/sources/boost/boost/iostreams/code_converter.hpp", + "external/sources/boost/boost/iostreams/combine.hpp", + "external/sources/boost/boost/iostreams/compose.hpp", + "external/sources/boost/boost/iostreams/concepts.hpp", + "external/sources/boost/boost/iostreams/constants.hpp", + "external/sources/boost/boost/iostreams/copy.hpp", + "external/sources/boost/boost/iostreams/detail/absolute_path.hpp", + "external/sources/boost/boost/iostreams/detail/access_control.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/concept_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/device_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/direct_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/filter_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/mode_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/non_blocking_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/output_iterator_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/adapter/range_adapter.hpp", + "external/sources/boost/boost/iostreams/detail/add_facet.hpp", + "external/sources/boost/boost/iostreams/detail/bool_trait_def.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/forward.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream.hpp", + "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream_buffer.hpp", + "external/sources/boost/boost/iostreams/detail/buffer.hpp", + "external/sources/boost/boost/iostreams/detail/call_traits.hpp", + "external/sources/boost/boost/iostreams/detail/char_traits.hpp", + "external/sources/boost/boost/iostreams/detail/codecvt_helper.hpp", + "external/sources/boost/boost/iostreams/detail/codecvt_holder.hpp", + "external/sources/boost/boost/iostreams/detail/config/auto_link.hpp", + "external/sources/boost/boost/iostreams/detail/config/bzip2.hpp", + "external/sources/boost/boost/iostreams/detail/config/codecvt.hpp", + "external/sources/boost/boost/iostreams/detail/config/disable_warnings.hpp", + "external/sources/boost/boost/iostreams/detail/config/dyn_link.hpp", + "external/sources/boost/boost/iostreams/detail/config/enable_warnings.hpp", + "external/sources/boost/boost/iostreams/detail/config/fpos.hpp", + "external/sources/boost/boost/iostreams/detail/config/gcc.hpp", + "external/sources/boost/boost/iostreams/detail/config/limits.hpp", + "external/sources/boost/boost/iostreams/detail/config/overload_resolution.hpp", + "external/sources/boost/boost/iostreams/detail/config/rtl.hpp", + "external/sources/boost/boost/iostreams/detail/config/unreachable_return.hpp", + "external/sources/boost/boost/iostreams/detail/config/wide_streams.hpp", + "external/sources/boost/boost/iostreams/detail/config/windows_posix.hpp", + "external/sources/boost/boost/iostreams/detail/config/zlib.hpp", + "external/sources/boost/boost/iostreams/detail/counted_array.hpp", + "external/sources/boost/boost/iostreams/detail/current_directory.hpp", + "external/sources/boost/boost/iostreams/detail/default_arg.hpp", + "external/sources/boost/boost/iostreams/detail/dispatch.hpp", + "external/sources/boost/boost/iostreams/detail/double_object.hpp", + "external/sources/boost/boost/iostreams/detail/enable_if_stream.hpp", + "external/sources/boost/boost/iostreams/detail/error.hpp", + "external/sources/boost/boost/iostreams/detail/execute.hpp", + "external/sources/boost/boost/iostreams/detail/file_handle.hpp", + "external/sources/boost/boost/iostreams/detail/forward.hpp", + "external/sources/boost/boost/iostreams/detail/fstream.hpp", + "external/sources/boost/boost/iostreams/detail/functional.hpp", + "external/sources/boost/boost/iostreams/detail/ios.hpp", + "external/sources/boost/boost/iostreams/detail/iostream.hpp", + "external/sources/boost/boost/iostreams/detail/is_dereferenceable.hpp", + "external/sources/boost/boost/iostreams/detail/is_iterator_range.hpp", + "external/sources/boost/boost/iostreams/detail/newline.hpp", + "external/sources/boost/boost/iostreams/detail/optional.hpp", + "external/sources/boost/boost/iostreams/detail/param_type.hpp", + "external/sources/boost/boost/iostreams/detail/path.hpp", + "external/sources/boost/boost/iostreams/detail/push.hpp", + "external/sources/boost/boost/iostreams/detail/push_params.hpp", + "external/sources/boost/boost/iostreams/detail/resolve.hpp", + "external/sources/boost/boost/iostreams/detail/restrict_impl.hpp", + "external/sources/boost/boost/iostreams/detail/select.hpp", + "external/sources/boost/boost/iostreams/detail/select_by_size.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/chainbuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/direct_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/indirect_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/streambuf/linked_streambuf.hpp", + "external/sources/boost/boost/iostreams/detail/system_failure.hpp", + "external/sources/boost/boost/iostreams/detail/template_params.hpp", + "external/sources/boost/boost/iostreams/detail/translate_int_type.hpp", + "external/sources/boost/boost/iostreams/detail/wrap_unwrap.hpp", + "external/sources/boost/boost/iostreams/device/array.hpp", + "external/sources/boost/boost/iostreams/device/back_inserter.hpp", + "external/sources/boost/boost/iostreams/device/file.hpp", + "external/sources/boost/boost/iostreams/device/file_descriptor.hpp", + "external/sources/boost/boost/iostreams/device/mapped_file.hpp", + "external/sources/boost/boost/iostreams/device/null.hpp", + "external/sources/boost/boost/iostreams/filter/aggregate.hpp", + "external/sources/boost/boost/iostreams/filter/bzip2.hpp", + "external/sources/boost/boost/iostreams/filter/counter.hpp", + "external/sources/boost/boost/iostreams/filter/grep.hpp", + "external/sources/boost/boost/iostreams/filter/gzip.hpp", + "external/sources/boost/boost/iostreams/filter/line.hpp", + "external/sources/boost/boost/iostreams/filter/lzma.hpp", + "external/sources/boost/boost/iostreams/filter/newline.hpp", + "external/sources/boost/boost/iostreams/filter/regex.hpp", + "external/sources/boost/boost/iostreams/filter/stdio.hpp", + "external/sources/boost/boost/iostreams/filter/symmetric.hpp", + "external/sources/boost/boost/iostreams/filter/test.hpp", + "external/sources/boost/boost/iostreams/filter/zlib.hpp", + "external/sources/boost/boost/iostreams/filter/zstd.hpp", + "external/sources/boost/boost/iostreams/filtering_stream.hpp", + "external/sources/boost/boost/iostreams/filtering_streambuf.hpp", + "external/sources/boost/boost/iostreams/flush.hpp", + "external/sources/boost/boost/iostreams/get.hpp", + "external/sources/boost/boost/iostreams/imbue.hpp", + "external/sources/boost/boost/iostreams/input_sequence.hpp", + "external/sources/boost/boost/iostreams/invert.hpp", + "external/sources/boost/boost/iostreams/operations.hpp", + "external/sources/boost/boost/iostreams/operations_fwd.hpp", + "external/sources/boost/boost/iostreams/optimal_buffer_size.hpp", + "external/sources/boost/boost/iostreams/output_sequence.hpp", + "external/sources/boost/boost/iostreams/pipeline.hpp", + "external/sources/boost/boost/iostreams/positioning.hpp", + "external/sources/boost/boost/iostreams/put.hpp", + "external/sources/boost/boost/iostreams/putback.hpp", + "external/sources/boost/boost/iostreams/read.hpp", + "external/sources/boost/boost/iostreams/restrict.hpp", + "external/sources/boost/boost/iostreams/seek.hpp", + "external/sources/boost/boost/iostreams/skip.hpp", + "external/sources/boost/boost/iostreams/slice.hpp", + "external/sources/boost/boost/iostreams/stream.hpp", + "external/sources/boost/boost/iostreams/stream_buffer.hpp", + "external/sources/boost/boost/iostreams/tee.hpp", + "external/sources/boost/boost/iostreams/traits.hpp", + "external/sources/boost/boost/iostreams/traits_fwd.hpp", + "external/sources/boost/boost/iostreams/write.hpp", + "external/sources/boost/boost/is_placeholder.hpp", + "external/sources/boost/boost/iterator.hpp", + "external/sources/boost/boost/iterator/advance.hpp", + "external/sources/boost/boost/iterator/counting_iterator.hpp", + "external/sources/boost/boost/iterator/detail/any_conversion_eater.hpp", + "external/sources/boost/boost/iterator/detail/config_def.hpp", + "external/sources/boost/boost/iterator/detail/config_undef.hpp", + "external/sources/boost/boost/iterator/detail/enable_if.hpp", + "external/sources/boost/boost/iterator/detail/facade_iterator_category.hpp", + "external/sources/boost/boost/iterator/detail/minimum_category.hpp", + "external/sources/boost/boost/iterator/distance.hpp", + "external/sources/boost/boost/iterator/filter_iterator.hpp", + "external/sources/boost/boost/iterator/function_input_iterator.hpp", + "external/sources/boost/boost/iterator/function_output_iterator.hpp", + "external/sources/boost/boost/iterator/indirect_iterator.hpp", + "external/sources/boost/boost/iterator/interoperable.hpp", + "external/sources/boost/boost/iterator/is_lvalue_iterator.hpp", + "external/sources/boost/boost/iterator/is_readable_iterator.hpp", + "external/sources/boost/boost/iterator/iterator_adaptor.hpp", + "external/sources/boost/boost/iterator/iterator_archetypes.hpp", + "external/sources/boost/boost/iterator/iterator_categories.hpp", + "external/sources/boost/boost/iterator/iterator_concepts.hpp", + "external/sources/boost/boost/iterator/iterator_facade.hpp", + "external/sources/boost/boost/iterator/iterator_traits.hpp", + "external/sources/boost/boost/iterator/minimum_category.hpp", + "external/sources/boost/boost/iterator/new_iterator_tests.hpp", + "external/sources/boost/boost/iterator/permutation_iterator.hpp", + "external/sources/boost/boost/iterator/reverse_iterator.hpp", + "external/sources/boost/boost/iterator/transform_iterator.hpp", + "external/sources/boost/boost/iterator/zip_iterator.hpp", + "external/sources/boost/boost/iterator_adaptors.hpp", + "external/sources/boost/boost/lambda/algorithm.hpp", + "external/sources/boost/boost/lambda/bind.hpp", + "external/sources/boost/boost/lambda/casts.hpp", + "external/sources/boost/boost/lambda/closures.hpp", + "external/sources/boost/boost/lambda/construct.hpp", + "external/sources/boost/boost/lambda/control_structures.hpp", + "external/sources/boost/boost/lambda/core.hpp", + "external/sources/boost/boost/lambda/detail/actions.hpp", + "external/sources/boost/boost/lambda/detail/arity_code.hpp", + "external/sources/boost/boost/lambda/detail/bind_functions.hpp", + "external/sources/boost/boost/lambda/detail/control_constructs_common.hpp", + "external/sources/boost/boost/lambda/detail/function_adaptors.hpp", + "external/sources/boost/boost/lambda/detail/is_instance_of.hpp", + "external/sources/boost/boost/lambda/detail/lambda_config.hpp", + "external/sources/boost/boost/lambda/detail/lambda_functor_base.hpp", + "external/sources/boost/boost/lambda/detail/lambda_functors.hpp", + "external/sources/boost/boost/lambda/detail/lambda_fwd.hpp", + "external/sources/boost/boost/lambda/detail/lambda_traits.hpp", + "external/sources/boost/boost/lambda/detail/member_ptr.hpp", + "external/sources/boost/boost/lambda/detail/operator_actions.hpp", + "external/sources/boost/boost/lambda/detail/operator_lambda_func_base.hpp", + "external/sources/boost/boost/lambda/detail/operator_return_type_traits.hpp", + "external/sources/boost/boost/lambda/detail/operators.hpp", + "external/sources/boost/boost/lambda/detail/ret.hpp", + "external/sources/boost/boost/lambda/detail/return_type_traits.hpp", + "external/sources/boost/boost/lambda/detail/select_functions.hpp", + "external/sources/boost/boost/lambda/detail/suppress_unused.hpp", + "external/sources/boost/boost/lambda/exceptions.hpp", + "external/sources/boost/boost/lambda/if.hpp", + "external/sources/boost/boost/lambda/lambda.hpp", + "external/sources/boost/boost/lambda/loops.hpp", + "external/sources/boost/boost/lambda/numeric.hpp", + "external/sources/boost/boost/lambda/switch.hpp", + "external/sources/boost/boost/lexical_cast.hpp", + "external/sources/boost/boost/lexical_cast/bad_lexical_cast.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_lexical.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp", + "external/sources/boost/boost/lexical_cast/detail/converter_numeric.hpp", + "external/sources/boost/boost/lexical_cast/detail/inf_nan.hpp", + "external/sources/boost/boost/lexical_cast/detail/is_character.hpp", + "external/sources/boost/boost/lexical_cast/detail/lcast_char_constants.hpp", + "external/sources/boost/boost/lexical_cast/detail/lcast_unsigned_converters.hpp", + "external/sources/boost/boost/lexical_cast/detail/widest_char.hpp", + "external/sources/boost/boost/lexical_cast/lexical_cast_old.hpp", + "external/sources/boost/boost/lexical_cast/try_lexical_convert.hpp", + "external/sources/boost/boost/limits.hpp", + "external/sources/boost/boost/local_function.hpp", + "external/sources/boost/boost/local_function/aux_/add_pointed_const.hpp", + "external/sources/boost/boost/local_function/aux_/function.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/bind.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/functor.hpp", + "external/sources/boost/boost/local_function/aux_/macro/code_/result.hpp", + "external/sources/boost/boost/local_function/aux_/macro/decl.hpp", + "external/sources/boost/boost/local_function/aux_/macro/name.hpp", + "external/sources/boost/boost/local_function/aux_/macro/typeof.hpp", + "external/sources/boost/boost/local_function/aux_/member.hpp", + "external/sources/boost/boost/local_function/aux_/nobind.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/bind.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/append.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/index.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/nil.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/set_error.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_binds.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_const_binds.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_error.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_params.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_returns.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/any_bind_type.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/sign.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/defaults.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/this.hpp", + "external/sources/boost/boost/local_function/aux_/preprocessor/traits/param.hpp", + "external/sources/boost/boost/local_function/aux_/symbol.hpp", + "external/sources/boost/boost/local_function/config.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/auto.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/bind.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const_bind.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/default.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/add.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/is.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/remove.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/inline.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/recursive.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/register.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/return.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/this.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/thisunderscore.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/keyword/void.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/line_counter.hpp", + "external/sources/boost/boost/local_function/detail/preprocessor/void_list.hpp", + "external/sources/boost/boost/locale.hpp", + "external/sources/boost/boost/locale/boundary.hpp", + "external/sources/boost/boost/locale/boundary/boundary_point.hpp", + "external/sources/boost/boost/locale/boundary/facets.hpp", + "external/sources/boost/boost/locale/boundary/index.hpp", + "external/sources/boost/boost/locale/boundary/segment.hpp", + "external/sources/boost/boost/locale/boundary/types.hpp", + "external/sources/boost/boost/locale/collator.hpp", + "external/sources/boost/boost/locale/config.hpp", + "external/sources/boost/boost/locale/conversion.hpp", + "external/sources/boost/boost/locale/date_time.hpp", + "external/sources/boost/boost/locale/date_time_facet.hpp", + "external/sources/boost/boost/locale/definitions.hpp", + "external/sources/boost/boost/locale/encoding.hpp", + "external/sources/boost/boost/locale/encoding_errors.hpp", + "external/sources/boost/boost/locale/encoding_utf.hpp", + "external/sources/boost/boost/locale/format.hpp", + "external/sources/boost/boost/locale/formatting.hpp", + "external/sources/boost/boost/locale/generator.hpp", + "external/sources/boost/boost/locale/generic_codecvt.hpp", + "external/sources/boost/boost/locale/gnu_gettext.hpp", + "external/sources/boost/boost/locale/hold_ptr.hpp", + "external/sources/boost/boost/locale/info.hpp", + "external/sources/boost/boost/locale/localization_backend.hpp", + "external/sources/boost/boost/locale/message.hpp", + "external/sources/boost/boost/locale/time_zone.hpp", + "external/sources/boost/boost/locale/utf.hpp", + "external/sources/boost/boost/locale/utf8_codecvt.hpp", + "external/sources/boost/boost/locale/util.hpp", + "external/sources/boost/boost/lockfree/detail/atomic.hpp", + "external/sources/boost/boost/lockfree/detail/copy_payload.hpp", + "external/sources/boost/boost/lockfree/detail/freelist.hpp", + "external/sources/boost/boost/lockfree/detail/parameter.hpp", + "external/sources/boost/boost/lockfree/detail/prefix.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr_dcas.hpp", + "external/sources/boost/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp", + "external/sources/boost/boost/lockfree/lockfree_forward.hpp", + "external/sources/boost/boost/lockfree/policies.hpp", + "external/sources/boost/boost/lockfree/queue.hpp", + "external/sources/boost/boost/lockfree/spsc_queue.hpp", + "external/sources/boost/boost/lockfree/stack.hpp", + "external/sources/boost/boost/log/attributes.hpp", + "external/sources/boost/boost/log/attributes/attribute.hpp", + "external/sources/boost/boost/log/attributes/attribute_cast.hpp", + "external/sources/boost/boost/log/attributes/attribute_name.hpp", + "external/sources/boost/boost/log/attributes/attribute_set.hpp", + "external/sources/boost/boost/log/attributes/attribute_value.hpp", + "external/sources/boost/boost/log/attributes/attribute_value_impl.hpp", + "external/sources/boost/boost/log/attributes/attribute_value_set.hpp", + "external/sources/boost/boost/log/attributes/clock.hpp", + "external/sources/boost/boost/log/attributes/constant.hpp", + "external/sources/boost/boost/log/attributes/counter.hpp", + "external/sources/boost/boost/log/attributes/current_process_id.hpp", + "external/sources/boost/boost/log/attributes/current_process_name.hpp", + "external/sources/boost/boost/log/attributes/current_thread_id.hpp", + "external/sources/boost/boost/log/attributes/fallback_policy.hpp", + "external/sources/boost/boost/log/attributes/fallback_policy_fwd.hpp", + "external/sources/boost/boost/log/attributes/function.hpp", + "external/sources/boost/boost/log/attributes/mutable_constant.hpp", + "external/sources/boost/boost/log/attributes/named_scope.hpp", + "external/sources/boost/boost/log/attributes/scoped_attribute.hpp", + "external/sources/boost/boost/log/attributes/time_traits.hpp", + "external/sources/boost/boost/log/attributes/timer.hpp", + "external/sources/boost/boost/log/attributes/value_extraction.hpp", + "external/sources/boost/boost/log/attributes/value_extraction_fwd.hpp", + "external/sources/boost/boost/log/attributes/value_visitation.hpp", + "external/sources/boost/boost/log/attributes/value_visitation_fwd.hpp", + "external/sources/boost/boost/log/common.hpp", + "external/sources/boost/boost/log/core.hpp", + "external/sources/boost/boost/log/core/core.hpp", + "external/sources/boost/boost/log/core/record.hpp", + "external/sources/boost/boost/log/core/record_view.hpp", + "external/sources/boost/boost/log/detail/adaptive_mutex.hpp", + "external/sources/boost/boost/log/detail/allocator_traits.hpp", + "external/sources/boost/boost/log/detail/asio_fwd.hpp", + "external/sources/boost/boost/log/detail/attachable_sstream_buf.hpp", + "external/sources/boost/boost/log/detail/attr_output_impl.hpp", + "external/sources/boost/boost/log/detail/attr_output_terminal.hpp", + "external/sources/boost/boost/log/detail/attribute_get_value_impl.hpp", + "external/sources/boost/boost/log/detail/attribute_predicate.hpp", + "external/sources/boost/boost/log/detail/c_str.hpp", + "external/sources/boost/boost/log/detail/cleanup_scope_guard.hpp", + "external/sources/boost/boost/log/detail/code_conversion.hpp", + "external/sources/boost/boost/log/detail/config.hpp", + "external/sources/boost/boost/log/detail/copy_cv.hpp", + "external/sources/boost/boost/log/detail/custom_terminal_spec.hpp", + "external/sources/boost/boost/log/detail/date_time_fmt_gen_traits_fwd.hpp", + "external/sources/boost/boost/log/detail/date_time_format_parser.hpp", + "external/sources/boost/boost/log/detail/decomposed_time.hpp", + "external/sources/boost/boost/log/detail/deduce_char_type.hpp", + "external/sources/boost/boost/log/detail/default_attribute_names.hpp", + "external/sources/boost/boost/log/detail/embedded_string_type.hpp", + "external/sources/boost/boost/log/detail/enqueued_record.hpp", + "external/sources/boost/boost/log/detail/event.hpp", + "external/sources/boost/boost/log/detail/fake_mutex.hpp", + "external/sources/boost/boost/log/detail/footer.hpp", + "external/sources/boost/boost/log/detail/format.hpp", + "external/sources/boost/boost/log/detail/function_traits.hpp", + "external/sources/boost/boost/log/detail/generate_overloads.hpp", + "external/sources/boost/boost/log/detail/header.hpp", + "external/sources/boost/boost/log/detail/id.hpp", + "external/sources/boost/boost/log/detail/is_character_type.hpp", + "external/sources/boost/boost/log/detail/is_ostream.hpp", + "external/sources/boost/boost/log/detail/light_function.hpp", + "external/sources/boost/boost/log/detail/light_function_pp.hpp", + "external/sources/boost/boost/log/detail/light_rw_mutex.hpp", + "external/sources/boost/boost/log/detail/locking_ptr.hpp", + "external/sources/boost/boost/log/detail/locks.hpp", + "external/sources/boost/boost/log/detail/named_scope_fmt_pp.hpp", + "external/sources/boost/boost/log/detail/native_typeof.hpp", + "external/sources/boost/boost/log/detail/parameter_tools.hpp", + "external/sources/boost/boost/log/detail/pause.hpp", + "external/sources/boost/boost/log/detail/pp_identity.hpp", + "external/sources/boost/boost/log/detail/process_id.hpp", + "external/sources/boost/boost/log/detail/setup_config.hpp", + "external/sources/boost/boost/log/detail/sfinae_tools.hpp", + "external/sources/boost/boost/log/detail/singleton.hpp", + "external/sources/boost/boost/log/detail/sink_init_helpers.hpp", + "external/sources/boost/boost/log/detail/snprintf.hpp", + "external/sources/boost/boost/log/detail/tagged_integer.hpp", + "external/sources/boost/boost/log/detail/thread_id.hpp", + "external/sources/boost/boost/log/detail/thread_specific.hpp", + "external/sources/boost/boost/log/detail/threadsafe_queue.hpp", + "external/sources/boost/boost/log/detail/timestamp.hpp", + "external/sources/boost/boost/log/detail/trivial_keyword.hpp", + "external/sources/boost/boost/log/detail/unary_function_terminal.hpp", + "external/sources/boost/boost/log/detail/value_ref_visitation.hpp", + "external/sources/boost/boost/log/exceptions.hpp", + "external/sources/boost/boost/log/expressions.hpp", + "external/sources/boost/boost/log/expressions/attr.hpp", + "external/sources/boost/boost/log/expressions/attr_fwd.hpp", + "external/sources/boost/boost/log/expressions/filter.hpp", + "external/sources/boost/boost/log/expressions/formatter.hpp", + "external/sources/boost/boost/log/expressions/formatters.hpp", + "external/sources/boost/boost/log/expressions/formatters/auto_newline.hpp", + "external/sources/boost/boost/log/expressions/formatters/c_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/char_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/csv_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/date_time.hpp", + "external/sources/boost/boost/log/expressions/formatters/format.hpp", + "external/sources/boost/boost/log/expressions/formatters/if.hpp", + "external/sources/boost/boost/log/expressions/formatters/max_size_decorator.hpp", + "external/sources/boost/boost/log/expressions/formatters/named_scope.hpp", + "external/sources/boost/boost/log/expressions/formatters/stream.hpp", + "external/sources/boost/boost/log/expressions/formatters/wrap_formatter.hpp", + "external/sources/boost/boost/log/expressions/formatters/xml_decorator.hpp", + "external/sources/boost/boost/log/expressions/is_keyword_descriptor.hpp", + "external/sources/boost/boost/log/expressions/keyword.hpp", + "external/sources/boost/boost/log/expressions/keyword_fwd.hpp", + "external/sources/boost/boost/log/expressions/message.hpp", + "external/sources/boost/boost/log/expressions/predicates.hpp", + "external/sources/boost/boost/log/expressions/predicates/begins_with.hpp", + "external/sources/boost/boost/log/expressions/predicates/channel_severity_filter.hpp", + "external/sources/boost/boost/log/expressions/predicates/contains.hpp", + "external/sources/boost/boost/log/expressions/predicates/ends_with.hpp", + "external/sources/boost/boost/log/expressions/predicates/has_attr.hpp", + "external/sources/boost/boost/log/expressions/predicates/is_debugger_present.hpp", + "external/sources/boost/boost/log/expressions/predicates/is_in_range.hpp", + "external/sources/boost/boost/log/expressions/predicates/matches.hpp", + "external/sources/boost/boost/log/expressions/record.hpp", + "external/sources/boost/boost/log/keywords/auto_flush.hpp", + "external/sources/boost/boost/log/keywords/auto_newline_mode.hpp", + "external/sources/boost/boost/log/keywords/block_size.hpp", + "external/sources/boost/boost/log/keywords/capacity.hpp", + "external/sources/boost/boost/log/keywords/channel.hpp", + "external/sources/boost/boost/log/keywords/delimiter.hpp", + "external/sources/boost/boost/log/keywords/depth.hpp", + "external/sources/boost/boost/log/keywords/empty_marker.hpp", + "external/sources/boost/boost/log/keywords/enable_final_rotation.hpp", + "external/sources/boost/boost/log/keywords/facility.hpp", + "external/sources/boost/boost/log/keywords/file_name.hpp", + "external/sources/boost/boost/log/keywords/filter.hpp", + "external/sources/boost/boost/log/keywords/format.hpp", + "external/sources/boost/boost/log/keywords/ident.hpp", + "external/sources/boost/boost/log/keywords/incomplete_marker.hpp", + "external/sources/boost/boost/log/keywords/ip_version.hpp", + "external/sources/boost/boost/log/keywords/iteration.hpp", + "external/sources/boost/boost/log/keywords/log_name.hpp", + "external/sources/boost/boost/log/keywords/log_source.hpp", + "external/sources/boost/boost/log/keywords/max_files.hpp", + "external/sources/boost/boost/log/keywords/max_size.hpp", + "external/sources/boost/boost/log/keywords/message_file.hpp", + "external/sources/boost/boost/log/keywords/min_free_space.hpp", + "external/sources/boost/boost/log/keywords/name.hpp", + "external/sources/boost/boost/log/keywords/open_mode.hpp", + "external/sources/boost/boost/log/keywords/order.hpp", + "external/sources/boost/boost/log/keywords/ordering_window.hpp", + "external/sources/boost/boost/log/keywords/overflow_policy.hpp", + "external/sources/boost/boost/log/keywords/permissions.hpp", + "external/sources/boost/boost/log/keywords/registration.hpp", + "external/sources/boost/boost/log/keywords/rotation_size.hpp", + "external/sources/boost/boost/log/keywords/scan_method.hpp", + "external/sources/boost/boost/log/keywords/severity.hpp", + "external/sources/boost/boost/log/keywords/start_thread.hpp", + "external/sources/boost/boost/log/keywords/target.hpp", + "external/sources/boost/boost/log/keywords/target_file_name.hpp", + "external/sources/boost/boost/log/keywords/time_based_rotation.hpp", + "external/sources/boost/boost/log/keywords/use_impl.hpp", + "external/sources/boost/boost/log/sinks.hpp", + "external/sources/boost/boost/log/sinks/async_frontend.hpp", + "external/sources/boost/boost/log/sinks/attribute_mapping.hpp", + "external/sources/boost/boost/log/sinks/auto_newline_mode.hpp", + "external/sources/boost/boost/log/sinks/basic_sink_backend.hpp", + "external/sources/boost/boost/log/sinks/basic_sink_frontend.hpp", + "external/sources/boost/boost/log/sinks/block_on_overflow.hpp", + "external/sources/boost/boost/log/sinks/bounded_fifo_queue.hpp", + "external/sources/boost/boost/log/sinks/bounded_ordering_queue.hpp", + "external/sources/boost/boost/log/sinks/debug_output_backend.hpp", + "external/sources/boost/boost/log/sinks/drop_on_overflow.hpp", + "external/sources/boost/boost/log/sinks/event_log_backend.hpp", + "external/sources/boost/boost/log/sinks/event_log_constants.hpp", + "external/sources/boost/boost/log/sinks/frontend_requirements.hpp", + "external/sources/boost/boost/log/sinks/sink.hpp", + "external/sources/boost/boost/log/sinks/sync_frontend.hpp", + "external/sources/boost/boost/log/sinks/syslog_backend.hpp", + "external/sources/boost/boost/log/sinks/syslog_constants.hpp", + "external/sources/boost/boost/log/sinks/text_file_backend.hpp", + "external/sources/boost/boost/log/sinks/text_ipc_message_queue_backend.hpp", + "external/sources/boost/boost/log/sinks/text_multifile_backend.hpp", + "external/sources/boost/boost/log/sinks/text_ostream_backend.hpp", + "external/sources/boost/boost/log/sinks/unbounded_fifo_queue.hpp", + "external/sources/boost/boost/log/sinks/unbounded_ordering_queue.hpp", + "external/sources/boost/boost/log/sinks/unlocked_frontend.hpp", + "external/sources/boost/boost/log/sources/basic_logger.hpp", + "external/sources/boost/boost/log/sources/channel_feature.hpp", + "external/sources/boost/boost/log/sources/channel_logger.hpp", + "external/sources/boost/boost/log/sources/exception_handler_feature.hpp", + "external/sources/boost/boost/log/sources/features.hpp", + "external/sources/boost/boost/log/sources/global_logger_storage.hpp", + "external/sources/boost/boost/log/sources/logger.hpp", + "external/sources/boost/boost/log/sources/record_ostream.hpp", + "external/sources/boost/boost/log/sources/severity_channel_logger.hpp", + "external/sources/boost/boost/log/sources/severity_feature.hpp", + "external/sources/boost/boost/log/sources/severity_logger.hpp", + "external/sources/boost/boost/log/sources/threading_models.hpp", + "external/sources/boost/boost/log/support/date_time.hpp", + "external/sources/boost/boost/log/support/exception.hpp", + "external/sources/boost/boost/log/support/regex.hpp", + "external/sources/boost/boost/log/support/spirit_classic.hpp", + "external/sources/boost/boost/log/support/spirit_qi.hpp", + "external/sources/boost/boost/log/support/std_regex.hpp", + "external/sources/boost/boost/log/support/xpressive.hpp", + "external/sources/boost/boost/log/trivial.hpp", + "external/sources/boost/boost/log/utility/exception_handler.hpp", + "external/sources/boost/boost/log/utility/formatting_ostream.hpp", + "external/sources/boost/boost/log/utility/formatting_ostream_fwd.hpp", + "external/sources/boost/boost/log/utility/functional.hpp", + "external/sources/boost/boost/log/utility/functional/as_action.hpp", + "external/sources/boost/boost/log/utility/functional/begins_with.hpp", + "external/sources/boost/boost/log/utility/functional/bind.hpp", + "external/sources/boost/boost/log/utility/functional/bind_assign.hpp", + "external/sources/boost/boost/log/utility/functional/bind_output.hpp", + "external/sources/boost/boost/log/utility/functional/bind_to_log.hpp", + "external/sources/boost/boost/log/utility/functional/contains.hpp", + "external/sources/boost/boost/log/utility/functional/ends_with.hpp", + "external/sources/boost/boost/log/utility/functional/fun_ref.hpp", + "external/sources/boost/boost/log/utility/functional/in_range.hpp", + "external/sources/boost/boost/log/utility/functional/logical.hpp", + "external/sources/boost/boost/log/utility/functional/matches.hpp", + "external/sources/boost/boost/log/utility/functional/nop.hpp", + "external/sources/boost/boost/log/utility/functional/save_result.hpp", + "external/sources/boost/boost/log/utility/ipc/object_name.hpp", + "external/sources/boost/boost/log/utility/ipc/reliable_message_queue.hpp", + "external/sources/boost/boost/log/utility/manipulators.hpp", + "external/sources/boost/boost/log/utility/manipulators/add_value.hpp", + "external/sources/boost/boost/log/utility/manipulators/auto_newline.hpp", + "external/sources/boost/boost/log/utility/manipulators/dump.hpp", + "external/sources/boost/boost/log/utility/manipulators/optional.hpp", + "external/sources/boost/boost/log/utility/manipulators/range.hpp", + "external/sources/boost/boost/log/utility/manipulators/to_log.hpp", + "external/sources/boost/boost/log/utility/manipulators/tuple.hpp", + "external/sources/boost/boost/log/utility/once_block.hpp", + "external/sources/boost/boost/log/utility/open_mode.hpp", + "external/sources/boost/boost/log/utility/permissions.hpp", + "external/sources/boost/boost/log/utility/record_ordering.hpp", + "external/sources/boost/boost/log/utility/setup.hpp", + "external/sources/boost/boost/log/utility/setup/common_attributes.hpp", + "external/sources/boost/boost/log/utility/setup/console.hpp", + "external/sources/boost/boost/log/utility/setup/file.hpp", + "external/sources/boost/boost/log/utility/setup/filter_parser.hpp", + "external/sources/boost/boost/log/utility/setup/formatter_parser.hpp", + "external/sources/boost/boost/log/utility/setup/from_settings.hpp", + "external/sources/boost/boost/log/utility/setup/from_stream.hpp", + "external/sources/boost/boost/log/utility/setup/settings.hpp", + "external/sources/boost/boost/log/utility/setup/settings_parser.hpp", + "external/sources/boost/boost/log/utility/strictest_lock.hpp", + "external/sources/boost/boost/log/utility/string_literal.hpp", + "external/sources/boost/boost/log/utility/string_literal_fwd.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/date_time_types.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/dynamic_type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/standard_types.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/static_type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/type_dispatch/type_dispatcher.hpp", + "external/sources/boost/boost/log/utility/unique_identifier_name.hpp", + "external/sources/boost/boost/log/utility/unused_variable.hpp", + "external/sources/boost/boost/log/utility/value_ref.hpp", + "external/sources/boost/boost/log/utility/value_ref_fwd.hpp", + "external/sources/boost/boost/logic/tribool.hpp", + "external/sources/boost/boost/logic/tribool_fwd.hpp", + "external/sources/boost/boost/logic/tribool_io.hpp", + "external/sources/boost/boost/make_default.hpp", + "external/sources/boost/boost/make_shared.hpp", + "external/sources/boost/boost/make_unique.hpp", + "external/sources/boost/boost/math/bindings/detail/big_digamma.hpp", + "external/sources/boost/boost/math/bindings/detail/big_lanczos.hpp", + "external/sources/boost/boost/math/bindings/e_float.hpp", + "external/sources/boost/boost/math/bindings/mpfr.hpp", + "external/sources/boost/boost/math/bindings/mpreal.hpp", + "external/sources/boost/boost/math/bindings/rr.hpp", + "external/sources/boost/boost/math/common_factor.hpp", + "external/sources/boost/boost/math/common_factor_ct.hpp", + "external/sources/boost/boost/math/common_factor_rt.hpp", + "external/sources/boost/boost/math/complex.hpp", + "external/sources/boost/boost/math/complex/acos.hpp", + "external/sources/boost/boost/math/complex/acosh.hpp", + "external/sources/boost/boost/math/complex/asin.hpp", + "external/sources/boost/boost/math/complex/asinh.hpp", + "external/sources/boost/boost/math/complex/atan.hpp", + "external/sources/boost/boost/math/complex/atanh.hpp", + "external/sources/boost/boost/math/complex/details.hpp", + "external/sources/boost/boost/math/complex/fabs.hpp", + "external/sources/boost/boost/math/concepts/distributions.hpp", + "external/sources/boost/boost/math/concepts/real_concept.hpp", + "external/sources/boost/boost/math/concepts/real_type_concept.hpp", + "external/sources/boost/boost/math/concepts/std_real_concept.hpp", + "external/sources/boost/boost/math/constants/calculate_constants.hpp", + "external/sources/boost/boost/math/constants/constants.hpp", + "external/sources/boost/boost/math/constants/info.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_cmath.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex_std.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_iostream.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_limits.hpp", + "external/sources/boost/boost/math/cstdfloat/cstdfloat_types.hpp", + "external/sources/boost/boost/math/differentiation/autodiff.hpp", + "external/sources/boost/boost/math/differentiation/autodiff_cpp11.hpp", + "external/sources/boost/boost/math/differentiation/finite_difference.hpp", + "external/sources/boost/boost/math/differentiation/lanczos_smoothing.hpp", + "external/sources/boost/boost/math/distributions.hpp", + "external/sources/boost/boost/math/distributions/arcsine.hpp", + "external/sources/boost/boost/math/distributions/bernoulli.hpp", + "external/sources/boost/boost/math/distributions/beta.hpp", + "external/sources/boost/boost/math/distributions/binomial.hpp", + "external/sources/boost/boost/math/distributions/cauchy.hpp", + "external/sources/boost/boost/math/distributions/chi_squared.hpp", + "external/sources/boost/boost/math/distributions/complement.hpp", + "external/sources/boost/boost/math/distributions/detail/common_error_handling.hpp", + "external/sources/boost/boost/math/distributions/detail/derived_accessors.hpp", + "external/sources/boost/boost/math/distributions/detail/generic_mode.hpp", + "external/sources/boost/boost/math/distributions/detail/generic_quantile.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_cdf.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_pdf.hpp", + "external/sources/boost/boost/math/distributions/detail/hypergeometric_quantile.hpp", + "external/sources/boost/boost/math/distributions/detail/inv_discrete_quantile.hpp", + "external/sources/boost/boost/math/distributions/empirical_cumulative_distribution_function.hpp", + "external/sources/boost/boost/math/distributions/exponential.hpp", + "external/sources/boost/boost/math/distributions/extreme_value.hpp", + "external/sources/boost/boost/math/distributions/find_location.hpp", + "external/sources/boost/boost/math/distributions/find_scale.hpp", + "external/sources/boost/boost/math/distributions/fisher_f.hpp", + "external/sources/boost/boost/math/distributions/fwd.hpp", + "external/sources/boost/boost/math/distributions/gamma.hpp", + "external/sources/boost/boost/math/distributions/geometric.hpp", + "external/sources/boost/boost/math/distributions/hyperexponential.hpp", + "external/sources/boost/boost/math/distributions/hypergeometric.hpp", + "external/sources/boost/boost/math/distributions/inverse_chi_squared.hpp", + "external/sources/boost/boost/math/distributions/inverse_gamma.hpp", + "external/sources/boost/boost/math/distributions/inverse_gaussian.hpp", + "external/sources/boost/boost/math/distributions/laplace.hpp", + "external/sources/boost/boost/math/distributions/logistic.hpp", + "external/sources/boost/boost/math/distributions/lognormal.hpp", + "external/sources/boost/boost/math/distributions/negative_binomial.hpp", + "external/sources/boost/boost/math/distributions/non_central_beta.hpp", + "external/sources/boost/boost/math/distributions/non_central_chi_squared.hpp", + "external/sources/boost/boost/math/distributions/non_central_f.hpp", + "external/sources/boost/boost/math/distributions/non_central_t.hpp", + "external/sources/boost/boost/math/distributions/normal.hpp", + "external/sources/boost/boost/math/distributions/pareto.hpp", + "external/sources/boost/boost/math/distributions/poisson.hpp", + "external/sources/boost/boost/math/distributions/rayleigh.hpp", + "external/sources/boost/boost/math/distributions/skew_normal.hpp", + "external/sources/boost/boost/math/distributions/students_t.hpp", + "external/sources/boost/boost/math/distributions/triangular.hpp", + "external/sources/boost/boost/math/distributions/uniform.hpp", + "external/sources/boost/boost/math/distributions/weibull.hpp", + "external/sources/boost/boost/math/filters/daubechies.hpp", + "external/sources/boost/boost/math/interpolators/barycentric_rational.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_cubic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_quintic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cardinal_trigonometric.hpp", + "external/sources/boost/boost/math/interpolators/catmull_rom.hpp", + "external/sources/boost/boost/math/interpolators/cubic_b_spline.hpp", + "external/sources/boost/boost/math/interpolators/cubic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/detail/barycentric_rational_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_cubic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_quadratic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_quintic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cardinal_trigonometric_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cubic_b_spline_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/cubic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/quintic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/septic_hermite_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/vector_barycentric_rational_detail.hpp", + "external/sources/boost/boost/math/interpolators/detail/whittaker_shannon_detail.hpp", + "external/sources/boost/boost/math/interpolators/makima.hpp", + "external/sources/boost/boost/math/interpolators/pchip.hpp", + "external/sources/boost/boost/math/interpolators/quintic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/septic_hermite.hpp", + "external/sources/boost/boost/math/interpolators/vector_barycentric_rational.hpp", + "external/sources/boost/boost/math/interpolators/whittaker_shannon.hpp", + "external/sources/boost/boost/math/octonion.hpp", + "external/sources/boost/boost/math/policies/error_handling.hpp", + "external/sources/boost/boost/math/policies/policy.hpp", + "external/sources/boost/boost/math/quadrature/detail/exp_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/ooura_fourier_integrals_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/sinh_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_constants.hpp", + "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_detail.hpp", + "external/sources/boost/boost/math/quadrature/exp_sinh.hpp", + "external/sources/boost/boost/math/quadrature/gauss.hpp", + "external/sources/boost/boost/math/quadrature/gauss_kronrod.hpp", + "external/sources/boost/boost/math/quadrature/naive_monte_carlo.hpp", + "external/sources/boost/boost/math/quadrature/ooura_fourier_integrals.hpp", + "external/sources/boost/boost/math/quadrature/sinh_sinh.hpp", + "external/sources/boost/boost/math/quadrature/tanh_sinh.hpp", + "external/sources/boost/boost/math/quadrature/trapezoidal.hpp", + "external/sources/boost/boost/math/quadrature/wavelet_transforms.hpp", + "external/sources/boost/boost/math/quaternion.hpp", + "external/sources/boost/boost/math/special_functions.hpp", + "external/sources/boost/boost/math/special_functions/acosh.hpp", + "external/sources/boost/boost/math/special_functions/airy.hpp", + "external/sources/boost/boost/math/special_functions/asinh.hpp", + "external/sources/boost/boost/math/special_functions/atanh.hpp", + "external/sources/boost/boost/math/special_functions/bernoulli.hpp", + "external/sources/boost/boost/math/special_functions/bessel.hpp", + "external/sources/boost/boost/math/special_functions/bessel_iterators.hpp", + "external/sources/boost/boost/math/special_functions/bessel_prime.hpp", + "external/sources/boost/boost/math/special_functions/beta.hpp", + "external/sources/boost/boost/math/special_functions/binomial.hpp", + "external/sources/boost/boost/math/special_functions/cardinal_b_spline.hpp", + "external/sources/boost/boost/math/special_functions/cbrt.hpp", + "external/sources/boost/boost/math/special_functions/chebyshev.hpp", + "external/sources/boost/boost/math/special_functions/chebyshev_transform.hpp", + "external/sources/boost/boost/math/special_functions/cos_pi.hpp", + "external/sources/boost/boost/math/special_functions/daubechies_scaling.hpp", + "external/sources/boost/boost/math/special_functions/daubechies_wavelet.hpp", + "external/sources/boost/boost/math/special_functions/detail/airy_ai_bi_zero.hpp", + "external/sources/boost/boost/math/special_functions/detail/bernoulli_details.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_derivatives_linear.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_i0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_i1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_ik.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_j0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_j1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jn.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_jy_zero.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_k0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_k1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_kn.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_y0.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_y1.hpp", + "external/sources/boost/boost/math/special_functions/detail/bessel_yn.hpp", + "external/sources/boost/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp", + "external/sources/boost/boost/math/special_functions/detail/erf_inv.hpp", + "external/sources/boost/boost/math/special_functions/detail/fp_traits.hpp", + "external/sources/boost/boost/math/special_functions/detail/gamma_inva.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_0F1_bessel.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_addition_theorems_on_z.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_bessel.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_by_ratios.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_cf.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_a.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_abz.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_negative_b_regions.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_scaled_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_small_a_negative_b_by_ratio.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_asym.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_cf.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pFq_checked_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pade.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_rational.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_separated_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/hypergeometric_series.hpp", + "external/sources/boost/boost/math/special_functions/detail/ibeta_inv_ab.hpp", + "external/sources/boost/boost/math/special_functions/detail/ibeta_inverse.hpp", + "external/sources/boost/boost/math/special_functions/detail/iconv.hpp", + "external/sources/boost/boost/math/special_functions/detail/igamma_inverse.hpp", + "external/sources/boost/boost/math/special_functions/detail/igamma_large.hpp", + "external/sources/boost/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", + "external/sources/boost/boost/math/special_functions/detail/lanczos_sse2.hpp", + "external/sources/boost/boost/math/special_functions/detail/lgamma_small.hpp", + "external/sources/boost/boost/math/special_functions/detail/polygamma.hpp", + "external/sources/boost/boost/math/special_functions/detail/round_fwd.hpp", + "external/sources/boost/boost/math/special_functions/detail/t_distribution_inv.hpp", + "external/sources/boost/boost/math/special_functions/detail/unchecked_bernoulli.hpp", + "external/sources/boost/boost/math/special_functions/detail/unchecked_factorial.hpp", + "external/sources/boost/boost/math/special_functions/digamma.hpp", + "external/sources/boost/boost/math/special_functions/ellint_1.hpp", + "external/sources/boost/boost/math/special_functions/ellint_2.hpp", + "external/sources/boost/boost/math/special_functions/ellint_3.hpp", + "external/sources/boost/boost/math/special_functions/ellint_d.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rc.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rd.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rf.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rg.hpp", + "external/sources/boost/boost/math/special_functions/ellint_rj.hpp", + "external/sources/boost/boost/math/special_functions/erf.hpp", + "external/sources/boost/boost/math/special_functions/expint.hpp", + "external/sources/boost/boost/math/special_functions/expm1.hpp", + "external/sources/boost/boost/math/special_functions/factorials.hpp", + "external/sources/boost/boost/math/special_functions/fpclassify.hpp", + "external/sources/boost/boost/math/special_functions/gamma.hpp", + "external/sources/boost/boost/math/special_functions/gegenbauer.hpp", + "external/sources/boost/boost/math/special_functions/hankel.hpp", + "external/sources/boost/boost/math/special_functions/hermite.hpp", + "external/sources/boost/boost/math/special_functions/heuman_lambda.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_0F1.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_1F0.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_1F1.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_2F0.hpp", + "external/sources/boost/boost/math/special_functions/hypergeometric_pFq.hpp", + "external/sources/boost/boost/math/special_functions/hypot.hpp", + "external/sources/boost/boost/math/special_functions/jacobi.hpp", + "external/sources/boost/boost/math/special_functions/jacobi_elliptic.hpp", + "external/sources/boost/boost/math/special_functions/jacobi_zeta.hpp", + "external/sources/boost/boost/math/special_functions/laguerre.hpp", + "external/sources/boost/boost/math/special_functions/lambert_w.hpp", + "external/sources/boost/boost/math/special_functions/lanczos.hpp", + "external/sources/boost/boost/math/special_functions/legendre.hpp", + "external/sources/boost/boost/math/special_functions/legendre_stieltjes.hpp", + "external/sources/boost/boost/math/special_functions/log1p.hpp", + "external/sources/boost/boost/math/special_functions/math_fwd.hpp", + "external/sources/boost/boost/math/special_functions/modf.hpp", + "external/sources/boost/boost/math/special_functions/next.hpp", + "external/sources/boost/boost/math/special_functions/nonfinite_num_facets.hpp", + "external/sources/boost/boost/math/special_functions/owens_t.hpp", + "external/sources/boost/boost/math/special_functions/polygamma.hpp", + "external/sources/boost/boost/math/special_functions/pow.hpp", + "external/sources/boost/boost/math/special_functions/powm1.hpp", + "external/sources/boost/boost/math/special_functions/prime.hpp", + "external/sources/boost/boost/math/special_functions/relative_difference.hpp", + "external/sources/boost/boost/math/special_functions/round.hpp", + "external/sources/boost/boost/math/special_functions/sign.hpp", + "external/sources/boost/boost/math/special_functions/sin_pi.hpp", + "external/sources/boost/boost/math/special_functions/sinc.hpp", + "external/sources/boost/boost/math/special_functions/sinhc.hpp", + "external/sources/boost/boost/math/special_functions/spherical_harmonic.hpp", + "external/sources/boost/boost/math/special_functions/sqrt1pm1.hpp", + "external/sources/boost/boost/math/special_functions/trigamma.hpp", + "external/sources/boost/boost/math/special_functions/trunc.hpp", + "external/sources/boost/boost/math/special_functions/ulp.hpp", + "external/sources/boost/boost/math/special_functions/zeta.hpp", + "external/sources/boost/boost/math/statistics/anderson_darling.hpp", + "external/sources/boost/boost/math/statistics/bivariate_statistics.hpp", + "external/sources/boost/boost/math/statistics/linear_regression.hpp", + "external/sources/boost/boost/math/statistics/ljung_box.hpp", + "external/sources/boost/boost/math/statistics/runs_test.hpp", + "external/sources/boost/boost/math/statistics/signal_statistics.hpp", + "external/sources/boost/boost/math/statistics/t_test.hpp", + "external/sources/boost/boost/math/statistics/univariate_statistics.hpp", + "external/sources/boost/boost/math/tools/atomic.hpp", + "external/sources/boost/boost/math/tools/big_constant.hpp", + "external/sources/boost/boost/math/tools/bivariate_statistics.hpp", + "external/sources/boost/boost/math/tools/complex.hpp", + "external/sources/boost/boost/math/tools/condition_numbers.hpp", + "external/sources/boost/boost/math/tools/config.hpp", + "external/sources/boost/boost/math/tools/convert_from_string.hpp", + "external/sources/boost/boost/math/tools/cxx03_warn.hpp", + "external/sources/boost/boost/math/tools/detail/is_const_iterable.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner1_9.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner2_9.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_10.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_11.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_12.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_13.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_14.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_15.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_16.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_17.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_18.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_19.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_2.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_20.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_3.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_4.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_5.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_6.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_7.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_8.hpp", + "external/sources/boost/boost/math/tools/detail/polynomial_horner3_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner1_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner2_9.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_10.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_11.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_12.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_13.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_14.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_15.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_16.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_17.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_18.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_19.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_2.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_20.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_3.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_4.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_5.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_6.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_7.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_8.hpp", + "external/sources/boost/boost/math/tools/detail/rational_horner3_9.hpp", + "external/sources/boost/boost/math/tools/fraction.hpp", + "external/sources/boost/boost/math/tools/minima.hpp", + "external/sources/boost/boost/math/tools/norms.hpp", + "external/sources/boost/boost/math/tools/numerical_differentiation.hpp", + "external/sources/boost/boost/math/tools/polynomial.hpp", + "external/sources/boost/boost/math/tools/polynomial_gcd.hpp", + "external/sources/boost/boost/math/tools/precision.hpp", + "external/sources/boost/boost/math/tools/promotion.hpp", + "external/sources/boost/boost/math/tools/rational.hpp", + "external/sources/boost/boost/math/tools/real_cast.hpp", + "external/sources/boost/boost/math/tools/recurrence.hpp", + "external/sources/boost/boost/math/tools/roots.hpp", + "external/sources/boost/boost/math/tools/series.hpp", + "external/sources/boost/boost/math/tools/signal_statistics.hpp", + "external/sources/boost/boost/math/tools/stats.hpp", + "external/sources/boost/boost/math/tools/test_value.hpp", + "external/sources/boost/boost/math/tools/toms748_solve.hpp", + "external/sources/boost/boost/math/tools/traits.hpp", + "external/sources/boost/boost/math/tools/tuple.hpp", + "external/sources/boost/boost/math/tools/univariate_statistics.hpp", + "external/sources/boost/boost/math/tools/user.hpp", + "external/sources/boost/boost/math/tools/workaround.hpp", + "external/sources/boost/boost/math/tr1.hpp", + "external/sources/boost/boost/math/tr1_c_macros.ipp", + "external/sources/boost/boost/math_fwd.hpp", + "external/sources/boost/boost/mem_fn.hpp", + "external/sources/boost/boost/memory_order.hpp", + "external/sources/boost/boost/metaparse.hpp", + "external/sources/boost/boost/metaparse/accept.hpp", + "external/sources/boost/boost/metaparse/accept_tag.hpp", + "external/sources/boost/boost/metaparse/accept_when.hpp", + "external/sources/boost/boost/metaparse/alphanum.hpp", + "external/sources/boost/boost/metaparse/always.hpp", + "external/sources/boost/boost/metaparse/always_c.hpp", + "external/sources/boost/boost/metaparse/change_error_message.hpp", + "external/sources/boost/boost/metaparse/config.hpp", + "external/sources/boost/boost/metaparse/debug_parsing_error.hpp", + "external/sources/boost/boost/metaparse/define_error.hpp", + "external/sources/boost/boost/metaparse/digit.hpp", + "external/sources/boost/boost/metaparse/digit_val.hpp", + "external/sources/boost/boost/metaparse/empty.hpp", + "external/sources/boost/boost/metaparse/entire_input.hpp", + "external/sources/boost/boost/metaparse/error/digit_expected.hpp", + "external/sources/boost/boost/metaparse/error/end_of_input_expected.hpp", + "external/sources/boost/boost/metaparse/error/index_out_of_range.hpp", + "external/sources/boost/boost/metaparse/error/letter_expected.hpp", + "external/sources/boost/boost/metaparse/error/literal_expected.hpp", + "external/sources/boost/boost/metaparse/error/none_of_the_expected_cases_found.hpp", + "external/sources/boost/boost/metaparse/error/unexpected_character.hpp", + "external/sources/boost/boost/metaparse/error/unexpected_end_of_input.hpp", + "external/sources/boost/boost/metaparse/error/unpaired.hpp", + "external/sources/boost/boost/metaparse/error/whitespace_expected.hpp", + "external/sources/boost/boost/metaparse/except.hpp", + "external/sources/boost/boost/metaparse/fail.hpp", + "external/sources/boost/boost/metaparse/fail_at_first_char_expected.hpp", + "external/sources/boost/boost/metaparse/fail_tag.hpp", + "external/sources/boost/boost/metaparse/first_of.hpp", + "external/sources/boost/boost/metaparse/foldl.hpp", + "external/sources/boost/boost/metaparse/foldl1.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/foldl_reject_incomplete_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/foldl_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/foldr.hpp", + "external/sources/boost/boost/metaparse/foldr1.hpp", + "external/sources/boost/boost/metaparse/foldr_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/foldr_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/foldr_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/get_col.hpp", + "external/sources/boost/boost/metaparse/get_line.hpp", + "external/sources/boost/boost/metaparse/get_message.hpp", + "external/sources/boost/boost/metaparse/get_position.hpp", + "external/sources/boost/boost/metaparse/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/get_remaining.hpp", + "external/sources/boost/boost/metaparse/get_result.hpp", + "external/sources/boost/boost/metaparse/grammar.hpp", + "external/sources/boost/boost/metaparse/if_.hpp", + "external/sources/boost/boost/metaparse/int_.hpp", + "external/sources/boost/boost/metaparse/is_error.hpp", + "external/sources/boost/boost/metaparse/iterate.hpp", + "external/sources/boost/boost/metaparse/iterate_c.hpp", + "external/sources/boost/boost/metaparse/keyword.hpp", + "external/sources/boost/boost/metaparse/last_of.hpp", + "external/sources/boost/boost/metaparse/letter.hpp", + "external/sources/boost/boost/metaparse/limit_one_char_except_size.hpp", + "external/sources/boost/boost/metaparse/limit_one_of_size.hpp", + "external/sources/boost/boost/metaparse/limit_sequence_size.hpp", + "external/sources/boost/boost/metaparse/limit_string_size.hpp", + "external/sources/boost/boost/metaparse/lit.hpp", + "external/sources/boost/boost/metaparse/lit_c.hpp", + "external/sources/boost/boost/metaparse/look_ahead.hpp", + "external/sources/boost/boost/metaparse/middle_of.hpp", + "external/sources/boost/boost/metaparse/next_char.hpp", + "external/sources/boost/boost/metaparse/next_line.hpp", + "external/sources/boost/boost/metaparse/nth_of.hpp", + "external/sources/boost/boost/metaparse/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/one_char.hpp", + "external/sources/boost/boost/metaparse/one_char_except.hpp", + "external/sources/boost/boost/metaparse/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/one_of.hpp", + "external/sources/boost/boost/metaparse/one_of_c.hpp", + "external/sources/boost/boost/metaparse/optional.hpp", + "external/sources/boost/boost/metaparse/range.hpp", + "external/sources/boost/boost/metaparse/range_c.hpp", + "external/sources/boost/boost/metaparse/reject.hpp", + "external/sources/boost/boost/metaparse/repeated.hpp", + "external/sources/boost/boost/metaparse/repeated1.hpp", + "external/sources/boost/boost/metaparse/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/repeated_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/repeated_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/return_.hpp", + "external/sources/boost/boost/metaparse/sequence.hpp", + "external/sources/boost/boost/metaparse/sequence_apply.hpp", + "external/sources/boost/boost/metaparse/source_position.hpp", + "external/sources/boost/boost/metaparse/source_position_tag.hpp", + "external/sources/boost/boost/metaparse/space.hpp", + "external/sources/boost/boost/metaparse/spaces.hpp", + "external/sources/boost/boost/metaparse/start.hpp", + "external/sources/boost/boost/metaparse/string.hpp", + "external/sources/boost/boost/metaparse/string_tag.hpp", + "external/sources/boost/boost/metaparse/token.hpp", + "external/sources/boost/boost/metaparse/transform.hpp", + "external/sources/boost/boost/metaparse/transform_error.hpp", + "external/sources/boost/boost/metaparse/transform_error_message.hpp", + "external/sources/boost/boost/metaparse/unless_error.hpp", + "external/sources/boost/boost/metaparse/util/digit_to_int.hpp", + "external/sources/boost/boost/metaparse/util/digit_to_int_c.hpp", + "external/sources/boost/boost/metaparse/util/in_range.hpp", + "external/sources/boost/boost/metaparse/util/in_range_c.hpp", + "external/sources/boost/boost/metaparse/util/int_to_digit.hpp", + "external/sources/boost/boost/metaparse/util/int_to_digit_c.hpp", + "external/sources/boost/boost/metaparse/util/is_digit.hpp", + "external/sources/boost/boost/metaparse/util/is_lcase_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_ucase_letter.hpp", + "external/sources/boost/boost/metaparse/util/is_whitespace.hpp", + "external/sources/boost/boost/metaparse/util/is_whitespace_c.hpp", + "external/sources/boost/boost/metaparse/v1/accept.hpp", + "external/sources/boost/boost/metaparse/v1/accept_tag.hpp", + "external/sources/boost/boost/metaparse/v1/accept_when.hpp", + "external/sources/boost/boost/metaparse/v1/alphanum.hpp", + "external/sources/boost/boost/metaparse/v1/always.hpp", + "external/sources/boost/boost/metaparse/v1/always_c.hpp", + "external/sources/boost/boost/metaparse/v1/change_error_message.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/any_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/concat.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/empty_string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/eval_later_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c_skip_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/or_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_back.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_front.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_back_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/size.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/impl/string_at.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp11/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp14/impl/any_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp14/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/empty_string.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/is_none.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/later_result.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_char_except_not_used.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of_fwd_op.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_back.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_front.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_back_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_front_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/size.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/skip_seq.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/impl/update_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/cpp98/string.hpp", + "external/sources/boost/boost/metaparse/v1/debug_parsing_error.hpp", + "external/sources/boost/boost/metaparse/v1/define_error.hpp", + "external/sources/boost/boost/metaparse/v1/digit.hpp", + "external/sources/boost/boost/metaparse/v1/digit_val.hpp", + "external/sources/boost/boost/metaparse/v1/empty.hpp", + "external/sources/boost/boost/metaparse/v1/entire_input.hpp", + "external/sources/boost/boost/metaparse/v1/error/digit_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/end_of_input_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/expected_to_fail.hpp", + "external/sources/boost/boost/metaparse/v1/error/index_out_of_range.hpp", + "external/sources/boost/boost/metaparse/v1/error/letter_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/literal_expected.hpp", + "external/sources/boost/boost/metaparse/v1/error/none_of_the_expected_cases_found.hpp", + "external/sources/boost/boost/metaparse/v1/error/unexpected_character.hpp", + "external/sources/boost/boost/metaparse/v1/error/unexpected_end_of_input.hpp", + "external/sources/boost/boost/metaparse/v1/error/unpaired.hpp", + "external/sources/boost/boost/metaparse/v1/error/whitespace_expected.hpp", + "external/sources/boost/boost/metaparse/v1/except.hpp", + "external/sources/boost/boost/metaparse/v1/fail.hpp", + "external/sources/boost/boost/metaparse/v1/fail_at_first_char_expected.hpp", + "external/sources/boost/boost/metaparse/v1/fail_tag.hpp", + "external/sources/boost/boost/metaparse/v1/first_of.hpp", + "external/sources/boost/boost/metaparse/v1/foldl.hpp", + "external/sources/boost/boost/metaparse/v1/foldl1.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/foldl_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/foldr.hpp", + "external/sources/boost/boost/metaparse/v1/foldr1.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/foldr_start_with_parser.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/accept.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_col.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_line.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_message.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_position.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/get_result.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/next_char.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/next_line.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/reject.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/source_position.hpp", + "external/sources/boost/boost/metaparse/v1/fwd/string.hpp", + "external/sources/boost/boost/metaparse/v1/get_col.hpp", + "external/sources/boost/boost/metaparse/v1/get_line.hpp", + "external/sources/boost/boost/metaparse/v1/get_message.hpp", + "external/sources/boost/boost/metaparse/v1/get_position.hpp", + "external/sources/boost/boost/metaparse/v1/get_prev_char.hpp", + "external/sources/boost/boost/metaparse/v1/get_remaining.hpp", + "external/sources/boost/boost/metaparse/v1/get_result.hpp", + "external/sources/boost/boost/metaparse/v1/grammar.hpp", + "external/sources/boost/boost/metaparse/v1/if_.hpp", + "external/sources/boost/boost/metaparse/v1/impl/apply_parser.hpp", + "external/sources/boost/boost/metaparse/v1/impl/assert_string_length.hpp", + "external/sources/boost/boost/metaparse/v1/impl/at_c.hpp", + "external/sources/boost/boost/metaparse/v1/impl/back_inserter.hpp", + "external/sources/boost/boost/metaparse/v1/impl/front_inserter.hpp", + "external/sources/boost/boost/metaparse/v1/impl/fwd/iterate_impl.hpp", + "external/sources/boost/boost/metaparse/v1/impl/has_type.hpp", + "external/sources/boost/boost/metaparse/v1/impl/is_char_c.hpp", + "external/sources/boost/boost/metaparse/v1/impl/iterate_impl.hpp", + "external/sources/boost/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp", + "external/sources/boost/boost/metaparse/v1/impl/next_digit.hpp", + "external/sources/boost/boost/metaparse/v1/impl/no_char.hpp", + "external/sources/boost/boost/metaparse/v1/impl/returns.hpp", + "external/sources/boost/boost/metaparse/v1/impl/string_iterator.hpp", + "external/sources/boost/boost/metaparse/v1/impl/string_iterator_tag.hpp", + "external/sources/boost/boost/metaparse/v1/impl/void_.hpp", + "external/sources/boost/boost/metaparse/v1/int_.hpp", + "external/sources/boost/boost/metaparse/v1/is_error.hpp", + "external/sources/boost/boost/metaparse/v1/iterate.hpp", + "external/sources/boost/boost/metaparse/v1/iterate_c.hpp", + "external/sources/boost/boost/metaparse/v1/keyword.hpp", + "external/sources/boost/boost/metaparse/v1/last_of.hpp", + "external/sources/boost/boost/metaparse/v1/letter.hpp", + "external/sources/boost/boost/metaparse/v1/lit.hpp", + "external/sources/boost/boost/metaparse/v1/lit_c.hpp", + "external/sources/boost/boost/metaparse/v1/look_ahead.hpp", + "external/sources/boost/boost/metaparse/v1/middle_of.hpp", + "external/sources/boost/boost/metaparse/v1/next_char.hpp", + "external/sources/boost/boost/metaparse/v1/next_line.hpp", + "external/sources/boost/boost/metaparse/v1/nth_of.hpp", + "external/sources/boost/boost/metaparse/v1/nth_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/one_char.hpp", + "external/sources/boost/boost/metaparse/v1/one_char_except.hpp", + "external/sources/boost/boost/metaparse/v1/one_char_except_c.hpp", + "external/sources/boost/boost/metaparse/v1/one_of.hpp", + "external/sources/boost/boost/metaparse/v1/one_of_c.hpp", + "external/sources/boost/boost/metaparse/v1/optional.hpp", + "external/sources/boost/boost/metaparse/v1/range.hpp", + "external/sources/boost/boost/metaparse/v1/range_c.hpp", + "external/sources/boost/boost/metaparse/v1/reject.hpp", + "external/sources/boost/boost/metaparse/v1/repeated.hpp", + "external/sources/boost/boost/metaparse/v1/repeated1.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_one_of.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_one_of1.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete.hpp", + "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete1.hpp", + "external/sources/boost/boost/metaparse/v1/return_.hpp", + "external/sources/boost/boost/metaparse/v1/sequence.hpp", + "external/sources/boost/boost/metaparse/v1/sequence_apply.hpp", + "external/sources/boost/boost/metaparse/v1/source_position.hpp", + "external/sources/boost/boost/metaparse/v1/source_position_tag.hpp", + "external/sources/boost/boost/metaparse/v1/space.hpp", + "external/sources/boost/boost/metaparse/v1/spaces.hpp", + "external/sources/boost/boost/metaparse/v1/start.hpp", + "external/sources/boost/boost/metaparse/v1/string.hpp", + "external/sources/boost/boost/metaparse/v1/string_tag.hpp", + "external/sources/boost/boost/metaparse/v1/swap.hpp", + "external/sources/boost/boost/metaparse/v1/token.hpp", + "external/sources/boost/boost/metaparse/v1/transform.hpp", + "external/sources/boost/boost/metaparse/v1/transform_error.hpp", + "external/sources/boost/boost/metaparse/v1/transform_error_message.hpp", + "external/sources/boost/boost/metaparse/v1/unless_error.hpp", + "external/sources/boost/boost/metaparse/v1/util/digit_to_int.hpp", + "external/sources/boost/boost/metaparse/v1/util/digit_to_int_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/in_range.hpp", + "external/sources/boost/boost/metaparse/v1/util/in_range_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/int_to_digit.hpp", + "external/sources/boost/boost/metaparse/v1/util/int_to_digit_c.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_digit.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_lcase_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_ucase_letter.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_whitespace.hpp", + "external/sources/boost/boost/metaparse/v1/util/is_whitespace_c.hpp", + "external/sources/boost/boost/metaparse/version.hpp", + "external/sources/boost/boost/move/adl_move_swap.hpp", + "external/sources/boost/boost/move/algo/adaptive_merge.hpp", + "external/sources/boost/boost/move/algo/adaptive_sort.hpp", + "external/sources/boost/boost/move/algo/detail/adaptive_sort_merge.hpp", + "external/sources/boost/boost/move/algo/detail/basic_op.hpp", + "external/sources/boost/boost/move/algo/detail/heap_sort.hpp", + "external/sources/boost/boost/move/algo/detail/insertion_sort.hpp", + "external/sources/boost/boost/move/algo/detail/is_sorted.hpp", + "external/sources/boost/boost/move/algo/detail/merge.hpp", + "external/sources/boost/boost/move/algo/detail/merge_sort.hpp", + "external/sources/boost/boost/move/algo/detail/pdqsort.hpp", + "external/sources/boost/boost/move/algo/detail/set_difference.hpp", + "external/sources/boost/boost/move/algo/move.hpp", + "external/sources/boost/boost/move/algo/predicate.hpp", + "external/sources/boost/boost/move/algo/unique.hpp", + "external/sources/boost/boost/move/algorithm.hpp", + "external/sources/boost/boost/move/core.hpp", + "external/sources/boost/boost/move/default_delete.hpp", + "external/sources/boost/boost/move/detail/config_begin.hpp", + "external/sources/boost/boost/move/detail/config_end.hpp", + "external/sources/boost/boost/move/detail/destruct_n.hpp", + "external/sources/boost/boost/move/detail/fwd_macros.hpp", + "external/sources/boost/boost/move/detail/iterator_to_raw_pointer.hpp", + "external/sources/boost/boost/move/detail/iterator_traits.hpp", + "external/sources/boost/boost/move/detail/meta_utils.hpp", + "external/sources/boost/boost/move/detail/meta_utils_core.hpp", + "external/sources/boost/boost/move/detail/move_helpers.hpp", + "external/sources/boost/boost/move/detail/placement_new.hpp", + "external/sources/boost/boost/move/detail/pointer_element.hpp", + "external/sources/boost/boost/move/detail/reverse_iterator.hpp", + "external/sources/boost/boost/move/detail/std_ns_begin.hpp", + "external/sources/boost/boost/move/detail/std_ns_end.hpp", + "external/sources/boost/boost/move/detail/to_raw_pointer.hpp", + "external/sources/boost/boost/move/detail/type_traits.hpp", + "external/sources/boost/boost/move/detail/unique_ptr_meta_utils.hpp", + "external/sources/boost/boost/move/detail/workaround.hpp", + "external/sources/boost/boost/move/iterator.hpp", + "external/sources/boost/boost/move/make_unique.hpp", + "external/sources/boost/boost/move/move.hpp", + "external/sources/boost/boost/move/traits.hpp", + "external/sources/boost/boost/move/unique_ptr.hpp", + "external/sources/boost/boost/move/utility.hpp", + "external/sources/boost/boost/move/utility_core.hpp", + "external/sources/boost/boost/mp11.hpp", + "external/sources/boost/boost/mp11/algorithm.hpp", + "external/sources/boost/boost/mp11/bind.hpp", + "external/sources/boost/boost/mp11/detail/config.hpp", + "external/sources/boost/boost/mp11/detail/mp_append.hpp", + "external/sources/boost/boost/mp11/detail/mp_copy_if.hpp", + "external/sources/boost/boost/mp11/detail/mp_count.hpp", + "external/sources/boost/boost/mp11/detail/mp_fold.hpp", + "external/sources/boost/boost/mp11/detail/mp_is_list.hpp", + "external/sources/boost/boost/mp11/detail/mp_list.hpp", + "external/sources/boost/boost/mp11/detail/mp_map_find.hpp", + "external/sources/boost/boost/mp11/detail/mp_min_element.hpp", + "external/sources/boost/boost/mp11/detail/mp_plus.hpp", + "external/sources/boost/boost/mp11/detail/mp_remove_if.hpp", + "external/sources/boost/boost/mp11/detail/mp_void.hpp", + "external/sources/boost/boost/mp11/detail/mp_with_index.hpp", + "external/sources/boost/boost/mp11/detail/mpl_common.hpp", + "external/sources/boost/boost/mp11/function.hpp", + "external/sources/boost/boost/mp11/integer_sequence.hpp", + "external/sources/boost/boost/mp11/integral.hpp", + "external/sources/boost/boost/mp11/list.hpp", + "external/sources/boost/boost/mp11/map.hpp", + "external/sources/boost/boost/mp11/mpl.hpp", + "external/sources/boost/boost/mp11/mpl_list.hpp", + "external/sources/boost/boost/mp11/mpl_tuple.hpp", + "external/sources/boost/boost/mp11/set.hpp", + "external/sources/boost/boost/mp11/tuple.hpp", + "external/sources/boost/boost/mp11/utility.hpp", + "external/sources/boost/boost/mp11/version.hpp", + "external/sources/boost/boost/mpi.hpp", + "external/sources/boost/boost/mpi/allocator.hpp", + "external/sources/boost/boost/mpi/cartesian_communicator.hpp", + "external/sources/boost/boost/mpi/collectives.hpp", + "external/sources/boost/boost/mpi/collectives/all_gather.hpp", + "external/sources/boost/boost/mpi/collectives/all_gatherv.hpp", + "external/sources/boost/boost/mpi/collectives/all_reduce.hpp", + "external/sources/boost/boost/mpi/collectives/all_to_all.hpp", + "external/sources/boost/boost/mpi/collectives/broadcast.hpp", + "external/sources/boost/boost/mpi/collectives/gather.hpp", + "external/sources/boost/boost/mpi/collectives/gatherv.hpp", + "external/sources/boost/boost/mpi/collectives/reduce.hpp", + "external/sources/boost/boost/mpi/collectives/scan.hpp", + "external/sources/boost/boost/mpi/collectives/scatter.hpp", + "external/sources/boost/boost/mpi/collectives/scatterv.hpp", + "external/sources/boost/boost/mpi/collectives_fwd.hpp", + "external/sources/boost/boost/mpi/communicator.hpp", + "external/sources/boost/boost/mpi/config.hpp", + "external/sources/boost/boost/mpi/datatype.hpp", + "external/sources/boost/boost/mpi/datatype_fwd.hpp", + "external/sources/boost/boost/mpi/detail/antiques.hpp", + "external/sources/boost/boost/mpi/detail/binary_buffer_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/binary_buffer_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/broadcast_sc.hpp", + "external/sources/boost/boost/mpi/detail/communicator_sc.hpp", + "external/sources/boost/boost/mpi/detail/computation_tree.hpp", + "external/sources/boost/boost/mpi/detail/content_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/forward_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/forward_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/forward_skeleton_iarchive.hpp", + "external/sources/boost/boost/mpi/detail/forward_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/ignore_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_cache.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_oarchive.hpp", + "external/sources/boost/boost/mpi/detail/mpi_datatype_primitive.hpp", + "external/sources/boost/boost/mpi/detail/offsets.hpp", + "external/sources/boost/boost/mpi/detail/packed_iprimitive.hpp", + "external/sources/boost/boost/mpi/detail/packed_oprimitive.hpp", + "external/sources/boost/boost/mpi/detail/point_to_point.hpp", + "external/sources/boost/boost/mpi/detail/request_handlers.hpp", + "external/sources/boost/boost/mpi/detail/text_skeleton_oarchive.hpp", + "external/sources/boost/boost/mpi/environment.hpp", + "external/sources/boost/boost/mpi/error_string.hpp", + "external/sources/boost/boost/mpi/exception.hpp", + "external/sources/boost/boost/mpi/graph_communicator.hpp", + "external/sources/boost/boost/mpi/group.hpp", + "external/sources/boost/boost/mpi/inplace.hpp", + "external/sources/boost/boost/mpi/intercommunicator.hpp", + "external/sources/boost/boost/mpi/nonblocking.hpp", + "external/sources/boost/boost/mpi/operations.hpp", + "external/sources/boost/boost/mpi/packed_iarchive.hpp", + "external/sources/boost/boost/mpi/packed_oarchive.hpp", + "external/sources/boost/boost/mpi/python.hpp", + "external/sources/boost/boost/mpi/python/config.hpp", + "external/sources/boost/boost/mpi/python/serialize.hpp", + "external/sources/boost/boost/mpi/python/skeleton_and_content.hpp", + "external/sources/boost/boost/mpi/request.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content_fwd.hpp", + "external/sources/boost/boost/mpi/skeleton_and_content_types.hpp", + "external/sources/boost/boost/mpi/status.hpp", + "external/sources/boost/boost/mpi/timer.hpp", + "external/sources/boost/boost/mpl/O1_size.hpp", + "external/sources/boost/boost/mpl/O1_size_fwd.hpp", + "external/sources/boost/boost/mpl/accumulate.hpp", + "external/sources/boost/boost/mpl/advance.hpp", + "external/sources/boost/boost/mpl/advance_fwd.hpp", + "external/sources/boost/boost/mpl/alias.hpp", + "external/sources/boost/boost/mpl/always.hpp", + "external/sources/boost/boost/mpl/and.hpp", + "external/sources/boost/boost/mpl/apply.hpp", + "external/sources/boost/boost/mpl/apply_fwd.hpp", + "external/sources/boost/boost/mpl/apply_wrap.hpp", + "external/sources/boost/boost/mpl/arg.hpp", + "external/sources/boost/boost/mpl/arg_fwd.hpp", + "external/sources/boost/boost/mpl/arithmetic.hpp", + "external/sources/boost/boost/mpl/as_sequence.hpp", + "external/sources/boost/boost/mpl/assert.hpp", + "external/sources/boost/boost/mpl/at.hpp", + "external/sources/boost/boost/mpl/at_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/O1_size_impl.hpp", + "external/sources/boost/boost/mpl/aux_/adl_barrier.hpp", + "external/sources/boost/boost/mpl/aux_/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/apply_1st.hpp", + "external/sources/boost/boost/mpl/aux_/arg_typedef.hpp", + "external/sources/boost/boost/mpl/aux_/arithmetic_op.hpp", + "external/sources/boost/boost/mpl/aux_/arity.hpp", + "external/sources/boost/boost/mpl/aux_/arity_spec.hpp", + "external/sources/boost/boost/mpl/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/aux_/back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/aux_/common_name_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/comparison_op.hpp", + "external/sources/boost/boost/mpl/aux_/config/adl.hpp", + "external/sources/boost/boost/mpl/aux_/config/arrays.hpp", + "external/sources/boost/boost/mpl/aux_/config/bcc.hpp", + "external/sources/boost/boost/mpl/aux_/config/bind.hpp", + "external/sources/boost/boost/mpl/aux_/config/compiler.hpp", + "external/sources/boost/boost/mpl/aux_/config/ctps.hpp", + "external/sources/boost/boost/mpl/aux_/config/dependent_nttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/dmc_ambiguous_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/config/dtp.hpp", + "external/sources/boost/boost/mpl/aux_/config/eti.hpp", + "external/sources/boost/boost/mpl/aux_/config/forwarding.hpp", + "external/sources/boost/boost/mpl/aux_/config/gcc.hpp", + "external/sources/boost/boost/mpl/aux_/config/gpu.hpp", + "external/sources/boost/boost/mpl/aux_/config/has_apply.hpp", + "external/sources/boost/boost/mpl/aux_/config/has_xxx.hpp", + "external/sources/boost/boost/mpl/aux_/config/integral.hpp", + "external/sources/boost/boost/mpl/aux_/config/intel.hpp", + "external/sources/boost/boost/mpl/aux_/config/lambda.hpp", + "external/sources/boost/boost/mpl/aux_/config/msvc.hpp", + "external/sources/boost/boost/mpl/aux_/config/msvc_typename.hpp", + "external/sources/boost/boost/mpl/aux_/config/nttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/operators.hpp", + "external/sources/boost/boost/mpl/aux_/config/overload_resolution.hpp", + "external/sources/boost/boost/mpl/aux_/config/pp_counter.hpp", + "external/sources/boost/boost/mpl/aux_/config/preprocessor.hpp", + "external/sources/boost/boost/mpl/aux_/config/static_constant.hpp", + "external/sources/boost/boost/mpl/aux_/config/ttp.hpp", + "external/sources/boost/boost/mpl/aux_/config/typeof.hpp", + "external/sources/boost/boost/mpl/aux_/config/use_preprocessed.hpp", + "external/sources/boost/boost/mpl/aux_/config/workaround.hpp", + "external/sources/boost/boost/mpl/aux_/contains_impl.hpp", + "external/sources/boost/boost/mpl/aux_/count_args.hpp", + "external/sources/boost/boost/mpl/aux_/count_impl.hpp", + "external/sources/boost/boost/mpl/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/aux_/filter_iter.hpp", + "external/sources/boost/boost/mpl/aux_/find_if_pred.hpp", + "external/sources/boost/boost/mpl/aux_/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/fold_impl_body.hpp", + "external/sources/boost/boost/mpl/aux_/fold_op.hpp", + "external/sources/boost/boost/mpl/aux_/fold_pred.hpp", + "external/sources/boost/boost/mpl/aux_/front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/has_apply.hpp", + "external/sources/boost/boost/mpl/aux_/has_begin.hpp", + "external/sources/boost/boost/mpl/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/aux_/has_rebind.hpp", + "external/sources/boost/boost/mpl/aux_/has_size.hpp", + "external/sources/boost/boost/mpl/aux_/has_tag.hpp", + "external/sources/boost/boost/mpl/aux_/has_type.hpp", + "external/sources/boost/boost/mpl/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/aux_/inserter_algorithm.hpp", + "external/sources/boost/boost/mpl/aux_/integral_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/is_msvc_eti_arg.hpp", + "external/sources/boost/boost/mpl/aux_/iter_apply.hpp", + "external/sources/boost/boost/mpl/aux_/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/iter_push_front.hpp", + "external/sources/boost/boost/mpl/aux_/joint_iter.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_arity_param.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_spec.hpp", + "external/sources/boost/boost/mpl/aux_/lambda_support.hpp", + "external/sources/boost/boost/mpl/aux_/largest_int.hpp", + "external/sources/boost/boost/mpl/aux_/logical_op.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_dtw.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_eti_base.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_is_class.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_never_true.hpp", + "external/sources/boost/boost/mpl/aux_/msvc_type.hpp", + "external/sources/boost/boost/mpl/aux_/na.hpp", + "external/sources/boost/boost/mpl/aux_/na_assert.hpp", + "external/sources/boost/boost/mpl/aux_/na_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/na_spec.hpp", + "external/sources/boost/boost/mpl/aux_/nested_type_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/nttp_decl.hpp", + "external/sources/boost/boost/mpl/aux_/numeric_cast_utils.hpp", + "external/sources/boost/boost/mpl/aux_/numeric_op.hpp", + "external/sources/boost/boost/mpl/aux_/order_impl.hpp", + "external/sources/boost/boost/mpl/aux_/overload_names.hpp", + "external/sources/boost/boost/mpl/aux_/partition_op.hpp", + "external/sources/boost/boost/mpl/aux_/pop_back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/pop_front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_backward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_forward.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/and.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/arg.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/basic_bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitand.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitxor.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/deque.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/divides.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/inherit.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_if_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/lambda_no_ctps.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/map.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/minus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/modulus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/not_equal_to.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/or.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/placeholders.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/plus.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/quote.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_left.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_right.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/times.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/unpack_args.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector_c.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/add.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/def_params_tail.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/default_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/enum.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/ext_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/filter_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/is_seq.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/partial_spec_params.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/range.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/repeat.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/sub.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/token_equal.hpp", + "external/sources/boost/boost/mpl/aux_/preprocessor/tuple.hpp", + "external/sources/boost/boost/mpl/aux_/ptr_to_ref.hpp", + "external/sources/boost/boost/mpl/aux_/push_back_impl.hpp", + "external/sources/boost/boost/mpl/aux_/push_front_impl.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/O1_size.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/back.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/empty.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/front.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/iterator.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/size.hpp", + "external/sources/boost/boost/mpl/aux_/range_c/tag.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_fold_impl_body.hpp", + "external/sources/boost/boost/mpl/aux_/reverse_iter_fold_impl.hpp", + "external/sources/boost/boost/mpl/aux_/sequence_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/shift_op.hpp", + "external/sources/boost/boost/mpl/aux_/single_element_iter.hpp", + "external/sources/boost/boost/mpl/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/aux_/sort_impl.hpp", + "external/sources/boost/boost/mpl/aux_/static_cast.hpp", + "external/sources/boost/boost/mpl/aux_/template_arity.hpp", + "external/sources/boost/boost/mpl/aux_/template_arity_fwd.hpp", + "external/sources/boost/boost/mpl/aux_/test.hpp", + "external/sources/boost/boost/mpl/aux_/test/assert.hpp", + "external/sources/boost/boost/mpl/aux_/test/data.hpp", + "external/sources/boost/boost/mpl/aux_/test/test_case.hpp", + "external/sources/boost/boost/mpl/aux_/traits_lambda_spec.hpp", + "external/sources/boost/boost/mpl/aux_/transform_iter.hpp", + "external/sources/boost/boost/mpl/aux_/type_wrapper.hpp", + "external/sources/boost/boost/mpl/aux_/unwrap.hpp", + "external/sources/boost/boost/mpl/aux_/value_wknd.hpp", + "external/sources/boost/boost/mpl/aux_/yes_no.hpp", + "external/sources/boost/boost/mpl/back.hpp", + "external/sources/boost/boost/mpl/back_fwd.hpp", + "external/sources/boost/boost/mpl/back_inserter.hpp", + "external/sources/boost/boost/mpl/base.hpp", + "external/sources/boost/boost/mpl/begin.hpp", + "external/sources/boost/boost/mpl/begin_end.hpp", + "external/sources/boost/boost/mpl/begin_end_fwd.hpp", + "external/sources/boost/boost/mpl/bind.hpp", + "external/sources/boost/boost/mpl/bind_fwd.hpp", + "external/sources/boost/boost/mpl/bitand.hpp", + "external/sources/boost/boost/mpl/bitor.hpp", + "external/sources/boost/boost/mpl/bitwise.hpp", + "external/sources/boost/boost/mpl/bitxor.hpp", + "external/sources/boost/boost/mpl/bool.hpp", + "external/sources/boost/boost/mpl/bool_fwd.hpp", + "external/sources/boost/boost/mpl/char.hpp", + "external/sources/boost/boost/mpl/char_fwd.hpp", + "external/sources/boost/boost/mpl/clear.hpp", + "external/sources/boost/boost/mpl/clear_fwd.hpp", + "external/sources/boost/boost/mpl/comparison.hpp", + "external/sources/boost/boost/mpl/contains.hpp", + "external/sources/boost/boost/mpl/contains_fwd.hpp", + "external/sources/boost/boost/mpl/copy.hpp", + "external/sources/boost/boost/mpl/copy_if.hpp", + "external/sources/boost/boost/mpl/count.hpp", + "external/sources/boost/boost/mpl/count_fwd.hpp", + "external/sources/boost/boost/mpl/count_if.hpp", + "external/sources/boost/boost/mpl/deque.hpp", + "external/sources/boost/boost/mpl/deref.hpp", + "external/sources/boost/boost/mpl/distance.hpp", + "external/sources/boost/boost/mpl/distance_fwd.hpp", + "external/sources/boost/boost/mpl/divides.hpp", + "external/sources/boost/boost/mpl/empty.hpp", + "external/sources/boost/boost/mpl/empty_base.hpp", + "external/sources/boost/boost/mpl/empty_fwd.hpp", + "external/sources/boost/boost/mpl/empty_sequence.hpp", + "external/sources/boost/boost/mpl/end.hpp", + "external/sources/boost/boost/mpl/equal.hpp", + "external/sources/boost/boost/mpl/equal_to.hpp", + "external/sources/boost/boost/mpl/erase.hpp", + "external/sources/boost/boost/mpl/erase_fwd.hpp", + "external/sources/boost/boost/mpl/erase_key.hpp", + "external/sources/boost/boost/mpl/erase_key_fwd.hpp", + "external/sources/boost/boost/mpl/eval_if.hpp", + "external/sources/boost/boost/mpl/filter_view.hpp", + "external/sources/boost/boost/mpl/find.hpp", + "external/sources/boost/boost/mpl/find_if.hpp", + "external/sources/boost/boost/mpl/fold.hpp", + "external/sources/boost/boost/mpl/for_each.hpp", + "external/sources/boost/boost/mpl/front.hpp", + "external/sources/boost/boost/mpl/front_fwd.hpp", + "external/sources/boost/boost/mpl/front_inserter.hpp", + "external/sources/boost/boost/mpl/get_tag.hpp", + "external/sources/boost/boost/mpl/greater.hpp", + "external/sources/boost/boost/mpl/greater_equal.hpp", + "external/sources/boost/boost/mpl/has_key.hpp", + "external/sources/boost/boost/mpl/has_key_fwd.hpp", + "external/sources/boost/boost/mpl/has_xxx.hpp", + "external/sources/boost/boost/mpl/identity.hpp", + "external/sources/boost/boost/mpl/if.hpp", + "external/sources/boost/boost/mpl/index_if.hpp", + "external/sources/boost/boost/mpl/index_of.hpp", + "external/sources/boost/boost/mpl/inherit.hpp", + "external/sources/boost/boost/mpl/inherit_linearly.hpp", + "external/sources/boost/boost/mpl/insert.hpp", + "external/sources/boost/boost/mpl/insert_fwd.hpp", + "external/sources/boost/boost/mpl/insert_range.hpp", + "external/sources/boost/boost/mpl/insert_range_fwd.hpp", + "external/sources/boost/boost/mpl/inserter.hpp", + "external/sources/boost/boost/mpl/int.hpp", + "external/sources/boost/boost/mpl/int_fwd.hpp", + "external/sources/boost/boost/mpl/integral_c.hpp", + "external/sources/boost/boost/mpl/integral_c_fwd.hpp", + "external/sources/boost/boost/mpl/integral_c_tag.hpp", + "external/sources/boost/boost/mpl/is_placeholder.hpp", + "external/sources/boost/boost/mpl/is_sequence.hpp", + "external/sources/boost/boost/mpl/iter_fold.hpp", + "external/sources/boost/boost/mpl/iter_fold_if.hpp", + "external/sources/boost/boost/mpl/iterator_category.hpp", + "external/sources/boost/boost/mpl/iterator_range.hpp", + "external/sources/boost/boost/mpl/iterator_tags.hpp", + "external/sources/boost/boost/mpl/joint_view.hpp", + "external/sources/boost/boost/mpl/key_type.hpp", + "external/sources/boost/boost/mpl/key_type_fwd.hpp", + "external/sources/boost/boost/mpl/lambda.hpp", + "external/sources/boost/boost/mpl/lambda_fwd.hpp", + "external/sources/boost/boost/mpl/less.hpp", + "external/sources/boost/boost/mpl/less_equal.hpp", + "external/sources/boost/boost/mpl/limits/arity.hpp", + "external/sources/boost/boost/mpl/limits/list.hpp", + "external/sources/boost/boost/mpl/limits/map.hpp", + "external/sources/boost/boost/mpl/limits/set.hpp", + "external/sources/boost/boost/mpl/limits/string.hpp", + "external/sources/boost/boost/mpl/limits/unrolling.hpp", + "external/sources/boost/boost/mpl/limits/vector.hpp", + "external/sources/boost/boost/mpl/list.hpp", + "external/sources/boost/boost/mpl/list/aux_/O1_size.hpp", + "external/sources/boost/boost/mpl/list/aux_/begin_end.hpp", + "external/sources/boost/boost/mpl/list/aux_/clear.hpp", + "external/sources/boost/boost/mpl/list/aux_/empty.hpp", + "external/sources/boost/boost/mpl/list/aux_/front.hpp", + "external/sources/boost/boost/mpl/list/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/list/aux_/item.hpp", + "external/sources/boost/boost/mpl/list/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/list/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/list/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/pop_front.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50.hpp", + "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50_c.hpp", + "external/sources/boost/boost/mpl/list/aux_/push_back.hpp", + "external/sources/boost/boost/mpl/list/aux_/push_front.hpp", + "external/sources/boost/boost/mpl/list/aux_/size.hpp", + "external/sources/boost/boost/mpl/list/aux_/tag.hpp", + "external/sources/boost/boost/mpl/list/list0.hpp", + "external/sources/boost/boost/mpl/list/list0_c.hpp", + "external/sources/boost/boost/mpl/list/list10.hpp", + "external/sources/boost/boost/mpl/list/list10_c.hpp", + "external/sources/boost/boost/mpl/list/list20.hpp", + "external/sources/boost/boost/mpl/list/list20_c.hpp", + "external/sources/boost/boost/mpl/list/list30.hpp", + "external/sources/boost/boost/mpl/list/list30_c.hpp", + "external/sources/boost/boost/mpl/list/list40.hpp", + "external/sources/boost/boost/mpl/list/list40_c.hpp", + "external/sources/boost/boost/mpl/list/list50.hpp", + "external/sources/boost/boost/mpl/list/list50_c.hpp", + "external/sources/boost/boost/mpl/list_c.hpp", + "external/sources/boost/boost/mpl/logical.hpp", + "external/sources/boost/boost/mpl/long.hpp", + "external/sources/boost/boost/mpl/long_fwd.hpp", + "external/sources/boost/boost/mpl/lower_bound.hpp", + "external/sources/boost/boost/mpl/map.hpp", + "external/sources/boost/boost/mpl/map/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/contains_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/map/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/item.hpp", + "external/sources/boost/boost/mpl/map/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/map/aux_/key_type_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/map0.hpp", + "external/sources/boost/boost/mpl/map/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map10.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map20.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map30.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map40.hpp", + "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map50.hpp", + "external/sources/boost/boost/mpl/map/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/map/aux_/tag.hpp", + "external/sources/boost/boost/mpl/map/aux_/value_type_impl.hpp", + "external/sources/boost/boost/mpl/map/map0.hpp", + "external/sources/boost/boost/mpl/map/map10.hpp", + "external/sources/boost/boost/mpl/map/map20.hpp", + "external/sources/boost/boost/mpl/map/map30.hpp", + "external/sources/boost/boost/mpl/map/map40.hpp", + "external/sources/boost/boost/mpl/map/map50.hpp", + "external/sources/boost/boost/mpl/math/fixed_c.hpp", + "external/sources/boost/boost/mpl/math/is_even.hpp", + "external/sources/boost/boost/mpl/math/rational_c.hpp", + "external/sources/boost/boost/mpl/max.hpp", + "external/sources/boost/boost/mpl/max_element.hpp", + "external/sources/boost/boost/mpl/min.hpp", + "external/sources/boost/boost/mpl/min_element.hpp", + "external/sources/boost/boost/mpl/min_max.hpp", + "external/sources/boost/boost/mpl/minus.hpp", + "external/sources/boost/boost/mpl/modulus.hpp", + "external/sources/boost/boost/mpl/multiplies.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/count_impl.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/item.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/multiset0.hpp", + "external/sources/boost/boost/mpl/multiset/aux_/tag.hpp", + "external/sources/boost/boost/mpl/multiset/multiset0.hpp", + "external/sources/boost/boost/mpl/negate.hpp", + "external/sources/boost/boost/mpl/next.hpp", + "external/sources/boost/boost/mpl/next_prior.hpp", + "external/sources/boost/boost/mpl/not.hpp", + "external/sources/boost/boost/mpl/not_equal_to.hpp", + "external/sources/boost/boost/mpl/numeric_cast.hpp", + "external/sources/boost/boost/mpl/or.hpp", + "external/sources/boost/boost/mpl/order.hpp", + "external/sources/boost/boost/mpl/order_fwd.hpp", + "external/sources/boost/boost/mpl/pair.hpp", + "external/sources/boost/boost/mpl/pair_view.hpp", + "external/sources/boost/boost/mpl/partition.hpp", + "external/sources/boost/boost/mpl/placeholders.hpp", + "external/sources/boost/boost/mpl/plus.hpp", + "external/sources/boost/boost/mpl/pop_back.hpp", + "external/sources/boost/boost/mpl/pop_back_fwd.hpp", + "external/sources/boost/boost/mpl/pop_front.hpp", + "external/sources/boost/boost/mpl/pop_front_fwd.hpp", + "external/sources/boost/boost/mpl/print.hpp", + "external/sources/boost/boost/mpl/prior.hpp", + "external/sources/boost/boost/mpl/protect.hpp", + "external/sources/boost/boost/mpl/push_back.hpp", + "external/sources/boost/boost/mpl/push_back_fwd.hpp", + "external/sources/boost/boost/mpl/push_front.hpp", + "external/sources/boost/boost/mpl/push_front_fwd.hpp", + "external/sources/boost/boost/mpl/quote.hpp", + "external/sources/boost/boost/mpl/range_c.hpp", + "external/sources/boost/boost/mpl/remove.hpp", + "external/sources/boost/boost/mpl/remove_if.hpp", + "external/sources/boost/boost/mpl/replace.hpp", + "external/sources/boost/boost/mpl/replace_if.hpp", + "external/sources/boost/boost/mpl/reverse.hpp", + "external/sources/boost/boost/mpl/reverse_fold.hpp", + "external/sources/boost/boost/mpl/reverse_iter_fold.hpp", + "external/sources/boost/boost/mpl/same_as.hpp", + "external/sources/boost/boost/mpl/sequence_tag.hpp", + "external/sources/boost/boost/mpl/sequence_tag_fwd.hpp", + "external/sources/boost/boost/mpl/set.hpp", + "external/sources/boost/boost/mpl/set/aux_/at_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/begin_end_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/clear_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/empty_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/erase_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/erase_key_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/has_key_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/set/aux_/insert_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/insert_range_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/item.hpp", + "external/sources/boost/boost/mpl/set/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/set/aux_/key_type_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/set/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50.hpp", + "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50_c.hpp", + "external/sources/boost/boost/mpl/set/aux_/set0.hpp", + "external/sources/boost/boost/mpl/set/aux_/size_impl.hpp", + "external/sources/boost/boost/mpl/set/aux_/tag.hpp", + "external/sources/boost/boost/mpl/set/aux_/value_type_impl.hpp", + "external/sources/boost/boost/mpl/set/set0.hpp", + "external/sources/boost/boost/mpl/set/set0_c.hpp", + "external/sources/boost/boost/mpl/set/set10.hpp", + "external/sources/boost/boost/mpl/set/set10_c.hpp", + "external/sources/boost/boost/mpl/set/set20.hpp", + "external/sources/boost/boost/mpl/set/set20_c.hpp", + "external/sources/boost/boost/mpl/set/set30.hpp", + "external/sources/boost/boost/mpl/set/set30_c.hpp", + "external/sources/boost/boost/mpl/set/set40.hpp", + "external/sources/boost/boost/mpl/set/set40_c.hpp", + "external/sources/boost/boost/mpl/set/set50.hpp", + "external/sources/boost/boost/mpl/set/set50_c.hpp", + "external/sources/boost/boost/mpl/set_c.hpp", + "external/sources/boost/boost/mpl/shift_left.hpp", + "external/sources/boost/boost/mpl/shift_right.hpp", + "external/sources/boost/boost/mpl/single_view.hpp", + "external/sources/boost/boost/mpl/size.hpp", + "external/sources/boost/boost/mpl/size_fwd.hpp", + "external/sources/boost/boost/mpl/size_t.hpp", + "external/sources/boost/boost/mpl/size_t_fwd.hpp", + "external/sources/boost/boost/mpl/sizeof.hpp", + "external/sources/boost/boost/mpl/sort.hpp", + "external/sources/boost/boost/mpl/stable_partition.hpp", + "external/sources/boost/boost/mpl/string.hpp", + "external/sources/boost/boost/mpl/switch.hpp", + "external/sources/boost/boost/mpl/tag.hpp", + "external/sources/boost/boost/mpl/times.hpp", + "external/sources/boost/boost/mpl/transform.hpp", + "external/sources/boost/boost/mpl/transform_view.hpp", + "external/sources/boost/boost/mpl/unique.hpp", + "external/sources/boost/boost/mpl/unpack_args.hpp", + "external/sources/boost/boost/mpl/upper_bound.hpp", + "external/sources/boost/boost/mpl/value_type.hpp", + "external/sources/boost/boost/mpl/value_type_fwd.hpp", + "external/sources/boost/boost/mpl/vector.hpp", + "external/sources/boost/boost/mpl/vector/aux_/O1_size.hpp", + "external/sources/boost/boost/mpl/vector/aux_/at.hpp", + "external/sources/boost/boost/mpl/vector/aux_/back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/begin_end.hpp", + "external/sources/boost/boost/mpl/vector/aux_/clear.hpp", + "external/sources/boost/boost/mpl/vector/aux_/empty.hpp", + "external/sources/boost/boost/mpl/vector/aux_/front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/include_preprocessed.hpp", + "external/sources/boost/boost/mpl/vector/aux_/item.hpp", + "external/sources/boost/boost/mpl/vector/aux_/iterator.hpp", + "external/sources/boost/boost/mpl/vector/aux_/numbered.hpp", + "external/sources/boost/boost/mpl/vector/aux_/numbered_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/pop_back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/pop_front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50.hpp", + "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector/aux_/push_back.hpp", + "external/sources/boost/boost/mpl/vector/aux_/push_front.hpp", + "external/sources/boost/boost/mpl/vector/aux_/size.hpp", + "external/sources/boost/boost/mpl/vector/aux_/tag.hpp", + "external/sources/boost/boost/mpl/vector/aux_/vector0.hpp", + "external/sources/boost/boost/mpl/vector/vector0.hpp", + "external/sources/boost/boost/mpl/vector/vector0_c.hpp", + "external/sources/boost/boost/mpl/vector/vector10.hpp", + "external/sources/boost/boost/mpl/vector/vector10_c.hpp", + "external/sources/boost/boost/mpl/vector/vector20.hpp", + "external/sources/boost/boost/mpl/vector/vector20_c.hpp", + "external/sources/boost/boost/mpl/vector/vector30.hpp", + "external/sources/boost/boost/mpl/vector/vector30_c.hpp", + "external/sources/boost/boost/mpl/vector/vector40.hpp", + "external/sources/boost/boost/mpl/vector/vector40_c.hpp", + "external/sources/boost/boost/mpl/vector/vector50.hpp", + "external/sources/boost/boost/mpl/vector/vector50_c.hpp", + "external/sources/boost/boost/mpl/vector_c.hpp", + "external/sources/boost/boost/mpl/void.hpp", + "external/sources/boost/boost/mpl/void_fwd.hpp", + "external/sources/boost/boost/mpl/zip_view.hpp", + "external/sources/boost/boost/msm/active_state_switching_policies.hpp", + "external/sources/boost/boost/msm/back/args.hpp", + "external/sources/boost/boost/msm/back/bind_helpers.hpp", + "external/sources/boost/boost/msm/back/common_types.hpp", + "external/sources/boost/boost/msm/back/copy_policies.hpp", + "external/sources/boost/boost/msm/back/default_compile_policy.hpp", + "external/sources/boost/boost/msm/back/dispatch_table.hpp", + "external/sources/boost/boost/msm/back/favor_compile_time.hpp", + "external/sources/boost/boost/msm/back/fold_to_list.hpp", + "external/sources/boost/boost/msm/back/history_policies.hpp", + "external/sources/boost/boost/msm/back/metafunctions.hpp", + "external/sources/boost/boost/msm/back/mpl_graph_fsm_check.hpp", + "external/sources/boost/boost/msm/back/no_fsm_check.hpp", + "external/sources/boost/boost/msm/back/queue_container_circular.hpp", + "external/sources/boost/boost/msm/back/queue_container_deque.hpp", + "external/sources/boost/boost/msm/back/state_machine.hpp", + "external/sources/boost/boost/msm/back/tools.hpp", + "external/sources/boost/boost/msm/common.hpp", + "external/sources/boost/boost/msm/event_traits.hpp", + "external/sources/boost/boost/msm/front/common_states.hpp", + "external/sources/boost/boost/msm/front/completion_event.hpp", + "external/sources/boost/boost/msm/front/detail/common_states.hpp", + "external/sources/boost/boost/msm/front/detail/row2_helper.hpp", + "external/sources/boost/boost/msm/front/euml/algorithm.hpp", + "external/sources/boost/boost/msm/front/euml/common.hpp", + "external/sources/boost/boost/msm/front/euml/container.hpp", + "external/sources/boost/boost/msm/front/euml/euml.hpp", + "external/sources/boost/boost/msm/front/euml/euml_typeof.hpp", + "external/sources/boost/boost/msm/front/euml/guard_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/iteration.hpp", + "external/sources/boost/boost/msm/front/euml/operator.hpp", + "external/sources/boost/boost/msm/front/euml/phoenix_placeholders.hpp", + "external/sources/boost/boost/msm/front/euml/querying.hpp", + "external/sources/boost/boost/msm/front/euml/state_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/stl.hpp", + "external/sources/boost/boost/msm/front/euml/stt_grammar.hpp", + "external/sources/boost/boost/msm/front/euml/transformation.hpp", + "external/sources/boost/boost/msm/front/functor_row.hpp", + "external/sources/boost/boost/msm/front/internal_row.hpp", + "external/sources/boost/boost/msm/front/row2.hpp", + "external/sources/boost/boost/msm/front/state_machine_def.hpp", + "external/sources/boost/boost/msm/front/states.hpp", + "external/sources/boost/boost/msm/mpl_graph/adjacency_list_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/breadth_first_search.hpp", + "external/sources/boost/boost/msm/mpl_graph/depth_first_search.hpp", + "external/sources/boost/boost/msm/mpl_graph/detail/adjacency_list_graph.ipp", + "external/sources/boost/boost/msm/mpl_graph/detail/graph_implementation_interface.ipp", + "external/sources/boost/boost/msm/mpl_graph/detail/incidence_list_graph.ipp", + "external/sources/boost/boost/msm/mpl_graph/incidence_list_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/mpl_graph.hpp", + "external/sources/boost/boost/msm/mpl_graph/mpl_utils.hpp", + "external/sources/boost/boost/msm/mpl_graph/search_colors.hpp", + "external/sources/boost/boost/msm/msm_grammar.hpp", + "external/sources/boost/boost/msm/proto_config.hpp", + "external/sources/boost/boost/msm/row_tags.hpp", + "external/sources/boost/boost/multi_array.hpp", + "external/sources/boost/boost/multi_array/algorithm.hpp", + "external/sources/boost/boost/multi_array/base.hpp", + "external/sources/boost/boost/multi_array/collection_concept.hpp", + "external/sources/boost/boost/multi_array/concept_checks.hpp", + "external/sources/boost/boost/multi_array/copy_array.hpp", + "external/sources/boost/boost/multi_array/extent_gen.hpp", + "external/sources/boost/boost/multi_array/extent_range.hpp", + "external/sources/boost/boost/multi_array/index_gen.hpp", + "external/sources/boost/boost/multi_array/index_range.hpp", + "external/sources/boost/boost/multi_array/iterator.hpp", + "external/sources/boost/boost/multi_array/multi_array_ref.hpp", + "external/sources/boost/boost/multi_array/range_list.hpp", + "external/sources/boost/boost/multi_array/storage_order.hpp", + "external/sources/boost/boost/multi_array/subarray.hpp", + "external/sources/boost/boost/multi_array/types.hpp", + "external/sources/boost/boost/multi_array/view.hpp", + "external/sources/boost/boost/multi_index/composite_key.hpp", + "external/sources/boost/boost/multi_index/detail/access_specifier.hpp", + "external/sources/boost/boost/multi_index/detail/adl_swap.hpp", + "external/sources/boost/boost/multi_index/detail/allocator_traits.hpp", + "external/sources/boost/boost/multi_index/detail/archive_constructed.hpp", + "external/sources/boost/boost/multi_index/detail/auto_space.hpp", + "external/sources/boost/boost/multi_index/detail/base_type.hpp", + "external/sources/boost/boost/multi_index/detail/bidir_node_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/bucket_array.hpp", + "external/sources/boost/boost/multi_index/detail/cons_stdtuple.hpp", + "external/sources/boost/boost/multi_index/detail/converter.hpp", + "external/sources/boost/boost/multi_index/detail/copy_map.hpp", + "external/sources/boost/boost/multi_index/detail/define_if_constexpr_macro.hpp", + "external/sources/boost/boost/multi_index/detail/do_not_copy_elements_tag.hpp", + "external/sources/boost/boost/multi_index/detail/duplicates_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/has_tag.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_args.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/hash_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/header_holder.hpp", + "external/sources/boost/boost/multi_index/detail/ignore_wstrict_aliasing.hpp", + "external/sources/boost/boost/multi_index/detail/index_base.hpp", + "external/sources/boost/boost/multi_index/detail/index_loader.hpp", + "external/sources/boost/boost/multi_index/detail/index_matcher.hpp", + "external/sources/boost/boost/multi_index/detail/index_node_base.hpp", + "external/sources/boost/boost/multi_index/detail/index_saver.hpp", + "external/sources/boost/boost/multi_index/detail/invariant_assert.hpp", + "external/sources/boost/boost/multi_index/detail/is_function.hpp", + "external/sources/boost/boost/multi_index/detail/is_index_list.hpp", + "external/sources/boost/boost/multi_index/detail/is_transparent.hpp", + "external/sources/boost/boost/multi_index/detail/iter_adaptor.hpp", + "external/sources/boost/boost/multi_index/detail/modify_key_adaptor.hpp", + "external/sources/boost/boost/multi_index/detail/no_duplicate_tags.hpp", + "external/sources/boost/boost/multi_index/detail/node_handle.hpp", + "external/sources/boost/boost/multi_index/detail/node_type.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_args.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_impl.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_impl_fwd.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/ord_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/promotes_arg.hpp", + "external/sources/boost/boost/multi_index/detail/raw_ptr.hpp", + "external/sources/boost/boost/multi_index/detail/restore_wstrict_aliasing.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_loader.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_index_ptr_array.hpp", + "external/sources/boost/boost/multi_index/detail/rnd_node_iterator.hpp", + "external/sources/boost/boost/multi_index/detail/rnk_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/safe_mode.hpp", + "external/sources/boost/boost/multi_index/detail/scope_guard.hpp", + "external/sources/boost/boost/multi_index/detail/seq_index_node.hpp", + "external/sources/boost/boost/multi_index/detail/seq_index_ops.hpp", + "external/sources/boost/boost/multi_index/detail/serialization_version.hpp", + "external/sources/boost/boost/multi_index/detail/uintptr_type.hpp", + "external/sources/boost/boost/multi_index/detail/unbounded.hpp", + "external/sources/boost/boost/multi_index/detail/undef_if_constexpr_macro.hpp", + "external/sources/boost/boost/multi_index/detail/value_compare.hpp", + "external/sources/boost/boost/multi_index/detail/vartempl_support.hpp", + "external/sources/boost/boost/multi_index/global_fun.hpp", + "external/sources/boost/boost/multi_index/hashed_index.hpp", + "external/sources/boost/boost/multi_index/hashed_index_fwd.hpp", + "external/sources/boost/boost/multi_index/identity.hpp", + "external/sources/boost/boost/multi_index/identity_fwd.hpp", + "external/sources/boost/boost/multi_index/indexed_by.hpp", + "external/sources/boost/boost/multi_index/key.hpp", + "external/sources/boost/boost/multi_index/key_extractors.hpp", + "external/sources/boost/boost/multi_index/mem_fun.hpp", + "external/sources/boost/boost/multi_index/member.hpp", + "external/sources/boost/boost/multi_index/ordered_index.hpp", + "external/sources/boost/boost/multi_index/ordered_index_fwd.hpp", + "external/sources/boost/boost/multi_index/random_access_index.hpp", + "external/sources/boost/boost/multi_index/random_access_index_fwd.hpp", + "external/sources/boost/boost/multi_index/ranked_index.hpp", + "external/sources/boost/boost/multi_index/ranked_index_fwd.hpp", + "external/sources/boost/boost/multi_index/safe_mode_errors.hpp", + "external/sources/boost/boost/multi_index/sequenced_index.hpp", + "external/sources/boost/boost/multi_index/sequenced_index_fwd.hpp", + "external/sources/boost/boost/multi_index/tag.hpp", + "external/sources/boost/boost/multi_index_container.hpp", + "external/sources/boost/boost/multi_index_container_fwd.hpp", + "external/sources/boost/boost/multiprecision/complex128.hpp", + "external/sources/boost/boost/multiprecision/complex_adaptor.hpp", + "external/sources/boost/boost/multiprecision/concepts/mp_number_archetypes.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float/io.hpp", + "external/sources/boost/boost/multiprecision/cpp_bin_float/transcendental.hpp", + "external/sources/boost/boost/multiprecision/cpp_complex.hpp", + "external/sources/boost/boost/multiprecision/cpp_dec_float.hpp", + "external/sources/boost/boost/multiprecision/cpp_int.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/add.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/bitwise.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/checked.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/comparison.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/cpp_int_config.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/divide.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/import_export.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/limits.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/literals.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/misc.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/multiply.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/serialize.hpp", + "external/sources/boost/boost/multiprecision/cpp_int/value_pack.hpp", + "external/sources/boost/boost/multiprecision/debug_adaptor.hpp", + "external/sources/boost/boost/multiprecision/detail/atomic.hpp", + "external/sources/boost/boost/multiprecision/detail/big_lanczos.hpp", + "external/sources/boost/boost/multiprecision/detail/bitscan.hpp", + "external/sources/boost/boost/multiprecision/detail/constexpr.hpp", + "external/sources/boost/boost/multiprecision/detail/default_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/digits.hpp", + "external/sources/boost/boost/multiprecision/detail/dynamic_array.hpp", + "external/sources/boost/boost/multiprecision/detail/et_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/float_string_cvt.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/constants.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/pow.hpp", + "external/sources/boost/boost/multiprecision/detail/functions/trig.hpp", + "external/sources/boost/boost/multiprecision/detail/generic_interconvert.hpp", + "external/sources/boost/boost/multiprecision/detail/integer_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/itos.hpp", + "external/sources/boost/boost/multiprecision/detail/min_max.hpp", + "external/sources/boost/boost/multiprecision/detail/no_et_ops.hpp", + "external/sources/boost/boost/multiprecision/detail/number_base.hpp", + "external/sources/boost/boost/multiprecision/detail/number_compare.hpp", + "external/sources/boost/boost/multiprecision/detail/precision.hpp", + "external/sources/boost/boost/multiprecision/detail/rebind.hpp", + "external/sources/boost/boost/multiprecision/detail/ublas_interop.hpp", + "external/sources/boost/boost/multiprecision/detail/utype_helper.hpp", + "external/sources/boost/boost/multiprecision/eigen.hpp", + "external/sources/boost/boost/multiprecision/float128.hpp", + "external/sources/boost/boost/multiprecision/gmp.hpp", + "external/sources/boost/boost/multiprecision/integer.hpp", + "external/sources/boost/boost/multiprecision/logged_adaptor.hpp", + "external/sources/boost/boost/multiprecision/miller_rabin.hpp", + "external/sources/boost/boost/multiprecision/mpc.hpp", + "external/sources/boost/boost/multiprecision/mpfi.hpp", + "external/sources/boost/boost/multiprecision/mpfr.hpp", + "external/sources/boost/boost/multiprecision/number.hpp", + "external/sources/boost/boost/multiprecision/random.hpp", + "external/sources/boost/boost/multiprecision/rational_adaptor.hpp", + "external/sources/boost/boost/multiprecision/tommath.hpp", + "external/sources/boost/boost/multiprecision/traits/explicit_conversion.hpp", + "external/sources/boost/boost/multiprecision/traits/extract_exponent_type.hpp", + "external/sources/boost/boost/multiprecision/traits/is_backend.hpp", + "external/sources/boost/boost/multiprecision/traits/is_byte_container.hpp", + "external/sources/boost/boost/multiprecision/traits/is_restricted_conversion.hpp", + "external/sources/boost/boost/multiprecision/traits/is_variable_precision.hpp", + "external/sources/boost/boost/next_prior.hpp", + "external/sources/boost/boost/non_type.hpp", + "external/sources/boost/boost/noncopyable.hpp", + "external/sources/boost/boost/nondet_random.hpp", + "external/sources/boost/boost/none.hpp", + "external/sources/boost/boost/none_t.hpp", + "external/sources/boost/boost/nowide/args.hpp", + "external/sources/boost/boost/nowide/config.hpp", + "external/sources/boost/boost/nowide/convert.hpp", + "external/sources/boost/boost/nowide/cstdio.hpp", + "external/sources/boost/boost/nowide/cstdlib.hpp", + "external/sources/boost/boost/nowide/detail/convert.hpp", + "external/sources/boost/boost/nowide/detail/utf.hpp", + "external/sources/boost/boost/nowide/filebuf.hpp", + "external/sources/boost/boost/nowide/filesystem.hpp", + "external/sources/boost/boost/nowide/fstream.hpp", + "external/sources/boost/boost/nowide/iostream.hpp", + "external/sources/boost/boost/nowide/replacement.hpp", + "external/sources/boost/boost/nowide/stackstring.hpp", + "external/sources/boost/boost/nowide/stat.hpp", + "external/sources/boost/boost/nowide/utf/convert.hpp", + "external/sources/boost/boost/nowide/utf/utf.hpp", + "external/sources/boost/boost/nowide/utf8_codecvt.hpp", + "external/sources/boost/boost/nowide/windows.hpp", + "external/sources/boost/boost/numeric/conversion/bounds.hpp", + "external/sources/boost/boost/numeric/conversion/cast.hpp", + "external/sources/boost/boost/numeric/conversion/conversion_traits.hpp", + "external/sources/boost/boost/numeric/conversion/converter.hpp", + "external/sources/boost/boost/numeric/conversion/converter_policies.hpp", + "external/sources/boost/boost/numeric/conversion/detail/bounds.hpp", + "external/sources/boost/boost/numeric/conversion/detail/conversion_traits.hpp", + "external/sources/boost/boost/numeric/conversion/detail/converter.hpp", + "external/sources/boost/boost/numeric/conversion/detail/int_float_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/detail/is_subranged.hpp", + "external/sources/boost/boost/numeric/conversion/detail/meta.hpp", + "external/sources/boost/boost/numeric/conversion/detail/numeric_cast_traits.hpp", + "external/sources/boost/boost/numeric/conversion/detail/old_numeric_cast.hpp", + "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp", + "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp", + "external/sources/boost/boost/numeric/conversion/detail/sign_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/int_float_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/int_float_mixture_enum.hpp", + "external/sources/boost/boost/numeric/conversion/is_subranged.hpp", + "external/sources/boost/boost/numeric/conversion/numeric_cast_traits.hpp", + "external/sources/boost/boost/numeric/conversion/sign_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/sign_mixture_enum.hpp", + "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture.hpp", + "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture_enum.hpp", + "external/sources/boost/boost/numeric/interval.hpp", + "external/sources/boost/boost/numeric/interval/arith.hpp", + "external/sources/boost/boost/numeric/interval/arith2.hpp", + "external/sources/boost/boost/numeric/interval/arith3.hpp", + "external/sources/boost/boost/numeric/interval/checking.hpp", + "external/sources/boost/boost/numeric/interval/compare.hpp", + "external/sources/boost/boost/numeric/interval/compare/certain.hpp", + "external/sources/boost/boost/numeric/interval/compare/explicit.hpp", + "external/sources/boost/boost/numeric/interval/compare/lexicographic.hpp", + "external/sources/boost/boost/numeric/interval/compare/possible.hpp", + "external/sources/boost/boost/numeric/interval/compare/set.hpp", + "external/sources/boost/boost/numeric/interval/compare/tribool.hpp", + "external/sources/boost/boost/numeric/interval/constants.hpp", + "external/sources/boost/boost/numeric/interval/detail/alpha_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/bcc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/bugs.hpp", + "external/sources/boost/boost/numeric/interval/detail/c99_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/c99sub_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/division.hpp", + "external/sources/boost/boost/numeric/interval/detail/ia64_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/interval_prototype.hpp", + "external/sources/boost/boost/numeric/interval/detail/msvc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/ppc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/sparc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/test_input.hpp", + "external/sources/boost/boost/numeric/interval/detail/x86_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/detail/x86gcc_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/ext/integer.hpp", + "external/sources/boost/boost/numeric/interval/ext/x86_fast_rounding_control.hpp", + "external/sources/boost/boost/numeric/interval/hw_rounding.hpp", + "external/sources/boost/boost/numeric/interval/interval.hpp", + "external/sources/boost/boost/numeric/interval/io.hpp", + "external/sources/boost/boost/numeric/interval/limits.hpp", + "external/sources/boost/boost/numeric/interval/policies.hpp", + "external/sources/boost/boost/numeric/interval/rounded_arith.hpp", + "external/sources/boost/boost/numeric/interval/rounded_transc.hpp", + "external/sources/boost/boost/numeric/interval/rounding.hpp", + "external/sources/boost/boost/numeric/interval/transc.hpp", + "external/sources/boost/boost/numeric/interval/utility.hpp", + "external/sources/boost/boost/numeric/interval/utility_fwd.hpp", + "external/sources/boost/boost/numeric/odeint.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/array_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/default_operations.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/extract_value_type.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/for_each.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/macros.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/detail/norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/multi_array_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/norm_result_type.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/range_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/algebra/vector_space_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/config.hpp", + "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/compute/compute_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/gsl/gsl_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/external/mkl/mkl_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_nested_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_vector_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/implicit_euler_mtl4.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_copy.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_nested_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_state.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_abs.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_copy.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_norm_inf.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_resize.hpp", + "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_same_instance.hpp", + "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_operations.hpp", + "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_resize.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/check_adapter.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/functors.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/max_step_checker.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/null_observer.hpp", + "external/sources/boost/boost/numeric/odeint/integrate/observer_collection.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/adaptive_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/adaptive_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/const_step_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/const_step_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/detail/ode_iterator_base.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/n_step_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/impl/times_iterator_impl.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/functors.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_adaptive.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_const.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_n_steps.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_times.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/null_observer.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/integrate/observer_collection.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/n_step_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/n_step_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/times_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/iterator/times_time_iterator.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adams_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/adaptive_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/algebra_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/controlled_step_result.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/adaptive_adams_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_operations.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster_coefficients.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/detail/rotating_buffer.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/explicit_generic_rk.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/extrapolation_stepper.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_adams_bashforth_moulton.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_dense_output_runge_kutta.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_dopri5.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_fehlberg78.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/make_controlled.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/generation/make_dense_output.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/implicit_euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/modified_midpoint.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_controller.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_dense_output.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_fehlberg78.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/stepper_categories.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_euler.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_m4_mclachlan.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_mclachlan.hpp", + "external/sources/boost/boost/numeric/odeint/stepper/velocity_verlet.hpp", + "external/sources/boost/boost/numeric/odeint/util/bind.hpp", + "external/sources/boost/boost/numeric/odeint/util/copy.hpp", + "external/sources/boost/boost/numeric/odeint/util/detail/is_range.hpp", + "external/sources/boost/boost/numeric/odeint/util/detail/less_with_sign.hpp", + "external/sources/boost/boost/numeric/odeint/util/is_pair.hpp", + "external/sources/boost/boost/numeric/odeint/util/is_resizeable.hpp", + "external/sources/boost/boost/numeric/odeint/util/multi_array_adaption.hpp", + "external/sources/boost/boost/numeric/odeint/util/n_ary_helper.hpp", + "external/sources/boost/boost/numeric/odeint/util/odeint_error.hpp", + "external/sources/boost/boost/numeric/odeint/util/resize.hpp", + "external/sources/boost/boost/numeric/odeint/util/resizer.hpp", + "external/sources/boost/boost/numeric/odeint/util/same_instance.hpp", + "external/sources/boost/boost/numeric/odeint/util/same_size.hpp", + "external/sources/boost/boost/numeric/odeint/util/split.hpp", + "external/sources/boost/boost/numeric/odeint/util/split_adaptor.hpp", + "external/sources/boost/boost/numeric/odeint/util/state_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/util/stepper_traits.hpp", + "external/sources/boost/boost/numeric/odeint/util/ublas_matrix_expression.patch", + "external/sources/boost/boost/numeric/odeint/util/ublas_wrapper.hpp", + "external/sources/boost/boost/numeric/odeint/util/unit_helper.hpp", + "external/sources/boost/boost/numeric/odeint/util/unwrap_reference.hpp", + "external/sources/boost/boost/numeric/odeint/version.hpp", + "external/sources/boost/boost/numeric/ublas/assignment.hpp", + "external/sources/boost/boost/numeric/ublas/banded.hpp", + "external/sources/boost/boost/numeric/ublas/blas.hpp", + "external/sources/boost/boost/numeric/ublas/detail/concepts.hpp", + "external/sources/boost/boost/numeric/ublas/detail/config.hpp", + "external/sources/boost/boost/numeric/ublas/detail/definitions.hpp", + "external/sources/boost/boost/numeric/ublas/detail/documentation.hpp", + "external/sources/boost/boost/numeric/ublas/detail/duff.hpp", + "external/sources/boost/boost/numeric/ublas/detail/iterator.hpp", + "external/sources/boost/boost/numeric/ublas/detail/matrix_assign.hpp", + "external/sources/boost/boost/numeric/ublas/detail/raw.hpp", + "external/sources/boost/boost/numeric/ublas/detail/returntype_deduction.hpp", + "external/sources/boost/boost/numeric/ublas/detail/temporary.hpp", + "external/sources/boost/boost/numeric/ublas/detail/vector_assign.hpp", + "external/sources/boost/boost/numeric/ublas/doxydoc.hpp", + "external/sources/boost/boost/numeric/ublas/exception.hpp", + "external/sources/boost/boost/numeric/ublas/experimental/sparse_view.hpp", + "external/sources/boost/boost/numeric/ublas/expression_types.hpp", + "external/sources/boost/boost/numeric/ublas/functional.hpp", + "external/sources/boost/boost/numeric/ublas/fwd.hpp", + "external/sources/boost/boost/numeric/ublas/hermitian.hpp", + "external/sources/boost/boost/numeric/ublas/io.hpp", + "external/sources/boost/boost/numeric/ublas/lu.hpp", + "external/sources/boost/boost/numeric/ublas/matrix.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_expression.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_proxy.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/matrix_vector.hpp", + "external/sources/boost/boost/numeric/ublas/opencl.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/elementwise.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/library.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/matrix.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/misc.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/operations.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/prod.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/transpose.hpp", + "external/sources/boost/boost/numeric/ublas/opencl/vector.hpp", + "external/sources/boost/boost/numeric/ublas/operation.hpp", + "external/sources/boost/boost/numeric/ublas/operation/begin.hpp", + "external/sources/boost/boost/numeric/ublas/operation/c_array.hpp", + "external/sources/boost/boost/numeric/ublas/operation/end.hpp", + "external/sources/boost/boost/numeric/ublas/operation/num_columns.hpp", + "external/sources/boost/boost/numeric/ublas/operation/num_rows.hpp", + "external/sources/boost/boost/numeric/ublas/operation/size.hpp", + "external/sources/boost/boost/numeric/ublas/operation_blocked.hpp", + "external/sources/boost/boost/numeric/ublas/operation_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/operations.hpp", + "external/sources/boost/boost/numeric/ublas/storage.hpp", + "external/sources/boost/boost/numeric/ublas/storage_sparse.hpp", + "external/sources/boost/boost/numeric/ublas/symmetric.hpp", + "external/sources/boost/boost/numeric/ublas/tags.hpp", + "external/sources/boost/boost/numeric/ublas/tensor.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/algorithms.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/expression.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/extents.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/functions.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/index.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multi_index.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multi_index_utility.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/multiplication.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/operators_arithmetic.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/operators_comparison.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/ostream.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/storage_traits.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/strides.hpp", + "external/sources/boost/boost/numeric/ublas/tensor/tensor.hpp", + "external/sources/boost/boost/numeric/ublas/traits.hpp", + "external/sources/boost/boost/numeric/ublas/traits/c_array.hpp", + "external/sources/boost/boost/numeric/ublas/traits/const_iterator_type.hpp", + "external/sources/boost/boost/numeric/ublas/traits/iterator_type.hpp", + "external/sources/boost/boost/numeric/ublas/triangular.hpp", + "external/sources/boost/boost/numeric/ublas/vector.hpp", + "external/sources/boost/boost/numeric/ublas/vector_expression.hpp", + "external/sources/boost/boost/numeric/ublas/vector_of_vector.hpp", + "external/sources/boost/boost/numeric/ublas/vector_proxy.hpp", + "external/sources/boost/boost/numeric/ublas/vector_sparse.hpp", + "external/sources/boost/boost/operators.hpp", + "external/sources/boost/boost/operators_v1.hpp", + "external/sources/boost/boost/optional.hpp", + "external/sources/boost/boost/optional/bad_optional_access.hpp", + "external/sources/boost/boost/optional/detail/experimental_traits.hpp", + "external/sources/boost/boost/optional/detail/old_optional_implementation.hpp", + "external/sources/boost/boost/optional/detail/optional_aligned_storage.hpp", + "external/sources/boost/boost/optional/detail/optional_config.hpp", + "external/sources/boost/boost/optional/detail/optional_factory_support.hpp", + "external/sources/boost/boost/optional/detail/optional_reference_spec.hpp", + "external/sources/boost/boost/optional/detail/optional_relops.hpp", + "external/sources/boost/boost/optional/detail/optional_swap.hpp", + "external/sources/boost/boost/optional/detail/optional_trivially_copyable_base.hpp", + "external/sources/boost/boost/optional/optional.hpp", + "external/sources/boost/boost/optional/optional_fwd.hpp", + "external/sources/boost/boost/optional/optional_io.hpp", + "external/sources/boost/boost/outcome.hpp", + "external/sources/boost/boost/outcome/bad_access.hpp", + "external/sources/boost/boost/outcome/basic_outcome.hpp", + "external/sources/boost/boost/outcome/basic_result.hpp", + "external/sources/boost/boost/outcome/boost_outcome.hpp", + "external/sources/boost/boost/outcome/boost_result.hpp", + "external/sources/boost/boost/outcome/config.hpp", + "external/sources/boost/boost/outcome/convert.hpp", + "external/sources/boost/boost/outcome/coroutine_support.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers_impl.hpp", + "external/sources/boost/boost/outcome/detail/basic_outcome_failure_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_error_observers.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_final.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_storage.hpp", + "external/sources/boost/boost/outcome/detail/basic_result_value_observers.hpp", + "external/sources/boost/boost/outcome/detail/coroutine_support.ipp", + "external/sources/boost/boost/outcome/detail/revision.hpp", + "external/sources/boost/boost/outcome/detail/trait_std_error_code.hpp", + "external/sources/boost/boost/outcome/detail/trait_std_exception.hpp", + "external/sources/boost/boost/outcome/detail/value_storage.hpp", + "external/sources/boost/boost/outcome/detail/version.hpp", + "external/sources/boost/boost/outcome/experimental/coroutine_support.hpp", + "external/sources/boost/boost/outcome/experimental/result.h", + "external/sources/boost/boost/outcome/experimental/status-code/com_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/config.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_generic_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_win32_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/detail/win32_code_to_generic_code.ipp", + "external/sources/boost/boost/outcome/experimental/status-code/error.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/errored_status_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/generic_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/getaddrinfo_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/iostream_support.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/nt_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/posix_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/quick_status_code_from_enum.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/result.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code_domain.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_code_ptr.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/status_error.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/std_error_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_code.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_code_from_exception.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/system_error2.hpp", + "external/sources/boost/boost/outcome/experimental/status-code/win32_code.hpp", + "external/sources/boost/boost/outcome/experimental/status_outcome.hpp", + "external/sources/boost/boost/outcome/experimental/status_result.hpp", + "external/sources/boost/boost/outcome/iostream_support.hpp", + "external/sources/boost/boost/outcome/outcome.hpp", + "external/sources/boost/boost/outcome/policy/all_narrow.hpp", + "external/sources/boost/boost/outcome/policy/base.hpp", + "external/sources/boost/boost/outcome/policy/fail_to_compile_observers.hpp", + "external/sources/boost/boost/outcome/policy/outcome_error_code_throw_as_system_error.hpp", + "external/sources/boost/boost/outcome/policy/outcome_exception_ptr_rethrow.hpp", + "external/sources/boost/boost/outcome/policy/result_error_code_throw_as_system_error.hpp", + "external/sources/boost/boost/outcome/policy/result_exception_ptr_rethrow.hpp", + "external/sources/boost/boost/outcome/policy/terminate.hpp", + "external/sources/boost/boost/outcome/policy/throw_bad_result_access.hpp", + "external/sources/boost/boost/outcome/result.hpp", + "external/sources/boost/boost/outcome/std_outcome.hpp", + "external/sources/boost/boost/outcome/std_result.hpp", + "external/sources/boost/boost/outcome/success_failure.hpp", + "external/sources/boost/boost/outcome/trait.hpp", + "external/sources/boost/boost/outcome/try.hpp", + "external/sources/boost/boost/outcome/utils.hpp", + "external/sources/boost/boost/parameter.hpp", + "external/sources/boost/boost/parameter/are_tagged_arguments.hpp", + "external/sources/boost/boost/parameter/aux_/always_true_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/arg_list.hpp", + "external/sources/boost/boost/parameter/aux_/as_lvalue.hpp", + "external/sources/boost/boost/parameter/aux_/augment_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/cast.hpp", + "external/sources/boost/boost/parameter/aux_/default.hpp", + "external/sources/boost/boost/parameter/aux_/has_nested_template_fn.hpp", + "external/sources/boost/boost/parameter/aux_/is_maybe.hpp", + "external/sources/boost/boost/parameter/aux_/is_placeholder.hpp", + "external/sources/boost/boost/parameter/aux_/is_tagged_argument.hpp", + "external/sources/boost/boost/parameter/aux_/lambda_tag.hpp", + "external/sources/boost/boost/parameter/aux_/maybe.hpp", + "external/sources/boost/boost/parameter/aux_/name.hpp", + "external/sources/boost/boost/parameter/aux_/pack/as_parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/pack/deduce_tag.hpp", + "external/sources/boost/boost/parameter/aux_/pack/deduced_item.hpp", + "external/sources/boost/boost/parameter/aux_/pack/insert_tagged.hpp", + "external/sources/boost/boost/parameter/aux_/pack/is_named_argument.hpp", + "external/sources/boost/boost/parameter/aux_/pack/item.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_arg_list.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_deduced_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/make_parameter_spec_items.hpp", + "external/sources/boost/boost/parameter/aux_/pack/parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/pack/predicate.hpp", + "external/sources/boost/boost/parameter/aux_/pack/satisfies.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_deduced.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp", + "external/sources/boost/boost/parameter/aux_/pack/tag_type.hpp", + "external/sources/boost/boost/parameter/aux_/pack/unmatched_argument.hpp", + "external/sources/boost/boost/parameter/aux_/parameter_requirements.hpp", + "external/sources/boost/boost/parameter/aux_/parenthesized_type.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/argument_pack.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/match.hpp", + "external/sources/boost/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/flatten.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/for_each_pred.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/arity_range.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/flatten.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/for_each.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_cast.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_name.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/specification.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/impl/split_args.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/is_binary.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/is_nullary.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/nullptr.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/overloads.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/qualifier.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/seq_enum.hpp", + "external/sources/boost/boost/parameter/aux_/preprocessor/seq_merge.hpp", + "external/sources/boost/boost/parameter/aux_/python/invoker.hpp", + "external/sources/boost/boost/parameter/aux_/python/invoker_iterate.hpp", + "external/sources/boost/boost/parameter/aux_/result_of0.hpp", + "external/sources/boost/boost/parameter/aux_/set.hpp", + "external/sources/boost/boost/parameter/aux_/tag.hpp", + "external/sources/boost/boost/parameter/aux_/tagged_argument.hpp", + "external/sources/boost/boost/parameter/aux_/tagged_argument_fwd.hpp", + "external/sources/boost/boost/parameter/aux_/template_keyword.hpp", + "external/sources/boost/boost/parameter/aux_/unwrap_cv_reference.hpp", + "external/sources/boost/boost/parameter/aux_/use_default.hpp", + "external/sources/boost/boost/parameter/aux_/use_default_tag.hpp", + "external/sources/boost/boost/parameter/aux_/void.hpp", + "external/sources/boost/boost/parameter/aux_/yesno.hpp", + "external/sources/boost/boost/parameter/binding.hpp", + "external/sources/boost/boost/parameter/compose.hpp", + "external/sources/boost/boost/parameter/config.hpp", + "external/sources/boost/boost/parameter/deduced.hpp", + "external/sources/boost/boost/parameter/is_argument_pack.hpp", + "external/sources/boost/boost/parameter/keyword.hpp", + "external/sources/boost/boost/parameter/keyword_fwd.hpp", + "external/sources/boost/boost/parameter/macros.hpp", + "external/sources/boost/boost/parameter/match.hpp", + "external/sources/boost/boost/parameter/name.hpp", + "external/sources/boost/boost/parameter/nested_keyword.hpp", + "external/sources/boost/boost/parameter/optional.hpp", + "external/sources/boost/boost/parameter/parameters.hpp", + "external/sources/boost/boost/parameter/preprocessor.hpp", + "external/sources/boost/boost/parameter/preprocessor_no_spec.hpp", + "external/sources/boost/boost/parameter/python.hpp", + "external/sources/boost/boost/parameter/required.hpp", + "external/sources/boost/boost/parameter/template_keyword.hpp", + "external/sources/boost/boost/parameter/value_type.hpp", + "external/sources/boost/boost/pending/bucket_sorter.hpp", + "external/sources/boost/boost/pending/container_traits.hpp", + "external/sources/boost/boost/pending/detail/disjoint_sets.hpp", + "external/sources/boost/boost/pending/detail/int_iterator.hpp", + "external/sources/boost/boost/pending/detail/property.hpp", + "external/sources/boost/boost/pending/disjoint_sets.hpp", + "external/sources/boost/boost/pending/fenced_priority_queue.hpp", + "external/sources/boost/boost/pending/fibonacci_heap.hpp", + "external/sources/boost/boost/pending/indirect_cmp.hpp", + "external/sources/boost/boost/pending/integer_log2.hpp", + "external/sources/boost/boost/pending/is_heap.hpp", + "external/sources/boost/boost/pending/iterator_adaptors.hpp", + "external/sources/boost/boost/pending/iterator_tests.hpp", + "external/sources/boost/boost/pending/mutable_heap.hpp", + "external/sources/boost/boost/pending/mutable_queue.hpp", + "external/sources/boost/boost/pending/property.hpp", + "external/sources/boost/boost/pending/property_serialize.hpp", + "external/sources/boost/boost/pending/queue.hpp", + "external/sources/boost/boost/pending/relaxed_heap.hpp", + "external/sources/boost/boost/pending/stringtok.hpp", + "external/sources/boost/boost/phoenix.hpp", + "external/sources/boost/boost/phoenix/bind.hpp", + "external/sources/boost/boost/phoenix/bind/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/bind_member_variable.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/member_function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_10.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_20.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_30.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_40.hpp", + "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_50.hpp", + "external/sources/boost/boost/phoenix/bind/detail/member_variable.hpp", + "external/sources/boost/boost/phoenix/config.hpp", + "external/sources/boost/boost/phoenix/core.hpp", + "external/sources/boost/boost/phoenix/core/actor.hpp", + "external/sources/boost/boost/phoenix/core/argument.hpp", + "external/sources/boost/boost/phoenix/core/arity.hpp", + "external/sources/boost/boost/phoenix/core/as_actor.hpp", + "external/sources/boost/boost/phoenix/core/call.hpp", + "external/sources/boost/boost/phoenix/core/debug.hpp", + "external/sources/boost/boost/phoenix/core/detail/argument.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_operator.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_result_of.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/call.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval_expr.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_10.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_20.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_30.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_40.hpp", + "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_50.hpp", + "external/sources/boost/boost/phoenix/core/detail/expression.hpp", + "external/sources/boost/boost/phoenix/core/detail/function_eval.hpp", + "external/sources/boost/boost/phoenix/core/detail/index_sequence.hpp", + "external/sources/boost/boost/phoenix/core/domain.hpp", + "external/sources/boost/boost/phoenix/core/environment.hpp", + "external/sources/boost/boost/phoenix/core/expression.hpp", + "external/sources/boost/boost/phoenix/core/function_equal.hpp", + "external/sources/boost/boost/phoenix/core/is_actor.hpp", + "external/sources/boost/boost/phoenix/core/is_nullary.hpp", + "external/sources/boost/boost/phoenix/core/is_value.hpp", + "external/sources/boost/boost/phoenix/core/limits.hpp", + "external/sources/boost/boost/phoenix/core/meta_grammar.hpp", + "external/sources/boost/boost/phoenix/core/nothing.hpp", + "external/sources/boost/boost/phoenix/core/reference.hpp", + "external/sources/boost/boost/phoenix/core/terminal.hpp", + "external/sources/boost/boost/phoenix/core/terminal_fwd.hpp", + "external/sources/boost/boost/phoenix/core/v2_eval.hpp", + "external/sources/boost/boost/phoenix/core/value.hpp", + "external/sources/boost/boost/phoenix/debug.hpp", + "external/sources/boost/boost/phoenix/function.hpp", + "external/sources/boost/boost/phoenix/function/adapt_callable.hpp", + "external/sources/boost/boost/phoenix/function/adapt_function.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/function_operator.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_20.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_30.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_40.hpp", + "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_50.hpp", + "external/sources/boost/boost/phoenix/function/function.hpp", + "external/sources/boost/boost/phoenix/function/lazy_list.hpp", + "external/sources/boost/boost/phoenix/function/lazy_operator.hpp", + "external/sources/boost/boost/phoenix/function/lazy_prelude.hpp", + "external/sources/boost/boost/phoenix/function/lazy_reuse.hpp", + "external/sources/boost/boost/phoenix/function/lazy_signature.hpp", + "external/sources/boost/boost/phoenix/function/lazy_smart.hpp", + "external/sources/boost/boost/phoenix/fusion.hpp", + "external/sources/boost/boost/phoenix/fusion/at.hpp", + "external/sources/boost/boost/phoenix/object.hpp", + "external/sources/boost/boost/phoenix/object/const_cast.hpp", + "external/sources/boost/boost/phoenix/object/construct.hpp", + "external/sources/boost/boost/phoenix/object/delete.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/new_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_10.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_20.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_30.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_40.hpp", + "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_50.hpp", + "external/sources/boost/boost/phoenix/object/detail/target.hpp", + "external/sources/boost/boost/phoenix/object/dynamic_cast.hpp", + "external/sources/boost/boost/phoenix/object/new.hpp", + "external/sources/boost/boost/phoenix/object/reinterpret_cast.hpp", + "external/sources/boost/boost/phoenix/object/static_cast.hpp", + "external/sources/boost/boost/phoenix/operator.hpp", + "external/sources/boost/boost/phoenix/operator/arithmetic.hpp", + "external/sources/boost/boost/phoenix/operator/bitwise.hpp", + "external/sources/boost/boost/phoenix/operator/comparison.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval_result_of.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_expr.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_gen.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_10.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_20.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_30.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_40.hpp", + "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_50.hpp", + "external/sources/boost/boost/phoenix/operator/detail/define_operator.hpp", + "external/sources/boost/boost/phoenix/operator/detail/undef_operator.hpp", + "external/sources/boost/boost/phoenix/operator/if_else.hpp", + "external/sources/boost/boost/phoenix/operator/io.hpp", + "external/sources/boost/boost/phoenix/operator/logical.hpp", + "external/sources/boost/boost/phoenix/operator/member.hpp", + "external/sources/boost/boost/phoenix/operator/self.hpp", + "external/sources/boost/boost/phoenix/phoenix.hpp", + "external/sources/boost/boost/phoenix/scope.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/local_gen.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_10.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_20.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_30.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_40.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_50.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_10.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_20.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_30.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp", + "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_50.hpp", + "external/sources/boost/boost/phoenix/scope/detail/local_gen.hpp", + "external/sources/boost/boost/phoenix/scope/detail/local_variable.hpp", + "external/sources/boost/boost/phoenix/scope/dynamic.hpp", + "external/sources/boost/boost/phoenix/scope/lambda.hpp", + "external/sources/boost/boost/phoenix/scope/let.hpp", + "external/sources/boost/boost/phoenix/scope/local_variable.hpp", + "external/sources/boost/boost/phoenix/scope/scoped_environment.hpp", + "external/sources/boost/boost/phoenix/scope/this.hpp", + "external/sources/boost/boost/phoenix/statement.hpp", + "external/sources/boost/boost/phoenix/statement/detail/catch_push_back.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_10.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_20.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_40.hpp", + "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_50.hpp", + "external/sources/boost/boost/phoenix/statement/detail/switch.hpp", + "external/sources/boost/boost/phoenix/statement/detail/try_catch_eval.hpp", + "external/sources/boost/boost/phoenix/statement/detail/try_catch_expression.hpp", + "external/sources/boost/boost/phoenix/statement/do_while.hpp", + "external/sources/boost/boost/phoenix/statement/for.hpp", + "external/sources/boost/boost/phoenix/statement/if.hpp", + "external/sources/boost/boost/phoenix/statement/sequence.hpp", + "external/sources/boost/boost/phoenix/statement/switch.hpp", + "external/sources/boost/boost/phoenix/statement/throw.hpp", + "external/sources/boost/boost/phoenix/statement/try_catch.hpp", + "external/sources/boost/boost/phoenix/statement/while.hpp", + "external/sources/boost/boost/phoenix/stl.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/begin.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/decay_array.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/end.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_equal_range.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_find.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_lower_bound.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove_if.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_reverse.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_sort.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_unique.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_upper_bound.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_set.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_list.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_set.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/iteration.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/querying.hpp", + "external/sources/boost/boost/phoenix/stl/algorithm/transformation.hpp", + "external/sources/boost/boost/phoenix/stl/cmath.hpp", + "external/sources/boost/boost/phoenix/stl/container.hpp", + "external/sources/boost/boost/phoenix/stl/container/container.hpp", + "external/sources/boost/boost/phoenix/stl/container/detail/container.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate_define.hpp", + "external/sources/boost/boost/phoenix/support/detail/iterate_undef.hpp", + "external/sources/boost/boost/phoenix/support/iterate.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_10.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_20.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_30.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_40.hpp", + "external/sources/boost/boost/phoenix/support/preprocessed/vector_50.hpp", + "external/sources/boost/boost/phoenix/support/preprocessor/round.hpp", + "external/sources/boost/boost/phoenix/support/vector.hpp", + "external/sources/boost/boost/phoenix/version.hpp", + "external/sources/boost/boost/pointee.hpp", + "external/sources/boost/boost/pointer_cast.hpp", + "external/sources/boost/boost/pointer_to_other.hpp", + "external/sources/boost/boost/poly_collection/algorithm.hpp", + "external/sources/boost/boost/poly_collection/any_collection.hpp", + "external/sources/boost/boost/poly_collection/any_collection_fwd.hpp", + "external/sources/boost/boost/poly_collection/base_collection.hpp", + "external/sources/boost/boost/poly_collection/base_collection_fwd.hpp", + "external/sources/boost/boost/poly_collection/detail/allocator_adaptor.hpp", + "external/sources/boost/boost/poly_collection/detail/any_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/any_model.hpp", + "external/sources/boost/boost/poly_collection/detail/auto_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/base_model.hpp", + "external/sources/boost/boost/poly_collection/detail/callable_wrapper.hpp", + "external/sources/boost/boost/poly_collection/detail/callable_wrapper_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/function_model.hpp", + "external/sources/boost/boost/poly_collection/detail/functional.hpp", + "external/sources/boost/boost/poly_collection/detail/is_acceptable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_constructible.hpp", + "external/sources/boost/boost/poly_collection/detail/is_equality_comparable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_final.hpp", + "external/sources/boost/boost/poly_collection/detail/is_invocable.hpp", + "external/sources/boost/boost/poly_collection/detail/is_nothrow_eq_comparable.hpp", + "external/sources/boost/boost/poly_collection/detail/iterator_impl.hpp", + "external/sources/boost/boost/poly_collection/detail/iterator_traits.hpp", + "external/sources/boost/boost/poly_collection/detail/packed_segment.hpp", + "external/sources/boost/boost/poly_collection/detail/poly_collection.hpp", + "external/sources/boost/boost/poly_collection/detail/segment.hpp", + "external/sources/boost/boost/poly_collection/detail/segment_backend.hpp", + "external/sources/boost/boost/poly_collection/detail/segment_split.hpp", + "external/sources/boost/boost/poly_collection/detail/split_segment.hpp", + "external/sources/boost/boost/poly_collection/detail/stride_iterator.hpp", + "external/sources/boost/boost/poly_collection/detail/type_info_map.hpp", + "external/sources/boost/boost/poly_collection/detail/type_restitution.hpp", + "external/sources/boost/boost/poly_collection/detail/value_holder.hpp", + "external/sources/boost/boost/poly_collection/exception.hpp", + "external/sources/boost/boost/poly_collection/function_collection.hpp", + "external/sources/boost/boost/poly_collection/function_collection_fwd.hpp", + "external/sources/boost/boost/polygon/detail/boolean_op.hpp", + "external/sources/boost/boost/polygon/detail/boolean_op_45.hpp", + "external/sources/boost/boost/polygon/detail/iterator_compact_to_points.hpp", + "external/sources/boost/boost/polygon/detail/iterator_geometry_to_set.hpp", + "external/sources/boost/boost/polygon/detail/iterator_points_to_compact.hpp", + "external/sources/boost/boost/polygon/detail/max_cover.hpp", + "external/sources/boost/boost/polygon/detail/minkowski.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_45_touch.hpp", + "external/sources/boost/boost/polygon/detail/polygon_90_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_90_touch.hpp", + "external/sources/boost/boost/polygon/detail/polygon_arbitrary_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_formation.hpp", + "external/sources/boost/boost/polygon/detail/polygon_set_view.hpp", + "external/sources/boost/boost/polygon/detail/polygon_simplify.hpp", + "external/sources/boost/boost/polygon/detail/polygon_sort_adaptor.hpp", + "external/sources/boost/boost/polygon/detail/property_merge.hpp", + "external/sources/boost/boost/polygon/detail/property_merge_45.hpp", + "external/sources/boost/boost/polygon/detail/rectangle_formation.hpp", + "external/sources/boost/boost/polygon/detail/scan_arbitrary.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_ctypes.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_predicates.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_robust_fpt.hpp", + "external/sources/boost/boost/polygon/detail/voronoi_structures.hpp", + "external/sources/boost/boost/polygon/gmp_override.hpp", + "external/sources/boost/boost/polygon/gtl.hpp", + "external/sources/boost/boost/polygon/interval_concept.hpp", + "external/sources/boost/boost/polygon/interval_data.hpp", + "external/sources/boost/boost/polygon/interval_traits.hpp", + "external/sources/boost/boost/polygon/isotropy.hpp", + "external/sources/boost/boost/polygon/point_concept.hpp", + "external/sources/boost/boost/polygon/point_data.hpp", + "external/sources/boost/boost/polygon/point_traits.hpp", + "external/sources/boost/boost/polygon/polygon.hpp", + "external/sources/boost/boost/polygon/polygon_45_data.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_45_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_45_with_holes_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_90_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_90_with_holes_data.hpp", + "external/sources/boost/boost/polygon/polygon_data.hpp", + "external/sources/boost/boost/polygon/polygon_set_concept.hpp", + "external/sources/boost/boost/polygon/polygon_set_data.hpp", + "external/sources/boost/boost/polygon/polygon_set_traits.hpp", + "external/sources/boost/boost/polygon/polygon_traits.hpp", + "external/sources/boost/boost/polygon/polygon_with_holes_data.hpp", + "external/sources/boost/boost/polygon/rectangle_concept.hpp", + "external/sources/boost/boost/polygon/rectangle_data.hpp", + "external/sources/boost/boost/polygon/rectangle_traits.hpp", + "external/sources/boost/boost/polygon/segment_concept.hpp", + "external/sources/boost/boost/polygon/segment_data.hpp", + "external/sources/boost/boost/polygon/segment_traits.hpp", + "external/sources/boost/boost/polygon/segment_utils.hpp", + "external/sources/boost/boost/polygon/transform.hpp", + "external/sources/boost/boost/polygon/voronoi.hpp", + "external/sources/boost/boost/polygon/voronoi_builder.hpp", + "external/sources/boost/boost/polygon/voronoi_diagram.hpp", + "external/sources/boost/boost/polygon/voronoi_geometry_type.hpp", + "external/sources/boost/boost/polymorphic_cast.hpp", + "external/sources/boost/boost/polymorphic_pointer_cast.hpp", + "external/sources/boost/boost/pool/detail/for.m4", + "external/sources/boost/boost/pool/detail/guard.hpp", + "external/sources/boost/boost/pool/detail/mutex.hpp", + "external/sources/boost/boost/pool/detail/pool_construct.bat", + "external/sources/boost/boost/pool/detail/pool_construct.ipp", + "external/sources/boost/boost/pool/detail/pool_construct.m4", + "external/sources/boost/boost/pool/detail/pool_construct.sh", + "external/sources/boost/boost/pool/detail/pool_construct_simple.bat", + "external/sources/boost/boost/pool/detail/pool_construct_simple.ipp", + "external/sources/boost/boost/pool/detail/pool_construct_simple.m4", + "external/sources/boost/boost/pool/detail/pool_construct_simple.sh", + "external/sources/boost/boost/pool/object_pool.hpp", + "external/sources/boost/boost/pool/pool.hpp", + "external/sources/boost/boost/pool/pool_alloc.hpp", + "external/sources/boost/boost/pool/poolfwd.hpp", + "external/sources/boost/boost/pool/simple_segregated_storage.hpp", + "external/sources/boost/boost/pool/singleton_pool.hpp", + "external/sources/boost/boost/predef.h", + "external/sources/boost/boost/predef/architecture.h", + "external/sources/boost/boost/predef/architecture/alpha.h", + "external/sources/boost/boost/predef/architecture/arm.h", + "external/sources/boost/boost/predef/architecture/blackfin.h", + "external/sources/boost/boost/predef/architecture/convex.h", + "external/sources/boost/boost/predef/architecture/ia64.h", + "external/sources/boost/boost/predef/architecture/m68k.h", + "external/sources/boost/boost/predef/architecture/mips.h", + "external/sources/boost/boost/predef/architecture/parisc.h", + "external/sources/boost/boost/predef/architecture/ppc.h", + "external/sources/boost/boost/predef/architecture/ptx.h", + "external/sources/boost/boost/predef/architecture/pyramid.h", + "external/sources/boost/boost/predef/architecture/riscv.h", + "external/sources/boost/boost/predef/architecture/rs6k.h", + "external/sources/boost/boost/predef/architecture/sparc.h", + "external/sources/boost/boost/predef/architecture/superh.h", + "external/sources/boost/boost/predef/architecture/sys370.h", + "external/sources/boost/boost/predef/architecture/sys390.h", + "external/sources/boost/boost/predef/architecture/x86.h", + "external/sources/boost/boost/predef/architecture/x86/32.h", + "external/sources/boost/boost/predef/architecture/x86/64.h", + "external/sources/boost/boost/predef/architecture/z.h", + "external/sources/boost/boost/predef/compiler.h", + "external/sources/boost/boost/predef/compiler/borland.h", + "external/sources/boost/boost/predef/compiler/clang.h", + "external/sources/boost/boost/predef/compiler/comeau.h", + "external/sources/boost/boost/predef/compiler/compaq.h", + "external/sources/boost/boost/predef/compiler/diab.h", + "external/sources/boost/boost/predef/compiler/digitalmars.h", + "external/sources/boost/boost/predef/compiler/dignus.h", + "external/sources/boost/boost/predef/compiler/edg.h", + "external/sources/boost/boost/predef/compiler/ekopath.h", + "external/sources/boost/boost/predef/compiler/gcc.h", + "external/sources/boost/boost/predef/compiler/gcc_xml.h", + "external/sources/boost/boost/predef/compiler/greenhills.h", + "external/sources/boost/boost/predef/compiler/hp_acc.h", + "external/sources/boost/boost/predef/compiler/iar.h", + "external/sources/boost/boost/predef/compiler/ibm.h", + "external/sources/boost/boost/predef/compiler/intel.h", + "external/sources/boost/boost/predef/compiler/kai.h", + "external/sources/boost/boost/predef/compiler/llvm.h", + "external/sources/boost/boost/predef/compiler/metaware.h", + "external/sources/boost/boost/predef/compiler/metrowerks.h", + "external/sources/boost/boost/predef/compiler/microtec.h", + "external/sources/boost/boost/predef/compiler/mpw.h", + "external/sources/boost/boost/predef/compiler/nvcc.h", + "external/sources/boost/boost/predef/compiler/palm.h", + "external/sources/boost/boost/predef/compiler/pgi.h", + "external/sources/boost/boost/predef/compiler/sgi_mipspro.h", + "external/sources/boost/boost/predef/compiler/sunpro.h", + "external/sources/boost/boost/predef/compiler/tendra.h", + "external/sources/boost/boost/predef/compiler/visualc.h", + "external/sources/boost/boost/predef/compiler/watcom.h", + "external/sources/boost/boost/predef/detail/_cassert.h", + "external/sources/boost/boost/predef/detail/_exception.h", + "external/sources/boost/boost/predef/detail/comp_detected.h", + "external/sources/boost/boost/predef/detail/os_detected.h", + "external/sources/boost/boost/predef/detail/platform_detected.h", + "external/sources/boost/boost/predef/detail/test.h", + "external/sources/boost/boost/predef/detail/test_def.h", + "external/sources/boost/boost/predef/hardware.h", + "external/sources/boost/boost/predef/hardware/simd.h", + "external/sources/boost/boost/predef/hardware/simd/arm.h", + "external/sources/boost/boost/predef/hardware/simd/arm/versions.h", + "external/sources/boost/boost/predef/hardware/simd/ppc.h", + "external/sources/boost/boost/predef/hardware/simd/ppc/versions.h", + "external/sources/boost/boost/predef/hardware/simd/x86.h", + "external/sources/boost/boost/predef/hardware/simd/x86/versions.h", + "external/sources/boost/boost/predef/hardware/simd/x86_amd.h", + "external/sources/boost/boost/predef/hardware/simd/x86_amd/versions.h", + "external/sources/boost/boost/predef/language.h", + "external/sources/boost/boost/predef/language/cuda.h", + "external/sources/boost/boost/predef/language/objc.h", + "external/sources/boost/boost/predef/language/stdc.h", + "external/sources/boost/boost/predef/language/stdcpp.h", + "external/sources/boost/boost/predef/library.h", + "external/sources/boost/boost/predef/library/c.h", + "external/sources/boost/boost/predef/library/c/_prefix.h", + "external/sources/boost/boost/predef/library/c/cloudabi.h", + "external/sources/boost/boost/predef/library/c/gnu.h", + "external/sources/boost/boost/predef/library/c/uc.h", + "external/sources/boost/boost/predef/library/c/vms.h", + "external/sources/boost/boost/predef/library/c/zos.h", + "external/sources/boost/boost/predef/library/std.h", + "external/sources/boost/boost/predef/library/std/_prefix.h", + "external/sources/boost/boost/predef/library/std/cxx.h", + "external/sources/boost/boost/predef/library/std/dinkumware.h", + "external/sources/boost/boost/predef/library/std/libcomo.h", + "external/sources/boost/boost/predef/library/std/modena.h", + "external/sources/boost/boost/predef/library/std/msl.h", + "external/sources/boost/boost/predef/library/std/roguewave.h", + "external/sources/boost/boost/predef/library/std/sgi.h", + "external/sources/boost/boost/predef/library/std/stdcpp3.h", + "external/sources/boost/boost/predef/library/std/stlport.h", + "external/sources/boost/boost/predef/library/std/vacpp.h", + "external/sources/boost/boost/predef/make.h", + "external/sources/boost/boost/predef/os.h", + "external/sources/boost/boost/predef/os/aix.h", + "external/sources/boost/boost/predef/os/amigaos.h", + "external/sources/boost/boost/predef/os/beos.h", + "external/sources/boost/boost/predef/os/bsd.h", + "external/sources/boost/boost/predef/os/bsd/bsdi.h", + "external/sources/boost/boost/predef/os/bsd/dragonfly.h", + "external/sources/boost/boost/predef/os/bsd/free.h", + "external/sources/boost/boost/predef/os/bsd/net.h", + "external/sources/boost/boost/predef/os/bsd/open.h", + "external/sources/boost/boost/predef/os/cygwin.h", + "external/sources/boost/boost/predef/os/haiku.h", + "external/sources/boost/boost/predef/os/hpux.h", + "external/sources/boost/boost/predef/os/ios.h", + "external/sources/boost/boost/predef/os/irix.h", + "external/sources/boost/boost/predef/os/linux.h", + "external/sources/boost/boost/predef/os/macos.h", + "external/sources/boost/boost/predef/os/os400.h", + "external/sources/boost/boost/predef/os/qnxnto.h", + "external/sources/boost/boost/predef/os/solaris.h", + "external/sources/boost/boost/predef/os/unix.h", + "external/sources/boost/boost/predef/os/vms.h", + "external/sources/boost/boost/predef/os/windows.h", + "external/sources/boost/boost/predef/other.h", + "external/sources/boost/boost/predef/other/endian.h", + "external/sources/boost/boost/predef/other/workaround.h", + "external/sources/boost/boost/predef/platform.h", + "external/sources/boost/boost/predef/platform/android.h", + "external/sources/boost/boost/predef/platform/cloudabi.h", + "external/sources/boost/boost/predef/platform/ios.h", + "external/sources/boost/boost/predef/platform/mingw.h", + "external/sources/boost/boost/predef/platform/mingw32.h", + "external/sources/boost/boost/predef/platform/mingw64.h", + "external/sources/boost/boost/predef/platform/windows_desktop.h", + "external/sources/boost/boost/predef/platform/windows_phone.h", + "external/sources/boost/boost/predef/platform/windows_runtime.h", + "external/sources/boost/boost/predef/platform/windows_server.h", + "external/sources/boost/boost/predef/platform/windows_store.h", + "external/sources/boost/boost/predef/platform/windows_system.h", + "external/sources/boost/boost/predef/platform/windows_uwp.h", + "external/sources/boost/boost/predef/version.h", + "external/sources/boost/boost/predef/version_number.h", + "external/sources/boost/boost/preprocessor.hpp", + "external/sources/boost/boost/preprocessor/arithmetic.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/add.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/dec.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/detail/div_base.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/div.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/inc.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/mod.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/mul.hpp", + "external/sources/boost/boost/preprocessor/arithmetic/sub.hpp", + "external/sources/boost/boost/preprocessor/array.hpp", + "external/sources/boost/boost/preprocessor/array/data.hpp", + "external/sources/boost/boost/preprocessor/array/detail/get_data.hpp", + "external/sources/boost/boost/preprocessor/array/elem.hpp", + "external/sources/boost/boost/preprocessor/array/enum.hpp", + "external/sources/boost/boost/preprocessor/array/insert.hpp", + "external/sources/boost/boost/preprocessor/array/pop_back.hpp", + "external/sources/boost/boost/preprocessor/array/pop_front.hpp", + "external/sources/boost/boost/preprocessor/array/push_back.hpp", + "external/sources/boost/boost/preprocessor/array/push_front.hpp", + "external/sources/boost/boost/preprocessor/array/remove.hpp", + "external/sources/boost/boost/preprocessor/array/replace.hpp", + "external/sources/boost/boost/preprocessor/array/reverse.hpp", + "external/sources/boost/boost/preprocessor/array/size.hpp", + "external/sources/boost/boost/preprocessor/array/to_list.hpp", + "external/sources/boost/boost/preprocessor/array/to_seq.hpp", + "external/sources/boost/boost/preprocessor/array/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/assert_msg.hpp", + "external/sources/boost/boost/preprocessor/cat.hpp", + "external/sources/boost/boost/preprocessor/comma.hpp", + "external/sources/boost/boost/preprocessor/comma_if.hpp", + "external/sources/boost/boost/preprocessor/comparison.hpp", + "external/sources/boost/boost/preprocessor/comparison/equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/greater.hpp", + "external/sources/boost/boost/preprocessor/comparison/greater_equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/less.hpp", + "external/sources/boost/boost/preprocessor/comparison/less_equal.hpp", + "external/sources/boost/boost/preprocessor/comparison/not_equal.hpp", + "external/sources/boost/boost/preprocessor/config/config.hpp", + "external/sources/boost/boost/preprocessor/config/limits.hpp", + "external/sources/boost/boost/preprocessor/control.hpp", + "external/sources/boost/boost/preprocessor/control/deduce_d.hpp", + "external/sources/boost/boost/preprocessor/control/detail/dmc/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/edg/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/msvc/while.hpp", + "external/sources/boost/boost/preprocessor/control/detail/while.hpp", + "external/sources/boost/boost/preprocessor/control/expr_if.hpp", + "external/sources/boost/boost/preprocessor/control/expr_iif.hpp", + "external/sources/boost/boost/preprocessor/control/if.hpp", + "external/sources/boost/boost/preprocessor/control/iif.hpp", + "external/sources/boost/boost/preprocessor/control/while.hpp", + "external/sources/boost/boost/preprocessor/debug.hpp", + "external/sources/boost/boost/preprocessor/dec.hpp", + "external/sources/boost/boost/preprocessor/detail/auto_rec.hpp", + "external/sources/boost/boost/preprocessor/detail/check.hpp", + "external/sources/boost/boost/preprocessor/detail/dmc/auto_rec.hpp", + "external/sources/boost/boost/preprocessor/detail/is_binary.hpp", + "external/sources/boost/boost/preprocessor/detail/is_nullary.hpp", + "external/sources/boost/boost/preprocessor/detail/is_unary.hpp", + "external/sources/boost/boost/preprocessor/detail/null.hpp", + "external/sources/boost/boost/preprocessor/detail/split.hpp", + "external/sources/boost/boost/preprocessor/empty.hpp", + "external/sources/boost/boost/preprocessor/enum.hpp", + "external/sources/boost/boost/preprocessor/enum_params.hpp", + "external/sources/boost/boost/preprocessor/enum_params_with_a_default.hpp", + "external/sources/boost/boost/preprocessor/enum_params_with_defaults.hpp", + "external/sources/boost/boost/preprocessor/enum_shifted.hpp", + "external/sources/boost/boost/preprocessor/enum_shifted_params.hpp", + "external/sources/boost/boost/preprocessor/expand.hpp", + "external/sources/boost/boost/preprocessor/expr_if.hpp", + "external/sources/boost/boost/preprocessor/facilities.hpp", + "external/sources/boost/boost/preprocessor/facilities/apply.hpp", + "external/sources/boost/boost/preprocessor/facilities/check_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/detail/is_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/expand.hpp", + "external/sources/boost/boost/preprocessor/facilities/identity.hpp", + "external/sources/boost/boost/preprocessor/facilities/intercept.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_1.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty_or_1.hpp", + "external/sources/boost/boost/preprocessor/facilities/is_empty_variadic.hpp", + "external/sources/boost/boost/preprocessor/facilities/overload.hpp", + "external/sources/boost/boost/preprocessor/facilities/va_opt.hpp", + "external/sources/boost/boost/preprocessor/for.hpp", + "external/sources/boost/boost/preprocessor/identity.hpp", + "external/sources/boost/boost/preprocessor/if.hpp", + "external/sources/boost/boost/preprocessor/inc.hpp", + "external/sources/boost/boost/preprocessor/iterate.hpp", + "external/sources/boost/boost/preprocessor/iteration.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/finish.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse1.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse2.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse3.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse4.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse5.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/local.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/rlocal.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/self.hpp", + "external/sources/boost/boost/preprocessor/iteration/detail/start.hpp", + "external/sources/boost/boost/preprocessor/iteration/iterate.hpp", + "external/sources/boost/boost/preprocessor/iteration/local.hpp", + "external/sources/boost/boost/preprocessor/iteration/self.hpp", + "external/sources/boost/boost/preprocessor/library.hpp", + "external/sources/boost/boost/preprocessor/limits.hpp", + "external/sources/boost/boost/preprocessor/list.hpp", + "external/sources/boost/boost/preprocessor/list/adt.hpp", + "external/sources/boost/boost/preprocessor/list/append.hpp", + "external/sources/boost/boost/preprocessor/list/at.hpp", + "external/sources/boost/boost/preprocessor/list/cat.hpp", + "external/sources/boost/boost/preprocessor/list/detail/dmc/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/edg/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/edg/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/detail/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/detail/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/enum.hpp", + "external/sources/boost/boost/preprocessor/list/filter.hpp", + "external/sources/boost/boost/preprocessor/list/first_n.hpp", + "external/sources/boost/boost/preprocessor/list/fold_left.hpp", + "external/sources/boost/boost/preprocessor/list/fold_right.hpp", + "external/sources/boost/boost/preprocessor/list/for_each.hpp", + "external/sources/boost/boost/preprocessor/list/for_each_i.hpp", + "external/sources/boost/boost/preprocessor/list/for_each_product.hpp", + "external/sources/boost/boost/preprocessor/list/rest_n.hpp", + "external/sources/boost/boost/preprocessor/list/reverse.hpp", + "external/sources/boost/boost/preprocessor/list/size.hpp", + "external/sources/boost/boost/preprocessor/list/to_array.hpp", + "external/sources/boost/boost/preprocessor/list/to_seq.hpp", + "external/sources/boost/boost/preprocessor/list/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/list/transform.hpp", + "external/sources/boost/boost/preprocessor/logical.hpp", + "external/sources/boost/boost/preprocessor/logical/and.hpp", + "external/sources/boost/boost/preprocessor/logical/bitand.hpp", + "external/sources/boost/boost/preprocessor/logical/bitnor.hpp", + "external/sources/boost/boost/preprocessor/logical/bitor.hpp", + "external/sources/boost/boost/preprocessor/logical/bitxor.hpp", + "external/sources/boost/boost/preprocessor/logical/bool.hpp", + "external/sources/boost/boost/preprocessor/logical/compl.hpp", + "external/sources/boost/boost/preprocessor/logical/nor.hpp", + "external/sources/boost/boost/preprocessor/logical/not.hpp", + "external/sources/boost/boost/preprocessor/logical/or.hpp", + "external/sources/boost/boost/preprocessor/logical/xor.hpp", + "external/sources/boost/boost/preprocessor/max.hpp", + "external/sources/boost/boost/preprocessor/min.hpp", + "external/sources/boost/boost/preprocessor/punctuation.hpp", + "external/sources/boost/boost/preprocessor/punctuation/comma.hpp", + "external/sources/boost/boost/preprocessor/punctuation/comma_if.hpp", + "external/sources/boost/boost/preprocessor/punctuation/detail/is_begin_parens.hpp", + "external/sources/boost/boost/preprocessor/punctuation/is_begin_parens.hpp", + "external/sources/boost/boost/preprocessor/punctuation/paren.hpp", + "external/sources/boost/boost/preprocessor/punctuation/paren_if.hpp", + "external/sources/boost/boost/preprocessor/punctuation/remove_parens.hpp", + "external/sources/boost/boost/preprocessor/repeat.hpp", + "external/sources/boost/boost/preprocessor/repeat_2nd.hpp", + "external/sources/boost/boost/preprocessor/repeat_3rd.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to_2nd.hpp", + "external/sources/boost/boost/preprocessor/repeat_from_to_3rd.hpp", + "external/sources/boost/boost/preprocessor/repetition.hpp", + "external/sources/boost/boost/preprocessor/repetition/deduce_r.hpp", + "external/sources/boost/boost/preprocessor/repetition/deduce_z.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/dmc/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/edg/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/detail/msvc/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params_with_a_default.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_params_with_defaults.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_shifted_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing_binary_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/enum_trailing_params.hpp", + "external/sources/boost/boost/preprocessor/repetition/for.hpp", + "external/sources/boost/boost/preprocessor/repetition/repeat.hpp", + "external/sources/boost/boost/preprocessor/repetition/repeat_from_to.hpp", + "external/sources/boost/boost/preprocessor/selection.hpp", + "external/sources/boost/boost/preprocessor/selection/max.hpp", + "external/sources/boost/boost/preprocessor/selection/min.hpp", + "external/sources/boost/boost/preprocessor/seq.hpp", + "external/sources/boost/boost/preprocessor/seq/cat.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/binary_transform.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/is_empty.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/split.hpp", + "external/sources/boost/boost/preprocessor/seq/detail/to_list_msvc.hpp", + "external/sources/boost/boost/preprocessor/seq/elem.hpp", + "external/sources/boost/boost/preprocessor/seq/enum.hpp", + "external/sources/boost/boost/preprocessor/seq/filter.hpp", + "external/sources/boost/boost/preprocessor/seq/first_n.hpp", + "external/sources/boost/boost/preprocessor/seq/fold_left.hpp", + "external/sources/boost/boost/preprocessor/seq/fold_right.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each_i.hpp", + "external/sources/boost/boost/preprocessor/seq/for_each_product.hpp", + "external/sources/boost/boost/preprocessor/seq/insert.hpp", + "external/sources/boost/boost/preprocessor/seq/pop_back.hpp", + "external/sources/boost/boost/preprocessor/seq/pop_front.hpp", + "external/sources/boost/boost/preprocessor/seq/push_back.hpp", + "external/sources/boost/boost/preprocessor/seq/push_front.hpp", + "external/sources/boost/boost/preprocessor/seq/remove.hpp", + "external/sources/boost/boost/preprocessor/seq/replace.hpp", + "external/sources/boost/boost/preprocessor/seq/rest_n.hpp", + "external/sources/boost/boost/preprocessor/seq/reverse.hpp", + "external/sources/boost/boost/preprocessor/seq/seq.hpp", + "external/sources/boost/boost/preprocessor/seq/size.hpp", + "external/sources/boost/boost/preprocessor/seq/subseq.hpp", + "external/sources/boost/boost/preprocessor/seq/to_array.hpp", + "external/sources/boost/boost/preprocessor/seq/to_list.hpp", + "external/sources/boost/boost/preprocessor/seq/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/seq/transform.hpp", + "external/sources/boost/boost/preprocessor/seq/variadic_seq_to_seq.hpp", + "external/sources/boost/boost/preprocessor/slot.hpp", + "external/sources/boost/boost/preprocessor/slot/counter.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/counter.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/def.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/shared.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot1.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot2.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot3.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot4.hpp", + "external/sources/boost/boost/preprocessor/slot/detail/slot5.hpp", + "external/sources/boost/boost/preprocessor/slot/slot.hpp", + "external/sources/boost/boost/preprocessor/stringize.hpp", + "external/sources/boost/boost/preprocessor/tuple.hpp", + "external/sources/boost/boost/preprocessor/tuple/detail/is_single_return.hpp", + "external/sources/boost/boost/preprocessor/tuple/eat.hpp", + "external/sources/boost/boost/preprocessor/tuple/elem.hpp", + "external/sources/boost/boost/preprocessor/tuple/enum.hpp", + "external/sources/boost/boost/preprocessor/tuple/insert.hpp", + "external/sources/boost/boost/preprocessor/tuple/pop_back.hpp", + "external/sources/boost/boost/preprocessor/tuple/pop_front.hpp", + "external/sources/boost/boost/preprocessor/tuple/push_back.hpp", + "external/sources/boost/boost/preprocessor/tuple/push_front.hpp", + "external/sources/boost/boost/preprocessor/tuple/rem.hpp", + "external/sources/boost/boost/preprocessor/tuple/remove.hpp", + "external/sources/boost/boost/preprocessor/tuple/replace.hpp", + "external/sources/boost/boost/preprocessor/tuple/reverse.hpp", + "external/sources/boost/boost/preprocessor/tuple/size.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_array.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_list.hpp", + "external/sources/boost/boost/preprocessor/tuple/to_seq.hpp", + "external/sources/boost/boost/preprocessor/variadic.hpp", + "external/sources/boost/boost/preprocessor/variadic/detail/has_opt.hpp", + "external/sources/boost/boost/preprocessor/variadic/detail/is_single_return.hpp", + "external/sources/boost/boost/preprocessor/variadic/elem.hpp", + "external/sources/boost/boost/preprocessor/variadic/has_opt.hpp", + "external/sources/boost/boost/preprocessor/variadic/size.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_array.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_list.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_seq.hpp", + "external/sources/boost/boost/preprocessor/variadic/to_tuple.hpp", + "external/sources/boost/boost/preprocessor/while.hpp", + "external/sources/boost/boost/preprocessor/wstringize.hpp", + "external/sources/boost/boost/process.hpp", + "external/sources/boost/boost/process/args.hpp", + "external/sources/boost/boost/process/async.hpp", + "external/sources/boost/boost/process/async_pipe.hpp", + "external/sources/boost/boost/process/async_system.hpp", + "external/sources/boost/boost/process/child.hpp", + "external/sources/boost/boost/process/cmd.hpp", + "external/sources/boost/boost/process/detail/async_handler.hpp", + "external/sources/boost/boost/process/detail/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/child_decl.hpp", + "external/sources/boost/boost/process/detail/config.hpp", + "external/sources/boost/boost/process/detail/execute_impl.hpp", + "external/sources/boost/boost/process/detail/handler.hpp", + "external/sources/boost/boost/process/detail/handler_base.hpp", + "external/sources/boost/boost/process/detail/on_exit.hpp", + "external/sources/boost/boost/process/detail/posix/asio_fwd.hpp", + "external/sources/boost/boost/process/detail/posix/async_handler.hpp", + "external/sources/boost/boost/process/detail/posix/async_in.hpp", + "external/sources/boost/boost/process/detail/posix/async_out.hpp", + "external/sources/boost/boost/process/detail/posix/async_pipe.hpp", + "external/sources/boost/boost/process/detail/posix/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/posix/basic_pipe.hpp", + "external/sources/boost/boost/process/detail/posix/child_handle.hpp", + "external/sources/boost/boost/process/detail/posix/close_in.hpp", + "external/sources/boost/boost/process/detail/posix/close_out.hpp", + "external/sources/boost/boost/process/detail/posix/cmd.hpp", + "external/sources/boost/boost/process/detail/posix/compare_handles.hpp", + "external/sources/boost/boost/process/detail/posix/env_init.hpp", + "external/sources/boost/boost/process/detail/posix/environment.hpp", + "external/sources/boost/boost/process/detail/posix/exe.hpp", + "external/sources/boost/boost/process/detail/posix/executor.hpp", + "external/sources/boost/boost/process/detail/posix/fd.hpp", + "external/sources/boost/boost/process/detail/posix/file_descriptor.hpp", + "external/sources/boost/boost/process/detail/posix/file_in.hpp", + "external/sources/boost/boost/process/detail/posix/file_out.hpp", + "external/sources/boost/boost/process/detail/posix/group_handle.hpp", + "external/sources/boost/boost/process/detail/posix/group_ref.hpp", + "external/sources/boost/boost/process/detail/posix/handler.hpp", + "external/sources/boost/boost/process/detail/posix/handles.hpp", + "external/sources/boost/boost/process/detail/posix/io_context_ref.hpp", + "external/sources/boost/boost/process/detail/posix/is_running.hpp", + "external/sources/boost/boost/process/detail/posix/null_in.hpp", + "external/sources/boost/boost/process/detail/posix/null_out.hpp", + "external/sources/boost/boost/process/detail/posix/on_exit.hpp", + "external/sources/boost/boost/process/detail/posix/pipe_in.hpp", + "external/sources/boost/boost/process/detail/posix/pipe_out.hpp", + "external/sources/boost/boost/process/detail/posix/search_path.hpp", + "external/sources/boost/boost/process/detail/posix/shell_path.hpp", + "external/sources/boost/boost/process/detail/posix/sigchld_service.hpp", + "external/sources/boost/boost/process/detail/posix/signal.hpp", + "external/sources/boost/boost/process/detail/posix/start_dir.hpp", + "external/sources/boost/boost/process/detail/posix/terminate.hpp", + "external/sources/boost/boost/process/detail/posix/use_vfork.hpp", + "external/sources/boost/boost/process/detail/posix/wait_for_exit.hpp", + "external/sources/boost/boost/process/detail/posix/wait_group.hpp", + "external/sources/boost/boost/process/detail/throw_on_error.hpp", + "external/sources/boost/boost/process/detail/traits.hpp", + "external/sources/boost/boost/process/detail/traits/async.hpp", + "external/sources/boost/boost/process/detail/traits/cmd_or_exe.hpp", + "external/sources/boost/boost/process/detail/traits/decl.hpp", + "external/sources/boost/boost/process/detail/traits/env.hpp", + "external/sources/boost/boost/process/detail/traits/error.hpp", + "external/sources/boost/boost/process/detail/traits/group.hpp", + "external/sources/boost/boost/process/detail/traits/wchar_t.hpp", + "external/sources/boost/boost/process/detail/used_handles.hpp", + "external/sources/boost/boost/process/detail/windows/asio_fwd.hpp", + "external/sources/boost/boost/process/detail/windows/async_handler.hpp", + "external/sources/boost/boost/process/detail/windows/async_in.hpp", + "external/sources/boost/boost/process/detail/windows/async_out.hpp", + "external/sources/boost/boost/process/detail/windows/async_pipe.hpp", + "external/sources/boost/boost/process/detail/windows/basic_cmd.hpp", + "external/sources/boost/boost/process/detail/windows/basic_pipe.hpp", + "external/sources/boost/boost/process/detail/windows/child_handle.hpp", + "external/sources/boost/boost/process/detail/windows/close_in.hpp", + "external/sources/boost/boost/process/detail/windows/close_out.hpp", + "external/sources/boost/boost/process/detail/windows/cmd.hpp", + "external/sources/boost/boost/process/detail/windows/compare_handles.hpp", + "external/sources/boost/boost/process/detail/windows/env_init.hpp", + "external/sources/boost/boost/process/detail/windows/environment.hpp", + "external/sources/boost/boost/process/detail/windows/executor.hpp", + "external/sources/boost/boost/process/detail/windows/file_descriptor.hpp", + "external/sources/boost/boost/process/detail/windows/file_in.hpp", + "external/sources/boost/boost/process/detail/windows/file_out.hpp", + "external/sources/boost/boost/process/detail/windows/group_handle.hpp", + "external/sources/boost/boost/process/detail/windows/group_ref.hpp", + "external/sources/boost/boost/process/detail/windows/handle_workaround.hpp", + "external/sources/boost/boost/process/detail/windows/handler.hpp", + "external/sources/boost/boost/process/detail/windows/handles.hpp", + "external/sources/boost/boost/process/detail/windows/io_context_ref.hpp", + "external/sources/boost/boost/process/detail/windows/is_running.hpp", + "external/sources/boost/boost/process/detail/windows/job_workaround.hpp", + "external/sources/boost/boost/process/detail/windows/locale.hpp", + "external/sources/boost/boost/process/detail/windows/null_in.hpp", + "external/sources/boost/boost/process/detail/windows/null_out.hpp", + "external/sources/boost/boost/process/detail/windows/on_exit.hpp", + "external/sources/boost/boost/process/detail/windows/pipe_in.hpp", + "external/sources/boost/boost/process/detail/windows/pipe_out.hpp", + "external/sources/boost/boost/process/detail/windows/search_path.hpp", + "external/sources/boost/boost/process/detail/windows/shell_path.hpp", + "external/sources/boost/boost/process/detail/windows/show_window.hpp", + "external/sources/boost/boost/process/detail/windows/start_dir.hpp", + "external/sources/boost/boost/process/detail/windows/terminate.hpp", + "external/sources/boost/boost/process/detail/windows/wait_for_exit.hpp", + "external/sources/boost/boost/process/detail/windows/wait_group.hpp", + "external/sources/boost/boost/process/env.hpp", + "external/sources/boost/boost/process/environment.hpp", + "external/sources/boost/boost/process/error.hpp", + "external/sources/boost/boost/process/exception.hpp", + "external/sources/boost/boost/process/exe.hpp", + "external/sources/boost/boost/process/extend.hpp", + "external/sources/boost/boost/process/group.hpp", + "external/sources/boost/boost/process/handles.hpp", + "external/sources/boost/boost/process/io.hpp", + "external/sources/boost/boost/process/locale.hpp", + "external/sources/boost/boost/process/pipe.hpp", + "external/sources/boost/boost/process/posix.hpp", + "external/sources/boost/boost/process/search_path.hpp", + "external/sources/boost/boost/process/shell.hpp", + "external/sources/boost/boost/process/spawn.hpp", + "external/sources/boost/boost/process/start_dir.hpp", + "external/sources/boost/boost/process/system.hpp", + "external/sources/boost/boost/process/windows.hpp", + "external/sources/boost/boost/program_options.hpp", + "external/sources/boost/boost/program_options/cmdline.hpp", + "external/sources/boost/boost/program_options/config.hpp", + "external/sources/boost/boost/program_options/detail/cmdline.hpp", + "external/sources/boost/boost/program_options/detail/config_file.hpp", + "external/sources/boost/boost/program_options/detail/convert.hpp", + "external/sources/boost/boost/program_options/detail/parsers.hpp", + "external/sources/boost/boost/program_options/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/boost/program_options/detail/value_semantic.hpp", + "external/sources/boost/boost/program_options/environment_iterator.hpp", + "external/sources/boost/boost/program_options/eof_iterator.hpp", + "external/sources/boost/boost/program_options/errors.hpp", + "external/sources/boost/boost/program_options/option.hpp", + "external/sources/boost/boost/program_options/options_description.hpp", + "external/sources/boost/boost/program_options/parsers.hpp", + "external/sources/boost/boost/program_options/positional_options.hpp", + "external/sources/boost/boost/program_options/value_semantic.hpp", + "external/sources/boost/boost/program_options/variables_map.hpp", + "external/sources/boost/boost/program_options/version.hpp", + "external/sources/boost/boost/progress.hpp", + "external/sources/boost/boost/property_map/compose_property_map.hpp", + "external/sources/boost/boost/property_map/dynamic_property_map.hpp", + "external/sources/boost/boost/property_map/function_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/basic_reduce.hpp", + "external/sources/boost/boost/property_map/parallel/caching_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/detail/untracked_pair.hpp", + "external/sources/boost/boost/property_map/parallel/distributed_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/global_index_map.hpp", + "external/sources/boost/boost/property_map/parallel/impl/distributed_property_map.ipp", + "external/sources/boost/boost/property_map/parallel/local_property_map.hpp", + "external/sources/boost/boost/property_map/parallel/parallel_property_maps.hpp", + "external/sources/boost/boost/property_map/parallel/process_group.hpp", + "external/sources/boost/boost/property_map/parallel/simple_trigger.hpp", + "external/sources/boost/boost/property_map/parallel/unsafe_serialize.hpp", + "external/sources/boost/boost/property_map/parallel/vector_property_map.hpp", + "external/sources/boost/boost/property_map/property_map.hpp", + "external/sources/boost/boost/property_map/property_map_iterator.hpp", + "external/sources/boost/boost/property_map/shared_array_property_map.hpp", + "external/sources/boost/boost/property_map/transform_value_property_map.hpp", + "external/sources/boost/boost/property_map/vector_property_map.hpp", + "external/sources/boost/boost/property_tree/detail/exception_implementation.hpp", + "external/sources/boost/boost/property_tree/detail/file_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_read.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_utils.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_write.hpp", + "external/sources/boost/boost/property_tree/detail/info_parser_writer_settings.hpp", + "external/sources/boost/boost/property_tree/detail/ptree_implementation.hpp", + "external/sources/boost/boost/property_tree/detail/ptree_utils.hpp", + "external/sources/boost/boost/property_tree/detail/rapidxml.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_error.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_flags.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_read_rapidxml.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_utils.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_write.hpp", + "external/sources/boost/boost/property_tree/detail/xml_parser_writer_settings.hpp", + "external/sources/boost/boost/property_tree/exceptions.hpp", + "external/sources/boost/boost/property_tree/id_translator.hpp", + "external/sources/boost/boost/property_tree/info_parser.hpp", + "external/sources/boost/boost/property_tree/ini_parser.hpp", + "external/sources/boost/boost/property_tree/json_parser.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/narrow_encoding.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/parser.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/read.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/standard_callbacks.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/wide_encoding.hpp", + "external/sources/boost/boost/property_tree/json_parser/detail/write.hpp", + "external/sources/boost/boost/property_tree/json_parser/error.hpp", + "external/sources/boost/boost/property_tree/ptree.hpp", + "external/sources/boost/boost/property_tree/ptree_fwd.hpp", + "external/sources/boost/boost/property_tree/ptree_serialization.hpp", + "external/sources/boost/boost/property_tree/stream_translator.hpp", + "external/sources/boost/boost/property_tree/string_path.hpp", + "external/sources/boost/boost/property_tree/xml_parser.hpp", + "external/sources/boost/boost/proto/args.hpp", + "external/sources/boost/boost/proto/context.hpp", + "external/sources/boost/boost/proto/context/callable.hpp", + "external/sources/boost/boost/proto/context/default.hpp", + "external/sources/boost/boost/proto/context/detail/callable_eval.hpp", + "external/sources/boost/boost/proto/context/detail/default_eval.hpp", + "external/sources/boost/boost/proto/context/detail/null_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/callable_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/default_eval.hpp", + "external/sources/boost/boost/proto/context/detail/preprocessed/null_eval.hpp", + "external/sources/boost/boost/proto/context/null.hpp", + "external/sources/boost/boost/proto/core.hpp", + "external/sources/boost/boost/proto/debug.hpp", + "external/sources/boost/boost/proto/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/and_n.hpp", + "external/sources/boost/boost/proto/detail/any.hpp", + "external/sources/boost/boost/proto/detail/args.hpp", + "external/sources/boost/boost/proto/detail/as_expr.hpp", + "external/sources/boost/boost/proto/detail/as_lvalue.hpp", + "external/sources/boost/boost/proto/detail/basic_expr.hpp", + "external/sources/boost/boost/proto/detail/class_member_traits.hpp", + "external/sources/boost/boost/proto/detail/decltype.hpp", + "external/sources/boost/boost/proto/detail/deduce_domain.hpp", + "external/sources/boost/boost/proto/detail/deduce_domain_n.hpp", + "external/sources/boost/boost/proto/detail/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/deprecated.hpp", + "external/sources/boost/boost/proto/detail/dont_care.hpp", + "external/sources/boost/boost/proto/detail/expr.hpp", + "external/sources/boost/boost/proto/detail/expr_funop.hpp", + "external/sources/boost/boost/proto/detail/extends_funop.hpp", + "external/sources/boost/boost/proto/detail/extends_funop_const.hpp", + "external/sources/boost/boost/proto/detail/funop.hpp", + "external/sources/boost/boost/proto/detail/generate_by_value.hpp", + "external/sources/boost/boost/proto/detail/ignore_unused.hpp", + "external/sources/boost/boost/proto/detail/is_noncopyable.hpp", + "external/sources/boost/boost/proto/detail/lambda_matches.hpp", + "external/sources/boost/boost/proto/detail/local.hpp", + "external/sources/boost/boost/proto/detail/make_expr.hpp", + "external/sources/boost/boost/proto/detail/make_expr_.hpp", + "external/sources/boost/boost/proto/detail/make_expr_funop.hpp", + "external/sources/boost/boost/proto/detail/matches_.hpp", + "external/sources/boost/boost/proto/detail/memfun_funop.hpp", + "external/sources/boost/boost/proto/detail/or_n.hpp", + "external/sources/boost/boost/proto/detail/poly_function.hpp", + "external/sources/boost/boost/proto/detail/poly_function_funop.hpp", + "external/sources/boost/boost/proto/detail/poly_function_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/and_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/args.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/basic_expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/class_member_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/deduce_domain_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/deep_copy.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/expr_variadic.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/extends_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/extends_funop_const.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/generate_by_value.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/lambda_matches.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/make_expr_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/matches_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/memfun_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/or_n.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/poly_function_funop.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/poly_function_traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/template_arity_helper.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/traits.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/unpack_expr_.hpp", + "external/sources/boost/boost/proto/detail/preprocessed/vararg_matches_impl.hpp", + "external/sources/boost/boost/proto/detail/remove_typename.hpp", + "external/sources/boost/boost/proto/detail/static_const.hpp", + "external/sources/boost/boost/proto/detail/template_arity.hpp", + "external/sources/boost/boost/proto/detail/template_arity_helper.hpp", + "external/sources/boost/boost/proto/detail/traits.hpp", + "external/sources/boost/boost/proto/detail/unpack_expr_.hpp", + "external/sources/boost/boost/proto/detail/vararg_matches_impl.hpp", + "external/sources/boost/boost/proto/domain.hpp", + "external/sources/boost/boost/proto/eval.hpp", + "external/sources/boost/boost/proto/expr.hpp", + "external/sources/boost/boost/proto/extends.hpp", + "external/sources/boost/boost/proto/functional.hpp", + "external/sources/boost/boost/proto/functional/fusion.hpp", + "external/sources/boost/boost/proto/functional/fusion/at.hpp", + "external/sources/boost/boost/proto/functional/fusion/pop_back.hpp", + "external/sources/boost/boost/proto/functional/fusion/pop_front.hpp", + "external/sources/boost/boost/proto/functional/fusion/push_back.hpp", + "external/sources/boost/boost/proto/functional/fusion/push_front.hpp", + "external/sources/boost/boost/proto/functional/fusion/reverse.hpp", + "external/sources/boost/boost/proto/functional/range.hpp", + "external/sources/boost/boost/proto/functional/range/begin.hpp", + "external/sources/boost/boost/proto/functional/range/empty.hpp", + "external/sources/boost/boost/proto/functional/range/end.hpp", + "external/sources/boost/boost/proto/functional/range/rbegin.hpp", + "external/sources/boost/boost/proto/functional/range/rend.hpp", + "external/sources/boost/boost/proto/functional/range/size.hpp", + "external/sources/boost/boost/proto/functional/std.hpp", + "external/sources/boost/boost/proto/functional/std/iterator.hpp", + "external/sources/boost/boost/proto/functional/std/utility.hpp", + "external/sources/boost/boost/proto/fusion.hpp", + "external/sources/boost/boost/proto/generate.hpp", + "external/sources/boost/boost/proto/literal.hpp", + "external/sources/boost/boost/proto/make_expr.hpp", + "external/sources/boost/boost/proto/matches.hpp", + "external/sources/boost/boost/proto/operators.hpp", + "external/sources/boost/boost/proto/proto.hpp", + "external/sources/boost/boost/proto/proto_fwd.hpp", + "external/sources/boost/boost/proto/proto_typeof.hpp", + "external/sources/boost/boost/proto/repeat.hpp", + "external/sources/boost/boost/proto/tags.hpp", + "external/sources/boost/boost/proto/traits.hpp", + "external/sources/boost/boost/proto/transform.hpp", + "external/sources/boost/boost/proto/transform/arg.hpp", + "external/sources/boost/boost/proto/transform/call.hpp", + "external/sources/boost/boost/proto/transform/default.hpp", + "external/sources/boost/boost/proto/transform/detail/call.hpp", + "external/sources/boost/boost/proto/transform/detail/construct_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/construct_pod_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/default_function_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/expand_pack.hpp", + "external/sources/boost/boost/proto/transform/detail/fold_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/lazy.hpp", + "external/sources/boost/boost/proto/transform/detail/make.hpp", + "external/sources/boost/boost/proto/transform/detail/make_gcc_workaround.hpp", + "external/sources/boost/boost/proto/transform/detail/pack.hpp", + "external/sources/boost/boost/proto/transform/detail/pack_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/pass_through_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/call.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_pod_funop.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/default_function_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/expand_pack.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/fold_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/lazy.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/make.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/make_gcc_workaround.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/pack_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/pass_through_impl.hpp", + "external/sources/boost/boost/proto/transform/detail/preprocessed/when.hpp", + "external/sources/boost/boost/proto/transform/detail/when.hpp", + "external/sources/boost/boost/proto/transform/env.hpp", + "external/sources/boost/boost/proto/transform/fold.hpp", + "external/sources/boost/boost/proto/transform/fold_tree.hpp", + "external/sources/boost/boost/proto/transform/impl.hpp", + "external/sources/boost/boost/proto/transform/integral_c.hpp", + "external/sources/boost/boost/proto/transform/lazy.hpp", + "external/sources/boost/boost/proto/transform/make.hpp", + "external/sources/boost/boost/proto/transform/pass_through.hpp", + "external/sources/boost/boost/proto/transform/when.hpp", + "external/sources/boost/boost/ptr_container/clone_allocator.hpp", + "external/sources/boost/boost/ptr_container/detail/associative_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/detail/default_deleter.hpp", + "external/sources/boost/boost/ptr_container/detail/is_convertible.hpp", + "external/sources/boost/boost/ptr_container/detail/map_iterator.hpp", + "external/sources/boost/boost/ptr_container/detail/meta_functions.hpp", + "external/sources/boost/boost/ptr_container/detail/move.hpp", + "external/sources/boost/boost/ptr_container/detail/ptr_container_disable_deprecated.hpp", + "external/sources/boost/boost/ptr_container/detail/reversible_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/detail/scoped_deleter.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_ptr_map_adapter.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_reversible_cont.hpp", + "external/sources/boost/boost/ptr_container/detail/serialize_xml_names.hpp", + "external/sources/boost/boost/ptr_container/detail/static_move_ptr.hpp", + "external/sources/boost/boost/ptr_container/detail/throw_exception.hpp", + "external/sources/boost/boost/ptr_container/detail/void_ptr_iterator.hpp", + "external/sources/boost/boost/ptr_container/exception.hpp", + "external/sources/boost/boost/ptr_container/indirect_fun.hpp", + "external/sources/boost/boost/ptr_container/nullable.hpp", + "external/sources/boost/boost/ptr_container/ptr_array.hpp", + "external/sources/boost/boost/ptr_container/ptr_circular_buffer.hpp", + "external/sources/boost/boost/ptr_container/ptr_container.hpp", + "external/sources/boost/boost/ptr_container/ptr_deque.hpp", + "external/sources/boost/boost/ptr_container/ptr_inserter.hpp", + "external/sources/boost/boost/ptr_container/ptr_list.hpp", + "external/sources/boost/boost/ptr_container/ptr_map.hpp", + "external/sources/boost/boost/ptr_container/ptr_map_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_sequence_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_set.hpp", + "external/sources/boost/boost/ptr_container/ptr_set_adapter.hpp", + "external/sources/boost/boost/ptr_container/ptr_unordered_map.hpp", + "external/sources/boost/boost/ptr_container/ptr_unordered_set.hpp", + "external/sources/boost/boost/ptr_container/ptr_vector.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_array.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_circular_buffer.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_container.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_deque.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_list.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_map.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_set.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_map.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_set.hpp", + "external/sources/boost/boost/ptr_container/serialize_ptr_vector.hpp", + "external/sources/boost/boost/python.hpp", + "external/sources/boost/boost/python/arg_from_python.hpp", + "external/sources/boost/boost/python/args.hpp", + "external/sources/boost/boost/python/args_fwd.hpp", + "external/sources/boost/boost/python/back_reference.hpp", + "external/sources/boost/boost/python/base_type_traits.hpp", + "external/sources/boost/boost/python/bases.hpp", + "external/sources/boost/boost/python/borrowed.hpp", + "external/sources/boost/boost/python/call.hpp", + "external/sources/boost/boost/python/call_method.hpp", + "external/sources/boost/boost/python/cast.hpp", + "external/sources/boost/boost/python/class.hpp", + "external/sources/boost/boost/python/class_fwd.hpp", + "external/sources/boost/boost/python/converter/arg_from_python.hpp", + "external/sources/boost/boost/python/converter/arg_to_python.hpp", + "external/sources/boost/boost/python/converter/arg_to_python_base.hpp", + "external/sources/boost/boost/python/converter/as_to_python_function.hpp", + "external/sources/boost/boost/python/converter/builtin_converters.hpp", + "external/sources/boost/boost/python/converter/constructor_function.hpp", + "external/sources/boost/boost/python/converter/context_result_converter.hpp", + "external/sources/boost/boost/python/converter/convertible_function.hpp", + "external/sources/boost/boost/python/converter/from_python.hpp", + "external/sources/boost/boost/python/converter/implicit.hpp", + "external/sources/boost/boost/python/converter/obj_mgr_arg_from_python.hpp", + "external/sources/boost/boost/python/converter/object_manager.hpp", + "external/sources/boost/boost/python/converter/pointer_type_id.hpp", + "external/sources/boost/boost/python/converter/pyobject_traits.hpp", + "external/sources/boost/boost/python/converter/pyobject_type.hpp", + "external/sources/boost/boost/python/converter/pytype_function.hpp", + "external/sources/boost/boost/python/converter/pytype_object_mgr_traits.hpp", + "external/sources/boost/boost/python/converter/registered.hpp", + "external/sources/boost/boost/python/converter/registered_pointee.hpp", + "external/sources/boost/boost/python/converter/registrations.hpp", + "external/sources/boost/boost/python/converter/registry.hpp", + "external/sources/boost/boost/python/converter/return_from_python.hpp", + "external/sources/boost/boost/python/converter/rvalue_from_python_data.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_deleter.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_from_python.hpp", + "external/sources/boost/boost/python/converter/shared_ptr_to_python.hpp", + "external/sources/boost/boost/python/converter/to_python_function_type.hpp", + "external/sources/boost/boost/python/copy_const_reference.hpp", + "external/sources/boost/boost/python/copy_non_const_reference.hpp", + "external/sources/boost/boost/python/data_members.hpp", + "external/sources/boost/boost/python/def.hpp", + "external/sources/boost/boost/python/def_visitor.hpp", + "external/sources/boost/boost/python/default_call_policies.hpp", + "external/sources/boost/boost/python/detail/aix_init_module.hpp", + "external/sources/boost/boost/python/detail/api_placeholder.hpp", + "external/sources/boost/boost/python/detail/borrowed_ptr.hpp", + "external/sources/boost/boost/python/detail/caller.hpp", + "external/sources/boost/boost/python/detail/config.hpp", + "external/sources/boost/boost/python/detail/construct.hpp", + "external/sources/boost/boost/python/detail/convertible.hpp", + "external/sources/boost/boost/python/detail/copy_ctor_mutates_rhs.hpp", + "external/sources/boost/boost/python/detail/cv_category.hpp", + "external/sources/boost/boost/python/detail/dealloc.hpp", + "external/sources/boost/boost/python/detail/decorated_type_id.hpp", + "external/sources/boost/boost/python/detail/decref_guard.hpp", + "external/sources/boost/boost/python/detail/def_helper.hpp", + "external/sources/boost/boost/python/detail/def_helper_fwd.hpp", + "external/sources/boost/boost/python/detail/defaults_def.hpp", + "external/sources/boost/boost/python/detail/defaults_gen.hpp", + "external/sources/boost/boost/python/detail/dependent.hpp", + "external/sources/boost/boost/python/detail/destroy.hpp", + "external/sources/boost/boost/python/detail/enable_if.hpp", + "external/sources/boost/boost/python/detail/exception_handler.hpp", + "external/sources/boost/boost/python/detail/force_instantiate.hpp", + "external/sources/boost/boost/python/detail/if_else.hpp", + "external/sources/boost/boost/python/detail/indirect_traits.hpp", + "external/sources/boost/boost/python/detail/invoke.hpp", + "external/sources/boost/boost/python/detail/is_auto_ptr.hpp", + "external/sources/boost/boost/python/detail/is_shared_ptr.hpp", + "external/sources/boost/boost/python/detail/is_wrapper.hpp", + "external/sources/boost/boost/python/detail/is_xxx.hpp", + "external/sources/boost/boost/python/detail/make_keyword_range_fn.hpp", + "external/sources/boost/boost/python/detail/make_tuple.hpp", + "external/sources/boost/boost/python/detail/map_entry.hpp", + "external/sources/boost/boost/python/detail/mpl_lambda.hpp", + "external/sources/boost/boost/python/detail/msvc_typeinfo.hpp", + "external/sources/boost/boost/python/detail/none.hpp", + "external/sources/boost/boost/python/detail/not_specified.hpp", + "external/sources/boost/boost/python/detail/nullary_function_adaptor.hpp", + "external/sources/boost/boost/python/detail/operator_id.hpp", + "external/sources/boost/boost/python/detail/overloads_fwd.hpp", + "external/sources/boost/boost/python/detail/pointee.hpp", + "external/sources/boost/boost/python/detail/prefix.hpp", + "external/sources/boost/boost/python/detail/preprocessor.hpp", + "external/sources/boost/boost/python/detail/python22_fixed.h", + "external/sources/boost/boost/python/detail/python_type.hpp", + "external/sources/boost/boost/python/detail/raw_pyobject.hpp", + "external/sources/boost/boost/python/detail/referent_storage.hpp", + "external/sources/boost/boost/python/detail/result.hpp", + "external/sources/boost/boost/python/detail/scope.hpp", + "external/sources/boost/boost/python/detail/sfinae.hpp", + "external/sources/boost/boost/python/detail/signature.hpp", + "external/sources/boost/boost/python/detail/string_literal.hpp", + "external/sources/boost/boost/python/detail/target.hpp", + "external/sources/boost/boost/python/detail/translate_exception.hpp", + "external/sources/boost/boost/python/detail/type_list.hpp", + "external/sources/boost/boost/python/detail/type_list_impl.hpp", + "external/sources/boost/boost/python/detail/type_traits.hpp", + "external/sources/boost/boost/python/detail/unwind_type.hpp", + "external/sources/boost/boost/python/detail/unwrap_type_id.hpp", + "external/sources/boost/boost/python/detail/unwrap_wrapper.hpp", + "external/sources/boost/boost/python/detail/value_arg.hpp", + "external/sources/boost/boost/python/detail/value_is_shared_ptr.hpp", + "external/sources/boost/boost/python/detail/value_is_xxx.hpp", + "external/sources/boost/boost/python/detail/void_ptr.hpp", + "external/sources/boost/boost/python/detail/void_return.hpp", + "external/sources/boost/boost/python/detail/wrap_python.hpp", + "external/sources/boost/boost/python/detail/wrapper_base.hpp", + "external/sources/boost/boost/python/dict.hpp", + "external/sources/boost/boost/python/docstring_options.hpp", + "external/sources/boost/boost/python/enum.hpp", + "external/sources/boost/boost/python/errors.hpp", + "external/sources/boost/boost/python/exception_translator.hpp", + "external/sources/boost/boost/python/exec.hpp", + "external/sources/boost/boost/python/extract.hpp", + "external/sources/boost/boost/python/handle.hpp", + "external/sources/boost/boost/python/handle_fwd.hpp", + "external/sources/boost/boost/python/has_back_reference.hpp", + "external/sources/boost/boost/python/implicit.hpp", + "external/sources/boost/boost/python/import.hpp", + "external/sources/boost/boost/python/init.hpp", + "external/sources/boost/boost/python/instance_holder.hpp", + "external/sources/boost/boost/python/iterator.hpp", + "external/sources/boost/boost/python/list.hpp", + "external/sources/boost/boost/python/long.hpp", + "external/sources/boost/boost/python/lvalue_from_pytype.hpp", + "external/sources/boost/boost/python/make_constructor.hpp", + "external/sources/boost/boost/python/make_function.hpp", + "external/sources/boost/boost/python/manage_new_object.hpp", + "external/sources/boost/boost/python/module.hpp", + "external/sources/boost/boost/python/module_init.hpp", + "external/sources/boost/boost/python/numpy.hpp", + "external/sources/boost/boost/python/numpy/config.hpp", + "external/sources/boost/boost/python/numpy/dtype.hpp", + "external/sources/boost/boost/python/numpy/internal.hpp", + "external/sources/boost/boost/python/numpy/invoke_matching.hpp", + "external/sources/boost/boost/python/numpy/matrix.hpp", + "external/sources/boost/boost/python/numpy/ndarray.hpp", + "external/sources/boost/boost/python/numpy/numpy_object_mgr_traits.hpp", + "external/sources/boost/boost/python/numpy/scalars.hpp", + "external/sources/boost/boost/python/numpy/ufunc.hpp", + "external/sources/boost/boost/python/object.hpp", + "external/sources/boost/boost/python/object/add_to_namespace.hpp", + "external/sources/boost/boost/python/object/class.hpp", + "external/sources/boost/boost/python/object/class_detail.hpp", + "external/sources/boost/boost/python/object/class_metadata.hpp", + "external/sources/boost/boost/python/object/class_wrapper.hpp", + "external/sources/boost/boost/python/object/enum_base.hpp", + "external/sources/boost/boost/python/object/find_instance.hpp", + "external/sources/boost/boost/python/object/forward.hpp", + "external/sources/boost/boost/python/object/function.hpp", + "external/sources/boost/boost/python/object/function_doc_signature.hpp", + "external/sources/boost/boost/python/object/function_handle.hpp", + "external/sources/boost/boost/python/object/function_object.hpp", + "external/sources/boost/boost/python/object/inheritance.hpp", + "external/sources/boost/boost/python/object/inheritance_query.hpp", + "external/sources/boost/boost/python/object/instance.hpp", + "external/sources/boost/boost/python/object/iterator.hpp", + "external/sources/boost/boost/python/object/iterator_core.hpp", + "external/sources/boost/boost/python/object/life_support.hpp", + "external/sources/boost/boost/python/object/make_holder.hpp", + "external/sources/boost/boost/python/object/make_instance.hpp", + "external/sources/boost/boost/python/object/make_ptr_instance.hpp", + "external/sources/boost/boost/python/object/pickle_support.hpp", + "external/sources/boost/boost/python/object/pointer_holder.hpp", + "external/sources/boost/boost/python/object/py_function.hpp", + "external/sources/boost/boost/python/object/stl_iterator_core.hpp", + "external/sources/boost/boost/python/object/value_holder.hpp", + "external/sources/boost/boost/python/object/value_holder_fwd.hpp", + "external/sources/boost/boost/python/object_attributes.hpp", + "external/sources/boost/boost/python/object_call.hpp", + "external/sources/boost/boost/python/object_core.hpp", + "external/sources/boost/boost/python/object_fwd.hpp", + "external/sources/boost/boost/python/object_items.hpp", + "external/sources/boost/boost/python/object_operators.hpp", + "external/sources/boost/boost/python/object_protocol.hpp", + "external/sources/boost/boost/python/object_protocol_core.hpp", + "external/sources/boost/boost/python/object_slices.hpp", + "external/sources/boost/boost/python/opaque_pointer_converter.hpp", + "external/sources/boost/boost/python/operators.hpp", + "external/sources/boost/boost/python/other.hpp", + "external/sources/boost/boost/python/overloads.hpp", + "external/sources/boost/boost/python/override.hpp", + "external/sources/boost/boost/python/pointee.hpp", + "external/sources/boost/boost/python/proxy.hpp", + "external/sources/boost/boost/python/ptr.hpp", + "external/sources/boost/boost/python/pure_virtual.hpp", + "external/sources/boost/boost/python/raw_function.hpp", + "external/sources/boost/boost/python/refcount.hpp", + "external/sources/boost/boost/python/reference_existing_object.hpp", + "external/sources/boost/boost/python/register_ptr_to_python.hpp", + "external/sources/boost/boost/python/return_arg.hpp", + "external/sources/boost/boost/python/return_by_value.hpp", + "external/sources/boost/boost/python/return_internal_reference.hpp", + "external/sources/boost/boost/python/return_opaque_pointer.hpp", + "external/sources/boost/boost/python/return_value_policy.hpp", + "external/sources/boost/boost/python/scope.hpp", + "external/sources/boost/boost/python/self.hpp", + "external/sources/boost/boost/python/signature.hpp", + "external/sources/boost/boost/python/slice.hpp", + "external/sources/boost/boost/python/slice_nil.hpp", + "external/sources/boost/boost/python/ssize_t.hpp", + "external/sources/boost/boost/python/stl_iterator.hpp", + "external/sources/boost/boost/python/str.hpp", + "external/sources/boost/boost/python/suite/indexing/container_utils.hpp", + "external/sources/boost/boost/python/suite/indexing/detail/indexing_suite_detail.hpp", + "external/sources/boost/boost/python/suite/indexing/indexing_suite.hpp", + "external/sources/boost/boost/python/suite/indexing/map_indexing_suite.hpp", + "external/sources/boost/boost/python/suite/indexing/vector_indexing_suite.hpp", + "external/sources/boost/boost/python/tag.hpp", + "external/sources/boost/boost/python/to_python_converter.hpp", + "external/sources/boost/boost/python/to_python_indirect.hpp", + "external/sources/boost/boost/python/to_python_value.hpp", + "external/sources/boost/boost/python/tuple.hpp", + "external/sources/boost/boost/python/type_id.hpp", + "external/sources/boost/boost/python/with_custodian_and_ward.hpp", + "external/sources/boost/boost/python/wrapper.hpp", + "external/sources/boost/boost/qvm/all.hpp", + "external/sources/boost/boost/qvm/assert.hpp", + "external/sources/boost/boost/qvm/deduce_mat.hpp", + "external/sources/boost/boost/qvm/deduce_quat.hpp", + "external/sources/boost/boost/qvm/deduce_scalar.hpp", + "external/sources/boost/boost/qvm/deduce_vec.hpp", + "external/sources/boost/boost/qvm/detail/cofactor_impl.hpp", + "external/sources/boost/boost/qvm/detail/determinant_impl.hpp", + "external/sources/boost/boost/qvm/detail/mat_assign.hpp", + "external/sources/boost/boost/qvm/detail/quat_assign.hpp", + "external/sources/boost/boost/qvm/detail/remove_const.hpp", + "external/sources/boost/boost/qvm/detail/swizzle_traits.hpp", + "external/sources/boost/boost/qvm/detail/transp_impl.hpp", + "external/sources/boost/boost/qvm/detail/vec_assign.hpp", + "external/sources/boost/boost/qvm/detail/vec_register_impl.hpp", + "external/sources/boost/boost/qvm/enable_if.hpp", + "external/sources/boost/boost/qvm/error.hpp", + "external/sources/boost/boost/qvm/inline.hpp", + "external/sources/boost/boost/qvm/map.hpp", + "external/sources/boost/boost/qvm/map_mat_mat.hpp", + "external/sources/boost/boost/qvm/map_mat_vec.hpp", + "external/sources/boost/boost/qvm/map_vec_mat.hpp", + "external/sources/boost/boost/qvm/mat.hpp", + "external/sources/boost/boost/qvm/mat_access.hpp", + "external/sources/boost/boost/qvm/mat_operations.hpp", + "external/sources/boost/boost/qvm/mat_operations2.hpp", + "external/sources/boost/boost/qvm/mat_operations3.hpp", + "external/sources/boost/boost/qvm/mat_operations4.hpp", + "external/sources/boost/boost/qvm/mat_traits.hpp", + "external/sources/boost/boost/qvm/mat_traits_array.hpp", + "external/sources/boost/boost/qvm/mat_traits_defaults.hpp", + "external/sources/boost/boost/qvm/math.hpp", + "external/sources/boost/boost/qvm/operations.hpp", + "external/sources/boost/boost/qvm/quat.hpp", + "external/sources/boost/boost/qvm/quat_access.hpp", + "external/sources/boost/boost/qvm/quat_operations.hpp", + "external/sources/boost/boost/qvm/quat_traits.hpp", + "external/sources/boost/boost/qvm/quat_traits_array.hpp", + "external/sources/boost/boost/qvm/quat_traits_defaults.hpp", + "external/sources/boost/boost/qvm/quat_vec_operations.hpp", + "external/sources/boost/boost/qvm/scalar_traits.hpp", + "external/sources/boost/boost/qvm/static_assert.hpp", + "external/sources/boost/boost/qvm/swizzle.hpp", + "external/sources/boost/boost/qvm/swizzle2.hpp", + "external/sources/boost/boost/qvm/swizzle3.hpp", + "external/sources/boost/boost/qvm/swizzle4.hpp", + "external/sources/boost/boost/qvm/throw_exception.hpp", + "external/sources/boost/boost/qvm/to_string.hpp", + "external/sources/boost/boost/qvm/vec.hpp", + "external/sources/boost/boost/qvm/vec_access.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations2.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations3.hpp", + "external/sources/boost/boost/qvm/vec_mat_operations4.hpp", + "external/sources/boost/boost/qvm/vec_operations.hpp", + "external/sources/boost/boost/qvm/vec_operations2.hpp", + "external/sources/boost/boost/qvm/vec_operations3.hpp", + "external/sources/boost/boost/qvm/vec_operations4.hpp", + "external/sources/boost/boost/qvm/vec_register.hpp", + "external/sources/boost/boost/qvm/vec_register2.hpp", + "external/sources/boost/boost/qvm/vec_register3.hpp", + "external/sources/boost/boost/qvm/vec_register4.hpp", + "external/sources/boost/boost/qvm/vec_traits.hpp", + "external/sources/boost/boost/qvm/vec_traits_array.hpp", + "external/sources/boost/boost/qvm/vec_traits_defaults.hpp", + "external/sources/boost/boost/random.hpp", + "external/sources/boost/boost/random/additive_combine.hpp", + "external/sources/boost/boost/random/bernoulli_distribution.hpp", + "external/sources/boost/boost/random/beta_distribution.hpp", + "external/sources/boost/boost/random/binomial_distribution.hpp", + "external/sources/boost/boost/random/cauchy_distribution.hpp", + "external/sources/boost/boost/random/chi_squared_distribution.hpp", + "external/sources/boost/boost/random/detail/auto_link.hpp", + "external/sources/boost/boost/random/detail/config.hpp", + "external/sources/boost/boost/random/detail/const_mod.hpp", + "external/sources/boost/boost/random/detail/disable_warnings.hpp", + "external/sources/boost/boost/random/detail/enable_warnings.hpp", + "external/sources/boost/boost/random/detail/generator_bits.hpp", + "external/sources/boost/boost/random/detail/generator_seed_seq.hpp", + "external/sources/boost/boost/random/detail/gray_coded_qrng.hpp", + "external/sources/boost/boost/random/detail/int_float_pair.hpp", + "external/sources/boost/boost/random/detail/integer_log2.hpp", + "external/sources/boost/boost/random/detail/iterator_mixin.hpp", + "external/sources/boost/boost/random/detail/large_arithmetic.hpp", + "external/sources/boost/boost/random/detail/niederreiter_base2_table.hpp", + "external/sources/boost/boost/random/detail/operators.hpp", + "external/sources/boost/boost/random/detail/polynomial.hpp", + "external/sources/boost/boost/random/detail/ptr_helper.hpp", + "external/sources/boost/boost/random/detail/qrng_base.hpp", + "external/sources/boost/boost/random/detail/seed.hpp", + "external/sources/boost/boost/random/detail/seed_impl.hpp", + "external/sources/boost/boost/random/detail/signed_unsigned_tools.hpp", + "external/sources/boost/boost/random/detail/sobol_table.hpp", + "external/sources/boost/boost/random/detail/uniform_int_float.hpp", + "external/sources/boost/boost/random/detail/vector_io.hpp", + "external/sources/boost/boost/random/discard_block.hpp", + "external/sources/boost/boost/random/discrete_distribution.hpp", + "external/sources/boost/boost/random/exponential_distribution.hpp", + "external/sources/boost/boost/random/extreme_value_distribution.hpp", + "external/sources/boost/boost/random/faure.hpp", + "external/sources/boost/boost/random/fisher_f_distribution.hpp", + "external/sources/boost/boost/random/gamma_distribution.hpp", + "external/sources/boost/boost/random/generate_canonical.hpp", + "external/sources/boost/boost/random/geometric_distribution.hpp", + "external/sources/boost/boost/random/hyperexponential_distribution.hpp", + "external/sources/boost/boost/random/independent_bits.hpp", + "external/sources/boost/boost/random/inversive_congruential.hpp", + "external/sources/boost/boost/random/lagged_fibonacci.hpp", + "external/sources/boost/boost/random/laplace_distribution.hpp", + "external/sources/boost/boost/random/linear_congruential.hpp", + "external/sources/boost/boost/random/linear_feedback_shift.hpp", + "external/sources/boost/boost/random/lognormal_distribution.hpp", + "external/sources/boost/boost/random/mersenne_twister.hpp", + "external/sources/boost/boost/random/negative_binomial_distribution.hpp", + "external/sources/boost/boost/random/niederreiter_base2.hpp", + "external/sources/boost/boost/random/non_central_chi_squared_distribution.hpp", + "external/sources/boost/boost/random/normal_distribution.hpp", + "external/sources/boost/boost/random/piecewise_constant_distribution.hpp", + "external/sources/boost/boost/random/piecewise_linear_distribution.hpp", + "external/sources/boost/boost/random/poisson_distribution.hpp", + "external/sources/boost/boost/random/random_device.hpp", + "external/sources/boost/boost/random/random_number_generator.hpp", + "external/sources/boost/boost/random/ranlux.hpp", + "external/sources/boost/boost/random/seed_seq.hpp", + "external/sources/boost/boost/random/shuffle_order.hpp", + "external/sources/boost/boost/random/shuffle_output.hpp", + "external/sources/boost/boost/random/sobol.hpp", + "external/sources/boost/boost/random/student_t_distribution.hpp", + "external/sources/boost/boost/random/subtract_with_carry.hpp", + "external/sources/boost/boost/random/taus88.hpp", + "external/sources/boost/boost/random/traits.hpp", + "external/sources/boost/boost/random/triangle_distribution.hpp", + "external/sources/boost/boost/random/uniform_01.hpp", + "external/sources/boost/boost/random/uniform_int.hpp", + "external/sources/boost/boost/random/uniform_int_distribution.hpp", + "external/sources/boost/boost/random/uniform_on_sphere.hpp", + "external/sources/boost/boost/random/uniform_real.hpp", + "external/sources/boost/boost/random/uniform_real_distribution.hpp", + "external/sources/boost/boost/random/uniform_smallint.hpp", + "external/sources/boost/boost/random/variate_generator.hpp", + "external/sources/boost/boost/random/weibull_distribution.hpp", + "external/sources/boost/boost/random/xor_combine.hpp", + "external/sources/boost/boost/range.hpp", + "external/sources/boost/boost/range/adaptor/adjacent_filtered.hpp", + "external/sources/boost/boost/range/adaptor/argument_fwd.hpp", + "external/sources/boost/boost/range/adaptor/copied.hpp", + "external/sources/boost/boost/range/adaptor/define_adaptor.hpp", + "external/sources/boost/boost/range/adaptor/filtered.hpp", + "external/sources/boost/boost/range/adaptor/formatted.hpp", + "external/sources/boost/boost/range/adaptor/indexed.hpp", + "external/sources/boost/boost/range/adaptor/indirected.hpp", + "external/sources/boost/boost/range/adaptor/map.hpp", + "external/sources/boost/boost/range/adaptor/ref_unwrapped.hpp", + "external/sources/boost/boost/range/adaptor/replaced.hpp", + "external/sources/boost/boost/range/adaptor/replaced_if.hpp", + "external/sources/boost/boost/range/adaptor/reversed.hpp", + "external/sources/boost/boost/range/adaptor/sliced.hpp", + "external/sources/boost/boost/range/adaptor/strided.hpp", + "external/sources/boost/boost/range/adaptor/tokenized.hpp", + "external/sources/boost/boost/range/adaptor/transformed.hpp", + "external/sources/boost/boost/range/adaptor/type_erased.hpp", + "external/sources/boost/boost/range/adaptor/uniqued.hpp", + "external/sources/boost/boost/range/adaptors.hpp", + "external/sources/boost/boost/range/algorithm.hpp", + "external/sources/boost/boost/range/algorithm/adjacent_find.hpp", + "external/sources/boost/boost/range/algorithm/binary_search.hpp", + "external/sources/boost/boost/range/algorithm/copy.hpp", + "external/sources/boost/boost/range/algorithm/copy_backward.hpp", + "external/sources/boost/boost/range/algorithm/count.hpp", + "external/sources/boost/boost/range/algorithm/count_if.hpp", + "external/sources/boost/boost/range/algorithm/equal.hpp", + "external/sources/boost/boost/range/algorithm/equal_range.hpp", + "external/sources/boost/boost/range/algorithm/fill.hpp", + "external/sources/boost/boost/range/algorithm/fill_n.hpp", + "external/sources/boost/boost/range/algorithm/find.hpp", + "external/sources/boost/boost/range/algorithm/find_end.hpp", + "external/sources/boost/boost/range/algorithm/find_first_of.hpp", + "external/sources/boost/boost/range/algorithm/find_if.hpp", + "external/sources/boost/boost/range/algorithm/for_each.hpp", + "external/sources/boost/boost/range/algorithm/generate.hpp", + "external/sources/boost/boost/range/algorithm/heap_algorithm.hpp", + "external/sources/boost/boost/range/algorithm/inplace_merge.hpp", + "external/sources/boost/boost/range/algorithm/lexicographical_compare.hpp", + "external/sources/boost/boost/range/algorithm/lower_bound.hpp", + "external/sources/boost/boost/range/algorithm/max_element.hpp", + "external/sources/boost/boost/range/algorithm/merge.hpp", + "external/sources/boost/boost/range/algorithm/min_element.hpp", + "external/sources/boost/boost/range/algorithm/mismatch.hpp", + "external/sources/boost/boost/range/algorithm/nth_element.hpp", + "external/sources/boost/boost/range/algorithm/partial_sort.hpp", + "external/sources/boost/boost/range/algorithm/partial_sort_copy.hpp", + "external/sources/boost/boost/range/algorithm/partition.hpp", + "external/sources/boost/boost/range/algorithm/permutation.hpp", + "external/sources/boost/boost/range/algorithm/random_shuffle.hpp", + "external/sources/boost/boost/range/algorithm/remove.hpp", + "external/sources/boost/boost/range/algorithm/remove_copy.hpp", + "external/sources/boost/boost/range/algorithm/remove_copy_if.hpp", + "external/sources/boost/boost/range/algorithm/remove_if.hpp", + "external/sources/boost/boost/range/algorithm/replace.hpp", + "external/sources/boost/boost/range/algorithm/replace_copy.hpp", + "external/sources/boost/boost/range/algorithm/replace_copy_if.hpp", + "external/sources/boost/boost/range/algorithm/replace_if.hpp", + "external/sources/boost/boost/range/algorithm/reverse.hpp", + "external/sources/boost/boost/range/algorithm/reverse_copy.hpp", + "external/sources/boost/boost/range/algorithm/rotate.hpp", + "external/sources/boost/boost/range/algorithm/rotate_copy.hpp", + "external/sources/boost/boost/range/algorithm/search.hpp", + "external/sources/boost/boost/range/algorithm/search_n.hpp", + "external/sources/boost/boost/range/algorithm/set_algorithm.hpp", + "external/sources/boost/boost/range/algorithm/sort.hpp", + "external/sources/boost/boost/range/algorithm/stable_partition.hpp", + "external/sources/boost/boost/range/algorithm/stable_sort.hpp", + "external/sources/boost/boost/range/algorithm/swap_ranges.hpp", + "external/sources/boost/boost/range/algorithm/transform.hpp", + "external/sources/boost/boost/range/algorithm/unique.hpp", + "external/sources/boost/boost/range/algorithm/unique_copy.hpp", + "external/sources/boost/boost/range/algorithm/upper_bound.hpp", + "external/sources/boost/boost/range/algorithm_ext.hpp", + "external/sources/boost/boost/range/algorithm_ext/copy_n.hpp", + "external/sources/boost/boost/range/algorithm_ext/erase.hpp", + "external/sources/boost/boost/range/algorithm_ext/for_each.hpp", + "external/sources/boost/boost/range/algorithm_ext/insert.hpp", + "external/sources/boost/boost/range/algorithm_ext/iota.hpp", + "external/sources/boost/boost/range/algorithm_ext/is_sorted.hpp", + "external/sources/boost/boost/range/algorithm_ext/overwrite.hpp", + "external/sources/boost/boost/range/algorithm_ext/push_back.hpp", + "external/sources/boost/boost/range/algorithm_ext/push_front.hpp", + "external/sources/boost/boost/range/any_range.hpp", + "external/sources/boost/boost/range/as_array.hpp", + "external/sources/boost/boost/range/as_literal.hpp", + "external/sources/boost/boost/range/atl.hpp", + "external/sources/boost/boost/range/begin.hpp", + "external/sources/boost/boost/range/category.hpp", + "external/sources/boost/boost/range/combine.hpp", + "external/sources/boost/boost/range/concepts.hpp", + "external/sources/boost/boost/range/config.hpp", + "external/sources/boost/boost/range/const_iterator.hpp", + "external/sources/boost/boost/range/const_reverse_iterator.hpp", + "external/sources/boost/boost/range/counting_range.hpp", + "external/sources/boost/boost/range/detail/any_iterator.hpp", + "external/sources/boost/boost/range/detail/any_iterator_buffer.hpp", + "external/sources/boost/boost/range/detail/any_iterator_interface.hpp", + "external/sources/boost/boost/range/detail/any_iterator_wrapper.hpp", + "external/sources/boost/boost/range/detail/collection_traits.hpp", + "external/sources/boost/boost/range/detail/collection_traits_detail.hpp", + "external/sources/boost/boost/range/detail/combine_cxx03.hpp", + "external/sources/boost/boost/range/detail/combine_cxx11.hpp", + "external/sources/boost/boost/range/detail/combine_no_rvalue.hpp", + "external/sources/boost/boost/range/detail/combine_rvalue.hpp", + "external/sources/boost/boost/range/detail/common.hpp", + "external/sources/boost/boost/range/detail/default_constructible_unary_fn.hpp", + "external/sources/boost/boost/range/detail/demote_iterator_traversal_tag.hpp", + "external/sources/boost/boost/range/detail/difference_type.hpp", + "external/sources/boost/boost/range/detail/empty.hpp", + "external/sources/boost/boost/range/detail/extract_optional_type.hpp", + "external/sources/boost/boost/range/detail/has_member_size.hpp", + "external/sources/boost/boost/range/detail/implementation_help.hpp", + "external/sources/boost/boost/range/detail/join_iterator.hpp", + "external/sources/boost/boost/range/detail/less.hpp", + "external/sources/boost/boost/range/detail/microsoft.hpp", + "external/sources/boost/boost/range/detail/misc_concept.hpp", + "external/sources/boost/boost/range/detail/msvc_has_iterator_workaround.hpp", + "external/sources/boost/boost/range/detail/range_return.hpp", + "external/sources/boost/boost/range/detail/safe_bool.hpp", + "external/sources/boost/boost/range/detail/sfinae.hpp", + "external/sources/boost/boost/range/detail/sizer.hpp", + "external/sources/boost/boost/range/detail/str_types.hpp", + "external/sources/boost/boost/range/difference_type.hpp", + "external/sources/boost/boost/range/distance.hpp", + "external/sources/boost/boost/range/empty.hpp", + "external/sources/boost/boost/range/end.hpp", + "external/sources/boost/boost/range/functions.hpp", + "external/sources/boost/boost/range/has_range_iterator.hpp", + "external/sources/boost/boost/range/irange.hpp", + "external/sources/boost/boost/range/istream_range.hpp", + "external/sources/boost/boost/range/iterator.hpp", + "external/sources/boost/boost/range/iterator_range.hpp", + "external/sources/boost/boost/range/iterator_range_core.hpp", + "external/sources/boost/boost/range/iterator_range_hash.hpp", + "external/sources/boost/boost/range/iterator_range_io.hpp", + "external/sources/boost/boost/range/join.hpp", + "external/sources/boost/boost/range/metafunctions.hpp", + "external/sources/boost/boost/range/mfc.hpp", + "external/sources/boost/boost/range/mfc_map.hpp", + "external/sources/boost/boost/range/mutable_iterator.hpp", + "external/sources/boost/boost/range/numeric.hpp", + "external/sources/boost/boost/range/pointer.hpp", + "external/sources/boost/boost/range/range_fwd.hpp", + "external/sources/boost/boost/range/rbegin.hpp", + "external/sources/boost/boost/range/reference.hpp", + "external/sources/boost/boost/range/rend.hpp", + "external/sources/boost/boost/range/result_iterator.hpp", + "external/sources/boost/boost/range/reverse_iterator.hpp", + "external/sources/boost/boost/range/reverse_result_iterator.hpp", + "external/sources/boost/boost/range/size.hpp", + "external/sources/boost/boost/range/size_type.hpp", + "external/sources/boost/boost/range/sub_range.hpp", + "external/sources/boost/boost/range/traversal.hpp", + "external/sources/boost/boost/range/value_type.hpp", + "external/sources/boost/boost/ratio.hpp", + "external/sources/boost/boost/ratio/config.hpp", + "external/sources/boost/boost/ratio/detail/mpl/abs.hpp", + "external/sources/boost/boost/ratio/detail/mpl/gcd.hpp", + "external/sources/boost/boost/ratio/detail/mpl/lcm.hpp", + "external/sources/boost/boost/ratio/detail/mpl/sign.hpp", + "external/sources/boost/boost/ratio/detail/overflow_helpers.hpp", + "external/sources/boost/boost/ratio/detail/ratio_io.hpp", + "external/sources/boost/boost/ratio/include.hpp", + "external/sources/boost/boost/ratio/mpl/abs.hpp", + "external/sources/boost/boost/ratio/mpl/arithmetic.hpp", + "external/sources/boost/boost/ratio/mpl/comparison.hpp", + "external/sources/boost/boost/ratio/mpl/divides.hpp", + "external/sources/boost/boost/ratio/mpl/equal_to.hpp", + "external/sources/boost/boost/ratio/mpl/gcd.hpp", + "external/sources/boost/boost/ratio/mpl/greater.hpp", + "external/sources/boost/boost/ratio/mpl/greater_equal.hpp", + "external/sources/boost/boost/ratio/mpl/lcm.hpp", + "external/sources/boost/boost/ratio/mpl/less.hpp", + "external/sources/boost/boost/ratio/mpl/less_equal.hpp", + "external/sources/boost/boost/ratio/mpl/minus.hpp", + "external/sources/boost/boost/ratio/mpl/negate.hpp", + "external/sources/boost/boost/ratio/mpl/not_equal_to.hpp", + "external/sources/boost/boost/ratio/mpl/numeric_cast.hpp", + "external/sources/boost/boost/ratio/mpl/plus.hpp", + "external/sources/boost/boost/ratio/mpl/rational_c_tag.hpp", + "external/sources/boost/boost/ratio/mpl/rational_constant.hpp", + "external/sources/boost/boost/ratio/mpl/sign.hpp", + "external/sources/boost/boost/ratio/mpl/times.hpp", + "external/sources/boost/boost/ratio/ratio.hpp", + "external/sources/boost/boost/ratio/ratio_fwd.hpp", + "external/sources/boost/boost/ratio/ratio_io.hpp", + "external/sources/boost/boost/rational.hpp", + "external/sources/boost/boost/ref.hpp", + "external/sources/boost/boost/regex.h", + "external/sources/boost/boost/regex.hpp", + "external/sources/boost/boost/regex/concepts.hpp", + "external/sources/boost/boost/regex/config.hpp", + "external/sources/boost/boost/regex/config/borland.hpp", + "external/sources/boost/boost/regex/config/cwchar.hpp", + "external/sources/boost/boost/regex/icu.hpp", + "external/sources/boost/boost/regex/mfc.hpp", + "external/sources/boost/boost/regex/pattern_except.hpp", + "external/sources/boost/boost/regex/pending/object_cache.hpp", + "external/sources/boost/boost/regex/pending/static_mutex.hpp", + "external/sources/boost/boost/regex/pending/unicode_iterator.hpp", + "external/sources/boost/boost/regex/regex_traits.hpp", + "external/sources/boost/boost/regex/user.hpp", + "external/sources/boost/boost/regex/v4/basic_regex.hpp", + "external/sources/boost/boost/regex/v4/basic_regex_creator.hpp", + "external/sources/boost/boost/regex/v4/basic_regex_parser.hpp", + "external/sources/boost/boost/regex/v4/c_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/char_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/cpp_regex_traits.hpp", + "external/sources/boost/boost/regex/v4/cregex.hpp", + "external/sources/boost/boost/regex/v4/error_type.hpp", + "external/sources/boost/boost/regex/v4/fileiter.hpp", + "external/sources/boost/boost/regex/v4/indexed_bit_flag.hpp", + "external/sources/boost/boost/regex/v4/instances.hpp", + "external/sources/boost/boost/regex/v4/iterator_category.hpp", + "external/sources/boost/boost/regex/v4/iterator_traits.hpp", + "external/sources/boost/boost/regex/v4/match_flags.hpp", + "external/sources/boost/boost/regex/v4/match_results.hpp", + "external/sources/boost/boost/regex/v4/mem_block_cache.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_common.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_non_recursive.hpp", + "external/sources/boost/boost/regex/v4/perl_matcher_recursive.hpp", + "external/sources/boost/boost/regex/v4/primary_transform.hpp", + "external/sources/boost/boost/regex/v4/protected_call.hpp", + "external/sources/boost/boost/regex/v4/regbase.hpp", + "external/sources/boost/boost/regex/v4/regex.hpp", + "external/sources/boost/boost/regex/v4/regex_format.hpp", + "external/sources/boost/boost/regex/v4/regex_fwd.hpp", + "external/sources/boost/boost/regex/v4/regex_grep.hpp", + "external/sources/boost/boost/regex/v4/regex_iterator.hpp", + "external/sources/boost/boost/regex/v4/regex_match.hpp", + "external/sources/boost/boost/regex/v4/regex_merge.hpp", + "external/sources/boost/boost/regex/v4/regex_raw_buffer.hpp", + "external/sources/boost/boost/regex/v4/regex_replace.hpp", + "external/sources/boost/boost/regex/v4/regex_search.hpp", + "external/sources/boost/boost/regex/v4/regex_split.hpp", + "external/sources/boost/boost/regex/v4/regex_token_iterator.hpp", + "external/sources/boost/boost/regex/v4/regex_traits.hpp", + "external/sources/boost/boost/regex/v4/regex_traits_defaults.hpp", + "external/sources/boost/boost/regex/v4/regex_workaround.hpp", + "external/sources/boost/boost/regex/v4/states.hpp", + "external/sources/boost/boost/regex/v4/sub_match.hpp", + "external/sources/boost/boost/regex/v4/syntax_type.hpp", + "external/sources/boost/boost/regex/v4/u32regex_iterator.hpp", + "external/sources/boost/boost/regex/v4/u32regex_token_iterator.hpp", + "external/sources/boost/boost/regex/v4/w32_regex_traits.hpp", + "external/sources/boost/boost/regex_fwd.hpp", + "external/sources/boost/boost/safe_numerics/CMakeLists.txt", + "external/sources/boost/boost/safe_numerics/automatic.hpp", + "external/sources/boost/boost/safe_numerics/checked_default.hpp", + "external/sources/boost/boost/safe_numerics/checked_float.hpp", + "external/sources/boost/boost/safe_numerics/checked_integer.hpp", + "external/sources/boost/boost/safe_numerics/checked_result.hpp", + "external/sources/boost/boost/safe_numerics/checked_result_operations.hpp", + "external/sources/boost/boost/safe_numerics/concept/CMakeLists.txt", + "external/sources/boost/boost/safe_numerics/concept/exception_policy.hpp", + "external/sources/boost/boost/safe_numerics/concept/integer.hpp", + "external/sources/boost/boost/safe_numerics/concept/numeric.hpp", + "external/sources/boost/boost/safe_numerics/concept/promotion_policy.hpp", + "external/sources/boost/boost/safe_numerics/concept/safe_numeric.hpp", + "external/sources/boost/boost/safe_numerics/cpp.hpp", + "external/sources/boost/boost/safe_numerics/exception.hpp", + "external/sources/boost/boost/safe_numerics/exception_policies.hpp", + "external/sources/boost/boost/safe_numerics/interval.hpp", + "external/sources/boost/boost/safe_numerics/native.hpp", + "external/sources/boost/boost/safe_numerics/range_value.hpp", + "external/sources/boost/boost/safe_numerics/safe_base.hpp", + "external/sources/boost/boost/safe_numerics/safe_base_operations.hpp", + "external/sources/boost/boost/safe_numerics/safe_common.hpp", + "external/sources/boost/boost/safe_numerics/safe_compare.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer_literal.hpp", + "external/sources/boost/boost/safe_numerics/safe_integer_range.hpp", + "external/sources/boost/boost/safe_numerics/utility.hpp", + "external/sources/boost/boost/scope_exit.hpp", + "external/sources/boost/boost/scoped_array.hpp", + "external/sources/boost/boost/scoped_ptr.hpp", + "external/sources/boost/boost/serialization/access.hpp", + "external/sources/boost/boost/serialization/archive_input_unordered_map.hpp", + "external/sources/boost/boost/serialization/archive_input_unordered_set.hpp", + "external/sources/boost/boost/serialization/array.hpp", + "external/sources/boost/boost/serialization/array_optimization.hpp", + "external/sources/boost/boost/serialization/array_wrapper.hpp", + "external/sources/boost/boost/serialization/assume_abstract.hpp", + "external/sources/boost/boost/serialization/base_object.hpp", + "external/sources/boost/boost/serialization/binary_object.hpp", + "external/sources/boost/boost/serialization/bitset.hpp", + "external/sources/boost/boost/serialization/boost_array.hpp", + "external/sources/boost/boost/serialization/boost_unordered_map.hpp", + "external/sources/boost/boost/serialization/boost_unordered_set.hpp", + "external/sources/boost/boost/serialization/collection_size_type copy.hpp", + "external/sources/boost/boost/serialization/collection_size_type.hpp", + "external/sources/boost/boost/serialization/collection_traits.hpp", + "external/sources/boost/boost/serialization/collections_load_imp.hpp", + "external/sources/boost/boost/serialization/collections_save_imp.hpp", + "external/sources/boost/boost/serialization/complex.hpp", + "external/sources/boost/boost/serialization/config.hpp", + "external/sources/boost/boost/serialization/deque.hpp", + "external/sources/boost/boost/serialization/detail/is_default_constructible.hpp", + "external/sources/boost/boost/serialization/detail/shared_count_132.hpp", + "external/sources/boost/boost/serialization/detail/shared_ptr_132.hpp", + "external/sources/boost/boost/serialization/detail/shared_ptr_nmt_132.hpp", + "external/sources/boost/boost/serialization/detail/stack_constructor.hpp", + "external/sources/boost/boost/serialization/export.hpp", + "external/sources/boost/boost/serialization/extended_type_info.hpp", + "external/sources/boost/boost/serialization/extended_type_info_no_rtti.hpp", + "external/sources/boost/boost/serialization/extended_type_info_typeid.hpp", + "external/sources/boost/boost/serialization/factory.hpp", + "external/sources/boost/boost/serialization/force_include.hpp", + "external/sources/boost/boost/serialization/forward_list.hpp", + "external/sources/boost/boost/serialization/hash_collections_load_imp.hpp", + "external/sources/boost/boost/serialization/hash_collections_save_imp.hpp", + "external/sources/boost/boost/serialization/hash_map.hpp", + "external/sources/boost/boost/serialization/hash_set.hpp", + "external/sources/boost/boost/serialization/is_bitwise_serializable.hpp", + "external/sources/boost/boost/serialization/item_version_type.hpp", + "external/sources/boost/boost/serialization/level.hpp", + "external/sources/boost/boost/serialization/level_enum.hpp", + "external/sources/boost/boost/serialization/library_version_type.hpp", + "external/sources/boost/boost/serialization/list.hpp", + "external/sources/boost/boost/serialization/map.hpp", + "external/sources/boost/boost/serialization/nvp.hpp", + "external/sources/boost/boost/serialization/optional.hpp", + "external/sources/boost/boost/serialization/priority_queue.hpp", + "external/sources/boost/boost/serialization/queue.hpp", + "external/sources/boost/boost/serialization/scoped_ptr.hpp", + "external/sources/boost/boost/serialization/serialization.hpp", + "external/sources/boost/boost/serialization/set.hpp", + "external/sources/boost/boost/serialization/shared_ptr.hpp", + "external/sources/boost/boost/serialization/shared_ptr_132.hpp", + "external/sources/boost/boost/serialization/shared_ptr_helper.hpp", + "external/sources/boost/boost/serialization/singleton.hpp", + "external/sources/boost/boost/serialization/slist.hpp", + "external/sources/boost/boost/serialization/smart_cast.hpp", + "external/sources/boost/boost/serialization/split_free.hpp", + "external/sources/boost/boost/serialization/split_member.hpp", + "external/sources/boost/boost/serialization/stack.hpp", + "external/sources/boost/boost/serialization/state_saver.hpp", + "external/sources/boost/boost/serialization/static_warning.hpp", + "external/sources/boost/boost/serialization/string.hpp", + "external/sources/boost/boost/serialization/strong_typedef.hpp", + "external/sources/boost/boost/serialization/throw_exception.hpp", + "external/sources/boost/boost/serialization/tracking.hpp", + "external/sources/boost/boost/serialization/tracking_enum.hpp", + "external/sources/boost/boost/serialization/traits.hpp", + "external/sources/boost/boost/serialization/type_info_implementation.hpp", + "external/sources/boost/boost/serialization/unique_ptr.hpp", + "external/sources/boost/boost/serialization/unordered_collections_load_imp.hpp", + "external/sources/boost/boost/serialization/unordered_collections_save_imp.hpp", + "external/sources/boost/boost/serialization/unordered_map.hpp", + "external/sources/boost/boost/serialization/unordered_set.hpp", + "external/sources/boost/boost/serialization/utility.hpp", + "external/sources/boost/boost/serialization/valarray.hpp", + "external/sources/boost/boost/serialization/variant.hpp", + "external/sources/boost/boost/serialization/vector.hpp", + "external/sources/boost/boost/serialization/vector_135.hpp", + "external/sources/boost/boost/serialization/version.hpp", + "external/sources/boost/boost/serialization/void_cast.hpp", + "external/sources/boost/boost/serialization/void_cast_fwd.hpp", + "external/sources/boost/boost/serialization/weak_ptr.hpp", + "external/sources/boost/boost/serialization/wrapper.hpp", + "external/sources/boost/boost/shared_array.hpp", + "external/sources/boost/boost/shared_container_iterator.hpp", + "external/sources/boost/boost/shared_ptr.hpp", + "external/sources/boost/boost/signals2.hpp", + "external/sources/boost/boost/signals2/connection.hpp", + "external/sources/boost/boost/signals2/deconstruct.hpp", + "external/sources/boost/boost/signals2/deconstruct_ptr.hpp", + "external/sources/boost/boost/signals2/detail/auto_buffer.hpp", + "external/sources/boost/boost/signals2/detail/foreign_ptr.hpp", + "external/sources/boost/boost/signals2/detail/lwm_nop.hpp", + "external/sources/boost/boost/signals2/detail/lwm_pthreads.hpp", + "external/sources/boost/boost/signals2/detail/lwm_win32_cs.hpp", + "external/sources/boost/boost/signals2/detail/null_output_iterator.hpp", + "external/sources/boost/boost/signals2/detail/preprocessed_arg_type.hpp", + "external/sources/boost/boost/signals2/detail/preprocessed_arg_type_template.hpp", + "external/sources/boost/boost/signals2/detail/replace_slot_function.hpp", + "external/sources/boost/boost/signals2/detail/result_type_wrapper.hpp", + "external/sources/boost/boost/signals2/detail/scope_guard.hpp", + "external/sources/boost/boost/signals2/detail/signal_template.hpp", + "external/sources/boost/boost/signals2/detail/signals_common.hpp", + "external/sources/boost/boost/signals2/detail/signals_common_macros.hpp", + "external/sources/boost/boost/signals2/detail/slot_call_iterator.hpp", + "external/sources/boost/boost/signals2/detail/slot_groups.hpp", + "external/sources/boost/boost/signals2/detail/slot_template.hpp", + "external/sources/boost/boost/signals2/detail/tracked_objects_visitor.hpp", + "external/sources/boost/boost/signals2/detail/unique_lock.hpp", + "external/sources/boost/boost/signals2/detail/variadic_arg_type.hpp", + "external/sources/boost/boost/signals2/detail/variadic_slot_invoker.hpp", + "external/sources/boost/boost/signals2/dummy_mutex.hpp", + "external/sources/boost/boost/signals2/expired_slot.hpp", + "external/sources/boost/boost/signals2/last_value.hpp", + "external/sources/boost/boost/signals2/mutex.hpp", + "external/sources/boost/boost/signals2/optional_last_value.hpp", + "external/sources/boost/boost/signals2/postconstructible.hpp", + "external/sources/boost/boost/signals2/predestructible.hpp", + "external/sources/boost/boost/signals2/preprocessed_signal.hpp", + "external/sources/boost/boost/signals2/preprocessed_slot.hpp", + "external/sources/boost/boost/signals2/shared_connection_block.hpp", + "external/sources/boost/boost/signals2/signal.hpp", + "external/sources/boost/boost/signals2/signal_base.hpp", + "external/sources/boost/boost/signals2/signal_type.hpp", + "external/sources/boost/boost/signals2/slot.hpp", + "external/sources/boost/boost/signals2/slot_base.hpp", + "external/sources/boost/boost/signals2/trackable.hpp", + "external/sources/boost/boost/signals2/variadic_signal.hpp", + "external/sources/boost/boost/signals2/variadic_slot.hpp", + "external/sources/boost/boost/smart_ptr.hpp", + "external/sources/boost/boost/smart_ptr/allocate_local_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/allocate_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/allocate_unique.hpp", + "external/sources/boost/boost/smart_ptr/atomic_shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/bad_weak_ptr.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_spin.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/atomic_count_win32.hpp", + "external/sources/boost/boost/smart_ptr/detail/lightweight_mutex.hpp", + "external/sources/boost/boost/smart_ptr/detail/lightweight_thread.hpp", + "external/sources/boost/boost/smart_ptr/detail/local_counted_base.hpp", + "external/sources/boost/boost/smart_ptr/detail/local_sp_deleter.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_pthreads.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_std_mutex.hpp", + "external/sources/boost/boost/smart_ptr/detail/lwm_win32_cs.hpp", + "external/sources/boost/boost/smart_ptr/detail/operator_bool.hpp", + "external/sources/boost/boost/smart_ptr/detail/quick_allocator.hpp", + "external/sources/boost/boost/smart_ptr/detail/shared_count.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_convertible.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_counted_impl.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_forward.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_interlocked.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_noexcept.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_obsolete.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_pause.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_thread_yield.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp", + "external/sources/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_arm.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_nt.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_pool.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_pt.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_std_atomic.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_sync.hpp", + "external/sources/boost/boost/smart_ptr/detail/spinlock_w32.hpp", + "external/sources/boost/boost/smart_ptr/detail/yield_k.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from_raw.hpp", + "external/sources/boost/boost/smart_ptr/enable_shared_from_this.hpp", + "external/sources/boost/boost/smart_ptr/intrusive_ptr.hpp", + "external/sources/boost/boost/smart_ptr/intrusive_ref_counter.hpp", + "external/sources/boost/boost/smart_ptr/local_shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/make_local_shared_object.hpp", + "external/sources/boost/boost/smart_ptr/make_shared.hpp", + "external/sources/boost/boost/smart_ptr/make_shared_array.hpp", + "external/sources/boost/boost/smart_ptr/make_shared_object.hpp", + "external/sources/boost/boost/smart_ptr/make_unique.hpp", + "external/sources/boost/boost/smart_ptr/owner_equal_to.hpp", + "external/sources/boost/boost/smart_ptr/owner_hash.hpp", + "external/sources/boost/boost/smart_ptr/owner_less.hpp", + "external/sources/boost/boost/smart_ptr/scoped_array.hpp", + "external/sources/boost/boost/smart_ptr/scoped_ptr.hpp", + "external/sources/boost/boost/smart_ptr/shared_array.hpp", + "external/sources/boost/boost/smart_ptr/shared_ptr.hpp", + "external/sources/boost/boost/smart_ptr/weak_ptr.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/backbone.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/block.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/constants.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/merge_blocks.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/move_blocks.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/parallel_sort.hpp", + "external/sources/boost/boost/sort/block_indirect_sort/block_indirect_sort.hpp", + "external/sources/boost/boost/sort/common/deque_cnc.hpp", + "external/sources/boost/boost/sort/common/file_vector.hpp", + "external/sources/boost/boost/sort/common/indirect.hpp", + "external/sources/boost/boost/sort/common/int_array.hpp", + "external/sources/boost/boost/sort/common/merge_block.hpp", + "external/sources/boost/boost/sort/common/merge_four.hpp", + "external/sources/boost/boost/sort/common/merge_vector.hpp", + "external/sources/boost/boost/sort/common/pivot.hpp", + "external/sources/boost/boost/sort/common/range.hpp", + "external/sources/boost/boost/sort/common/rearrange.hpp", + "external/sources/boost/boost/sort/common/scheduler.hpp", + "external/sources/boost/boost/sort/common/sort_basic.hpp", + "external/sources/boost/boost/sort/common/spinlock.hpp", + "external/sources/boost/boost/sort/common/stack_cnc.hpp", + "external/sources/boost/boost/sort/common/time_measure.hpp", + "external/sources/boost/boost/sort/common/util/algorithm.hpp", + "external/sources/boost/boost/sort/common/util/atomic.hpp", + "external/sources/boost/boost/sort/common/util/circular_buffer.hpp", + "external/sources/boost/boost/sort/common/util/insert.hpp", + "external/sources/boost/boost/sort/common/util/merge.hpp", + "external/sources/boost/boost/sort/common/util/search.hpp", + "external/sources/boost/boost/sort/common/util/traits.hpp", + "external/sources/boost/boost/sort/flat_stable_sort/flat_stable_sort.hpp", + "external/sources/boost/boost/sort/heap_sort/heap_sort.hpp", + "external/sources/boost/boost/sort/insert_sort/insert_sort.hpp", + "external/sources/boost/boost/sort/parallel_stable_sort/parallel_stable_sort.hpp", + "external/sources/boost/boost/sort/pdqsort/pdqsort.hpp", + "external/sources/boost/boost/sort/sample_sort/sample_sort.hpp", + "external/sources/boost/boost/sort/sort.hpp", + "external/sources/boost/boost/sort/spinsort/spinsort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/constants.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/float_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/integer_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/spreadsort_common.hpp", + "external/sources/boost/boost/sort/spreadsort/detail/string_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/float_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/integer_sort.hpp", + "external/sources/boost/boost/sort/spreadsort/spreadsort.hpp", + "external/sources/boost/boost/sort/spreadsort/string_sort.hpp", + "external/sources/boost/boost/spirit.hpp", + "external/sources/boost/boost/spirit/home/classic.hpp", + "external/sources/boost/boost/spirit/home/classic/actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/assign_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/assign_key_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/clear_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/decrement_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/erase_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/increment_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/insert_at_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/insert_key_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/push_back_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/push_front_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_const_ref_a.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/ref_value_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/swap_actor.hpp", + "external/sources/boost/boost/spirit/home/classic/actor/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure_context.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/closure_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/parametric.hpp", + "external/sources/boost/boost/spirit/home/classic/attribute/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/core.hpp", + "external/sources/boost/boost/spirit/home/classic/core/assert.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/actions.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/alternative.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/composite.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/difference.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/directives.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/epsilon.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/exclusive_or.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/alternative.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/difference.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/directives.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/exclusive_or.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/intersection.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/kleene_star.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/list.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/optional.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/positive.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequence.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_and.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_or.ipp", + "external/sources/boost/boost/spirit/home/classic/core/composite/intersection.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/kleene_star.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/list.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/no_actions.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/operators.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/optional.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/positive.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequence.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_and.hpp", + "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_or.hpp", + "external/sources/boost/boost/spirit/home/classic/core/config.hpp", + "external/sources/boost/boost/spirit/home/classic/core/impl/match.ipp", + "external/sources/boost/boost/spirit/home/classic/core/impl/match_attr_traits.ipp", + "external/sources/boost/boost/spirit/home/classic/core/impl/parser.ipp", + "external/sources/boost/boost/spirit/home/classic/core/match.hpp", + "external/sources/boost/boost/spirit/home/classic/core/nil.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/static.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/subrule.ipp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_context.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_id.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/rule.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp", + "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/parser.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/numerics.ipp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/primitives.ipp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/primitives/primitives.hpp", + "external/sources/boost/boost/spirit/home/classic/core/safe_bool.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/impl/skipper.ipp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper.hpp", + "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/core/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/debug.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/for.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/if.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/conditions.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/select.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/impl/switch.ipp", + "external/sources/boost/boost/spirit/home/classic/dynamic/lazy.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/rule_alias.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/select.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/switch.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/dynamic/while.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/error_handling/impl/exceptions.ipp", + "external/sources/boost/boost/spirit/home/classic/error_handling/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/impl/file_iterator.ipp", + "external/sources/boost/boost/spirit/home/classic/iterator/impl/position_iterator.ipp", + "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/iterator/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/meta.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/as_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/fundamental.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/fundamental.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/parser_traits.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/refactoring.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/impl/traverse.ipp", + "external/sources/boost/boost/spirit/home/classic/meta/parser_traits.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/refactoring.hpp", + "external/sources/boost/boost/spirit/home/classic/meta/traverse.hpp", + "external/sources/boost/boost/spirit/home/classic/namespace.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/actor.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/binders.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/casts.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/closures.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/composite.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/functions.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/new.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/operators.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/primitives.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/special_ops.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/statements.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/tuple_helpers.hpp", + "external/sources/boost/boost/spirit/home/classic/phoenix/tuples.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/impl/symbols.ipp", + "external/sources/boost/boost/spirit/home/classic/symbols/impl/tst.ipp", + "external/sources/boost/boost/spirit/home/classic/symbols/symbols.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/symbols_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/symbols/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/ast.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/ast_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/common.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/common_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/impl/parse_tree_utils.ipp", + "external/sources/boost/boost/spirit/home/classic/tree/impl/tree_to_xml.ipp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_utils.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/parsetree.dtd", + "external/sources/boost/boost/spirit/home/classic/tree/tree_to_xml.hpp", + "external/sources/boost/boost/spirit/home/classic/tree/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/utility.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/chset.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/chset_operators.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/confix.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/confix_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/distinct.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/distinct_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/escape_char.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/escape_char_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/functor_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/grammar_def.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/grammar_def_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/chset_operators.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/confix.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/escape_char.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/lists.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/impl/regex.ipp", + "external/sources/boost/boost/spirit/home/classic/utility/lists.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/lists_fwd.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/loops.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/regex.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/rule_parser.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/scoped_lock.hpp", + "external/sources/boost/boost/spirit/home/classic/utility/typeof.hpp", + "external/sources/boost/boost/spirit/home/classic/version.hpp", + "external/sources/boost/boost/spirit/home/karma.hpp", + "external/sources/boost/boost/spirit/home/karma/action.hpp", + "external/sources/boost/boost/spirit/home/karma/action/action.hpp", + "external/sources/boost/boost/spirit/home/karma/auto.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/auto.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/create_generator.hpp", + "external/sources/boost/boost/spirit/home/karma/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/karma/auxiliary/lazy.hpp", + "external/sources/boost/boost/spirit/home/karma/binary.hpp", + "external/sources/boost/boost/spirit/home/karma/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/karma/binary/padding.hpp", + "external/sources/boost/boost/spirit/home/karma/char.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/karma/char/char_generator.hpp", + "external/sources/boost/boost/spirit/home/karma/delimit_flag.hpp", + "external/sources/boost/boost/spirit/home/karma/delimit_out.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/alternative_function.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/as.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/attributes.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/default_width.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/enable_lit.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/extract_from.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/fail_function.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/generate_to.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/get_casetag.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/get_stricttag.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/indirect_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/output_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/pass_container.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/string_compare.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/string_generate.hpp", + "external/sources/boost/boost/spirit/home/karma/detail/unused_delimiter.hpp", + "external/sources/boost/boost/spirit/home/karma/directive.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/as.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/buffer.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/center_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/columns.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/delimit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/duplicate.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/encoding.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/left_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/maxwidth.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/no_delimit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/right_alignment.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/strict_relaxed.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/upper_lower_case.hpp", + "external/sources/boost/boost/spirit/home/karma/directive/verbatim.hpp", + "external/sources/boost/boost/spirit/home/karma/domain.hpp", + "external/sources/boost/boost/spirit/home/karma/format.hpp", + "external/sources/boost/boost/spirit/home/karma/format_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/generate.hpp", + "external/sources/boost/boost/spirit/home/karma/generate_attr.hpp", + "external/sources/boost/boost/spirit/home/karma/generator.hpp", + "external/sources/boost/boost/spirit/home/karma/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/fcall.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/generator_binder.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/parameterized.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/nonterminal_fwd.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/karma/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/bool_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/detail/real_utils.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/karma/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/karma/operator.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/list.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/karma/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/karma/phoenix_attributes.hpp", + "external/sources/boost/boost/spirit/home/karma/reference.hpp", + "external/sources/boost/boost/spirit/home/karma/stream.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip_auto.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/format_manip.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/format_manip_attr.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/ostream_iterator.hpp", + "external/sources/boost/boost/spirit/home/karma/stream/stream.hpp", + "external/sources/boost/boost/spirit/home/karma/string.hpp", + "external/sources/boost/boost/spirit/home/karma/string/lit.hpp", + "external/sources/boost/boost/spirit/home/karma/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/karma/what.hpp", + "external/sources/boost/boost/spirit/home/lex.hpp", + "external/sources/boost/boost/spirit/home/lex/argument.hpp", + "external/sources/boost/boost/spirit/home/lex/argument_phoenix.hpp", + "external/sources/boost/boost/spirit/home/lex/detail/sequence_function.hpp", + "external/sources/boost/boost/spirit/home/lex/domain.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/action.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/char_token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/position_token.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/semantic_action_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_functor_data.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_lexer.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_version.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/token.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/pass_flags.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/sequence.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/string_token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/support_functions.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/support_functions_expression.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/terminals.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer/token_def.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_lexertl.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_static_lexertl.hpp", + "external/sources/boost/boost/spirit/home/lex/lexer_type.hpp", + "external/sources/boost/boost/spirit/home/lex/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/lex/primitives.hpp", + "external/sources/boost/boost/spirit/home/lex/qi.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/in_state.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_raw_token.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_token.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp", + "external/sources/boost/boost/spirit/home/lex/qi/state_switcher.hpp", + "external/sources/boost/boost/spirit/home/lex/reference.hpp", + "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse.hpp", + "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse_attr.hpp", + "external/sources/boost/boost/spirit/home/qi.hpp", + "external/sources/boost/boost/spirit/home/qi/action.hpp", + "external/sources/boost/boost/spirit/home/qi/action/action.hpp", + "external/sources/boost/boost/spirit/home/qi/auto.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/auto.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/create_parser.hpp", + "external/sources/boost/boost/spirit/home/qi/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/attr.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eoi.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/qi/auxiliary/lazy.hpp", + "external/sources/boost/boost/spirit/home/qi/binary.hpp", + "external/sources/boost/boost/spirit/home/qi/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/qi/char.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/qi/char/char_parser.hpp", + "external/sources/boost/boost/spirit/home/qi/copy.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/alternative_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/assign_to.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/attributes.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/construct.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/enable_lit.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/expect_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/expectation_failure.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/fail_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/parse.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/parse_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/pass_container.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/pass_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/permute_function.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/string_parse.hpp", + "external/sources/boost/boost/spirit/home/qi/detail/unused_skipper.hpp", + "external/sources/boost/boost/spirit/home/qi/directive.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/as.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/encoding.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/expect.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/hold.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/lexeme.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/matches.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/no_case.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/no_skip.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/raw.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/qi/directive/skip.hpp", + "external/sources/boost/boost/spirit/home/qi/domain.hpp", + "external/sources/boost/boost/spirit/home/qi/match.hpp", + "external/sources/boost/boost/spirit/home/qi/match_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/fcall.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parameterized.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parser_binder.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/error_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/grammar.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/nonterminal_fwd.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/qi/nonterminal/success_handler.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/detail/real_impl.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/numeric_utils.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/qi/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/qi/operator.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/difference.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/expect.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/list.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/permutation.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequence_base.hpp", + "external/sources/boost/boost/spirit/home/qi/operator/sequential_or.hpp", + "external/sources/boost/boost/spirit/home/qi/parse.hpp", + "external/sources/boost/boost/spirit/home/qi/parse_attr.hpp", + "external/sources/boost/boost/spirit/home/qi/parser.hpp", + "external/sources/boost/boost/spirit/home/qi/reference.hpp", + "external/sources/boost/boost/spirit/home/qi/skip_flag.hpp", + "external/sources/boost/boost/spirit/home/qi/skip_over.hpp", + "external/sources/boost/boost/spirit/home/qi/stream.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip_auto.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/match_manip.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/match_manip_attr.hpp", + "external/sources/boost/boost/spirit/home/qi/stream/stream.hpp", + "external/sources/boost/boost/spirit/home/qi/string.hpp", + "external/sources/boost/boost/spirit/home/qi/string/detail/tst.hpp", + "external/sources/boost/boost/spirit/home/qi/string/lit.hpp", + "external/sources/boost/boost/spirit/home/qi/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/qi/string/tst.hpp", + "external/sources/boost/boost/spirit/home/qi/string/tst_map.hpp", + "external/sources/boost/boost/spirit/home/qi/what.hpp", + "external/sources/boost/boost/spirit/home/support.hpp", + "external/sources/boost/boost/spirit/home/support/action_dispatch.hpp", + "external/sources/boost/boost/spirit/home/support/adapt_adt_attributes.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns_so.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_ns.hpp", + "external/sources/boost/boost/spirit/home/support/algorithm/any_ns_so.hpp", + "external/sources/boost/boost/spirit/home/support/argument.hpp", + "external/sources/boost/boost/spirit/home/support/argument_expression.hpp", + "external/sources/boost/boost/spirit/home/support/assert_msg.hpp", + "external/sources/boost/boost/spirit/home/support/attributes.hpp", + "external/sources/boost/boost/spirit/home/support/attributes_fwd.hpp", + "external/sources/boost/boost/spirit/home/support/auto.hpp", + "external/sources/boost/boost/spirit/home/support/auto/meta_create.hpp", + "external/sources/boost/boost/spirit/home/support/auxiliary/attr_cast.hpp", + "external/sources/boost/boost/spirit/home/support/char_class.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/ascii.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/iso8859_1.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/standard.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/category_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/lowercase_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/query.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/script_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/basic_chset.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_functions.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_run.hpp", + "external/sources/boost/boost/spirit/home/support/char_set/range_run_impl.hpp", + "external/sources/boost/boost/spirit/home/support/common_terminals.hpp", + "external/sources/boost/boost/spirit/home/support/container.hpp", + "external/sources/boost/boost/spirit/home/support/context.hpp", + "external/sources/boost/boost/spirit/home/support/detail/as_variant.hpp", + "external/sources/boost/boost/spirit/home/support/detail/endian.hpp", + "external/sources/boost/boost/spirit/home/support/detail/get_encoding.hpp", + "external/sources/boost/boost/spirit/home/support/detail/hold_any.hpp", + "external/sources/boost/boost/spirit/home/support/detail/is_spirit_tag.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/char_traits.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/consts.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_list.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_vector.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/conversion/char_state_machine.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/debug.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/file_input.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_cpp.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_re2c.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/generator.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/input.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/internals.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/parser.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_helper.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_state.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/end_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/iteration_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/leaf_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/selection_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/sequence_node.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/charset.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/equivset.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/rules.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/runtime_error.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/size_t.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/state_machine.hpp", + "external/sources/boost/boost/spirit/home/support/detail/lexer/string_token.hpp", + "external/sources/boost/boost/spirit/home/support/detail/make_cons.hpp", + "external/sources/boost/boost/spirit/home/support/detail/make_vector.hpp", + "external/sources/boost/boost/spirit/home/support/detail/pow10.hpp", + "external/sources/boost/boost/spirit/home/support/detail/scoped_enum_emulation.hpp", + "external/sources/boost/boost/spirit/home/support/detail/sign.hpp", + "external/sources/boost/boost/spirit/home/support/detail/what_function.hpp", + "external/sources/boost/boost/spirit/home/support/extended_variant.hpp", + "external/sources/boost/boost/spirit/home/support/handles_container.hpp", + "external/sources/boost/boost/spirit/home/support/has_semantic_action.hpp", + "external/sources/boost/boost/spirit/home/support/info.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/buf_id_check_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/combine_policies.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/first_owner_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/istream_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/lex_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/no_check_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/ref_counted_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/split_functor_input_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/istream_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/line_pos_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/look_ahead.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/home/support/iterators/ostream_iterator.hpp", + "external/sources/boost/boost/spirit/home/support/lazy.hpp", + "external/sources/boost/boost/spirit/home/support/limits.hpp", + "external/sources/boost/boost/spirit/home/support/make_component.hpp", + "external/sources/boost/boost/spirit/home/support/meta_compiler.hpp", + "external/sources/boost/boost/spirit/home/support/modify.hpp", + "external/sources/boost/boost/spirit/home/support/multi_pass.hpp", + "external/sources/boost/boost/spirit/home/support/multi_pass_wrapper.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/expand_arg.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/extract_param.hpp", + "external/sources/boost/boost/spirit/home/support/nonterminal/locals.hpp", + "external/sources/boost/boost/spirit/home/support/numeric_traits.hpp", + "external/sources/boost/boost/spirit/home/support/sequence_base_id.hpp", + "external/sources/boost/boost/spirit/home/support/string_traits.hpp", + "external/sources/boost/boost/spirit/home/support/terminal.hpp", + "external/sources/boost/boost/spirit/home/support/terminal_expression.hpp", + "external/sources/boost/boost/spirit/home/support/unused.hpp", + "external/sources/boost/boost/spirit/home/support/utf8.hpp", + "external/sources/boost/boost/spirit/home/support/utree.hpp", + "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail1.hpp", + "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail2.hpp", + "external/sources/boost/boost/spirit/home/support/utree/operators.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree_traits.hpp", + "external/sources/boost/boost/spirit/home/support/utree/utree_traits_fwd.hpp", + "external/sources/boost/boost/spirit/home/x3.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/any_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/attr.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eoi.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eol.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/eps.hpp", + "external/sources/boost/boost/spirit/home/x3/auxiliary/guard.hpp", + "external/sources/boost/boost/spirit/home/x3/binary.hpp", + "external/sources/boost/boost/spirit/home/x3/binary/binary.hpp", + "external/sources/boost/boost/spirit/home/x3/char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/any_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_class.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_class_tags.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/char/char_set.hpp", + "external/sources/boost/boost/spirit/home/x3/char/detail/cast_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/literal_char.hpp", + "external/sources/boost/boost/spirit/home/x3/char/negated_char_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/char/unicode.hpp", + "external/sources/boost/boost/spirit/home/x3/core.hpp", + "external/sources/boost/boost/spirit/home/x3/core/action.hpp", + "external/sources/boost/boost/spirit/home/x3/core/call.hpp", + "external/sources/boost/boost/spirit/home/x3/core/detail/parse_into_container.hpp", + "external/sources/boost/boost/spirit/home/x3/core/parse.hpp", + "external/sources/boost/boost/spirit/home/x3/core/parser.hpp", + "external/sources/boost/boost/spirit/home/x3/core/proxy.hpp", + "external/sources/boost/boost/spirit/home/x3/core/skip_over.hpp", + "external/sources/boost/boost/spirit/home/x3/directive.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/confix.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/expect.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/lexeme.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/matches.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/no_case.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/no_skip.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/omit.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/raw.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/repeat.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/seek.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/skip.hpp", + "external/sources/boost/boost/spirit/home/x3/directive/with.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/debug_handler_state.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/rule.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/transform_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/rule.hpp", + "external/sources/boost/boost/spirit/home/x3/nonterminal/simple_trace.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/bool.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/bool_policies.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/int.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/real.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/real_policies.hpp", + "external/sources/boost/boost/spirit/home/x3/numeric/uint.hpp", + "external/sources/boost/boost/spirit/home/x3/operator.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/alternative.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/and_predicate.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/detail/alternative.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/detail/sequence.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/difference.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/kleene.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/list.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/not_predicate.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/optional.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/plus.hpp", + "external/sources/boost/boost/spirit/home/x3/operator/sequence.hpp", + "external/sources/boost/boost/spirit/home/x3/string.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/no_case_string_parse.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/string_parse.hpp", + "external/sources/boost/boost/spirit/home/x3/string/detail/tst.hpp", + "external/sources/boost/boost/spirit/home/x3/string/literal_string.hpp", + "external/sources/boost/boost/spirit/home/x3/string/symbols.hpp", + "external/sources/boost/boost/spirit/home/x3/string/tst.hpp", + "external/sources/boost/boost/spirit/home/x3/string/tst_map.hpp", + "external/sources/boost/boost/spirit/home/x3/support/ast/position_tagged.hpp", + "external/sources/boost/boost/spirit/home/x3/support/ast/variant.hpp", + "external/sources/boost/boost/spirit/home/x3/support/context.hpp", + "external/sources/boost/boost/spirit/home/x3/support/no_case.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/detail/extract_int.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_int.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_real.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/pow10.hpp", + "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/sign.hpp", + "external/sources/boost/boost/spirit/home/x3/support/subcontext.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_category.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of_binary.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_type.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/container_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/handles_container.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/has_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_parser.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_range.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/is_variant.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/move_to.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/numeric_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/optional_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/print_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/print_token.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/pseudo_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/string_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/transform_attribute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/tuple_traits.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/variant_find_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp", + "external/sources/boost/boost/spirit/home/x3/support/unused.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/annotate_on_success.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/error_reporting.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/is_callable.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/lambda_visitor.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/sfinae.hpp", + "external/sources/boost/boost/spirit/home/x3/support/utility/utf8.hpp", + "external/sources/boost/boost/spirit/home/x3/version.hpp", + "external/sources/boost/boost/spirit/include/classic.hpp", + "external/sources/boost/boost/spirit/include/classic_actions.hpp", + "external/sources/boost/boost/spirit/include/classic_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_alternative.hpp", + "external/sources/boost/boost/spirit/include/classic_as_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_assert.hpp", + "external/sources/boost/boost/spirit/include/classic_assign_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_assign_key_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ast.hpp", + "external/sources/boost/boost/spirit/include/classic_ast_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_attribute.hpp", + "external/sources/boost/boost/spirit/include/classic_basic_chset.hpp", + "external/sources/boost/boost/spirit/include/classic_chset.hpp", + "external/sources/boost/boost/spirit/include/classic_chset_operators.hpp", + "external/sources/boost/boost/spirit/include/classic_clear_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_closure.hpp", + "external/sources/boost/boost/spirit/include/classic_closure_context.hpp", + "external/sources/boost/boost/spirit/include/classic_closure_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_common.hpp", + "external/sources/boost/boost/spirit/include/classic_common_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_composite.hpp", + "external/sources/boost/boost/spirit/include/classic_config.hpp", + "external/sources/boost/boost/spirit/include/classic_confix.hpp", + "external/sources/boost/boost/spirit/include/classic_confix_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_core.hpp", + "external/sources/boost/boost/spirit/include/classic_debug.hpp", + "external/sources/boost/boost/spirit/include/classic_debug_node.hpp", + "external/sources/boost/boost/spirit/include/classic_decrement_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_difference.hpp", + "external/sources/boost/boost/spirit/include/classic_directives.hpp", + "external/sources/boost/boost/spirit/include/classic_distinct.hpp", + "external/sources/boost/boost/spirit/include/classic_distinct_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_dynamic.hpp", + "external/sources/boost/boost/spirit/include/classic_epsilon.hpp", + "external/sources/boost/boost/spirit/include/classic_erase_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_error_handling.hpp", + "external/sources/boost/boost/spirit/include/classic_escape_char.hpp", + "external/sources/boost/boost/spirit/include/classic_escape_char_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_exceptions.hpp", + "external/sources/boost/boost/spirit/include/classic_exceptions_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_exclusive_or.hpp", + "external/sources/boost/boost/spirit/include/classic_file_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_file_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_fixed_size_queue.hpp", + "external/sources/boost/boost/spirit/include/classic_flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/classic_for.hpp", + "external/sources/boost/boost/spirit/include/classic_functor_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_fundamental.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar_def.hpp", + "external/sources/boost/boost/spirit/include/classic_grammar_def_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_if.hpp", + "external/sources/boost/boost/spirit/include/classic_increment_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_insert_at_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_insert_key_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_intersection.hpp", + "external/sources/boost/boost/spirit/include/classic_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_kleene_star.hpp", + "external/sources/boost/boost/spirit/include/classic_lazy.hpp", + "external/sources/boost/boost/spirit/include/classic_list.hpp", + "external/sources/boost/boost/spirit/include/classic_lists.hpp", + "external/sources/boost/boost/spirit/include/classic_lists_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_loops.hpp", + "external/sources/boost/boost/spirit/include/classic_match.hpp", + "external/sources/boost/boost/spirit/include/classic_meta.hpp", + "external/sources/boost/boost/spirit/include/classic_minimal.hpp", + "external/sources/boost/boost/spirit/include/classic_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/classic_multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_nil.hpp", + "external/sources/boost/boost/spirit/include/classic_no_actions.hpp", + "external/sources/boost/boost/spirit/include/classic_numerics.hpp", + "external/sources/boost/boost/spirit/include/classic_numerics_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_operators.hpp", + "external/sources/boost/boost/spirit/include/classic_optional.hpp", + "external/sources/boost/boost/spirit/include/classic_parametric.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_parse_tree_utils.hpp", + "external/sources/boost/boost/spirit/include/classic_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_context.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_id.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_names.hpp", + "external/sources/boost/boost/spirit/include/classic_parser_traits.hpp", + "external/sources/boost/boost/spirit/include/classic_position_iterator.hpp", + "external/sources/boost/boost/spirit/include/classic_position_iterator_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_positive.hpp", + "external/sources/boost/boost/spirit/include/classic_primitives.hpp", + "external/sources/boost/boost/spirit/include/classic_push_back_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_push_front_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_range_run.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_const_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_ref_value_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_refactoring.hpp", + "external/sources/boost/boost/spirit/include/classic_regex.hpp", + "external/sources/boost/boost/spirit/include/classic_rule.hpp", + "external/sources/boost/boost/spirit/include/classic_rule_alias.hpp", + "external/sources/boost/boost/spirit/include/classic_rule_parser.hpp", + "external/sources/boost/boost/spirit/include/classic_safe_bool.hpp", + "external/sources/boost/boost/spirit/include/classic_scanner.hpp", + "external/sources/boost/boost/spirit/include/classic_scanner_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_scoped_lock.hpp", + "external/sources/boost/boost/spirit/include/classic_select.hpp", + "external/sources/boost/boost/spirit/include/classic_sequence.hpp", + "external/sources/boost/boost/spirit/include/classic_sequential_and.hpp", + "external/sources/boost/boost/spirit/include/classic_sequential_or.hpp", + "external/sources/boost/boost/spirit/include/classic_skipper.hpp", + "external/sources/boost/boost/spirit/include/classic_skipper_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_spirit.hpp", + "external/sources/boost/boost/spirit/include/classic_static.hpp", + "external/sources/boost/boost/spirit/include/classic_stored_rule.hpp", + "external/sources/boost/boost/spirit/include/classic_stored_rule_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_subrule.hpp", + "external/sources/boost/boost/spirit/include/classic_subrule_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_swap_actor.hpp", + "external/sources/boost/boost/spirit/include/classic_switch.hpp", + "external/sources/boost/boost/spirit/include/classic_symbols.hpp", + "external/sources/boost/boost/spirit/include/classic_symbols_fwd.hpp", + "external/sources/boost/boost/spirit/include/classic_traverse.hpp", + "external/sources/boost/boost/spirit/include/classic_tree_to_xml.hpp", + "external/sources/boost/boost/spirit/include/classic_typeof.hpp", + "external/sources/boost/boost/spirit/include/classic_utility.hpp", + "external/sources/boost/boost/spirit/include/classic_version.hpp", + "external/sources/boost/boost/spirit/include/classic_while.hpp", + "external/sources/boost/boost/spirit/include/karma.hpp", + "external/sources/boost/boost/spirit/include/karma_action.hpp", + "external/sources/boost/boost/spirit/include/karma_alternative.hpp", + "external/sources/boost/boost/spirit/include/karma_and_predicate.hpp", + "external/sources/boost/boost/spirit/include/karma_as.hpp", + "external/sources/boost/boost/spirit/include/karma_attr_cast.hpp", + "external/sources/boost/boost/spirit/include/karma_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_auxiliary.hpp", + "external/sources/boost/boost/spirit/include/karma_binary.hpp", + "external/sources/boost/boost/spirit/include/karma_bool.hpp", + "external/sources/boost/boost/spirit/include/karma_buffer.hpp", + "external/sources/boost/boost/spirit/include/karma_center_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_char.hpp", + "external/sources/boost/boost/spirit/include/karma_char_.hpp", + "external/sources/boost/boost/spirit/include/karma_char_class.hpp", + "external/sources/boost/boost/spirit/include/karma_columns.hpp", + "external/sources/boost/boost/spirit/include/karma_delimit.hpp", + "external/sources/boost/boost/spirit/include/karma_directive.hpp", + "external/sources/boost/boost/spirit/include/karma_domain.hpp", + "external/sources/boost/boost/spirit/include/karma_duplicate.hpp", + "external/sources/boost/boost/spirit/include/karma_eol.hpp", + "external/sources/boost/boost/spirit/include/karma_eps.hpp", + "external/sources/boost/boost/spirit/include/karma_format.hpp", + "external/sources/boost/boost/spirit/include/karma_format_attr.hpp", + "external/sources/boost/boost/spirit/include/karma_format_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_generate.hpp", + "external/sources/boost/boost/spirit/include/karma_generate_attr.hpp", + "external/sources/boost/boost/spirit/include/karma_generate_auto.hpp", + "external/sources/boost/boost/spirit/include/karma_grammar.hpp", + "external/sources/boost/boost/spirit/include/karma_int.hpp", + "external/sources/boost/boost/spirit/include/karma_kleene.hpp", + "external/sources/boost/boost/spirit/include/karma_lazy.hpp", + "external/sources/boost/boost/spirit/include/karma_left_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_list.hpp", + "external/sources/boost/boost/spirit/include/karma_maxwidth.hpp", + "external/sources/boost/boost/spirit/include/karma_no_delimit.hpp", + "external/sources/boost/boost/spirit/include/karma_nonterminal.hpp", + "external/sources/boost/boost/spirit/include/karma_not_predicate.hpp", + "external/sources/boost/boost/spirit/include/karma_numeric.hpp", + "external/sources/boost/boost/spirit/include/karma_omit.hpp", + "external/sources/boost/boost/spirit/include/karma_operator.hpp", + "external/sources/boost/boost/spirit/include/karma_optional.hpp", + "external/sources/boost/boost/spirit/include/karma_phoenix_attributes.hpp", + "external/sources/boost/boost/spirit/include/karma_plus.hpp", + "external/sources/boost/boost/spirit/include/karma_real.hpp", + "external/sources/boost/boost/spirit/include/karma_repeat.hpp", + "external/sources/boost/boost/spirit/include/karma_right_alignment.hpp", + "external/sources/boost/boost/spirit/include/karma_rule.hpp", + "external/sources/boost/boost/spirit/include/karma_sequence.hpp", + "external/sources/boost/boost/spirit/include/karma_stream.hpp", + "external/sources/boost/boost/spirit/include/karma_strict_relaxed.hpp", + "external/sources/boost/boost/spirit/include/karma_string.hpp", + "external/sources/boost/boost/spirit/include/karma_symbols.hpp", + "external/sources/boost/boost/spirit/include/karma_uint.hpp", + "external/sources/boost/boost/spirit/include/karma_upper_lower_case.hpp", + "external/sources/boost/boost/spirit/include/karma_verbatim.hpp", + "external/sources/boost/boost/spirit/include/karma_what.hpp", + "external/sources/boost/boost/spirit/include/lex.hpp", + "external/sources/boost/boost/spirit/include/lex_char_token_def.hpp", + "external/sources/boost/boost/spirit/include/lex_domain.hpp", + "external/sources/boost/boost/spirit/include/lex_generate_static_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_lexer.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl_position_token.hpp", + "external/sources/boost/boost/spirit/include/lex_lexertl_token.hpp", + "external/sources/boost/boost/spirit/include/lex_plain_token.hpp", + "external/sources/boost/boost/spirit/include/lex_primitives.hpp", + "external/sources/boost/boost/spirit/include/lex_static_lexertl.hpp", + "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse.hpp", + "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse_attr.hpp", + "external/sources/boost/boost/spirit/include/phoenix.hpp", + "external/sources/boost/boost/spirit/include/phoenix1.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_actor.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_binders.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_casts.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_closures.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_composite.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_functions.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_new.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_operators.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_primitives.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_special_ops.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_statements.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_tuple_helpers.hpp", + "external/sources/boost/boost/spirit/include/phoenix1_tuples.hpp", + "external/sources/boost/boost/spirit/include/phoenix_algorithm.hpp", + "external/sources/boost/boost/spirit/include/phoenix_bind.hpp", + "external/sources/boost/boost/spirit/include/phoenix_container.hpp", + "external/sources/boost/boost/spirit/include/phoenix_core.hpp", + "external/sources/boost/boost/spirit/include/phoenix_function.hpp", + "external/sources/boost/boost/spirit/include/phoenix_fusion.hpp", + "external/sources/boost/boost/spirit/include/phoenix_limits.hpp", + "external/sources/boost/boost/spirit/include/phoenix_object.hpp", + "external/sources/boost/boost/spirit/include/phoenix_operator.hpp", + "external/sources/boost/boost/spirit/include/phoenix_scope.hpp", + "external/sources/boost/boost/spirit/include/phoenix_statement.hpp", + "external/sources/boost/boost/spirit/include/phoenix_stl.hpp", + "external/sources/boost/boost/spirit/include/phoenix_version.hpp", + "external/sources/boost/boost/spirit/include/qi.hpp", + "external/sources/boost/boost/spirit/include/qi_action.hpp", + "external/sources/boost/boost/spirit/include/qi_alternative.hpp", + "external/sources/boost/boost/spirit/include/qi_and_predicate.hpp", + "external/sources/boost/boost/spirit/include/qi_as.hpp", + "external/sources/boost/boost/spirit/include/qi_as_string.hpp", + "external/sources/boost/boost/spirit/include/qi_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_attr_cast.hpp", + "external/sources/boost/boost/spirit/include/qi_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_auxiliary.hpp", + "external/sources/boost/boost/spirit/include/qi_binary.hpp", + "external/sources/boost/boost/spirit/include/qi_bool.hpp", + "external/sources/boost/boost/spirit/include/qi_char.hpp", + "external/sources/boost/boost/spirit/include/qi_char_.hpp", + "external/sources/boost/boost/spirit/include/qi_char_class.hpp", + "external/sources/boost/boost/spirit/include/qi_copy.hpp", + "external/sources/boost/boost/spirit/include/qi_core.hpp", + "external/sources/boost/boost/spirit/include/qi_difference.hpp", + "external/sources/boost/boost/spirit/include/qi_directive.hpp", + "external/sources/boost/boost/spirit/include/qi_domain.hpp", + "external/sources/boost/boost/spirit/include/qi_eoi.hpp", + "external/sources/boost/boost/spirit/include/qi_eol.hpp", + "external/sources/boost/boost/spirit/include/qi_eps.hpp", + "external/sources/boost/boost/spirit/include/qi_expect.hpp", + "external/sources/boost/boost/spirit/include/qi_grammar.hpp", + "external/sources/boost/boost/spirit/include/qi_hold.hpp", + "external/sources/boost/boost/spirit/include/qi_int.hpp", + "external/sources/boost/boost/spirit/include/qi_kleene.hpp", + "external/sources/boost/boost/spirit/include/qi_lazy.hpp", + "external/sources/boost/boost/spirit/include/qi_lexeme.hpp", + "external/sources/boost/boost/spirit/include/qi_list.hpp", + "external/sources/boost/boost/spirit/include/qi_lit.hpp", + "external/sources/boost/boost/spirit/include/qi_match.hpp", + "external/sources/boost/boost/spirit/include/qi_match_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_match_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_matches.hpp", + "external/sources/boost/boost/spirit/include/qi_no_case.hpp", + "external/sources/boost/boost/spirit/include/qi_no_skip.hpp", + "external/sources/boost/boost/spirit/include/qi_nonterminal.hpp", + "external/sources/boost/boost/spirit/include/qi_not_predicate.hpp", + "external/sources/boost/boost/spirit/include/qi_numeric.hpp", + "external/sources/boost/boost/spirit/include/qi_omit.hpp", + "external/sources/boost/boost/spirit/include/qi_operator.hpp", + "external/sources/boost/boost/spirit/include/qi_optional.hpp", + "external/sources/boost/boost/spirit/include/qi_parse.hpp", + "external/sources/boost/boost/spirit/include/qi_parse_attr.hpp", + "external/sources/boost/boost/spirit/include/qi_parse_auto.hpp", + "external/sources/boost/boost/spirit/include/qi_permutation.hpp", + "external/sources/boost/boost/spirit/include/qi_plus.hpp", + "external/sources/boost/boost/spirit/include/qi_raw.hpp", + "external/sources/boost/boost/spirit/include/qi_real.hpp", + "external/sources/boost/boost/spirit/include/qi_repeat.hpp", + "external/sources/boost/boost/spirit/include/qi_rule.hpp", + "external/sources/boost/boost/spirit/include/qi_sequence.hpp", + "external/sources/boost/boost/spirit/include/qi_sequential_or.hpp", + "external/sources/boost/boost/spirit/include/qi_skip.hpp", + "external/sources/boost/boost/spirit/include/qi_stream.hpp", + "external/sources/boost/boost/spirit/include/qi_string.hpp", + "external/sources/boost/boost/spirit/include/qi_symbols.hpp", + "external/sources/boost/boost/spirit/include/qi_uint.hpp", + "external/sources/boost/boost/spirit/include/qi_what.hpp", + "external/sources/boost/boost/spirit/include/support.hpp", + "external/sources/boost/boost/spirit/include/support_adapt_adt_attributes.hpp", + "external/sources/boost/boost/spirit/include/support_any.hpp", + "external/sources/boost/boost/spirit/include/support_any_if.hpp", + "external/sources/boost/boost/spirit/include/support_any_if_ns.hpp", + "external/sources/boost/boost/spirit/include/support_any_if_ns_so.hpp", + "external/sources/boost/boost/spirit/include/support_any_ns.hpp", + "external/sources/boost/boost/spirit/include/support_any_ns_so.hpp", + "external/sources/boost/boost/spirit/include/support_argument.hpp", + "external/sources/boost/boost/spirit/include/support_ascii.hpp", + "external/sources/boost/boost/spirit/include/support_attributes.hpp", + "external/sources/boost/boost/spirit/include/support_attributes_fwd.hpp", + "external/sources/boost/boost/spirit/include/support_auto.hpp", + "external/sources/boost/boost/spirit/include/support_char_class.hpp", + "external/sources/boost/boost/spirit/include/support_container.hpp", + "external/sources/boost/boost/spirit/include/support_extended_variant.hpp", + "external/sources/boost/boost/spirit/include/support_info.hpp", + "external/sources/boost/boost/spirit/include/support_iso8859_1.hpp", + "external/sources/boost/boost/spirit/include/support_istream_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_line_pos_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_locals.hpp", + "external/sources/boost/boost/spirit/include/support_look_ahead.hpp", + "external/sources/boost/boost/spirit/include/support_modify.hpp", + "external/sources/boost/boost/spirit/include/support_multi_pass.hpp", + "external/sources/boost/boost/spirit/include/support_multi_pass_fwd.hpp", + "external/sources/boost/boost/spirit/include/support_ostream_iterator.hpp", + "external/sources/boost/boost/spirit/include/support_standard.hpp", + "external/sources/boost/boost/spirit/include/support_standard_wide.hpp", + "external/sources/boost/boost/spirit/include/support_string_traits.hpp", + "external/sources/boost/boost/spirit/include/support_unused.hpp", + "external/sources/boost/boost/spirit/include/support_utree.hpp", + "external/sources/boost/boost/spirit/include/version.hpp", + "external/sources/boost/boost/spirit/repository/home/karma.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/directive.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/directive/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/home/karma/nonterminal/subrule.hpp", + "external/sources/boost/boost/spirit/repository/home/qi.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/distinct.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/kwd.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/directive/seek.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/nonterminal/subrule.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator/detail/keywords.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/operator/keywords.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/advance.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/home/qi/primitive/iter_pos.hpp", + "external/sources/boost/boost/spirit/repository/home/support/confix.hpp", + "external/sources/boost/boost/spirit/repository/home/support/distinct.hpp", + "external/sources/boost/boost/spirit/repository/home/support/flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/home/support/kwd.hpp", + "external/sources/boost/boost/spirit/repository/home/support/seek.hpp", + "external/sources/boost/boost/spirit/repository/home/support/subrule_context.hpp", + "external/sources/boost/boost/spirit/repository/include/karma.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_confix.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_directive.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/include/karma_subrule.hpp", + "external/sources/boost/boost/spirit/repository/include/qi.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_advance.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_confix.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_directive.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_distinct.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_flush_multi_pass.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_iter_pos.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_keywords.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_kwd.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_nonterminal.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_primitive.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_seek.hpp", + "external/sources/boost/boost/spirit/repository/include/qi_subrule.hpp", + "external/sources/boost/boost/spirit/version.hpp", + "external/sources/boost/boost/stacktrace.hpp", + "external/sources/boost/boost/stacktrace/detail/addr2line_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/collect_msvc.ipp", + "external/sources/boost/boost/stacktrace/detail/collect_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/collect_unwind.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_decl.hpp", + "external/sources/boost/boost/stacktrace/detail/frame_msvc.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/frame_unwind.ipp", + "external/sources/boost/boost/stacktrace/detail/libbacktrace_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/location_from_symbol.hpp", + "external/sources/boost/boost/stacktrace/detail/pop_options.h", + "external/sources/boost/boost/stacktrace/detail/push_options.h", + "external/sources/boost/boost/stacktrace/detail/safe_dump_noop.ipp", + "external/sources/boost/boost/stacktrace/detail/safe_dump_posix.ipp", + "external/sources/boost/boost/stacktrace/detail/safe_dump_win.ipp", + "external/sources/boost/boost/stacktrace/detail/to_dec_array.hpp", + "external/sources/boost/boost/stacktrace/detail/to_hex_array.hpp", + "external/sources/boost/boost/stacktrace/detail/try_dec_convert.hpp", + "external/sources/boost/boost/stacktrace/detail/unwind_base_impls.hpp", + "external/sources/boost/boost/stacktrace/detail/void_ptr_cast.hpp", + "external/sources/boost/boost/stacktrace/frame.hpp", + "external/sources/boost/boost/stacktrace/safe_dump_to.hpp", + "external/sources/boost/boost/stacktrace/stacktrace.hpp", + "external/sources/boost/boost/stacktrace/stacktrace_fwd.hpp", + "external/sources/boost/boost/statechart/asynchronous_state_machine.hpp", + "external/sources/boost/boost/statechart/custom_reaction.hpp", + "external/sources/boost/boost/statechart/deep_history.hpp", + "external/sources/boost/boost/statechart/deferral.hpp", + "external/sources/boost/boost/statechart/detail/avoid_unused_warning.hpp", + "external/sources/boost/boost/statechart/detail/constructor.hpp", + "external/sources/boost/boost/statechart/detail/counted_base.hpp", + "external/sources/boost/boost/statechart/detail/leaf_state.hpp", + "external/sources/boost/boost/statechart/detail/memory.hpp", + "external/sources/boost/boost/statechart/detail/node_state.hpp", + "external/sources/boost/boost/statechart/detail/reaction_dispatcher.hpp", + "external/sources/boost/boost/statechart/detail/rtti_policy.hpp", + "external/sources/boost/boost/statechart/detail/state_base.hpp", + "external/sources/boost/boost/statechart/event.hpp", + "external/sources/boost/boost/statechart/event_base.hpp", + "external/sources/boost/boost/statechart/event_processor.hpp", + "external/sources/boost/boost/statechart/exception_translator.hpp", + "external/sources/boost/boost/statechart/fifo_scheduler.hpp", + "external/sources/boost/boost/statechart/fifo_worker.hpp", + "external/sources/boost/boost/statechart/history.hpp", + "external/sources/boost/boost/statechart/in_state_reaction.hpp", + "external/sources/boost/boost/statechart/null_exception_translator.hpp", + "external/sources/boost/boost/statechart/processor_container.hpp", + "external/sources/boost/boost/statechart/result.hpp", + "external/sources/boost/boost/statechart/shallow_history.hpp", + "external/sources/boost/boost/statechart/simple_state.hpp", + "external/sources/boost/boost/statechart/state.hpp", + "external/sources/boost/boost/statechart/state_machine.hpp", + "external/sources/boost/boost/statechart/termination.hpp", + "external/sources/boost/boost/statechart/transition.hpp", + "external/sources/boost/boost/static_assert.hpp", + "external/sources/boost/boost/static_string.hpp", + "external/sources/boost/boost/static_string/config.hpp", + "external/sources/boost/boost/static_string/static_string.hpp", + "external/sources/boost/boost/stl_interfaces/fwd.hpp", + "external/sources/boost/boost/stl_interfaces/iterator_interface.hpp", + "external/sources/boost/boost/stl_interfaces/reverse_iterator.hpp", + "external/sources/boost/boost/stl_interfaces/sequence_container_interface.hpp", + "external/sources/boost/boost/stl_interfaces/view_interface.hpp", + "external/sources/boost/boost/swap.hpp", + "external/sources/boost/boost/system/api_config.hpp", + "external/sources/boost/boost/system/config.hpp", + "external/sources/boost/boost/system/cygwin_error.hpp", + "external/sources/boost/boost/system/detail/config.hpp", + "external/sources/boost/boost/system/detail/generic_category.hpp", + "external/sources/boost/boost/system/detail/std_interoperability.hpp", + "external/sources/boost/boost/system/detail/system_category_posix.hpp", + "external/sources/boost/boost/system/detail/system_category_win32.hpp", + "external/sources/boost/boost/system/error_code.hpp", + "external/sources/boost/boost/system/linux_error.hpp", + "external/sources/boost/boost/system/system_error.hpp", + "external/sources/boost/boost/system/windows_error.hpp", + "external/sources/boost/boost/test/auto_unit_test.hpp", + "external/sources/boost/boost/test/data/config.hpp", + "external/sources/boost/boost/test/data/dataset.hpp", + "external/sources/boost/boost/test/data/for_each_sample.hpp", + "external/sources/boost/boost/test/data/index_sequence.hpp", + "external/sources/boost/boost/test/data/monomorphic.hpp", + "external/sources/boost/boost/test/data/monomorphic/array.hpp", + "external/sources/boost/boost/test/data/monomorphic/collection.hpp", + "external/sources/boost/boost/test/data/monomorphic/delayed.hpp", + "external/sources/boost/boost/test/data/monomorphic/fwd.hpp", + "external/sources/boost/boost/test/data/monomorphic/generate.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/keywords.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/random.hpp", + "external/sources/boost/boost/test/data/monomorphic/generators/xrange.hpp", + "external/sources/boost/boost/test/data/monomorphic/grid.hpp", + "external/sources/boost/boost/test/data/monomorphic/initializer_list.hpp", + "external/sources/boost/boost/test/data/monomorphic/join.hpp", + "external/sources/boost/boost/test/data/monomorphic/sample_merge.hpp", + "external/sources/boost/boost/test/data/monomorphic/singleton.hpp", + "external/sources/boost/boost/test/data/monomorphic/zip.hpp", + "external/sources/boost/boost/test/data/size.hpp", + "external/sources/boost/boost/test/data/test_case.hpp", + "external/sources/boost/boost/test/debug.hpp", + "external/sources/boost/boost/test/debug_config.hpp", + "external/sources/boost/boost/test/detail/config.hpp", + "external/sources/boost/boost/test/detail/enable_warnings.hpp", + "external/sources/boost/boost/test/detail/fwd_decl.hpp", + "external/sources/boost/boost/test/detail/global_typedef.hpp", + "external/sources/boost/boost/test/detail/log_level.hpp", + "external/sources/boost/boost/test/detail/pp_variadic.hpp", + "external/sources/boost/boost/test/detail/suppress_warnings.hpp", + "external/sources/boost/boost/test/detail/throw_exception.hpp", + "external/sources/boost/boost/test/execution_monitor.hpp", + "external/sources/boost/boost/test/floating_point_comparison.hpp", + "external/sources/boost/boost/test/framework.hpp", + "external/sources/boost/boost/test/impl/compiler_log_formatter.ipp", + "external/sources/boost/boost/test/impl/cpp_main.ipp", + "external/sources/boost/boost/test/impl/debug.ipp", + "external/sources/boost/boost/test/impl/decorator.ipp", + "external/sources/boost/boost/test/impl/execution_monitor.ipp", + "external/sources/boost/boost/test/impl/framework.ipp", + "external/sources/boost/boost/test/impl/junit_log_formatter.ipp", + "external/sources/boost/boost/test/impl/plain_report_formatter.ipp", + "external/sources/boost/boost/test/impl/progress_monitor.ipp", + "external/sources/boost/boost/test/impl/results_collector.ipp", + "external/sources/boost/boost/test/impl/results_reporter.ipp", + "external/sources/boost/boost/test/impl/test_framework_init_observer.ipp", + "external/sources/boost/boost/test/impl/test_main.ipp", + "external/sources/boost/boost/test/impl/test_tools.ipp", + "external/sources/boost/boost/test/impl/test_tree.ipp", + "external/sources/boost/boost/test/impl/unit_test_log.ipp", + "external/sources/boost/boost/test/impl/unit_test_main.ipp", + "external/sources/boost/boost/test/impl/unit_test_monitor.ipp", + "external/sources/boost/boost/test/impl/unit_test_parameters.ipp", + "external/sources/boost/boost/test/impl/xml_log_formatter.ipp", + "external/sources/boost/boost/test/impl/xml_report_formatter.ipp", + "external/sources/boost/boost/test/included/execution_monitor.hpp", + "external/sources/boost/boost/test/included/prg_exec_monitor.hpp", + "external/sources/boost/boost/test/included/test_exec_monitor.hpp", + "external/sources/boost/boost/test/included/unit_test.hpp", + "external/sources/boost/boost/test/included/unit_test_framework.hpp", + "external/sources/boost/boost/test/minimal.hpp", + "external/sources/boost/boost/test/output/compiler_log_formatter.hpp", + "external/sources/boost/boost/test/output/junit_log_formatter.hpp", + "external/sources/boost/boost/test/output/plain_report_formatter.hpp", + "external/sources/boost/boost/test/output/xml_log_formatter.hpp", + "external/sources/boost/boost/test/output/xml_report_formatter.hpp", + "external/sources/boost/boost/test/output_test_stream.hpp", + "external/sources/boost/boost/test/parameterized_test.hpp", + "external/sources/boost/boost/test/predicate_result.hpp", + "external/sources/boost/boost/test/prg_exec_monitor.hpp", + "external/sources/boost/boost/test/progress_monitor.hpp", + "external/sources/boost/boost/test/results_collector.hpp", + "external/sources/boost/boost/test/results_reporter.hpp", + "external/sources/boost/boost/test/test_case_template.hpp", + "external/sources/boost/boost/test/test_exec_monitor.hpp", + "external/sources/boost/boost/test/test_framework_init_observer.hpp", + "external/sources/boost/boost/test/test_tools.hpp", + "external/sources/boost/boost/test/tools/assertion.hpp", + "external/sources/boost/boost/test/tools/assertion_result.hpp", + "external/sources/boost/boost/test/tools/collection_comparison_op.hpp", + "external/sources/boost/boost/test/tools/context.hpp", + "external/sources/boost/boost/test/tools/cstring_comparison_op.hpp", + "external/sources/boost/boost/test/tools/detail/bitwise_manip.hpp", + "external/sources/boost/boost/test/tools/detail/fwd.hpp", + "external/sources/boost/boost/test/tools/detail/indirections.hpp", + "external/sources/boost/boost/test/tools/detail/it_pair.hpp", + "external/sources/boost/boost/test/tools/detail/lexicographic_manip.hpp", + "external/sources/boost/boost/test/tools/detail/per_element_manip.hpp", + "external/sources/boost/boost/test/tools/detail/print_helper.hpp", + "external/sources/boost/boost/test/tools/detail/tolerance_manip.hpp", + "external/sources/boost/boost/test/tools/floating_point_comparison.hpp", + "external/sources/boost/boost/test/tools/fpc_op.hpp", + "external/sources/boost/boost/test/tools/fpc_tolerance.hpp", + "external/sources/boost/boost/test/tools/interface.hpp", + "external/sources/boost/boost/test/tools/old/impl.hpp", + "external/sources/boost/boost/test/tools/old/interface.hpp", + "external/sources/boost/boost/test/tools/output_test_stream.hpp", + "external/sources/boost/boost/test/tree/auto_registration.hpp", + "external/sources/boost/boost/test/tree/decorator.hpp", + "external/sources/boost/boost/test/tree/fixture.hpp", + "external/sources/boost/boost/test/tree/global_fixture.hpp", + "external/sources/boost/boost/test/tree/observer.hpp", + "external/sources/boost/boost/test/tree/test_case_counter.hpp", + "external/sources/boost/boost/test/tree/test_case_template.hpp", + "external/sources/boost/boost/test/tree/test_unit.hpp", + "external/sources/boost/boost/test/tree/traverse.hpp", + "external/sources/boost/boost/test/tree/visitor.hpp", + "external/sources/boost/boost/test/unit_test.hpp", + "external/sources/boost/boost/test/unit_test_log.hpp", + "external/sources/boost/boost/test/unit_test_log_formatter.hpp", + "external/sources/boost/boost/test/unit_test_monitor.hpp", + "external/sources/boost/boost/test/unit_test_parameters.hpp", + "external/sources/boost/boost/test/unit_test_suite.hpp", + "external/sources/boost/boost/test/utils/algorithm.hpp", + "external/sources/boost/boost/test/utils/assign_op.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/bcs_char_traits.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/compare.hpp", + "external/sources/boost/boost/test/utils/basic_cstring/io.hpp", + "external/sources/boost/boost/test/utils/class_properties.hpp", + "external/sources/boost/boost/test/utils/custom_manip.hpp", + "external/sources/boost/boost/test/utils/foreach.hpp", + "external/sources/boost/boost/test/utils/is_cstring.hpp", + "external/sources/boost/boost/test/utils/is_forward_iterable.hpp", + "external/sources/boost/boost/test/utils/iterator/input_iterator_facade.hpp", + "external/sources/boost/boost/test/utils/iterator/token_iterator.hpp", + "external/sources/boost/boost/test/utils/lazy_ostream.hpp", + "external/sources/boost/boost/test/utils/named_params.hpp", + "external/sources/boost/boost/test/utils/nullstream.hpp", + "external/sources/boost/boost/test/utils/rtti.hpp", + "external/sources/boost/boost/test/utils/runtime/argument.hpp", + "external/sources/boost/boost/test/utils/runtime/argument_factory.hpp", + "external/sources/boost/boost/test/utils/runtime/cla/argv_traverser.hpp", + "external/sources/boost/boost/test/utils/runtime/cla/parser.hpp", + "external/sources/boost/boost/test/utils/runtime/env/fetch.hpp", + "external/sources/boost/boost/test/utils/runtime/errors.hpp", + "external/sources/boost/boost/test/utils/runtime/finalize.hpp", + "external/sources/boost/boost/test/utils/runtime/fwd.hpp", + "external/sources/boost/boost/test/utils/runtime/modifier.hpp", + "external/sources/boost/boost/test/utils/runtime/parameter.hpp", + "external/sources/boost/boost/test/utils/setcolor.hpp", + "external/sources/boost/boost/test/utils/string_cast.hpp", + "external/sources/boost/boost/test/utils/timer.hpp", + "external/sources/boost/boost/test/utils/wrap_stringstream.hpp", + "external/sources/boost/boost/test/utils/xml_printer.hpp", + "external/sources/boost/boost/thread.hpp", + "external/sources/boost/boost/thread/barrier.hpp", + "external/sources/boost/boost/thread/caller_context.hpp", + "external/sources/boost/boost/thread/completion_latch.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_adaptor.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/deque_views.hpp", + "external/sources/boost/boost/thread/concurrent_queues/detail/sync_deque_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/detail/sync_queue_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_adaptor.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_base.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_op_status.hpp", + "external/sources/boost/boost/thread/concurrent_queues/queue_views.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_bounded_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_deque.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_priority_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_queue.hpp", + "external/sources/boost/boost/thread/concurrent_queues/sync_timed_queue.hpp", + "external/sources/boost/boost/thread/condition.hpp", + "external/sources/boost/boost/thread/condition_variable.hpp", + "external/sources/boost/boost/thread/csbl/deque.hpp", + "external/sources/boost/boost/thread/csbl/devector.hpp", + "external/sources/boost/boost/thread/csbl/functional.hpp", + "external/sources/boost/boost/thread/csbl/list.hpp", + "external/sources/boost/boost/thread/csbl/memory.hpp", + "external/sources/boost/boost/thread/csbl/memory/allocator_arg.hpp", + "external/sources/boost/boost/thread/csbl/memory/allocator_traits.hpp", + "external/sources/boost/boost/thread/csbl/memory/config.hpp", + "external/sources/boost/boost/thread/csbl/memory/default_delete.hpp", + "external/sources/boost/boost/thread/csbl/memory/pointer_traits.hpp", + "external/sources/boost/boost/thread/csbl/memory/scoped_allocator.hpp", + "external/sources/boost/boost/thread/csbl/memory/shared_ptr.hpp", + "external/sources/boost/boost/thread/csbl/memory/unique_ptr.hpp", + "external/sources/boost/boost/thread/csbl/queue.hpp", + "external/sources/boost/boost/thread/csbl/tuple.hpp", + "external/sources/boost/boost/thread/csbl/vector.hpp", + "external/sources/boost/boost/thread/cv_status.hpp", + "external/sources/boost/boost/thread/detail/atomic_redef_macros.hpp", + "external/sources/boost/boost/thread/detail/atomic_undef_macros.hpp", + "external/sources/boost/boost/thread/detail/config.hpp", + "external/sources/boost/boost/thread/detail/counter.hpp", + "external/sources/boost/boost/thread/detail/delete.hpp", + "external/sources/boost/boost/thread/detail/force_cast.hpp", + "external/sources/boost/boost/thread/detail/function_wrapper.hpp", + "external/sources/boost/boost/thread/detail/invoke.hpp", + "external/sources/boost/boost/thread/detail/invoker.hpp", + "external/sources/boost/boost/thread/detail/is_convertible.hpp", + "external/sources/boost/boost/thread/detail/lockable_wrapper.hpp", + "external/sources/boost/boost/thread/detail/log.hpp", + "external/sources/boost/boost/thread/detail/make_tuple_indices.hpp", + "external/sources/boost/boost/thread/detail/memory.hpp", + "external/sources/boost/boost/thread/detail/move.hpp", + "external/sources/boost/boost/thread/detail/nullary_function.hpp", + "external/sources/boost/boost/thread/detail/platform.hpp", + "external/sources/boost/boost/thread/detail/platform_time.hpp", + "external/sources/boost/boost/thread/detail/singleton.hpp", + "external/sources/boost/boost/thread/detail/thread.hpp", + "external/sources/boost/boost/thread/detail/thread_group.hpp", + "external/sources/boost/boost/thread/detail/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/detail/thread_interruption.hpp", + "external/sources/boost/boost/thread/detail/thread_safety.hpp", + "external/sources/boost/boost/thread/detail/tss_hooks.hpp", + "external/sources/boost/boost/thread/detail/variadic_footer.hpp", + "external/sources/boost/boost/thread/detail/variadic_header.hpp", + "external/sources/boost/boost/thread/exceptional_ptr.hpp", + "external/sources/boost/boost/thread/exceptions.hpp", + "external/sources/boost/boost/thread/executor.hpp", + "external/sources/boost/boost/thread/executors/basic_thread_pool.hpp", + "external/sources/boost/boost/thread/executors/detail/priority_executor_base.hpp", + "external/sources/boost/boost/thread/executors/detail/scheduled_executor_base.hpp", + "external/sources/boost/boost/thread/executors/executor.hpp", + "external/sources/boost/boost/thread/executors/executor_adaptor.hpp", + "external/sources/boost/boost/thread/executors/generic_executor_ref.hpp", + "external/sources/boost/boost/thread/executors/inline_executor.hpp", + "external/sources/boost/boost/thread/executors/loop_executor.hpp", + "external/sources/boost/boost/thread/executors/scheduled_thread_pool.hpp", + "external/sources/boost/boost/thread/executors/scheduler.hpp", + "external/sources/boost/boost/thread/executors/scheduling_adaptor.hpp", + "external/sources/boost/boost/thread/executors/serial_executor.hpp", + "external/sources/boost/boost/thread/executors/serial_executor_cont.hpp", + "external/sources/boost/boost/thread/executors/thread_executor.hpp", + "external/sources/boost/boost/thread/executors/work.hpp", + "external/sources/boost/boost/thread/experimental/config/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/exception_list.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v1/exception_list.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v1/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v2/inline_namespace.hpp", + "external/sources/boost/boost/thread/experimental/parallel/v2/task_region.hpp", + "external/sources/boost/boost/thread/experimental/task_region.hpp", + "external/sources/boost/boost/thread/externally_locked.hpp", + "external/sources/boost/boost/thread/externally_locked_stream.hpp", + "external/sources/boost/boost/thread/future.hpp", + "external/sources/boost/boost/thread/futures/future_error.hpp", + "external/sources/boost/boost/thread/futures/future_error_code.hpp", + "external/sources/boost/boost/thread/futures/future_status.hpp", + "external/sources/boost/boost/thread/futures/is_future_type.hpp", + "external/sources/boost/boost/thread/futures/launch.hpp", + "external/sources/boost/boost/thread/futures/wait_for_all.hpp", + "external/sources/boost/boost/thread/futures/wait_for_any.hpp", + "external/sources/boost/boost/thread/interruption.hpp", + "external/sources/boost/boost/thread/is_locked_by_this_thread.hpp", + "external/sources/boost/boost/thread/latch.hpp", + "external/sources/boost/boost/thread/lock_algorithms.hpp", + "external/sources/boost/boost/thread/lock_concepts.hpp", + "external/sources/boost/boost/thread/lock_factories.hpp", + "external/sources/boost/boost/thread/lock_guard.hpp", + "external/sources/boost/boost/thread/lock_options.hpp", + "external/sources/boost/boost/thread/lock_traits.hpp", + "external/sources/boost/boost/thread/lock_types.hpp", + "external/sources/boost/boost/thread/lockable_adapter.hpp", + "external/sources/boost/boost/thread/lockable_concepts.hpp", + "external/sources/boost/boost/thread/lockable_traits.hpp", + "external/sources/boost/boost/thread/locks.hpp", + "external/sources/boost/boost/thread/mutex.hpp", + "external/sources/boost/boost/thread/null_mutex.hpp", + "external/sources/boost/boost/thread/once.hpp", + "external/sources/boost/boost/thread/ostream_buffer.hpp", + "external/sources/boost/boost/thread/poly_lockable.hpp", + "external/sources/boost/boost/thread/poly_lockable_adapter.hpp", + "external/sources/boost/boost/thread/poly_shared_lockable.hpp", + "external/sources/boost/boost/thread/poly_shared_lockable_adapter.hpp", + "external/sources/boost/boost/thread/pthread/condition_variable.hpp", + "external/sources/boost/boost/thread/pthread/condition_variable_fwd.hpp", + "external/sources/boost/boost/thread/pthread/mutex.hpp", + "external/sources/boost/boost/thread/pthread/once.hpp", + "external/sources/boost/boost/thread/pthread/once_atomic.hpp", + "external/sources/boost/boost/thread/pthread/pthread_helpers.hpp", + "external/sources/boost/boost/thread/pthread/pthread_mutex_scoped_lock.hpp", + "external/sources/boost/boost/thread/pthread/recursive_mutex.hpp", + "external/sources/boost/boost/thread/pthread/shared_mutex.hpp", + "external/sources/boost/boost/thread/pthread/thread_data.hpp", + "external/sources/boost/boost/thread/pthread/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/recursive_mutex.hpp", + "external/sources/boost/boost/thread/reverse_lock.hpp", + "external/sources/boost/boost/thread/scoped_thread.hpp", + "external/sources/boost/boost/thread/shared_lock_guard.hpp", + "external/sources/boost/boost/thread/shared_mutex.hpp", + "external/sources/boost/boost/thread/strict_lock.hpp", + "external/sources/boost/boost/thread/sync_bounded_queue.hpp", + "external/sources/boost/boost/thread/sync_queue.hpp", + "external/sources/boost/boost/thread/synchronized_value.hpp", + "external/sources/boost/boost/thread/testable_mutex.hpp", + "external/sources/boost/boost/thread/thread.hpp", + "external/sources/boost/boost/thread/thread_functors.hpp", + "external/sources/boost/boost/thread/thread_guard.hpp", + "external/sources/boost/boost/thread/thread_only.hpp", + "external/sources/boost/boost/thread/thread_pool.hpp", + "external/sources/boost/boost/thread/thread_time.hpp", + "external/sources/boost/boost/thread/tss.hpp", + "external/sources/boost/boost/thread/user_scheduler.hpp", + "external/sources/boost/boost/thread/v2/shared_mutex.hpp", + "external/sources/boost/boost/thread/win32/basic_recursive_mutex.hpp", + "external/sources/boost/boost/thread/win32/basic_timed_mutex.hpp", + "external/sources/boost/boost/thread/win32/condition_variable.hpp", + "external/sources/boost/boost/thread/win32/interlocked_read.hpp", + "external/sources/boost/boost/thread/win32/mfc_thread_init.hpp", + "external/sources/boost/boost/thread/win32/mutex.hpp", + "external/sources/boost/boost/thread/win32/once.hpp", + "external/sources/boost/boost/thread/win32/recursive_mutex.hpp", + "external/sources/boost/boost/thread/win32/shared_mutex.hpp", + "external/sources/boost/boost/thread/win32/thread_data.hpp", + "external/sources/boost/boost/thread/win32/thread_heap_alloc.hpp", + "external/sources/boost/boost/thread/win32/thread_primitives.hpp", + "external/sources/boost/boost/thread/with_lock_guard.hpp", + "external/sources/boost/boost/thread/xtime.hpp", + "external/sources/boost/boost/throw_exception.hpp", + "external/sources/boost/boost/timer.hpp", + "external/sources/boost/boost/timer/config.hpp", + "external/sources/boost/boost/timer/progress_display.hpp", + "external/sources/boost/boost/timer/timer.hpp", + "external/sources/boost/boost/token_functions.hpp", + "external/sources/boost/boost/token_iterator.hpp", + "external/sources/boost/boost/tokenizer.hpp", + "external/sources/boost/boost/tti/detail/dclass.hpp", + "external/sources/boost/boost/tti/detail/dcomp_mem_fun.hpp", + "external/sources/boost/boost/tti/detail/dcomp_mem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/ddata.hpp", + "external/sources/boost/boost/tti/detail/ddeftype.hpp", + "external/sources/boost/boost/tti/detail/denclosing_type.hpp", + "external/sources/boost/boost/tti/detail/denum.hpp", + "external/sources/boost/boost/tti/detail/dftclass.hpp", + "external/sources/boost/boost/tti/detail/dfunction.hpp", + "external/sources/boost/boost/tti/detail/dfunction_template.hpp", + "external/sources/boost/boost/tti/detail/dlambda.hpp", + "external/sources/boost/boost/tti/detail/dmacro_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dmacro_fve.hpp", + "external/sources/boost/boost/tti/detail/dmacro_sunfix.hpp", + "external/sources/boost/boost/tti/detail/dmem_data.hpp", + "external/sources/boost/boost/tti/detail/dmem_fun.hpp", + "external/sources/boost/boost/tti/detail/dmem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dmem_type.hpp", + "external/sources/boost/boost/tti/detail/dmetafunc.hpp", + "external/sources/boost/boost/tti/detail/dnotype.hpp", + "external/sources/boost/boost/tti/detail/dnullptr.hpp", + "external/sources/boost/boost/tti/detail/dplaceholder.hpp", + "external/sources/boost/boost/tti/detail/dptmf.hpp", + "external/sources/boost/boost/tti/detail/dstatic_function_tags.hpp", + "external/sources/boost/boost/tti/detail/dstatic_function_type.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_data.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_fun.hpp", + "external/sources/boost/boost/tti/detail/dstatic_mem_fun_template.hpp", + "external/sources/boost/boost/tti/detail/dtclass.hpp", + "external/sources/boost/boost/tti/detail/dtemplate.hpp", + "external/sources/boost/boost/tti/detail/dtemplate_params.hpp", + "external/sources/boost/boost/tti/detail/dtfunction.hpp", + "external/sources/boost/boost/tti/detail/dtype.hpp", + "external/sources/boost/boost/tti/detail/dunion.hpp", + "external/sources/boost/boost/tti/detail/dvm_template_params.hpp", + "external/sources/boost/boost/tti/has_class.hpp", + "external/sources/boost/boost/tti/has_data.hpp", + "external/sources/boost/boost/tti/has_enum.hpp", + "external/sources/boost/boost/tti/has_function.hpp", + "external/sources/boost/boost/tti/has_function_template.hpp", + "external/sources/boost/boost/tti/has_member_data.hpp", + "external/sources/boost/boost/tti/has_member_function.hpp", + "external/sources/boost/boost/tti/has_member_function_template.hpp", + "external/sources/boost/boost/tti/has_static_member_data.hpp", + "external/sources/boost/boost/tti/has_static_member_function.hpp", + "external/sources/boost/boost/tti/has_static_member_function_template.hpp", + "external/sources/boost/boost/tti/has_template.hpp", + "external/sources/boost/boost/tti/has_type.hpp", + "external/sources/boost/boost/tti/has_union.hpp", + "external/sources/boost/boost/tti/member_type.hpp", + "external/sources/boost/boost/tti/tti.hpp", + "external/sources/boost/boost/tuple/detail/tuple_basic.hpp", + "external/sources/boost/boost/tuple/tuple.hpp", + "external/sources/boost/boost/tuple/tuple_comparison.hpp", + "external/sources/boost/boost/tuple/tuple_io.hpp", + "external/sources/boost/boost/type.hpp", + "external/sources/boost/boost/type_erasure/any.hpp", + "external/sources/boost/boost/type_erasure/any_cast.hpp", + "external/sources/boost/boost/type_erasure/binding.hpp", + "external/sources/boost/boost/type_erasure/binding_of.hpp", + "external/sources/boost/boost/type_erasure/builtin.hpp", + "external/sources/boost/boost/type_erasure/call.hpp", + "external/sources/boost/boost/type_erasure/callable.hpp", + "external/sources/boost/boost/type_erasure/check_match.hpp", + "external/sources/boost/boost/type_erasure/concept_interface.hpp", + "external/sources/boost/boost/type_erasure/concept_of.hpp", + "external/sources/boost/boost/type_erasure/config.hpp", + "external/sources/boost/boost/type_erasure/constructible.hpp", + "external/sources/boost/boost/type_erasure/deduced.hpp", + "external/sources/boost/boost/type_erasure/derived.hpp", + "external/sources/boost/boost/type_erasure/detail/access.hpp", + "external/sources/boost/boost/type_erasure/detail/adapt_to_vtable.hpp", + "external/sources/boost/boost/type_erasure/detail/any_base.hpp", + "external/sources/boost/boost/type_erasure/detail/auto_link.hpp", + "external/sources/boost/boost/type_erasure/detail/check_call.hpp", + "external/sources/boost/boost/type_erasure/detail/check_map.hpp", + "external/sources/boost/boost/type_erasure/detail/const.hpp", + "external/sources/boost/boost/type_erasure/detail/construct.hpp", + "external/sources/boost/boost/type_erasure/detail/dynamic_vtable.hpp", + "external/sources/boost/boost/type_erasure/detail/extract_concept.hpp", + "external/sources/boost/boost/type_erasure/detail/get_placeholders.hpp", + "external/sources/boost/boost/type_erasure/detail/get_signature.hpp", + "external/sources/boost/boost/type_erasure/detail/instantiate.hpp", + "external/sources/boost/boost/type_erasure/detail/macro.hpp", + "external/sources/boost/boost/type_erasure/detail/member11.hpp", + "external/sources/boost/boost/type_erasure/detail/meta.hpp", + "external/sources/boost/boost/type_erasure/detail/normalize.hpp", + "external/sources/boost/boost/type_erasure/detail/normalize_deduced.hpp", + "external/sources/boost/boost/type_erasure/detail/null.hpp", + "external/sources/boost/boost/type_erasure/detail/rebind_placeholders.hpp", + "external/sources/boost/boost/type_erasure/detail/storage.hpp", + "external/sources/boost/boost/type_erasure/detail/vtable.hpp", + "external/sources/boost/boost/type_erasure/dynamic_any_cast.hpp", + "external/sources/boost/boost/type_erasure/dynamic_binding.hpp", + "external/sources/boost/boost/type_erasure/exception.hpp", + "external/sources/boost/boost/type_erasure/free.hpp", + "external/sources/boost/boost/type_erasure/is_empty.hpp", + "external/sources/boost/boost/type_erasure/is_placeholder.hpp", + "external/sources/boost/boost/type_erasure/is_subconcept.hpp", + "external/sources/boost/boost/type_erasure/iterator.hpp", + "external/sources/boost/boost/type_erasure/member.hpp", + "external/sources/boost/boost/type_erasure/operators.hpp", + "external/sources/boost/boost/type_erasure/param.hpp", + "external/sources/boost/boost/type_erasure/placeholder.hpp", + "external/sources/boost/boost/type_erasure/placeholder_of.hpp", + "external/sources/boost/boost/type_erasure/rebind_any.hpp", + "external/sources/boost/boost/type_erasure/register_binding.hpp", + "external/sources/boost/boost/type_erasure/relaxed.hpp", + "external/sources/boost/boost/type_erasure/require_match.hpp", + "external/sources/boost/boost/type_erasure/same_type.hpp", + "external/sources/boost/boost/type_erasure/static_binding.hpp", + "external/sources/boost/boost/type_erasure/tuple.hpp", + "external/sources/boost/boost/type_erasure/typeid_of.hpp", + "external/sources/boost/boost/type_index.hpp", + "external/sources/boost/boost/type_index/ctti_type_index.hpp", + "external/sources/boost/boost/type_index/detail/compile_time_type_info.hpp", + "external/sources/boost/boost/type_index/detail/ctti_register_class.hpp", + "external/sources/boost/boost/type_index/detail/stl_register_class.hpp", + "external/sources/boost/boost/type_index/runtime_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/detail/runtime_cast_impl.hpp", + "external/sources/boost/boost/type_index/runtime_cast/pointer_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/reference_cast.hpp", + "external/sources/boost/boost/type_index/runtime_cast/register_runtime_class.hpp", + "external/sources/boost/boost/type_index/runtime_cast/std_shared_ptr_cast.hpp", + "external/sources/boost/boost/type_index/stl_type_index.hpp", + "external/sources/boost/boost/type_index/type_index_facade.hpp", + "external/sources/boost/boost/type_traits.hpp", + "external/sources/boost/boost/type_traits/add_const.hpp", + "external/sources/boost/boost/type_traits/add_cv.hpp", + "external/sources/boost/boost/type_traits/add_lvalue_reference.hpp", + "external/sources/boost/boost/type_traits/add_pointer.hpp", + "external/sources/boost/boost/type_traits/add_reference.hpp", + "external/sources/boost/boost/type_traits/add_rvalue_reference.hpp", + "external/sources/boost/boost/type_traits/add_volatile.hpp", + "external/sources/boost/boost/type_traits/aligned_storage.hpp", + "external/sources/boost/boost/type_traits/alignment_of.hpp", + "external/sources/boost/boost/type_traits/alignment_traits.hpp", + "external/sources/boost/boost/type_traits/arithmetic_traits.hpp", + "external/sources/boost/boost/type_traits/array_traits.hpp", + "external/sources/boost/boost/type_traits/broken_compiler_spec.hpp", + "external/sources/boost/boost/type_traits/common_type.hpp", + "external/sources/boost/boost/type_traits/composite_traits.hpp", + "external/sources/boost/boost/type_traits/conditional.hpp", + "external/sources/boost/boost/type_traits/config.hpp", + "external/sources/boost/boost/type_traits/conjunction.hpp", + "external/sources/boost/boost/type_traits/conversion_traits.hpp", + "external/sources/boost/boost/type_traits/copy_cv.hpp", + "external/sources/boost/boost/type_traits/copy_cv_ref.hpp", + "external/sources/boost/boost/type_traits/copy_reference.hpp", + "external/sources/boost/boost/type_traits/cv_traits.hpp", + "external/sources/boost/boost/type_traits/decay.hpp", + "external/sources/boost/boost/type_traits/declval.hpp", + "external/sources/boost/boost/type_traits/detail/bool_trait_def.hpp", + "external/sources/boost/boost/type_traits/detail/bool_trait_undef.hpp", + "external/sources/boost/boost/type_traits/detail/common_arithmetic_type.hpp", + "external/sources/boost/boost/type_traits/detail/common_type_impl.hpp", + "external/sources/boost/boost/type_traits/detail/composite_member_pointer_type.hpp", + "external/sources/boost/boost/type_traits/detail/composite_pointer_type.hpp", + "external/sources/boost/boost/type_traits/detail/config.hpp", + "external/sources/boost/boost/type_traits/detail/detector.hpp", + "external/sources/boost/boost/type_traits/detail/has_binary_operator.hpp", + "external/sources/boost/boost/type_traits/detail/has_postfix_operator.hpp", + "external/sources/boost/boost/type_traits/detail/has_prefix_operator.hpp", + "external/sources/boost/boost/type_traits/detail/ice_and.hpp", + "external/sources/boost/boost/type_traits/detail/ice_eq.hpp", + "external/sources/boost/boost/type_traits/detail/ice_not.hpp", + "external/sources/boost/boost/type_traits/detail/ice_or.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_cxx_03.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_cxx_11.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_msvc10_fix.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_ptr_helper.hpp", + "external/sources/boost/boost/type_traits/detail/is_function_ptr_tester.hpp", + "external/sources/boost/boost/type_traits/detail/is_likely_lambda.hpp", + "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp", + "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp", + "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp", + "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp", + "external/sources/boost/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp", + "external/sources/boost/boost/type_traits/detail/mp_defer.hpp", + "external/sources/boost/boost/type_traits/detail/template_arity_spec.hpp", + "external/sources/boost/boost/type_traits/detail/yes_no_type.hpp", + "external/sources/boost/boost/type_traits/detected.hpp", + "external/sources/boost/boost/type_traits/detected_or.hpp", + "external/sources/boost/boost/type_traits/disjunction.hpp", + "external/sources/boost/boost/type_traits/enable_if.hpp", + "external/sources/boost/boost/type_traits/extent.hpp", + "external/sources/boost/boost/type_traits/floating_point_promotion.hpp", + "external/sources/boost/boost/type_traits/function_traits.hpp", + "external/sources/boost/boost/type_traits/has_bit_and.hpp", + "external/sources/boost/boost/type_traits/has_bit_and_assign.hpp", + "external/sources/boost/boost/type_traits/has_bit_or.hpp", + "external/sources/boost/boost/type_traits/has_bit_or_assign.hpp", + "external/sources/boost/boost/type_traits/has_bit_xor.hpp", + "external/sources/boost/boost/type_traits/has_bit_xor_assign.hpp", + "external/sources/boost/boost/type_traits/has_complement.hpp", + "external/sources/boost/boost/type_traits/has_dereference.hpp", + "external/sources/boost/boost/type_traits/has_divides.hpp", + "external/sources/boost/boost/type_traits/has_divides_assign.hpp", + "external/sources/boost/boost/type_traits/has_equal_to.hpp", + "external/sources/boost/boost/type_traits/has_greater.hpp", + "external/sources/boost/boost/type_traits/has_greater_equal.hpp", + "external/sources/boost/boost/type_traits/has_left_shift.hpp", + "external/sources/boost/boost/type_traits/has_left_shift_assign.hpp", + "external/sources/boost/boost/type_traits/has_less.hpp", + "external/sources/boost/boost/type_traits/has_less_equal.hpp", + "external/sources/boost/boost/type_traits/has_logical_and.hpp", + "external/sources/boost/boost/type_traits/has_logical_not.hpp", + "external/sources/boost/boost/type_traits/has_logical_or.hpp", + "external/sources/boost/boost/type_traits/has_minus.hpp", + "external/sources/boost/boost/type_traits/has_minus_assign.hpp", + "external/sources/boost/boost/type_traits/has_modulus.hpp", + "external/sources/boost/boost/type_traits/has_modulus_assign.hpp", + "external/sources/boost/boost/type_traits/has_multiplies.hpp", + "external/sources/boost/boost/type_traits/has_multiplies_assign.hpp", + "external/sources/boost/boost/type_traits/has_negate.hpp", + "external/sources/boost/boost/type_traits/has_new_operator.hpp", + "external/sources/boost/boost/type_traits/has_not_equal_to.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_assign.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_constructor.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_copy.hpp", + "external/sources/boost/boost/type_traits/has_nothrow_destructor.hpp", + "external/sources/boost/boost/type_traits/has_operator.hpp", + "external/sources/boost/boost/type_traits/has_plus.hpp", + "external/sources/boost/boost/type_traits/has_plus_assign.hpp", + "external/sources/boost/boost/type_traits/has_post_decrement.hpp", + "external/sources/boost/boost/type_traits/has_post_increment.hpp", + "external/sources/boost/boost/type_traits/has_pre_decrement.hpp", + "external/sources/boost/boost/type_traits/has_pre_increment.hpp", + "external/sources/boost/boost/type_traits/has_right_shift.hpp", + "external/sources/boost/boost/type_traits/has_right_shift_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_constructor.hpp", + "external/sources/boost/boost/type_traits/has_trivial_copy.hpp", + "external/sources/boost/boost/type_traits/has_trivial_destructor.hpp", + "external/sources/boost/boost/type_traits/has_trivial_move_assign.hpp", + "external/sources/boost/boost/type_traits/has_trivial_move_constructor.hpp", + "external/sources/boost/boost/type_traits/has_unary_minus.hpp", + "external/sources/boost/boost/type_traits/has_unary_plus.hpp", + "external/sources/boost/boost/type_traits/has_virtual_destructor.hpp", + "external/sources/boost/boost/type_traits/ice.hpp", + "external/sources/boost/boost/type_traits/integral_constant.hpp", + "external/sources/boost/boost/type_traits/integral_promotion.hpp", + "external/sources/boost/boost/type_traits/intrinsics.hpp", + "external/sources/boost/boost/type_traits/is_abstract.hpp", + "external/sources/boost/boost/type_traits/is_arithmetic.hpp", + "external/sources/boost/boost/type_traits/is_array.hpp", + "external/sources/boost/boost/type_traits/is_assignable.hpp", + "external/sources/boost/boost/type_traits/is_base_and_derived.hpp", + "external/sources/boost/boost/type_traits/is_base_of.hpp", + "external/sources/boost/boost/type_traits/is_base_of_tr1.hpp", + "external/sources/boost/boost/type_traits/is_bounded_array.hpp", + "external/sources/boost/boost/type_traits/is_class.hpp", + "external/sources/boost/boost/type_traits/is_complete.hpp", + "external/sources/boost/boost/type_traits/is_complex.hpp", + "external/sources/boost/boost/type_traits/is_compound.hpp", + "external/sources/boost/boost/type_traits/is_const.hpp", + "external/sources/boost/boost/type_traits/is_constructible.hpp", + "external/sources/boost/boost/type_traits/is_convertible.hpp", + "external/sources/boost/boost/type_traits/is_copy_assignable.hpp", + "external/sources/boost/boost/type_traits/is_copy_constructible.hpp", + "external/sources/boost/boost/type_traits/is_default_constructible.hpp", + "external/sources/boost/boost/type_traits/is_destructible.hpp", + "external/sources/boost/boost/type_traits/is_detected.hpp", + "external/sources/boost/boost/type_traits/is_detected_convertible.hpp", + "external/sources/boost/boost/type_traits/is_detected_exact.hpp", + "external/sources/boost/boost/type_traits/is_empty.hpp", + "external/sources/boost/boost/type_traits/is_enum.hpp", + "external/sources/boost/boost/type_traits/is_final.hpp", + "external/sources/boost/boost/type_traits/is_float.hpp", + "external/sources/boost/boost/type_traits/is_floating_point.hpp", + "external/sources/boost/boost/type_traits/is_function.hpp", + "external/sources/boost/boost/type_traits/is_fundamental.hpp", + "external/sources/boost/boost/type_traits/is_integral.hpp", + "external/sources/boost/boost/type_traits/is_list_constructible.hpp", + "external/sources/boost/boost/type_traits/is_lvalue_reference.hpp", + "external/sources/boost/boost/type_traits/is_member_function_pointer.hpp", + "external/sources/boost/boost/type_traits/is_member_object_pointer.hpp", + "external/sources/boost/boost/type_traits/is_member_pointer.hpp", + "external/sources/boost/boost/type_traits/is_noncopyable.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_move_assignable.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_move_constructible.hpp", + "external/sources/boost/boost/type_traits/is_nothrow_swappable.hpp", + "external/sources/boost/boost/type_traits/is_object.hpp", + "external/sources/boost/boost/type_traits/is_pod.hpp", + "external/sources/boost/boost/type_traits/is_pointer.hpp", + "external/sources/boost/boost/type_traits/is_polymorphic.hpp", + "external/sources/boost/boost/type_traits/is_reference.hpp", + "external/sources/boost/boost/type_traits/is_rvalue_reference.hpp", + "external/sources/boost/boost/type_traits/is_same.hpp", + "external/sources/boost/boost/type_traits/is_scalar.hpp", + "external/sources/boost/boost/type_traits/is_scoped_enum.hpp", + "external/sources/boost/boost/type_traits/is_signed.hpp", + "external/sources/boost/boost/type_traits/is_stateless.hpp", + "external/sources/boost/boost/type_traits/is_trivially_copyable.hpp", + "external/sources/boost/boost/type_traits/is_unbounded_array.hpp", + "external/sources/boost/boost/type_traits/is_union.hpp", + "external/sources/boost/boost/type_traits/is_unscoped_enum.hpp", + "external/sources/boost/boost/type_traits/is_unsigned.hpp", + "external/sources/boost/boost/type_traits/is_virtual_base_of.hpp", + "external/sources/boost/boost/type_traits/is_void.hpp", + "external/sources/boost/boost/type_traits/is_volatile.hpp", + "external/sources/boost/boost/type_traits/make_signed.hpp", + "external/sources/boost/boost/type_traits/make_unsigned.hpp", + "external/sources/boost/boost/type_traits/make_void.hpp", + "external/sources/boost/boost/type_traits/negation.hpp", + "external/sources/boost/boost/type_traits/nonesuch.hpp", + "external/sources/boost/boost/type_traits/object_traits.hpp", + "external/sources/boost/boost/type_traits/promote.hpp", + "external/sources/boost/boost/type_traits/rank.hpp", + "external/sources/boost/boost/type_traits/reference_traits.hpp", + "external/sources/boost/boost/type_traits/remove_all_extents.hpp", + "external/sources/boost/boost/type_traits/remove_bounds.hpp", + "external/sources/boost/boost/type_traits/remove_const.hpp", + "external/sources/boost/boost/type_traits/remove_cv.hpp", + "external/sources/boost/boost/type_traits/remove_cv_ref.hpp", + "external/sources/boost/boost/type_traits/remove_extent.hpp", + "external/sources/boost/boost/type_traits/remove_pointer.hpp", + "external/sources/boost/boost/type_traits/remove_reference.hpp", + "external/sources/boost/boost/type_traits/remove_volatile.hpp", + "external/sources/boost/boost/type_traits/same_traits.hpp", + "external/sources/boost/boost/type_traits/transform_traits.hpp", + "external/sources/boost/boost/type_traits/type_identity.hpp", + "external/sources/boost/boost/type_traits/type_with_alignment.hpp", + "external/sources/boost/boost/typeof/constant.hpp", + "external/sources/boost/boost/typeof/decltype.hpp", + "external/sources/boost/boost/typeof/dmc/typeof_impl.hpp", + "external/sources/boost/boost/typeof/encode_decode.hpp", + "external/sources/boost/boost/typeof/encode_decode_params.hpp", + "external/sources/boost/boost/typeof/incr_registration_group.hpp", + "external/sources/boost/boost/typeof/int_encoding.hpp", + "external/sources/boost/boost/typeof/integral_template_param.hpp", + "external/sources/boost/boost/typeof/message.hpp", + "external/sources/boost/boost/typeof/modifiers.hpp", + "external/sources/boost/boost/typeof/msvc/typeof_impl.hpp", + "external/sources/boost/boost/typeof/native.hpp", + "external/sources/boost/boost/typeof/pointers_data_members.hpp", + "external/sources/boost/boost/typeof/register_functions.hpp", + "external/sources/boost/boost/typeof/register_functions_iterate.hpp", + "external/sources/boost/boost/typeof/register_fundamental.hpp", + "external/sources/boost/boost/typeof/register_mem_functions.hpp", + "external/sources/boost/boost/typeof/std/bitset.hpp", + "external/sources/boost/boost/typeof/std/complex.hpp", + "external/sources/boost/boost/typeof/std/deque.hpp", + "external/sources/boost/boost/typeof/std/fstream.hpp", + "external/sources/boost/boost/typeof/std/functional.hpp", + "external/sources/boost/boost/typeof/std/iostream.hpp", + "external/sources/boost/boost/typeof/std/istream.hpp", + "external/sources/boost/boost/typeof/std/iterator.hpp", + "external/sources/boost/boost/typeof/std/list.hpp", + "external/sources/boost/boost/typeof/std/locale.hpp", + "external/sources/boost/boost/typeof/std/map.hpp", + "external/sources/boost/boost/typeof/std/memory.hpp", + "external/sources/boost/boost/typeof/std/ostream.hpp", + "external/sources/boost/boost/typeof/std/queue.hpp", + "external/sources/boost/boost/typeof/std/set.hpp", + "external/sources/boost/boost/typeof/std/sstream.hpp", + "external/sources/boost/boost/typeof/std/stack.hpp", + "external/sources/boost/boost/typeof/std/streambuf.hpp", + "external/sources/boost/boost/typeof/std/string.hpp", + "external/sources/boost/boost/typeof/std/utility.hpp", + "external/sources/boost/boost/typeof/std/valarray.hpp", + "external/sources/boost/boost/typeof/std/vector.hpp", + "external/sources/boost/boost/typeof/template_encoding.hpp", + "external/sources/boost/boost/typeof/template_template_param.hpp", + "external/sources/boost/boost/typeof/type_encoding.hpp", + "external/sources/boost/boost/typeof/type_template_param.hpp", + "external/sources/boost/boost/typeof/typeof.hpp", + "external/sources/boost/boost/typeof/typeof_impl.hpp", + "external/sources/boost/boost/typeof/unsupported.hpp", + "external/sources/boost/boost/typeof/vector.hpp", + "external/sources/boost/boost/typeof/vector100.hpp", + "external/sources/boost/boost/typeof/vector150.hpp", + "external/sources/boost/boost/typeof/vector200.hpp", + "external/sources/boost/boost/typeof/vector50.hpp", + "external/sources/boost/boost/units/absolute.hpp", + "external/sources/boost/boost/units/base_dimension.hpp", + "external/sources/boost/boost/units/base_unit.hpp", + "external/sources/boost/boost/units/base_units/angle/arcminute.hpp", + "external/sources/boost/boost/units/base_units/angle/arcsecond.hpp", + "external/sources/boost/boost/units/base_units/angle/degree.hpp", + "external/sources/boost/boost/units/base_units/angle/gradian.hpp", + "external/sources/boost/boost/units/base_units/angle/radian.hpp", + "external/sources/boost/boost/units/base_units/angle/revolution.hpp", + "external/sources/boost/boost/units/base_units/angle/steradian.hpp", + "external/sources/boost/boost/units/base_units/astronomical/astronomical_unit.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_day.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_hour.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_minute.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_second.hpp", + "external/sources/boost/boost/units/base_units/astronomical/light_year.hpp", + "external/sources/boost/boost/units/base_units/astronomical/parsec.hpp", + "external/sources/boost/boost/units/base_units/cgs/biot.hpp", + "external/sources/boost/boost/units/base_units/cgs/centimeter.hpp", + "external/sources/boost/boost/units/base_units/cgs/gram.hpp", + "external/sources/boost/boost/units/base_units/imperial/conversions.hpp", + "external/sources/boost/boost/units/base_units/imperial/drachm.hpp", + "external/sources/boost/boost/units/base_units/imperial/fluid_ounce.hpp", + "external/sources/boost/boost/units/base_units/imperial/foot.hpp", + "external/sources/boost/boost/units/base_units/imperial/furlong.hpp", + "external/sources/boost/boost/units/base_units/imperial/gallon.hpp", + "external/sources/boost/boost/units/base_units/imperial/gill.hpp", + "external/sources/boost/boost/units/base_units/imperial/grain.hpp", + "external/sources/boost/boost/units/base_units/imperial/hundredweight.hpp", + "external/sources/boost/boost/units/base_units/imperial/inch.hpp", + "external/sources/boost/boost/units/base_units/imperial/league.hpp", + "external/sources/boost/boost/units/base_units/imperial/mile.hpp", + "external/sources/boost/boost/units/base_units/imperial/ounce.hpp", + "external/sources/boost/boost/units/base_units/imperial/pint.hpp", + "external/sources/boost/boost/units/base_units/imperial/pound.hpp", + "external/sources/boost/boost/units/base_units/imperial/quart.hpp", + "external/sources/boost/boost/units/base_units/imperial/quarter.hpp", + "external/sources/boost/boost/units/base_units/imperial/stone.hpp", + "external/sources/boost/boost/units/base_units/imperial/thou.hpp", + "external/sources/boost/boost/units/base_units/imperial/ton.hpp", + "external/sources/boost/boost/units/base_units/imperial/yard.hpp", + "external/sources/boost/boost/units/base_units/information/bit.hpp", + "external/sources/boost/boost/units/base_units/information/byte.hpp", + "external/sources/boost/boost/units/base_units/information/hartley.hpp", + "external/sources/boost/boost/units/base_units/information/nat.hpp", + "external/sources/boost/boost/units/base_units/information/shannon.hpp", + "external/sources/boost/boost/units/base_units/metric/angstrom.hpp", + "external/sources/boost/boost/units/base_units/metric/are.hpp", + "external/sources/boost/boost/units/base_units/metric/atmosphere.hpp", + "external/sources/boost/boost/units/base_units/metric/bar.hpp", + "external/sources/boost/boost/units/base_units/metric/barn.hpp", + "external/sources/boost/boost/units/base_units/metric/day.hpp", + "external/sources/boost/boost/units/base_units/metric/fermi.hpp", + "external/sources/boost/boost/units/base_units/metric/hectare.hpp", + "external/sources/boost/boost/units/base_units/metric/hour.hpp", + "external/sources/boost/boost/units/base_units/metric/knot.hpp", + "external/sources/boost/boost/units/base_units/metric/liter.hpp", + "external/sources/boost/boost/units/base_units/metric/micron.hpp", + "external/sources/boost/boost/units/base_units/metric/minute.hpp", + "external/sources/boost/boost/units/base_units/metric/mmHg.hpp", + "external/sources/boost/boost/units/base_units/metric/nautical_mile.hpp", + "external/sources/boost/boost/units/base_units/metric/ton.hpp", + "external/sources/boost/boost/units/base_units/metric/torr.hpp", + "external/sources/boost/boost/units/base_units/metric/year.hpp", + "external/sources/boost/boost/units/base_units/si/ampere.hpp", + "external/sources/boost/boost/units/base_units/si/candela.hpp", + "external/sources/boost/boost/units/base_units/si/kelvin.hpp", + "external/sources/boost/boost/units/base_units/si/kilogram.hpp", + "external/sources/boost/boost/units/base_units/si/meter.hpp", + "external/sources/boost/boost/units/base_units/si/mole.hpp", + "external/sources/boost/boost/units/base_units/si/second.hpp", + "external/sources/boost/boost/units/base_units/temperature/celsius.hpp", + "external/sources/boost/boost/units/base_units/temperature/conversions.hpp", + "external/sources/boost/boost/units/base_units/temperature/fahrenheit.hpp", + "external/sources/boost/boost/units/base_units/us/cup.hpp", + "external/sources/boost/boost/units/base_units/us/dram.hpp", + "external/sources/boost/boost/units/base_units/us/fluid_dram.hpp", + "external/sources/boost/boost/units/base_units/us/fluid_ounce.hpp", + "external/sources/boost/boost/units/base_units/us/foot.hpp", + "external/sources/boost/boost/units/base_units/us/gallon.hpp", + "external/sources/boost/boost/units/base_units/us/gill.hpp", + "external/sources/boost/boost/units/base_units/us/grain.hpp", + "external/sources/boost/boost/units/base_units/us/hundredweight.hpp", + "external/sources/boost/boost/units/base_units/us/inch.hpp", + "external/sources/boost/boost/units/base_units/us/mil.hpp", + "external/sources/boost/boost/units/base_units/us/mile.hpp", + "external/sources/boost/boost/units/base_units/us/minim.hpp", + "external/sources/boost/boost/units/base_units/us/ounce.hpp", + "external/sources/boost/boost/units/base_units/us/pint.hpp", + "external/sources/boost/boost/units/base_units/us/pound.hpp", + "external/sources/boost/boost/units/base_units/us/pound_force.hpp", + "external/sources/boost/boost/units/base_units/us/quart.hpp", + "external/sources/boost/boost/units/base_units/us/tablespoon.hpp", + "external/sources/boost/boost/units/base_units/us/teaspoon.hpp", + "external/sources/boost/boost/units/base_units/us/ton.hpp", + "external/sources/boost/boost/units/base_units/us/yard.hpp", + "external/sources/boost/boost/units/cmath.hpp", + "external/sources/boost/boost/units/config.hpp", + "external/sources/boost/boost/units/conversion.hpp", + "external/sources/boost/boost/units/derived_dimension.hpp", + "external/sources/boost/boost/units/detail/absolute_impl.hpp", + "external/sources/boost/boost/units/detail/cmath_impl.hpp", + "external/sources/boost/boost/units/detail/conversion_impl.hpp", + "external/sources/boost/boost/units/detail/dim_impl.hpp", + "external/sources/boost/boost/units/detail/dimension_impl.hpp", + "external/sources/boost/boost/units/detail/dimension_list.hpp", + "external/sources/boost/boost/units/detail/dimensionless_unit.hpp", + "external/sources/boost/boost/units/detail/heterogeneous_conversion.hpp", + "external/sources/boost/boost/units/detail/linear_algebra.hpp", + "external/sources/boost/boost/units/detail/one.hpp", + "external/sources/boost/boost/units/detail/ordinal.hpp", + "external/sources/boost/boost/units/detail/prevent_redefinition.hpp", + "external/sources/boost/boost/units/detail/push_front_if.hpp", + "external/sources/boost/boost/units/detail/push_front_or_add.hpp", + "external/sources/boost/boost/units/detail/sort.hpp", + "external/sources/boost/boost/units/detail/static_rational_power.hpp", + "external/sources/boost/boost/units/detail/unscale.hpp", + "external/sources/boost/boost/units/detail/utility.hpp", + "external/sources/boost/boost/units/dim.hpp", + "external/sources/boost/boost/units/dimension.hpp", + "external/sources/boost/boost/units/dimensionless_quantity.hpp", + "external/sources/boost/boost/units/dimensionless_type.hpp", + "external/sources/boost/boost/units/dimensionless_unit.hpp", + "external/sources/boost/boost/units/get_dimension.hpp", + "external/sources/boost/boost/units/get_system.hpp", + "external/sources/boost/boost/units/heterogeneous_system.hpp", + "external/sources/boost/boost/units/homogeneous_system.hpp", + "external/sources/boost/boost/units/io.hpp", + "external/sources/boost/boost/units/is_dim.hpp", + "external/sources/boost/boost/units/is_dimension_list.hpp", + "external/sources/boost/boost/units/is_dimensionless.hpp", + "external/sources/boost/boost/units/is_dimensionless_quantity.hpp", + "external/sources/boost/boost/units/is_dimensionless_unit.hpp", + "external/sources/boost/boost/units/is_quantity.hpp", + "external/sources/boost/boost/units/is_quantity_of_dimension.hpp", + "external/sources/boost/boost/units/is_quantity_of_system.hpp", + "external/sources/boost/boost/units/is_unit.hpp", + "external/sources/boost/boost/units/is_unit_of_dimension.hpp", + "external/sources/boost/boost/units/is_unit_of_system.hpp", + "external/sources/boost/boost/units/lambda.hpp", + "external/sources/boost/boost/units/limits.hpp", + "external/sources/boost/boost/units/make_scaled_unit.hpp", + "external/sources/boost/boost/units/make_system.hpp", + "external/sources/boost/boost/units/operators.hpp", + "external/sources/boost/boost/units/physical_dimensions.hpp", + "external/sources/boost/boost/units/physical_dimensions/absorbed_dose.hpp", + "external/sources/boost/boost/units/physical_dimensions/acceleration.hpp", + "external/sources/boost/boost/units/physical_dimensions/action.hpp", + "external/sources/boost/boost/units/physical_dimensions/activity.hpp", + "external/sources/boost/boost/units/physical_dimensions/amount.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_acceleration.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_momentum.hpp", + "external/sources/boost/boost/units/physical_dimensions/angular_velocity.hpp", + "external/sources/boost/boost/units/physical_dimensions/area.hpp", + "external/sources/boost/boost/units/physical_dimensions/capacitance.hpp", + "external/sources/boost/boost/units/physical_dimensions/conductance.hpp", + "external/sources/boost/boost/units/physical_dimensions/conductivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/current.hpp", + "external/sources/boost/boost/units/physical_dimensions/dose_equivalent.hpp", + "external/sources/boost/boost/units/physical_dimensions/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/physical_dimensions/electric_charge.hpp", + "external/sources/boost/boost/units/physical_dimensions/electric_potential.hpp", + "external/sources/boost/boost/units/physical_dimensions/energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/energy_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/force.hpp", + "external/sources/boost/boost/units/physical_dimensions/frequency.hpp", + "external/sources/boost/boost/units/physical_dimensions/heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/illuminance.hpp", + "external/sources/boost/boost/units/physical_dimensions/impedance.hpp", + "external/sources/boost/boost/units/physical_dimensions/inductance.hpp", + "external/sources/boost/boost/units/physical_dimensions/information.hpp", + "external/sources/boost/boost/units/physical_dimensions/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/physical_dimensions/length.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminance.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminous_flux.hpp", + "external/sources/boost/boost/units/physical_dimensions/luminous_intensity.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_field_intensity.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_flux.hpp", + "external/sources/boost/boost/units/physical_dimensions/magnetic_flux_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/mass.hpp", + "external/sources/boost/boost/units/physical_dimensions/mass_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/molar_energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/molar_heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/moment_of_inertia.hpp", + "external/sources/boost/boost/units/physical_dimensions/momentum.hpp", + "external/sources/boost/boost/units/physical_dimensions/permeability.hpp", + "external/sources/boost/boost/units/physical_dimensions/permittivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/plane_angle.hpp", + "external/sources/boost/boost/units/physical_dimensions/power.hpp", + "external/sources/boost/boost/units/physical_dimensions/pressure.hpp", + "external/sources/boost/boost/units/physical_dimensions/reluctance.hpp", + "external/sources/boost/boost/units/physical_dimensions/resistance.hpp", + "external/sources/boost/boost/units/physical_dimensions/resistivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/solid_angle.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_energy.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_heat_capacity.hpp", + "external/sources/boost/boost/units/physical_dimensions/specific_volume.hpp", + "external/sources/boost/boost/units/physical_dimensions/stress.hpp", + "external/sources/boost/boost/units/physical_dimensions/surface_density.hpp", + "external/sources/boost/boost/units/physical_dimensions/surface_tension.hpp", + "external/sources/boost/boost/units/physical_dimensions/temperature.hpp", + "external/sources/boost/boost/units/physical_dimensions/thermal_conductivity.hpp", + "external/sources/boost/boost/units/physical_dimensions/time.hpp", + "external/sources/boost/boost/units/physical_dimensions/torque.hpp", + "external/sources/boost/boost/units/physical_dimensions/velocity.hpp", + "external/sources/boost/boost/units/physical_dimensions/volume.hpp", + "external/sources/boost/boost/units/physical_dimensions/wavenumber.hpp", + "external/sources/boost/boost/units/pow.hpp", + "external/sources/boost/boost/units/quantity.hpp", + "external/sources/boost/boost/units/reduce_unit.hpp", + "external/sources/boost/boost/units/scale.hpp", + "external/sources/boost/boost/units/scaled_base_unit.hpp", + "external/sources/boost/boost/units/static_constant.hpp", + "external/sources/boost/boost/units/static_rational.hpp", + "external/sources/boost/boost/units/systems/abstract.hpp", + "external/sources/boost/boost/units/systems/angle/degrees.hpp", + "external/sources/boost/boost/units/systems/angle/gradians.hpp", + "external/sources/boost/boost/units/systems/angle/revolutions.hpp", + "external/sources/boost/boost/units/systems/cgs.hpp", + "external/sources/boost/boost/units/systems/cgs/acceleration.hpp", + "external/sources/boost/boost/units/systems/cgs/area.hpp", + "external/sources/boost/boost/units/systems/cgs/base.hpp", + "external/sources/boost/boost/units/systems/cgs/current.hpp", + "external/sources/boost/boost/units/systems/cgs/dimensionless.hpp", + "external/sources/boost/boost/units/systems/cgs/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/systems/cgs/energy.hpp", + "external/sources/boost/boost/units/systems/cgs/force.hpp", + "external/sources/boost/boost/units/systems/cgs/frequency.hpp", + "external/sources/boost/boost/units/systems/cgs/io.hpp", + "external/sources/boost/boost/units/systems/cgs/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/systems/cgs/length.hpp", + "external/sources/boost/boost/units/systems/cgs/mass.hpp", + "external/sources/boost/boost/units/systems/cgs/mass_density.hpp", + "external/sources/boost/boost/units/systems/cgs/momentum.hpp", + "external/sources/boost/boost/units/systems/cgs/power.hpp", + "external/sources/boost/boost/units/systems/cgs/pressure.hpp", + "external/sources/boost/boost/units/systems/cgs/time.hpp", + "external/sources/boost/boost/units/systems/cgs/velocity.hpp", + "external/sources/boost/boost/units/systems/cgs/volume.hpp", + "external/sources/boost/boost/units/systems/cgs/wavenumber.hpp", + "external/sources/boost/boost/units/systems/detail/constants.hpp", + "external/sources/boost/boost/units/systems/information.hpp", + "external/sources/boost/boost/units/systems/information/bit.hpp", + "external/sources/boost/boost/units/systems/information/byte.hpp", + "external/sources/boost/boost/units/systems/information/hartley.hpp", + "external/sources/boost/boost/units/systems/information/nat.hpp", + "external/sources/boost/boost/units/systems/information/prefixes.hpp", + "external/sources/boost/boost/units/systems/information/shannon.hpp", + "external/sources/boost/boost/units/systems/si.hpp", + "external/sources/boost/boost/units/systems/si/absorbed_dose.hpp", + "external/sources/boost/boost/units/systems/si/acceleration.hpp", + "external/sources/boost/boost/units/systems/si/action.hpp", + "external/sources/boost/boost/units/systems/si/activity.hpp", + "external/sources/boost/boost/units/systems/si/amount.hpp", + "external/sources/boost/boost/units/systems/si/angular_acceleration.hpp", + "external/sources/boost/boost/units/systems/si/angular_momentum.hpp", + "external/sources/boost/boost/units/systems/si/angular_velocity.hpp", + "external/sources/boost/boost/units/systems/si/area.hpp", + "external/sources/boost/boost/units/systems/si/base.hpp", + "external/sources/boost/boost/units/systems/si/capacitance.hpp", + "external/sources/boost/boost/units/systems/si/catalytic_activity.hpp", + "external/sources/boost/boost/units/systems/si/codata/alpha_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/atomic-nuclear_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/deuteron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/electromagnetic_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/electron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/helion_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/muon_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/neutron_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/physico-chemical_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/proton_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/tau_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/triton_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata/typedefs.hpp", + "external/sources/boost/boost/units/systems/si/codata/universal_constants.hpp", + "external/sources/boost/boost/units/systems/si/codata_constants.hpp", + "external/sources/boost/boost/units/systems/si/conductance.hpp", + "external/sources/boost/boost/units/systems/si/conductivity.hpp", + "external/sources/boost/boost/units/systems/si/current.hpp", + "external/sources/boost/boost/units/systems/si/dimensionless.hpp", + "external/sources/boost/boost/units/systems/si/dose_equivalent.hpp", + "external/sources/boost/boost/units/systems/si/dynamic_viscosity.hpp", + "external/sources/boost/boost/units/systems/si/electric_charge.hpp", + "external/sources/boost/boost/units/systems/si/electric_potential.hpp", + "external/sources/boost/boost/units/systems/si/energy.hpp", + "external/sources/boost/boost/units/systems/si/force.hpp", + "external/sources/boost/boost/units/systems/si/frequency.hpp", + "external/sources/boost/boost/units/systems/si/illuminance.hpp", + "external/sources/boost/boost/units/systems/si/impedance.hpp", + "external/sources/boost/boost/units/systems/si/inductance.hpp", + "external/sources/boost/boost/units/systems/si/io.hpp", + "external/sources/boost/boost/units/systems/si/kinematic_viscosity.hpp", + "external/sources/boost/boost/units/systems/si/length.hpp", + "external/sources/boost/boost/units/systems/si/luminous_flux.hpp", + "external/sources/boost/boost/units/systems/si/luminous_intensity.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_field_intensity.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_flux.hpp", + "external/sources/boost/boost/units/systems/si/magnetic_flux_density.hpp", + "external/sources/boost/boost/units/systems/si/mass.hpp", + "external/sources/boost/boost/units/systems/si/mass_density.hpp", + "external/sources/boost/boost/units/systems/si/moment_of_inertia.hpp", + "external/sources/boost/boost/units/systems/si/momentum.hpp", + "external/sources/boost/boost/units/systems/si/permeability.hpp", + "external/sources/boost/boost/units/systems/si/permittivity.hpp", + "external/sources/boost/boost/units/systems/si/plane_angle.hpp", + "external/sources/boost/boost/units/systems/si/power.hpp", + "external/sources/boost/boost/units/systems/si/prefixes.hpp", + "external/sources/boost/boost/units/systems/si/pressure.hpp", + "external/sources/boost/boost/units/systems/si/reluctance.hpp", + "external/sources/boost/boost/units/systems/si/resistance.hpp", + "external/sources/boost/boost/units/systems/si/resistivity.hpp", + "external/sources/boost/boost/units/systems/si/solid_angle.hpp", + "external/sources/boost/boost/units/systems/si/surface_density.hpp", + "external/sources/boost/boost/units/systems/si/surface_tension.hpp", + "external/sources/boost/boost/units/systems/si/temperature.hpp", + "external/sources/boost/boost/units/systems/si/time.hpp", + "external/sources/boost/boost/units/systems/si/torque.hpp", + "external/sources/boost/boost/units/systems/si/velocity.hpp", + "external/sources/boost/boost/units/systems/si/volume.hpp", + "external/sources/boost/boost/units/systems/si/wavenumber.hpp", + "external/sources/boost/boost/units/systems/temperature/celsius.hpp", + "external/sources/boost/boost/units/systems/temperature/fahrenheit.hpp", + "external/sources/boost/boost/units/unit.hpp", + "external/sources/boost/boost/units/units_fwd.hpp", + "external/sources/boost/boost/unordered/detail/fwd.hpp", + "external/sources/boost/boost/unordered/detail/implementation.hpp", + "external/sources/boost/boost/unordered/detail/map.hpp", + "external/sources/boost/boost/unordered/detail/set.hpp", + "external/sources/boost/boost/unordered/unordered_map.hpp", + "external/sources/boost/boost/unordered/unordered_map_fwd.hpp", + "external/sources/boost/boost/unordered/unordered_set.hpp", + "external/sources/boost/boost/unordered/unordered_set_fwd.hpp", + "external/sources/boost/boost/unordered_map.hpp", + "external/sources/boost/boost/unordered_set.hpp", + "external/sources/boost/boost/utility.hpp", + "external/sources/boost/boost/utility/addressof.hpp", + "external/sources/boost/boost/utility/base_from_member.hpp", + "external/sources/boost/boost/utility/binary.hpp", + "external/sources/boost/boost/utility/compare_pointees.hpp", + "external/sources/boost/boost/utility/declval.hpp", + "external/sources/boost/boost/utility/detail/in_place_factory_prefix.hpp", + "external/sources/boost/boost/utility/detail/in_place_factory_suffix.hpp", + "external/sources/boost/boost/utility/detail/minstd_rand.hpp", + "external/sources/boost/boost/utility/detail/result_of_iterate.hpp", + "external/sources/boost/boost/utility/enable_if.hpp", + "external/sources/boost/boost/utility/explicit_operator_bool.hpp", + "external/sources/boost/boost/utility/identity_type.hpp", + "external/sources/boost/boost/utility/in_place_factory.hpp", + "external/sources/boost/boost/utility/result_of.hpp", + "external/sources/boost/boost/utility/string_ref.hpp", + "external/sources/boost/boost/utility/string_ref_fwd.hpp", + "external/sources/boost/boost/utility/string_view.hpp", + "external/sources/boost/boost/utility/string_view_fwd.hpp", + "external/sources/boost/boost/utility/swap.hpp", + "external/sources/boost/boost/utility/typed_in_place_factory.hpp", + "external/sources/boost/boost/utility/value_init.hpp", + "external/sources/boost/boost/uuid/basic_name_generator.hpp", + "external/sources/boost/boost/uuid/detail/config.hpp", + "external/sources/boost/boost/uuid/detail/md5.hpp", + "external/sources/boost/boost/uuid/detail/random_provider.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_arc4random.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_bcrypt.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_detect_platform.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_getentropy.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_getrandom.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_include_platform.hpp", + "external/sources/boost/boost/uuid/detail/random_provider_posix.ipp", + "external/sources/boost/boost/uuid/detail/random_provider_wincrypt.ipp", + "external/sources/boost/boost/uuid/detail/sha1.hpp", + "external/sources/boost/boost/uuid/detail/uuid_generic.ipp", + "external/sources/boost/boost/uuid/detail/uuid_x86.ipp", + "external/sources/boost/boost/uuid/entropy_error.hpp", + "external/sources/boost/boost/uuid/name_generator.hpp", + "external/sources/boost/boost/uuid/name_generator_md5.hpp", + "external/sources/boost/boost/uuid/name_generator_sha1.hpp", + "external/sources/boost/boost/uuid/nil_generator.hpp", + "external/sources/boost/boost/uuid/random_generator.hpp", + "external/sources/boost/boost/uuid/string_generator.hpp", + "external/sources/boost/boost/uuid/uuid.hpp", + "external/sources/boost/boost/uuid/uuid_generators.hpp", + "external/sources/boost/boost/uuid/uuid_hash.hpp", + "external/sources/boost/boost/uuid/uuid_io.hpp", + "external/sources/boost/boost/uuid/uuid_serialize.hpp", + "external/sources/boost/boost/variant.hpp", + "external/sources/boost/boost/variant/apply_visitor.hpp", + "external/sources/boost/boost/variant/bad_visit.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_binary.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_delayed.hpp", + "external/sources/boost/boost/variant/detail/apply_visitor_unary.hpp", + "external/sources/boost/boost/variant/detail/backup_holder.hpp", + "external/sources/boost/boost/variant/detail/cast_storage.hpp", + "external/sources/boost/boost/variant/detail/config.hpp", + "external/sources/boost/boost/variant/detail/element_index.hpp", + "external/sources/boost/boost/variant/detail/enable_recursive.hpp", + "external/sources/boost/boost/variant/detail/enable_recursive_fwd.hpp", + "external/sources/boost/boost/variant/detail/forced_return.hpp", + "external/sources/boost/boost/variant/detail/has_result_type.hpp", + "external/sources/boost/boost/variant/detail/hash_variant.hpp", + "external/sources/boost/boost/variant/detail/initializer.hpp", + "external/sources/boost/boost/variant/detail/make_variant_list.hpp", + "external/sources/boost/boost/variant/detail/move.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_cpp11_based.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_cpp14_based.hpp", + "external/sources/boost/boost/variant/detail/multivisitors_preprocessor_based.hpp", + "external/sources/boost/boost/variant/detail/over_sequence.hpp", + "external/sources/boost/boost/variant/detail/std_hash.hpp", + "external/sources/boost/boost/variant/detail/substitute.hpp", + "external/sources/boost/boost/variant/detail/substitute_fwd.hpp", + "external/sources/boost/boost/variant/detail/variant_io.hpp", + "external/sources/boost/boost/variant/detail/visitation_impl.hpp", + "external/sources/boost/boost/variant/get.hpp", + "external/sources/boost/boost/variant/multivisitors.hpp", + "external/sources/boost/boost/variant/polymorphic_get.hpp", + "external/sources/boost/boost/variant/recursive_variant.hpp", + "external/sources/boost/boost/variant/recursive_wrapper.hpp", + "external/sources/boost/boost/variant/recursive_wrapper_fwd.hpp", + "external/sources/boost/boost/variant/static_visitor.hpp", + "external/sources/boost/boost/variant/variant.hpp", + "external/sources/boost/boost/variant/variant_fwd.hpp", + "external/sources/boost/boost/variant/visitor_ptr.hpp", + "external/sources/boost/boost/variant2/variant.hpp", + "external/sources/boost/boost/version.hpp", + "external/sources/boost/boost/visit_each.hpp", + "external/sources/boost/boost/vmd/array.hpp", + "external/sources/boost/boost/vmd/array/to_seq.hpp", + "external/sources/boost/boost/vmd/array/to_tuple.hpp", + "external/sources/boost/boost/vmd/assert.hpp", + "external/sources/boost/boost/vmd/assert_is_array.hpp", + "external/sources/boost/boost/vmd/assert_is_empty.hpp", + "external/sources/boost/boost/vmd/assert_is_identifier.hpp", + "external/sources/boost/boost/vmd/assert_is_list.hpp", + "external/sources/boost/boost/vmd/assert_is_number.hpp", + "external/sources/boost/boost/vmd/assert_is_seq.hpp", + "external/sources/boost/boost/vmd/assert_is_tuple.hpp", + "external/sources/boost/boost/vmd/assert_is_type.hpp", + "external/sources/boost/boost/vmd/detail/adjust_tuple_type.hpp", + "external/sources/boost/boost/vmd/detail/array.hpp", + "external/sources/boost/boost/vmd/detail/assert.hpp", + "external/sources/boost/boost/vmd/detail/data_equal.hpp", + "external/sources/boost/boost/vmd/detail/data_equal_common.hpp", + "external/sources/boost/boost/vmd/detail/empty_result.hpp", + "external/sources/boost/boost/vmd/detail/equal.hpp", + "external/sources/boost/boost/vmd/detail/equal_common.hpp", + "external/sources/boost/boost/vmd/detail/equal_type.hpp", + "external/sources/boost/boost/vmd/detail/identifier.hpp", + "external/sources/boost/boost/vmd/detail/identifier_concat.hpp", + "external/sources/boost/boost/vmd/detail/identifier_type.hpp", + "external/sources/boost/boost/vmd/detail/idprefix.hpp", + "external/sources/boost/boost/vmd/detail/is_array.hpp", + "external/sources/boost/boost/vmd/detail/is_array_common.hpp", + "external/sources/boost/boost/vmd/detail/is_empty.hpp", + "external/sources/boost/boost/vmd/detail/is_empty_array.hpp", + "external/sources/boost/boost/vmd/detail/is_empty_tuple.hpp", + "external/sources/boost/boost/vmd/detail/is_entire.hpp", + "external/sources/boost/boost/vmd/detail/is_identifier.hpp", + "external/sources/boost/boost/vmd/detail/is_list.hpp", + "external/sources/boost/boost/vmd/detail/is_number.hpp", + "external/sources/boost/boost/vmd/detail/is_seq.hpp", + "external/sources/boost/boost/vmd/detail/is_tuple.hpp", + "external/sources/boost/boost/vmd/detail/is_type.hpp", + "external/sources/boost/boost/vmd/detail/is_type_type.hpp", + "external/sources/boost/boost/vmd/detail/list.hpp", + "external/sources/boost/boost/vmd/detail/match_identifier.hpp", + "external/sources/boost/boost/vmd/detail/match_identifier_common.hpp", + "external/sources/boost/boost/vmd/detail/match_single_identifier.hpp", + "external/sources/boost/boost/vmd/detail/modifiers.hpp", + "external/sources/boost/boost/vmd/detail/mods.hpp", + "external/sources/boost/boost/vmd/detail/nil_registration.hpp", + "external/sources/boost/boost/vmd/detail/not_empty.hpp", + "external/sources/boost/boost/vmd/detail/number_registration.hpp", + "external/sources/boost/boost/vmd/detail/only_after.hpp", + "external/sources/boost/boost/vmd/detail/parens.hpp", + "external/sources/boost/boost/vmd/detail/parens_common.hpp", + "external/sources/boost/boost/vmd/detail/parens_split.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_1.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_10.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_11.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_12.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_13.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_14.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_15.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_16.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_2.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_3.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_4.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_5.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_6.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_7.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_8.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_9.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_headers.hpp", + "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_specific.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_1.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_10.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_11.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_12.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_13.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_14.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_15.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_16.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_2.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_3.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_4.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_5.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_6.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_7.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_8.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_9.hpp", + "external/sources/boost/boost/vmd/detail/recurse/equal/equal_headers.hpp", + "external/sources/boost/boost/vmd/detail/seq.hpp", + "external/sources/boost/boost/vmd/detail/sequence_arity.hpp", + "external/sources/boost/boost/vmd/detail/sequence_common.hpp", + "external/sources/boost/boost/vmd/detail/sequence_elem.hpp", + "external/sources/boost/boost/vmd/detail/sequence_enum.hpp", + "external/sources/boost/boost/vmd/detail/sequence_size.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_array.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_list.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_seq.hpp", + "external/sources/boost/boost/vmd/detail/sequence_to_tuple.hpp", + "external/sources/boost/boost/vmd/detail/sequence_type.hpp", + "external/sources/boost/boost/vmd/detail/setup.hpp", + "external/sources/boost/boost/vmd/detail/tuple.hpp", + "external/sources/boost/boost/vmd/detail/type_registration.hpp", + "external/sources/boost/boost/vmd/detail/variadic_pop_front.hpp", + "external/sources/boost/boost/vmd/elem.hpp", + "external/sources/boost/boost/vmd/empty.hpp", + "external/sources/boost/boost/vmd/enum.hpp", + "external/sources/boost/boost/vmd/equal.hpp", + "external/sources/boost/boost/vmd/get_type.hpp", + "external/sources/boost/boost/vmd/identity.hpp", + "external/sources/boost/boost/vmd/is_array.hpp", + "external/sources/boost/boost/vmd/is_empty.hpp", + "external/sources/boost/boost/vmd/is_empty_array.hpp", + "external/sources/boost/boost/vmd/is_empty_list.hpp", + "external/sources/boost/boost/vmd/is_identifier.hpp", + "external/sources/boost/boost/vmd/is_list.hpp", + "external/sources/boost/boost/vmd/is_multi.hpp", + "external/sources/boost/boost/vmd/is_number.hpp", + "external/sources/boost/boost/vmd/is_parens_empty.hpp", + "external/sources/boost/boost/vmd/is_seq.hpp", + "external/sources/boost/boost/vmd/is_tuple.hpp", + "external/sources/boost/boost/vmd/is_type.hpp", + "external/sources/boost/boost/vmd/is_unary.hpp", + "external/sources/boost/boost/vmd/list.hpp", + "external/sources/boost/boost/vmd/list/to_seq.hpp", + "external/sources/boost/boost/vmd/list/to_tuple.hpp", + "external/sources/boost/boost/vmd/not_equal.hpp", + "external/sources/boost/boost/vmd/seq.hpp", + "external/sources/boost/boost/vmd/seq/is_vmd_seq.hpp", + "external/sources/boost/boost/vmd/seq/pop_back.hpp", + "external/sources/boost/boost/vmd/seq/pop_front.hpp", + "external/sources/boost/boost/vmd/seq/push_back.hpp", + "external/sources/boost/boost/vmd/seq/push_front.hpp", + "external/sources/boost/boost/vmd/seq/remove.hpp", + "external/sources/boost/boost/vmd/seq/size.hpp", + "external/sources/boost/boost/vmd/seq/to_array.hpp", + "external/sources/boost/boost/vmd/seq/to_list.hpp", + "external/sources/boost/boost/vmd/seq/to_tuple.hpp", + "external/sources/boost/boost/vmd/size.hpp", + "external/sources/boost/boost/vmd/to_array.hpp", + "external/sources/boost/boost/vmd/to_list.hpp", + "external/sources/boost/boost/vmd/to_seq.hpp", + "external/sources/boost/boost/vmd/to_tuple.hpp", + "external/sources/boost/boost/vmd/tuple.hpp", + "external/sources/boost/boost/vmd/tuple/is_vmd_tuple.hpp", + "external/sources/boost/boost/vmd/tuple/pop_back.hpp", + "external/sources/boost/boost/vmd/tuple/pop_front.hpp", + "external/sources/boost/boost/vmd/tuple/push_back.hpp", + "external/sources/boost/boost/vmd/tuple/push_front.hpp", + "external/sources/boost/boost/vmd/tuple/remove.hpp", + "external/sources/boost/boost/vmd/tuple/size.hpp", + "external/sources/boost/boost/vmd/tuple/to_array.hpp", + "external/sources/boost/boost/vmd/tuple/to_list.hpp", + "external/sources/boost/boost/vmd/tuple/to_seq.hpp", + "external/sources/boost/boost/vmd/vmd.hpp", + "external/sources/boost/boost/wave.hpp", + "external/sources/boost/boost/wave/cpp_context.hpp", + "external/sources/boost/boost/wave/cpp_exceptions.hpp", + "external/sources/boost/boost/wave/cpp_iteration_context.hpp", + "external/sources/boost/boost/wave/cpp_throw.hpp", + "external/sources/boost/boost/wave/cpplexer/convert_trigraphs.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface_generator.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_iterator.hpp", + "external/sources/boost/boost/wave/cpplexer/cpp_lex_token.hpp", + "external/sources/boost/boost/wave/cpplexer/cpplexer_exceptions.hpp", + "external/sources/boost/boost/wave/cpplexer/detect_include_guards.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/aq.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp.re", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.inc", + "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/scanner.hpp", + "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp.re", + "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp_re.inc", + "external/sources/boost/boost/wave/cpplexer/token_cache.hpp", + "external/sources/boost/boost/wave/cpplexer/validate_universal_char.hpp", + "external/sources/boost/boost/wave/grammars/cpp_chlit_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_defined_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_defined_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_expression_value.hpp", + "external/sources/boost/boost/wave/grammars/cpp_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_intlit_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_literal_grammar_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_predef_macros_gen.hpp", + "external/sources/boost/boost/wave/grammars/cpp_predef_macros_grammar.hpp", + "external/sources/boost/boost/wave/grammars/cpp_value_error.hpp", + "external/sources/boost/boost/wave/language_support.hpp", + "external/sources/boost/boost/wave/preprocessing_hooks.hpp", + "external/sources/boost/boost/wave/token_ids.hpp", + "external/sources/boost/boost/wave/util/cpp_ifblock.hpp", + "external/sources/boost/boost/wave/util/cpp_include_paths.hpp", + "external/sources/boost/boost/wave/util/cpp_iterator.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap_predef.hpp", + "external/sources/boost/boost/wave/util/cpp_macromap_utils.hpp", + "external/sources/boost/boost/wave/util/file_position.hpp", + "external/sources/boost/boost/wave/util/filesystem_compatibility.hpp", + "external/sources/boost/boost/wave/util/flex_string.hpp", + "external/sources/boost/boost/wave/util/functor_input.hpp", + "external/sources/boost/boost/wave/util/insert_whitespace_detection.hpp", + "external/sources/boost/boost/wave/util/interpret_pragma.hpp", + "external/sources/boost/boost/wave/util/iteration_context.hpp", + "external/sources/boost/boost/wave/util/macro_definition.hpp", + "external/sources/boost/boost/wave/util/macro_helpers.hpp", + "external/sources/boost/boost/wave/util/pattern_parser.hpp", + "external/sources/boost/boost/wave/util/symbol_table.hpp", + "external/sources/boost/boost/wave/util/time_conversion_helper.hpp", + "external/sources/boost/boost/wave/util/transform_iterator.hpp", + "external/sources/boost/boost/wave/util/unput_queue_iterator.hpp", + "external/sources/boost/boost/wave/wave_config.hpp", + "external/sources/boost/boost/wave/wave_config_constant.hpp", + "external/sources/boost/boost/wave/wave_version.hpp", + "external/sources/boost/boost/wave/whitespace_handling.hpp", + "external/sources/boost/boost/weak_ptr.hpp", + "external/sources/boost/boost/winapi/access_rights.hpp", + "external/sources/boost/boost/winapi/apc.hpp", + "external/sources/boost/boost/winapi/basic_types.hpp", + "external/sources/boost/boost/winapi/bcrypt.hpp", + "external/sources/boost/boost/winapi/character_code_conversion.hpp", + "external/sources/boost/boost/winapi/condition_variable.hpp", + "external/sources/boost/boost/winapi/config.hpp", + "external/sources/boost/boost/winapi/critical_section.hpp", + "external/sources/boost/boost/winapi/crypt.hpp", + "external/sources/boost/boost/winapi/dbghelp.hpp", + "external/sources/boost/boost/winapi/debugapi.hpp", + "external/sources/boost/boost/winapi/detail/cast_ptr.hpp", + "external/sources/boost/boost/winapi/detail/footer.hpp", + "external/sources/boost/boost/winapi/detail/header.hpp", + "external/sources/boost/boost/winapi/directory_management.hpp", + "external/sources/boost/boost/winapi/dll.hpp", + "external/sources/boost/boost/winapi/environment.hpp", + "external/sources/boost/boost/winapi/error_codes.hpp", + "external/sources/boost/boost/winapi/error_handling.hpp", + "external/sources/boost/boost/winapi/event.hpp", + "external/sources/boost/boost/winapi/file_management.hpp", + "external/sources/boost/boost/winapi/file_mapping.hpp", + "external/sources/boost/boost/winapi/get_current_process.hpp", + "external/sources/boost/boost/winapi/get_current_process_id.hpp", + "external/sources/boost/boost/winapi/get_current_thread.hpp", + "external/sources/boost/boost/winapi/get_current_thread_id.hpp", + "external/sources/boost/boost/winapi/get_last_error.hpp", + "external/sources/boost/boost/winapi/get_proc_address.hpp", + "external/sources/boost/boost/winapi/get_process_times.hpp", + "external/sources/boost/boost/winapi/get_system_directory.hpp", + "external/sources/boost/boost/winapi/get_thread_times.hpp", + "external/sources/boost/boost/winapi/handle_info.hpp", + "external/sources/boost/boost/winapi/handles.hpp", + "external/sources/boost/boost/winapi/heap_memory.hpp", + "external/sources/boost/boost/winapi/init_once.hpp", + "external/sources/boost/boost/winapi/jobs.hpp", + "external/sources/boost/boost/winapi/limits.hpp", + "external/sources/boost/boost/winapi/local_memory.hpp", + "external/sources/boost/boost/winapi/memory.hpp", + "external/sources/boost/boost/winapi/mutex.hpp", + "external/sources/boost/boost/winapi/overlapped.hpp", + "external/sources/boost/boost/winapi/page_protection_flags.hpp", + "external/sources/boost/boost/winapi/pipes.hpp", + "external/sources/boost/boost/winapi/priority_class.hpp", + "external/sources/boost/boost/winapi/process.hpp", + "external/sources/boost/boost/winapi/security.hpp", + "external/sources/boost/boost/winapi/semaphore.hpp", + "external/sources/boost/boost/winapi/shell.hpp", + "external/sources/boost/boost/winapi/show_window.hpp", + "external/sources/boost/boost/winapi/srw_lock.hpp", + "external/sources/boost/boost/winapi/stack_backtrace.hpp", + "external/sources/boost/boost/winapi/synchronization.hpp", + "external/sources/boost/boost/winapi/system.hpp", + "external/sources/boost/boost/winapi/thread.hpp", + "external/sources/boost/boost/winapi/thread_pool.hpp", + "external/sources/boost/boost/winapi/time.hpp", + "external/sources/boost/boost/winapi/timers.hpp", + "external/sources/boost/boost/winapi/tls.hpp", + "external/sources/boost/boost/winapi/wait.hpp", + "external/sources/boost/boost/winapi/wait_constants.hpp", + "external/sources/boost/boost/winapi/wait_on_address.hpp", + "external/sources/boost/boost/winapi/waitable_timer.hpp", + "external/sources/boost/boost/xpressive/basic_regex.hpp", + "external/sources/boost/boost/xpressive/detail/core/access.hpp", + "external/sources/boost/boost/xpressive/detail/core/action.hpp", + "external/sources/boost/boost/xpressive/detail/core/adaptor.hpp", + "external/sources/boost/boost/xpressive/detail/core/finder.hpp", + "external/sources/boost/boost/xpressive/detail/core/flow_control.hpp", + "external/sources/boost/boost/xpressive/detail/core/icase.hpp", + "external/sources/boost/boost/xpressive/detail/core/linker.hpp", + "external/sources/boost/boost/xpressive/detail/core/list.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/action_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/any_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bol_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bos_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eol_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eos_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_line_base.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/assert_word_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/charset_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/epsilon_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/keeper_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/literal_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/logical_newline_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/lookahead_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/lookbehind_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/mark_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/predicate_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/range_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/regex_byref_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/regex_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_begin_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_end_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/set_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/string_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matcher/true_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/core/matchers.hpp", + "external/sources/boost/boost/xpressive/detail/core/optimize.hpp", + "external/sources/boost/boost/xpressive/detail/core/peeker.hpp", + "external/sources/boost/boost/xpressive/detail/core/quant_style.hpp", + "external/sources/boost/boost/xpressive/detail/core/regex_domain.hpp", + "external/sources/boost/boost/xpressive/detail/core/regex_impl.hpp", + "external/sources/boost/boost/xpressive/detail/core/results_cache.hpp", + "external/sources/boost/boost/xpressive/detail/core/state.hpp", + "external/sources/boost/boost/xpressive/detail/core/sub_match_impl.hpp", + "external/sources/boost/boost/xpressive/detail/core/sub_match_vector.hpp", + "external/sources/boost/boost/xpressive/detail/detail_fwd.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/dynamic.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/matchable.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parse_charset.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser_enum.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/parser_traits.hpp", + "external/sources/boost/boost/xpressive/detail/dynamic/sequence.hpp", + "external/sources/boost/boost/xpressive/detail/static/compile.hpp", + "external/sources/boost/boost/xpressive/detail/static/grammar.hpp", + "external/sources/boost/boost/xpressive/detail/static/is_pure.hpp", + "external/sources/boost/boost/xpressive/detail/static/modifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/placeholders.hpp", + "external/sources/boost/boost/xpressive/detail/static/static.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_action.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_alternate.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_independent.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_inverse.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_marker.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_matcher.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_modifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_quantifier.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_sequence.hpp", + "external/sources/boost/boost/xpressive/detail/static/transforms/as_set.hpp", + "external/sources/boost/boost/xpressive/detail/static/transmogrify.hpp", + "external/sources/boost/boost/xpressive/detail/static/type_traits.hpp", + "external/sources/boost/boost/xpressive/detail/static/visitor.hpp", + "external/sources/boost/boost/xpressive/detail/static/width_of.hpp", + "external/sources/boost/boost/xpressive/detail/utility/algorithm.hpp", + "external/sources/boost/boost/xpressive/detail/utility/any.hpp", + "external/sources/boost/boost/xpressive/detail/utility/boyer_moore.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.ipp", + "external/sources/boost/boost/xpressive/detail/utility/chset/chset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.hpp", + "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.ipp", + "external/sources/boost/boost/xpressive/detail/utility/cons.hpp", + "external/sources/boost/boost/xpressive/detail/utility/counted_base.hpp", + "external/sources/boost/boost/xpressive/detail/utility/dont_care.hpp", + "external/sources/boost/boost/xpressive/detail/utility/hash_peek_bitset.hpp", + "external/sources/boost/boost/xpressive/detail/utility/ignore_unused.hpp", + "external/sources/boost/boost/xpressive/detail/utility/literals.hpp", + "external/sources/boost/boost/xpressive/detail/utility/never_true.hpp", + "external/sources/boost/boost/xpressive/detail/utility/save_restore.hpp", + "external/sources/boost/boost/xpressive/detail/utility/sequence_stack.hpp", + "external/sources/boost/boost/xpressive/detail/utility/symbols.hpp", + "external/sources/boost/boost/xpressive/detail/utility/tracking_ptr.hpp", + "external/sources/boost/boost/xpressive/detail/utility/traits_utils.hpp", + "external/sources/boost/boost/xpressive/detail/utility/width.hpp", + "external/sources/boost/boost/xpressive/match_results.hpp", + "external/sources/boost/boost/xpressive/regex_actions.hpp", + "external/sources/boost/boost/xpressive/regex_algorithms.hpp", + "external/sources/boost/boost/xpressive/regex_compiler.hpp", + "external/sources/boost/boost/xpressive/regex_constants.hpp", + "external/sources/boost/boost/xpressive/regex_error.hpp", + "external/sources/boost/boost/xpressive/regex_iterator.hpp", + "external/sources/boost/boost/xpressive/regex_primitives.hpp", + "external/sources/boost/boost/xpressive/regex_token_iterator.hpp", + "external/sources/boost/boost/xpressive/regex_traits.hpp", + "external/sources/boost/boost/xpressive/sub_match.hpp", + "external/sources/boost/boost/xpressive/traits/c_regex_traits.hpp", + "external/sources/boost/boost/xpressive/traits/cpp_regex_traits.hpp", + "external/sources/boost/boost/xpressive/traits/detail/c_ctype.hpp", + "external/sources/boost/boost/xpressive/traits/null_regex_traits.hpp", + "external/sources/boost/boost/xpressive/xpressive.hpp", + "external/sources/boost/boost/xpressive/xpressive_dynamic.hpp", + "external/sources/boost/boost/xpressive/xpressive_fwd.hpp", + "external/sources/boost/boost/xpressive/xpressive_static.hpp", + "external/sources/boost/boost/xpressive/xpressive_typeof.hpp", + "external/sources/boost/boost/yap/algorithm.hpp", + "external/sources/boost/boost/yap/algorithm_fwd.hpp", + "external/sources/boost/boost/yap/config.hpp", + "external/sources/boost/boost/yap/detail/algorithm.hpp", + "external/sources/boost/boost/yap/detail/transform.hpp", + "external/sources/boost/boost/yap/expression.hpp", + "external/sources/boost/boost/yap/print.hpp", + "external/sources/boost/boost/yap/user_macros.hpp", + "external/sources/boost/boost/yap/yap.hpp", + "external/sources/concurrentqueue/blockingconcurrentqueue.h", + "external/sources/concurrentqueue/concurrentqueue.h", + "external/sources/concurrentqueue/lightweightsemaphore.h", + "external/sources/edtaa3func/CMakeLists.txt", + "external/sources/edtaa3func/edtaa3func.cpp", + "external/sources/edtaa3func/edtaa3func.h", + "external/sources/jemalloc/CMakeLists.txt", + "external/sources/jemalloc/ChangeLog", + "external/sources/jemalloc/include-linux/jemalloc/internal/arena.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/assert.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/atomic.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/base.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/bitmap.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/chunk.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/chunk_dss.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/chunk_mmap.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ckh.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ctl.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/extent.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/hash.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/huge.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_decls.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_defs.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/jemalloc_internal_macros.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/mb.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/mutex.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/nstime.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/pages.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ph.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/private_namespace.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/private_symbols.txt", + "external/sources/jemalloc/include-linux/jemalloc/internal/private_unnamespace.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/prng.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/prof.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/public_namespace.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/public_symbols.txt", + "external/sources/jemalloc/include-linux/jemalloc/internal/public_unnamespace.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ql.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/qr.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/quarantine.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/rb.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/rtree.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/size_classes.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/smoothstep.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/spin.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/stats.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/tcache.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/ticker.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/tsd.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/util.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/valgrind.h", + "external/sources/jemalloc/include-linux/jemalloc/internal/witness.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_defs.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_macros.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_mangle.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_mangle_jet.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_protos.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_protos_jet.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_rename.h", + "external/sources/jemalloc/include-linux/jemalloc/jemalloc_typedefs.h", + "external/sources/jemalloc/include-win/jemalloc/internal/arena.h", + "external/sources/jemalloc/include-win/jemalloc/internal/assert.h", + "external/sources/jemalloc/include-win/jemalloc/internal/atomic.h", + "external/sources/jemalloc/include-win/jemalloc/internal/base.h", + "external/sources/jemalloc/include-win/jemalloc/internal/bitmap.h", + "external/sources/jemalloc/include-win/jemalloc/internal/chunk.h", + "external/sources/jemalloc/include-win/jemalloc/internal/chunk_dss.h", + "external/sources/jemalloc/include-win/jemalloc/internal/chunk_mmap.h", + "external/sources/jemalloc/include-win/jemalloc/internal/ckh.h", + "external/sources/jemalloc/include-win/jemalloc/internal/ctl.h", + "external/sources/jemalloc/include-win/jemalloc/internal/extent.h", + "external/sources/jemalloc/include-win/jemalloc/internal/hash.h", + "external/sources/jemalloc/include-win/jemalloc/internal/huge.h", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal.h", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal.h.in", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_decls.h", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_defs.h", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_defs.h.in", + "external/sources/jemalloc/include-win/jemalloc/internal/jemalloc_internal_macros.h", + "external/sources/jemalloc/include-win/jemalloc/internal/mb.h", + "external/sources/jemalloc/include-win/jemalloc/internal/mutex.h", + "external/sources/jemalloc/include-win/jemalloc/internal/nstime.h", + "external/sources/jemalloc/include-win/jemalloc/internal/pages.h", + "external/sources/jemalloc/include-win/jemalloc/internal/ph.h", + "external/sources/jemalloc/include-win/jemalloc/internal/private_namespace.h", + "external/sources/jemalloc/include-win/jemalloc/internal/private_namespace.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/private_symbols.txt", + "external/sources/jemalloc/include-win/jemalloc/internal/private_unnamespace.h", + "external/sources/jemalloc/include-win/jemalloc/internal/private_unnamespace.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/prng.h", + "external/sources/jemalloc/include-win/jemalloc/internal/prof.h", + "external/sources/jemalloc/include-win/jemalloc/internal/public_namespace.h", + "external/sources/jemalloc/include-win/jemalloc/internal/public_namespace.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/public_symbols.txt", + "external/sources/jemalloc/include-win/jemalloc/internal/public_unnamespace.h", + "external/sources/jemalloc/include-win/jemalloc/internal/public_unnamespace.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/ql.h", + "external/sources/jemalloc/include-win/jemalloc/internal/qr.h", + "external/sources/jemalloc/include-win/jemalloc/internal/quarantine.h", + "external/sources/jemalloc/include-win/jemalloc/internal/rb.h", + "external/sources/jemalloc/include-win/jemalloc/internal/rtree.h", + "external/sources/jemalloc/include-win/jemalloc/internal/size_classes.h", + "external/sources/jemalloc/include-win/jemalloc/internal/size_classes.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/smoothstep.h", + "external/sources/jemalloc/include-win/jemalloc/internal/smoothstep.sh", + "external/sources/jemalloc/include-win/jemalloc/internal/spin.h", + "external/sources/jemalloc/include-win/jemalloc/internal/stats.h", + "external/sources/jemalloc/include-win/jemalloc/internal/tcache.h", + "external/sources/jemalloc/include-win/jemalloc/internal/ticker.h", + "external/sources/jemalloc/include-win/jemalloc/internal/tsd.h", + "external/sources/jemalloc/include-win/jemalloc/internal/util.h", + "external/sources/jemalloc/include-win/jemalloc/internal/valgrind.h", + "external/sources/jemalloc/include-win/jemalloc/internal/witness.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_defs.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_macros.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_mangle.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_mangle_jet.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_protos.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_protos_jet.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_rename.h", + "external/sources/jemalloc/include-win/jemalloc/jemalloc_typedefs.h", + "external/sources/jemalloc/include-win/msvc_compat/C99/stdbool.h", + "external/sources/jemalloc/include-win/msvc_compat/C99/stdint.h", + "external/sources/jemalloc/include-win/msvc_compat/strings.h", + "external/sources/jemalloc/include-win/msvc_compat/windows_extra.h", + "external/sources/jemalloc/src/je_arena.c", + "external/sources/jemalloc/src/je_atomic.c", + "external/sources/jemalloc/src/je_base.c", + "external/sources/jemalloc/src/je_bitmap.c", + "external/sources/jemalloc/src/je_chunk.c", + "external/sources/jemalloc/src/je_chunk_dss.c", + "external/sources/jemalloc/src/je_chunk_mmap.c", + "external/sources/jemalloc/src/je_ckh.c", + "external/sources/jemalloc/src/je_ctl.c", + "external/sources/jemalloc/src/je_extent.c", + "external/sources/jemalloc/src/je_hash.c", + "external/sources/jemalloc/src/je_huge.c", + "external/sources/jemalloc/src/je_jemalloc.c", + "external/sources/jemalloc/src/je_mb.c", + "external/sources/jemalloc/src/je_mutex.c", + "external/sources/jemalloc/src/je_nstime.c", + "external/sources/jemalloc/src/je_pages.c", + "external/sources/jemalloc/src/je_prng.c", + "external/sources/jemalloc/src/je_prof.c", + "external/sources/jemalloc/src/je_quarantine.c", + "external/sources/jemalloc/src/je_rtree.c", + "external/sources/jemalloc/src/je_spin.c", + "external/sources/jemalloc/src/je_stats.c", + "external/sources/jemalloc/src/je_tcache.c", + "external/sources/jemalloc/src/je_ticker.c", + "external/sources/jemalloc/src/je_tsd.c", + "external/sources/jemalloc/src/je_util.c", + "external/sources/jemalloc/src/je_valgrind.c", + "external/sources/jemalloc/src/je_witness.c", + "external/sources/jemalloc/src/je_zone.c", + "external/sources/json/allocators.h", + "external/sources/json/document-wrapper.h", + "external/sources/json/document.h", + "external/sources/json/encodedstream.h", + "external/sources/json/encodings.h", + "external/sources/json/error/en.h", + "external/sources/json/error/error.h", + "external/sources/json/filereadstream.h", + "external/sources/json/filestream.h", + "external/sources/json/filewritestream.h", + "external/sources/json/fwd.h", + "external/sources/json/internal/biginteger.h", + "external/sources/json/internal/diyfp.h", + "external/sources/json/internal/dtoa.h", + "external/sources/json/internal/ieee754.h", + "external/sources/json/internal/itoa.h", + "external/sources/json/internal/meta.h", + "external/sources/json/internal/pow10.h", + "external/sources/json/internal/regex.h", + "external/sources/json/internal/stack.h", + "external/sources/json/internal/strfunc.h", + "external/sources/json/internal/strtod.h", + "external/sources/json/internal/swap.h", + "external/sources/json/istreamwrapper.h", + "external/sources/json/memorybuffer.h", + "external/sources/json/memorystream.h", + "external/sources/json/msinttypes/inttypes.h", + "external/sources/json/msinttypes/stdint.h", + "external/sources/json/ostreamwrapper.h", + "external/sources/json/pointer.h", + "external/sources/json/prettywriter.h", + "external/sources/json/rapidjson.h", + "external/sources/json/reader.h", + "external/sources/json/schema.h", + "external/sources/json/stream.h", + "external/sources/json/stringbuffer.h", + "external/sources/json/writer.h", + "external/sources/khronos/EGL/egl.h", + "external/sources/khronos/EGL/eglext.h", + "external/sources/khronos/EGL/eglplatform.h", + "external/sources/khronos/GLES/egl.h", + "external/sources/khronos/GLES/gl.h", + "external/sources/khronos/GLES/glext.h", + "external/sources/khronos/GLES/glplatform.h", + "external/sources/khronos/GLES2/gl2.h", + "external/sources/khronos/GLES2/gl2ext.h", + "external/sources/khronos/GLES2/gl2platform.h", + "external/sources/khronos/GLES3/gl3.h", + "external/sources/khronos/GLES3/gl31.h", + "external/sources/khronos/GLES3/gl32.h", + "external/sources/khronos/GLES3/gl3ext.h", + "external/sources/khronos/GLES3/gl3platform.h", + "external/sources/khronos/KHR/khrplatform.h", + "external/sources/khronos/vulkan/vk_icd.h", + "external/sources/khronos/vulkan/vk_layer.h", + "external/sources/khronos/vulkan/vk_platform.h", + "external/sources/khronos/vulkan/vk_sdk_platform.h", + "external/sources/khronos/vulkan/vulkan.h", + "external/sources/khronos/vulkan/vulkan_android.h", + "external/sources/khronos/vulkan/vulkan_beta.h", + "external/sources/khronos/vulkan/vulkan_core.h", + "external/sources/khronos/vulkan/vulkan_directfb.h", + "external/sources/khronos/vulkan/vulkan_fuchsia.h", + "external/sources/khronos/vulkan/vulkan_ggp.h", + "external/sources/khronos/vulkan/vulkan_ios.h", + "external/sources/khronos/vulkan/vulkan_macos.h", + "external/sources/khronos/vulkan/vulkan_metal.h", + "external/sources/khronos/vulkan/vulkan_vi.h", + "external/sources/khronos/vulkan/vulkan_wayland.h", + "external/sources/khronos/vulkan/vulkan_win32.h", + "external/sources/khronos/vulkan/vulkan_xcb.h", + "external/sources/khronos/vulkan/vulkan_xlib.h", + "external/sources/khronos/vulkan/vulkan_xlib_xrandr.h", + "external/sources/nedmalloc/malloc.c.h", + "external/sources/nedmalloc/nedmalloc.c", + "external/sources/nedmalloc/nedmalloc.h", + "external/sources/pvmp3dec/CMakeLists.txt", + "external/sources/pvmp3dec/include/mp3_decoder_selection.h", + "external/sources/pvmp3dec/include/pvmp3_audio_type_defs.h", + "external/sources/pvmp3dec/include/pvmp3decoder_api.h", + "external/sources/pvmp3dec/src/asm/pvmp3_dct_16_gcc.s", + "external/sources/pvmp3dec/src/asm/pvmp3_dct_9_gcc.s", + "external/sources/pvmp3dec/src/asm/pvmp3_mdct_18_gcc.s", + "external/sources/pvmp3dec/src/asm/pvmp3_polyphase_filter_window_gcc.s", + "external/sources/pvmp3dec/src/mp3_mem_funcs.h", + "external/sources/pvmp3dec/src/pv_mp3_huffman.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_arm.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_arm_gcc.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_c_equivalent.h", + "external/sources/pvmp3dec/src/pv_mp3dec_fxd_op_msc_evc.h", + "external/sources/pvmp3dec/src/pvmp3_alias_reduction.cpp", + "external/sources/pvmp3dec/src/pvmp3_alias_reduction.h", + "external/sources/pvmp3dec/src/pvmp3_crc.cpp", + "external/sources/pvmp3dec/src/pvmp3_crc.h", + "external/sources/pvmp3dec/src/pvmp3_dct_16.cpp", + "external/sources/pvmp3dec/src/pvmp3_dct_16.h", + "external/sources/pvmp3dec/src/pvmp3_dct_6.cpp", + "external/sources/pvmp3dec/src/pvmp3_dct_9.cpp", + "external/sources/pvmp3dec/src/pvmp3_dec_defs.h", + "external/sources/pvmp3dec/src/pvmp3_decode_header.cpp", + "external/sources/pvmp3dec/src/pvmp3_decode_header.h", + "external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.cpp", + "external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.h", + "external/sources/pvmp3dec/src/pvmp3_dequantize_sample.cpp", + "external/sources/pvmp3dec/src/pvmp3_dequantize_sample.h", + "external/sources/pvmp3dec/src/pvmp3_equalizer.cpp", + "external/sources/pvmp3dec/src/pvmp3_equalizer.h", + "external/sources/pvmp3dec/src/pvmp3_framedecoder.cpp", + "external/sources/pvmp3dec/src/pvmp3_framedecoder.h", + "external/sources/pvmp3dec/src/pvmp3_get_main_data_size.cpp", + "external/sources/pvmp3dec/src/pvmp3_get_main_data_size.h", + "external/sources/pvmp3dec/src/pvmp3_get_scale_factors.cpp", + "external/sources/pvmp3dec/src/pvmp3_get_scale_factors.h", + "external/sources/pvmp3dec/src/pvmp3_get_side_info.cpp", + "external/sources/pvmp3dec/src/pvmp3_get_side_info.h", + "external/sources/pvmp3dec/src/pvmp3_getbits.cpp", + "external/sources/pvmp3dec/src/pvmp3_getbits.h", + "external/sources/pvmp3dec/src/pvmp3_huffman_decoding.cpp", + "external/sources/pvmp3dec/src/pvmp3_huffman_parsing.cpp", + "external/sources/pvmp3dec/src/pvmp3_imdct_synth.cpp", + "external/sources/pvmp3dec/src/pvmp3_imdct_synth.h", + "external/sources/pvmp3dec/src/pvmp3_mdct_18.cpp", + "external/sources/pvmp3dec/src/pvmp3_mdct_18.h", + "external/sources/pvmp3dec/src/pvmp3_mdct_6.cpp", + "external/sources/pvmp3dec/src/pvmp3_mdct_6.h", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.cpp", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.h", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.cpp", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.h", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.cpp", + "external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.h", + "external/sources/pvmp3dec/src/pvmp3_normalize.cpp", + "external/sources/pvmp3dec/src/pvmp3_normalize.h", + "external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.cpp", + "external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.h", + "external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.cpp", + "external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.h", + "external/sources/pvmp3dec/src/pvmp3_reorder.cpp", + "external/sources/pvmp3dec/src/pvmp3_reorder.h", + "external/sources/pvmp3dec/src/pvmp3_seek_synch.cpp", + "external/sources/pvmp3dec/src/pvmp3_seek_synch.h", + "external/sources/pvmp3dec/src/pvmp3_stereo_proc.cpp", + "external/sources/pvmp3dec/src/pvmp3_stereo_proc.h", + "external/sources/pvmp3dec/src/pvmp3_tables.cpp", + "external/sources/pvmp3dec/src/pvmp3_tables.h", + "external/sources/pvmp3dec/src/s_huffcodetab.h", + "external/sources/pvmp3dec/src/s_mp3bits.h", + "external/sources/pvmp3dec/src/s_tmp3dec_chan.h", + "external/sources/pvmp3dec/src/s_tmp3dec_file.h", + "external/sources/rtm/constants.h", + "external/sources/rtm/impl/compiler_utils.h", + "external/sources/rtm/impl/error.h", + "external/sources/rtm/impl/mask_common.h", + "external/sources/rtm/impl/matrix_affine_common.h", + "external/sources/rtm/impl/matrix_cast.h", + "external/sources/rtm/impl/matrix_common.h", + "external/sources/rtm/impl/memory_utils.h", + "external/sources/rtm/impl/quat_common.h", + "external/sources/rtm/impl/qvv_common.h", + "external/sources/rtm/impl/scalar_common.h", + "external/sources/rtm/impl/type_args.h", + "external/sources/rtm/impl/vector_common.h", + "external/sources/rtm/macros.h", + "external/sources/rtm/mask4d.h", + "external/sources/rtm/mask4f.h", + "external/sources/rtm/mask4i.h", + "external/sources/rtm/mask4q.h", + "external/sources/rtm/math.h", + "external/sources/rtm/matrix3x3d.h", + "external/sources/rtm/matrix3x3f.h", + "external/sources/rtm/matrix3x4d.h", + "external/sources/rtm/matrix3x4f.h", + "external/sources/rtm/matrix4x4d.h", + "external/sources/rtm/matrix4x4f.h", + "external/sources/rtm/packing/quatd.h", + "external/sources/rtm/packing/quatf.h", + "external/sources/rtm/quatd.h", + "external/sources/rtm/quatf.h", + "external/sources/rtm/qvvd.h", + "external/sources/rtm/qvvf.h", + "external/sources/rtm/scalard.h", + "external/sources/rtm/scalarf.h", + "external/sources/rtm/type_traits.h", + "external/sources/rtm/types.h", + "external/sources/rtm/vector4d.h", + "external/sources/rtm/vector4f.h", + "external/sources/taskflow/core/algorithm/critical.hpp", + "external/sources/taskflow/core/algorithm/for_each.hpp", + "external/sources/taskflow/core/algorithm/reduce.hpp", + "external/sources/taskflow/core/algorithm/sort.hpp", + "external/sources/taskflow/core/declarations.hpp", + "external/sources/taskflow/core/error.hpp", + "external/sources/taskflow/core/executor.hpp", + "external/sources/taskflow/core/flow_builder.hpp", + "external/sources/taskflow/core/graph.hpp", + "external/sources/taskflow/core/notifier.hpp", + "external/sources/taskflow/core/observer.hpp", + "external/sources/taskflow/core/semaphore.hpp", + "external/sources/taskflow/core/task.hpp", + "external/sources/taskflow/core/taskflow.hpp", + "external/sources/taskflow/core/topology.hpp", + "external/sources/taskflow/core/tsq.hpp", + "external/sources/taskflow/core/worker.hpp", + "external/sources/taskflow/cublasflow.hpp", + "external/sources/taskflow/cuda/cublas/cublas_error.hpp", + "external/sources/taskflow/cuda/cublas/cublas_flow.hpp", + "external/sources/taskflow/cuda/cublas/cublas_handle.hpp", + "external/sources/taskflow/cuda/cublas/cublas_helper.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level1.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level2.hpp", + "external/sources/taskflow/cuda/cublas/cublas_level3.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_blaf.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_for_each.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_matmul.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_reduce.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_transform.hpp", + "external/sources/taskflow/cuda/cuda_algorithm/cuda_transpose.hpp", + "external/sources/taskflow/cuda/cuda_capturer.hpp", + "external/sources/taskflow/cuda/cuda_device.hpp", + "external/sources/taskflow/cuda/cuda_error.hpp", + "external/sources/taskflow/cuda/cuda_flow.hpp", + "external/sources/taskflow/cuda/cuda_graph.hpp", + "external/sources/taskflow/cuda/cuda_memory.hpp", + "external/sources/taskflow/cuda/cuda_pool.hpp", + "external/sources/taskflow/cuda/cuda_stream.hpp", + "external/sources/taskflow/cuda/cuda_task.hpp", + "external/sources/taskflow/cudaflow.hpp", + "external/sources/taskflow/dsl/connection.hpp", + "external/sources/taskflow/dsl/dsl.hpp", + "external/sources/taskflow/dsl/meta_macro.hpp", + "external/sources/taskflow/dsl/task_analyzer.hpp", + "external/sources/taskflow/dsl/task_dsl.hpp", + "external/sources/taskflow/dsl/task_trait.hpp", + "external/sources/taskflow/dsl/tuple_utils.hpp", + "external/sources/taskflow/dsl/type_list.hpp", + "external/sources/taskflow/taskflow.hpp", + "external/sources/taskflow/tensorframe/tensor.hpp", + "external/sources/taskflow/tensorframe/tensor_expr.hpp", + "external/sources/taskflow/tensorframe/tensor_graph.hpp", + "external/sources/taskflow/tensorframe/tensor_ops.hpp", + "external/sources/taskflow/tensorframe/tensorframe.hpp", + "external/sources/taskflow/utility/iterator.hpp", + "external/sources/taskflow/utility/math.hpp", + "external/sources/taskflow/utility/object_pool.hpp", + "external/sources/taskflow/utility/os.hpp", + "external/sources/taskflow/utility/passive_vector.hpp", + "external/sources/taskflow/utility/singleton.hpp", + "external/sources/taskflow/utility/stream.hpp", + "external/sources/taskflow/utility/traits.hpp", + "external/sources/taskflow/utility/uuid.hpp", + "external/sources/tbb/aggregator.h", + "external/sources/tbb/aligned_space.h", + "external/sources/tbb/atomic.h", + "external/sources/tbb/blocked_range.h", + "external/sources/tbb/blocked_range2d.h", + "external/sources/tbb/blocked_range3d.h", + "external/sources/tbb/blocked_rangeNd.h", + "external/sources/tbb/cache_aligned_allocator.h", + "external/sources/tbb/combinable.h", + "external/sources/tbb/compat/condition_variable", + "external/sources/tbb/compat/ppl.h", + "external/sources/tbb/compat/thread", + "external/sources/tbb/compat/tuple", + "external/sources/tbb/concurrent_hash_map.h", + "external/sources/tbb/concurrent_lru_cache.h", + "external/sources/tbb/concurrent_map.h", + "external/sources/tbb/concurrent_priority_queue.h", + "external/sources/tbb/concurrent_queue.h", + "external/sources/tbb/concurrent_set.h", + "external/sources/tbb/concurrent_unordered_map.h", + "external/sources/tbb/concurrent_unordered_set.h", + "external/sources/tbb/concurrent_vector.h", + "external/sources/tbb/critical_section.h", + "external/sources/tbb/enumerable_thread_specific.h", + "external/sources/tbb/flow_graph.h", + "external/sources/tbb/flow_graph_abstractions.h", + "external/sources/tbb/flow_graph_opencl_node.h", + "external/sources/tbb/global_control.h", + "external/sources/tbb/index.html", + "external/sources/tbb/info.h", + "external/sources/tbb/internal/_aggregator_impl.h", + "external/sources/tbb/internal/_allocator_traits.h", + "external/sources/tbb/internal/_concurrent_queue_impl.h", + "external/sources/tbb/internal/_concurrent_skip_list_impl.h", + "external/sources/tbb/internal/_concurrent_unordered_impl.h", + "external/sources/tbb/internal/_deprecated_header_message_guard.h", + "external/sources/tbb/internal/_flow_graph_async_msg_impl.h", + "external/sources/tbb/internal/_flow_graph_body_impl.h", + "external/sources/tbb/internal/_flow_graph_cache_impl.h", + "external/sources/tbb/internal/_flow_graph_impl.h", + "external/sources/tbb/internal/_flow_graph_indexer_impl.h", + "external/sources/tbb/internal/_flow_graph_item_buffer_impl.h", + "external/sources/tbb/internal/_flow_graph_join_impl.h", + "external/sources/tbb/internal/_flow_graph_node_impl.h", + "external/sources/tbb/internal/_flow_graph_node_set_impl.h", + "external/sources/tbb/internal/_flow_graph_nodes_deduction.h", + "external/sources/tbb/internal/_flow_graph_streaming_node.h", + "external/sources/tbb/internal/_flow_graph_tagged_buffer_impl.h", + "external/sources/tbb/internal/_flow_graph_trace_impl.h", + "external/sources/tbb/internal/_flow_graph_types_impl.h", + "external/sources/tbb/internal/_mutex_padding.h", + "external/sources/tbb/internal/_node_handle_impl.h", + "external/sources/tbb/internal/_range_iterator.h", + "external/sources/tbb/internal/_tbb_hash_compare_impl.h", + "external/sources/tbb/internal/_tbb_strings.h", + "external/sources/tbb/internal/_tbb_trace_impl.h", + "external/sources/tbb/internal/_tbb_windef.h", + "external/sources/tbb/internal/_template_helpers.h", + "external/sources/tbb/internal/_warning_suppress_disable_notice.h", + "external/sources/tbb/internal/_warning_suppress_enable_notice.h", + "external/sources/tbb/internal/_x86_eliding_mutex_impl.h", + "external/sources/tbb/internal/_x86_rtm_rw_mutex_impl.h", + "external/sources/tbb/iterators.h", + "external/sources/tbb/machine/gcc_arm.h", + "external/sources/tbb/machine/gcc_generic.h", + "external/sources/tbb/machine/gcc_ia32_common.h", + "external/sources/tbb/machine/gcc_itsx.h", + "external/sources/tbb/machine/ibm_aix51.h", + "external/sources/tbb/machine/icc_generic.h", + "external/sources/tbb/machine/linux_common.h", + "external/sources/tbb/machine/linux_ia32.h", + "external/sources/tbb/machine/linux_ia64.h", + "external/sources/tbb/machine/linux_intel64.h", + "external/sources/tbb/machine/mac_ppc.h", + "external/sources/tbb/machine/macos_common.h", + "external/sources/tbb/machine/mic_common.h", + "external/sources/tbb/machine/msvc_armv7.h", + "external/sources/tbb/machine/msvc_ia32_common.h", + "external/sources/tbb/machine/sunos_sparc.h", + "external/sources/tbb/machine/windows_api.h", + "external/sources/tbb/machine/windows_ia32.h", + "external/sources/tbb/machine/windows_intel64.h", + "external/sources/tbb/memory_pool.h", + "external/sources/tbb/mutex.h", + "external/sources/tbb/null_mutex.h", + "external/sources/tbb/null_rw_mutex.h", + "external/sources/tbb/parallel_do.h", + "external/sources/tbb/parallel_for.h", + "external/sources/tbb/parallel_for_each.h", + "external/sources/tbb/parallel_invoke.h", + "external/sources/tbb/parallel_reduce.h", + "external/sources/tbb/parallel_scan.h", + "external/sources/tbb/parallel_sort.h", + "external/sources/tbb/parallel_while.h", + "external/sources/tbb/partitioner.h", + "external/sources/tbb/pipeline.h", + "external/sources/tbb/queuing_mutex.h", + "external/sources/tbb/queuing_rw_mutex.h", + "external/sources/tbb/reader_writer_lock.h", + "external/sources/tbb/recursive_mutex.h", + "external/sources/tbb/runtime_loader.h", + "external/sources/tbb/scalable_allocator.h", + "external/sources/tbb/spin_mutex.h", + "external/sources/tbb/spin_rw_mutex.h", + "external/sources/tbb/task.h", + "external/sources/tbb/task_arena.h", + "external/sources/tbb/task_group.h", + "external/sources/tbb/task_scheduler_init.h", + "external/sources/tbb/task_scheduler_observer.h", + "external/sources/tbb/tbb.h", + "external/sources/tbb/tbb_allocator.h", + "external/sources/tbb/tbb_config.h", + "external/sources/tbb/tbb_disable_exceptions.h", + "external/sources/tbb/tbb_exception.h", + "external/sources/tbb/tbb_machine.h", + "external/sources/tbb/tbb_profiling.h", + "external/sources/tbb/tbb_stddef.h", + "external/sources/tbb/tbb_thread.h", + "external/sources/tbb/tbbmalloc_proxy.h", + "external/sources/tbb/tick_count.h", + "external/sources/tinydir/COPYING", + "external/sources/tinydir/package.json", + "external/sources/tinydir/tinydir.h", + "external/sources/tinyxml2/tinyxml2.cpp", + "external/sources/tinyxml2/tinyxml2.h", + "external/sources/tommyds/CMakeLists.txt", + "external/sources/tommyds/tommy.c", + "external/sources/tommyds/tommy.h", + "external/sources/tommyds/tommyalloc.c", + "external/sources/tommyds/tommyalloc.h", + "external/sources/tommyds/tommyarray.c", + "external/sources/tommyds/tommyarray.h", + "external/sources/tommyds/tommyarrayblk.c", + "external/sources/tommyds/tommyarrayblk.h", + "external/sources/tommyds/tommyarrayblkof.c", + "external/sources/tommyds/tommyarrayblkof.h", + "external/sources/tommyds/tommyarrayof.c", + "external/sources/tommyds/tommyarrayof.h", + "external/sources/tommyds/tommychain.h", + "external/sources/tommyds/tommyhash.c", + "external/sources/tommyds/tommyhash.h", + "external/sources/tommyds/tommyhashdyn.c", + "external/sources/tommyds/tommyhashdyn.h", + "external/sources/tommyds/tommyhashlin.c", + "external/sources/tommyds/tommyhashlin.h", + "external/sources/tommyds/tommyhashtbl.c", + "external/sources/tommyds/tommyhashtbl.h", + "external/sources/tommyds/tommylist.c", + "external/sources/tommyds/tommylist.h", + "external/sources/tommyds/tommytree.c", + "external/sources/tommyds/tommytree.h", + "external/sources/tommyds/tommytrie.c", + "external/sources/tommyds/tommytrie.h", + "external/sources/tommyds/tommytrieinp.c", + "external/sources/tommyds/tommytrieinp.h", + "external/sources/tommyds/tommytypes.h", + "external/sources/tremolo/CMakeLists.txt", + "external/sources/tremolo/MODULE_LICENSE_BSD_LIKE", + "external/sources/tremolo/NOTICE", + "external/sources/tremolo/README.version", + "external/sources/tremolo/Tremolo/CHANGELOG", + "external/sources/tremolo/Tremolo/COPYING", + "external/sources/tremolo/Tremolo/Makefile", + "external/sources/tremolo/Tremolo/Profile.txt", + "external/sources/tremolo/Tremolo/README", + "external/sources/tremolo/Tremolo/TODO", + "external/sources/tremolo/Tremolo/annotate.c", + "external/sources/tremolo/Tremolo/asm_arm.h", + "external/sources/tremolo/Tremolo/bibble.txt", + "external/sources/tremolo/Tremolo/bitwise.c", + "external/sources/tremolo/Tremolo/bitwiseARM.s", + "external/sources/tremolo/Tremolo/codebook.c", + "external/sources/tremolo/Tremolo/codebook.h", + "external/sources/tremolo/Tremolo/codec_internal.h", + "external/sources/tremolo/Tremolo/config_types.h", + "external/sources/tremolo/Tremolo/dpen.s", + "external/sources/tremolo/Tremolo/dsp.c", + "external/sources/tremolo/Tremolo/floor0.c", + "external/sources/tremolo/Tremolo/floor1.c", + "external/sources/tremolo/Tremolo/floor1ARM.s", + "external/sources/tremolo/Tremolo/floor1LARM.s", + "external/sources/tremolo/Tremolo/floor_lookup.c", + "external/sources/tremolo/Tremolo/framing.c", + "external/sources/tremolo/Tremolo/info.c", + "external/sources/tremolo/Tremolo/ivorbiscodec.h", + "external/sources/tremolo/Tremolo/ivorbisfile.h", + "external/sources/tremolo/Tremolo/ivorbisfile_example.c", + "external/sources/tremolo/Tremolo/lsp_lookup.h", + "external/sources/tremolo/Tremolo/mapping0.c", + "external/sources/tremolo/Tremolo/mdct.c", + "external/sources/tremolo/Tremolo/mdct.h", + "external/sources/tremolo/Tremolo/mdctARM.s", + "external/sources/tremolo/Tremolo/mdctLARM.s", + "external/sources/tremolo/Tremolo/mdct_lookup.h", + "external/sources/tremolo/Tremolo/misc.c", + "external/sources/tremolo/Tremolo/misc.h", + "external/sources/tremolo/Tremolo/ogg.h", + "external/sources/tremolo/Tremolo/os.h", + "external/sources/tremolo/Tremolo/os_types.h", + "external/sources/tremolo/Tremolo/profile.c", + "external/sources/tremolo/Tremolo/res012.c", + "external/sources/tremolo/Tremolo/speed.s", + "external/sources/tremolo/Tremolo/testtremor.c", + "external/sources/tremolo/Tremolo/vorbisfile.c", + "external/sources/tremolo/Tremolo/window_lookup.h", + "external/sources/tremolo/local_modification.diff", + "external/sources/unzip/crypt.h", + "external/sources/unzip/ioapi.cpp", + "external/sources/unzip/ioapi.h", + "external/sources/unzip/ioapi_mem.cpp", + "external/sources/unzip/ioapi_mem.h", + "external/sources/unzip/unzip.cpp", + "external/sources/unzip/unzip.h", + "external/sources/xxhash/CMakeLists.txt", + "external/sources/xxhash/xxhash.c", + "external/sources/xxhash/xxhash.h", + "external/sources/xxtea/xxtea.cpp", + "external/sources/xxtea/xxtea.h", + "external/versions.txt", + "external/win32/CMakeLists.txt", + "external/win32/include/OpenalSoft/al.h", + "external/win32/include/OpenalSoft/alc.h", + "external/win32/include/OpenalSoft/alext.h", + "external/win32/include/OpenalSoft/efx-creative.h", + "external/win32/include/OpenalSoft/efx-presets.h", + "external/win32/include/OpenalSoft/efx.h", + "external/win32/include/curl/curl.h", + "external/win32/include/curl/curlbuild.h", + "external/win32/include/curl/curlrules.h", + "external/win32/include/curl/curlver.h", + "external/win32/include/curl/easy.h", + "external/win32/include/curl/mprintf.h", + "external/win32/include/curl/multi.h", + "external/win32/include/curl/stdcheaders.h", + "external/win32/include/curl/typecheck-gcc.h", + "external/win32/include/freetype/config/ftconfig.h", + "external/win32/include/freetype/config/ftheader.h", + "external/win32/include/freetype/config/ftmodule.h", + "external/win32/include/freetype/config/ftoption.h", + "external/win32/include/freetype/config/ftstdlib.h", + "external/win32/include/freetype/freetype.h", + "external/win32/include/freetype/ft2build.h", + "external/win32/include/freetype/ftadvanc.h", + "external/win32/include/freetype/ftautoh.h", + "external/win32/include/freetype/ftbbox.h", + "external/win32/include/freetype/ftbdf.h", + "external/win32/include/freetype/ftbitmap.h", + "external/win32/include/freetype/ftbzip2.h", + "external/win32/include/freetype/ftcache.h", + "external/win32/include/freetype/ftcffdrv.h", + "external/win32/include/freetype/ftchapters.h", + "external/win32/include/freetype/ftcid.h", + "external/win32/include/freetype/fterrdef.h", + "external/win32/include/freetype/fterrors.h", + "external/win32/include/freetype/ftfntfmt.h", + "external/win32/include/freetype/ftgasp.h", + "external/win32/include/freetype/ftglyph.h", + "external/win32/include/freetype/ftgxval.h", + "external/win32/include/freetype/ftgzip.h", + "external/win32/include/freetype/ftimage.h", + "external/win32/include/freetype/ftincrem.h", + "external/win32/include/freetype/ftlcdfil.h", + "external/win32/include/freetype/ftlist.h", + "external/win32/include/freetype/ftlzw.h", + "external/win32/include/freetype/ftmac.h", + "external/win32/include/freetype/ftmm.h", + "external/win32/include/freetype/ftmodapi.h", + "external/win32/include/freetype/ftmoderr.h", + "external/win32/include/freetype/ftotval.h", + "external/win32/include/freetype/ftoutln.h", + "external/win32/include/freetype/ftpfr.h", + "external/win32/include/freetype/ftrender.h", + "external/win32/include/freetype/ftsizes.h", + "external/win32/include/freetype/ftsnames.h", + "external/win32/include/freetype/ftstroke.h", + "external/win32/include/freetype/ftsynth.h", + "external/win32/include/freetype/ftsystem.h", + "external/win32/include/freetype/fttrigon.h", + "external/win32/include/freetype/ftttdrv.h", + "external/win32/include/freetype/fttypes.h", + "external/win32/include/freetype/ftwinfnt.h", + "external/win32/include/freetype/t1tables.h", + "external/win32/include/freetype/ttnameid.h", + "external/win32/include/freetype/tttables.h", + "external/win32/include/freetype/tttags.h", + "external/win32/include/freetype/ttunpat.h", + "external/win32/include/gles/glew.h", + "external/win32/include/gles/glxew.h", + "external/win32/include/gles/wglew.h", + "external/win32/include/glslang/SPIRV/CMakeLists.txt", + "external/win32/include/glslang/SPIRV/GLSL.ext.AMD.h", + "external/win32/include/glslang/SPIRV/GLSL.ext.EXT.h", + "external/win32/include/glslang/SPIRV/GLSL.ext.KHR.h", + "external/win32/include/glslang/SPIRV/GLSL.ext.NV.h", + "external/win32/include/glslang/SPIRV/GLSL.std.450.h", + "external/win32/include/glslang/SPIRV/GlslangToSpv.cpp", + "external/win32/include/glslang/SPIRV/GlslangToSpv.h", + "external/win32/include/glslang/SPIRV/InReadableOrder.cpp", + "external/win32/include/glslang/SPIRV/Logger.cpp", + "external/win32/include/glslang/SPIRV/Logger.h", + "external/win32/include/glslang/SPIRV/NonSemanticDebugPrintf.h", + "external/win32/include/glslang/SPIRV/SPVRemapper.cpp", + "external/win32/include/glslang/SPIRV/SPVRemapper.h", + "external/win32/include/glslang/SPIRV/SpvBuilder.cpp", + "external/win32/include/glslang/SPIRV/SpvBuilder.h", + "external/win32/include/glslang/SPIRV/SpvPostProcess.cpp", + "external/win32/include/glslang/SPIRV/SpvTools.cpp", + "external/win32/include/glslang/SPIRV/SpvTools.h", + "external/win32/include/glslang/SPIRV/bitutils.h", + "external/win32/include/glslang/SPIRV/disassemble.cpp", + "external/win32/include/glslang/SPIRV/disassemble.h", + "external/win32/include/glslang/SPIRV/doc.cpp", + "external/win32/include/glslang/SPIRV/doc.h", + "external/win32/include/glslang/SPIRV/hex_float.h", + "external/win32/include/glslang/SPIRV/spirv.hpp", + "external/win32/include/glslang/SPIRV/spvIR.h", + "external/win32/include/glslang/StandAlone/CMakeLists.txt", + "external/win32/include/glslang/StandAlone/DirStackFileIncluder.h", + "external/win32/include/glslang/StandAlone/ResourceLimits.cpp", + "external/win32/include/glslang/StandAlone/ResourceLimits.h", + "external/win32/include/glslang/StandAlone/StandAlone.cpp", + "external/win32/include/glslang/StandAlone/Worklist.h", + "external/win32/include/glslang/StandAlone/resource_limits_c.cpp", + "external/win32/include/glslang/StandAlone/resource_limits_c.h", + "external/win32/include/glslang/StandAlone/spirv-remap.cpp", + "external/win32/include/glslang/glslang/CInterface/glslang_c_interface.cpp", + "external/win32/include/glslang/glslang/CMakeLists.txt", + "external/win32/include/glslang/glslang/GenericCodeGen/CodeGen.cpp", + "external/win32/include/glslang/glslang/GenericCodeGen/Link.cpp", + "external/win32/include/glslang/glslang/Include/BaseTypes.h", + "external/win32/include/glslang/glslang/Include/Common.h", + "external/win32/include/glslang/glslang/Include/ConstantUnion.h", + "external/win32/include/glslang/glslang/Include/InfoSink.h", + "external/win32/include/glslang/glslang/Include/InitializeGlobals.h", + "external/win32/include/glslang/glslang/Include/PoolAlloc.h", + "external/win32/include/glslang/glslang/Include/ResourceLimits.h", + "external/win32/include/glslang/glslang/Include/ShHandle.h", + "external/win32/include/glslang/glslang/Include/Types.h", + "external/win32/include/glslang/glslang/Include/arrays.h", + "external/win32/include/glslang/glslang/Include/glslang_c_interface.h", + "external/win32/include/glslang/glslang/Include/glslang_c_shader_types.h", + "external/win32/include/glslang/glslang/Include/intermediate.h", + "external/win32/include/glslang/glslang/Include/revision.h", + "external/win32/include/glslang/glslang/Include/revision.template", + "external/win32/include/glslang/glslang/MachineIndependent/Constant.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/InfoSink.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Initialize.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Initialize.h", + "external/win32/include/glslang/glslang/MachineIndependent/IntermTraverse.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Intermediate.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/LiveTraverser.h", + "external/win32/include/glslang/glslang/MachineIndependent/ParseContextBase.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/ParseHelper.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/ParseHelper.h", + "external/win32/include/glslang/glslang/MachineIndependent/PoolAlloc.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/RemoveTree.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/RemoveTree.h", + "external/win32/include/glslang/glslang/MachineIndependent/Scan.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Scan.h", + "external/win32/include/glslang/glslang/MachineIndependent/ScanContext.h", + "external/win32/include/glslang/glslang/MachineIndependent/ShaderLang.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/SymbolTable.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/SymbolTable.h", + "external/win32/include/glslang/glslang/MachineIndependent/Versions.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/Versions.h", + "external/win32/include/glslang/glslang/MachineIndependent/attribute.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/attribute.h", + "external/win32/include/glslang/glslang/MachineIndependent/gl_types.h", + "external/win32/include/glslang/glslang/MachineIndependent/glslang.m4", + "external/win32/include/glslang/glslang/MachineIndependent/glslang.y", + "external/win32/include/glslang/glslang/MachineIndependent/glslang_tab.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/glslang_tab.cpp.h", + "external/win32/include/glslang/glslang/MachineIndependent/intermOut.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/iomapper.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/iomapper.h", + "external/win32/include/glslang/glslang/MachineIndependent/limits.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/linkValidate.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/localintermediate.h", + "external/win32/include/glslang/glslang/MachineIndependent/parseConst.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/parseVersions.h", + "external/win32/include/glslang/glslang/MachineIndependent/pch.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/pch.h", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpContext.h", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/preprocessor/PpTokens.h", + "external/win32/include/glslang/glslang/MachineIndependent/propagateNoContraction.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/propagateNoContraction.h", + "external/win32/include/glslang/glslang/MachineIndependent/reflection.cpp", + "external/win32/include/glslang/glslang/MachineIndependent/reflection.h", + "external/win32/include/glslang/glslang/OSDependent/Unix/CMakeLists.txt", + "external/win32/include/glslang/glslang/OSDependent/Unix/ossource.cpp", + "external/win32/include/glslang/glslang/OSDependent/Web/CMakeLists.txt", + "external/win32/include/glslang/glslang/OSDependent/Web/glslang.after.js", + "external/win32/include/glslang/glslang/OSDependent/Web/glslang.js.cpp", + "external/win32/include/glslang/glslang/OSDependent/Web/glslang.pre.js", + "external/win32/include/glslang/glslang/OSDependent/Windows/CMakeLists.txt", + "external/win32/include/glslang/glslang/OSDependent/Windows/main.cpp", + "external/win32/include/glslang/glslang/OSDependent/Windows/ossource.cpp", + "external/win32/include/glslang/glslang/OSDependent/osinclude.h", + "external/win32/include/glslang/glslang/Public/ShaderLang.h", + "external/win32/include/glslang/glslang/updateGrammar", + "external/win32/include/glslang/spirv-tools/instrument.hpp", + "external/win32/include/glslang/spirv-tools/libspirv.h", + "external/win32/include/glslang/spirv-tools/libspirv.hpp", + "external/win32/include/glslang/spirv-tools/linker.hpp", + "external/win32/include/glslang/spirv-tools/optimizer.hpp", + "external/win32/include/icon/iconv.h", + "external/win32/include/jpeg/jconfig.h", + "external/win32/include/jpeg/jmorecfg.h", + "external/win32/include/jpeg/jpeglib.h", + "external/win32/include/mpg123/mpg123.h", + "external/win32/include/ogg/ogg.h", + "external/win32/include/ogg/os_types.h", + "external/win32/include/openssl/__DECC_INCLUDE_EPILOGUE.H", + "external/win32/include/openssl/__DECC_INCLUDE_PROLOGUE.H", + "external/win32/include/openssl/aes.h", + "external/win32/include/openssl/applink.c", + "external/win32/include/openssl/asn1.h", + "external/win32/include/openssl/asn1_mac.h", + "external/win32/include/openssl/asn1t.h", + "external/win32/include/openssl/async.h", + "external/win32/include/openssl/bio.h", + "external/win32/include/openssl/blowfish.h", + "external/win32/include/openssl/bn.h", + "external/win32/include/openssl/buffer.h", + "external/win32/include/openssl/camellia.h", + "external/win32/include/openssl/cast.h", + "external/win32/include/openssl/cmac.h", + "external/win32/include/openssl/cms.h", + "external/win32/include/openssl/comp.h", + "external/win32/include/openssl/conf.h", + "external/win32/include/openssl/conf_api.h", + "external/win32/include/openssl/crypto.h", + "external/win32/include/openssl/ct.h", + "external/win32/include/openssl/des.h", + "external/win32/include/openssl/dh.h", + "external/win32/include/openssl/dsa.h", + "external/win32/include/openssl/dtls1.h", + "external/win32/include/openssl/e_os2.h", + "external/win32/include/openssl/ebcdic.h", + "external/win32/include/openssl/ec.h", + "external/win32/include/openssl/ecdh.h", + "external/win32/include/openssl/ecdsa.h", + "external/win32/include/openssl/engine.h", + "external/win32/include/openssl/err.h", + "external/win32/include/openssl/evp.h", + "external/win32/include/openssl/hmac.h", + "external/win32/include/openssl/idea.h", + "external/win32/include/openssl/kdf.h", + "external/win32/include/openssl/lhash.h", + "external/win32/include/openssl/md2.h", + "external/win32/include/openssl/md4.h", + "external/win32/include/openssl/md5.h", + "external/win32/include/openssl/mdc2.h", + "external/win32/include/openssl/modes.h", + "external/win32/include/openssl/obj_mac.h", + "external/win32/include/openssl/objects.h", + "external/win32/include/openssl/ocsp.h", + "external/win32/include/openssl/opensslconf.h", + "external/win32/include/openssl/opensslv.h", + "external/win32/include/openssl/ossl_typ.h", + "external/win32/include/openssl/pem.h", + "external/win32/include/openssl/pem2.h", + "external/win32/include/openssl/pkcs12.h", + "external/win32/include/openssl/pkcs7.h", + "external/win32/include/openssl/rand.h", + "external/win32/include/openssl/rc2.h", + "external/win32/include/openssl/rc4.h", + "external/win32/include/openssl/rc5.h", + "external/win32/include/openssl/ripemd.h", + "external/win32/include/openssl/rsa.h", + "external/win32/include/openssl/safestack.h", + "external/win32/include/openssl/seed.h", + "external/win32/include/openssl/sha.h", + "external/win32/include/openssl/srp.h", + "external/win32/include/openssl/srtp.h", + "external/win32/include/openssl/ssl.h", + "external/win32/include/openssl/ssl2.h", + "external/win32/include/openssl/ssl3.h", + "external/win32/include/openssl/stack.h", + "external/win32/include/openssl/symhacks.h", + "external/win32/include/openssl/tls1.h", + "external/win32/include/openssl/ts.h", + "external/win32/include/openssl/txt_db.h", + "external/win32/include/openssl/ui.h", + "external/win32/include/openssl/whrlpool.h", + "external/win32/include/openssl/x509.h", + "external/win32/include/openssl/x509_vfy.h", + "external/win32/include/openssl/x509v3.h", + "external/win32/include/png/png.h", + "external/win32/include/png/pngconf.h", + "external/win32/include/png/pnglibconf.h", + "external/win32/include/pvrsdk/CL/cl.h", + "external/win32/include/pvrsdk/CL/cl2.hpp", + "external/win32/include/pvrsdk/CL/cl_d3d10.h", + "external/win32/include/pvrsdk/CL/cl_d3d11.h", + "external/win32/include/pvrsdk/CL/cl_dx9_media_sharing.h", + "external/win32/include/pvrsdk/CL/cl_egl.h", + "external/win32/include/pvrsdk/CL/cl_ext.h", + "external/win32/include/pvrsdk/CL/cl_gl.h", + "external/win32/include/pvrsdk/CL/cl_gl_ext.h", + "external/win32/include/pvrsdk/CL/cl_platform.h", + "external/win32/include/pvrsdk/CL/opencl.h", + "external/win32/include/pvrsdk/DynamicEgl.h", + "external/win32/include/pvrsdk/DynamicGles.h", + "external/win32/include/pvrsdk/DynamicOCL.h", + "external/win32/include/pvrsdk/EGL/egl.h", + "external/win32/include/pvrsdk/EGL/eglext.h", + "external/win32/include/pvrsdk/EGL/eglplatform.h", + "external/win32/include/pvrsdk/GLES/egl.h", + "external/win32/include/pvrsdk/GLES/gl.h", + "external/win32/include/pvrsdk/GLES/glext.h", + "external/win32/include/pvrsdk/GLES/glplatform.h", + "external/win32/include/pvrsdk/GLES2/gl2.h", + "external/win32/include/pvrsdk/GLES2/gl2ext.h", + "external/win32/include/pvrsdk/GLES2/gl2platform.h", + "external/win32/include/pvrsdk/GLES3/gl3.h", + "external/win32/include/pvrsdk/GLES3/gl31.h", + "external/win32/include/pvrsdk/GLES3/gl32.h", + "external/win32/include/pvrsdk/GLES3/gl3platform.h", + "external/win32/include/pvrsdk/KHR/khrplatform.h", + "external/win32/include/pvrsdk/PVRScopeComms.h", + "external/win32/include/pvrsdk/PVRScopeStats.h", + "external/win32/include/pvrsdk/pvr_openlib.h", + "external/win32/include/pvrsdk/sdkver.h", + "external/win32/include/pvrsdk/vk_bindings.h", + "external/win32/include/pvrsdk/vk_bindings_helper.h", + "external/win32/include/pvrsdk/vulkan/vk_icd.h", + "external/win32/include/pvrsdk/vulkan/vk_layer.h", + "external/win32/include/pvrsdk/vulkan/vk_platform.h", + "external/win32/include/pvrsdk/vulkan/vulkan.h", + "external/win32/include/pvrsdk/vulkan/vulkan_android.h", + "external/win32/include/pvrsdk/vulkan/vulkan_core.h", + "external/win32/include/pvrsdk/vulkan/vulkan_ios.h", + "external/win32/include/pvrsdk/vulkan/vulkan_macos.h", + "external/win32/include/pvrsdk/vulkan/vulkan_mir.h", + "external/win32/include/pvrsdk/vulkan/vulkan_vi.h", + "external/win32/include/pvrsdk/vulkan/vulkan_wayland.h", + "external/win32/include/pvrsdk/vulkan/vulkan_win32.h", + "external/win32/include/pvrsdk/vulkan/vulkan_xcb.h", + "external/win32/include/pvrsdk/vulkan/vulkan_xlib.h", + "external/win32/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", + "external/win32/include/sdl2/SDL.h", + "external/win32/include/sdl2/SDL_assert.h", + "external/win32/include/sdl2/SDL_atomic.h", + "external/win32/include/sdl2/SDL_audio.h", + "external/win32/include/sdl2/SDL_bits.h", + "external/win32/include/sdl2/SDL_blendmode.h", + "external/win32/include/sdl2/SDL_clipboard.h", + "external/win32/include/sdl2/SDL_config.h", + "external/win32/include/sdl2/SDL_config.h.cmake", + "external/win32/include/sdl2/SDL_config.h.in", + "external/win32/include/sdl2/SDL_config_android.h", + "external/win32/include/sdl2/SDL_config_iphoneos.h", + "external/win32/include/sdl2/SDL_config_macosx.h", + "external/win32/include/sdl2/SDL_config_macosx.h.orig", + "external/win32/include/sdl2/SDL_config_minimal.h", + "external/win32/include/sdl2/SDL_config_pandora.h", + "external/win32/include/sdl2/SDL_config_psp.h", + "external/win32/include/sdl2/SDL_config_windows.h", + "external/win32/include/sdl2/SDL_config_winrt.h", + "external/win32/include/sdl2/SDL_config_wiz.h", + "external/win32/include/sdl2/SDL_copying.h", + "external/win32/include/sdl2/SDL_cpuinfo.h", + "external/win32/include/sdl2/SDL_egl.h", + "external/win32/include/sdl2/SDL_endian.h", + "external/win32/include/sdl2/SDL_error.h", + "external/win32/include/sdl2/SDL_events.h", + "external/win32/include/sdl2/SDL_filesystem.h", + "external/win32/include/sdl2/SDL_gamecontroller.h", + "external/win32/include/sdl2/SDL_gesture.h", + "external/win32/include/sdl2/SDL_haptic.h", + "external/win32/include/sdl2/SDL_hints.h", + "external/win32/include/sdl2/SDL_joystick.h", + "external/win32/include/sdl2/SDL_keyboard.h", + "external/win32/include/sdl2/SDL_keycode.h", + "external/win32/include/sdl2/SDL_loadso.h", + "external/win32/include/sdl2/SDL_log.h", + "external/win32/include/sdl2/SDL_main.h", + "external/win32/include/sdl2/SDL_messagebox.h", + "external/win32/include/sdl2/SDL_mouse.h", + "external/win32/include/sdl2/SDL_mutex.h", + "external/win32/include/sdl2/SDL_name.h", + "external/win32/include/sdl2/SDL_opengl.h", + "external/win32/include/sdl2/SDL_opengl_glext.h", + "external/win32/include/sdl2/SDL_opengles.h", + "external/win32/include/sdl2/SDL_opengles2.h", + "external/win32/include/sdl2/SDL_opengles2_gl2.h", + "external/win32/include/sdl2/SDL_opengles2_gl2ext.h", + "external/win32/include/sdl2/SDL_opengles2_gl2platform.h", + "external/win32/include/sdl2/SDL_opengles2_khrplatform.h", + "external/win32/include/sdl2/SDL_pixels.h", + "external/win32/include/sdl2/SDL_platform.h", + "external/win32/include/sdl2/SDL_power.h", + "external/win32/include/sdl2/SDL_quit.h", + "external/win32/include/sdl2/SDL_rect.h", + "external/win32/include/sdl2/SDL_render.h", + "external/win32/include/sdl2/SDL_revision.h", + "external/win32/include/sdl2/SDL_rwops.h", + "external/win32/include/sdl2/SDL_scancode.h", + "external/win32/include/sdl2/SDL_sensor.h", + "external/win32/include/sdl2/SDL_shape.h", + "external/win32/include/sdl2/SDL_stdinc.h", + "external/win32/include/sdl2/SDL_surface.h", + "external/win32/include/sdl2/SDL_system.h", + "external/win32/include/sdl2/SDL_syswm.h", + "external/win32/include/sdl2/SDL_test.h", + "external/win32/include/sdl2/SDL_test_assert.h", + "external/win32/include/sdl2/SDL_test_common.h", + "external/win32/include/sdl2/SDL_test_compare.h", + "external/win32/include/sdl2/SDL_test_crc32.h", + "external/win32/include/sdl2/SDL_test_font.h", + "external/win32/include/sdl2/SDL_test_fuzzer.h", + "external/win32/include/sdl2/SDL_test_harness.h", + "external/win32/include/sdl2/SDL_test_images.h", + "external/win32/include/sdl2/SDL_test_log.h", + "external/win32/include/sdl2/SDL_test_md5.h", + "external/win32/include/sdl2/SDL_test_memory.h", + "external/win32/include/sdl2/SDL_test_random.h", + "external/win32/include/sdl2/SDL_thread.h", + "external/win32/include/sdl2/SDL_timer.h", + "external/win32/include/sdl2/SDL_touch.h", + "external/win32/include/sdl2/SDL_types.h", + "external/win32/include/sdl2/SDL_version.h", + "external/win32/include/sdl2/SDL_video.h", + "external/win32/include/sdl2/SDL_vulkan.h", + "external/win32/include/sdl2/begin_code.h", + "external/win32/include/sdl2/close_code.h", + "external/win32/include/sqlite3/sqlite3.h", + "external/win32/include/sqlite3/sqlite3ext.h", + "external/win32/include/uv/android-ifaddrs.h", + "external/win32/include/uv/pthread-barrier.h", + "external/win32/include/uv/stdint-msvc2008.h", + "external/win32/include/uv/tree.h", + "external/win32/include/uv/uv-aix.h", + "external/win32/include/uv/uv-bsd.h", + "external/win32/include/uv/uv-darwin.h", + "external/win32/include/uv/uv-errno.h", + "external/win32/include/uv/uv-linux.h", + "external/win32/include/uv/uv-os390.h", + "external/win32/include/uv/uv-posix.h", + "external/win32/include/uv/uv-sunos.h", + "external/win32/include/uv/uv-threadpool.h", + "external/win32/include/uv/uv-unix.h", + "external/win32/include/uv/uv-version.h", + "external/win32/include/uv/uv-win.h", + "external/win32/include/uv/uv.h", + "external/win32/include/v8/libplatform/libplatform-export.h", + "external/win32/include/v8/libplatform/libplatform.h", + "external/win32/include/v8/libplatform/v8-tracing.h", + "external/win32/include/v8/v8-inspector-protocol.h", + "external/win32/include/v8/v8-inspector.h", + "external/win32/include/v8/v8-internal.h", + "external/win32/include/v8/v8-platform.h", + "external/win32/include/v8/v8-profiler.h", + "external/win32/include/v8/v8-testing.h", + "external/win32/include/v8/v8-util.h", + "external/win32/include/v8/v8-value-serializer-version.h", + "external/win32/include/v8/v8-version-string.h", + "external/win32/include/v8/v8-version.h", + "external/win32/include/v8/v8-wasm-trap-handler-posix.h", + "external/win32/include/v8/v8-wasm-trap-handler-win.h", + "external/win32/include/v8/v8.h", + "external/win32/include/v8/v8config.h", + "external/win32/include/vorbis/codec.h", + "external/win32/include/vorbis/vorbisenc.h", + "external/win32/include/vorbis/vorbisfile.h", + "external/win32/include/webp/decode.h", + "external/win32/include/webp/encode.h", + "external/win32/include/webp/types.h", + "external/win32/include/websockets/libwebsockets.h", + "external/win32/include/websockets/lws_config.h", + "external/win32/include/zlib/zconf.h", + "external/win32/include/zlib/zlib.h", + "external/win32/libs/Debug/", + "external/win32/libs/Debug/mozglue.lib", + "external/win32/libs/Debug/mozjs-52.dll", + "external/win32/libs/Debug/mozjs-52.lib", + "external/win32/libs/Debug/nspr4.dll", + "external/win32/libs/OpenAL32.dll", + "external/win32/libs/OpenAL32.lib", + "external/win32/libs/SDL2.dll", + "external/win32/libs/SDL2.lib", + "external/win32/libs/SDL2main.lib", + "external/win32/libs/dbghelp.dll", + "external/win32/libs/freetype.lib", + "external/win32/libs/glew32.dll", + "external/win32/libs/glew32.lib", + "external/win32/libs/glslang/HLSL.lib", + "external/win32/libs/glslang/HLSLd.lib", + "external/win32/libs/glslang/OGLCompiler.lib", + "external/win32/libs/glslang/OGLCompilerd.lib", + "external/win32/libs/glslang/OSDependent.lib", + "external/win32/libs/glslang/OSDependentd.lib", + "external/win32/libs/glslang/SPIRV.lib", + "external/win32/libs/glslang/SPIRVd.lib", + "external/win32/libs/glslang/glslang-default-resource-limits.lib", + "external/win32/libs/glslang/glslang-default-resource-limitsd.lib", + "external/win32/libs/glslang/glslang.lib", + "external/win32/libs/glslang/glslangd.lib", + "external/win32/libs/iconv.dll", + "external/win32/libs/icui18n.dll", + "external/win32/libs/icui18n.dll.lib", + "external/win32/libs/icuuc.dll", + "external/win32/libs/icuuc.dll.lib", + "external/win32/libs/libEGL.dll", + "external/win32/libs/libGLESv2.dll", + "external/win32/libs/libcrypto-1_1.dll", + "external/win32/libs/libcrypto.lib", + "external/win32/libs/libcurl.dll", + "external/win32/libs/libcurl.lib", + "external/win32/libs/libiconv.lib", + "external/win32/libs/libjpeg-2015.lib", + "external/win32/libs/libjpeg.lib", + "external/win32/libs/libmpg123.dll", + "external/win32/libs/libmpg123.lib", + "external/win32/libs/libogg.dll", + "external/win32/libs/libogg.lib", + "external/win32/libs/libpng-2015.lib", + "external/win32/libs/libpng.lib", + "external/win32/libs/libssl-1_1.dll", + "external/win32/libs/libssl.lib", + "external/win32/libs/libuv.lib", + "external/win32/libs/libvorbis.dll", + "external/win32/libs/libvorbis.lib", + "external/win32/libs/libvorbisfile.dll", + "external/win32/libs/libvorbisfile.lib", + "external/win32/libs/libwebp.lib", + "external/win32/libs/libzlib.lib", + "external/win32/libs/nspr4.dll", + "external/win32/libs/sqlite3.dll", + "external/win32/libs/sqlite3.lib", + "external/win32/libs/tbb/tbb_static.lib", + "external/win32/libs/tbb/tbb_static_debug.lib", + "external/win32/libs/tbb/tbbmalloc_proxy_static.lib", + "external/win32/libs/tbb/tbbmalloc_proxy_static_debug.lib", + "external/win32/libs/tbb/tbbmalloc_static.lib", + "external/win32/libs/tbb/tbbmalloc_static_debug.lib", + "external/win32/libs/uv.dll", + "external/win32/libs/v8.dll", + "external/win32/libs/v8.dll.lib", + "external/win32/libs/v8_libbase.dll", + "external/win32/libs/v8_libbase.dll.lib", + "external/win32/libs/v8_libplatform.dll", + "external/win32/libs/v8_libplatform.dll.lib", + "external/win32/libs/websockets.dll", + "external/win32/libs/websockets.lib", + "external/win32/libs/zlib.dll", + "external/win32/libs/zlib.dll.lib", + "external/win32/libs/zlib1.dll", + "package-lock.json", + "unit-test/CMakeLists.txt", + "unit-test/CMakeLists.txt.in", + "unit-test/README", + "unit-test/src/CMakeLists.txt", + "unit-test/src/main.cpp", "unit-test/src/math_vec2_test.cpp" - ], + ], "js": [ - "cocos/bindings/auto/jsb_audio_auto.cpp", - "cocos/bindings/auto/jsb_audio_auto.h", - "cocos/bindings/auto/jsb_cocos_auto.cpp", - "cocos/bindings/auto/jsb_cocos_auto.h", - "cocos/bindings/auto/jsb_dragonbones_auto.cpp", - "cocos/bindings/auto/jsb_dragonbones_auto.h", - "cocos/bindings/auto/jsb_editor_support_auto.cpp", - "cocos/bindings/auto/jsb_editor_support_auto.h", - "cocos/bindings/auto/jsb_extension_auto.cpp", - "cocos/bindings/auto/jsb_extension_auto.h", - "cocos/bindings/auto/jsb_gfx_auto.cpp", - "cocos/bindings/auto/jsb_gfx_auto.h", - "cocos/bindings/auto/jsb_network_auto.cpp", - "cocos/bindings/auto/jsb_network_auto.h", - "cocos/bindings/auto/jsb_pipeline_auto.cpp", - "cocos/bindings/auto/jsb_pipeline_auto.h", - "cocos/bindings/auto/jsb_spine_auto.cpp", - "cocos/bindings/auto/jsb_spine_auto.h", - "cocos/bindings/auto/jsb_video_auto.cpp", - "cocos/bindings/auto/jsb_video_auto.h", - "cocos/bindings/auto/jsb_webview_auto.cpp", - "cocos/bindings/auto/jsb_webview_auto.h", - "cocos/bindings/docs/JSB2.0-Architecture.png", - "cocos/bindings/docs/JSB2.0-learning-en.md", - "cocos/bindings/docs/JSB2.0-learning-zh.md", - "cocos/bindings/docs/jsc-breakpoint.png", - "cocos/bindings/docs/jsc-entitlements-check.png", - "cocos/bindings/docs/jsc-entitlements.png", - "cocos/bindings/docs/jsc-mac-debug.png", - "cocos/bindings/docs/jsc-mac-simulator-sign.png", - "cocos/bindings/docs/jsc-security-key.png", - "cocos/bindings/docs/jsc-timeline.png", - "cocos/bindings/docs/v8-win32-debug.jpg", - "cocos/bindings/docs/v8-win32-memory.jpg", - "cocos/bindings/docs/v8-win32-profile.jpg", - "cocos/bindings/dop/BufferAllocator.cpp", - "cocos/bindings/dop/BufferAllocator.h", - "cocos/bindings/dop/BufferPool.cpp", - "cocos/bindings/dop/BufferPool.h", - "cocos/bindings/dop/ObjectPool.cpp", - "cocos/bindings/dop/ObjectPool.h", - "cocos/bindings/dop/PoolType.h", - "cocos/bindings/dop/jsb_dop.cpp", - "cocos/bindings/dop/jsb_dop.h", - "cocos/bindings/event/CustomEventTypes.h", - "cocos/bindings/event/EventDispatcher.cpp", - "cocos/bindings/event/EventDispatcher.h", - "cocos/bindings/jswrapper/HandleObject.cpp", - "cocos/bindings/jswrapper/HandleObject.h", - "cocos/bindings/jswrapper/MappingUtils.cpp", - "cocos/bindings/jswrapper/MappingUtils.h", - "cocos/bindings/jswrapper/Object.h", - "cocos/bindings/jswrapper/RefCounter.cpp", - "cocos/bindings/jswrapper/RefCounter.h", - "cocos/bindings/jswrapper/SeApi.h", - "cocos/bindings/jswrapper/State.cpp", - "cocos/bindings/jswrapper/State.h", - "cocos/bindings/jswrapper/Value.cpp", - "cocos/bindings/jswrapper/Value.h", - "cocos/bindings/jswrapper/chakracore/Base.h", - "cocos/bindings/jswrapper/chakracore/Class.cpp", - "cocos/bindings/jswrapper/chakracore/Class.h", - "cocos/bindings/jswrapper/chakracore/HelperMacros.h", - "cocos/bindings/jswrapper/chakracore/Object.cpp", - "cocos/bindings/jswrapper/chakracore/Object.h", - "cocos/bindings/jswrapper/chakracore/ScriptEngine.cpp", - "cocos/bindings/jswrapper/chakracore/ScriptEngine.h", - "cocos/bindings/jswrapper/chakracore/SeApi.h", - "cocos/bindings/jswrapper/chakracore/Utils.cpp", - "cocos/bindings/jswrapper/chakracore/Utils.h", - "cocos/bindings/jswrapper/config.cpp", - "cocos/bindings/jswrapper/config.h", - "cocos/bindings/jswrapper/jsc/Base.h", - "cocos/bindings/jswrapper/jsc/Class.cpp", - "cocos/bindings/jswrapper/jsc/Class.h", - "cocos/bindings/jswrapper/jsc/EJConvert.h", - "cocos/bindings/jswrapper/jsc/EJConvert.m", - "cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h", - "cocos/bindings/jswrapper/jsc/EJConvertTypedArray.m", - "cocos/bindings/jswrapper/jsc/HelperMacros.h", - "cocos/bindings/jswrapper/jsc/Object.h", - "cocos/bindings/jswrapper/jsc/Object.mm", - "cocos/bindings/jswrapper/jsc/PlatformUtils.h", - "cocos/bindings/jswrapper/jsc/PlatformUtils.mm", - "cocos/bindings/jswrapper/jsc/ScriptEngine.h", - "cocos/bindings/jswrapper/jsc/ScriptEngine.mm", - "cocos/bindings/jswrapper/jsc/SeApi.h", - "cocos/bindings/jswrapper/jsc/Utils.cpp", - "cocos/bindings/jswrapper/jsc/Utils.h", - "cocos/bindings/jswrapper/sm/Base.h", - "cocos/bindings/jswrapper/sm/Class.cpp", - "cocos/bindings/jswrapper/sm/Class.h", - "cocos/bindings/jswrapper/sm/HelperMacros.h", - "cocos/bindings/jswrapper/sm/Object.cpp", - "cocos/bindings/jswrapper/sm/Object.h", - "cocos/bindings/jswrapper/sm/ScriptEngine.cpp", - "cocos/bindings/jswrapper/sm/ScriptEngine.h", - "cocos/bindings/jswrapper/sm/SeApi.h", - "cocos/bindings/jswrapper/sm/Utils.cpp", - "cocos/bindings/jswrapper/sm/Utils.h", - "cocos/bindings/jswrapper/v8/Base.h", - "cocos/bindings/jswrapper/v8/Class.cpp", - "cocos/bindings/jswrapper/v8/Class.h", - "cocos/bindings/jswrapper/v8/HelperMacros.h", - "cocos/bindings/jswrapper/v8/Object.cpp", - "cocos/bindings/jswrapper/v8/Object.h", - "cocos/bindings/jswrapper/v8/ObjectWrap.cpp", - "cocos/bindings/jswrapper/v8/ObjectWrap.h", - "cocos/bindings/jswrapper/v8/README.md", - "cocos/bindings/jswrapper/v8/ScriptEngine.cpp", - "cocos/bindings/jswrapper/v8/ScriptEngine.h", - "cocos/bindings/jswrapper/v8/SeApi.h", - "cocos/bindings/jswrapper/v8/Utils.cpp", - "cocos/bindings/jswrapper/v8/Utils.h", - "cocos/bindings/jswrapper/v8/debugger/SHA1.cpp", - "cocos/bindings/jswrapper/v8/debugger/SHA1.h", - "cocos/bindings/jswrapper/v8/debugger/base64.h", - "cocos/bindings/jswrapper/v8/debugger/env.cpp", - "cocos/bindings/jswrapper/v8/debugger/env.h", - "cocos/bindings/jswrapper/v8/debugger/http_parser.c", - "cocos/bindings/jswrapper/v8/debugger/http_parser.h", - "cocos/bindings/jswrapper/v8/debugger/inspector_agent.cpp", - "cocos/bindings/jswrapper/v8/debugger/inspector_agent.h", - "cocos/bindings/jswrapper/v8/debugger/inspector_io.cpp", - "cocos/bindings/jswrapper/v8/debugger/inspector_io.h", - "cocos/bindings/jswrapper/v8/debugger/inspector_socket.cpp", - "cocos/bindings/jswrapper/v8/debugger/inspector_socket.h", - "cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.cpp", - "cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.h", - "cocos/bindings/jswrapper/v8/debugger/node.cpp", - "cocos/bindings/jswrapper/v8/debugger/node.h", - "cocos/bindings/jswrapper/v8/debugger/node_debug_options.cpp", - "cocos/bindings/jswrapper/v8/debugger/node_debug_options.h", - "cocos/bindings/jswrapper/v8/debugger/node_mutex.h", - "cocos/bindings/jswrapper/v8/debugger/util-inl.h", - "cocos/bindings/jswrapper/v8/debugger/util.cpp", - "cocos/bindings/jswrapper/v8/debugger/util.h", - "cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h", - "cocos/bindings/manual/JavaScriptJavaBridge.cpp", - "cocos/bindings/manual/JavaScriptJavaBridge.h", - "cocos/bindings/manual/JavaScriptObjCBridge.h", - "cocos/bindings/manual/JavaScriptObjCBridge.mm", - "cocos/bindings/manual/jsb_classtype.cpp", - "cocos/bindings/manual/jsb_classtype.h", - "cocos/bindings/manual/jsb_cocos_manual.cpp", - "cocos/bindings/manual/jsb_cocos_manual.h", - "cocos/bindings/manual/jsb_conversions.cpp", - "cocos/bindings/manual/jsb_conversions.h", - "cocos/bindings/manual/jsb_dragonbones_manual.cpp", - "cocos/bindings/manual/jsb_dragonbones_manual.h", - "cocos/bindings/manual/jsb_extension_manual.cpp", - "cocos/bindings/manual/jsb_extension_manual.h", - "cocos/bindings/manual/jsb_gfx_manual.cpp", - "cocos/bindings/manual/jsb_gfx_manual.h", - "cocos/bindings/manual/jsb_global.cpp", - "cocos/bindings/manual/jsb_global.h", - "cocos/bindings/manual/jsb_global_init.cpp", - "cocos/bindings/manual/jsb_global_init.h", - "cocos/bindings/manual/jsb_helper.cpp", - "cocos/bindings/manual/jsb_helper.h", - "cocos/bindings/manual/jsb_module_register.cpp", - "cocos/bindings/manual/jsb_module_register.h", - "cocos/bindings/manual/jsb_network_manual.cpp", - "cocos/bindings/manual/jsb_network_manual.h", - "cocos/bindings/manual/jsb_pipeline_manual.cpp", - "cocos/bindings/manual/jsb_pipeline_manual.h", - "cocos/bindings/manual/jsb_platform.h", - "cocos/bindings/manual/jsb_platform_android.cpp", - "cocos/bindings/manual/jsb_platfrom_apple.mm", - "cocos/bindings/manual/jsb_platfrom_win32.cpp", - "cocos/bindings/manual/jsb_socketio.cpp", - "cocos/bindings/manual/jsb_socketio.h", - "cocos/bindings/manual/jsb_spine_manual.cpp", - "cocos/bindings/manual/jsb_spine_manual.h", - "cocos/bindings/manual/jsb_websocket.cpp", - "cocos/bindings/manual/jsb_websocket.h", - "cocos/bindings/manual/jsb_websocket_server.cpp", - "cocos/bindings/manual/jsb_websocket_server.h", - "cocos/bindings/manual/jsb_xmlhttprequest.cpp", + "cocos/bindings/auto/jsb_audio_auto.cpp", + "cocos/bindings/auto/jsb_audio_auto.h", + "cocos/bindings/auto/jsb_cocos_auto.cpp", + "cocos/bindings/auto/jsb_cocos_auto.h", + "cocos/bindings/auto/jsb_dragonbones_auto.cpp", + "cocos/bindings/auto/jsb_dragonbones_auto.h", + "cocos/bindings/auto/jsb_editor_support_auto.cpp", + "cocos/bindings/auto/jsb_editor_support_auto.h", + "cocos/bindings/auto/jsb_extension_auto.cpp", + "cocos/bindings/auto/jsb_extension_auto.h", + "cocos/bindings/auto/jsb_gfx_auto.cpp", + "cocos/bindings/auto/jsb_gfx_auto.h", + "cocos/bindings/auto/jsb_network_auto.cpp", + "cocos/bindings/auto/jsb_network_auto.h", + "cocos/bindings/auto/jsb_pipeline_auto.cpp", + "cocos/bindings/auto/jsb_pipeline_auto.h", + "cocos/bindings/auto/jsb_spine_auto.cpp", + "cocos/bindings/auto/jsb_spine_auto.h", + "cocos/bindings/auto/jsb_video_auto.cpp", + "cocos/bindings/auto/jsb_video_auto.h", + "cocos/bindings/auto/jsb_webview_auto.cpp", + "cocos/bindings/auto/jsb_webview_auto.h", + "cocos/bindings/docs/JSB2.0-Architecture.png", + "cocos/bindings/docs/JSB2.0-learning-en.md", + "cocos/bindings/docs/JSB2.0-learning-zh.md", + "cocos/bindings/docs/jsc-breakpoint.png", + "cocos/bindings/docs/jsc-entitlements-check.png", + "cocos/bindings/docs/jsc-entitlements.png", + "cocos/bindings/docs/jsc-mac-debug.png", + "cocos/bindings/docs/jsc-mac-simulator-sign.png", + "cocos/bindings/docs/jsc-security-key.png", + "cocos/bindings/docs/jsc-timeline.png", + "cocos/bindings/docs/v8-win32-debug.jpg", + "cocos/bindings/docs/v8-win32-memory.jpg", + "cocos/bindings/docs/v8-win32-profile.jpg", + "cocos/bindings/dop/BufferAllocator.cpp", + "cocos/bindings/dop/BufferAllocator.h", + "cocos/bindings/dop/BufferPool.cpp", + "cocos/bindings/dop/BufferPool.h", + "cocos/bindings/dop/ObjectPool.cpp", + "cocos/bindings/dop/ObjectPool.h", + "cocos/bindings/dop/PoolType.h", + "cocos/bindings/dop/jsb_dop.cpp", + "cocos/bindings/dop/jsb_dop.h", + "cocos/bindings/event/CustomEventTypes.h", + "cocos/bindings/event/EventDispatcher.cpp", + "cocos/bindings/event/EventDispatcher.h", + "cocos/bindings/jswrapper/HandleObject.cpp", + "cocos/bindings/jswrapper/HandleObject.h", + "cocos/bindings/jswrapper/MappingUtils.cpp", + "cocos/bindings/jswrapper/MappingUtils.h", + "cocos/bindings/jswrapper/Object.h", + "cocos/bindings/jswrapper/RefCounter.cpp", + "cocos/bindings/jswrapper/RefCounter.h", + "cocos/bindings/jswrapper/SeApi.h", + "cocos/bindings/jswrapper/State.cpp", + "cocos/bindings/jswrapper/State.h", + "cocos/bindings/jswrapper/Value.cpp", + "cocos/bindings/jswrapper/Value.h", + "cocos/bindings/jswrapper/chakracore/Base.h", + "cocos/bindings/jswrapper/chakracore/Class.cpp", + "cocos/bindings/jswrapper/chakracore/Class.h", + "cocos/bindings/jswrapper/chakracore/HelperMacros.h", + "cocos/bindings/jswrapper/chakracore/Object.cpp", + "cocos/bindings/jswrapper/chakracore/Object.h", + "cocos/bindings/jswrapper/chakracore/ScriptEngine.cpp", + "cocos/bindings/jswrapper/chakracore/ScriptEngine.h", + "cocos/bindings/jswrapper/chakracore/SeApi.h", + "cocos/bindings/jswrapper/chakracore/Utils.cpp", + "cocos/bindings/jswrapper/chakracore/Utils.h", + "cocos/bindings/jswrapper/config.cpp", + "cocos/bindings/jswrapper/config.h", + "cocos/bindings/jswrapper/jsc/Base.h", + "cocos/bindings/jswrapper/jsc/Class.cpp", + "cocos/bindings/jswrapper/jsc/Class.h", + "cocos/bindings/jswrapper/jsc/EJConvert.h", + "cocos/bindings/jswrapper/jsc/EJConvert.m", + "cocos/bindings/jswrapper/jsc/EJConvertTypedArray.h", + "cocos/bindings/jswrapper/jsc/EJConvertTypedArray.m", + "cocos/bindings/jswrapper/jsc/HelperMacros.h", + "cocos/bindings/jswrapper/jsc/Object.h", + "cocos/bindings/jswrapper/jsc/Object.mm", + "cocos/bindings/jswrapper/jsc/PlatformUtils.h", + "cocos/bindings/jswrapper/jsc/PlatformUtils.mm", + "cocos/bindings/jswrapper/jsc/ScriptEngine.h", + "cocos/bindings/jswrapper/jsc/ScriptEngine.mm", + "cocos/bindings/jswrapper/jsc/SeApi.h", + "cocos/bindings/jswrapper/jsc/Utils.cpp", + "cocos/bindings/jswrapper/jsc/Utils.h", + "cocos/bindings/jswrapper/sm/Base.h", + "cocos/bindings/jswrapper/sm/Class.cpp", + "cocos/bindings/jswrapper/sm/Class.h", + "cocos/bindings/jswrapper/sm/HelperMacros.h", + "cocos/bindings/jswrapper/sm/Object.cpp", + "cocos/bindings/jswrapper/sm/Object.h", + "cocos/bindings/jswrapper/sm/ScriptEngine.cpp", + "cocos/bindings/jswrapper/sm/ScriptEngine.h", + "cocos/bindings/jswrapper/sm/SeApi.h", + "cocos/bindings/jswrapper/sm/Utils.cpp", + "cocos/bindings/jswrapper/sm/Utils.h", + "cocos/bindings/jswrapper/v8/Base.h", + "cocos/bindings/jswrapper/v8/Class.cpp", + "cocos/bindings/jswrapper/v8/Class.h", + "cocos/bindings/jswrapper/v8/HelperMacros.h", + "cocos/bindings/jswrapper/v8/Object.cpp", + "cocos/bindings/jswrapper/v8/Object.h", + "cocos/bindings/jswrapper/v8/ObjectWrap.cpp", + "cocos/bindings/jswrapper/v8/ObjectWrap.h", + "cocos/bindings/jswrapper/v8/README.md", + "cocos/bindings/jswrapper/v8/ScriptEngine.cpp", + "cocos/bindings/jswrapper/v8/ScriptEngine.h", + "cocos/bindings/jswrapper/v8/SeApi.h", + "cocos/bindings/jswrapper/v8/Utils.cpp", + "cocos/bindings/jswrapper/v8/Utils.h", + "cocos/bindings/jswrapper/v8/debugger/SHA1.cpp", + "cocos/bindings/jswrapper/v8/debugger/SHA1.h", + "cocos/bindings/jswrapper/v8/debugger/base64.h", + "cocos/bindings/jswrapper/v8/debugger/env.cpp", + "cocos/bindings/jswrapper/v8/debugger/env.h", + "cocos/bindings/jswrapper/v8/debugger/http_parser.c", + "cocos/bindings/jswrapper/v8/debugger/http_parser.h", + "cocos/bindings/jswrapper/v8/debugger/inspector_agent.cpp", + "cocos/bindings/jswrapper/v8/debugger/inspector_agent.h", + "cocos/bindings/jswrapper/v8/debugger/inspector_io.cpp", + "cocos/bindings/jswrapper/v8/debugger/inspector_io.h", + "cocos/bindings/jswrapper/v8/debugger/inspector_socket.cpp", + "cocos/bindings/jswrapper/v8/debugger/inspector_socket.h", + "cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.cpp", + "cocos/bindings/jswrapper/v8/debugger/inspector_socket_server.h", + "cocos/bindings/jswrapper/v8/debugger/node.cpp", + "cocos/bindings/jswrapper/v8/debugger/node.h", + "cocos/bindings/jswrapper/v8/debugger/node_debug_options.cpp", + "cocos/bindings/jswrapper/v8/debugger/node_debug_options.h", + "cocos/bindings/jswrapper/v8/debugger/node_mutex.h", + "cocos/bindings/jswrapper/v8/debugger/util-inl.h", + "cocos/bindings/jswrapper/v8/debugger/util.cpp", + "cocos/bindings/jswrapper/v8/debugger/util.h", + "cocos/bindings/jswrapper/v8/debugger/v8_inspector_protocol_json.h", + "cocos/bindings/manual/JavaScriptJavaBridge.cpp", + "cocos/bindings/manual/JavaScriptJavaBridge.h", + "cocos/bindings/manual/JavaScriptObjCBridge.h", + "cocos/bindings/manual/JavaScriptObjCBridge.mm", + "cocos/bindings/manual/jsb_classtype.cpp", + "cocos/bindings/manual/jsb_classtype.h", + "cocos/bindings/manual/jsb_cocos_manual.cpp", + "cocos/bindings/manual/jsb_cocos_manual.h", + "cocos/bindings/manual/jsb_conversions.cpp", + "cocos/bindings/manual/jsb_conversions.h", + "cocos/bindings/manual/jsb_dragonbones_manual.cpp", + "cocos/bindings/manual/jsb_dragonbones_manual.h", + "cocos/bindings/manual/jsb_extension_manual.cpp", + "cocos/bindings/manual/jsb_extension_manual.h", + "cocos/bindings/manual/jsb_gfx_manual.cpp", + "cocos/bindings/manual/jsb_gfx_manual.h", + "cocos/bindings/manual/jsb_global.cpp", + "cocos/bindings/manual/jsb_global.h", + "cocos/bindings/manual/jsb_global_init.cpp", + "cocos/bindings/manual/jsb_global_init.h", + "cocos/bindings/manual/jsb_helper.cpp", + "cocos/bindings/manual/jsb_helper.h", + "cocos/bindings/manual/jsb_module_register.cpp", + "cocos/bindings/manual/jsb_module_register.h", + "cocos/bindings/manual/jsb_network_manual.cpp", + "cocos/bindings/manual/jsb_network_manual.h", + "cocos/bindings/manual/jsb_pipeline_manual.cpp", + "cocos/bindings/manual/jsb_pipeline_manual.h", + "cocos/bindings/manual/jsb_platform.h", + "cocos/bindings/manual/jsb_platform_android.cpp", + "cocos/bindings/manual/jsb_platfrom_apple.mm", + "cocos/bindings/manual/jsb_platfrom_win32.cpp", + "cocos/bindings/manual/jsb_socketio.cpp", + "cocos/bindings/manual/jsb_socketio.h", + "cocos/bindings/manual/jsb_spine_manual.cpp", + "cocos/bindings/manual/jsb_spine_manual.h", + "cocos/bindings/manual/jsb_websocket.cpp", + "cocos/bindings/manual/jsb_websocket.h", + "cocos/bindings/manual/jsb_websocket_server.cpp", + "cocos/bindings/manual/jsb_websocket_server.h", + "cocos/bindings/manual/jsb_xmlhttprequest.cpp", "cocos/bindings/manual/jsb_xmlhttprequest.h" ] } \ No newline at end of file From dfdd66732a0a4b7513877eb8fdd6da8d0e88e3a5 Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Fri, 26 Mar 2021 16:12:24 +0800 Subject: [PATCH 202/270] treat warning as error (#3349) --- native/CMakeLists.txt | 50 ++++++++++---------- native/cocos/platform/ios/Application-ios.mm | 6 ++- native/cocos/renderer/gfx-metal/MTLDevice.mm | 2 +- 3 files changed, 31 insertions(+), 27 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 5e8c02785d..934438c960 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -578,15 +578,15 @@ elseif(ANDROID) elseif(APPLE) cocos_source_files( cocos/platform/apple/FileUtils-apple.h - NO_WERROR cocos/platform/apple/Device-apple.mm - NO_WERROR cocos/platform/apple/FileUtils-apple.mm - NO_WERROR cocos/platform/apple/CanvasRenderingContext2D-apple.mm + cocos/platform/apple/Device-apple.mm + cocos/platform/apple/FileUtils-apple.mm + cocos/platform/apple/CanvasRenderingContext2D-apple.mm cocos/platform/apple/Device-apple.h ) # bad structure cocos_source_files( cocos/platform/ios/Reachability.h - NO_WERROR cocos/platform/ios/Reachability.cpp + cocos/platform/ios/Reachability.cpp ) if(MACOSX) cocos_source_files( @@ -600,9 +600,9 @@ elseif(APPLE) elseif(IOS) cocos_source_files( cocos/platform/ios/View.h - NO_WERROR cocos/platform/ios/View.mm - NO_WERROR cocos/platform/ios/Application-ios.mm - NO_WERROR cocos/platform/ios/Device-ios.mm + NO_WERROR cocos/platform/ios/View.mm # CAMetalLayer bug for apple + cocos/platform/ios/Application-ios.mm + cocos/platform/ios/Device-ios.mm ) endif() endif() @@ -936,40 +936,40 @@ if(CC_USE_METAL) cocos_source_files( cocos/renderer/gfx-metal/GFXMTL.h cocos/renderer/gfx-metal/MTLBuffer.h - NO_WERROR cocos/renderer/gfx-metal/MTLBuffer.mm + cocos/renderer/gfx-metal/MTLBuffer.mm cocos/renderer/gfx-metal/MTLCommandBuffer.h - NO_WERROR cocos/renderer/gfx-metal/MTLCommandBuffer.mm + cocos/renderer/gfx-metal/MTLCommandBuffer.mm cocos/renderer/gfx-metal/MTLContext.h - NO_WERROR cocos/renderer/gfx-metal/MTLContext.mm - cocos/renderer/gfx-metal/MTLDevice.h - NO_WERROR cocos/renderer/gfx-metal/MTLDevice.mm - NO_WERROR cocos/renderer/gfx-metal/MTLFramebuffer.mm + NO_WERROR cocos/renderer/gfx-metal/MTLContext.mm # CAMetalLayer bug for apple + cocos/renderer/gfx-metal/MTLDevice.h + NO_WERROR cocos/renderer/gfx-metal/MTLDevice.mm # CAMetalLayer bug for apple + cocos/renderer/gfx-metal/MTLFramebuffer.mm cocos/renderer/gfx-metal/MTLFramebuffer.h cocos/renderer/gfx-metal/MTLGPUObjects.h cocos/renderer/gfx-metal/MTLInputAssembler.h - NO_WERROR cocos/renderer/gfx-metal/MTLInputAssembler.mm + cocos/renderer/gfx-metal/MTLInputAssembler.mm cocos/renderer/gfx-metal/MTLDescriptorSetLayout.h - NO_WERROR cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm + cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm cocos/renderer/gfx-metal/MTLPipelineLayout.h - NO_WERROR cocos/renderer/gfx-metal/MTLPipelineLayout.mm + cocos/renderer/gfx-metal/MTLPipelineLayout.mm cocos/renderer/gfx-metal/MTLPipelineState.h - NO_WERROR cocos/renderer/gfx-metal/MTLPipelineState.mm + cocos/renderer/gfx-metal/MTLPipelineState.mm cocos/renderer/gfx-metal/MTLDescriptorSet.h - NO_WERROR cocos/renderer/gfx-metal/MTLDescriptorSet.mm + cocos/renderer/gfx-metal/MTLDescriptorSet.mm cocos/renderer/gfx-metal/MTLQueue.h - NO_WERROR cocos/renderer/gfx-metal/MTLQueue.mm + cocos/renderer/gfx-metal/MTLQueue.mm cocos/renderer/gfx-metal/MTLRenderPass.h - NO_WERROR cocos/renderer/gfx-metal/MTLRenderPass.mm + cocos/renderer/gfx-metal/MTLRenderPass.mm cocos/renderer/gfx-metal/MTLSampler.h - NO_WERROR cocos/renderer/gfx-metal/MTLSampler.mm + cocos/renderer/gfx-metal/MTLSampler.mm cocos/renderer/gfx-metal/MTLShader.h - NO_WERROR cocos/renderer/gfx-metal/MTLShader.mm - NO_WERROR cocos/renderer/gfx-metal/MTLStd.cpp + cocos/renderer/gfx-metal/MTLShader.mm + cocos/renderer/gfx-metal/MTLStd.cpp cocos/renderer/gfx-metal/MTLStd.h cocos/renderer/gfx-metal/MTLTexture.h - NO_WERROR cocos/renderer/gfx-metal/MTLTexture.mm + cocos/renderer/gfx-metal/MTLTexture.mm cocos/renderer/gfx-metal/MTLUtils.h - NO_WERROR cocos/renderer/gfx-metal/MTLUtils.mm + cocos/renderer/gfx-metal/MTLUtils.mm cocos/renderer/gfx-metal/MTLRenderCommandEncoder.h cocos/renderer/gfx-metal/MTLComputeCommandEncoder.h cocos/renderer/gfx-metal/MTLCommandEncoder.h diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index 10d9f1b101..1a1d6c50b4 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -222,7 +222,11 @@ Application::Platform Application::getPlatform() const { bool Application::openURL(const std::string &url) { NSString *msg = [NSString stringWithCString:url.c_str() encoding:NSUTF8StringEncoding]; NSURL *nsUrl = [NSURL URLWithString:msg]; - return [[UIApplication sharedApplication] openURL:nsUrl]; + __block BOOL flag = false; + [[UIApplication sharedApplication] openURL:nsUrl options:@{} completionHandler:^(BOOL success) { + flag = success; + }]; + return flag; } void Application::copyTextToClipboard(const std::string &text) { diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index 2bfd312c07..e671fc824a 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -376,7 +376,7 @@ void CCMTLDevice::onMemoryWarning() { } uint CCMTLDevice::preferredPixelFormat() { - return [((CAMetalLayer*)_mtlLayer) pixelFormat]; + return static_cast([((CAMetalLayer*)_mtlLayer) pixelFormat]); } } // namespace gfx From 9593a54b760392e276e011b4ae709e5f079def02 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 26 Mar 2021 16:30:09 +0800 Subject: [PATCH 203/270] gfx: lifecyle validations (#3341) * gfx: lifecyle validations * better noexcept workaround * more validations * device layer reflection * fix release build --- native/CMakeLists.txt | 4 +- native/cocos/base/Utils.cpp | 14 ++ native/cocos/base/Utils.h | 9 +- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 71 ------ .../platform/android/Application-android.cpp | 5 +- native/cocos/platform/ios/Application-ios.mm | 5 +- native/cocos/platform/mac/Application-mac.mm | 3 + .../platform/win32/Application-win32.cpp | 17 +- native/cocos/renderer/GFXDeviceManager.h | 20 +- native/cocos/renderer/frame-graph/Resource.h | 2 +- .../renderer/gfx-agent/CommandBufferAgent.cpp | 2 + .../renderer/gfx-agent/DescriptorSetAgent.cpp | 2 + .../cocos/renderer/gfx-base/GFXDef-common.h | 84 +++++-- .../renderer/gfx-base/GFXDescriptorSet.cpp | 53 ++--- native/cocos/renderer/gfx-base/GFXDevice.h | 2 +- native/cocos/renderer/gfx-base/GFXShader.h | 2 +- .../cocos/renderer/gfx-empty/EmptyContext.cpp | 3 + .../cocos/renderer/gfx-empty/EmptyDevice.cpp | 2 + .../cocos/renderer/gfx-gles2/GLES2Buffer.cpp | 1 + .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 1 + .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 1 + .../gfx-gles2/GLES2DescriptorSetLayout.cpp | 1 + .../renderer/gfx-gles2/GLES2Framebuffer.cpp | 1 + .../gfx-gles2/GLES2InputAssembler.cpp | 1 + .../gfx-gles2/GLES2PipelineLayout.cpp | 1 + .../renderer/gfx-gles2/GLES2PipelineState.cpp | 1 + .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 1 + .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 1 + .../renderer/gfx-gles2/GLES2RenderPass.cpp | 1 + .../cocos/renderer/gfx-gles2/GLES2Sampler.cpp | 1 + .../cocos/renderer/gfx-gles2/GLES2Shader.cpp | 1 + .../cocos/renderer/gfx-gles2/GLES2Texture.cpp | 1 + .../cocos/renderer/gfx-gles3/GLES3Buffer.cpp | 1 + .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 1 + .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 1 + .../gfx-gles3/GLES3DescriptorSetLayout.cpp | 1 + .../renderer/gfx-gles3/GLES3Framebuffer.cpp | 1 + .../gfx-gles3/GLES3InputAssembler.cpp | 1 + .../gfx-gles3/GLES3PipelineLayout.cpp | 1 + .../renderer/gfx-gles3/GLES3PipelineState.cpp | 1 + .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 1 + .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 1 + .../renderer/gfx-gles3/GLES3RenderPass.cpp | 1 + .../cocos/renderer/gfx-gles3/GLES3Sampler.cpp | 1 + .../cocos/renderer/gfx-gles3/GLES3Shader.cpp | 1 + .../cocos/renderer/gfx-gles3/GLES3Texture.cpp | 1 + .../gfx-validator/BufferValidator.cpp | 23 ++ .../renderer/gfx-validator/BufferValidator.h | 4 + .../gfx-validator/CommandBufferValidator.cpp | 47 +++- .../DescriptorSetLayoutValidator.cpp | 14 ++ .../gfx-validator/DescriptorSetValidator.cpp | 35 +++ .../gfx-validator/DeviceValidator.cpp | 126 +++++++---- .../renderer/gfx-validator/DeviceValidator.h | 3 +- .../gfx-validator/FramebufferValidator.cpp | 2 + .../gfx-validator/InputAssemblerValidator.cpp | 2 + .../gfx-validator/PipelineLayoutValidator.cpp | 2 + .../gfx-validator/PipelineStateValidator.cpp | 2 + .../renderer/gfx-validator/QueueValidator.cpp | 2 + .../gfx-validator/RenderPassValidator.cpp | 2 + .../gfx-validator/SamplerValidator.cpp | 2 + .../gfx-validator/ShaderValidator.cpp | 2 + .../gfx-validator/TextureValidator.cpp | 18 +- .../renderer/gfx-validator/TextureValidator.h | 4 + .../gfx-validator/ValidationUtils.cpp | 32 +++ .../renderer/gfx-validator/ValidationUtils.h | 125 +++++++++++ native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 5 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 1 + .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 32 ++- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 2 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 12 +- .../gfx-vulkan/VKDescriptorSetLayout.cpp | 11 +- .../gfx-vulkan/VKDescriptorSetLayout.h | 5 + native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 9 +- .../renderer/gfx-vulkan/VKFramebuffer.cpp | 1 + .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 204 +++++++++-------- .../renderer/gfx-vulkan/VKInputAssembler.cpp | 1 + .../renderer/gfx-vulkan/VKPipelineLayout.cpp | 1 + .../renderer/gfx-vulkan/VKPipelineState.cpp | 1 + native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 8 +- .../renderer/gfx-vulkan/VKRenderPass.cpp | 1 + .../cocos/renderer/gfx-vulkan/VKSampler.cpp | 1 + native/cocos/renderer/gfx-vulkan/VKShader.cpp | 1 + .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 1 + native/cocos/renderer/gfx-vulkan/VKUtils.h | 16 +- native/cocos/renderer/pipeline/Define.cpp | 30 ++- native/cocos/renderer/pipeline/Define.h | 13 +- .../pipeline/PipelineStateManager.cpp | 13 +- .../renderer/pipeline/PipelineStateManager.h | 5 +- .../cocos/renderer/pipeline/PipelineUBO.cpp | 159 +++++++------ native/cocos/renderer/pipeline/PipelineUBO.h | 2 + .../pipeline/RenderAdditiveLightQueue.cpp | 10 +- .../renderer/pipeline/RenderPipeline.cpp | 95 ++++---- .../pipeline/deferred/DeferredPipeline.cpp | 208 +++++++++++------- .../pipeline/forward/ForwardPipeline.cpp | 8 +- .../pipeline/forward/ForwardPipeline.h | 2 +- native/external/config.json | 4 +- .../targets/spidermonkey/templates/register.c | 9 +- native/tools/tojs/gles2.ini | 71 ------ native/tools/tojs/gles3.ini | 71 ------ native/tools/tojs/metal.ini | 72 ------ native/tools/tojs/vulkan.ini | 71 ------ native/tools/travis-scripts/run-script.sh | 6 +- 102 files changed, 1063 insertions(+), 874 deletions(-) create mode 100644 native/cocos/renderer/gfx-validator/ValidationUtils.cpp create mode 100644 native/cocos/renderer/gfx-validator/ValidationUtils.h delete mode 100644 native/tools/tojs/gles2.ini delete mode 100644 native/tools/tojs/gles3.ini delete mode 100644 native/tools/tojs/metal.ini delete mode 100644 native/tools/tojs/vulkan.ini diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 934438c960..6e3275210e 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -710,6 +710,8 @@ cocos_source_files( NO_WERROR cocos/renderer/gfx-validator/ShaderValidator.cpp cocos/renderer/gfx-validator/TextureValidator.h NO_WERROR cocos/renderer/gfx-validator/TextureValidator.cpp + cocos/renderer/gfx-validator/ValidationUtils.h + NO_WERROR cocos/renderer/gfx-validator/ValidationUtils.cpp cocos/renderer/gfx-empty/EmptyBuffer.h NO_WERROR cocos/renderer/gfx-empty/EmptyBuffer.cpp @@ -1724,7 +1726,7 @@ target_compile_definitions(cocos2d if(WIN32) target_link_libraries(cocos2d PUBLIC - ws2_32 userenv psapi winmm Version Iphlpapi opengl32 + ws2_32 userenv psapi winmm Iphlpapi ${CC_EXTERNAL_LIBS} ) diff --git a/native/cocos/base/Utils.cpp b/native/cocos/base/Utils.cpp index d95d14c9e4..1fb9c87da0 100644 --- a/native/cocos/base/Utils.cpp +++ b/native/cocos/base/Utils.cpp @@ -36,6 +36,11 @@ #include #include +#define BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED +#include "boost/stacktrace.hpp" + +#include "bindings/jswrapper/SeApi.h" + namespace cc { namespace utils { @@ -68,6 +73,15 @@ int nextPOT(int x) { return x + 1; } +// painfully slow to execute, use with caution +std::string getStacktrace(uint skip, uint maxDepth) { + return boost::stacktrace::to_string(boost::stacktrace::stacktrace(skip, maxDepth)); +} + +std::string getStacktraceJS() { + return se::ScriptEngine::getInstance()->getCurrentStackTrace(); +} + } // namespace utils } // namespace cc diff --git a/native/cocos/base/Utils.h b/native/cocos/base/Utils.h index 5dcd72352d..59a3e32d0a 100644 --- a/native/cocos/base/Utils.h +++ b/native/cocos/base/Utils.h @@ -27,9 +27,10 @@ #pragma once -#include -#include #include "base/Macros.h" +#include "base/TypeDef.h" +#include +#include /** @file ccUtils.h Misc free functions @@ -53,6 +54,10 @@ Examples: */ namespace utils { + +CC_DLL std::string getStacktrace(uint skip = 0, uint maxDepth = UINT_MAX); +CC_DLL std::string getStacktraceJS(); + CC_DLL int nextPOT(int x); /** Same to ::atof, but strip the string, remain 7 numbers after '.' before call atof. * Why we need this? Because in android c++_static, atof ( and std::atof ) is unsupported for numbers have long decimal part and contain diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 3b9d002666..abcba5d700 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -241,7 +241,6 @@ bool js_register_gfx_Size(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DeviceCaps_proto = nullptr; se::Class* __jsb_cc_gfx_DeviceCaps_class = nullptr; @@ -1148,7 +1147,6 @@ bool js_register_gfx_DeviceCaps(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Offset_proto = nullptr; se::Class* __jsb_cc_gfx_Offset_class = nullptr; @@ -1355,7 +1353,6 @@ bool js_register_gfx_Offset(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Rect_proto = nullptr; se::Class* __jsb_cc_gfx_Rect_class = nullptr; @@ -1597,7 +1594,6 @@ bool js_register_gfx_Rect(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Extent_proto = nullptr; se::Class* __jsb_cc_gfx_Extent_class = nullptr; @@ -1804,7 +1800,6 @@ bool js_register_gfx_Extent(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_TextureSubresLayers_proto = nullptr; se::Class* __jsb_cc_gfx_TextureSubresLayers_class = nullptr; @@ -2011,7 +2006,6 @@ bool js_register_gfx_TextureSubresLayers(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_TextureSubresRange_proto = nullptr; se::Class* __jsb_cc_gfx_TextureSubresRange_class = nullptr; @@ -2253,7 +2247,6 @@ bool js_register_gfx_TextureSubresRange(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_TextureCopy_proto = nullptr; se::Class* __jsb_cc_gfx_TextureCopy_class = nullptr; @@ -2530,7 +2523,6 @@ bool js_register_gfx_TextureCopy(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_TextureBlit_proto = nullptr; se::Class* __jsb_cc_gfx_TextureBlit_class = nullptr; @@ -2842,7 +2834,6 @@ bool js_register_gfx_TextureBlit(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_BufferTextureCopy_proto = nullptr; se::Class* __jsb_cc_gfx_BufferTextureCopy_class = nullptr; @@ -3119,7 +3110,6 @@ bool js_register_gfx_BufferTextureCopy(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Viewport_proto = nullptr; se::Class* __jsb_cc_gfx_Viewport_class = nullptr; @@ -3431,7 +3421,6 @@ bool js_register_gfx_Viewport(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Color_proto = nullptr; se::Class* __jsb_cc_gfx_Color_class = nullptr; @@ -3673,7 +3662,6 @@ bool js_register_gfx_Color(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_BindingMappingInfo_proto = nullptr; se::Class* __jsb_cc_gfx_BindingMappingInfo_class = nullptr; @@ -3880,7 +3868,6 @@ bool js_register_gfx_BindingMappingInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_BufferInfo_proto = nullptr; se::Class* __jsb_cc_gfx_BufferInfo_class = nullptr; @@ -4157,7 +4144,6 @@ bool js_register_gfx_BufferInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_BufferViewInfo_proto = nullptr; se::Class* __jsb_cc_gfx_BufferViewInfo_class = nullptr; @@ -4364,7 +4350,6 @@ bool js_register_gfx_BufferViewInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DrawInfo_proto = nullptr; se::Class* __jsb_cc_gfx_DrawInfo_class = nullptr; @@ -4711,7 +4696,6 @@ bool js_register_gfx_DrawInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DispatchInfo_proto = nullptr; se::Class* __jsb_cc_gfx_DispatchInfo_class = nullptr; @@ -4988,7 +4972,6 @@ bool js_register_gfx_DispatchInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_IndirectBuffer_proto = nullptr; se::Class* __jsb_cc_gfx_IndirectBuffer_class = nullptr; @@ -5108,7 +5091,6 @@ bool js_register_gfx_IndirectBuffer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_TextureInfo_proto = nullptr; se::Class* __jsb_cc_gfx_TextureInfo_class = nullptr; @@ -5560,7 +5542,6 @@ bool js_register_gfx_TextureInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_TextureViewInfo_proto = nullptr; se::Class* __jsb_cc_gfx_TextureViewInfo_class = nullptr; @@ -5907,7 +5888,6 @@ bool js_register_gfx_TextureViewInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_SamplerInfo_proto = nullptr; se::Class* __jsb_cc_gfx_SamplerInfo_class = nullptr; @@ -6359,7 +6339,6 @@ bool js_register_gfx_SamplerInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Uniform_proto = nullptr; se::Class* __jsb_cc_gfx_Uniform_class = nullptr; @@ -6566,7 +6545,6 @@ bool js_register_gfx_Uniform(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_UniformBlock_proto = nullptr; se::Class* __jsb_cc_gfx_UniformBlock_class = nullptr; @@ -6843,7 +6821,6 @@ bool js_register_gfx_UniformBlock(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_UniformSamplerTexture_proto = nullptr; se::Class* __jsb_cc_gfx_UniformSamplerTexture_class = nullptr; @@ -7120,7 +7097,6 @@ bool js_register_gfx_UniformSamplerTexture(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_UniformSampler_proto = nullptr; se::Class* __jsb_cc_gfx_UniformSampler_class = nullptr; @@ -7362,7 +7338,6 @@ bool js_register_gfx_UniformSampler(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_UniformTexture_proto = nullptr; se::Class* __jsb_cc_gfx_UniformTexture_class = nullptr; @@ -7639,7 +7614,6 @@ bool js_register_gfx_UniformTexture(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_UniformStorageImage_proto = nullptr; se::Class* __jsb_cc_gfx_UniformStorageImage_class = nullptr; @@ -7951,7 +7925,6 @@ bool js_register_gfx_UniformStorageImage(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_UniformStorageBuffer_proto = nullptr; se::Class* __jsb_cc_gfx_UniformStorageBuffer_class = nullptr; @@ -8228,7 +8201,6 @@ bool js_register_gfx_UniformStorageBuffer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_UniformInputAttachment_proto = nullptr; se::Class* __jsb_cc_gfx_UniformInputAttachment_class = nullptr; @@ -8470,7 +8442,6 @@ bool js_register_gfx_UniformInputAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_ShaderStage_proto = nullptr; se::Class* __jsb_cc_gfx_ShaderStage_class = nullptr; @@ -8642,7 +8613,6 @@ bool js_register_gfx_ShaderStage(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Attribute_proto = nullptr; se::Class* __jsb_cc_gfx_Attribute_class = nullptr; @@ -8954,7 +8924,6 @@ bool js_register_gfx_Attribute(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_ShaderInfo_proto = nullptr; se::Class* __jsb_cc_gfx_ShaderInfo_class = nullptr; @@ -9406,7 +9375,6 @@ bool js_register_gfx_ShaderInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_InputAssemblerInfo_proto = nullptr; se::Class* __jsb_cc_gfx_InputAssemblerInfo_class = nullptr; @@ -9648,7 +9616,6 @@ bool js_register_gfx_InputAssemblerInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_ColorAttachment_proto = nullptr; se::Class* __jsb_cc_gfx_ColorAttachment_class = nullptr; @@ -9960,7 +9927,6 @@ bool js_register_gfx_ColorAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DepthStencilAttachment_proto = nullptr; se::Class* __jsb_cc_gfx_DepthStencilAttachment_class = nullptr; @@ -10342,7 +10308,6 @@ bool js_register_gfx_DepthStencilAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_SubpassInfo_proto = nullptr; se::Class* __jsb_cc_gfx_SubpassInfo_class = nullptr; @@ -10619,7 +10584,6 @@ bool js_register_gfx_SubpassInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_RenderPassInfo_proto = nullptr; se::Class* __jsb_cc_gfx_RenderPassInfo_class = nullptr; @@ -10826,7 +10790,6 @@ bool js_register_gfx_RenderPassInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_GlobalBarrierInfo_proto = nullptr; se::Class* __jsb_cc_gfx_GlobalBarrierInfo_class = nullptr; @@ -10998,7 +10961,6 @@ bool js_register_gfx_GlobalBarrierInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_TextureBarrierInfo_proto = nullptr; se::Class* __jsb_cc_gfx_TextureBarrierInfo_class = nullptr; @@ -11275,7 +11237,6 @@ bool js_register_gfx_TextureBarrierInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_FramebufferInfo_proto = nullptr; se::Class* __jsb_cc_gfx_FramebufferInfo_class = nullptr; @@ -11552,7 +11513,6 @@ bool js_register_gfx_FramebufferInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DescriptorSetLayoutBinding_proto = nullptr; se::Class* __jsb_cc_gfx_DescriptorSetLayoutBinding_class = nullptr; @@ -11829,7 +11789,6 @@ bool js_register_gfx_DescriptorSetLayoutBinding(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DescriptorSetLayoutInfo_proto = nullptr; se::Class* __jsb_cc_gfx_DescriptorSetLayoutInfo_class = nullptr; @@ -11949,7 +11908,6 @@ bool js_register_gfx_DescriptorSetLayoutInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DescriptorSetInfo_proto = nullptr; se::Class* __jsb_cc_gfx_DescriptorSetInfo_class = nullptr; @@ -12069,7 +12027,6 @@ bool js_register_gfx_DescriptorSetInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_PipelineLayoutInfo_proto = nullptr; se::Class* __jsb_cc_gfx_PipelineLayoutInfo_class = nullptr; @@ -12189,7 +12146,6 @@ bool js_register_gfx_PipelineLayoutInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_InputState_proto = nullptr; se::Class* __jsb_cc_gfx_InputState_class = nullptr; @@ -12309,7 +12265,6 @@ bool js_register_gfx_InputState(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_RasterizerState_proto = nullptr; se::Class* __jsb_cc_gfx_RasterizerState_class = nullptr; @@ -12831,7 +12786,6 @@ bool js_register_gfx_RasterizerState(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DepthStencilState_proto = nullptr; se::Class* __jsb_cc_gfx_DepthStencilState_class = nullptr; @@ -13598,7 +13552,6 @@ bool js_register_gfx_DepthStencilState(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_BlendTarget_proto = nullptr; se::Class* __jsb_cc_gfx_BlendTarget_class = nullptr; @@ -13980,7 +13933,6 @@ bool js_register_gfx_BlendTarget(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_BlendState_proto = nullptr; se::Class* __jsb_cc_gfx_BlendState_class = nullptr; @@ -14222,7 +14174,6 @@ bool js_register_gfx_BlendState(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_CommandBufferInfo_proto = nullptr; se::Class* __jsb_cc_gfx_CommandBufferInfo_class = nullptr; @@ -14394,7 +14345,6 @@ bool js_register_gfx_CommandBufferInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_QueueInfo_proto = nullptr; se::Class* __jsb_cc_gfx_QueueInfo_class = nullptr; @@ -14514,7 +14464,6 @@ bool js_register_gfx_QueueInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_MemoryStatus_proto = nullptr; se::Class* __jsb_cc_gfx_MemoryStatus_class = nullptr; @@ -14686,7 +14635,6 @@ bool js_register_gfx_MemoryStatus(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DeviceInfo_proto = nullptr; se::Class* __jsb_cc_gfx_DeviceInfo_class = nullptr; @@ -14998,7 +14946,6 @@ bool js_register_gfx_DeviceInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_GFXObject_proto = nullptr; se::Class* __jsb_cc_gfx_GFXObject_class = nullptr; @@ -15068,7 +15015,6 @@ bool js_register_gfx_GFXObject(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Buffer_proto = nullptr; se::Class* __jsb_cc_gfx_Buffer_class = nullptr; @@ -15290,7 +15236,6 @@ bool js_register_gfx_Buffer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_CommandBuffer_proto = nullptr; se::Class* __jsb_cc_gfx_CommandBuffer_class = nullptr; @@ -16047,7 +15992,6 @@ bool js_register_gfx_CommandBuffer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Context_proto = nullptr; se::Class* __jsb_cc_gfx_Context_class = nullptr; @@ -16226,7 +16170,6 @@ bool js_register_gfx_Context(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DescriptorSet_proto = nullptr; se::Class* __jsb_cc_gfx_DescriptorSet_class = nullptr; @@ -16668,7 +16611,6 @@ bool js_register_gfx_DescriptorSet(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_DescriptorSetLayout_proto = nullptr; se::Class* __jsb_cc_gfx_DescriptorSetLayout_class = nullptr; @@ -16789,7 +16731,6 @@ bool js_register_gfx_DescriptorSetLayout(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Framebuffer_proto = nullptr; se::Class* __jsb_cc_gfx_Framebuffer_class = nullptr; @@ -16951,7 +16892,6 @@ bool js_register_gfx_Framebuffer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_GlobalBarrier_proto = nullptr; se::Class* __jsb_cc_gfx_GlobalBarrier_class = nullptr; @@ -17038,7 +16978,6 @@ bool js_register_gfx_GlobalBarrier(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_InputAssembler_proto = nullptr; se::Class* __jsb_cc_gfx_InputAssembler_class = nullptr; @@ -17492,7 +17431,6 @@ bool js_register_gfx_InputAssembler(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_PipelineLayout_proto = nullptr; se::Class* __jsb_cc_gfx_PipelineLayout_class = nullptr; @@ -17593,7 +17531,6 @@ bool js_register_gfx_PipelineLayout(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_PipelineState_proto = nullptr; se::Class* __jsb_cc_gfx_PipelineState_class = nullptr; @@ -17874,7 +17811,6 @@ bool js_register_gfx_PipelineState(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Queue_proto = nullptr; se::Class* __jsb_cc_gfx_Queue_class = nullptr; @@ -17995,7 +17931,6 @@ bool js_register_gfx_Queue(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_RenderPass_proto = nullptr; se::Class* __jsb_cc_gfx_RenderPass_class = nullptr; @@ -18157,7 +18092,6 @@ bool js_register_gfx_RenderPass(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Sampler_proto = nullptr; se::Class* __jsb_cc_gfx_Sampler_class = nullptr; @@ -18438,7 +18372,6 @@ bool js_register_gfx_Sampler(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Shader_proto = nullptr; se::Class* __jsb_cc_gfx_Shader_class = nullptr; @@ -18739,7 +18672,6 @@ bool js_register_gfx_Shader(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Texture_proto = nullptr; se::Class* __jsb_cc_gfx_Texture_class = nullptr; @@ -19103,7 +19035,6 @@ bool js_register_gfx_Texture(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_TextureBarrier_proto = nullptr; se::Class* __jsb_cc_gfx_TextureBarrier_class = nullptr; @@ -19190,7 +19121,6 @@ bool js_register_gfx_TextureBarrier(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_gfx_Device_proto = nullptr; se::Class* __jsb_cc_gfx_Device_class = nullptr; @@ -20034,7 +19964,6 @@ bool js_register_gfx_Device(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_gfx(se::Object* obj) { // Get the ns diff --git a/native/cocos/platform/android/Application-android.cpp b/native/cocos/platform/android/Application-android.cpp index 80e395d71e..6e2da1ee88 100644 --- a/native/cocos/platform/android/Application-android.cpp +++ b/native/cocos/platform/android/Application-android.cpp @@ -36,8 +36,9 @@ #include "platform/android/jni/JniHelper.h" #include "platform/android/jni/JniCocosActivity.h" -#include "renderer/GFXDeviceManager.h" #include "pipeline/Define.h" +#include "pipeline/RenderPipeline.h" +#include "renderer/GFXDeviceManager.h" #define LOG_APP_TAG "Application_android Debug" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_APP_TAG, __VA_ARGS__) @@ -95,6 +96,8 @@ Application::~Application() { AudioEngine::end(); #endif + pipeline::RenderPipeline::getInstance()->destroy(); + EventDispatcher::destroy(); se::ScriptEngine::destroyInstance(); diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index 1a1d6c50b4..c3c4ea4e27 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -34,8 +34,9 @@ #include "audio/include/AudioEngine.h" #include "platform/Device.h" -#include "renderer/GFXDeviceManager.h" #include "pipeline/Define.h" +#include "pipeline/RenderPipeline.h" +#include "renderer/GFXDeviceManager.h" @interface MyTimer : NSObject { cc::Application *_app; @@ -145,6 +146,8 @@ Application::~Application() { AudioEngine::end(); #endif + pipeline::RenderPipeline::getInstance()->destroy(); + EventDispatcher::destroy(); se::ScriptEngine::destroyInstance(); diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index 8ccb4c5a5c..a8bc3c3229 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -33,6 +33,7 @@ #include #include "pipeline/Define.h" +#include "pipeline/RenderPipeline.h" #include "renderer/GFXDeviceManager.h" #import @@ -140,6 +141,8 @@ Application::~Application() { AudioEngine::end(); #endif + pipeline::RenderPipeline::getInstance()->destroy(); + EventDispatcher::destroy(); se::ScriptEngine::destroyInstance(); diff --git a/native/cocos/platform/win32/Application-win32.cpp b/native/cocos/platform/win32/Application-win32.cpp index 986a3910d4..34458b202b 100644 --- a/native/cocos/platform/win32/Application-win32.cpp +++ b/native/cocos/platform/win32/Application-win32.cpp @@ -42,8 +42,9 @@ #include #include -#include "renderer/GFXDeviceManager.h" #include "pipeline/Define.h" +#include "pipeline/RenderPipeline.h" +#include "renderer/GFXDeviceManager.h" extern std::shared_ptr cc_get_application_view(); @@ -68,6 +69,8 @@ Application::~Application() { AudioEngine::end(); #endif + pipeline::RenderPipeline::getInstance()->destroy(); + EventDispatcher::destroy(); se::ScriptEngine::destroyInstance(); @@ -83,15 +86,15 @@ bool Application::init() { se::ScriptEngine::getInstance()->cleanup(); - auto view = cc_get_application_view(); + auto view = cc_get_application_view(); auto viewSize = view->getViewSize(); gfx::DeviceInfo deviceInfo; - deviceInfo.windowHandle = (uintptr_t)view->getWindowHandler(); - deviceInfo.width = viewSize[0]; - deviceInfo.height = viewSize[1]; - deviceInfo.nativeWidth = viewSize[0]; - deviceInfo.nativeHeight = viewSize[1]; + deviceInfo.windowHandle = (uintptr_t)view->getWindowHandler(); + deviceInfo.width = viewSize[0]; + deviceInfo.height = viewSize[1]; + deviceInfo.nativeWidth = viewSize[0]; + deviceInfo.nativeHeight = viewSize[1]; deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; gfx::DeviceManager::create(deviceInfo); diff --git a/native/cocos/renderer/GFXDeviceManager.h b/native/cocos/renderer/GFXDeviceManager.h index 47ee3768bb..fdbf9f7a62 100644 --- a/native/cocos/renderer/GFXDeviceManager.h +++ b/native/cocos/renderer/GFXDeviceManager.h @@ -31,6 +31,10 @@ #include "gfx-empty/EmptyDevice.h" #include "gfx-validator/DeviceValidator.h" +//#undef CC_USE_VULKAN +//#undef CC_USE_GLES3 +//#undef CC_USE_GLES2 + #ifdef CC_USE_VULKAN #include "gfx-vulkan/GFXVulkan.h" #endif @@ -77,17 +81,23 @@ public: } static void destroy() { - //CC_SAFE_DESTROY(Device::_instance); + CC_SAFE_DESTROY(Device::_instance); } + static constexpr bool useAgent() { return true; } + + static constexpr bool useValidator() { return CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION; } + private: template ::value>> static bool tryCreate(const DeviceInfo &info, Device *&device) { device = CC_NEW(DeviceCtor); - device = CC_NEW(gfx::DeviceAgent(device)); + if (useAgent()) { + device = CC_NEW(gfx::DeviceAgent(device)); + } - if (CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION) { + if (useValidator()) { device = CC_NEW(gfx::DeviceValidator(device)); //((gfx::DeviceValidator *)device)->enableRecording(true); } @@ -105,13 +115,11 @@ private: device->acquireSurface(reinterpret_cast(e.args->ptrVal)); }); - return true; } -// TODO: CI env doesn't have this? #ifndef CC_DEBUG - static constexpr int CC_DEBUG{1}; + static constexpr int CC_DEBUG{0}; #endif static constexpr bool FORCE_DISABLE_VALIDATION{false}; diff --git a/native/cocos/renderer/frame-graph/Resource.h b/native/cocos/renderer/frame-graph/Resource.h index f0ee2ea46e..f4d85e565e 100644 --- a/native/cocos/renderer/frame-graph/Resource.h +++ b/native/cocos/renderer/frame-graph/Resource.h @@ -64,7 +64,7 @@ public: using Descriptor = DescriptorType; using DescriptorHasher = DescriptorHasherType; - Resource() = default; + Resource() noexcept = default; explicit Resource(const Descriptor &desc) noexcept; ~Resource() = default; Resource(const Resource &) = default; diff --git a/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp index 87810787e9..a6d2cf973d 100644 --- a/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp @@ -65,6 +65,8 @@ void CommandBufferAgent::flushCommands(uint count, CommandBufferAgent *const *cm } CommandBufferAgent::~CommandBufferAgent() { + destroyMessageQueue(); + ENQUEUE_MESSAGE_1( DeviceAgent::getInstance()->getMessageQueue(), CommandBufferDestruct, actor, _actor, diff --git a/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp b/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp index 9dd94cddf7..435e567ea4 100644 --- a/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp +++ b/native/cocos/renderer/gfx-agent/DescriptorSetAgent.cpp @@ -71,6 +71,8 @@ void DescriptorSetAgent::doDestroy() { } void DescriptorSetAgent::update() { + _isDirty = false; + ENQUEUE_MESSAGE_1( DeviceAgent::getInstance()->getMessageQueue(), DescriptorSetUpdate, diff --git a/native/cocos/renderer/gfx-base/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h index 373d28289c..348fd28209 100644 --- a/native/cocos/renderer/gfx-base/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -445,9 +445,9 @@ using TextureUsage = TextureUsageBit; CC_ENUM_OPERATORS(TextureUsageBit); enum class TextureFlagBit : FlagBits { - NONE = 0, - GEN_MIPMAP = 0x1, - IMMUTABLE = 0x2, + NONE = 0, + GEN_MIPMAP = 0x1, + IMMUTABLE = 0x2, }; using TextureFlags = TextureFlagBit; CC_ENUM_OPERATORS(TextureFlagBit); @@ -701,27 +701,27 @@ struct Size { }; struct DeviceCaps { - uint maxVertexAttributes = 0u; - uint maxVertexUniformVectors = 0u; - uint maxFragmentUniformVectors = 0u; - uint maxTextureUnits = 0u; - uint maxImageUnits = 0u; - uint maxVertexTextureUnits = 0u; - uint maxColorRenderTargets = 0u; - uint maxShaderStorageBufferBindings = 0u; - uint maxShaderStorageBlockSize = 0u; - uint maxUniformBufferBindings = 0u; - uint maxUniformBlockSize = 0u; - uint maxTextureSize = 0u; - uint maxCubeMapTextureSize = 0u; - uint depthBits = 0u; - uint stencilBits = 0u; - uint uboOffsetAlignment = 1u; + uint maxVertexAttributes = 0u; + uint maxVertexUniformVectors = 0u; + uint maxFragmentUniformVectors = 0u; + uint maxTextureUnits = 0u; + uint maxImageUnits = 0u; + uint maxVertexTextureUnits = 0u; + uint maxColorRenderTargets = 0u; + uint maxShaderStorageBufferBindings = 0u; + uint maxShaderStorageBlockSize = 0u; + uint maxUniformBufferBindings = 0u; + uint maxUniformBlockSize = 0u; + uint maxTextureSize = 0u; + uint maxCubeMapTextureSize = 0u; + uint depthBits = 0u; + uint stencilBits = 0u; + uint uboOffsetAlignment = 1u; - uint maxComputeSharedMemorySize = 0u; - uint maxComputeWorkGroupInvocations = 0u; - Size maxComputeWorkGroupSize; - Size maxComputeWorkGroupCount; + uint maxComputeSharedMemorySize = 0u; + uint maxComputeWorkGroupInvocations = 0u; + Size maxComputeWorkGroupSize; + Size maxComputeWorkGroupCount; float clipSpaceMinZ = -1.0f; float screenSpaceSignY = 1.0f; @@ -1054,6 +1054,23 @@ struct ColorAttachment { StoreOp storeOp = StoreOp::STORE; std::vector beginAccesses; std::vector endAccesses{AccessType::PRESENT}; + + // vector constructor with initializer list is not noexcept + //ColorAttachment() noexcept = default; // this does not work for MSVC intellisense + ColorAttachment( + Format format_ = Format::UNKNOWN, + SampleCount sampleCount_ = SampleCount::X1, + LoadOp loadOp_ = LoadOp::CLEAR, + StoreOp storeOp_ = StoreOp::STORE, + std::vector beginAccesses_ = {}, + std::vector endAccesses_ = {AccessType::PRESENT}) noexcept { + format = format_; + sampleCount = sampleCount_; + loadOp = loadOp_; + storeOp = storeOp_; + beginAccesses = beginAccesses_; + endAccesses = endAccesses_; + } }; using ColorAttachmentList = vector; @@ -1067,6 +1084,27 @@ struct DepthStencilAttachment { StoreOp stencilStoreOp = StoreOp::STORE; std::vector beginAccesses; std::vector endAccesses{AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; + + // vector constructor with initializer list is not noexcept + //DepthStencilAttachment() noexcept = default; // this does not work for MSVC intellisense + DepthStencilAttachment( + Format format_ = Format::UNKNOWN, + SampleCount sampleCount_ = SampleCount::X1, + LoadOp depthLoadOp_ = LoadOp::CLEAR, + StoreOp depthStoreOp_ = StoreOp::STORE, + LoadOp stencilLoadOp_ = LoadOp::CLEAR, + StoreOp stencilStoreOp_ = StoreOp::STORE, + std::vector beginAccesses_ = {}, + std::vector endAccesses_ = {AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}) noexcept { + format = format_; + sampleCount = sampleCount_; + depthLoadOp = depthLoadOp_; + depthStoreOp = depthStoreOp_; + stencilLoadOp = stencilLoadOp_; + stencilStoreOp = stencilStoreOp_; + beginAccesses = beginAccesses_; + endAccesses = endAccesses_; + } }; struct SubpassInfo { diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp index f22eb9dc91..5f4b40f383 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp @@ -40,6 +40,8 @@ DescriptorSet::~DescriptorSet() { } void DescriptorSet::initialize(const DescriptorSetInfo& info) { + CCASSERT(info.layout, "Invalid set layout"); + _layout = info.layout; uint descriptorCount = _layout->getDescriptorCount(); _buffers.resize(descriptorCount); @@ -60,53 +62,26 @@ void DescriptorSet::destroy() { } void DescriptorSet::bindBuffer(uint binding, Buffer *buffer, uint index) { - const vector & bindingIndices = _layout->getBindingIndices(); - const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); - if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; - - const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - if (info.descriptorType & DESCRIPTOR_BUFFER_TYPE) { - const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; - if (_buffers[descriptorIndex + index] != buffer) { - _buffers[descriptorIndex + index] = buffer; - _isDirty = true; - } - } else { - CCASSERT(false, "Setting binding is not DESCRIPTOR_BUFFER_TYPE."); + const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; + if (_buffers[descriptorIndex + index] != buffer) { + _buffers[descriptorIndex + index] = buffer; + _isDirty = true; } } void DescriptorSet::bindTexture(uint binding, Texture *texture, uint index) { - const vector & bindingIndices = _layout->getBindingIndices(); - const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); - if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; - - const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - if (info.descriptorType & DESCRIPTOR_TEXTURE_TYPE) { - const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; - if (_textures[descriptorIndex + index] != texture) { - _textures[descriptorIndex + index] = texture; - _isDirty = true; - } - } else { - CCASSERT(false, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE."); + const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; + if (_textures[descriptorIndex + index] != texture) { + _textures[descriptorIndex + index] = texture; + _isDirty = true; } } void DescriptorSet::bindSampler(uint binding, Sampler *sampler, uint index) { - const vector & bindingIndices = _layout->getBindingIndices(); - const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); - if (binding >= bindingIndices.size() || bindingIndices[binding] >= bindings.size()) return; - - const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - if (info.descriptorType & DESCRIPTOR_TEXTURE_TYPE) { - const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; - if (_samplers[descriptorIndex + index] != sampler) { - _samplers[descriptorIndex + index] = sampler; - _isDirty = true; - } - } else { - CCASSERT(false, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE."); + const uint descriptorIndex = _layout->getDescriptorIndices()[binding]; + if (_samplers[descriptorIndex + index] != sampler) { + _samplers[descriptorIndex + index] = sampler; + _isDirty = true; } } diff --git a/native/cocos/renderer/gfx-base/GFXDevice.h b/native/cocos/renderer/gfx-base/GFXDevice.h index eccafc74a1..b9399e5b0a 100644 --- a/native/cocos/renderer/gfx-base/GFXDevice.h +++ b/native/cocos/renderer/gfx-base/GFXDevice.h @@ -100,7 +100,7 @@ public: inline const String & getDeviceName() const { return _deviceName; } inline const String & getRenderer() const { return _renderer; } inline const String & getVendor() const { return _vendor; } - inline bool hasFeature(Feature feature) const { return _features[static_cast(feature)]; } + inline bool hasFeature(Feature feature) const { return _features[static_cast(feature)]; } inline const BindingMappingInfo &bindingMappingInfo() const { return _bindingMappingInfo; } diff --git a/native/cocos/renderer/gfx-base/GFXShader.h b/native/cocos/renderer/gfx-base/GFXShader.h index 013ecd6353..7586e36488 100644 --- a/native/cocos/renderer/gfx-base/GFXShader.h +++ b/native/cocos/renderer/gfx-base/GFXShader.h @@ -52,7 +52,7 @@ public: protected: static uint generateShaderID() noexcept { - static uint _idGen = 0; + static uint _idGen = 10000; return _idGen++; } diff --git a/native/cocos/renderer/gfx-empty/EmptyContext.cpp b/native/cocos/renderer/gfx-empty/EmptyContext.cpp index ff3c1b4da4..c558b54e98 100644 --- a/native/cocos/renderer/gfx-empty/EmptyContext.cpp +++ b/native/cocos/renderer/gfx-empty/EmptyContext.cpp @@ -29,6 +29,9 @@ namespace cc { namespace gfx { bool EmptyContext::doInit(const ContextInfo &info) { + _colorFmt = Format::RGBA8; + _depthStencilFmt = Format::D24S8; + return true; } diff --git a/native/cocos/renderer/gfx-empty/EmptyDevice.cpp b/native/cocos/renderer/gfx-empty/EmptyDevice.cpp index a27c459ddd..e07e8c6f32 100644 --- a/native/cocos/renderer/gfx-empty/EmptyDevice.cpp +++ b/native/cocos/renderer/gfx-empty/EmptyDevice.cpp @@ -77,6 +77,8 @@ bool EmptyDevice::doInit(const DeviceInfo &info) { cmdBuffInfo.queue = _queue; _cmdBuff = createCommandBuffer(cmdBuffInfo); + _features[static_cast(Feature::FORMAT_D24S8)] = true; + CC_LOG_INFO("Empty device initialized."); CC_LOG_INFO("SCREEN_SIZE: %d x %d", _width, _height); CC_LOG_INFO("NATIVE_SIZE: %d x %d", _nativeWidth, _nativeHeight); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp index 701b35b48d..70e5bb7a82 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp @@ -37,6 +37,7 @@ GLES2Buffer::GLES2Buffer() } GLES2Buffer::~GLES2Buffer() { + destroy(); } void GLES2Buffer::doInit(const BufferInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index c407310cac..3e2aa6f8a3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -43,6 +43,7 @@ GLES2CommandBuffer::GLES2CommandBuffer() } GLES2CommandBuffer::~GLES2CommandBuffer() { + destroy(); } void GLES2CommandBuffer::doInit(const CommandBufferInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index 121f3c5a8b..a56191d3a9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -40,6 +40,7 @@ GLES2DescriptorSet::GLES2DescriptorSet() } GLES2DescriptorSet::~GLES2DescriptorSet() { + destroy(); } void GLES2DescriptorSet::doInit(const DescriptorSetInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp index 3845c1b9e1..ecc8ae705f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp @@ -36,6 +36,7 @@ GLES2DescriptorSetLayout::GLES2DescriptorSetLayout() } GLES2DescriptorSetLayout::~GLES2DescriptorSetLayout() { + destroy(); } void GLES2DescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp index 16a2cadc63..1912e782cf 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp @@ -39,6 +39,7 @@ GLES2Framebuffer::GLES2Framebuffer() } GLES2Framebuffer::~GLES2Framebuffer() { + destroy(); } void GLES2Framebuffer::doInit(const FramebufferInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp index a4b0bad0fc..7ba146f931 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp @@ -38,6 +38,7 @@ GLES2InputAssembler::GLES2InputAssembler() } GLES2InputAssembler::~GLES2InputAssembler() { + destroy(); } void GLES2InputAssembler::doInit(const InputAssemblerInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp index 0e01c830bd..9ae8d2f6b9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp @@ -37,6 +37,7 @@ GLES2PipelineLayout::GLES2PipelineLayout() } GLES2PipelineLayout::~GLES2PipelineLayout() { + destroy(); } void GLES2PipelineLayout::doInit(const PipelineLayoutInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp index 11269c687a..70bae393c2 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PipelineState.cpp @@ -56,6 +56,7 @@ GLES2PipelineState::GLES2PipelineState() } GLES2PipelineState::~GLES2PipelineState() { + destroy(); } void GLES2PipelineState::doInit(const PipelineStateInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index efee7d2152..9a3fafc8e4 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -43,6 +43,7 @@ GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer() } GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { + destroy(); } void GLES2PrimaryCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index 9dbc1dc6a6..ffac5995b3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -38,6 +38,7 @@ GLES2Queue::GLES2Queue() } GLES2Queue::~GLES2Queue() { + destroy(); } void GLES2Queue::doInit(const QueueInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp index eec4b27392..2e540e7ef2 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2RenderPass.cpp @@ -35,6 +35,7 @@ GLES2RenderPass::GLES2RenderPass() } GLES2RenderPass::~GLES2RenderPass() { + destroy(); } void GLES2RenderPass::doInit(const RenderPassInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp index 5839a0da01..e18f10b2ea 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp @@ -37,6 +37,7 @@ GLES2Sampler::GLES2Sampler() } GLES2Sampler::~GLES2Sampler() { + destroy(); } void GLES2Sampler::doInit(const SamplerInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp index fd3d3d6500..6e8ff19fa0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp @@ -37,6 +37,7 @@ GLES2Shader::GLES2Shader() } GLES2Shader::~GLES2Shader() { + destroy(); } void GLES2Shader::doInit(const ShaderInfo &info) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp index 46418a74db..5592aabda5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp @@ -37,6 +37,7 @@ GLES2Texture::GLES2Texture() } GLES2Texture::~GLES2Texture() { + destroy(); } void GLES2Texture::doInit(const TextureInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp index ede5517642..27623d06f4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp @@ -37,6 +37,7 @@ GLES3Buffer::GLES3Buffer() } GLES3Buffer::~GLES3Buffer() { + destroy(); } void GLES3Buffer::doInit(const BufferInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 4a3a49774c..c5f4c6e4e6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -44,6 +44,7 @@ GLES3CommandBuffer::GLES3CommandBuffer() } GLES3CommandBuffer::~GLES3CommandBuffer() { + destroy(); } void GLES3CommandBuffer::doInit(const CommandBufferInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index cb4a084f32..0e301d713a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -40,6 +40,7 @@ GLES3DescriptorSet::GLES3DescriptorSet() } GLES3DescriptorSet::~GLES3DescriptorSet() { + destroy(); } void GLES3DescriptorSet::doInit(const DescriptorSetInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp index f95a406a95..4694762ad4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp @@ -36,6 +36,7 @@ GLES3DescriptorSetLayout::GLES3DescriptorSetLayout() } GLES3DescriptorSetLayout::~GLES3DescriptorSetLayout() { + destroy(); } void GLES3DescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp index 2a31364000..2ea47a4284 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp @@ -39,6 +39,7 @@ GLES3Framebuffer::GLES3Framebuffer() } GLES3Framebuffer::~GLES3Framebuffer() { + destroy(); } void GLES3Framebuffer::doInit(const FramebufferInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp index 72fea3adfb..ae8dc7cb8b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp @@ -38,6 +38,7 @@ GLES3InputAssembler::GLES3InputAssembler() } GLES3InputAssembler::~GLES3InputAssembler() { + destroy(); } void GLES3InputAssembler::doInit(const InputAssemblerInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp index ee4ccd268f..ac1f599104 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp @@ -37,6 +37,7 @@ GLES3PipelineLayout::GLES3PipelineLayout() } GLES3PipelineLayout::~GLES3PipelineLayout() { + destroy(); } void GLES3PipelineLayout::doInit(const PipelineLayoutInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp index af0c7dcada..83fe62fe7d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PipelineState.cpp @@ -56,6 +56,7 @@ GLES3PipelineState::GLES3PipelineState() } GLES3PipelineState::~GLES3PipelineState() { + destroy(); } void GLES3PipelineState::doInit(const PipelineStateInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 6d2c4d96b4..5e15fbb031 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -44,6 +44,7 @@ GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer() } GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { + destroy(); } void GLES3PrimaryCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index 69a5b75a88..e4249f7407 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -38,6 +38,7 @@ GLES3Queue::GLES3Queue() } GLES3Queue::~GLES3Queue() { + destroy(); } void GLES3Queue::doInit(const QueueInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp index 92a99c90ad..5a1b33a61a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3RenderPass.cpp @@ -35,6 +35,7 @@ GLES3RenderPass::GLES3RenderPass() } GLES3RenderPass::~GLES3RenderPass() { + destroy(); } void GLES3RenderPass::doInit(const RenderPassInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp index 048a083452..e4308f581c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp @@ -37,6 +37,7 @@ GLES3Sampler::GLES3Sampler() } GLES3Sampler::~GLES3Sampler() { + destroy(); } void GLES3Sampler::doInit(const SamplerInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp index c8c6079ec0..5cfe925efd 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp @@ -37,6 +37,7 @@ GLES3Shader::GLES3Shader() } GLES3Shader::~GLES3Shader() { + destroy(); } void GLES3Shader::doInit(const ShaderInfo &info) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp index 1d5489b0d0..4a37a510e8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp @@ -37,6 +37,7 @@ GLES3Texture::GLES3Texture() } GLES3Texture::~GLES3Texture() { + destroy(); } void GLES3Texture::doInit(const TextureInfo &info) { diff --git a/native/cocos/renderer/gfx-validator/BufferValidator.cpp b/native/cocos/renderer/gfx-validator/BufferValidator.cpp index cc8d21a712..620b71e73e 100644 --- a/native/cocos/renderer/gfx-validator/BufferValidator.cpp +++ b/native/cocos/renderer/gfx-validator/BufferValidator.cpp @@ -28,11 +28,13 @@ #include "BufferValidator.h" #include "DeviceValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { BufferValidator::~BufferValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } @@ -45,6 +47,8 @@ void BufferValidator::doInit(const BufferInfo &info) { CCASSERT(false, "invalid stride for vertex buffer"); } + /////////// execute /////////// + _actor->initialize(info); } @@ -52,6 +56,8 @@ void BufferValidator::doInit(const BufferViewInfo &info) { CCASSERT(info.buffer, "invalid source buffer"); CCASSERT(info.offset + info.range <= info.buffer->getSize(), "invalid range"); + /////////// execute /////////// + BufferViewInfo actorInfo = info; actorInfo.buffer = static_cast(info.buffer)->getActor(); @@ -62,6 +68,8 @@ void BufferValidator::doResize(uint size, uint count) { CCASSERT(!_isBufferView, "cannot resize through buffer views"); CCASSERT(size, "invalid size"); + /////////// execute /////////// + _actor->resize(size); } @@ -90,8 +98,23 @@ void BufferValidator::update(void *buffer, uint size) { memcpy(_buffer.data(), buffer, size); } + updateRedundencyCheck(); + + /////////// execute /////////// + _actor->update(buffer, size); } +void BufferValidator::updateRedundencyCheck() { + uint cur = DeviceValidator::getInstance()->currentFrame(); + + if (cur == _lastUpdateFrame) { + CC_LOG_WARNING(utils::getStacktraceJS().c_str()); + CC_LOG_WARNING("performance warning: buffer updated more than once per frame"); + } + + _lastUpdateFrame = cur; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-validator/BufferValidator.h b/native/cocos/renderer/gfx-validator/BufferValidator.h index 42a0ad7d6b..269ca6ff1e 100644 --- a/native/cocos/renderer/gfx-validator/BufferValidator.h +++ b/native/cocos/renderer/gfx-validator/BufferValidator.h @@ -38,6 +38,8 @@ public: void update(void *buffer, uint size) override; + void updateRedundencyCheck(); + protected: void doInit(const BufferInfo &info) override; void doInit(const BufferViewInfo &info) override; @@ -45,6 +47,8 @@ protected: void doDestroy() override; vector _buffer; + + uint _lastUpdateFrame = 0u; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp b/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp index 2331bd0f61..efe73703a2 100644 --- a/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp +++ b/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp @@ -37,15 +37,20 @@ #include "QueueValidator.h" #include "RenderPassValidator.h" #include "TextureValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { CommandBufferValidator::~CommandBufferValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } void CommandBufferValidator::doInit(const CommandBufferInfo &info) { + + /////////// execute /////////// + CommandBufferInfo actorInfo = info; actorInfo.queue = static_cast(info.queue)->getActor(); @@ -58,10 +63,13 @@ void CommandBufferValidator::doDestroy() { void CommandBufferValidator::begin(RenderPass *renderPass, uint subpass, Framebuffer *framebuffer) { CCASSERT(!_insideRenderPass, "Already inside an render pass?"); + CCASSERT(_type != CommandBufferType::PRIMARY || !renderPass, "Primary command buffer cannot inherit render passes"); // secondary command buffers enter the render pass right here _insideRenderPass = !!renderPass; + /////////// execute /////////// + RenderPass * renderPassActor = renderPass ? static_cast(renderPass)->getActor() : nullptr; Framebuffer *framebufferActor = framebuffer ? static_cast(framebuffer)->getActor() : nullptr; @@ -69,11 +77,11 @@ void CommandBufferValidator::begin(RenderPass *renderPass, uint subpass, Framebu } void CommandBufferValidator::end() { - if (_type == CommandBufferType::PRIMARY && _insideRenderPass) { - CCASSERT(false, "Still inside an render pass?"); - } + CCASSERT(_type != CommandBufferType::PRIMARY || !_insideRenderPass, "Still inside an render pass?"); _insideRenderPass = false; + /////////// execute /////////// + _actor->end(); } @@ -88,6 +96,8 @@ void CommandBufferValidator::beginRenderPass(RenderPass *renderPass, Framebuffer static vector secondaryCBActors; secondaryCBActors.resize(secondaryCBCount); + /////////// execute /////////// + RenderPass * renderPassActor = renderPass ? static_cast(renderPass)->getActor() : nullptr; Framebuffer *framebufferActor = fbo ? static_cast(fbo)->getActor() : nullptr; @@ -107,6 +117,8 @@ void CommandBufferValidator::endRenderPass() { CCASSERT(_insideRenderPass, "No render pass to end?"); _insideRenderPass = false; + /////////// execute /////////// + _actor->endRenderPass(); } @@ -114,6 +126,8 @@ void CommandBufferValidator::execute(CommandBuffer *const *cmdBuffs, uint32_t co if (!count) return; // be more lenient on this for now CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'execute' must be recorded in primary command buffers."); + /////////// execute /////////// + static vector cmdBuffActors; cmdBuffActors.resize(count); @@ -169,9 +183,9 @@ void CommandBufferValidator::setStencilCompareMask(StencilFace face, int ref, ui } void CommandBufferValidator::draw(InputAssembler *ia) { - if (_type == CommandBufferType::PRIMARY && !_insideRenderPass) { - CCASSERT(false, "Command 'draw' must be recorded inside render passes."); - } + CCASSERT(_insideRenderPass, "Command 'draw' must be recorded inside render passes."); + + /////////// execute /////////// _actor->draw(static_cast(ia)->getActor()); } @@ -180,19 +194,31 @@ void CommandBufferValidator::updateBuffer(Buffer *buff, const void *data, uint s CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'updateBuffer' must be recorded in primary command buffers."); CCASSERT(!_insideRenderPass, "Command 'updateBuffer' must be recorded outside render passes."); - _actor->updateBuffer(static_cast(buff)->getActor(), data, size); + auto bufferValidator = static_cast(buff); + bufferValidator->updateRedundencyCheck(); + + /////////// execute /////////// + + _actor->updateBuffer(bufferValidator->getActor(), data, size); } void CommandBufferValidator::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'copyBuffersToTexture' must be recorded in primary command buffers."); CCASSERT(!_insideRenderPass, "Command 'copyBuffersToTexture' must be recorded outside render passes."); - _actor->copyBuffersToTexture(buffers, static_cast(texture)->getActor(), regions, count); + auto textureValidator = static_cast(texture); + textureValidator->updateRedundencyCheck(); + + /////////// execute /////////// + + _actor->copyBuffersToTexture(buffers, textureValidator->getActor(), regions, count); } void CommandBufferValidator::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { CCASSERT(!_insideRenderPass, "Command 'blitTexture' must be recorded outside render passes."); + /////////// execute /////////// + Texture *actorSrcTexture = nullptr; Texture *actorDstTexture = nullptr; if (srcTexture) actorSrcTexture = static_cast(srcTexture)->getActor(); @@ -204,6 +230,8 @@ void CommandBufferValidator::blitTexture(Texture *srcTexture, Texture *dstTextur void CommandBufferValidator::dispatch(const DispatchInfo &info) { CCASSERT(!_insideRenderPass, "Command 'dispatch' must be recorded outside render passes."); + /////////// execute /////////// + DispatchInfo actorInfo = info; if (info.indirectBuffer) actorInfo.indirectBuffer = static_cast(info.indirectBuffer)->getActor(); @@ -211,6 +239,9 @@ void CommandBufferValidator::dispatch(const DispatchInfo &info) { } void CommandBufferValidator::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { + + /////////// execute /////////// + static vector textureActors; textureActors.resize(textureBarrierCount); diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp index 03378bd1c8..3a34ca9e52 100644 --- a/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp +++ b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp @@ -28,15 +28,29 @@ #include "DeviceValidator.h" #include "DescriptorSetLayoutValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { DescriptorSetLayoutValidator::~DescriptorSetLayoutValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } void DescriptorSetLayoutValidator::doInit(const DescriptorSetLayoutInfo &info) { + for (const DescriptorSetLayoutBinding &binding : info.bindings) { + CCASSERT(binding.binding != GFX_INVALID_BINDING, "Invalid binding"); + CCASSERT(binding.descriptorType != DescriptorType::UNKNOWN, "Invalid binding type"); + CCASSERT(binding.count, "Invalid binding count"); + CCASSERT(binding.stageFlags != ShaderStageFlagBit::NONE, "Invalid binding stage flags"); + for (const Sampler *sampler : binding.immutableSamplers) { + CCASSERT(sampler, "Invalid immutable sampler"); + } + } + + /////////// execute /////////// + _actor->initialize(info); } diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp b/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp index 6e761dea3d..156104f1e7 100644 --- a/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp +++ b/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp @@ -32,15 +32,21 @@ #include "DeviceValidator.h" #include "SamplerValidator.h" #include "TextureValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { DescriptorSetValidator::~DescriptorSetValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } void DescriptorSetValidator::doInit(const DescriptorSetInfo &info) { + CCASSERT(info.layout, "Invalid set layout"); + + /////////// execute /////////// + DescriptorSetInfo actorInfo; actorInfo.layout = static_cast(info.layout)->getActor(); @@ -52,22 +58,51 @@ void DescriptorSetValidator::doDestroy() { } void DescriptorSetValidator::update() { + _isDirty = false; + _actor->update(); } void DescriptorSetValidator::bindBuffer(uint binding, Buffer *buffer, uint index) { + const vector & bindingIndices = _layout->getBindingIndices(); + const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); + CCASSERT(binding < bindingIndices.size() && bindingIndices[binding] < bindings.size(), "Illegal binding"); + + const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; + CCASSERT(info.descriptorType & DESCRIPTOR_BUFFER_TYPE, "Setting binding is not DESCRIPTOR_BUFFER_TYPE"); + + /////////// execute /////////// + DescriptorSet::bindBuffer(binding, buffer, index); _actor->bindBuffer(binding, static_cast(buffer)->getActor(), index); } void DescriptorSetValidator::bindTexture(uint binding, Texture *texture, uint index) { + const vector & bindingIndices = _layout->getBindingIndices(); + const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); + CCASSERT(binding < bindingIndices.size() && bindingIndices[binding] < bindings.size(), "Illegal binding"); + + const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; + CCASSERT(info.descriptorType & DESCRIPTOR_TEXTURE_TYPE, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE"); + + /////////// execute /////////// + DescriptorSet::bindTexture(binding, texture, index); _actor->bindTexture(binding, static_cast(texture)->getActor(), index); } void DescriptorSetValidator::bindSampler(uint binding, Sampler *sampler, uint index) { + const vector & bindingIndices = _layout->getBindingIndices(); + const DescriptorSetLayoutBindingList &bindings = _layout->getBindings(); + CCASSERT(binding < bindingIndices.size() && bindingIndices[binding] < bindings.size(), "Illegal binding"); + + const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; + CCASSERT(info.descriptorType & DESCRIPTOR_TEXTURE_TYPE, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE"); + + /////////// execute /////////// + DescriptorSet::bindSampler(binding, sampler, index); _actor->bindSampler(binding, static_cast(sampler)->getActor(), index); diff --git a/native/cocos/renderer/gfx-validator/DeviceValidator.cpp b/native/cocos/renderer/gfx-validator/DeviceValidator.cpp index d5c83e2d84..125bbeb8e8 100644 --- a/native/cocos/renderer/gfx-validator/DeviceValidator.cpp +++ b/native/cocos/renderer/gfx-validator/DeviceValidator.cpp @@ -39,6 +39,7 @@ #include "SamplerValidator.h" #include "ShaderValidator.h" #include "TextureValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { @@ -63,17 +64,20 @@ bool DeviceValidator::doInit(const DeviceInfo &info) { return false; } - _context = _actor->getContext(); - _API = _actor->getGfxAPI(); - _deviceName = _actor->getDeviceName(); - _queue = CC_NEW(QueueValidator(_actor->getQueue())); - _cmdBuff = CC_NEW(CommandBufferValidator(_actor->getCommandBuffer())); + _context = _actor->getContext(); + _API = _actor->getGfxAPI(); + _deviceName = _actor->getDeviceName(); + _queue = CC_NEW(QueueValidator(_actor->getQueue())); + _cmdBuff = CC_NEW(CommandBufferValidator(_actor->getCommandBuffer())); static_cast(_cmdBuff)->_queue = _queue; - _renderer = _actor->getRenderer(); - _vendor = _actor->getVendor(); - _caps = _actor->_caps; + _renderer = _actor->getRenderer(); + _vendor = _actor->getVendor(); + _caps = _actor->_caps; memcpy(_features, _actor->_features, static_cast(Feature::COUNT) * sizeof(bool)); + DeviceResourceTracker::push(_cmdBuff); + DeviceResourceTracker::push(_queue); + CC_LOG_INFO("Device validator enabled."); return true; @@ -91,6 +95,20 @@ void DeviceValidator::doDestroy() { _queue = nullptr; } + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + DeviceResourceTracker::checkEmpty(); + _actor->destroy(); } @@ -104,6 +122,7 @@ void DeviceValidator::acquire() { void DeviceValidator::present() { _actor->present(); + ++_currentFrame; } void DeviceValidator::setMultithreaded(bool multithreaded) { @@ -111,85 +130,118 @@ void DeviceValidator::setMultithreaded(bool multithreaded) { } CommandBuffer *DeviceValidator::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { - CommandBuffer *actor = _actor->createCommandBuffer(info, hasAgent); - return CC_NEW(CommandBufferValidator(actor)); + CommandBuffer *actor = _actor->createCommandBuffer(info, hasAgent); + CommandBuffer *result = CC_NEW(CommandBufferValidator(actor)); + DeviceResourceTracker::push(result); + return result; } Queue *DeviceValidator::createQueue() { - Queue *actor = _actor->createQueue(); - return CC_NEW(QueueValidator(actor)); + Queue *actor = _actor->createQueue(); + Queue *result = CC_NEW(QueueValidator(actor)); + DeviceResourceTracker::push(result); + return result; } Buffer *DeviceValidator::createBuffer() { - Buffer *actor = _actor->createBuffer(); - return CC_NEW(BufferValidator(actor)); + Buffer *actor = _actor->createBuffer(); + Buffer *result = CC_NEW(BufferValidator(actor)); + DeviceResourceTracker::push(result); + return result; } Texture *DeviceValidator::createTexture() { - Texture *actor = _actor->createTexture(); - return CC_NEW(TextureValidator(actor)); + Texture *actor = _actor->createTexture(); + Texture *result = CC_NEW(TextureValidator(actor)); + DeviceResourceTracker::push(result); + return result; } Sampler *DeviceValidator::createSampler() { - Sampler *actor = _actor->createSampler(); - return CC_NEW(SamplerValidator(actor)); + Sampler *actor = _actor->createSampler(); + Sampler *result = CC_NEW(SamplerValidator(actor)); + DeviceResourceTracker::push(result); + return result; } Shader *DeviceValidator::createShader() { - Shader *actor = _actor->createShader(); - return CC_NEW(ShaderValidator(actor)); + Shader *actor = _actor->createShader(); + Shader *result = CC_NEW(ShaderValidator(actor)); + DeviceResourceTracker::push(result); + return result; } InputAssembler *DeviceValidator::createInputAssembler() { - InputAssembler *actor = _actor->createInputAssembler(); - return CC_NEW(InputAssemblerValidator(actor)); + InputAssembler *actor = _actor->createInputAssembler(); + InputAssembler *result = CC_NEW(InputAssemblerValidator(actor)); + DeviceResourceTracker::push(result); + return result; } RenderPass *DeviceValidator::createRenderPass() { - RenderPass *actor = _actor->createRenderPass(); - return CC_NEW(RenderPassValidator(actor)); + RenderPass *actor = _actor->createRenderPass(); + RenderPass *result = CC_NEW(RenderPassValidator(actor)); + DeviceResourceTracker::push(result); + return result; } Framebuffer *DeviceValidator::createFramebuffer() { - Framebuffer *actor = _actor->createFramebuffer(); - return CC_NEW(FramebufferValidator(actor)); + Framebuffer *actor = _actor->createFramebuffer(); + Framebuffer *result = CC_NEW(FramebufferValidator(actor)); + DeviceResourceTracker::push(result); + return result; } DescriptorSet *DeviceValidator::createDescriptorSet() { - DescriptorSet *actor = _actor->createDescriptorSet(); - return CC_NEW(DescriptorSetValidator(actor)); + DescriptorSet *actor = _actor->createDescriptorSet(); + DescriptorSet *result = CC_NEW(DescriptorSetValidator(actor)); + DeviceResourceTracker::push(result); + return result; } DescriptorSetLayout *DeviceValidator::createDescriptorSetLayout() { - DescriptorSetLayout *actor = _actor->createDescriptorSetLayout(); - return CC_NEW(DescriptorSetLayoutValidator(actor)); + DescriptorSetLayout *actor = _actor->createDescriptorSetLayout(); + DescriptorSetLayout *result = CC_NEW(DescriptorSetLayoutValidator(actor)); + DeviceResourceTracker::push(result); + return result; } PipelineLayout *DeviceValidator::createPipelineLayout() { - PipelineLayout *actor = _actor->createPipelineLayout(); - return CC_NEW(PipelineLayoutValidator(actor)); + PipelineLayout *actor = _actor->createPipelineLayout(); + PipelineLayout *result = CC_NEW(PipelineLayoutValidator(actor)); + DeviceResourceTracker::push(result); + return result; } PipelineState *DeviceValidator::createPipelineState() { - PipelineState *actor = _actor->createPipelineState(); - return CC_NEW(PipelineStateValidator(actor)); + PipelineState *actor = _actor->createPipelineState(); + PipelineState *result = CC_NEW(PipelineStateValidator(actor)); + DeviceResourceTracker::push(result); + return result; } GlobalBarrier *DeviceValidator::createGlobalBarrier() { - return _actor->createGlobalBarrier(); + GlobalBarrier *actor = _actor->createGlobalBarrier(); + return actor; } TextureBarrier *DeviceValidator::createTextureBarrier() { - return _actor->createTextureBarrier(); + TextureBarrier *actor = _actor->createTextureBarrier(); + return actor; } void DeviceValidator::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - _actor->copyBuffersToTexture(buffers, static_cast(dst)->getActor(), regions, count); + auto textureValidator = static_cast(dst); + textureValidator->updateRedundencyCheck(); + + _actor->copyBuffersToTexture(buffers, textureValidator->getActor(), regions, count); } void DeviceValidator::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { if (!count) return; + /////////// execute /////////// + static vector cmdBuffActors; cmdBuffActors.resize(count); diff --git a/native/cocos/renderer/gfx-validator/DeviceValidator.h b/native/cocos/renderer/gfx-validator/DeviceValidator.h index 8be04d4e39..ae05459599 100644 --- a/native/cocos/renderer/gfx-validator/DeviceValidator.h +++ b/native/cocos/renderer/gfx-validator/DeviceValidator.h @@ -26,7 +26,6 @@ #pragma once #include "base/Agent.h" -#include "base/threading/Semaphore.h" #include "gfx-base/GFXDevice.h" namespace cc { @@ -90,6 +89,7 @@ public: inline void enableRecording(bool recording) { _recording = recording; } inline bool isRecording() { return _recording; } + inline uint currentFrame() { return _currentFrame; } protected: static DeviceValidator *_instance; @@ -108,6 +108,7 @@ protected: void bindDeviceContext(bool bound) override { _actor->bindDeviceContext(bound); } bool _recording{false}; + uint _currentFrame{1u}; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-validator/FramebufferValidator.cpp b/native/cocos/renderer/gfx-validator/FramebufferValidator.cpp index 45bf0833b2..29be912237 100644 --- a/native/cocos/renderer/gfx-validator/FramebufferValidator.cpp +++ b/native/cocos/renderer/gfx-validator/FramebufferValidator.cpp @@ -30,11 +30,13 @@ #include "FramebufferValidator.h" #include "RenderPassValidator.h" #include "TextureValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { FramebufferValidator::~FramebufferValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } diff --git a/native/cocos/renderer/gfx-validator/InputAssemblerValidator.cpp b/native/cocos/renderer/gfx-validator/InputAssemblerValidator.cpp index a38069d1d2..e2033bc741 100644 --- a/native/cocos/renderer/gfx-validator/InputAssemblerValidator.cpp +++ b/native/cocos/renderer/gfx-validator/InputAssemblerValidator.cpp @@ -29,11 +29,13 @@ #include "BufferValidator.h" #include "DeviceValidator.h" #include "InputAssemblerValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { InputAssemblerValidator::~InputAssemblerValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } diff --git a/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp b/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp index 7f6d19a87b..960fb67126 100644 --- a/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp +++ b/native/cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp @@ -29,11 +29,13 @@ #include "DescriptorSetLayoutValidator.h" #include "DeviceValidator.h" #include "PipelineLayoutValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { PipelineLayoutValidator::~PipelineLayoutValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } diff --git a/native/cocos/renderer/gfx-validator/PipelineStateValidator.cpp b/native/cocos/renderer/gfx-validator/PipelineStateValidator.cpp index a7a82473eb..20b43293d3 100644 --- a/native/cocos/renderer/gfx-validator/PipelineStateValidator.cpp +++ b/native/cocos/renderer/gfx-validator/PipelineStateValidator.cpp @@ -31,11 +31,13 @@ #include "PipelineStateValidator.h" #include "RenderPassValidator.h" #include "ShaderValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { PipelineStateValidator::~PipelineStateValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } diff --git a/native/cocos/renderer/gfx-validator/QueueValidator.cpp b/native/cocos/renderer/gfx-validator/QueueValidator.cpp index e1a4a3d886..cd7f33d7b1 100644 --- a/native/cocos/renderer/gfx-validator/QueueValidator.cpp +++ b/native/cocos/renderer/gfx-validator/QueueValidator.cpp @@ -28,11 +28,13 @@ #include "CommandBufferValidator.h" #include "DeviceValidator.h" #include "QueueValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { QueueValidator::~QueueValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } diff --git a/native/cocos/renderer/gfx-validator/RenderPassValidator.cpp b/native/cocos/renderer/gfx-validator/RenderPassValidator.cpp index 9c44c947f8..8c092bc3fe 100644 --- a/native/cocos/renderer/gfx-validator/RenderPassValidator.cpp +++ b/native/cocos/renderer/gfx-validator/RenderPassValidator.cpp @@ -28,11 +28,13 @@ #include "DeviceValidator.h" #include "RenderPassValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { RenderPassValidator::~RenderPassValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } diff --git a/native/cocos/renderer/gfx-validator/SamplerValidator.cpp b/native/cocos/renderer/gfx-validator/SamplerValidator.cpp index 74625b921e..32edf35dbf 100644 --- a/native/cocos/renderer/gfx-validator/SamplerValidator.cpp +++ b/native/cocos/renderer/gfx-validator/SamplerValidator.cpp @@ -29,11 +29,13 @@ #include "DescriptorSetLayoutValidator.h" #include "DeviceValidator.h" #include "SamplerValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { SamplerValidator::~SamplerValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } diff --git a/native/cocos/renderer/gfx-validator/ShaderValidator.cpp b/native/cocos/renderer/gfx-validator/ShaderValidator.cpp index 39d8808a5e..9862a644b7 100644 --- a/native/cocos/renderer/gfx-validator/ShaderValidator.cpp +++ b/native/cocos/renderer/gfx-validator/ShaderValidator.cpp @@ -28,11 +28,13 @@ #include "DeviceValidator.h" #include "ShaderValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { ShaderValidator::~ShaderValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } diff --git a/native/cocos/renderer/gfx-validator/TextureValidator.cpp b/native/cocos/renderer/gfx-validator/TextureValidator.cpp index 3f5e110b9b..2ceea4ae0e 100644 --- a/native/cocos/renderer/gfx-validator/TextureValidator.cpp +++ b/native/cocos/renderer/gfx-validator/TextureValidator.cpp @@ -24,10 +24,10 @@ ****************************************************************************/ #include "base/CoreStd.h" -#include "base/threading/MessageQueue.h" #include "DeviceValidator.h" #include "TextureValidator.h" +#include "ValidationUtils.h" namespace cc { namespace gfx { @@ -45,11 +45,12 @@ unordered_map featureCheckMap{ } TextureValidator::~TextureValidator() { + DeviceResourceTracker::erase(this); CC_SAFE_DELETE(_actor); } void TextureValidator::doInit(const TextureInfo &info) { - CCASSERT(DeviceValidator::getInstance()->hasFeature(featureCheckMap[_format]), "unsupported format"); + CCASSERT(!featureCheckMap.count(_format) || DeviceValidator::getInstance()->hasFeature(featureCheckMap[_format]), "unsupported format"); _actor->initialize(info); } @@ -58,7 +59,7 @@ void TextureValidator::doInit(const TextureViewInfo &info) { TextureViewInfo actorInfo = info; actorInfo.texture = static_cast(info.texture)->getActor(); - _actor->initialize(info); + _actor->initialize(actorInfo); } void TextureValidator::doDestroy() { @@ -71,5 +72,16 @@ void TextureValidator::doResize(uint width, uint height, uint size) { _actor->resize(width, height); } +void TextureValidator::updateRedundencyCheck() { + uint cur = DeviceValidator::getInstance()->currentFrame(); + + if (cur == _lastUpdateFrame) { + CC_LOG_WARNING(utils::getStacktraceJS().c_str()); + CC_LOG_WARNING("performance warning: texture updated more than once per frame"); + } + + _lastUpdateFrame = cur; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-validator/TextureValidator.h b/native/cocos/renderer/gfx-validator/TextureValidator.h index f3e1c8d730..4ebd66a5e8 100644 --- a/native/cocos/renderer/gfx-validator/TextureValidator.h +++ b/native/cocos/renderer/gfx-validator/TextureValidator.h @@ -36,11 +36,15 @@ public: using Agent::Agent; ~TextureValidator() override; + void updateRedundencyCheck(); + protected: void doInit(const TextureInfo &info) override; void doInit(const TextureViewInfo &info) override; void doDestroy() override; void doResize(uint width, uint height, uint size) override; + + uint _lastUpdateFrame = 0u; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-validator/ValidationUtils.cpp b/native/cocos/renderer/gfx-validator/ValidationUtils.cpp new file mode 100644 index 0000000000..c754d870d2 --- /dev/null +++ b/native/cocos/renderer/gfx-validator/ValidationUtils.cpp @@ -0,0 +1,32 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "ValidationUtils.h" + +namespace cc { +namespace gfx { + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-validator/ValidationUtils.h b/native/cocos/renderer/gfx-validator/ValidationUtils.h new file mode 100644 index 0000000000..707a7fa15a --- /dev/null +++ b/native/cocos/renderer/gfx-validator/ValidationUtils.h @@ -0,0 +1,125 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/CoreStd.h" +#include "base/Utils.h" + +namespace cc { +namespace gfx { + +class GFXObject; +class CommandBuffer; +class Queue; +class Buffer; +class Texture; +class Sampler; +class Shader; +class InputAssembler; +class RenderPass; +class Framebuffer; +class DescriptorSet; +class DescriptorSetLayout; +class PipelineLayout; +class PipelineState; + +////////////////////////////////////////////////////////////////////////// + +template +struct record_stacktrace : std::false_type {}; + +template ::value>> +class DeviceResourceTracker { +public: + template ::value>> + static std::enable_if_t::value, void> push(T *resource); + + template ::value>> + static std::enable_if_t::value, void> push(T *resource); + + static void erase(Resource *resource); + static void checkEmpty(); + +private: + struct ResourceRecord { + Resource *resource = nullptr; + String initStack; + }; + + static vector _resources; +}; + +template +vector::ResourceRecord> DeviceResourceTracker::_resources; + +template +template +std::enable_if_t::value, void> +DeviceResourceTracker::push(T *resource) { + _resources.emplace_back(ResourceRecord{resource, utils::getStacktrace(6, 10)}); +} + +template +template +std::enable_if_t::value, void> +DeviceResourceTracker::push(T *resource) { + _resources.emplace_back(ResourceRecord{resource, {}}); +} + +template +void DeviceResourceTracker::erase(Resource *resource) { + CCASSERT(!_resources.empty(), "Deleted twice?"); + + _resources.erase(std::remove_if(_resources.begin(), _resources.end(), + [resource](const auto &record) { return record.resource == resource; })); +} + +template +void DeviceResourceTracker::checkEmpty() { + // If this assertion is hit, it means you have leaked gfx resources. + // You can debug this by uncomment the `record_stacktrace` template specialization for the relevant type + // and look up the resource initialization stacktrace in `_resources[i].initStack`. + // Note: capturing stacktrace is a painfully time-consuming process, + // so better to uncomment the exact type of resource that is leaking rather than toggle them all at once. + CCASSERT(_resources.empty(), "Resource leaked"); +} + +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; +//template <> struct record_stacktrace : std::true_type {}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index 3b77c0d587..72bc6050d7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -38,6 +38,7 @@ CCVKBuffer::CCVKBuffer() } CCVKBuffer::~CCVKBuffer() { + destroy(); } void CCVKBuffer::doInit(const BufferInfo &info) { @@ -109,9 +110,7 @@ void CCVKBuffer::doResize(uint size, uint count) { } void CCVKBuffer::update(void *buffer, uint size) { - CCVKDevice::getInstance()->gpuTransportHub()->checkIn([this, buffer, size](CCVKGPUCommandBuffer *gpuCommandBuffer) { - CCVKCmdFuncUpdateBuffer(CCVKDevice::getInstance(), _gpuBuffer, buffer, size, gpuCommandBuffer); - }); + CCVKCmdFuncUpdateBuffer(CCVKDevice::getInstance(), _gpuBuffer, buffer, size, nullptr); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 22659a8a8b..26eab9bc38 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -48,6 +48,7 @@ CCVKCommandBuffer::CCVKCommandBuffer() } CCVKCommandBuffer::~CCVKCommandBuffer() { + destroy(); } void CCVKCommandBuffer::doInit(const CommandBufferInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 25bdb8086f..e327c3dac2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -41,11 +41,15 @@ namespace gfx { CCVKGPUCommandBufferPool *CCVKGPUDevice::getCommandBufferPool() { std::thread::id threadID = std::this_thread::get_id(); - if (!commandBufferPools.count(threadID)) { + if (!_commandBufferPools.count(threadID)) { //std::scoped_lock guard(mutex); - commandBufferPools[threadID] = CC_NEW(CCVKGPUCommandBufferPool(this)); + _commandBufferPools[threadID] = CC_NEW(CCVKGPUCommandBufferPool(this)); } - return commandBufferPools[threadID]; + return _commandBufferPools[threadID]; +} + +CCVKGPUDescriptorSetPool *CCVKGPUDevice::getDescriptorSetPool(uint layoutID) { + return &_descriptorSetPools[layoutID]; } void insertVkDynamicStates(vector &out, const vector &dynamicStates) { @@ -199,9 +203,10 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY; } else if (gpuBuffer->memUsage == (MemoryUsage::HOST | MemoryUsage::DEVICE)) { /* * - gpuBuffer->instanceSize = roundUp(gpuBuffer->size, device->getUboOffsetAlignment()); + gpuBuffer->instanceSize = roundUp(gpuBuffer->size, device->getCapabilities().uboOffsetAlignment); bufferInfo.size = gpuBuffer->instanceSize * device->gpuDevice()->backBufferCount; allocInfo.flags = VMA_ALLOCATION_CREATE_MAPPED_BIT; + bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT; /* */ bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; /* */ @@ -478,9 +483,10 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS setCreateInfo.pBindings = gpuDescriptorSetLayout->vkBindings.data(); VK_CHECK(vkCreateDescriptorSetLayout(gpuDevice->vkDevice, &setCreateInfo, nullptr, &gpuDescriptorSetLayout->vkDescriptorSetLayout)); - gpuDescriptorSetLayout->pool.link(gpuDevice, gpuDescriptorSetLayout->maxSetsPerPool, gpuDescriptorSetLayout->vkBindings, gpuDescriptorSetLayout->vkDescriptorSetLayout); + CCVKGPUDescriptorSetPool *pool = gpuDevice->getDescriptorSetPool(gpuDescriptorSetLayout->id); + pool->link(gpuDevice, gpuDescriptorSetLayout->maxSetsPerPool, gpuDescriptorSetLayout->vkBindings, gpuDescriptorSetLayout->vkDescriptorSetLayout); - gpuDescriptorSetLayout->defaultDescriptorSet = gpuDescriptorSetLayout->pool.request(0); + gpuDescriptorSetLayout->defaultDescriptorSet = pool->request(0); if (gpuDevice->useDescriptorUpdateTemplate && bindingCount) { const vector &bindings = gpuDescriptorSetLayout->vkBindings; @@ -796,7 +802,6 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const auto upload = [&stagingBuffer, &gpuBuffer, ®ion](const CCVKGPUCommandBuffer *gpuCommandBuffer) { #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC if (gpuBuffer->transferAccess) { - CC_LOG_WARNING("updateBuffer: performance warning: buffer updated more than once per frame"); // guard against WAW hazard VkMemoryBarrier vkBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; vkBarrier.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; @@ -840,7 +845,6 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b if (gpuTexture->transferAccess != THSVS_ACCESS_TRANSFER_WRITE) { CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); } else { - CC_LOG_WARNING("copyBuffersToTexture: performance warning: texture updated more than once per frame"); // guard against WAW hazard VkMemoryBarrier vkBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; vkBarrier.srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT; @@ -979,7 +983,7 @@ void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *gpuDevice, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { if (gpuDescriptorSetLayout->defaultDescriptorSet != VK_NULL_HANDLE) { - gpuDescriptorSetLayout->pool.yield(gpuDescriptorSetLayout->defaultDescriptorSet, 0); + gpuDevice->getDescriptorSetPool(gpuDescriptorSetLayout->id)->yield(gpuDescriptorSetLayout->defaultDescriptorSet, 0); gpuDescriptorSetLayout->defaultDescriptorSet = VK_NULL_HANDLE; } @@ -1116,7 +1120,9 @@ void CCVKGPURecycleBin::clear() { _count = 0; } -void CCVKGPUBarrierManager::update(CCVKGPUCommandBuffer *gpuCommandBuffer) { +void CCVKGPUBarrierManager::update(CCVKGPUTransportHub *transportHub) { + if (_buffersToBeChecked.empty() && _texturesToBeChecked.empty()) return; + static vector prevAccesses; static vector nextAccesses; static vector vkImageBarriers; @@ -1187,8 +1193,10 @@ void CCVKGPUBarrierManager::update(CCVKGPUCommandBuffer *gpuCommandBuffer) { } if (pVkBarrier || vkImageBarriers.size()) { - vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, - pVkBarrier ? 1 : 0, pVkBarrier, 0, nullptr, vkImageBarriers.size(), vkImageBarriers.data()); + transportHub->checkIn([&](CCVKGPUCommandBuffer *gpuCommandBuffer) { + vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, + pVkBarrier ? 1 : 0, pVkBarrier, 0, nullptr, vkImageBarriers.size(), vkImageBarriers.data()); + }); } _buffersToBeChecked.clear(); diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index 630e4d3304..db3712febb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -46,7 +46,7 @@ constexpr uint FORCE_MINOR_VERSION = 0; // 0 for default version, othe constexpr uint DISABLE_VALIDATION_ASSERTIONS = 1; // 0 for default behavior, otherwise assertions will be disabled #define FORCE_ENABLE_VALIDATION 0 -#define FORCE_DISABLE_VALIDATION 0 +#define FORCE_DISABLE_VALIDATION 1 #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION VKAPI_ATTR VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 9e86324c91..9df3e23b94 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -43,6 +43,7 @@ CCVKDescriptorSet::CCVKDescriptorSet() } CCVKDescriptorSet::~CCVKDescriptorSet() { + destroy(); } void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { @@ -52,6 +53,7 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { _gpuDescriptorSet = CC_NEW(CCVKGPUDescriptorSet); _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount, {}); + _gpuDescriptorSet->layoutID = gpuDescriptorSetLayout->id; for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; @@ -95,7 +97,7 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; - instance.vkDescriptorSet = gpuDescriptorSetLayout->pool.request(t); + instance.vkDescriptorSet = gpuDevice->getDescriptorSetPool(_gpuDescriptorSet->layoutID)->request(t); instance.descriptorInfos.resize(descriptorCount, {}); for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { @@ -155,8 +157,8 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { void CCVKDescriptorSet::doDestroy() { if (_gpuDescriptorSet) { - CCVKGPUDescriptorHub * descriptorHub = CCVKDevice::getInstance()->gpuDescriptorHub(); - CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); + CCVKGPUDevice * gpuDevice = CCVKDevice::getInstance()->gpuDevice(); + CCVKGPUDescriptorHub *descriptorHub = CCVKDevice::getInstance()->gpuDescriptorHub(); for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; @@ -176,8 +178,8 @@ void CCVKDescriptorSet::doDestroy() { } } - if (gpuDescriptorSetLayout && instance.vkDescriptorSet) { - gpuDescriptorSetLayout->pool.yield(instance.vkDescriptorSet, t); + if (instance.vkDescriptorSet) { + gpuDevice->getDescriptorSetPool(_gpuDescriptorSet->layoutID)->yield(instance.vkDescriptorSet, t); } } diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp index 4e0baa85a6..7f8e136548 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp @@ -37,14 +37,17 @@ CCVKDescriptorSetLayout::CCVKDescriptorSetLayout() } CCVKDescriptorSetLayout::~CCVKDescriptorSetLayout() { + destroy(); } void CCVKDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { - _gpuDescriptorSetLayout = CC_NEW(CCVKGPUDescriptorSetLayout); - _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; - _gpuDescriptorSetLayout->bindingIndices = _bindingIndices; + + _gpuDescriptorSetLayout = CC_NEW(CCVKGPUDescriptorSetLayout); + _gpuDescriptorSetLayout->id = generateID(); + _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; + _gpuDescriptorSetLayout->bindingIndices = _bindingIndices; _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; - _gpuDescriptorSetLayout->bindings = _bindings; + _gpuDescriptorSetLayout->bindings = _bindings; for (uint i = 0u; i < _bindings.size(); i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h index d979492b45..14704eb8cb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h @@ -41,6 +41,11 @@ public: CC_INLINE CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout() const { return _gpuDescriptorSetLayout; } protected: + static uint generateID() noexcept { + static uint _idGen = 10000; + return _idGen++; + } + void doInit(const DescriptorSetLayoutInfo &info) override; void doDestroy() override; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 7803659f3d..0dfa7e5cd8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -512,11 +512,12 @@ void CCVKDevice::doDestroy() { _gpuDevice->memoryAllocator = VK_NULL_HANDLE; } - for (CCVKGPUDevice::CommandBufferPools::iterator it = _gpuDevice->commandBufferPools.begin(); - it != _gpuDevice->commandBufferPools.end(); ++it) { + for (CCVKGPUDevice::CommandBufferPools::iterator it = _gpuDevice->_commandBufferPools.begin(); + it != _gpuDevice->_commandBufferPools.end(); ++it) { CC_SAFE_DELETE(it->second); } - _gpuDevice->commandBufferPools.clear(); + _gpuDevice->_commandBufferPools.clear(); + _gpuDevice->_descriptorSetPools.clear(); if (_gpuDevice->vkDevice != VK_NULL_HANDLE) { vkDestroyDevice(_gpuDevice->vkDevice, nullptr); @@ -544,7 +545,7 @@ void CCVKDevice::acquire() { queue->gpuQueue()->nextWaitSemaphore = VK_NULL_HANDLE; queue->gpuQueue()->nextSignalSemaphore = VK_NULL_HANDLE; - _gpuBufferHub->flush(); + _gpuBufferHub->flush(gpuTransportHub()); _gpuDescriptorSetHub->flush(); _gpuSemaphorePool->reset(); diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp index ae5a58b8fd..8a9d63b766 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp @@ -39,6 +39,7 @@ CCVKFramebuffer::CCVKFramebuffer() } CCVKFramebuffer::~CCVKFramebuffer() { + destroy(); } void CCVKFramebuffer::doInit(const FramebufferInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index bd03728257..1f22048df3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -281,6 +281,8 @@ public: vector descriptorUpdateEntries; }; vector instances; // per swapchain image + + uint layoutID = 0u; }; typedef vector CCVKGPUDescriptorSetLayoutList; @@ -332,6 +334,7 @@ public: }; class CCVKGPUCommandBufferPool; +class CCVKGPUDescriptorSetPool; class CCVKGPUDevice final : public Object { public: VkDevice vkDevice = VK_NULL_HANDLE; @@ -355,6 +358,12 @@ public: CCVKGPUSwapchain *swapchain = nullptr; // reference + CCVKGPUCommandBufferPool *getCommandBufferPool(); + CCVKGPUDescriptorSetPool *getDescriptorSetPool(uint layoutID); + +private: + friend class CCVKDevice; + /* */ using CommandBufferPools = tbb::concurrent_unordered_map< std::thread::id, CCVKGPUCommandBufferPool *, std::hash>; @@ -363,9 +372,9 @@ public: std::mutex mutex; /* */ - CommandBufferPools commandBufferPools; + CommandBufferPools _commandBufferPools; - CCVKGPUCommandBufferPool *getCommandBufferPool(); + unordered_map _descriptorSetPools; }; /** @@ -603,8 +612,8 @@ public: vector descriptorIndices; uint descriptorCount = 0u; - uint maxSetsPerPool = 10u; - CCVKGPUDescriptorSetPool pool; + uint id = 0u; + uint maxSetsPerPool = 10u; }; /** @@ -988,98 +997,6 @@ private: CCVKGPUDescriptorSetHub *_descriptorSetHub = nullptr; }; -class CCVKGPUBarrierManager final : public Object { -public: - CCVKGPUBarrierManager(CCVKGPUDevice *device) - : _device(device) {} - - void checkIn(CCVKGPUBuffer *gpuBuffer) { - _buffersToBeChecked.insert(gpuBuffer); - } - - void checkIn(CCVKGPUBuffer *gpuBuffer, const ThsvsAccessType *newTypes, uint newTypeCount) { - vector &target = gpuBuffer->renderAccessTypes; - for (uint i = 0u; i < newTypeCount; ++i) { - if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { - target.push_back(newTypes[i]); - } - } - } - - void checkIn(CCVKGPUTexture *gpuTexture, const ThsvsAccessType *newTypes = nullptr, uint newTypeCount = 0) { - vector &target = gpuTexture->renderAccessTypes; - for (uint i = 0u; i < newTypeCount; ++i) { - if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { - target.push_back(newTypes[i]); - } - } - _texturesToBeChecked.insert(gpuTexture); - } - - void update(CCVKGPUCommandBuffer *gpuCommandBuffer); - - CC_INLINE void cancel(CCVKGPUBuffer *gpuBuffer) { _buffersToBeChecked.erase(gpuBuffer); } - CC_INLINE void cancel(CCVKGPUTexture *gpuTexture) { _texturesToBeChecked.erase(gpuTexture); } - CC_INLINE bool needUpdate() { return !_texturesToBeChecked.empty() || !_buffersToBeChecked.empty(); } - -private: - unordered_set _buffersToBeChecked; - unordered_set _texturesToBeChecked; - CCVKGPUDevice * _device = nullptr; -}; - -/** - * Manages buffer update events, across all back buffer instances. - */ -class CCVKGPUBufferHub final : public Object { -public: - CCVKGPUBufferHub(CCVKGPUDevice *device) - : _device(device) { - _buffersToBeUpdated.resize(device->backBufferCount); - } - - void record(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { - src = update(gpuBuffer, src, size); // copy from self afterwards - for (uint i = 0u; i < _device->backBufferCount; ++i) { - if (i == _device->curBackBufferIndex) { - _buffersToBeUpdated[i].erase(gpuBuffer); - } else { - _buffersToBeUpdated[i][gpuBuffer] = {src, size}; - } - } - } - - void erase(CCVKGPUBuffer *gpuBuffer) { - for (uint i = 0u; i < _device->backBufferCount; ++i) { - if (_buffersToBeUpdated[i].count(gpuBuffer)) { - _buffersToBeUpdated[i].erase(gpuBuffer); - } - } - } - - void flush() { - unordered_map &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; - for (unordered_map::iterator it = buffers.begin(); it != buffers.end(); ++it) { - update(it->first, it->second.src, it->second.size); - } - buffers.clear(); - } - -private: - struct BufferUpdate { - const void *src = nullptr; - size_t size = 0u; - }; - uint8_t *update(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { - uint8_t *dst = gpuBuffer->mappedData + _device->curBackBufferIndex * gpuBuffer->instanceSize; - memcpy(dst, src, size); - return dst; - } - - CCVKGPUDevice * _device = nullptr; - vector> _buffersToBeUpdated; -}; - /** * Recycle bin for GPU resources, clears after vkDeviceWaitIdle every frame. * All the destroy events will be postponed to that time. @@ -1240,5 +1157,100 @@ private: VkFence _fence = VK_NULL_HANDLE; }; +class CCVKGPUBarrierManager final : public Object { +public: + CCVKGPUBarrierManager(CCVKGPUDevice *device) + : _device(device) {} + + void checkIn(CCVKGPUBuffer *gpuBuffer) { + _buffersToBeChecked.insert(gpuBuffer); + } + + void checkIn(CCVKGPUBuffer *gpuBuffer, const ThsvsAccessType *newTypes, uint newTypeCount) { + vector &target = gpuBuffer->renderAccessTypes; + for (uint i = 0u; i < newTypeCount; ++i) { + if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { + target.push_back(newTypes[i]); + } + } + } + + void checkIn(CCVKGPUTexture *gpuTexture, const ThsvsAccessType *newTypes = nullptr, uint newTypeCount = 0) { + vector &target = gpuTexture->renderAccessTypes; + for (uint i = 0u; i < newTypeCount; ++i) { + if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { + target.push_back(newTypes[i]); + } + } + _texturesToBeChecked.insert(gpuTexture); + } + + void update(CCVKGPUTransportHub *transportHub); + + CC_INLINE void cancel(CCVKGPUBuffer *gpuBuffer) { _buffersToBeChecked.erase(gpuBuffer); } + CC_INLINE void cancel(CCVKGPUTexture *gpuTexture) { _texturesToBeChecked.erase(gpuTexture); } + +private: + unordered_set _buffersToBeChecked; + unordered_set _texturesToBeChecked; + CCVKGPUDevice * _device = nullptr; +}; + +/** + * Manages buffer update events, across all back buffer instances. + */ +class CCVKGPUBufferHub final : public Object { +public: + CCVKGPUBufferHub(CCVKGPUDevice *device) + : _device(device) { + _buffersToBeUpdated.resize(device->backBufferCount); + } + + void record(CCVKGPUBuffer *gpuBuffer, const void *src, size_t size) { + uint backBufferIndex = _device->curBackBufferIndex; + uint8_t *dst = gpuBuffer->mappedData + backBufferIndex * gpuBuffer->instanceSize; + memcpy(dst, src, size); + for (uint i = 0u; i < _device->backBufferCount; ++i) { + if (i == backBufferIndex) { + _buffersToBeUpdated[i].erase(gpuBuffer); + } else { + _buffersToBeUpdated[i][gpuBuffer] = {backBufferIndex, size}; + } + } + } + + void erase(CCVKGPUBuffer *gpuBuffer) { + for (uint i = 0u; i < _device->backBufferCount; ++i) { + if (_buffersToBeUpdated[i].count(gpuBuffer)) { + _buffersToBeUpdated[i].erase(gpuBuffer); + } + } + } + + void flush(CCVKGPUTransportHub *transportHub) { + auto &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; + transportHub->checkIn([&](const CCVKGPUCommandBuffer *gpuCommandBuffer) { + VkBufferCopy region; + for (auto it = buffers.begin(); it != buffers.end(); ++it) { + region.srcOffset = it->first->startOffset + it->second.srcIndex * it->first->instanceSize; + region.dstOffset = it->first->startOffset + _device->curBackBufferIndex * it->first->instanceSize; + region.size = it->second.size; + vkCmdCopyBuffer(gpuCommandBuffer->vkCommandBuffer, it->first->vkBuffer, it->first->vkBuffer, 1, ®ion); + } + }); + buffers.clear(); + } + +private: + struct BufferUpdate { + uint srcIndex = 0u; + size_t size = 0u; + }; + + vector> _buffersToBeUpdated; + + CCVKGPUDevice *_device = nullptr; +}; + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp index c728a2746c..60dcd0bd33 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp @@ -38,6 +38,7 @@ CCVKInputAssembler::CCVKInputAssembler() } CCVKInputAssembler::~CCVKInputAssembler() { + destroy(); } void CCVKInputAssembler::doInit(const InputAssemblerInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp index cc7680d56a..2921729295 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp @@ -38,6 +38,7 @@ CCVKPipelineLayout::CCVKPipelineLayout() } CCVKPipelineLayout::~CCVKPipelineLayout() { + destroy(); } void CCVKPipelineLayout::doInit(const PipelineLayoutInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index b929985603..40c2f0f1b0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -40,6 +40,7 @@ CCVKPipelineState::CCVKPipelineState() } CCVKPipelineState::~CCVKPipelineState() { + destroy(); } void CCVKPipelineState::doInit(const PipelineStateInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 2cd172584b..84d3965627 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -38,6 +38,7 @@ CCVKQueue::CCVKQueue() } CCVKQueue::~CCVKQueue() { + destroy(); } void CCVKQueue::doInit(const QueueInfo &info) { @@ -59,12 +60,7 @@ void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { _gpuQueue->commandBuffers.clear(); #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC - CCVKGPUBarrierManager *layoutMgr = device->gpuBarrierManager(); - if (layoutMgr->needUpdate()) { - device->gpuTransportHub()->checkIn([layoutMgr](CCVKGPUCommandBuffer *cmdBuffer) { - layoutMgr->update(cmdBuffer); - }); - } + device->gpuBarrierManager()->update(device->gpuTransportHub()); #endif if (!device->gpuTransportHub()->empty()) { diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index f173c66265..83c2f43d4e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -37,6 +37,7 @@ CCVKRenderPass::CCVKRenderPass() } CCVKRenderPass::~CCVKRenderPass() { + destroy(); } void CCVKRenderPass::doInit(const RenderPassInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp index 04bdff58e7..b5ee8ce59e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp @@ -37,6 +37,7 @@ CCVKSampler::CCVKSampler() } CCVKSampler::~CCVKSampler() { + destroy(); } void CCVKSampler::doInit(const SamplerInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.cpp b/native/cocos/renderer/gfx-vulkan/VKShader.cpp index 4d0d2e8208..c24ff97228 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKShader.cpp @@ -37,6 +37,7 @@ CCVKShader::CCVKShader() } CCVKShader::~CCVKShader() { + destroy(); } void CCVKShader::doInit(const ShaderInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index ef0837224b..75bab94fba 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -38,6 +38,7 @@ CCVKTexture::CCVKTexture() } CCVKTexture::~CCVKTexture() { + destroy(); } void CCVKTexture::doInit(const TextureInfo &info) { diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index f59a4e1304..8ab2880294 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -27,6 +27,7 @@ #define WIN32_LEAN_AND_MEAN +#include "base/Macros.h" #include "gfx-base/GFXDef.h" #include "vk_mem_alloc.h" @@ -41,7 +42,7 @@ #define BARRIER_DEDUCTION_LEVEL_FULL 2 #ifndef BARRIER_DEDUCTION_LEVEL -#define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_BASIC + #define BARRIER_DEDUCTION_LEVEL BARRIER_DEDUCTION_LEVEL_BASIC #endif namespace cc { @@ -597,7 +598,9 @@ void fullPipelineBarrier(VkCommandBuffer cmdBuff) { memoryBarrier.srcAccessMask = FULL_ACCESS_FLAGS; memoryBarrier.dstAccessMask = FULL_ACCESS_FLAGS; vkCmdPipelineBarrier(cmdBuff, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, - 0, 1, &memoryBarrier, 0, nullptr, 0, nullptr);} + 0, 1, &memoryBarrier, 0, nullptr, 0, nullptr); +#endif +} template char (*countofHelper(T (&_Array)[Size]))[Size]; @@ -608,14 +611,13 @@ template uint toUint(T value) { static_assert(std::is_arithmetic::value, "T must be numeric"); - if (static_cast(value) > static_cast(std::numeric_limits::max())) { - throw std::runtime_error("to_u32() failed, value is too big to be converted to uint"); - } + CCASSERT(static_cast(value) <= static_cast(std::numeric_limits::max()), + "value is too big to be converted to uint"); return static_cast(value); } -CC_INLINE VkDeviceSize roundUp(VkDeviceSize numToRound, uint multiple) { +VkDeviceSize roundUp(VkDeviceSize numToRound, uint multiple) { return ((numToRound + multiple - 1) / multiple) * multiple; } @@ -650,5 +652,3 @@ bool isExtensionSupported(const char *required, const vector(PipelineGlobalBindings::SAMPLER_SHADOWMAP); +int GLOBAL_UBO_COUNT = static_cast(PipelineGlobalBindings::SAMPLER_SHADOWMAP); int GLOBAL_SAMPLER_COUNT = static_cast(PipelineGlobalBindings::COUNT) - GLOBAL_UBO_COUNT; int LOCAL_UBO_COUNT = static_cast(ModelLocalBindings::SAMPLER_JOINTS); @@ -457,7 +457,11 @@ const gfx::UniformSamplerTexture SPRITE_TEXTURE::LAYOUT = { 1, }; -uint genSamplerHash(const gfx::SamplerInfo &info) { +uint SamplerLib::_defaultSamplerHash{genSamplerHash(gfx::SamplerInfo())}; + +unordered_map SamplerLib::_samplerCache{}; + +uint SamplerLib::genSamplerHash(const gfx::SamplerInfo &info) { uint hash = 0; hash |= static_cast(info.minFilter); hash |= static_cast(info.magFilter) << 2; @@ -471,17 +475,13 @@ uint genSamplerHash(const gfx::SamplerInfo &info) { return hash; } -static uint defaultSamplerHash = genSamplerHash(gfx::SamplerInfo()); - -map samplerCache; -gfx::Sampler * getSampler(uint hash) { +gfx::Sampler *SamplerLib::getSampler(uint hash) { if (hash == 0) { - hash = defaultSamplerHash; + hash = _defaultSamplerHash; } - auto sampler = samplerCache[hash]; - if (sampler) { - return sampler; + if (_samplerCache.count(hash)) { + return _samplerCache[hash]; } gfx::SamplerInfo info; @@ -495,8 +495,14 @@ gfx::Sampler * getSampler(uint hash) { info.cmpFunc = static_cast((hash >> 16) & 15); info.mipLODBias = ((hash >> 28) & 15); - sampler = gfx::Device::getInstance()->createSampler(std::move(info)); - return sampler; + return _samplerCache[hash] = gfx::Device::getInstance()->createSampler(std::move(info)); +} + +void SamplerLib::destroyAll() { + for (auto &pair : _samplerCache) { + CC_SAFE_DESTROY(pair.second); + } + _samplerCache.clear(); } uint SKYBOX_FLAG = static_cast(gfx::ClearFlagBit::STENCIL) << 1; diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index f395f68215..bec5c9eb81 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -393,7 +393,15 @@ struct CC_DLL UBOShadow : public Object { class CC_DLL SamplerLib : public Object { public: - gfx::Sampler *getSampler(uint hash); + static gfx::Sampler *getSampler(uint hash); + static uint genSamplerHash(const gfx::SamplerInfo &info); + + static void destroyAll(); + +protected: + static uint _defaultSamplerHash; + + static unordered_map _samplerCache; }; struct CC_DLL DescriptorSetLayoutInfos { @@ -404,9 +412,6 @@ struct CC_DLL DescriptorSetLayoutInfos { extern CC_DLL DescriptorSetLayoutInfos globalDescriptorSetLayout; extern CC_DLL DescriptorSetLayoutInfos localDescriptorSetLayout; -uint genSamplerHash(const gfx::SamplerInfo &); -gfx::Sampler *getSampler(uint hash); - enum class LayerList : uint { NONE = 0, IGNORE_RAYCAST = (1 << 20), diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.cpp b/native/cocos/renderer/pipeline/PipelineStateManager.cpp index 4e564ff134..4d6bbc59a7 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.cpp +++ b/native/cocos/renderer/pipeline/PipelineStateManager.cpp @@ -32,8 +32,10 @@ namespace cc { namespace pipeline { -map PipelineStateManager::_PSOHashMap; -gfx::PipelineState * PipelineStateManager::getOrCreatePipelineState(const PassView * pass, + +unordered_map PipelineStateManager::_PSOHashMap; + +gfx::PipelineState *PipelineStateManager::getOrCreatePipelineState(const PassView * pass, gfx::Shader * shader, gfx::InputAssembler *inputAssembler, gfx::RenderPass * renderPass) { @@ -73,5 +75,12 @@ gfx::PipelineState *PipelineStateManager::getOrCreatePipelineStateByJS(uint32_t return PipelineStateManager::getOrCreatePipelineState(pass, shader, inputAssembler, renderPass); } +void PipelineStateManager::destroyAll() { + for (auto &pair : _PSOHashMap) { + CC_SAFE_DESTROY(pair.second); + } + _PSOHashMap.clear(); +} + } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.h b/native/cocos/renderer/pipeline/PipelineStateManager.h index 7439fc45f9..e60360cc74 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.h +++ b/native/cocos/renderer/pipeline/PipelineStateManager.h @@ -38,13 +38,16 @@ public: gfx::Shader *shader, gfx::InputAssembler *inputAssembler, gfx::RenderPass *renderPass); + static gfx::PipelineState *getOrCreatePipelineStateByJS(uint32_t passHandle, gfx::Shader *shader, gfx::InputAssembler *inputAssembler, gfx::RenderPass *renderPass); + static void destroyAll(); + private: - static map _PSOHashMap; + static unordered_map _PSOHashMap; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index 9ce7b11c06..5519af02b5 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -24,80 +24,78 @@ ****************************************************************************/ #include "PipelineUBO.h" -#include "platform/Application.h" +#include "RenderPipeline.h" #include "SceneCulling.h" #include "gfx-base/GFXDevice.h" -#include "RenderPipeline.h" +#include "platform/Application.h" namespace cc { namespace pipeline { #define TO_VEC3(dst, src, offset) \ - dst[offset] = src.x; \ + dst[offset] = src.x; \ dst[offset + 1] = src.y; \ dst[offset + 2] = src.z; #define TO_VEC4(dst, src, offset) \ - dst[offset] = src.x; \ + dst[offset] = src.x; \ dst[offset + 1] = src.y; \ dst[offset + 2] = src.z; \ - dst[offset + 3] = src.w; \ + dst[offset + 3] = src.w; Mat4 matShadowViewProj; -void PipelineUBO::updateGlobalUBOView(const RenderPipeline *pipeline, std::array &bufferView) -{ - const auto root = GET_ROOT(); - auto device = gfx::Device::getInstance(); - auto &uboGlobalView = bufferView; +void PipelineUBO::updateGlobalUBOView(const RenderPipeline *pipeline, std::array &bufferView) { + const auto root = GET_ROOT(); + auto device = gfx::Device::getInstance(); + auto & uboGlobalView = bufferView; - const auto shadingWidth = std::floor(device->getWidth()); + const auto shadingWidth = std::floor(device->getWidth()); const auto shadingHeight = std::floor(device->getHeight()); // update UBOGlobal - uboGlobalView[UBOGlobal::TIME_OFFSET] = root->cumulativeTime; + uboGlobalView[UBOGlobal::TIME_OFFSET] = root->cumulativeTime; uboGlobalView[UBOGlobal::TIME_OFFSET + 1] = root->frameTime; uboGlobalView[UBOGlobal::TIME_OFFSET + 2] = Application::getInstance()->getTotalFrames(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = device->getWidth(); + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = device->getWidth(); uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1] = device->getHeight(); uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET]; uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1]; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = shadingWidth; + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = shadingWidth; uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1] = shadingHeight; uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET]; uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; } void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, - const Camera *camera, bool hasOffScreenAttachments) -{ - const auto scene = camera->getScene(); + const Camera *camera, bool hasOffScreenAttachments) { + const auto scene = camera->getScene(); const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); - auto sceneData = pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); - const auto fpScale = sharedData->fpScale; + auto sceneData = pipeline->getPipelineSceneData(); + const auto sharedData = sceneData->getSharedData(); + const auto fpScale = sharedData->fpScale; const auto descriptorSet = pipeline->getDescriptorSet(); - auto ambient = sharedData->getAmbient(); - auto fog = sharedData->getFog(); - auto isHDR = sharedData->isHDR; - auto shadingScale = sharedData->shadingScale; + auto ambient = sharedData->getAmbient(); + auto fog = sharedData->getFog(); + auto isHDR = sharedData->isHDR; + auto shadingScale = sharedData->shadingScale; - auto *device = gfx::Device::getInstance(); + auto *device = gfx::Device::getInstance(); auto &uboCameraView = bufferView; - const auto shadingWidth = std::floor(device->getWidth()); + const auto shadingWidth = std::floor(device->getWidth()); const auto shadingHeight = std::floor(device->getHeight()); - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = camera->width / shadingWidth * shadingScale; + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = camera->width / shadingWidth * shadingScale; uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1] = camera->height / shadingHeight * shadingScale; uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 2] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET]; uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 3] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1]; - const auto exposure = camera->exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET] = exposure; + const auto exposure = camera->exposure; + uboCameraView[UBOCamera::EXPOSURE_OFFSET] = exposure; uboCameraView[UBOCamera::EXPOSURE_OFFSET + 1] = 1.0f / exposure; uboCameraView[UBOCamera::EXPOSURE_OFFSET + 2] = isHDR ? 1.0f : 0.0; uboCameraView[UBOCamera::EXPOSURE_OFFSET + 3] = fpScale / exposure; @@ -130,10 +128,10 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array } TO_VEC4(uboCameraView, skyColor, UBOCamera::AMBIENT_SKY_OFFSET); - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET] = ambient->groundAlbedo.x; + uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET] = ambient->groundAlbedo.x; uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 1] = ambient->groundAlbedo.y; uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 2] = ambient->groundAlbedo.z; - const auto envmap = descriptorSet->getTexture((uint)PipelineGlobalBindings::SAMPLER_ENVIRONMENT); + const auto envmap = descriptorSet->getTexture((uint)PipelineGlobalBindings::SAMPLER_ENVIRONMENT); if (envmap) uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = envmap->getLevelCount(); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_OFFSET, camera->matView.m, sizeof(cc::Mat4)); @@ -146,8 +144,7 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProjOffscreen.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInvOffscreen.m, sizeof(cc::Mat4)); uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; - } - else { + } else { memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProj.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInv.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProj.m, sizeof(cc::Mat4)); @@ -158,31 +155,30 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array if (fog->enabled) { TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; } } -void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera) -{ - const auto scene = camera->getScene(); +void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera) { + const auto scene = camera->getScene(); const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); - auto *device = gfx::Device::getInstance(); - const auto sceneData = pipeline->getPipelineSceneData(); + auto * device = gfx::Device::getInstance(); + const auto sceneData = pipeline->getPipelineSceneData(); const auto shadowInfo = sceneData->getSharedData()->getShadows(); - auto &shadowUBO = bufferView; - auto sphere = sceneData->getSphere(); + auto & shadowUBO = bufferView; + auto sphere = sceneData->getSphere(); if (shadowInfo->enabled) { if (mainLight && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { const auto node = mainLight->getNode(); - cc::Mat4 matShadowCamera; + cc::Mat4 matShadowCamera; // light proj float x = 0.0f, y = 0.0f, farClamp = 0.0f; @@ -191,11 +187,11 @@ void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array getShadowWorldMatrix(sphere, node->worldRotation, mainLight->direction, matShadowCamera, tmpCenter); const float radius = sphere->radius; - x = radius * shadowInfo->aspect; - y = radius; + x = radius * shadowInfo->aspect; + y = radius; const float halfFar = tmpCenter.distance(sphere->center); - farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); + farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); } else { matShadowCamera = mainLight->getNode()->worldMatrix; @@ -205,7 +201,7 @@ void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array farClamp = shadowInfo->farValue; } - const auto matShadowView = matShadowCamera.getInversed(); + const auto matShadowView = matShadowCamera.getInversed(); const auto projectionSinY = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getCapabilities().clipSpaceMinZ, projectionSinY, &matShadowViewProj); @@ -221,13 +217,12 @@ void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array } } -void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std::array &bufferView, const Light *light) -{ - const auto sceneData = pipeline->getPipelineSceneData(); - auto shadowInfo = sceneData->getSharedData()->getShadows(); - auto *device = gfx::Device::getInstance(); - auto sphere = sceneData->getSphere(); - auto &shadowUBO = bufferView; +void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std::array &bufferView, const Light *light) { + const auto sceneData = pipeline->getPipelineSceneData(); + auto shadowInfo = sceneData->getSharedData()->getShadows(); + auto * device = gfx::Device::getInstance(); + auto sphere = sceneData->getSphere(); + auto & shadowUBO = bufferView; switch (light->getType()) { case LightType::DIRECTIONAL: { cc::Mat4 matShadowCamera; @@ -238,11 +233,11 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: getShadowWorldMatrix(sphere, light->getNode()->worldRotation, light->direction, matShadowCamera, tmpCenter); const auto radius = sphere->radius; - x = radius * shadowInfo->aspect; - y = radius; + x = radius * shadowInfo->aspect; + y = radius; const float halfFar = tmpCenter.distance(sphere->center); - farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); + farClamp = std::min(halfFar * COEFFICIENT_OF_EXPANSION, SHADOW_CAMERA_MAX_FAR); } else { matShadowCamera = light->getNode()->worldMatrix; @@ -252,7 +247,7 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: farClamp = shadowInfo->farValue; } - const auto matShadowView = matShadowCamera.getInversed(); + const auto matShadowView = matShadowCamera.getInversed(); const auto projectionSinY = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getCapabilities().clipSpaceMinZ, projectionSinY, &matShadowViewProj); @@ -276,9 +271,8 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); } -void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) -{ - _device = device; +void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) { + _device = device; _pipeline = pipeline; const auto descriptorSet = pipeline->getDescriptorSet(); @@ -291,6 +285,7 @@ void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) gfx::BufferFlagBit::NONE, }); descriptorSet->bindBuffer(UBOGlobal::BINDING, globalUBO); + _ubos.push_back(globalUBO); auto cameraUBO = _device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, @@ -300,6 +295,7 @@ void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) gfx::BufferFlagBit::NONE, }); descriptorSet->bindBuffer(UBOCamera::BINDING, cameraUBO); + _ubos.push_back(cameraUBO); auto shadowUBO = _device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, @@ -309,39 +305,40 @@ void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) gfx::BufferFlagBit::NONE, }); descriptorSet->bindBuffer(UBOShadow::BINDING, shadowUBO); + _ubos.push_back(shadowUBO); } -void PipelineUBO::destroy() -{ +void PipelineUBO::destroy() { + for (auto &ubo : _ubos) { + CC_SAFE_DESTROY(ubo); + } + _ubos.clear(); } -void PipelineUBO::updateGlobalUBO() -{ - const auto ds = _pipeline->getDescriptorSet(); +void PipelineUBO::updateGlobalUBO() { + const auto ds = _pipeline->getDescriptorSet(); const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; ds->update(); PipelineUBO::updateGlobalUBOView(_pipeline, _globalUBO); cmdBuffer->updateBuffer(ds->getBuffer(UBOGlobal::BINDING), _globalUBO.data(), UBOGlobal::SIZE); } -void PipelineUBO::updateCameraUBO(const Camera *camera, bool hasOffScreenAttachments) -{ - const auto ds = _pipeline->getDescriptorSet(); +void PipelineUBO::updateCameraUBO(const Camera *camera, bool hasOffScreenAttachments) { + const auto ds = _pipeline->getDescriptorSet(); const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera, hasOffScreenAttachments); cmdBuffer->updateBuffer(ds->getBuffer(UBOCamera::BINDING), _cameraUBO.data(), UBOCamera::SIZE); } -void PipelineUBO::updateShadowUBO(const Camera *camera) -{ - const auto ds = _pipeline->getDescriptorSet(); - const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; - const auto sceneData = _pipeline->getPipelineSceneData(); +void PipelineUBO::updateShadowUBO(const Camera *camera) { + const auto ds = _pipeline->getDescriptorSet(); + const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + const auto sceneData = _pipeline->getPipelineSceneData(); const auto shadowInfo = sceneData->getSharedData()->getShadows(); - const auto scene = camera->getScene(); + const auto scene = camera->getScene(); if (!shadowInfo->enabled) return; - const auto &shadowFrameBufferMap = sceneData->getShadowFramebufferMap(); - const Light *mainLight = nullptr; + const auto & shadowFrameBufferMap = sceneData->getShadowFramebufferMap(); + const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); ds->update(); if (mainLight && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { @@ -356,16 +353,14 @@ void PipelineUBO::updateShadowUBO(const Camera *camera) cmdBuffer->updateBuffer(ds->getBuffer(UBOShadow::BINDING), _shadowUBO.data(), UBOShadow::SIZE); } -void PipelineUBO::updateShadowUBOLight(const Light *light) -{ - const auto ds = _pipeline->getDescriptorSet(); +void PipelineUBO::updateShadowUBOLight(const Light *light) { + const auto ds = _pipeline->getDescriptorSet(); const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; PipelineUBO::updateShadowUBOLightView(_pipeline, _shadowUBO, light); ds->getBuffer(UBOShadow::BINDING)->update(_shadowUBO.data(), UBOShadow::SIZE); } -void PipelineUBO::updateShadowUBORange(uint offset, const Mat4* data) -{ +void PipelineUBO::updateShadowUBORange(uint offset, const Mat4 *data) { memcpy(_shadowUBO.data() + offset, data->m, sizeof(data)); } diff --git a/native/cocos/renderer/pipeline/PipelineUBO.h b/native/cocos/renderer/pipeline/PipelineUBO.h index 71350c2fc5..cd7e8393b6 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.h +++ b/native/cocos/renderer/pipeline/PipelineUBO.h @@ -64,6 +64,8 @@ private: std::array _globalUBO; std::array _cameraUBO; std::array _shadowUBO; + + std::vector _ubos; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index d9fd48cebb..e3f2ca1d36 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -72,8 +72,8 @@ RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _ gfx::Address::CLAMP, gfx::Address::CLAMP, }; - const auto shadowMapSamplerHash = genSamplerHash(std::move(info)); - _sampler = getSampler(shadowMapSamplerHash); + const auto shadowMapSamplerHash = SamplerLib::genSamplerHash(std::move(info)); + _sampler = SamplerLib::getSampler(shadowMapSamplerHash); _phaseID = getPhaseID("forward-add"); @@ -82,8 +82,10 @@ RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _ } RenderAdditiveLightQueue ::~RenderAdditiveLightQueue() { - CC_DELETE(_instancedQueue); - CC_DELETE(_batchedQueue); + CC_SAFE_DELETE(_instancedQueue); + CC_SAFE_DELETE(_batchedQueue); + CC_SAFE_DESTROY(_firstLightBufferView); + CC_SAFE_DESTROY(_lightBuffer); } void RenderAdditiveLightQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer) { diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index 3e66b99554..7cc85209fe 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -24,6 +24,7 @@ ****************************************************************************/ #include "RenderPipeline.h" +#include "PipelineStateManager.h" #include "RenderFlow.h" #include "gfx-base/GFXCommandBuffer.h" #include "gfx-base/GFXDescriptorSet.h" @@ -44,33 +45,33 @@ RenderPipeline::RenderPipeline() RenderPipeline::_instance = this; setDescriptorSetLayout(); - _pipelineUBO = new PipelineUBO(); + _pipelineUBO = new PipelineUBO(); _pipelineSceneData = new PipelineSceneData(); } RenderPipeline::~RenderPipeline() { } -#define INIT_GLOBAL_DESCSET_LAYOUT(info) \ -do { \ - globalDescriptorSetLayout.samplers[info::NAME] = info::LAYOUT; \ - globalDescriptorSetLayout.bindings[info::BINDING] = info::DESCRIPTOR; \ -} while (0) +#define INIT_GLOBAL_DESCSET_LAYOUT(info) \ + do { \ + globalDescriptorSetLayout.samplers[info::NAME] = info::LAYOUT; \ + globalDescriptorSetLayout.bindings[info::BINDING] = info::DESCRIPTOR; \ + } while (0) void RenderPipeline::setDescriptorSetLayout() { globalDescriptorSetLayout.bindings.resize(static_cast(PipelineGlobalBindings::COUNT)); - globalDescriptorSetLayout.blocks[UBOGlobal::NAME] = UBOGlobal::LAYOUT; - globalDescriptorSetLayout.bindings[UBOGlobal::BINDING] = UBOGlobal::DESCRIPTOR; - globalDescriptorSetLayout.blocks[UBOCamera::NAME] = UBOCamera::LAYOUT; - globalDescriptorSetLayout.bindings[UBOCamera::BINDING] = UBOCamera::DESCRIPTOR; - globalDescriptorSetLayout.blocks[UBOShadow::NAME] = UBOShadow::LAYOUT; - globalDescriptorSetLayout.bindings[UBOShadow::BINDING] = UBOShadow::DESCRIPTOR; - globalDescriptorSetLayout.samplers[SHADOWMAP::NAME] = SHADOWMAP::LAYOUT; - globalDescriptorSetLayout.bindings[SHADOWMAP::BINDING] = SHADOWMAP::DESCRIPTOR; - globalDescriptorSetLayout.samplers[ENVIRONMENT::NAME] = ENVIRONMENT::LAYOUT; - globalDescriptorSetLayout.bindings[ENVIRONMENT::BINDING] = ENVIRONMENT::DESCRIPTOR; - globalDescriptorSetLayout.samplers[SPOT_LIGHTING_MAP::NAME] = SPOT_LIGHTING_MAP::LAYOUT; + globalDescriptorSetLayout.blocks[UBOGlobal::NAME] = UBOGlobal::LAYOUT; + globalDescriptorSetLayout.bindings[UBOGlobal::BINDING] = UBOGlobal::DESCRIPTOR; + globalDescriptorSetLayout.blocks[UBOCamera::NAME] = UBOCamera::LAYOUT; + globalDescriptorSetLayout.bindings[UBOCamera::BINDING] = UBOCamera::DESCRIPTOR; + globalDescriptorSetLayout.blocks[UBOShadow::NAME] = UBOShadow::LAYOUT; + globalDescriptorSetLayout.bindings[UBOShadow::BINDING] = UBOShadow::DESCRIPTOR; + globalDescriptorSetLayout.samplers[SHADOWMAP::NAME] = SHADOWMAP::LAYOUT; + globalDescriptorSetLayout.bindings[SHADOWMAP::BINDING] = SHADOWMAP::DESCRIPTOR; + globalDescriptorSetLayout.samplers[ENVIRONMENT::NAME] = ENVIRONMENT::LAYOUT; + globalDescriptorSetLayout.bindings[ENVIRONMENT::BINDING] = ENVIRONMENT::DESCRIPTOR; + globalDescriptorSetLayout.samplers[SPOT_LIGHTING_MAP::NAME] = SPOT_LIGHTING_MAP::LAYOUT; globalDescriptorSetLayout.bindings[SPOT_LIGHTING_MAP::BINDING] = SPOT_LIGHTING_MAP::DESCRIPTOR; INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERGBUFFERALBEDOMAP); @@ -80,37 +81,37 @@ void RenderPipeline::setDescriptorSetLayout() { INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERLIGHTINGRESULTMAP); localDescriptorSetLayout.bindings.resize(static_cast(ModelLocalBindings::COUNT)); - localDescriptorSetLayout.blocks[UBOLocalBatched::NAME] = UBOLocalBatched::LAYOUT; - localDescriptorSetLayout.bindings[UBOLocalBatched::BINDING] = UBOLocalBatched::DESCRIPTOR; - localDescriptorSetLayout.blocks[UBOLocal::NAME] = UBOLocal::LAYOUT; - localDescriptorSetLayout.bindings[UBOLocal::BINDING] = UBOLocal::DESCRIPTOR; - localDescriptorSetLayout.blocks[UBOForwardLight::NAME] = UBOForwardLight::LAYOUT; - localDescriptorSetLayout.bindings[UBOForwardLight::BINDING] = UBOForwardLight::DESCRIPTOR; - localDescriptorSetLayout.blocks[UBOSkinningTexture::NAME] = UBOSkinningTexture::LAYOUT; - localDescriptorSetLayout.bindings[UBOSkinningTexture::BINDING] = UBOSkinningTexture::DESCRIPTOR; - localDescriptorSetLayout.blocks[UBOSkinningAnimation::NAME] = UBOSkinningAnimation::LAYOUT; + localDescriptorSetLayout.blocks[UBOLocalBatched::NAME] = UBOLocalBatched::LAYOUT; + localDescriptorSetLayout.bindings[UBOLocalBatched::BINDING] = UBOLocalBatched::DESCRIPTOR; + localDescriptorSetLayout.blocks[UBOLocal::NAME] = UBOLocal::LAYOUT; + localDescriptorSetLayout.bindings[UBOLocal::BINDING] = UBOLocal::DESCRIPTOR; + localDescriptorSetLayout.blocks[UBOForwardLight::NAME] = UBOForwardLight::LAYOUT; + localDescriptorSetLayout.bindings[UBOForwardLight::BINDING] = UBOForwardLight::DESCRIPTOR; + localDescriptorSetLayout.blocks[UBOSkinningTexture::NAME] = UBOSkinningTexture::LAYOUT; + localDescriptorSetLayout.bindings[UBOSkinningTexture::BINDING] = UBOSkinningTexture::DESCRIPTOR; + localDescriptorSetLayout.blocks[UBOSkinningAnimation::NAME] = UBOSkinningAnimation::LAYOUT; localDescriptorSetLayout.bindings[UBOSkinningAnimation::BINDING] = UBOSkinningAnimation::DESCRIPTOR; - localDescriptorSetLayout.blocks[UBOSkinning::NAME] = UBOSkinning::LAYOUT; - localDescriptorSetLayout.bindings[UBOSkinning::BINDING] = UBOSkinning::DESCRIPTOR; - localDescriptorSetLayout.blocks[UBOMorph::NAME] = UBOMorph::LAYOUT; - localDescriptorSetLayout.bindings[UBOMorph::BINDING] = UBOMorph::DESCRIPTOR; - localDescriptorSetLayout.samplers[JOINT_TEXTURE::NAME] = JOINT_TEXTURE::LAYOUT; - localDescriptorSetLayout.bindings[JOINT_TEXTURE::BINDING] = JOINT_TEXTURE::DESCRIPTOR; - localDescriptorSetLayout.samplers[POSITION_MORPH::NAME] = POSITION_MORPH::LAYOUT; - localDescriptorSetLayout.bindings[POSITION_MORPH::BINDING] = POSITION_MORPH::DESCRIPTOR; - localDescriptorSetLayout.samplers[NORMAL_MORPH::NAME] = NORMAL_MORPH::LAYOUT; - localDescriptorSetLayout.bindings[NORMAL_MORPH::BINDING] = NORMAL_MORPH::DESCRIPTOR; - localDescriptorSetLayout.samplers[TANGENT_MORPH::NAME] = TANGENT_MORPH::LAYOUT; - localDescriptorSetLayout.bindings[TANGENT_MORPH::BINDING] = TANGENT_MORPH::DESCRIPTOR; - localDescriptorSetLayout.samplers[LIGHTMAP_TEXTURE::NAME] = LIGHTMAP_TEXTURE::LAYOUT; - localDescriptorSetLayout.bindings[LIGHTMAP_TEXTURE::BINDING] = LIGHTMAP_TEXTURE::DESCRIPTOR; - localDescriptorSetLayout.samplers[SPRITE_TEXTURE::NAME] = SPRITE_TEXTURE::LAYOUT; - localDescriptorSetLayout.bindings[SPRITE_TEXTURE::BINDING] = SPRITE_TEXTURE::DESCRIPTOR; + localDescriptorSetLayout.blocks[UBOSkinning::NAME] = UBOSkinning::LAYOUT; + localDescriptorSetLayout.bindings[UBOSkinning::BINDING] = UBOSkinning::DESCRIPTOR; + localDescriptorSetLayout.blocks[UBOMorph::NAME] = UBOMorph::LAYOUT; + localDescriptorSetLayout.bindings[UBOMorph::BINDING] = UBOMorph::DESCRIPTOR; + localDescriptorSetLayout.samplers[JOINT_TEXTURE::NAME] = JOINT_TEXTURE::LAYOUT; + localDescriptorSetLayout.bindings[JOINT_TEXTURE::BINDING] = JOINT_TEXTURE::DESCRIPTOR; + localDescriptorSetLayout.samplers[POSITION_MORPH::NAME] = POSITION_MORPH::LAYOUT; + localDescriptorSetLayout.bindings[POSITION_MORPH::BINDING] = POSITION_MORPH::DESCRIPTOR; + localDescriptorSetLayout.samplers[NORMAL_MORPH::NAME] = NORMAL_MORPH::LAYOUT; + localDescriptorSetLayout.bindings[NORMAL_MORPH::BINDING] = NORMAL_MORPH::DESCRIPTOR; + localDescriptorSetLayout.samplers[TANGENT_MORPH::NAME] = TANGENT_MORPH::LAYOUT; + localDescriptorSetLayout.bindings[TANGENT_MORPH::BINDING] = TANGENT_MORPH::DESCRIPTOR; + localDescriptorSetLayout.samplers[LIGHTMAP_TEXTURE::NAME] = LIGHTMAP_TEXTURE::LAYOUT; + localDescriptorSetLayout.bindings[LIGHTMAP_TEXTURE::BINDING] = LIGHTMAP_TEXTURE::DESCRIPTOR; + localDescriptorSetLayout.samplers[SPRITE_TEXTURE::NAME] = SPRITE_TEXTURE::LAYOUT; + localDescriptorSetLayout.bindings[SPRITE_TEXTURE::BINDING] = SPRITE_TEXTURE::DESCRIPTOR; } bool RenderPipeline::initialize(const RenderPipelineInfo &info) { _flows = info.flows; - _tag = info.tag; + _tag = info.tag; return true; } @@ -150,7 +151,7 @@ bool RenderPipeline::activate() { void RenderPipeline::render(const vector &cameras) { for (const auto flow : _flows) { for (const auto cameraID : cameras) { - Camera* camera = GET_CAMERA(cameraID); + Camera *camera = GET_CAMERA(cameraID); flow->render(camera); } } @@ -175,10 +176,12 @@ void RenderPipeline::destroy() { CC_SAFE_DESTROY(_defaultTexture); CC_SAFE_DELETE(_defaultTexture); + + SamplerLib::destroyAll(); + PipelineStateManager::destroyAll(); } -void RenderPipeline::setPipelineSharedSceneData(uint handle) -{ +void RenderPipeline::setPipelineSharedSceneData(uint handle) { _pipelineSceneData->setPipelineSharedSceneData(handle); } diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 4600694bf1..18aa04928e 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -24,31 +24,31 @@ ****************************************************************************/ #include "DeferredPipeline.h" +#include "../SceneCulling.h" #include "../helper/SharedMemory.h" +#include "../shadow/ShadowFlow.h" #include "GbufferFlow.h" #include "LightingFlow.h" -#include "../shadow/ShadowFlow.h" -#include "../SceneCulling.h" #include "gfx-base/GFXBuffer.h" #include "gfx-base/GFXCommandBuffer.h" #include "gfx-base/GFXDescriptorSet.h" #include "gfx-base/GFXDevice.h" +#include "gfx-base/GFXFramebuffer.h" #include "gfx-base/GFXQueue.h" #include "gfx-base/GFXRenderPass.h" -#include "gfx-base/GFXTexture.h" -#include "gfx-base/GFXFramebuffer.h" #include "gfx-base/GFXSampler.h" +#include "gfx-base/GFXTexture.h" #include "platform/Application.h" namespace cc { namespace pipeline { namespace { #define TO_VEC3(dst, src, offset) \ - dst[offset] = src.x; \ + dst[offset] = src.x; \ dst[offset + 1] = src.y; \ dst[offset + 2] = src.z; #define TO_VEC4(dst, src, offset) \ - dst[offset] = src.x; \ + dst[offset] = src.x; \ dst[offset + 1] = src.y; \ dst[offset + 2] = src.z; \ dst[offset + 3] = src.w; @@ -59,19 +59,19 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl return _renderPasses[clearFlags]; } - auto device = gfx::Device::getInstance(); - gfx::ColorAttachment colorAttachment; + auto device = gfx::Device::getInstance(); + gfx::ColorAttachment colorAttachment; gfx::DepthStencilAttachment depthStencilAttachment; - colorAttachment.format = device->getColorFormat(); - depthStencilAttachment.format = device->getDepthStencilFormat(); + colorAttachment.format = device->getColorFormat(); + depthStencilAttachment.format = device->getDepthStencilFormat(); depthStencilAttachment.stencilStoreOp = gfx::StoreOp::DISCARD; - depthStencilAttachment.depthStoreOp = gfx::StoreOp::DISCARD; + depthStencilAttachment.depthStoreOp = gfx::StoreOp::DISCARD; if (!(clearFlags & gfx::ClearFlagBit::COLOR)) { if (clearFlags & static_cast(SKYBOX_FLAG)) { colorAttachment.loadOp = gfx::LoadOp::DISCARD; } else { - colorAttachment.loadOp = gfx::LoadOp::LOAD; + colorAttachment.loadOp = gfx::LoadOp::LOAD; colorAttachment.beginAccesses = {gfx::AccessType::PRESENT}; } } @@ -82,7 +82,7 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl depthStencilAttachment.beginAccesses = {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; } - auto renderPass = device->createRenderPass({ + auto renderPass = device->createRenderPass({ {colorAttachment}, depthStencilAttachment, }); @@ -128,10 +128,10 @@ bool DeferredPipeline::activate() { } void DeferredPipeline::render(const vector &cameras) { - if (cameras.size() == 0) return; + if (cameras.size() == 0) return; _commandBuffers[0]->begin(); _pipelineUBO->updateGlobalUBO(); - for (const auto cameraId: cameras) { + for (const auto cameraId : cameras) { Camera *camera = GET_CAMERA(cameraId); _pipelineUBO->updateCameraUBO(camera, true); for (const auto flow : _flows) { @@ -143,46 +143,94 @@ void DeferredPipeline::render(const vector &cameras) { _device->getQueue()->submit(_commandBuffers); } -bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffer* &quadVB, gfx::InputAssembler* &quadIA, gfx::SurfaceTransform surfaceTransform) { +bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer *&quadIB, gfx::Buffer *&quadVB, gfx::InputAssembler *&quadIA, gfx::SurfaceTransform surfaceTransform) { // step 1 create vertex buffer uint vbStride = sizeof(float) * 4; - uint vbSize = vbStride * 4; - quadVB = _device->createBuffer({gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, vbSize, vbStride}); + uint vbSize = vbStride * 4; + quadVB = _device->createBuffer({gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, vbSize, vbStride}); if (!quadVB) { return false; } float vbData[16] = {0}; - int n = 0; + int n = 0; switch (surfaceTransform) { case (gfx::SurfaceTransform::IDENTITY): - n = 0; - vbData[n++] = -1.0; vbData[n++] = -1.0; vbData[n++] = 0.0; vbData[n++] = 1.0; - vbData[n++] = 1.0; vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; - vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; vbData[n++] = 0.0; - vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; + n = 0; + vbData[n++] = -1.0; + vbData[n++] = -1.0; + vbData[n++] = 0.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = -1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = -1.0; + vbData[n++] = 1.0; + vbData[n++] = 0.0; + vbData[n++] = 0.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 0.0; break; case (gfx::SurfaceTransform::ROTATE_90): - n = 0; - vbData[n++] = -1.0; vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; - vbData[n++] = 1.0; vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; - vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; vbData[n++] = 1.0; - vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; vbData[n++] = 0.0; + n = 0; + vbData[n++] = -1.0; + vbData[n++] = -1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = -1.0; + vbData[n++] = 1.0; + vbData[n++] = 0.0; + vbData[n++] = -1.0; + vbData[n++] = 1.0; + vbData[n++] = 0.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 0.0; + vbData[n++] = 0.0; break; case (gfx::SurfaceTransform::ROTATE_180): - n = 0; - vbData[n++] = -1.0; vbData[n++] = -1.0; vbData[n++] = 0.0; vbData[n++] = 0.0; - vbData[n++] = 1.0; vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; - vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; vbData[n++] = 1.0; - vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; + n = 0; + vbData[n++] = -1.0; + vbData[n++] = -1.0; + vbData[n++] = 0.0; + vbData[n++] = 0.0; + vbData[n++] = 1.0; + vbData[n++] = -1.0; + vbData[n++] = 1.0; + vbData[n++] = 0.0; + vbData[n++] = -1.0; + vbData[n++] = 1.0; + vbData[n++] = 0.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; break; case (gfx::SurfaceTransform::ROTATE_270): - n = 0; - vbData[n++] = -1.0; vbData[n++] = -1.0; vbData[n++] = 0.0; vbData[n++] = 0.0; - vbData[n++] = 1.0; vbData[n++] = -1.0; vbData[n++] = 0.0; vbData[n++] = 1.0; - vbData[n++] = -1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 0.0; - vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; vbData[n++] = 1.0; + n = 0; + vbData[n++] = -1.0; + vbData[n++] = -1.0; + vbData[n++] = 0.0; + vbData[n++] = 0.0; + vbData[n++] = 1.0; + vbData[n++] = -1.0; + vbData[n++] = 0.0; + vbData[n++] = 1.0; + vbData[n++] = -1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 0.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; + vbData[n++] = 1.0; break; default: break; @@ -192,10 +240,10 @@ bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffe // step 2 create index buffer uint ibStride = 4; - uint ibSize = ibStride * 6; + uint ibSize = ibStride * 6; - quadIB =_device->createBuffer({gfx::BufferUsageBit::INDEX | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, ibSize, ibStride}); + quadIB = _device->createBuffer({gfx::BufferUsageBit::INDEX | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, ibSize, ibStride}); if (!quadIB) { return false; @@ -210,7 +258,7 @@ bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffe info.attributes.push_back({"a_texCoord", gfx::Format::RG32F}); info.vertexBuffers.push_back(quadVB); info.indexBuffer = quadIB; - quadIA = _device->createInputAssembler(info); + quadIA = _device->createInputAssembler(info); if (!quadIA) { return false; } @@ -220,19 +268,18 @@ bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffe gfx::Rect DeferredPipeline::getRenderArea(Camera *camera, bool onScreen) { gfx::Rect renderArea; - uint w, h; + uint w, h; if (onScreen) { w = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->height : camera->width; h = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->width : camera->height; - } - else { + } else { w = camera->width; h = camera->height; } - renderArea.x = camera->viewportX * w; - renderArea.y = camera->viewportY * h; - renderArea.width = camera->viewportWidth * w * _pipelineSceneData->getSharedData()->shadingScale; + renderArea.x = camera->viewportX * w; + renderArea.y = camera->viewportY * h; + renderArea.width = camera->viewportWidth * w * _pipelineSceneData->getSharedData()->shadingScale; renderArea.height = camera->viewportHeight * h * _pipelineSceneData->getSharedData()->shadingScale; return renderArea; } @@ -276,8 +323,8 @@ bool DeferredPipeline::activeRenderer() { gfx::Address::CLAMP, gfx::Address::CLAMP, }; - const auto samplerHash = genSamplerHash(std::move(info)); - const auto sampler = getSampler(samplerHash); + const auto samplerHash = SamplerLib::genSamplerHash(std::move(info)); + const auto sampler = SamplerLib::getSampler(samplerHash); // Main light sampler binding this->_descriptorSet->bindSampler(SHADOWMAP::BINDING, sampler); @@ -300,7 +347,7 @@ bool DeferredPipeline::activeRenderer() { if (!createQuadInputAssembler(_quadIB, _quadVBOnscreen, _quadIAOnscreen, _device->getSurfaceTransform())) { return false; } - + gfx::RenderPassInfo gbufferPass; gfx::ColorAttachment color = { @@ -326,8 +373,8 @@ bool DeferredPipeline::activeRenderer() { }; gbufferPass.depthStencilAttachment = depth; - _gbufferRenderPass = _device->createRenderPass(gbufferPass); - + _gbufferRenderPass = _device->createRenderPass(gbufferPass); + gfx::ColorAttachment cAttch = { gfx::Format::RGBA16F, gfx::SampleCount::X1, @@ -336,10 +383,10 @@ bool DeferredPipeline::activeRenderer() { {}, {gfx::AccessType::COLOR_ATTACHMENT_WRITE}, }; - + gfx::RenderPassInfo lightPass; lightPass.colorAttachments.push_back(cAttch); - + lightPass.depthStencilAttachment = { _device->getDepthStencilFormat(), gfx::SampleCount::X1, @@ -351,19 +398,18 @@ bool DeferredPipeline::activeRenderer() { }; _lightingRenderPass = _device->createRenderPass(lightPass); - + if (_device->getSurfaceTransform() == gfx::SurfaceTransform::IDENTITY || _device->getSurfaceTransform() == gfx::SurfaceTransform::ROTATE_180) { - _width = _device->getWidth(); - _height = _device->getHeight(); + _width = _device->getWidth(); + _height = _device->getHeight(); + } else { + _width = _device->getHeight(); + _height = _device->getWidth(); } - else { - _width = _device->getHeight(); - _height = _device->getWidth(); - } - + generateDeferredRenderData(); - + _descriptorSet->bindSampler( static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_ALBEDOMAP), sampler); _descriptorSet->bindSampler( @@ -382,7 +428,7 @@ void DeferredPipeline::resize(uint width, uint height) { if (_width == width && _height == height) { return; } - _width = width; + _width = width; _height = height; destroyDeferredData(); generateDeferredRenderData(); @@ -390,7 +436,7 @@ void DeferredPipeline::resize(uint width, uint height) { void DeferredPipeline::generateDeferredRenderData() { _deferredRenderData = CC_NEW(DeferredRenderData); - + gfx::TextureInfo info = { gfx::TextureType::TEX2D, gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, @@ -404,8 +450,8 @@ void DeferredPipeline::generateDeferredRenderData() { _deferredRenderData->gbufferRenderTargets.push_back(tex); } - info.usage = gfx::TextureUsageBit::DEPTH_STENCIL_ATTACHMENT; - info.format = _device->getDepthStencilFormat(); + info.usage = gfx::TextureUsageBit::DEPTH_STENCIL_ATTACHMENT; + info.format = _device->getDepthStencilFormat(); _deferredRenderData->depthTex = _device->createTexture(info); gfx::FramebufferInfo gbufferInfo = { @@ -415,7 +461,7 @@ void DeferredPipeline::generateDeferredRenderData() { }; _deferredRenderData->gbufferFrameBuffer = _device->createFramebuffer(gbufferInfo); - + gfx::TextureInfo rtInfo = { gfx::TextureType::TEX2D, gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, @@ -428,7 +474,7 @@ void DeferredPipeline::generateDeferredRenderData() { gfx::FramebufferInfo lightingInfo; lightingInfo.renderPass = _lightingRenderPass; lightingInfo.colorTextures.push_back(_deferredRenderData->lightingRenderTarget); - lightingInfo.depthStencilTexture = _deferredRenderData->depthTex; + lightingInfo.depthStencilTexture = _deferredRenderData->depthTex; _deferredRenderData->lightingFrameBuff = _device->createFramebuffer(lightingInfo); _descriptorSet->bindTexture( @@ -436,13 +482,13 @@ void DeferredPipeline::generateDeferredRenderData() { _descriptorSet->bindTexture( static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_POSITIONMAP), _deferredRenderData->gbufferFrameBuffer->getColorTextures()[1]); _descriptorSet->bindTexture( - static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), _deferredRenderData->gbufferFrameBuffer->getColorTextures()[2]); + static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_NORMALMAP), _deferredRenderData->gbufferFrameBuffer->getColorTextures()[2]); _descriptorSet->bindTexture( static_cast(PipelineGlobalBindings::SAMPLER_GBUFFER_EMISSIVEMAP), _deferredRenderData->gbufferFrameBuffer->getColorTextures()[3]); - + _descriptorSet->bindTexture( static_cast(PipelineGlobalBindings::SAMPLER_LIGHTING_RESULTMAP), - _deferredRenderData->lightingFrameBuff->getColorTextures()[0]); + _deferredRenderData->lightingFrameBuff->getColorTextures()[0]); } void DeferredPipeline::destroy() { @@ -462,10 +508,10 @@ void DeferredPipeline::destroy() { it.second->destroy(); } _renderPasses.clear(); - + _commandBuffers.clear(); - - _gbufferRenderPass = nullptr; + + _gbufferRenderPass = nullptr; _lightingRenderPass = nullptr; RenderPipeline::destroy(); @@ -475,7 +521,7 @@ void DeferredPipeline::destroyDeferredData() { if (_deferredRenderData->gbufferFrameBuffer) { _deferredRenderData->gbufferFrameBuffer->destroy(); } - + if (_deferredRenderData->lightingFrameBuff) { _deferredRenderData->lightingFrameBuff->destroy(); } @@ -483,9 +529,9 @@ void DeferredPipeline::destroyDeferredData() { if (_deferredRenderData->lightingRenderTarget) { _deferredRenderData->lightingRenderTarget->destroy(); } - + _deferredRenderData->gbufferRenderTargets.clear(); - + CC_DELETE(_deferredRenderData); } diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 7451f4ec88..ab6a614041 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -53,7 +53,7 @@ namespace { } // namespace gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFlags) { - if (_renderPasses.find(clearFlags) != _renderPasses.end()) { + if (_renderPasses.count(clearFlags)) { return _renderPasses[clearFlags]; } @@ -146,8 +146,8 @@ bool ForwardPipeline::activeRenderer() { gfx::Address::CLAMP, gfx::Address::CLAMP, }; - const auto shadowMapSamplerHash = genSamplerHash(std::move(info)); - const auto shadowMapSampler = getSampler(shadowMapSamplerHash); + const auto shadowMapSamplerHash = SamplerLib::genSamplerHash(std::move(info)); + const auto shadowMapSampler = SamplerLib::getSampler(shadowMapSamplerHash); // Main light sampler binding this->_descriptorSet->bindSampler(SHADOWMAP::BINDING, shadowMapSampler); @@ -177,7 +177,7 @@ void ForwardPipeline::destroy() { } for (auto &it : _renderPasses) { - it.second->destroy(); + CC_SAFE_DESTROY(it.second); } _renderPasses.clear(); diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h index c0b0c26485..8cd98195e3 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.h +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.h @@ -71,7 +71,7 @@ private: gfx::BufferList _lightBuffers; UintList _lightIndexOffsets; UintList _lightIndices; - map _renderPasses; + unordered_map _renderPasses; }; } // namespace pipeline diff --git a/native/external/config.json b/native/external/config.json index 2f69f3d6e7..1187b7fc6c 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,9 +1,9 @@ { - "version": "v3d-gfx-32", + "version": "v3d-gfx-37", "from": { "type": "github", "owner": "cocos-creator", "name": "engine-native-external", - "checkout": "v3d-gfx-31" + "checkout": "v3d-gfx-37" } } diff --git a/native/tools/bindings-generator/targets/spidermonkey/templates/register.c b/native/tools/bindings-generator/targets/spidermonkey/templates/register.c index 456c1ed653..751b9f4f8b 100644 --- a/native/tools/bindings-generator/targets/spidermonkey/templates/register.c +++ b/native/tools/bindings-generator/targets/spidermonkey/templates/register.c @@ -3,13 +3,13 @@ #set methods = $current_class.methods_clean() #set st_methods = $current_class.static_methods_clean() #set public_fields = $current_class.public_fields -#if $current_class.methods.has_key('constructor') +#if $current_class.is_struct +#set has_constructor = True +${current_class.generate_struct_constructor()} +#elif $current_class.methods.has_key('constructor') #set has_constructor = True #set constructor = $current_class.methods.constructor ${current_class.methods.constructor.generate_code($current_class)} -#elif $current_class.is_struct -#set has_constructor = True -${current_class.generate_struct_constructor()} #end if #if $generator.in_listed_extend_classed($current_class.class_name) and $has_constructor @@ -136,4 +136,3 @@ bool js_register_${generator.prefix}_${current_class.class_name}(se::Object* obj se::ScriptEngine::getInstance()->clearException(); return true; } - diff --git a/native/tools/tojs/gles2.ini b/native/tools/tojs/gles2.ini deleted file mode 100644 index ff89a8a249..0000000000 --- a/native/tools/tojs/gles2.ini +++ /dev/null @@ -1,71 +0,0 @@ -[gles2] -# the prefix to be added to the generated functions. You might or might not use this in your own -# templates -prefix = gles2 - -# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) -# all classes will be embedded in that namespace -target_namespace = gfx - -macro_judgement = - -android_headers = - -android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DANDROID -D__ANDROID_API__=14 -gcc-toolchain %(gcc_toolchain_dir)s --sysroot=%(androidndkdir)s/platforms/android-14/arch-arm -idirafter %(androidndkdir)s/sources/android/support/include -idirafter %(androidndkdir)s/sysroot/usr/include -idirafter %(androidndkdir)s/sysroot/usr/include/arm-linux-androideabi -idirafter %(clangllvmdir)s/lib64/clang/5.0/include -I%(androidndkdir)s/sources/cxx-stl/llvm-libc++/include - -clang_headers = -clang_flags = -nostdinc -x c++ -std=c++11 -fsigned-char -U__SSE__ - -cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s/cocos/renderer/core -I%(cocosdir)s/cocos/renderer/gfx-gles2 -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/source -cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 - - -cxxgenerator_headers = - -# extra arguments for clang -extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s - -# what headers to parse -headers = %(cocosdir)s/cocos/renderer/gfx-gles2/GFXGLES2.h - -replace_headers = - -# what classes to produce code for. You can use regular expressions here. When testing the regular -# expression, it will be enclosed in "^$", like this: "^Menu.*$". - -classes = GLES2Device - -classes_need_extend = - -# what should we skip? in the format ClassName::[function function] -# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also -# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just -# add a single "*" as functions. See bellow for several examples. A special class name is "*", which -# will apply to all class names. This is a convenience wildcard to be able to skip similar named -# functions from all classes. - -skip = GLES2Device::[copyBuffersToTexture stateCache stagingBufferPool useVAO useDrawInstanced useInstancedArrays useDiscardFramebuffer checkExtension getThreadID] - -getter_setter = - -rename_functions = - -rename_classes = - -# for all class names, should we remove something when registering in the target VM? -remove_prefix = - -# classes for which there will be no "parent" lookup -classes_have_no_parents = - -# base classes which will be skipped when their sub-classes found them. -base_classes_to_skip = Ref Clonable Object - -# classes that create no constructor -# Set is special and we will use a hand-written constructor - -abstract_classes = GFXDevice - -persistent_classes = - -classes_owned_by_cpp = diff --git a/native/tools/tojs/gles3.ini b/native/tools/tojs/gles3.ini deleted file mode 100644 index 9689a5f1b7..0000000000 --- a/native/tools/tojs/gles3.ini +++ /dev/null @@ -1,71 +0,0 @@ -[gles3] -# the prefix to be added to the generated functions. You might or might not use this in your own -# templates -prefix = gles3 - -# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) -# all classes will be embedded in that namespace -target_namespace = gfx - -macro_judgement = - -android_headers = - -android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DANDROID -D__ANDROID_API__=14 -gcc-toolchain %(gcc_toolchain_dir)s --sysroot=%(androidndkdir)s/platforms/android-14/arch-arm -idirafter %(androidndkdir)s/sources/android/support/include -idirafter %(androidndkdir)s/sysroot/usr/include -idirafter %(androidndkdir)s/sysroot/usr/include/arm-linux-androideabi -idirafter %(clangllvmdir)s/lib64/clang/5.0/include -I%(androidndkdir)s/sources/cxx-stl/llvm-libc++/include - -clang_headers = -clang_flags = -nostdinc -x c++ -std=c++11 -fsigned-char -U__SSE__ - -cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s/cocos/renderer/core -I%(cocosdir)s/cocos/renderer/gfx-gles3 -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/source -cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 - - -cxxgenerator_headers = - -# extra arguments for clang -extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s - -# what headers to parse -headers = %(cocosdir)s/cocos/renderer/gfx-gles3/GFXGLES3.h - -replace_headers = - -# what classes to produce code for. You can use regular expressions here. When testing the regular -# expression, it will be enclosed in "^$", like this: "^Menu.*$". - -classes = GLES3Device - -classes_need_extend = - -# what should we skip? in the format ClassName::[function function] -# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also -# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just -# add a single "*" as functions. See bellow for several examples. A special class name is "*", which -# will apply to all class names. This is a convenience wildcard to be able to skip similar named -# functions from all classes. - -skip = GLES3Device::[copyBuffersToTexture stateCache framebufferCacheMap stagingBufferPool checkExtension getThreadID] - -getter_setter = - -rename_functions = - -rename_classes = - -# for all class names, should we remove something when registering in the target VM? -remove_prefix = - -# classes for which there will be no "parent" lookup -classes_have_no_parents = - -# base classes which will be skipped when their sub-classes found them. -base_classes_to_skip = Ref Clonable Object - -# classes that create no constructor -# Set is special and we will use a hand-written constructor - -abstract_classes = GFXDevice - -persistent_classes = - -classes_owned_by_cpp = diff --git a/native/tools/tojs/metal.ini b/native/tools/tojs/metal.ini deleted file mode 100644 index 3b5e109253..0000000000 --- a/native/tools/tojs/metal.ini +++ /dev/null @@ -1,72 +0,0 @@ -[metal] -# the prefix to be added to the generated functions. You might or might not use this in your own -# templates -prefix = mtl - -# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) -# all classes will be embedded in that namespace -target_namespace = gfx - -macro_judgement = - -android_headers = - -android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DANDROID -D__ANDROID_API__=14 -gcc-toolchain %(gcc_toolchain_dir)s --sysroot=%(androidndkdir)s/platforms/android-14/arch-arm -idirafter %(androidndkdir)s/sources/android/support/include -idirafter %(androidndkdir)s/sysroot/usr/include -idirafter %(androidndkdir)s/sysroot/usr/include/arm-linux-androideabi -idirafter %(clangllvmdir)s/lib64/clang/5.0/include -I%(androidndkdir)s/sources/cxx-stl/llvm-libc++/include - -clang_headers = -clang_flags = -nostdinc -x c++ -std=c++11 -fsigned-char -U__SSE__ - -cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s/cocos/renderer/core -I%(cocosdir)s/cocos/renderer/gfx-metal -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/source -cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 - - -cxxgenerator_headers = - -# extra arguments for clang -extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s - -# what headers to parse -headers = %(cocosdir)s/cocos/renderer/gfx-metal/GFXMTL.h - -replace_headers = - -# what classes to produce code for. You can use regular expressions here. When testing the regular -# expression, it will be enclosed in "^$", like this: "^Menu.*$". - -classes = CCMTLDevice - -classes_need_extend = - -# what should we skip? in the format ClassName::[function function] -# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also -# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just -# add a single "*" as functions. See bellow for several examples. A special class name is "*", which -# will apply to all class names. This is a convenience wildcard to be able to skip similar named -# functions from all classes. - -skip = CCMTLDevice::[copyBuffersToTexture cmdAllocator gpuStagingBufferPool getMTLCommandQueue getMTKView getMTLDevice getMaximumSamplerUnits getMaximumColorRenderTargets getMaximumBufferBindingIndex isIndirectCommandBufferSupported isIndirectDrawSupported gpuStagingBufferPool isSamplerDescriptorCompareFunctionSupported getInFlightSemaphore ensureAutoreleasePool currentFrameIndex] - - -getter_setter = - -rename_functions = - -rename_classes = - -# for all class names, should we remove something when registering in the target VM? -remove_prefix = - -# classes for which there will be no "parent" lookup -classes_have_no_parents = - -# base classes which will be skipped when their sub-classes found them. -base_classes_to_skip = Ref Clonable Object - -# classes that create no constructor -# Set is special and we will use a hand-written constructor - -abstract_classes = GFXDevice - -persistent_classes = - -classes_owned_by_cpp = diff --git a/native/tools/tojs/vulkan.ini b/native/tools/tojs/vulkan.ini deleted file mode 100644 index 53bf2c5b62..0000000000 --- a/native/tools/tojs/vulkan.ini +++ /dev/null @@ -1,71 +0,0 @@ -[vulkan] -# the prefix to be added to the generated functions. You might or might not use this in your own -# templates -prefix = vk - -# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) -# all classes will be embedded in that namespace -target_namespace = gfx - -macro_judgement = - -android_headers = - -android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DANDROID -D__ANDROID_API__=14 -gcc-toolchain %(gcc_toolchain_dir)s --sysroot=%(androidndkdir)s/platforms/android-14/arch-arm -idirafter %(androidndkdir)s/sources/android/support/include -idirafter %(androidndkdir)s/sysroot/usr/include -idirafter %(androidndkdir)s/sysroot/usr/include/arm-linux-androideabi -idirafter %(clangllvmdir)s/lib64/clang/5.0/include -I%(androidndkdir)s/sources/cxx-stl/llvm-libc++/include - -clang_headers = -clang_flags = -nostdinc -x c++ -std=c++11 -fsigned-char -U__SSE__ - -cocos_headers = -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/renderer -I%(cocosdir)s/cocos/renderer/core -I%(cocosdir)s/cocos/renderer/gfx-vulkan -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/source -cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 - - -cxxgenerator_headers = - -# extra arguments for clang -extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s - -# what headers to parse -headers = %(cocosdir)s/cocos/renderer/gfx-vulkan/GFXVulkan.h - -replace_headers = - -# what classes to produce code for. You can use regular expressions here. When testing the regular -# expression, it will be enclosed in "^$", like this: "^Menu.*$". - -classes = CCVKDevice - -classes_need_extend = - -# what should we skip? in the format ClassName::[function function] -# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also -# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just -# add a single "*" as functions. See bellow for several examples. A special class name is "*", which -# will apply to all class names. This is a convenience wildcard to be able to skip similar named -# functions from all classes. - -skip = CCVKDevice::[copyBuffersToTexture gpuContext gpuDevice gpuSwapchain gpuBufferHub gpuTransportHub gpuDescriptorHub gpuSemaphorePool gpuDescriptorSetHub gpuFencePool gpuRecycleBin gpuStagingBufferPool gpuBarrierManager checkExtension] - -getter_setter = - -rename_functions = - -rename_classes = - -# for all class names, should we remove something when registering in the target VM? -remove_prefix = - -# classes for which there will be no "parent" lookup -classes_have_no_parents = - -# base classes which will be skipped when their sub-classes found them. -base_classes_to_skip = Ref Clonable Object - -# classes that create no constructor -# Set is special and we will use a hand-written constructor - -abstract_classes = GFXDevice - -persistent_classes = - -classes_owned_by_cpp = diff --git a/native/tools/travis-scripts/run-script.sh b/native/tools/travis-scripts/run-script.sh index 42d8a80f91..a9e71d8b9d 100755 --- a/native/tools/travis-scripts/run-script.sh +++ b/native/tools/travis-scripts/run-script.sh @@ -69,7 +69,7 @@ function build_android() echo "set(CC_USE_VULKAN ON)" >> build-android/proj/cfg.cmake echo "set(CC_USE_GLES2 ON)" >> build-android/proj/cfg.cmake echo "set(USE_WEBSOCKET_SERVER ON)" >> build-android/proj/cfg.cmake - + mkdir -p build-android/assets ASSET_DIR=$COCOS2DX_ROOT/templates/android/build/build-android/ @@ -189,8 +189,8 @@ function build_windows() cmake ../ -G"Visual Studio 15 2017" -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT cmake --build . --config Debug echo "Compile Win32 Debug Done!" - # cmake --build . --config Release - # echo "Compile Win32 Debug Done!" + cmake --build . --config Release + echo "Compile Win32 Debug Done!" } From c1cd251f8ef35ae2f6154a58474abfbb82c16632 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Fri, 26 Mar 2021 17:19:56 +0800 Subject: [PATCH 204/270] [ci skip][AUTO]: updating jsbinding automatically: 9593a54b (#3354) Co-authored-by: cocos-robot --- native/cocos/bindings/auto/jsb_audio_auto.cpp | 2 - native/cocos/bindings/auto/jsb_cocos_auto.cpp | 5 - .../bindings/auto/jsb_dragonbones_auto.cpp | 28 - .../bindings/auto/jsb_editor_support_auto.cpp | 3 - .../bindings/auto/jsb_extension_auto.cpp | 3 - .../cocos/bindings/auto/jsb_network_auto.cpp | 2 - .../cocos/bindings/auto/jsb_pipeline_auto.cpp | 22 - native/cocos/bindings/auto/jsb_spine_auto.cpp | 57 - native/cocos/bindings/auto/jsb_video_auto.cpp | 1 - .../cocos/bindings/auto/jsb_webview_auto.cpp | 1 - native/templates/cocos2dx_files.json | 28574 ++++++++-------- 11 files changed, 14286 insertions(+), 14412 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_audio_auto.cpp b/native/cocos/bindings/auto/jsb_audio_auto.cpp index 6b0aae6b5a..43e9c1bfbb 100644 --- a/native/cocos/bindings/auto/jsb_audio_auto.cpp +++ b/native/cocos/bindings/auto/jsb_audio_auto.cpp @@ -164,7 +164,6 @@ bool js_register_audio_AudioProfile(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_AudioEngine_proto = nullptr; se::Class* __jsb_cc_AudioEngine_class = nullptr; @@ -853,7 +852,6 @@ bool js_register_audio_AudioEngine(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_audio(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_cocos_auto.cpp b/native/cocos/bindings/auto/jsb_cocos_auto.cpp index 49355fcb86..17f4ab2999 100644 --- a/native/cocos/bindings/auto/jsb_cocos_auto.cpp +++ b/native/cocos/bindings/auto/jsb_cocos_auto.cpp @@ -907,7 +907,6 @@ bool js_register_engine_FileUtils(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_CanvasGradient_proto = nullptr; se::Class* __jsb_cc_CanvasGradient_class = nullptr; @@ -974,7 +973,6 @@ bool js_register_engine_CanvasGradient(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_CanvasRenderingContext2D_proto = nullptr; se::Class* __jsb_cc_CanvasRenderingContext2D_class = nullptr; @@ -1399,7 +1397,6 @@ bool js_register_engine_CanvasRenderingContext2D(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_Device_proto = nullptr; se::Class* __jsb_cc_Device_class = nullptr; @@ -1617,7 +1614,6 @@ bool js_register_engine_Device(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_SAXParser_proto = nullptr; se::Class* __jsb_cc_SAXParser_class = nullptr; @@ -1660,7 +1656,6 @@ bool js_register_engine_SAXParser(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_engine(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp b/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp index 5a51b5a878..40cbb3e53e 100644 --- a/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp +++ b/native/cocos/bindings/auto/jsb_dragonbones_auto.cpp @@ -113,7 +113,6 @@ bool js_register_dragonbones_BaseObject(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_Rectangle_proto = nullptr; se::Class* __jsb_dragonBones_Rectangle_class = nullptr; @@ -174,7 +173,6 @@ bool js_register_dragonbones_Rectangle(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_Matrix_proto = nullptr; se::Class* __jsb_dragonBones_Matrix_class = nullptr; @@ -362,7 +360,6 @@ bool js_register_dragonbones_Matrix(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_Transform_proto = nullptr; se::Class* __jsb_dragonBones_Transform_class = nullptr; @@ -571,7 +568,6 @@ bool js_register_dragonbones_Transform(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_TextureAtlasData_proto = nullptr; se::Class* __jsb_dragonBones_TextureAtlasData_class = nullptr; @@ -683,7 +679,6 @@ bool js_register_dragonbones_TextureAtlasData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_TextureData_proto = nullptr; se::Class* __jsb_dragonBones_TextureData_class = nullptr; @@ -822,7 +817,6 @@ bool js_register_dragonbones_TextureData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_ArmatureData_proto = nullptr; se::Class* __jsb_dragonBones_ArmatureData_class = nullptr; @@ -1234,7 +1228,6 @@ bool js_register_dragonbones_ArmatureData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_BoneData_proto = nullptr; se::Class* __jsb_dragonBones_BoneData_class = nullptr; @@ -1371,7 +1364,6 @@ bool js_register_dragonbones_BoneData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_SlotData_proto = nullptr; se::Class* __jsb_dragonBones_SlotData_class = nullptr; @@ -1528,7 +1520,6 @@ bool js_register_dragonbones_SlotData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_DragonBonesData_proto = nullptr; se::Class* __jsb_dragonBones_DragonBonesData_class = nullptr; @@ -1660,7 +1651,6 @@ bool js_register_dragonbones_DragonBonesData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_SkinData_proto = nullptr; se::Class* __jsb_dragonBones_SkinData_class = nullptr; @@ -1709,7 +1699,6 @@ bool js_register_dragonbones_SkinData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_AnimationData_proto = nullptr; se::Class* __jsb_dragonBones_AnimationData_class = nullptr; @@ -1975,7 +1964,6 @@ bool js_register_dragonbones_AnimationData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_Armature_proto = nullptr; se::Class* __jsb_dragonBones_Armature_class = nullptr; @@ -2494,7 +2482,6 @@ bool js_register_dragonbones_Armature(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_TransformObject_proto = nullptr; se::Class* __jsb_dragonBones_TransformObject_class = nullptr; @@ -2631,7 +2618,6 @@ bool js_register_dragonbones_TransformObject(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_AnimationState_proto = nullptr; se::Class* __jsb_dragonBones_AnimationState_class = nullptr; @@ -3276,7 +3262,6 @@ bool js_register_dragonbones_AnimationState(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_Bone_proto = nullptr; se::Class* __jsb_dragonBones_Bone_class = nullptr; @@ -3534,7 +3519,6 @@ bool js_register_dragonbones_Bone(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_Slot_proto = nullptr; se::Class* __jsb_dragonBones_Slot_class = nullptr; @@ -3886,7 +3870,6 @@ bool js_register_dragonbones_Slot(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_WorldClock_proto = nullptr; se::Class* __jsb_dragonBones_WorldClock_class = nullptr; @@ -4016,7 +3999,6 @@ bool js_register_dragonbones_WorldClock(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_Animation_proto = nullptr; se::Class* __jsb_dragonBones_Animation_class = nullptr; @@ -4684,7 +4666,6 @@ bool js_register_dragonbones_Animation(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_EventObject_proto = nullptr; se::Class* __jsb_dragonBones_EventObject_class = nullptr; @@ -4953,7 +4934,6 @@ bool js_register_dragonbones_EventObject(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_BaseFactory_proto = nullptr; se::Class* __jsb_dragonBones_BaseFactory_class = nullptr; @@ -5451,7 +5431,6 @@ bool js_register_dragonbones_BaseFactory(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_CCSlot_proto = nullptr; se::Class* __jsb_dragonBones_CCSlot_class = nullptr; @@ -5488,7 +5467,6 @@ bool js_register_dragonbones_CCSlot(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_CCArmatureDisplay_proto = nullptr; se::Class* __jsb_dragonBones_CCArmatureDisplay_class = nullptr; @@ -6085,7 +6063,6 @@ bool js_register_dragonbones_CCArmatureDisplay(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_ArmatureCacheMgr_proto = nullptr; se::Class* __jsb_dragonBones_ArmatureCacheMgr_class = nullptr; @@ -6197,7 +6174,6 @@ bool js_register_dragonbones_ArmatureCacheMgr(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_CCArmatureCacheDisplay_proto = nullptr; se::Class* __jsb_dragonBones_CCArmatureCacheDisplay_class = nullptr; @@ -6742,7 +6718,6 @@ bool js_register_dragonbones_CCArmatureCacheDisplay(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_CCFactory_proto = nullptr; se::Class* __jsb_dragonBones_CCFactory_class = nullptr; @@ -7222,7 +7197,6 @@ bool js_register_dragonbones_CCFactory(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_CCTextureAtlasData_proto = nullptr; se::Class* __jsb_dragonBones_CCTextureAtlasData_class = nullptr; @@ -7243,7 +7217,6 @@ bool js_register_dragonbones_CCTextureAtlasData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_dragonBones_CCTextureData_proto = nullptr; se::Class* __jsb_dragonBones_CCTextureData_class = nullptr; @@ -7264,7 +7237,6 @@ bool js_register_dragonbones_CCTextureData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_dragonbones(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_editor_support_auto.cpp b/native/cocos/bindings/auto/jsb_editor_support_auto.cpp index ef970bbbf1..ef9a471c09 100644 --- a/native/cocos/bindings/auto/jsb_editor_support_auto.cpp +++ b/native/cocos/bindings/auto/jsb_editor_support_auto.cpp @@ -268,7 +268,6 @@ bool js_register_editor_support_Texture2D(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_middleware_SharedBufferManager_proto = nullptr; se::Class* __jsb_cc_middleware_SharedBufferManager_class = nullptr; @@ -383,7 +382,6 @@ bool js_register_editor_support_SharedBufferManager(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_middleware_MiddlewareManager_proto = nullptr; se::Class* __jsb_cc_middleware_MiddlewareManager_class = nullptr; @@ -681,7 +679,6 @@ bool js_register_editor_support_MiddlewareManager(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_editor_support(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_extension_auto.cpp b/native/cocos/bindings/auto/jsb_extension_auto.cpp index 90d8430b98..896852876d 100644 --- a/native/cocos/bindings/auto/jsb_extension_auto.cpp +++ b/native/cocos/bindings/auto/jsb_extension_auto.cpp @@ -342,7 +342,6 @@ bool js_register_extension_EventAssetsManagerEx(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_extension_Manifest_proto = nullptr; se::Class* __jsb_cc_extension_Manifest_class = nullptr; @@ -655,7 +654,6 @@ bool js_register_extension_Manifest(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_extension_AssetsManagerEx_proto = nullptr; se::Class* __jsb_cc_extension_AssetsManagerEx_class = nullptr; @@ -1291,7 +1289,6 @@ bool js_register_extension_AssetsManagerEx(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_extension(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_network_auto.cpp b/native/cocos/bindings/auto/jsb_network_auto.cpp index d2c909321c..5c0f3b501d 100644 --- a/native/cocos/bindings/auto/jsb_network_auto.cpp +++ b/native/cocos/bindings/auto/jsb_network_auto.cpp @@ -241,7 +241,6 @@ bool js_register_network_DownloaderHints(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_network_Downloader_proto = nullptr; se::Class* __jsb_cc_network_Downloader_class = nullptr; @@ -358,7 +357,6 @@ bool js_register_network_Downloader(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_network(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp index 815c81411c..50ee08abc4 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -258,7 +258,6 @@ bool js_register_pipeline_RenderQueueDesc(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_Light_proto = nullptr; se::Class* __jsb_cc_pipeline_Light_class = nullptr; @@ -930,7 +929,6 @@ bool js_register_pipeline_Light(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_PassView_proto = nullptr; se::Class* __jsb_cc_pipeline_PassView_class = nullptr; @@ -1612,7 +1610,6 @@ bool js_register_pipeline_PassView(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_RenderWindow_proto = nullptr; se::Class* __jsb_cc_pipeline_RenderWindow_class = nullptr; @@ -1839,7 +1836,6 @@ bool js_register_pipeline_RenderWindow(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_RenderPipelineInfo_proto = nullptr; se::Class* __jsb_cc_pipeline_RenderPipelineInfo_class = nullptr; @@ -2011,7 +2007,6 @@ bool js_register_pipeline_RenderPipelineInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_RenderPipeline_proto = nullptr; se::Class* __jsb_cc_pipeline_RenderPipeline_class = nullptr; @@ -2252,7 +2247,6 @@ bool js_register_pipeline_RenderPipeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_ForwardPipeline_proto = nullptr; se::Class* __jsb_cc_pipeline_ForwardPipeline_class = nullptr; @@ -2298,7 +2292,6 @@ bool js_register_pipeline_ForwardPipeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_RenderFlowInfo_proto = nullptr; se::Class* __jsb_cc_pipeline_RenderFlowInfo_class = nullptr; @@ -2540,7 +2533,6 @@ bool js_register_pipeline_RenderFlowInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_RenderFlow_proto = nullptr; se::Class* __jsb_cc_pipeline_RenderFlow_class = nullptr; @@ -2623,7 +2615,6 @@ bool js_register_pipeline_RenderFlow(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_ForwardFlow_proto = nullptr; se::Class* __jsb_cc_pipeline_ForwardFlow_class = nullptr; @@ -2687,7 +2678,6 @@ bool js_register_pipeline_ForwardFlow(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_RenderStageInfo_proto = nullptr; se::Class* __jsb_cc_pipeline_RenderStageInfo_class = nullptr; @@ -2929,7 +2919,6 @@ bool js_register_pipeline_RenderStageInfo(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_RenderStage_proto = nullptr; se::Class* __jsb_cc_pipeline_RenderStage_class = nullptr; @@ -3034,7 +3023,6 @@ bool js_register_pipeline_RenderStage(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_ForwardStage_proto = nullptr; se::Class* __jsb_cc_pipeline_ForwardStage_class = nullptr; @@ -3098,7 +3086,6 @@ bool js_register_pipeline_ForwardStage(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_ShadowFlow_proto = nullptr; se::Class* __jsb_cc_pipeline_ShadowFlow_class = nullptr; @@ -3162,7 +3149,6 @@ bool js_register_pipeline_ShadowFlow(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_ShadowStage_proto = nullptr; se::Class* __jsb_cc_pipeline_ShadowStage_class = nullptr; @@ -3268,7 +3254,6 @@ bool js_register_pipeline_ShadowStage(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_InstancedBuffer_proto = nullptr; se::Class* __jsb_cc_pipeline_InstancedBuffer_class = nullptr; @@ -3394,7 +3379,6 @@ bool js_register_pipeline_InstancedBuffer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_DeferredPipeline_proto = nullptr; se::Class* __jsb_cc_pipeline_DeferredPipeline_class = nullptr; @@ -3440,7 +3424,6 @@ bool js_register_pipeline_DeferredPipeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_GbufferFlow_proto = nullptr; se::Class* __jsb_cc_pipeline_GbufferFlow_class = nullptr; @@ -3504,7 +3487,6 @@ bool js_register_pipeline_GbufferFlow(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_GbufferStage_proto = nullptr; se::Class* __jsb_cc_pipeline_GbufferStage_class = nullptr; @@ -3568,7 +3550,6 @@ bool js_register_pipeline_GbufferStage(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_LightingFlow_proto = nullptr; se::Class* __jsb_cc_pipeline_LightingFlow_class = nullptr; @@ -3632,7 +3613,6 @@ bool js_register_pipeline_LightingFlow(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_LightingStage_proto = nullptr; se::Class* __jsb_cc_pipeline_LightingStage_class = nullptr; @@ -3696,7 +3676,6 @@ bool js_register_pipeline_LightingStage(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_cc_pipeline_PostprocessStage_proto = nullptr; se::Class* __jsb_cc_pipeline_PostprocessStage_class = nullptr; @@ -3742,7 +3721,6 @@ bool js_register_pipeline_PostprocessStage(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_pipeline(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_spine_auto.cpp b/native/cocos/bindings/auto/jsb_spine_auto.cpp index 8e61f2b51b..b0dd676baf 100644 --- a/native/cocos/bindings/auto/jsb_spine_auto.cpp +++ b/native/cocos/bindings/auto/jsb_spine_auto.cpp @@ -157,7 +157,6 @@ bool js_register_spine_Animation(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_TrackEntry_proto = nullptr; se::Class* __jsb_spine_TrackEntry_class = nullptr; @@ -973,7 +972,6 @@ bool js_register_spine_TrackEntry(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_AnimationState_proto = nullptr; se::Class* __jsb_spine_AnimationState_class = nullptr; @@ -1364,7 +1362,6 @@ bool js_register_spine_AnimationState(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_AnimationStateData_proto = nullptr; se::Class* __jsb_spine_AnimationStateData_class = nullptr; @@ -1516,7 +1513,6 @@ bool js_register_spine_AnimationStateData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Attachment_proto = nullptr; se::Class* __jsb_spine_Attachment_class = nullptr; @@ -1628,7 +1624,6 @@ bool js_register_spine_Attachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Timeline_proto = nullptr; se::Class* __jsb_spine_Timeline_class = nullptr; @@ -1668,7 +1663,6 @@ bool js_register_spine_Timeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_AttachmentTimeline_proto = nullptr; se::Class* __jsb_spine_AttachmentTimeline_class = nullptr; @@ -1833,7 +1827,6 @@ bool js_register_spine_AttachmentTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Bone_proto = nullptr; se::Class* __jsb_spine_Bone_class = nullptr; @@ -3071,7 +3064,6 @@ bool js_register_spine_Bone(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_BoneData_proto = nullptr; se::Class* __jsb_spine_BoneData_class = nullptr; @@ -3551,7 +3543,6 @@ bool js_register_spine_BoneData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_VertexAttachment_proto = nullptr; se::Class* __jsb_spine_VertexAttachment_class = nullptr; @@ -3712,7 +3703,6 @@ bool js_register_spine_VertexAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_BoundingBoxAttachment_proto = nullptr; se::Class* __jsb_spine_BoundingBoxAttachment_class = nullptr; @@ -3753,7 +3743,6 @@ bool js_register_spine_BoundingBoxAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_ClippingAttachment_proto = nullptr; se::Class* __jsb_spine_ClippingAttachment_class = nullptr; @@ -3834,7 +3823,6 @@ bool js_register_spine_ClippingAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Color_proto = nullptr; se::Class* __jsb_spine_Color_class = nullptr; @@ -3986,7 +3974,6 @@ bool js_register_spine_Color(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_CurveTimeline_proto = nullptr; se::Class* __jsb_spine_CurveTimeline_class = nullptr; @@ -4163,7 +4150,6 @@ bool js_register_spine_CurveTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_ColorTimeline_proto = nullptr; se::Class* __jsb_spine_ColorTimeline_class = nullptr; @@ -4294,7 +4280,6 @@ bool js_register_spine_ColorTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_ConstraintData_proto = nullptr; se::Class* __jsb_spine_ConstraintData_class = nullptr; @@ -4414,7 +4399,6 @@ bool js_register_spine_ConstraintData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_DeformTimeline_proto = nullptr; se::Class* __jsb_spine_DeformTimeline_class = nullptr; @@ -4555,7 +4539,6 @@ bool js_register_spine_DeformTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_DrawOrderTimeline_proto = nullptr; se::Class* __jsb_spine_DrawOrderTimeline_class = nullptr; @@ -4636,7 +4619,6 @@ bool js_register_spine_DrawOrderTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Event_proto = nullptr; se::Class* __jsb_spine_Event_class = nullptr; @@ -4896,7 +4878,6 @@ bool js_register_spine_Event(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_EventData_proto = nullptr; se::Class* __jsb_spine_EventData_class = nullptr; @@ -5176,7 +5157,6 @@ bool js_register_spine_EventData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_EventTimeline_proto = nullptr; se::Class* __jsb_spine_EventTimeline_class = nullptr; @@ -5299,7 +5279,6 @@ bool js_register_spine_EventTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_IkConstraint_proto = nullptr; se::Class* __jsb_spine_IkConstraint_class = nullptr; @@ -5675,7 +5654,6 @@ bool js_register_spine_IkConstraint(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_IkConstraintData_proto = nullptr; se::Class* __jsb_spine_IkConstraintData_class = nullptr; @@ -5996,7 +5974,6 @@ bool js_register_spine_IkConstraintData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_IkConstraintTimeline_proto = nullptr; se::Class* __jsb_spine_IkConstraintTimeline_class = nullptr; @@ -6069,7 +6046,6 @@ bool js_register_spine_IkConstraintTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_MeshAttachment_proto = nullptr; se::Class* __jsb_spine_MeshAttachment_class = nullptr; @@ -6926,7 +6902,6 @@ bool js_register_spine_MeshAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_PathAttachment_proto = nullptr; se::Class* __jsb_spine_PathAttachment_class = nullptr; @@ -7067,7 +7042,6 @@ bool js_register_spine_PathAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_PathConstraint_proto = nullptr; se::Class* __jsb_spine_PathConstraint_class = nullptr; @@ -7419,7 +7393,6 @@ bool js_register_spine_PathConstraint(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_PathConstraintData_proto = nullptr; se::Class* __jsb_spine_PathConstraintData_class = nullptr; @@ -7820,7 +7793,6 @@ bool js_register_spine_PathConstraintData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_PathConstraintMixTimeline_proto = nullptr; se::Class* __jsb_spine_PathConstraintMixTimeline_class = nullptr; @@ -7861,7 +7833,6 @@ bool js_register_spine_PathConstraintMixTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_PathConstraintPositionTimeline_proto = nullptr; se::Class* __jsb_spine_PathConstraintPositionTimeline_class = nullptr; @@ -7926,7 +7897,6 @@ bool js_register_spine_PathConstraintPositionTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_PathConstraintSpacingTimeline_proto = nullptr; se::Class* __jsb_spine_PathConstraintSpacingTimeline_class = nullptr; @@ -7967,7 +7937,6 @@ bool js_register_spine_PathConstraintSpacingTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_PointAttachment_proto = nullptr; se::Class* __jsb_spine_PointAttachment_class = nullptr; @@ -8128,7 +8097,6 @@ bool js_register_spine_PointAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_RegionAttachment_proto = nullptr; se::Class* __jsb_spine_RegionAttachment_class = nullptr; @@ -8833,7 +8801,6 @@ bool js_register_spine_RegionAttachment(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_RotateTimeline_proto = nullptr; se::Class* __jsb_spine_RotateTimeline_class = nullptr; @@ -8958,7 +8925,6 @@ bool js_register_spine_RotateTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_TranslateTimeline_proto = nullptr; se::Class* __jsb_spine_TranslateTimeline_class = nullptr; @@ -9025,7 +8991,6 @@ bool js_register_spine_TranslateTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_ScaleTimeline_proto = nullptr; se::Class* __jsb_spine_ScaleTimeline_class = nullptr; @@ -9066,7 +9031,6 @@ bool js_register_spine_ScaleTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_ShearTimeline_proto = nullptr; se::Class* __jsb_spine_ShearTimeline_class = nullptr; @@ -9107,7 +9071,6 @@ bool js_register_spine_ShearTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Skeleton_proto = nullptr; se::Class* __jsb_spine_Skeleton_class = nullptr; @@ -9950,7 +9913,6 @@ bool js_register_spine_Skeleton(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SkeletonBounds_proto = nullptr; se::Class* __jsb_spine_SkeletonBounds_class = nullptr; @@ -10199,7 +10161,6 @@ bool js_register_spine_SkeletonBounds(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Polygon_proto = nullptr; se::Class* __jsb_spine_Polygon_class = nullptr; @@ -10219,7 +10180,6 @@ bool js_register_spine_Polygon(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SkeletonData_proto = nullptr; se::Class* __jsb_spine_SkeletonData_class = nullptr; @@ -11092,7 +11052,6 @@ bool js_register_spine_SkeletonData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Skin_proto = nullptr; se::Class* __jsb_spine_Skin_class = nullptr; @@ -11283,7 +11242,6 @@ bool js_register_spine_Skin(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_Slot_proto = nullptr; se::Class* __jsb_spine_Slot_class = nullptr; @@ -11539,7 +11497,6 @@ bool js_register_spine_Slot(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SlotData_proto = nullptr; se::Class* __jsb_spine_SlotData_class = nullptr; @@ -11779,7 +11736,6 @@ bool js_register_spine_SlotData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_TransformConstraint_proto = nullptr; se::Class* __jsb_spine_TransformConstraint_class = nullptr; @@ -12131,7 +12087,6 @@ bool js_register_spine_TransformConstraint(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_TransformConstraintData_proto = nullptr; se::Class* __jsb_spine_TransformConstraintData_class = nullptr; @@ -12432,7 +12387,6 @@ bool js_register_spine_TransformConstraintData(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_TransformConstraintTimeline_proto = nullptr; se::Class* __jsb_spine_TransformConstraintTimeline_class = nullptr; @@ -12503,7 +12457,6 @@ bool js_register_spine_TransformConstraintTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_TwoColorTimeline_proto = nullptr; se::Class* __jsb_spine_TwoColorTimeline_class = nullptr; @@ -12620,7 +12573,6 @@ bool js_register_spine_TwoColorTimeline(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_VertexEffect_proto = nullptr; se::Class* __jsb_spine_VertexEffect_class = nullptr; @@ -12640,7 +12592,6 @@ bool js_register_spine_VertexEffect(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_JitterVertexEffect_proto = nullptr; se::Class* __jsb_spine_JitterVertexEffect_class = nullptr; @@ -12741,7 +12692,6 @@ bool js_register_spine_JitterVertexEffect(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SwirlVertexEffect_proto = nullptr; se::Class* __jsb_spine_SwirlVertexEffect_class = nullptr; @@ -13002,7 +12952,6 @@ bool js_register_spine_SwirlVertexEffect(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_VertexEffectDelegate_proto = nullptr; se::Class* __jsb_spine_VertexEffectDelegate_class = nullptr; @@ -13212,7 +13161,6 @@ bool js_register_spine_VertexEffectDelegate(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SkeletonRenderer_proto = nullptr; se::Class* __jsb_spine_SkeletonRenderer_class = nullptr; @@ -14168,7 +14116,6 @@ bool js_register_spine_SkeletonRenderer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SkeletonAnimation_proto = nullptr; se::Class* __jsb_spine_SkeletonAnimation_class = nullptr; @@ -15247,7 +15194,6 @@ bool js_register_spine_SkeletonAnimation(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SkeletonCacheAnimation_proto = nullptr; se::Class* __jsb_spine_SkeletonCacheAnimation_class = nullptr; @@ -16085,7 +16031,6 @@ bool js_register_spine_SkeletonCacheAnimation(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SkeletonCacheMgr_proto = nullptr; se::Class* __jsb_spine_SkeletonCacheMgr_class = nullptr; @@ -16193,7 +16138,6 @@ bool js_register_spine_SkeletonCacheMgr(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - se::Object* __jsb_spine_SkeletonDataMgr_proto = nullptr; se::Class* __jsb_spine_SkeletonDataMgr_class = nullptr; @@ -16305,7 +16249,6 @@ bool js_register_spine_SkeletonDataMgr(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_spine(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_video_auto.cpp b/native/cocos/bindings/auto/jsb_video_auto.cpp index ab87637de7..0b430ba103 100644 --- a/native/cocos/bindings/auto/jsb_video_auto.cpp +++ b/native/cocos/bindings/auto/jsb_video_auto.cpp @@ -388,7 +388,6 @@ bool js_register_video_VideoPlayer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_video(se::Object* obj) { // Get the ns diff --git a/native/cocos/bindings/auto/jsb_webview_auto.cpp b/native/cocos/bindings/auto/jsb_webview_auto.cpp index c74dac9983..b09c0a65af 100644 --- a/native/cocos/bindings/auto/jsb_webview_auto.cpp +++ b/native/cocos/bindings/auto/jsb_webview_auto.cpp @@ -724,7 +724,6 @@ bool js_register_webview_WebView(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } - bool register_all_webview(se::Object* obj) { // Get the ns diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index fb403a0c56..84c8273316 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -879,6 +879,8 @@ "cocos/renderer/gfx-validator/ShaderValidator.h", "cocos/renderer/gfx-validator/TextureValidator.cpp", "cocos/renderer/gfx-validator/TextureValidator.h", + "cocos/renderer/gfx-validator/ValidationUtils.cpp", + "cocos/renderer/gfx-validator/ValidationUtils.h", "cocos/renderer/gfx-vulkan/GFXVulkan.h", "cocos/renderer/gfx-vulkan/VKBuffer.cpp", "cocos/renderer/gfx-vulkan/VKBuffer.h", @@ -2577,22 +2579,16 @@ "external/mac/include/pvrsdk/vulkan/vulkan_xlib.h", "external/mac/include/pvrsdk/vulkan/vulkan_xlib_xrandr.h", "external/mac/include/spirv_cross/GLSL.std.450.h", - "external/mac/include/spirv_cross/spirv.h", "external/mac/include/spirv_cross/spirv.hpp", "external/mac/include/spirv_cross/spirv_cfg.hpp", "external/mac/include/spirv_cross/spirv_common.hpp", - "external/mac/include/spirv_cross/spirv_cpp.hpp", "external/mac/include/spirv_cross/spirv_cross.hpp", - "external/mac/include/spirv_cross/spirv_cross_c.h", "external/mac/include/spirv_cross/spirv_cross_containers.hpp", "external/mac/include/spirv_cross/spirv_cross_error_handling.hpp", "external/mac/include/spirv_cross/spirv_cross_parsed_ir.hpp", - "external/mac/include/spirv_cross/spirv_cross_util.hpp", "external/mac/include/spirv_cross/spirv_glsl.hpp", - "external/mac/include/spirv_cross/spirv_hlsl.hpp", "external/mac/include/spirv_cross/spirv_msl.hpp", "external/mac/include/spirv_cross/spirv_parser.hpp", - "external/mac/include/spirv_cross/spirv_reflect.hpp", "external/mac/include/uv/uv.h", "external/mac/include/uv/uv/aix.h", "external/mac/include/uv/uv/android-ifaddrs.h", @@ -2804,14288 +2800,14288 @@ "external/sources/acl/math/scalar_packing.h", "external/sources/acl/math/vector4_packing.h", "external/sources/acl/math/vector4f.h", - "external/sources/boost/boost/accumulators/accumulators.hpp", - "external/sources/boost/boost/accumulators/accumulators_fwd.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_base.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_concept.hpp", - "external/sources/boost/boost/accumulators/framework/accumulator_set.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/droppable_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/external_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/reference_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/accumulators/value_accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/depends_on.hpp", - "external/sources/boost/boost/accumulators/framework/external.hpp", - "external/sources/boost/boost/accumulators/framework/extractor.hpp", - "external/sources/boost/boost/accumulators/framework/features.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/accumulator.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/sample.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/weight.hpp", - "external/sources/boost/boost/accumulators/framework/parameters/weights.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function1.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function2.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function3.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function4.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/function_n.hpp", - "external/sources/boost/boost/accumulators/numeric/detail/pod_singleton.hpp", - "external/sources/boost/boost/accumulators/numeric/functional.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/complex.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/valarray.hpp", - "external/sources/boost/boost/accumulators/numeric/functional/vector.hpp", - "external/sources/boost/boost/accumulators/numeric/functional_fwd.hpp", - "external/sources/boost/boost/accumulators/statistics.hpp", - "external/sources/boost/boost/accumulators/statistics/count.hpp", - "external/sources/boost/boost/accumulators/statistics/covariance.hpp", - "external/sources/boost/boost/accumulators/statistics/density.hpp", - "external/sources/boost/boost/accumulators/statistics/error_of.hpp", - "external/sources/boost/boost/accumulators/statistics/error_of_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/extended_p_square.hpp", - "external/sources/boost/boost/accumulators/statistics/extended_p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/kurtosis.hpp", - "external/sources/boost/boost/accumulators/statistics/max.hpp", - "external/sources/boost/boost/accumulators/statistics/mean.hpp", - "external/sources/boost/boost/accumulators/statistics/median.hpp", - "external/sources/boost/boost/accumulators/statistics/min.hpp", - "external/sources/boost/boost/accumulators/statistics/moment.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_cumul_dist.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_cumulative_distribution.hpp", - "external/sources/boost/boost/accumulators/statistics/p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/parameters/quantile_probability.hpp", - "external/sources/boost/boost/accumulators/statistics/peaks_over_threshold.hpp", - "external/sources/boost/boost/accumulators/statistics/pot_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/pot_tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_count.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_moment.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_sum.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_variance.hpp", - "external/sources/boost/boost/accumulators/statistics/rolling_window.hpp", - "external/sources/boost/boost/accumulators/statistics/skewness.hpp", - "external/sources/boost/boost/accumulators/statistics/stats.hpp", - "external/sources/boost/boost/accumulators/statistics/sum.hpp", - "external/sources/boost/boost/accumulators/statistics/sum_kahan.hpp", - "external/sources/boost/boost/accumulators/statistics/tail.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_variate.hpp", - "external/sources/boost/boost/accumulators/statistics/tail_variate_means.hpp", - "external/sources/boost/boost/accumulators/statistics/times2_iterator.hpp", - "external/sources/boost/boost/accumulators/statistics/variance.hpp", - "external/sources/boost/boost/accumulators/statistics/variates/covariate.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_covariance.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_density.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_extended_p_square.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_kurtosis.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_median.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_moment.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumul_dist.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_cumulative_distribution.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_p_square_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_peaks_over_threshold.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_skewness.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_sum.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_sum_kahan.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_mean.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_quantile.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_tail_variate_means.hpp", - "external/sources/boost/boost/accumulators/statistics/weighted_variance.hpp", - "external/sources/boost/boost/accumulators/statistics/with_error.hpp", - "external/sources/boost/boost/accumulators/statistics_fwd.hpp", - "external/sources/boost/boost/algorithm/algorithm.hpp", - "external/sources/boost/boost/algorithm/apply_permutation.hpp", - "external/sources/boost/boost/algorithm/clamp.hpp", - "external/sources/boost/boost/algorithm/cxx11/all_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/any_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/copy_if.hpp", - "external/sources/boost/boost/algorithm/cxx11/copy_n.hpp", - "external/sources/boost/boost/algorithm/cxx11/find_if_not.hpp", - "external/sources/boost/boost/algorithm/cxx11/iota.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_partitioned.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_permutation.hpp", - "external/sources/boost/boost/algorithm/cxx11/is_sorted.hpp", - "external/sources/boost/boost/algorithm/cxx11/none_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/one_of.hpp", - "external/sources/boost/boost/algorithm/cxx11/partition_copy.hpp", - "external/sources/boost/boost/algorithm/cxx11/partition_point.hpp", - "external/sources/boost/boost/algorithm/cxx14/equal.hpp", - "external/sources/boost/boost/algorithm/cxx14/is_permutation.hpp", - "external/sources/boost/boost/algorithm/cxx14/mismatch.hpp", - "external/sources/boost/boost/algorithm/cxx17/exclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/for_each_n.hpp", - "external/sources/boost/boost/algorithm/cxx17/inclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/reduce.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_exclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_inclusive_scan.hpp", - "external/sources/boost/boost/algorithm/cxx17/transform_reduce.hpp", - "external/sources/boost/boost/algorithm/find_backward.hpp", - "external/sources/boost/boost/algorithm/find_not.hpp", - "external/sources/boost/boost/algorithm/gather.hpp", - "external/sources/boost/boost/algorithm/hex.hpp", - "external/sources/boost/boost/algorithm/is_palindrome.hpp", - "external/sources/boost/boost/algorithm/is_partitioned_until.hpp", - "external/sources/boost/boost/algorithm/minmax.hpp", - "external/sources/boost/boost/algorithm/minmax_element.hpp", - "external/sources/boost/boost/algorithm/searching/boyer_moore.hpp", - "external/sources/boost/boost/algorithm/searching/boyer_moore_horspool.hpp", - "external/sources/boost/boost/algorithm/searching/detail/bm_traits.hpp", - "external/sources/boost/boost/algorithm/searching/detail/debugging.hpp", - "external/sources/boost/boost/algorithm/searching/knuth_morris_pratt.hpp", - "external/sources/boost/boost/algorithm/sort_subrange.hpp", - "external/sources/boost/boost/algorithm/string.hpp", - "external/sources/boost/boost/algorithm/string/case_conv.hpp", - "external/sources/boost/boost/algorithm/string/classification.hpp", - "external/sources/boost/boost/algorithm/string/compare.hpp", - "external/sources/boost/boost/algorithm/string/concept.hpp", - "external/sources/boost/boost/algorithm/string/config.hpp", - "external/sources/boost/boost/algorithm/string/constants.hpp", - "external/sources/boost/boost/algorithm/string/detail/case_conv.hpp", - "external/sources/boost/boost/algorithm/string/detail/classification.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format_all.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_format_store.hpp", - "external/sources/boost/boost/algorithm/string/detail/find_iterator.hpp", - "external/sources/boost/boost/algorithm/string/detail/finder.hpp", - "external/sources/boost/boost/algorithm/string/detail/finder_regex.hpp", - "external/sources/boost/boost/algorithm/string/detail/formatter.hpp", - "external/sources/boost/boost/algorithm/string/detail/formatter_regex.hpp", - "external/sources/boost/boost/algorithm/string/detail/predicate.hpp", - "external/sources/boost/boost/algorithm/string/detail/replace_storage.hpp", - "external/sources/boost/boost/algorithm/string/detail/sequence.hpp", - "external/sources/boost/boost/algorithm/string/detail/trim.hpp", - "external/sources/boost/boost/algorithm/string/detail/util.hpp", - "external/sources/boost/boost/algorithm/string/erase.hpp", - "external/sources/boost/boost/algorithm/string/find.hpp", - "external/sources/boost/boost/algorithm/string/find_format.hpp", - "external/sources/boost/boost/algorithm/string/find_iterator.hpp", - "external/sources/boost/boost/algorithm/string/finder.hpp", - "external/sources/boost/boost/algorithm/string/formatter.hpp", - "external/sources/boost/boost/algorithm/string/iter_find.hpp", - "external/sources/boost/boost/algorithm/string/join.hpp", - "external/sources/boost/boost/algorithm/string/predicate.hpp", - "external/sources/boost/boost/algorithm/string/predicate_facade.hpp", - "external/sources/boost/boost/algorithm/string/regex.hpp", - "external/sources/boost/boost/algorithm/string/regex_find_format.hpp", - "external/sources/boost/boost/algorithm/string/replace.hpp", - "external/sources/boost/boost/algorithm/string/sequence_traits.hpp", - "external/sources/boost/boost/algorithm/string/split.hpp", - "external/sources/boost/boost/algorithm/string/std/list_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/rope_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/slist_traits.hpp", - "external/sources/boost/boost/algorithm/string/std/string_traits.hpp", - "external/sources/boost/boost/algorithm/string/std_containers_traits.hpp", - "external/sources/boost/boost/algorithm/string/trim.hpp", - "external/sources/boost/boost/algorithm/string/trim_all.hpp", - "external/sources/boost/boost/algorithm/string/yes_no_type.hpp", - "external/sources/boost/boost/algorithm/string_regex.hpp", - "external/sources/boost/boost/align.hpp", - "external/sources/boost/boost/align/align.hpp", - "external/sources/boost/boost/align/align_down.hpp", - "external/sources/boost/boost/align/align_up.hpp", - "external/sources/boost/boost/align/aligned_alloc.hpp", - "external/sources/boost/boost/align/aligned_allocator.hpp", - "external/sources/boost/boost/align/aligned_allocator_adaptor.hpp", - "external/sources/boost/boost/align/aligned_allocator_adaptor_forward.hpp", - "external/sources/boost/boost/align/aligned_allocator_forward.hpp", - "external/sources/boost/boost/align/aligned_delete.hpp", - "external/sources/boost/boost/align/aligned_delete_forward.hpp", - "external/sources/boost/boost/align/alignment_of.hpp", - "external/sources/boost/boost/align/alignment_of_forward.hpp", - "external/sources/boost/boost/align/assume_aligned.hpp", - "external/sources/boost/boost/align/detail/add_reference.hpp", - "external/sources/boost/boost/align/detail/align.hpp", - "external/sources/boost/boost/align/detail/align_cxx11.hpp", - "external/sources/boost/boost/align/detail/align_down.hpp", - "external/sources/boost/boost/align/detail/align_up.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_android.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_macos.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_mingw.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_msvc.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_new.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_posix.hpp", - "external/sources/boost/boost/align/detail/aligned_alloc_sunos.hpp", - "external/sources/boost/boost/align/detail/alignment_of.hpp", - "external/sources/boost/boost/align/detail/alignment_of_clang.hpp", - "external/sources/boost/boost/align/detail/alignment_of_codegear.hpp", - "external/sources/boost/boost/align/detail/alignment_of_cxx11.hpp", - "external/sources/boost/boost/align/detail/alignment_of_gcc.hpp", - "external/sources/boost/boost/align/detail/alignment_of_msvc.hpp", - "external/sources/boost/boost/align/detail/assume_aligned.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_clang.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_gcc.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_intel.hpp", - "external/sources/boost/boost/align/detail/assume_aligned_msvc.hpp", - "external/sources/boost/boost/align/detail/element_type.hpp", - "external/sources/boost/boost/align/detail/integral_constant.hpp", - "external/sources/boost/boost/align/detail/is_aligned.hpp", - "external/sources/boost/boost/align/detail/is_alignment.hpp", - "external/sources/boost/boost/align/detail/is_alignment_constant.hpp", - "external/sources/boost/boost/align/detail/max_align.hpp", - "external/sources/boost/boost/align/detail/max_objects.hpp", - "external/sources/boost/boost/align/detail/max_size.hpp", - "external/sources/boost/boost/align/detail/min_size.hpp", - "external/sources/boost/boost/align/detail/not_pointer.hpp", - "external/sources/boost/boost/align/detail/throw_exception.hpp", - "external/sources/boost/boost/align/is_aligned.hpp", - "external/sources/boost/boost/aligned_storage.hpp", - "external/sources/boost/boost/any.hpp", - "external/sources/boost/boost/archive/archive_exception.hpp", - "external/sources/boost/boost/archive/basic_archive.hpp", - "external/sources/boost/boost/archive/basic_binary_iarchive.hpp", - "external/sources/boost/boost/archive/basic_binary_iprimitive.hpp", - "external/sources/boost/boost/archive/basic_binary_oarchive.hpp", - "external/sources/boost/boost/archive/basic_binary_oprimitive.hpp", - "external/sources/boost/boost/archive/basic_streambuf_locale_saver.hpp", - "external/sources/boost/boost/archive/basic_text_iarchive.hpp", - "external/sources/boost/boost/archive/basic_text_iprimitive.hpp", - "external/sources/boost/boost/archive/basic_text_oarchive.hpp", - "external/sources/boost/boost/archive/basic_text_oprimitive.hpp", - "external/sources/boost/boost/archive/basic_xml_archive.hpp", - "external/sources/boost/boost/archive/basic_xml_iarchive.hpp", - "external/sources/boost/boost/archive/basic_xml_oarchive.hpp", - "external/sources/boost/boost/archive/binary_iarchive.hpp", - "external/sources/boost/boost/archive/binary_iarchive_impl.hpp", - "external/sources/boost/boost/archive/binary_oarchive.hpp", - "external/sources/boost/boost/archive/binary_oarchive_impl.hpp", - "external/sources/boost/boost/archive/binary_wiarchive.hpp", - "external/sources/boost/boost/archive/binary_woarchive.hpp", - "external/sources/boost/boost/archive/codecvt_null.hpp", - "external/sources/boost/boost/archive/detail/abi_prefix.hpp", - "external/sources/boost/boost/archive/detail/abi_suffix.hpp", - "external/sources/boost/boost/archive/detail/archive_serializer_map.hpp", - "external/sources/boost/boost/archive/detail/auto_link_archive.hpp", - "external/sources/boost/boost/archive/detail/auto_link_warchive.hpp", - "external/sources/boost/boost/archive/detail/basic_iarchive.hpp", - "external/sources/boost/boost/archive/detail/basic_iserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_oarchive.hpp", - "external/sources/boost/boost/archive/detail/basic_oserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_pointer_iserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_pointer_oserializer.hpp", - "external/sources/boost/boost/archive/detail/basic_serializer.hpp", - "external/sources/boost/boost/archive/detail/basic_serializer_map.hpp", - "external/sources/boost/boost/archive/detail/check.hpp", - "external/sources/boost/boost/archive/detail/common_iarchive.hpp", - "external/sources/boost/boost/archive/detail/common_oarchive.hpp", - "external/sources/boost/boost/archive/detail/decl.hpp", - "external/sources/boost/boost/archive/detail/helper_collection.hpp", - "external/sources/boost/boost/archive/detail/interface_iarchive.hpp", - "external/sources/boost/boost/archive/detail/interface_oarchive.hpp", - "external/sources/boost/boost/archive/detail/iserializer.hpp", - "external/sources/boost/boost/archive/detail/oserializer.hpp", - "external/sources/boost/boost/archive/detail/polymorphic_iarchive_route.hpp", - "external/sources/boost/boost/archive/detail/polymorphic_oarchive_route.hpp", - "external/sources/boost/boost/archive/detail/register_archive.hpp", - "external/sources/boost/boost/archive/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/archive/dinkumware.hpp", - "external/sources/boost/boost/archive/impl/archive_serializer_map.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_iprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_oarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_binary_oprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_iprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_oarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_text_oprimitive.ipp", - "external/sources/boost/boost/archive/impl/basic_xml_grammar.hpp", - "external/sources/boost/boost/archive/impl/basic_xml_iarchive.ipp", - "external/sources/boost/boost/archive/impl/basic_xml_oarchive.ipp", - "external/sources/boost/boost/archive/impl/text_iarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_oarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_wiarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/text_woarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_iarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_oarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_wiarchive_impl.ipp", - "external/sources/boost/boost/archive/impl/xml_woarchive_impl.ipp", - "external/sources/boost/boost/archive/iterators/base64_exception.hpp", - "external/sources/boost/boost/archive/iterators/base64_from_binary.hpp", - "external/sources/boost/boost/archive/iterators/binary_from_base64.hpp", - "external/sources/boost/boost/archive/iterators/dataflow.hpp", - "external/sources/boost/boost/archive/iterators/dataflow_exception.hpp", - "external/sources/boost/boost/archive/iterators/escape.hpp", - "external/sources/boost/boost/archive/iterators/insert_linebreaks.hpp", - "external/sources/boost/boost/archive/iterators/istream_iterator.hpp", - "external/sources/boost/boost/archive/iterators/mb_from_wchar.hpp", - "external/sources/boost/boost/archive/iterators/ostream_iterator.hpp", - "external/sources/boost/boost/archive/iterators/remove_whitespace.hpp", - "external/sources/boost/boost/archive/iterators/transform_width.hpp", - "external/sources/boost/boost/archive/iterators/unescape.hpp", - "external/sources/boost/boost/archive/iterators/wchar_from_mb.hpp", - "external/sources/boost/boost/archive/iterators/xml_escape.hpp", - "external/sources/boost/boost/archive/iterators/xml_unescape.hpp", - "external/sources/boost/boost/archive/iterators/xml_unescape_exception.hpp", - "external/sources/boost/boost/archive/polymorphic_binary_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_binary_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_wiarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_text_woarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_iarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_oarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_wiarchive.hpp", - "external/sources/boost/boost/archive/polymorphic_xml_woarchive.hpp", - "external/sources/boost/boost/archive/text_iarchive.hpp", - "external/sources/boost/boost/archive/text_oarchive.hpp", - "external/sources/boost/boost/archive/text_wiarchive.hpp", - "external/sources/boost/boost/archive/text_woarchive.hpp", - "external/sources/boost/boost/archive/tmpdir.hpp", - "external/sources/boost/boost/archive/wcslen.hpp", - "external/sources/boost/boost/archive/xml_archive_exception.hpp", - "external/sources/boost/boost/archive/xml_iarchive.hpp", - "external/sources/boost/boost/archive/xml_oarchive.hpp", - "external/sources/boost/boost/archive/xml_wiarchive.hpp", - "external/sources/boost/boost/archive/xml_woarchive.hpp", - "external/sources/boost/boost/array.hpp", - "external/sources/boost/boost/asio.hpp", - "external/sources/boost/boost/asio/any_io_executor.hpp", - "external/sources/boost/boost/asio/associated_allocator.hpp", - "external/sources/boost/boost/asio/associated_executor.hpp", - "external/sources/boost/boost/asio/async_result.hpp", - "external/sources/boost/boost/asio/awaitable.hpp", - "external/sources/boost/boost/asio/basic_datagram_socket.hpp", - "external/sources/boost/boost/asio/basic_deadline_timer.hpp", - "external/sources/boost/boost/asio/basic_io_object.hpp", - "external/sources/boost/boost/asio/basic_raw_socket.hpp", - "external/sources/boost/boost/asio/basic_seq_packet_socket.hpp", - "external/sources/boost/boost/asio/basic_serial_port.hpp", - "external/sources/boost/boost/asio/basic_signal_set.hpp", - "external/sources/boost/boost/asio/basic_socket.hpp", - "external/sources/boost/boost/asio/basic_socket_acceptor.hpp", - "external/sources/boost/boost/asio/basic_socket_iostream.hpp", - "external/sources/boost/boost/asio/basic_socket_streambuf.hpp", - "external/sources/boost/boost/asio/basic_stream_socket.hpp", - "external/sources/boost/boost/asio/basic_streambuf.hpp", - "external/sources/boost/boost/asio/basic_streambuf_fwd.hpp", - "external/sources/boost/boost/asio/basic_waitable_timer.hpp", - "external/sources/boost/boost/asio/bind_executor.hpp", - "external/sources/boost/boost/asio/buffer.hpp", - "external/sources/boost/boost/asio/buffered_read_stream.hpp", - "external/sources/boost/boost/asio/buffered_read_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffered_stream.hpp", - "external/sources/boost/boost/asio/buffered_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffered_write_stream.hpp", - "external/sources/boost/boost/asio/buffered_write_stream_fwd.hpp", - "external/sources/boost/boost/asio/buffers_iterator.hpp", - "external/sources/boost/boost/asio/co_spawn.hpp", - "external/sources/boost/boost/asio/completion_condition.hpp", - "external/sources/boost/boost/asio/compose.hpp", - "external/sources/boost/boost/asio/connect.hpp", - "external/sources/boost/boost/asio/coroutine.hpp", - "external/sources/boost/boost/asio/deadline_timer.hpp", - "external/sources/boost/boost/asio/defer.hpp", - "external/sources/boost/boost/asio/detached.hpp", - "external/sources/boost/boost/asio/detail/array.hpp", - "external/sources/boost/boost/asio/detail/array_fwd.hpp", - "external/sources/boost/boost/asio/detail/assert.hpp", - "external/sources/boost/boost/asio/detail/atomic_count.hpp", - "external/sources/boost/boost/asio/detail/base_from_completion_cond.hpp", - "external/sources/boost/boost/asio/detail/bind_handler.hpp", - "external/sources/boost/boost/asio/detail/blocking_executor_op.hpp", - "external/sources/boost/boost/asio/detail/buffer_resize_guard.hpp", - "external/sources/boost/boost/asio/detail/buffer_sequence_adapter.hpp", - "external/sources/boost/boost/asio/detail/buffered_stream_storage.hpp", - "external/sources/boost/boost/asio/detail/bulk_executor_op.hpp", - "external/sources/boost/boost/asio/detail/call_stack.hpp", - "external/sources/boost/boost/asio/detail/chrono.hpp", - "external/sources/boost/boost/asio/detail/chrono_time_traits.hpp", - "external/sources/boost/boost/asio/detail/completion_handler.hpp", - "external/sources/boost/boost/asio/detail/concurrency_hint.hpp", - "external/sources/boost/boost/asio/detail/conditionally_enabled_event.hpp", - "external/sources/boost/boost/asio/detail/conditionally_enabled_mutex.hpp", - "external/sources/boost/boost/asio/detail/config.hpp", - "external/sources/boost/boost/asio/detail/consuming_buffers.hpp", - "external/sources/boost/boost/asio/detail/cstddef.hpp", - "external/sources/boost/boost/asio/detail/cstdint.hpp", - "external/sources/boost/boost/asio/detail/date_time_fwd.hpp", - "external/sources/boost/boost/asio/detail/deadline_timer_service.hpp", - "external/sources/boost/boost/asio/detail/dependent_type.hpp", - "external/sources/boost/boost/asio/detail/descriptor_ops.hpp", - "external/sources/boost/boost/asio/detail/descriptor_read_op.hpp", - "external/sources/boost/boost/asio/detail/descriptor_write_op.hpp", - "external/sources/boost/boost/asio/detail/dev_poll_reactor.hpp", - "external/sources/boost/boost/asio/detail/epoll_reactor.hpp", - "external/sources/boost/boost/asio/detail/event.hpp", - "external/sources/boost/boost/asio/detail/eventfd_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/executor_function.hpp", - "external/sources/boost/boost/asio/detail/executor_op.hpp", - "external/sources/boost/boost/asio/detail/fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/fenced_block.hpp", - "external/sources/boost/boost/asio/detail/functional.hpp", - "external/sources/boost/boost/asio/detail/future.hpp", - "external/sources/boost/boost/asio/detail/gcc_arm_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_hppa_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_sync_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/gcc_x86_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/global.hpp", - "external/sources/boost/boost/asio/detail/handler_alloc_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_cont_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_invoke_helpers.hpp", - "external/sources/boost/boost/asio/detail/handler_tracking.hpp", - "external/sources/boost/boost/asio/detail/handler_type_requirements.hpp", - "external/sources/boost/boost/asio/detail/handler_work.hpp", - "external/sources/boost/boost/asio/detail/hash_map.hpp", - "external/sources/boost/boost/asio/detail/impl/buffer_sequence_adapter.ipp", - "external/sources/boost/boost/asio/detail/impl/descriptor_ops.ipp", - "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/dev_poll_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/epoll_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/epoll_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/eventfd_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/handler_tracking.ipp", - "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/kqueue_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/null_event.ipp", - "external/sources/boost/boost/asio/detail/impl/pipe_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_event.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_thread.ipp", - "external/sources/boost/boost/asio/detail/impl/posix_tss_ptr.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_descriptor_service.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_serial_port_service.ipp", - "external/sources/boost/boost/asio/detail/impl/reactive_socket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/resolver_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/scheduler.ipp", - "external/sources/boost/boost/asio/detail/impl/select_reactor.hpp", - "external/sources/boost/boost/asio/detail/impl/select_reactor.ipp", - "external/sources/boost/boost/asio/detail/impl/service_registry.hpp", - "external/sources/boost/boost/asio/detail/impl/service_registry.ipp", - "external/sources/boost/boost/asio/detail/impl/signal_set_service.ipp", - "external/sources/boost/boost/asio/detail/impl/socket_ops.ipp", - "external/sources/boost/boost/asio/detail/impl/socket_select_interrupter.ipp", - "external/sources/boost/boost/asio/detail/impl/strand_executor_service.hpp", - "external/sources/boost/boost/asio/detail/impl/strand_executor_service.ipp", - "external/sources/boost/boost/asio/detail/impl/strand_service.hpp", - "external/sources/boost/boost/asio/detail/impl/strand_service.ipp", - "external/sources/boost/boost/asio/detail/impl/throw_error.ipp", - "external/sources/boost/boost/asio/detail/impl/timer_queue_ptime.ipp", - "external/sources/boost/boost/asio/detail/impl/timer_queue_set.ipp", - "external/sources/boost/boost/asio/detail/impl/win_event.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_handle_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.hpp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_io_context.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_serial_port_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_iocp_socket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/win_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/win_object_handle_service.ipp", - "external/sources/boost/boost/asio/detail/impl/win_static_mutex.ipp", - "external/sources/boost/boost/asio/detail/impl/win_thread.ipp", - "external/sources/boost/boost/asio/detail/impl/win_tss_ptr.ipp", - "external/sources/boost/boost/asio/detail/impl/winrt_ssocket_service_base.ipp", - "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/impl/winrt_timer_scheduler.ipp", - "external/sources/boost/boost/asio/detail/impl/winsock_init.ipp", - "external/sources/boost/boost/asio/detail/io_control.hpp", - "external/sources/boost/boost/asio/detail/io_object_impl.hpp", - "external/sources/boost/boost/asio/detail/is_buffer_sequence.hpp", - "external/sources/boost/boost/asio/detail/is_executor.hpp", - "external/sources/boost/boost/asio/detail/keyword_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/kqueue_reactor.hpp", - "external/sources/boost/boost/asio/detail/limits.hpp", - "external/sources/boost/boost/asio/detail/local_free_on_block_exit.hpp", - "external/sources/boost/boost/asio/detail/macos_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/memory.hpp", - "external/sources/boost/boost/asio/detail/mutex.hpp", - "external/sources/boost/boost/asio/detail/non_const_lvalue.hpp", - "external/sources/boost/boost/asio/detail/noncopyable.hpp", - "external/sources/boost/boost/asio/detail/null_event.hpp", - "external/sources/boost/boost/asio/detail/null_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/null_global.hpp", - "external/sources/boost/boost/asio/detail/null_mutex.hpp", - "external/sources/boost/boost/asio/detail/null_reactor.hpp", - "external/sources/boost/boost/asio/detail/null_signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/null_socket_service.hpp", - "external/sources/boost/boost/asio/detail/null_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/null_thread.hpp", - "external/sources/boost/boost/asio/detail/null_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/object_pool.hpp", - "external/sources/boost/boost/asio/detail/old_win_sdk_compat.hpp", - "external/sources/boost/boost/asio/detail/op_queue.hpp", - "external/sources/boost/boost/asio/detail/operation.hpp", - "external/sources/boost/boost/asio/detail/pipe_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/pop_options.hpp", - "external/sources/boost/boost/asio/detail/posix_event.hpp", - "external/sources/boost/boost/asio/detail/posix_fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/posix_global.hpp", - "external/sources/boost/boost/asio/detail/posix_mutex.hpp", - "external/sources/boost/boost/asio/detail/posix_signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/posix_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/posix_thread.hpp", - "external/sources/boost/boost/asio/detail/posix_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/push_options.hpp", - "external/sources/boost/boost/asio/detail/reactive_descriptor_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_null_buffers_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_serial_port_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_accept_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recvfrom_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_recvmsg_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_sendto_op.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_service.hpp", - "external/sources/boost/boost/asio/detail/reactive_socket_service_base.hpp", - "external/sources/boost/boost/asio/detail/reactive_wait_op.hpp", - "external/sources/boost/boost/asio/detail/reactor.hpp", - "external/sources/boost/boost/asio/detail/reactor_fwd.hpp", - "external/sources/boost/boost/asio/detail/reactor_op.hpp", - "external/sources/boost/boost/asio/detail/reactor_op_queue.hpp", - "external/sources/boost/boost/asio/detail/recycling_allocator.hpp", - "external/sources/boost/boost/asio/detail/regex_fwd.hpp", - "external/sources/boost/boost/asio/detail/resolve_endpoint_op.hpp", - "external/sources/boost/boost/asio/detail/resolve_op.hpp", - "external/sources/boost/boost/asio/detail/resolve_query_op.hpp", - "external/sources/boost/boost/asio/detail/resolver_service.hpp", - "external/sources/boost/boost/asio/detail/resolver_service_base.hpp", - "external/sources/boost/boost/asio/detail/scheduler.hpp", - "external/sources/boost/boost/asio/detail/scheduler_operation.hpp", - "external/sources/boost/boost/asio/detail/scheduler_thread_info.hpp", - "external/sources/boost/boost/asio/detail/scoped_lock.hpp", - "external/sources/boost/boost/asio/detail/scoped_ptr.hpp", - "external/sources/boost/boost/asio/detail/select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/select_reactor.hpp", - "external/sources/boost/boost/asio/detail/service_registry.hpp", - "external/sources/boost/boost/asio/detail/signal_blocker.hpp", - "external/sources/boost/boost/asio/detail/signal_handler.hpp", - "external/sources/boost/boost/asio/detail/signal_init.hpp", - "external/sources/boost/boost/asio/detail/signal_op.hpp", - "external/sources/boost/boost/asio/detail/signal_set_service.hpp", - "external/sources/boost/boost/asio/detail/socket_holder.hpp", - "external/sources/boost/boost/asio/detail/socket_ops.hpp", - "external/sources/boost/boost/asio/detail/socket_option.hpp", - "external/sources/boost/boost/asio/detail/socket_select_interrupter.hpp", - "external/sources/boost/boost/asio/detail/socket_types.hpp", - "external/sources/boost/boost/asio/detail/solaris_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/source_location.hpp", - "external/sources/boost/boost/asio/detail/static_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_event.hpp", - "external/sources/boost/boost/asio/detail/std_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/std_global.hpp", - "external/sources/boost/boost/asio/detail/std_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/std_thread.hpp", - "external/sources/boost/boost/asio/detail/strand_executor_service.hpp", - "external/sources/boost/boost/asio/detail/strand_service.hpp", - "external/sources/boost/boost/asio/detail/string_view.hpp", - "external/sources/boost/boost/asio/detail/thread.hpp", - "external/sources/boost/boost/asio/detail/thread_context.hpp", - "external/sources/boost/boost/asio/detail/thread_group.hpp", - "external/sources/boost/boost/asio/detail/thread_info_base.hpp", - "external/sources/boost/boost/asio/detail/throw_error.hpp", - "external/sources/boost/boost/asio/detail/throw_exception.hpp", - "external/sources/boost/boost/asio/detail/timer_queue.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_base.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_ptime.hpp", - "external/sources/boost/boost/asio/detail/timer_queue_set.hpp", - "external/sources/boost/boost/asio/detail/timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/timer_scheduler_fwd.hpp", - "external/sources/boost/boost/asio/detail/tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/type_traits.hpp", - "external/sources/boost/boost/asio/detail/variadic_templates.hpp", - "external/sources/boost/boost/asio/detail/wait_handler.hpp", - "external/sources/boost/boost/asio/detail/wait_op.hpp", - "external/sources/boost/boost/asio/detail/win_event.hpp", - "external/sources/boost/boost/asio/detail/win_fd_set_adapter.hpp", - "external/sources/boost/boost/asio/detail/win_fenced_block.hpp", - "external/sources/boost/boost/asio/detail/win_global.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_read_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_handle_write_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_io_context.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_null_buffers_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_operation.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_overlapped_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_overlapped_ptr.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_serial_port_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_accept_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recvfrom_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_recvmsg_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_service.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_socket_service_base.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_thread_info.hpp", - "external/sources/boost/boost/asio/detail/win_iocp_wait_op.hpp", - "external/sources/boost/boost/asio/detail/win_mutex.hpp", - "external/sources/boost/boost/asio/detail/win_object_handle_service.hpp", - "external/sources/boost/boost/asio/detail/win_static_mutex.hpp", - "external/sources/boost/boost/asio/detail/win_thread.hpp", - "external/sources/boost/boost/asio/detail/win_tss_ptr.hpp", - "external/sources/boost/boost/asio/detail/winapp_thread.hpp", - "external/sources/boost/boost/asio/detail/wince_thread.hpp", - "external/sources/boost/boost/asio/detail/winrt_async_manager.hpp", - "external/sources/boost/boost/asio/detail/winrt_async_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_resolve_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_resolver_service.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_connect_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_recv_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_socket_send_op.hpp", - "external/sources/boost/boost/asio/detail/winrt_ssocket_service.hpp", - "external/sources/boost/boost/asio/detail/winrt_ssocket_service_base.hpp", - "external/sources/boost/boost/asio/detail/winrt_timer_scheduler.hpp", - "external/sources/boost/boost/asio/detail/winrt_utils.hpp", - "external/sources/boost/boost/asio/detail/winsock_init.hpp", - "external/sources/boost/boost/asio/detail/work_dispatcher.hpp", - "external/sources/boost/boost/asio/detail/wrapped_handler.hpp", - "external/sources/boost/boost/asio/dispatch.hpp", - "external/sources/boost/boost/asio/error.hpp", - "external/sources/boost/boost/asio/execution.hpp", - "external/sources/boost/boost/asio/execution/allocator.hpp", - "external/sources/boost/boost/asio/execution/any_executor.hpp", - "external/sources/boost/boost/asio/execution/bad_executor.hpp", - "external/sources/boost/boost/asio/execution/blocking.hpp", - "external/sources/boost/boost/asio/execution/blocking_adaptation.hpp", - "external/sources/boost/boost/asio/execution/bulk_execute.hpp", - "external/sources/boost/boost/asio/execution/bulk_guarantee.hpp", - "external/sources/boost/boost/asio/execution/connect.hpp", - "external/sources/boost/boost/asio/execution/context.hpp", - "external/sources/boost/boost/asio/execution/context_as.hpp", - "external/sources/boost/boost/asio/execution/detail/as_invocable.hpp", - "external/sources/boost/boost/asio/execution/detail/as_operation.hpp", - "external/sources/boost/boost/asio/execution/detail/as_receiver.hpp", - "external/sources/boost/boost/asio/execution/detail/bulk_sender.hpp", - "external/sources/boost/boost/asio/execution/detail/submit_receiver.hpp", - "external/sources/boost/boost/asio/execution/detail/void_receiver.hpp", - "external/sources/boost/boost/asio/execution/execute.hpp", - "external/sources/boost/boost/asio/execution/executor.hpp", - "external/sources/boost/boost/asio/execution/impl/bad_executor.ipp", - "external/sources/boost/boost/asio/execution/impl/receiver_invocation_error.ipp", - "external/sources/boost/boost/asio/execution/invocable_archetype.hpp", - "external/sources/boost/boost/asio/execution/mapping.hpp", - "external/sources/boost/boost/asio/execution/occupancy.hpp", - "external/sources/boost/boost/asio/execution/operation_state.hpp", - "external/sources/boost/boost/asio/execution/outstanding_work.hpp", - "external/sources/boost/boost/asio/execution/prefer_only.hpp", - "external/sources/boost/boost/asio/execution/receiver.hpp", - "external/sources/boost/boost/asio/execution/receiver_invocation_error.hpp", - "external/sources/boost/boost/asio/execution/relationship.hpp", - "external/sources/boost/boost/asio/execution/schedule.hpp", - "external/sources/boost/boost/asio/execution/scheduler.hpp", - "external/sources/boost/boost/asio/execution/sender.hpp", - "external/sources/boost/boost/asio/execution/set_done.hpp", - "external/sources/boost/boost/asio/execution/set_error.hpp", - "external/sources/boost/boost/asio/execution/set_value.hpp", - "external/sources/boost/boost/asio/execution/start.hpp", - "external/sources/boost/boost/asio/execution/submit.hpp", - "external/sources/boost/boost/asio/execution_context.hpp", - "external/sources/boost/boost/asio/executor.hpp", - "external/sources/boost/boost/asio/executor_work_guard.hpp", - "external/sources/boost/boost/asio/generic/basic_endpoint.hpp", - "external/sources/boost/boost/asio/generic/datagram_protocol.hpp", - "external/sources/boost/boost/asio/generic/detail/endpoint.hpp", - "external/sources/boost/boost/asio/generic/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/generic/raw_protocol.hpp", - "external/sources/boost/boost/asio/generic/seq_packet_protocol.hpp", - "external/sources/boost/boost/asio/generic/stream_protocol.hpp", - "external/sources/boost/boost/asio/handler_alloc_hook.hpp", - "external/sources/boost/boost/asio/handler_continuation_hook.hpp", - "external/sources/boost/boost/asio/handler_invoke_hook.hpp", - "external/sources/boost/boost/asio/high_resolution_timer.hpp", - "external/sources/boost/boost/asio/impl/awaitable.hpp", - "external/sources/boost/boost/asio/impl/buffered_read_stream.hpp", - "external/sources/boost/boost/asio/impl/buffered_write_stream.hpp", - "external/sources/boost/boost/asio/impl/co_spawn.hpp", - "external/sources/boost/boost/asio/impl/compose.hpp", - "external/sources/boost/boost/asio/impl/connect.hpp", - "external/sources/boost/boost/asio/impl/defer.hpp", - "external/sources/boost/boost/asio/impl/detached.hpp", - "external/sources/boost/boost/asio/impl/dispatch.hpp", - "external/sources/boost/boost/asio/impl/error.ipp", - "external/sources/boost/boost/asio/impl/execution_context.hpp", - "external/sources/boost/boost/asio/impl/execution_context.ipp", - "external/sources/boost/boost/asio/impl/executor.hpp", - "external/sources/boost/boost/asio/impl/executor.ipp", - "external/sources/boost/boost/asio/impl/handler_alloc_hook.ipp", - "external/sources/boost/boost/asio/impl/io_context.hpp", - "external/sources/boost/boost/asio/impl/io_context.ipp", - "external/sources/boost/boost/asio/impl/multiple_exceptions.ipp", - "external/sources/boost/boost/asio/impl/post.hpp", - "external/sources/boost/boost/asio/impl/read.hpp", - "external/sources/boost/boost/asio/impl/read_at.hpp", - "external/sources/boost/boost/asio/impl/read_until.hpp", - "external/sources/boost/boost/asio/impl/redirect_error.hpp", - "external/sources/boost/boost/asio/impl/serial_port_base.hpp", - "external/sources/boost/boost/asio/impl/serial_port_base.ipp", - "external/sources/boost/boost/asio/impl/spawn.hpp", - "external/sources/boost/boost/asio/impl/src.cpp", - "external/sources/boost/boost/asio/impl/src.hpp", - "external/sources/boost/boost/asio/impl/system_context.hpp", - "external/sources/boost/boost/asio/impl/system_context.ipp", - "external/sources/boost/boost/asio/impl/system_executor.hpp", - "external/sources/boost/boost/asio/impl/thread_pool.hpp", - "external/sources/boost/boost/asio/impl/thread_pool.ipp", - "external/sources/boost/boost/asio/impl/use_awaitable.hpp", - "external/sources/boost/boost/asio/impl/use_future.hpp", - "external/sources/boost/boost/asio/impl/write.hpp", - "external/sources/boost/boost/asio/impl/write_at.hpp", - "external/sources/boost/boost/asio/io_context.hpp", - "external/sources/boost/boost/asio/io_context_strand.hpp", - "external/sources/boost/boost/asio/io_service.hpp", - "external/sources/boost/boost/asio/io_service_strand.hpp", - "external/sources/boost/boost/asio/ip/address.hpp", - "external/sources/boost/boost/asio/ip/address_v4.hpp", - "external/sources/boost/boost/asio/ip/address_v4_iterator.hpp", - "external/sources/boost/boost/asio/ip/address_v4_range.hpp", - "external/sources/boost/boost/asio/ip/address_v6.hpp", - "external/sources/boost/boost/asio/ip/address_v6_iterator.hpp", - "external/sources/boost/boost/asio/ip/address_v6_range.hpp", - "external/sources/boost/boost/asio/ip/bad_address_cast.hpp", - "external/sources/boost/boost/asio/ip/basic_endpoint.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_entry.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_iterator.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_query.hpp", - "external/sources/boost/boost/asio/ip/basic_resolver_results.hpp", - "external/sources/boost/boost/asio/ip/detail/endpoint.hpp", - "external/sources/boost/boost/asio/ip/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/ip/detail/socket_option.hpp", - "external/sources/boost/boost/asio/ip/host_name.hpp", - "external/sources/boost/boost/asio/ip/icmp.hpp", - "external/sources/boost/boost/asio/ip/impl/address.hpp", - "external/sources/boost/boost/asio/ip/impl/address.ipp", - "external/sources/boost/boost/asio/ip/impl/address_v4.hpp", - "external/sources/boost/boost/asio/ip/impl/address_v4.ipp", - "external/sources/boost/boost/asio/ip/impl/address_v6.hpp", - "external/sources/boost/boost/asio/ip/impl/address_v6.ipp", - "external/sources/boost/boost/asio/ip/impl/basic_endpoint.hpp", - "external/sources/boost/boost/asio/ip/impl/host_name.ipp", - "external/sources/boost/boost/asio/ip/impl/network_v4.hpp", - "external/sources/boost/boost/asio/ip/impl/network_v4.ipp", - "external/sources/boost/boost/asio/ip/impl/network_v6.hpp", - "external/sources/boost/boost/asio/ip/impl/network_v6.ipp", - "external/sources/boost/boost/asio/ip/multicast.hpp", - "external/sources/boost/boost/asio/ip/network_v4.hpp", - "external/sources/boost/boost/asio/ip/network_v6.hpp", - "external/sources/boost/boost/asio/ip/resolver_base.hpp", - "external/sources/boost/boost/asio/ip/resolver_query_base.hpp", - "external/sources/boost/boost/asio/ip/tcp.hpp", - "external/sources/boost/boost/asio/ip/udp.hpp", - "external/sources/boost/boost/asio/ip/unicast.hpp", - "external/sources/boost/boost/asio/ip/v6_only.hpp", - "external/sources/boost/boost/asio/is_applicable_property.hpp", - "external/sources/boost/boost/asio/is_executor.hpp", - "external/sources/boost/boost/asio/is_read_buffered.hpp", - "external/sources/boost/boost/asio/is_write_buffered.hpp", - "external/sources/boost/boost/asio/local/basic_endpoint.hpp", - "external/sources/boost/boost/asio/local/connect_pair.hpp", - "external/sources/boost/boost/asio/local/datagram_protocol.hpp", - "external/sources/boost/boost/asio/local/detail/endpoint.hpp", - "external/sources/boost/boost/asio/local/detail/impl/endpoint.ipp", - "external/sources/boost/boost/asio/local/stream_protocol.hpp", - "external/sources/boost/boost/asio/multiple_exceptions.hpp", - "external/sources/boost/boost/asio/packaged_task.hpp", - "external/sources/boost/boost/asio/placeholders.hpp", - "external/sources/boost/boost/asio/posix/basic_descriptor.hpp", - "external/sources/boost/boost/asio/posix/basic_stream_descriptor.hpp", - "external/sources/boost/boost/asio/posix/descriptor.hpp", - "external/sources/boost/boost/asio/posix/descriptor_base.hpp", - "external/sources/boost/boost/asio/posix/stream_descriptor.hpp", - "external/sources/boost/boost/asio/post.hpp", - "external/sources/boost/boost/asio/prefer.hpp", - "external/sources/boost/boost/asio/query.hpp", - "external/sources/boost/boost/asio/read.hpp", - "external/sources/boost/boost/asio/read_at.hpp", - "external/sources/boost/boost/asio/read_until.hpp", - "external/sources/boost/boost/asio/redirect_error.hpp", - "external/sources/boost/boost/asio/require.hpp", - "external/sources/boost/boost/asio/require_concept.hpp", - "external/sources/boost/boost/asio/serial_port.hpp", - "external/sources/boost/boost/asio/serial_port_base.hpp", - "external/sources/boost/boost/asio/signal_set.hpp", - "external/sources/boost/boost/asio/socket_base.hpp", - "external/sources/boost/boost/asio/spawn.hpp", - "external/sources/boost/boost/asio/ssl.hpp", - "external/sources/boost/boost/asio/ssl/context.hpp", - "external/sources/boost/boost/asio/ssl/context_base.hpp", - "external/sources/boost/boost/asio/ssl/detail/buffered_handshake_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/engine.hpp", - "external/sources/boost/boost/asio/ssl/detail/handshake_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/impl/engine.ipp", - "external/sources/boost/boost/asio/ssl/detail/impl/openssl_init.ipp", - "external/sources/boost/boost/asio/ssl/detail/io.hpp", - "external/sources/boost/boost/asio/ssl/detail/openssl_init.hpp", - "external/sources/boost/boost/asio/ssl/detail/openssl_types.hpp", - "external/sources/boost/boost/asio/ssl/detail/password_callback.hpp", - "external/sources/boost/boost/asio/ssl/detail/read_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/shutdown_op.hpp", - "external/sources/boost/boost/asio/ssl/detail/stream_core.hpp", - "external/sources/boost/boost/asio/ssl/detail/verify_callback.hpp", - "external/sources/boost/boost/asio/ssl/detail/write_op.hpp", - "external/sources/boost/boost/asio/ssl/error.hpp", - "external/sources/boost/boost/asio/ssl/host_name_verification.hpp", - "external/sources/boost/boost/asio/ssl/impl/context.hpp", - "external/sources/boost/boost/asio/ssl/impl/context.ipp", - "external/sources/boost/boost/asio/ssl/impl/error.ipp", - "external/sources/boost/boost/asio/ssl/impl/host_name_verification.ipp", - "external/sources/boost/boost/asio/ssl/impl/rfc2818_verification.ipp", - "external/sources/boost/boost/asio/ssl/impl/src.hpp", - "external/sources/boost/boost/asio/ssl/rfc2818_verification.hpp", - "external/sources/boost/boost/asio/ssl/stream.hpp", - "external/sources/boost/boost/asio/ssl/stream_base.hpp", - "external/sources/boost/boost/asio/ssl/verify_context.hpp", - "external/sources/boost/boost/asio/ssl/verify_mode.hpp", - "external/sources/boost/boost/asio/static_thread_pool.hpp", - "external/sources/boost/boost/asio/steady_timer.hpp", - "external/sources/boost/boost/asio/strand.hpp", - "external/sources/boost/boost/asio/streambuf.hpp", - "external/sources/boost/boost/asio/system_context.hpp", - "external/sources/boost/boost/asio/system_executor.hpp", - "external/sources/boost/boost/asio/system_timer.hpp", - "external/sources/boost/boost/asio/this_coro.hpp", - "external/sources/boost/boost/asio/thread_pool.hpp", - "external/sources/boost/boost/asio/time_traits.hpp", - "external/sources/boost/boost/asio/traits/bulk_execute_free.hpp", - "external/sources/boost/boost/asio/traits/bulk_execute_member.hpp", - "external/sources/boost/boost/asio/traits/connect_free.hpp", - "external/sources/boost/boost/asio/traits/connect_member.hpp", - "external/sources/boost/boost/asio/traits/equality_comparable.hpp", - "external/sources/boost/boost/asio/traits/execute_free.hpp", - "external/sources/boost/boost/asio/traits/execute_member.hpp", - "external/sources/boost/boost/asio/traits/prefer_free.hpp", - "external/sources/boost/boost/asio/traits/prefer_member.hpp", - "external/sources/boost/boost/asio/traits/query_free.hpp", - "external/sources/boost/boost/asio/traits/query_member.hpp", - "external/sources/boost/boost/asio/traits/query_static_constexpr_member.hpp", - "external/sources/boost/boost/asio/traits/require_concept_free.hpp", - "external/sources/boost/boost/asio/traits/require_concept_member.hpp", - "external/sources/boost/boost/asio/traits/require_free.hpp", - "external/sources/boost/boost/asio/traits/require_member.hpp", - "external/sources/boost/boost/asio/traits/schedule_free.hpp", - "external/sources/boost/boost/asio/traits/schedule_member.hpp", - "external/sources/boost/boost/asio/traits/set_done_free.hpp", - "external/sources/boost/boost/asio/traits/set_done_member.hpp", - "external/sources/boost/boost/asio/traits/set_error_free.hpp", - "external/sources/boost/boost/asio/traits/set_error_member.hpp", - "external/sources/boost/boost/asio/traits/set_value_free.hpp", - "external/sources/boost/boost/asio/traits/set_value_member.hpp", - "external/sources/boost/boost/asio/traits/start_free.hpp", - "external/sources/boost/boost/asio/traits/start_member.hpp", - "external/sources/boost/boost/asio/traits/static_query.hpp", - "external/sources/boost/boost/asio/traits/static_require.hpp", - "external/sources/boost/boost/asio/traits/static_require_concept.hpp", - "external/sources/boost/boost/asio/traits/submit_free.hpp", - "external/sources/boost/boost/asio/traits/submit_member.hpp", - "external/sources/boost/boost/asio/ts/buffer.hpp", - "external/sources/boost/boost/asio/ts/executor.hpp", - "external/sources/boost/boost/asio/ts/internet.hpp", - "external/sources/boost/boost/asio/ts/io_context.hpp", - "external/sources/boost/boost/asio/ts/net.hpp", - "external/sources/boost/boost/asio/ts/netfwd.hpp", - "external/sources/boost/boost/asio/ts/socket.hpp", - "external/sources/boost/boost/asio/ts/timer.hpp", - "external/sources/boost/boost/asio/unyield.hpp", - "external/sources/boost/boost/asio/use_awaitable.hpp", - "external/sources/boost/boost/asio/use_future.hpp", - "external/sources/boost/boost/asio/uses_executor.hpp", - "external/sources/boost/boost/asio/version.hpp", - "external/sources/boost/boost/asio/wait_traits.hpp", - "external/sources/boost/boost/asio/windows/basic_object_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_overlapped_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_random_access_handle.hpp", - "external/sources/boost/boost/asio/windows/basic_stream_handle.hpp", - "external/sources/boost/boost/asio/windows/object_handle.hpp", - "external/sources/boost/boost/asio/windows/overlapped_handle.hpp", - "external/sources/boost/boost/asio/windows/overlapped_ptr.hpp", - "external/sources/boost/boost/asio/windows/random_access_handle.hpp", - "external/sources/boost/boost/asio/windows/stream_handle.hpp", - "external/sources/boost/boost/asio/write.hpp", - "external/sources/boost/boost/asio/write_at.hpp", - "external/sources/boost/boost/asio/yield.hpp", - "external/sources/boost/boost/assert.hpp", - "external/sources/boost/boost/assert/source_location.hpp", - "external/sources/boost/boost/assign.hpp", - "external/sources/boost/boost/assign/assignment_exception.hpp", - "external/sources/boost/boost/assign/list_inserter.hpp", - "external/sources/boost/boost/assign/list_of.hpp", - "external/sources/boost/boost/assign/ptr_list_inserter.hpp", - "external/sources/boost/boost/assign/ptr_list_of.hpp", - "external/sources/boost/boost/assign/ptr_map_inserter.hpp", - "external/sources/boost/boost/assign/std.hpp", - "external/sources/boost/boost/assign/std/deque.hpp", - "external/sources/boost/boost/assign/std/list.hpp", - "external/sources/boost/boost/assign/std/map.hpp", - "external/sources/boost/boost/assign/std/queue.hpp", - "external/sources/boost/boost/assign/std/set.hpp", - "external/sources/boost/boost/assign/std/slist.hpp", - "external/sources/boost/boost/assign/std/stack.hpp", - "external/sources/boost/boost/assign/std/vector.hpp", - "external/sources/boost/boost/atomic.hpp", - "external/sources/boost/boost/atomic/atomic.hpp", - "external/sources/boost/boost/atomic/atomic_flag.hpp", - "external/sources/boost/boost/atomic/atomic_ref.hpp", - "external/sources/boost/boost/atomic/capabilities.hpp", - "external/sources/boost/boost/atomic/detail/addressof.hpp", - "external/sources/boost/boost/atomic/detail/aligned_variable.hpp", - "external/sources/boost/boost/atomic/detail/atomic_flag_impl.hpp", - "external/sources/boost/boost/atomic/detail/atomic_impl.hpp", - "external/sources/boost/boost/atomic/detail/atomic_ref_impl.hpp", - "external/sources/boost/boost/atomic/detail/bitwise_cast.hpp", - "external/sources/boost/boost/atomic/detail/bitwise_fp_cast.hpp", - "external/sources/boost/boost/atomic/detail/capabilities.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_arch_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/caps_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/caps_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/caps_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/caps_windows.hpp", - "external/sources/boost/boost/atomic/detail/cas_based_exchange.hpp", - "external/sources/boost/boost/atomic/detail/classify.hpp", - "external/sources/boost/boost/atomic/detail/config.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_operations.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_arch_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/core_operations.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_emulated.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_emulated_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_cas_based.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/core_ops_windows.hpp", - "external/sources/boost/boost/atomic/detail/extending_cas_based_arithmetic.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_operations.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/extra_fp_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/extra_operations.hpp", - "external/sources/boost/boost/atomic/detail/extra_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/extra_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_operations.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp", - "external/sources/boost/boost/atomic/detail/fence_operations.hpp", - "external/sources/boost/boost/atomic/detail/fence_operations_emulated.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_gcc_atomic.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_gcc_sync.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_linux_arm.hpp", - "external/sources/boost/boost/atomic/detail/fence_ops_windows.hpp", - "external/sources/boost/boost/atomic/detail/float_sizes.hpp", - "external/sources/boost/boost/atomic/detail/footer.hpp", - "external/sources/boost/boost/atomic/detail/fp_operations.hpp", - "external/sources/boost/boost/atomic/detail/fp_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/fp_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/fp_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/futex.hpp", - "external/sources/boost/boost/atomic/detail/gcc_arm_asm_common.hpp", - "external/sources/boost/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp", - "external/sources/boost/boost/atomic/detail/header.hpp", - "external/sources/boost/boost/atomic/detail/int_sizes.hpp", - "external/sources/boost/boost/atomic/detail/integral_conversions.hpp", - "external/sources/boost/boost/atomic/detail/interlocked.hpp", - "external/sources/boost/boost/atomic/detail/intptr.hpp", - "external/sources/boost/boost/atomic/detail/link.hpp", - "external/sources/boost/boost/atomic/detail/lock_pool.hpp", - "external/sources/boost/boost/atomic/detail/memory_order_utils.hpp", - "external/sources/boost/boost/atomic/detail/once_flag.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_aarch32_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_aarch64_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_arm_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_gcc_ppc_common.hpp", - "external/sources/boost/boost/atomic/detail/ops_msvc_common.hpp", - "external/sources/boost/boost/atomic/detail/pause.hpp", - "external/sources/boost/boost/atomic/detail/platform.hpp", - "external/sources/boost/boost/atomic/detail/storage_traits.hpp", - "external/sources/boost/boost/atomic/detail/string_ops.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/alignment_of.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/conditional.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/integral_constant.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_floating_point.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_function.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_iec559.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_integral.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_signed.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_copyable.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/make_signed.hpp", - "external/sources/boost/boost/atomic/detail/type_traits/make_unsigned.hpp", - "external/sources/boost/boost/atomic/detail/wait_capabilities.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_freebsd_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_futex.hpp", - "external/sources/boost/boost/atomic/detail/wait_caps_windows.hpp", - "external/sources/boost/boost/atomic/detail/wait_operations.hpp", - "external/sources/boost/boost/atomic/detail/wait_operations_fwd.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_emulated.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_freebsd_umtx.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_futex.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_generic.hpp", - "external/sources/boost/boost/atomic/detail/wait_ops_windows.hpp", - "external/sources/boost/boost/atomic/fences.hpp", - "external/sources/boost/boost/atomic/ipc_atomic.hpp", - "external/sources/boost/boost/atomic/ipc_atomic_flag.hpp", - "external/sources/boost/boost/atomic/ipc_atomic_ref.hpp", - "external/sources/boost/boost/beast.hpp", - "external/sources/boost/boost/beast/_experimental/http/icy_stream.hpp", - "external/sources/boost/boost/beast/_experimental/http/impl/icy_stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/error.hpp", - "external/sources/boost/boost/beast/_experimental/test/fail_count.hpp", - "external/sources/boost/boost/beast/_experimental/test/handler.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/error.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/error.ipp", - "external/sources/boost/boost/beast/_experimental/test/impl/fail_count.ipp", - "external/sources/boost/boost/beast/_experimental/test/impl/stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/impl/stream.ipp", - "external/sources/boost/boost/beast/_experimental/test/stream.hpp", - "external/sources/boost/boost/beast/_experimental/test/tcp.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/amount.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/detail/const_container.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/dstream.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/global_suites.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/main.ipp", - "external/sources/boost/boost/beast/_experimental/unit_test/match.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/recorder.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/reporter.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/results.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/runner.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite_info.hpp", - "external/sources/boost/boost/beast/_experimental/unit_test/suite_list.hpp", - "external/sources/boost/boost/beast/core.hpp", - "external/sources/boost/boost/beast/core/async_base.hpp", - "external/sources/boost/boost/beast/core/basic_stream.hpp", - "external/sources/boost/boost/beast/core/bind_handler.hpp", - "external/sources/boost/boost/beast/core/buffer_traits.hpp", - "external/sources/boost/boost/beast/core/buffered_read_stream.hpp", - "external/sources/boost/boost/beast/core/buffers_adaptor.hpp", - "external/sources/boost/boost/beast/core/buffers_cat.hpp", - "external/sources/boost/boost/beast/core/buffers_prefix.hpp", - "external/sources/boost/boost/beast/core/buffers_range.hpp", - "external/sources/boost/boost/beast/core/buffers_suffix.hpp", - "external/sources/boost/boost/beast/core/buffers_to_string.hpp", - "external/sources/boost/boost/beast/core/detail/allocator.hpp", - "external/sources/boost/boost/beast/core/detail/async_base.hpp", - "external/sources/boost/boost/beast/core/detail/base64.hpp", - "external/sources/boost/boost/beast/core/detail/base64.ipp", - "external/sources/boost/boost/beast/core/detail/bind_continuation.hpp", - "external/sources/boost/boost/beast/core/detail/bind_default_executor.hpp", - "external/sources/boost/boost/beast/core/detail/bind_handler.hpp", - "external/sources/boost/boost/beast/core/detail/buffer.hpp", - "external/sources/boost/boost/beast/core/detail/buffer_traits.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_pair.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_range_adaptor.hpp", - "external/sources/boost/boost/beast/core/detail/buffers_ref.hpp", - "external/sources/boost/boost/beast/core/detail/chacha.hpp", - "external/sources/boost/boost/beast/core/detail/char_buffer.hpp", - "external/sources/boost/boost/beast/core/detail/clamp.hpp", - "external/sources/boost/boost/beast/core/detail/config.hpp", - "external/sources/boost/boost/beast/core/detail/cpu_info.hpp", - "external/sources/boost/boost/beast/core/detail/flat_stream.hpp", - "external/sources/boost/boost/beast/core/detail/get_io_context.hpp", - "external/sources/boost/boost/beast/core/detail/impl/read.hpp", - "external/sources/boost/boost/beast/core/detail/impl/temporary_buffer.ipp", - "external/sources/boost/boost/beast/core/detail/is_invocable.hpp", - "external/sources/boost/boost/beast/core/detail/ostream.hpp", - "external/sources/boost/boost/beast/core/detail/pcg.hpp", - "external/sources/boost/boost/beast/core/detail/read.hpp", - "external/sources/boost/boost/beast/core/detail/remap_post_to_defer.hpp", - "external/sources/boost/boost/beast/core/detail/service_base.hpp", - "external/sources/boost/boost/beast/core/detail/sha1.hpp", - "external/sources/boost/boost/beast/core/detail/sha1.ipp", - "external/sources/boost/boost/beast/core/detail/static_const.hpp", - "external/sources/boost/boost/beast/core/detail/static_ostream.hpp", - "external/sources/boost/boost/beast/core/detail/static_string.hpp", - "external/sources/boost/boost/beast/core/detail/stream_base.hpp", - "external/sources/boost/boost/beast/core/detail/stream_traits.hpp", - "external/sources/boost/boost/beast/core/detail/string.hpp", - "external/sources/boost/boost/beast/core/detail/temporary_buffer.hpp", - "external/sources/boost/boost/beast/core/detail/tuple.hpp", - "external/sources/boost/boost/beast/core/detail/type_traits.hpp", - "external/sources/boost/boost/beast/core/detail/variant.hpp", - "external/sources/boost/boost/beast/core/detail/varint.hpp", - "external/sources/boost/boost/beast/core/detail/win32_unicode_path.hpp", - "external/sources/boost/boost/beast/core/detail/work_guard.hpp", - "external/sources/boost/boost/beast/core/detect_ssl.hpp", - "external/sources/boost/boost/beast/core/error.hpp", - "external/sources/boost/boost/beast/core/file.hpp", - "external/sources/boost/boost/beast/core/file_base.hpp", - "external/sources/boost/boost/beast/core/file_posix.hpp", - "external/sources/boost/boost/beast/core/file_stdio.hpp", - "external/sources/boost/boost/beast/core/file_win32.hpp", - "external/sources/boost/boost/beast/core/flat_buffer.hpp", - "external/sources/boost/boost/beast/core/flat_static_buffer.hpp", - "external/sources/boost/boost/beast/core/flat_stream.hpp", - "external/sources/boost/boost/beast/core/impl/async_base.hpp", - "external/sources/boost/boost/beast/core/impl/basic_stream.hpp", - "external/sources/boost/boost/beast/core/impl/buffered_read_stream.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_adaptor.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_cat.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_prefix.hpp", - "external/sources/boost/boost/beast/core/impl/buffers_suffix.hpp", - "external/sources/boost/boost/beast/core/impl/error.hpp", - "external/sources/boost/boost/beast/core/impl/error.ipp", - "external/sources/boost/boost/beast/core/impl/file_posix.ipp", - "external/sources/boost/boost/beast/core/impl/file_stdio.ipp", - "external/sources/boost/boost/beast/core/impl/file_win32.ipp", - "external/sources/boost/boost/beast/core/impl/flat_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/flat_static_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/flat_static_buffer.ipp", - "external/sources/boost/boost/beast/core/impl/flat_stream.hpp", - "external/sources/boost/boost/beast/core/impl/multi_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/read_size.hpp", - "external/sources/boost/boost/beast/core/impl/saved_handler.hpp", - "external/sources/boost/boost/beast/core/impl/saved_handler.ipp", - "external/sources/boost/boost/beast/core/impl/static_buffer.hpp", - "external/sources/boost/boost/beast/core/impl/static_buffer.ipp", - "external/sources/boost/boost/beast/core/impl/static_string.hpp", - "external/sources/boost/boost/beast/core/impl/string.ipp", - "external/sources/boost/boost/beast/core/impl/string_param.hpp", - "external/sources/boost/boost/beast/core/make_printable.hpp", - "external/sources/boost/boost/beast/core/multi_buffer.hpp", - "external/sources/boost/boost/beast/core/ostream.hpp", - "external/sources/boost/boost/beast/core/rate_policy.hpp", - "external/sources/boost/boost/beast/core/read_size.hpp", - "external/sources/boost/boost/beast/core/role.hpp", - "external/sources/boost/boost/beast/core/saved_handler.hpp", - "external/sources/boost/boost/beast/core/span.hpp", - "external/sources/boost/boost/beast/core/static_buffer.hpp", - "external/sources/boost/boost/beast/core/static_string.hpp", - "external/sources/boost/boost/beast/core/stream_traits.hpp", - "external/sources/boost/boost/beast/core/string.hpp", - "external/sources/boost/boost/beast/core/string_param.hpp", - "external/sources/boost/boost/beast/core/string_type.hpp", - "external/sources/boost/boost/beast/core/tcp_stream.hpp", - "external/sources/boost/boost/beast/http.hpp", - "external/sources/boost/boost/beast/http/basic_dynamic_body.hpp", - "external/sources/boost/boost/beast/http/basic_file_body.hpp", - "external/sources/boost/boost/beast/http/basic_parser.hpp", - "external/sources/boost/boost/beast/http/buffer_body.hpp", - "external/sources/boost/boost/beast/http/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parsed_list.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parser.hpp", - "external/sources/boost/boost/beast/http/detail/basic_parser.ipp", - "external/sources/boost/boost/beast/http/detail/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/detail/rfc7230.hpp", - "external/sources/boost/boost/beast/http/detail/rfc7230.ipp", - "external/sources/boost/boost/beast/http/detail/type_traits.hpp", - "external/sources/boost/boost/beast/http/dynamic_body.hpp", - "external/sources/boost/boost/beast/http/empty_body.hpp", - "external/sources/boost/boost/beast/http/error.hpp", - "external/sources/boost/boost/beast/http/field.hpp", - "external/sources/boost/boost/beast/http/fields.hpp", - "external/sources/boost/boost/beast/http/file_body.hpp", - "external/sources/boost/boost/beast/http/impl/basic_parser.hpp", - "external/sources/boost/boost/beast/http/impl/basic_parser.ipp", - "external/sources/boost/boost/beast/http/impl/chunk_encode.hpp", - "external/sources/boost/boost/beast/http/impl/error.hpp", - "external/sources/boost/boost/beast/http/impl/error.ipp", - "external/sources/boost/boost/beast/http/impl/field.ipp", - "external/sources/boost/boost/beast/http/impl/fields.hpp", - "external/sources/boost/boost/beast/http/impl/fields.ipp", - "external/sources/boost/boost/beast/http/impl/file_body_win32.hpp", - "external/sources/boost/boost/beast/http/impl/message.hpp", - "external/sources/boost/boost/beast/http/impl/parser.hpp", - "external/sources/boost/boost/beast/http/impl/read.hpp", - "external/sources/boost/boost/beast/http/impl/rfc7230.hpp", - "external/sources/boost/boost/beast/http/impl/rfc7230.ipp", - "external/sources/boost/boost/beast/http/impl/serializer.hpp", - "external/sources/boost/boost/beast/http/impl/status.ipp", - "external/sources/boost/boost/beast/http/impl/verb.ipp", - "external/sources/boost/boost/beast/http/impl/write.hpp", - "external/sources/boost/boost/beast/http/message.hpp", - "external/sources/boost/boost/beast/http/parser.hpp", - "external/sources/boost/boost/beast/http/read.hpp", - "external/sources/boost/boost/beast/http/rfc7230.hpp", - "external/sources/boost/boost/beast/http/serializer.hpp", - "external/sources/boost/boost/beast/http/span_body.hpp", - "external/sources/boost/boost/beast/http/status.hpp", - "external/sources/boost/boost/beast/http/string_body.hpp", - "external/sources/boost/boost/beast/http/type_traits.hpp", - "external/sources/boost/boost/beast/http/vector_body.hpp", - "external/sources/boost/boost/beast/http/verb.hpp", - "external/sources/boost/boost/beast/http/write.hpp", - "external/sources/boost/boost/beast/src.hpp", - "external/sources/boost/boost/beast/ssl.hpp", - "external/sources/boost/boost/beast/ssl/ssl_stream.hpp", - "external/sources/boost/boost/beast/version.hpp", - "external/sources/boost/boost/beast/websocket.hpp", - "external/sources/boost/boost/beast/websocket/detail/decorator.hpp", - "external/sources/boost/boost/beast/websocket/detail/frame.hpp", - "external/sources/boost/boost/beast/websocket/detail/hybi13.hpp", - "external/sources/boost/boost/beast/websocket/detail/hybi13.ipp", - "external/sources/boost/boost/beast/websocket/detail/impl_base.hpp", - "external/sources/boost/boost/beast/websocket/detail/mask.hpp", - "external/sources/boost/boost/beast/websocket/detail/mask.ipp", - "external/sources/boost/boost/beast/websocket/detail/pmd_extension.hpp", - "external/sources/boost/boost/beast/websocket/detail/pmd_extension.ipp", - "external/sources/boost/boost/beast/websocket/detail/prng.hpp", - "external/sources/boost/boost/beast/websocket/detail/prng.ipp", - "external/sources/boost/boost/beast/websocket/detail/service.hpp", - "external/sources/boost/boost/beast/websocket/detail/service.ipp", - "external/sources/boost/boost/beast/websocket/detail/soft_mutex.hpp", - "external/sources/boost/boost/beast/websocket/detail/type_traits.hpp", - "external/sources/boost/boost/beast/websocket/detail/utf8_checker.hpp", - "external/sources/boost/boost/beast/websocket/detail/utf8_checker.ipp", - "external/sources/boost/boost/beast/websocket/error.hpp", - "external/sources/boost/boost/beast/websocket/impl/accept.hpp", - "external/sources/boost/boost/beast/websocket/impl/close.hpp", - "external/sources/boost/boost/beast/websocket/impl/error.hpp", - "external/sources/boost/boost/beast/websocket/impl/error.ipp", - "external/sources/boost/boost/beast/websocket/impl/handshake.hpp", - "external/sources/boost/boost/beast/websocket/impl/ping.hpp", - "external/sources/boost/boost/beast/websocket/impl/read.hpp", - "external/sources/boost/boost/beast/websocket/impl/rfc6455.hpp", - "external/sources/boost/boost/beast/websocket/impl/ssl.hpp", - "external/sources/boost/boost/beast/websocket/impl/stream.hpp", - "external/sources/boost/boost/beast/websocket/impl/stream_impl.hpp", - "external/sources/boost/boost/beast/websocket/impl/teardown.hpp", - "external/sources/boost/boost/beast/websocket/impl/write.hpp", - "external/sources/boost/boost/beast/websocket/option.hpp", - "external/sources/boost/boost/beast/websocket/rfc6455.hpp", - "external/sources/boost/boost/beast/websocket/ssl.hpp", - "external/sources/boost/boost/beast/websocket/stream.hpp", - "external/sources/boost/boost/beast/websocket/stream_base.hpp", - "external/sources/boost/boost/beast/websocket/stream_fwd.hpp", - "external/sources/boost/boost/beast/websocket/teardown.hpp", - "external/sources/boost/boost/beast/zlib.hpp", - "external/sources/boost/boost/beast/zlib/deflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/bitstream.hpp", - "external/sources/boost/boost/beast/zlib/detail/deflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/deflate_stream.ipp", - "external/sources/boost/boost/beast/zlib/detail/inflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/detail/inflate_stream.ipp", - "external/sources/boost/boost/beast/zlib/detail/ranges.hpp", - "external/sources/boost/boost/beast/zlib/detail/window.hpp", - "external/sources/boost/boost/beast/zlib/error.hpp", - "external/sources/boost/boost/beast/zlib/impl/error.hpp", - "external/sources/boost/boost/beast/zlib/impl/error.ipp", - "external/sources/boost/boost/beast/zlib/inflate_stream.hpp", - "external/sources/boost/boost/beast/zlib/zlib.hpp", - "external/sources/boost/boost/bimap.hpp", - "external/sources/boost/boost/bimap/bimap.hpp", - "external/sources/boost/boost/bimap/container_adaptor/associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/comparison_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/functor_bag.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/identity_converters.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/key_extractor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/detail/non_unique_container_helper.hpp", - "external/sources/boost/boost/bimap/container_adaptor/list_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/list_map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/multimap_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/multiset_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/ordered_associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/sequence_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/set_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/support/iterator_facade_converters.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_associative_container_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_map_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_multimap_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_multiset_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/unordered_set_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/vector_adaptor.hpp", - "external/sources/boost/boost/bimap/container_adaptor/vector_map_adaptor.hpp", - "external/sources/boost/boost/bimap/detail/bimap_core.hpp", - "external/sources/boost/boost/bimap/detail/concept_tags.hpp", - "external/sources/boost/boost/bimap/detail/generate_index_binder.hpp", - "external/sources/boost/boost/bimap/detail/generate_relation_binder.hpp", - "external/sources/boost/boost/bimap/detail/generate_view_binder.hpp", - "external/sources/boost/boost/bimap/detail/is_set_type_of.hpp", - "external/sources/boost/boost/bimap/detail/manage_additional_parameters.hpp", - "external/sources/boost/boost/bimap/detail/manage_bimap_key.hpp", - "external/sources/boost/boost/bimap/detail/map_view_base.hpp", - "external/sources/boost/boost/bimap/detail/map_view_iterator.hpp", - "external/sources/boost/boost/bimap/detail/modifier_adaptor.hpp", - "external/sources/boost/boost/bimap/detail/non_unique_views_helper.hpp", - "external/sources/boost/boost/bimap/detail/set_view_base.hpp", - "external/sources/boost/boost/bimap/detail/set_view_iterator.hpp", - "external/sources/boost/boost/bimap/detail/test/check_metadata.hpp", - "external/sources/boost/boost/bimap/detail/user_interface_config.hpp", - "external/sources/boost/boost/bimap/list_of.hpp", - "external/sources/boost/boost/bimap/multiset_of.hpp", - "external/sources/boost/boost/bimap/property_map/set_support.hpp", - "external/sources/boost/boost/bimap/property_map/unordered_set_support.hpp", - "external/sources/boost/boost/bimap/relation/detail/access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/metadata_access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/mutant.hpp", - "external/sources/boost/boost/bimap/relation/detail/static_access_builder.hpp", - "external/sources/boost/boost/bimap/relation/detail/to_mutable_relation_functor.hpp", - "external/sources/boost/boost/bimap/relation/member_at.hpp", - "external/sources/boost/boost/bimap/relation/mutant_relation.hpp", - "external/sources/boost/boost/bimap/relation/pair_layout.hpp", - "external/sources/boost/boost/bimap/relation/structured_pair.hpp", - "external/sources/boost/boost/bimap/relation/support/data_extractor.hpp", - "external/sources/boost/boost/bimap/relation/support/get.hpp", - "external/sources/boost/boost/bimap/relation/support/get_pair_functor.hpp", - "external/sources/boost/boost/bimap/relation/support/is_tag_of_member_at.hpp", - "external/sources/boost/boost/bimap/relation/support/member_with_tag.hpp", - "external/sources/boost/boost/bimap/relation/support/opposite_tag.hpp", - "external/sources/boost/boost/bimap/relation/support/pair_by.hpp", - "external/sources/boost/boost/bimap/relation/support/pair_type_by.hpp", - "external/sources/boost/boost/bimap/relation/support/value_type_of.hpp", - "external/sources/boost/boost/bimap/relation/symmetrical_base.hpp", - "external/sources/boost/boost/bimap/set_of.hpp", - "external/sources/boost/boost/bimap/support/data_type_by.hpp", - "external/sources/boost/boost/bimap/support/iterator_type_by.hpp", - "external/sources/boost/boost/bimap/support/key_type_by.hpp", - "external/sources/boost/boost/bimap/support/lambda.hpp", - "external/sources/boost/boost/bimap/support/map_by.hpp", - "external/sources/boost/boost/bimap/support/map_type_by.hpp", - "external/sources/boost/boost/bimap/support/value_type_by.hpp", - "external/sources/boost/boost/bimap/unconstrained_set_of.hpp", - "external/sources/boost/boost/bimap/unordered_multiset_of.hpp", - "external/sources/boost/boost/bimap/unordered_set_of.hpp", - "external/sources/boost/boost/bimap/vector_of.hpp", - "external/sources/boost/boost/bimap/views/list_map_view.hpp", - "external/sources/boost/boost/bimap/views/list_set_view.hpp", - "external/sources/boost/boost/bimap/views/map_view.hpp", - "external/sources/boost/boost/bimap/views/multimap_view.hpp", - "external/sources/boost/boost/bimap/views/multiset_view.hpp", - "external/sources/boost/boost/bimap/views/set_view.hpp", - "external/sources/boost/boost/bimap/views/unconstrained_map_view.hpp", - "external/sources/boost/boost/bimap/views/unconstrained_set_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_map_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_multimap_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_multiset_view.hpp", - "external/sources/boost/boost/bimap/views/unordered_set_view.hpp", - "external/sources/boost/boost/bimap/views/vector_map_view.hpp", - "external/sources/boost/boost/bimap/views/vector_set_view.hpp", - "external/sources/boost/boost/bind.hpp", - "external/sources/boost/boost/bind/apply.hpp", - "external/sources/boost/boost/bind/arg.hpp", - "external/sources/boost/boost/bind/bind.hpp", - "external/sources/boost/boost/bind/bind_cc.hpp", - "external/sources/boost/boost/bind/bind_mf2_cc.hpp", - "external/sources/boost/boost/bind/bind_mf_cc.hpp", - "external/sources/boost/boost/bind/bind_template.hpp", - "external/sources/boost/boost/bind/make_adaptable.hpp", - "external/sources/boost/boost/bind/mem_fn.hpp", - "external/sources/boost/boost/bind/mem_fn_cc.hpp", - "external/sources/boost/boost/bind/mem_fn_template.hpp", - "external/sources/boost/boost/bind/mem_fn_vw.hpp", - "external/sources/boost/boost/bind/placeholders.hpp", - "external/sources/boost/boost/bind/protect.hpp", - "external/sources/boost/boost/bind/storage.hpp", - "external/sources/boost/boost/blank.hpp", - "external/sources/boost/boost/blank_fwd.hpp", - "external/sources/boost/boost/call_traits.hpp", - "external/sources/boost/boost/callable_traits.hpp", - "external/sources/boost/boost/callable_traits/add_member_const.hpp", - "external/sources/boost/boost/callable_traits/add_member_cv.hpp", - "external/sources/boost/boost/callable_traits/add_member_lvalue_reference.hpp", - "external/sources/boost/boost/callable_traits/add_member_rvalue_reference.hpp", - "external/sources/boost/boost/callable_traits/add_member_volatile.hpp", - "external/sources/boost/boost/callable_traits/add_noexcept.hpp", - "external/sources/boost/boost/callable_traits/add_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/add_varargs.hpp", - "external/sources/boost/boost/callable_traits/apply_member_pointer.hpp", - "external/sources/boost/boost/callable_traits/apply_return.hpp", - "external/sources/boost/boost/callable_traits/args.hpp", - "external/sources/boost/boost/callable_traits/class_of.hpp", - "external/sources/boost/boost/callable_traits/detail/config.hpp", - "external/sources/boost/boost/callable_traits/detail/core.hpp", - "external/sources/boost/boost/callable_traits/detail/default_callable_traits.hpp", - "external/sources/boost/boost/callable_traits/detail/forward_declarations.hpp", - "external/sources/boost/boost/callable_traits/detail/function.hpp", - "external/sources/boost/boost/callable_traits/detail/function_object.hpp", - "external/sources/boost/boost/callable_traits/detail/is_invocable_impl.hpp", - "external/sources/boost/boost/callable_traits/detail/parameter_index_helper.hpp", - "external/sources/boost/boost/callable_traits/detail/pmd.hpp", - "external/sources/boost/boost/callable_traits/detail/pmf.hpp", - "external/sources/boost/boost/callable_traits/detail/polyfills/disjunction.hpp", - "external/sources/boost/boost/callable_traits/detail/polyfills/make_index_sequence.hpp", - "external/sources/boost/boost/callable_traits/detail/qualifier_flags.hpp", - "external/sources/boost/boost/callable_traits/detail/set_function_qualifiers.hpp", - "external/sources/boost/boost/callable_traits/detail/sfinae_errors.hpp", - "external/sources/boost/boost/callable_traits/detail/traits.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/function_ptr_varargs_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_4.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_2.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp", - "external/sources/boost/boost/callable_traits/detail/unguarded/pmf_varargs_4.hpp", - "external/sources/boost/boost/callable_traits/detail/utility.hpp", - "external/sources/boost/boost/callable_traits/function_type.hpp", - "external/sources/boost/boost/callable_traits/has_member_qualifiers.hpp", - "external/sources/boost/boost/callable_traits/has_varargs.hpp", - "external/sources/boost/boost/callable_traits/has_void_return.hpp", - "external/sources/boost/boost/callable_traits/is_const_member.hpp", - "external/sources/boost/boost/callable_traits/is_cv_member.hpp", - "external/sources/boost/boost/callable_traits/is_invocable.hpp", - "external/sources/boost/boost/callable_traits/is_lvalue_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_noexcept.hpp", - "external/sources/boost/boost/callable_traits/is_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_rvalue_reference_member.hpp", - "external/sources/boost/boost/callable_traits/is_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/is_volatile_member.hpp", - "external/sources/boost/boost/callable_traits/qualified_class_of.hpp", - "external/sources/boost/boost/callable_traits/remove_member_const.hpp", - "external/sources/boost/boost/callable_traits/remove_member_cv.hpp", - "external/sources/boost/boost/callable_traits/remove_member_reference.hpp", - "external/sources/boost/boost/callable_traits/remove_member_volatile.hpp", - "external/sources/boost/boost/callable_traits/remove_noexcept.hpp", - "external/sources/boost/boost/callable_traits/remove_transaction_safe.hpp", - "external/sources/boost/boost/callable_traits/remove_varargs.hpp", - "external/sources/boost/boost/callable_traits/return_type.hpp", - "external/sources/boost/boost/cast.hpp", - "external/sources/boost/boost/cerrno.hpp", - "external/sources/boost/boost/checked_delete.hpp", - "external/sources/boost/boost/chrono.hpp", - "external/sources/boost/boost/chrono/ceil.hpp", - "external/sources/boost/boost/chrono/chrono.hpp", - "external/sources/boost/boost/chrono/chrono_io.hpp", - "external/sources/boost/boost/chrono/clock_string.hpp", - "external/sources/boost/boost/chrono/config.hpp", - "external/sources/boost/boost/chrono/detail/inlined/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/mac/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/posix/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/chrono.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/detail/inlined/win/thread_clock.hpp", - "external/sources/boost/boost/chrono/detail/is_evenly_divisible_by.hpp", - "external/sources/boost/boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp", - "external/sources/boost/boost/chrono/detail/scan_keyword.hpp", - "external/sources/boost/boost/chrono/detail/static_assert.hpp", - "external/sources/boost/boost/chrono/detail/system.hpp", - "external/sources/boost/boost/chrono/duration.hpp", - "external/sources/boost/boost/chrono/floor.hpp", - "external/sources/boost/boost/chrono/include.hpp", - "external/sources/boost/boost/chrono/io/duration_get.hpp", - "external/sources/boost/boost/chrono/io/duration_io.hpp", - "external/sources/boost/boost/chrono/io/duration_put.hpp", - "external/sources/boost/boost/chrono/io/duration_style.hpp", - "external/sources/boost/boost/chrono/io/duration_units.hpp", - "external/sources/boost/boost/chrono/io/ios_base_state.hpp", - "external/sources/boost/boost/chrono/io/time_point_get.hpp", - "external/sources/boost/boost/chrono/io/time_point_io.hpp", - "external/sources/boost/boost/chrono/io/time_point_put.hpp", - "external/sources/boost/boost/chrono/io/time_point_units.hpp", - "external/sources/boost/boost/chrono/io/timezone.hpp", - "external/sources/boost/boost/chrono/io/utility/ios_base_state_ptr.hpp", - "external/sources/boost/boost/chrono/io/utility/manip_base.hpp", - "external/sources/boost/boost/chrono/io/utility/to_string.hpp", - "external/sources/boost/boost/chrono/io_v1/chrono_io.hpp", - "external/sources/boost/boost/chrono/process_cpu_clocks.hpp", - "external/sources/boost/boost/chrono/round.hpp", - "external/sources/boost/boost/chrono/system_clocks.hpp", - "external/sources/boost/boost/chrono/thread_clock.hpp", - "external/sources/boost/boost/chrono/time_point.hpp", - "external/sources/boost/boost/chrono/typeof/boost/chrono/chrono.hpp", - "external/sources/boost/boost/chrono/typeof/boost/ratio.hpp", - "external/sources/boost/boost/circular_buffer.hpp", - "external/sources/boost/boost/circular_buffer/base.hpp", - "external/sources/boost/boost/circular_buffer/debug.hpp", - "external/sources/boost/boost/circular_buffer/details.hpp", - "external/sources/boost/boost/circular_buffer/space_optimized.hpp", - "external/sources/boost/boost/circular_buffer_fwd.hpp", - "external/sources/boost/boost/compatibility/cpp_c_headers/cassert", - "external/sources/boost/boost/compatibility/cpp_c_headers/cctype", - "external/sources/boost/boost/compatibility/cpp_c_headers/cerrno", - "external/sources/boost/boost/compatibility/cpp_c_headers/cfloat", - "external/sources/boost/boost/compatibility/cpp_c_headers/climits", - "external/sources/boost/boost/compatibility/cpp_c_headers/clocale", - "external/sources/boost/boost/compatibility/cpp_c_headers/cmath", - "external/sources/boost/boost/compatibility/cpp_c_headers/csetjmp", - "external/sources/boost/boost/compatibility/cpp_c_headers/csignal", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdarg", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstddef", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdio", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstdlib", - "external/sources/boost/boost/compatibility/cpp_c_headers/cstring", - "external/sources/boost/boost/compatibility/cpp_c_headers/ctime", - "external/sources/boost/boost/compatibility/cpp_c_headers/cwchar", - "external/sources/boost/boost/compatibility/cpp_c_headers/cwctype", - "external/sources/boost/boost/compressed_pair.hpp", - "external/sources/boost/boost/compute.hpp", - "external/sources/boost/boost/compute/algorithm.hpp", - "external/sources/boost/boost/compute/algorithm/accumulate.hpp", - "external/sources/boost/boost/compute/algorithm/adjacent_difference.hpp", - "external/sources/boost/boost/compute/algorithm/adjacent_find.hpp", - "external/sources/boost/boost/compute/algorithm/all_of.hpp", - "external/sources/boost/boost/compute/algorithm/any_of.hpp", - "external/sources/boost/boost/compute/algorithm/binary_search.hpp", - "external/sources/boost/boost/compute/algorithm/copy.hpp", - "external/sources/boost/boost/compute/algorithm/copy_if.hpp", - "external/sources/boost/boost/compute/algorithm/copy_n.hpp", - "external/sources/boost/boost/compute/algorithm/count.hpp", - "external/sources/boost/boost/compute/algorithm/count_if.hpp", - "external/sources/boost/boost/compute/algorithm/detail/balanced_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/binary_find.hpp", - "external/sources/boost/boost/compute/algorithm/detail/compact.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_on_device.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_to_device.hpp", - "external/sources/boost/boost/compute/algorithm/detail/copy_to_host.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_ballot.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/count_if_with_threads.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_atomics.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/find_if_with_atomics.hpp", - "external/sources/boost/boost/compute/algorithm/detail/inplace_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/insertion_sort.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_sort_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/merge_with_merge_path.hpp", - "external/sources/boost/boost/compute/algorithm/detail/radix_sort.hpp", - "external/sources/boost/boost/compute/algorithm/detail/random_fill.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_by_key_with_scan.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/reduce_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan_on_cpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/scan_on_gpu.hpp", - "external/sources/boost/boost/compute/algorithm/detail/search_all.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_accumulate.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_count_if.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_find_extrema.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_merge.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/detail/serial_scan.hpp", - "external/sources/boost/boost/compute/algorithm/equal.hpp", - "external/sources/boost/boost/compute/algorithm/equal_range.hpp", - "external/sources/boost/boost/compute/algorithm/exclusive_scan.hpp", - "external/sources/boost/boost/compute/algorithm/fill.hpp", - "external/sources/boost/boost/compute/algorithm/fill_n.hpp", - "external/sources/boost/boost/compute/algorithm/find.hpp", - "external/sources/boost/boost/compute/algorithm/find_end.hpp", - "external/sources/boost/boost/compute/algorithm/find_if.hpp", - "external/sources/boost/boost/compute/algorithm/find_if_not.hpp", - "external/sources/boost/boost/compute/algorithm/for_each.hpp", - "external/sources/boost/boost/compute/algorithm/for_each_n.hpp", - "external/sources/boost/boost/compute/algorithm/gather.hpp", - "external/sources/boost/boost/compute/algorithm/generate.hpp", - "external/sources/boost/boost/compute/algorithm/generate_n.hpp", - "external/sources/boost/boost/compute/algorithm/includes.hpp", - "external/sources/boost/boost/compute/algorithm/inclusive_scan.hpp", - "external/sources/boost/boost/compute/algorithm/inner_product.hpp", - "external/sources/boost/boost/compute/algorithm/inplace_merge.hpp", - "external/sources/boost/boost/compute/algorithm/iota.hpp", - "external/sources/boost/boost/compute/algorithm/is_partitioned.hpp", - "external/sources/boost/boost/compute/algorithm/is_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/is_sorted.hpp", - "external/sources/boost/boost/compute/algorithm/lexicographical_compare.hpp", - "external/sources/boost/boost/compute/algorithm/lower_bound.hpp", - "external/sources/boost/boost/compute/algorithm/max_element.hpp", - "external/sources/boost/boost/compute/algorithm/merge.hpp", - "external/sources/boost/boost/compute/algorithm/min_element.hpp", - "external/sources/boost/boost/compute/algorithm/minmax_element.hpp", - "external/sources/boost/boost/compute/algorithm/mismatch.hpp", - "external/sources/boost/boost/compute/algorithm/next_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/none_of.hpp", - "external/sources/boost/boost/compute/algorithm/nth_element.hpp", - "external/sources/boost/boost/compute/algorithm/partial_sum.hpp", - "external/sources/boost/boost/compute/algorithm/partition.hpp", - "external/sources/boost/boost/compute/algorithm/partition_copy.hpp", - "external/sources/boost/boost/compute/algorithm/partition_point.hpp", - "external/sources/boost/boost/compute/algorithm/prev_permutation.hpp", - "external/sources/boost/boost/compute/algorithm/random_shuffle.hpp", - "external/sources/boost/boost/compute/algorithm/reduce.hpp", - "external/sources/boost/boost/compute/algorithm/reduce_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/remove.hpp", - "external/sources/boost/boost/compute/algorithm/remove_if.hpp", - "external/sources/boost/boost/compute/algorithm/replace.hpp", - "external/sources/boost/boost/compute/algorithm/replace_copy.hpp", - "external/sources/boost/boost/compute/algorithm/reverse.hpp", - "external/sources/boost/boost/compute/algorithm/reverse_copy.hpp", - "external/sources/boost/boost/compute/algorithm/rotate.hpp", - "external/sources/boost/boost/compute/algorithm/rotate_copy.hpp", - "external/sources/boost/boost/compute/algorithm/scatter.hpp", - "external/sources/boost/boost/compute/algorithm/scatter_if.hpp", - "external/sources/boost/boost/compute/algorithm/search.hpp", - "external/sources/boost/boost/compute/algorithm/search_n.hpp", - "external/sources/boost/boost/compute/algorithm/set_difference.hpp", - "external/sources/boost/boost/compute/algorithm/set_intersection.hpp", - "external/sources/boost/boost/compute/algorithm/set_symmetric_difference.hpp", - "external/sources/boost/boost/compute/algorithm/set_union.hpp", - "external/sources/boost/boost/compute/algorithm/sort.hpp", - "external/sources/boost/boost/compute/algorithm/sort_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/stable_partition.hpp", - "external/sources/boost/boost/compute/algorithm/stable_sort.hpp", - "external/sources/boost/boost/compute/algorithm/stable_sort_by_key.hpp", - "external/sources/boost/boost/compute/algorithm/swap_ranges.hpp", - "external/sources/boost/boost/compute/algorithm/transform.hpp", - "external/sources/boost/boost/compute/algorithm/transform_if.hpp", - "external/sources/boost/boost/compute/algorithm/transform_reduce.hpp", - "external/sources/boost/boost/compute/algorithm/unique.hpp", - "external/sources/boost/boost/compute/algorithm/unique_copy.hpp", - "external/sources/boost/boost/compute/algorithm/upper_bound.hpp", - "external/sources/boost/boost/compute/allocator.hpp", - "external/sources/boost/boost/compute/allocator/buffer_allocator.hpp", - "external/sources/boost/boost/compute/allocator/pinned_allocator.hpp", - "external/sources/boost/boost/compute/async.hpp", - "external/sources/boost/boost/compute/async/future.hpp", - "external/sources/boost/boost/compute/async/wait.hpp", - "external/sources/boost/boost/compute/async/wait_guard.hpp", - "external/sources/boost/boost/compute/buffer.hpp", - "external/sources/boost/boost/compute/cl.hpp", - "external/sources/boost/boost/compute/cl_ext.hpp", - "external/sources/boost/boost/compute/closure.hpp", - "external/sources/boost/boost/compute/command_queue.hpp", - "external/sources/boost/boost/compute/config.hpp", - "external/sources/boost/boost/compute/container.hpp", - "external/sources/boost/boost/compute/container/array.hpp", - "external/sources/boost/boost/compute/container/basic_string.hpp", - "external/sources/boost/boost/compute/container/detail/scalar.hpp", - "external/sources/boost/boost/compute/container/dynamic_bitset.hpp", - "external/sources/boost/boost/compute/container/flat_map.hpp", - "external/sources/boost/boost/compute/container/flat_set.hpp", - "external/sources/boost/boost/compute/container/mapped_view.hpp", - "external/sources/boost/boost/compute/container/stack.hpp", - "external/sources/boost/boost/compute/container/string.hpp", - "external/sources/boost/boost/compute/container/valarray.hpp", - "external/sources/boost/boost/compute/container/vector.hpp", - "external/sources/boost/boost/compute/context.hpp", - "external/sources/boost/boost/compute/core.hpp", - "external/sources/boost/boost/compute/detail/assert_cl_success.hpp", - "external/sources/boost/boost/compute/detail/buffer_value.hpp", - "external/sources/boost/boost/compute/detail/cl_versions.hpp", - "external/sources/boost/boost/compute/detail/device_ptr.hpp", - "external/sources/boost/boost/compute/detail/diagnostic.hpp", - "external/sources/boost/boost/compute/detail/duration.hpp", - "external/sources/boost/boost/compute/detail/get_object_info.hpp", - "external/sources/boost/boost/compute/detail/getenv.hpp", - "external/sources/boost/boost/compute/detail/global_static.hpp", - "external/sources/boost/boost/compute/detail/is_buffer_iterator.hpp", - "external/sources/boost/boost/compute/detail/is_contiguous_iterator.hpp", - "external/sources/boost/boost/compute/detail/iterator_plus_distance.hpp", - "external/sources/boost/boost/compute/detail/iterator_range_size.hpp", - "external/sources/boost/boost/compute/detail/iterator_traits.hpp", - "external/sources/boost/boost/compute/detail/literal.hpp", - "external/sources/boost/boost/compute/detail/lru_cache.hpp", - "external/sources/boost/boost/compute/detail/meta_kernel.hpp", - "external/sources/boost/boost/compute/detail/mpl_vector_to_tuple.hpp", - "external/sources/boost/boost/compute/detail/nvidia_compute_capability.hpp", - "external/sources/boost/boost/compute/detail/parameter_cache.hpp", - "external/sources/boost/boost/compute/detail/path.hpp", - "external/sources/boost/boost/compute/detail/print_range.hpp", - "external/sources/boost/boost/compute/detail/read_write_single_value.hpp", - "external/sources/boost/boost/compute/detail/sha1.hpp", - "external/sources/boost/boost/compute/detail/variadic_macros.hpp", - "external/sources/boost/boost/compute/detail/vendor.hpp", - "external/sources/boost/boost/compute/detail/work_size.hpp", - "external/sources/boost/boost/compute/device.hpp", - "external/sources/boost/boost/compute/event.hpp", - "external/sources/boost/boost/compute/exception.hpp", - "external/sources/boost/boost/compute/exception/context_error.hpp", - "external/sources/boost/boost/compute/exception/no_device_found.hpp", - "external/sources/boost/boost/compute/exception/opencl_error.hpp", - "external/sources/boost/boost/compute/exception/program_build_failure.hpp", - "external/sources/boost/boost/compute/exception/unsupported_extension_error.hpp", - "external/sources/boost/boost/compute/experimental/clamp_range.hpp", - "external/sources/boost/boost/compute/experimental/malloc.hpp", - "external/sources/boost/boost/compute/experimental/sort_by_transform.hpp", - "external/sources/boost/boost/compute/experimental/tabulate.hpp", - "external/sources/boost/boost/compute/function.hpp", - "external/sources/boost/boost/compute/functional.hpp", - "external/sources/boost/boost/compute/functional/as.hpp", - "external/sources/boost/boost/compute/functional/atomic.hpp", - "external/sources/boost/boost/compute/functional/bind.hpp", - "external/sources/boost/boost/compute/functional/common.hpp", - "external/sources/boost/boost/compute/functional/convert.hpp", - "external/sources/boost/boost/compute/functional/detail/macros.hpp", - "external/sources/boost/boost/compute/functional/detail/nvidia_ballot.hpp", - "external/sources/boost/boost/compute/functional/detail/nvidia_popcount.hpp", - "external/sources/boost/boost/compute/functional/detail/unpack.hpp", - "external/sources/boost/boost/compute/functional/field.hpp", - "external/sources/boost/boost/compute/functional/geometry.hpp", - "external/sources/boost/boost/compute/functional/get.hpp", - "external/sources/boost/boost/compute/functional/hash.hpp", - "external/sources/boost/boost/compute/functional/identity.hpp", - "external/sources/boost/boost/compute/functional/integer.hpp", - "external/sources/boost/boost/compute/functional/logical.hpp", - "external/sources/boost/boost/compute/functional/math.hpp", - "external/sources/boost/boost/compute/functional/operator.hpp", - "external/sources/boost/boost/compute/functional/popcount.hpp", - "external/sources/boost/boost/compute/functional/relational.hpp", - "external/sources/boost/boost/compute/image.hpp", - "external/sources/boost/boost/compute/image/image1d.hpp", - "external/sources/boost/boost/compute/image/image2d.hpp", - "external/sources/boost/boost/compute/image/image3d.hpp", - "external/sources/boost/boost/compute/image/image_format.hpp", - "external/sources/boost/boost/compute/image/image_object.hpp", - "external/sources/boost/boost/compute/image/image_sampler.hpp", - "external/sources/boost/boost/compute/image2d.hpp", - "external/sources/boost/boost/compute/image3d.hpp", - "external/sources/boost/boost/compute/image_format.hpp", - "external/sources/boost/boost/compute/image_sampler.hpp", - "external/sources/boost/boost/compute/interop/eigen.hpp", - "external/sources/boost/boost/compute/interop/eigen/core.hpp", - "external/sources/boost/boost/compute/interop/opencv.hpp", - "external/sources/boost/boost/compute/interop/opencv/core.hpp", - "external/sources/boost/boost/compute/interop/opencv/highgui.hpp", - "external/sources/boost/boost/compute/interop/opencv/ocl.hpp", - "external/sources/boost/boost/compute/interop/opengl.hpp", - "external/sources/boost/boost/compute/interop/opengl/acquire.hpp", - "external/sources/boost/boost/compute/interop/opengl/cl_gl.hpp", - "external/sources/boost/boost/compute/interop/opengl/cl_gl_ext.hpp", - "external/sources/boost/boost/compute/interop/opengl/context.hpp", - "external/sources/boost/boost/compute/interop/opengl/gl.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_buffer.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_renderbuffer.hpp", - "external/sources/boost/boost/compute/interop/opengl/opengl_texture.hpp", - "external/sources/boost/boost/compute/interop/qt.hpp", - "external/sources/boost/boost/compute/interop/qt/qimage.hpp", - "external/sources/boost/boost/compute/interop/qt/qpoint.hpp", - "external/sources/boost/boost/compute/interop/qt/qpointf.hpp", - "external/sources/boost/boost/compute/interop/qt/qtcore.hpp", - "external/sources/boost/boost/compute/interop/qt/qtgui.hpp", - "external/sources/boost/boost/compute/interop/qt/qvector.hpp", - "external/sources/boost/boost/compute/interop/vtk.hpp", - "external/sources/boost/boost/compute/interop/vtk/bounds.hpp", - "external/sources/boost/boost/compute/interop/vtk/data_array.hpp", - "external/sources/boost/boost/compute/interop/vtk/matrix4x4.hpp", - "external/sources/boost/boost/compute/interop/vtk/points.hpp", - "external/sources/boost/boost/compute/iterator.hpp", - "external/sources/boost/boost/compute/iterator/buffer_iterator.hpp", - "external/sources/boost/boost/compute/iterator/constant_buffer_iterator.hpp", - "external/sources/boost/boost/compute/iterator/constant_iterator.hpp", - "external/sources/boost/boost/compute/iterator/counting_iterator.hpp", - "external/sources/boost/boost/compute/iterator/detail/get_base_iterator_buffer.hpp", - "external/sources/boost/boost/compute/iterator/detail/swizzle_iterator.hpp", - "external/sources/boost/boost/compute/iterator/discard_iterator.hpp", - "external/sources/boost/boost/compute/iterator/function_input_iterator.hpp", - "external/sources/boost/boost/compute/iterator/permutation_iterator.hpp", - "external/sources/boost/boost/compute/iterator/strided_iterator.hpp", - "external/sources/boost/boost/compute/iterator/transform_iterator.hpp", - "external/sources/boost/boost/compute/iterator/zip_iterator.hpp", - "external/sources/boost/boost/compute/kernel.hpp", - "external/sources/boost/boost/compute/lambda.hpp", - "external/sources/boost/boost/compute/lambda/context.hpp", - "external/sources/boost/boost/compute/lambda/functional.hpp", - "external/sources/boost/boost/compute/lambda/get.hpp", - "external/sources/boost/boost/compute/lambda/make_pair.hpp", - "external/sources/boost/boost/compute/lambda/make_tuple.hpp", - "external/sources/boost/boost/compute/lambda/placeholder.hpp", - "external/sources/boost/boost/compute/lambda/placeholders.hpp", - "external/sources/boost/boost/compute/lambda/result_of.hpp", - "external/sources/boost/boost/compute/memory.hpp", - "external/sources/boost/boost/compute/memory/local_buffer.hpp", - "external/sources/boost/boost/compute/memory/svm_ptr.hpp", - "external/sources/boost/boost/compute/memory_object.hpp", - "external/sources/boost/boost/compute/pipe.hpp", - "external/sources/boost/boost/compute/platform.hpp", - "external/sources/boost/boost/compute/program.hpp", - "external/sources/boost/boost/compute/random.hpp", - "external/sources/boost/boost/compute/random/bernoulli_distribution.hpp", - "external/sources/boost/boost/compute/random/default_random_engine.hpp", - "external/sources/boost/boost/compute/random/discrete_distribution.hpp", - "external/sources/boost/boost/compute/random/linear_congruential_engine.hpp", - "external/sources/boost/boost/compute/random/mersenne_twister_engine.hpp", - "external/sources/boost/boost/compute/random/normal_distribution.hpp", - "external/sources/boost/boost/compute/random/threefry_engine.hpp", - "external/sources/boost/boost/compute/random/uniform_int_distribution.hpp", - "external/sources/boost/boost/compute/random/uniform_real_distribution.hpp", - "external/sources/boost/boost/compute/source.hpp", - "external/sources/boost/boost/compute/svm.hpp", - "external/sources/boost/boost/compute/system.hpp", - "external/sources/boost/boost/compute/type_traits.hpp", - "external/sources/boost/boost/compute/type_traits/common_type.hpp", - "external/sources/boost/boost/compute/type_traits/detail/capture_traits.hpp", - "external/sources/boost/boost/compute/type_traits/is_device_iterator.hpp", - "external/sources/boost/boost/compute/type_traits/is_fundamental.hpp", - "external/sources/boost/boost/compute/type_traits/is_vector_type.hpp", - "external/sources/boost/boost/compute/type_traits/make_vector_type.hpp", - "external/sources/boost/boost/compute/type_traits/result_of.hpp", - "external/sources/boost/boost/compute/type_traits/scalar_type.hpp", - "external/sources/boost/boost/compute/type_traits/type_definition.hpp", - "external/sources/boost/boost/compute/type_traits/type_name.hpp", - "external/sources/boost/boost/compute/type_traits/vector_size.hpp", - "external/sources/boost/boost/compute/types.hpp", - "external/sources/boost/boost/compute/types/builtin.hpp", - "external/sources/boost/boost/compute/types/complex.hpp", - "external/sources/boost/boost/compute/types/fundamental.hpp", - "external/sources/boost/boost/compute/types/pair.hpp", - "external/sources/boost/boost/compute/types/size_t.hpp", - "external/sources/boost/boost/compute/types/struct.hpp", - "external/sources/boost/boost/compute/types/tuple.hpp", - "external/sources/boost/boost/compute/user_event.hpp", - "external/sources/boost/boost/compute/utility.hpp", - "external/sources/boost/boost/compute/utility/dim.hpp", - "external/sources/boost/boost/compute/utility/extents.hpp", - "external/sources/boost/boost/compute/utility/invoke.hpp", - "external/sources/boost/boost/compute/utility/program_cache.hpp", - "external/sources/boost/boost/compute/utility/source.hpp", - "external/sources/boost/boost/compute/utility/wait_list.hpp", - "external/sources/boost/boost/compute/version.hpp", - "external/sources/boost/boost/compute/wait_list.hpp", - "external/sources/boost/boost/concept/assert.hpp", - "external/sources/boost/boost/concept/detail/backward_compatibility.hpp", - "external/sources/boost/boost/concept/detail/borland.hpp", - "external/sources/boost/boost/concept/detail/concept_def.hpp", - "external/sources/boost/boost/concept/detail/concept_undef.hpp", - "external/sources/boost/boost/concept/detail/general.hpp", - "external/sources/boost/boost/concept/detail/has_constraints.hpp", - "external/sources/boost/boost/concept/detail/msvc.hpp", - "external/sources/boost/boost/concept/requires.hpp", - "external/sources/boost/boost/concept/usage.hpp", - "external/sources/boost/boost/concept_archetype.hpp", - "external/sources/boost/boost/concept_check.hpp", - "external/sources/boost/boost/concept_check/borland.hpp", - "external/sources/boost/boost/concept_check/general.hpp", - "external/sources/boost/boost/concept_check/has_constraints.hpp", - "external/sources/boost/boost/concept_check/msvc.hpp", - "external/sources/boost/boost/config.hpp", - "external/sources/boost/boost/config/abi/borland_prefix.hpp", - "external/sources/boost/boost/config/abi/borland_suffix.hpp", - "external/sources/boost/boost/config/abi/msvc_prefix.hpp", - "external/sources/boost/boost/config/abi/msvc_suffix.hpp", - "external/sources/boost/boost/config/abi_prefix.hpp", - "external/sources/boost/boost/config/abi_suffix.hpp", - "external/sources/boost/boost/config/auto_link.hpp", - "external/sources/boost/boost/config/compiler/borland.hpp", - "external/sources/boost/boost/config/compiler/clang.hpp", - "external/sources/boost/boost/config/compiler/codegear.hpp", - "external/sources/boost/boost/config/compiler/comeau.hpp", - "external/sources/boost/boost/config/compiler/common_edg.hpp", - "external/sources/boost/boost/config/compiler/compaq_cxx.hpp", - "external/sources/boost/boost/config/compiler/cray.hpp", - "external/sources/boost/boost/config/compiler/diab.hpp", - "external/sources/boost/boost/config/compiler/digitalmars.hpp", - "external/sources/boost/boost/config/compiler/gcc.hpp", - "external/sources/boost/boost/config/compiler/gcc_xml.hpp", - "external/sources/boost/boost/config/compiler/greenhills.hpp", - "external/sources/boost/boost/config/compiler/hp_acc.hpp", - "external/sources/boost/boost/config/compiler/intel.hpp", - "external/sources/boost/boost/config/compiler/kai.hpp", - "external/sources/boost/boost/config/compiler/metrowerks.hpp", - "external/sources/boost/boost/config/compiler/mpw.hpp", - "external/sources/boost/boost/config/compiler/nvcc.hpp", - "external/sources/boost/boost/config/compiler/pathscale.hpp", - "external/sources/boost/boost/config/compiler/pgi.hpp", - "external/sources/boost/boost/config/compiler/sgi_mipspro.hpp", - "external/sources/boost/boost/config/compiler/sunpro_cc.hpp", - "external/sources/boost/boost/config/compiler/vacpp.hpp", - "external/sources/boost/boost/config/compiler/visualc.hpp", - "external/sources/boost/boost/config/compiler/xlcpp.hpp", - "external/sources/boost/boost/config/compiler/xlcpp_zos.hpp", - "external/sources/boost/boost/config/detail/posix_features.hpp", - "external/sources/boost/boost/config/detail/select_compiler_config.hpp", - "external/sources/boost/boost/config/detail/select_platform_config.hpp", - "external/sources/boost/boost/config/detail/select_stdlib_config.hpp", - "external/sources/boost/boost/config/detail/suffix.hpp", - "external/sources/boost/boost/config/header_deprecated.hpp", - "external/sources/boost/boost/config/helper_macros.hpp", - "external/sources/boost/boost/config/no_tr1/cmath.hpp", - "external/sources/boost/boost/config/no_tr1/complex.hpp", - "external/sources/boost/boost/config/no_tr1/functional.hpp", - "external/sources/boost/boost/config/no_tr1/memory.hpp", - "external/sources/boost/boost/config/no_tr1/utility.hpp", - "external/sources/boost/boost/config/platform/aix.hpp", - "external/sources/boost/boost/config/platform/amigaos.hpp", - "external/sources/boost/boost/config/platform/beos.hpp", - "external/sources/boost/boost/config/platform/bsd.hpp", - "external/sources/boost/boost/config/platform/cloudabi.hpp", - "external/sources/boost/boost/config/platform/cray.hpp", - "external/sources/boost/boost/config/platform/cygwin.hpp", - "external/sources/boost/boost/config/platform/haiku.hpp", - "external/sources/boost/boost/config/platform/hpux.hpp", - "external/sources/boost/boost/config/platform/irix.hpp", - "external/sources/boost/boost/config/platform/linux.hpp", - "external/sources/boost/boost/config/platform/macos.hpp", - "external/sources/boost/boost/config/platform/qnxnto.hpp", - "external/sources/boost/boost/config/platform/solaris.hpp", - "external/sources/boost/boost/config/platform/symbian.hpp", - "external/sources/boost/boost/config/platform/vms.hpp", - "external/sources/boost/boost/config/platform/vxworks.hpp", - "external/sources/boost/boost/config/platform/win32.hpp", - "external/sources/boost/boost/config/platform/zos.hpp", - "external/sources/boost/boost/config/pragma_message.hpp", - "external/sources/boost/boost/config/requires_threads.hpp", - "external/sources/boost/boost/config/stdlib/dinkumware.hpp", - "external/sources/boost/boost/config/stdlib/libcomo.hpp", - "external/sources/boost/boost/config/stdlib/libcpp.hpp", - "external/sources/boost/boost/config/stdlib/libstdcpp3.hpp", - "external/sources/boost/boost/config/stdlib/modena.hpp", - "external/sources/boost/boost/config/stdlib/msl.hpp", - "external/sources/boost/boost/config/stdlib/roguewave.hpp", - "external/sources/boost/boost/config/stdlib/sgi.hpp", - "external/sources/boost/boost/config/stdlib/stlport.hpp", - "external/sources/boost/boost/config/stdlib/vacpp.hpp", - "external/sources/boost/boost/config/stdlib/xlcpp_zos.hpp", - "external/sources/boost/boost/config/user.hpp", - "external/sources/boost/boost/config/warning_disable.hpp", - "external/sources/boost/boost/config/workaround.hpp", - "external/sources/boost/boost/container/adaptive_pool.hpp", - "external/sources/boost/boost/container/allocator.hpp", - "external/sources/boost/boost/container/allocator_traits.hpp", - "external/sources/boost/boost/container/container_fwd.hpp", - "external/sources/boost/boost/container/deque.hpp", - "external/sources/boost/boost/container/detail/adaptive_node_pool.hpp", - "external/sources/boost/boost/container/detail/adaptive_node_pool_impl.hpp", - "external/sources/boost/boost/container/detail/addressof.hpp", - "external/sources/boost/boost/container/detail/advanced_insert_int.hpp", - "external/sources/boost/boost/container/detail/algorithm.hpp", - "external/sources/boost/boost/container/detail/alloc_helpers.hpp", - "external/sources/boost/boost/container/detail/alloc_lib.h", - "external/sources/boost/boost/container/detail/allocation_type.hpp", - "external/sources/boost/boost/container/detail/allocator_version_traits.hpp", - "external/sources/boost/boost/container/detail/auto_link.hpp", - "external/sources/boost/boost/container/detail/block_list.hpp", - "external/sources/boost/boost/container/detail/block_slist.hpp", - "external/sources/boost/boost/container/detail/compare_functors.hpp", - "external/sources/boost/boost/container/detail/config_begin.hpp", - "external/sources/boost/boost/container/detail/config_end.hpp", - "external/sources/boost/boost/container/detail/construct_in_place.hpp", - "external/sources/boost/boost/container/detail/container_or_allocator_rebind.hpp", - "external/sources/boost/boost/container/detail/container_rebind.hpp", - "external/sources/boost/boost/container/detail/copy_move_algo.hpp", - "external/sources/boost/boost/container/detail/destroyers.hpp", - "external/sources/boost/boost/container/detail/dispatch_uses_allocator.hpp", - "external/sources/boost/boost/container/detail/dlmalloc.hpp", - "external/sources/boost/boost/container/detail/flat_tree.hpp", - "external/sources/boost/boost/container/detail/function_detector.hpp", - "external/sources/boost/boost/container/detail/is_container.hpp", - "external/sources/boost/boost/container/detail/is_contiguous_container.hpp", - "external/sources/boost/boost/container/detail/is_sorted.hpp", - "external/sources/boost/boost/container/detail/iterator.hpp", - "external/sources/boost/boost/container/detail/iterator_to_raw_pointer.hpp", - "external/sources/boost/boost/container/detail/iterators.hpp", - "external/sources/boost/boost/container/detail/math_functions.hpp", - "external/sources/boost/boost/container/detail/min_max.hpp", - "external/sources/boost/boost/container/detail/minimal_char_traits_header.hpp", - "external/sources/boost/boost/container/detail/mpl.hpp", - "external/sources/boost/boost/container/detail/multiallocation_chain.hpp", - "external/sources/boost/boost/container/detail/mutex.hpp", - "external/sources/boost/boost/container/detail/next_capacity.hpp", - "external/sources/boost/boost/container/detail/node_alloc_holder.hpp", - "external/sources/boost/boost/container/detail/node_pool.hpp", - "external/sources/boost/boost/container/detail/node_pool_impl.hpp", - "external/sources/boost/boost/container/detail/pair.hpp", - "external/sources/boost/boost/container/detail/pair_key_mapped_of_value.hpp", - "external/sources/boost/boost/container/detail/placement_new.hpp", - "external/sources/boost/boost/container/detail/pool_common.hpp", - "external/sources/boost/boost/container/detail/pool_common_alloc.hpp", - "external/sources/boost/boost/container/detail/pool_resource.hpp", - "external/sources/boost/boost/container/detail/singleton.hpp", - "external/sources/boost/boost/container/detail/std_fwd.hpp", - "external/sources/boost/boost/container/detail/thread_mutex.hpp", - "external/sources/boost/boost/container/detail/transform_iterator.hpp", - "external/sources/boost/boost/container/detail/tree.hpp", - "external/sources/boost/boost/container/detail/type_traits.hpp", - "external/sources/boost/boost/container/detail/value_functors.hpp", - "external/sources/boost/boost/container/detail/value_init.hpp", - "external/sources/boost/boost/container/detail/variadic_templates_tools.hpp", - "external/sources/boost/boost/container/detail/version_type.hpp", - "external/sources/boost/boost/container/detail/workaround.hpp", - "external/sources/boost/boost/container/flat_map.hpp", - "external/sources/boost/boost/container/flat_set.hpp", - "external/sources/boost/boost/container/list.hpp", - "external/sources/boost/boost/container/map.hpp", - "external/sources/boost/boost/container/new_allocator.hpp", - "external/sources/boost/boost/container/node_allocator.hpp", - "external/sources/boost/boost/container/node_handle.hpp", - "external/sources/boost/boost/container/options.hpp", - "external/sources/boost/boost/container/pmr/deque.hpp", - "external/sources/boost/boost/container/pmr/flat_map.hpp", - "external/sources/boost/boost/container/pmr/flat_set.hpp", - "external/sources/boost/boost/container/pmr/global_resource.hpp", - "external/sources/boost/boost/container/pmr/list.hpp", - "external/sources/boost/boost/container/pmr/map.hpp", - "external/sources/boost/boost/container/pmr/memory_resource.hpp", - "external/sources/boost/boost/container/pmr/monotonic_buffer_resource.hpp", - "external/sources/boost/boost/container/pmr/polymorphic_allocator.hpp", - "external/sources/boost/boost/container/pmr/pool_options.hpp", - "external/sources/boost/boost/container/pmr/resource_adaptor.hpp", - "external/sources/boost/boost/container/pmr/set.hpp", - "external/sources/boost/boost/container/pmr/slist.hpp", - "external/sources/boost/boost/container/pmr/small_vector.hpp", - "external/sources/boost/boost/container/pmr/stable_vector.hpp", - "external/sources/boost/boost/container/pmr/string.hpp", - "external/sources/boost/boost/container/pmr/synchronized_pool_resource.hpp", - "external/sources/boost/boost/container/pmr/unsynchronized_pool_resource.hpp", - "external/sources/boost/boost/container/pmr/vector.hpp", - "external/sources/boost/boost/container/scoped_allocator.hpp", - "external/sources/boost/boost/container/scoped_allocator_fwd.hpp", - "external/sources/boost/boost/container/set.hpp", - "external/sources/boost/boost/container/slist.hpp", - "external/sources/boost/boost/container/small_vector.hpp", - "external/sources/boost/boost/container/stable_vector.hpp", - "external/sources/boost/boost/container/static_vector.hpp", - "external/sources/boost/boost/container/string.hpp", - "external/sources/boost/boost/container/throw_exception.hpp", - "external/sources/boost/boost/container/uses_allocator.hpp", - "external/sources/boost/boost/container/uses_allocator_fwd.hpp", - "external/sources/boost/boost/container/vector.hpp", - "external/sources/boost/boost/container_hash/detail/float_functions.hpp", - "external/sources/boost/boost/container_hash/detail/hash_float.hpp", - "external/sources/boost/boost/container_hash/detail/limits.hpp", - "external/sources/boost/boost/container_hash/extensions.hpp", - "external/sources/boost/boost/container_hash/hash.hpp", - "external/sources/boost/boost/container_hash/hash_fwd.hpp", - "external/sources/boost/boost/context/continuation.hpp", - "external/sources/boost/boost/context/continuation_fcontext.hpp", - "external/sources/boost/boost/context/continuation_ucontext.hpp", - "external/sources/boost/boost/context/continuation_winfib.hpp", - "external/sources/boost/boost/context/detail/apply.hpp", - "external/sources/boost/boost/context/detail/config.hpp", - "external/sources/boost/boost/context/detail/disable_overload.hpp", - "external/sources/boost/boost/context/detail/exception.hpp", - "external/sources/boost/boost/context/detail/exchange.hpp", - "external/sources/boost/boost/context/detail/externc.hpp", - "external/sources/boost/boost/context/detail/fcontext.hpp", - "external/sources/boost/boost/context/detail/index_sequence.hpp", - "external/sources/boost/boost/context/detail/invoke.hpp", - "external/sources/boost/boost/context/detail/prefetch.hpp", - "external/sources/boost/boost/context/detail/tuple.hpp", - "external/sources/boost/boost/context/fiber.hpp", - "external/sources/boost/boost/context/fiber_fcontext.hpp", - "external/sources/boost/boost/context/fiber_ucontext.hpp", - "external/sources/boost/boost/context/fiber_winfib.hpp", - "external/sources/boost/boost/context/fixedsize_stack.hpp", - "external/sources/boost/boost/context/flags.hpp", - "external/sources/boost/boost/context/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/context/posix/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/context/posix/segmented_stack.hpp", - "external/sources/boost/boost/context/preallocated.hpp", - "external/sources/boost/boost/context/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/context/segmented_stack.hpp", - "external/sources/boost/boost/context/stack_context.hpp", - "external/sources/boost/boost/context/stack_traits.hpp", - "external/sources/boost/boost/context/windows/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/contract.hpp", - "external/sources/boost/boost/contract/assert.hpp", - "external/sources/boost/boost/contract/base_types.hpp", - "external/sources/boost/boost/contract/call_if.hpp", - "external/sources/boost/boost/contract/check.hpp", - "external/sources/boost/boost/contract/constructor.hpp", - "external/sources/boost/boost/contract/core/access.hpp", - "external/sources/boost/boost/contract/core/check_macro.hpp", - "external/sources/boost/boost/contract/core/config.hpp", - "external/sources/boost/boost/contract/core/constructor_precondition.hpp", - "external/sources/boost/boost/contract/core/exception.hpp", - "external/sources/boost/boost/contract/core/specify.hpp", - "external/sources/boost/boost/contract/core/virtual.hpp", - "external/sources/boost/boost/contract/destructor.hpp", - "external/sources/boost/boost/contract/detail/assert.hpp", - "external/sources/boost/boost/contract/detail/auto_ptr.hpp", - "external/sources/boost/boost/contract/detail/check.hpp", - "external/sources/boost/boost/contract/detail/checking.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_base.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_inv.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_post.hpp", - "external/sources/boost/boost/contract/detail/condition/cond_subcontracting.hpp", - "external/sources/boost/boost/contract/detail/config.hpp", - "external/sources/boost/boost/contract/detail/debug.hpp", - "external/sources/boost/boost/contract/detail/decl.hpp", - "external/sources/boost/boost/contract/detail/declspec.hpp", - "external/sources/boost/boost/contract/detail/exception.hpp", - "external/sources/boost/boost/contract/detail/inlined.hpp", - "external/sources/boost/boost/contract/detail/inlined/core/exception.hpp", - "external/sources/boost/boost/contract/detail/inlined/detail/checking.hpp", - "external/sources/boost/boost/contract/detail/inlined/old.hpp", - "external/sources/boost/boost/contract/detail/name.hpp", - "external/sources/boost/boost/contract/detail/none.hpp", - "external/sources/boost/boost/contract/detail/noop.hpp", - "external/sources/boost/boost/contract/detail/operation/constructor.hpp", - "external/sources/boost/boost/contract/detail/operation/destructor.hpp", - "external/sources/boost/boost/contract/detail/operation/function.hpp", - "external/sources/boost/boost/contract/detail/operation/public_function.hpp", - "external/sources/boost/boost/contract/detail/operation/static_public_function.hpp", - "external/sources/boost/boost/contract/detail/operator_safe_bool.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/private.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/protected.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/public.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/utility/is.hpp", - "external/sources/boost/boost/contract/detail/preprocessor/keyword/virtual.hpp", - "external/sources/boost/boost/contract/detail/static_local_var.hpp", - "external/sources/boost/boost/contract/detail/tvariadic.hpp", - "external/sources/boost/boost/contract/detail/type_traits/member_function_types.hpp", - "external/sources/boost/boost/contract/detail/type_traits/mirror.hpp", - "external/sources/boost/boost/contract/detail/type_traits/optional.hpp", - "external/sources/boost/boost/contract/function.hpp", - "external/sources/boost/boost/contract/old.hpp", - "external/sources/boost/boost/contract/override.hpp", - "external/sources/boost/boost/contract/public_function.hpp", - "external/sources/boost/boost/contract_macro.hpp", - "external/sources/boost/boost/convert.hpp", - "external/sources/boost/boost/convert/base.hpp", - "external/sources/boost/boost/convert/detail/char.hpp", - "external/sources/boost/boost/convert/detail/config.hpp", - "external/sources/boost/boost/convert/detail/has_member.hpp", - "external/sources/boost/boost/convert/detail/is_callable.hpp", - "external/sources/boost/boost/convert/detail/is_converter.hpp", - "external/sources/boost/boost/convert/detail/is_fun.hpp", - "external/sources/boost/boost/convert/detail/is_string.hpp", - "external/sources/boost/boost/convert/detail/range.hpp", - "external/sources/boost/boost/convert/lexical_cast.hpp", - "external/sources/boost/boost/convert/parameters.hpp", - "external/sources/boost/boost/convert/printf.hpp", - "external/sources/boost/boost/convert/spirit.hpp", - "external/sources/boost/boost/convert/stream.hpp", - "external/sources/boost/boost/convert/strtol.hpp", - "external/sources/boost/boost/core/addressof.hpp", - "external/sources/boost/boost/core/alloc_construct.hpp", - "external/sources/boost/boost/core/allocator_access.hpp", - "external/sources/boost/boost/core/checked_delete.hpp", - "external/sources/boost/boost/core/default_allocator.hpp", - "external/sources/boost/boost/core/demangle.hpp", - "external/sources/boost/boost/core/empty_value.hpp", - "external/sources/boost/boost/core/enable_if.hpp", - "external/sources/boost/boost/core/exchange.hpp", - "external/sources/boost/boost/core/explicit_operator_bool.hpp", - "external/sources/boost/boost/core/first_scalar.hpp", - "external/sources/boost/boost/core/ignore_unused.hpp", - "external/sources/boost/boost/core/is_same.hpp", - "external/sources/boost/boost/core/lightweight_test.hpp", - "external/sources/boost/boost/core/lightweight_test_trait.hpp", - "external/sources/boost/boost/core/no_exceptions_support.hpp", - "external/sources/boost/boost/core/noinit_adaptor.hpp", - "external/sources/boost/boost/core/noncopyable.hpp", - "external/sources/boost/boost/core/null_deleter.hpp", - "external/sources/boost/boost/core/nvp.hpp", - "external/sources/boost/boost/core/pointer_traits.hpp", - "external/sources/boost/boost/core/quick_exit.hpp", - "external/sources/boost/boost/core/ref.hpp", - "external/sources/boost/boost/core/scoped_enum.hpp", - "external/sources/boost/boost/core/swap.hpp", - "external/sources/boost/boost/core/typeinfo.hpp", - "external/sources/boost/boost/core/uncaught_exceptions.hpp", - "external/sources/boost/boost/core/underlying_type.hpp", - "external/sources/boost/boost/core/use_default.hpp", - "external/sources/boost/boost/coroutine/all.hpp", - "external/sources/boost/boost/coroutine/asymmetric_coroutine.hpp", - "external/sources/boost/boost/coroutine/attributes.hpp", - "external/sources/boost/boost/coroutine/coroutine.hpp", - "external/sources/boost/boost/coroutine/detail/config.hpp", - "external/sources/boost/boost/coroutine/detail/coroutine_context.hpp", - "external/sources/boost/boost/coroutine/detail/data.hpp", - "external/sources/boost/boost/coroutine/detail/flags.hpp", - "external/sources/boost/boost/coroutine/detail/parameters.hpp", - "external/sources/boost/boost/coroutine/detail/preallocated.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/pull_coroutine_synthesized.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/push_coroutine_synthesized.hpp", - "external/sources/boost/boost/coroutine/detail/setup.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_call.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_impl.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_object.hpp", - "external/sources/boost/boost/coroutine/detail/symmetric_coroutine_yield.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline_pull.hpp", - "external/sources/boost/boost/coroutine/detail/trampoline_push.hpp", - "external/sources/boost/boost/coroutine/exceptions.hpp", - "external/sources/boost/boost/coroutine/flags.hpp", - "external/sources/boost/boost/coroutine/posix/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/posix/segmented_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/segmented_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/stack_allocator.hpp", - "external/sources/boost/boost/coroutine/stack_context.hpp", - "external/sources/boost/boost/coroutine/stack_traits.hpp", - "external/sources/boost/boost/coroutine/standard_stack_allocator.hpp", - "external/sources/boost/boost/coroutine/symmetric_coroutine.hpp", - "external/sources/boost/boost/coroutine/windows/protected_stack_allocator.hpp", - "external/sources/boost/boost/coroutine2/all.hpp", - "external/sources/boost/boost/coroutine2/coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/config.hpp", - "external/sources/boost/boost/coroutine2/detail/coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/create_control_block.ipp", - "external/sources/boost/boost/coroutine2/detail/decay_copy.hpp", - "external/sources/boost/boost/coroutine2/detail/disable_overload.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_control_block_cc.ipp", - "external/sources/boost/boost/coroutine2/detail/pull_coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/pull_coroutine.ipp", - "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.hpp", - "external/sources/boost/boost/coroutine2/detail/push_control_block_cc.ipp", - "external/sources/boost/boost/coroutine2/detail/push_coroutine.hpp", - "external/sources/boost/boost/coroutine2/detail/push_coroutine.ipp", - "external/sources/boost/boost/coroutine2/detail/state.hpp", - "external/sources/boost/boost/coroutine2/detail/wrap.hpp", - "external/sources/boost/boost/coroutine2/fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/coroutine2/segmented_stack.hpp", - "external/sources/boost/boost/crc.hpp", - "external/sources/boost/boost/cregex.hpp", - "external/sources/boost/boost/cstdfloat.hpp", - "external/sources/boost/boost/cstdint.hpp", - "external/sources/boost/boost/cstdlib.hpp", - "external/sources/boost/boost/current_function.hpp", - "external/sources/boost/boost/cxx11_char_types.hpp", - "external/sources/boost/boost/date_time.hpp", - "external/sources/boost/boost/date_time/adjust_functors.hpp", - "external/sources/boost/boost/date_time/c_local_time_adjustor.hpp", - "external/sources/boost/boost/date_time/c_time.hpp", - "external/sources/boost/boost/date_time/compiler_config.hpp", - "external/sources/boost/boost/date_time/constrained_value.hpp", - "external/sources/boost/boost/date_time/date.hpp", - "external/sources/boost/boost/date_time/date_clock_device.hpp", - "external/sources/boost/boost/date_time/date_defs.hpp", - "external/sources/boost/boost/date_time/date_duration.hpp", - "external/sources/boost/boost/date_time/date_duration_types.hpp", - "external/sources/boost/boost/date_time/date_facet.hpp", - "external/sources/boost/boost/date_time/date_format_simple.hpp", - "external/sources/boost/boost/date_time/date_formatting.hpp", - "external/sources/boost/boost/date_time/date_formatting_limited.hpp", - "external/sources/boost/boost/date_time/date_formatting_locales.hpp", - "external/sources/boost/boost/date_time/date_generator_formatter.hpp", - "external/sources/boost/boost/date_time/date_generator_parser.hpp", - "external/sources/boost/boost/date_time/date_generators.hpp", - "external/sources/boost/boost/date_time/date_iterator.hpp", - "external/sources/boost/boost/date_time/date_names_put.hpp", - "external/sources/boost/boost/date_time/date_parsing.hpp", - "external/sources/boost/boost/date_time/dst_rules.hpp", - "external/sources/boost/boost/date_time/dst_transition_generators.hpp", - "external/sources/boost/boost/date_time/filetime_functions.hpp", - "external/sources/boost/boost/date_time/find_match.hpp", - "external/sources/boost/boost/date_time/format_date_parser.hpp", - "external/sources/boost/boost/date_time/gregorian/conversion.hpp", - "external/sources/boost/boost/date_time/gregorian/formatters.hpp", - "external/sources/boost/boost/date_time/gregorian/formatters_limited.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_calendar.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_date.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_day.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_day_of_year.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_duration.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_duration_types.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_facet.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_month.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_serialize.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_weekday.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_year.hpp", - "external/sources/boost/boost/date_time/gregorian/greg_ymd.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian_io.hpp", - "external/sources/boost/boost/date_time/gregorian/gregorian_types.hpp", - "external/sources/boost/boost/date_time/gregorian/parsers.hpp", - "external/sources/boost/boost/date_time/gregorian_calendar.hpp", - "external/sources/boost/boost/date_time/gregorian_calendar.ipp", - "external/sources/boost/boost/date_time/int_adapter.hpp", - "external/sources/boost/boost/date_time/iso_format.hpp", - "external/sources/boost/boost/date_time/local_time/conversion.hpp", - "external/sources/boost/boost/date_time/local_time/custom_time_zone.hpp", - "external/sources/boost/boost/date_time/local_time/date_duration_operators.hpp", - "external/sources/boost/boost/date_time/local_time/dst_transition_day_rules.hpp", - "external/sources/boost/boost/date_time/local_time/local_date_time.hpp", - "external/sources/boost/boost/date_time/local_time/local_time.hpp", - "external/sources/boost/boost/date_time/local_time/local_time_io.hpp", - "external/sources/boost/boost/date_time/local_time/local_time_types.hpp", - "external/sources/boost/boost/date_time/local_time/posix_time_zone.hpp", - "external/sources/boost/boost/date_time/local_time/tz_database.hpp", - "external/sources/boost/boost/date_time/local_time_adjustor.hpp", - "external/sources/boost/boost/date_time/local_timezone_defs.hpp", - "external/sources/boost/boost/date_time/locale_config.hpp", - "external/sources/boost/boost/date_time/microsec_time_clock.hpp", - "external/sources/boost/boost/date_time/parse_format_base.hpp", - "external/sources/boost/boost/date_time/period.hpp", - "external/sources/boost/boost/date_time/period_formatter.hpp", - "external/sources/boost/boost/date_time/period_parser.hpp", - "external/sources/boost/boost/date_time/posix_time/conversion.hpp", - "external/sources/boost/boost/date_time/posix_time/date_duration_operators.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_config.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_duration.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_io.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_legacy_io.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_system.hpp", - "external/sources/boost/boost/date_time/posix_time/posix_time_types.hpp", - "external/sources/boost/boost/date_time/posix_time/ptime.hpp", - "external/sources/boost/boost/date_time/posix_time/time_formatters.hpp", - "external/sources/boost/boost/date_time/posix_time/time_formatters_limited.hpp", - "external/sources/boost/boost/date_time/posix_time/time_parsers.hpp", - "external/sources/boost/boost/date_time/posix_time/time_period.hpp", - "external/sources/boost/boost/date_time/posix_time/time_serialize.hpp", - "external/sources/boost/boost/date_time/special_defs.hpp", - "external/sources/boost/boost/date_time/special_values_formatter.hpp", - "external/sources/boost/boost/date_time/special_values_parser.hpp", - "external/sources/boost/boost/date_time/string_convert.hpp", - "external/sources/boost/boost/date_time/string_parse_tree.hpp", - "external/sources/boost/boost/date_time/strings_from_facet.hpp", - "external/sources/boost/boost/date_time/time.hpp", - "external/sources/boost/boost/date_time/time_clock.hpp", - "external/sources/boost/boost/date_time/time_defs.hpp", - "external/sources/boost/boost/date_time/time_duration.hpp", - "external/sources/boost/boost/date_time/time_facet.hpp", - "external/sources/boost/boost/date_time/time_formatting_streams.hpp", - "external/sources/boost/boost/date_time/time_iterator.hpp", - "external/sources/boost/boost/date_time/time_parsing.hpp", - "external/sources/boost/boost/date_time/time_resolution_traits.hpp", - "external/sources/boost/boost/date_time/time_system_counted.hpp", - "external/sources/boost/boost/date_time/time_system_split.hpp", - "external/sources/boost/boost/date_time/time_zone_base.hpp", - "external/sources/boost/boost/date_time/time_zone_names.hpp", - "external/sources/boost/boost/date_time/tz_db_base.hpp", - "external/sources/boost/boost/date_time/wrapping_int.hpp", - "external/sources/boost/boost/date_time/year_month_day.hpp", - "external/sources/boost/boost/detail/algorithm.hpp", - "external/sources/boost/boost/detail/allocator_utilities.hpp", - "external/sources/boost/boost/detail/atomic_count.hpp", - "external/sources/boost/boost/detail/basic_pointerbuf.hpp", - "external/sources/boost/boost/detail/binary_search.hpp", - "external/sources/boost/boost/detail/bitmask.hpp", - "external/sources/boost/boost/detail/call_traits.hpp", - "external/sources/boost/boost/detail/catch_exceptions.hpp", - "external/sources/boost/boost/detail/compressed_pair.hpp", - "external/sources/boost/boost/detail/container_fwd.hpp", - "external/sources/boost/boost/detail/fenv.hpp", - "external/sources/boost/boost/detail/has_default_constructor.hpp", - "external/sources/boost/boost/detail/identifier.hpp", - "external/sources/boost/boost/detail/indirect_traits.hpp", - "external/sources/boost/boost/detail/interlocked.hpp", - "external/sources/boost/boost/detail/is_incrementable.hpp", - "external/sources/boost/boost/detail/is_sorted.hpp", - "external/sources/boost/boost/detail/is_xxx.hpp", - "external/sources/boost/boost/detail/iterator.hpp", - "external/sources/boost/boost/detail/lcast_precision.hpp", - "external/sources/boost/boost/detail/lightweight_main.hpp", - "external/sources/boost/boost/detail/lightweight_mutex.hpp", - "external/sources/boost/boost/detail/lightweight_test.hpp", - "external/sources/boost/boost/detail/lightweight_test_report.hpp", - "external/sources/boost/boost/detail/lightweight_thread.hpp", - "external/sources/boost/boost/detail/named_template_params.hpp", - "external/sources/boost/boost/detail/no_exceptions_support.hpp", - "external/sources/boost/boost/detail/numeric_traits.hpp", - "external/sources/boost/boost/detail/ob_compressed_pair.hpp", - "external/sources/boost/boost/detail/quick_allocator.hpp", - "external/sources/boost/boost/detail/reference_content.hpp", - "external/sources/boost/boost/detail/scoped_enum_emulation.hpp", - "external/sources/boost/boost/detail/select_type.hpp", - "external/sources/boost/boost/detail/sp_typeinfo.hpp", - "external/sources/boost/boost/detail/templated_streams.hpp", - "external/sources/boost/boost/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/detail/utf8_codecvt_facet.ipp", - "external/sources/boost/boost/detail/winapi/access_rights.hpp", - "external/sources/boost/boost/detail/winapi/apc.hpp", - "external/sources/boost/boost/detail/winapi/basic_types.hpp", - "external/sources/boost/boost/detail/winapi/bcrypt.hpp", - "external/sources/boost/boost/detail/winapi/character_code_conversion.hpp", - "external/sources/boost/boost/detail/winapi/condition_variable.hpp", - "external/sources/boost/boost/detail/winapi/config.hpp", - "external/sources/boost/boost/detail/winapi/critical_section.hpp", - "external/sources/boost/boost/detail/winapi/crypt.hpp", - "external/sources/boost/boost/detail/winapi/dbghelp.hpp", - "external/sources/boost/boost/detail/winapi/debugapi.hpp", - "external/sources/boost/boost/detail/winapi/detail/deprecated_namespace.hpp", - "external/sources/boost/boost/detail/winapi/directory_management.hpp", - "external/sources/boost/boost/detail/winapi/dll.hpp", - "external/sources/boost/boost/detail/winapi/environment.hpp", - "external/sources/boost/boost/detail/winapi/error_codes.hpp", - "external/sources/boost/boost/detail/winapi/error_handling.hpp", - "external/sources/boost/boost/detail/winapi/event.hpp", - "external/sources/boost/boost/detail/winapi/file_management.hpp", - "external/sources/boost/boost/detail/winapi/file_mapping.hpp", - "external/sources/boost/boost/detail/winapi/get_current_process.hpp", - "external/sources/boost/boost/detail/winapi/get_current_process_id.hpp", - "external/sources/boost/boost/detail/winapi/get_current_thread.hpp", - "external/sources/boost/boost/detail/winapi/get_current_thread_id.hpp", - "external/sources/boost/boost/detail/winapi/get_last_error.hpp", - "external/sources/boost/boost/detail/winapi/get_process_times.hpp", - "external/sources/boost/boost/detail/winapi/get_system_directory.hpp", - "external/sources/boost/boost/detail/winapi/get_thread_times.hpp", - "external/sources/boost/boost/detail/winapi/handle_info.hpp", - "external/sources/boost/boost/detail/winapi/handles.hpp", - "external/sources/boost/boost/detail/winapi/heap_memory.hpp", - "external/sources/boost/boost/detail/winapi/init_once.hpp", - "external/sources/boost/boost/detail/winapi/jobs.hpp", - "external/sources/boost/boost/detail/winapi/limits.hpp", - "external/sources/boost/boost/detail/winapi/local_memory.hpp", - "external/sources/boost/boost/detail/winapi/memory.hpp", - "external/sources/boost/boost/detail/winapi/mutex.hpp", - "external/sources/boost/boost/detail/winapi/overlapped.hpp", - "external/sources/boost/boost/detail/winapi/page_protection_flags.hpp", - "external/sources/boost/boost/detail/winapi/pipes.hpp", - "external/sources/boost/boost/detail/winapi/priority_class.hpp", - "external/sources/boost/boost/detail/winapi/process.hpp", - "external/sources/boost/boost/detail/winapi/security.hpp", - "external/sources/boost/boost/detail/winapi/semaphore.hpp", - "external/sources/boost/boost/detail/winapi/shell.hpp", - "external/sources/boost/boost/detail/winapi/show_window.hpp", - "external/sources/boost/boost/detail/winapi/srw_lock.hpp", - "external/sources/boost/boost/detail/winapi/stack_backtrace.hpp", - "external/sources/boost/boost/detail/winapi/synchronization.hpp", - "external/sources/boost/boost/detail/winapi/system.hpp", - "external/sources/boost/boost/detail/winapi/thread.hpp", - "external/sources/boost/boost/detail/winapi/thread_pool.hpp", - "external/sources/boost/boost/detail/winapi/time.hpp", - "external/sources/boost/boost/detail/winapi/timers.hpp", - "external/sources/boost/boost/detail/winapi/tls.hpp", - "external/sources/boost/boost/detail/winapi/wait.hpp", - "external/sources/boost/boost/detail/winapi/waitable_timer.hpp", - "external/sources/boost/boost/detail/workaround.hpp", - "external/sources/boost/boost/dll.hpp", - "external/sources/boost/boost/dll/alias.hpp", - "external/sources/boost/boost/dll/config.hpp", - "external/sources/boost/boost/dll/detail/aggressive_ptr_cast.hpp", - "external/sources/boost/boost/dll/detail/ctor_dtor.hpp", - "external/sources/boost/boost/dll/detail/demangling/demangle_symbol.hpp", - "external/sources/boost/boost/dll/detail/demangling/itanium.hpp", - "external/sources/boost/boost/dll/detail/demangling/mangled_storage_base.hpp", - "external/sources/boost/boost/dll/detail/demangling/msvc.hpp", - "external/sources/boost/boost/dll/detail/elf_info.hpp", - "external/sources/boost/boost/dll/detail/get_mem_fn_type.hpp", - "external/sources/boost/boost/dll/detail/import_mangled_helpers.hpp", - "external/sources/boost/boost/dll/detail/macho_info.hpp", - "external/sources/boost/boost/dll/detail/pe_info.hpp", - "external/sources/boost/boost/dll/detail/posix/path_from_handle.hpp", - "external/sources/boost/boost/dll/detail/posix/program_location_impl.hpp", - "external/sources/boost/boost/dll/detail/posix/shared_library_impl.hpp", - "external/sources/boost/boost/dll/detail/system_error.hpp", - "external/sources/boost/boost/dll/detail/type_info.hpp", - "external/sources/boost/boost/dll/detail/windows/path_from_handle.hpp", - "external/sources/boost/boost/dll/detail/windows/shared_library_impl.hpp", - "external/sources/boost/boost/dll/import.hpp", - "external/sources/boost/boost/dll/import_class.hpp", - "external/sources/boost/boost/dll/import_mangled.hpp", - "external/sources/boost/boost/dll/library_info.hpp", - "external/sources/boost/boost/dll/runtime_symbol_info.hpp", - "external/sources/boost/boost/dll/shared_library.hpp", - "external/sources/boost/boost/dll/shared_library_load_mode.hpp", - "external/sources/boost/boost/dll/smart_library.hpp", - "external/sources/boost/boost/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/config.hpp", - "external/sources/boost/boost/dynamic_bitset/detail/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/detail/lowest_bit.hpp", - "external/sources/boost/boost/dynamic_bitset/dynamic_bitset.hpp", - "external/sources/boost/boost/dynamic_bitset/serialization.hpp", - "external/sources/boost/boost/dynamic_bitset_fwd.hpp", - "external/sources/boost/boost/enable_shared_from_this.hpp", - "external/sources/boost/boost/endian.hpp", - "external/sources/boost/boost/endian/arithmetic.hpp", - "external/sources/boost/boost/endian/buffers.hpp", - "external/sources/boost/boost/endian/conversion.hpp", - "external/sources/boost/boost/endian/detail/disable_warnings.hpp", - "external/sources/boost/boost/endian/detail/disable_warnings_pop.hpp", - "external/sources/boost/boost/endian/detail/endian_load.hpp", - "external/sources/boost/boost/endian/detail/endian_reverse.hpp", - "external/sources/boost/boost/endian/detail/endian_store.hpp", - "external/sources/boost/boost/endian/detail/integral_by_size.hpp", - "external/sources/boost/boost/endian/detail/intrinsic.hpp", - "external/sources/boost/boost/endian/detail/is_scoped_enum.hpp", - "external/sources/boost/boost/endian/detail/is_trivially_copyable.hpp", - "external/sources/boost/boost/endian/detail/order.hpp", - "external/sources/boost/boost/endian/endian.hpp", - "external/sources/boost/boost/exception/all.hpp", - "external/sources/boost/boost/exception/current_exception_cast.hpp", - "external/sources/boost/boost/exception/detail/clone_current_exception.hpp", - "external/sources/boost/boost/exception/detail/error_info_impl.hpp", - "external/sources/boost/boost/exception/detail/exception_ptr.hpp", - "external/sources/boost/boost/exception/detail/is_output_streamable.hpp", - "external/sources/boost/boost/exception/detail/object_hex_dump.hpp", - "external/sources/boost/boost/exception/detail/shared_ptr.hpp", - "external/sources/boost/boost/exception/detail/type_info.hpp", - "external/sources/boost/boost/exception/diagnostic_information.hpp", - "external/sources/boost/boost/exception/enable_current_exception.hpp", - "external/sources/boost/boost/exception/enable_error_info.hpp", - "external/sources/boost/boost/exception/errinfo_api_function.hpp", - "external/sources/boost/boost/exception/errinfo_at_line.hpp", - "external/sources/boost/boost/exception/errinfo_errno.hpp", - "external/sources/boost/boost/exception/errinfo_file_handle.hpp", - "external/sources/boost/boost/exception/errinfo_file_name.hpp", - "external/sources/boost/boost/exception/errinfo_file_open_mode.hpp", - "external/sources/boost/boost/exception/errinfo_nested_exception.hpp", - "external/sources/boost/boost/exception/errinfo_type_info_name.hpp", - "external/sources/boost/boost/exception/error_info.hpp", - "external/sources/boost/boost/exception/exception.hpp", - "external/sources/boost/boost/exception/get_error_info.hpp", - "external/sources/boost/boost/exception/info.hpp", - "external/sources/boost/boost/exception/info_tuple.hpp", - "external/sources/boost/boost/exception/to_string.hpp", - "external/sources/boost/boost/exception/to_string_stub.hpp", - "external/sources/boost/boost/exception_ptr.hpp", - "external/sources/boost/boost/fiber/algo/algorithm.hpp", - "external/sources/boost/boost/fiber/algo/round_robin.hpp", - "external/sources/boost/boost/fiber/algo/shared_work.hpp", - "external/sources/boost/boost/fiber/algo/work_stealing.hpp", - "external/sources/boost/boost/fiber/all.hpp", - "external/sources/boost/boost/fiber/barrier.hpp", - "external/sources/boost/boost/fiber/buffered_channel.hpp", - "external/sources/boost/boost/fiber/channel_op_status.hpp", - "external/sources/boost/boost/fiber/condition_variable.hpp", - "external/sources/boost/boost/fiber/context.hpp", - "external/sources/boost/boost/fiber/cuda/waitfor.hpp", - "external/sources/boost/boost/fiber/detail/config.hpp", - "external/sources/boost/boost/fiber/detail/context_spinlock_queue.hpp", - "external/sources/boost/boost/fiber/detail/context_spmc_queue.hpp", - "external/sources/boost/boost/fiber/detail/convert.hpp", - "external/sources/boost/boost/fiber/detail/cpu_relax.hpp", - "external/sources/boost/boost/fiber/detail/data.hpp", - "external/sources/boost/boost/fiber/detail/decay_copy.hpp", - "external/sources/boost/boost/fiber/detail/disable_overload.hpp", - "external/sources/boost/boost/fiber/detail/exchange.hpp", - "external/sources/boost/boost/fiber/detail/fss.hpp", - "external/sources/boost/boost/fiber/detail/futex.hpp", - "external/sources/boost/boost/fiber/detail/is_all_same.hpp", - "external/sources/boost/boost/fiber/detail/rtm.hpp", - "external/sources/boost/boost/fiber/detail/spinlock.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_rtm.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_status.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_adaptive_futex.hpp", - "external/sources/boost/boost/fiber/detail/spinlock_ttas_futex.hpp", - "external/sources/boost/boost/fiber/detail/thread_barrier.hpp", - "external/sources/boost/boost/fiber/exceptions.hpp", - "external/sources/boost/boost/fiber/fiber.hpp", - "external/sources/boost/boost/fiber/fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/fss.hpp", - "external/sources/boost/boost/fiber/future.hpp", - "external/sources/boost/boost/fiber/future/async.hpp", - "external/sources/boost/boost/fiber/future/detail/shared_state.hpp", - "external/sources/boost/boost/fiber/future/detail/shared_state_object.hpp", - "external/sources/boost/boost/fiber/future/detail/task_base.hpp", - "external/sources/boost/boost/fiber/future/detail/task_object.hpp", - "external/sources/boost/boost/fiber/future/future.hpp", - "external/sources/boost/boost/fiber/future/future_status.hpp", - "external/sources/boost/boost/fiber/future/packaged_task.hpp", - "external/sources/boost/boost/fiber/future/promise.hpp", - "external/sources/boost/boost/fiber/hip/waitfor.hpp", - "external/sources/boost/boost/fiber/mutex.hpp", - "external/sources/boost/boost/fiber/numa/algo/work_stealing.hpp", - "external/sources/boost/boost/fiber/numa/all.hpp", - "external/sources/boost/boost/fiber/numa/pin_thread.hpp", - "external/sources/boost/boost/fiber/numa/topology.hpp", - "external/sources/boost/boost/fiber/operations.hpp", - "external/sources/boost/boost/fiber/policy.hpp", - "external/sources/boost/boost/fiber/pooled_fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/properties.hpp", - "external/sources/boost/boost/fiber/protected_fixedsize_stack.hpp", - "external/sources/boost/boost/fiber/recursive_mutex.hpp", - "external/sources/boost/boost/fiber/recursive_timed_mutex.hpp", - "external/sources/boost/boost/fiber/scheduler.hpp", - "external/sources/boost/boost/fiber/segmented_stack.hpp", - "external/sources/boost/boost/fiber/timed_mutex.hpp", - "external/sources/boost/boost/fiber/type.hpp", - "external/sources/boost/boost/fiber/unbuffered_channel.hpp", - "external/sources/boost/boost/filesystem.hpp", - "external/sources/boost/boost/filesystem/config.hpp", - "external/sources/boost/boost/filesystem/convenience.hpp", - "external/sources/boost/boost/filesystem/detail/macro_value.hpp", - "external/sources/boost/boost/filesystem/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/filesystem/directory.hpp", - "external/sources/boost/boost/filesystem/exception.hpp", - "external/sources/boost/boost/filesystem/file_status.hpp", - "external/sources/boost/boost/filesystem/fstream.hpp", - "external/sources/boost/boost/filesystem/operations.hpp", - "external/sources/boost/boost/filesystem/path.hpp", - "external/sources/boost/boost/filesystem/path_traits.hpp", - "external/sources/boost/boost/filesystem/string_file.hpp", - "external/sources/boost/boost/flyweight.hpp", - "external/sources/boost/boost/flyweight/assoc_container_factory.hpp", - "external/sources/boost/boost/flyweight/assoc_container_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/archive_constructed.hpp", - "external/sources/boost/boost/flyweight/detail/default_value_policy.hpp", - "external/sources/boost/boost/flyweight/detail/dyn_perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/flyweight_core.hpp", - "external/sources/boost/boost/flyweight/detail/is_placeholder_expr.hpp", - "external/sources/boost/boost/flyweight/detail/nested_xxx_if_not_ph.hpp", - "external/sources/boost/boost/flyweight/detail/not_placeholder_expr.hpp", - "external/sources/boost/boost/flyweight/detail/perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/pp_perfect_fwd.hpp", - "external/sources/boost/boost/flyweight/detail/recursive_lw_mutex.hpp", - "external/sources/boost/boost/flyweight/detail/serialization_helper.hpp", - "external/sources/boost/boost/flyweight/detail/value_tag.hpp", - "external/sources/boost/boost/flyweight/factory_tag.hpp", - "external/sources/boost/boost/flyweight/flyweight.hpp", - "external/sources/boost/boost/flyweight/flyweight_fwd.hpp", - "external/sources/boost/boost/flyweight/hashed_factory.hpp", - "external/sources/boost/boost/flyweight/hashed_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/holder_tag.hpp", - "external/sources/boost/boost/flyweight/intermodule_holder.hpp", - "external/sources/boost/boost/flyweight/intermodule_holder_fwd.hpp", - "external/sources/boost/boost/flyweight/key_value.hpp", - "external/sources/boost/boost/flyweight/key_value_fwd.hpp", - "external/sources/boost/boost/flyweight/locking_tag.hpp", - "external/sources/boost/boost/flyweight/no_locking.hpp", - "external/sources/boost/boost/flyweight/no_locking_fwd.hpp", - "external/sources/boost/boost/flyweight/no_tracking.hpp", - "external/sources/boost/boost/flyweight/no_tracking_fwd.hpp", - "external/sources/boost/boost/flyweight/refcounted.hpp", - "external/sources/boost/boost/flyweight/refcounted_fwd.hpp", - "external/sources/boost/boost/flyweight/serialize.hpp", - "external/sources/boost/boost/flyweight/set_factory.hpp", - "external/sources/boost/boost/flyweight/set_factory_fwd.hpp", - "external/sources/boost/boost/flyweight/simple_locking.hpp", - "external/sources/boost/boost/flyweight/simple_locking_fwd.hpp", - "external/sources/boost/boost/flyweight/static_holder.hpp", - "external/sources/boost/boost/flyweight/static_holder_fwd.hpp", - "external/sources/boost/boost/flyweight/tag.hpp", - "external/sources/boost/boost/flyweight/tracking_tag.hpp", - "external/sources/boost/boost/foreach.hpp", - "external/sources/boost/boost/foreach_fwd.hpp", - "external/sources/boost/boost/format.hpp", - "external/sources/boost/boost/format/alt_sstream.hpp", - "external/sources/boost/boost/format/alt_sstream_impl.hpp", - "external/sources/boost/boost/format/detail/compat_workarounds.hpp", - "external/sources/boost/boost/format/detail/config_macros.hpp", - "external/sources/boost/boost/format/detail/msvc_disambiguater.hpp", - "external/sources/boost/boost/format/detail/unset_macros.hpp", - "external/sources/boost/boost/format/detail/workarounds_gcc-2_95.hpp", - "external/sources/boost/boost/format/detail/workarounds_stlport.hpp", - "external/sources/boost/boost/format/exceptions.hpp", - "external/sources/boost/boost/format/feed_args.hpp", - "external/sources/boost/boost/format/format_class.hpp", - "external/sources/boost/boost/format/format_fwd.hpp", - "external/sources/boost/boost/format/format_implementation.hpp", - "external/sources/boost/boost/format/free_funcs.hpp", - "external/sources/boost/boost/format/group.hpp", - "external/sources/boost/boost/format/internals.hpp", - "external/sources/boost/boost/format/internals_fwd.hpp", - "external/sources/boost/boost/format/parsing.hpp", - "external/sources/boost/boost/function.hpp", - "external/sources/boost/boost/function/detail/function_iterate.hpp", - "external/sources/boost/boost/function/detail/gen_maybe_include.pl", - "external/sources/boost/boost/function/detail/maybe_include.hpp", - "external/sources/boost/boost/function/detail/prologue.hpp", - "external/sources/boost/boost/function/function0.hpp", - "external/sources/boost/boost/function/function1.hpp", - "external/sources/boost/boost/function/function10.hpp", - "external/sources/boost/boost/function/function2.hpp", - "external/sources/boost/boost/function/function3.hpp", - "external/sources/boost/boost/function/function4.hpp", - "external/sources/boost/boost/function/function5.hpp", - "external/sources/boost/boost/function/function6.hpp", - "external/sources/boost/boost/function/function7.hpp", - "external/sources/boost/boost/function/function8.hpp", - "external/sources/boost/boost/function/function9.hpp", - "external/sources/boost/boost/function/function_base.hpp", - "external/sources/boost/boost/function/function_fwd.hpp", - "external/sources/boost/boost/function/function_template.hpp", - "external/sources/boost/boost/function/function_typeof.hpp", - "external/sources/boost/boost/function/gen_function_N.pl", - "external/sources/boost/boost/function_equal.hpp", - "external/sources/boost/boost/function_output_iterator.hpp", - "external/sources/boost/boost/function_types/components.hpp", - "external/sources/boost/boost/function_types/config/cc_names.hpp", - "external/sources/boost/boost/function_types/config/compiler.hpp", - "external/sources/boost/boost/function_types/config/config.hpp", - "external/sources/boost/boost/function_types/detail/class_transform.hpp", - "external/sources/boost/boost/function_types/detail/classifier.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/classifier_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/components_as_mpl_sequence.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/components_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/cv_traits.hpp", - "external/sources/boost/boost/function_types/detail/encoding/aliases_def.hpp", - "external/sources/boost/boost/function_types/detail/encoding/aliases_undef.hpp", - "external/sources/boost/boost/function_types/detail/encoding/def.hpp", - "external/sources/boost/boost/function_types/detail/encoding/undef.hpp", - "external/sources/boost/boost/function_types/detail/pp_arity_loop.hpp", - "external/sources/boost/boost/function_types/detail/pp_cc_loop/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_cc_loop/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_loop.hpp", - "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/cc_tag.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_tags/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/pp_variate_loop/master.hpp", - "external/sources/boost/boost/function_types/detail/pp_variate_loop/preprocessed.hpp", - "external/sources/boost/boost/function_types/detail/retag_default_cc.hpp", - "external/sources/boost/boost/function_types/detail/synthesize.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity10_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity20_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity30_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity40_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_0.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/arity50_1.hpp", - "external/sources/boost/boost/function_types/detail/synthesize_impl/master.hpp", - "external/sources/boost/boost/function_types/detail/to_sequence.hpp", - "external/sources/boost/boost/function_types/function_arity.hpp", - "external/sources/boost/boost/function_types/function_pointer.hpp", - "external/sources/boost/boost/function_types/function_reference.hpp", - "external/sources/boost/boost/function_types/function_type.hpp", - "external/sources/boost/boost/function_types/is_callable_builtin.hpp", - "external/sources/boost/boost/function_types/is_function.hpp", - "external/sources/boost/boost/function_types/is_function_pointer.hpp", - "external/sources/boost/boost/function_types/is_function_reference.hpp", - "external/sources/boost/boost/function_types/is_member_function_pointer.hpp", - "external/sources/boost/boost/function_types/is_member_object_pointer.hpp", - "external/sources/boost/boost/function_types/is_member_pointer.hpp", - "external/sources/boost/boost/function_types/is_nonmember_callable_builtin.hpp", - "external/sources/boost/boost/function_types/member_function_pointer.hpp", - "external/sources/boost/boost/function_types/member_object_pointer.hpp", - "external/sources/boost/boost/function_types/parameter_types.hpp", - "external/sources/boost/boost/function_types/property_tags.hpp", - "external/sources/boost/boost/function_types/result_type.hpp", - "external/sources/boost/boost/functional.hpp", - "external/sources/boost/boost/functional/factory.hpp", - "external/sources/boost/boost/functional/forward_adapter.hpp", - "external/sources/boost/boost/functional/hash.hpp", - "external/sources/boost/boost/functional/hash/extensions.hpp", - "external/sources/boost/boost/functional/hash/hash.hpp", - "external/sources/boost/boost/functional/hash/hash_fwd.hpp", - "external/sources/boost/boost/functional/hash_fwd.hpp", - "external/sources/boost/boost/functional/lightweight_forward_adapter.hpp", - "external/sources/boost/boost/functional/overloaded_function.hpp", - "external/sources/boost/boost/functional/overloaded_function/config.hpp", - "external/sources/boost/boost/functional/overloaded_function/detail/base.hpp", - "external/sources/boost/boost/functional/overloaded_function/detail/function_type.hpp", - "external/sources/boost/boost/functional/value_factory.hpp", - "external/sources/boost/boost/fusion/adapted.hpp", - "external/sources/boost/boost/fusion/adapted/adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_adt_named.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt.hpp", - "external/sources/boost/boost/fusion/adapted/adt/adapt_assoc_adt_named.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_assoc_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/adapt_base_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/adt/detail/extension.hpp", - "external/sources/boost/boost/fusion/adapted/array.hpp", - "external/sources/boost/boost/fusion/adapted/array/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/deref_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/array/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/array/value_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/array_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/mpl/clear.hpp", - "external/sources/boost/boost/fusion/adapted/boost_tuple/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/mpl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/empty_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/has_key_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/mpl/mpl_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_array.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/array_size.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/std_array_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_array/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/std_pair.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/mpl/clear.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/std_tuple_iterator.hpp", - "external/sources/boost/boost/fusion/adapted/std_tuple/tag_of.hpp", - "external/sources/boost/boost/fusion/adapted/struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/adapt_struct_named.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_assoc_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_auto.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_assoc_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_base_attr_filler.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/adapt_is_tpl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/category_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/extension.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/is_view_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/namespace.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/proxy_type.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/adapted/struct/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/algorithm.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary/copy.hpp", - "external/sources/boost/boost/fusion/algorithm/auxiliary/move.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/accumulate.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/accumulate_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/detail/segmented_for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/for_each.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/for_each_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query.hpp", - "external/sources/boost/boost/fusion/algorithm/query/all.hpp", - "external/sources/boost/boost/fusion/algorithm/query/any.hpp", - "external/sources/boost/boost/fusion/algorithm/query/count.hpp", - "external/sources/boost/boost/fusion/algorithm/query/count_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/all.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/any.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/count.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/count_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find.hpp", - "external/sources/boost/boost/fusion/algorithm/query/detail/segmented_find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_if.hpp", - "external/sources/boost/boost/fusion/algorithm/query/find_if_fwd.hpp", - "external/sources/boost/boost/fusion/algorithm/query/none.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/clear.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip10.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip20.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip30.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip40.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/preprocessed/zip50.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/detail/replace_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/erase.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/erase_key.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/filter.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/filter_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/flatten.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/insert.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/insert_range.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/join.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/pop_back.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/pop_front.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/push_back.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/push_front.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/remove.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/remove_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/replace.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/replace_if.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/reverse.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/transform.hpp", - "external/sources/boost/boost/fusion/algorithm/transformation/zip.hpp", - "external/sources/boost/boost/fusion/container.hpp", - "external/sources/boost/boost/fusion/container/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/back_extended_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/convert.hpp", - "external/sources/boost/boost/fusion/container/deque/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/deque_iterator.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/as_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_initial_size.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_fwd.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values10.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values20.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values30.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values40.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values50.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/deque_keyed_values.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/is_sequence_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/keyed_element.hpp", - "external/sources/boost/boost/fusion/container/deque/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/deque/front_extended_deque.hpp", - "external/sources/boost/boost/fusion/container/generation.hpp", - "external/sources/boost/boost/fusion/container/generation/cons_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/pp_vector_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/deque_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/list_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_deque50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_list50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_map50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_set50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/make_vector50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/map_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie10.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie20.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie30.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie40.hpp", - "external/sources/boost/boost/fusion/container/generation/detail/preprocessed/vector_tie50.hpp", - "external/sources/boost/boost/fusion/container/generation/ignore.hpp", - "external/sources/boost/boost/fusion/container/generation/list_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/make_cons.hpp", - "external/sources/boost/boost/fusion/container/generation/make_deque.hpp", - "external/sources/boost/boost/fusion/container/generation/make_list.hpp", - "external/sources/boost/boost/fusion/container/generation/make_map.hpp", - "external/sources/boost/boost/fusion/container/generation/make_set.hpp", - "external/sources/boost/boost/fusion/container/generation/make_vector.hpp", - "external/sources/boost/boost/fusion/container/generation/map_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/pair_tie.hpp", - "external/sources/boost/boost/fusion/container/generation/vector_tie.hpp", - "external/sources/boost/boost/fusion/container/list.hpp", - "external/sources/boost/boost/fusion/container/list/cons.hpp", - "external/sources/boost/boost/fusion/container/list/cons_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/cons_iterator.hpp", - "external/sources/boost/boost/fusion/container/list/convert.hpp", - "external/sources/boost/boost/fusion/container/list/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp", - "external/sources/boost/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp", - "external/sources/boost/boost/fusion/container/list/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/empty_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/list_to_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/reverse_cons.hpp", - "external/sources/boost/boost/fusion/container/list/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/list/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/list/list.hpp", - "external/sources/boost/boost/fusion/container/list/list_fwd.hpp", - "external/sources/boost/boost/fusion/container/list/nil.hpp", - "external/sources/boost/boost/fusion/container/map.hpp", - "external/sources/boost/boost/fusion/container/map/convert.hpp", - "external/sources/boost/boost/fusion/container/map/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/at_key_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/as_map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/end_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/key_of_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map10.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map20.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map30.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map40.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/as_map50.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map10_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map20_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map30_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map40_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map50_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/preprocessed/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/cpp03/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/map_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/map_index.hpp", - "external/sources/boost/boost/fusion/container/map/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/map/detail/value_at_key_impl.hpp", - "external/sources/boost/boost/fusion/container/map/map.hpp", - "external/sources/boost/boost/fusion/container/map/map_fwd.hpp", - "external/sources/boost/boost/fusion/container/map/map_iterator.hpp", - "external/sources/boost/boost/fusion/container/set.hpp", - "external/sources/boost/boost/fusion/container/set/convert.hpp", - "external/sources/boost/boost/fusion/container/set/detail/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/set/detail/cpp03/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/set/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/container/set/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/set/set.hpp", - "external/sources/boost/boost/fusion/container/set/set_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/convert.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/config.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/convert_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/limits.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/container/vector/vector.hpp", - "external/sources/boost/boost/fusion/container/vector/vector10.hpp", - "external/sources/boost/boost/fusion/container/vector/vector20.hpp", - "external/sources/boost/boost/fusion/container/vector/vector30.hpp", - "external/sources/boost/boost/fusion/container/vector/vector40.hpp", - "external/sources/boost/boost/fusion/container/vector/vector50.hpp", - "external/sources/boost/boost/fusion/container/vector/vector_fwd.hpp", - "external/sources/boost/boost/fusion/container/vector/vector_iterator.hpp", - "external/sources/boost/boost/fusion/functional.hpp", - "external/sources/boost/boost/fusion/functional/adapter.hpp", - "external/sources/boost/boost/fusion/functional/adapter/detail/access.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused_function_object.hpp", - "external/sources/boost/boost/fusion/functional/adapter/fused_procedure.hpp", - "external/sources/boost/boost/fusion/functional/adapter/limits.hpp", - "external/sources/boost/boost/fusion/functional/adapter/unfused.hpp", - "external/sources/boost/boost/fusion/functional/adapter/unfused_typed.hpp", - "external/sources/boost/boost/fusion/functional/generation.hpp", - "external/sources/boost/boost/fusion/functional/generation/detail/gen_make_adapter.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused_function_object.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_fused_procedure.hpp", - "external/sources/boost/boost/fusion/functional/generation/make_unfused.hpp", - "external/sources/boost/boost/fusion/functional/invocation.hpp", - "external/sources/boost/boost/fusion/functional/invocation/detail/that_ptr.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke_function_object.hpp", - "external/sources/boost/boost/fusion/functional/invocation/invoke_procedure.hpp", - "external/sources/boost/boost/fusion/functional/invocation/limits.hpp", - "external/sources/boost/boost/fusion/include/accumulate.hpp", - "external/sources/boost/boost/fusion/include/adapt_adt.hpp", - "external/sources/boost/boost/fusion/include/adapt_adt_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_adt.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_adt_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_struct.hpp", - "external/sources/boost/boost/fusion/include/adapt_assoc_struct_named.hpp", - "external/sources/boost/boost/fusion/include/adapt_struct.hpp", - "external/sources/boost/boost/fusion/include/adapt_struct_named.hpp", - "external/sources/boost/boost/fusion/include/adapted.hpp", - "external/sources/boost/boost/fusion/include/adapter.hpp", - "external/sources/boost/boost/fusion/include/advance.hpp", - "external/sources/boost/boost/fusion/include/algorithm.hpp", - "external/sources/boost/boost/fusion/include/all.hpp", - "external/sources/boost/boost/fusion/include/any.hpp", - "external/sources/boost/boost/fusion/include/array.hpp", - "external/sources/boost/boost/fusion/include/as_deque.hpp", - "external/sources/boost/boost/fusion/include/as_list.hpp", - "external/sources/boost/boost/fusion/include/as_map.hpp", - "external/sources/boost/boost/fusion/include/as_set.hpp", - "external/sources/boost/boost/fusion/include/as_vector.hpp", - "external/sources/boost/boost/fusion/include/at.hpp", - "external/sources/boost/boost/fusion/include/at_c.hpp", - "external/sources/boost/boost/fusion/include/at_key.hpp", - "external/sources/boost/boost/fusion/include/auxiliary.hpp", - "external/sources/boost/boost/fusion/include/back.hpp", - "external/sources/boost/boost/fusion/include/begin.hpp", - "external/sources/boost/boost/fusion/include/boost_array.hpp", - "external/sources/boost/boost/fusion/include/boost_tuple.hpp", - "external/sources/boost/boost/fusion/include/category_of.hpp", - "external/sources/boost/boost/fusion/include/clear.hpp", - "external/sources/boost/boost/fusion/include/comparison.hpp", - "external/sources/boost/boost/fusion/include/cons.hpp", - "external/sources/boost/boost/fusion/include/cons_tie.hpp", - "external/sources/boost/boost/fusion/include/container.hpp", - "external/sources/boost/boost/fusion/include/convert.hpp", - "external/sources/boost/boost/fusion/include/copy.hpp", - "external/sources/boost/boost/fusion/include/count.hpp", - "external/sources/boost/boost/fusion/include/count_if.hpp", - "external/sources/boost/boost/fusion/include/deduce.hpp", - "external/sources/boost/boost/fusion/include/deduce_sequence.hpp", - "external/sources/boost/boost/fusion/include/define_assoc_struct.hpp", - "external/sources/boost/boost/fusion/include/define_struct.hpp", - "external/sources/boost/boost/fusion/include/define_struct_inline.hpp", - "external/sources/boost/boost/fusion/include/deque.hpp", - "external/sources/boost/boost/fusion/include/deque_fwd.hpp", - "external/sources/boost/boost/fusion/include/deque_tie.hpp", - "external/sources/boost/boost/fusion/include/deref.hpp", - "external/sources/boost/boost/fusion/include/deref_data.hpp", - "external/sources/boost/boost/fusion/include/distance.hpp", - "external/sources/boost/boost/fusion/include/empty.hpp", - "external/sources/boost/boost/fusion/include/end.hpp", - "external/sources/boost/boost/fusion/include/equal_to.hpp", - "external/sources/boost/boost/fusion/include/erase.hpp", - "external/sources/boost/boost/fusion/include/erase_key.hpp", - "external/sources/boost/boost/fusion/include/filter.hpp", - "external/sources/boost/boost/fusion/include/filter_if.hpp", - "external/sources/boost/boost/fusion/include/filter_view.hpp", - "external/sources/boost/boost/fusion/include/find.hpp", - "external/sources/boost/boost/fusion/include/find_if.hpp", - "external/sources/boost/boost/fusion/include/flatten.hpp", - "external/sources/boost/boost/fusion/include/flatten_view.hpp", - "external/sources/boost/boost/fusion/include/fold.hpp", - "external/sources/boost/boost/fusion/include/for_each.hpp", - "external/sources/boost/boost/fusion/include/front.hpp", - "external/sources/boost/boost/fusion/include/functional.hpp", - "external/sources/boost/boost/fusion/include/fused.hpp", - "external/sources/boost/boost/fusion/include/fused_function_object.hpp", - "external/sources/boost/boost/fusion/include/fused_procedure.hpp", - "external/sources/boost/boost/fusion/include/generation.hpp", - "external/sources/boost/boost/fusion/include/greater.hpp", - "external/sources/boost/boost/fusion/include/greater_equal.hpp", - "external/sources/boost/boost/fusion/include/has_key.hpp", - "external/sources/boost/boost/fusion/include/hash.hpp", - "external/sources/boost/boost/fusion/include/ignore.hpp", - "external/sources/boost/boost/fusion/include/in.hpp", - "external/sources/boost/boost/fusion/include/insert.hpp", - "external/sources/boost/boost/fusion/include/insert_range.hpp", - "external/sources/boost/boost/fusion/include/intrinsic.hpp", - "external/sources/boost/boost/fusion/include/invocation.hpp", - "external/sources/boost/boost/fusion/include/invoke.hpp", - "external/sources/boost/boost/fusion/include/invoke_function_object.hpp", - "external/sources/boost/boost/fusion/include/invoke_procedure.hpp", - "external/sources/boost/boost/fusion/include/io.hpp", - "external/sources/boost/boost/fusion/include/is_iterator.hpp", - "external/sources/boost/boost/fusion/include/is_segmented.hpp", - "external/sources/boost/boost/fusion/include/is_sequence.hpp", - "external/sources/boost/boost/fusion/include/is_view.hpp", - "external/sources/boost/boost/fusion/include/iter_fold.hpp", - "external/sources/boost/boost/fusion/include/iteration.hpp", - "external/sources/boost/boost/fusion/include/iterator.hpp", - "external/sources/boost/boost/fusion/include/iterator_adapter.hpp", - "external/sources/boost/boost/fusion/include/iterator_base.hpp", - "external/sources/boost/boost/fusion/include/iterator_facade.hpp", - "external/sources/boost/boost/fusion/include/iterator_range.hpp", - "external/sources/boost/boost/fusion/include/join.hpp", - "external/sources/boost/boost/fusion/include/joint_view.hpp", - "external/sources/boost/boost/fusion/include/key_of.hpp", - "external/sources/boost/boost/fusion/include/less.hpp", - "external/sources/boost/boost/fusion/include/less_equal.hpp", - "external/sources/boost/boost/fusion/include/list.hpp", - "external/sources/boost/boost/fusion/include/list_fwd.hpp", - "external/sources/boost/boost/fusion/include/list_tie.hpp", - "external/sources/boost/boost/fusion/include/make_cons.hpp", - "external/sources/boost/boost/fusion/include/make_deque.hpp", - "external/sources/boost/boost/fusion/include/make_fused.hpp", - "external/sources/boost/boost/fusion/include/make_fused_function_object.hpp", - "external/sources/boost/boost/fusion/include/make_fused_procedure.hpp", - "external/sources/boost/boost/fusion/include/make_list.hpp", - "external/sources/boost/boost/fusion/include/make_map.hpp", - "external/sources/boost/boost/fusion/include/make_set.hpp", - "external/sources/boost/boost/fusion/include/make_tuple.hpp", - "external/sources/boost/boost/fusion/include/make_unfused.hpp", - "external/sources/boost/boost/fusion/include/make_vector.hpp", - "external/sources/boost/boost/fusion/include/map.hpp", - "external/sources/boost/boost/fusion/include/map_fwd.hpp", - "external/sources/boost/boost/fusion/include/map_tie.hpp", - "external/sources/boost/boost/fusion/include/move.hpp", - "external/sources/boost/boost/fusion/include/mpl.hpp", - "external/sources/boost/boost/fusion/include/next.hpp", - "external/sources/boost/boost/fusion/include/nil.hpp", - "external/sources/boost/boost/fusion/include/none.hpp", - "external/sources/boost/boost/fusion/include/not_equal_to.hpp", - "external/sources/boost/boost/fusion/include/nview.hpp", - "external/sources/boost/boost/fusion/include/out.hpp", - "external/sources/boost/boost/fusion/include/pair.hpp", - "external/sources/boost/boost/fusion/include/pair_tie.hpp", - "external/sources/boost/boost/fusion/include/pop_back.hpp", - "external/sources/boost/boost/fusion/include/pop_front.hpp", - "external/sources/boost/boost/fusion/include/prior.hpp", - "external/sources/boost/boost/fusion/include/proxy_type.hpp", - "external/sources/boost/boost/fusion/include/push_back.hpp", - "external/sources/boost/boost/fusion/include/push_front.hpp", - "external/sources/boost/boost/fusion/include/query.hpp", - "external/sources/boost/boost/fusion/include/remove.hpp", - "external/sources/boost/boost/fusion/include/remove_if.hpp", - "external/sources/boost/boost/fusion/include/repetitive_view.hpp", - "external/sources/boost/boost/fusion/include/replace.hpp", - "external/sources/boost/boost/fusion/include/replace_if.hpp", - "external/sources/boost/boost/fusion/include/reverse.hpp", - "external/sources/boost/boost/fusion/include/reverse_fold.hpp", - "external/sources/boost/boost/fusion/include/reverse_iter_fold.hpp", - "external/sources/boost/boost/fusion/include/reverse_view.hpp", - "external/sources/boost/boost/fusion/include/segmented_fold_until.hpp", - "external/sources/boost/boost/fusion/include/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/include/segments.hpp", - "external/sources/boost/boost/fusion/include/sequence.hpp", - "external/sources/boost/boost/fusion/include/sequence_base.hpp", - "external/sources/boost/boost/fusion/include/sequence_facade.hpp", - "external/sources/boost/boost/fusion/include/set.hpp", - "external/sources/boost/boost/fusion/include/set_fwd.hpp", - "external/sources/boost/boost/fusion/include/single_view.hpp", - "external/sources/boost/boost/fusion/include/size.hpp", - "external/sources/boost/boost/fusion/include/std_array.hpp", - "external/sources/boost/boost/fusion/include/std_pair.hpp", - "external/sources/boost/boost/fusion/include/std_tuple.hpp", - "external/sources/boost/boost/fusion/include/struct.hpp", - "external/sources/boost/boost/fusion/include/support.hpp", - "external/sources/boost/boost/fusion/include/swap.hpp", - "external/sources/boost/boost/fusion/include/tag_of.hpp", - "external/sources/boost/boost/fusion/include/tag_of_fwd.hpp", - "external/sources/boost/boost/fusion/include/transform.hpp", - "external/sources/boost/boost/fusion/include/transform_view.hpp", - "external/sources/boost/boost/fusion/include/transformation.hpp", - "external/sources/boost/boost/fusion/include/tuple.hpp", - "external/sources/boost/boost/fusion/include/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/include/tuple_tie.hpp", - "external/sources/boost/boost/fusion/include/unfused.hpp", - "external/sources/boost/boost/fusion/include/unfused_typed.hpp", - "external/sources/boost/boost/fusion/include/unused.hpp", - "external/sources/boost/boost/fusion/include/value_at.hpp", - "external/sources/boost/boost/fusion/include/value_at_key.hpp", - "external/sources/boost/boost/fusion/include/value_of.hpp", - "external/sources/boost/boost/fusion/include/value_of_data.hpp", - "external/sources/boost/boost/fusion/include/vector.hpp", - "external/sources/boost/boost/fusion/include/vector10.hpp", - "external/sources/boost/boost/fusion/include/vector20.hpp", - "external/sources/boost/boost/fusion/include/vector30.hpp", - "external/sources/boost/boost/fusion/include/vector40.hpp", - "external/sources/boost/boost/fusion/include/vector50.hpp", - "external/sources/boost/boost/fusion/include/vector_fwd.hpp", - "external/sources/boost/boost/fusion/include/vector_tie.hpp", - "external/sources/boost/boost/fusion/include/view.hpp", - "external/sources/boost/boost/fusion/include/void.hpp", - "external/sources/boost/boost/fusion/include/zip.hpp", - "external/sources/boost/boost/fusion/include/zip_view.hpp", - "external/sources/boost/boost/fusion/iterator.hpp", - "external/sources/boost/boost/fusion/iterator/advance.hpp", - "external/sources/boost/boost/fusion/iterator/basic_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/deref.hpp", - "external/sources/boost/boost/fusion/iterator/deref_data.hpp", - "external/sources/boost/boost/fusion/iterator/detail/adapt_deref_traits.hpp", - "external/sources/boost/boost/fusion/iterator/detail/adapt_value_traits.hpp", - "external/sources/boost/boost/fusion/iterator/detail/advance.hpp", - "external/sources/boost/boost/fusion/iterator/detail/distance.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segment_sequence.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_equal_to.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/detail/segmented_next_impl.hpp", - "external/sources/boost/boost/fusion/iterator/distance.hpp", - "external/sources/boost/boost/fusion/iterator/equal_to.hpp", - "external/sources/boost/boost/fusion/iterator/iterator_adapter.hpp", - "external/sources/boost/boost/fusion/iterator/iterator_facade.hpp", - "external/sources/boost/boost/fusion/iterator/key_of.hpp", - "external/sources/boost/boost/fusion/iterator/mpl.hpp", - "external/sources/boost/boost/fusion/iterator/mpl/convert_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/mpl/fusion_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/next.hpp", - "external/sources/boost/boost/fusion/iterator/prior.hpp", - "external/sources/boost/boost/fusion/iterator/segmented_iterator.hpp", - "external/sources/boost/boost/fusion/iterator/value_of.hpp", - "external/sources/boost/boost/fusion/iterator/value_of_data.hpp", - "external/sources/boost/boost/fusion/mpl.hpp", - "external/sources/boost/boost/fusion/mpl/at.hpp", - "external/sources/boost/boost/fusion/mpl/back.hpp", - "external/sources/boost/boost/fusion/mpl/begin.hpp", - "external/sources/boost/boost/fusion/mpl/clear.hpp", - "external/sources/boost/boost/fusion/mpl/detail/clear.hpp", - "external/sources/boost/boost/fusion/mpl/empty.hpp", - "external/sources/boost/boost/fusion/mpl/end.hpp", - "external/sources/boost/boost/fusion/mpl/erase.hpp", - "external/sources/boost/boost/fusion/mpl/erase_key.hpp", - "external/sources/boost/boost/fusion/mpl/front.hpp", - "external/sources/boost/boost/fusion/mpl/has_key.hpp", - "external/sources/boost/boost/fusion/mpl/insert.hpp", - "external/sources/boost/boost/fusion/mpl/insert_range.hpp", - "external/sources/boost/boost/fusion/mpl/pop_back.hpp", - "external/sources/boost/boost/fusion/mpl/pop_front.hpp", - "external/sources/boost/boost/fusion/mpl/push_back.hpp", - "external/sources/boost/boost/fusion/mpl/push_front.hpp", - "external/sources/boost/boost/fusion/mpl/size.hpp", - "external/sources/boost/boost/fusion/sequence.hpp", - "external/sources/boost/boost/fusion/sequence/comparison.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/greater.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/greater_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/less.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/less_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/detail/not_equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/enable_comparison.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/greater.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/greater_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/less.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/less_equal.hpp", - "external/sources/boost/boost/fusion/sequence/comparison/not_equal_to.hpp", - "external/sources/boost/boost/fusion/sequence/convert.hpp", - "external/sources/boost/boost/fusion/sequence/hash.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at_c.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/at_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/back.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/begin.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/detail/segmented_size.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/empty.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/end.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/front.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/has_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/segments.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/size.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/swap.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/value_at.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic/value_at_key.hpp", - "external/sources/boost/boost/fusion/sequence/intrinsic_fwd.hpp", - "external/sources/boost/boost/fusion/sequence/io.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/in.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/manip.hpp", - "external/sources/boost/boost/fusion/sequence/io/detail/out.hpp", - "external/sources/boost/boost/fusion/sequence/io/in.hpp", - "external/sources/boost/boost/fusion/sequence/io/out.hpp", - "external/sources/boost/boost/fusion/sequence/sequence_facade.hpp", - "external/sources/boost/boost/fusion/support.hpp", - "external/sources/boost/boost/fusion/support/as_const.hpp", - "external/sources/boost/boost/fusion/support/category_of.hpp", - "external/sources/boost/boost/fusion/support/config.hpp", - "external/sources/boost/boost/fusion/support/deduce.hpp", - "external/sources/boost/boost/fusion/support/deduce_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/access.hpp", - "external/sources/boost/boost/fusion/support/detail/and.hpp", - "external/sources/boost/boost/fusion/support/detail/as_fusion_element.hpp", - "external/sources/boost/boost/fusion/support/detail/enabler.hpp", - "external/sources/boost/boost/fusion/support/detail/index_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_mpl_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_native_fusion_sequence.hpp", - "external/sources/boost/boost/fusion/support/detail/is_same_size.hpp", - "external/sources/boost/boost/fusion/support/detail/mpl_iterator_category.hpp", - "external/sources/boost/boost/fusion/support/detail/pp_round.hpp", - "external/sources/boost/boost/fusion/support/detail/segmented_fold_until_impl.hpp", - "external/sources/boost/boost/fusion/support/is_iterator.hpp", - "external/sources/boost/boost/fusion/support/is_segmented.hpp", - "external/sources/boost/boost/fusion/support/is_sequence.hpp", - "external/sources/boost/boost/fusion/support/is_view.hpp", - "external/sources/boost/boost/fusion/support/iterator_base.hpp", - "external/sources/boost/boost/fusion/support/pair.hpp", - "external/sources/boost/boost/fusion/support/segmented_fold_until.hpp", - "external/sources/boost/boost/fusion/support/sequence_base.hpp", - "external/sources/boost/boost/fusion/support/tag_of.hpp", - "external/sources/boost/boost/fusion/support/tag_of_fwd.hpp", - "external/sources/boost/boost/fusion/support/unused.hpp", - "external/sources/boost/boost/fusion/support/void.hpp", - "external/sources/boost/boost/fusion/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/make_tuple50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple10_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple20_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple30_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple40_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple50_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie10.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie20.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie30.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie40.hpp", - "external/sources/boost/boost/fusion/tuple/detail/preprocessed/tuple_tie50.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_expand.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/detail/tuple_tie.hpp", - "external/sources/boost/boost/fusion/tuple/make_tuple.hpp", - "external/sources/boost/boost/fusion/tuple/tuple.hpp", - "external/sources/boost/boost/fusion/tuple/tuple_fwd.hpp", - "external/sources/boost/boost/fusion/tuple/tuple_tie.hpp", - "external/sources/boost/boost/fusion/view.hpp", - "external/sources/boost/boost/fusion/view/detail/strictest_traversal.hpp", - "external/sources/boost/boost/fusion/view/filter_view.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/filter_view/filter_view.hpp", - "external/sources/boost/boost/fusion/view/filter_view/filter_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/flatten_view.hpp", - "external/sources/boost/boost/fusion/view/flatten_view/flatten_view.hpp", - "external/sources/boost/boost/fusion/view/flatten_view/flatten_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/iterator_range.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/is_segmented_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/segments_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/iterator_range/iterator_range.hpp", - "external/sources/boost/boost/fusion/view/joint_view.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/joint_view/joint_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/nview.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/cpp03/nview_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/nview_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/nview/nview.hpp", - "external/sources/boost/boost/fusion/view/nview/nview_iterator.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/reverse_view.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/key_of_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/reverse_view.hpp", - "external/sources/boost/boost/fusion/view/reverse_view/reverse_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/single_view.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/single_view/single_view.hpp", - "external/sources/boost/boost/fusion/view/single_view/single_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/transform_view.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view_fwd.hpp", - "external/sources/boost/boost/fusion/view/transform_view/transform_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/zip_view.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/advance_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/at_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/begin_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/deref_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/distance_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/end_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/equal_to_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/next_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/prior_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/size_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/value_at_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/detail/value_of_impl.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator.hpp", - "external/sources/boost/boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp", - "external/sources/boost/boost/generator_iterator.hpp", - "external/sources/boost/boost/geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/append.hpp", - "external/sources/boost/boost/geometry/algorithms/area.hpp", - "external/sources/boost/boost/geometry/algorithms/assign.hpp", - "external/sources/boost/boost/geometry/algorithms/buffer.hpp", - "external/sources/boost/boost/geometry/algorithms/centroid.hpp", - "external/sources/boost/boost/geometry/algorithms/clear.hpp", - "external/sources/boost/boost/geometry/algorithms/comparable_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/convert.hpp", - "external/sources/boost/boost/geometry/algorithms/convex_hull.hpp", - "external/sources/boost/boost/geometry/algorithms/correct.hpp", - "external/sources/boost/boost/geometry/algorithms/correct_closure.hpp", - "external/sources/boost/boost/geometry/algorithms/covered_by.hpp", - "external/sources/boost/boost/geometry/algorithms/crosses.hpp", - "external/sources/boost/boost/geometry/algorithms/densify.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/as_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_box_corners.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_indexed_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/assign_values.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/azimuth.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffer_policies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/line_line_intersection.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/piece_border.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_original_visitor.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_null.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_point_order.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/calculate_sum.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/centroid/translating_transformer.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/check_iterator_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/geometry_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/point_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/comparable_distance/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/convert_indexed_to_indexed.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/convert_point_to_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/counting.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/course.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/covered_by/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/covered_by/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/direction_code.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/linear_segment_or_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multipoint_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/multirange_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/disjoint/segment_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/backward_compatibility.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/box_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/default_strategies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/geometry_to_segment_or_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/is_comparable.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/iterator_selector.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_or_areal_to_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/linear_to_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/multipoint_to_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/distance/segment_to_segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/initialize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/intersects_antimeridian.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/multipoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/range_of_boxes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/envelope/transform_units.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/collect_vectors.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/equals/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/indexed.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/expand_by_epsilon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/extreme_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/for_each_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/get_max_size.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/has_self_intersections.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/interior_iterator.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersection/multi.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersects/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/intersects/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/always_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/failure_policy.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_simple/multipoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_complement_graph.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_print_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/debug_validity_phase.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_duplicates.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_invalid_coordinate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/has_valid_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/multipolygon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/pointlike.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/polygon.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/is_valid/segment.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/make/make.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/max_interval_gap.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_modify.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/multi_sum.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/normalize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/not.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/num_distinct_consecutive_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlaps/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlaps/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/add_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_duplicates.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/assign_parents.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/backtrack_check_si.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/check_enrich.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/clip_linestring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_exits.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/cluster_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/convert_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/copy_segments.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/debug_turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/do_reverse.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/follow_linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_distance_measure.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_relative_order.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_ring.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/get_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/handle_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/less_by_segment_ratio.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/needs_self_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/overlay_type.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/pointlike_pointlike.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/range_in_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/ring_properties.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_as_subrange.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/segment_identifier.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/select_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/self_turn_points.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/sort_by_side.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/stream_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_ring_creator.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traversal_switch_detector.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/traverse.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/turn_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/overlay/visit_info.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/partition.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/point_is_spike_or_equal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/point_on_border.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/recalculate.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/areal_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/boundary_checker.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/de9im.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/follow_helpers.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_areal.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/linear_linear.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/multi_point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/point_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/point_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/relate_impl.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/result.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/topology_check.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relate/turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relation/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/relation/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/ring_identifier.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/range_by_section.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/section_box_policies.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/section_functions.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sections/sectionalize.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/signed_size_type.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/single_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sub_range.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/sweep.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/throw_on_empty_input.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/touches/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/touches/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/tupled_output.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/compare_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/debug_turn.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/filter_continue_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/print_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/turns/remove_duplicate_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/implementation.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/interface.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/multi_point.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/point_in_geometry.hpp", - "external/sources/boost/boost/geometry/algorithms/detail/within/within_no_turns.hpp", - "external/sources/boost/boost/geometry/algorithms/difference.hpp", - "external/sources/boost/boost/geometry/algorithms/discrete_frechet_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/discrete_hausdorff_distance.hpp", - "external/sources/boost/boost/geometry/algorithms/disjoint.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/disjoint.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/distance.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/envelope.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/expand.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/is_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/dispatch/is_valid.hpp", - "external/sources/boost/boost/geometry/algorithms/distance.hpp", - "external/sources/boost/boost/geometry/algorithms/envelope.hpp", - "external/sources/boost/boost/geometry/algorithms/equals.hpp", - "external/sources/boost/boost/geometry/algorithms/expand.hpp", - "external/sources/boost/boost/geometry/algorithms/for_each.hpp", - "external/sources/boost/boost/geometry/algorithms/intersection.hpp", - "external/sources/boost/boost/geometry/algorithms/intersects.hpp", - "external/sources/boost/boost/geometry/algorithms/is_convex.hpp", - "external/sources/boost/boost/geometry/algorithms/is_empty.hpp", - "external/sources/boost/boost/geometry/algorithms/is_simple.hpp", - "external/sources/boost/boost/geometry/algorithms/is_valid.hpp", - "external/sources/boost/boost/geometry/algorithms/length.hpp", - "external/sources/boost/boost/geometry/algorithms/line_interpolate.hpp", - "external/sources/boost/boost/geometry/algorithms/make.hpp", - "external/sources/boost/boost/geometry/algorithms/not_implemented.hpp", - "external/sources/boost/boost/geometry/algorithms/num_geometries.hpp", - "external/sources/boost/boost/geometry/algorithms/num_interior_rings.hpp", - "external/sources/boost/boost/geometry/algorithms/num_points.hpp", - "external/sources/boost/boost/geometry/algorithms/num_segments.hpp", - "external/sources/boost/boost/geometry/algorithms/overlaps.hpp", - "external/sources/boost/boost/geometry/algorithms/perimeter.hpp", - "external/sources/boost/boost/geometry/algorithms/point_on_surface.hpp", - "external/sources/boost/boost/geometry/algorithms/relate.hpp", - "external/sources/boost/boost/geometry/algorithms/relation.hpp", - "external/sources/boost/boost/geometry/algorithms/remove_spikes.hpp", - "external/sources/boost/boost/geometry/algorithms/reverse.hpp", - "external/sources/boost/boost/geometry/algorithms/simplify.hpp", - "external/sources/boost/boost/geometry/algorithms/sym_difference.hpp", - "external/sources/boost/boost/geometry/algorithms/touches.hpp", - "external/sources/boost/boost/geometry/algorithms/transform.hpp", - "external/sources/boost/boost/geometry/algorithms/union.hpp", - "external/sources/boost/boost/geometry/algorithms/unique.hpp", - "external/sources/boost/boost/geometry/algorithms/validity_failure_type.hpp", - "external/sources/boost/boost/geometry/algorithms/within.hpp", - "external/sources/boost/boost/geometry/arithmetic/arithmetic.hpp", - "external/sources/boost/boost/geometry/arithmetic/cross_product.hpp", - "external/sources/boost/boost/geometry/arithmetic/determinant.hpp", - "external/sources/boost/boost/geometry/arithmetic/dot_product.hpp", - "external/sources/boost/boost/geometry/arithmetic/infinite_line_functions.hpp", - "external/sources/boost/boost/geometry/arithmetic/normalize.hpp", - "external/sources/boost/boost/geometry/core/access.hpp", - "external/sources/boost/boost/geometry/core/assert.hpp", - "external/sources/boost/boost/geometry/core/closure.hpp", - "external/sources/boost/boost/geometry/core/config.hpp", - "external/sources/boost/boost/geometry/core/coordinate_dimension.hpp", - "external/sources/boost/boost/geometry/core/coordinate_system.hpp", - "external/sources/boost/boost/geometry/core/coordinate_type.hpp", - "external/sources/boost/boost/geometry/core/cs.hpp", - "external/sources/boost/boost/geometry/core/exception.hpp", - "external/sources/boost/boost/geometry/core/exterior_ring.hpp", - "external/sources/boost/boost/geometry/core/geometry_id.hpp", - "external/sources/boost/boost/geometry/core/interior_rings.hpp", - "external/sources/boost/boost/geometry/core/interior_type.hpp", - "external/sources/boost/boost/geometry/core/is_areal.hpp", - "external/sources/boost/boost/geometry/core/mutable_range.hpp", - "external/sources/boost/boost/geometry/core/point_order.hpp", - "external/sources/boost/boost/geometry/core/point_type.hpp", - "external/sources/boost/boost/geometry/core/radian_access.hpp", - "external/sources/boost/boost/geometry/core/radius.hpp", - "external/sources/boost/boost/geometry/core/reverse_dispatch.hpp", - "external/sources/boost/boost/geometry/core/ring_type.hpp", - "external/sources/boost/boost/geometry/core/tag.hpp", - "external/sources/boost/boost/geometry/core/tag_cast.hpp", - "external/sources/boost/boost/geometry/core/tags.hpp", - "external/sources/boost/boost/geometry/core/topological_dimension.hpp", - "external/sources/boost/boost/geometry/formulas/andoyer_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/area_formulas.hpp", - "external/sources/boost/boost/geometry/formulas/authalic_radius_sqr.hpp", - "external/sources/boost/boost/geometry/formulas/differential_quantities.hpp", - "external/sources/boost/boost/geometry/formulas/eccentricity_sqr.hpp", - "external/sources/boost/boost/geometry/formulas/flattening.hpp", - "external/sources/boost/boost/geometry/formulas/geographic.hpp", - "external/sources/boost/boost/geometry/formulas/gnomonic_intersection.hpp", - "external/sources/boost/boost/geometry/formulas/gnomonic_spheroid.hpp", - "external/sources/boost/boost/geometry/formulas/interpolate_point_spherical.hpp", - "external/sources/boost/boost/geometry/formulas/karney_direct.hpp", - "external/sources/boost/boost/geometry/formulas/karney_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/mean_radius.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_direct.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/meridian_segment.hpp", - "external/sources/boost/boost/geometry/formulas/quarter_meridian.hpp", - "external/sources/boost/boost/geometry/formulas/result_direct.hpp", - "external/sources/boost/boost/geometry/formulas/result_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/sjoberg_intersection.hpp", - "external/sources/boost/boost/geometry/formulas/spherical.hpp", - "external/sources/boost/boost/geometry/formulas/thomas_direct.hpp", - "external/sources/boost/boost/geometry/formulas/thomas_inverse.hpp", - "external/sources/boost/boost/geometry/formulas/unit_spheroid.hpp", - "external/sources/boost/boost/geometry/formulas/vertex_latitude.hpp", - "external/sources/boost/boost/geometry/formulas/vertex_longitude.hpp", - "external/sources/boost/boost/geometry/formulas/vincenty_direct.hpp", - "external/sources/boost/boost/geometry/formulas/vincenty_inverse.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_fusion.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/box.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/hole_iterator.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/holes_proxy.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/point.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_polygon/ring_proxy.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/adjacent_filtered.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/filtered.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/reversed.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/sliced.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/strided.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_range/uniqued.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/boost_tuple.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/c_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/std_array.hpp", - "external/sources/boost/boost/geometry/geometries/adapted/std_pair_as_segment.hpp", - "external/sources/boost/boost/geometry/geometries/box.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/box_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/check.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/linestring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_linestring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_point_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/multi_polygon_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/point_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/polygon_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/ring_concept.hpp", - "external/sources/boost/boost/geometry/geometries/concepts/segment_concept.hpp", - "external/sources/boost/boost/geometry/geometries/geometries.hpp", - "external/sources/boost/boost/geometry/geometries/helper_geometry.hpp", - "external/sources/boost/boost/geometry/geometries/infinite_line.hpp", - "external/sources/boost/boost/geometry/geometries/linestring.hpp", - "external/sources/boost/boost/geometry/geometries/multi_linestring.hpp", - "external/sources/boost/boost/geometry/geometries/multi_point.hpp", - "external/sources/boost/boost/geometry/geometries/multi_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/point.hpp", - "external/sources/boost/boost/geometry/geometries/point_xy.hpp", - "external/sources/boost/boost/geometry/geometries/point_xyz.hpp", - "external/sources/boost/boost/geometry/geometries/pointing_segment.hpp", - "external/sources/boost/boost/geometry/geometries/polygon.hpp", - "external/sources/boost/boost/geometry/geometries/register/box.hpp", - "external/sources/boost/boost/geometry/geometries/register/linestring.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_linestring.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_point.hpp", - "external/sources/boost/boost/geometry/geometries/register/multi_polygon.hpp", - "external/sources/boost/boost/geometry/geometries/register/point.hpp", - "external/sources/boost/boost/geometry/geometries/register/ring.hpp", - "external/sources/boost/boost/geometry/geometries/register/segment.hpp", - "external/sources/boost/boost/geometry/geometries/ring.hpp", - "external/sources/boost/boost/geometry/geometries/segment.hpp", - "external/sources/boost/boost/geometry/geometries/variant.hpp", - "external/sources/boost/boost/geometry/geometry.hpp", - "external/sources/boost/boost/geometry/index/adaptors/query.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/bounds.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_centroid.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_far.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/comparable_distance_near.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/content.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/diff_abs.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/intersection_content.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/is_valid.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/margin.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/minmaxdist.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/nth_element.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/path_intersection.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/segment_intersection.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/smallest_for_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/sum_for_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/algorithms/union_content.hpp", - "external/sources/boost/boost/geometry/index/detail/assert.hpp", - "external/sources/boost/boost/geometry/index/detail/bounded_view.hpp", - "external/sources/boost/boost/geometry/index/detail/config_begin.hpp", - "external/sources/boost/boost/geometry/index/detail/config_end.hpp", - "external/sources/boost/boost/geometry/index/detail/distance_predicates.hpp", - "external/sources/boost/boost/geometry/index/detail/exception.hpp", - "external/sources/boost/boost/geometry/index/detail/is_bounding_geometry.hpp", - "external/sources/boost/boost/geometry/index/detail/is_indexable.hpp", - "external/sources/boost/boost/geometry/index/detail/meta.hpp", - "external/sources/boost/boost/geometry/index/detail/predicates.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/adaptors.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/iterators.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/kmeans.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/kmeans/split.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/linear/linear.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/linear/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/concept.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/node.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/node_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/pairs.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/scoped_deallocator.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/subtree_destroyer.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_dynamic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_static.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/variant_visitor.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_static.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/node/weak_visitor.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/options.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/pack_create.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/quadratic.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/query_iterators.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/insert.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/redistribute_elements.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/rstar/rstar.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_boxes_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_counts_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/are_levels_ok.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/print.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/statistics.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/utilities/view.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/children_box.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/copy.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/count.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/destroy.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/distance_query.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/insert.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/iterator.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/remove.hpp", - "external/sources/boost/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp", - "external/sources/boost/boost/geometry/index/detail/serialization.hpp", - "external/sources/boost/boost/geometry/index/detail/tags.hpp", - "external/sources/boost/boost/geometry/index/detail/translator.hpp", - "external/sources/boost/boost/geometry/index/detail/utilities.hpp", - "external/sources/boost/boost/geometry/index/detail/varray.hpp", - "external/sources/boost/boost/geometry/index/detail/varray_detail.hpp", - "external/sources/boost/boost/geometry/index/distance_predicates.hpp", - "external/sources/boost/boost/geometry/index/equal_to.hpp", - "external/sources/boost/boost/geometry/index/indexable.hpp", - "external/sources/boost/boost/geometry/index/inserter.hpp", - "external/sources/boost/boost/geometry/index/parameters.hpp", - "external/sources/boost/boost/geometry/index/predicates.hpp", - "external/sources/boost/boost/geometry/index/rtree.hpp", - "external/sources/boost/boost/geometry/io/dsv/write.hpp", - "external/sources/boost/boost/geometry/io/io.hpp", - "external/sources/boost/boost/geometry/io/svg/svg_mapper.hpp", - "external/sources/boost/boost/geometry/io/svg/write.hpp", - "external/sources/boost/boost/geometry/io/svg/write_svg.hpp", - "external/sources/boost/boost/geometry/io/svg/write_svg_multi.hpp", - "external/sources/boost/boost/geometry/io/wkt/detail/prefix.hpp", - "external/sources/boost/boost/geometry/io/wkt/detail/wkt_multi.hpp", - "external/sources/boost/boost/geometry/io/wkt/read.hpp", - "external/sources/boost/boost/geometry/io/wkt/stream.hpp", - "external/sources/boost/boost/geometry/io/wkt/wkt.hpp", - "external/sources/boost/boost/geometry/io/wkt/write.hpp", - "external/sources/boost/boost/geometry/iterators/base.hpp", - "external/sources/boost/boost/geometry/iterators/closing_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/concatenate_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/inner_range_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/iterator_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/point_iterator/value_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/iterator_type.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/range_segment_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/detail/segment_iterator/value_type.hpp", - "external/sources/boost/boost/geometry/iterators/dispatch/point_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/dispatch/segment_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/ever_circling_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/flatten_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/has_one_element.hpp", - "external/sources/boost/boost/geometry/iterators/point_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/point_reverse_iterator.hpp", - "external/sources/boost/boost/geometry/iterators/segment_iterator.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/append.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/area.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/centroid.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/clear.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/convert.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/correct.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/covered_by.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/extreme_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/for_each_range.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/modify.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/multi_sum.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segment_point.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/copy_segments.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_ring.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/get_turns.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/overlay/self_turn_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/point_on_border.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/range_by_section.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/detail/sections/sectionalize.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/disjoint.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/distance.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/envelope.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/equals.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/for_each.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/intersection.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/length.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_geometries.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_interior_rings.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/num_points.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/perimeter.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/remove_spikes.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/reverse.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/simplify.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/transform.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/unique.hpp", - "external/sources/boost/boost/geometry/multi/algorithms/within.hpp", - "external/sources/boost/boost/geometry/multi/core/closure.hpp", - "external/sources/boost/boost/geometry/multi/core/geometry_id.hpp", - "external/sources/boost/boost/geometry/multi/core/interior_rings.hpp", - "external/sources/boost/boost/geometry/multi/core/is_areal.hpp", - "external/sources/boost/boost/geometry/multi/core/point_order.hpp", - "external/sources/boost/boost/geometry/multi/core/point_type.hpp", - "external/sources/boost/boost/geometry/multi/core/ring_type.hpp", - "external/sources/boost/boost/geometry/multi/core/tags.hpp", - "external/sources/boost/boost/geometry/multi/core/topological_dimension.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/check.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_point_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/concepts/multi_polygon_concept.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_geometries.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_linestring.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_point.hpp", - "external/sources/boost/boost/geometry/multi/geometries/multi_polygon.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_linestring.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_point.hpp", - "external/sources/boost/boost/geometry/multi/geometries/register/multi_polygon.hpp", - "external/sources/boost/boost/geometry/multi/io/dsv/write.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/detail/prefix.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/read.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/wkt.hpp", - "external/sources/boost/boost/geometry/multi/io/wkt/write.hpp", - "external/sources/boost/boost/geometry/multi/multi.hpp", - "external/sources/boost/boost/geometry/multi/strategies/cartesian/centroid_average.hpp", - "external/sources/boost/boost/geometry/multi/views/detail/range_type.hpp", - "external/sources/boost/boost/geometry/policies/compare.hpp", - "external/sources/boost/boost/geometry/policies/disjoint_interrupt_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/default_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/failing_reason_policy.hpp", - "external/sources/boost/boost/geometry/policies/is_valid/failure_type_policy.hpp", - "external/sources/boost/boost/geometry/policies/predicate_based_interrupt_policy.hpp", - "external/sources/boost/boost/geometry/policies/relate/direction.hpp", - "external/sources/boost/boost/geometry/policies/relate/intersection_points.hpp", - "external/sources/boost/boost/geometry/policies/relate/intersection_ratios.hpp", - "external/sources/boost/boost/geometry/policies/relate/tupled.hpp", - "external/sources/boost/boost/geometry/policies/robustness/get_rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/no_rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/rescale_policy.hpp", - "external/sources/boost/boost/geometry/policies/robustness/rescale_policy_tags.hpp", - "external/sources/boost/boost/geometry/policies/robustness/robust_point_type.hpp", - "external/sources/boost/boost/geometry/policies/robustness/robust_type.hpp", - "external/sources/boost/boost/geometry/policies/robustness/segment_ratio.hpp", - "external/sources/boost/boost/geometry/policies/robustness/segment_ratio_type.hpp", - "external/sources/boost/boost/geometry/srs/epsg.hpp", - "external/sources/boost/boost/geometry/srs/esri.hpp", - "external/sources/boost/boost/geometry/srs/iau2000.hpp", - "external/sources/boost/boost/geometry/srs/projection.hpp", - "external/sources/boost/boost/geometry/srs/projections/code.hpp", - "external/sources/boost/boost/geometry/srs/projections/constants.hpp", - "external/sources/boost/boost/geometry/srs/projections/dpar.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/epsg_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/esri_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/exception.hpp", - "external/sources/boost/boost/geometry/srs/projections/factory.hpp", - "external/sources/boost/boost/geometry/srs/projections/grids.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000_params.hpp", - "external/sources/boost/boost/geometry/srs/projections/iau2000_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/aasincos.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/adjlon.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/base_dynamic.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/base_static.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/dms_parser.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/factory_entry.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/function_overloads.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/geocent.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_apply_gridshift.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_auth.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_datum_set.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_datums.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_ell_set.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_ellps.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_fwd.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gauss.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridinfo.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_gridlist.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_init.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_inv.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_mlfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_msfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_param.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_phi2.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_qsfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_strerrno.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_transform.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_tsfn.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_units.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/pj_zpoly1.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/proj_mdist.hpp", - "external/sources/boost/boost/geometry/srs/projections/impl/projects.hpp", - "external/sources/boost/boost/geometry/srs/projections/invalid_point.hpp", - "external/sources/boost/boost/geometry/srs/projections/par_data.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aeqd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/airy.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/aitoff.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/august.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bacon.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bipc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/boggs.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/bonne.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cass.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/cea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/chamb.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/collg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/crast.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/denoy.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck1.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck4.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eck5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eqc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/eqdc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/etmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/fahey.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/fouc_s.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gall.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/geocent.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/geos.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gins8.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gn_sinu.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gnom.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/goode.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/gstmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/hammer.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/hatano.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/healpix.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/igh.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/imw_p.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/isea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/krovak.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/labrd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/laea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lagrng.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/larr.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lask.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/latlong.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lcc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lcca.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/loxim.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/lsat.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbt_fps.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpp.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mbtfpq.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/merc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mill.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/mod_ster.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/moll.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/natearth.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nell.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nell_h.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nocol.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nsper.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/nzmg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ob_tran.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ocea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/oea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/omerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/ortho.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/poly.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp4p.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/putp6.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/qsc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/robin.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/rouss.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/rpoly.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sconics.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/somerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/stere.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sterea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/sts.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tcc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tcea.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tmerc.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/tpeqd.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/urm5.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/urmfps.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/vandg4.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag3.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wag7.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wink1.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj/wink2.hpp", - "external/sources/boost/boost/geometry/srs/projections/proj4.hpp", - "external/sources/boost/boost/geometry/srs/projections/spar.hpp", - "external/sources/boost/boost/geometry/srs/projections/srid_traits.hpp", - "external/sources/boost/boost/geometry/srs/projections/str_cast.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids_boost.hpp", - "external/sources/boost/boost/geometry/srs/shared_grids_std.hpp", - "external/sources/boost/boost/geometry/srs/sphere.hpp", - "external/sources/boost/boost/geometry/srs/spheroid.hpp", - "external/sources/boost/boost/geometry/srs/srs.hpp", - "external/sources/boost/boost/geometry/srs/transformation.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/hull_graham_andrew.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_box_by_side.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_oriented_winding.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp", - "external/sources/boost/boost/geometry/strategies/area.hpp", - "external/sources/boost/boost/geometry/strategies/area_result.hpp", - "external/sources/boost/boost/geometry/strategies/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/buffer.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/area.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/area_surveyor.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/box_in_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_flat.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_end_round.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_miter.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_join_round_by_divide.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_circle.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_point_square.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/buffer_side_straight.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_average.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/densify.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_projected_point_ax.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_pythagoras_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_multipoint.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/index.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/io.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_box.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_franklin.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/side_by_triangle.hpp", - "external/sources/boost/boost/geometry/strategies/cartesian/turn_in_ring_winding.hpp", - "external/sources/boost/boost/geometry/strategies/centroid.hpp", - "external/sources/boost/boost/geometry/strategies/comparable_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/compare.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/area_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/centroid_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/convex_hull_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/distance_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/segment_intersect_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/simplify_concept.hpp", - "external/sources/boost/boost/geometry/strategies/concepts/within_concept.hpp", - "external/sources/boost/boost/geometry/strategies/convex_hull.hpp", - "external/sources/boost/boost/geometry/strategies/covered_by.hpp", - "external/sources/boost/boost/geometry/strategies/default_area_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_comparable_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_length_result.hpp", - "external/sources/boost/boost/geometry/strategies/default_strategy.hpp", - "external/sources/boost/boost/geometry/strategies/densify.hpp", - "external/sources/boost/boost/geometry/strategies/disjoint.hpp", - "external/sources/boost/boost/geometry/strategies/distance.hpp", - "external/sources/boost/boost/geometry/strategies/distance_result.hpp", - "external/sources/boost/boost/geometry/strategies/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/expand.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/area.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/buffer_point_circle.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/densify.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_andoyer.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_cross_track_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_karney.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_thomas.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/distance_vincenty.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/index.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/intersection_elliptic.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/io.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/mapping_ssf.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/parameters.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_andoyer.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_thomas.hpp", - "external/sources/boost/boost/geometry/strategies/geographic/side_vincenty.hpp", - "external/sources/boost/boost/geometry/strategies/index.hpp", - "external/sources/boost/boost/geometry/strategies/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/intersection_result.hpp", - "external/sources/boost/boost/geometry/strategies/intersection_strategies.hpp", - "external/sources/boost/boost/geometry/strategies/io.hpp", - "external/sources/boost/boost/geometry/strategies/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/normalize.hpp", - "external/sources/boost/boost/geometry/strategies/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/relate.hpp", - "external/sources/boost/boost/geometry/strategies/side.hpp", - "external/sources/boost/boost/geometry/strategies/side_info.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/area.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/azimuth.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/compare.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/densify.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/disjoint_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/disjoint_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_box_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_haversine.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/distance_segment_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_multipoint.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/envelope_segment.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_box.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/expand_segment.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/get_radius.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/index.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/intersection.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/io.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/line_interpolate.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_in_point.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_in_poly_winding.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/point_order.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/side_by_cross_track.hpp", - "external/sources/boost/boost/geometry/strategies/spherical/ssf.hpp", - "external/sources/boost/boost/geometry/strategies/strategies.hpp", - "external/sources/boost/boost/geometry/strategies/strategy_transform.hpp", - "external/sources/boost/boost/geometry/strategies/tags.hpp", - "external/sources/boost/boost/geometry/strategies/transform.hpp", - "external/sources/boost/boost/geometry/strategies/transform/inverse_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/transform/map_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/transform/matrix_transformers.hpp", - "external/sources/boost/boost/geometry/strategies/transform/srs_transformer.hpp", - "external/sources/boost/boost/geometry/strategies/within.hpp", - "external/sources/boost/boost/geometry/util/add_const_if_c.hpp", - "external/sources/boost/boost/geometry/util/bare_type.hpp", - "external/sources/boost/boost/geometry/util/calculation_type.hpp", - "external/sources/boost/boost/geometry/util/closure_as_bool.hpp", - "external/sources/boost/boost/geometry/util/combine_if.hpp", - "external/sources/boost/boost/geometry/util/compress_variant.hpp", - "external/sources/boost/boost/geometry/util/condition.hpp", - "external/sources/boost/boost/geometry/util/coordinate_cast.hpp", - "external/sources/boost/boost/geometry/util/for_each_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_infinite_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_nan_coordinate.hpp", - "external/sources/boost/boost/geometry/util/has_non_finite_coordinate.hpp", - "external/sources/boost/boost/geometry/util/is_inverse_spheroidal_coordinates.hpp", - "external/sources/boost/boost/geometry/util/math.hpp", - "external/sources/boost/boost/geometry/util/normalize_spheroidal_box_coordinates.hpp", - "external/sources/boost/boost/geometry/util/normalize_spheroidal_coordinates.hpp", - "external/sources/boost/boost/geometry/util/order_as_direction.hpp", - "external/sources/boost/boost/geometry/util/parameter_type_of.hpp", - "external/sources/boost/boost/geometry/util/promote_floating_point.hpp", - "external/sources/boost/boost/geometry/util/promote_integral.hpp", - "external/sources/boost/boost/geometry/util/range.hpp", - "external/sources/boost/boost/geometry/util/rational.hpp", - "external/sources/boost/boost/geometry/util/readme.txt", - "external/sources/boost/boost/geometry/util/select_calculation_type.hpp", - "external/sources/boost/boost/geometry/util/select_coordinate_type.hpp", - "external/sources/boost/boost/geometry/util/select_most_precise.hpp", - "external/sources/boost/boost/geometry/util/select_sequence_element.hpp", - "external/sources/boost/boost/geometry/util/series_expansion.hpp", - "external/sources/boost/boost/geometry/util/transform_variant.hpp", - "external/sources/boost/boost/geometry/util/tuples.hpp", - "external/sources/boost/boost/geometry/views/box_view.hpp", - "external/sources/boost/boost/geometry/views/closeable_view.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view/implementation.hpp", - "external/sources/boost/boost/geometry/views/detail/boundary_view/interface.hpp", - "external/sources/boost/boost/geometry/views/detail/indexed_point_view.hpp", - "external/sources/boost/boost/geometry/views/detail/normalized_view.hpp", - "external/sources/boost/boost/geometry/views/detail/points_view.hpp", - "external/sources/boost/boost/geometry/views/detail/range_type.hpp", - "external/sources/boost/boost/geometry/views/detail/two_dimensional_view.hpp", - "external/sources/boost/boost/geometry/views/identity_view.hpp", - "external/sources/boost/boost/geometry/views/reversible_view.hpp", - "external/sources/boost/boost/geometry/views/segment_view.hpp", - "external/sources/boost/boost/get_pointer.hpp", - "external/sources/boost/boost/gil.hpp", - "external/sources/boost/boost/gil/algorithm.hpp", - "external/sources/boost/boost/gil/bit_aligned_pixel_iterator.hpp", - "external/sources/boost/boost/gil/bit_aligned_pixel_reference.hpp", - "external/sources/boost/boost/gil/channel.hpp", - "external/sources/boost/boost/gil/channel_algorithm.hpp", - "external/sources/boost/boost/gil/cmyk.hpp", - "external/sources/boost/boost/gil/color_base.hpp", - "external/sources/boost/boost/gil/color_base_algorithm.hpp", - "external/sources/boost/boost/gil/color_convert.hpp", - "external/sources/boost/boost/gil/concepts.hpp", - "external/sources/boost/boost/gil/concepts/basic.hpp", - "external/sources/boost/boost/gil/concepts/channel.hpp", - "external/sources/boost/boost/gil/concepts/color.hpp", - "external/sources/boost/boost/gil/concepts/color_base.hpp", - "external/sources/boost/boost/gil/concepts/concept_check.hpp", - "external/sources/boost/boost/gil/concepts/detail/type_traits.hpp", - "external/sources/boost/boost/gil/concepts/detail/utility.hpp", - "external/sources/boost/boost/gil/concepts/dynamic_step.hpp", - "external/sources/boost/boost/gil/concepts/fwd.hpp", - "external/sources/boost/boost/gil/concepts/image.hpp", - "external/sources/boost/boost/gil/concepts/image_view.hpp", - "external/sources/boost/boost/gil/concepts/pixel.hpp", - "external/sources/boost/boost/gil/concepts/pixel_based.hpp", - "external/sources/boost/boost/gil/concepts/pixel_dereference.hpp", - "external/sources/boost/boost/gil/concepts/pixel_iterator.hpp", - "external/sources/boost/boost/gil/concepts/pixel_locator.hpp", - "external/sources/boost/boost/gil/concepts/point.hpp", - "external/sources/boost/boost/gil/deprecated.hpp", - "external/sources/boost/boost/gil/detail/is_channel_integral.hpp", - "external/sources/boost/boost/gil/detail/math.hpp", - "external/sources/boost/boost/gil/detail/mp11.hpp", - "external/sources/boost/boost/gil/detail/std_common_type.hpp", - "external/sources/boost/boost/gil/detail/type_traits.hpp", - "external/sources/boost/boost/gil/device_n.hpp", - "external/sources/boost/boost/gil/dynamic_step.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/algorithm.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/any_image.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/any_image_view.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/apply_operation.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_at_c.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/dynamic_image_all.hpp", - "external/sources/boost/boost/gil/extension/dynamic_image/image_view_factory.hpp", - "external/sources/boost/boost/gil/extension/io/bmp.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/old.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/read.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/tags.hpp", - "external/sources/boost/boost/gil/extension/io/bmp/write.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/base.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/old.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/read.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/tags.hpp", - "external/sources/boost/boost/gil/extension/io/jpeg/write.hpp", - "external/sources/boost/boost/gil/extension/io/png.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/base.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/png/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/png/old.hpp", - "external/sources/boost/boost/gil/extension/io/png/read.hpp", - "external/sources/boost/boost/gil/extension/io/png/tags.hpp", - "external/sources/boost/boost/gil/extension/io/png/write.hpp", - "external/sources/boost/boost/gil/extension/io/pnm.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/old.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/read.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/tags.hpp", - "external/sources/boost/boost/gil/extension/io/pnm/write.hpp", - "external/sources/boost/boost/gil/extension/io/raw.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/device.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/raw/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/raw/read.hpp", - "external/sources/boost/boost/gil/extension/io/raw/tags.hpp", - "external/sources/boost/boost/gil/extension/io/targa.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/targa/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/targa/old.hpp", - "external/sources/boost/boost/gil/extension/io/targa/read.hpp", - "external/sources/boost/boost/gil/extension/io/targa/tags.hpp", - "external/sources/boost/boost/gil/extension/io/targa/write.hpp", - "external/sources/boost/boost/gil/extension/io/tiff.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/device.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/is_allowed.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/log.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/reader_backend.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/scanline_read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/supported_types.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/write.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/detail/writer_backend.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/old.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/read.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/tags.hpp", - "external/sources/boost/boost/gil/extension/io/tiff/write.hpp", - "external/sources/boost/boost/gil/extension/numeric/affine.hpp", - "external/sources/boost/boost/gil/extension/numeric/algorithm.hpp", - "external/sources/boost/boost/gil/extension/numeric/channel_numeric_operations.hpp", - "external/sources/boost/boost/gil/extension/numeric/convolve.hpp", - "external/sources/boost/boost/gil/extension/numeric/kernel.hpp", - "external/sources/boost/boost/gil/extension/numeric/pixel_numeric_operations.hpp", - "external/sources/boost/boost/gil/extension/numeric/resample.hpp", - "external/sources/boost/boost/gil/extension/numeric/sampler.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_converters/rgb_to_luminance.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/cmyka.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsl.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/hsv.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/lab.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/xyz.hpp", - "external/sources/boost/boost/gil/extension/toolbox/color_spaces/ycbcr.hpp", - "external/sources/boost/boost/gil/extension/toolbox/dynamic_images.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types/indexed_image.hpp", - "external/sources/boost/boost/gil/extension/toolbox/image_types/subchroma_image.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_type.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/channel_view.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_num_bits.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/get_pixel_type.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_bit_aligned.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_homogeneous.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/is_similar.hpp", - "external/sources/boost/boost/gil/extension/toolbox/metafunctions/pixel_bit_size.hpp", - "external/sources/boost/boost/gil/extension/toolbox/toolbox.hpp", - "external/sources/boost/boost/gil/gray.hpp", - "external/sources/boost/boost/gil/image.hpp", - "external/sources/boost/boost/gil/image_processing/filter.hpp", - "external/sources/boost/boost/gil/image_processing/harris.hpp", - "external/sources/boost/boost/gil/image_processing/hessian.hpp", - "external/sources/boost/boost/gil/image_processing/numeric.hpp", - "external/sources/boost/boost/gil/image_processing/scaling.hpp", - "external/sources/boost/boost/gil/image_processing/threshold.hpp", - "external/sources/boost/boost/gil/image_view.hpp", - "external/sources/boost/boost/gil/image_view_factory.hpp", - "external/sources/boost/boost/gil/io/base.hpp", - "external/sources/boost/boost/gil/io/bit_operations.hpp", - "external/sources/boost/boost/gil/io/conversion_policies.hpp", - "external/sources/boost/boost/gil/io/device.hpp", - "external/sources/boost/boost/gil/io/dynamic_io_new.hpp", - "external/sources/boost/boost/gil/io/error.hpp", - "external/sources/boost/boost/gil/io/get_read_device.hpp", - "external/sources/boost/boost/gil/io/get_reader.hpp", - "external/sources/boost/boost/gil/io/get_write_device.hpp", - "external/sources/boost/boost/gil/io/get_writer.hpp", - "external/sources/boost/boost/gil/io/io.hpp", - "external/sources/boost/boost/gil/io/make_backend.hpp", - "external/sources/boost/boost/gil/io/make_dynamic_image_reader.hpp", - "external/sources/boost/boost/gil/io/make_dynamic_image_writer.hpp", - "external/sources/boost/boost/gil/io/make_reader.hpp", - "external/sources/boost/boost/gil/io/make_scanline_reader.hpp", - "external/sources/boost/boost/gil/io/make_writer.hpp", - "external/sources/boost/boost/gil/io/path_spec.hpp", - "external/sources/boost/boost/gil/io/read_and_convert_image.hpp", - "external/sources/boost/boost/gil/io/read_and_convert_view.hpp", - "external/sources/boost/boost/gil/io/read_image.hpp", - "external/sources/boost/boost/gil/io/read_image_info.hpp", - "external/sources/boost/boost/gil/io/read_view.hpp", - "external/sources/boost/boost/gil/io/reader_base.hpp", - "external/sources/boost/boost/gil/io/row_buffer_helper.hpp", - "external/sources/boost/boost/gil/io/scanline_read_iterator.hpp", - "external/sources/boost/boost/gil/io/typedefs.hpp", - "external/sources/boost/boost/gil/io/write_view.hpp", - "external/sources/boost/boost/gil/iterator_from_2d.hpp", - "external/sources/boost/boost/gil/locator.hpp", - "external/sources/boost/boost/gil/metafunctions.hpp", - "external/sources/boost/boost/gil/packed_pixel.hpp", - "external/sources/boost/boost/gil/pixel.hpp", - "external/sources/boost/boost/gil/pixel_iterator.hpp", - "external/sources/boost/boost/gil/pixel_iterator_adaptor.hpp", - "external/sources/boost/boost/gil/planar_pixel_iterator.hpp", - "external/sources/boost/boost/gil/planar_pixel_reference.hpp", - "external/sources/boost/boost/gil/point.hpp", - "external/sources/boost/boost/gil/position_iterator.hpp", - "external/sources/boost/boost/gil/premultiply.hpp", - "external/sources/boost/boost/gil/promote_integral.hpp", - "external/sources/boost/boost/gil/rgb.hpp", - "external/sources/boost/boost/gil/rgba.hpp", - "external/sources/boost/boost/gil/step_iterator.hpp", - "external/sources/boost/boost/gil/typedefs.hpp", - "external/sources/boost/boost/gil/utilities.hpp", - "external/sources/boost/boost/gil/virtual_locator.hpp", - "external/sources/boost/boost/graph/accounting.hpp", - "external/sources/boost/boost/graph/adj_list_serialize.hpp", - "external/sources/boost/boost/graph/adjacency_iterator.hpp", - "external/sources/boost/boost/graph/adjacency_list.hpp", - "external/sources/boost/boost/graph/adjacency_list_io.hpp", - "external/sources/boost/boost/graph/adjacency_matrix.hpp", - "external/sources/boost/boost/graph/astar_search.hpp", - "external/sources/boost/boost/graph/bandwidth.hpp", - "external/sources/boost/boost/graph/bc_clustering.hpp", - "external/sources/boost/boost/graph/bellman_ford_shortest_paths.hpp", - "external/sources/boost/boost/graph/betweenness_centrality.hpp", - "external/sources/boost/boost/graph/biconnected_components.hpp", - "external/sources/boost/boost/graph/bipartite.hpp", - "external/sources/boost/boost/graph/boyer_myrvold_planar_test.hpp", - "external/sources/boost/boost/graph/boykov_kolmogorov_max_flow.hpp", - "external/sources/boost/boost/graph/breadth_first_search.hpp", - "external/sources/boost/boost/graph/bron_kerbosch_all_cliques.hpp", - "external/sources/boost/boost/graph/buffer_concepts.hpp", - "external/sources/boost/boost/graph/chrobak_payne_drawing.hpp", - "external/sources/boost/boost/graph/circle_layout.hpp", - "external/sources/boost/boost/graph/closeness_centrality.hpp", - "external/sources/boost/boost/graph/clustering_coefficient.hpp", - "external/sources/boost/boost/graph/compressed_sparse_row_graph.hpp", - "external/sources/boost/boost/graph/connected_components.hpp", - "external/sources/boost/boost/graph/copy.hpp", - "external/sources/boost/boost/graph/core_numbers.hpp", - "external/sources/boost/boost/graph/create_condensation_graph.hpp", - "external/sources/boost/boost/graph/cuthill_mckee_ordering.hpp", - "external/sources/boost/boost/graph/cycle_canceling.hpp", - "external/sources/boost/boost/graph/dag_shortest_paths.hpp", - "external/sources/boost/boost/graph/degree_centrality.hpp", - "external/sources/boost/boost/graph/depth_first_search.hpp", - "external/sources/boost/boost/graph/detail/adj_list_edge_iterator.hpp", - "external/sources/boost/boost/graph/detail/adjacency_list.hpp", - "external/sources/boost/boost/graph/detail/array_binary_tree.hpp", - "external/sources/boost/boost/graph/detail/augment.hpp", - "external/sources/boost/boost/graph/detail/compressed_sparse_row_struct.hpp", - "external/sources/boost/boost/graph/detail/connected_components.hpp", - "external/sources/boost/boost/graph/detail/d_ary_heap.hpp", - "external/sources/boost/boost/graph/detail/edge.hpp", - "external/sources/boost/boost/graph/detail/empty_header.hpp", - "external/sources/boost/boost/graph/detail/geodesic.hpp", - "external/sources/boost/boost/graph/detail/histogram_sort.hpp", - "external/sources/boost/boost/graph/detail/incidence_iterator.hpp", - "external/sources/boost/boost/graph/detail/incremental_components.hpp", - "external/sources/boost/boost/graph/detail/index.hpp", - "external/sources/boost/boost/graph/detail/indexed_properties.hpp", - "external/sources/boost/boost/graph/detail/is_distributed_selector.hpp", - "external/sources/boost/boost/graph/detail/labeled_graph_traits.hpp", - "external/sources/boost/boost/graph/detail/list_base.hpp", - "external/sources/boost/boost/graph/detail/mpi_include.hpp", - "external/sources/boost/boost/graph/detail/permutation.hpp", - "external/sources/boost/boost/graph/detail/read_graphviz_new.hpp", - "external/sources/boost/boost/graph/detail/read_graphviz_spirit.hpp", - "external/sources/boost/boost/graph/detail/self_avoiding_walk.hpp", - "external/sources/boost/boost/graph/detail/set_adaptor.hpp", - "external/sources/boost/boost/graph/detail/shadow_iterator.hpp", - "external/sources/boost/boost/graph/detail/sparse_ordering.hpp", - "external/sources/boost/boost/graph/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/dijkstra_shortest_paths_no_color_map.hpp", - "external/sources/boost/boost/graph/dimacs.hpp", - "external/sources/boost/boost/graph/directed_graph.hpp", - "external/sources/boost/boost/graph/distributed/adjacency_list.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/handlers.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/initialize.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/redistribute.hpp", - "external/sources/boost/boost/graph/distributed/adjlist/serialization.hpp", - "external/sources/boost/boost/graph/distributed/betweenness_centrality.hpp", - "external/sources/boost/boost/graph/distributed/boman_et_al_graph_coloring.hpp", - "external/sources/boost/boost/graph/distributed/breadth_first_search.hpp", - "external/sources/boost/boost/graph/distributed/compressed_sparse_row_graph.hpp", - "external/sources/boost/boost/graph/distributed/concepts.hpp", - "external/sources/boost/boost/graph/distributed/connected_components.hpp", - "external/sources/boost/boost/graph/distributed/connected_components_parallel_search.hpp", - "external/sources/boost/boost/graph/distributed/crauser_et_al_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp", - "external/sources/boost/boost/graph/distributed/delta_stepping_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/depth_first_search.hpp", - "external/sources/boost/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/detail/filtered_queue.hpp", - "external/sources/boost/boost/graph/distributed/detail/mpi_process_group.ipp", - "external/sources/boost/boost/graph/distributed/detail/queue.ipp", - "external/sources/boost/boost/graph/distributed/detail/remote_update_set.hpp", - "external/sources/boost/boost/graph/distributed/detail/tag_allocator.hpp", - "external/sources/boost/boost/graph/distributed/dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/distributed_graph_utility.hpp", - "external/sources/boost/boost/graph/distributed/eager_dijkstra_shortest_paths.hpp", - "external/sources/boost/boost/graph/distributed/filtered_graph.hpp", - "external/sources/boost/boost/graph/distributed/fruchterman_reingold.hpp", - "external/sources/boost/boost/graph/distributed/graphviz.hpp", - "external/sources/boost/boost/graph/distributed/hohberg_biconnected_components.hpp", - "external/sources/boost/boost/graph/distributed/local_subgraph.hpp", - "external/sources/boost/boost/graph/distributed/mpi_process_group.hpp", - "external/sources/boost/boost/graph/distributed/named_graph.hpp", - "external/sources/boost/boost/graph/distributed/one_bit_color_map.hpp", - "external/sources/boost/boost/graph/distributed/page_rank.hpp", - "external/sources/boost/boost/graph/distributed/queue.hpp", - "external/sources/boost/boost/graph/distributed/reverse_graph.hpp", - "external/sources/boost/boost/graph/distributed/rmat_graph_generator.hpp", - "external/sources/boost/boost/graph/distributed/selector.hpp", - "external/sources/boost/boost/graph/distributed/shuffled_distribution.hpp", - "external/sources/boost/boost/graph/distributed/st_connected.hpp", - "external/sources/boost/boost/graph/distributed/strong_components.hpp", - "external/sources/boost/boost/graph/distributed/two_bit_color_map.hpp", - "external/sources/boost/boost/graph/distributed/unsafe_serialize.hpp", - "external/sources/boost/boost/graph/distributed/vertex_list_adaptor.hpp", - "external/sources/boost/boost/graph/dll_import_export.hpp", - "external/sources/boost/boost/graph/dominator_tree.hpp", - "external/sources/boost/boost/graph/eccentricity.hpp", - "external/sources/boost/boost/graph/edge_coloring.hpp", - "external/sources/boost/boost/graph/edge_connectivity.hpp", - "external/sources/boost/boost/graph/edge_list.hpp", - "external/sources/boost/boost/graph/edmonds_karp_max_flow.hpp", - "external/sources/boost/boost/graph/edmunds_karp_max_flow.hpp", - "external/sources/boost/boost/graph/erdos_renyi_generator.hpp", - "external/sources/boost/boost/graph/exception.hpp", - "external/sources/boost/boost/graph/exterior_property.hpp", - "external/sources/boost/boost/graph/filtered_graph.hpp", - "external/sources/boost/boost/graph/find_flow_cost.hpp", - "external/sources/boost/boost/graph/floyd_warshall_shortest.hpp", - "external/sources/boost/boost/graph/fruchterman_reingold.hpp", - "external/sources/boost/boost/graph/geodesic_distance.hpp", - "external/sources/boost/boost/graph/graph_archetypes.hpp", - "external/sources/boost/boost/graph/graph_as_tree.hpp", - "external/sources/boost/boost/graph/graph_concepts.hpp", - "external/sources/boost/boost/graph/graph_mutability_traits.hpp", - "external/sources/boost/boost/graph/graph_selectors.hpp", - "external/sources/boost/boost/graph/graph_stats.hpp", - "external/sources/boost/boost/graph/graph_traits.hpp", - "external/sources/boost/boost/graph/graph_utility.hpp", - "external/sources/boost/boost/graph/graphml.hpp", - "external/sources/boost/boost/graph/graphviz.hpp", - "external/sources/boost/boost/graph/grid_graph.hpp", - "external/sources/boost/boost/graph/gursoy_atun_layout.hpp", - "external/sources/boost/boost/graph/hawick_circuits.hpp", - "external/sources/boost/boost/graph/howard_cycle_ratio.hpp", - "external/sources/boost/boost/graph/incremental_components.hpp", - "external/sources/boost/boost/graph/is_kuratowski_subgraph.hpp", - "external/sources/boost/boost/graph/is_straight_line_drawing.hpp", - "external/sources/boost/boost/graph/isomorphism.hpp", - "external/sources/boost/boost/graph/iteration_macros.hpp", - "external/sources/boost/boost/graph/iteration_macros_undef.hpp", - "external/sources/boost/boost/graph/johnson_all_pairs_shortest.hpp", - "external/sources/boost/boost/graph/kamada_kawai_spring_layout.hpp", - "external/sources/boost/boost/graph/king_ordering.hpp", - "external/sources/boost/boost/graph/kruskal_min_spanning_tree.hpp", - "external/sources/boost/boost/graph/labeled_graph.hpp", - "external/sources/boost/boost/graph/leda_graph.hpp", - "external/sources/boost/boost/graph/lookup_edge.hpp", - "external/sources/boost/boost/graph/loop_erased_random_walk.hpp", - "external/sources/boost/boost/graph/make_biconnected_planar.hpp", - "external/sources/boost/boost/graph/make_connected.hpp", - "external/sources/boost/boost/graph/make_maximal_planar.hpp", - "external/sources/boost/boost/graph/matrix_as_graph.hpp", - "external/sources/boost/boost/graph/max_cardinality_matching.hpp", - "external/sources/boost/boost/graph/maximum_adjacency_search.hpp", - "external/sources/boost/boost/graph/maximum_weighted_matching.hpp", - "external/sources/boost/boost/graph/mcgregor_common_subgraphs.hpp", - "external/sources/boost/boost/graph/mesh_graph_generator.hpp", - "external/sources/boost/boost/graph/metis.hpp", - "external/sources/boost/boost/graph/metric_tsp_approx.hpp", - "external/sources/boost/boost/graph/minimum_degree_ordering.hpp", - "external/sources/boost/boost/graph/named_function_params.hpp", - "external/sources/boost/boost/graph/named_graph.hpp", - "external/sources/boost/boost/graph/neighbor_bfs.hpp", - "external/sources/boost/boost/graph/numeric_values.hpp", - "external/sources/boost/boost/graph/one_bit_color_map.hpp", - "external/sources/boost/boost/graph/overloading.hpp", - "external/sources/boost/boost/graph/page_rank.hpp", - "external/sources/boost/boost/graph/parallel/algorithm.hpp", - "external/sources/boost/boost/graph/parallel/basic_reduce.hpp", - "external/sources/boost/boost/graph/parallel/container_traits.hpp", - "external/sources/boost/boost/graph/parallel/detail/inplace_all_to_all.hpp", - "external/sources/boost/boost/graph/parallel/detail/property_holders.hpp", - "external/sources/boost/boost/graph/parallel/detail/untracked_pair.hpp", - "external/sources/boost/boost/graph/parallel/distribution.hpp", - "external/sources/boost/boost/graph/parallel/process_group.hpp", - "external/sources/boost/boost/graph/parallel/properties.hpp", - "external/sources/boost/boost/graph/parallel/simple_trigger.hpp", - "external/sources/boost/boost/graph/planar_canonical_ordering.hpp", - "external/sources/boost/boost/graph/planar_detail/add_edge_visitors.hpp", - "external/sources/boost/boost/graph/planar_detail/boyer_myrvold_impl.hpp", - "external/sources/boost/boost/graph/planar_detail/bucket_sort.hpp", - "external/sources/boost/boost/graph/planar_detail/face_handles.hpp", - "external/sources/boost/boost/graph/planar_detail/face_iterators.hpp", - "external/sources/boost/boost/graph/planar_face_traversal.hpp", - "external/sources/boost/boost/graph/plod_generator.hpp", - "external/sources/boost/boost/graph/point_traits.hpp", - "external/sources/boost/boost/graph/prim_minimum_spanning_tree.hpp", - "external/sources/boost/boost/graph/profile.hpp", - "external/sources/boost/boost/graph/properties.hpp", - "external/sources/boost/boost/graph/property_iter_range.hpp", - "external/sources/boost/boost/graph/property_maps/constant_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/container_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/matrix_property_map.hpp", - "external/sources/boost/boost/graph/property_maps/null_property_map.hpp", - "external/sources/boost/boost/graph/push_relabel_max_flow.hpp", - "external/sources/boost/boost/graph/r_c_shortest_paths.hpp", - "external/sources/boost/boost/graph/random.hpp", - "external/sources/boost/boost/graph/random_layout.hpp", - "external/sources/boost/boost/graph/random_spanning_tree.hpp", - "external/sources/boost/boost/graph/read_dimacs.hpp", - "external/sources/boost/boost/graph/relax.hpp", - "external/sources/boost/boost/graph/reverse_graph.hpp", - "external/sources/boost/boost/graph/rmat_graph_generator.hpp", - "external/sources/boost/boost/graph/sequential_vertex_coloring.hpp", - "external/sources/boost/boost/graph/simple_point.hpp", - "external/sources/boost/boost/graph/sloan_ordering.hpp", - "external/sources/boost/boost/graph/small_world_generator.hpp", - "external/sources/boost/boost/graph/smallest_last_ordering.hpp", - "external/sources/boost/boost/graph/ssca_graph_generator.hpp", - "external/sources/boost/boost/graph/st_connected.hpp", - "external/sources/boost/boost/graph/stanford_graph.hpp", - "external/sources/boost/boost/graph/stoer_wagner_min_cut.hpp", - "external/sources/boost/boost/graph/strong_components.hpp", - "external/sources/boost/boost/graph/subgraph.hpp", - "external/sources/boost/boost/graph/successive_shortest_path_nonnegative_weights.hpp", - "external/sources/boost/boost/graph/tiernan_all_cycles.hpp", - "external/sources/boost/boost/graph/topological_sort.hpp", - "external/sources/boost/boost/graph/topology.hpp", - "external/sources/boost/boost/graph/transitive_closure.hpp", - "external/sources/boost/boost/graph/transitive_reduction.hpp", - "external/sources/boost/boost/graph/transpose_graph.hpp", - "external/sources/boost/boost/graph/tree_traits.hpp", - "external/sources/boost/boost/graph/two_bit_color_map.hpp", - "external/sources/boost/boost/graph/two_graphs_common_spanning_trees.hpp", - "external/sources/boost/boost/graph/undirected_dfs.hpp", - "external/sources/boost/boost/graph/undirected_graph.hpp", - "external/sources/boost/boost/graph/use_mpi.hpp", - "external/sources/boost/boost/graph/vector_as_graph.hpp", - "external/sources/boost/boost/graph/vertex_and_edge_range.hpp", - "external/sources/boost/boost/graph/vf2_sub_graph_iso.hpp", - "external/sources/boost/boost/graph/visitors.hpp", - "external/sources/boost/boost/graph/wavefront.hpp", - "external/sources/boost/boost/graph/write_dimacs.hpp", - "external/sources/boost/boost/hana.hpp", - "external/sources/boost/boost/hana/accessors.hpp", - "external/sources/boost/boost/hana/adapt_adt.hpp", - "external/sources/boost/boost/hana/adapt_struct.hpp", - "external/sources/boost/boost/hana/adjust.hpp", - "external/sources/boost/boost/hana/adjust_if.hpp", - "external/sources/boost/boost/hana/all.hpp", - "external/sources/boost/boost/hana/all_of.hpp", - "external/sources/boost/boost/hana/and.hpp", - "external/sources/boost/boost/hana/any.hpp", - "external/sources/boost/boost/hana/any_of.hpp", - "external/sources/boost/boost/hana/ap.hpp", - "external/sources/boost/boost/hana/append.hpp", - "external/sources/boost/boost/hana/assert.hpp", - "external/sources/boost/boost/hana/at.hpp", - "external/sources/boost/boost/hana/at_key.hpp", - "external/sources/boost/boost/hana/back.hpp", - "external/sources/boost/boost/hana/basic_tuple.hpp", - "external/sources/boost/boost/hana/bool.hpp", - "external/sources/boost/boost/hana/cartesian_product.hpp", - "external/sources/boost/boost/hana/chain.hpp", - "external/sources/boost/boost/hana/comparing.hpp", - "external/sources/boost/boost/hana/concat.hpp", - "external/sources/boost/boost/hana/concept.hpp", - "external/sources/boost/boost/hana/concept/applicative.hpp", - "external/sources/boost/boost/hana/concept/comonad.hpp", - "external/sources/boost/boost/hana/concept/comparable.hpp", - "external/sources/boost/boost/hana/concept/constant.hpp", - "external/sources/boost/boost/hana/concept/euclidean_ring.hpp", - "external/sources/boost/boost/hana/concept/foldable.hpp", - "external/sources/boost/boost/hana/concept/functor.hpp", - "external/sources/boost/boost/hana/concept/group.hpp", - "external/sources/boost/boost/hana/concept/hashable.hpp", - "external/sources/boost/boost/hana/concept/integral_constant.hpp", - "external/sources/boost/boost/hana/concept/iterable.hpp", - "external/sources/boost/boost/hana/concept/logical.hpp", - "external/sources/boost/boost/hana/concept/metafunction.hpp", - "external/sources/boost/boost/hana/concept/monad.hpp", - "external/sources/boost/boost/hana/concept/monad_plus.hpp", - "external/sources/boost/boost/hana/concept/monoid.hpp", - "external/sources/boost/boost/hana/concept/orderable.hpp", - "external/sources/boost/boost/hana/concept/product.hpp", - "external/sources/boost/boost/hana/concept/ring.hpp", - "external/sources/boost/boost/hana/concept/searchable.hpp", - "external/sources/boost/boost/hana/concept/sequence.hpp", - "external/sources/boost/boost/hana/concept/struct.hpp", - "external/sources/boost/boost/hana/config.hpp", - "external/sources/boost/boost/hana/contains.hpp", - "external/sources/boost/boost/hana/core.hpp", - "external/sources/boost/boost/hana/core/common.hpp", - "external/sources/boost/boost/hana/core/default.hpp", - "external/sources/boost/boost/hana/core/dispatch.hpp", - "external/sources/boost/boost/hana/core/is_a.hpp", - "external/sources/boost/boost/hana/core/make.hpp", - "external/sources/boost/boost/hana/core/tag_of.hpp", - "external/sources/boost/boost/hana/core/to.hpp", - "external/sources/boost/boost/hana/core/when.hpp", - "external/sources/boost/boost/hana/count.hpp", - "external/sources/boost/boost/hana/count_if.hpp", - "external/sources/boost/boost/hana/cycle.hpp", - "external/sources/boost/boost/hana/define_struct.hpp", - "external/sources/boost/boost/hana/detail/algorithm.hpp", - "external/sources/boost/boost/hana/detail/any_of.hpp", - "external/sources/boost/boost/hana/detail/array.hpp", - "external/sources/boost/boost/hana/detail/canonical_constant.hpp", - "external/sources/boost/boost/hana/detail/concepts.hpp", - "external/sources/boost/boost/hana/detail/create.hpp", - "external/sources/boost/boost/hana/detail/decay.hpp", - "external/sources/boost/boost/hana/detail/dispatch_if.hpp", - "external/sources/boost/boost/hana/detail/ebo.hpp", - "external/sources/boost/boost/hana/detail/fast_and.hpp", - "external/sources/boost/boost/hana/detail/first_unsatisfied_index.hpp", - "external/sources/boost/boost/hana/detail/has_common_embedding.hpp", - "external/sources/boost/boost/hana/detail/has_duplicates.hpp", - "external/sources/boost/boost/hana/detail/hash_table.hpp", - "external/sources/boost/boost/hana/detail/index_if.hpp", - "external/sources/boost/boost/hana/detail/integral_constant.hpp", - "external/sources/boost/boost/hana/detail/intrinsics.hpp", - "external/sources/boost/boost/hana/detail/nested_by.hpp", - "external/sources/boost/boost/hana/detail/nested_by_fwd.hpp", - "external/sources/boost/boost/hana/detail/nested_than.hpp", - "external/sources/boost/boost/hana/detail/nested_than_fwd.hpp", - "external/sources/boost/boost/hana/detail/nested_to.hpp", - "external/sources/boost/boost/hana/detail/nested_to_fwd.hpp", - "external/sources/boost/boost/hana/detail/operators/adl.hpp", - "external/sources/boost/boost/hana/detail/operators/arithmetic.hpp", - "external/sources/boost/boost/hana/detail/operators/comparable.hpp", - "external/sources/boost/boost/hana/detail/operators/iterable.hpp", - "external/sources/boost/boost/hana/detail/operators/logical.hpp", - "external/sources/boost/boost/hana/detail/operators/monad.hpp", - "external/sources/boost/boost/hana/detail/operators/orderable.hpp", - "external/sources/boost/boost/hana/detail/operators/searchable.hpp", - "external/sources/boost/boost/hana/detail/preprocessor.hpp", - "external/sources/boost/boost/hana/detail/std_common_type.hpp", - "external/sources/boost/boost/hana/detail/struct_macros.hpp", - "external/sources/boost/boost/hana/detail/struct_macros.hpp.erb", - "external/sources/boost/boost/hana/detail/type_at.hpp", - "external/sources/boost/boost/hana/detail/type_foldl1.hpp", - "external/sources/boost/boost/hana/detail/type_foldr1.hpp", - "external/sources/boost/boost/hana/detail/unpack_flatten.hpp", - "external/sources/boost/boost/hana/detail/variadic/at.hpp", - "external/sources/boost/boost/hana/detail/variadic/drop_into.hpp", - "external/sources/boost/boost/hana/detail/variadic/foldl1.hpp", - "external/sources/boost/boost/hana/detail/variadic/foldr1.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply/flat.hpp", - "external/sources/boost/boost/hana/detail/variadic/reverse_apply/unrolled.hpp", - "external/sources/boost/boost/hana/detail/variadic/split_at.hpp", - "external/sources/boost/boost/hana/detail/variadic/take.hpp", - "external/sources/boost/boost/hana/detail/void_t.hpp", - "external/sources/boost/boost/hana/detail/wrong.hpp", - "external/sources/boost/boost/hana/difference.hpp", - "external/sources/boost/boost/hana/div.hpp", - "external/sources/boost/boost/hana/drop_back.hpp", - "external/sources/boost/boost/hana/drop_front.hpp", - "external/sources/boost/boost/hana/drop_front_exactly.hpp", - "external/sources/boost/boost/hana/drop_while.hpp", - "external/sources/boost/boost/hana/duplicate.hpp", - "external/sources/boost/boost/hana/empty.hpp", - "external/sources/boost/boost/hana/equal.hpp", - "external/sources/boost/boost/hana/erase_key.hpp", - "external/sources/boost/boost/hana/eval.hpp", - "external/sources/boost/boost/hana/eval_if.hpp", - "external/sources/boost/boost/hana/experimental/printable.hpp", - "external/sources/boost/boost/hana/experimental/type_name.hpp", - "external/sources/boost/boost/hana/experimental/types.hpp", - "external/sources/boost/boost/hana/experimental/view.hpp", - "external/sources/boost/boost/hana/ext/boost.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/deque.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/detail/common.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/list.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/tuple.hpp", - "external/sources/boost/boost/hana/ext/boost/fusion/vector.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/integral_c.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/list.hpp", - "external/sources/boost/boost/hana/ext/boost/mpl/vector.hpp", - "external/sources/boost/boost/hana/ext/boost/tuple.hpp", - "external/sources/boost/boost/hana/ext/std.hpp", - "external/sources/boost/boost/hana/ext/std/array.hpp", - "external/sources/boost/boost/hana/ext/std/integer_sequence.hpp", - "external/sources/boost/boost/hana/ext/std/integral_constant.hpp", - "external/sources/boost/boost/hana/ext/std/pair.hpp", - "external/sources/boost/boost/hana/ext/std/ratio.hpp", - "external/sources/boost/boost/hana/ext/std/tuple.hpp", - "external/sources/boost/boost/hana/ext/std/vector.hpp", - "external/sources/boost/boost/hana/extend.hpp", - "external/sources/boost/boost/hana/extract.hpp", - "external/sources/boost/boost/hana/fill.hpp", - "external/sources/boost/boost/hana/filter.hpp", - "external/sources/boost/boost/hana/find.hpp", - "external/sources/boost/boost/hana/find_if.hpp", - "external/sources/boost/boost/hana/first.hpp", - "external/sources/boost/boost/hana/flatten.hpp", - "external/sources/boost/boost/hana/fold.hpp", - "external/sources/boost/boost/hana/fold_left.hpp", - "external/sources/boost/boost/hana/fold_right.hpp", - "external/sources/boost/boost/hana/for_each.hpp", - "external/sources/boost/boost/hana/front.hpp", - "external/sources/boost/boost/hana/functional.hpp", - "external/sources/boost/boost/hana/functional/always.hpp", - "external/sources/boost/boost/hana/functional/apply.hpp", - "external/sources/boost/boost/hana/functional/arg.hpp", - "external/sources/boost/boost/hana/functional/capture.hpp", - "external/sources/boost/boost/hana/functional/compose.hpp", - "external/sources/boost/boost/hana/functional/curry.hpp", - "external/sources/boost/boost/hana/functional/demux.hpp", - "external/sources/boost/boost/hana/functional/fix.hpp", - "external/sources/boost/boost/hana/functional/flip.hpp", - "external/sources/boost/boost/hana/functional/id.hpp", - "external/sources/boost/boost/hana/functional/infix.hpp", - "external/sources/boost/boost/hana/functional/iterate.hpp", - "external/sources/boost/boost/hana/functional/lockstep.hpp", - "external/sources/boost/boost/hana/functional/on.hpp", - "external/sources/boost/boost/hana/functional/overload.hpp", - "external/sources/boost/boost/hana/functional/overload_linearly.hpp", - "external/sources/boost/boost/hana/functional/partial.hpp", - "external/sources/boost/boost/hana/functional/placeholder.hpp", - "external/sources/boost/boost/hana/functional/reverse_partial.hpp", - "external/sources/boost/boost/hana/fuse.hpp", - "external/sources/boost/boost/hana/fwd/accessors.hpp", - "external/sources/boost/boost/hana/fwd/adapt_adt.hpp", - "external/sources/boost/boost/hana/fwd/adapt_struct.hpp", - "external/sources/boost/boost/hana/fwd/adjust.hpp", - "external/sources/boost/boost/hana/fwd/adjust_if.hpp", - "external/sources/boost/boost/hana/fwd/all.hpp", - "external/sources/boost/boost/hana/fwd/all_of.hpp", - "external/sources/boost/boost/hana/fwd/and.hpp", - "external/sources/boost/boost/hana/fwd/any.hpp", - "external/sources/boost/boost/hana/fwd/any_of.hpp", - "external/sources/boost/boost/hana/fwd/ap.hpp", - "external/sources/boost/boost/hana/fwd/append.hpp", - "external/sources/boost/boost/hana/fwd/at.hpp", - "external/sources/boost/boost/hana/fwd/at_key.hpp", - "external/sources/boost/boost/hana/fwd/back.hpp", - "external/sources/boost/boost/hana/fwd/basic_tuple.hpp", - "external/sources/boost/boost/hana/fwd/bool.hpp", - "external/sources/boost/boost/hana/fwd/cartesian_product.hpp", - "external/sources/boost/boost/hana/fwd/chain.hpp", - "external/sources/boost/boost/hana/fwd/comparing.hpp", - "external/sources/boost/boost/hana/fwd/concat.hpp", - "external/sources/boost/boost/hana/fwd/concept/applicative.hpp", - "external/sources/boost/boost/hana/fwd/concept/comonad.hpp", - "external/sources/boost/boost/hana/fwd/concept/comparable.hpp", - "external/sources/boost/boost/hana/fwd/concept/constant.hpp", - "external/sources/boost/boost/hana/fwd/concept/euclidean_ring.hpp", - "external/sources/boost/boost/hana/fwd/concept/foldable.hpp", - "external/sources/boost/boost/hana/fwd/concept/functor.hpp", - "external/sources/boost/boost/hana/fwd/concept/group.hpp", - "external/sources/boost/boost/hana/fwd/concept/hashable.hpp", - "external/sources/boost/boost/hana/fwd/concept/integral_constant.hpp", - "external/sources/boost/boost/hana/fwd/concept/iterable.hpp", - "external/sources/boost/boost/hana/fwd/concept/logical.hpp", - "external/sources/boost/boost/hana/fwd/concept/metafunction.hpp", - "external/sources/boost/boost/hana/fwd/concept/monad.hpp", - "external/sources/boost/boost/hana/fwd/concept/monad_plus.hpp", - "external/sources/boost/boost/hana/fwd/concept/monoid.hpp", - "external/sources/boost/boost/hana/fwd/concept/orderable.hpp", - "external/sources/boost/boost/hana/fwd/concept/product.hpp", - "external/sources/boost/boost/hana/fwd/concept/ring.hpp", - "external/sources/boost/boost/hana/fwd/concept/searchable.hpp", - "external/sources/boost/boost/hana/fwd/concept/sequence.hpp", - "external/sources/boost/boost/hana/fwd/concept/struct.hpp", - "external/sources/boost/boost/hana/fwd/contains.hpp", - "external/sources/boost/boost/hana/fwd/core.hpp", - "external/sources/boost/boost/hana/fwd/core/common.hpp", - "external/sources/boost/boost/hana/fwd/core/default.hpp", - "external/sources/boost/boost/hana/fwd/core/is_a.hpp", - "external/sources/boost/boost/hana/fwd/core/make.hpp", - "external/sources/boost/boost/hana/fwd/core/tag_of.hpp", - "external/sources/boost/boost/hana/fwd/core/to.hpp", - "external/sources/boost/boost/hana/fwd/core/when.hpp", - "external/sources/boost/boost/hana/fwd/count.hpp", - "external/sources/boost/boost/hana/fwd/count_if.hpp", - "external/sources/boost/boost/hana/fwd/cycle.hpp", - "external/sources/boost/boost/hana/fwd/define_struct.hpp", - "external/sources/boost/boost/hana/fwd/difference.hpp", - "external/sources/boost/boost/hana/fwd/div.hpp", - "external/sources/boost/boost/hana/fwd/drop_back.hpp", - "external/sources/boost/boost/hana/fwd/drop_front.hpp", - "external/sources/boost/boost/hana/fwd/drop_front_exactly.hpp", - "external/sources/boost/boost/hana/fwd/drop_while.hpp", - "external/sources/boost/boost/hana/fwd/duplicate.hpp", - "external/sources/boost/boost/hana/fwd/empty.hpp", - "external/sources/boost/boost/hana/fwd/equal.hpp", - "external/sources/boost/boost/hana/fwd/erase_key.hpp", - "external/sources/boost/boost/hana/fwd/eval.hpp", - "external/sources/boost/boost/hana/fwd/eval_if.hpp", - "external/sources/boost/boost/hana/fwd/extend.hpp", - "external/sources/boost/boost/hana/fwd/extract.hpp", - "external/sources/boost/boost/hana/fwd/fill.hpp", - "external/sources/boost/boost/hana/fwd/filter.hpp", - "external/sources/boost/boost/hana/fwd/find.hpp", - "external/sources/boost/boost/hana/fwd/find_if.hpp", - "external/sources/boost/boost/hana/fwd/first.hpp", - "external/sources/boost/boost/hana/fwd/flatten.hpp", - "external/sources/boost/boost/hana/fwd/fold.hpp", - "external/sources/boost/boost/hana/fwd/fold_left.hpp", - "external/sources/boost/boost/hana/fwd/fold_right.hpp", - "external/sources/boost/boost/hana/fwd/for_each.hpp", - "external/sources/boost/boost/hana/fwd/front.hpp", - "external/sources/boost/boost/hana/fwd/fuse.hpp", - "external/sources/boost/boost/hana/fwd/greater.hpp", - "external/sources/boost/boost/hana/fwd/greater_equal.hpp", - "external/sources/boost/boost/hana/fwd/group.hpp", - "external/sources/boost/boost/hana/fwd/hash.hpp", - "external/sources/boost/boost/hana/fwd/if.hpp", - "external/sources/boost/boost/hana/fwd/index_if.hpp", - "external/sources/boost/boost/hana/fwd/insert.hpp", - "external/sources/boost/boost/hana/fwd/insert_range.hpp", - "external/sources/boost/boost/hana/fwd/integral_constant.hpp", - "external/sources/boost/boost/hana/fwd/intersection.hpp", - "external/sources/boost/boost/hana/fwd/intersperse.hpp", - "external/sources/boost/boost/hana/fwd/is_disjoint.hpp", - "external/sources/boost/boost/hana/fwd/is_empty.hpp", - "external/sources/boost/boost/hana/fwd/is_subset.hpp", - "external/sources/boost/boost/hana/fwd/keys.hpp", - "external/sources/boost/boost/hana/fwd/lazy.hpp", - "external/sources/boost/boost/hana/fwd/length.hpp", - "external/sources/boost/boost/hana/fwd/less.hpp", - "external/sources/boost/boost/hana/fwd/less_equal.hpp", - "external/sources/boost/boost/hana/fwd/lexicographical_compare.hpp", - "external/sources/boost/boost/hana/fwd/lift.hpp", - "external/sources/boost/boost/hana/fwd/map.hpp", - "external/sources/boost/boost/hana/fwd/max.hpp", - "external/sources/boost/boost/hana/fwd/maximum.hpp", - "external/sources/boost/boost/hana/fwd/members.hpp", - "external/sources/boost/boost/hana/fwd/min.hpp", - "external/sources/boost/boost/hana/fwd/minimum.hpp", - "external/sources/boost/boost/hana/fwd/minus.hpp", - "external/sources/boost/boost/hana/fwd/mod.hpp", - "external/sources/boost/boost/hana/fwd/monadic_compose.hpp", - "external/sources/boost/boost/hana/fwd/monadic_fold_left.hpp", - "external/sources/boost/boost/hana/fwd/monadic_fold_right.hpp", - "external/sources/boost/boost/hana/fwd/mult.hpp", - "external/sources/boost/boost/hana/fwd/negate.hpp", - "external/sources/boost/boost/hana/fwd/none.hpp", - "external/sources/boost/boost/hana/fwd/none_of.hpp", - "external/sources/boost/boost/hana/fwd/not.hpp", - "external/sources/boost/boost/hana/fwd/not_equal.hpp", - "external/sources/boost/boost/hana/fwd/one.hpp", - "external/sources/boost/boost/hana/fwd/optional.hpp", - "external/sources/boost/boost/hana/fwd/or.hpp", - "external/sources/boost/boost/hana/fwd/ordering.hpp", - "external/sources/boost/boost/hana/fwd/pair.hpp", - "external/sources/boost/boost/hana/fwd/partition.hpp", - "external/sources/boost/boost/hana/fwd/permutations.hpp", - "external/sources/boost/boost/hana/fwd/plus.hpp", - "external/sources/boost/boost/hana/fwd/power.hpp", - "external/sources/boost/boost/hana/fwd/prefix.hpp", - "external/sources/boost/boost/hana/fwd/prepend.hpp", - "external/sources/boost/boost/hana/fwd/product.hpp", - "external/sources/boost/boost/hana/fwd/range.hpp", - "external/sources/boost/boost/hana/fwd/remove.hpp", - "external/sources/boost/boost/hana/fwd/remove_at.hpp", - "external/sources/boost/boost/hana/fwd/remove_if.hpp", - "external/sources/boost/boost/hana/fwd/remove_range.hpp", - "external/sources/boost/boost/hana/fwd/repeat.hpp", - "external/sources/boost/boost/hana/fwd/replace.hpp", - "external/sources/boost/boost/hana/fwd/replace_if.hpp", - "external/sources/boost/boost/hana/fwd/replicate.hpp", - "external/sources/boost/boost/hana/fwd/reverse.hpp", - "external/sources/boost/boost/hana/fwd/reverse_fold.hpp", - "external/sources/boost/boost/hana/fwd/scan_left.hpp", - "external/sources/boost/boost/hana/fwd/scan_right.hpp", - "external/sources/boost/boost/hana/fwd/second.hpp", - "external/sources/boost/boost/hana/fwd/set.hpp", - "external/sources/boost/boost/hana/fwd/size.hpp", - "external/sources/boost/boost/hana/fwd/slice.hpp", - "external/sources/boost/boost/hana/fwd/sort.hpp", - "external/sources/boost/boost/hana/fwd/span.hpp", - "external/sources/boost/boost/hana/fwd/string.hpp", - "external/sources/boost/boost/hana/fwd/suffix.hpp", - "external/sources/boost/boost/hana/fwd/sum.hpp", - "external/sources/boost/boost/hana/fwd/symmetric_difference.hpp", - "external/sources/boost/boost/hana/fwd/take_back.hpp", - "external/sources/boost/boost/hana/fwd/take_front.hpp", - "external/sources/boost/boost/hana/fwd/take_while.hpp", - "external/sources/boost/boost/hana/fwd/tap.hpp", - "external/sources/boost/boost/hana/fwd/then.hpp", - "external/sources/boost/boost/hana/fwd/transform.hpp", - "external/sources/boost/boost/hana/fwd/tuple.hpp", - "external/sources/boost/boost/hana/fwd/type.hpp", - "external/sources/boost/boost/hana/fwd/unfold_left.hpp", - "external/sources/boost/boost/hana/fwd/unfold_right.hpp", - "external/sources/boost/boost/hana/fwd/union.hpp", - "external/sources/boost/boost/hana/fwd/unique.hpp", - "external/sources/boost/boost/hana/fwd/unpack.hpp", - "external/sources/boost/boost/hana/fwd/value.hpp", - "external/sources/boost/boost/hana/fwd/while.hpp", - "external/sources/boost/boost/hana/fwd/zero.hpp", - "external/sources/boost/boost/hana/fwd/zip.hpp", - "external/sources/boost/boost/hana/fwd/zip_shortest.hpp", - "external/sources/boost/boost/hana/fwd/zip_shortest_with.hpp", - "external/sources/boost/boost/hana/fwd/zip_with.hpp", - "external/sources/boost/boost/hana/greater.hpp", - "external/sources/boost/boost/hana/greater_equal.hpp", - "external/sources/boost/boost/hana/group.hpp", - "external/sources/boost/boost/hana/hash.hpp", - "external/sources/boost/boost/hana/if.hpp", - "external/sources/boost/boost/hana/index_if.hpp", - "external/sources/boost/boost/hana/insert.hpp", - "external/sources/boost/boost/hana/insert_range.hpp", - "external/sources/boost/boost/hana/integral_constant.hpp", - "external/sources/boost/boost/hana/intersection.hpp", - "external/sources/boost/boost/hana/intersperse.hpp", - "external/sources/boost/boost/hana/is_disjoint.hpp", - "external/sources/boost/boost/hana/is_empty.hpp", - "external/sources/boost/boost/hana/is_subset.hpp", - "external/sources/boost/boost/hana/keys.hpp", - "external/sources/boost/boost/hana/lazy.hpp", - "external/sources/boost/boost/hana/length.hpp", - "external/sources/boost/boost/hana/less.hpp", - "external/sources/boost/boost/hana/less_equal.hpp", - "external/sources/boost/boost/hana/lexicographical_compare.hpp", - "external/sources/boost/boost/hana/lift.hpp", - "external/sources/boost/boost/hana/map.hpp", - "external/sources/boost/boost/hana/max.hpp", - "external/sources/boost/boost/hana/maximum.hpp", - "external/sources/boost/boost/hana/members.hpp", - "external/sources/boost/boost/hana/min.hpp", - "external/sources/boost/boost/hana/minimum.hpp", - "external/sources/boost/boost/hana/minus.hpp", - "external/sources/boost/boost/hana/mod.hpp", - "external/sources/boost/boost/hana/monadic_compose.hpp", - "external/sources/boost/boost/hana/monadic_fold_left.hpp", - "external/sources/boost/boost/hana/monadic_fold_right.hpp", - "external/sources/boost/boost/hana/mult.hpp", - "external/sources/boost/boost/hana/negate.hpp", - "external/sources/boost/boost/hana/none.hpp", - "external/sources/boost/boost/hana/none_of.hpp", - "external/sources/boost/boost/hana/not.hpp", - "external/sources/boost/boost/hana/not_equal.hpp", - "external/sources/boost/boost/hana/one.hpp", - "external/sources/boost/boost/hana/optional.hpp", - "external/sources/boost/boost/hana/or.hpp", - "external/sources/boost/boost/hana/ordering.hpp", - "external/sources/boost/boost/hana/pair.hpp", - "external/sources/boost/boost/hana/partition.hpp", - "external/sources/boost/boost/hana/permutations.hpp", - "external/sources/boost/boost/hana/plus.hpp", - "external/sources/boost/boost/hana/power.hpp", - "external/sources/boost/boost/hana/prefix.hpp", - "external/sources/boost/boost/hana/prepend.hpp", - "external/sources/boost/boost/hana/product.hpp", - "external/sources/boost/boost/hana/range.hpp", - "external/sources/boost/boost/hana/remove.hpp", - "external/sources/boost/boost/hana/remove_at.hpp", - "external/sources/boost/boost/hana/remove_if.hpp", - "external/sources/boost/boost/hana/remove_range.hpp", - "external/sources/boost/boost/hana/repeat.hpp", - "external/sources/boost/boost/hana/replace.hpp", - "external/sources/boost/boost/hana/replace_if.hpp", - "external/sources/boost/boost/hana/replicate.hpp", - "external/sources/boost/boost/hana/reverse.hpp", - "external/sources/boost/boost/hana/reverse_fold.hpp", - "external/sources/boost/boost/hana/scan_left.hpp", - "external/sources/boost/boost/hana/scan_right.hpp", - "external/sources/boost/boost/hana/second.hpp", - "external/sources/boost/boost/hana/set.hpp", - "external/sources/boost/boost/hana/size.hpp", - "external/sources/boost/boost/hana/slice.hpp", - "external/sources/boost/boost/hana/sort.hpp", - "external/sources/boost/boost/hana/span.hpp", - "external/sources/boost/boost/hana/string.hpp", - "external/sources/boost/boost/hana/suffix.hpp", - "external/sources/boost/boost/hana/sum.hpp", - "external/sources/boost/boost/hana/symmetric_difference.hpp", - "external/sources/boost/boost/hana/take_back.hpp", - "external/sources/boost/boost/hana/take_front.hpp", - "external/sources/boost/boost/hana/take_while.hpp", - "external/sources/boost/boost/hana/tap.hpp", - "external/sources/boost/boost/hana/then.hpp", - "external/sources/boost/boost/hana/traits.hpp", - "external/sources/boost/boost/hana/transform.hpp", - "external/sources/boost/boost/hana/tuple.hpp", - "external/sources/boost/boost/hana/type.hpp", - "external/sources/boost/boost/hana/unfold_left.hpp", - "external/sources/boost/boost/hana/unfold_right.hpp", - "external/sources/boost/boost/hana/union.hpp", - "external/sources/boost/boost/hana/unique.hpp", - "external/sources/boost/boost/hana/unpack.hpp", - "external/sources/boost/boost/hana/value.hpp", - "external/sources/boost/boost/hana/version.hpp", - "external/sources/boost/boost/hana/while.hpp", - "external/sources/boost/boost/hana/zero.hpp", - "external/sources/boost/boost/hana/zip.hpp", - "external/sources/boost/boost/hana/zip_shortest.hpp", - "external/sources/boost/boost/hana/zip_shortest_with.hpp", - "external/sources/boost/boost/hana/zip_with.hpp", - "external/sources/boost/boost/heap/binomial_heap.hpp", - "external/sources/boost/boost/heap/d_ary_heap.hpp", - "external/sources/boost/boost/heap/detail/heap_comparison.hpp", - "external/sources/boost/boost/heap/detail/heap_node.hpp", - "external/sources/boost/boost/heap/detail/ilog2.hpp", - "external/sources/boost/boost/heap/detail/mutable_heap.hpp", - "external/sources/boost/boost/heap/detail/ordered_adaptor_iterator.hpp", - "external/sources/boost/boost/heap/detail/stable_heap.hpp", - "external/sources/boost/boost/heap/detail/tree_iterator.hpp", - "external/sources/boost/boost/heap/fibonacci_heap.hpp", - "external/sources/boost/boost/heap/heap_concepts.hpp", - "external/sources/boost/boost/heap/heap_merge.hpp", - "external/sources/boost/boost/heap/pairing_heap.hpp", - "external/sources/boost/boost/heap/policies.hpp", - "external/sources/boost/boost/heap/priority_queue.hpp", - "external/sources/boost/boost/heap/skew_heap.hpp", - "external/sources/boost/boost/histogram.hpp", - "external/sources/boost/boost/histogram/accumulators.hpp", - "external/sources/boost/boost/histogram/accumulators/count.hpp", - "external/sources/boost/boost/histogram/accumulators/mean.hpp", - "external/sources/boost/boost/histogram/accumulators/ostream.hpp", - "external/sources/boost/boost/histogram/accumulators/sum.hpp", - "external/sources/boost/boost/histogram/accumulators/thread_safe.hpp", - "external/sources/boost/boost/histogram/accumulators/weighted_mean.hpp", - "external/sources/boost/boost/histogram/accumulators/weighted_sum.hpp", - "external/sources/boost/boost/histogram/algorithm.hpp", - "external/sources/boost/boost/histogram/algorithm/empty.hpp", - "external/sources/boost/boost/histogram/algorithm/project.hpp", - "external/sources/boost/boost/histogram/algorithm/reduce.hpp", - "external/sources/boost/boost/histogram/algorithm/sum.hpp", - "external/sources/boost/boost/histogram/axis.hpp", - "external/sources/boost/boost/histogram/axis/boolean.hpp", - "external/sources/boost/boost/histogram/axis/category.hpp", - "external/sources/boost/boost/histogram/axis/integer.hpp", - "external/sources/boost/boost/histogram/axis/interval_view.hpp", - "external/sources/boost/boost/histogram/axis/iterator.hpp", - "external/sources/boost/boost/histogram/axis/metadata_base.hpp", - "external/sources/boost/boost/histogram/axis/option.hpp", - "external/sources/boost/boost/histogram/axis/ostream.hpp", - "external/sources/boost/boost/histogram/axis/polymorphic_bin.hpp", - "external/sources/boost/boost/histogram/axis/regular.hpp", - "external/sources/boost/boost/histogram/axis/traits.hpp", - "external/sources/boost/boost/histogram/axis/variable.hpp", - "external/sources/boost/boost/histogram/axis/variant.hpp", - "external/sources/boost/boost/histogram/detail/accumulator_traits.hpp", - "external/sources/boost/boost/histogram/detail/args_type.hpp", - "external/sources/boost/boost/histogram/detail/argument_traits.hpp", - "external/sources/boost/boost/histogram/detail/array_wrapper.hpp", - "external/sources/boost/boost/histogram/detail/axes.hpp", - "external/sources/boost/boost/histogram/detail/common_type.hpp", - "external/sources/boost/boost/histogram/detail/convert_integer.hpp", - "external/sources/boost/boost/histogram/detail/counting_streambuf.hpp", - "external/sources/boost/boost/histogram/detail/detect.hpp", - "external/sources/boost/boost/histogram/detail/fill.hpp", - "external/sources/boost/boost/histogram/detail/fill_n.hpp", - "external/sources/boost/boost/histogram/detail/index_translator.hpp", - "external/sources/boost/boost/histogram/detail/iterator_adaptor.hpp", - "external/sources/boost/boost/histogram/detail/large_int.hpp", - "external/sources/boost/boost/histogram/detail/limits.hpp", - "external/sources/boost/boost/histogram/detail/linearize.hpp", - "external/sources/boost/boost/histogram/detail/make_default.hpp", - "external/sources/boost/boost/histogram/detail/mutex_base.hpp", - "external/sources/boost/boost/histogram/detail/nonmember_container_access.hpp", - "external/sources/boost/boost/histogram/detail/operators.hpp", - "external/sources/boost/boost/histogram/detail/optional_index.hpp", - "external/sources/boost/boost/histogram/detail/priority.hpp", - "external/sources/boost/boost/histogram/detail/reduce_command.hpp", - "external/sources/boost/boost/histogram/detail/relaxed_equal.hpp", - "external/sources/boost/boost/histogram/detail/relaxed_tuple_size.hpp", - "external/sources/boost/boost/histogram/detail/replace_type.hpp", - "external/sources/boost/boost/histogram/detail/safe_comparison.hpp", - "external/sources/boost/boost/histogram/detail/span.hpp", - "external/sources/boost/boost/histogram/detail/static_if.hpp", - "external/sources/boost/boost/histogram/detail/sub_array.hpp", - "external/sources/boost/boost/histogram/detail/try_cast.hpp", - "external/sources/boost/boost/histogram/detail/tuple_slice.hpp", - "external/sources/boost/boost/histogram/detail/type_name.hpp", - "external/sources/boost/boost/histogram/detail/variant_proxy.hpp", - "external/sources/boost/boost/histogram/fwd.hpp", - "external/sources/boost/boost/histogram/histogram.hpp", - "external/sources/boost/boost/histogram/indexed.hpp", - "external/sources/boost/boost/histogram/literals.hpp", - "external/sources/boost/boost/histogram/make_histogram.hpp", - "external/sources/boost/boost/histogram/make_profile.hpp", - "external/sources/boost/boost/histogram/multi_index.hpp", - "external/sources/boost/boost/histogram/ostream.hpp", - "external/sources/boost/boost/histogram/sample.hpp", - "external/sources/boost/boost/histogram/serialization.hpp", - "external/sources/boost/boost/histogram/storage_adaptor.hpp", - "external/sources/boost/boost/histogram/unlimited_storage.hpp", - "external/sources/boost/boost/histogram/unsafe_access.hpp", - "external/sources/boost/boost/histogram/weight.hpp", - "external/sources/boost/boost/hof.hpp", - "external/sources/boost/boost/hof/alias.hpp", - "external/sources/boost/boost/hof/always.hpp", - "external/sources/boost/boost/hof/apply.hpp", - "external/sources/boost/boost/hof/apply_eval.hpp", - "external/sources/boost/boost/hof/arg.hpp", - "external/sources/boost/boost/hof/capture.hpp", - "external/sources/boost/boost/hof/combine.hpp", - "external/sources/boost/boost/hof/compose.hpp", - "external/sources/boost/boost/hof/config.hpp", - "external/sources/boost/boost/hof/construct.hpp", - "external/sources/boost/boost/hof/decay.hpp", - "external/sources/boost/boost/hof/decorate.hpp", - "external/sources/boost/boost/hof/detail/and.hpp", - "external/sources/boost/boost/hof/detail/callable_base.hpp", - "external/sources/boost/boost/hof/detail/can_be_called.hpp", - "external/sources/boost/boost/hof/detail/compressed_pair.hpp", - "external/sources/boost/boost/hof/detail/constexpr_deduce.hpp", - "external/sources/boost/boost/hof/detail/delegate.hpp", - "external/sources/boost/boost/hof/detail/forward.hpp", - "external/sources/boost/boost/hof/detail/holder.hpp", - "external/sources/boost/boost/hof/detail/intrinsics.hpp", - "external/sources/boost/boost/hof/detail/join.hpp", - "external/sources/boost/boost/hof/detail/make.hpp", - "external/sources/boost/boost/hof/detail/move.hpp", - "external/sources/boost/boost/hof/detail/noexcept.hpp", - "external/sources/boost/boost/hof/detail/pp.hpp", - "external/sources/boost/boost/hof/detail/recursive_constexpr_depth.hpp", - "external/sources/boost/boost/hof/detail/remove_rvalue_reference.hpp", - "external/sources/boost/boost/hof/detail/result_of.hpp", - "external/sources/boost/boost/hof/detail/result_type.hpp", - "external/sources/boost/boost/hof/detail/seq.hpp", - "external/sources/boost/boost/hof/detail/static_const_var.hpp", - "external/sources/boost/boost/hof/detail/unpack_tuple.hpp", - "external/sources/boost/boost/hof/detail/unwrap.hpp", - "external/sources/boost/boost/hof/detail/using.hpp", - "external/sources/boost/boost/hof/eval.hpp", - "external/sources/boost/boost/hof/first_of.hpp", - "external/sources/boost/boost/hof/fix.hpp", - "external/sources/boost/boost/hof/flip.hpp", - "external/sources/boost/boost/hof/flow.hpp", - "external/sources/boost/boost/hof/fold.hpp", - "external/sources/boost/boost/hof/function.hpp", - "external/sources/boost/boost/hof/function_param_limit.hpp", - "external/sources/boost/boost/hof/identity.hpp", - "external/sources/boost/boost/hof/if.hpp", - "external/sources/boost/boost/hof/implicit.hpp", - "external/sources/boost/boost/hof/indirect.hpp", - "external/sources/boost/boost/hof/infix.hpp", - "external/sources/boost/boost/hof/is_invocable.hpp", - "external/sources/boost/boost/hof/is_unpackable.hpp", - "external/sources/boost/boost/hof/lambda.hpp", - "external/sources/boost/boost/hof/lazy.hpp", - "external/sources/boost/boost/hof/lift.hpp", - "external/sources/boost/boost/hof/limit.hpp", - "external/sources/boost/boost/hof/match.hpp", - "external/sources/boost/boost/hof/mutable.hpp", - "external/sources/boost/boost/hof/pack.hpp", - "external/sources/boost/boost/hof/partial.hpp", - "external/sources/boost/boost/hof/pipable.hpp", - "external/sources/boost/boost/hof/placeholders.hpp", - "external/sources/boost/boost/hof/proj.hpp", - "external/sources/boost/boost/hof/protect.hpp", - "external/sources/boost/boost/hof/repeat.hpp", - "external/sources/boost/boost/hof/repeat_while.hpp", - "external/sources/boost/boost/hof/result.hpp", - "external/sources/boost/boost/hof/returns.hpp", - "external/sources/boost/boost/hof/reveal.hpp", - "external/sources/boost/boost/hof/reverse_fold.hpp", - "external/sources/boost/boost/hof/rotate.hpp", - "external/sources/boost/boost/hof/static.hpp", - "external/sources/boost/boost/hof/tap.hpp", - "external/sources/boost/boost/hof/unpack.hpp", - "external/sources/boost/boost/hof/unpack_sequence.hpp", - "external/sources/boost/boost/hof/version.hpp", - "external/sources/boost/boost/icl/associative_element_container.hpp", - "external/sources/boost/boost/icl/associative_interval_container.hpp", - "external/sources/boost/boost/icl/closed_interval.hpp", - "external/sources/boost/boost/icl/concept/comparable.hpp", - "external/sources/boost/boost/icl/concept/container.hpp", - "external/sources/boost/boost/icl/concept/element_associator.hpp", - "external/sources/boost/boost/icl/concept/element_map.hpp", - "external/sources/boost/boost/icl/concept/element_set.hpp", - "external/sources/boost/boost/icl/concept/element_set_value.hpp", - "external/sources/boost/boost/icl/concept/interval.hpp", - "external/sources/boost/boost/icl/concept/interval_associator.hpp", - "external/sources/boost/boost/icl/concept/interval_associator_base.hpp", - "external/sources/boost/boost/icl/concept/interval_bounds.hpp", - "external/sources/boost/boost/icl/concept/interval_map.hpp", - "external/sources/boost/boost/icl/concept/interval_set.hpp", - "external/sources/boost/boost/icl/concept/interval_set_value.hpp", - "external/sources/boost/boost/icl/concept/joinable.hpp", - "external/sources/boost/boost/icl/concept/map_value.hpp", - "external/sources/boost/boost/icl/concept/set_value.hpp", - "external/sources/boost/boost/icl/continuous_interval.hpp", - "external/sources/boost/boost/icl/detail/associated_value.hpp", - "external/sources/boost/boost/icl/detail/boost_config.hpp", - "external/sources/boost/boost/icl/detail/concept_check.hpp", - "external/sources/boost/boost/icl/detail/design_config.hpp", - "external/sources/boost/boost/icl/detail/element_comparer.hpp", - "external/sources/boost/boost/icl/detail/element_iterator.hpp", - "external/sources/boost/boost/icl/detail/exclusive_less_than.hpp", - "external/sources/boost/boost/icl/detail/interval_map_algo.hpp", - "external/sources/boost/boost/icl/detail/interval_morphism.hpp", - "external/sources/boost/boost/icl/detail/interval_set_algo.hpp", - "external/sources/boost/boost/icl/detail/interval_subset_comparer.hpp", - "external/sources/boost/boost/icl/detail/map_algo.hpp", - "external/sources/boost/boost/icl/detail/mapped_reference.hpp", - "external/sources/boost/boost/icl/detail/notate.hpp", - "external/sources/boost/boost/icl/detail/on_absorbtion.hpp", - "external/sources/boost/boost/icl/detail/relation_state.hpp", - "external/sources/boost/boost/icl/detail/set_algo.hpp", - "external/sources/boost/boost/icl/detail/std_set.hpp", - "external/sources/boost/boost/icl/detail/subset_comparer.hpp", - "external/sources/boost/boost/icl/discrete_interval.hpp", - "external/sources/boost/boost/icl/dynamic_interval_traits.hpp", - "external/sources/boost/boost/icl/functors.hpp", - "external/sources/boost/boost/icl/gregorian.hpp", - "external/sources/boost/boost/icl/impl_config.hpp", - "external/sources/boost/boost/icl/interval.hpp", - "external/sources/boost/boost/icl/interval_base_map.hpp", - "external/sources/boost/boost/icl/interval_base_set.hpp", - "external/sources/boost/boost/icl/interval_bounds.hpp", - "external/sources/boost/boost/icl/interval_combining_style.hpp", - "external/sources/boost/boost/icl/interval_map.hpp", - "external/sources/boost/boost/icl/interval_set.hpp", - "external/sources/boost/boost/icl/interval_traits.hpp", - "external/sources/boost/boost/icl/iterator.hpp", - "external/sources/boost/boost/icl/left_open_interval.hpp", - "external/sources/boost/boost/icl/map.hpp", - "external/sources/boost/boost/icl/open_interval.hpp", - "external/sources/boost/boost/icl/predicates/distinct_equal.hpp", - "external/sources/boost/boost/icl/predicates/element_equal.hpp", - "external/sources/boost/boost/icl/predicates/std_equal.hpp", - "external/sources/boost/boost/icl/predicates/sub_super_set.hpp", - "external/sources/boost/boost/icl/ptime.hpp", - "external/sources/boost/boost/icl/rational.hpp", - "external/sources/boost/boost/icl/right_open_interval.hpp", - "external/sources/boost/boost/icl/separate_interval_set.hpp", - "external/sources/boost/boost/icl/set.hpp", - "external/sources/boost/boost/icl/split_interval_map.hpp", - "external/sources/boost/boost/icl/split_interval_set.hpp", - "external/sources/boost/boost/icl/type_traits/absorbs_identities.hpp", - "external/sources/boost/boost/icl/type_traits/adds_inversely.hpp", - "external/sources/boost/boost/icl/type_traits/codomain_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/difference.hpp", - "external/sources/boost/boost/icl/type_traits/difference_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/domain_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/element_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/has_inverse.hpp", - "external/sources/boost/boost/icl/type_traits/has_set_semantics.hpp", - "external/sources/boost/boost/icl/type_traits/identity_element.hpp", - "external/sources/boost/boost/icl/type_traits/infinity.hpp", - "external/sources/boost/boost/icl/type_traits/interval_type_default.hpp", - "external/sources/boost/boost/icl/type_traits/interval_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/is_associative_element_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_asymmetric_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_combinable.hpp", - "external/sources/boost/boost/icl/type_traits/is_concept_equivalent.hpp", - "external/sources/boost/boost/icl/type_traits/is_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_continuous.hpp", - "external/sources/boost/boost/icl/type_traits/is_continuous_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_discrete.hpp", - "external/sources/boost/boost/icl/type_traits/is_discrete_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_element_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_icl_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_increasing.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_container.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_joiner.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_separator.hpp", - "external/sources/boost/boost/icl/type_traits/is_interval_splitter.hpp", - "external/sources/boost/boost/icl/type_traits/is_key_container_of.hpp", - "external/sources/boost/boost/icl/type_traits/is_map.hpp", - "external/sources/boost/boost/icl/type_traits/is_numeric.hpp", - "external/sources/boost/boost/icl/type_traits/is_set.hpp", - "external/sources/boost/boost/icl/type_traits/is_total.hpp", - "external/sources/boost/boost/icl/type_traits/no_type.hpp", - "external/sources/boost/boost/icl/type_traits/predicate.hpp", - "external/sources/boost/boost/icl/type_traits/rep_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/segment_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/size.hpp", - "external/sources/boost/boost/icl/type_traits/size_type_of.hpp", - "external/sources/boost/boost/icl/type_traits/succ_pred.hpp", - "external/sources/boost/boost/icl/type_traits/to_string.hpp", - "external/sources/boost/boost/icl/type_traits/type_to_string.hpp", - "external/sources/boost/boost/icl/type_traits/unit_element.hpp", - "external/sources/boost/boost/icl/type_traits/value_size.hpp", - "external/sources/boost/boost/implicit_cast.hpp", - "external/sources/boost/boost/indirect_reference.hpp", - "external/sources/boost/boost/integer.hpp", - "external/sources/boost/boost/integer/common_factor.hpp", - "external/sources/boost/boost/integer/common_factor_ct.hpp", - "external/sources/boost/boost/integer/common_factor_rt.hpp", - "external/sources/boost/boost/integer/extended_euclidean.hpp", - "external/sources/boost/boost/integer/integer_log2.hpp", - "external/sources/boost/boost/integer/integer_mask.hpp", - "external/sources/boost/boost/integer/mod_inverse.hpp", - "external/sources/boost/boost/integer/static_log2.hpp", - "external/sources/boost/boost/integer/static_min_max.hpp", - "external/sources/boost/boost/integer_fwd.hpp", - "external/sources/boost/boost/integer_traits.hpp", - "external/sources/boost/boost/interprocess/allocators/adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/cached_adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/cached_node_allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/adaptive_node_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/allocator_common.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/node_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/detail/node_tools.hpp", - "external/sources/boost/boost/interprocess/allocators/node_allocator.hpp", - "external/sources/boost/boost/interprocess/allocators/private_adaptive_pool.hpp", - "external/sources/boost/boost/interprocess/allocators/private_node_allocator.hpp", - "external/sources/boost/boost/interprocess/anonymous_shared_memory.hpp", - "external/sources/boost/boost/interprocess/containers/allocation_type.hpp", - "external/sources/boost/boost/interprocess/containers/containers_fwd.hpp", - "external/sources/boost/boost/interprocess/containers/deque.hpp", - "external/sources/boost/boost/interprocess/containers/flat_map.hpp", - "external/sources/boost/boost/interprocess/containers/flat_set.hpp", - "external/sources/boost/boost/interprocess/containers/list.hpp", - "external/sources/boost/boost/interprocess/containers/map.hpp", - "external/sources/boost/boost/interprocess/containers/pair.hpp", - "external/sources/boost/boost/interprocess/containers/set.hpp", - "external/sources/boost/boost/interprocess/containers/slist.hpp", - "external/sources/boost/boost/interprocess/containers/stable_vector.hpp", - "external/sources/boost/boost/interprocess/containers/string.hpp", - "external/sources/boost/boost/interprocess/containers/vector.hpp", - "external/sources/boost/boost/interprocess/containers/version_type.hpp", - "external/sources/boost/boost/interprocess/creation_tags.hpp", - "external/sources/boost/boost/interprocess/detail/atomic.hpp", - "external/sources/boost/boost/interprocess/detail/cast_tags.hpp", - "external/sources/boost/boost/interprocess/detail/config_begin.hpp", - "external/sources/boost/boost/interprocess/detail/config_end.hpp", - "external/sources/boost/boost/interprocess/detail/config_external_begin.hpp", - "external/sources/boost/boost/interprocess/detail/config_external_end.hpp", - "external/sources/boost/boost/interprocess/detail/file_locking_helpers.hpp", - "external/sources/boost/boost/interprocess/detail/file_wrapper.hpp", - "external/sources/boost/boost/interprocess/detail/in_place_interface.hpp", - "external/sources/boost/boost/interprocess/detail/intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/intermodule_singleton_common.hpp", - "external/sources/boost/boost/interprocess/detail/interprocess_tester.hpp", - "external/sources/boost/boost/interprocess/detail/intersegment_ptr.hpp", - "external/sources/boost/boost/interprocess/detail/managed_global_memory.hpp", - "external/sources/boost/boost/interprocess/detail/managed_memory_impl.hpp", - "external/sources/boost/boost/interprocess/detail/managed_multi_shared_memory.hpp", - "external/sources/boost/boost/interprocess/detail/managed_open_or_create_impl.hpp", - "external/sources/boost/boost/interprocess/detail/math_functions.hpp", - "external/sources/boost/boost/interprocess/detail/min_max.hpp", - "external/sources/boost/boost/interprocess/detail/move.hpp", - "external/sources/boost/boost/interprocess/detail/mpl.hpp", - "external/sources/boost/boost/interprocess/detail/named_proxy.hpp", - "external/sources/boost/boost/interprocess/detail/nothrow.hpp", - "external/sources/boost/boost/interprocess/detail/os_file_functions.hpp", - "external/sources/boost/boost/interprocess/detail/os_thread_functions.hpp", - "external/sources/boost/boost/interprocess/detail/pointer_type.hpp", - "external/sources/boost/boost/interprocess/detail/portable_intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/posix_time_types_wrk.hpp", - "external/sources/boost/boost/interprocess/detail/ptime_wrk.hpp", - "external/sources/boost/boost/interprocess/detail/robust_emulation.hpp", - "external/sources/boost/boost/interprocess/detail/segment_manager_helper.hpp", - "external/sources/boost/boost/interprocess/detail/shared_dir_helpers.hpp", - "external/sources/boost/boost/interprocess/detail/simple_swap.hpp", - "external/sources/boost/boost/interprocess/detail/std_fwd.hpp", - "external/sources/boost/boost/interprocess/detail/transform_iterator.hpp", - "external/sources/boost/boost/interprocess/detail/type_traits.hpp", - "external/sources/boost/boost/interprocess/detail/utilities.hpp", - "external/sources/boost/boost/interprocess/detail/variadic_templates_tools.hpp", - "external/sources/boost/boost/interprocess/detail/win32_api.hpp", - "external/sources/boost/boost/interprocess/detail/windows_intermodule_singleton.hpp", - "external/sources/boost/boost/interprocess/detail/workaround.hpp", - "external/sources/boost/boost/interprocess/detail/xsi_shared_memory_file_wrapper.hpp", - "external/sources/boost/boost/interprocess/errors.hpp", - "external/sources/boost/boost/interprocess/exceptions.hpp", - "external/sources/boost/boost/interprocess/file_mapping.hpp", - "external/sources/boost/boost/interprocess/indexes/flat_map_index.hpp", - "external/sources/boost/boost/interprocess/indexes/iset_index.hpp", - "external/sources/boost/boost/interprocess/indexes/iunordered_set_index.hpp", - "external/sources/boost/boost/interprocess/indexes/map_index.hpp", - "external/sources/boost/boost/interprocess/indexes/null_index.hpp", - "external/sources/boost/boost/interprocess/indexes/unordered_map_index.hpp", - "external/sources/boost/boost/interprocess/interprocess_fwd.hpp", - "external/sources/boost/boost/interprocess/ipc/message_queue.hpp", - "external/sources/boost/boost/interprocess/managed_external_buffer.hpp", - "external/sources/boost/boost/interprocess/managed_heap_memory.hpp", - "external/sources/boost/boost/interprocess/managed_mapped_file.hpp", - "external/sources/boost/boost/interprocess/managed_shared_memory.hpp", - "external/sources/boost/boost/interprocess/managed_windows_shared_memory.hpp", - "external/sources/boost/boost/interprocess/managed_xsi_shared_memory.hpp", - "external/sources/boost/boost/interprocess/mapped_region.hpp", - "external/sources/boost/boost/interprocess/mem_algo/detail/mem_algo_common.hpp", - "external/sources/boost/boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp", - "external/sources/boost/boost/interprocess/mem_algo/rbtree_best_fit.hpp", - "external/sources/boost/boost/interprocess/mem_algo/simple_seq_fit.hpp", - "external/sources/boost/boost/interprocess/offset_ptr.hpp", - "external/sources/boost/boost/interprocess/permissions.hpp", - "external/sources/boost/boost/interprocess/segment_manager.hpp", - "external/sources/boost/boost/interprocess/shared_memory_object.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/deleter.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/bad_weak_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/shared_count.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/enable_shared_from_this.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/intrusive_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/scoped_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/shared_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/unique_ptr.hpp", - "external/sources/boost/boost/interprocess/smart_ptr/weak_ptr.hpp", - "external/sources/boost/boost/interprocess/streams/bufferstream.hpp", - "external/sources/boost/boost/interprocess/streams/vectorstream.hpp", - "external/sources/boost/boost/interprocess/sync/detail/common_algorithms.hpp", - "external/sources/boost/boost/interprocess/sync/detail/condition_algorithm_8a.hpp", - "external/sources/boost/boost/interprocess/sync/detail/condition_any_algorithm.hpp", - "external/sources/boost/boost/interprocess/sync/detail/locks.hpp", - "external/sources/boost/boost/interprocess/sync/file_lock.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_condition.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_sharable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/interprocess_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/lock_options.hpp", - "external/sources/boost/boost/interprocess/sync/mutex_family.hpp", - "external/sources/boost/boost/interprocess/sync/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/named_sharable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/named_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/null_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/condition.hpp", - "external/sources/boost/boost/interprocess/sync/posix/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/posix/pthread_helpers.hpp", - "external/sources/boost/boost/interprocess/sync/posix/ptime_to_timespec.hpp", - "external/sources/boost/boost/interprocess/sync/posix/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/posix/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/posix/semaphore_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/scoped_lock.hpp", - "external/sources/boost/boost/interprocess/sync/sharable_lock.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_creation_functor.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/shm/named_upgradable_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/condition.hpp", - "external/sources/boost/boost/interprocess/sync/spin/interprocess_barrier.hpp", - "external/sources/boost/boost/interprocess/sync/spin/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/spin/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/spin/wait.hpp", - "external/sources/boost/boost/interprocess/sync/upgradable_lock.hpp", - "external/sources/boost/boost/interprocess/sync/windows/condition.hpp", - "external/sources/boost/boost/interprocess/sync/windows/mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_condition.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_condition_any.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/windows/named_sync.hpp", - "external/sources/boost/boost/interprocess/sync/windows/recursive_mutex.hpp", - "external/sources/boost/boost/interprocess/sync/windows/semaphore.hpp", - "external/sources/boost/boost/interprocess/sync/windows/sync_utils.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_mutex_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_semaphore_wrapper.hpp", - "external/sources/boost/boost/interprocess/sync/windows/winapi_wrapper_common.hpp", - "external/sources/boost/boost/interprocess/windows_shared_memory.hpp", - "external/sources/boost/boost/interprocess/xsi_key.hpp", - "external/sources/boost/boost/interprocess/xsi_shared_memory.hpp", - "external/sources/boost/boost/intrusive/any_hook.hpp", - "external/sources/boost/boost/intrusive/avl_set.hpp", - "external/sources/boost/boost/intrusive/avl_set_hook.hpp", - "external/sources/boost/boost/intrusive/avltree.hpp", - "external/sources/boost/boost/intrusive/avltree_algorithms.hpp", - "external/sources/boost/boost/intrusive/bs_set.hpp", - "external/sources/boost/boost/intrusive/bs_set_hook.hpp", - "external/sources/boost/boost/intrusive/bstree.hpp", - "external/sources/boost/boost/intrusive/bstree_algorithms.hpp", - "external/sources/boost/boost/intrusive/circular_list_algorithms.hpp", - "external/sources/boost/boost/intrusive/circular_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/derivation_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/algo_type.hpp", - "external/sources/boost/boost/intrusive/detail/algorithm.hpp", - "external/sources/boost/boost/intrusive/detail/any_node_and_algorithms.hpp", - "external/sources/boost/boost/intrusive/detail/array_initializer.hpp", - "external/sources/boost/boost/intrusive/detail/assert.hpp", - "external/sources/boost/boost/intrusive/detail/avltree_node.hpp", - "external/sources/boost/boost/intrusive/detail/bstree_algorithms_base.hpp", - "external/sources/boost/boost/intrusive/detail/common_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/detail/config_begin.hpp", - "external/sources/boost/boost/intrusive/detail/config_end.hpp", - "external/sources/boost/boost/intrusive/detail/default_header_holder.hpp", - "external/sources/boost/boost/intrusive/detail/ebo_functor_holder.hpp", - "external/sources/boost/boost/intrusive/detail/empty_node_checker.hpp", - "external/sources/boost/boost/intrusive/detail/equal_to_value.hpp", - "external/sources/boost/boost/intrusive/detail/exception_disposer.hpp", - "external/sources/boost/boost/intrusive/detail/function_detector.hpp", - "external/sources/boost/boost/intrusive/detail/generic_hook.hpp", - "external/sources/boost/boost/intrusive/detail/get_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/has_member_function_callable_with.hpp", - "external/sources/boost/boost/intrusive/detail/hashtable_node.hpp", - "external/sources/boost/boost/intrusive/detail/hook_traits.hpp", - "external/sources/boost/boost/intrusive/detail/iiterator.hpp", - "external/sources/boost/boost/intrusive/detail/is_stateful_value_traits.hpp", - "external/sources/boost/boost/intrusive/detail/iterator.hpp", - "external/sources/boost/boost/intrusive/detail/key_nodeptr_comp.hpp", - "external/sources/boost/boost/intrusive/detail/list_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/list_node.hpp", - "external/sources/boost/boost/intrusive/detail/math.hpp", - "external/sources/boost/boost/intrusive/detail/minimal_less_equal_header.hpp", - "external/sources/boost/boost/intrusive/detail/minimal_pair_header.hpp", - "external/sources/boost/boost/intrusive/detail/mpl.hpp", - "external/sources/boost/boost/intrusive/detail/node_cloner_disposer.hpp", - "external/sources/boost/boost/intrusive/detail/node_holder.hpp", - "external/sources/boost/boost/intrusive/detail/node_to_value.hpp", - "external/sources/boost/boost/intrusive/detail/parent_from_member.hpp", - "external/sources/boost/boost/intrusive/detail/rbtree_node.hpp", - "external/sources/boost/boost/intrusive/detail/reverse_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/simple_disposers.hpp", - "external/sources/boost/boost/intrusive/detail/size_holder.hpp", - "external/sources/boost/boost/intrusive/detail/slist_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/slist_node.hpp", - "external/sources/boost/boost/intrusive/detail/std_fwd.hpp", - "external/sources/boost/boost/intrusive/detail/transform_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/tree_iterator.hpp", - "external/sources/boost/boost/intrusive/detail/tree_node.hpp", - "external/sources/boost/boost/intrusive/detail/tree_value_compare.hpp", - "external/sources/boost/boost/intrusive/detail/uncast.hpp", - "external/sources/boost/boost/intrusive/detail/workaround.hpp", - "external/sources/boost/boost/intrusive/hashtable.hpp", - "external/sources/boost/boost/intrusive/intrusive_fwd.hpp", - "external/sources/boost/boost/intrusive/linear_slist_algorithms.hpp", - "external/sources/boost/boost/intrusive/link_mode.hpp", - "external/sources/boost/boost/intrusive/list.hpp", - "external/sources/boost/boost/intrusive/list_hook.hpp", - "external/sources/boost/boost/intrusive/member_value_traits.hpp", - "external/sources/boost/boost/intrusive/options.hpp", - "external/sources/boost/boost/intrusive/pack_options.hpp", - "external/sources/boost/boost/intrusive/parent_from_member.hpp", - "external/sources/boost/boost/intrusive/pointer_plus_bits.hpp", - "external/sources/boost/boost/intrusive/pointer_rebind.hpp", - "external/sources/boost/boost/intrusive/pointer_traits.hpp", - "external/sources/boost/boost/intrusive/priority_compare.hpp", - "external/sources/boost/boost/intrusive/rbtree.hpp", - "external/sources/boost/boost/intrusive/rbtree_algorithms.hpp", - "external/sources/boost/boost/intrusive/set.hpp", - "external/sources/boost/boost/intrusive/set_hook.hpp", - "external/sources/boost/boost/intrusive/sg_set.hpp", - "external/sources/boost/boost/intrusive/sgtree.hpp", - "external/sources/boost/boost/intrusive/sgtree_algorithms.hpp", - "external/sources/boost/boost/intrusive/slist.hpp", - "external/sources/boost/boost/intrusive/slist_hook.hpp", - "external/sources/boost/boost/intrusive/splay_set.hpp", - "external/sources/boost/boost/intrusive/splaytree.hpp", - "external/sources/boost/boost/intrusive/splaytree_algorithms.hpp", - "external/sources/boost/boost/intrusive/treap.hpp", - "external/sources/boost/boost/intrusive/treap_algorithms.hpp", - "external/sources/boost/boost/intrusive/treap_set.hpp", - "external/sources/boost/boost/intrusive/trivial_value_traits.hpp", - "external/sources/boost/boost/intrusive/unordered_set.hpp", - "external/sources/boost/boost/intrusive/unordered_set_hook.hpp", - "external/sources/boost/boost/intrusive_ptr.hpp", - "external/sources/boost/boost/io/detail/buffer_fill.hpp", - "external/sources/boost/boost/io/detail/ostream_guard.hpp", - "external/sources/boost/boost/io/ios_state.hpp", - "external/sources/boost/boost/io/ostream_joiner.hpp", - "external/sources/boost/boost/io/ostream_put.hpp", - "external/sources/boost/boost/io/quoted.hpp", - "external/sources/boost/boost/io_fwd.hpp", - "external/sources/boost/boost/iostreams/categories.hpp", - "external/sources/boost/boost/iostreams/chain.hpp", - "external/sources/boost/boost/iostreams/char_traits.hpp", - "external/sources/boost/boost/iostreams/checked_operations.hpp", - "external/sources/boost/boost/iostreams/close.hpp", - "external/sources/boost/boost/iostreams/code_converter.hpp", - "external/sources/boost/boost/iostreams/combine.hpp", - "external/sources/boost/boost/iostreams/compose.hpp", - "external/sources/boost/boost/iostreams/concepts.hpp", - "external/sources/boost/boost/iostreams/constants.hpp", - "external/sources/boost/boost/iostreams/copy.hpp", - "external/sources/boost/boost/iostreams/detail/absolute_path.hpp", - "external/sources/boost/boost/iostreams/detail/access_control.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/concept_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/device_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/direct_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/filter_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/mode_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/non_blocking_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/output_iterator_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/adapter/range_adapter.hpp", - "external/sources/boost/boost/iostreams/detail/add_facet.hpp", - "external/sources/boost/boost/iostreams/detail/bool_trait_def.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/forward.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream.hpp", - "external/sources/boost/boost/iostreams/detail/broken_overload_resolution/stream_buffer.hpp", - "external/sources/boost/boost/iostreams/detail/buffer.hpp", - "external/sources/boost/boost/iostreams/detail/call_traits.hpp", - "external/sources/boost/boost/iostreams/detail/char_traits.hpp", - "external/sources/boost/boost/iostreams/detail/codecvt_helper.hpp", - "external/sources/boost/boost/iostreams/detail/codecvt_holder.hpp", - "external/sources/boost/boost/iostreams/detail/config/auto_link.hpp", - "external/sources/boost/boost/iostreams/detail/config/bzip2.hpp", - "external/sources/boost/boost/iostreams/detail/config/codecvt.hpp", - "external/sources/boost/boost/iostreams/detail/config/disable_warnings.hpp", - "external/sources/boost/boost/iostreams/detail/config/dyn_link.hpp", - "external/sources/boost/boost/iostreams/detail/config/enable_warnings.hpp", - "external/sources/boost/boost/iostreams/detail/config/fpos.hpp", - "external/sources/boost/boost/iostreams/detail/config/gcc.hpp", - "external/sources/boost/boost/iostreams/detail/config/limits.hpp", - "external/sources/boost/boost/iostreams/detail/config/overload_resolution.hpp", - "external/sources/boost/boost/iostreams/detail/config/rtl.hpp", - "external/sources/boost/boost/iostreams/detail/config/unreachable_return.hpp", - "external/sources/boost/boost/iostreams/detail/config/wide_streams.hpp", - "external/sources/boost/boost/iostreams/detail/config/windows_posix.hpp", - "external/sources/boost/boost/iostreams/detail/config/zlib.hpp", - "external/sources/boost/boost/iostreams/detail/counted_array.hpp", - "external/sources/boost/boost/iostreams/detail/current_directory.hpp", - "external/sources/boost/boost/iostreams/detail/default_arg.hpp", - "external/sources/boost/boost/iostreams/detail/dispatch.hpp", - "external/sources/boost/boost/iostreams/detail/double_object.hpp", - "external/sources/boost/boost/iostreams/detail/enable_if_stream.hpp", - "external/sources/boost/boost/iostreams/detail/error.hpp", - "external/sources/boost/boost/iostreams/detail/execute.hpp", - "external/sources/boost/boost/iostreams/detail/file_handle.hpp", - "external/sources/boost/boost/iostreams/detail/forward.hpp", - "external/sources/boost/boost/iostreams/detail/fstream.hpp", - "external/sources/boost/boost/iostreams/detail/functional.hpp", - "external/sources/boost/boost/iostreams/detail/ios.hpp", - "external/sources/boost/boost/iostreams/detail/iostream.hpp", - "external/sources/boost/boost/iostreams/detail/is_dereferenceable.hpp", - "external/sources/boost/boost/iostreams/detail/is_iterator_range.hpp", - "external/sources/boost/boost/iostreams/detail/newline.hpp", - "external/sources/boost/boost/iostreams/detail/optional.hpp", - "external/sources/boost/boost/iostreams/detail/param_type.hpp", - "external/sources/boost/boost/iostreams/detail/path.hpp", - "external/sources/boost/boost/iostreams/detail/push.hpp", - "external/sources/boost/boost/iostreams/detail/push_params.hpp", - "external/sources/boost/boost/iostreams/detail/resolve.hpp", - "external/sources/boost/boost/iostreams/detail/restrict_impl.hpp", - "external/sources/boost/boost/iostreams/detail/select.hpp", - "external/sources/boost/boost/iostreams/detail/select_by_size.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/chainbuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/direct_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/indirect_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/streambuf/linked_streambuf.hpp", - "external/sources/boost/boost/iostreams/detail/system_failure.hpp", - "external/sources/boost/boost/iostreams/detail/template_params.hpp", - "external/sources/boost/boost/iostreams/detail/translate_int_type.hpp", - "external/sources/boost/boost/iostreams/detail/wrap_unwrap.hpp", - "external/sources/boost/boost/iostreams/device/array.hpp", - "external/sources/boost/boost/iostreams/device/back_inserter.hpp", - "external/sources/boost/boost/iostreams/device/file.hpp", - "external/sources/boost/boost/iostreams/device/file_descriptor.hpp", - "external/sources/boost/boost/iostreams/device/mapped_file.hpp", - "external/sources/boost/boost/iostreams/device/null.hpp", - "external/sources/boost/boost/iostreams/filter/aggregate.hpp", - "external/sources/boost/boost/iostreams/filter/bzip2.hpp", - "external/sources/boost/boost/iostreams/filter/counter.hpp", - "external/sources/boost/boost/iostreams/filter/grep.hpp", - "external/sources/boost/boost/iostreams/filter/gzip.hpp", - "external/sources/boost/boost/iostreams/filter/line.hpp", - "external/sources/boost/boost/iostreams/filter/lzma.hpp", - "external/sources/boost/boost/iostreams/filter/newline.hpp", - "external/sources/boost/boost/iostreams/filter/regex.hpp", - "external/sources/boost/boost/iostreams/filter/stdio.hpp", - "external/sources/boost/boost/iostreams/filter/symmetric.hpp", - "external/sources/boost/boost/iostreams/filter/test.hpp", - "external/sources/boost/boost/iostreams/filter/zlib.hpp", - "external/sources/boost/boost/iostreams/filter/zstd.hpp", - "external/sources/boost/boost/iostreams/filtering_stream.hpp", - "external/sources/boost/boost/iostreams/filtering_streambuf.hpp", - "external/sources/boost/boost/iostreams/flush.hpp", - "external/sources/boost/boost/iostreams/get.hpp", - "external/sources/boost/boost/iostreams/imbue.hpp", - "external/sources/boost/boost/iostreams/input_sequence.hpp", - "external/sources/boost/boost/iostreams/invert.hpp", - "external/sources/boost/boost/iostreams/operations.hpp", - "external/sources/boost/boost/iostreams/operations_fwd.hpp", - "external/sources/boost/boost/iostreams/optimal_buffer_size.hpp", - "external/sources/boost/boost/iostreams/output_sequence.hpp", - "external/sources/boost/boost/iostreams/pipeline.hpp", - "external/sources/boost/boost/iostreams/positioning.hpp", - "external/sources/boost/boost/iostreams/put.hpp", - "external/sources/boost/boost/iostreams/putback.hpp", - "external/sources/boost/boost/iostreams/read.hpp", - "external/sources/boost/boost/iostreams/restrict.hpp", - "external/sources/boost/boost/iostreams/seek.hpp", - "external/sources/boost/boost/iostreams/skip.hpp", - "external/sources/boost/boost/iostreams/slice.hpp", - "external/sources/boost/boost/iostreams/stream.hpp", - "external/sources/boost/boost/iostreams/stream_buffer.hpp", - "external/sources/boost/boost/iostreams/tee.hpp", - "external/sources/boost/boost/iostreams/traits.hpp", - "external/sources/boost/boost/iostreams/traits_fwd.hpp", - "external/sources/boost/boost/iostreams/write.hpp", - "external/sources/boost/boost/is_placeholder.hpp", - "external/sources/boost/boost/iterator.hpp", - "external/sources/boost/boost/iterator/advance.hpp", - "external/sources/boost/boost/iterator/counting_iterator.hpp", - "external/sources/boost/boost/iterator/detail/any_conversion_eater.hpp", - "external/sources/boost/boost/iterator/detail/config_def.hpp", - "external/sources/boost/boost/iterator/detail/config_undef.hpp", - "external/sources/boost/boost/iterator/detail/enable_if.hpp", - "external/sources/boost/boost/iterator/detail/facade_iterator_category.hpp", - "external/sources/boost/boost/iterator/detail/minimum_category.hpp", - "external/sources/boost/boost/iterator/distance.hpp", - "external/sources/boost/boost/iterator/filter_iterator.hpp", - "external/sources/boost/boost/iterator/function_input_iterator.hpp", - "external/sources/boost/boost/iterator/function_output_iterator.hpp", - "external/sources/boost/boost/iterator/indirect_iterator.hpp", - "external/sources/boost/boost/iterator/interoperable.hpp", - "external/sources/boost/boost/iterator/is_lvalue_iterator.hpp", - "external/sources/boost/boost/iterator/is_readable_iterator.hpp", - "external/sources/boost/boost/iterator/iterator_adaptor.hpp", - "external/sources/boost/boost/iterator/iterator_archetypes.hpp", - "external/sources/boost/boost/iterator/iterator_categories.hpp", - "external/sources/boost/boost/iterator/iterator_concepts.hpp", - "external/sources/boost/boost/iterator/iterator_facade.hpp", - "external/sources/boost/boost/iterator/iterator_traits.hpp", - "external/sources/boost/boost/iterator/minimum_category.hpp", - "external/sources/boost/boost/iterator/new_iterator_tests.hpp", - "external/sources/boost/boost/iterator/permutation_iterator.hpp", - "external/sources/boost/boost/iterator/reverse_iterator.hpp", - "external/sources/boost/boost/iterator/transform_iterator.hpp", - "external/sources/boost/boost/iterator/zip_iterator.hpp", - "external/sources/boost/boost/iterator_adaptors.hpp", - "external/sources/boost/boost/lambda/algorithm.hpp", - "external/sources/boost/boost/lambda/bind.hpp", - "external/sources/boost/boost/lambda/casts.hpp", - "external/sources/boost/boost/lambda/closures.hpp", - "external/sources/boost/boost/lambda/construct.hpp", - "external/sources/boost/boost/lambda/control_structures.hpp", - "external/sources/boost/boost/lambda/core.hpp", - "external/sources/boost/boost/lambda/detail/actions.hpp", - "external/sources/boost/boost/lambda/detail/arity_code.hpp", - "external/sources/boost/boost/lambda/detail/bind_functions.hpp", - "external/sources/boost/boost/lambda/detail/control_constructs_common.hpp", - "external/sources/boost/boost/lambda/detail/function_adaptors.hpp", - "external/sources/boost/boost/lambda/detail/is_instance_of.hpp", - "external/sources/boost/boost/lambda/detail/lambda_config.hpp", - "external/sources/boost/boost/lambda/detail/lambda_functor_base.hpp", - "external/sources/boost/boost/lambda/detail/lambda_functors.hpp", - "external/sources/boost/boost/lambda/detail/lambda_fwd.hpp", - "external/sources/boost/boost/lambda/detail/lambda_traits.hpp", - "external/sources/boost/boost/lambda/detail/member_ptr.hpp", - "external/sources/boost/boost/lambda/detail/operator_actions.hpp", - "external/sources/boost/boost/lambda/detail/operator_lambda_func_base.hpp", - "external/sources/boost/boost/lambda/detail/operator_return_type_traits.hpp", - "external/sources/boost/boost/lambda/detail/operators.hpp", - "external/sources/boost/boost/lambda/detail/ret.hpp", - "external/sources/boost/boost/lambda/detail/return_type_traits.hpp", - "external/sources/boost/boost/lambda/detail/select_functions.hpp", - "external/sources/boost/boost/lambda/detail/suppress_unused.hpp", - "external/sources/boost/boost/lambda/exceptions.hpp", - "external/sources/boost/boost/lambda/if.hpp", - "external/sources/boost/boost/lambda/lambda.hpp", - "external/sources/boost/boost/lambda/loops.hpp", - "external/sources/boost/boost/lambda/numeric.hpp", - "external/sources/boost/boost/lambda/switch.hpp", - "external/sources/boost/boost/lexical_cast.hpp", - "external/sources/boost/boost/lexical_cast/bad_lexical_cast.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_lexical.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp", - "external/sources/boost/boost/lexical_cast/detail/converter_numeric.hpp", - "external/sources/boost/boost/lexical_cast/detail/inf_nan.hpp", - "external/sources/boost/boost/lexical_cast/detail/is_character.hpp", - "external/sources/boost/boost/lexical_cast/detail/lcast_char_constants.hpp", - "external/sources/boost/boost/lexical_cast/detail/lcast_unsigned_converters.hpp", - "external/sources/boost/boost/lexical_cast/detail/widest_char.hpp", - "external/sources/boost/boost/lexical_cast/lexical_cast_old.hpp", - "external/sources/boost/boost/lexical_cast/try_lexical_convert.hpp", - "external/sources/boost/boost/limits.hpp", - "external/sources/boost/boost/local_function.hpp", - "external/sources/boost/boost/local_function/aux_/add_pointed_const.hpp", - "external/sources/boost/boost/local_function/aux_/function.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/bind.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/functor.hpp", - "external/sources/boost/boost/local_function/aux_/macro/code_/result.hpp", - "external/sources/boost/boost/local_function/aux_/macro/decl.hpp", - "external/sources/boost/boost/local_function/aux_/macro/name.hpp", - "external/sources/boost/boost/local_function/aux_/macro/typeof.hpp", - "external/sources/boost/boost/local_function/aux_/member.hpp", - "external/sources/boost/boost/local_function/aux_/nobind.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/bind.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/append.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/index.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/nil.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/set_error.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_binds.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_const_binds.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_error.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_params.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_returns.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/any_bind_type.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/sign.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/defaults.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/this.hpp", - "external/sources/boost/boost/local_function/aux_/preprocessor/traits/param.hpp", - "external/sources/boost/boost/local_function/aux_/symbol.hpp", - "external/sources/boost/boost/local_function/config.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/auto.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/bind.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/const_bind.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/default.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/add.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/is.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/facility/remove.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/inline.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/recursive.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/register.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/return.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/this.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/thisunderscore.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/keyword/void.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/line_counter.hpp", - "external/sources/boost/boost/local_function/detail/preprocessor/void_list.hpp", - "external/sources/boost/boost/locale.hpp", - "external/sources/boost/boost/locale/boundary.hpp", - "external/sources/boost/boost/locale/boundary/boundary_point.hpp", - "external/sources/boost/boost/locale/boundary/facets.hpp", - "external/sources/boost/boost/locale/boundary/index.hpp", - "external/sources/boost/boost/locale/boundary/segment.hpp", - "external/sources/boost/boost/locale/boundary/types.hpp", - "external/sources/boost/boost/locale/collator.hpp", - "external/sources/boost/boost/locale/config.hpp", - "external/sources/boost/boost/locale/conversion.hpp", - "external/sources/boost/boost/locale/date_time.hpp", - "external/sources/boost/boost/locale/date_time_facet.hpp", - "external/sources/boost/boost/locale/definitions.hpp", - "external/sources/boost/boost/locale/encoding.hpp", - "external/sources/boost/boost/locale/encoding_errors.hpp", - "external/sources/boost/boost/locale/encoding_utf.hpp", - "external/sources/boost/boost/locale/format.hpp", - "external/sources/boost/boost/locale/formatting.hpp", - "external/sources/boost/boost/locale/generator.hpp", - "external/sources/boost/boost/locale/generic_codecvt.hpp", - "external/sources/boost/boost/locale/gnu_gettext.hpp", - "external/sources/boost/boost/locale/hold_ptr.hpp", - "external/sources/boost/boost/locale/info.hpp", - "external/sources/boost/boost/locale/localization_backend.hpp", - "external/sources/boost/boost/locale/message.hpp", - "external/sources/boost/boost/locale/time_zone.hpp", - "external/sources/boost/boost/locale/utf.hpp", - "external/sources/boost/boost/locale/utf8_codecvt.hpp", - "external/sources/boost/boost/locale/util.hpp", - "external/sources/boost/boost/lockfree/detail/atomic.hpp", - "external/sources/boost/boost/lockfree/detail/copy_payload.hpp", - "external/sources/boost/boost/lockfree/detail/freelist.hpp", - "external/sources/boost/boost/lockfree/detail/parameter.hpp", - "external/sources/boost/boost/lockfree/detail/prefix.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr_dcas.hpp", - "external/sources/boost/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp", - "external/sources/boost/boost/lockfree/lockfree_forward.hpp", - "external/sources/boost/boost/lockfree/policies.hpp", - "external/sources/boost/boost/lockfree/queue.hpp", - "external/sources/boost/boost/lockfree/spsc_queue.hpp", - "external/sources/boost/boost/lockfree/stack.hpp", - "external/sources/boost/boost/log/attributes.hpp", - "external/sources/boost/boost/log/attributes/attribute.hpp", - "external/sources/boost/boost/log/attributes/attribute_cast.hpp", - "external/sources/boost/boost/log/attributes/attribute_name.hpp", - "external/sources/boost/boost/log/attributes/attribute_set.hpp", - "external/sources/boost/boost/log/attributes/attribute_value.hpp", - "external/sources/boost/boost/log/attributes/attribute_value_impl.hpp", - "external/sources/boost/boost/log/attributes/attribute_value_set.hpp", - "external/sources/boost/boost/log/attributes/clock.hpp", - "external/sources/boost/boost/log/attributes/constant.hpp", - "external/sources/boost/boost/log/attributes/counter.hpp", - "external/sources/boost/boost/log/attributes/current_process_id.hpp", - "external/sources/boost/boost/log/attributes/current_process_name.hpp", - "external/sources/boost/boost/log/attributes/current_thread_id.hpp", - "external/sources/boost/boost/log/attributes/fallback_policy.hpp", - "external/sources/boost/boost/log/attributes/fallback_policy_fwd.hpp", - "external/sources/boost/boost/log/attributes/function.hpp", - "external/sources/boost/boost/log/attributes/mutable_constant.hpp", - "external/sources/boost/boost/log/attributes/named_scope.hpp", - "external/sources/boost/boost/log/attributes/scoped_attribute.hpp", - "external/sources/boost/boost/log/attributes/time_traits.hpp", - "external/sources/boost/boost/log/attributes/timer.hpp", - "external/sources/boost/boost/log/attributes/value_extraction.hpp", - "external/sources/boost/boost/log/attributes/value_extraction_fwd.hpp", - "external/sources/boost/boost/log/attributes/value_visitation.hpp", - "external/sources/boost/boost/log/attributes/value_visitation_fwd.hpp", - "external/sources/boost/boost/log/common.hpp", - "external/sources/boost/boost/log/core.hpp", - "external/sources/boost/boost/log/core/core.hpp", - "external/sources/boost/boost/log/core/record.hpp", - "external/sources/boost/boost/log/core/record_view.hpp", - "external/sources/boost/boost/log/detail/adaptive_mutex.hpp", - "external/sources/boost/boost/log/detail/allocator_traits.hpp", - "external/sources/boost/boost/log/detail/asio_fwd.hpp", - "external/sources/boost/boost/log/detail/attachable_sstream_buf.hpp", - "external/sources/boost/boost/log/detail/attr_output_impl.hpp", - "external/sources/boost/boost/log/detail/attr_output_terminal.hpp", - "external/sources/boost/boost/log/detail/attribute_get_value_impl.hpp", - "external/sources/boost/boost/log/detail/attribute_predicate.hpp", - "external/sources/boost/boost/log/detail/c_str.hpp", - "external/sources/boost/boost/log/detail/cleanup_scope_guard.hpp", - "external/sources/boost/boost/log/detail/code_conversion.hpp", - "external/sources/boost/boost/log/detail/config.hpp", - "external/sources/boost/boost/log/detail/copy_cv.hpp", - "external/sources/boost/boost/log/detail/custom_terminal_spec.hpp", - "external/sources/boost/boost/log/detail/date_time_fmt_gen_traits_fwd.hpp", - "external/sources/boost/boost/log/detail/date_time_format_parser.hpp", - "external/sources/boost/boost/log/detail/decomposed_time.hpp", - "external/sources/boost/boost/log/detail/deduce_char_type.hpp", - "external/sources/boost/boost/log/detail/default_attribute_names.hpp", - "external/sources/boost/boost/log/detail/embedded_string_type.hpp", - "external/sources/boost/boost/log/detail/enqueued_record.hpp", - "external/sources/boost/boost/log/detail/event.hpp", - "external/sources/boost/boost/log/detail/fake_mutex.hpp", - "external/sources/boost/boost/log/detail/footer.hpp", - "external/sources/boost/boost/log/detail/format.hpp", - "external/sources/boost/boost/log/detail/function_traits.hpp", - "external/sources/boost/boost/log/detail/generate_overloads.hpp", - "external/sources/boost/boost/log/detail/header.hpp", - "external/sources/boost/boost/log/detail/id.hpp", - "external/sources/boost/boost/log/detail/is_character_type.hpp", - "external/sources/boost/boost/log/detail/is_ostream.hpp", - "external/sources/boost/boost/log/detail/light_function.hpp", - "external/sources/boost/boost/log/detail/light_function_pp.hpp", - "external/sources/boost/boost/log/detail/light_rw_mutex.hpp", - "external/sources/boost/boost/log/detail/locking_ptr.hpp", - "external/sources/boost/boost/log/detail/locks.hpp", - "external/sources/boost/boost/log/detail/named_scope_fmt_pp.hpp", - "external/sources/boost/boost/log/detail/native_typeof.hpp", - "external/sources/boost/boost/log/detail/parameter_tools.hpp", - "external/sources/boost/boost/log/detail/pause.hpp", - "external/sources/boost/boost/log/detail/pp_identity.hpp", - "external/sources/boost/boost/log/detail/process_id.hpp", - "external/sources/boost/boost/log/detail/setup_config.hpp", - "external/sources/boost/boost/log/detail/sfinae_tools.hpp", - "external/sources/boost/boost/log/detail/singleton.hpp", - "external/sources/boost/boost/log/detail/sink_init_helpers.hpp", - "external/sources/boost/boost/log/detail/snprintf.hpp", - "external/sources/boost/boost/log/detail/tagged_integer.hpp", - "external/sources/boost/boost/log/detail/thread_id.hpp", - "external/sources/boost/boost/log/detail/thread_specific.hpp", - "external/sources/boost/boost/log/detail/threadsafe_queue.hpp", - "external/sources/boost/boost/log/detail/timestamp.hpp", - "external/sources/boost/boost/log/detail/trivial_keyword.hpp", - "external/sources/boost/boost/log/detail/unary_function_terminal.hpp", - "external/sources/boost/boost/log/detail/value_ref_visitation.hpp", - "external/sources/boost/boost/log/exceptions.hpp", - "external/sources/boost/boost/log/expressions.hpp", - "external/sources/boost/boost/log/expressions/attr.hpp", - "external/sources/boost/boost/log/expressions/attr_fwd.hpp", - "external/sources/boost/boost/log/expressions/filter.hpp", - "external/sources/boost/boost/log/expressions/formatter.hpp", - "external/sources/boost/boost/log/expressions/formatters.hpp", - "external/sources/boost/boost/log/expressions/formatters/auto_newline.hpp", - "external/sources/boost/boost/log/expressions/formatters/c_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/char_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/csv_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/date_time.hpp", - "external/sources/boost/boost/log/expressions/formatters/format.hpp", - "external/sources/boost/boost/log/expressions/formatters/if.hpp", - "external/sources/boost/boost/log/expressions/formatters/max_size_decorator.hpp", - "external/sources/boost/boost/log/expressions/formatters/named_scope.hpp", - "external/sources/boost/boost/log/expressions/formatters/stream.hpp", - "external/sources/boost/boost/log/expressions/formatters/wrap_formatter.hpp", - "external/sources/boost/boost/log/expressions/formatters/xml_decorator.hpp", - "external/sources/boost/boost/log/expressions/is_keyword_descriptor.hpp", - "external/sources/boost/boost/log/expressions/keyword.hpp", - "external/sources/boost/boost/log/expressions/keyword_fwd.hpp", - "external/sources/boost/boost/log/expressions/message.hpp", - "external/sources/boost/boost/log/expressions/predicates.hpp", - "external/sources/boost/boost/log/expressions/predicates/begins_with.hpp", - "external/sources/boost/boost/log/expressions/predicates/channel_severity_filter.hpp", - "external/sources/boost/boost/log/expressions/predicates/contains.hpp", - "external/sources/boost/boost/log/expressions/predicates/ends_with.hpp", - "external/sources/boost/boost/log/expressions/predicates/has_attr.hpp", - "external/sources/boost/boost/log/expressions/predicates/is_debugger_present.hpp", - "external/sources/boost/boost/log/expressions/predicates/is_in_range.hpp", - "external/sources/boost/boost/log/expressions/predicates/matches.hpp", - "external/sources/boost/boost/log/expressions/record.hpp", - "external/sources/boost/boost/log/keywords/auto_flush.hpp", - "external/sources/boost/boost/log/keywords/auto_newline_mode.hpp", - "external/sources/boost/boost/log/keywords/block_size.hpp", - "external/sources/boost/boost/log/keywords/capacity.hpp", - "external/sources/boost/boost/log/keywords/channel.hpp", - "external/sources/boost/boost/log/keywords/delimiter.hpp", - "external/sources/boost/boost/log/keywords/depth.hpp", - "external/sources/boost/boost/log/keywords/empty_marker.hpp", - "external/sources/boost/boost/log/keywords/enable_final_rotation.hpp", - "external/sources/boost/boost/log/keywords/facility.hpp", - "external/sources/boost/boost/log/keywords/file_name.hpp", - "external/sources/boost/boost/log/keywords/filter.hpp", - "external/sources/boost/boost/log/keywords/format.hpp", - "external/sources/boost/boost/log/keywords/ident.hpp", - "external/sources/boost/boost/log/keywords/incomplete_marker.hpp", - "external/sources/boost/boost/log/keywords/ip_version.hpp", - "external/sources/boost/boost/log/keywords/iteration.hpp", - "external/sources/boost/boost/log/keywords/log_name.hpp", - "external/sources/boost/boost/log/keywords/log_source.hpp", - "external/sources/boost/boost/log/keywords/max_files.hpp", - "external/sources/boost/boost/log/keywords/max_size.hpp", - "external/sources/boost/boost/log/keywords/message_file.hpp", - "external/sources/boost/boost/log/keywords/min_free_space.hpp", - "external/sources/boost/boost/log/keywords/name.hpp", - "external/sources/boost/boost/log/keywords/open_mode.hpp", - "external/sources/boost/boost/log/keywords/order.hpp", - "external/sources/boost/boost/log/keywords/ordering_window.hpp", - "external/sources/boost/boost/log/keywords/overflow_policy.hpp", - "external/sources/boost/boost/log/keywords/permissions.hpp", - "external/sources/boost/boost/log/keywords/registration.hpp", - "external/sources/boost/boost/log/keywords/rotation_size.hpp", - "external/sources/boost/boost/log/keywords/scan_method.hpp", - "external/sources/boost/boost/log/keywords/severity.hpp", - "external/sources/boost/boost/log/keywords/start_thread.hpp", - "external/sources/boost/boost/log/keywords/target.hpp", - "external/sources/boost/boost/log/keywords/target_file_name.hpp", - "external/sources/boost/boost/log/keywords/time_based_rotation.hpp", - "external/sources/boost/boost/log/keywords/use_impl.hpp", - "external/sources/boost/boost/log/sinks.hpp", - "external/sources/boost/boost/log/sinks/async_frontend.hpp", - "external/sources/boost/boost/log/sinks/attribute_mapping.hpp", - "external/sources/boost/boost/log/sinks/auto_newline_mode.hpp", - "external/sources/boost/boost/log/sinks/basic_sink_backend.hpp", - "external/sources/boost/boost/log/sinks/basic_sink_frontend.hpp", - "external/sources/boost/boost/log/sinks/block_on_overflow.hpp", - "external/sources/boost/boost/log/sinks/bounded_fifo_queue.hpp", - "external/sources/boost/boost/log/sinks/bounded_ordering_queue.hpp", - "external/sources/boost/boost/log/sinks/debug_output_backend.hpp", - "external/sources/boost/boost/log/sinks/drop_on_overflow.hpp", - "external/sources/boost/boost/log/sinks/event_log_backend.hpp", - "external/sources/boost/boost/log/sinks/event_log_constants.hpp", - "external/sources/boost/boost/log/sinks/frontend_requirements.hpp", - "external/sources/boost/boost/log/sinks/sink.hpp", - "external/sources/boost/boost/log/sinks/sync_frontend.hpp", - "external/sources/boost/boost/log/sinks/syslog_backend.hpp", - "external/sources/boost/boost/log/sinks/syslog_constants.hpp", - "external/sources/boost/boost/log/sinks/text_file_backend.hpp", - "external/sources/boost/boost/log/sinks/text_ipc_message_queue_backend.hpp", - "external/sources/boost/boost/log/sinks/text_multifile_backend.hpp", - "external/sources/boost/boost/log/sinks/text_ostream_backend.hpp", - "external/sources/boost/boost/log/sinks/unbounded_fifo_queue.hpp", - "external/sources/boost/boost/log/sinks/unbounded_ordering_queue.hpp", - "external/sources/boost/boost/log/sinks/unlocked_frontend.hpp", - "external/sources/boost/boost/log/sources/basic_logger.hpp", - "external/sources/boost/boost/log/sources/channel_feature.hpp", - "external/sources/boost/boost/log/sources/channel_logger.hpp", - "external/sources/boost/boost/log/sources/exception_handler_feature.hpp", - "external/sources/boost/boost/log/sources/features.hpp", - "external/sources/boost/boost/log/sources/global_logger_storage.hpp", - "external/sources/boost/boost/log/sources/logger.hpp", - "external/sources/boost/boost/log/sources/record_ostream.hpp", - "external/sources/boost/boost/log/sources/severity_channel_logger.hpp", - "external/sources/boost/boost/log/sources/severity_feature.hpp", - "external/sources/boost/boost/log/sources/severity_logger.hpp", - "external/sources/boost/boost/log/sources/threading_models.hpp", - "external/sources/boost/boost/log/support/date_time.hpp", - "external/sources/boost/boost/log/support/exception.hpp", - "external/sources/boost/boost/log/support/regex.hpp", - "external/sources/boost/boost/log/support/spirit_classic.hpp", - "external/sources/boost/boost/log/support/spirit_qi.hpp", - "external/sources/boost/boost/log/support/std_regex.hpp", - "external/sources/boost/boost/log/support/xpressive.hpp", - "external/sources/boost/boost/log/trivial.hpp", - "external/sources/boost/boost/log/utility/exception_handler.hpp", - "external/sources/boost/boost/log/utility/formatting_ostream.hpp", - "external/sources/boost/boost/log/utility/formatting_ostream_fwd.hpp", - "external/sources/boost/boost/log/utility/functional.hpp", - "external/sources/boost/boost/log/utility/functional/as_action.hpp", - "external/sources/boost/boost/log/utility/functional/begins_with.hpp", - "external/sources/boost/boost/log/utility/functional/bind.hpp", - "external/sources/boost/boost/log/utility/functional/bind_assign.hpp", - "external/sources/boost/boost/log/utility/functional/bind_output.hpp", - "external/sources/boost/boost/log/utility/functional/bind_to_log.hpp", - "external/sources/boost/boost/log/utility/functional/contains.hpp", - "external/sources/boost/boost/log/utility/functional/ends_with.hpp", - "external/sources/boost/boost/log/utility/functional/fun_ref.hpp", - "external/sources/boost/boost/log/utility/functional/in_range.hpp", - "external/sources/boost/boost/log/utility/functional/logical.hpp", - "external/sources/boost/boost/log/utility/functional/matches.hpp", - "external/sources/boost/boost/log/utility/functional/nop.hpp", - "external/sources/boost/boost/log/utility/functional/save_result.hpp", - "external/sources/boost/boost/log/utility/ipc/object_name.hpp", - "external/sources/boost/boost/log/utility/ipc/reliable_message_queue.hpp", - "external/sources/boost/boost/log/utility/manipulators.hpp", - "external/sources/boost/boost/log/utility/manipulators/add_value.hpp", - "external/sources/boost/boost/log/utility/manipulators/auto_newline.hpp", - "external/sources/boost/boost/log/utility/manipulators/dump.hpp", - "external/sources/boost/boost/log/utility/manipulators/optional.hpp", - "external/sources/boost/boost/log/utility/manipulators/range.hpp", - "external/sources/boost/boost/log/utility/manipulators/to_log.hpp", - "external/sources/boost/boost/log/utility/manipulators/tuple.hpp", - "external/sources/boost/boost/log/utility/once_block.hpp", - "external/sources/boost/boost/log/utility/open_mode.hpp", - "external/sources/boost/boost/log/utility/permissions.hpp", - "external/sources/boost/boost/log/utility/record_ordering.hpp", - "external/sources/boost/boost/log/utility/setup.hpp", - "external/sources/boost/boost/log/utility/setup/common_attributes.hpp", - "external/sources/boost/boost/log/utility/setup/console.hpp", - "external/sources/boost/boost/log/utility/setup/file.hpp", - "external/sources/boost/boost/log/utility/setup/filter_parser.hpp", - "external/sources/boost/boost/log/utility/setup/formatter_parser.hpp", - "external/sources/boost/boost/log/utility/setup/from_settings.hpp", - "external/sources/boost/boost/log/utility/setup/from_stream.hpp", - "external/sources/boost/boost/log/utility/setup/settings.hpp", - "external/sources/boost/boost/log/utility/setup/settings_parser.hpp", - "external/sources/boost/boost/log/utility/strictest_lock.hpp", - "external/sources/boost/boost/log/utility/string_literal.hpp", - "external/sources/boost/boost/log/utility/string_literal_fwd.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/date_time_types.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/dynamic_type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/standard_types.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/static_type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/type_dispatch/type_dispatcher.hpp", - "external/sources/boost/boost/log/utility/unique_identifier_name.hpp", - "external/sources/boost/boost/log/utility/unused_variable.hpp", - "external/sources/boost/boost/log/utility/value_ref.hpp", - "external/sources/boost/boost/log/utility/value_ref_fwd.hpp", - "external/sources/boost/boost/logic/tribool.hpp", - "external/sources/boost/boost/logic/tribool_fwd.hpp", - "external/sources/boost/boost/logic/tribool_io.hpp", - "external/sources/boost/boost/make_default.hpp", - "external/sources/boost/boost/make_shared.hpp", - "external/sources/boost/boost/make_unique.hpp", - "external/sources/boost/boost/math/bindings/detail/big_digamma.hpp", - "external/sources/boost/boost/math/bindings/detail/big_lanczos.hpp", - "external/sources/boost/boost/math/bindings/e_float.hpp", - "external/sources/boost/boost/math/bindings/mpfr.hpp", - "external/sources/boost/boost/math/bindings/mpreal.hpp", - "external/sources/boost/boost/math/bindings/rr.hpp", - "external/sources/boost/boost/math/common_factor.hpp", - "external/sources/boost/boost/math/common_factor_ct.hpp", - "external/sources/boost/boost/math/common_factor_rt.hpp", - "external/sources/boost/boost/math/complex.hpp", - "external/sources/boost/boost/math/complex/acos.hpp", - "external/sources/boost/boost/math/complex/acosh.hpp", - "external/sources/boost/boost/math/complex/asin.hpp", - "external/sources/boost/boost/math/complex/asinh.hpp", - "external/sources/boost/boost/math/complex/atan.hpp", - "external/sources/boost/boost/math/complex/atanh.hpp", - "external/sources/boost/boost/math/complex/details.hpp", - "external/sources/boost/boost/math/complex/fabs.hpp", - "external/sources/boost/boost/math/concepts/distributions.hpp", - "external/sources/boost/boost/math/concepts/real_concept.hpp", - "external/sources/boost/boost/math/concepts/real_type_concept.hpp", - "external/sources/boost/boost/math/concepts/std_real_concept.hpp", - "external/sources/boost/boost/math/constants/calculate_constants.hpp", - "external/sources/boost/boost/math/constants/constants.hpp", - "external/sources/boost/boost/math/constants/info.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_cmath.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_complex_std.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_iostream.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_limits.hpp", - "external/sources/boost/boost/math/cstdfloat/cstdfloat_types.hpp", - "external/sources/boost/boost/math/differentiation/autodiff.hpp", - "external/sources/boost/boost/math/differentiation/autodiff_cpp11.hpp", - "external/sources/boost/boost/math/differentiation/finite_difference.hpp", - "external/sources/boost/boost/math/differentiation/lanczos_smoothing.hpp", - "external/sources/boost/boost/math/distributions.hpp", - "external/sources/boost/boost/math/distributions/arcsine.hpp", - "external/sources/boost/boost/math/distributions/bernoulli.hpp", - "external/sources/boost/boost/math/distributions/beta.hpp", - "external/sources/boost/boost/math/distributions/binomial.hpp", - "external/sources/boost/boost/math/distributions/cauchy.hpp", - "external/sources/boost/boost/math/distributions/chi_squared.hpp", - "external/sources/boost/boost/math/distributions/complement.hpp", - "external/sources/boost/boost/math/distributions/detail/common_error_handling.hpp", - "external/sources/boost/boost/math/distributions/detail/derived_accessors.hpp", - "external/sources/boost/boost/math/distributions/detail/generic_mode.hpp", - "external/sources/boost/boost/math/distributions/detail/generic_quantile.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_cdf.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_pdf.hpp", - "external/sources/boost/boost/math/distributions/detail/hypergeometric_quantile.hpp", - "external/sources/boost/boost/math/distributions/detail/inv_discrete_quantile.hpp", - "external/sources/boost/boost/math/distributions/empirical_cumulative_distribution_function.hpp", - "external/sources/boost/boost/math/distributions/exponential.hpp", - "external/sources/boost/boost/math/distributions/extreme_value.hpp", - "external/sources/boost/boost/math/distributions/find_location.hpp", - "external/sources/boost/boost/math/distributions/find_scale.hpp", - "external/sources/boost/boost/math/distributions/fisher_f.hpp", - "external/sources/boost/boost/math/distributions/fwd.hpp", - "external/sources/boost/boost/math/distributions/gamma.hpp", - "external/sources/boost/boost/math/distributions/geometric.hpp", - "external/sources/boost/boost/math/distributions/hyperexponential.hpp", - "external/sources/boost/boost/math/distributions/hypergeometric.hpp", - "external/sources/boost/boost/math/distributions/inverse_chi_squared.hpp", - "external/sources/boost/boost/math/distributions/inverse_gamma.hpp", - "external/sources/boost/boost/math/distributions/inverse_gaussian.hpp", - "external/sources/boost/boost/math/distributions/laplace.hpp", - "external/sources/boost/boost/math/distributions/logistic.hpp", - "external/sources/boost/boost/math/distributions/lognormal.hpp", - "external/sources/boost/boost/math/distributions/negative_binomial.hpp", - "external/sources/boost/boost/math/distributions/non_central_beta.hpp", - "external/sources/boost/boost/math/distributions/non_central_chi_squared.hpp", - "external/sources/boost/boost/math/distributions/non_central_f.hpp", - "external/sources/boost/boost/math/distributions/non_central_t.hpp", - "external/sources/boost/boost/math/distributions/normal.hpp", - "external/sources/boost/boost/math/distributions/pareto.hpp", - "external/sources/boost/boost/math/distributions/poisson.hpp", - "external/sources/boost/boost/math/distributions/rayleigh.hpp", - "external/sources/boost/boost/math/distributions/skew_normal.hpp", - "external/sources/boost/boost/math/distributions/students_t.hpp", - "external/sources/boost/boost/math/distributions/triangular.hpp", - "external/sources/boost/boost/math/distributions/uniform.hpp", - "external/sources/boost/boost/math/distributions/weibull.hpp", - "external/sources/boost/boost/math/filters/daubechies.hpp", - "external/sources/boost/boost/math/interpolators/barycentric_rational.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_cubic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_quintic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cardinal_trigonometric.hpp", - "external/sources/boost/boost/math/interpolators/catmull_rom.hpp", - "external/sources/boost/boost/math/interpolators/cubic_b_spline.hpp", - "external/sources/boost/boost/math/interpolators/cubic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/detail/barycentric_rational_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_cubic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_quadratic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_quintic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cardinal_trigonometric_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cubic_b_spline_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/cubic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/quintic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/septic_hermite_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/vector_barycentric_rational_detail.hpp", - "external/sources/boost/boost/math/interpolators/detail/whittaker_shannon_detail.hpp", - "external/sources/boost/boost/math/interpolators/makima.hpp", - "external/sources/boost/boost/math/interpolators/pchip.hpp", - "external/sources/boost/boost/math/interpolators/quintic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/septic_hermite.hpp", - "external/sources/boost/boost/math/interpolators/vector_barycentric_rational.hpp", - "external/sources/boost/boost/math/interpolators/whittaker_shannon.hpp", - "external/sources/boost/boost/math/octonion.hpp", - "external/sources/boost/boost/math/policies/error_handling.hpp", - "external/sources/boost/boost/math/policies/policy.hpp", - "external/sources/boost/boost/math/quadrature/detail/exp_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/ooura_fourier_integrals_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/sinh_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_constants.hpp", - "external/sources/boost/boost/math/quadrature/detail/tanh_sinh_detail.hpp", - "external/sources/boost/boost/math/quadrature/exp_sinh.hpp", - "external/sources/boost/boost/math/quadrature/gauss.hpp", - "external/sources/boost/boost/math/quadrature/gauss_kronrod.hpp", - "external/sources/boost/boost/math/quadrature/naive_monte_carlo.hpp", - "external/sources/boost/boost/math/quadrature/ooura_fourier_integrals.hpp", - "external/sources/boost/boost/math/quadrature/sinh_sinh.hpp", - "external/sources/boost/boost/math/quadrature/tanh_sinh.hpp", - "external/sources/boost/boost/math/quadrature/trapezoidal.hpp", - "external/sources/boost/boost/math/quadrature/wavelet_transforms.hpp", - "external/sources/boost/boost/math/quaternion.hpp", - "external/sources/boost/boost/math/special_functions.hpp", - "external/sources/boost/boost/math/special_functions/acosh.hpp", - "external/sources/boost/boost/math/special_functions/airy.hpp", - "external/sources/boost/boost/math/special_functions/asinh.hpp", - "external/sources/boost/boost/math/special_functions/atanh.hpp", - "external/sources/boost/boost/math/special_functions/bernoulli.hpp", - "external/sources/boost/boost/math/special_functions/bessel.hpp", - "external/sources/boost/boost/math/special_functions/bessel_iterators.hpp", - "external/sources/boost/boost/math/special_functions/bessel_prime.hpp", - "external/sources/boost/boost/math/special_functions/beta.hpp", - "external/sources/boost/boost/math/special_functions/binomial.hpp", - "external/sources/boost/boost/math/special_functions/cardinal_b_spline.hpp", - "external/sources/boost/boost/math/special_functions/cbrt.hpp", - "external/sources/boost/boost/math/special_functions/chebyshev.hpp", - "external/sources/boost/boost/math/special_functions/chebyshev_transform.hpp", - "external/sources/boost/boost/math/special_functions/cos_pi.hpp", - "external/sources/boost/boost/math/special_functions/daubechies_scaling.hpp", - "external/sources/boost/boost/math/special_functions/daubechies_wavelet.hpp", - "external/sources/boost/boost/math/special_functions/detail/airy_ai_bi_zero.hpp", - "external/sources/boost/boost/math/special_functions/detail/bernoulli_details.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_derivatives_linear.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_i0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_i1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_ik.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_j0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_j1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jn.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_jy_zero.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_k0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_k1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_kn.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_y0.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_y1.hpp", - "external/sources/boost/boost/math/special_functions/detail/bessel_yn.hpp", - "external/sources/boost/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp", - "external/sources/boost/boost/math/special_functions/detail/erf_inv.hpp", - "external/sources/boost/boost/math/special_functions/detail/fp_traits.hpp", - "external/sources/boost/boost/math/special_functions/detail/gamma_inva.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_0F1_bessel.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_addition_theorems_on_z.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_bessel.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_by_ratios.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_cf.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_a.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_large_abz.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_negative_b_regions.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_scaled_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_1F1_small_a_negative_b_by_ratio.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_asym.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_cf.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pFq_checked_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_pade.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_rational.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_separated_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/hypergeometric_series.hpp", - "external/sources/boost/boost/math/special_functions/detail/ibeta_inv_ab.hpp", - "external/sources/boost/boost/math/special_functions/detail/ibeta_inverse.hpp", - "external/sources/boost/boost/math/special_functions/detail/iconv.hpp", - "external/sources/boost/boost/math/special_functions/detail/igamma_inverse.hpp", - "external/sources/boost/boost/math/special_functions/detail/igamma_large.hpp", - "external/sources/boost/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", - "external/sources/boost/boost/math/special_functions/detail/lanczos_sse2.hpp", - "external/sources/boost/boost/math/special_functions/detail/lgamma_small.hpp", - "external/sources/boost/boost/math/special_functions/detail/polygamma.hpp", - "external/sources/boost/boost/math/special_functions/detail/round_fwd.hpp", - "external/sources/boost/boost/math/special_functions/detail/t_distribution_inv.hpp", - "external/sources/boost/boost/math/special_functions/detail/unchecked_bernoulli.hpp", - "external/sources/boost/boost/math/special_functions/detail/unchecked_factorial.hpp", - "external/sources/boost/boost/math/special_functions/digamma.hpp", - "external/sources/boost/boost/math/special_functions/ellint_1.hpp", - "external/sources/boost/boost/math/special_functions/ellint_2.hpp", - "external/sources/boost/boost/math/special_functions/ellint_3.hpp", - "external/sources/boost/boost/math/special_functions/ellint_d.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rc.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rd.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rf.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rg.hpp", - "external/sources/boost/boost/math/special_functions/ellint_rj.hpp", - "external/sources/boost/boost/math/special_functions/erf.hpp", - "external/sources/boost/boost/math/special_functions/expint.hpp", - "external/sources/boost/boost/math/special_functions/expm1.hpp", - "external/sources/boost/boost/math/special_functions/factorials.hpp", - "external/sources/boost/boost/math/special_functions/fpclassify.hpp", - "external/sources/boost/boost/math/special_functions/gamma.hpp", - "external/sources/boost/boost/math/special_functions/gegenbauer.hpp", - "external/sources/boost/boost/math/special_functions/hankel.hpp", - "external/sources/boost/boost/math/special_functions/hermite.hpp", - "external/sources/boost/boost/math/special_functions/heuman_lambda.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_0F1.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_1F0.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_1F1.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_2F0.hpp", - "external/sources/boost/boost/math/special_functions/hypergeometric_pFq.hpp", - "external/sources/boost/boost/math/special_functions/hypot.hpp", - "external/sources/boost/boost/math/special_functions/jacobi.hpp", - "external/sources/boost/boost/math/special_functions/jacobi_elliptic.hpp", - "external/sources/boost/boost/math/special_functions/jacobi_zeta.hpp", - "external/sources/boost/boost/math/special_functions/laguerre.hpp", - "external/sources/boost/boost/math/special_functions/lambert_w.hpp", - "external/sources/boost/boost/math/special_functions/lanczos.hpp", - "external/sources/boost/boost/math/special_functions/legendre.hpp", - "external/sources/boost/boost/math/special_functions/legendre_stieltjes.hpp", - "external/sources/boost/boost/math/special_functions/log1p.hpp", - "external/sources/boost/boost/math/special_functions/math_fwd.hpp", - "external/sources/boost/boost/math/special_functions/modf.hpp", - "external/sources/boost/boost/math/special_functions/next.hpp", - "external/sources/boost/boost/math/special_functions/nonfinite_num_facets.hpp", - "external/sources/boost/boost/math/special_functions/owens_t.hpp", - "external/sources/boost/boost/math/special_functions/polygamma.hpp", - "external/sources/boost/boost/math/special_functions/pow.hpp", - "external/sources/boost/boost/math/special_functions/powm1.hpp", - "external/sources/boost/boost/math/special_functions/prime.hpp", - "external/sources/boost/boost/math/special_functions/relative_difference.hpp", - "external/sources/boost/boost/math/special_functions/round.hpp", - "external/sources/boost/boost/math/special_functions/sign.hpp", - "external/sources/boost/boost/math/special_functions/sin_pi.hpp", - "external/sources/boost/boost/math/special_functions/sinc.hpp", - "external/sources/boost/boost/math/special_functions/sinhc.hpp", - "external/sources/boost/boost/math/special_functions/spherical_harmonic.hpp", - "external/sources/boost/boost/math/special_functions/sqrt1pm1.hpp", - "external/sources/boost/boost/math/special_functions/trigamma.hpp", - "external/sources/boost/boost/math/special_functions/trunc.hpp", - "external/sources/boost/boost/math/special_functions/ulp.hpp", - "external/sources/boost/boost/math/special_functions/zeta.hpp", - "external/sources/boost/boost/math/statistics/anderson_darling.hpp", - "external/sources/boost/boost/math/statistics/bivariate_statistics.hpp", - "external/sources/boost/boost/math/statistics/linear_regression.hpp", - "external/sources/boost/boost/math/statistics/ljung_box.hpp", - "external/sources/boost/boost/math/statistics/runs_test.hpp", - "external/sources/boost/boost/math/statistics/signal_statistics.hpp", - "external/sources/boost/boost/math/statistics/t_test.hpp", - "external/sources/boost/boost/math/statistics/univariate_statistics.hpp", - "external/sources/boost/boost/math/tools/atomic.hpp", - "external/sources/boost/boost/math/tools/big_constant.hpp", - "external/sources/boost/boost/math/tools/bivariate_statistics.hpp", - "external/sources/boost/boost/math/tools/complex.hpp", - "external/sources/boost/boost/math/tools/condition_numbers.hpp", - "external/sources/boost/boost/math/tools/config.hpp", - "external/sources/boost/boost/math/tools/convert_from_string.hpp", - "external/sources/boost/boost/math/tools/cxx03_warn.hpp", - "external/sources/boost/boost/math/tools/detail/is_const_iterable.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner1_9.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner2_9.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_10.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_11.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_12.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_13.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_14.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_15.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_16.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_17.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_18.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_19.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_2.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_20.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_3.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_4.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_5.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_6.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_7.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_8.hpp", - "external/sources/boost/boost/math/tools/detail/polynomial_horner3_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner1_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner2_9.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_10.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_11.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_12.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_13.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_14.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_15.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_16.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_17.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_18.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_19.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_2.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_20.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_3.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_4.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_5.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_6.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_7.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_8.hpp", - "external/sources/boost/boost/math/tools/detail/rational_horner3_9.hpp", - "external/sources/boost/boost/math/tools/fraction.hpp", - "external/sources/boost/boost/math/tools/minima.hpp", - "external/sources/boost/boost/math/tools/norms.hpp", - "external/sources/boost/boost/math/tools/numerical_differentiation.hpp", - "external/sources/boost/boost/math/tools/polynomial.hpp", - "external/sources/boost/boost/math/tools/polynomial_gcd.hpp", - "external/sources/boost/boost/math/tools/precision.hpp", - "external/sources/boost/boost/math/tools/promotion.hpp", - "external/sources/boost/boost/math/tools/rational.hpp", - "external/sources/boost/boost/math/tools/real_cast.hpp", - "external/sources/boost/boost/math/tools/recurrence.hpp", - "external/sources/boost/boost/math/tools/roots.hpp", - "external/sources/boost/boost/math/tools/series.hpp", - "external/sources/boost/boost/math/tools/signal_statistics.hpp", - "external/sources/boost/boost/math/tools/stats.hpp", - "external/sources/boost/boost/math/tools/test_value.hpp", - "external/sources/boost/boost/math/tools/toms748_solve.hpp", - "external/sources/boost/boost/math/tools/traits.hpp", - "external/sources/boost/boost/math/tools/tuple.hpp", - "external/sources/boost/boost/math/tools/univariate_statistics.hpp", - "external/sources/boost/boost/math/tools/user.hpp", - "external/sources/boost/boost/math/tools/workaround.hpp", - "external/sources/boost/boost/math/tr1.hpp", - "external/sources/boost/boost/math/tr1_c_macros.ipp", - "external/sources/boost/boost/math_fwd.hpp", - "external/sources/boost/boost/mem_fn.hpp", - "external/sources/boost/boost/memory_order.hpp", - "external/sources/boost/boost/metaparse.hpp", - "external/sources/boost/boost/metaparse/accept.hpp", - "external/sources/boost/boost/metaparse/accept_tag.hpp", - "external/sources/boost/boost/metaparse/accept_when.hpp", - "external/sources/boost/boost/metaparse/alphanum.hpp", - "external/sources/boost/boost/metaparse/always.hpp", - "external/sources/boost/boost/metaparse/always_c.hpp", - "external/sources/boost/boost/metaparse/change_error_message.hpp", - "external/sources/boost/boost/metaparse/config.hpp", - "external/sources/boost/boost/metaparse/debug_parsing_error.hpp", - "external/sources/boost/boost/metaparse/define_error.hpp", - "external/sources/boost/boost/metaparse/digit.hpp", - "external/sources/boost/boost/metaparse/digit_val.hpp", - "external/sources/boost/boost/metaparse/empty.hpp", - "external/sources/boost/boost/metaparse/entire_input.hpp", - "external/sources/boost/boost/metaparse/error/digit_expected.hpp", - "external/sources/boost/boost/metaparse/error/end_of_input_expected.hpp", - "external/sources/boost/boost/metaparse/error/index_out_of_range.hpp", - "external/sources/boost/boost/metaparse/error/letter_expected.hpp", - "external/sources/boost/boost/metaparse/error/literal_expected.hpp", - "external/sources/boost/boost/metaparse/error/none_of_the_expected_cases_found.hpp", - "external/sources/boost/boost/metaparse/error/unexpected_character.hpp", - "external/sources/boost/boost/metaparse/error/unexpected_end_of_input.hpp", - "external/sources/boost/boost/metaparse/error/unpaired.hpp", - "external/sources/boost/boost/metaparse/error/whitespace_expected.hpp", - "external/sources/boost/boost/metaparse/except.hpp", - "external/sources/boost/boost/metaparse/fail.hpp", - "external/sources/boost/boost/metaparse/fail_at_first_char_expected.hpp", - "external/sources/boost/boost/metaparse/fail_tag.hpp", - "external/sources/boost/boost/metaparse/first_of.hpp", - "external/sources/boost/boost/metaparse/foldl.hpp", - "external/sources/boost/boost/metaparse/foldl1.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/foldl_reject_incomplete_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/foldl_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/foldr.hpp", - "external/sources/boost/boost/metaparse/foldr1.hpp", - "external/sources/boost/boost/metaparse/foldr_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/foldr_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/foldr_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/get_col.hpp", - "external/sources/boost/boost/metaparse/get_line.hpp", - "external/sources/boost/boost/metaparse/get_message.hpp", - "external/sources/boost/boost/metaparse/get_position.hpp", - "external/sources/boost/boost/metaparse/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/get_remaining.hpp", - "external/sources/boost/boost/metaparse/get_result.hpp", - "external/sources/boost/boost/metaparse/grammar.hpp", - "external/sources/boost/boost/metaparse/if_.hpp", - "external/sources/boost/boost/metaparse/int_.hpp", - "external/sources/boost/boost/metaparse/is_error.hpp", - "external/sources/boost/boost/metaparse/iterate.hpp", - "external/sources/boost/boost/metaparse/iterate_c.hpp", - "external/sources/boost/boost/metaparse/keyword.hpp", - "external/sources/boost/boost/metaparse/last_of.hpp", - "external/sources/boost/boost/metaparse/letter.hpp", - "external/sources/boost/boost/metaparse/limit_one_char_except_size.hpp", - "external/sources/boost/boost/metaparse/limit_one_of_size.hpp", - "external/sources/boost/boost/metaparse/limit_sequence_size.hpp", - "external/sources/boost/boost/metaparse/limit_string_size.hpp", - "external/sources/boost/boost/metaparse/lit.hpp", - "external/sources/boost/boost/metaparse/lit_c.hpp", - "external/sources/boost/boost/metaparse/look_ahead.hpp", - "external/sources/boost/boost/metaparse/middle_of.hpp", - "external/sources/boost/boost/metaparse/next_char.hpp", - "external/sources/boost/boost/metaparse/next_line.hpp", - "external/sources/boost/boost/metaparse/nth_of.hpp", - "external/sources/boost/boost/metaparse/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/one_char.hpp", - "external/sources/boost/boost/metaparse/one_char_except.hpp", - "external/sources/boost/boost/metaparse/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/one_of.hpp", - "external/sources/boost/boost/metaparse/one_of_c.hpp", - "external/sources/boost/boost/metaparse/optional.hpp", - "external/sources/boost/boost/metaparse/range.hpp", - "external/sources/boost/boost/metaparse/range_c.hpp", - "external/sources/boost/boost/metaparse/reject.hpp", - "external/sources/boost/boost/metaparse/repeated.hpp", - "external/sources/boost/boost/metaparse/repeated1.hpp", - "external/sources/boost/boost/metaparse/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/repeated_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/repeated_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/return_.hpp", - "external/sources/boost/boost/metaparse/sequence.hpp", - "external/sources/boost/boost/metaparse/sequence_apply.hpp", - "external/sources/boost/boost/metaparse/source_position.hpp", - "external/sources/boost/boost/metaparse/source_position_tag.hpp", - "external/sources/boost/boost/metaparse/space.hpp", - "external/sources/boost/boost/metaparse/spaces.hpp", - "external/sources/boost/boost/metaparse/start.hpp", - "external/sources/boost/boost/metaparse/string.hpp", - "external/sources/boost/boost/metaparse/string_tag.hpp", - "external/sources/boost/boost/metaparse/token.hpp", - "external/sources/boost/boost/metaparse/transform.hpp", - "external/sources/boost/boost/metaparse/transform_error.hpp", - "external/sources/boost/boost/metaparse/transform_error_message.hpp", - "external/sources/boost/boost/metaparse/unless_error.hpp", - "external/sources/boost/boost/metaparse/util/digit_to_int.hpp", - "external/sources/boost/boost/metaparse/util/digit_to_int_c.hpp", - "external/sources/boost/boost/metaparse/util/in_range.hpp", - "external/sources/boost/boost/metaparse/util/in_range_c.hpp", - "external/sources/boost/boost/metaparse/util/int_to_digit.hpp", - "external/sources/boost/boost/metaparse/util/int_to_digit_c.hpp", - "external/sources/boost/boost/metaparse/util/is_digit.hpp", - "external/sources/boost/boost/metaparse/util/is_lcase_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_ucase_letter.hpp", - "external/sources/boost/boost/metaparse/util/is_whitespace.hpp", - "external/sources/boost/boost/metaparse/util/is_whitespace_c.hpp", - "external/sources/boost/boost/metaparse/v1/accept.hpp", - "external/sources/boost/boost/metaparse/v1/accept_tag.hpp", - "external/sources/boost/boost/metaparse/v1/accept_when.hpp", - "external/sources/boost/boost/metaparse/v1/alphanum.hpp", - "external/sources/boost/boost/metaparse/v1/always.hpp", - "external/sources/boost/boost/metaparse/v1/always_c.hpp", - "external/sources/boost/boost/metaparse/v1/change_error_message.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/any_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/concat.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/empty_string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/eval_later_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/is_none_c_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/nth_of_c_skip_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/or_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_back.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/pop_front.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_back_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/push_front_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/size.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/impl/string_at.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp11/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp14/impl/any_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp14/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/empty_string.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/is_none.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/later_result.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/nth_of_c_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_char_except_not_used.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/one_of_fwd_op.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_back.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/pop_front.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_back_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/push_front_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/size.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/skip_seq.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/impl/update_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/cpp98/string.hpp", - "external/sources/boost/boost/metaparse/v1/debug_parsing_error.hpp", - "external/sources/boost/boost/metaparse/v1/define_error.hpp", - "external/sources/boost/boost/metaparse/v1/digit.hpp", - "external/sources/boost/boost/metaparse/v1/digit_val.hpp", - "external/sources/boost/boost/metaparse/v1/empty.hpp", - "external/sources/boost/boost/metaparse/v1/entire_input.hpp", - "external/sources/boost/boost/metaparse/v1/error/digit_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/end_of_input_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/expected_to_fail.hpp", - "external/sources/boost/boost/metaparse/v1/error/index_out_of_range.hpp", - "external/sources/boost/boost/metaparse/v1/error/letter_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/literal_expected.hpp", - "external/sources/boost/boost/metaparse/v1/error/none_of_the_expected_cases_found.hpp", - "external/sources/boost/boost/metaparse/v1/error/unexpected_character.hpp", - "external/sources/boost/boost/metaparse/v1/error/unexpected_end_of_input.hpp", - "external/sources/boost/boost/metaparse/v1/error/unpaired.hpp", - "external/sources/boost/boost/metaparse/v1/error/whitespace_expected.hpp", - "external/sources/boost/boost/metaparse/v1/except.hpp", - "external/sources/boost/boost/metaparse/v1/fail.hpp", - "external/sources/boost/boost/metaparse/v1/fail_at_first_char_expected.hpp", - "external/sources/boost/boost/metaparse/v1/fail_tag.hpp", - "external/sources/boost/boost/metaparse/v1/first_of.hpp", - "external/sources/boost/boost/metaparse/v1/foldl.hpp", - "external/sources/boost/boost/metaparse/v1/foldl1.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_reject_incomplete_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/foldl_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/foldr.hpp", - "external/sources/boost/boost/metaparse/v1/foldr1.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/foldr_start_with_parser.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/accept.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_col.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_line.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_message.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_position.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/get_result.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/next_char.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/next_line.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/reject.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/source_position.hpp", - "external/sources/boost/boost/metaparse/v1/fwd/string.hpp", - "external/sources/boost/boost/metaparse/v1/get_col.hpp", - "external/sources/boost/boost/metaparse/v1/get_line.hpp", - "external/sources/boost/boost/metaparse/v1/get_message.hpp", - "external/sources/boost/boost/metaparse/v1/get_position.hpp", - "external/sources/boost/boost/metaparse/v1/get_prev_char.hpp", - "external/sources/boost/boost/metaparse/v1/get_remaining.hpp", - "external/sources/boost/boost/metaparse/v1/get_result.hpp", - "external/sources/boost/boost/metaparse/v1/grammar.hpp", - "external/sources/boost/boost/metaparse/v1/if_.hpp", - "external/sources/boost/boost/metaparse/v1/impl/apply_parser.hpp", - "external/sources/boost/boost/metaparse/v1/impl/assert_string_length.hpp", - "external/sources/boost/boost/metaparse/v1/impl/at_c.hpp", - "external/sources/boost/boost/metaparse/v1/impl/back_inserter.hpp", - "external/sources/boost/boost/metaparse/v1/impl/front_inserter.hpp", - "external/sources/boost/boost/metaparse/v1/impl/fwd/iterate_impl.hpp", - "external/sources/boost/boost/metaparse/v1/impl/has_type.hpp", - "external/sources/boost/boost/metaparse/v1/impl/is_char_c.hpp", - "external/sources/boost/boost/metaparse/v1/impl/iterate_impl.hpp", - "external/sources/boost/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp", - "external/sources/boost/boost/metaparse/v1/impl/next_digit.hpp", - "external/sources/boost/boost/metaparse/v1/impl/no_char.hpp", - "external/sources/boost/boost/metaparse/v1/impl/returns.hpp", - "external/sources/boost/boost/metaparse/v1/impl/string_iterator.hpp", - "external/sources/boost/boost/metaparse/v1/impl/string_iterator_tag.hpp", - "external/sources/boost/boost/metaparse/v1/impl/void_.hpp", - "external/sources/boost/boost/metaparse/v1/int_.hpp", - "external/sources/boost/boost/metaparse/v1/is_error.hpp", - "external/sources/boost/boost/metaparse/v1/iterate.hpp", - "external/sources/boost/boost/metaparse/v1/iterate_c.hpp", - "external/sources/boost/boost/metaparse/v1/keyword.hpp", - "external/sources/boost/boost/metaparse/v1/last_of.hpp", - "external/sources/boost/boost/metaparse/v1/letter.hpp", - "external/sources/boost/boost/metaparse/v1/lit.hpp", - "external/sources/boost/boost/metaparse/v1/lit_c.hpp", - "external/sources/boost/boost/metaparse/v1/look_ahead.hpp", - "external/sources/boost/boost/metaparse/v1/middle_of.hpp", - "external/sources/boost/boost/metaparse/v1/next_char.hpp", - "external/sources/boost/boost/metaparse/v1/next_line.hpp", - "external/sources/boost/boost/metaparse/v1/nth_of.hpp", - "external/sources/boost/boost/metaparse/v1/nth_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/one_char.hpp", - "external/sources/boost/boost/metaparse/v1/one_char_except.hpp", - "external/sources/boost/boost/metaparse/v1/one_char_except_c.hpp", - "external/sources/boost/boost/metaparse/v1/one_of.hpp", - "external/sources/boost/boost/metaparse/v1/one_of_c.hpp", - "external/sources/boost/boost/metaparse/v1/optional.hpp", - "external/sources/boost/boost/metaparse/v1/range.hpp", - "external/sources/boost/boost/metaparse/v1/range_c.hpp", - "external/sources/boost/boost/metaparse/v1/reject.hpp", - "external/sources/boost/boost/metaparse/v1/repeated.hpp", - "external/sources/boost/boost/metaparse/v1/repeated1.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_one_of.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_one_of1.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete.hpp", - "external/sources/boost/boost/metaparse/v1/repeated_reject_incomplete1.hpp", - "external/sources/boost/boost/metaparse/v1/return_.hpp", - "external/sources/boost/boost/metaparse/v1/sequence.hpp", - "external/sources/boost/boost/metaparse/v1/sequence_apply.hpp", - "external/sources/boost/boost/metaparse/v1/source_position.hpp", - "external/sources/boost/boost/metaparse/v1/source_position_tag.hpp", - "external/sources/boost/boost/metaparse/v1/space.hpp", - "external/sources/boost/boost/metaparse/v1/spaces.hpp", - "external/sources/boost/boost/metaparse/v1/start.hpp", - "external/sources/boost/boost/metaparse/v1/string.hpp", - "external/sources/boost/boost/metaparse/v1/string_tag.hpp", - "external/sources/boost/boost/metaparse/v1/swap.hpp", - "external/sources/boost/boost/metaparse/v1/token.hpp", - "external/sources/boost/boost/metaparse/v1/transform.hpp", - "external/sources/boost/boost/metaparse/v1/transform_error.hpp", - "external/sources/boost/boost/metaparse/v1/transform_error_message.hpp", - "external/sources/boost/boost/metaparse/v1/unless_error.hpp", - "external/sources/boost/boost/metaparse/v1/util/digit_to_int.hpp", - "external/sources/boost/boost/metaparse/v1/util/digit_to_int_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/in_range.hpp", - "external/sources/boost/boost/metaparse/v1/util/in_range_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/int_to_digit.hpp", - "external/sources/boost/boost/metaparse/v1/util/int_to_digit_c.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_digit.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_lcase_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_ucase_letter.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_whitespace.hpp", - "external/sources/boost/boost/metaparse/v1/util/is_whitespace_c.hpp", - "external/sources/boost/boost/metaparse/version.hpp", - "external/sources/boost/boost/move/adl_move_swap.hpp", - "external/sources/boost/boost/move/algo/adaptive_merge.hpp", - "external/sources/boost/boost/move/algo/adaptive_sort.hpp", - "external/sources/boost/boost/move/algo/detail/adaptive_sort_merge.hpp", - "external/sources/boost/boost/move/algo/detail/basic_op.hpp", - "external/sources/boost/boost/move/algo/detail/heap_sort.hpp", - "external/sources/boost/boost/move/algo/detail/insertion_sort.hpp", - "external/sources/boost/boost/move/algo/detail/is_sorted.hpp", - "external/sources/boost/boost/move/algo/detail/merge.hpp", - "external/sources/boost/boost/move/algo/detail/merge_sort.hpp", - "external/sources/boost/boost/move/algo/detail/pdqsort.hpp", - "external/sources/boost/boost/move/algo/detail/set_difference.hpp", - "external/sources/boost/boost/move/algo/move.hpp", - "external/sources/boost/boost/move/algo/predicate.hpp", - "external/sources/boost/boost/move/algo/unique.hpp", - "external/sources/boost/boost/move/algorithm.hpp", - "external/sources/boost/boost/move/core.hpp", - "external/sources/boost/boost/move/default_delete.hpp", - "external/sources/boost/boost/move/detail/config_begin.hpp", - "external/sources/boost/boost/move/detail/config_end.hpp", - "external/sources/boost/boost/move/detail/destruct_n.hpp", - "external/sources/boost/boost/move/detail/fwd_macros.hpp", - "external/sources/boost/boost/move/detail/iterator_to_raw_pointer.hpp", - "external/sources/boost/boost/move/detail/iterator_traits.hpp", - "external/sources/boost/boost/move/detail/meta_utils.hpp", - "external/sources/boost/boost/move/detail/meta_utils_core.hpp", - "external/sources/boost/boost/move/detail/move_helpers.hpp", - "external/sources/boost/boost/move/detail/placement_new.hpp", - "external/sources/boost/boost/move/detail/pointer_element.hpp", - "external/sources/boost/boost/move/detail/reverse_iterator.hpp", - "external/sources/boost/boost/move/detail/std_ns_begin.hpp", - "external/sources/boost/boost/move/detail/std_ns_end.hpp", - "external/sources/boost/boost/move/detail/to_raw_pointer.hpp", - "external/sources/boost/boost/move/detail/type_traits.hpp", - "external/sources/boost/boost/move/detail/unique_ptr_meta_utils.hpp", - "external/sources/boost/boost/move/detail/workaround.hpp", - "external/sources/boost/boost/move/iterator.hpp", - "external/sources/boost/boost/move/make_unique.hpp", - "external/sources/boost/boost/move/move.hpp", - "external/sources/boost/boost/move/traits.hpp", - "external/sources/boost/boost/move/unique_ptr.hpp", - "external/sources/boost/boost/move/utility.hpp", - "external/sources/boost/boost/move/utility_core.hpp", - "external/sources/boost/boost/mp11.hpp", - "external/sources/boost/boost/mp11/algorithm.hpp", - "external/sources/boost/boost/mp11/bind.hpp", - "external/sources/boost/boost/mp11/detail/config.hpp", - "external/sources/boost/boost/mp11/detail/mp_append.hpp", - "external/sources/boost/boost/mp11/detail/mp_copy_if.hpp", - "external/sources/boost/boost/mp11/detail/mp_count.hpp", - "external/sources/boost/boost/mp11/detail/mp_fold.hpp", - "external/sources/boost/boost/mp11/detail/mp_is_list.hpp", - "external/sources/boost/boost/mp11/detail/mp_list.hpp", - "external/sources/boost/boost/mp11/detail/mp_map_find.hpp", - "external/sources/boost/boost/mp11/detail/mp_min_element.hpp", - "external/sources/boost/boost/mp11/detail/mp_plus.hpp", - "external/sources/boost/boost/mp11/detail/mp_remove_if.hpp", - "external/sources/boost/boost/mp11/detail/mp_void.hpp", - "external/sources/boost/boost/mp11/detail/mp_with_index.hpp", - "external/sources/boost/boost/mp11/detail/mpl_common.hpp", - "external/sources/boost/boost/mp11/function.hpp", - "external/sources/boost/boost/mp11/integer_sequence.hpp", - "external/sources/boost/boost/mp11/integral.hpp", - "external/sources/boost/boost/mp11/list.hpp", - "external/sources/boost/boost/mp11/map.hpp", - "external/sources/boost/boost/mp11/mpl.hpp", - "external/sources/boost/boost/mp11/mpl_list.hpp", - "external/sources/boost/boost/mp11/mpl_tuple.hpp", - "external/sources/boost/boost/mp11/set.hpp", - "external/sources/boost/boost/mp11/tuple.hpp", - "external/sources/boost/boost/mp11/utility.hpp", - "external/sources/boost/boost/mp11/version.hpp", - "external/sources/boost/boost/mpi.hpp", - "external/sources/boost/boost/mpi/allocator.hpp", - "external/sources/boost/boost/mpi/cartesian_communicator.hpp", - "external/sources/boost/boost/mpi/collectives.hpp", - "external/sources/boost/boost/mpi/collectives/all_gather.hpp", - "external/sources/boost/boost/mpi/collectives/all_gatherv.hpp", - "external/sources/boost/boost/mpi/collectives/all_reduce.hpp", - "external/sources/boost/boost/mpi/collectives/all_to_all.hpp", - "external/sources/boost/boost/mpi/collectives/broadcast.hpp", - "external/sources/boost/boost/mpi/collectives/gather.hpp", - "external/sources/boost/boost/mpi/collectives/gatherv.hpp", - "external/sources/boost/boost/mpi/collectives/reduce.hpp", - "external/sources/boost/boost/mpi/collectives/scan.hpp", - "external/sources/boost/boost/mpi/collectives/scatter.hpp", - "external/sources/boost/boost/mpi/collectives/scatterv.hpp", - "external/sources/boost/boost/mpi/collectives_fwd.hpp", - "external/sources/boost/boost/mpi/communicator.hpp", - "external/sources/boost/boost/mpi/config.hpp", - "external/sources/boost/boost/mpi/datatype.hpp", - "external/sources/boost/boost/mpi/datatype_fwd.hpp", - "external/sources/boost/boost/mpi/detail/antiques.hpp", - "external/sources/boost/boost/mpi/detail/binary_buffer_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/binary_buffer_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/broadcast_sc.hpp", - "external/sources/boost/boost/mpi/detail/communicator_sc.hpp", - "external/sources/boost/boost/mpi/detail/computation_tree.hpp", - "external/sources/boost/boost/mpi/detail/content_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/forward_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/forward_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/forward_skeleton_iarchive.hpp", - "external/sources/boost/boost/mpi/detail/forward_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/ignore_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_cache.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_oarchive.hpp", - "external/sources/boost/boost/mpi/detail/mpi_datatype_primitive.hpp", - "external/sources/boost/boost/mpi/detail/offsets.hpp", - "external/sources/boost/boost/mpi/detail/packed_iprimitive.hpp", - "external/sources/boost/boost/mpi/detail/packed_oprimitive.hpp", - "external/sources/boost/boost/mpi/detail/point_to_point.hpp", - "external/sources/boost/boost/mpi/detail/request_handlers.hpp", - "external/sources/boost/boost/mpi/detail/text_skeleton_oarchive.hpp", - "external/sources/boost/boost/mpi/environment.hpp", - "external/sources/boost/boost/mpi/error_string.hpp", - "external/sources/boost/boost/mpi/exception.hpp", - "external/sources/boost/boost/mpi/graph_communicator.hpp", - "external/sources/boost/boost/mpi/group.hpp", - "external/sources/boost/boost/mpi/inplace.hpp", - "external/sources/boost/boost/mpi/intercommunicator.hpp", - "external/sources/boost/boost/mpi/nonblocking.hpp", - "external/sources/boost/boost/mpi/operations.hpp", - "external/sources/boost/boost/mpi/packed_iarchive.hpp", - "external/sources/boost/boost/mpi/packed_oarchive.hpp", - "external/sources/boost/boost/mpi/python.hpp", - "external/sources/boost/boost/mpi/python/config.hpp", - "external/sources/boost/boost/mpi/python/serialize.hpp", - "external/sources/boost/boost/mpi/python/skeleton_and_content.hpp", - "external/sources/boost/boost/mpi/request.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content_fwd.hpp", - "external/sources/boost/boost/mpi/skeleton_and_content_types.hpp", - "external/sources/boost/boost/mpi/status.hpp", - "external/sources/boost/boost/mpi/timer.hpp", - "external/sources/boost/boost/mpl/O1_size.hpp", - "external/sources/boost/boost/mpl/O1_size_fwd.hpp", - "external/sources/boost/boost/mpl/accumulate.hpp", - "external/sources/boost/boost/mpl/advance.hpp", - "external/sources/boost/boost/mpl/advance_fwd.hpp", - "external/sources/boost/boost/mpl/alias.hpp", - "external/sources/boost/boost/mpl/always.hpp", - "external/sources/boost/boost/mpl/and.hpp", - "external/sources/boost/boost/mpl/apply.hpp", - "external/sources/boost/boost/mpl/apply_fwd.hpp", - "external/sources/boost/boost/mpl/apply_wrap.hpp", - "external/sources/boost/boost/mpl/arg.hpp", - "external/sources/boost/boost/mpl/arg_fwd.hpp", - "external/sources/boost/boost/mpl/arithmetic.hpp", - "external/sources/boost/boost/mpl/as_sequence.hpp", - "external/sources/boost/boost/mpl/assert.hpp", - "external/sources/boost/boost/mpl/at.hpp", - "external/sources/boost/boost/mpl/at_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/O1_size_impl.hpp", - "external/sources/boost/boost/mpl/aux_/adl_barrier.hpp", - "external/sources/boost/boost/mpl/aux_/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/apply_1st.hpp", - "external/sources/boost/boost/mpl/aux_/arg_typedef.hpp", - "external/sources/boost/boost/mpl/aux_/arithmetic_op.hpp", - "external/sources/boost/boost/mpl/aux_/arity.hpp", - "external/sources/boost/boost/mpl/aux_/arity_spec.hpp", - "external/sources/boost/boost/mpl/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/aux_/back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/aux_/common_name_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/comparison_op.hpp", - "external/sources/boost/boost/mpl/aux_/config/adl.hpp", - "external/sources/boost/boost/mpl/aux_/config/arrays.hpp", - "external/sources/boost/boost/mpl/aux_/config/bcc.hpp", - "external/sources/boost/boost/mpl/aux_/config/bind.hpp", - "external/sources/boost/boost/mpl/aux_/config/compiler.hpp", - "external/sources/boost/boost/mpl/aux_/config/ctps.hpp", - "external/sources/boost/boost/mpl/aux_/config/dependent_nttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/dmc_ambiguous_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/config/dtp.hpp", - "external/sources/boost/boost/mpl/aux_/config/eti.hpp", - "external/sources/boost/boost/mpl/aux_/config/forwarding.hpp", - "external/sources/boost/boost/mpl/aux_/config/gcc.hpp", - "external/sources/boost/boost/mpl/aux_/config/gpu.hpp", - "external/sources/boost/boost/mpl/aux_/config/has_apply.hpp", - "external/sources/boost/boost/mpl/aux_/config/has_xxx.hpp", - "external/sources/boost/boost/mpl/aux_/config/integral.hpp", - "external/sources/boost/boost/mpl/aux_/config/intel.hpp", - "external/sources/boost/boost/mpl/aux_/config/lambda.hpp", - "external/sources/boost/boost/mpl/aux_/config/msvc.hpp", - "external/sources/boost/boost/mpl/aux_/config/msvc_typename.hpp", - "external/sources/boost/boost/mpl/aux_/config/nttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/operators.hpp", - "external/sources/boost/boost/mpl/aux_/config/overload_resolution.hpp", - "external/sources/boost/boost/mpl/aux_/config/pp_counter.hpp", - "external/sources/boost/boost/mpl/aux_/config/preprocessor.hpp", - "external/sources/boost/boost/mpl/aux_/config/static_constant.hpp", - "external/sources/boost/boost/mpl/aux_/config/ttp.hpp", - "external/sources/boost/boost/mpl/aux_/config/typeof.hpp", - "external/sources/boost/boost/mpl/aux_/config/use_preprocessed.hpp", - "external/sources/boost/boost/mpl/aux_/config/workaround.hpp", - "external/sources/boost/boost/mpl/aux_/contains_impl.hpp", - "external/sources/boost/boost/mpl/aux_/count_args.hpp", - "external/sources/boost/boost/mpl/aux_/count_impl.hpp", - "external/sources/boost/boost/mpl/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/aux_/filter_iter.hpp", - "external/sources/boost/boost/mpl/aux_/find_if_pred.hpp", - "external/sources/boost/boost/mpl/aux_/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/fold_impl_body.hpp", - "external/sources/boost/boost/mpl/aux_/fold_op.hpp", - "external/sources/boost/boost/mpl/aux_/fold_pred.hpp", - "external/sources/boost/boost/mpl/aux_/front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/has_apply.hpp", - "external/sources/boost/boost/mpl/aux_/has_begin.hpp", - "external/sources/boost/boost/mpl/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/aux_/has_rebind.hpp", - "external/sources/boost/boost/mpl/aux_/has_size.hpp", - "external/sources/boost/boost/mpl/aux_/has_tag.hpp", - "external/sources/boost/boost/mpl/aux_/has_type.hpp", - "external/sources/boost/boost/mpl/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/aux_/inserter_algorithm.hpp", - "external/sources/boost/boost/mpl/aux_/integral_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/is_msvc_eti_arg.hpp", - "external/sources/boost/boost/mpl/aux_/iter_apply.hpp", - "external/sources/boost/boost/mpl/aux_/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/iter_push_front.hpp", - "external/sources/boost/boost/mpl/aux_/joint_iter.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_arity_param.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_spec.hpp", - "external/sources/boost/boost/mpl/aux_/lambda_support.hpp", - "external/sources/boost/boost/mpl/aux_/largest_int.hpp", - "external/sources/boost/boost/mpl/aux_/logical_op.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_dtw.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_eti_base.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_is_class.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_never_true.hpp", - "external/sources/boost/boost/mpl/aux_/msvc_type.hpp", - "external/sources/boost/boost/mpl/aux_/na.hpp", - "external/sources/boost/boost/mpl/aux_/na_assert.hpp", - "external/sources/boost/boost/mpl/aux_/na_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/na_spec.hpp", - "external/sources/boost/boost/mpl/aux_/nested_type_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/nttp_decl.hpp", - "external/sources/boost/boost/mpl/aux_/numeric_cast_utils.hpp", - "external/sources/boost/boost/mpl/aux_/numeric_op.hpp", - "external/sources/boost/boost/mpl/aux_/order_impl.hpp", - "external/sources/boost/boost/mpl/aux_/overload_names.hpp", - "external/sources/boost/boost/mpl/aux_/partition_op.hpp", - "external/sources/boost/boost/mpl/aux_/pop_back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/pop_front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc551/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/bcc_pre590/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/dmc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc60/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/msvc70/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/mwcw/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ctps/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/no_ttp/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_backward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/advance_forward.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/and.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/arg.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/basic_bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bind_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitand.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/bitxor.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/deque.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/divides.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/greater_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/inherit.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_if_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/lambda_no_ctps.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/less_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/list_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/map.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/minus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/modulus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/not_equal_to.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/or.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/placeholders.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/plus.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/quote.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/set_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_left.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/shift_right.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/times.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/unpack_args.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessed/plain/vector_c.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/add.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/def_params_tail.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/default_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/enum.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/ext_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/filter_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/is_seq.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/partial_spec_params.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/range.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/repeat.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/sub.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/token_equal.hpp", - "external/sources/boost/boost/mpl/aux_/preprocessor/tuple.hpp", - "external/sources/boost/boost/mpl/aux_/ptr_to_ref.hpp", - "external/sources/boost/boost/mpl/aux_/push_back_impl.hpp", - "external/sources/boost/boost/mpl/aux_/push_front_impl.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/O1_size.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/back.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/empty.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/front.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/iterator.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/size.hpp", - "external/sources/boost/boost/mpl/aux_/range_c/tag.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_fold_impl_body.hpp", - "external/sources/boost/boost/mpl/aux_/reverse_iter_fold_impl.hpp", - "external/sources/boost/boost/mpl/aux_/sequence_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/shift_op.hpp", - "external/sources/boost/boost/mpl/aux_/single_element_iter.hpp", - "external/sources/boost/boost/mpl/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/aux_/sort_impl.hpp", - "external/sources/boost/boost/mpl/aux_/static_cast.hpp", - "external/sources/boost/boost/mpl/aux_/template_arity.hpp", - "external/sources/boost/boost/mpl/aux_/template_arity_fwd.hpp", - "external/sources/boost/boost/mpl/aux_/test.hpp", - "external/sources/boost/boost/mpl/aux_/test/assert.hpp", - "external/sources/boost/boost/mpl/aux_/test/data.hpp", - "external/sources/boost/boost/mpl/aux_/test/test_case.hpp", - "external/sources/boost/boost/mpl/aux_/traits_lambda_spec.hpp", - "external/sources/boost/boost/mpl/aux_/transform_iter.hpp", - "external/sources/boost/boost/mpl/aux_/type_wrapper.hpp", - "external/sources/boost/boost/mpl/aux_/unwrap.hpp", - "external/sources/boost/boost/mpl/aux_/value_wknd.hpp", - "external/sources/boost/boost/mpl/aux_/yes_no.hpp", - "external/sources/boost/boost/mpl/back.hpp", - "external/sources/boost/boost/mpl/back_fwd.hpp", - "external/sources/boost/boost/mpl/back_inserter.hpp", - "external/sources/boost/boost/mpl/base.hpp", - "external/sources/boost/boost/mpl/begin.hpp", - "external/sources/boost/boost/mpl/begin_end.hpp", - "external/sources/boost/boost/mpl/begin_end_fwd.hpp", - "external/sources/boost/boost/mpl/bind.hpp", - "external/sources/boost/boost/mpl/bind_fwd.hpp", - "external/sources/boost/boost/mpl/bitand.hpp", - "external/sources/boost/boost/mpl/bitor.hpp", - "external/sources/boost/boost/mpl/bitwise.hpp", - "external/sources/boost/boost/mpl/bitxor.hpp", - "external/sources/boost/boost/mpl/bool.hpp", - "external/sources/boost/boost/mpl/bool_fwd.hpp", - "external/sources/boost/boost/mpl/char.hpp", - "external/sources/boost/boost/mpl/char_fwd.hpp", - "external/sources/boost/boost/mpl/clear.hpp", - "external/sources/boost/boost/mpl/clear_fwd.hpp", - "external/sources/boost/boost/mpl/comparison.hpp", - "external/sources/boost/boost/mpl/contains.hpp", - "external/sources/boost/boost/mpl/contains_fwd.hpp", - "external/sources/boost/boost/mpl/copy.hpp", - "external/sources/boost/boost/mpl/copy_if.hpp", - "external/sources/boost/boost/mpl/count.hpp", - "external/sources/boost/boost/mpl/count_fwd.hpp", - "external/sources/boost/boost/mpl/count_if.hpp", - "external/sources/boost/boost/mpl/deque.hpp", - "external/sources/boost/boost/mpl/deref.hpp", - "external/sources/boost/boost/mpl/distance.hpp", - "external/sources/boost/boost/mpl/distance_fwd.hpp", - "external/sources/boost/boost/mpl/divides.hpp", - "external/sources/boost/boost/mpl/empty.hpp", - "external/sources/boost/boost/mpl/empty_base.hpp", - "external/sources/boost/boost/mpl/empty_fwd.hpp", - "external/sources/boost/boost/mpl/empty_sequence.hpp", - "external/sources/boost/boost/mpl/end.hpp", - "external/sources/boost/boost/mpl/equal.hpp", - "external/sources/boost/boost/mpl/equal_to.hpp", - "external/sources/boost/boost/mpl/erase.hpp", - "external/sources/boost/boost/mpl/erase_fwd.hpp", - "external/sources/boost/boost/mpl/erase_key.hpp", - "external/sources/boost/boost/mpl/erase_key_fwd.hpp", - "external/sources/boost/boost/mpl/eval_if.hpp", - "external/sources/boost/boost/mpl/filter_view.hpp", - "external/sources/boost/boost/mpl/find.hpp", - "external/sources/boost/boost/mpl/find_if.hpp", - "external/sources/boost/boost/mpl/fold.hpp", - "external/sources/boost/boost/mpl/for_each.hpp", - "external/sources/boost/boost/mpl/front.hpp", - "external/sources/boost/boost/mpl/front_fwd.hpp", - "external/sources/boost/boost/mpl/front_inserter.hpp", - "external/sources/boost/boost/mpl/get_tag.hpp", - "external/sources/boost/boost/mpl/greater.hpp", - "external/sources/boost/boost/mpl/greater_equal.hpp", - "external/sources/boost/boost/mpl/has_key.hpp", - "external/sources/boost/boost/mpl/has_key_fwd.hpp", - "external/sources/boost/boost/mpl/has_xxx.hpp", - "external/sources/boost/boost/mpl/identity.hpp", - "external/sources/boost/boost/mpl/if.hpp", - "external/sources/boost/boost/mpl/index_if.hpp", - "external/sources/boost/boost/mpl/index_of.hpp", - "external/sources/boost/boost/mpl/inherit.hpp", - "external/sources/boost/boost/mpl/inherit_linearly.hpp", - "external/sources/boost/boost/mpl/insert.hpp", - "external/sources/boost/boost/mpl/insert_fwd.hpp", - "external/sources/boost/boost/mpl/insert_range.hpp", - "external/sources/boost/boost/mpl/insert_range_fwd.hpp", - "external/sources/boost/boost/mpl/inserter.hpp", - "external/sources/boost/boost/mpl/int.hpp", - "external/sources/boost/boost/mpl/int_fwd.hpp", - "external/sources/boost/boost/mpl/integral_c.hpp", - "external/sources/boost/boost/mpl/integral_c_fwd.hpp", - "external/sources/boost/boost/mpl/integral_c_tag.hpp", - "external/sources/boost/boost/mpl/is_placeholder.hpp", - "external/sources/boost/boost/mpl/is_sequence.hpp", - "external/sources/boost/boost/mpl/iter_fold.hpp", - "external/sources/boost/boost/mpl/iter_fold_if.hpp", - "external/sources/boost/boost/mpl/iterator_category.hpp", - "external/sources/boost/boost/mpl/iterator_range.hpp", - "external/sources/boost/boost/mpl/iterator_tags.hpp", - "external/sources/boost/boost/mpl/joint_view.hpp", - "external/sources/boost/boost/mpl/key_type.hpp", - "external/sources/boost/boost/mpl/key_type_fwd.hpp", - "external/sources/boost/boost/mpl/lambda.hpp", - "external/sources/boost/boost/mpl/lambda_fwd.hpp", - "external/sources/boost/boost/mpl/less.hpp", - "external/sources/boost/boost/mpl/less_equal.hpp", - "external/sources/boost/boost/mpl/limits/arity.hpp", - "external/sources/boost/boost/mpl/limits/list.hpp", - "external/sources/boost/boost/mpl/limits/map.hpp", - "external/sources/boost/boost/mpl/limits/set.hpp", - "external/sources/boost/boost/mpl/limits/string.hpp", - "external/sources/boost/boost/mpl/limits/unrolling.hpp", - "external/sources/boost/boost/mpl/limits/vector.hpp", - "external/sources/boost/boost/mpl/list.hpp", - "external/sources/boost/boost/mpl/list/aux_/O1_size.hpp", - "external/sources/boost/boost/mpl/list/aux_/begin_end.hpp", - "external/sources/boost/boost/mpl/list/aux_/clear.hpp", - "external/sources/boost/boost/mpl/list/aux_/empty.hpp", - "external/sources/boost/boost/mpl/list/aux_/front.hpp", - "external/sources/boost/boost/mpl/list/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/list/aux_/item.hpp", - "external/sources/boost/boost/mpl/list/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/list/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/list/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/pop_front.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list10_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list20_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list30_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list40_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50.hpp", - "external/sources/boost/boost/mpl/list/aux_/preprocessed/plain/list50_c.hpp", - "external/sources/boost/boost/mpl/list/aux_/push_back.hpp", - "external/sources/boost/boost/mpl/list/aux_/push_front.hpp", - "external/sources/boost/boost/mpl/list/aux_/size.hpp", - "external/sources/boost/boost/mpl/list/aux_/tag.hpp", - "external/sources/boost/boost/mpl/list/list0.hpp", - "external/sources/boost/boost/mpl/list/list0_c.hpp", - "external/sources/boost/boost/mpl/list/list10.hpp", - "external/sources/boost/boost/mpl/list/list10_c.hpp", - "external/sources/boost/boost/mpl/list/list20.hpp", - "external/sources/boost/boost/mpl/list/list20_c.hpp", - "external/sources/boost/boost/mpl/list/list30.hpp", - "external/sources/boost/boost/mpl/list/list30_c.hpp", - "external/sources/boost/boost/mpl/list/list40.hpp", - "external/sources/boost/boost/mpl/list/list40_c.hpp", - "external/sources/boost/boost/mpl/list/list50.hpp", - "external/sources/boost/boost/mpl/list/list50_c.hpp", - "external/sources/boost/boost/mpl/list_c.hpp", - "external/sources/boost/boost/mpl/logical.hpp", - "external/sources/boost/boost/mpl/long.hpp", - "external/sources/boost/boost/mpl/long_fwd.hpp", - "external/sources/boost/boost/mpl/lower_bound.hpp", - "external/sources/boost/boost/mpl/map.hpp", - "external/sources/boost/boost/mpl/map/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/contains_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/map/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/item.hpp", - "external/sources/boost/boost/mpl/map/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/map/aux_/key_type_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/map0.hpp", - "external/sources/boost/boost/mpl/map/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/no_ctps/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/plain/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map10.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map20.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map30.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map40.hpp", - "external/sources/boost/boost/mpl/map/aux_/preprocessed/typeof_based/map50.hpp", - "external/sources/boost/boost/mpl/map/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/map/aux_/tag.hpp", - "external/sources/boost/boost/mpl/map/aux_/value_type_impl.hpp", - "external/sources/boost/boost/mpl/map/map0.hpp", - "external/sources/boost/boost/mpl/map/map10.hpp", - "external/sources/boost/boost/mpl/map/map20.hpp", - "external/sources/boost/boost/mpl/map/map30.hpp", - "external/sources/boost/boost/mpl/map/map40.hpp", - "external/sources/boost/boost/mpl/map/map50.hpp", - "external/sources/boost/boost/mpl/math/fixed_c.hpp", - "external/sources/boost/boost/mpl/math/is_even.hpp", - "external/sources/boost/boost/mpl/math/rational_c.hpp", - "external/sources/boost/boost/mpl/max.hpp", - "external/sources/boost/boost/mpl/max_element.hpp", - "external/sources/boost/boost/mpl/min.hpp", - "external/sources/boost/boost/mpl/min_element.hpp", - "external/sources/boost/boost/mpl/min_max.hpp", - "external/sources/boost/boost/mpl/minus.hpp", - "external/sources/boost/boost/mpl/modulus.hpp", - "external/sources/boost/boost/mpl/multiplies.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/count_impl.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/item.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/multiset0.hpp", - "external/sources/boost/boost/mpl/multiset/aux_/tag.hpp", - "external/sources/boost/boost/mpl/multiset/multiset0.hpp", - "external/sources/boost/boost/mpl/negate.hpp", - "external/sources/boost/boost/mpl/next.hpp", - "external/sources/boost/boost/mpl/next_prior.hpp", - "external/sources/boost/boost/mpl/not.hpp", - "external/sources/boost/boost/mpl/not_equal_to.hpp", - "external/sources/boost/boost/mpl/numeric_cast.hpp", - "external/sources/boost/boost/mpl/or.hpp", - "external/sources/boost/boost/mpl/order.hpp", - "external/sources/boost/boost/mpl/order_fwd.hpp", - "external/sources/boost/boost/mpl/pair.hpp", - "external/sources/boost/boost/mpl/pair_view.hpp", - "external/sources/boost/boost/mpl/partition.hpp", - "external/sources/boost/boost/mpl/placeholders.hpp", - "external/sources/boost/boost/mpl/plus.hpp", - "external/sources/boost/boost/mpl/pop_back.hpp", - "external/sources/boost/boost/mpl/pop_back_fwd.hpp", - "external/sources/boost/boost/mpl/pop_front.hpp", - "external/sources/boost/boost/mpl/pop_front_fwd.hpp", - "external/sources/boost/boost/mpl/print.hpp", - "external/sources/boost/boost/mpl/prior.hpp", - "external/sources/boost/boost/mpl/protect.hpp", - "external/sources/boost/boost/mpl/push_back.hpp", - "external/sources/boost/boost/mpl/push_back_fwd.hpp", - "external/sources/boost/boost/mpl/push_front.hpp", - "external/sources/boost/boost/mpl/push_front_fwd.hpp", - "external/sources/boost/boost/mpl/quote.hpp", - "external/sources/boost/boost/mpl/range_c.hpp", - "external/sources/boost/boost/mpl/remove.hpp", - "external/sources/boost/boost/mpl/remove_if.hpp", - "external/sources/boost/boost/mpl/replace.hpp", - "external/sources/boost/boost/mpl/replace_if.hpp", - "external/sources/boost/boost/mpl/reverse.hpp", - "external/sources/boost/boost/mpl/reverse_fold.hpp", - "external/sources/boost/boost/mpl/reverse_iter_fold.hpp", - "external/sources/boost/boost/mpl/same_as.hpp", - "external/sources/boost/boost/mpl/sequence_tag.hpp", - "external/sources/boost/boost/mpl/sequence_tag_fwd.hpp", - "external/sources/boost/boost/mpl/set.hpp", - "external/sources/boost/boost/mpl/set/aux_/at_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/begin_end_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/clear_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/empty_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/erase_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/erase_key_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/has_key_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/set/aux_/insert_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/insert_range_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/item.hpp", - "external/sources/boost/boost/mpl/set/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/set/aux_/key_type_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/set/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set10_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set20_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set30_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set40_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50.hpp", - "external/sources/boost/boost/mpl/set/aux_/preprocessed/plain/set50_c.hpp", - "external/sources/boost/boost/mpl/set/aux_/set0.hpp", - "external/sources/boost/boost/mpl/set/aux_/size_impl.hpp", - "external/sources/boost/boost/mpl/set/aux_/tag.hpp", - "external/sources/boost/boost/mpl/set/aux_/value_type_impl.hpp", - "external/sources/boost/boost/mpl/set/set0.hpp", - "external/sources/boost/boost/mpl/set/set0_c.hpp", - "external/sources/boost/boost/mpl/set/set10.hpp", - "external/sources/boost/boost/mpl/set/set10_c.hpp", - "external/sources/boost/boost/mpl/set/set20.hpp", - "external/sources/boost/boost/mpl/set/set20_c.hpp", - "external/sources/boost/boost/mpl/set/set30.hpp", - "external/sources/boost/boost/mpl/set/set30_c.hpp", - "external/sources/boost/boost/mpl/set/set40.hpp", - "external/sources/boost/boost/mpl/set/set40_c.hpp", - "external/sources/boost/boost/mpl/set/set50.hpp", - "external/sources/boost/boost/mpl/set/set50_c.hpp", - "external/sources/boost/boost/mpl/set_c.hpp", - "external/sources/boost/boost/mpl/shift_left.hpp", - "external/sources/boost/boost/mpl/shift_right.hpp", - "external/sources/boost/boost/mpl/single_view.hpp", - "external/sources/boost/boost/mpl/size.hpp", - "external/sources/boost/boost/mpl/size_fwd.hpp", - "external/sources/boost/boost/mpl/size_t.hpp", - "external/sources/boost/boost/mpl/size_t_fwd.hpp", - "external/sources/boost/boost/mpl/sizeof.hpp", - "external/sources/boost/boost/mpl/sort.hpp", - "external/sources/boost/boost/mpl/stable_partition.hpp", - "external/sources/boost/boost/mpl/string.hpp", - "external/sources/boost/boost/mpl/switch.hpp", - "external/sources/boost/boost/mpl/tag.hpp", - "external/sources/boost/boost/mpl/times.hpp", - "external/sources/boost/boost/mpl/transform.hpp", - "external/sources/boost/boost/mpl/transform_view.hpp", - "external/sources/boost/boost/mpl/unique.hpp", - "external/sources/boost/boost/mpl/unpack_args.hpp", - "external/sources/boost/boost/mpl/upper_bound.hpp", - "external/sources/boost/boost/mpl/value_type.hpp", - "external/sources/boost/boost/mpl/value_type_fwd.hpp", - "external/sources/boost/boost/mpl/vector.hpp", - "external/sources/boost/boost/mpl/vector/aux_/O1_size.hpp", - "external/sources/boost/boost/mpl/vector/aux_/at.hpp", - "external/sources/boost/boost/mpl/vector/aux_/back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/begin_end.hpp", - "external/sources/boost/boost/mpl/vector/aux_/clear.hpp", - "external/sources/boost/boost/mpl/vector/aux_/empty.hpp", - "external/sources/boost/boost/mpl/vector/aux_/front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/include_preprocessed.hpp", - "external/sources/boost/boost/mpl/vector/aux_/item.hpp", - "external/sources/boost/boost/mpl/vector/aux_/iterator.hpp", - "external/sources/boost/boost/mpl/vector/aux_/numbered.hpp", - "external/sources/boost/boost/mpl/vector/aux_/numbered_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/pop_back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/pop_front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/plain/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50.hpp", - "external/sources/boost/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector/aux_/push_back.hpp", - "external/sources/boost/boost/mpl/vector/aux_/push_front.hpp", - "external/sources/boost/boost/mpl/vector/aux_/size.hpp", - "external/sources/boost/boost/mpl/vector/aux_/tag.hpp", - "external/sources/boost/boost/mpl/vector/aux_/vector0.hpp", - "external/sources/boost/boost/mpl/vector/vector0.hpp", - "external/sources/boost/boost/mpl/vector/vector0_c.hpp", - "external/sources/boost/boost/mpl/vector/vector10.hpp", - "external/sources/boost/boost/mpl/vector/vector10_c.hpp", - "external/sources/boost/boost/mpl/vector/vector20.hpp", - "external/sources/boost/boost/mpl/vector/vector20_c.hpp", - "external/sources/boost/boost/mpl/vector/vector30.hpp", - "external/sources/boost/boost/mpl/vector/vector30_c.hpp", - "external/sources/boost/boost/mpl/vector/vector40.hpp", - "external/sources/boost/boost/mpl/vector/vector40_c.hpp", - "external/sources/boost/boost/mpl/vector/vector50.hpp", - "external/sources/boost/boost/mpl/vector/vector50_c.hpp", - "external/sources/boost/boost/mpl/vector_c.hpp", - "external/sources/boost/boost/mpl/void.hpp", - "external/sources/boost/boost/mpl/void_fwd.hpp", - "external/sources/boost/boost/mpl/zip_view.hpp", - "external/sources/boost/boost/msm/active_state_switching_policies.hpp", - "external/sources/boost/boost/msm/back/args.hpp", - "external/sources/boost/boost/msm/back/bind_helpers.hpp", - "external/sources/boost/boost/msm/back/common_types.hpp", - "external/sources/boost/boost/msm/back/copy_policies.hpp", - "external/sources/boost/boost/msm/back/default_compile_policy.hpp", - "external/sources/boost/boost/msm/back/dispatch_table.hpp", - "external/sources/boost/boost/msm/back/favor_compile_time.hpp", - "external/sources/boost/boost/msm/back/fold_to_list.hpp", - "external/sources/boost/boost/msm/back/history_policies.hpp", - "external/sources/boost/boost/msm/back/metafunctions.hpp", - "external/sources/boost/boost/msm/back/mpl_graph_fsm_check.hpp", - "external/sources/boost/boost/msm/back/no_fsm_check.hpp", - "external/sources/boost/boost/msm/back/queue_container_circular.hpp", - "external/sources/boost/boost/msm/back/queue_container_deque.hpp", - "external/sources/boost/boost/msm/back/state_machine.hpp", - "external/sources/boost/boost/msm/back/tools.hpp", - "external/sources/boost/boost/msm/common.hpp", - "external/sources/boost/boost/msm/event_traits.hpp", - "external/sources/boost/boost/msm/front/common_states.hpp", - "external/sources/boost/boost/msm/front/completion_event.hpp", - "external/sources/boost/boost/msm/front/detail/common_states.hpp", - "external/sources/boost/boost/msm/front/detail/row2_helper.hpp", - "external/sources/boost/boost/msm/front/euml/algorithm.hpp", - "external/sources/boost/boost/msm/front/euml/common.hpp", - "external/sources/boost/boost/msm/front/euml/container.hpp", - "external/sources/boost/boost/msm/front/euml/euml.hpp", - "external/sources/boost/boost/msm/front/euml/euml_typeof.hpp", - "external/sources/boost/boost/msm/front/euml/guard_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/iteration.hpp", - "external/sources/boost/boost/msm/front/euml/operator.hpp", - "external/sources/boost/boost/msm/front/euml/phoenix_placeholders.hpp", - "external/sources/boost/boost/msm/front/euml/querying.hpp", - "external/sources/boost/boost/msm/front/euml/state_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/stl.hpp", - "external/sources/boost/boost/msm/front/euml/stt_grammar.hpp", - "external/sources/boost/boost/msm/front/euml/transformation.hpp", - "external/sources/boost/boost/msm/front/functor_row.hpp", - "external/sources/boost/boost/msm/front/internal_row.hpp", - "external/sources/boost/boost/msm/front/row2.hpp", - "external/sources/boost/boost/msm/front/state_machine_def.hpp", - "external/sources/boost/boost/msm/front/states.hpp", - "external/sources/boost/boost/msm/mpl_graph/adjacency_list_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/breadth_first_search.hpp", - "external/sources/boost/boost/msm/mpl_graph/depth_first_search.hpp", - "external/sources/boost/boost/msm/mpl_graph/detail/adjacency_list_graph.ipp", - "external/sources/boost/boost/msm/mpl_graph/detail/graph_implementation_interface.ipp", - "external/sources/boost/boost/msm/mpl_graph/detail/incidence_list_graph.ipp", - "external/sources/boost/boost/msm/mpl_graph/incidence_list_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/mpl_graph.hpp", - "external/sources/boost/boost/msm/mpl_graph/mpl_utils.hpp", - "external/sources/boost/boost/msm/mpl_graph/search_colors.hpp", - "external/sources/boost/boost/msm/msm_grammar.hpp", - "external/sources/boost/boost/msm/proto_config.hpp", - "external/sources/boost/boost/msm/row_tags.hpp", - "external/sources/boost/boost/multi_array.hpp", - "external/sources/boost/boost/multi_array/algorithm.hpp", - "external/sources/boost/boost/multi_array/base.hpp", - "external/sources/boost/boost/multi_array/collection_concept.hpp", - "external/sources/boost/boost/multi_array/concept_checks.hpp", - "external/sources/boost/boost/multi_array/copy_array.hpp", - "external/sources/boost/boost/multi_array/extent_gen.hpp", - "external/sources/boost/boost/multi_array/extent_range.hpp", - "external/sources/boost/boost/multi_array/index_gen.hpp", - "external/sources/boost/boost/multi_array/index_range.hpp", - "external/sources/boost/boost/multi_array/iterator.hpp", - "external/sources/boost/boost/multi_array/multi_array_ref.hpp", - "external/sources/boost/boost/multi_array/range_list.hpp", - "external/sources/boost/boost/multi_array/storage_order.hpp", - "external/sources/boost/boost/multi_array/subarray.hpp", - "external/sources/boost/boost/multi_array/types.hpp", - "external/sources/boost/boost/multi_array/view.hpp", - "external/sources/boost/boost/multi_index/composite_key.hpp", - "external/sources/boost/boost/multi_index/detail/access_specifier.hpp", - "external/sources/boost/boost/multi_index/detail/adl_swap.hpp", - "external/sources/boost/boost/multi_index/detail/allocator_traits.hpp", - "external/sources/boost/boost/multi_index/detail/archive_constructed.hpp", - "external/sources/boost/boost/multi_index/detail/auto_space.hpp", - "external/sources/boost/boost/multi_index/detail/base_type.hpp", - "external/sources/boost/boost/multi_index/detail/bidir_node_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/bucket_array.hpp", - "external/sources/boost/boost/multi_index/detail/cons_stdtuple.hpp", - "external/sources/boost/boost/multi_index/detail/converter.hpp", - "external/sources/boost/boost/multi_index/detail/copy_map.hpp", - "external/sources/boost/boost/multi_index/detail/define_if_constexpr_macro.hpp", - "external/sources/boost/boost/multi_index/detail/do_not_copy_elements_tag.hpp", - "external/sources/boost/boost/multi_index/detail/duplicates_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/has_tag.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_args.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/hash_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/header_holder.hpp", - "external/sources/boost/boost/multi_index/detail/ignore_wstrict_aliasing.hpp", - "external/sources/boost/boost/multi_index/detail/index_base.hpp", - "external/sources/boost/boost/multi_index/detail/index_loader.hpp", - "external/sources/boost/boost/multi_index/detail/index_matcher.hpp", - "external/sources/boost/boost/multi_index/detail/index_node_base.hpp", - "external/sources/boost/boost/multi_index/detail/index_saver.hpp", - "external/sources/boost/boost/multi_index/detail/invariant_assert.hpp", - "external/sources/boost/boost/multi_index/detail/is_function.hpp", - "external/sources/boost/boost/multi_index/detail/is_index_list.hpp", - "external/sources/boost/boost/multi_index/detail/is_transparent.hpp", - "external/sources/boost/boost/multi_index/detail/iter_adaptor.hpp", - "external/sources/boost/boost/multi_index/detail/modify_key_adaptor.hpp", - "external/sources/boost/boost/multi_index/detail/no_duplicate_tags.hpp", - "external/sources/boost/boost/multi_index/detail/node_handle.hpp", - "external/sources/boost/boost/multi_index/detail/node_type.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_args.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_impl.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_impl_fwd.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/ord_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/promotes_arg.hpp", - "external/sources/boost/boost/multi_index/detail/raw_ptr.hpp", - "external/sources/boost/boost/multi_index/detail/restore_wstrict_aliasing.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_loader.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_index_ptr_array.hpp", - "external/sources/boost/boost/multi_index/detail/rnd_node_iterator.hpp", - "external/sources/boost/boost/multi_index/detail/rnk_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/safe_mode.hpp", - "external/sources/boost/boost/multi_index/detail/scope_guard.hpp", - "external/sources/boost/boost/multi_index/detail/seq_index_node.hpp", - "external/sources/boost/boost/multi_index/detail/seq_index_ops.hpp", - "external/sources/boost/boost/multi_index/detail/serialization_version.hpp", - "external/sources/boost/boost/multi_index/detail/uintptr_type.hpp", - "external/sources/boost/boost/multi_index/detail/unbounded.hpp", - "external/sources/boost/boost/multi_index/detail/undef_if_constexpr_macro.hpp", - "external/sources/boost/boost/multi_index/detail/value_compare.hpp", - "external/sources/boost/boost/multi_index/detail/vartempl_support.hpp", - "external/sources/boost/boost/multi_index/global_fun.hpp", - "external/sources/boost/boost/multi_index/hashed_index.hpp", - "external/sources/boost/boost/multi_index/hashed_index_fwd.hpp", - "external/sources/boost/boost/multi_index/identity.hpp", - "external/sources/boost/boost/multi_index/identity_fwd.hpp", - "external/sources/boost/boost/multi_index/indexed_by.hpp", - "external/sources/boost/boost/multi_index/key.hpp", - "external/sources/boost/boost/multi_index/key_extractors.hpp", - "external/sources/boost/boost/multi_index/mem_fun.hpp", - "external/sources/boost/boost/multi_index/member.hpp", - "external/sources/boost/boost/multi_index/ordered_index.hpp", - "external/sources/boost/boost/multi_index/ordered_index_fwd.hpp", - "external/sources/boost/boost/multi_index/random_access_index.hpp", - "external/sources/boost/boost/multi_index/random_access_index_fwd.hpp", - "external/sources/boost/boost/multi_index/ranked_index.hpp", - "external/sources/boost/boost/multi_index/ranked_index_fwd.hpp", - "external/sources/boost/boost/multi_index/safe_mode_errors.hpp", - "external/sources/boost/boost/multi_index/sequenced_index.hpp", - "external/sources/boost/boost/multi_index/sequenced_index_fwd.hpp", - "external/sources/boost/boost/multi_index/tag.hpp", - "external/sources/boost/boost/multi_index_container.hpp", - "external/sources/boost/boost/multi_index_container_fwd.hpp", - "external/sources/boost/boost/multiprecision/complex128.hpp", - "external/sources/boost/boost/multiprecision/complex_adaptor.hpp", - "external/sources/boost/boost/multiprecision/concepts/mp_number_archetypes.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float/io.hpp", - "external/sources/boost/boost/multiprecision/cpp_bin_float/transcendental.hpp", - "external/sources/boost/boost/multiprecision/cpp_complex.hpp", - "external/sources/boost/boost/multiprecision/cpp_dec_float.hpp", - "external/sources/boost/boost/multiprecision/cpp_int.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/add.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/bitwise.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/checked.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/comparison.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/cpp_int_config.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/divide.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/import_export.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/limits.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/literals.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/misc.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/multiply.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/serialize.hpp", - "external/sources/boost/boost/multiprecision/cpp_int/value_pack.hpp", - "external/sources/boost/boost/multiprecision/debug_adaptor.hpp", - "external/sources/boost/boost/multiprecision/detail/atomic.hpp", - "external/sources/boost/boost/multiprecision/detail/big_lanczos.hpp", - "external/sources/boost/boost/multiprecision/detail/bitscan.hpp", - "external/sources/boost/boost/multiprecision/detail/constexpr.hpp", - "external/sources/boost/boost/multiprecision/detail/default_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/digits.hpp", - "external/sources/boost/boost/multiprecision/detail/dynamic_array.hpp", - "external/sources/boost/boost/multiprecision/detail/et_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/float_string_cvt.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/constants.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/pow.hpp", - "external/sources/boost/boost/multiprecision/detail/functions/trig.hpp", - "external/sources/boost/boost/multiprecision/detail/generic_interconvert.hpp", - "external/sources/boost/boost/multiprecision/detail/integer_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/itos.hpp", - "external/sources/boost/boost/multiprecision/detail/min_max.hpp", - "external/sources/boost/boost/multiprecision/detail/no_et_ops.hpp", - "external/sources/boost/boost/multiprecision/detail/number_base.hpp", - "external/sources/boost/boost/multiprecision/detail/number_compare.hpp", - "external/sources/boost/boost/multiprecision/detail/precision.hpp", - "external/sources/boost/boost/multiprecision/detail/rebind.hpp", - "external/sources/boost/boost/multiprecision/detail/ublas_interop.hpp", - "external/sources/boost/boost/multiprecision/detail/utype_helper.hpp", - "external/sources/boost/boost/multiprecision/eigen.hpp", - "external/sources/boost/boost/multiprecision/float128.hpp", - "external/sources/boost/boost/multiprecision/gmp.hpp", - "external/sources/boost/boost/multiprecision/integer.hpp", - "external/sources/boost/boost/multiprecision/logged_adaptor.hpp", - "external/sources/boost/boost/multiprecision/miller_rabin.hpp", - "external/sources/boost/boost/multiprecision/mpc.hpp", - "external/sources/boost/boost/multiprecision/mpfi.hpp", - "external/sources/boost/boost/multiprecision/mpfr.hpp", - "external/sources/boost/boost/multiprecision/number.hpp", - "external/sources/boost/boost/multiprecision/random.hpp", - "external/sources/boost/boost/multiprecision/rational_adaptor.hpp", - "external/sources/boost/boost/multiprecision/tommath.hpp", - "external/sources/boost/boost/multiprecision/traits/explicit_conversion.hpp", - "external/sources/boost/boost/multiprecision/traits/extract_exponent_type.hpp", - "external/sources/boost/boost/multiprecision/traits/is_backend.hpp", - "external/sources/boost/boost/multiprecision/traits/is_byte_container.hpp", - "external/sources/boost/boost/multiprecision/traits/is_restricted_conversion.hpp", - "external/sources/boost/boost/multiprecision/traits/is_variable_precision.hpp", - "external/sources/boost/boost/next_prior.hpp", - "external/sources/boost/boost/non_type.hpp", - "external/sources/boost/boost/noncopyable.hpp", - "external/sources/boost/boost/nondet_random.hpp", - "external/sources/boost/boost/none.hpp", - "external/sources/boost/boost/none_t.hpp", - "external/sources/boost/boost/nowide/args.hpp", - "external/sources/boost/boost/nowide/config.hpp", - "external/sources/boost/boost/nowide/convert.hpp", - "external/sources/boost/boost/nowide/cstdio.hpp", - "external/sources/boost/boost/nowide/cstdlib.hpp", - "external/sources/boost/boost/nowide/detail/convert.hpp", - "external/sources/boost/boost/nowide/detail/utf.hpp", - "external/sources/boost/boost/nowide/filebuf.hpp", - "external/sources/boost/boost/nowide/filesystem.hpp", - "external/sources/boost/boost/nowide/fstream.hpp", - "external/sources/boost/boost/nowide/iostream.hpp", - "external/sources/boost/boost/nowide/replacement.hpp", - "external/sources/boost/boost/nowide/stackstring.hpp", - "external/sources/boost/boost/nowide/stat.hpp", - "external/sources/boost/boost/nowide/utf/convert.hpp", - "external/sources/boost/boost/nowide/utf/utf.hpp", - "external/sources/boost/boost/nowide/utf8_codecvt.hpp", - "external/sources/boost/boost/nowide/windows.hpp", - "external/sources/boost/boost/numeric/conversion/bounds.hpp", - "external/sources/boost/boost/numeric/conversion/cast.hpp", - "external/sources/boost/boost/numeric/conversion/conversion_traits.hpp", - "external/sources/boost/boost/numeric/conversion/converter.hpp", - "external/sources/boost/boost/numeric/conversion/converter_policies.hpp", - "external/sources/boost/boost/numeric/conversion/detail/bounds.hpp", - "external/sources/boost/boost/numeric/conversion/detail/conversion_traits.hpp", - "external/sources/boost/boost/numeric/conversion/detail/converter.hpp", - "external/sources/boost/boost/numeric/conversion/detail/int_float_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/detail/is_subranged.hpp", - "external/sources/boost/boost/numeric/conversion/detail/meta.hpp", - "external/sources/boost/boost/numeric/conversion/detail/numeric_cast_traits.hpp", - "external/sources/boost/boost/numeric/conversion/detail/old_numeric_cast.hpp", - "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp", - "external/sources/boost/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp", - "external/sources/boost/boost/numeric/conversion/detail/sign_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/int_float_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/int_float_mixture_enum.hpp", - "external/sources/boost/boost/numeric/conversion/is_subranged.hpp", - "external/sources/boost/boost/numeric/conversion/numeric_cast_traits.hpp", - "external/sources/boost/boost/numeric/conversion/sign_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/sign_mixture_enum.hpp", - "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture.hpp", - "external/sources/boost/boost/numeric/conversion/udt_builtin_mixture_enum.hpp", - "external/sources/boost/boost/numeric/interval.hpp", - "external/sources/boost/boost/numeric/interval/arith.hpp", - "external/sources/boost/boost/numeric/interval/arith2.hpp", - "external/sources/boost/boost/numeric/interval/arith3.hpp", - "external/sources/boost/boost/numeric/interval/checking.hpp", - "external/sources/boost/boost/numeric/interval/compare.hpp", - "external/sources/boost/boost/numeric/interval/compare/certain.hpp", - "external/sources/boost/boost/numeric/interval/compare/explicit.hpp", - "external/sources/boost/boost/numeric/interval/compare/lexicographic.hpp", - "external/sources/boost/boost/numeric/interval/compare/possible.hpp", - "external/sources/boost/boost/numeric/interval/compare/set.hpp", - "external/sources/boost/boost/numeric/interval/compare/tribool.hpp", - "external/sources/boost/boost/numeric/interval/constants.hpp", - "external/sources/boost/boost/numeric/interval/detail/alpha_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/bcc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/bugs.hpp", - "external/sources/boost/boost/numeric/interval/detail/c99_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/c99sub_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/division.hpp", - "external/sources/boost/boost/numeric/interval/detail/ia64_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/interval_prototype.hpp", - "external/sources/boost/boost/numeric/interval/detail/msvc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/ppc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/sparc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/test_input.hpp", - "external/sources/boost/boost/numeric/interval/detail/x86_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/detail/x86gcc_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/ext/integer.hpp", - "external/sources/boost/boost/numeric/interval/ext/x86_fast_rounding_control.hpp", - "external/sources/boost/boost/numeric/interval/hw_rounding.hpp", - "external/sources/boost/boost/numeric/interval/interval.hpp", - "external/sources/boost/boost/numeric/interval/io.hpp", - "external/sources/boost/boost/numeric/interval/limits.hpp", - "external/sources/boost/boost/numeric/interval/policies.hpp", - "external/sources/boost/boost/numeric/interval/rounded_arith.hpp", - "external/sources/boost/boost/numeric/interval/rounded_transc.hpp", - "external/sources/boost/boost/numeric/interval/rounding.hpp", - "external/sources/boost/boost/numeric/interval/transc.hpp", - "external/sources/boost/boost/numeric/interval/utility.hpp", - "external/sources/boost/boost/numeric/interval/utility_fwd.hpp", - "external/sources/boost/boost/numeric/odeint.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/array_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/default_operations.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/extract_value_type.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/for_each.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/macros.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/detail/norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/multi_array_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/norm_result_type.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/range_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/algebra/vector_space_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/config.hpp", - "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/blaze/blaze_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/compute/compute_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/eigen/eigen_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/gsl/gsl_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/external/mkl/mkl_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_nested_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/mpi/mpi_vector_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/implicit_euler_mtl4.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/mtl4/mtl4_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_copy.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/external/nt2/nt2_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_nested_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/openmp/openmp_state.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_operations_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/thrust/thrust_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_abs.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_copy.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_norm_inf.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_resize.hpp", - "external/sources/boost/boost/numeric/odeint/external/vexcl/vexcl_same_instance.hpp", - "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_operations.hpp", - "external/sources/boost/boost/numeric/odeint/external/viennacl/viennacl_resize.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/check_adapter.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/functors.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/detail/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/max_step_checker.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/null_observer.hpp", - "external/sources/boost/boost/numeric/odeint/integrate/observer_collection.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/adaptive_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/adaptive_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/const_step_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/const_step_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/detail/ode_iterator_base.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/n_step_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/impl/times_iterator_impl.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/functors.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/detail/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_adaptive.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_const.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_n_steps.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/integrate_times.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/null_observer.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/integrate/observer_collection.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/n_step_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/n_step_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/times_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/iterator/times_time_iterator.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adams_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/adaptive_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/algebra_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/controlled_step_result.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_bashforth_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/adaptive_adams_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/generic_rk_operations.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/pid_step_adjuster_coefficients.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/detail/rotating_buffer.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/explicit_generic_rk.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/extrapolation_stepper.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_adams_bashforth_moulton.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_controlled_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_dense_output_runge_kutta.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_dopri5.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/generation_runge_kutta_fehlberg78.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/make_controlled.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/generation/make_dense_output.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/implicit_euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/modified_midpoint.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_controller.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/rosenbrock4_dense_output.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta4_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/runge_kutta_fehlberg78.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/stepper_categories.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_euler.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_m4_mclachlan.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_mclachlan.hpp", - "external/sources/boost/boost/numeric/odeint/stepper/velocity_verlet.hpp", - "external/sources/boost/boost/numeric/odeint/util/bind.hpp", - "external/sources/boost/boost/numeric/odeint/util/copy.hpp", - "external/sources/boost/boost/numeric/odeint/util/detail/is_range.hpp", - "external/sources/boost/boost/numeric/odeint/util/detail/less_with_sign.hpp", - "external/sources/boost/boost/numeric/odeint/util/is_pair.hpp", - "external/sources/boost/boost/numeric/odeint/util/is_resizeable.hpp", - "external/sources/boost/boost/numeric/odeint/util/multi_array_adaption.hpp", - "external/sources/boost/boost/numeric/odeint/util/n_ary_helper.hpp", - "external/sources/boost/boost/numeric/odeint/util/odeint_error.hpp", - "external/sources/boost/boost/numeric/odeint/util/resize.hpp", - "external/sources/boost/boost/numeric/odeint/util/resizer.hpp", - "external/sources/boost/boost/numeric/odeint/util/same_instance.hpp", - "external/sources/boost/boost/numeric/odeint/util/same_size.hpp", - "external/sources/boost/boost/numeric/odeint/util/split.hpp", - "external/sources/boost/boost/numeric/odeint/util/split_adaptor.hpp", - "external/sources/boost/boost/numeric/odeint/util/state_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/util/stepper_traits.hpp", - "external/sources/boost/boost/numeric/odeint/util/ublas_matrix_expression.patch", - "external/sources/boost/boost/numeric/odeint/util/ublas_wrapper.hpp", - "external/sources/boost/boost/numeric/odeint/util/unit_helper.hpp", - "external/sources/boost/boost/numeric/odeint/util/unwrap_reference.hpp", - "external/sources/boost/boost/numeric/odeint/version.hpp", - "external/sources/boost/boost/numeric/ublas/assignment.hpp", - "external/sources/boost/boost/numeric/ublas/banded.hpp", - "external/sources/boost/boost/numeric/ublas/blas.hpp", - "external/sources/boost/boost/numeric/ublas/detail/concepts.hpp", - "external/sources/boost/boost/numeric/ublas/detail/config.hpp", - "external/sources/boost/boost/numeric/ublas/detail/definitions.hpp", - "external/sources/boost/boost/numeric/ublas/detail/documentation.hpp", - "external/sources/boost/boost/numeric/ublas/detail/duff.hpp", - "external/sources/boost/boost/numeric/ublas/detail/iterator.hpp", - "external/sources/boost/boost/numeric/ublas/detail/matrix_assign.hpp", - "external/sources/boost/boost/numeric/ublas/detail/raw.hpp", - "external/sources/boost/boost/numeric/ublas/detail/returntype_deduction.hpp", - "external/sources/boost/boost/numeric/ublas/detail/temporary.hpp", - "external/sources/boost/boost/numeric/ublas/detail/vector_assign.hpp", - "external/sources/boost/boost/numeric/ublas/doxydoc.hpp", - "external/sources/boost/boost/numeric/ublas/exception.hpp", - "external/sources/boost/boost/numeric/ublas/experimental/sparse_view.hpp", - "external/sources/boost/boost/numeric/ublas/expression_types.hpp", - "external/sources/boost/boost/numeric/ublas/functional.hpp", - "external/sources/boost/boost/numeric/ublas/fwd.hpp", - "external/sources/boost/boost/numeric/ublas/hermitian.hpp", - "external/sources/boost/boost/numeric/ublas/io.hpp", - "external/sources/boost/boost/numeric/ublas/lu.hpp", - "external/sources/boost/boost/numeric/ublas/matrix.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_expression.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_proxy.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/matrix_vector.hpp", - "external/sources/boost/boost/numeric/ublas/opencl.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/elementwise.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/library.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/matrix.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/misc.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/operations.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/prod.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/transpose.hpp", - "external/sources/boost/boost/numeric/ublas/opencl/vector.hpp", - "external/sources/boost/boost/numeric/ublas/operation.hpp", - "external/sources/boost/boost/numeric/ublas/operation/begin.hpp", - "external/sources/boost/boost/numeric/ublas/operation/c_array.hpp", - "external/sources/boost/boost/numeric/ublas/operation/end.hpp", - "external/sources/boost/boost/numeric/ublas/operation/num_columns.hpp", - "external/sources/boost/boost/numeric/ublas/operation/num_rows.hpp", - "external/sources/boost/boost/numeric/ublas/operation/size.hpp", - "external/sources/boost/boost/numeric/ublas/operation_blocked.hpp", - "external/sources/boost/boost/numeric/ublas/operation_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/operations.hpp", - "external/sources/boost/boost/numeric/ublas/storage.hpp", - "external/sources/boost/boost/numeric/ublas/storage_sparse.hpp", - "external/sources/boost/boost/numeric/ublas/symmetric.hpp", - "external/sources/boost/boost/numeric/ublas/tags.hpp", - "external/sources/boost/boost/numeric/ublas/tensor.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/algorithms.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/expression.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/extents.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/functions.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/index.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multi_index.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multi_index_utility.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/multiplication.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/operators_arithmetic.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/operators_comparison.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/ostream.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/storage_traits.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/strides.hpp", - "external/sources/boost/boost/numeric/ublas/tensor/tensor.hpp", - "external/sources/boost/boost/numeric/ublas/traits.hpp", - "external/sources/boost/boost/numeric/ublas/traits/c_array.hpp", - "external/sources/boost/boost/numeric/ublas/traits/const_iterator_type.hpp", - "external/sources/boost/boost/numeric/ublas/traits/iterator_type.hpp", - "external/sources/boost/boost/numeric/ublas/triangular.hpp", - "external/sources/boost/boost/numeric/ublas/vector.hpp", - "external/sources/boost/boost/numeric/ublas/vector_expression.hpp", - "external/sources/boost/boost/numeric/ublas/vector_of_vector.hpp", - "external/sources/boost/boost/numeric/ublas/vector_proxy.hpp", - "external/sources/boost/boost/numeric/ublas/vector_sparse.hpp", - "external/sources/boost/boost/operators.hpp", - "external/sources/boost/boost/operators_v1.hpp", - "external/sources/boost/boost/optional.hpp", - "external/sources/boost/boost/optional/bad_optional_access.hpp", - "external/sources/boost/boost/optional/detail/experimental_traits.hpp", - "external/sources/boost/boost/optional/detail/old_optional_implementation.hpp", - "external/sources/boost/boost/optional/detail/optional_aligned_storage.hpp", - "external/sources/boost/boost/optional/detail/optional_config.hpp", - "external/sources/boost/boost/optional/detail/optional_factory_support.hpp", - "external/sources/boost/boost/optional/detail/optional_reference_spec.hpp", - "external/sources/boost/boost/optional/detail/optional_relops.hpp", - "external/sources/boost/boost/optional/detail/optional_swap.hpp", - "external/sources/boost/boost/optional/detail/optional_trivially_copyable_base.hpp", - "external/sources/boost/boost/optional/optional.hpp", - "external/sources/boost/boost/optional/optional_fwd.hpp", - "external/sources/boost/boost/optional/optional_io.hpp", - "external/sources/boost/boost/outcome.hpp", - "external/sources/boost/boost/outcome/bad_access.hpp", - "external/sources/boost/boost/outcome/basic_outcome.hpp", - "external/sources/boost/boost/outcome/basic_result.hpp", - "external/sources/boost/boost/outcome/boost_outcome.hpp", - "external/sources/boost/boost/outcome/boost_result.hpp", - "external/sources/boost/boost/outcome/config.hpp", - "external/sources/boost/boost/outcome/convert.hpp", - "external/sources/boost/boost/outcome/coroutine_support.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_exception_observers_impl.hpp", - "external/sources/boost/boost/outcome/detail/basic_outcome_failure_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_error_observers.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_final.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_storage.hpp", - "external/sources/boost/boost/outcome/detail/basic_result_value_observers.hpp", - "external/sources/boost/boost/outcome/detail/coroutine_support.ipp", - "external/sources/boost/boost/outcome/detail/revision.hpp", - "external/sources/boost/boost/outcome/detail/trait_std_error_code.hpp", - "external/sources/boost/boost/outcome/detail/trait_std_exception.hpp", - "external/sources/boost/boost/outcome/detail/value_storage.hpp", - "external/sources/boost/boost/outcome/detail/version.hpp", - "external/sources/boost/boost/outcome/experimental/coroutine_support.hpp", - "external/sources/boost/boost/outcome/experimental/result.h", - "external/sources/boost/boost/outcome/experimental/status-code/com_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/config.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_generic_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/nt_code_to_win32_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/detail/win32_code_to_generic_code.ipp", - "external/sources/boost/boost/outcome/experimental/status-code/error.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/errored_status_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/generic_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/getaddrinfo_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/iostream_support.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/nt_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/posix_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/quick_status_code_from_enum.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/result.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code_domain.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_code_ptr.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/status_error.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/std_error_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_code.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_code_from_exception.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/system_error2.hpp", - "external/sources/boost/boost/outcome/experimental/status-code/win32_code.hpp", - "external/sources/boost/boost/outcome/experimental/status_outcome.hpp", - "external/sources/boost/boost/outcome/experimental/status_result.hpp", - "external/sources/boost/boost/outcome/iostream_support.hpp", - "external/sources/boost/boost/outcome/outcome.hpp", - "external/sources/boost/boost/outcome/policy/all_narrow.hpp", - "external/sources/boost/boost/outcome/policy/base.hpp", - "external/sources/boost/boost/outcome/policy/fail_to_compile_observers.hpp", - "external/sources/boost/boost/outcome/policy/outcome_error_code_throw_as_system_error.hpp", - "external/sources/boost/boost/outcome/policy/outcome_exception_ptr_rethrow.hpp", - "external/sources/boost/boost/outcome/policy/result_error_code_throw_as_system_error.hpp", - "external/sources/boost/boost/outcome/policy/result_exception_ptr_rethrow.hpp", - "external/sources/boost/boost/outcome/policy/terminate.hpp", - "external/sources/boost/boost/outcome/policy/throw_bad_result_access.hpp", - "external/sources/boost/boost/outcome/result.hpp", - "external/sources/boost/boost/outcome/std_outcome.hpp", - "external/sources/boost/boost/outcome/std_result.hpp", - "external/sources/boost/boost/outcome/success_failure.hpp", - "external/sources/boost/boost/outcome/trait.hpp", - "external/sources/boost/boost/outcome/try.hpp", - "external/sources/boost/boost/outcome/utils.hpp", - "external/sources/boost/boost/parameter.hpp", - "external/sources/boost/boost/parameter/are_tagged_arguments.hpp", - "external/sources/boost/boost/parameter/aux_/always_true_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/arg_list.hpp", - "external/sources/boost/boost/parameter/aux_/as_lvalue.hpp", - "external/sources/boost/boost/parameter/aux_/augment_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/cast.hpp", - "external/sources/boost/boost/parameter/aux_/default.hpp", - "external/sources/boost/boost/parameter/aux_/has_nested_template_fn.hpp", - "external/sources/boost/boost/parameter/aux_/is_maybe.hpp", - "external/sources/boost/boost/parameter/aux_/is_placeholder.hpp", - "external/sources/boost/boost/parameter/aux_/is_tagged_argument.hpp", - "external/sources/boost/boost/parameter/aux_/lambda_tag.hpp", - "external/sources/boost/boost/parameter/aux_/maybe.hpp", - "external/sources/boost/boost/parameter/aux_/name.hpp", - "external/sources/boost/boost/parameter/aux_/pack/as_parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/pack/deduce_tag.hpp", - "external/sources/boost/boost/parameter/aux_/pack/deduced_item.hpp", - "external/sources/boost/boost/parameter/aux_/pack/insert_tagged.hpp", - "external/sources/boost/boost/parameter/aux_/pack/is_named_argument.hpp", - "external/sources/boost/boost/parameter/aux_/pack/item.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_arg_list.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_deduced_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/make_parameter_spec_items.hpp", - "external/sources/boost/boost/parameter/aux_/pack/parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/pack/predicate.hpp", - "external/sources/boost/boost/parameter/aux_/pack/satisfies.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_deduced.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp", - "external/sources/boost/boost/parameter/aux_/pack/tag_type.hpp", - "external/sources/boost/boost/parameter/aux_/pack/unmatched_argument.hpp", - "external/sources/boost/boost/parameter/aux_/parameter_requirements.hpp", - "external/sources/boost/boost/parameter/aux_/parenthesized_type.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/argument_pack.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/match.hpp", - "external/sources/boost/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/flatten.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/for_each_pred.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/arity_range.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/flatten.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/for_each.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_cast.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/function_name.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/specification.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/impl/split_args.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/is_binary.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/is_nullary.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/nullptr.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/overloads.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/qualifier.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/seq_enum.hpp", - "external/sources/boost/boost/parameter/aux_/preprocessor/seq_merge.hpp", - "external/sources/boost/boost/parameter/aux_/python/invoker.hpp", - "external/sources/boost/boost/parameter/aux_/python/invoker_iterate.hpp", - "external/sources/boost/boost/parameter/aux_/result_of0.hpp", - "external/sources/boost/boost/parameter/aux_/set.hpp", - "external/sources/boost/boost/parameter/aux_/tag.hpp", - "external/sources/boost/boost/parameter/aux_/tagged_argument.hpp", - "external/sources/boost/boost/parameter/aux_/tagged_argument_fwd.hpp", - "external/sources/boost/boost/parameter/aux_/template_keyword.hpp", - "external/sources/boost/boost/parameter/aux_/unwrap_cv_reference.hpp", - "external/sources/boost/boost/parameter/aux_/use_default.hpp", - "external/sources/boost/boost/parameter/aux_/use_default_tag.hpp", - "external/sources/boost/boost/parameter/aux_/void.hpp", - "external/sources/boost/boost/parameter/aux_/yesno.hpp", - "external/sources/boost/boost/parameter/binding.hpp", - "external/sources/boost/boost/parameter/compose.hpp", - "external/sources/boost/boost/parameter/config.hpp", - "external/sources/boost/boost/parameter/deduced.hpp", - "external/sources/boost/boost/parameter/is_argument_pack.hpp", - "external/sources/boost/boost/parameter/keyword.hpp", - "external/sources/boost/boost/parameter/keyword_fwd.hpp", - "external/sources/boost/boost/parameter/macros.hpp", - "external/sources/boost/boost/parameter/match.hpp", - "external/sources/boost/boost/parameter/name.hpp", - "external/sources/boost/boost/parameter/nested_keyword.hpp", - "external/sources/boost/boost/parameter/optional.hpp", - "external/sources/boost/boost/parameter/parameters.hpp", - "external/sources/boost/boost/parameter/preprocessor.hpp", - "external/sources/boost/boost/parameter/preprocessor_no_spec.hpp", - "external/sources/boost/boost/parameter/python.hpp", - "external/sources/boost/boost/parameter/required.hpp", - "external/sources/boost/boost/parameter/template_keyword.hpp", - "external/sources/boost/boost/parameter/value_type.hpp", - "external/sources/boost/boost/pending/bucket_sorter.hpp", - "external/sources/boost/boost/pending/container_traits.hpp", - "external/sources/boost/boost/pending/detail/disjoint_sets.hpp", - "external/sources/boost/boost/pending/detail/int_iterator.hpp", - "external/sources/boost/boost/pending/detail/property.hpp", - "external/sources/boost/boost/pending/disjoint_sets.hpp", - "external/sources/boost/boost/pending/fenced_priority_queue.hpp", - "external/sources/boost/boost/pending/fibonacci_heap.hpp", - "external/sources/boost/boost/pending/indirect_cmp.hpp", - "external/sources/boost/boost/pending/integer_log2.hpp", - "external/sources/boost/boost/pending/is_heap.hpp", - "external/sources/boost/boost/pending/iterator_adaptors.hpp", - "external/sources/boost/boost/pending/iterator_tests.hpp", - "external/sources/boost/boost/pending/mutable_heap.hpp", - "external/sources/boost/boost/pending/mutable_queue.hpp", - "external/sources/boost/boost/pending/property.hpp", - "external/sources/boost/boost/pending/property_serialize.hpp", - "external/sources/boost/boost/pending/queue.hpp", - "external/sources/boost/boost/pending/relaxed_heap.hpp", - "external/sources/boost/boost/pending/stringtok.hpp", - "external/sources/boost/boost/phoenix.hpp", - "external/sources/boost/boost/phoenix/bind.hpp", - "external/sources/boost/boost/phoenix/bind/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/bind_member_variable.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/member_function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_10.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_20.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_30.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_40.hpp", - "external/sources/boost/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_50.hpp", - "external/sources/boost/boost/phoenix/bind/detail/member_variable.hpp", - "external/sources/boost/boost/phoenix/config.hpp", - "external/sources/boost/boost/phoenix/core.hpp", - "external/sources/boost/boost/phoenix/core/actor.hpp", - "external/sources/boost/boost/phoenix/core/argument.hpp", - "external/sources/boost/boost/phoenix/core/arity.hpp", - "external/sources/boost/boost/phoenix/core/as_actor.hpp", - "external/sources/boost/boost/phoenix/core/call.hpp", - "external/sources/boost/boost/phoenix/core/debug.hpp", - "external/sources/boost/boost/phoenix/core/detail/argument.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_operator.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/actor_result_of.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/call.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/function_eval_expr.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/call_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/expression_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_10.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_20.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_30.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_40.hpp", - "external/sources/boost/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_50.hpp", - "external/sources/boost/boost/phoenix/core/detail/expression.hpp", - "external/sources/boost/boost/phoenix/core/detail/function_eval.hpp", - "external/sources/boost/boost/phoenix/core/detail/index_sequence.hpp", - "external/sources/boost/boost/phoenix/core/domain.hpp", - "external/sources/boost/boost/phoenix/core/environment.hpp", - "external/sources/boost/boost/phoenix/core/expression.hpp", - "external/sources/boost/boost/phoenix/core/function_equal.hpp", - "external/sources/boost/boost/phoenix/core/is_actor.hpp", - "external/sources/boost/boost/phoenix/core/is_nullary.hpp", - "external/sources/boost/boost/phoenix/core/is_value.hpp", - "external/sources/boost/boost/phoenix/core/limits.hpp", - "external/sources/boost/boost/phoenix/core/meta_grammar.hpp", - "external/sources/boost/boost/phoenix/core/nothing.hpp", - "external/sources/boost/boost/phoenix/core/reference.hpp", - "external/sources/boost/boost/phoenix/core/terminal.hpp", - "external/sources/boost/boost/phoenix/core/terminal_fwd.hpp", - "external/sources/boost/boost/phoenix/core/v2_eval.hpp", - "external/sources/boost/boost/phoenix/core/value.hpp", - "external/sources/boost/boost/phoenix/debug.hpp", - "external/sources/boost/boost/phoenix/function.hpp", - "external/sources/boost/boost/phoenix/function/adapt_callable.hpp", - "external/sources/boost/boost/phoenix/function/adapt_function.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/function_operator.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_20.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_30.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_40.hpp", - "external/sources/boost/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_50.hpp", - "external/sources/boost/boost/phoenix/function/function.hpp", - "external/sources/boost/boost/phoenix/function/lazy_list.hpp", - "external/sources/boost/boost/phoenix/function/lazy_operator.hpp", - "external/sources/boost/boost/phoenix/function/lazy_prelude.hpp", - "external/sources/boost/boost/phoenix/function/lazy_reuse.hpp", - "external/sources/boost/boost/phoenix/function/lazy_signature.hpp", - "external/sources/boost/boost/phoenix/function/lazy_smart.hpp", - "external/sources/boost/boost/phoenix/fusion.hpp", - "external/sources/boost/boost/phoenix/fusion/at.hpp", - "external/sources/boost/boost/phoenix/object.hpp", - "external/sources/boost/boost/phoenix/object/const_cast.hpp", - "external/sources/boost/boost/phoenix/object/construct.hpp", - "external/sources/boost/boost/phoenix/object/delete.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/construct_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/new_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_10.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_20.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_30.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_40.hpp", - "external/sources/boost/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_50.hpp", - "external/sources/boost/boost/phoenix/object/detail/target.hpp", - "external/sources/boost/boost/phoenix/object/dynamic_cast.hpp", - "external/sources/boost/boost/phoenix/object/new.hpp", - "external/sources/boost/boost/phoenix/object/reinterpret_cast.hpp", - "external/sources/boost/boost/phoenix/object/static_cast.hpp", - "external/sources/boost/boost/phoenix/operator.hpp", - "external/sources/boost/boost/phoenix/operator/arithmetic.hpp", - "external/sources/boost/boost/phoenix/operator/bitwise.hpp", - "external/sources/boost/boost/phoenix/operator/comparison.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval_result_of.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_expr.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_gen.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_10.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_20.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_30.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_40.hpp", - "external/sources/boost/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_50.hpp", - "external/sources/boost/boost/phoenix/operator/detail/define_operator.hpp", - "external/sources/boost/boost/phoenix/operator/detail/undef_operator.hpp", - "external/sources/boost/boost/phoenix/operator/if_else.hpp", - "external/sources/boost/boost/phoenix/operator/io.hpp", - "external/sources/boost/boost/phoenix/operator/logical.hpp", - "external/sources/boost/boost/phoenix/operator/member.hpp", - "external/sources/boost/boost/phoenix/operator/self.hpp", - "external/sources/boost/boost/phoenix/phoenix.hpp", - "external/sources/boost/boost/phoenix/scope.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/local_gen.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_10.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_20.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_30.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_40.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_50.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_10.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_20.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_30.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp", - "external/sources/boost/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_50.hpp", - "external/sources/boost/boost/phoenix/scope/detail/local_gen.hpp", - "external/sources/boost/boost/phoenix/scope/detail/local_variable.hpp", - "external/sources/boost/boost/phoenix/scope/dynamic.hpp", - "external/sources/boost/boost/phoenix/scope/lambda.hpp", - "external/sources/boost/boost/phoenix/scope/let.hpp", - "external/sources/boost/boost/phoenix/scope/local_variable.hpp", - "external/sources/boost/boost/phoenix/scope/scoped_environment.hpp", - "external/sources/boost/boost/phoenix/scope/this.hpp", - "external/sources/boost/boost/phoenix/statement.hpp", - "external/sources/boost/boost/phoenix/statement/detail/catch_push_back.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/catch_push_back_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/switch_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_eval_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_10.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_20.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_40.hpp", - "external/sources/boost/boost/phoenix/statement/detail/preprocessed/try_catch_expression_50.hpp", - "external/sources/boost/boost/phoenix/statement/detail/switch.hpp", - "external/sources/boost/boost/phoenix/statement/detail/try_catch_eval.hpp", - "external/sources/boost/boost/phoenix/statement/detail/try_catch_expression.hpp", - "external/sources/boost/boost/phoenix/statement/do_while.hpp", - "external/sources/boost/boost/phoenix/statement/for.hpp", - "external/sources/boost/boost/phoenix/statement/if.hpp", - "external/sources/boost/boost/phoenix/statement/sequence.hpp", - "external/sources/boost/boost/phoenix/statement/switch.hpp", - "external/sources/boost/boost/phoenix/statement/throw.hpp", - "external/sources/boost/boost/phoenix/statement/try_catch.hpp", - "external/sources/boost/boost/phoenix/statement/while.hpp", - "external/sources/boost/boost/phoenix/stl.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/begin.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/decay_array.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/end.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_equal_range.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_find.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_lower_bound.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_remove_if.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_reverse.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_sort.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_unique.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/has_upper_bound.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_hash_set.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_list.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_std_set.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/iteration.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/querying.hpp", - "external/sources/boost/boost/phoenix/stl/algorithm/transformation.hpp", - "external/sources/boost/boost/phoenix/stl/cmath.hpp", - "external/sources/boost/boost/phoenix/stl/container.hpp", - "external/sources/boost/boost/phoenix/stl/container/container.hpp", - "external/sources/boost/boost/phoenix/stl/container/detail/container.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate_define.hpp", - "external/sources/boost/boost/phoenix/support/detail/iterate_undef.hpp", - "external/sources/boost/boost/phoenix/support/iterate.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_10.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_20.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_30.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_40.hpp", - "external/sources/boost/boost/phoenix/support/preprocessed/vector_50.hpp", - "external/sources/boost/boost/phoenix/support/preprocessor/round.hpp", - "external/sources/boost/boost/phoenix/support/vector.hpp", - "external/sources/boost/boost/phoenix/version.hpp", - "external/sources/boost/boost/pointee.hpp", - "external/sources/boost/boost/pointer_cast.hpp", - "external/sources/boost/boost/pointer_to_other.hpp", - "external/sources/boost/boost/poly_collection/algorithm.hpp", - "external/sources/boost/boost/poly_collection/any_collection.hpp", - "external/sources/boost/boost/poly_collection/any_collection_fwd.hpp", - "external/sources/boost/boost/poly_collection/base_collection.hpp", - "external/sources/boost/boost/poly_collection/base_collection_fwd.hpp", - "external/sources/boost/boost/poly_collection/detail/allocator_adaptor.hpp", - "external/sources/boost/boost/poly_collection/detail/any_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/any_model.hpp", - "external/sources/boost/boost/poly_collection/detail/auto_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/base_model.hpp", - "external/sources/boost/boost/poly_collection/detail/callable_wrapper.hpp", - "external/sources/boost/boost/poly_collection/detail/callable_wrapper_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/function_model.hpp", - "external/sources/boost/boost/poly_collection/detail/functional.hpp", - "external/sources/boost/boost/poly_collection/detail/is_acceptable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_constructible.hpp", - "external/sources/boost/boost/poly_collection/detail/is_equality_comparable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_final.hpp", - "external/sources/boost/boost/poly_collection/detail/is_invocable.hpp", - "external/sources/boost/boost/poly_collection/detail/is_nothrow_eq_comparable.hpp", - "external/sources/boost/boost/poly_collection/detail/iterator_impl.hpp", - "external/sources/boost/boost/poly_collection/detail/iterator_traits.hpp", - "external/sources/boost/boost/poly_collection/detail/packed_segment.hpp", - "external/sources/boost/boost/poly_collection/detail/poly_collection.hpp", - "external/sources/boost/boost/poly_collection/detail/segment.hpp", - "external/sources/boost/boost/poly_collection/detail/segment_backend.hpp", - "external/sources/boost/boost/poly_collection/detail/segment_split.hpp", - "external/sources/boost/boost/poly_collection/detail/split_segment.hpp", - "external/sources/boost/boost/poly_collection/detail/stride_iterator.hpp", - "external/sources/boost/boost/poly_collection/detail/type_info_map.hpp", - "external/sources/boost/boost/poly_collection/detail/type_restitution.hpp", - "external/sources/boost/boost/poly_collection/detail/value_holder.hpp", - "external/sources/boost/boost/poly_collection/exception.hpp", - "external/sources/boost/boost/poly_collection/function_collection.hpp", - "external/sources/boost/boost/poly_collection/function_collection_fwd.hpp", - "external/sources/boost/boost/polygon/detail/boolean_op.hpp", - "external/sources/boost/boost/polygon/detail/boolean_op_45.hpp", - "external/sources/boost/boost/polygon/detail/iterator_compact_to_points.hpp", - "external/sources/boost/boost/polygon/detail/iterator_geometry_to_set.hpp", - "external/sources/boost/boost/polygon/detail/iterator_points_to_compact.hpp", - "external/sources/boost/boost/polygon/detail/max_cover.hpp", - "external/sources/boost/boost/polygon/detail/minkowski.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_45_touch.hpp", - "external/sources/boost/boost/polygon/detail/polygon_90_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_90_touch.hpp", - "external/sources/boost/boost/polygon/detail/polygon_arbitrary_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_formation.hpp", - "external/sources/boost/boost/polygon/detail/polygon_set_view.hpp", - "external/sources/boost/boost/polygon/detail/polygon_simplify.hpp", - "external/sources/boost/boost/polygon/detail/polygon_sort_adaptor.hpp", - "external/sources/boost/boost/polygon/detail/property_merge.hpp", - "external/sources/boost/boost/polygon/detail/property_merge_45.hpp", - "external/sources/boost/boost/polygon/detail/rectangle_formation.hpp", - "external/sources/boost/boost/polygon/detail/scan_arbitrary.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_ctypes.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_predicates.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_robust_fpt.hpp", - "external/sources/boost/boost/polygon/detail/voronoi_structures.hpp", - "external/sources/boost/boost/polygon/gmp_override.hpp", - "external/sources/boost/boost/polygon/gtl.hpp", - "external/sources/boost/boost/polygon/interval_concept.hpp", - "external/sources/boost/boost/polygon/interval_data.hpp", - "external/sources/boost/boost/polygon/interval_traits.hpp", - "external/sources/boost/boost/polygon/isotropy.hpp", - "external/sources/boost/boost/polygon/point_concept.hpp", - "external/sources/boost/boost/polygon/point_data.hpp", - "external/sources/boost/boost/polygon/point_traits.hpp", - "external/sources/boost/boost/polygon/polygon.hpp", - "external/sources/boost/boost/polygon/polygon_45_data.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_45_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_45_with_holes_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_90_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_90_with_holes_data.hpp", - "external/sources/boost/boost/polygon/polygon_data.hpp", - "external/sources/boost/boost/polygon/polygon_set_concept.hpp", - "external/sources/boost/boost/polygon/polygon_set_data.hpp", - "external/sources/boost/boost/polygon/polygon_set_traits.hpp", - "external/sources/boost/boost/polygon/polygon_traits.hpp", - "external/sources/boost/boost/polygon/polygon_with_holes_data.hpp", - "external/sources/boost/boost/polygon/rectangle_concept.hpp", - "external/sources/boost/boost/polygon/rectangle_data.hpp", - "external/sources/boost/boost/polygon/rectangle_traits.hpp", - "external/sources/boost/boost/polygon/segment_concept.hpp", - "external/sources/boost/boost/polygon/segment_data.hpp", - "external/sources/boost/boost/polygon/segment_traits.hpp", - "external/sources/boost/boost/polygon/segment_utils.hpp", - "external/sources/boost/boost/polygon/transform.hpp", - "external/sources/boost/boost/polygon/voronoi.hpp", - "external/sources/boost/boost/polygon/voronoi_builder.hpp", - "external/sources/boost/boost/polygon/voronoi_diagram.hpp", - "external/sources/boost/boost/polygon/voronoi_geometry_type.hpp", - "external/sources/boost/boost/polymorphic_cast.hpp", - "external/sources/boost/boost/polymorphic_pointer_cast.hpp", - "external/sources/boost/boost/pool/detail/for.m4", - "external/sources/boost/boost/pool/detail/guard.hpp", - "external/sources/boost/boost/pool/detail/mutex.hpp", - "external/sources/boost/boost/pool/detail/pool_construct.bat", - "external/sources/boost/boost/pool/detail/pool_construct.ipp", - "external/sources/boost/boost/pool/detail/pool_construct.m4", - "external/sources/boost/boost/pool/detail/pool_construct.sh", - "external/sources/boost/boost/pool/detail/pool_construct_simple.bat", - "external/sources/boost/boost/pool/detail/pool_construct_simple.ipp", - "external/sources/boost/boost/pool/detail/pool_construct_simple.m4", - "external/sources/boost/boost/pool/detail/pool_construct_simple.sh", - "external/sources/boost/boost/pool/object_pool.hpp", - "external/sources/boost/boost/pool/pool.hpp", - "external/sources/boost/boost/pool/pool_alloc.hpp", - "external/sources/boost/boost/pool/poolfwd.hpp", - "external/sources/boost/boost/pool/simple_segregated_storage.hpp", - "external/sources/boost/boost/pool/singleton_pool.hpp", - "external/sources/boost/boost/predef.h", - "external/sources/boost/boost/predef/architecture.h", - "external/sources/boost/boost/predef/architecture/alpha.h", - "external/sources/boost/boost/predef/architecture/arm.h", - "external/sources/boost/boost/predef/architecture/blackfin.h", - "external/sources/boost/boost/predef/architecture/convex.h", - "external/sources/boost/boost/predef/architecture/ia64.h", - "external/sources/boost/boost/predef/architecture/m68k.h", - "external/sources/boost/boost/predef/architecture/mips.h", - "external/sources/boost/boost/predef/architecture/parisc.h", - "external/sources/boost/boost/predef/architecture/ppc.h", - "external/sources/boost/boost/predef/architecture/ptx.h", - "external/sources/boost/boost/predef/architecture/pyramid.h", - "external/sources/boost/boost/predef/architecture/riscv.h", - "external/sources/boost/boost/predef/architecture/rs6k.h", - "external/sources/boost/boost/predef/architecture/sparc.h", - "external/sources/boost/boost/predef/architecture/superh.h", - "external/sources/boost/boost/predef/architecture/sys370.h", - "external/sources/boost/boost/predef/architecture/sys390.h", - "external/sources/boost/boost/predef/architecture/x86.h", - "external/sources/boost/boost/predef/architecture/x86/32.h", - "external/sources/boost/boost/predef/architecture/x86/64.h", - "external/sources/boost/boost/predef/architecture/z.h", - "external/sources/boost/boost/predef/compiler.h", - "external/sources/boost/boost/predef/compiler/borland.h", - "external/sources/boost/boost/predef/compiler/clang.h", - "external/sources/boost/boost/predef/compiler/comeau.h", - "external/sources/boost/boost/predef/compiler/compaq.h", - "external/sources/boost/boost/predef/compiler/diab.h", - "external/sources/boost/boost/predef/compiler/digitalmars.h", - "external/sources/boost/boost/predef/compiler/dignus.h", - "external/sources/boost/boost/predef/compiler/edg.h", - "external/sources/boost/boost/predef/compiler/ekopath.h", - "external/sources/boost/boost/predef/compiler/gcc.h", - "external/sources/boost/boost/predef/compiler/gcc_xml.h", - "external/sources/boost/boost/predef/compiler/greenhills.h", - "external/sources/boost/boost/predef/compiler/hp_acc.h", - "external/sources/boost/boost/predef/compiler/iar.h", - "external/sources/boost/boost/predef/compiler/ibm.h", - "external/sources/boost/boost/predef/compiler/intel.h", - "external/sources/boost/boost/predef/compiler/kai.h", - "external/sources/boost/boost/predef/compiler/llvm.h", - "external/sources/boost/boost/predef/compiler/metaware.h", - "external/sources/boost/boost/predef/compiler/metrowerks.h", - "external/sources/boost/boost/predef/compiler/microtec.h", - "external/sources/boost/boost/predef/compiler/mpw.h", - "external/sources/boost/boost/predef/compiler/nvcc.h", - "external/sources/boost/boost/predef/compiler/palm.h", - "external/sources/boost/boost/predef/compiler/pgi.h", - "external/sources/boost/boost/predef/compiler/sgi_mipspro.h", - "external/sources/boost/boost/predef/compiler/sunpro.h", - "external/sources/boost/boost/predef/compiler/tendra.h", - "external/sources/boost/boost/predef/compiler/visualc.h", - "external/sources/boost/boost/predef/compiler/watcom.h", - "external/sources/boost/boost/predef/detail/_cassert.h", - "external/sources/boost/boost/predef/detail/_exception.h", - "external/sources/boost/boost/predef/detail/comp_detected.h", - "external/sources/boost/boost/predef/detail/os_detected.h", - "external/sources/boost/boost/predef/detail/platform_detected.h", - "external/sources/boost/boost/predef/detail/test.h", - "external/sources/boost/boost/predef/detail/test_def.h", - "external/sources/boost/boost/predef/hardware.h", - "external/sources/boost/boost/predef/hardware/simd.h", - "external/sources/boost/boost/predef/hardware/simd/arm.h", - "external/sources/boost/boost/predef/hardware/simd/arm/versions.h", - "external/sources/boost/boost/predef/hardware/simd/ppc.h", - "external/sources/boost/boost/predef/hardware/simd/ppc/versions.h", - "external/sources/boost/boost/predef/hardware/simd/x86.h", - "external/sources/boost/boost/predef/hardware/simd/x86/versions.h", - "external/sources/boost/boost/predef/hardware/simd/x86_amd.h", - "external/sources/boost/boost/predef/hardware/simd/x86_amd/versions.h", - "external/sources/boost/boost/predef/language.h", - "external/sources/boost/boost/predef/language/cuda.h", - "external/sources/boost/boost/predef/language/objc.h", - "external/sources/boost/boost/predef/language/stdc.h", - "external/sources/boost/boost/predef/language/stdcpp.h", - "external/sources/boost/boost/predef/library.h", - "external/sources/boost/boost/predef/library/c.h", - "external/sources/boost/boost/predef/library/c/_prefix.h", - "external/sources/boost/boost/predef/library/c/cloudabi.h", - "external/sources/boost/boost/predef/library/c/gnu.h", - "external/sources/boost/boost/predef/library/c/uc.h", - "external/sources/boost/boost/predef/library/c/vms.h", - "external/sources/boost/boost/predef/library/c/zos.h", - "external/sources/boost/boost/predef/library/std.h", - "external/sources/boost/boost/predef/library/std/_prefix.h", - "external/sources/boost/boost/predef/library/std/cxx.h", - "external/sources/boost/boost/predef/library/std/dinkumware.h", - "external/sources/boost/boost/predef/library/std/libcomo.h", - "external/sources/boost/boost/predef/library/std/modena.h", - "external/sources/boost/boost/predef/library/std/msl.h", - "external/sources/boost/boost/predef/library/std/roguewave.h", - "external/sources/boost/boost/predef/library/std/sgi.h", - "external/sources/boost/boost/predef/library/std/stdcpp3.h", - "external/sources/boost/boost/predef/library/std/stlport.h", - "external/sources/boost/boost/predef/library/std/vacpp.h", - "external/sources/boost/boost/predef/make.h", - "external/sources/boost/boost/predef/os.h", - "external/sources/boost/boost/predef/os/aix.h", - "external/sources/boost/boost/predef/os/amigaos.h", - "external/sources/boost/boost/predef/os/beos.h", - "external/sources/boost/boost/predef/os/bsd.h", - "external/sources/boost/boost/predef/os/bsd/bsdi.h", - "external/sources/boost/boost/predef/os/bsd/dragonfly.h", - "external/sources/boost/boost/predef/os/bsd/free.h", - "external/sources/boost/boost/predef/os/bsd/net.h", - "external/sources/boost/boost/predef/os/bsd/open.h", - "external/sources/boost/boost/predef/os/cygwin.h", - "external/sources/boost/boost/predef/os/haiku.h", - "external/sources/boost/boost/predef/os/hpux.h", - "external/sources/boost/boost/predef/os/ios.h", - "external/sources/boost/boost/predef/os/irix.h", - "external/sources/boost/boost/predef/os/linux.h", - "external/sources/boost/boost/predef/os/macos.h", - "external/sources/boost/boost/predef/os/os400.h", - "external/sources/boost/boost/predef/os/qnxnto.h", - "external/sources/boost/boost/predef/os/solaris.h", - "external/sources/boost/boost/predef/os/unix.h", - "external/sources/boost/boost/predef/os/vms.h", - "external/sources/boost/boost/predef/os/windows.h", - "external/sources/boost/boost/predef/other.h", - "external/sources/boost/boost/predef/other/endian.h", - "external/sources/boost/boost/predef/other/workaround.h", - "external/sources/boost/boost/predef/platform.h", - "external/sources/boost/boost/predef/platform/android.h", - "external/sources/boost/boost/predef/platform/cloudabi.h", - "external/sources/boost/boost/predef/platform/ios.h", - "external/sources/boost/boost/predef/platform/mingw.h", - "external/sources/boost/boost/predef/platform/mingw32.h", - "external/sources/boost/boost/predef/platform/mingw64.h", - "external/sources/boost/boost/predef/platform/windows_desktop.h", - "external/sources/boost/boost/predef/platform/windows_phone.h", - "external/sources/boost/boost/predef/platform/windows_runtime.h", - "external/sources/boost/boost/predef/platform/windows_server.h", - "external/sources/boost/boost/predef/platform/windows_store.h", - "external/sources/boost/boost/predef/platform/windows_system.h", - "external/sources/boost/boost/predef/platform/windows_uwp.h", - "external/sources/boost/boost/predef/version.h", - "external/sources/boost/boost/predef/version_number.h", - "external/sources/boost/boost/preprocessor.hpp", - "external/sources/boost/boost/preprocessor/arithmetic.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/add.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/dec.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/detail/div_base.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/div.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/inc.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/mod.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/mul.hpp", - "external/sources/boost/boost/preprocessor/arithmetic/sub.hpp", - "external/sources/boost/boost/preprocessor/array.hpp", - "external/sources/boost/boost/preprocessor/array/data.hpp", - "external/sources/boost/boost/preprocessor/array/detail/get_data.hpp", - "external/sources/boost/boost/preprocessor/array/elem.hpp", - "external/sources/boost/boost/preprocessor/array/enum.hpp", - "external/sources/boost/boost/preprocessor/array/insert.hpp", - "external/sources/boost/boost/preprocessor/array/pop_back.hpp", - "external/sources/boost/boost/preprocessor/array/pop_front.hpp", - "external/sources/boost/boost/preprocessor/array/push_back.hpp", - "external/sources/boost/boost/preprocessor/array/push_front.hpp", - "external/sources/boost/boost/preprocessor/array/remove.hpp", - "external/sources/boost/boost/preprocessor/array/replace.hpp", - "external/sources/boost/boost/preprocessor/array/reverse.hpp", - "external/sources/boost/boost/preprocessor/array/size.hpp", - "external/sources/boost/boost/preprocessor/array/to_list.hpp", - "external/sources/boost/boost/preprocessor/array/to_seq.hpp", - "external/sources/boost/boost/preprocessor/array/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/assert_msg.hpp", - "external/sources/boost/boost/preprocessor/cat.hpp", - "external/sources/boost/boost/preprocessor/comma.hpp", - "external/sources/boost/boost/preprocessor/comma_if.hpp", - "external/sources/boost/boost/preprocessor/comparison.hpp", - "external/sources/boost/boost/preprocessor/comparison/equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/greater.hpp", - "external/sources/boost/boost/preprocessor/comparison/greater_equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/less.hpp", - "external/sources/boost/boost/preprocessor/comparison/less_equal.hpp", - "external/sources/boost/boost/preprocessor/comparison/not_equal.hpp", - "external/sources/boost/boost/preprocessor/config/config.hpp", - "external/sources/boost/boost/preprocessor/config/limits.hpp", - "external/sources/boost/boost/preprocessor/control.hpp", - "external/sources/boost/boost/preprocessor/control/deduce_d.hpp", - "external/sources/boost/boost/preprocessor/control/detail/dmc/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/edg/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/msvc/while.hpp", - "external/sources/boost/boost/preprocessor/control/detail/while.hpp", - "external/sources/boost/boost/preprocessor/control/expr_if.hpp", - "external/sources/boost/boost/preprocessor/control/expr_iif.hpp", - "external/sources/boost/boost/preprocessor/control/if.hpp", - "external/sources/boost/boost/preprocessor/control/iif.hpp", - "external/sources/boost/boost/preprocessor/control/while.hpp", - "external/sources/boost/boost/preprocessor/debug.hpp", - "external/sources/boost/boost/preprocessor/dec.hpp", - "external/sources/boost/boost/preprocessor/detail/auto_rec.hpp", - "external/sources/boost/boost/preprocessor/detail/check.hpp", - "external/sources/boost/boost/preprocessor/detail/dmc/auto_rec.hpp", - "external/sources/boost/boost/preprocessor/detail/is_binary.hpp", - "external/sources/boost/boost/preprocessor/detail/is_nullary.hpp", - "external/sources/boost/boost/preprocessor/detail/is_unary.hpp", - "external/sources/boost/boost/preprocessor/detail/null.hpp", - "external/sources/boost/boost/preprocessor/detail/split.hpp", - "external/sources/boost/boost/preprocessor/empty.hpp", - "external/sources/boost/boost/preprocessor/enum.hpp", - "external/sources/boost/boost/preprocessor/enum_params.hpp", - "external/sources/boost/boost/preprocessor/enum_params_with_a_default.hpp", - "external/sources/boost/boost/preprocessor/enum_params_with_defaults.hpp", - "external/sources/boost/boost/preprocessor/enum_shifted.hpp", - "external/sources/boost/boost/preprocessor/enum_shifted_params.hpp", - "external/sources/boost/boost/preprocessor/expand.hpp", - "external/sources/boost/boost/preprocessor/expr_if.hpp", - "external/sources/boost/boost/preprocessor/facilities.hpp", - "external/sources/boost/boost/preprocessor/facilities/apply.hpp", - "external/sources/boost/boost/preprocessor/facilities/check_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/detail/is_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/expand.hpp", - "external/sources/boost/boost/preprocessor/facilities/identity.hpp", - "external/sources/boost/boost/preprocessor/facilities/intercept.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_1.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty_or_1.hpp", - "external/sources/boost/boost/preprocessor/facilities/is_empty_variadic.hpp", - "external/sources/boost/boost/preprocessor/facilities/overload.hpp", - "external/sources/boost/boost/preprocessor/facilities/va_opt.hpp", - "external/sources/boost/boost/preprocessor/for.hpp", - "external/sources/boost/boost/preprocessor/identity.hpp", - "external/sources/boost/boost/preprocessor/if.hpp", - "external/sources/boost/boost/preprocessor/inc.hpp", - "external/sources/boost/boost/preprocessor/iterate.hpp", - "external/sources/boost/boost/preprocessor/iteration.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/lower5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/bounds/upper5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/finish.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/forward5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse1.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse2.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse3.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse4.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/iter/reverse5.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/local.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/rlocal.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/self.hpp", - "external/sources/boost/boost/preprocessor/iteration/detail/start.hpp", - "external/sources/boost/boost/preprocessor/iteration/iterate.hpp", - "external/sources/boost/boost/preprocessor/iteration/local.hpp", - "external/sources/boost/boost/preprocessor/iteration/self.hpp", - "external/sources/boost/boost/preprocessor/library.hpp", - "external/sources/boost/boost/preprocessor/limits.hpp", - "external/sources/boost/boost/preprocessor/list.hpp", - "external/sources/boost/boost/preprocessor/list/adt.hpp", - "external/sources/boost/boost/preprocessor/list/append.hpp", - "external/sources/boost/boost/preprocessor/list/at.hpp", - "external/sources/boost/boost/preprocessor/list/cat.hpp", - "external/sources/boost/boost/preprocessor/list/detail/dmc/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/edg/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/edg/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/detail/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/detail/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/enum.hpp", - "external/sources/boost/boost/preprocessor/list/filter.hpp", - "external/sources/boost/boost/preprocessor/list/first_n.hpp", - "external/sources/boost/boost/preprocessor/list/fold_left.hpp", - "external/sources/boost/boost/preprocessor/list/fold_right.hpp", - "external/sources/boost/boost/preprocessor/list/for_each.hpp", - "external/sources/boost/boost/preprocessor/list/for_each_i.hpp", - "external/sources/boost/boost/preprocessor/list/for_each_product.hpp", - "external/sources/boost/boost/preprocessor/list/rest_n.hpp", - "external/sources/boost/boost/preprocessor/list/reverse.hpp", - "external/sources/boost/boost/preprocessor/list/size.hpp", - "external/sources/boost/boost/preprocessor/list/to_array.hpp", - "external/sources/boost/boost/preprocessor/list/to_seq.hpp", - "external/sources/boost/boost/preprocessor/list/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/list/transform.hpp", - "external/sources/boost/boost/preprocessor/logical.hpp", - "external/sources/boost/boost/preprocessor/logical/and.hpp", - "external/sources/boost/boost/preprocessor/logical/bitand.hpp", - "external/sources/boost/boost/preprocessor/logical/bitnor.hpp", - "external/sources/boost/boost/preprocessor/logical/bitor.hpp", - "external/sources/boost/boost/preprocessor/logical/bitxor.hpp", - "external/sources/boost/boost/preprocessor/logical/bool.hpp", - "external/sources/boost/boost/preprocessor/logical/compl.hpp", - "external/sources/boost/boost/preprocessor/logical/nor.hpp", - "external/sources/boost/boost/preprocessor/logical/not.hpp", - "external/sources/boost/boost/preprocessor/logical/or.hpp", - "external/sources/boost/boost/preprocessor/logical/xor.hpp", - "external/sources/boost/boost/preprocessor/max.hpp", - "external/sources/boost/boost/preprocessor/min.hpp", - "external/sources/boost/boost/preprocessor/punctuation.hpp", - "external/sources/boost/boost/preprocessor/punctuation/comma.hpp", - "external/sources/boost/boost/preprocessor/punctuation/comma_if.hpp", - "external/sources/boost/boost/preprocessor/punctuation/detail/is_begin_parens.hpp", - "external/sources/boost/boost/preprocessor/punctuation/is_begin_parens.hpp", - "external/sources/boost/boost/preprocessor/punctuation/paren.hpp", - "external/sources/boost/boost/preprocessor/punctuation/paren_if.hpp", - "external/sources/boost/boost/preprocessor/punctuation/remove_parens.hpp", - "external/sources/boost/boost/preprocessor/repeat.hpp", - "external/sources/boost/boost/preprocessor/repeat_2nd.hpp", - "external/sources/boost/boost/preprocessor/repeat_3rd.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to_2nd.hpp", - "external/sources/boost/boost/preprocessor/repeat_from_to_3rd.hpp", - "external/sources/boost/boost/preprocessor/repetition.hpp", - "external/sources/boost/boost/preprocessor/repetition/deduce_r.hpp", - "external/sources/boost/boost/preprocessor/repetition/deduce_z.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/dmc/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/edg/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/detail/msvc/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params_with_a_default.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_params_with_defaults.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_shifted_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing_binary_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/enum_trailing_params.hpp", - "external/sources/boost/boost/preprocessor/repetition/for.hpp", - "external/sources/boost/boost/preprocessor/repetition/repeat.hpp", - "external/sources/boost/boost/preprocessor/repetition/repeat_from_to.hpp", - "external/sources/boost/boost/preprocessor/selection.hpp", - "external/sources/boost/boost/preprocessor/selection/max.hpp", - "external/sources/boost/boost/preprocessor/selection/min.hpp", - "external/sources/boost/boost/preprocessor/seq.hpp", - "external/sources/boost/boost/preprocessor/seq/cat.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/binary_transform.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/is_empty.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/split.hpp", - "external/sources/boost/boost/preprocessor/seq/detail/to_list_msvc.hpp", - "external/sources/boost/boost/preprocessor/seq/elem.hpp", - "external/sources/boost/boost/preprocessor/seq/enum.hpp", - "external/sources/boost/boost/preprocessor/seq/filter.hpp", - "external/sources/boost/boost/preprocessor/seq/first_n.hpp", - "external/sources/boost/boost/preprocessor/seq/fold_left.hpp", - "external/sources/boost/boost/preprocessor/seq/fold_right.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each_i.hpp", - "external/sources/boost/boost/preprocessor/seq/for_each_product.hpp", - "external/sources/boost/boost/preprocessor/seq/insert.hpp", - "external/sources/boost/boost/preprocessor/seq/pop_back.hpp", - "external/sources/boost/boost/preprocessor/seq/pop_front.hpp", - "external/sources/boost/boost/preprocessor/seq/push_back.hpp", - "external/sources/boost/boost/preprocessor/seq/push_front.hpp", - "external/sources/boost/boost/preprocessor/seq/remove.hpp", - "external/sources/boost/boost/preprocessor/seq/replace.hpp", - "external/sources/boost/boost/preprocessor/seq/rest_n.hpp", - "external/sources/boost/boost/preprocessor/seq/reverse.hpp", - "external/sources/boost/boost/preprocessor/seq/seq.hpp", - "external/sources/boost/boost/preprocessor/seq/size.hpp", - "external/sources/boost/boost/preprocessor/seq/subseq.hpp", - "external/sources/boost/boost/preprocessor/seq/to_array.hpp", - "external/sources/boost/boost/preprocessor/seq/to_list.hpp", - "external/sources/boost/boost/preprocessor/seq/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/seq/transform.hpp", - "external/sources/boost/boost/preprocessor/seq/variadic_seq_to_seq.hpp", - "external/sources/boost/boost/preprocessor/slot.hpp", - "external/sources/boost/boost/preprocessor/slot/counter.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/counter.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/def.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/shared.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot1.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot2.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot3.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot4.hpp", - "external/sources/boost/boost/preprocessor/slot/detail/slot5.hpp", - "external/sources/boost/boost/preprocessor/slot/slot.hpp", - "external/sources/boost/boost/preprocessor/stringize.hpp", - "external/sources/boost/boost/preprocessor/tuple.hpp", - "external/sources/boost/boost/preprocessor/tuple/detail/is_single_return.hpp", - "external/sources/boost/boost/preprocessor/tuple/eat.hpp", - "external/sources/boost/boost/preprocessor/tuple/elem.hpp", - "external/sources/boost/boost/preprocessor/tuple/enum.hpp", - "external/sources/boost/boost/preprocessor/tuple/insert.hpp", - "external/sources/boost/boost/preprocessor/tuple/pop_back.hpp", - "external/sources/boost/boost/preprocessor/tuple/pop_front.hpp", - "external/sources/boost/boost/preprocessor/tuple/push_back.hpp", - "external/sources/boost/boost/preprocessor/tuple/push_front.hpp", - "external/sources/boost/boost/preprocessor/tuple/rem.hpp", - "external/sources/boost/boost/preprocessor/tuple/remove.hpp", - "external/sources/boost/boost/preprocessor/tuple/replace.hpp", - "external/sources/boost/boost/preprocessor/tuple/reverse.hpp", - "external/sources/boost/boost/preprocessor/tuple/size.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_array.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_list.hpp", - "external/sources/boost/boost/preprocessor/tuple/to_seq.hpp", - "external/sources/boost/boost/preprocessor/variadic.hpp", - "external/sources/boost/boost/preprocessor/variadic/detail/has_opt.hpp", - "external/sources/boost/boost/preprocessor/variadic/detail/is_single_return.hpp", - "external/sources/boost/boost/preprocessor/variadic/elem.hpp", - "external/sources/boost/boost/preprocessor/variadic/has_opt.hpp", - "external/sources/boost/boost/preprocessor/variadic/size.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_array.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_list.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_seq.hpp", - "external/sources/boost/boost/preprocessor/variadic/to_tuple.hpp", - "external/sources/boost/boost/preprocessor/while.hpp", - "external/sources/boost/boost/preprocessor/wstringize.hpp", - "external/sources/boost/boost/process.hpp", - "external/sources/boost/boost/process/args.hpp", - "external/sources/boost/boost/process/async.hpp", - "external/sources/boost/boost/process/async_pipe.hpp", - "external/sources/boost/boost/process/async_system.hpp", - "external/sources/boost/boost/process/child.hpp", - "external/sources/boost/boost/process/cmd.hpp", - "external/sources/boost/boost/process/detail/async_handler.hpp", - "external/sources/boost/boost/process/detail/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/child_decl.hpp", - "external/sources/boost/boost/process/detail/config.hpp", - "external/sources/boost/boost/process/detail/execute_impl.hpp", - "external/sources/boost/boost/process/detail/handler.hpp", - "external/sources/boost/boost/process/detail/handler_base.hpp", - "external/sources/boost/boost/process/detail/on_exit.hpp", - "external/sources/boost/boost/process/detail/posix/asio_fwd.hpp", - "external/sources/boost/boost/process/detail/posix/async_handler.hpp", - "external/sources/boost/boost/process/detail/posix/async_in.hpp", - "external/sources/boost/boost/process/detail/posix/async_out.hpp", - "external/sources/boost/boost/process/detail/posix/async_pipe.hpp", - "external/sources/boost/boost/process/detail/posix/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/posix/basic_pipe.hpp", - "external/sources/boost/boost/process/detail/posix/child_handle.hpp", - "external/sources/boost/boost/process/detail/posix/close_in.hpp", - "external/sources/boost/boost/process/detail/posix/close_out.hpp", - "external/sources/boost/boost/process/detail/posix/cmd.hpp", - "external/sources/boost/boost/process/detail/posix/compare_handles.hpp", - "external/sources/boost/boost/process/detail/posix/env_init.hpp", - "external/sources/boost/boost/process/detail/posix/environment.hpp", - "external/sources/boost/boost/process/detail/posix/exe.hpp", - "external/sources/boost/boost/process/detail/posix/executor.hpp", - "external/sources/boost/boost/process/detail/posix/fd.hpp", - "external/sources/boost/boost/process/detail/posix/file_descriptor.hpp", - "external/sources/boost/boost/process/detail/posix/file_in.hpp", - "external/sources/boost/boost/process/detail/posix/file_out.hpp", - "external/sources/boost/boost/process/detail/posix/group_handle.hpp", - "external/sources/boost/boost/process/detail/posix/group_ref.hpp", - "external/sources/boost/boost/process/detail/posix/handler.hpp", - "external/sources/boost/boost/process/detail/posix/handles.hpp", - "external/sources/boost/boost/process/detail/posix/io_context_ref.hpp", - "external/sources/boost/boost/process/detail/posix/is_running.hpp", - "external/sources/boost/boost/process/detail/posix/null_in.hpp", - "external/sources/boost/boost/process/detail/posix/null_out.hpp", - "external/sources/boost/boost/process/detail/posix/on_exit.hpp", - "external/sources/boost/boost/process/detail/posix/pipe_in.hpp", - "external/sources/boost/boost/process/detail/posix/pipe_out.hpp", - "external/sources/boost/boost/process/detail/posix/search_path.hpp", - "external/sources/boost/boost/process/detail/posix/shell_path.hpp", - "external/sources/boost/boost/process/detail/posix/sigchld_service.hpp", - "external/sources/boost/boost/process/detail/posix/signal.hpp", - "external/sources/boost/boost/process/detail/posix/start_dir.hpp", - "external/sources/boost/boost/process/detail/posix/terminate.hpp", - "external/sources/boost/boost/process/detail/posix/use_vfork.hpp", - "external/sources/boost/boost/process/detail/posix/wait_for_exit.hpp", - "external/sources/boost/boost/process/detail/posix/wait_group.hpp", - "external/sources/boost/boost/process/detail/throw_on_error.hpp", - "external/sources/boost/boost/process/detail/traits.hpp", - "external/sources/boost/boost/process/detail/traits/async.hpp", - "external/sources/boost/boost/process/detail/traits/cmd_or_exe.hpp", - "external/sources/boost/boost/process/detail/traits/decl.hpp", - "external/sources/boost/boost/process/detail/traits/env.hpp", - "external/sources/boost/boost/process/detail/traits/error.hpp", - "external/sources/boost/boost/process/detail/traits/group.hpp", - "external/sources/boost/boost/process/detail/traits/wchar_t.hpp", - "external/sources/boost/boost/process/detail/used_handles.hpp", - "external/sources/boost/boost/process/detail/windows/asio_fwd.hpp", - "external/sources/boost/boost/process/detail/windows/async_handler.hpp", - "external/sources/boost/boost/process/detail/windows/async_in.hpp", - "external/sources/boost/boost/process/detail/windows/async_out.hpp", - "external/sources/boost/boost/process/detail/windows/async_pipe.hpp", - "external/sources/boost/boost/process/detail/windows/basic_cmd.hpp", - "external/sources/boost/boost/process/detail/windows/basic_pipe.hpp", - "external/sources/boost/boost/process/detail/windows/child_handle.hpp", - "external/sources/boost/boost/process/detail/windows/close_in.hpp", - "external/sources/boost/boost/process/detail/windows/close_out.hpp", - "external/sources/boost/boost/process/detail/windows/cmd.hpp", - "external/sources/boost/boost/process/detail/windows/compare_handles.hpp", - "external/sources/boost/boost/process/detail/windows/env_init.hpp", - "external/sources/boost/boost/process/detail/windows/environment.hpp", - "external/sources/boost/boost/process/detail/windows/executor.hpp", - "external/sources/boost/boost/process/detail/windows/file_descriptor.hpp", - "external/sources/boost/boost/process/detail/windows/file_in.hpp", - "external/sources/boost/boost/process/detail/windows/file_out.hpp", - "external/sources/boost/boost/process/detail/windows/group_handle.hpp", - "external/sources/boost/boost/process/detail/windows/group_ref.hpp", - "external/sources/boost/boost/process/detail/windows/handle_workaround.hpp", - "external/sources/boost/boost/process/detail/windows/handler.hpp", - "external/sources/boost/boost/process/detail/windows/handles.hpp", - "external/sources/boost/boost/process/detail/windows/io_context_ref.hpp", - "external/sources/boost/boost/process/detail/windows/is_running.hpp", - "external/sources/boost/boost/process/detail/windows/job_workaround.hpp", - "external/sources/boost/boost/process/detail/windows/locale.hpp", - "external/sources/boost/boost/process/detail/windows/null_in.hpp", - "external/sources/boost/boost/process/detail/windows/null_out.hpp", - "external/sources/boost/boost/process/detail/windows/on_exit.hpp", - "external/sources/boost/boost/process/detail/windows/pipe_in.hpp", - "external/sources/boost/boost/process/detail/windows/pipe_out.hpp", - "external/sources/boost/boost/process/detail/windows/search_path.hpp", - "external/sources/boost/boost/process/detail/windows/shell_path.hpp", - "external/sources/boost/boost/process/detail/windows/show_window.hpp", - "external/sources/boost/boost/process/detail/windows/start_dir.hpp", - "external/sources/boost/boost/process/detail/windows/terminate.hpp", - "external/sources/boost/boost/process/detail/windows/wait_for_exit.hpp", - "external/sources/boost/boost/process/detail/windows/wait_group.hpp", - "external/sources/boost/boost/process/env.hpp", - "external/sources/boost/boost/process/environment.hpp", - "external/sources/boost/boost/process/error.hpp", - "external/sources/boost/boost/process/exception.hpp", - "external/sources/boost/boost/process/exe.hpp", - "external/sources/boost/boost/process/extend.hpp", - "external/sources/boost/boost/process/group.hpp", - "external/sources/boost/boost/process/handles.hpp", - "external/sources/boost/boost/process/io.hpp", - "external/sources/boost/boost/process/locale.hpp", - "external/sources/boost/boost/process/pipe.hpp", - "external/sources/boost/boost/process/posix.hpp", - "external/sources/boost/boost/process/search_path.hpp", - "external/sources/boost/boost/process/shell.hpp", - "external/sources/boost/boost/process/spawn.hpp", - "external/sources/boost/boost/process/start_dir.hpp", - "external/sources/boost/boost/process/system.hpp", - "external/sources/boost/boost/process/windows.hpp", - "external/sources/boost/boost/program_options.hpp", - "external/sources/boost/boost/program_options/cmdline.hpp", - "external/sources/boost/boost/program_options/config.hpp", - "external/sources/boost/boost/program_options/detail/cmdline.hpp", - "external/sources/boost/boost/program_options/detail/config_file.hpp", - "external/sources/boost/boost/program_options/detail/convert.hpp", - "external/sources/boost/boost/program_options/detail/parsers.hpp", - "external/sources/boost/boost/program_options/detail/utf8_codecvt_facet.hpp", - "external/sources/boost/boost/program_options/detail/value_semantic.hpp", - "external/sources/boost/boost/program_options/environment_iterator.hpp", - "external/sources/boost/boost/program_options/eof_iterator.hpp", - "external/sources/boost/boost/program_options/errors.hpp", - "external/sources/boost/boost/program_options/option.hpp", - "external/sources/boost/boost/program_options/options_description.hpp", - "external/sources/boost/boost/program_options/parsers.hpp", - "external/sources/boost/boost/program_options/positional_options.hpp", - "external/sources/boost/boost/program_options/value_semantic.hpp", - "external/sources/boost/boost/program_options/variables_map.hpp", - "external/sources/boost/boost/program_options/version.hpp", - "external/sources/boost/boost/progress.hpp", - "external/sources/boost/boost/property_map/compose_property_map.hpp", - "external/sources/boost/boost/property_map/dynamic_property_map.hpp", - "external/sources/boost/boost/property_map/function_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/basic_reduce.hpp", - "external/sources/boost/boost/property_map/parallel/caching_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/detail/untracked_pair.hpp", - "external/sources/boost/boost/property_map/parallel/distributed_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/global_index_map.hpp", - "external/sources/boost/boost/property_map/parallel/impl/distributed_property_map.ipp", - "external/sources/boost/boost/property_map/parallel/local_property_map.hpp", - "external/sources/boost/boost/property_map/parallel/parallel_property_maps.hpp", - "external/sources/boost/boost/property_map/parallel/process_group.hpp", - "external/sources/boost/boost/property_map/parallel/simple_trigger.hpp", - "external/sources/boost/boost/property_map/parallel/unsafe_serialize.hpp", - "external/sources/boost/boost/property_map/parallel/vector_property_map.hpp", - "external/sources/boost/boost/property_map/property_map.hpp", - "external/sources/boost/boost/property_map/property_map_iterator.hpp", - "external/sources/boost/boost/property_map/shared_array_property_map.hpp", - "external/sources/boost/boost/property_map/transform_value_property_map.hpp", - "external/sources/boost/boost/property_map/vector_property_map.hpp", - "external/sources/boost/boost/property_tree/detail/exception_implementation.hpp", - "external/sources/boost/boost/property_tree/detail/file_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_read.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_utils.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_write.hpp", - "external/sources/boost/boost/property_tree/detail/info_parser_writer_settings.hpp", - "external/sources/boost/boost/property_tree/detail/ptree_implementation.hpp", - "external/sources/boost/boost/property_tree/detail/ptree_utils.hpp", - "external/sources/boost/boost/property_tree/detail/rapidxml.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_error.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_flags.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_read_rapidxml.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_utils.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_write.hpp", - "external/sources/boost/boost/property_tree/detail/xml_parser_writer_settings.hpp", - "external/sources/boost/boost/property_tree/exceptions.hpp", - "external/sources/boost/boost/property_tree/id_translator.hpp", - "external/sources/boost/boost/property_tree/info_parser.hpp", - "external/sources/boost/boost/property_tree/ini_parser.hpp", - "external/sources/boost/boost/property_tree/json_parser.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/narrow_encoding.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/parser.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/read.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/standard_callbacks.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/wide_encoding.hpp", - "external/sources/boost/boost/property_tree/json_parser/detail/write.hpp", - "external/sources/boost/boost/property_tree/json_parser/error.hpp", - "external/sources/boost/boost/property_tree/ptree.hpp", - "external/sources/boost/boost/property_tree/ptree_fwd.hpp", - "external/sources/boost/boost/property_tree/ptree_serialization.hpp", - "external/sources/boost/boost/property_tree/stream_translator.hpp", - "external/sources/boost/boost/property_tree/string_path.hpp", - "external/sources/boost/boost/property_tree/xml_parser.hpp", - "external/sources/boost/boost/proto/args.hpp", - "external/sources/boost/boost/proto/context.hpp", - "external/sources/boost/boost/proto/context/callable.hpp", - "external/sources/boost/boost/proto/context/default.hpp", - "external/sources/boost/boost/proto/context/detail/callable_eval.hpp", - "external/sources/boost/boost/proto/context/detail/default_eval.hpp", - "external/sources/boost/boost/proto/context/detail/null_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/callable_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/default_eval.hpp", - "external/sources/boost/boost/proto/context/detail/preprocessed/null_eval.hpp", - "external/sources/boost/boost/proto/context/null.hpp", - "external/sources/boost/boost/proto/core.hpp", - "external/sources/boost/boost/proto/debug.hpp", - "external/sources/boost/boost/proto/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/and_n.hpp", - "external/sources/boost/boost/proto/detail/any.hpp", - "external/sources/boost/boost/proto/detail/args.hpp", - "external/sources/boost/boost/proto/detail/as_expr.hpp", - "external/sources/boost/boost/proto/detail/as_lvalue.hpp", - "external/sources/boost/boost/proto/detail/basic_expr.hpp", - "external/sources/boost/boost/proto/detail/class_member_traits.hpp", - "external/sources/boost/boost/proto/detail/decltype.hpp", - "external/sources/boost/boost/proto/detail/deduce_domain.hpp", - "external/sources/boost/boost/proto/detail/deduce_domain_n.hpp", - "external/sources/boost/boost/proto/detail/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/deprecated.hpp", - "external/sources/boost/boost/proto/detail/dont_care.hpp", - "external/sources/boost/boost/proto/detail/expr.hpp", - "external/sources/boost/boost/proto/detail/expr_funop.hpp", - "external/sources/boost/boost/proto/detail/extends_funop.hpp", - "external/sources/boost/boost/proto/detail/extends_funop_const.hpp", - "external/sources/boost/boost/proto/detail/funop.hpp", - "external/sources/boost/boost/proto/detail/generate_by_value.hpp", - "external/sources/boost/boost/proto/detail/ignore_unused.hpp", - "external/sources/boost/boost/proto/detail/is_noncopyable.hpp", - "external/sources/boost/boost/proto/detail/lambda_matches.hpp", - "external/sources/boost/boost/proto/detail/local.hpp", - "external/sources/boost/boost/proto/detail/make_expr.hpp", - "external/sources/boost/boost/proto/detail/make_expr_.hpp", - "external/sources/boost/boost/proto/detail/make_expr_funop.hpp", - "external/sources/boost/boost/proto/detail/matches_.hpp", - "external/sources/boost/boost/proto/detail/memfun_funop.hpp", - "external/sources/boost/boost/proto/detail/or_n.hpp", - "external/sources/boost/boost/proto/detail/poly_function.hpp", - "external/sources/boost/boost/proto/detail/poly_function_funop.hpp", - "external/sources/boost/boost/proto/detail/poly_function_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/and_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/args.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/basic_expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/class_member_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/deduce_domain_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/deep_copy.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/expr_variadic.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/extends_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/extends_funop_const.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/generate_by_value.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/lambda_matches.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/make_expr_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/matches_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/memfun_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/or_n.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/poly_function_funop.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/poly_function_traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/template_arity_helper.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/traits.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/unpack_expr_.hpp", - "external/sources/boost/boost/proto/detail/preprocessed/vararg_matches_impl.hpp", - "external/sources/boost/boost/proto/detail/remove_typename.hpp", - "external/sources/boost/boost/proto/detail/static_const.hpp", - "external/sources/boost/boost/proto/detail/template_arity.hpp", - "external/sources/boost/boost/proto/detail/template_arity_helper.hpp", - "external/sources/boost/boost/proto/detail/traits.hpp", - "external/sources/boost/boost/proto/detail/unpack_expr_.hpp", - "external/sources/boost/boost/proto/detail/vararg_matches_impl.hpp", - "external/sources/boost/boost/proto/domain.hpp", - "external/sources/boost/boost/proto/eval.hpp", - "external/sources/boost/boost/proto/expr.hpp", - "external/sources/boost/boost/proto/extends.hpp", - "external/sources/boost/boost/proto/functional.hpp", - "external/sources/boost/boost/proto/functional/fusion.hpp", - "external/sources/boost/boost/proto/functional/fusion/at.hpp", - "external/sources/boost/boost/proto/functional/fusion/pop_back.hpp", - "external/sources/boost/boost/proto/functional/fusion/pop_front.hpp", - "external/sources/boost/boost/proto/functional/fusion/push_back.hpp", - "external/sources/boost/boost/proto/functional/fusion/push_front.hpp", - "external/sources/boost/boost/proto/functional/fusion/reverse.hpp", - "external/sources/boost/boost/proto/functional/range.hpp", - "external/sources/boost/boost/proto/functional/range/begin.hpp", - "external/sources/boost/boost/proto/functional/range/empty.hpp", - "external/sources/boost/boost/proto/functional/range/end.hpp", - "external/sources/boost/boost/proto/functional/range/rbegin.hpp", - "external/sources/boost/boost/proto/functional/range/rend.hpp", - "external/sources/boost/boost/proto/functional/range/size.hpp", - "external/sources/boost/boost/proto/functional/std.hpp", - "external/sources/boost/boost/proto/functional/std/iterator.hpp", - "external/sources/boost/boost/proto/functional/std/utility.hpp", - "external/sources/boost/boost/proto/fusion.hpp", - "external/sources/boost/boost/proto/generate.hpp", - "external/sources/boost/boost/proto/literal.hpp", - "external/sources/boost/boost/proto/make_expr.hpp", - "external/sources/boost/boost/proto/matches.hpp", - "external/sources/boost/boost/proto/operators.hpp", - "external/sources/boost/boost/proto/proto.hpp", - "external/sources/boost/boost/proto/proto_fwd.hpp", - "external/sources/boost/boost/proto/proto_typeof.hpp", - "external/sources/boost/boost/proto/repeat.hpp", - "external/sources/boost/boost/proto/tags.hpp", - "external/sources/boost/boost/proto/traits.hpp", - "external/sources/boost/boost/proto/transform.hpp", - "external/sources/boost/boost/proto/transform/arg.hpp", - "external/sources/boost/boost/proto/transform/call.hpp", - "external/sources/boost/boost/proto/transform/default.hpp", - "external/sources/boost/boost/proto/transform/detail/call.hpp", - "external/sources/boost/boost/proto/transform/detail/construct_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/construct_pod_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/default_function_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/expand_pack.hpp", - "external/sources/boost/boost/proto/transform/detail/fold_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/lazy.hpp", - "external/sources/boost/boost/proto/transform/detail/make.hpp", - "external/sources/boost/boost/proto/transform/detail/make_gcc_workaround.hpp", - "external/sources/boost/boost/proto/transform/detail/pack.hpp", - "external/sources/boost/boost/proto/transform/detail/pack_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/pass_through_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/call.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/construct_pod_funop.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/default_function_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/expand_pack.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/fold_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/lazy.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/make.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/make_gcc_workaround.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/pack_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/pass_through_impl.hpp", - "external/sources/boost/boost/proto/transform/detail/preprocessed/when.hpp", - "external/sources/boost/boost/proto/transform/detail/when.hpp", - "external/sources/boost/boost/proto/transform/env.hpp", - "external/sources/boost/boost/proto/transform/fold.hpp", - "external/sources/boost/boost/proto/transform/fold_tree.hpp", - "external/sources/boost/boost/proto/transform/impl.hpp", - "external/sources/boost/boost/proto/transform/integral_c.hpp", - "external/sources/boost/boost/proto/transform/lazy.hpp", - "external/sources/boost/boost/proto/transform/make.hpp", - "external/sources/boost/boost/proto/transform/pass_through.hpp", - "external/sources/boost/boost/proto/transform/when.hpp", - "external/sources/boost/boost/ptr_container/clone_allocator.hpp", - "external/sources/boost/boost/ptr_container/detail/associative_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/detail/default_deleter.hpp", - "external/sources/boost/boost/ptr_container/detail/is_convertible.hpp", - "external/sources/boost/boost/ptr_container/detail/map_iterator.hpp", - "external/sources/boost/boost/ptr_container/detail/meta_functions.hpp", - "external/sources/boost/boost/ptr_container/detail/move.hpp", - "external/sources/boost/boost/ptr_container/detail/ptr_container_disable_deprecated.hpp", - "external/sources/boost/boost/ptr_container/detail/reversible_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/detail/scoped_deleter.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_ptr_map_adapter.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_reversible_cont.hpp", - "external/sources/boost/boost/ptr_container/detail/serialize_xml_names.hpp", - "external/sources/boost/boost/ptr_container/detail/static_move_ptr.hpp", - "external/sources/boost/boost/ptr_container/detail/throw_exception.hpp", - "external/sources/boost/boost/ptr_container/detail/void_ptr_iterator.hpp", - "external/sources/boost/boost/ptr_container/exception.hpp", - "external/sources/boost/boost/ptr_container/indirect_fun.hpp", - "external/sources/boost/boost/ptr_container/nullable.hpp", - "external/sources/boost/boost/ptr_container/ptr_array.hpp", - "external/sources/boost/boost/ptr_container/ptr_circular_buffer.hpp", - "external/sources/boost/boost/ptr_container/ptr_container.hpp", - "external/sources/boost/boost/ptr_container/ptr_deque.hpp", - "external/sources/boost/boost/ptr_container/ptr_inserter.hpp", - "external/sources/boost/boost/ptr_container/ptr_list.hpp", - "external/sources/boost/boost/ptr_container/ptr_map.hpp", - "external/sources/boost/boost/ptr_container/ptr_map_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_sequence_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_set.hpp", - "external/sources/boost/boost/ptr_container/ptr_set_adapter.hpp", - "external/sources/boost/boost/ptr_container/ptr_unordered_map.hpp", - "external/sources/boost/boost/ptr_container/ptr_unordered_set.hpp", - "external/sources/boost/boost/ptr_container/ptr_vector.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_array.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_circular_buffer.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_container.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_deque.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_list.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_map.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_set.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_map.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_unordered_set.hpp", - "external/sources/boost/boost/ptr_container/serialize_ptr_vector.hpp", - "external/sources/boost/boost/python.hpp", - "external/sources/boost/boost/python/arg_from_python.hpp", - "external/sources/boost/boost/python/args.hpp", - "external/sources/boost/boost/python/args_fwd.hpp", - "external/sources/boost/boost/python/back_reference.hpp", - "external/sources/boost/boost/python/base_type_traits.hpp", - "external/sources/boost/boost/python/bases.hpp", - "external/sources/boost/boost/python/borrowed.hpp", - "external/sources/boost/boost/python/call.hpp", - "external/sources/boost/boost/python/call_method.hpp", - "external/sources/boost/boost/python/cast.hpp", - "external/sources/boost/boost/python/class.hpp", - "external/sources/boost/boost/python/class_fwd.hpp", - "external/sources/boost/boost/python/converter/arg_from_python.hpp", - "external/sources/boost/boost/python/converter/arg_to_python.hpp", - "external/sources/boost/boost/python/converter/arg_to_python_base.hpp", - "external/sources/boost/boost/python/converter/as_to_python_function.hpp", - "external/sources/boost/boost/python/converter/builtin_converters.hpp", - "external/sources/boost/boost/python/converter/constructor_function.hpp", - "external/sources/boost/boost/python/converter/context_result_converter.hpp", - "external/sources/boost/boost/python/converter/convertible_function.hpp", - "external/sources/boost/boost/python/converter/from_python.hpp", - "external/sources/boost/boost/python/converter/implicit.hpp", - "external/sources/boost/boost/python/converter/obj_mgr_arg_from_python.hpp", - "external/sources/boost/boost/python/converter/object_manager.hpp", - "external/sources/boost/boost/python/converter/pointer_type_id.hpp", - "external/sources/boost/boost/python/converter/pyobject_traits.hpp", - "external/sources/boost/boost/python/converter/pyobject_type.hpp", - "external/sources/boost/boost/python/converter/pytype_function.hpp", - "external/sources/boost/boost/python/converter/pytype_object_mgr_traits.hpp", - "external/sources/boost/boost/python/converter/registered.hpp", - "external/sources/boost/boost/python/converter/registered_pointee.hpp", - "external/sources/boost/boost/python/converter/registrations.hpp", - "external/sources/boost/boost/python/converter/registry.hpp", - "external/sources/boost/boost/python/converter/return_from_python.hpp", - "external/sources/boost/boost/python/converter/rvalue_from_python_data.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_deleter.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_from_python.hpp", - "external/sources/boost/boost/python/converter/shared_ptr_to_python.hpp", - "external/sources/boost/boost/python/converter/to_python_function_type.hpp", - "external/sources/boost/boost/python/copy_const_reference.hpp", - "external/sources/boost/boost/python/copy_non_const_reference.hpp", - "external/sources/boost/boost/python/data_members.hpp", - "external/sources/boost/boost/python/def.hpp", - "external/sources/boost/boost/python/def_visitor.hpp", - "external/sources/boost/boost/python/default_call_policies.hpp", - "external/sources/boost/boost/python/detail/aix_init_module.hpp", - "external/sources/boost/boost/python/detail/api_placeholder.hpp", - "external/sources/boost/boost/python/detail/borrowed_ptr.hpp", - "external/sources/boost/boost/python/detail/caller.hpp", - "external/sources/boost/boost/python/detail/config.hpp", - "external/sources/boost/boost/python/detail/construct.hpp", - "external/sources/boost/boost/python/detail/convertible.hpp", - "external/sources/boost/boost/python/detail/copy_ctor_mutates_rhs.hpp", - "external/sources/boost/boost/python/detail/cv_category.hpp", - "external/sources/boost/boost/python/detail/dealloc.hpp", - "external/sources/boost/boost/python/detail/decorated_type_id.hpp", - "external/sources/boost/boost/python/detail/decref_guard.hpp", - "external/sources/boost/boost/python/detail/def_helper.hpp", - "external/sources/boost/boost/python/detail/def_helper_fwd.hpp", - "external/sources/boost/boost/python/detail/defaults_def.hpp", - "external/sources/boost/boost/python/detail/defaults_gen.hpp", - "external/sources/boost/boost/python/detail/dependent.hpp", - "external/sources/boost/boost/python/detail/destroy.hpp", - "external/sources/boost/boost/python/detail/enable_if.hpp", - "external/sources/boost/boost/python/detail/exception_handler.hpp", - "external/sources/boost/boost/python/detail/force_instantiate.hpp", - "external/sources/boost/boost/python/detail/if_else.hpp", - "external/sources/boost/boost/python/detail/indirect_traits.hpp", - "external/sources/boost/boost/python/detail/invoke.hpp", - "external/sources/boost/boost/python/detail/is_auto_ptr.hpp", - "external/sources/boost/boost/python/detail/is_shared_ptr.hpp", - "external/sources/boost/boost/python/detail/is_wrapper.hpp", - "external/sources/boost/boost/python/detail/is_xxx.hpp", - "external/sources/boost/boost/python/detail/make_keyword_range_fn.hpp", - "external/sources/boost/boost/python/detail/make_tuple.hpp", - "external/sources/boost/boost/python/detail/map_entry.hpp", - "external/sources/boost/boost/python/detail/mpl_lambda.hpp", - "external/sources/boost/boost/python/detail/msvc_typeinfo.hpp", - "external/sources/boost/boost/python/detail/none.hpp", - "external/sources/boost/boost/python/detail/not_specified.hpp", - "external/sources/boost/boost/python/detail/nullary_function_adaptor.hpp", - "external/sources/boost/boost/python/detail/operator_id.hpp", - "external/sources/boost/boost/python/detail/overloads_fwd.hpp", - "external/sources/boost/boost/python/detail/pointee.hpp", - "external/sources/boost/boost/python/detail/prefix.hpp", - "external/sources/boost/boost/python/detail/preprocessor.hpp", - "external/sources/boost/boost/python/detail/python22_fixed.h", - "external/sources/boost/boost/python/detail/python_type.hpp", - "external/sources/boost/boost/python/detail/raw_pyobject.hpp", - "external/sources/boost/boost/python/detail/referent_storage.hpp", - "external/sources/boost/boost/python/detail/result.hpp", - "external/sources/boost/boost/python/detail/scope.hpp", - "external/sources/boost/boost/python/detail/sfinae.hpp", - "external/sources/boost/boost/python/detail/signature.hpp", - "external/sources/boost/boost/python/detail/string_literal.hpp", - "external/sources/boost/boost/python/detail/target.hpp", - "external/sources/boost/boost/python/detail/translate_exception.hpp", - "external/sources/boost/boost/python/detail/type_list.hpp", - "external/sources/boost/boost/python/detail/type_list_impl.hpp", - "external/sources/boost/boost/python/detail/type_traits.hpp", - "external/sources/boost/boost/python/detail/unwind_type.hpp", - "external/sources/boost/boost/python/detail/unwrap_type_id.hpp", - "external/sources/boost/boost/python/detail/unwrap_wrapper.hpp", - "external/sources/boost/boost/python/detail/value_arg.hpp", - "external/sources/boost/boost/python/detail/value_is_shared_ptr.hpp", - "external/sources/boost/boost/python/detail/value_is_xxx.hpp", - "external/sources/boost/boost/python/detail/void_ptr.hpp", - "external/sources/boost/boost/python/detail/void_return.hpp", - "external/sources/boost/boost/python/detail/wrap_python.hpp", - "external/sources/boost/boost/python/detail/wrapper_base.hpp", - "external/sources/boost/boost/python/dict.hpp", - "external/sources/boost/boost/python/docstring_options.hpp", - "external/sources/boost/boost/python/enum.hpp", - "external/sources/boost/boost/python/errors.hpp", - "external/sources/boost/boost/python/exception_translator.hpp", - "external/sources/boost/boost/python/exec.hpp", - "external/sources/boost/boost/python/extract.hpp", - "external/sources/boost/boost/python/handle.hpp", - "external/sources/boost/boost/python/handle_fwd.hpp", - "external/sources/boost/boost/python/has_back_reference.hpp", - "external/sources/boost/boost/python/implicit.hpp", - "external/sources/boost/boost/python/import.hpp", - "external/sources/boost/boost/python/init.hpp", - "external/sources/boost/boost/python/instance_holder.hpp", - "external/sources/boost/boost/python/iterator.hpp", - "external/sources/boost/boost/python/list.hpp", - "external/sources/boost/boost/python/long.hpp", - "external/sources/boost/boost/python/lvalue_from_pytype.hpp", - "external/sources/boost/boost/python/make_constructor.hpp", - "external/sources/boost/boost/python/make_function.hpp", - "external/sources/boost/boost/python/manage_new_object.hpp", - "external/sources/boost/boost/python/module.hpp", - "external/sources/boost/boost/python/module_init.hpp", - "external/sources/boost/boost/python/numpy.hpp", - "external/sources/boost/boost/python/numpy/config.hpp", - "external/sources/boost/boost/python/numpy/dtype.hpp", - "external/sources/boost/boost/python/numpy/internal.hpp", - "external/sources/boost/boost/python/numpy/invoke_matching.hpp", - "external/sources/boost/boost/python/numpy/matrix.hpp", - "external/sources/boost/boost/python/numpy/ndarray.hpp", - "external/sources/boost/boost/python/numpy/numpy_object_mgr_traits.hpp", - "external/sources/boost/boost/python/numpy/scalars.hpp", - "external/sources/boost/boost/python/numpy/ufunc.hpp", - "external/sources/boost/boost/python/object.hpp", - "external/sources/boost/boost/python/object/add_to_namespace.hpp", - "external/sources/boost/boost/python/object/class.hpp", - "external/sources/boost/boost/python/object/class_detail.hpp", - "external/sources/boost/boost/python/object/class_metadata.hpp", - "external/sources/boost/boost/python/object/class_wrapper.hpp", - "external/sources/boost/boost/python/object/enum_base.hpp", - "external/sources/boost/boost/python/object/find_instance.hpp", - "external/sources/boost/boost/python/object/forward.hpp", - "external/sources/boost/boost/python/object/function.hpp", - "external/sources/boost/boost/python/object/function_doc_signature.hpp", - "external/sources/boost/boost/python/object/function_handle.hpp", - "external/sources/boost/boost/python/object/function_object.hpp", - "external/sources/boost/boost/python/object/inheritance.hpp", - "external/sources/boost/boost/python/object/inheritance_query.hpp", - "external/sources/boost/boost/python/object/instance.hpp", - "external/sources/boost/boost/python/object/iterator.hpp", - "external/sources/boost/boost/python/object/iterator_core.hpp", - "external/sources/boost/boost/python/object/life_support.hpp", - "external/sources/boost/boost/python/object/make_holder.hpp", - "external/sources/boost/boost/python/object/make_instance.hpp", - "external/sources/boost/boost/python/object/make_ptr_instance.hpp", - "external/sources/boost/boost/python/object/pickle_support.hpp", - "external/sources/boost/boost/python/object/pointer_holder.hpp", - "external/sources/boost/boost/python/object/py_function.hpp", - "external/sources/boost/boost/python/object/stl_iterator_core.hpp", - "external/sources/boost/boost/python/object/value_holder.hpp", - "external/sources/boost/boost/python/object/value_holder_fwd.hpp", - "external/sources/boost/boost/python/object_attributes.hpp", - "external/sources/boost/boost/python/object_call.hpp", - "external/sources/boost/boost/python/object_core.hpp", - "external/sources/boost/boost/python/object_fwd.hpp", - "external/sources/boost/boost/python/object_items.hpp", - "external/sources/boost/boost/python/object_operators.hpp", - "external/sources/boost/boost/python/object_protocol.hpp", - "external/sources/boost/boost/python/object_protocol_core.hpp", - "external/sources/boost/boost/python/object_slices.hpp", - "external/sources/boost/boost/python/opaque_pointer_converter.hpp", - "external/sources/boost/boost/python/operators.hpp", - "external/sources/boost/boost/python/other.hpp", - "external/sources/boost/boost/python/overloads.hpp", - "external/sources/boost/boost/python/override.hpp", - "external/sources/boost/boost/python/pointee.hpp", - "external/sources/boost/boost/python/proxy.hpp", - "external/sources/boost/boost/python/ptr.hpp", - "external/sources/boost/boost/python/pure_virtual.hpp", - "external/sources/boost/boost/python/raw_function.hpp", - "external/sources/boost/boost/python/refcount.hpp", - "external/sources/boost/boost/python/reference_existing_object.hpp", - "external/sources/boost/boost/python/register_ptr_to_python.hpp", - "external/sources/boost/boost/python/return_arg.hpp", - "external/sources/boost/boost/python/return_by_value.hpp", - "external/sources/boost/boost/python/return_internal_reference.hpp", - "external/sources/boost/boost/python/return_opaque_pointer.hpp", - "external/sources/boost/boost/python/return_value_policy.hpp", - "external/sources/boost/boost/python/scope.hpp", - "external/sources/boost/boost/python/self.hpp", - "external/sources/boost/boost/python/signature.hpp", - "external/sources/boost/boost/python/slice.hpp", - "external/sources/boost/boost/python/slice_nil.hpp", - "external/sources/boost/boost/python/ssize_t.hpp", - "external/sources/boost/boost/python/stl_iterator.hpp", - "external/sources/boost/boost/python/str.hpp", - "external/sources/boost/boost/python/suite/indexing/container_utils.hpp", - "external/sources/boost/boost/python/suite/indexing/detail/indexing_suite_detail.hpp", - "external/sources/boost/boost/python/suite/indexing/indexing_suite.hpp", - "external/sources/boost/boost/python/suite/indexing/map_indexing_suite.hpp", - "external/sources/boost/boost/python/suite/indexing/vector_indexing_suite.hpp", - "external/sources/boost/boost/python/tag.hpp", - "external/sources/boost/boost/python/to_python_converter.hpp", - "external/sources/boost/boost/python/to_python_indirect.hpp", - "external/sources/boost/boost/python/to_python_value.hpp", - "external/sources/boost/boost/python/tuple.hpp", - "external/sources/boost/boost/python/type_id.hpp", - "external/sources/boost/boost/python/with_custodian_and_ward.hpp", - "external/sources/boost/boost/python/wrapper.hpp", - "external/sources/boost/boost/qvm/all.hpp", - "external/sources/boost/boost/qvm/assert.hpp", - "external/sources/boost/boost/qvm/deduce_mat.hpp", - "external/sources/boost/boost/qvm/deduce_quat.hpp", - "external/sources/boost/boost/qvm/deduce_scalar.hpp", - "external/sources/boost/boost/qvm/deduce_vec.hpp", - "external/sources/boost/boost/qvm/detail/cofactor_impl.hpp", - "external/sources/boost/boost/qvm/detail/determinant_impl.hpp", - "external/sources/boost/boost/qvm/detail/mat_assign.hpp", - "external/sources/boost/boost/qvm/detail/quat_assign.hpp", - "external/sources/boost/boost/qvm/detail/remove_const.hpp", - "external/sources/boost/boost/qvm/detail/swizzle_traits.hpp", - "external/sources/boost/boost/qvm/detail/transp_impl.hpp", - "external/sources/boost/boost/qvm/detail/vec_assign.hpp", - "external/sources/boost/boost/qvm/detail/vec_register_impl.hpp", - "external/sources/boost/boost/qvm/enable_if.hpp", - "external/sources/boost/boost/qvm/error.hpp", - "external/sources/boost/boost/qvm/inline.hpp", - "external/sources/boost/boost/qvm/map.hpp", - "external/sources/boost/boost/qvm/map_mat_mat.hpp", - "external/sources/boost/boost/qvm/map_mat_vec.hpp", - "external/sources/boost/boost/qvm/map_vec_mat.hpp", - "external/sources/boost/boost/qvm/mat.hpp", - "external/sources/boost/boost/qvm/mat_access.hpp", - "external/sources/boost/boost/qvm/mat_operations.hpp", - "external/sources/boost/boost/qvm/mat_operations2.hpp", - "external/sources/boost/boost/qvm/mat_operations3.hpp", - "external/sources/boost/boost/qvm/mat_operations4.hpp", - "external/sources/boost/boost/qvm/mat_traits.hpp", - "external/sources/boost/boost/qvm/mat_traits_array.hpp", - "external/sources/boost/boost/qvm/mat_traits_defaults.hpp", - "external/sources/boost/boost/qvm/math.hpp", - "external/sources/boost/boost/qvm/operations.hpp", - "external/sources/boost/boost/qvm/quat.hpp", - "external/sources/boost/boost/qvm/quat_access.hpp", - "external/sources/boost/boost/qvm/quat_operations.hpp", - "external/sources/boost/boost/qvm/quat_traits.hpp", - "external/sources/boost/boost/qvm/quat_traits_array.hpp", - "external/sources/boost/boost/qvm/quat_traits_defaults.hpp", - "external/sources/boost/boost/qvm/quat_vec_operations.hpp", - "external/sources/boost/boost/qvm/scalar_traits.hpp", - "external/sources/boost/boost/qvm/static_assert.hpp", - "external/sources/boost/boost/qvm/swizzle.hpp", - "external/sources/boost/boost/qvm/swizzle2.hpp", - "external/sources/boost/boost/qvm/swizzle3.hpp", - "external/sources/boost/boost/qvm/swizzle4.hpp", - "external/sources/boost/boost/qvm/throw_exception.hpp", - "external/sources/boost/boost/qvm/to_string.hpp", - "external/sources/boost/boost/qvm/vec.hpp", - "external/sources/boost/boost/qvm/vec_access.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations2.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations3.hpp", - "external/sources/boost/boost/qvm/vec_mat_operations4.hpp", - "external/sources/boost/boost/qvm/vec_operations.hpp", - "external/sources/boost/boost/qvm/vec_operations2.hpp", - "external/sources/boost/boost/qvm/vec_operations3.hpp", - "external/sources/boost/boost/qvm/vec_operations4.hpp", - "external/sources/boost/boost/qvm/vec_register.hpp", - "external/sources/boost/boost/qvm/vec_register2.hpp", - "external/sources/boost/boost/qvm/vec_register3.hpp", - "external/sources/boost/boost/qvm/vec_register4.hpp", - "external/sources/boost/boost/qvm/vec_traits.hpp", - "external/sources/boost/boost/qvm/vec_traits_array.hpp", - "external/sources/boost/boost/qvm/vec_traits_defaults.hpp", - "external/sources/boost/boost/random.hpp", - "external/sources/boost/boost/random/additive_combine.hpp", - "external/sources/boost/boost/random/bernoulli_distribution.hpp", - "external/sources/boost/boost/random/beta_distribution.hpp", - "external/sources/boost/boost/random/binomial_distribution.hpp", - "external/sources/boost/boost/random/cauchy_distribution.hpp", - "external/sources/boost/boost/random/chi_squared_distribution.hpp", - "external/sources/boost/boost/random/detail/auto_link.hpp", - "external/sources/boost/boost/random/detail/config.hpp", - "external/sources/boost/boost/random/detail/const_mod.hpp", - "external/sources/boost/boost/random/detail/disable_warnings.hpp", - "external/sources/boost/boost/random/detail/enable_warnings.hpp", - "external/sources/boost/boost/random/detail/generator_bits.hpp", - "external/sources/boost/boost/random/detail/generator_seed_seq.hpp", - "external/sources/boost/boost/random/detail/gray_coded_qrng.hpp", - "external/sources/boost/boost/random/detail/int_float_pair.hpp", - "external/sources/boost/boost/random/detail/integer_log2.hpp", - "external/sources/boost/boost/random/detail/iterator_mixin.hpp", - "external/sources/boost/boost/random/detail/large_arithmetic.hpp", - "external/sources/boost/boost/random/detail/niederreiter_base2_table.hpp", - "external/sources/boost/boost/random/detail/operators.hpp", - "external/sources/boost/boost/random/detail/polynomial.hpp", - "external/sources/boost/boost/random/detail/ptr_helper.hpp", - "external/sources/boost/boost/random/detail/qrng_base.hpp", - "external/sources/boost/boost/random/detail/seed.hpp", - "external/sources/boost/boost/random/detail/seed_impl.hpp", - "external/sources/boost/boost/random/detail/signed_unsigned_tools.hpp", - "external/sources/boost/boost/random/detail/sobol_table.hpp", - "external/sources/boost/boost/random/detail/uniform_int_float.hpp", - "external/sources/boost/boost/random/detail/vector_io.hpp", - "external/sources/boost/boost/random/discard_block.hpp", - "external/sources/boost/boost/random/discrete_distribution.hpp", - "external/sources/boost/boost/random/exponential_distribution.hpp", - "external/sources/boost/boost/random/extreme_value_distribution.hpp", - "external/sources/boost/boost/random/faure.hpp", - "external/sources/boost/boost/random/fisher_f_distribution.hpp", - "external/sources/boost/boost/random/gamma_distribution.hpp", - "external/sources/boost/boost/random/generate_canonical.hpp", - "external/sources/boost/boost/random/geometric_distribution.hpp", - "external/sources/boost/boost/random/hyperexponential_distribution.hpp", - "external/sources/boost/boost/random/independent_bits.hpp", - "external/sources/boost/boost/random/inversive_congruential.hpp", - "external/sources/boost/boost/random/lagged_fibonacci.hpp", - "external/sources/boost/boost/random/laplace_distribution.hpp", - "external/sources/boost/boost/random/linear_congruential.hpp", - "external/sources/boost/boost/random/linear_feedback_shift.hpp", - "external/sources/boost/boost/random/lognormal_distribution.hpp", - "external/sources/boost/boost/random/mersenne_twister.hpp", - "external/sources/boost/boost/random/negative_binomial_distribution.hpp", - "external/sources/boost/boost/random/niederreiter_base2.hpp", - "external/sources/boost/boost/random/non_central_chi_squared_distribution.hpp", - "external/sources/boost/boost/random/normal_distribution.hpp", - "external/sources/boost/boost/random/piecewise_constant_distribution.hpp", - "external/sources/boost/boost/random/piecewise_linear_distribution.hpp", - "external/sources/boost/boost/random/poisson_distribution.hpp", - "external/sources/boost/boost/random/random_device.hpp", - "external/sources/boost/boost/random/random_number_generator.hpp", - "external/sources/boost/boost/random/ranlux.hpp", - "external/sources/boost/boost/random/seed_seq.hpp", - "external/sources/boost/boost/random/shuffle_order.hpp", - "external/sources/boost/boost/random/shuffle_output.hpp", - "external/sources/boost/boost/random/sobol.hpp", - "external/sources/boost/boost/random/student_t_distribution.hpp", - "external/sources/boost/boost/random/subtract_with_carry.hpp", - "external/sources/boost/boost/random/taus88.hpp", - "external/sources/boost/boost/random/traits.hpp", - "external/sources/boost/boost/random/triangle_distribution.hpp", - "external/sources/boost/boost/random/uniform_01.hpp", - "external/sources/boost/boost/random/uniform_int.hpp", - "external/sources/boost/boost/random/uniform_int_distribution.hpp", - "external/sources/boost/boost/random/uniform_on_sphere.hpp", - "external/sources/boost/boost/random/uniform_real.hpp", - "external/sources/boost/boost/random/uniform_real_distribution.hpp", - "external/sources/boost/boost/random/uniform_smallint.hpp", - "external/sources/boost/boost/random/variate_generator.hpp", - "external/sources/boost/boost/random/weibull_distribution.hpp", - "external/sources/boost/boost/random/xor_combine.hpp", - "external/sources/boost/boost/range.hpp", - "external/sources/boost/boost/range/adaptor/adjacent_filtered.hpp", - "external/sources/boost/boost/range/adaptor/argument_fwd.hpp", - "external/sources/boost/boost/range/adaptor/copied.hpp", - "external/sources/boost/boost/range/adaptor/define_adaptor.hpp", - "external/sources/boost/boost/range/adaptor/filtered.hpp", - "external/sources/boost/boost/range/adaptor/formatted.hpp", - "external/sources/boost/boost/range/adaptor/indexed.hpp", - "external/sources/boost/boost/range/adaptor/indirected.hpp", - "external/sources/boost/boost/range/adaptor/map.hpp", - "external/sources/boost/boost/range/adaptor/ref_unwrapped.hpp", - "external/sources/boost/boost/range/adaptor/replaced.hpp", - "external/sources/boost/boost/range/adaptor/replaced_if.hpp", - "external/sources/boost/boost/range/adaptor/reversed.hpp", - "external/sources/boost/boost/range/adaptor/sliced.hpp", - "external/sources/boost/boost/range/adaptor/strided.hpp", - "external/sources/boost/boost/range/adaptor/tokenized.hpp", - "external/sources/boost/boost/range/adaptor/transformed.hpp", - "external/sources/boost/boost/range/adaptor/type_erased.hpp", - "external/sources/boost/boost/range/adaptor/uniqued.hpp", - "external/sources/boost/boost/range/adaptors.hpp", - "external/sources/boost/boost/range/algorithm.hpp", - "external/sources/boost/boost/range/algorithm/adjacent_find.hpp", - "external/sources/boost/boost/range/algorithm/binary_search.hpp", - "external/sources/boost/boost/range/algorithm/copy.hpp", - "external/sources/boost/boost/range/algorithm/copy_backward.hpp", - "external/sources/boost/boost/range/algorithm/count.hpp", - "external/sources/boost/boost/range/algorithm/count_if.hpp", - "external/sources/boost/boost/range/algorithm/equal.hpp", - "external/sources/boost/boost/range/algorithm/equal_range.hpp", - "external/sources/boost/boost/range/algorithm/fill.hpp", - "external/sources/boost/boost/range/algorithm/fill_n.hpp", - "external/sources/boost/boost/range/algorithm/find.hpp", - "external/sources/boost/boost/range/algorithm/find_end.hpp", - "external/sources/boost/boost/range/algorithm/find_first_of.hpp", - "external/sources/boost/boost/range/algorithm/find_if.hpp", - "external/sources/boost/boost/range/algorithm/for_each.hpp", - "external/sources/boost/boost/range/algorithm/generate.hpp", - "external/sources/boost/boost/range/algorithm/heap_algorithm.hpp", - "external/sources/boost/boost/range/algorithm/inplace_merge.hpp", - "external/sources/boost/boost/range/algorithm/lexicographical_compare.hpp", - "external/sources/boost/boost/range/algorithm/lower_bound.hpp", - "external/sources/boost/boost/range/algorithm/max_element.hpp", - "external/sources/boost/boost/range/algorithm/merge.hpp", - "external/sources/boost/boost/range/algorithm/min_element.hpp", - "external/sources/boost/boost/range/algorithm/mismatch.hpp", - "external/sources/boost/boost/range/algorithm/nth_element.hpp", - "external/sources/boost/boost/range/algorithm/partial_sort.hpp", - "external/sources/boost/boost/range/algorithm/partial_sort_copy.hpp", - "external/sources/boost/boost/range/algorithm/partition.hpp", - "external/sources/boost/boost/range/algorithm/permutation.hpp", - "external/sources/boost/boost/range/algorithm/random_shuffle.hpp", - "external/sources/boost/boost/range/algorithm/remove.hpp", - "external/sources/boost/boost/range/algorithm/remove_copy.hpp", - "external/sources/boost/boost/range/algorithm/remove_copy_if.hpp", - "external/sources/boost/boost/range/algorithm/remove_if.hpp", - "external/sources/boost/boost/range/algorithm/replace.hpp", - "external/sources/boost/boost/range/algorithm/replace_copy.hpp", - "external/sources/boost/boost/range/algorithm/replace_copy_if.hpp", - "external/sources/boost/boost/range/algorithm/replace_if.hpp", - "external/sources/boost/boost/range/algorithm/reverse.hpp", - "external/sources/boost/boost/range/algorithm/reverse_copy.hpp", - "external/sources/boost/boost/range/algorithm/rotate.hpp", - "external/sources/boost/boost/range/algorithm/rotate_copy.hpp", - "external/sources/boost/boost/range/algorithm/search.hpp", - "external/sources/boost/boost/range/algorithm/search_n.hpp", - "external/sources/boost/boost/range/algorithm/set_algorithm.hpp", - "external/sources/boost/boost/range/algorithm/sort.hpp", - "external/sources/boost/boost/range/algorithm/stable_partition.hpp", - "external/sources/boost/boost/range/algorithm/stable_sort.hpp", - "external/sources/boost/boost/range/algorithm/swap_ranges.hpp", - "external/sources/boost/boost/range/algorithm/transform.hpp", - "external/sources/boost/boost/range/algorithm/unique.hpp", - "external/sources/boost/boost/range/algorithm/unique_copy.hpp", - "external/sources/boost/boost/range/algorithm/upper_bound.hpp", - "external/sources/boost/boost/range/algorithm_ext.hpp", - "external/sources/boost/boost/range/algorithm_ext/copy_n.hpp", - "external/sources/boost/boost/range/algorithm_ext/erase.hpp", - "external/sources/boost/boost/range/algorithm_ext/for_each.hpp", - "external/sources/boost/boost/range/algorithm_ext/insert.hpp", - "external/sources/boost/boost/range/algorithm_ext/iota.hpp", - "external/sources/boost/boost/range/algorithm_ext/is_sorted.hpp", - "external/sources/boost/boost/range/algorithm_ext/overwrite.hpp", - "external/sources/boost/boost/range/algorithm_ext/push_back.hpp", - "external/sources/boost/boost/range/algorithm_ext/push_front.hpp", - "external/sources/boost/boost/range/any_range.hpp", - "external/sources/boost/boost/range/as_array.hpp", - "external/sources/boost/boost/range/as_literal.hpp", - "external/sources/boost/boost/range/atl.hpp", - "external/sources/boost/boost/range/begin.hpp", - "external/sources/boost/boost/range/category.hpp", - "external/sources/boost/boost/range/combine.hpp", - "external/sources/boost/boost/range/concepts.hpp", - "external/sources/boost/boost/range/config.hpp", - "external/sources/boost/boost/range/const_iterator.hpp", - "external/sources/boost/boost/range/const_reverse_iterator.hpp", - "external/sources/boost/boost/range/counting_range.hpp", - "external/sources/boost/boost/range/detail/any_iterator.hpp", - "external/sources/boost/boost/range/detail/any_iterator_buffer.hpp", - "external/sources/boost/boost/range/detail/any_iterator_interface.hpp", - "external/sources/boost/boost/range/detail/any_iterator_wrapper.hpp", - "external/sources/boost/boost/range/detail/collection_traits.hpp", - "external/sources/boost/boost/range/detail/collection_traits_detail.hpp", - "external/sources/boost/boost/range/detail/combine_cxx03.hpp", - "external/sources/boost/boost/range/detail/combine_cxx11.hpp", - "external/sources/boost/boost/range/detail/combine_no_rvalue.hpp", - "external/sources/boost/boost/range/detail/combine_rvalue.hpp", - "external/sources/boost/boost/range/detail/common.hpp", - "external/sources/boost/boost/range/detail/default_constructible_unary_fn.hpp", - "external/sources/boost/boost/range/detail/demote_iterator_traversal_tag.hpp", - "external/sources/boost/boost/range/detail/difference_type.hpp", - "external/sources/boost/boost/range/detail/empty.hpp", - "external/sources/boost/boost/range/detail/extract_optional_type.hpp", - "external/sources/boost/boost/range/detail/has_member_size.hpp", - "external/sources/boost/boost/range/detail/implementation_help.hpp", - "external/sources/boost/boost/range/detail/join_iterator.hpp", - "external/sources/boost/boost/range/detail/less.hpp", - "external/sources/boost/boost/range/detail/microsoft.hpp", - "external/sources/boost/boost/range/detail/misc_concept.hpp", - "external/sources/boost/boost/range/detail/msvc_has_iterator_workaround.hpp", - "external/sources/boost/boost/range/detail/range_return.hpp", - "external/sources/boost/boost/range/detail/safe_bool.hpp", - "external/sources/boost/boost/range/detail/sfinae.hpp", - "external/sources/boost/boost/range/detail/sizer.hpp", - "external/sources/boost/boost/range/detail/str_types.hpp", - "external/sources/boost/boost/range/difference_type.hpp", - "external/sources/boost/boost/range/distance.hpp", - "external/sources/boost/boost/range/empty.hpp", - "external/sources/boost/boost/range/end.hpp", - "external/sources/boost/boost/range/functions.hpp", - "external/sources/boost/boost/range/has_range_iterator.hpp", - "external/sources/boost/boost/range/irange.hpp", - "external/sources/boost/boost/range/istream_range.hpp", - "external/sources/boost/boost/range/iterator.hpp", - "external/sources/boost/boost/range/iterator_range.hpp", - "external/sources/boost/boost/range/iterator_range_core.hpp", - "external/sources/boost/boost/range/iterator_range_hash.hpp", - "external/sources/boost/boost/range/iterator_range_io.hpp", - "external/sources/boost/boost/range/join.hpp", - "external/sources/boost/boost/range/metafunctions.hpp", - "external/sources/boost/boost/range/mfc.hpp", - "external/sources/boost/boost/range/mfc_map.hpp", - "external/sources/boost/boost/range/mutable_iterator.hpp", - "external/sources/boost/boost/range/numeric.hpp", - "external/sources/boost/boost/range/pointer.hpp", - "external/sources/boost/boost/range/range_fwd.hpp", - "external/sources/boost/boost/range/rbegin.hpp", - "external/sources/boost/boost/range/reference.hpp", - "external/sources/boost/boost/range/rend.hpp", - "external/sources/boost/boost/range/result_iterator.hpp", - "external/sources/boost/boost/range/reverse_iterator.hpp", - "external/sources/boost/boost/range/reverse_result_iterator.hpp", - "external/sources/boost/boost/range/size.hpp", - "external/sources/boost/boost/range/size_type.hpp", - "external/sources/boost/boost/range/sub_range.hpp", - "external/sources/boost/boost/range/traversal.hpp", - "external/sources/boost/boost/range/value_type.hpp", - "external/sources/boost/boost/ratio.hpp", - "external/sources/boost/boost/ratio/config.hpp", - "external/sources/boost/boost/ratio/detail/mpl/abs.hpp", - "external/sources/boost/boost/ratio/detail/mpl/gcd.hpp", - "external/sources/boost/boost/ratio/detail/mpl/lcm.hpp", - "external/sources/boost/boost/ratio/detail/mpl/sign.hpp", - "external/sources/boost/boost/ratio/detail/overflow_helpers.hpp", - "external/sources/boost/boost/ratio/detail/ratio_io.hpp", - "external/sources/boost/boost/ratio/include.hpp", - "external/sources/boost/boost/ratio/mpl/abs.hpp", - "external/sources/boost/boost/ratio/mpl/arithmetic.hpp", - "external/sources/boost/boost/ratio/mpl/comparison.hpp", - "external/sources/boost/boost/ratio/mpl/divides.hpp", - "external/sources/boost/boost/ratio/mpl/equal_to.hpp", - "external/sources/boost/boost/ratio/mpl/gcd.hpp", - "external/sources/boost/boost/ratio/mpl/greater.hpp", - "external/sources/boost/boost/ratio/mpl/greater_equal.hpp", - "external/sources/boost/boost/ratio/mpl/lcm.hpp", - "external/sources/boost/boost/ratio/mpl/less.hpp", - "external/sources/boost/boost/ratio/mpl/less_equal.hpp", - "external/sources/boost/boost/ratio/mpl/minus.hpp", - "external/sources/boost/boost/ratio/mpl/negate.hpp", - "external/sources/boost/boost/ratio/mpl/not_equal_to.hpp", - "external/sources/boost/boost/ratio/mpl/numeric_cast.hpp", - "external/sources/boost/boost/ratio/mpl/plus.hpp", - "external/sources/boost/boost/ratio/mpl/rational_c_tag.hpp", - "external/sources/boost/boost/ratio/mpl/rational_constant.hpp", - "external/sources/boost/boost/ratio/mpl/sign.hpp", - "external/sources/boost/boost/ratio/mpl/times.hpp", - "external/sources/boost/boost/ratio/ratio.hpp", - "external/sources/boost/boost/ratio/ratio_fwd.hpp", - "external/sources/boost/boost/ratio/ratio_io.hpp", - "external/sources/boost/boost/rational.hpp", - "external/sources/boost/boost/ref.hpp", - "external/sources/boost/boost/regex.h", - "external/sources/boost/boost/regex.hpp", - "external/sources/boost/boost/regex/concepts.hpp", - "external/sources/boost/boost/regex/config.hpp", - "external/sources/boost/boost/regex/config/borland.hpp", - "external/sources/boost/boost/regex/config/cwchar.hpp", - "external/sources/boost/boost/regex/icu.hpp", - "external/sources/boost/boost/regex/mfc.hpp", - "external/sources/boost/boost/regex/pattern_except.hpp", - "external/sources/boost/boost/regex/pending/object_cache.hpp", - "external/sources/boost/boost/regex/pending/static_mutex.hpp", - "external/sources/boost/boost/regex/pending/unicode_iterator.hpp", - "external/sources/boost/boost/regex/regex_traits.hpp", - "external/sources/boost/boost/regex/user.hpp", - "external/sources/boost/boost/regex/v4/basic_regex.hpp", - "external/sources/boost/boost/regex/v4/basic_regex_creator.hpp", - "external/sources/boost/boost/regex/v4/basic_regex_parser.hpp", - "external/sources/boost/boost/regex/v4/c_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/char_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/cpp_regex_traits.hpp", - "external/sources/boost/boost/regex/v4/cregex.hpp", - "external/sources/boost/boost/regex/v4/error_type.hpp", - "external/sources/boost/boost/regex/v4/fileiter.hpp", - "external/sources/boost/boost/regex/v4/indexed_bit_flag.hpp", - "external/sources/boost/boost/regex/v4/instances.hpp", - "external/sources/boost/boost/regex/v4/iterator_category.hpp", - "external/sources/boost/boost/regex/v4/iterator_traits.hpp", - "external/sources/boost/boost/regex/v4/match_flags.hpp", - "external/sources/boost/boost/regex/v4/match_results.hpp", - "external/sources/boost/boost/regex/v4/mem_block_cache.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_common.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_non_recursive.hpp", - "external/sources/boost/boost/regex/v4/perl_matcher_recursive.hpp", - "external/sources/boost/boost/regex/v4/primary_transform.hpp", - "external/sources/boost/boost/regex/v4/protected_call.hpp", - "external/sources/boost/boost/regex/v4/regbase.hpp", - "external/sources/boost/boost/regex/v4/regex.hpp", - "external/sources/boost/boost/regex/v4/regex_format.hpp", - "external/sources/boost/boost/regex/v4/regex_fwd.hpp", - "external/sources/boost/boost/regex/v4/regex_grep.hpp", - "external/sources/boost/boost/regex/v4/regex_iterator.hpp", - "external/sources/boost/boost/regex/v4/regex_match.hpp", - "external/sources/boost/boost/regex/v4/regex_merge.hpp", - "external/sources/boost/boost/regex/v4/regex_raw_buffer.hpp", - "external/sources/boost/boost/regex/v4/regex_replace.hpp", - "external/sources/boost/boost/regex/v4/regex_search.hpp", - "external/sources/boost/boost/regex/v4/regex_split.hpp", - "external/sources/boost/boost/regex/v4/regex_token_iterator.hpp", - "external/sources/boost/boost/regex/v4/regex_traits.hpp", - "external/sources/boost/boost/regex/v4/regex_traits_defaults.hpp", - "external/sources/boost/boost/regex/v4/regex_workaround.hpp", - "external/sources/boost/boost/regex/v4/states.hpp", - "external/sources/boost/boost/regex/v4/sub_match.hpp", - "external/sources/boost/boost/regex/v4/syntax_type.hpp", - "external/sources/boost/boost/regex/v4/u32regex_iterator.hpp", - "external/sources/boost/boost/regex/v4/u32regex_token_iterator.hpp", - "external/sources/boost/boost/regex/v4/w32_regex_traits.hpp", - "external/sources/boost/boost/regex_fwd.hpp", - "external/sources/boost/boost/safe_numerics/CMakeLists.txt", - "external/sources/boost/boost/safe_numerics/automatic.hpp", - "external/sources/boost/boost/safe_numerics/checked_default.hpp", - "external/sources/boost/boost/safe_numerics/checked_float.hpp", - "external/sources/boost/boost/safe_numerics/checked_integer.hpp", - "external/sources/boost/boost/safe_numerics/checked_result.hpp", - "external/sources/boost/boost/safe_numerics/checked_result_operations.hpp", - "external/sources/boost/boost/safe_numerics/concept/CMakeLists.txt", - "external/sources/boost/boost/safe_numerics/concept/exception_policy.hpp", - "external/sources/boost/boost/safe_numerics/concept/integer.hpp", - "external/sources/boost/boost/safe_numerics/concept/numeric.hpp", - "external/sources/boost/boost/safe_numerics/concept/promotion_policy.hpp", - "external/sources/boost/boost/safe_numerics/concept/safe_numeric.hpp", - "external/sources/boost/boost/safe_numerics/cpp.hpp", - "external/sources/boost/boost/safe_numerics/exception.hpp", - "external/sources/boost/boost/safe_numerics/exception_policies.hpp", - "external/sources/boost/boost/safe_numerics/interval.hpp", - "external/sources/boost/boost/safe_numerics/native.hpp", - "external/sources/boost/boost/safe_numerics/range_value.hpp", - "external/sources/boost/boost/safe_numerics/safe_base.hpp", - "external/sources/boost/boost/safe_numerics/safe_base_operations.hpp", - "external/sources/boost/boost/safe_numerics/safe_common.hpp", - "external/sources/boost/boost/safe_numerics/safe_compare.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer_literal.hpp", - "external/sources/boost/boost/safe_numerics/safe_integer_range.hpp", - "external/sources/boost/boost/safe_numerics/utility.hpp", - "external/sources/boost/boost/scope_exit.hpp", - "external/sources/boost/boost/scoped_array.hpp", - "external/sources/boost/boost/scoped_ptr.hpp", - "external/sources/boost/boost/serialization/access.hpp", - "external/sources/boost/boost/serialization/archive_input_unordered_map.hpp", - "external/sources/boost/boost/serialization/archive_input_unordered_set.hpp", - "external/sources/boost/boost/serialization/array.hpp", - "external/sources/boost/boost/serialization/array_optimization.hpp", - "external/sources/boost/boost/serialization/array_wrapper.hpp", - "external/sources/boost/boost/serialization/assume_abstract.hpp", - "external/sources/boost/boost/serialization/base_object.hpp", - "external/sources/boost/boost/serialization/binary_object.hpp", - "external/sources/boost/boost/serialization/bitset.hpp", - "external/sources/boost/boost/serialization/boost_array.hpp", - "external/sources/boost/boost/serialization/boost_unordered_map.hpp", - "external/sources/boost/boost/serialization/boost_unordered_set.hpp", - "external/sources/boost/boost/serialization/collection_size_type copy.hpp", - "external/sources/boost/boost/serialization/collection_size_type.hpp", - "external/sources/boost/boost/serialization/collection_traits.hpp", - "external/sources/boost/boost/serialization/collections_load_imp.hpp", - "external/sources/boost/boost/serialization/collections_save_imp.hpp", - "external/sources/boost/boost/serialization/complex.hpp", - "external/sources/boost/boost/serialization/config.hpp", - "external/sources/boost/boost/serialization/deque.hpp", - "external/sources/boost/boost/serialization/detail/is_default_constructible.hpp", - "external/sources/boost/boost/serialization/detail/shared_count_132.hpp", - "external/sources/boost/boost/serialization/detail/shared_ptr_132.hpp", - "external/sources/boost/boost/serialization/detail/shared_ptr_nmt_132.hpp", - "external/sources/boost/boost/serialization/detail/stack_constructor.hpp", - "external/sources/boost/boost/serialization/export.hpp", - "external/sources/boost/boost/serialization/extended_type_info.hpp", - "external/sources/boost/boost/serialization/extended_type_info_no_rtti.hpp", - "external/sources/boost/boost/serialization/extended_type_info_typeid.hpp", - "external/sources/boost/boost/serialization/factory.hpp", - "external/sources/boost/boost/serialization/force_include.hpp", - "external/sources/boost/boost/serialization/forward_list.hpp", - "external/sources/boost/boost/serialization/hash_collections_load_imp.hpp", - "external/sources/boost/boost/serialization/hash_collections_save_imp.hpp", - "external/sources/boost/boost/serialization/hash_map.hpp", - "external/sources/boost/boost/serialization/hash_set.hpp", - "external/sources/boost/boost/serialization/is_bitwise_serializable.hpp", - "external/sources/boost/boost/serialization/item_version_type.hpp", - "external/sources/boost/boost/serialization/level.hpp", - "external/sources/boost/boost/serialization/level_enum.hpp", - "external/sources/boost/boost/serialization/library_version_type.hpp", - "external/sources/boost/boost/serialization/list.hpp", - "external/sources/boost/boost/serialization/map.hpp", - "external/sources/boost/boost/serialization/nvp.hpp", - "external/sources/boost/boost/serialization/optional.hpp", - "external/sources/boost/boost/serialization/priority_queue.hpp", - "external/sources/boost/boost/serialization/queue.hpp", - "external/sources/boost/boost/serialization/scoped_ptr.hpp", - "external/sources/boost/boost/serialization/serialization.hpp", - "external/sources/boost/boost/serialization/set.hpp", - "external/sources/boost/boost/serialization/shared_ptr.hpp", - "external/sources/boost/boost/serialization/shared_ptr_132.hpp", - "external/sources/boost/boost/serialization/shared_ptr_helper.hpp", - "external/sources/boost/boost/serialization/singleton.hpp", - "external/sources/boost/boost/serialization/slist.hpp", - "external/sources/boost/boost/serialization/smart_cast.hpp", - "external/sources/boost/boost/serialization/split_free.hpp", - "external/sources/boost/boost/serialization/split_member.hpp", - "external/sources/boost/boost/serialization/stack.hpp", - "external/sources/boost/boost/serialization/state_saver.hpp", - "external/sources/boost/boost/serialization/static_warning.hpp", - "external/sources/boost/boost/serialization/string.hpp", - "external/sources/boost/boost/serialization/strong_typedef.hpp", - "external/sources/boost/boost/serialization/throw_exception.hpp", - "external/sources/boost/boost/serialization/tracking.hpp", - "external/sources/boost/boost/serialization/tracking_enum.hpp", - "external/sources/boost/boost/serialization/traits.hpp", - "external/sources/boost/boost/serialization/type_info_implementation.hpp", - "external/sources/boost/boost/serialization/unique_ptr.hpp", - "external/sources/boost/boost/serialization/unordered_collections_load_imp.hpp", - "external/sources/boost/boost/serialization/unordered_collections_save_imp.hpp", - "external/sources/boost/boost/serialization/unordered_map.hpp", - "external/sources/boost/boost/serialization/unordered_set.hpp", - "external/sources/boost/boost/serialization/utility.hpp", - "external/sources/boost/boost/serialization/valarray.hpp", - "external/sources/boost/boost/serialization/variant.hpp", - "external/sources/boost/boost/serialization/vector.hpp", - "external/sources/boost/boost/serialization/vector_135.hpp", - "external/sources/boost/boost/serialization/version.hpp", - "external/sources/boost/boost/serialization/void_cast.hpp", - "external/sources/boost/boost/serialization/void_cast_fwd.hpp", - "external/sources/boost/boost/serialization/weak_ptr.hpp", - "external/sources/boost/boost/serialization/wrapper.hpp", - "external/sources/boost/boost/shared_array.hpp", - "external/sources/boost/boost/shared_container_iterator.hpp", - "external/sources/boost/boost/shared_ptr.hpp", - "external/sources/boost/boost/signals2.hpp", - "external/sources/boost/boost/signals2/connection.hpp", - "external/sources/boost/boost/signals2/deconstruct.hpp", - "external/sources/boost/boost/signals2/deconstruct_ptr.hpp", - "external/sources/boost/boost/signals2/detail/auto_buffer.hpp", - "external/sources/boost/boost/signals2/detail/foreign_ptr.hpp", - "external/sources/boost/boost/signals2/detail/lwm_nop.hpp", - "external/sources/boost/boost/signals2/detail/lwm_pthreads.hpp", - "external/sources/boost/boost/signals2/detail/lwm_win32_cs.hpp", - "external/sources/boost/boost/signals2/detail/null_output_iterator.hpp", - "external/sources/boost/boost/signals2/detail/preprocessed_arg_type.hpp", - "external/sources/boost/boost/signals2/detail/preprocessed_arg_type_template.hpp", - "external/sources/boost/boost/signals2/detail/replace_slot_function.hpp", - "external/sources/boost/boost/signals2/detail/result_type_wrapper.hpp", - "external/sources/boost/boost/signals2/detail/scope_guard.hpp", - "external/sources/boost/boost/signals2/detail/signal_template.hpp", - "external/sources/boost/boost/signals2/detail/signals_common.hpp", - "external/sources/boost/boost/signals2/detail/signals_common_macros.hpp", - "external/sources/boost/boost/signals2/detail/slot_call_iterator.hpp", - "external/sources/boost/boost/signals2/detail/slot_groups.hpp", - "external/sources/boost/boost/signals2/detail/slot_template.hpp", - "external/sources/boost/boost/signals2/detail/tracked_objects_visitor.hpp", - "external/sources/boost/boost/signals2/detail/unique_lock.hpp", - "external/sources/boost/boost/signals2/detail/variadic_arg_type.hpp", - "external/sources/boost/boost/signals2/detail/variadic_slot_invoker.hpp", - "external/sources/boost/boost/signals2/dummy_mutex.hpp", - "external/sources/boost/boost/signals2/expired_slot.hpp", - "external/sources/boost/boost/signals2/last_value.hpp", - "external/sources/boost/boost/signals2/mutex.hpp", - "external/sources/boost/boost/signals2/optional_last_value.hpp", - "external/sources/boost/boost/signals2/postconstructible.hpp", - "external/sources/boost/boost/signals2/predestructible.hpp", - "external/sources/boost/boost/signals2/preprocessed_signal.hpp", - "external/sources/boost/boost/signals2/preprocessed_slot.hpp", - "external/sources/boost/boost/signals2/shared_connection_block.hpp", - "external/sources/boost/boost/signals2/signal.hpp", - "external/sources/boost/boost/signals2/signal_base.hpp", - "external/sources/boost/boost/signals2/signal_type.hpp", - "external/sources/boost/boost/signals2/slot.hpp", - "external/sources/boost/boost/signals2/slot_base.hpp", - "external/sources/boost/boost/signals2/trackable.hpp", - "external/sources/boost/boost/signals2/variadic_signal.hpp", - "external/sources/boost/boost/signals2/variadic_slot.hpp", - "external/sources/boost/boost/smart_ptr.hpp", - "external/sources/boost/boost/smart_ptr/allocate_local_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/allocate_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/allocate_unique.hpp", - "external/sources/boost/boost/smart_ptr/atomic_shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/bad_weak_ptr.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_spin.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/atomic_count_win32.hpp", - "external/sources/boost/boost/smart_ptr/detail/lightweight_mutex.hpp", - "external/sources/boost/boost/smart_ptr/detail/lightweight_thread.hpp", - "external/sources/boost/boost/smart_ptr/detail/local_counted_base.hpp", - "external/sources/boost/boost/smart_ptr/detail/local_sp_deleter.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_pthreads.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_std_mutex.hpp", - "external/sources/boost/boost/smart_ptr/detail/lwm_win32_cs.hpp", - "external/sources/boost/boost/smart_ptr/detail/operator_bool.hpp", - "external/sources/boost/boost/smart_ptr/detail/quick_allocator.hpp", - "external/sources/boost/boost/smart_ptr/detail/shared_count.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_convertible.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_counted_impl.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_forward.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_interlocked.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_noexcept.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_obsolete.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_pause.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_thread_yield.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp", - "external/sources/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_arm.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_nt.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_pool.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_pt.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_std_atomic.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_sync.hpp", - "external/sources/boost/boost/smart_ptr/detail/spinlock_w32.hpp", - "external/sources/boost/boost/smart_ptr/detail/yield_k.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from_raw.hpp", - "external/sources/boost/boost/smart_ptr/enable_shared_from_this.hpp", - "external/sources/boost/boost/smart_ptr/intrusive_ptr.hpp", - "external/sources/boost/boost/smart_ptr/intrusive_ref_counter.hpp", - "external/sources/boost/boost/smart_ptr/local_shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/make_local_shared_object.hpp", - "external/sources/boost/boost/smart_ptr/make_shared.hpp", - "external/sources/boost/boost/smart_ptr/make_shared_array.hpp", - "external/sources/boost/boost/smart_ptr/make_shared_object.hpp", - "external/sources/boost/boost/smart_ptr/make_unique.hpp", - "external/sources/boost/boost/smart_ptr/owner_equal_to.hpp", - "external/sources/boost/boost/smart_ptr/owner_hash.hpp", - "external/sources/boost/boost/smart_ptr/owner_less.hpp", - "external/sources/boost/boost/smart_ptr/scoped_array.hpp", - "external/sources/boost/boost/smart_ptr/scoped_ptr.hpp", - "external/sources/boost/boost/smart_ptr/shared_array.hpp", - "external/sources/boost/boost/smart_ptr/shared_ptr.hpp", - "external/sources/boost/boost/smart_ptr/weak_ptr.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/backbone.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/block.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/constants.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/merge_blocks.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/move_blocks.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/blk_detail/parallel_sort.hpp", - "external/sources/boost/boost/sort/block_indirect_sort/block_indirect_sort.hpp", - "external/sources/boost/boost/sort/common/deque_cnc.hpp", - "external/sources/boost/boost/sort/common/file_vector.hpp", - "external/sources/boost/boost/sort/common/indirect.hpp", - "external/sources/boost/boost/sort/common/int_array.hpp", - "external/sources/boost/boost/sort/common/merge_block.hpp", - "external/sources/boost/boost/sort/common/merge_four.hpp", - "external/sources/boost/boost/sort/common/merge_vector.hpp", - "external/sources/boost/boost/sort/common/pivot.hpp", - "external/sources/boost/boost/sort/common/range.hpp", - "external/sources/boost/boost/sort/common/rearrange.hpp", - "external/sources/boost/boost/sort/common/scheduler.hpp", - "external/sources/boost/boost/sort/common/sort_basic.hpp", - "external/sources/boost/boost/sort/common/spinlock.hpp", - "external/sources/boost/boost/sort/common/stack_cnc.hpp", - "external/sources/boost/boost/sort/common/time_measure.hpp", - "external/sources/boost/boost/sort/common/util/algorithm.hpp", - "external/sources/boost/boost/sort/common/util/atomic.hpp", - "external/sources/boost/boost/sort/common/util/circular_buffer.hpp", - "external/sources/boost/boost/sort/common/util/insert.hpp", - "external/sources/boost/boost/sort/common/util/merge.hpp", - "external/sources/boost/boost/sort/common/util/search.hpp", - "external/sources/boost/boost/sort/common/util/traits.hpp", - "external/sources/boost/boost/sort/flat_stable_sort/flat_stable_sort.hpp", - "external/sources/boost/boost/sort/heap_sort/heap_sort.hpp", - "external/sources/boost/boost/sort/insert_sort/insert_sort.hpp", - "external/sources/boost/boost/sort/parallel_stable_sort/parallel_stable_sort.hpp", - "external/sources/boost/boost/sort/pdqsort/pdqsort.hpp", - "external/sources/boost/boost/sort/sample_sort/sample_sort.hpp", - "external/sources/boost/boost/sort/sort.hpp", - "external/sources/boost/boost/sort/spinsort/spinsort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/constants.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/float_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/integer_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/spreadsort_common.hpp", - "external/sources/boost/boost/sort/spreadsort/detail/string_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/float_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/integer_sort.hpp", - "external/sources/boost/boost/sort/spreadsort/spreadsort.hpp", - "external/sources/boost/boost/sort/spreadsort/string_sort.hpp", - "external/sources/boost/boost/spirit.hpp", - "external/sources/boost/boost/spirit/home/classic.hpp", - "external/sources/boost/boost/spirit/home/classic/actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/assign_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/assign_key_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/clear_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/decrement_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/erase_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/increment_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/insert_at_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/insert_key_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/push_back_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/push_front_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_const_ref_a.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_const_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/ref_value_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/swap_actor.hpp", - "external/sources/boost/boost/spirit/home/classic/actor/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure_context.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/closure_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/parametric.hpp", - "external/sources/boost/boost/spirit/home/classic/attribute/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/core.hpp", - "external/sources/boost/boost/spirit/home/classic/core/assert.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/actions.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/alternative.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/composite.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/difference.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/directives.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/epsilon.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/exclusive_or.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/alternative.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/difference.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/directives.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/exclusive_or.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/intersection.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/kleene_star.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/list.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/optional.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/positive.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequence.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_and.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/impl/sequential_or.ipp", - "external/sources/boost/boost/spirit/home/classic/core/composite/intersection.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/kleene_star.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/list.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/no_actions.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/operators.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/optional.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/positive.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequence.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_and.hpp", - "external/sources/boost/boost/spirit/home/classic/core/composite/sequential_or.hpp", - "external/sources/boost/boost/spirit/home/classic/core/config.hpp", - "external/sources/boost/boost/spirit/home/classic/core/impl/match.ipp", - "external/sources/boost/boost/spirit/home/classic/core/impl/match_attr_traits.ipp", - "external/sources/boost/boost/spirit/home/classic/core/impl/parser.ipp", - "external/sources/boost/boost/spirit/home/classic/core/match.hpp", - "external/sources/boost/boost/spirit/home/classic/core/nil.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/static.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/impl/subrule.ipp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_context.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/parser_id.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/rule.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp", - "external/sources/boost/boost/spirit/home/classic/core/non_terminal/subrule_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/parser.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/numerics.ipp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/impl/primitives.ipp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/numerics_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/primitives/primitives.hpp", - "external/sources/boost/boost/spirit/home/classic/core/safe_bool.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/impl/skipper.ipp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/scanner_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper.hpp", - "external/sources/boost/boost/spirit/home/classic/core/scanner/skipper_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/core/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/debug.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/for.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/if.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/conditions.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/select.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/impl/switch.ipp", - "external/sources/boost/boost/spirit/home/classic/dynamic/lazy.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/rule_alias.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/select.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/stored_rule_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/switch.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/dynamic/while.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/exceptions_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/error_handling/impl/exceptions.ipp", - "external/sources/boost/boost/spirit/home/classic/error_handling/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/file_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/impl/file_iterator.ipp", - "external/sources/boost/boost/spirit/home/classic/iterator/impl/position_iterator.ipp", - "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/position_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/iterator/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/meta.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/as_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/fundamental.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/fundamental.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/parser_traits.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/refactoring.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/impl/traverse.ipp", - "external/sources/boost/boost/spirit/home/classic/meta/parser_traits.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/refactoring.hpp", - "external/sources/boost/boost/spirit/home/classic/meta/traverse.hpp", - "external/sources/boost/boost/spirit/home/classic/namespace.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/actor.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/binders.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/casts.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/closures.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/composite.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/functions.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/new.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/operators.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/primitives.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/special_ops.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/statements.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/tuple_helpers.hpp", - "external/sources/boost/boost/spirit/home/classic/phoenix/tuples.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/impl/symbols.ipp", - "external/sources/boost/boost/spirit/home/classic/symbols/impl/tst.ipp", - "external/sources/boost/boost/spirit/home/classic/symbols/symbols.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/symbols_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/symbols/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/ast.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/ast_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/common.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/common_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/impl/parse_tree_utils.ipp", - "external/sources/boost/boost/spirit/home/classic/tree/impl/tree_to_xml.ipp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parse_tree_utils.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/parsetree.dtd", - "external/sources/boost/boost/spirit/home/classic/tree/tree_to_xml.hpp", - "external/sources/boost/boost/spirit/home/classic/tree/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/utility.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/chset.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/chset_operators.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/confix.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/confix_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/distinct.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/distinct_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/escape_char.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/escape_char_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/functor_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/grammar_def.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/grammar_def_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/basic_chset.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset/range_run.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/chset_operators.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/confix.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/escape_char.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/lists.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/impl/regex.ipp", - "external/sources/boost/boost/spirit/home/classic/utility/lists.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/lists_fwd.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/loops.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/regex.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/rule_parser.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/scoped_lock.hpp", - "external/sources/boost/boost/spirit/home/classic/utility/typeof.hpp", - "external/sources/boost/boost/spirit/home/classic/version.hpp", - "external/sources/boost/boost/spirit/home/karma.hpp", - "external/sources/boost/boost/spirit/home/karma/action.hpp", - "external/sources/boost/boost/spirit/home/karma/action/action.hpp", - "external/sources/boost/boost/spirit/home/karma/auto.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/auto.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/create_generator.hpp", - "external/sources/boost/boost/spirit/home/karma/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/karma/auxiliary/lazy.hpp", - "external/sources/boost/boost/spirit/home/karma/binary.hpp", - "external/sources/boost/boost/spirit/home/karma/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/karma/binary/padding.hpp", - "external/sources/boost/boost/spirit/home/karma/char.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/karma/char/char_generator.hpp", - "external/sources/boost/boost/spirit/home/karma/delimit_flag.hpp", - "external/sources/boost/boost/spirit/home/karma/delimit_out.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/alternative_function.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/as.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/attributes.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/default_width.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/enable_lit.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/extract_from.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/fail_function.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/generate_to.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/get_casetag.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/get_stricttag.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/indirect_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/output_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/pass_container.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/string_compare.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/string_generate.hpp", - "external/sources/boost/boost/spirit/home/karma/detail/unused_delimiter.hpp", - "external/sources/boost/boost/spirit/home/karma/directive.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/as.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/buffer.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/center_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/columns.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/delimit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/duplicate.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/encoding.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/left_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/maxwidth.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/no_delimit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/right_alignment.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/strict_relaxed.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/upper_lower_case.hpp", - "external/sources/boost/boost/spirit/home/karma/directive/verbatim.hpp", - "external/sources/boost/boost/spirit/home/karma/domain.hpp", - "external/sources/boost/boost/spirit/home/karma/format.hpp", - "external/sources/boost/boost/spirit/home/karma/format_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/generate.hpp", - "external/sources/boost/boost/spirit/home/karma/generate_attr.hpp", - "external/sources/boost/boost/spirit/home/karma/generator.hpp", - "external/sources/boost/boost/spirit/home/karma/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/fcall.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/generator_binder.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/detail/parameterized.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/nonterminal_fwd.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/karma/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/bool_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/detail/real_utils.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/karma/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/karma/operator.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/list.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/karma/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/karma/phoenix_attributes.hpp", - "external/sources/boost/boost/spirit/home/karma/reference.hpp", - "external/sources/boost/boost/spirit/home/karma/stream.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/detail/format_manip_auto.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/format_manip.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/format_manip_attr.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/ostream_iterator.hpp", - "external/sources/boost/boost/spirit/home/karma/stream/stream.hpp", - "external/sources/boost/boost/spirit/home/karma/string.hpp", - "external/sources/boost/boost/spirit/home/karma/string/lit.hpp", - "external/sources/boost/boost/spirit/home/karma/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/karma/what.hpp", - "external/sources/boost/boost/spirit/home/lex.hpp", - "external/sources/boost/boost/spirit/home/lex/argument.hpp", - "external/sources/boost/boost/spirit/home/lex/argument_phoenix.hpp", - "external/sources/boost/boost/spirit/home/lex/detail/sequence_function.hpp", - "external/sources/boost/boost/spirit/home/lex/domain.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/action.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/char_token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/position_token.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/semantic_action_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_functor_data.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_lexer.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/static_version.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/token.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/pass_flags.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/sequence.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/string_token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/support_functions.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/support_functions_expression.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/terminals.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer/token_def.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_lexertl.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_static_lexertl.hpp", - "external/sources/boost/boost/spirit/home/lex/lexer_type.hpp", - "external/sources/boost/boost/spirit/home/lex/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/lex/primitives.hpp", - "external/sources/boost/boost/spirit/home/lex/qi.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/in_state.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_raw_token.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_token.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp", - "external/sources/boost/boost/spirit/home/lex/qi/state_switcher.hpp", - "external/sources/boost/boost/spirit/home/lex/reference.hpp", - "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse.hpp", - "external/sources/boost/boost/spirit/home/lex/tokenize_and_parse_attr.hpp", - "external/sources/boost/boost/spirit/home/qi.hpp", - "external/sources/boost/boost/spirit/home/qi/action.hpp", - "external/sources/boost/boost/spirit/home/qi/action/action.hpp", - "external/sources/boost/boost/spirit/home/qi/auto.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/auto.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/create_parser.hpp", - "external/sources/boost/boost/spirit/home/qi/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/attr.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eoi.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/qi/auxiliary/lazy.hpp", - "external/sources/boost/boost/spirit/home/qi/binary.hpp", - "external/sources/boost/boost/spirit/home/qi/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/qi/char.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/qi/char/char_parser.hpp", - "external/sources/boost/boost/spirit/home/qi/copy.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/alternative_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/assign_to.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/attributes.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/construct.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/enable_lit.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/expect_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/expectation_failure.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/fail_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/parse.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/parse_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/pass_container.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/pass_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/permute_function.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/string_parse.hpp", - "external/sources/boost/boost/spirit/home/qi/detail/unused_skipper.hpp", - "external/sources/boost/boost/spirit/home/qi/directive.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/as.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/encoding.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/expect.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/hold.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/lexeme.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/matches.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/no_case.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/no_skip.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/raw.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/qi/directive/skip.hpp", - "external/sources/boost/boost/spirit/home/qi/domain.hpp", - "external/sources/boost/boost/spirit/home/qi/match.hpp", - "external/sources/boost/boost/spirit/home/qi/match_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/fcall.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parameterized.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/detail/parser_binder.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/error_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/grammar.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/nonterminal_fwd.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/qi/nonterminal/success_handler.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/detail/real_impl.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/numeric_utils.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/qi/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/qi/operator.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/difference.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/expect.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/list.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/permutation.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequence_base.hpp", - "external/sources/boost/boost/spirit/home/qi/operator/sequential_or.hpp", - "external/sources/boost/boost/spirit/home/qi/parse.hpp", - "external/sources/boost/boost/spirit/home/qi/parse_attr.hpp", - "external/sources/boost/boost/spirit/home/qi/parser.hpp", - "external/sources/boost/boost/spirit/home/qi/reference.hpp", - "external/sources/boost/boost/spirit/home/qi/skip_flag.hpp", - "external/sources/boost/boost/spirit/home/qi/skip_over.hpp", - "external/sources/boost/boost/spirit/home/qi/stream.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/detail/match_manip_auto.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/match_manip.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/match_manip_attr.hpp", - "external/sources/boost/boost/spirit/home/qi/stream/stream.hpp", - "external/sources/boost/boost/spirit/home/qi/string.hpp", - "external/sources/boost/boost/spirit/home/qi/string/detail/tst.hpp", - "external/sources/boost/boost/spirit/home/qi/string/lit.hpp", - "external/sources/boost/boost/spirit/home/qi/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/qi/string/tst.hpp", - "external/sources/boost/boost/spirit/home/qi/string/tst_map.hpp", - "external/sources/boost/boost/spirit/home/qi/what.hpp", - "external/sources/boost/boost/spirit/home/support.hpp", - "external/sources/boost/boost/spirit/home/support/action_dispatch.hpp", - "external/sources/boost/boost/spirit/home/support/adapt_adt_attributes.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_if_ns_so.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_ns.hpp", - "external/sources/boost/boost/spirit/home/support/algorithm/any_ns_so.hpp", - "external/sources/boost/boost/spirit/home/support/argument.hpp", - "external/sources/boost/boost/spirit/home/support/argument_expression.hpp", - "external/sources/boost/boost/spirit/home/support/assert_msg.hpp", - "external/sources/boost/boost/spirit/home/support/attributes.hpp", - "external/sources/boost/boost/spirit/home/support/attributes_fwd.hpp", - "external/sources/boost/boost/spirit/home/support/auto.hpp", - "external/sources/boost/boost/spirit/home/support/auto/meta_create.hpp", - "external/sources/boost/boost/spirit/home/support/auxiliary/attr_cast.hpp", - "external/sources/boost/boost/spirit/home/support/char_class.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/ascii.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/iso8859_1.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/standard.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/standard_wide.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/category_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/lowercase_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/query.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/script_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/basic_chset.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_functions.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_run.hpp", - "external/sources/boost/boost/spirit/home/support/char_set/range_run_impl.hpp", - "external/sources/boost/boost/spirit/home/support/common_terminals.hpp", - "external/sources/boost/boost/spirit/home/support/container.hpp", - "external/sources/boost/boost/spirit/home/support/context.hpp", - "external/sources/boost/boost/spirit/home/support/detail/as_variant.hpp", - "external/sources/boost/boost/spirit/home/support/detail/endian.hpp", - "external/sources/boost/boost/spirit/home/support/detail/get_encoding.hpp", - "external/sources/boost/boost/spirit/home/support/detail/hold_any.hpp", - "external/sources/boost/boost/spirit/home/support/detail/is_spirit_tag.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/char_traits.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/consts.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_list.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/containers/ptr_vector.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/conversion/char_state_machine.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/debug.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/file_input.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_cpp.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generate_re2c.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/generator.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/input.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/internals.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/parser.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_helper.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_state.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/end_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/iteration_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/leaf_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/selection_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/parser/tree/sequence_node.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/charset.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/partition/equivset.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/rules.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/runtime_error.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/size_t.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/state_machine.hpp", - "external/sources/boost/boost/spirit/home/support/detail/lexer/string_token.hpp", - "external/sources/boost/boost/spirit/home/support/detail/make_cons.hpp", - "external/sources/boost/boost/spirit/home/support/detail/make_vector.hpp", - "external/sources/boost/boost/spirit/home/support/detail/pow10.hpp", - "external/sources/boost/boost/spirit/home/support/detail/scoped_enum_emulation.hpp", - "external/sources/boost/boost/spirit/home/support/detail/sign.hpp", - "external/sources/boost/boost/spirit/home/support/detail/what_function.hpp", - "external/sources/boost/boost/spirit/home/support/extended_variant.hpp", - "external/sources/boost/boost/spirit/home/support/handles_container.hpp", - "external/sources/boost/boost/spirit/home/support/has_semantic_action.hpp", - "external/sources/boost/boost/spirit/home/support/info.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/buf_id_check_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/combine_policies.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/first_owner_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/istream_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/lex_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/no_check_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/ref_counted_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/split_functor_input_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/istream_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/line_pos_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/look_ahead.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/home/support/iterators/ostream_iterator.hpp", - "external/sources/boost/boost/spirit/home/support/lazy.hpp", - "external/sources/boost/boost/spirit/home/support/limits.hpp", - "external/sources/boost/boost/spirit/home/support/make_component.hpp", - "external/sources/boost/boost/spirit/home/support/meta_compiler.hpp", - "external/sources/boost/boost/spirit/home/support/modify.hpp", - "external/sources/boost/boost/spirit/home/support/multi_pass.hpp", - "external/sources/boost/boost/spirit/home/support/multi_pass_wrapper.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/expand_arg.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/extract_param.hpp", - "external/sources/boost/boost/spirit/home/support/nonterminal/locals.hpp", - "external/sources/boost/boost/spirit/home/support/numeric_traits.hpp", - "external/sources/boost/boost/spirit/home/support/sequence_base_id.hpp", - "external/sources/boost/boost/spirit/home/support/string_traits.hpp", - "external/sources/boost/boost/spirit/home/support/terminal.hpp", - "external/sources/boost/boost/spirit/home/support/terminal_expression.hpp", - "external/sources/boost/boost/spirit/home/support/unused.hpp", - "external/sources/boost/boost/spirit/home/support/utf8.hpp", - "external/sources/boost/boost/spirit/home/support/utree.hpp", - "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail1.hpp", - "external/sources/boost/boost/spirit/home/support/utree/detail/utree_detail2.hpp", - "external/sources/boost/boost/spirit/home/support/utree/operators.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree_traits.hpp", - "external/sources/boost/boost/spirit/home/support/utree/utree_traits_fwd.hpp", - "external/sources/boost/boost/spirit/home/x3.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/any_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/attr.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eoi.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eol.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/eps.hpp", - "external/sources/boost/boost/spirit/home/x3/auxiliary/guard.hpp", - "external/sources/boost/boost/spirit/home/x3/binary.hpp", - "external/sources/boost/boost/spirit/home/x3/binary/binary.hpp", - "external/sources/boost/boost/spirit/home/x3/char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/any_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_class.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_class_tags.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/char/char_set.hpp", - "external/sources/boost/boost/spirit/home/x3/char/detail/cast_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/literal_char.hpp", - "external/sources/boost/boost/spirit/home/x3/char/negated_char_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/char/unicode.hpp", - "external/sources/boost/boost/spirit/home/x3/core.hpp", - "external/sources/boost/boost/spirit/home/x3/core/action.hpp", - "external/sources/boost/boost/spirit/home/x3/core/call.hpp", - "external/sources/boost/boost/spirit/home/x3/core/detail/parse_into_container.hpp", - "external/sources/boost/boost/spirit/home/x3/core/parse.hpp", - "external/sources/boost/boost/spirit/home/x3/core/parser.hpp", - "external/sources/boost/boost/spirit/home/x3/core/proxy.hpp", - "external/sources/boost/boost/spirit/home/x3/core/skip_over.hpp", - "external/sources/boost/boost/spirit/home/x3/directive.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/confix.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/expect.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/lexeme.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/matches.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/no_case.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/no_skip.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/omit.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/raw.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/repeat.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/seek.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/skip.hpp", - "external/sources/boost/boost/spirit/home/x3/directive/with.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/debug_handler_state.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/rule.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/detail/transform_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/rule.hpp", - "external/sources/boost/boost/spirit/home/x3/nonterminal/simple_trace.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/bool.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/bool_policies.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/int.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/real.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/real_policies.hpp", - "external/sources/boost/boost/spirit/home/x3/numeric/uint.hpp", - "external/sources/boost/boost/spirit/home/x3/operator.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/alternative.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/and_predicate.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/detail/alternative.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/detail/sequence.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/difference.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/kleene.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/list.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/not_predicate.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/optional.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/plus.hpp", - "external/sources/boost/boost/spirit/home/x3/operator/sequence.hpp", - "external/sources/boost/boost/spirit/home/x3/string.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/no_case_string_parse.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/string_parse.hpp", - "external/sources/boost/boost/spirit/home/x3/string/detail/tst.hpp", - "external/sources/boost/boost/spirit/home/x3/string/literal_string.hpp", - "external/sources/boost/boost/spirit/home/x3/string/symbols.hpp", - "external/sources/boost/boost/spirit/home/x3/string/tst.hpp", - "external/sources/boost/boost/spirit/home/x3/string/tst_map.hpp", - "external/sources/boost/boost/spirit/home/x3/support/ast/position_tagged.hpp", - "external/sources/boost/boost/spirit/home/x3/support/ast/variant.hpp", - "external/sources/boost/boost/spirit/home/x3/support/context.hpp", - "external/sources/boost/boost/spirit/home/x3/support/no_case.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/detail/extract_int.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_int.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/extract_real.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/pow10.hpp", - "external/sources/boost/boost/spirit/home/x3/support/numeric_utils/sign.hpp", - "external/sources/boost/boost/spirit/home/x3/support/subcontext.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_category.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_of_binary.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/attribute_type.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/container_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/handles_container.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/has_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_parser.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_range.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/is_variant.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/move_to.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/numeric_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/optional_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/print_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/print_token.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/pseudo_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/string_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/transform_attribute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/tuple_traits.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/variant_find_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp", - "external/sources/boost/boost/spirit/home/x3/support/unused.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/annotate_on_success.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/error_reporting.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/is_callable.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/lambda_visitor.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/sfinae.hpp", - "external/sources/boost/boost/spirit/home/x3/support/utility/utf8.hpp", - "external/sources/boost/boost/spirit/home/x3/version.hpp", - "external/sources/boost/boost/spirit/include/classic.hpp", - "external/sources/boost/boost/spirit/include/classic_actions.hpp", - "external/sources/boost/boost/spirit/include/classic_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_alternative.hpp", - "external/sources/boost/boost/spirit/include/classic_as_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_assert.hpp", - "external/sources/boost/boost/spirit/include/classic_assign_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_assign_key_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ast.hpp", - "external/sources/boost/boost/spirit/include/classic_ast_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_attribute.hpp", - "external/sources/boost/boost/spirit/include/classic_basic_chset.hpp", - "external/sources/boost/boost/spirit/include/classic_chset.hpp", - "external/sources/boost/boost/spirit/include/classic_chset_operators.hpp", - "external/sources/boost/boost/spirit/include/classic_clear_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_closure.hpp", - "external/sources/boost/boost/spirit/include/classic_closure_context.hpp", - "external/sources/boost/boost/spirit/include/classic_closure_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_common.hpp", - "external/sources/boost/boost/spirit/include/classic_common_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_composite.hpp", - "external/sources/boost/boost/spirit/include/classic_config.hpp", - "external/sources/boost/boost/spirit/include/classic_confix.hpp", - "external/sources/boost/boost/spirit/include/classic_confix_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_core.hpp", - "external/sources/boost/boost/spirit/include/classic_debug.hpp", - "external/sources/boost/boost/spirit/include/classic_debug_node.hpp", - "external/sources/boost/boost/spirit/include/classic_decrement_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_difference.hpp", - "external/sources/boost/boost/spirit/include/classic_directives.hpp", - "external/sources/boost/boost/spirit/include/classic_distinct.hpp", - "external/sources/boost/boost/spirit/include/classic_distinct_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_dynamic.hpp", - "external/sources/boost/boost/spirit/include/classic_epsilon.hpp", - "external/sources/boost/boost/spirit/include/classic_erase_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_error_handling.hpp", - "external/sources/boost/boost/spirit/include/classic_escape_char.hpp", - "external/sources/boost/boost/spirit/include/classic_escape_char_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_exceptions.hpp", - "external/sources/boost/boost/spirit/include/classic_exceptions_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_exclusive_or.hpp", - "external/sources/boost/boost/spirit/include/classic_file_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_file_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_fixed_size_queue.hpp", - "external/sources/boost/boost/spirit/include/classic_flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/classic_for.hpp", - "external/sources/boost/boost/spirit/include/classic_functor_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_fundamental.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar_def.hpp", - "external/sources/boost/boost/spirit/include/classic_grammar_def_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_if.hpp", - "external/sources/boost/boost/spirit/include/classic_increment_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_insert_at_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_insert_key_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_intersection.hpp", - "external/sources/boost/boost/spirit/include/classic_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_kleene_star.hpp", - "external/sources/boost/boost/spirit/include/classic_lazy.hpp", - "external/sources/boost/boost/spirit/include/classic_list.hpp", - "external/sources/boost/boost/spirit/include/classic_lists.hpp", - "external/sources/boost/boost/spirit/include/classic_lists_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_loops.hpp", - "external/sources/boost/boost/spirit/include/classic_match.hpp", - "external/sources/boost/boost/spirit/include/classic_meta.hpp", - "external/sources/boost/boost/spirit/include/classic_minimal.hpp", - "external/sources/boost/boost/spirit/include/classic_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/classic_multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_nil.hpp", - "external/sources/boost/boost/spirit/include/classic_no_actions.hpp", - "external/sources/boost/boost/spirit/include/classic_numerics.hpp", - "external/sources/boost/boost/spirit/include/classic_numerics_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_operators.hpp", - "external/sources/boost/boost/spirit/include/classic_optional.hpp", - "external/sources/boost/boost/spirit/include/classic_parametric.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_parse_tree_utils.hpp", - "external/sources/boost/boost/spirit/include/classic_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_context.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_id.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_names.hpp", - "external/sources/boost/boost/spirit/include/classic_parser_traits.hpp", - "external/sources/boost/boost/spirit/include/classic_position_iterator.hpp", - "external/sources/boost/boost/spirit/include/classic_position_iterator_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_positive.hpp", - "external/sources/boost/boost/spirit/include/classic_primitives.hpp", - "external/sources/boost/boost/spirit/include/classic_push_back_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_push_front_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_range_run.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_const_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_ref_value_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_refactoring.hpp", - "external/sources/boost/boost/spirit/include/classic_regex.hpp", - "external/sources/boost/boost/spirit/include/classic_rule.hpp", - "external/sources/boost/boost/spirit/include/classic_rule_alias.hpp", - "external/sources/boost/boost/spirit/include/classic_rule_parser.hpp", - "external/sources/boost/boost/spirit/include/classic_safe_bool.hpp", - "external/sources/boost/boost/spirit/include/classic_scanner.hpp", - "external/sources/boost/boost/spirit/include/classic_scanner_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_scoped_lock.hpp", - "external/sources/boost/boost/spirit/include/classic_select.hpp", - "external/sources/boost/boost/spirit/include/classic_sequence.hpp", - "external/sources/boost/boost/spirit/include/classic_sequential_and.hpp", - "external/sources/boost/boost/spirit/include/classic_sequential_or.hpp", - "external/sources/boost/boost/spirit/include/classic_skipper.hpp", - "external/sources/boost/boost/spirit/include/classic_skipper_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_spirit.hpp", - "external/sources/boost/boost/spirit/include/classic_static.hpp", - "external/sources/boost/boost/spirit/include/classic_stored_rule.hpp", - "external/sources/boost/boost/spirit/include/classic_stored_rule_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_subrule.hpp", - "external/sources/boost/boost/spirit/include/classic_subrule_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_swap_actor.hpp", - "external/sources/boost/boost/spirit/include/classic_switch.hpp", - "external/sources/boost/boost/spirit/include/classic_symbols.hpp", - "external/sources/boost/boost/spirit/include/classic_symbols_fwd.hpp", - "external/sources/boost/boost/spirit/include/classic_traverse.hpp", - "external/sources/boost/boost/spirit/include/classic_tree_to_xml.hpp", - "external/sources/boost/boost/spirit/include/classic_typeof.hpp", - "external/sources/boost/boost/spirit/include/classic_utility.hpp", - "external/sources/boost/boost/spirit/include/classic_version.hpp", - "external/sources/boost/boost/spirit/include/classic_while.hpp", - "external/sources/boost/boost/spirit/include/karma.hpp", - "external/sources/boost/boost/spirit/include/karma_action.hpp", - "external/sources/boost/boost/spirit/include/karma_alternative.hpp", - "external/sources/boost/boost/spirit/include/karma_and_predicate.hpp", - "external/sources/boost/boost/spirit/include/karma_as.hpp", - "external/sources/boost/boost/spirit/include/karma_attr_cast.hpp", - "external/sources/boost/boost/spirit/include/karma_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_auxiliary.hpp", - "external/sources/boost/boost/spirit/include/karma_binary.hpp", - "external/sources/boost/boost/spirit/include/karma_bool.hpp", - "external/sources/boost/boost/spirit/include/karma_buffer.hpp", - "external/sources/boost/boost/spirit/include/karma_center_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_char.hpp", - "external/sources/boost/boost/spirit/include/karma_char_.hpp", - "external/sources/boost/boost/spirit/include/karma_char_class.hpp", - "external/sources/boost/boost/spirit/include/karma_columns.hpp", - "external/sources/boost/boost/spirit/include/karma_delimit.hpp", - "external/sources/boost/boost/spirit/include/karma_directive.hpp", - "external/sources/boost/boost/spirit/include/karma_domain.hpp", - "external/sources/boost/boost/spirit/include/karma_duplicate.hpp", - "external/sources/boost/boost/spirit/include/karma_eol.hpp", - "external/sources/boost/boost/spirit/include/karma_eps.hpp", - "external/sources/boost/boost/spirit/include/karma_format.hpp", - "external/sources/boost/boost/spirit/include/karma_format_attr.hpp", - "external/sources/boost/boost/spirit/include/karma_format_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_generate.hpp", - "external/sources/boost/boost/spirit/include/karma_generate_attr.hpp", - "external/sources/boost/boost/spirit/include/karma_generate_auto.hpp", - "external/sources/boost/boost/spirit/include/karma_grammar.hpp", - "external/sources/boost/boost/spirit/include/karma_int.hpp", - "external/sources/boost/boost/spirit/include/karma_kleene.hpp", - "external/sources/boost/boost/spirit/include/karma_lazy.hpp", - "external/sources/boost/boost/spirit/include/karma_left_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_list.hpp", - "external/sources/boost/boost/spirit/include/karma_maxwidth.hpp", - "external/sources/boost/boost/spirit/include/karma_no_delimit.hpp", - "external/sources/boost/boost/spirit/include/karma_nonterminal.hpp", - "external/sources/boost/boost/spirit/include/karma_not_predicate.hpp", - "external/sources/boost/boost/spirit/include/karma_numeric.hpp", - "external/sources/boost/boost/spirit/include/karma_omit.hpp", - "external/sources/boost/boost/spirit/include/karma_operator.hpp", - "external/sources/boost/boost/spirit/include/karma_optional.hpp", - "external/sources/boost/boost/spirit/include/karma_phoenix_attributes.hpp", - "external/sources/boost/boost/spirit/include/karma_plus.hpp", - "external/sources/boost/boost/spirit/include/karma_real.hpp", - "external/sources/boost/boost/spirit/include/karma_repeat.hpp", - "external/sources/boost/boost/spirit/include/karma_right_alignment.hpp", - "external/sources/boost/boost/spirit/include/karma_rule.hpp", - "external/sources/boost/boost/spirit/include/karma_sequence.hpp", - "external/sources/boost/boost/spirit/include/karma_stream.hpp", - "external/sources/boost/boost/spirit/include/karma_strict_relaxed.hpp", - "external/sources/boost/boost/spirit/include/karma_string.hpp", - "external/sources/boost/boost/spirit/include/karma_symbols.hpp", - "external/sources/boost/boost/spirit/include/karma_uint.hpp", - "external/sources/boost/boost/spirit/include/karma_upper_lower_case.hpp", - "external/sources/boost/boost/spirit/include/karma_verbatim.hpp", - "external/sources/boost/boost/spirit/include/karma_what.hpp", - "external/sources/boost/boost/spirit/include/lex.hpp", - "external/sources/boost/boost/spirit/include/lex_char_token_def.hpp", - "external/sources/boost/boost/spirit/include/lex_domain.hpp", - "external/sources/boost/boost/spirit/include/lex_generate_static_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_lexer.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl_position_token.hpp", - "external/sources/boost/boost/spirit/include/lex_lexertl_token.hpp", - "external/sources/boost/boost/spirit/include/lex_plain_token.hpp", - "external/sources/boost/boost/spirit/include/lex_primitives.hpp", - "external/sources/boost/boost/spirit/include/lex_static_lexertl.hpp", - "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse.hpp", - "external/sources/boost/boost/spirit/include/lex_tokenize_and_parse_attr.hpp", - "external/sources/boost/boost/spirit/include/phoenix.hpp", - "external/sources/boost/boost/spirit/include/phoenix1.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_actor.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_binders.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_casts.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_closures.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_composite.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_functions.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_new.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_operators.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_primitives.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_special_ops.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_statements.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_tuple_helpers.hpp", - "external/sources/boost/boost/spirit/include/phoenix1_tuples.hpp", - "external/sources/boost/boost/spirit/include/phoenix_algorithm.hpp", - "external/sources/boost/boost/spirit/include/phoenix_bind.hpp", - "external/sources/boost/boost/spirit/include/phoenix_container.hpp", - "external/sources/boost/boost/spirit/include/phoenix_core.hpp", - "external/sources/boost/boost/spirit/include/phoenix_function.hpp", - "external/sources/boost/boost/spirit/include/phoenix_fusion.hpp", - "external/sources/boost/boost/spirit/include/phoenix_limits.hpp", - "external/sources/boost/boost/spirit/include/phoenix_object.hpp", - "external/sources/boost/boost/spirit/include/phoenix_operator.hpp", - "external/sources/boost/boost/spirit/include/phoenix_scope.hpp", - "external/sources/boost/boost/spirit/include/phoenix_statement.hpp", - "external/sources/boost/boost/spirit/include/phoenix_stl.hpp", - "external/sources/boost/boost/spirit/include/phoenix_version.hpp", - "external/sources/boost/boost/spirit/include/qi.hpp", - "external/sources/boost/boost/spirit/include/qi_action.hpp", - "external/sources/boost/boost/spirit/include/qi_alternative.hpp", - "external/sources/boost/boost/spirit/include/qi_and_predicate.hpp", - "external/sources/boost/boost/spirit/include/qi_as.hpp", - "external/sources/boost/boost/spirit/include/qi_as_string.hpp", - "external/sources/boost/boost/spirit/include/qi_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_attr_cast.hpp", - "external/sources/boost/boost/spirit/include/qi_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_auxiliary.hpp", - "external/sources/boost/boost/spirit/include/qi_binary.hpp", - "external/sources/boost/boost/spirit/include/qi_bool.hpp", - "external/sources/boost/boost/spirit/include/qi_char.hpp", - "external/sources/boost/boost/spirit/include/qi_char_.hpp", - "external/sources/boost/boost/spirit/include/qi_char_class.hpp", - "external/sources/boost/boost/spirit/include/qi_copy.hpp", - "external/sources/boost/boost/spirit/include/qi_core.hpp", - "external/sources/boost/boost/spirit/include/qi_difference.hpp", - "external/sources/boost/boost/spirit/include/qi_directive.hpp", - "external/sources/boost/boost/spirit/include/qi_domain.hpp", - "external/sources/boost/boost/spirit/include/qi_eoi.hpp", - "external/sources/boost/boost/spirit/include/qi_eol.hpp", - "external/sources/boost/boost/spirit/include/qi_eps.hpp", - "external/sources/boost/boost/spirit/include/qi_expect.hpp", - "external/sources/boost/boost/spirit/include/qi_grammar.hpp", - "external/sources/boost/boost/spirit/include/qi_hold.hpp", - "external/sources/boost/boost/spirit/include/qi_int.hpp", - "external/sources/boost/boost/spirit/include/qi_kleene.hpp", - "external/sources/boost/boost/spirit/include/qi_lazy.hpp", - "external/sources/boost/boost/spirit/include/qi_lexeme.hpp", - "external/sources/boost/boost/spirit/include/qi_list.hpp", - "external/sources/boost/boost/spirit/include/qi_lit.hpp", - "external/sources/boost/boost/spirit/include/qi_match.hpp", - "external/sources/boost/boost/spirit/include/qi_match_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_match_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_matches.hpp", - "external/sources/boost/boost/spirit/include/qi_no_case.hpp", - "external/sources/boost/boost/spirit/include/qi_no_skip.hpp", - "external/sources/boost/boost/spirit/include/qi_nonterminal.hpp", - "external/sources/boost/boost/spirit/include/qi_not_predicate.hpp", - "external/sources/boost/boost/spirit/include/qi_numeric.hpp", - "external/sources/boost/boost/spirit/include/qi_omit.hpp", - "external/sources/boost/boost/spirit/include/qi_operator.hpp", - "external/sources/boost/boost/spirit/include/qi_optional.hpp", - "external/sources/boost/boost/spirit/include/qi_parse.hpp", - "external/sources/boost/boost/spirit/include/qi_parse_attr.hpp", - "external/sources/boost/boost/spirit/include/qi_parse_auto.hpp", - "external/sources/boost/boost/spirit/include/qi_permutation.hpp", - "external/sources/boost/boost/spirit/include/qi_plus.hpp", - "external/sources/boost/boost/spirit/include/qi_raw.hpp", - "external/sources/boost/boost/spirit/include/qi_real.hpp", - "external/sources/boost/boost/spirit/include/qi_repeat.hpp", - "external/sources/boost/boost/spirit/include/qi_rule.hpp", - "external/sources/boost/boost/spirit/include/qi_sequence.hpp", - "external/sources/boost/boost/spirit/include/qi_sequential_or.hpp", - "external/sources/boost/boost/spirit/include/qi_skip.hpp", - "external/sources/boost/boost/spirit/include/qi_stream.hpp", - "external/sources/boost/boost/spirit/include/qi_string.hpp", - "external/sources/boost/boost/spirit/include/qi_symbols.hpp", - "external/sources/boost/boost/spirit/include/qi_uint.hpp", - "external/sources/boost/boost/spirit/include/qi_what.hpp", - "external/sources/boost/boost/spirit/include/support.hpp", - "external/sources/boost/boost/spirit/include/support_adapt_adt_attributes.hpp", - "external/sources/boost/boost/spirit/include/support_any.hpp", - "external/sources/boost/boost/spirit/include/support_any_if.hpp", - "external/sources/boost/boost/spirit/include/support_any_if_ns.hpp", - "external/sources/boost/boost/spirit/include/support_any_if_ns_so.hpp", - "external/sources/boost/boost/spirit/include/support_any_ns.hpp", - "external/sources/boost/boost/spirit/include/support_any_ns_so.hpp", - "external/sources/boost/boost/spirit/include/support_argument.hpp", - "external/sources/boost/boost/spirit/include/support_ascii.hpp", - "external/sources/boost/boost/spirit/include/support_attributes.hpp", - "external/sources/boost/boost/spirit/include/support_attributes_fwd.hpp", - "external/sources/boost/boost/spirit/include/support_auto.hpp", - "external/sources/boost/boost/spirit/include/support_char_class.hpp", - "external/sources/boost/boost/spirit/include/support_container.hpp", - "external/sources/boost/boost/spirit/include/support_extended_variant.hpp", - "external/sources/boost/boost/spirit/include/support_info.hpp", - "external/sources/boost/boost/spirit/include/support_iso8859_1.hpp", - "external/sources/boost/boost/spirit/include/support_istream_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_line_pos_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_locals.hpp", - "external/sources/boost/boost/spirit/include/support_look_ahead.hpp", - "external/sources/boost/boost/spirit/include/support_modify.hpp", - "external/sources/boost/boost/spirit/include/support_multi_pass.hpp", - "external/sources/boost/boost/spirit/include/support_multi_pass_fwd.hpp", - "external/sources/boost/boost/spirit/include/support_ostream_iterator.hpp", - "external/sources/boost/boost/spirit/include/support_standard.hpp", - "external/sources/boost/boost/spirit/include/support_standard_wide.hpp", - "external/sources/boost/boost/spirit/include/support_string_traits.hpp", - "external/sources/boost/boost/spirit/include/support_unused.hpp", - "external/sources/boost/boost/spirit/include/support_utree.hpp", - "external/sources/boost/boost/spirit/include/version.hpp", - "external/sources/boost/boost/spirit/repository/home/karma.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/directive.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/directive/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/home/karma/nonterminal/subrule.hpp", - "external/sources/boost/boost/spirit/repository/home/qi.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/distinct.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/kwd.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/directive/seek.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/nonterminal/subrule.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator/detail/keywords.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/operator/keywords.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/advance.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/home/qi/primitive/iter_pos.hpp", - "external/sources/boost/boost/spirit/repository/home/support/confix.hpp", - "external/sources/boost/boost/spirit/repository/home/support/distinct.hpp", - "external/sources/boost/boost/spirit/repository/home/support/flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/home/support/kwd.hpp", - "external/sources/boost/boost/spirit/repository/home/support/seek.hpp", - "external/sources/boost/boost/spirit/repository/home/support/subrule_context.hpp", - "external/sources/boost/boost/spirit/repository/include/karma.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_confix.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_directive.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/include/karma_subrule.hpp", - "external/sources/boost/boost/spirit/repository/include/qi.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_advance.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_confix.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_directive.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_distinct.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_flush_multi_pass.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_iter_pos.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_keywords.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_kwd.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_nonterminal.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_primitive.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_seek.hpp", - "external/sources/boost/boost/spirit/repository/include/qi_subrule.hpp", - "external/sources/boost/boost/spirit/version.hpp", - "external/sources/boost/boost/stacktrace.hpp", - "external/sources/boost/boost/stacktrace/detail/addr2line_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/collect_msvc.ipp", - "external/sources/boost/boost/stacktrace/detail/collect_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/collect_unwind.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_decl.hpp", - "external/sources/boost/boost/stacktrace/detail/frame_msvc.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/frame_unwind.ipp", - "external/sources/boost/boost/stacktrace/detail/libbacktrace_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/location_from_symbol.hpp", - "external/sources/boost/boost/stacktrace/detail/pop_options.h", - "external/sources/boost/boost/stacktrace/detail/push_options.h", - "external/sources/boost/boost/stacktrace/detail/safe_dump_noop.ipp", - "external/sources/boost/boost/stacktrace/detail/safe_dump_posix.ipp", - "external/sources/boost/boost/stacktrace/detail/safe_dump_win.ipp", - "external/sources/boost/boost/stacktrace/detail/to_dec_array.hpp", - "external/sources/boost/boost/stacktrace/detail/to_hex_array.hpp", - "external/sources/boost/boost/stacktrace/detail/try_dec_convert.hpp", - "external/sources/boost/boost/stacktrace/detail/unwind_base_impls.hpp", - "external/sources/boost/boost/stacktrace/detail/void_ptr_cast.hpp", - "external/sources/boost/boost/stacktrace/frame.hpp", - "external/sources/boost/boost/stacktrace/safe_dump_to.hpp", - "external/sources/boost/boost/stacktrace/stacktrace.hpp", - "external/sources/boost/boost/stacktrace/stacktrace_fwd.hpp", - "external/sources/boost/boost/statechart/asynchronous_state_machine.hpp", - "external/sources/boost/boost/statechart/custom_reaction.hpp", - "external/sources/boost/boost/statechart/deep_history.hpp", - "external/sources/boost/boost/statechart/deferral.hpp", - "external/sources/boost/boost/statechart/detail/avoid_unused_warning.hpp", - "external/sources/boost/boost/statechart/detail/constructor.hpp", - "external/sources/boost/boost/statechart/detail/counted_base.hpp", - "external/sources/boost/boost/statechart/detail/leaf_state.hpp", - "external/sources/boost/boost/statechart/detail/memory.hpp", - "external/sources/boost/boost/statechart/detail/node_state.hpp", - "external/sources/boost/boost/statechart/detail/reaction_dispatcher.hpp", - "external/sources/boost/boost/statechart/detail/rtti_policy.hpp", - "external/sources/boost/boost/statechart/detail/state_base.hpp", - "external/sources/boost/boost/statechart/event.hpp", - "external/sources/boost/boost/statechart/event_base.hpp", - "external/sources/boost/boost/statechart/event_processor.hpp", - "external/sources/boost/boost/statechart/exception_translator.hpp", - "external/sources/boost/boost/statechart/fifo_scheduler.hpp", - "external/sources/boost/boost/statechart/fifo_worker.hpp", - "external/sources/boost/boost/statechart/history.hpp", - "external/sources/boost/boost/statechart/in_state_reaction.hpp", - "external/sources/boost/boost/statechart/null_exception_translator.hpp", - "external/sources/boost/boost/statechart/processor_container.hpp", - "external/sources/boost/boost/statechart/result.hpp", - "external/sources/boost/boost/statechart/shallow_history.hpp", - "external/sources/boost/boost/statechart/simple_state.hpp", - "external/sources/boost/boost/statechart/state.hpp", - "external/sources/boost/boost/statechart/state_machine.hpp", - "external/sources/boost/boost/statechart/termination.hpp", - "external/sources/boost/boost/statechart/transition.hpp", - "external/sources/boost/boost/static_assert.hpp", - "external/sources/boost/boost/static_string.hpp", - "external/sources/boost/boost/static_string/config.hpp", - "external/sources/boost/boost/static_string/static_string.hpp", - "external/sources/boost/boost/stl_interfaces/fwd.hpp", - "external/sources/boost/boost/stl_interfaces/iterator_interface.hpp", - "external/sources/boost/boost/stl_interfaces/reverse_iterator.hpp", - "external/sources/boost/boost/stl_interfaces/sequence_container_interface.hpp", - "external/sources/boost/boost/stl_interfaces/view_interface.hpp", - "external/sources/boost/boost/swap.hpp", - "external/sources/boost/boost/system/api_config.hpp", - "external/sources/boost/boost/system/config.hpp", - "external/sources/boost/boost/system/cygwin_error.hpp", - "external/sources/boost/boost/system/detail/config.hpp", - "external/sources/boost/boost/system/detail/generic_category.hpp", - "external/sources/boost/boost/system/detail/std_interoperability.hpp", - "external/sources/boost/boost/system/detail/system_category_posix.hpp", - "external/sources/boost/boost/system/detail/system_category_win32.hpp", - "external/sources/boost/boost/system/error_code.hpp", - "external/sources/boost/boost/system/linux_error.hpp", - "external/sources/boost/boost/system/system_error.hpp", - "external/sources/boost/boost/system/windows_error.hpp", - "external/sources/boost/boost/test/auto_unit_test.hpp", - "external/sources/boost/boost/test/data/config.hpp", - "external/sources/boost/boost/test/data/dataset.hpp", - "external/sources/boost/boost/test/data/for_each_sample.hpp", - "external/sources/boost/boost/test/data/index_sequence.hpp", - "external/sources/boost/boost/test/data/monomorphic.hpp", - "external/sources/boost/boost/test/data/monomorphic/array.hpp", - "external/sources/boost/boost/test/data/monomorphic/collection.hpp", - "external/sources/boost/boost/test/data/monomorphic/delayed.hpp", - "external/sources/boost/boost/test/data/monomorphic/fwd.hpp", - "external/sources/boost/boost/test/data/monomorphic/generate.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/keywords.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/random.hpp", - "external/sources/boost/boost/test/data/monomorphic/generators/xrange.hpp", - "external/sources/boost/boost/test/data/monomorphic/grid.hpp", - "external/sources/boost/boost/test/data/monomorphic/initializer_list.hpp", - "external/sources/boost/boost/test/data/monomorphic/join.hpp", - "external/sources/boost/boost/test/data/monomorphic/sample_merge.hpp", - "external/sources/boost/boost/test/data/monomorphic/singleton.hpp", - "external/sources/boost/boost/test/data/monomorphic/zip.hpp", - "external/sources/boost/boost/test/data/size.hpp", - "external/sources/boost/boost/test/data/test_case.hpp", - "external/sources/boost/boost/test/debug.hpp", - "external/sources/boost/boost/test/debug_config.hpp", - "external/sources/boost/boost/test/detail/config.hpp", - "external/sources/boost/boost/test/detail/enable_warnings.hpp", - "external/sources/boost/boost/test/detail/fwd_decl.hpp", - "external/sources/boost/boost/test/detail/global_typedef.hpp", - "external/sources/boost/boost/test/detail/log_level.hpp", - "external/sources/boost/boost/test/detail/pp_variadic.hpp", - "external/sources/boost/boost/test/detail/suppress_warnings.hpp", - "external/sources/boost/boost/test/detail/throw_exception.hpp", - "external/sources/boost/boost/test/execution_monitor.hpp", - "external/sources/boost/boost/test/floating_point_comparison.hpp", - "external/sources/boost/boost/test/framework.hpp", - "external/sources/boost/boost/test/impl/compiler_log_formatter.ipp", - "external/sources/boost/boost/test/impl/cpp_main.ipp", - "external/sources/boost/boost/test/impl/debug.ipp", - "external/sources/boost/boost/test/impl/decorator.ipp", - "external/sources/boost/boost/test/impl/execution_monitor.ipp", - "external/sources/boost/boost/test/impl/framework.ipp", - "external/sources/boost/boost/test/impl/junit_log_formatter.ipp", - "external/sources/boost/boost/test/impl/plain_report_formatter.ipp", - "external/sources/boost/boost/test/impl/progress_monitor.ipp", - "external/sources/boost/boost/test/impl/results_collector.ipp", - "external/sources/boost/boost/test/impl/results_reporter.ipp", - "external/sources/boost/boost/test/impl/test_framework_init_observer.ipp", - "external/sources/boost/boost/test/impl/test_main.ipp", - "external/sources/boost/boost/test/impl/test_tools.ipp", - "external/sources/boost/boost/test/impl/test_tree.ipp", - "external/sources/boost/boost/test/impl/unit_test_log.ipp", - "external/sources/boost/boost/test/impl/unit_test_main.ipp", - "external/sources/boost/boost/test/impl/unit_test_monitor.ipp", - "external/sources/boost/boost/test/impl/unit_test_parameters.ipp", - "external/sources/boost/boost/test/impl/xml_log_formatter.ipp", - "external/sources/boost/boost/test/impl/xml_report_formatter.ipp", - "external/sources/boost/boost/test/included/execution_monitor.hpp", - "external/sources/boost/boost/test/included/prg_exec_monitor.hpp", - "external/sources/boost/boost/test/included/test_exec_monitor.hpp", - "external/sources/boost/boost/test/included/unit_test.hpp", - "external/sources/boost/boost/test/included/unit_test_framework.hpp", - "external/sources/boost/boost/test/minimal.hpp", - "external/sources/boost/boost/test/output/compiler_log_formatter.hpp", - "external/sources/boost/boost/test/output/junit_log_formatter.hpp", - "external/sources/boost/boost/test/output/plain_report_formatter.hpp", - "external/sources/boost/boost/test/output/xml_log_formatter.hpp", - "external/sources/boost/boost/test/output/xml_report_formatter.hpp", - "external/sources/boost/boost/test/output_test_stream.hpp", - "external/sources/boost/boost/test/parameterized_test.hpp", - "external/sources/boost/boost/test/predicate_result.hpp", - "external/sources/boost/boost/test/prg_exec_monitor.hpp", - "external/sources/boost/boost/test/progress_monitor.hpp", - "external/sources/boost/boost/test/results_collector.hpp", - "external/sources/boost/boost/test/results_reporter.hpp", - "external/sources/boost/boost/test/test_case_template.hpp", - "external/sources/boost/boost/test/test_exec_monitor.hpp", - "external/sources/boost/boost/test/test_framework_init_observer.hpp", - "external/sources/boost/boost/test/test_tools.hpp", - "external/sources/boost/boost/test/tools/assertion.hpp", - "external/sources/boost/boost/test/tools/assertion_result.hpp", - "external/sources/boost/boost/test/tools/collection_comparison_op.hpp", - "external/sources/boost/boost/test/tools/context.hpp", - "external/sources/boost/boost/test/tools/cstring_comparison_op.hpp", - "external/sources/boost/boost/test/tools/detail/bitwise_manip.hpp", - "external/sources/boost/boost/test/tools/detail/fwd.hpp", - "external/sources/boost/boost/test/tools/detail/indirections.hpp", - "external/sources/boost/boost/test/tools/detail/it_pair.hpp", - "external/sources/boost/boost/test/tools/detail/lexicographic_manip.hpp", - "external/sources/boost/boost/test/tools/detail/per_element_manip.hpp", - "external/sources/boost/boost/test/tools/detail/print_helper.hpp", - "external/sources/boost/boost/test/tools/detail/tolerance_manip.hpp", - "external/sources/boost/boost/test/tools/floating_point_comparison.hpp", - "external/sources/boost/boost/test/tools/fpc_op.hpp", - "external/sources/boost/boost/test/tools/fpc_tolerance.hpp", - "external/sources/boost/boost/test/tools/interface.hpp", - "external/sources/boost/boost/test/tools/old/impl.hpp", - "external/sources/boost/boost/test/tools/old/interface.hpp", - "external/sources/boost/boost/test/tools/output_test_stream.hpp", - "external/sources/boost/boost/test/tree/auto_registration.hpp", - "external/sources/boost/boost/test/tree/decorator.hpp", - "external/sources/boost/boost/test/tree/fixture.hpp", - "external/sources/boost/boost/test/tree/global_fixture.hpp", - "external/sources/boost/boost/test/tree/observer.hpp", - "external/sources/boost/boost/test/tree/test_case_counter.hpp", - "external/sources/boost/boost/test/tree/test_case_template.hpp", - "external/sources/boost/boost/test/tree/test_unit.hpp", - "external/sources/boost/boost/test/tree/traverse.hpp", - "external/sources/boost/boost/test/tree/visitor.hpp", - "external/sources/boost/boost/test/unit_test.hpp", - "external/sources/boost/boost/test/unit_test_log.hpp", - "external/sources/boost/boost/test/unit_test_log_formatter.hpp", - "external/sources/boost/boost/test/unit_test_monitor.hpp", - "external/sources/boost/boost/test/unit_test_parameters.hpp", - "external/sources/boost/boost/test/unit_test_suite.hpp", - "external/sources/boost/boost/test/utils/algorithm.hpp", - "external/sources/boost/boost/test/utils/assign_op.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/bcs_char_traits.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/compare.hpp", - "external/sources/boost/boost/test/utils/basic_cstring/io.hpp", - "external/sources/boost/boost/test/utils/class_properties.hpp", - "external/sources/boost/boost/test/utils/custom_manip.hpp", - "external/sources/boost/boost/test/utils/foreach.hpp", - "external/sources/boost/boost/test/utils/is_cstring.hpp", - "external/sources/boost/boost/test/utils/is_forward_iterable.hpp", - "external/sources/boost/boost/test/utils/iterator/input_iterator_facade.hpp", - "external/sources/boost/boost/test/utils/iterator/token_iterator.hpp", - "external/sources/boost/boost/test/utils/lazy_ostream.hpp", - "external/sources/boost/boost/test/utils/named_params.hpp", - "external/sources/boost/boost/test/utils/nullstream.hpp", - "external/sources/boost/boost/test/utils/rtti.hpp", - "external/sources/boost/boost/test/utils/runtime/argument.hpp", - "external/sources/boost/boost/test/utils/runtime/argument_factory.hpp", - "external/sources/boost/boost/test/utils/runtime/cla/argv_traverser.hpp", - "external/sources/boost/boost/test/utils/runtime/cla/parser.hpp", - "external/sources/boost/boost/test/utils/runtime/env/fetch.hpp", - "external/sources/boost/boost/test/utils/runtime/errors.hpp", - "external/sources/boost/boost/test/utils/runtime/finalize.hpp", - "external/sources/boost/boost/test/utils/runtime/fwd.hpp", - "external/sources/boost/boost/test/utils/runtime/modifier.hpp", - "external/sources/boost/boost/test/utils/runtime/parameter.hpp", - "external/sources/boost/boost/test/utils/setcolor.hpp", - "external/sources/boost/boost/test/utils/string_cast.hpp", - "external/sources/boost/boost/test/utils/timer.hpp", - "external/sources/boost/boost/test/utils/wrap_stringstream.hpp", - "external/sources/boost/boost/test/utils/xml_printer.hpp", - "external/sources/boost/boost/thread.hpp", - "external/sources/boost/boost/thread/barrier.hpp", - "external/sources/boost/boost/thread/caller_context.hpp", - "external/sources/boost/boost/thread/completion_latch.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_adaptor.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/deque_views.hpp", - "external/sources/boost/boost/thread/concurrent_queues/detail/sync_deque_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/detail/sync_queue_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_adaptor.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_base.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_op_status.hpp", - "external/sources/boost/boost/thread/concurrent_queues/queue_views.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_bounded_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_deque.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_priority_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_queue.hpp", - "external/sources/boost/boost/thread/concurrent_queues/sync_timed_queue.hpp", - "external/sources/boost/boost/thread/condition.hpp", - "external/sources/boost/boost/thread/condition_variable.hpp", - "external/sources/boost/boost/thread/csbl/deque.hpp", - "external/sources/boost/boost/thread/csbl/devector.hpp", - "external/sources/boost/boost/thread/csbl/functional.hpp", - "external/sources/boost/boost/thread/csbl/list.hpp", - "external/sources/boost/boost/thread/csbl/memory.hpp", - "external/sources/boost/boost/thread/csbl/memory/allocator_arg.hpp", - "external/sources/boost/boost/thread/csbl/memory/allocator_traits.hpp", - "external/sources/boost/boost/thread/csbl/memory/config.hpp", - "external/sources/boost/boost/thread/csbl/memory/default_delete.hpp", - "external/sources/boost/boost/thread/csbl/memory/pointer_traits.hpp", - "external/sources/boost/boost/thread/csbl/memory/scoped_allocator.hpp", - "external/sources/boost/boost/thread/csbl/memory/shared_ptr.hpp", - "external/sources/boost/boost/thread/csbl/memory/unique_ptr.hpp", - "external/sources/boost/boost/thread/csbl/queue.hpp", - "external/sources/boost/boost/thread/csbl/tuple.hpp", - "external/sources/boost/boost/thread/csbl/vector.hpp", - "external/sources/boost/boost/thread/cv_status.hpp", - "external/sources/boost/boost/thread/detail/atomic_redef_macros.hpp", - "external/sources/boost/boost/thread/detail/atomic_undef_macros.hpp", - "external/sources/boost/boost/thread/detail/config.hpp", - "external/sources/boost/boost/thread/detail/counter.hpp", - "external/sources/boost/boost/thread/detail/delete.hpp", - "external/sources/boost/boost/thread/detail/force_cast.hpp", - "external/sources/boost/boost/thread/detail/function_wrapper.hpp", - "external/sources/boost/boost/thread/detail/invoke.hpp", - "external/sources/boost/boost/thread/detail/invoker.hpp", - "external/sources/boost/boost/thread/detail/is_convertible.hpp", - "external/sources/boost/boost/thread/detail/lockable_wrapper.hpp", - "external/sources/boost/boost/thread/detail/log.hpp", - "external/sources/boost/boost/thread/detail/make_tuple_indices.hpp", - "external/sources/boost/boost/thread/detail/memory.hpp", - "external/sources/boost/boost/thread/detail/move.hpp", - "external/sources/boost/boost/thread/detail/nullary_function.hpp", - "external/sources/boost/boost/thread/detail/platform.hpp", - "external/sources/boost/boost/thread/detail/platform_time.hpp", - "external/sources/boost/boost/thread/detail/singleton.hpp", - "external/sources/boost/boost/thread/detail/thread.hpp", - "external/sources/boost/boost/thread/detail/thread_group.hpp", - "external/sources/boost/boost/thread/detail/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/detail/thread_interruption.hpp", - "external/sources/boost/boost/thread/detail/thread_safety.hpp", - "external/sources/boost/boost/thread/detail/tss_hooks.hpp", - "external/sources/boost/boost/thread/detail/variadic_footer.hpp", - "external/sources/boost/boost/thread/detail/variadic_header.hpp", - "external/sources/boost/boost/thread/exceptional_ptr.hpp", - "external/sources/boost/boost/thread/exceptions.hpp", - "external/sources/boost/boost/thread/executor.hpp", - "external/sources/boost/boost/thread/executors/basic_thread_pool.hpp", - "external/sources/boost/boost/thread/executors/detail/priority_executor_base.hpp", - "external/sources/boost/boost/thread/executors/detail/scheduled_executor_base.hpp", - "external/sources/boost/boost/thread/executors/executor.hpp", - "external/sources/boost/boost/thread/executors/executor_adaptor.hpp", - "external/sources/boost/boost/thread/executors/generic_executor_ref.hpp", - "external/sources/boost/boost/thread/executors/inline_executor.hpp", - "external/sources/boost/boost/thread/executors/loop_executor.hpp", - "external/sources/boost/boost/thread/executors/scheduled_thread_pool.hpp", - "external/sources/boost/boost/thread/executors/scheduler.hpp", - "external/sources/boost/boost/thread/executors/scheduling_adaptor.hpp", - "external/sources/boost/boost/thread/executors/serial_executor.hpp", - "external/sources/boost/boost/thread/executors/serial_executor_cont.hpp", - "external/sources/boost/boost/thread/executors/thread_executor.hpp", - "external/sources/boost/boost/thread/executors/work.hpp", - "external/sources/boost/boost/thread/experimental/config/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/exception_list.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v1/exception_list.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v1/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v2/inline_namespace.hpp", - "external/sources/boost/boost/thread/experimental/parallel/v2/task_region.hpp", - "external/sources/boost/boost/thread/experimental/task_region.hpp", - "external/sources/boost/boost/thread/externally_locked.hpp", - "external/sources/boost/boost/thread/externally_locked_stream.hpp", - "external/sources/boost/boost/thread/future.hpp", - "external/sources/boost/boost/thread/futures/future_error.hpp", - "external/sources/boost/boost/thread/futures/future_error_code.hpp", - "external/sources/boost/boost/thread/futures/future_status.hpp", - "external/sources/boost/boost/thread/futures/is_future_type.hpp", - "external/sources/boost/boost/thread/futures/launch.hpp", - "external/sources/boost/boost/thread/futures/wait_for_all.hpp", - "external/sources/boost/boost/thread/futures/wait_for_any.hpp", - "external/sources/boost/boost/thread/interruption.hpp", - "external/sources/boost/boost/thread/is_locked_by_this_thread.hpp", - "external/sources/boost/boost/thread/latch.hpp", - "external/sources/boost/boost/thread/lock_algorithms.hpp", - "external/sources/boost/boost/thread/lock_concepts.hpp", - "external/sources/boost/boost/thread/lock_factories.hpp", - "external/sources/boost/boost/thread/lock_guard.hpp", - "external/sources/boost/boost/thread/lock_options.hpp", - "external/sources/boost/boost/thread/lock_traits.hpp", - "external/sources/boost/boost/thread/lock_types.hpp", - "external/sources/boost/boost/thread/lockable_adapter.hpp", - "external/sources/boost/boost/thread/lockable_concepts.hpp", - "external/sources/boost/boost/thread/lockable_traits.hpp", - "external/sources/boost/boost/thread/locks.hpp", - "external/sources/boost/boost/thread/mutex.hpp", - "external/sources/boost/boost/thread/null_mutex.hpp", - "external/sources/boost/boost/thread/once.hpp", - "external/sources/boost/boost/thread/ostream_buffer.hpp", - "external/sources/boost/boost/thread/poly_lockable.hpp", - "external/sources/boost/boost/thread/poly_lockable_adapter.hpp", - "external/sources/boost/boost/thread/poly_shared_lockable.hpp", - "external/sources/boost/boost/thread/poly_shared_lockable_adapter.hpp", - "external/sources/boost/boost/thread/pthread/condition_variable.hpp", - "external/sources/boost/boost/thread/pthread/condition_variable_fwd.hpp", - "external/sources/boost/boost/thread/pthread/mutex.hpp", - "external/sources/boost/boost/thread/pthread/once.hpp", - "external/sources/boost/boost/thread/pthread/once_atomic.hpp", - "external/sources/boost/boost/thread/pthread/pthread_helpers.hpp", - "external/sources/boost/boost/thread/pthread/pthread_mutex_scoped_lock.hpp", - "external/sources/boost/boost/thread/pthread/recursive_mutex.hpp", - "external/sources/boost/boost/thread/pthread/shared_mutex.hpp", - "external/sources/boost/boost/thread/pthread/thread_data.hpp", - "external/sources/boost/boost/thread/pthread/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/recursive_mutex.hpp", - "external/sources/boost/boost/thread/reverse_lock.hpp", - "external/sources/boost/boost/thread/scoped_thread.hpp", - "external/sources/boost/boost/thread/shared_lock_guard.hpp", - "external/sources/boost/boost/thread/shared_mutex.hpp", - "external/sources/boost/boost/thread/strict_lock.hpp", - "external/sources/boost/boost/thread/sync_bounded_queue.hpp", - "external/sources/boost/boost/thread/sync_queue.hpp", - "external/sources/boost/boost/thread/synchronized_value.hpp", - "external/sources/boost/boost/thread/testable_mutex.hpp", - "external/sources/boost/boost/thread/thread.hpp", - "external/sources/boost/boost/thread/thread_functors.hpp", - "external/sources/boost/boost/thread/thread_guard.hpp", - "external/sources/boost/boost/thread/thread_only.hpp", - "external/sources/boost/boost/thread/thread_pool.hpp", - "external/sources/boost/boost/thread/thread_time.hpp", - "external/sources/boost/boost/thread/tss.hpp", - "external/sources/boost/boost/thread/user_scheduler.hpp", - "external/sources/boost/boost/thread/v2/shared_mutex.hpp", - "external/sources/boost/boost/thread/win32/basic_recursive_mutex.hpp", - "external/sources/boost/boost/thread/win32/basic_timed_mutex.hpp", - "external/sources/boost/boost/thread/win32/condition_variable.hpp", - "external/sources/boost/boost/thread/win32/interlocked_read.hpp", - "external/sources/boost/boost/thread/win32/mfc_thread_init.hpp", - "external/sources/boost/boost/thread/win32/mutex.hpp", - "external/sources/boost/boost/thread/win32/once.hpp", - "external/sources/boost/boost/thread/win32/recursive_mutex.hpp", - "external/sources/boost/boost/thread/win32/shared_mutex.hpp", - "external/sources/boost/boost/thread/win32/thread_data.hpp", - "external/sources/boost/boost/thread/win32/thread_heap_alloc.hpp", - "external/sources/boost/boost/thread/win32/thread_primitives.hpp", - "external/sources/boost/boost/thread/with_lock_guard.hpp", - "external/sources/boost/boost/thread/xtime.hpp", - "external/sources/boost/boost/throw_exception.hpp", - "external/sources/boost/boost/timer.hpp", - "external/sources/boost/boost/timer/config.hpp", - "external/sources/boost/boost/timer/progress_display.hpp", - "external/sources/boost/boost/timer/timer.hpp", - "external/sources/boost/boost/token_functions.hpp", - "external/sources/boost/boost/token_iterator.hpp", - "external/sources/boost/boost/tokenizer.hpp", - "external/sources/boost/boost/tti/detail/dclass.hpp", - "external/sources/boost/boost/tti/detail/dcomp_mem_fun.hpp", - "external/sources/boost/boost/tti/detail/dcomp_mem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/ddata.hpp", - "external/sources/boost/boost/tti/detail/ddeftype.hpp", - "external/sources/boost/boost/tti/detail/denclosing_type.hpp", - "external/sources/boost/boost/tti/detail/denum.hpp", - "external/sources/boost/boost/tti/detail/dftclass.hpp", - "external/sources/boost/boost/tti/detail/dfunction.hpp", - "external/sources/boost/boost/tti/detail/dfunction_template.hpp", - "external/sources/boost/boost/tti/detail/dlambda.hpp", - "external/sources/boost/boost/tti/detail/dmacro_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dmacro_fve.hpp", - "external/sources/boost/boost/tti/detail/dmacro_sunfix.hpp", - "external/sources/boost/boost/tti/detail/dmem_data.hpp", - "external/sources/boost/boost/tti/detail/dmem_fun.hpp", - "external/sources/boost/boost/tti/detail/dmem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dmem_type.hpp", - "external/sources/boost/boost/tti/detail/dmetafunc.hpp", - "external/sources/boost/boost/tti/detail/dnotype.hpp", - "external/sources/boost/boost/tti/detail/dnullptr.hpp", - "external/sources/boost/boost/tti/detail/dplaceholder.hpp", - "external/sources/boost/boost/tti/detail/dptmf.hpp", - "external/sources/boost/boost/tti/detail/dstatic_function_tags.hpp", - "external/sources/boost/boost/tti/detail/dstatic_function_type.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_data.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_fun.hpp", - "external/sources/boost/boost/tti/detail/dstatic_mem_fun_template.hpp", - "external/sources/boost/boost/tti/detail/dtclass.hpp", - "external/sources/boost/boost/tti/detail/dtemplate.hpp", - "external/sources/boost/boost/tti/detail/dtemplate_params.hpp", - "external/sources/boost/boost/tti/detail/dtfunction.hpp", - "external/sources/boost/boost/tti/detail/dtype.hpp", - "external/sources/boost/boost/tti/detail/dunion.hpp", - "external/sources/boost/boost/tti/detail/dvm_template_params.hpp", - "external/sources/boost/boost/tti/has_class.hpp", - "external/sources/boost/boost/tti/has_data.hpp", - "external/sources/boost/boost/tti/has_enum.hpp", - "external/sources/boost/boost/tti/has_function.hpp", - "external/sources/boost/boost/tti/has_function_template.hpp", - "external/sources/boost/boost/tti/has_member_data.hpp", - "external/sources/boost/boost/tti/has_member_function.hpp", - "external/sources/boost/boost/tti/has_member_function_template.hpp", - "external/sources/boost/boost/tti/has_static_member_data.hpp", - "external/sources/boost/boost/tti/has_static_member_function.hpp", - "external/sources/boost/boost/tti/has_static_member_function_template.hpp", - "external/sources/boost/boost/tti/has_template.hpp", - "external/sources/boost/boost/tti/has_type.hpp", - "external/sources/boost/boost/tti/has_union.hpp", - "external/sources/boost/boost/tti/member_type.hpp", - "external/sources/boost/boost/tti/tti.hpp", - "external/sources/boost/boost/tuple/detail/tuple_basic.hpp", - "external/sources/boost/boost/tuple/tuple.hpp", - "external/sources/boost/boost/tuple/tuple_comparison.hpp", - "external/sources/boost/boost/tuple/tuple_io.hpp", - "external/sources/boost/boost/type.hpp", - "external/sources/boost/boost/type_erasure/any.hpp", - "external/sources/boost/boost/type_erasure/any_cast.hpp", - "external/sources/boost/boost/type_erasure/binding.hpp", - "external/sources/boost/boost/type_erasure/binding_of.hpp", - "external/sources/boost/boost/type_erasure/builtin.hpp", - "external/sources/boost/boost/type_erasure/call.hpp", - "external/sources/boost/boost/type_erasure/callable.hpp", - "external/sources/boost/boost/type_erasure/check_match.hpp", - "external/sources/boost/boost/type_erasure/concept_interface.hpp", - "external/sources/boost/boost/type_erasure/concept_of.hpp", - "external/sources/boost/boost/type_erasure/config.hpp", - "external/sources/boost/boost/type_erasure/constructible.hpp", - "external/sources/boost/boost/type_erasure/deduced.hpp", - "external/sources/boost/boost/type_erasure/derived.hpp", - "external/sources/boost/boost/type_erasure/detail/access.hpp", - "external/sources/boost/boost/type_erasure/detail/adapt_to_vtable.hpp", - "external/sources/boost/boost/type_erasure/detail/any_base.hpp", - "external/sources/boost/boost/type_erasure/detail/auto_link.hpp", - "external/sources/boost/boost/type_erasure/detail/check_call.hpp", - "external/sources/boost/boost/type_erasure/detail/check_map.hpp", - "external/sources/boost/boost/type_erasure/detail/const.hpp", - "external/sources/boost/boost/type_erasure/detail/construct.hpp", - "external/sources/boost/boost/type_erasure/detail/dynamic_vtable.hpp", - "external/sources/boost/boost/type_erasure/detail/extract_concept.hpp", - "external/sources/boost/boost/type_erasure/detail/get_placeholders.hpp", - "external/sources/boost/boost/type_erasure/detail/get_signature.hpp", - "external/sources/boost/boost/type_erasure/detail/instantiate.hpp", - "external/sources/boost/boost/type_erasure/detail/macro.hpp", - "external/sources/boost/boost/type_erasure/detail/member11.hpp", - "external/sources/boost/boost/type_erasure/detail/meta.hpp", - "external/sources/boost/boost/type_erasure/detail/normalize.hpp", - "external/sources/boost/boost/type_erasure/detail/normalize_deduced.hpp", - "external/sources/boost/boost/type_erasure/detail/null.hpp", - "external/sources/boost/boost/type_erasure/detail/rebind_placeholders.hpp", - "external/sources/boost/boost/type_erasure/detail/storage.hpp", - "external/sources/boost/boost/type_erasure/detail/vtable.hpp", - "external/sources/boost/boost/type_erasure/dynamic_any_cast.hpp", - "external/sources/boost/boost/type_erasure/dynamic_binding.hpp", - "external/sources/boost/boost/type_erasure/exception.hpp", - "external/sources/boost/boost/type_erasure/free.hpp", - "external/sources/boost/boost/type_erasure/is_empty.hpp", - "external/sources/boost/boost/type_erasure/is_placeholder.hpp", - "external/sources/boost/boost/type_erasure/is_subconcept.hpp", - "external/sources/boost/boost/type_erasure/iterator.hpp", - "external/sources/boost/boost/type_erasure/member.hpp", - "external/sources/boost/boost/type_erasure/operators.hpp", - "external/sources/boost/boost/type_erasure/param.hpp", - "external/sources/boost/boost/type_erasure/placeholder.hpp", - "external/sources/boost/boost/type_erasure/placeholder_of.hpp", - "external/sources/boost/boost/type_erasure/rebind_any.hpp", - "external/sources/boost/boost/type_erasure/register_binding.hpp", - "external/sources/boost/boost/type_erasure/relaxed.hpp", - "external/sources/boost/boost/type_erasure/require_match.hpp", - "external/sources/boost/boost/type_erasure/same_type.hpp", - "external/sources/boost/boost/type_erasure/static_binding.hpp", - "external/sources/boost/boost/type_erasure/tuple.hpp", - "external/sources/boost/boost/type_erasure/typeid_of.hpp", - "external/sources/boost/boost/type_index.hpp", - "external/sources/boost/boost/type_index/ctti_type_index.hpp", - "external/sources/boost/boost/type_index/detail/compile_time_type_info.hpp", - "external/sources/boost/boost/type_index/detail/ctti_register_class.hpp", - "external/sources/boost/boost/type_index/detail/stl_register_class.hpp", - "external/sources/boost/boost/type_index/runtime_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/detail/runtime_cast_impl.hpp", - "external/sources/boost/boost/type_index/runtime_cast/pointer_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/reference_cast.hpp", - "external/sources/boost/boost/type_index/runtime_cast/register_runtime_class.hpp", - "external/sources/boost/boost/type_index/runtime_cast/std_shared_ptr_cast.hpp", - "external/sources/boost/boost/type_index/stl_type_index.hpp", - "external/sources/boost/boost/type_index/type_index_facade.hpp", - "external/sources/boost/boost/type_traits.hpp", - "external/sources/boost/boost/type_traits/add_const.hpp", - "external/sources/boost/boost/type_traits/add_cv.hpp", - "external/sources/boost/boost/type_traits/add_lvalue_reference.hpp", - "external/sources/boost/boost/type_traits/add_pointer.hpp", - "external/sources/boost/boost/type_traits/add_reference.hpp", - "external/sources/boost/boost/type_traits/add_rvalue_reference.hpp", - "external/sources/boost/boost/type_traits/add_volatile.hpp", - "external/sources/boost/boost/type_traits/aligned_storage.hpp", - "external/sources/boost/boost/type_traits/alignment_of.hpp", - "external/sources/boost/boost/type_traits/alignment_traits.hpp", - "external/sources/boost/boost/type_traits/arithmetic_traits.hpp", - "external/sources/boost/boost/type_traits/array_traits.hpp", - "external/sources/boost/boost/type_traits/broken_compiler_spec.hpp", - "external/sources/boost/boost/type_traits/common_type.hpp", - "external/sources/boost/boost/type_traits/composite_traits.hpp", - "external/sources/boost/boost/type_traits/conditional.hpp", - "external/sources/boost/boost/type_traits/config.hpp", - "external/sources/boost/boost/type_traits/conjunction.hpp", - "external/sources/boost/boost/type_traits/conversion_traits.hpp", - "external/sources/boost/boost/type_traits/copy_cv.hpp", - "external/sources/boost/boost/type_traits/copy_cv_ref.hpp", - "external/sources/boost/boost/type_traits/copy_reference.hpp", - "external/sources/boost/boost/type_traits/cv_traits.hpp", - "external/sources/boost/boost/type_traits/decay.hpp", - "external/sources/boost/boost/type_traits/declval.hpp", - "external/sources/boost/boost/type_traits/detail/bool_trait_def.hpp", - "external/sources/boost/boost/type_traits/detail/bool_trait_undef.hpp", - "external/sources/boost/boost/type_traits/detail/common_arithmetic_type.hpp", - "external/sources/boost/boost/type_traits/detail/common_type_impl.hpp", - "external/sources/boost/boost/type_traits/detail/composite_member_pointer_type.hpp", - "external/sources/boost/boost/type_traits/detail/composite_pointer_type.hpp", - "external/sources/boost/boost/type_traits/detail/config.hpp", - "external/sources/boost/boost/type_traits/detail/detector.hpp", - "external/sources/boost/boost/type_traits/detail/has_binary_operator.hpp", - "external/sources/boost/boost/type_traits/detail/has_postfix_operator.hpp", - "external/sources/boost/boost/type_traits/detail/has_prefix_operator.hpp", - "external/sources/boost/boost/type_traits/detail/ice_and.hpp", - "external/sources/boost/boost/type_traits/detail/ice_eq.hpp", - "external/sources/boost/boost/type_traits/detail/ice_not.hpp", - "external/sources/boost/boost/type_traits/detail/ice_or.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_cxx_03.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_cxx_11.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_msvc10_fix.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_ptr_helper.hpp", - "external/sources/boost/boost/type_traits/detail/is_function_ptr_tester.hpp", - "external/sources/boost/boost/type_traits/detail/is_likely_lambda.hpp", - "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp", - "external/sources/boost/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp", - "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp", - "external/sources/boost/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp", - "external/sources/boost/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp", - "external/sources/boost/boost/type_traits/detail/mp_defer.hpp", - "external/sources/boost/boost/type_traits/detail/template_arity_spec.hpp", - "external/sources/boost/boost/type_traits/detail/yes_no_type.hpp", - "external/sources/boost/boost/type_traits/detected.hpp", - "external/sources/boost/boost/type_traits/detected_or.hpp", - "external/sources/boost/boost/type_traits/disjunction.hpp", - "external/sources/boost/boost/type_traits/enable_if.hpp", - "external/sources/boost/boost/type_traits/extent.hpp", - "external/sources/boost/boost/type_traits/floating_point_promotion.hpp", - "external/sources/boost/boost/type_traits/function_traits.hpp", - "external/sources/boost/boost/type_traits/has_bit_and.hpp", - "external/sources/boost/boost/type_traits/has_bit_and_assign.hpp", - "external/sources/boost/boost/type_traits/has_bit_or.hpp", - "external/sources/boost/boost/type_traits/has_bit_or_assign.hpp", - "external/sources/boost/boost/type_traits/has_bit_xor.hpp", - "external/sources/boost/boost/type_traits/has_bit_xor_assign.hpp", - "external/sources/boost/boost/type_traits/has_complement.hpp", - "external/sources/boost/boost/type_traits/has_dereference.hpp", - "external/sources/boost/boost/type_traits/has_divides.hpp", - "external/sources/boost/boost/type_traits/has_divides_assign.hpp", - "external/sources/boost/boost/type_traits/has_equal_to.hpp", - "external/sources/boost/boost/type_traits/has_greater.hpp", - "external/sources/boost/boost/type_traits/has_greater_equal.hpp", - "external/sources/boost/boost/type_traits/has_left_shift.hpp", - "external/sources/boost/boost/type_traits/has_left_shift_assign.hpp", - "external/sources/boost/boost/type_traits/has_less.hpp", - "external/sources/boost/boost/type_traits/has_less_equal.hpp", - "external/sources/boost/boost/type_traits/has_logical_and.hpp", - "external/sources/boost/boost/type_traits/has_logical_not.hpp", - "external/sources/boost/boost/type_traits/has_logical_or.hpp", - "external/sources/boost/boost/type_traits/has_minus.hpp", - "external/sources/boost/boost/type_traits/has_minus_assign.hpp", - "external/sources/boost/boost/type_traits/has_modulus.hpp", - "external/sources/boost/boost/type_traits/has_modulus_assign.hpp", - "external/sources/boost/boost/type_traits/has_multiplies.hpp", - "external/sources/boost/boost/type_traits/has_multiplies_assign.hpp", - "external/sources/boost/boost/type_traits/has_negate.hpp", - "external/sources/boost/boost/type_traits/has_new_operator.hpp", - "external/sources/boost/boost/type_traits/has_not_equal_to.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_assign.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_constructor.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_copy.hpp", - "external/sources/boost/boost/type_traits/has_nothrow_destructor.hpp", - "external/sources/boost/boost/type_traits/has_operator.hpp", - "external/sources/boost/boost/type_traits/has_plus.hpp", - "external/sources/boost/boost/type_traits/has_plus_assign.hpp", - "external/sources/boost/boost/type_traits/has_post_decrement.hpp", - "external/sources/boost/boost/type_traits/has_post_increment.hpp", - "external/sources/boost/boost/type_traits/has_pre_decrement.hpp", - "external/sources/boost/boost/type_traits/has_pre_increment.hpp", - "external/sources/boost/boost/type_traits/has_right_shift.hpp", - "external/sources/boost/boost/type_traits/has_right_shift_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_constructor.hpp", - "external/sources/boost/boost/type_traits/has_trivial_copy.hpp", - "external/sources/boost/boost/type_traits/has_trivial_destructor.hpp", - "external/sources/boost/boost/type_traits/has_trivial_move_assign.hpp", - "external/sources/boost/boost/type_traits/has_trivial_move_constructor.hpp", - "external/sources/boost/boost/type_traits/has_unary_minus.hpp", - "external/sources/boost/boost/type_traits/has_unary_plus.hpp", - "external/sources/boost/boost/type_traits/has_virtual_destructor.hpp", - "external/sources/boost/boost/type_traits/ice.hpp", - "external/sources/boost/boost/type_traits/integral_constant.hpp", - "external/sources/boost/boost/type_traits/integral_promotion.hpp", - "external/sources/boost/boost/type_traits/intrinsics.hpp", - "external/sources/boost/boost/type_traits/is_abstract.hpp", - "external/sources/boost/boost/type_traits/is_arithmetic.hpp", - "external/sources/boost/boost/type_traits/is_array.hpp", - "external/sources/boost/boost/type_traits/is_assignable.hpp", - "external/sources/boost/boost/type_traits/is_base_and_derived.hpp", - "external/sources/boost/boost/type_traits/is_base_of.hpp", - "external/sources/boost/boost/type_traits/is_base_of_tr1.hpp", - "external/sources/boost/boost/type_traits/is_bounded_array.hpp", - "external/sources/boost/boost/type_traits/is_class.hpp", - "external/sources/boost/boost/type_traits/is_complete.hpp", - "external/sources/boost/boost/type_traits/is_complex.hpp", - "external/sources/boost/boost/type_traits/is_compound.hpp", - "external/sources/boost/boost/type_traits/is_const.hpp", - "external/sources/boost/boost/type_traits/is_constructible.hpp", - "external/sources/boost/boost/type_traits/is_convertible.hpp", - "external/sources/boost/boost/type_traits/is_copy_assignable.hpp", - "external/sources/boost/boost/type_traits/is_copy_constructible.hpp", - "external/sources/boost/boost/type_traits/is_default_constructible.hpp", - "external/sources/boost/boost/type_traits/is_destructible.hpp", - "external/sources/boost/boost/type_traits/is_detected.hpp", - "external/sources/boost/boost/type_traits/is_detected_convertible.hpp", - "external/sources/boost/boost/type_traits/is_detected_exact.hpp", - "external/sources/boost/boost/type_traits/is_empty.hpp", - "external/sources/boost/boost/type_traits/is_enum.hpp", - "external/sources/boost/boost/type_traits/is_final.hpp", - "external/sources/boost/boost/type_traits/is_float.hpp", - "external/sources/boost/boost/type_traits/is_floating_point.hpp", - "external/sources/boost/boost/type_traits/is_function.hpp", - "external/sources/boost/boost/type_traits/is_fundamental.hpp", - "external/sources/boost/boost/type_traits/is_integral.hpp", - "external/sources/boost/boost/type_traits/is_list_constructible.hpp", - "external/sources/boost/boost/type_traits/is_lvalue_reference.hpp", - "external/sources/boost/boost/type_traits/is_member_function_pointer.hpp", - "external/sources/boost/boost/type_traits/is_member_object_pointer.hpp", - "external/sources/boost/boost/type_traits/is_member_pointer.hpp", - "external/sources/boost/boost/type_traits/is_noncopyable.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_move_assignable.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_move_constructible.hpp", - "external/sources/boost/boost/type_traits/is_nothrow_swappable.hpp", - "external/sources/boost/boost/type_traits/is_object.hpp", - "external/sources/boost/boost/type_traits/is_pod.hpp", - "external/sources/boost/boost/type_traits/is_pointer.hpp", - "external/sources/boost/boost/type_traits/is_polymorphic.hpp", - "external/sources/boost/boost/type_traits/is_reference.hpp", - "external/sources/boost/boost/type_traits/is_rvalue_reference.hpp", - "external/sources/boost/boost/type_traits/is_same.hpp", - "external/sources/boost/boost/type_traits/is_scalar.hpp", - "external/sources/boost/boost/type_traits/is_scoped_enum.hpp", - "external/sources/boost/boost/type_traits/is_signed.hpp", - "external/sources/boost/boost/type_traits/is_stateless.hpp", - "external/sources/boost/boost/type_traits/is_trivially_copyable.hpp", - "external/sources/boost/boost/type_traits/is_unbounded_array.hpp", - "external/sources/boost/boost/type_traits/is_union.hpp", - "external/sources/boost/boost/type_traits/is_unscoped_enum.hpp", - "external/sources/boost/boost/type_traits/is_unsigned.hpp", - "external/sources/boost/boost/type_traits/is_virtual_base_of.hpp", - "external/sources/boost/boost/type_traits/is_void.hpp", - "external/sources/boost/boost/type_traits/is_volatile.hpp", - "external/sources/boost/boost/type_traits/make_signed.hpp", - "external/sources/boost/boost/type_traits/make_unsigned.hpp", - "external/sources/boost/boost/type_traits/make_void.hpp", - "external/sources/boost/boost/type_traits/negation.hpp", - "external/sources/boost/boost/type_traits/nonesuch.hpp", - "external/sources/boost/boost/type_traits/object_traits.hpp", - "external/sources/boost/boost/type_traits/promote.hpp", - "external/sources/boost/boost/type_traits/rank.hpp", - "external/sources/boost/boost/type_traits/reference_traits.hpp", - "external/sources/boost/boost/type_traits/remove_all_extents.hpp", - "external/sources/boost/boost/type_traits/remove_bounds.hpp", - "external/sources/boost/boost/type_traits/remove_const.hpp", - "external/sources/boost/boost/type_traits/remove_cv.hpp", - "external/sources/boost/boost/type_traits/remove_cv_ref.hpp", - "external/sources/boost/boost/type_traits/remove_extent.hpp", - "external/sources/boost/boost/type_traits/remove_pointer.hpp", - "external/sources/boost/boost/type_traits/remove_reference.hpp", - "external/sources/boost/boost/type_traits/remove_volatile.hpp", - "external/sources/boost/boost/type_traits/same_traits.hpp", - "external/sources/boost/boost/type_traits/transform_traits.hpp", - "external/sources/boost/boost/type_traits/type_identity.hpp", - "external/sources/boost/boost/type_traits/type_with_alignment.hpp", - "external/sources/boost/boost/typeof/constant.hpp", - "external/sources/boost/boost/typeof/decltype.hpp", - "external/sources/boost/boost/typeof/dmc/typeof_impl.hpp", - "external/sources/boost/boost/typeof/encode_decode.hpp", - "external/sources/boost/boost/typeof/encode_decode_params.hpp", - "external/sources/boost/boost/typeof/incr_registration_group.hpp", - "external/sources/boost/boost/typeof/int_encoding.hpp", - "external/sources/boost/boost/typeof/integral_template_param.hpp", - "external/sources/boost/boost/typeof/message.hpp", - "external/sources/boost/boost/typeof/modifiers.hpp", - "external/sources/boost/boost/typeof/msvc/typeof_impl.hpp", - "external/sources/boost/boost/typeof/native.hpp", - "external/sources/boost/boost/typeof/pointers_data_members.hpp", - "external/sources/boost/boost/typeof/register_functions.hpp", - "external/sources/boost/boost/typeof/register_functions_iterate.hpp", - "external/sources/boost/boost/typeof/register_fundamental.hpp", - "external/sources/boost/boost/typeof/register_mem_functions.hpp", - "external/sources/boost/boost/typeof/std/bitset.hpp", - "external/sources/boost/boost/typeof/std/complex.hpp", - "external/sources/boost/boost/typeof/std/deque.hpp", - "external/sources/boost/boost/typeof/std/fstream.hpp", - "external/sources/boost/boost/typeof/std/functional.hpp", - "external/sources/boost/boost/typeof/std/iostream.hpp", - "external/sources/boost/boost/typeof/std/istream.hpp", - "external/sources/boost/boost/typeof/std/iterator.hpp", - "external/sources/boost/boost/typeof/std/list.hpp", - "external/sources/boost/boost/typeof/std/locale.hpp", - "external/sources/boost/boost/typeof/std/map.hpp", - "external/sources/boost/boost/typeof/std/memory.hpp", - "external/sources/boost/boost/typeof/std/ostream.hpp", - "external/sources/boost/boost/typeof/std/queue.hpp", - "external/sources/boost/boost/typeof/std/set.hpp", - "external/sources/boost/boost/typeof/std/sstream.hpp", - "external/sources/boost/boost/typeof/std/stack.hpp", - "external/sources/boost/boost/typeof/std/streambuf.hpp", - "external/sources/boost/boost/typeof/std/string.hpp", - "external/sources/boost/boost/typeof/std/utility.hpp", - "external/sources/boost/boost/typeof/std/valarray.hpp", - "external/sources/boost/boost/typeof/std/vector.hpp", - "external/sources/boost/boost/typeof/template_encoding.hpp", - "external/sources/boost/boost/typeof/template_template_param.hpp", - "external/sources/boost/boost/typeof/type_encoding.hpp", - "external/sources/boost/boost/typeof/type_template_param.hpp", - "external/sources/boost/boost/typeof/typeof.hpp", - "external/sources/boost/boost/typeof/typeof_impl.hpp", - "external/sources/boost/boost/typeof/unsupported.hpp", - "external/sources/boost/boost/typeof/vector.hpp", - "external/sources/boost/boost/typeof/vector100.hpp", - "external/sources/boost/boost/typeof/vector150.hpp", - "external/sources/boost/boost/typeof/vector200.hpp", - "external/sources/boost/boost/typeof/vector50.hpp", - "external/sources/boost/boost/units/absolute.hpp", - "external/sources/boost/boost/units/base_dimension.hpp", - "external/sources/boost/boost/units/base_unit.hpp", - "external/sources/boost/boost/units/base_units/angle/arcminute.hpp", - "external/sources/boost/boost/units/base_units/angle/arcsecond.hpp", - "external/sources/boost/boost/units/base_units/angle/degree.hpp", - "external/sources/boost/boost/units/base_units/angle/gradian.hpp", - "external/sources/boost/boost/units/base_units/angle/radian.hpp", - "external/sources/boost/boost/units/base_units/angle/revolution.hpp", - "external/sources/boost/boost/units/base_units/angle/steradian.hpp", - "external/sources/boost/boost/units/base_units/astronomical/astronomical_unit.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_day.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_hour.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_minute.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_second.hpp", - "external/sources/boost/boost/units/base_units/astronomical/light_year.hpp", - "external/sources/boost/boost/units/base_units/astronomical/parsec.hpp", - "external/sources/boost/boost/units/base_units/cgs/biot.hpp", - "external/sources/boost/boost/units/base_units/cgs/centimeter.hpp", - "external/sources/boost/boost/units/base_units/cgs/gram.hpp", - "external/sources/boost/boost/units/base_units/imperial/conversions.hpp", - "external/sources/boost/boost/units/base_units/imperial/drachm.hpp", - "external/sources/boost/boost/units/base_units/imperial/fluid_ounce.hpp", - "external/sources/boost/boost/units/base_units/imperial/foot.hpp", - "external/sources/boost/boost/units/base_units/imperial/furlong.hpp", - "external/sources/boost/boost/units/base_units/imperial/gallon.hpp", - "external/sources/boost/boost/units/base_units/imperial/gill.hpp", - "external/sources/boost/boost/units/base_units/imperial/grain.hpp", - "external/sources/boost/boost/units/base_units/imperial/hundredweight.hpp", - "external/sources/boost/boost/units/base_units/imperial/inch.hpp", - "external/sources/boost/boost/units/base_units/imperial/league.hpp", - "external/sources/boost/boost/units/base_units/imperial/mile.hpp", - "external/sources/boost/boost/units/base_units/imperial/ounce.hpp", - "external/sources/boost/boost/units/base_units/imperial/pint.hpp", - "external/sources/boost/boost/units/base_units/imperial/pound.hpp", - "external/sources/boost/boost/units/base_units/imperial/quart.hpp", - "external/sources/boost/boost/units/base_units/imperial/quarter.hpp", - "external/sources/boost/boost/units/base_units/imperial/stone.hpp", - "external/sources/boost/boost/units/base_units/imperial/thou.hpp", - "external/sources/boost/boost/units/base_units/imperial/ton.hpp", - "external/sources/boost/boost/units/base_units/imperial/yard.hpp", - "external/sources/boost/boost/units/base_units/information/bit.hpp", - "external/sources/boost/boost/units/base_units/information/byte.hpp", - "external/sources/boost/boost/units/base_units/information/hartley.hpp", - "external/sources/boost/boost/units/base_units/information/nat.hpp", - "external/sources/boost/boost/units/base_units/information/shannon.hpp", - "external/sources/boost/boost/units/base_units/metric/angstrom.hpp", - "external/sources/boost/boost/units/base_units/metric/are.hpp", - "external/sources/boost/boost/units/base_units/metric/atmosphere.hpp", - "external/sources/boost/boost/units/base_units/metric/bar.hpp", - "external/sources/boost/boost/units/base_units/metric/barn.hpp", - "external/sources/boost/boost/units/base_units/metric/day.hpp", - "external/sources/boost/boost/units/base_units/metric/fermi.hpp", - "external/sources/boost/boost/units/base_units/metric/hectare.hpp", - "external/sources/boost/boost/units/base_units/metric/hour.hpp", - "external/sources/boost/boost/units/base_units/metric/knot.hpp", - "external/sources/boost/boost/units/base_units/metric/liter.hpp", - "external/sources/boost/boost/units/base_units/metric/micron.hpp", - "external/sources/boost/boost/units/base_units/metric/minute.hpp", - "external/sources/boost/boost/units/base_units/metric/mmHg.hpp", - "external/sources/boost/boost/units/base_units/metric/nautical_mile.hpp", - "external/sources/boost/boost/units/base_units/metric/ton.hpp", - "external/sources/boost/boost/units/base_units/metric/torr.hpp", - "external/sources/boost/boost/units/base_units/metric/year.hpp", - "external/sources/boost/boost/units/base_units/si/ampere.hpp", - "external/sources/boost/boost/units/base_units/si/candela.hpp", - "external/sources/boost/boost/units/base_units/si/kelvin.hpp", - "external/sources/boost/boost/units/base_units/si/kilogram.hpp", - "external/sources/boost/boost/units/base_units/si/meter.hpp", - "external/sources/boost/boost/units/base_units/si/mole.hpp", - "external/sources/boost/boost/units/base_units/si/second.hpp", - "external/sources/boost/boost/units/base_units/temperature/celsius.hpp", - "external/sources/boost/boost/units/base_units/temperature/conversions.hpp", - "external/sources/boost/boost/units/base_units/temperature/fahrenheit.hpp", - "external/sources/boost/boost/units/base_units/us/cup.hpp", - "external/sources/boost/boost/units/base_units/us/dram.hpp", - "external/sources/boost/boost/units/base_units/us/fluid_dram.hpp", - "external/sources/boost/boost/units/base_units/us/fluid_ounce.hpp", - "external/sources/boost/boost/units/base_units/us/foot.hpp", - "external/sources/boost/boost/units/base_units/us/gallon.hpp", - "external/sources/boost/boost/units/base_units/us/gill.hpp", - "external/sources/boost/boost/units/base_units/us/grain.hpp", - "external/sources/boost/boost/units/base_units/us/hundredweight.hpp", - "external/sources/boost/boost/units/base_units/us/inch.hpp", - "external/sources/boost/boost/units/base_units/us/mil.hpp", - "external/sources/boost/boost/units/base_units/us/mile.hpp", - "external/sources/boost/boost/units/base_units/us/minim.hpp", - "external/sources/boost/boost/units/base_units/us/ounce.hpp", - "external/sources/boost/boost/units/base_units/us/pint.hpp", - "external/sources/boost/boost/units/base_units/us/pound.hpp", - "external/sources/boost/boost/units/base_units/us/pound_force.hpp", - "external/sources/boost/boost/units/base_units/us/quart.hpp", - "external/sources/boost/boost/units/base_units/us/tablespoon.hpp", - "external/sources/boost/boost/units/base_units/us/teaspoon.hpp", - "external/sources/boost/boost/units/base_units/us/ton.hpp", - "external/sources/boost/boost/units/base_units/us/yard.hpp", - "external/sources/boost/boost/units/cmath.hpp", - "external/sources/boost/boost/units/config.hpp", - "external/sources/boost/boost/units/conversion.hpp", - "external/sources/boost/boost/units/derived_dimension.hpp", - "external/sources/boost/boost/units/detail/absolute_impl.hpp", - "external/sources/boost/boost/units/detail/cmath_impl.hpp", - "external/sources/boost/boost/units/detail/conversion_impl.hpp", - "external/sources/boost/boost/units/detail/dim_impl.hpp", - "external/sources/boost/boost/units/detail/dimension_impl.hpp", - "external/sources/boost/boost/units/detail/dimension_list.hpp", - "external/sources/boost/boost/units/detail/dimensionless_unit.hpp", - "external/sources/boost/boost/units/detail/heterogeneous_conversion.hpp", - "external/sources/boost/boost/units/detail/linear_algebra.hpp", - "external/sources/boost/boost/units/detail/one.hpp", - "external/sources/boost/boost/units/detail/ordinal.hpp", - "external/sources/boost/boost/units/detail/prevent_redefinition.hpp", - "external/sources/boost/boost/units/detail/push_front_if.hpp", - "external/sources/boost/boost/units/detail/push_front_or_add.hpp", - "external/sources/boost/boost/units/detail/sort.hpp", - "external/sources/boost/boost/units/detail/static_rational_power.hpp", - "external/sources/boost/boost/units/detail/unscale.hpp", - "external/sources/boost/boost/units/detail/utility.hpp", - "external/sources/boost/boost/units/dim.hpp", - "external/sources/boost/boost/units/dimension.hpp", - "external/sources/boost/boost/units/dimensionless_quantity.hpp", - "external/sources/boost/boost/units/dimensionless_type.hpp", - "external/sources/boost/boost/units/dimensionless_unit.hpp", - "external/sources/boost/boost/units/get_dimension.hpp", - "external/sources/boost/boost/units/get_system.hpp", - "external/sources/boost/boost/units/heterogeneous_system.hpp", - "external/sources/boost/boost/units/homogeneous_system.hpp", - "external/sources/boost/boost/units/io.hpp", - "external/sources/boost/boost/units/is_dim.hpp", - "external/sources/boost/boost/units/is_dimension_list.hpp", - "external/sources/boost/boost/units/is_dimensionless.hpp", - "external/sources/boost/boost/units/is_dimensionless_quantity.hpp", - "external/sources/boost/boost/units/is_dimensionless_unit.hpp", - "external/sources/boost/boost/units/is_quantity.hpp", - "external/sources/boost/boost/units/is_quantity_of_dimension.hpp", - "external/sources/boost/boost/units/is_quantity_of_system.hpp", - "external/sources/boost/boost/units/is_unit.hpp", - "external/sources/boost/boost/units/is_unit_of_dimension.hpp", - "external/sources/boost/boost/units/is_unit_of_system.hpp", - "external/sources/boost/boost/units/lambda.hpp", - "external/sources/boost/boost/units/limits.hpp", - "external/sources/boost/boost/units/make_scaled_unit.hpp", - "external/sources/boost/boost/units/make_system.hpp", - "external/sources/boost/boost/units/operators.hpp", - "external/sources/boost/boost/units/physical_dimensions.hpp", - "external/sources/boost/boost/units/physical_dimensions/absorbed_dose.hpp", - "external/sources/boost/boost/units/physical_dimensions/acceleration.hpp", - "external/sources/boost/boost/units/physical_dimensions/action.hpp", - "external/sources/boost/boost/units/physical_dimensions/activity.hpp", - "external/sources/boost/boost/units/physical_dimensions/amount.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_acceleration.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_momentum.hpp", - "external/sources/boost/boost/units/physical_dimensions/angular_velocity.hpp", - "external/sources/boost/boost/units/physical_dimensions/area.hpp", - "external/sources/boost/boost/units/physical_dimensions/capacitance.hpp", - "external/sources/boost/boost/units/physical_dimensions/conductance.hpp", - "external/sources/boost/boost/units/physical_dimensions/conductivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/current.hpp", - "external/sources/boost/boost/units/physical_dimensions/dose_equivalent.hpp", - "external/sources/boost/boost/units/physical_dimensions/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/physical_dimensions/electric_charge.hpp", - "external/sources/boost/boost/units/physical_dimensions/electric_potential.hpp", - "external/sources/boost/boost/units/physical_dimensions/energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/energy_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/force.hpp", - "external/sources/boost/boost/units/physical_dimensions/frequency.hpp", - "external/sources/boost/boost/units/physical_dimensions/heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/illuminance.hpp", - "external/sources/boost/boost/units/physical_dimensions/impedance.hpp", - "external/sources/boost/boost/units/physical_dimensions/inductance.hpp", - "external/sources/boost/boost/units/physical_dimensions/information.hpp", - "external/sources/boost/boost/units/physical_dimensions/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/physical_dimensions/length.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminance.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminous_flux.hpp", - "external/sources/boost/boost/units/physical_dimensions/luminous_intensity.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_field_intensity.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_flux.hpp", - "external/sources/boost/boost/units/physical_dimensions/magnetic_flux_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/mass.hpp", - "external/sources/boost/boost/units/physical_dimensions/mass_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/molar_energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/molar_heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/moment_of_inertia.hpp", - "external/sources/boost/boost/units/physical_dimensions/momentum.hpp", - "external/sources/boost/boost/units/physical_dimensions/permeability.hpp", - "external/sources/boost/boost/units/physical_dimensions/permittivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/plane_angle.hpp", - "external/sources/boost/boost/units/physical_dimensions/power.hpp", - "external/sources/boost/boost/units/physical_dimensions/pressure.hpp", - "external/sources/boost/boost/units/physical_dimensions/reluctance.hpp", - "external/sources/boost/boost/units/physical_dimensions/resistance.hpp", - "external/sources/boost/boost/units/physical_dimensions/resistivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/solid_angle.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_energy.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_heat_capacity.hpp", - "external/sources/boost/boost/units/physical_dimensions/specific_volume.hpp", - "external/sources/boost/boost/units/physical_dimensions/stress.hpp", - "external/sources/boost/boost/units/physical_dimensions/surface_density.hpp", - "external/sources/boost/boost/units/physical_dimensions/surface_tension.hpp", - "external/sources/boost/boost/units/physical_dimensions/temperature.hpp", - "external/sources/boost/boost/units/physical_dimensions/thermal_conductivity.hpp", - "external/sources/boost/boost/units/physical_dimensions/time.hpp", - "external/sources/boost/boost/units/physical_dimensions/torque.hpp", - "external/sources/boost/boost/units/physical_dimensions/velocity.hpp", - "external/sources/boost/boost/units/physical_dimensions/volume.hpp", - "external/sources/boost/boost/units/physical_dimensions/wavenumber.hpp", - "external/sources/boost/boost/units/pow.hpp", - "external/sources/boost/boost/units/quantity.hpp", - "external/sources/boost/boost/units/reduce_unit.hpp", - "external/sources/boost/boost/units/scale.hpp", - "external/sources/boost/boost/units/scaled_base_unit.hpp", - "external/sources/boost/boost/units/static_constant.hpp", - "external/sources/boost/boost/units/static_rational.hpp", - "external/sources/boost/boost/units/systems/abstract.hpp", - "external/sources/boost/boost/units/systems/angle/degrees.hpp", - "external/sources/boost/boost/units/systems/angle/gradians.hpp", - "external/sources/boost/boost/units/systems/angle/revolutions.hpp", - "external/sources/boost/boost/units/systems/cgs.hpp", - "external/sources/boost/boost/units/systems/cgs/acceleration.hpp", - "external/sources/boost/boost/units/systems/cgs/area.hpp", - "external/sources/boost/boost/units/systems/cgs/base.hpp", - "external/sources/boost/boost/units/systems/cgs/current.hpp", - "external/sources/boost/boost/units/systems/cgs/dimensionless.hpp", - "external/sources/boost/boost/units/systems/cgs/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/systems/cgs/energy.hpp", - "external/sources/boost/boost/units/systems/cgs/force.hpp", - "external/sources/boost/boost/units/systems/cgs/frequency.hpp", - "external/sources/boost/boost/units/systems/cgs/io.hpp", - "external/sources/boost/boost/units/systems/cgs/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/systems/cgs/length.hpp", - "external/sources/boost/boost/units/systems/cgs/mass.hpp", - "external/sources/boost/boost/units/systems/cgs/mass_density.hpp", - "external/sources/boost/boost/units/systems/cgs/momentum.hpp", - "external/sources/boost/boost/units/systems/cgs/power.hpp", - "external/sources/boost/boost/units/systems/cgs/pressure.hpp", - "external/sources/boost/boost/units/systems/cgs/time.hpp", - "external/sources/boost/boost/units/systems/cgs/velocity.hpp", - "external/sources/boost/boost/units/systems/cgs/volume.hpp", - "external/sources/boost/boost/units/systems/cgs/wavenumber.hpp", - "external/sources/boost/boost/units/systems/detail/constants.hpp", - "external/sources/boost/boost/units/systems/information.hpp", - "external/sources/boost/boost/units/systems/information/bit.hpp", - "external/sources/boost/boost/units/systems/information/byte.hpp", - "external/sources/boost/boost/units/systems/information/hartley.hpp", - "external/sources/boost/boost/units/systems/information/nat.hpp", - "external/sources/boost/boost/units/systems/information/prefixes.hpp", - "external/sources/boost/boost/units/systems/information/shannon.hpp", - "external/sources/boost/boost/units/systems/si.hpp", - "external/sources/boost/boost/units/systems/si/absorbed_dose.hpp", - "external/sources/boost/boost/units/systems/si/acceleration.hpp", - "external/sources/boost/boost/units/systems/si/action.hpp", - "external/sources/boost/boost/units/systems/si/activity.hpp", - "external/sources/boost/boost/units/systems/si/amount.hpp", - "external/sources/boost/boost/units/systems/si/angular_acceleration.hpp", - "external/sources/boost/boost/units/systems/si/angular_momentum.hpp", - "external/sources/boost/boost/units/systems/si/angular_velocity.hpp", - "external/sources/boost/boost/units/systems/si/area.hpp", - "external/sources/boost/boost/units/systems/si/base.hpp", - "external/sources/boost/boost/units/systems/si/capacitance.hpp", - "external/sources/boost/boost/units/systems/si/catalytic_activity.hpp", - "external/sources/boost/boost/units/systems/si/codata/alpha_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/atomic-nuclear_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/deuteron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/electromagnetic_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/electron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/helion_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/muon_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/neutron_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/physico-chemical_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/proton_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/tau_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/triton_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata/typedefs.hpp", - "external/sources/boost/boost/units/systems/si/codata/universal_constants.hpp", - "external/sources/boost/boost/units/systems/si/codata_constants.hpp", - "external/sources/boost/boost/units/systems/si/conductance.hpp", - "external/sources/boost/boost/units/systems/si/conductivity.hpp", - "external/sources/boost/boost/units/systems/si/current.hpp", - "external/sources/boost/boost/units/systems/si/dimensionless.hpp", - "external/sources/boost/boost/units/systems/si/dose_equivalent.hpp", - "external/sources/boost/boost/units/systems/si/dynamic_viscosity.hpp", - "external/sources/boost/boost/units/systems/si/electric_charge.hpp", - "external/sources/boost/boost/units/systems/si/electric_potential.hpp", - "external/sources/boost/boost/units/systems/si/energy.hpp", - "external/sources/boost/boost/units/systems/si/force.hpp", - "external/sources/boost/boost/units/systems/si/frequency.hpp", - "external/sources/boost/boost/units/systems/si/illuminance.hpp", - "external/sources/boost/boost/units/systems/si/impedance.hpp", - "external/sources/boost/boost/units/systems/si/inductance.hpp", - "external/sources/boost/boost/units/systems/si/io.hpp", - "external/sources/boost/boost/units/systems/si/kinematic_viscosity.hpp", - "external/sources/boost/boost/units/systems/si/length.hpp", - "external/sources/boost/boost/units/systems/si/luminous_flux.hpp", - "external/sources/boost/boost/units/systems/si/luminous_intensity.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_field_intensity.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_flux.hpp", - "external/sources/boost/boost/units/systems/si/magnetic_flux_density.hpp", - "external/sources/boost/boost/units/systems/si/mass.hpp", - "external/sources/boost/boost/units/systems/si/mass_density.hpp", - "external/sources/boost/boost/units/systems/si/moment_of_inertia.hpp", - "external/sources/boost/boost/units/systems/si/momentum.hpp", - "external/sources/boost/boost/units/systems/si/permeability.hpp", - "external/sources/boost/boost/units/systems/si/permittivity.hpp", - "external/sources/boost/boost/units/systems/si/plane_angle.hpp", - "external/sources/boost/boost/units/systems/si/power.hpp", - "external/sources/boost/boost/units/systems/si/prefixes.hpp", - "external/sources/boost/boost/units/systems/si/pressure.hpp", - "external/sources/boost/boost/units/systems/si/reluctance.hpp", - "external/sources/boost/boost/units/systems/si/resistance.hpp", - "external/sources/boost/boost/units/systems/si/resistivity.hpp", - "external/sources/boost/boost/units/systems/si/solid_angle.hpp", - "external/sources/boost/boost/units/systems/si/surface_density.hpp", - "external/sources/boost/boost/units/systems/si/surface_tension.hpp", - "external/sources/boost/boost/units/systems/si/temperature.hpp", - "external/sources/boost/boost/units/systems/si/time.hpp", - "external/sources/boost/boost/units/systems/si/torque.hpp", - "external/sources/boost/boost/units/systems/si/velocity.hpp", - "external/sources/boost/boost/units/systems/si/volume.hpp", - "external/sources/boost/boost/units/systems/si/wavenumber.hpp", - "external/sources/boost/boost/units/systems/temperature/celsius.hpp", - "external/sources/boost/boost/units/systems/temperature/fahrenheit.hpp", - "external/sources/boost/boost/units/unit.hpp", - "external/sources/boost/boost/units/units_fwd.hpp", - "external/sources/boost/boost/unordered/detail/fwd.hpp", - "external/sources/boost/boost/unordered/detail/implementation.hpp", - "external/sources/boost/boost/unordered/detail/map.hpp", - "external/sources/boost/boost/unordered/detail/set.hpp", - "external/sources/boost/boost/unordered/unordered_map.hpp", - "external/sources/boost/boost/unordered/unordered_map_fwd.hpp", - "external/sources/boost/boost/unordered/unordered_set.hpp", - "external/sources/boost/boost/unordered/unordered_set_fwd.hpp", - "external/sources/boost/boost/unordered_map.hpp", - "external/sources/boost/boost/unordered_set.hpp", - "external/sources/boost/boost/utility.hpp", - "external/sources/boost/boost/utility/addressof.hpp", - "external/sources/boost/boost/utility/base_from_member.hpp", - "external/sources/boost/boost/utility/binary.hpp", - "external/sources/boost/boost/utility/compare_pointees.hpp", - "external/sources/boost/boost/utility/declval.hpp", - "external/sources/boost/boost/utility/detail/in_place_factory_prefix.hpp", - "external/sources/boost/boost/utility/detail/in_place_factory_suffix.hpp", - "external/sources/boost/boost/utility/detail/minstd_rand.hpp", - "external/sources/boost/boost/utility/detail/result_of_iterate.hpp", - "external/sources/boost/boost/utility/enable_if.hpp", - "external/sources/boost/boost/utility/explicit_operator_bool.hpp", - "external/sources/boost/boost/utility/identity_type.hpp", - "external/sources/boost/boost/utility/in_place_factory.hpp", - "external/sources/boost/boost/utility/result_of.hpp", - "external/sources/boost/boost/utility/string_ref.hpp", - "external/sources/boost/boost/utility/string_ref_fwd.hpp", - "external/sources/boost/boost/utility/string_view.hpp", - "external/sources/boost/boost/utility/string_view_fwd.hpp", - "external/sources/boost/boost/utility/swap.hpp", - "external/sources/boost/boost/utility/typed_in_place_factory.hpp", - "external/sources/boost/boost/utility/value_init.hpp", - "external/sources/boost/boost/uuid/basic_name_generator.hpp", - "external/sources/boost/boost/uuid/detail/config.hpp", - "external/sources/boost/boost/uuid/detail/md5.hpp", - "external/sources/boost/boost/uuid/detail/random_provider.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_arc4random.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_bcrypt.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_detect_platform.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_getentropy.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_getrandom.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_include_platform.hpp", - "external/sources/boost/boost/uuid/detail/random_provider_posix.ipp", - "external/sources/boost/boost/uuid/detail/random_provider_wincrypt.ipp", - "external/sources/boost/boost/uuid/detail/sha1.hpp", - "external/sources/boost/boost/uuid/detail/uuid_generic.ipp", - "external/sources/boost/boost/uuid/detail/uuid_x86.ipp", - "external/sources/boost/boost/uuid/entropy_error.hpp", - "external/sources/boost/boost/uuid/name_generator.hpp", - "external/sources/boost/boost/uuid/name_generator_md5.hpp", - "external/sources/boost/boost/uuid/name_generator_sha1.hpp", - "external/sources/boost/boost/uuid/nil_generator.hpp", - "external/sources/boost/boost/uuid/random_generator.hpp", - "external/sources/boost/boost/uuid/string_generator.hpp", - "external/sources/boost/boost/uuid/uuid.hpp", - "external/sources/boost/boost/uuid/uuid_generators.hpp", - "external/sources/boost/boost/uuid/uuid_hash.hpp", - "external/sources/boost/boost/uuid/uuid_io.hpp", - "external/sources/boost/boost/uuid/uuid_serialize.hpp", - "external/sources/boost/boost/variant.hpp", - "external/sources/boost/boost/variant/apply_visitor.hpp", - "external/sources/boost/boost/variant/bad_visit.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_binary.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_delayed.hpp", - "external/sources/boost/boost/variant/detail/apply_visitor_unary.hpp", - "external/sources/boost/boost/variant/detail/backup_holder.hpp", - "external/sources/boost/boost/variant/detail/cast_storage.hpp", - "external/sources/boost/boost/variant/detail/config.hpp", - "external/sources/boost/boost/variant/detail/element_index.hpp", - "external/sources/boost/boost/variant/detail/enable_recursive.hpp", - "external/sources/boost/boost/variant/detail/enable_recursive_fwd.hpp", - "external/sources/boost/boost/variant/detail/forced_return.hpp", - "external/sources/boost/boost/variant/detail/has_result_type.hpp", - "external/sources/boost/boost/variant/detail/hash_variant.hpp", - "external/sources/boost/boost/variant/detail/initializer.hpp", - "external/sources/boost/boost/variant/detail/make_variant_list.hpp", - "external/sources/boost/boost/variant/detail/move.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_cpp11_based.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_cpp14_based.hpp", - "external/sources/boost/boost/variant/detail/multivisitors_preprocessor_based.hpp", - "external/sources/boost/boost/variant/detail/over_sequence.hpp", - "external/sources/boost/boost/variant/detail/std_hash.hpp", - "external/sources/boost/boost/variant/detail/substitute.hpp", - "external/sources/boost/boost/variant/detail/substitute_fwd.hpp", - "external/sources/boost/boost/variant/detail/variant_io.hpp", - "external/sources/boost/boost/variant/detail/visitation_impl.hpp", - "external/sources/boost/boost/variant/get.hpp", - "external/sources/boost/boost/variant/multivisitors.hpp", - "external/sources/boost/boost/variant/polymorphic_get.hpp", - "external/sources/boost/boost/variant/recursive_variant.hpp", - "external/sources/boost/boost/variant/recursive_wrapper.hpp", - "external/sources/boost/boost/variant/recursive_wrapper_fwd.hpp", - "external/sources/boost/boost/variant/static_visitor.hpp", - "external/sources/boost/boost/variant/variant.hpp", - "external/sources/boost/boost/variant/variant_fwd.hpp", - "external/sources/boost/boost/variant/visitor_ptr.hpp", - "external/sources/boost/boost/variant2/variant.hpp", - "external/sources/boost/boost/version.hpp", - "external/sources/boost/boost/visit_each.hpp", - "external/sources/boost/boost/vmd/array.hpp", - "external/sources/boost/boost/vmd/array/to_seq.hpp", - "external/sources/boost/boost/vmd/array/to_tuple.hpp", - "external/sources/boost/boost/vmd/assert.hpp", - "external/sources/boost/boost/vmd/assert_is_array.hpp", - "external/sources/boost/boost/vmd/assert_is_empty.hpp", - "external/sources/boost/boost/vmd/assert_is_identifier.hpp", - "external/sources/boost/boost/vmd/assert_is_list.hpp", - "external/sources/boost/boost/vmd/assert_is_number.hpp", - "external/sources/boost/boost/vmd/assert_is_seq.hpp", - "external/sources/boost/boost/vmd/assert_is_tuple.hpp", - "external/sources/boost/boost/vmd/assert_is_type.hpp", - "external/sources/boost/boost/vmd/detail/adjust_tuple_type.hpp", - "external/sources/boost/boost/vmd/detail/array.hpp", - "external/sources/boost/boost/vmd/detail/assert.hpp", - "external/sources/boost/boost/vmd/detail/data_equal.hpp", - "external/sources/boost/boost/vmd/detail/data_equal_common.hpp", - "external/sources/boost/boost/vmd/detail/empty_result.hpp", - "external/sources/boost/boost/vmd/detail/equal.hpp", - "external/sources/boost/boost/vmd/detail/equal_common.hpp", - "external/sources/boost/boost/vmd/detail/equal_type.hpp", - "external/sources/boost/boost/vmd/detail/identifier.hpp", - "external/sources/boost/boost/vmd/detail/identifier_concat.hpp", - "external/sources/boost/boost/vmd/detail/identifier_type.hpp", - "external/sources/boost/boost/vmd/detail/idprefix.hpp", - "external/sources/boost/boost/vmd/detail/is_array.hpp", - "external/sources/boost/boost/vmd/detail/is_array_common.hpp", - "external/sources/boost/boost/vmd/detail/is_empty.hpp", - "external/sources/boost/boost/vmd/detail/is_empty_array.hpp", - "external/sources/boost/boost/vmd/detail/is_empty_tuple.hpp", - "external/sources/boost/boost/vmd/detail/is_entire.hpp", - "external/sources/boost/boost/vmd/detail/is_identifier.hpp", - "external/sources/boost/boost/vmd/detail/is_list.hpp", - "external/sources/boost/boost/vmd/detail/is_number.hpp", - "external/sources/boost/boost/vmd/detail/is_seq.hpp", - "external/sources/boost/boost/vmd/detail/is_tuple.hpp", - "external/sources/boost/boost/vmd/detail/is_type.hpp", - "external/sources/boost/boost/vmd/detail/is_type_type.hpp", - "external/sources/boost/boost/vmd/detail/list.hpp", - "external/sources/boost/boost/vmd/detail/match_identifier.hpp", - "external/sources/boost/boost/vmd/detail/match_identifier_common.hpp", - "external/sources/boost/boost/vmd/detail/match_single_identifier.hpp", - "external/sources/boost/boost/vmd/detail/modifiers.hpp", - "external/sources/boost/boost/vmd/detail/mods.hpp", - "external/sources/boost/boost/vmd/detail/nil_registration.hpp", - "external/sources/boost/boost/vmd/detail/not_empty.hpp", - "external/sources/boost/boost/vmd/detail/number_registration.hpp", - "external/sources/boost/boost/vmd/detail/only_after.hpp", - "external/sources/boost/boost/vmd/detail/parens.hpp", - "external/sources/boost/boost/vmd/detail/parens_common.hpp", - "external/sources/boost/boost/vmd/detail/parens_split.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_1.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_10.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_11.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_12.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_13.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_14.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_15.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_16.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_2.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_3.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_4.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_5.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_6.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_7.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_8.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_9.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_headers.hpp", - "external/sources/boost/boost/vmd/detail/recurse/data_equal/data_equal_specific.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_1.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_10.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_11.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_12.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_13.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_14.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_15.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_16.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_2.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_3.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_4.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_5.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_6.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_7.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_8.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_9.hpp", - "external/sources/boost/boost/vmd/detail/recurse/equal/equal_headers.hpp", - "external/sources/boost/boost/vmd/detail/seq.hpp", - "external/sources/boost/boost/vmd/detail/sequence_arity.hpp", - "external/sources/boost/boost/vmd/detail/sequence_common.hpp", - "external/sources/boost/boost/vmd/detail/sequence_elem.hpp", - "external/sources/boost/boost/vmd/detail/sequence_enum.hpp", - "external/sources/boost/boost/vmd/detail/sequence_size.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_array.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_list.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_seq.hpp", - "external/sources/boost/boost/vmd/detail/sequence_to_tuple.hpp", - "external/sources/boost/boost/vmd/detail/sequence_type.hpp", - "external/sources/boost/boost/vmd/detail/setup.hpp", - "external/sources/boost/boost/vmd/detail/tuple.hpp", - "external/sources/boost/boost/vmd/detail/type_registration.hpp", - "external/sources/boost/boost/vmd/detail/variadic_pop_front.hpp", - "external/sources/boost/boost/vmd/elem.hpp", - "external/sources/boost/boost/vmd/empty.hpp", - "external/sources/boost/boost/vmd/enum.hpp", - "external/sources/boost/boost/vmd/equal.hpp", - "external/sources/boost/boost/vmd/get_type.hpp", - "external/sources/boost/boost/vmd/identity.hpp", - "external/sources/boost/boost/vmd/is_array.hpp", - "external/sources/boost/boost/vmd/is_empty.hpp", - "external/sources/boost/boost/vmd/is_empty_array.hpp", - "external/sources/boost/boost/vmd/is_empty_list.hpp", - "external/sources/boost/boost/vmd/is_identifier.hpp", - "external/sources/boost/boost/vmd/is_list.hpp", - "external/sources/boost/boost/vmd/is_multi.hpp", - "external/sources/boost/boost/vmd/is_number.hpp", - "external/sources/boost/boost/vmd/is_parens_empty.hpp", - "external/sources/boost/boost/vmd/is_seq.hpp", - "external/sources/boost/boost/vmd/is_tuple.hpp", - "external/sources/boost/boost/vmd/is_type.hpp", - "external/sources/boost/boost/vmd/is_unary.hpp", - "external/sources/boost/boost/vmd/list.hpp", - "external/sources/boost/boost/vmd/list/to_seq.hpp", - "external/sources/boost/boost/vmd/list/to_tuple.hpp", - "external/sources/boost/boost/vmd/not_equal.hpp", - "external/sources/boost/boost/vmd/seq.hpp", - "external/sources/boost/boost/vmd/seq/is_vmd_seq.hpp", - "external/sources/boost/boost/vmd/seq/pop_back.hpp", - "external/sources/boost/boost/vmd/seq/pop_front.hpp", - "external/sources/boost/boost/vmd/seq/push_back.hpp", - "external/sources/boost/boost/vmd/seq/push_front.hpp", - "external/sources/boost/boost/vmd/seq/remove.hpp", - "external/sources/boost/boost/vmd/seq/size.hpp", - "external/sources/boost/boost/vmd/seq/to_array.hpp", - "external/sources/boost/boost/vmd/seq/to_list.hpp", - "external/sources/boost/boost/vmd/seq/to_tuple.hpp", - "external/sources/boost/boost/vmd/size.hpp", - "external/sources/boost/boost/vmd/to_array.hpp", - "external/sources/boost/boost/vmd/to_list.hpp", - "external/sources/boost/boost/vmd/to_seq.hpp", - "external/sources/boost/boost/vmd/to_tuple.hpp", - "external/sources/boost/boost/vmd/tuple.hpp", - "external/sources/boost/boost/vmd/tuple/is_vmd_tuple.hpp", - "external/sources/boost/boost/vmd/tuple/pop_back.hpp", - "external/sources/boost/boost/vmd/tuple/pop_front.hpp", - "external/sources/boost/boost/vmd/tuple/push_back.hpp", - "external/sources/boost/boost/vmd/tuple/push_front.hpp", - "external/sources/boost/boost/vmd/tuple/remove.hpp", - "external/sources/boost/boost/vmd/tuple/size.hpp", - "external/sources/boost/boost/vmd/tuple/to_array.hpp", - "external/sources/boost/boost/vmd/tuple/to_list.hpp", - "external/sources/boost/boost/vmd/tuple/to_seq.hpp", - "external/sources/boost/boost/vmd/vmd.hpp", - "external/sources/boost/boost/wave.hpp", - "external/sources/boost/boost/wave/cpp_context.hpp", - "external/sources/boost/boost/wave/cpp_exceptions.hpp", - "external/sources/boost/boost/wave/cpp_iteration_context.hpp", - "external/sources/boost/boost/wave/cpp_throw.hpp", - "external/sources/boost/boost/wave/cpplexer/convert_trigraphs.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_interface_generator.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_iterator.hpp", - "external/sources/boost/boost/wave/cpplexer/cpp_lex_token.hpp", - "external/sources/boost/boost/wave/cpplexer/cpplexer_exceptions.hpp", - "external/sources/boost/boost/wave/cpplexer/detect_include_guards.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/aq.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp.re", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re.inc", - "external/sources/boost/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/scanner.hpp", - "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp.re", - "external/sources/boost/boost/wave/cpplexer/re2clex/strict_cpp_re.inc", - "external/sources/boost/boost/wave/cpplexer/token_cache.hpp", - "external/sources/boost/boost/wave/cpplexer/validate_universal_char.hpp", - "external/sources/boost/boost/wave/grammars/cpp_chlit_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_defined_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_defined_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_expression_value.hpp", - "external/sources/boost/boost/wave/grammars/cpp_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_has_include_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_intlit_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_literal_grammar_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_predef_macros_gen.hpp", - "external/sources/boost/boost/wave/grammars/cpp_predef_macros_grammar.hpp", - "external/sources/boost/boost/wave/grammars/cpp_value_error.hpp", - "external/sources/boost/boost/wave/language_support.hpp", - "external/sources/boost/boost/wave/preprocessing_hooks.hpp", - "external/sources/boost/boost/wave/token_ids.hpp", - "external/sources/boost/boost/wave/util/cpp_ifblock.hpp", - "external/sources/boost/boost/wave/util/cpp_include_paths.hpp", - "external/sources/boost/boost/wave/util/cpp_iterator.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap_predef.hpp", - "external/sources/boost/boost/wave/util/cpp_macromap_utils.hpp", - "external/sources/boost/boost/wave/util/file_position.hpp", - "external/sources/boost/boost/wave/util/filesystem_compatibility.hpp", - "external/sources/boost/boost/wave/util/flex_string.hpp", - "external/sources/boost/boost/wave/util/functor_input.hpp", - "external/sources/boost/boost/wave/util/insert_whitespace_detection.hpp", - "external/sources/boost/boost/wave/util/interpret_pragma.hpp", - "external/sources/boost/boost/wave/util/iteration_context.hpp", - "external/sources/boost/boost/wave/util/macro_definition.hpp", - "external/sources/boost/boost/wave/util/macro_helpers.hpp", - "external/sources/boost/boost/wave/util/pattern_parser.hpp", - "external/sources/boost/boost/wave/util/symbol_table.hpp", - "external/sources/boost/boost/wave/util/time_conversion_helper.hpp", - "external/sources/boost/boost/wave/util/transform_iterator.hpp", - "external/sources/boost/boost/wave/util/unput_queue_iterator.hpp", - "external/sources/boost/boost/wave/wave_config.hpp", - "external/sources/boost/boost/wave/wave_config_constant.hpp", - "external/sources/boost/boost/wave/wave_version.hpp", - "external/sources/boost/boost/wave/whitespace_handling.hpp", - "external/sources/boost/boost/weak_ptr.hpp", - "external/sources/boost/boost/winapi/access_rights.hpp", - "external/sources/boost/boost/winapi/apc.hpp", - "external/sources/boost/boost/winapi/basic_types.hpp", - "external/sources/boost/boost/winapi/bcrypt.hpp", - "external/sources/boost/boost/winapi/character_code_conversion.hpp", - "external/sources/boost/boost/winapi/condition_variable.hpp", - "external/sources/boost/boost/winapi/config.hpp", - "external/sources/boost/boost/winapi/critical_section.hpp", - "external/sources/boost/boost/winapi/crypt.hpp", - "external/sources/boost/boost/winapi/dbghelp.hpp", - "external/sources/boost/boost/winapi/debugapi.hpp", - "external/sources/boost/boost/winapi/detail/cast_ptr.hpp", - "external/sources/boost/boost/winapi/detail/footer.hpp", - "external/sources/boost/boost/winapi/detail/header.hpp", - "external/sources/boost/boost/winapi/directory_management.hpp", - "external/sources/boost/boost/winapi/dll.hpp", - "external/sources/boost/boost/winapi/environment.hpp", - "external/sources/boost/boost/winapi/error_codes.hpp", - "external/sources/boost/boost/winapi/error_handling.hpp", - "external/sources/boost/boost/winapi/event.hpp", - "external/sources/boost/boost/winapi/file_management.hpp", - "external/sources/boost/boost/winapi/file_mapping.hpp", - "external/sources/boost/boost/winapi/get_current_process.hpp", - "external/sources/boost/boost/winapi/get_current_process_id.hpp", - "external/sources/boost/boost/winapi/get_current_thread.hpp", - "external/sources/boost/boost/winapi/get_current_thread_id.hpp", - "external/sources/boost/boost/winapi/get_last_error.hpp", - "external/sources/boost/boost/winapi/get_proc_address.hpp", - "external/sources/boost/boost/winapi/get_process_times.hpp", - "external/sources/boost/boost/winapi/get_system_directory.hpp", - "external/sources/boost/boost/winapi/get_thread_times.hpp", - "external/sources/boost/boost/winapi/handle_info.hpp", - "external/sources/boost/boost/winapi/handles.hpp", - "external/sources/boost/boost/winapi/heap_memory.hpp", - "external/sources/boost/boost/winapi/init_once.hpp", - "external/sources/boost/boost/winapi/jobs.hpp", - "external/sources/boost/boost/winapi/limits.hpp", - "external/sources/boost/boost/winapi/local_memory.hpp", - "external/sources/boost/boost/winapi/memory.hpp", - "external/sources/boost/boost/winapi/mutex.hpp", - "external/sources/boost/boost/winapi/overlapped.hpp", - "external/sources/boost/boost/winapi/page_protection_flags.hpp", - "external/sources/boost/boost/winapi/pipes.hpp", - "external/sources/boost/boost/winapi/priority_class.hpp", - "external/sources/boost/boost/winapi/process.hpp", - "external/sources/boost/boost/winapi/security.hpp", - "external/sources/boost/boost/winapi/semaphore.hpp", - "external/sources/boost/boost/winapi/shell.hpp", - "external/sources/boost/boost/winapi/show_window.hpp", - "external/sources/boost/boost/winapi/srw_lock.hpp", - "external/sources/boost/boost/winapi/stack_backtrace.hpp", - "external/sources/boost/boost/winapi/synchronization.hpp", - "external/sources/boost/boost/winapi/system.hpp", - "external/sources/boost/boost/winapi/thread.hpp", - "external/sources/boost/boost/winapi/thread_pool.hpp", - "external/sources/boost/boost/winapi/time.hpp", - "external/sources/boost/boost/winapi/timers.hpp", - "external/sources/boost/boost/winapi/tls.hpp", - "external/sources/boost/boost/winapi/wait.hpp", - "external/sources/boost/boost/winapi/wait_constants.hpp", - "external/sources/boost/boost/winapi/wait_on_address.hpp", - "external/sources/boost/boost/winapi/waitable_timer.hpp", - "external/sources/boost/boost/xpressive/basic_regex.hpp", - "external/sources/boost/boost/xpressive/detail/core/access.hpp", - "external/sources/boost/boost/xpressive/detail/core/action.hpp", - "external/sources/boost/boost/xpressive/detail/core/adaptor.hpp", - "external/sources/boost/boost/xpressive/detail/core/finder.hpp", - "external/sources/boost/boost/xpressive/detail/core/flow_control.hpp", - "external/sources/boost/boost/xpressive/detail/core/icase.hpp", - "external/sources/boost/boost/xpressive/detail/core/linker.hpp", - "external/sources/boost/boost/xpressive/detail/core/list.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/action_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/any_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bol_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_bos_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eol_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_eos_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_line_base.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/assert_word_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/charset_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/epsilon_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/keeper_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/literal_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/logical_newline_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/lookahead_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/lookbehind_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/mark_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/predicate_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/range_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/regex_byref_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/regex_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_begin_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/repeat_end_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/set_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/string_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matcher/true_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/core/matchers.hpp", - "external/sources/boost/boost/xpressive/detail/core/optimize.hpp", - "external/sources/boost/boost/xpressive/detail/core/peeker.hpp", - "external/sources/boost/boost/xpressive/detail/core/quant_style.hpp", - "external/sources/boost/boost/xpressive/detail/core/regex_domain.hpp", - "external/sources/boost/boost/xpressive/detail/core/regex_impl.hpp", - "external/sources/boost/boost/xpressive/detail/core/results_cache.hpp", - "external/sources/boost/boost/xpressive/detail/core/state.hpp", - "external/sources/boost/boost/xpressive/detail/core/sub_match_impl.hpp", - "external/sources/boost/boost/xpressive/detail/core/sub_match_vector.hpp", - "external/sources/boost/boost/xpressive/detail/detail_fwd.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/dynamic.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/matchable.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parse_charset.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser_enum.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/parser_traits.hpp", - "external/sources/boost/boost/xpressive/detail/dynamic/sequence.hpp", - "external/sources/boost/boost/xpressive/detail/static/compile.hpp", - "external/sources/boost/boost/xpressive/detail/static/grammar.hpp", - "external/sources/boost/boost/xpressive/detail/static/is_pure.hpp", - "external/sources/boost/boost/xpressive/detail/static/modifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/placeholders.hpp", - "external/sources/boost/boost/xpressive/detail/static/static.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_action.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_alternate.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_independent.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_inverse.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_marker.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_matcher.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_modifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_quantifier.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_sequence.hpp", - "external/sources/boost/boost/xpressive/detail/static/transforms/as_set.hpp", - "external/sources/boost/boost/xpressive/detail/static/transmogrify.hpp", - "external/sources/boost/boost/xpressive/detail/static/type_traits.hpp", - "external/sources/boost/boost/xpressive/detail/static/visitor.hpp", - "external/sources/boost/boost/xpressive/detail/static/width_of.hpp", - "external/sources/boost/boost/xpressive/detail/utility/algorithm.hpp", - "external/sources/boost/boost/xpressive/detail/utility/any.hpp", - "external/sources/boost/boost/xpressive/detail/utility/boyer_moore.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/basic_chset.ipp", - "external/sources/boost/boost/xpressive/detail/utility/chset/chset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.hpp", - "external/sources/boost/boost/xpressive/detail/utility/chset/range_run.ipp", - "external/sources/boost/boost/xpressive/detail/utility/cons.hpp", - "external/sources/boost/boost/xpressive/detail/utility/counted_base.hpp", - "external/sources/boost/boost/xpressive/detail/utility/dont_care.hpp", - "external/sources/boost/boost/xpressive/detail/utility/hash_peek_bitset.hpp", - "external/sources/boost/boost/xpressive/detail/utility/ignore_unused.hpp", - "external/sources/boost/boost/xpressive/detail/utility/literals.hpp", - "external/sources/boost/boost/xpressive/detail/utility/never_true.hpp", - "external/sources/boost/boost/xpressive/detail/utility/save_restore.hpp", - "external/sources/boost/boost/xpressive/detail/utility/sequence_stack.hpp", - "external/sources/boost/boost/xpressive/detail/utility/symbols.hpp", - "external/sources/boost/boost/xpressive/detail/utility/tracking_ptr.hpp", - "external/sources/boost/boost/xpressive/detail/utility/traits_utils.hpp", - "external/sources/boost/boost/xpressive/detail/utility/width.hpp", - "external/sources/boost/boost/xpressive/match_results.hpp", - "external/sources/boost/boost/xpressive/regex_actions.hpp", - "external/sources/boost/boost/xpressive/regex_algorithms.hpp", - "external/sources/boost/boost/xpressive/regex_compiler.hpp", - "external/sources/boost/boost/xpressive/regex_constants.hpp", - "external/sources/boost/boost/xpressive/regex_error.hpp", - "external/sources/boost/boost/xpressive/regex_iterator.hpp", - "external/sources/boost/boost/xpressive/regex_primitives.hpp", - "external/sources/boost/boost/xpressive/regex_token_iterator.hpp", - "external/sources/boost/boost/xpressive/regex_traits.hpp", - "external/sources/boost/boost/xpressive/sub_match.hpp", - "external/sources/boost/boost/xpressive/traits/c_regex_traits.hpp", - "external/sources/boost/boost/xpressive/traits/cpp_regex_traits.hpp", - "external/sources/boost/boost/xpressive/traits/detail/c_ctype.hpp", - "external/sources/boost/boost/xpressive/traits/null_regex_traits.hpp", - "external/sources/boost/boost/xpressive/xpressive.hpp", - "external/sources/boost/boost/xpressive/xpressive_dynamic.hpp", - "external/sources/boost/boost/xpressive/xpressive_fwd.hpp", - "external/sources/boost/boost/xpressive/xpressive_static.hpp", - "external/sources/boost/boost/xpressive/xpressive_typeof.hpp", - "external/sources/boost/boost/yap/algorithm.hpp", - "external/sources/boost/boost/yap/algorithm_fwd.hpp", - "external/sources/boost/boost/yap/config.hpp", - "external/sources/boost/boost/yap/detail/algorithm.hpp", - "external/sources/boost/boost/yap/detail/transform.hpp", - "external/sources/boost/boost/yap/expression.hpp", - "external/sources/boost/boost/yap/print.hpp", - "external/sources/boost/boost/yap/user_macros.hpp", - "external/sources/boost/boost/yap/yap.hpp", + "external/sources/boost/accumulators/accumulators.hpp", + "external/sources/boost/accumulators/accumulators_fwd.hpp", + "external/sources/boost/accumulators/framework/accumulator_base.hpp", + "external/sources/boost/accumulators/framework/accumulator_concept.hpp", + "external/sources/boost/accumulators/framework/accumulator_set.hpp", + "external/sources/boost/accumulators/framework/accumulators/droppable_accumulator.hpp", + "external/sources/boost/accumulators/framework/accumulators/external_accumulator.hpp", + "external/sources/boost/accumulators/framework/accumulators/reference_accumulator.hpp", + "external/sources/boost/accumulators/framework/accumulators/value_accumulator.hpp", + "external/sources/boost/accumulators/framework/depends_on.hpp", + "external/sources/boost/accumulators/framework/external.hpp", + "external/sources/boost/accumulators/framework/extractor.hpp", + "external/sources/boost/accumulators/framework/features.hpp", + "external/sources/boost/accumulators/framework/parameters/accumulator.hpp", + "external/sources/boost/accumulators/framework/parameters/sample.hpp", + "external/sources/boost/accumulators/framework/parameters/weight.hpp", + "external/sources/boost/accumulators/framework/parameters/weights.hpp", + "external/sources/boost/accumulators/numeric/detail/function1.hpp", + "external/sources/boost/accumulators/numeric/detail/function2.hpp", + "external/sources/boost/accumulators/numeric/detail/function3.hpp", + "external/sources/boost/accumulators/numeric/detail/function4.hpp", + "external/sources/boost/accumulators/numeric/detail/function_n.hpp", + "external/sources/boost/accumulators/numeric/detail/pod_singleton.hpp", + "external/sources/boost/accumulators/numeric/functional.hpp", + "external/sources/boost/accumulators/numeric/functional/complex.hpp", + "external/sources/boost/accumulators/numeric/functional/valarray.hpp", + "external/sources/boost/accumulators/numeric/functional/vector.hpp", + "external/sources/boost/accumulators/numeric/functional_fwd.hpp", + "external/sources/boost/accumulators/statistics.hpp", + "external/sources/boost/accumulators/statistics/count.hpp", + "external/sources/boost/accumulators/statistics/covariance.hpp", + "external/sources/boost/accumulators/statistics/density.hpp", + "external/sources/boost/accumulators/statistics/error_of.hpp", + "external/sources/boost/accumulators/statistics/error_of_mean.hpp", + "external/sources/boost/accumulators/statistics/extended_p_square.hpp", + "external/sources/boost/accumulators/statistics/extended_p_square_quantile.hpp", + "external/sources/boost/accumulators/statistics/kurtosis.hpp", + "external/sources/boost/accumulators/statistics/max.hpp", + "external/sources/boost/accumulators/statistics/mean.hpp", + "external/sources/boost/accumulators/statistics/median.hpp", + "external/sources/boost/accumulators/statistics/min.hpp", + "external/sources/boost/accumulators/statistics/moment.hpp", + "external/sources/boost/accumulators/statistics/p_square_cumul_dist.hpp", + "external/sources/boost/accumulators/statistics/p_square_cumulative_distribution.hpp", + "external/sources/boost/accumulators/statistics/p_square_quantile.hpp", + "external/sources/boost/accumulators/statistics/parameters/quantile_probability.hpp", + "external/sources/boost/accumulators/statistics/peaks_over_threshold.hpp", + "external/sources/boost/accumulators/statistics/pot_quantile.hpp", + "external/sources/boost/accumulators/statistics/pot_tail_mean.hpp", + "external/sources/boost/accumulators/statistics/rolling_count.hpp", + "external/sources/boost/accumulators/statistics/rolling_mean.hpp", + "external/sources/boost/accumulators/statistics/rolling_moment.hpp", + "external/sources/boost/accumulators/statistics/rolling_sum.hpp", + "external/sources/boost/accumulators/statistics/rolling_variance.hpp", + "external/sources/boost/accumulators/statistics/rolling_window.hpp", + "external/sources/boost/accumulators/statistics/skewness.hpp", + "external/sources/boost/accumulators/statistics/stats.hpp", + "external/sources/boost/accumulators/statistics/sum.hpp", + "external/sources/boost/accumulators/statistics/sum_kahan.hpp", + "external/sources/boost/accumulators/statistics/tail.hpp", + "external/sources/boost/accumulators/statistics/tail_mean.hpp", + "external/sources/boost/accumulators/statistics/tail_quantile.hpp", + "external/sources/boost/accumulators/statistics/tail_variate.hpp", + "external/sources/boost/accumulators/statistics/tail_variate_means.hpp", + "external/sources/boost/accumulators/statistics/times2_iterator.hpp", + "external/sources/boost/accumulators/statistics/variance.hpp", + "external/sources/boost/accumulators/statistics/variates/covariate.hpp", + "external/sources/boost/accumulators/statistics/weighted_covariance.hpp", + "external/sources/boost/accumulators/statistics/weighted_density.hpp", + "external/sources/boost/accumulators/statistics/weighted_extended_p_square.hpp", + "external/sources/boost/accumulators/statistics/weighted_kurtosis.hpp", + "external/sources/boost/accumulators/statistics/weighted_mean.hpp", + "external/sources/boost/accumulators/statistics/weighted_median.hpp", + "external/sources/boost/accumulators/statistics/weighted_moment.hpp", + "external/sources/boost/accumulators/statistics/weighted_p_square_cumul_dist.hpp", + "external/sources/boost/accumulators/statistics/weighted_p_square_cumulative_distribution.hpp", + "external/sources/boost/accumulators/statistics/weighted_p_square_quantile.hpp", + "external/sources/boost/accumulators/statistics/weighted_peaks_over_threshold.hpp", + "external/sources/boost/accumulators/statistics/weighted_skewness.hpp", + "external/sources/boost/accumulators/statistics/weighted_sum.hpp", + "external/sources/boost/accumulators/statistics/weighted_sum_kahan.hpp", + "external/sources/boost/accumulators/statistics/weighted_tail_mean.hpp", + "external/sources/boost/accumulators/statistics/weighted_tail_quantile.hpp", + "external/sources/boost/accumulators/statistics/weighted_tail_variate_means.hpp", + "external/sources/boost/accumulators/statistics/weighted_variance.hpp", + "external/sources/boost/accumulators/statistics/with_error.hpp", + "external/sources/boost/accumulators/statistics_fwd.hpp", + "external/sources/boost/algorithm/algorithm.hpp", + "external/sources/boost/algorithm/apply_permutation.hpp", + "external/sources/boost/algorithm/clamp.hpp", + "external/sources/boost/algorithm/cxx11/all_of.hpp", + "external/sources/boost/algorithm/cxx11/any_of.hpp", + "external/sources/boost/algorithm/cxx11/copy_if.hpp", + "external/sources/boost/algorithm/cxx11/copy_n.hpp", + "external/sources/boost/algorithm/cxx11/find_if_not.hpp", + "external/sources/boost/algorithm/cxx11/iota.hpp", + "external/sources/boost/algorithm/cxx11/is_partitioned.hpp", + "external/sources/boost/algorithm/cxx11/is_permutation.hpp", + "external/sources/boost/algorithm/cxx11/is_sorted.hpp", + "external/sources/boost/algorithm/cxx11/none_of.hpp", + "external/sources/boost/algorithm/cxx11/one_of.hpp", + "external/sources/boost/algorithm/cxx11/partition_copy.hpp", + "external/sources/boost/algorithm/cxx11/partition_point.hpp", + "external/sources/boost/algorithm/cxx14/equal.hpp", + "external/sources/boost/algorithm/cxx14/is_permutation.hpp", + "external/sources/boost/algorithm/cxx14/mismatch.hpp", + "external/sources/boost/algorithm/cxx17/exclusive_scan.hpp", + "external/sources/boost/algorithm/cxx17/for_each_n.hpp", + "external/sources/boost/algorithm/cxx17/inclusive_scan.hpp", + "external/sources/boost/algorithm/cxx17/reduce.hpp", + "external/sources/boost/algorithm/cxx17/transform_exclusive_scan.hpp", + "external/sources/boost/algorithm/cxx17/transform_inclusive_scan.hpp", + "external/sources/boost/algorithm/cxx17/transform_reduce.hpp", + "external/sources/boost/algorithm/find_backward.hpp", + "external/sources/boost/algorithm/find_not.hpp", + "external/sources/boost/algorithm/gather.hpp", + "external/sources/boost/algorithm/hex.hpp", + "external/sources/boost/algorithm/is_palindrome.hpp", + "external/sources/boost/algorithm/is_partitioned_until.hpp", + "external/sources/boost/algorithm/minmax.hpp", + "external/sources/boost/algorithm/minmax_element.hpp", + "external/sources/boost/algorithm/searching/boyer_moore.hpp", + "external/sources/boost/algorithm/searching/boyer_moore_horspool.hpp", + "external/sources/boost/algorithm/searching/detail/bm_traits.hpp", + "external/sources/boost/algorithm/searching/detail/debugging.hpp", + "external/sources/boost/algorithm/searching/knuth_morris_pratt.hpp", + "external/sources/boost/algorithm/sort_subrange.hpp", + "external/sources/boost/algorithm/string.hpp", + "external/sources/boost/algorithm/string/case_conv.hpp", + "external/sources/boost/algorithm/string/classification.hpp", + "external/sources/boost/algorithm/string/compare.hpp", + "external/sources/boost/algorithm/string/concept.hpp", + "external/sources/boost/algorithm/string/config.hpp", + "external/sources/boost/algorithm/string/constants.hpp", + "external/sources/boost/algorithm/string/detail/case_conv.hpp", + "external/sources/boost/algorithm/string/detail/classification.hpp", + "external/sources/boost/algorithm/string/detail/find_format.hpp", + "external/sources/boost/algorithm/string/detail/find_format_all.hpp", + "external/sources/boost/algorithm/string/detail/find_format_store.hpp", + "external/sources/boost/algorithm/string/detail/find_iterator.hpp", + "external/sources/boost/algorithm/string/detail/finder.hpp", + "external/sources/boost/algorithm/string/detail/finder_regex.hpp", + "external/sources/boost/algorithm/string/detail/formatter.hpp", + "external/sources/boost/algorithm/string/detail/formatter_regex.hpp", + "external/sources/boost/algorithm/string/detail/predicate.hpp", + "external/sources/boost/algorithm/string/detail/replace_storage.hpp", + "external/sources/boost/algorithm/string/detail/sequence.hpp", + "external/sources/boost/algorithm/string/detail/trim.hpp", + "external/sources/boost/algorithm/string/detail/util.hpp", + "external/sources/boost/algorithm/string/erase.hpp", + "external/sources/boost/algorithm/string/find.hpp", + "external/sources/boost/algorithm/string/find_format.hpp", + "external/sources/boost/algorithm/string/find_iterator.hpp", + "external/sources/boost/algorithm/string/finder.hpp", + "external/sources/boost/algorithm/string/formatter.hpp", + "external/sources/boost/algorithm/string/iter_find.hpp", + "external/sources/boost/algorithm/string/join.hpp", + "external/sources/boost/algorithm/string/predicate.hpp", + "external/sources/boost/algorithm/string/predicate_facade.hpp", + "external/sources/boost/algorithm/string/regex.hpp", + "external/sources/boost/algorithm/string/regex_find_format.hpp", + "external/sources/boost/algorithm/string/replace.hpp", + "external/sources/boost/algorithm/string/sequence_traits.hpp", + "external/sources/boost/algorithm/string/split.hpp", + "external/sources/boost/algorithm/string/std/list_traits.hpp", + "external/sources/boost/algorithm/string/std/rope_traits.hpp", + "external/sources/boost/algorithm/string/std/slist_traits.hpp", + "external/sources/boost/algorithm/string/std/string_traits.hpp", + "external/sources/boost/algorithm/string/std_containers_traits.hpp", + "external/sources/boost/algorithm/string/trim.hpp", + "external/sources/boost/algorithm/string/trim_all.hpp", + "external/sources/boost/algorithm/string/yes_no_type.hpp", + "external/sources/boost/algorithm/string_regex.hpp", + "external/sources/boost/align.hpp", + "external/sources/boost/align/align.hpp", + "external/sources/boost/align/align_down.hpp", + "external/sources/boost/align/align_up.hpp", + "external/sources/boost/align/aligned_alloc.hpp", + "external/sources/boost/align/aligned_allocator.hpp", + "external/sources/boost/align/aligned_allocator_adaptor.hpp", + "external/sources/boost/align/aligned_allocator_adaptor_forward.hpp", + "external/sources/boost/align/aligned_allocator_forward.hpp", + "external/sources/boost/align/aligned_delete.hpp", + "external/sources/boost/align/aligned_delete_forward.hpp", + "external/sources/boost/align/alignment_of.hpp", + "external/sources/boost/align/alignment_of_forward.hpp", + "external/sources/boost/align/assume_aligned.hpp", + "external/sources/boost/align/detail/add_reference.hpp", + "external/sources/boost/align/detail/align.hpp", + "external/sources/boost/align/detail/align_cxx11.hpp", + "external/sources/boost/align/detail/align_down.hpp", + "external/sources/boost/align/detail/align_up.hpp", + "external/sources/boost/align/detail/aligned_alloc.hpp", + "external/sources/boost/align/detail/aligned_alloc_android.hpp", + "external/sources/boost/align/detail/aligned_alloc_macos.hpp", + "external/sources/boost/align/detail/aligned_alloc_mingw.hpp", + "external/sources/boost/align/detail/aligned_alloc_msvc.hpp", + "external/sources/boost/align/detail/aligned_alloc_new.hpp", + "external/sources/boost/align/detail/aligned_alloc_posix.hpp", + "external/sources/boost/align/detail/aligned_alloc_sunos.hpp", + "external/sources/boost/align/detail/alignment_of.hpp", + "external/sources/boost/align/detail/alignment_of_clang.hpp", + "external/sources/boost/align/detail/alignment_of_codegear.hpp", + "external/sources/boost/align/detail/alignment_of_cxx11.hpp", + "external/sources/boost/align/detail/alignment_of_gcc.hpp", + "external/sources/boost/align/detail/alignment_of_msvc.hpp", + "external/sources/boost/align/detail/assume_aligned.hpp", + "external/sources/boost/align/detail/assume_aligned_clang.hpp", + "external/sources/boost/align/detail/assume_aligned_gcc.hpp", + "external/sources/boost/align/detail/assume_aligned_intel.hpp", + "external/sources/boost/align/detail/assume_aligned_msvc.hpp", + "external/sources/boost/align/detail/element_type.hpp", + "external/sources/boost/align/detail/integral_constant.hpp", + "external/sources/boost/align/detail/is_aligned.hpp", + "external/sources/boost/align/detail/is_alignment.hpp", + "external/sources/boost/align/detail/is_alignment_constant.hpp", + "external/sources/boost/align/detail/max_align.hpp", + "external/sources/boost/align/detail/max_objects.hpp", + "external/sources/boost/align/detail/max_size.hpp", + "external/sources/boost/align/detail/min_size.hpp", + "external/sources/boost/align/detail/not_pointer.hpp", + "external/sources/boost/align/detail/throw_exception.hpp", + "external/sources/boost/align/is_aligned.hpp", + "external/sources/boost/aligned_storage.hpp", + "external/sources/boost/any.hpp", + "external/sources/boost/archive/archive_exception.hpp", + "external/sources/boost/archive/basic_archive.hpp", + "external/sources/boost/archive/basic_binary_iarchive.hpp", + "external/sources/boost/archive/basic_binary_iprimitive.hpp", + "external/sources/boost/archive/basic_binary_oarchive.hpp", + "external/sources/boost/archive/basic_binary_oprimitive.hpp", + "external/sources/boost/archive/basic_streambuf_locale_saver.hpp", + "external/sources/boost/archive/basic_text_iarchive.hpp", + "external/sources/boost/archive/basic_text_iprimitive.hpp", + "external/sources/boost/archive/basic_text_oarchive.hpp", + "external/sources/boost/archive/basic_text_oprimitive.hpp", + "external/sources/boost/archive/basic_xml_archive.hpp", + "external/sources/boost/archive/basic_xml_iarchive.hpp", + "external/sources/boost/archive/basic_xml_oarchive.hpp", + "external/sources/boost/archive/binary_iarchive.hpp", + "external/sources/boost/archive/binary_iarchive_impl.hpp", + "external/sources/boost/archive/binary_oarchive.hpp", + "external/sources/boost/archive/binary_oarchive_impl.hpp", + "external/sources/boost/archive/binary_wiarchive.hpp", + "external/sources/boost/archive/binary_woarchive.hpp", + "external/sources/boost/archive/codecvt_null.hpp", + "external/sources/boost/archive/detail/abi_prefix.hpp", + "external/sources/boost/archive/detail/abi_suffix.hpp", + "external/sources/boost/archive/detail/archive_serializer_map.hpp", + "external/sources/boost/archive/detail/auto_link_archive.hpp", + "external/sources/boost/archive/detail/auto_link_warchive.hpp", + "external/sources/boost/archive/detail/basic_iarchive.hpp", + "external/sources/boost/archive/detail/basic_iserializer.hpp", + "external/sources/boost/archive/detail/basic_oarchive.hpp", + "external/sources/boost/archive/detail/basic_oserializer.hpp", + "external/sources/boost/archive/detail/basic_pointer_iserializer.hpp", + "external/sources/boost/archive/detail/basic_pointer_oserializer.hpp", + "external/sources/boost/archive/detail/basic_serializer.hpp", + "external/sources/boost/archive/detail/basic_serializer_map.hpp", + "external/sources/boost/archive/detail/check.hpp", + "external/sources/boost/archive/detail/common_iarchive.hpp", + "external/sources/boost/archive/detail/common_oarchive.hpp", + "external/sources/boost/archive/detail/decl.hpp", + "external/sources/boost/archive/detail/helper_collection.hpp", + "external/sources/boost/archive/detail/interface_iarchive.hpp", + "external/sources/boost/archive/detail/interface_oarchive.hpp", + "external/sources/boost/archive/detail/iserializer.hpp", + "external/sources/boost/archive/detail/oserializer.hpp", + "external/sources/boost/archive/detail/polymorphic_iarchive_route.hpp", + "external/sources/boost/archive/detail/polymorphic_oarchive_route.hpp", + "external/sources/boost/archive/detail/register_archive.hpp", + "external/sources/boost/archive/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/archive/dinkumware.hpp", + "external/sources/boost/archive/impl/archive_serializer_map.ipp", + "external/sources/boost/archive/impl/basic_binary_iarchive.ipp", + "external/sources/boost/archive/impl/basic_binary_iprimitive.ipp", + "external/sources/boost/archive/impl/basic_binary_oarchive.ipp", + "external/sources/boost/archive/impl/basic_binary_oprimitive.ipp", + "external/sources/boost/archive/impl/basic_text_iarchive.ipp", + "external/sources/boost/archive/impl/basic_text_iprimitive.ipp", + "external/sources/boost/archive/impl/basic_text_oarchive.ipp", + "external/sources/boost/archive/impl/basic_text_oprimitive.ipp", + "external/sources/boost/archive/impl/basic_xml_grammar.hpp", + "external/sources/boost/archive/impl/basic_xml_iarchive.ipp", + "external/sources/boost/archive/impl/basic_xml_oarchive.ipp", + "external/sources/boost/archive/impl/text_iarchive_impl.ipp", + "external/sources/boost/archive/impl/text_oarchive_impl.ipp", + "external/sources/boost/archive/impl/text_wiarchive_impl.ipp", + "external/sources/boost/archive/impl/text_woarchive_impl.ipp", + "external/sources/boost/archive/impl/xml_iarchive_impl.ipp", + "external/sources/boost/archive/impl/xml_oarchive_impl.ipp", + "external/sources/boost/archive/impl/xml_wiarchive_impl.ipp", + "external/sources/boost/archive/impl/xml_woarchive_impl.ipp", + "external/sources/boost/archive/iterators/base64_exception.hpp", + "external/sources/boost/archive/iterators/base64_from_binary.hpp", + "external/sources/boost/archive/iterators/binary_from_base64.hpp", + "external/sources/boost/archive/iterators/dataflow.hpp", + "external/sources/boost/archive/iterators/dataflow_exception.hpp", + "external/sources/boost/archive/iterators/escape.hpp", + "external/sources/boost/archive/iterators/insert_linebreaks.hpp", + "external/sources/boost/archive/iterators/istream_iterator.hpp", + "external/sources/boost/archive/iterators/mb_from_wchar.hpp", + "external/sources/boost/archive/iterators/ostream_iterator.hpp", + "external/sources/boost/archive/iterators/remove_whitespace.hpp", + "external/sources/boost/archive/iterators/transform_width.hpp", + "external/sources/boost/archive/iterators/unescape.hpp", + "external/sources/boost/archive/iterators/wchar_from_mb.hpp", + "external/sources/boost/archive/iterators/xml_escape.hpp", + "external/sources/boost/archive/iterators/xml_unescape.hpp", + "external/sources/boost/archive/iterators/xml_unescape_exception.hpp", + "external/sources/boost/archive/polymorphic_binary_iarchive.hpp", + "external/sources/boost/archive/polymorphic_binary_oarchive.hpp", + "external/sources/boost/archive/polymorphic_iarchive.hpp", + "external/sources/boost/archive/polymorphic_oarchive.hpp", + "external/sources/boost/archive/polymorphic_text_iarchive.hpp", + "external/sources/boost/archive/polymorphic_text_oarchive.hpp", + "external/sources/boost/archive/polymorphic_text_wiarchive.hpp", + "external/sources/boost/archive/polymorphic_text_woarchive.hpp", + "external/sources/boost/archive/polymorphic_xml_iarchive.hpp", + "external/sources/boost/archive/polymorphic_xml_oarchive.hpp", + "external/sources/boost/archive/polymorphic_xml_wiarchive.hpp", + "external/sources/boost/archive/polymorphic_xml_woarchive.hpp", + "external/sources/boost/archive/text_iarchive.hpp", + "external/sources/boost/archive/text_oarchive.hpp", + "external/sources/boost/archive/text_wiarchive.hpp", + "external/sources/boost/archive/text_woarchive.hpp", + "external/sources/boost/archive/tmpdir.hpp", + "external/sources/boost/archive/wcslen.hpp", + "external/sources/boost/archive/xml_archive_exception.hpp", + "external/sources/boost/archive/xml_iarchive.hpp", + "external/sources/boost/archive/xml_oarchive.hpp", + "external/sources/boost/archive/xml_wiarchive.hpp", + "external/sources/boost/archive/xml_woarchive.hpp", + "external/sources/boost/array.hpp", + "external/sources/boost/asio.hpp", + "external/sources/boost/asio/any_io_executor.hpp", + "external/sources/boost/asio/associated_allocator.hpp", + "external/sources/boost/asio/associated_executor.hpp", + "external/sources/boost/asio/async_result.hpp", + "external/sources/boost/asio/awaitable.hpp", + "external/sources/boost/asio/basic_datagram_socket.hpp", + "external/sources/boost/asio/basic_deadline_timer.hpp", + "external/sources/boost/asio/basic_io_object.hpp", + "external/sources/boost/asio/basic_raw_socket.hpp", + "external/sources/boost/asio/basic_seq_packet_socket.hpp", + "external/sources/boost/asio/basic_serial_port.hpp", + "external/sources/boost/asio/basic_signal_set.hpp", + "external/sources/boost/asio/basic_socket.hpp", + "external/sources/boost/asio/basic_socket_acceptor.hpp", + "external/sources/boost/asio/basic_socket_iostream.hpp", + "external/sources/boost/asio/basic_socket_streambuf.hpp", + "external/sources/boost/asio/basic_stream_socket.hpp", + "external/sources/boost/asio/basic_streambuf.hpp", + "external/sources/boost/asio/basic_streambuf_fwd.hpp", + "external/sources/boost/asio/basic_waitable_timer.hpp", + "external/sources/boost/asio/bind_executor.hpp", + "external/sources/boost/asio/buffer.hpp", + "external/sources/boost/asio/buffered_read_stream.hpp", + "external/sources/boost/asio/buffered_read_stream_fwd.hpp", + "external/sources/boost/asio/buffered_stream.hpp", + "external/sources/boost/asio/buffered_stream_fwd.hpp", + "external/sources/boost/asio/buffered_write_stream.hpp", + "external/sources/boost/asio/buffered_write_stream_fwd.hpp", + "external/sources/boost/asio/buffers_iterator.hpp", + "external/sources/boost/asio/co_spawn.hpp", + "external/sources/boost/asio/completion_condition.hpp", + "external/sources/boost/asio/compose.hpp", + "external/sources/boost/asio/connect.hpp", + "external/sources/boost/asio/coroutine.hpp", + "external/sources/boost/asio/deadline_timer.hpp", + "external/sources/boost/asio/defer.hpp", + "external/sources/boost/asio/detached.hpp", + "external/sources/boost/asio/detail/array.hpp", + "external/sources/boost/asio/detail/array_fwd.hpp", + "external/sources/boost/asio/detail/assert.hpp", + "external/sources/boost/asio/detail/atomic_count.hpp", + "external/sources/boost/asio/detail/base_from_completion_cond.hpp", + "external/sources/boost/asio/detail/bind_handler.hpp", + "external/sources/boost/asio/detail/blocking_executor_op.hpp", + "external/sources/boost/asio/detail/buffer_resize_guard.hpp", + "external/sources/boost/asio/detail/buffer_sequence_adapter.hpp", + "external/sources/boost/asio/detail/buffered_stream_storage.hpp", + "external/sources/boost/asio/detail/bulk_executor_op.hpp", + "external/sources/boost/asio/detail/call_stack.hpp", + "external/sources/boost/asio/detail/chrono.hpp", + "external/sources/boost/asio/detail/chrono_time_traits.hpp", + "external/sources/boost/asio/detail/completion_handler.hpp", + "external/sources/boost/asio/detail/concurrency_hint.hpp", + "external/sources/boost/asio/detail/conditionally_enabled_event.hpp", + "external/sources/boost/asio/detail/conditionally_enabled_mutex.hpp", + "external/sources/boost/asio/detail/config.hpp", + "external/sources/boost/asio/detail/consuming_buffers.hpp", + "external/sources/boost/asio/detail/cstddef.hpp", + "external/sources/boost/asio/detail/cstdint.hpp", + "external/sources/boost/asio/detail/date_time_fwd.hpp", + "external/sources/boost/asio/detail/deadline_timer_service.hpp", + "external/sources/boost/asio/detail/dependent_type.hpp", + "external/sources/boost/asio/detail/descriptor_ops.hpp", + "external/sources/boost/asio/detail/descriptor_read_op.hpp", + "external/sources/boost/asio/detail/descriptor_write_op.hpp", + "external/sources/boost/asio/detail/dev_poll_reactor.hpp", + "external/sources/boost/asio/detail/epoll_reactor.hpp", + "external/sources/boost/asio/detail/event.hpp", + "external/sources/boost/asio/detail/eventfd_select_interrupter.hpp", + "external/sources/boost/asio/detail/executor_function.hpp", + "external/sources/boost/asio/detail/executor_op.hpp", + "external/sources/boost/asio/detail/fd_set_adapter.hpp", + "external/sources/boost/asio/detail/fenced_block.hpp", + "external/sources/boost/asio/detail/functional.hpp", + "external/sources/boost/asio/detail/future.hpp", + "external/sources/boost/asio/detail/gcc_arm_fenced_block.hpp", + "external/sources/boost/asio/detail/gcc_hppa_fenced_block.hpp", + "external/sources/boost/asio/detail/gcc_sync_fenced_block.hpp", + "external/sources/boost/asio/detail/gcc_x86_fenced_block.hpp", + "external/sources/boost/asio/detail/global.hpp", + "external/sources/boost/asio/detail/handler_alloc_helpers.hpp", + "external/sources/boost/asio/detail/handler_cont_helpers.hpp", + "external/sources/boost/asio/detail/handler_invoke_helpers.hpp", + "external/sources/boost/asio/detail/handler_tracking.hpp", + "external/sources/boost/asio/detail/handler_type_requirements.hpp", + "external/sources/boost/asio/detail/handler_work.hpp", + "external/sources/boost/asio/detail/hash_map.hpp", + "external/sources/boost/asio/detail/impl/buffer_sequence_adapter.ipp", + "external/sources/boost/asio/detail/impl/descriptor_ops.ipp", + "external/sources/boost/asio/detail/impl/dev_poll_reactor.hpp", + "external/sources/boost/asio/detail/impl/dev_poll_reactor.ipp", + "external/sources/boost/asio/detail/impl/epoll_reactor.hpp", + "external/sources/boost/asio/detail/impl/epoll_reactor.ipp", + "external/sources/boost/asio/detail/impl/eventfd_select_interrupter.ipp", + "external/sources/boost/asio/detail/impl/handler_tracking.ipp", + "external/sources/boost/asio/detail/impl/kqueue_reactor.hpp", + "external/sources/boost/asio/detail/impl/kqueue_reactor.ipp", + "external/sources/boost/asio/detail/impl/null_event.ipp", + "external/sources/boost/asio/detail/impl/pipe_select_interrupter.ipp", + "external/sources/boost/asio/detail/impl/posix_event.ipp", + "external/sources/boost/asio/detail/impl/posix_mutex.ipp", + "external/sources/boost/asio/detail/impl/posix_thread.ipp", + "external/sources/boost/asio/detail/impl/posix_tss_ptr.ipp", + "external/sources/boost/asio/detail/impl/reactive_descriptor_service.ipp", + "external/sources/boost/asio/detail/impl/reactive_serial_port_service.ipp", + "external/sources/boost/asio/detail/impl/reactive_socket_service_base.ipp", + "external/sources/boost/asio/detail/impl/resolver_service_base.ipp", + "external/sources/boost/asio/detail/impl/scheduler.ipp", + "external/sources/boost/asio/detail/impl/select_reactor.hpp", + "external/sources/boost/asio/detail/impl/select_reactor.ipp", + "external/sources/boost/asio/detail/impl/service_registry.hpp", + "external/sources/boost/asio/detail/impl/service_registry.ipp", + "external/sources/boost/asio/detail/impl/signal_set_service.ipp", + "external/sources/boost/asio/detail/impl/socket_ops.ipp", + "external/sources/boost/asio/detail/impl/socket_select_interrupter.ipp", + "external/sources/boost/asio/detail/impl/strand_executor_service.hpp", + "external/sources/boost/asio/detail/impl/strand_executor_service.ipp", + "external/sources/boost/asio/detail/impl/strand_service.hpp", + "external/sources/boost/asio/detail/impl/strand_service.ipp", + "external/sources/boost/asio/detail/impl/throw_error.ipp", + "external/sources/boost/asio/detail/impl/timer_queue_ptime.ipp", + "external/sources/boost/asio/detail/impl/timer_queue_set.ipp", + "external/sources/boost/asio/detail/impl/win_event.ipp", + "external/sources/boost/asio/detail/impl/win_iocp_handle_service.ipp", + "external/sources/boost/asio/detail/impl/win_iocp_io_context.hpp", + "external/sources/boost/asio/detail/impl/win_iocp_io_context.ipp", + "external/sources/boost/asio/detail/impl/win_iocp_serial_port_service.ipp", + "external/sources/boost/asio/detail/impl/win_iocp_socket_service_base.ipp", + "external/sources/boost/asio/detail/impl/win_mutex.ipp", + "external/sources/boost/asio/detail/impl/win_object_handle_service.ipp", + "external/sources/boost/asio/detail/impl/win_static_mutex.ipp", + "external/sources/boost/asio/detail/impl/win_thread.ipp", + "external/sources/boost/asio/detail/impl/win_tss_ptr.ipp", + "external/sources/boost/asio/detail/impl/winrt_ssocket_service_base.ipp", + "external/sources/boost/asio/detail/impl/winrt_timer_scheduler.hpp", + "external/sources/boost/asio/detail/impl/winrt_timer_scheduler.ipp", + "external/sources/boost/asio/detail/impl/winsock_init.ipp", + "external/sources/boost/asio/detail/io_control.hpp", + "external/sources/boost/asio/detail/io_object_impl.hpp", + "external/sources/boost/asio/detail/is_buffer_sequence.hpp", + "external/sources/boost/asio/detail/is_executor.hpp", + "external/sources/boost/asio/detail/keyword_tss_ptr.hpp", + "external/sources/boost/asio/detail/kqueue_reactor.hpp", + "external/sources/boost/asio/detail/limits.hpp", + "external/sources/boost/asio/detail/local_free_on_block_exit.hpp", + "external/sources/boost/asio/detail/macos_fenced_block.hpp", + "external/sources/boost/asio/detail/memory.hpp", + "external/sources/boost/asio/detail/mutex.hpp", + "external/sources/boost/asio/detail/non_const_lvalue.hpp", + "external/sources/boost/asio/detail/noncopyable.hpp", + "external/sources/boost/asio/detail/null_event.hpp", + "external/sources/boost/asio/detail/null_fenced_block.hpp", + "external/sources/boost/asio/detail/null_global.hpp", + "external/sources/boost/asio/detail/null_mutex.hpp", + "external/sources/boost/asio/detail/null_reactor.hpp", + "external/sources/boost/asio/detail/null_signal_blocker.hpp", + "external/sources/boost/asio/detail/null_socket_service.hpp", + "external/sources/boost/asio/detail/null_static_mutex.hpp", + "external/sources/boost/asio/detail/null_thread.hpp", + "external/sources/boost/asio/detail/null_tss_ptr.hpp", + "external/sources/boost/asio/detail/object_pool.hpp", + "external/sources/boost/asio/detail/old_win_sdk_compat.hpp", + "external/sources/boost/asio/detail/op_queue.hpp", + "external/sources/boost/asio/detail/operation.hpp", + "external/sources/boost/asio/detail/pipe_select_interrupter.hpp", + "external/sources/boost/asio/detail/pop_options.hpp", + "external/sources/boost/asio/detail/posix_event.hpp", + "external/sources/boost/asio/detail/posix_fd_set_adapter.hpp", + "external/sources/boost/asio/detail/posix_global.hpp", + "external/sources/boost/asio/detail/posix_mutex.hpp", + "external/sources/boost/asio/detail/posix_signal_blocker.hpp", + "external/sources/boost/asio/detail/posix_static_mutex.hpp", + "external/sources/boost/asio/detail/posix_thread.hpp", + "external/sources/boost/asio/detail/posix_tss_ptr.hpp", + "external/sources/boost/asio/detail/push_options.hpp", + "external/sources/boost/asio/detail/reactive_descriptor_service.hpp", + "external/sources/boost/asio/detail/reactive_null_buffers_op.hpp", + "external/sources/boost/asio/detail/reactive_serial_port_service.hpp", + "external/sources/boost/asio/detail/reactive_socket_accept_op.hpp", + "external/sources/boost/asio/detail/reactive_socket_connect_op.hpp", + "external/sources/boost/asio/detail/reactive_socket_recv_op.hpp", + "external/sources/boost/asio/detail/reactive_socket_recvfrom_op.hpp", + "external/sources/boost/asio/detail/reactive_socket_recvmsg_op.hpp", + "external/sources/boost/asio/detail/reactive_socket_send_op.hpp", + "external/sources/boost/asio/detail/reactive_socket_sendto_op.hpp", + "external/sources/boost/asio/detail/reactive_socket_service.hpp", + "external/sources/boost/asio/detail/reactive_socket_service_base.hpp", + "external/sources/boost/asio/detail/reactive_wait_op.hpp", + "external/sources/boost/asio/detail/reactor.hpp", + "external/sources/boost/asio/detail/reactor_fwd.hpp", + "external/sources/boost/asio/detail/reactor_op.hpp", + "external/sources/boost/asio/detail/reactor_op_queue.hpp", + "external/sources/boost/asio/detail/recycling_allocator.hpp", + "external/sources/boost/asio/detail/regex_fwd.hpp", + "external/sources/boost/asio/detail/resolve_endpoint_op.hpp", + "external/sources/boost/asio/detail/resolve_op.hpp", + "external/sources/boost/asio/detail/resolve_query_op.hpp", + "external/sources/boost/asio/detail/resolver_service.hpp", + "external/sources/boost/asio/detail/resolver_service_base.hpp", + "external/sources/boost/asio/detail/scheduler.hpp", + "external/sources/boost/asio/detail/scheduler_operation.hpp", + "external/sources/boost/asio/detail/scheduler_thread_info.hpp", + "external/sources/boost/asio/detail/scoped_lock.hpp", + "external/sources/boost/asio/detail/scoped_ptr.hpp", + "external/sources/boost/asio/detail/select_interrupter.hpp", + "external/sources/boost/asio/detail/select_reactor.hpp", + "external/sources/boost/asio/detail/service_registry.hpp", + "external/sources/boost/asio/detail/signal_blocker.hpp", + "external/sources/boost/asio/detail/signal_handler.hpp", + "external/sources/boost/asio/detail/signal_init.hpp", + "external/sources/boost/asio/detail/signal_op.hpp", + "external/sources/boost/asio/detail/signal_set_service.hpp", + "external/sources/boost/asio/detail/socket_holder.hpp", + "external/sources/boost/asio/detail/socket_ops.hpp", + "external/sources/boost/asio/detail/socket_option.hpp", + "external/sources/boost/asio/detail/socket_select_interrupter.hpp", + "external/sources/boost/asio/detail/socket_types.hpp", + "external/sources/boost/asio/detail/solaris_fenced_block.hpp", + "external/sources/boost/asio/detail/source_location.hpp", + "external/sources/boost/asio/detail/static_mutex.hpp", + "external/sources/boost/asio/detail/std_event.hpp", + "external/sources/boost/asio/detail/std_fenced_block.hpp", + "external/sources/boost/asio/detail/std_global.hpp", + "external/sources/boost/asio/detail/std_mutex.hpp", + "external/sources/boost/asio/detail/std_static_mutex.hpp", + "external/sources/boost/asio/detail/std_thread.hpp", + "external/sources/boost/asio/detail/strand_executor_service.hpp", + "external/sources/boost/asio/detail/strand_service.hpp", + "external/sources/boost/asio/detail/string_view.hpp", + "external/sources/boost/asio/detail/thread.hpp", + "external/sources/boost/asio/detail/thread_context.hpp", + "external/sources/boost/asio/detail/thread_group.hpp", + "external/sources/boost/asio/detail/thread_info_base.hpp", + "external/sources/boost/asio/detail/throw_error.hpp", + "external/sources/boost/asio/detail/throw_exception.hpp", + "external/sources/boost/asio/detail/timer_queue.hpp", + "external/sources/boost/asio/detail/timer_queue_base.hpp", + "external/sources/boost/asio/detail/timer_queue_ptime.hpp", + "external/sources/boost/asio/detail/timer_queue_set.hpp", + "external/sources/boost/asio/detail/timer_scheduler.hpp", + "external/sources/boost/asio/detail/timer_scheduler_fwd.hpp", + "external/sources/boost/asio/detail/tss_ptr.hpp", + "external/sources/boost/asio/detail/type_traits.hpp", + "external/sources/boost/asio/detail/variadic_templates.hpp", + "external/sources/boost/asio/detail/wait_handler.hpp", + "external/sources/boost/asio/detail/wait_op.hpp", + "external/sources/boost/asio/detail/win_event.hpp", + "external/sources/boost/asio/detail/win_fd_set_adapter.hpp", + "external/sources/boost/asio/detail/win_fenced_block.hpp", + "external/sources/boost/asio/detail/win_global.hpp", + "external/sources/boost/asio/detail/win_iocp_handle_read_op.hpp", + "external/sources/boost/asio/detail/win_iocp_handle_service.hpp", + "external/sources/boost/asio/detail/win_iocp_handle_write_op.hpp", + "external/sources/boost/asio/detail/win_iocp_io_context.hpp", + "external/sources/boost/asio/detail/win_iocp_null_buffers_op.hpp", + "external/sources/boost/asio/detail/win_iocp_operation.hpp", + "external/sources/boost/asio/detail/win_iocp_overlapped_op.hpp", + "external/sources/boost/asio/detail/win_iocp_overlapped_ptr.hpp", + "external/sources/boost/asio/detail/win_iocp_serial_port_service.hpp", + "external/sources/boost/asio/detail/win_iocp_socket_accept_op.hpp", + "external/sources/boost/asio/detail/win_iocp_socket_connect_op.hpp", + "external/sources/boost/asio/detail/win_iocp_socket_recv_op.hpp", + "external/sources/boost/asio/detail/win_iocp_socket_recvfrom_op.hpp", + "external/sources/boost/asio/detail/win_iocp_socket_recvmsg_op.hpp", + "external/sources/boost/asio/detail/win_iocp_socket_send_op.hpp", + "external/sources/boost/asio/detail/win_iocp_socket_service.hpp", + "external/sources/boost/asio/detail/win_iocp_socket_service_base.hpp", + "external/sources/boost/asio/detail/win_iocp_thread_info.hpp", + "external/sources/boost/asio/detail/win_iocp_wait_op.hpp", + "external/sources/boost/asio/detail/win_mutex.hpp", + "external/sources/boost/asio/detail/win_object_handle_service.hpp", + "external/sources/boost/asio/detail/win_static_mutex.hpp", + "external/sources/boost/asio/detail/win_thread.hpp", + "external/sources/boost/asio/detail/win_tss_ptr.hpp", + "external/sources/boost/asio/detail/winapp_thread.hpp", + "external/sources/boost/asio/detail/wince_thread.hpp", + "external/sources/boost/asio/detail/winrt_async_manager.hpp", + "external/sources/boost/asio/detail/winrt_async_op.hpp", + "external/sources/boost/asio/detail/winrt_resolve_op.hpp", + "external/sources/boost/asio/detail/winrt_resolver_service.hpp", + "external/sources/boost/asio/detail/winrt_socket_connect_op.hpp", + "external/sources/boost/asio/detail/winrt_socket_recv_op.hpp", + "external/sources/boost/asio/detail/winrt_socket_send_op.hpp", + "external/sources/boost/asio/detail/winrt_ssocket_service.hpp", + "external/sources/boost/asio/detail/winrt_ssocket_service_base.hpp", + "external/sources/boost/asio/detail/winrt_timer_scheduler.hpp", + "external/sources/boost/asio/detail/winrt_utils.hpp", + "external/sources/boost/asio/detail/winsock_init.hpp", + "external/sources/boost/asio/detail/work_dispatcher.hpp", + "external/sources/boost/asio/detail/wrapped_handler.hpp", + "external/sources/boost/asio/dispatch.hpp", + "external/sources/boost/asio/error.hpp", + "external/sources/boost/asio/execution.hpp", + "external/sources/boost/asio/execution/allocator.hpp", + "external/sources/boost/asio/execution/any_executor.hpp", + "external/sources/boost/asio/execution/bad_executor.hpp", + "external/sources/boost/asio/execution/blocking.hpp", + "external/sources/boost/asio/execution/blocking_adaptation.hpp", + "external/sources/boost/asio/execution/bulk_execute.hpp", + "external/sources/boost/asio/execution/bulk_guarantee.hpp", + "external/sources/boost/asio/execution/connect.hpp", + "external/sources/boost/asio/execution/context.hpp", + "external/sources/boost/asio/execution/context_as.hpp", + "external/sources/boost/asio/execution/detail/as_invocable.hpp", + "external/sources/boost/asio/execution/detail/as_operation.hpp", + "external/sources/boost/asio/execution/detail/as_receiver.hpp", + "external/sources/boost/asio/execution/detail/bulk_sender.hpp", + "external/sources/boost/asio/execution/detail/submit_receiver.hpp", + "external/sources/boost/asio/execution/detail/void_receiver.hpp", + "external/sources/boost/asio/execution/execute.hpp", + "external/sources/boost/asio/execution/executor.hpp", + "external/sources/boost/asio/execution/impl/bad_executor.ipp", + "external/sources/boost/asio/execution/impl/receiver_invocation_error.ipp", + "external/sources/boost/asio/execution/invocable_archetype.hpp", + "external/sources/boost/asio/execution/mapping.hpp", + "external/sources/boost/asio/execution/occupancy.hpp", + "external/sources/boost/asio/execution/operation_state.hpp", + "external/sources/boost/asio/execution/outstanding_work.hpp", + "external/sources/boost/asio/execution/prefer_only.hpp", + "external/sources/boost/asio/execution/receiver.hpp", + "external/sources/boost/asio/execution/receiver_invocation_error.hpp", + "external/sources/boost/asio/execution/relationship.hpp", + "external/sources/boost/asio/execution/schedule.hpp", + "external/sources/boost/asio/execution/scheduler.hpp", + "external/sources/boost/asio/execution/sender.hpp", + "external/sources/boost/asio/execution/set_done.hpp", + "external/sources/boost/asio/execution/set_error.hpp", + "external/sources/boost/asio/execution/set_value.hpp", + "external/sources/boost/asio/execution/start.hpp", + "external/sources/boost/asio/execution/submit.hpp", + "external/sources/boost/asio/execution_context.hpp", + "external/sources/boost/asio/executor.hpp", + "external/sources/boost/asio/executor_work_guard.hpp", + "external/sources/boost/asio/generic/basic_endpoint.hpp", + "external/sources/boost/asio/generic/datagram_protocol.hpp", + "external/sources/boost/asio/generic/detail/endpoint.hpp", + "external/sources/boost/asio/generic/detail/impl/endpoint.ipp", + "external/sources/boost/asio/generic/raw_protocol.hpp", + "external/sources/boost/asio/generic/seq_packet_protocol.hpp", + "external/sources/boost/asio/generic/stream_protocol.hpp", + "external/sources/boost/asio/handler_alloc_hook.hpp", + "external/sources/boost/asio/handler_continuation_hook.hpp", + "external/sources/boost/asio/handler_invoke_hook.hpp", + "external/sources/boost/asio/high_resolution_timer.hpp", + "external/sources/boost/asio/impl/awaitable.hpp", + "external/sources/boost/asio/impl/buffered_read_stream.hpp", + "external/sources/boost/asio/impl/buffered_write_stream.hpp", + "external/sources/boost/asio/impl/co_spawn.hpp", + "external/sources/boost/asio/impl/compose.hpp", + "external/sources/boost/asio/impl/connect.hpp", + "external/sources/boost/asio/impl/defer.hpp", + "external/sources/boost/asio/impl/detached.hpp", + "external/sources/boost/asio/impl/dispatch.hpp", + "external/sources/boost/asio/impl/error.ipp", + "external/sources/boost/asio/impl/execution_context.hpp", + "external/sources/boost/asio/impl/execution_context.ipp", + "external/sources/boost/asio/impl/executor.hpp", + "external/sources/boost/asio/impl/executor.ipp", + "external/sources/boost/asio/impl/handler_alloc_hook.ipp", + "external/sources/boost/asio/impl/io_context.hpp", + "external/sources/boost/asio/impl/io_context.ipp", + "external/sources/boost/asio/impl/multiple_exceptions.ipp", + "external/sources/boost/asio/impl/post.hpp", + "external/sources/boost/asio/impl/read.hpp", + "external/sources/boost/asio/impl/read_at.hpp", + "external/sources/boost/asio/impl/read_until.hpp", + "external/sources/boost/asio/impl/redirect_error.hpp", + "external/sources/boost/asio/impl/serial_port_base.hpp", + "external/sources/boost/asio/impl/serial_port_base.ipp", + "external/sources/boost/asio/impl/spawn.hpp", + "external/sources/boost/asio/impl/src.cpp", + "external/sources/boost/asio/impl/src.hpp", + "external/sources/boost/asio/impl/system_context.hpp", + "external/sources/boost/asio/impl/system_context.ipp", + "external/sources/boost/asio/impl/system_executor.hpp", + "external/sources/boost/asio/impl/thread_pool.hpp", + "external/sources/boost/asio/impl/thread_pool.ipp", + "external/sources/boost/asio/impl/use_awaitable.hpp", + "external/sources/boost/asio/impl/use_future.hpp", + "external/sources/boost/asio/impl/write.hpp", + "external/sources/boost/asio/impl/write_at.hpp", + "external/sources/boost/asio/io_context.hpp", + "external/sources/boost/asio/io_context_strand.hpp", + "external/sources/boost/asio/io_service.hpp", + "external/sources/boost/asio/io_service_strand.hpp", + "external/sources/boost/asio/ip/address.hpp", + "external/sources/boost/asio/ip/address_v4.hpp", + "external/sources/boost/asio/ip/address_v4_iterator.hpp", + "external/sources/boost/asio/ip/address_v4_range.hpp", + "external/sources/boost/asio/ip/address_v6.hpp", + "external/sources/boost/asio/ip/address_v6_iterator.hpp", + "external/sources/boost/asio/ip/address_v6_range.hpp", + "external/sources/boost/asio/ip/bad_address_cast.hpp", + "external/sources/boost/asio/ip/basic_endpoint.hpp", + "external/sources/boost/asio/ip/basic_resolver.hpp", + "external/sources/boost/asio/ip/basic_resolver_entry.hpp", + "external/sources/boost/asio/ip/basic_resolver_iterator.hpp", + "external/sources/boost/asio/ip/basic_resolver_query.hpp", + "external/sources/boost/asio/ip/basic_resolver_results.hpp", + "external/sources/boost/asio/ip/detail/endpoint.hpp", + "external/sources/boost/asio/ip/detail/impl/endpoint.ipp", + "external/sources/boost/asio/ip/detail/socket_option.hpp", + "external/sources/boost/asio/ip/host_name.hpp", + "external/sources/boost/asio/ip/icmp.hpp", + "external/sources/boost/asio/ip/impl/address.hpp", + "external/sources/boost/asio/ip/impl/address.ipp", + "external/sources/boost/asio/ip/impl/address_v4.hpp", + "external/sources/boost/asio/ip/impl/address_v4.ipp", + "external/sources/boost/asio/ip/impl/address_v6.hpp", + "external/sources/boost/asio/ip/impl/address_v6.ipp", + "external/sources/boost/asio/ip/impl/basic_endpoint.hpp", + "external/sources/boost/asio/ip/impl/host_name.ipp", + "external/sources/boost/asio/ip/impl/network_v4.hpp", + "external/sources/boost/asio/ip/impl/network_v4.ipp", + "external/sources/boost/asio/ip/impl/network_v6.hpp", + "external/sources/boost/asio/ip/impl/network_v6.ipp", + "external/sources/boost/asio/ip/multicast.hpp", + "external/sources/boost/asio/ip/network_v4.hpp", + "external/sources/boost/asio/ip/network_v6.hpp", + "external/sources/boost/asio/ip/resolver_base.hpp", + "external/sources/boost/asio/ip/resolver_query_base.hpp", + "external/sources/boost/asio/ip/tcp.hpp", + "external/sources/boost/asio/ip/udp.hpp", + "external/sources/boost/asio/ip/unicast.hpp", + "external/sources/boost/asio/ip/v6_only.hpp", + "external/sources/boost/asio/is_applicable_property.hpp", + "external/sources/boost/asio/is_executor.hpp", + "external/sources/boost/asio/is_read_buffered.hpp", + "external/sources/boost/asio/is_write_buffered.hpp", + "external/sources/boost/asio/local/basic_endpoint.hpp", + "external/sources/boost/asio/local/connect_pair.hpp", + "external/sources/boost/asio/local/datagram_protocol.hpp", + "external/sources/boost/asio/local/detail/endpoint.hpp", + "external/sources/boost/asio/local/detail/impl/endpoint.ipp", + "external/sources/boost/asio/local/stream_protocol.hpp", + "external/sources/boost/asio/multiple_exceptions.hpp", + "external/sources/boost/asio/packaged_task.hpp", + "external/sources/boost/asio/placeholders.hpp", + "external/sources/boost/asio/posix/basic_descriptor.hpp", + "external/sources/boost/asio/posix/basic_stream_descriptor.hpp", + "external/sources/boost/asio/posix/descriptor.hpp", + "external/sources/boost/asio/posix/descriptor_base.hpp", + "external/sources/boost/asio/posix/stream_descriptor.hpp", + "external/sources/boost/asio/post.hpp", + "external/sources/boost/asio/prefer.hpp", + "external/sources/boost/asio/query.hpp", + "external/sources/boost/asio/read.hpp", + "external/sources/boost/asio/read_at.hpp", + "external/sources/boost/asio/read_until.hpp", + "external/sources/boost/asio/redirect_error.hpp", + "external/sources/boost/asio/require.hpp", + "external/sources/boost/asio/require_concept.hpp", + "external/sources/boost/asio/serial_port.hpp", + "external/sources/boost/asio/serial_port_base.hpp", + "external/sources/boost/asio/signal_set.hpp", + "external/sources/boost/asio/socket_base.hpp", + "external/sources/boost/asio/spawn.hpp", + "external/sources/boost/asio/ssl.hpp", + "external/sources/boost/asio/ssl/context.hpp", + "external/sources/boost/asio/ssl/context_base.hpp", + "external/sources/boost/asio/ssl/detail/buffered_handshake_op.hpp", + "external/sources/boost/asio/ssl/detail/engine.hpp", + "external/sources/boost/asio/ssl/detail/handshake_op.hpp", + "external/sources/boost/asio/ssl/detail/impl/engine.ipp", + "external/sources/boost/asio/ssl/detail/impl/openssl_init.ipp", + "external/sources/boost/asio/ssl/detail/io.hpp", + "external/sources/boost/asio/ssl/detail/openssl_init.hpp", + "external/sources/boost/asio/ssl/detail/openssl_types.hpp", + "external/sources/boost/asio/ssl/detail/password_callback.hpp", + "external/sources/boost/asio/ssl/detail/read_op.hpp", + "external/sources/boost/asio/ssl/detail/shutdown_op.hpp", + "external/sources/boost/asio/ssl/detail/stream_core.hpp", + "external/sources/boost/asio/ssl/detail/verify_callback.hpp", + "external/sources/boost/asio/ssl/detail/write_op.hpp", + "external/sources/boost/asio/ssl/error.hpp", + "external/sources/boost/asio/ssl/host_name_verification.hpp", + "external/sources/boost/asio/ssl/impl/context.hpp", + "external/sources/boost/asio/ssl/impl/context.ipp", + "external/sources/boost/asio/ssl/impl/error.ipp", + "external/sources/boost/asio/ssl/impl/host_name_verification.ipp", + "external/sources/boost/asio/ssl/impl/rfc2818_verification.ipp", + "external/sources/boost/asio/ssl/impl/src.hpp", + "external/sources/boost/asio/ssl/rfc2818_verification.hpp", + "external/sources/boost/asio/ssl/stream.hpp", + "external/sources/boost/asio/ssl/stream_base.hpp", + "external/sources/boost/asio/ssl/verify_context.hpp", + "external/sources/boost/asio/ssl/verify_mode.hpp", + "external/sources/boost/asio/static_thread_pool.hpp", + "external/sources/boost/asio/steady_timer.hpp", + "external/sources/boost/asio/strand.hpp", + "external/sources/boost/asio/streambuf.hpp", + "external/sources/boost/asio/system_context.hpp", + "external/sources/boost/asio/system_executor.hpp", + "external/sources/boost/asio/system_timer.hpp", + "external/sources/boost/asio/this_coro.hpp", + "external/sources/boost/asio/thread_pool.hpp", + "external/sources/boost/asio/time_traits.hpp", + "external/sources/boost/asio/traits/bulk_execute_free.hpp", + "external/sources/boost/asio/traits/bulk_execute_member.hpp", + "external/sources/boost/asio/traits/connect_free.hpp", + "external/sources/boost/asio/traits/connect_member.hpp", + "external/sources/boost/asio/traits/equality_comparable.hpp", + "external/sources/boost/asio/traits/execute_free.hpp", + "external/sources/boost/asio/traits/execute_member.hpp", + "external/sources/boost/asio/traits/prefer_free.hpp", + "external/sources/boost/asio/traits/prefer_member.hpp", + "external/sources/boost/asio/traits/query_free.hpp", + "external/sources/boost/asio/traits/query_member.hpp", + "external/sources/boost/asio/traits/query_static_constexpr_member.hpp", + "external/sources/boost/asio/traits/require_concept_free.hpp", + "external/sources/boost/asio/traits/require_concept_member.hpp", + "external/sources/boost/asio/traits/require_free.hpp", + "external/sources/boost/asio/traits/require_member.hpp", + "external/sources/boost/asio/traits/schedule_free.hpp", + "external/sources/boost/asio/traits/schedule_member.hpp", + "external/sources/boost/asio/traits/set_done_free.hpp", + "external/sources/boost/asio/traits/set_done_member.hpp", + "external/sources/boost/asio/traits/set_error_free.hpp", + "external/sources/boost/asio/traits/set_error_member.hpp", + "external/sources/boost/asio/traits/set_value_free.hpp", + "external/sources/boost/asio/traits/set_value_member.hpp", + "external/sources/boost/asio/traits/start_free.hpp", + "external/sources/boost/asio/traits/start_member.hpp", + "external/sources/boost/asio/traits/static_query.hpp", + "external/sources/boost/asio/traits/static_require.hpp", + "external/sources/boost/asio/traits/static_require_concept.hpp", + "external/sources/boost/asio/traits/submit_free.hpp", + "external/sources/boost/asio/traits/submit_member.hpp", + "external/sources/boost/asio/ts/buffer.hpp", + "external/sources/boost/asio/ts/executor.hpp", + "external/sources/boost/asio/ts/internet.hpp", + "external/sources/boost/asio/ts/io_context.hpp", + "external/sources/boost/asio/ts/net.hpp", + "external/sources/boost/asio/ts/netfwd.hpp", + "external/sources/boost/asio/ts/socket.hpp", + "external/sources/boost/asio/ts/timer.hpp", + "external/sources/boost/asio/unyield.hpp", + "external/sources/boost/asio/use_awaitable.hpp", + "external/sources/boost/asio/use_future.hpp", + "external/sources/boost/asio/uses_executor.hpp", + "external/sources/boost/asio/version.hpp", + "external/sources/boost/asio/wait_traits.hpp", + "external/sources/boost/asio/windows/basic_object_handle.hpp", + "external/sources/boost/asio/windows/basic_overlapped_handle.hpp", + "external/sources/boost/asio/windows/basic_random_access_handle.hpp", + "external/sources/boost/asio/windows/basic_stream_handle.hpp", + "external/sources/boost/asio/windows/object_handle.hpp", + "external/sources/boost/asio/windows/overlapped_handle.hpp", + "external/sources/boost/asio/windows/overlapped_ptr.hpp", + "external/sources/boost/asio/windows/random_access_handle.hpp", + "external/sources/boost/asio/windows/stream_handle.hpp", + "external/sources/boost/asio/write.hpp", + "external/sources/boost/asio/write_at.hpp", + "external/sources/boost/asio/yield.hpp", + "external/sources/boost/assert.hpp", + "external/sources/boost/assert/source_location.hpp", + "external/sources/boost/assign.hpp", + "external/sources/boost/assign/assignment_exception.hpp", + "external/sources/boost/assign/list_inserter.hpp", + "external/sources/boost/assign/list_of.hpp", + "external/sources/boost/assign/ptr_list_inserter.hpp", + "external/sources/boost/assign/ptr_list_of.hpp", + "external/sources/boost/assign/ptr_map_inserter.hpp", + "external/sources/boost/assign/std.hpp", + "external/sources/boost/assign/std/deque.hpp", + "external/sources/boost/assign/std/list.hpp", + "external/sources/boost/assign/std/map.hpp", + "external/sources/boost/assign/std/queue.hpp", + "external/sources/boost/assign/std/set.hpp", + "external/sources/boost/assign/std/slist.hpp", + "external/sources/boost/assign/std/stack.hpp", + "external/sources/boost/assign/std/vector.hpp", + "external/sources/boost/atomic.hpp", + "external/sources/boost/atomic/atomic.hpp", + "external/sources/boost/atomic/atomic_flag.hpp", + "external/sources/boost/atomic/atomic_ref.hpp", + "external/sources/boost/atomic/capabilities.hpp", + "external/sources/boost/atomic/detail/addressof.hpp", + "external/sources/boost/atomic/detail/aligned_variable.hpp", + "external/sources/boost/atomic/detail/atomic_flag_impl.hpp", + "external/sources/boost/atomic/detail/atomic_impl.hpp", + "external/sources/boost/atomic/detail/atomic_ref_impl.hpp", + "external/sources/boost/atomic/detail/bitwise_cast.hpp", + "external/sources/boost/atomic/detail/bitwise_fp_cast.hpp", + "external/sources/boost/atomic/detail/capabilities.hpp", + "external/sources/boost/atomic/detail/caps_arch_gcc_aarch32.hpp", + "external/sources/boost/atomic/detail/caps_arch_gcc_aarch64.hpp", + "external/sources/boost/atomic/detail/caps_arch_gcc_alpha.hpp", + "external/sources/boost/atomic/detail/caps_arch_gcc_arm.hpp", + "external/sources/boost/atomic/detail/caps_arch_gcc_ppc.hpp", + "external/sources/boost/atomic/detail/caps_arch_gcc_sparc.hpp", + "external/sources/boost/atomic/detail/caps_arch_gcc_x86.hpp", + "external/sources/boost/atomic/detail/caps_arch_msvc_arm.hpp", + "external/sources/boost/atomic/detail/caps_arch_msvc_x86.hpp", + "external/sources/boost/atomic/detail/caps_gcc_atomic.hpp", + "external/sources/boost/atomic/detail/caps_gcc_sync.hpp", + "external/sources/boost/atomic/detail/caps_linux_arm.hpp", + "external/sources/boost/atomic/detail/caps_windows.hpp", + "external/sources/boost/atomic/detail/cas_based_exchange.hpp", + "external/sources/boost/atomic/detail/classify.hpp", + "external/sources/boost/atomic/detail/config.hpp", + "external/sources/boost/atomic/detail/core_arch_operations.hpp", + "external/sources/boost/atomic/detail/core_arch_operations_fwd.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_gcc_arm.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_gcc_x86.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_msvc_arm.hpp", + "external/sources/boost/atomic/detail/core_arch_ops_msvc_x86.hpp", + "external/sources/boost/atomic/detail/core_operations.hpp", + "external/sources/boost/atomic/detail/core_operations_emulated.hpp", + "external/sources/boost/atomic/detail/core_operations_emulated_fwd.hpp", + "external/sources/boost/atomic/detail/core_operations_fwd.hpp", + "external/sources/boost/atomic/detail/core_ops_cas_based.hpp", + "external/sources/boost/atomic/detail/core_ops_gcc_atomic.hpp", + "external/sources/boost/atomic/detail/core_ops_gcc_sync.hpp", + "external/sources/boost/atomic/detail/core_ops_linux_arm.hpp", + "external/sources/boost/atomic/detail/core_ops_windows.hpp", + "external/sources/boost/atomic/detail/extending_cas_based_arithmetic.hpp", + "external/sources/boost/atomic/detail/extra_fp_operations.hpp", + "external/sources/boost/atomic/detail/extra_fp_operations_fwd.hpp", + "external/sources/boost/atomic/detail/extra_fp_ops_emulated.hpp", + "external/sources/boost/atomic/detail/extra_fp_ops_generic.hpp", + "external/sources/boost/atomic/detail/extra_operations.hpp", + "external/sources/boost/atomic/detail/extra_operations_fwd.hpp", + "external/sources/boost/atomic/detail/extra_ops_emulated.hpp", + "external/sources/boost/atomic/detail/extra_ops_gcc_aarch32.hpp", + "external/sources/boost/atomic/detail/extra_ops_gcc_aarch64.hpp", + "external/sources/boost/atomic/detail/extra_ops_gcc_arm.hpp", + "external/sources/boost/atomic/detail/extra_ops_gcc_ppc.hpp", + "external/sources/boost/atomic/detail/extra_ops_gcc_x86.hpp", + "external/sources/boost/atomic/detail/extra_ops_generic.hpp", + "external/sources/boost/atomic/detail/extra_ops_msvc_arm.hpp", + "external/sources/boost/atomic/detail/extra_ops_msvc_x86.hpp", + "external/sources/boost/atomic/detail/fence_arch_operations.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp", + "external/sources/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp", + "external/sources/boost/atomic/detail/fence_operations.hpp", + "external/sources/boost/atomic/detail/fence_operations_emulated.hpp", + "external/sources/boost/atomic/detail/fence_ops_gcc_atomic.hpp", + "external/sources/boost/atomic/detail/fence_ops_gcc_sync.hpp", + "external/sources/boost/atomic/detail/fence_ops_linux_arm.hpp", + "external/sources/boost/atomic/detail/fence_ops_windows.hpp", + "external/sources/boost/atomic/detail/float_sizes.hpp", + "external/sources/boost/atomic/detail/footer.hpp", + "external/sources/boost/atomic/detail/fp_operations.hpp", + "external/sources/boost/atomic/detail/fp_operations_fwd.hpp", + "external/sources/boost/atomic/detail/fp_ops_emulated.hpp", + "external/sources/boost/atomic/detail/fp_ops_generic.hpp", + "external/sources/boost/atomic/detail/futex.hpp", + "external/sources/boost/atomic/detail/gcc_arm_asm_common.hpp", + "external/sources/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp", + "external/sources/boost/atomic/detail/header.hpp", + "external/sources/boost/atomic/detail/int_sizes.hpp", + "external/sources/boost/atomic/detail/integral_conversions.hpp", + "external/sources/boost/atomic/detail/interlocked.hpp", + "external/sources/boost/atomic/detail/intptr.hpp", + "external/sources/boost/atomic/detail/link.hpp", + "external/sources/boost/atomic/detail/lock_pool.hpp", + "external/sources/boost/atomic/detail/memory_order_utils.hpp", + "external/sources/boost/atomic/detail/once_flag.hpp", + "external/sources/boost/atomic/detail/ops_gcc_aarch32_common.hpp", + "external/sources/boost/atomic/detail/ops_gcc_aarch64_common.hpp", + "external/sources/boost/atomic/detail/ops_gcc_arm_common.hpp", + "external/sources/boost/atomic/detail/ops_gcc_ppc_common.hpp", + "external/sources/boost/atomic/detail/ops_msvc_common.hpp", + "external/sources/boost/atomic/detail/pause.hpp", + "external/sources/boost/atomic/detail/platform.hpp", + "external/sources/boost/atomic/detail/storage_traits.hpp", + "external/sources/boost/atomic/detail/string_ops.hpp", + "external/sources/boost/atomic/detail/type_traits/alignment_of.hpp", + "external/sources/boost/atomic/detail/type_traits/conditional.hpp", + "external/sources/boost/atomic/detail/type_traits/integral_constant.hpp", + "external/sources/boost/atomic/detail/type_traits/is_floating_point.hpp", + "external/sources/boost/atomic/detail/type_traits/is_function.hpp", + "external/sources/boost/atomic/detail/type_traits/is_iec559.hpp", + "external/sources/boost/atomic/detail/type_traits/is_integral.hpp", + "external/sources/boost/atomic/detail/type_traits/is_signed.hpp", + "external/sources/boost/atomic/detail/type_traits/is_trivially_copyable.hpp", + "external/sources/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp", + "external/sources/boost/atomic/detail/type_traits/make_signed.hpp", + "external/sources/boost/atomic/detail/type_traits/make_unsigned.hpp", + "external/sources/boost/atomic/detail/wait_capabilities.hpp", + "external/sources/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp", + "external/sources/boost/atomic/detail/wait_caps_freebsd_umtx.hpp", + "external/sources/boost/atomic/detail/wait_caps_futex.hpp", + "external/sources/boost/atomic/detail/wait_caps_windows.hpp", + "external/sources/boost/atomic/detail/wait_operations.hpp", + "external/sources/boost/atomic/detail/wait_operations_fwd.hpp", + "external/sources/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp", + "external/sources/boost/atomic/detail/wait_ops_emulated.hpp", + "external/sources/boost/atomic/detail/wait_ops_freebsd_umtx.hpp", + "external/sources/boost/atomic/detail/wait_ops_futex.hpp", + "external/sources/boost/atomic/detail/wait_ops_generic.hpp", + "external/sources/boost/atomic/detail/wait_ops_windows.hpp", + "external/sources/boost/atomic/fences.hpp", + "external/sources/boost/atomic/ipc_atomic.hpp", + "external/sources/boost/atomic/ipc_atomic_flag.hpp", + "external/sources/boost/atomic/ipc_atomic_ref.hpp", + "external/sources/boost/beast.hpp", + "external/sources/boost/beast/_experimental/http/icy_stream.hpp", + "external/sources/boost/beast/_experimental/http/impl/icy_stream.hpp", + "external/sources/boost/beast/_experimental/test/error.hpp", + "external/sources/boost/beast/_experimental/test/fail_count.hpp", + "external/sources/boost/beast/_experimental/test/handler.hpp", + "external/sources/boost/beast/_experimental/test/impl/error.hpp", + "external/sources/boost/beast/_experimental/test/impl/error.ipp", + "external/sources/boost/beast/_experimental/test/impl/fail_count.ipp", + "external/sources/boost/beast/_experimental/test/impl/stream.hpp", + "external/sources/boost/beast/_experimental/test/impl/stream.ipp", + "external/sources/boost/beast/_experimental/test/stream.hpp", + "external/sources/boost/beast/_experimental/test/tcp.hpp", + "external/sources/boost/beast/_experimental/unit_test/amount.hpp", + "external/sources/boost/beast/_experimental/unit_test/detail/const_container.hpp", + "external/sources/boost/beast/_experimental/unit_test/dstream.hpp", + "external/sources/boost/beast/_experimental/unit_test/global_suites.hpp", + "external/sources/boost/beast/_experimental/unit_test/main.ipp", + "external/sources/boost/beast/_experimental/unit_test/match.hpp", + "external/sources/boost/beast/_experimental/unit_test/recorder.hpp", + "external/sources/boost/beast/_experimental/unit_test/reporter.hpp", + "external/sources/boost/beast/_experimental/unit_test/results.hpp", + "external/sources/boost/beast/_experimental/unit_test/runner.hpp", + "external/sources/boost/beast/_experimental/unit_test/suite.hpp", + "external/sources/boost/beast/_experimental/unit_test/suite_info.hpp", + "external/sources/boost/beast/_experimental/unit_test/suite_list.hpp", + "external/sources/boost/beast/core.hpp", + "external/sources/boost/beast/core/async_base.hpp", + "external/sources/boost/beast/core/basic_stream.hpp", + "external/sources/boost/beast/core/bind_handler.hpp", + "external/sources/boost/beast/core/buffer_traits.hpp", + "external/sources/boost/beast/core/buffered_read_stream.hpp", + "external/sources/boost/beast/core/buffers_adaptor.hpp", + "external/sources/boost/beast/core/buffers_cat.hpp", + "external/sources/boost/beast/core/buffers_prefix.hpp", + "external/sources/boost/beast/core/buffers_range.hpp", + "external/sources/boost/beast/core/buffers_suffix.hpp", + "external/sources/boost/beast/core/buffers_to_string.hpp", + "external/sources/boost/beast/core/detail/allocator.hpp", + "external/sources/boost/beast/core/detail/async_base.hpp", + "external/sources/boost/beast/core/detail/base64.hpp", + "external/sources/boost/beast/core/detail/base64.ipp", + "external/sources/boost/beast/core/detail/bind_continuation.hpp", + "external/sources/boost/beast/core/detail/bind_default_executor.hpp", + "external/sources/boost/beast/core/detail/bind_handler.hpp", + "external/sources/boost/beast/core/detail/buffer.hpp", + "external/sources/boost/beast/core/detail/buffer_traits.hpp", + "external/sources/boost/beast/core/detail/buffers_pair.hpp", + "external/sources/boost/beast/core/detail/buffers_range_adaptor.hpp", + "external/sources/boost/beast/core/detail/buffers_ref.hpp", + "external/sources/boost/beast/core/detail/chacha.hpp", + "external/sources/boost/beast/core/detail/char_buffer.hpp", + "external/sources/boost/beast/core/detail/clamp.hpp", + "external/sources/boost/beast/core/detail/config.hpp", + "external/sources/boost/beast/core/detail/cpu_info.hpp", + "external/sources/boost/beast/core/detail/flat_stream.hpp", + "external/sources/boost/beast/core/detail/get_io_context.hpp", + "external/sources/boost/beast/core/detail/impl/read.hpp", + "external/sources/boost/beast/core/detail/impl/temporary_buffer.ipp", + "external/sources/boost/beast/core/detail/is_invocable.hpp", + "external/sources/boost/beast/core/detail/ostream.hpp", + "external/sources/boost/beast/core/detail/pcg.hpp", + "external/sources/boost/beast/core/detail/read.hpp", + "external/sources/boost/beast/core/detail/remap_post_to_defer.hpp", + "external/sources/boost/beast/core/detail/service_base.hpp", + "external/sources/boost/beast/core/detail/sha1.hpp", + "external/sources/boost/beast/core/detail/sha1.ipp", + "external/sources/boost/beast/core/detail/static_const.hpp", + "external/sources/boost/beast/core/detail/static_ostream.hpp", + "external/sources/boost/beast/core/detail/static_string.hpp", + "external/sources/boost/beast/core/detail/stream_base.hpp", + "external/sources/boost/beast/core/detail/stream_traits.hpp", + "external/sources/boost/beast/core/detail/string.hpp", + "external/sources/boost/beast/core/detail/temporary_buffer.hpp", + "external/sources/boost/beast/core/detail/tuple.hpp", + "external/sources/boost/beast/core/detail/type_traits.hpp", + "external/sources/boost/beast/core/detail/variant.hpp", + "external/sources/boost/beast/core/detail/varint.hpp", + "external/sources/boost/beast/core/detail/win32_unicode_path.hpp", + "external/sources/boost/beast/core/detail/work_guard.hpp", + "external/sources/boost/beast/core/detect_ssl.hpp", + "external/sources/boost/beast/core/error.hpp", + "external/sources/boost/beast/core/file.hpp", + "external/sources/boost/beast/core/file_base.hpp", + "external/sources/boost/beast/core/file_posix.hpp", + "external/sources/boost/beast/core/file_stdio.hpp", + "external/sources/boost/beast/core/file_win32.hpp", + "external/sources/boost/beast/core/flat_buffer.hpp", + "external/sources/boost/beast/core/flat_static_buffer.hpp", + "external/sources/boost/beast/core/flat_stream.hpp", + "external/sources/boost/beast/core/impl/async_base.hpp", + "external/sources/boost/beast/core/impl/basic_stream.hpp", + "external/sources/boost/beast/core/impl/buffered_read_stream.hpp", + "external/sources/boost/beast/core/impl/buffers_adaptor.hpp", + "external/sources/boost/beast/core/impl/buffers_cat.hpp", + "external/sources/boost/beast/core/impl/buffers_prefix.hpp", + "external/sources/boost/beast/core/impl/buffers_suffix.hpp", + "external/sources/boost/beast/core/impl/error.hpp", + "external/sources/boost/beast/core/impl/error.ipp", + "external/sources/boost/beast/core/impl/file_posix.ipp", + "external/sources/boost/beast/core/impl/file_stdio.ipp", + "external/sources/boost/beast/core/impl/file_win32.ipp", + "external/sources/boost/beast/core/impl/flat_buffer.hpp", + "external/sources/boost/beast/core/impl/flat_static_buffer.hpp", + "external/sources/boost/beast/core/impl/flat_static_buffer.ipp", + "external/sources/boost/beast/core/impl/flat_stream.hpp", + "external/sources/boost/beast/core/impl/multi_buffer.hpp", + "external/sources/boost/beast/core/impl/read_size.hpp", + "external/sources/boost/beast/core/impl/saved_handler.hpp", + "external/sources/boost/beast/core/impl/saved_handler.ipp", + "external/sources/boost/beast/core/impl/static_buffer.hpp", + "external/sources/boost/beast/core/impl/static_buffer.ipp", + "external/sources/boost/beast/core/impl/static_string.hpp", + "external/sources/boost/beast/core/impl/string.ipp", + "external/sources/boost/beast/core/impl/string_param.hpp", + "external/sources/boost/beast/core/make_printable.hpp", + "external/sources/boost/beast/core/multi_buffer.hpp", + "external/sources/boost/beast/core/ostream.hpp", + "external/sources/boost/beast/core/rate_policy.hpp", + "external/sources/boost/beast/core/read_size.hpp", + "external/sources/boost/beast/core/role.hpp", + "external/sources/boost/beast/core/saved_handler.hpp", + "external/sources/boost/beast/core/span.hpp", + "external/sources/boost/beast/core/static_buffer.hpp", + "external/sources/boost/beast/core/static_string.hpp", + "external/sources/boost/beast/core/stream_traits.hpp", + "external/sources/boost/beast/core/string.hpp", + "external/sources/boost/beast/core/string_param.hpp", + "external/sources/boost/beast/core/string_type.hpp", + "external/sources/boost/beast/core/tcp_stream.hpp", + "external/sources/boost/beast/http.hpp", + "external/sources/boost/beast/http/basic_dynamic_body.hpp", + "external/sources/boost/beast/http/basic_file_body.hpp", + "external/sources/boost/beast/http/basic_parser.hpp", + "external/sources/boost/beast/http/buffer_body.hpp", + "external/sources/boost/beast/http/chunk_encode.hpp", + "external/sources/boost/beast/http/detail/basic_parsed_list.hpp", + "external/sources/boost/beast/http/detail/basic_parser.hpp", + "external/sources/boost/beast/http/detail/basic_parser.ipp", + "external/sources/boost/beast/http/detail/chunk_encode.hpp", + "external/sources/boost/beast/http/detail/rfc7230.hpp", + "external/sources/boost/beast/http/detail/rfc7230.ipp", + "external/sources/boost/beast/http/detail/type_traits.hpp", + "external/sources/boost/beast/http/dynamic_body.hpp", + "external/sources/boost/beast/http/empty_body.hpp", + "external/sources/boost/beast/http/error.hpp", + "external/sources/boost/beast/http/field.hpp", + "external/sources/boost/beast/http/fields.hpp", + "external/sources/boost/beast/http/file_body.hpp", + "external/sources/boost/beast/http/impl/basic_parser.hpp", + "external/sources/boost/beast/http/impl/basic_parser.ipp", + "external/sources/boost/beast/http/impl/chunk_encode.hpp", + "external/sources/boost/beast/http/impl/error.hpp", + "external/sources/boost/beast/http/impl/error.ipp", + "external/sources/boost/beast/http/impl/field.ipp", + "external/sources/boost/beast/http/impl/fields.hpp", + "external/sources/boost/beast/http/impl/fields.ipp", + "external/sources/boost/beast/http/impl/file_body_win32.hpp", + "external/sources/boost/beast/http/impl/message.hpp", + "external/sources/boost/beast/http/impl/parser.hpp", + "external/sources/boost/beast/http/impl/read.hpp", + "external/sources/boost/beast/http/impl/rfc7230.hpp", + "external/sources/boost/beast/http/impl/rfc7230.ipp", + "external/sources/boost/beast/http/impl/serializer.hpp", + "external/sources/boost/beast/http/impl/status.ipp", + "external/sources/boost/beast/http/impl/verb.ipp", + "external/sources/boost/beast/http/impl/write.hpp", + "external/sources/boost/beast/http/message.hpp", + "external/sources/boost/beast/http/parser.hpp", + "external/sources/boost/beast/http/read.hpp", + "external/sources/boost/beast/http/rfc7230.hpp", + "external/sources/boost/beast/http/serializer.hpp", + "external/sources/boost/beast/http/span_body.hpp", + "external/sources/boost/beast/http/status.hpp", + "external/sources/boost/beast/http/string_body.hpp", + "external/sources/boost/beast/http/type_traits.hpp", + "external/sources/boost/beast/http/vector_body.hpp", + "external/sources/boost/beast/http/verb.hpp", + "external/sources/boost/beast/http/write.hpp", + "external/sources/boost/beast/src.hpp", + "external/sources/boost/beast/ssl.hpp", + "external/sources/boost/beast/ssl/ssl_stream.hpp", + "external/sources/boost/beast/version.hpp", + "external/sources/boost/beast/websocket.hpp", + "external/sources/boost/beast/websocket/detail/decorator.hpp", + "external/sources/boost/beast/websocket/detail/frame.hpp", + "external/sources/boost/beast/websocket/detail/hybi13.hpp", + "external/sources/boost/beast/websocket/detail/hybi13.ipp", + "external/sources/boost/beast/websocket/detail/impl_base.hpp", + "external/sources/boost/beast/websocket/detail/mask.hpp", + "external/sources/boost/beast/websocket/detail/mask.ipp", + "external/sources/boost/beast/websocket/detail/pmd_extension.hpp", + "external/sources/boost/beast/websocket/detail/pmd_extension.ipp", + "external/sources/boost/beast/websocket/detail/prng.hpp", + "external/sources/boost/beast/websocket/detail/prng.ipp", + "external/sources/boost/beast/websocket/detail/service.hpp", + "external/sources/boost/beast/websocket/detail/service.ipp", + "external/sources/boost/beast/websocket/detail/soft_mutex.hpp", + "external/sources/boost/beast/websocket/detail/type_traits.hpp", + "external/sources/boost/beast/websocket/detail/utf8_checker.hpp", + "external/sources/boost/beast/websocket/detail/utf8_checker.ipp", + "external/sources/boost/beast/websocket/error.hpp", + "external/sources/boost/beast/websocket/impl/accept.hpp", + "external/sources/boost/beast/websocket/impl/close.hpp", + "external/sources/boost/beast/websocket/impl/error.hpp", + "external/sources/boost/beast/websocket/impl/error.ipp", + "external/sources/boost/beast/websocket/impl/handshake.hpp", + "external/sources/boost/beast/websocket/impl/ping.hpp", + "external/sources/boost/beast/websocket/impl/read.hpp", + "external/sources/boost/beast/websocket/impl/rfc6455.hpp", + "external/sources/boost/beast/websocket/impl/ssl.hpp", + "external/sources/boost/beast/websocket/impl/stream.hpp", + "external/sources/boost/beast/websocket/impl/stream_impl.hpp", + "external/sources/boost/beast/websocket/impl/teardown.hpp", + "external/sources/boost/beast/websocket/impl/write.hpp", + "external/sources/boost/beast/websocket/option.hpp", + "external/sources/boost/beast/websocket/rfc6455.hpp", + "external/sources/boost/beast/websocket/ssl.hpp", + "external/sources/boost/beast/websocket/stream.hpp", + "external/sources/boost/beast/websocket/stream_base.hpp", + "external/sources/boost/beast/websocket/stream_fwd.hpp", + "external/sources/boost/beast/websocket/teardown.hpp", + "external/sources/boost/beast/zlib.hpp", + "external/sources/boost/beast/zlib/deflate_stream.hpp", + "external/sources/boost/beast/zlib/detail/bitstream.hpp", + "external/sources/boost/beast/zlib/detail/deflate_stream.hpp", + "external/sources/boost/beast/zlib/detail/deflate_stream.ipp", + "external/sources/boost/beast/zlib/detail/inflate_stream.hpp", + "external/sources/boost/beast/zlib/detail/inflate_stream.ipp", + "external/sources/boost/beast/zlib/detail/ranges.hpp", + "external/sources/boost/beast/zlib/detail/window.hpp", + "external/sources/boost/beast/zlib/error.hpp", + "external/sources/boost/beast/zlib/impl/error.hpp", + "external/sources/boost/beast/zlib/impl/error.ipp", + "external/sources/boost/beast/zlib/inflate_stream.hpp", + "external/sources/boost/beast/zlib/zlib.hpp", + "external/sources/boost/bimap.hpp", + "external/sources/boost/bimap/bimap.hpp", + "external/sources/boost/bimap/container_adaptor/associative_container_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/container_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/detail/comparison_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/detail/functor_bag.hpp", + "external/sources/boost/bimap/container_adaptor/detail/identity_converters.hpp", + "external/sources/boost/bimap/container_adaptor/detail/key_extractor.hpp", + "external/sources/boost/bimap/container_adaptor/detail/non_unique_container_helper.hpp", + "external/sources/boost/bimap/container_adaptor/list_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/list_map_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/map_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/multimap_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/multiset_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/ordered_associative_container_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/sequence_container_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/set_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/support/iterator_facade_converters.hpp", + "external/sources/boost/bimap/container_adaptor/unordered_associative_container_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/unordered_map_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/unordered_multimap_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/unordered_multiset_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/unordered_set_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/vector_adaptor.hpp", + "external/sources/boost/bimap/container_adaptor/vector_map_adaptor.hpp", + "external/sources/boost/bimap/detail/bimap_core.hpp", + "external/sources/boost/bimap/detail/concept_tags.hpp", + "external/sources/boost/bimap/detail/generate_index_binder.hpp", + "external/sources/boost/bimap/detail/generate_relation_binder.hpp", + "external/sources/boost/bimap/detail/generate_view_binder.hpp", + "external/sources/boost/bimap/detail/is_set_type_of.hpp", + "external/sources/boost/bimap/detail/manage_additional_parameters.hpp", + "external/sources/boost/bimap/detail/manage_bimap_key.hpp", + "external/sources/boost/bimap/detail/map_view_base.hpp", + "external/sources/boost/bimap/detail/map_view_iterator.hpp", + "external/sources/boost/bimap/detail/modifier_adaptor.hpp", + "external/sources/boost/bimap/detail/non_unique_views_helper.hpp", + "external/sources/boost/bimap/detail/set_view_base.hpp", + "external/sources/boost/bimap/detail/set_view_iterator.hpp", + "external/sources/boost/bimap/detail/test/check_metadata.hpp", + "external/sources/boost/bimap/detail/user_interface_config.hpp", + "external/sources/boost/bimap/list_of.hpp", + "external/sources/boost/bimap/multiset_of.hpp", + "external/sources/boost/bimap/property_map/set_support.hpp", + "external/sources/boost/bimap/property_map/unordered_set_support.hpp", + "external/sources/boost/bimap/relation/detail/access_builder.hpp", + "external/sources/boost/bimap/relation/detail/metadata_access_builder.hpp", + "external/sources/boost/bimap/relation/detail/mutant.hpp", + "external/sources/boost/bimap/relation/detail/static_access_builder.hpp", + "external/sources/boost/bimap/relation/detail/to_mutable_relation_functor.hpp", + "external/sources/boost/bimap/relation/member_at.hpp", + "external/sources/boost/bimap/relation/mutant_relation.hpp", + "external/sources/boost/bimap/relation/pair_layout.hpp", + "external/sources/boost/bimap/relation/structured_pair.hpp", + "external/sources/boost/bimap/relation/support/data_extractor.hpp", + "external/sources/boost/bimap/relation/support/get.hpp", + "external/sources/boost/bimap/relation/support/get_pair_functor.hpp", + "external/sources/boost/bimap/relation/support/is_tag_of_member_at.hpp", + "external/sources/boost/bimap/relation/support/member_with_tag.hpp", + "external/sources/boost/bimap/relation/support/opposite_tag.hpp", + "external/sources/boost/bimap/relation/support/pair_by.hpp", + "external/sources/boost/bimap/relation/support/pair_type_by.hpp", + "external/sources/boost/bimap/relation/support/value_type_of.hpp", + "external/sources/boost/bimap/relation/symmetrical_base.hpp", + "external/sources/boost/bimap/set_of.hpp", + "external/sources/boost/bimap/support/data_type_by.hpp", + "external/sources/boost/bimap/support/iterator_type_by.hpp", + "external/sources/boost/bimap/support/key_type_by.hpp", + "external/sources/boost/bimap/support/lambda.hpp", + "external/sources/boost/bimap/support/map_by.hpp", + "external/sources/boost/bimap/support/map_type_by.hpp", + "external/sources/boost/bimap/support/value_type_by.hpp", + "external/sources/boost/bimap/unconstrained_set_of.hpp", + "external/sources/boost/bimap/unordered_multiset_of.hpp", + "external/sources/boost/bimap/unordered_set_of.hpp", + "external/sources/boost/bimap/vector_of.hpp", + "external/sources/boost/bimap/views/list_map_view.hpp", + "external/sources/boost/bimap/views/list_set_view.hpp", + "external/sources/boost/bimap/views/map_view.hpp", + "external/sources/boost/bimap/views/multimap_view.hpp", + "external/sources/boost/bimap/views/multiset_view.hpp", + "external/sources/boost/bimap/views/set_view.hpp", + "external/sources/boost/bimap/views/unconstrained_map_view.hpp", + "external/sources/boost/bimap/views/unconstrained_set_view.hpp", + "external/sources/boost/bimap/views/unordered_map_view.hpp", + "external/sources/boost/bimap/views/unordered_multimap_view.hpp", + "external/sources/boost/bimap/views/unordered_multiset_view.hpp", + "external/sources/boost/bimap/views/unordered_set_view.hpp", + "external/sources/boost/bimap/views/vector_map_view.hpp", + "external/sources/boost/bimap/views/vector_set_view.hpp", + "external/sources/boost/bind.hpp", + "external/sources/boost/bind/apply.hpp", + "external/sources/boost/bind/arg.hpp", + "external/sources/boost/bind/bind.hpp", + "external/sources/boost/bind/bind_cc.hpp", + "external/sources/boost/bind/bind_mf2_cc.hpp", + "external/sources/boost/bind/bind_mf_cc.hpp", + "external/sources/boost/bind/bind_template.hpp", + "external/sources/boost/bind/make_adaptable.hpp", + "external/sources/boost/bind/mem_fn.hpp", + "external/sources/boost/bind/mem_fn_cc.hpp", + "external/sources/boost/bind/mem_fn_template.hpp", + "external/sources/boost/bind/mem_fn_vw.hpp", + "external/sources/boost/bind/placeholders.hpp", + "external/sources/boost/bind/protect.hpp", + "external/sources/boost/bind/storage.hpp", + "external/sources/boost/blank.hpp", + "external/sources/boost/blank_fwd.hpp", + "external/sources/boost/call_traits.hpp", + "external/sources/boost/callable_traits.hpp", + "external/sources/boost/callable_traits/add_member_const.hpp", + "external/sources/boost/callable_traits/add_member_cv.hpp", + "external/sources/boost/callable_traits/add_member_lvalue_reference.hpp", + "external/sources/boost/callable_traits/add_member_rvalue_reference.hpp", + "external/sources/boost/callable_traits/add_member_volatile.hpp", + "external/sources/boost/callable_traits/add_noexcept.hpp", + "external/sources/boost/callable_traits/add_transaction_safe.hpp", + "external/sources/boost/callable_traits/add_varargs.hpp", + "external/sources/boost/callable_traits/apply_member_pointer.hpp", + "external/sources/boost/callable_traits/apply_return.hpp", + "external/sources/boost/callable_traits/args.hpp", + "external/sources/boost/callable_traits/class_of.hpp", + "external/sources/boost/callable_traits/detail/config.hpp", + "external/sources/boost/callable_traits/detail/core.hpp", + "external/sources/boost/callable_traits/detail/default_callable_traits.hpp", + "external/sources/boost/callable_traits/detail/forward_declarations.hpp", + "external/sources/boost/callable_traits/detail/function.hpp", + "external/sources/boost/callable_traits/detail/function_object.hpp", + "external/sources/boost/callable_traits/detail/is_invocable_impl.hpp", + "external/sources/boost/callable_traits/detail/parameter_index_helper.hpp", + "external/sources/boost/callable_traits/detail/pmd.hpp", + "external/sources/boost/callable_traits/detail/pmf.hpp", + "external/sources/boost/callable_traits/detail/polyfills/disjunction.hpp", + "external/sources/boost/callable_traits/detail/polyfills/make_index_sequence.hpp", + "external/sources/boost/callable_traits/detail/qualifier_flags.hpp", + "external/sources/boost/callable_traits/detail/set_function_qualifiers.hpp", + "external/sources/boost/callable_traits/detail/sfinae_errors.hpp", + "external/sources/boost/callable_traits/detail/traits.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function_2.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function_3.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function_ptr.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function_ptr_2.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function_ptr_3.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function_ptr_varargs.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function_ptr_varargs_2.hpp", + "external/sources/boost/callable_traits/detail/unguarded/function_ptr_varargs_3.hpp", + "external/sources/boost/callable_traits/detail/unguarded/pmf.hpp", + "external/sources/boost/callable_traits/detail/unguarded/pmf_2.hpp", + "external/sources/boost/callable_traits/detail/unguarded/pmf_3.hpp", + "external/sources/boost/callable_traits/detail/unguarded/pmf_4.hpp", + "external/sources/boost/callable_traits/detail/unguarded/pmf_varargs.hpp", + "external/sources/boost/callable_traits/detail/unguarded/pmf_varargs_2.hpp", + "external/sources/boost/callable_traits/detail/unguarded/pmf_varargs_3.hpp", + "external/sources/boost/callable_traits/detail/unguarded/pmf_varargs_4.hpp", + "external/sources/boost/callable_traits/detail/utility.hpp", + "external/sources/boost/callable_traits/function_type.hpp", + "external/sources/boost/callable_traits/has_member_qualifiers.hpp", + "external/sources/boost/callable_traits/has_varargs.hpp", + "external/sources/boost/callable_traits/has_void_return.hpp", + "external/sources/boost/callable_traits/is_const_member.hpp", + "external/sources/boost/callable_traits/is_cv_member.hpp", + "external/sources/boost/callable_traits/is_invocable.hpp", + "external/sources/boost/callable_traits/is_lvalue_reference_member.hpp", + "external/sources/boost/callable_traits/is_noexcept.hpp", + "external/sources/boost/callable_traits/is_reference_member.hpp", + "external/sources/boost/callable_traits/is_rvalue_reference_member.hpp", + "external/sources/boost/callable_traits/is_transaction_safe.hpp", + "external/sources/boost/callable_traits/is_volatile_member.hpp", + "external/sources/boost/callable_traits/qualified_class_of.hpp", + "external/sources/boost/callable_traits/remove_member_const.hpp", + "external/sources/boost/callable_traits/remove_member_cv.hpp", + "external/sources/boost/callable_traits/remove_member_reference.hpp", + "external/sources/boost/callable_traits/remove_member_volatile.hpp", + "external/sources/boost/callable_traits/remove_noexcept.hpp", + "external/sources/boost/callable_traits/remove_transaction_safe.hpp", + "external/sources/boost/callable_traits/remove_varargs.hpp", + "external/sources/boost/callable_traits/return_type.hpp", + "external/sources/boost/cast.hpp", + "external/sources/boost/cerrno.hpp", + "external/sources/boost/checked_delete.hpp", + "external/sources/boost/chrono.hpp", + "external/sources/boost/chrono/ceil.hpp", + "external/sources/boost/chrono/chrono.hpp", + "external/sources/boost/chrono/chrono_io.hpp", + "external/sources/boost/chrono/clock_string.hpp", + "external/sources/boost/chrono/config.hpp", + "external/sources/boost/chrono/detail/inlined/chrono.hpp", + "external/sources/boost/chrono/detail/inlined/mac/chrono.hpp", + "external/sources/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp", + "external/sources/boost/chrono/detail/inlined/mac/thread_clock.hpp", + "external/sources/boost/chrono/detail/inlined/posix/chrono.hpp", + "external/sources/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp", + "external/sources/boost/chrono/detail/inlined/posix/thread_clock.hpp", + "external/sources/boost/chrono/detail/inlined/process_cpu_clocks.hpp", + "external/sources/boost/chrono/detail/inlined/thread_clock.hpp", + "external/sources/boost/chrono/detail/inlined/win/chrono.hpp", + "external/sources/boost/chrono/detail/inlined/win/process_cpu_clocks.hpp", + "external/sources/boost/chrono/detail/inlined/win/thread_clock.hpp", + "external/sources/boost/chrono/detail/is_evenly_divisible_by.hpp", + "external/sources/boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp", + "external/sources/boost/chrono/detail/scan_keyword.hpp", + "external/sources/boost/chrono/detail/static_assert.hpp", + "external/sources/boost/chrono/detail/system.hpp", + "external/sources/boost/chrono/duration.hpp", + "external/sources/boost/chrono/floor.hpp", + "external/sources/boost/chrono/include.hpp", + "external/sources/boost/chrono/io/duration_get.hpp", + "external/sources/boost/chrono/io/duration_io.hpp", + "external/sources/boost/chrono/io/duration_put.hpp", + "external/sources/boost/chrono/io/duration_style.hpp", + "external/sources/boost/chrono/io/duration_units.hpp", + "external/sources/boost/chrono/io/ios_base_state.hpp", + "external/sources/boost/chrono/io/time_point_get.hpp", + "external/sources/boost/chrono/io/time_point_io.hpp", + "external/sources/boost/chrono/io/time_point_put.hpp", + "external/sources/boost/chrono/io/time_point_units.hpp", + "external/sources/boost/chrono/io/timezone.hpp", + "external/sources/boost/chrono/io/utility/ios_base_state_ptr.hpp", + "external/sources/boost/chrono/io/utility/manip_base.hpp", + "external/sources/boost/chrono/io/utility/to_string.hpp", + "external/sources/boost/chrono/io_v1/chrono_io.hpp", + "external/sources/boost/chrono/process_cpu_clocks.hpp", + "external/sources/boost/chrono/round.hpp", + "external/sources/boost/chrono/system_clocks.hpp", + "external/sources/boost/chrono/thread_clock.hpp", + "external/sources/boost/chrono/time_point.hpp", + "external/sources/boost/chrono/typeof/boost/chrono/chrono.hpp", + "external/sources/boost/chrono/typeof/boost/ratio.hpp", + "external/sources/boost/circular_buffer.hpp", + "external/sources/boost/circular_buffer/base.hpp", + "external/sources/boost/circular_buffer/debug.hpp", + "external/sources/boost/circular_buffer/details.hpp", + "external/sources/boost/circular_buffer/space_optimized.hpp", + "external/sources/boost/circular_buffer_fwd.hpp", + "external/sources/boost/compatibility/cpp_c_headers/cassert", + "external/sources/boost/compatibility/cpp_c_headers/cctype", + "external/sources/boost/compatibility/cpp_c_headers/cerrno", + "external/sources/boost/compatibility/cpp_c_headers/cfloat", + "external/sources/boost/compatibility/cpp_c_headers/climits", + "external/sources/boost/compatibility/cpp_c_headers/clocale", + "external/sources/boost/compatibility/cpp_c_headers/cmath", + "external/sources/boost/compatibility/cpp_c_headers/csetjmp", + "external/sources/boost/compatibility/cpp_c_headers/csignal", + "external/sources/boost/compatibility/cpp_c_headers/cstdarg", + "external/sources/boost/compatibility/cpp_c_headers/cstddef", + "external/sources/boost/compatibility/cpp_c_headers/cstdio", + "external/sources/boost/compatibility/cpp_c_headers/cstdlib", + "external/sources/boost/compatibility/cpp_c_headers/cstring", + "external/sources/boost/compatibility/cpp_c_headers/ctime", + "external/sources/boost/compatibility/cpp_c_headers/cwchar", + "external/sources/boost/compatibility/cpp_c_headers/cwctype", + "external/sources/boost/compressed_pair.hpp", + "external/sources/boost/compute.hpp", + "external/sources/boost/compute/algorithm.hpp", + "external/sources/boost/compute/algorithm/accumulate.hpp", + "external/sources/boost/compute/algorithm/adjacent_difference.hpp", + "external/sources/boost/compute/algorithm/adjacent_find.hpp", + "external/sources/boost/compute/algorithm/all_of.hpp", + "external/sources/boost/compute/algorithm/any_of.hpp", + "external/sources/boost/compute/algorithm/binary_search.hpp", + "external/sources/boost/compute/algorithm/copy.hpp", + "external/sources/boost/compute/algorithm/copy_if.hpp", + "external/sources/boost/compute/algorithm/copy_n.hpp", + "external/sources/boost/compute/algorithm/count.hpp", + "external/sources/boost/compute/algorithm/count_if.hpp", + "external/sources/boost/compute/algorithm/detail/balanced_path.hpp", + "external/sources/boost/compute/algorithm/detail/binary_find.hpp", + "external/sources/boost/compute/algorithm/detail/compact.hpp", + "external/sources/boost/compute/algorithm/detail/copy_on_device.hpp", + "external/sources/boost/compute/algorithm/detail/copy_to_device.hpp", + "external/sources/boost/compute/algorithm/detail/copy_to_host.hpp", + "external/sources/boost/compute/algorithm/detail/count_if_with_ballot.hpp", + "external/sources/boost/compute/algorithm/detail/count_if_with_reduce.hpp", + "external/sources/boost/compute/algorithm/detail/count_if_with_threads.hpp", + "external/sources/boost/compute/algorithm/detail/find_extrema.hpp", + "external/sources/boost/compute/algorithm/detail/find_extrema_on_cpu.hpp", + "external/sources/boost/compute/algorithm/detail/find_extrema_with_atomics.hpp", + "external/sources/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp", + "external/sources/boost/compute/algorithm/detail/find_if_with_atomics.hpp", + "external/sources/boost/compute/algorithm/detail/inplace_reduce.hpp", + "external/sources/boost/compute/algorithm/detail/insertion_sort.hpp", + "external/sources/boost/compute/algorithm/detail/merge_path.hpp", + "external/sources/boost/compute/algorithm/detail/merge_sort_on_cpu.hpp", + "external/sources/boost/compute/algorithm/detail/merge_sort_on_gpu.hpp", + "external/sources/boost/compute/algorithm/detail/merge_with_merge_path.hpp", + "external/sources/boost/compute/algorithm/detail/radix_sort.hpp", + "external/sources/boost/compute/algorithm/detail/random_fill.hpp", + "external/sources/boost/compute/algorithm/detail/reduce_by_key.hpp", + "external/sources/boost/compute/algorithm/detail/reduce_by_key_with_scan.hpp", + "external/sources/boost/compute/algorithm/detail/reduce_on_cpu.hpp", + "external/sources/boost/compute/algorithm/detail/reduce_on_gpu.hpp", + "external/sources/boost/compute/algorithm/detail/scan.hpp", + "external/sources/boost/compute/algorithm/detail/scan_on_cpu.hpp", + "external/sources/boost/compute/algorithm/detail/scan_on_gpu.hpp", + "external/sources/boost/compute/algorithm/detail/search_all.hpp", + "external/sources/boost/compute/algorithm/detail/serial_accumulate.hpp", + "external/sources/boost/compute/algorithm/detail/serial_count_if.hpp", + "external/sources/boost/compute/algorithm/detail/serial_find_extrema.hpp", + "external/sources/boost/compute/algorithm/detail/serial_merge.hpp", + "external/sources/boost/compute/algorithm/detail/serial_reduce.hpp", + "external/sources/boost/compute/algorithm/detail/serial_reduce_by_key.hpp", + "external/sources/boost/compute/algorithm/detail/serial_scan.hpp", + "external/sources/boost/compute/algorithm/equal.hpp", + "external/sources/boost/compute/algorithm/equal_range.hpp", + "external/sources/boost/compute/algorithm/exclusive_scan.hpp", + "external/sources/boost/compute/algorithm/fill.hpp", + "external/sources/boost/compute/algorithm/fill_n.hpp", + "external/sources/boost/compute/algorithm/find.hpp", + "external/sources/boost/compute/algorithm/find_end.hpp", + "external/sources/boost/compute/algorithm/find_if.hpp", + "external/sources/boost/compute/algorithm/find_if_not.hpp", + "external/sources/boost/compute/algorithm/for_each.hpp", + "external/sources/boost/compute/algorithm/for_each_n.hpp", + "external/sources/boost/compute/algorithm/gather.hpp", + "external/sources/boost/compute/algorithm/generate.hpp", + "external/sources/boost/compute/algorithm/generate_n.hpp", + "external/sources/boost/compute/algorithm/includes.hpp", + "external/sources/boost/compute/algorithm/inclusive_scan.hpp", + "external/sources/boost/compute/algorithm/inner_product.hpp", + "external/sources/boost/compute/algorithm/inplace_merge.hpp", + "external/sources/boost/compute/algorithm/iota.hpp", + "external/sources/boost/compute/algorithm/is_partitioned.hpp", + "external/sources/boost/compute/algorithm/is_permutation.hpp", + "external/sources/boost/compute/algorithm/is_sorted.hpp", + "external/sources/boost/compute/algorithm/lexicographical_compare.hpp", + "external/sources/boost/compute/algorithm/lower_bound.hpp", + "external/sources/boost/compute/algorithm/max_element.hpp", + "external/sources/boost/compute/algorithm/merge.hpp", + "external/sources/boost/compute/algorithm/min_element.hpp", + "external/sources/boost/compute/algorithm/minmax_element.hpp", + "external/sources/boost/compute/algorithm/mismatch.hpp", + "external/sources/boost/compute/algorithm/next_permutation.hpp", + "external/sources/boost/compute/algorithm/none_of.hpp", + "external/sources/boost/compute/algorithm/nth_element.hpp", + "external/sources/boost/compute/algorithm/partial_sum.hpp", + "external/sources/boost/compute/algorithm/partition.hpp", + "external/sources/boost/compute/algorithm/partition_copy.hpp", + "external/sources/boost/compute/algorithm/partition_point.hpp", + "external/sources/boost/compute/algorithm/prev_permutation.hpp", + "external/sources/boost/compute/algorithm/random_shuffle.hpp", + "external/sources/boost/compute/algorithm/reduce.hpp", + "external/sources/boost/compute/algorithm/reduce_by_key.hpp", + "external/sources/boost/compute/algorithm/remove.hpp", + "external/sources/boost/compute/algorithm/remove_if.hpp", + "external/sources/boost/compute/algorithm/replace.hpp", + "external/sources/boost/compute/algorithm/replace_copy.hpp", + "external/sources/boost/compute/algorithm/reverse.hpp", + "external/sources/boost/compute/algorithm/reverse_copy.hpp", + "external/sources/boost/compute/algorithm/rotate.hpp", + "external/sources/boost/compute/algorithm/rotate_copy.hpp", + "external/sources/boost/compute/algorithm/scatter.hpp", + "external/sources/boost/compute/algorithm/scatter_if.hpp", + "external/sources/boost/compute/algorithm/search.hpp", + "external/sources/boost/compute/algorithm/search_n.hpp", + "external/sources/boost/compute/algorithm/set_difference.hpp", + "external/sources/boost/compute/algorithm/set_intersection.hpp", + "external/sources/boost/compute/algorithm/set_symmetric_difference.hpp", + "external/sources/boost/compute/algorithm/set_union.hpp", + "external/sources/boost/compute/algorithm/sort.hpp", + "external/sources/boost/compute/algorithm/sort_by_key.hpp", + "external/sources/boost/compute/algorithm/stable_partition.hpp", + "external/sources/boost/compute/algorithm/stable_sort.hpp", + "external/sources/boost/compute/algorithm/stable_sort_by_key.hpp", + "external/sources/boost/compute/algorithm/swap_ranges.hpp", + "external/sources/boost/compute/algorithm/transform.hpp", + "external/sources/boost/compute/algorithm/transform_if.hpp", + "external/sources/boost/compute/algorithm/transform_reduce.hpp", + "external/sources/boost/compute/algorithm/unique.hpp", + "external/sources/boost/compute/algorithm/unique_copy.hpp", + "external/sources/boost/compute/algorithm/upper_bound.hpp", + "external/sources/boost/compute/allocator.hpp", + "external/sources/boost/compute/allocator/buffer_allocator.hpp", + "external/sources/boost/compute/allocator/pinned_allocator.hpp", + "external/sources/boost/compute/async.hpp", + "external/sources/boost/compute/async/future.hpp", + "external/sources/boost/compute/async/wait.hpp", + "external/sources/boost/compute/async/wait_guard.hpp", + "external/sources/boost/compute/buffer.hpp", + "external/sources/boost/compute/cl.hpp", + "external/sources/boost/compute/cl_ext.hpp", + "external/sources/boost/compute/closure.hpp", + "external/sources/boost/compute/command_queue.hpp", + "external/sources/boost/compute/config.hpp", + "external/sources/boost/compute/container.hpp", + "external/sources/boost/compute/container/array.hpp", + "external/sources/boost/compute/container/basic_string.hpp", + "external/sources/boost/compute/container/detail/scalar.hpp", + "external/sources/boost/compute/container/dynamic_bitset.hpp", + "external/sources/boost/compute/container/flat_map.hpp", + "external/sources/boost/compute/container/flat_set.hpp", + "external/sources/boost/compute/container/mapped_view.hpp", + "external/sources/boost/compute/container/stack.hpp", + "external/sources/boost/compute/container/string.hpp", + "external/sources/boost/compute/container/valarray.hpp", + "external/sources/boost/compute/container/vector.hpp", + "external/sources/boost/compute/context.hpp", + "external/sources/boost/compute/core.hpp", + "external/sources/boost/compute/detail/assert_cl_success.hpp", + "external/sources/boost/compute/detail/buffer_value.hpp", + "external/sources/boost/compute/detail/cl_versions.hpp", + "external/sources/boost/compute/detail/device_ptr.hpp", + "external/sources/boost/compute/detail/diagnostic.hpp", + "external/sources/boost/compute/detail/duration.hpp", + "external/sources/boost/compute/detail/get_object_info.hpp", + "external/sources/boost/compute/detail/getenv.hpp", + "external/sources/boost/compute/detail/global_static.hpp", + "external/sources/boost/compute/detail/is_buffer_iterator.hpp", + "external/sources/boost/compute/detail/is_contiguous_iterator.hpp", + "external/sources/boost/compute/detail/iterator_plus_distance.hpp", + "external/sources/boost/compute/detail/iterator_range_size.hpp", + "external/sources/boost/compute/detail/iterator_traits.hpp", + "external/sources/boost/compute/detail/literal.hpp", + "external/sources/boost/compute/detail/lru_cache.hpp", + "external/sources/boost/compute/detail/meta_kernel.hpp", + "external/sources/boost/compute/detail/mpl_vector_to_tuple.hpp", + "external/sources/boost/compute/detail/nvidia_compute_capability.hpp", + "external/sources/boost/compute/detail/parameter_cache.hpp", + "external/sources/boost/compute/detail/path.hpp", + "external/sources/boost/compute/detail/print_range.hpp", + "external/sources/boost/compute/detail/read_write_single_value.hpp", + "external/sources/boost/compute/detail/sha1.hpp", + "external/sources/boost/compute/detail/variadic_macros.hpp", + "external/sources/boost/compute/detail/vendor.hpp", + "external/sources/boost/compute/detail/work_size.hpp", + "external/sources/boost/compute/device.hpp", + "external/sources/boost/compute/event.hpp", + "external/sources/boost/compute/exception.hpp", + "external/sources/boost/compute/exception/context_error.hpp", + "external/sources/boost/compute/exception/no_device_found.hpp", + "external/sources/boost/compute/exception/opencl_error.hpp", + "external/sources/boost/compute/exception/program_build_failure.hpp", + "external/sources/boost/compute/exception/unsupported_extension_error.hpp", + "external/sources/boost/compute/experimental/clamp_range.hpp", + "external/sources/boost/compute/experimental/malloc.hpp", + "external/sources/boost/compute/experimental/sort_by_transform.hpp", + "external/sources/boost/compute/experimental/tabulate.hpp", + "external/sources/boost/compute/function.hpp", + "external/sources/boost/compute/functional.hpp", + "external/sources/boost/compute/functional/as.hpp", + "external/sources/boost/compute/functional/atomic.hpp", + "external/sources/boost/compute/functional/bind.hpp", + "external/sources/boost/compute/functional/common.hpp", + "external/sources/boost/compute/functional/convert.hpp", + "external/sources/boost/compute/functional/detail/macros.hpp", + "external/sources/boost/compute/functional/detail/nvidia_ballot.hpp", + "external/sources/boost/compute/functional/detail/nvidia_popcount.hpp", + "external/sources/boost/compute/functional/detail/unpack.hpp", + "external/sources/boost/compute/functional/field.hpp", + "external/sources/boost/compute/functional/geometry.hpp", + "external/sources/boost/compute/functional/get.hpp", + "external/sources/boost/compute/functional/hash.hpp", + "external/sources/boost/compute/functional/identity.hpp", + "external/sources/boost/compute/functional/integer.hpp", + "external/sources/boost/compute/functional/logical.hpp", + "external/sources/boost/compute/functional/math.hpp", + "external/sources/boost/compute/functional/operator.hpp", + "external/sources/boost/compute/functional/popcount.hpp", + "external/sources/boost/compute/functional/relational.hpp", + "external/sources/boost/compute/image.hpp", + "external/sources/boost/compute/image/image1d.hpp", + "external/sources/boost/compute/image/image2d.hpp", + "external/sources/boost/compute/image/image3d.hpp", + "external/sources/boost/compute/image/image_format.hpp", + "external/sources/boost/compute/image/image_object.hpp", + "external/sources/boost/compute/image/image_sampler.hpp", + "external/sources/boost/compute/image2d.hpp", + "external/sources/boost/compute/image3d.hpp", + "external/sources/boost/compute/image_format.hpp", + "external/sources/boost/compute/image_sampler.hpp", + "external/sources/boost/compute/interop/eigen.hpp", + "external/sources/boost/compute/interop/eigen/core.hpp", + "external/sources/boost/compute/interop/opencv.hpp", + "external/sources/boost/compute/interop/opencv/core.hpp", + "external/sources/boost/compute/interop/opencv/highgui.hpp", + "external/sources/boost/compute/interop/opencv/ocl.hpp", + "external/sources/boost/compute/interop/opengl.hpp", + "external/sources/boost/compute/interop/opengl/acquire.hpp", + "external/sources/boost/compute/interop/opengl/cl_gl.hpp", + "external/sources/boost/compute/interop/opengl/cl_gl_ext.hpp", + "external/sources/boost/compute/interop/opengl/context.hpp", + "external/sources/boost/compute/interop/opengl/gl.hpp", + "external/sources/boost/compute/interop/opengl/opengl_buffer.hpp", + "external/sources/boost/compute/interop/opengl/opengl_renderbuffer.hpp", + "external/sources/boost/compute/interop/opengl/opengl_texture.hpp", + "external/sources/boost/compute/interop/qt.hpp", + "external/sources/boost/compute/interop/qt/qimage.hpp", + "external/sources/boost/compute/interop/qt/qpoint.hpp", + "external/sources/boost/compute/interop/qt/qpointf.hpp", + "external/sources/boost/compute/interop/qt/qtcore.hpp", + "external/sources/boost/compute/interop/qt/qtgui.hpp", + "external/sources/boost/compute/interop/qt/qvector.hpp", + "external/sources/boost/compute/interop/vtk.hpp", + "external/sources/boost/compute/interop/vtk/bounds.hpp", + "external/sources/boost/compute/interop/vtk/data_array.hpp", + "external/sources/boost/compute/interop/vtk/matrix4x4.hpp", + "external/sources/boost/compute/interop/vtk/points.hpp", + "external/sources/boost/compute/iterator.hpp", + "external/sources/boost/compute/iterator/buffer_iterator.hpp", + "external/sources/boost/compute/iterator/constant_buffer_iterator.hpp", + "external/sources/boost/compute/iterator/constant_iterator.hpp", + "external/sources/boost/compute/iterator/counting_iterator.hpp", + "external/sources/boost/compute/iterator/detail/get_base_iterator_buffer.hpp", + "external/sources/boost/compute/iterator/detail/swizzle_iterator.hpp", + "external/sources/boost/compute/iterator/discard_iterator.hpp", + "external/sources/boost/compute/iterator/function_input_iterator.hpp", + "external/sources/boost/compute/iterator/permutation_iterator.hpp", + "external/sources/boost/compute/iterator/strided_iterator.hpp", + "external/sources/boost/compute/iterator/transform_iterator.hpp", + "external/sources/boost/compute/iterator/zip_iterator.hpp", + "external/sources/boost/compute/kernel.hpp", + "external/sources/boost/compute/lambda.hpp", + "external/sources/boost/compute/lambda/context.hpp", + "external/sources/boost/compute/lambda/functional.hpp", + "external/sources/boost/compute/lambda/get.hpp", + "external/sources/boost/compute/lambda/make_pair.hpp", + "external/sources/boost/compute/lambda/make_tuple.hpp", + "external/sources/boost/compute/lambda/placeholder.hpp", + "external/sources/boost/compute/lambda/placeholders.hpp", + "external/sources/boost/compute/lambda/result_of.hpp", + "external/sources/boost/compute/memory.hpp", + "external/sources/boost/compute/memory/local_buffer.hpp", + "external/sources/boost/compute/memory/svm_ptr.hpp", + "external/sources/boost/compute/memory_object.hpp", + "external/sources/boost/compute/pipe.hpp", + "external/sources/boost/compute/platform.hpp", + "external/sources/boost/compute/program.hpp", + "external/sources/boost/compute/random.hpp", + "external/sources/boost/compute/random/bernoulli_distribution.hpp", + "external/sources/boost/compute/random/default_random_engine.hpp", + "external/sources/boost/compute/random/discrete_distribution.hpp", + "external/sources/boost/compute/random/linear_congruential_engine.hpp", + "external/sources/boost/compute/random/mersenne_twister_engine.hpp", + "external/sources/boost/compute/random/normal_distribution.hpp", + "external/sources/boost/compute/random/threefry_engine.hpp", + "external/sources/boost/compute/random/uniform_int_distribution.hpp", + "external/sources/boost/compute/random/uniform_real_distribution.hpp", + "external/sources/boost/compute/source.hpp", + "external/sources/boost/compute/svm.hpp", + "external/sources/boost/compute/system.hpp", + "external/sources/boost/compute/type_traits.hpp", + "external/sources/boost/compute/type_traits/common_type.hpp", + "external/sources/boost/compute/type_traits/detail/capture_traits.hpp", + "external/sources/boost/compute/type_traits/is_device_iterator.hpp", + "external/sources/boost/compute/type_traits/is_fundamental.hpp", + "external/sources/boost/compute/type_traits/is_vector_type.hpp", + "external/sources/boost/compute/type_traits/make_vector_type.hpp", + "external/sources/boost/compute/type_traits/result_of.hpp", + "external/sources/boost/compute/type_traits/scalar_type.hpp", + "external/sources/boost/compute/type_traits/type_definition.hpp", + "external/sources/boost/compute/type_traits/type_name.hpp", + "external/sources/boost/compute/type_traits/vector_size.hpp", + "external/sources/boost/compute/types.hpp", + "external/sources/boost/compute/types/builtin.hpp", + "external/sources/boost/compute/types/complex.hpp", + "external/sources/boost/compute/types/fundamental.hpp", + "external/sources/boost/compute/types/pair.hpp", + "external/sources/boost/compute/types/size_t.hpp", + "external/sources/boost/compute/types/struct.hpp", + "external/sources/boost/compute/types/tuple.hpp", + "external/sources/boost/compute/user_event.hpp", + "external/sources/boost/compute/utility.hpp", + "external/sources/boost/compute/utility/dim.hpp", + "external/sources/boost/compute/utility/extents.hpp", + "external/sources/boost/compute/utility/invoke.hpp", + "external/sources/boost/compute/utility/program_cache.hpp", + "external/sources/boost/compute/utility/source.hpp", + "external/sources/boost/compute/utility/wait_list.hpp", + "external/sources/boost/compute/version.hpp", + "external/sources/boost/compute/wait_list.hpp", + "external/sources/boost/concept/assert.hpp", + "external/sources/boost/concept/detail/backward_compatibility.hpp", + "external/sources/boost/concept/detail/borland.hpp", + "external/sources/boost/concept/detail/concept_def.hpp", + "external/sources/boost/concept/detail/concept_undef.hpp", + "external/sources/boost/concept/detail/general.hpp", + "external/sources/boost/concept/detail/has_constraints.hpp", + "external/sources/boost/concept/detail/msvc.hpp", + "external/sources/boost/concept/requires.hpp", + "external/sources/boost/concept/usage.hpp", + "external/sources/boost/concept_archetype.hpp", + "external/sources/boost/concept_check.hpp", + "external/sources/boost/concept_check/borland.hpp", + "external/sources/boost/concept_check/general.hpp", + "external/sources/boost/concept_check/has_constraints.hpp", + "external/sources/boost/concept_check/msvc.hpp", + "external/sources/boost/config.hpp", + "external/sources/boost/config/abi/borland_prefix.hpp", + "external/sources/boost/config/abi/borland_suffix.hpp", + "external/sources/boost/config/abi/msvc_prefix.hpp", + "external/sources/boost/config/abi/msvc_suffix.hpp", + "external/sources/boost/config/abi_prefix.hpp", + "external/sources/boost/config/abi_suffix.hpp", + "external/sources/boost/config/auto_link.hpp", + "external/sources/boost/config/compiler/borland.hpp", + "external/sources/boost/config/compiler/clang.hpp", + "external/sources/boost/config/compiler/codegear.hpp", + "external/sources/boost/config/compiler/comeau.hpp", + "external/sources/boost/config/compiler/common_edg.hpp", + "external/sources/boost/config/compiler/compaq_cxx.hpp", + "external/sources/boost/config/compiler/cray.hpp", + "external/sources/boost/config/compiler/diab.hpp", + "external/sources/boost/config/compiler/digitalmars.hpp", + "external/sources/boost/config/compiler/gcc.hpp", + "external/sources/boost/config/compiler/gcc_xml.hpp", + "external/sources/boost/config/compiler/greenhills.hpp", + "external/sources/boost/config/compiler/hp_acc.hpp", + "external/sources/boost/config/compiler/intel.hpp", + "external/sources/boost/config/compiler/kai.hpp", + "external/sources/boost/config/compiler/metrowerks.hpp", + "external/sources/boost/config/compiler/mpw.hpp", + "external/sources/boost/config/compiler/nvcc.hpp", + "external/sources/boost/config/compiler/pathscale.hpp", + "external/sources/boost/config/compiler/pgi.hpp", + "external/sources/boost/config/compiler/sgi_mipspro.hpp", + "external/sources/boost/config/compiler/sunpro_cc.hpp", + "external/sources/boost/config/compiler/vacpp.hpp", + "external/sources/boost/config/compiler/visualc.hpp", + "external/sources/boost/config/compiler/xlcpp.hpp", + "external/sources/boost/config/compiler/xlcpp_zos.hpp", + "external/sources/boost/config/detail/posix_features.hpp", + "external/sources/boost/config/detail/select_compiler_config.hpp", + "external/sources/boost/config/detail/select_platform_config.hpp", + "external/sources/boost/config/detail/select_stdlib_config.hpp", + "external/sources/boost/config/detail/suffix.hpp", + "external/sources/boost/config/header_deprecated.hpp", + "external/sources/boost/config/helper_macros.hpp", + "external/sources/boost/config/no_tr1/cmath.hpp", + "external/sources/boost/config/no_tr1/complex.hpp", + "external/sources/boost/config/no_tr1/functional.hpp", + "external/sources/boost/config/no_tr1/memory.hpp", + "external/sources/boost/config/no_tr1/utility.hpp", + "external/sources/boost/config/platform/aix.hpp", + "external/sources/boost/config/platform/amigaos.hpp", + "external/sources/boost/config/platform/beos.hpp", + "external/sources/boost/config/platform/bsd.hpp", + "external/sources/boost/config/platform/cloudabi.hpp", + "external/sources/boost/config/platform/cray.hpp", + "external/sources/boost/config/platform/cygwin.hpp", + "external/sources/boost/config/platform/haiku.hpp", + "external/sources/boost/config/platform/hpux.hpp", + "external/sources/boost/config/platform/irix.hpp", + "external/sources/boost/config/platform/linux.hpp", + "external/sources/boost/config/platform/macos.hpp", + "external/sources/boost/config/platform/qnxnto.hpp", + "external/sources/boost/config/platform/solaris.hpp", + "external/sources/boost/config/platform/symbian.hpp", + "external/sources/boost/config/platform/vms.hpp", + "external/sources/boost/config/platform/vxworks.hpp", + "external/sources/boost/config/platform/win32.hpp", + "external/sources/boost/config/platform/zos.hpp", + "external/sources/boost/config/pragma_message.hpp", + "external/sources/boost/config/requires_threads.hpp", + "external/sources/boost/config/stdlib/dinkumware.hpp", + "external/sources/boost/config/stdlib/libcomo.hpp", + "external/sources/boost/config/stdlib/libcpp.hpp", + "external/sources/boost/config/stdlib/libstdcpp3.hpp", + "external/sources/boost/config/stdlib/modena.hpp", + "external/sources/boost/config/stdlib/msl.hpp", + "external/sources/boost/config/stdlib/roguewave.hpp", + "external/sources/boost/config/stdlib/sgi.hpp", + "external/sources/boost/config/stdlib/stlport.hpp", + "external/sources/boost/config/stdlib/vacpp.hpp", + "external/sources/boost/config/stdlib/xlcpp_zos.hpp", + "external/sources/boost/config/user.hpp", + "external/sources/boost/config/warning_disable.hpp", + "external/sources/boost/config/workaround.hpp", + "external/sources/boost/container/adaptive_pool.hpp", + "external/sources/boost/container/allocator.hpp", + "external/sources/boost/container/allocator_traits.hpp", + "external/sources/boost/container/container_fwd.hpp", + "external/sources/boost/container/deque.hpp", + "external/sources/boost/container/detail/adaptive_node_pool.hpp", + "external/sources/boost/container/detail/adaptive_node_pool_impl.hpp", + "external/sources/boost/container/detail/addressof.hpp", + "external/sources/boost/container/detail/advanced_insert_int.hpp", + "external/sources/boost/container/detail/algorithm.hpp", + "external/sources/boost/container/detail/alloc_helpers.hpp", + "external/sources/boost/container/detail/alloc_lib.h", + "external/sources/boost/container/detail/allocation_type.hpp", + "external/sources/boost/container/detail/allocator_version_traits.hpp", + "external/sources/boost/container/detail/auto_link.hpp", + "external/sources/boost/container/detail/block_list.hpp", + "external/sources/boost/container/detail/block_slist.hpp", + "external/sources/boost/container/detail/compare_functors.hpp", + "external/sources/boost/container/detail/config_begin.hpp", + "external/sources/boost/container/detail/config_end.hpp", + "external/sources/boost/container/detail/construct_in_place.hpp", + "external/sources/boost/container/detail/container_or_allocator_rebind.hpp", + "external/sources/boost/container/detail/container_rebind.hpp", + "external/sources/boost/container/detail/copy_move_algo.hpp", + "external/sources/boost/container/detail/destroyers.hpp", + "external/sources/boost/container/detail/dispatch_uses_allocator.hpp", + "external/sources/boost/container/detail/dlmalloc.hpp", + "external/sources/boost/container/detail/flat_tree.hpp", + "external/sources/boost/container/detail/function_detector.hpp", + "external/sources/boost/container/detail/is_container.hpp", + "external/sources/boost/container/detail/is_contiguous_container.hpp", + "external/sources/boost/container/detail/is_sorted.hpp", + "external/sources/boost/container/detail/iterator.hpp", + "external/sources/boost/container/detail/iterator_to_raw_pointer.hpp", + "external/sources/boost/container/detail/iterators.hpp", + "external/sources/boost/container/detail/math_functions.hpp", + "external/sources/boost/container/detail/min_max.hpp", + "external/sources/boost/container/detail/minimal_char_traits_header.hpp", + "external/sources/boost/container/detail/mpl.hpp", + "external/sources/boost/container/detail/multiallocation_chain.hpp", + "external/sources/boost/container/detail/mutex.hpp", + "external/sources/boost/container/detail/next_capacity.hpp", + "external/sources/boost/container/detail/node_alloc_holder.hpp", + "external/sources/boost/container/detail/node_pool.hpp", + "external/sources/boost/container/detail/node_pool_impl.hpp", + "external/sources/boost/container/detail/pair.hpp", + "external/sources/boost/container/detail/pair_key_mapped_of_value.hpp", + "external/sources/boost/container/detail/placement_new.hpp", + "external/sources/boost/container/detail/pool_common.hpp", + "external/sources/boost/container/detail/pool_common_alloc.hpp", + "external/sources/boost/container/detail/pool_resource.hpp", + "external/sources/boost/container/detail/singleton.hpp", + "external/sources/boost/container/detail/std_fwd.hpp", + "external/sources/boost/container/detail/thread_mutex.hpp", + "external/sources/boost/container/detail/transform_iterator.hpp", + "external/sources/boost/container/detail/tree.hpp", + "external/sources/boost/container/detail/type_traits.hpp", + "external/sources/boost/container/detail/value_functors.hpp", + "external/sources/boost/container/detail/value_init.hpp", + "external/sources/boost/container/detail/variadic_templates_tools.hpp", + "external/sources/boost/container/detail/version_type.hpp", + "external/sources/boost/container/detail/workaround.hpp", + "external/sources/boost/container/flat_map.hpp", + "external/sources/boost/container/flat_set.hpp", + "external/sources/boost/container/list.hpp", + "external/sources/boost/container/map.hpp", + "external/sources/boost/container/new_allocator.hpp", + "external/sources/boost/container/node_allocator.hpp", + "external/sources/boost/container/node_handle.hpp", + "external/sources/boost/container/options.hpp", + "external/sources/boost/container/pmr/deque.hpp", + "external/sources/boost/container/pmr/flat_map.hpp", + "external/sources/boost/container/pmr/flat_set.hpp", + "external/sources/boost/container/pmr/global_resource.hpp", + "external/sources/boost/container/pmr/list.hpp", + "external/sources/boost/container/pmr/map.hpp", + "external/sources/boost/container/pmr/memory_resource.hpp", + "external/sources/boost/container/pmr/monotonic_buffer_resource.hpp", + "external/sources/boost/container/pmr/polymorphic_allocator.hpp", + "external/sources/boost/container/pmr/pool_options.hpp", + "external/sources/boost/container/pmr/resource_adaptor.hpp", + "external/sources/boost/container/pmr/set.hpp", + "external/sources/boost/container/pmr/slist.hpp", + "external/sources/boost/container/pmr/small_vector.hpp", + "external/sources/boost/container/pmr/stable_vector.hpp", + "external/sources/boost/container/pmr/string.hpp", + "external/sources/boost/container/pmr/synchronized_pool_resource.hpp", + "external/sources/boost/container/pmr/unsynchronized_pool_resource.hpp", + "external/sources/boost/container/pmr/vector.hpp", + "external/sources/boost/container/scoped_allocator.hpp", + "external/sources/boost/container/scoped_allocator_fwd.hpp", + "external/sources/boost/container/set.hpp", + "external/sources/boost/container/slist.hpp", + "external/sources/boost/container/small_vector.hpp", + "external/sources/boost/container/stable_vector.hpp", + "external/sources/boost/container/static_vector.hpp", + "external/sources/boost/container/string.hpp", + "external/sources/boost/container/throw_exception.hpp", + "external/sources/boost/container/uses_allocator.hpp", + "external/sources/boost/container/uses_allocator_fwd.hpp", + "external/sources/boost/container/vector.hpp", + "external/sources/boost/container_hash/detail/float_functions.hpp", + "external/sources/boost/container_hash/detail/hash_float.hpp", + "external/sources/boost/container_hash/detail/limits.hpp", + "external/sources/boost/container_hash/extensions.hpp", + "external/sources/boost/container_hash/hash.hpp", + "external/sources/boost/container_hash/hash_fwd.hpp", + "external/sources/boost/context/continuation.hpp", + "external/sources/boost/context/continuation_fcontext.hpp", + "external/sources/boost/context/continuation_ucontext.hpp", + "external/sources/boost/context/continuation_winfib.hpp", + "external/sources/boost/context/detail/apply.hpp", + "external/sources/boost/context/detail/config.hpp", + "external/sources/boost/context/detail/disable_overload.hpp", + "external/sources/boost/context/detail/exception.hpp", + "external/sources/boost/context/detail/exchange.hpp", + "external/sources/boost/context/detail/externc.hpp", + "external/sources/boost/context/detail/fcontext.hpp", + "external/sources/boost/context/detail/index_sequence.hpp", + "external/sources/boost/context/detail/invoke.hpp", + "external/sources/boost/context/detail/prefetch.hpp", + "external/sources/boost/context/detail/tuple.hpp", + "external/sources/boost/context/fiber.hpp", + "external/sources/boost/context/fiber_fcontext.hpp", + "external/sources/boost/context/fiber_ucontext.hpp", + "external/sources/boost/context/fiber_winfib.hpp", + "external/sources/boost/context/fixedsize_stack.hpp", + "external/sources/boost/context/flags.hpp", + "external/sources/boost/context/pooled_fixedsize_stack.hpp", + "external/sources/boost/context/posix/protected_fixedsize_stack.hpp", + "external/sources/boost/context/posix/segmented_stack.hpp", + "external/sources/boost/context/preallocated.hpp", + "external/sources/boost/context/protected_fixedsize_stack.hpp", + "external/sources/boost/context/segmented_stack.hpp", + "external/sources/boost/context/stack_context.hpp", + "external/sources/boost/context/stack_traits.hpp", + "external/sources/boost/context/windows/protected_fixedsize_stack.hpp", + "external/sources/boost/contract.hpp", + "external/sources/boost/contract/assert.hpp", + "external/sources/boost/contract/base_types.hpp", + "external/sources/boost/contract/call_if.hpp", + "external/sources/boost/contract/check.hpp", + "external/sources/boost/contract/constructor.hpp", + "external/sources/boost/contract/core/access.hpp", + "external/sources/boost/contract/core/check_macro.hpp", + "external/sources/boost/contract/core/config.hpp", + "external/sources/boost/contract/core/constructor_precondition.hpp", + "external/sources/boost/contract/core/exception.hpp", + "external/sources/boost/contract/core/specify.hpp", + "external/sources/boost/contract/core/virtual.hpp", + "external/sources/boost/contract/destructor.hpp", + "external/sources/boost/contract/detail/assert.hpp", + "external/sources/boost/contract/detail/auto_ptr.hpp", + "external/sources/boost/contract/detail/check.hpp", + "external/sources/boost/contract/detail/checking.hpp", + "external/sources/boost/contract/detail/condition/cond_base.hpp", + "external/sources/boost/contract/detail/condition/cond_inv.hpp", + "external/sources/boost/contract/detail/condition/cond_post.hpp", + "external/sources/boost/contract/detail/condition/cond_subcontracting.hpp", + "external/sources/boost/contract/detail/config.hpp", + "external/sources/boost/contract/detail/debug.hpp", + "external/sources/boost/contract/detail/decl.hpp", + "external/sources/boost/contract/detail/declspec.hpp", + "external/sources/boost/contract/detail/exception.hpp", + "external/sources/boost/contract/detail/inlined.hpp", + "external/sources/boost/contract/detail/inlined/core/exception.hpp", + "external/sources/boost/contract/detail/inlined/detail/checking.hpp", + "external/sources/boost/contract/detail/inlined/old.hpp", + "external/sources/boost/contract/detail/name.hpp", + "external/sources/boost/contract/detail/none.hpp", + "external/sources/boost/contract/detail/noop.hpp", + "external/sources/boost/contract/detail/operation/constructor.hpp", + "external/sources/boost/contract/detail/operation/destructor.hpp", + "external/sources/boost/contract/detail/operation/function.hpp", + "external/sources/boost/contract/detail/operation/public_function.hpp", + "external/sources/boost/contract/detail/operation/static_public_function.hpp", + "external/sources/boost/contract/detail/operator_safe_bool.hpp", + "external/sources/boost/contract/detail/preprocessor/keyword/private.hpp", + "external/sources/boost/contract/detail/preprocessor/keyword/protected.hpp", + "external/sources/boost/contract/detail/preprocessor/keyword/public.hpp", + "external/sources/boost/contract/detail/preprocessor/keyword/utility/is.hpp", + "external/sources/boost/contract/detail/preprocessor/keyword/virtual.hpp", + "external/sources/boost/contract/detail/static_local_var.hpp", + "external/sources/boost/contract/detail/tvariadic.hpp", + "external/sources/boost/contract/detail/type_traits/member_function_types.hpp", + "external/sources/boost/contract/detail/type_traits/mirror.hpp", + "external/sources/boost/contract/detail/type_traits/optional.hpp", + "external/sources/boost/contract/function.hpp", + "external/sources/boost/contract/old.hpp", + "external/sources/boost/contract/override.hpp", + "external/sources/boost/contract/public_function.hpp", + "external/sources/boost/contract_macro.hpp", + "external/sources/boost/convert.hpp", + "external/sources/boost/convert/base.hpp", + "external/sources/boost/convert/detail/char.hpp", + "external/sources/boost/convert/detail/config.hpp", + "external/sources/boost/convert/detail/has_member.hpp", + "external/sources/boost/convert/detail/is_callable.hpp", + "external/sources/boost/convert/detail/is_converter.hpp", + "external/sources/boost/convert/detail/is_fun.hpp", + "external/sources/boost/convert/detail/is_string.hpp", + "external/sources/boost/convert/detail/range.hpp", + "external/sources/boost/convert/lexical_cast.hpp", + "external/sources/boost/convert/parameters.hpp", + "external/sources/boost/convert/printf.hpp", + "external/sources/boost/convert/spirit.hpp", + "external/sources/boost/convert/stream.hpp", + "external/sources/boost/convert/strtol.hpp", + "external/sources/boost/core/addressof.hpp", + "external/sources/boost/core/alloc_construct.hpp", + "external/sources/boost/core/allocator_access.hpp", + "external/sources/boost/core/checked_delete.hpp", + "external/sources/boost/core/default_allocator.hpp", + "external/sources/boost/core/demangle.hpp", + "external/sources/boost/core/empty_value.hpp", + "external/sources/boost/core/enable_if.hpp", + "external/sources/boost/core/exchange.hpp", + "external/sources/boost/core/explicit_operator_bool.hpp", + "external/sources/boost/core/first_scalar.hpp", + "external/sources/boost/core/ignore_unused.hpp", + "external/sources/boost/core/is_same.hpp", + "external/sources/boost/core/lightweight_test.hpp", + "external/sources/boost/core/lightweight_test_trait.hpp", + "external/sources/boost/core/no_exceptions_support.hpp", + "external/sources/boost/core/noinit_adaptor.hpp", + "external/sources/boost/core/noncopyable.hpp", + "external/sources/boost/core/null_deleter.hpp", + "external/sources/boost/core/nvp.hpp", + "external/sources/boost/core/pointer_traits.hpp", + "external/sources/boost/core/quick_exit.hpp", + "external/sources/boost/core/ref.hpp", + "external/sources/boost/core/scoped_enum.hpp", + "external/sources/boost/core/swap.hpp", + "external/sources/boost/core/typeinfo.hpp", + "external/sources/boost/core/uncaught_exceptions.hpp", + "external/sources/boost/core/underlying_type.hpp", + "external/sources/boost/core/use_default.hpp", + "external/sources/boost/coroutine/all.hpp", + "external/sources/boost/coroutine/asymmetric_coroutine.hpp", + "external/sources/boost/coroutine/attributes.hpp", + "external/sources/boost/coroutine/coroutine.hpp", + "external/sources/boost/coroutine/detail/config.hpp", + "external/sources/boost/coroutine/detail/coroutine_context.hpp", + "external/sources/boost/coroutine/detail/data.hpp", + "external/sources/boost/coroutine/detail/flags.hpp", + "external/sources/boost/coroutine/detail/parameters.hpp", + "external/sources/boost/coroutine/detail/preallocated.hpp", + "external/sources/boost/coroutine/detail/pull_coroutine_impl.hpp", + "external/sources/boost/coroutine/detail/pull_coroutine_object.hpp", + "external/sources/boost/coroutine/detail/pull_coroutine_synthesized.hpp", + "external/sources/boost/coroutine/detail/push_coroutine_impl.hpp", + "external/sources/boost/coroutine/detail/push_coroutine_object.hpp", + "external/sources/boost/coroutine/detail/push_coroutine_synthesized.hpp", + "external/sources/boost/coroutine/detail/setup.hpp", + "external/sources/boost/coroutine/detail/symmetric_coroutine_call.hpp", + "external/sources/boost/coroutine/detail/symmetric_coroutine_impl.hpp", + "external/sources/boost/coroutine/detail/symmetric_coroutine_object.hpp", + "external/sources/boost/coroutine/detail/symmetric_coroutine_yield.hpp", + "external/sources/boost/coroutine/detail/trampoline.hpp", + "external/sources/boost/coroutine/detail/trampoline_pull.hpp", + "external/sources/boost/coroutine/detail/trampoline_push.hpp", + "external/sources/boost/coroutine/exceptions.hpp", + "external/sources/boost/coroutine/flags.hpp", + "external/sources/boost/coroutine/posix/protected_stack_allocator.hpp", + "external/sources/boost/coroutine/posix/segmented_stack_allocator.hpp", + "external/sources/boost/coroutine/protected_stack_allocator.hpp", + "external/sources/boost/coroutine/segmented_stack_allocator.hpp", + "external/sources/boost/coroutine/stack_allocator.hpp", + "external/sources/boost/coroutine/stack_context.hpp", + "external/sources/boost/coroutine/stack_traits.hpp", + "external/sources/boost/coroutine/standard_stack_allocator.hpp", + "external/sources/boost/coroutine/symmetric_coroutine.hpp", + "external/sources/boost/coroutine/windows/protected_stack_allocator.hpp", + "external/sources/boost/coroutine2/all.hpp", + "external/sources/boost/coroutine2/coroutine.hpp", + "external/sources/boost/coroutine2/detail/config.hpp", + "external/sources/boost/coroutine2/detail/coroutine.hpp", + "external/sources/boost/coroutine2/detail/create_control_block.ipp", + "external/sources/boost/coroutine2/detail/decay_copy.hpp", + "external/sources/boost/coroutine2/detail/disable_overload.hpp", + "external/sources/boost/coroutine2/detail/pull_control_block_cc.hpp", + "external/sources/boost/coroutine2/detail/pull_control_block_cc.ipp", + "external/sources/boost/coroutine2/detail/pull_coroutine.hpp", + "external/sources/boost/coroutine2/detail/pull_coroutine.ipp", + "external/sources/boost/coroutine2/detail/push_control_block_cc.hpp", + "external/sources/boost/coroutine2/detail/push_control_block_cc.ipp", + "external/sources/boost/coroutine2/detail/push_coroutine.hpp", + "external/sources/boost/coroutine2/detail/push_coroutine.ipp", + "external/sources/boost/coroutine2/detail/state.hpp", + "external/sources/boost/coroutine2/detail/wrap.hpp", + "external/sources/boost/coroutine2/fixedsize_stack.hpp", + "external/sources/boost/coroutine2/pooled_fixedsize_stack.hpp", + "external/sources/boost/coroutine2/protected_fixedsize_stack.hpp", + "external/sources/boost/coroutine2/segmented_stack.hpp", + "external/sources/boost/crc.hpp", + "external/sources/boost/cregex.hpp", + "external/sources/boost/cstdfloat.hpp", + "external/sources/boost/cstdint.hpp", + "external/sources/boost/cstdlib.hpp", + "external/sources/boost/current_function.hpp", + "external/sources/boost/cxx11_char_types.hpp", + "external/sources/boost/date_time.hpp", + "external/sources/boost/date_time/adjust_functors.hpp", + "external/sources/boost/date_time/c_local_time_adjustor.hpp", + "external/sources/boost/date_time/c_time.hpp", + "external/sources/boost/date_time/compiler_config.hpp", + "external/sources/boost/date_time/constrained_value.hpp", + "external/sources/boost/date_time/date.hpp", + "external/sources/boost/date_time/date_clock_device.hpp", + "external/sources/boost/date_time/date_defs.hpp", + "external/sources/boost/date_time/date_duration.hpp", + "external/sources/boost/date_time/date_duration_types.hpp", + "external/sources/boost/date_time/date_facet.hpp", + "external/sources/boost/date_time/date_format_simple.hpp", + "external/sources/boost/date_time/date_formatting.hpp", + "external/sources/boost/date_time/date_formatting_limited.hpp", + "external/sources/boost/date_time/date_formatting_locales.hpp", + "external/sources/boost/date_time/date_generator_formatter.hpp", + "external/sources/boost/date_time/date_generator_parser.hpp", + "external/sources/boost/date_time/date_generators.hpp", + "external/sources/boost/date_time/date_iterator.hpp", + "external/sources/boost/date_time/date_names_put.hpp", + "external/sources/boost/date_time/date_parsing.hpp", + "external/sources/boost/date_time/dst_rules.hpp", + "external/sources/boost/date_time/dst_transition_generators.hpp", + "external/sources/boost/date_time/filetime_functions.hpp", + "external/sources/boost/date_time/find_match.hpp", + "external/sources/boost/date_time/format_date_parser.hpp", + "external/sources/boost/date_time/gregorian/conversion.hpp", + "external/sources/boost/date_time/gregorian/formatters.hpp", + "external/sources/boost/date_time/gregorian/formatters_limited.hpp", + "external/sources/boost/date_time/gregorian/greg_calendar.hpp", + "external/sources/boost/date_time/gregorian/greg_date.hpp", + "external/sources/boost/date_time/gregorian/greg_day.hpp", + "external/sources/boost/date_time/gregorian/greg_day_of_year.hpp", + "external/sources/boost/date_time/gregorian/greg_duration.hpp", + "external/sources/boost/date_time/gregorian/greg_duration_types.hpp", + "external/sources/boost/date_time/gregorian/greg_facet.hpp", + "external/sources/boost/date_time/gregorian/greg_month.hpp", + "external/sources/boost/date_time/gregorian/greg_serialize.hpp", + "external/sources/boost/date_time/gregorian/greg_weekday.hpp", + "external/sources/boost/date_time/gregorian/greg_year.hpp", + "external/sources/boost/date_time/gregorian/greg_ymd.hpp", + "external/sources/boost/date_time/gregorian/gregorian.hpp", + "external/sources/boost/date_time/gregorian/gregorian_io.hpp", + "external/sources/boost/date_time/gregorian/gregorian_types.hpp", + "external/sources/boost/date_time/gregorian/parsers.hpp", + "external/sources/boost/date_time/gregorian_calendar.hpp", + "external/sources/boost/date_time/gregorian_calendar.ipp", + "external/sources/boost/date_time/int_adapter.hpp", + "external/sources/boost/date_time/iso_format.hpp", + "external/sources/boost/date_time/local_time/conversion.hpp", + "external/sources/boost/date_time/local_time/custom_time_zone.hpp", + "external/sources/boost/date_time/local_time/date_duration_operators.hpp", + "external/sources/boost/date_time/local_time/dst_transition_day_rules.hpp", + "external/sources/boost/date_time/local_time/local_date_time.hpp", + "external/sources/boost/date_time/local_time/local_time.hpp", + "external/sources/boost/date_time/local_time/local_time_io.hpp", + "external/sources/boost/date_time/local_time/local_time_types.hpp", + "external/sources/boost/date_time/local_time/posix_time_zone.hpp", + "external/sources/boost/date_time/local_time/tz_database.hpp", + "external/sources/boost/date_time/local_time_adjustor.hpp", + "external/sources/boost/date_time/local_timezone_defs.hpp", + "external/sources/boost/date_time/locale_config.hpp", + "external/sources/boost/date_time/microsec_time_clock.hpp", + "external/sources/boost/date_time/parse_format_base.hpp", + "external/sources/boost/date_time/period.hpp", + "external/sources/boost/date_time/period_formatter.hpp", + "external/sources/boost/date_time/period_parser.hpp", + "external/sources/boost/date_time/posix_time/conversion.hpp", + "external/sources/boost/date_time/posix_time/date_duration_operators.hpp", + "external/sources/boost/date_time/posix_time/posix_time.hpp", + "external/sources/boost/date_time/posix_time/posix_time_config.hpp", + "external/sources/boost/date_time/posix_time/posix_time_duration.hpp", + "external/sources/boost/date_time/posix_time/posix_time_io.hpp", + "external/sources/boost/date_time/posix_time/posix_time_legacy_io.hpp", + "external/sources/boost/date_time/posix_time/posix_time_system.hpp", + "external/sources/boost/date_time/posix_time/posix_time_types.hpp", + "external/sources/boost/date_time/posix_time/ptime.hpp", + "external/sources/boost/date_time/posix_time/time_formatters.hpp", + "external/sources/boost/date_time/posix_time/time_formatters_limited.hpp", + "external/sources/boost/date_time/posix_time/time_parsers.hpp", + "external/sources/boost/date_time/posix_time/time_period.hpp", + "external/sources/boost/date_time/posix_time/time_serialize.hpp", + "external/sources/boost/date_time/special_defs.hpp", + "external/sources/boost/date_time/special_values_formatter.hpp", + "external/sources/boost/date_time/special_values_parser.hpp", + "external/sources/boost/date_time/string_convert.hpp", + "external/sources/boost/date_time/string_parse_tree.hpp", + "external/sources/boost/date_time/strings_from_facet.hpp", + "external/sources/boost/date_time/time.hpp", + "external/sources/boost/date_time/time_clock.hpp", + "external/sources/boost/date_time/time_defs.hpp", + "external/sources/boost/date_time/time_duration.hpp", + "external/sources/boost/date_time/time_facet.hpp", + "external/sources/boost/date_time/time_formatting_streams.hpp", + "external/sources/boost/date_time/time_iterator.hpp", + "external/sources/boost/date_time/time_parsing.hpp", + "external/sources/boost/date_time/time_resolution_traits.hpp", + "external/sources/boost/date_time/time_system_counted.hpp", + "external/sources/boost/date_time/time_system_split.hpp", + "external/sources/boost/date_time/time_zone_base.hpp", + "external/sources/boost/date_time/time_zone_names.hpp", + "external/sources/boost/date_time/tz_db_base.hpp", + "external/sources/boost/date_time/wrapping_int.hpp", + "external/sources/boost/date_time/year_month_day.hpp", + "external/sources/boost/detail/algorithm.hpp", + "external/sources/boost/detail/allocator_utilities.hpp", + "external/sources/boost/detail/atomic_count.hpp", + "external/sources/boost/detail/basic_pointerbuf.hpp", + "external/sources/boost/detail/binary_search.hpp", + "external/sources/boost/detail/bitmask.hpp", + "external/sources/boost/detail/call_traits.hpp", + "external/sources/boost/detail/catch_exceptions.hpp", + "external/sources/boost/detail/compressed_pair.hpp", + "external/sources/boost/detail/container_fwd.hpp", + "external/sources/boost/detail/fenv.hpp", + "external/sources/boost/detail/has_default_constructor.hpp", + "external/sources/boost/detail/identifier.hpp", + "external/sources/boost/detail/indirect_traits.hpp", + "external/sources/boost/detail/interlocked.hpp", + "external/sources/boost/detail/is_incrementable.hpp", + "external/sources/boost/detail/is_sorted.hpp", + "external/sources/boost/detail/is_xxx.hpp", + "external/sources/boost/detail/iterator.hpp", + "external/sources/boost/detail/lcast_precision.hpp", + "external/sources/boost/detail/lightweight_main.hpp", + "external/sources/boost/detail/lightweight_mutex.hpp", + "external/sources/boost/detail/lightweight_test.hpp", + "external/sources/boost/detail/lightweight_test_report.hpp", + "external/sources/boost/detail/lightweight_thread.hpp", + "external/sources/boost/detail/named_template_params.hpp", + "external/sources/boost/detail/no_exceptions_support.hpp", + "external/sources/boost/detail/numeric_traits.hpp", + "external/sources/boost/detail/ob_compressed_pair.hpp", + "external/sources/boost/detail/quick_allocator.hpp", + "external/sources/boost/detail/reference_content.hpp", + "external/sources/boost/detail/scoped_enum_emulation.hpp", + "external/sources/boost/detail/select_type.hpp", + "external/sources/boost/detail/sp_typeinfo.hpp", + "external/sources/boost/detail/templated_streams.hpp", + "external/sources/boost/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/detail/utf8_codecvt_facet.ipp", + "external/sources/boost/detail/winapi/access_rights.hpp", + "external/sources/boost/detail/winapi/apc.hpp", + "external/sources/boost/detail/winapi/basic_types.hpp", + "external/sources/boost/detail/winapi/bcrypt.hpp", + "external/sources/boost/detail/winapi/character_code_conversion.hpp", + "external/sources/boost/detail/winapi/condition_variable.hpp", + "external/sources/boost/detail/winapi/config.hpp", + "external/sources/boost/detail/winapi/critical_section.hpp", + "external/sources/boost/detail/winapi/crypt.hpp", + "external/sources/boost/detail/winapi/dbghelp.hpp", + "external/sources/boost/detail/winapi/debugapi.hpp", + "external/sources/boost/detail/winapi/detail/deprecated_namespace.hpp", + "external/sources/boost/detail/winapi/directory_management.hpp", + "external/sources/boost/detail/winapi/dll.hpp", + "external/sources/boost/detail/winapi/environment.hpp", + "external/sources/boost/detail/winapi/error_codes.hpp", + "external/sources/boost/detail/winapi/error_handling.hpp", + "external/sources/boost/detail/winapi/event.hpp", + "external/sources/boost/detail/winapi/file_management.hpp", + "external/sources/boost/detail/winapi/file_mapping.hpp", + "external/sources/boost/detail/winapi/get_current_process.hpp", + "external/sources/boost/detail/winapi/get_current_process_id.hpp", + "external/sources/boost/detail/winapi/get_current_thread.hpp", + "external/sources/boost/detail/winapi/get_current_thread_id.hpp", + "external/sources/boost/detail/winapi/get_last_error.hpp", + "external/sources/boost/detail/winapi/get_process_times.hpp", + "external/sources/boost/detail/winapi/get_system_directory.hpp", + "external/sources/boost/detail/winapi/get_thread_times.hpp", + "external/sources/boost/detail/winapi/handle_info.hpp", + "external/sources/boost/detail/winapi/handles.hpp", + "external/sources/boost/detail/winapi/heap_memory.hpp", + "external/sources/boost/detail/winapi/init_once.hpp", + "external/sources/boost/detail/winapi/jobs.hpp", + "external/sources/boost/detail/winapi/limits.hpp", + "external/sources/boost/detail/winapi/local_memory.hpp", + "external/sources/boost/detail/winapi/memory.hpp", + "external/sources/boost/detail/winapi/mutex.hpp", + "external/sources/boost/detail/winapi/overlapped.hpp", + "external/sources/boost/detail/winapi/page_protection_flags.hpp", + "external/sources/boost/detail/winapi/pipes.hpp", + "external/sources/boost/detail/winapi/priority_class.hpp", + "external/sources/boost/detail/winapi/process.hpp", + "external/sources/boost/detail/winapi/security.hpp", + "external/sources/boost/detail/winapi/semaphore.hpp", + "external/sources/boost/detail/winapi/shell.hpp", + "external/sources/boost/detail/winapi/show_window.hpp", + "external/sources/boost/detail/winapi/srw_lock.hpp", + "external/sources/boost/detail/winapi/stack_backtrace.hpp", + "external/sources/boost/detail/winapi/synchronization.hpp", + "external/sources/boost/detail/winapi/system.hpp", + "external/sources/boost/detail/winapi/thread.hpp", + "external/sources/boost/detail/winapi/thread_pool.hpp", + "external/sources/boost/detail/winapi/time.hpp", + "external/sources/boost/detail/winapi/timers.hpp", + "external/sources/boost/detail/winapi/tls.hpp", + "external/sources/boost/detail/winapi/wait.hpp", + "external/sources/boost/detail/winapi/waitable_timer.hpp", + "external/sources/boost/detail/workaround.hpp", + "external/sources/boost/dll.hpp", + "external/sources/boost/dll/alias.hpp", + "external/sources/boost/dll/config.hpp", + "external/sources/boost/dll/detail/aggressive_ptr_cast.hpp", + "external/sources/boost/dll/detail/ctor_dtor.hpp", + "external/sources/boost/dll/detail/demangling/demangle_symbol.hpp", + "external/sources/boost/dll/detail/demangling/itanium.hpp", + "external/sources/boost/dll/detail/demangling/mangled_storage_base.hpp", + "external/sources/boost/dll/detail/demangling/msvc.hpp", + "external/sources/boost/dll/detail/elf_info.hpp", + "external/sources/boost/dll/detail/get_mem_fn_type.hpp", + "external/sources/boost/dll/detail/import_mangled_helpers.hpp", + "external/sources/boost/dll/detail/macho_info.hpp", + "external/sources/boost/dll/detail/pe_info.hpp", + "external/sources/boost/dll/detail/posix/path_from_handle.hpp", + "external/sources/boost/dll/detail/posix/program_location_impl.hpp", + "external/sources/boost/dll/detail/posix/shared_library_impl.hpp", + "external/sources/boost/dll/detail/system_error.hpp", + "external/sources/boost/dll/detail/type_info.hpp", + "external/sources/boost/dll/detail/windows/path_from_handle.hpp", + "external/sources/boost/dll/detail/windows/shared_library_impl.hpp", + "external/sources/boost/dll/import.hpp", + "external/sources/boost/dll/import_class.hpp", + "external/sources/boost/dll/import_mangled.hpp", + "external/sources/boost/dll/library_info.hpp", + "external/sources/boost/dll/runtime_symbol_info.hpp", + "external/sources/boost/dll/shared_library.hpp", + "external/sources/boost/dll/shared_library_load_mode.hpp", + "external/sources/boost/dll/smart_library.hpp", + "external/sources/boost/dynamic_bitset.hpp", + "external/sources/boost/dynamic_bitset/config.hpp", + "external/sources/boost/dynamic_bitset/detail/dynamic_bitset.hpp", + "external/sources/boost/dynamic_bitset/detail/lowest_bit.hpp", + "external/sources/boost/dynamic_bitset/dynamic_bitset.hpp", + "external/sources/boost/dynamic_bitset/serialization.hpp", + "external/sources/boost/dynamic_bitset_fwd.hpp", + "external/sources/boost/enable_shared_from_this.hpp", + "external/sources/boost/endian.hpp", + "external/sources/boost/endian/arithmetic.hpp", + "external/sources/boost/endian/buffers.hpp", + "external/sources/boost/endian/conversion.hpp", + "external/sources/boost/endian/detail/disable_warnings.hpp", + "external/sources/boost/endian/detail/disable_warnings_pop.hpp", + "external/sources/boost/endian/detail/endian_load.hpp", + "external/sources/boost/endian/detail/endian_reverse.hpp", + "external/sources/boost/endian/detail/endian_store.hpp", + "external/sources/boost/endian/detail/integral_by_size.hpp", + "external/sources/boost/endian/detail/intrinsic.hpp", + "external/sources/boost/endian/detail/is_scoped_enum.hpp", + "external/sources/boost/endian/detail/is_trivially_copyable.hpp", + "external/sources/boost/endian/detail/order.hpp", + "external/sources/boost/endian/endian.hpp", + "external/sources/boost/exception/all.hpp", + "external/sources/boost/exception/current_exception_cast.hpp", + "external/sources/boost/exception/detail/clone_current_exception.hpp", + "external/sources/boost/exception/detail/error_info_impl.hpp", + "external/sources/boost/exception/detail/exception_ptr.hpp", + "external/sources/boost/exception/detail/is_output_streamable.hpp", + "external/sources/boost/exception/detail/object_hex_dump.hpp", + "external/sources/boost/exception/detail/shared_ptr.hpp", + "external/sources/boost/exception/detail/type_info.hpp", + "external/sources/boost/exception/diagnostic_information.hpp", + "external/sources/boost/exception/enable_current_exception.hpp", + "external/sources/boost/exception/enable_error_info.hpp", + "external/sources/boost/exception/errinfo_api_function.hpp", + "external/sources/boost/exception/errinfo_at_line.hpp", + "external/sources/boost/exception/errinfo_errno.hpp", + "external/sources/boost/exception/errinfo_file_handle.hpp", + "external/sources/boost/exception/errinfo_file_name.hpp", + "external/sources/boost/exception/errinfo_file_open_mode.hpp", + "external/sources/boost/exception/errinfo_nested_exception.hpp", + "external/sources/boost/exception/errinfo_type_info_name.hpp", + "external/sources/boost/exception/error_info.hpp", + "external/sources/boost/exception/exception.hpp", + "external/sources/boost/exception/get_error_info.hpp", + "external/sources/boost/exception/info.hpp", + "external/sources/boost/exception/info_tuple.hpp", + "external/sources/boost/exception/to_string.hpp", + "external/sources/boost/exception/to_string_stub.hpp", + "external/sources/boost/exception_ptr.hpp", + "external/sources/boost/fiber/algo/algorithm.hpp", + "external/sources/boost/fiber/algo/round_robin.hpp", + "external/sources/boost/fiber/algo/shared_work.hpp", + "external/sources/boost/fiber/algo/work_stealing.hpp", + "external/sources/boost/fiber/all.hpp", + "external/sources/boost/fiber/barrier.hpp", + "external/sources/boost/fiber/buffered_channel.hpp", + "external/sources/boost/fiber/channel_op_status.hpp", + "external/sources/boost/fiber/condition_variable.hpp", + "external/sources/boost/fiber/context.hpp", + "external/sources/boost/fiber/cuda/waitfor.hpp", + "external/sources/boost/fiber/detail/config.hpp", + "external/sources/boost/fiber/detail/context_spinlock_queue.hpp", + "external/sources/boost/fiber/detail/context_spmc_queue.hpp", + "external/sources/boost/fiber/detail/convert.hpp", + "external/sources/boost/fiber/detail/cpu_relax.hpp", + "external/sources/boost/fiber/detail/data.hpp", + "external/sources/boost/fiber/detail/decay_copy.hpp", + "external/sources/boost/fiber/detail/disable_overload.hpp", + "external/sources/boost/fiber/detail/exchange.hpp", + "external/sources/boost/fiber/detail/fss.hpp", + "external/sources/boost/fiber/detail/futex.hpp", + "external/sources/boost/fiber/detail/is_all_same.hpp", + "external/sources/boost/fiber/detail/rtm.hpp", + "external/sources/boost/fiber/detail/spinlock.hpp", + "external/sources/boost/fiber/detail/spinlock_rtm.hpp", + "external/sources/boost/fiber/detail/spinlock_status.hpp", + "external/sources/boost/fiber/detail/spinlock_ttas.hpp", + "external/sources/boost/fiber/detail/spinlock_ttas_adaptive.hpp", + "external/sources/boost/fiber/detail/spinlock_ttas_adaptive_futex.hpp", + "external/sources/boost/fiber/detail/spinlock_ttas_futex.hpp", + "external/sources/boost/fiber/detail/thread_barrier.hpp", + "external/sources/boost/fiber/exceptions.hpp", + "external/sources/boost/fiber/fiber.hpp", + "external/sources/boost/fiber/fixedsize_stack.hpp", + "external/sources/boost/fiber/fss.hpp", + "external/sources/boost/fiber/future.hpp", + "external/sources/boost/fiber/future/async.hpp", + "external/sources/boost/fiber/future/detail/shared_state.hpp", + "external/sources/boost/fiber/future/detail/shared_state_object.hpp", + "external/sources/boost/fiber/future/detail/task_base.hpp", + "external/sources/boost/fiber/future/detail/task_object.hpp", + "external/sources/boost/fiber/future/future.hpp", + "external/sources/boost/fiber/future/future_status.hpp", + "external/sources/boost/fiber/future/packaged_task.hpp", + "external/sources/boost/fiber/future/promise.hpp", + "external/sources/boost/fiber/hip/waitfor.hpp", + "external/sources/boost/fiber/mutex.hpp", + "external/sources/boost/fiber/numa/algo/work_stealing.hpp", + "external/sources/boost/fiber/numa/all.hpp", + "external/sources/boost/fiber/numa/pin_thread.hpp", + "external/sources/boost/fiber/numa/topology.hpp", + "external/sources/boost/fiber/operations.hpp", + "external/sources/boost/fiber/policy.hpp", + "external/sources/boost/fiber/pooled_fixedsize_stack.hpp", + "external/sources/boost/fiber/properties.hpp", + "external/sources/boost/fiber/protected_fixedsize_stack.hpp", + "external/sources/boost/fiber/recursive_mutex.hpp", + "external/sources/boost/fiber/recursive_timed_mutex.hpp", + "external/sources/boost/fiber/scheduler.hpp", + "external/sources/boost/fiber/segmented_stack.hpp", + "external/sources/boost/fiber/timed_mutex.hpp", + "external/sources/boost/fiber/type.hpp", + "external/sources/boost/fiber/unbuffered_channel.hpp", + "external/sources/boost/filesystem.hpp", + "external/sources/boost/filesystem/config.hpp", + "external/sources/boost/filesystem/convenience.hpp", + "external/sources/boost/filesystem/detail/macro_value.hpp", + "external/sources/boost/filesystem/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/filesystem/directory.hpp", + "external/sources/boost/filesystem/exception.hpp", + "external/sources/boost/filesystem/file_status.hpp", + "external/sources/boost/filesystem/fstream.hpp", + "external/sources/boost/filesystem/operations.hpp", + "external/sources/boost/filesystem/path.hpp", + "external/sources/boost/filesystem/path_traits.hpp", + "external/sources/boost/filesystem/string_file.hpp", + "external/sources/boost/flyweight.hpp", + "external/sources/boost/flyweight/assoc_container_factory.hpp", + "external/sources/boost/flyweight/assoc_container_factory_fwd.hpp", + "external/sources/boost/flyweight/detail/archive_constructed.hpp", + "external/sources/boost/flyweight/detail/default_value_policy.hpp", + "external/sources/boost/flyweight/detail/dyn_perfect_fwd.hpp", + "external/sources/boost/flyweight/detail/flyweight_core.hpp", + "external/sources/boost/flyweight/detail/is_placeholder_expr.hpp", + "external/sources/boost/flyweight/detail/nested_xxx_if_not_ph.hpp", + "external/sources/boost/flyweight/detail/not_placeholder_expr.hpp", + "external/sources/boost/flyweight/detail/perfect_fwd.hpp", + "external/sources/boost/flyweight/detail/pp_perfect_fwd.hpp", + "external/sources/boost/flyweight/detail/recursive_lw_mutex.hpp", + "external/sources/boost/flyweight/detail/serialization_helper.hpp", + "external/sources/boost/flyweight/detail/value_tag.hpp", + "external/sources/boost/flyweight/factory_tag.hpp", + "external/sources/boost/flyweight/flyweight.hpp", + "external/sources/boost/flyweight/flyweight_fwd.hpp", + "external/sources/boost/flyweight/hashed_factory.hpp", + "external/sources/boost/flyweight/hashed_factory_fwd.hpp", + "external/sources/boost/flyweight/holder_tag.hpp", + "external/sources/boost/flyweight/intermodule_holder.hpp", + "external/sources/boost/flyweight/intermodule_holder_fwd.hpp", + "external/sources/boost/flyweight/key_value.hpp", + "external/sources/boost/flyweight/key_value_fwd.hpp", + "external/sources/boost/flyweight/locking_tag.hpp", + "external/sources/boost/flyweight/no_locking.hpp", + "external/sources/boost/flyweight/no_locking_fwd.hpp", + "external/sources/boost/flyweight/no_tracking.hpp", + "external/sources/boost/flyweight/no_tracking_fwd.hpp", + "external/sources/boost/flyweight/refcounted.hpp", + "external/sources/boost/flyweight/refcounted_fwd.hpp", + "external/sources/boost/flyweight/serialize.hpp", + "external/sources/boost/flyweight/set_factory.hpp", + "external/sources/boost/flyweight/set_factory_fwd.hpp", + "external/sources/boost/flyweight/simple_locking.hpp", + "external/sources/boost/flyweight/simple_locking_fwd.hpp", + "external/sources/boost/flyweight/static_holder.hpp", + "external/sources/boost/flyweight/static_holder_fwd.hpp", + "external/sources/boost/flyweight/tag.hpp", + "external/sources/boost/flyweight/tracking_tag.hpp", + "external/sources/boost/foreach.hpp", + "external/sources/boost/foreach_fwd.hpp", + "external/sources/boost/format.hpp", + "external/sources/boost/format/alt_sstream.hpp", + "external/sources/boost/format/alt_sstream_impl.hpp", + "external/sources/boost/format/detail/compat_workarounds.hpp", + "external/sources/boost/format/detail/config_macros.hpp", + "external/sources/boost/format/detail/msvc_disambiguater.hpp", + "external/sources/boost/format/detail/unset_macros.hpp", + "external/sources/boost/format/detail/workarounds_gcc-2_95.hpp", + "external/sources/boost/format/detail/workarounds_stlport.hpp", + "external/sources/boost/format/exceptions.hpp", + "external/sources/boost/format/feed_args.hpp", + "external/sources/boost/format/format_class.hpp", + "external/sources/boost/format/format_fwd.hpp", + "external/sources/boost/format/format_implementation.hpp", + "external/sources/boost/format/free_funcs.hpp", + "external/sources/boost/format/group.hpp", + "external/sources/boost/format/internals.hpp", + "external/sources/boost/format/internals_fwd.hpp", + "external/sources/boost/format/parsing.hpp", + "external/sources/boost/function.hpp", + "external/sources/boost/function/detail/function_iterate.hpp", + "external/sources/boost/function/detail/gen_maybe_include.pl", + "external/sources/boost/function/detail/maybe_include.hpp", + "external/sources/boost/function/detail/prologue.hpp", + "external/sources/boost/function/function0.hpp", + "external/sources/boost/function/function1.hpp", + "external/sources/boost/function/function10.hpp", + "external/sources/boost/function/function2.hpp", + "external/sources/boost/function/function3.hpp", + "external/sources/boost/function/function4.hpp", + "external/sources/boost/function/function5.hpp", + "external/sources/boost/function/function6.hpp", + "external/sources/boost/function/function7.hpp", + "external/sources/boost/function/function8.hpp", + "external/sources/boost/function/function9.hpp", + "external/sources/boost/function/function_base.hpp", + "external/sources/boost/function/function_fwd.hpp", + "external/sources/boost/function/function_template.hpp", + "external/sources/boost/function/function_typeof.hpp", + "external/sources/boost/function/gen_function_N.pl", + "external/sources/boost/function_equal.hpp", + "external/sources/boost/function_output_iterator.hpp", + "external/sources/boost/function_types/components.hpp", + "external/sources/boost/function_types/config/cc_names.hpp", + "external/sources/boost/function_types/config/compiler.hpp", + "external/sources/boost/function_types/config/config.hpp", + "external/sources/boost/function_types/detail/class_transform.hpp", + "external/sources/boost/function_types/detail/classifier.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity10_0.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity10_1.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity20_0.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity20_1.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity30_0.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity30_1.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity40_0.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity40_1.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity50_0.hpp", + "external/sources/boost/function_types/detail/classifier_impl/arity50_1.hpp", + "external/sources/boost/function_types/detail/classifier_impl/master.hpp", + "external/sources/boost/function_types/detail/components_as_mpl_sequence.hpp", + "external/sources/boost/function_types/detail/components_impl/arity10_0.hpp", + "external/sources/boost/function_types/detail/components_impl/arity10_1.hpp", + "external/sources/boost/function_types/detail/components_impl/arity20_0.hpp", + "external/sources/boost/function_types/detail/components_impl/arity20_1.hpp", + "external/sources/boost/function_types/detail/components_impl/arity30_0.hpp", + "external/sources/boost/function_types/detail/components_impl/arity30_1.hpp", + "external/sources/boost/function_types/detail/components_impl/arity40_0.hpp", + "external/sources/boost/function_types/detail/components_impl/arity40_1.hpp", + "external/sources/boost/function_types/detail/components_impl/arity50_0.hpp", + "external/sources/boost/function_types/detail/components_impl/arity50_1.hpp", + "external/sources/boost/function_types/detail/components_impl/master.hpp", + "external/sources/boost/function_types/detail/cv_traits.hpp", + "external/sources/boost/function_types/detail/encoding/aliases_def.hpp", + "external/sources/boost/function_types/detail/encoding/aliases_undef.hpp", + "external/sources/boost/function_types/detail/encoding/def.hpp", + "external/sources/boost/function_types/detail/encoding/undef.hpp", + "external/sources/boost/function_types/detail/pp_arity_loop.hpp", + "external/sources/boost/function_types/detail/pp_cc_loop/master.hpp", + "external/sources/boost/function_types/detail/pp_cc_loop/preprocessed.hpp", + "external/sources/boost/function_types/detail/pp_loop.hpp", + "external/sources/boost/function_types/detail/pp_retag_default_cc/master.hpp", + "external/sources/boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp", + "external/sources/boost/function_types/detail/pp_tags/cc_tag.hpp", + "external/sources/boost/function_types/detail/pp_tags/master.hpp", + "external/sources/boost/function_types/detail/pp_tags/preprocessed.hpp", + "external/sources/boost/function_types/detail/pp_variate_loop/master.hpp", + "external/sources/boost/function_types/detail/pp_variate_loop/preprocessed.hpp", + "external/sources/boost/function_types/detail/retag_default_cc.hpp", + "external/sources/boost/function_types/detail/synthesize.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity10_0.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity10_1.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity20_0.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity20_1.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity30_0.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity30_1.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity40_0.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity40_1.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity50_0.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/arity50_1.hpp", + "external/sources/boost/function_types/detail/synthesize_impl/master.hpp", + "external/sources/boost/function_types/detail/to_sequence.hpp", + "external/sources/boost/function_types/function_arity.hpp", + "external/sources/boost/function_types/function_pointer.hpp", + "external/sources/boost/function_types/function_reference.hpp", + "external/sources/boost/function_types/function_type.hpp", + "external/sources/boost/function_types/is_callable_builtin.hpp", + "external/sources/boost/function_types/is_function.hpp", + "external/sources/boost/function_types/is_function_pointer.hpp", + "external/sources/boost/function_types/is_function_reference.hpp", + "external/sources/boost/function_types/is_member_function_pointer.hpp", + "external/sources/boost/function_types/is_member_object_pointer.hpp", + "external/sources/boost/function_types/is_member_pointer.hpp", + "external/sources/boost/function_types/is_nonmember_callable_builtin.hpp", + "external/sources/boost/function_types/member_function_pointer.hpp", + "external/sources/boost/function_types/member_object_pointer.hpp", + "external/sources/boost/function_types/parameter_types.hpp", + "external/sources/boost/function_types/property_tags.hpp", + "external/sources/boost/function_types/result_type.hpp", + "external/sources/boost/functional.hpp", + "external/sources/boost/functional/factory.hpp", + "external/sources/boost/functional/forward_adapter.hpp", + "external/sources/boost/functional/hash.hpp", + "external/sources/boost/functional/hash/extensions.hpp", + "external/sources/boost/functional/hash/hash.hpp", + "external/sources/boost/functional/hash/hash_fwd.hpp", + "external/sources/boost/functional/hash_fwd.hpp", + "external/sources/boost/functional/lightweight_forward_adapter.hpp", + "external/sources/boost/functional/overloaded_function.hpp", + "external/sources/boost/functional/overloaded_function/config.hpp", + "external/sources/boost/functional/overloaded_function/detail/base.hpp", + "external/sources/boost/functional/overloaded_function/detail/function_type.hpp", + "external/sources/boost/functional/value_factory.hpp", + "external/sources/boost/fusion/adapted.hpp", + "external/sources/boost/fusion/adapted/adt.hpp", + "external/sources/boost/fusion/adapted/adt/adapt_adt.hpp", + "external/sources/boost/fusion/adapted/adt/adapt_adt_named.hpp", + "external/sources/boost/fusion/adapted/adt/adapt_assoc_adt.hpp", + "external/sources/boost/fusion/adapted/adt/adapt_assoc_adt_named.hpp", + "external/sources/boost/fusion/adapted/adt/detail/adapt_base.hpp", + "external/sources/boost/fusion/adapted/adt/detail/adapt_base_assoc_attr_filler.hpp", + "external/sources/boost/fusion/adapted/adt/detail/adapt_base_attr_filler.hpp", + "external/sources/boost/fusion/adapted/adt/detail/extension.hpp", + "external/sources/boost/fusion/adapted/array.hpp", + "external/sources/boost/fusion/adapted/array/at_impl.hpp", + "external/sources/boost/fusion/adapted/array/begin_impl.hpp", + "external/sources/boost/fusion/adapted/array/category_of_impl.hpp", + "external/sources/boost/fusion/adapted/array/deref_impl.hpp", + "external/sources/boost/fusion/adapted/array/end_impl.hpp", + "external/sources/boost/fusion/adapted/array/is_sequence_impl.hpp", + "external/sources/boost/fusion/adapted/array/is_view_impl.hpp", + "external/sources/boost/fusion/adapted/array/size_impl.hpp", + "external/sources/boost/fusion/adapted/array/tag_of.hpp", + "external/sources/boost/fusion/adapted/array/value_at_impl.hpp", + "external/sources/boost/fusion/adapted/array/value_of_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array.hpp", + "external/sources/boost/fusion/adapted/boost_array/array_iterator.hpp", + "external/sources/boost/fusion/adapted/boost_array/detail/at_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array/detail/begin_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array/detail/category_of_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array/detail/end_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array/detail/is_sequence_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array/detail/is_view_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array/detail/size_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array/detail/value_at_impl.hpp", + "external/sources/boost/fusion/adapted/boost_array/tag_of.hpp", + "external/sources/boost/fusion/adapted/boost_tuple.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/at_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/begin_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/category_of_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/end_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/is_sequence_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/is_view_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/size_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/detail/value_at_impl.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/mpl/clear.hpp", + "external/sources/boost/fusion/adapted/boost_tuple/tag_of.hpp", + "external/sources/boost/fusion/adapted/mpl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/at_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/begin_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/category_of_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/empty_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/end_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/has_key_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/is_sequence_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/is_view_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/size_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/detail/value_at_impl.hpp", + "external/sources/boost/fusion/adapted/mpl/mpl_iterator.hpp", + "external/sources/boost/fusion/adapted/std_array.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/array_size.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/at_impl.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/begin_impl.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/category_of_impl.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/end_impl.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/is_sequence_impl.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/is_view_impl.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/size_impl.hpp", + "external/sources/boost/fusion/adapted/std_array/detail/value_at_impl.hpp", + "external/sources/boost/fusion/adapted/std_array/std_array_iterator.hpp", + "external/sources/boost/fusion/adapted/std_array/tag_of.hpp", + "external/sources/boost/fusion/adapted/std_pair.hpp", + "external/sources/boost/fusion/adapted/std_tuple.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/at_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/begin_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/category_of_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/convert_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/end_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/is_sequence_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/is_view_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/size_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/detail/value_at_impl.hpp", + "external/sources/boost/fusion/adapted/std_tuple/mpl/clear.hpp", + "external/sources/boost/fusion/adapted/std_tuple/std_tuple_iterator.hpp", + "external/sources/boost/fusion/adapted/std_tuple/tag_of.hpp", + "external/sources/boost/fusion/adapted/struct.hpp", + "external/sources/boost/fusion/adapted/struct/adapt_assoc_struct.hpp", + "external/sources/boost/fusion/adapted/struct/adapt_assoc_struct_named.hpp", + "external/sources/boost/fusion/adapted/struct/adapt_struct.hpp", + "external/sources/boost/fusion/adapted/struct/adapt_struct_named.hpp", + "external/sources/boost/fusion/adapted/struct/define_assoc_struct.hpp", + "external/sources/boost/fusion/adapted/struct/define_struct.hpp", + "external/sources/boost/fusion/adapted/struct/define_struct_inline.hpp", + "external/sources/boost/fusion/adapted/struct/detail/adapt_auto.hpp", + "external/sources/boost/fusion/adapted/struct/detail/adapt_base.hpp", + "external/sources/boost/fusion/adapted/struct/detail/adapt_base_assoc_attr_filler.hpp", + "external/sources/boost/fusion/adapted/struct/detail/adapt_base_attr_filler.hpp", + "external/sources/boost/fusion/adapted/struct/detail/adapt_is_tpl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/at_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/begin_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/category_of_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/define_struct.hpp", + "external/sources/boost/fusion/adapted/struct/detail/define_struct_inline.hpp", + "external/sources/boost/fusion/adapted/struct/detail/deref_data_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/deref_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/end_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/extension.hpp", + "external/sources/boost/fusion/adapted/struct/detail/is_sequence_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/is_view_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/key_of_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/namespace.hpp", + "external/sources/boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp", + "external/sources/boost/fusion/adapted/struct/detail/proxy_type.hpp", + "external/sources/boost/fusion/adapted/struct/detail/size_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/value_at_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/value_of_data_impl.hpp", + "external/sources/boost/fusion/adapted/struct/detail/value_of_impl.hpp", + "external/sources/boost/fusion/algorithm.hpp", + "external/sources/boost/fusion/algorithm/auxiliary.hpp", + "external/sources/boost/fusion/algorithm/auxiliary/copy.hpp", + "external/sources/boost/fusion/algorithm/auxiliary/move.hpp", + "external/sources/boost/fusion/algorithm/iteration.hpp", + "external/sources/boost/fusion/algorithm/iteration/accumulate.hpp", + "external/sources/boost/fusion/algorithm/iteration/accumulate_fwd.hpp", + "external/sources/boost/fusion/algorithm/iteration/detail/fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/detail/for_each.hpp", + "external/sources/boost/fusion/algorithm/iteration/detail/preprocessed/fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/detail/preprocessed/iter_fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/detail/preprocessed/reverse_iter_fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/detail/segmented_fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/detail/segmented_for_each.hpp", + "external/sources/boost/fusion/algorithm/iteration/fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/fold_fwd.hpp", + "external/sources/boost/fusion/algorithm/iteration/for_each.hpp", + "external/sources/boost/fusion/algorithm/iteration/for_each_fwd.hpp", + "external/sources/boost/fusion/algorithm/iteration/iter_fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/iter_fold_fwd.hpp", + "external/sources/boost/fusion/algorithm/iteration/reverse_fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/reverse_fold_fwd.hpp", + "external/sources/boost/fusion/algorithm/iteration/reverse_iter_fold.hpp", + "external/sources/boost/fusion/algorithm/iteration/reverse_iter_fold_fwd.hpp", + "external/sources/boost/fusion/algorithm/query.hpp", + "external/sources/boost/fusion/algorithm/query/all.hpp", + "external/sources/boost/fusion/algorithm/query/any.hpp", + "external/sources/boost/fusion/algorithm/query/count.hpp", + "external/sources/boost/fusion/algorithm/query/count_if.hpp", + "external/sources/boost/fusion/algorithm/query/detail/all.hpp", + "external/sources/boost/fusion/algorithm/query/detail/any.hpp", + "external/sources/boost/fusion/algorithm/query/detail/count.hpp", + "external/sources/boost/fusion/algorithm/query/detail/count_if.hpp", + "external/sources/boost/fusion/algorithm/query/detail/find_if.hpp", + "external/sources/boost/fusion/algorithm/query/detail/segmented_find.hpp", + "external/sources/boost/fusion/algorithm/query/detail/segmented_find_if.hpp", + "external/sources/boost/fusion/algorithm/query/find.hpp", + "external/sources/boost/fusion/algorithm/query/find_fwd.hpp", + "external/sources/boost/fusion/algorithm/query/find_if.hpp", + "external/sources/boost/fusion/algorithm/query/find_if_fwd.hpp", + "external/sources/boost/fusion/algorithm/query/none.hpp", + "external/sources/boost/fusion/algorithm/transformation.hpp", + "external/sources/boost/fusion/algorithm/transformation/clear.hpp", + "external/sources/boost/fusion/algorithm/transformation/detail/preprocessed/zip.hpp", + "external/sources/boost/fusion/algorithm/transformation/detail/preprocessed/zip10.hpp", + "external/sources/boost/fusion/algorithm/transformation/detail/preprocessed/zip20.hpp", + "external/sources/boost/fusion/algorithm/transformation/detail/preprocessed/zip30.hpp", + "external/sources/boost/fusion/algorithm/transformation/detail/preprocessed/zip40.hpp", + "external/sources/boost/fusion/algorithm/transformation/detail/preprocessed/zip50.hpp", + "external/sources/boost/fusion/algorithm/transformation/detail/replace.hpp", + "external/sources/boost/fusion/algorithm/transformation/detail/replace_if.hpp", + "external/sources/boost/fusion/algorithm/transformation/erase.hpp", + "external/sources/boost/fusion/algorithm/transformation/erase_key.hpp", + "external/sources/boost/fusion/algorithm/transformation/filter.hpp", + "external/sources/boost/fusion/algorithm/transformation/filter_if.hpp", + "external/sources/boost/fusion/algorithm/transformation/flatten.hpp", + "external/sources/boost/fusion/algorithm/transformation/insert.hpp", + "external/sources/boost/fusion/algorithm/transformation/insert_range.hpp", + "external/sources/boost/fusion/algorithm/transformation/join.hpp", + "external/sources/boost/fusion/algorithm/transformation/pop_back.hpp", + "external/sources/boost/fusion/algorithm/transformation/pop_front.hpp", + "external/sources/boost/fusion/algorithm/transformation/push_back.hpp", + "external/sources/boost/fusion/algorithm/transformation/push_front.hpp", + "external/sources/boost/fusion/algorithm/transformation/remove.hpp", + "external/sources/boost/fusion/algorithm/transformation/remove_if.hpp", + "external/sources/boost/fusion/algorithm/transformation/replace.hpp", + "external/sources/boost/fusion/algorithm/transformation/replace_if.hpp", + "external/sources/boost/fusion/algorithm/transformation/reverse.hpp", + "external/sources/boost/fusion/algorithm/transformation/transform.hpp", + "external/sources/boost/fusion/algorithm/transformation/zip.hpp", + "external/sources/boost/fusion/container.hpp", + "external/sources/boost/fusion/container/deque.hpp", + "external/sources/boost/fusion/container/deque/back_extended_deque.hpp", + "external/sources/boost/fusion/container/deque/convert.hpp", + "external/sources/boost/fusion/container/deque/deque.hpp", + "external/sources/boost/fusion/container/deque/deque_fwd.hpp", + "external/sources/boost/fusion/container/deque/deque_iterator.hpp", + "external/sources/boost/fusion/container/deque/detail/at_impl.hpp", + "external/sources/boost/fusion/container/deque/detail/begin_impl.hpp", + "external/sources/boost/fusion/container/deque/detail/convert_impl.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/as_deque.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/deque.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/deque_forward_ctor.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/deque_fwd.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/deque_initial_size.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/deque_keyed_values.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/deque_keyed_values_call.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/limits.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque10.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque20.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque30.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque40.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/as_deque50.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque10_fwd.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque20_fwd.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque30_fwd.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque50_fwd.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_fwd.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size10.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size20.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size30.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size40.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_initial_size50.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values10.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values20.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values30.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values40.hpp", + "external/sources/boost/fusion/container/deque/detail/cpp03/preprocessed/deque_keyed_values50.hpp", + "external/sources/boost/fusion/container/deque/detail/deque_keyed_values.hpp", + "external/sources/boost/fusion/container/deque/detail/end_impl.hpp", + "external/sources/boost/fusion/container/deque/detail/is_sequence_impl.hpp", + "external/sources/boost/fusion/container/deque/detail/keyed_element.hpp", + "external/sources/boost/fusion/container/deque/detail/value_at_impl.hpp", + "external/sources/boost/fusion/container/deque/front_extended_deque.hpp", + "external/sources/boost/fusion/container/generation.hpp", + "external/sources/boost/fusion/container/generation/cons_tie.hpp", + "external/sources/boost/fusion/container/generation/deque_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_deque_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_list_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_make_deque.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_make_list.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_make_map.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_make_set.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_make_vector.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_map_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/pp_vector_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/deque_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/deque_tie10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/deque_tie20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/deque_tie30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/deque_tie40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/deque_tie50.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/list_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/list_tie10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/list_tie20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/list_tie30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/list_tie40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/list_tie50.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_deque.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_deque10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_deque20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_deque30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_deque40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_deque50.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_list.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_list10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_list20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_list30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_list40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_list50.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_map.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_map10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_map20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_map30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_map40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_map50.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_set.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_set10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_set20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_set30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_set40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_set50.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_vector.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_vector10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_vector20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_vector30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_vector40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/make_vector50.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/map_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/map_tie10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/map_tie20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/map_tie30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/map_tie40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/map_tie50.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/vector_tie10.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/vector_tie20.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/vector_tie30.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/vector_tie40.hpp", + "external/sources/boost/fusion/container/generation/detail/preprocessed/vector_tie50.hpp", + "external/sources/boost/fusion/container/generation/ignore.hpp", + "external/sources/boost/fusion/container/generation/list_tie.hpp", + "external/sources/boost/fusion/container/generation/make_cons.hpp", + "external/sources/boost/fusion/container/generation/make_deque.hpp", + "external/sources/boost/fusion/container/generation/make_list.hpp", + "external/sources/boost/fusion/container/generation/make_map.hpp", + "external/sources/boost/fusion/container/generation/make_set.hpp", + "external/sources/boost/fusion/container/generation/make_vector.hpp", + "external/sources/boost/fusion/container/generation/map_tie.hpp", + "external/sources/boost/fusion/container/generation/pair_tie.hpp", + "external/sources/boost/fusion/container/generation/vector_tie.hpp", + "external/sources/boost/fusion/container/list.hpp", + "external/sources/boost/fusion/container/list/cons.hpp", + "external/sources/boost/fusion/container/list/cons_fwd.hpp", + "external/sources/boost/fusion/container/list/cons_iterator.hpp", + "external/sources/boost/fusion/container/list/convert.hpp", + "external/sources/boost/fusion/container/list/detail/at_impl.hpp", + "external/sources/boost/fusion/container/list/detail/begin_impl.hpp", + "external/sources/boost/fusion/container/list/detail/convert_impl.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/limits.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/list.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/list_fwd.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/list_to_cons.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp", + "external/sources/boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp", + "external/sources/boost/fusion/container/list/detail/deref_impl.hpp", + "external/sources/boost/fusion/container/list/detail/empty_impl.hpp", + "external/sources/boost/fusion/container/list/detail/end_impl.hpp", + "external/sources/boost/fusion/container/list/detail/equal_to_impl.hpp", + "external/sources/boost/fusion/container/list/detail/list_to_cons.hpp", + "external/sources/boost/fusion/container/list/detail/next_impl.hpp", + "external/sources/boost/fusion/container/list/detail/reverse_cons.hpp", + "external/sources/boost/fusion/container/list/detail/value_at_impl.hpp", + "external/sources/boost/fusion/container/list/detail/value_of_impl.hpp", + "external/sources/boost/fusion/container/list/list.hpp", + "external/sources/boost/fusion/container/list/list_fwd.hpp", + "external/sources/boost/fusion/container/list/nil.hpp", + "external/sources/boost/fusion/container/map.hpp", + "external/sources/boost/fusion/container/map/convert.hpp", + "external/sources/boost/fusion/container/map/detail/at_impl.hpp", + "external/sources/boost/fusion/container/map/detail/at_key_impl.hpp", + "external/sources/boost/fusion/container/map/detail/begin_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/as_map.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/at_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/begin_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/convert.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/convert_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/deref_data_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/deref_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/end_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/key_of_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/limits.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/map.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/map_forward_ctor.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/map_fwd.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/as_map.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/as_map10.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/as_map20.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/as_map30.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/as_map40.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/as_map50.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map10.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map10_fwd.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map20.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map20_fwd.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map30.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map30_fwd.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map40.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map40_fwd.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map50.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map50_fwd.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/preprocessed/map_fwd.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/value_at_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/value_of_data_impl.hpp", + "external/sources/boost/fusion/container/map/detail/cpp03/value_of_impl.hpp", + "external/sources/boost/fusion/container/map/detail/end_impl.hpp", + "external/sources/boost/fusion/container/map/detail/map_impl.hpp", + "external/sources/boost/fusion/container/map/detail/map_index.hpp", + "external/sources/boost/fusion/container/map/detail/value_at_impl.hpp", + "external/sources/boost/fusion/container/map/detail/value_at_key_impl.hpp", + "external/sources/boost/fusion/container/map/map.hpp", + "external/sources/boost/fusion/container/map/map_fwd.hpp", + "external/sources/boost/fusion/container/map/map_iterator.hpp", + "external/sources/boost/fusion/container/set.hpp", + "external/sources/boost/fusion/container/set/convert.hpp", + "external/sources/boost/fusion/container/set/detail/as_set.hpp", + "external/sources/boost/fusion/container/set/detail/begin_impl.hpp", + "external/sources/boost/fusion/container/set/detail/convert_impl.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/as_set.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/limits.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/set.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp", + "external/sources/boost/fusion/container/set/detail/cpp03/set_fwd.hpp", + "external/sources/boost/fusion/container/set/detail/deref_data_impl.hpp", + "external/sources/boost/fusion/container/set/detail/deref_impl.hpp", + "external/sources/boost/fusion/container/set/detail/end_impl.hpp", + "external/sources/boost/fusion/container/set/detail/key_of_impl.hpp", + "external/sources/boost/fusion/container/set/detail/value_of_data_impl.hpp", + "external/sources/boost/fusion/container/set/detail/value_of_impl.hpp", + "external/sources/boost/fusion/container/set/set.hpp", + "external/sources/boost/fusion/container/set/set_fwd.hpp", + "external/sources/boost/fusion/container/vector.hpp", + "external/sources/boost/fusion/container/vector/convert.hpp", + "external/sources/boost/fusion/container/vector/detail/advance_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/as_vector.hpp", + "external/sources/boost/fusion/container/vector/detail/at_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/begin_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/config.hpp", + "external/sources/boost/fusion/container/vector/detail/convert_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/as_vector.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/limits.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector10.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector20.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector30.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector40.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector50.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector_n.hpp", + "external/sources/boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp", + "external/sources/boost/fusion/container/vector/detail/deref_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/distance_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/end_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/equal_to_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/next_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/prior_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/value_at_impl.hpp", + "external/sources/boost/fusion/container/vector/detail/value_of_impl.hpp", + "external/sources/boost/fusion/container/vector/vector.hpp", + "external/sources/boost/fusion/container/vector/vector10.hpp", + "external/sources/boost/fusion/container/vector/vector20.hpp", + "external/sources/boost/fusion/container/vector/vector30.hpp", + "external/sources/boost/fusion/container/vector/vector40.hpp", + "external/sources/boost/fusion/container/vector/vector50.hpp", + "external/sources/boost/fusion/container/vector/vector_fwd.hpp", + "external/sources/boost/fusion/container/vector/vector_iterator.hpp", + "external/sources/boost/fusion/functional.hpp", + "external/sources/boost/fusion/functional/adapter.hpp", + "external/sources/boost/fusion/functional/adapter/detail/access.hpp", + "external/sources/boost/fusion/functional/adapter/fused.hpp", + "external/sources/boost/fusion/functional/adapter/fused_function_object.hpp", + "external/sources/boost/fusion/functional/adapter/fused_procedure.hpp", + "external/sources/boost/fusion/functional/adapter/limits.hpp", + "external/sources/boost/fusion/functional/adapter/unfused.hpp", + "external/sources/boost/fusion/functional/adapter/unfused_typed.hpp", + "external/sources/boost/fusion/functional/generation.hpp", + "external/sources/boost/fusion/functional/generation/detail/gen_make_adapter.hpp", + "external/sources/boost/fusion/functional/generation/make_fused.hpp", + "external/sources/boost/fusion/functional/generation/make_fused_function_object.hpp", + "external/sources/boost/fusion/functional/generation/make_fused_procedure.hpp", + "external/sources/boost/fusion/functional/generation/make_unfused.hpp", + "external/sources/boost/fusion/functional/invocation.hpp", + "external/sources/boost/fusion/functional/invocation/detail/that_ptr.hpp", + "external/sources/boost/fusion/functional/invocation/invoke.hpp", + "external/sources/boost/fusion/functional/invocation/invoke_function_object.hpp", + "external/sources/boost/fusion/functional/invocation/invoke_procedure.hpp", + "external/sources/boost/fusion/functional/invocation/limits.hpp", + "external/sources/boost/fusion/include/accumulate.hpp", + "external/sources/boost/fusion/include/adapt_adt.hpp", + "external/sources/boost/fusion/include/adapt_adt_named.hpp", + "external/sources/boost/fusion/include/adapt_assoc_adt.hpp", + "external/sources/boost/fusion/include/adapt_assoc_adt_named.hpp", + "external/sources/boost/fusion/include/adapt_assoc_struct.hpp", + "external/sources/boost/fusion/include/adapt_assoc_struct_named.hpp", + "external/sources/boost/fusion/include/adapt_struct.hpp", + "external/sources/boost/fusion/include/adapt_struct_named.hpp", + "external/sources/boost/fusion/include/adapted.hpp", + "external/sources/boost/fusion/include/adapter.hpp", + "external/sources/boost/fusion/include/advance.hpp", + "external/sources/boost/fusion/include/algorithm.hpp", + "external/sources/boost/fusion/include/all.hpp", + "external/sources/boost/fusion/include/any.hpp", + "external/sources/boost/fusion/include/array.hpp", + "external/sources/boost/fusion/include/as_deque.hpp", + "external/sources/boost/fusion/include/as_list.hpp", + "external/sources/boost/fusion/include/as_map.hpp", + "external/sources/boost/fusion/include/as_set.hpp", + "external/sources/boost/fusion/include/as_vector.hpp", + "external/sources/boost/fusion/include/at.hpp", + "external/sources/boost/fusion/include/at_c.hpp", + "external/sources/boost/fusion/include/at_key.hpp", + "external/sources/boost/fusion/include/auxiliary.hpp", + "external/sources/boost/fusion/include/back.hpp", + "external/sources/boost/fusion/include/begin.hpp", + "external/sources/boost/fusion/include/boost_array.hpp", + "external/sources/boost/fusion/include/boost_tuple.hpp", + "external/sources/boost/fusion/include/category_of.hpp", + "external/sources/boost/fusion/include/clear.hpp", + "external/sources/boost/fusion/include/comparison.hpp", + "external/sources/boost/fusion/include/cons.hpp", + "external/sources/boost/fusion/include/cons_tie.hpp", + "external/sources/boost/fusion/include/container.hpp", + "external/sources/boost/fusion/include/convert.hpp", + "external/sources/boost/fusion/include/copy.hpp", + "external/sources/boost/fusion/include/count.hpp", + "external/sources/boost/fusion/include/count_if.hpp", + "external/sources/boost/fusion/include/deduce.hpp", + "external/sources/boost/fusion/include/deduce_sequence.hpp", + "external/sources/boost/fusion/include/define_assoc_struct.hpp", + "external/sources/boost/fusion/include/define_struct.hpp", + "external/sources/boost/fusion/include/define_struct_inline.hpp", + "external/sources/boost/fusion/include/deque.hpp", + "external/sources/boost/fusion/include/deque_fwd.hpp", + "external/sources/boost/fusion/include/deque_tie.hpp", + "external/sources/boost/fusion/include/deref.hpp", + "external/sources/boost/fusion/include/deref_data.hpp", + "external/sources/boost/fusion/include/distance.hpp", + "external/sources/boost/fusion/include/empty.hpp", + "external/sources/boost/fusion/include/end.hpp", + "external/sources/boost/fusion/include/equal_to.hpp", + "external/sources/boost/fusion/include/erase.hpp", + "external/sources/boost/fusion/include/erase_key.hpp", + "external/sources/boost/fusion/include/filter.hpp", + "external/sources/boost/fusion/include/filter_if.hpp", + "external/sources/boost/fusion/include/filter_view.hpp", + "external/sources/boost/fusion/include/find.hpp", + "external/sources/boost/fusion/include/find_if.hpp", + "external/sources/boost/fusion/include/flatten.hpp", + "external/sources/boost/fusion/include/flatten_view.hpp", + "external/sources/boost/fusion/include/fold.hpp", + "external/sources/boost/fusion/include/for_each.hpp", + "external/sources/boost/fusion/include/front.hpp", + "external/sources/boost/fusion/include/functional.hpp", + "external/sources/boost/fusion/include/fused.hpp", + "external/sources/boost/fusion/include/fused_function_object.hpp", + "external/sources/boost/fusion/include/fused_procedure.hpp", + "external/sources/boost/fusion/include/generation.hpp", + "external/sources/boost/fusion/include/greater.hpp", + "external/sources/boost/fusion/include/greater_equal.hpp", + "external/sources/boost/fusion/include/has_key.hpp", + "external/sources/boost/fusion/include/hash.hpp", + "external/sources/boost/fusion/include/ignore.hpp", + "external/sources/boost/fusion/include/in.hpp", + "external/sources/boost/fusion/include/insert.hpp", + "external/sources/boost/fusion/include/insert_range.hpp", + "external/sources/boost/fusion/include/intrinsic.hpp", + "external/sources/boost/fusion/include/invocation.hpp", + "external/sources/boost/fusion/include/invoke.hpp", + "external/sources/boost/fusion/include/invoke_function_object.hpp", + "external/sources/boost/fusion/include/invoke_procedure.hpp", + "external/sources/boost/fusion/include/io.hpp", + "external/sources/boost/fusion/include/is_iterator.hpp", + "external/sources/boost/fusion/include/is_segmented.hpp", + "external/sources/boost/fusion/include/is_sequence.hpp", + "external/sources/boost/fusion/include/is_view.hpp", + "external/sources/boost/fusion/include/iter_fold.hpp", + "external/sources/boost/fusion/include/iteration.hpp", + "external/sources/boost/fusion/include/iterator.hpp", + "external/sources/boost/fusion/include/iterator_adapter.hpp", + "external/sources/boost/fusion/include/iterator_base.hpp", + "external/sources/boost/fusion/include/iterator_facade.hpp", + "external/sources/boost/fusion/include/iterator_range.hpp", + "external/sources/boost/fusion/include/join.hpp", + "external/sources/boost/fusion/include/joint_view.hpp", + "external/sources/boost/fusion/include/key_of.hpp", + "external/sources/boost/fusion/include/less.hpp", + "external/sources/boost/fusion/include/less_equal.hpp", + "external/sources/boost/fusion/include/list.hpp", + "external/sources/boost/fusion/include/list_fwd.hpp", + "external/sources/boost/fusion/include/list_tie.hpp", + "external/sources/boost/fusion/include/make_cons.hpp", + "external/sources/boost/fusion/include/make_deque.hpp", + "external/sources/boost/fusion/include/make_fused.hpp", + "external/sources/boost/fusion/include/make_fused_function_object.hpp", + "external/sources/boost/fusion/include/make_fused_procedure.hpp", + "external/sources/boost/fusion/include/make_list.hpp", + "external/sources/boost/fusion/include/make_map.hpp", + "external/sources/boost/fusion/include/make_set.hpp", + "external/sources/boost/fusion/include/make_tuple.hpp", + "external/sources/boost/fusion/include/make_unfused.hpp", + "external/sources/boost/fusion/include/make_vector.hpp", + "external/sources/boost/fusion/include/map.hpp", + "external/sources/boost/fusion/include/map_fwd.hpp", + "external/sources/boost/fusion/include/map_tie.hpp", + "external/sources/boost/fusion/include/move.hpp", + "external/sources/boost/fusion/include/mpl.hpp", + "external/sources/boost/fusion/include/next.hpp", + "external/sources/boost/fusion/include/nil.hpp", + "external/sources/boost/fusion/include/none.hpp", + "external/sources/boost/fusion/include/not_equal_to.hpp", + "external/sources/boost/fusion/include/nview.hpp", + "external/sources/boost/fusion/include/out.hpp", + "external/sources/boost/fusion/include/pair.hpp", + "external/sources/boost/fusion/include/pair_tie.hpp", + "external/sources/boost/fusion/include/pop_back.hpp", + "external/sources/boost/fusion/include/pop_front.hpp", + "external/sources/boost/fusion/include/prior.hpp", + "external/sources/boost/fusion/include/proxy_type.hpp", + "external/sources/boost/fusion/include/push_back.hpp", + "external/sources/boost/fusion/include/push_front.hpp", + "external/sources/boost/fusion/include/query.hpp", + "external/sources/boost/fusion/include/remove.hpp", + "external/sources/boost/fusion/include/remove_if.hpp", + "external/sources/boost/fusion/include/repetitive_view.hpp", + "external/sources/boost/fusion/include/replace.hpp", + "external/sources/boost/fusion/include/replace_if.hpp", + "external/sources/boost/fusion/include/reverse.hpp", + "external/sources/boost/fusion/include/reverse_fold.hpp", + "external/sources/boost/fusion/include/reverse_iter_fold.hpp", + "external/sources/boost/fusion/include/reverse_view.hpp", + "external/sources/boost/fusion/include/segmented_fold_until.hpp", + "external/sources/boost/fusion/include/segmented_iterator.hpp", + "external/sources/boost/fusion/include/segments.hpp", + "external/sources/boost/fusion/include/sequence.hpp", + "external/sources/boost/fusion/include/sequence_base.hpp", + "external/sources/boost/fusion/include/sequence_facade.hpp", + "external/sources/boost/fusion/include/set.hpp", + "external/sources/boost/fusion/include/set_fwd.hpp", + "external/sources/boost/fusion/include/single_view.hpp", + "external/sources/boost/fusion/include/size.hpp", + "external/sources/boost/fusion/include/std_array.hpp", + "external/sources/boost/fusion/include/std_pair.hpp", + "external/sources/boost/fusion/include/std_tuple.hpp", + "external/sources/boost/fusion/include/struct.hpp", + "external/sources/boost/fusion/include/support.hpp", + "external/sources/boost/fusion/include/swap.hpp", + "external/sources/boost/fusion/include/tag_of.hpp", + "external/sources/boost/fusion/include/tag_of_fwd.hpp", + "external/sources/boost/fusion/include/transform.hpp", + "external/sources/boost/fusion/include/transform_view.hpp", + "external/sources/boost/fusion/include/transformation.hpp", + "external/sources/boost/fusion/include/tuple.hpp", + "external/sources/boost/fusion/include/tuple_fwd.hpp", + "external/sources/boost/fusion/include/tuple_tie.hpp", + "external/sources/boost/fusion/include/unfused.hpp", + "external/sources/boost/fusion/include/unfused_typed.hpp", + "external/sources/boost/fusion/include/unused.hpp", + "external/sources/boost/fusion/include/value_at.hpp", + "external/sources/boost/fusion/include/value_at_key.hpp", + "external/sources/boost/fusion/include/value_of.hpp", + "external/sources/boost/fusion/include/value_of_data.hpp", + "external/sources/boost/fusion/include/vector.hpp", + "external/sources/boost/fusion/include/vector10.hpp", + "external/sources/boost/fusion/include/vector20.hpp", + "external/sources/boost/fusion/include/vector30.hpp", + "external/sources/boost/fusion/include/vector40.hpp", + "external/sources/boost/fusion/include/vector50.hpp", + "external/sources/boost/fusion/include/vector_fwd.hpp", + "external/sources/boost/fusion/include/vector_tie.hpp", + "external/sources/boost/fusion/include/view.hpp", + "external/sources/boost/fusion/include/void.hpp", + "external/sources/boost/fusion/include/zip.hpp", + "external/sources/boost/fusion/include/zip_view.hpp", + "external/sources/boost/fusion/iterator.hpp", + "external/sources/boost/fusion/iterator/advance.hpp", + "external/sources/boost/fusion/iterator/basic_iterator.hpp", + "external/sources/boost/fusion/iterator/deref.hpp", + "external/sources/boost/fusion/iterator/deref_data.hpp", + "external/sources/boost/fusion/iterator/detail/adapt_deref_traits.hpp", + "external/sources/boost/fusion/iterator/detail/adapt_value_traits.hpp", + "external/sources/boost/fusion/iterator/detail/advance.hpp", + "external/sources/boost/fusion/iterator/detail/distance.hpp", + "external/sources/boost/fusion/iterator/detail/segment_sequence.hpp", + "external/sources/boost/fusion/iterator/detail/segmented_equal_to.hpp", + "external/sources/boost/fusion/iterator/detail/segmented_iterator.hpp", + "external/sources/boost/fusion/iterator/detail/segmented_next_impl.hpp", + "external/sources/boost/fusion/iterator/distance.hpp", + "external/sources/boost/fusion/iterator/equal_to.hpp", + "external/sources/boost/fusion/iterator/iterator_adapter.hpp", + "external/sources/boost/fusion/iterator/iterator_facade.hpp", + "external/sources/boost/fusion/iterator/key_of.hpp", + "external/sources/boost/fusion/iterator/mpl.hpp", + "external/sources/boost/fusion/iterator/mpl/convert_iterator.hpp", + "external/sources/boost/fusion/iterator/mpl/fusion_iterator.hpp", + "external/sources/boost/fusion/iterator/next.hpp", + "external/sources/boost/fusion/iterator/prior.hpp", + "external/sources/boost/fusion/iterator/segmented_iterator.hpp", + "external/sources/boost/fusion/iterator/value_of.hpp", + "external/sources/boost/fusion/iterator/value_of_data.hpp", + "external/sources/boost/fusion/mpl.hpp", + "external/sources/boost/fusion/mpl/at.hpp", + "external/sources/boost/fusion/mpl/back.hpp", + "external/sources/boost/fusion/mpl/begin.hpp", + "external/sources/boost/fusion/mpl/clear.hpp", + "external/sources/boost/fusion/mpl/detail/clear.hpp", + "external/sources/boost/fusion/mpl/empty.hpp", + "external/sources/boost/fusion/mpl/end.hpp", + "external/sources/boost/fusion/mpl/erase.hpp", + "external/sources/boost/fusion/mpl/erase_key.hpp", + "external/sources/boost/fusion/mpl/front.hpp", + "external/sources/boost/fusion/mpl/has_key.hpp", + "external/sources/boost/fusion/mpl/insert.hpp", + "external/sources/boost/fusion/mpl/insert_range.hpp", + "external/sources/boost/fusion/mpl/pop_back.hpp", + "external/sources/boost/fusion/mpl/pop_front.hpp", + "external/sources/boost/fusion/mpl/push_back.hpp", + "external/sources/boost/fusion/mpl/push_front.hpp", + "external/sources/boost/fusion/mpl/size.hpp", + "external/sources/boost/fusion/sequence.hpp", + "external/sources/boost/fusion/sequence/comparison.hpp", + "external/sources/boost/fusion/sequence/comparison/detail/equal_to.hpp", + "external/sources/boost/fusion/sequence/comparison/detail/greater.hpp", + "external/sources/boost/fusion/sequence/comparison/detail/greater_equal.hpp", + "external/sources/boost/fusion/sequence/comparison/detail/less.hpp", + "external/sources/boost/fusion/sequence/comparison/detail/less_equal.hpp", + "external/sources/boost/fusion/sequence/comparison/detail/not_equal_to.hpp", + "external/sources/boost/fusion/sequence/comparison/enable_comparison.hpp", + "external/sources/boost/fusion/sequence/comparison/equal_to.hpp", + "external/sources/boost/fusion/sequence/comparison/greater.hpp", + "external/sources/boost/fusion/sequence/comparison/greater_equal.hpp", + "external/sources/boost/fusion/sequence/comparison/less.hpp", + "external/sources/boost/fusion/sequence/comparison/less_equal.hpp", + "external/sources/boost/fusion/sequence/comparison/not_equal_to.hpp", + "external/sources/boost/fusion/sequence/convert.hpp", + "external/sources/boost/fusion/sequence/hash.hpp", + "external/sources/boost/fusion/sequence/intrinsic.hpp", + "external/sources/boost/fusion/sequence/intrinsic/at.hpp", + "external/sources/boost/fusion/sequence/intrinsic/at_c.hpp", + "external/sources/boost/fusion/sequence/intrinsic/at_key.hpp", + "external/sources/boost/fusion/sequence/intrinsic/back.hpp", + "external/sources/boost/fusion/sequence/intrinsic/begin.hpp", + "external/sources/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp", + "external/sources/boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp", + "external/sources/boost/fusion/sequence/intrinsic/detail/segmented_end.hpp", + "external/sources/boost/fusion/sequence/intrinsic/detail/segmented_end_impl.hpp", + "external/sources/boost/fusion/sequence/intrinsic/detail/segmented_size.hpp", + "external/sources/boost/fusion/sequence/intrinsic/empty.hpp", + "external/sources/boost/fusion/sequence/intrinsic/end.hpp", + "external/sources/boost/fusion/sequence/intrinsic/front.hpp", + "external/sources/boost/fusion/sequence/intrinsic/has_key.hpp", + "external/sources/boost/fusion/sequence/intrinsic/segments.hpp", + "external/sources/boost/fusion/sequence/intrinsic/size.hpp", + "external/sources/boost/fusion/sequence/intrinsic/swap.hpp", + "external/sources/boost/fusion/sequence/intrinsic/value_at.hpp", + "external/sources/boost/fusion/sequence/intrinsic/value_at_key.hpp", + "external/sources/boost/fusion/sequence/intrinsic_fwd.hpp", + "external/sources/boost/fusion/sequence/io.hpp", + "external/sources/boost/fusion/sequence/io/detail/in.hpp", + "external/sources/boost/fusion/sequence/io/detail/manip.hpp", + "external/sources/boost/fusion/sequence/io/detail/out.hpp", + "external/sources/boost/fusion/sequence/io/in.hpp", + "external/sources/boost/fusion/sequence/io/out.hpp", + "external/sources/boost/fusion/sequence/sequence_facade.hpp", + "external/sources/boost/fusion/support.hpp", + "external/sources/boost/fusion/support/as_const.hpp", + "external/sources/boost/fusion/support/category_of.hpp", + "external/sources/boost/fusion/support/config.hpp", + "external/sources/boost/fusion/support/deduce.hpp", + "external/sources/boost/fusion/support/deduce_sequence.hpp", + "external/sources/boost/fusion/support/detail/access.hpp", + "external/sources/boost/fusion/support/detail/and.hpp", + "external/sources/boost/fusion/support/detail/as_fusion_element.hpp", + "external/sources/boost/fusion/support/detail/enabler.hpp", + "external/sources/boost/fusion/support/detail/index_sequence.hpp", + "external/sources/boost/fusion/support/detail/is_mpl_sequence.hpp", + "external/sources/boost/fusion/support/detail/is_native_fusion_sequence.hpp", + "external/sources/boost/fusion/support/detail/is_same_size.hpp", + "external/sources/boost/fusion/support/detail/mpl_iterator_category.hpp", + "external/sources/boost/fusion/support/detail/pp_round.hpp", + "external/sources/boost/fusion/support/detail/segmented_fold_until_impl.hpp", + "external/sources/boost/fusion/support/is_iterator.hpp", + "external/sources/boost/fusion/support/is_segmented.hpp", + "external/sources/boost/fusion/support/is_sequence.hpp", + "external/sources/boost/fusion/support/is_view.hpp", + "external/sources/boost/fusion/support/iterator_base.hpp", + "external/sources/boost/fusion/support/pair.hpp", + "external/sources/boost/fusion/support/segmented_fold_until.hpp", + "external/sources/boost/fusion/support/sequence_base.hpp", + "external/sources/boost/fusion/support/tag_of.hpp", + "external/sources/boost/fusion/support/tag_of_fwd.hpp", + "external/sources/boost/fusion/support/unused.hpp", + "external/sources/boost/fusion/support/void.hpp", + "external/sources/boost/fusion/tuple.hpp", + "external/sources/boost/fusion/tuple/detail/make_tuple.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/make_tuple.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/make_tuple10.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/make_tuple20.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/make_tuple30.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/make_tuple40.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/make_tuple50.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple10.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple10_fwd.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple20.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple20_fwd.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple30.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple30_fwd.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple40.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple40_fwd.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple50.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple50_fwd.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple_tie10.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple_tie20.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple_tie30.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple_tie40.hpp", + "external/sources/boost/fusion/tuple/detail/preprocessed/tuple_tie50.hpp", + "external/sources/boost/fusion/tuple/detail/tuple.hpp", + "external/sources/boost/fusion/tuple/detail/tuple_expand.hpp", + "external/sources/boost/fusion/tuple/detail/tuple_fwd.hpp", + "external/sources/boost/fusion/tuple/detail/tuple_tie.hpp", + "external/sources/boost/fusion/tuple/make_tuple.hpp", + "external/sources/boost/fusion/tuple/tuple.hpp", + "external/sources/boost/fusion/tuple/tuple_fwd.hpp", + "external/sources/boost/fusion/tuple/tuple_tie.hpp", + "external/sources/boost/fusion/view.hpp", + "external/sources/boost/fusion/view/detail/strictest_traversal.hpp", + "external/sources/boost/fusion/view/filter_view.hpp", + "external/sources/boost/fusion/view/filter_view/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/deref_data_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/deref_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/end_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/equal_to_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/key_of_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/next_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/size_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/value_of_data_impl.hpp", + "external/sources/boost/fusion/view/filter_view/detail/value_of_impl.hpp", + "external/sources/boost/fusion/view/filter_view/filter_view.hpp", + "external/sources/boost/fusion/view/filter_view/filter_view_iterator.hpp", + "external/sources/boost/fusion/view/flatten_view.hpp", + "external/sources/boost/fusion/view/flatten_view/flatten_view.hpp", + "external/sources/boost/fusion/view/flatten_view/flatten_view_iterator.hpp", + "external/sources/boost/fusion/view/iterator_range.hpp", + "external/sources/boost/fusion/view/iterator_range/detail/at_impl.hpp", + "external/sources/boost/fusion/view/iterator_range/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/iterator_range/detail/end_impl.hpp", + "external/sources/boost/fusion/view/iterator_range/detail/is_segmented_impl.hpp", + "external/sources/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp", + "external/sources/boost/fusion/view/iterator_range/detail/segments_impl.hpp", + "external/sources/boost/fusion/view/iterator_range/detail/size_impl.hpp", + "external/sources/boost/fusion/view/iterator_range/detail/value_at_impl.hpp", + "external/sources/boost/fusion/view/iterator_range/iterator_range.hpp", + "external/sources/boost/fusion/view/joint_view.hpp", + "external/sources/boost/fusion/view/joint_view/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/joint_view/detail/deref_data_impl.hpp", + "external/sources/boost/fusion/view/joint_view/detail/deref_impl.hpp", + "external/sources/boost/fusion/view/joint_view/detail/end_impl.hpp", + "external/sources/boost/fusion/view/joint_view/detail/key_of_impl.hpp", + "external/sources/boost/fusion/view/joint_view/detail/next_impl.hpp", + "external/sources/boost/fusion/view/joint_view/detail/value_of_data_impl.hpp", + "external/sources/boost/fusion/view/joint_view/detail/value_of_impl.hpp", + "external/sources/boost/fusion/view/joint_view/joint_view.hpp", + "external/sources/boost/fusion/view/joint_view/joint_view_fwd.hpp", + "external/sources/boost/fusion/view/joint_view/joint_view_iterator.hpp", + "external/sources/boost/fusion/view/nview.hpp", + "external/sources/boost/fusion/view/nview/detail/advance_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/at_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/cpp03/nview_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/deref_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/distance_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/end_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/equal_to_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/next_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/nview_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/prior_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/size_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/value_at_impl.hpp", + "external/sources/boost/fusion/view/nview/detail/value_of_impl.hpp", + "external/sources/boost/fusion/view/nview/nview.hpp", + "external/sources/boost/fusion/view/nview/nview_iterator.hpp", + "external/sources/boost/fusion/view/repetitive_view.hpp", + "external/sources/boost/fusion/view/repetitive_view/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/repetitive_view/detail/deref_impl.hpp", + "external/sources/boost/fusion/view/repetitive_view/detail/end_impl.hpp", + "external/sources/boost/fusion/view/repetitive_view/detail/next_impl.hpp", + "external/sources/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp", + "external/sources/boost/fusion/view/repetitive_view/repetitive_view.hpp", + "external/sources/boost/fusion/view/repetitive_view/repetitive_view_fwd.hpp", + "external/sources/boost/fusion/view/repetitive_view/repetitive_view_iterator.hpp", + "external/sources/boost/fusion/view/reverse_view.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/advance_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/at_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/deref_data_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/deref_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/distance_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/end_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/key_of_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/next_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/prior_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/value_at_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/value_of_data_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/detail/value_of_impl.hpp", + "external/sources/boost/fusion/view/reverse_view/reverse_view.hpp", + "external/sources/boost/fusion/view/reverse_view/reverse_view_iterator.hpp", + "external/sources/boost/fusion/view/single_view.hpp", + "external/sources/boost/fusion/view/single_view/detail/advance_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/at_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/deref_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/distance_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/end_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/equal_to_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/next_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/prior_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/size_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/value_at_impl.hpp", + "external/sources/boost/fusion/view/single_view/detail/value_of_impl.hpp", + "external/sources/boost/fusion/view/single_view/single_view.hpp", + "external/sources/boost/fusion/view/single_view/single_view_iterator.hpp", + "external/sources/boost/fusion/view/transform_view.hpp", + "external/sources/boost/fusion/view/transform_view/detail/advance_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/at_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/deref_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/distance_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/end_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/equal_to_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/next_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/prior_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/value_at_impl.hpp", + "external/sources/boost/fusion/view/transform_view/detail/value_of_impl.hpp", + "external/sources/boost/fusion/view/transform_view/transform_view.hpp", + "external/sources/boost/fusion/view/transform_view/transform_view_fwd.hpp", + "external/sources/boost/fusion/view/transform_view/transform_view_iterator.hpp", + "external/sources/boost/fusion/view/zip_view.hpp", + "external/sources/boost/fusion/view/zip_view/detail/advance_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/at_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/begin_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/deref_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/distance_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/end_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/equal_to_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/next_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/prior_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/size_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/value_at_impl.hpp", + "external/sources/boost/fusion/view/zip_view/detail/value_of_impl.hpp", + "external/sources/boost/fusion/view/zip_view/zip_view.hpp", + "external/sources/boost/fusion/view/zip_view/zip_view_iterator.hpp", + "external/sources/boost/fusion/view/zip_view/zip_view_iterator_fwd.hpp", + "external/sources/boost/generator_iterator.hpp", + "external/sources/boost/geometry.hpp", + "external/sources/boost/geometry/algorithms/append.hpp", + "external/sources/boost/geometry/algorithms/area.hpp", + "external/sources/boost/geometry/algorithms/assign.hpp", + "external/sources/boost/geometry/algorithms/buffer.hpp", + "external/sources/boost/geometry/algorithms/centroid.hpp", + "external/sources/boost/geometry/algorithms/clear.hpp", + "external/sources/boost/geometry/algorithms/comparable_distance.hpp", + "external/sources/boost/geometry/algorithms/convert.hpp", + "external/sources/boost/geometry/algorithms/convex_hull.hpp", + "external/sources/boost/geometry/algorithms/correct.hpp", + "external/sources/boost/geometry/algorithms/correct_closure.hpp", + "external/sources/boost/geometry/algorithms/covered_by.hpp", + "external/sources/boost/geometry/algorithms/crosses.hpp", + "external/sources/boost/geometry/algorithms/densify.hpp", + "external/sources/boost/geometry/algorithms/detail/as_range.hpp", + "external/sources/boost/geometry/algorithms/detail/assign_box_corners.hpp", + "external/sources/boost/geometry/algorithms/detail/assign_indexed_point.hpp", + "external/sources/boost/geometry/algorithms/detail/assign_values.hpp", + "external/sources/boost/geometry/algorithms/detail/azimuth.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/buffer_box.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/buffer_policies.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/buffered_ring.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/line_line_intersection.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/piece_border.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/turn_in_original_visitor.hpp", + "external/sources/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp", + "external/sources/boost/geometry/algorithms/detail/calculate_null.hpp", + "external/sources/boost/geometry/algorithms/detail/calculate_point_order.hpp", + "external/sources/boost/geometry/algorithms/detail/calculate_sum.hpp", + "external/sources/boost/geometry/algorithms/detail/centroid/translating_transformer.hpp", + "external/sources/boost/geometry/algorithms/detail/check_iterator_range.hpp", + "external/sources/boost/geometry/algorithms/detail/closest_feature/geometry_to_range.hpp", + "external/sources/boost/geometry/algorithms/detail/closest_feature/point_to_range.hpp", + "external/sources/boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp", + "external/sources/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/comparable_distance/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/convert_indexed_to_indexed.hpp", + "external/sources/boost/geometry/algorithms/detail/convert_point_to_point.hpp", + "external/sources/boost/geometry/algorithms/detail/counting.hpp", + "external/sources/boost/geometry/algorithms/detail/course.hpp", + "external/sources/boost/geometry/algorithms/detail/covered_by/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/covered_by/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/direction_code.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/areal_areal.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/box_box.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/linear_linear.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/linear_segment_or_box.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/multipoint_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/multirange_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/point_box.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/point_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/point_point.hpp", + "external/sources/boost/geometry/algorithms/detail/disjoint/segment_box.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/backward_compatibility.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/box_to_box.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/default_strategies.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/geometry_to_segment_or_box.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/is_comparable.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/iterator_selector.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/linear_or_areal_to_areal.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/linear_to_box.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/linear_to_linear.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/multipoint_to_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/segment_to_box.hpp", + "external/sources/boost/geometry/algorithms/detail/distance/segment_to_segment.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/areal.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/box.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/initialize.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/intersects_antimeridian.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/linear.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/multipoint.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/point.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/range.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/range_of_boxes.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/segment.hpp", + "external/sources/boost/geometry/algorithms/detail/envelope/transform_units.hpp", + "external/sources/boost/geometry/algorithms/detail/equals/collect_vectors.hpp", + "external/sources/boost/geometry/algorithms/detail/equals/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/equals/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/equals/point_point.hpp", + "external/sources/boost/geometry/algorithms/detail/expand/box.hpp", + "external/sources/boost/geometry/algorithms/detail/expand/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/expand/indexed.hpp", + "external/sources/boost/geometry/algorithms/detail/expand/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/expand/point.hpp", + "external/sources/boost/geometry/algorithms/detail/expand/segment.hpp", + "external/sources/boost/geometry/algorithms/detail/expand_by_epsilon.hpp", + "external/sources/boost/geometry/algorithms/detail/extreme_points.hpp", + "external/sources/boost/geometry/algorithms/detail/for_each_range.hpp", + "external/sources/boost/geometry/algorithms/detail/get_max_size.hpp", + "external/sources/boost/geometry/algorithms/detail/has_self_intersections.hpp", + "external/sources/boost/geometry/algorithms/detail/interior_iterator.hpp", + "external/sources/boost/geometry/algorithms/detail/intersection/areal_areal.hpp", + "external/sources/boost/geometry/algorithms/detail/intersection/box_box.hpp", + "external/sources/boost/geometry/algorithms/detail/intersection/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/intersection/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/intersection/multi.hpp", + "external/sources/boost/geometry/algorithms/detail/intersects/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/intersects/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/is_simple/always_simple.hpp", + "external/sources/boost/geometry/algorithms/detail/is_simple/areal.hpp", + "external/sources/boost/geometry/algorithms/detail/is_simple/debug_print_boundary_points.hpp", + "external/sources/boost/geometry/algorithms/detail/is_simple/failure_policy.hpp", + "external/sources/boost/geometry/algorithms/detail/is_simple/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/is_simple/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/is_simple/linear.hpp", + "external/sources/boost/geometry/algorithms/detail/is_simple/multipoint.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/box.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/complement_graph.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/debug_complement_graph.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/debug_print_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/debug_validity_phase.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/has_duplicates.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/has_invalid_coordinate.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/has_spikes.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/has_valid_self_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/is_acceptable_turn.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/linear.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/multipolygon.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/pointlike.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/polygon.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/ring.hpp", + "external/sources/boost/geometry/algorithms/detail/is_valid/segment.hpp", + "external/sources/boost/geometry/algorithms/detail/make/make.hpp", + "external/sources/boost/geometry/algorithms/detail/max_interval_gap.hpp", + "external/sources/boost/geometry/algorithms/detail/multi_modify.hpp", + "external/sources/boost/geometry/algorithms/detail/multi_modify_with_predicate.hpp", + "external/sources/boost/geometry/algorithms/detail/multi_sum.hpp", + "external/sources/boost/geometry/algorithms/detail/normalize.hpp", + "external/sources/boost/geometry/algorithms/detail/not.hpp", + "external/sources/boost/geometry/algorithms/detail/num_distinct_consecutive_points.hpp", + "external/sources/boost/geometry/algorithms/detail/overlaps/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/overlaps/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/add_rings.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/append_no_duplicates.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/append_no_dups_or_spikes.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/assign_parents.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/backtrack_check_si.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/check_enrich.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/clip_linestring.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/cluster_exits.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/cluster_info.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/convert_ring.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/copy_segments.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/debug_turn_info.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/do_reverse.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/follow.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/follow_linear_linear.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_distance_measure.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_relative_order.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_ring.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/get_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/handle_colocations.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/handle_self_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/inconsistent_turns_exception.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/intersection_box_box.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/intersection_insert.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/is_self_turn.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/less_by_segment_ratio.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/linear_linear.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/needs_self_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/overlay.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/overlay_type.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/pointlike_areal.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/pointlike_pointlike.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/range_in_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/ring_properties.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/segment_as_subrange.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/segment_identifier.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/select_rings.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/self_turn_points.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/sort_by_side.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/stream_info.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/traversal.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/traversal_info.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/traversal_ring_creator.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/traversal_switch_detector.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/traverse.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/turn_info.hpp", + "external/sources/boost/geometry/algorithms/detail/overlay/visit_info.hpp", + "external/sources/boost/geometry/algorithms/detail/partition.hpp", + "external/sources/boost/geometry/algorithms/detail/point_is_spike_or_equal.hpp", + "external/sources/boost/geometry/algorithms/detail/point_on_border.hpp", + "external/sources/boost/geometry/algorithms/detail/recalculate.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/areal_areal.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/boundary_checker.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/de9im.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/follow_helpers.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/linear_areal.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/linear_linear.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/multi_point_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/point_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/point_point.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/relate_impl.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/result.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/topology_check.hpp", + "external/sources/boost/geometry/algorithms/detail/relate/turns.hpp", + "external/sources/boost/geometry/algorithms/detail/relation/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/relation/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/ring_identifier.hpp", + "external/sources/boost/geometry/algorithms/detail/sections/range_by_section.hpp", + "external/sources/boost/geometry/algorithms/detail/sections/section_box_policies.hpp", + "external/sources/boost/geometry/algorithms/detail/sections/section_functions.hpp", + "external/sources/boost/geometry/algorithms/detail/sections/sectionalize.hpp", + "external/sources/boost/geometry/algorithms/detail/signed_size_type.hpp", + "external/sources/boost/geometry/algorithms/detail/single_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/sub_range.hpp", + "external/sources/boost/geometry/algorithms/detail/sweep.hpp", + "external/sources/boost/geometry/algorithms/detail/throw_on_empty_input.hpp", + "external/sources/boost/geometry/algorithms/detail/touches/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/touches/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/tupled_output.hpp", + "external/sources/boost/geometry/algorithms/detail/turns/compare_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/turns/debug_turn.hpp", + "external/sources/boost/geometry/algorithms/detail/turns/filter_continue_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/turns/print_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/turns/remove_duplicate_turns.hpp", + "external/sources/boost/geometry/algorithms/detail/within/implementation.hpp", + "external/sources/boost/geometry/algorithms/detail/within/interface.hpp", + "external/sources/boost/geometry/algorithms/detail/within/multi_point.hpp", + "external/sources/boost/geometry/algorithms/detail/within/point_in_geometry.hpp", + "external/sources/boost/geometry/algorithms/detail/within/within_no_turns.hpp", + "external/sources/boost/geometry/algorithms/difference.hpp", + "external/sources/boost/geometry/algorithms/discrete_frechet_distance.hpp", + "external/sources/boost/geometry/algorithms/discrete_hausdorff_distance.hpp", + "external/sources/boost/geometry/algorithms/disjoint.hpp", + "external/sources/boost/geometry/algorithms/dispatch/disjoint.hpp", + "external/sources/boost/geometry/algorithms/dispatch/distance.hpp", + "external/sources/boost/geometry/algorithms/dispatch/envelope.hpp", + "external/sources/boost/geometry/algorithms/dispatch/expand.hpp", + "external/sources/boost/geometry/algorithms/dispatch/is_simple.hpp", + "external/sources/boost/geometry/algorithms/dispatch/is_valid.hpp", + "external/sources/boost/geometry/algorithms/distance.hpp", + "external/sources/boost/geometry/algorithms/envelope.hpp", + "external/sources/boost/geometry/algorithms/equals.hpp", + "external/sources/boost/geometry/algorithms/expand.hpp", + "external/sources/boost/geometry/algorithms/for_each.hpp", + "external/sources/boost/geometry/algorithms/intersection.hpp", + "external/sources/boost/geometry/algorithms/intersects.hpp", + "external/sources/boost/geometry/algorithms/is_convex.hpp", + "external/sources/boost/geometry/algorithms/is_empty.hpp", + "external/sources/boost/geometry/algorithms/is_simple.hpp", + "external/sources/boost/geometry/algorithms/is_valid.hpp", + "external/sources/boost/geometry/algorithms/length.hpp", + "external/sources/boost/geometry/algorithms/line_interpolate.hpp", + "external/sources/boost/geometry/algorithms/make.hpp", + "external/sources/boost/geometry/algorithms/not_implemented.hpp", + "external/sources/boost/geometry/algorithms/num_geometries.hpp", + "external/sources/boost/geometry/algorithms/num_interior_rings.hpp", + "external/sources/boost/geometry/algorithms/num_points.hpp", + "external/sources/boost/geometry/algorithms/num_segments.hpp", + "external/sources/boost/geometry/algorithms/overlaps.hpp", + "external/sources/boost/geometry/algorithms/perimeter.hpp", + "external/sources/boost/geometry/algorithms/point_on_surface.hpp", + "external/sources/boost/geometry/algorithms/relate.hpp", + "external/sources/boost/geometry/algorithms/relation.hpp", + "external/sources/boost/geometry/algorithms/remove_spikes.hpp", + "external/sources/boost/geometry/algorithms/reverse.hpp", + "external/sources/boost/geometry/algorithms/simplify.hpp", + "external/sources/boost/geometry/algorithms/sym_difference.hpp", + "external/sources/boost/geometry/algorithms/touches.hpp", + "external/sources/boost/geometry/algorithms/transform.hpp", + "external/sources/boost/geometry/algorithms/union.hpp", + "external/sources/boost/geometry/algorithms/unique.hpp", + "external/sources/boost/geometry/algorithms/validity_failure_type.hpp", + "external/sources/boost/geometry/algorithms/within.hpp", + "external/sources/boost/geometry/arithmetic/arithmetic.hpp", + "external/sources/boost/geometry/arithmetic/cross_product.hpp", + "external/sources/boost/geometry/arithmetic/determinant.hpp", + "external/sources/boost/geometry/arithmetic/dot_product.hpp", + "external/sources/boost/geometry/arithmetic/infinite_line_functions.hpp", + "external/sources/boost/geometry/arithmetic/normalize.hpp", + "external/sources/boost/geometry/core/access.hpp", + "external/sources/boost/geometry/core/assert.hpp", + "external/sources/boost/geometry/core/closure.hpp", + "external/sources/boost/geometry/core/config.hpp", + "external/sources/boost/geometry/core/coordinate_dimension.hpp", + "external/sources/boost/geometry/core/coordinate_system.hpp", + "external/sources/boost/geometry/core/coordinate_type.hpp", + "external/sources/boost/geometry/core/cs.hpp", + "external/sources/boost/geometry/core/exception.hpp", + "external/sources/boost/geometry/core/exterior_ring.hpp", + "external/sources/boost/geometry/core/geometry_id.hpp", + "external/sources/boost/geometry/core/interior_rings.hpp", + "external/sources/boost/geometry/core/interior_type.hpp", + "external/sources/boost/geometry/core/is_areal.hpp", + "external/sources/boost/geometry/core/mutable_range.hpp", + "external/sources/boost/geometry/core/point_order.hpp", + "external/sources/boost/geometry/core/point_type.hpp", + "external/sources/boost/geometry/core/radian_access.hpp", + "external/sources/boost/geometry/core/radius.hpp", + "external/sources/boost/geometry/core/reverse_dispatch.hpp", + "external/sources/boost/geometry/core/ring_type.hpp", + "external/sources/boost/geometry/core/tag.hpp", + "external/sources/boost/geometry/core/tag_cast.hpp", + "external/sources/boost/geometry/core/tags.hpp", + "external/sources/boost/geometry/core/topological_dimension.hpp", + "external/sources/boost/geometry/formulas/andoyer_inverse.hpp", + "external/sources/boost/geometry/formulas/area_formulas.hpp", + "external/sources/boost/geometry/formulas/authalic_radius_sqr.hpp", + "external/sources/boost/geometry/formulas/differential_quantities.hpp", + "external/sources/boost/geometry/formulas/eccentricity_sqr.hpp", + "external/sources/boost/geometry/formulas/flattening.hpp", + "external/sources/boost/geometry/formulas/geographic.hpp", + "external/sources/boost/geometry/formulas/gnomonic_intersection.hpp", + "external/sources/boost/geometry/formulas/gnomonic_spheroid.hpp", + "external/sources/boost/geometry/formulas/interpolate_point_spherical.hpp", + "external/sources/boost/geometry/formulas/karney_direct.hpp", + "external/sources/boost/geometry/formulas/karney_inverse.hpp", + "external/sources/boost/geometry/formulas/mean_radius.hpp", + "external/sources/boost/geometry/formulas/meridian_direct.hpp", + "external/sources/boost/geometry/formulas/meridian_inverse.hpp", + "external/sources/boost/geometry/formulas/meridian_segment.hpp", + "external/sources/boost/geometry/formulas/quarter_meridian.hpp", + "external/sources/boost/geometry/formulas/result_direct.hpp", + "external/sources/boost/geometry/formulas/result_inverse.hpp", + "external/sources/boost/geometry/formulas/sjoberg_intersection.hpp", + "external/sources/boost/geometry/formulas/spherical.hpp", + "external/sources/boost/geometry/formulas/thomas_direct.hpp", + "external/sources/boost/geometry/formulas/thomas_inverse.hpp", + "external/sources/boost/geometry/formulas/unit_spheroid.hpp", + "external/sources/boost/geometry/formulas/vertex_latitude.hpp", + "external/sources/boost/geometry/formulas/vertex_longitude.hpp", + "external/sources/boost/geometry/formulas/vincenty_direct.hpp", + "external/sources/boost/geometry/formulas/vincenty_inverse.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_array.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_fusion.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_polygon.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_polygon/box.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_polygon/hole_iterator.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_polygon/holes_proxy.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_polygon/point.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_polygon/polygon.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_polygon/ring.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_polygon/ring_proxy.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_range/adjacent_filtered.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_range/filtered.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_range/reversed.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_range/sliced.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_range/strided.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_range/uniqued.hpp", + "external/sources/boost/geometry/geometries/adapted/boost_tuple.hpp", + "external/sources/boost/geometry/geometries/adapted/c_array.hpp", + "external/sources/boost/geometry/geometries/adapted/std_array.hpp", + "external/sources/boost/geometry/geometries/adapted/std_pair_as_segment.hpp", + "external/sources/boost/geometry/geometries/box.hpp", + "external/sources/boost/geometry/geometries/concepts/box_concept.hpp", + "external/sources/boost/geometry/geometries/concepts/check.hpp", + "external/sources/boost/geometry/geometries/concepts/linestring_concept.hpp", + "external/sources/boost/geometry/geometries/concepts/multi_linestring_concept.hpp", + "external/sources/boost/geometry/geometries/concepts/multi_point_concept.hpp", + "external/sources/boost/geometry/geometries/concepts/multi_polygon_concept.hpp", + "external/sources/boost/geometry/geometries/concepts/point_concept.hpp", + "external/sources/boost/geometry/geometries/concepts/polygon_concept.hpp", + "external/sources/boost/geometry/geometries/concepts/ring_concept.hpp", + "external/sources/boost/geometry/geometries/concepts/segment_concept.hpp", + "external/sources/boost/geometry/geometries/geometries.hpp", + "external/sources/boost/geometry/geometries/helper_geometry.hpp", + "external/sources/boost/geometry/geometries/infinite_line.hpp", + "external/sources/boost/geometry/geometries/linestring.hpp", + "external/sources/boost/geometry/geometries/multi_linestring.hpp", + "external/sources/boost/geometry/geometries/multi_point.hpp", + "external/sources/boost/geometry/geometries/multi_polygon.hpp", + "external/sources/boost/geometry/geometries/point.hpp", + "external/sources/boost/geometry/geometries/point_xy.hpp", + "external/sources/boost/geometry/geometries/point_xyz.hpp", + "external/sources/boost/geometry/geometries/pointing_segment.hpp", + "external/sources/boost/geometry/geometries/polygon.hpp", + "external/sources/boost/geometry/geometries/register/box.hpp", + "external/sources/boost/geometry/geometries/register/linestring.hpp", + "external/sources/boost/geometry/geometries/register/multi_linestring.hpp", + "external/sources/boost/geometry/geometries/register/multi_point.hpp", + "external/sources/boost/geometry/geometries/register/multi_polygon.hpp", + "external/sources/boost/geometry/geometries/register/point.hpp", + "external/sources/boost/geometry/geometries/register/ring.hpp", + "external/sources/boost/geometry/geometries/register/segment.hpp", + "external/sources/boost/geometry/geometries/ring.hpp", + "external/sources/boost/geometry/geometries/segment.hpp", + "external/sources/boost/geometry/geometries/variant.hpp", + "external/sources/boost/geometry/geometry.hpp", + "external/sources/boost/geometry/index/adaptors/query.hpp", + "external/sources/boost/geometry/index/detail/algorithms/bounds.hpp", + "external/sources/boost/geometry/index/detail/algorithms/comparable_distance_centroid.hpp", + "external/sources/boost/geometry/index/detail/algorithms/comparable_distance_far.hpp", + "external/sources/boost/geometry/index/detail/algorithms/comparable_distance_near.hpp", + "external/sources/boost/geometry/index/detail/algorithms/content.hpp", + "external/sources/boost/geometry/index/detail/algorithms/diff_abs.hpp", + "external/sources/boost/geometry/index/detail/algorithms/intersection_content.hpp", + "external/sources/boost/geometry/index/detail/algorithms/is_valid.hpp", + "external/sources/boost/geometry/index/detail/algorithms/margin.hpp", + "external/sources/boost/geometry/index/detail/algorithms/minmaxdist.hpp", + "external/sources/boost/geometry/index/detail/algorithms/nth_element.hpp", + "external/sources/boost/geometry/index/detail/algorithms/path_intersection.hpp", + "external/sources/boost/geometry/index/detail/algorithms/segment_intersection.hpp", + "external/sources/boost/geometry/index/detail/algorithms/smallest_for_indexable.hpp", + "external/sources/boost/geometry/index/detail/algorithms/sum_for_indexable.hpp", + "external/sources/boost/geometry/index/detail/algorithms/union_content.hpp", + "external/sources/boost/geometry/index/detail/assert.hpp", + "external/sources/boost/geometry/index/detail/bounded_view.hpp", + "external/sources/boost/geometry/index/detail/config_begin.hpp", + "external/sources/boost/geometry/index/detail/config_end.hpp", + "external/sources/boost/geometry/index/detail/distance_predicates.hpp", + "external/sources/boost/geometry/index/detail/exception.hpp", + "external/sources/boost/geometry/index/detail/is_bounding_geometry.hpp", + "external/sources/boost/geometry/index/detail/is_indexable.hpp", + "external/sources/boost/geometry/index/detail/meta.hpp", + "external/sources/boost/geometry/index/detail/predicates.hpp", + "external/sources/boost/geometry/index/detail/rtree/adaptors.hpp", + "external/sources/boost/geometry/index/detail/rtree/iterators.hpp", + "external/sources/boost/geometry/index/detail/rtree/kmeans/kmeans.hpp", + "external/sources/boost/geometry/index/detail/rtree/kmeans/split.hpp", + "external/sources/boost/geometry/index/detail/rtree/linear/linear.hpp", + "external/sources/boost/geometry/index/detail/rtree/linear/redistribute_elements.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/concept.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/node.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/node_elements.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/pairs.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/scoped_deallocator.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/subtree_destroyer.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/variant_dynamic.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/variant_static.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/variant_visitor.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/weak_dynamic.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/weak_static.hpp", + "external/sources/boost/geometry/index/detail/rtree/node/weak_visitor.hpp", + "external/sources/boost/geometry/index/detail/rtree/options.hpp", + "external/sources/boost/geometry/index/detail/rtree/pack_create.hpp", + "external/sources/boost/geometry/index/detail/rtree/quadratic/quadratic.hpp", + "external/sources/boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp", + "external/sources/boost/geometry/index/detail/rtree/query_iterators.hpp", + "external/sources/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp", + "external/sources/boost/geometry/index/detail/rtree/rstar/insert.hpp", + "external/sources/boost/geometry/index/detail/rtree/rstar/redistribute_elements.hpp", + "external/sources/boost/geometry/index/detail/rtree/rstar/rstar.hpp", + "external/sources/boost/geometry/index/detail/rtree/utilities/are_boxes_ok.hpp", + "external/sources/boost/geometry/index/detail/rtree/utilities/are_counts_ok.hpp", + "external/sources/boost/geometry/index/detail/rtree/utilities/are_levels_ok.hpp", + "external/sources/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp", + "external/sources/boost/geometry/index/detail/rtree/utilities/print.hpp", + "external/sources/boost/geometry/index/detail/rtree/utilities/statistics.hpp", + "external/sources/boost/geometry/index/detail/rtree/utilities/view.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/children_box.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/copy.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/count.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/destroy.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/distance_query.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/insert.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/is_leaf.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/iterator.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/remove.hpp", + "external/sources/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp", + "external/sources/boost/geometry/index/detail/serialization.hpp", + "external/sources/boost/geometry/index/detail/tags.hpp", + "external/sources/boost/geometry/index/detail/translator.hpp", + "external/sources/boost/geometry/index/detail/utilities.hpp", + "external/sources/boost/geometry/index/detail/varray.hpp", + "external/sources/boost/geometry/index/detail/varray_detail.hpp", + "external/sources/boost/geometry/index/distance_predicates.hpp", + "external/sources/boost/geometry/index/equal_to.hpp", + "external/sources/boost/geometry/index/indexable.hpp", + "external/sources/boost/geometry/index/inserter.hpp", + "external/sources/boost/geometry/index/parameters.hpp", + "external/sources/boost/geometry/index/predicates.hpp", + "external/sources/boost/geometry/index/rtree.hpp", + "external/sources/boost/geometry/io/dsv/write.hpp", + "external/sources/boost/geometry/io/io.hpp", + "external/sources/boost/geometry/io/svg/svg_mapper.hpp", + "external/sources/boost/geometry/io/svg/write.hpp", + "external/sources/boost/geometry/io/svg/write_svg.hpp", + "external/sources/boost/geometry/io/svg/write_svg_multi.hpp", + "external/sources/boost/geometry/io/wkt/detail/prefix.hpp", + "external/sources/boost/geometry/io/wkt/detail/wkt_multi.hpp", + "external/sources/boost/geometry/io/wkt/read.hpp", + "external/sources/boost/geometry/io/wkt/stream.hpp", + "external/sources/boost/geometry/io/wkt/wkt.hpp", + "external/sources/boost/geometry/io/wkt/write.hpp", + "external/sources/boost/geometry/iterators/base.hpp", + "external/sources/boost/geometry/iterators/closing_iterator.hpp", + "external/sources/boost/geometry/iterators/concatenate_iterator.hpp", + "external/sources/boost/geometry/iterators/detail/point_iterator/inner_range_type.hpp", + "external/sources/boost/geometry/iterators/detail/point_iterator/iterator_type.hpp", + "external/sources/boost/geometry/iterators/detail/point_iterator/value_type.hpp", + "external/sources/boost/geometry/iterators/detail/segment_iterator/iterator_type.hpp", + "external/sources/boost/geometry/iterators/detail/segment_iterator/range_segment_iterator.hpp", + "external/sources/boost/geometry/iterators/detail/segment_iterator/value_type.hpp", + "external/sources/boost/geometry/iterators/dispatch/point_iterator.hpp", + "external/sources/boost/geometry/iterators/dispatch/segment_iterator.hpp", + "external/sources/boost/geometry/iterators/ever_circling_iterator.hpp", + "external/sources/boost/geometry/iterators/flatten_iterator.hpp", + "external/sources/boost/geometry/iterators/has_one_element.hpp", + "external/sources/boost/geometry/iterators/point_iterator.hpp", + "external/sources/boost/geometry/iterators/point_reverse_iterator.hpp", + "external/sources/boost/geometry/iterators/segment_iterator.hpp", + "external/sources/boost/geometry/multi/algorithms/append.hpp", + "external/sources/boost/geometry/multi/algorithms/area.hpp", + "external/sources/boost/geometry/multi/algorithms/centroid.hpp", + "external/sources/boost/geometry/multi/algorithms/clear.hpp", + "external/sources/boost/geometry/multi/algorithms/convert.hpp", + "external/sources/boost/geometry/multi/algorithms/correct.hpp", + "external/sources/boost/geometry/multi/algorithms/covered_by.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/extreme_points.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/for_each_range.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/modify.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/modify_with_predicate.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/multi_sum.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/overlay/copy_segment_point.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/overlay/copy_segments.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/overlay/get_ring.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/overlay/get_turns.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/overlay/self_turn_points.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/point_on_border.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/sections/range_by_section.hpp", + "external/sources/boost/geometry/multi/algorithms/detail/sections/sectionalize.hpp", + "external/sources/boost/geometry/multi/algorithms/disjoint.hpp", + "external/sources/boost/geometry/multi/algorithms/distance.hpp", + "external/sources/boost/geometry/multi/algorithms/envelope.hpp", + "external/sources/boost/geometry/multi/algorithms/equals.hpp", + "external/sources/boost/geometry/multi/algorithms/for_each.hpp", + "external/sources/boost/geometry/multi/algorithms/intersection.hpp", + "external/sources/boost/geometry/multi/algorithms/length.hpp", + "external/sources/boost/geometry/multi/algorithms/num_geometries.hpp", + "external/sources/boost/geometry/multi/algorithms/num_interior_rings.hpp", + "external/sources/boost/geometry/multi/algorithms/num_points.hpp", + "external/sources/boost/geometry/multi/algorithms/perimeter.hpp", + "external/sources/boost/geometry/multi/algorithms/remove_spikes.hpp", + "external/sources/boost/geometry/multi/algorithms/reverse.hpp", + "external/sources/boost/geometry/multi/algorithms/simplify.hpp", + "external/sources/boost/geometry/multi/algorithms/transform.hpp", + "external/sources/boost/geometry/multi/algorithms/unique.hpp", + "external/sources/boost/geometry/multi/algorithms/within.hpp", + "external/sources/boost/geometry/multi/core/closure.hpp", + "external/sources/boost/geometry/multi/core/geometry_id.hpp", + "external/sources/boost/geometry/multi/core/interior_rings.hpp", + "external/sources/boost/geometry/multi/core/is_areal.hpp", + "external/sources/boost/geometry/multi/core/point_order.hpp", + "external/sources/boost/geometry/multi/core/point_type.hpp", + "external/sources/boost/geometry/multi/core/ring_type.hpp", + "external/sources/boost/geometry/multi/core/tags.hpp", + "external/sources/boost/geometry/multi/core/topological_dimension.hpp", + "external/sources/boost/geometry/multi/geometries/concepts/check.hpp", + "external/sources/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp", + "external/sources/boost/geometry/multi/geometries/concepts/multi_point_concept.hpp", + "external/sources/boost/geometry/multi/geometries/concepts/multi_polygon_concept.hpp", + "external/sources/boost/geometry/multi/geometries/multi_geometries.hpp", + "external/sources/boost/geometry/multi/geometries/multi_linestring.hpp", + "external/sources/boost/geometry/multi/geometries/multi_point.hpp", + "external/sources/boost/geometry/multi/geometries/multi_polygon.hpp", + "external/sources/boost/geometry/multi/geometries/register/multi_linestring.hpp", + "external/sources/boost/geometry/multi/geometries/register/multi_point.hpp", + "external/sources/boost/geometry/multi/geometries/register/multi_polygon.hpp", + "external/sources/boost/geometry/multi/io/dsv/write.hpp", + "external/sources/boost/geometry/multi/io/wkt/detail/prefix.hpp", + "external/sources/boost/geometry/multi/io/wkt/read.hpp", + "external/sources/boost/geometry/multi/io/wkt/wkt.hpp", + "external/sources/boost/geometry/multi/io/wkt/write.hpp", + "external/sources/boost/geometry/multi/multi.hpp", + "external/sources/boost/geometry/multi/strategies/cartesian/centroid_average.hpp", + "external/sources/boost/geometry/multi/views/detail/range_type.hpp", + "external/sources/boost/geometry/policies/compare.hpp", + "external/sources/boost/geometry/policies/disjoint_interrupt_policy.hpp", + "external/sources/boost/geometry/policies/is_valid/default_policy.hpp", + "external/sources/boost/geometry/policies/is_valid/failing_reason_policy.hpp", + "external/sources/boost/geometry/policies/is_valid/failure_type_policy.hpp", + "external/sources/boost/geometry/policies/predicate_based_interrupt_policy.hpp", + "external/sources/boost/geometry/policies/relate/direction.hpp", + "external/sources/boost/geometry/policies/relate/intersection_points.hpp", + "external/sources/boost/geometry/policies/relate/intersection_ratios.hpp", + "external/sources/boost/geometry/policies/relate/tupled.hpp", + "external/sources/boost/geometry/policies/robustness/get_rescale_policy.hpp", + "external/sources/boost/geometry/policies/robustness/no_rescale_policy.hpp", + "external/sources/boost/geometry/policies/robustness/rescale_policy.hpp", + "external/sources/boost/geometry/policies/robustness/rescale_policy_tags.hpp", + "external/sources/boost/geometry/policies/robustness/robust_point_type.hpp", + "external/sources/boost/geometry/policies/robustness/robust_type.hpp", + "external/sources/boost/geometry/policies/robustness/segment_ratio.hpp", + "external/sources/boost/geometry/policies/robustness/segment_ratio_type.hpp", + "external/sources/boost/geometry/srs/epsg.hpp", + "external/sources/boost/geometry/srs/esri.hpp", + "external/sources/boost/geometry/srs/iau2000.hpp", + "external/sources/boost/geometry/srs/projection.hpp", + "external/sources/boost/geometry/srs/projections/code.hpp", + "external/sources/boost/geometry/srs/projections/constants.hpp", + "external/sources/boost/geometry/srs/projections/dpar.hpp", + "external/sources/boost/geometry/srs/projections/epsg.hpp", + "external/sources/boost/geometry/srs/projections/epsg_params.hpp", + "external/sources/boost/geometry/srs/projections/epsg_traits.hpp", + "external/sources/boost/geometry/srs/projections/esri.hpp", + "external/sources/boost/geometry/srs/projections/esri_params.hpp", + "external/sources/boost/geometry/srs/projections/esri_traits.hpp", + "external/sources/boost/geometry/srs/projections/exception.hpp", + "external/sources/boost/geometry/srs/projections/factory.hpp", + "external/sources/boost/geometry/srs/projections/grids.hpp", + "external/sources/boost/geometry/srs/projections/iau2000.hpp", + "external/sources/boost/geometry/srs/projections/iau2000_params.hpp", + "external/sources/boost/geometry/srs/projections/iau2000_traits.hpp", + "external/sources/boost/geometry/srs/projections/impl/aasincos.hpp", + "external/sources/boost/geometry/srs/projections/impl/adjlon.hpp", + "external/sources/boost/geometry/srs/projections/impl/base_dynamic.hpp", + "external/sources/boost/geometry/srs/projections/impl/base_static.hpp", + "external/sources/boost/geometry/srs/projections/impl/dms_parser.hpp", + "external/sources/boost/geometry/srs/projections/impl/factory_entry.hpp", + "external/sources/boost/geometry/srs/projections/impl/function_overloads.hpp", + "external/sources/boost/geometry/srs/projections/impl/geocent.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_apply_gridshift.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_auth.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_datum_set.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_datums.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_ell_set.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_ellps.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_fwd.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_gauss.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_gridinfo.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_gridlist.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_init.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_inv.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_mlfn.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_msfn.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_param.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_phi2.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_qsfn.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_strerrno.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_transform.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_tsfn.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_units.hpp", + "external/sources/boost/geometry/srs/projections/impl/pj_zpoly1.hpp", + "external/sources/boost/geometry/srs/projections/impl/proj_mdist.hpp", + "external/sources/boost/geometry/srs/projections/impl/projects.hpp", + "external/sources/boost/geometry/srs/projections/invalid_point.hpp", + "external/sources/boost/geometry/srs/projections/par_data.hpp", + "external/sources/boost/geometry/srs/projections/proj/aea.hpp", + "external/sources/boost/geometry/srs/projections/proj/aeqd.hpp", + "external/sources/boost/geometry/srs/projections/proj/airy.hpp", + "external/sources/boost/geometry/srs/projections/proj/aitoff.hpp", + "external/sources/boost/geometry/srs/projections/proj/august.hpp", + "external/sources/boost/geometry/srs/projections/proj/bacon.hpp", + "external/sources/boost/geometry/srs/projections/proj/bipc.hpp", + "external/sources/boost/geometry/srs/projections/proj/boggs.hpp", + "external/sources/boost/geometry/srs/projections/proj/bonne.hpp", + "external/sources/boost/geometry/srs/projections/proj/cass.hpp", + "external/sources/boost/geometry/srs/projections/proj/cc.hpp", + "external/sources/boost/geometry/srs/projections/proj/cea.hpp", + "external/sources/boost/geometry/srs/projections/proj/chamb.hpp", + "external/sources/boost/geometry/srs/projections/proj/collg.hpp", + "external/sources/boost/geometry/srs/projections/proj/crast.hpp", + "external/sources/boost/geometry/srs/projections/proj/denoy.hpp", + "external/sources/boost/geometry/srs/projections/proj/eck1.hpp", + "external/sources/boost/geometry/srs/projections/proj/eck2.hpp", + "external/sources/boost/geometry/srs/projections/proj/eck3.hpp", + "external/sources/boost/geometry/srs/projections/proj/eck4.hpp", + "external/sources/boost/geometry/srs/projections/proj/eck5.hpp", + "external/sources/boost/geometry/srs/projections/proj/eqc.hpp", + "external/sources/boost/geometry/srs/projections/proj/eqdc.hpp", + "external/sources/boost/geometry/srs/projections/proj/etmerc.hpp", + "external/sources/boost/geometry/srs/projections/proj/fahey.hpp", + "external/sources/boost/geometry/srs/projections/proj/fouc_s.hpp", + "external/sources/boost/geometry/srs/projections/proj/gall.hpp", + "external/sources/boost/geometry/srs/projections/proj/geocent.hpp", + "external/sources/boost/geometry/srs/projections/proj/geos.hpp", + "external/sources/boost/geometry/srs/projections/proj/gins8.hpp", + "external/sources/boost/geometry/srs/projections/proj/gn_sinu.hpp", + "external/sources/boost/geometry/srs/projections/proj/gnom.hpp", + "external/sources/boost/geometry/srs/projections/proj/goode.hpp", + "external/sources/boost/geometry/srs/projections/proj/gstmerc.hpp", + "external/sources/boost/geometry/srs/projections/proj/hammer.hpp", + "external/sources/boost/geometry/srs/projections/proj/hatano.hpp", + "external/sources/boost/geometry/srs/projections/proj/healpix.hpp", + "external/sources/boost/geometry/srs/projections/proj/igh.hpp", + "external/sources/boost/geometry/srs/projections/proj/imw_p.hpp", + "external/sources/boost/geometry/srs/projections/proj/isea.hpp", + "external/sources/boost/geometry/srs/projections/proj/krovak.hpp", + "external/sources/boost/geometry/srs/projections/proj/labrd.hpp", + "external/sources/boost/geometry/srs/projections/proj/laea.hpp", + "external/sources/boost/geometry/srs/projections/proj/lagrng.hpp", + "external/sources/boost/geometry/srs/projections/proj/larr.hpp", + "external/sources/boost/geometry/srs/projections/proj/lask.hpp", + "external/sources/boost/geometry/srs/projections/proj/latlong.hpp", + "external/sources/boost/geometry/srs/projections/proj/lcc.hpp", + "external/sources/boost/geometry/srs/projections/proj/lcca.hpp", + "external/sources/boost/geometry/srs/projections/proj/loxim.hpp", + "external/sources/boost/geometry/srs/projections/proj/lsat.hpp", + "external/sources/boost/geometry/srs/projections/proj/mbt_fps.hpp", + "external/sources/boost/geometry/srs/projections/proj/mbtfpp.hpp", + "external/sources/boost/geometry/srs/projections/proj/mbtfpq.hpp", + "external/sources/boost/geometry/srs/projections/proj/merc.hpp", + "external/sources/boost/geometry/srs/projections/proj/mill.hpp", + "external/sources/boost/geometry/srs/projections/proj/mod_ster.hpp", + "external/sources/boost/geometry/srs/projections/proj/moll.hpp", + "external/sources/boost/geometry/srs/projections/proj/natearth.hpp", + "external/sources/boost/geometry/srs/projections/proj/nell.hpp", + "external/sources/boost/geometry/srs/projections/proj/nell_h.hpp", + "external/sources/boost/geometry/srs/projections/proj/nocol.hpp", + "external/sources/boost/geometry/srs/projections/proj/nsper.hpp", + "external/sources/boost/geometry/srs/projections/proj/nzmg.hpp", + "external/sources/boost/geometry/srs/projections/proj/ob_tran.hpp", + "external/sources/boost/geometry/srs/projections/proj/ocea.hpp", + "external/sources/boost/geometry/srs/projections/proj/oea.hpp", + "external/sources/boost/geometry/srs/projections/proj/omerc.hpp", + "external/sources/boost/geometry/srs/projections/proj/ortho.hpp", + "external/sources/boost/geometry/srs/projections/proj/poly.hpp", + "external/sources/boost/geometry/srs/projections/proj/putp2.hpp", + "external/sources/boost/geometry/srs/projections/proj/putp3.hpp", + "external/sources/boost/geometry/srs/projections/proj/putp4p.hpp", + "external/sources/boost/geometry/srs/projections/proj/putp5.hpp", + "external/sources/boost/geometry/srs/projections/proj/putp6.hpp", + "external/sources/boost/geometry/srs/projections/proj/qsc.hpp", + "external/sources/boost/geometry/srs/projections/proj/robin.hpp", + "external/sources/boost/geometry/srs/projections/proj/rouss.hpp", + "external/sources/boost/geometry/srs/projections/proj/rpoly.hpp", + "external/sources/boost/geometry/srs/projections/proj/sconics.hpp", + "external/sources/boost/geometry/srs/projections/proj/somerc.hpp", + "external/sources/boost/geometry/srs/projections/proj/stere.hpp", + "external/sources/boost/geometry/srs/projections/proj/sterea.hpp", + "external/sources/boost/geometry/srs/projections/proj/sts.hpp", + "external/sources/boost/geometry/srs/projections/proj/tcc.hpp", + "external/sources/boost/geometry/srs/projections/proj/tcea.hpp", + "external/sources/boost/geometry/srs/projections/proj/tmerc.hpp", + "external/sources/boost/geometry/srs/projections/proj/tpeqd.hpp", + "external/sources/boost/geometry/srs/projections/proj/urm5.hpp", + "external/sources/boost/geometry/srs/projections/proj/urmfps.hpp", + "external/sources/boost/geometry/srs/projections/proj/vandg.hpp", + "external/sources/boost/geometry/srs/projections/proj/vandg2.hpp", + "external/sources/boost/geometry/srs/projections/proj/vandg4.hpp", + "external/sources/boost/geometry/srs/projections/proj/wag2.hpp", + "external/sources/boost/geometry/srs/projections/proj/wag3.hpp", + "external/sources/boost/geometry/srs/projections/proj/wag7.hpp", + "external/sources/boost/geometry/srs/projections/proj/wink1.hpp", + "external/sources/boost/geometry/srs/projections/proj/wink2.hpp", + "external/sources/boost/geometry/srs/projections/proj4.hpp", + "external/sources/boost/geometry/srs/projections/spar.hpp", + "external/sources/boost/geometry/srs/projections/srid_traits.hpp", + "external/sources/boost/geometry/srs/projections/str_cast.hpp", + "external/sources/boost/geometry/srs/shared_grids.hpp", + "external/sources/boost/geometry/srs/shared_grids_boost.hpp", + "external/sources/boost/geometry/srs/shared_grids_std.hpp", + "external/sources/boost/geometry/srs/sphere.hpp", + "external/sources/boost/geometry/srs/spheroid.hpp", + "external/sources/boost/geometry/srs/srs.hpp", + "external/sources/boost/geometry/srs/transformation.hpp", + "external/sources/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp", + "external/sources/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp", + "external/sources/boost/geometry/strategies/agnostic/hull_graham_andrew.hpp", + "external/sources/boost/geometry/strategies/agnostic/point_in_box_by_side.hpp", + "external/sources/boost/geometry/strategies/agnostic/point_in_point.hpp", + "external/sources/boost/geometry/strategies/agnostic/point_in_poly_oriented_winding.hpp", + "external/sources/boost/geometry/strategies/agnostic/point_in_poly_winding.hpp", + "external/sources/boost/geometry/strategies/agnostic/simplify_douglas_peucker.hpp", + "external/sources/boost/geometry/strategies/area.hpp", + "external/sources/boost/geometry/strategies/area_result.hpp", + "external/sources/boost/geometry/strategies/azimuth.hpp", + "external/sources/boost/geometry/strategies/buffer.hpp", + "external/sources/boost/geometry/strategies/cartesian/area.hpp", + "external/sources/boost/geometry/strategies/cartesian/area_surveyor.hpp", + "external/sources/boost/geometry/strategies/cartesian/azimuth.hpp", + "external/sources/boost/geometry/strategies/cartesian/box_in_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/buffer_end_flat.hpp", + "external/sources/boost/geometry/strategies/cartesian/buffer_end_round.hpp", + "external/sources/boost/geometry/strategies/cartesian/buffer_join_miter.hpp", + "external/sources/boost/geometry/strategies/cartesian/buffer_join_round.hpp", + "external/sources/boost/geometry/strategies/cartesian/buffer_join_round_by_divide.hpp", + "external/sources/boost/geometry/strategies/cartesian/buffer_point_circle.hpp", + "external/sources/boost/geometry/strategies/cartesian/buffer_point_square.hpp", + "external/sources/boost/geometry/strategies/cartesian/buffer_side_straight.hpp", + "external/sources/boost/geometry/strategies/cartesian/centroid_average.hpp", + "external/sources/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp", + "external/sources/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp", + "external/sources/boost/geometry/strategies/cartesian/densify.hpp", + "external/sources/boost/geometry/strategies/cartesian/disjoint_box_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/disjoint_segment_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/distance_projected_point.hpp", + "external/sources/boost/geometry/strategies/cartesian/distance_projected_point_ax.hpp", + "external/sources/boost/geometry/strategies/cartesian/distance_pythagoras.hpp", + "external/sources/boost/geometry/strategies/cartesian/distance_pythagoras_box_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/distance_pythagoras_point_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/distance_segment_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/envelope.hpp", + "external/sources/boost/geometry/strategies/cartesian/envelope_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/envelope_multipoint.hpp", + "external/sources/boost/geometry/strategies/cartesian/envelope_point.hpp", + "external/sources/boost/geometry/strategies/cartesian/envelope_segment.hpp", + "external/sources/boost/geometry/strategies/cartesian/expand_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/expand_point.hpp", + "external/sources/boost/geometry/strategies/cartesian/expand_segment.hpp", + "external/sources/boost/geometry/strategies/cartesian/index.hpp", + "external/sources/boost/geometry/strategies/cartesian/intersection.hpp", + "external/sources/boost/geometry/strategies/cartesian/io.hpp", + "external/sources/boost/geometry/strategies/cartesian/line_interpolate.hpp", + "external/sources/boost/geometry/strategies/cartesian/point_in_box.hpp", + "external/sources/boost/geometry/strategies/cartesian/point_in_point.hpp", + "external/sources/boost/geometry/strategies/cartesian/point_in_poly_crossings_multiply.hpp", + "external/sources/boost/geometry/strategies/cartesian/point_in_poly_franklin.hpp", + "external/sources/boost/geometry/strategies/cartesian/point_in_poly_winding.hpp", + "external/sources/boost/geometry/strategies/cartesian/point_order.hpp", + "external/sources/boost/geometry/strategies/cartesian/side_by_triangle.hpp", + "external/sources/boost/geometry/strategies/cartesian/turn_in_ring_winding.hpp", + "external/sources/boost/geometry/strategies/centroid.hpp", + "external/sources/boost/geometry/strategies/comparable_distance_result.hpp", + "external/sources/boost/geometry/strategies/compare.hpp", + "external/sources/boost/geometry/strategies/concepts/area_concept.hpp", + "external/sources/boost/geometry/strategies/concepts/centroid_concept.hpp", + "external/sources/boost/geometry/strategies/concepts/convex_hull_concept.hpp", + "external/sources/boost/geometry/strategies/concepts/distance_concept.hpp", + "external/sources/boost/geometry/strategies/concepts/segment_intersect_concept.hpp", + "external/sources/boost/geometry/strategies/concepts/simplify_concept.hpp", + "external/sources/boost/geometry/strategies/concepts/within_concept.hpp", + "external/sources/boost/geometry/strategies/convex_hull.hpp", + "external/sources/boost/geometry/strategies/covered_by.hpp", + "external/sources/boost/geometry/strategies/default_area_result.hpp", + "external/sources/boost/geometry/strategies/default_comparable_distance_result.hpp", + "external/sources/boost/geometry/strategies/default_distance_result.hpp", + "external/sources/boost/geometry/strategies/default_length_result.hpp", + "external/sources/boost/geometry/strategies/default_strategy.hpp", + "external/sources/boost/geometry/strategies/densify.hpp", + "external/sources/boost/geometry/strategies/disjoint.hpp", + "external/sources/boost/geometry/strategies/distance.hpp", + "external/sources/boost/geometry/strategies/distance_result.hpp", + "external/sources/boost/geometry/strategies/envelope.hpp", + "external/sources/boost/geometry/strategies/expand.hpp", + "external/sources/boost/geometry/strategies/geographic/area.hpp", + "external/sources/boost/geometry/strategies/geographic/azimuth.hpp", + "external/sources/boost/geometry/strategies/geographic/buffer_point_circle.hpp", + "external/sources/boost/geometry/strategies/geographic/densify.hpp", + "external/sources/boost/geometry/strategies/geographic/disjoint_segment_box.hpp", + "external/sources/boost/geometry/strategies/geographic/distance.hpp", + "external/sources/boost/geometry/strategies/geographic/distance_andoyer.hpp", + "external/sources/boost/geometry/strategies/geographic/distance_cross_track.hpp", + "external/sources/boost/geometry/strategies/geographic/distance_cross_track_box_box.hpp", + "external/sources/boost/geometry/strategies/geographic/distance_cross_track_point_box.hpp", + "external/sources/boost/geometry/strategies/geographic/distance_karney.hpp", + "external/sources/boost/geometry/strategies/geographic/distance_segment_box.hpp", + "external/sources/boost/geometry/strategies/geographic/distance_thomas.hpp", + "external/sources/boost/geometry/strategies/geographic/distance_vincenty.hpp", + "external/sources/boost/geometry/strategies/geographic/envelope.hpp", + "external/sources/boost/geometry/strategies/geographic/envelope_segment.hpp", + "external/sources/boost/geometry/strategies/geographic/expand_segment.hpp", + "external/sources/boost/geometry/strategies/geographic/index.hpp", + "external/sources/boost/geometry/strategies/geographic/intersection.hpp", + "external/sources/boost/geometry/strategies/geographic/intersection_elliptic.hpp", + "external/sources/boost/geometry/strategies/geographic/io.hpp", + "external/sources/boost/geometry/strategies/geographic/line_interpolate.hpp", + "external/sources/boost/geometry/strategies/geographic/mapping_ssf.hpp", + "external/sources/boost/geometry/strategies/geographic/parameters.hpp", + "external/sources/boost/geometry/strategies/geographic/point_in_poly_winding.hpp", + "external/sources/boost/geometry/strategies/geographic/point_order.hpp", + "external/sources/boost/geometry/strategies/geographic/side.hpp", + "external/sources/boost/geometry/strategies/geographic/side_andoyer.hpp", + "external/sources/boost/geometry/strategies/geographic/side_thomas.hpp", + "external/sources/boost/geometry/strategies/geographic/side_vincenty.hpp", + "external/sources/boost/geometry/strategies/index.hpp", + "external/sources/boost/geometry/strategies/intersection.hpp", + "external/sources/boost/geometry/strategies/intersection_result.hpp", + "external/sources/boost/geometry/strategies/intersection_strategies.hpp", + "external/sources/boost/geometry/strategies/io.hpp", + "external/sources/boost/geometry/strategies/line_interpolate.hpp", + "external/sources/boost/geometry/strategies/normalize.hpp", + "external/sources/boost/geometry/strategies/point_order.hpp", + "external/sources/boost/geometry/strategies/relate.hpp", + "external/sources/boost/geometry/strategies/side.hpp", + "external/sources/boost/geometry/strategies/side_info.hpp", + "external/sources/boost/geometry/strategies/spherical/area.hpp", + "external/sources/boost/geometry/strategies/spherical/azimuth.hpp", + "external/sources/boost/geometry/strategies/spherical/compare.hpp", + "external/sources/boost/geometry/strategies/spherical/densify.hpp", + "external/sources/boost/geometry/strategies/spherical/disjoint_box_box.hpp", + "external/sources/boost/geometry/strategies/spherical/disjoint_segment_box.hpp", + "external/sources/boost/geometry/strategies/spherical/distance_cross_track.hpp", + "external/sources/boost/geometry/strategies/spherical/distance_cross_track_box_box.hpp", + "external/sources/boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp", + "external/sources/boost/geometry/strategies/spherical/distance_haversine.hpp", + "external/sources/boost/geometry/strategies/spherical/distance_segment_box.hpp", + "external/sources/boost/geometry/strategies/spherical/envelope.hpp", + "external/sources/boost/geometry/strategies/spherical/envelope_box.hpp", + "external/sources/boost/geometry/strategies/spherical/envelope_multipoint.hpp", + "external/sources/boost/geometry/strategies/spherical/envelope_point.hpp", + "external/sources/boost/geometry/strategies/spherical/envelope_segment.hpp", + "external/sources/boost/geometry/strategies/spherical/expand_box.hpp", + "external/sources/boost/geometry/strategies/spherical/expand_point.hpp", + "external/sources/boost/geometry/strategies/spherical/expand_segment.hpp", + "external/sources/boost/geometry/strategies/spherical/get_radius.hpp", + "external/sources/boost/geometry/strategies/spherical/index.hpp", + "external/sources/boost/geometry/strategies/spherical/intersection.hpp", + "external/sources/boost/geometry/strategies/spherical/io.hpp", + "external/sources/boost/geometry/strategies/spherical/line_interpolate.hpp", + "external/sources/boost/geometry/strategies/spherical/point_in_point.hpp", + "external/sources/boost/geometry/strategies/spherical/point_in_poly_winding.hpp", + "external/sources/boost/geometry/strategies/spherical/point_order.hpp", + "external/sources/boost/geometry/strategies/spherical/side_by_cross_track.hpp", + "external/sources/boost/geometry/strategies/spherical/ssf.hpp", + "external/sources/boost/geometry/strategies/strategies.hpp", + "external/sources/boost/geometry/strategies/strategy_transform.hpp", + "external/sources/boost/geometry/strategies/tags.hpp", + "external/sources/boost/geometry/strategies/transform.hpp", + "external/sources/boost/geometry/strategies/transform/inverse_transformer.hpp", + "external/sources/boost/geometry/strategies/transform/map_transformer.hpp", + "external/sources/boost/geometry/strategies/transform/matrix_transformers.hpp", + "external/sources/boost/geometry/strategies/transform/srs_transformer.hpp", + "external/sources/boost/geometry/strategies/within.hpp", + "external/sources/boost/geometry/util/add_const_if_c.hpp", + "external/sources/boost/geometry/util/bare_type.hpp", + "external/sources/boost/geometry/util/calculation_type.hpp", + "external/sources/boost/geometry/util/closure_as_bool.hpp", + "external/sources/boost/geometry/util/combine_if.hpp", + "external/sources/boost/geometry/util/compress_variant.hpp", + "external/sources/boost/geometry/util/condition.hpp", + "external/sources/boost/geometry/util/coordinate_cast.hpp", + "external/sources/boost/geometry/util/for_each_coordinate.hpp", + "external/sources/boost/geometry/util/has_infinite_coordinate.hpp", + "external/sources/boost/geometry/util/has_nan_coordinate.hpp", + "external/sources/boost/geometry/util/has_non_finite_coordinate.hpp", + "external/sources/boost/geometry/util/is_inverse_spheroidal_coordinates.hpp", + "external/sources/boost/geometry/util/math.hpp", + "external/sources/boost/geometry/util/normalize_spheroidal_box_coordinates.hpp", + "external/sources/boost/geometry/util/normalize_spheroidal_coordinates.hpp", + "external/sources/boost/geometry/util/order_as_direction.hpp", + "external/sources/boost/geometry/util/parameter_type_of.hpp", + "external/sources/boost/geometry/util/promote_floating_point.hpp", + "external/sources/boost/geometry/util/promote_integral.hpp", + "external/sources/boost/geometry/util/range.hpp", + "external/sources/boost/geometry/util/rational.hpp", + "external/sources/boost/geometry/util/readme.txt", + "external/sources/boost/geometry/util/select_calculation_type.hpp", + "external/sources/boost/geometry/util/select_coordinate_type.hpp", + "external/sources/boost/geometry/util/select_most_precise.hpp", + "external/sources/boost/geometry/util/select_sequence_element.hpp", + "external/sources/boost/geometry/util/series_expansion.hpp", + "external/sources/boost/geometry/util/transform_variant.hpp", + "external/sources/boost/geometry/util/tuples.hpp", + "external/sources/boost/geometry/views/box_view.hpp", + "external/sources/boost/geometry/views/closeable_view.hpp", + "external/sources/boost/geometry/views/detail/boundary_view.hpp", + "external/sources/boost/geometry/views/detail/boundary_view/implementation.hpp", + "external/sources/boost/geometry/views/detail/boundary_view/interface.hpp", + "external/sources/boost/geometry/views/detail/indexed_point_view.hpp", + "external/sources/boost/geometry/views/detail/normalized_view.hpp", + "external/sources/boost/geometry/views/detail/points_view.hpp", + "external/sources/boost/geometry/views/detail/range_type.hpp", + "external/sources/boost/geometry/views/detail/two_dimensional_view.hpp", + "external/sources/boost/geometry/views/identity_view.hpp", + "external/sources/boost/geometry/views/reversible_view.hpp", + "external/sources/boost/geometry/views/segment_view.hpp", + "external/sources/boost/get_pointer.hpp", + "external/sources/boost/gil.hpp", + "external/sources/boost/gil/algorithm.hpp", + "external/sources/boost/gil/bit_aligned_pixel_iterator.hpp", + "external/sources/boost/gil/bit_aligned_pixel_reference.hpp", + "external/sources/boost/gil/channel.hpp", + "external/sources/boost/gil/channel_algorithm.hpp", + "external/sources/boost/gil/cmyk.hpp", + "external/sources/boost/gil/color_base.hpp", + "external/sources/boost/gil/color_base_algorithm.hpp", + "external/sources/boost/gil/color_convert.hpp", + "external/sources/boost/gil/concepts.hpp", + "external/sources/boost/gil/concepts/basic.hpp", + "external/sources/boost/gil/concepts/channel.hpp", + "external/sources/boost/gil/concepts/color.hpp", + "external/sources/boost/gil/concepts/color_base.hpp", + "external/sources/boost/gil/concepts/concept_check.hpp", + "external/sources/boost/gil/concepts/detail/type_traits.hpp", + "external/sources/boost/gil/concepts/detail/utility.hpp", + "external/sources/boost/gil/concepts/dynamic_step.hpp", + "external/sources/boost/gil/concepts/fwd.hpp", + "external/sources/boost/gil/concepts/image.hpp", + "external/sources/boost/gil/concepts/image_view.hpp", + "external/sources/boost/gil/concepts/pixel.hpp", + "external/sources/boost/gil/concepts/pixel_based.hpp", + "external/sources/boost/gil/concepts/pixel_dereference.hpp", + "external/sources/boost/gil/concepts/pixel_iterator.hpp", + "external/sources/boost/gil/concepts/pixel_locator.hpp", + "external/sources/boost/gil/concepts/point.hpp", + "external/sources/boost/gil/deprecated.hpp", + "external/sources/boost/gil/detail/is_channel_integral.hpp", + "external/sources/boost/gil/detail/math.hpp", + "external/sources/boost/gil/detail/mp11.hpp", + "external/sources/boost/gil/detail/std_common_type.hpp", + "external/sources/boost/gil/detail/type_traits.hpp", + "external/sources/boost/gil/device_n.hpp", + "external/sources/boost/gil/dynamic_step.hpp", + "external/sources/boost/gil/extension/dynamic_image/algorithm.hpp", + "external/sources/boost/gil/extension/dynamic_image/any_image.hpp", + "external/sources/boost/gil/extension/dynamic_image/any_image_view.hpp", + "external/sources/boost/gil/extension/dynamic_image/apply_operation.hpp", + "external/sources/boost/gil/extension/dynamic_image/dynamic_at_c.hpp", + "external/sources/boost/gil/extension/dynamic_image/dynamic_image_all.hpp", + "external/sources/boost/gil/extension/dynamic_image/image_view_factory.hpp", + "external/sources/boost/gil/extension/io/bmp.hpp", + "external/sources/boost/gil/extension/io/bmp/detail/is_allowed.hpp", + "external/sources/boost/gil/extension/io/bmp/detail/read.hpp", + "external/sources/boost/gil/extension/io/bmp/detail/reader_backend.hpp", + "external/sources/boost/gil/extension/io/bmp/detail/scanline_read.hpp", + "external/sources/boost/gil/extension/io/bmp/detail/supported_types.hpp", + "external/sources/boost/gil/extension/io/bmp/detail/write.hpp", + "external/sources/boost/gil/extension/io/bmp/detail/writer_backend.hpp", + "external/sources/boost/gil/extension/io/bmp/old.hpp", + "external/sources/boost/gil/extension/io/bmp/read.hpp", + "external/sources/boost/gil/extension/io/bmp/tags.hpp", + "external/sources/boost/gil/extension/io/bmp/write.hpp", + "external/sources/boost/gil/extension/io/jpeg.hpp", + "external/sources/boost/gil/extension/io/jpeg/detail/base.hpp", + "external/sources/boost/gil/extension/io/jpeg/detail/is_allowed.hpp", + "external/sources/boost/gil/extension/io/jpeg/detail/read.hpp", + "external/sources/boost/gil/extension/io/jpeg/detail/reader_backend.hpp", + "external/sources/boost/gil/extension/io/jpeg/detail/scanline_read.hpp", + "external/sources/boost/gil/extension/io/jpeg/detail/supported_types.hpp", + "external/sources/boost/gil/extension/io/jpeg/detail/write.hpp", + "external/sources/boost/gil/extension/io/jpeg/detail/writer_backend.hpp", + "external/sources/boost/gil/extension/io/jpeg/old.hpp", + "external/sources/boost/gil/extension/io/jpeg/read.hpp", + "external/sources/boost/gil/extension/io/jpeg/tags.hpp", + "external/sources/boost/gil/extension/io/jpeg/write.hpp", + "external/sources/boost/gil/extension/io/png.hpp", + "external/sources/boost/gil/extension/io/png/detail/base.hpp", + "external/sources/boost/gil/extension/io/png/detail/is_allowed.hpp", + "external/sources/boost/gil/extension/io/png/detail/read.hpp", + "external/sources/boost/gil/extension/io/png/detail/reader_backend.hpp", + "external/sources/boost/gil/extension/io/png/detail/scanline_read.hpp", + "external/sources/boost/gil/extension/io/png/detail/supported_types.hpp", + "external/sources/boost/gil/extension/io/png/detail/write.hpp", + "external/sources/boost/gil/extension/io/png/detail/writer_backend.hpp", + "external/sources/boost/gil/extension/io/png/old.hpp", + "external/sources/boost/gil/extension/io/png/read.hpp", + "external/sources/boost/gil/extension/io/png/tags.hpp", + "external/sources/boost/gil/extension/io/png/write.hpp", + "external/sources/boost/gil/extension/io/pnm.hpp", + "external/sources/boost/gil/extension/io/pnm/detail/is_allowed.hpp", + "external/sources/boost/gil/extension/io/pnm/detail/read.hpp", + "external/sources/boost/gil/extension/io/pnm/detail/reader_backend.hpp", + "external/sources/boost/gil/extension/io/pnm/detail/scanline_read.hpp", + "external/sources/boost/gil/extension/io/pnm/detail/supported_types.hpp", + "external/sources/boost/gil/extension/io/pnm/detail/write.hpp", + "external/sources/boost/gil/extension/io/pnm/detail/writer_backend.hpp", + "external/sources/boost/gil/extension/io/pnm/old.hpp", + "external/sources/boost/gil/extension/io/pnm/read.hpp", + "external/sources/boost/gil/extension/io/pnm/tags.hpp", + "external/sources/boost/gil/extension/io/pnm/write.hpp", + "external/sources/boost/gil/extension/io/raw.hpp", + "external/sources/boost/gil/extension/io/raw/detail/device.hpp", + "external/sources/boost/gil/extension/io/raw/detail/is_allowed.hpp", + "external/sources/boost/gil/extension/io/raw/detail/read.hpp", + "external/sources/boost/gil/extension/io/raw/detail/reader_backend.hpp", + "external/sources/boost/gil/extension/io/raw/detail/supported_types.hpp", + "external/sources/boost/gil/extension/io/raw/read.hpp", + "external/sources/boost/gil/extension/io/raw/tags.hpp", + "external/sources/boost/gil/extension/io/targa.hpp", + "external/sources/boost/gil/extension/io/targa/detail/is_allowed.hpp", + "external/sources/boost/gil/extension/io/targa/detail/read.hpp", + "external/sources/boost/gil/extension/io/targa/detail/reader_backend.hpp", + "external/sources/boost/gil/extension/io/targa/detail/scanline_read.hpp", + "external/sources/boost/gil/extension/io/targa/detail/supported_types.hpp", + "external/sources/boost/gil/extension/io/targa/detail/write.hpp", + "external/sources/boost/gil/extension/io/targa/detail/writer_backend.hpp", + "external/sources/boost/gil/extension/io/targa/old.hpp", + "external/sources/boost/gil/extension/io/targa/read.hpp", + "external/sources/boost/gil/extension/io/targa/tags.hpp", + "external/sources/boost/gil/extension/io/targa/write.hpp", + "external/sources/boost/gil/extension/io/tiff.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/device.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/is_allowed.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/log.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/read.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/reader_backend.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/scanline_read.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/supported_types.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/write.hpp", + "external/sources/boost/gil/extension/io/tiff/detail/writer_backend.hpp", + "external/sources/boost/gil/extension/io/tiff/old.hpp", + "external/sources/boost/gil/extension/io/tiff/read.hpp", + "external/sources/boost/gil/extension/io/tiff/tags.hpp", + "external/sources/boost/gil/extension/io/tiff/write.hpp", + "external/sources/boost/gil/extension/numeric/affine.hpp", + "external/sources/boost/gil/extension/numeric/algorithm.hpp", + "external/sources/boost/gil/extension/numeric/channel_numeric_operations.hpp", + "external/sources/boost/gil/extension/numeric/convolve.hpp", + "external/sources/boost/gil/extension/numeric/kernel.hpp", + "external/sources/boost/gil/extension/numeric/pixel_numeric_operations.hpp", + "external/sources/boost/gil/extension/numeric/resample.hpp", + "external/sources/boost/gil/extension/numeric/sampler.hpp", + "external/sources/boost/gil/extension/toolbox/color_converters.hpp", + "external/sources/boost/gil/extension/toolbox/color_converters/gray_to_rgba.hpp", + "external/sources/boost/gil/extension/toolbox/color_converters/rgb_to_luminance.hpp", + "external/sources/boost/gil/extension/toolbox/color_spaces.hpp", + "external/sources/boost/gil/extension/toolbox/color_spaces/cmyka.hpp", + "external/sources/boost/gil/extension/toolbox/color_spaces/gray_alpha.hpp", + "external/sources/boost/gil/extension/toolbox/color_spaces/hsl.hpp", + "external/sources/boost/gil/extension/toolbox/color_spaces/hsv.hpp", + "external/sources/boost/gil/extension/toolbox/color_spaces/lab.hpp", + "external/sources/boost/gil/extension/toolbox/color_spaces/xyz.hpp", + "external/sources/boost/gil/extension/toolbox/color_spaces/ycbcr.hpp", + "external/sources/boost/gil/extension/toolbox/dynamic_images.hpp", + "external/sources/boost/gil/extension/toolbox/image_types.hpp", + "external/sources/boost/gil/extension/toolbox/image_types/indexed_image.hpp", + "external/sources/boost/gil/extension/toolbox/image_types/subchroma_image.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions/channel_type.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions/channel_view.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions/get_num_bits.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions/get_pixel_type.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions/is_bit_aligned.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions/is_homogeneous.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions/is_similar.hpp", + "external/sources/boost/gil/extension/toolbox/metafunctions/pixel_bit_size.hpp", + "external/sources/boost/gil/extension/toolbox/toolbox.hpp", + "external/sources/boost/gil/gray.hpp", + "external/sources/boost/gil/image.hpp", + "external/sources/boost/gil/image_processing/filter.hpp", + "external/sources/boost/gil/image_processing/harris.hpp", + "external/sources/boost/gil/image_processing/hessian.hpp", + "external/sources/boost/gil/image_processing/numeric.hpp", + "external/sources/boost/gil/image_processing/scaling.hpp", + "external/sources/boost/gil/image_processing/threshold.hpp", + "external/sources/boost/gil/image_view.hpp", + "external/sources/boost/gil/image_view_factory.hpp", + "external/sources/boost/gil/io/base.hpp", + "external/sources/boost/gil/io/bit_operations.hpp", + "external/sources/boost/gil/io/conversion_policies.hpp", + "external/sources/boost/gil/io/device.hpp", + "external/sources/boost/gil/io/dynamic_io_new.hpp", + "external/sources/boost/gil/io/error.hpp", + "external/sources/boost/gil/io/get_read_device.hpp", + "external/sources/boost/gil/io/get_reader.hpp", + "external/sources/boost/gil/io/get_write_device.hpp", + "external/sources/boost/gil/io/get_writer.hpp", + "external/sources/boost/gil/io/io.hpp", + "external/sources/boost/gil/io/make_backend.hpp", + "external/sources/boost/gil/io/make_dynamic_image_reader.hpp", + "external/sources/boost/gil/io/make_dynamic_image_writer.hpp", + "external/sources/boost/gil/io/make_reader.hpp", + "external/sources/boost/gil/io/make_scanline_reader.hpp", + "external/sources/boost/gil/io/make_writer.hpp", + "external/sources/boost/gil/io/path_spec.hpp", + "external/sources/boost/gil/io/read_and_convert_image.hpp", + "external/sources/boost/gil/io/read_and_convert_view.hpp", + "external/sources/boost/gil/io/read_image.hpp", + "external/sources/boost/gil/io/read_image_info.hpp", + "external/sources/boost/gil/io/read_view.hpp", + "external/sources/boost/gil/io/reader_base.hpp", + "external/sources/boost/gil/io/row_buffer_helper.hpp", + "external/sources/boost/gil/io/scanline_read_iterator.hpp", + "external/sources/boost/gil/io/typedefs.hpp", + "external/sources/boost/gil/io/write_view.hpp", + "external/sources/boost/gil/iterator_from_2d.hpp", + "external/sources/boost/gil/locator.hpp", + "external/sources/boost/gil/metafunctions.hpp", + "external/sources/boost/gil/packed_pixel.hpp", + "external/sources/boost/gil/pixel.hpp", + "external/sources/boost/gil/pixel_iterator.hpp", + "external/sources/boost/gil/pixel_iterator_adaptor.hpp", + "external/sources/boost/gil/planar_pixel_iterator.hpp", + "external/sources/boost/gil/planar_pixel_reference.hpp", + "external/sources/boost/gil/point.hpp", + "external/sources/boost/gil/position_iterator.hpp", + "external/sources/boost/gil/premultiply.hpp", + "external/sources/boost/gil/promote_integral.hpp", + "external/sources/boost/gil/rgb.hpp", + "external/sources/boost/gil/rgba.hpp", + "external/sources/boost/gil/step_iterator.hpp", + "external/sources/boost/gil/typedefs.hpp", + "external/sources/boost/gil/utilities.hpp", + "external/sources/boost/gil/virtual_locator.hpp", + "external/sources/boost/graph/accounting.hpp", + "external/sources/boost/graph/adj_list_serialize.hpp", + "external/sources/boost/graph/adjacency_iterator.hpp", + "external/sources/boost/graph/adjacency_list.hpp", + "external/sources/boost/graph/adjacency_list_io.hpp", + "external/sources/boost/graph/adjacency_matrix.hpp", + "external/sources/boost/graph/astar_search.hpp", + "external/sources/boost/graph/bandwidth.hpp", + "external/sources/boost/graph/bc_clustering.hpp", + "external/sources/boost/graph/bellman_ford_shortest_paths.hpp", + "external/sources/boost/graph/betweenness_centrality.hpp", + "external/sources/boost/graph/biconnected_components.hpp", + "external/sources/boost/graph/bipartite.hpp", + "external/sources/boost/graph/boyer_myrvold_planar_test.hpp", + "external/sources/boost/graph/boykov_kolmogorov_max_flow.hpp", + "external/sources/boost/graph/breadth_first_search.hpp", + "external/sources/boost/graph/bron_kerbosch_all_cliques.hpp", + "external/sources/boost/graph/buffer_concepts.hpp", + "external/sources/boost/graph/chrobak_payne_drawing.hpp", + "external/sources/boost/graph/circle_layout.hpp", + "external/sources/boost/graph/closeness_centrality.hpp", + "external/sources/boost/graph/clustering_coefficient.hpp", + "external/sources/boost/graph/compressed_sparse_row_graph.hpp", + "external/sources/boost/graph/connected_components.hpp", + "external/sources/boost/graph/copy.hpp", + "external/sources/boost/graph/core_numbers.hpp", + "external/sources/boost/graph/create_condensation_graph.hpp", + "external/sources/boost/graph/cuthill_mckee_ordering.hpp", + "external/sources/boost/graph/cycle_canceling.hpp", + "external/sources/boost/graph/dag_shortest_paths.hpp", + "external/sources/boost/graph/degree_centrality.hpp", + "external/sources/boost/graph/depth_first_search.hpp", + "external/sources/boost/graph/detail/adj_list_edge_iterator.hpp", + "external/sources/boost/graph/detail/adjacency_list.hpp", + "external/sources/boost/graph/detail/array_binary_tree.hpp", + "external/sources/boost/graph/detail/augment.hpp", + "external/sources/boost/graph/detail/compressed_sparse_row_struct.hpp", + "external/sources/boost/graph/detail/connected_components.hpp", + "external/sources/boost/graph/detail/d_ary_heap.hpp", + "external/sources/boost/graph/detail/edge.hpp", + "external/sources/boost/graph/detail/empty_header.hpp", + "external/sources/boost/graph/detail/geodesic.hpp", + "external/sources/boost/graph/detail/histogram_sort.hpp", + "external/sources/boost/graph/detail/incidence_iterator.hpp", + "external/sources/boost/graph/detail/incremental_components.hpp", + "external/sources/boost/graph/detail/index.hpp", + "external/sources/boost/graph/detail/indexed_properties.hpp", + "external/sources/boost/graph/detail/is_distributed_selector.hpp", + "external/sources/boost/graph/detail/labeled_graph_traits.hpp", + "external/sources/boost/graph/detail/list_base.hpp", + "external/sources/boost/graph/detail/mpi_include.hpp", + "external/sources/boost/graph/detail/permutation.hpp", + "external/sources/boost/graph/detail/read_graphviz_new.hpp", + "external/sources/boost/graph/detail/read_graphviz_spirit.hpp", + "external/sources/boost/graph/detail/self_avoiding_walk.hpp", + "external/sources/boost/graph/detail/set_adaptor.hpp", + "external/sources/boost/graph/detail/shadow_iterator.hpp", + "external/sources/boost/graph/detail/sparse_ordering.hpp", + "external/sources/boost/graph/dijkstra_shortest_paths.hpp", + "external/sources/boost/graph/dijkstra_shortest_paths_no_color_map.hpp", + "external/sources/boost/graph/dimacs.hpp", + "external/sources/boost/graph/directed_graph.hpp", + "external/sources/boost/graph/distributed/adjacency_list.hpp", + "external/sources/boost/graph/distributed/adjlist/handlers.hpp", + "external/sources/boost/graph/distributed/adjlist/initialize.hpp", + "external/sources/boost/graph/distributed/adjlist/redistribute.hpp", + "external/sources/boost/graph/distributed/adjlist/serialization.hpp", + "external/sources/boost/graph/distributed/betweenness_centrality.hpp", + "external/sources/boost/graph/distributed/boman_et_al_graph_coloring.hpp", + "external/sources/boost/graph/distributed/breadth_first_search.hpp", + "external/sources/boost/graph/distributed/compressed_sparse_row_graph.hpp", + "external/sources/boost/graph/distributed/concepts.hpp", + "external/sources/boost/graph/distributed/connected_components.hpp", + "external/sources/boost/graph/distributed/connected_components_parallel_search.hpp", + "external/sources/boost/graph/distributed/crauser_et_al_shortest_paths.hpp", + "external/sources/boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp", + "external/sources/boost/graph/distributed/delta_stepping_shortest_paths.hpp", + "external/sources/boost/graph/distributed/depth_first_search.hpp", + "external/sources/boost/graph/distributed/detail/dijkstra_shortest_paths.hpp", + "external/sources/boost/graph/distributed/detail/filtered_queue.hpp", + "external/sources/boost/graph/distributed/detail/mpi_process_group.ipp", + "external/sources/boost/graph/distributed/detail/queue.ipp", + "external/sources/boost/graph/distributed/detail/remote_update_set.hpp", + "external/sources/boost/graph/distributed/detail/tag_allocator.hpp", + "external/sources/boost/graph/distributed/dijkstra_shortest_paths.hpp", + "external/sources/boost/graph/distributed/distributed_graph_utility.hpp", + "external/sources/boost/graph/distributed/eager_dijkstra_shortest_paths.hpp", + "external/sources/boost/graph/distributed/filtered_graph.hpp", + "external/sources/boost/graph/distributed/fruchterman_reingold.hpp", + "external/sources/boost/graph/distributed/graphviz.hpp", + "external/sources/boost/graph/distributed/hohberg_biconnected_components.hpp", + "external/sources/boost/graph/distributed/local_subgraph.hpp", + "external/sources/boost/graph/distributed/mpi_process_group.hpp", + "external/sources/boost/graph/distributed/named_graph.hpp", + "external/sources/boost/graph/distributed/one_bit_color_map.hpp", + "external/sources/boost/graph/distributed/page_rank.hpp", + "external/sources/boost/graph/distributed/queue.hpp", + "external/sources/boost/graph/distributed/reverse_graph.hpp", + "external/sources/boost/graph/distributed/rmat_graph_generator.hpp", + "external/sources/boost/graph/distributed/selector.hpp", + "external/sources/boost/graph/distributed/shuffled_distribution.hpp", + "external/sources/boost/graph/distributed/st_connected.hpp", + "external/sources/boost/graph/distributed/strong_components.hpp", + "external/sources/boost/graph/distributed/two_bit_color_map.hpp", + "external/sources/boost/graph/distributed/unsafe_serialize.hpp", + "external/sources/boost/graph/distributed/vertex_list_adaptor.hpp", + "external/sources/boost/graph/dll_import_export.hpp", + "external/sources/boost/graph/dominator_tree.hpp", + "external/sources/boost/graph/eccentricity.hpp", + "external/sources/boost/graph/edge_coloring.hpp", + "external/sources/boost/graph/edge_connectivity.hpp", + "external/sources/boost/graph/edge_list.hpp", + "external/sources/boost/graph/edmonds_karp_max_flow.hpp", + "external/sources/boost/graph/edmunds_karp_max_flow.hpp", + "external/sources/boost/graph/erdos_renyi_generator.hpp", + "external/sources/boost/graph/exception.hpp", + "external/sources/boost/graph/exterior_property.hpp", + "external/sources/boost/graph/filtered_graph.hpp", + "external/sources/boost/graph/find_flow_cost.hpp", + "external/sources/boost/graph/floyd_warshall_shortest.hpp", + "external/sources/boost/graph/fruchterman_reingold.hpp", + "external/sources/boost/graph/geodesic_distance.hpp", + "external/sources/boost/graph/graph_archetypes.hpp", + "external/sources/boost/graph/graph_as_tree.hpp", + "external/sources/boost/graph/graph_concepts.hpp", + "external/sources/boost/graph/graph_mutability_traits.hpp", + "external/sources/boost/graph/graph_selectors.hpp", + "external/sources/boost/graph/graph_stats.hpp", + "external/sources/boost/graph/graph_traits.hpp", + "external/sources/boost/graph/graph_utility.hpp", + "external/sources/boost/graph/graphml.hpp", + "external/sources/boost/graph/graphviz.hpp", + "external/sources/boost/graph/grid_graph.hpp", + "external/sources/boost/graph/gursoy_atun_layout.hpp", + "external/sources/boost/graph/hawick_circuits.hpp", + "external/sources/boost/graph/howard_cycle_ratio.hpp", + "external/sources/boost/graph/incremental_components.hpp", + "external/sources/boost/graph/is_kuratowski_subgraph.hpp", + "external/sources/boost/graph/is_straight_line_drawing.hpp", + "external/sources/boost/graph/isomorphism.hpp", + "external/sources/boost/graph/iteration_macros.hpp", + "external/sources/boost/graph/iteration_macros_undef.hpp", + "external/sources/boost/graph/johnson_all_pairs_shortest.hpp", + "external/sources/boost/graph/kamada_kawai_spring_layout.hpp", + "external/sources/boost/graph/king_ordering.hpp", + "external/sources/boost/graph/kruskal_min_spanning_tree.hpp", + "external/sources/boost/graph/labeled_graph.hpp", + "external/sources/boost/graph/leda_graph.hpp", + "external/sources/boost/graph/lookup_edge.hpp", + "external/sources/boost/graph/loop_erased_random_walk.hpp", + "external/sources/boost/graph/make_biconnected_planar.hpp", + "external/sources/boost/graph/make_connected.hpp", + "external/sources/boost/graph/make_maximal_planar.hpp", + "external/sources/boost/graph/matrix_as_graph.hpp", + "external/sources/boost/graph/max_cardinality_matching.hpp", + "external/sources/boost/graph/maximum_adjacency_search.hpp", + "external/sources/boost/graph/maximum_weighted_matching.hpp", + "external/sources/boost/graph/mcgregor_common_subgraphs.hpp", + "external/sources/boost/graph/mesh_graph_generator.hpp", + "external/sources/boost/graph/metis.hpp", + "external/sources/boost/graph/metric_tsp_approx.hpp", + "external/sources/boost/graph/minimum_degree_ordering.hpp", + "external/sources/boost/graph/named_function_params.hpp", + "external/sources/boost/graph/named_graph.hpp", + "external/sources/boost/graph/neighbor_bfs.hpp", + "external/sources/boost/graph/numeric_values.hpp", + "external/sources/boost/graph/one_bit_color_map.hpp", + "external/sources/boost/graph/overloading.hpp", + "external/sources/boost/graph/page_rank.hpp", + "external/sources/boost/graph/parallel/algorithm.hpp", + "external/sources/boost/graph/parallel/basic_reduce.hpp", + "external/sources/boost/graph/parallel/container_traits.hpp", + "external/sources/boost/graph/parallel/detail/inplace_all_to_all.hpp", + "external/sources/boost/graph/parallel/detail/property_holders.hpp", + "external/sources/boost/graph/parallel/detail/untracked_pair.hpp", + "external/sources/boost/graph/parallel/distribution.hpp", + "external/sources/boost/graph/parallel/process_group.hpp", + "external/sources/boost/graph/parallel/properties.hpp", + "external/sources/boost/graph/parallel/simple_trigger.hpp", + "external/sources/boost/graph/planar_canonical_ordering.hpp", + "external/sources/boost/graph/planar_detail/add_edge_visitors.hpp", + "external/sources/boost/graph/planar_detail/boyer_myrvold_impl.hpp", + "external/sources/boost/graph/planar_detail/bucket_sort.hpp", + "external/sources/boost/graph/planar_detail/face_handles.hpp", + "external/sources/boost/graph/planar_detail/face_iterators.hpp", + "external/sources/boost/graph/planar_face_traversal.hpp", + "external/sources/boost/graph/plod_generator.hpp", + "external/sources/boost/graph/point_traits.hpp", + "external/sources/boost/graph/prim_minimum_spanning_tree.hpp", + "external/sources/boost/graph/profile.hpp", + "external/sources/boost/graph/properties.hpp", + "external/sources/boost/graph/property_iter_range.hpp", + "external/sources/boost/graph/property_maps/constant_property_map.hpp", + "external/sources/boost/graph/property_maps/container_property_map.hpp", + "external/sources/boost/graph/property_maps/matrix_property_map.hpp", + "external/sources/boost/graph/property_maps/null_property_map.hpp", + "external/sources/boost/graph/push_relabel_max_flow.hpp", + "external/sources/boost/graph/r_c_shortest_paths.hpp", + "external/sources/boost/graph/random.hpp", + "external/sources/boost/graph/random_layout.hpp", + "external/sources/boost/graph/random_spanning_tree.hpp", + "external/sources/boost/graph/read_dimacs.hpp", + "external/sources/boost/graph/relax.hpp", + "external/sources/boost/graph/reverse_graph.hpp", + "external/sources/boost/graph/rmat_graph_generator.hpp", + "external/sources/boost/graph/sequential_vertex_coloring.hpp", + "external/sources/boost/graph/simple_point.hpp", + "external/sources/boost/graph/sloan_ordering.hpp", + "external/sources/boost/graph/small_world_generator.hpp", + "external/sources/boost/graph/smallest_last_ordering.hpp", + "external/sources/boost/graph/ssca_graph_generator.hpp", + "external/sources/boost/graph/st_connected.hpp", + "external/sources/boost/graph/stanford_graph.hpp", + "external/sources/boost/graph/stoer_wagner_min_cut.hpp", + "external/sources/boost/graph/strong_components.hpp", + "external/sources/boost/graph/subgraph.hpp", + "external/sources/boost/graph/successive_shortest_path_nonnegative_weights.hpp", + "external/sources/boost/graph/tiernan_all_cycles.hpp", + "external/sources/boost/graph/topological_sort.hpp", + "external/sources/boost/graph/topology.hpp", + "external/sources/boost/graph/transitive_closure.hpp", + "external/sources/boost/graph/transitive_reduction.hpp", + "external/sources/boost/graph/transpose_graph.hpp", + "external/sources/boost/graph/tree_traits.hpp", + "external/sources/boost/graph/two_bit_color_map.hpp", + "external/sources/boost/graph/two_graphs_common_spanning_trees.hpp", + "external/sources/boost/graph/undirected_dfs.hpp", + "external/sources/boost/graph/undirected_graph.hpp", + "external/sources/boost/graph/use_mpi.hpp", + "external/sources/boost/graph/vector_as_graph.hpp", + "external/sources/boost/graph/vertex_and_edge_range.hpp", + "external/sources/boost/graph/vf2_sub_graph_iso.hpp", + "external/sources/boost/graph/visitors.hpp", + "external/sources/boost/graph/wavefront.hpp", + "external/sources/boost/graph/write_dimacs.hpp", + "external/sources/boost/hana.hpp", + "external/sources/boost/hana/accessors.hpp", + "external/sources/boost/hana/adapt_adt.hpp", + "external/sources/boost/hana/adapt_struct.hpp", + "external/sources/boost/hana/adjust.hpp", + "external/sources/boost/hana/adjust_if.hpp", + "external/sources/boost/hana/all.hpp", + "external/sources/boost/hana/all_of.hpp", + "external/sources/boost/hana/and.hpp", + "external/sources/boost/hana/any.hpp", + "external/sources/boost/hana/any_of.hpp", + "external/sources/boost/hana/ap.hpp", + "external/sources/boost/hana/append.hpp", + "external/sources/boost/hana/assert.hpp", + "external/sources/boost/hana/at.hpp", + "external/sources/boost/hana/at_key.hpp", + "external/sources/boost/hana/back.hpp", + "external/sources/boost/hana/basic_tuple.hpp", + "external/sources/boost/hana/bool.hpp", + "external/sources/boost/hana/cartesian_product.hpp", + "external/sources/boost/hana/chain.hpp", + "external/sources/boost/hana/comparing.hpp", + "external/sources/boost/hana/concat.hpp", + "external/sources/boost/hana/concept.hpp", + "external/sources/boost/hana/concept/applicative.hpp", + "external/sources/boost/hana/concept/comonad.hpp", + "external/sources/boost/hana/concept/comparable.hpp", + "external/sources/boost/hana/concept/constant.hpp", + "external/sources/boost/hana/concept/euclidean_ring.hpp", + "external/sources/boost/hana/concept/foldable.hpp", + "external/sources/boost/hana/concept/functor.hpp", + "external/sources/boost/hana/concept/group.hpp", + "external/sources/boost/hana/concept/hashable.hpp", + "external/sources/boost/hana/concept/integral_constant.hpp", + "external/sources/boost/hana/concept/iterable.hpp", + "external/sources/boost/hana/concept/logical.hpp", + "external/sources/boost/hana/concept/metafunction.hpp", + "external/sources/boost/hana/concept/monad.hpp", + "external/sources/boost/hana/concept/monad_plus.hpp", + "external/sources/boost/hana/concept/monoid.hpp", + "external/sources/boost/hana/concept/orderable.hpp", + "external/sources/boost/hana/concept/product.hpp", + "external/sources/boost/hana/concept/ring.hpp", + "external/sources/boost/hana/concept/searchable.hpp", + "external/sources/boost/hana/concept/sequence.hpp", + "external/sources/boost/hana/concept/struct.hpp", + "external/sources/boost/hana/config.hpp", + "external/sources/boost/hana/contains.hpp", + "external/sources/boost/hana/core.hpp", + "external/sources/boost/hana/core/common.hpp", + "external/sources/boost/hana/core/default.hpp", + "external/sources/boost/hana/core/dispatch.hpp", + "external/sources/boost/hana/core/is_a.hpp", + "external/sources/boost/hana/core/make.hpp", + "external/sources/boost/hana/core/tag_of.hpp", + "external/sources/boost/hana/core/to.hpp", + "external/sources/boost/hana/core/when.hpp", + "external/sources/boost/hana/count.hpp", + "external/sources/boost/hana/count_if.hpp", + "external/sources/boost/hana/cycle.hpp", + "external/sources/boost/hana/define_struct.hpp", + "external/sources/boost/hana/detail/algorithm.hpp", + "external/sources/boost/hana/detail/any_of.hpp", + "external/sources/boost/hana/detail/array.hpp", + "external/sources/boost/hana/detail/canonical_constant.hpp", + "external/sources/boost/hana/detail/concepts.hpp", + "external/sources/boost/hana/detail/create.hpp", + "external/sources/boost/hana/detail/decay.hpp", + "external/sources/boost/hana/detail/dispatch_if.hpp", + "external/sources/boost/hana/detail/ebo.hpp", + "external/sources/boost/hana/detail/fast_and.hpp", + "external/sources/boost/hana/detail/first_unsatisfied_index.hpp", + "external/sources/boost/hana/detail/has_common_embedding.hpp", + "external/sources/boost/hana/detail/has_duplicates.hpp", + "external/sources/boost/hana/detail/hash_table.hpp", + "external/sources/boost/hana/detail/index_if.hpp", + "external/sources/boost/hana/detail/integral_constant.hpp", + "external/sources/boost/hana/detail/intrinsics.hpp", + "external/sources/boost/hana/detail/nested_by.hpp", + "external/sources/boost/hana/detail/nested_by_fwd.hpp", + "external/sources/boost/hana/detail/nested_than.hpp", + "external/sources/boost/hana/detail/nested_than_fwd.hpp", + "external/sources/boost/hana/detail/nested_to.hpp", + "external/sources/boost/hana/detail/nested_to_fwd.hpp", + "external/sources/boost/hana/detail/operators/adl.hpp", + "external/sources/boost/hana/detail/operators/arithmetic.hpp", + "external/sources/boost/hana/detail/operators/comparable.hpp", + "external/sources/boost/hana/detail/operators/iterable.hpp", + "external/sources/boost/hana/detail/operators/logical.hpp", + "external/sources/boost/hana/detail/operators/monad.hpp", + "external/sources/boost/hana/detail/operators/orderable.hpp", + "external/sources/boost/hana/detail/operators/searchable.hpp", + "external/sources/boost/hana/detail/preprocessor.hpp", + "external/sources/boost/hana/detail/std_common_type.hpp", + "external/sources/boost/hana/detail/struct_macros.hpp", + "external/sources/boost/hana/detail/struct_macros.hpp.erb", + "external/sources/boost/hana/detail/type_at.hpp", + "external/sources/boost/hana/detail/type_foldl1.hpp", + "external/sources/boost/hana/detail/type_foldr1.hpp", + "external/sources/boost/hana/detail/unpack_flatten.hpp", + "external/sources/boost/hana/detail/variadic/at.hpp", + "external/sources/boost/hana/detail/variadic/drop_into.hpp", + "external/sources/boost/hana/detail/variadic/foldl1.hpp", + "external/sources/boost/hana/detail/variadic/foldr1.hpp", + "external/sources/boost/hana/detail/variadic/reverse_apply.hpp", + "external/sources/boost/hana/detail/variadic/reverse_apply/flat.hpp", + "external/sources/boost/hana/detail/variadic/reverse_apply/unrolled.hpp", + "external/sources/boost/hana/detail/variadic/split_at.hpp", + "external/sources/boost/hana/detail/variadic/take.hpp", + "external/sources/boost/hana/detail/void_t.hpp", + "external/sources/boost/hana/detail/wrong.hpp", + "external/sources/boost/hana/difference.hpp", + "external/sources/boost/hana/div.hpp", + "external/sources/boost/hana/drop_back.hpp", + "external/sources/boost/hana/drop_front.hpp", + "external/sources/boost/hana/drop_front_exactly.hpp", + "external/sources/boost/hana/drop_while.hpp", + "external/sources/boost/hana/duplicate.hpp", + "external/sources/boost/hana/empty.hpp", + "external/sources/boost/hana/equal.hpp", + "external/sources/boost/hana/erase_key.hpp", + "external/sources/boost/hana/eval.hpp", + "external/sources/boost/hana/eval_if.hpp", + "external/sources/boost/hana/experimental/printable.hpp", + "external/sources/boost/hana/experimental/type_name.hpp", + "external/sources/boost/hana/experimental/types.hpp", + "external/sources/boost/hana/experimental/view.hpp", + "external/sources/boost/hana/ext/boost.hpp", + "external/sources/boost/hana/ext/boost/fusion.hpp", + "external/sources/boost/hana/ext/boost/fusion/deque.hpp", + "external/sources/boost/hana/ext/boost/fusion/detail/common.hpp", + "external/sources/boost/hana/ext/boost/fusion/list.hpp", + "external/sources/boost/hana/ext/boost/fusion/tuple.hpp", + "external/sources/boost/hana/ext/boost/fusion/vector.hpp", + "external/sources/boost/hana/ext/boost/mpl.hpp", + "external/sources/boost/hana/ext/boost/mpl/integral_c.hpp", + "external/sources/boost/hana/ext/boost/mpl/list.hpp", + "external/sources/boost/hana/ext/boost/mpl/vector.hpp", + "external/sources/boost/hana/ext/boost/tuple.hpp", + "external/sources/boost/hana/ext/std.hpp", + "external/sources/boost/hana/ext/std/array.hpp", + "external/sources/boost/hana/ext/std/integer_sequence.hpp", + "external/sources/boost/hana/ext/std/integral_constant.hpp", + "external/sources/boost/hana/ext/std/pair.hpp", + "external/sources/boost/hana/ext/std/ratio.hpp", + "external/sources/boost/hana/ext/std/tuple.hpp", + "external/sources/boost/hana/ext/std/vector.hpp", + "external/sources/boost/hana/extend.hpp", + "external/sources/boost/hana/extract.hpp", + "external/sources/boost/hana/fill.hpp", + "external/sources/boost/hana/filter.hpp", + "external/sources/boost/hana/find.hpp", + "external/sources/boost/hana/find_if.hpp", + "external/sources/boost/hana/first.hpp", + "external/sources/boost/hana/flatten.hpp", + "external/sources/boost/hana/fold.hpp", + "external/sources/boost/hana/fold_left.hpp", + "external/sources/boost/hana/fold_right.hpp", + "external/sources/boost/hana/for_each.hpp", + "external/sources/boost/hana/front.hpp", + "external/sources/boost/hana/functional.hpp", + "external/sources/boost/hana/functional/always.hpp", + "external/sources/boost/hana/functional/apply.hpp", + "external/sources/boost/hana/functional/arg.hpp", + "external/sources/boost/hana/functional/capture.hpp", + "external/sources/boost/hana/functional/compose.hpp", + "external/sources/boost/hana/functional/curry.hpp", + "external/sources/boost/hana/functional/demux.hpp", + "external/sources/boost/hana/functional/fix.hpp", + "external/sources/boost/hana/functional/flip.hpp", + "external/sources/boost/hana/functional/id.hpp", + "external/sources/boost/hana/functional/infix.hpp", + "external/sources/boost/hana/functional/iterate.hpp", + "external/sources/boost/hana/functional/lockstep.hpp", + "external/sources/boost/hana/functional/on.hpp", + "external/sources/boost/hana/functional/overload.hpp", + "external/sources/boost/hana/functional/overload_linearly.hpp", + "external/sources/boost/hana/functional/partial.hpp", + "external/sources/boost/hana/functional/placeholder.hpp", + "external/sources/boost/hana/functional/reverse_partial.hpp", + "external/sources/boost/hana/fuse.hpp", + "external/sources/boost/hana/fwd/accessors.hpp", + "external/sources/boost/hana/fwd/adapt_adt.hpp", + "external/sources/boost/hana/fwd/adapt_struct.hpp", + "external/sources/boost/hana/fwd/adjust.hpp", + "external/sources/boost/hana/fwd/adjust_if.hpp", + "external/sources/boost/hana/fwd/all.hpp", + "external/sources/boost/hana/fwd/all_of.hpp", + "external/sources/boost/hana/fwd/and.hpp", + "external/sources/boost/hana/fwd/any.hpp", + "external/sources/boost/hana/fwd/any_of.hpp", + "external/sources/boost/hana/fwd/ap.hpp", + "external/sources/boost/hana/fwd/append.hpp", + "external/sources/boost/hana/fwd/at.hpp", + "external/sources/boost/hana/fwd/at_key.hpp", + "external/sources/boost/hana/fwd/back.hpp", + "external/sources/boost/hana/fwd/basic_tuple.hpp", + "external/sources/boost/hana/fwd/bool.hpp", + "external/sources/boost/hana/fwd/cartesian_product.hpp", + "external/sources/boost/hana/fwd/chain.hpp", + "external/sources/boost/hana/fwd/comparing.hpp", + "external/sources/boost/hana/fwd/concat.hpp", + "external/sources/boost/hana/fwd/concept/applicative.hpp", + "external/sources/boost/hana/fwd/concept/comonad.hpp", + "external/sources/boost/hana/fwd/concept/comparable.hpp", + "external/sources/boost/hana/fwd/concept/constant.hpp", + "external/sources/boost/hana/fwd/concept/euclidean_ring.hpp", + "external/sources/boost/hana/fwd/concept/foldable.hpp", + "external/sources/boost/hana/fwd/concept/functor.hpp", + "external/sources/boost/hana/fwd/concept/group.hpp", + "external/sources/boost/hana/fwd/concept/hashable.hpp", + "external/sources/boost/hana/fwd/concept/integral_constant.hpp", + "external/sources/boost/hana/fwd/concept/iterable.hpp", + "external/sources/boost/hana/fwd/concept/logical.hpp", + "external/sources/boost/hana/fwd/concept/metafunction.hpp", + "external/sources/boost/hana/fwd/concept/monad.hpp", + "external/sources/boost/hana/fwd/concept/monad_plus.hpp", + "external/sources/boost/hana/fwd/concept/monoid.hpp", + "external/sources/boost/hana/fwd/concept/orderable.hpp", + "external/sources/boost/hana/fwd/concept/product.hpp", + "external/sources/boost/hana/fwd/concept/ring.hpp", + "external/sources/boost/hana/fwd/concept/searchable.hpp", + "external/sources/boost/hana/fwd/concept/sequence.hpp", + "external/sources/boost/hana/fwd/concept/struct.hpp", + "external/sources/boost/hana/fwd/contains.hpp", + "external/sources/boost/hana/fwd/core.hpp", + "external/sources/boost/hana/fwd/core/common.hpp", + "external/sources/boost/hana/fwd/core/default.hpp", + "external/sources/boost/hana/fwd/core/is_a.hpp", + "external/sources/boost/hana/fwd/core/make.hpp", + "external/sources/boost/hana/fwd/core/tag_of.hpp", + "external/sources/boost/hana/fwd/core/to.hpp", + "external/sources/boost/hana/fwd/core/when.hpp", + "external/sources/boost/hana/fwd/count.hpp", + "external/sources/boost/hana/fwd/count_if.hpp", + "external/sources/boost/hana/fwd/cycle.hpp", + "external/sources/boost/hana/fwd/define_struct.hpp", + "external/sources/boost/hana/fwd/difference.hpp", + "external/sources/boost/hana/fwd/div.hpp", + "external/sources/boost/hana/fwd/drop_back.hpp", + "external/sources/boost/hana/fwd/drop_front.hpp", + "external/sources/boost/hana/fwd/drop_front_exactly.hpp", + "external/sources/boost/hana/fwd/drop_while.hpp", + "external/sources/boost/hana/fwd/duplicate.hpp", + "external/sources/boost/hana/fwd/empty.hpp", + "external/sources/boost/hana/fwd/equal.hpp", + "external/sources/boost/hana/fwd/erase_key.hpp", + "external/sources/boost/hana/fwd/eval.hpp", + "external/sources/boost/hana/fwd/eval_if.hpp", + "external/sources/boost/hana/fwd/extend.hpp", + "external/sources/boost/hana/fwd/extract.hpp", + "external/sources/boost/hana/fwd/fill.hpp", + "external/sources/boost/hana/fwd/filter.hpp", + "external/sources/boost/hana/fwd/find.hpp", + "external/sources/boost/hana/fwd/find_if.hpp", + "external/sources/boost/hana/fwd/first.hpp", + "external/sources/boost/hana/fwd/flatten.hpp", + "external/sources/boost/hana/fwd/fold.hpp", + "external/sources/boost/hana/fwd/fold_left.hpp", + "external/sources/boost/hana/fwd/fold_right.hpp", + "external/sources/boost/hana/fwd/for_each.hpp", + "external/sources/boost/hana/fwd/front.hpp", + "external/sources/boost/hana/fwd/fuse.hpp", + "external/sources/boost/hana/fwd/greater.hpp", + "external/sources/boost/hana/fwd/greater_equal.hpp", + "external/sources/boost/hana/fwd/group.hpp", + "external/sources/boost/hana/fwd/hash.hpp", + "external/sources/boost/hana/fwd/if.hpp", + "external/sources/boost/hana/fwd/index_if.hpp", + "external/sources/boost/hana/fwd/insert.hpp", + "external/sources/boost/hana/fwd/insert_range.hpp", + "external/sources/boost/hana/fwd/integral_constant.hpp", + "external/sources/boost/hana/fwd/intersection.hpp", + "external/sources/boost/hana/fwd/intersperse.hpp", + "external/sources/boost/hana/fwd/is_disjoint.hpp", + "external/sources/boost/hana/fwd/is_empty.hpp", + "external/sources/boost/hana/fwd/is_subset.hpp", + "external/sources/boost/hana/fwd/keys.hpp", + "external/sources/boost/hana/fwd/lazy.hpp", + "external/sources/boost/hana/fwd/length.hpp", + "external/sources/boost/hana/fwd/less.hpp", + "external/sources/boost/hana/fwd/less_equal.hpp", + "external/sources/boost/hana/fwd/lexicographical_compare.hpp", + "external/sources/boost/hana/fwd/lift.hpp", + "external/sources/boost/hana/fwd/map.hpp", + "external/sources/boost/hana/fwd/max.hpp", + "external/sources/boost/hana/fwd/maximum.hpp", + "external/sources/boost/hana/fwd/members.hpp", + "external/sources/boost/hana/fwd/min.hpp", + "external/sources/boost/hana/fwd/minimum.hpp", + "external/sources/boost/hana/fwd/minus.hpp", + "external/sources/boost/hana/fwd/mod.hpp", + "external/sources/boost/hana/fwd/monadic_compose.hpp", + "external/sources/boost/hana/fwd/monadic_fold_left.hpp", + "external/sources/boost/hana/fwd/monadic_fold_right.hpp", + "external/sources/boost/hana/fwd/mult.hpp", + "external/sources/boost/hana/fwd/negate.hpp", + "external/sources/boost/hana/fwd/none.hpp", + "external/sources/boost/hana/fwd/none_of.hpp", + "external/sources/boost/hana/fwd/not.hpp", + "external/sources/boost/hana/fwd/not_equal.hpp", + "external/sources/boost/hana/fwd/one.hpp", + "external/sources/boost/hana/fwd/optional.hpp", + "external/sources/boost/hana/fwd/or.hpp", + "external/sources/boost/hana/fwd/ordering.hpp", + "external/sources/boost/hana/fwd/pair.hpp", + "external/sources/boost/hana/fwd/partition.hpp", + "external/sources/boost/hana/fwd/permutations.hpp", + "external/sources/boost/hana/fwd/plus.hpp", + "external/sources/boost/hana/fwd/power.hpp", + "external/sources/boost/hana/fwd/prefix.hpp", + "external/sources/boost/hana/fwd/prepend.hpp", + "external/sources/boost/hana/fwd/product.hpp", + "external/sources/boost/hana/fwd/range.hpp", + "external/sources/boost/hana/fwd/remove.hpp", + "external/sources/boost/hana/fwd/remove_at.hpp", + "external/sources/boost/hana/fwd/remove_if.hpp", + "external/sources/boost/hana/fwd/remove_range.hpp", + "external/sources/boost/hana/fwd/repeat.hpp", + "external/sources/boost/hana/fwd/replace.hpp", + "external/sources/boost/hana/fwd/replace_if.hpp", + "external/sources/boost/hana/fwd/replicate.hpp", + "external/sources/boost/hana/fwd/reverse.hpp", + "external/sources/boost/hana/fwd/reverse_fold.hpp", + "external/sources/boost/hana/fwd/scan_left.hpp", + "external/sources/boost/hana/fwd/scan_right.hpp", + "external/sources/boost/hana/fwd/second.hpp", + "external/sources/boost/hana/fwd/set.hpp", + "external/sources/boost/hana/fwd/size.hpp", + "external/sources/boost/hana/fwd/slice.hpp", + "external/sources/boost/hana/fwd/sort.hpp", + "external/sources/boost/hana/fwd/span.hpp", + "external/sources/boost/hana/fwd/string.hpp", + "external/sources/boost/hana/fwd/suffix.hpp", + "external/sources/boost/hana/fwd/sum.hpp", + "external/sources/boost/hana/fwd/symmetric_difference.hpp", + "external/sources/boost/hana/fwd/take_back.hpp", + "external/sources/boost/hana/fwd/take_front.hpp", + "external/sources/boost/hana/fwd/take_while.hpp", + "external/sources/boost/hana/fwd/tap.hpp", + "external/sources/boost/hana/fwd/then.hpp", + "external/sources/boost/hana/fwd/transform.hpp", + "external/sources/boost/hana/fwd/tuple.hpp", + "external/sources/boost/hana/fwd/type.hpp", + "external/sources/boost/hana/fwd/unfold_left.hpp", + "external/sources/boost/hana/fwd/unfold_right.hpp", + "external/sources/boost/hana/fwd/union.hpp", + "external/sources/boost/hana/fwd/unique.hpp", + "external/sources/boost/hana/fwd/unpack.hpp", + "external/sources/boost/hana/fwd/value.hpp", + "external/sources/boost/hana/fwd/while.hpp", + "external/sources/boost/hana/fwd/zero.hpp", + "external/sources/boost/hana/fwd/zip.hpp", + "external/sources/boost/hana/fwd/zip_shortest.hpp", + "external/sources/boost/hana/fwd/zip_shortest_with.hpp", + "external/sources/boost/hana/fwd/zip_with.hpp", + "external/sources/boost/hana/greater.hpp", + "external/sources/boost/hana/greater_equal.hpp", + "external/sources/boost/hana/group.hpp", + "external/sources/boost/hana/hash.hpp", + "external/sources/boost/hana/if.hpp", + "external/sources/boost/hana/index_if.hpp", + "external/sources/boost/hana/insert.hpp", + "external/sources/boost/hana/insert_range.hpp", + "external/sources/boost/hana/integral_constant.hpp", + "external/sources/boost/hana/intersection.hpp", + "external/sources/boost/hana/intersperse.hpp", + "external/sources/boost/hana/is_disjoint.hpp", + "external/sources/boost/hana/is_empty.hpp", + "external/sources/boost/hana/is_subset.hpp", + "external/sources/boost/hana/keys.hpp", + "external/sources/boost/hana/lazy.hpp", + "external/sources/boost/hana/length.hpp", + "external/sources/boost/hana/less.hpp", + "external/sources/boost/hana/less_equal.hpp", + "external/sources/boost/hana/lexicographical_compare.hpp", + "external/sources/boost/hana/lift.hpp", + "external/sources/boost/hana/map.hpp", + "external/sources/boost/hana/max.hpp", + "external/sources/boost/hana/maximum.hpp", + "external/sources/boost/hana/members.hpp", + "external/sources/boost/hana/min.hpp", + "external/sources/boost/hana/minimum.hpp", + "external/sources/boost/hana/minus.hpp", + "external/sources/boost/hana/mod.hpp", + "external/sources/boost/hana/monadic_compose.hpp", + "external/sources/boost/hana/monadic_fold_left.hpp", + "external/sources/boost/hana/monadic_fold_right.hpp", + "external/sources/boost/hana/mult.hpp", + "external/sources/boost/hana/negate.hpp", + "external/sources/boost/hana/none.hpp", + "external/sources/boost/hana/none_of.hpp", + "external/sources/boost/hana/not.hpp", + "external/sources/boost/hana/not_equal.hpp", + "external/sources/boost/hana/one.hpp", + "external/sources/boost/hana/optional.hpp", + "external/sources/boost/hana/or.hpp", + "external/sources/boost/hana/ordering.hpp", + "external/sources/boost/hana/pair.hpp", + "external/sources/boost/hana/partition.hpp", + "external/sources/boost/hana/permutations.hpp", + "external/sources/boost/hana/plus.hpp", + "external/sources/boost/hana/power.hpp", + "external/sources/boost/hana/prefix.hpp", + "external/sources/boost/hana/prepend.hpp", + "external/sources/boost/hana/product.hpp", + "external/sources/boost/hana/range.hpp", + "external/sources/boost/hana/remove.hpp", + "external/sources/boost/hana/remove_at.hpp", + "external/sources/boost/hana/remove_if.hpp", + "external/sources/boost/hana/remove_range.hpp", + "external/sources/boost/hana/repeat.hpp", + "external/sources/boost/hana/replace.hpp", + "external/sources/boost/hana/replace_if.hpp", + "external/sources/boost/hana/replicate.hpp", + "external/sources/boost/hana/reverse.hpp", + "external/sources/boost/hana/reverse_fold.hpp", + "external/sources/boost/hana/scan_left.hpp", + "external/sources/boost/hana/scan_right.hpp", + "external/sources/boost/hana/second.hpp", + "external/sources/boost/hana/set.hpp", + "external/sources/boost/hana/size.hpp", + "external/sources/boost/hana/slice.hpp", + "external/sources/boost/hana/sort.hpp", + "external/sources/boost/hana/span.hpp", + "external/sources/boost/hana/string.hpp", + "external/sources/boost/hana/suffix.hpp", + "external/sources/boost/hana/sum.hpp", + "external/sources/boost/hana/symmetric_difference.hpp", + "external/sources/boost/hana/take_back.hpp", + "external/sources/boost/hana/take_front.hpp", + "external/sources/boost/hana/take_while.hpp", + "external/sources/boost/hana/tap.hpp", + "external/sources/boost/hana/then.hpp", + "external/sources/boost/hana/traits.hpp", + "external/sources/boost/hana/transform.hpp", + "external/sources/boost/hana/tuple.hpp", + "external/sources/boost/hana/type.hpp", + "external/sources/boost/hana/unfold_left.hpp", + "external/sources/boost/hana/unfold_right.hpp", + "external/sources/boost/hana/union.hpp", + "external/sources/boost/hana/unique.hpp", + "external/sources/boost/hana/unpack.hpp", + "external/sources/boost/hana/value.hpp", + "external/sources/boost/hana/version.hpp", + "external/sources/boost/hana/while.hpp", + "external/sources/boost/hana/zero.hpp", + "external/sources/boost/hana/zip.hpp", + "external/sources/boost/hana/zip_shortest.hpp", + "external/sources/boost/hana/zip_shortest_with.hpp", + "external/sources/boost/hana/zip_with.hpp", + "external/sources/boost/heap/binomial_heap.hpp", + "external/sources/boost/heap/d_ary_heap.hpp", + "external/sources/boost/heap/detail/heap_comparison.hpp", + "external/sources/boost/heap/detail/heap_node.hpp", + "external/sources/boost/heap/detail/ilog2.hpp", + "external/sources/boost/heap/detail/mutable_heap.hpp", + "external/sources/boost/heap/detail/ordered_adaptor_iterator.hpp", + "external/sources/boost/heap/detail/stable_heap.hpp", + "external/sources/boost/heap/detail/tree_iterator.hpp", + "external/sources/boost/heap/fibonacci_heap.hpp", + "external/sources/boost/heap/heap_concepts.hpp", + "external/sources/boost/heap/heap_merge.hpp", + "external/sources/boost/heap/pairing_heap.hpp", + "external/sources/boost/heap/policies.hpp", + "external/sources/boost/heap/priority_queue.hpp", + "external/sources/boost/heap/skew_heap.hpp", + "external/sources/boost/histogram.hpp", + "external/sources/boost/histogram/accumulators.hpp", + "external/sources/boost/histogram/accumulators/count.hpp", + "external/sources/boost/histogram/accumulators/mean.hpp", + "external/sources/boost/histogram/accumulators/ostream.hpp", + "external/sources/boost/histogram/accumulators/sum.hpp", + "external/sources/boost/histogram/accumulators/thread_safe.hpp", + "external/sources/boost/histogram/accumulators/weighted_mean.hpp", + "external/sources/boost/histogram/accumulators/weighted_sum.hpp", + "external/sources/boost/histogram/algorithm.hpp", + "external/sources/boost/histogram/algorithm/empty.hpp", + "external/sources/boost/histogram/algorithm/project.hpp", + "external/sources/boost/histogram/algorithm/reduce.hpp", + "external/sources/boost/histogram/algorithm/sum.hpp", + "external/sources/boost/histogram/axis.hpp", + "external/sources/boost/histogram/axis/boolean.hpp", + "external/sources/boost/histogram/axis/category.hpp", + "external/sources/boost/histogram/axis/integer.hpp", + "external/sources/boost/histogram/axis/interval_view.hpp", + "external/sources/boost/histogram/axis/iterator.hpp", + "external/sources/boost/histogram/axis/metadata_base.hpp", + "external/sources/boost/histogram/axis/option.hpp", + "external/sources/boost/histogram/axis/ostream.hpp", + "external/sources/boost/histogram/axis/polymorphic_bin.hpp", + "external/sources/boost/histogram/axis/regular.hpp", + "external/sources/boost/histogram/axis/traits.hpp", + "external/sources/boost/histogram/axis/variable.hpp", + "external/sources/boost/histogram/axis/variant.hpp", + "external/sources/boost/histogram/detail/accumulator_traits.hpp", + "external/sources/boost/histogram/detail/args_type.hpp", + "external/sources/boost/histogram/detail/argument_traits.hpp", + "external/sources/boost/histogram/detail/array_wrapper.hpp", + "external/sources/boost/histogram/detail/axes.hpp", + "external/sources/boost/histogram/detail/common_type.hpp", + "external/sources/boost/histogram/detail/convert_integer.hpp", + "external/sources/boost/histogram/detail/counting_streambuf.hpp", + "external/sources/boost/histogram/detail/detect.hpp", + "external/sources/boost/histogram/detail/fill.hpp", + "external/sources/boost/histogram/detail/fill_n.hpp", + "external/sources/boost/histogram/detail/index_translator.hpp", + "external/sources/boost/histogram/detail/iterator_adaptor.hpp", + "external/sources/boost/histogram/detail/large_int.hpp", + "external/sources/boost/histogram/detail/limits.hpp", + "external/sources/boost/histogram/detail/linearize.hpp", + "external/sources/boost/histogram/detail/make_default.hpp", + "external/sources/boost/histogram/detail/mutex_base.hpp", + "external/sources/boost/histogram/detail/nonmember_container_access.hpp", + "external/sources/boost/histogram/detail/operators.hpp", + "external/sources/boost/histogram/detail/optional_index.hpp", + "external/sources/boost/histogram/detail/priority.hpp", + "external/sources/boost/histogram/detail/reduce_command.hpp", + "external/sources/boost/histogram/detail/relaxed_equal.hpp", + "external/sources/boost/histogram/detail/relaxed_tuple_size.hpp", + "external/sources/boost/histogram/detail/replace_type.hpp", + "external/sources/boost/histogram/detail/safe_comparison.hpp", + "external/sources/boost/histogram/detail/span.hpp", + "external/sources/boost/histogram/detail/static_if.hpp", + "external/sources/boost/histogram/detail/sub_array.hpp", + "external/sources/boost/histogram/detail/try_cast.hpp", + "external/sources/boost/histogram/detail/tuple_slice.hpp", + "external/sources/boost/histogram/detail/type_name.hpp", + "external/sources/boost/histogram/detail/variant_proxy.hpp", + "external/sources/boost/histogram/fwd.hpp", + "external/sources/boost/histogram/histogram.hpp", + "external/sources/boost/histogram/indexed.hpp", + "external/sources/boost/histogram/literals.hpp", + "external/sources/boost/histogram/make_histogram.hpp", + "external/sources/boost/histogram/make_profile.hpp", + "external/sources/boost/histogram/multi_index.hpp", + "external/sources/boost/histogram/ostream.hpp", + "external/sources/boost/histogram/sample.hpp", + "external/sources/boost/histogram/serialization.hpp", + "external/sources/boost/histogram/storage_adaptor.hpp", + "external/sources/boost/histogram/unlimited_storage.hpp", + "external/sources/boost/histogram/unsafe_access.hpp", + "external/sources/boost/histogram/weight.hpp", + "external/sources/boost/hof.hpp", + "external/sources/boost/hof/alias.hpp", + "external/sources/boost/hof/always.hpp", + "external/sources/boost/hof/apply.hpp", + "external/sources/boost/hof/apply_eval.hpp", + "external/sources/boost/hof/arg.hpp", + "external/sources/boost/hof/capture.hpp", + "external/sources/boost/hof/combine.hpp", + "external/sources/boost/hof/compose.hpp", + "external/sources/boost/hof/config.hpp", + "external/sources/boost/hof/construct.hpp", + "external/sources/boost/hof/decay.hpp", + "external/sources/boost/hof/decorate.hpp", + "external/sources/boost/hof/detail/and.hpp", + "external/sources/boost/hof/detail/callable_base.hpp", + "external/sources/boost/hof/detail/can_be_called.hpp", + "external/sources/boost/hof/detail/compressed_pair.hpp", + "external/sources/boost/hof/detail/constexpr_deduce.hpp", + "external/sources/boost/hof/detail/delegate.hpp", + "external/sources/boost/hof/detail/forward.hpp", + "external/sources/boost/hof/detail/holder.hpp", + "external/sources/boost/hof/detail/intrinsics.hpp", + "external/sources/boost/hof/detail/join.hpp", + "external/sources/boost/hof/detail/make.hpp", + "external/sources/boost/hof/detail/move.hpp", + "external/sources/boost/hof/detail/noexcept.hpp", + "external/sources/boost/hof/detail/pp.hpp", + "external/sources/boost/hof/detail/recursive_constexpr_depth.hpp", + "external/sources/boost/hof/detail/remove_rvalue_reference.hpp", + "external/sources/boost/hof/detail/result_of.hpp", + "external/sources/boost/hof/detail/result_type.hpp", + "external/sources/boost/hof/detail/seq.hpp", + "external/sources/boost/hof/detail/static_const_var.hpp", + "external/sources/boost/hof/detail/unpack_tuple.hpp", + "external/sources/boost/hof/detail/unwrap.hpp", + "external/sources/boost/hof/detail/using.hpp", + "external/sources/boost/hof/eval.hpp", + "external/sources/boost/hof/first_of.hpp", + "external/sources/boost/hof/fix.hpp", + "external/sources/boost/hof/flip.hpp", + "external/sources/boost/hof/flow.hpp", + "external/sources/boost/hof/fold.hpp", + "external/sources/boost/hof/function.hpp", + "external/sources/boost/hof/function_param_limit.hpp", + "external/sources/boost/hof/identity.hpp", + "external/sources/boost/hof/if.hpp", + "external/sources/boost/hof/implicit.hpp", + "external/sources/boost/hof/indirect.hpp", + "external/sources/boost/hof/infix.hpp", + "external/sources/boost/hof/is_invocable.hpp", + "external/sources/boost/hof/is_unpackable.hpp", + "external/sources/boost/hof/lambda.hpp", + "external/sources/boost/hof/lazy.hpp", + "external/sources/boost/hof/lift.hpp", + "external/sources/boost/hof/limit.hpp", + "external/sources/boost/hof/match.hpp", + "external/sources/boost/hof/mutable.hpp", + "external/sources/boost/hof/pack.hpp", + "external/sources/boost/hof/partial.hpp", + "external/sources/boost/hof/pipable.hpp", + "external/sources/boost/hof/placeholders.hpp", + "external/sources/boost/hof/proj.hpp", + "external/sources/boost/hof/protect.hpp", + "external/sources/boost/hof/repeat.hpp", + "external/sources/boost/hof/repeat_while.hpp", + "external/sources/boost/hof/result.hpp", + "external/sources/boost/hof/returns.hpp", + "external/sources/boost/hof/reveal.hpp", + "external/sources/boost/hof/reverse_fold.hpp", + "external/sources/boost/hof/rotate.hpp", + "external/sources/boost/hof/static.hpp", + "external/sources/boost/hof/tap.hpp", + "external/sources/boost/hof/unpack.hpp", + "external/sources/boost/hof/unpack_sequence.hpp", + "external/sources/boost/hof/version.hpp", + "external/sources/boost/icl/associative_element_container.hpp", + "external/sources/boost/icl/associative_interval_container.hpp", + "external/sources/boost/icl/closed_interval.hpp", + "external/sources/boost/icl/concept/comparable.hpp", + "external/sources/boost/icl/concept/container.hpp", + "external/sources/boost/icl/concept/element_associator.hpp", + "external/sources/boost/icl/concept/element_map.hpp", + "external/sources/boost/icl/concept/element_set.hpp", + "external/sources/boost/icl/concept/element_set_value.hpp", + "external/sources/boost/icl/concept/interval.hpp", + "external/sources/boost/icl/concept/interval_associator.hpp", + "external/sources/boost/icl/concept/interval_associator_base.hpp", + "external/sources/boost/icl/concept/interval_bounds.hpp", + "external/sources/boost/icl/concept/interval_map.hpp", + "external/sources/boost/icl/concept/interval_set.hpp", + "external/sources/boost/icl/concept/interval_set_value.hpp", + "external/sources/boost/icl/concept/joinable.hpp", + "external/sources/boost/icl/concept/map_value.hpp", + "external/sources/boost/icl/concept/set_value.hpp", + "external/sources/boost/icl/continuous_interval.hpp", + "external/sources/boost/icl/detail/associated_value.hpp", + "external/sources/boost/icl/detail/boost_config.hpp", + "external/sources/boost/icl/detail/concept_check.hpp", + "external/sources/boost/icl/detail/design_config.hpp", + "external/sources/boost/icl/detail/element_comparer.hpp", + "external/sources/boost/icl/detail/element_iterator.hpp", + "external/sources/boost/icl/detail/exclusive_less_than.hpp", + "external/sources/boost/icl/detail/interval_map_algo.hpp", + "external/sources/boost/icl/detail/interval_morphism.hpp", + "external/sources/boost/icl/detail/interval_set_algo.hpp", + "external/sources/boost/icl/detail/interval_subset_comparer.hpp", + "external/sources/boost/icl/detail/map_algo.hpp", + "external/sources/boost/icl/detail/mapped_reference.hpp", + "external/sources/boost/icl/detail/notate.hpp", + "external/sources/boost/icl/detail/on_absorbtion.hpp", + "external/sources/boost/icl/detail/relation_state.hpp", + "external/sources/boost/icl/detail/set_algo.hpp", + "external/sources/boost/icl/detail/std_set.hpp", + "external/sources/boost/icl/detail/subset_comparer.hpp", + "external/sources/boost/icl/discrete_interval.hpp", + "external/sources/boost/icl/dynamic_interval_traits.hpp", + "external/sources/boost/icl/functors.hpp", + "external/sources/boost/icl/gregorian.hpp", + "external/sources/boost/icl/impl_config.hpp", + "external/sources/boost/icl/interval.hpp", + "external/sources/boost/icl/interval_base_map.hpp", + "external/sources/boost/icl/interval_base_set.hpp", + "external/sources/boost/icl/interval_bounds.hpp", + "external/sources/boost/icl/interval_combining_style.hpp", + "external/sources/boost/icl/interval_map.hpp", + "external/sources/boost/icl/interval_set.hpp", + "external/sources/boost/icl/interval_traits.hpp", + "external/sources/boost/icl/iterator.hpp", + "external/sources/boost/icl/left_open_interval.hpp", + "external/sources/boost/icl/map.hpp", + "external/sources/boost/icl/open_interval.hpp", + "external/sources/boost/icl/predicates/distinct_equal.hpp", + "external/sources/boost/icl/predicates/element_equal.hpp", + "external/sources/boost/icl/predicates/std_equal.hpp", + "external/sources/boost/icl/predicates/sub_super_set.hpp", + "external/sources/boost/icl/ptime.hpp", + "external/sources/boost/icl/rational.hpp", + "external/sources/boost/icl/right_open_interval.hpp", + "external/sources/boost/icl/separate_interval_set.hpp", + "external/sources/boost/icl/set.hpp", + "external/sources/boost/icl/split_interval_map.hpp", + "external/sources/boost/icl/split_interval_set.hpp", + "external/sources/boost/icl/type_traits/absorbs_identities.hpp", + "external/sources/boost/icl/type_traits/adds_inversely.hpp", + "external/sources/boost/icl/type_traits/codomain_type_of.hpp", + "external/sources/boost/icl/type_traits/difference.hpp", + "external/sources/boost/icl/type_traits/difference_type_of.hpp", + "external/sources/boost/icl/type_traits/domain_type_of.hpp", + "external/sources/boost/icl/type_traits/element_type_of.hpp", + "external/sources/boost/icl/type_traits/has_inverse.hpp", + "external/sources/boost/icl/type_traits/has_set_semantics.hpp", + "external/sources/boost/icl/type_traits/identity_element.hpp", + "external/sources/boost/icl/type_traits/infinity.hpp", + "external/sources/boost/icl/type_traits/interval_type_default.hpp", + "external/sources/boost/icl/type_traits/interval_type_of.hpp", + "external/sources/boost/icl/type_traits/is_associative_element_container.hpp", + "external/sources/boost/icl/type_traits/is_asymmetric_interval.hpp", + "external/sources/boost/icl/type_traits/is_combinable.hpp", + "external/sources/boost/icl/type_traits/is_concept_equivalent.hpp", + "external/sources/boost/icl/type_traits/is_container.hpp", + "external/sources/boost/icl/type_traits/is_continuous.hpp", + "external/sources/boost/icl/type_traits/is_continuous_interval.hpp", + "external/sources/boost/icl/type_traits/is_discrete.hpp", + "external/sources/boost/icl/type_traits/is_discrete_interval.hpp", + "external/sources/boost/icl/type_traits/is_element_container.hpp", + "external/sources/boost/icl/type_traits/is_icl_container.hpp", + "external/sources/boost/icl/type_traits/is_increasing.hpp", + "external/sources/boost/icl/type_traits/is_interval.hpp", + "external/sources/boost/icl/type_traits/is_interval_container.hpp", + "external/sources/boost/icl/type_traits/is_interval_joiner.hpp", + "external/sources/boost/icl/type_traits/is_interval_separator.hpp", + "external/sources/boost/icl/type_traits/is_interval_splitter.hpp", + "external/sources/boost/icl/type_traits/is_key_container_of.hpp", + "external/sources/boost/icl/type_traits/is_map.hpp", + "external/sources/boost/icl/type_traits/is_numeric.hpp", + "external/sources/boost/icl/type_traits/is_set.hpp", + "external/sources/boost/icl/type_traits/is_total.hpp", + "external/sources/boost/icl/type_traits/no_type.hpp", + "external/sources/boost/icl/type_traits/predicate.hpp", + "external/sources/boost/icl/type_traits/rep_type_of.hpp", + "external/sources/boost/icl/type_traits/segment_type_of.hpp", + "external/sources/boost/icl/type_traits/size.hpp", + "external/sources/boost/icl/type_traits/size_type_of.hpp", + "external/sources/boost/icl/type_traits/succ_pred.hpp", + "external/sources/boost/icl/type_traits/to_string.hpp", + "external/sources/boost/icl/type_traits/type_to_string.hpp", + "external/sources/boost/icl/type_traits/unit_element.hpp", + "external/sources/boost/icl/type_traits/value_size.hpp", + "external/sources/boost/implicit_cast.hpp", + "external/sources/boost/indirect_reference.hpp", + "external/sources/boost/integer.hpp", + "external/sources/boost/integer/common_factor.hpp", + "external/sources/boost/integer/common_factor_ct.hpp", + "external/sources/boost/integer/common_factor_rt.hpp", + "external/sources/boost/integer/extended_euclidean.hpp", + "external/sources/boost/integer/integer_log2.hpp", + "external/sources/boost/integer/integer_mask.hpp", + "external/sources/boost/integer/mod_inverse.hpp", + "external/sources/boost/integer/static_log2.hpp", + "external/sources/boost/integer/static_min_max.hpp", + "external/sources/boost/integer_fwd.hpp", + "external/sources/boost/integer_traits.hpp", + "external/sources/boost/interprocess/allocators/adaptive_pool.hpp", + "external/sources/boost/interprocess/allocators/allocator.hpp", + "external/sources/boost/interprocess/allocators/cached_adaptive_pool.hpp", + "external/sources/boost/interprocess/allocators/cached_node_allocator.hpp", + "external/sources/boost/interprocess/allocators/detail/adaptive_node_pool.hpp", + "external/sources/boost/interprocess/allocators/detail/allocator_common.hpp", + "external/sources/boost/interprocess/allocators/detail/node_pool.hpp", + "external/sources/boost/interprocess/allocators/detail/node_tools.hpp", + "external/sources/boost/interprocess/allocators/node_allocator.hpp", + "external/sources/boost/interprocess/allocators/private_adaptive_pool.hpp", + "external/sources/boost/interprocess/allocators/private_node_allocator.hpp", + "external/sources/boost/interprocess/anonymous_shared_memory.hpp", + "external/sources/boost/interprocess/containers/allocation_type.hpp", + "external/sources/boost/interprocess/containers/containers_fwd.hpp", + "external/sources/boost/interprocess/containers/deque.hpp", + "external/sources/boost/interprocess/containers/flat_map.hpp", + "external/sources/boost/interprocess/containers/flat_set.hpp", + "external/sources/boost/interprocess/containers/list.hpp", + "external/sources/boost/interprocess/containers/map.hpp", + "external/sources/boost/interprocess/containers/pair.hpp", + "external/sources/boost/interprocess/containers/set.hpp", + "external/sources/boost/interprocess/containers/slist.hpp", + "external/sources/boost/interprocess/containers/stable_vector.hpp", + "external/sources/boost/interprocess/containers/string.hpp", + "external/sources/boost/interprocess/containers/vector.hpp", + "external/sources/boost/interprocess/containers/version_type.hpp", + "external/sources/boost/interprocess/creation_tags.hpp", + "external/sources/boost/interprocess/detail/atomic.hpp", + "external/sources/boost/interprocess/detail/cast_tags.hpp", + "external/sources/boost/interprocess/detail/config_begin.hpp", + "external/sources/boost/interprocess/detail/config_end.hpp", + "external/sources/boost/interprocess/detail/config_external_begin.hpp", + "external/sources/boost/interprocess/detail/config_external_end.hpp", + "external/sources/boost/interprocess/detail/file_locking_helpers.hpp", + "external/sources/boost/interprocess/detail/file_wrapper.hpp", + "external/sources/boost/interprocess/detail/in_place_interface.hpp", + "external/sources/boost/interprocess/detail/intermodule_singleton.hpp", + "external/sources/boost/interprocess/detail/intermodule_singleton_common.hpp", + "external/sources/boost/interprocess/detail/interprocess_tester.hpp", + "external/sources/boost/interprocess/detail/intersegment_ptr.hpp", + "external/sources/boost/interprocess/detail/managed_global_memory.hpp", + "external/sources/boost/interprocess/detail/managed_memory_impl.hpp", + "external/sources/boost/interprocess/detail/managed_multi_shared_memory.hpp", + "external/sources/boost/interprocess/detail/managed_open_or_create_impl.hpp", + "external/sources/boost/interprocess/detail/math_functions.hpp", + "external/sources/boost/interprocess/detail/min_max.hpp", + "external/sources/boost/interprocess/detail/move.hpp", + "external/sources/boost/interprocess/detail/mpl.hpp", + "external/sources/boost/interprocess/detail/named_proxy.hpp", + "external/sources/boost/interprocess/detail/nothrow.hpp", + "external/sources/boost/interprocess/detail/os_file_functions.hpp", + "external/sources/boost/interprocess/detail/os_thread_functions.hpp", + "external/sources/boost/interprocess/detail/pointer_type.hpp", + "external/sources/boost/interprocess/detail/portable_intermodule_singleton.hpp", + "external/sources/boost/interprocess/detail/posix_time_types_wrk.hpp", + "external/sources/boost/interprocess/detail/ptime_wrk.hpp", + "external/sources/boost/interprocess/detail/robust_emulation.hpp", + "external/sources/boost/interprocess/detail/segment_manager_helper.hpp", + "external/sources/boost/interprocess/detail/shared_dir_helpers.hpp", + "external/sources/boost/interprocess/detail/simple_swap.hpp", + "external/sources/boost/interprocess/detail/std_fwd.hpp", + "external/sources/boost/interprocess/detail/transform_iterator.hpp", + "external/sources/boost/interprocess/detail/type_traits.hpp", + "external/sources/boost/interprocess/detail/utilities.hpp", + "external/sources/boost/interprocess/detail/variadic_templates_tools.hpp", + "external/sources/boost/interprocess/detail/win32_api.hpp", + "external/sources/boost/interprocess/detail/windows_intermodule_singleton.hpp", + "external/sources/boost/interprocess/detail/workaround.hpp", + "external/sources/boost/interprocess/detail/xsi_shared_memory_file_wrapper.hpp", + "external/sources/boost/interprocess/errors.hpp", + "external/sources/boost/interprocess/exceptions.hpp", + "external/sources/boost/interprocess/file_mapping.hpp", + "external/sources/boost/interprocess/indexes/flat_map_index.hpp", + "external/sources/boost/interprocess/indexes/iset_index.hpp", + "external/sources/boost/interprocess/indexes/iunordered_set_index.hpp", + "external/sources/boost/interprocess/indexes/map_index.hpp", + "external/sources/boost/interprocess/indexes/null_index.hpp", + "external/sources/boost/interprocess/indexes/unordered_map_index.hpp", + "external/sources/boost/interprocess/interprocess_fwd.hpp", + "external/sources/boost/interprocess/ipc/message_queue.hpp", + "external/sources/boost/interprocess/managed_external_buffer.hpp", + "external/sources/boost/interprocess/managed_heap_memory.hpp", + "external/sources/boost/interprocess/managed_mapped_file.hpp", + "external/sources/boost/interprocess/managed_shared_memory.hpp", + "external/sources/boost/interprocess/managed_windows_shared_memory.hpp", + "external/sources/boost/interprocess/managed_xsi_shared_memory.hpp", + "external/sources/boost/interprocess/mapped_region.hpp", + "external/sources/boost/interprocess/mem_algo/detail/mem_algo_common.hpp", + "external/sources/boost/interprocess/mem_algo/detail/simple_seq_fit_impl.hpp", + "external/sources/boost/interprocess/mem_algo/rbtree_best_fit.hpp", + "external/sources/boost/interprocess/mem_algo/simple_seq_fit.hpp", + "external/sources/boost/interprocess/offset_ptr.hpp", + "external/sources/boost/interprocess/permissions.hpp", + "external/sources/boost/interprocess/segment_manager.hpp", + "external/sources/boost/interprocess/shared_memory_object.hpp", + "external/sources/boost/interprocess/smart_ptr/deleter.hpp", + "external/sources/boost/interprocess/smart_ptr/detail/bad_weak_ptr.hpp", + "external/sources/boost/interprocess/smart_ptr/detail/shared_count.hpp", + "external/sources/boost/interprocess/smart_ptr/detail/sp_counted_base.hpp", + "external/sources/boost/interprocess/smart_ptr/detail/sp_counted_base_atomic.hpp", + "external/sources/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp", + "external/sources/boost/interprocess/smart_ptr/enable_shared_from_this.hpp", + "external/sources/boost/interprocess/smart_ptr/intrusive_ptr.hpp", + "external/sources/boost/interprocess/smart_ptr/scoped_ptr.hpp", + "external/sources/boost/interprocess/smart_ptr/shared_ptr.hpp", + "external/sources/boost/interprocess/smart_ptr/unique_ptr.hpp", + "external/sources/boost/interprocess/smart_ptr/weak_ptr.hpp", + "external/sources/boost/interprocess/streams/bufferstream.hpp", + "external/sources/boost/interprocess/streams/vectorstream.hpp", + "external/sources/boost/interprocess/sync/detail/common_algorithms.hpp", + "external/sources/boost/interprocess/sync/detail/condition_algorithm_8a.hpp", + "external/sources/boost/interprocess/sync/detail/condition_any_algorithm.hpp", + "external/sources/boost/interprocess/sync/detail/locks.hpp", + "external/sources/boost/interprocess/sync/file_lock.hpp", + "external/sources/boost/interprocess/sync/interprocess_condition.hpp", + "external/sources/boost/interprocess/sync/interprocess_condition_any.hpp", + "external/sources/boost/interprocess/sync/interprocess_mutex.hpp", + "external/sources/boost/interprocess/sync/interprocess_recursive_mutex.hpp", + "external/sources/boost/interprocess/sync/interprocess_semaphore.hpp", + "external/sources/boost/interprocess/sync/interprocess_sharable_mutex.hpp", + "external/sources/boost/interprocess/sync/interprocess_upgradable_mutex.hpp", + "external/sources/boost/interprocess/sync/lock_options.hpp", + "external/sources/boost/interprocess/sync/mutex_family.hpp", + "external/sources/boost/interprocess/sync/named_condition.hpp", + "external/sources/boost/interprocess/sync/named_condition_any.hpp", + "external/sources/boost/interprocess/sync/named_mutex.hpp", + "external/sources/boost/interprocess/sync/named_recursive_mutex.hpp", + "external/sources/boost/interprocess/sync/named_semaphore.hpp", + "external/sources/boost/interprocess/sync/named_sharable_mutex.hpp", + "external/sources/boost/interprocess/sync/named_upgradable_mutex.hpp", + "external/sources/boost/interprocess/sync/null_mutex.hpp", + "external/sources/boost/interprocess/sync/posix/condition.hpp", + "external/sources/boost/interprocess/sync/posix/mutex.hpp", + "external/sources/boost/interprocess/sync/posix/named_mutex.hpp", + "external/sources/boost/interprocess/sync/posix/named_semaphore.hpp", + "external/sources/boost/interprocess/sync/posix/pthread_helpers.hpp", + "external/sources/boost/interprocess/sync/posix/ptime_to_timespec.hpp", + "external/sources/boost/interprocess/sync/posix/recursive_mutex.hpp", + "external/sources/boost/interprocess/sync/posix/semaphore.hpp", + "external/sources/boost/interprocess/sync/posix/semaphore_wrapper.hpp", + "external/sources/boost/interprocess/sync/scoped_lock.hpp", + "external/sources/boost/interprocess/sync/sharable_lock.hpp", + "external/sources/boost/interprocess/sync/shm/named_condition.hpp", + "external/sources/boost/interprocess/sync/shm/named_condition_any.hpp", + "external/sources/boost/interprocess/sync/shm/named_creation_functor.hpp", + "external/sources/boost/interprocess/sync/shm/named_mutex.hpp", + "external/sources/boost/interprocess/sync/shm/named_recursive_mutex.hpp", + "external/sources/boost/interprocess/sync/shm/named_semaphore.hpp", + "external/sources/boost/interprocess/sync/shm/named_upgradable_mutex.hpp", + "external/sources/boost/interprocess/sync/spin/condition.hpp", + "external/sources/boost/interprocess/sync/spin/interprocess_barrier.hpp", + "external/sources/boost/interprocess/sync/spin/mutex.hpp", + "external/sources/boost/interprocess/sync/spin/recursive_mutex.hpp", + "external/sources/boost/interprocess/sync/spin/semaphore.hpp", + "external/sources/boost/interprocess/sync/spin/wait.hpp", + "external/sources/boost/interprocess/sync/upgradable_lock.hpp", + "external/sources/boost/interprocess/sync/windows/condition.hpp", + "external/sources/boost/interprocess/sync/windows/mutex.hpp", + "external/sources/boost/interprocess/sync/windows/named_condition.hpp", + "external/sources/boost/interprocess/sync/windows/named_condition_any.hpp", + "external/sources/boost/interprocess/sync/windows/named_mutex.hpp", + "external/sources/boost/interprocess/sync/windows/named_recursive_mutex.hpp", + "external/sources/boost/interprocess/sync/windows/named_semaphore.hpp", + "external/sources/boost/interprocess/sync/windows/named_sync.hpp", + "external/sources/boost/interprocess/sync/windows/recursive_mutex.hpp", + "external/sources/boost/interprocess/sync/windows/semaphore.hpp", + "external/sources/boost/interprocess/sync/windows/sync_utils.hpp", + "external/sources/boost/interprocess/sync/windows/winapi_mutex_wrapper.hpp", + "external/sources/boost/interprocess/sync/windows/winapi_semaphore_wrapper.hpp", + "external/sources/boost/interprocess/sync/windows/winapi_wrapper_common.hpp", + "external/sources/boost/interprocess/windows_shared_memory.hpp", + "external/sources/boost/interprocess/xsi_key.hpp", + "external/sources/boost/interprocess/xsi_shared_memory.hpp", + "external/sources/boost/intrusive/any_hook.hpp", + "external/sources/boost/intrusive/avl_set.hpp", + "external/sources/boost/intrusive/avl_set_hook.hpp", + "external/sources/boost/intrusive/avltree.hpp", + "external/sources/boost/intrusive/avltree_algorithms.hpp", + "external/sources/boost/intrusive/bs_set.hpp", + "external/sources/boost/intrusive/bs_set_hook.hpp", + "external/sources/boost/intrusive/bstree.hpp", + "external/sources/boost/intrusive/bstree_algorithms.hpp", + "external/sources/boost/intrusive/circular_list_algorithms.hpp", + "external/sources/boost/intrusive/circular_slist_algorithms.hpp", + "external/sources/boost/intrusive/derivation_value_traits.hpp", + "external/sources/boost/intrusive/detail/algo_type.hpp", + "external/sources/boost/intrusive/detail/algorithm.hpp", + "external/sources/boost/intrusive/detail/any_node_and_algorithms.hpp", + "external/sources/boost/intrusive/detail/array_initializer.hpp", + "external/sources/boost/intrusive/detail/assert.hpp", + "external/sources/boost/intrusive/detail/avltree_node.hpp", + "external/sources/boost/intrusive/detail/bstree_algorithms_base.hpp", + "external/sources/boost/intrusive/detail/common_slist_algorithms.hpp", + "external/sources/boost/intrusive/detail/config_begin.hpp", + "external/sources/boost/intrusive/detail/config_end.hpp", + "external/sources/boost/intrusive/detail/default_header_holder.hpp", + "external/sources/boost/intrusive/detail/ebo_functor_holder.hpp", + "external/sources/boost/intrusive/detail/empty_node_checker.hpp", + "external/sources/boost/intrusive/detail/equal_to_value.hpp", + "external/sources/boost/intrusive/detail/exception_disposer.hpp", + "external/sources/boost/intrusive/detail/function_detector.hpp", + "external/sources/boost/intrusive/detail/generic_hook.hpp", + "external/sources/boost/intrusive/detail/get_value_traits.hpp", + "external/sources/boost/intrusive/detail/has_member_function_callable_with.hpp", + "external/sources/boost/intrusive/detail/hashtable_node.hpp", + "external/sources/boost/intrusive/detail/hook_traits.hpp", + "external/sources/boost/intrusive/detail/iiterator.hpp", + "external/sources/boost/intrusive/detail/is_stateful_value_traits.hpp", + "external/sources/boost/intrusive/detail/iterator.hpp", + "external/sources/boost/intrusive/detail/key_nodeptr_comp.hpp", + "external/sources/boost/intrusive/detail/list_iterator.hpp", + "external/sources/boost/intrusive/detail/list_node.hpp", + "external/sources/boost/intrusive/detail/math.hpp", + "external/sources/boost/intrusive/detail/minimal_less_equal_header.hpp", + "external/sources/boost/intrusive/detail/minimal_pair_header.hpp", + "external/sources/boost/intrusive/detail/mpl.hpp", + "external/sources/boost/intrusive/detail/node_cloner_disposer.hpp", + "external/sources/boost/intrusive/detail/node_holder.hpp", + "external/sources/boost/intrusive/detail/node_to_value.hpp", + "external/sources/boost/intrusive/detail/parent_from_member.hpp", + "external/sources/boost/intrusive/detail/rbtree_node.hpp", + "external/sources/boost/intrusive/detail/reverse_iterator.hpp", + "external/sources/boost/intrusive/detail/simple_disposers.hpp", + "external/sources/boost/intrusive/detail/size_holder.hpp", + "external/sources/boost/intrusive/detail/slist_iterator.hpp", + "external/sources/boost/intrusive/detail/slist_node.hpp", + "external/sources/boost/intrusive/detail/std_fwd.hpp", + "external/sources/boost/intrusive/detail/transform_iterator.hpp", + "external/sources/boost/intrusive/detail/tree_iterator.hpp", + "external/sources/boost/intrusive/detail/tree_node.hpp", + "external/sources/boost/intrusive/detail/tree_value_compare.hpp", + "external/sources/boost/intrusive/detail/uncast.hpp", + "external/sources/boost/intrusive/detail/workaround.hpp", + "external/sources/boost/intrusive/hashtable.hpp", + "external/sources/boost/intrusive/intrusive_fwd.hpp", + "external/sources/boost/intrusive/linear_slist_algorithms.hpp", + "external/sources/boost/intrusive/link_mode.hpp", + "external/sources/boost/intrusive/list.hpp", + "external/sources/boost/intrusive/list_hook.hpp", + "external/sources/boost/intrusive/member_value_traits.hpp", + "external/sources/boost/intrusive/options.hpp", + "external/sources/boost/intrusive/pack_options.hpp", + "external/sources/boost/intrusive/parent_from_member.hpp", + "external/sources/boost/intrusive/pointer_plus_bits.hpp", + "external/sources/boost/intrusive/pointer_rebind.hpp", + "external/sources/boost/intrusive/pointer_traits.hpp", + "external/sources/boost/intrusive/priority_compare.hpp", + "external/sources/boost/intrusive/rbtree.hpp", + "external/sources/boost/intrusive/rbtree_algorithms.hpp", + "external/sources/boost/intrusive/set.hpp", + "external/sources/boost/intrusive/set_hook.hpp", + "external/sources/boost/intrusive/sg_set.hpp", + "external/sources/boost/intrusive/sgtree.hpp", + "external/sources/boost/intrusive/sgtree_algorithms.hpp", + "external/sources/boost/intrusive/slist.hpp", + "external/sources/boost/intrusive/slist_hook.hpp", + "external/sources/boost/intrusive/splay_set.hpp", + "external/sources/boost/intrusive/splaytree.hpp", + "external/sources/boost/intrusive/splaytree_algorithms.hpp", + "external/sources/boost/intrusive/treap.hpp", + "external/sources/boost/intrusive/treap_algorithms.hpp", + "external/sources/boost/intrusive/treap_set.hpp", + "external/sources/boost/intrusive/trivial_value_traits.hpp", + "external/sources/boost/intrusive/unordered_set.hpp", + "external/sources/boost/intrusive/unordered_set_hook.hpp", + "external/sources/boost/intrusive_ptr.hpp", + "external/sources/boost/io/detail/buffer_fill.hpp", + "external/sources/boost/io/detail/ostream_guard.hpp", + "external/sources/boost/io/ios_state.hpp", + "external/sources/boost/io/ostream_joiner.hpp", + "external/sources/boost/io/ostream_put.hpp", + "external/sources/boost/io/quoted.hpp", + "external/sources/boost/io_fwd.hpp", + "external/sources/boost/iostreams/categories.hpp", + "external/sources/boost/iostreams/chain.hpp", + "external/sources/boost/iostreams/char_traits.hpp", + "external/sources/boost/iostreams/checked_operations.hpp", + "external/sources/boost/iostreams/close.hpp", + "external/sources/boost/iostreams/code_converter.hpp", + "external/sources/boost/iostreams/combine.hpp", + "external/sources/boost/iostreams/compose.hpp", + "external/sources/boost/iostreams/concepts.hpp", + "external/sources/boost/iostreams/constants.hpp", + "external/sources/boost/iostreams/copy.hpp", + "external/sources/boost/iostreams/detail/absolute_path.hpp", + "external/sources/boost/iostreams/detail/access_control.hpp", + "external/sources/boost/iostreams/detail/adapter/concept_adapter.hpp", + "external/sources/boost/iostreams/detail/adapter/device_adapter.hpp", + "external/sources/boost/iostreams/detail/adapter/direct_adapter.hpp", + "external/sources/boost/iostreams/detail/adapter/filter_adapter.hpp", + "external/sources/boost/iostreams/detail/adapter/mode_adapter.hpp", + "external/sources/boost/iostreams/detail/adapter/non_blocking_adapter.hpp", + "external/sources/boost/iostreams/detail/adapter/output_iterator_adapter.hpp", + "external/sources/boost/iostreams/detail/adapter/range_adapter.hpp", + "external/sources/boost/iostreams/detail/add_facet.hpp", + "external/sources/boost/iostreams/detail/bool_trait_def.hpp", + "external/sources/boost/iostreams/detail/broken_overload_resolution/forward.hpp", + "external/sources/boost/iostreams/detail/broken_overload_resolution/stream.hpp", + "external/sources/boost/iostreams/detail/broken_overload_resolution/stream_buffer.hpp", + "external/sources/boost/iostreams/detail/buffer.hpp", + "external/sources/boost/iostreams/detail/call_traits.hpp", + "external/sources/boost/iostreams/detail/char_traits.hpp", + "external/sources/boost/iostreams/detail/codecvt_helper.hpp", + "external/sources/boost/iostreams/detail/codecvt_holder.hpp", + "external/sources/boost/iostreams/detail/config/auto_link.hpp", + "external/sources/boost/iostreams/detail/config/bzip2.hpp", + "external/sources/boost/iostreams/detail/config/codecvt.hpp", + "external/sources/boost/iostreams/detail/config/disable_warnings.hpp", + "external/sources/boost/iostreams/detail/config/dyn_link.hpp", + "external/sources/boost/iostreams/detail/config/enable_warnings.hpp", + "external/sources/boost/iostreams/detail/config/fpos.hpp", + "external/sources/boost/iostreams/detail/config/gcc.hpp", + "external/sources/boost/iostreams/detail/config/limits.hpp", + "external/sources/boost/iostreams/detail/config/overload_resolution.hpp", + "external/sources/boost/iostreams/detail/config/rtl.hpp", + "external/sources/boost/iostreams/detail/config/unreachable_return.hpp", + "external/sources/boost/iostreams/detail/config/wide_streams.hpp", + "external/sources/boost/iostreams/detail/config/windows_posix.hpp", + "external/sources/boost/iostreams/detail/config/zlib.hpp", + "external/sources/boost/iostreams/detail/counted_array.hpp", + "external/sources/boost/iostreams/detail/current_directory.hpp", + "external/sources/boost/iostreams/detail/default_arg.hpp", + "external/sources/boost/iostreams/detail/dispatch.hpp", + "external/sources/boost/iostreams/detail/double_object.hpp", + "external/sources/boost/iostreams/detail/enable_if_stream.hpp", + "external/sources/boost/iostreams/detail/error.hpp", + "external/sources/boost/iostreams/detail/execute.hpp", + "external/sources/boost/iostreams/detail/file_handle.hpp", + "external/sources/boost/iostreams/detail/forward.hpp", + "external/sources/boost/iostreams/detail/fstream.hpp", + "external/sources/boost/iostreams/detail/functional.hpp", + "external/sources/boost/iostreams/detail/ios.hpp", + "external/sources/boost/iostreams/detail/iostream.hpp", + "external/sources/boost/iostreams/detail/is_dereferenceable.hpp", + "external/sources/boost/iostreams/detail/is_iterator_range.hpp", + "external/sources/boost/iostreams/detail/newline.hpp", + "external/sources/boost/iostreams/detail/optional.hpp", + "external/sources/boost/iostreams/detail/param_type.hpp", + "external/sources/boost/iostreams/detail/path.hpp", + "external/sources/boost/iostreams/detail/push.hpp", + "external/sources/boost/iostreams/detail/push_params.hpp", + "external/sources/boost/iostreams/detail/resolve.hpp", + "external/sources/boost/iostreams/detail/restrict_impl.hpp", + "external/sources/boost/iostreams/detail/select.hpp", + "external/sources/boost/iostreams/detail/select_by_size.hpp", + "external/sources/boost/iostreams/detail/streambuf.hpp", + "external/sources/boost/iostreams/detail/streambuf/chainbuf.hpp", + "external/sources/boost/iostreams/detail/streambuf/direct_streambuf.hpp", + "external/sources/boost/iostreams/detail/streambuf/indirect_streambuf.hpp", + "external/sources/boost/iostreams/detail/streambuf/linked_streambuf.hpp", + "external/sources/boost/iostreams/detail/system_failure.hpp", + "external/sources/boost/iostreams/detail/template_params.hpp", + "external/sources/boost/iostreams/detail/translate_int_type.hpp", + "external/sources/boost/iostreams/detail/wrap_unwrap.hpp", + "external/sources/boost/iostreams/device/array.hpp", + "external/sources/boost/iostreams/device/back_inserter.hpp", + "external/sources/boost/iostreams/device/file.hpp", + "external/sources/boost/iostreams/device/file_descriptor.hpp", + "external/sources/boost/iostreams/device/mapped_file.hpp", + "external/sources/boost/iostreams/device/null.hpp", + "external/sources/boost/iostreams/filter/aggregate.hpp", + "external/sources/boost/iostreams/filter/bzip2.hpp", + "external/sources/boost/iostreams/filter/counter.hpp", + "external/sources/boost/iostreams/filter/grep.hpp", + "external/sources/boost/iostreams/filter/gzip.hpp", + "external/sources/boost/iostreams/filter/line.hpp", + "external/sources/boost/iostreams/filter/lzma.hpp", + "external/sources/boost/iostreams/filter/newline.hpp", + "external/sources/boost/iostreams/filter/regex.hpp", + "external/sources/boost/iostreams/filter/stdio.hpp", + "external/sources/boost/iostreams/filter/symmetric.hpp", + "external/sources/boost/iostreams/filter/test.hpp", + "external/sources/boost/iostreams/filter/zlib.hpp", + "external/sources/boost/iostreams/filter/zstd.hpp", + "external/sources/boost/iostreams/filtering_stream.hpp", + "external/sources/boost/iostreams/filtering_streambuf.hpp", + "external/sources/boost/iostreams/flush.hpp", + "external/sources/boost/iostreams/get.hpp", + "external/sources/boost/iostreams/imbue.hpp", + "external/sources/boost/iostreams/input_sequence.hpp", + "external/sources/boost/iostreams/invert.hpp", + "external/sources/boost/iostreams/operations.hpp", + "external/sources/boost/iostreams/operations_fwd.hpp", + "external/sources/boost/iostreams/optimal_buffer_size.hpp", + "external/sources/boost/iostreams/output_sequence.hpp", + "external/sources/boost/iostreams/pipeline.hpp", + "external/sources/boost/iostreams/positioning.hpp", + "external/sources/boost/iostreams/put.hpp", + "external/sources/boost/iostreams/putback.hpp", + "external/sources/boost/iostreams/read.hpp", + "external/sources/boost/iostreams/restrict.hpp", + "external/sources/boost/iostreams/seek.hpp", + "external/sources/boost/iostreams/skip.hpp", + "external/sources/boost/iostreams/slice.hpp", + "external/sources/boost/iostreams/stream.hpp", + "external/sources/boost/iostreams/stream_buffer.hpp", + "external/sources/boost/iostreams/tee.hpp", + "external/sources/boost/iostreams/traits.hpp", + "external/sources/boost/iostreams/traits_fwd.hpp", + "external/sources/boost/iostreams/write.hpp", + "external/sources/boost/is_placeholder.hpp", + "external/sources/boost/iterator.hpp", + "external/sources/boost/iterator/advance.hpp", + "external/sources/boost/iterator/counting_iterator.hpp", + "external/sources/boost/iterator/detail/any_conversion_eater.hpp", + "external/sources/boost/iterator/detail/config_def.hpp", + "external/sources/boost/iterator/detail/config_undef.hpp", + "external/sources/boost/iterator/detail/enable_if.hpp", + "external/sources/boost/iterator/detail/facade_iterator_category.hpp", + "external/sources/boost/iterator/detail/minimum_category.hpp", + "external/sources/boost/iterator/distance.hpp", + "external/sources/boost/iterator/filter_iterator.hpp", + "external/sources/boost/iterator/function_input_iterator.hpp", + "external/sources/boost/iterator/function_output_iterator.hpp", + "external/sources/boost/iterator/indirect_iterator.hpp", + "external/sources/boost/iterator/interoperable.hpp", + "external/sources/boost/iterator/is_lvalue_iterator.hpp", + "external/sources/boost/iterator/is_readable_iterator.hpp", + "external/sources/boost/iterator/iterator_adaptor.hpp", + "external/sources/boost/iterator/iterator_archetypes.hpp", + "external/sources/boost/iterator/iterator_categories.hpp", + "external/sources/boost/iterator/iterator_concepts.hpp", + "external/sources/boost/iterator/iterator_facade.hpp", + "external/sources/boost/iterator/iterator_traits.hpp", + "external/sources/boost/iterator/minimum_category.hpp", + "external/sources/boost/iterator/new_iterator_tests.hpp", + "external/sources/boost/iterator/permutation_iterator.hpp", + "external/sources/boost/iterator/reverse_iterator.hpp", + "external/sources/boost/iterator/transform_iterator.hpp", + "external/sources/boost/iterator/zip_iterator.hpp", + "external/sources/boost/iterator_adaptors.hpp", + "external/sources/boost/lambda/algorithm.hpp", + "external/sources/boost/lambda/bind.hpp", + "external/sources/boost/lambda/casts.hpp", + "external/sources/boost/lambda/closures.hpp", + "external/sources/boost/lambda/construct.hpp", + "external/sources/boost/lambda/control_structures.hpp", + "external/sources/boost/lambda/core.hpp", + "external/sources/boost/lambda/detail/actions.hpp", + "external/sources/boost/lambda/detail/arity_code.hpp", + "external/sources/boost/lambda/detail/bind_functions.hpp", + "external/sources/boost/lambda/detail/control_constructs_common.hpp", + "external/sources/boost/lambda/detail/function_adaptors.hpp", + "external/sources/boost/lambda/detail/is_instance_of.hpp", + "external/sources/boost/lambda/detail/lambda_config.hpp", + "external/sources/boost/lambda/detail/lambda_functor_base.hpp", + "external/sources/boost/lambda/detail/lambda_functors.hpp", + "external/sources/boost/lambda/detail/lambda_fwd.hpp", + "external/sources/boost/lambda/detail/lambda_traits.hpp", + "external/sources/boost/lambda/detail/member_ptr.hpp", + "external/sources/boost/lambda/detail/operator_actions.hpp", + "external/sources/boost/lambda/detail/operator_lambda_func_base.hpp", + "external/sources/boost/lambda/detail/operator_return_type_traits.hpp", + "external/sources/boost/lambda/detail/operators.hpp", + "external/sources/boost/lambda/detail/ret.hpp", + "external/sources/boost/lambda/detail/return_type_traits.hpp", + "external/sources/boost/lambda/detail/select_functions.hpp", + "external/sources/boost/lambda/detail/suppress_unused.hpp", + "external/sources/boost/lambda/exceptions.hpp", + "external/sources/boost/lambda/if.hpp", + "external/sources/boost/lambda/lambda.hpp", + "external/sources/boost/lambda/loops.hpp", + "external/sources/boost/lambda/numeric.hpp", + "external/sources/boost/lambda/switch.hpp", + "external/sources/boost/lexical_cast.hpp", + "external/sources/boost/lexical_cast/bad_lexical_cast.hpp", + "external/sources/boost/lexical_cast/detail/converter_lexical.hpp", + "external/sources/boost/lexical_cast/detail/converter_lexical_streams.hpp", + "external/sources/boost/lexical_cast/detail/converter_numeric.hpp", + "external/sources/boost/lexical_cast/detail/inf_nan.hpp", + "external/sources/boost/lexical_cast/detail/is_character.hpp", + "external/sources/boost/lexical_cast/detail/lcast_char_constants.hpp", + "external/sources/boost/lexical_cast/detail/lcast_unsigned_converters.hpp", + "external/sources/boost/lexical_cast/detail/widest_char.hpp", + "external/sources/boost/lexical_cast/lexical_cast_old.hpp", + "external/sources/boost/lexical_cast/try_lexical_convert.hpp", + "external/sources/boost/limits.hpp", + "external/sources/boost/local_function.hpp", + "external/sources/boost/local_function/aux_/add_pointed_const.hpp", + "external/sources/boost/local_function/aux_/function.hpp", + "external/sources/boost/local_function/aux_/macro/code_/bind.hpp", + "external/sources/boost/local_function/aux_/macro/code_/functor.hpp", + "external/sources/boost/local_function/aux_/macro/code_/result.hpp", + "external/sources/boost/local_function/aux_/macro/decl.hpp", + "external/sources/boost/local_function/aux_/macro/name.hpp", + "external/sources/boost/local_function/aux_/macro/typeof.hpp", + "external/sources/boost/local_function/aux_/member.hpp", + "external/sources/boost/local_function/aux_/nobind.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/bind.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_/append.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_/index.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_/nil.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_/set_error.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_/validate.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_/validate_/return_count.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_/validate_/this_count.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_binds.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_const_binds.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_error.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_params.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_returns.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_sign_/any_bind_type.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_sign_/sign.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/defaults.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/decl_sign_/validate_/this.hpp", + "external/sources/boost/local_function/aux_/preprocessor/traits/param.hpp", + "external/sources/boost/local_function/aux_/symbol.hpp", + "external/sources/boost/local_function/config.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/auto.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/bind.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/const.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/const_bind.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/default.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/facility/add.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/facility/is.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/facility/remove.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/inline.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/recursive.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/register.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/return.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/this.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/thisunderscore.hpp", + "external/sources/boost/local_function/detail/preprocessor/keyword/void.hpp", + "external/sources/boost/local_function/detail/preprocessor/line_counter.hpp", + "external/sources/boost/local_function/detail/preprocessor/void_list.hpp", + "external/sources/boost/locale.hpp", + "external/sources/boost/locale/boundary.hpp", + "external/sources/boost/locale/boundary/boundary_point.hpp", + "external/sources/boost/locale/boundary/facets.hpp", + "external/sources/boost/locale/boundary/index.hpp", + "external/sources/boost/locale/boundary/segment.hpp", + "external/sources/boost/locale/boundary/types.hpp", + "external/sources/boost/locale/collator.hpp", + "external/sources/boost/locale/config.hpp", + "external/sources/boost/locale/conversion.hpp", + "external/sources/boost/locale/date_time.hpp", + "external/sources/boost/locale/date_time_facet.hpp", + "external/sources/boost/locale/definitions.hpp", + "external/sources/boost/locale/encoding.hpp", + "external/sources/boost/locale/encoding_errors.hpp", + "external/sources/boost/locale/encoding_utf.hpp", + "external/sources/boost/locale/format.hpp", + "external/sources/boost/locale/formatting.hpp", + "external/sources/boost/locale/generator.hpp", + "external/sources/boost/locale/generic_codecvt.hpp", + "external/sources/boost/locale/gnu_gettext.hpp", + "external/sources/boost/locale/hold_ptr.hpp", + "external/sources/boost/locale/info.hpp", + "external/sources/boost/locale/localization_backend.hpp", + "external/sources/boost/locale/message.hpp", + "external/sources/boost/locale/time_zone.hpp", + "external/sources/boost/locale/utf.hpp", + "external/sources/boost/locale/utf8_codecvt.hpp", + "external/sources/boost/locale/util.hpp", + "external/sources/boost/lockfree/detail/atomic.hpp", + "external/sources/boost/lockfree/detail/copy_payload.hpp", + "external/sources/boost/lockfree/detail/freelist.hpp", + "external/sources/boost/lockfree/detail/parameter.hpp", + "external/sources/boost/lockfree/detail/prefix.hpp", + "external/sources/boost/lockfree/detail/tagged_ptr.hpp", + "external/sources/boost/lockfree/detail/tagged_ptr_dcas.hpp", + "external/sources/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp", + "external/sources/boost/lockfree/lockfree_forward.hpp", + "external/sources/boost/lockfree/policies.hpp", + "external/sources/boost/lockfree/queue.hpp", + "external/sources/boost/lockfree/spsc_queue.hpp", + "external/sources/boost/lockfree/stack.hpp", + "external/sources/boost/log/attributes.hpp", + "external/sources/boost/log/attributes/attribute.hpp", + "external/sources/boost/log/attributes/attribute_cast.hpp", + "external/sources/boost/log/attributes/attribute_name.hpp", + "external/sources/boost/log/attributes/attribute_set.hpp", + "external/sources/boost/log/attributes/attribute_value.hpp", + "external/sources/boost/log/attributes/attribute_value_impl.hpp", + "external/sources/boost/log/attributes/attribute_value_set.hpp", + "external/sources/boost/log/attributes/clock.hpp", + "external/sources/boost/log/attributes/constant.hpp", + "external/sources/boost/log/attributes/counter.hpp", + "external/sources/boost/log/attributes/current_process_id.hpp", + "external/sources/boost/log/attributes/current_process_name.hpp", + "external/sources/boost/log/attributes/current_thread_id.hpp", + "external/sources/boost/log/attributes/fallback_policy.hpp", + "external/sources/boost/log/attributes/fallback_policy_fwd.hpp", + "external/sources/boost/log/attributes/function.hpp", + "external/sources/boost/log/attributes/mutable_constant.hpp", + "external/sources/boost/log/attributes/named_scope.hpp", + "external/sources/boost/log/attributes/scoped_attribute.hpp", + "external/sources/boost/log/attributes/time_traits.hpp", + "external/sources/boost/log/attributes/timer.hpp", + "external/sources/boost/log/attributes/value_extraction.hpp", + "external/sources/boost/log/attributes/value_extraction_fwd.hpp", + "external/sources/boost/log/attributes/value_visitation.hpp", + "external/sources/boost/log/attributes/value_visitation_fwd.hpp", + "external/sources/boost/log/common.hpp", + "external/sources/boost/log/core.hpp", + "external/sources/boost/log/core/core.hpp", + "external/sources/boost/log/core/record.hpp", + "external/sources/boost/log/core/record_view.hpp", + "external/sources/boost/log/detail/adaptive_mutex.hpp", + "external/sources/boost/log/detail/allocator_traits.hpp", + "external/sources/boost/log/detail/asio_fwd.hpp", + "external/sources/boost/log/detail/attachable_sstream_buf.hpp", + "external/sources/boost/log/detail/attr_output_impl.hpp", + "external/sources/boost/log/detail/attr_output_terminal.hpp", + "external/sources/boost/log/detail/attribute_get_value_impl.hpp", + "external/sources/boost/log/detail/attribute_predicate.hpp", + "external/sources/boost/log/detail/c_str.hpp", + "external/sources/boost/log/detail/cleanup_scope_guard.hpp", + "external/sources/boost/log/detail/code_conversion.hpp", + "external/sources/boost/log/detail/config.hpp", + "external/sources/boost/log/detail/copy_cv.hpp", + "external/sources/boost/log/detail/custom_terminal_spec.hpp", + "external/sources/boost/log/detail/date_time_fmt_gen_traits_fwd.hpp", + "external/sources/boost/log/detail/date_time_format_parser.hpp", + "external/sources/boost/log/detail/decomposed_time.hpp", + "external/sources/boost/log/detail/deduce_char_type.hpp", + "external/sources/boost/log/detail/default_attribute_names.hpp", + "external/sources/boost/log/detail/embedded_string_type.hpp", + "external/sources/boost/log/detail/enqueued_record.hpp", + "external/sources/boost/log/detail/event.hpp", + "external/sources/boost/log/detail/fake_mutex.hpp", + "external/sources/boost/log/detail/footer.hpp", + "external/sources/boost/log/detail/format.hpp", + "external/sources/boost/log/detail/function_traits.hpp", + "external/sources/boost/log/detail/generate_overloads.hpp", + "external/sources/boost/log/detail/header.hpp", + "external/sources/boost/log/detail/id.hpp", + "external/sources/boost/log/detail/is_character_type.hpp", + "external/sources/boost/log/detail/is_ostream.hpp", + "external/sources/boost/log/detail/light_function.hpp", + "external/sources/boost/log/detail/light_function_pp.hpp", + "external/sources/boost/log/detail/light_rw_mutex.hpp", + "external/sources/boost/log/detail/locking_ptr.hpp", + "external/sources/boost/log/detail/locks.hpp", + "external/sources/boost/log/detail/named_scope_fmt_pp.hpp", + "external/sources/boost/log/detail/native_typeof.hpp", + "external/sources/boost/log/detail/parameter_tools.hpp", + "external/sources/boost/log/detail/pause.hpp", + "external/sources/boost/log/detail/pp_identity.hpp", + "external/sources/boost/log/detail/process_id.hpp", + "external/sources/boost/log/detail/setup_config.hpp", + "external/sources/boost/log/detail/sfinae_tools.hpp", + "external/sources/boost/log/detail/singleton.hpp", + "external/sources/boost/log/detail/sink_init_helpers.hpp", + "external/sources/boost/log/detail/snprintf.hpp", + "external/sources/boost/log/detail/tagged_integer.hpp", + "external/sources/boost/log/detail/thread_id.hpp", + "external/sources/boost/log/detail/thread_specific.hpp", + "external/sources/boost/log/detail/threadsafe_queue.hpp", + "external/sources/boost/log/detail/timestamp.hpp", + "external/sources/boost/log/detail/trivial_keyword.hpp", + "external/sources/boost/log/detail/unary_function_terminal.hpp", + "external/sources/boost/log/detail/value_ref_visitation.hpp", + "external/sources/boost/log/exceptions.hpp", + "external/sources/boost/log/expressions.hpp", + "external/sources/boost/log/expressions/attr.hpp", + "external/sources/boost/log/expressions/attr_fwd.hpp", + "external/sources/boost/log/expressions/filter.hpp", + "external/sources/boost/log/expressions/formatter.hpp", + "external/sources/boost/log/expressions/formatters.hpp", + "external/sources/boost/log/expressions/formatters/auto_newline.hpp", + "external/sources/boost/log/expressions/formatters/c_decorator.hpp", + "external/sources/boost/log/expressions/formatters/char_decorator.hpp", + "external/sources/boost/log/expressions/formatters/csv_decorator.hpp", + "external/sources/boost/log/expressions/formatters/date_time.hpp", + "external/sources/boost/log/expressions/formatters/format.hpp", + "external/sources/boost/log/expressions/formatters/if.hpp", + "external/sources/boost/log/expressions/formatters/max_size_decorator.hpp", + "external/sources/boost/log/expressions/formatters/named_scope.hpp", + "external/sources/boost/log/expressions/formatters/stream.hpp", + "external/sources/boost/log/expressions/formatters/wrap_formatter.hpp", + "external/sources/boost/log/expressions/formatters/xml_decorator.hpp", + "external/sources/boost/log/expressions/is_keyword_descriptor.hpp", + "external/sources/boost/log/expressions/keyword.hpp", + "external/sources/boost/log/expressions/keyword_fwd.hpp", + "external/sources/boost/log/expressions/message.hpp", + "external/sources/boost/log/expressions/predicates.hpp", + "external/sources/boost/log/expressions/predicates/begins_with.hpp", + "external/sources/boost/log/expressions/predicates/channel_severity_filter.hpp", + "external/sources/boost/log/expressions/predicates/contains.hpp", + "external/sources/boost/log/expressions/predicates/ends_with.hpp", + "external/sources/boost/log/expressions/predicates/has_attr.hpp", + "external/sources/boost/log/expressions/predicates/is_debugger_present.hpp", + "external/sources/boost/log/expressions/predicates/is_in_range.hpp", + "external/sources/boost/log/expressions/predicates/matches.hpp", + "external/sources/boost/log/expressions/record.hpp", + "external/sources/boost/log/keywords/auto_flush.hpp", + "external/sources/boost/log/keywords/auto_newline_mode.hpp", + "external/sources/boost/log/keywords/block_size.hpp", + "external/sources/boost/log/keywords/capacity.hpp", + "external/sources/boost/log/keywords/channel.hpp", + "external/sources/boost/log/keywords/delimiter.hpp", + "external/sources/boost/log/keywords/depth.hpp", + "external/sources/boost/log/keywords/empty_marker.hpp", + "external/sources/boost/log/keywords/enable_final_rotation.hpp", + "external/sources/boost/log/keywords/facility.hpp", + "external/sources/boost/log/keywords/file_name.hpp", + "external/sources/boost/log/keywords/filter.hpp", + "external/sources/boost/log/keywords/format.hpp", + "external/sources/boost/log/keywords/ident.hpp", + "external/sources/boost/log/keywords/incomplete_marker.hpp", + "external/sources/boost/log/keywords/ip_version.hpp", + "external/sources/boost/log/keywords/iteration.hpp", + "external/sources/boost/log/keywords/log_name.hpp", + "external/sources/boost/log/keywords/log_source.hpp", + "external/sources/boost/log/keywords/max_files.hpp", + "external/sources/boost/log/keywords/max_size.hpp", + "external/sources/boost/log/keywords/message_file.hpp", + "external/sources/boost/log/keywords/min_free_space.hpp", + "external/sources/boost/log/keywords/name.hpp", + "external/sources/boost/log/keywords/open_mode.hpp", + "external/sources/boost/log/keywords/order.hpp", + "external/sources/boost/log/keywords/ordering_window.hpp", + "external/sources/boost/log/keywords/overflow_policy.hpp", + "external/sources/boost/log/keywords/permissions.hpp", + "external/sources/boost/log/keywords/registration.hpp", + "external/sources/boost/log/keywords/rotation_size.hpp", + "external/sources/boost/log/keywords/scan_method.hpp", + "external/sources/boost/log/keywords/severity.hpp", + "external/sources/boost/log/keywords/start_thread.hpp", + "external/sources/boost/log/keywords/target.hpp", + "external/sources/boost/log/keywords/target_file_name.hpp", + "external/sources/boost/log/keywords/time_based_rotation.hpp", + "external/sources/boost/log/keywords/use_impl.hpp", + "external/sources/boost/log/sinks.hpp", + "external/sources/boost/log/sinks/async_frontend.hpp", + "external/sources/boost/log/sinks/attribute_mapping.hpp", + "external/sources/boost/log/sinks/auto_newline_mode.hpp", + "external/sources/boost/log/sinks/basic_sink_backend.hpp", + "external/sources/boost/log/sinks/basic_sink_frontend.hpp", + "external/sources/boost/log/sinks/block_on_overflow.hpp", + "external/sources/boost/log/sinks/bounded_fifo_queue.hpp", + "external/sources/boost/log/sinks/bounded_ordering_queue.hpp", + "external/sources/boost/log/sinks/debug_output_backend.hpp", + "external/sources/boost/log/sinks/drop_on_overflow.hpp", + "external/sources/boost/log/sinks/event_log_backend.hpp", + "external/sources/boost/log/sinks/event_log_constants.hpp", + "external/sources/boost/log/sinks/frontend_requirements.hpp", + "external/sources/boost/log/sinks/sink.hpp", + "external/sources/boost/log/sinks/sync_frontend.hpp", + "external/sources/boost/log/sinks/syslog_backend.hpp", + "external/sources/boost/log/sinks/syslog_constants.hpp", + "external/sources/boost/log/sinks/text_file_backend.hpp", + "external/sources/boost/log/sinks/text_ipc_message_queue_backend.hpp", + "external/sources/boost/log/sinks/text_multifile_backend.hpp", + "external/sources/boost/log/sinks/text_ostream_backend.hpp", + "external/sources/boost/log/sinks/unbounded_fifo_queue.hpp", + "external/sources/boost/log/sinks/unbounded_ordering_queue.hpp", + "external/sources/boost/log/sinks/unlocked_frontend.hpp", + "external/sources/boost/log/sources/basic_logger.hpp", + "external/sources/boost/log/sources/channel_feature.hpp", + "external/sources/boost/log/sources/channel_logger.hpp", + "external/sources/boost/log/sources/exception_handler_feature.hpp", + "external/sources/boost/log/sources/features.hpp", + "external/sources/boost/log/sources/global_logger_storage.hpp", + "external/sources/boost/log/sources/logger.hpp", + "external/sources/boost/log/sources/record_ostream.hpp", + "external/sources/boost/log/sources/severity_channel_logger.hpp", + "external/sources/boost/log/sources/severity_feature.hpp", + "external/sources/boost/log/sources/severity_logger.hpp", + "external/sources/boost/log/sources/threading_models.hpp", + "external/sources/boost/log/support/date_time.hpp", + "external/sources/boost/log/support/exception.hpp", + "external/sources/boost/log/support/regex.hpp", + "external/sources/boost/log/support/spirit_classic.hpp", + "external/sources/boost/log/support/spirit_qi.hpp", + "external/sources/boost/log/support/std_regex.hpp", + "external/sources/boost/log/support/xpressive.hpp", + "external/sources/boost/log/trivial.hpp", + "external/sources/boost/log/utility/exception_handler.hpp", + "external/sources/boost/log/utility/formatting_ostream.hpp", + "external/sources/boost/log/utility/formatting_ostream_fwd.hpp", + "external/sources/boost/log/utility/functional.hpp", + "external/sources/boost/log/utility/functional/as_action.hpp", + "external/sources/boost/log/utility/functional/begins_with.hpp", + "external/sources/boost/log/utility/functional/bind.hpp", + "external/sources/boost/log/utility/functional/bind_assign.hpp", + "external/sources/boost/log/utility/functional/bind_output.hpp", + "external/sources/boost/log/utility/functional/bind_to_log.hpp", + "external/sources/boost/log/utility/functional/contains.hpp", + "external/sources/boost/log/utility/functional/ends_with.hpp", + "external/sources/boost/log/utility/functional/fun_ref.hpp", + "external/sources/boost/log/utility/functional/in_range.hpp", + "external/sources/boost/log/utility/functional/logical.hpp", + "external/sources/boost/log/utility/functional/matches.hpp", + "external/sources/boost/log/utility/functional/nop.hpp", + "external/sources/boost/log/utility/functional/save_result.hpp", + "external/sources/boost/log/utility/ipc/object_name.hpp", + "external/sources/boost/log/utility/ipc/reliable_message_queue.hpp", + "external/sources/boost/log/utility/manipulators.hpp", + "external/sources/boost/log/utility/manipulators/add_value.hpp", + "external/sources/boost/log/utility/manipulators/auto_newline.hpp", + "external/sources/boost/log/utility/manipulators/dump.hpp", + "external/sources/boost/log/utility/manipulators/optional.hpp", + "external/sources/boost/log/utility/manipulators/range.hpp", + "external/sources/boost/log/utility/manipulators/to_log.hpp", + "external/sources/boost/log/utility/manipulators/tuple.hpp", + "external/sources/boost/log/utility/once_block.hpp", + "external/sources/boost/log/utility/open_mode.hpp", + "external/sources/boost/log/utility/permissions.hpp", + "external/sources/boost/log/utility/record_ordering.hpp", + "external/sources/boost/log/utility/setup.hpp", + "external/sources/boost/log/utility/setup/common_attributes.hpp", + "external/sources/boost/log/utility/setup/console.hpp", + "external/sources/boost/log/utility/setup/file.hpp", + "external/sources/boost/log/utility/setup/filter_parser.hpp", + "external/sources/boost/log/utility/setup/formatter_parser.hpp", + "external/sources/boost/log/utility/setup/from_settings.hpp", + "external/sources/boost/log/utility/setup/from_stream.hpp", + "external/sources/boost/log/utility/setup/settings.hpp", + "external/sources/boost/log/utility/setup/settings_parser.hpp", + "external/sources/boost/log/utility/strictest_lock.hpp", + "external/sources/boost/log/utility/string_literal.hpp", + "external/sources/boost/log/utility/string_literal_fwd.hpp", + "external/sources/boost/log/utility/type_dispatch/date_time_types.hpp", + "external/sources/boost/log/utility/type_dispatch/dynamic_type_dispatcher.hpp", + "external/sources/boost/log/utility/type_dispatch/standard_types.hpp", + "external/sources/boost/log/utility/type_dispatch/static_type_dispatcher.hpp", + "external/sources/boost/log/utility/type_dispatch/type_dispatcher.hpp", + "external/sources/boost/log/utility/unique_identifier_name.hpp", + "external/sources/boost/log/utility/unused_variable.hpp", + "external/sources/boost/log/utility/value_ref.hpp", + "external/sources/boost/log/utility/value_ref_fwd.hpp", + "external/sources/boost/logic/tribool.hpp", + "external/sources/boost/logic/tribool_fwd.hpp", + "external/sources/boost/logic/tribool_io.hpp", + "external/sources/boost/make_default.hpp", + "external/sources/boost/make_shared.hpp", + "external/sources/boost/make_unique.hpp", + "external/sources/boost/math/bindings/detail/big_digamma.hpp", + "external/sources/boost/math/bindings/detail/big_lanczos.hpp", + "external/sources/boost/math/bindings/e_float.hpp", + "external/sources/boost/math/bindings/mpfr.hpp", + "external/sources/boost/math/bindings/mpreal.hpp", + "external/sources/boost/math/bindings/rr.hpp", + "external/sources/boost/math/common_factor.hpp", + "external/sources/boost/math/common_factor_ct.hpp", + "external/sources/boost/math/common_factor_rt.hpp", + "external/sources/boost/math/complex.hpp", + "external/sources/boost/math/complex/acos.hpp", + "external/sources/boost/math/complex/acosh.hpp", + "external/sources/boost/math/complex/asin.hpp", + "external/sources/boost/math/complex/asinh.hpp", + "external/sources/boost/math/complex/atan.hpp", + "external/sources/boost/math/complex/atanh.hpp", + "external/sources/boost/math/complex/details.hpp", + "external/sources/boost/math/complex/fabs.hpp", + "external/sources/boost/math/concepts/distributions.hpp", + "external/sources/boost/math/concepts/real_concept.hpp", + "external/sources/boost/math/concepts/real_type_concept.hpp", + "external/sources/boost/math/concepts/std_real_concept.hpp", + "external/sources/boost/math/constants/calculate_constants.hpp", + "external/sources/boost/math/constants/constants.hpp", + "external/sources/boost/math/constants/info.hpp", + "external/sources/boost/math/cstdfloat/cstdfloat_cmath.hpp", + "external/sources/boost/math/cstdfloat/cstdfloat_complex.hpp", + "external/sources/boost/math/cstdfloat/cstdfloat_complex_std.hpp", + "external/sources/boost/math/cstdfloat/cstdfloat_iostream.hpp", + "external/sources/boost/math/cstdfloat/cstdfloat_limits.hpp", + "external/sources/boost/math/cstdfloat/cstdfloat_types.hpp", + "external/sources/boost/math/differentiation/autodiff.hpp", + "external/sources/boost/math/differentiation/autodiff_cpp11.hpp", + "external/sources/boost/math/differentiation/finite_difference.hpp", + "external/sources/boost/math/differentiation/lanczos_smoothing.hpp", + "external/sources/boost/math/distributions.hpp", + "external/sources/boost/math/distributions/arcsine.hpp", + "external/sources/boost/math/distributions/bernoulli.hpp", + "external/sources/boost/math/distributions/beta.hpp", + "external/sources/boost/math/distributions/binomial.hpp", + "external/sources/boost/math/distributions/cauchy.hpp", + "external/sources/boost/math/distributions/chi_squared.hpp", + "external/sources/boost/math/distributions/complement.hpp", + "external/sources/boost/math/distributions/detail/common_error_handling.hpp", + "external/sources/boost/math/distributions/detail/derived_accessors.hpp", + "external/sources/boost/math/distributions/detail/generic_mode.hpp", + "external/sources/boost/math/distributions/detail/generic_quantile.hpp", + "external/sources/boost/math/distributions/detail/hypergeometric_cdf.hpp", + "external/sources/boost/math/distributions/detail/hypergeometric_pdf.hpp", + "external/sources/boost/math/distributions/detail/hypergeometric_quantile.hpp", + "external/sources/boost/math/distributions/detail/inv_discrete_quantile.hpp", + "external/sources/boost/math/distributions/empirical_cumulative_distribution_function.hpp", + "external/sources/boost/math/distributions/exponential.hpp", + "external/sources/boost/math/distributions/extreme_value.hpp", + "external/sources/boost/math/distributions/find_location.hpp", + "external/sources/boost/math/distributions/find_scale.hpp", + "external/sources/boost/math/distributions/fisher_f.hpp", + "external/sources/boost/math/distributions/fwd.hpp", + "external/sources/boost/math/distributions/gamma.hpp", + "external/sources/boost/math/distributions/geometric.hpp", + "external/sources/boost/math/distributions/hyperexponential.hpp", + "external/sources/boost/math/distributions/hypergeometric.hpp", + "external/sources/boost/math/distributions/inverse_chi_squared.hpp", + "external/sources/boost/math/distributions/inverse_gamma.hpp", + "external/sources/boost/math/distributions/inverse_gaussian.hpp", + "external/sources/boost/math/distributions/laplace.hpp", + "external/sources/boost/math/distributions/logistic.hpp", + "external/sources/boost/math/distributions/lognormal.hpp", + "external/sources/boost/math/distributions/negative_binomial.hpp", + "external/sources/boost/math/distributions/non_central_beta.hpp", + "external/sources/boost/math/distributions/non_central_chi_squared.hpp", + "external/sources/boost/math/distributions/non_central_f.hpp", + "external/sources/boost/math/distributions/non_central_t.hpp", + "external/sources/boost/math/distributions/normal.hpp", + "external/sources/boost/math/distributions/pareto.hpp", + "external/sources/boost/math/distributions/poisson.hpp", + "external/sources/boost/math/distributions/rayleigh.hpp", + "external/sources/boost/math/distributions/skew_normal.hpp", + "external/sources/boost/math/distributions/students_t.hpp", + "external/sources/boost/math/distributions/triangular.hpp", + "external/sources/boost/math/distributions/uniform.hpp", + "external/sources/boost/math/distributions/weibull.hpp", + "external/sources/boost/math/filters/daubechies.hpp", + "external/sources/boost/math/interpolators/barycentric_rational.hpp", + "external/sources/boost/math/interpolators/cardinal_cubic_b_spline.hpp", + "external/sources/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", + "external/sources/boost/math/interpolators/cardinal_quintic_b_spline.hpp", + "external/sources/boost/math/interpolators/cardinal_trigonometric.hpp", + "external/sources/boost/math/interpolators/catmull_rom.hpp", + "external/sources/boost/math/interpolators/cubic_b_spline.hpp", + "external/sources/boost/math/interpolators/cubic_hermite.hpp", + "external/sources/boost/math/interpolators/detail/barycentric_rational_detail.hpp", + "external/sources/boost/math/interpolators/detail/cardinal_cubic_b_spline_detail.hpp", + "external/sources/boost/math/interpolators/detail/cardinal_quadratic_b_spline_detail.hpp", + "external/sources/boost/math/interpolators/detail/cardinal_quintic_b_spline_detail.hpp", + "external/sources/boost/math/interpolators/detail/cardinal_trigonometric_detail.hpp", + "external/sources/boost/math/interpolators/detail/cubic_b_spline_detail.hpp", + "external/sources/boost/math/interpolators/detail/cubic_hermite_detail.hpp", + "external/sources/boost/math/interpolators/detail/quintic_hermite_detail.hpp", + "external/sources/boost/math/interpolators/detail/septic_hermite_detail.hpp", + "external/sources/boost/math/interpolators/detail/vector_barycentric_rational_detail.hpp", + "external/sources/boost/math/interpolators/detail/whittaker_shannon_detail.hpp", + "external/sources/boost/math/interpolators/makima.hpp", + "external/sources/boost/math/interpolators/pchip.hpp", + "external/sources/boost/math/interpolators/quintic_hermite.hpp", + "external/sources/boost/math/interpolators/septic_hermite.hpp", + "external/sources/boost/math/interpolators/vector_barycentric_rational.hpp", + "external/sources/boost/math/interpolators/whittaker_shannon.hpp", + "external/sources/boost/math/octonion.hpp", + "external/sources/boost/math/policies/error_handling.hpp", + "external/sources/boost/math/policies/policy.hpp", + "external/sources/boost/math/quadrature/detail/exp_sinh_detail.hpp", + "external/sources/boost/math/quadrature/detail/ooura_fourier_integrals_detail.hpp", + "external/sources/boost/math/quadrature/detail/sinh_sinh_detail.hpp", + "external/sources/boost/math/quadrature/detail/tanh_sinh_constants.hpp", + "external/sources/boost/math/quadrature/detail/tanh_sinh_detail.hpp", + "external/sources/boost/math/quadrature/exp_sinh.hpp", + "external/sources/boost/math/quadrature/gauss.hpp", + "external/sources/boost/math/quadrature/gauss_kronrod.hpp", + "external/sources/boost/math/quadrature/naive_monte_carlo.hpp", + "external/sources/boost/math/quadrature/ooura_fourier_integrals.hpp", + "external/sources/boost/math/quadrature/sinh_sinh.hpp", + "external/sources/boost/math/quadrature/tanh_sinh.hpp", + "external/sources/boost/math/quadrature/trapezoidal.hpp", + "external/sources/boost/math/quadrature/wavelet_transforms.hpp", + "external/sources/boost/math/quaternion.hpp", + "external/sources/boost/math/special_functions.hpp", + "external/sources/boost/math/special_functions/acosh.hpp", + "external/sources/boost/math/special_functions/airy.hpp", + "external/sources/boost/math/special_functions/asinh.hpp", + "external/sources/boost/math/special_functions/atanh.hpp", + "external/sources/boost/math/special_functions/bernoulli.hpp", + "external/sources/boost/math/special_functions/bessel.hpp", + "external/sources/boost/math/special_functions/bessel_iterators.hpp", + "external/sources/boost/math/special_functions/bessel_prime.hpp", + "external/sources/boost/math/special_functions/beta.hpp", + "external/sources/boost/math/special_functions/binomial.hpp", + "external/sources/boost/math/special_functions/cardinal_b_spline.hpp", + "external/sources/boost/math/special_functions/cbrt.hpp", + "external/sources/boost/math/special_functions/chebyshev.hpp", + "external/sources/boost/math/special_functions/chebyshev_transform.hpp", + "external/sources/boost/math/special_functions/cos_pi.hpp", + "external/sources/boost/math/special_functions/daubechies_scaling.hpp", + "external/sources/boost/math/special_functions/daubechies_wavelet.hpp", + "external/sources/boost/math/special_functions/detail/airy_ai_bi_zero.hpp", + "external/sources/boost/math/special_functions/detail/bernoulli_details.hpp", + "external/sources/boost/math/special_functions/detail/bessel_derivatives_linear.hpp", + "external/sources/boost/math/special_functions/detail/bessel_i0.hpp", + "external/sources/boost/math/special_functions/detail/bessel_i1.hpp", + "external/sources/boost/math/special_functions/detail/bessel_ik.hpp", + "external/sources/boost/math/special_functions/detail/bessel_j0.hpp", + "external/sources/boost/math/special_functions/detail/bessel_j1.hpp", + "external/sources/boost/math/special_functions/detail/bessel_jn.hpp", + "external/sources/boost/math/special_functions/detail/bessel_jy.hpp", + "external/sources/boost/math/special_functions/detail/bessel_jy_asym.hpp", + "external/sources/boost/math/special_functions/detail/bessel_jy_derivatives_asym.hpp", + "external/sources/boost/math/special_functions/detail/bessel_jy_derivatives_series.hpp", + "external/sources/boost/math/special_functions/detail/bessel_jy_series.hpp", + "external/sources/boost/math/special_functions/detail/bessel_jy_zero.hpp", + "external/sources/boost/math/special_functions/detail/bessel_k0.hpp", + "external/sources/boost/math/special_functions/detail/bessel_k1.hpp", + "external/sources/boost/math/special_functions/detail/bessel_kn.hpp", + "external/sources/boost/math/special_functions/detail/bessel_y0.hpp", + "external/sources/boost/math/special_functions/detail/bessel_y1.hpp", + "external/sources/boost/math/special_functions/detail/bessel_yn.hpp", + "external/sources/boost/math/special_functions/detail/daubechies_scaling_integer_grid.hpp", + "external/sources/boost/math/special_functions/detail/erf_inv.hpp", + "external/sources/boost/math/special_functions/detail/fp_traits.hpp", + "external/sources/boost/math/special_functions/detail/gamma_inva.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_0F1_bessel.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_addition_theorems_on_z.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_bessel.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_by_ratios.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_cf.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_large_a.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_large_abz.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_negative_b_regions.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_scaled_series.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_1F1_small_a_negative_b_by_ratio.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_asym.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_cf.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_pFq_checked_series.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_pade.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_rational.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_separated_series.hpp", + "external/sources/boost/math/special_functions/detail/hypergeometric_series.hpp", + "external/sources/boost/math/special_functions/detail/ibeta_inv_ab.hpp", + "external/sources/boost/math/special_functions/detail/ibeta_inverse.hpp", + "external/sources/boost/math/special_functions/detail/iconv.hpp", + "external/sources/boost/math/special_functions/detail/igamma_inverse.hpp", + "external/sources/boost/math/special_functions/detail/igamma_large.hpp", + "external/sources/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", + "external/sources/boost/math/special_functions/detail/lanczos_sse2.hpp", + "external/sources/boost/math/special_functions/detail/lgamma_small.hpp", + "external/sources/boost/math/special_functions/detail/polygamma.hpp", + "external/sources/boost/math/special_functions/detail/round_fwd.hpp", + "external/sources/boost/math/special_functions/detail/t_distribution_inv.hpp", + "external/sources/boost/math/special_functions/detail/unchecked_bernoulli.hpp", + "external/sources/boost/math/special_functions/detail/unchecked_factorial.hpp", + "external/sources/boost/math/special_functions/digamma.hpp", + "external/sources/boost/math/special_functions/ellint_1.hpp", + "external/sources/boost/math/special_functions/ellint_2.hpp", + "external/sources/boost/math/special_functions/ellint_3.hpp", + "external/sources/boost/math/special_functions/ellint_d.hpp", + "external/sources/boost/math/special_functions/ellint_rc.hpp", + "external/sources/boost/math/special_functions/ellint_rd.hpp", + "external/sources/boost/math/special_functions/ellint_rf.hpp", + "external/sources/boost/math/special_functions/ellint_rg.hpp", + "external/sources/boost/math/special_functions/ellint_rj.hpp", + "external/sources/boost/math/special_functions/erf.hpp", + "external/sources/boost/math/special_functions/expint.hpp", + "external/sources/boost/math/special_functions/expm1.hpp", + "external/sources/boost/math/special_functions/factorials.hpp", + "external/sources/boost/math/special_functions/fpclassify.hpp", + "external/sources/boost/math/special_functions/gamma.hpp", + "external/sources/boost/math/special_functions/gegenbauer.hpp", + "external/sources/boost/math/special_functions/hankel.hpp", + "external/sources/boost/math/special_functions/hermite.hpp", + "external/sources/boost/math/special_functions/heuman_lambda.hpp", + "external/sources/boost/math/special_functions/hypergeometric_0F1.hpp", + "external/sources/boost/math/special_functions/hypergeometric_1F0.hpp", + "external/sources/boost/math/special_functions/hypergeometric_1F1.hpp", + "external/sources/boost/math/special_functions/hypergeometric_2F0.hpp", + "external/sources/boost/math/special_functions/hypergeometric_pFq.hpp", + "external/sources/boost/math/special_functions/hypot.hpp", + "external/sources/boost/math/special_functions/jacobi.hpp", + "external/sources/boost/math/special_functions/jacobi_elliptic.hpp", + "external/sources/boost/math/special_functions/jacobi_zeta.hpp", + "external/sources/boost/math/special_functions/laguerre.hpp", + "external/sources/boost/math/special_functions/lambert_w.hpp", + "external/sources/boost/math/special_functions/lanczos.hpp", + "external/sources/boost/math/special_functions/legendre.hpp", + "external/sources/boost/math/special_functions/legendre_stieltjes.hpp", + "external/sources/boost/math/special_functions/log1p.hpp", + "external/sources/boost/math/special_functions/math_fwd.hpp", + "external/sources/boost/math/special_functions/modf.hpp", + "external/sources/boost/math/special_functions/next.hpp", + "external/sources/boost/math/special_functions/nonfinite_num_facets.hpp", + "external/sources/boost/math/special_functions/owens_t.hpp", + "external/sources/boost/math/special_functions/polygamma.hpp", + "external/sources/boost/math/special_functions/pow.hpp", + "external/sources/boost/math/special_functions/powm1.hpp", + "external/sources/boost/math/special_functions/prime.hpp", + "external/sources/boost/math/special_functions/relative_difference.hpp", + "external/sources/boost/math/special_functions/round.hpp", + "external/sources/boost/math/special_functions/sign.hpp", + "external/sources/boost/math/special_functions/sin_pi.hpp", + "external/sources/boost/math/special_functions/sinc.hpp", + "external/sources/boost/math/special_functions/sinhc.hpp", + "external/sources/boost/math/special_functions/spherical_harmonic.hpp", + "external/sources/boost/math/special_functions/sqrt1pm1.hpp", + "external/sources/boost/math/special_functions/trigamma.hpp", + "external/sources/boost/math/special_functions/trunc.hpp", + "external/sources/boost/math/special_functions/ulp.hpp", + "external/sources/boost/math/special_functions/zeta.hpp", + "external/sources/boost/math/statistics/anderson_darling.hpp", + "external/sources/boost/math/statistics/bivariate_statistics.hpp", + "external/sources/boost/math/statistics/linear_regression.hpp", + "external/sources/boost/math/statistics/ljung_box.hpp", + "external/sources/boost/math/statistics/runs_test.hpp", + "external/sources/boost/math/statistics/signal_statistics.hpp", + "external/sources/boost/math/statistics/t_test.hpp", + "external/sources/boost/math/statistics/univariate_statistics.hpp", + "external/sources/boost/math/tools/atomic.hpp", + "external/sources/boost/math/tools/big_constant.hpp", + "external/sources/boost/math/tools/bivariate_statistics.hpp", + "external/sources/boost/math/tools/complex.hpp", + "external/sources/boost/math/tools/condition_numbers.hpp", + "external/sources/boost/math/tools/config.hpp", + "external/sources/boost/math/tools/convert_from_string.hpp", + "external/sources/boost/math/tools/cxx03_warn.hpp", + "external/sources/boost/math/tools/detail/is_const_iterable.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_10.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_11.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_12.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_13.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_14.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_15.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_16.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_17.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_18.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_19.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_2.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_20.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_3.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_4.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_5.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_6.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_7.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_8.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner1_9.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_10.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_11.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_12.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_13.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_14.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_15.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_16.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_17.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_18.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_19.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_2.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_20.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_3.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_4.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_5.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_6.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_7.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_8.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner2_9.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_10.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_11.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_12.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_13.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_14.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_15.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_16.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_17.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_18.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_19.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_2.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_20.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_3.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_4.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_5.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_6.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_7.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_8.hpp", + "external/sources/boost/math/tools/detail/polynomial_horner3_9.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_10.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_11.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_12.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_13.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_14.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_15.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_16.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_17.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_18.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_19.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_2.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_20.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_3.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_4.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_5.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_6.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_7.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_8.hpp", + "external/sources/boost/math/tools/detail/rational_horner1_9.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_10.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_11.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_12.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_13.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_14.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_15.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_16.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_17.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_18.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_19.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_2.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_20.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_3.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_4.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_5.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_6.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_7.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_8.hpp", + "external/sources/boost/math/tools/detail/rational_horner2_9.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_10.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_11.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_12.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_13.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_14.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_15.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_16.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_17.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_18.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_19.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_2.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_20.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_3.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_4.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_5.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_6.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_7.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_8.hpp", + "external/sources/boost/math/tools/detail/rational_horner3_9.hpp", + "external/sources/boost/math/tools/fraction.hpp", + "external/sources/boost/math/tools/minima.hpp", + "external/sources/boost/math/tools/norms.hpp", + "external/sources/boost/math/tools/numerical_differentiation.hpp", + "external/sources/boost/math/tools/polynomial.hpp", + "external/sources/boost/math/tools/polynomial_gcd.hpp", + "external/sources/boost/math/tools/precision.hpp", + "external/sources/boost/math/tools/promotion.hpp", + "external/sources/boost/math/tools/rational.hpp", + "external/sources/boost/math/tools/real_cast.hpp", + "external/sources/boost/math/tools/recurrence.hpp", + "external/sources/boost/math/tools/roots.hpp", + "external/sources/boost/math/tools/series.hpp", + "external/sources/boost/math/tools/signal_statistics.hpp", + "external/sources/boost/math/tools/stats.hpp", + "external/sources/boost/math/tools/test_value.hpp", + "external/sources/boost/math/tools/toms748_solve.hpp", + "external/sources/boost/math/tools/traits.hpp", + "external/sources/boost/math/tools/tuple.hpp", + "external/sources/boost/math/tools/univariate_statistics.hpp", + "external/sources/boost/math/tools/user.hpp", + "external/sources/boost/math/tools/workaround.hpp", + "external/sources/boost/math/tr1.hpp", + "external/sources/boost/math/tr1_c_macros.ipp", + "external/sources/boost/math_fwd.hpp", + "external/sources/boost/mem_fn.hpp", + "external/sources/boost/memory_order.hpp", + "external/sources/boost/metaparse.hpp", + "external/sources/boost/metaparse/accept.hpp", + "external/sources/boost/metaparse/accept_tag.hpp", + "external/sources/boost/metaparse/accept_when.hpp", + "external/sources/boost/metaparse/alphanum.hpp", + "external/sources/boost/metaparse/always.hpp", + "external/sources/boost/metaparse/always_c.hpp", + "external/sources/boost/metaparse/change_error_message.hpp", + "external/sources/boost/metaparse/config.hpp", + "external/sources/boost/metaparse/debug_parsing_error.hpp", + "external/sources/boost/metaparse/define_error.hpp", + "external/sources/boost/metaparse/digit.hpp", + "external/sources/boost/metaparse/digit_val.hpp", + "external/sources/boost/metaparse/empty.hpp", + "external/sources/boost/metaparse/entire_input.hpp", + "external/sources/boost/metaparse/error/digit_expected.hpp", + "external/sources/boost/metaparse/error/end_of_input_expected.hpp", + "external/sources/boost/metaparse/error/index_out_of_range.hpp", + "external/sources/boost/metaparse/error/letter_expected.hpp", + "external/sources/boost/metaparse/error/literal_expected.hpp", + "external/sources/boost/metaparse/error/none_of_the_expected_cases_found.hpp", + "external/sources/boost/metaparse/error/unexpected_character.hpp", + "external/sources/boost/metaparse/error/unexpected_end_of_input.hpp", + "external/sources/boost/metaparse/error/unpaired.hpp", + "external/sources/boost/metaparse/error/whitespace_expected.hpp", + "external/sources/boost/metaparse/except.hpp", + "external/sources/boost/metaparse/fail.hpp", + "external/sources/boost/metaparse/fail_at_first_char_expected.hpp", + "external/sources/boost/metaparse/fail_tag.hpp", + "external/sources/boost/metaparse/first_of.hpp", + "external/sources/boost/metaparse/foldl.hpp", + "external/sources/boost/metaparse/foldl1.hpp", + "external/sources/boost/metaparse/foldl_reject_incomplete.hpp", + "external/sources/boost/metaparse/foldl_reject_incomplete1.hpp", + "external/sources/boost/metaparse/foldl_reject_incomplete_start_with_parser.hpp", + "external/sources/boost/metaparse/foldl_start_with_parser.hpp", + "external/sources/boost/metaparse/foldr.hpp", + "external/sources/boost/metaparse/foldr1.hpp", + "external/sources/boost/metaparse/foldr_reject_incomplete.hpp", + "external/sources/boost/metaparse/foldr_reject_incomplete1.hpp", + "external/sources/boost/metaparse/foldr_start_with_parser.hpp", + "external/sources/boost/metaparse/get_col.hpp", + "external/sources/boost/metaparse/get_line.hpp", + "external/sources/boost/metaparse/get_message.hpp", + "external/sources/boost/metaparse/get_position.hpp", + "external/sources/boost/metaparse/get_prev_char.hpp", + "external/sources/boost/metaparse/get_remaining.hpp", + "external/sources/boost/metaparse/get_result.hpp", + "external/sources/boost/metaparse/grammar.hpp", + "external/sources/boost/metaparse/if_.hpp", + "external/sources/boost/metaparse/int_.hpp", + "external/sources/boost/metaparse/is_error.hpp", + "external/sources/boost/metaparse/iterate.hpp", + "external/sources/boost/metaparse/iterate_c.hpp", + "external/sources/boost/metaparse/keyword.hpp", + "external/sources/boost/metaparse/last_of.hpp", + "external/sources/boost/metaparse/letter.hpp", + "external/sources/boost/metaparse/limit_one_char_except_size.hpp", + "external/sources/boost/metaparse/limit_one_of_size.hpp", + "external/sources/boost/metaparse/limit_sequence_size.hpp", + "external/sources/boost/metaparse/limit_string_size.hpp", + "external/sources/boost/metaparse/lit.hpp", + "external/sources/boost/metaparse/lit_c.hpp", + "external/sources/boost/metaparse/look_ahead.hpp", + "external/sources/boost/metaparse/middle_of.hpp", + "external/sources/boost/metaparse/next_char.hpp", + "external/sources/boost/metaparse/next_line.hpp", + "external/sources/boost/metaparse/nth_of.hpp", + "external/sources/boost/metaparse/nth_of_c.hpp", + "external/sources/boost/metaparse/one_char.hpp", + "external/sources/boost/metaparse/one_char_except.hpp", + "external/sources/boost/metaparse/one_char_except_c.hpp", + "external/sources/boost/metaparse/one_of.hpp", + "external/sources/boost/metaparse/one_of_c.hpp", + "external/sources/boost/metaparse/optional.hpp", + "external/sources/boost/metaparse/range.hpp", + "external/sources/boost/metaparse/range_c.hpp", + "external/sources/boost/metaparse/reject.hpp", + "external/sources/boost/metaparse/repeated.hpp", + "external/sources/boost/metaparse/repeated1.hpp", + "external/sources/boost/metaparse/repeated_one_of.hpp", + "external/sources/boost/metaparse/repeated_one_of1.hpp", + "external/sources/boost/metaparse/repeated_reject_incomplete.hpp", + "external/sources/boost/metaparse/repeated_reject_incomplete1.hpp", + "external/sources/boost/metaparse/return_.hpp", + "external/sources/boost/metaparse/sequence.hpp", + "external/sources/boost/metaparse/sequence_apply.hpp", + "external/sources/boost/metaparse/source_position.hpp", + "external/sources/boost/metaparse/source_position_tag.hpp", + "external/sources/boost/metaparse/space.hpp", + "external/sources/boost/metaparse/spaces.hpp", + "external/sources/boost/metaparse/start.hpp", + "external/sources/boost/metaparse/string.hpp", + "external/sources/boost/metaparse/string_tag.hpp", + "external/sources/boost/metaparse/token.hpp", + "external/sources/boost/metaparse/transform.hpp", + "external/sources/boost/metaparse/transform_error.hpp", + "external/sources/boost/metaparse/transform_error_message.hpp", + "external/sources/boost/metaparse/unless_error.hpp", + "external/sources/boost/metaparse/util/digit_to_int.hpp", + "external/sources/boost/metaparse/util/digit_to_int_c.hpp", + "external/sources/boost/metaparse/util/in_range.hpp", + "external/sources/boost/metaparse/util/in_range_c.hpp", + "external/sources/boost/metaparse/util/int_to_digit.hpp", + "external/sources/boost/metaparse/util/int_to_digit_c.hpp", + "external/sources/boost/metaparse/util/is_digit.hpp", + "external/sources/boost/metaparse/util/is_lcase_letter.hpp", + "external/sources/boost/metaparse/util/is_letter.hpp", + "external/sources/boost/metaparse/util/is_ucase_letter.hpp", + "external/sources/boost/metaparse/util/is_whitespace.hpp", + "external/sources/boost/metaparse/util/is_whitespace_c.hpp", + "external/sources/boost/metaparse/v1/accept.hpp", + "external/sources/boost/metaparse/v1/accept_tag.hpp", + "external/sources/boost/metaparse/v1/accept_when.hpp", + "external/sources/boost/metaparse/v1/alphanum.hpp", + "external/sources/boost/metaparse/v1/always.hpp", + "external/sources/boost/metaparse/v1/always_c.hpp", + "external/sources/boost/metaparse/v1/change_error_message.hpp", + "external/sources/boost/metaparse/v1/cpp11/first_of.hpp", + "external/sources/boost/metaparse/v1/cpp11/fwd/string.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/any_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/at_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/concat.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/empty_string.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/eval_later_result.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/is_none_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/is_none_c_impl.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/nth_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/nth_of_c_skip_remaining.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/or_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/pop_back.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/pop_front.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/push_back_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/push_front_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/push_front_result.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/size.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/string.hpp", + "external/sources/boost/metaparse/v1/cpp11/impl/string_at.hpp", + "external/sources/boost/metaparse/v1/cpp11/last_of.hpp", + "external/sources/boost/metaparse/v1/cpp11/nth_of.hpp", + "external/sources/boost/metaparse/v1/cpp11/nth_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/one_char_except.hpp", + "external/sources/boost/metaparse/v1/cpp11/one_char_except_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/one_of.hpp", + "external/sources/boost/metaparse/v1/cpp11/one_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp11/repeated_one_of.hpp", + "external/sources/boost/metaparse/v1/cpp11/repeated_one_of1.hpp", + "external/sources/boost/metaparse/v1/cpp11/sequence.hpp", + "external/sources/boost/metaparse/v1/cpp11/string.hpp", + "external/sources/boost/metaparse/v1/cpp14/impl/any_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp14/one_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/first_of.hpp", + "external/sources/boost/metaparse/v1/cpp98/fwd/string.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/at_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/empty_string.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/is_none.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/later_result.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/nth_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/nth_of_c_impl.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/one_char_except_not_used.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/one_of.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/one_of_fwd_op.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/pop_back.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/pop_front.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/push_back_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/push_front_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/sequence.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/sequence_impl.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/size.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/skip_seq.hpp", + "external/sources/boost/metaparse/v1/cpp98/impl/update_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/last_of.hpp", + "external/sources/boost/metaparse/v1/cpp98/nth_of.hpp", + "external/sources/boost/metaparse/v1/cpp98/nth_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/one_char_except.hpp", + "external/sources/boost/metaparse/v1/cpp98/one_char_except_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/one_of.hpp", + "external/sources/boost/metaparse/v1/cpp98/one_of_c.hpp", + "external/sources/boost/metaparse/v1/cpp98/repeated_one_of.hpp", + "external/sources/boost/metaparse/v1/cpp98/repeated_one_of1.hpp", + "external/sources/boost/metaparse/v1/cpp98/sequence.hpp", + "external/sources/boost/metaparse/v1/cpp98/string.hpp", + "external/sources/boost/metaparse/v1/debug_parsing_error.hpp", + "external/sources/boost/metaparse/v1/define_error.hpp", + "external/sources/boost/metaparse/v1/digit.hpp", + "external/sources/boost/metaparse/v1/digit_val.hpp", + "external/sources/boost/metaparse/v1/empty.hpp", + "external/sources/boost/metaparse/v1/entire_input.hpp", + "external/sources/boost/metaparse/v1/error/digit_expected.hpp", + "external/sources/boost/metaparse/v1/error/end_of_input_expected.hpp", + "external/sources/boost/metaparse/v1/error/expected_to_fail.hpp", + "external/sources/boost/metaparse/v1/error/index_out_of_range.hpp", + "external/sources/boost/metaparse/v1/error/letter_expected.hpp", + "external/sources/boost/metaparse/v1/error/literal_expected.hpp", + "external/sources/boost/metaparse/v1/error/none_of_the_expected_cases_found.hpp", + "external/sources/boost/metaparse/v1/error/unexpected_character.hpp", + "external/sources/boost/metaparse/v1/error/unexpected_end_of_input.hpp", + "external/sources/boost/metaparse/v1/error/unpaired.hpp", + "external/sources/boost/metaparse/v1/error/whitespace_expected.hpp", + "external/sources/boost/metaparse/v1/except.hpp", + "external/sources/boost/metaparse/v1/fail.hpp", + "external/sources/boost/metaparse/v1/fail_at_first_char_expected.hpp", + "external/sources/boost/metaparse/v1/fail_tag.hpp", + "external/sources/boost/metaparse/v1/first_of.hpp", + "external/sources/boost/metaparse/v1/foldl.hpp", + "external/sources/boost/metaparse/v1/foldl1.hpp", + "external/sources/boost/metaparse/v1/foldl_reject_incomplete.hpp", + "external/sources/boost/metaparse/v1/foldl_reject_incomplete1.hpp", + "external/sources/boost/metaparse/v1/foldl_reject_incomplete_start_with_parser.hpp", + "external/sources/boost/metaparse/v1/foldl_start_with_parser.hpp", + "external/sources/boost/metaparse/v1/foldr.hpp", + "external/sources/boost/metaparse/v1/foldr1.hpp", + "external/sources/boost/metaparse/v1/foldr_reject_incomplete.hpp", + "external/sources/boost/metaparse/v1/foldr_reject_incomplete1.hpp", + "external/sources/boost/metaparse/v1/foldr_start_with_parser.hpp", + "external/sources/boost/metaparse/v1/fwd/accept.hpp", + "external/sources/boost/metaparse/v1/fwd/get_col.hpp", + "external/sources/boost/metaparse/v1/fwd/get_line.hpp", + "external/sources/boost/metaparse/v1/fwd/get_message.hpp", + "external/sources/boost/metaparse/v1/fwd/get_position.hpp", + "external/sources/boost/metaparse/v1/fwd/get_prev_char.hpp", + "external/sources/boost/metaparse/v1/fwd/get_remaining.hpp", + "external/sources/boost/metaparse/v1/fwd/get_result.hpp", + "external/sources/boost/metaparse/v1/fwd/next_char.hpp", + "external/sources/boost/metaparse/v1/fwd/next_line.hpp", + "external/sources/boost/metaparse/v1/fwd/reject.hpp", + "external/sources/boost/metaparse/v1/fwd/source_position.hpp", + "external/sources/boost/metaparse/v1/fwd/string.hpp", + "external/sources/boost/metaparse/v1/get_col.hpp", + "external/sources/boost/metaparse/v1/get_line.hpp", + "external/sources/boost/metaparse/v1/get_message.hpp", + "external/sources/boost/metaparse/v1/get_position.hpp", + "external/sources/boost/metaparse/v1/get_prev_char.hpp", + "external/sources/boost/metaparse/v1/get_remaining.hpp", + "external/sources/boost/metaparse/v1/get_result.hpp", + "external/sources/boost/metaparse/v1/grammar.hpp", + "external/sources/boost/metaparse/v1/if_.hpp", + "external/sources/boost/metaparse/v1/impl/apply_parser.hpp", + "external/sources/boost/metaparse/v1/impl/assert_string_length.hpp", + "external/sources/boost/metaparse/v1/impl/at_c.hpp", + "external/sources/boost/metaparse/v1/impl/back_inserter.hpp", + "external/sources/boost/metaparse/v1/impl/front_inserter.hpp", + "external/sources/boost/metaparse/v1/impl/fwd/iterate_impl.hpp", + "external/sources/boost/metaparse/v1/impl/has_type.hpp", + "external/sources/boost/metaparse/v1/impl/is_char_c.hpp", + "external/sources/boost/metaparse/v1/impl/iterate_impl.hpp", + "external/sources/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp", + "external/sources/boost/metaparse/v1/impl/next_digit.hpp", + "external/sources/boost/metaparse/v1/impl/no_char.hpp", + "external/sources/boost/metaparse/v1/impl/returns.hpp", + "external/sources/boost/metaparse/v1/impl/string_iterator.hpp", + "external/sources/boost/metaparse/v1/impl/string_iterator_tag.hpp", + "external/sources/boost/metaparse/v1/impl/void_.hpp", + "external/sources/boost/metaparse/v1/int_.hpp", + "external/sources/boost/metaparse/v1/is_error.hpp", + "external/sources/boost/metaparse/v1/iterate.hpp", + "external/sources/boost/metaparse/v1/iterate_c.hpp", + "external/sources/boost/metaparse/v1/keyword.hpp", + "external/sources/boost/metaparse/v1/last_of.hpp", + "external/sources/boost/metaparse/v1/letter.hpp", + "external/sources/boost/metaparse/v1/lit.hpp", + "external/sources/boost/metaparse/v1/lit_c.hpp", + "external/sources/boost/metaparse/v1/look_ahead.hpp", + "external/sources/boost/metaparse/v1/middle_of.hpp", + "external/sources/boost/metaparse/v1/next_char.hpp", + "external/sources/boost/metaparse/v1/next_line.hpp", + "external/sources/boost/metaparse/v1/nth_of.hpp", + "external/sources/boost/metaparse/v1/nth_of_c.hpp", + "external/sources/boost/metaparse/v1/one_char.hpp", + "external/sources/boost/metaparse/v1/one_char_except.hpp", + "external/sources/boost/metaparse/v1/one_char_except_c.hpp", + "external/sources/boost/metaparse/v1/one_of.hpp", + "external/sources/boost/metaparse/v1/one_of_c.hpp", + "external/sources/boost/metaparse/v1/optional.hpp", + "external/sources/boost/metaparse/v1/range.hpp", + "external/sources/boost/metaparse/v1/range_c.hpp", + "external/sources/boost/metaparse/v1/reject.hpp", + "external/sources/boost/metaparse/v1/repeated.hpp", + "external/sources/boost/metaparse/v1/repeated1.hpp", + "external/sources/boost/metaparse/v1/repeated_one_of.hpp", + "external/sources/boost/metaparse/v1/repeated_one_of1.hpp", + "external/sources/boost/metaparse/v1/repeated_reject_incomplete.hpp", + "external/sources/boost/metaparse/v1/repeated_reject_incomplete1.hpp", + "external/sources/boost/metaparse/v1/return_.hpp", + "external/sources/boost/metaparse/v1/sequence.hpp", + "external/sources/boost/metaparse/v1/sequence_apply.hpp", + "external/sources/boost/metaparse/v1/source_position.hpp", + "external/sources/boost/metaparse/v1/source_position_tag.hpp", + "external/sources/boost/metaparse/v1/space.hpp", + "external/sources/boost/metaparse/v1/spaces.hpp", + "external/sources/boost/metaparse/v1/start.hpp", + "external/sources/boost/metaparse/v1/string.hpp", + "external/sources/boost/metaparse/v1/string_tag.hpp", + "external/sources/boost/metaparse/v1/swap.hpp", + "external/sources/boost/metaparse/v1/token.hpp", + "external/sources/boost/metaparse/v1/transform.hpp", + "external/sources/boost/metaparse/v1/transform_error.hpp", + "external/sources/boost/metaparse/v1/transform_error_message.hpp", + "external/sources/boost/metaparse/v1/unless_error.hpp", + "external/sources/boost/metaparse/v1/util/digit_to_int.hpp", + "external/sources/boost/metaparse/v1/util/digit_to_int_c.hpp", + "external/sources/boost/metaparse/v1/util/in_range.hpp", + "external/sources/boost/metaparse/v1/util/in_range_c.hpp", + "external/sources/boost/metaparse/v1/util/int_to_digit.hpp", + "external/sources/boost/metaparse/v1/util/int_to_digit_c.hpp", + "external/sources/boost/metaparse/v1/util/is_digit.hpp", + "external/sources/boost/metaparse/v1/util/is_lcase_letter.hpp", + "external/sources/boost/metaparse/v1/util/is_letter.hpp", + "external/sources/boost/metaparse/v1/util/is_ucase_letter.hpp", + "external/sources/boost/metaparse/v1/util/is_whitespace.hpp", + "external/sources/boost/metaparse/v1/util/is_whitespace_c.hpp", + "external/sources/boost/metaparse/version.hpp", + "external/sources/boost/move/adl_move_swap.hpp", + "external/sources/boost/move/algo/adaptive_merge.hpp", + "external/sources/boost/move/algo/adaptive_sort.hpp", + "external/sources/boost/move/algo/detail/adaptive_sort_merge.hpp", + "external/sources/boost/move/algo/detail/basic_op.hpp", + "external/sources/boost/move/algo/detail/heap_sort.hpp", + "external/sources/boost/move/algo/detail/insertion_sort.hpp", + "external/sources/boost/move/algo/detail/is_sorted.hpp", + "external/sources/boost/move/algo/detail/merge.hpp", + "external/sources/boost/move/algo/detail/merge_sort.hpp", + "external/sources/boost/move/algo/detail/pdqsort.hpp", + "external/sources/boost/move/algo/detail/set_difference.hpp", + "external/sources/boost/move/algo/move.hpp", + "external/sources/boost/move/algo/predicate.hpp", + "external/sources/boost/move/algo/unique.hpp", + "external/sources/boost/move/algorithm.hpp", + "external/sources/boost/move/core.hpp", + "external/sources/boost/move/default_delete.hpp", + "external/sources/boost/move/detail/config_begin.hpp", + "external/sources/boost/move/detail/config_end.hpp", + "external/sources/boost/move/detail/destruct_n.hpp", + "external/sources/boost/move/detail/fwd_macros.hpp", + "external/sources/boost/move/detail/iterator_to_raw_pointer.hpp", + "external/sources/boost/move/detail/iterator_traits.hpp", + "external/sources/boost/move/detail/meta_utils.hpp", + "external/sources/boost/move/detail/meta_utils_core.hpp", + "external/sources/boost/move/detail/move_helpers.hpp", + "external/sources/boost/move/detail/placement_new.hpp", + "external/sources/boost/move/detail/pointer_element.hpp", + "external/sources/boost/move/detail/reverse_iterator.hpp", + "external/sources/boost/move/detail/std_ns_begin.hpp", + "external/sources/boost/move/detail/std_ns_end.hpp", + "external/sources/boost/move/detail/to_raw_pointer.hpp", + "external/sources/boost/move/detail/type_traits.hpp", + "external/sources/boost/move/detail/unique_ptr_meta_utils.hpp", + "external/sources/boost/move/detail/workaround.hpp", + "external/sources/boost/move/iterator.hpp", + "external/sources/boost/move/make_unique.hpp", + "external/sources/boost/move/move.hpp", + "external/sources/boost/move/traits.hpp", + "external/sources/boost/move/unique_ptr.hpp", + "external/sources/boost/move/utility.hpp", + "external/sources/boost/move/utility_core.hpp", + "external/sources/boost/mp11.hpp", + "external/sources/boost/mp11/algorithm.hpp", + "external/sources/boost/mp11/bind.hpp", + "external/sources/boost/mp11/detail/config.hpp", + "external/sources/boost/mp11/detail/mp_append.hpp", + "external/sources/boost/mp11/detail/mp_copy_if.hpp", + "external/sources/boost/mp11/detail/mp_count.hpp", + "external/sources/boost/mp11/detail/mp_fold.hpp", + "external/sources/boost/mp11/detail/mp_is_list.hpp", + "external/sources/boost/mp11/detail/mp_list.hpp", + "external/sources/boost/mp11/detail/mp_map_find.hpp", + "external/sources/boost/mp11/detail/mp_min_element.hpp", + "external/sources/boost/mp11/detail/mp_plus.hpp", + "external/sources/boost/mp11/detail/mp_remove_if.hpp", + "external/sources/boost/mp11/detail/mp_void.hpp", + "external/sources/boost/mp11/detail/mp_with_index.hpp", + "external/sources/boost/mp11/detail/mpl_common.hpp", + "external/sources/boost/mp11/function.hpp", + "external/sources/boost/mp11/integer_sequence.hpp", + "external/sources/boost/mp11/integral.hpp", + "external/sources/boost/mp11/list.hpp", + "external/sources/boost/mp11/map.hpp", + "external/sources/boost/mp11/mpl.hpp", + "external/sources/boost/mp11/mpl_list.hpp", + "external/sources/boost/mp11/mpl_tuple.hpp", + "external/sources/boost/mp11/set.hpp", + "external/sources/boost/mp11/tuple.hpp", + "external/sources/boost/mp11/utility.hpp", + "external/sources/boost/mp11/version.hpp", + "external/sources/boost/mpi.hpp", + "external/sources/boost/mpi/allocator.hpp", + "external/sources/boost/mpi/cartesian_communicator.hpp", + "external/sources/boost/mpi/collectives.hpp", + "external/sources/boost/mpi/collectives/all_gather.hpp", + "external/sources/boost/mpi/collectives/all_gatherv.hpp", + "external/sources/boost/mpi/collectives/all_reduce.hpp", + "external/sources/boost/mpi/collectives/all_to_all.hpp", + "external/sources/boost/mpi/collectives/broadcast.hpp", + "external/sources/boost/mpi/collectives/gather.hpp", + "external/sources/boost/mpi/collectives/gatherv.hpp", + "external/sources/boost/mpi/collectives/reduce.hpp", + "external/sources/boost/mpi/collectives/scan.hpp", + "external/sources/boost/mpi/collectives/scatter.hpp", + "external/sources/boost/mpi/collectives/scatterv.hpp", + "external/sources/boost/mpi/collectives_fwd.hpp", + "external/sources/boost/mpi/communicator.hpp", + "external/sources/boost/mpi/config.hpp", + "external/sources/boost/mpi/datatype.hpp", + "external/sources/boost/mpi/datatype_fwd.hpp", + "external/sources/boost/mpi/detail/antiques.hpp", + "external/sources/boost/mpi/detail/binary_buffer_iprimitive.hpp", + "external/sources/boost/mpi/detail/binary_buffer_oprimitive.hpp", + "external/sources/boost/mpi/detail/broadcast_sc.hpp", + "external/sources/boost/mpi/detail/communicator_sc.hpp", + "external/sources/boost/mpi/detail/computation_tree.hpp", + "external/sources/boost/mpi/detail/content_oarchive.hpp", + "external/sources/boost/mpi/detail/forward_iprimitive.hpp", + "external/sources/boost/mpi/detail/forward_oprimitive.hpp", + "external/sources/boost/mpi/detail/forward_skeleton_iarchive.hpp", + "external/sources/boost/mpi/detail/forward_skeleton_oarchive.hpp", + "external/sources/boost/mpi/detail/ignore_iprimitive.hpp", + "external/sources/boost/mpi/detail/ignore_oprimitive.hpp", + "external/sources/boost/mpi/detail/ignore_skeleton_oarchive.hpp", + "external/sources/boost/mpi/detail/mpi_datatype_cache.hpp", + "external/sources/boost/mpi/detail/mpi_datatype_oarchive.hpp", + "external/sources/boost/mpi/detail/mpi_datatype_primitive.hpp", + "external/sources/boost/mpi/detail/offsets.hpp", + "external/sources/boost/mpi/detail/packed_iprimitive.hpp", + "external/sources/boost/mpi/detail/packed_oprimitive.hpp", + "external/sources/boost/mpi/detail/point_to_point.hpp", + "external/sources/boost/mpi/detail/request_handlers.hpp", + "external/sources/boost/mpi/detail/text_skeleton_oarchive.hpp", + "external/sources/boost/mpi/environment.hpp", + "external/sources/boost/mpi/error_string.hpp", + "external/sources/boost/mpi/exception.hpp", + "external/sources/boost/mpi/graph_communicator.hpp", + "external/sources/boost/mpi/group.hpp", + "external/sources/boost/mpi/inplace.hpp", + "external/sources/boost/mpi/intercommunicator.hpp", + "external/sources/boost/mpi/nonblocking.hpp", + "external/sources/boost/mpi/operations.hpp", + "external/sources/boost/mpi/packed_iarchive.hpp", + "external/sources/boost/mpi/packed_oarchive.hpp", + "external/sources/boost/mpi/python.hpp", + "external/sources/boost/mpi/python/config.hpp", + "external/sources/boost/mpi/python/serialize.hpp", + "external/sources/boost/mpi/python/skeleton_and_content.hpp", + "external/sources/boost/mpi/request.hpp", + "external/sources/boost/mpi/skeleton_and_content.hpp", + "external/sources/boost/mpi/skeleton_and_content_fwd.hpp", + "external/sources/boost/mpi/skeleton_and_content_types.hpp", + "external/sources/boost/mpi/status.hpp", + "external/sources/boost/mpi/timer.hpp", + "external/sources/boost/mpl/O1_size.hpp", + "external/sources/boost/mpl/O1_size_fwd.hpp", + "external/sources/boost/mpl/accumulate.hpp", + "external/sources/boost/mpl/advance.hpp", + "external/sources/boost/mpl/advance_fwd.hpp", + "external/sources/boost/mpl/alias.hpp", + "external/sources/boost/mpl/always.hpp", + "external/sources/boost/mpl/and.hpp", + "external/sources/boost/mpl/apply.hpp", + "external/sources/boost/mpl/apply_fwd.hpp", + "external/sources/boost/mpl/apply_wrap.hpp", + "external/sources/boost/mpl/arg.hpp", + "external/sources/boost/mpl/arg_fwd.hpp", + "external/sources/boost/mpl/arithmetic.hpp", + "external/sources/boost/mpl/as_sequence.hpp", + "external/sources/boost/mpl/assert.hpp", + "external/sources/boost/mpl/at.hpp", + "external/sources/boost/mpl/at_fwd.hpp", + "external/sources/boost/mpl/aux_/O1_size_impl.hpp", + "external/sources/boost/mpl/aux_/adl_barrier.hpp", + "external/sources/boost/mpl/aux_/advance_backward.hpp", + "external/sources/boost/mpl/aux_/advance_forward.hpp", + "external/sources/boost/mpl/aux_/apply_1st.hpp", + "external/sources/boost/mpl/aux_/arg_typedef.hpp", + "external/sources/boost/mpl/aux_/arithmetic_op.hpp", + "external/sources/boost/mpl/aux_/arity.hpp", + "external/sources/boost/mpl/aux_/arity_spec.hpp", + "external/sources/boost/mpl/aux_/at_impl.hpp", + "external/sources/boost/mpl/aux_/back_impl.hpp", + "external/sources/boost/mpl/aux_/basic_bind.hpp", + "external/sources/boost/mpl/aux_/begin_end_impl.hpp", + "external/sources/boost/mpl/aux_/clear_impl.hpp", + "external/sources/boost/mpl/aux_/common_name_wknd.hpp", + "external/sources/boost/mpl/aux_/comparison_op.hpp", + "external/sources/boost/mpl/aux_/config/adl.hpp", + "external/sources/boost/mpl/aux_/config/arrays.hpp", + "external/sources/boost/mpl/aux_/config/bcc.hpp", + "external/sources/boost/mpl/aux_/config/bind.hpp", + "external/sources/boost/mpl/aux_/config/compiler.hpp", + "external/sources/boost/mpl/aux_/config/ctps.hpp", + "external/sources/boost/mpl/aux_/config/dependent_nttp.hpp", + "external/sources/boost/mpl/aux_/config/dmc_ambiguous_ctps.hpp", + "external/sources/boost/mpl/aux_/config/dtp.hpp", + "external/sources/boost/mpl/aux_/config/eti.hpp", + "external/sources/boost/mpl/aux_/config/forwarding.hpp", + "external/sources/boost/mpl/aux_/config/gcc.hpp", + "external/sources/boost/mpl/aux_/config/gpu.hpp", + "external/sources/boost/mpl/aux_/config/has_apply.hpp", + "external/sources/boost/mpl/aux_/config/has_xxx.hpp", + "external/sources/boost/mpl/aux_/config/integral.hpp", + "external/sources/boost/mpl/aux_/config/intel.hpp", + "external/sources/boost/mpl/aux_/config/lambda.hpp", + "external/sources/boost/mpl/aux_/config/msvc.hpp", + "external/sources/boost/mpl/aux_/config/msvc_typename.hpp", + "external/sources/boost/mpl/aux_/config/nttp.hpp", + "external/sources/boost/mpl/aux_/config/operators.hpp", + "external/sources/boost/mpl/aux_/config/overload_resolution.hpp", + "external/sources/boost/mpl/aux_/config/pp_counter.hpp", + "external/sources/boost/mpl/aux_/config/preprocessor.hpp", + "external/sources/boost/mpl/aux_/config/static_constant.hpp", + "external/sources/boost/mpl/aux_/config/ttp.hpp", + "external/sources/boost/mpl/aux_/config/typeof.hpp", + "external/sources/boost/mpl/aux_/config/use_preprocessed.hpp", + "external/sources/boost/mpl/aux_/config/workaround.hpp", + "external/sources/boost/mpl/aux_/contains_impl.hpp", + "external/sources/boost/mpl/aux_/count_args.hpp", + "external/sources/boost/mpl/aux_/count_impl.hpp", + "external/sources/boost/mpl/aux_/empty_impl.hpp", + "external/sources/boost/mpl/aux_/erase_impl.hpp", + "external/sources/boost/mpl/aux_/erase_key_impl.hpp", + "external/sources/boost/mpl/aux_/filter_iter.hpp", + "external/sources/boost/mpl/aux_/find_if_pred.hpp", + "external/sources/boost/mpl/aux_/fold_impl.hpp", + "external/sources/boost/mpl/aux_/fold_impl_body.hpp", + "external/sources/boost/mpl/aux_/fold_op.hpp", + "external/sources/boost/mpl/aux_/fold_pred.hpp", + "external/sources/boost/mpl/aux_/front_impl.hpp", + "external/sources/boost/mpl/aux_/full_lambda.hpp", + "external/sources/boost/mpl/aux_/has_apply.hpp", + "external/sources/boost/mpl/aux_/has_begin.hpp", + "external/sources/boost/mpl/aux_/has_key_impl.hpp", + "external/sources/boost/mpl/aux_/has_rebind.hpp", + "external/sources/boost/mpl/aux_/has_size.hpp", + "external/sources/boost/mpl/aux_/has_tag.hpp", + "external/sources/boost/mpl/aux_/has_type.hpp", + "external/sources/boost/mpl/aux_/include_preprocessed.hpp", + "external/sources/boost/mpl/aux_/insert_impl.hpp", + "external/sources/boost/mpl/aux_/insert_range_impl.hpp", + "external/sources/boost/mpl/aux_/inserter_algorithm.hpp", + "external/sources/boost/mpl/aux_/integral_wrapper.hpp", + "external/sources/boost/mpl/aux_/is_msvc_eti_arg.hpp", + "external/sources/boost/mpl/aux_/iter_apply.hpp", + "external/sources/boost/mpl/aux_/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/iter_push_front.hpp", + "external/sources/boost/mpl/aux_/joint_iter.hpp", + "external/sources/boost/mpl/aux_/lambda_arity_param.hpp", + "external/sources/boost/mpl/aux_/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/lambda_spec.hpp", + "external/sources/boost/mpl/aux_/lambda_support.hpp", + "external/sources/boost/mpl/aux_/largest_int.hpp", + "external/sources/boost/mpl/aux_/logical_op.hpp", + "external/sources/boost/mpl/aux_/msvc_dtw.hpp", + "external/sources/boost/mpl/aux_/msvc_eti_base.hpp", + "external/sources/boost/mpl/aux_/msvc_is_class.hpp", + "external/sources/boost/mpl/aux_/msvc_never_true.hpp", + "external/sources/boost/mpl/aux_/msvc_type.hpp", + "external/sources/boost/mpl/aux_/na.hpp", + "external/sources/boost/mpl/aux_/na_assert.hpp", + "external/sources/boost/mpl/aux_/na_fwd.hpp", + "external/sources/boost/mpl/aux_/na_spec.hpp", + "external/sources/boost/mpl/aux_/nested_type_wknd.hpp", + "external/sources/boost/mpl/aux_/nttp_decl.hpp", + "external/sources/boost/mpl/aux_/numeric_cast_utils.hpp", + "external/sources/boost/mpl/aux_/numeric_op.hpp", + "external/sources/boost/mpl/aux_/order_impl.hpp", + "external/sources/boost/mpl/aux_/overload_names.hpp", + "external/sources/boost/mpl/aux_/partition_op.hpp", + "external/sources/boost/mpl/aux_/pop_back_impl.hpp", + "external/sources/boost/mpl/aux_/pop_front_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc551/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/bcc_pre590/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/dmc/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/gcc/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc60/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/msvc70/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/mwcw/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ctps/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/no_ttp/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/advance_backward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/advance_forward.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/and.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/apply.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/apply_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/apply_wrap.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/arg.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/basic_bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/bind.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/bind_fwd.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/bitand.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/bitor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/bitxor.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/deque.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/divides.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/full_lambda.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/greater.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/greater_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/inherit.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/iter_fold_if_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/lambda_no_ctps.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/less.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/less_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/list.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/list_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/map.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/minus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/modulus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/not_equal_to.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/or.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/placeholders.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/plus.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/quote.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/set.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/set_c.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/shift_left.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/shift_right.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/template_arity.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/times.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/unpack_args.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/vector.hpp", + "external/sources/boost/mpl/aux_/preprocessed/plain/vector_c.hpp", + "external/sources/boost/mpl/aux_/preprocessor/add.hpp", + "external/sources/boost/mpl/aux_/preprocessor/def_params_tail.hpp", + "external/sources/boost/mpl/aux_/preprocessor/default_params.hpp", + "external/sources/boost/mpl/aux_/preprocessor/enum.hpp", + "external/sources/boost/mpl/aux_/preprocessor/ext_params.hpp", + "external/sources/boost/mpl/aux_/preprocessor/filter_params.hpp", + "external/sources/boost/mpl/aux_/preprocessor/is_seq.hpp", + "external/sources/boost/mpl/aux_/preprocessor/params.hpp", + "external/sources/boost/mpl/aux_/preprocessor/partial_spec_params.hpp", + "external/sources/boost/mpl/aux_/preprocessor/range.hpp", + "external/sources/boost/mpl/aux_/preprocessor/repeat.hpp", + "external/sources/boost/mpl/aux_/preprocessor/sub.hpp", + "external/sources/boost/mpl/aux_/preprocessor/token_equal.hpp", + "external/sources/boost/mpl/aux_/preprocessor/tuple.hpp", + "external/sources/boost/mpl/aux_/ptr_to_ref.hpp", + "external/sources/boost/mpl/aux_/push_back_impl.hpp", + "external/sources/boost/mpl/aux_/push_front_impl.hpp", + "external/sources/boost/mpl/aux_/range_c/O1_size.hpp", + "external/sources/boost/mpl/aux_/range_c/back.hpp", + "external/sources/boost/mpl/aux_/range_c/empty.hpp", + "external/sources/boost/mpl/aux_/range_c/front.hpp", + "external/sources/boost/mpl/aux_/range_c/iterator.hpp", + "external/sources/boost/mpl/aux_/range_c/size.hpp", + "external/sources/boost/mpl/aux_/range_c/tag.hpp", + "external/sources/boost/mpl/aux_/reverse_fold_impl.hpp", + "external/sources/boost/mpl/aux_/reverse_fold_impl_body.hpp", + "external/sources/boost/mpl/aux_/reverse_iter_fold_impl.hpp", + "external/sources/boost/mpl/aux_/sequence_wrapper.hpp", + "external/sources/boost/mpl/aux_/shift_op.hpp", + "external/sources/boost/mpl/aux_/single_element_iter.hpp", + "external/sources/boost/mpl/aux_/size_impl.hpp", + "external/sources/boost/mpl/aux_/sort_impl.hpp", + "external/sources/boost/mpl/aux_/static_cast.hpp", + "external/sources/boost/mpl/aux_/template_arity.hpp", + "external/sources/boost/mpl/aux_/template_arity_fwd.hpp", + "external/sources/boost/mpl/aux_/test.hpp", + "external/sources/boost/mpl/aux_/test/assert.hpp", + "external/sources/boost/mpl/aux_/test/data.hpp", + "external/sources/boost/mpl/aux_/test/test_case.hpp", + "external/sources/boost/mpl/aux_/traits_lambda_spec.hpp", + "external/sources/boost/mpl/aux_/transform_iter.hpp", + "external/sources/boost/mpl/aux_/type_wrapper.hpp", + "external/sources/boost/mpl/aux_/unwrap.hpp", + "external/sources/boost/mpl/aux_/value_wknd.hpp", + "external/sources/boost/mpl/aux_/yes_no.hpp", + "external/sources/boost/mpl/back.hpp", + "external/sources/boost/mpl/back_fwd.hpp", + "external/sources/boost/mpl/back_inserter.hpp", + "external/sources/boost/mpl/base.hpp", + "external/sources/boost/mpl/begin.hpp", + "external/sources/boost/mpl/begin_end.hpp", + "external/sources/boost/mpl/begin_end_fwd.hpp", + "external/sources/boost/mpl/bind.hpp", + "external/sources/boost/mpl/bind_fwd.hpp", + "external/sources/boost/mpl/bitand.hpp", + "external/sources/boost/mpl/bitor.hpp", + "external/sources/boost/mpl/bitwise.hpp", + "external/sources/boost/mpl/bitxor.hpp", + "external/sources/boost/mpl/bool.hpp", + "external/sources/boost/mpl/bool_fwd.hpp", + "external/sources/boost/mpl/char.hpp", + "external/sources/boost/mpl/char_fwd.hpp", + "external/sources/boost/mpl/clear.hpp", + "external/sources/boost/mpl/clear_fwd.hpp", + "external/sources/boost/mpl/comparison.hpp", + "external/sources/boost/mpl/contains.hpp", + "external/sources/boost/mpl/contains_fwd.hpp", + "external/sources/boost/mpl/copy.hpp", + "external/sources/boost/mpl/copy_if.hpp", + "external/sources/boost/mpl/count.hpp", + "external/sources/boost/mpl/count_fwd.hpp", + "external/sources/boost/mpl/count_if.hpp", + "external/sources/boost/mpl/deque.hpp", + "external/sources/boost/mpl/deref.hpp", + "external/sources/boost/mpl/distance.hpp", + "external/sources/boost/mpl/distance_fwd.hpp", + "external/sources/boost/mpl/divides.hpp", + "external/sources/boost/mpl/empty.hpp", + "external/sources/boost/mpl/empty_base.hpp", + "external/sources/boost/mpl/empty_fwd.hpp", + "external/sources/boost/mpl/empty_sequence.hpp", + "external/sources/boost/mpl/end.hpp", + "external/sources/boost/mpl/equal.hpp", + "external/sources/boost/mpl/equal_to.hpp", + "external/sources/boost/mpl/erase.hpp", + "external/sources/boost/mpl/erase_fwd.hpp", + "external/sources/boost/mpl/erase_key.hpp", + "external/sources/boost/mpl/erase_key_fwd.hpp", + "external/sources/boost/mpl/eval_if.hpp", + "external/sources/boost/mpl/filter_view.hpp", + "external/sources/boost/mpl/find.hpp", + "external/sources/boost/mpl/find_if.hpp", + "external/sources/boost/mpl/fold.hpp", + "external/sources/boost/mpl/for_each.hpp", + "external/sources/boost/mpl/front.hpp", + "external/sources/boost/mpl/front_fwd.hpp", + "external/sources/boost/mpl/front_inserter.hpp", + "external/sources/boost/mpl/get_tag.hpp", + "external/sources/boost/mpl/greater.hpp", + "external/sources/boost/mpl/greater_equal.hpp", + "external/sources/boost/mpl/has_key.hpp", + "external/sources/boost/mpl/has_key_fwd.hpp", + "external/sources/boost/mpl/has_xxx.hpp", + "external/sources/boost/mpl/identity.hpp", + "external/sources/boost/mpl/if.hpp", + "external/sources/boost/mpl/index_if.hpp", + "external/sources/boost/mpl/index_of.hpp", + "external/sources/boost/mpl/inherit.hpp", + "external/sources/boost/mpl/inherit_linearly.hpp", + "external/sources/boost/mpl/insert.hpp", + "external/sources/boost/mpl/insert_fwd.hpp", + "external/sources/boost/mpl/insert_range.hpp", + "external/sources/boost/mpl/insert_range_fwd.hpp", + "external/sources/boost/mpl/inserter.hpp", + "external/sources/boost/mpl/int.hpp", + "external/sources/boost/mpl/int_fwd.hpp", + "external/sources/boost/mpl/integral_c.hpp", + "external/sources/boost/mpl/integral_c_fwd.hpp", + "external/sources/boost/mpl/integral_c_tag.hpp", + "external/sources/boost/mpl/is_placeholder.hpp", + "external/sources/boost/mpl/is_sequence.hpp", + "external/sources/boost/mpl/iter_fold.hpp", + "external/sources/boost/mpl/iter_fold_if.hpp", + "external/sources/boost/mpl/iterator_category.hpp", + "external/sources/boost/mpl/iterator_range.hpp", + "external/sources/boost/mpl/iterator_tags.hpp", + "external/sources/boost/mpl/joint_view.hpp", + "external/sources/boost/mpl/key_type.hpp", + "external/sources/boost/mpl/key_type_fwd.hpp", + "external/sources/boost/mpl/lambda.hpp", + "external/sources/boost/mpl/lambda_fwd.hpp", + "external/sources/boost/mpl/less.hpp", + "external/sources/boost/mpl/less_equal.hpp", + "external/sources/boost/mpl/limits/arity.hpp", + "external/sources/boost/mpl/limits/list.hpp", + "external/sources/boost/mpl/limits/map.hpp", + "external/sources/boost/mpl/limits/set.hpp", + "external/sources/boost/mpl/limits/string.hpp", + "external/sources/boost/mpl/limits/unrolling.hpp", + "external/sources/boost/mpl/limits/vector.hpp", + "external/sources/boost/mpl/list.hpp", + "external/sources/boost/mpl/list/aux_/O1_size.hpp", + "external/sources/boost/mpl/list/aux_/begin_end.hpp", + "external/sources/boost/mpl/list/aux_/clear.hpp", + "external/sources/boost/mpl/list/aux_/empty.hpp", + "external/sources/boost/mpl/list/aux_/front.hpp", + "external/sources/boost/mpl/list/aux_/include_preprocessed.hpp", + "external/sources/boost/mpl/list/aux_/item.hpp", + "external/sources/boost/mpl/list/aux_/iterator.hpp", + "external/sources/boost/mpl/list/aux_/numbered.hpp", + "external/sources/boost/mpl/list/aux_/numbered_c.hpp", + "external/sources/boost/mpl/list/aux_/pop_front.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list10.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list10_c.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list20.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list20_c.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list30.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list30_c.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list40.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list40_c.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list50.hpp", + "external/sources/boost/mpl/list/aux_/preprocessed/plain/list50_c.hpp", + "external/sources/boost/mpl/list/aux_/push_back.hpp", + "external/sources/boost/mpl/list/aux_/push_front.hpp", + "external/sources/boost/mpl/list/aux_/size.hpp", + "external/sources/boost/mpl/list/aux_/tag.hpp", + "external/sources/boost/mpl/list/list0.hpp", + "external/sources/boost/mpl/list/list0_c.hpp", + "external/sources/boost/mpl/list/list10.hpp", + "external/sources/boost/mpl/list/list10_c.hpp", + "external/sources/boost/mpl/list/list20.hpp", + "external/sources/boost/mpl/list/list20_c.hpp", + "external/sources/boost/mpl/list/list30.hpp", + "external/sources/boost/mpl/list/list30_c.hpp", + "external/sources/boost/mpl/list/list40.hpp", + "external/sources/boost/mpl/list/list40_c.hpp", + "external/sources/boost/mpl/list/list50.hpp", + "external/sources/boost/mpl/list/list50_c.hpp", + "external/sources/boost/mpl/list_c.hpp", + "external/sources/boost/mpl/logical.hpp", + "external/sources/boost/mpl/long.hpp", + "external/sources/boost/mpl/long_fwd.hpp", + "external/sources/boost/mpl/lower_bound.hpp", + "external/sources/boost/mpl/map.hpp", + "external/sources/boost/mpl/map/aux_/at_impl.hpp", + "external/sources/boost/mpl/map/aux_/begin_end_impl.hpp", + "external/sources/boost/mpl/map/aux_/clear_impl.hpp", + "external/sources/boost/mpl/map/aux_/contains_impl.hpp", + "external/sources/boost/mpl/map/aux_/empty_impl.hpp", + "external/sources/boost/mpl/map/aux_/erase_impl.hpp", + "external/sources/boost/mpl/map/aux_/erase_key_impl.hpp", + "external/sources/boost/mpl/map/aux_/has_key_impl.hpp", + "external/sources/boost/mpl/map/aux_/include_preprocessed.hpp", + "external/sources/boost/mpl/map/aux_/insert_impl.hpp", + "external/sources/boost/mpl/map/aux_/insert_range_impl.hpp", + "external/sources/boost/mpl/map/aux_/item.hpp", + "external/sources/boost/mpl/map/aux_/iterator.hpp", + "external/sources/boost/mpl/map/aux_/key_type_impl.hpp", + "external/sources/boost/mpl/map/aux_/map0.hpp", + "external/sources/boost/mpl/map/aux_/numbered.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/no_ctps/map10.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/no_ctps/map20.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/no_ctps/map30.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/no_ctps/map40.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/no_ctps/map50.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/plain/map10.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/plain/map20.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/plain/map30.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/plain/map40.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/plain/map50.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/typeof_based/map10.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/typeof_based/map20.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/typeof_based/map30.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/typeof_based/map40.hpp", + "external/sources/boost/mpl/map/aux_/preprocessed/typeof_based/map50.hpp", + "external/sources/boost/mpl/map/aux_/size_impl.hpp", + "external/sources/boost/mpl/map/aux_/tag.hpp", + "external/sources/boost/mpl/map/aux_/value_type_impl.hpp", + "external/sources/boost/mpl/map/map0.hpp", + "external/sources/boost/mpl/map/map10.hpp", + "external/sources/boost/mpl/map/map20.hpp", + "external/sources/boost/mpl/map/map30.hpp", + "external/sources/boost/mpl/map/map40.hpp", + "external/sources/boost/mpl/map/map50.hpp", + "external/sources/boost/mpl/math/fixed_c.hpp", + "external/sources/boost/mpl/math/is_even.hpp", + "external/sources/boost/mpl/math/rational_c.hpp", + "external/sources/boost/mpl/max.hpp", + "external/sources/boost/mpl/max_element.hpp", + "external/sources/boost/mpl/min.hpp", + "external/sources/boost/mpl/min_element.hpp", + "external/sources/boost/mpl/min_max.hpp", + "external/sources/boost/mpl/minus.hpp", + "external/sources/boost/mpl/modulus.hpp", + "external/sources/boost/mpl/multiplies.hpp", + "external/sources/boost/mpl/multiset/aux_/count_impl.hpp", + "external/sources/boost/mpl/multiset/aux_/insert_impl.hpp", + "external/sources/boost/mpl/multiset/aux_/item.hpp", + "external/sources/boost/mpl/multiset/aux_/multiset0.hpp", + "external/sources/boost/mpl/multiset/aux_/tag.hpp", + "external/sources/boost/mpl/multiset/multiset0.hpp", + "external/sources/boost/mpl/negate.hpp", + "external/sources/boost/mpl/next.hpp", + "external/sources/boost/mpl/next_prior.hpp", + "external/sources/boost/mpl/not.hpp", + "external/sources/boost/mpl/not_equal_to.hpp", + "external/sources/boost/mpl/numeric_cast.hpp", + "external/sources/boost/mpl/or.hpp", + "external/sources/boost/mpl/order.hpp", + "external/sources/boost/mpl/order_fwd.hpp", + "external/sources/boost/mpl/pair.hpp", + "external/sources/boost/mpl/pair_view.hpp", + "external/sources/boost/mpl/partition.hpp", + "external/sources/boost/mpl/placeholders.hpp", + "external/sources/boost/mpl/plus.hpp", + "external/sources/boost/mpl/pop_back.hpp", + "external/sources/boost/mpl/pop_back_fwd.hpp", + "external/sources/boost/mpl/pop_front.hpp", + "external/sources/boost/mpl/pop_front_fwd.hpp", + "external/sources/boost/mpl/print.hpp", + "external/sources/boost/mpl/prior.hpp", + "external/sources/boost/mpl/protect.hpp", + "external/sources/boost/mpl/push_back.hpp", + "external/sources/boost/mpl/push_back_fwd.hpp", + "external/sources/boost/mpl/push_front.hpp", + "external/sources/boost/mpl/push_front_fwd.hpp", + "external/sources/boost/mpl/quote.hpp", + "external/sources/boost/mpl/range_c.hpp", + "external/sources/boost/mpl/remove.hpp", + "external/sources/boost/mpl/remove_if.hpp", + "external/sources/boost/mpl/replace.hpp", + "external/sources/boost/mpl/replace_if.hpp", + "external/sources/boost/mpl/reverse.hpp", + "external/sources/boost/mpl/reverse_fold.hpp", + "external/sources/boost/mpl/reverse_iter_fold.hpp", + "external/sources/boost/mpl/same_as.hpp", + "external/sources/boost/mpl/sequence_tag.hpp", + "external/sources/boost/mpl/sequence_tag_fwd.hpp", + "external/sources/boost/mpl/set.hpp", + "external/sources/boost/mpl/set/aux_/at_impl.hpp", + "external/sources/boost/mpl/set/aux_/begin_end_impl.hpp", + "external/sources/boost/mpl/set/aux_/clear_impl.hpp", + "external/sources/boost/mpl/set/aux_/empty_impl.hpp", + "external/sources/boost/mpl/set/aux_/erase_impl.hpp", + "external/sources/boost/mpl/set/aux_/erase_key_impl.hpp", + "external/sources/boost/mpl/set/aux_/has_key_impl.hpp", + "external/sources/boost/mpl/set/aux_/include_preprocessed.hpp", + "external/sources/boost/mpl/set/aux_/insert_impl.hpp", + "external/sources/boost/mpl/set/aux_/insert_range_impl.hpp", + "external/sources/boost/mpl/set/aux_/item.hpp", + "external/sources/boost/mpl/set/aux_/iterator.hpp", + "external/sources/boost/mpl/set/aux_/key_type_impl.hpp", + "external/sources/boost/mpl/set/aux_/numbered.hpp", + "external/sources/boost/mpl/set/aux_/numbered_c.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set10.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set10_c.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set20.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set20_c.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set30.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set30_c.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set40.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set40_c.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set50.hpp", + "external/sources/boost/mpl/set/aux_/preprocessed/plain/set50_c.hpp", + "external/sources/boost/mpl/set/aux_/set0.hpp", + "external/sources/boost/mpl/set/aux_/size_impl.hpp", + "external/sources/boost/mpl/set/aux_/tag.hpp", + "external/sources/boost/mpl/set/aux_/value_type_impl.hpp", + "external/sources/boost/mpl/set/set0.hpp", + "external/sources/boost/mpl/set/set0_c.hpp", + "external/sources/boost/mpl/set/set10.hpp", + "external/sources/boost/mpl/set/set10_c.hpp", + "external/sources/boost/mpl/set/set20.hpp", + "external/sources/boost/mpl/set/set20_c.hpp", + "external/sources/boost/mpl/set/set30.hpp", + "external/sources/boost/mpl/set/set30_c.hpp", + "external/sources/boost/mpl/set/set40.hpp", + "external/sources/boost/mpl/set/set40_c.hpp", + "external/sources/boost/mpl/set/set50.hpp", + "external/sources/boost/mpl/set/set50_c.hpp", + "external/sources/boost/mpl/set_c.hpp", + "external/sources/boost/mpl/shift_left.hpp", + "external/sources/boost/mpl/shift_right.hpp", + "external/sources/boost/mpl/single_view.hpp", + "external/sources/boost/mpl/size.hpp", + "external/sources/boost/mpl/size_fwd.hpp", + "external/sources/boost/mpl/size_t.hpp", + "external/sources/boost/mpl/size_t_fwd.hpp", + "external/sources/boost/mpl/sizeof.hpp", + "external/sources/boost/mpl/sort.hpp", + "external/sources/boost/mpl/stable_partition.hpp", + "external/sources/boost/mpl/string.hpp", + "external/sources/boost/mpl/switch.hpp", + "external/sources/boost/mpl/tag.hpp", + "external/sources/boost/mpl/times.hpp", + "external/sources/boost/mpl/transform.hpp", + "external/sources/boost/mpl/transform_view.hpp", + "external/sources/boost/mpl/unique.hpp", + "external/sources/boost/mpl/unpack_args.hpp", + "external/sources/boost/mpl/upper_bound.hpp", + "external/sources/boost/mpl/value_type.hpp", + "external/sources/boost/mpl/value_type_fwd.hpp", + "external/sources/boost/mpl/vector.hpp", + "external/sources/boost/mpl/vector/aux_/O1_size.hpp", + "external/sources/boost/mpl/vector/aux_/at.hpp", + "external/sources/boost/mpl/vector/aux_/back.hpp", + "external/sources/boost/mpl/vector/aux_/begin_end.hpp", + "external/sources/boost/mpl/vector/aux_/clear.hpp", + "external/sources/boost/mpl/vector/aux_/empty.hpp", + "external/sources/boost/mpl/vector/aux_/front.hpp", + "external/sources/boost/mpl/vector/aux_/include_preprocessed.hpp", + "external/sources/boost/mpl/vector/aux_/item.hpp", + "external/sources/boost/mpl/vector/aux_/iterator.hpp", + "external/sources/boost/mpl/vector/aux_/numbered.hpp", + "external/sources/boost/mpl/vector/aux_/numbered_c.hpp", + "external/sources/boost/mpl/vector/aux_/pop_back.hpp", + "external/sources/boost/mpl/vector/aux_/pop_front.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector10_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector20_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector30_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector40_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/no_ctps/vector50_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector10.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector10_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector20.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector20_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector30.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector30_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector40.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector40_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector50.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/plain/vector50_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector10_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector20_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector30_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector40_c.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50.hpp", + "external/sources/boost/mpl/vector/aux_/preprocessed/typeof_based/vector50_c.hpp", + "external/sources/boost/mpl/vector/aux_/push_back.hpp", + "external/sources/boost/mpl/vector/aux_/push_front.hpp", + "external/sources/boost/mpl/vector/aux_/size.hpp", + "external/sources/boost/mpl/vector/aux_/tag.hpp", + "external/sources/boost/mpl/vector/aux_/vector0.hpp", + "external/sources/boost/mpl/vector/vector0.hpp", + "external/sources/boost/mpl/vector/vector0_c.hpp", + "external/sources/boost/mpl/vector/vector10.hpp", + "external/sources/boost/mpl/vector/vector10_c.hpp", + "external/sources/boost/mpl/vector/vector20.hpp", + "external/sources/boost/mpl/vector/vector20_c.hpp", + "external/sources/boost/mpl/vector/vector30.hpp", + "external/sources/boost/mpl/vector/vector30_c.hpp", + "external/sources/boost/mpl/vector/vector40.hpp", + "external/sources/boost/mpl/vector/vector40_c.hpp", + "external/sources/boost/mpl/vector/vector50.hpp", + "external/sources/boost/mpl/vector/vector50_c.hpp", + "external/sources/boost/mpl/vector_c.hpp", + "external/sources/boost/mpl/void.hpp", + "external/sources/boost/mpl/void_fwd.hpp", + "external/sources/boost/mpl/zip_view.hpp", + "external/sources/boost/msm/active_state_switching_policies.hpp", + "external/sources/boost/msm/back/args.hpp", + "external/sources/boost/msm/back/bind_helpers.hpp", + "external/sources/boost/msm/back/common_types.hpp", + "external/sources/boost/msm/back/copy_policies.hpp", + "external/sources/boost/msm/back/default_compile_policy.hpp", + "external/sources/boost/msm/back/dispatch_table.hpp", + "external/sources/boost/msm/back/favor_compile_time.hpp", + "external/sources/boost/msm/back/fold_to_list.hpp", + "external/sources/boost/msm/back/history_policies.hpp", + "external/sources/boost/msm/back/metafunctions.hpp", + "external/sources/boost/msm/back/mpl_graph_fsm_check.hpp", + "external/sources/boost/msm/back/no_fsm_check.hpp", + "external/sources/boost/msm/back/queue_container_circular.hpp", + "external/sources/boost/msm/back/queue_container_deque.hpp", + "external/sources/boost/msm/back/state_machine.hpp", + "external/sources/boost/msm/back/tools.hpp", + "external/sources/boost/msm/common.hpp", + "external/sources/boost/msm/event_traits.hpp", + "external/sources/boost/msm/front/common_states.hpp", + "external/sources/boost/msm/front/completion_event.hpp", + "external/sources/boost/msm/front/detail/common_states.hpp", + "external/sources/boost/msm/front/detail/row2_helper.hpp", + "external/sources/boost/msm/front/euml/algorithm.hpp", + "external/sources/boost/msm/front/euml/common.hpp", + "external/sources/boost/msm/front/euml/container.hpp", + "external/sources/boost/msm/front/euml/euml.hpp", + "external/sources/boost/msm/front/euml/euml_typeof.hpp", + "external/sources/boost/msm/front/euml/guard_grammar.hpp", + "external/sources/boost/msm/front/euml/iteration.hpp", + "external/sources/boost/msm/front/euml/operator.hpp", + "external/sources/boost/msm/front/euml/phoenix_placeholders.hpp", + "external/sources/boost/msm/front/euml/querying.hpp", + "external/sources/boost/msm/front/euml/state_grammar.hpp", + "external/sources/boost/msm/front/euml/stl.hpp", + "external/sources/boost/msm/front/euml/stt_grammar.hpp", + "external/sources/boost/msm/front/euml/transformation.hpp", + "external/sources/boost/msm/front/functor_row.hpp", + "external/sources/boost/msm/front/internal_row.hpp", + "external/sources/boost/msm/front/row2.hpp", + "external/sources/boost/msm/front/state_machine_def.hpp", + "external/sources/boost/msm/front/states.hpp", + "external/sources/boost/msm/mpl_graph/adjacency_list_graph.hpp", + "external/sources/boost/msm/mpl_graph/breadth_first_search.hpp", + "external/sources/boost/msm/mpl_graph/depth_first_search.hpp", + "external/sources/boost/msm/mpl_graph/detail/adjacency_list_graph.ipp", + "external/sources/boost/msm/mpl_graph/detail/graph_implementation_interface.ipp", + "external/sources/boost/msm/mpl_graph/detail/incidence_list_graph.ipp", + "external/sources/boost/msm/mpl_graph/incidence_list_graph.hpp", + "external/sources/boost/msm/mpl_graph/mpl_graph.hpp", + "external/sources/boost/msm/mpl_graph/mpl_utils.hpp", + "external/sources/boost/msm/mpl_graph/search_colors.hpp", + "external/sources/boost/msm/msm_grammar.hpp", + "external/sources/boost/msm/proto_config.hpp", + "external/sources/boost/msm/row_tags.hpp", + "external/sources/boost/multi_array.hpp", + "external/sources/boost/multi_array/algorithm.hpp", + "external/sources/boost/multi_array/base.hpp", + "external/sources/boost/multi_array/collection_concept.hpp", + "external/sources/boost/multi_array/concept_checks.hpp", + "external/sources/boost/multi_array/copy_array.hpp", + "external/sources/boost/multi_array/extent_gen.hpp", + "external/sources/boost/multi_array/extent_range.hpp", + "external/sources/boost/multi_array/index_gen.hpp", + "external/sources/boost/multi_array/index_range.hpp", + "external/sources/boost/multi_array/iterator.hpp", + "external/sources/boost/multi_array/multi_array_ref.hpp", + "external/sources/boost/multi_array/range_list.hpp", + "external/sources/boost/multi_array/storage_order.hpp", + "external/sources/boost/multi_array/subarray.hpp", + "external/sources/boost/multi_array/types.hpp", + "external/sources/boost/multi_array/view.hpp", + "external/sources/boost/multi_index/composite_key.hpp", + "external/sources/boost/multi_index/detail/access_specifier.hpp", + "external/sources/boost/multi_index/detail/adl_swap.hpp", + "external/sources/boost/multi_index/detail/allocator_traits.hpp", + "external/sources/boost/multi_index/detail/archive_constructed.hpp", + "external/sources/boost/multi_index/detail/auto_space.hpp", + "external/sources/boost/multi_index/detail/base_type.hpp", + "external/sources/boost/multi_index/detail/bidir_node_iterator.hpp", + "external/sources/boost/multi_index/detail/bucket_array.hpp", + "external/sources/boost/multi_index/detail/cons_stdtuple.hpp", + "external/sources/boost/multi_index/detail/converter.hpp", + "external/sources/boost/multi_index/detail/copy_map.hpp", + "external/sources/boost/multi_index/detail/define_if_constexpr_macro.hpp", + "external/sources/boost/multi_index/detail/do_not_copy_elements_tag.hpp", + "external/sources/boost/multi_index/detail/duplicates_iterator.hpp", + "external/sources/boost/multi_index/detail/has_tag.hpp", + "external/sources/boost/multi_index/detail/hash_index_args.hpp", + "external/sources/boost/multi_index/detail/hash_index_iterator.hpp", + "external/sources/boost/multi_index/detail/hash_index_node.hpp", + "external/sources/boost/multi_index/detail/header_holder.hpp", + "external/sources/boost/multi_index/detail/ignore_wstrict_aliasing.hpp", + "external/sources/boost/multi_index/detail/index_base.hpp", + "external/sources/boost/multi_index/detail/index_loader.hpp", + "external/sources/boost/multi_index/detail/index_matcher.hpp", + "external/sources/boost/multi_index/detail/index_node_base.hpp", + "external/sources/boost/multi_index/detail/index_saver.hpp", + "external/sources/boost/multi_index/detail/invariant_assert.hpp", + "external/sources/boost/multi_index/detail/is_function.hpp", + "external/sources/boost/multi_index/detail/is_index_list.hpp", + "external/sources/boost/multi_index/detail/is_transparent.hpp", + "external/sources/boost/multi_index/detail/iter_adaptor.hpp", + "external/sources/boost/multi_index/detail/modify_key_adaptor.hpp", + "external/sources/boost/multi_index/detail/no_duplicate_tags.hpp", + "external/sources/boost/multi_index/detail/node_handle.hpp", + "external/sources/boost/multi_index/detail/node_type.hpp", + "external/sources/boost/multi_index/detail/ord_index_args.hpp", + "external/sources/boost/multi_index/detail/ord_index_impl.hpp", + "external/sources/boost/multi_index/detail/ord_index_impl_fwd.hpp", + "external/sources/boost/multi_index/detail/ord_index_node.hpp", + "external/sources/boost/multi_index/detail/ord_index_ops.hpp", + "external/sources/boost/multi_index/detail/promotes_arg.hpp", + "external/sources/boost/multi_index/detail/raw_ptr.hpp", + "external/sources/boost/multi_index/detail/restore_wstrict_aliasing.hpp", + "external/sources/boost/multi_index/detail/rnd_index_loader.hpp", + "external/sources/boost/multi_index/detail/rnd_index_node.hpp", + "external/sources/boost/multi_index/detail/rnd_index_ops.hpp", + "external/sources/boost/multi_index/detail/rnd_index_ptr_array.hpp", + "external/sources/boost/multi_index/detail/rnd_node_iterator.hpp", + "external/sources/boost/multi_index/detail/rnk_index_ops.hpp", + "external/sources/boost/multi_index/detail/safe_mode.hpp", + "external/sources/boost/multi_index/detail/scope_guard.hpp", + "external/sources/boost/multi_index/detail/seq_index_node.hpp", + "external/sources/boost/multi_index/detail/seq_index_ops.hpp", + "external/sources/boost/multi_index/detail/serialization_version.hpp", + "external/sources/boost/multi_index/detail/uintptr_type.hpp", + "external/sources/boost/multi_index/detail/unbounded.hpp", + "external/sources/boost/multi_index/detail/undef_if_constexpr_macro.hpp", + "external/sources/boost/multi_index/detail/value_compare.hpp", + "external/sources/boost/multi_index/detail/vartempl_support.hpp", + "external/sources/boost/multi_index/global_fun.hpp", + "external/sources/boost/multi_index/hashed_index.hpp", + "external/sources/boost/multi_index/hashed_index_fwd.hpp", + "external/sources/boost/multi_index/identity.hpp", + "external/sources/boost/multi_index/identity_fwd.hpp", + "external/sources/boost/multi_index/indexed_by.hpp", + "external/sources/boost/multi_index/key.hpp", + "external/sources/boost/multi_index/key_extractors.hpp", + "external/sources/boost/multi_index/mem_fun.hpp", + "external/sources/boost/multi_index/member.hpp", + "external/sources/boost/multi_index/ordered_index.hpp", + "external/sources/boost/multi_index/ordered_index_fwd.hpp", + "external/sources/boost/multi_index/random_access_index.hpp", + "external/sources/boost/multi_index/random_access_index_fwd.hpp", + "external/sources/boost/multi_index/ranked_index.hpp", + "external/sources/boost/multi_index/ranked_index_fwd.hpp", + "external/sources/boost/multi_index/safe_mode_errors.hpp", + "external/sources/boost/multi_index/sequenced_index.hpp", + "external/sources/boost/multi_index/sequenced_index_fwd.hpp", + "external/sources/boost/multi_index/tag.hpp", + "external/sources/boost/multi_index_container.hpp", + "external/sources/boost/multi_index_container_fwd.hpp", + "external/sources/boost/multiprecision/complex128.hpp", + "external/sources/boost/multiprecision/complex_adaptor.hpp", + "external/sources/boost/multiprecision/concepts/mp_number_archetypes.hpp", + "external/sources/boost/multiprecision/cpp_bin_float.hpp", + "external/sources/boost/multiprecision/cpp_bin_float/io.hpp", + "external/sources/boost/multiprecision/cpp_bin_float/transcendental.hpp", + "external/sources/boost/multiprecision/cpp_complex.hpp", + "external/sources/boost/multiprecision/cpp_dec_float.hpp", + "external/sources/boost/multiprecision/cpp_int.hpp", + "external/sources/boost/multiprecision/cpp_int/add.hpp", + "external/sources/boost/multiprecision/cpp_int/bitwise.hpp", + "external/sources/boost/multiprecision/cpp_int/checked.hpp", + "external/sources/boost/multiprecision/cpp_int/comparison.hpp", + "external/sources/boost/multiprecision/cpp_int/cpp_int_config.hpp", + "external/sources/boost/multiprecision/cpp_int/divide.hpp", + "external/sources/boost/multiprecision/cpp_int/import_export.hpp", + "external/sources/boost/multiprecision/cpp_int/limits.hpp", + "external/sources/boost/multiprecision/cpp_int/literals.hpp", + "external/sources/boost/multiprecision/cpp_int/misc.hpp", + "external/sources/boost/multiprecision/cpp_int/multiply.hpp", + "external/sources/boost/multiprecision/cpp_int/serialize.hpp", + "external/sources/boost/multiprecision/cpp_int/value_pack.hpp", + "external/sources/boost/multiprecision/debug_adaptor.hpp", + "external/sources/boost/multiprecision/detail/atomic.hpp", + "external/sources/boost/multiprecision/detail/big_lanczos.hpp", + "external/sources/boost/multiprecision/detail/bitscan.hpp", + "external/sources/boost/multiprecision/detail/constexpr.hpp", + "external/sources/boost/multiprecision/detail/default_ops.hpp", + "external/sources/boost/multiprecision/detail/digits.hpp", + "external/sources/boost/multiprecision/detail/dynamic_array.hpp", + "external/sources/boost/multiprecision/detail/et_ops.hpp", + "external/sources/boost/multiprecision/detail/float_string_cvt.hpp", + "external/sources/boost/multiprecision/detail/functions/constants.hpp", + "external/sources/boost/multiprecision/detail/functions/pow.hpp", + "external/sources/boost/multiprecision/detail/functions/trig.hpp", + "external/sources/boost/multiprecision/detail/generic_interconvert.hpp", + "external/sources/boost/multiprecision/detail/integer_ops.hpp", + "external/sources/boost/multiprecision/detail/itos.hpp", + "external/sources/boost/multiprecision/detail/min_max.hpp", + "external/sources/boost/multiprecision/detail/no_et_ops.hpp", + "external/sources/boost/multiprecision/detail/number_base.hpp", + "external/sources/boost/multiprecision/detail/number_compare.hpp", + "external/sources/boost/multiprecision/detail/precision.hpp", + "external/sources/boost/multiprecision/detail/rebind.hpp", + "external/sources/boost/multiprecision/detail/ublas_interop.hpp", + "external/sources/boost/multiprecision/detail/utype_helper.hpp", + "external/sources/boost/multiprecision/eigen.hpp", + "external/sources/boost/multiprecision/float128.hpp", + "external/sources/boost/multiprecision/gmp.hpp", + "external/sources/boost/multiprecision/integer.hpp", + "external/sources/boost/multiprecision/logged_adaptor.hpp", + "external/sources/boost/multiprecision/miller_rabin.hpp", + "external/sources/boost/multiprecision/mpc.hpp", + "external/sources/boost/multiprecision/mpfi.hpp", + "external/sources/boost/multiprecision/mpfr.hpp", + "external/sources/boost/multiprecision/number.hpp", + "external/sources/boost/multiprecision/random.hpp", + "external/sources/boost/multiprecision/rational_adaptor.hpp", + "external/sources/boost/multiprecision/tommath.hpp", + "external/sources/boost/multiprecision/traits/explicit_conversion.hpp", + "external/sources/boost/multiprecision/traits/extract_exponent_type.hpp", + "external/sources/boost/multiprecision/traits/is_backend.hpp", + "external/sources/boost/multiprecision/traits/is_byte_container.hpp", + "external/sources/boost/multiprecision/traits/is_restricted_conversion.hpp", + "external/sources/boost/multiprecision/traits/is_variable_precision.hpp", + "external/sources/boost/next_prior.hpp", + "external/sources/boost/non_type.hpp", + "external/sources/boost/noncopyable.hpp", + "external/sources/boost/nondet_random.hpp", + "external/sources/boost/none.hpp", + "external/sources/boost/none_t.hpp", + "external/sources/boost/nowide/args.hpp", + "external/sources/boost/nowide/config.hpp", + "external/sources/boost/nowide/convert.hpp", + "external/sources/boost/nowide/cstdio.hpp", + "external/sources/boost/nowide/cstdlib.hpp", + "external/sources/boost/nowide/detail/convert.hpp", + "external/sources/boost/nowide/detail/utf.hpp", + "external/sources/boost/nowide/filebuf.hpp", + "external/sources/boost/nowide/filesystem.hpp", + "external/sources/boost/nowide/fstream.hpp", + "external/sources/boost/nowide/iostream.hpp", + "external/sources/boost/nowide/replacement.hpp", + "external/sources/boost/nowide/stackstring.hpp", + "external/sources/boost/nowide/stat.hpp", + "external/sources/boost/nowide/utf/convert.hpp", + "external/sources/boost/nowide/utf/utf.hpp", + "external/sources/boost/nowide/utf8_codecvt.hpp", + "external/sources/boost/nowide/windows.hpp", + "external/sources/boost/numeric/conversion/bounds.hpp", + "external/sources/boost/numeric/conversion/cast.hpp", + "external/sources/boost/numeric/conversion/conversion_traits.hpp", + "external/sources/boost/numeric/conversion/converter.hpp", + "external/sources/boost/numeric/conversion/converter_policies.hpp", + "external/sources/boost/numeric/conversion/detail/bounds.hpp", + "external/sources/boost/numeric/conversion/detail/conversion_traits.hpp", + "external/sources/boost/numeric/conversion/detail/converter.hpp", + "external/sources/boost/numeric/conversion/detail/int_float_mixture.hpp", + "external/sources/boost/numeric/conversion/detail/is_subranged.hpp", + "external/sources/boost/numeric/conversion/detail/meta.hpp", + "external/sources/boost/numeric/conversion/detail/numeric_cast_traits.hpp", + "external/sources/boost/numeric/conversion/detail/old_numeric_cast.hpp", + "external/sources/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp", + "external/sources/boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp", + "external/sources/boost/numeric/conversion/detail/sign_mixture.hpp", + "external/sources/boost/numeric/conversion/detail/udt_builtin_mixture.hpp", + "external/sources/boost/numeric/conversion/int_float_mixture.hpp", + "external/sources/boost/numeric/conversion/int_float_mixture_enum.hpp", + "external/sources/boost/numeric/conversion/is_subranged.hpp", + "external/sources/boost/numeric/conversion/numeric_cast_traits.hpp", + "external/sources/boost/numeric/conversion/sign_mixture.hpp", + "external/sources/boost/numeric/conversion/sign_mixture_enum.hpp", + "external/sources/boost/numeric/conversion/udt_builtin_mixture.hpp", + "external/sources/boost/numeric/conversion/udt_builtin_mixture_enum.hpp", + "external/sources/boost/numeric/interval.hpp", + "external/sources/boost/numeric/interval/arith.hpp", + "external/sources/boost/numeric/interval/arith2.hpp", + "external/sources/boost/numeric/interval/arith3.hpp", + "external/sources/boost/numeric/interval/checking.hpp", + "external/sources/boost/numeric/interval/compare.hpp", + "external/sources/boost/numeric/interval/compare/certain.hpp", + "external/sources/boost/numeric/interval/compare/explicit.hpp", + "external/sources/boost/numeric/interval/compare/lexicographic.hpp", + "external/sources/boost/numeric/interval/compare/possible.hpp", + "external/sources/boost/numeric/interval/compare/set.hpp", + "external/sources/boost/numeric/interval/compare/tribool.hpp", + "external/sources/boost/numeric/interval/constants.hpp", + "external/sources/boost/numeric/interval/detail/alpha_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/bcc_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/bugs.hpp", + "external/sources/boost/numeric/interval/detail/c99_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/c99sub_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/division.hpp", + "external/sources/boost/numeric/interval/detail/ia64_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/interval_prototype.hpp", + "external/sources/boost/numeric/interval/detail/msvc_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/ppc_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/sparc_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/test_input.hpp", + "external/sources/boost/numeric/interval/detail/x86_rounding_control.hpp", + "external/sources/boost/numeric/interval/detail/x86gcc_rounding_control.hpp", + "external/sources/boost/numeric/interval/ext/integer.hpp", + "external/sources/boost/numeric/interval/ext/x86_fast_rounding_control.hpp", + "external/sources/boost/numeric/interval/hw_rounding.hpp", + "external/sources/boost/numeric/interval/interval.hpp", + "external/sources/boost/numeric/interval/io.hpp", + "external/sources/boost/numeric/interval/limits.hpp", + "external/sources/boost/numeric/interval/policies.hpp", + "external/sources/boost/numeric/interval/rounded_arith.hpp", + "external/sources/boost/numeric/interval/rounded_transc.hpp", + "external/sources/boost/numeric/interval/rounding.hpp", + "external/sources/boost/numeric/interval/transc.hpp", + "external/sources/boost/numeric/interval/utility.hpp", + "external/sources/boost/numeric/interval/utility_fwd.hpp", + "external/sources/boost/numeric/odeint.hpp", + "external/sources/boost/numeric/odeint/algebra/algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/algebra/array_algebra.hpp", + "external/sources/boost/numeric/odeint/algebra/default_operations.hpp", + "external/sources/boost/numeric/odeint/algebra/detail/extract_value_type.hpp", + "external/sources/boost/numeric/odeint/algebra/detail/for_each.hpp", + "external/sources/boost/numeric/odeint/algebra/detail/macros.hpp", + "external/sources/boost/numeric/odeint/algebra/detail/norm_inf.hpp", + "external/sources/boost/numeric/odeint/algebra/fusion_algebra.hpp", + "external/sources/boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/algebra/multi_array_algebra.hpp", + "external/sources/boost/numeric/odeint/algebra/norm_result_type.hpp", + "external/sources/boost/numeric/odeint/algebra/operations_dispatcher.hpp", + "external/sources/boost/numeric/odeint/algebra/range_algebra.hpp", + "external/sources/boost/numeric/odeint/algebra/vector_space_algebra.hpp", + "external/sources/boost/numeric/odeint/config.hpp", + "external/sources/boost/numeric/odeint/external/blaze/blaze_algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/blaze/blaze_resize.hpp", + "external/sources/boost/numeric/odeint/external/compute/compute.hpp", + "external/sources/boost/numeric/odeint/external/compute/compute_algebra.hpp", + "external/sources/boost/numeric/odeint/external/compute/compute_algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/compute/compute_operations.hpp", + "external/sources/boost/numeric/odeint/external/compute/compute_operations_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/compute/compute_resize.hpp", + "external/sources/boost/numeric/odeint/external/eigen/eigen.hpp", + "external/sources/boost/numeric/odeint/external/eigen/eigen_algebra.hpp", + "external/sources/boost/numeric/odeint/external/eigen/eigen_algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/eigen/eigen_resize.hpp", + "external/sources/boost/numeric/odeint/external/gsl/gsl_wrapper.hpp", + "external/sources/boost/numeric/odeint/external/mkl/mkl_operations.hpp", + "external/sources/boost/numeric/odeint/external/mpi/mpi.hpp", + "external/sources/boost/numeric/odeint/external/mpi/mpi_nested_algebra.hpp", + "external/sources/boost/numeric/odeint/external/mpi/mpi_state.hpp", + "external/sources/boost/numeric/odeint/external/mpi/mpi_vector_state.hpp", + "external/sources/boost/numeric/odeint/external/mtl4/implicit_euler_mtl4.hpp", + "external/sources/boost/numeric/odeint/external/mtl4/mtl4.hpp", + "external/sources/boost/numeric/odeint/external/mtl4/mtl4_algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/mtl4/mtl4_resize.hpp", + "external/sources/boost/numeric/odeint/external/nt2/nt2_algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/nt2/nt2_copy.hpp", + "external/sources/boost/numeric/odeint/external/nt2/nt2_norm_inf.hpp", + "external/sources/boost/numeric/odeint/external/nt2/nt2_resize.hpp", + "external/sources/boost/numeric/odeint/external/openmp/openmp.hpp", + "external/sources/boost/numeric/odeint/external/openmp/openmp_nested_algebra.hpp", + "external/sources/boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp", + "external/sources/boost/numeric/odeint/external/openmp/openmp_state.hpp", + "external/sources/boost/numeric/odeint/external/thrust/thrust.hpp", + "external/sources/boost/numeric/odeint/external/thrust/thrust_algebra.hpp", + "external/sources/boost/numeric/odeint/external/thrust/thrust_algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/thrust/thrust_operations.hpp", + "external/sources/boost/numeric/odeint/external/thrust/thrust_operations_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/thrust/thrust_resize.hpp", + "external/sources/boost/numeric/odeint/external/vexcl/vexcl.hpp", + "external/sources/boost/numeric/odeint/external/vexcl/vexcl_abs.hpp", + "external/sources/boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp", + "external/sources/boost/numeric/odeint/external/vexcl/vexcl_copy.hpp", + "external/sources/boost/numeric/odeint/external/vexcl/vexcl_norm_inf.hpp", + "external/sources/boost/numeric/odeint/external/vexcl/vexcl_resize.hpp", + "external/sources/boost/numeric/odeint/external/vexcl/vexcl_same_instance.hpp", + "external/sources/boost/numeric/odeint/external/viennacl/viennacl_operations.hpp", + "external/sources/boost/numeric/odeint/external/viennacl/viennacl_resize.hpp", + "external/sources/boost/numeric/odeint/integrate/check_adapter.hpp", + "external/sources/boost/numeric/odeint/integrate/detail/functors.hpp", + "external/sources/boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp", + "external/sources/boost/numeric/odeint/integrate/detail/integrate_const.hpp", + "external/sources/boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp", + "external/sources/boost/numeric/odeint/integrate/detail/integrate_times.hpp", + "external/sources/boost/numeric/odeint/integrate/integrate.hpp", + "external/sources/boost/numeric/odeint/integrate/integrate_adaptive.hpp", + "external/sources/boost/numeric/odeint/integrate/integrate_const.hpp", + "external/sources/boost/numeric/odeint/integrate/integrate_n_steps.hpp", + "external/sources/boost/numeric/odeint/integrate/integrate_times.hpp", + "external/sources/boost/numeric/odeint/integrate/max_step_checker.hpp", + "external/sources/boost/numeric/odeint/integrate/null_observer.hpp", + "external/sources/boost/numeric/odeint/integrate/observer_collection.hpp", + "external/sources/boost/numeric/odeint/iterator/adaptive_iterator.hpp", + "external/sources/boost/numeric/odeint/iterator/adaptive_time_iterator.hpp", + "external/sources/boost/numeric/odeint/iterator/const_step_iterator.hpp", + "external/sources/boost/numeric/odeint/iterator/const_step_time_iterator.hpp", + "external/sources/boost/numeric/odeint/iterator/detail/ode_iterator_base.hpp", + "external/sources/boost/numeric/odeint/iterator/impl/adaptive_iterator_impl.hpp", + "external/sources/boost/numeric/odeint/iterator/impl/const_step_iterator_impl.hpp", + "external/sources/boost/numeric/odeint/iterator/impl/n_step_iterator_impl.hpp", + "external/sources/boost/numeric/odeint/iterator/impl/times_iterator_impl.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/detail/functors.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/detail/integrate_adaptive.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/detail/integrate_const.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/detail/integrate_n_steps.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/detail/integrate_times.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/integrate.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/integrate_adaptive.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/integrate_const.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/integrate_n_steps.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/integrate_times.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/null_observer.hpp", + "external/sources/boost/numeric/odeint/iterator/integrate/observer_collection.hpp", + "external/sources/boost/numeric/odeint/iterator/n_step_iterator.hpp", + "external/sources/boost/numeric/odeint/iterator/n_step_time_iterator.hpp", + "external/sources/boost/numeric/odeint/iterator/times_iterator.hpp", + "external/sources/boost/numeric/odeint/iterator/times_time_iterator.hpp", + "external/sources/boost/numeric/odeint/stepper/adams_bashforth.hpp", + "external/sources/boost/numeric/odeint/stepper/adams_bashforth_moulton.hpp", + "external/sources/boost/numeric/odeint/stepper/adams_moulton.hpp", + "external/sources/boost/numeric/odeint/stepper/adaptive_adams_bashforth_moulton.hpp", + "external/sources/boost/numeric/odeint/stepper/base/algebra_stepper_base.hpp", + "external/sources/boost/numeric/odeint/stepper/base/explicit_error_stepper_base.hpp", + "external/sources/boost/numeric/odeint/stepper/base/explicit_error_stepper_fsal_base.hpp", + "external/sources/boost/numeric/odeint/stepper/base/explicit_stepper_base.hpp", + "external/sources/boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp", + "external/sources/boost/numeric/odeint/stepper/bulirsch_stoer.hpp", + "external/sources/boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp", + "external/sources/boost/numeric/odeint/stepper/controlled_adams_bashforth_moulton.hpp", + "external/sources/boost/numeric/odeint/stepper/controlled_runge_kutta.hpp", + "external/sources/boost/numeric/odeint/stepper/controlled_step_result.hpp", + "external/sources/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/adams_bashforth_call_algebra.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/adams_bashforth_coefficients.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/adams_moulton_call_algebra.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/adams_moulton_coefficients.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/adaptive_adams_coefficients.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/generic_rk_algorithm.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/generic_rk_call_algebra.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/generic_rk_operations.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/pid_step_adjuster.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/pid_step_adjuster_coefficients.hpp", + "external/sources/boost/numeric/odeint/stepper/detail/rotating_buffer.hpp", + "external/sources/boost/numeric/odeint/stepper/euler.hpp", + "external/sources/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp", + "external/sources/boost/numeric/odeint/stepper/explicit_generic_rk.hpp", + "external/sources/boost/numeric/odeint/stepper/extrapolation_stepper.hpp", + "external/sources/boost/numeric/odeint/stepper/generation.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/generation_controlled_adams_bashforth_moulton.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/generation_controlled_runge_kutta.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/generation_dense_output_runge_kutta.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/generation_runge_kutta_dopri5.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/generation_runge_kutta_fehlberg78.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/make_controlled.hpp", + "external/sources/boost/numeric/odeint/stepper/generation/make_dense_output.hpp", + "external/sources/boost/numeric/odeint/stepper/implicit_euler.hpp", + "external/sources/boost/numeric/odeint/stepper/modified_midpoint.hpp", + "external/sources/boost/numeric/odeint/stepper/rosenbrock4.hpp", + "external/sources/boost/numeric/odeint/stepper/rosenbrock4_controller.hpp", + "external/sources/boost/numeric/odeint/stepper/rosenbrock4_dense_output.hpp", + "external/sources/boost/numeric/odeint/stepper/runge_kutta4.hpp", + "external/sources/boost/numeric/odeint/stepper/runge_kutta4_classic.hpp", + "external/sources/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp", + "external/sources/boost/numeric/odeint/stepper/runge_kutta_cash_karp54_classic.hpp", + "external/sources/boost/numeric/odeint/stepper/runge_kutta_dopri5.hpp", + "external/sources/boost/numeric/odeint/stepper/runge_kutta_fehlberg78.hpp", + "external/sources/boost/numeric/odeint/stepper/stepper_categories.hpp", + "external/sources/boost/numeric/odeint/stepper/symplectic_euler.hpp", + "external/sources/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_m4_mclachlan.hpp", + "external/sources/boost/numeric/odeint/stepper/symplectic_rkn_sb3a_mclachlan.hpp", + "external/sources/boost/numeric/odeint/stepper/velocity_verlet.hpp", + "external/sources/boost/numeric/odeint/util/bind.hpp", + "external/sources/boost/numeric/odeint/util/copy.hpp", + "external/sources/boost/numeric/odeint/util/detail/is_range.hpp", + "external/sources/boost/numeric/odeint/util/detail/less_with_sign.hpp", + "external/sources/boost/numeric/odeint/util/is_pair.hpp", + "external/sources/boost/numeric/odeint/util/is_resizeable.hpp", + "external/sources/boost/numeric/odeint/util/multi_array_adaption.hpp", + "external/sources/boost/numeric/odeint/util/n_ary_helper.hpp", + "external/sources/boost/numeric/odeint/util/odeint_error.hpp", + "external/sources/boost/numeric/odeint/util/resize.hpp", + "external/sources/boost/numeric/odeint/util/resizer.hpp", + "external/sources/boost/numeric/odeint/util/same_instance.hpp", + "external/sources/boost/numeric/odeint/util/same_size.hpp", + "external/sources/boost/numeric/odeint/util/split.hpp", + "external/sources/boost/numeric/odeint/util/split_adaptor.hpp", + "external/sources/boost/numeric/odeint/util/state_wrapper.hpp", + "external/sources/boost/numeric/odeint/util/stepper_traits.hpp", + "external/sources/boost/numeric/odeint/util/ublas_matrix_expression.patch", + "external/sources/boost/numeric/odeint/util/ublas_wrapper.hpp", + "external/sources/boost/numeric/odeint/util/unit_helper.hpp", + "external/sources/boost/numeric/odeint/util/unwrap_reference.hpp", + "external/sources/boost/numeric/odeint/version.hpp", + "external/sources/boost/numeric/ublas/assignment.hpp", + "external/sources/boost/numeric/ublas/banded.hpp", + "external/sources/boost/numeric/ublas/blas.hpp", + "external/sources/boost/numeric/ublas/detail/concepts.hpp", + "external/sources/boost/numeric/ublas/detail/config.hpp", + "external/sources/boost/numeric/ublas/detail/definitions.hpp", + "external/sources/boost/numeric/ublas/detail/documentation.hpp", + "external/sources/boost/numeric/ublas/detail/duff.hpp", + "external/sources/boost/numeric/ublas/detail/iterator.hpp", + "external/sources/boost/numeric/ublas/detail/matrix_assign.hpp", + "external/sources/boost/numeric/ublas/detail/raw.hpp", + "external/sources/boost/numeric/ublas/detail/returntype_deduction.hpp", + "external/sources/boost/numeric/ublas/detail/temporary.hpp", + "external/sources/boost/numeric/ublas/detail/vector_assign.hpp", + "external/sources/boost/numeric/ublas/doxydoc.hpp", + "external/sources/boost/numeric/ublas/exception.hpp", + "external/sources/boost/numeric/ublas/experimental/sparse_view.hpp", + "external/sources/boost/numeric/ublas/expression_types.hpp", + "external/sources/boost/numeric/ublas/functional.hpp", + "external/sources/boost/numeric/ublas/fwd.hpp", + "external/sources/boost/numeric/ublas/hermitian.hpp", + "external/sources/boost/numeric/ublas/io.hpp", + "external/sources/boost/numeric/ublas/lu.hpp", + "external/sources/boost/numeric/ublas/matrix.hpp", + "external/sources/boost/numeric/ublas/matrix_expression.hpp", + "external/sources/boost/numeric/ublas/matrix_proxy.hpp", + "external/sources/boost/numeric/ublas/matrix_sparse.hpp", + "external/sources/boost/numeric/ublas/matrix_vector.hpp", + "external/sources/boost/numeric/ublas/opencl.hpp", + "external/sources/boost/numeric/ublas/opencl/elementwise.hpp", + "external/sources/boost/numeric/ublas/opencl/library.hpp", + "external/sources/boost/numeric/ublas/opencl/matrix.hpp", + "external/sources/boost/numeric/ublas/opencl/misc.hpp", + "external/sources/boost/numeric/ublas/opencl/operations.hpp", + "external/sources/boost/numeric/ublas/opencl/prod.hpp", + "external/sources/boost/numeric/ublas/opencl/transpose.hpp", + "external/sources/boost/numeric/ublas/opencl/vector.hpp", + "external/sources/boost/numeric/ublas/operation.hpp", + "external/sources/boost/numeric/ublas/operation/begin.hpp", + "external/sources/boost/numeric/ublas/operation/c_array.hpp", + "external/sources/boost/numeric/ublas/operation/end.hpp", + "external/sources/boost/numeric/ublas/operation/num_columns.hpp", + "external/sources/boost/numeric/ublas/operation/num_rows.hpp", + "external/sources/boost/numeric/ublas/operation/size.hpp", + "external/sources/boost/numeric/ublas/operation_blocked.hpp", + "external/sources/boost/numeric/ublas/operation_sparse.hpp", + "external/sources/boost/numeric/ublas/operations.hpp", + "external/sources/boost/numeric/ublas/storage.hpp", + "external/sources/boost/numeric/ublas/storage_sparse.hpp", + "external/sources/boost/numeric/ublas/symmetric.hpp", + "external/sources/boost/numeric/ublas/tags.hpp", + "external/sources/boost/numeric/ublas/tensor.hpp", + "external/sources/boost/numeric/ublas/tensor/algorithms.hpp", + "external/sources/boost/numeric/ublas/tensor/expression.hpp", + "external/sources/boost/numeric/ublas/tensor/expression_evaluation.hpp", + "external/sources/boost/numeric/ublas/tensor/extents.hpp", + "external/sources/boost/numeric/ublas/tensor/functions.hpp", + "external/sources/boost/numeric/ublas/tensor/index.hpp", + "external/sources/boost/numeric/ublas/tensor/multi_index.hpp", + "external/sources/boost/numeric/ublas/tensor/multi_index_utility.hpp", + "external/sources/boost/numeric/ublas/tensor/multiplication.hpp", + "external/sources/boost/numeric/ublas/tensor/operators_arithmetic.hpp", + "external/sources/boost/numeric/ublas/tensor/operators_comparison.hpp", + "external/sources/boost/numeric/ublas/tensor/ostream.hpp", + "external/sources/boost/numeric/ublas/tensor/storage_traits.hpp", + "external/sources/boost/numeric/ublas/tensor/strides.hpp", + "external/sources/boost/numeric/ublas/tensor/tensor.hpp", + "external/sources/boost/numeric/ublas/traits.hpp", + "external/sources/boost/numeric/ublas/traits/c_array.hpp", + "external/sources/boost/numeric/ublas/traits/const_iterator_type.hpp", + "external/sources/boost/numeric/ublas/traits/iterator_type.hpp", + "external/sources/boost/numeric/ublas/triangular.hpp", + "external/sources/boost/numeric/ublas/vector.hpp", + "external/sources/boost/numeric/ublas/vector_expression.hpp", + "external/sources/boost/numeric/ublas/vector_of_vector.hpp", + "external/sources/boost/numeric/ublas/vector_proxy.hpp", + "external/sources/boost/numeric/ublas/vector_sparse.hpp", + "external/sources/boost/operators.hpp", + "external/sources/boost/operators_v1.hpp", + "external/sources/boost/optional.hpp", + "external/sources/boost/optional/bad_optional_access.hpp", + "external/sources/boost/optional/detail/experimental_traits.hpp", + "external/sources/boost/optional/detail/old_optional_implementation.hpp", + "external/sources/boost/optional/detail/optional_aligned_storage.hpp", + "external/sources/boost/optional/detail/optional_config.hpp", + "external/sources/boost/optional/detail/optional_factory_support.hpp", + "external/sources/boost/optional/detail/optional_reference_spec.hpp", + "external/sources/boost/optional/detail/optional_relops.hpp", + "external/sources/boost/optional/detail/optional_swap.hpp", + "external/sources/boost/optional/detail/optional_trivially_copyable_base.hpp", + "external/sources/boost/optional/optional.hpp", + "external/sources/boost/optional/optional_fwd.hpp", + "external/sources/boost/optional/optional_io.hpp", + "external/sources/boost/outcome.hpp", + "external/sources/boost/outcome/bad_access.hpp", + "external/sources/boost/outcome/basic_outcome.hpp", + "external/sources/boost/outcome/basic_result.hpp", + "external/sources/boost/outcome/boost_outcome.hpp", + "external/sources/boost/outcome/boost_result.hpp", + "external/sources/boost/outcome/config.hpp", + "external/sources/boost/outcome/convert.hpp", + "external/sources/boost/outcome/coroutine_support.hpp", + "external/sources/boost/outcome/detail/basic_outcome_exception_observers.hpp", + "external/sources/boost/outcome/detail/basic_outcome_exception_observers_impl.hpp", + "external/sources/boost/outcome/detail/basic_outcome_failure_observers.hpp", + "external/sources/boost/outcome/detail/basic_result_error_observers.hpp", + "external/sources/boost/outcome/detail/basic_result_final.hpp", + "external/sources/boost/outcome/detail/basic_result_storage.hpp", + "external/sources/boost/outcome/detail/basic_result_value_observers.hpp", + "external/sources/boost/outcome/detail/coroutine_support.ipp", + "external/sources/boost/outcome/detail/revision.hpp", + "external/sources/boost/outcome/detail/trait_std_error_code.hpp", + "external/sources/boost/outcome/detail/trait_std_exception.hpp", + "external/sources/boost/outcome/detail/value_storage.hpp", + "external/sources/boost/outcome/detail/version.hpp", + "external/sources/boost/outcome/experimental/coroutine_support.hpp", + "external/sources/boost/outcome/experimental/result.h", + "external/sources/boost/outcome/experimental/status-code/com_code.hpp", + "external/sources/boost/outcome/experimental/status-code/config.hpp", + "external/sources/boost/outcome/experimental/status-code/detail/nt_code_to_generic_code.ipp", + "external/sources/boost/outcome/experimental/status-code/detail/nt_code_to_win32_code.ipp", + "external/sources/boost/outcome/experimental/status-code/detail/win32_code_to_generic_code.ipp", + "external/sources/boost/outcome/experimental/status-code/error.hpp", + "external/sources/boost/outcome/experimental/status-code/errored_status_code.hpp", + "external/sources/boost/outcome/experimental/status-code/generic_code.hpp", + "external/sources/boost/outcome/experimental/status-code/getaddrinfo_code.hpp", + "external/sources/boost/outcome/experimental/status-code/iostream_support.hpp", + "external/sources/boost/outcome/experimental/status-code/nt_code.hpp", + "external/sources/boost/outcome/experimental/status-code/posix_code.hpp", + "external/sources/boost/outcome/experimental/status-code/quick_status_code_from_enum.hpp", + "external/sources/boost/outcome/experimental/status-code/result.hpp", + "external/sources/boost/outcome/experimental/status-code/status_code.hpp", + "external/sources/boost/outcome/experimental/status-code/status_code_domain.hpp", + "external/sources/boost/outcome/experimental/status-code/status_code_ptr.hpp", + "external/sources/boost/outcome/experimental/status-code/status_error.hpp", + "external/sources/boost/outcome/experimental/status-code/std_error_code.hpp", + "external/sources/boost/outcome/experimental/status-code/system_code.hpp", + "external/sources/boost/outcome/experimental/status-code/system_code_from_exception.hpp", + "external/sources/boost/outcome/experimental/status-code/system_error2.hpp", + "external/sources/boost/outcome/experimental/status-code/win32_code.hpp", + "external/sources/boost/outcome/experimental/status_outcome.hpp", + "external/sources/boost/outcome/experimental/status_result.hpp", + "external/sources/boost/outcome/iostream_support.hpp", + "external/sources/boost/outcome/outcome.hpp", + "external/sources/boost/outcome/policy/all_narrow.hpp", + "external/sources/boost/outcome/policy/base.hpp", + "external/sources/boost/outcome/policy/fail_to_compile_observers.hpp", + "external/sources/boost/outcome/policy/outcome_error_code_throw_as_system_error.hpp", + "external/sources/boost/outcome/policy/outcome_exception_ptr_rethrow.hpp", + "external/sources/boost/outcome/policy/result_error_code_throw_as_system_error.hpp", + "external/sources/boost/outcome/policy/result_exception_ptr_rethrow.hpp", + "external/sources/boost/outcome/policy/terminate.hpp", + "external/sources/boost/outcome/policy/throw_bad_result_access.hpp", + "external/sources/boost/outcome/result.hpp", + "external/sources/boost/outcome/std_outcome.hpp", + "external/sources/boost/outcome/std_result.hpp", + "external/sources/boost/outcome/success_failure.hpp", + "external/sources/boost/outcome/trait.hpp", + "external/sources/boost/outcome/try.hpp", + "external/sources/boost/outcome/utils.hpp", + "external/sources/boost/parameter.hpp", + "external/sources/boost/parameter/are_tagged_arguments.hpp", + "external/sources/boost/parameter/aux_/always_true_predicate.hpp", + "external/sources/boost/parameter/aux_/arg_list.hpp", + "external/sources/boost/parameter/aux_/as_lvalue.hpp", + "external/sources/boost/parameter/aux_/augment_predicate.hpp", + "external/sources/boost/parameter/aux_/cast.hpp", + "external/sources/boost/parameter/aux_/default.hpp", + "external/sources/boost/parameter/aux_/has_nested_template_fn.hpp", + "external/sources/boost/parameter/aux_/is_maybe.hpp", + "external/sources/boost/parameter/aux_/is_placeholder.hpp", + "external/sources/boost/parameter/aux_/is_tagged_argument.hpp", + "external/sources/boost/parameter/aux_/lambda_tag.hpp", + "external/sources/boost/parameter/aux_/maybe.hpp", + "external/sources/boost/parameter/aux_/name.hpp", + "external/sources/boost/parameter/aux_/pack/as_parameter_requirements.hpp", + "external/sources/boost/parameter/aux_/pack/deduce_tag.hpp", + "external/sources/boost/parameter/aux_/pack/deduced_item.hpp", + "external/sources/boost/parameter/aux_/pack/insert_tagged.hpp", + "external/sources/boost/parameter/aux_/pack/is_named_argument.hpp", + "external/sources/boost/parameter/aux_/pack/item.hpp", + "external/sources/boost/parameter/aux_/pack/make_arg_list.hpp", + "external/sources/boost/parameter/aux_/pack/make_deduced_items.hpp", + "external/sources/boost/parameter/aux_/pack/make_items.hpp", + "external/sources/boost/parameter/aux_/pack/make_parameter_spec_items.hpp", + "external/sources/boost/parameter/aux_/pack/parameter_requirements.hpp", + "external/sources/boost/parameter/aux_/pack/predicate.hpp", + "external/sources/boost/parameter/aux_/pack/satisfies.hpp", + "external/sources/boost/parameter/aux_/pack/tag_deduced.hpp", + "external/sources/boost/parameter/aux_/pack/tag_keyword_arg.hpp", + "external/sources/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp", + "external/sources/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp", + "external/sources/boost/parameter/aux_/pack/tag_type.hpp", + "external/sources/boost/parameter/aux_/pack/unmatched_argument.hpp", + "external/sources/boost/parameter/aux_/parameter_requirements.hpp", + "external/sources/boost/parameter/aux_/parenthesized_type.hpp", + "external/sources/boost/parameter/aux_/pp_impl/argument_pack.hpp", + "external/sources/boost/parameter/aux_/pp_impl/match.hpp", + "external/sources/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp", + "external/sources/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp", + "external/sources/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp", + "external/sources/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp", + "external/sources/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp", + "external/sources/boost/parameter/aux_/preprocessor/flatten.hpp", + "external/sources/boost/parameter/aux_/preprocessor/for_each.hpp", + "external/sources/boost/parameter/aux_/preprocessor/for_each_pred.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/arity_range.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/flatten.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/for_each.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/function_cast.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/function_name.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/specification.hpp", + "external/sources/boost/parameter/aux_/preprocessor/impl/split_args.hpp", + "external/sources/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp", + "external/sources/boost/parameter/aux_/preprocessor/is_binary.hpp", + "external/sources/boost/parameter/aux_/preprocessor/is_nullary.hpp", + "external/sources/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp", + "external/sources/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp", + "external/sources/boost/parameter/aux_/preprocessor/nullptr.hpp", + "external/sources/boost/parameter/aux_/preprocessor/overloads.hpp", + "external/sources/boost/parameter/aux_/preprocessor/qualifier.hpp", + "external/sources/boost/parameter/aux_/preprocessor/seq_enum.hpp", + "external/sources/boost/parameter/aux_/preprocessor/seq_merge.hpp", + "external/sources/boost/parameter/aux_/python/invoker.hpp", + "external/sources/boost/parameter/aux_/python/invoker_iterate.hpp", + "external/sources/boost/parameter/aux_/result_of0.hpp", + "external/sources/boost/parameter/aux_/set.hpp", + "external/sources/boost/parameter/aux_/tag.hpp", + "external/sources/boost/parameter/aux_/tagged_argument.hpp", + "external/sources/boost/parameter/aux_/tagged_argument_fwd.hpp", + "external/sources/boost/parameter/aux_/template_keyword.hpp", + "external/sources/boost/parameter/aux_/unwrap_cv_reference.hpp", + "external/sources/boost/parameter/aux_/use_default.hpp", + "external/sources/boost/parameter/aux_/use_default_tag.hpp", + "external/sources/boost/parameter/aux_/void.hpp", + "external/sources/boost/parameter/aux_/yesno.hpp", + "external/sources/boost/parameter/binding.hpp", + "external/sources/boost/parameter/compose.hpp", + "external/sources/boost/parameter/config.hpp", + "external/sources/boost/parameter/deduced.hpp", + "external/sources/boost/parameter/is_argument_pack.hpp", + "external/sources/boost/parameter/keyword.hpp", + "external/sources/boost/parameter/keyword_fwd.hpp", + "external/sources/boost/parameter/macros.hpp", + "external/sources/boost/parameter/match.hpp", + "external/sources/boost/parameter/name.hpp", + "external/sources/boost/parameter/nested_keyword.hpp", + "external/sources/boost/parameter/optional.hpp", + "external/sources/boost/parameter/parameters.hpp", + "external/sources/boost/parameter/preprocessor.hpp", + "external/sources/boost/parameter/preprocessor_no_spec.hpp", + "external/sources/boost/parameter/python.hpp", + "external/sources/boost/parameter/required.hpp", + "external/sources/boost/parameter/template_keyword.hpp", + "external/sources/boost/parameter/value_type.hpp", + "external/sources/boost/pending/bucket_sorter.hpp", + "external/sources/boost/pending/container_traits.hpp", + "external/sources/boost/pending/detail/disjoint_sets.hpp", + "external/sources/boost/pending/detail/int_iterator.hpp", + "external/sources/boost/pending/detail/property.hpp", + "external/sources/boost/pending/disjoint_sets.hpp", + "external/sources/boost/pending/fenced_priority_queue.hpp", + "external/sources/boost/pending/fibonacci_heap.hpp", + "external/sources/boost/pending/indirect_cmp.hpp", + "external/sources/boost/pending/integer_log2.hpp", + "external/sources/boost/pending/is_heap.hpp", + "external/sources/boost/pending/iterator_adaptors.hpp", + "external/sources/boost/pending/iterator_tests.hpp", + "external/sources/boost/pending/mutable_heap.hpp", + "external/sources/boost/pending/mutable_queue.hpp", + "external/sources/boost/pending/property.hpp", + "external/sources/boost/pending/property_serialize.hpp", + "external/sources/boost/pending/queue.hpp", + "external/sources/boost/pending/relaxed_heap.hpp", + "external/sources/boost/pending/stringtok.hpp", + "external/sources/boost/phoenix.hpp", + "external/sources/boost/phoenix/bind.hpp", + "external/sources/boost/phoenix/bind/bind_function.hpp", + "external/sources/boost/phoenix/bind/bind_function_object.hpp", + "external/sources/boost/phoenix/bind/bind_member_function.hpp", + "external/sources/boost/phoenix/bind/bind_member_variable.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/bind_function.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/bind_function_object.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/bind_member_function.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/function_ptr.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/member_function_ptr.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_10.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_20.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_30.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_40.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_50.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_10.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_20.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_30.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_40.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_function_object_50.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_10.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_20.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_30.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_40.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/bind_member_function_50.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_10.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_20.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_30.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_40.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/function_ptr_50.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_10.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_20.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_30.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_40.hpp", + "external/sources/boost/phoenix/bind/detail/cpp03/preprocessed/member_function_ptr_50.hpp", + "external/sources/boost/phoenix/bind/detail/member_variable.hpp", + "external/sources/boost/phoenix/config.hpp", + "external/sources/boost/phoenix/core.hpp", + "external/sources/boost/phoenix/core/actor.hpp", + "external/sources/boost/phoenix/core/argument.hpp", + "external/sources/boost/phoenix/core/arity.hpp", + "external/sources/boost/phoenix/core/as_actor.hpp", + "external/sources/boost/phoenix/core/call.hpp", + "external/sources/boost/phoenix/core/debug.hpp", + "external/sources/boost/phoenix/core/detail/argument.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/actor_operator.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/actor_result_of.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/call.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/expression.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/function_eval.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/function_eval_expr.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_10.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_20.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_30.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_40.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_operator_50.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_10.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_20.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_30.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_40.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/actor_result_of_50.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_10.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_20.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_30.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_40.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_no_predefined_50.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_10.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_20.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_30.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_40.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/argument_predefined_50.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/call.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/call_10.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/call_20.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/call_30.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/call_40.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/call_50.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/expression.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/expression_10.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/expression_20.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/expression_30.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/expression_40.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/expression_50.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_10.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_20.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_30.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_40.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_50.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_10.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_20.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_30.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_40.hpp", + "external/sources/boost/phoenix/core/detail/cpp03/preprocessed/function_eval_expr_50.hpp", + "external/sources/boost/phoenix/core/detail/expression.hpp", + "external/sources/boost/phoenix/core/detail/function_eval.hpp", + "external/sources/boost/phoenix/core/detail/index_sequence.hpp", + "external/sources/boost/phoenix/core/domain.hpp", + "external/sources/boost/phoenix/core/environment.hpp", + "external/sources/boost/phoenix/core/expression.hpp", + "external/sources/boost/phoenix/core/function_equal.hpp", + "external/sources/boost/phoenix/core/is_actor.hpp", + "external/sources/boost/phoenix/core/is_nullary.hpp", + "external/sources/boost/phoenix/core/is_value.hpp", + "external/sources/boost/phoenix/core/limits.hpp", + "external/sources/boost/phoenix/core/meta_grammar.hpp", + "external/sources/boost/phoenix/core/nothing.hpp", + "external/sources/boost/phoenix/core/reference.hpp", + "external/sources/boost/phoenix/core/terminal.hpp", + "external/sources/boost/phoenix/core/terminal_fwd.hpp", + "external/sources/boost/phoenix/core/v2_eval.hpp", + "external/sources/boost/phoenix/core/value.hpp", + "external/sources/boost/phoenix/debug.hpp", + "external/sources/boost/phoenix/function.hpp", + "external/sources/boost/phoenix/function/adapt_callable.hpp", + "external/sources/boost/phoenix/function/adapt_function.hpp", + "external/sources/boost/phoenix/function/detail/cpp03/function_operator.hpp", + "external/sources/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp", + "external/sources/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp", + "external/sources/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_20.hpp", + "external/sources/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_30.hpp", + "external/sources/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_40.hpp", + "external/sources/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_50.hpp", + "external/sources/boost/phoenix/function/function.hpp", + "external/sources/boost/phoenix/function/lazy_list.hpp", + "external/sources/boost/phoenix/function/lazy_operator.hpp", + "external/sources/boost/phoenix/function/lazy_prelude.hpp", + "external/sources/boost/phoenix/function/lazy_reuse.hpp", + "external/sources/boost/phoenix/function/lazy_signature.hpp", + "external/sources/boost/phoenix/function/lazy_smart.hpp", + "external/sources/boost/phoenix/fusion.hpp", + "external/sources/boost/phoenix/fusion/at.hpp", + "external/sources/boost/phoenix/object.hpp", + "external/sources/boost/phoenix/object/const_cast.hpp", + "external/sources/boost/phoenix/object/construct.hpp", + "external/sources/boost/phoenix/object/delete.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/construct.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/construct_eval.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/construct_expr.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/new.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/new_eval.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/new_expr.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_10.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_20.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_30.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_40.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_50.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_10.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_20.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_30.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_40.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_eval_50.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_10.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_20.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_30.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_40.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/construct_expr_50.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_10.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_20.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_30.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_40.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_50.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_eval.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_10.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_20.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_30.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_40.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_eval_50.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_expr.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_10.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_20.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_30.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_40.hpp", + "external/sources/boost/phoenix/object/detail/cpp03/preprocessed/new_expr_50.hpp", + "external/sources/boost/phoenix/object/detail/target.hpp", + "external/sources/boost/phoenix/object/dynamic_cast.hpp", + "external/sources/boost/phoenix/object/new.hpp", + "external/sources/boost/phoenix/object/reinterpret_cast.hpp", + "external/sources/boost/phoenix/object/static_cast.hpp", + "external/sources/boost/phoenix/operator.hpp", + "external/sources/boost/phoenix/operator/arithmetic.hpp", + "external/sources/boost/phoenix/operator/bitwise.hpp", + "external/sources/boost/phoenix/operator/comparison.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_eval_result_of.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_expr.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/mem_fun_ptr_gen.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_10.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_20.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_30.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_40.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_50.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_10.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_20.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_30.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_40.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_eval_result_of_50.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_10.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_20.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_30.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_40.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_expr_50.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_10.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_20.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_30.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_40.hpp", + "external/sources/boost/phoenix/operator/detail/cpp03/preprocessed/mem_fun_ptr_gen_50.hpp", + "external/sources/boost/phoenix/operator/detail/define_operator.hpp", + "external/sources/boost/phoenix/operator/detail/undef_operator.hpp", + "external/sources/boost/phoenix/operator/if_else.hpp", + "external/sources/boost/phoenix/operator/io.hpp", + "external/sources/boost/phoenix/operator/logical.hpp", + "external/sources/boost/phoenix/operator/member.hpp", + "external/sources/boost/phoenix/operator/self.hpp", + "external/sources/boost/phoenix/phoenix.hpp", + "external/sources/boost/phoenix/scope.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/dynamic.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/lambda.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/local_gen.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_10.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_20.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_30.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_40.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/dynamic_50.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/lambda.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_10.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_20.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_30.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp", + "external/sources/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_50.hpp", + "external/sources/boost/phoenix/scope/detail/local_gen.hpp", + "external/sources/boost/phoenix/scope/detail/local_variable.hpp", + "external/sources/boost/phoenix/scope/dynamic.hpp", + "external/sources/boost/phoenix/scope/lambda.hpp", + "external/sources/boost/phoenix/scope/let.hpp", + "external/sources/boost/phoenix/scope/local_variable.hpp", + "external/sources/boost/phoenix/scope/scoped_environment.hpp", + "external/sources/boost/phoenix/scope/this.hpp", + "external/sources/boost/phoenix/statement.hpp", + "external/sources/boost/phoenix/statement/detail/catch_push_back.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/catch_push_back.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/catch_push_back_10.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/catch_push_back_20.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/catch_push_back_30.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/catch_push_back_40.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/catch_push_back_50.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/switch.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/switch_10.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/switch_20.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/switch_30.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/switch_40.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/switch_50.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_eval.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_eval_10.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_eval_20.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_eval_30.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_eval_40.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_eval_50.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_expression.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_expression_10.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_expression_20.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_expression_30.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_expression_40.hpp", + "external/sources/boost/phoenix/statement/detail/preprocessed/try_catch_expression_50.hpp", + "external/sources/boost/phoenix/statement/detail/switch.hpp", + "external/sources/boost/phoenix/statement/detail/try_catch_eval.hpp", + "external/sources/boost/phoenix/statement/detail/try_catch_expression.hpp", + "external/sources/boost/phoenix/statement/do_while.hpp", + "external/sources/boost/phoenix/statement/for.hpp", + "external/sources/boost/phoenix/statement/if.hpp", + "external/sources/boost/phoenix/statement/sequence.hpp", + "external/sources/boost/phoenix/statement/switch.hpp", + "external/sources/boost/phoenix/statement/throw.hpp", + "external/sources/boost/phoenix/statement/try_catch.hpp", + "external/sources/boost/phoenix/statement/while.hpp", + "external/sources/boost/phoenix/stl.hpp", + "external/sources/boost/phoenix/stl/algorithm.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/begin.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/decay_array.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/end.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_equal_range.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_find.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_lower_bound.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_remove.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_remove_if.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_reverse.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_sort.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_unique.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/has_upper_bound.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/is_std_hash_map.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/is_std_hash_set.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/is_std_list.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/is_std_map.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/is_std_set.hpp", + "external/sources/boost/phoenix/stl/algorithm/detail/is_unordered_set_or_map.hpp", + "external/sources/boost/phoenix/stl/algorithm/iteration.hpp", + "external/sources/boost/phoenix/stl/algorithm/querying.hpp", + "external/sources/boost/phoenix/stl/algorithm/transformation.hpp", + "external/sources/boost/phoenix/stl/cmath.hpp", + "external/sources/boost/phoenix/stl/container.hpp", + "external/sources/boost/phoenix/stl/container/container.hpp", + "external/sources/boost/phoenix/stl/container/detail/container.hpp", + "external/sources/boost/phoenix/support/detail/iterate.hpp", + "external/sources/boost/phoenix/support/detail/iterate_define.hpp", + "external/sources/boost/phoenix/support/detail/iterate_undef.hpp", + "external/sources/boost/phoenix/support/iterate.hpp", + "external/sources/boost/phoenix/support/preprocessed/vector.hpp", + "external/sources/boost/phoenix/support/preprocessed/vector_10.hpp", + "external/sources/boost/phoenix/support/preprocessed/vector_20.hpp", + "external/sources/boost/phoenix/support/preprocessed/vector_30.hpp", + "external/sources/boost/phoenix/support/preprocessed/vector_40.hpp", + "external/sources/boost/phoenix/support/preprocessed/vector_50.hpp", + "external/sources/boost/phoenix/support/preprocessor/round.hpp", + "external/sources/boost/phoenix/support/vector.hpp", + "external/sources/boost/phoenix/version.hpp", + "external/sources/boost/pointee.hpp", + "external/sources/boost/pointer_cast.hpp", + "external/sources/boost/pointer_to_other.hpp", + "external/sources/boost/poly_collection/algorithm.hpp", + "external/sources/boost/poly_collection/any_collection.hpp", + "external/sources/boost/poly_collection/any_collection_fwd.hpp", + "external/sources/boost/poly_collection/base_collection.hpp", + "external/sources/boost/poly_collection/base_collection_fwd.hpp", + "external/sources/boost/poly_collection/detail/allocator_adaptor.hpp", + "external/sources/boost/poly_collection/detail/any_iterator.hpp", + "external/sources/boost/poly_collection/detail/any_model.hpp", + "external/sources/boost/poly_collection/detail/auto_iterator.hpp", + "external/sources/boost/poly_collection/detail/base_model.hpp", + "external/sources/boost/poly_collection/detail/callable_wrapper.hpp", + "external/sources/boost/poly_collection/detail/callable_wrapper_iterator.hpp", + "external/sources/boost/poly_collection/detail/function_model.hpp", + "external/sources/boost/poly_collection/detail/functional.hpp", + "external/sources/boost/poly_collection/detail/is_acceptable.hpp", + "external/sources/boost/poly_collection/detail/is_constructible.hpp", + "external/sources/boost/poly_collection/detail/is_equality_comparable.hpp", + "external/sources/boost/poly_collection/detail/is_final.hpp", + "external/sources/boost/poly_collection/detail/is_invocable.hpp", + "external/sources/boost/poly_collection/detail/is_nothrow_eq_comparable.hpp", + "external/sources/boost/poly_collection/detail/iterator_impl.hpp", + "external/sources/boost/poly_collection/detail/iterator_traits.hpp", + "external/sources/boost/poly_collection/detail/packed_segment.hpp", + "external/sources/boost/poly_collection/detail/poly_collection.hpp", + "external/sources/boost/poly_collection/detail/segment.hpp", + "external/sources/boost/poly_collection/detail/segment_backend.hpp", + "external/sources/boost/poly_collection/detail/segment_split.hpp", + "external/sources/boost/poly_collection/detail/split_segment.hpp", + "external/sources/boost/poly_collection/detail/stride_iterator.hpp", + "external/sources/boost/poly_collection/detail/type_info_map.hpp", + "external/sources/boost/poly_collection/detail/type_restitution.hpp", + "external/sources/boost/poly_collection/detail/value_holder.hpp", + "external/sources/boost/poly_collection/exception.hpp", + "external/sources/boost/poly_collection/function_collection.hpp", + "external/sources/boost/poly_collection/function_collection_fwd.hpp", + "external/sources/boost/polygon/detail/boolean_op.hpp", + "external/sources/boost/polygon/detail/boolean_op_45.hpp", + "external/sources/boost/polygon/detail/iterator_compact_to_points.hpp", + "external/sources/boost/polygon/detail/iterator_geometry_to_set.hpp", + "external/sources/boost/polygon/detail/iterator_points_to_compact.hpp", + "external/sources/boost/polygon/detail/max_cover.hpp", + "external/sources/boost/polygon/detail/minkowski.hpp", + "external/sources/boost/polygon/detail/polygon_45_formation.hpp", + "external/sources/boost/polygon/detail/polygon_45_set_view.hpp", + "external/sources/boost/polygon/detail/polygon_45_touch.hpp", + "external/sources/boost/polygon/detail/polygon_90_set_view.hpp", + "external/sources/boost/polygon/detail/polygon_90_touch.hpp", + "external/sources/boost/polygon/detail/polygon_arbitrary_formation.hpp", + "external/sources/boost/polygon/detail/polygon_formation.hpp", + "external/sources/boost/polygon/detail/polygon_set_view.hpp", + "external/sources/boost/polygon/detail/polygon_simplify.hpp", + "external/sources/boost/polygon/detail/polygon_sort_adaptor.hpp", + "external/sources/boost/polygon/detail/property_merge.hpp", + "external/sources/boost/polygon/detail/property_merge_45.hpp", + "external/sources/boost/polygon/detail/rectangle_formation.hpp", + "external/sources/boost/polygon/detail/scan_arbitrary.hpp", + "external/sources/boost/polygon/detail/voronoi_ctypes.hpp", + "external/sources/boost/polygon/detail/voronoi_predicates.hpp", + "external/sources/boost/polygon/detail/voronoi_robust_fpt.hpp", + "external/sources/boost/polygon/detail/voronoi_structures.hpp", + "external/sources/boost/polygon/gmp_override.hpp", + "external/sources/boost/polygon/gtl.hpp", + "external/sources/boost/polygon/interval_concept.hpp", + "external/sources/boost/polygon/interval_data.hpp", + "external/sources/boost/polygon/interval_traits.hpp", + "external/sources/boost/polygon/isotropy.hpp", + "external/sources/boost/polygon/point_concept.hpp", + "external/sources/boost/polygon/point_data.hpp", + "external/sources/boost/polygon/point_traits.hpp", + "external/sources/boost/polygon/polygon.hpp", + "external/sources/boost/polygon/polygon_45_data.hpp", + "external/sources/boost/polygon/polygon_45_set_concept.hpp", + "external/sources/boost/polygon/polygon_45_set_data.hpp", + "external/sources/boost/polygon/polygon_45_set_traits.hpp", + "external/sources/boost/polygon/polygon_45_with_holes_data.hpp", + "external/sources/boost/polygon/polygon_90_data.hpp", + "external/sources/boost/polygon/polygon_90_set_concept.hpp", + "external/sources/boost/polygon/polygon_90_set_data.hpp", + "external/sources/boost/polygon/polygon_90_set_traits.hpp", + "external/sources/boost/polygon/polygon_90_with_holes_data.hpp", + "external/sources/boost/polygon/polygon_data.hpp", + "external/sources/boost/polygon/polygon_set_concept.hpp", + "external/sources/boost/polygon/polygon_set_data.hpp", + "external/sources/boost/polygon/polygon_set_traits.hpp", + "external/sources/boost/polygon/polygon_traits.hpp", + "external/sources/boost/polygon/polygon_with_holes_data.hpp", + "external/sources/boost/polygon/rectangle_concept.hpp", + "external/sources/boost/polygon/rectangle_data.hpp", + "external/sources/boost/polygon/rectangle_traits.hpp", + "external/sources/boost/polygon/segment_concept.hpp", + "external/sources/boost/polygon/segment_data.hpp", + "external/sources/boost/polygon/segment_traits.hpp", + "external/sources/boost/polygon/segment_utils.hpp", + "external/sources/boost/polygon/transform.hpp", + "external/sources/boost/polygon/voronoi.hpp", + "external/sources/boost/polygon/voronoi_builder.hpp", + "external/sources/boost/polygon/voronoi_diagram.hpp", + "external/sources/boost/polygon/voronoi_geometry_type.hpp", + "external/sources/boost/polymorphic_cast.hpp", + "external/sources/boost/polymorphic_pointer_cast.hpp", + "external/sources/boost/pool/detail/for.m4", + "external/sources/boost/pool/detail/guard.hpp", + "external/sources/boost/pool/detail/mutex.hpp", + "external/sources/boost/pool/detail/pool_construct.bat", + "external/sources/boost/pool/detail/pool_construct.ipp", + "external/sources/boost/pool/detail/pool_construct.m4", + "external/sources/boost/pool/detail/pool_construct.sh", + "external/sources/boost/pool/detail/pool_construct_simple.bat", + "external/sources/boost/pool/detail/pool_construct_simple.ipp", + "external/sources/boost/pool/detail/pool_construct_simple.m4", + "external/sources/boost/pool/detail/pool_construct_simple.sh", + "external/sources/boost/pool/object_pool.hpp", + "external/sources/boost/pool/pool.hpp", + "external/sources/boost/pool/pool_alloc.hpp", + "external/sources/boost/pool/poolfwd.hpp", + "external/sources/boost/pool/simple_segregated_storage.hpp", + "external/sources/boost/pool/singleton_pool.hpp", + "external/sources/boost/predef.h", + "external/sources/boost/predef/architecture.h", + "external/sources/boost/predef/architecture/alpha.h", + "external/sources/boost/predef/architecture/arm.h", + "external/sources/boost/predef/architecture/blackfin.h", + "external/sources/boost/predef/architecture/convex.h", + "external/sources/boost/predef/architecture/ia64.h", + "external/sources/boost/predef/architecture/m68k.h", + "external/sources/boost/predef/architecture/mips.h", + "external/sources/boost/predef/architecture/parisc.h", + "external/sources/boost/predef/architecture/ppc.h", + "external/sources/boost/predef/architecture/ptx.h", + "external/sources/boost/predef/architecture/pyramid.h", + "external/sources/boost/predef/architecture/riscv.h", + "external/sources/boost/predef/architecture/rs6k.h", + "external/sources/boost/predef/architecture/sparc.h", + "external/sources/boost/predef/architecture/superh.h", + "external/sources/boost/predef/architecture/sys370.h", + "external/sources/boost/predef/architecture/sys390.h", + "external/sources/boost/predef/architecture/x86.h", + "external/sources/boost/predef/architecture/x86/32.h", + "external/sources/boost/predef/architecture/x86/64.h", + "external/sources/boost/predef/architecture/z.h", + "external/sources/boost/predef/compiler.h", + "external/sources/boost/predef/compiler/borland.h", + "external/sources/boost/predef/compiler/clang.h", + "external/sources/boost/predef/compiler/comeau.h", + "external/sources/boost/predef/compiler/compaq.h", + "external/sources/boost/predef/compiler/diab.h", + "external/sources/boost/predef/compiler/digitalmars.h", + "external/sources/boost/predef/compiler/dignus.h", + "external/sources/boost/predef/compiler/edg.h", + "external/sources/boost/predef/compiler/ekopath.h", + "external/sources/boost/predef/compiler/gcc.h", + "external/sources/boost/predef/compiler/gcc_xml.h", + "external/sources/boost/predef/compiler/greenhills.h", + "external/sources/boost/predef/compiler/hp_acc.h", + "external/sources/boost/predef/compiler/iar.h", + "external/sources/boost/predef/compiler/ibm.h", + "external/sources/boost/predef/compiler/intel.h", + "external/sources/boost/predef/compiler/kai.h", + "external/sources/boost/predef/compiler/llvm.h", + "external/sources/boost/predef/compiler/metaware.h", + "external/sources/boost/predef/compiler/metrowerks.h", + "external/sources/boost/predef/compiler/microtec.h", + "external/sources/boost/predef/compiler/mpw.h", + "external/sources/boost/predef/compiler/nvcc.h", + "external/sources/boost/predef/compiler/palm.h", + "external/sources/boost/predef/compiler/pgi.h", + "external/sources/boost/predef/compiler/sgi_mipspro.h", + "external/sources/boost/predef/compiler/sunpro.h", + "external/sources/boost/predef/compiler/tendra.h", + "external/sources/boost/predef/compiler/visualc.h", + "external/sources/boost/predef/compiler/watcom.h", + "external/sources/boost/predef/detail/_cassert.h", + "external/sources/boost/predef/detail/_exception.h", + "external/sources/boost/predef/detail/comp_detected.h", + "external/sources/boost/predef/detail/os_detected.h", + "external/sources/boost/predef/detail/platform_detected.h", + "external/sources/boost/predef/detail/test.h", + "external/sources/boost/predef/detail/test_def.h", + "external/sources/boost/predef/hardware.h", + "external/sources/boost/predef/hardware/simd.h", + "external/sources/boost/predef/hardware/simd/arm.h", + "external/sources/boost/predef/hardware/simd/arm/versions.h", + "external/sources/boost/predef/hardware/simd/ppc.h", + "external/sources/boost/predef/hardware/simd/ppc/versions.h", + "external/sources/boost/predef/hardware/simd/x86.h", + "external/sources/boost/predef/hardware/simd/x86/versions.h", + "external/sources/boost/predef/hardware/simd/x86_amd.h", + "external/sources/boost/predef/hardware/simd/x86_amd/versions.h", + "external/sources/boost/predef/language.h", + "external/sources/boost/predef/language/cuda.h", + "external/sources/boost/predef/language/objc.h", + "external/sources/boost/predef/language/stdc.h", + "external/sources/boost/predef/language/stdcpp.h", + "external/sources/boost/predef/library.h", + "external/sources/boost/predef/library/c.h", + "external/sources/boost/predef/library/c/_prefix.h", + "external/sources/boost/predef/library/c/cloudabi.h", + "external/sources/boost/predef/library/c/gnu.h", + "external/sources/boost/predef/library/c/uc.h", + "external/sources/boost/predef/library/c/vms.h", + "external/sources/boost/predef/library/c/zos.h", + "external/sources/boost/predef/library/std.h", + "external/sources/boost/predef/library/std/_prefix.h", + "external/sources/boost/predef/library/std/cxx.h", + "external/sources/boost/predef/library/std/dinkumware.h", + "external/sources/boost/predef/library/std/libcomo.h", + "external/sources/boost/predef/library/std/modena.h", + "external/sources/boost/predef/library/std/msl.h", + "external/sources/boost/predef/library/std/roguewave.h", + "external/sources/boost/predef/library/std/sgi.h", + "external/sources/boost/predef/library/std/stdcpp3.h", + "external/sources/boost/predef/library/std/stlport.h", + "external/sources/boost/predef/library/std/vacpp.h", + "external/sources/boost/predef/make.h", + "external/sources/boost/predef/os.h", + "external/sources/boost/predef/os/aix.h", + "external/sources/boost/predef/os/amigaos.h", + "external/sources/boost/predef/os/beos.h", + "external/sources/boost/predef/os/bsd.h", + "external/sources/boost/predef/os/bsd/bsdi.h", + "external/sources/boost/predef/os/bsd/dragonfly.h", + "external/sources/boost/predef/os/bsd/free.h", + "external/sources/boost/predef/os/bsd/net.h", + "external/sources/boost/predef/os/bsd/open.h", + "external/sources/boost/predef/os/cygwin.h", + "external/sources/boost/predef/os/haiku.h", + "external/sources/boost/predef/os/hpux.h", + "external/sources/boost/predef/os/ios.h", + "external/sources/boost/predef/os/irix.h", + "external/sources/boost/predef/os/linux.h", + "external/sources/boost/predef/os/macos.h", + "external/sources/boost/predef/os/os400.h", + "external/sources/boost/predef/os/qnxnto.h", + "external/sources/boost/predef/os/solaris.h", + "external/sources/boost/predef/os/unix.h", + "external/sources/boost/predef/os/vms.h", + "external/sources/boost/predef/os/windows.h", + "external/sources/boost/predef/other.h", + "external/sources/boost/predef/other/endian.h", + "external/sources/boost/predef/other/workaround.h", + "external/sources/boost/predef/platform.h", + "external/sources/boost/predef/platform/android.h", + "external/sources/boost/predef/platform/cloudabi.h", + "external/sources/boost/predef/platform/ios.h", + "external/sources/boost/predef/platform/mingw.h", + "external/sources/boost/predef/platform/mingw32.h", + "external/sources/boost/predef/platform/mingw64.h", + "external/sources/boost/predef/platform/windows_desktop.h", + "external/sources/boost/predef/platform/windows_phone.h", + "external/sources/boost/predef/platform/windows_runtime.h", + "external/sources/boost/predef/platform/windows_server.h", + "external/sources/boost/predef/platform/windows_store.h", + "external/sources/boost/predef/platform/windows_system.h", + "external/sources/boost/predef/platform/windows_uwp.h", + "external/sources/boost/predef/version.h", + "external/sources/boost/predef/version_number.h", + "external/sources/boost/preprocessor.hpp", + "external/sources/boost/preprocessor/arithmetic.hpp", + "external/sources/boost/preprocessor/arithmetic/add.hpp", + "external/sources/boost/preprocessor/arithmetic/dec.hpp", + "external/sources/boost/preprocessor/arithmetic/detail/div_base.hpp", + "external/sources/boost/preprocessor/arithmetic/div.hpp", + "external/sources/boost/preprocessor/arithmetic/inc.hpp", + "external/sources/boost/preprocessor/arithmetic/mod.hpp", + "external/sources/boost/preprocessor/arithmetic/mul.hpp", + "external/sources/boost/preprocessor/arithmetic/sub.hpp", + "external/sources/boost/preprocessor/array.hpp", + "external/sources/boost/preprocessor/array/data.hpp", + "external/sources/boost/preprocessor/array/detail/get_data.hpp", + "external/sources/boost/preprocessor/array/elem.hpp", + "external/sources/boost/preprocessor/array/enum.hpp", + "external/sources/boost/preprocessor/array/insert.hpp", + "external/sources/boost/preprocessor/array/pop_back.hpp", + "external/sources/boost/preprocessor/array/pop_front.hpp", + "external/sources/boost/preprocessor/array/push_back.hpp", + "external/sources/boost/preprocessor/array/push_front.hpp", + "external/sources/boost/preprocessor/array/remove.hpp", + "external/sources/boost/preprocessor/array/replace.hpp", + "external/sources/boost/preprocessor/array/reverse.hpp", + "external/sources/boost/preprocessor/array/size.hpp", + "external/sources/boost/preprocessor/array/to_list.hpp", + "external/sources/boost/preprocessor/array/to_seq.hpp", + "external/sources/boost/preprocessor/array/to_tuple.hpp", + "external/sources/boost/preprocessor/assert_msg.hpp", + "external/sources/boost/preprocessor/cat.hpp", + "external/sources/boost/preprocessor/comma.hpp", + "external/sources/boost/preprocessor/comma_if.hpp", + "external/sources/boost/preprocessor/comparison.hpp", + "external/sources/boost/preprocessor/comparison/equal.hpp", + "external/sources/boost/preprocessor/comparison/greater.hpp", + "external/sources/boost/preprocessor/comparison/greater_equal.hpp", + "external/sources/boost/preprocessor/comparison/less.hpp", + "external/sources/boost/preprocessor/comparison/less_equal.hpp", + "external/sources/boost/preprocessor/comparison/not_equal.hpp", + "external/sources/boost/preprocessor/config/config.hpp", + "external/sources/boost/preprocessor/config/limits.hpp", + "external/sources/boost/preprocessor/control.hpp", + "external/sources/boost/preprocessor/control/deduce_d.hpp", + "external/sources/boost/preprocessor/control/detail/dmc/while.hpp", + "external/sources/boost/preprocessor/control/detail/edg/while.hpp", + "external/sources/boost/preprocessor/control/detail/msvc/while.hpp", + "external/sources/boost/preprocessor/control/detail/while.hpp", + "external/sources/boost/preprocessor/control/expr_if.hpp", + "external/sources/boost/preprocessor/control/expr_iif.hpp", + "external/sources/boost/preprocessor/control/if.hpp", + "external/sources/boost/preprocessor/control/iif.hpp", + "external/sources/boost/preprocessor/control/while.hpp", + "external/sources/boost/preprocessor/debug.hpp", + "external/sources/boost/preprocessor/dec.hpp", + "external/sources/boost/preprocessor/detail/auto_rec.hpp", + "external/sources/boost/preprocessor/detail/check.hpp", + "external/sources/boost/preprocessor/detail/dmc/auto_rec.hpp", + "external/sources/boost/preprocessor/detail/is_binary.hpp", + "external/sources/boost/preprocessor/detail/is_nullary.hpp", + "external/sources/boost/preprocessor/detail/is_unary.hpp", + "external/sources/boost/preprocessor/detail/null.hpp", + "external/sources/boost/preprocessor/detail/split.hpp", + "external/sources/boost/preprocessor/empty.hpp", + "external/sources/boost/preprocessor/enum.hpp", + "external/sources/boost/preprocessor/enum_params.hpp", + "external/sources/boost/preprocessor/enum_params_with_a_default.hpp", + "external/sources/boost/preprocessor/enum_params_with_defaults.hpp", + "external/sources/boost/preprocessor/enum_shifted.hpp", + "external/sources/boost/preprocessor/enum_shifted_params.hpp", + "external/sources/boost/preprocessor/expand.hpp", + "external/sources/boost/preprocessor/expr_if.hpp", + "external/sources/boost/preprocessor/facilities.hpp", + "external/sources/boost/preprocessor/facilities/apply.hpp", + "external/sources/boost/preprocessor/facilities/check_empty.hpp", + "external/sources/boost/preprocessor/facilities/detail/is_empty.hpp", + "external/sources/boost/preprocessor/facilities/empty.hpp", + "external/sources/boost/preprocessor/facilities/expand.hpp", + "external/sources/boost/preprocessor/facilities/identity.hpp", + "external/sources/boost/preprocessor/facilities/intercept.hpp", + "external/sources/boost/preprocessor/facilities/is_1.hpp", + "external/sources/boost/preprocessor/facilities/is_empty.hpp", + "external/sources/boost/preprocessor/facilities/is_empty_or_1.hpp", + "external/sources/boost/preprocessor/facilities/is_empty_variadic.hpp", + "external/sources/boost/preprocessor/facilities/overload.hpp", + "external/sources/boost/preprocessor/facilities/va_opt.hpp", + "external/sources/boost/preprocessor/for.hpp", + "external/sources/boost/preprocessor/identity.hpp", + "external/sources/boost/preprocessor/if.hpp", + "external/sources/boost/preprocessor/inc.hpp", + "external/sources/boost/preprocessor/iterate.hpp", + "external/sources/boost/preprocessor/iteration.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/lower1.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/lower2.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/lower3.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/lower4.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/lower5.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/upper1.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/upper2.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/upper3.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/upper4.hpp", + "external/sources/boost/preprocessor/iteration/detail/bounds/upper5.hpp", + "external/sources/boost/preprocessor/iteration/detail/finish.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/forward1.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/forward2.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/forward3.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/forward4.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/forward5.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/reverse1.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/reverse2.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/reverse3.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/reverse4.hpp", + "external/sources/boost/preprocessor/iteration/detail/iter/reverse5.hpp", + "external/sources/boost/preprocessor/iteration/detail/local.hpp", + "external/sources/boost/preprocessor/iteration/detail/rlocal.hpp", + "external/sources/boost/preprocessor/iteration/detail/self.hpp", + "external/sources/boost/preprocessor/iteration/detail/start.hpp", + "external/sources/boost/preprocessor/iteration/iterate.hpp", + "external/sources/boost/preprocessor/iteration/local.hpp", + "external/sources/boost/preprocessor/iteration/self.hpp", + "external/sources/boost/preprocessor/library.hpp", + "external/sources/boost/preprocessor/limits.hpp", + "external/sources/boost/preprocessor/list.hpp", + "external/sources/boost/preprocessor/list/adt.hpp", + "external/sources/boost/preprocessor/list/append.hpp", + "external/sources/boost/preprocessor/list/at.hpp", + "external/sources/boost/preprocessor/list/cat.hpp", + "external/sources/boost/preprocessor/list/detail/dmc/fold_left.hpp", + "external/sources/boost/preprocessor/list/detail/edg/fold_left.hpp", + "external/sources/boost/preprocessor/list/detail/edg/fold_right.hpp", + "external/sources/boost/preprocessor/list/detail/fold_left.hpp", + "external/sources/boost/preprocessor/list/detail/fold_right.hpp", + "external/sources/boost/preprocessor/list/enum.hpp", + "external/sources/boost/preprocessor/list/filter.hpp", + "external/sources/boost/preprocessor/list/first_n.hpp", + "external/sources/boost/preprocessor/list/fold_left.hpp", + "external/sources/boost/preprocessor/list/fold_right.hpp", + "external/sources/boost/preprocessor/list/for_each.hpp", + "external/sources/boost/preprocessor/list/for_each_i.hpp", + "external/sources/boost/preprocessor/list/for_each_product.hpp", + "external/sources/boost/preprocessor/list/rest_n.hpp", + "external/sources/boost/preprocessor/list/reverse.hpp", + "external/sources/boost/preprocessor/list/size.hpp", + "external/sources/boost/preprocessor/list/to_array.hpp", + "external/sources/boost/preprocessor/list/to_seq.hpp", + "external/sources/boost/preprocessor/list/to_tuple.hpp", + "external/sources/boost/preprocessor/list/transform.hpp", + "external/sources/boost/preprocessor/logical.hpp", + "external/sources/boost/preprocessor/logical/and.hpp", + "external/sources/boost/preprocessor/logical/bitand.hpp", + "external/sources/boost/preprocessor/logical/bitnor.hpp", + "external/sources/boost/preprocessor/logical/bitor.hpp", + "external/sources/boost/preprocessor/logical/bitxor.hpp", + "external/sources/boost/preprocessor/logical/bool.hpp", + "external/sources/boost/preprocessor/logical/compl.hpp", + "external/sources/boost/preprocessor/logical/nor.hpp", + "external/sources/boost/preprocessor/logical/not.hpp", + "external/sources/boost/preprocessor/logical/or.hpp", + "external/sources/boost/preprocessor/logical/xor.hpp", + "external/sources/boost/preprocessor/max.hpp", + "external/sources/boost/preprocessor/min.hpp", + "external/sources/boost/preprocessor/punctuation.hpp", + "external/sources/boost/preprocessor/punctuation/comma.hpp", + "external/sources/boost/preprocessor/punctuation/comma_if.hpp", + "external/sources/boost/preprocessor/punctuation/detail/is_begin_parens.hpp", + "external/sources/boost/preprocessor/punctuation/is_begin_parens.hpp", + "external/sources/boost/preprocessor/punctuation/paren.hpp", + "external/sources/boost/preprocessor/punctuation/paren_if.hpp", + "external/sources/boost/preprocessor/punctuation/remove_parens.hpp", + "external/sources/boost/preprocessor/repeat.hpp", + "external/sources/boost/preprocessor/repeat_2nd.hpp", + "external/sources/boost/preprocessor/repeat_3rd.hpp", + "external/sources/boost/preprocessor/repeat_from_to.hpp", + "external/sources/boost/preprocessor/repeat_from_to_2nd.hpp", + "external/sources/boost/preprocessor/repeat_from_to_3rd.hpp", + "external/sources/boost/preprocessor/repetition.hpp", + "external/sources/boost/preprocessor/repetition/deduce_r.hpp", + "external/sources/boost/preprocessor/repetition/deduce_z.hpp", + "external/sources/boost/preprocessor/repetition/detail/dmc/for.hpp", + "external/sources/boost/preprocessor/repetition/detail/edg/for.hpp", + "external/sources/boost/preprocessor/repetition/detail/for.hpp", + "external/sources/boost/preprocessor/repetition/detail/msvc/for.hpp", + "external/sources/boost/preprocessor/repetition/enum.hpp", + "external/sources/boost/preprocessor/repetition/enum_binary_params.hpp", + "external/sources/boost/preprocessor/repetition/enum_params.hpp", + "external/sources/boost/preprocessor/repetition/enum_params_with_a_default.hpp", + "external/sources/boost/preprocessor/repetition/enum_params_with_defaults.hpp", + "external/sources/boost/preprocessor/repetition/enum_shifted.hpp", + "external/sources/boost/preprocessor/repetition/enum_shifted_binary_params.hpp", + "external/sources/boost/preprocessor/repetition/enum_shifted_params.hpp", + "external/sources/boost/preprocessor/repetition/enum_trailing.hpp", + "external/sources/boost/preprocessor/repetition/enum_trailing_binary_params.hpp", + "external/sources/boost/preprocessor/repetition/enum_trailing_params.hpp", + "external/sources/boost/preprocessor/repetition/for.hpp", + "external/sources/boost/preprocessor/repetition/repeat.hpp", + "external/sources/boost/preprocessor/repetition/repeat_from_to.hpp", + "external/sources/boost/preprocessor/selection.hpp", + "external/sources/boost/preprocessor/selection/max.hpp", + "external/sources/boost/preprocessor/selection/min.hpp", + "external/sources/boost/preprocessor/seq.hpp", + "external/sources/boost/preprocessor/seq/cat.hpp", + "external/sources/boost/preprocessor/seq/detail/binary_transform.hpp", + "external/sources/boost/preprocessor/seq/detail/is_empty.hpp", + "external/sources/boost/preprocessor/seq/detail/split.hpp", + "external/sources/boost/preprocessor/seq/detail/to_list_msvc.hpp", + "external/sources/boost/preprocessor/seq/elem.hpp", + "external/sources/boost/preprocessor/seq/enum.hpp", + "external/sources/boost/preprocessor/seq/filter.hpp", + "external/sources/boost/preprocessor/seq/first_n.hpp", + "external/sources/boost/preprocessor/seq/fold_left.hpp", + "external/sources/boost/preprocessor/seq/fold_right.hpp", + "external/sources/boost/preprocessor/seq/for_each.hpp", + "external/sources/boost/preprocessor/seq/for_each_i.hpp", + "external/sources/boost/preprocessor/seq/for_each_product.hpp", + "external/sources/boost/preprocessor/seq/insert.hpp", + "external/sources/boost/preprocessor/seq/pop_back.hpp", + "external/sources/boost/preprocessor/seq/pop_front.hpp", + "external/sources/boost/preprocessor/seq/push_back.hpp", + "external/sources/boost/preprocessor/seq/push_front.hpp", + "external/sources/boost/preprocessor/seq/remove.hpp", + "external/sources/boost/preprocessor/seq/replace.hpp", + "external/sources/boost/preprocessor/seq/rest_n.hpp", + "external/sources/boost/preprocessor/seq/reverse.hpp", + "external/sources/boost/preprocessor/seq/seq.hpp", + "external/sources/boost/preprocessor/seq/size.hpp", + "external/sources/boost/preprocessor/seq/subseq.hpp", + "external/sources/boost/preprocessor/seq/to_array.hpp", + "external/sources/boost/preprocessor/seq/to_list.hpp", + "external/sources/boost/preprocessor/seq/to_tuple.hpp", + "external/sources/boost/preprocessor/seq/transform.hpp", + "external/sources/boost/preprocessor/seq/variadic_seq_to_seq.hpp", + "external/sources/boost/preprocessor/slot.hpp", + "external/sources/boost/preprocessor/slot/counter.hpp", + "external/sources/boost/preprocessor/slot/detail/counter.hpp", + "external/sources/boost/preprocessor/slot/detail/def.hpp", + "external/sources/boost/preprocessor/slot/detail/shared.hpp", + "external/sources/boost/preprocessor/slot/detail/slot1.hpp", + "external/sources/boost/preprocessor/slot/detail/slot2.hpp", + "external/sources/boost/preprocessor/slot/detail/slot3.hpp", + "external/sources/boost/preprocessor/slot/detail/slot4.hpp", + "external/sources/boost/preprocessor/slot/detail/slot5.hpp", + "external/sources/boost/preprocessor/slot/slot.hpp", + "external/sources/boost/preprocessor/stringize.hpp", + "external/sources/boost/preprocessor/tuple.hpp", + "external/sources/boost/preprocessor/tuple/detail/is_single_return.hpp", + "external/sources/boost/preprocessor/tuple/eat.hpp", + "external/sources/boost/preprocessor/tuple/elem.hpp", + "external/sources/boost/preprocessor/tuple/enum.hpp", + "external/sources/boost/preprocessor/tuple/insert.hpp", + "external/sources/boost/preprocessor/tuple/pop_back.hpp", + "external/sources/boost/preprocessor/tuple/pop_front.hpp", + "external/sources/boost/preprocessor/tuple/push_back.hpp", + "external/sources/boost/preprocessor/tuple/push_front.hpp", + "external/sources/boost/preprocessor/tuple/rem.hpp", + "external/sources/boost/preprocessor/tuple/remove.hpp", + "external/sources/boost/preprocessor/tuple/replace.hpp", + "external/sources/boost/preprocessor/tuple/reverse.hpp", + "external/sources/boost/preprocessor/tuple/size.hpp", + "external/sources/boost/preprocessor/tuple/to_array.hpp", + "external/sources/boost/preprocessor/tuple/to_list.hpp", + "external/sources/boost/preprocessor/tuple/to_seq.hpp", + "external/sources/boost/preprocessor/variadic.hpp", + "external/sources/boost/preprocessor/variadic/detail/has_opt.hpp", + "external/sources/boost/preprocessor/variadic/detail/is_single_return.hpp", + "external/sources/boost/preprocessor/variadic/elem.hpp", + "external/sources/boost/preprocessor/variadic/has_opt.hpp", + "external/sources/boost/preprocessor/variadic/size.hpp", + "external/sources/boost/preprocessor/variadic/to_array.hpp", + "external/sources/boost/preprocessor/variadic/to_list.hpp", + "external/sources/boost/preprocessor/variadic/to_seq.hpp", + "external/sources/boost/preprocessor/variadic/to_tuple.hpp", + "external/sources/boost/preprocessor/while.hpp", + "external/sources/boost/preprocessor/wstringize.hpp", + "external/sources/boost/process.hpp", + "external/sources/boost/process/args.hpp", + "external/sources/boost/process/async.hpp", + "external/sources/boost/process/async_pipe.hpp", + "external/sources/boost/process/async_system.hpp", + "external/sources/boost/process/child.hpp", + "external/sources/boost/process/cmd.hpp", + "external/sources/boost/process/detail/async_handler.hpp", + "external/sources/boost/process/detail/basic_cmd.hpp", + "external/sources/boost/process/detail/child_decl.hpp", + "external/sources/boost/process/detail/config.hpp", + "external/sources/boost/process/detail/execute_impl.hpp", + "external/sources/boost/process/detail/handler.hpp", + "external/sources/boost/process/detail/handler_base.hpp", + "external/sources/boost/process/detail/on_exit.hpp", + "external/sources/boost/process/detail/posix/asio_fwd.hpp", + "external/sources/boost/process/detail/posix/async_handler.hpp", + "external/sources/boost/process/detail/posix/async_in.hpp", + "external/sources/boost/process/detail/posix/async_out.hpp", + "external/sources/boost/process/detail/posix/async_pipe.hpp", + "external/sources/boost/process/detail/posix/basic_cmd.hpp", + "external/sources/boost/process/detail/posix/basic_pipe.hpp", + "external/sources/boost/process/detail/posix/child_handle.hpp", + "external/sources/boost/process/detail/posix/close_in.hpp", + "external/sources/boost/process/detail/posix/close_out.hpp", + "external/sources/boost/process/detail/posix/cmd.hpp", + "external/sources/boost/process/detail/posix/compare_handles.hpp", + "external/sources/boost/process/detail/posix/env_init.hpp", + "external/sources/boost/process/detail/posix/environment.hpp", + "external/sources/boost/process/detail/posix/exe.hpp", + "external/sources/boost/process/detail/posix/executor.hpp", + "external/sources/boost/process/detail/posix/fd.hpp", + "external/sources/boost/process/detail/posix/file_descriptor.hpp", + "external/sources/boost/process/detail/posix/file_in.hpp", + "external/sources/boost/process/detail/posix/file_out.hpp", + "external/sources/boost/process/detail/posix/group_handle.hpp", + "external/sources/boost/process/detail/posix/group_ref.hpp", + "external/sources/boost/process/detail/posix/handler.hpp", + "external/sources/boost/process/detail/posix/handles.hpp", + "external/sources/boost/process/detail/posix/io_context_ref.hpp", + "external/sources/boost/process/detail/posix/is_running.hpp", + "external/sources/boost/process/detail/posix/null_in.hpp", + "external/sources/boost/process/detail/posix/null_out.hpp", + "external/sources/boost/process/detail/posix/on_exit.hpp", + "external/sources/boost/process/detail/posix/pipe_in.hpp", + "external/sources/boost/process/detail/posix/pipe_out.hpp", + "external/sources/boost/process/detail/posix/search_path.hpp", + "external/sources/boost/process/detail/posix/shell_path.hpp", + "external/sources/boost/process/detail/posix/sigchld_service.hpp", + "external/sources/boost/process/detail/posix/signal.hpp", + "external/sources/boost/process/detail/posix/start_dir.hpp", + "external/sources/boost/process/detail/posix/terminate.hpp", + "external/sources/boost/process/detail/posix/use_vfork.hpp", + "external/sources/boost/process/detail/posix/wait_for_exit.hpp", + "external/sources/boost/process/detail/posix/wait_group.hpp", + "external/sources/boost/process/detail/throw_on_error.hpp", + "external/sources/boost/process/detail/traits.hpp", + "external/sources/boost/process/detail/traits/async.hpp", + "external/sources/boost/process/detail/traits/cmd_or_exe.hpp", + "external/sources/boost/process/detail/traits/decl.hpp", + "external/sources/boost/process/detail/traits/env.hpp", + "external/sources/boost/process/detail/traits/error.hpp", + "external/sources/boost/process/detail/traits/group.hpp", + "external/sources/boost/process/detail/traits/wchar_t.hpp", + "external/sources/boost/process/detail/used_handles.hpp", + "external/sources/boost/process/detail/windows/asio_fwd.hpp", + "external/sources/boost/process/detail/windows/async_handler.hpp", + "external/sources/boost/process/detail/windows/async_in.hpp", + "external/sources/boost/process/detail/windows/async_out.hpp", + "external/sources/boost/process/detail/windows/async_pipe.hpp", + "external/sources/boost/process/detail/windows/basic_cmd.hpp", + "external/sources/boost/process/detail/windows/basic_pipe.hpp", + "external/sources/boost/process/detail/windows/child_handle.hpp", + "external/sources/boost/process/detail/windows/close_in.hpp", + "external/sources/boost/process/detail/windows/close_out.hpp", + "external/sources/boost/process/detail/windows/cmd.hpp", + "external/sources/boost/process/detail/windows/compare_handles.hpp", + "external/sources/boost/process/detail/windows/env_init.hpp", + "external/sources/boost/process/detail/windows/environment.hpp", + "external/sources/boost/process/detail/windows/executor.hpp", + "external/sources/boost/process/detail/windows/file_descriptor.hpp", + "external/sources/boost/process/detail/windows/file_in.hpp", + "external/sources/boost/process/detail/windows/file_out.hpp", + "external/sources/boost/process/detail/windows/group_handle.hpp", + "external/sources/boost/process/detail/windows/group_ref.hpp", + "external/sources/boost/process/detail/windows/handle_workaround.hpp", + "external/sources/boost/process/detail/windows/handler.hpp", + "external/sources/boost/process/detail/windows/handles.hpp", + "external/sources/boost/process/detail/windows/io_context_ref.hpp", + "external/sources/boost/process/detail/windows/is_running.hpp", + "external/sources/boost/process/detail/windows/job_workaround.hpp", + "external/sources/boost/process/detail/windows/locale.hpp", + "external/sources/boost/process/detail/windows/null_in.hpp", + "external/sources/boost/process/detail/windows/null_out.hpp", + "external/sources/boost/process/detail/windows/on_exit.hpp", + "external/sources/boost/process/detail/windows/pipe_in.hpp", + "external/sources/boost/process/detail/windows/pipe_out.hpp", + "external/sources/boost/process/detail/windows/search_path.hpp", + "external/sources/boost/process/detail/windows/shell_path.hpp", + "external/sources/boost/process/detail/windows/show_window.hpp", + "external/sources/boost/process/detail/windows/start_dir.hpp", + "external/sources/boost/process/detail/windows/terminate.hpp", + "external/sources/boost/process/detail/windows/wait_for_exit.hpp", + "external/sources/boost/process/detail/windows/wait_group.hpp", + "external/sources/boost/process/env.hpp", + "external/sources/boost/process/environment.hpp", + "external/sources/boost/process/error.hpp", + "external/sources/boost/process/exception.hpp", + "external/sources/boost/process/exe.hpp", + "external/sources/boost/process/extend.hpp", + "external/sources/boost/process/group.hpp", + "external/sources/boost/process/handles.hpp", + "external/sources/boost/process/io.hpp", + "external/sources/boost/process/locale.hpp", + "external/sources/boost/process/pipe.hpp", + "external/sources/boost/process/posix.hpp", + "external/sources/boost/process/search_path.hpp", + "external/sources/boost/process/shell.hpp", + "external/sources/boost/process/spawn.hpp", + "external/sources/boost/process/start_dir.hpp", + "external/sources/boost/process/system.hpp", + "external/sources/boost/process/windows.hpp", + "external/sources/boost/program_options.hpp", + "external/sources/boost/program_options/cmdline.hpp", + "external/sources/boost/program_options/config.hpp", + "external/sources/boost/program_options/detail/cmdline.hpp", + "external/sources/boost/program_options/detail/config_file.hpp", + "external/sources/boost/program_options/detail/convert.hpp", + "external/sources/boost/program_options/detail/parsers.hpp", + "external/sources/boost/program_options/detail/utf8_codecvt_facet.hpp", + "external/sources/boost/program_options/detail/value_semantic.hpp", + "external/sources/boost/program_options/environment_iterator.hpp", + "external/sources/boost/program_options/eof_iterator.hpp", + "external/sources/boost/program_options/errors.hpp", + "external/sources/boost/program_options/option.hpp", + "external/sources/boost/program_options/options_description.hpp", + "external/sources/boost/program_options/parsers.hpp", + "external/sources/boost/program_options/positional_options.hpp", + "external/sources/boost/program_options/value_semantic.hpp", + "external/sources/boost/program_options/variables_map.hpp", + "external/sources/boost/program_options/version.hpp", + "external/sources/boost/progress.hpp", + "external/sources/boost/property_map/compose_property_map.hpp", + "external/sources/boost/property_map/dynamic_property_map.hpp", + "external/sources/boost/property_map/function_property_map.hpp", + "external/sources/boost/property_map/parallel/basic_reduce.hpp", + "external/sources/boost/property_map/parallel/caching_property_map.hpp", + "external/sources/boost/property_map/parallel/detail/untracked_pair.hpp", + "external/sources/boost/property_map/parallel/distributed_property_map.hpp", + "external/sources/boost/property_map/parallel/global_index_map.hpp", + "external/sources/boost/property_map/parallel/impl/distributed_property_map.ipp", + "external/sources/boost/property_map/parallel/local_property_map.hpp", + "external/sources/boost/property_map/parallel/parallel_property_maps.hpp", + "external/sources/boost/property_map/parallel/process_group.hpp", + "external/sources/boost/property_map/parallel/simple_trigger.hpp", + "external/sources/boost/property_map/parallel/unsafe_serialize.hpp", + "external/sources/boost/property_map/parallel/vector_property_map.hpp", + "external/sources/boost/property_map/property_map.hpp", + "external/sources/boost/property_map/property_map_iterator.hpp", + "external/sources/boost/property_map/shared_array_property_map.hpp", + "external/sources/boost/property_map/transform_value_property_map.hpp", + "external/sources/boost/property_map/vector_property_map.hpp", + "external/sources/boost/property_tree/detail/exception_implementation.hpp", + "external/sources/boost/property_tree/detail/file_parser_error.hpp", + "external/sources/boost/property_tree/detail/info_parser_error.hpp", + "external/sources/boost/property_tree/detail/info_parser_read.hpp", + "external/sources/boost/property_tree/detail/info_parser_utils.hpp", + "external/sources/boost/property_tree/detail/info_parser_write.hpp", + "external/sources/boost/property_tree/detail/info_parser_writer_settings.hpp", + "external/sources/boost/property_tree/detail/ptree_implementation.hpp", + "external/sources/boost/property_tree/detail/ptree_utils.hpp", + "external/sources/boost/property_tree/detail/rapidxml.hpp", + "external/sources/boost/property_tree/detail/xml_parser_error.hpp", + "external/sources/boost/property_tree/detail/xml_parser_flags.hpp", + "external/sources/boost/property_tree/detail/xml_parser_read_rapidxml.hpp", + "external/sources/boost/property_tree/detail/xml_parser_utils.hpp", + "external/sources/boost/property_tree/detail/xml_parser_write.hpp", + "external/sources/boost/property_tree/detail/xml_parser_writer_settings.hpp", + "external/sources/boost/property_tree/exceptions.hpp", + "external/sources/boost/property_tree/id_translator.hpp", + "external/sources/boost/property_tree/info_parser.hpp", + "external/sources/boost/property_tree/ini_parser.hpp", + "external/sources/boost/property_tree/json_parser.hpp", + "external/sources/boost/property_tree/json_parser/detail/narrow_encoding.hpp", + "external/sources/boost/property_tree/json_parser/detail/parser.hpp", + "external/sources/boost/property_tree/json_parser/detail/read.hpp", + "external/sources/boost/property_tree/json_parser/detail/standard_callbacks.hpp", + "external/sources/boost/property_tree/json_parser/detail/wide_encoding.hpp", + "external/sources/boost/property_tree/json_parser/detail/write.hpp", + "external/sources/boost/property_tree/json_parser/error.hpp", + "external/sources/boost/property_tree/ptree.hpp", + "external/sources/boost/property_tree/ptree_fwd.hpp", + "external/sources/boost/property_tree/ptree_serialization.hpp", + "external/sources/boost/property_tree/stream_translator.hpp", + "external/sources/boost/property_tree/string_path.hpp", + "external/sources/boost/property_tree/xml_parser.hpp", + "external/sources/boost/proto/args.hpp", + "external/sources/boost/proto/context.hpp", + "external/sources/boost/proto/context/callable.hpp", + "external/sources/boost/proto/context/default.hpp", + "external/sources/boost/proto/context/detail/callable_eval.hpp", + "external/sources/boost/proto/context/detail/default_eval.hpp", + "external/sources/boost/proto/context/detail/null_eval.hpp", + "external/sources/boost/proto/context/detail/preprocessed/callable_eval.hpp", + "external/sources/boost/proto/context/detail/preprocessed/default_eval.hpp", + "external/sources/boost/proto/context/detail/preprocessed/null_eval.hpp", + "external/sources/boost/proto/context/null.hpp", + "external/sources/boost/proto/core.hpp", + "external/sources/boost/proto/debug.hpp", + "external/sources/boost/proto/deep_copy.hpp", + "external/sources/boost/proto/detail/and_n.hpp", + "external/sources/boost/proto/detail/any.hpp", + "external/sources/boost/proto/detail/args.hpp", + "external/sources/boost/proto/detail/as_expr.hpp", + "external/sources/boost/proto/detail/as_lvalue.hpp", + "external/sources/boost/proto/detail/basic_expr.hpp", + "external/sources/boost/proto/detail/class_member_traits.hpp", + "external/sources/boost/proto/detail/decltype.hpp", + "external/sources/boost/proto/detail/deduce_domain.hpp", + "external/sources/boost/proto/detail/deduce_domain_n.hpp", + "external/sources/boost/proto/detail/deep_copy.hpp", + "external/sources/boost/proto/detail/deprecated.hpp", + "external/sources/boost/proto/detail/dont_care.hpp", + "external/sources/boost/proto/detail/expr.hpp", + "external/sources/boost/proto/detail/expr_funop.hpp", + "external/sources/boost/proto/detail/extends_funop.hpp", + "external/sources/boost/proto/detail/extends_funop_const.hpp", + "external/sources/boost/proto/detail/funop.hpp", + "external/sources/boost/proto/detail/generate_by_value.hpp", + "external/sources/boost/proto/detail/ignore_unused.hpp", + "external/sources/boost/proto/detail/is_noncopyable.hpp", + "external/sources/boost/proto/detail/lambda_matches.hpp", + "external/sources/boost/proto/detail/local.hpp", + "external/sources/boost/proto/detail/make_expr.hpp", + "external/sources/boost/proto/detail/make_expr_.hpp", + "external/sources/boost/proto/detail/make_expr_funop.hpp", + "external/sources/boost/proto/detail/matches_.hpp", + "external/sources/boost/proto/detail/memfun_funop.hpp", + "external/sources/boost/proto/detail/or_n.hpp", + "external/sources/boost/proto/detail/poly_function.hpp", + "external/sources/boost/proto/detail/poly_function_funop.hpp", + "external/sources/boost/proto/detail/poly_function_traits.hpp", + "external/sources/boost/proto/detail/preprocessed/and_n.hpp", + "external/sources/boost/proto/detail/preprocessed/args.hpp", + "external/sources/boost/proto/detail/preprocessed/basic_expr.hpp", + "external/sources/boost/proto/detail/preprocessed/class_member_traits.hpp", + "external/sources/boost/proto/detail/preprocessed/deduce_domain_n.hpp", + "external/sources/boost/proto/detail/preprocessed/deep_copy.hpp", + "external/sources/boost/proto/detail/preprocessed/expr.hpp", + "external/sources/boost/proto/detail/preprocessed/expr_variadic.hpp", + "external/sources/boost/proto/detail/preprocessed/extends_funop.hpp", + "external/sources/boost/proto/detail/preprocessed/extends_funop_const.hpp", + "external/sources/boost/proto/detail/preprocessed/funop.hpp", + "external/sources/boost/proto/detail/preprocessed/generate_by_value.hpp", + "external/sources/boost/proto/detail/preprocessed/lambda_matches.hpp", + "external/sources/boost/proto/detail/preprocessed/make_expr.hpp", + "external/sources/boost/proto/detail/preprocessed/make_expr_.hpp", + "external/sources/boost/proto/detail/preprocessed/make_expr_funop.hpp", + "external/sources/boost/proto/detail/preprocessed/matches_.hpp", + "external/sources/boost/proto/detail/preprocessed/memfun_funop.hpp", + "external/sources/boost/proto/detail/preprocessed/or_n.hpp", + "external/sources/boost/proto/detail/preprocessed/poly_function_funop.hpp", + "external/sources/boost/proto/detail/preprocessed/poly_function_traits.hpp", + "external/sources/boost/proto/detail/preprocessed/template_arity_helper.hpp", + "external/sources/boost/proto/detail/preprocessed/traits.hpp", + "external/sources/boost/proto/detail/preprocessed/unpack_expr_.hpp", + "external/sources/boost/proto/detail/preprocessed/vararg_matches_impl.hpp", + "external/sources/boost/proto/detail/remove_typename.hpp", + "external/sources/boost/proto/detail/static_const.hpp", + "external/sources/boost/proto/detail/template_arity.hpp", + "external/sources/boost/proto/detail/template_arity_helper.hpp", + "external/sources/boost/proto/detail/traits.hpp", + "external/sources/boost/proto/detail/unpack_expr_.hpp", + "external/sources/boost/proto/detail/vararg_matches_impl.hpp", + "external/sources/boost/proto/domain.hpp", + "external/sources/boost/proto/eval.hpp", + "external/sources/boost/proto/expr.hpp", + "external/sources/boost/proto/extends.hpp", + "external/sources/boost/proto/functional.hpp", + "external/sources/boost/proto/functional/fusion.hpp", + "external/sources/boost/proto/functional/fusion/at.hpp", + "external/sources/boost/proto/functional/fusion/pop_back.hpp", + "external/sources/boost/proto/functional/fusion/pop_front.hpp", + "external/sources/boost/proto/functional/fusion/push_back.hpp", + "external/sources/boost/proto/functional/fusion/push_front.hpp", + "external/sources/boost/proto/functional/fusion/reverse.hpp", + "external/sources/boost/proto/functional/range.hpp", + "external/sources/boost/proto/functional/range/begin.hpp", + "external/sources/boost/proto/functional/range/empty.hpp", + "external/sources/boost/proto/functional/range/end.hpp", + "external/sources/boost/proto/functional/range/rbegin.hpp", + "external/sources/boost/proto/functional/range/rend.hpp", + "external/sources/boost/proto/functional/range/size.hpp", + "external/sources/boost/proto/functional/std.hpp", + "external/sources/boost/proto/functional/std/iterator.hpp", + "external/sources/boost/proto/functional/std/utility.hpp", + "external/sources/boost/proto/fusion.hpp", + "external/sources/boost/proto/generate.hpp", + "external/sources/boost/proto/literal.hpp", + "external/sources/boost/proto/make_expr.hpp", + "external/sources/boost/proto/matches.hpp", + "external/sources/boost/proto/operators.hpp", + "external/sources/boost/proto/proto.hpp", + "external/sources/boost/proto/proto_fwd.hpp", + "external/sources/boost/proto/proto_typeof.hpp", + "external/sources/boost/proto/repeat.hpp", + "external/sources/boost/proto/tags.hpp", + "external/sources/boost/proto/traits.hpp", + "external/sources/boost/proto/transform.hpp", + "external/sources/boost/proto/transform/arg.hpp", + "external/sources/boost/proto/transform/call.hpp", + "external/sources/boost/proto/transform/default.hpp", + "external/sources/boost/proto/transform/detail/call.hpp", + "external/sources/boost/proto/transform/detail/construct_funop.hpp", + "external/sources/boost/proto/transform/detail/construct_pod_funop.hpp", + "external/sources/boost/proto/transform/detail/default_function_impl.hpp", + "external/sources/boost/proto/transform/detail/expand_pack.hpp", + "external/sources/boost/proto/transform/detail/fold_impl.hpp", + "external/sources/boost/proto/transform/detail/lazy.hpp", + "external/sources/boost/proto/transform/detail/make.hpp", + "external/sources/boost/proto/transform/detail/make_gcc_workaround.hpp", + "external/sources/boost/proto/transform/detail/pack.hpp", + "external/sources/boost/proto/transform/detail/pack_impl.hpp", + "external/sources/boost/proto/transform/detail/pass_through_impl.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/call.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/construct_funop.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/construct_pod_funop.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/default_function_impl.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/expand_pack.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/fold_impl.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/lazy.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/make.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/make_gcc_workaround.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/pack_impl.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/pass_through_impl.hpp", + "external/sources/boost/proto/transform/detail/preprocessed/when.hpp", + "external/sources/boost/proto/transform/detail/when.hpp", + "external/sources/boost/proto/transform/env.hpp", + "external/sources/boost/proto/transform/fold.hpp", + "external/sources/boost/proto/transform/fold_tree.hpp", + "external/sources/boost/proto/transform/impl.hpp", + "external/sources/boost/proto/transform/integral_c.hpp", + "external/sources/boost/proto/transform/lazy.hpp", + "external/sources/boost/proto/transform/make.hpp", + "external/sources/boost/proto/transform/pass_through.hpp", + "external/sources/boost/proto/transform/when.hpp", + "external/sources/boost/ptr_container/clone_allocator.hpp", + "external/sources/boost/ptr_container/detail/associative_ptr_container.hpp", + "external/sources/boost/ptr_container/detail/default_deleter.hpp", + "external/sources/boost/ptr_container/detail/is_convertible.hpp", + "external/sources/boost/ptr_container/detail/map_iterator.hpp", + "external/sources/boost/ptr_container/detail/meta_functions.hpp", + "external/sources/boost/ptr_container/detail/move.hpp", + "external/sources/boost/ptr_container/detail/ptr_container_disable_deprecated.hpp", + "external/sources/boost/ptr_container/detail/reversible_ptr_container.hpp", + "external/sources/boost/ptr_container/detail/scoped_deleter.hpp", + "external/sources/boost/ptr_container/detail/serialize_ptr_map_adapter.hpp", + "external/sources/boost/ptr_container/detail/serialize_reversible_cont.hpp", + "external/sources/boost/ptr_container/detail/serialize_xml_names.hpp", + "external/sources/boost/ptr_container/detail/static_move_ptr.hpp", + "external/sources/boost/ptr_container/detail/throw_exception.hpp", + "external/sources/boost/ptr_container/detail/void_ptr_iterator.hpp", + "external/sources/boost/ptr_container/exception.hpp", + "external/sources/boost/ptr_container/indirect_fun.hpp", + "external/sources/boost/ptr_container/nullable.hpp", + "external/sources/boost/ptr_container/ptr_array.hpp", + "external/sources/boost/ptr_container/ptr_circular_buffer.hpp", + "external/sources/boost/ptr_container/ptr_container.hpp", + "external/sources/boost/ptr_container/ptr_deque.hpp", + "external/sources/boost/ptr_container/ptr_inserter.hpp", + "external/sources/boost/ptr_container/ptr_list.hpp", + "external/sources/boost/ptr_container/ptr_map.hpp", + "external/sources/boost/ptr_container/ptr_map_adapter.hpp", + "external/sources/boost/ptr_container/ptr_sequence_adapter.hpp", + "external/sources/boost/ptr_container/ptr_set.hpp", + "external/sources/boost/ptr_container/ptr_set_adapter.hpp", + "external/sources/boost/ptr_container/ptr_unordered_map.hpp", + "external/sources/boost/ptr_container/ptr_unordered_set.hpp", + "external/sources/boost/ptr_container/ptr_vector.hpp", + "external/sources/boost/ptr_container/serialize_ptr_array.hpp", + "external/sources/boost/ptr_container/serialize_ptr_circular_buffer.hpp", + "external/sources/boost/ptr_container/serialize_ptr_container.hpp", + "external/sources/boost/ptr_container/serialize_ptr_deque.hpp", + "external/sources/boost/ptr_container/serialize_ptr_list.hpp", + "external/sources/boost/ptr_container/serialize_ptr_map.hpp", + "external/sources/boost/ptr_container/serialize_ptr_set.hpp", + "external/sources/boost/ptr_container/serialize_ptr_unordered_map.hpp", + "external/sources/boost/ptr_container/serialize_ptr_unordered_set.hpp", + "external/sources/boost/ptr_container/serialize_ptr_vector.hpp", + "external/sources/boost/python.hpp", + "external/sources/boost/python/arg_from_python.hpp", + "external/sources/boost/python/args.hpp", + "external/sources/boost/python/args_fwd.hpp", + "external/sources/boost/python/back_reference.hpp", + "external/sources/boost/python/base_type_traits.hpp", + "external/sources/boost/python/bases.hpp", + "external/sources/boost/python/borrowed.hpp", + "external/sources/boost/python/call.hpp", + "external/sources/boost/python/call_method.hpp", + "external/sources/boost/python/cast.hpp", + "external/sources/boost/python/class.hpp", + "external/sources/boost/python/class_fwd.hpp", + "external/sources/boost/python/converter/arg_from_python.hpp", + "external/sources/boost/python/converter/arg_to_python.hpp", + "external/sources/boost/python/converter/arg_to_python_base.hpp", + "external/sources/boost/python/converter/as_to_python_function.hpp", + "external/sources/boost/python/converter/builtin_converters.hpp", + "external/sources/boost/python/converter/constructor_function.hpp", + "external/sources/boost/python/converter/context_result_converter.hpp", + "external/sources/boost/python/converter/convertible_function.hpp", + "external/sources/boost/python/converter/from_python.hpp", + "external/sources/boost/python/converter/implicit.hpp", + "external/sources/boost/python/converter/obj_mgr_arg_from_python.hpp", + "external/sources/boost/python/converter/object_manager.hpp", + "external/sources/boost/python/converter/pointer_type_id.hpp", + "external/sources/boost/python/converter/pyobject_traits.hpp", + "external/sources/boost/python/converter/pyobject_type.hpp", + "external/sources/boost/python/converter/pytype_function.hpp", + "external/sources/boost/python/converter/pytype_object_mgr_traits.hpp", + "external/sources/boost/python/converter/registered.hpp", + "external/sources/boost/python/converter/registered_pointee.hpp", + "external/sources/boost/python/converter/registrations.hpp", + "external/sources/boost/python/converter/registry.hpp", + "external/sources/boost/python/converter/return_from_python.hpp", + "external/sources/boost/python/converter/rvalue_from_python_data.hpp", + "external/sources/boost/python/converter/shared_ptr_deleter.hpp", + "external/sources/boost/python/converter/shared_ptr_from_python.hpp", + "external/sources/boost/python/converter/shared_ptr_to_python.hpp", + "external/sources/boost/python/converter/to_python_function_type.hpp", + "external/sources/boost/python/copy_const_reference.hpp", + "external/sources/boost/python/copy_non_const_reference.hpp", + "external/sources/boost/python/data_members.hpp", + "external/sources/boost/python/def.hpp", + "external/sources/boost/python/def_visitor.hpp", + "external/sources/boost/python/default_call_policies.hpp", + "external/sources/boost/python/detail/aix_init_module.hpp", + "external/sources/boost/python/detail/api_placeholder.hpp", + "external/sources/boost/python/detail/borrowed_ptr.hpp", + "external/sources/boost/python/detail/caller.hpp", + "external/sources/boost/python/detail/config.hpp", + "external/sources/boost/python/detail/construct.hpp", + "external/sources/boost/python/detail/convertible.hpp", + "external/sources/boost/python/detail/copy_ctor_mutates_rhs.hpp", + "external/sources/boost/python/detail/cv_category.hpp", + "external/sources/boost/python/detail/dealloc.hpp", + "external/sources/boost/python/detail/decorated_type_id.hpp", + "external/sources/boost/python/detail/decref_guard.hpp", + "external/sources/boost/python/detail/def_helper.hpp", + "external/sources/boost/python/detail/def_helper_fwd.hpp", + "external/sources/boost/python/detail/defaults_def.hpp", + "external/sources/boost/python/detail/defaults_gen.hpp", + "external/sources/boost/python/detail/dependent.hpp", + "external/sources/boost/python/detail/destroy.hpp", + "external/sources/boost/python/detail/enable_if.hpp", + "external/sources/boost/python/detail/exception_handler.hpp", + "external/sources/boost/python/detail/force_instantiate.hpp", + "external/sources/boost/python/detail/if_else.hpp", + "external/sources/boost/python/detail/indirect_traits.hpp", + "external/sources/boost/python/detail/invoke.hpp", + "external/sources/boost/python/detail/is_auto_ptr.hpp", + "external/sources/boost/python/detail/is_shared_ptr.hpp", + "external/sources/boost/python/detail/is_wrapper.hpp", + "external/sources/boost/python/detail/is_xxx.hpp", + "external/sources/boost/python/detail/make_keyword_range_fn.hpp", + "external/sources/boost/python/detail/make_tuple.hpp", + "external/sources/boost/python/detail/map_entry.hpp", + "external/sources/boost/python/detail/mpl_lambda.hpp", + "external/sources/boost/python/detail/msvc_typeinfo.hpp", + "external/sources/boost/python/detail/none.hpp", + "external/sources/boost/python/detail/not_specified.hpp", + "external/sources/boost/python/detail/nullary_function_adaptor.hpp", + "external/sources/boost/python/detail/operator_id.hpp", + "external/sources/boost/python/detail/overloads_fwd.hpp", + "external/sources/boost/python/detail/pointee.hpp", + "external/sources/boost/python/detail/prefix.hpp", + "external/sources/boost/python/detail/preprocessor.hpp", + "external/sources/boost/python/detail/python22_fixed.h", + "external/sources/boost/python/detail/python_type.hpp", + "external/sources/boost/python/detail/raw_pyobject.hpp", + "external/sources/boost/python/detail/referent_storage.hpp", + "external/sources/boost/python/detail/result.hpp", + "external/sources/boost/python/detail/scope.hpp", + "external/sources/boost/python/detail/sfinae.hpp", + "external/sources/boost/python/detail/signature.hpp", + "external/sources/boost/python/detail/string_literal.hpp", + "external/sources/boost/python/detail/target.hpp", + "external/sources/boost/python/detail/translate_exception.hpp", + "external/sources/boost/python/detail/type_list.hpp", + "external/sources/boost/python/detail/type_list_impl.hpp", + "external/sources/boost/python/detail/type_traits.hpp", + "external/sources/boost/python/detail/unwind_type.hpp", + "external/sources/boost/python/detail/unwrap_type_id.hpp", + "external/sources/boost/python/detail/unwrap_wrapper.hpp", + "external/sources/boost/python/detail/value_arg.hpp", + "external/sources/boost/python/detail/value_is_shared_ptr.hpp", + "external/sources/boost/python/detail/value_is_xxx.hpp", + "external/sources/boost/python/detail/void_ptr.hpp", + "external/sources/boost/python/detail/void_return.hpp", + "external/sources/boost/python/detail/wrap_python.hpp", + "external/sources/boost/python/detail/wrapper_base.hpp", + "external/sources/boost/python/dict.hpp", + "external/sources/boost/python/docstring_options.hpp", + "external/sources/boost/python/enum.hpp", + "external/sources/boost/python/errors.hpp", + "external/sources/boost/python/exception_translator.hpp", + "external/sources/boost/python/exec.hpp", + "external/sources/boost/python/extract.hpp", + "external/sources/boost/python/handle.hpp", + "external/sources/boost/python/handle_fwd.hpp", + "external/sources/boost/python/has_back_reference.hpp", + "external/sources/boost/python/implicit.hpp", + "external/sources/boost/python/import.hpp", + "external/sources/boost/python/init.hpp", + "external/sources/boost/python/instance_holder.hpp", + "external/sources/boost/python/iterator.hpp", + "external/sources/boost/python/list.hpp", + "external/sources/boost/python/long.hpp", + "external/sources/boost/python/lvalue_from_pytype.hpp", + "external/sources/boost/python/make_constructor.hpp", + "external/sources/boost/python/make_function.hpp", + "external/sources/boost/python/manage_new_object.hpp", + "external/sources/boost/python/module.hpp", + "external/sources/boost/python/module_init.hpp", + "external/sources/boost/python/numpy.hpp", + "external/sources/boost/python/numpy/config.hpp", + "external/sources/boost/python/numpy/dtype.hpp", + "external/sources/boost/python/numpy/internal.hpp", + "external/sources/boost/python/numpy/invoke_matching.hpp", + "external/sources/boost/python/numpy/matrix.hpp", + "external/sources/boost/python/numpy/ndarray.hpp", + "external/sources/boost/python/numpy/numpy_object_mgr_traits.hpp", + "external/sources/boost/python/numpy/scalars.hpp", + "external/sources/boost/python/numpy/ufunc.hpp", + "external/sources/boost/python/object.hpp", + "external/sources/boost/python/object/add_to_namespace.hpp", + "external/sources/boost/python/object/class.hpp", + "external/sources/boost/python/object/class_detail.hpp", + "external/sources/boost/python/object/class_metadata.hpp", + "external/sources/boost/python/object/class_wrapper.hpp", + "external/sources/boost/python/object/enum_base.hpp", + "external/sources/boost/python/object/find_instance.hpp", + "external/sources/boost/python/object/forward.hpp", + "external/sources/boost/python/object/function.hpp", + "external/sources/boost/python/object/function_doc_signature.hpp", + "external/sources/boost/python/object/function_handle.hpp", + "external/sources/boost/python/object/function_object.hpp", + "external/sources/boost/python/object/inheritance.hpp", + "external/sources/boost/python/object/inheritance_query.hpp", + "external/sources/boost/python/object/instance.hpp", + "external/sources/boost/python/object/iterator.hpp", + "external/sources/boost/python/object/iterator_core.hpp", + "external/sources/boost/python/object/life_support.hpp", + "external/sources/boost/python/object/make_holder.hpp", + "external/sources/boost/python/object/make_instance.hpp", + "external/sources/boost/python/object/make_ptr_instance.hpp", + "external/sources/boost/python/object/pickle_support.hpp", + "external/sources/boost/python/object/pointer_holder.hpp", + "external/sources/boost/python/object/py_function.hpp", + "external/sources/boost/python/object/stl_iterator_core.hpp", + "external/sources/boost/python/object/value_holder.hpp", + "external/sources/boost/python/object/value_holder_fwd.hpp", + "external/sources/boost/python/object_attributes.hpp", + "external/sources/boost/python/object_call.hpp", + "external/sources/boost/python/object_core.hpp", + "external/sources/boost/python/object_fwd.hpp", + "external/sources/boost/python/object_items.hpp", + "external/sources/boost/python/object_operators.hpp", + "external/sources/boost/python/object_protocol.hpp", + "external/sources/boost/python/object_protocol_core.hpp", + "external/sources/boost/python/object_slices.hpp", + "external/sources/boost/python/opaque_pointer_converter.hpp", + "external/sources/boost/python/operators.hpp", + "external/sources/boost/python/other.hpp", + "external/sources/boost/python/overloads.hpp", + "external/sources/boost/python/override.hpp", + "external/sources/boost/python/pointee.hpp", + "external/sources/boost/python/proxy.hpp", + "external/sources/boost/python/ptr.hpp", + "external/sources/boost/python/pure_virtual.hpp", + "external/sources/boost/python/raw_function.hpp", + "external/sources/boost/python/refcount.hpp", + "external/sources/boost/python/reference_existing_object.hpp", + "external/sources/boost/python/register_ptr_to_python.hpp", + "external/sources/boost/python/return_arg.hpp", + "external/sources/boost/python/return_by_value.hpp", + "external/sources/boost/python/return_internal_reference.hpp", + "external/sources/boost/python/return_opaque_pointer.hpp", + "external/sources/boost/python/return_value_policy.hpp", + "external/sources/boost/python/scope.hpp", + "external/sources/boost/python/self.hpp", + "external/sources/boost/python/signature.hpp", + "external/sources/boost/python/slice.hpp", + "external/sources/boost/python/slice_nil.hpp", + "external/sources/boost/python/ssize_t.hpp", + "external/sources/boost/python/stl_iterator.hpp", + "external/sources/boost/python/str.hpp", + "external/sources/boost/python/suite/indexing/container_utils.hpp", + "external/sources/boost/python/suite/indexing/detail/indexing_suite_detail.hpp", + "external/sources/boost/python/suite/indexing/indexing_suite.hpp", + "external/sources/boost/python/suite/indexing/map_indexing_suite.hpp", + "external/sources/boost/python/suite/indexing/vector_indexing_suite.hpp", + "external/sources/boost/python/tag.hpp", + "external/sources/boost/python/to_python_converter.hpp", + "external/sources/boost/python/to_python_indirect.hpp", + "external/sources/boost/python/to_python_value.hpp", + "external/sources/boost/python/tuple.hpp", + "external/sources/boost/python/type_id.hpp", + "external/sources/boost/python/with_custodian_and_ward.hpp", + "external/sources/boost/python/wrapper.hpp", + "external/sources/boost/qvm/all.hpp", + "external/sources/boost/qvm/assert.hpp", + "external/sources/boost/qvm/deduce_mat.hpp", + "external/sources/boost/qvm/deduce_quat.hpp", + "external/sources/boost/qvm/deduce_scalar.hpp", + "external/sources/boost/qvm/deduce_vec.hpp", + "external/sources/boost/qvm/detail/cofactor_impl.hpp", + "external/sources/boost/qvm/detail/determinant_impl.hpp", + "external/sources/boost/qvm/detail/mat_assign.hpp", + "external/sources/boost/qvm/detail/quat_assign.hpp", + "external/sources/boost/qvm/detail/remove_const.hpp", + "external/sources/boost/qvm/detail/swizzle_traits.hpp", + "external/sources/boost/qvm/detail/transp_impl.hpp", + "external/sources/boost/qvm/detail/vec_assign.hpp", + "external/sources/boost/qvm/detail/vec_register_impl.hpp", + "external/sources/boost/qvm/enable_if.hpp", + "external/sources/boost/qvm/error.hpp", + "external/sources/boost/qvm/inline.hpp", + "external/sources/boost/qvm/map.hpp", + "external/sources/boost/qvm/map_mat_mat.hpp", + "external/sources/boost/qvm/map_mat_vec.hpp", + "external/sources/boost/qvm/map_vec_mat.hpp", + "external/sources/boost/qvm/mat.hpp", + "external/sources/boost/qvm/mat_access.hpp", + "external/sources/boost/qvm/mat_operations.hpp", + "external/sources/boost/qvm/mat_operations2.hpp", + "external/sources/boost/qvm/mat_operations3.hpp", + "external/sources/boost/qvm/mat_operations4.hpp", + "external/sources/boost/qvm/mat_traits.hpp", + "external/sources/boost/qvm/mat_traits_array.hpp", + "external/sources/boost/qvm/mat_traits_defaults.hpp", + "external/sources/boost/qvm/math.hpp", + "external/sources/boost/qvm/operations.hpp", + "external/sources/boost/qvm/quat.hpp", + "external/sources/boost/qvm/quat_access.hpp", + "external/sources/boost/qvm/quat_operations.hpp", + "external/sources/boost/qvm/quat_traits.hpp", + "external/sources/boost/qvm/quat_traits_array.hpp", + "external/sources/boost/qvm/quat_traits_defaults.hpp", + "external/sources/boost/qvm/quat_vec_operations.hpp", + "external/sources/boost/qvm/scalar_traits.hpp", + "external/sources/boost/qvm/static_assert.hpp", + "external/sources/boost/qvm/swizzle.hpp", + "external/sources/boost/qvm/swizzle2.hpp", + "external/sources/boost/qvm/swizzle3.hpp", + "external/sources/boost/qvm/swizzle4.hpp", + "external/sources/boost/qvm/throw_exception.hpp", + "external/sources/boost/qvm/to_string.hpp", + "external/sources/boost/qvm/vec.hpp", + "external/sources/boost/qvm/vec_access.hpp", + "external/sources/boost/qvm/vec_mat_operations.hpp", + "external/sources/boost/qvm/vec_mat_operations2.hpp", + "external/sources/boost/qvm/vec_mat_operations3.hpp", + "external/sources/boost/qvm/vec_mat_operations4.hpp", + "external/sources/boost/qvm/vec_operations.hpp", + "external/sources/boost/qvm/vec_operations2.hpp", + "external/sources/boost/qvm/vec_operations3.hpp", + "external/sources/boost/qvm/vec_operations4.hpp", + "external/sources/boost/qvm/vec_register.hpp", + "external/sources/boost/qvm/vec_register2.hpp", + "external/sources/boost/qvm/vec_register3.hpp", + "external/sources/boost/qvm/vec_register4.hpp", + "external/sources/boost/qvm/vec_traits.hpp", + "external/sources/boost/qvm/vec_traits_array.hpp", + "external/sources/boost/qvm/vec_traits_defaults.hpp", + "external/sources/boost/random.hpp", + "external/sources/boost/random/additive_combine.hpp", + "external/sources/boost/random/bernoulli_distribution.hpp", + "external/sources/boost/random/beta_distribution.hpp", + "external/sources/boost/random/binomial_distribution.hpp", + "external/sources/boost/random/cauchy_distribution.hpp", + "external/sources/boost/random/chi_squared_distribution.hpp", + "external/sources/boost/random/detail/auto_link.hpp", + "external/sources/boost/random/detail/config.hpp", + "external/sources/boost/random/detail/const_mod.hpp", + "external/sources/boost/random/detail/disable_warnings.hpp", + "external/sources/boost/random/detail/enable_warnings.hpp", + "external/sources/boost/random/detail/generator_bits.hpp", + "external/sources/boost/random/detail/generator_seed_seq.hpp", + "external/sources/boost/random/detail/gray_coded_qrng.hpp", + "external/sources/boost/random/detail/int_float_pair.hpp", + "external/sources/boost/random/detail/integer_log2.hpp", + "external/sources/boost/random/detail/iterator_mixin.hpp", + "external/sources/boost/random/detail/large_arithmetic.hpp", + "external/sources/boost/random/detail/niederreiter_base2_table.hpp", + "external/sources/boost/random/detail/operators.hpp", + "external/sources/boost/random/detail/polynomial.hpp", + "external/sources/boost/random/detail/ptr_helper.hpp", + "external/sources/boost/random/detail/qrng_base.hpp", + "external/sources/boost/random/detail/seed.hpp", + "external/sources/boost/random/detail/seed_impl.hpp", + "external/sources/boost/random/detail/signed_unsigned_tools.hpp", + "external/sources/boost/random/detail/sobol_table.hpp", + "external/sources/boost/random/detail/uniform_int_float.hpp", + "external/sources/boost/random/detail/vector_io.hpp", + "external/sources/boost/random/discard_block.hpp", + "external/sources/boost/random/discrete_distribution.hpp", + "external/sources/boost/random/exponential_distribution.hpp", + "external/sources/boost/random/extreme_value_distribution.hpp", + "external/sources/boost/random/faure.hpp", + "external/sources/boost/random/fisher_f_distribution.hpp", + "external/sources/boost/random/gamma_distribution.hpp", + "external/sources/boost/random/generate_canonical.hpp", + "external/sources/boost/random/geometric_distribution.hpp", + "external/sources/boost/random/hyperexponential_distribution.hpp", + "external/sources/boost/random/independent_bits.hpp", + "external/sources/boost/random/inversive_congruential.hpp", + "external/sources/boost/random/lagged_fibonacci.hpp", + "external/sources/boost/random/laplace_distribution.hpp", + "external/sources/boost/random/linear_congruential.hpp", + "external/sources/boost/random/linear_feedback_shift.hpp", + "external/sources/boost/random/lognormal_distribution.hpp", + "external/sources/boost/random/mersenne_twister.hpp", + "external/sources/boost/random/negative_binomial_distribution.hpp", + "external/sources/boost/random/niederreiter_base2.hpp", + "external/sources/boost/random/non_central_chi_squared_distribution.hpp", + "external/sources/boost/random/normal_distribution.hpp", + "external/sources/boost/random/piecewise_constant_distribution.hpp", + "external/sources/boost/random/piecewise_linear_distribution.hpp", + "external/sources/boost/random/poisson_distribution.hpp", + "external/sources/boost/random/random_device.hpp", + "external/sources/boost/random/random_number_generator.hpp", + "external/sources/boost/random/ranlux.hpp", + "external/sources/boost/random/seed_seq.hpp", + "external/sources/boost/random/shuffle_order.hpp", + "external/sources/boost/random/shuffle_output.hpp", + "external/sources/boost/random/sobol.hpp", + "external/sources/boost/random/student_t_distribution.hpp", + "external/sources/boost/random/subtract_with_carry.hpp", + "external/sources/boost/random/taus88.hpp", + "external/sources/boost/random/traits.hpp", + "external/sources/boost/random/triangle_distribution.hpp", + "external/sources/boost/random/uniform_01.hpp", + "external/sources/boost/random/uniform_int.hpp", + "external/sources/boost/random/uniform_int_distribution.hpp", + "external/sources/boost/random/uniform_on_sphere.hpp", + "external/sources/boost/random/uniform_real.hpp", + "external/sources/boost/random/uniform_real_distribution.hpp", + "external/sources/boost/random/uniform_smallint.hpp", + "external/sources/boost/random/variate_generator.hpp", + "external/sources/boost/random/weibull_distribution.hpp", + "external/sources/boost/random/xor_combine.hpp", + "external/sources/boost/range.hpp", + "external/sources/boost/range/adaptor/adjacent_filtered.hpp", + "external/sources/boost/range/adaptor/argument_fwd.hpp", + "external/sources/boost/range/adaptor/copied.hpp", + "external/sources/boost/range/adaptor/define_adaptor.hpp", + "external/sources/boost/range/adaptor/filtered.hpp", + "external/sources/boost/range/adaptor/formatted.hpp", + "external/sources/boost/range/adaptor/indexed.hpp", + "external/sources/boost/range/adaptor/indirected.hpp", + "external/sources/boost/range/adaptor/map.hpp", + "external/sources/boost/range/adaptor/ref_unwrapped.hpp", + "external/sources/boost/range/adaptor/replaced.hpp", + "external/sources/boost/range/adaptor/replaced_if.hpp", + "external/sources/boost/range/adaptor/reversed.hpp", + "external/sources/boost/range/adaptor/sliced.hpp", + "external/sources/boost/range/adaptor/strided.hpp", + "external/sources/boost/range/adaptor/tokenized.hpp", + "external/sources/boost/range/adaptor/transformed.hpp", + "external/sources/boost/range/adaptor/type_erased.hpp", + "external/sources/boost/range/adaptor/uniqued.hpp", + "external/sources/boost/range/adaptors.hpp", + "external/sources/boost/range/algorithm.hpp", + "external/sources/boost/range/algorithm/adjacent_find.hpp", + "external/sources/boost/range/algorithm/binary_search.hpp", + "external/sources/boost/range/algorithm/copy.hpp", + "external/sources/boost/range/algorithm/copy_backward.hpp", + "external/sources/boost/range/algorithm/count.hpp", + "external/sources/boost/range/algorithm/count_if.hpp", + "external/sources/boost/range/algorithm/equal.hpp", + "external/sources/boost/range/algorithm/equal_range.hpp", + "external/sources/boost/range/algorithm/fill.hpp", + "external/sources/boost/range/algorithm/fill_n.hpp", + "external/sources/boost/range/algorithm/find.hpp", + "external/sources/boost/range/algorithm/find_end.hpp", + "external/sources/boost/range/algorithm/find_first_of.hpp", + "external/sources/boost/range/algorithm/find_if.hpp", + "external/sources/boost/range/algorithm/for_each.hpp", + "external/sources/boost/range/algorithm/generate.hpp", + "external/sources/boost/range/algorithm/heap_algorithm.hpp", + "external/sources/boost/range/algorithm/inplace_merge.hpp", + "external/sources/boost/range/algorithm/lexicographical_compare.hpp", + "external/sources/boost/range/algorithm/lower_bound.hpp", + "external/sources/boost/range/algorithm/max_element.hpp", + "external/sources/boost/range/algorithm/merge.hpp", + "external/sources/boost/range/algorithm/min_element.hpp", + "external/sources/boost/range/algorithm/mismatch.hpp", + "external/sources/boost/range/algorithm/nth_element.hpp", + "external/sources/boost/range/algorithm/partial_sort.hpp", + "external/sources/boost/range/algorithm/partial_sort_copy.hpp", + "external/sources/boost/range/algorithm/partition.hpp", + "external/sources/boost/range/algorithm/permutation.hpp", + "external/sources/boost/range/algorithm/random_shuffle.hpp", + "external/sources/boost/range/algorithm/remove.hpp", + "external/sources/boost/range/algorithm/remove_copy.hpp", + "external/sources/boost/range/algorithm/remove_copy_if.hpp", + "external/sources/boost/range/algorithm/remove_if.hpp", + "external/sources/boost/range/algorithm/replace.hpp", + "external/sources/boost/range/algorithm/replace_copy.hpp", + "external/sources/boost/range/algorithm/replace_copy_if.hpp", + "external/sources/boost/range/algorithm/replace_if.hpp", + "external/sources/boost/range/algorithm/reverse.hpp", + "external/sources/boost/range/algorithm/reverse_copy.hpp", + "external/sources/boost/range/algorithm/rotate.hpp", + "external/sources/boost/range/algorithm/rotate_copy.hpp", + "external/sources/boost/range/algorithm/search.hpp", + "external/sources/boost/range/algorithm/search_n.hpp", + "external/sources/boost/range/algorithm/set_algorithm.hpp", + "external/sources/boost/range/algorithm/sort.hpp", + "external/sources/boost/range/algorithm/stable_partition.hpp", + "external/sources/boost/range/algorithm/stable_sort.hpp", + "external/sources/boost/range/algorithm/swap_ranges.hpp", + "external/sources/boost/range/algorithm/transform.hpp", + "external/sources/boost/range/algorithm/unique.hpp", + "external/sources/boost/range/algorithm/unique_copy.hpp", + "external/sources/boost/range/algorithm/upper_bound.hpp", + "external/sources/boost/range/algorithm_ext.hpp", + "external/sources/boost/range/algorithm_ext/copy_n.hpp", + "external/sources/boost/range/algorithm_ext/erase.hpp", + "external/sources/boost/range/algorithm_ext/for_each.hpp", + "external/sources/boost/range/algorithm_ext/insert.hpp", + "external/sources/boost/range/algorithm_ext/iota.hpp", + "external/sources/boost/range/algorithm_ext/is_sorted.hpp", + "external/sources/boost/range/algorithm_ext/overwrite.hpp", + "external/sources/boost/range/algorithm_ext/push_back.hpp", + "external/sources/boost/range/algorithm_ext/push_front.hpp", + "external/sources/boost/range/any_range.hpp", + "external/sources/boost/range/as_array.hpp", + "external/sources/boost/range/as_literal.hpp", + "external/sources/boost/range/atl.hpp", + "external/sources/boost/range/begin.hpp", + "external/sources/boost/range/category.hpp", + "external/sources/boost/range/combine.hpp", + "external/sources/boost/range/concepts.hpp", + "external/sources/boost/range/config.hpp", + "external/sources/boost/range/const_iterator.hpp", + "external/sources/boost/range/const_reverse_iterator.hpp", + "external/sources/boost/range/counting_range.hpp", + "external/sources/boost/range/detail/any_iterator.hpp", + "external/sources/boost/range/detail/any_iterator_buffer.hpp", + "external/sources/boost/range/detail/any_iterator_interface.hpp", + "external/sources/boost/range/detail/any_iterator_wrapper.hpp", + "external/sources/boost/range/detail/collection_traits.hpp", + "external/sources/boost/range/detail/collection_traits_detail.hpp", + "external/sources/boost/range/detail/combine_cxx03.hpp", + "external/sources/boost/range/detail/combine_cxx11.hpp", + "external/sources/boost/range/detail/combine_no_rvalue.hpp", + "external/sources/boost/range/detail/combine_rvalue.hpp", + "external/sources/boost/range/detail/common.hpp", + "external/sources/boost/range/detail/default_constructible_unary_fn.hpp", + "external/sources/boost/range/detail/demote_iterator_traversal_tag.hpp", + "external/sources/boost/range/detail/difference_type.hpp", + "external/sources/boost/range/detail/empty.hpp", + "external/sources/boost/range/detail/extract_optional_type.hpp", + "external/sources/boost/range/detail/has_member_size.hpp", + "external/sources/boost/range/detail/implementation_help.hpp", + "external/sources/boost/range/detail/join_iterator.hpp", + "external/sources/boost/range/detail/less.hpp", + "external/sources/boost/range/detail/microsoft.hpp", + "external/sources/boost/range/detail/misc_concept.hpp", + "external/sources/boost/range/detail/msvc_has_iterator_workaround.hpp", + "external/sources/boost/range/detail/range_return.hpp", + "external/sources/boost/range/detail/safe_bool.hpp", + "external/sources/boost/range/detail/sfinae.hpp", + "external/sources/boost/range/detail/sizer.hpp", + "external/sources/boost/range/detail/str_types.hpp", + "external/sources/boost/range/difference_type.hpp", + "external/sources/boost/range/distance.hpp", + "external/sources/boost/range/empty.hpp", + "external/sources/boost/range/end.hpp", + "external/sources/boost/range/functions.hpp", + "external/sources/boost/range/has_range_iterator.hpp", + "external/sources/boost/range/irange.hpp", + "external/sources/boost/range/istream_range.hpp", + "external/sources/boost/range/iterator.hpp", + "external/sources/boost/range/iterator_range.hpp", + "external/sources/boost/range/iterator_range_core.hpp", + "external/sources/boost/range/iterator_range_hash.hpp", + "external/sources/boost/range/iterator_range_io.hpp", + "external/sources/boost/range/join.hpp", + "external/sources/boost/range/metafunctions.hpp", + "external/sources/boost/range/mfc.hpp", + "external/sources/boost/range/mfc_map.hpp", + "external/sources/boost/range/mutable_iterator.hpp", + "external/sources/boost/range/numeric.hpp", + "external/sources/boost/range/pointer.hpp", + "external/sources/boost/range/range_fwd.hpp", + "external/sources/boost/range/rbegin.hpp", + "external/sources/boost/range/reference.hpp", + "external/sources/boost/range/rend.hpp", + "external/sources/boost/range/result_iterator.hpp", + "external/sources/boost/range/reverse_iterator.hpp", + "external/sources/boost/range/reverse_result_iterator.hpp", + "external/sources/boost/range/size.hpp", + "external/sources/boost/range/size_type.hpp", + "external/sources/boost/range/sub_range.hpp", + "external/sources/boost/range/traversal.hpp", + "external/sources/boost/range/value_type.hpp", + "external/sources/boost/ratio.hpp", + "external/sources/boost/ratio/config.hpp", + "external/sources/boost/ratio/detail/mpl/abs.hpp", + "external/sources/boost/ratio/detail/mpl/gcd.hpp", + "external/sources/boost/ratio/detail/mpl/lcm.hpp", + "external/sources/boost/ratio/detail/mpl/sign.hpp", + "external/sources/boost/ratio/detail/overflow_helpers.hpp", + "external/sources/boost/ratio/detail/ratio_io.hpp", + "external/sources/boost/ratio/include.hpp", + "external/sources/boost/ratio/mpl/abs.hpp", + "external/sources/boost/ratio/mpl/arithmetic.hpp", + "external/sources/boost/ratio/mpl/comparison.hpp", + "external/sources/boost/ratio/mpl/divides.hpp", + "external/sources/boost/ratio/mpl/equal_to.hpp", + "external/sources/boost/ratio/mpl/gcd.hpp", + "external/sources/boost/ratio/mpl/greater.hpp", + "external/sources/boost/ratio/mpl/greater_equal.hpp", + "external/sources/boost/ratio/mpl/lcm.hpp", + "external/sources/boost/ratio/mpl/less.hpp", + "external/sources/boost/ratio/mpl/less_equal.hpp", + "external/sources/boost/ratio/mpl/minus.hpp", + "external/sources/boost/ratio/mpl/negate.hpp", + "external/sources/boost/ratio/mpl/not_equal_to.hpp", + "external/sources/boost/ratio/mpl/numeric_cast.hpp", + "external/sources/boost/ratio/mpl/plus.hpp", + "external/sources/boost/ratio/mpl/rational_c_tag.hpp", + "external/sources/boost/ratio/mpl/rational_constant.hpp", + "external/sources/boost/ratio/mpl/sign.hpp", + "external/sources/boost/ratio/mpl/times.hpp", + "external/sources/boost/ratio/ratio.hpp", + "external/sources/boost/ratio/ratio_fwd.hpp", + "external/sources/boost/ratio/ratio_io.hpp", + "external/sources/boost/rational.hpp", + "external/sources/boost/ref.hpp", + "external/sources/boost/regex.h", + "external/sources/boost/regex.hpp", + "external/sources/boost/regex/concepts.hpp", + "external/sources/boost/regex/config.hpp", + "external/sources/boost/regex/config/borland.hpp", + "external/sources/boost/regex/config/cwchar.hpp", + "external/sources/boost/regex/icu.hpp", + "external/sources/boost/regex/mfc.hpp", + "external/sources/boost/regex/pattern_except.hpp", + "external/sources/boost/regex/pending/object_cache.hpp", + "external/sources/boost/regex/pending/static_mutex.hpp", + "external/sources/boost/regex/pending/unicode_iterator.hpp", + "external/sources/boost/regex/regex_traits.hpp", + "external/sources/boost/regex/user.hpp", + "external/sources/boost/regex/v4/basic_regex.hpp", + "external/sources/boost/regex/v4/basic_regex_creator.hpp", + "external/sources/boost/regex/v4/basic_regex_parser.hpp", + "external/sources/boost/regex/v4/c_regex_traits.hpp", + "external/sources/boost/regex/v4/char_regex_traits.hpp", + "external/sources/boost/regex/v4/cpp_regex_traits.hpp", + "external/sources/boost/regex/v4/cregex.hpp", + "external/sources/boost/regex/v4/error_type.hpp", + "external/sources/boost/regex/v4/fileiter.hpp", + "external/sources/boost/regex/v4/indexed_bit_flag.hpp", + "external/sources/boost/regex/v4/instances.hpp", + "external/sources/boost/regex/v4/iterator_category.hpp", + "external/sources/boost/regex/v4/iterator_traits.hpp", + "external/sources/boost/regex/v4/match_flags.hpp", + "external/sources/boost/regex/v4/match_results.hpp", + "external/sources/boost/regex/v4/mem_block_cache.hpp", + "external/sources/boost/regex/v4/perl_matcher.hpp", + "external/sources/boost/regex/v4/perl_matcher_common.hpp", + "external/sources/boost/regex/v4/perl_matcher_non_recursive.hpp", + "external/sources/boost/regex/v4/perl_matcher_recursive.hpp", + "external/sources/boost/regex/v4/primary_transform.hpp", + "external/sources/boost/regex/v4/protected_call.hpp", + "external/sources/boost/regex/v4/regbase.hpp", + "external/sources/boost/regex/v4/regex.hpp", + "external/sources/boost/regex/v4/regex_format.hpp", + "external/sources/boost/regex/v4/regex_fwd.hpp", + "external/sources/boost/regex/v4/regex_grep.hpp", + "external/sources/boost/regex/v4/regex_iterator.hpp", + "external/sources/boost/regex/v4/regex_match.hpp", + "external/sources/boost/regex/v4/regex_merge.hpp", + "external/sources/boost/regex/v4/regex_raw_buffer.hpp", + "external/sources/boost/regex/v4/regex_replace.hpp", + "external/sources/boost/regex/v4/regex_search.hpp", + "external/sources/boost/regex/v4/regex_split.hpp", + "external/sources/boost/regex/v4/regex_token_iterator.hpp", + "external/sources/boost/regex/v4/regex_traits.hpp", + "external/sources/boost/regex/v4/regex_traits_defaults.hpp", + "external/sources/boost/regex/v4/regex_workaround.hpp", + "external/sources/boost/regex/v4/states.hpp", + "external/sources/boost/regex/v4/sub_match.hpp", + "external/sources/boost/regex/v4/syntax_type.hpp", + "external/sources/boost/regex/v4/u32regex_iterator.hpp", + "external/sources/boost/regex/v4/u32regex_token_iterator.hpp", + "external/sources/boost/regex/v4/w32_regex_traits.hpp", + "external/sources/boost/regex_fwd.hpp", + "external/sources/boost/safe_numerics/CMakeLists.txt", + "external/sources/boost/safe_numerics/automatic.hpp", + "external/sources/boost/safe_numerics/checked_default.hpp", + "external/sources/boost/safe_numerics/checked_float.hpp", + "external/sources/boost/safe_numerics/checked_integer.hpp", + "external/sources/boost/safe_numerics/checked_result.hpp", + "external/sources/boost/safe_numerics/checked_result_operations.hpp", + "external/sources/boost/safe_numerics/concept/CMakeLists.txt", + "external/sources/boost/safe_numerics/concept/exception_policy.hpp", + "external/sources/boost/safe_numerics/concept/integer.hpp", + "external/sources/boost/safe_numerics/concept/numeric.hpp", + "external/sources/boost/safe_numerics/concept/promotion_policy.hpp", + "external/sources/boost/safe_numerics/concept/safe_numeric.hpp", + "external/sources/boost/safe_numerics/cpp.hpp", + "external/sources/boost/safe_numerics/exception.hpp", + "external/sources/boost/safe_numerics/exception_policies.hpp", + "external/sources/boost/safe_numerics/interval.hpp", + "external/sources/boost/safe_numerics/native.hpp", + "external/sources/boost/safe_numerics/range_value.hpp", + "external/sources/boost/safe_numerics/safe_base.hpp", + "external/sources/boost/safe_numerics/safe_base_operations.hpp", + "external/sources/boost/safe_numerics/safe_common.hpp", + "external/sources/boost/safe_numerics/safe_compare.hpp", + "external/sources/boost/safe_numerics/safe_integer.hpp", + "external/sources/boost/safe_numerics/safe_integer_literal.hpp", + "external/sources/boost/safe_numerics/safe_integer_range.hpp", + "external/sources/boost/safe_numerics/utility.hpp", + "external/sources/boost/scope_exit.hpp", + "external/sources/boost/scoped_array.hpp", + "external/sources/boost/scoped_ptr.hpp", + "external/sources/boost/serialization/access.hpp", + "external/sources/boost/serialization/archive_input_unordered_map.hpp", + "external/sources/boost/serialization/archive_input_unordered_set.hpp", + "external/sources/boost/serialization/array.hpp", + "external/sources/boost/serialization/array_optimization.hpp", + "external/sources/boost/serialization/array_wrapper.hpp", + "external/sources/boost/serialization/assume_abstract.hpp", + "external/sources/boost/serialization/base_object.hpp", + "external/sources/boost/serialization/binary_object.hpp", + "external/sources/boost/serialization/bitset.hpp", + "external/sources/boost/serialization/boost_array.hpp", + "external/sources/boost/serialization/boost_unordered_map.hpp", + "external/sources/boost/serialization/boost_unordered_set.hpp", + "external/sources/boost/serialization/collection_size_type copy.hpp", + "external/sources/boost/serialization/collection_size_type.hpp", + "external/sources/boost/serialization/collection_traits.hpp", + "external/sources/boost/serialization/collections_load_imp.hpp", + "external/sources/boost/serialization/collections_save_imp.hpp", + "external/sources/boost/serialization/complex.hpp", + "external/sources/boost/serialization/config.hpp", + "external/sources/boost/serialization/deque.hpp", + "external/sources/boost/serialization/detail/is_default_constructible.hpp", + "external/sources/boost/serialization/detail/shared_count_132.hpp", + "external/sources/boost/serialization/detail/shared_ptr_132.hpp", + "external/sources/boost/serialization/detail/shared_ptr_nmt_132.hpp", + "external/sources/boost/serialization/detail/stack_constructor.hpp", + "external/sources/boost/serialization/export.hpp", + "external/sources/boost/serialization/extended_type_info.hpp", + "external/sources/boost/serialization/extended_type_info_no_rtti.hpp", + "external/sources/boost/serialization/extended_type_info_typeid.hpp", + "external/sources/boost/serialization/factory.hpp", + "external/sources/boost/serialization/force_include.hpp", + "external/sources/boost/serialization/forward_list.hpp", + "external/sources/boost/serialization/hash_collections_load_imp.hpp", + "external/sources/boost/serialization/hash_collections_save_imp.hpp", + "external/sources/boost/serialization/hash_map.hpp", + "external/sources/boost/serialization/hash_set.hpp", + "external/sources/boost/serialization/is_bitwise_serializable.hpp", + "external/sources/boost/serialization/item_version_type.hpp", + "external/sources/boost/serialization/level.hpp", + "external/sources/boost/serialization/level_enum.hpp", + "external/sources/boost/serialization/library_version_type.hpp", + "external/sources/boost/serialization/list.hpp", + "external/sources/boost/serialization/map.hpp", + "external/sources/boost/serialization/nvp.hpp", + "external/sources/boost/serialization/optional.hpp", + "external/sources/boost/serialization/priority_queue.hpp", + "external/sources/boost/serialization/queue.hpp", + "external/sources/boost/serialization/scoped_ptr.hpp", + "external/sources/boost/serialization/serialization.hpp", + "external/sources/boost/serialization/set.hpp", + "external/sources/boost/serialization/shared_ptr.hpp", + "external/sources/boost/serialization/shared_ptr_132.hpp", + "external/sources/boost/serialization/shared_ptr_helper.hpp", + "external/sources/boost/serialization/singleton.hpp", + "external/sources/boost/serialization/slist.hpp", + "external/sources/boost/serialization/smart_cast.hpp", + "external/sources/boost/serialization/split_free.hpp", + "external/sources/boost/serialization/split_member.hpp", + "external/sources/boost/serialization/stack.hpp", + "external/sources/boost/serialization/state_saver.hpp", + "external/sources/boost/serialization/static_warning.hpp", + "external/sources/boost/serialization/string.hpp", + "external/sources/boost/serialization/strong_typedef.hpp", + "external/sources/boost/serialization/throw_exception.hpp", + "external/sources/boost/serialization/tracking.hpp", + "external/sources/boost/serialization/tracking_enum.hpp", + "external/sources/boost/serialization/traits.hpp", + "external/sources/boost/serialization/type_info_implementation.hpp", + "external/sources/boost/serialization/unique_ptr.hpp", + "external/sources/boost/serialization/unordered_collections_load_imp.hpp", + "external/sources/boost/serialization/unordered_collections_save_imp.hpp", + "external/sources/boost/serialization/unordered_map.hpp", + "external/sources/boost/serialization/unordered_set.hpp", + "external/sources/boost/serialization/utility.hpp", + "external/sources/boost/serialization/valarray.hpp", + "external/sources/boost/serialization/variant.hpp", + "external/sources/boost/serialization/vector.hpp", + "external/sources/boost/serialization/vector_135.hpp", + "external/sources/boost/serialization/version.hpp", + "external/sources/boost/serialization/void_cast.hpp", + "external/sources/boost/serialization/void_cast_fwd.hpp", + "external/sources/boost/serialization/weak_ptr.hpp", + "external/sources/boost/serialization/wrapper.hpp", + "external/sources/boost/shared_array.hpp", + "external/sources/boost/shared_container_iterator.hpp", + "external/sources/boost/shared_ptr.hpp", + "external/sources/boost/signals2.hpp", + "external/sources/boost/signals2/connection.hpp", + "external/sources/boost/signals2/deconstruct.hpp", + "external/sources/boost/signals2/deconstruct_ptr.hpp", + "external/sources/boost/signals2/detail/auto_buffer.hpp", + "external/sources/boost/signals2/detail/foreign_ptr.hpp", + "external/sources/boost/signals2/detail/lwm_nop.hpp", + "external/sources/boost/signals2/detail/lwm_pthreads.hpp", + "external/sources/boost/signals2/detail/lwm_win32_cs.hpp", + "external/sources/boost/signals2/detail/null_output_iterator.hpp", + "external/sources/boost/signals2/detail/preprocessed_arg_type.hpp", + "external/sources/boost/signals2/detail/preprocessed_arg_type_template.hpp", + "external/sources/boost/signals2/detail/replace_slot_function.hpp", + "external/sources/boost/signals2/detail/result_type_wrapper.hpp", + "external/sources/boost/signals2/detail/scope_guard.hpp", + "external/sources/boost/signals2/detail/signal_template.hpp", + "external/sources/boost/signals2/detail/signals_common.hpp", + "external/sources/boost/signals2/detail/signals_common_macros.hpp", + "external/sources/boost/signals2/detail/slot_call_iterator.hpp", + "external/sources/boost/signals2/detail/slot_groups.hpp", + "external/sources/boost/signals2/detail/slot_template.hpp", + "external/sources/boost/signals2/detail/tracked_objects_visitor.hpp", + "external/sources/boost/signals2/detail/unique_lock.hpp", + "external/sources/boost/signals2/detail/variadic_arg_type.hpp", + "external/sources/boost/signals2/detail/variadic_slot_invoker.hpp", + "external/sources/boost/signals2/dummy_mutex.hpp", + "external/sources/boost/signals2/expired_slot.hpp", + "external/sources/boost/signals2/last_value.hpp", + "external/sources/boost/signals2/mutex.hpp", + "external/sources/boost/signals2/optional_last_value.hpp", + "external/sources/boost/signals2/postconstructible.hpp", + "external/sources/boost/signals2/predestructible.hpp", + "external/sources/boost/signals2/preprocessed_signal.hpp", + "external/sources/boost/signals2/preprocessed_slot.hpp", + "external/sources/boost/signals2/shared_connection_block.hpp", + "external/sources/boost/signals2/signal.hpp", + "external/sources/boost/signals2/signal_base.hpp", + "external/sources/boost/signals2/signal_type.hpp", + "external/sources/boost/signals2/slot.hpp", + "external/sources/boost/signals2/slot_base.hpp", + "external/sources/boost/signals2/trackable.hpp", + "external/sources/boost/signals2/variadic_signal.hpp", + "external/sources/boost/signals2/variadic_slot.hpp", + "external/sources/boost/smart_ptr.hpp", + "external/sources/boost/smart_ptr/allocate_local_shared_array.hpp", + "external/sources/boost/smart_ptr/allocate_shared_array.hpp", + "external/sources/boost/smart_ptr/allocate_unique.hpp", + "external/sources/boost/smart_ptr/atomic_shared_ptr.hpp", + "external/sources/boost/smart_ptr/bad_weak_ptr.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_gcc.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_nt.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_pt.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_spin.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_std_atomic.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_sync.hpp", + "external/sources/boost/smart_ptr/detail/atomic_count_win32.hpp", + "external/sources/boost/smart_ptr/detail/lightweight_mutex.hpp", + "external/sources/boost/smart_ptr/detail/lightweight_thread.hpp", + "external/sources/boost/smart_ptr/detail/local_counted_base.hpp", + "external/sources/boost/smart_ptr/detail/local_sp_deleter.hpp", + "external/sources/boost/smart_ptr/detail/lwm_pthreads.hpp", + "external/sources/boost/smart_ptr/detail/lwm_std_mutex.hpp", + "external/sources/boost/smart_ptr/detail/lwm_win32_cs.hpp", + "external/sources/boost/smart_ptr/detail/operator_bool.hpp", + "external/sources/boost/smart_ptr/detail/quick_allocator.hpp", + "external/sources/boost/smart_ptr/detail/shared_count.hpp", + "external/sources/boost/smart_ptr/detail/sp_convertible.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_aix.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_nt.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_pt.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_spin.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_sync.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_base_w32.hpp", + "external/sources/boost/smart_ptr/detail/sp_counted_impl.hpp", + "external/sources/boost/smart_ptr/detail/sp_disable_deprecated.hpp", + "external/sources/boost/smart_ptr/detail/sp_forward.hpp", + "external/sources/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp", + "external/sources/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp", + "external/sources/boost/smart_ptr/detail/sp_interlocked.hpp", + "external/sources/boost/smart_ptr/detail/sp_noexcept.hpp", + "external/sources/boost/smart_ptr/detail/sp_nullptr_t.hpp", + "external/sources/boost/smart_ptr/detail/sp_obsolete.hpp", + "external/sources/boost/smart_ptr/detail/sp_thread_pause.hpp", + "external/sources/boost/smart_ptr/detail/sp_thread_sleep.hpp", + "external/sources/boost/smart_ptr/detail/sp_thread_yield.hpp", + "external/sources/boost/smart_ptr/detail/sp_typeinfo_.hpp", + "external/sources/boost/smart_ptr/detail/sp_win32_sleep.hpp", + "external/sources/boost/smart_ptr/detail/spinlock.hpp", + "external/sources/boost/smart_ptr/detail/spinlock_gcc_arm.hpp", + "external/sources/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp", + "external/sources/boost/smart_ptr/detail/spinlock_nt.hpp", + "external/sources/boost/smart_ptr/detail/spinlock_pool.hpp", + "external/sources/boost/smart_ptr/detail/spinlock_pt.hpp", + "external/sources/boost/smart_ptr/detail/spinlock_std_atomic.hpp", + "external/sources/boost/smart_ptr/detail/spinlock_sync.hpp", + "external/sources/boost/smart_ptr/detail/spinlock_w32.hpp", + "external/sources/boost/smart_ptr/detail/yield_k.hpp", + "external/sources/boost/smart_ptr/enable_shared_from.hpp", + "external/sources/boost/smart_ptr/enable_shared_from_raw.hpp", + "external/sources/boost/smart_ptr/enable_shared_from_this.hpp", + "external/sources/boost/smart_ptr/intrusive_ptr.hpp", + "external/sources/boost/smart_ptr/intrusive_ref_counter.hpp", + "external/sources/boost/smart_ptr/local_shared_ptr.hpp", + "external/sources/boost/smart_ptr/make_local_shared.hpp", + "external/sources/boost/smart_ptr/make_local_shared_array.hpp", + "external/sources/boost/smart_ptr/make_local_shared_object.hpp", + "external/sources/boost/smart_ptr/make_shared.hpp", + "external/sources/boost/smart_ptr/make_shared_array.hpp", + "external/sources/boost/smart_ptr/make_shared_object.hpp", + "external/sources/boost/smart_ptr/make_unique.hpp", + "external/sources/boost/smart_ptr/owner_equal_to.hpp", + "external/sources/boost/smart_ptr/owner_hash.hpp", + "external/sources/boost/smart_ptr/owner_less.hpp", + "external/sources/boost/smart_ptr/scoped_array.hpp", + "external/sources/boost/smart_ptr/scoped_ptr.hpp", + "external/sources/boost/smart_ptr/shared_array.hpp", + "external/sources/boost/smart_ptr/shared_ptr.hpp", + "external/sources/boost/smart_ptr/weak_ptr.hpp", + "external/sources/boost/sort/block_indirect_sort/blk_detail/backbone.hpp", + "external/sources/boost/sort/block_indirect_sort/blk_detail/block.hpp", + "external/sources/boost/sort/block_indirect_sort/blk_detail/constants.hpp", + "external/sources/boost/sort/block_indirect_sort/blk_detail/merge_blocks.hpp", + "external/sources/boost/sort/block_indirect_sort/blk_detail/move_blocks.hpp", + "external/sources/boost/sort/block_indirect_sort/blk_detail/parallel_sort.hpp", + "external/sources/boost/sort/block_indirect_sort/block_indirect_sort.hpp", + "external/sources/boost/sort/common/deque_cnc.hpp", + "external/sources/boost/sort/common/file_vector.hpp", + "external/sources/boost/sort/common/indirect.hpp", + "external/sources/boost/sort/common/int_array.hpp", + "external/sources/boost/sort/common/merge_block.hpp", + "external/sources/boost/sort/common/merge_four.hpp", + "external/sources/boost/sort/common/merge_vector.hpp", + "external/sources/boost/sort/common/pivot.hpp", + "external/sources/boost/sort/common/range.hpp", + "external/sources/boost/sort/common/rearrange.hpp", + "external/sources/boost/sort/common/scheduler.hpp", + "external/sources/boost/sort/common/sort_basic.hpp", + "external/sources/boost/sort/common/spinlock.hpp", + "external/sources/boost/sort/common/stack_cnc.hpp", + "external/sources/boost/sort/common/time_measure.hpp", + "external/sources/boost/sort/common/util/algorithm.hpp", + "external/sources/boost/sort/common/util/atomic.hpp", + "external/sources/boost/sort/common/util/circular_buffer.hpp", + "external/sources/boost/sort/common/util/insert.hpp", + "external/sources/boost/sort/common/util/merge.hpp", + "external/sources/boost/sort/common/util/search.hpp", + "external/sources/boost/sort/common/util/traits.hpp", + "external/sources/boost/sort/flat_stable_sort/flat_stable_sort.hpp", + "external/sources/boost/sort/heap_sort/heap_sort.hpp", + "external/sources/boost/sort/insert_sort/insert_sort.hpp", + "external/sources/boost/sort/parallel_stable_sort/parallel_stable_sort.hpp", + "external/sources/boost/sort/pdqsort/pdqsort.hpp", + "external/sources/boost/sort/sample_sort/sample_sort.hpp", + "external/sources/boost/sort/sort.hpp", + "external/sources/boost/sort/spinsort/spinsort.hpp", + "external/sources/boost/sort/spreadsort/detail/constants.hpp", + "external/sources/boost/sort/spreadsort/detail/float_sort.hpp", + "external/sources/boost/sort/spreadsort/detail/integer_sort.hpp", + "external/sources/boost/sort/spreadsort/detail/spreadsort_common.hpp", + "external/sources/boost/sort/spreadsort/detail/string_sort.hpp", + "external/sources/boost/sort/spreadsort/float_sort.hpp", + "external/sources/boost/sort/spreadsort/integer_sort.hpp", + "external/sources/boost/sort/spreadsort/spreadsort.hpp", + "external/sources/boost/sort/spreadsort/string_sort.hpp", + "external/sources/boost/spirit.hpp", + "external/sources/boost/spirit/home/classic.hpp", + "external/sources/boost/spirit/home/classic/actor.hpp", + "external/sources/boost/spirit/home/classic/actor/assign_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/assign_key_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/clear_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/decrement_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/erase_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/increment_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/insert_at_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/insert_key_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/push_back_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/push_front_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/ref_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/ref_const_ref_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/ref_const_ref_const_ref_a.hpp", + "external/sources/boost/spirit/home/classic/actor/ref_const_ref_value_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/ref_value_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/swap_actor.hpp", + "external/sources/boost/spirit/home/classic/actor/typeof.hpp", + "external/sources/boost/spirit/home/classic/attribute.hpp", + "external/sources/boost/spirit/home/classic/attribute/closure.hpp", + "external/sources/boost/spirit/home/classic/attribute/closure_context.hpp", + "external/sources/boost/spirit/home/classic/attribute/closure_fwd.hpp", + "external/sources/boost/spirit/home/classic/attribute/parametric.hpp", + "external/sources/boost/spirit/home/classic/attribute/typeof.hpp", + "external/sources/boost/spirit/home/classic/core.hpp", + "external/sources/boost/spirit/home/classic/core/assert.hpp", + "external/sources/boost/spirit/home/classic/core/composite/actions.hpp", + "external/sources/boost/spirit/home/classic/core/composite/alternative.hpp", + "external/sources/boost/spirit/home/classic/core/composite/composite.hpp", + "external/sources/boost/spirit/home/classic/core/composite/difference.hpp", + "external/sources/boost/spirit/home/classic/core/composite/directives.hpp", + "external/sources/boost/spirit/home/classic/core/composite/epsilon.hpp", + "external/sources/boost/spirit/home/classic/core/composite/exclusive_or.hpp", + "external/sources/boost/spirit/home/classic/core/composite/impl/alternative.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/difference.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/directives.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/exclusive_or.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/intersection.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/kleene_star.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/list.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/optional.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/positive.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/sequence.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/sequential_and.ipp", + "external/sources/boost/spirit/home/classic/core/composite/impl/sequential_or.ipp", + "external/sources/boost/spirit/home/classic/core/composite/intersection.hpp", + "external/sources/boost/spirit/home/classic/core/composite/kleene_star.hpp", + "external/sources/boost/spirit/home/classic/core/composite/list.hpp", + "external/sources/boost/spirit/home/classic/core/composite/no_actions.hpp", + "external/sources/boost/spirit/home/classic/core/composite/operators.hpp", + "external/sources/boost/spirit/home/classic/core/composite/optional.hpp", + "external/sources/boost/spirit/home/classic/core/composite/positive.hpp", + "external/sources/boost/spirit/home/classic/core/composite/sequence.hpp", + "external/sources/boost/spirit/home/classic/core/composite/sequential_and.hpp", + "external/sources/boost/spirit/home/classic/core/composite/sequential_or.hpp", + "external/sources/boost/spirit/home/classic/core/config.hpp", + "external/sources/boost/spirit/home/classic/core/impl/match.ipp", + "external/sources/boost/spirit/home/classic/core/impl/match_attr_traits.ipp", + "external/sources/boost/spirit/home/classic/core/impl/parser.ipp", + "external/sources/boost/spirit/home/classic/core/match.hpp", + "external/sources/boost/spirit/home/classic/core/nil.hpp", + "external/sources/boost/spirit/home/classic/core/non_terminal/grammar.hpp", + "external/sources/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp", + "external/sources/boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp", + "external/sources/boost/spirit/home/classic/core/non_terminal/impl/rule.ipp", + "external/sources/boost/spirit/home/classic/core/non_terminal/impl/static.hpp", + "external/sources/boost/spirit/home/classic/core/non_terminal/impl/subrule.ipp", + "external/sources/boost/spirit/home/classic/core/non_terminal/parser_context.hpp", + "external/sources/boost/spirit/home/classic/core/non_terminal/parser_id.hpp", + "external/sources/boost/spirit/home/classic/core/non_terminal/rule.hpp", + "external/sources/boost/spirit/home/classic/core/non_terminal/subrule.hpp", + "external/sources/boost/spirit/home/classic/core/non_terminal/subrule_fwd.hpp", + "external/sources/boost/spirit/home/classic/core/parser.hpp", + "external/sources/boost/spirit/home/classic/core/primitives/impl/numerics.ipp", + "external/sources/boost/spirit/home/classic/core/primitives/impl/primitives.ipp", + "external/sources/boost/spirit/home/classic/core/primitives/numerics.hpp", + "external/sources/boost/spirit/home/classic/core/primitives/numerics_fwd.hpp", + "external/sources/boost/spirit/home/classic/core/primitives/primitives.hpp", + "external/sources/boost/spirit/home/classic/core/safe_bool.hpp", + "external/sources/boost/spirit/home/classic/core/scanner/impl/skipper.ipp", + "external/sources/boost/spirit/home/classic/core/scanner/scanner.hpp", + "external/sources/boost/spirit/home/classic/core/scanner/scanner_fwd.hpp", + "external/sources/boost/spirit/home/classic/core/scanner/skipper.hpp", + "external/sources/boost/spirit/home/classic/core/scanner/skipper_fwd.hpp", + "external/sources/boost/spirit/home/classic/core/typeof.hpp", + "external/sources/boost/spirit/home/classic/debug.hpp", + "external/sources/boost/spirit/home/classic/dynamic.hpp", + "external/sources/boost/spirit/home/classic/dynamic/for.hpp", + "external/sources/boost/spirit/home/classic/dynamic/if.hpp", + "external/sources/boost/spirit/home/classic/dynamic/impl/conditions.ipp", + "external/sources/boost/spirit/home/classic/dynamic/impl/select.ipp", + "external/sources/boost/spirit/home/classic/dynamic/impl/switch.ipp", + "external/sources/boost/spirit/home/classic/dynamic/lazy.hpp", + "external/sources/boost/spirit/home/classic/dynamic/rule_alias.hpp", + "external/sources/boost/spirit/home/classic/dynamic/select.hpp", + "external/sources/boost/spirit/home/classic/dynamic/stored_rule.hpp", + "external/sources/boost/spirit/home/classic/dynamic/stored_rule_fwd.hpp", + "external/sources/boost/spirit/home/classic/dynamic/switch.hpp", + "external/sources/boost/spirit/home/classic/dynamic/typeof.hpp", + "external/sources/boost/spirit/home/classic/dynamic/while.hpp", + "external/sources/boost/spirit/home/classic/error_handling.hpp", + "external/sources/boost/spirit/home/classic/error_handling/exceptions.hpp", + "external/sources/boost/spirit/home/classic/error_handling/exceptions_fwd.hpp", + "external/sources/boost/spirit/home/classic/error_handling/impl/exceptions.ipp", + "external/sources/boost/spirit/home/classic/error_handling/typeof.hpp", + "external/sources/boost/spirit/home/classic/iterator.hpp", + "external/sources/boost/spirit/home/classic/iterator/file_iterator.hpp", + "external/sources/boost/spirit/home/classic/iterator/file_iterator_fwd.hpp", + "external/sources/boost/spirit/home/classic/iterator/fixed_size_queue.hpp", + "external/sources/boost/spirit/home/classic/iterator/impl/file_iterator.ipp", + "external/sources/boost/spirit/home/classic/iterator/impl/position_iterator.ipp", + "external/sources/boost/spirit/home/classic/iterator/multi_pass.hpp", + "external/sources/boost/spirit/home/classic/iterator/multi_pass_fwd.hpp", + "external/sources/boost/spirit/home/classic/iterator/position_iterator.hpp", + "external/sources/boost/spirit/home/classic/iterator/position_iterator_fwd.hpp", + "external/sources/boost/spirit/home/classic/iterator/typeof.hpp", + "external/sources/boost/spirit/home/classic/meta.hpp", + "external/sources/boost/spirit/home/classic/meta/as_parser.hpp", + "external/sources/boost/spirit/home/classic/meta/fundamental.hpp", + "external/sources/boost/spirit/home/classic/meta/impl/fundamental.ipp", + "external/sources/boost/spirit/home/classic/meta/impl/parser_traits.ipp", + "external/sources/boost/spirit/home/classic/meta/impl/refactoring.ipp", + "external/sources/boost/spirit/home/classic/meta/impl/traverse.ipp", + "external/sources/boost/spirit/home/classic/meta/parser_traits.hpp", + "external/sources/boost/spirit/home/classic/meta/refactoring.hpp", + "external/sources/boost/spirit/home/classic/meta/traverse.hpp", + "external/sources/boost/spirit/home/classic/namespace.hpp", + "external/sources/boost/spirit/home/classic/phoenix.hpp", + "external/sources/boost/spirit/home/classic/phoenix/actor.hpp", + "external/sources/boost/spirit/home/classic/phoenix/binders.hpp", + "external/sources/boost/spirit/home/classic/phoenix/casts.hpp", + "external/sources/boost/spirit/home/classic/phoenix/closures.hpp", + "external/sources/boost/spirit/home/classic/phoenix/composite.hpp", + "external/sources/boost/spirit/home/classic/phoenix/functions.hpp", + "external/sources/boost/spirit/home/classic/phoenix/new.hpp", + "external/sources/boost/spirit/home/classic/phoenix/operators.hpp", + "external/sources/boost/spirit/home/classic/phoenix/primitives.hpp", + "external/sources/boost/spirit/home/classic/phoenix/special_ops.hpp", + "external/sources/boost/spirit/home/classic/phoenix/statements.hpp", + "external/sources/boost/spirit/home/classic/phoenix/tuple_helpers.hpp", + "external/sources/boost/spirit/home/classic/phoenix/tuples.hpp", + "external/sources/boost/spirit/home/classic/symbols.hpp", + "external/sources/boost/spirit/home/classic/symbols/impl/symbols.ipp", + "external/sources/boost/spirit/home/classic/symbols/impl/tst.ipp", + "external/sources/boost/spirit/home/classic/symbols/symbols.hpp", + "external/sources/boost/spirit/home/classic/symbols/symbols_fwd.hpp", + "external/sources/boost/spirit/home/classic/symbols/typeof.hpp", + "external/sources/boost/spirit/home/classic/tree/ast.hpp", + "external/sources/boost/spirit/home/classic/tree/ast_fwd.hpp", + "external/sources/boost/spirit/home/classic/tree/common.hpp", + "external/sources/boost/spirit/home/classic/tree/common_fwd.hpp", + "external/sources/boost/spirit/home/classic/tree/impl/parse_tree_utils.ipp", + "external/sources/boost/spirit/home/classic/tree/impl/tree_to_xml.ipp", + "external/sources/boost/spirit/home/classic/tree/parse_tree.hpp", + "external/sources/boost/spirit/home/classic/tree/parse_tree_fwd.hpp", + "external/sources/boost/spirit/home/classic/tree/parse_tree_utils.hpp", + "external/sources/boost/spirit/home/classic/tree/parsetree.dtd", + "external/sources/boost/spirit/home/classic/tree/tree_to_xml.hpp", + "external/sources/boost/spirit/home/classic/tree/typeof.hpp", + "external/sources/boost/spirit/home/classic/utility.hpp", + "external/sources/boost/spirit/home/classic/utility/chset.hpp", + "external/sources/boost/spirit/home/classic/utility/chset_operators.hpp", + "external/sources/boost/spirit/home/classic/utility/confix.hpp", + "external/sources/boost/spirit/home/classic/utility/confix_fwd.hpp", + "external/sources/boost/spirit/home/classic/utility/distinct.hpp", + "external/sources/boost/spirit/home/classic/utility/distinct_fwd.hpp", + "external/sources/boost/spirit/home/classic/utility/escape_char.hpp", + "external/sources/boost/spirit/home/classic/utility/escape_char_fwd.hpp", + "external/sources/boost/spirit/home/classic/utility/flush_multi_pass.hpp", + "external/sources/boost/spirit/home/classic/utility/functor_parser.hpp", + "external/sources/boost/spirit/home/classic/utility/grammar_def.hpp", + "external/sources/boost/spirit/home/classic/utility/grammar_def_fwd.hpp", + "external/sources/boost/spirit/home/classic/utility/impl/chset.ipp", + "external/sources/boost/spirit/home/classic/utility/impl/chset/basic_chset.hpp", + "external/sources/boost/spirit/home/classic/utility/impl/chset/basic_chset.ipp", + "external/sources/boost/spirit/home/classic/utility/impl/chset/range_run.hpp", + "external/sources/boost/spirit/home/classic/utility/impl/chset/range_run.ipp", + "external/sources/boost/spirit/home/classic/utility/impl/chset_operators.ipp", + "external/sources/boost/spirit/home/classic/utility/impl/confix.ipp", + "external/sources/boost/spirit/home/classic/utility/impl/escape_char.ipp", + "external/sources/boost/spirit/home/classic/utility/impl/lists.ipp", + "external/sources/boost/spirit/home/classic/utility/impl/regex.ipp", + "external/sources/boost/spirit/home/classic/utility/lists.hpp", + "external/sources/boost/spirit/home/classic/utility/lists_fwd.hpp", + "external/sources/boost/spirit/home/classic/utility/loops.hpp", + "external/sources/boost/spirit/home/classic/utility/regex.hpp", + "external/sources/boost/spirit/home/classic/utility/rule_parser.hpp", + "external/sources/boost/spirit/home/classic/utility/scoped_lock.hpp", + "external/sources/boost/spirit/home/classic/utility/typeof.hpp", + "external/sources/boost/spirit/home/classic/version.hpp", + "external/sources/boost/spirit/home/karma.hpp", + "external/sources/boost/spirit/home/karma/action.hpp", + "external/sources/boost/spirit/home/karma/action/action.hpp", + "external/sources/boost/spirit/home/karma/auto.hpp", + "external/sources/boost/spirit/home/karma/auto/auto.hpp", + "external/sources/boost/spirit/home/karma/auto/create_generator.hpp", + "external/sources/boost/spirit/home/karma/auto/meta_create.hpp", + "external/sources/boost/spirit/home/karma/auxiliary.hpp", + "external/sources/boost/spirit/home/karma/auxiliary/attr_cast.hpp", + "external/sources/boost/spirit/home/karma/auxiliary/eol.hpp", + "external/sources/boost/spirit/home/karma/auxiliary/eps.hpp", + "external/sources/boost/spirit/home/karma/auxiliary/lazy.hpp", + "external/sources/boost/spirit/home/karma/binary.hpp", + "external/sources/boost/spirit/home/karma/binary/binary.hpp", + "external/sources/boost/spirit/home/karma/binary/padding.hpp", + "external/sources/boost/spirit/home/karma/char.hpp", + "external/sources/boost/spirit/home/karma/char/char.hpp", + "external/sources/boost/spirit/home/karma/char/char_class.hpp", + "external/sources/boost/spirit/home/karma/char/char_generator.hpp", + "external/sources/boost/spirit/home/karma/delimit_flag.hpp", + "external/sources/boost/spirit/home/karma/delimit_out.hpp", + "external/sources/boost/spirit/home/karma/detail/alternative_function.hpp", + "external/sources/boost/spirit/home/karma/detail/as.hpp", + "external/sources/boost/spirit/home/karma/detail/attributes.hpp", + "external/sources/boost/spirit/home/karma/detail/default_width.hpp", + "external/sources/boost/spirit/home/karma/detail/enable_lit.hpp", + "external/sources/boost/spirit/home/karma/detail/extract_from.hpp", + "external/sources/boost/spirit/home/karma/detail/fail_function.hpp", + "external/sources/boost/spirit/home/karma/detail/generate.hpp", + "external/sources/boost/spirit/home/karma/detail/generate_auto.hpp", + "external/sources/boost/spirit/home/karma/detail/generate_to.hpp", + "external/sources/boost/spirit/home/karma/detail/get_casetag.hpp", + "external/sources/boost/spirit/home/karma/detail/get_stricttag.hpp", + "external/sources/boost/spirit/home/karma/detail/indirect_iterator.hpp", + "external/sources/boost/spirit/home/karma/detail/output_iterator.hpp", + "external/sources/boost/spirit/home/karma/detail/pass_container.hpp", + "external/sources/boost/spirit/home/karma/detail/string_compare.hpp", + "external/sources/boost/spirit/home/karma/detail/string_generate.hpp", + "external/sources/boost/spirit/home/karma/detail/unused_delimiter.hpp", + "external/sources/boost/spirit/home/karma/directive.hpp", + "external/sources/boost/spirit/home/karma/directive/as.hpp", + "external/sources/boost/spirit/home/karma/directive/buffer.hpp", + "external/sources/boost/spirit/home/karma/directive/center_alignment.hpp", + "external/sources/boost/spirit/home/karma/directive/columns.hpp", + "external/sources/boost/spirit/home/karma/directive/delimit.hpp", + "external/sources/boost/spirit/home/karma/directive/duplicate.hpp", + "external/sources/boost/spirit/home/karma/directive/encoding.hpp", + "external/sources/boost/spirit/home/karma/directive/left_alignment.hpp", + "external/sources/boost/spirit/home/karma/directive/maxwidth.hpp", + "external/sources/boost/spirit/home/karma/directive/no_delimit.hpp", + "external/sources/boost/spirit/home/karma/directive/omit.hpp", + "external/sources/boost/spirit/home/karma/directive/repeat.hpp", + "external/sources/boost/spirit/home/karma/directive/right_alignment.hpp", + "external/sources/boost/spirit/home/karma/directive/strict_relaxed.hpp", + "external/sources/boost/spirit/home/karma/directive/upper_lower_case.hpp", + "external/sources/boost/spirit/home/karma/directive/verbatim.hpp", + "external/sources/boost/spirit/home/karma/domain.hpp", + "external/sources/boost/spirit/home/karma/format.hpp", + "external/sources/boost/spirit/home/karma/format_auto.hpp", + "external/sources/boost/spirit/home/karma/generate.hpp", + "external/sources/boost/spirit/home/karma/generate_attr.hpp", + "external/sources/boost/spirit/home/karma/generator.hpp", + "external/sources/boost/spirit/home/karma/meta_compiler.hpp", + "external/sources/boost/spirit/home/karma/nonterminal.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/debug_handler.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/debug_handler_state.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/detail/fcall.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/detail/generator_binder.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/detail/parameterized.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/grammar.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/nonterminal_fwd.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/rule.hpp", + "external/sources/boost/spirit/home/karma/nonterminal/simple_trace.hpp", + "external/sources/boost/spirit/home/karma/numeric.hpp", + "external/sources/boost/spirit/home/karma/numeric/bool.hpp", + "external/sources/boost/spirit/home/karma/numeric/bool_policies.hpp", + "external/sources/boost/spirit/home/karma/numeric/detail/bool_utils.hpp", + "external/sources/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp", + "external/sources/boost/spirit/home/karma/numeric/detail/real_utils.hpp", + "external/sources/boost/spirit/home/karma/numeric/int.hpp", + "external/sources/boost/spirit/home/karma/numeric/real.hpp", + "external/sources/boost/spirit/home/karma/numeric/real_policies.hpp", + "external/sources/boost/spirit/home/karma/numeric/uint.hpp", + "external/sources/boost/spirit/home/karma/operator.hpp", + "external/sources/boost/spirit/home/karma/operator/alternative.hpp", + "external/sources/boost/spirit/home/karma/operator/and_predicate.hpp", + "external/sources/boost/spirit/home/karma/operator/kleene.hpp", + "external/sources/boost/spirit/home/karma/operator/list.hpp", + "external/sources/boost/spirit/home/karma/operator/not_predicate.hpp", + "external/sources/boost/spirit/home/karma/operator/optional.hpp", + "external/sources/boost/spirit/home/karma/operator/plus.hpp", + "external/sources/boost/spirit/home/karma/operator/sequence.hpp", + "external/sources/boost/spirit/home/karma/phoenix_attributes.hpp", + "external/sources/boost/spirit/home/karma/reference.hpp", + "external/sources/boost/spirit/home/karma/stream.hpp", + "external/sources/boost/spirit/home/karma/stream/detail/format_manip.hpp", + "external/sources/boost/spirit/home/karma/stream/detail/format_manip_auto.hpp", + "external/sources/boost/spirit/home/karma/stream/format_manip.hpp", + "external/sources/boost/spirit/home/karma/stream/format_manip_attr.hpp", + "external/sources/boost/spirit/home/karma/stream/ostream_iterator.hpp", + "external/sources/boost/spirit/home/karma/stream/stream.hpp", + "external/sources/boost/spirit/home/karma/string.hpp", + "external/sources/boost/spirit/home/karma/string/lit.hpp", + "external/sources/boost/spirit/home/karma/string/symbols.hpp", + "external/sources/boost/spirit/home/karma/what.hpp", + "external/sources/boost/spirit/home/lex.hpp", + "external/sources/boost/spirit/home/lex/argument.hpp", + "external/sources/boost/spirit/home/lex/argument_phoenix.hpp", + "external/sources/boost/spirit/home/lex/detail/sequence_function.hpp", + "external/sources/boost/spirit/home/lex/domain.hpp", + "external/sources/boost/spirit/home/lex/lexer.hpp", + "external/sources/boost/spirit/home/lex/lexer/action.hpp", + "external/sources/boost/spirit/home/lex/lexer/char_token_def.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexer.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/functor.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/iterator.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/iterator_tokenizer.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/lexer.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/position_token.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/semantic_action_data.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/static_functor_data.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/static_lexer.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/static_version.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/token.hpp", + "external/sources/boost/spirit/home/lex/lexer/lexertl/wrap_action.hpp", + "external/sources/boost/spirit/home/lex/lexer/pass_flags.hpp", + "external/sources/boost/spirit/home/lex/lexer/sequence.hpp", + "external/sources/boost/spirit/home/lex/lexer/string_token_def.hpp", + "external/sources/boost/spirit/home/lex/lexer/support_functions.hpp", + "external/sources/boost/spirit/home/lex/lexer/support_functions_expression.hpp", + "external/sources/boost/spirit/home/lex/lexer/terminals.hpp", + "external/sources/boost/spirit/home/lex/lexer/token_def.hpp", + "external/sources/boost/spirit/home/lex/lexer_lexertl.hpp", + "external/sources/boost/spirit/home/lex/lexer_static_lexertl.hpp", + "external/sources/boost/spirit/home/lex/lexer_type.hpp", + "external/sources/boost/spirit/home/lex/meta_compiler.hpp", + "external/sources/boost/spirit/home/lex/primitives.hpp", + "external/sources/boost/spirit/home/lex/qi.hpp", + "external/sources/boost/spirit/home/lex/qi/in_state.hpp", + "external/sources/boost/spirit/home/lex/qi/plain_raw_token.hpp", + "external/sources/boost/spirit/home/lex/qi/plain_token.hpp", + "external/sources/boost/spirit/home/lex/qi/plain_tokenid.hpp", + "external/sources/boost/spirit/home/lex/qi/plain_tokenid_mask.hpp", + "external/sources/boost/spirit/home/lex/qi/state_switcher.hpp", + "external/sources/boost/spirit/home/lex/reference.hpp", + "external/sources/boost/spirit/home/lex/tokenize_and_parse.hpp", + "external/sources/boost/spirit/home/lex/tokenize_and_parse_attr.hpp", + "external/sources/boost/spirit/home/qi.hpp", + "external/sources/boost/spirit/home/qi/action.hpp", + "external/sources/boost/spirit/home/qi/action/action.hpp", + "external/sources/boost/spirit/home/qi/auto.hpp", + "external/sources/boost/spirit/home/qi/auto/auto.hpp", + "external/sources/boost/spirit/home/qi/auto/create_parser.hpp", + "external/sources/boost/spirit/home/qi/auto/meta_create.hpp", + "external/sources/boost/spirit/home/qi/auxiliary.hpp", + "external/sources/boost/spirit/home/qi/auxiliary/attr.hpp", + "external/sources/boost/spirit/home/qi/auxiliary/attr_cast.hpp", + "external/sources/boost/spirit/home/qi/auxiliary/eoi.hpp", + "external/sources/boost/spirit/home/qi/auxiliary/eol.hpp", + "external/sources/boost/spirit/home/qi/auxiliary/eps.hpp", + "external/sources/boost/spirit/home/qi/auxiliary/lazy.hpp", + "external/sources/boost/spirit/home/qi/binary.hpp", + "external/sources/boost/spirit/home/qi/binary/binary.hpp", + "external/sources/boost/spirit/home/qi/char.hpp", + "external/sources/boost/spirit/home/qi/char/char.hpp", + "external/sources/boost/spirit/home/qi/char/char_class.hpp", + "external/sources/boost/spirit/home/qi/char/char_parser.hpp", + "external/sources/boost/spirit/home/qi/copy.hpp", + "external/sources/boost/spirit/home/qi/detail/alternative_function.hpp", + "external/sources/boost/spirit/home/qi/detail/assign_to.hpp", + "external/sources/boost/spirit/home/qi/detail/attributes.hpp", + "external/sources/boost/spirit/home/qi/detail/construct.hpp", + "external/sources/boost/spirit/home/qi/detail/enable_lit.hpp", + "external/sources/boost/spirit/home/qi/detail/expect_function.hpp", + "external/sources/boost/spirit/home/qi/detail/expectation_failure.hpp", + "external/sources/boost/spirit/home/qi/detail/fail_function.hpp", + "external/sources/boost/spirit/home/qi/detail/parse.hpp", + "external/sources/boost/spirit/home/qi/detail/parse_auto.hpp", + "external/sources/boost/spirit/home/qi/detail/pass_container.hpp", + "external/sources/boost/spirit/home/qi/detail/pass_function.hpp", + "external/sources/boost/spirit/home/qi/detail/permute_function.hpp", + "external/sources/boost/spirit/home/qi/detail/string_parse.hpp", + "external/sources/boost/spirit/home/qi/detail/unused_skipper.hpp", + "external/sources/boost/spirit/home/qi/directive.hpp", + "external/sources/boost/spirit/home/qi/directive/as.hpp", + "external/sources/boost/spirit/home/qi/directive/encoding.hpp", + "external/sources/boost/spirit/home/qi/directive/expect.hpp", + "external/sources/boost/spirit/home/qi/directive/hold.hpp", + "external/sources/boost/spirit/home/qi/directive/lexeme.hpp", + "external/sources/boost/spirit/home/qi/directive/matches.hpp", + "external/sources/boost/spirit/home/qi/directive/no_case.hpp", + "external/sources/boost/spirit/home/qi/directive/no_skip.hpp", + "external/sources/boost/spirit/home/qi/directive/omit.hpp", + "external/sources/boost/spirit/home/qi/directive/raw.hpp", + "external/sources/boost/spirit/home/qi/directive/repeat.hpp", + "external/sources/boost/spirit/home/qi/directive/skip.hpp", + "external/sources/boost/spirit/home/qi/domain.hpp", + "external/sources/boost/spirit/home/qi/match.hpp", + "external/sources/boost/spirit/home/qi/match_auto.hpp", + "external/sources/boost/spirit/home/qi/meta_compiler.hpp", + "external/sources/boost/spirit/home/qi/nonterminal.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/debug_handler.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/debug_handler_state.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/detail/fcall.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/detail/parameterized.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/detail/parser_binder.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/error_handler.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/grammar.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/nonterminal_fwd.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/rule.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/simple_trace.hpp", + "external/sources/boost/spirit/home/qi/nonterminal/success_handler.hpp", + "external/sources/boost/spirit/home/qi/numeric.hpp", + "external/sources/boost/spirit/home/qi/numeric/bool.hpp", + "external/sources/boost/spirit/home/qi/numeric/bool_policies.hpp", + "external/sources/boost/spirit/home/qi/numeric/detail/numeric_utils.hpp", + "external/sources/boost/spirit/home/qi/numeric/detail/real_impl.hpp", + "external/sources/boost/spirit/home/qi/numeric/int.hpp", + "external/sources/boost/spirit/home/qi/numeric/numeric_utils.hpp", + "external/sources/boost/spirit/home/qi/numeric/real.hpp", + "external/sources/boost/spirit/home/qi/numeric/real_policies.hpp", + "external/sources/boost/spirit/home/qi/numeric/uint.hpp", + "external/sources/boost/spirit/home/qi/operator.hpp", + "external/sources/boost/spirit/home/qi/operator/alternative.hpp", + "external/sources/boost/spirit/home/qi/operator/and_predicate.hpp", + "external/sources/boost/spirit/home/qi/operator/difference.hpp", + "external/sources/boost/spirit/home/qi/operator/expect.hpp", + "external/sources/boost/spirit/home/qi/operator/kleene.hpp", + "external/sources/boost/spirit/home/qi/operator/list.hpp", + "external/sources/boost/spirit/home/qi/operator/not_predicate.hpp", + "external/sources/boost/spirit/home/qi/operator/optional.hpp", + "external/sources/boost/spirit/home/qi/operator/permutation.hpp", + "external/sources/boost/spirit/home/qi/operator/plus.hpp", + "external/sources/boost/spirit/home/qi/operator/sequence.hpp", + "external/sources/boost/spirit/home/qi/operator/sequence_base.hpp", + "external/sources/boost/spirit/home/qi/operator/sequential_or.hpp", + "external/sources/boost/spirit/home/qi/parse.hpp", + "external/sources/boost/spirit/home/qi/parse_attr.hpp", + "external/sources/boost/spirit/home/qi/parser.hpp", + "external/sources/boost/spirit/home/qi/reference.hpp", + "external/sources/boost/spirit/home/qi/skip_flag.hpp", + "external/sources/boost/spirit/home/qi/skip_over.hpp", + "external/sources/boost/spirit/home/qi/stream.hpp", + "external/sources/boost/spirit/home/qi/stream/detail/match_manip.hpp", + "external/sources/boost/spirit/home/qi/stream/detail/match_manip_auto.hpp", + "external/sources/boost/spirit/home/qi/stream/match_manip.hpp", + "external/sources/boost/spirit/home/qi/stream/match_manip_attr.hpp", + "external/sources/boost/spirit/home/qi/stream/stream.hpp", + "external/sources/boost/spirit/home/qi/string.hpp", + "external/sources/boost/spirit/home/qi/string/detail/tst.hpp", + "external/sources/boost/spirit/home/qi/string/lit.hpp", + "external/sources/boost/spirit/home/qi/string/symbols.hpp", + "external/sources/boost/spirit/home/qi/string/tst.hpp", + "external/sources/boost/spirit/home/qi/string/tst_map.hpp", + "external/sources/boost/spirit/home/qi/what.hpp", + "external/sources/boost/spirit/home/support.hpp", + "external/sources/boost/spirit/home/support/action_dispatch.hpp", + "external/sources/boost/spirit/home/support/adapt_adt_attributes.hpp", + "external/sources/boost/spirit/home/support/algorithm/any.hpp", + "external/sources/boost/spirit/home/support/algorithm/any_if.hpp", + "external/sources/boost/spirit/home/support/algorithm/any_if_ns.hpp", + "external/sources/boost/spirit/home/support/algorithm/any_if_ns_so.hpp", + "external/sources/boost/spirit/home/support/algorithm/any_ns.hpp", + "external/sources/boost/spirit/home/support/algorithm/any_ns_so.hpp", + "external/sources/boost/spirit/home/support/argument.hpp", + "external/sources/boost/spirit/home/support/argument_expression.hpp", + "external/sources/boost/spirit/home/support/assert_msg.hpp", + "external/sources/boost/spirit/home/support/attributes.hpp", + "external/sources/boost/spirit/home/support/attributes_fwd.hpp", + "external/sources/boost/spirit/home/support/auto.hpp", + "external/sources/boost/spirit/home/support/auto/meta_create.hpp", + "external/sources/boost/spirit/home/support/auxiliary/attr_cast.hpp", + "external/sources/boost/spirit/home/support/char_class.hpp", + "external/sources/boost/spirit/home/support/char_encoding/ascii.hpp", + "external/sources/boost/spirit/home/support/char_encoding/iso8859_1.hpp", + "external/sources/boost/spirit/home/support/char_encoding/standard.hpp", + "external/sources/boost/spirit/home/support/char_encoding/standard_wide.hpp", + "external/sources/boost/spirit/home/support/char_encoding/unicode.hpp", + "external/sources/boost/spirit/home/support/char_encoding/unicode/category_table.hpp", + "external/sources/boost/spirit/home/support/char_encoding/unicode/lowercase_table.hpp", + "external/sources/boost/spirit/home/support/char_encoding/unicode/query.hpp", + "external/sources/boost/spirit/home/support/char_encoding/unicode/script_table.hpp", + "external/sources/boost/spirit/home/support/char_encoding/unicode/uppercase_table.hpp", + "external/sources/boost/spirit/home/support/char_set/basic_chset.hpp", + "external/sources/boost/spirit/home/support/char_set/range.hpp", + "external/sources/boost/spirit/home/support/char_set/range_functions.hpp", + "external/sources/boost/spirit/home/support/char_set/range_run.hpp", + "external/sources/boost/spirit/home/support/char_set/range_run_impl.hpp", + "external/sources/boost/spirit/home/support/common_terminals.hpp", + "external/sources/boost/spirit/home/support/container.hpp", + "external/sources/boost/spirit/home/support/context.hpp", + "external/sources/boost/spirit/home/support/detail/as_variant.hpp", + "external/sources/boost/spirit/home/support/detail/endian.hpp", + "external/sources/boost/spirit/home/support/detail/get_encoding.hpp", + "external/sources/boost/spirit/home/support/detail/hold_any.hpp", + "external/sources/boost/spirit/home/support/detail/is_spirit_tag.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/char_traits.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/consts.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/containers/ptr_list.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/containers/ptr_vector.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/conversion/char_state_machine.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/debug.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/file_input.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/generate_cpp.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/generate_re2c.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/generator.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/input.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/internals.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/parser.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tokeniser/num_token.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_helper.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tokeniser/re_tokeniser_state.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tree/end_node.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tree/iteration_node.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tree/leaf_node.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tree/node.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tree/selection_node.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/parser/tree/sequence_node.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/partition/charset.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/partition/equivset.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/rules.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/runtime_error.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/size_t.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/state_machine.hpp", + "external/sources/boost/spirit/home/support/detail/lexer/string_token.hpp", + "external/sources/boost/spirit/home/support/detail/make_cons.hpp", + "external/sources/boost/spirit/home/support/detail/make_vector.hpp", + "external/sources/boost/spirit/home/support/detail/pow10.hpp", + "external/sources/boost/spirit/home/support/detail/scoped_enum_emulation.hpp", + "external/sources/boost/spirit/home/support/detail/sign.hpp", + "external/sources/boost/spirit/home/support/detail/what_function.hpp", + "external/sources/boost/spirit/home/support/extended_variant.hpp", + "external/sources/boost/spirit/home/support/handles_container.hpp", + "external/sources/boost/spirit/home/support/has_semantic_action.hpp", + "external/sources/boost/spirit/home/support/info.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/buf_id_check_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/buffering_input_iterator_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/combine_policies.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/first_owner_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/fixed_size_queue.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/fixed_size_queue_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/input_iterator_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/istream_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/lex_input_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/multi_pass.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/no_check_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/ref_counted_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/split_functor_input_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/detail/split_std_deque_policy.hpp", + "external/sources/boost/spirit/home/support/iterators/istream_iterator.hpp", + "external/sources/boost/spirit/home/support/iterators/line_pos_iterator.hpp", + "external/sources/boost/spirit/home/support/iterators/look_ahead.hpp", + "external/sources/boost/spirit/home/support/iterators/multi_pass.hpp", + "external/sources/boost/spirit/home/support/iterators/multi_pass_fwd.hpp", + "external/sources/boost/spirit/home/support/iterators/ostream_iterator.hpp", + "external/sources/boost/spirit/home/support/lazy.hpp", + "external/sources/boost/spirit/home/support/limits.hpp", + "external/sources/boost/spirit/home/support/make_component.hpp", + "external/sources/boost/spirit/home/support/meta_compiler.hpp", + "external/sources/boost/spirit/home/support/modify.hpp", + "external/sources/boost/spirit/home/support/multi_pass.hpp", + "external/sources/boost/spirit/home/support/multi_pass_wrapper.hpp", + "external/sources/boost/spirit/home/support/nonterminal/expand_arg.hpp", + "external/sources/boost/spirit/home/support/nonterminal/extract_param.hpp", + "external/sources/boost/spirit/home/support/nonterminal/locals.hpp", + "external/sources/boost/spirit/home/support/numeric_traits.hpp", + "external/sources/boost/spirit/home/support/sequence_base_id.hpp", + "external/sources/boost/spirit/home/support/string_traits.hpp", + "external/sources/boost/spirit/home/support/terminal.hpp", + "external/sources/boost/spirit/home/support/terminal_expression.hpp", + "external/sources/boost/spirit/home/support/unused.hpp", + "external/sources/boost/spirit/home/support/utf8.hpp", + "external/sources/boost/spirit/home/support/utree.hpp", + "external/sources/boost/spirit/home/support/utree/detail/utree_detail1.hpp", + "external/sources/boost/spirit/home/support/utree/detail/utree_detail2.hpp", + "external/sources/boost/spirit/home/support/utree/operators.hpp", + "external/sources/boost/spirit/home/support/utree/utree.hpp", + "external/sources/boost/spirit/home/support/utree/utree_traits.hpp", + "external/sources/boost/spirit/home/support/utree/utree_traits_fwd.hpp", + "external/sources/boost/spirit/home/x3.hpp", + "external/sources/boost/spirit/home/x3/auxiliary.hpp", + "external/sources/boost/spirit/home/x3/auxiliary/any_parser.hpp", + "external/sources/boost/spirit/home/x3/auxiliary/attr.hpp", + "external/sources/boost/spirit/home/x3/auxiliary/eoi.hpp", + "external/sources/boost/spirit/home/x3/auxiliary/eol.hpp", + "external/sources/boost/spirit/home/x3/auxiliary/eps.hpp", + "external/sources/boost/spirit/home/x3/auxiliary/guard.hpp", + "external/sources/boost/spirit/home/x3/binary.hpp", + "external/sources/boost/spirit/home/x3/binary/binary.hpp", + "external/sources/boost/spirit/home/x3/char.hpp", + "external/sources/boost/spirit/home/x3/char/any_char.hpp", + "external/sources/boost/spirit/home/x3/char/char.hpp", + "external/sources/boost/spirit/home/x3/char/char_class.hpp", + "external/sources/boost/spirit/home/x3/char/char_class_tags.hpp", + "external/sources/boost/spirit/home/x3/char/char_parser.hpp", + "external/sources/boost/spirit/home/x3/char/char_set.hpp", + "external/sources/boost/spirit/home/x3/char/detail/cast_char.hpp", + "external/sources/boost/spirit/home/x3/char/literal_char.hpp", + "external/sources/boost/spirit/home/x3/char/negated_char_parser.hpp", + "external/sources/boost/spirit/home/x3/char/unicode.hpp", + "external/sources/boost/spirit/home/x3/core.hpp", + "external/sources/boost/spirit/home/x3/core/action.hpp", + "external/sources/boost/spirit/home/x3/core/call.hpp", + "external/sources/boost/spirit/home/x3/core/detail/parse_into_container.hpp", + "external/sources/boost/spirit/home/x3/core/parse.hpp", + "external/sources/boost/spirit/home/x3/core/parser.hpp", + "external/sources/boost/spirit/home/x3/core/proxy.hpp", + "external/sources/boost/spirit/home/x3/core/skip_over.hpp", + "external/sources/boost/spirit/home/x3/directive.hpp", + "external/sources/boost/spirit/home/x3/directive/confix.hpp", + "external/sources/boost/spirit/home/x3/directive/expect.hpp", + "external/sources/boost/spirit/home/x3/directive/lexeme.hpp", + "external/sources/boost/spirit/home/x3/directive/matches.hpp", + "external/sources/boost/spirit/home/x3/directive/no_case.hpp", + "external/sources/boost/spirit/home/x3/directive/no_skip.hpp", + "external/sources/boost/spirit/home/x3/directive/omit.hpp", + "external/sources/boost/spirit/home/x3/directive/raw.hpp", + "external/sources/boost/spirit/home/x3/directive/repeat.hpp", + "external/sources/boost/spirit/home/x3/directive/seek.hpp", + "external/sources/boost/spirit/home/x3/directive/skip.hpp", + "external/sources/boost/spirit/home/x3/directive/with.hpp", + "external/sources/boost/spirit/home/x3/nonterminal.hpp", + "external/sources/boost/spirit/home/x3/nonterminal/debug_handler_state.hpp", + "external/sources/boost/spirit/home/x3/nonterminal/detail/rule.hpp", + "external/sources/boost/spirit/home/x3/nonterminal/detail/transform_attribute.hpp", + "external/sources/boost/spirit/home/x3/nonterminal/rule.hpp", + "external/sources/boost/spirit/home/x3/nonterminal/simple_trace.hpp", + "external/sources/boost/spirit/home/x3/numeric.hpp", + "external/sources/boost/spirit/home/x3/numeric/bool.hpp", + "external/sources/boost/spirit/home/x3/numeric/bool_policies.hpp", + "external/sources/boost/spirit/home/x3/numeric/int.hpp", + "external/sources/boost/spirit/home/x3/numeric/real.hpp", + "external/sources/boost/spirit/home/x3/numeric/real_policies.hpp", + "external/sources/boost/spirit/home/x3/numeric/uint.hpp", + "external/sources/boost/spirit/home/x3/operator.hpp", + "external/sources/boost/spirit/home/x3/operator/alternative.hpp", + "external/sources/boost/spirit/home/x3/operator/and_predicate.hpp", + "external/sources/boost/spirit/home/x3/operator/detail/alternative.hpp", + "external/sources/boost/spirit/home/x3/operator/detail/sequence.hpp", + "external/sources/boost/spirit/home/x3/operator/difference.hpp", + "external/sources/boost/spirit/home/x3/operator/kleene.hpp", + "external/sources/boost/spirit/home/x3/operator/list.hpp", + "external/sources/boost/spirit/home/x3/operator/not_predicate.hpp", + "external/sources/boost/spirit/home/x3/operator/optional.hpp", + "external/sources/boost/spirit/home/x3/operator/plus.hpp", + "external/sources/boost/spirit/home/x3/operator/sequence.hpp", + "external/sources/boost/spirit/home/x3/string.hpp", + "external/sources/boost/spirit/home/x3/string/detail/no_case_string_parse.hpp", + "external/sources/boost/spirit/home/x3/string/detail/string_parse.hpp", + "external/sources/boost/spirit/home/x3/string/detail/tst.hpp", + "external/sources/boost/spirit/home/x3/string/literal_string.hpp", + "external/sources/boost/spirit/home/x3/string/symbols.hpp", + "external/sources/boost/spirit/home/x3/string/tst.hpp", + "external/sources/boost/spirit/home/x3/string/tst_map.hpp", + "external/sources/boost/spirit/home/x3/support/ast/position_tagged.hpp", + "external/sources/boost/spirit/home/x3/support/ast/variant.hpp", + "external/sources/boost/spirit/home/x3/support/context.hpp", + "external/sources/boost/spirit/home/x3/support/no_case.hpp", + "external/sources/boost/spirit/home/x3/support/numeric_utils/detail/extract_int.hpp", + "external/sources/boost/spirit/home/x3/support/numeric_utils/extract_int.hpp", + "external/sources/boost/spirit/home/x3/support/numeric_utils/extract_real.hpp", + "external/sources/boost/spirit/home/x3/support/numeric_utils/pow10.hpp", + "external/sources/boost/spirit/home/x3/support/numeric_utils/sign.hpp", + "external/sources/boost/spirit/home/x3/support/subcontext.hpp", + "external/sources/boost/spirit/home/x3/support/traits/attribute_category.hpp", + "external/sources/boost/spirit/home/x3/support/traits/attribute_of.hpp", + "external/sources/boost/spirit/home/x3/support/traits/attribute_of_binary.hpp", + "external/sources/boost/spirit/home/x3/support/traits/attribute_type.hpp", + "external/sources/boost/spirit/home/x3/support/traits/container_traits.hpp", + "external/sources/boost/spirit/home/x3/support/traits/handles_container.hpp", + "external/sources/boost/spirit/home/x3/support/traits/has_attribute.hpp", + "external/sources/boost/spirit/home/x3/support/traits/is_parser.hpp", + "external/sources/boost/spirit/home/x3/support/traits/is_range.hpp", + "external/sources/boost/spirit/home/x3/support/traits/is_substitute.hpp", + "external/sources/boost/spirit/home/x3/support/traits/is_variant.hpp", + "external/sources/boost/spirit/home/x3/support/traits/move_to.hpp", + "external/sources/boost/spirit/home/x3/support/traits/numeric_traits.hpp", + "external/sources/boost/spirit/home/x3/support/traits/optional_traits.hpp", + "external/sources/boost/spirit/home/x3/support/traits/print_attribute.hpp", + "external/sources/boost/spirit/home/x3/support/traits/print_token.hpp", + "external/sources/boost/spirit/home/x3/support/traits/pseudo_attribute.hpp", + "external/sources/boost/spirit/home/x3/support/traits/string_traits.hpp", + "external/sources/boost/spirit/home/x3/support/traits/transform_attribute.hpp", + "external/sources/boost/spirit/home/x3/support/traits/tuple_traits.hpp", + "external/sources/boost/spirit/home/x3/support/traits/variant_find_substitute.hpp", + "external/sources/boost/spirit/home/x3/support/traits/variant_has_substitute.hpp", + "external/sources/boost/spirit/home/x3/support/unused.hpp", + "external/sources/boost/spirit/home/x3/support/utility/annotate_on_success.hpp", + "external/sources/boost/spirit/home/x3/support/utility/error_reporting.hpp", + "external/sources/boost/spirit/home/x3/support/utility/is_callable.hpp", + "external/sources/boost/spirit/home/x3/support/utility/lambda_visitor.hpp", + "external/sources/boost/spirit/home/x3/support/utility/sfinae.hpp", + "external/sources/boost/spirit/home/x3/support/utility/utf8.hpp", + "external/sources/boost/spirit/home/x3/version.hpp", + "external/sources/boost/spirit/include/classic.hpp", + "external/sources/boost/spirit/include/classic_actions.hpp", + "external/sources/boost/spirit/include/classic_actor.hpp", + "external/sources/boost/spirit/include/classic_alternative.hpp", + "external/sources/boost/spirit/include/classic_as_parser.hpp", + "external/sources/boost/spirit/include/classic_assert.hpp", + "external/sources/boost/spirit/include/classic_assign_actor.hpp", + "external/sources/boost/spirit/include/classic_assign_key_actor.hpp", + "external/sources/boost/spirit/include/classic_ast.hpp", + "external/sources/boost/spirit/include/classic_ast_fwd.hpp", + "external/sources/boost/spirit/include/classic_attribute.hpp", + "external/sources/boost/spirit/include/classic_basic_chset.hpp", + "external/sources/boost/spirit/include/classic_chset.hpp", + "external/sources/boost/spirit/include/classic_chset_operators.hpp", + "external/sources/boost/spirit/include/classic_clear_actor.hpp", + "external/sources/boost/spirit/include/classic_closure.hpp", + "external/sources/boost/spirit/include/classic_closure_context.hpp", + "external/sources/boost/spirit/include/classic_closure_fwd.hpp", + "external/sources/boost/spirit/include/classic_common.hpp", + "external/sources/boost/spirit/include/classic_common_fwd.hpp", + "external/sources/boost/spirit/include/classic_composite.hpp", + "external/sources/boost/spirit/include/classic_config.hpp", + "external/sources/boost/spirit/include/classic_confix.hpp", + "external/sources/boost/spirit/include/classic_confix_fwd.hpp", + "external/sources/boost/spirit/include/classic_core.hpp", + "external/sources/boost/spirit/include/classic_debug.hpp", + "external/sources/boost/spirit/include/classic_debug_node.hpp", + "external/sources/boost/spirit/include/classic_decrement_actor.hpp", + "external/sources/boost/spirit/include/classic_difference.hpp", + "external/sources/boost/spirit/include/classic_directives.hpp", + "external/sources/boost/spirit/include/classic_distinct.hpp", + "external/sources/boost/spirit/include/classic_distinct_fwd.hpp", + "external/sources/boost/spirit/include/classic_dynamic.hpp", + "external/sources/boost/spirit/include/classic_epsilon.hpp", + "external/sources/boost/spirit/include/classic_erase_actor.hpp", + "external/sources/boost/spirit/include/classic_error_handling.hpp", + "external/sources/boost/spirit/include/classic_escape_char.hpp", + "external/sources/boost/spirit/include/classic_escape_char_fwd.hpp", + "external/sources/boost/spirit/include/classic_exceptions.hpp", + "external/sources/boost/spirit/include/classic_exceptions_fwd.hpp", + "external/sources/boost/spirit/include/classic_exclusive_or.hpp", + "external/sources/boost/spirit/include/classic_file_iterator.hpp", + "external/sources/boost/spirit/include/classic_file_iterator_fwd.hpp", + "external/sources/boost/spirit/include/classic_fixed_size_queue.hpp", + "external/sources/boost/spirit/include/classic_flush_multi_pass.hpp", + "external/sources/boost/spirit/include/classic_for.hpp", + "external/sources/boost/spirit/include/classic_functor_parser.hpp", + "external/sources/boost/spirit/include/classic_fundamental.hpp", + "external/sources/boost/spirit/include/classic_grammar.hpp", + "external/sources/boost/spirit/include/classic_grammar_def.hpp", + "external/sources/boost/spirit/include/classic_grammar_def_fwd.hpp", + "external/sources/boost/spirit/include/classic_if.hpp", + "external/sources/boost/spirit/include/classic_increment_actor.hpp", + "external/sources/boost/spirit/include/classic_insert_at_actor.hpp", + "external/sources/boost/spirit/include/classic_insert_key_actor.hpp", + "external/sources/boost/spirit/include/classic_intersection.hpp", + "external/sources/boost/spirit/include/classic_iterator.hpp", + "external/sources/boost/spirit/include/classic_kleene_star.hpp", + "external/sources/boost/spirit/include/classic_lazy.hpp", + "external/sources/boost/spirit/include/classic_list.hpp", + "external/sources/boost/spirit/include/classic_lists.hpp", + "external/sources/boost/spirit/include/classic_lists_fwd.hpp", + "external/sources/boost/spirit/include/classic_loops.hpp", + "external/sources/boost/spirit/include/classic_match.hpp", + "external/sources/boost/spirit/include/classic_meta.hpp", + "external/sources/boost/spirit/include/classic_minimal.hpp", + "external/sources/boost/spirit/include/classic_multi_pass.hpp", + "external/sources/boost/spirit/include/classic_multi_pass_fwd.hpp", + "external/sources/boost/spirit/include/classic_nil.hpp", + "external/sources/boost/spirit/include/classic_no_actions.hpp", + "external/sources/boost/spirit/include/classic_numerics.hpp", + "external/sources/boost/spirit/include/classic_numerics_fwd.hpp", + "external/sources/boost/spirit/include/classic_operators.hpp", + "external/sources/boost/spirit/include/classic_optional.hpp", + "external/sources/boost/spirit/include/classic_parametric.hpp", + "external/sources/boost/spirit/include/classic_parse_tree.hpp", + "external/sources/boost/spirit/include/classic_parse_tree_fwd.hpp", + "external/sources/boost/spirit/include/classic_parse_tree_utils.hpp", + "external/sources/boost/spirit/include/classic_parser.hpp", + "external/sources/boost/spirit/include/classic_parser_context.hpp", + "external/sources/boost/spirit/include/classic_parser_id.hpp", + "external/sources/boost/spirit/include/classic_parser_names.hpp", + "external/sources/boost/spirit/include/classic_parser_traits.hpp", + "external/sources/boost/spirit/include/classic_position_iterator.hpp", + "external/sources/boost/spirit/include/classic_position_iterator_fwd.hpp", + "external/sources/boost/spirit/include/classic_positive.hpp", + "external/sources/boost/spirit/include/classic_primitives.hpp", + "external/sources/boost/spirit/include/classic_push_back_actor.hpp", + "external/sources/boost/spirit/include/classic_push_front_actor.hpp", + "external/sources/boost/spirit/include/classic_range_run.hpp", + "external/sources/boost/spirit/include/classic_ref_actor.hpp", + "external/sources/boost/spirit/include/classic_ref_const_ref_actor.hpp", + "external/sources/boost/spirit/include/classic_ref_const_ref_const_ref_a.hpp", + "external/sources/boost/spirit/include/classic_ref_const_ref_value_actor.hpp", + "external/sources/boost/spirit/include/classic_ref_value_actor.hpp", + "external/sources/boost/spirit/include/classic_refactoring.hpp", + "external/sources/boost/spirit/include/classic_regex.hpp", + "external/sources/boost/spirit/include/classic_rule.hpp", + "external/sources/boost/spirit/include/classic_rule_alias.hpp", + "external/sources/boost/spirit/include/classic_rule_parser.hpp", + "external/sources/boost/spirit/include/classic_safe_bool.hpp", + "external/sources/boost/spirit/include/classic_scanner.hpp", + "external/sources/boost/spirit/include/classic_scanner_fwd.hpp", + "external/sources/boost/spirit/include/classic_scoped_lock.hpp", + "external/sources/boost/spirit/include/classic_select.hpp", + "external/sources/boost/spirit/include/classic_sequence.hpp", + "external/sources/boost/spirit/include/classic_sequential_and.hpp", + "external/sources/boost/spirit/include/classic_sequential_or.hpp", + "external/sources/boost/spirit/include/classic_skipper.hpp", + "external/sources/boost/spirit/include/classic_skipper_fwd.hpp", + "external/sources/boost/spirit/include/classic_spirit.hpp", + "external/sources/boost/spirit/include/classic_static.hpp", + "external/sources/boost/spirit/include/classic_stored_rule.hpp", + "external/sources/boost/spirit/include/classic_stored_rule_fwd.hpp", + "external/sources/boost/spirit/include/classic_subrule.hpp", + "external/sources/boost/spirit/include/classic_subrule_fwd.hpp", + "external/sources/boost/spirit/include/classic_swap_actor.hpp", + "external/sources/boost/spirit/include/classic_switch.hpp", + "external/sources/boost/spirit/include/classic_symbols.hpp", + "external/sources/boost/spirit/include/classic_symbols_fwd.hpp", + "external/sources/boost/spirit/include/classic_traverse.hpp", + "external/sources/boost/spirit/include/classic_tree_to_xml.hpp", + "external/sources/boost/spirit/include/classic_typeof.hpp", + "external/sources/boost/spirit/include/classic_utility.hpp", + "external/sources/boost/spirit/include/classic_version.hpp", + "external/sources/boost/spirit/include/classic_while.hpp", + "external/sources/boost/spirit/include/karma.hpp", + "external/sources/boost/spirit/include/karma_action.hpp", + "external/sources/boost/spirit/include/karma_alternative.hpp", + "external/sources/boost/spirit/include/karma_and_predicate.hpp", + "external/sources/boost/spirit/include/karma_as.hpp", + "external/sources/boost/spirit/include/karma_attr_cast.hpp", + "external/sources/boost/spirit/include/karma_auto.hpp", + "external/sources/boost/spirit/include/karma_auxiliary.hpp", + "external/sources/boost/spirit/include/karma_binary.hpp", + "external/sources/boost/spirit/include/karma_bool.hpp", + "external/sources/boost/spirit/include/karma_buffer.hpp", + "external/sources/boost/spirit/include/karma_center_alignment.hpp", + "external/sources/boost/spirit/include/karma_char.hpp", + "external/sources/boost/spirit/include/karma_char_.hpp", + "external/sources/boost/spirit/include/karma_char_class.hpp", + "external/sources/boost/spirit/include/karma_columns.hpp", + "external/sources/boost/spirit/include/karma_delimit.hpp", + "external/sources/boost/spirit/include/karma_directive.hpp", + "external/sources/boost/spirit/include/karma_domain.hpp", + "external/sources/boost/spirit/include/karma_duplicate.hpp", + "external/sources/boost/spirit/include/karma_eol.hpp", + "external/sources/boost/spirit/include/karma_eps.hpp", + "external/sources/boost/spirit/include/karma_format.hpp", + "external/sources/boost/spirit/include/karma_format_attr.hpp", + "external/sources/boost/spirit/include/karma_format_auto.hpp", + "external/sources/boost/spirit/include/karma_generate.hpp", + "external/sources/boost/spirit/include/karma_generate_attr.hpp", + "external/sources/boost/spirit/include/karma_generate_auto.hpp", + "external/sources/boost/spirit/include/karma_grammar.hpp", + "external/sources/boost/spirit/include/karma_int.hpp", + "external/sources/boost/spirit/include/karma_kleene.hpp", + "external/sources/boost/spirit/include/karma_lazy.hpp", + "external/sources/boost/spirit/include/karma_left_alignment.hpp", + "external/sources/boost/spirit/include/karma_list.hpp", + "external/sources/boost/spirit/include/karma_maxwidth.hpp", + "external/sources/boost/spirit/include/karma_no_delimit.hpp", + "external/sources/boost/spirit/include/karma_nonterminal.hpp", + "external/sources/boost/spirit/include/karma_not_predicate.hpp", + "external/sources/boost/spirit/include/karma_numeric.hpp", + "external/sources/boost/spirit/include/karma_omit.hpp", + "external/sources/boost/spirit/include/karma_operator.hpp", + "external/sources/boost/spirit/include/karma_optional.hpp", + "external/sources/boost/spirit/include/karma_phoenix_attributes.hpp", + "external/sources/boost/spirit/include/karma_plus.hpp", + "external/sources/boost/spirit/include/karma_real.hpp", + "external/sources/boost/spirit/include/karma_repeat.hpp", + "external/sources/boost/spirit/include/karma_right_alignment.hpp", + "external/sources/boost/spirit/include/karma_rule.hpp", + "external/sources/boost/spirit/include/karma_sequence.hpp", + "external/sources/boost/spirit/include/karma_stream.hpp", + "external/sources/boost/spirit/include/karma_strict_relaxed.hpp", + "external/sources/boost/spirit/include/karma_string.hpp", + "external/sources/boost/spirit/include/karma_symbols.hpp", + "external/sources/boost/spirit/include/karma_uint.hpp", + "external/sources/boost/spirit/include/karma_upper_lower_case.hpp", + "external/sources/boost/spirit/include/karma_verbatim.hpp", + "external/sources/boost/spirit/include/karma_what.hpp", + "external/sources/boost/spirit/include/lex.hpp", + "external/sources/boost/spirit/include/lex_char_token_def.hpp", + "external/sources/boost/spirit/include/lex_domain.hpp", + "external/sources/boost/spirit/include/lex_generate_static_lexertl.hpp", + "external/sources/boost/spirit/include/lex_lexer.hpp", + "external/sources/boost/spirit/include/lex_lexertl.hpp", + "external/sources/boost/spirit/include/lex_lexertl_position_token.hpp", + "external/sources/boost/spirit/include/lex_lexertl_token.hpp", + "external/sources/boost/spirit/include/lex_plain_token.hpp", + "external/sources/boost/spirit/include/lex_primitives.hpp", + "external/sources/boost/spirit/include/lex_static_lexertl.hpp", + "external/sources/boost/spirit/include/lex_tokenize_and_parse.hpp", + "external/sources/boost/spirit/include/lex_tokenize_and_parse_attr.hpp", + "external/sources/boost/spirit/include/phoenix.hpp", + "external/sources/boost/spirit/include/phoenix1.hpp", + "external/sources/boost/spirit/include/phoenix1_actor.hpp", + "external/sources/boost/spirit/include/phoenix1_binders.hpp", + "external/sources/boost/spirit/include/phoenix1_casts.hpp", + "external/sources/boost/spirit/include/phoenix1_closures.hpp", + "external/sources/boost/spirit/include/phoenix1_composite.hpp", + "external/sources/boost/spirit/include/phoenix1_functions.hpp", + "external/sources/boost/spirit/include/phoenix1_new.hpp", + "external/sources/boost/spirit/include/phoenix1_operators.hpp", + "external/sources/boost/spirit/include/phoenix1_primitives.hpp", + "external/sources/boost/spirit/include/phoenix1_special_ops.hpp", + "external/sources/boost/spirit/include/phoenix1_statements.hpp", + "external/sources/boost/spirit/include/phoenix1_tuple_helpers.hpp", + "external/sources/boost/spirit/include/phoenix1_tuples.hpp", + "external/sources/boost/spirit/include/phoenix_algorithm.hpp", + "external/sources/boost/spirit/include/phoenix_bind.hpp", + "external/sources/boost/spirit/include/phoenix_container.hpp", + "external/sources/boost/spirit/include/phoenix_core.hpp", + "external/sources/boost/spirit/include/phoenix_function.hpp", + "external/sources/boost/spirit/include/phoenix_fusion.hpp", + "external/sources/boost/spirit/include/phoenix_limits.hpp", + "external/sources/boost/spirit/include/phoenix_object.hpp", + "external/sources/boost/spirit/include/phoenix_operator.hpp", + "external/sources/boost/spirit/include/phoenix_scope.hpp", + "external/sources/boost/spirit/include/phoenix_statement.hpp", + "external/sources/boost/spirit/include/phoenix_stl.hpp", + "external/sources/boost/spirit/include/phoenix_version.hpp", + "external/sources/boost/spirit/include/qi.hpp", + "external/sources/boost/spirit/include/qi_action.hpp", + "external/sources/boost/spirit/include/qi_alternative.hpp", + "external/sources/boost/spirit/include/qi_and_predicate.hpp", + "external/sources/boost/spirit/include/qi_as.hpp", + "external/sources/boost/spirit/include/qi_as_string.hpp", + "external/sources/boost/spirit/include/qi_attr.hpp", + "external/sources/boost/spirit/include/qi_attr_cast.hpp", + "external/sources/boost/spirit/include/qi_auto.hpp", + "external/sources/boost/spirit/include/qi_auxiliary.hpp", + "external/sources/boost/spirit/include/qi_binary.hpp", + "external/sources/boost/spirit/include/qi_bool.hpp", + "external/sources/boost/spirit/include/qi_char.hpp", + "external/sources/boost/spirit/include/qi_char_.hpp", + "external/sources/boost/spirit/include/qi_char_class.hpp", + "external/sources/boost/spirit/include/qi_copy.hpp", + "external/sources/boost/spirit/include/qi_core.hpp", + "external/sources/boost/spirit/include/qi_difference.hpp", + "external/sources/boost/spirit/include/qi_directive.hpp", + "external/sources/boost/spirit/include/qi_domain.hpp", + "external/sources/boost/spirit/include/qi_eoi.hpp", + "external/sources/boost/spirit/include/qi_eol.hpp", + "external/sources/boost/spirit/include/qi_eps.hpp", + "external/sources/boost/spirit/include/qi_expect.hpp", + "external/sources/boost/spirit/include/qi_grammar.hpp", + "external/sources/boost/spirit/include/qi_hold.hpp", + "external/sources/boost/spirit/include/qi_int.hpp", + "external/sources/boost/spirit/include/qi_kleene.hpp", + "external/sources/boost/spirit/include/qi_lazy.hpp", + "external/sources/boost/spirit/include/qi_lexeme.hpp", + "external/sources/boost/spirit/include/qi_list.hpp", + "external/sources/boost/spirit/include/qi_lit.hpp", + "external/sources/boost/spirit/include/qi_match.hpp", + "external/sources/boost/spirit/include/qi_match_attr.hpp", + "external/sources/boost/spirit/include/qi_match_auto.hpp", + "external/sources/boost/spirit/include/qi_matches.hpp", + "external/sources/boost/spirit/include/qi_no_case.hpp", + "external/sources/boost/spirit/include/qi_no_skip.hpp", + "external/sources/boost/spirit/include/qi_nonterminal.hpp", + "external/sources/boost/spirit/include/qi_not_predicate.hpp", + "external/sources/boost/spirit/include/qi_numeric.hpp", + "external/sources/boost/spirit/include/qi_omit.hpp", + "external/sources/boost/spirit/include/qi_operator.hpp", + "external/sources/boost/spirit/include/qi_optional.hpp", + "external/sources/boost/spirit/include/qi_parse.hpp", + "external/sources/boost/spirit/include/qi_parse_attr.hpp", + "external/sources/boost/spirit/include/qi_parse_auto.hpp", + "external/sources/boost/spirit/include/qi_permutation.hpp", + "external/sources/boost/spirit/include/qi_plus.hpp", + "external/sources/boost/spirit/include/qi_raw.hpp", + "external/sources/boost/spirit/include/qi_real.hpp", + "external/sources/boost/spirit/include/qi_repeat.hpp", + "external/sources/boost/spirit/include/qi_rule.hpp", + "external/sources/boost/spirit/include/qi_sequence.hpp", + "external/sources/boost/spirit/include/qi_sequential_or.hpp", + "external/sources/boost/spirit/include/qi_skip.hpp", + "external/sources/boost/spirit/include/qi_stream.hpp", + "external/sources/boost/spirit/include/qi_string.hpp", + "external/sources/boost/spirit/include/qi_symbols.hpp", + "external/sources/boost/spirit/include/qi_uint.hpp", + "external/sources/boost/spirit/include/qi_what.hpp", + "external/sources/boost/spirit/include/support.hpp", + "external/sources/boost/spirit/include/support_adapt_adt_attributes.hpp", + "external/sources/boost/spirit/include/support_any.hpp", + "external/sources/boost/spirit/include/support_any_if.hpp", + "external/sources/boost/spirit/include/support_any_if_ns.hpp", + "external/sources/boost/spirit/include/support_any_if_ns_so.hpp", + "external/sources/boost/spirit/include/support_any_ns.hpp", + "external/sources/boost/spirit/include/support_any_ns_so.hpp", + "external/sources/boost/spirit/include/support_argument.hpp", + "external/sources/boost/spirit/include/support_ascii.hpp", + "external/sources/boost/spirit/include/support_attributes.hpp", + "external/sources/boost/spirit/include/support_attributes_fwd.hpp", + "external/sources/boost/spirit/include/support_auto.hpp", + "external/sources/boost/spirit/include/support_char_class.hpp", + "external/sources/boost/spirit/include/support_container.hpp", + "external/sources/boost/spirit/include/support_extended_variant.hpp", + "external/sources/boost/spirit/include/support_info.hpp", + "external/sources/boost/spirit/include/support_iso8859_1.hpp", + "external/sources/boost/spirit/include/support_istream_iterator.hpp", + "external/sources/boost/spirit/include/support_line_pos_iterator.hpp", + "external/sources/boost/spirit/include/support_locals.hpp", + "external/sources/boost/spirit/include/support_look_ahead.hpp", + "external/sources/boost/spirit/include/support_modify.hpp", + "external/sources/boost/spirit/include/support_multi_pass.hpp", + "external/sources/boost/spirit/include/support_multi_pass_fwd.hpp", + "external/sources/boost/spirit/include/support_ostream_iterator.hpp", + "external/sources/boost/spirit/include/support_standard.hpp", + "external/sources/boost/spirit/include/support_standard_wide.hpp", + "external/sources/boost/spirit/include/support_string_traits.hpp", + "external/sources/boost/spirit/include/support_unused.hpp", + "external/sources/boost/spirit/include/support_utree.hpp", + "external/sources/boost/spirit/include/version.hpp", + "external/sources/boost/spirit/repository/home/karma.hpp", + "external/sources/boost/spirit/repository/home/karma/directive.hpp", + "external/sources/boost/spirit/repository/home/karma/directive/confix.hpp", + "external/sources/boost/spirit/repository/home/karma/nonterminal.hpp", + "external/sources/boost/spirit/repository/home/karma/nonterminal/subrule.hpp", + "external/sources/boost/spirit/repository/home/qi.hpp", + "external/sources/boost/spirit/repository/home/qi/directive.hpp", + "external/sources/boost/spirit/repository/home/qi/directive/confix.hpp", + "external/sources/boost/spirit/repository/home/qi/directive/distinct.hpp", + "external/sources/boost/spirit/repository/home/qi/directive/kwd.hpp", + "external/sources/boost/spirit/repository/home/qi/directive/seek.hpp", + "external/sources/boost/spirit/repository/home/qi/nonterminal.hpp", + "external/sources/boost/spirit/repository/home/qi/nonterminal/subrule.hpp", + "external/sources/boost/spirit/repository/home/qi/operator.hpp", + "external/sources/boost/spirit/repository/home/qi/operator/detail/keywords.hpp", + "external/sources/boost/spirit/repository/home/qi/operator/keywords.hpp", + "external/sources/boost/spirit/repository/home/qi/primitive.hpp", + "external/sources/boost/spirit/repository/home/qi/primitive/advance.hpp", + "external/sources/boost/spirit/repository/home/qi/primitive/flush_multi_pass.hpp", + "external/sources/boost/spirit/repository/home/qi/primitive/iter_pos.hpp", + "external/sources/boost/spirit/repository/home/support/confix.hpp", + "external/sources/boost/spirit/repository/home/support/distinct.hpp", + "external/sources/boost/spirit/repository/home/support/flush_multi_pass.hpp", + "external/sources/boost/spirit/repository/home/support/kwd.hpp", + "external/sources/boost/spirit/repository/home/support/seek.hpp", + "external/sources/boost/spirit/repository/home/support/subrule_context.hpp", + "external/sources/boost/spirit/repository/include/karma.hpp", + "external/sources/boost/spirit/repository/include/karma_confix.hpp", + "external/sources/boost/spirit/repository/include/karma_directive.hpp", + "external/sources/boost/spirit/repository/include/karma_nonterminal.hpp", + "external/sources/boost/spirit/repository/include/karma_subrule.hpp", + "external/sources/boost/spirit/repository/include/qi.hpp", + "external/sources/boost/spirit/repository/include/qi_advance.hpp", + "external/sources/boost/spirit/repository/include/qi_confix.hpp", + "external/sources/boost/spirit/repository/include/qi_directive.hpp", + "external/sources/boost/spirit/repository/include/qi_distinct.hpp", + "external/sources/boost/spirit/repository/include/qi_flush_multi_pass.hpp", + "external/sources/boost/spirit/repository/include/qi_iter_pos.hpp", + "external/sources/boost/spirit/repository/include/qi_keywords.hpp", + "external/sources/boost/spirit/repository/include/qi_kwd.hpp", + "external/sources/boost/spirit/repository/include/qi_nonterminal.hpp", + "external/sources/boost/spirit/repository/include/qi_primitive.hpp", + "external/sources/boost/spirit/repository/include/qi_seek.hpp", + "external/sources/boost/spirit/repository/include/qi_subrule.hpp", + "external/sources/boost/spirit/version.hpp", + "external/sources/boost/stacktrace.hpp", + "external/sources/boost/stacktrace/detail/addr2line_impls.hpp", + "external/sources/boost/stacktrace/detail/collect_msvc.ipp", + "external/sources/boost/stacktrace/detail/collect_noop.ipp", + "external/sources/boost/stacktrace/detail/collect_unwind.ipp", + "external/sources/boost/stacktrace/detail/frame_decl.hpp", + "external/sources/boost/stacktrace/detail/frame_msvc.ipp", + "external/sources/boost/stacktrace/detail/frame_noop.ipp", + "external/sources/boost/stacktrace/detail/frame_unwind.ipp", + "external/sources/boost/stacktrace/detail/libbacktrace_impls.hpp", + "external/sources/boost/stacktrace/detail/location_from_symbol.hpp", + "external/sources/boost/stacktrace/detail/pop_options.h", + "external/sources/boost/stacktrace/detail/push_options.h", + "external/sources/boost/stacktrace/detail/safe_dump_noop.ipp", + "external/sources/boost/stacktrace/detail/safe_dump_posix.ipp", + "external/sources/boost/stacktrace/detail/safe_dump_win.ipp", + "external/sources/boost/stacktrace/detail/to_dec_array.hpp", + "external/sources/boost/stacktrace/detail/to_hex_array.hpp", + "external/sources/boost/stacktrace/detail/try_dec_convert.hpp", + "external/sources/boost/stacktrace/detail/unwind_base_impls.hpp", + "external/sources/boost/stacktrace/detail/void_ptr_cast.hpp", + "external/sources/boost/stacktrace/frame.hpp", + "external/sources/boost/stacktrace/safe_dump_to.hpp", + "external/sources/boost/stacktrace/stacktrace.hpp", + "external/sources/boost/stacktrace/stacktrace_fwd.hpp", + "external/sources/boost/statechart/asynchronous_state_machine.hpp", + "external/sources/boost/statechart/custom_reaction.hpp", + "external/sources/boost/statechart/deep_history.hpp", + "external/sources/boost/statechart/deferral.hpp", + "external/sources/boost/statechart/detail/avoid_unused_warning.hpp", + "external/sources/boost/statechart/detail/constructor.hpp", + "external/sources/boost/statechart/detail/counted_base.hpp", + "external/sources/boost/statechart/detail/leaf_state.hpp", + "external/sources/boost/statechart/detail/memory.hpp", + "external/sources/boost/statechart/detail/node_state.hpp", + "external/sources/boost/statechart/detail/reaction_dispatcher.hpp", + "external/sources/boost/statechart/detail/rtti_policy.hpp", + "external/sources/boost/statechart/detail/state_base.hpp", + "external/sources/boost/statechart/event.hpp", + "external/sources/boost/statechart/event_base.hpp", + "external/sources/boost/statechart/event_processor.hpp", + "external/sources/boost/statechart/exception_translator.hpp", + "external/sources/boost/statechart/fifo_scheduler.hpp", + "external/sources/boost/statechart/fifo_worker.hpp", + "external/sources/boost/statechart/history.hpp", + "external/sources/boost/statechart/in_state_reaction.hpp", + "external/sources/boost/statechart/null_exception_translator.hpp", + "external/sources/boost/statechart/processor_container.hpp", + "external/sources/boost/statechart/result.hpp", + "external/sources/boost/statechart/shallow_history.hpp", + "external/sources/boost/statechart/simple_state.hpp", + "external/sources/boost/statechart/state.hpp", + "external/sources/boost/statechart/state_machine.hpp", + "external/sources/boost/statechart/termination.hpp", + "external/sources/boost/statechart/transition.hpp", + "external/sources/boost/static_assert.hpp", + "external/sources/boost/static_string.hpp", + "external/sources/boost/static_string/config.hpp", + "external/sources/boost/static_string/static_string.hpp", + "external/sources/boost/stl_interfaces/fwd.hpp", + "external/sources/boost/stl_interfaces/iterator_interface.hpp", + "external/sources/boost/stl_interfaces/reverse_iterator.hpp", + "external/sources/boost/stl_interfaces/sequence_container_interface.hpp", + "external/sources/boost/stl_interfaces/view_interface.hpp", + "external/sources/boost/swap.hpp", + "external/sources/boost/system/api_config.hpp", + "external/sources/boost/system/config.hpp", + "external/sources/boost/system/cygwin_error.hpp", + "external/sources/boost/system/detail/config.hpp", + "external/sources/boost/system/detail/generic_category.hpp", + "external/sources/boost/system/detail/std_interoperability.hpp", + "external/sources/boost/system/detail/system_category_posix.hpp", + "external/sources/boost/system/detail/system_category_win32.hpp", + "external/sources/boost/system/error_code.hpp", + "external/sources/boost/system/linux_error.hpp", + "external/sources/boost/system/system_error.hpp", + "external/sources/boost/system/windows_error.hpp", + "external/sources/boost/test/auto_unit_test.hpp", + "external/sources/boost/test/data/config.hpp", + "external/sources/boost/test/data/dataset.hpp", + "external/sources/boost/test/data/for_each_sample.hpp", + "external/sources/boost/test/data/index_sequence.hpp", + "external/sources/boost/test/data/monomorphic.hpp", + "external/sources/boost/test/data/monomorphic/array.hpp", + "external/sources/boost/test/data/monomorphic/collection.hpp", + "external/sources/boost/test/data/monomorphic/delayed.hpp", + "external/sources/boost/test/data/monomorphic/fwd.hpp", + "external/sources/boost/test/data/monomorphic/generate.hpp", + "external/sources/boost/test/data/monomorphic/generators.hpp", + "external/sources/boost/test/data/monomorphic/generators/keywords.hpp", + "external/sources/boost/test/data/monomorphic/generators/random.hpp", + "external/sources/boost/test/data/monomorphic/generators/xrange.hpp", + "external/sources/boost/test/data/monomorphic/grid.hpp", + "external/sources/boost/test/data/monomorphic/initializer_list.hpp", + "external/sources/boost/test/data/monomorphic/join.hpp", + "external/sources/boost/test/data/monomorphic/sample_merge.hpp", + "external/sources/boost/test/data/monomorphic/singleton.hpp", + "external/sources/boost/test/data/monomorphic/zip.hpp", + "external/sources/boost/test/data/size.hpp", + "external/sources/boost/test/data/test_case.hpp", + "external/sources/boost/test/debug.hpp", + "external/sources/boost/test/debug_config.hpp", + "external/sources/boost/test/detail/config.hpp", + "external/sources/boost/test/detail/enable_warnings.hpp", + "external/sources/boost/test/detail/fwd_decl.hpp", + "external/sources/boost/test/detail/global_typedef.hpp", + "external/sources/boost/test/detail/log_level.hpp", + "external/sources/boost/test/detail/pp_variadic.hpp", + "external/sources/boost/test/detail/suppress_warnings.hpp", + "external/sources/boost/test/detail/throw_exception.hpp", + "external/sources/boost/test/execution_monitor.hpp", + "external/sources/boost/test/floating_point_comparison.hpp", + "external/sources/boost/test/framework.hpp", + "external/sources/boost/test/impl/compiler_log_formatter.ipp", + "external/sources/boost/test/impl/cpp_main.ipp", + "external/sources/boost/test/impl/debug.ipp", + "external/sources/boost/test/impl/decorator.ipp", + "external/sources/boost/test/impl/execution_monitor.ipp", + "external/sources/boost/test/impl/framework.ipp", + "external/sources/boost/test/impl/junit_log_formatter.ipp", + "external/sources/boost/test/impl/plain_report_formatter.ipp", + "external/sources/boost/test/impl/progress_monitor.ipp", + "external/sources/boost/test/impl/results_collector.ipp", + "external/sources/boost/test/impl/results_reporter.ipp", + "external/sources/boost/test/impl/test_framework_init_observer.ipp", + "external/sources/boost/test/impl/test_main.ipp", + "external/sources/boost/test/impl/test_tools.ipp", + "external/sources/boost/test/impl/test_tree.ipp", + "external/sources/boost/test/impl/unit_test_log.ipp", + "external/sources/boost/test/impl/unit_test_main.ipp", + "external/sources/boost/test/impl/unit_test_monitor.ipp", + "external/sources/boost/test/impl/unit_test_parameters.ipp", + "external/sources/boost/test/impl/xml_log_formatter.ipp", + "external/sources/boost/test/impl/xml_report_formatter.ipp", + "external/sources/boost/test/included/execution_monitor.hpp", + "external/sources/boost/test/included/prg_exec_monitor.hpp", + "external/sources/boost/test/included/test_exec_monitor.hpp", + "external/sources/boost/test/included/unit_test.hpp", + "external/sources/boost/test/included/unit_test_framework.hpp", + "external/sources/boost/test/minimal.hpp", + "external/sources/boost/test/output/compiler_log_formatter.hpp", + "external/sources/boost/test/output/junit_log_formatter.hpp", + "external/sources/boost/test/output/plain_report_formatter.hpp", + "external/sources/boost/test/output/xml_log_formatter.hpp", + "external/sources/boost/test/output/xml_report_formatter.hpp", + "external/sources/boost/test/output_test_stream.hpp", + "external/sources/boost/test/parameterized_test.hpp", + "external/sources/boost/test/predicate_result.hpp", + "external/sources/boost/test/prg_exec_monitor.hpp", + "external/sources/boost/test/progress_monitor.hpp", + "external/sources/boost/test/results_collector.hpp", + "external/sources/boost/test/results_reporter.hpp", + "external/sources/boost/test/test_case_template.hpp", + "external/sources/boost/test/test_exec_monitor.hpp", + "external/sources/boost/test/test_framework_init_observer.hpp", + "external/sources/boost/test/test_tools.hpp", + "external/sources/boost/test/tools/assertion.hpp", + "external/sources/boost/test/tools/assertion_result.hpp", + "external/sources/boost/test/tools/collection_comparison_op.hpp", + "external/sources/boost/test/tools/context.hpp", + "external/sources/boost/test/tools/cstring_comparison_op.hpp", + "external/sources/boost/test/tools/detail/bitwise_manip.hpp", + "external/sources/boost/test/tools/detail/fwd.hpp", + "external/sources/boost/test/tools/detail/indirections.hpp", + "external/sources/boost/test/tools/detail/it_pair.hpp", + "external/sources/boost/test/tools/detail/lexicographic_manip.hpp", + "external/sources/boost/test/tools/detail/per_element_manip.hpp", + "external/sources/boost/test/tools/detail/print_helper.hpp", + "external/sources/boost/test/tools/detail/tolerance_manip.hpp", + "external/sources/boost/test/tools/floating_point_comparison.hpp", + "external/sources/boost/test/tools/fpc_op.hpp", + "external/sources/boost/test/tools/fpc_tolerance.hpp", + "external/sources/boost/test/tools/interface.hpp", + "external/sources/boost/test/tools/old/impl.hpp", + "external/sources/boost/test/tools/old/interface.hpp", + "external/sources/boost/test/tools/output_test_stream.hpp", + "external/sources/boost/test/tree/auto_registration.hpp", + "external/sources/boost/test/tree/decorator.hpp", + "external/sources/boost/test/tree/fixture.hpp", + "external/sources/boost/test/tree/global_fixture.hpp", + "external/sources/boost/test/tree/observer.hpp", + "external/sources/boost/test/tree/test_case_counter.hpp", + "external/sources/boost/test/tree/test_case_template.hpp", + "external/sources/boost/test/tree/test_unit.hpp", + "external/sources/boost/test/tree/traverse.hpp", + "external/sources/boost/test/tree/visitor.hpp", + "external/sources/boost/test/unit_test.hpp", + "external/sources/boost/test/unit_test_log.hpp", + "external/sources/boost/test/unit_test_log_formatter.hpp", + "external/sources/boost/test/unit_test_monitor.hpp", + "external/sources/boost/test/unit_test_parameters.hpp", + "external/sources/boost/test/unit_test_suite.hpp", + "external/sources/boost/test/utils/algorithm.hpp", + "external/sources/boost/test/utils/assign_op.hpp", + "external/sources/boost/test/utils/basic_cstring/basic_cstring.hpp", + "external/sources/boost/test/utils/basic_cstring/basic_cstring_fwd.hpp", + "external/sources/boost/test/utils/basic_cstring/bcs_char_traits.hpp", + "external/sources/boost/test/utils/basic_cstring/compare.hpp", + "external/sources/boost/test/utils/basic_cstring/io.hpp", + "external/sources/boost/test/utils/class_properties.hpp", + "external/sources/boost/test/utils/custom_manip.hpp", + "external/sources/boost/test/utils/foreach.hpp", + "external/sources/boost/test/utils/is_cstring.hpp", + "external/sources/boost/test/utils/is_forward_iterable.hpp", + "external/sources/boost/test/utils/iterator/input_iterator_facade.hpp", + "external/sources/boost/test/utils/iterator/token_iterator.hpp", + "external/sources/boost/test/utils/lazy_ostream.hpp", + "external/sources/boost/test/utils/named_params.hpp", + "external/sources/boost/test/utils/nullstream.hpp", + "external/sources/boost/test/utils/rtti.hpp", + "external/sources/boost/test/utils/runtime/argument.hpp", + "external/sources/boost/test/utils/runtime/argument_factory.hpp", + "external/sources/boost/test/utils/runtime/cla/argv_traverser.hpp", + "external/sources/boost/test/utils/runtime/cla/parser.hpp", + "external/sources/boost/test/utils/runtime/env/fetch.hpp", + "external/sources/boost/test/utils/runtime/errors.hpp", + "external/sources/boost/test/utils/runtime/finalize.hpp", + "external/sources/boost/test/utils/runtime/fwd.hpp", + "external/sources/boost/test/utils/runtime/modifier.hpp", + "external/sources/boost/test/utils/runtime/parameter.hpp", + "external/sources/boost/test/utils/setcolor.hpp", + "external/sources/boost/test/utils/string_cast.hpp", + "external/sources/boost/test/utils/timer.hpp", + "external/sources/boost/test/utils/wrap_stringstream.hpp", + "external/sources/boost/test/utils/xml_printer.hpp", + "external/sources/boost/thread.hpp", + "external/sources/boost/thread/barrier.hpp", + "external/sources/boost/thread/caller_context.hpp", + "external/sources/boost/thread/completion_latch.hpp", + "external/sources/boost/thread/concurrent_queues/deque_adaptor.hpp", + "external/sources/boost/thread/concurrent_queues/deque_base.hpp", + "external/sources/boost/thread/concurrent_queues/deque_views.hpp", + "external/sources/boost/thread/concurrent_queues/detail/sync_deque_base.hpp", + "external/sources/boost/thread/concurrent_queues/detail/sync_queue_base.hpp", + "external/sources/boost/thread/concurrent_queues/queue_adaptor.hpp", + "external/sources/boost/thread/concurrent_queues/queue_base.hpp", + "external/sources/boost/thread/concurrent_queues/queue_op_status.hpp", + "external/sources/boost/thread/concurrent_queues/queue_views.hpp", + "external/sources/boost/thread/concurrent_queues/sync_bounded_queue.hpp", + "external/sources/boost/thread/concurrent_queues/sync_deque.hpp", + "external/sources/boost/thread/concurrent_queues/sync_priority_queue.hpp", + "external/sources/boost/thread/concurrent_queues/sync_queue.hpp", + "external/sources/boost/thread/concurrent_queues/sync_timed_queue.hpp", + "external/sources/boost/thread/condition.hpp", + "external/sources/boost/thread/condition_variable.hpp", + "external/sources/boost/thread/csbl/deque.hpp", + "external/sources/boost/thread/csbl/devector.hpp", + "external/sources/boost/thread/csbl/functional.hpp", + "external/sources/boost/thread/csbl/list.hpp", + "external/sources/boost/thread/csbl/memory.hpp", + "external/sources/boost/thread/csbl/memory/allocator_arg.hpp", + "external/sources/boost/thread/csbl/memory/allocator_traits.hpp", + "external/sources/boost/thread/csbl/memory/config.hpp", + "external/sources/boost/thread/csbl/memory/default_delete.hpp", + "external/sources/boost/thread/csbl/memory/pointer_traits.hpp", + "external/sources/boost/thread/csbl/memory/scoped_allocator.hpp", + "external/sources/boost/thread/csbl/memory/shared_ptr.hpp", + "external/sources/boost/thread/csbl/memory/unique_ptr.hpp", + "external/sources/boost/thread/csbl/queue.hpp", + "external/sources/boost/thread/csbl/tuple.hpp", + "external/sources/boost/thread/csbl/vector.hpp", + "external/sources/boost/thread/cv_status.hpp", + "external/sources/boost/thread/detail/atomic_redef_macros.hpp", + "external/sources/boost/thread/detail/atomic_undef_macros.hpp", + "external/sources/boost/thread/detail/config.hpp", + "external/sources/boost/thread/detail/counter.hpp", + "external/sources/boost/thread/detail/delete.hpp", + "external/sources/boost/thread/detail/force_cast.hpp", + "external/sources/boost/thread/detail/function_wrapper.hpp", + "external/sources/boost/thread/detail/invoke.hpp", + "external/sources/boost/thread/detail/invoker.hpp", + "external/sources/boost/thread/detail/is_convertible.hpp", + "external/sources/boost/thread/detail/lockable_wrapper.hpp", + "external/sources/boost/thread/detail/log.hpp", + "external/sources/boost/thread/detail/make_tuple_indices.hpp", + "external/sources/boost/thread/detail/memory.hpp", + "external/sources/boost/thread/detail/move.hpp", + "external/sources/boost/thread/detail/nullary_function.hpp", + "external/sources/boost/thread/detail/platform.hpp", + "external/sources/boost/thread/detail/platform_time.hpp", + "external/sources/boost/thread/detail/singleton.hpp", + "external/sources/boost/thread/detail/thread.hpp", + "external/sources/boost/thread/detail/thread_group.hpp", + "external/sources/boost/thread/detail/thread_heap_alloc.hpp", + "external/sources/boost/thread/detail/thread_interruption.hpp", + "external/sources/boost/thread/detail/thread_safety.hpp", + "external/sources/boost/thread/detail/tss_hooks.hpp", + "external/sources/boost/thread/detail/variadic_footer.hpp", + "external/sources/boost/thread/detail/variadic_header.hpp", + "external/sources/boost/thread/exceptional_ptr.hpp", + "external/sources/boost/thread/exceptions.hpp", + "external/sources/boost/thread/executor.hpp", + "external/sources/boost/thread/executors/basic_thread_pool.hpp", + "external/sources/boost/thread/executors/detail/priority_executor_base.hpp", + "external/sources/boost/thread/executors/detail/scheduled_executor_base.hpp", + "external/sources/boost/thread/executors/executor.hpp", + "external/sources/boost/thread/executors/executor_adaptor.hpp", + "external/sources/boost/thread/executors/generic_executor_ref.hpp", + "external/sources/boost/thread/executors/inline_executor.hpp", + "external/sources/boost/thread/executors/loop_executor.hpp", + "external/sources/boost/thread/executors/scheduled_thread_pool.hpp", + "external/sources/boost/thread/executors/scheduler.hpp", + "external/sources/boost/thread/executors/scheduling_adaptor.hpp", + "external/sources/boost/thread/executors/serial_executor.hpp", + "external/sources/boost/thread/executors/serial_executor_cont.hpp", + "external/sources/boost/thread/executors/thread_executor.hpp", + "external/sources/boost/thread/executors/work.hpp", + "external/sources/boost/thread/experimental/config/inline_namespace.hpp", + "external/sources/boost/thread/experimental/exception_list.hpp", + "external/sources/boost/thread/experimental/parallel/v1/exception_list.hpp", + "external/sources/boost/thread/experimental/parallel/v1/inline_namespace.hpp", + "external/sources/boost/thread/experimental/parallel/v2/inline_namespace.hpp", + "external/sources/boost/thread/experimental/parallel/v2/task_region.hpp", + "external/sources/boost/thread/experimental/task_region.hpp", + "external/sources/boost/thread/externally_locked.hpp", + "external/sources/boost/thread/externally_locked_stream.hpp", + "external/sources/boost/thread/future.hpp", + "external/sources/boost/thread/futures/future_error.hpp", + "external/sources/boost/thread/futures/future_error_code.hpp", + "external/sources/boost/thread/futures/future_status.hpp", + "external/sources/boost/thread/futures/is_future_type.hpp", + "external/sources/boost/thread/futures/launch.hpp", + "external/sources/boost/thread/futures/wait_for_all.hpp", + "external/sources/boost/thread/futures/wait_for_any.hpp", + "external/sources/boost/thread/interruption.hpp", + "external/sources/boost/thread/is_locked_by_this_thread.hpp", + "external/sources/boost/thread/latch.hpp", + "external/sources/boost/thread/lock_algorithms.hpp", + "external/sources/boost/thread/lock_concepts.hpp", + "external/sources/boost/thread/lock_factories.hpp", + "external/sources/boost/thread/lock_guard.hpp", + "external/sources/boost/thread/lock_options.hpp", + "external/sources/boost/thread/lock_traits.hpp", + "external/sources/boost/thread/lock_types.hpp", + "external/sources/boost/thread/lockable_adapter.hpp", + "external/sources/boost/thread/lockable_concepts.hpp", + "external/sources/boost/thread/lockable_traits.hpp", + "external/sources/boost/thread/locks.hpp", + "external/sources/boost/thread/mutex.hpp", + "external/sources/boost/thread/null_mutex.hpp", + "external/sources/boost/thread/once.hpp", + "external/sources/boost/thread/ostream_buffer.hpp", + "external/sources/boost/thread/poly_lockable.hpp", + "external/sources/boost/thread/poly_lockable_adapter.hpp", + "external/sources/boost/thread/poly_shared_lockable.hpp", + "external/sources/boost/thread/poly_shared_lockable_adapter.hpp", + "external/sources/boost/thread/pthread/condition_variable.hpp", + "external/sources/boost/thread/pthread/condition_variable_fwd.hpp", + "external/sources/boost/thread/pthread/mutex.hpp", + "external/sources/boost/thread/pthread/once.hpp", + "external/sources/boost/thread/pthread/once_atomic.hpp", + "external/sources/boost/thread/pthread/pthread_helpers.hpp", + "external/sources/boost/thread/pthread/pthread_mutex_scoped_lock.hpp", + "external/sources/boost/thread/pthread/recursive_mutex.hpp", + "external/sources/boost/thread/pthread/shared_mutex.hpp", + "external/sources/boost/thread/pthread/thread_data.hpp", + "external/sources/boost/thread/pthread/thread_heap_alloc.hpp", + "external/sources/boost/thread/recursive_mutex.hpp", + "external/sources/boost/thread/reverse_lock.hpp", + "external/sources/boost/thread/scoped_thread.hpp", + "external/sources/boost/thread/shared_lock_guard.hpp", + "external/sources/boost/thread/shared_mutex.hpp", + "external/sources/boost/thread/strict_lock.hpp", + "external/sources/boost/thread/sync_bounded_queue.hpp", + "external/sources/boost/thread/sync_queue.hpp", + "external/sources/boost/thread/synchronized_value.hpp", + "external/sources/boost/thread/testable_mutex.hpp", + "external/sources/boost/thread/thread.hpp", + "external/sources/boost/thread/thread_functors.hpp", + "external/sources/boost/thread/thread_guard.hpp", + "external/sources/boost/thread/thread_only.hpp", + "external/sources/boost/thread/thread_pool.hpp", + "external/sources/boost/thread/thread_time.hpp", + "external/sources/boost/thread/tss.hpp", + "external/sources/boost/thread/user_scheduler.hpp", + "external/sources/boost/thread/v2/shared_mutex.hpp", + "external/sources/boost/thread/win32/basic_recursive_mutex.hpp", + "external/sources/boost/thread/win32/basic_timed_mutex.hpp", + "external/sources/boost/thread/win32/condition_variable.hpp", + "external/sources/boost/thread/win32/interlocked_read.hpp", + "external/sources/boost/thread/win32/mfc_thread_init.hpp", + "external/sources/boost/thread/win32/mutex.hpp", + "external/sources/boost/thread/win32/once.hpp", + "external/sources/boost/thread/win32/recursive_mutex.hpp", + "external/sources/boost/thread/win32/shared_mutex.hpp", + "external/sources/boost/thread/win32/thread_data.hpp", + "external/sources/boost/thread/win32/thread_heap_alloc.hpp", + "external/sources/boost/thread/win32/thread_primitives.hpp", + "external/sources/boost/thread/with_lock_guard.hpp", + "external/sources/boost/thread/xtime.hpp", + "external/sources/boost/throw_exception.hpp", + "external/sources/boost/timer.hpp", + "external/sources/boost/timer/config.hpp", + "external/sources/boost/timer/progress_display.hpp", + "external/sources/boost/timer/timer.hpp", + "external/sources/boost/token_functions.hpp", + "external/sources/boost/token_iterator.hpp", + "external/sources/boost/tokenizer.hpp", + "external/sources/boost/tti/detail/dclass.hpp", + "external/sources/boost/tti/detail/dcomp_mem_fun.hpp", + "external/sources/boost/tti/detail/dcomp_mem_fun_template.hpp", + "external/sources/boost/tti/detail/ddata.hpp", + "external/sources/boost/tti/detail/ddeftype.hpp", + "external/sources/boost/tti/detail/denclosing_type.hpp", + "external/sources/boost/tti/detail/denum.hpp", + "external/sources/boost/tti/detail/dftclass.hpp", + "external/sources/boost/tti/detail/dfunction.hpp", + "external/sources/boost/tti/detail/dfunction_template.hpp", + "external/sources/boost/tti/detail/dlambda.hpp", + "external/sources/boost/tti/detail/dmacro_fun_template.hpp", + "external/sources/boost/tti/detail/dmacro_fve.hpp", + "external/sources/boost/tti/detail/dmacro_sunfix.hpp", + "external/sources/boost/tti/detail/dmem_data.hpp", + "external/sources/boost/tti/detail/dmem_fun.hpp", + "external/sources/boost/tti/detail/dmem_fun_template.hpp", + "external/sources/boost/tti/detail/dmem_type.hpp", + "external/sources/boost/tti/detail/dmetafunc.hpp", + "external/sources/boost/tti/detail/dnotype.hpp", + "external/sources/boost/tti/detail/dnullptr.hpp", + "external/sources/boost/tti/detail/dplaceholder.hpp", + "external/sources/boost/tti/detail/dptmf.hpp", + "external/sources/boost/tti/detail/dstatic_function_tags.hpp", + "external/sources/boost/tti/detail/dstatic_function_type.hpp", + "external/sources/boost/tti/detail/dstatic_mem_data.hpp", + "external/sources/boost/tti/detail/dstatic_mem_fun.hpp", + "external/sources/boost/tti/detail/dstatic_mem_fun_template.hpp", + "external/sources/boost/tti/detail/dtclass.hpp", + "external/sources/boost/tti/detail/dtemplate.hpp", + "external/sources/boost/tti/detail/dtemplate_params.hpp", + "external/sources/boost/tti/detail/dtfunction.hpp", + "external/sources/boost/tti/detail/dtype.hpp", + "external/sources/boost/tti/detail/dunion.hpp", + "external/sources/boost/tti/detail/dvm_template_params.hpp", + "external/sources/boost/tti/has_class.hpp", + "external/sources/boost/tti/has_data.hpp", + "external/sources/boost/tti/has_enum.hpp", + "external/sources/boost/tti/has_function.hpp", + "external/sources/boost/tti/has_function_template.hpp", + "external/sources/boost/tti/has_member_data.hpp", + "external/sources/boost/tti/has_member_function.hpp", + "external/sources/boost/tti/has_member_function_template.hpp", + "external/sources/boost/tti/has_static_member_data.hpp", + "external/sources/boost/tti/has_static_member_function.hpp", + "external/sources/boost/tti/has_static_member_function_template.hpp", + "external/sources/boost/tti/has_template.hpp", + "external/sources/boost/tti/has_type.hpp", + "external/sources/boost/tti/has_union.hpp", + "external/sources/boost/tti/member_type.hpp", + "external/sources/boost/tti/tti.hpp", + "external/sources/boost/tuple/detail/tuple_basic.hpp", + "external/sources/boost/tuple/tuple.hpp", + "external/sources/boost/tuple/tuple_comparison.hpp", + "external/sources/boost/tuple/tuple_io.hpp", + "external/sources/boost/type.hpp", + "external/sources/boost/type_erasure/any.hpp", + "external/sources/boost/type_erasure/any_cast.hpp", + "external/sources/boost/type_erasure/binding.hpp", + "external/sources/boost/type_erasure/binding_of.hpp", + "external/sources/boost/type_erasure/builtin.hpp", + "external/sources/boost/type_erasure/call.hpp", + "external/sources/boost/type_erasure/callable.hpp", + "external/sources/boost/type_erasure/check_match.hpp", + "external/sources/boost/type_erasure/concept_interface.hpp", + "external/sources/boost/type_erasure/concept_of.hpp", + "external/sources/boost/type_erasure/config.hpp", + "external/sources/boost/type_erasure/constructible.hpp", + "external/sources/boost/type_erasure/deduced.hpp", + "external/sources/boost/type_erasure/derived.hpp", + "external/sources/boost/type_erasure/detail/access.hpp", + "external/sources/boost/type_erasure/detail/adapt_to_vtable.hpp", + "external/sources/boost/type_erasure/detail/any_base.hpp", + "external/sources/boost/type_erasure/detail/auto_link.hpp", + "external/sources/boost/type_erasure/detail/check_call.hpp", + "external/sources/boost/type_erasure/detail/check_map.hpp", + "external/sources/boost/type_erasure/detail/const.hpp", + "external/sources/boost/type_erasure/detail/construct.hpp", + "external/sources/boost/type_erasure/detail/dynamic_vtable.hpp", + "external/sources/boost/type_erasure/detail/extract_concept.hpp", + "external/sources/boost/type_erasure/detail/get_placeholders.hpp", + "external/sources/boost/type_erasure/detail/get_signature.hpp", + "external/sources/boost/type_erasure/detail/instantiate.hpp", + "external/sources/boost/type_erasure/detail/macro.hpp", + "external/sources/boost/type_erasure/detail/member11.hpp", + "external/sources/boost/type_erasure/detail/meta.hpp", + "external/sources/boost/type_erasure/detail/normalize.hpp", + "external/sources/boost/type_erasure/detail/normalize_deduced.hpp", + "external/sources/boost/type_erasure/detail/null.hpp", + "external/sources/boost/type_erasure/detail/rebind_placeholders.hpp", + "external/sources/boost/type_erasure/detail/storage.hpp", + "external/sources/boost/type_erasure/detail/vtable.hpp", + "external/sources/boost/type_erasure/dynamic_any_cast.hpp", + "external/sources/boost/type_erasure/dynamic_binding.hpp", + "external/sources/boost/type_erasure/exception.hpp", + "external/sources/boost/type_erasure/free.hpp", + "external/sources/boost/type_erasure/is_empty.hpp", + "external/sources/boost/type_erasure/is_placeholder.hpp", + "external/sources/boost/type_erasure/is_subconcept.hpp", + "external/sources/boost/type_erasure/iterator.hpp", + "external/sources/boost/type_erasure/member.hpp", + "external/sources/boost/type_erasure/operators.hpp", + "external/sources/boost/type_erasure/param.hpp", + "external/sources/boost/type_erasure/placeholder.hpp", + "external/sources/boost/type_erasure/placeholder_of.hpp", + "external/sources/boost/type_erasure/rebind_any.hpp", + "external/sources/boost/type_erasure/register_binding.hpp", + "external/sources/boost/type_erasure/relaxed.hpp", + "external/sources/boost/type_erasure/require_match.hpp", + "external/sources/boost/type_erasure/same_type.hpp", + "external/sources/boost/type_erasure/static_binding.hpp", + "external/sources/boost/type_erasure/tuple.hpp", + "external/sources/boost/type_erasure/typeid_of.hpp", + "external/sources/boost/type_index.hpp", + "external/sources/boost/type_index/ctti_type_index.hpp", + "external/sources/boost/type_index/detail/compile_time_type_info.hpp", + "external/sources/boost/type_index/detail/ctti_register_class.hpp", + "external/sources/boost/type_index/detail/stl_register_class.hpp", + "external/sources/boost/type_index/runtime_cast.hpp", + "external/sources/boost/type_index/runtime_cast/boost_shared_ptr_cast.hpp", + "external/sources/boost/type_index/runtime_cast/detail/runtime_cast_impl.hpp", + "external/sources/boost/type_index/runtime_cast/pointer_cast.hpp", + "external/sources/boost/type_index/runtime_cast/reference_cast.hpp", + "external/sources/boost/type_index/runtime_cast/register_runtime_class.hpp", + "external/sources/boost/type_index/runtime_cast/std_shared_ptr_cast.hpp", + "external/sources/boost/type_index/stl_type_index.hpp", + "external/sources/boost/type_index/type_index_facade.hpp", + "external/sources/boost/type_traits.hpp", + "external/sources/boost/type_traits/add_const.hpp", + "external/sources/boost/type_traits/add_cv.hpp", + "external/sources/boost/type_traits/add_lvalue_reference.hpp", + "external/sources/boost/type_traits/add_pointer.hpp", + "external/sources/boost/type_traits/add_reference.hpp", + "external/sources/boost/type_traits/add_rvalue_reference.hpp", + "external/sources/boost/type_traits/add_volatile.hpp", + "external/sources/boost/type_traits/aligned_storage.hpp", + "external/sources/boost/type_traits/alignment_of.hpp", + "external/sources/boost/type_traits/alignment_traits.hpp", + "external/sources/boost/type_traits/arithmetic_traits.hpp", + "external/sources/boost/type_traits/array_traits.hpp", + "external/sources/boost/type_traits/broken_compiler_spec.hpp", + "external/sources/boost/type_traits/common_type.hpp", + "external/sources/boost/type_traits/composite_traits.hpp", + "external/sources/boost/type_traits/conditional.hpp", + "external/sources/boost/type_traits/config.hpp", + "external/sources/boost/type_traits/conjunction.hpp", + "external/sources/boost/type_traits/conversion_traits.hpp", + "external/sources/boost/type_traits/copy_cv.hpp", + "external/sources/boost/type_traits/copy_cv_ref.hpp", + "external/sources/boost/type_traits/copy_reference.hpp", + "external/sources/boost/type_traits/cv_traits.hpp", + "external/sources/boost/type_traits/decay.hpp", + "external/sources/boost/type_traits/declval.hpp", + "external/sources/boost/type_traits/detail/bool_trait_def.hpp", + "external/sources/boost/type_traits/detail/bool_trait_undef.hpp", + "external/sources/boost/type_traits/detail/common_arithmetic_type.hpp", + "external/sources/boost/type_traits/detail/common_type_impl.hpp", + "external/sources/boost/type_traits/detail/composite_member_pointer_type.hpp", + "external/sources/boost/type_traits/detail/composite_pointer_type.hpp", + "external/sources/boost/type_traits/detail/config.hpp", + "external/sources/boost/type_traits/detail/detector.hpp", + "external/sources/boost/type_traits/detail/has_binary_operator.hpp", + "external/sources/boost/type_traits/detail/has_postfix_operator.hpp", + "external/sources/boost/type_traits/detail/has_prefix_operator.hpp", + "external/sources/boost/type_traits/detail/ice_and.hpp", + "external/sources/boost/type_traits/detail/ice_eq.hpp", + "external/sources/boost/type_traits/detail/ice_not.hpp", + "external/sources/boost/type_traits/detail/ice_or.hpp", + "external/sources/boost/type_traits/detail/is_function_cxx_03.hpp", + "external/sources/boost/type_traits/detail/is_function_cxx_11.hpp", + "external/sources/boost/type_traits/detail/is_function_msvc10_fix.hpp", + "external/sources/boost/type_traits/detail/is_function_ptr_helper.hpp", + "external/sources/boost/type_traits/detail/is_function_ptr_tester.hpp", + "external/sources/boost/type_traits/detail/is_likely_lambda.hpp", + "external/sources/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp", + "external/sources/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp", + "external/sources/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp", + "external/sources/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp", + "external/sources/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp", + "external/sources/boost/type_traits/detail/mp_defer.hpp", + "external/sources/boost/type_traits/detail/template_arity_spec.hpp", + "external/sources/boost/type_traits/detail/yes_no_type.hpp", + "external/sources/boost/type_traits/detected.hpp", + "external/sources/boost/type_traits/detected_or.hpp", + "external/sources/boost/type_traits/disjunction.hpp", + "external/sources/boost/type_traits/enable_if.hpp", + "external/sources/boost/type_traits/extent.hpp", + "external/sources/boost/type_traits/floating_point_promotion.hpp", + "external/sources/boost/type_traits/function_traits.hpp", + "external/sources/boost/type_traits/has_bit_and.hpp", + "external/sources/boost/type_traits/has_bit_and_assign.hpp", + "external/sources/boost/type_traits/has_bit_or.hpp", + "external/sources/boost/type_traits/has_bit_or_assign.hpp", + "external/sources/boost/type_traits/has_bit_xor.hpp", + "external/sources/boost/type_traits/has_bit_xor_assign.hpp", + "external/sources/boost/type_traits/has_complement.hpp", + "external/sources/boost/type_traits/has_dereference.hpp", + "external/sources/boost/type_traits/has_divides.hpp", + "external/sources/boost/type_traits/has_divides_assign.hpp", + "external/sources/boost/type_traits/has_equal_to.hpp", + "external/sources/boost/type_traits/has_greater.hpp", + "external/sources/boost/type_traits/has_greater_equal.hpp", + "external/sources/boost/type_traits/has_left_shift.hpp", + "external/sources/boost/type_traits/has_left_shift_assign.hpp", + "external/sources/boost/type_traits/has_less.hpp", + "external/sources/boost/type_traits/has_less_equal.hpp", + "external/sources/boost/type_traits/has_logical_and.hpp", + "external/sources/boost/type_traits/has_logical_not.hpp", + "external/sources/boost/type_traits/has_logical_or.hpp", + "external/sources/boost/type_traits/has_minus.hpp", + "external/sources/boost/type_traits/has_minus_assign.hpp", + "external/sources/boost/type_traits/has_modulus.hpp", + "external/sources/boost/type_traits/has_modulus_assign.hpp", + "external/sources/boost/type_traits/has_multiplies.hpp", + "external/sources/boost/type_traits/has_multiplies_assign.hpp", + "external/sources/boost/type_traits/has_negate.hpp", + "external/sources/boost/type_traits/has_new_operator.hpp", + "external/sources/boost/type_traits/has_not_equal_to.hpp", + "external/sources/boost/type_traits/has_nothrow_assign.hpp", + "external/sources/boost/type_traits/has_nothrow_constructor.hpp", + "external/sources/boost/type_traits/has_nothrow_copy.hpp", + "external/sources/boost/type_traits/has_nothrow_destructor.hpp", + "external/sources/boost/type_traits/has_operator.hpp", + "external/sources/boost/type_traits/has_plus.hpp", + "external/sources/boost/type_traits/has_plus_assign.hpp", + "external/sources/boost/type_traits/has_post_decrement.hpp", + "external/sources/boost/type_traits/has_post_increment.hpp", + "external/sources/boost/type_traits/has_pre_decrement.hpp", + "external/sources/boost/type_traits/has_pre_increment.hpp", + "external/sources/boost/type_traits/has_right_shift.hpp", + "external/sources/boost/type_traits/has_right_shift_assign.hpp", + "external/sources/boost/type_traits/has_trivial_assign.hpp", + "external/sources/boost/type_traits/has_trivial_constructor.hpp", + "external/sources/boost/type_traits/has_trivial_copy.hpp", + "external/sources/boost/type_traits/has_trivial_destructor.hpp", + "external/sources/boost/type_traits/has_trivial_move_assign.hpp", + "external/sources/boost/type_traits/has_trivial_move_constructor.hpp", + "external/sources/boost/type_traits/has_unary_minus.hpp", + "external/sources/boost/type_traits/has_unary_plus.hpp", + "external/sources/boost/type_traits/has_virtual_destructor.hpp", + "external/sources/boost/type_traits/ice.hpp", + "external/sources/boost/type_traits/integral_constant.hpp", + "external/sources/boost/type_traits/integral_promotion.hpp", + "external/sources/boost/type_traits/intrinsics.hpp", + "external/sources/boost/type_traits/is_abstract.hpp", + "external/sources/boost/type_traits/is_arithmetic.hpp", + "external/sources/boost/type_traits/is_array.hpp", + "external/sources/boost/type_traits/is_assignable.hpp", + "external/sources/boost/type_traits/is_base_and_derived.hpp", + "external/sources/boost/type_traits/is_base_of.hpp", + "external/sources/boost/type_traits/is_base_of_tr1.hpp", + "external/sources/boost/type_traits/is_bounded_array.hpp", + "external/sources/boost/type_traits/is_class.hpp", + "external/sources/boost/type_traits/is_complete.hpp", + "external/sources/boost/type_traits/is_complex.hpp", + "external/sources/boost/type_traits/is_compound.hpp", + "external/sources/boost/type_traits/is_const.hpp", + "external/sources/boost/type_traits/is_constructible.hpp", + "external/sources/boost/type_traits/is_convertible.hpp", + "external/sources/boost/type_traits/is_copy_assignable.hpp", + "external/sources/boost/type_traits/is_copy_constructible.hpp", + "external/sources/boost/type_traits/is_default_constructible.hpp", + "external/sources/boost/type_traits/is_destructible.hpp", + "external/sources/boost/type_traits/is_detected.hpp", + "external/sources/boost/type_traits/is_detected_convertible.hpp", + "external/sources/boost/type_traits/is_detected_exact.hpp", + "external/sources/boost/type_traits/is_empty.hpp", + "external/sources/boost/type_traits/is_enum.hpp", + "external/sources/boost/type_traits/is_final.hpp", + "external/sources/boost/type_traits/is_float.hpp", + "external/sources/boost/type_traits/is_floating_point.hpp", + "external/sources/boost/type_traits/is_function.hpp", + "external/sources/boost/type_traits/is_fundamental.hpp", + "external/sources/boost/type_traits/is_integral.hpp", + "external/sources/boost/type_traits/is_list_constructible.hpp", + "external/sources/boost/type_traits/is_lvalue_reference.hpp", + "external/sources/boost/type_traits/is_member_function_pointer.hpp", + "external/sources/boost/type_traits/is_member_object_pointer.hpp", + "external/sources/boost/type_traits/is_member_pointer.hpp", + "external/sources/boost/type_traits/is_noncopyable.hpp", + "external/sources/boost/type_traits/is_nothrow_move_assignable.hpp", + "external/sources/boost/type_traits/is_nothrow_move_constructible.hpp", + "external/sources/boost/type_traits/is_nothrow_swappable.hpp", + "external/sources/boost/type_traits/is_object.hpp", + "external/sources/boost/type_traits/is_pod.hpp", + "external/sources/boost/type_traits/is_pointer.hpp", + "external/sources/boost/type_traits/is_polymorphic.hpp", + "external/sources/boost/type_traits/is_reference.hpp", + "external/sources/boost/type_traits/is_rvalue_reference.hpp", + "external/sources/boost/type_traits/is_same.hpp", + "external/sources/boost/type_traits/is_scalar.hpp", + "external/sources/boost/type_traits/is_scoped_enum.hpp", + "external/sources/boost/type_traits/is_signed.hpp", + "external/sources/boost/type_traits/is_stateless.hpp", + "external/sources/boost/type_traits/is_trivially_copyable.hpp", + "external/sources/boost/type_traits/is_unbounded_array.hpp", + "external/sources/boost/type_traits/is_union.hpp", + "external/sources/boost/type_traits/is_unscoped_enum.hpp", + "external/sources/boost/type_traits/is_unsigned.hpp", + "external/sources/boost/type_traits/is_virtual_base_of.hpp", + "external/sources/boost/type_traits/is_void.hpp", + "external/sources/boost/type_traits/is_volatile.hpp", + "external/sources/boost/type_traits/make_signed.hpp", + "external/sources/boost/type_traits/make_unsigned.hpp", + "external/sources/boost/type_traits/make_void.hpp", + "external/sources/boost/type_traits/negation.hpp", + "external/sources/boost/type_traits/nonesuch.hpp", + "external/sources/boost/type_traits/object_traits.hpp", + "external/sources/boost/type_traits/promote.hpp", + "external/sources/boost/type_traits/rank.hpp", + "external/sources/boost/type_traits/reference_traits.hpp", + "external/sources/boost/type_traits/remove_all_extents.hpp", + "external/sources/boost/type_traits/remove_bounds.hpp", + "external/sources/boost/type_traits/remove_const.hpp", + "external/sources/boost/type_traits/remove_cv.hpp", + "external/sources/boost/type_traits/remove_cv_ref.hpp", + "external/sources/boost/type_traits/remove_extent.hpp", + "external/sources/boost/type_traits/remove_pointer.hpp", + "external/sources/boost/type_traits/remove_reference.hpp", + "external/sources/boost/type_traits/remove_volatile.hpp", + "external/sources/boost/type_traits/same_traits.hpp", + "external/sources/boost/type_traits/transform_traits.hpp", + "external/sources/boost/type_traits/type_identity.hpp", + "external/sources/boost/type_traits/type_with_alignment.hpp", + "external/sources/boost/typeof/constant.hpp", + "external/sources/boost/typeof/decltype.hpp", + "external/sources/boost/typeof/dmc/typeof_impl.hpp", + "external/sources/boost/typeof/encode_decode.hpp", + "external/sources/boost/typeof/encode_decode_params.hpp", + "external/sources/boost/typeof/incr_registration_group.hpp", + "external/sources/boost/typeof/int_encoding.hpp", + "external/sources/boost/typeof/integral_template_param.hpp", + "external/sources/boost/typeof/message.hpp", + "external/sources/boost/typeof/modifiers.hpp", + "external/sources/boost/typeof/msvc/typeof_impl.hpp", + "external/sources/boost/typeof/native.hpp", + "external/sources/boost/typeof/pointers_data_members.hpp", + "external/sources/boost/typeof/register_functions.hpp", + "external/sources/boost/typeof/register_functions_iterate.hpp", + "external/sources/boost/typeof/register_fundamental.hpp", + "external/sources/boost/typeof/register_mem_functions.hpp", + "external/sources/boost/typeof/std/bitset.hpp", + "external/sources/boost/typeof/std/complex.hpp", + "external/sources/boost/typeof/std/deque.hpp", + "external/sources/boost/typeof/std/fstream.hpp", + "external/sources/boost/typeof/std/functional.hpp", + "external/sources/boost/typeof/std/iostream.hpp", + "external/sources/boost/typeof/std/istream.hpp", + "external/sources/boost/typeof/std/iterator.hpp", + "external/sources/boost/typeof/std/list.hpp", + "external/sources/boost/typeof/std/locale.hpp", + "external/sources/boost/typeof/std/map.hpp", + "external/sources/boost/typeof/std/memory.hpp", + "external/sources/boost/typeof/std/ostream.hpp", + "external/sources/boost/typeof/std/queue.hpp", + "external/sources/boost/typeof/std/set.hpp", + "external/sources/boost/typeof/std/sstream.hpp", + "external/sources/boost/typeof/std/stack.hpp", + "external/sources/boost/typeof/std/streambuf.hpp", + "external/sources/boost/typeof/std/string.hpp", + "external/sources/boost/typeof/std/utility.hpp", + "external/sources/boost/typeof/std/valarray.hpp", + "external/sources/boost/typeof/std/vector.hpp", + "external/sources/boost/typeof/template_encoding.hpp", + "external/sources/boost/typeof/template_template_param.hpp", + "external/sources/boost/typeof/type_encoding.hpp", + "external/sources/boost/typeof/type_template_param.hpp", + "external/sources/boost/typeof/typeof.hpp", + "external/sources/boost/typeof/typeof_impl.hpp", + "external/sources/boost/typeof/unsupported.hpp", + "external/sources/boost/typeof/vector.hpp", + "external/sources/boost/typeof/vector100.hpp", + "external/sources/boost/typeof/vector150.hpp", + "external/sources/boost/typeof/vector200.hpp", + "external/sources/boost/typeof/vector50.hpp", + "external/sources/boost/units/absolute.hpp", + "external/sources/boost/units/base_dimension.hpp", + "external/sources/boost/units/base_unit.hpp", + "external/sources/boost/units/base_units/angle/arcminute.hpp", + "external/sources/boost/units/base_units/angle/arcsecond.hpp", + "external/sources/boost/units/base_units/angle/degree.hpp", + "external/sources/boost/units/base_units/angle/gradian.hpp", + "external/sources/boost/units/base_units/angle/radian.hpp", + "external/sources/boost/units/base_units/angle/revolution.hpp", + "external/sources/boost/units/base_units/angle/steradian.hpp", + "external/sources/boost/units/base_units/astronomical/astronomical_unit.hpp", + "external/sources/boost/units/base_units/astronomical/light_day.hpp", + "external/sources/boost/units/base_units/astronomical/light_hour.hpp", + "external/sources/boost/units/base_units/astronomical/light_minute.hpp", + "external/sources/boost/units/base_units/astronomical/light_second.hpp", + "external/sources/boost/units/base_units/astronomical/light_year.hpp", + "external/sources/boost/units/base_units/astronomical/parsec.hpp", + "external/sources/boost/units/base_units/cgs/biot.hpp", + "external/sources/boost/units/base_units/cgs/centimeter.hpp", + "external/sources/boost/units/base_units/cgs/gram.hpp", + "external/sources/boost/units/base_units/imperial/conversions.hpp", + "external/sources/boost/units/base_units/imperial/drachm.hpp", + "external/sources/boost/units/base_units/imperial/fluid_ounce.hpp", + "external/sources/boost/units/base_units/imperial/foot.hpp", + "external/sources/boost/units/base_units/imperial/furlong.hpp", + "external/sources/boost/units/base_units/imperial/gallon.hpp", + "external/sources/boost/units/base_units/imperial/gill.hpp", + "external/sources/boost/units/base_units/imperial/grain.hpp", + "external/sources/boost/units/base_units/imperial/hundredweight.hpp", + "external/sources/boost/units/base_units/imperial/inch.hpp", + "external/sources/boost/units/base_units/imperial/league.hpp", + "external/sources/boost/units/base_units/imperial/mile.hpp", + "external/sources/boost/units/base_units/imperial/ounce.hpp", + "external/sources/boost/units/base_units/imperial/pint.hpp", + "external/sources/boost/units/base_units/imperial/pound.hpp", + "external/sources/boost/units/base_units/imperial/quart.hpp", + "external/sources/boost/units/base_units/imperial/quarter.hpp", + "external/sources/boost/units/base_units/imperial/stone.hpp", + "external/sources/boost/units/base_units/imperial/thou.hpp", + "external/sources/boost/units/base_units/imperial/ton.hpp", + "external/sources/boost/units/base_units/imperial/yard.hpp", + "external/sources/boost/units/base_units/information/bit.hpp", + "external/sources/boost/units/base_units/information/byte.hpp", + "external/sources/boost/units/base_units/information/hartley.hpp", + "external/sources/boost/units/base_units/information/nat.hpp", + "external/sources/boost/units/base_units/information/shannon.hpp", + "external/sources/boost/units/base_units/metric/angstrom.hpp", + "external/sources/boost/units/base_units/metric/are.hpp", + "external/sources/boost/units/base_units/metric/atmosphere.hpp", + "external/sources/boost/units/base_units/metric/bar.hpp", + "external/sources/boost/units/base_units/metric/barn.hpp", + "external/sources/boost/units/base_units/metric/day.hpp", + "external/sources/boost/units/base_units/metric/fermi.hpp", + "external/sources/boost/units/base_units/metric/hectare.hpp", + "external/sources/boost/units/base_units/metric/hour.hpp", + "external/sources/boost/units/base_units/metric/knot.hpp", + "external/sources/boost/units/base_units/metric/liter.hpp", + "external/sources/boost/units/base_units/metric/micron.hpp", + "external/sources/boost/units/base_units/metric/minute.hpp", + "external/sources/boost/units/base_units/metric/mmHg.hpp", + "external/sources/boost/units/base_units/metric/nautical_mile.hpp", + "external/sources/boost/units/base_units/metric/ton.hpp", + "external/sources/boost/units/base_units/metric/torr.hpp", + "external/sources/boost/units/base_units/metric/year.hpp", + "external/sources/boost/units/base_units/si/ampere.hpp", + "external/sources/boost/units/base_units/si/candela.hpp", + "external/sources/boost/units/base_units/si/kelvin.hpp", + "external/sources/boost/units/base_units/si/kilogram.hpp", + "external/sources/boost/units/base_units/si/meter.hpp", + "external/sources/boost/units/base_units/si/mole.hpp", + "external/sources/boost/units/base_units/si/second.hpp", + "external/sources/boost/units/base_units/temperature/celsius.hpp", + "external/sources/boost/units/base_units/temperature/conversions.hpp", + "external/sources/boost/units/base_units/temperature/fahrenheit.hpp", + "external/sources/boost/units/base_units/us/cup.hpp", + "external/sources/boost/units/base_units/us/dram.hpp", + "external/sources/boost/units/base_units/us/fluid_dram.hpp", + "external/sources/boost/units/base_units/us/fluid_ounce.hpp", + "external/sources/boost/units/base_units/us/foot.hpp", + "external/sources/boost/units/base_units/us/gallon.hpp", + "external/sources/boost/units/base_units/us/gill.hpp", + "external/sources/boost/units/base_units/us/grain.hpp", + "external/sources/boost/units/base_units/us/hundredweight.hpp", + "external/sources/boost/units/base_units/us/inch.hpp", + "external/sources/boost/units/base_units/us/mil.hpp", + "external/sources/boost/units/base_units/us/mile.hpp", + "external/sources/boost/units/base_units/us/minim.hpp", + "external/sources/boost/units/base_units/us/ounce.hpp", + "external/sources/boost/units/base_units/us/pint.hpp", + "external/sources/boost/units/base_units/us/pound.hpp", + "external/sources/boost/units/base_units/us/pound_force.hpp", + "external/sources/boost/units/base_units/us/quart.hpp", + "external/sources/boost/units/base_units/us/tablespoon.hpp", + "external/sources/boost/units/base_units/us/teaspoon.hpp", + "external/sources/boost/units/base_units/us/ton.hpp", + "external/sources/boost/units/base_units/us/yard.hpp", + "external/sources/boost/units/cmath.hpp", + "external/sources/boost/units/config.hpp", + "external/sources/boost/units/conversion.hpp", + "external/sources/boost/units/derived_dimension.hpp", + "external/sources/boost/units/detail/absolute_impl.hpp", + "external/sources/boost/units/detail/cmath_impl.hpp", + "external/sources/boost/units/detail/conversion_impl.hpp", + "external/sources/boost/units/detail/dim_impl.hpp", + "external/sources/boost/units/detail/dimension_impl.hpp", + "external/sources/boost/units/detail/dimension_list.hpp", + "external/sources/boost/units/detail/dimensionless_unit.hpp", + "external/sources/boost/units/detail/heterogeneous_conversion.hpp", + "external/sources/boost/units/detail/linear_algebra.hpp", + "external/sources/boost/units/detail/one.hpp", + "external/sources/boost/units/detail/ordinal.hpp", + "external/sources/boost/units/detail/prevent_redefinition.hpp", + "external/sources/boost/units/detail/push_front_if.hpp", + "external/sources/boost/units/detail/push_front_or_add.hpp", + "external/sources/boost/units/detail/sort.hpp", + "external/sources/boost/units/detail/static_rational_power.hpp", + "external/sources/boost/units/detail/unscale.hpp", + "external/sources/boost/units/detail/utility.hpp", + "external/sources/boost/units/dim.hpp", + "external/sources/boost/units/dimension.hpp", + "external/sources/boost/units/dimensionless_quantity.hpp", + "external/sources/boost/units/dimensionless_type.hpp", + "external/sources/boost/units/dimensionless_unit.hpp", + "external/sources/boost/units/get_dimension.hpp", + "external/sources/boost/units/get_system.hpp", + "external/sources/boost/units/heterogeneous_system.hpp", + "external/sources/boost/units/homogeneous_system.hpp", + "external/sources/boost/units/io.hpp", + "external/sources/boost/units/is_dim.hpp", + "external/sources/boost/units/is_dimension_list.hpp", + "external/sources/boost/units/is_dimensionless.hpp", + "external/sources/boost/units/is_dimensionless_quantity.hpp", + "external/sources/boost/units/is_dimensionless_unit.hpp", + "external/sources/boost/units/is_quantity.hpp", + "external/sources/boost/units/is_quantity_of_dimension.hpp", + "external/sources/boost/units/is_quantity_of_system.hpp", + "external/sources/boost/units/is_unit.hpp", + "external/sources/boost/units/is_unit_of_dimension.hpp", + "external/sources/boost/units/is_unit_of_system.hpp", + "external/sources/boost/units/lambda.hpp", + "external/sources/boost/units/limits.hpp", + "external/sources/boost/units/make_scaled_unit.hpp", + "external/sources/boost/units/make_system.hpp", + "external/sources/boost/units/operators.hpp", + "external/sources/boost/units/physical_dimensions.hpp", + "external/sources/boost/units/physical_dimensions/absorbed_dose.hpp", + "external/sources/boost/units/physical_dimensions/acceleration.hpp", + "external/sources/boost/units/physical_dimensions/action.hpp", + "external/sources/boost/units/physical_dimensions/activity.hpp", + "external/sources/boost/units/physical_dimensions/amount.hpp", + "external/sources/boost/units/physical_dimensions/angular_acceleration.hpp", + "external/sources/boost/units/physical_dimensions/angular_momentum.hpp", + "external/sources/boost/units/physical_dimensions/angular_velocity.hpp", + "external/sources/boost/units/physical_dimensions/area.hpp", + "external/sources/boost/units/physical_dimensions/capacitance.hpp", + "external/sources/boost/units/physical_dimensions/conductance.hpp", + "external/sources/boost/units/physical_dimensions/conductivity.hpp", + "external/sources/boost/units/physical_dimensions/current.hpp", + "external/sources/boost/units/physical_dimensions/dose_equivalent.hpp", + "external/sources/boost/units/physical_dimensions/dynamic_viscosity.hpp", + "external/sources/boost/units/physical_dimensions/electric_charge.hpp", + "external/sources/boost/units/physical_dimensions/electric_potential.hpp", + "external/sources/boost/units/physical_dimensions/energy.hpp", + "external/sources/boost/units/physical_dimensions/energy_density.hpp", + "external/sources/boost/units/physical_dimensions/force.hpp", + "external/sources/boost/units/physical_dimensions/frequency.hpp", + "external/sources/boost/units/physical_dimensions/heat_capacity.hpp", + "external/sources/boost/units/physical_dimensions/illuminance.hpp", + "external/sources/boost/units/physical_dimensions/impedance.hpp", + "external/sources/boost/units/physical_dimensions/inductance.hpp", + "external/sources/boost/units/physical_dimensions/information.hpp", + "external/sources/boost/units/physical_dimensions/kinematic_viscosity.hpp", + "external/sources/boost/units/physical_dimensions/length.hpp", + "external/sources/boost/units/physical_dimensions/luminance.hpp", + "external/sources/boost/units/physical_dimensions/luminous_flux.hpp", + "external/sources/boost/units/physical_dimensions/luminous_intensity.hpp", + "external/sources/boost/units/physical_dimensions/magnetic_field_intensity.hpp", + "external/sources/boost/units/physical_dimensions/magnetic_flux.hpp", + "external/sources/boost/units/physical_dimensions/magnetic_flux_density.hpp", + "external/sources/boost/units/physical_dimensions/mass.hpp", + "external/sources/boost/units/physical_dimensions/mass_density.hpp", + "external/sources/boost/units/physical_dimensions/molar_energy.hpp", + "external/sources/boost/units/physical_dimensions/molar_heat_capacity.hpp", + "external/sources/boost/units/physical_dimensions/moment_of_inertia.hpp", + "external/sources/boost/units/physical_dimensions/momentum.hpp", + "external/sources/boost/units/physical_dimensions/permeability.hpp", + "external/sources/boost/units/physical_dimensions/permittivity.hpp", + "external/sources/boost/units/physical_dimensions/plane_angle.hpp", + "external/sources/boost/units/physical_dimensions/power.hpp", + "external/sources/boost/units/physical_dimensions/pressure.hpp", + "external/sources/boost/units/physical_dimensions/reluctance.hpp", + "external/sources/boost/units/physical_dimensions/resistance.hpp", + "external/sources/boost/units/physical_dimensions/resistivity.hpp", + "external/sources/boost/units/physical_dimensions/solid_angle.hpp", + "external/sources/boost/units/physical_dimensions/specific_energy.hpp", + "external/sources/boost/units/physical_dimensions/specific_heat_capacity.hpp", + "external/sources/boost/units/physical_dimensions/specific_volume.hpp", + "external/sources/boost/units/physical_dimensions/stress.hpp", + "external/sources/boost/units/physical_dimensions/surface_density.hpp", + "external/sources/boost/units/physical_dimensions/surface_tension.hpp", + "external/sources/boost/units/physical_dimensions/temperature.hpp", + "external/sources/boost/units/physical_dimensions/thermal_conductivity.hpp", + "external/sources/boost/units/physical_dimensions/time.hpp", + "external/sources/boost/units/physical_dimensions/torque.hpp", + "external/sources/boost/units/physical_dimensions/velocity.hpp", + "external/sources/boost/units/physical_dimensions/volume.hpp", + "external/sources/boost/units/physical_dimensions/wavenumber.hpp", + "external/sources/boost/units/pow.hpp", + "external/sources/boost/units/quantity.hpp", + "external/sources/boost/units/reduce_unit.hpp", + "external/sources/boost/units/scale.hpp", + "external/sources/boost/units/scaled_base_unit.hpp", + "external/sources/boost/units/static_constant.hpp", + "external/sources/boost/units/static_rational.hpp", + "external/sources/boost/units/systems/abstract.hpp", + "external/sources/boost/units/systems/angle/degrees.hpp", + "external/sources/boost/units/systems/angle/gradians.hpp", + "external/sources/boost/units/systems/angle/revolutions.hpp", + "external/sources/boost/units/systems/cgs.hpp", + "external/sources/boost/units/systems/cgs/acceleration.hpp", + "external/sources/boost/units/systems/cgs/area.hpp", + "external/sources/boost/units/systems/cgs/base.hpp", + "external/sources/boost/units/systems/cgs/current.hpp", + "external/sources/boost/units/systems/cgs/dimensionless.hpp", + "external/sources/boost/units/systems/cgs/dynamic_viscosity.hpp", + "external/sources/boost/units/systems/cgs/energy.hpp", + "external/sources/boost/units/systems/cgs/force.hpp", + "external/sources/boost/units/systems/cgs/frequency.hpp", + "external/sources/boost/units/systems/cgs/io.hpp", + "external/sources/boost/units/systems/cgs/kinematic_viscosity.hpp", + "external/sources/boost/units/systems/cgs/length.hpp", + "external/sources/boost/units/systems/cgs/mass.hpp", + "external/sources/boost/units/systems/cgs/mass_density.hpp", + "external/sources/boost/units/systems/cgs/momentum.hpp", + "external/sources/boost/units/systems/cgs/power.hpp", + "external/sources/boost/units/systems/cgs/pressure.hpp", + "external/sources/boost/units/systems/cgs/time.hpp", + "external/sources/boost/units/systems/cgs/velocity.hpp", + "external/sources/boost/units/systems/cgs/volume.hpp", + "external/sources/boost/units/systems/cgs/wavenumber.hpp", + "external/sources/boost/units/systems/detail/constants.hpp", + "external/sources/boost/units/systems/information.hpp", + "external/sources/boost/units/systems/information/bit.hpp", + "external/sources/boost/units/systems/information/byte.hpp", + "external/sources/boost/units/systems/information/hartley.hpp", + "external/sources/boost/units/systems/information/nat.hpp", + "external/sources/boost/units/systems/information/prefixes.hpp", + "external/sources/boost/units/systems/information/shannon.hpp", + "external/sources/boost/units/systems/si.hpp", + "external/sources/boost/units/systems/si/absorbed_dose.hpp", + "external/sources/boost/units/systems/si/acceleration.hpp", + "external/sources/boost/units/systems/si/action.hpp", + "external/sources/boost/units/systems/si/activity.hpp", + "external/sources/boost/units/systems/si/amount.hpp", + "external/sources/boost/units/systems/si/angular_acceleration.hpp", + "external/sources/boost/units/systems/si/angular_momentum.hpp", + "external/sources/boost/units/systems/si/angular_velocity.hpp", + "external/sources/boost/units/systems/si/area.hpp", + "external/sources/boost/units/systems/si/base.hpp", + "external/sources/boost/units/systems/si/capacitance.hpp", + "external/sources/boost/units/systems/si/catalytic_activity.hpp", + "external/sources/boost/units/systems/si/codata/alpha_constants.hpp", + "external/sources/boost/units/systems/si/codata/atomic-nuclear_constants.hpp", + "external/sources/boost/units/systems/si/codata/deuteron_constants.hpp", + "external/sources/boost/units/systems/si/codata/electromagnetic_constants.hpp", + "external/sources/boost/units/systems/si/codata/electron_constants.hpp", + "external/sources/boost/units/systems/si/codata/helion_constants.hpp", + "external/sources/boost/units/systems/si/codata/muon_constants.hpp", + "external/sources/boost/units/systems/si/codata/neutron_constants.hpp", + "external/sources/boost/units/systems/si/codata/physico-chemical_constants.hpp", + "external/sources/boost/units/systems/si/codata/proton_constants.hpp", + "external/sources/boost/units/systems/si/codata/tau_constants.hpp", + "external/sources/boost/units/systems/si/codata/triton_constants.hpp", + "external/sources/boost/units/systems/si/codata/typedefs.hpp", + "external/sources/boost/units/systems/si/codata/universal_constants.hpp", + "external/sources/boost/units/systems/si/codata_constants.hpp", + "external/sources/boost/units/systems/si/conductance.hpp", + "external/sources/boost/units/systems/si/conductivity.hpp", + "external/sources/boost/units/systems/si/current.hpp", + "external/sources/boost/units/systems/si/dimensionless.hpp", + "external/sources/boost/units/systems/si/dose_equivalent.hpp", + "external/sources/boost/units/systems/si/dynamic_viscosity.hpp", + "external/sources/boost/units/systems/si/electric_charge.hpp", + "external/sources/boost/units/systems/si/electric_potential.hpp", + "external/sources/boost/units/systems/si/energy.hpp", + "external/sources/boost/units/systems/si/force.hpp", + "external/sources/boost/units/systems/si/frequency.hpp", + "external/sources/boost/units/systems/si/illuminance.hpp", + "external/sources/boost/units/systems/si/impedance.hpp", + "external/sources/boost/units/systems/si/inductance.hpp", + "external/sources/boost/units/systems/si/io.hpp", + "external/sources/boost/units/systems/si/kinematic_viscosity.hpp", + "external/sources/boost/units/systems/si/length.hpp", + "external/sources/boost/units/systems/si/luminous_flux.hpp", + "external/sources/boost/units/systems/si/luminous_intensity.hpp", + "external/sources/boost/units/systems/si/magnetic_field_intensity.hpp", + "external/sources/boost/units/systems/si/magnetic_flux.hpp", + "external/sources/boost/units/systems/si/magnetic_flux_density.hpp", + "external/sources/boost/units/systems/si/mass.hpp", + "external/sources/boost/units/systems/si/mass_density.hpp", + "external/sources/boost/units/systems/si/moment_of_inertia.hpp", + "external/sources/boost/units/systems/si/momentum.hpp", + "external/sources/boost/units/systems/si/permeability.hpp", + "external/sources/boost/units/systems/si/permittivity.hpp", + "external/sources/boost/units/systems/si/plane_angle.hpp", + "external/sources/boost/units/systems/si/power.hpp", + "external/sources/boost/units/systems/si/prefixes.hpp", + "external/sources/boost/units/systems/si/pressure.hpp", + "external/sources/boost/units/systems/si/reluctance.hpp", + "external/sources/boost/units/systems/si/resistance.hpp", + "external/sources/boost/units/systems/si/resistivity.hpp", + "external/sources/boost/units/systems/si/solid_angle.hpp", + "external/sources/boost/units/systems/si/surface_density.hpp", + "external/sources/boost/units/systems/si/surface_tension.hpp", + "external/sources/boost/units/systems/si/temperature.hpp", + "external/sources/boost/units/systems/si/time.hpp", + "external/sources/boost/units/systems/si/torque.hpp", + "external/sources/boost/units/systems/si/velocity.hpp", + "external/sources/boost/units/systems/si/volume.hpp", + "external/sources/boost/units/systems/si/wavenumber.hpp", + "external/sources/boost/units/systems/temperature/celsius.hpp", + "external/sources/boost/units/systems/temperature/fahrenheit.hpp", + "external/sources/boost/units/unit.hpp", + "external/sources/boost/units/units_fwd.hpp", + "external/sources/boost/unordered/detail/fwd.hpp", + "external/sources/boost/unordered/detail/implementation.hpp", + "external/sources/boost/unordered/detail/map.hpp", + "external/sources/boost/unordered/detail/set.hpp", + "external/sources/boost/unordered/unordered_map.hpp", + "external/sources/boost/unordered/unordered_map_fwd.hpp", + "external/sources/boost/unordered/unordered_set.hpp", + "external/sources/boost/unordered/unordered_set_fwd.hpp", + "external/sources/boost/unordered_map.hpp", + "external/sources/boost/unordered_set.hpp", + "external/sources/boost/utility.hpp", + "external/sources/boost/utility/addressof.hpp", + "external/sources/boost/utility/base_from_member.hpp", + "external/sources/boost/utility/binary.hpp", + "external/sources/boost/utility/compare_pointees.hpp", + "external/sources/boost/utility/declval.hpp", + "external/sources/boost/utility/detail/in_place_factory_prefix.hpp", + "external/sources/boost/utility/detail/in_place_factory_suffix.hpp", + "external/sources/boost/utility/detail/minstd_rand.hpp", + "external/sources/boost/utility/detail/result_of_iterate.hpp", + "external/sources/boost/utility/enable_if.hpp", + "external/sources/boost/utility/explicit_operator_bool.hpp", + "external/sources/boost/utility/identity_type.hpp", + "external/sources/boost/utility/in_place_factory.hpp", + "external/sources/boost/utility/result_of.hpp", + "external/sources/boost/utility/string_ref.hpp", + "external/sources/boost/utility/string_ref_fwd.hpp", + "external/sources/boost/utility/string_view.hpp", + "external/sources/boost/utility/string_view_fwd.hpp", + "external/sources/boost/utility/swap.hpp", + "external/sources/boost/utility/typed_in_place_factory.hpp", + "external/sources/boost/utility/value_init.hpp", + "external/sources/boost/uuid/basic_name_generator.hpp", + "external/sources/boost/uuid/detail/config.hpp", + "external/sources/boost/uuid/detail/md5.hpp", + "external/sources/boost/uuid/detail/random_provider.hpp", + "external/sources/boost/uuid/detail/random_provider_arc4random.ipp", + "external/sources/boost/uuid/detail/random_provider_bcrypt.ipp", + "external/sources/boost/uuid/detail/random_provider_detect_platform.hpp", + "external/sources/boost/uuid/detail/random_provider_getentropy.ipp", + "external/sources/boost/uuid/detail/random_provider_getrandom.ipp", + "external/sources/boost/uuid/detail/random_provider_include_platform.hpp", + "external/sources/boost/uuid/detail/random_provider_posix.ipp", + "external/sources/boost/uuid/detail/random_provider_wincrypt.ipp", + "external/sources/boost/uuid/detail/sha1.hpp", + "external/sources/boost/uuid/detail/uuid_generic.ipp", + "external/sources/boost/uuid/detail/uuid_x86.ipp", + "external/sources/boost/uuid/entropy_error.hpp", + "external/sources/boost/uuid/name_generator.hpp", + "external/sources/boost/uuid/name_generator_md5.hpp", + "external/sources/boost/uuid/name_generator_sha1.hpp", + "external/sources/boost/uuid/nil_generator.hpp", + "external/sources/boost/uuid/random_generator.hpp", + "external/sources/boost/uuid/string_generator.hpp", + "external/sources/boost/uuid/uuid.hpp", + "external/sources/boost/uuid/uuid_generators.hpp", + "external/sources/boost/uuid/uuid_hash.hpp", + "external/sources/boost/uuid/uuid_io.hpp", + "external/sources/boost/uuid/uuid_serialize.hpp", + "external/sources/boost/variant.hpp", + "external/sources/boost/variant/apply_visitor.hpp", + "external/sources/boost/variant/bad_visit.hpp", + "external/sources/boost/variant/detail/apply_visitor_binary.hpp", + "external/sources/boost/variant/detail/apply_visitor_delayed.hpp", + "external/sources/boost/variant/detail/apply_visitor_unary.hpp", + "external/sources/boost/variant/detail/backup_holder.hpp", + "external/sources/boost/variant/detail/cast_storage.hpp", + "external/sources/boost/variant/detail/config.hpp", + "external/sources/boost/variant/detail/element_index.hpp", + "external/sources/boost/variant/detail/enable_recursive.hpp", + "external/sources/boost/variant/detail/enable_recursive_fwd.hpp", + "external/sources/boost/variant/detail/forced_return.hpp", + "external/sources/boost/variant/detail/has_result_type.hpp", + "external/sources/boost/variant/detail/hash_variant.hpp", + "external/sources/boost/variant/detail/initializer.hpp", + "external/sources/boost/variant/detail/make_variant_list.hpp", + "external/sources/boost/variant/detail/move.hpp", + "external/sources/boost/variant/detail/multivisitors_cpp11_based.hpp", + "external/sources/boost/variant/detail/multivisitors_cpp14_based.hpp", + "external/sources/boost/variant/detail/multivisitors_preprocessor_based.hpp", + "external/sources/boost/variant/detail/over_sequence.hpp", + "external/sources/boost/variant/detail/std_hash.hpp", + "external/sources/boost/variant/detail/substitute.hpp", + "external/sources/boost/variant/detail/substitute_fwd.hpp", + "external/sources/boost/variant/detail/variant_io.hpp", + "external/sources/boost/variant/detail/visitation_impl.hpp", + "external/sources/boost/variant/get.hpp", + "external/sources/boost/variant/multivisitors.hpp", + "external/sources/boost/variant/polymorphic_get.hpp", + "external/sources/boost/variant/recursive_variant.hpp", + "external/sources/boost/variant/recursive_wrapper.hpp", + "external/sources/boost/variant/recursive_wrapper_fwd.hpp", + "external/sources/boost/variant/static_visitor.hpp", + "external/sources/boost/variant/variant.hpp", + "external/sources/boost/variant/variant_fwd.hpp", + "external/sources/boost/variant/visitor_ptr.hpp", + "external/sources/boost/variant2/variant.hpp", + "external/sources/boost/version.hpp", + "external/sources/boost/visit_each.hpp", + "external/sources/boost/vmd/array.hpp", + "external/sources/boost/vmd/array/to_seq.hpp", + "external/sources/boost/vmd/array/to_tuple.hpp", + "external/sources/boost/vmd/assert.hpp", + "external/sources/boost/vmd/assert_is_array.hpp", + "external/sources/boost/vmd/assert_is_empty.hpp", + "external/sources/boost/vmd/assert_is_identifier.hpp", + "external/sources/boost/vmd/assert_is_list.hpp", + "external/sources/boost/vmd/assert_is_number.hpp", + "external/sources/boost/vmd/assert_is_seq.hpp", + "external/sources/boost/vmd/assert_is_tuple.hpp", + "external/sources/boost/vmd/assert_is_type.hpp", + "external/sources/boost/vmd/detail/adjust_tuple_type.hpp", + "external/sources/boost/vmd/detail/array.hpp", + "external/sources/boost/vmd/detail/assert.hpp", + "external/sources/boost/vmd/detail/data_equal.hpp", + "external/sources/boost/vmd/detail/data_equal_common.hpp", + "external/sources/boost/vmd/detail/empty_result.hpp", + "external/sources/boost/vmd/detail/equal.hpp", + "external/sources/boost/vmd/detail/equal_common.hpp", + "external/sources/boost/vmd/detail/equal_type.hpp", + "external/sources/boost/vmd/detail/identifier.hpp", + "external/sources/boost/vmd/detail/identifier_concat.hpp", + "external/sources/boost/vmd/detail/identifier_type.hpp", + "external/sources/boost/vmd/detail/idprefix.hpp", + "external/sources/boost/vmd/detail/is_array.hpp", + "external/sources/boost/vmd/detail/is_array_common.hpp", + "external/sources/boost/vmd/detail/is_empty.hpp", + "external/sources/boost/vmd/detail/is_empty_array.hpp", + "external/sources/boost/vmd/detail/is_empty_tuple.hpp", + "external/sources/boost/vmd/detail/is_entire.hpp", + "external/sources/boost/vmd/detail/is_identifier.hpp", + "external/sources/boost/vmd/detail/is_list.hpp", + "external/sources/boost/vmd/detail/is_number.hpp", + "external/sources/boost/vmd/detail/is_seq.hpp", + "external/sources/boost/vmd/detail/is_tuple.hpp", + "external/sources/boost/vmd/detail/is_type.hpp", + "external/sources/boost/vmd/detail/is_type_type.hpp", + "external/sources/boost/vmd/detail/list.hpp", + "external/sources/boost/vmd/detail/match_identifier.hpp", + "external/sources/boost/vmd/detail/match_identifier_common.hpp", + "external/sources/boost/vmd/detail/match_single_identifier.hpp", + "external/sources/boost/vmd/detail/modifiers.hpp", + "external/sources/boost/vmd/detail/mods.hpp", + "external/sources/boost/vmd/detail/nil_registration.hpp", + "external/sources/boost/vmd/detail/not_empty.hpp", + "external/sources/boost/vmd/detail/number_registration.hpp", + "external/sources/boost/vmd/detail/only_after.hpp", + "external/sources/boost/vmd/detail/parens.hpp", + "external/sources/boost/vmd/detail/parens_common.hpp", + "external/sources/boost/vmd/detail/parens_split.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_1.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_10.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_11.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_12.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_13.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_14.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_15.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_16.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_2.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_3.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_4.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_5.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_6.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_7.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_8.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_9.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_headers.hpp", + "external/sources/boost/vmd/detail/recurse/data_equal/data_equal_specific.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_1.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_10.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_11.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_12.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_13.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_14.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_15.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_16.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_2.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_3.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_4.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_5.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_6.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_7.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_8.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_9.hpp", + "external/sources/boost/vmd/detail/recurse/equal/equal_headers.hpp", + "external/sources/boost/vmd/detail/seq.hpp", + "external/sources/boost/vmd/detail/sequence_arity.hpp", + "external/sources/boost/vmd/detail/sequence_common.hpp", + "external/sources/boost/vmd/detail/sequence_elem.hpp", + "external/sources/boost/vmd/detail/sequence_enum.hpp", + "external/sources/boost/vmd/detail/sequence_size.hpp", + "external/sources/boost/vmd/detail/sequence_to_array.hpp", + "external/sources/boost/vmd/detail/sequence_to_list.hpp", + "external/sources/boost/vmd/detail/sequence_to_seq.hpp", + "external/sources/boost/vmd/detail/sequence_to_tuple.hpp", + "external/sources/boost/vmd/detail/sequence_type.hpp", + "external/sources/boost/vmd/detail/setup.hpp", + "external/sources/boost/vmd/detail/tuple.hpp", + "external/sources/boost/vmd/detail/type_registration.hpp", + "external/sources/boost/vmd/detail/variadic_pop_front.hpp", + "external/sources/boost/vmd/elem.hpp", + "external/sources/boost/vmd/empty.hpp", + "external/sources/boost/vmd/enum.hpp", + "external/sources/boost/vmd/equal.hpp", + "external/sources/boost/vmd/get_type.hpp", + "external/sources/boost/vmd/identity.hpp", + "external/sources/boost/vmd/is_array.hpp", + "external/sources/boost/vmd/is_empty.hpp", + "external/sources/boost/vmd/is_empty_array.hpp", + "external/sources/boost/vmd/is_empty_list.hpp", + "external/sources/boost/vmd/is_identifier.hpp", + "external/sources/boost/vmd/is_list.hpp", + "external/sources/boost/vmd/is_multi.hpp", + "external/sources/boost/vmd/is_number.hpp", + "external/sources/boost/vmd/is_parens_empty.hpp", + "external/sources/boost/vmd/is_seq.hpp", + "external/sources/boost/vmd/is_tuple.hpp", + "external/sources/boost/vmd/is_type.hpp", + "external/sources/boost/vmd/is_unary.hpp", + "external/sources/boost/vmd/list.hpp", + "external/sources/boost/vmd/list/to_seq.hpp", + "external/sources/boost/vmd/list/to_tuple.hpp", + "external/sources/boost/vmd/not_equal.hpp", + "external/sources/boost/vmd/seq.hpp", + "external/sources/boost/vmd/seq/is_vmd_seq.hpp", + "external/sources/boost/vmd/seq/pop_back.hpp", + "external/sources/boost/vmd/seq/pop_front.hpp", + "external/sources/boost/vmd/seq/push_back.hpp", + "external/sources/boost/vmd/seq/push_front.hpp", + "external/sources/boost/vmd/seq/remove.hpp", + "external/sources/boost/vmd/seq/size.hpp", + "external/sources/boost/vmd/seq/to_array.hpp", + "external/sources/boost/vmd/seq/to_list.hpp", + "external/sources/boost/vmd/seq/to_tuple.hpp", + "external/sources/boost/vmd/size.hpp", + "external/sources/boost/vmd/to_array.hpp", + "external/sources/boost/vmd/to_list.hpp", + "external/sources/boost/vmd/to_seq.hpp", + "external/sources/boost/vmd/to_tuple.hpp", + "external/sources/boost/vmd/tuple.hpp", + "external/sources/boost/vmd/tuple/is_vmd_tuple.hpp", + "external/sources/boost/vmd/tuple/pop_back.hpp", + "external/sources/boost/vmd/tuple/pop_front.hpp", + "external/sources/boost/vmd/tuple/push_back.hpp", + "external/sources/boost/vmd/tuple/push_front.hpp", + "external/sources/boost/vmd/tuple/remove.hpp", + "external/sources/boost/vmd/tuple/size.hpp", + "external/sources/boost/vmd/tuple/to_array.hpp", + "external/sources/boost/vmd/tuple/to_list.hpp", + "external/sources/boost/vmd/tuple/to_seq.hpp", + "external/sources/boost/vmd/vmd.hpp", + "external/sources/boost/wave.hpp", + "external/sources/boost/wave/cpp_context.hpp", + "external/sources/boost/wave/cpp_exceptions.hpp", + "external/sources/boost/wave/cpp_iteration_context.hpp", + "external/sources/boost/wave/cpp_throw.hpp", + "external/sources/boost/wave/cpplexer/convert_trigraphs.hpp", + "external/sources/boost/wave/cpplexer/cpp_lex_interface.hpp", + "external/sources/boost/wave/cpplexer/cpp_lex_interface_generator.hpp", + "external/sources/boost/wave/cpplexer/cpp_lex_iterator.hpp", + "external/sources/boost/wave/cpplexer/cpp_lex_token.hpp", + "external/sources/boost/wave/cpplexer/cpplexer_exceptions.hpp", + "external/sources/boost/wave/cpplexer/detect_include_guards.hpp", + "external/sources/boost/wave/cpplexer/re2clex/aq.hpp", + "external/sources/boost/wave/cpplexer/re2clex/cpp.re", + "external/sources/boost/wave/cpplexer/re2clex/cpp_re.hpp", + "external/sources/boost/wave/cpplexer/re2clex/cpp_re.inc", + "external/sources/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp", + "external/sources/boost/wave/cpplexer/re2clex/scanner.hpp", + "external/sources/boost/wave/cpplexer/re2clex/strict_cpp.re", + "external/sources/boost/wave/cpplexer/re2clex/strict_cpp_re.inc", + "external/sources/boost/wave/cpplexer/token_cache.hpp", + "external/sources/boost/wave/cpplexer/validate_universal_char.hpp", + "external/sources/boost/wave/grammars/cpp_chlit_grammar.hpp", + "external/sources/boost/wave/grammars/cpp_defined_grammar.hpp", + "external/sources/boost/wave/grammars/cpp_defined_grammar_gen.hpp", + "external/sources/boost/wave/grammars/cpp_expression_grammar.hpp", + "external/sources/boost/wave/grammars/cpp_expression_grammar_gen.hpp", + "external/sources/boost/wave/grammars/cpp_expression_value.hpp", + "external/sources/boost/wave/grammars/cpp_grammar.hpp", + "external/sources/boost/wave/grammars/cpp_grammar_gen.hpp", + "external/sources/boost/wave/grammars/cpp_has_include_grammar.hpp", + "external/sources/boost/wave/grammars/cpp_has_include_grammar_gen.hpp", + "external/sources/boost/wave/grammars/cpp_intlit_grammar.hpp", + "external/sources/boost/wave/grammars/cpp_literal_grammar_gen.hpp", + "external/sources/boost/wave/grammars/cpp_predef_macros_gen.hpp", + "external/sources/boost/wave/grammars/cpp_predef_macros_grammar.hpp", + "external/sources/boost/wave/grammars/cpp_value_error.hpp", + "external/sources/boost/wave/language_support.hpp", + "external/sources/boost/wave/preprocessing_hooks.hpp", + "external/sources/boost/wave/token_ids.hpp", + "external/sources/boost/wave/util/cpp_ifblock.hpp", + "external/sources/boost/wave/util/cpp_include_paths.hpp", + "external/sources/boost/wave/util/cpp_iterator.hpp", + "external/sources/boost/wave/util/cpp_macromap.hpp", + "external/sources/boost/wave/util/cpp_macromap_predef.hpp", + "external/sources/boost/wave/util/cpp_macromap_utils.hpp", + "external/sources/boost/wave/util/file_position.hpp", + "external/sources/boost/wave/util/filesystem_compatibility.hpp", + "external/sources/boost/wave/util/flex_string.hpp", + "external/sources/boost/wave/util/functor_input.hpp", + "external/sources/boost/wave/util/insert_whitespace_detection.hpp", + "external/sources/boost/wave/util/interpret_pragma.hpp", + "external/sources/boost/wave/util/iteration_context.hpp", + "external/sources/boost/wave/util/macro_definition.hpp", + "external/sources/boost/wave/util/macro_helpers.hpp", + "external/sources/boost/wave/util/pattern_parser.hpp", + "external/sources/boost/wave/util/symbol_table.hpp", + "external/sources/boost/wave/util/time_conversion_helper.hpp", + "external/sources/boost/wave/util/transform_iterator.hpp", + "external/sources/boost/wave/util/unput_queue_iterator.hpp", + "external/sources/boost/wave/wave_config.hpp", + "external/sources/boost/wave/wave_config_constant.hpp", + "external/sources/boost/wave/wave_version.hpp", + "external/sources/boost/wave/whitespace_handling.hpp", + "external/sources/boost/weak_ptr.hpp", + "external/sources/boost/winapi/access_rights.hpp", + "external/sources/boost/winapi/apc.hpp", + "external/sources/boost/winapi/basic_types.hpp", + "external/sources/boost/winapi/bcrypt.hpp", + "external/sources/boost/winapi/character_code_conversion.hpp", + "external/sources/boost/winapi/condition_variable.hpp", + "external/sources/boost/winapi/config.hpp", + "external/sources/boost/winapi/critical_section.hpp", + "external/sources/boost/winapi/crypt.hpp", + "external/sources/boost/winapi/dbghelp.hpp", + "external/sources/boost/winapi/debugapi.hpp", + "external/sources/boost/winapi/detail/cast_ptr.hpp", + "external/sources/boost/winapi/detail/footer.hpp", + "external/sources/boost/winapi/detail/header.hpp", + "external/sources/boost/winapi/directory_management.hpp", + "external/sources/boost/winapi/dll.hpp", + "external/sources/boost/winapi/environment.hpp", + "external/sources/boost/winapi/error_codes.hpp", + "external/sources/boost/winapi/error_handling.hpp", + "external/sources/boost/winapi/event.hpp", + "external/sources/boost/winapi/file_management.hpp", + "external/sources/boost/winapi/file_mapping.hpp", + "external/sources/boost/winapi/get_current_process.hpp", + "external/sources/boost/winapi/get_current_process_id.hpp", + "external/sources/boost/winapi/get_current_thread.hpp", + "external/sources/boost/winapi/get_current_thread_id.hpp", + "external/sources/boost/winapi/get_last_error.hpp", + "external/sources/boost/winapi/get_proc_address.hpp", + "external/sources/boost/winapi/get_process_times.hpp", + "external/sources/boost/winapi/get_system_directory.hpp", + "external/sources/boost/winapi/get_thread_times.hpp", + "external/sources/boost/winapi/handle_info.hpp", + "external/sources/boost/winapi/handles.hpp", + "external/sources/boost/winapi/heap_memory.hpp", + "external/sources/boost/winapi/init_once.hpp", + "external/sources/boost/winapi/jobs.hpp", + "external/sources/boost/winapi/limits.hpp", + "external/sources/boost/winapi/local_memory.hpp", + "external/sources/boost/winapi/memory.hpp", + "external/sources/boost/winapi/mutex.hpp", + "external/sources/boost/winapi/overlapped.hpp", + "external/sources/boost/winapi/page_protection_flags.hpp", + "external/sources/boost/winapi/pipes.hpp", + "external/sources/boost/winapi/priority_class.hpp", + "external/sources/boost/winapi/process.hpp", + "external/sources/boost/winapi/security.hpp", + "external/sources/boost/winapi/semaphore.hpp", + "external/sources/boost/winapi/shell.hpp", + "external/sources/boost/winapi/show_window.hpp", + "external/sources/boost/winapi/srw_lock.hpp", + "external/sources/boost/winapi/stack_backtrace.hpp", + "external/sources/boost/winapi/synchronization.hpp", + "external/sources/boost/winapi/system.hpp", + "external/sources/boost/winapi/thread.hpp", + "external/sources/boost/winapi/thread_pool.hpp", + "external/sources/boost/winapi/time.hpp", + "external/sources/boost/winapi/timers.hpp", + "external/sources/boost/winapi/tls.hpp", + "external/sources/boost/winapi/wait.hpp", + "external/sources/boost/winapi/wait_constants.hpp", + "external/sources/boost/winapi/wait_on_address.hpp", + "external/sources/boost/winapi/waitable_timer.hpp", + "external/sources/boost/xpressive/basic_regex.hpp", + "external/sources/boost/xpressive/detail/core/access.hpp", + "external/sources/boost/xpressive/detail/core/action.hpp", + "external/sources/boost/xpressive/detail/core/adaptor.hpp", + "external/sources/boost/xpressive/detail/core/finder.hpp", + "external/sources/boost/xpressive/detail/core/flow_control.hpp", + "external/sources/boost/xpressive/detail/core/icase.hpp", + "external/sources/boost/xpressive/detail/core/linker.hpp", + "external/sources/boost/xpressive/detail/core/list.hpp", + "external/sources/boost/xpressive/detail/core/matcher/action_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/alternate_end_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/alternate_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/any_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/assert_bol_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/assert_bos_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/assert_eol_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/assert_eos_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/assert_line_base.hpp", + "external/sources/boost/xpressive/detail/core/matcher/assert_word_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/attr_begin_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/attr_end_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/attr_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/charset_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/end_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/epsilon_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/keeper_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/literal_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/logical_newline_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/lookahead_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/lookbehind_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/mark_begin_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/mark_end_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/mark_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/optional_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/posix_charset_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/predicate_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/range_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/regex_byref_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/regex_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/repeat_begin_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/repeat_end_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/set_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/string_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matcher/true_matcher.hpp", + "external/sources/boost/xpressive/detail/core/matchers.hpp", + "external/sources/boost/xpressive/detail/core/optimize.hpp", + "external/sources/boost/xpressive/detail/core/peeker.hpp", + "external/sources/boost/xpressive/detail/core/quant_style.hpp", + "external/sources/boost/xpressive/detail/core/regex_domain.hpp", + "external/sources/boost/xpressive/detail/core/regex_impl.hpp", + "external/sources/boost/xpressive/detail/core/results_cache.hpp", + "external/sources/boost/xpressive/detail/core/state.hpp", + "external/sources/boost/xpressive/detail/core/sub_match_impl.hpp", + "external/sources/boost/xpressive/detail/core/sub_match_vector.hpp", + "external/sources/boost/xpressive/detail/detail_fwd.hpp", + "external/sources/boost/xpressive/detail/dynamic/dynamic.hpp", + "external/sources/boost/xpressive/detail/dynamic/matchable.hpp", + "external/sources/boost/xpressive/detail/dynamic/parse_charset.hpp", + "external/sources/boost/xpressive/detail/dynamic/parser.hpp", + "external/sources/boost/xpressive/detail/dynamic/parser_enum.hpp", + "external/sources/boost/xpressive/detail/dynamic/parser_traits.hpp", + "external/sources/boost/xpressive/detail/dynamic/sequence.hpp", + "external/sources/boost/xpressive/detail/static/compile.hpp", + "external/sources/boost/xpressive/detail/static/grammar.hpp", + "external/sources/boost/xpressive/detail/static/is_pure.hpp", + "external/sources/boost/xpressive/detail/static/modifier.hpp", + "external/sources/boost/xpressive/detail/static/placeholders.hpp", + "external/sources/boost/xpressive/detail/static/static.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_action.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_alternate.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_independent.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_inverse.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_marker.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_matcher.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_modifier.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_quantifier.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_sequence.hpp", + "external/sources/boost/xpressive/detail/static/transforms/as_set.hpp", + "external/sources/boost/xpressive/detail/static/transmogrify.hpp", + "external/sources/boost/xpressive/detail/static/type_traits.hpp", + "external/sources/boost/xpressive/detail/static/visitor.hpp", + "external/sources/boost/xpressive/detail/static/width_of.hpp", + "external/sources/boost/xpressive/detail/utility/algorithm.hpp", + "external/sources/boost/xpressive/detail/utility/any.hpp", + "external/sources/boost/xpressive/detail/utility/boyer_moore.hpp", + "external/sources/boost/xpressive/detail/utility/chset/basic_chset.hpp", + "external/sources/boost/xpressive/detail/utility/chset/basic_chset.ipp", + "external/sources/boost/xpressive/detail/utility/chset/chset.hpp", + "external/sources/boost/xpressive/detail/utility/chset/range_run.hpp", + "external/sources/boost/xpressive/detail/utility/chset/range_run.ipp", + "external/sources/boost/xpressive/detail/utility/cons.hpp", + "external/sources/boost/xpressive/detail/utility/counted_base.hpp", + "external/sources/boost/xpressive/detail/utility/dont_care.hpp", + "external/sources/boost/xpressive/detail/utility/hash_peek_bitset.hpp", + "external/sources/boost/xpressive/detail/utility/ignore_unused.hpp", + "external/sources/boost/xpressive/detail/utility/literals.hpp", + "external/sources/boost/xpressive/detail/utility/never_true.hpp", + "external/sources/boost/xpressive/detail/utility/save_restore.hpp", + "external/sources/boost/xpressive/detail/utility/sequence_stack.hpp", + "external/sources/boost/xpressive/detail/utility/symbols.hpp", + "external/sources/boost/xpressive/detail/utility/tracking_ptr.hpp", + "external/sources/boost/xpressive/detail/utility/traits_utils.hpp", + "external/sources/boost/xpressive/detail/utility/width.hpp", + "external/sources/boost/xpressive/match_results.hpp", + "external/sources/boost/xpressive/regex_actions.hpp", + "external/sources/boost/xpressive/regex_algorithms.hpp", + "external/sources/boost/xpressive/regex_compiler.hpp", + "external/sources/boost/xpressive/regex_constants.hpp", + "external/sources/boost/xpressive/regex_error.hpp", + "external/sources/boost/xpressive/regex_iterator.hpp", + "external/sources/boost/xpressive/regex_primitives.hpp", + "external/sources/boost/xpressive/regex_token_iterator.hpp", + "external/sources/boost/xpressive/regex_traits.hpp", + "external/sources/boost/xpressive/sub_match.hpp", + "external/sources/boost/xpressive/traits/c_regex_traits.hpp", + "external/sources/boost/xpressive/traits/cpp_regex_traits.hpp", + "external/sources/boost/xpressive/traits/detail/c_ctype.hpp", + "external/sources/boost/xpressive/traits/null_regex_traits.hpp", + "external/sources/boost/xpressive/xpressive.hpp", + "external/sources/boost/xpressive/xpressive_dynamic.hpp", + "external/sources/boost/xpressive/xpressive_fwd.hpp", + "external/sources/boost/xpressive/xpressive_static.hpp", + "external/sources/boost/xpressive/xpressive_typeof.hpp", + "external/sources/boost/yap/algorithm.hpp", + "external/sources/boost/yap/algorithm_fwd.hpp", + "external/sources/boost/yap/config.hpp", + "external/sources/boost/yap/detail/algorithm.hpp", + "external/sources/boost/yap/detail/transform.hpp", + "external/sources/boost/yap/expression.hpp", + "external/sources/boost/yap/print.hpp", + "external/sources/boost/yap/user_macros.hpp", + "external/sources/boost/yap/yap.hpp", "external/sources/concurrentqueue/blockingconcurrentqueue.h", "external/sources/concurrentqueue/concurrentqueue.h", "external/sources/concurrentqueue/lightweightsemaphore.h", @@ -18183,6 +18179,8 @@ "external/win32/libs/SDL2.dll", "external/win32/libs/SDL2.lib", "external/win32/libs/SDL2main.lib", + "external/win32/libs/dbgcore.dll", + "external/win32/libs/dbgeng.dll", "external/win32/libs/dbghelp.dll", "external/win32/libs/freetype.lib", "external/win32/libs/glew32.dll", From 1c227f03636628c7972b151d8474f296ad26b606 Mon Sep 17 00:00:00 2001 From: fish9167 <78347405+fish9167@users.noreply.github.com> Date: Fri, 26 Mar 2021 18:30:12 +0800 Subject: [PATCH 205/270] add githup action job for unit test (#3355) --- native/.github/workflows/cmake.yml | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 native/.github/workflows/cmake.yml diff --git a/native/.github/workflows/cmake.yml b/native/.github/workflows/cmake.yml new file mode 100644 index 0000000000..a8bf72f21f --- /dev/null +++ b/native/.github/workflows/cmake.yml @@ -0,0 +1,45 @@ +name: Cmake Unit Test + +on: [push, pull_request] + +jobs: + camke-unit: + # The CMake configure and build commands are platform agnostic and should work equally + # well on Windows or Mac. You can convert this to a matrix build if you need + # cross-platform coverage. + # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + #runs-on: windows-latest + runs-on: macos-latest + + steps: + - uses: actions/checkout@v2 + + - name: Create build directory + run: mkdir -p ${{github.workspace}}/unit-test/build + + - name: Downlad external libraties + shell: bash + working-directory: ${{github.workspace}}/external + run: | + cd ${{github.workspace}}/external + external_version=`grep version config.json |awk -F'"' '{print $4}'` + external_repo_name=`grep name config.json |awk -F'"' '{print $4}'` + external_repo_parent=`grep owner config.json |awk -F'"' '{print $4}'` + rm ${{github.workspace}}/external/* + git clone --branch ${external_version} --depth 1 https://github.com/${external_repo_parent}/${external_repo_name} . + git log --oneline -1 + + - name: Configure CMake + shell: bash + working-directory: ${{github.workspace}}/unit-test/build + run: pwd && cd ${{github.workspace}}/unit-test/build && cmake .. -G"Unix Makefiles" + + - name: Build + working-directory: ${{github.workspace}}/unit-test/build + shell: bash + run: pwd && cd ${{github.workspace}}/unit-test/build && make V=1 + + - name: Run Test + working-directory: ${{github.workspace}}/unit-test/build + shell: bash + run: pwd && cd ${{github.workspace}}/unit-test/build && ./src/CocosTest From a695f5c60393f316587a4bce137b402355b264d5 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Mon, 29 Mar 2021 09:48:16 +0800 Subject: [PATCH 206/270] [ci skip][AUTO]: updating jsbinding automatically: 1c227f03 (#3357) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 1 + 1 file changed, 1 insertion(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 84c8273316..8e861a70b4 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -4,6 +4,7 @@ ".clang-format", ".clang-tidy", ".github/workflows/clangtidy-android.yml", + ".github/workflows/cmake.yml", ".github/workflows/filter_by_cdb.js", "CMakeLists.txt", "cocos/audio/AudioEngine.cpp", From aa85896302cd5a74ecf6ef412fabbca1ab77ca30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:11:44 +0800 Subject: [PATCH 207/270] Allow exclude files from clang-tidy (#3353) --- native/.github/workflows/clangtidy-android.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/native/.github/workflows/clangtidy-android.yml b/native/.github/workflows/clangtidy-android.yml index 9e65890050..0ba201fcfd 100644 --- a/native/.github/workflows/clangtidy-android.yml +++ b/native/.github/workflows/clangtidy-android.yml @@ -16,7 +16,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Get changed files - uses: dorny/paths-filter@v2 + uses: PatriceJiang/paths-filter@master id: listchanged with: list-files: shell @@ -28,8 +28,12 @@ jobs: - added|modified: '**/*.m' - added|modified: '**/*.mm' - added|modified: '**/*.c' + - exclude: 'cocos/editor-support/dragonbones/**' allChanges: - added|modified|deleted: '**' + skipedDebug: + - added|modified|deleted: '**' + - exclude: 'cocos/editor-support/dragonbones/**' - name: Install CMake & Clang Tidy run: | sudo apt install -y cmake llvm clang-tidy-11 From 8a301c5cc7e2fb5c4b8332d942dfe9e88ec5193b Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 29 Mar 2021 10:34:29 +0800 Subject: [PATCH 208/270] remove Array.cpp/.h and uthash.h (#3350) --- native/.clang-tidy | 9 +- native/CMakeLists.txt | 3 - native/cocos/base/Scheduler.cpp | 243 ++--- native/cocos/base/Scheduler.h | 69 +- native/cocos/base/uthash.h | 994 ------------------- native/cocos/platform/ios/Application-ios.mm | 18 +- native/cocos/platform/mac/Application-mac.mm | 15 +- 7 files changed, 154 insertions(+), 1197 deletions(-) delete mode 100644 native/cocos/base/uthash.h diff --git a/native/.clang-tidy b/native/.clang-tidy index acec2c637e..0a39002c34 100644 --- a/native/.clang-tidy +++ b/native/.clang-tidy @@ -34,8 +34,13 @@ Checks: > -cppcoreguidelines-pro-type-static-cast-downcast, -readability-function-cognitive-complexity, -cppcoreguidelines-pro-bounds-pointer-arithmetic, - -cppcoreguidelines-pro-bounds-array-to-pointer-decay - + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -misc-non-private-member-variables-in-classes, + -readability-uppercase-literal-suffix, + -cppcoreguidelines-no-malloc, + -cppcoreguidelines-owning-memory, + -cppcoreguidelines-non-private-member-variables-in-classes, + -readability-use-anyofallof CheckOptions: ################## readability identifier naming ################################ diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 6e3275210e..4c6d3c949d 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -315,8 +315,6 @@ endif() ##### base cocos_source_files( cocos/base/Agent.h - cocos/base/Array.cpp - cocos/base/Array.h cocos/base/astc.cpp cocos/base/astc.h cocos/base/AutoreleasePool.cpp @@ -356,7 +354,6 @@ cocos_source_files( cocos/base/TypeDef.h cocos/base/UTF8.cpp cocos/base/UTF8.h - cocos/base/uthash.h cocos/base/Utils.cpp cocos/base/Utils.h cocos/base/Value.cpp diff --git a/native/cocos/base/Scheduler.cpp b/native/cocos/base/Scheduler.cpp index 89934d5c17..1f35789f93 100644 --- a/native/cocos/base/Scheduler.cpp +++ b/native/cocos/base/Scheduler.cpp @@ -28,61 +28,32 @@ ****************************************************************************/ #include "base/Scheduler.h" -#include "base/Macros.h" -#include "base/Array.h" -#define CC_REPEAT_FOREVER (UINT_MAX - 1) +#include + +#include "base/Macros.h" + +namespace { +constexpr unsigned CC_REPEAT_FOREVER{UINT_MAX - 1}; +constexpr int MAX_FUNC_TO_PERFORM{30}; +constexpr int INITIAL_TIMER_COUND{10}; +} // namespace namespace cc { - -// data structures - -// A list double-linked list used for "updates with priority" -typedef struct _listEntry { - struct _listEntry *prev, *next; - ccSchedulerFunc callback; - void *target; - int priority; - bool paused; - bool markedForDeletion; // selector will no longer be called and entry will be removed at end of the next tick -} tListEntry; - -typedef struct _hashUpdateEntry { - tListEntry **list; // Which list does it belong to ? - tListEntry *entry; // entry in the list - void *target; - ccSchedulerFunc callback; - UT_hash_handle hh; -} tHashUpdateEntry; - -// Hash Element used for "selectors with interval" -typedef struct _hashSelectorEntry { - ccArray *timers; - void *target; - int timerIndex; - Timer *currentTimer; - bool currentTimerSalvaged; - bool paused; - UT_hash_handle hh; -} tHashTimerEntry; - // implementation Timer -Timer::Timer() { -} - void Timer::setupTimerWithInterval(float seconds, unsigned int repeat, float delay) { - _elapsed = -1; - _interval = seconds; - _delay = delay; - _useDelay = (_delay > 0.0f) ? true : false; - _repeat = repeat; - _runForever = (_repeat == CC_REPEAT_FOREVER) ? true : false; + _elapsed = -1; + _interval = seconds; + _delay = delay; + _useDelay = _delay > 0.0f; + _repeat = repeat; + _runForever = _repeat == CC_REPEAT_FOREVER; } void Timer::update(float dt) { if (_elapsed == -1) { - _elapsed = 0; + _elapsed = 0; _timesExecuted = 0; return; } @@ -130,14 +101,11 @@ void Timer::update(float dt) { // TimerTargetCallback -TimerTargetCallback::TimerTargetCallback() { -} - bool TimerTargetCallback::initWithCallback(Scheduler *scheduler, const ccSchedulerFunc &callback, void *target, const std::string &key, float seconds, unsigned int repeat, float delay) { _scheduler = scheduler; - _target = target; - _callback = callback; - _key = key; + _target = target; + _callback = callback; + _key = key; setupTimerWithInterval(seconds, repeat, delay); return true; } @@ -156,17 +124,23 @@ void TimerTargetCallback::cancel() { Scheduler::Scheduler() { // I don't expect to have more than 30 functions to all per frame - _functionsToPerform.reserve(30); + _functionsToPerform.reserve(MAX_FUNC_TO_PERFORM); } -Scheduler::~Scheduler(void) { +Scheduler::~Scheduler() { unscheduleAll(); } -void Scheduler::removeHashElement(_hashSelectorEntry *element) { - ccArrayFree(element->timers); - HASH_DEL(_hashForTimers, element); - free(element); +void Scheduler::removeHashElement(HashTimerEntry *element) { + if (element) { + for (auto &timer : element->timers) { + timer->release(); + } + element->timers.clear(); + + _hashForTimers.erase(element->target); + free(element); + } } void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float interval, bool paused, const std::string &key) { @@ -177,14 +151,13 @@ void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float in CCASSERT(target, "Argument target must be non-nullptr"); CCASSERT(!key.empty(), "key should not be empty!"); - tHashTimerEntry *element = nullptr; - HASH_FIND_PTR(_hashForTimers, &target, element); - - if (!element) { - element = (tHashTimerEntry *)calloc(sizeof(*element), 1); + HashTimerEntry *element = nullptr; + auto iter = _hashForTimers.find(&target); + if (iter == _hashForTimers.end()) { + element = new HashTimerEntry(); element->target = target; - HASH_ADD_PTR(_hashForTimers, target, element); + _hashForTimers[target] = element; // Is this the 1st element ? Then set the pause level to all the selectors of this target element->paused = paused; @@ -192,24 +165,22 @@ void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float in CCASSERT(element->paused == paused, "element's paused should be paused!"); } - if (element->timers == nullptr) { - element->timers = ccArrayNew(10); + if (element->timers.empty()) { + element->timers.reserve(INITIAL_TIMER_COUND); } else { - for (int i = 0; i < element->timers->num; ++i) { - TimerTargetCallback *timer = dynamic_cast(element->timers->arr[i]); - - if (timer && key == timer->getKey()) { + for (auto &e : element->timers) { + auto *timer = dynamic_cast(e); + if (key == timer->getKey()) { CC_LOG_DEBUG("CCScheduler#scheduleSelector. Selector already scheduled. Updating interval from: %.4f to %.4f", timer->getInterval(), interval); timer->setInterval(interval); return; } } - ccArrayEnsureExtraCapacity(element->timers, 1); } - TimerTargetCallback *timer = new (std::nothrow) TimerTargetCallback(); + auto *timer = new (std::nothrow) TimerTargetCallback(); timer->initWithCallback(this, callback, target, key, interval, repeat, delay); - ccArrayAppendObject(element->timers, timer); + element->timers.push_back(timer); timer->release(); } @@ -219,15 +190,14 @@ void Scheduler::unschedule(const std::string &key, void *target) { return; } - //CCASSERT(target); - //CCASSERT(selector); + auto iter = _hashForTimers.find(target); + if (iter != _hashForTimers.end()) { + HashTimerEntry *element = iter->second; + int i = 0; + auto timers = element->timers; - tHashTimerEntry *element = nullptr; - HASH_FIND_PTR(_hashForTimers, &target, element); - - if (element) { - for (int i = 0; i < element->timers->num; ++i) { - TimerTargetCallback *timer = dynamic_cast(element->timers->arr[i]); + for (auto *t : timers) { + auto *timer = dynamic_cast(t); if (timer && key == timer->getKey()) { if (timer == element->currentTimer && (!element->currentTimerSalvaged)) { @@ -235,14 +205,15 @@ void Scheduler::unschedule(const std::string &key, void *target) { element->currentTimerSalvaged = true; } - ccArrayRemoveObjectAtIndex(element->timers, i, true); + timers.erase(timers.begin() + i); + timer->release(); // update timerIndex in case we are in tick:, looping over the actions if (element->timerIndex >= i) { element->timerIndex--; } - if (element->timers->num == 0) { + if (timers.empty()) { if (_currentTarget == element) { _currentTargetSalvaged = true; } else { @@ -252,6 +223,8 @@ void Scheduler::unschedule(const std::string &key, void *target) { return; } + + ++i; } } } @@ -260,37 +233,30 @@ bool Scheduler::isScheduled(const std::string &key, void *target) { CCASSERT(!key.empty(), "Argument key must not be empty"); CCASSERT(target, "Argument target must be non-nullptr"); - tHashTimerEntry *element = nullptr; - HASH_FIND_PTR(_hashForTimers, &target, element); - - if (!element) { + auto iter = _hashForTimers.find(target); + if (iter == _hashForTimers.end()) { return false; } - if (element->timers == nullptr) { + HashTimerEntry *element = iter->second; + if (element->timers.empty()) { return false; - } else { - for (int i = 0; i < element->timers->num; ++i) { - TimerTargetCallback *timer = dynamic_cast(element->timers->arr[i]); + } - if (timer && key == timer->getKey()) { - return true; - } + for (auto *t : element->timers) { + auto *timer = dynamic_cast(t); + + if (timer && key == timer->getKey()) { + return true; } - - return false; } return false; // should never get here } void Scheduler::unscheduleAll() { - for (tHashTimerEntry *element = _hashForTimers, *nextElement = nullptr; element != nullptr;) { - // element may be removed in unscheduleAllSelectorsForTarget - nextElement = (tHashTimerEntry *)element->hh.next; - unscheduleAllForTarget(element->target); - - element = nextElement; + for (auto iter : _hashForTimers) { + unscheduleAllForTarget(iter.first); } } @@ -301,15 +267,21 @@ void Scheduler::unscheduleAllForTarget(void *target) { } // Custom Selectors - tHashTimerEntry *element = nullptr; - HASH_FIND_PTR(_hashForTimers, &target, element); - if (element) { - if (ccArrayContainsObject(element->timers, element->currentTimer) && (!element->currentTimerSalvaged)) { + auto iter = _hashForTimers.find(target); + if (iter != _hashForTimers.end()) { + HashTimerEntry *element = iter->second; + auto timers = element->timers; + if (std::find(timers.begin(), timers.end(), element->currentTimer) != timers.end() && + (!element->currentTimerSalvaged)) { element->currentTimer->retain(); element->currentTimerSalvaged = true; } - ccArrayRemoveAllObjects(element->timers); + + for (auto *t : timers) { + t->release(); + } + timers.clear(); if (_currentTarget == element) { _currentTargetSalvaged = true; @@ -323,10 +295,9 @@ void Scheduler::resumeTarget(void *target) { CCASSERT(target != nullptr, "target can't be nullptr!"); // custom selectors - tHashTimerEntry *element = nullptr; - HASH_FIND_PTR(_hashForTimers, &target, element); - if (element) { - element->paused = false; + auto iter = _hashForTimers.find(target); + if (iter != _hashForTimers.end()) { + iter->second->paused = false; } } @@ -334,10 +305,9 @@ void Scheduler::pauseTarget(void *target) { CCASSERT(target != nullptr, "target can't be nullptr!"); // custom selectors - tHashTimerEntry *element = nullptr; - HASH_FIND_PTR(_hashForTimers, &target, element); - if (element) { - element->paused = true; + auto iter = _hashForTimers.find(target); + if (iter != _hashForTimers.end()) { + iter->second->paused = true; } } @@ -345,34 +315,14 @@ bool Scheduler::isTargetPaused(void *target) { CCASSERT(target != nullptr, "target must be non nil"); // Custom selectors - tHashTimerEntry *element = nullptr; - HASH_FIND_PTR(_hashForTimers, &target, element); - if (element) { - return element->paused; + auto iter = _hashForTimers.find(target); + if (iter != _hashForTimers.end()) { + return iter->second->paused; } return false; // should never get here } -std::set Scheduler::pauseAllTargets() { - std::set idsWithSelectors; - - // Custom Selectors - for (tHashTimerEntry *element = _hashForTimers; element != nullptr; - element = (tHashTimerEntry *)element->hh.next) { - element->paused = true; - idsWithSelectors.insert(element->target); - } - - return idsWithSelectors; -} - -void Scheduler::resumeTargets(const std::set &targetsToResume) { - for (const auto &obj : targetsToResume) { - this->resumeTarget(obj); - } -} - void Scheduler::performFunctionInCocosThread(const std::function &function) { _performMutex.lock(); _functionsToPerform.push_back(function); @@ -389,14 +339,16 @@ void Scheduler::update(float dt) { _updateHashLocked = true; // Iterate over all the custom selectors - for (tHashTimerEntry *elt = _hashForTimers; elt != nullptr;) { - _currentTarget = elt; + HashTimerEntry *elt = nullptr; + for (auto iter = _hashForTimers.begin(); iter != _hashForTimers.end(); ++iter) { + elt = iter->second; + _currentTarget = elt; _currentTargetSalvaged = false; if (!_currentTarget->paused) { // The 'timers' array may change while inside this loop - for (elt->timerIndex = 0; elt->timerIndex < elt->timers->num; ++(elt->timerIndex)) { - elt->currentTimer = (Timer *)(elt->timers->arr[elt->timerIndex]); + for (elt->timerIndex = 0; elt->timerIndex < static_cast(elt->timers.size()); ++(elt->timerIndex)) { + elt->currentTimer = elt->timers[elt->timerIndex]; elt->currentTimerSalvaged = false; elt->currentTimer->update(dt); @@ -412,18 +364,15 @@ void Scheduler::update(float dt) { } } - // elt, at this moment, is still valid - // so it is safe to ask this here (issue #490) - elt = (tHashTimerEntry *)elt->hh.next; - // only delete currentTarget if no actions were scheduled during the cycle (issue #481) - if (_currentTargetSalvaged && _currentTarget->timers->num == 0) { + if (_currentTargetSalvaged && _currentTarget->timers.empty()) { removeHashElement(_currentTarget); + ++iter; } } _updateHashLocked = false; - _currentTarget = nullptr; + _currentTarget = nullptr; // // Functions allocated from another thread diff --git a/native/cocos/base/Scheduler.h b/native/cocos/base/Scheduler.h index b6c45ffa84..9fa70dda76 100644 --- a/native/cocos/base/Scheduler.h +++ b/native/cocos/base/Scheduler.h @@ -32,16 +32,16 @@ #include #include #include +#include #include "base/Ref.h" #include "base/Vector.h" -#include "base/uthash.h" namespace cc { class Scheduler; -typedef std::function ccSchedulerFunc; +using ccSchedulerFunc = std::function; /** * @cond @@ -56,42 +56,42 @@ public: void setupTimerWithInterval(float seconds, unsigned int repeat, float delay); virtual void trigger(float dt) = 0; - virtual void cancel() = 0; + virtual void cancel() = 0; /** triggers the timer */ void update(float dt); protected: - Timer(); + Timer() = default; protected: - Scheduler *_scheduler = nullptr; - float _elapsed = 0.f; - bool _runForever = false; - bool _useDelay = false; + Scheduler * _scheduler = nullptr; + float _elapsed = 0.f; + bool _runForever = false; + bool _useDelay = false; unsigned int _timesExecuted = 0; - unsigned int _repeat = 0; //0 = once, 1 is 2 x executed - float _delay = 0.f; - float _interval = 0.f; + unsigned int _repeat = 0; //0 = once, 1 is 2 x executed + float _delay = 0.f; + float _interval = 0.f; }; class CC_DLL TimerTargetCallback final : public Timer { public: - TimerTargetCallback(); + TimerTargetCallback() = default; // Initializes a timer with a target, a lambda and an interval in seconds, repeat in number of times to repeat, delay in seconds. bool initWithCallback(Scheduler *scheduler, const ccSchedulerFunc &callback, void *target, const std::string &key, float seconds, unsigned int repeat, float delay); inline const ccSchedulerFunc &getCallback() const { return _callback; }; - inline const std::string &getKey() const { return _key; }; + inline const std::string & getKey() const { return _key; }; - virtual void trigger(float dt) override; - virtual void cancel() override; + void trigger(float dt) override; + void cancel() override; -protected: - void *_target = nullptr; +private: + void * _target = nullptr; ccSchedulerFunc _callback = nullptr; - std::string _key; + std::string _key; }; /** @@ -245,12 +245,6 @@ public: */ bool isTargetPaused(void *target); - /** Pause all selectors from all targets. - You should NEVER call this method, unless you know what you are doing. - @since v2.0.0 - */ - std::set pauseAllTargets(); - /** Pause all selectors from all targets with a minimum priority. You should only call this with PRIORITY_NON_SYSTEM_MIN or higher. @param minPriority The minimum priority of selector to be paused. Which means, all selectors which @@ -259,13 +253,6 @@ public: */ std::set pauseAllTargetsWithMinPriority(int minPriority); - /** Resume selectors on a set of targets. - This can be useful for undoing a call to pauseAllSelectors. - @param targetsToResume The set of targets to be resumed. - @since v2.0.0 - */ - void resumeTargets(const std::set &targetsToResume); - /** Calls a function on the cocos2d thread. Useful when you need to call a cocos2d function from another thread. This function is thread safe. @param function The function to be run in cocos2d thread. @@ -286,21 +273,31 @@ public: bool isCurrentTargetSalvaged() const { return _currentTargetSalvaged; }; private: - void removeHashElement(struct _hashSelectorEntry *element); + // Hash Element used for "selectors with interval" + struct HashTimerEntry { + std::vector timers; + void * target; + int timerIndex; + Timer * currentTimer; + bool currentTimerSalvaged; + bool paused; + }; + + void removeHashElement(struct HashTimerEntry *element); void removeUpdateFromHash(struct _listEntry *entry); // update specific // Used for "selectors with interval" - struct _hashSelectorEntry *_hashForTimers = nullptr; - struct _hashSelectorEntry *_currentTarget = nullptr; - bool _currentTargetSalvaged = false; + std::unordered_map _hashForTimers; + struct HashTimerEntry * _currentTarget = nullptr; + bool _currentTargetSalvaged = false; // If true unschedule will not remove anything from a hash. Elements will only be marked for deletion. bool _updateHashLocked = false; // Used for "perform Function" std::vector> _functionsToPerform; - std::mutex _performMutex; + std::mutex _performMutex; }; // end of base group diff --git a/native/cocos/base/uthash.h b/native/cocos/base/uthash.h deleted file mode 100644 index 743d4e021b..0000000000 --- a/native/cocos/base/uthash.h +++ /dev/null @@ -1,994 +0,0 @@ -/**************************************************************************** - Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -/* -Copyright (c) 2003-2013, Troy D. Hanson http://troydhanson.github.com/uthash/ -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -#ifndef UTHASH_H -#define UTHASH_H -/// @cond DO_NOT_SHOW - -#include /* memcmp,strlen */ -#include /* ptrdiff_t */ -#include /* exit() */ - -/* These macros use decltype or the earlier __typeof GNU extension. - As decltype is only available in newer compilers (VS2010 or gcc 4.3+ - when compiling c++ source) this code uses whatever method is needed - or, for VS2008 where neither is available, uses casting workarounds. */ -#ifdef _MSC_VER /* MS compiler */ - #if _MSC_VER >= 1600 && defined(__cplusplus) /* VS2010 or newer in C++ mode */ - #define DECLTYPE(x) (decltype(x)) - #else /* VS2008 or older (or VS2010 in C mode) */ - #define NO_DECLTYPE - #define DECLTYPE(x) - #endif -#else /* GNU, Sun and other compilers */ - #define DECLTYPE(x) (__typeof(x)) -#endif - -#ifdef NO_DECLTYPE - #define DECLTYPE_ASSIGN(dst, src) \ - do { \ - char **_da_dst = (char **)(&(dst)); \ - *_da_dst = (char *)(src); \ - } while (0) -#else - #define DECLTYPE_ASSIGN(dst, src) \ - do { \ - (dst) = DECLTYPE(dst)(src); \ - } while (0) -#endif - -/* a number of the hash function use uint32_t which isn't defined on win32 */ -#ifdef _MSC_VER -typedef unsigned int uint32_t; -typedef unsigned char uint8_t; -#else - #include /* uint32_t */ -#endif - -#define UTHASH_VERSION 1.9.8 - -#ifndef uthash_fatal - #define uthash_fatal(msg) exit(-1) /* fatal error (out of memory,etc) */ -#endif -#ifndef uthash_malloc - #define uthash_malloc(sz) malloc(sz) /* malloc fcn */ -#endif -#ifndef uthash_free - #define uthash_free(ptr, sz) free(ptr) /* free fcn */ -#endif - -#ifndef uthash_noexpand_fyi - #define uthash_noexpand_fyi(tbl) /* can be defined to log noexpand */ -#endif -#ifndef uthash_expand_fyi - #define uthash_expand_fyi(tbl) /* can be defined to log expands */ -#endif - -/* initial number of buckets */ -#define HASH_INITIAL_NUM_BUCKETS 32 /* initial number of buckets */ -#define HASH_INITIAL_NUM_BUCKETS_LOG2 5 /* lg2 of initial number of buckets */ -#define HASH_BKT_CAPACITY_THRESH 10 /* expand when bucket count reaches */ - -/* calculate the element whose hash handle address is hhe */ -#define ELMT_FROM_HH(tbl, hhp) ((void *)(((char *)(hhp)) - ((tbl)->hho))) - -#define HASH_FIND(hh, head, keyptr, keylen, out) \ - do { \ - unsigned _hf_bkt, _hf_hashv; \ - out = NULL; \ - if (head) { \ - HASH_FCN(keyptr, keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \ - if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \ - HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[_hf_bkt], \ - keyptr, keylen, out); \ - } \ - } \ - } while (0) - -#ifdef HASH_BLOOM - #define HASH_BLOOM_BITLEN (1ULL << HASH_BLOOM) - #define HASH_BLOOM_BYTELEN (HASH_BLOOM_BITLEN / 8) + ((HASH_BLOOM_BITLEN % 8) ? 1 : 0) - #define HASH_BLOOM_MAKE(tbl) \ - do { \ - (tbl)->bloom_nbits = HASH_BLOOM; \ - (tbl)->bloom_bv = (uint8_t *)uthash_malloc(HASH_BLOOM_BYTELEN); \ - if (!((tbl)->bloom_bv)) { \ - uthash_fatal("out of memory"); \ - } \ - memset((tbl)->bloom_bv, 0, HASH_BLOOM_BYTELEN); \ - (tbl)->bloom_sig = HASH_BLOOM_SIGNATURE; \ - } while (0) - - #define HASH_BLOOM_FREE(tbl) \ - do { \ - uthash_free((tbl)->bloom_bv, HASH_BLOOM_BYTELEN); \ - } while (0) - - #define HASH_BLOOM_BITSET(bv, idx) (bv[(idx) / 8] |= (1U << ((idx) % 8))) - #define HASH_BLOOM_BITTEST(bv, idx) (bv[(idx) / 8] & (1U << ((idx) % 8))) - - #define HASH_BLOOM_ADD(tbl, hashv) \ - HASH_BLOOM_BITSET((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1))) - - #define HASH_BLOOM_TEST(tbl, hashv) \ - HASH_BLOOM_BITTEST((tbl)->bloom_bv, (hashv & (uint32_t)((1ULL << (tbl)->bloom_nbits) - 1))) - -#else - #define HASH_BLOOM_MAKE(tbl) - #define HASH_BLOOM_FREE(tbl) - #define HASH_BLOOM_ADD(tbl, hashv) - #define HASH_BLOOM_TEST(tbl, hashv) (1) - #define HASH_BLOOM_BYTELEN 0 -#endif - -#define HASH_MAKE_TABLE(hh, head) \ - do { \ - (head)->hh.tbl = (UT_hash_table *)uthash_malloc( \ - sizeof(UT_hash_table)); \ - if (!((head)->hh.tbl)) { \ - uthash_fatal("out of memory"); \ - } \ - memset((head)->hh.tbl, 0, sizeof(UT_hash_table)); \ - (head)->hh.tbl->tail = &((head)->hh); \ - (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \ - (head)->hh.tbl->log2_num_buckets = HASH_INITIAL_NUM_BUCKETS_LOG2; \ - (head)->hh.tbl->hho = (char *)(&(head)->hh) - (char *)(head); \ - (head)->hh.tbl->buckets = (UT_hash_bucket *)uthash_malloc( \ - HASH_INITIAL_NUM_BUCKETS * sizeof(struct UT_hash_bucket)); \ - if (!(head)->hh.tbl->buckets) { \ - uthash_fatal("out of memory"); \ - } \ - memset((head)->hh.tbl->buckets, 0, \ - HASH_INITIAL_NUM_BUCKETS * sizeof(struct UT_hash_bucket)); \ - HASH_BLOOM_MAKE((head)->hh.tbl); \ - (head)->hh.tbl->signature = HASH_SIGNATURE; \ - } while (0) - -#define HASH_ADD(hh, head, fieldname, keylen_in, add) \ - HASH_ADD_KEYPTR(hh, head, &((add)->fieldname), keylen_in, add) - -#define HASH_REPLACE(hh, head, fieldname, keylen_in, add, replaced) \ - do { \ - replaced = NULL; \ - HASH_FIND(hh, head, &((add)->fieldname), keylen_in, replaced); \ - if (replaced != NULL) { \ - HASH_DELETE(hh, head, replaced); \ - }; \ - HASH_ADD(hh, head, fieldname, keylen_in, add); \ - } while (0) - -#define HASH_ADD_KEYPTR(hh, head, keyptr, keylen_in, add) \ - do { \ - unsigned _ha_bkt; \ - (add)->hh.next = NULL; \ - (add)->hh.key = (char *)keyptr; \ - (add)->hh.keylen = (unsigned)keylen_in; \ - if (!(head)) { \ - head = (add); \ - (head)->hh.prev = NULL; \ - HASH_MAKE_TABLE(hh, head); \ - } else { \ - (head)->hh.tbl->tail->next = (add); \ - (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \ - (head)->hh.tbl->tail = &((add)->hh); \ - } \ - (head)->hh.tbl->num_items++; \ - (add)->hh.tbl = (head)->hh.tbl; \ - HASH_FCN(keyptr, keylen_in, (head)->hh.tbl->num_buckets, \ - (add)->hh.hashv, _ha_bkt); \ - HASH_ADD_TO_BKT((head)->hh.tbl->buckets[_ha_bkt], &(add)->hh); \ - HASH_BLOOM_ADD((head)->hh.tbl, (add)->hh.hashv); \ - HASH_EMIT_KEY(hh, head, keyptr, keylen_in); \ - HASH_FSCK(hh, head); \ - } while (0) - -#define HASH_TO_BKT(hashv, num_bkts, bkt) \ - do { \ - bkt = ((hashv) & ((num_bkts)-1)); \ - } while (0) - -/* delete "delptr" from the hash table. - * "the usual" patch-up process for the app-order doubly-linked-list. - * The use of _hd_hh_del below deserves special explanation. - * These used to be expressed using (delptr) but that led to a bug - * if someone used the same symbol for the head and deletee, like - * HASH_DELETE(hh,users,users); - * We want that to work, but by changing the head (users) below - * we were forfeiting our ability to further refer to the deletee (users) - * in the patch-up process. Solution: use scratch space to - * copy the deletee pointer, then the latter references are via that - * scratch pointer rather than through the repointed (users) symbol. - */ -#define HASH_DELETE(hh, head, delptr) \ - do { \ - unsigned _hd_bkt; \ - struct UT_hash_handle *_hd_hh_del; \ - if (((delptr)->hh.prev == NULL) && ((delptr)->hh.next == NULL)) { \ - uthash_free((head)->hh.tbl->buckets, \ - (head)->hh.tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ - HASH_BLOOM_FREE((head)->hh.tbl); \ - uthash_free((head)->hh.tbl, sizeof(UT_hash_table)); \ - head = NULL; \ - } else { \ - _hd_hh_del = &((delptr)->hh); \ - if ((delptr) == ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail)) { \ - (head)->hh.tbl->tail = \ - (UT_hash_handle *)((ptrdiff_t)((delptr)->hh.prev) + \ - (head)->hh.tbl->hho); \ - } \ - if ((delptr)->hh.prev) { \ - ((UT_hash_handle *)((ptrdiff_t)((delptr)->hh.prev) + \ - (head)->hh.tbl->hho)) \ - ->next = (delptr)->hh.next; \ - } else { \ - DECLTYPE_ASSIGN(head, (delptr)->hh.next); \ - } \ - if (_hd_hh_del->next) { \ - ((UT_hash_handle *)((ptrdiff_t)_hd_hh_del->next + \ - (head)->hh.tbl->hho)) \ - ->prev = \ - _hd_hh_del->prev; \ - } \ - HASH_TO_BKT(_hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \ - HASH_DEL_IN_BKT(hh, (head)->hh.tbl->buckets[_hd_bkt], _hd_hh_del); \ - (head)->hh.tbl->num_items--; \ - } \ - HASH_FSCK(hh, head); \ - } while (0) - -/* convenience forms of HASH_FIND/HASH_ADD/HASH_DEL */ -#define HASH_FIND_STR(head, findstr, out) \ - HASH_FIND(hh, head, findstr, strlen(findstr), out) -#define HASH_ADD_STR(head, strfield, add) \ - HASH_ADD(hh, head, strfield, strlen(add->strfield), add) -#define HASH_REPLACE_STR(head, strfield, add, replaced) \ - HASH_REPLACE(hh, head, strfield, strlen(add->strfield), add, replaced) -#define HASH_FIND_INT(head, findint, out) \ - HASH_FIND(hh, head, findint, sizeof(int), out) -#define HASH_ADD_INT(head, intfield, add) \ - HASH_ADD(hh, head, intfield, sizeof(int), add) -#define HASH_REPLACE_INT(head, intfield, add, replaced) \ - HASH_REPLACE(hh, head, intfield, sizeof(int), add, replaced) -#define HASH_FIND_PTR(head, findptr, out) \ - HASH_FIND(hh, head, findptr, sizeof(void *), out) -#define HASH_ADD_PTR(head, ptrfield, add) \ - HASH_ADD(hh, head, ptrfield, sizeof(void *), add) -#define HASH_REPLACE_PTR(head, ptrfield, add) \ - HASH_REPLACE(hh, head, ptrfield, sizeof(void *), add, replaced) -#define HASH_DEL(head, delptr) \ - HASH_DELETE(hh, head, delptr) - -/* HASH_FSCK checks hash integrity on every add/delete when HASH_DEBUG is defined. - * This is for uthash developer only; it compiles away if HASH_DEBUG isn't defined. - */ -#ifdef HASH_DEBUG - #define HASH_OOPS(...) \ - do { \ - fprintf(stderr, __VA_ARGS__); \ - exit(-1); \ - } while (0) - #define HASH_FSCK(hh, head) \ - do { \ - unsigned _bkt_i; \ - unsigned _count, _bkt_count; \ - char *_prev; \ - struct UT_hash_handle *_thh; \ - if (head) { \ - _count = 0; \ - for (_bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; _bkt_i++) { \ - _bkt_count = 0; \ - _thh = (head)->hh.tbl->buckets[_bkt_i].hh_head; \ - _prev = NULL; \ - while (_thh) { \ - if (_prev != (char *)(_thh->hh_prev)) { \ - HASH_OOPS("invalid hh_prev %p, actual %p\n", \ - _thh->hh_prev, _prev); \ - } \ - _bkt_count++; \ - _prev = (char *)(_thh); \ - _thh = _thh->hh_next; \ - } \ - _count += _bkt_count; \ - if ((head)->hh.tbl->buckets[_bkt_i].count != _bkt_count) { \ - HASH_OOPS("invalid bucket count %d, actual %d\n", \ - (head)->hh.tbl->buckets[_bkt_i].count, _bkt_count); \ - } \ - } \ - if (_count != (head)->hh.tbl->num_items) { \ - HASH_OOPS("invalid hh item count %d, actual %d\n", \ - (head)->hh.tbl->num_items, _count); \ - } \ - /* traverse hh in app order; check next/prev integrity, count */ \ - _count = 0; \ - _prev = NULL; \ - _thh = &(head)->hh; \ - while (_thh) { \ - _count++; \ - if (_prev != (char *)(_thh->prev)) { \ - HASH_OOPS("invalid prev %p, actual %p\n", \ - _thh->prev, _prev); \ - } \ - _prev = (char *)ELMT_FROM_HH((head)->hh.tbl, _thh); \ - _thh = (_thh->next ? (UT_hash_handle *)((char *)(_thh->next) + \ - (head)->hh.tbl->hho) \ - : NULL); \ - } \ - if (_count != (head)->hh.tbl->num_items) { \ - HASH_OOPS("invalid app item count %d, actual %d\n", \ - (head)->hh.tbl->num_items, _count); \ - } \ - } \ - } while (0) -#else - #define HASH_FSCK(hh, head) -#endif - -/* When compiled with -DHASH_EMIT_KEYS, length-prefixed keys are emitted to - * the descriptor to which this macro is defined for tuning the hash function. - * The app can #include to get the prototype for write(2). */ -#ifdef HASH_EMIT_KEYS - #define HASH_EMIT_KEY(hh, head, keyptr, fieldlen) \ - do { \ - unsigned _klen = fieldlen; \ - write(HASH_EMIT_KEYS, &_klen, sizeof(_klen)); \ - write(HASH_EMIT_KEYS, keyptr, fieldlen); \ - } while (0) -#else - #define HASH_EMIT_KEY(hh, head, keyptr, fieldlen) -#endif - -/* default to Jenkin's hash unless overridden e.g. DHASH_FUNCTION=HASH_SAX */ -#ifdef HASH_FUNCTION - #define HASH_FCN HASH_FUNCTION -#else - #define HASH_FCN HASH_JEN -#endif - -/* The Bernstein hash function, used in Perl prior to v5.6 */ -#define HASH_BER(key, keylen, num_bkts, hashv, bkt) \ - do { \ - unsigned _hb_keylen = keylen; \ - char *_hb_key = (char *)(key); \ - (hashv) = 0; \ - while (_hb_keylen--) { \ - (hashv) = ((hashv)*33) + *_hb_key++; \ - } \ - bkt = (hashv) & (num_bkts - 1); \ - } while (0) - -/* SAX/FNV/OAT/JEN hash functions are macro variants of those listed at - * http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_hashing.aspx */ -#define HASH_SAX(key, keylen, num_bkts, hashv, bkt) \ - do { \ - unsigned _sx_i; \ - char *_hs_key = (char *)(key); \ - hashv = 0; \ - for (_sx_i = 0; _sx_i < keylen; _sx_i++) \ - hashv ^= (hashv << 5) + (hashv >> 2) + _hs_key[_sx_i]; \ - bkt = hashv & (num_bkts - 1); \ - } while (0) - -#define HASH_FNV(key, keylen, num_bkts, hashv, bkt) \ - do { \ - unsigned _fn_i; \ - char *_hf_key = (char *)(key); \ - hashv = 2166136261UL; \ - for (_fn_i = 0; _fn_i < keylen; _fn_i++) \ - hashv = (hashv * 16777619) ^ _hf_key[_fn_i]; \ - bkt = hashv & (num_bkts - 1); \ - } while (0) - -#define HASH_OAT(key, keylen, num_bkts, hashv, bkt) \ - do { \ - unsigned _ho_i; \ - char *_ho_key = (char *)(key); \ - hashv = 0; \ - for (_ho_i = 0; _ho_i < keylen; _ho_i++) { \ - hashv += _ho_key[_ho_i]; \ - hashv += (hashv << 10); \ - hashv ^= (hashv >> 6); \ - } \ - hashv += (hashv << 3); \ - hashv ^= (hashv >> 11); \ - hashv += (hashv << 15); \ - bkt = hashv & (num_bkts - 1); \ - } while (0) - -#define HASH_JEN_MIX(a, b, c) \ - do { \ - a -= b; \ - a -= c; \ - a ^= (c >> 13); \ - b -= c; \ - b -= a; \ - b ^= (a << 8); \ - c -= a; \ - c -= b; \ - c ^= (b >> 13); \ - a -= b; \ - a -= c; \ - a ^= (c >> 12); \ - b -= c; \ - b -= a; \ - b ^= (a << 16); \ - c -= a; \ - c -= b; \ - c ^= (b >> 5); \ - a -= b; \ - a -= c; \ - a ^= (c >> 3); \ - b -= c; \ - b -= a; \ - b ^= (a << 10); \ - c -= a; \ - c -= b; \ - c ^= (b >> 15); \ - } while (0) - -#define HASH_JEN(key, keylen, num_bkts, hashv, bkt) \ - do { \ - unsigned _hj_i, _hj_j, _hj_k; \ - unsigned char *_hj_key = (unsigned char *)(key); \ - hashv = 0xfeedbeef; \ - _hj_i = _hj_j = 0x9e3779b9; \ - _hj_k = (unsigned)keylen; \ - while (_hj_k >= 12) { \ - _hj_i += (_hj_key[0] + ((unsigned)_hj_key[1] << 8) + ((unsigned)_hj_key[2] << 16) + ((unsigned)_hj_key[3] << 24)); \ - _hj_j += (_hj_key[4] + ((unsigned)_hj_key[5] << 8) + ((unsigned)_hj_key[6] << 16) + ((unsigned)_hj_key[7] << 24)); \ - hashv += (_hj_key[8] + ((unsigned)_hj_key[9] << 8) + ((unsigned)_hj_key[10] << 16) + ((unsigned)_hj_key[11] << 24)); \ - \ - HASH_JEN_MIX(_hj_i, _hj_j, hashv); \ - \ - _hj_key += 12; \ - _hj_k -= 12; \ - } \ - hashv += keylen; \ - switch (_hj_k) { \ - case 11: hashv += ((unsigned)_hj_key[10] << 24); \ - case 10: hashv += ((unsigned)_hj_key[9] << 16); \ - case 9: hashv += ((unsigned)_hj_key[8] << 8); \ - case 8: _hj_j += ((unsigned)_hj_key[7] << 24); \ - case 7: _hj_j += ((unsigned)_hj_key[6] << 16); \ - case 6: _hj_j += ((unsigned)_hj_key[5] << 8); \ - case 5: _hj_j += _hj_key[4]; \ - case 4: _hj_i += ((unsigned)_hj_key[3] << 24); \ - case 3: _hj_i += ((unsigned)_hj_key[2] << 16); \ - case 2: _hj_i += ((unsigned)_hj_key[1] << 8); \ - case 1: _hj_i += _hj_key[0]; \ - } \ - HASH_JEN_MIX(_hj_i, _hj_j, hashv); \ - bkt = hashv & (num_bkts - 1); \ - } while (0) - -/* The Paul Hsieh hash function */ -#undef get16bits -#if (defined(__GNUC__) && defined(__i386__)) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__TURBOC__) - #define get16bits(d) (*((const uint16_t *)(d))) -#endif - -#if !defined(get16bits) - #define get16bits(d) ((((uint32_t)(((const uint8_t *)(d))[1])) << 8) + (uint32_t)(((const uint8_t *)(d))[0])) -#endif -#define HASH_SFH(key, keylen, num_bkts, hashv, bkt) \ - do { \ - unsigned char *_sfh_key = (unsigned char *)(key); \ - uint32_t _sfh_tmp, _sfh_len = keylen; \ - \ - int _sfh_rem = _sfh_len & 3; \ - _sfh_len >>= 2; \ - hashv = 0xcafebabe; \ - \ - /* Main loop */ \ - for (; _sfh_len > 0; _sfh_len--) { \ - hashv += get16bits(_sfh_key); \ - _sfh_tmp = (uint32_t)(get16bits(_sfh_key + 2)) << 11 ^ hashv; \ - hashv = (hashv << 16) ^ _sfh_tmp; \ - _sfh_key += 2 * sizeof(uint16_t); \ - hashv += hashv >> 11; \ - } \ - \ - /* Handle end cases */ \ - switch (_sfh_rem) { \ - case 3: \ - hashv += get16bits(_sfh_key); \ - hashv ^= hashv << 16; \ - hashv ^= (uint32_t)(_sfh_key[sizeof(uint16_t)] << 18); \ - hashv += hashv >> 11; \ - break; \ - case 2: \ - hashv += get16bits(_sfh_key); \ - hashv ^= hashv << 11; \ - hashv += hashv >> 17; \ - break; \ - case 1: \ - hashv += *_sfh_key; \ - hashv ^= hashv << 10; \ - hashv += hashv >> 1; \ - } \ - \ - /* Force "avalanching" of final 127 bits */ \ - hashv ^= hashv << 3; \ - hashv += hashv >> 5; \ - hashv ^= hashv << 4; \ - hashv += hashv >> 17; \ - hashv ^= hashv << 25; \ - hashv += hashv >> 6; \ - bkt = hashv & (num_bkts - 1); \ - } while (0) - -#ifdef HASH_USING_NO_STRICT_ALIASING - /* The MurmurHash exploits some CPU's (x86,x86_64) tolerance for unaligned reads. - * For other types of CPU's (e.g. Sparc) an unaligned read causes a bus error. - * MurmurHash uses the faster approach only on CPU's where we know it's safe. - * - * Note the preprocessor built-in defines can be emitted using: - * - * gcc -m64 -dM -E - < /dev/null (on gcc) - * cc -## a.c (where a.c is a simple test file) (Sun Studio) - */ - #if (defined(__i386__) || defined(__x86_64__) || defined(_M_IX86)) - #define MUR_GETBLOCK(p, i) p[i] - #else /* non intel */ - #define MUR_PLUS0_ALIGNED(p) (((unsigned long)p & 0x3) == 0) - #define MUR_PLUS1_ALIGNED(p) (((unsigned long)p & 0x3) == 1) - #define MUR_PLUS2_ALIGNED(p) (((unsigned long)p & 0x3) == 2) - #define MUR_PLUS3_ALIGNED(p) (((unsigned long)p & 0x3) == 3) - #define WP(p) ((uint32_t *)((unsigned long)(p) & ~3UL)) - #if (defined(__BIG_ENDIAN__) || defined(SPARC) || defined(__ppc__) || defined(__ppc64__)) - #define MUR_THREE_ONE(p) ((((*WP(p)) & 0x00ffffff) << 8) | (((*(WP(p) + 1)) & 0xff000000) >> 24)) - #define MUR_TWO_TWO(p) ((((*WP(p)) & 0x0000ffff) << 16) | (((*(WP(p) + 1)) & 0xffff0000) >> 16)) - #define MUR_ONE_THREE(p) ((((*WP(p)) & 0x000000ff) << 24) | (((*(WP(p) + 1)) & 0xffffff00) >> 8)) - #else /* assume little endian non-intel */ - #define MUR_THREE_ONE(p) ((((*WP(p)) & 0xffffff00) >> 8) | (((*(WP(p) + 1)) & 0x000000ff) << 24)) - #define MUR_TWO_TWO(p) ((((*WP(p)) & 0xffff0000) >> 16) | (((*(WP(p) + 1)) & 0x0000ffff) << 16)) - #define MUR_ONE_THREE(p) ((((*WP(p)) & 0xff000000) >> 24) | (((*(WP(p) + 1)) & 0x00ffffff) << 8)) - #endif - #define MUR_GETBLOCK(p, i) (MUR_PLUS0_ALIGNED(p) ? ((p)[i]) : (MUR_PLUS1_ALIGNED(p) ? MUR_THREE_ONE(p) : (MUR_PLUS2_ALIGNED(p) ? MUR_TWO_TWO(p) : MUR_ONE_THREE(p)))) - #endif - #define MUR_ROTL32(x, r) (((x) << (r)) | ((x) >> (32 - (r)))) - #define MUR_FMIX(_h) \ - do { \ - _h ^= _h >> 16; \ - _h *= 0x85ebca6b; \ - _h ^= _h >> 13; \ - _h *= 0xc2b2ae35l; \ - _h ^= _h >> 16; \ - } while (0) - - #define HASH_MUR(key, keylen, num_bkts, hashv, bkt) \ - do { \ - const uint8_t *_mur_data = (const uint8_t *)(key); \ - const int _mur_nblocks = (keylen) / 4; \ - uint32_t _mur_h1 = 0xf88D5353; \ - uint32_t _mur_c1 = 0xcc9e2d51; \ - uint32_t _mur_c2 = 0x1b873593; \ - uint32_t _mur_k1 = 0; \ - const uint8_t *_mur_tail; \ - const uint32_t *_mur_blocks = (const uint32_t *)(_mur_data + _mur_nblocks * 4); \ - int _mur_i; \ - for (_mur_i = -_mur_nblocks; _mur_i; _mur_i++) { \ - _mur_k1 = MUR_GETBLOCK(_mur_blocks, _mur_i); \ - _mur_k1 *= _mur_c1; \ - _mur_k1 = MUR_ROTL32(_mur_k1, 15); \ - _mur_k1 *= _mur_c2; \ - \ - _mur_h1 ^= _mur_k1; \ - _mur_h1 = MUR_ROTL32(_mur_h1, 13); \ - _mur_h1 = _mur_h1 * 5 + 0xe6546b64; \ - } \ - _mur_tail = (const uint8_t *)(_mur_data + _mur_nblocks * 4); \ - _mur_k1 = 0; \ - switch ((keylen)&3) { \ - case 3: _mur_k1 ^= _mur_tail[2] << 16; \ - case 2: _mur_k1 ^= _mur_tail[1] << 8; \ - case 1: \ - _mur_k1 ^= _mur_tail[0]; \ - _mur_k1 *= _mur_c1; \ - _mur_k1 = MUR_ROTL32(_mur_k1, 15); \ - _mur_k1 *= _mur_c2; \ - _mur_h1 ^= _mur_k1; \ - } \ - _mur_h1 ^= (keylen); \ - MUR_FMIX(_mur_h1); \ - hashv = _mur_h1; \ - bkt = hashv & (num_bkts - 1); \ - } while (0) -#endif /* HASH_USING_NO_STRICT_ALIASING */ - -/* key comparison function; return 0 if keys equal */ -#define HASH_KEYCMP(a, b, len) memcmp(a, b, len) - -/* iterate over items in a known bucket to find desired item */ -#define HASH_FIND_IN_BKT(tbl, hh, head, keyptr, keylen_in, out) \ - do { \ - if (head.hh_head) \ - DECLTYPE_ASSIGN(out, ELMT_FROM_HH(tbl, head.hh_head)); \ - else \ - out = NULL; \ - while (out) { \ - if ((out)->hh.keylen == keylen_in) { \ - if ((HASH_KEYCMP((out)->hh.key, keyptr, keylen_in)) == 0) break; \ - } \ - if ((out)->hh.hh_next) \ - DECLTYPE_ASSIGN(out, ELMT_FROM_HH(tbl, (out)->hh.hh_next)); \ - else \ - out = NULL; \ - } \ - } while (0) - -/* add an item to a bucket */ -#define HASH_ADD_TO_BKT(head, addhh) \ - do { \ - head.count++; \ - (addhh)->hh_next = head.hh_head; \ - (addhh)->hh_prev = NULL; \ - if (head.hh_head) { \ - (head).hh_head->hh_prev = (addhh); \ - } \ - (head).hh_head = addhh; \ - if (head.count >= ((head.expand_mult + 1) * HASH_BKT_CAPACITY_THRESH) && (addhh)->tbl->noexpand != 1) { \ - HASH_EXPAND_BUCKETS((addhh)->tbl); \ - } \ - } while (0) - -/* remove an item from a given bucket */ -#define HASH_DEL_IN_BKT(hh, head, hh_del) \ - (head).count--; \ - if ((head).hh_head == hh_del) { \ - (head).hh_head = hh_del->hh_next; \ - } \ - if (hh_del->hh_prev) { \ - hh_del->hh_prev->hh_next = hh_del->hh_next; \ - } \ - if (hh_del->hh_next) { \ - hh_del->hh_next->hh_prev = hh_del->hh_prev; \ - } - -/* Bucket expansion has the effect of doubling the number of buckets - * and redistributing the items into the new buckets. Ideally the - * items will distribute more or less evenly into the new buckets - * (the extent to which this is true is a measure of the quality of - * the hash function as it applies to the key domain). - * - * With the items distributed into more buckets, the chain length - * (item count) in each bucket is reduced. Thus by expanding buckets - * the hash keeps a bound on the chain length. This bounded chain - * length is the essence of how a hash provides constant time lookup. - * - * The calculation of tbl->ideal_chain_maxlen below deserves some - * explanation. First, keep in mind that we're calculating the ideal - * maximum chain length based on the *new* (doubled) bucket count. - * In fractions this is just n/b (n=number of items,b=new num buckets). - * Since the ideal chain length is an integer, we want to calculate - * ceil(n/b). We don't depend on floating point arithmetic in this - * hash, so to calculate ceil(n/b) with integers we could write - * - * ceil(n/b) = (n/b) + ((n%b)?1:0) - * - * and in fact a previous version of this hash did just that. - * But now we have improved things a bit by recognizing that b is - * always a power of two. We keep its base 2 log handy (call it lb), - * so now we can write this with a bit shift and logical AND: - * - * ceil(n/b) = (n>>lb) + ( (n & (b-1)) ? 1:0) - * - */ -#define HASH_EXPAND_BUCKETS(tbl) \ - do { \ - unsigned _he_bkt; \ - unsigned _he_bkt_i; \ - struct UT_hash_handle *_he_thh, *_he_hh_nxt; \ - UT_hash_bucket *_he_new_buckets, *_he_newbkt; \ - _he_new_buckets = (UT_hash_bucket *)uthash_malloc( \ - 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ - if (!_he_new_buckets) { \ - uthash_fatal("out of memory"); \ - } \ - memset(_he_new_buckets, 0, \ - 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ - tbl->ideal_chain_maxlen = \ - (tbl->num_items >> (tbl->log2_num_buckets + 1)) + \ - ((tbl->num_items & ((tbl->num_buckets * 2) - 1)) ? 1 : 0); \ - tbl->nonideal_items = 0; \ - for (_he_bkt_i = 0; _he_bkt_i < tbl->num_buckets; _he_bkt_i++) { \ - _he_thh = tbl->buckets[_he_bkt_i].hh_head; \ - while (_he_thh) { \ - _he_hh_nxt = _he_thh->hh_next; \ - HASH_TO_BKT(_he_thh->hashv, tbl->num_buckets * 2, _he_bkt); \ - _he_newbkt = &(_he_new_buckets[_he_bkt]); \ - if (++(_he_newbkt->count) > tbl->ideal_chain_maxlen) { \ - tbl->nonideal_items++; \ - _he_newbkt->expand_mult = _he_newbkt->count / \ - tbl->ideal_chain_maxlen; \ - } \ - _he_thh->hh_prev = NULL; \ - _he_thh->hh_next = _he_newbkt->hh_head; \ - if (_he_newbkt->hh_head) _he_newbkt->hh_head->hh_prev = \ - _he_thh; \ - _he_newbkt->hh_head = _he_thh; \ - _he_thh = _he_hh_nxt; \ - } \ - } \ - uthash_free(tbl->buckets, tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ - tbl->num_buckets *= 2; \ - tbl->log2_num_buckets++; \ - tbl->buckets = _he_new_buckets; \ - tbl->ineff_expands = (tbl->nonideal_items > (tbl->num_items >> 1)) ? (tbl->ineff_expands + 1) : 0; \ - if (tbl->ineff_expands > 1) { \ - tbl->noexpand = 1; \ - uthash_noexpand_fyi(tbl); \ - } \ - uthash_expand_fyi(tbl); \ - } while (0) - -/* This is an adaptation of Simon Tatham's O(n log(n)) mergesort */ -/* Note that HASH_SORT assumes the hash handle name to be hh. - * HASH_SRT was added to allow the hash handle name to be passed in. */ -#define HASH_SORT(head, cmpfcn) HASH_SRT(hh, head, cmpfcn) -#define HASH_SRT(hh, head, cmpfcn) \ - do { \ - unsigned _hs_i; \ - unsigned _hs_looping, _hs_nmerges, _hs_insize, _hs_psize, _hs_qsize; \ - struct UT_hash_handle *_hs_p, *_hs_q, *_hs_e, *_hs_list, *_hs_tail; \ - if (head) { \ - _hs_insize = 1; \ - _hs_looping = 1; \ - _hs_list = &((head)->hh); \ - while (_hs_looping) { \ - _hs_p = _hs_list; \ - _hs_list = NULL; \ - _hs_tail = NULL; \ - _hs_nmerges = 0; \ - while (_hs_p) { \ - _hs_nmerges++; \ - _hs_q = _hs_p; \ - _hs_psize = 0; \ - for (_hs_i = 0; _hs_i < _hs_insize; _hs_i++) { \ - _hs_psize++; \ - _hs_q = (UT_hash_handle *)((_hs_q->next) ? ((void *)((char *)(_hs_q->next) + \ - (head)->hh.tbl->hho)) \ - : NULL); \ - if (!(_hs_q)) break; \ - } \ - _hs_qsize = _hs_insize; \ - while ((_hs_psize > 0) || ((_hs_qsize > 0) && _hs_q)) { \ - if (_hs_psize == 0) { \ - _hs_e = _hs_q; \ - _hs_q = (UT_hash_handle *)((_hs_q->next) ? ((void *)((char *)(_hs_q->next) + \ - (head)->hh.tbl->hho)) \ - : NULL); \ - _hs_qsize--; \ - } else if ((_hs_qsize == 0) || !(_hs_q)) { \ - _hs_e = _hs_p; \ - _hs_p = (UT_hash_handle *)((_hs_p->next) ? ((void *)((char *)(_hs_p->next) + \ - (head)->hh.tbl->hho)) \ - : NULL); \ - _hs_psize--; \ - } else if (( \ - cmpfcn(DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl, _hs_p)), \ - DECLTYPE(head)(ELMT_FROM_HH((head)->hh.tbl, _hs_q)))) <= 0) { \ - _hs_e = _hs_p; \ - _hs_p = (UT_hash_handle *)((_hs_p->next) ? ((void *)((char *)(_hs_p->next) + \ - (head)->hh.tbl->hho)) \ - : NULL); \ - _hs_psize--; \ - } else { \ - _hs_e = _hs_q; \ - _hs_q = (UT_hash_handle *)((_hs_q->next) ? ((void *)((char *)(_hs_q->next) + \ - (head)->hh.tbl->hho)) \ - : NULL); \ - _hs_qsize--; \ - } \ - if (_hs_tail) { \ - _hs_tail->next = ((_hs_e) ? ELMT_FROM_HH((head)->hh.tbl, _hs_e) : NULL); \ - } else { \ - _hs_list = _hs_e; \ - } \ - _hs_e->prev = ((_hs_tail) ? ELMT_FROM_HH((head)->hh.tbl, _hs_tail) : NULL); \ - _hs_tail = _hs_e; \ - } \ - _hs_p = _hs_q; \ - } \ - _hs_tail->next = NULL; \ - if (_hs_nmerges <= 1) { \ - _hs_looping = 0; \ - (head)->hh.tbl->tail = _hs_tail; \ - DECLTYPE_ASSIGN(head, ELMT_FROM_HH((head)->hh.tbl, _hs_list)); \ - } \ - _hs_insize *= 2; \ - } \ - HASH_FSCK(hh, head); \ - } \ - } while (0) - -/* This function selects items from one hash into another hash. - * The end result is that the selected items have dual presence - * in both hashes. There is no copy of the items made; rather - * they are added into the new hash through a secondary hash - * hash handle that must be present in the structure. */ -#define HASH_SELECT(hh_dst, dst, hh_src, src, cond) \ - do { \ - unsigned _src_bkt, _dst_bkt; \ - void *_last_elt = NULL, *_elt; \ - UT_hash_handle *_src_hh, *_dst_hh, *_last_elt_hh = NULL; \ - ptrdiff_t _dst_hho = ((char *)(&(dst)->hh_dst) - (char *)(dst)); \ - if (src) { \ - for (_src_bkt = 0; _src_bkt < (src)->hh_src.tbl->num_buckets; _src_bkt++) { \ - for (_src_hh = (src)->hh_src.tbl->buckets[_src_bkt].hh_head; \ - _src_hh; \ - _src_hh = _src_hh->hh_next) { \ - _elt = ELMT_FROM_HH((src)->hh_src.tbl, _src_hh); \ - if (cond(_elt)) { \ - _dst_hh = (UT_hash_handle *)(((char *)_elt) + _dst_hho); \ - _dst_hh->key = _src_hh->key; \ - _dst_hh->keylen = _src_hh->keylen; \ - _dst_hh->hashv = _src_hh->hashv; \ - _dst_hh->prev = _last_elt; \ - _dst_hh->next = NULL; \ - if (_last_elt_hh) { \ - _last_elt_hh->next = _elt; \ - } \ - if (!dst) { \ - DECLTYPE_ASSIGN(dst, _elt); \ - HASH_MAKE_TABLE(hh_dst, dst); \ - } else { \ - _dst_hh->tbl = (dst)->hh_dst.tbl; \ - } \ - HASH_TO_BKT(_dst_hh->hashv, _dst_hh->tbl->num_buckets, _dst_bkt); \ - HASH_ADD_TO_BKT(_dst_hh->tbl->buckets[_dst_bkt], _dst_hh); \ - (dst)->hh_dst.tbl->num_items++; \ - _last_elt = _elt; \ - _last_elt_hh = _dst_hh; \ - } \ - } \ - } \ - } \ - HASH_FSCK(hh_dst, dst); \ - } while (0) - -#define HASH_CLEAR(hh, head) \ - do { \ - if (head) { \ - uthash_free((head)->hh.tbl->buckets, \ - (head)->hh.tbl->num_buckets * sizeof(struct UT_hash_bucket)); \ - HASH_BLOOM_FREE((head)->hh.tbl); \ - uthash_free((head)->hh.tbl, sizeof(UT_hash_table)); \ - (head) = NULL; \ - } \ - } while (0) - -#define HASH_OVERHEAD(hh, head) \ - (size_t)((((head)->hh.tbl->num_items * sizeof(UT_hash_handle)) + \ - ((head)->hh.tbl->num_buckets * sizeof(UT_hash_bucket)) + \ - (sizeof(UT_hash_table)) + \ - (HASH_BLOOM_BYTELEN))) - -#ifdef NO_DECLTYPE - #define HASH_ITER(hh, head, el, tmp) \ - for ((el) = (head), (*(char **)(&(tmp))) = (char *)((head) ? (head)->hh.next : NULL); \ - el; (el) = (tmp), (*(char **)(&(tmp))) = (char *)((tmp) ? (tmp)->hh.next : NULL)) -#else - #define HASH_ITER(hh, head, el, tmp) \ - for ((el) = (head), (tmp) = DECLTYPE(el)((head) ? (head)->hh.next : NULL); \ - el; (el) = (tmp), (tmp) = DECLTYPE(el)((tmp) ? (tmp)->hh.next : NULL)) -#endif - -/* obtain a count of items in the hash */ -#define HASH_COUNT(head) HASH_CNT(hh, head) -#define HASH_CNT(hh, head) ((head) ? ((head)->hh.tbl->num_items) : 0) - -typedef struct UT_hash_bucket { - struct UT_hash_handle *hh_head; - unsigned count; - - /* expand_mult is normally set to 0. In this situation, the max chain length - * threshold is enforced at its default value, HASH_BKT_CAPACITY_THRESH. (If - * the bucket's chain exceeds this length, bucket expansion is triggered). - * However, setting expand_mult to a non-zero value delays bucket expansion - * (that would be triggered by additions to this particular bucket) - * until its chain length reaches a *multiple* of HASH_BKT_CAPACITY_THRESH. - * (The multiplier is simply expand_mult+1). The whole idea of this - * multiplier is to reduce bucket expansions, since they are expensive, in - * situations where we know that a particular bucket tends to be overused. - * It is better to let its chain length grow to a longer yet-still-bounded - * value, than to do an O(n) bucket expansion too often. - */ - unsigned expand_mult; - -} UT_hash_bucket; - -/* random signature used only to find hash tables in external analysis */ -#define HASH_SIGNATURE 0xa0111fe1 -#define HASH_BLOOM_SIGNATURE 0xb12220f2 - -typedef struct UT_hash_table { - UT_hash_bucket *buckets; - unsigned num_buckets, log2_num_buckets; - unsigned num_items; - struct UT_hash_handle *tail; /* tail hh in app order, for fast append */ - ptrdiff_t hho; /* hash handle offset (byte pos of hash handle in element */ - - /* in an ideal situation (all buckets used equally), no bucket would have - * more than ceil(#items/#buckets) items. that's the ideal chain length. */ - unsigned ideal_chain_maxlen; - - /* nonideal_items is the number of items in the hash whose chain position - * exceeds the ideal chain maxlen. these items pay the penalty for an uneven - * hash distribution; reaching them in a chain traversal takes >ideal steps */ - unsigned nonideal_items; - - /* ineffective expands occur when a bucket doubling was performed, but - * afterward, more than half the items in the hash had nonideal chain - * positions. If this happens on two consecutive expansions we inhibit any - * further expansion, as it's not helping; this happens when the hash - * function isn't a good fit for the key domain. When expansion is inhibited - * the hash will still work, albeit no longer in constant time. */ - unsigned ineff_expands, noexpand; - - uint32_t signature; /* used only to find hash tables in external analysis */ -#ifdef HASH_BLOOM - uint32_t bloom_sig; /* used only to test bloom exists in external analysis */ - uint8_t *bloom_bv; - char bloom_nbits; -#endif - -} UT_hash_table; - -typedef struct UT_hash_handle { - struct UT_hash_table *tbl; - void *prev; /* prev element in app order */ - void *next; /* next element in app order */ - struct UT_hash_handle *hh_prev; /* previous hh in bucket order */ - struct UT_hash_handle *hh_next; /* next hh in bucket order */ - void *key; /* ptr to enclosing struct's key */ - unsigned keylen; /* enclosing struct's key len */ - unsigned hashv; /* result of hash-fcn(key) */ -} UT_hash_handle; - -/// @endcond -#endif /* UTHASH_H */ diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index c3c4ea4e27..45a0468dd5 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -26,7 +26,10 @@ ****************************************************************************/ #import "Application.h" + #import +#include + #include "base/Scheduler.h" #include "base/AutoreleasePool.h" #include "bindings/event/EventDispatcher.h" @@ -97,20 +100,19 @@ namespace { bool isLandscape = (orientation == cc::Device::Orientation::LANDSCAPE_RIGHT || orientation == cc::Device::Orientation::LANDSCAPE_LEFT); if (isLandscape) std::swap(nativeWidth, nativeHeight); - char commandBuf[200] = {0}; // https://stackoverflow.com/questions/5795978/string-format-for-intptr-t-and-uintptr-t/41897226#41897226 // format intptr_t //set window.innerWidth/innerHeight in css pixel units uintptr_t windowHandle = reinterpret_cast(UIApplication.sharedApplication.delegate.window.rootViewController.view); - sprintf(commandBuf, "window.innerWidth = %d; window.innerHeight = %d; window.nativeWidth = %d; window.nativeHeight = %d; window.windowHandler = 0x%" PRIxPTR ";", - static_cast(viewLogicalSize.x), - static_cast(viewLogicalSize.y), - nativeWidth, - nativeHeight, - windowHandle); + std::stringstream commandBuf; + commandBuf << "window.innerWidth = " << viewLogicalSize.x + << " window.innerHeight = " << viewLogicalSize.y + << " window.nativeWidth= " << nativeWidth + << " window.nativeHeight = " << nativeHeight + << " window.windowHandler = " << windowHandle; se::ScriptEngine* se = se::ScriptEngine::getInstance(); - se->evalString(commandBuf); + se->evalString(commandBuf.str().c_str()); gfx::DeviceInfo deviceInfo; deviceInfo.windowHandle = windowHandle; diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index a8bc3c3229..84512f0388 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -31,6 +31,7 @@ #include "platform/Application.h" #include #include +#include #include "pipeline/Define.h" #include "pipeline/RenderPipeline.h" @@ -96,13 +97,13 @@ namespace { bool setCanvasCallback(se::Object *global) { auto viewLogicalSize = Application::getInstance()->getViewLogicalSize(); se::ScriptEngine *se = se::ScriptEngine::getInstance(); - char commandBuf[200] = {0}; NSView * view = [[[[NSApplication sharedApplication] delegate] getWindow] contentView]; - sprintf(commandBuf, "window.innerWidth = %d; window.innerHeight = %d; window.windowHandler = 0x%" PRIxPTR ";", - (int)(viewLogicalSize.x), - (int)(viewLogicalSize.y), - (uintptr_t)view); - se->evalString(commandBuf); + + std::stringstream commandBuf; + commandBuf << "window.innerWidth = " << viewLogicalSize.x + << " window.innerHeight = " << viewLogicalSize.y + << " window.windowHandler = " << reinterpret_cast(view); + se->evalString(commandBuf.str().c_str()); gfx::DeviceInfo deviceInfo; deviceInfo.windowHandle = (uintptr_t)view; @@ -118,7 +119,7 @@ bool setCanvasCallback(se::Object *global) { } MyTimer *_timer; -} +} // namespace Application * Application::_instance = nullptr; std::shared_ptr Application::_scheduler = nullptr; From 14f30ff1d3d3fae5d688dd45781396609a662f2c Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Mon, 29 Mar 2021 10:47:24 +0800 Subject: [PATCH 209/270] [ci skip][AUTO]: updating jsbinding automatically: 8a301c5c (#3358) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 1 - 1 file changed, 1 deletion(-) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 8e861a70b4..304a97a915 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -181,7 +181,6 @@ "cocos/base/threading/ThreadSafeCounter.h", "cocos/base/threading/ThreadSafeLinearAllocator.cpp", "cocos/base/threading/ThreadSafeLinearAllocator.h", - "cocos/base/uthash.h", "cocos/editor-support/IOBuffer.cpp", "cocos/editor-support/IOBuffer.h", "cocos/editor-support/IOTypedArray.cpp", From 14561d91f69f335bd72ae35f741b9b2108b6399f Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Mon, 29 Mar 2021 18:25:52 +0800 Subject: [PATCH 210/270] fix mac warning (#3361) --- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index 38821f6b15..aecfb1bc9d 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -94,6 +94,7 @@ bool CCMTLBuffer::createMTLBuffer(uint size, MemoryUsage usage) { if (_mtlBuffer == nil) { return false; } + return true; } void CCMTLBuffer::doDestroy() { From f4fd7a24964b29c513655867b4e95816c620126b Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 30 Mar 2021 09:43:25 +0800 Subject: [PATCH 211/270] base should not depend on se (#3359) * base should not depend on se * formatting --- native/CMakeLists.txt | 4 +- native/cocos/base/Utils.cpp | 6 - native/cocos/base/Utils.h | 1 - .../gfx-validator/ValidationUtils.cpp | 12 ++ .../renderer/gfx-validator/ValidationUtils.h | 5 + .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 31 ++-- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 1 - .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 143 ++++++++---------- native/cocos/renderer/gfx-vulkan/VKStd.h | 2 +- .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 1 - native/external/config.json | 4 +- 11 files changed, 96 insertions(+), 114 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 4c6d3c949d..2f7c87e915 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -940,7 +940,7 @@ if(CC_USE_METAL) cocos/renderer/gfx-metal/MTLCommandBuffer.mm cocos/renderer/gfx-metal/MTLContext.h NO_WERROR cocos/renderer/gfx-metal/MTLContext.mm # CAMetalLayer bug for apple - cocos/renderer/gfx-metal/MTLDevice.h + cocos/renderer/gfx-metal/MTLDevice.h NO_WERROR cocos/renderer/gfx-metal/MTLDevice.mm # CAMetalLayer bug for apple cocos/renderer/gfx-metal/MTLFramebuffer.mm cocos/renderer/gfx-metal/MTLFramebuffer.h @@ -1638,7 +1638,7 @@ cocos_source_files( extensions/ExtensionMacros.h ) -list(APPEND COCOS2D_SOURCE_LIST ${CC_EXTERNAL_SROUCES}) +list(APPEND COCOS2D_SOURCE_LIST ${CC_EXTERNAL_SOURCES}) add_library(cocos2d ${COCOS2D_SOURCE_LIST}) diff --git a/native/cocos/base/Utils.cpp b/native/cocos/base/Utils.cpp index 1fb9c87da0..109bd79728 100644 --- a/native/cocos/base/Utils.cpp +++ b/native/cocos/base/Utils.cpp @@ -39,8 +39,6 @@ #define BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED #include "boost/stacktrace.hpp" -#include "bindings/jswrapper/SeApi.h" - namespace cc { namespace utils { @@ -78,10 +76,6 @@ std::string getStacktrace(uint skip, uint maxDepth) { return boost::stacktrace::to_string(boost::stacktrace::stacktrace(skip, maxDepth)); } -std::string getStacktraceJS() { - return se::ScriptEngine::getInstance()->getCurrentStackTrace(); -} - } // namespace utils } // namespace cc diff --git a/native/cocos/base/Utils.h b/native/cocos/base/Utils.h index 59a3e32d0a..acec4f86e1 100644 --- a/native/cocos/base/Utils.h +++ b/native/cocos/base/Utils.h @@ -56,7 +56,6 @@ Examples: namespace utils { CC_DLL std::string getStacktrace(uint skip = 0, uint maxDepth = UINT_MAX); -CC_DLL std::string getStacktraceJS(); CC_DLL int nextPOT(int x); /** Same to ::atof, but strip the string, remain 7 numbers after '.' before call atof. diff --git a/native/cocos/renderer/gfx-validator/ValidationUtils.cpp b/native/cocos/renderer/gfx-validator/ValidationUtils.cpp index c754d870d2..cd316f1a9a 100644 --- a/native/cocos/renderer/gfx-validator/ValidationUtils.cpp +++ b/native/cocos/renderer/gfx-validator/ValidationUtils.cpp @@ -25,8 +25,20 @@ #include "ValidationUtils.h" +#include "bindings/jswrapper/SeApi.h" + namespace cc { + +namespace utils { + +String getStacktraceJS() { + return se::ScriptEngine::getInstance()->getCurrentStackTrace(); +} + +} // namespace utils + namespace gfx { } // namespace gfx + } // namespace cc diff --git a/native/cocos/renderer/gfx-validator/ValidationUtils.h b/native/cocos/renderer/gfx-validator/ValidationUtils.h index 707a7fa15a..ed3a0e2517 100644 --- a/native/cocos/renderer/gfx-validator/ValidationUtils.h +++ b/native/cocos/renderer/gfx-validator/ValidationUtils.h @@ -29,6 +29,11 @@ #include "base/Utils.h" namespace cc { + +namespace utils { +String getStacktraceJS(); +} // namespace utils + namespace gfx { class GFXObject; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index e327c3dac2..9bc41ccdcc 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -138,7 +138,6 @@ void CCVKCmdFuncCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { //CC_LOG_DEBUG("Allocated texture: %llu %llx %llx %llu %x", res.size, gpuTexture->vkImage, res.deviceMemory, res.offset, res.pMappedData); gpuTexture->aspectMask = MapVkImageAspectFlags(gpuTexture->format); - gpuTexture->layoutRule = gpuTexture->usage & TextureUsage::STORAGE ? THSVS_IMAGE_LAYOUT_GENERAL : THSVS_IMAGE_LAYOUT_OPTIMAL; // as per vulkan spec } void CCVKCmdFuncCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTextureView) { @@ -217,7 +216,7 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { VK_CHECK(vmaCreateBuffer(device->gpuDevice()->memoryAllocator, &bufferInfo, &allocInfo, &gpuBuffer->vkBuffer, &gpuBuffer->vmaAllocation, &res)); //CC_LOG_DEBUG("Allocated buffer: %llu, %llx %llx %llu %x", res.size, gpuBuffer->vkBuffer, res.deviceMemory, res.offset, res.pMappedData); - gpuBuffer->mappedData = (uint8_t *)res.pMappedData; + gpuBuffer->mappedData = reinterpret_cast(res.pMappedData); gpuBuffer->startOffset = 0; // we are creating one VkBuffer each for now // add special access types directly from usage @@ -422,8 +421,8 @@ void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFra gpuFramebuffer->swapchain = device->gpuSwapchain(); FramebufferListMap & fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; - FramebufferListMapIter fboListMapIter = fboListMap.find(gpuFramebuffer); - if (fboListMapIter != fboListMap.end() && fboListMapIter->second.size()) { + auto fboListMapIter = fboListMap.find(gpuFramebuffer); + if (fboListMapIter != fboListMap.end() && !fboListMapIter->second.empty()) { return; } size_t swapchainImageCount = gpuFramebuffer->swapchain->vkSwapchainImageViews.size(); @@ -755,7 +754,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { size_t drawInfoCount = size / sizeof(DrawInfo); - const DrawInfo *drawInfo = static_cast(buffer); + const auto *drawInfo = static_cast(buffer); if (drawInfoCount > 0) { if (drawInfo->indexCount) { for (size_t i = 0; i < drawInfoCount; ++i) { @@ -970,10 +969,10 @@ void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer } } else { FramebufferListMap & fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; - FramebufferListMapIter fboListMapIter = fboListMap.find(gpuFramebuffer); + auto fboListMapIter = fboListMap.find(gpuFramebuffer); if (fboListMapIter != fboListMap.end()) { - for (size_t i = 0u; i < fboListMapIter->second.size(); ++i) { - vkDestroyFramebuffer(gpuDevice->vkDevice, fboListMapIter->second[i], nullptr); + for (auto & i : fboListMapIter->second) { + vkDestroyFramebuffer(gpuDevice->vkDevice, i, nullptr); } fboListMapIter->second.clear(); fboListMap.erase(fboListMapIter); @@ -1016,18 +1015,6 @@ void CCVKCmdFuncDestroyPipelineState(CCVKGPUDevice *gpuDevice, CCVKGPUPipelineSt } } -void CCVKCmdFuncGlobalMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsGlobalBarrier &globalBarrier) { - VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; - VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; - VkPipelineStageFlags tempSrcStageMask = 0; - VkPipelineStageFlags tempDstStageMask = 0; - VkMemoryBarrier vkBarrier; - thsvsGetVulkanMemoryBarrier(globalBarrier, &tempSrcStageMask, &tempDstStageMask, &vkBarrier); - srcStageMask |= tempSrcStageMask; - dstStageMask |= tempDstStageMask; - vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, 1, &vkBarrier, 0, nullptr, 0, nullptr); -} - void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier) { VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; @@ -1144,7 +1131,7 @@ void CCVKGPUBarrierManager::update(CCVKGPUTransportHub *transportHub) { VkMemoryBarrier vkBarrier; VkMemoryBarrier *pVkBarrier = nullptr; - if (prevAccesses.size()) { + if (!prevAccesses.empty()) { ThsvsGlobalBarrier globalBarrier{}; globalBarrier.prevAccessCount = prevAccesses.size(); globalBarrier.pPrevAccesses = prevAccesses.data(); @@ -1192,7 +1179,7 @@ void CCVKGPUBarrierManager::update(CCVKGPUTransportHub *transportHub) { gpuTexture->transferAccess = THSVS_ACCESS_NONE; } - if (pVkBarrier || vkImageBarriers.size()) { + if (pVkBarrier || !vkImageBarriers.empty()) { transportHub->checkIn([&](CCVKGPUCommandBuffer *gpuCommandBuffer) { vkCmdPipelineBarrier(gpuCommandBuffer->vkCommandBuffer, srcStageMask, dstStageMask, 0, pVkBarrier ? 1 : 0, pVkBarrier, 0, nullptr, vkImageBarriers.size(), vkImageBarriers.data()); diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 9df3e23b94..19562bb2f4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -212,7 +212,6 @@ void CCVKDescriptorSet::update() { if (bufferView) { descriptorHub->connect(_gpuDescriptorSet, bufferView, &descriptorInfo.buffer, t); descriptorHub->update(bufferView, &descriptorInfo.buffer); - //layoutMgr->checkIn(bufferView->gpuBuffer, binding.accessTypes.data(), binding.accessTypes.size()); } } binding.gpuBufferView = bufferView; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 1f22048df3..b8f96dacc7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -25,6 +25,8 @@ #pragma once +#include + #include "VKUtils.h" #define TBB_USE_EXCEPTIONS 0 // no-rtti for now @@ -92,8 +94,6 @@ public: SampleCount samples = SampleCount::X1; TextureFlags flags = TextureFlagBit::NONE; VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - ThsvsImageLayout layoutRule = THSVS_IMAGE_LAYOUT_OPTIMAL; - bool isPowerOf2 = false; VkImage vkImage = VK_NULL_HANDLE; VmaAllocation vmaAllocation = VK_NULL_HANDLE; @@ -101,7 +101,7 @@ public: vector currentAccessTypes; // for barrier manager - vector renderAccessTypes; // gathered from desriptor sets + vector renderAccessTypes; // gathered from descriptor sets ThsvsAccessType transferAccess = THSVS_ACCESS_NONE; }; @@ -118,7 +118,7 @@ public: // descriptor infos VkImageView vkImageView = VK_NULL_HANDLE; }; -typedef vector CCVKGPUTextureViewList; +using CCVKGPUTextureViewList = vector; class CCVKGPUSampler final : public Object { public: @@ -131,8 +131,6 @@ public: uint maxAnisotropy = 0u; ComparisonFunc cmpFunc = ComparisonFunc::NEVER; Color borderColor; - uint minLOD = 0u; - uint maxLOD = 1000u; float mipLODBias = 0.0f; // descriptor infos @@ -165,7 +163,7 @@ public: vector renderAccessTypes; // gathered from descriptor sets ThsvsAccessType transferAccess = THSVS_ACCESS_NONE; }; -typedef vector CCVKGPUBufferList; +using CCVKGPUBufferList = vector; class CCVKGPUBufferView final : public Object { public: @@ -185,9 +183,9 @@ public: bool isOffscreen = true; }; -typedef vector FramebufferList; -typedef unordered_map FramebufferListMap; -typedef FramebufferListMap::iterator FramebufferListMapIter; +using FramebufferList = vector; +using FramebufferListMap = unordered_map; +using FramebufferListMapIter = FramebufferListMap::iterator; class CCVKGPUSwapchain final : public Object { public: @@ -226,13 +224,13 @@ public: struct CCVKGPUShaderStage { CCVKGPUShaderStage(ShaderStageFlagBit t, String s) : type(t), - source(s) { + source(std::move(s)) { } ShaderStageFlagBit type = ShaderStageFlagBit::NONE; String source; VkShaderModule vkShader = VK_NULL_HANDLE; }; -typedef vector CCVKGPUShaderStageList; +using CCVKGPUShaderStageList = vector; class CCVKGPUShader final : public Object { public: @@ -265,7 +263,7 @@ struct CCVKGPUDescriptor { CCVKGPUTextureView * gpuTextureView = nullptr; CCVKGPUSampler * gpuSampler = nullptr; }; -typedef vector CCVKGPUDescriptorList; +using CCVKGPUDescriptorList = vector; class CCVKGPUDescriptorSetLayout; class CCVKGPUDescriptorSet final : public Object { @@ -285,7 +283,7 @@ public: uint layoutID = 0u; }; -typedef vector CCVKGPUDescriptorSetLayoutList; +using CCVKGPUDescriptorSetLayoutList = vector; class CCVKGPUPipelineLayout final : public Object { public: @@ -382,7 +380,7 @@ private: */ class CCVKGPUFencePool final : public Object { public: - CCVKGPUFencePool(CCVKGPUDevice *device) + explicit CCVKGPUFencePool(CCVKGPUDevice *device) : _device(device) { } @@ -419,7 +417,7 @@ public: return _fences.data(); } - uint size() { + uint size() const { return _count; } @@ -434,7 +432,7 @@ private: */ class CCVKGPUSemaphorePool final : public Object { public: - CCVKGPUSemaphorePool(CCVKGPUDevice *device) + explicit CCVKGPUSemaphorePool(CCVKGPUDevice *device) : _device(device) { } @@ -464,7 +462,7 @@ public: _count = 0; } - uint size() { + uint size() const { return _count; } @@ -505,23 +503,22 @@ public: void link(CCVKGPUDevice *device, uint maxSetsPerPool, vector &bindings, VkDescriptorSetLayout setLayout) { _device = device; _maxSetsPerPool = maxSetsPerPool; - _setLayouts.insert(_setLayouts.begin(), _maxSetsPerPool, setLayout); + _setLayouts.insert(_setLayouts.cbegin(), _maxSetsPerPool, setLayout); _fleaMarkets.resize(device->backBufferCount); unordered_map typeMap; - for (size_t i = 0u; i < bindings.size(); ++i) { - VkDescriptorSetLayoutBinding &vkBinding = bindings[i]; + for (auto & vkBinding : bindings) { typeMap[vkBinding.descriptorType] += maxSetsPerPool * vkBinding.descriptorCount; } // minimal reserve for empty set layouts - if (!bindings.size()) { + if (bindings.empty()) { typeMap[VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER] = 1; } _poolSizes.clear(); - for (unordered_map::iterator it = typeMap.begin(); it != typeMap.end(); it++) { - _poolSizes.push_back({it->first, it->second}); + for (auto & it : typeMap) { + _poolSizes.push_back({it.first, it.second}); } } @@ -537,7 +534,7 @@ public: size_t size = _pools.size(); uint idx = 0u; for (; idx < size; idx++) { - if (_pools[idx].freeSets.size()) { + if (!_pools[idx].freeSets.empty()) { output = _pools[idx].freeSets.back(); _pools[idx].freeSets.pop_back(); _pools[idx].activeSets.insert(output); @@ -548,10 +545,10 @@ public: if (idx >= size) { VkDescriptorPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO}; createInfo.maxSets = _maxSetsPerPool; - createInfo.poolSizeCount = _poolSizes.size(); + createInfo.poolSizeCount = toUint(_poolSizes.size()); createInfo.pPoolSizes = _poolSizes.data(); - VkDescriptorPool descriptorPool; + VkDescriptorPool descriptorPool = VK_NULL_HANDLE; VK_CHECK(vkCreateDescriptorPool(_device->vkDevice, &createInfo, nullptr, &descriptorPool)); _pools.push_back({descriptorPool}); @@ -617,17 +614,17 @@ public: }; /** - * Command buffer pool based on VkCommandPools, always try to resue previous allocations first. + * Command buffer pool based on VkCommandPools, always try to reuse previous allocations first. */ class CCVKGPUCommandBufferPool final : public Object { public: - CCVKGPUCommandBufferPool(CCVKGPUDevice *device) + explicit CCVKGPUCommandBufferPool(CCVKGPUDevice *device) : _device(device) { } ~CCVKGPUCommandBufferPool() { - for (unordered_map::iterator it = _pools.begin(); it != _pools.end(); it++) { - CommandBufferPool &pool = it->second; + for (auto & it : _pools) { + CommandBufferPool &pool = it.second; if (pool.vkCommandPool != VK_NULL_HANDLE) { vkDestroyCommandPool(_device->vkDevice, pool.vkCommandPool, nullptr); pool.vkCommandPool = VK_NULL_HANDLE; @@ -685,9 +682,9 @@ public: } void reset() { - for (unordered_map::iterator it = _pools.begin(); it != _pools.end(); it++) { - if (getBackBufferIndex(it->first) != _device->curBackBufferIndex) continue; - CommandBufferPool &pool = it->second; + for (auto & it : _pools) { + if (getBackBufferIndex(it.first) != _device->curBackBufferIndex) { continue; } + CommandBufferPool &pool = it.second; bool needsReset = false; for (uint i = 0u; i < 2u; ++i) { @@ -720,10 +717,10 @@ private: /** * Staging buffer pool, based on multiple fix-sized VkBuffer blocks. */ -constexpr size_t chunkSize = 32 * 1024 * 1024; // 32M per block by default +constexpr size_t CHUNK_SIZE = 32 * 1024 * 1024; // 32M per block by default class CCVKGPUStagingBufferPool final : public Object { public: - CCVKGPUStagingBufferPool(CCVKGPUDevice *device) + explicit CCVKGPUStagingBufferPool(CCVKGPUDevice *device) : _device(device) { } @@ -742,7 +739,7 @@ public: for (size_t idx = 0u; idx < bufferCount; idx++) { Buffer *cur = &_pool[idx]; offset = roundUp(cur->curOffset, alignment); - if (chunkSize - offset >= gpuBuffer->size) { + if (CHUNK_SIZE - offset >= gpuBuffer->size) { buffer = cur; break; } @@ -751,14 +748,14 @@ public: _pool.resize(bufferCount + 1); buffer = &_pool.back(); VkBufferCreateInfo bufferInfo{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; - bufferInfo.size = chunkSize; + bufferInfo.size = CHUNK_SIZE; bufferInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; VmaAllocationCreateInfo allocInfo{}; allocInfo.flags = VMA_ALLOCATION_CREATE_MAPPED_BIT; allocInfo.usage = VMA_MEMORY_USAGE_CPU_ONLY; VmaAllocationInfo res; VK_CHECK(vmaCreateBuffer(_device->memoryAllocator, &bufferInfo, &allocInfo, &buffer->vkBuffer, &buffer->vmaAllocation, &res)); - buffer->mappedData = (uint8_t *)res.pMappedData; + buffer->mappedData = reinterpret_cast(res.pMappedData); offset = 0u; } gpuBuffer->vkBuffer = buffer->vkBuffer; @@ -791,7 +788,7 @@ private: */ class CCVKGPUDescriptorSetHub final : public Object { public: - CCVKGPUDescriptorSetHub(CCVKGPUDevice *device) + explicit CCVKGPUDescriptorSetHub(CCVKGPUDevice *device) : _device(device) { _setsToBeUpdated.resize(device->backBufferCount); if (device->minorVersion > 0) { @@ -822,8 +819,8 @@ public: void flush() { DescriptorSetList &sets = _setsToBeUpdated[_device->curBackBufferIndex]; - for (DescriptorSetList::iterator it = sets.begin(); it != sets.end(); ++it) { - update(*it); + for (const auto *set : sets) { + update(set); } sets.clear(); } @@ -836,7 +833,7 @@ private: gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate, instance.descriptorInfos.data()); } else { const vector &entries = instance.descriptorUpdateEntries; - vkUpdateDescriptorSets(_device->vkDevice, entries.size(), entries.data(), 0, nullptr); + vkUpdateDescriptorSets(_device->vkDevice, toUint(entries.size()), entries.data(), 0, nullptr); } } @@ -853,7 +850,7 @@ private: */ class CCVKGPUDescriptorHub final : public Object { public: - CCVKGPUDescriptorHub(CCVKGPUDevice *device) { + explicit CCVKGPUDescriptorHub(CCVKGPUDevice * /*device*/) { } void link(CCVKGPUDescriptorSetHub *descriptorSetHub) { @@ -863,7 +860,7 @@ public: void connect(const CCVKGPUDescriptorSet *set, const CCVKGPUBufferView *buffer, VkDescriptorBufferInfo *descriptor, uint instanceIdx) { _buffers[buffer].sets.insert(set); _buffers[buffer].descriptors.push(descriptor); - _bufferInstaceIndices[descriptor] = instanceIdx; + _bufferInstanceIndices[descriptor] = instanceIdx; } void connect(const CCVKGPUDescriptorSet *set, const CCVKGPUTextureView *texture, VkDescriptorImageInfo *descriptor) { _textures[texture].sets.insert(set); @@ -878,9 +875,9 @@ public: if (it == _buffers.end()) return; auto &info = it->second; for (uint i = 0u; i < info.descriptors.size(); i++) { - _doUpdate(buffer, info.descriptors[i]); + doUpdate(buffer, info.descriptors[i]); } - for (auto set : info.sets) { + for (const auto *set : info.sets) { _descriptorSetHub->record(set); } } @@ -890,7 +887,7 @@ public: auto &descriptors = it->second.descriptors; for (uint i = 0u; i < descriptors.size(); i++) { if (descriptors[i] == descriptor) { - _doUpdate(buffer, descriptor); + doUpdate(buffer, descriptor); break; } } @@ -900,9 +897,9 @@ public: if (it == _textures.end()) return; auto &info = it->second; for (uint i = 0u; i < info.descriptors.size(); i++) { - _doUpdate(texture, info.descriptors[i]); + doUpdate(texture, info.descriptors[i]); } - for (auto set : info.sets) { + for (const auto *set : info.sets) { _descriptorSetHub->record(set); } } @@ -912,7 +909,7 @@ public: auto &descriptors = it->second.descriptors; for (uint i = 0u; i < descriptors.size(); i++) { if (descriptors[i] == descriptor) { - _doUpdate(texture, descriptor); + doUpdate(texture, descriptor); break; } } @@ -923,7 +920,7 @@ public: auto &descriptors = it->second; for (uint i = 0u; i < descriptors.size(); ++i) { if (descriptors[i] == descriptor) { - _doUpdate(sampler, descriptor); + doUpdate(sampler, descriptor); break; } } @@ -933,7 +930,7 @@ public: auto it = _buffers.find(buffer); if (it == _buffers.end()) return; for (uint i = 0; i < it->second.descriptors.size(); ++i) { - _bufferInstaceIndices.erase(it->second.descriptors[i]); + _bufferInstanceIndices.erase(it->second.descriptors[i]); } _buffers.erase(it); } @@ -942,7 +939,7 @@ public: if (it == _buffers.end()) return; auto &descriptors = it->second.descriptors; descriptors.fastRemove(descriptors.indexOf(descriptor)); - _bufferInstaceIndices.erase(descriptor); + _bufferInstanceIndices.erase(descriptor); } void disengage(const CCVKGPUTextureView *texture) { auto it = _textures.find(texture); @@ -968,18 +965,18 @@ public: } private: - void _doUpdate(const CCVKGPUBufferView *buffer, VkDescriptorBufferInfo *descriptor) { - VkDeviceSize instanceOffset = _bufferInstaceIndices[descriptor] * buffer->gpuBuffer->instanceSize; + void doUpdate(const CCVKGPUBufferView *buffer, VkDescriptorBufferInfo *descriptor) { + VkDeviceSize instanceOffset = _bufferInstanceIndices[descriptor] * buffer->gpuBuffer->instanceSize; descriptor->buffer = buffer->gpuBuffer->vkBuffer; descriptor->offset = buffer->gpuBuffer->startOffset + instanceOffset + buffer->offset; descriptor->range = buffer->range; } - void _doUpdate(const CCVKGPUTextureView *texture, VkDescriptorImageInfo *descriptor) { + void doUpdate(const CCVKGPUTextureView *texture, VkDescriptorImageInfo *descriptor) { descriptor->imageView = texture->vkImageView; } - void _doUpdate(const CCVKGPUSampler *sampler, VkDescriptorImageInfo *descriptor) { + void doUpdate(const CCVKGPUSampler *sampler, VkDescriptorImageInfo *descriptor) { descriptor->sampler = sampler->vkSampler; } @@ -989,7 +986,7 @@ private: CachedArray descriptors; }; - unordered_map _bufferInstaceIndices; + unordered_map _bufferInstanceIndices; unordered_map> _buffers; unordered_map> _textures; unordered_map> _samplers; @@ -1003,7 +1000,7 @@ private: */ class CCVKGPURecycleBin final : public Object { public: - CCVKGPURecycleBin(CCVKGPUDevice *device) + explicit CCVKGPURecycleBin(CCVKGPUDevice *device) : _device(device) { _resources.resize(16); } @@ -1054,7 +1051,6 @@ private: }; struct Resource { RecycledType type = RecycledType::UNKNOWN; - bool isView = false; union { // resizable resources, cannot take over directly // or descriptor sets won't work @@ -1110,7 +1106,7 @@ public: VK_CHECK(vkCreateFence(_device->vkDevice, &createInfo, nullptr, &_fence)); } - bool empty() { + bool empty() const { return !_cmdBuff.vkCommandBuffer; } @@ -1159,22 +1155,13 @@ private: class CCVKGPUBarrierManager final : public Object { public: - CCVKGPUBarrierManager(CCVKGPUDevice *device) + explicit CCVKGPUBarrierManager(CCVKGPUDevice *device) : _device(device) {} void checkIn(CCVKGPUBuffer *gpuBuffer) { _buffersToBeChecked.insert(gpuBuffer); } - void checkIn(CCVKGPUBuffer *gpuBuffer, const ThsvsAccessType *newTypes, uint newTypeCount) { - vector &target = gpuBuffer->renderAccessTypes; - for (uint i = 0u; i < newTypeCount; ++i) { - if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { - target.push_back(newTypes[i]); - } - } - } - void checkIn(CCVKGPUTexture *gpuTexture, const ThsvsAccessType *newTypes = nullptr, uint newTypeCount = 0) { vector &target = gpuTexture->renderAccessTypes; for (uint i = 0u; i < newTypeCount; ++i) { @@ -1201,7 +1188,7 @@ private: */ class CCVKGPUBufferHub final : public Object { public: - CCVKGPUBufferHub(CCVKGPUDevice *device) + explicit CCVKGPUBufferHub(CCVKGPUDevice *device) : _device(device) { _buffersToBeUpdated.resize(device->backBufferCount); } @@ -1231,11 +1218,11 @@ public: auto &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; transportHub->checkIn([&](const CCVKGPUCommandBuffer *gpuCommandBuffer) { VkBufferCopy region; - for (auto it = buffers.begin(); it != buffers.end(); ++it) { - region.srcOffset = it->first->startOffset + it->second.srcIndex * it->first->instanceSize; - region.dstOffset = it->first->startOffset + _device->curBackBufferIndex * it->first->instanceSize; - region.size = it->second.size; - vkCmdCopyBuffer(gpuCommandBuffer->vkCommandBuffer, it->first->vkBuffer, it->first->vkBuffer, 1, ®ion); + for (auto & buffer : buffers) { + region.srcOffset = buffer.first->startOffset + buffer.second.srcIndex * buffer.first->instanceSize; + region.dstOffset = buffer.first->startOffset + _device->curBackBufferIndex * buffer.first->instanceSize; + region.size = buffer.second.size; + vkCmdCopyBuffer(gpuCommandBuffer->vkCommandBuffer, buffer.first->vkBuffer, buffer.first->vkBuffer, 1, ®ion); } }); buffers.clear(); diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index e43cc4a993..4308ada8c5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -48,7 +48,7 @@ VkResult err = x; \ if (err) { \ CC_LOG_ERROR("%s returned Vulkan error: %d", #x, err); \ - CCASSERT(0, "Vulkan Error"); \ + CCASSERT(false, "Vulkan Error"); \ } \ } while (0) diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index 75bab94fba..5cc9f97bc9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -54,7 +54,6 @@ void CCVKTexture::doInit(const TextureInfo &info) { _gpuTexture->mipLevels = _levelCount; _gpuTexture->samples = _samples; _gpuTexture->flags = _flags; - _gpuTexture->isPowerOf2 = math::IsPowerOfTwo(_width) && math::IsPowerOfTwo(_height); CCVKCmdFuncCreateTexture(CCVKDevice::getInstance(), _gpuTexture); diff --git a/native/external/config.json b/native/external/config.json index 1187b7fc6c..a895bc81ca 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,9 +1,9 @@ { - "version": "v3d-gfx-37", + "version": "v3d-gfx-39", "from": { "type": "github", "owner": "cocos-creator", "name": "engine-native-external", - "checkout": "v3d-gfx-37" + "checkout": "v3d-gfx-39" } } From 1fe79f660a98d87d9db315235584cdbba04ec87e Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Tue, 30 Mar 2021 10:09:59 +0800 Subject: [PATCH 212/270] [ci skip][AUTO]: updating jsbinding automatically: f4fd7a24 (#3362) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 304a97a915..c394c7d53e 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -17088,6 +17088,46 @@ "external/sources/edtaa3func/CMakeLists.txt", "external/sources/edtaa3func/edtaa3func.cpp", "external/sources/edtaa3func/edtaa3func.h", + "external/sources/enoki/array.h", + "external/sources/enoki/array_avx.h", + "external/sources/enoki/array_avx2.h", + "external/sources/enoki/array_avx512.h", + "external/sources/enoki/array_base.h", + "external/sources/enoki/array_call.h", + "external/sources/enoki/array_enum.h", + "external/sources/enoki/array_fallbacks.h", + "external/sources/enoki/array_generic.h", + "external/sources/enoki/array_idiv.h", + "external/sources/enoki/array_intrin.h", + "external/sources/enoki/array_kmask.h", + "external/sources/enoki/array_macro.h", + "external/sources/enoki/array_masked.h", + "external/sources/enoki/array_math.h", + "external/sources/enoki/array_neon.h", + "external/sources/enoki/array_recursive.h", + "external/sources/enoki/array_round.h", + "external/sources/enoki/array_router.h", + "external/sources/enoki/array_sse42.h", + "external/sources/enoki/array_static.h", + "external/sources/enoki/array_struct.h", + "external/sources/enoki/array_traits.h", + "external/sources/enoki/array_utils.h", + "external/sources/enoki/autodiff.h", + "external/sources/enoki/color.h", + "external/sources/enoki/complex.h", + "external/sources/enoki/cuda.h", + "external/sources/enoki/dynamic.h", + "external/sources/enoki/fwd.h", + "external/sources/enoki/half.h", + "external/sources/enoki/matrix.h", + "external/sources/enoki/morton.h", + "external/sources/enoki/python.h", + "external/sources/enoki/quaternion.h", + "external/sources/enoki/random.h", + "external/sources/enoki/sh.h", + "external/sources/enoki/special.h", + "external/sources/enoki/stl.h", + "external/sources/enoki/transform.h", "external/sources/jemalloc/CMakeLists.txt", "external/sources/jemalloc/ChangeLog", "external/sources/jemalloc/include-linux/jemalloc/internal/arena.h", From 037d831291d522a17b143f3fdd72c87b77aeff76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=88=98?= <40414978+PatriceJiang@users.noreply.github.com> Date: Tue, 30 Mar 2021 10:10:18 +0800 Subject: [PATCH 213/270] Update run-script.sh (#3356) --- native/tools/travis-scripts/run-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/tools/travis-scripts/run-script.sh b/native/tools/travis-scripts/run-script.sh index a9e71d8b9d..ed7677c521 100755 --- a/native/tools/travis-scripts/run-script.sh +++ b/native/tools/travis-scripts/run-script.sh @@ -137,8 +137,8 @@ function build_macosx() RES_DIR=$COCOS2DX_ROOT/templates/mac/build-mac cd build-mac - cmake ../ -GXcode -DCC_USE_GLES3=ON -DCMAKE_OSX_ARCHITECTURES=x86_64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT - cmake --build . --config Release -- -quiet -jobs $NUM_OF_CORES -arch x86_64 + cmake ../ -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCC_USE_GLES3=ON -DCMAKE_OSX_ARCHITECTURES=x86_64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT + cmake --build . -- -j $NUM_OF_CORES echo "Compile MacOSX X86_64 Release Done!" cd .. mkdir build-mac-apple-silicon From 65d4274a46e4dc80566a88b0fed7d084483b027d Mon Sep 17 00:00:00 2001 From: minggo Date: Tue, 30 Mar 2021 13:38:15 +0800 Subject: [PATCH 214/270] remove unneeded files (#3364) --- native/cocos/base/Array.cpp | 404 ------------------------------------ native/cocos/base/Array.h | 210 ------------------- 2 files changed, 614 deletions(-) delete mode 100644 native/cocos/base/Array.cpp delete mode 100644 native/cocos/base/Array.h diff --git a/native/cocos/base/Array.cpp b/native/cocos/base/Array.cpp deleted file mode 100644 index e1c6f4f2f0..0000000000 --- a/native/cocos/base/Array.cpp +++ /dev/null @@ -1,404 +0,0 @@ -/**************************************************************************** - Copyright (c) 2007 Scott Lembcke - Copyright (c) 2010-2012 cocos2d-x.org - Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "base/Log.h" -#include "base/Array.h" - -namespace cc { - -/** Allocates and initializes a new array with specified capacity */ -ccArray *ccArrayNew(ssize_t capacity) { - if (capacity == 0) - capacity = 7; - - ccArray *arr = (ccArray *)malloc(sizeof(ccArray)); - arr->num = 0; - arr->arr = (Ref **)calloc(capacity, sizeof(Ref *)); - arr->max = capacity; - - return arr; -} - -/** Frees array after removing all remaining objects. Silently ignores nullptr arr. */ -void ccArrayFree(ccArray *&arr) { - if (arr == nullptr) { - return; - } - ccArrayRemoveAllObjects(arr); - - free(arr->arr); - free(arr); - - arr = nullptr; -} - -void ccArrayDoubleCapacity(ccArray *arr) { - arr->max *= 2; - Ref **newArr = (Ref **)realloc(arr->arr, arr->max * sizeof(Ref *)); - // will fail when there's not enough memory - CCASSERT(newArr != 0, "ccArrayDoubleCapacity failed. Not enough memory"); - arr->arr = newArr; -} - -void ccArrayEnsureExtraCapacity(ccArray *arr, ssize_t extra) { - while (arr->max < arr->num + extra) { - CC_LOG_INFO("ccCArray: resizing ccArray capacity from [%d] to [%d].", - static_cast(arr->max), - static_cast(arr->max * 2)); - - ccArrayDoubleCapacity(arr); - } -} - -void ccArrayShrink(ccArray *arr) { - ssize_t newSize = 0; - - //only resize when necessary - if (arr->max > arr->num && !(arr->num == 0 && arr->max == 1)) { - if (arr->num != 0) { - newSize = arr->num; - arr->max = arr->num; - } else { //minimum capacity of 1, with 0 elements the array would be free'd by realloc - newSize = 1; - arr->max = 1; - } - - arr->arr = (Ref **)realloc(arr->arr, newSize * sizeof(Ref *)); - CCASSERT(arr->arr != nullptr, "could not reallocate the memory"); - } -} - -/** Returns index of first occurrence of object, -1 if object not found. */ -ssize_t ccArrayGetIndexOfObject(ccArray *arr, Ref *object) { - const auto arrNum = arr->num; - Ref **ptr = arr->arr; - for (ssize_t i = 0; i < arrNum; ++i, ++ptr) { - if (*ptr == object) - return i; - } - - return -1; -} - -/** Returns a Boolean value that indicates whether object is present in array. */ -bool ccArrayContainsObject(ccArray *arr, Ref *object) { - return ccArrayGetIndexOfObject(arr, object) != -1; -} - -/** Appends an object. Behavior undefined if array doesn't have enough capacity. */ -void ccArrayAppendObject(ccArray *arr, Ref *object) { - CCASSERT(object != nullptr, "Invalid parameter!"); - object->retain(); - arr->arr[arr->num] = object; - arr->num++; -} - -/** Appends an object. Capacity of arr is increased if needed. */ -void ccArrayAppendObjectWithResize(ccArray *arr, Ref *object) { - ccArrayEnsureExtraCapacity(arr, 1); - ccArrayAppendObject(arr, object); -} - -/** Appends objects from plusArr to arr. Behavior undefined if arr doesn't have - enough capacity. */ -void ccArrayAppendArray(ccArray *arr, ccArray *plusArr) { - for (ssize_t i = 0; i < plusArr->num; i++) { - ccArrayAppendObject(arr, plusArr->arr[i]); - } -} - -/** Appends objects from plusArr to arr. Capacity of arr is increased if needed. */ -void ccArrayAppendArrayWithResize(ccArray *arr, ccArray *plusArr) { - ccArrayEnsureExtraCapacity(arr, plusArr->num); - ccArrayAppendArray(arr, plusArr); -} - -/** Inserts an object at index */ -void ccArrayInsertObjectAtIndex(ccArray *arr, Ref *object, ssize_t index) { - CCASSERT(index <= arr->num, "Invalid index. Out of bounds"); - CCASSERT(object != nullptr, "Invalid parameter!"); - - ccArrayEnsureExtraCapacity(arr, 1); - - ssize_t remaining = arr->num - index; - if (remaining > 0) { - memmove((void *)&arr->arr[index + 1], (void *)&arr->arr[index], sizeof(Ref *) * remaining); - } - - object->retain(); - arr->arr[index] = object; - arr->num++; -} - -/** Swaps two objects */ -void ccArraySwapObjectsAtIndexes(ccArray *arr, ssize_t index1, ssize_t index2) { - CCASSERT(index1 >= 0 && index1 < arr->num, "(1) Invalid index. Out of bounds"); - CCASSERT(index2 >= 0 && index2 < arr->num, "(2) Invalid index. Out of bounds"); - - Ref *object1 = arr->arr[index1]; - - arr->arr[index1] = arr->arr[index2]; - arr->arr[index2] = object1; -} - -/** Removes all objects from arr */ -void ccArrayRemoveAllObjects(ccArray *arr) { - while (arr->num > 0) { - (arr->arr[--arr->num])->release(); - } -} - -/** Removes object at specified index and pushes back all subsequent objects. - Behavior undefined if index outside [0, num-1]. */ -void ccArrayRemoveObjectAtIndex(ccArray *arr, ssize_t index, bool releaseObj /* = true*/) { - CCASSERT(arr && arr->num > 0 && index >= 0 && index < arr->num, "Invalid index. Out of bounds"); - if (releaseObj) { - CC_SAFE_RELEASE(arr->arr[index]); - } - - arr->num--; - - ssize_t remaining = arr->num - index; - if (remaining > 0) { - memmove((void *)&arr->arr[index], (void *)&arr->arr[index + 1], remaining * sizeof(Ref *)); - } -} - -/** Removes object at specified index and fills the gap with the last object, - thereby avoiding the need to push back subsequent objects. - Behavior undefined if index outside [0, num-1]. */ -void ccArrayFastRemoveObjectAtIndex(ccArray *arr, ssize_t index) { - CC_SAFE_RELEASE(arr->arr[index]); - auto last = --arr->num; - arr->arr[index] = arr->arr[last]; -} - -void ccArrayFastRemoveObject(ccArray *arr, Ref *object) { - auto index = ccArrayGetIndexOfObject(arr, object); - if (index != -1) { - ccArrayFastRemoveObjectAtIndex(arr, index); - } -} - -/** Searches for the first occurrence of object and removes it. If object is not - found the function has no effect. */ -void ccArrayRemoveObject(ccArray *arr, Ref *object, bool releaseObj /* = true*/) { - auto index = ccArrayGetIndexOfObject(arr, object); - if (index != -1) { - ccArrayRemoveObjectAtIndex(arr, index, releaseObj); - } -} - -/** Removes from arr all objects in minusArr. For each object in minusArr, the - first matching instance in arr will be removed. */ -void ccArrayRemoveArray(ccArray *arr, ccArray *minusArr) { - for (ssize_t i = 0; i < minusArr->num; i++) { - ccArrayRemoveObject(arr, minusArr->arr[i]); - } -} - -/** Removes from arr all objects in minusArr. For each object in minusArr, all - matching instances in arr will be removed. */ -void ccArrayFullRemoveArray(ccArray *arr, ccArray *minusArr) { - ssize_t back = 0; - - for (ssize_t i = 0; i < arr->num; i++) { - if (ccArrayContainsObject(minusArr, arr->arr[i])) { - CC_SAFE_RELEASE(arr->arr[i]); - back++; - } else { - arr->arr[i - back] = arr->arr[i]; - } - } - - arr->num -= back; -} - -// -// // ccCArray for Values (c structures) - -/** Allocates and initializes a new C array with specified capacity */ -ccCArray *ccCArrayNew(ssize_t capacity) { - if (capacity == 0) { - capacity = 7; - } - - ccCArray *arr = (ccCArray *)malloc(sizeof(ccCArray)); - arr->num = 0; - arr->arr = (void **)malloc(capacity * sizeof(void *)); - arr->max = capacity; - - return arr; -} - -/** Frees C array after removing all remaining values. Silently ignores nullptr arr. */ -void ccCArrayFree(ccCArray *arr) { - if (arr == nullptr) { - return; - } - ccCArrayRemoveAllValues(arr); - - free(arr->arr); - free(arr); -} - -/** Doubles C array capacity */ -void ccCArrayDoubleCapacity(ccCArray *arr) { - ccArrayDoubleCapacity((ccArray *)arr); -} - -/** Increases array capacity such that max >= num + extra. */ -void ccCArrayEnsureExtraCapacity(ccCArray *arr, ssize_t extra) { - ccArrayEnsureExtraCapacity((ccArray *)arr, extra); -} - -/** Returns index of first occurrence of value, -1 if value not found. */ -ssize_t ccCArrayGetIndexOfValue(ccCArray *arr, void *value) { - for (ssize_t i = 0; i < arr->num; i++) { - if (arr->arr[i] == value) - return i; - } - return -1; -} - -/** Returns a Boolean value that indicates whether value is present in the C array. */ -bool ccCArrayContainsValue(ccCArray *arr, void *value) { - return ccCArrayGetIndexOfValue(arr, value) != -1; -} - -/** Inserts a value at a certain position. Behavior undefined if array doesn't have enough capacity */ -void ccCArrayInsertValueAtIndex(ccCArray *arr, void *value, ssize_t index) { - CCASSERT(index < arr->max, "ccCArrayInsertValueAtIndex: invalid index"); - - auto remaining = arr->num - index; - // make sure it has enough capacity - if (arr->num + 1 == arr->max) { - ccCArrayDoubleCapacity(arr); - } - // last Value doesn't need to be moved - if (remaining > 0) { - // tex coordinates - memmove((void *)&arr->arr[index + 1], (void *)&arr->arr[index], sizeof(void *) * remaining); - } - - arr->num++; - arr->arr[index] = value; -} - -/** Appends an value. Behavior undefined if array doesn't have enough capacity. */ -void ccCArrayAppendValue(ccCArray *arr, void *value) { - arr->arr[arr->num] = value; - arr->num++; - // double the capacity for the next append action - // if the num >= max - if (arr->num >= arr->max) { - ccCArrayDoubleCapacity(arr); - } -} - -/** Appends an value. Capacity of arr is increased if needed. */ -void ccCArrayAppendValueWithResize(ccCArray *arr, void *value) { - ccCArrayEnsureExtraCapacity(arr, 1); - ccCArrayAppendValue(arr, value); -} - -/** Appends values from plusArr to arr. Behavior undefined if arr doesn't have - enough capacity. */ -void ccCArrayAppendArray(ccCArray *arr, ccCArray *plusArr) { - for (ssize_t i = 0; i < plusArr->num; i++) { - ccCArrayAppendValue(arr, plusArr->arr[i]); - } -} - -/** Appends values from plusArr to arr. Capacity of arr is increased if needed. */ -void ccCArrayAppendArrayWithResize(ccCArray *arr, ccCArray *plusArr) { - ccCArrayEnsureExtraCapacity(arr, plusArr->num); - ccCArrayAppendArray(arr, plusArr); -} - -/** Removes all values from arr */ -void ccCArrayRemoveAllValues(ccCArray *arr) { - arr->num = 0; -} - -/** Removes value at specified index and pushes back all subsequent values. - Behavior undefined if index outside [0, num-1]. - @since v0.99.4 - */ -void ccCArrayRemoveValueAtIndex(ccCArray *arr, ssize_t index) { - for (ssize_t last = --arr->num; index < last; index++) { - arr->arr[index] = arr->arr[index + 1]; - } -} - -/** Removes value at specified index and fills the gap with the last value, - thereby avoiding the need to push back subsequent values. - Behavior undefined if index outside [0, num-1]. - @since v0.99.4 - */ -void ccCArrayFastRemoveValueAtIndex(ccCArray *arr, ssize_t index) { - ssize_t last = --arr->num; - arr->arr[index] = arr->arr[last]; -} - -/** Searches for the first occurrence of value and removes it. If value is not found the function has no effect. - @since v0.99.4 - */ -void ccCArrayRemoveValue(ccCArray *arr, void *value) { - auto index = ccCArrayGetIndexOfValue(arr, value); - if (index != -1) { - ccCArrayRemoveValueAtIndex(arr, index); - } -} - -/** Removes from arr all values in minusArr. For each Value in minusArr, the first matching instance in arr will be removed. - @since v0.99.4 - */ -void ccCArrayRemoveArray(ccCArray *arr, ccCArray *minusArr) { - for (ssize_t i = 0; i < minusArr->num; i++) { - ccCArrayRemoveValue(arr, minusArr->arr[i]); - } -} - -/** Removes from arr all values in minusArr. For each value in minusArr, all matching instances in arr will be removed. - @since v0.99.4 - */ -void ccCArrayFullRemoveArray(ccCArray *arr, ccCArray *minusArr) { - ssize_t back = 0; - - for (ssize_t i = 0; i < arr->num; i++) { - if (ccCArrayContainsValue(minusArr, arr->arr[i])) { - back++; - } else { - arr->arr[i - back] = arr->arr[i]; - } - } - - arr->num -= back; -} - -} // namespace cc diff --git a/native/cocos/base/Array.h b/native/cocos/base/Array.h deleted file mode 100644 index 5fc98dbd45..0000000000 --- a/native/cocos/base/Array.h +++ /dev/null @@ -1,210 +0,0 @@ -/**************************************************************************** - Copyright (c) 2007 Scott Lembcke - Copyright (c) 2010-2012 cocos2d-x.org - Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -/** - @file - based on Chipmunk cpArray. - ccArray is a faster alternative to NSMutableArray, it does pretty much the - same thing (stores NSObjects and retains/releases them appropriately). It's - faster because: - - it uses a plain C interface so it doesn't incur Objective-c messaging overhead - - it assumes you know what you're doing, so it doesn't spend time on safety checks - (index out of bounds, required capacity etc.) - - comparisons are done using pointer equality instead of isEqual - - There are 2 kind of functions: - - ccArray functions that manipulates objective-c objects (retain and release are performed) - - ccCArray functions that manipulates values like if they were standard C structures (no retain/release is performed) - */ - -#ifndef CC_ARRAY_H -#define CC_ARRAY_H -/// @cond DO_NOT_SHOW - -#include "base/Macros.h" -#include "base/Ref.h" - -#include -#include -#include - -namespace cc { - -// Easy integration -#define CCARRAYDATA_FOREACH(__array__, __object__) \ - __object__ = __array__->arr[0]; \ - for (ssize_t i = 0, num = __array__->num; i < num; i++, __object__ = __array__->arr[i]) - -typedef struct _ccArray { - ssize_t num, max; - Ref **arr; -} ccArray; - -/** Allocates and initializes a new array with specified capacity */ -ccArray *ccArrayNew(ssize_t capacity); - -/** Frees array after removing all remaining objects. Silently ignores nil arr. */ -void ccArrayFree(ccArray *&arr); - -/** Doubles array capacity */ -void ccArrayDoubleCapacity(ccArray *arr); - -/** Increases array capacity such that max >= num + extra. */ -void ccArrayEnsureExtraCapacity(ccArray *arr, ssize_t extra); - -/** shrinks the array so the memory footprint corresponds with the number of items */ -void ccArrayShrink(ccArray *arr); - -/** Returns index of first occurrence of object, NSNotFound if object not found. */ -ssize_t ccArrayGetIndexOfObject(ccArray *arr, Ref *object); - -/** Returns a Boolean value that indicates whether object is present in array. */ -bool ccArrayContainsObject(ccArray *arr, Ref *object); - -/** Appends an object. Behavior undefined if array doesn't have enough capacity. */ -void ccArrayAppendObject(ccArray *arr, Ref *object); - -/** Appends an object. Capacity of arr is increased if needed. */ -void ccArrayAppendObjectWithResize(ccArray *arr, Ref *object); - -/** Appends objects from plusArr to arr. - Behavior undefined if arr doesn't have enough capacity. */ -void ccArrayAppendArray(ccArray *arr, ccArray *plusArr); - -/** Appends objects from plusArr to arr. Capacity of arr is increased if needed. */ -void ccArrayAppendArrayWithResize(ccArray *arr, ccArray *plusArr); - -/** Inserts an object at index */ -void ccArrayInsertObjectAtIndex(ccArray *arr, Ref *object, ssize_t index); - -/** Swaps two objects */ -void ccArraySwapObjectsAtIndexes(ccArray *arr, ssize_t index1, ssize_t index2); - -/** Removes all objects from arr */ -void ccArrayRemoveAllObjects(ccArray *arr); - -/** Removes object at specified index and pushes back all subsequent objects. - Behavior undefined if index outside [0, num-1]. */ -void ccArrayRemoveObjectAtIndex(ccArray *arr, ssize_t index, bool releaseObj = true); - -/** Removes object at specified index and fills the gap with the last object, - thereby avoiding the need to push back subsequent objects. - Behavior undefined if index outside [0, num-1]. */ -void ccArrayFastRemoveObjectAtIndex(ccArray *arr, ssize_t index); - -void ccArrayFastRemoveObject(ccArray *arr, Ref *object); - -/** Searches for the first occurrence of object and removes it. If object is not - found the function has no effect. */ -void ccArrayRemoveObject(ccArray *arr, Ref *object, bool releaseObj = true); - -/** Removes from arr all objects in minusArr. For each object in minusArr, the - first matching instance in arr will be removed. */ -void ccArrayRemoveArray(ccArray *arr, ccArray *minusArr); - -/** Removes from arr all objects in minusArr. For each object in minusArr, all - matching instances in arr will be removed. */ -void ccArrayFullRemoveArray(ccArray *arr, ccArray *minusArr); - -// -// // ccCArray for Values (c structures) - -typedef struct _ccCArray { - ssize_t num, max; - void **arr; -} ccCArray; - -/** Allocates and initializes a new C array with specified capacity */ -ccCArray *ccCArrayNew(ssize_t capacity); - -/** Frees C array after removing all remaining values. Silently ignores nil arr. */ -void ccCArrayFree(ccCArray *arr); - -/** Doubles C array capacity */ -void ccCArrayDoubleCapacity(ccCArray *arr); - -/** Increases array capacity such that max >= num + extra. */ -void ccCArrayEnsureExtraCapacity(ccCArray *arr, ssize_t extra); - -/** Returns index of first occurrence of value, NSNotFound if value not found. */ -ssize_t ccCArrayGetIndexOfValue(ccCArray *arr, void *value); - -/** Returns a Boolean value that indicates whether value is present in the C array. */ -bool ccCArrayContainsValue(ccCArray *arr, void *value); - -/** Inserts a value at a certain position. Behavior undefined if array doesn't have enough capacity */ -void ccCArrayInsertValueAtIndex(ccCArray *arr, void *value, ssize_t index); - -/** Appends an value. Behavior undefined if array doesn't have enough capacity. */ -void ccCArrayAppendValue(ccCArray *arr, void *value); - -/** Appends an value. Capacity of arr is increased if needed. */ -void ccCArrayAppendValueWithResize(ccCArray *arr, void *value); - -/** Appends values from plusArr to arr. Behavior undefined if arr doesn't have - enough capacity. */ -void ccCArrayAppendArray(ccCArray *arr, ccCArray *plusArr); - -/** Appends values from plusArr to arr. Capacity of arr is increased if needed. */ -void ccCArrayAppendArrayWithResize(ccCArray *arr, ccCArray *plusArr); - -/** Removes all values from arr */ -void ccCArrayRemoveAllValues(ccCArray *arr); - -/** Removes value at specified index and pushes back all subsequent values. - Behavior undefined if index outside [0, num-1]. - @since v0.99.4 - */ -void ccCArrayRemoveValueAtIndex(ccCArray *arr, ssize_t index); - -/** Removes value at specified index and fills the gap with the last value, - thereby avoiding the need to push back subsequent values. - Behavior undefined if index outside [0, num-1]. - @since v0.99.4 - */ -void ccCArrayFastRemoveValueAtIndex(ccCArray *arr, ssize_t index); - -/** Searches for the first occurrence of value and removes it. If value is not found the function has no effect. - @since v0.99.4 - */ -void ccCArrayRemoveValue(ccCArray *arr, void *value); - -/** Removes from arr all values in minusArr. For each Value in minusArr, the first matching instance in arr will be removed. - @since v0.99.4 - */ -void ccCArrayRemoveArray(ccCArray *arr, ccCArray *minusArr); - -/** Removes from arr all values in minusArr. For each value in minusArr, all matching instances in arr will be removed. - @since v0.99.4 - */ -void ccCArrayFullRemoveArray(ccCArray *arr, ccCArray *minusArr); - -} // namespace cc - -/// @endcond -#endif // CC_ARRAY_H From 0c7d7951714dcd711a584ae2cae44dd18cc7935f Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Tue, 30 Mar 2021 17:09:52 +0800 Subject: [PATCH 215/270] [ci skip][AUTO]: updating jsbinding automatically: 65d4274a (#3365) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index c394c7d53e..e649b9bac0 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -98,8 +98,6 @@ "cocos/audio/win32/AudioPlayer.cpp", "cocos/audio/win32/AudioPlayer.h", "cocos/base/Agent.h", - "cocos/base/Array.cpp", - "cocos/base/Array.h", "cocos/base/AutoreleasePool.cpp", "cocos/base/AutoreleasePool.h", "cocos/base/CachedArray.h", From d6df7bfd2a9699ffbd7a1dcf9acedefc8b93b533 Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Tue, 30 Mar 2021 18:07:16 +0800 Subject: [PATCH 216/270] update external libs (#3367) --- native/external/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/external/config.json b/native/external/config.json index a895bc81ca..b997a84de0 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,9 +1,9 @@ { - "version": "v3d-gfx-39", + "version": "v3d-gfx-40", "from": { "type": "github", "owner": "cocos-creator", "name": "engine-native-external", - "checkout": "v3d-gfx-39" + "checkout": "v3d-gfx-40" } } From f8ef2651727c21b42807aca690b06dda81f4f58d Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Wed, 31 Mar 2021 09:16:38 +0800 Subject: [PATCH 217/270] [ci skip][AUTO]: updating jsbinding automatically: d6df7bfd (#3369) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 241 ++++++++++++++++++++++++--- 1 file changed, 221 insertions(+), 20 deletions(-) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index e649b9bac0..4dccf3f2d5 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -1130,36 +1130,52 @@ "external/android/arm64-v8a/include/openssl/aes.h", "external/android/arm64-v8a/include/openssl/asn1.h", "external/android/arm64-v8a/include/openssl/asn1_mac.h", + "external/android/arm64-v8a/include/openssl/asn1err.h", "external/android/arm64-v8a/include/openssl/asn1t.h", "external/android/arm64-v8a/include/openssl/async.h", + "external/android/arm64-v8a/include/openssl/asyncerr.h", "external/android/arm64-v8a/include/openssl/bio.h", + "external/android/arm64-v8a/include/openssl/bioerr.h", "external/android/arm64-v8a/include/openssl/blowfish.h", "external/android/arm64-v8a/include/openssl/bn.h", + "external/android/arm64-v8a/include/openssl/bnerr.h", "external/android/arm64-v8a/include/openssl/buffer.h", + "external/android/arm64-v8a/include/openssl/buffererr.h", "external/android/arm64-v8a/include/openssl/camellia.h", "external/android/arm64-v8a/include/openssl/cast.h", "external/android/arm64-v8a/include/openssl/cmac.h", "external/android/arm64-v8a/include/openssl/cms.h", + "external/android/arm64-v8a/include/openssl/cmserr.h", "external/android/arm64-v8a/include/openssl/comp.h", + "external/android/arm64-v8a/include/openssl/comperr.h", "external/android/arm64-v8a/include/openssl/conf.h", "external/android/arm64-v8a/include/openssl/conf_api.h", + "external/android/arm64-v8a/include/openssl/conferr.h", "external/android/arm64-v8a/include/openssl/crypto.h", + "external/android/arm64-v8a/include/openssl/cryptoerr.h", "external/android/arm64-v8a/include/openssl/ct.h", + "external/android/arm64-v8a/include/openssl/cterr.h", "external/android/arm64-v8a/include/openssl/des.h", "external/android/arm64-v8a/include/openssl/dh.h", + "external/android/arm64-v8a/include/openssl/dherr.h", "external/android/arm64-v8a/include/openssl/dsa.h", + "external/android/arm64-v8a/include/openssl/dsaerr.h", "external/android/arm64-v8a/include/openssl/dtls1.h", "external/android/arm64-v8a/include/openssl/e_os2.h", "external/android/arm64-v8a/include/openssl/ebcdic.h", "external/android/arm64-v8a/include/openssl/ec.h", "external/android/arm64-v8a/include/openssl/ecdh.h", "external/android/arm64-v8a/include/openssl/ecdsa.h", + "external/android/arm64-v8a/include/openssl/ecerr.h", "external/android/arm64-v8a/include/openssl/engine.h", + "external/android/arm64-v8a/include/openssl/engineerr.h", "external/android/arm64-v8a/include/openssl/err.h", "external/android/arm64-v8a/include/openssl/evp.h", + "external/android/arm64-v8a/include/openssl/evperr.h", "external/android/arm64-v8a/include/openssl/hmac.h", "external/android/arm64-v8a/include/openssl/idea.h", "external/android/arm64-v8a/include/openssl/kdf.h", + "external/android/arm64-v8a/include/openssl/kdferr.h", "external/android/arm64-v8a/include/openssl/lhash.h", "external/android/arm64-v8a/include/openssl/md2.h", "external/android/arm64-v8a/include/openssl/md4.h", @@ -1168,23 +1184,28 @@ "external/android/arm64-v8a/include/openssl/modes.h", "external/android/arm64-v8a/include/openssl/obj_mac.h", "external/android/arm64-v8a/include/openssl/objects.h", + "external/android/arm64-v8a/include/openssl/objectserr.h", "external/android/arm64-v8a/include/openssl/ocsp.h", - "external/android/arm64-v8a/include/openssl/opensslconf-arm32.h", - "external/android/arm64-v8a/include/openssl/opensslconf-arm64.h", - "external/android/arm64-v8a/include/openssl/opensslconf-x86.h", + "external/android/arm64-v8a/include/openssl/ocsperr.h", "external/android/arm64-v8a/include/openssl/opensslconf.h", "external/android/arm64-v8a/include/openssl/opensslv.h", "external/android/arm64-v8a/include/openssl/ossl_typ.h", "external/android/arm64-v8a/include/openssl/pem.h", "external/android/arm64-v8a/include/openssl/pem2.h", + "external/android/arm64-v8a/include/openssl/pemerr.h", "external/android/arm64-v8a/include/openssl/pkcs12.h", + "external/android/arm64-v8a/include/openssl/pkcs12err.h", "external/android/arm64-v8a/include/openssl/pkcs7.h", + "external/android/arm64-v8a/include/openssl/pkcs7err.h", "external/android/arm64-v8a/include/openssl/rand.h", + "external/android/arm64-v8a/include/openssl/rand_drbg.h", + "external/android/arm64-v8a/include/openssl/randerr.h", "external/android/arm64-v8a/include/openssl/rc2.h", "external/android/arm64-v8a/include/openssl/rc4.h", "external/android/arm64-v8a/include/openssl/rc5.h", "external/android/arm64-v8a/include/openssl/ripemd.h", "external/android/arm64-v8a/include/openssl/rsa.h", + "external/android/arm64-v8a/include/openssl/rsaerr.h", "external/android/arm64-v8a/include/openssl/safestack.h", "external/android/arm64-v8a/include/openssl/seed.h", "external/android/arm64-v8a/include/openssl/sha.h", @@ -1193,16 +1214,23 @@ "external/android/arm64-v8a/include/openssl/ssl.h", "external/android/arm64-v8a/include/openssl/ssl2.h", "external/android/arm64-v8a/include/openssl/ssl3.h", + "external/android/arm64-v8a/include/openssl/sslerr.h", "external/android/arm64-v8a/include/openssl/stack.h", + "external/android/arm64-v8a/include/openssl/store.h", + "external/android/arm64-v8a/include/openssl/storeerr.h", "external/android/arm64-v8a/include/openssl/symhacks.h", "external/android/arm64-v8a/include/openssl/tls1.h", "external/android/arm64-v8a/include/openssl/ts.h", + "external/android/arm64-v8a/include/openssl/tserr.h", "external/android/arm64-v8a/include/openssl/txt_db.h", "external/android/arm64-v8a/include/openssl/ui.h", + "external/android/arm64-v8a/include/openssl/uierr.h", "external/android/arm64-v8a/include/openssl/whrlpool.h", "external/android/arm64-v8a/include/openssl/x509.h", "external/android/arm64-v8a/include/openssl/x509_vfy.h", + "external/android/arm64-v8a/include/openssl/x509err.h", "external/android/arm64-v8a/include/openssl/x509v3.h", + "external/android/arm64-v8a/include/openssl/x509v3err.h", "external/android/arm64-v8a/include/png/png.h", "external/android/arm64-v8a/include/png/pngconf.h", "external/android/arm64-v8a/include/png/pnglibconf.h", @@ -1396,36 +1424,52 @@ "external/android/armeabi-v7a/include/openssl/aes.h", "external/android/armeabi-v7a/include/openssl/asn1.h", "external/android/armeabi-v7a/include/openssl/asn1_mac.h", + "external/android/armeabi-v7a/include/openssl/asn1err.h", "external/android/armeabi-v7a/include/openssl/asn1t.h", "external/android/armeabi-v7a/include/openssl/async.h", + "external/android/armeabi-v7a/include/openssl/asyncerr.h", "external/android/armeabi-v7a/include/openssl/bio.h", + "external/android/armeabi-v7a/include/openssl/bioerr.h", "external/android/armeabi-v7a/include/openssl/blowfish.h", "external/android/armeabi-v7a/include/openssl/bn.h", + "external/android/armeabi-v7a/include/openssl/bnerr.h", "external/android/armeabi-v7a/include/openssl/buffer.h", + "external/android/armeabi-v7a/include/openssl/buffererr.h", "external/android/armeabi-v7a/include/openssl/camellia.h", "external/android/armeabi-v7a/include/openssl/cast.h", "external/android/armeabi-v7a/include/openssl/cmac.h", "external/android/armeabi-v7a/include/openssl/cms.h", + "external/android/armeabi-v7a/include/openssl/cmserr.h", "external/android/armeabi-v7a/include/openssl/comp.h", + "external/android/armeabi-v7a/include/openssl/comperr.h", "external/android/armeabi-v7a/include/openssl/conf.h", "external/android/armeabi-v7a/include/openssl/conf_api.h", + "external/android/armeabi-v7a/include/openssl/conferr.h", "external/android/armeabi-v7a/include/openssl/crypto.h", + "external/android/armeabi-v7a/include/openssl/cryptoerr.h", "external/android/armeabi-v7a/include/openssl/ct.h", + "external/android/armeabi-v7a/include/openssl/cterr.h", "external/android/armeabi-v7a/include/openssl/des.h", "external/android/armeabi-v7a/include/openssl/dh.h", + "external/android/armeabi-v7a/include/openssl/dherr.h", "external/android/armeabi-v7a/include/openssl/dsa.h", + "external/android/armeabi-v7a/include/openssl/dsaerr.h", "external/android/armeabi-v7a/include/openssl/dtls1.h", "external/android/armeabi-v7a/include/openssl/e_os2.h", "external/android/armeabi-v7a/include/openssl/ebcdic.h", "external/android/armeabi-v7a/include/openssl/ec.h", "external/android/armeabi-v7a/include/openssl/ecdh.h", "external/android/armeabi-v7a/include/openssl/ecdsa.h", + "external/android/armeabi-v7a/include/openssl/ecerr.h", "external/android/armeabi-v7a/include/openssl/engine.h", + "external/android/armeabi-v7a/include/openssl/engineerr.h", "external/android/armeabi-v7a/include/openssl/err.h", "external/android/armeabi-v7a/include/openssl/evp.h", + "external/android/armeabi-v7a/include/openssl/evperr.h", "external/android/armeabi-v7a/include/openssl/hmac.h", "external/android/armeabi-v7a/include/openssl/idea.h", "external/android/armeabi-v7a/include/openssl/kdf.h", + "external/android/armeabi-v7a/include/openssl/kdferr.h", "external/android/armeabi-v7a/include/openssl/lhash.h", "external/android/armeabi-v7a/include/openssl/md2.h", "external/android/armeabi-v7a/include/openssl/md4.h", @@ -1434,23 +1478,28 @@ "external/android/armeabi-v7a/include/openssl/modes.h", "external/android/armeabi-v7a/include/openssl/obj_mac.h", "external/android/armeabi-v7a/include/openssl/objects.h", + "external/android/armeabi-v7a/include/openssl/objectserr.h", "external/android/armeabi-v7a/include/openssl/ocsp.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-arm32.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-arm64.h", - "external/android/armeabi-v7a/include/openssl/opensslconf-x86.h", + "external/android/armeabi-v7a/include/openssl/ocsperr.h", "external/android/armeabi-v7a/include/openssl/opensslconf.h", "external/android/armeabi-v7a/include/openssl/opensslv.h", "external/android/armeabi-v7a/include/openssl/ossl_typ.h", "external/android/armeabi-v7a/include/openssl/pem.h", "external/android/armeabi-v7a/include/openssl/pem2.h", + "external/android/armeabi-v7a/include/openssl/pemerr.h", "external/android/armeabi-v7a/include/openssl/pkcs12.h", + "external/android/armeabi-v7a/include/openssl/pkcs12err.h", "external/android/armeabi-v7a/include/openssl/pkcs7.h", + "external/android/armeabi-v7a/include/openssl/pkcs7err.h", "external/android/armeabi-v7a/include/openssl/rand.h", + "external/android/armeabi-v7a/include/openssl/rand_drbg.h", + "external/android/armeabi-v7a/include/openssl/randerr.h", "external/android/armeabi-v7a/include/openssl/rc2.h", "external/android/armeabi-v7a/include/openssl/rc4.h", "external/android/armeabi-v7a/include/openssl/rc5.h", "external/android/armeabi-v7a/include/openssl/ripemd.h", "external/android/armeabi-v7a/include/openssl/rsa.h", + "external/android/armeabi-v7a/include/openssl/rsaerr.h", "external/android/armeabi-v7a/include/openssl/safestack.h", "external/android/armeabi-v7a/include/openssl/seed.h", "external/android/armeabi-v7a/include/openssl/sha.h", @@ -1459,16 +1508,23 @@ "external/android/armeabi-v7a/include/openssl/ssl.h", "external/android/armeabi-v7a/include/openssl/ssl2.h", "external/android/armeabi-v7a/include/openssl/ssl3.h", + "external/android/armeabi-v7a/include/openssl/sslerr.h", "external/android/armeabi-v7a/include/openssl/stack.h", + "external/android/armeabi-v7a/include/openssl/store.h", + "external/android/armeabi-v7a/include/openssl/storeerr.h", "external/android/armeabi-v7a/include/openssl/symhacks.h", "external/android/armeabi-v7a/include/openssl/tls1.h", "external/android/armeabi-v7a/include/openssl/ts.h", + "external/android/armeabi-v7a/include/openssl/tserr.h", "external/android/armeabi-v7a/include/openssl/txt_db.h", "external/android/armeabi-v7a/include/openssl/ui.h", + "external/android/armeabi-v7a/include/openssl/uierr.h", "external/android/armeabi-v7a/include/openssl/whrlpool.h", "external/android/armeabi-v7a/include/openssl/x509.h", "external/android/armeabi-v7a/include/openssl/x509_vfy.h", + "external/android/armeabi-v7a/include/openssl/x509err.h", "external/android/armeabi-v7a/include/openssl/x509v3.h", + "external/android/armeabi-v7a/include/openssl/x509v3err.h", "external/android/armeabi-v7a/include/png/png.h", "external/android/armeabi-v7a/include/png/pngconf.h", "external/android/armeabi-v7a/include/png/pnglibconf.h", @@ -1662,36 +1718,52 @@ "external/android/x86/include/openssl/aes.h", "external/android/x86/include/openssl/asn1.h", "external/android/x86/include/openssl/asn1_mac.h", + "external/android/x86/include/openssl/asn1err.h", "external/android/x86/include/openssl/asn1t.h", "external/android/x86/include/openssl/async.h", + "external/android/x86/include/openssl/asyncerr.h", "external/android/x86/include/openssl/bio.h", + "external/android/x86/include/openssl/bioerr.h", "external/android/x86/include/openssl/blowfish.h", "external/android/x86/include/openssl/bn.h", + "external/android/x86/include/openssl/bnerr.h", "external/android/x86/include/openssl/buffer.h", + "external/android/x86/include/openssl/buffererr.h", "external/android/x86/include/openssl/camellia.h", "external/android/x86/include/openssl/cast.h", "external/android/x86/include/openssl/cmac.h", "external/android/x86/include/openssl/cms.h", + "external/android/x86/include/openssl/cmserr.h", "external/android/x86/include/openssl/comp.h", + "external/android/x86/include/openssl/comperr.h", "external/android/x86/include/openssl/conf.h", "external/android/x86/include/openssl/conf_api.h", + "external/android/x86/include/openssl/conferr.h", "external/android/x86/include/openssl/crypto.h", + "external/android/x86/include/openssl/cryptoerr.h", "external/android/x86/include/openssl/ct.h", + "external/android/x86/include/openssl/cterr.h", "external/android/x86/include/openssl/des.h", "external/android/x86/include/openssl/dh.h", + "external/android/x86/include/openssl/dherr.h", "external/android/x86/include/openssl/dsa.h", + "external/android/x86/include/openssl/dsaerr.h", "external/android/x86/include/openssl/dtls1.h", "external/android/x86/include/openssl/e_os2.h", "external/android/x86/include/openssl/ebcdic.h", "external/android/x86/include/openssl/ec.h", "external/android/x86/include/openssl/ecdh.h", "external/android/x86/include/openssl/ecdsa.h", + "external/android/x86/include/openssl/ecerr.h", "external/android/x86/include/openssl/engine.h", + "external/android/x86/include/openssl/engineerr.h", "external/android/x86/include/openssl/err.h", "external/android/x86/include/openssl/evp.h", + "external/android/x86/include/openssl/evperr.h", "external/android/x86/include/openssl/hmac.h", "external/android/x86/include/openssl/idea.h", "external/android/x86/include/openssl/kdf.h", + "external/android/x86/include/openssl/kdferr.h", "external/android/x86/include/openssl/lhash.h", "external/android/x86/include/openssl/md2.h", "external/android/x86/include/openssl/md4.h", @@ -1700,23 +1772,28 @@ "external/android/x86/include/openssl/modes.h", "external/android/x86/include/openssl/obj_mac.h", "external/android/x86/include/openssl/objects.h", + "external/android/x86/include/openssl/objectserr.h", "external/android/x86/include/openssl/ocsp.h", - "external/android/x86/include/openssl/opensslconf-arm32.h", - "external/android/x86/include/openssl/opensslconf-arm64.h", - "external/android/x86/include/openssl/opensslconf-x86.h", + "external/android/x86/include/openssl/ocsperr.h", "external/android/x86/include/openssl/opensslconf.h", "external/android/x86/include/openssl/opensslv.h", "external/android/x86/include/openssl/ossl_typ.h", "external/android/x86/include/openssl/pem.h", "external/android/x86/include/openssl/pem2.h", + "external/android/x86/include/openssl/pemerr.h", "external/android/x86/include/openssl/pkcs12.h", + "external/android/x86/include/openssl/pkcs12err.h", "external/android/x86/include/openssl/pkcs7.h", + "external/android/x86/include/openssl/pkcs7err.h", "external/android/x86/include/openssl/rand.h", + "external/android/x86/include/openssl/rand_drbg.h", + "external/android/x86/include/openssl/randerr.h", "external/android/x86/include/openssl/rc2.h", "external/android/x86/include/openssl/rc4.h", "external/android/x86/include/openssl/rc5.h", "external/android/x86/include/openssl/ripemd.h", "external/android/x86/include/openssl/rsa.h", + "external/android/x86/include/openssl/rsaerr.h", "external/android/x86/include/openssl/safestack.h", "external/android/x86/include/openssl/seed.h", "external/android/x86/include/openssl/sha.h", @@ -1725,16 +1802,23 @@ "external/android/x86/include/openssl/ssl.h", "external/android/x86/include/openssl/ssl2.h", "external/android/x86/include/openssl/ssl3.h", + "external/android/x86/include/openssl/sslerr.h", "external/android/x86/include/openssl/stack.h", + "external/android/x86/include/openssl/store.h", + "external/android/x86/include/openssl/storeerr.h", "external/android/x86/include/openssl/symhacks.h", "external/android/x86/include/openssl/tls1.h", "external/android/x86/include/openssl/ts.h", + "external/android/x86/include/openssl/tserr.h", "external/android/x86/include/openssl/txt_db.h", "external/android/x86/include/openssl/ui.h", + "external/android/x86/include/openssl/uierr.h", "external/android/x86/include/openssl/whrlpool.h", "external/android/x86/include/openssl/x509.h", "external/android/x86/include/openssl/x509_vfy.h", + "external/android/x86/include/openssl/x509err.h", "external/android/x86/include/openssl/x509v3.h", + "external/android/x86/include/openssl/x509v3err.h", "external/android/x86/include/png/png.h", "external/android/x86/include/png/pngconf.h", "external/android/x86/include/png/pnglibconf.h", @@ -1936,36 +2020,52 @@ "external/android/x86_64/include/openssl/aes.h", "external/android/x86_64/include/openssl/asn1.h", "external/android/x86_64/include/openssl/asn1_mac.h", + "external/android/x86_64/include/openssl/asn1err.h", "external/android/x86_64/include/openssl/asn1t.h", "external/android/x86_64/include/openssl/async.h", + "external/android/x86_64/include/openssl/asyncerr.h", "external/android/x86_64/include/openssl/bio.h", + "external/android/x86_64/include/openssl/bioerr.h", "external/android/x86_64/include/openssl/blowfish.h", "external/android/x86_64/include/openssl/bn.h", + "external/android/x86_64/include/openssl/bnerr.h", "external/android/x86_64/include/openssl/buffer.h", + "external/android/x86_64/include/openssl/buffererr.h", "external/android/x86_64/include/openssl/camellia.h", "external/android/x86_64/include/openssl/cast.h", "external/android/x86_64/include/openssl/cmac.h", "external/android/x86_64/include/openssl/cms.h", + "external/android/x86_64/include/openssl/cmserr.h", "external/android/x86_64/include/openssl/comp.h", + "external/android/x86_64/include/openssl/comperr.h", "external/android/x86_64/include/openssl/conf.h", "external/android/x86_64/include/openssl/conf_api.h", + "external/android/x86_64/include/openssl/conferr.h", "external/android/x86_64/include/openssl/crypto.h", + "external/android/x86_64/include/openssl/cryptoerr.h", "external/android/x86_64/include/openssl/ct.h", + "external/android/x86_64/include/openssl/cterr.h", "external/android/x86_64/include/openssl/des.h", "external/android/x86_64/include/openssl/dh.h", + "external/android/x86_64/include/openssl/dherr.h", "external/android/x86_64/include/openssl/dsa.h", + "external/android/x86_64/include/openssl/dsaerr.h", "external/android/x86_64/include/openssl/dtls1.h", "external/android/x86_64/include/openssl/e_os2.h", "external/android/x86_64/include/openssl/ebcdic.h", "external/android/x86_64/include/openssl/ec.h", "external/android/x86_64/include/openssl/ecdh.h", "external/android/x86_64/include/openssl/ecdsa.h", + "external/android/x86_64/include/openssl/ecerr.h", "external/android/x86_64/include/openssl/engine.h", + "external/android/x86_64/include/openssl/engineerr.h", "external/android/x86_64/include/openssl/err.h", "external/android/x86_64/include/openssl/evp.h", + "external/android/x86_64/include/openssl/evperr.h", "external/android/x86_64/include/openssl/hmac.h", "external/android/x86_64/include/openssl/idea.h", "external/android/x86_64/include/openssl/kdf.h", + "external/android/x86_64/include/openssl/kdferr.h", "external/android/x86_64/include/openssl/lhash.h", "external/android/x86_64/include/openssl/md2.h", "external/android/x86_64/include/openssl/md4.h", @@ -1974,23 +2074,28 @@ "external/android/x86_64/include/openssl/modes.h", "external/android/x86_64/include/openssl/obj_mac.h", "external/android/x86_64/include/openssl/objects.h", + "external/android/x86_64/include/openssl/objectserr.h", "external/android/x86_64/include/openssl/ocsp.h", - "external/android/x86_64/include/openssl/opensslconf-arm32.h", - "external/android/x86_64/include/openssl/opensslconf-arm64.h", - "external/android/x86_64/include/openssl/opensslconf-x86.h", + "external/android/x86_64/include/openssl/ocsperr.h", "external/android/x86_64/include/openssl/opensslconf.h", "external/android/x86_64/include/openssl/opensslv.h", "external/android/x86_64/include/openssl/ossl_typ.h", "external/android/x86_64/include/openssl/pem.h", "external/android/x86_64/include/openssl/pem2.h", + "external/android/x86_64/include/openssl/pemerr.h", "external/android/x86_64/include/openssl/pkcs12.h", + "external/android/x86_64/include/openssl/pkcs12err.h", "external/android/x86_64/include/openssl/pkcs7.h", + "external/android/x86_64/include/openssl/pkcs7err.h", "external/android/x86_64/include/openssl/rand.h", + "external/android/x86_64/include/openssl/rand_drbg.h", + "external/android/x86_64/include/openssl/randerr.h", "external/android/x86_64/include/openssl/rc2.h", "external/android/x86_64/include/openssl/rc4.h", "external/android/x86_64/include/openssl/rc5.h", "external/android/x86_64/include/openssl/ripemd.h", "external/android/x86_64/include/openssl/rsa.h", + "external/android/x86_64/include/openssl/rsaerr.h", "external/android/x86_64/include/openssl/safestack.h", "external/android/x86_64/include/openssl/seed.h", "external/android/x86_64/include/openssl/sha.h", @@ -1999,16 +2104,23 @@ "external/android/x86_64/include/openssl/ssl.h", "external/android/x86_64/include/openssl/ssl2.h", "external/android/x86_64/include/openssl/ssl3.h", + "external/android/x86_64/include/openssl/sslerr.h", "external/android/x86_64/include/openssl/stack.h", + "external/android/x86_64/include/openssl/store.h", + "external/android/x86_64/include/openssl/storeerr.h", "external/android/x86_64/include/openssl/symhacks.h", "external/android/x86_64/include/openssl/tls1.h", "external/android/x86_64/include/openssl/ts.h", + "external/android/x86_64/include/openssl/tserr.h", "external/android/x86_64/include/openssl/txt_db.h", "external/android/x86_64/include/openssl/ui.h", + "external/android/x86_64/include/openssl/uierr.h", "external/android/x86_64/include/openssl/whrlpool.h", "external/android/x86_64/include/openssl/x509.h", "external/android/x86_64/include/openssl/x509_vfy.h", + "external/android/x86_64/include/openssl/x509err.h", "external/android/x86_64/include/openssl/x509v3.h", + "external/android/x86_64/include/openssl/x509v3err.h", "external/android/x86_64/include/png/png.h", "external/android/x86_64/include/png/pngconf.h", "external/android/x86_64/include/png/pnglibconf.h", @@ -2183,36 +2295,52 @@ "external/ios/include/openssl/aes.h", "external/ios/include/openssl/asn1.h", "external/ios/include/openssl/asn1_mac.h", + "external/ios/include/openssl/asn1err.h", "external/ios/include/openssl/asn1t.h", "external/ios/include/openssl/async.h", + "external/ios/include/openssl/asyncerr.h", "external/ios/include/openssl/bio.h", + "external/ios/include/openssl/bioerr.h", "external/ios/include/openssl/blowfish.h", "external/ios/include/openssl/bn.h", + "external/ios/include/openssl/bnerr.h", "external/ios/include/openssl/buffer.h", + "external/ios/include/openssl/buffererr.h", "external/ios/include/openssl/camellia.h", "external/ios/include/openssl/cast.h", "external/ios/include/openssl/cmac.h", "external/ios/include/openssl/cms.h", + "external/ios/include/openssl/cmserr.h", "external/ios/include/openssl/comp.h", + "external/ios/include/openssl/comperr.h", "external/ios/include/openssl/conf.h", "external/ios/include/openssl/conf_api.h", + "external/ios/include/openssl/conferr.h", "external/ios/include/openssl/crypto.h", + "external/ios/include/openssl/cryptoerr.h", "external/ios/include/openssl/ct.h", + "external/ios/include/openssl/cterr.h", "external/ios/include/openssl/des.h", "external/ios/include/openssl/dh.h", + "external/ios/include/openssl/dherr.h", "external/ios/include/openssl/dsa.h", + "external/ios/include/openssl/dsaerr.h", "external/ios/include/openssl/dtls1.h", "external/ios/include/openssl/e_os2.h", "external/ios/include/openssl/ebcdic.h", "external/ios/include/openssl/ec.h", "external/ios/include/openssl/ecdh.h", "external/ios/include/openssl/ecdsa.h", + "external/ios/include/openssl/ecerr.h", "external/ios/include/openssl/engine.h", + "external/ios/include/openssl/engineerr.h", "external/ios/include/openssl/err.h", "external/ios/include/openssl/evp.h", + "external/ios/include/openssl/evperr.h", "external/ios/include/openssl/hmac.h", "external/ios/include/openssl/idea.h", "external/ios/include/openssl/kdf.h", + "external/ios/include/openssl/kdferr.h", "external/ios/include/openssl/lhash.h", "external/ios/include/openssl/md2.h", "external/ios/include/openssl/md4.h", @@ -2221,24 +2349,28 @@ "external/ios/include/openssl/modes.h", "external/ios/include/openssl/obj_mac.h", "external/ios/include/openssl/objects.h", + "external/ios/include/openssl/objectserr.h", "external/ios/include/openssl/ocsp.h", - "external/ios/include/openssl/opensslconf-arm32.h", - "external/ios/include/openssl/opensslconf-arm64.h", - "external/ios/include/openssl/opensslconf-i386.h", - "external/ios/include/openssl/opensslconf-x86_64.h", + "external/ios/include/openssl/ocsperr.h", "external/ios/include/openssl/opensslconf.h", "external/ios/include/openssl/opensslv.h", "external/ios/include/openssl/ossl_typ.h", "external/ios/include/openssl/pem.h", "external/ios/include/openssl/pem2.h", + "external/ios/include/openssl/pemerr.h", "external/ios/include/openssl/pkcs12.h", + "external/ios/include/openssl/pkcs12err.h", "external/ios/include/openssl/pkcs7.h", + "external/ios/include/openssl/pkcs7err.h", "external/ios/include/openssl/rand.h", + "external/ios/include/openssl/rand_drbg.h", + "external/ios/include/openssl/randerr.h", "external/ios/include/openssl/rc2.h", "external/ios/include/openssl/rc4.h", "external/ios/include/openssl/rc5.h", "external/ios/include/openssl/ripemd.h", "external/ios/include/openssl/rsa.h", + "external/ios/include/openssl/rsaerr.h", "external/ios/include/openssl/safestack.h", "external/ios/include/openssl/seed.h", "external/ios/include/openssl/sha.h", @@ -2247,16 +2379,23 @@ "external/ios/include/openssl/ssl.h", "external/ios/include/openssl/ssl2.h", "external/ios/include/openssl/ssl3.h", + "external/ios/include/openssl/sslerr.h", "external/ios/include/openssl/stack.h", + "external/ios/include/openssl/store.h", + "external/ios/include/openssl/storeerr.h", "external/ios/include/openssl/symhacks.h", "external/ios/include/openssl/tls1.h", "external/ios/include/openssl/ts.h", + "external/ios/include/openssl/tserr.h", "external/ios/include/openssl/txt_db.h", "external/ios/include/openssl/ui.h", + "external/ios/include/openssl/uierr.h", "external/ios/include/openssl/whrlpool.h", "external/ios/include/openssl/x509.h", "external/ios/include/openssl/x509_vfy.h", + "external/ios/include/openssl/x509err.h", "external/ios/include/openssl/x509v3.h", + "external/ios/include/openssl/x509v3err.h", "external/ios/include/png/png.h", "external/ios/include/png/pngconf.h", "external/ios/include/png/pnglibconf.h", @@ -2448,41 +2587,58 @@ "external/mac/include/glslang/SPIRV/spirv.hpp", "external/mac/include/glslang/SPIRV/spvIR.h", "external/mac/include/jpeg/jconfig.h", + "external/mac/include/jpeg/jerror.h", "external/mac/include/jpeg/jmorecfg.h", "external/mac/include/jpeg/jpeglib.h", "external/mac/include/openssl/aes.h", "external/mac/include/openssl/asn1.h", "external/mac/include/openssl/asn1_mac.h", + "external/mac/include/openssl/asn1err.h", "external/mac/include/openssl/asn1t.h", "external/mac/include/openssl/async.h", + "external/mac/include/openssl/asyncerr.h", "external/mac/include/openssl/bio.h", + "external/mac/include/openssl/bioerr.h", "external/mac/include/openssl/blowfish.h", "external/mac/include/openssl/bn.h", + "external/mac/include/openssl/bnerr.h", "external/mac/include/openssl/buffer.h", + "external/mac/include/openssl/buffererr.h", "external/mac/include/openssl/camellia.h", "external/mac/include/openssl/cast.h", "external/mac/include/openssl/cmac.h", "external/mac/include/openssl/cms.h", + "external/mac/include/openssl/cmserr.h", "external/mac/include/openssl/comp.h", + "external/mac/include/openssl/comperr.h", "external/mac/include/openssl/conf.h", "external/mac/include/openssl/conf_api.h", + "external/mac/include/openssl/conferr.h", "external/mac/include/openssl/crypto.h", + "external/mac/include/openssl/cryptoerr.h", "external/mac/include/openssl/ct.h", + "external/mac/include/openssl/cterr.h", "external/mac/include/openssl/des.h", "external/mac/include/openssl/dh.h", + "external/mac/include/openssl/dherr.h", "external/mac/include/openssl/dsa.h", + "external/mac/include/openssl/dsaerr.h", "external/mac/include/openssl/dtls1.h", "external/mac/include/openssl/e_os2.h", "external/mac/include/openssl/ebcdic.h", "external/mac/include/openssl/ec.h", "external/mac/include/openssl/ecdh.h", "external/mac/include/openssl/ecdsa.h", + "external/mac/include/openssl/ecerr.h", "external/mac/include/openssl/engine.h", + "external/mac/include/openssl/engineerr.h", "external/mac/include/openssl/err.h", "external/mac/include/openssl/evp.h", + "external/mac/include/openssl/evperr.h", "external/mac/include/openssl/hmac.h", "external/mac/include/openssl/idea.h", "external/mac/include/openssl/kdf.h", + "external/mac/include/openssl/kdferr.h", "external/mac/include/openssl/lhash.h", "external/mac/include/openssl/md2.h", "external/mac/include/openssl/md4.h", @@ -2491,20 +2647,28 @@ "external/mac/include/openssl/modes.h", "external/mac/include/openssl/obj_mac.h", "external/mac/include/openssl/objects.h", + "external/mac/include/openssl/objectserr.h", "external/mac/include/openssl/ocsp.h", + "external/mac/include/openssl/ocsperr.h", "external/mac/include/openssl/opensslconf.h", "external/mac/include/openssl/opensslv.h", "external/mac/include/openssl/ossl_typ.h", "external/mac/include/openssl/pem.h", "external/mac/include/openssl/pem2.h", + "external/mac/include/openssl/pemerr.h", "external/mac/include/openssl/pkcs12.h", + "external/mac/include/openssl/pkcs12err.h", "external/mac/include/openssl/pkcs7.h", + "external/mac/include/openssl/pkcs7err.h", "external/mac/include/openssl/rand.h", + "external/mac/include/openssl/rand_drbg.h", + "external/mac/include/openssl/randerr.h", "external/mac/include/openssl/rc2.h", "external/mac/include/openssl/rc4.h", "external/mac/include/openssl/rc5.h", "external/mac/include/openssl/ripemd.h", "external/mac/include/openssl/rsa.h", + "external/mac/include/openssl/rsaerr.h", "external/mac/include/openssl/safestack.h", "external/mac/include/openssl/seed.h", "external/mac/include/openssl/sha.h", @@ -2513,16 +2677,23 @@ "external/mac/include/openssl/ssl.h", "external/mac/include/openssl/ssl2.h", "external/mac/include/openssl/ssl3.h", + "external/mac/include/openssl/sslerr.h", "external/mac/include/openssl/stack.h", + "external/mac/include/openssl/store.h", + "external/mac/include/openssl/storeerr.h", "external/mac/include/openssl/symhacks.h", "external/mac/include/openssl/tls1.h", "external/mac/include/openssl/ts.h", + "external/mac/include/openssl/tserr.h", "external/mac/include/openssl/txt_db.h", "external/mac/include/openssl/ui.h", + "external/mac/include/openssl/uierr.h", "external/mac/include/openssl/whrlpool.h", "external/mac/include/openssl/x509.h", "external/mac/include/openssl/x509_vfy.h", + "external/mac/include/openssl/x509err.h", "external/mac/include/openssl/x509v3.h", + "external/mac/include/openssl/x509v3err.h", "external/mac/include/png/png.h", "external/mac/include/png/pngconf.h", "external/mac/include/png/pnglibconf.h", @@ -17941,6 +18112,7 @@ "external/win32/include/glslang/spirv-tools/optimizer.hpp", "external/win32/include/icon/iconv.h", "external/win32/include/jpeg/jconfig.h", + "external/win32/include/jpeg/jerror.h", "external/win32/include/jpeg/jmorecfg.h", "external/win32/include/jpeg/jpeglib.h", "external/win32/include/mpg123/mpg123.h", @@ -17952,36 +18124,52 @@ "external/win32/include/openssl/applink.c", "external/win32/include/openssl/asn1.h", "external/win32/include/openssl/asn1_mac.h", + "external/win32/include/openssl/asn1err.h", "external/win32/include/openssl/asn1t.h", "external/win32/include/openssl/async.h", + "external/win32/include/openssl/asyncerr.h", "external/win32/include/openssl/bio.h", + "external/win32/include/openssl/bioerr.h", "external/win32/include/openssl/blowfish.h", "external/win32/include/openssl/bn.h", + "external/win32/include/openssl/bnerr.h", "external/win32/include/openssl/buffer.h", + "external/win32/include/openssl/buffererr.h", "external/win32/include/openssl/camellia.h", "external/win32/include/openssl/cast.h", "external/win32/include/openssl/cmac.h", "external/win32/include/openssl/cms.h", + "external/win32/include/openssl/cmserr.h", "external/win32/include/openssl/comp.h", + "external/win32/include/openssl/comperr.h", "external/win32/include/openssl/conf.h", "external/win32/include/openssl/conf_api.h", + "external/win32/include/openssl/conferr.h", "external/win32/include/openssl/crypto.h", + "external/win32/include/openssl/cryptoerr.h", "external/win32/include/openssl/ct.h", + "external/win32/include/openssl/cterr.h", "external/win32/include/openssl/des.h", "external/win32/include/openssl/dh.h", + "external/win32/include/openssl/dherr.h", "external/win32/include/openssl/dsa.h", + "external/win32/include/openssl/dsaerr.h", "external/win32/include/openssl/dtls1.h", "external/win32/include/openssl/e_os2.h", "external/win32/include/openssl/ebcdic.h", "external/win32/include/openssl/ec.h", "external/win32/include/openssl/ecdh.h", "external/win32/include/openssl/ecdsa.h", + "external/win32/include/openssl/ecerr.h", "external/win32/include/openssl/engine.h", + "external/win32/include/openssl/engineerr.h", "external/win32/include/openssl/err.h", "external/win32/include/openssl/evp.h", + "external/win32/include/openssl/evperr.h", "external/win32/include/openssl/hmac.h", "external/win32/include/openssl/idea.h", "external/win32/include/openssl/kdf.h", + "external/win32/include/openssl/kdferr.h", "external/win32/include/openssl/lhash.h", "external/win32/include/openssl/md2.h", "external/win32/include/openssl/md4.h", @@ -17990,20 +18178,28 @@ "external/win32/include/openssl/modes.h", "external/win32/include/openssl/obj_mac.h", "external/win32/include/openssl/objects.h", + "external/win32/include/openssl/objectserr.h", "external/win32/include/openssl/ocsp.h", + "external/win32/include/openssl/ocsperr.h", "external/win32/include/openssl/opensslconf.h", "external/win32/include/openssl/opensslv.h", "external/win32/include/openssl/ossl_typ.h", "external/win32/include/openssl/pem.h", "external/win32/include/openssl/pem2.h", + "external/win32/include/openssl/pemerr.h", "external/win32/include/openssl/pkcs12.h", + "external/win32/include/openssl/pkcs12err.h", "external/win32/include/openssl/pkcs7.h", + "external/win32/include/openssl/pkcs7err.h", "external/win32/include/openssl/rand.h", + "external/win32/include/openssl/rand_drbg.h", + "external/win32/include/openssl/randerr.h", "external/win32/include/openssl/rc2.h", "external/win32/include/openssl/rc4.h", "external/win32/include/openssl/rc5.h", "external/win32/include/openssl/ripemd.h", "external/win32/include/openssl/rsa.h", + "external/win32/include/openssl/rsaerr.h", "external/win32/include/openssl/safestack.h", "external/win32/include/openssl/seed.h", "external/win32/include/openssl/sha.h", @@ -18012,16 +18208,23 @@ "external/win32/include/openssl/ssl.h", "external/win32/include/openssl/ssl2.h", "external/win32/include/openssl/ssl3.h", + "external/win32/include/openssl/sslerr.h", "external/win32/include/openssl/stack.h", + "external/win32/include/openssl/store.h", + "external/win32/include/openssl/storeerr.h", "external/win32/include/openssl/symhacks.h", "external/win32/include/openssl/tls1.h", "external/win32/include/openssl/ts.h", + "external/win32/include/openssl/tserr.h", "external/win32/include/openssl/txt_db.h", "external/win32/include/openssl/ui.h", + "external/win32/include/openssl/uierr.h", "external/win32/include/openssl/whrlpool.h", "external/win32/include/openssl/x509.h", "external/win32/include/openssl/x509_vfy.h", + "external/win32/include/openssl/x509err.h", "external/win32/include/openssl/x509v3.h", + "external/win32/include/openssl/x509v3err.h", "external/win32/include/png/png.h", "external/win32/include/png/pngconf.h", "external/win32/include/png/pnglibconf.h", @@ -18247,14 +18450,13 @@ "external/win32/libs/libcurl.dll", "external/win32/libs/libcurl.lib", "external/win32/libs/libiconv.lib", - "external/win32/libs/libjpeg-2015.lib", "external/win32/libs/libjpeg.lib", "external/win32/libs/libmpg123.dll", "external/win32/libs/libmpg123.lib", "external/win32/libs/libogg.dll", "external/win32/libs/libogg.lib", - "external/win32/libs/libpng-2015.lib", - "external/win32/libs/libpng.lib", + "external/win32/libs/libpng16.dll", + "external/win32/libs/libpng16.lib", "external/win32/libs/libssl-1_1.dll", "external/win32/libs/libssl.lib", "external/win32/libs/libuv.lib", @@ -18283,7 +18485,6 @@ "external/win32/libs/websockets.dll", "external/win32/libs/websockets.lib", "external/win32/libs/zlib.dll", - "external/win32/libs/zlib.dll.lib", "external/win32/libs/zlib1.dll", "package-lock.json", "unit-test/CMakeLists.txt", From 813eb75b1da2e71a0cecbefcdfac0c6dca61b3ea Mon Sep 17 00:00:00 2001 From: minggo Date: Wed, 31 Mar 2021 11:12:01 +0800 Subject: [PATCH 218/270] fix coding style (#3366) --- native/.clang-tidy | 13 +-- native/cocos/base/AutoreleasePool.cpp | 24 +++--- native/cocos/base/AutoreleasePool.h | 44 +--------- native/cocos/base/Config.h | 10 +-- native/cocos/base/CoreStd.h | 19 ++-- native/cocos/base/astc.h | 11 +-- native/cocos/base/base64.cpp | 120 ++++++++++++++------------ native/cocos/base/base64.h | 14 +-- native/cocos/base/csscolorparser.cpp | 106 ++++++++++++----------- native/cocos/base/csscolorparser.h | 16 ++-- 10 files changed, 159 insertions(+), 218 deletions(-) diff --git a/native/.clang-tidy b/native/.clang-tidy index 0a39002c34..289ac19eea 100644 --- a/native/.clang-tidy +++ b/native/.clang-tidy @@ -24,23 +24,18 @@ Checks: > modernize-*, misc-*, portability-*, - cppcoreguidelines-*, google-explicit-constructor, -modernize-use-trailing-return-type, -fuchsia-trailing-return, -readability-implicit-bool-conversion, -readability-implicit-bool-cast, - -cppcoreguidelines-pro-type-vararg, - -cppcoreguidelines-pro-type-static-cast-downcast, -readability-function-cognitive-complexity, - -cppcoreguidelines-pro-bounds-pointer-arithmetic, - -cppcoreguidelines-pro-bounds-array-to-pointer-decay, -misc-non-private-member-variables-in-classes, -readability-uppercase-literal-suffix, - -cppcoreguidelines-no-malloc, - -cppcoreguidelines-owning-memory, - -cppcoreguidelines-non-private-member-variables-in-classes, - -readability-use-anyofallof + -readability-use-anyofallof, + -readability-magic-numbers, + -modernize-pass-by-value, + -modernize-concat-nested-namespaces CheckOptions: ################## readability identifier naming ################################ diff --git a/native/cocos/base/AutoreleasePool.cpp b/native/cocos/base/AutoreleasePool.cpp index 42bde64d29..8d6270f731 100644 --- a/native/cocos/base/AutoreleasePool.cpp +++ b/native/cocos/base/AutoreleasePool.cpp @@ -31,10 +31,8 @@ namespace cc { AutoreleasePool::AutoreleasePool() -: _name("") #if defined(CC_DEBUG) && (CC_DEBUG > 0) - , - _isClearing(false) +: _isClearing(false) #endif { _managedObjectArray.reserve(150); @@ -79,8 +77,9 @@ void AutoreleasePool::clear() { bool AutoreleasePool::contains(Ref *object) const { for (const auto &obj : _managedObjectArray) { - if (obj == object) + if (obj == object) { return true; + } } return false; } @@ -100,20 +99,18 @@ void AutoreleasePool::dump() { // //-------------------------------------------------------------------- -PoolManager *PoolManager::s_singleInstance = nullptr; +PoolManager *PoolManager::_singleInstance = nullptr; PoolManager *PoolManager::getInstance() { - if (s_singleInstance == nullptr) { - s_singleInstance = new (std::nothrow) PoolManager(); - // Add the first auto release pool - new (std::nothrow) AutoreleasePool("autorelease pool"); + if (_singleInstance == nullptr) { + _singleInstance = new (std::nothrow) PoolManager(); } - return s_singleInstance; + return _singleInstance; } void PoolManager::destroyInstance() { - delete s_singleInstance; - s_singleInstance = nullptr; + delete _singleInstance; + _singleInstance = nullptr; } PoolManager::PoolManager() { @@ -136,8 +133,9 @@ AutoreleasePool *PoolManager::getCurrentPool() const { bool PoolManager::isObjectInPools(Ref *obj) const { for (const auto &pool : _releasePoolStack) { - if (pool->contains(obj)) + if (pool->contains(obj)) { return true; + } } return false; } diff --git a/native/cocos/base/AutoreleasePool.h b/native/cocos/base/AutoreleasePool.h index 4f340edbd4..c8b2055229 100644 --- a/native/cocos/base/AutoreleasePool.h +++ b/native/cocos/base/AutoreleasePool.h @@ -25,46 +25,32 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef __AUTORELEASEPOOL_H__ -#define __AUTORELEASEPOOL_H__ +#pragma once #include #include #include "base/Ref.h" -/** - * @addtogroup base - * @{ - */ namespace cc { /** * A pool for managing autorelease objects. - * @js NA */ class CC_DLL AutoreleasePool { public: /** * @warning Don't create an autorelease pool in heap, create it in stack. - * @js NA - * @lua NA */ AutoreleasePool(); /** * Create an autorelease pool with specific name. This name is useful for debugging. * @warning Don't create an autorelease pool in heap, create it in stack. - * @js NA - * @lua NA * * @param name The name of created autorelease pool. */ - AutoreleasePool(const std::string &name); + explicit AutoreleasePool(const std::string &name); - /** - * @js NA - * @lua NA - */ ~AutoreleasePool(); /** @@ -75,8 +61,6 @@ public: * the same times as it was added. * * @param object The object to be added into the autorelease pool. - * @js NA - * @lua NA */ void addObject(Ref *object); @@ -84,9 +68,6 @@ public: * Clear the autorelease pool. * * It will invoke each element's `release()` function. - * - * @js NA - * @lua NA */ void clear(); @@ -95,9 +76,6 @@ public: * Whether the autorelease pool is doing `clear` operation. * * @return True if autorelease pool is clearing, false if not. - * - * @js NA - * @lua NA */ bool isClearing() const { return _isClearing; }; #endif @@ -107,8 +85,6 @@ public: * * @param object The object to be checked. * @return True if the autorelease pool contains the object, false if not - * @js NA - * @lua NA */ bool contains(Ref *object) const; @@ -117,9 +93,6 @@ public: * * The result will look like: * Object pointer address object id reference count - * - * @js NA - * @lua NA */ void dump(); @@ -144,12 +117,6 @@ private: #endif }; -// end of base group -/** @} */ - -/** - * @cond - */ class CC_DLL PoolManager { public: static PoolManager *getInstance(); @@ -173,14 +140,9 @@ private: void push(AutoreleasePool *pool); void pop(); - static PoolManager *s_singleInstance; + static PoolManager *_singleInstance; std::vector _releasePoolStack; }; -/** - * @endcond - */ } // namespace cc - -#endif //__AUTORELEASEPOOL_H__ diff --git a/native/cocos/base/Config.h b/native/cocos/base/Config.h index f080938217..f99d02a2ff 100644 --- a/native/cocos/base/Config.h +++ b/native/cocos/base/Config.h @@ -27,13 +27,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef __CCCONFIG_H__ -#define __CCCONFIG_H__ - -/** - * @file - * cocos2d (cc) configuration file. -*/ +#pragma once // disable module if you didn't need it, this will reduce package size @@ -117,5 +111,3 @@ #ifndef CC_ENABLE_CACHE_JSB_FUNC_RESULT #define CC_ENABLE_CACHE_JSB_FUNC_RESULT 1 #endif - -#endif // __CCCONFIG_H__ diff --git a/native/cocos/base/CoreStd.h b/native/cocos/base/CoreStd.h index a95e98641f..4d5419023d 100644 --- a/native/cocos/base/CoreStd.h +++ b/native/cocos/base/CoreStd.h @@ -23,19 +23,18 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_CORE_STD_H_ -#define CC_CORE_CORE_STD_H_ +#pragma once #include "base/Macros.h" // STD including -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include #include // STL including @@ -70,5 +69,3 @@ #define CC_JOB_SYSTEM_TBB 2 #define CC_JOB_SYSTEM CC_JOB_SYSTEM_TASKFLOW - -#endif // CC_CORE_CORE_STD_H_ diff --git a/native/cocos/base/astc.h b/native/cocos/base/astc.h index d513516a1b..c14a1e1a06 100644 --- a/native/cocos/base/astc.h +++ b/native/cocos/base/astc.h @@ -25,13 +25,12 @@ THE SOFTWARE. ****************************************************************************/ -#include +#include -#ifndef __ASTC_H__ - #define __ASTC_H__ +#pragma once -typedef unsigned char astc_byte; -typedef unsigned int astc_uint32; +using astc_byte = unsigned char; +using astc_uint32 = unsigned int; // Size of a ASTC header @@ -50,5 +49,3 @@ int astcGetWidth(const astc_byte *pHeader); // Read the image height from a ASTC header int astcGetHeight(const astc_byte *pHeader); - -#endif diff --git a/native/cocos/base/base64.cpp b/native/cocos/base/base64.cpp index 5889ed6a7b..bc28b79e38 100644 --- a/native/cocos/base/base64.cpp +++ b/native/cocos/base/base64.cpp @@ -25,116 +25,128 @@ THE SOFTWARE. ****************************************************************************/ -#include -#include #include "base/base64.h" +#include +#include +#include +#include + namespace cc { -unsigned char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; +std::string alphabet{"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"}; -int _base64Decode(const unsigned char *input, unsigned int input_len, unsigned char *output, unsigned int *output_len) { - static char inalphabet[256], decoder[256]; - int i, bits, c = 0, char_count, errors = 0; - unsigned int input_idx = 0; - unsigned int output_idx = 0; +int doBase64Decode(const unsigned char *input, unsigned int inputLen, unsigned char *output, unsigned int *outputLen) { + static std::vector inalphabet(256); + static std::vector decoder(256); + int i; + int bits; + int c = 0; + int charCount; + int errors = 0; + unsigned int inputIdx = 0; + unsigned int outputIdx = 0; for (i = (sizeof alphabet) - 1; i >= 0; i--) { inalphabet[alphabet[i]] = 1; decoder[alphabet[i]] = i; } - char_count = 0; + charCount = 0; bits = 0; - for (input_idx = 0; input_idx < input_len; input_idx++) { - c = input[input_idx]; - if (c == '=') + for (inputIdx = 0; inputIdx < inputLen; inputIdx++) { + c = input[inputIdx]; + if (c == '=') { break; - if (c > 255 || !inalphabet[c]) + } + + if (c > 255 || !inalphabet[c]) { continue; + } + bits += decoder[c]; - char_count++; - if (char_count == 4) { - output[output_idx++] = (bits >> 16); - output[output_idx++] = ((bits >> 8) & 0xff); - output[output_idx++] = (bits & 0xff); + ++charCount; + if (charCount == 4) { + output[outputIdx++] = (bits >> 16); + output[outputIdx++] = ((bits >> 8) & 0xff); + output[outputIdx++] = (bits & 0xff); bits = 0; - char_count = 0; + charCount = 0; } else { bits <<= 6; } } if (c == '=') { - switch (char_count) { + switch (charCount) { case 1: #if (CC_PLATFORM != CC_PLATFORM_BADA) fprintf(stderr, "base64Decode: encoding incomplete: at least 2 bits missing"); #endif - errors++; + ++errors; break; case 2: - output[output_idx++] = (bits >> 10); + output[outputIdx++] = (bits >> 10); break; case 3: - output[output_idx++] = (bits >> 16); - output[output_idx++] = ((bits >> 8) & 0xff); + output[outputIdx++] = (bits >> 16); + output[outputIdx++] = ((bits >> 8) & 0xff); break; } - } else if (input_idx < input_len) { - if (char_count) { + } else if (inputIdx < inputLen) { + if (charCount) { #if (CC_PLATFORM != CC_PLATFORM_BADA) fprintf(stderr, "base64 encoding incomplete: at least %d bits truncated", - ((4 - char_count) * 6)); + ((4 - charCount) * 6)); #endif - errors++; + ++errors; } } - *output_len = output_idx; + *outputLen = outputIdx; return errors; } -void _base64Encode(const unsigned char *input, unsigned int input_len, char *output) { - unsigned int char_count; +void doBase64Encode(const unsigned char *input, unsigned int inputLen, char *output) { + unsigned int charCount; unsigned int bits; - unsigned int input_idx = 0; - unsigned int output_idx = 0; + unsigned int inputIdx = 0; + unsigned int outputIdx = 0; - char_count = 0; + charCount = 0; bits = 0; - for (input_idx = 0; input_idx < input_len; input_idx++) { - bits |= input[input_idx]; + for (inputIdx = 0; inputIdx < inputLen; inputIdx++) { + bits |= input[inputIdx]; - char_count++; - if (char_count == 3) { - output[output_idx++] = alphabet[(bits >> 18) & 0x3f]; - output[output_idx++] = alphabet[(bits >> 12) & 0x3f]; - output[output_idx++] = alphabet[(bits >> 6) & 0x3f]; - output[output_idx++] = alphabet[bits & 0x3f]; + charCount++; + if (charCount == 3) { + output[outputIdx++] = alphabet[(bits >> 18) & 0x3f]; + output[outputIdx++] = alphabet[(bits >> 12) & 0x3f]; + output[outputIdx++] = alphabet[(bits >> 6) & 0x3f]; + output[outputIdx++] = alphabet[bits & 0x3f]; bits = 0; - char_count = 0; + charCount = 0; } else { bits <<= 8; } } - if (char_count) { - if (char_count == 1) { + if (charCount) { + if (charCount == 1) { bits <<= 8; } - output[output_idx++] = alphabet[(bits >> 18) & 0x3f]; - output[output_idx++] = alphabet[(bits >> 12) & 0x3f]; - if (char_count > 1) { - output[output_idx++] = alphabet[(bits >> 6) & 0x3f]; + output[outputIdx++] = alphabet[(bits >> 18) & 0x3f]; + output[outputIdx++] = alphabet[(bits >> 12) & 0x3f]; + if (charCount > 1) { + output[outputIdx++] = alphabet[(bits >> 6) & 0x3f]; } else { - output[output_idx++] = '='; + output[outputIdx++] = '='; } - output[output_idx++] = '='; + output[outputIdx++] = '='; } - output[output_idx++] = 0; + output[outputIdx++] = 0; } int base64Decode(const unsigned char *in, unsigned int inLength, unsigned char **out) { @@ -143,7 +155,7 @@ int base64Decode(const unsigned char *in, unsigned int inLength, unsigned char * //should be enough to store 6-bit buffers in 8-bit buffers *out = (unsigned char *)malloc(inLength / 4 * 3 + 1); if (*out) { - int ret = _base64Decode(in, inLength, *out, &outLength); + int ret = doBase64Decode(in, inLength, *out, &outLength); if (ret > 0) { free(*out); @@ -160,7 +172,7 @@ int base64Encode(const unsigned char *in, unsigned int inLength, char **out) { //should be enough to store 8-bit buffers in 6-bit buffers *out = (char *)malloc(outLength + 1); if (*out) { - _base64Encode(in, inLength, *out); + doBase64Encode(in, inLength, *out); } return outLength; } diff --git a/native/cocos/base/base64.h b/native/cocos/base/base64.h index 1baa472ee9..205af09a83 100644 --- a/native/cocos/base/base64.h +++ b/native/cocos/base/base64.h @@ -25,9 +25,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef __SUPPORT_BASE64_H__ -#define __SUPPORT_BASE64_H__ -/// @cond DO_NOT_SHOW +#pragma once #include "base/Macros.h" @@ -37,17 +35,11 @@ extern "C" { namespace cc { -/** @file - base64 helper functions - */ - /** * Decodes a 64base encoded memory. The decoded memory is * expected to be freed by the caller by calling `free()` * * @returns the length of the out buffer - * - @since v0.8.1 */ int CC_DLL base64Decode(const unsigned char *in, unsigned int inLength, unsigned char **out); @@ -57,7 +49,6 @@ int CC_DLL base64Decode(const unsigned char *in, unsigned int inLength, unsigned * * @returns the length of the out buffer * - @since v2.1.4 */ int CC_DLL base64Encode(const unsigned char *in, unsigned int inLength, char **out); @@ -66,6 +57,3 @@ int CC_DLL base64Encode(const unsigned char *in, unsigned int inLength, char **o #ifdef __cplusplus } #endif - -/// @endcond -#endif // __SUPPORT_BASE64_H__ diff --git a/native/cocos/base/csscolorparser.cpp b/native/cocos/base/csscolorparser.cpp index c4e77adc0c..4a5cddd8f6 100644 --- a/native/cocos/base/csscolorparser.cpp +++ b/native/cocos/base/csscolorparser.cpp @@ -59,11 +59,11 @@ namespace CSSColorParser { // http://www.w3.org/TR/css3-color/ struct NamedColor { - const char *const name; - const Color color; + const char * name; + Color color; }; -const std::vector namedColors = { +const std::vector NAMED_COLORS = { {"transparent", {0, 0, 0, 0}}, {"aliceblue", {240, 248, 255, 1}}, {"antiquewhite", {250, 235, 215, 1}}, @@ -214,13 +214,13 @@ const std::vector namedColors = { {"yellowgreen", {154, 205, 50, 1}}}; template -uint8_t clamp_css_byte(T i) { // Clamp to integer 0 .. 255. +uint8_t clampCssByte(T i) { // Clamp to integer 0 .. 255. i = static_cast(::round(i)); // Seems to be what Chrome does (vs truncation). return static_cast(i < 0 ? 0 : i > 255 ? 255 : i); } template -float clamp_css_float(T f) { // Clamp to float 0.0 .. 1.0. +float clampCssFloat(T f) { // Clamp to float 0.0 .. 1.0. return f < 0 ? 0 : f > 1 ? 1 : float(f); } @@ -232,23 +232,21 @@ int64_t parseInt(const std::string &str, uint8_t base = 10) { return strtoll(str.c_str(), nullptr, base); } -uint8_t parse_css_int(const std::string &str) { // int or percentage. +uint8_t parseCssInt(const std::string &str) { // int or percentage. if (str.length() && str.back() == '%') { - return clamp_css_byte(parseFloat(str) / 100.0f * 255.0f); - } else { - return clamp_css_byte(parseInt(str)); + return clampCssByte(parseFloat(str) / 100.0f * 255.0f); } + return clampCssByte(parseInt(str)); + } + +float parseCssFloat(const std::string &str) { // float or percentage. + if (str.length() && str.back() == '%') { + return clampCssFloat(parseFloat(str) / 100.0f); + } + return clampCssFloat(parseFloat(str)); } -float parse_css_float(const std::string &str) { // float or percentage. - if (str.length() && str.back() == '%') { - return clamp_css_float(parseFloat(str) / 100.0f); - } else { - return clamp_css_float(parseFloat(str)); - } -} - -float css_hue_to_rgb(float m1, float m2, float h) { +float cssHueToRgb(float m1, float m2, float h) { if (h < 0.0f) { h += 1.0f; } else if (h > 1.0f) { @@ -277,8 +275,8 @@ std::vector split(const std::string &s, char delim) { return elems; } -Color parse(const std::string &css_str) { - std::string str = css_str; +Color parse(const std::string &cssStr) { + std::string str = cssStr; // Remove all whitespace, not compliant, but should just be more accepting. str.erase(std::remove(str.begin(), str.end(), ' '), str.end()); @@ -286,9 +284,9 @@ Color parse(const std::string &css_str) { // Convert to lowercase. std::transform(str.begin(), str.end(), str.begin(), ::tolower); - for (size_t i = 0; i < namedColors.size(); i++) { - if (str == namedColors[i].name) { - return {namedColors[i].color}; + for (const auto &namedColor : NAMED_COLORS) { + if (str == namedColor.name) { + return namedColor.color; } } @@ -299,28 +297,30 @@ Color parse(const std::string &css_str) { parseInt(str.substr(1), 16); // REFINE(deanm): Stricter parsing. if (!(iv >= 0 && iv <= 0xfff)) { return {}; - } else { - return Color( - static_cast(((iv & 0xf00) >> 4) | ((iv & 0xf00) >> 8)), - static_cast((iv & 0xf0) | ((iv & 0xf0) >> 4)), - static_cast((iv & 0xf) | ((iv & 0xf) << 4)), 1); - } - } else if (str.length() == 7) { - int64_t iv = - parseInt(str.substr(1), 16); // REFINE(deanm): Stricter parsing. + } + + return Color( + static_cast(((iv & 0xf00) >> 4) | ((iv & 0xf00) >> 8)), + static_cast((iv & 0xf0) | ((iv & 0xf0) >> 4)), + static_cast((iv & 0xf) | ((iv & 0xf) << 4)), 1); + } + + if (str.length() == 7) { + int64_t iv = parseInt(str.substr(1), 16); // REFINE(deanm): Stricter parsing. if (!(iv >= 0 && iv <= 0xffffff)) { return {}; // Covers NaN. - } else { - return Color(static_cast((iv & 0xff0000) >> 16), - static_cast((iv & 0xff00) >> 8), - static_cast(iv & 0xff), 1); } + + return Color(static_cast((iv & 0xff0000) >> 16), + static_cast((iv & 0xff00) >> 8), + static_cast(iv & 0xff), 1); } return Color(); } - size_t op = str.find_first_of('('), ep = str.find_first_of(')'); + size_t op = str.find_first_of('('); + size_t ep = str.find_first_of(')'); if (op != std::string::npos && ep + 1 == str.length()) { const std::string fname = str.substr(0, op); const std::vector params = @@ -333,22 +333,24 @@ Color parse(const std::string &css_str) { if (params.size() != 4) { return {}; } - alpha = parse_css_float(params.back()); + alpha = parseCssFloat(params.back()); } else { if (params.size() != 3) { return {}; } } - return Color(parse_css_int(params[0]), parse_css_int(params[1]), - parse_css_int(params[2]), alpha); + return Color(parseCssInt(params[0]), parseCssInt(params[1]), + parseCssInt(params[2]), alpha); - } else if (fname == "hsla" || fname == "hsl") { + } + + if (fname == "hsla" || fname == "hsl") { if (fname == "hsla") { if (params.size() != 4) { return {}; } - alpha = parse_css_float(params.back()); + alpha = parseCssFloat(params.back()); } else { if (params.size() != 3) { return {}; @@ -356,23 +358,25 @@ Color parse(const std::string &css_str) { } float h = parseFloat(params[0]) / 360.0f; - while (h < 0.0f) - h++; - while (h > 1.0f) - h--; + while (h < 0.0f) { + ++h; + } + while (h > 1.0f) { + --h; + } // NOTE(deanm): According to the CSS spec s/l should only be // percentages, but we don't bother and let float or percentage. - float s = parse_css_float(params[1]); - float l = parse_css_float(params[2]); + float s = parseCssFloat(params[1]); + float l = parseCssFloat(params[2]); float m2 = l <= 0.5f ? l * (s + 1.0f) : l + s - l * s; float m1 = l * 2.0f - m2; return Color( - clamp_css_byte(css_hue_to_rgb(m1, m2, h + 1.0f / 3.0f) * 255.0f), - clamp_css_byte(css_hue_to_rgb(m1, m2, h) * 255.0f), - clamp_css_byte(css_hue_to_rgb(m1, m2, h - 1.0f / 3.0f) * 255.0f), + clampCssByte(cssHueToRgb(m1, m2, h + 1.0f / 3.0f) * 255.0f), + clampCssByte(cssHueToRgb(m1, m2, h) * 255.0f), + clampCssByte(cssHueToRgb(m1, m2, h - 1.0f / 3.0f) * 255.0f), alpha); } } diff --git a/native/cocos/base/csscolorparser.h b/native/cocos/base/csscolorparser.h index 451d651328..a129578849 100644 --- a/native/cocos/base/csscolorparser.h +++ b/native/cocos/base/csscolorparser.h @@ -47,19 +47,17 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS // IN THE SOFTWARE. -#ifndef CSS_COLOR_PARSER_CPP -#define CSS_COLOR_PARSER_CPP +#pragma once #include -#include +#include namespace CSSColorParser { struct Color { - inline Color() { - } - inline Color(unsigned char r_, unsigned char g_, unsigned char b_, float a_) - : r(r_), g(g_), b(b_), a(a_ > 1 ? 1 : a_ < 0 ? 0 : a_) { + inline Color() = default; + inline Color(unsigned char red, unsigned char green, unsigned char blue, float alpha) + : r(red), g(green), b(blue), a(alpha > 1 ? 1 : alpha < 0 ? 0 : alpha) { } unsigned char r = 0, g = 0, b = 0; float a = 1.0f; @@ -73,8 +71,6 @@ inline bool operator!=(const Color &lhs, const Color &rhs) { return !(lhs == rhs); } -Color parse(const std::string &css_str); +Color parse(const std::string &cssStr); } // namespace CSSColorParser - -#endif From b524be818f8288ba907d285d6603203e648bb390 Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Wed, 31 Mar 2021 13:40:14 +0800 Subject: [PATCH 219/270] fix warnings (#3368) --- native/CMakeLists.txt | 20 +++++++++---------- .../cocos/platform/android/Device-android.cpp | 15 +++++++++----- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 2f7c87e915..4419a2eeaa 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -447,15 +447,15 @@ cocos_source_files( ##### network cocos_source_files( - NO_WERROR cocos/network/Downloader.cpp + cocos/network/Downloader.cpp cocos/network/Downloader.h cocos/network/DownloaderImpl.h cocos/network/HttpClient.h - NO_WERROR cocos/network/HttpCookie.cpp + cocos/network/HttpCookie.cpp cocos/network/HttpCookie.h cocos/network/HttpRequest.h cocos/network/HttpResponse.h - NO_WERROR cocos/network/Uri.cpp + cocos/network/Uri.cpp cocos/network/Uri.h ) @@ -494,9 +494,9 @@ endif() if(ANDROID) cocos_source_files( - NO_WERROR cocos/network/Downloader-android.cpp + cocos/network/Downloader-android.cpp cocos/network/Downloader-android.h - NO_WERROR cocos/network/HttpClient-android.cpp + cocos/network/HttpClient-android.cpp ) endif() @@ -552,12 +552,12 @@ if(WINDOWS) ) elseif(ANDROID) cocos_source_files( - NO_WERROR cocos/platform/android/Application-android.cpp - NO_WERROR cocos/platform/android/CanvasRenderingContext2D-android.cpp - NO_WERROR cocos/platform/android/Device-android.cpp - NO_WERROR cocos/platform/android/FileUtils-android.cpp + cocos/platform/android/Application-android.cpp + cocos/platform/android/CanvasRenderingContext2D-android.cpp + cocos/platform/android/Device-android.cpp + cocos/platform/android/FileUtils-android.cpp cocos/platform/android/FileUtils-android.h - NO_WERROR cocos/platform/android/View.cpp + cocos/platform/android/View.cpp cocos/platform/android/View.h ) set(CC_JNI_SRC_FILES diff --git a/native/cocos/platform/android/Device-android.cpp b/native/cocos/platform/android/Device-android.cpp index 877017a2d1..0f310a894d 100644 --- a/native/cocos/platform/android/Device-android.cpp +++ b/native/cocos/platform/android/Device-android.cpp @@ -28,7 +28,7 @@ #if CC_PLATFORM == CC_PLATFORM_ANDROID #include "platform/Device.h" - #include + #include #include #include #include @@ -40,11 +40,11 @@ #include "platform/android/jni/JniHelper.h" #ifndef JCLS_HELPER - #define JCLS_HELPER "com/cocos/lib/CocosHelper" + constexpr auto JCLS_HELPER = "com/cocos/lib/CocosHelper"; #endif #ifndef JCLS_SENSOR - #define JCLS_SENSOR "com/cocos/lib/CocosSensorHandler" + constexpr auto JCLS_SENSOR = "com/cocos/lib/CocosSensorHandler"; #endif namespace { @@ -69,7 +69,8 @@ int Device::getDPI() { AConfiguration_fromAssetManager(config, cocosApp.assetManager); int32_t density = AConfiguration_getDensity(config); AConfiguration_delete(config); - dpi = density * 160; + const int stdDpi = 160; + dpi = density * stdDpi; } return dpi; } @@ -111,16 +112,20 @@ Device::Orientation Device::getDeviceOrientation() { return Orientation::PORTRAIT_UPSIDE_DOWN; case ROTATION_270: return Orientation::LANDSCAPE_LEFT; + default: + break; } + return Orientation::PORTRAIT; } std::string Device::getDeviceModel() { return JniHelper::callStaticStringMethod(JCLS_HELPER, "getDeviceModel"); } -void Device::setKeepScreenOn(bool value) { +void Device::setKeepScreenOn(bool keepScreenOn) { // JniHelper::callStaticVoidMethod(JCLS_HELPER, "setKeepScreenOn", value); // ANativeActivity_setWindowFlags(JniHelper::getAndroidApp()->activity, AWINDOW_FLAG_KEEP_SCREEN_ON, 0); + CC_UNUSED_PARAM(keepScreenOn); } void Device::vibrate(float duration) { From 768e71e1aac2bc535a519cdda936baf036bfd206 Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 1 Apr 2021 09:47:37 +0800 Subject: [PATCH 220/270] fix crash on macOS (#3370) * fix crash on macOS * fix coding style --- native/cocos/base/Ref.cpp | 5 +++-- native/cocos/base/Scheduler.cpp | 6 ++---- native/cocos/platform/Application.cpp | 7 +++++-- native/cocos/platform/ios/Application-ios.mm | 8 ++++---- native/cocos/platform/mac/Application-mac.mm | 4 ++-- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/native/cocos/base/Ref.cpp b/native/cocos/base/Ref.cpp index 372e585379..ca2c715b73 100644 --- a/native/cocos/base/Ref.cpp +++ b/native/cocos/base/Ref.cpp @@ -66,8 +66,9 @@ void Ref::release() { if (_referenceCount == 0) { #if defined(CC_DEBUG) && (CC_DEBUG > 0) - auto poolManager = PoolManager::getInstance(); - if (!poolManager->getCurrentPool()->isClearing() && poolManager->isObjectInPools(this)) { + auto *poolManager = PoolManager::getInstance(); + auto *currentPool = poolManager->getCurrentPool(); + if (currentPool && !currentPool->isClearing() && poolManager->isObjectInPools(this)) { // Trigger an assert if the reference count is 0 but the Ref is still in autorelease pool. // This happens when 'autorelease/release' were not used in pairs with 'new/retain'. // diff --git a/native/cocos/base/Scheduler.cpp b/native/cocos/base/Scheduler.cpp index 1f35789f93..2132caf6b7 100644 --- a/native/cocos/base/Scheduler.cpp +++ b/native/cocos/base/Scheduler.cpp @@ -152,9 +152,8 @@ void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float in CCASSERT(!key.empty(), "key should not be empty!"); HashTimerEntry *element = nullptr; - auto iter = _hashForTimers.find(&target); - if (iter == _hashForTimers.end()) { - element = new HashTimerEntry(); + if (_hashForTimers.count(target) > 0) { + element = static_cast(calloc(sizeof(*element), 1)); element->target = target; _hashForTimers[target] = element; @@ -181,7 +180,6 @@ void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float in auto *timer = new (std::nothrow) TimerTargetCallback(); timer->initWithCallback(this, callback, target, key, interval, repeat, delay); element->timers.push_back(timer); - timer->release(); } void Scheduler::unschedule(const std::string &key, void *target) { diff --git a/native/cocos/platform/Application.cpp b/native/cocos/platform/Application.cpp index c6c2f77e58..058ae7312b 100644 --- a/native/cocos/platform/Application.cpp +++ b/native/cocos/platform/Application.cpp @@ -41,7 +41,7 @@ void Application::restartVM() { cc::EventDispatcher::dispatchRestartVM(); - auto scriptEngine = se::ScriptEngine::getInstance(); + auto *scriptEngine = se::ScriptEngine::getInstance(); cc::PoolManager::getInstance()->getCurrentPool()->clear(); #if USE_AUDIO @@ -92,7 +92,10 @@ void Application::tick() { _scheduler->update(dt); cc::EventDispatcher::dispatchTickEvent(dt); - PoolManager::getInstance()->getCurrentPool()->clear(); + AutoreleasePool *currentPool = PoolManager::getInstance()->getCurrentPool(); + if (currentPool) { + currentPool->clear(); + } now = std::chrono::steady_clock::now(); dtNS = dtNS * 0.1 + 0.9 * std::chrono::duration_cast(now - prevTime).count(); diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index 45a0468dd5..1906ac71ec 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -106,10 +106,10 @@ namespace { uintptr_t windowHandle = reinterpret_cast(UIApplication.sharedApplication.delegate.window.rootViewController.view); std::stringstream commandBuf; commandBuf << "window.innerWidth = " << viewLogicalSize.x - << " window.innerHeight = " << viewLogicalSize.y - << " window.nativeWidth= " << nativeWidth - << " window.nativeHeight = " << nativeHeight - << " window.windowHandler = " << windowHandle; + << "; window.innerHeight = " << viewLogicalSize.y + << "; window.nativeWidth= " << nativeWidth + << "; window.nativeHeight = " << nativeHeight + << "; window.windowHandler = " << windowHandle << ";"; se::ScriptEngine* se = se::ScriptEngine::getInstance(); se->evalString(commandBuf.str().c_str()); diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index 84512f0388..26bc908157 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -101,8 +101,8 @@ bool setCanvasCallback(se::Object *global) { std::stringstream commandBuf; commandBuf << "window.innerWidth = " << viewLogicalSize.x - << " window.innerHeight = " << viewLogicalSize.y - << " window.windowHandler = " << reinterpret_cast(view); + << "; window.innerHeight = " << viewLogicalSize.y + << "; window.windowHandler = " << reinterpret_cast(view) << ";"; se->evalString(commandBuf.str().c_str()); gfx::DeviceInfo deviceInfo; From d8824f8a11e61fc0261a633a3c33b306baa73390 Mon Sep 17 00:00:00 2001 From: minggo Date: Fri, 2 Apr 2021 09:55:12 +0800 Subject: [PATCH 221/270] fix coding style (#3371) --- .../.github/workflows/clangtidy-android.yml | 2 + native/CMakeLists.txt | 1 - .../cocos/audio/android/AudioEngine-inl.cpp | 1 + native/cocos/base/AutoreleasePool.cpp | 3 + native/cocos/base/Data.cpp | 27 +-- native/cocos/base/Data.h | 22 +- native/cocos/base/IndexHandle.h | 10 +- native/cocos/base/Log.cpp | 44 ++-- native/cocos/base/Log.h | 37 ++- native/cocos/base/Macros.h | 7 - native/cocos/base/Map.h | 53 +---- native/cocos/base/Object.h | 7 +- native/cocos/base/Random.cpp | 28 --- native/cocos/base/Random.h | 30 +-- native/cocos/base/Ref.h | 32 +-- native/cocos/base/Scheduler.cpp | 7 +- native/cocos/base/Scheduler.h | 3 +- native/cocos/base/StringHandle.cpp | 2 +- native/cocos/base/StringHandle.h | 2 +- native/cocos/base/StringPool.h | 32 ++- native/cocos/base/StringUtil.cpp | 35 +-- native/cocos/base/StringUtil.h | 8 +- native/cocos/base/ThreadPool.cpp | 87 +++---- native/cocos/base/ThreadPool.h | 62 +++-- native/cocos/base/TypeDef.h | 9 +- native/cocos/base/UTF8.cpp | 84 +++---- native/cocos/base/UTF8.h | 21 +- native/cocos/base/Utils.cpp | 2 +- native/cocos/base/Value.cpp | 81 ++++--- native/cocos/base/Value.h | 18 +- native/cocos/base/Vector.h | 39 +--- native/cocos/base/memory/MemTracker.cpp | 2 +- .../cocos/bindings/manual/jsb_conversions.cpp | 215 ++++++++++-------- .../cocos/bindings/manual/jsb_conversions.h | 31 --- native/cocos/network/WebSocketServer.cpp | 1 + .../cocos/platform/apple/FileUtils-apple.mm | 2 +- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 4 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 2 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 2 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 4 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- native/cocos/renderer/gfx-vulkan/VKUtils.h | 2 +- .../assets-manager/AssetsManagerEx.cpp | 6 +- 44 files changed, 480 insertions(+), 591 deletions(-) delete mode 100644 native/cocos/base/Random.cpp diff --git a/native/.github/workflows/clangtidy-android.yml b/native/.github/workflows/clangtidy-android.yml index 0ba201fcfd..1dd1790263 100644 --- a/native/.github/workflows/clangtidy-android.yml +++ b/native/.github/workflows/clangtidy-android.yml @@ -29,6 +29,8 @@ jobs: - added|modified: '**/*.mm' - added|modified: '**/*.c' - exclude: 'cocos/editor-support/dragonbones/**' + - exclude: 'cocos/base/etc1.*' + - exclude: 'cocos/base/etc2.*' allChanges: - added|modified|deleted: '**' skipedDebug: diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 4419a2eeaa..94d1a5be11 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -338,7 +338,6 @@ cocos_source_files( cocos/base/Macros.h cocos/base/Map.h cocos/base/Object.h - cocos/base/Random.cpp cocos/base/Random.h cocos/base/Ref.cpp cocos/base/Ref.h diff --git a/native/cocos/audio/android/AudioEngine-inl.cpp b/native/cocos/audio/android/AudioEngine-inl.cpp index 9433362bed..53dd8788d5 100644 --- a/native/cocos/audio/android/AudioEngine-inl.cpp +++ b/native/cocos/audio/android/AudioEngine-inl.cpp @@ -40,6 +40,7 @@ #include "platform/Application.h" #include "base/Scheduler.h" #include "base/UTF8.h" +#include "base/Log.h" #include "platform/android/FileUtils-android.h" #include "platform/android/jni/JniImp.h" #include "platform/android/jni/JniHelper.h" diff --git a/native/cocos/base/AutoreleasePool.cpp b/native/cocos/base/AutoreleasePool.cpp index 8d6270f731..52b2ed14b8 100644 --- a/native/cocos/base/AutoreleasePool.cpp +++ b/native/cocos/base/AutoreleasePool.cpp @@ -128,6 +128,9 @@ PoolManager::~PoolManager() { } AutoreleasePool *PoolManager::getCurrentPool() const { + if (_releasePoolStack.empty()) { + return nullptr; + } return _releasePoolStack.back(); } diff --git a/native/cocos/base/Data.cpp b/native/cocos/base/Data.cpp index 34d393cca1..601f1915b2 100644 --- a/native/cocos/base/Data.cpp +++ b/native/cocos/base/Data.cpp @@ -30,15 +30,15 @@ namespace cc { -const Data Data::Null; +const Data Data::NULL_DATA; Data::Data() : _bytes(nullptr), _size(0) { // CC_LOG_INFO("In the empty constructor of Data."); } -Data::Data(Data &&other) : _bytes(nullptr), - _size(0) { +Data::Data(Data &&other) noexcept : _bytes(nullptr), + _size(0) { // CC_LOG_INFO("In the move constructor of Data."); move(other); } @@ -60,7 +60,7 @@ Data &Data::operator=(const Data &other) { return *this; } -Data &Data::operator=(Data &&other) { +Data &Data::operator=(Data &&other) noexcept { // CC_LOG_INFO("In the move assignment of Data."); move(other); return *this; @@ -70,10 +70,10 @@ void Data::move(Data &other) { clear(); _bytes = other._bytes; - _size = other._size; + _size = other._size; other._bytes = nullptr; - other._size = 0; + other._size = 0; } bool Data::isNull() const { @@ -88,35 +88,36 @@ ssize_t Data::getSize() const { return _size; } -void Data::copy(const unsigned char *bytes, const ssize_t size) { +void Data::copy(const unsigned char *bytes, ssize_t size) { clear(); if (size > 0) { - _size = size; + _size = size; _bytes = (unsigned char *)malloc(sizeof(unsigned char) * _size); memcpy(_bytes, bytes, _size); } } -void Data::fastSet(unsigned char *bytes, const ssize_t size) { +void Data::fastSet(unsigned char *bytes, ssize_t size) { free(_bytes); _bytes = bytes; - _size = size; + _size = size; } void Data::clear() { free(_bytes); _bytes = nullptr; - _size = 0; + _size = 0; } unsigned char *Data::takeBuffer(ssize_t *size) { auto buffer = getBytes(); - if (size) + if (size) { *size = getSize(); + } _bytes = nullptr; - _size = 0; + _size = 0; return buffer; } diff --git a/native/cocos/base/Data.h b/native/cocos/base/Data.h index 58af7c9959..f395aae3ac 100644 --- a/native/cocos/base/Data.h +++ b/native/cocos/base/Data.h @@ -25,12 +25,11 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef __CCDATA_H__ -#define __CCDATA_H__ +#pragma once #include "base/Macros.h" -#include // for ssize_t on android -#include // for ssize_t on linux +#include // for ssize_t on android +#include // for ssize_t on linux /** * @addtogroup base @@ -46,7 +45,7 @@ public: /** * This parameter is defined for convenient reference if a null Data object is needed. */ - static const Data Null; + static const Data NULL_DATA; /** * Constructor of Data. @@ -61,7 +60,7 @@ public: /** * Copy constructor of Data. */ - Data(Data &&other); + Data(Data &&other) noexcept; /** * Destructor of Data. @@ -76,7 +75,7 @@ public: /** * Overloads of operator=. */ - Data &operator=(Data &&other); + Data &operator=(Data &&other) noexcept; /** * Gets internal bytes of Data. It will return the pointer directly used in Data, so don't delete it. @@ -97,7 +96,7 @@ public: * Developer should free the pointer after invoking this method. * @see Data::fastSet */ - void copy(const unsigned char *bytes, const ssize_t size); + void copy(const unsigned char *bytes, ssize_t size); /** Fast set the buffer pointer and its size. Please use it carefully. * @param bytes The buffer pointer, note that it have to be allocated by 'malloc' or 'calloc', @@ -106,7 +105,7 @@ public: * 2. The pointer should not be used outside after it was passed to this method. * @see Data::copy */ - void fastSet(unsigned char *bytes, const ssize_t size); + void fastSet(unsigned char *bytes, ssize_t size); /** * Clears data, free buffer and reset data size. @@ -147,10 +146,7 @@ private: private: unsigned char *_bytes; - ssize_t _size; + ssize_t _size; }; } // namespace cc - -/** @} */ -#endif // __CCDATA_H__ diff --git a/native/cocos/base/IndexHandle.h b/native/cocos/base/IndexHandle.h index e7bef23310..935f201b41 100644 --- a/native/cocos/base/IndexHandle.h +++ b/native/cocos/base/IndexHandle.h @@ -41,15 +41,15 @@ public: using IndexType = Index; IndexHandle() noexcept = default; - explicit IndexHandle(IndexType const index) noexcept : _index(index) {} + explicit IndexHandle(IndexType index) noexcept : _index(index) {} inline bool isValid() const noexcept; inline void clear() noexcept; - inline bool operator<(IndexHandle const &rhs) const noexcept; - inline bool operator==(IndexHandle const &rhs) const noexcept; - inline bool operator!=(IndexHandle const &rhs) const noexcept; - inline operator IndexType() const noexcept; + inline bool operator<(IndexHandle const &rhs) const noexcept; + inline bool operator==(IndexHandle const &rhs) const noexcept; + inline bool operator!=(IndexHandle const &rhs) const noexcept; + inline operator IndexType() const noexcept; static IndexType constexpr UNINITIALIZED{std::numeric_limits::max()}; diff --git a/native/cocos/base/Log.cpp b/native/cocos/base/Log.cpp index 09eaa57327..c99f20bb16 100755 --- a/native/cocos/base/Log.cpp +++ b/native/cocos/base/Log.cpp @@ -24,6 +24,10 @@ ****************************************************************************/ #include "Log.h" + +#include +#include + #include "StringUtil.h" #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) @@ -49,13 +53,13 @@ namespace cc { #define LOG_USE_TIMESTAMP #if (CC_DEBUG == 1) -LogLevel Log::logLevel = LogLevel::DEBUG_; +LogLevel Log::_logLevel = LogLevel::LEVEL_DEBUG; #else -LogLevel Log::logLevel = LogLevel::INFO; +LogLevel Log::_logLevel = LogLevel::INFO; #endif -FILE *Log::_logFile = nullptr; -const char *LOG_LEVEL_DESCS[] = {"FATAL", "ERROR", "WARN", "INFO", "DEBUG"}; +FILE * Log::_logFile = nullptr; +const std::vector LOG_LEVEL_DESCS{"FATAL", "ERROR", "WARN", "INFO", "DEBUG"}; void Log::setLogFile(const std::string &filename) { #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) @@ -70,11 +74,11 @@ void Log::setLogFile(const std::string &filename) { msg += "------------------------------------------------------\n"; struct tm *tm_time; - time_t ct_time; + time_t ct_time; time(&ct_time); tm_time = localtime(&ct_time); - msg += StringUtil::Format("LOG DATE: %04d-%02d-%02d %02d:%02d:%02d\n", + msg += StringUtil::format("LOG DATE: %04d-%02d-%02d %02d:%02d:%02d\n", tm_time->tm_year + 1900, tm_time->tm_mon + 1, tm_time->tm_mday, @@ -98,27 +102,27 @@ void Log::close() { } void Log::logMessage(LogType type, LogLevel level, const char *formats, ...) { - char buff[4096]; - char *p = buff; + char buff[4096]; + char *p = buff; char *last = buff + sizeof(buff) - 3; #if defined(LOG_USE_TIMESTAMP) - struct tm *tm_time; - time_t ct_time; - time(&ct_time); - tm_time = localtime(&ct_time); + struct tm *tmTime; + time_t ctTime; + time(&ctTime); + tmTime = localtime(&ctTime); - p += sprintf(p, "%02d:%02d:%02d ", tm_time->tm_hour, tm_time->tm_min, tm_time->tm_sec); + p += sprintf(p, "%02d:%02d:%02d ", tmTime->tm_hour, tmTime->tm_min, tmTime->tm_sec); #endif - p += sprintf(p, "[%s]: ", LOG_LEVEL_DESCS[(int)level]); + p += sprintf(p, "[%s]: ", LOG_LEVEL_DESCS[static_cast(level)].c_str()); va_list args; va_start(args, formats); - // p += StringUtil::VPrintf(p, last, formats, args); + // p += StringUtil::vprintf(p, last, formats, args); int count = (int)(last - p); - int ret = vsnprintf(p, count, formats, args); + int ret = vsnprintf(p, count, formats, args); if (ret >= count - 1) { p += (count - 1); } else if (ret >= 0) { @@ -128,7 +132,7 @@ void Log::logMessage(LogType type, LogLevel level, const char *formats, ...) { va_end(args); *p++ = '\n'; - *p = 0; + *p = 0; if (_logFile) { fputs(buff, _logFile); @@ -136,12 +140,12 @@ void Log::logMessage(LogType type, LogLevel level, const char *formats, ...) { } #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) - WCHAR wszBuf[4096] = { 0 }; + WCHAR wszBuf[4096] = {0}; MultiByteToWideChar(CP_UTF8, 0, buff, -1, wszBuf, sizeof(wszBuf)); WORD color; switch (level) { - case LogLevel::DEBUG_: color = COLOR_DEBUG; break; + case LogLevel::LEVEL_DEBUG: color = COLOR_DEBUG; break; case LogLevel::INFO: color = COLOR_INFO; break; case LogLevel::WARN: color = COLOR_WARN; break; case LogLevel::ERR: color = COLOR_ERROR; break; @@ -156,7 +160,7 @@ void Log::logMessage(LogType type, LogLevel level, const char *formats, ...) { #elif (CC_PLATFORM == CC_PLATFORM_ANDROID) android_LogPriority priority; switch (level) { - case LogLevel::DEBUG_: priority = ANDROID_LOG_DEBUG; break; + case LogLevel::LEVEL_DEBUG: priority = ANDROID_LOG_DEBUG; break; case LogLevel::INFO: priority = ANDROID_LOG_INFO; break; case LogLevel::WARN: priority = ANDROID_LOG_WARN; break; case LogLevel::ERR: priority = ANDROID_LOG_ERROR; break; diff --git a/native/cocos/base/Log.h b/native/cocos/base/Log.h index 4a64b0488a..b807529b20 100755 --- a/native/cocos/base/Log.h +++ b/native/cocos/base/Log.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_KERNEL_LOG_H_ -#define CC_CORE_KERNEL_LOG_H_ +#pragma once #include "Macros.h" #include @@ -42,19 +41,19 @@ enum class LogLevel { ERR, WARN, INFO, - DEBUG_, // DEBUG is a macro on windows, so use DEBUG_ instead. + LEVEL_DEBUG, // DEBUG is a macro on windows, so use LEVEL_DEBUG instead. COUNT, }; class CC_DLL Log { public: - static LogLevel logLevel; // for read only + static LogLevel _logLevel; // for read only - static CC_INLINE void setLogLevel(LogLevel level) { logLevel = level; } + static CC_INLINE void setLogLevel(LogLevel level) { _logLevel = level; } static CC_INLINE FILE *getLogFile() { return _logFile; } - static void setLogFile(const std::string &filename); - static void close(); - static void logMessage(LogType type, LogLevel level, const char *formats, ...); + static void setLogFile(const std::string &filename); + static void close(); + static void logMessage(LogType type, LogLevel level, const char *formats, ...); private: static FILE *_logFile; @@ -63,20 +62,18 @@ private: } // namespace cc #define CC_LOG_DEBUG(formats, ...) \ - if (cc::Log::logLevel >= cc::LogLevel::DEBUG_) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::DEBUG_, formats, ##__VA_ARGS__) + if (cc::Log::_logLevel >= cc::LogLevel::LEVEL_DEBUG) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::LEVEL_DEBUG, formats, ##__VA_ARGS__) #define CC_LOG_INFO(formats, ...) \ - if (cc::Log::logLevel >= cc::LogLevel::INFO) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::INFO, formats, ##__VA_ARGS__) + if (cc::Log::_logLevel >= cc::LogLevel::INFO) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::INFO, formats, ##__VA_ARGS__) #define CC_LOG_WARNING(formats, ...) \ - if (cc::Log::logLevel >= cc::LogLevel::WARN) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::WARN, formats, ##__VA_ARGS__) -#define CC_LOG_ERROR_(formats, ...) \ - if (cc::Log::logLevel >= cc::LogLevel::ERR) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::ERR, formats, ##__VA_ARGS__) + if (cc::Log::_logLevel >= cc::LogLevel::WARN) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::WARN, formats, ##__VA_ARGS__) +#define DO_CC_LOG_ERROR(formats, ...) \ + if (cc::Log::_logLevel >= cc::LogLevel::ERR) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::ERR, formats, ##__VA_ARGS__) #define CC_LOG_FATAL(formats, ...) \ - if (cc::Log::logLevel >= cc::LogLevel::FATAL) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::FATAL, formats, ##__VA_ARGS__) + if (cc::Log::_logLevel >= cc::LogLevel::FATAL) cc::Log::logMessage(cc::LogType::KERNEL, cc::LogLevel::FATAL, formats, ##__VA_ARGS__) -#define CC_LOG_ERROR(formats, ...) \ - do { \ - CC_LOG_ERROR_("[ERROR] file %s: line %d ", __FILE__, __LINE__); \ - CC_LOG_ERROR_(formats, ##__VA_ARGS__); \ +#define CC_LOG_ERROR(formats, ...) \ + do { \ + DO_CC_LOG_ERROR("[ERROR] file %s: line %d ", __FILE__, __LINE__); \ + DO_CC_LOG_ERROR(formats, ##__VA_ARGS__); \ } while (0) - -#endif // CC_CORE_KERNEL_LOG_H_ diff --git a/native/cocos/base/Macros.h b/native/cocos/base/Macros.h index 63b802d42b..3a29228986 100644 --- a/native/cocos/base/Macros.h +++ b/native/cocos/base/Macros.h @@ -227,8 +227,6 @@ It should work same as apples CFSwapInt32LittleToHost(..) #define CC_FORMAT_PRINTF(formatPos, argPos) #endif -#define CC_CORE_CORE_DEF_H_ - // Initial compiler-related stuff to set. #define CC_COMPILER_MSVC 1 #define CC_COMPILER_CLANG 2 @@ -339,11 +337,6 @@ It should work same as apples CFSwapInt32LittleToHost(..) #define CC_CPU_ARCH CC_CPU_ARCH_32 #endif -#if (__cplusplus >= 201103L) - #define CC_C11 - #define register -#endif - // C11 features #if (CC_COMPILER == CC_COMPILER_MSVC) #if (_MSC_VER >= 1700) diff --git a/native/cocos/base/Map.h b/native/cocos/base/Map.h index 9f16e646a1..dc0fd677c5 100644 --- a/native/cocos/base/Map.h +++ b/native/cocos/base/Map.h @@ -40,10 +40,6 @@ #include "base/Random.h" #include "base/Ref.h" -/** - * @addtogroup base - * @{ - */ namespace cc { /** @@ -57,7 +53,7 @@ template class Map { public: #if USE_STD_UNORDERED_MAP - typedef std::unordered_map RefMap; + using RefMap = std::unordered_map; #else typedef std::map RefMap; #endif @@ -67,9 +63,9 @@ public: // ------------------------------------------ /** Iterator, can be used to loop the Map. */ - typedef typename RefMap::iterator iterator; + using iterator = typename RefMap::iterator; /** Const iterator, can be used to loop the Map. */ - typedef typename RefMap::const_iterator const_iterator; + using const_iterator = typename RefMap::const_iterator; /** Return iterator to beginning. */ iterator begin() { return _data.begin(); } @@ -110,7 +106,7 @@ public: } /** Move constructor. */ - Map(Map &&other) { + Map(Map &&other) noexcept { static_assert(std::is_convertible::value, "Invalid Type for cc::Map!"); CC_LOG_INFO("In the move constructor of Map!"); _data = std::move(other._data); @@ -213,17 +209,11 @@ public: * @param key Key value of the element whose mapped value is accessed. * Member type K is the keys for the elements in the container. defined in Map as an alias of its first template parameter (Key). */ - const V at(const K &key) const { - auto iter = _data.find(key); - if (iter != _data.end()) - return iter->second; - return nullptr; - } - V at(const K &key) { auto iter = _data.find(key); - if (iter != _data.end()) + if (iter != _data.end()) { return iter->second; + } return nullptr; } @@ -316,7 +306,7 @@ public: */ V getRandomObject() const { if (!_data.empty()) { - ssize_t randIdx = RandomHelper::random_int(0, static_cast(_data.size()) - 1); + auto randIdx = RandomHelper::randomInt(0, static_cast(_data.size()) - 1); const_iterator randIter = _data.begin(); std::advance(randIter, randIdx); return randIter->second; @@ -324,31 +314,6 @@ public: return nullptr; } - // Don't uses operator since we could not decide whether it needs 'retain'/'release'. - // V& operator[] ( const K& key ) - // { - // CC_LOG_DEBUG("copy: [] ref"); - // return _data[key]; - // } - // - // V& operator[] ( K&& key ) - // { - // CC_LOG_DEBUG("move [] ref"); - // return _data[key]; - // } - - // const V& operator[] ( const K& key ) const - // { - // CC_LOG_DEBUG("const copy []"); - // return _data.at(key); - // } - // - // const V& operator[] ( K&& key ) const - // { - // CC_LOG_DEBUG("const move []"); - // return _data.at(key); - // } - /** Copy assignment operator. */ Map &operator=(const Map &other) { if (this != &other) { @@ -361,7 +326,7 @@ public: } /** Move assignment operator. */ - Map &operator=(Map &&other) { + Map &operator=(Map &&other) noexcept { if (this != &other) { CC_LOG_INFO("In the move assignment operator of Map!"); clear(); @@ -382,5 +347,3 @@ protected: }; } // namespace cc -// end group -/// @} diff --git a/native/cocos/base/Object.h b/native/cocos/base/Object.h index 5d2185e313..22edd1ba1e 100755 --- a/native/cocos/base/Object.h +++ b/native/cocos/base/Object.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_KERNEL_OBJECT_H_ -#define CC_CORE_KERNEL_OBJECT_H_ +#pragma once #include "memory/AllocatedObj.h" #include "memory/MemDef.h" @@ -32,8 +31,6 @@ namespace cc { // Now define all the base classes for each allocation -typedef AllocatedObject Object; +using Object = AllocatedObject; } // namespace cc - -#endif // CC_CORE_KERNEL_OBJECT_H_ diff --git a/native/cocos/base/Random.cpp b/native/cocos/base/Random.cpp deleted file mode 100644 index 9ba8e7c9d4..0000000000 --- a/native/cocos/base/Random.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/**************************************************************************** - Copyright (c) 2010 cocos2d-x.org - Copyright (c) 2013-2016 Chukong Technologies Inc. - Copyright (c) 2017-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#include "base/Random.h" diff --git a/native/cocos/base/Random.h b/native/cocos/base/Random.h index 250c20b8b9..22d07ab3b5 100644 --- a/native/cocos/base/Random.h +++ b/native/cocos/base/Random.h @@ -25,18 +25,13 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef __ccRandom_H_ -#define __ccRandom_H_ +#pragma once #include #include #include "base/Macros.h" -/** -* @addtogroup base -* @{ -*/ namespace cc { /** @@ -46,14 +41,14 @@ namespace cc { class CC_DLL RandomHelper { public: template - static inline T random_real(T min, T max) { + static inline T randomReal(T min, T max) { std::uniform_real_distribution dist(min, max); auto &mt = RandomHelper::getEngine(); return dist(mt); } template - static inline T random_int(T min, T max) { + static inline T randomInt(T min, T max) { std::uniform_int_distribution dist(min, max); auto &mt = RandomHelper::getEngine(); return dist(mt); @@ -61,8 +56,8 @@ public: private: static inline std::mt19937 &getEngine() { - static std::random_device seed_gen; - static std::mt19937 engine(seed_gen()); + static std::random_device seedGen; + static std::mt19937 engine(seedGen()); return engine; } }; @@ -72,22 +67,22 @@ private: */ template inline T random(T min, T max) { - return RandomHelper::random_int(min, max); + return RandomHelper::randomInt(min, max); } template <> inline float random(float min, float max) { - return RandomHelper::random_real(min, max); + return RandomHelper::randomReal(min, max); } template <> inline long double random(long double min, long double max) { - return RandomHelper::random_real(min, max); + return RandomHelper::randomReal(min, max); } template <> inline double random(double min, double max) { - return RandomHelper::random_real(min, max); + return RandomHelper::randomReal(min, max); } /** @@ -101,7 +96,7 @@ inline int random() { * Returns a random float between -1 and 1. * It can be seeded using std::srand(seed); */ -inline float rand_minus1_1() { +inline float randMinus1_1() { // IDEA: using the new c++11 random engine generator // without a proper way to set a seed is not useful. // Resorting to the old random method since it can @@ -115,7 +110,7 @@ inline float rand_minus1_1() { * Returns a random float between 0 and 1. * It can be seeded using std::srand(seed); */ -inline float rand_0_1() { +inline float rand0_1() { // IDEA: using the new c++11 random engine generator // without a proper way to set a seed is not useful. // Resorting to the old random method since it can @@ -126,6 +121,3 @@ inline float rand_0_1() { }; } // namespace cc -// end group -/// @} -#endif //__ccRandom_H_ diff --git a/native/cocos/base/Ref.h b/native/cocos/base/Ref.h index 56bd954e72..d8b023e5d6 100644 --- a/native/cocos/base/Ref.h +++ b/native/cocos/base/Ref.h @@ -25,43 +25,31 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef __BASE_CCREF_H__ -#define __BASE_CCREF_H__ +#pragma once #include "base/Macros.h" #include "base/Config.h" #define CC_REF_LEAK_DETECTION 0 -/** - * @addtogroup base - * @{ - */ namespace cc { class Ref; /** * Interface that defines how to clone an Ref. - * @lua NA - * @js NA */ class CC_DLL Clonable { public: /** Returns a copy of the Ref. */ virtual Clonable *clone() const = 0; - /** - * @js NA - * @lua NA - */ - virtual ~Clonable(){}; + virtual ~Clonable() = default; }; /** * Ref is used for reference count management. If a class inherits from Ref, * then it is easy to be shared in different places. - * @js NA */ class CC_DLL Ref { public: @@ -71,7 +59,6 @@ public: * This increases the Ref's reference count. * * @see release, autorelease - * @js NA */ void retain(); @@ -84,7 +71,6 @@ public: * destructed. * * @see retain, autorelease - * @js NA */ void release(); @@ -100,8 +86,6 @@ public: * @returns The Ref itself. * * @see AutoreleasePool, retain, release - * @js NA - * @lua NA */ Ref *autorelease(); @@ -109,7 +93,6 @@ public: * Returns the Ref's current reference count. * * @returns The Ref's reference count. - * @js NA */ unsigned int getReferenceCount() const; @@ -118,16 +101,9 @@ protected: * Constructor * * The Ref's reference count is 1 after construction. - * @js NA */ Ref(); - /** - * Destructor - * - * @js NA - * @lua NA - */ virtual ~Ref(); protected: @@ -144,7 +120,3 @@ public: }; } // namespace cc -// end of base group -/** @} */ - -#endif // __BASE_CCREF_H__ diff --git a/native/cocos/base/Scheduler.cpp b/native/cocos/base/Scheduler.cpp index 2132caf6b7..facd92123e 100644 --- a/native/cocos/base/Scheduler.cpp +++ b/native/cocos/base/Scheduler.cpp @@ -32,6 +32,7 @@ #include #include "base/Macros.h" +#include "base/Log.h" namespace { constexpr unsigned CC_REPEAT_FOREVER{UINT_MAX - 1}; @@ -151,9 +152,10 @@ void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float in CCASSERT(target, "Argument target must be non-nullptr"); CCASSERT(!key.empty(), "key should not be empty!"); + auto iter = _hashForTimers.find(target); HashTimerEntry *element = nullptr; - if (_hashForTimers.count(target) > 0) { - element = static_cast(calloc(sizeof(*element), 1)); + if (iter == _hashForTimers.end()) { + element = new HashTimerEntry(); element->target = target; _hashForTimers[target] = element; @@ -161,6 +163,7 @@ void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float in // Is this the 1st element ? Then set the pause level to all the selectors of this target element->paused = paused; } else { + element = iter->second; CCASSERT(element->paused == paused, "element's paused should be paused!"); } diff --git a/native/cocos/base/Scheduler.h b/native/cocos/base/Scheduler.h index 9fa70dda76..9da227abb4 100644 --- a/native/cocos/base/Scheduler.h +++ b/native/cocos/base/Scheduler.h @@ -33,9 +33,10 @@ #include #include #include +#include #include "base/Ref.h" -#include "base/Vector.h" +//#include "base/Vector.h" namespace cc { diff --git a/native/cocos/base/StringHandle.cpp b/native/cocos/base/StringHandle.cpp index c704bcf46c..109f2d0d67 100644 --- a/native/cocos/base/StringHandle.cpp +++ b/native/cocos/base/StringHandle.cpp @@ -27,7 +27,7 @@ namespace cc { -StringHandle::StringHandle(const IndexType handle, const char *const str) noexcept +StringHandle::StringHandle(IndexType handle, const char *str) noexcept : IndexHandle(handle), _str(str) { } diff --git a/native/cocos/base/StringHandle.h b/native/cocos/base/StringHandle.h index a5933875b7..7cb3caeb40 100644 --- a/native/cocos/base/StringHandle.h +++ b/native/cocos/base/StringHandle.h @@ -32,7 +32,7 @@ namespace cc { class StringHandle final : public IndexHandle { public: StringHandle() noexcept = default; - explicit StringHandle(const IndexType handle, const char *const str) noexcept; + explicit StringHandle(IndexType handle, const char *str) noexcept; inline char const *str() const noexcept { return _str; } private: diff --git a/native/cocos/base/StringPool.h b/native/cocos/base/StringPool.h index 6017fb2ab9..867025d516 100644 --- a/native/cocos/base/StringPool.h +++ b/native/cocos/base/StringPool.h @@ -27,7 +27,7 @@ #include "StringHandle.h" #include "threading/ReadWriteLock.h" -#include +#include #include #include #include @@ -43,21 +43,21 @@ struct StringCompare final { template class StringPool final { public: - StringPool() noexcept = default; + StringPool() noexcept = default; ~StringPool(); StringPool(const StringPool &) = delete; StringPool(StringPool &&) = delete; StringPool &operator=(const StringPool &) = delete; StringPool &operator=(StringPool &&) = delete; - StringHandle stringToHandle(const char *const str) noexcept; + StringHandle stringToHandle(const char *str) noexcept; char const * handleToString(const StringHandle &handle) const noexcept; - StringHandle find(const char *const str) const noexcept; + StringHandle find(const char *str) const noexcept; private: - StringHandle doStringToHandle(const char *const str) noexcept; + StringHandle doStringToHandle(const char *str) noexcept; char const * doHandleToString(const StringHandle &handle) const noexcept; - StringHandle doFind(const char *const str) const noexcept; + StringHandle doFind(const char *str) const noexcept; std::map _stringToHandles{}; std::vector _handleToStrings{}; @@ -74,14 +74,13 @@ StringPool::~StringPool() { } template -inline StringHandle StringPool::stringToHandle(const char *const str) noexcept { +inline StringHandle StringPool::stringToHandle(const char *str) noexcept { if (ThreadSafe) { return _readWriteLock.LockWrite([this, str]() { return doStringToHandle(str); }); - } else { - return doStringToHandle(str); } + return doStringToHandle(str); } template @@ -90,24 +89,22 @@ inline char const *StringPool::handleToString(const StringHandle &ha return _readWriteLock.LockRead([this, handle]() { return doHandleToString(handle); }); - } else { - return doHandleToString(handle); } + return doHandleToString(handle); } template -StringHandle StringPool::find(const char *const str) const noexcept { +StringHandle StringPool::find(const char *str) const noexcept { if (ThreadSafe) { return _readWriteLock.LockRead([this, str]() { return doFind(str); }); - } else { - return doFind(str); } + return doFind(str); } template -inline StringHandle StringPool::doStringToHandle(const char *const str) noexcept { +inline StringHandle StringPool::doStringToHandle(const char *str) noexcept { auto const it = _stringToHandles.find(str); if (it == _stringToHandles.end()) { @@ -118,9 +115,8 @@ inline StringHandle StringPool::doStringToHandle(const char *const s _handleToStrings.emplace_back(strCache); _stringToHandles.emplace(strCache, name); return name; - } else { - return it->second; } + return it->second; } template @@ -130,7 +126,7 @@ inline char const *StringPool::doHandleToString(const StringHandle & } template -StringHandle StringPool::doFind(char const *const str) const noexcept { +StringHandle StringPool::doFind(char const *str) const noexcept { auto const it = _stringToHandles.find(str); return it == _stringToHandles.end() ? StringHandle{} : it->second; } diff --git a/native/cocos/base/StringUtil.cpp b/native/cocos/base/StringUtil.cpp index 027afed204..14442a554e 100755 --- a/native/cocos/base/StringUtil.cpp +++ b/native/cocos/base/StringUtil.cpp @@ -37,7 +37,7 @@ namespace cc { #if defined(_WIN32) -int StringUtil::VPrintf(char *buf, char *last, const char *fmt, va_list args) { +int StringUtil::vprintf(char *buf, const char *last, const char *fmt, va_list args) { if (last <= buf) return 0; int count = (int)(last - buf); @@ -53,56 +53,61 @@ int StringUtil::VPrintf(char *buf, char *last, const char *fmt, va_list args) { } } #else -int StringUtil::VPrintf(char *buf, char *last, const char *fmt, va_list args) { - if (last <= buf) return 0; +int StringUtil::vprintf(char *buf, const char *last, const char *fmt, va_list args) { + if (last <= buf) { + return 0; + } int count = (int)(last - buf); int ret = vsnprintf(buf, count, fmt, args); if (ret >= count - 1) { return count - 1; - } else if (ret < 0) { + } + if (ret < 0) { return 0; } return ret; } #endif -int StringUtil::Printf(char *buf, char *last, const char *fmt, ...) { +int StringUtil::printf(char *buf, const char *last, const char *fmt, ...) { va_list args; va_start(args, fmt); - int ret = VPrintf(buf, last, fmt, args); + int ret = vprintf(buf, last, fmt, args); va_end(args); return ret; } -String StringUtil::Format(const char *fmt, ...) { +String StringUtil::format(const char *fmt, ...) { char sz[4096]; va_list args; va_start(args, fmt); - VPrintf(sz, sz + sizeof(sz) - 1, fmt, args); + vprintf(sz, sz + sizeof(sz) - 1, fmt, args); va_end(args); return sz; } -StringArray StringUtil::Split(const String &str, const String &delims, uint max_splits) { +StringArray StringUtil::split(const String &str, const String &delims, uint maxSplits) { StringArray strs; - if (str.empty()) + if (str.empty()) { return strs; + } // Pre-allocate some space for performance - strs.reserve(max_splits ? max_splits + 1 : 16); // 16 is guessed capacity for most case + strs.reserve(maxSplits ? maxSplits + 1 : 16); // 16 is guessed capacity for most case - uint num_splits = 0; + uint numSplits = 0; // Use STL methods - size_t start, pos; + size_t start; + size_t pos; start = 0; do { pos = str.find_first_of(delims, start); if (pos == start) { // Do nothing start = pos + 1; - } else if (pos == String::npos || (max_splits && num_splits == max_splits)) { + } else if (pos == String::npos || (maxSplits && numSplits == maxSplits)) { // Copy the rest of the string strs.push_back(str.substr(start)); break; @@ -113,7 +118,7 @@ StringArray StringUtil::Split(const String &str, const String &delims, uint max_ } // parse up to next real data start = str.find_first_not_of(delims, start); - ++num_splits; + ++numSplits; } while (pos != String::npos); return strs; diff --git a/native/cocos/base/StringUtil.h b/native/cocos/base/StringUtil.h index c1d5963c1c..7a559d1a0b 100755 --- a/native/cocos/base/StringUtil.h +++ b/native/cocos/base/StringUtil.h @@ -33,10 +33,10 @@ namespace cc { class CC_DLL StringUtil { public: - static int VPrintf(char *buf, char *last, const char *fmt, va_list args); - static int Printf(char *buf, char *last, const char *fmt, ...); - static String Format(const char *fmt, ...); - static StringArray Split(const String &str, const String &delims, uint max_splits = 0); + static int vprintf(char *buf, const char *last, const char *fmt, va_list args); + static int printf(char *buf, const char *last, const char *fmt, ...); + static String format(const char *fmt, ...); + static StringArray split(const String &str, const String &delims, uint maxSplits = 0); }; } // namespace cc diff --git a/native/cocos/base/ThreadPool.cpp b/native/cocos/base/ThreadPool.cpp index d8057f7794..ce482673b6 100644 --- a/native/cocos/base/ThreadPool.cpp +++ b/native/cocos/base/ThreadPool.cpp @@ -26,8 +26,8 @@ #include "base/ThreadPool.h" #include "platform/StdC.h" -#include #include +#include #ifdef __ANDROID__ #include @@ -48,27 +48,27 @@ namespace cc { #define DEFAULT_SHRINK_STEP (2) #define DEFAULT_STRETCH_STEP (2) -static LegacyThreadPool *__defaultThreadPool = nullptr; +LegacyThreadPool *LegacyThreadPool::_instance = nullptr; LegacyThreadPool *LegacyThreadPool::getDefaultThreadPool() { - if (__defaultThreadPool == nullptr) { - __defaultThreadPool = newCachedThreadPool(DEFAULT_THREAD_POOL_MIN_NUM, - DEFAULT_THREAD_POOL_MAX_NUM, - DEFAULT_SHRINK_INTERVAL, DEFAULT_SHRINK_STEP, - DEFAULT_STRETCH_STEP); + if (LegacyThreadPool::_instance == nullptr) { + LegacyThreadPool::_instance = newCachedThreadPool(DEFAULT_THREAD_POOL_MIN_NUM, + DEFAULT_THREAD_POOL_MAX_NUM, + DEFAULT_SHRINK_INTERVAL, DEFAULT_SHRINK_STEP, + DEFAULT_STRETCH_STEP); } - return __defaultThreadPool; + return LegacyThreadPool::_instance; } void LegacyThreadPool::destroyDefaultThreadPool() { - delete __defaultThreadPool; - __defaultThreadPool = nullptr; + delete LegacyThreadPool::_instance; + LegacyThreadPool::_instance = nullptr; } LegacyThreadPool *LegacyThreadPool::newCachedThreadPool(int minThreadNum, int maxThreadNum, int shrinkInterval, - int shrinkStep, int stretchStep) { - LegacyThreadPool *pool = new (std::nothrow) LegacyThreadPool(minThreadNum, maxThreadNum); + int shrinkStep, int stretchStep) { + auto *pool = new (std::nothrow) LegacyThreadPool(minThreadNum, maxThreadNum); if (pool != nullptr) { pool->setFixedSize(false); pool->setShrinkInterval(shrinkInterval); @@ -79,7 +79,7 @@ LegacyThreadPool *LegacyThreadPool::newCachedThreadPool(int minThreadNum, int ma } LegacyThreadPool *LegacyThreadPool::newFixedThreadPool(int threadNum) { - LegacyThreadPool *pool = new (std::nothrow) LegacyThreadPool(threadNum, threadNum); + auto *pool = new (std::nothrow) LegacyThreadPool(threadNum, threadNum); if (pool != nullptr) { pool->setFixedSize(true); } @@ -87,7 +87,7 @@ LegacyThreadPool *LegacyThreadPool::newFixedThreadPool(int threadNum) { } LegacyThreadPool *LegacyThreadPool::newSingleThreadPool() { - LegacyThreadPool *pool = new (std::nothrow) LegacyThreadPool(1, 1); + auto *pool = new (std::nothrow) LegacyThreadPool(1, 1); if (pool != nullptr) { pool->setFixedSize(true); } @@ -95,7 +95,8 @@ LegacyThreadPool *LegacyThreadPool::newSingleThreadPool() { } LegacyThreadPool::LegacyThreadPool(int minNum, int maxNum) -: _isDone(false), _isStop(false), _idleThreadNum(0), _minThreadNum(minNum), _maxThreadNum(maxNum), _initedThreadNum(0), _shrinkInterval(DEFAULT_SHRINK_INTERVAL), _shrinkStep(DEFAULT_SHRINK_STEP), _stretchStep(DEFAULT_STRETCH_STEP), _isFixedSize(false) { +: _minThreadNum(minNum), + _maxThreadNum(maxNum) { init(); } @@ -106,7 +107,7 @@ LegacyThreadPool::~LegacyThreadPool() { // number of idle threads int LegacyThreadPool::getIdleThreadNum() const { - LegacyThreadPool *thiz = const_cast(this); + auto * thiz = const_cast(this); std::lock_guard lk(thiz->_idleThreadNumMutex); return _idleThreadNum; } @@ -129,7 +130,7 @@ void LegacyThreadPool::init() { _initedFlags[i] = std::make_shared>(true); ++_initedThreadNum; } else { - _abortFlags[i] = std::make_shared>(true); + _abortFlags[i] = std::make_shared>(true); _initedFlags[i] = std::make_shared>(false); } } @@ -141,7 +142,7 @@ bool LegacyThreadPool::tryShrinkPool() { auto before = std::chrono::high_resolution_clock::now(); std::vector threadIDsToJoin; - int maxThreadNumToJoin = std::min(_initedThreadNum - _minThreadNum, _shrinkStep); + int maxThreadNumToJoin = std::min(_initedThreadNum - _minThreadNum, _shrinkStep); for (int i = 0; i < _maxThreadNum; ++i) { if ((int)threadIDsToJoin.size() >= maxThreadNumToJoin) { @@ -176,10 +177,7 @@ bool LegacyThreadPool::tryShrinkPool() { LOGD("shrink %d threads, waste: %f seconds\n", (int)threadIDsToJoin.size(), seconds); - if (_initedThreadNum <= _minThreadNum) - return true; - - return false; + return (_initedThreadNum <= _minThreadNum); } void LegacyThreadPool::stretchPool(int count) { @@ -202,7 +200,7 @@ void LegacyThreadPool::stretchPool(int count) { } if (newThreadCount > 0) { - auto after = std::chrono::high_resolution_clock::now(); + auto after = std::chrono::high_resolution_clock::now(); float seconds = TIME_MINUS(after, before); LOGD("stretch pool from %d to %d, waste %f seconds\n", oldThreadCount, _initedThreadNum, @@ -211,7 +209,7 @@ void LegacyThreadPool::stretchPool(int count) { } void LegacyThreadPool::pushTask(const std::function &runnable, - TaskType type /* = DEFAULT*/) { + TaskType type /* = DEFAULT*/) { if (!_isFixedSize) { _idleThreadNumMutex.lock(); int idleNum = _idleThreadNum; @@ -219,7 +217,7 @@ void LegacyThreadPool::pushTask(const std::function &runnable, if (idleNum > _minThreadNum) { if (_taskQueue.empty()) { - auto now = std::chrono::high_resolution_clock::now(); + auto now = std::chrono::high_resolution_clock::now(); float seconds = TIME_MINUS(now, _lastShrinkTime); if (seconds > _shrinkInterval) { tryShrinkPool(); @@ -236,9 +234,9 @@ void LegacyThreadPool::pushTask(const std::function &runnable, }); Task task; - task.type = type; + task.type = type; task.callback = callback; - _taskQueue.push(std::move(task)); + _taskQueue.push(task); { std::unique_lock lock(_mutex); @@ -297,23 +295,28 @@ void LegacyThreadPool::setFixedSize(bool isFixedSize) { } void LegacyThreadPool::setShrinkInterval(int seconds) { - if (seconds >= 0) - _shrinkInterval = (float)seconds; + if (seconds >= 0) { + _shrinkInterval = static_cast(seconds); + } } void LegacyThreadPool::setShrinkStep(int step) { - if (step > 0) + if (step > 0) { _shrinkStep = step; + } } void LegacyThreadPool::setStretchStep(int step) { - if (step > 0) + if (step > 0) { _stretchStep = step; + } } void LegacyThreadPool::stop() { - if (_isDone || _isStop) + if (_isDone || _isStop) { return; + } + _isDone = true; // give the waiting threads a command to finish { @@ -332,21 +335,22 @@ void LegacyThreadPool::stop() { } void LegacyThreadPool::setThread(int tid) { - std::shared_ptr> abort_ptr( + std::shared_ptr> abortPtr( _abortFlags[tid]); // a copy of the shared ptr to the flag - auto f = [this, tid, abort_ptr /* a copy of the shared ptr to the abort */]() { - std::atomic &abort = *abort_ptr; - Task task; - bool isPop = _taskQueue.pop(task); + auto f = [this, tid, abortPtr /* a copy of the shared ptr to the abort */]() { + std::atomic &abort = *abortPtr; + Task task; + bool isPop = _taskQueue.pop(task); while (true) { while (isPop) { // if there is anything in the queue std::unique_ptr> func( task.callback); // at return, delete the function even if an exception occurred (*task.callback)(tid); - if (abort) + if (abort) { return; // the thread is wanted to stop, return even if the queue is not empty yet - else - isPop = _taskQueue.pop(task); + } + + isPop = _taskQueue.pop(task); } // the queue is empty here, wait for the next command std::unique_lock lock(_mutex); @@ -364,8 +368,9 @@ void LegacyThreadPool::setThread(int tid) { --_idleThreadNum; _idleThreadNumMutex.unlock(); - if (!isPop) + if (!isPop) { return; // if the queue is empty and isDone == true or *flag then return + } } }; _threads[tid].reset( diff --git a/native/cocos/base/ThreadPool.h b/native/cocos/base/ThreadPool.h index ce0e20d4f5..9a929a0c0f 100644 --- a/native/cocos/base/ThreadPool.h +++ b/native/cocos/base/ThreadPool.h @@ -28,23 +28,18 @@ #include "base/Utils.h" -#include -#include -#include -#include -#include -#include -#include #include #include +#include +#include +#include +#include +#include +#include +#include namespace cc { -/** - * @addtogroup base - * @{ - */ - class CC_DLL LegacyThreadPool { public: enum class TaskType { @@ -70,7 +65,7 @@ public: * @note The return value has to be delete while it doesn't needed */ static LegacyThreadPool *newCachedThreadPool(int minThreadNum, int maxThreadNum, int shrinkInterval, - int shrinkStep, int stretchStep); + int shrinkStep, int stretchStep); /* * Creates a thread pool with fixed thread count @@ -126,11 +121,11 @@ private: LegacyThreadPool(const LegacyThreadPool &); - LegacyThreadPool(LegacyThreadPool &&); + LegacyThreadPool(LegacyThreadPool &&) noexcept; LegacyThreadPool &operator=(const LegacyThreadPool &); - LegacyThreadPool &operator=(LegacyThreadPool &&); + LegacyThreadPool &operator=(LegacyThreadPool &&) noexcept; void init(); @@ -150,7 +145,7 @@ private: void stretchPool(int count); - std::vector> _threads; + std::vector> _threads; std::vector>> _abortFlags; std::vector>> _idleFlags; std::vector>> _initedFlags; @@ -175,51 +170,50 @@ private: } bool empty() const { - auto thiz = const_cast(this); + auto thiz = const_cast(this); std::unique_lock lock(thiz->mutex); return this->q.empty(); } size_t size() const { - auto thiz = const_cast(this); + auto thiz = const_cast(this); std::unique_lock lock(thiz->mutex); return this->q.size(); } private: std::queue q; - std::mutex mutex; + std::mutex mutex; }; struct Task { - TaskType type; + TaskType type; std::function *callback; }; + static LegacyThreadPool *_instance; + ThreadSafeQueue _taskQueue; - std::atomic _isDone; - std::atomic _isStop; + std::atomic _isDone{false}; + std::atomic _isStop{false}; //IDEA: std::atomic isn't supported by ndk-r10e while compiling with `armeabi` arch. // So using a mutex here instead. - int _idleThreadNum; // how many threads are waiting + int _idleThreadNum{0}; // how many threads are waiting std::mutex _idleThreadNumMutex; - std::mutex _mutex; + std::mutex _mutex; std::condition_variable _cv; - int _minThreadNum; - int _maxThreadNum; - int _initedThreadNum; + int _minThreadNum{0}; + int _maxThreadNum{0}; + int _initedThreadNum{0}; std::chrono::time_point _lastShrinkTime; - float _shrinkInterval; - int _shrinkStep; - int _stretchStep; - bool _isFixedSize; + float _shrinkInterval{5}; + int _shrinkStep{2}; + int _stretchStep{2}; + bool _isFixedSize{false}; }; -// end of base group -/// @} - } // namespace cc diff --git a/native/cocos/base/TypeDef.h b/native/cocos/base/TypeDef.h index 22e3967e65..98a2540e9f 100755 --- a/native/cocos/base/TypeDef.h +++ b/native/cocos/base/TypeDef.h @@ -25,11 +25,10 @@ #pragma once -typedef unsigned int uint; -typedef unsigned short ushort; -typedef unsigned long ulong; - -typedef unsigned int FlagBits; +using uint = unsigned int; +using ushort = unsigned short; +using ulong = unsigned long; +using FlagBits = unsigned int; #define CC_ENUM_OPERATORS(type_) \ CC_INLINE type_ operator|(type_ lhs, type_ rhs) { return (type_)(static_cast::type /**/>(lhs) | static_cast::type /**/>(rhs)); } \ diff --git a/native/cocos/base/UTF8.cpp b/native/cocos/base/UTF8.cpp index 3f651c8f28..6606b25b7b 100644 --- a/native/cocos/base/UTF8.cpp +++ b/native/cocos/base/UTF8.cpp @@ -26,11 +26,12 @@ ****************************************************************************/ #include "base/UTF8.h" -#include "base/Log.h" -#include "ConvertUTF/ConvertUTF.h" -#include -#include +#include +#include + +#include "ConvertUTF/ConvertUTF.h" +#include "base/Log.h" namespace cc { @@ -65,8 +66,11 @@ unsigned int getIndexOfLastNotChar16(const std::vector &str, char16_t int len = static_cast(str.size()); int i = len - 1; - for (; i >= 0; --i) - if (str[i] != c) return i; + for (; i >= 0; --i) { + if (str[i] != c) { + return i; + } + } return i; } @@ -81,8 +85,9 @@ unsigned int getIndexOfLastNotChar16(const std::vector &str, char16_t * */ static void trimUTF16VectorFromIndex(std::vector &str, int index) { int size = static_cast(str.size()); - if (index >= size || index < 0) + if (index >= size || index < 0) { return; + } str.erase(str.begin() + index, str.begin() + size); } @@ -112,39 +117,43 @@ bool isCJKUnicode(char16_t ch) { void trimUTF16Vector(std::vector &str) { int len = static_cast(str.size()); - if (len <= 0) + if (len <= 0) { return; + } - int last_index = len - 1; + int lastIndex = len - 1; // Only start trimming if the last character is whitespace.. - if (isUnicodeSpace(str[last_index])) { - for (int i = last_index - 1; i >= 0; --i) { - if (isUnicodeSpace(str[i])) - last_index = i; - else + if (isUnicodeSpace(str[lastIndex])) { + for (int i = lastIndex - 1; i >= 0; --i) { + if (isUnicodeSpace(str[i])) { + lastIndex = i; + } + + else { break; + } } - trimUTF16VectorFromIndex(str, last_index); + trimUTF16VectorFromIndex(str, lastIndex); } } template struct ConvertTrait { - typedef T ArgType; + using ArgType = T; }; template <> struct ConvertTrait { - typedef UTF8 ArgType; + using ArgType = UTF8; }; template <> struct ConvertTrait { - typedef UTF16 ArgType; + using ArgType = UTF16; }; template <> struct ConvertTrait { - typedef UTF32 ArgType; + using ArgType = UTF32; }; template , typename ToTrait = ConvertTrait> @@ -162,10 +171,10 @@ bool utfConvert( } // See: http://unicode.org/faq/utf_bom.html#gen6 - static const int most_bytes_per_character = 4; + static const int mostBytesPerCharacter = 4; const size_t maxNumberOfChars = from.length(); // all UTFs at most one element represents one character. - const size_t numberOfOut = maxNumberOfChars * most_bytes_per_character / sizeof(To); + const size_t numberOfOut = maxNumberOfChars * mostBytesPerCharacter / sizeof(To); std::basic_string working(numberOfOut, 0); @@ -174,9 +183,10 @@ bool utfConvert( auto outbeg = reinterpret_cast(&working[0]); auto outend = outbeg + working.length(); - auto r = cvtfunc(&inbeg, inend, &outbeg, outend, strictConversion); - if (r != conversionOK) + auto r = cvtfunc(&inbeg, inend, &outbeg, outend, strictConversion); + if (r != conversionOK) { return false; + } working.resize(reinterpret_cast(outbeg) - &working[0]); to = std::move(working); @@ -185,9 +195,9 @@ bool utfConvert( }; CC_DLL void UTF8LooseFix(const std::string &in, std::string &out) { - const UTF8 *p = (const UTF8 *)in.c_str(); - const UTF8 *end = (const UTF8 *)(in.c_str() + in.size()); - unsigned ucharLen = 0; + const UTF8 *p = (const UTF8 *)in.c_str(); + const UTF8 *end = (const UTF8 *)(in.c_str() + in.size()); + unsigned ucharLen = 0; while (p < end) { ucharLen = getNumBytesForUTF8(*p); if (isLegalUTF8Sequence(p, p + ucharLen)) { @@ -227,11 +237,11 @@ bool UTF32ToUTF16(const std::u32string &utf32, std::u16string &outUtf16) { #if (CC_PLATFORM == CC_PLATFORM_ANDROID) std::string getStringUTFCharsJNI(JNIEnv *env, jstring srcjStr, bool *ret) { - std::string utf8Str; - const unsigned short *unicodeChar = (const unsigned short *)env->GetStringChars(srcjStr, nullptr); - size_t unicodeCharLength = env->GetStringLength(srcjStr); + std::string utf8Str; + auto * unicodeChar = static_cast(env->GetStringChars(srcjStr, nullptr)); + size_t unicodeCharLength = env->GetStringLength(srcjStr); const std::u16string unicodeStr((const char16_t *)unicodeChar, unicodeCharLength); - bool flag = UTF16ToUTF8(unicodeStr, utf8Str); + bool flag = UTF16ToUTF8(unicodeStr, utf8Str); if (ret) { *ret = flag; @@ -246,7 +256,7 @@ std::string getStringUTFCharsJNI(JNIEnv *env, jstring srcjStr, bool *ret) { jstring newStringUTFJNI(JNIEnv *env, const std::string &utf8Str, bool *ret) { std::u16string utf16Str; - bool flag = cc::StringUtils::UTF8ToUTF16(utf8Str, utf16Str); + bool flag = cc::StringUtils::UTF8ToUTF16(utf8Str, utf16Str); if (ret) { *ret = flag; @@ -268,16 +278,10 @@ long getCharacterCountInUTF8String(const std::string &utf8) { return getUTF8StringLength((const UTF8 *)utf8.c_str()); } -StringUTF8::StringUTF8() { -} - StringUTF8::StringUTF8(const std::string &newStr) { replace(newStr); } -StringUTF8::~StringUTF8() { -} - std::size_t StringUTF8::length() const { return _str.size(); } @@ -320,9 +324,8 @@ bool StringUTF8::deleteChar(std::size_t pos) { if (pos < _str.size()) { _str.erase(_str.begin() + pos); return true; - } else { - return false; } + return false; } bool StringUTF8::insert(std::size_t pos, const std::string &insertStr) { @@ -336,9 +339,8 @@ bool StringUTF8::insert(std::size_t pos, const StringUTF8 &insertStr) { _str.insert(_str.begin() + pos, insertStr._str.begin(), insertStr._str.end()); return true; - } else { - return false; } + return false; } } // namespace StringUtils diff --git a/native/cocos/base/UTF8.h b/native/cocos/base/UTF8.h index ea19b26848..a75d866118 100644 --- a/native/cocos/base/UTF8.h +++ b/native/cocos/base/UTF8.h @@ -25,13 +25,12 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef __cocos2dx__ccUTF8__ -#define __cocos2dx__ccUTF8__ +#pragma once #include "base/Macros.h" -#include -#include #include +#include +#include #if (CC_PLATFORM == CC_PLATFORM_ANDROID) #include "platform/android/jni/JniHelper.h" @@ -190,16 +189,16 @@ class CC_DLL StringUTF8 { public: struct CharUTF8 { std::string _char; - bool isAnsi() { return _char.size() == 1; } + bool isAnsi() { return _char.size() == 1; } }; - typedef std::vector CharUTF8Store; + using CharUTF8Store = std::vector; - StringUTF8(); - StringUTF8(const std::string &newStr); - ~StringUTF8(); + StringUTF8() = default; + explicit StringUTF8(const std::string &newStr); + ~StringUTF8() = default; std::size_t length() const; - void replace(const std::string &newStr); + void replace(const std::string &newStr); std::string getAsCharSequence() const; @@ -216,5 +215,3 @@ private: } // namespace StringUtils } // namespace cc - -#endif /** defined(__cocos2dx__ccUTF8__) */ diff --git a/native/cocos/base/Utils.cpp b/native/cocos/base/Utils.cpp index 109bd79728..d966cbf12f 100644 --- a/native/cocos/base/Utils.cpp +++ b/native/cocos/base/Utils.cpp @@ -34,7 +34,7 @@ #endif #include -#include +#include #define BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED #include "boost/stacktrace.hpp" diff --git a/native/cocos/base/Value.cpp b/native/cocos/base/Value.cpp index 9f6d4e7337..11f2a18984 100644 --- a/native/cocos/base/Value.cpp +++ b/native/cocos/base/Value.cpp @@ -25,22 +25,23 @@ ****************************************************************************/ #include "base/Value.h" -#include "base/Utils.h" +#include #include -#include +#include #include -#include -#include #include +#include + +#include "base/Utils.h" namespace cc { -const ValueVector ValueVectorNull; -const ValueMap ValueMapNull; -const ValueMapIntKey ValueMapIntKeyNull; +const ValueVector VALUE_VECTOR_NULL; +const ValueMap VALUE_MAP_NULL; +const ValueMapIntKey VALUE_MAP_INT_KEY_NULL; -const Value Value::Null; +const Value Value::VALUE_NULL; Value::Value() : _type(Type::NONE) { @@ -87,43 +88,43 @@ Value::Value(const char *v) Value::Value(const std::string &v) : _type(Type::STRING) { - _field.strVal = new (std::nothrow) std::string(); + _field.strVal = new (std::nothrow) std::string(); *_field.strVal = v; } Value::Value(const ValueVector &v) : _type(Type::VECTOR) { - _field.vectorVal = new (std::nothrow) ValueVector(); + _field.vectorVal = new (std::nothrow) ValueVector(); *_field.vectorVal = v; } Value::Value(ValueVector &&v) : _type(Type::VECTOR) { - _field.vectorVal = new (std::nothrow) ValueVector(); + _field.vectorVal = new (std::nothrow) ValueVector(); *_field.vectorVal = std::move(v); } Value::Value(const ValueMap &v) : _type(Type::MAP) { - _field.mapVal = new (std::nothrow) ValueMap(); + _field.mapVal = new (std::nothrow) ValueMap(); *_field.mapVal = v; } Value::Value(ValueMap &&v) : _type(Type::MAP) { - _field.mapVal = new (std::nothrow) ValueMap(); + _field.mapVal = new (std::nothrow) ValueMap(); *_field.mapVal = std::move(v); } Value::Value(const ValueMapIntKey &v) : _type(Type::INT_KEY_MAP) { - _field.intKeyMapVal = new (std::nothrow) ValueMapIntKey(); + _field.intKeyMapVal = new (std::nothrow) ValueMapIntKey(); *_field.intKeyMapVal = v; } Value::Value(ValueMapIntKey &&v) : _type(Type::INT_KEY_MAP) { - _field.intKeyMapVal = new (std::nothrow) ValueMapIntKey(); + _field.intKeyMapVal = new (std::nothrow) ValueMapIntKey(); *_field.intKeyMapVal = std::move(v); } @@ -132,7 +133,7 @@ Value::Value(const Value &other) *this = other; } -Value::Value(Value &&other) +Value::Value(Value &&other) noexcept : _type(Type::NONE) { *this = std::move(other); } @@ -195,7 +196,7 @@ Value &Value::operator=(const Value &other) { return *this; } -Value &Value::operator=(Value &&other) { +Value &Value::operator=(Value &&other) noexcept { if (this != &other) { clear(); switch (other._type) { @@ -337,9 +338,18 @@ bool Value::operator==(const Value &v) { return t == v; } bool Value::operator==(const Value &v) const { - if (this == &v) return true; - if (v._type != this->_type) return false; - if (this->isNull()) return true; + if (this == &v) { + return true; + } + + if (v._type != this->_type) { + return false; + } + + if (this->isNull()) { + return true; + } + switch (_type) { case Type::BYTE: return v._field.byteVal == this->_field.byteVal; case Type::INTEGER: return v._field.intVal == this->_field.intVal; @@ -349,12 +359,14 @@ bool Value::operator==(const Value &v) const { case Type::FLOAT: return std::abs(v._field.floatVal - this->_field.floatVal) <= FLT_EPSILON; case Type::DOUBLE: return std::abs(v._field.doubleVal - this->_field.doubleVal) <= DBL_EPSILON; case Type::VECTOR: { - const auto &v1 = *(this->_field.vectorVal); - const auto &v2 = *(v._field.vectorVal); - const auto size = v1.size(); + const auto &v1 = *(this->_field.vectorVal); + const auto &v2 = *(v._field.vectorVal); + const auto size = v1.size(); if (size == v2.size()) { for (size_t i = 0; i < size; i++) { - if (v1[i] != v2[i]) return false; + if (v1[i] != v2[i]) { + return false; + } } return true; } @@ -566,27 +578,27 @@ bool Value::asBool() const { } if (_type == Type::BYTE) { - return _field.byteVal == 0 ? false : true; + return _field.byteVal != 0; } if (_type == Type::STRING) { - return (*_field.strVal == "0" || *_field.strVal == "false") ? false : true; + return *_field.strVal != "0" || *_field.strVal != "false"; } if (_type == Type::INTEGER) { - return _field.intVal == 0 ? false : true; + return _field.intVal != 0; } if (_type == Type::UNSIGNED) { - return _field.unsignedVal == 0 ? false : true; + return _field.unsignedVal != 0; } if (_type == Type::FLOAT) { - return _field.floatVal == 0.0f ? false : true; + return _field.floatVal != 0.0f; } if (_type == Type::DOUBLE) { - return _field.doubleVal == 0.0 ? false : true; + return _field.doubleVal != 0.0; } return false; @@ -671,8 +683,9 @@ static std::string visit(const Value &v, int depth); static std::string visitVector(const ValueVector &v, int depth) { std::stringstream ret; - if (depth > 0) + if (depth > 0) { ret << "\n"; + } ret << getTabs(depth) << "[\n"; @@ -691,8 +704,9 @@ template static std::string visitMap(const T &v, int depth) { std::stringstream ret; - if (depth > 0) + if (depth > 0) { ret << "\n"; + } ret << getTabs(depth) << "{\n"; @@ -784,8 +798,9 @@ void Value::clear() { } void Value::reset(Type type) { - if (_type == type) + if (_type == type) { return; + } clear(); diff --git a/native/cocos/base/Value.h b/native/cocos/base/Value.h index 3c0a00a3ba..a43ad953fb 100644 --- a/native/cocos/base/Value.h +++ b/native/cocos/base/Value.h @@ -33,13 +33,13 @@ namespace cc { class Value; -typedef vector ValueVector; -typedef unordered_map ValueMap; -typedef unordered_map ValueMapIntKey; +using ValueVector = vector; +using ValueMap = unordered_map; +using ValueMapIntKey = unordered_map; -CC_DLL extern const ValueVector ValueVectorNull; -CC_DLL extern const ValueMap ValueMapNull; -CC_DLL extern const ValueMapIntKey ValueMapIntKeyNull; +CC_DLL extern const ValueVector VALUE_VECTOR_NULL; +CC_DLL extern const ValueMap VALUE_MAP_NULL; +CC_DLL extern const ValueMapIntKey VALUE_MAP_INT_KEY_NULL; /* * This class is provide as a wrapper of basic types, such as int and bool. @@ -47,7 +47,7 @@ CC_DLL extern const ValueMapIntKey ValueMapIntKeyNull; class CC_DLL Value { public: /** A predefined Value that has not value. */ - static const Value Null; + static const Value VALUE_NULL; /** Default constructor. */ Value(); @@ -94,7 +94,7 @@ public: /** Create a Value by another Value object. */ Value(const Value &other); /** Create a Value by a Value object. It will use std::move internally. */ - Value(Value &&other); + Value(Value &&other) noexcept; /** Destructor. */ ~Value(); @@ -102,7 +102,7 @@ public: /** Assignment operator, assign from Value to Value. */ Value &operator=(const Value &other); /** Assignment operator, assign from Value to Value. It will use std::move internally. */ - Value &operator=(Value &&other); + Value &operator=(Value &&other) noexcept; /** Assignment operator, assign from unsigned char to Value. */ Value &operator=(unsigned char v); diff --git a/native/cocos/base/Vector.h b/native/cocos/base/Vector.h index de0b1575d6..9924482f13 100644 --- a/native/cocos/base/Vector.h +++ b/native/cocos/base/Vector.h @@ -28,26 +28,21 @@ #pragma once -#include -#include #include // for std::find +#include +#include +#include "base/Log.h" #include "base/Macros.h" #include "base/Random.h" #include "base/Ref.h" -#include "base/Log.h" -/** - * @addtogroup base - * @{ - */ namespace cc { /* * Similar to std::vector, but it will manage reference count automatically internally. * Which means it will invoke Ref::retain() when adding an element, and invoke Ref::release() when removing an element. * @warn The element should be `Ref` or its sub-class. - * @lua NA */ template class Vector { @@ -149,7 +144,7 @@ public: } /** Constructor with std::move semantic. */ - Vector(Vector &&other) { + Vector(Vector &&other) noexcept { static_assert(std::is_convertible::value, "Invalid Type for cc::Vector!"); CC_LOG_INFO("In the move constructor of Vector!"); _data = std::move(other._data); @@ -167,7 +162,7 @@ public: } /** Copy assignment operator with std::move semantic. */ - Vector &operator=(Vector &&other) { + Vector &operator=(Vector &&other) noexcept { if (this != &other) { CC_LOG_INFO("In the move assignment operator!"); clear(); @@ -176,17 +171,6 @@ public: return *this; } - // Don't uses operator since we could not decide whether it needs 'retain'/'release'. - // T& operator[](int index) - // { - // return _data[index]; - // } - // - // const T& operator[](int index) const - // { - // return _data[index]; - // } - /** * Requests that the vector capacity be at least enough to contain n elements. * @param capacity Minimum capacity requested of the Vector. @@ -220,15 +204,16 @@ public: } /** Returns the maximum number of elements that the Vector can hold. */ - ssize_t max_size() const { + ssize_t maxSize() const { return _data.max_size(); } /** Returns index of a certain object, return UINT_MAX if doesn't contain the object */ ssize_t getIndex(T object) const { auto iter = std::find(_data.begin(), _data.end(), object); - if (iter != _data.end()) + if (iter != _data.end()) { return iter - _data.begin(); + } return -1; } @@ -270,7 +255,7 @@ public: /** Returns a random element of the Vector. */ T getRandomObject() const { if (!_data.empty()) { - ssize_t randIdx = RandomHelper::random_int(0, static_cast(_data.size()) - 1); + auto randIdx = static_cast(RandomHelper::randomInt(0, static_cast(_data.size()) - 1)); return *(_data.begin() + randIdx); } return nullptr; @@ -292,8 +277,9 @@ public: */ bool equals(const Vector &other) const { ssize_t s = this->size(); - if (s != other.size()) + if (s != other.size()) { return false; + } for (ssize_t i = 0; i < s; i++) { if (this->at(i) != other.at(i)) { @@ -464,7 +450,4 @@ protected: std::vector _data; }; -// end of base group -/** @} */ - } // namespace cc diff --git a/native/cocos/base/memory/MemTracker.cpp b/native/cocos/base/memory/MemTracker.cpp index d36ba53f4e..d70ac9aa02 100755 --- a/native/cocos/base/memory/MemTracker.cpp +++ b/native/cocos/base/memory/MemTracker.cpp @@ -85,7 +85,7 @@ static int HashNodeCompare(const void *arg, const void *obj) { static void HashNodeListAndFree(void *arg, void *obj) { AllocHashNode *node = (AllocHashNode *)obj; AllocListParam *param = (AllocListParam *)arg; - int len = StringUtil::Printf(param->buf, param->last, "%s(%u): {%u bytes} functions: %s\n", (node->filename ? node->filename : "(unknown source)"), + int len = StringUtil::printf(param->buf, param->last, "%s(%u): {%u bytes} functions: %s\n", (node->filename ? node->filename : "(unknown source)"), node->line, node->bytes, (node->function ? node->function : "")); param->buf += len; FreeHashNode(node); diff --git a/native/cocos/bindings/manual/jsb_conversions.cpp b/native/cocos/bindings/manual/jsb_conversions.cpp index e28e166f60..b871419e79 100644 --- a/native/cocos/bindings/manual/jsb_conversions.cpp +++ b/native/cocos/bindings/manual/jsb_conversions.cpp @@ -24,12 +24,14 @@ ****************************************************************************/ #include "jsb_conversions.h" -#include "base/TypeDef.h" -#include "math/Math.h" -#include "gfx-base/GFXDef.h" + #include #include +#include "base/TypeDef.h" +#include "gfx-base/GFXDef.h" +#include "math/Math.h" + // seval to native bool seval_to_int32(const se::Value &v, int32_t *ret) { @@ -37,7 +39,8 @@ bool seval_to_int32(const se::Value &v, int32_t *ret) { if (v.isNumber()) { *ret = v.toInt32(); return true; - } else if (v.isBoolean()) { + } + if (v.isBoolean()) { *ret = v.toBoolean() ? 1 : 0; return true; } @@ -50,7 +53,8 @@ bool seval_to_uint32(const se::Value &v, uint32_t *ret) { if (v.isNumber()) { *ret = v.toUint32(); return true; - } else if (v.isBoolean()) { + } + if (v.isBoolean()) { *ret = v.toBoolean() ? 1 : 0; return true; } @@ -63,7 +67,8 @@ bool seval_to_uint(const se::Value &v, unsigned int *ret) { if (v.isNumber()) { *ret = v.toUint(); return true; - } else if (v.isBoolean()) { + } + if (v.isBoolean()) { *ret = v.toBoolean() ? 1 : 0; return true; } @@ -76,7 +81,8 @@ bool seval_to_int8(const se::Value &v, int8_t *ret) { if (v.isNumber()) { *ret = v.toInt8(); return true; - } else if (v.isBoolean()) { + } + if (v.isBoolean()) { *ret = v.toBoolean() ? 1 : 0; return true; } @@ -89,7 +95,8 @@ bool seval_to_uint8(const se::Value &v, uint8_t *ret) { if (v.isNumber()) { *ret = v.toUint8(); return true; - } else if (v.isBoolean()) { + } + if (v.isBoolean()) { *ret = v.toBoolean() ? 1 : 0; return true; } @@ -102,7 +109,8 @@ bool seval_to_int16(const se::Value &v, int16_t *ret) { if (v.isNumber()) { *ret = v.toInt16(); return true; - } else if (v.isBoolean()) { + } + if (v.isBoolean()) { *ret = v.toBoolean() ? 1 : 0; return true; } @@ -115,7 +123,8 @@ bool seval_to_uint16(const se::Value &v, uint16_t *ret) { if (v.isNumber()) { *ret = v.toUint16(); return true; - } else if (v.isBoolean()) { + } + if (v.isBoolean()) { *ret = v.toBoolean() ? 1 : 0; return true; } @@ -128,13 +137,13 @@ bool seval_to_boolean(const se::Value &v, bool *ret) { if (v.isBoolean()) { *ret = v.toBoolean(); } else if (v.isNumber()) { - *ret = v.toInt32() != 0 ? true : false; + *ret = v.toInt32() != 0; } else if (v.isNullOrUndefined()) { *ret = false; } else if (v.isObject()) { *ret = true; } else if (v.isString()) { - *ret = v.toString().empty() ? false : true; + *ret = !v.toString().empty(); } else { *ret = false; assert(false); @@ -147,8 +156,9 @@ bool seval_to_float(const se::Value &v, float *ret) { assert(ret != nullptr); if (v.isNumber()) { *ret = v.toFloat(); - if (!std::isnan(*ret)) + if (!std::isnan(*ret)) { return true; + } } *ret = 0.0f; return false; @@ -157,8 +167,9 @@ bool seval_to_float(const se::Value &v, float *ret) { bool seval_to_double(const se::Value &v, double *ret) { if (v.isNumber()) { *ret = v.toNumber(); - if (!std::isnan(*ret)) + if (!std::isnan(*ret)) { return true; + } } *ret = 0.0; return false; @@ -214,9 +225,9 @@ bool seval_to_Vec2(const se::Value &v, cc::Vec2 *pt) { assert(pt != nullptr); SE_PRECONDITION2(v.isObject(), false, "Convert parameter to Vec2 failed!"); se::Object *obj = v.toObject(); - se::Value x; - se::Value y; - bool ok = obj->getProperty("x", &x); + se::Value x; + se::Value y; + bool ok = obj->getProperty("x", &x); SE_PRECONDITION3(ok && x.isNumber(), false, *pt = cc::Vec2::ZERO); ok = obj->getProperty("y", &y); SE_PRECONDITION3(ok && y.isNumber(), false, *pt = cc::Vec2::ZERO); @@ -229,10 +240,10 @@ bool seval_to_Vec3(const se::Value &v, cc::Vec3 *pt) { assert(pt != nullptr); SE_PRECONDITION2(v.isObject(), false, "Convert parameter to Vec3 failed!"); se::Object *obj = v.toObject(); - se::Value x; - se::Value y; - se::Value z; - bool ok = obj->getProperty("x", &x); + se::Value x; + se::Value y; + se::Value z; + bool ok = obj->getProperty("x", &x); SE_PRECONDITION3(ok && x.isNumber(), false, *pt = cc::Vec3::ZERO); ok = obj->getProperty("y", &y); SE_PRECONDITION3(ok && y.isNumber(), false, *pt = cc::Vec3::ZERO); @@ -248,12 +259,12 @@ bool seval_to_Vec4(const se::Value &v, cc::Vec4 *pt) { assert(pt != nullptr); SE_PRECONDITION2(v.isObject(), false, "Convert parameter to Vec4 failed!"); pt->x = pt->y = pt->z = pt->w = 0.0f; - se::Object *obj = v.toObject(); - se::Value x; - se::Value y; - se::Value z; - se::Value w; - bool ok = obj->getProperty("x", &x); + se::Object *obj = v.toObject(); + se::Value x; + se::Value y; + se::Value z; + se::Value w; + bool ok = obj->getProperty("x", &x); SE_PRECONDITION3(ok && x.isNumber(), false, *pt = cc::Vec4::ZERO); ok = obj->getProperty("y", &y); SE_PRECONDITION3(ok && y.isNumber(), false, *pt = cc::Vec4::ZERO); @@ -274,7 +285,7 @@ bool seval_to_mat(const se::Value &v, int length, float *out) { se::Object *obj = v.toObject(); se::Value tmp; - char propName[3] = {0}; + char propName[3] = {0}; for (int i = 0; i < length; ++i) { snprintf(propName, 3, "m%2d", i); obj->getProperty(propName, &tmp); @@ -293,14 +304,14 @@ bool seval_to_Mat4(const se::Value &v, cc::Mat4 *mat) { // typed array SE_PRECONDITION2(obj->isTypedArray(), false, "Convert parameter to Matrix4 failed!"); - size_t length = 0; - uint8_t *ptr = nullptr; + size_t length = 0; + uint8_t *ptr = nullptr; obj->getTypedArrayData(&ptr, &length); memcpy(mat->m, ptr, length); } else { - bool ok = false; - se::Value tmp; + bool ok = false; + se::Value tmp; std::string prefix = "m"; for (uint32_t i = 0; i < 16; ++i) { std::string name; @@ -333,11 +344,11 @@ bool seval_to_Uint8Array(const se::Value &v, uint8_t *ret) { se::Object *obj = v.toObject(); SE_PRECONDITION2(obj->isArray(), false, "Convert parameter to Array failed!"); - CC_UNUSED bool ok = true; - uint32_t length = 0; + CC_UNUSED bool ok = true; + uint32_t length = 0; obj->getArrayLength(&length); se::Value value; - uint8_t data = 0; + uint8_t data = 0; for (uint32_t i = 0; i < length; ++i) { if (obj->getArrayElement(i, &value)) { ok = seval_to_uint8(value, &data); @@ -363,14 +374,14 @@ bool seval_to_Size(const se::Value &v, cc::Size *size) { assert(size != nullptr); SE_PRECONDITION2(v.isObject(), false, "Convert parameter to Size failed!"); se::Object *obj = v.toObject(); - se::Value width; - se::Value height; + se::Value width; + se::Value height; bool ok = obj->getProperty("width", &width); SE_PRECONDITION3(ok && width.isNumber(), false, *size = cc::Size::ZERO); ok = obj->getProperty("height", &height); SE_PRECONDITION3(ok && height.isNumber(), false, *size = cc::Size::ZERO); - size->width = width.toFloat(); + size->width = width.toFloat(); size->height = height.toFloat(); return true; } @@ -384,13 +395,13 @@ bool seval_to_ccvalue(const se::Value &v, cc::Value *ret) { // It's a normal js object. cc::ValueMap dictVal; ok = seval_to_ccvaluemap(v, &dictVal); - SE_PRECONDITION3(ok, false, *ret = cc::Value::Null); + SE_PRECONDITION3(ok, false, *ret = cc::Value::VALUE_NULL); *ret = cc::Value(dictVal); } else { // It's a js array object. cc::ValueVector arrVal; ok = seval_to_ccvaluevector(v, &arrVal); - SE_PRECONDITION3(ok, false, *ret = cc::Value::Null); + SE_PRECONDITION3(ok, false, *ret = cc::Value::VALUE_NULL); *ret = cc::Value(arrVal); } } else if (v.isString()) { @@ -400,7 +411,7 @@ bool seval_to_ccvalue(const se::Value &v, cc::Value *ret) { } else if (v.isBoolean()) { *ret = v.toBoolean(); } else if (v.isNullOrUndefined()) { - *ret = cc::Value::Null; + *ret = cc::Value::VALUE_NULL; } else { SE_PRECONDITION2(false, false, "type not supported!"); } @@ -426,7 +437,7 @@ bool seval_to_ccvaluemap(const se::Value &v, cc::ValueMap *ret) { std::vector allKeys; SE_PRECONDITION3(obj->getAllKeys(&allKeys), false, ret->clear()); - bool ok = false; + bool ok = false; se::Value value; cc::Value ccvalue; for (const auto &key : allKeys) { @@ -441,8 +452,9 @@ bool seval_to_ccvaluemap(const se::Value &v, cc::ValueMap *ret) { static bool isNumberString(const std::string &str) { for (const auto &c : str) { - if (!isdigit(c)) + if (!isdigit(c)) { return false; + } } return true; } @@ -464,7 +476,7 @@ bool seval_to_ccvaluemapintkey(const se::Value &v, cc::ValueMapIntKey *ret) { std::vector allKeys; SE_PRECONDITION3(obj->getAllKeys(&allKeys), false, ret->clear()); - bool ok = false; + bool ok = false; se::Value value; cc::Value ccvalue; for (const auto &key : allKeys) { @@ -496,7 +508,7 @@ bool seval_to_ccvaluevector(const se::Value &v, cc::ValueVector *ret) { uint32_t len = 0; obj->getArrayLength(&len); - bool ok = false; + bool ok = false; se::Value value; cc::Value ccvalue; for (uint32_t i = 0; i < len; ++i) { @@ -511,7 +523,7 @@ bool seval_to_ccvaluevector(const se::Value &v, cc::ValueVector *ret) { } bool sevals_variadic_to_ccvaluevector(const se::ValueArray &args, cc::ValueVector *ret) { - bool ok = false; + bool ok = false; cc::Value ccvalue; for (const auto &arg : args) { @@ -558,10 +570,10 @@ bool seval_to_std_vector_int(const se::Value &v, std::vector *ret) { return true; } } else if (obj->isTypedArray()) { - size_t bytesPerElements = 0; - uint8_t *data = nullptr; - size_t dataBytes = 0; - se::Object::TypedArrayType type = obj->getTypedArrayType(); + size_t bytesPerElements = 0; + uint8_t * data = nullptr; + size_t dataBytes = 0; + se::Object::TypedArrayType type = obj->getTypedArrayType(); #define SE_UINT8_PTR_TO_INT(ptr) (*((uint8_t *)(ptr))) #define SE_UINT16_PTR_TO_INT(ptr) (*((uint16_t *)(ptr))) @@ -623,10 +635,10 @@ bool seval_to_std_vector_uint16(const se::Value &v, std::vector *ret) return true; } } else if (obj->isTypedArray()) { - size_t bytesPerElements = 0; - uint8_t *data = nullptr; - size_t dataBytes = 0; - se::Object::TypedArrayType type = obj->getTypedArrayType(); + size_t bytesPerElements = 0; + uint8_t * data = nullptr; + size_t dataBytes = 0; + se::Object::TypedArrayType type = obj->getTypedArrayType(); if (obj->getTypedArrayData(&data, &dataBytes)) { for (size_t i = 0; i < dataBytes; i += bytesPerElements) { @@ -678,7 +690,7 @@ bool seval_to_std_vector_Vec2(const se::Value &v, std::vector *ret) { uint32_t len = 0; if (obj->getArrayLength(&len)) { se::Value value; - cc::Vec2 pt; + cc::Vec2 pt; for (uint32_t i = 0; i < len; ++i) { SE_PRECONDITION3(obj->getArrayElement(i, &value) && seval_to_Vec2(value, &pt), false, ret->clear()); ret->push_back(pt); @@ -706,8 +718,8 @@ bool seval_to_std_map_string_string(const se::Value &v, std::map allKeys; SE_PRECONDITION3(obj->getAllKeys(&allKeys), false, ret->clear()); - bool ok = false; - se::Value value; + bool ok = false; + se::Value value; std::string strValue; for (const auto &key : allKeys) { SE_PRECONDITION3(obj->getProperty(key.c_str(), &value), false, ret->clear()); @@ -722,9 +734,9 @@ bool seval_to_std_map_string_string(const se::Value &v, std::mapisTypedArray(), false, "Convert parameter to Data failed!"); - uint8_t *ptr = nullptr; - size_t length = 0; - bool ok = v.toObject()->getTypedArrayData(&ptr, &length); + uint8_t *ptr = nullptr; + size_t length = 0; + bool ok = v.toObject()->getTypedArrayData(&ptr, &length); if (ok) { ret->copy(ptr, length); } else { @@ -735,12 +747,12 @@ bool seval_to_Data(const se::Value &v, cc::Data *ret) { } bool seval_to_DownloaderHints(const se::Value &v, cc::network::DownloaderHints *ret) { - static cc::network::DownloaderHints ZERO = {0, 0, ""}; + const static cc::network::DownloaderHints ZERO{0, 0, ""}; assert(ret != nullptr); SE_PRECONDITION2(v.isObject(), false, "Convert parameter to DownloaderHints failed!"); - se::Value tmp; + se::Value tmp; se::Object *obj = v.toObject(); - bool ok = false; + bool ok = false; ok = obj->getProperty("countOfMaxProcessingTasks", &tmp); SE_PRECONDITION3(ok && tmp.isNumber(), false, *ret = ZERO); @@ -946,13 +958,14 @@ bool ccvaluemap_to_seval(const cc::ValueMap &v, se::Value *ret) { assert(ret != nullptr); se::HandleObject obj(se::Object::createPlainObject()); - bool ok = true; + bool ok = true; for (const auto &e : v) { - const std::string &key = e.first; - const cc::Value &value = e.second; + const std::string &key = e.first; + const cc::Value & value = e.second; - if (key.empty()) + if (key.empty()) { continue; + } se::Value tmp; if (!ccvalue_to_seval(value, &tmp)) { @@ -963,8 +976,9 @@ bool ccvaluemap_to_seval(const cc::ValueMap &v, se::Value *ret) { obj->setProperty(key.c_str(), tmp); } - if (ok) + if (ok) { ret->setObject(obj); + } return ok; } @@ -973,15 +987,16 @@ bool ccvaluemapintkey_to_seval(const cc::ValueMapIntKey &v, se::Value *ret) { assert(ret != nullptr); se::HandleObject obj(se::Object::createPlainObject()); - bool ok = true; + bool ok = true; for (const auto &e : v) { std::stringstream keyss; keyss << e.first; - std::string key = keyss.str(); + std::string key = keyss.str(); const cc::Value &value = e.second; - if (key.empty()) + if (key.empty()) { continue; + } se::Value tmp; if (!ccvalue_to_seval(value, &tmp)) { @@ -992,8 +1007,9 @@ bool ccvaluemapintkey_to_seval(const cc::ValueMapIntKey &v, se::Value *ret) { obj->setProperty(key.c_str(), tmp); } - if (ok) + if (ok) { ret->setObject(obj); + } return ok; } @@ -1001,7 +1017,7 @@ bool ccvaluemapintkey_to_seval(const cc::ValueMapIntKey &v, se::Value *ret) { bool ccvaluevector_to_seval(const cc::ValueVector &v, se::Value *ret) { assert(ret != nullptr); se::HandleObject obj(se::Object::createArrayObject(v.size())); - bool ok = true; + bool ok = true; uint32_t i = 0; for (const auto &value : v) { @@ -1015,8 +1031,9 @@ bool ccvaluevector_to_seval(const cc::ValueVector &v, se::Value *ret) { obj->setArrayElement(i, tmp); ++i; } - if (ok) + if (ok) { ret->setObject(obj); + } return ok; } @@ -1027,7 +1044,7 @@ template bool std_vector_T_to_seval(const std::vector &v, se::Value *ret) { assert(ret != nullptr); se::HandleObject obj(se::Object::createArrayObject(v.size())); - bool ok = true; + bool ok = true; uint32_t i = 0; for (const auto &value : v) { @@ -1039,8 +1056,9 @@ bool std_vector_T_to_seval(const std::vector &v, se::Value *ret) { ++i; } - if (ok) + if (ok) { ret->setObject(obj); + } return ok; } @@ -1067,13 +1085,14 @@ bool std_map_string_string_to_seval(const std::map &v, assert(ret != nullptr); se::HandleObject obj(se::Object::createPlainObject()); - bool ok = true; + bool ok = true; for (const auto &e : v) { - const std::string &key = e.first; + const std::string &key = e.first; const std::string &value = e.second; - if (key.empty()) + if (key.empty()) { continue; + } se::Value tmp; if (!std_string_to_seval(value, &tmp)) { @@ -1085,8 +1104,9 @@ bool std_map_string_string_to_seval(const std::map &v, obj->setProperty(key.c_str(), tmp); } - if (ok) + if (ok) { ret->setObject(obj); + } return ok; } @@ -1098,9 +1118,9 @@ enum class DataType { }; void toVec2(void *data, DataType type, se::Value *ret) { - int32_t *intptr = (int32_t *)data; - float *floatptr = (float *)data; - cc::Vec2 vec2; + auto *intptr = static_cast(data); + auto * floatptr = static_cast(data); + cc::Vec2 vec2; if (DataType::INT == type) { vec2.x = static_cast(intptr[0]); vec2.y = static_cast(intptr[1]); @@ -1113,8 +1133,8 @@ void toVec2(void *data, DataType type, se::Value *ret) { } void toVec3(void *data, DataType type, se::Value *ret) { - int32_t *intptr = (int32_t *)data; - float *floatptr = (float *)data; + auto * intptr = static_cast(data); + auto * floatptr = static_cast(data); cc::Vec3 vec3; if (DataType::INT == type) { vec3.x = static_cast(intptr[0]); @@ -1130,8 +1150,8 @@ void toVec3(void *data, DataType type, se::Value *ret) { } void toVec4(void *data, DataType type, se::Value *ret) { - int32_t *intptr = (int32_t *)data; - float *floatptr = (float *)data; + auto * intptr = static_cast(data); + auto * floatptr = static_cast(data); cc::Vec4 vec4; if (DataType::INT == type) { vec4.x = static_cast(intptr[0]); @@ -1153,10 +1173,13 @@ void toMat(float *data, int num, se::Value *ret) { char propName[4] = {0}; for (int i = 0; i < num; ++i) { - if (i < 10) + if (i < 10) { snprintf(propName, 3, "m0%d", i); - else + } + + else { snprintf(propName, 3, "m%d", i); + } obj->setProperty(propName, se::Value(*(data + i))); } @@ -1257,9 +1280,9 @@ bool sevalue_to_native(const se::Value &v, spine::Vector *ret, se se::Object *obj = v.toObject(); assert(obj->isArray()); - bool ok = true; + bool ok = true; uint32_t len = 0; - ok = obj->getArrayLength(&len); + ok = obj->getArrayLength(&len); if (!ok) { ret->clear(); return false; @@ -1289,7 +1312,7 @@ bool nativevalue_to_se(const spine::String &obj, se::Value &val, se::Object *) { template <> bool nativevalue_to_se(const spine::Vector &v, se::Value &ret, se::Object *) { se::HandleObject obj(se::Object::createArrayObject(v.size())); - bool ok = true; + bool ok = true; spine::Vector tmpv = v; for (uint32_t i = 0, count = (uint32_t)tmpv.size(); i < count; i++) { @@ -1313,7 +1336,7 @@ bool seval_to_Map_string_key(const se::Value &v, cc::Map allKeys; - bool ok = obj->getAllKeys(&allKeys); + bool ok = obj->getAllKeys(&allKeys); if (!ok) { ret->clear(); return false; @@ -1322,7 +1345,9 @@ bool seval_to_Map_string_key(const se::Value &v, cc::MapgetProperty(key.c_str(), &tmp); if (!ok || !tmp.isObject()) { @@ -1330,7 +1355,7 @@ bool seval_to_Map_string_key(const se::Value &v, cc::MapgetPrivateData(); + auto *nativeObj = static_cast(tmp.toObject()->getPrivateData()); ret->insert(key, nativeObj); } diff --git a/native/cocos/bindings/manual/jsb_conversions.h b/native/cocos/bindings/manual/jsb_conversions.h index 12a707159f..ababfcbb62 100644 --- a/native/cocos/bindings/manual/jsb_conversions.h +++ b/native/cocos/bindings/manual/jsb_conversions.h @@ -220,37 +220,6 @@ bool seval_to_native_ptr(const se::Value &v, T *ret) { return false; } -template -bool seval_to_Vector(const se::Value &v, cc::Vector *ret) { - assert(ret != nullptr); - assert(v.isObject()); - se::Object *obj = v.toObject(); - assert(obj->isArray()); - - bool ok = true; - uint32_t len = 0; - ok = obj->getArrayLength(&len); - if (!ok) { - ret->clear(); - return false; - } - - se::Value tmp; - for (uint32_t i = 0; i < len; ++i) { - ok = obj->getArrayElement(i, &tmp); - if (!ok || !tmp.isObject()) { - ret->clear(); - return false; - } - - T nativeObj = (T)tmp.toObject()->getPrivateData(); - - ret->pushBack(nativeObj); - } - - return true; -} - template typename std::enable_if::value && !std::is_same::value, T>::type seval_to_type(const se::Value &v, bool &ok) { diff --git a/native/cocos/network/WebSocketServer.cpp b/native/cocos/network/WebSocketServer.cpp index 9db236017a..4a86cdfeed 100644 --- a/native/cocos/network/WebSocketServer.cpp +++ b/native/cocos/network/WebSocketServer.cpp @@ -34,6 +34,7 @@ #include "cocos/network/WebSocketServer.h" #include "cocos/platform/Application.h" #include "cocos/base/Scheduler.h" + #include "cocos/base/Log.h" #define MAX_MSG_PAYLOAD 2048 #define SEND_BUFF 1024 diff --git a/native/cocos/platform/apple/FileUtils-apple.mm b/native/cocos/platform/apple/FileUtils-apple.mm index ed4481f61e..2d4e92357e 100644 --- a/native/cocos/platform/apple/FileUtils-apple.mm +++ b/native/cocos/platform/apple/FileUtils-apple.mm @@ -156,7 +156,7 @@ static cc::Value convertNSObjectToCCValue(id item) { return Value(subArray); } - return Value::Null; + return Value::VALUE_NULL; } static void addNSObjectToCCVector(id item, ValueVector &array) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index bf59becdcf..0c8eeea2e5 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -78,7 +78,7 @@ void GL_APIENTRY GLES2EGLDebugProc(GLenum source, default: severityDesc = "NOTIFICATION"; break; } - String msg = StringUtil::Format("source: %s, type: %s, severity: %s, message: %s", + String msg = StringUtil::format("source: %s, type: %s, severity: %s, message: %s", sourceDesc.c_str(), typeDesc.c_str(), severityDesc.c_str(), message); @@ -231,7 +231,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { //String eglVendor = eglQueryString(_eglDisplay, EGL_VENDOR); //String eglVersion = eglQueryString(_eglDisplay, EGL_VERSION); - EGL_CHECK(_extensions = StringUtil::Split(eglQueryString(_eglDisplay, EGL_EXTENSIONS), " ")); + EGL_CHECK(_extensions = StringUtil::split(eglQueryString(_eglDisplay, EGL_EXTENSIONS), " ")); _majorVersion = 2; _minorVersion = 0; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index acd2604045..4818166365 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -87,7 +87,7 @@ bool GLES2Device::doInit(const DeviceInfo &info) { bindRenderContext(true); String extStr = (const char *)glGetString(GL_EXTENSIONS); - _extensions = StringUtil::Split(extStr, " "); + _extensions = StringUtil::split(extStr, " "); if (checkExtension("GL_OES_texture_float")) { _features[static_cast(Feature::TEXTURE_FLOAT)] = true; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 2dc0f0b336..e7222779e9 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1076,7 +1076,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } GL_CHECK(gpuStage.glShader = glCreateShader(glShaderStage)); - String shaderSource = StringUtil::Format("#version %u es\n", version) + gpuStage.source; + String shaderSource = StringUtil::format("#version %u es\n", version) + gpuStage.source; const char *source = shaderSource.c_str(); GL_CHECK(glShaderSource(gpuStage.glShader, 1, (const GLchar **)&source, nullptr)); GL_CHECK(glCompileShader(gpuStage.glShader)); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index cbe6498b09..700fd83abd 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -72,7 +72,7 @@ void GL_APIENTRY GLES3EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum default: severityDesc = "NOTIFICATION"; } - String msg = StringUtil::Format("source: %s, type: %s, severity: %s, message: %s", + String msg = StringUtil::format("source: %s, type: %s, severity: %s, message: %s", sourceDesc.c_str(), typeDesc.c_str(), severityDesc.c_str(), message); if (severity == GL_DEBUG_SEVERITY_HIGH_KHR) { @@ -222,7 +222,7 @@ bool GLES3Context::doInit(const ContextInfo &info) { //String eglVendor = eglQueryString(_eglDisplay, EGL_VENDOR); //String eglVersion = eglQueryString(_eglDisplay, EGL_VERSION); - EGL_CHECK(_extensions = StringUtil::Split(eglQueryString(_eglDisplay, EGL_EXTENSIONS), " ")); + EGL_CHECK(_extensions = StringUtil::split(eglQueryString(_eglDisplay, EGL_EXTENSIONS), " ")); _majorVersion = 3; _minorVersion = 0; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index bfcd702c82..bc7dace259 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -89,7 +89,7 @@ bool GLES3Device::doInit(const DeviceInfo &info) { bindRenderContext(true); String extStr = (const char *)glGetString(GL_EXTENSIONS); - _extensions = StringUtil::Split(extStr, " "); + _extensions = StringUtil::split(extStr, " "); _features[static_cast(Feature::TEXTURE_FLOAT)] = true; _features[static_cast(Feature::TEXTURE_HALF_FLOAT)] = true; diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 0dfa7e5cd8..886f6a46f9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -424,7 +424,7 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { uint32_t apiVersion = gpuContext->physicalDeviceProperties.apiVersion; _renderer = gpuContext->physicalDeviceProperties.deviceName; _vendor = MapVendorName(gpuContext->physicalDeviceProperties.vendorID); - _version = StringUtil::Format("%d.%d.%d", VK_VERSION_MAJOR(apiVersion), + _version = StringUtil::format("%d.%d.%d", VK_VERSION_MAJOR(apiVersion), VK_VERSION_MINOR(apiVersion), VK_VERSION_PATCH(apiVersion)); CC_LOG_INFO("Vulkan device initialized."); diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index 8ab2880294..b9a919cd76 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -390,7 +390,7 @@ String MapVendorName(uint32_t vendorID) { case 0x5143: return "Qualcomm Incorporated"; case 0x8086: return "Intel Corporation"; } - return StringUtil::Format("Unknown VendorID %d", vendorID); + return StringUtil::format("Unknown VendorID %d", vendorID); } void MapDepthStencilBits(Format format, uint &depthBits, uint &stencilBits) { diff --git a/native/extensions/assets-manager/AssetsManagerEx.cpp b/native/extensions/assets-manager/AssetsManagerEx.cpp index 89db380cdd..2bf9eb7df8 100644 --- a/native/extensions/assets-manager/AssetsManagerEx.cpp +++ b/native/extensions/assets-manager/AssetsManagerEx.cpp @@ -24,12 +24,14 @@ THE SOFTWARE. ****************************************************************************/ #include "AssetsManagerEx.h" -#include "base/UTF8.h" -#include "AsyncTaskPool.h" #include #include +#include "base/UTF8.h" +#include "AsyncTaskPool.h" +#include "base/Log.h" + #ifdef MINIZIP_FROM_SYSTEM #include #else // from our embedded sources From a9f42d9c1f31ad5feb8b234a32f59323893df4cb Mon Sep 17 00:00:00 2001 From: PP Date: Fri, 2 Apr 2021 09:59:06 +0800 Subject: [PATCH 222/270] fix simulator compiling (#3373) --- native/tools/simulator/frameworks/runtime-src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt b/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt index 4d66d559c3..e285ab70c8 100644 --- a/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt +++ b/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt @@ -8,7 +8,7 @@ if(APPLE) enable_language(OBJC OBJCXX) endif() -set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD 17) option(USE_SE_V8 "USE V8 JavaScript Engine" ON) option(USE_V8_DEBUGGER "Enable Chrome Remote inspector" ON) option(USE_SOCKET "Enable WebSocket & SocketIO" ON) @@ -31,7 +31,7 @@ if(CMAKE_OSX_SYSROOT STREQUAL "iphonesimulator") else() set(TARGET_IOS_VERSION "8.0") endif() -set(TARGET_OSX_VERSION "10.10") +set(TARGET_OSX_VERSION "10.14") set(cocosdir ${CMAKE_CURRENT_LIST_DIR}/../../../..) if(NOT cocosdir) From e0924f7019dbacd4337402a9e62c09b3fb83d4ad Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Fri, 2 Apr 2021 10:50:21 +0800 Subject: [PATCH 223/270] [ci skip][AUTO]: updating jsbinding automatically: a9f42d9c (#3376) Co-authored-by: cocos-robot --- native/cocos/bindings/auto/jsb_cocos_auto.cpp | 12 ++++++------ native/templates/cocos2dx_files.json | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_cocos_auto.cpp b/native/cocos/bindings/auto/jsb_cocos_auto.cpp index 17f4ab2999..7afb69a26d 100644 --- a/native/cocos/bindings/auto/jsb_cocos_auto.cpp +++ b/native/cocos/bindings/auto/jsb_cocos_auto.cpp @@ -339,7 +339,7 @@ static bool js_engine_FileUtils_getValueMapFromData(se::State& s) ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); SE_PRECONDITION2(ok, false, "js_engine_FileUtils_getValueMapFromData : Error processing arguments"); - cc::ValueMap result = cobj->getValueMapFromData(arg0.value(), arg1.value()); + std::unordered_map result = cobj->getValueMapFromData(arg0.value(), arg1.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_engine_FileUtils_getValueMapFromData : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); @@ -361,7 +361,7 @@ static bool js_engine_FileUtils_getValueMapFromFile(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_engine_FileUtils_getValueMapFromFile : Error processing arguments"); - cc::ValueMap result = cobj->getValueMapFromFile(arg0.value()); + std::unordered_map result = cobj->getValueMapFromFile(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_engine_FileUtils_getValueMapFromFile : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); @@ -383,7 +383,7 @@ static bool js_engine_FileUtils_getValueVectorFromFile(se::State& s) HolderType arg0 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); SE_PRECONDITION2(ok, false, "js_engine_FileUtils_getValueVectorFromFile : Error processing arguments"); - cc::ValueVector result = cobj->getValueVectorFromFile(arg0.value()); + std::vector result = cobj->getValueVectorFromFile(arg0.value()); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_engine_FileUtils_getValueVectorFromFile : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); @@ -744,7 +744,7 @@ static bool js_engine_FileUtils_writeToFile(se::State& s) size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 2) { - HolderType arg0 = {}; + HolderType, true> arg0 = {}; HolderType arg1 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); @@ -768,7 +768,7 @@ static bool js_engine_FileUtils_writeValueMapToFile(se::State& s) size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 2) { - HolderType arg0 = {}; + HolderType, true> arg0 = {}; HolderType arg1 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); @@ -792,7 +792,7 @@ static bool js_engine_FileUtils_writeValueVectorToFile(se::State& s) size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 2) { - HolderType arg0 = {}; + HolderType, true> arg0 = {}; HolderType arg1 = {}; ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 4dccf3f2d5..0512f10534 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -111,7 +111,6 @@ "cocos/base/Macros.h", "cocos/base/Map.h", "cocos/base/Object.h", - "cocos/base/Random.cpp", "cocos/base/Random.h", "cocos/base/Ref.cpp", "cocos/base/Ref.h", From 74f2fa8208b81d99c884a487766c6aca398c53a5 Mon Sep 17 00:00:00 2001 From: minggo Date: Fri, 2 Apr 2021 18:13:51 +0800 Subject: [PATCH 224/270] modify clang tidy config (#3377) --- native/.clang-tidy | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/native/.clang-tidy b/native/.clang-tidy index 289ac19eea..697df9be1c 100644 --- a/native/.clang-tidy +++ b/native/.clang-tidy @@ -20,22 +20,20 @@ Checks: > -*, readability-*, - performance-*, - modernize-*, - misc-*, - portability-*, - google-explicit-constructor, - -modernize-use-trailing-return-type, - -fuchsia-trailing-return, - -readability-implicit-bool-conversion, - -readability-implicit-bool-cast, - -readability-function-cognitive-complexity, - -misc-non-private-member-variables-in-classes, - -readability-uppercase-literal-suffix, - -readability-use-anyofallof, - -readability-magic-numbers, - -modernize-pass-by-value, - -modernize-concat-nested-namespaces + modernize-use-override, + modernize-use-auto, + modernize-use-emplace, + modernize-use-equals-delete, + modernize-use-equals-default, + modernize-use-noexcept, + modernize-use-nullptr, + modernize-redundant-void-arg, + modernize-raw-string-literal, + modernize-pass-by-value, + modernize-loop-convert, + modernize-avoid-c-arrays, + modernize-use-using, + google-explicit-constructor CheckOptions: ################## readability identifier naming ################################ From af4e63f478e96672e73f7a9ec316ded0031b3a9b Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Wed, 7 Apr 2021 10:57:46 +0800 Subject: [PATCH 225/270] treat warning as error (#3382) * treat warning as error --- native/CMakeLists.txt | 38 +++++++++---------- .../cocos/ui/videoplayer/VideoPlayer-ios.mm | 10 +++-- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 94d1a5be11..0009393649 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -208,7 +208,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/external/CMakeLists.txt) ##### audio if(USE_AUDIO) cocos_source_files( - NO_WERROR cocos/audio/AudioEngine.cpp + cocos/audio/AudioEngine.cpp cocos/audio/include/AudioEngine.h cocos/audio/include/Export.h ) @@ -364,16 +364,16 @@ cocos_source_files( ##### memory cocos_source_files( - NO_WERROR cocos/base/memory/AllocatedObj.cpp + cocos/base/memory/AllocatedObj.cpp cocos/base/memory/AllocatedObj.h - NO_WERROR cocos/base/memory/JeAlloc.cpp + cocos/base/memory/JeAlloc.cpp cocos/base/memory/JeAlloc.h cocos/base/memory/MemDef.h - NO_WERROR cocos/base/memory/Memory.cpp + cocos/base/memory/Memory.cpp cocos/base/memory/Memory.h - NO_WERROR cocos/base/memory/MemTracker.cpp + cocos/base/memory/MemTracker.cpp cocos/base/memory/MemTracker.h - NO_WERROR cocos/base/memory/NedPooling.cpp + cocos/base/memory/NedPooling.cpp cocos/base/memory/NedPooling.h cocos/base/memory/StdAlloc.h cocos/base/memory/StlAlloc.h @@ -382,17 +382,17 @@ cocos_source_files( ##### threading cocos_source_files( cocos/base/threading/ConditionVariable.h - NO_WERROR cocos/base/threading/ConditionVariable.cpp + cocos/base/threading/ConditionVariable.cpp cocos/base/threading/Event.h cocos/base/threading/MessageQueue.h - NO_WERROR cocos/base/threading/MessageQueue.cpp + cocos/base/threading/MessageQueue.cpp cocos/base/threading/Semaphore.h - NO_WERROR cocos/base/threading/Semaphore.cpp + cocos/base/threading/Semaphore.cpp cocos/base/threading/ThreadPool.h - NO_WERROR cocos/base/threading/ThreadPool.cpp + cocos/base/threading/ThreadPool.cpp cocos/base/threading/ThreadSafeCounter.h cocos/base/threading/ThreadSafeLinearAllocator.h - NO_WERROR cocos/base/threading/ThreadSafeLinearAllocator.cpp + cocos/base/threading/ThreadSafeLinearAllocator.cpp ) ##### job system @@ -400,14 +400,14 @@ cocos_source_files( cocos/base/job-system/JobSystem.h cocos/base/job-system/job-system-taskflow/TFJobGraph.h - NO_WERROR cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp + cocos/base/job-system/job-system-taskflow/TFJobGraph.cpp cocos/base/job-system/job-system-taskflow/TFJobSystem.h - NO_WERROR cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp + cocos/base/job-system/job-system-taskflow/TFJobSystem.cpp cocos/base/job-system/job-system-tbb/TBBJobGraph.h - NO_WERROR cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp + cocos/base/job-system/job-system-tbb/TBBJobGraph.cpp cocos/base/job-system/job-system-tbb/TBBJobSystem.h - NO_WERROR cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp + cocos/base/job-system/job-system-tbb/TBBJobSystem.cpp ) ##### math @@ -1594,23 +1594,23 @@ if(ANDROID) elseif(MACOSX) if(USE_EDIT_BOX) cocos_source_files( - NO_WERROR cocos/ui/edit-box/EditBox-mac.mm + cocos/ui/edit-box/EditBox-mac.mm ) endif() elseif(IOS) if(USE_EDIT_BOX) cocos_source_files( - NO_WERROR cocos/ui/edit-box/EditBox-ios.mm + cocos/ui/edit-box/EditBox-ios.mm ) endif() if(USE_VIDEO) cocos_source_files( - NO_WERROR cocos/ui/videoplayer/VideoPlayer-ios.mm + cocos/ui/videoplayer/VideoPlayer-ios.mm ) endif() if(USE_WEBVIEW) cocos_source_files( - NO_WERROR cocos/ui/webview/WebViewImpl-ios.mm + NO_WERROR cocos/ui/webview/WebViewImpl-ios.mm ) endif() elseif(WIN32) diff --git a/native/cocos/ui/videoplayer/VideoPlayer-ios.mm b/native/cocos/ui/videoplayer/VideoPlayer-ios.mm index f236619379..e5b9e79a21 100644 --- a/native/cocos/ui/videoplayer/VideoPlayer-ios.mm +++ b/native/cocos/ui/videoplayer/VideoPlayer-ios.mm @@ -50,10 +50,11 @@ typedef NS_ENUM(NSInteger, PlayerbackState) { @property (assign, nonatomic) AVPlayerViewController *playerController; -- (void)setFrame:(int)left:(int)top +- (void)setFrame:(int)left + :(int)top :(int)width :(int)height; -- (void)setURL:(int)videoSource:(std::string &)videoUrl; +- (void)setURL:(int)videoSource :(std::string &)videoUrl; - (void)play; - (void)pause; - (void)resume; @@ -111,7 +112,8 @@ typedef NS_ENUM(NSInteger, PlayerbackState) { [super dealloc]; } -- (void)setFrame:(int)left:(int)top +- (void)setFrame:(int)left + :(int)top :(int)width :(int)height { if (_left == left && _width == width && _top == top && _height == height) @@ -137,7 +139,7 @@ typedef NS_ENUM(NSInteger, PlayerbackState) { return (self.playerController.player && self.playerController.player.rate != 0); } -- (void)setURL:(int)videoSource:(std::string &)videoUrl { +- (void)setURL:(int)videoSource :(std::string &)videoUrl { [self cleanup]; [self initPlayerController]; From ba309bbca71f7e1423008ba25f7cca3f800c9dbb Mon Sep 17 00:00:00 2001 From: minggo Date: Wed, 7 Apr 2021 15:25:29 +0800 Subject: [PATCH 226/270] change readability rule (#3384) readability-* will check many rules that are not needed --- native/.clang-tidy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/.clang-tidy b/native/.clang-tidy index 697df9be1c..53425b4002 100644 --- a/native/.clang-tidy +++ b/native/.clang-tidy @@ -19,7 +19,7 @@ # Checks: > -*, - readability-*, + readability-identifier-*, modernize-use-override, modernize-use-auto, modernize-use-emplace, From 919b10ec722d8032a9ae84f0f9046f0b6a96e300 Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 8 Apr 2021 10:18:36 +0800 Subject: [PATCH 227/270] fix crash (#3385) * fix crash - native width/height should plus device ratio - should make sure auto release pool manager will not be empty * pass by value instead detail information please check clang tidy config: modernize-pass-by-value --- native/cocos/base/AutoreleasePool.cpp | 5 +++-- native/cocos/base/AutoreleasePool.h | 2 +- native/cocos/platform/ios/Application-ios.mm | 4 ++-- native/cocos/platform/mac/Application-mac.mm | 16 +++++++++------- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/native/cocos/base/AutoreleasePool.cpp b/native/cocos/base/AutoreleasePool.cpp index 52b2ed14b8..a9baa10957 100644 --- a/native/cocos/base/AutoreleasePool.cpp +++ b/native/cocos/base/AutoreleasePool.cpp @@ -39,8 +39,8 @@ AutoreleasePool::AutoreleasePool() PoolManager::getInstance()->push(this); } -AutoreleasePool::AutoreleasePool(const std::string &name) -: _name(name) +AutoreleasePool::AutoreleasePool(std::string name) +: _name(std::move(name)) #if defined(CC_DEBUG) && (CC_DEBUG > 0) , _isClearing(false) @@ -104,6 +104,7 @@ PoolManager *PoolManager::_singleInstance = nullptr; PoolManager *PoolManager::getInstance() { if (_singleInstance == nullptr) { _singleInstance = new (std::nothrow) PoolManager(); + _singleInstance->push(new AutoreleasePool()); } return _singleInstance; } diff --git a/native/cocos/base/AutoreleasePool.h b/native/cocos/base/AutoreleasePool.h index c8b2055229..52dd657cf9 100644 --- a/native/cocos/base/AutoreleasePool.h +++ b/native/cocos/base/AutoreleasePool.h @@ -49,7 +49,7 @@ public: * * @param name The name of created autorelease pool. */ - explicit AutoreleasePool(const std::string &name); + explicit AutoreleasePool(std::string name); ~AutoreleasePool(); diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index 1906ac71ec..410ce9584d 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -118,8 +118,8 @@ namespace { deviceInfo.windowHandle = windowHandle; deviceInfo.width = viewLogicalSize.x; deviceInfo.height = viewLogicalSize.y; - deviceInfo.nativeWidth = nativeWidth; - deviceInfo.nativeHeight = nativeHeight; + deviceInfo.nativeWidth = nativeWidth * Device::getDevicePixelRatio(); + deviceInfo.nativeHeight = nativeHeight * Device::getDevicePixelRatio(); deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; gfx::DeviceManager::create(deviceInfo); diff --git a/native/cocos/platform/mac/Application-mac.mm b/native/cocos/platform/mac/Application-mac.mm index 26bc908157..63ba3a96cf 100644 --- a/native/cocos/platform/mac/Application-mac.mm +++ b/native/cocos/platform/mac/Application-mac.mm @@ -26,19 +26,21 @@ ****************************************************************************/ #include "audio/include/AudioEngine.h" -#include "base/Scheduler.h" -#include "cocos/bindings/jswrapper/SeApi.h" -#include "platform/Application.h" + +#import #include #include #include +#include "base/Scheduler.h" +#include "cocos/bindings/jswrapper/SeApi.h" +#include "platform/Application.h" +#include "platform/Device.h" + #include "pipeline/Define.h" #include "pipeline/RenderPipeline.h" #include "renderer/GFXDeviceManager.h" -#import - @interface MyTimer : NSObject { cc::Application *_app; NSTimer * _timer; @@ -109,8 +111,8 @@ bool setCanvasCallback(se::Object *global) { deviceInfo.windowHandle = (uintptr_t)view; deviceInfo.width = viewLogicalSize.x; deviceInfo.height = viewLogicalSize.y; - deviceInfo.nativeWidth = viewLogicalSize.x; - deviceInfo.nativeHeight = viewLogicalSize.y; + deviceInfo.nativeWidth = viewLogicalSize.x * Device::getDevicePixelRatio(); + deviceInfo.nativeHeight = viewLogicalSize.y * Device::getDevicePixelRatio(); deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; gfx::DeviceManager::create(deviceInfo); From e1c240f2d02728f2dfd655cdd5e677e9bc035727 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 12 Apr 2021 09:41:28 +0800 Subject: [PATCH 228/270] Clang-Tidy adaptations (#3379) * gfx: CommandBuffer.draw accept DrawInfo * clang-tidy config * tidy adapt * enable function name check * better workflow --- native/.clang-format | 45 +- native/.clang-tidy | 129 ++-- .../.github/workflows/clangtidy-android.yml | 6 +- native/.github/workflows/filter_by_cdb.js | 13 +- native/.gitignore | 7 +- native/.vscode/c_cpp_properties.json | 23 + native/CMakeLists.txt | 3 +- native/README.md | 2 +- native/cocos/base/Agent.h | 3 +- native/cocos/base/CachedArray.h | 15 +- native/cocos/base/Object.h | 3 +- native/cocos/base/Utils.h | 62 +- native/cocos/base/memory/AllocatedObj.h | 15 +- .../threading/ThreadSafeLinearAllocator.cpp | 11 +- .../threading/ThreadSafeLinearAllocator.h | 4 +- native/cocos/bindings/dop/BufferPool.cpp | 6 +- native/cocos/platform/Image.cpp | 609 ++++++++--------- native/cocos/platform/Image.h | 30 +- native/cocos/renderer/GFXDeviceManager.h | 12 +- native/cocos/renderer/frame-graph/Resource.h | 46 +- .../renderer/gfx-agent/CommandBufferAgent.cpp | 40 +- .../renderer/gfx-agent/CommandBufferAgent.h | 2 +- .../cocos/renderer/gfx-agent/DeviceAgent.cpp | 30 +- native/cocos/renderer/gfx-agent/DeviceAgent.h | 8 +- native/cocos/renderer/gfx-base/GFXBuffer.cpp | 17 +- .../renderer/gfx-base/GFXCommandBuffer.cpp | 3 +- .../renderer/gfx-base/GFXCommandBuffer.h | 34 +- native/cocos/renderer/gfx-base/GFXContext.cpp | 6 +- .../cocos/renderer/gfx-base/GFXDef-common.h | 305 ++++----- native/cocos/renderer/gfx-base/GFXDef.cpp | 243 ++++--- native/cocos/renderer/gfx-base/GFXDef.h | 16 +- .../renderer/gfx-base/GFXDescriptorSet.cpp | 5 +- .../gfx-base/GFXDescriptorSetLayout.cpp | 13 +- native/cocos/renderer/gfx-base/GFXDevice.cpp | 10 +- native/cocos/renderer/gfx-base/GFXDevice.h | 20 +- .../renderer/gfx-base/GFXFramebuffer.cpp | 11 +- .../renderer/gfx-base/GFXGlobalBarrier.cpp | 7 +- .../renderer/gfx-base/GFXGlobalBarrier.h | 6 +- .../renderer/gfx-base/GFXInputAssembler.cpp | 11 +- .../renderer/gfx-base/GFXPipelineLayout.cpp | 3 +- .../renderer/gfx-base/GFXPipelineState.cpp | 3 +- native/cocos/renderer/gfx-base/GFXQueue.cpp | 3 +- native/cocos/renderer/gfx-base/GFXQueue.h | 9 +- .../cocos/renderer/gfx-base/GFXRenderPass.cpp | 65 +- native/cocos/renderer/gfx-base/GFXSampler.cpp | 11 +- native/cocos/renderer/gfx-base/GFXShader.cpp | 3 +- native/cocos/renderer/gfx-base/GFXTexture.cpp | 29 +- native/cocos/renderer/gfx-base/GFXTexture.h | 22 +- .../renderer/gfx-base/GFXTextureBarrier.cpp | 11 +- .../renderer/gfx-empty/EmptyCommandBuffer.cpp | 2 +- .../renderer/gfx-empty/EmptyCommandBuffer.h | 2 +- .../gfx-gles-common/GLESCommandPool.h | 6 +- .../cocos/renderer/gfx-gles2/GLES2Buffer.cpp | 16 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 119 ++-- .../renderer/gfx-gles2/GLES2CommandBuffer.h | 42 +- .../renderer/gfx-gles2/GLES2Commands.cpp | 568 ++++++++-------- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 194 +++--- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 34 +- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 75 +- native/cocos/renderer/gfx-gles2/GLES2Device.h | 33 +- .../renderer/gfx-gles2/GLES2Framebuffer.cpp | 12 +- .../renderer/gfx-gles2/GLES2GPUObjects.h | 68 +- .../gfx-gles2/GLES2InputAssembler.cpp | 16 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.cpp | 62 +- .../gfx-gles2/GLES2PrimaryCommandBuffer.h | 9 +- .../cocos/renderer/gfx-gles2/GLES2Queue.cpp | 10 +- .../cocos/renderer/gfx-gles2/GLES2Sampler.cpp | 10 +- .../cocos/renderer/gfx-gles2/GLES2Shader.cpp | 10 +- .../cocos/renderer/gfx-gles2/GLES2Texture.cpp | 42 +- .../cocos/renderer/gfx-gles3/GLES3Buffer.cpp | 48 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 45 +- .../renderer/gfx-gles3/GLES3CommandBuffer.h | 10 +- .../renderer/gfx-gles3/GLES3Commands.cpp | 507 +++++++------- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 244 +++---- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 32 +- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 91 +-- native/cocos/renderer/gfx-gles3/GLES3Device.h | 14 +- .../renderer/gfx-gles3/GLES3Framebuffer.cpp | 14 +- .../renderer/gfx-gles3/GLES3GPUObjects.h | 455 +++++++------ .../gfx-gles3/GLES3InputAssembler.cpp | 16 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.cpp | 55 +- .../gfx-gles3/GLES3PrimaryCommandBuffer.h | 8 +- .../cocos/renderer/gfx-gles3/GLES3Queue.cpp | 8 +- .../cocos/renderer/gfx-gles3/GLES3Sampler.cpp | 10 +- .../cocos/renderer/gfx-gles3/GLES3Shader.cpp | 10 +- .../cocos/renderer/gfx-gles3/GLES3Texture.cpp | 14 +- .../renderer/gfx-metal/MTLCommandBuffer.h | 2 +- .../renderer/gfx-metal/MTLCommandBuffer.mm | 51 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 6 +- native/cocos/renderer/gfx-metal/MTLUtils.mm | 226 +++---- .../gfx-validator/CommandBufferValidator.cpp | 12 +- .../gfx-validator/CommandBufferValidator.h | 2 +- .../gfx-validator/DeviceValidator.cpp | 14 +- .../renderer/gfx-validator/DeviceValidator.h | 10 +- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 14 +- native/cocos/renderer/gfx-vulkan/VKBuffer.h | 5 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 93 ++- .../renderer/gfx-vulkan/VKCommandBuffer.h | 8 +- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 308 ++++----- native/cocos/renderer/gfx-vulkan/VKCommands.h | 56 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 60 +- native/cocos/renderer/gfx-vulkan/VKContext.h | 27 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 32 +- .../gfx-vulkan/VKDescriptorSetLayout.cpp | 13 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 117 ++-- native/cocos/renderer/gfx-vulkan/VKDevice.h | 30 +- .../renderer/gfx-vulkan/VKFramebuffer.cpp | 12 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 184 ++--- .../renderer/gfx-vulkan/VKGlobalBarrier.cpp | 10 +- .../renderer/gfx-vulkan/VKInputAssembler.cpp | 16 +- .../renderer/gfx-vulkan/VKPipelineLayout.cpp | 13 +- .../renderer/gfx-vulkan/VKPipelineState.cpp | 14 +- native/cocos/renderer/gfx-vulkan/VKQueue.cpp | 12 +- native/cocos/renderer/gfx-vulkan/VKQueue.h | 3 +- .../renderer/gfx-vulkan/VKRenderPass.cpp | 8 +- .../cocos/renderer/gfx-vulkan/VKSampler.cpp | 8 +- native/cocos/renderer/gfx-vulkan/VKShader.cpp | 8 +- native/cocos/renderer/gfx-vulkan/VKStd.h | 5 +- .../cocos/renderer/gfx-vulkan/VKTexture.cpp | 14 +- .../renderer/gfx-vulkan/VKTextureBarrier.cpp | 14 +- native/cocos/renderer/gfx-vulkan/VKUtils.cpp | 607 +++++++++++++++++ native/cocos/renderer/gfx-vulkan/VKUtils.h | 639 ++---------------- .../pipeline/PipelineStateManager.cpp | 16 +- native/docs/LINTER_AUTOFIX_GUIDE.md | 103 +++ native/docs/imgs/LLVM.png | Bin 0 -> 19039 bytes native/docs/imgs/NDK.png | Bin 0 -> 5265 bytes native/docs/imgs/auto-fix.gif | Bin 0 -> 257064 bytes native/docs/imgs/auto-format.gif | Bin 0 -> 111054 bytes native/docs/imgs/compile_commands.png | Bin 0 -> 9375 bytes native/docs/imgs/extensions.png | Bin 0 -> 15473 bytes native/docs/imgs/format.png | Bin 0 -> 9338 bytes native/docs/imgs/re-lint.png | Bin 0 -> 6367 bytes native/docs/imgs/tidy-options.png | Bin 0 -> 53717 bytes native/docs/imgs/tidy-output-editor.png | Bin 0 -> 97849 bytes native/docs/imgs/tidy-output-error.png | Bin 0 -> 30546 bytes native/docs/imgs/tidy-output.png | Bin 0 -> 35357 bytes .../generate_compile_commands_android.sh | 17 + native/utils/tidy-fix-commit.sh | 12 + 138 files changed, 3866 insertions(+), 3836 deletions(-) create mode 100644 native/.vscode/c_cpp_properties.json create mode 100644 native/cocos/renderer/gfx-vulkan/VKUtils.cpp create mode 100644 native/docs/LINTER_AUTOFIX_GUIDE.md create mode 100644 native/docs/imgs/LLVM.png create mode 100644 native/docs/imgs/NDK.png create mode 100644 native/docs/imgs/auto-fix.gif create mode 100644 native/docs/imgs/auto-format.gif create mode 100644 native/docs/imgs/compile_commands.png create mode 100644 native/docs/imgs/extensions.png create mode 100644 native/docs/imgs/format.png create mode 100644 native/docs/imgs/re-lint.png create mode 100644 native/docs/imgs/tidy-options.png create mode 100644 native/docs/imgs/tidy-output-editor.png create mode 100644 native/docs/imgs/tidy-output-error.png create mode 100644 native/docs/imgs/tidy-output.png create mode 100755 native/utils/generate_compile_commands_android.sh create mode 100755 native/utils/tidy-fix-commit.sh diff --git a/native/.clang-format b/native/.clang-format index 78f3c14637..9f238f2ae8 100644 --- a/native/.clang-format +++ b/native/.clang-format @@ -1,33 +1,18 @@ -BasedOnStyle: LLVM +--- -IndentWidth: 4 +BasedOnStyle: Google -BreakBeforeBraces: Attach +AccessModifierOffset: -4 +AlignConsecutiveMacros: true +AlignConsecutiveAssignments: true +AlignConsecutiveDeclarations: true +AllowShortCaseLabelsOnASingleLine: true +ColumnLimit: 0 +ConstructorInitializerIndentWidth: 0 +IncludeBlocks: Preserve +IndentPPDirectives: BeforeHash +IndentWidth: 4 +SpacesBeforeTrailingComments: 1 -AllowShortIfStatementsOnASingleLine: true - -AllowShortLoopsOnASingleLine: true - -IndentCaseLabels: true - -ObjCBlockIndentWidth: 4 - -ObjCSpaceAfterProperty: true - -ColumnLimit: 0 - -AlignTrailingComments: true - -AllowShortCaseLabelsOnASingleLine: true -AllowAllConstructorInitializersOnNextLine: false - -AccessModifierOffset: -4 - -ConstructorInitializerIndentWidth: 0 -ConstructorInitializerAllOnOneLineOrOnePerLine: true - -AlignConsecutiveMacros: true -AlignConsecutiveAssignments: true -AlignConsecutiveDeclarations: true - -IndentPPDirectives: BeforeHash +ObjCBlockIndentWidth: 4 +ObjCSpaceAfterProperty: true diff --git a/native/.clang-tidy b/native/.clang-tidy index 53425b4002..8376196f46 100644 --- a/native/.clang-tidy +++ b/native/.clang-tidy @@ -1,81 +1,60 @@ -# Here is an explanation for why some of the checks are disabled: +--- +# Here are the reasons for disabled checks: # -# -modernize-use-trailing-return-type, -fuchsia-trailing-return: return a function call -# at the end of a function is normal usage. -# -# -readability-implicit-bool-conversion, -readability-implicit-bool-cast: if (_usage & BufferUsageBit::VERTEX) -# is normal usage -# -# -cppcoreguidelines-pro-type-vararg: use it in macro define, such as Log functions. May use -# template instead in future. -# -# -cppcoreguidelines-pro-type-static-cast-downcast: sub class of gfx device should use static_cast() to -# cast to derived class. -# -# -readability-function-cognitive-complexity: it will limit function size. -# -# -cppcoreguidelines-pro-bounds-pointer-arithmetic, cppcoreguidelines-pro-bounds-array-to-pointer-decay: -# JS pass data by pointer, so it is common to use pointer arithmetic. +# -misc-non-private-member-variables-in-classes +# -modernize-avoid-c-arrays +# Legacy reasons # +# -modernize-concat-nested-namespaces: More flexible not concated +# -modernize-use-nodiscard: No C++17 specific rules for now +# -modernize-use-trailing-return-type: It is acceptable to return a function call at the end of a function +# -readability-braces-around-statements: Simple single statement can be without braces +# -readability-function-cognitive-complexity: This will limit function size +# -readability-implicit-bool-conversion: We omit explicit bool conversion for brevity +# -readability-implicit-bool-cast: We omit explicit bool conversion for brevity +# -readability-magic-numbers: There will be lots of constants + Checks: > - -*, - readability-identifier-*, - modernize-use-override, - modernize-use-auto, - modernize-use-emplace, - modernize-use-equals-delete, - modernize-use-equals-default, - modernize-use-noexcept, - modernize-use-nullptr, - modernize-redundant-void-arg, - modernize-raw-string-literal, - modernize-pass-by-value, - modernize-loop-convert, - modernize-avoid-c-arrays, - modernize-use-using, - google-explicit-constructor + -*, + bugprone-*, + google-*, + misc-*, + modernize-*, + performance-*, + portability-*, + readability-*, + + -misc-non-private-member-variables-in-classes, + -modernize-avoid-c-arrays, + + -modernize-concat-nested-namespaces, + -modernize-use-nodiscard, + -modernize-use-trailing-return-type, + -readability-braces-around-statements, + -readability-function-cognitive-complexity, + -readability-implicit-bool-conversion, + -readability-implicit-bool-cast, + -readability-magic-numbers, CheckOptions: -################## readability identifier naming ################################ -# class - - key: readability-identifier-naming.ClassCase - value: CamelCase - - key: readability-identifier-naming.ClassMemberCase - value: camelBack - - key: readability-identifier-naming.ClassMemberPrefix - value: _ - - key: readability-identifier-naming.ClassMethodCase - value: camelBack - - key: readability-identifier-naming.ClassConstantCase - value: UPPER_CASE - - key: readability-identifier-naming.ClassConstantCasePrefix - value: _ -# enum - - key: readability-identifier-naming.EnumCase - value: CamelCase - - key: readability-identifier-naming.ScopedEnumConstantCase - value: UPPER_CASE - - key: readability-identifier-naming.EnumConstantCase - value: UPPER_CASE -# others - - key: readability-identifier-naming.FunctionCase - value: camelBack - - key: readability-identifier-naming.ConstantCase - value: UPPER_CASE - - key: readability-identifier-naming.GlobalConstantCase - value: UPPER_CASE - - key: readability-identifier-naming.LocalConstantCase - value: camelBack - - key: readability-identifier-naming.LocalVariableCase - value: camelBack - - key: readability-identifier-naming.MacroDefinitionCase - value: UPPER_CASE - - key: readability-identifier-naming.ParameterCase - value: camelBack - - key: readability-identifier-naming.StaticConstantCase - value: UPPER_CASE - - key: readability-identifier-naming.VariableCase - value: camelBack - - key: readability-identifier-naming.StructCase - value: CamelBack + - { key: readability-identifier-naming.NamespaceCase, value: lower_case } + - { key: readability-identifier-naming.StructCase, value: CamelCase } + - { key: readability-identifier-naming.ClassCase, value: CamelCase } + - { key: readability-identifier-naming.ClassMethodCase, value: camelBack } + - { key: readability-identifier-naming.ClassConstantCase, value: UPPER_CASE } + - { key: readability-identifier-naming.ClassMemberCase, value: camelBack } + - { key: readability-identifier-naming.ProtectedMemberPrefix, value: _ } + - { key: readability-identifier-naming.PrivateMemberPrefix, value: _ } + - { key: readability-identifier-naming.EnumCase, value: CamelCase } + - { key: readability-identifier-naming.ScopedEnumConstantCase, value: UPPER_CASE } + - { key: readability-identifier-naming.EnumConstantCase, value: UPPER_CASE } + + - { key: readability-identifier-naming.FunctionCase, value: camelBack } + - { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE } + - { key: readability-identifier-naming.LocalConstantCase, value: camelBack } + - { key: readability-identifier-naming.LocalVariableCase, value: camelBack } + - { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE } + - { key: readability-identifier-naming.ParameterCase, value: camelBack } + - { key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE } + - { key: readability-identifier-naming.VariableCase, value: camelBack } diff --git a/native/.github/workflows/clangtidy-android.yml b/native/.github/workflows/clangtidy-android.yml index 1dd1790263..e79b877892 100644 --- a/native/.github/workflows/clangtidy-android.yml +++ b/native/.github/workflows/clangtidy-android.yml @@ -46,9 +46,7 @@ jobs: EXT_VERSION=`grep version external/config.json |awk -F'"' '{print $4}'` rm external/config.json git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos-creator/engine-native-external external - echo -e "cmake_minimum_required(VERSION 3.8)\nproject(engine_native CXX)\nenable_language(C ASM)" | cat - CMakeLists.txt > tmp.txt - mv tmp.txt CMakeLists.txt - cmake -Bbuild -DCC_USE_GLES2=ON -DCC_USE_VULKAN=ON -DCC_USE_GLES3=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE="$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake" -DANDROID_PLATFORM=android-21 -G"Unix Makefiles" + utils/generate_compile_commands_android.sh - name: Generate clang-fix.yaml shell: bash @@ -59,7 +57,7 @@ jobs: if [[ "$FILTERED-xxx" == "-xxx" ]]; then echo "no source files match" else - clang-tidy-11 --format-style=file -p ./build --export-fixes=clang-fixes.yaml $FILTERED + clang-tidy-11 --format-style=file --export-fixes=clang-fixes.yaml $FILTERED fi - name: clang-tidy-action uses: PatriceJiang/clang-tidy-action@master diff --git a/native/.github/workflows/filter_by_cdb.js b/native/.github/workflows/filter_by_cdb.js index 87962c7df9..2e8e358847 100644 --- a/native/.github/workflows/filter_by_cdb.js +++ b/native/.github/workflows/filter_by_cdb.js @@ -11,13 +11,12 @@ const cdbFile = path.join(__dirname, '../../build/compile_commands.json'); if (fs.existsSync(cdbFile)) { const db = JSON.parse(fs.readFileSync(cdbFile, { encoding: 'utf8' })); for (let f of ARGS) { - for (let t of db) { - if (t.file.endsWith(f)) { - result.push(f); - } + const name = f.endsWith('.h') ? f.slice(0, -2) : f; // ignore .h extension name + if (db.some((info) => info.file.includes(name))) { + result.push(f); } } - console.log(result.join(" ")); + console.log(result.join(' ')); } else { - console.log(ARGS.join(" ")); -} \ No newline at end of file + console.log(ARGS.join(' ')); +} diff --git a/native/.gitignore b/native/.gitignore index 98a616f708..e10d3055a6 100644 --- a/native/.gitignore +++ b/native/.gitignore @@ -77,9 +77,6 @@ xcschememanagement.plist xcuserdata/ DerivedData/ -# Ignore files built by AppCode -.idea/ - # Ignore files built by bada .Simulator-Debug/ .Target-Debug/ @@ -159,6 +156,10 @@ tests/cpp-tests/Resources/audio # generated by vscode .vscode/ +# generated by Clion +.idea/ +cmake-build* +compile_commands.json # generated by "gulp gen-simulator" /tools/simulator/runtime/win32 diff --git a/native/.vscode/c_cpp_properties.json b/native/.vscode/c_cpp_properties.json new file mode 100644 index 0000000000..13969a5434 --- /dev/null +++ b/native/.vscode/c_cpp_properties.json @@ -0,0 +1,23 @@ +{ + "configurations": [ + { + "name": "Clang-Android", + "includePath": [ + ".", + "cocos", + "cocos/renderer", + "cocos/platform", + "cocos/platform/ios", + "cocos/editor-support", + "cocos/bindings/jswrapper", + "external/sources", + "external/sources/khronos", + "external/win32/include", + "external/win32/include/glslang", + "external/win32/include/v8" + ], + "compileCommands": "compile_commands.json" + } + ], + "version": 4 +} diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 0009393649..a30c5e7b97 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -1021,9 +1021,10 @@ if(CC_USE_VULKAN) cocos/renderer/gfx-vulkan/VKTexture.h NO_WERROR cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp cocos/renderer/gfx-vulkan/VKTextureBarrier.h + NO_WERROR cocos/renderer/gfx-vulkan/VKUtils.cpp cocos/renderer/gfx-vulkan/VKUtils.h - cocos/renderer/gfx-vulkan/volk.h NO_WERROR cocos/renderer/gfx-vulkan/volk.c + cocos/renderer/gfx-vulkan/volk.h ) endif() diff --git a/native/README.md b/native/README.md index eb7a6cf499..426f901cad 100644 --- a/native/README.md +++ b/native/README.md @@ -8,7 +8,7 @@ It is the native backend of [Cocos Creator](https://www.cocos.com/en/creator). I Coding format and coding style --------------------------------- -The coding format file is `.clang-format`, and the coding style fomat file is `.clang-tidy`. Please use [clang-format](https://clang.llvm.org/docs/ClangFormat.html) to format the codes and use [clang-tidy](http://clang.llvm.org/extra/index.html) to fix the coding style before commiting codes. +The coding format file is `.clang-format`, and the coding style fomat file is `.clang-tidy`. Please use [clang-format](https://clang.llvm.org/docs/ClangFormat.html) to format the codes and use [clang-tidy](http://clang.llvm.org/extra/index.html) to fix the coding style before commiting codes. See the [linter auto-fix guide](docs/LINTER_AUTOFIX_GUIDE.md) for more information. Documentations -------------------------------- diff --git a/native/cocos/base/Agent.h b/native/cocos/base/Agent.h index 6382837d93..f7d7f2eb40 100644 --- a/native/cocos/base/Agent.h +++ b/native/cocos/base/Agent.h @@ -25,6 +25,7 @@ #pragma once +#include "Macros.h" #include namespace cc { @@ -34,7 +35,7 @@ class CC_DLL Agent : public Actor { public: Agent() noexcept = delete; - Agent(Actor *const actor) noexcept + explicit Agent(Actor *const actor) noexcept : Actor(), _actor(actor) {} ~Agent() override {} diff --git a/native/cocos/base/CachedArray.h b/native/cocos/base/CachedArray.h index 0c4833efb7..6d2448b377 100755 --- a/native/cocos/base/CachedArray.h +++ b/native/cocos/base/CachedArray.h @@ -23,22 +23,24 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_KERNEL_CACHED_ARRAY_H_ -#define CC_CORE_KERNEL_CACHED_ARRAY_H_ +#pragma once + +#include "base/Object.h" +#include "base/TypeDef.h" namespace cc { template class CachedArray : public Object { public: - CachedArray(uint size = 1u) { + explicit CachedArray(uint size = 1U) { _size = 0; _capacity = std::max(size, 1u); _array = CC_NEW_ARRAY(T, _capacity); } // The rule of five applies here - ~CachedArray() { + ~CachedArray() override { CC_SAFE_DELETE_ARRAY(_array); } @@ -47,6 +49,7 @@ public: memcpy(_array, other._array, _size * sizeof(T)); } + // NOLINTNEXTLINE(bugprone-unhandled-self-assignment) false positive CachedArray &operator=(const CachedArray &other) noexcept { if (this != &other) { CC_DELETE_ARRAY(_array); @@ -59,7 +62,7 @@ public: } CachedArray(CachedArray &&other) - : _size(other._size), _capacity(other._capacity), _array(other._array) { + noexcept : _size(other._size), _capacity(other._capacity), _array(other._array) { other._size = 0; other._capacity = 0; other._array = nullptr; @@ -161,5 +164,3 @@ private: }; } // namespace cc - -#endif // CC_CORE_KERNEL_CACHED_ARRAY_H_ diff --git a/native/cocos/base/Object.h b/native/cocos/base/Object.h index 22edd1ba1e..bef6411e1e 100755 --- a/native/cocos/base/Object.h +++ b/native/cocos/base/Object.h @@ -25,8 +25,7 @@ #pragma once -#include "memory/AllocatedObj.h" -#include "memory/MemDef.h" +#include "memory/Memory.h" namespace cc { diff --git a/native/cocos/base/Utils.h b/native/cocos/base/Utils.h index acec4f86e1..1f1c68e724 100644 --- a/native/cocos/base/Utils.h +++ b/native/cocos/base/Utils.h @@ -32,40 +32,46 @@ #include #include -/** @file ccUtils.h -Misc free functions -*/ - namespace cc { - -/* -utils::nextPOT function is licensed under the same license that is used in Texture2D.m. -*/ - -/** Returns the Next Power of Two value. - -Examples: -- If "value" is 15, it will return 16. -- If "value" is 16, it will return 16. -- If "value" is 17, it will return 32. -@param value The value to get next power of two. -@return Returns the next power of two value. -@since v0.99.5 -*/ - namespace utils { CC_DLL std::string getStacktrace(uint skip = 0, uint maxDepth = UINT_MAX); -CC_DLL int nextPOT(int x); -/** Same to ::atof, but strip the string, remain 7 numbers after '.' before call atof. - * Why we need this? Because in android c++_static, atof ( and std::atof ) is unsupported for numbers have long decimal part and contain - * several numbers can approximate to 1 ( like 90.099998474121094 ), it will return inf. This function is used to fix this bug. - * @param str The string be to converted to double. - * @return Returns converted value of a string. - */ +/** + * Returns the Next Power of Two value. + * Examples: + * - If "value" is 15, it will return 16. + * - If "value" is 16, it will return 16. + * - If "value" is 17, it will return 32. + * @param value The value to get next power of two. + * @return Returns the next power of two value. + * @since v0.99.5 +*/ +CC_DLL uint nextPOT(uint x); + +/** + * Same to ::atof, but strip the string, remain 7 numbers after '.' before call atof. + * Why we need this? Because in android c++_static, atof ( and std::atof ) is unsupported for numbers have long decimal part and contain + * several numbers can approximate to 1 ( like 90.099998474121094 ), it will return inf. This function is used to fix this bug. + * @param str The string be to converted to double. + * @return Returns converted value of a string. + */ CC_DLL double atof(const char *str); -} // namespace utils +template +char (*countOfHelper(T (&array)[Size]))[Size]; +#define COUNTOF(array) (sizeof(*countOfHelper(array)) + 0) + +template +uint toUint(T value) { + static_assert(std::is_arithmetic::value, "T must be numeric"); + + CCASSERT(static_cast(value) <= static_cast(std::numeric_limits::max()), + "value is too big to be converted to uint"); + + return static_cast(value); +} + +} // namespace utils } // namespace cc diff --git a/native/cocos/base/memory/AllocatedObj.h b/native/cocos/base/memory/AllocatedObj.h index 2b1b3eec8b..e56f5e7887 100755 --- a/native/cocos/base/memory/AllocatedObj.h +++ b/native/cocos/base/memory/AllocatedObj.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_CORE_ALLOCATED_OBJ_H_ -#define CC_CORE_ALLOCATED_OBJ_H_ +#pragma once #include "../Macros.h" @@ -47,8 +46,8 @@ namespace cc { template class CC_DLL AllocatedObject { public: - explicit AllocatedObject() {} - ~AllocatedObject() {} + explicit AllocatedObject() = default; + virtual ~AllocatedObject() = default; // operator new, with debug line info void *operator new(size_t sz, const char *file, int line, const char *func) { @@ -81,12 +80,12 @@ public: } // Corresponding operator for placement delete (second param same as the first) - void operator delete(void *ptr, void *) { + void operator delete(void *ptr, void * /*unused*/) { Alloc::DeallocateBytes(ptr); } // only called if there is an exception in corresponding 'new' - void operator delete(void *ptr, const char *, int, const char *) { + void operator delete(void *ptr, const char * /*unused*/, int /*unused*/, const char * /*unused*/) { Alloc::DeallocateBytes(ptr); } @@ -94,11 +93,9 @@ public: Alloc::DeallocateBytes(ptr); } - void operator delete[](void *ptr, const char *, int, const char *) { + void operator delete[](void *ptr, const char * /*unused*/, int /*unused*/, const char * /*unused*/) { Alloc::DeallocateBytes(ptr); } }; } // namespace cc - -#endif // CC_CORE_ALLOCATED_OBJ_H_ diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp index f2a61a383e..a367d771b9 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.cpp @@ -28,7 +28,7 @@ namespace cc { -ThreadSafeLinearAllocator::ThreadSafeLinearAllocator(uint32_t const size) noexcept +ThreadSafeLinearAllocator::ThreadSafeLinearAllocator(uint32_t size) noexcept : _capacity(size) { _buffer = malloc(size); } @@ -37,7 +37,7 @@ ThreadSafeLinearAllocator::~ThreadSafeLinearAllocator() { free(_buffer); } -void *ThreadSafeLinearAllocator::allocate(size_t const size, size_t const alignment) noexcept { +void *ThreadSafeLinearAllocator::allocate(size_t size, size_t alignment) noexcept { if (size == 0) { return nullptr; } @@ -51,11 +51,10 @@ void *ThreadSafeLinearAllocator::allocate(size_t const size, size_t const alignm allocatedMemory = acl::align_to(acl::add_offset_to_ptr(_buffer, oldUsedSize), alignment); newUsedSize = reinterpret_cast(allocatedMemory) - reinterpret_cast(_buffer) + size; - if (newUsedSize > _capacity) // overflows - { - return nullptr; + if (newUsedSize > _capacity) { + return nullptr; // overflows } - } while (!_usedSize.compare_exchange_weak(oldUsedSize, static_cast(newUsedSize), std::memory_order_relaxed, std::memory_order_relaxed)); // 不可能存在ABA 不处理 + } while (!_usedSize.compare_exchange_weak(oldUsedSize, static_cast(newUsedSize), std::memory_order_relaxed, std::memory_order_relaxed)); // no ABA possible return allocatedMemory; } diff --git a/native/cocos/base/threading/ThreadSafeLinearAllocator.h b/native/cocos/base/threading/ThreadSafeLinearAllocator.h index 42a6ef5b02..ac89bbfb7f 100644 --- a/native/cocos/base/threading/ThreadSafeLinearAllocator.h +++ b/native/cocos/base/threading/ThreadSafeLinearAllocator.h @@ -33,14 +33,14 @@ namespace cc { class alignas(16) ThreadSafeLinearAllocator final { public: - explicit ThreadSafeLinearAllocator(uint32_t const size) noexcept; + explicit ThreadSafeLinearAllocator(uint32_t size) noexcept; ~ThreadSafeLinearAllocator(); ThreadSafeLinearAllocator(ThreadSafeLinearAllocator const &) = delete; ThreadSafeLinearAllocator(ThreadSafeLinearAllocator &&) = delete; ThreadSafeLinearAllocator &operator=(ThreadSafeLinearAllocator const &) = delete; ThreadSafeLinearAllocator &operator=(ThreadSafeLinearAllocator &&) = delete; - void *allocate(size_t const size, size_t const alignment) noexcept; + void *allocate(size_t size, size_t alignment) noexcept; inline void * getBuffer() const noexcept { return _buffer; } inline uint32_t getCapacity() const noexcept { return _capacity; } diff --git a/native/cocos/bindings/dop/BufferPool.cpp b/native/cocos/bindings/dop/BufferPool.cpp index 3e9b4ee553..78057be3c9 100644 --- a/native/cocos/bindings/dop/BufferPool.cpp +++ b/native/cocos/bindings/dop/BufferPool.cpp @@ -27,7 +27,7 @@ #include "base/Macros.h" #include "base/memory/Memory.h" -using namespace se; +namespace se { cc::map BufferPool::_poolMap; @@ -52,7 +52,7 @@ BufferPool::~BufferPool() { } Object *BufferPool::allocateNewChunk() { - Object *jsObj = _allocator.alloc((uint)_chunks.size(), _bytesPerChunk); + Object *jsObj = _allocator.alloc(static_cast(_chunks.size()), _bytesPerChunk); uint8_t *realPtr = nullptr; size_t len = 0; @@ -61,3 +61,5 @@ Object *BufferPool::allocateNewChunk() { return jsObj; } + +} // namespace se diff --git a/native/cocos/platform/Image.cpp b/native/cocos/platform/Image.cpp index a486c98741..a66e52a6f2 100644 --- a/native/cocos/platform/Image.cpp +++ b/native/cocos/platform/Image.cpp @@ -26,17 +26,17 @@ ****************************************************************************/ #include "Image.h" -#include -#include -#include #include "base/Config.h" // CC_USE_JPEG, CC_USE_WEBP +#include +#include +#include #if CC_USE_JPEG #include "jpeg/jpeglib.h" #endif // CC_USE_JPEG +#include "base/CoreStd.h" #include "base/Data.h" #include "base/Utils.h" -#include "base/CoreStd.h" #include "gfx-base/GFXDef.h" extern "C" { @@ -54,8 +54,8 @@ extern "C" { #include "webp/decode.h" #endif // CC_USE_WEBP -#include "platform/FileUtils.h" #include "base/ZipUtils.h" +#include "platform/FileUtils.h" #if (CC_PLATFORM == CC_PLATFORM_ANDROID) #include "platform/android/FileUtils-android.h" #endif @@ -68,22 +68,22 @@ namespace cc { //struct and data for pvr structure namespace { -static const int PVR_TEXTURE_FLAG_TYPE_MASK = 0xff; +const int PVR_TEXTURE_FLAG_TYPE_MASK = 0xff; // Values taken from PVRTexture.h from http://www.imgtec.com enum class PVR2TextureFlag { - Mipmap = (1 << 8), // has mip map levels - Twiddle = (1 << 9), // is twiddled - Bumpmap = (1 << 10), // has normals encoded for a bump map - Tiling = (1 << 11), // is bordered for tiled pvr - Cubemap = (1 << 12), // is a cubemap/skybox - FalseMipCol = (1 << 13), // are there false colored MIP levels - Volume = (1 << 14), // is this a volume texture - Alpha = (1 << 15), // v2.1 is there transparency info in the texture - VerticalFlip = (1 << 16), // v2.1 is the texture vertically flipped + MIPMAP = (1 << 8), // has mip map levels + TWIDDLE = (1 << 9), // is twiddled + BUMPMAP = (1 << 10), // has normals encoded for a bump map + TILING = (1 << 11), // is bordered for tiled pvr + CUBEMAP = (1 << 12), // is a cubemap/skybox + FALSE_MIP_COL = (1 << 13), // are there false colored MIP levels + VOLUME = (1 << 14), // is this a volume texture + ALPHA = (1 << 15), // v2.1 is there transparency info in the texture + VERTICAL_FLIP = (1 << 16), // v2.1 is the texture vertically flipped }; -static const char gPVRTexIdentifier[5] = "PVR!"; +const char G_PVR_TEX_IDENTIFIER[5] = "PVR!"; // v2 enum class PVR2TexturePixelFormat : unsigned char { @@ -103,99 +103,97 @@ enum class PVR2TexturePixelFormat : unsigned char { // v3 enum class PVR3TexturePixelFormat : uint64_t { - PVRTC2BPP_RGB = 0ULL, - PVRTC2BPP_RGBA = 1ULL, - PVRTC4BPP_RGB = 2ULL, - PVRTC4BPP_RGBA = 3ULL, - PVRTC2_2BPP_RGBA = 4ULL, - PVRTC2_4BPP_RGBA = 5ULL, - ETC1 = 6ULL, - DXT1 = 7ULL, - DXT2 = 8ULL, - DXT3 = 9ULL, - DXT4 = 10ULL, - DXT5 = 11ULL, - BC1 = 7ULL, - BC2 = 9ULL, - BC3 = 11ULL, - BC4 = 12ULL, - BC5 = 13ULL, - BC6 = 14ULL, - BC7 = 15ULL, - UYVY = 16ULL, - YUY2 = 17ULL, - BW1bpp = 18ULL, - R9G9B9E5 = 19ULL, - RGBG8888 = 20ULL, - GRGB8888 = 21ULL, - ETC2_RGB = 22ULL, - ETC2_RGBA = 23ULL, - ETC2_RGBA1 = 24ULL, - EAC_R11_Unsigned = 25ULL, - EAC_R11_Signed = 26ULL, - EAC_RG11_Unsigned = 27ULL, - EAC_RG11_Signed = 28ULL, + PVRTC2BPP_RGB = 0ULL, + PVRTC2BPP_RGBA = 1ULL, + PVRTC4BPP_RGB = 2ULL, + PVRTC4BPP_RGBA = 3ULL, + PVRTC2_2BPP_RGBA = 4ULL, + PVRTC2_4BPP_RGBA = 5ULL, + ETC1 = 6ULL, + DXT1 = 7ULL, + DXT2 = 8ULL, + DXT3 = 9ULL, + DXT4 = 10ULL, + DXT5 = 11ULL, + BC1 = 7ULL, + BC2 = 9ULL, + BC3 = 11ULL, + BC4 = 12ULL, + BC5 = 13ULL, + BC6 = 14ULL, + BC7 = 15ULL, + UYVY = 16ULL, + YUY2 = 17ULL, + B_W1BPP = 18ULL, + R9G9B9E5 = 19ULL, + RGBG8888 = 20ULL, + GRGB8888 = 21ULL, + ETC2_RGB = 22ULL, + ETC2_RGBA = 23ULL, + ETC2_RGBA1 = 24ULL, + EAC_R11_UNSIGNED = 25ULL, + EAC_R11_SIGNED = 26ULL, + EAC_R_G11_UNSIGNED = 27ULL, + EAC_R_G11_SIGNED = 28ULL, BGRA8888 = 0x0808080861726762ULL, RGBA8888 = 0x0808080861626772ULL, RGBA4444 = 0x0404040461626772ULL, RGBA5551 = 0x0105050561626772ULL, - RGB565 = 0x0005060500626772ULL, - RGB888 = 0x0008080800626772ULL, - A8 = 0x0000000800000061ULL, - L8 = 0x000000080000006cULL, - LA88 = 0x000008080000616cULL, + RGB565 = 0x0005060500626772ULL, + RGB888 = 0x0008080800626772ULL, + A8 = 0x0000000800000061ULL, + L8 = 0x000000080000006cULL, + LA88 = 0x000008080000616cULL, }; // v2 -typedef const std::map _pixel2_formathash; +using _pixel2_formathash = const std::map; -static const _pixel2_formathash::value_type v2_pixel_formathash_value[] = - { - _pixel2_formathash::value_type(PVR2TexturePixelFormat::BGRA8888, gfx::Format::BGRA8), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGBA8888, gfx::Format::RGBA8), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGBA4444, gfx::Format::RGBA4), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGBA5551, gfx::Format::RGB5A1), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGB565, gfx::Format::R5G6B5), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGB888, gfx::Format::RGB8), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::A8, gfx::Format::A8), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::I8, gfx::Format::L8), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::AI88, gfx::Format::LA8), +const _pixel2_formathash::value_type V2_PIXEL_FORMATHASH_VALUE[] = { + _pixel2_formathash::value_type(PVR2TexturePixelFormat::BGRA8888, gfx::Format::BGRA8), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGBA8888, gfx::Format::RGBA8), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGBA4444, gfx::Format::RGBA4), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGBA5551, gfx::Format::RGB5A1), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGB565, gfx::Format::R5G6B5), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::RGB888, gfx::Format::RGB8), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::A8, gfx::Format::A8), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::I8, gfx::Format::L8), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::AI88, gfx::Format::LA8), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::PVRTC2BPP_RGBA, gfx::Format::PVRTC_RGBA2), - _pixel2_formathash::value_type(PVR2TexturePixelFormat::PVRTC4BPP_RGBA, gfx::Format::PVRTC_RGBA4), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::PVRTC2BPP_RGBA, gfx::Format::PVRTC_RGBA2), + _pixel2_formathash::value_type(PVR2TexturePixelFormat::PVRTC4BPP_RGBA, gfx::Format::PVRTC_RGBA4), }; -static const int PVR2_MAX_TABLE_ELEMENTS = sizeof(v2_pixel_formathash_value) / sizeof(v2_pixel_formathash_value[0]); -static const _pixel2_formathash v2_pixel_formathash(v2_pixel_formathash_value, v2_pixel_formathash_value + PVR2_MAX_TABLE_ELEMENTS); +const int PVR2_MAX_TABLE_ELEMENTS = sizeof(V2_PIXEL_FORMATHASH_VALUE) / sizeof(V2_PIXEL_FORMATHASH_VALUE[0]); +const _pixel2_formathash V2_PIXEL_FORMATHASH(V2_PIXEL_FORMATHASH_VALUE, V2_PIXEL_FORMATHASH_VALUE + PVR2_MAX_TABLE_ELEMENTS); // v3 -typedef const std::map _pixel3_formathash; -static _pixel3_formathash::value_type v3_pixel_formathash_value[] = - { - _pixel3_formathash::value_type(PVR3TexturePixelFormat::BGRA8888, gfx::Format::BGRA8), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGBA8888, gfx::Format::RGBA8), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGBA4444, gfx::Format::RGBA4), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGBA5551, gfx::Format::RGB5A1), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGB565, gfx::Format::R5G6B5), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGB888, gfx::Format::RGB8), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::A8, gfx::Format::A8), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::L8, gfx::Format::L8), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::LA88, gfx::Format::LA8), +using _pixel3_formathash = const std::map; +_pixel3_formathash::value_type v3PixelFormathashValue[] = { + _pixel3_formathash::value_type(PVR3TexturePixelFormat::BGRA8888, gfx::Format::BGRA8), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGBA8888, gfx::Format::RGBA8), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGBA4444, gfx::Format::RGBA4), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGBA5551, gfx::Format::RGB5A1), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGB565, gfx::Format::R5G6B5), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::RGB888, gfx::Format::RGB8), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::A8, gfx::Format::A8), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::L8, gfx::Format::L8), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::LA88, gfx::Format::LA8), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::PVRTC2BPP_RGB, gfx::Format::PVRTC_RGB2), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::PVRTC2BPP_RGBA, gfx::Format::PVRTC_RGBA2), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::PVRTC4BPP_RGB, gfx::Format::PVRTC_RGB4), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::PVRTC4BPP_RGBA, gfx::Format::PVRTC_RGBA4), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::PVRTC2BPP_RGB, gfx::Format::PVRTC_RGB2), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::PVRTC2BPP_RGBA, gfx::Format::PVRTC_RGBA2), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::PVRTC4BPP_RGB, gfx::Format::PVRTC_RGB4), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::PVRTC4BPP_RGBA, gfx::Format::PVRTC_RGBA4), - _pixel3_formathash::value_type(PVR3TexturePixelFormat::ETC1, gfx::Format::ETC_RGB8), + _pixel3_formathash::value_type(PVR3TexturePixelFormat::ETC1, gfx::Format::ETC_RGB8), }; -static const int PVR3_MAX_TABLE_ELEMENTS = sizeof(v3_pixel_formathash_value) / sizeof(v3_pixel_formathash_value[0]); +const int PVR3_MAX_TABLE_ELEMENTS = sizeof(v3PixelFormathashValue) / sizeof(v3PixelFormathashValue[0]); -static const _pixel3_formathash v3_pixel_formathash(v3_pixel_formathash_value, v3_pixel_formathash_value + PVR3_MAX_TABLE_ELEMENTS); +const _pixel3_formathash V3_PIXEL_FORMATHASH(v3PixelFormathashValue, v3PixelFormathashValue + PVR3_MAX_TABLE_ELEMENTS); -typedef struct _PVRTexHeader { +using PVRv2TexHeader = struct PvrTexHeader { unsigned int headerLength; unsigned int height; unsigned int width; @@ -209,13 +207,12 @@ typedef struct _PVRTexHeader { unsigned int bitmaskAlpha; unsigned int pvrTag; unsigned int numSurfs; -} PVRv2TexHeader; +}; #ifdef _MSC_VER #pragma pack(push, 1) #endif -typedef struct -{ +using PVRv3TexHeader = struct { uint32_t version; uint32_t flags; uint64_t pixelFormat; @@ -229,31 +226,30 @@ typedef struct uint32_t numberOfMipmaps; uint32_t metadataLength; #ifdef _MSC_VER -} PVRv3TexHeader; +}; #pragma pack(pop) #else -} __attribute__((packed)) PVRv3TexHeader; +} __attribute__((packed)); #endif } // namespace //pvr structure end namespace { -typedef struct -{ +using tImageSource = struct { const unsigned char *data; - ssize_t size; - int offset; -} tImageSource; + ssize_t size; + int offset; +}; #ifdef CC_USE_PNG -static void pngReadCallback(png_structp png_ptr, png_bytep data, png_size_t length) { - tImageSource *isource = (tImageSource *)png_get_io_ptr(png_ptr); +void pngReadCallback(png_structp pngPtr, png_bytep data, png_size_t length) { + auto *isource = static_cast(png_get_io_ptr(pngPtr)); - if ((int)(isource->offset + length) <= isource->size) { + if (static_cast(isource->offset + length) <= isource->size) { memcpy(data, isource->data + isource->offset, length); isource->offset += length; } else { - png_error(png_ptr, "pngReaderCallback failed"); + png_error(pngPtr, "pngReaderCallback failed"); } } #endif //CC_USE_PNG @@ -292,7 +288,7 @@ bool Image::initWithImageData(const unsigned char *data, ssize_t dataLen) { CC_BREAK_IF(!data || dataLen <= 0); unsigned char *unpackedData = nullptr; - ssize_t unpackedLen = 0; + ssize_t unpackedLen = 0; //detect and unzip the compress file if (ZipUtils::isCCZBuffer(data, dataLen)) { @@ -301,7 +297,7 @@ bool Image::initWithImageData(const unsigned char *data, ssize_t dataLen) { unpackedLen = ZipUtils::inflateMemory(const_cast(data), dataLen, &unpackedData); } else { unpackedData = const_cast(data); - unpackedLen = dataLen; + unpackedLen = dataLen; } _fileType = detectFormat(unpackedData, unpackedLen); @@ -335,7 +331,7 @@ bool Image::initWithImageData(const unsigned char *data, ssize_t dataLen) { if (unpackedData != data) { free(unpackedData); } - } while (0); + } while (false); return ret; } @@ -350,16 +346,16 @@ bool Image::isPng(const unsigned char *data, ssize_t dataLen) { return memcmp(PNG_SIGNATURE, data, sizeof(PNG_SIGNATURE)) == 0; } -bool Image::isEtc(const unsigned char *data, ssize_t dataLen) { - return etc1_pkm_is_valid((etc1_byte *)data) ? true : false; +bool Image::isEtc(const unsigned char *data, ssize_t /*dataLen*/) { + return etc1_pkm_is_valid(const_cast(data)) != 0; } -bool Image::isEtc2(const unsigned char *data, ssize_t dataLen) { - return etc2_pkm_is_valid((etc2_byte *)data) ? true : false; +bool Image::isEtc2(const unsigned char *data, ssize_t /*dataLen*/) { + return etc2_pkm_is_valid(const_cast(data)) != 0; } -bool Image::isASTC(const unsigned char *data, ssize_t dataLen) { - return astcIsValid((astc_byte *)data) ? true : false; +bool Image::isASTC(const unsigned char *data, ssize_t /*dataLen*/) { + return astcIsValid(const_cast(data)); } bool Image::isJpg(const unsigned char *data, ssize_t dataLen) { @@ -377,10 +373,10 @@ bool Image::isWebp(const unsigned char *data, ssize_t dataLen) { return false; } - static const char *WEBP_RIFF = "RIFF"; - static const char *WEBP_WEBP = "WEBP"; + static const char *webpRiff = "RIFF"; + static const char *webpWebp = "WEBP"; - return memcmp(data, WEBP_RIFF, 4) == 0 && memcmp(static_cast(data) + 8, WEBP_WEBP, 4) == 0; + return memcmp(data, webpRiff, 4) == 0 && memcmp(static_cast(data) + 8, webpWebp, 4) == 0; } bool Image::isPvr(const unsigned char *data, ssize_t dataLen) { @@ -388,122 +384,109 @@ bool Image::isPvr(const unsigned char *data, ssize_t dataLen) { return false; } - const PVRv2TexHeader *headerv2 = static_cast(static_cast(data)); - const PVRv3TexHeader *headerv3 = static_cast(static_cast(data)); + const auto *headerv2 = static_cast(static_cast(data)); + const auto *headerv3 = static_cast(static_cast(data)); - return memcmp(&headerv2->pvrTag, gPVRTexIdentifier, strlen(gPVRTexIdentifier)) == 0 || CC_SWAP_INT32_BIG_TO_HOST(headerv3->version) == 0x50565203; + return memcmp(&headerv2->pvrTag, G_PVR_TEX_IDENTIFIER, strlen(G_PVR_TEX_IDENTIFIER)) == 0 || CC_SWAP_INT32_BIG_TO_HOST(headerv3->version) == 0x50565203; } Image::Format Image::detectFormat(const unsigned char *data, ssize_t dataLen) { if (isPng(data, dataLen)) { return Format::PNG; - } else if (isJpg(data, dataLen)) { - return Format::JPG; - } else if (isWebp(data, dataLen)) { - return Format::WEBP; - } else if (isPvr(data, dataLen)) { - return Format::PVR; - } else if (isEtc(data, dataLen)) { - return Format::ETC; - } else if (isEtc2(data, dataLen)) { - return Format::ETC2; - } else if (isASTC(data, dataLen)) { - return Format::ASTC; - } else { - return Format::UNKNOWN; } + if (isJpg(data, dataLen)) { + return Format::JPG; + } + if (isWebp(data, dataLen)) { + return Format::WEBP; + } + if (isPvr(data, dataLen)) { + return Format::PVR; + } + if (isEtc(data, dataLen)) { + return Format::ETC; + } + if (isEtc2(data, dataLen)) { + return Format::ETC2; + } + if (isASTC(data, dataLen)) { + return Format::ASTC; + } + return Format::UNKNOWN; } -gfx::Format Image::getASTCFormat(const unsigned char *pHeader) const { +gfx::Format Image::getASTCFormat(const unsigned char *pHeader) { int xdim = pHeader[ASTC_HEADER_MAGIC]; int ydim = pHeader[ASTC_HEADER_MAGIC + 1]; - if (xdim == 4) { - return gfx::Format::ASTC_RGBA_4x4; - } else if (xdim == 5) { - if (ydim == 4) { - return gfx::Format::ASTC_RGBA_5x4; - } else { - return gfx::Format::ASTC_RGBA_5x5; - } - } else if (xdim == 6) { - if (ydim == 5) { - return gfx::Format::ASTC_RGBA_6x5; - } else { - return gfx::Format::ASTC_RGBA_6x6; - } - } else if (xdim == 8) { - if (ydim == 5) { - return gfx::Format::ASTC_RGBA_8x5; - } else if (ydim == 6) { - return gfx::Format::ASTC_RGBA_8x6; - } else { - return gfx::Format::ASTC_RGBA_8x8; - } - } else if (xdim == 10) { - if (ydim == 5) { - return gfx::Format::ASTC_RGBA_10x5; - } else if (ydim == 6) { - return gfx::Format::ASTC_RGBA_10x6; - } else if (ydim == 8) { - return gfx::Format::ASTC_RGBA_10x8; - } else { - return gfx::Format::ASTC_RGBA_10x10; - } - } else { - if (ydim == 10) { - return gfx::Format::ASTC_RGBA_12x10; - } else { - return gfx::Format::ASTC_RGBA_12x12; - } + if (xdim == 4) return gfx::Format::ASTC_RGBA_4X4; + if (xdim == 5) { + if (ydim == 4) return gfx::Format::ASTC_RGBA_5X4; + return gfx::Format::ASTC_RGBA_5X5; } + if (xdim == 6) { + if (ydim == 5) return gfx::Format::ASTC_RGBA_6X5; + return gfx::Format::ASTC_RGBA_6X6; + } + if (xdim == 8) { + if (ydim == 5) return gfx::Format::ASTC_RGBA_8X5; + if (ydim == 6) return gfx::Format::ASTC_RGBA_8X6; + return gfx::Format::ASTC_RGBA_8X8; + } + if (xdim == 10) { + if (ydim == 5) return gfx::Format::ASTC_RGBA_10X5; + if (ydim == 6) return gfx::Format::ASTC_RGBA_10X6; + if (ydim == 8) return gfx::Format::ASTC_RGBA_10X8; + return gfx::Format::ASTC_RGBA_10X10; + } + if (ydim == 10) return gfx::Format::ASTC_RGBA_12X10; + return gfx::Format::ASTC_RGBA_12X12; } namespace { /* - * ERROR HANDLING: - * - * The JPEG library's standard error handler (jerror.c) is divided into - * several "methods" which you can override individually. This lets you - * adjust the behavior without duplicating a lot of code, which you might - * have to update with each future release. - * - * We override the "error_exit" method so that control is returned to the - * library's caller when a fatal error occurs, rather than calling exit() - * as the standard error_exit method does. - * - * We use C's setjmp/longjmp facility to return control. This means that the - * routine which calls the JPEG library must first execute a setjmp() call to - * establish the return point. We want the replacement error_exit to do a - * longjmp(). But we need to make the setjmp buffer accessible to the - * error_exit routine. To do this, we make a private extension of the - * standard JPEG error handler object. (If we were using C++, we'd say we - * were making a subclass of the regular error handler.) - * - * Here's the extended error handler struct: - */ + * ERROR HANDLING: + * + * The JPEG library's standard error handler (jerror.c) is divided into + * several "methods" which you can override individually. This lets you + * adjust the behavior without duplicating a lot of code, which you might + * have to update with each future release. + * + * We override the "error_exit" method so that control is returned to the + * library's caller when a fatal error occurs, rather than calling exit() + * as the standard error_exit method does. + * + * We use C's setjmp/longjmp facility to return control. This means that the + * routine which calls the JPEG library must first execute a setjmp() call to + * establish the return point. We want the replacement error_exit to do a + * longjmp(). But we need to make the setjmp buffer accessible to the + * error_exit routine. To do this, we make a private extension of the + * standard JPEG error handler object. (If we were using C++, we'd say we + * were making a subclass of the regular error handler.) + * + * Here's the extended error handler struct: + */ #if CC_USE_JPEG struct MyErrorMgr { - struct jpeg_error_mgr pub; /* "public" fields */ - jmp_buf setjmp_buffer; /* for return to caller */ + struct jpeg_error_mgr pub; /* "public" fields */ + jmp_buf setjmp_buffer; /* for return to caller */ }; -typedef struct MyErrorMgr *MyErrorPtr; +using MyErrorPtr = struct MyErrorMgr *; /* - * Here's the routine that will replace the standard error_exit method: - */ + * Here's the routine that will replace the standard error_exit method: + */ -METHODDEF(void) -myErrorExit(j_common_ptr cinfo) { +void myErrorExit(j_common_ptr cinfo) { /* cinfo->err really points to a MyErrorMgr struct, so coerce pointer */ - MyErrorPtr myerr = (MyErrorPtr)cinfo->err; + auto *myerr = reinterpret_cast(cinfo->err); /* Always display the message. */ /* We could postpone this until after returning, if we chose. */ /* internal message function can't show error message in some platforms, so we rewrite it here. - * edit it if has version conflict. - */ + * edit it if has version conflict. + */ //(*cinfo->err->output_message) (cinfo); char buffer[JMSG_LENGTH_MAX]; (*cinfo->err->format_message)(cinfo, buffer); @@ -525,13 +508,13 @@ bool Image::initWithJpgData(const unsigned char *data, ssize_t dataLen) { */ struct MyErrorMgr jerr; /* libjpeg data structure for storing one row, that is, scanline of an image */ - JSAMPROW row_pointer[1] = {0}; - unsigned long location = 0; + JSAMPROW rowPointer[1] = {nullptr}; + uint32_t location = 0; bool ret = false; do { /* We set up the normal JPEG error routines, then override error_exit. */ - cinfo.err = jpeg_std_error(&jerr.pub); + cinfo.err = jpeg_std_error(&jerr.pub); jerr.pub.error_exit = myErrorExit; /* Establish the setjmp return context for MyErrorExit to use. */ if (setjmp(jerr.setjmp_buffer)) { @@ -556,11 +539,11 @@ bool Image::initWithJpgData(const unsigned char *data, ssize_t dataLen) { #endif // we only support RGB or grayscale - if (cinfo.jpeg_color_space == JCS_GRAYSCALE) + if (cinfo.jpeg_color_space == JCS_GRAYSCALE) { _renderFormat = gfx::Format::L8; - else { + } else { cinfo.out_color_space = JCS_RGB; - _renderFormat = gfx::Format::RGB8; + _renderFormat = gfx::Format::RGB8; } /* Start decompression jpeg here */ @@ -568,18 +551,18 @@ bool Image::initWithJpgData(const unsigned char *data, ssize_t dataLen) { /* init image info */ _isCompressed = false; - _width = cinfo.output_width; - _height = cinfo.output_height; - _dataLen = cinfo.output_width * cinfo.output_height * cinfo.output_components; - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + _width = cinfo.output_width; + _height = cinfo.output_height; + _dataLen = cinfo.output_width * cinfo.output_height * cinfo.output_components; + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); CC_BREAK_IF(!_data); /* now actually read the jpeg into the raw buffer */ /* read one scan line at a time */ while (cinfo.output_scanline < cinfo.output_height) { - row_pointer[0] = _data + location; + rowPointer[0] = _data + location; location += cinfo.output_width * cinfo.output_components; - jpeg_read_scanlines(&cinfo, row_pointer, 1); + jpeg_read_scanlines(&cinfo, rowPointer, 1); } /* When read image file with broken data, jpeg_finish_decompress() may cause error. @@ -591,7 +574,7 @@ bool Image::initWithJpgData(const unsigned char *data, ssize_t dataLen) { jpeg_destroy_decompress(&cinfo); /* wrap up decompression, destroy objects, free pointers and close open files */ ret = true; - } while (0); + } while (false); return ret; #endif // CC_USE_JPEG @@ -601,10 +584,10 @@ bool Image::initWithPngData(const unsigned char *data, ssize_t dataLen) { #if CC_USE_PNG // length of bytes to check if it is a valid png file #define PNGSIGSIZE 8 - bool ret = false; - png_byte header[PNGSIGSIZE] = {0}; - png_structp png_ptr = 0; - png_infop info_ptr = 0; + bool ret = false; + png_byte header[PNGSIGSIZE] = {0}; + png_structp pngPtr = nullptr; + png_infop infoPtr = nullptr; do { // png header len is 8 bytes @@ -615,64 +598,64 @@ bool Image::initWithPngData(const unsigned char *data, ssize_t dataLen) { CC_BREAK_IF(png_sig_cmp(header, 0, PNGSIGSIZE)); // init png_struct - png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, 0, 0, 0); - CC_BREAK_IF(!png_ptr); + pngPtr = png_create_read_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr); + CC_BREAK_IF(!pngPtr); // init png_info - info_ptr = png_create_info_struct(png_ptr); - CC_BREAK_IF(!info_ptr); + infoPtr = png_create_info_struct(pngPtr); + CC_BREAK_IF(!infoPtr); - CC_BREAK_IF(setjmp(png_jmpbuf(png_ptr))); + CC_BREAK_IF(setjmp(png_jmpbuf(pngPtr))); // set the read call back function tImageSource imageSource; - imageSource.data = (unsigned char *)data; - imageSource.size = dataLen; + imageSource.data = const_cast(data); + imageSource.size = dataLen; imageSource.offset = 0; - png_set_read_fn(png_ptr, &imageSource, pngReadCallback); + png_set_read_fn(pngPtr, &imageSource, pngReadCallback); // read png header info // read png file info - png_read_info(png_ptr, info_ptr); + png_read_info(pngPtr, infoPtr); - _isCompressed = false; - _width = png_get_image_width(png_ptr, info_ptr); - _height = png_get_image_height(png_ptr, info_ptr); - png_byte bit_depth = png_get_bit_depth(png_ptr, info_ptr); - png_uint_32 color_type = png_get_color_type(png_ptr, info_ptr); + _isCompressed = false; + _width = png_get_image_width(pngPtr, infoPtr); + _height = png_get_image_height(pngPtr, infoPtr); + png_byte bitDepth = png_get_bit_depth(pngPtr, infoPtr); + png_uint_32 colorType = png_get_color_type(pngPtr, infoPtr); //CC_LOG_DEBUG("color type %u", color_type); // force palette images to be expanded to 24-bit RGB // it may include alpha channel - if (color_type == PNG_COLOR_TYPE_PALETTE) { - png_set_palette_to_rgb(png_ptr); + if (colorType == PNG_COLOR_TYPE_PALETTE) { + png_set_palette_to_rgb(pngPtr); } // low-bit-depth grayscale images are to be expanded to 8 bits - if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { - bit_depth = 8; - png_set_expand_gray_1_2_4_to_8(png_ptr); + if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { + bitDepth = 8; + png_set_expand_gray_1_2_4_to_8(pngPtr); } // expand any tRNS chunk data into a full alpha channel - if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) { - png_set_tRNS_to_alpha(png_ptr); + if (png_get_valid(pngPtr, infoPtr, PNG_INFO_tRNS)) { + png_set_tRNS_to_alpha(pngPtr); } // reduce images with 16-bit samples to 8 bits - if (bit_depth == 16) { - png_set_strip_16(png_ptr); + if (bitDepth == 16) { + png_set_strip_16(pngPtr); } // Expanded earlier for grayscale, now take care of palette and rgb - if (bit_depth < 8) { - png_set_packing(png_ptr); + if (bitDepth < 8) { + png_set_packing(pngPtr); } // update info - png_read_update_info(png_ptr, info_ptr); - bit_depth = png_get_bit_depth(png_ptr, info_ptr); - color_type = png_get_color_type(png_ptr, info_ptr); + png_read_update_info(pngPtr, infoPtr); + bitDepth = png_get_bit_depth(pngPtr, infoPtr); + colorType = png_get_color_type(pngPtr, infoPtr); - switch (color_type) { + switch (colorType) { case PNG_COLOR_TYPE_GRAY: _renderFormat = gfx::Format::L8; break; @@ -691,64 +674,65 @@ bool Image::initWithPngData(const unsigned char *data, ssize_t dataLen) { // read png data png_size_t rowbytes; - png_bytep *row_pointers = (png_bytep *)malloc(sizeof(png_bytep) * _height); + auto * rowPointers = static_cast(malloc(sizeof(png_bytep) * _height)); - rowbytes = png_get_rowbytes(png_ptr, info_ptr); + rowbytes = png_get_rowbytes(pngPtr, infoPtr); _dataLen = rowbytes * _height; - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); if (!_data) { - if (row_pointers != nullptr) { - free(row_pointers); + if (rowPointers != nullptr) { + free(rowPointers); } break; } - for (unsigned short i = 0; i < _height; ++i) { - row_pointers[i] = _data + i * rowbytes; + for (int i = 0; i < _height; ++i) { + rowPointers[i] = _data + i * rowbytes; } - png_read_image(png_ptr, row_pointers); - png_read_end(png_ptr, nullptr); + png_read_image(pngPtr, rowPointers); + png_read_end(pngPtr, nullptr); - if (row_pointers != nullptr) { - free(row_pointers); + if (rowPointers != nullptr) { + free(rowPointers); } ret = true; - } while (0); + } while (false); - if (png_ptr) { - png_destroy_read_struct(&png_ptr, (info_ptr) ? &info_ptr : 0, 0); + if (pngPtr) { + png_destroy_read_struct(&pngPtr, (infoPtr) ? &infoPtr : nullptr, nullptr); } return ret; #endif //CC_USE_PNG } bool Image::initWithPVRv2Data(const unsigned char *data, ssize_t dataLen) { - int width = 0, height = 0; + int width = 0; + int height = 0; //Cast first sizeof(PVRTexHeader) bytes of data stream as PVRTexHeader - const PVRv2TexHeader *header = static_cast(static_cast(data)); + const auto *header = static_cast(static_cast(data)); //Make sure that tag is in correct formatting - if (memcmp(&header->pvrTag, gPVRTexIdentifier, strlen(gPVRTexIdentifier)) != 0) { + if (memcmp(&header->pvrTag, G_PVR_TEX_IDENTIFIER, strlen(G_PVR_TEX_IDENTIFIER)) != 0) { return false; } - unsigned int flags = CC_SWAP_INT32_LITTLE_TO_HOST(header->flags); - PVR2TexturePixelFormat formatFlags = static_cast(flags & PVR_TEXTURE_FLAG_TYPE_MASK); - bool flipped = (flags & (unsigned int)PVR2TextureFlag::VerticalFlip) ? true : false; + unsigned int flags = CC_SWAP_INT32_LITTLE_TO_HOST(header->flags); + auto formatFlags = static_cast(flags & PVR_TEXTURE_FLAG_TYPE_MASK); + bool flipped = (flags & static_cast(PVR2TextureFlag::VERTICAL_FLIP)) != 0; if (flipped) { CC_LOG_DEBUG("initWithPVRv2Data: WARNING: Image is flipped. Regenerate it using PVRTexTool"); } - if (v2_pixel_formathash.find(formatFlags) == v2_pixel_formathash.end()) { + if (V2_PIXEL_FORMATHASH.find(formatFlags) == V2_PIXEL_FORMATHASH.end()) { CC_LOG_DEBUG("initWithPVRv2Data: WARNING: Unsupported PVR Pixel Format: 0x%02X. Re-encode it with a OpenGL pixel format variant", (int)formatFlags); return false; } - auto it = v2_pixel_formathash.find(formatFlags); - if (it == v2_pixel_formathash.end()) { + auto it = V2_PIXEL_FORMATHASH.find(formatFlags); + if (it == V2_PIXEL_FORMATHASH.end()) { CC_LOG_DEBUG("initWithPVRv2Data: WARNING: Unsupported PVR Pixel Format: 0x%02X. Re-encode it with a OpenGL pixel format variant", (int)formatFlags); return false; } @@ -758,12 +742,12 @@ bool Image::initWithPVRv2Data(const unsigned char *data, ssize_t dataLen) { //Get size of mipmap _width = width = CC_SWAP_INT32_LITTLE_TO_HOST(header->width); _height = height = CC_SWAP_INT32_LITTLE_TO_HOST(header->height); - _isCompressed = true; + _isCompressed = true; //Move by size of header _dataLen = dataLen - sizeof(PVRv2TexHeader); - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); - memcpy(_data, (unsigned char *)data + sizeof(PVRv2TexHeader), _dataLen); + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + memcpy(_data, const_cast(data) + sizeof(PVRv2TexHeader), _dataLen); return true; } @@ -773,7 +757,7 @@ bool Image::initWithPVRv3Data(const unsigned char *data, ssize_t dataLen) { return false; } - const PVRv3TexHeader *header = static_cast(static_cast(data)); + const auto *header = static_cast(static_cast(data)); // validate version if (CC_SWAP_INT32_BIG_TO_HOST(header->version) != 0x50565203) { @@ -782,16 +766,16 @@ bool Image::initWithPVRv3Data(const unsigned char *data, ssize_t dataLen) { } // parse pixel format - PVR3TexturePixelFormat pixelFormat = static_cast(header->pixelFormat); + auto pixelFormat = static_cast(header->pixelFormat); - if (v3_pixel_formathash.find(pixelFormat) == v3_pixel_formathash.end()) { + if (V3_PIXEL_FORMATHASH.find(pixelFormat) == V3_PIXEL_FORMATHASH.end()) { CC_LOG_DEBUG("initWithPVRv3Data: WARNING: Unsupported PVR Pixel Format: 0x%016llX. Re-encode it with a OpenGL pixel format variant", static_cast(pixelFormat)); return false; } - auto it = v3_pixel_formathash.find(pixelFormat); - if (it == v3_pixel_formathash.end()) { + auto it = V3_PIXEL_FORMATHASH.find(pixelFormat); + if (it == V3_PIXEL_FORMATHASH.end()) { CC_LOG_DEBUG("initWithPVRv3Data: WARNING: Unsupported PVR Pixel Format: 0x%016llX. Re-encode it with a OpenGL pixel format variant", static_cast(pixelFormat)); return false; @@ -800,27 +784,27 @@ bool Image::initWithPVRv3Data(const unsigned char *data, ssize_t dataLen) { _renderFormat = it->second; // sizing - _width = CC_SWAP_INT32_LITTLE_TO_HOST(header->width); - _height = CC_SWAP_INT32_LITTLE_TO_HOST(header->height); + _width = CC_SWAP_INT32_LITTLE_TO_HOST(header->width); + _height = CC_SWAP_INT32_LITTLE_TO_HOST(header->height); _isCompressed = true; _dataLen = dataLen - (sizeof(PVRv3TexHeader) + header->metadataLength); - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); memcpy(_data, static_cast(data) + sizeof(PVRv3TexHeader) + header->metadataLength, _dataLen); return true; } bool Image::initWithETCData(const unsigned char *data, ssize_t dataLen) { - const etc1_byte *header = static_cast(data); + const auto *header = static_cast(data); //check the data if (!etc1_pkm_is_valid(header)) { return false; } - _width = etc1_pkm_get_width(header); - _height = etc1_pkm_get_height(header); + _width = etc1_pkm_get_width(header); + _height = etc1_pkm_get_height(header); _isCompressed = true; if (0 == _width || 0 == _height) { @@ -828,22 +812,22 @@ bool Image::initWithETCData(const unsigned char *data, ssize_t dataLen) { } _renderFormat = gfx::Format::ETC_RGB8; - _dataLen = dataLen - ETC_PKM_HEADER_SIZE; - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + _dataLen = dataLen - ETC_PKM_HEADER_SIZE; + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); memcpy(_data, static_cast(data) + ETC_PKM_HEADER_SIZE, _dataLen); return true; } bool Image::initWithETC2Data(const unsigned char *data, ssize_t dataLen) { - const etc2_byte *header = static_cast(data); + const auto *header = static_cast(data); //check the data if (!etc2_pkm_is_valid(header)) { return false; } - _width = etc2_pkm_get_width(header); - _height = etc2_pkm_get_height(header); + _width = etc2_pkm_get_width(header); + _height = etc2_pkm_get_height(header); _isCompressed = true; if (0 == _width || 0 == _height) { @@ -851,27 +835,28 @@ bool Image::initWithETC2Data(const unsigned char *data, ssize_t dataLen) { } etc2_uint32 format = etc2_pkm_get_format(header); - if (format == ETC2_RGB_NO_MIPMAPS) + if (format == ETC2_RGB_NO_MIPMAPS) { _renderFormat = gfx::Format::ETC2_RGB8; - else + } else { _renderFormat = gfx::Format::ETC2_RGBA8; + } _dataLen = dataLen - ETC2_PKM_HEADER_SIZE; - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); memcpy(_data, static_cast(data) + ETC2_PKM_HEADER_SIZE, _dataLen); return true; } bool Image::initWithASTCData(const unsigned char *data, ssize_t dataLen) { - const astc_byte *header = static_cast(data); + const auto *header = static_cast(data); //check the data if (!astcIsValid(header)) { return false; } - _width = astcGetWidth(header); - _height = astcGetHeight(header); + _width = astcGetWidth(header); + _height = astcGetHeight(header); _isCompressed = true; if (0 == _width || 0 == _height) { @@ -881,7 +866,7 @@ bool Image::initWithASTCData(const unsigned char *data, ssize_t dataLen) { _renderFormat = getASTCFormat(header); _dataLen = dataLen - ASTC_HEADER_SIZE; - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); memcpy(_data, static_cast(data) + ASTC_HEADER_SIZE, _dataLen); // if (_data == nullptr) { // CCLOG("initWithASTCData: ERROR: Image _data is null!"); @@ -906,17 +891,17 @@ bool Image::initWithWebpData(const unsigned char *data, ssize_t dataLen) { if (config.input.width == 0 || config.input.height == 0) break; config.output.colorspace = config.input.has_alpha ? MODE_rgbA : MODE_RGB; - _renderFormat = config.input.has_alpha ? gfx::Format::RGBA8 : gfx::Format::RGB8; - _width = config.input.width; - _height = config.input.height; - _isCompressed = false; + _renderFormat = config.input.has_alpha ? gfx::Format::RGBA8 : gfx::Format::RGB8; + _width = config.input.width; + _height = config.input.height; + _isCompressed = false; _dataLen = _width * _height * (config.input.has_alpha ? 4 : 3); - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); - config.output.u.RGBA.rgba = static_cast(_data); - config.output.u.RGBA.stride = _width * (config.input.has_alpha ? 4 : 3); - config.output.u.RGBA.size = _dataLen; + config.output.u.RGBA.rgba = static_cast(_data); + config.output.u.RGBA.stride = _width * (config.input.has_alpha ? 4 : 3); + config.output.u.RGBA.size = _dataLen; config.output.is_external_memory = 1; if (WebPDecode(static_cast(data), dataLen, &config) != VP8_STATUS_OK) { @@ -926,30 +911,30 @@ bool Image::initWithWebpData(const unsigned char *data, ssize_t dataLen) { } ret = true; - } while (0); + } while (false); return ret; #endif // CC_USE_WEBP } -bool Image::initWithRawData(const unsigned char *data, ssize_t dataLen, int width, int height, int bitsPerComponent, bool preMulti) { +bool Image::initWithRawData(const unsigned char *data, ssize_t /*dataLen*/, int width, int height, int /*bitsPerComponent*/, bool /*preMulti*/) { bool ret = false; do { CC_BREAK_IF(0 == width || 0 == height); - _height = height; - _width = width; + _height = height; + _width = width; _renderFormat = gfx::Format::RGBA8; _isCompressed = false; // only RGBA8888 supported int bytesPerComponent = 4; - _dataLen = height * width * bytesPerComponent; - _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); + _dataLen = height * width * bytesPerComponent; + _data = static_cast(malloc(_dataLen * sizeof(unsigned char))); CC_BREAK_IF(!_data); memcpy(_data, data, _dataLen); ret = true; - } while (0); + } while (false); return ret; } diff --git a/native/cocos/platform/Image.h b/native/cocos/platform/Image.h index 7c93ebbc99..ce534e8772 100644 --- a/native/cocos/platform/Image.h +++ b/native/cocos/platform/Image.h @@ -97,7 +97,6 @@ protected: bool initWithETC2Data(const unsigned char *data, ssize_t dataLen); bool initWithASTCData(const unsigned char *data, ssize_t dataLen); -protected: unsigned char *_data = nullptr; ssize_t _dataLen = 0; int _width = 0; @@ -107,27 +106,18 @@ protected: std::string _filePath; bool _isCompressed = false; -protected: - // noncopyable - Image(const Image &) = delete; - Image &operator=(const Image &) = delete; + ~Image() override; - // nonmoveable - Image(Image &&) = delete; - Image &operator=(Image &&) = delete; + static Format detectFormat(const unsigned char *data, ssize_t dataLen); + static bool isPng(const unsigned char *data, ssize_t dataLen); + static bool isJpg(const unsigned char *data, ssize_t dataLen); + static bool isWebp(const unsigned char *data, ssize_t dataLen); + static bool isPvr(const unsigned char *data, ssize_t dataLen); + static bool isEtc(const unsigned char *data, ssize_t dataLen); + static bool isEtc2(const unsigned char *data, ssize_t dataLen); + static bool isASTC(const unsigned char *data, ssize_t detaLen); - virtual ~Image(); - - Format detectFormat(const unsigned char *data, ssize_t dataLen); - bool isPng(const unsigned char *data, ssize_t dataLen); - bool isJpg(const unsigned char *data, ssize_t dataLen); - bool isWebp(const unsigned char *data, ssize_t dataLen); - bool isPvr(const unsigned char *data, ssize_t dataLen); - bool isEtc(const unsigned char *data, ssize_t dataLen); - bool isEtc2(const unsigned char *data, ssize_t dataLen); - bool isASTC(const unsigned char *data, ssize_t detaLen); - - gfx::Format getASTCFormat(const unsigned char *pHeader) const; + static gfx::Format getASTCFormat(const unsigned char *pHeader); }; } //namespace cc diff --git a/native/cocos/renderer/GFXDeviceManager.h b/native/cocos/renderer/GFXDeviceManager.h index fdbf9f7a62..8a3dc353b0 100644 --- a/native/cocos/renderer/GFXDeviceManager.h +++ b/native/cocos/renderer/GFXDeviceManager.h @@ -81,23 +81,17 @@ public: } static void destroy() { - CC_SAFE_DESTROY(Device::_instance); + CC_SAFE_DESTROY(Device::instance); } - static constexpr bool useAgent() { return true; } - - static constexpr bool useValidator() { return CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION; } - private: template ::value>> static bool tryCreate(const DeviceInfo &info, Device *&device) { device = CC_NEW(DeviceCtor); - if (useAgent()) { - device = CC_NEW(gfx::DeviceAgent(device)); - } + device = CC_NEW(gfx::DeviceAgent(device)); - if (useValidator()) { + if (CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION) { device = CC_NEW(gfx::DeviceValidator(device)); //((gfx::DeviceValidator *)device)->enableRecording(true); } diff --git a/native/cocos/renderer/frame-graph/Resource.h b/native/cocos/renderer/frame-graph/Resource.h index f4d85e565e..5afd90fc72 100644 --- a/native/cocos/renderer/frame-graph/Resource.h +++ b/native/cocos/renderer/frame-graph/Resource.h @@ -41,14 +41,14 @@ namespace framegraph { template struct ResourceDescriptorHasher final { - CC_INLINE uint32_t operator()(const DescriptorType &desc) const noexcept { + CC_INLINE uint32_t operator()(const DescriptorType &desc) const { return 1; } }; template struct DeviceResourceCreator final { - CC_INLINE DeviceResourceType *operator()(const DescriptorType &desc) const noexcept { + CC_INLINE DeviceResourceType *operator()(const DescriptorType &desc) const { return nullptr; } }; @@ -64,13 +64,13 @@ public: using Descriptor = DescriptorType; using DescriptorHasher = DescriptorHasherType; - Resource() noexcept = default; + Resource() = default; explicit Resource(const Descriptor &desc) noexcept; - ~Resource() = default; - Resource(const Resource &) = default; - Resource(Resource &&) = default; + ~Resource() = default; + Resource(const Resource &) = default; + Resource(Resource &&) noexcept = default; Resource &operator=(const Resource &) = default; - Resource &operator=(Resource &&) = default; + Resource &operator=(Resource &&) noexcept = default; void createTransient() noexcept; void createPersistent() noexcept; @@ -145,22 +145,22 @@ void Resource \ - struct ResourceDescriptorHasher final { \ - CC_INLINE uint32_t operator()(const gfx::Type##Info &desc) const noexcept { \ - return gfx::Type::computeHash(desc); \ - } \ - }; \ - \ - template <> \ - struct DeviceResourceCreator final { \ - CC_INLINE gfx::Type *operator()(const gfx::Type##Info &desc) const noexcept { \ - return gfx::Device::getInstance()->create##Type(desc); \ - } \ - }; \ - \ - using Type = Resource; \ +#define DEFINE_GFX_RESOURCE(Type) \ + template <> \ + struct ResourceDescriptorHasher final { \ + CC_INLINE uint32_t operator()(const gfx::Type##Info &desc) const { \ + return gfx::Type::computeHash(desc); \ + } \ + }; \ + \ + template <> \ + struct DeviceResourceCreator final { \ + CC_INLINE gfx::Type *operator()(const gfx::Type##Info &desc) const { \ + return gfx::Device::getInstance()->create##Type(desc); \ + } \ + }; \ + \ + using Type = Resource; /* NOLINT(bugprone-macro-parentheses) N/A */ \ using Type##Handle = TypedHandle; DEFINE_GFX_RESOURCE(Buffer) diff --git a/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp index a6d2cf973d..e67b5dc891 100644 --- a/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp @@ -24,8 +24,8 @@ ****************************************************************************/ #include "base/CoreStd.h" -#include "base/threading/MessageQueue.h" #include "base/job-system/JobSystem.h" +#include "base/threading/MessageQueue.h" #include "BufferAgent.h" #include "CommandBufferAgent.h" @@ -48,17 +48,17 @@ void CommandBufferAgent::flushCommands(uint count, CommandBufferAgent *const *cm if (count > workForThisThread + 1 && multiThreaded) { // more than one job to dispatch JobGraph g(JobSystem::getInstance()); - g.createForEachIndexJob(workForThisThread, count, 1u, [cmdBuffs](uint i) { + g.createForEachIndexJob(workForThisThread, count, 1U, [cmdBuffs](uint i) { cmdBuffs[i]->getMessageQueue()->flushMessages(); }); g.run(); - for (uint i = 0u; i < workForThisThread; ++i) { + for (uint i = 0U; i < workForThisThread; ++i) { cmdBuffs[i]->getMessageQueue()->flushMessages(); } g.waitForAll(); } else { - for (uint i = 0u; i < count; ++i) { + for (uint i = 0U; i < count; ++i) { cmdBuffs[i]->getMessageQueue()->flushMessages(); } } @@ -78,7 +78,7 @@ CommandBufferAgent::~CommandBufferAgent() { void CommandBufferAgent::initMessageQueue() { _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); - for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { + for (uint i = 0U; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { _allocatorPools[i] = CC_NEW(LinearAllocatorPool); } DeviceAgent *device = DeviceAgent::getInstance(); @@ -195,7 +195,7 @@ void CommandBufferAgent::endRenderPass() { void CommandBufferAgent::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { if (!count) return; - CommandBuffer **actorCmdBuffs = getAllocator()->allocate(count); + auto **actorCmdBuffs = getAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { actorCmdBuffs[i] = static_cast(cmdBuffs[i])->getActor(); } @@ -335,20 +335,20 @@ void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint m }); } -void CommandBufferAgent::draw(InputAssembler *ia) { +void CommandBufferAgent::draw(const DrawInfo &info) { ENQUEUE_MESSAGE_2( _messageQueue, CommandBufferDraw, actor, getActor(), - ia, static_cast(ia)->getActor(), + info, info, { - actor->draw(ia); + actor->draw(info); }); } void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) { MessageQueue *queue = _messageQueue; - uint8_t *actorData = getAllocator()->allocate(size); + auto *actorData = getAllocator()->allocate(size); memcpy(actorData, data, size); ENQUEUE_MESSAGE_4( @@ -365,19 +365,19 @@ void CommandBufferAgent::updateBuffer(Buffer *buff, const void *data, uint size) void CommandBufferAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { LinearAllocatorPool *allocator = getAllocator(); - BufferTextureCopy *actorRegions = allocator->allocate(count); + auto *actorRegions = allocator->allocate(count); memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); - uint bufferCount = 0u; - for (uint i = 0u; i < count; i++) { + uint bufferCount = 0U; + for (uint i = 0U; i < count; i++) { bufferCount += regions[i].texSubres.layerCount; } - const uint8_t **actorBuffers = allocator->allocate(bufferCount); - for (uint i = 0u, n = 0u; i < count; i++) { + const auto **actorBuffers = allocator->allocate(bufferCount); + for (uint i = 0U, n = 0U; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); + uint size = formatSize(texture->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = allocator->allocate(size); + auto *buffer = allocator->allocate(size); memcpy(buffer, buffers[n], size); actorBuffers[n++] = buffer; } @@ -401,7 +401,7 @@ void CommandBufferAgent::blitTexture(Texture *srcTexture, Texture *dstTexture, c if (srcTexture) actorSrcTexture = static_cast(srcTexture)->getActor(); if (dstTexture) actorDstTexture = static_cast(dstTexture)->getActor(); - TextureBlit *actorRegions = getAllocator()->allocate(count); + auto *actorRegions = getAllocator()->allocate(count); memcpy(actorRegions, regions, count * sizeof(TextureBlit)); ENQUEUE_MESSAGE_6( @@ -436,10 +436,10 @@ void CommandBufferAgent::pipelineBarrier(const GlobalBarrier *barrier, const Tex if (textureBarrierCount) { actorTextureBarriers = getAllocator()->allocate(textureBarrierCount); - memcpy(actorTextureBarriers, textureBarriers, textureBarrierCount * sizeof(TextureBarrier *)); + memcpy(actorTextureBarriers, textureBarriers, textureBarrierCount * sizeof(uintptr_t)); actorTextures = getAllocator()->allocate(textureBarrierCount); - for (uint i = 0u; i < textureBarrierCount; ++i) { + for (uint i = 0U; i < textureBarrierCount; ++i) { actorTextures[i] = textures[i] ? static_cast(textures[i])->getActor() : nullptr; } } diff --git a/native/cocos/renderer/gfx-agent/CommandBufferAgent.h b/native/cocos/renderer/gfx-agent/CommandBufferAgent.h index 1613a14c6e..6a36fee654 100644 --- a/native/cocos/renderer/gfx-agent/CommandBufferAgent.h +++ b/native/cocos/renderer/gfx-agent/CommandBufferAgent.h @@ -58,7 +58,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; diff --git a/native/cocos/renderer/gfx-agent/DeviceAgent.cpp b/native/cocos/renderer/gfx-agent/DeviceAgent.cpp index 764658e4b0..851aa965ee 100644 --- a/native/cocos/renderer/gfx-agent/DeviceAgent.cpp +++ b/native/cocos/renderer/gfx-agent/DeviceAgent.cpp @@ -45,19 +45,19 @@ namespace cc { namespace gfx { -DeviceAgent *DeviceAgent::_instance = nullptr; +DeviceAgent *DeviceAgent::instance = nullptr; DeviceAgent *DeviceAgent::getInstance() { - return DeviceAgent::_instance; + return DeviceAgent::instance; } DeviceAgent::DeviceAgent(Device *device) : Agent(device) { - DeviceAgent::_instance = this; + DeviceAgent::instance = this; } DeviceAgent::~DeviceAgent() { CC_SAFE_DELETE(_actor); - DeviceAgent::_instance = nullptr; + DeviceAgent::instance = nullptr; } bool DeviceAgent::doInit(const DeviceInfo &info) { @@ -66,7 +66,7 @@ bool DeviceAgent::doInit(const DeviceInfo &info) { } _context = _actor->getContext(); - _API = _actor->getGfxAPI(); + _api = _actor->getGfxAPI(); _deviceName = _actor->getDeviceName(); _queue = CC_NEW(QueueAgent(_actor->getQueue())); _cmdBuff = CC_NEW(CommandBufferAgent(_actor->getCommandBuffer())); @@ -79,7 +79,7 @@ bool DeviceAgent::doInit(const DeviceInfo &info) { _mainEncoder = CC_NEW(MessageQueue); _allocatorPools.resize(MAX_CPU_FRAME_AHEAD + 1); - for (uint i = 0u; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { + for (uint i = 0U; i < MAX_CPU_FRAME_AHEAD + 1; ++i) { _allocatorPools[i] = CC_NEW(LinearAllocatorPool); } static_cast(_cmdBuff)->initMessageQueue(); @@ -194,7 +194,7 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { } } -CommandBuffer *DeviceAgent::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { +CommandBuffer *DeviceAgent::createCommandBuffer(const CommandBufferInfo &info, bool /*hasAgent*/) { CommandBuffer *actor = _actor->createCommandBuffer(info, true); return CC_NEW(CommandBufferAgent(actor)); } @@ -270,19 +270,19 @@ TextureBarrier *DeviceAgent::createTextureBarrier() { void DeviceAgent::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { LinearAllocatorPool *allocator = getMainAllocator(); - BufferTextureCopy *actorRegions = allocator->allocate(count); + auto *actorRegions = allocator->allocate(count); memcpy(actorRegions, regions, count * sizeof(BufferTextureCopy)); - uint bufferCount = 0u; - for (uint i = 0u; i < count; i++) { + uint bufferCount = 0U; + for (uint i = 0U; i < count; i++) { bufferCount += regions[i].texSubres.layerCount; } - const uint8_t **actorBuffers = allocator->allocate(bufferCount); - for (uint i = 0u, n = 0u; i < count; i++) { + const auto **actorBuffers = allocator->allocate(bufferCount); + for (uint i = 0U, n = 0U; i < count; i++) { const BufferTextureCopy ®ion = regions[i]; - uint size = FormatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); + uint size = formatSize(dst->getFormat(), region.texExtent.width, region.texExtent.height, 1); for (uint l = 0; l < region.texSubres.layerCount; l++) { - uint8_t *buffer = allocator->allocate(size); + auto *buffer = allocator->allocate(size); memcpy(buffer, buffers[n], size); actorBuffers[n++] = buffer; } @@ -305,7 +305,7 @@ void DeviceAgent::flushCommands(CommandBuffer *const *cmdBuffs, uint count) { bool multiThreaded = hasFeature(Feature::MULTITHREADED_SUBMISSION); - CommandBufferAgent **agentCmdBuffs = getMainAllocator()->allocate(count); + auto **agentCmdBuffs = getMainAllocator()->allocate(count); for (uint i = 0; i < count; ++i) { agentCmdBuffs[i] = static_cast(cmdBuffs[i]); MessageQueue::freeChunksInFreeQueue(agentCmdBuffs[i]->_messageQueue); diff --git a/native/cocos/renderer/gfx-agent/DeviceAgent.h b/native/cocos/renderer/gfx-agent/DeviceAgent.h index 79f4dfc03d..7911eed9ba 100644 --- a/native/cocos/renderer/gfx-agent/DeviceAgent.h +++ b/native/cocos/renderer/gfx-agent/DeviceAgent.h @@ -38,7 +38,7 @@ namespace gfx { class LinearAllocatorPool; class CommandBuffer; class CommandBufferAgent; -constexpr uint MAX_CPU_FRAME_AHEAD = 1u; +constexpr uint MAX_CPU_FRAME_AHEAD = 1U; class CC_DLL DeviceAgent final : public Agent { public: @@ -100,12 +100,12 @@ public: LinearAllocatorPool *getMainAllocator() const { return _allocatorPools[_currentIndex]; } protected: - static DeviceAgent *_instance; + static DeviceAgent *instance; friend class DeviceManager; friend class CommandBufferAgent; - DeviceAgent(Device *device); + explicit DeviceAgent(Device *device); bool doInit(const DeviceInfo &info) override; void doDestroy() override; @@ -119,7 +119,7 @@ protected: bool _multithreaded{false}; MessageQueue *_mainEncoder{nullptr}; - uint _currentIndex = 0u; + uint _currentIndex = 0U; vector _allocatorPools; Semaphore _frameBoundarySemaphore{MAX_CPU_FRAME_AHEAD}; diff --git a/native/cocos/renderer/gfx-base/GFXBuffer.cpp b/native/cocos/renderer/gfx-base/GFXBuffer.cpp index af6c7165a9..1cb73e1e19 100644 --- a/native/cocos/renderer/gfx-base/GFXBuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXBuffer.cpp @@ -36,15 +36,14 @@ Buffer::Buffer() : GFXObject(ObjectType::BUFFER) { } -Buffer::~Buffer() { -} +Buffer::~Buffer() = default; uint Buffer::computeHash(const BufferInfo &info) { uint seed = 4; - seed ^= (uint)(info.usage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.memUsage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.size) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.flags) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.usage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.memUsage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.size) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.flags) + 0x9e3779b9 + (seed << 6) + (seed >> 2); return seed; } @@ -53,7 +52,7 @@ void Buffer::initialize(const BufferInfo &info) { _memUsage = info.memUsage; _size = info.size; _flags = info.flags; - _stride = std::max(info.stride, 1u); + _stride = std::max(info.stride, 1U); _count = _size / _stride; Device::getInstance()->getMemoryStatus().bufferSize += _size; @@ -67,7 +66,7 @@ void Buffer::initialize(const BufferViewInfo &info) { _flags = info.buffer->getFlags(); _offset = info.offset; _size = _stride = info.range; - _count = 1u; + _count = 1U; _isBufferView = true; doInit(info); @@ -78,7 +77,7 @@ void Buffer::destroy() { Device::getInstance()->getMemoryStatus().bufferSize -= _size; - _offset = _size = _stride = _count = 0u; + _offset = _size = _stride = _count = 0U; } void Buffer::resize(uint size) { diff --git a/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp b/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp index 50aebcb63b..5a1dfe42a6 100644 --- a/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXCommandBuffer.cpp @@ -35,8 +35,7 @@ CommandBuffer::CommandBuffer() : GFXObject(ObjectType::COMMAND_BUFFER) { } -CommandBuffer::~CommandBuffer() { -} +CommandBuffer::~CommandBuffer() = default; void CommandBuffer::initialize(const CommandBufferInfo& info) { _type = info.type; diff --git a/native/cocos/renderer/gfx-base/GFXCommandBuffer.h b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h index 15399a707c..194ccc775f 100644 --- a/native/cocos/renderer/gfx-base/GFXCommandBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h @@ -26,7 +26,9 @@ #pragma once #include "GFXBuffer.h" +#include "GFXInputAssembler.h" #include "GFXObject.h" +#include "base/Utils.h" namespace cc { namespace gfx { @@ -34,9 +36,8 @@ namespace gfx { class CC_DLL CommandBuffer : public GFXObject { public: CommandBuffer(); - virtual ~CommandBuffer(); + ~CommandBuffer() override; -public: void initialize(const CommandBufferInfo &info); void destroy(); @@ -55,7 +56,7 @@ public: virtual void setDepthBound(float minBounds, float maxBounds) = 0; virtual void setStencilWriteMask(StencilFace face, uint mask) = 0; virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) = 0; - virtual void draw(InputAssembler *ia) = 0; + virtual void draw(const DrawInfo &info) = 0; virtual void updateBuffer(Buffer *buff, const void *data, uint size) = 0; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; virtual void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) = 0; @@ -69,7 +70,7 @@ public: inline void updateBuffer(Buffer *buff, const void *data); - inline void execute(CommandBufferList &cmdBuffs, uint32_t count); + inline void execute(const CommandBufferList &cmdBuffs, uint32_t count); inline void bindDescriptorSet(uint set, DescriptorSet *descriptorSet); inline void bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets); @@ -78,6 +79,7 @@ public: inline void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil); inline void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil); + inline void draw(InputAssembler *ia); inline void copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions); inline void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter); @@ -127,7 +129,7 @@ void CommandBuffer::updateBuffer(Buffer *buff, const void *data) { updateBuffer(buff, data, buff->getSize()); } -void CommandBuffer::execute(CommandBufferList &cmdBuffs, uint32_t count) { +void CommandBuffer::execute(const CommandBufferList &cmdBuffs, uint32_t count) { execute(cmdBuffs.data(), count); } @@ -136,11 +138,11 @@ void CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet) { } void CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { - bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); + bindDescriptorSet(set, descriptorSet, utils::toUint(dynamicOffsets.size()), dynamicOffsets.data()); } void CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), static_cast(secondaryCBs.size())); + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), utils::toUint(secondaryCBs.size())); } void CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { @@ -151,20 +153,26 @@ void CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, co beginRenderPass(renderPass, fbo, renderArea, colors, depth, stencil, nullptr, 0); } +void CommandBuffer::draw(InputAssembler *ia) { + DrawInfo info; + ia->extractDrawInfo(info); + draw(info); +} + void CommandBuffer::copyBuffersToTexture(const BufferDataList &buffers, Texture *texture, const BufferTextureCopyList ®ions) { - copyBuffersToTexture(buffers.data(), texture, regions.data(), static_cast(regions.size())); + copyBuffersToTexture(buffers.data(), texture, regions.data(), utils::toUint(regions.size())); } void CommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlitList ®ions, Filter filter) { - blitTexture(srcTexture, dstTexture, regions.data(), static_cast(regions.size()), filter); + blitTexture(srcTexture, dstTexture, regions.data(), utils::toUint(regions.size()), filter); } void CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier) { - pipelineBarrier(barrier, nullptr, nullptr, 0u); + pipelineBarrier(barrier, nullptr, nullptr, 0U); } void CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrierList &textureBarriers, const TextureList &textures) { - pipelineBarrier(barrier, textureBarriers.data(), textures.data(), static_cast(textureBarriers.size())); + pipelineBarrier(barrier, textureBarriers.data(), textures.data(), utils::toUint(textureBarriers.size())); } void CommandBuffer::bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet) { @@ -172,11 +180,11 @@ void CommandBuffer::bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSe } void CommandBuffer::bindDescriptorSetForJS(uint set, DescriptorSet *descriptorSet, const vector &dynamicOffsets) { - bindDescriptorSet(set, descriptorSet, static_cast(dynamicOffsets.size()), dynamicOffsets.data()); + bindDescriptorSet(set, descriptorSet, utils::toUint(dynamicOffsets.size()), dynamicOffsets.data()); } void CommandBuffer::beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil, const CommandBufferList &secondaryCBs) { - beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), static_cast(secondaryCBs.size())); + beginRenderPass(renderPass, fbo, renderArea, colors.data(), depth, stencil, secondaryCBs.data(), utils::toUint(secondaryCBs.size())); } void CommandBuffer::beginRenderPassForJS(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const ColorList &colors, float depth, int stencil) { diff --git a/native/cocos/renderer/gfx-base/GFXContext.cpp b/native/cocos/renderer/gfx-base/GFXContext.cpp index 77d2c7aaf1..5d25122134 100644 --- a/native/cocos/renderer/gfx-base/GFXContext.cpp +++ b/native/cocos/renderer/gfx-base/GFXContext.cpp @@ -30,11 +30,9 @@ namespace cc { namespace gfx { -Context::Context() { -} +Context::Context() = default; -Context::~Context() { -} +Context::~Context() = default; bool Context::initialize(const ContextInfo& info) { _vsyncMode = info.vsyncMode; diff --git a/native/cocos/renderer/gfx-base/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h index 348fd28209..6c0c54f8a9 100644 --- a/native/cocos/renderer/gfx-base/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -283,36 +283,36 @@ enum class Format { PVRTC2_4BPP, // ASTC (Adaptive Scalable Texture Compression) - ASTC_RGBA_4x4, - ASTC_RGBA_5x4, - ASTC_RGBA_5x5, - ASTC_RGBA_6x5, - ASTC_RGBA_6x6, - ASTC_RGBA_8x5, - ASTC_RGBA_8x6, - ASTC_RGBA_8x8, - ASTC_RGBA_10x5, - ASTC_RGBA_10x6, - ASTC_RGBA_10x8, - ASTC_RGBA_10x10, - ASTC_RGBA_12x10, - ASTC_RGBA_12x12, + ASTC_RGBA_4X4, + ASTC_RGBA_5X4, + ASTC_RGBA_5X5, + ASTC_RGBA_6X5, + ASTC_RGBA_6X6, + ASTC_RGBA_8X5, + ASTC_RGBA_8X6, + ASTC_RGBA_8X8, + ASTC_RGBA_10X5, + ASTC_RGBA_10X6, + ASTC_RGBA_10X8, + ASTC_RGBA_10X10, + ASTC_RGBA_12X10, + ASTC_RGBA_12X12, // ASTC (Adaptive Scalable Texture Compression) SRGB - ASTC_SRGBA_4x4, - ASTC_SRGBA_5x4, - ASTC_SRGBA_5x5, - ASTC_SRGBA_6x5, - ASTC_SRGBA_6x6, - ASTC_SRGBA_8x5, - ASTC_SRGBA_8x6, - ASTC_SRGBA_8x8, - ASTC_SRGBA_10x5, - ASTC_SRGBA_10x6, - ASTC_SRGBA_10x8, - ASTC_SRGBA_10x10, - ASTC_SRGBA_12x10, - ASTC_SRGBA_12x12, + ASTC_SRGBA_4X4, + ASTC_SRGBA_5X4, + ASTC_SRGBA_5X5, + ASTC_SRGBA_6X5, + ASTC_SRGBA_6X6, + ASTC_SRGBA_8X5, + ASTC_SRGBA_8X6, + ASTC_SRGBA_8X8, + ASTC_SRGBA_10X5, + ASTC_SRGBA_10X6, + ASTC_SRGBA_10X8, + ASTC_SRGBA_10X10, + ASTC_SRGBA_12X10, + ASTC_SRGBA_12X12, // Total count COUNT, @@ -695,37 +695,37 @@ using ClearFlags = ClearFlagBit; CC_ENUM_OPERATORS(ClearFlagBit); struct Size { - uint x = 0u; - uint y = 0u; - uint z = 0u; + uint x = 0U; + uint y = 0U; + uint z = 0U; }; struct DeviceCaps { - uint maxVertexAttributes = 0u; - uint maxVertexUniformVectors = 0u; - uint maxFragmentUniformVectors = 0u; - uint maxTextureUnits = 0u; - uint maxImageUnits = 0u; - uint maxVertexTextureUnits = 0u; - uint maxColorRenderTargets = 0u; - uint maxShaderStorageBufferBindings = 0u; - uint maxShaderStorageBlockSize = 0u; - uint maxUniformBufferBindings = 0u; - uint maxUniformBlockSize = 0u; - uint maxTextureSize = 0u; - uint maxCubeMapTextureSize = 0u; - uint depthBits = 0u; - uint stencilBits = 0u; - uint uboOffsetAlignment = 1u; + uint maxVertexAttributes = 0U; + uint maxVertexUniformVectors = 0U; + uint maxFragmentUniformVectors = 0U; + uint maxTextureUnits = 0U; + uint maxImageUnits = 0U; + uint maxVertexTextureUnits = 0U; + uint maxColorRenderTargets = 0U; + uint maxShaderStorageBufferBindings = 0U; + uint maxShaderStorageBlockSize = 0U; + uint maxUniformBufferBindings = 0U; + uint maxUniformBlockSize = 0U; + uint maxTextureSize = 0U; + uint maxCubeMapTextureSize = 0U; + uint depthBits = 0U; + uint stencilBits = 0U; + uint uboOffsetAlignment = 1U; - uint maxComputeSharedMemorySize = 0u; - uint maxComputeWorkGroupInvocations = 0u; + uint maxComputeSharedMemorySize = 0U; + uint maxComputeWorkGroupInvocations = 0U; Size maxComputeWorkGroupSize; Size maxComputeWorkGroupCount; - float clipSpaceMinZ = -1.0f; - float screenSpaceSignY = 1.0f; - float UVSpaceSignY = -1.0f; + float clipSpaceMinZ = -1.0F; + float screenSpaceSignY = 1.0F; + float UVSpaceSignY = -1.0F; }; struct Offset { @@ -737,41 +737,38 @@ struct Offset { struct Rect { int x = 0; int y = 0; - uint width = 0u; - uint height = 0u; + uint width = 0U; + uint height = 0U; - bool operator==(const Rect &rs) { - if (x == rs.x && - y == rs.y && - width == rs.width && - height == rs.height) { - return true; - } else - return false; + bool operator==(const Rect &rs) const { + return x == rs.x && + y == rs.y && + width == rs.width && + height == rs.height; } - bool operator!=(const Rect &rs) { + bool operator!=(const Rect &rs) const { return !(*this == rs); } }; struct Extent { - uint width = 0u; - uint height = 0u; - uint depth = 1u; + uint width = 0U; + uint height = 0U; + uint depth = 1U; }; struct TextureSubresLayers { - uint mipLevel = 0u; - uint baseArrayLayer = 0u; - uint layerCount = 1u; + uint mipLevel = 0U; + uint baseArrayLayer = 0U; + uint layerCount = 1U; }; struct TextureSubresRange { - uint baseMipLevel = 0u; - uint levelCount = 1u; - uint baseArrayLayer = 0u; - uint layerCount = 1u; + uint baseMipLevel = 0U; + uint levelCount = 1U; + uint baseArrayLayer = 0U; + uint layerCount = 1U; }; struct TextureCopy { @@ -806,10 +803,10 @@ struct Viewport { int top = 0; uint width = 0; uint height = 0; - float minDepth = 0.0f; - float maxDepth = 1.0f; + float minDepth = 0.0F; + float maxDepth = 1.0F; - bool operator==(const Viewport &rs) { + bool operator==(const Viewport &rs) const { return (left == rs.left && top == rs.top && width == rs.width && @@ -818,18 +815,18 @@ struct Viewport { math::IsEqualF(maxDepth, maxDepth)); } - bool operator!=(const Viewport &rs) { + bool operator!=(const Viewport &rs) const { return !(*this == rs); } }; struct Color { - float x = 0.0f; - float y = 0.0f; - float z = 0.0f; - float w = 0.0f; + float x = 0.0F; + float y = 0.0F; + float z = 0.0F; + float w = 0.0F; - bool operator==(const Color &rhs) { + bool operator==(const Color &rhs) const { return (math::IsEqualF(x, rhs.x) && math::IsEqualF(y, rhs.y) && math::IsEqualF(z, rhs.z) && @@ -852,42 +849,42 @@ using ColorList = vector; struct BindingMappingInfo { std::vector bufferOffsets; std::vector samplerOffsets; - uint flexibleSet = 0u; + uint flexibleSet = 0U; }; struct BufferInfo { BufferUsage usage = BufferUsageBit::NONE; MemoryUsage memUsage = MemoryUsageBit::NONE; - uint size = 0u; - uint stride = 0u; // in bytes + uint size = 0U; + uint stride = 0U; // in bytes BufferFlags flags = BufferFlagBit::NONE; }; struct BufferViewInfo { Buffer *buffer = nullptr; - uint offset = 0u; - uint range = 0u; + uint offset = 0U; + uint range = 0U; }; struct DrawInfo { - uint vertexCount = 0u; - uint firstVertex = 0u; - uint indexCount = 0u; - uint firstIndex = 0u; - uint vertexOffset = 0u; - uint instanceCount = 0u; - uint firstInstance = 0u; + uint vertexCount = 0U; + uint firstVertex = 0U; + uint indexCount = 0U; + uint firstIndex = 0U; + uint vertexOffset = 0U; + uint instanceCount = 0U; + uint firstInstance = 0U; }; using DrawInfoList = vector; struct DispatchInfo { - uint groupCountX = 0u; - uint groupCountY = 0u; - uint groupCountZ = 0u; + uint groupCountX = 0U; + uint groupCountY = 0U; + uint groupCountZ = 0U; Buffer *indirectBuffer = nullptr; // @ts-nullable - uint indirectOffset = 0u; + uint indirectOffset = 0U; }; using DispatchInfoList = vector; @@ -900,23 +897,23 @@ struct TextureInfo { TextureType type = TextureType::TEX2D; TextureUsage usage = TextureUsageBit::NONE; Format format = Format::UNKNOWN; - uint width = 0u; - uint height = 0u; + uint width = 0U; + uint height = 0U; TextureFlags flags = TextureFlagBit::NONE; - uint layerCount = 1u; - uint levelCount = 1u; + uint layerCount = 1U; + uint levelCount = 1U; SampleCount samples = SampleCount::X1; - uint depth = 1u; + uint depth = 1U; }; struct TextureViewInfo { Texture * texture = nullptr; TextureType type = TextureType::TEX2D; Format format = Format::UNKNOWN; - uint baseLevel = 0u; - uint levelCount = 1u; - uint baseLayer = 0u; - uint layerCount = 1u; + uint baseLevel = 0U; + uint levelCount = 1U; + uint baseLayer = 0U; + uint layerCount = 1U; }; struct SamplerInfo { @@ -926,85 +923,85 @@ struct SamplerInfo { Address addressU = Address::WRAP; Address addressV = Address::WRAP; Address addressW = Address::WRAP; - uint maxAnisotropy = 0u; + uint maxAnisotropy = 0U; ComparisonFunc cmpFunc = ComparisonFunc::ALWAYS; Color borderColor; - float mipLODBias = 0.0f; + float mipLODBias = 0.0F; }; struct Uniform { String name; Type type = Type::UNKNOWN; - uint count = 0u; + uint count = 0U; }; using UniformList = vector; struct UniformBlock { - uint set = 0u; - uint binding = 0u; + uint set = 0U; + uint binding = 0U; String name; UniformList members; - uint count = 0u; + uint count = 0U; }; using UniformBlockList = vector; struct UniformSamplerTexture { - uint set = 0u; - uint binding = 0u; + uint set = 0U; + uint binding = 0U; String name; Type type = Type::UNKNOWN; - uint count = 0u; + uint count = 0U; }; using UniformSamplerTextureList = vector; struct UniformSampler { - uint set = 0u; - uint binding = 0u; + uint set = 0U; + uint binding = 0U; String name; - uint count = 0u; + uint count = 0U; }; using UniformSamplerList = vector; struct UniformTexture { - uint set = 0u; - uint binding = 0u; + uint set = 0U; + uint binding = 0U; String name; Type type = Type::UNKNOWN; - uint count = 0u; + uint count = 0U; }; using UniformTextureList = vector; struct UniformStorageImage { - uint set = 0u; - uint binding = 0u; + uint set = 0U; + uint binding = 0U; String name; Type type = Type::UNKNOWN; - uint count = 0u; + uint count = 0U; MemoryAccess memoryAccess = MemoryAccessBit::READ_WRITE; }; using UniformStorageImageList = vector; struct UniformStorageBuffer { - uint set = 0u; - uint binding = 0u; + uint set = 0U; + uint binding = 0U; String name; - uint count = 0u; + uint count = 0U; MemoryAccess memoryAccess = MemoryAccessBit::READ_WRITE; }; using UniformStorageBufferList = vector; struct UniformInputAttachment { - uint set = 0u; - uint binding = 0u; + uint set = 0U; + uint binding = 0U; String name; - uint count = 0u; + uint count = 0U; }; using UniformInputAttachmentList = vector; @@ -1054,23 +1051,6 @@ struct ColorAttachment { StoreOp storeOp = StoreOp::STORE; std::vector beginAccesses; std::vector endAccesses{AccessType::PRESENT}; - - // vector constructor with initializer list is not noexcept - //ColorAttachment() noexcept = default; // this does not work for MSVC intellisense - ColorAttachment( - Format format_ = Format::UNKNOWN, - SampleCount sampleCount_ = SampleCount::X1, - LoadOp loadOp_ = LoadOp::CLEAR, - StoreOp storeOp_ = StoreOp::STORE, - std::vector beginAccesses_ = {}, - std::vector endAccesses_ = {AccessType::PRESENT}) noexcept { - format = format_; - sampleCount = sampleCount_; - loadOp = loadOp_; - storeOp = storeOp_; - beginAccesses = beginAccesses_; - endAccesses = endAccesses_; - } }; using ColorAttachmentList = vector; @@ -1084,27 +1064,6 @@ struct DepthStencilAttachment { StoreOp stencilStoreOp = StoreOp::STORE; std::vector beginAccesses; std::vector endAccesses{AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; - - // vector constructor with initializer list is not noexcept - //DepthStencilAttachment() noexcept = default; // this does not work for MSVC intellisense - DepthStencilAttachment( - Format format_ = Format::UNKNOWN, - SampleCount sampleCount_ = SampleCount::X1, - LoadOp depthLoadOp_ = LoadOp::CLEAR, - StoreOp depthStoreOp_ = StoreOp::STORE, - LoadOp stencilLoadOp_ = LoadOp::CLEAR, - StoreOp stencilStoreOp_ = StoreOp::STORE, - std::vector beginAccesses_ = {}, - std::vector endAccesses_ = {AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}) noexcept { - format = format_; - sampleCount = sampleCount_; - depthLoadOp = depthLoadOp_; - depthStoreOp = depthStoreOp_; - stencilLoadOp = stencilLoadOp_; - stencilStoreOp = stencilStoreOp_; - beginAccesses = beginAccesses_; - endAccesses = endAccesses_; - } }; struct SubpassInfo { @@ -1181,12 +1140,12 @@ struct RasterizerState { CullMode cullMode = CullMode::BACK; uint isFrontFaceCCW = 1; uint depthBiasEnabled = 0; - float depthBias = 0.0f; - float depthBiasClamp = 0.0f; - float depthBiasSlop = 0.0f; + float depthBias = 0.0F; + float depthBiasClamp = 0.0F; + float depthBiasSlop = 0.0F; uint isDepthClip = 1; uint isMultisample = 0; - float lineWidth = 1.0f; + float lineWidth = 1.0F; }; // Use uint for all boolean values to convert memory to DepthStencilState* in shared memory. diff --git a/native/cocos/renderer/gfx-base/GFXDef.cpp b/native/cocos/renderer/gfx-base/GFXDef.cpp index 674b171416..7354862a68 100644 --- a/native/cocos/renderer/gfx-base/GFXDef.cpp +++ b/native/cocos/renderer/gfx-base/GFXDef.cpp @@ -44,7 +44,7 @@ const DescriptorType DESCRIPTOR_TEXTURE_TYPE = DescriptorType::SAMPLER_TEXTURE | const DescriptorType DESCRIPTOR_DYNAMIC_TYPE = DescriptorType::DYNAMIC_STORAGE_BUFFER | DescriptorType::DYNAMIC_UNIFORM_BUFFER; -const uint DRAW_INFO_SIZE = 28u; +const uint DRAW_INFO_SIZE = 28U; const FormatInfo GFX_FORMAT_INFOS[] = { {"UNKNOWN", 0, 0, FormatType::NONE, false, false, false, false}, @@ -148,136 +148,134 @@ const FormatInfo GFX_FORMAT_INFOS[] = { {"PVRTC2_2BPP", 2, 4, FormatType::UNORM, true, false, false, true}, {"PVRTC2_4BPP", 2, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_4x4", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_5x4", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_5x5", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_6x5", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_6x6", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_8x5", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_8x6", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_8x8", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_10x5", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_10x6", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_10x8", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_10x10", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_12x10", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_RGBA_12x12", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_4X4", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_5X4", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_5X5", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_6X5", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_6X6", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_8X5", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_8X6", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_8X8", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_10X5", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_10X6", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_10X8", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_10X10", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_12X10", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_RGBA_12X12", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_4x4", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_5x4", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_5x5", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_6x5", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_6x6", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_8x5", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_8x6", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_8x8", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_10x5", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_10x6", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_10x8", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_10x10", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_12x10", 1, 4, FormatType::UNORM, true, false, false, true}, - {"ASTC_SRGBA_12x12", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_4X4", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_5X4", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_5X5", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_6X5", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_6X6", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_8X5", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_8X6", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_8X8", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_10X5", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_10X6", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_10X8", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_10X10", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_12X10", 1, 4, FormatType::UNORM, true, false, false, true}, + {"ASTC_SRGBA_12X12", 1, 4, FormatType::UNORM, true, false, false, true}, }; bool isCombinedImageSampler(Type type) { return type >= Type::SAMPLER1D && type <= Type::SAMPLER_CUBE; } bool isSampledImage(Type type) { return type >= Type::TEXTURE1D && type <= Type::TEXTURE_CUBE; } bool isStorageImage(Type type) { return type >= Type::IMAGE1D && type <= Type::IMAGE_CUBE; } -uint FormatSize(Format format, uint width, uint height, uint depth) { +uint ceilDiv(uint x, uint y) { return (x - 1) / y + 1; } - if (!GFX_FORMAT_INFOS[(uint)format].isCompressed) { - return (width * height * depth * GFX_FORMAT_INFOS[(uint)format].size); - } else { - switch (format) { - case Format::BC1: - case Format::BC1_ALPHA: - case Format::BC1_SRGB: - case Format::BC1_SRGB_ALPHA: - return (uint)std::ceil(width / 4) * (uint)std::ceil(height / 4) * 8 * depth; - case Format::BC2: - case Format::BC2_SRGB: - case Format::BC3: - case Format::BC3_SRGB: - case Format::BC4: - case Format::BC4_SNORM: - case Format::BC6H_SF16: - case Format::BC6H_UF16: - case Format::BC7: - case Format::BC7_SRGB: - return (uint)std::ceil(width / 4) * (uint)std::ceil(height / 4) * 16 * depth; - case Format::BC5: - case Format::BC5_SNORM: - return (uint)std::ceil(width / 4) * (uint)std::ceil(height / 4) * 32 * depth; +uint formatSize(Format format, uint width, uint height, uint depth) { + if (!GFX_FORMAT_INFOS[static_cast(format)].isCompressed) { + return (width * height * depth * GFX_FORMAT_INFOS[static_cast(format)].size); + } + switch (format) { + case Format::BC1: + case Format::BC1_ALPHA: + case Format::BC1_SRGB: + case Format::BC1_SRGB_ALPHA: + return ceilDiv(width, 4) * ceilDiv(height, 4) * 8 * depth; + case Format::BC2: + case Format::BC2_SRGB: + case Format::BC3: + case Format::BC3_SRGB: + case Format::BC4: + case Format::BC4_SNORM: + case Format::BC6H_SF16: + case Format::BC6H_UF16: + case Format::BC7: + case Format::BC7_SRGB: + return ceilDiv(width, 4) * ceilDiv(height, 4) * 16 * depth; + case Format::BC5: + case Format::BC5_SNORM: + return ceilDiv(width, 4) * ceilDiv(height, 4) * 32 * depth; - case Format::ETC_RGB8: - case Format::ETC2_RGB8: - case Format::ETC2_SRGB8: - case Format::ETC2_RGB8_A1: - case Format::EAC_R11: - case Format::EAC_R11SN: - return (uint)std::ceil((float)width / 4) * (uint)std::ceil((float)height / 4) * 8 * depth; - case Format::ETC2_RGBA8: - case Format::ETC2_SRGB8_A1: - case Format::EAC_RG11: - case Format::EAC_RG11SN: - return (uint)std::ceil((float)width / 4) * (uint)std::ceil((float)height / 4) * 16 * depth; + case Format::ETC_RGB8: + case Format::ETC2_RGB8: + case Format::ETC2_SRGB8: + case Format::ETC2_RGB8_A1: + case Format::EAC_R11: + case Format::EAC_R11SN: + return ceilDiv(width, 4) * ceilDiv(height, 4) * 8 * depth; + case Format::ETC2_RGBA8: + case Format::ETC2_SRGB8_A1: + case Format::EAC_RG11: + case Format::EAC_RG11SN: + return ceilDiv(width, 4) * ceilDiv(height, 4) * 16 * depth; - case Format::PVRTC_RGB2: - case Format::PVRTC_RGBA2: - case Format::PVRTC2_2BPP: - return (uint)std::ceil(std::max(width, 16U) * std::max(height, 8U) / 4) * depth; - case Format::PVRTC_RGB4: - case Format::PVRTC_RGBA4: - case Format::PVRTC2_4BPP: - return (uint)std::ceil(std::max(width, 16U) * std::max(height, 8U) / 2) * depth; + case Format::PVRTC_RGB2: + case Format::PVRTC_RGBA2: + case Format::PVRTC2_2BPP: + return ceilDiv(std::max(width, 16U) * std::max(height, 8U), 4) * depth; + case Format::PVRTC_RGB4: + case Format::PVRTC_RGBA4: + case Format::PVRTC2_4BPP: + return ceilDiv(std::max(width, 16U) * std::max(height, 8U), 2) * depth; - case Format::ASTC_RGBA_4x4: - case Format::ASTC_SRGBA_4x4: - return (uint)std::ceil((float)width / 4) * (uint)std::ceil((float)height / 4) * 16 * depth; - case Format::ASTC_RGBA_5x4: - case Format::ASTC_SRGBA_5x4: - return (uint)std::ceil((float)width / 5) * (uint)std::ceil((float)height / 4) * 16 * depth; - case Format::ASTC_RGBA_5x5: - case Format::ASTC_SRGBA_5x5: - return (uint)std::ceil((float)width / 5) * (uint)std::ceil((float)height / 5) * 16 * depth; - case Format::ASTC_RGBA_6x5: - case Format::ASTC_SRGBA_6x5: - return (uint)std::ceil((float)width / 6) * (uint)std::ceil((float)height / 5) * 16 * depth; - case Format::ASTC_RGBA_6x6: - case Format::ASTC_SRGBA_6x6: - return (uint)std::ceil((float)width / 6) * (uint)std::ceil((float)height / 6) * 16 * depth; - case Format::ASTC_RGBA_8x5: - case Format::ASTC_SRGBA_8x5: - return (uint)std::ceil((float)width / 8) * (uint)std::ceil((float)height / 5) * 16 * depth; - case Format::ASTC_RGBA_8x6: - case Format::ASTC_SRGBA_8x6: - return (uint)std::ceil((float)width / 8) * (uint)std::ceil((float)height / 6) * 16 * depth; - case Format::ASTC_RGBA_8x8: - case Format::ASTC_SRGBA_8x8: - return (uint)std::ceil((float)width / 8) * (uint)std::ceil((float)height / 8) * 16 * depth; - case Format::ASTC_RGBA_10x5: - case Format::ASTC_SRGBA_10x5: - return (uint)std::ceil((float)width / 10) * (uint)std::ceil((float)height / 5) * 16 * depth; - case Format::ASTC_RGBA_10x6: - case Format::ASTC_SRGBA_10x6: - return (uint)std::ceil((float)width / 10) * (uint)std::ceil((float)height / 6) * 16 * depth; - case Format::ASTC_RGBA_10x8: - case Format::ASTC_SRGBA_10x8: - return (uint)std::ceil((float)width / 10) * (uint)std::ceil((float)height / 8) * 16 * depth; - case Format::ASTC_RGBA_10x10: - case Format::ASTC_SRGBA_10x10: - return (uint)std::ceil((float)width / 10) * (uint)std::ceil((float)height / 10) * 16 * depth; - case Format::ASTC_RGBA_12x10: - case Format::ASTC_SRGBA_12x10: - return (uint)std::ceil((float)width / 12) * (uint)std::ceil((float)height / 10) * 16 * depth; - case Format::ASTC_RGBA_12x12: - case Format::ASTC_SRGBA_12x12: - return (uint)std::ceil((float)width / 12) * (uint)std::ceil((float)height / 12) * 16 * depth; - - default: { - return 0; - } - } + case Format::ASTC_RGBA_4X4: + case Format::ASTC_SRGBA_4X4: + return ceilDiv(width, 4) * ceilDiv(height, 4) * 16 * depth; + case Format::ASTC_RGBA_5X4: + case Format::ASTC_SRGBA_5X4: + return ceilDiv(width, 5) * ceilDiv(height, 4) * 16 * depth; + case Format::ASTC_RGBA_5X5: + case Format::ASTC_SRGBA_5X5: + return ceilDiv(width, 5) * ceilDiv(height, 5) * 16 * depth; + case Format::ASTC_RGBA_6X5: + case Format::ASTC_SRGBA_6X5: + return ceilDiv(width, 6) * ceilDiv(height, 5) * 16 * depth; + case Format::ASTC_RGBA_6X6: + case Format::ASTC_SRGBA_6X6: + return ceilDiv(width, 6) * ceilDiv(height, 6) * 16 * depth; + case Format::ASTC_RGBA_8X5: + case Format::ASTC_SRGBA_8X5: + return ceilDiv(width, 8) * ceilDiv(height, 5) * 16 * depth; + case Format::ASTC_RGBA_8X6: + case Format::ASTC_SRGBA_8X6: + return ceilDiv(width, 8) * ceilDiv(height, 6) * 16 * depth; + case Format::ASTC_RGBA_8X8: + case Format::ASTC_SRGBA_8X8: + return ceilDiv(width, 8) * ceilDiv(height, 8) * 16 * depth; + case Format::ASTC_RGBA_10X5: + case Format::ASTC_SRGBA_10X5: + return ceilDiv(width, 10) * ceilDiv(height, 5) * 16 * depth; + case Format::ASTC_RGBA_10X6: + case Format::ASTC_SRGBA_10X6: + return ceilDiv(width, 10) * ceilDiv(height, 6) * 16 * depth; + case Format::ASTC_RGBA_10X8: + case Format::ASTC_SRGBA_10X8: + return ceilDiv(width, 10) * ceilDiv(height, 8) * 16 * depth; + case Format::ASTC_RGBA_10X10: + case Format::ASTC_SRGBA_10X10: + return ceilDiv(width, 10) * ceilDiv(height, 10) * 16 * depth; + case Format::ASTC_RGBA_12X10: + case Format::ASTC_SRGBA_12X10: + return ceilDiv(width, 12) * ceilDiv(height, 10) * 16 * depth; + case Format::ASTC_RGBA_12X12: + case Format::ASTC_SRGBA_12X12: + return ceilDiv(width, 12) * ceilDiv(height, 12) * 16 * depth; + default: + return 0; } } @@ -316,12 +314,11 @@ const uint GFX_TYPE_SIZES[] = { 4, // SAMPLER_CUBE }; -uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips) { - +uint formatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips) { uint size = 0; for (uint i = 0; i < mips; ++i) { - size += FormatSize(format, width, height, depth); + size += formatSize(format, width, height, depth); width = std::max(width >> 1, 1U); height = std::max(height >> 1, 1U); } diff --git a/native/cocos/renderer/gfx-base/GFXDef.h b/native/cocos/renderer/gfx-base/GFXDef.h index 0f21f44c2a..c121c00fff 100644 --- a/native/cocos/renderer/gfx-base/GFXDef.h +++ b/native/cocos/renderer/gfx-base/GFXDef.h @@ -55,11 +55,11 @@ enum class VsyncMode { }; struct DeviceInfo { - uintptr_t windowHandle = 0; - uint width = 0; - uint height = 0; - uint nativeWidth = 0; - uint nativeHeight = 0; + uintptr_t windowHandle = 0U; + uint width = 0U; + uint height = 0U; + uint nativeWidth = 0U; + uint nativeHeight = 0U; BindingMappingInfo bindingMappingInfo; }; @@ -72,14 +72,14 @@ struct ContextInfo { extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; -extern const uint DRAW_INFO_SIZE; +extern const uint DRAW_INFO_SIZE; extern const FormatInfo GFX_FORMAT_INFOS[]; extern const uint GFX_TYPE_SIZES[]; -extern uint FormatSize(Format format, uint width, uint height, uint depth); +extern uint formatSize(Format format, uint width, uint height, uint depth); -extern uint FormatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips); +extern uint formatSurfaceSize(Format format, uint width, uint height, uint depth, uint mips); } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp index 5f4b40f383..217182c51d 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSet.cpp @@ -36,10 +36,9 @@ DescriptorSet::DescriptorSet() : GFXObject(ObjectType::DESCRIPTOR_SET) { } -DescriptorSet::~DescriptorSet() { -} +DescriptorSet::~DescriptorSet() = default; -void DescriptorSet::initialize(const DescriptorSetInfo& info) { +void DescriptorSet::initialize(const DescriptorSetInfo &info) { CCASSERT(info.layout, "Invalid set layout"); _layout = info.layout; diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp index 0c77c63db7..0980da0787 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp @@ -35,18 +35,17 @@ DescriptorSetLayout::DescriptorSetLayout() : GFXObject(ObjectType::DESCRIPTOR_SET_LAYOUT) { } -DescriptorSetLayout::~DescriptorSetLayout() { -} +DescriptorSetLayout::~DescriptorSetLayout() = default; void DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { _bindings = info.bindings; uint bindingCount = _bindings.size(); - _descriptorCount = 0u; + _descriptorCount = 0U; if (bindingCount) { - uint maxBinding = 0u; + uint maxBinding = 0U; vector flattenedIndices(bindingCount); - for (uint i = 0u; i < bindingCount; i++) { + for (uint i = 0U; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; flattenedIndices[i] = _descriptorCount; _descriptorCount += binding.count; @@ -55,7 +54,7 @@ void DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - for (uint i = 0u; i < bindingCount; i++) { + for (uint i = 0U; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; _bindingIndices[binding.binding] = i; _descriptorIndices[binding.binding] = flattenedIndices[i]; @@ -69,7 +68,7 @@ void DescriptorSetLayout::destroy() { doDestroy(); _bindings.clear(); - _descriptorCount = 0u; + _descriptorCount = 0U; _bindingIndices.clear(); _descriptorIndices.clear(); } diff --git a/native/cocos/renderer/gfx-base/GFXDevice.cpp b/native/cocos/renderer/gfx-base/GFXDevice.cpp index 58e52a6c4b..b2323d5866 100644 --- a/native/cocos/renderer/gfx-base/GFXDevice.cpp +++ b/native/cocos/renderer/gfx-base/GFXDevice.cpp @@ -32,19 +32,19 @@ namespace cc { namespace gfx { -Device *Device::_instance = nullptr; +Device *Device::instance = nullptr; Device *Device::getInstance() { - return Device::_instance; + return Device::instance; } Device::Device() { - Device::_instance = this; + Device::instance = this; memset(_features, 0, sizeof(_features)); } Device::~Device() { - Device::_instance = nullptr; + Device::instance = nullptr; } Format Device::getColorFormat() const { @@ -78,7 +78,7 @@ void Device::destroy() { _bindingMappingInfo.bufferOffsets.clear(); _bindingMappingInfo.samplerOffsets.clear(); - _width = _height = _nativeWidth = _nativeHeight = _windowHandle = 0u; + _width = _height = _nativeWidth = _nativeHeight = _windowHandle = 0U; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-base/GFXDevice.h b/native/cocos/renderer/gfx-base/GFXDevice.h index b9399e5b0a..013fdf6254 100644 --- a/native/cocos/renderer/gfx-base/GFXDevice.h +++ b/native/cocos/renderer/gfx-base/GFXDevice.h @@ -49,7 +49,7 @@ class CC_DLL Device : public Object { public: static Device *getInstance(); - virtual ~Device(); + ~Device() override; bool initialize(const DeviceInfo &info); void destroy(); @@ -96,7 +96,7 @@ public: inline Queue * getQueue() const { return _queue; } inline CommandBuffer * getCommandBuffer() const { return _cmdBuff; } inline const DeviceCaps &getCapabilities() const { return _caps; } - inline API getGfxAPI() const { return _API; } + inline API getGfxAPI() const { return _api; } inline const String & getDeviceName() const { return _deviceName; } inline const String & getRenderer() const { return _renderer; } inline const String & getVendor() const { return _vendor; } @@ -108,7 +108,7 @@ public: Format getDepthStencilFormat() const; protected: - static Device *_instance; + static Device *instance; friend class DeviceAgent; friend class DeviceValidator; @@ -146,7 +146,7 @@ protected: inline Context *getContext() const { return _context; } - API _API = API::UNKNOWN; + API _api = API::UNKNOWN; SurfaceTransform _transform = SurfaceTransform::IDENTITY; String _deviceName; String _renderer; @@ -162,9 +162,9 @@ protected: Context * _context = nullptr; Queue * _queue = nullptr; CommandBuffer * _cmdBuff = nullptr; - uint _numDrawCalls = 0u; - uint _numInstances = 0u; - uint _numTriangles = 0u; + uint _numDrawCalls = 0U; + uint _numInstances = 0U; + uint _numTriangles = 0U; BindingMappingInfo _bindingMappingInfo; DeviceCaps _caps; }; @@ -274,15 +274,15 @@ TextureBarrier *Device::createTextureBarrier(const TextureBarrierInfo &info) { } void Device::copyBuffersToTexture(const BufferDataList &buffers, Texture *dst, const BufferTextureCopyList ®ions) { - copyBuffersToTexture(buffers.data(), dst, regions.data(), static_cast(regions.size())); + copyBuffersToTexture(buffers.data(), dst, regions.data(), utils::toUint(regions.size())); } void Device::flushCommands(const vector &cmdBuffs) { - flushCommands(cmdBuffs.data(), static_cast(cmdBuffs.size())); + flushCommands(cmdBuffs.data(), utils::toUint(cmdBuffs.size())); } void Device::flushCommandsForJS(const vector &cmdBuffs) { - flushCommands(cmdBuffs.data(), static_cast(cmdBuffs.size())); + flushCommands(cmdBuffs.data(), utils::toUint(cmdBuffs.size())); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp index 749e611cd5..4fe15d6d61 100644 --- a/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp @@ -35,19 +35,18 @@ Framebuffer::Framebuffer() : GFXObject(ObjectType::FRAMEBUFFER) { } -Framebuffer::~Framebuffer() { -} +Framebuffer::~Framebuffer() = default; uint Framebuffer::computeHash(const FramebufferInfo &info) { uint seed = info.colorTextures.size() + info.colorMipmapLevels.size() + 2; for (const Texture *attachment : info.colorTextures) { - seed ^= (uint)attachment->getTextureID() + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= attachment->getTextureID() + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (uint level : info.colorMipmapLevels) { - seed ^= (uint)level + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= level + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - seed ^= (uint)info.depthStencilTexture->getTextureID() + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.depthStencilMipmapLevel + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= info.depthStencilTexture->getTextureID() + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.depthStencilMipmapLevel) + 0x9e3779b9 + (seed << 6) + (seed >> 2); return seed; } diff --git a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp index 0ef1059f11..26655ce343 100644 --- a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp @@ -35,17 +35,16 @@ GlobalBarrier::GlobalBarrier() : GFXObject(ObjectType::GLOBAL_BARRIER) { } -GlobalBarrier::~GlobalBarrier() { -} +GlobalBarrier::~GlobalBarrier() = default; uint GlobalBarrier::computeHash(const GlobalBarrierInfo &info) { uint seed = info.prevAccesses.size() + info.nextAccesses.size(); for (const AccessType type : info.prevAccesses) { - seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (const AccessType type : info.nextAccesses) { - seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } return seed; diff --git a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h index 655500b354..594f38d73f 100644 --- a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h +++ b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.h @@ -33,7 +33,7 @@ namespace gfx { class CC_DLL GlobalBarrier : public GFXObject { public: GlobalBarrier(); - virtual ~GlobalBarrier(); + ~GlobalBarrier() override; static uint computeHash(const GlobalBarrierInfo &info); @@ -44,7 +44,9 @@ protected: virtual void doInit(const GlobalBarrierInfo &info) {} - void initialize(const GlobalBarrierInfo &info) { _info = info; doInit(info); } + void initialize(const GlobalBarrierInfo &info) { + _info = info; doInit(info); + } GlobalBarrierInfo _info; }; diff --git a/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp b/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp index f78a4ee58a..830ecf15f4 100644 --- a/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp +++ b/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp @@ -36,8 +36,7 @@ InputAssembler::InputAssembler() : GFXObject(ObjectType::INPUT_ASSEMBLER) { } -InputAssembler::~InputAssembler() { -} +InputAssembler::~InputAssembler() = default; void InputAssembler::extractDrawInfo(DrawInfo &drawInfo) const { drawInfo.vertexCount = _vertexCount; @@ -55,13 +54,13 @@ uint InputAssembler::computeAttributesHash() const { std::size_t seed = _attributes.size() * 6; for (const auto &attribute : _attributes) { seed ^= std::hash{}(attribute.name) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(attribute.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(attribute.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= attribute.isNormalized + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= attribute.stream + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= attribute.isInstanced + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= attribute.location + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - return static_cast(seed); + return seed; } void InputAssembler::initialize(const InputAssemblerInfo &info) { @@ -73,7 +72,7 @@ void InputAssembler::initialize(const InputAssemblerInfo &info) { if (_indexBuffer) { _indexCount = _indexBuffer->getCount(); _firstIndex = 0; - } else if (_vertexBuffers.size()) { + } else if (!_vertexBuffers.empty()) { _vertexCount = _vertexBuffers[0]->getCount(); _firstVertex = 0; _vertexOffset = 0; @@ -88,7 +87,7 @@ void InputAssembler::destroy() { _vertexBuffers.clear(); _indexBuffer = nullptr; _indirectBuffer = nullptr; - _indexCount = _firstIndex = _vertexCount = _firstVertex = _vertexOffset = _attributesHash = 0u; + _indexCount = _firstIndex = _vertexCount = _firstVertex = _vertexOffset = _attributesHash = 0U; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp b/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp index fd077ecccb..c16fd5545f 100644 --- a/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-base/GFXPipelineLayout.cpp @@ -35,8 +35,7 @@ PipelineLayout::PipelineLayout() : GFXObject(ObjectType::PIPELINE_LAYOUT) { } -PipelineLayout::~PipelineLayout() { -} +PipelineLayout::~PipelineLayout() = default; void PipelineLayout::initialize(const PipelineLayoutInfo& info) { _setLayouts = info.setLayouts; diff --git a/native/cocos/renderer/gfx-base/GFXPipelineState.cpp b/native/cocos/renderer/gfx-base/GFXPipelineState.cpp index d751e6ebb9..a369efae27 100644 --- a/native/cocos/renderer/gfx-base/GFXPipelineState.cpp +++ b/native/cocos/renderer/gfx-base/GFXPipelineState.cpp @@ -35,8 +35,7 @@ PipelineState::PipelineState() : GFXObject(ObjectType::PIPELINE_STATE) { } -PipelineState::~PipelineState() { -} +PipelineState::~PipelineState() = default; void PipelineState::initialize(const PipelineStateInfo &info) { _primitive = info.primitive; diff --git a/native/cocos/renderer/gfx-base/GFXQueue.cpp b/native/cocos/renderer/gfx-base/GFXQueue.cpp index fb5f36e403..c3d402f79e 100644 --- a/native/cocos/renderer/gfx-base/GFXQueue.cpp +++ b/native/cocos/renderer/gfx-base/GFXQueue.cpp @@ -35,8 +35,7 @@ Queue::Queue() : GFXObject(ObjectType::QUEUE) { } -Queue::~Queue() { -} +Queue::~Queue() = default; void Queue::initialize(const QueueInfo& info) { _type = info.type; diff --git a/native/cocos/renderer/gfx-base/GFXQueue.h b/native/cocos/renderer/gfx-base/GFXQueue.h index da8eb1c164..49d3945503 100644 --- a/native/cocos/renderer/gfx-base/GFXQueue.h +++ b/native/cocos/renderer/gfx-base/GFXQueue.h @@ -26,6 +26,7 @@ #pragma once #include "GFXObject.h" +#include "base/Utils.h" namespace cc { namespace gfx { @@ -33,16 +34,16 @@ namespace gfx { class CC_DLL Queue : public GFXObject { public: Queue(); - virtual ~Queue(); + ~Queue() override; void initialize(const QueueInfo &info); void destroy(); virtual void submit(CommandBuffer *const *cmdBuffs, uint count) = 0; - CC_INLINE void submit(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), static_cast(cmdBuffs.size())); } + CC_INLINE void submit(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), utils::toUint(cmdBuffs.size())); } - CC_INLINE void submitForJS(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), static_cast(cmdBuffs.size())); } + CC_INLINE void submitForJS(const CommandBufferList &cmdBuffs) { submit(cmdBuffs.data(), utils::toUint(cmdBuffs.size())); } CC_INLINE QueueType getType() const { return _type; } @@ -50,7 +51,7 @@ protected: virtual void doInit(const QueueInfo &info) = 0; virtual void doDestroy() = 0; - QueueType _type = QueueType::GRAPHICS; + QueueType _type = QueueType::GRAPHICS; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp index 035a5f0b09..d408d32a41 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp @@ -35,14 +35,13 @@ RenderPass::RenderPass() : GFXObject(ObjectType::RENDER_PASS) { } -RenderPass::~RenderPass() { -} +RenderPass::~RenderPass() = default; // Based on render pass compatibility uint RenderPass::computeHash() { // https://stackoverflow.com/questions/20511347/a-good-hash-function-for-a-vector uint seed = 0; - if (_subpasses.size()) { + if (!_subpasses.empty()) { for (const SubpassInfo &subPass : _subpasses) { for (const uint iaIndex : subPass.inputs) { if (iaIndex >= _colorAttachments.size()) break; @@ -68,41 +67,41 @@ uint RenderPass::computeHash() { for (const uint iaIndex : subPass.inputs) { if (iaIndex >= _colorAttachments.size()) break; const ColorAttachment &ia = _colorAttachments[iaIndex]; - seed ^= (uint)(ia.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)ia.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ia.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ia.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (const uint caIndex : subPass.colors) { if (caIndex >= _colorAttachments.size()) break; const ColorAttachment &ca = _colorAttachments[caIndex]; - seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ca.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (const uint raIndex : subPass.resolves) { if (raIndex >= _colorAttachments.size()) break; const ColorAttachment &ca = _colorAttachments[raIndex]; - seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ca.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (const uint paIndex : subPass.preserves) { if (paIndex >= _colorAttachments.size()) break; const ColorAttachment &ca = _colorAttachments[paIndex]; - seed ^= (uint)(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)ca.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ca.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ca.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } if (subPass.depthStencil < _colorAttachments.size()) { const ColorAttachment &ds = _colorAttachments[subPass.depthStencil]; - seed ^= (uint)(ds.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)ds.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ds.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(ds.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } } } else { seed = _colorAttachments.size() * 2 + 2; for (const ColorAttachment &colorAttachment : _colorAttachments) { - seed ^= (uint)(colorAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)colorAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(colorAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(colorAttachment.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - seed ^= (uint)(_depthStencilAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)_depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(_depthStencilAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(_depthStencilAttachment.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } return seed; @@ -110,19 +109,19 @@ uint RenderPass::computeHash() { uint RenderPass::computeHash(const RenderPassInfo &info) { static auto computeAttachmentHash = [](const ColorAttachment &attachment, uint &seed) { - seed ^= (uint)attachment.format + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)attachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)attachment.loadOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)attachment.storeOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(attachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(attachment.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(attachment.loadOp) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(attachment.storeOp) + 0x9e3779b9 + (seed << 6) + (seed >> 2); for (AccessType type : attachment.beginAccesses) { - seed ^= (uint)type + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (AccessType type : attachment.endAccesses) { - seed ^= (uint)type + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } }; uint seed = 0; - if (info.subpasses.size()) { + if (!info.subpasses.empty()) { for (const SubpassInfo &subPass : info.subpasses) { for (const uint iaIndex : subPass.inputs) { if (iaIndex >= info.colorAttachments.size()) break; @@ -179,17 +178,17 @@ uint RenderPass::computeHash(const RenderPassInfo &info) { for (const ColorAttachment &ca : info.colorAttachments) { computeAttachmentHash(ca, seed); } - seed ^= (uint)info.depthStencilAttachment.format + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.depthStencilAttachment.sampleCount + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.depthStencilAttachment.depthLoadOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.depthStencilAttachment.depthStoreOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.depthStencilAttachment.stencilLoadOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)info.depthStencilAttachment.stencilStoreOp + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.depthStencilAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.depthStencilAttachment.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.depthStencilAttachment.depthLoadOp) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.depthStencilAttachment.depthStoreOp) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.depthStencilAttachment.stencilLoadOp) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.depthStencilAttachment.stencilStoreOp) + 0x9e3779b9 + (seed << 6) + (seed >> 2); for (AccessType type : info.depthStencilAttachment.beginAccesses) { - seed ^= (uint)type + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (AccessType type : info.depthStencilAttachment.endAccesses) { - seed ^= (uint)type + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } } @@ -210,7 +209,7 @@ void RenderPass::destroy() { _colorAttachments.clear(); _subpasses.clear(); - _hash = 0u; + _hash = 0U; } } // namespace gfx diff --git a/native/cocos/renderer/gfx-base/GFXSampler.cpp b/native/cocos/renderer/gfx-base/GFXSampler.cpp index 3de43697a9..87567f715b 100644 --- a/native/cocos/renderer/gfx-base/GFXSampler.cpp +++ b/native/cocos/renderer/gfx-base/GFXSampler.cpp @@ -33,14 +33,13 @@ namespace gfx { Sampler::Sampler() : GFXObject(ObjectType::SAMPLER) { - _borderColor.x = 0.0f; - _borderColor.y = 0.0f; - _borderColor.z = 0.0f; - _borderColor.w = 0.0f; + _borderColor.x = 0.0F; + _borderColor.y = 0.0F; + _borderColor.z = 0.0F; + _borderColor.w = 0.0F; } -Sampler::~Sampler() { -} +Sampler::~Sampler() = default; void Sampler::initialize(const SamplerInfo &info) { _minFilter = info.minFilter; diff --git a/native/cocos/renderer/gfx-base/GFXShader.cpp b/native/cocos/renderer/gfx-base/GFXShader.cpp index dd6f90e161..c83ec04f2c 100644 --- a/native/cocos/renderer/gfx-base/GFXShader.cpp +++ b/native/cocos/renderer/gfx-base/GFXShader.cpp @@ -37,8 +37,7 @@ Shader::Shader() _shaderID = generateShaderID(); } -Shader::~Shader() { -} +Shader::~Shader() = default; void Shader::initialize(const ShaderInfo &info) { _name = info.name; diff --git a/native/cocos/renderer/gfx-base/GFXTexture.cpp b/native/cocos/renderer/gfx-base/GFXTexture.cpp index 0593f6376f..0c79f66260 100644 --- a/native/cocos/renderer/gfx-base/GFXTexture.cpp +++ b/native/cocos/renderer/gfx-base/GFXTexture.cpp @@ -37,21 +37,20 @@ Texture::Texture() _textureID = generateTextureID(); } -Texture::~Texture() { -} +Texture::~Texture() = default; uint Texture::computeHash(const TextureInfo &info) { uint seed = 10; - seed ^= (uint)(info.type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.usage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.width) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.height) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.flags) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.layerCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.levelCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.samples) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (uint)(info.depth) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.usage) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.width) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.height) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.flags) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.layerCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.levelCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(info.samples) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.depth) + 0x9e3779b9 + (seed << 6) + (seed >> 2); return seed; } @@ -66,7 +65,7 @@ void Texture::initialize(const TextureInfo &info) { _levelCount = info.levelCount; _samples = info.samples; _flags = info.flags; - _size = FormatSize(_format, _width, _height, _depth); + _size = formatSize(_format, _width, _height, _depth); Device::getInstance()->getMemoryStatus().textureSize += _size; @@ -88,7 +87,7 @@ void Texture::initialize(const TextureViewInfo &info) { _depth = info.texture->getDepth(); _samples = info.texture->getSamples(); _flags = info.texture->getFlags(); - _size = FormatSize(_format, _width, _height, _depth); + _size = formatSize(_format, _width, _height, _depth); _isTextureView = true; doInit(info); @@ -105,7 +104,7 @@ void Texture::destroy() { void Texture::resize(uint width, uint height) { if (_width != width || _height != height) { - uint size = FormatSize(_format, width, height, _depth); + uint size = formatSize(_format, width, height, _depth); doResize(width, height, size); Device::getInstance()->getMemoryStatus().textureSize -= _size; diff --git a/native/cocos/renderer/gfx-base/GFXTexture.h b/native/cocos/renderer/gfx-base/GFXTexture.h index fdcfd96f3b..c6b12c2832 100644 --- a/native/cocos/renderer/gfx-base/GFXTexture.h +++ b/native/cocos/renderer/gfx-base/GFXTexture.h @@ -33,7 +33,7 @@ namespace gfx { class CC_DLL Texture : public GFXObject { public: Texture(); - virtual ~Texture(); + ~Texture() override; static uint computeHash(const TextureInfo &info); @@ -58,8 +58,8 @@ public: protected: static uint generateTextureID() noexcept { - static uint _idGen = 0; - return _idGen++; + static uint idGen = 0; + return idGen++; } virtual void doInit(const TextureInfo &info) = 0; @@ -71,14 +71,14 @@ protected: TextureType _type = TextureType::TEX2D; TextureUsage _usage = TextureUsageBit::NONE; Format _format = Format::UNKNOWN; - uint _width = 0u; - uint _height = 0u; - uint _depth = 1u; - uint _baseLevel = 0u; - uint _levelCount = 1u; - uint _baseLayer = 0u; - uint _layerCount = 1u; - uint _size = 0u; + uint _width = 0U; + uint _height = 0U; + uint _depth = 1U; + uint _baseLevel = 0U; + uint _levelCount = 1U; + uint _baseLayer = 0U; + uint _layerCount = 1U; + uint _size = 0U; SampleCount _samples = SampleCount::X1; TextureFlags _flags = TextureFlagBit::NONE; bool _isTextureView = false; diff --git a/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp b/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp index 0030e333f9..ea9e9c9970 100644 --- a/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp @@ -36,22 +36,21 @@ TextureBarrier::TextureBarrier() : GFXObject(ObjectType::TEXTURE_BARRIER) { } -TextureBarrier::~TextureBarrier() { -} +TextureBarrier::~TextureBarrier() = default; uint TextureBarrier::computeHash(const TextureBarrierInfo &info) { uint seed = info.prevAccesses.size() + info.nextAccesses.size() + 3; for (const AccessType type : info.prevAccesses) { - seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } for (const AccessType type : info.nextAccesses) { - seed ^= (uint)(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); } seed ^= info.discardContents + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (info.srcQueue ? (uint)info.srcQueue->getType() : 0u) + 0x9e3779b9 + (seed << 6) + (seed >> 2); - seed ^= (info.dstQueue ? (uint)info.dstQueue->getType() : 0u) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.srcQueue ? static_cast(info.srcQueue->getType()) : 0U) + 0x9e3779b9 + (seed << 6) + (seed >> 2); + seed ^= (info.dstQueue ? static_cast(info.dstQueue->getType()) : 0U) + 0x9e3779b9 + (seed << 6) + (seed >> 2); return seed; } diff --git a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp index f77a64fd8e..02ef8de080 100644 --- a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp @@ -82,7 +82,7 @@ void EmptyCommandBuffer::setStencilWriteMask(StencilFace face, uint mask) { void EmptyCommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint mask) { } -void EmptyCommandBuffer::draw(InputAssembler *ia) { +void EmptyCommandBuffer::draw(const DrawInfo &info) { } void EmptyCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { diff --git a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h index 86ece9d477..d62b5a270c 100644 --- a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h +++ b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h @@ -47,7 +47,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; diff --git a/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h index a05ff4562d..79c886ef60 100644 --- a/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h +++ b/native/cocos/renderer/gfx-gles-common/GLESCommandPool.h @@ -25,6 +25,8 @@ #pragma once +#include +#include #include "base/CachedArray.h" namespace cc { @@ -48,8 +50,8 @@ public: GLESCmdType type; uint refCount = 0; - GLESCmd(GLESCmdType _type) : type(_type) {} - virtual ~GLESCmd() {} + explicit GLESCmd(GLESCmdType type) : type(type) {} + ~GLESCmd() override = default; virtual void clear() = 0; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp index 70e5bb7a82..2b8d4a4602 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -GLES2Buffer::GLES2Buffer() -: Buffer() { -} +GLES2Buffer::GLES2Buffer() = default; GLES2Buffer::~GLES2Buffer() { destroy(); } -void GLES2Buffer::doInit(const BufferInfo &info) { +void GLES2Buffer::doInit(const BufferInfo & /*info*/) { _gpuBuffer = CC_NEW(GLES2GPUBuffer); _gpuBuffer->usage = _usage; _gpuBuffer->memUsage = _memUsage; @@ -52,11 +50,11 @@ void GLES2Buffer::doInit(const BufferInfo &info) { _gpuBuffer->indirects.resize(_count); } - GLES2CmdFuncCreateBuffer(GLES2Device::getInstance(), _gpuBuffer); + cmdFuncGLES2CreateBuffer(GLES2Device::getInstance(), _gpuBuffer); } void GLES2Buffer::doInit(const BufferViewInfo &info) { - GLES2Buffer *buffer = (GLES2Buffer *)info.buffer; + auto *buffer = static_cast(info.buffer); _gpuBufferView = CC_NEW(GLES2GPUBufferView); _gpuBufferView->gpuBuffer = buffer->gpuBuffer(); _gpuBufferView->range = _size; @@ -65,7 +63,7 @@ void GLES2Buffer::doInit(const BufferViewInfo &info) { void GLES2Buffer::doDestroy() { if (_gpuBuffer) { - GLES2CmdFuncDestroyBuffer(GLES2Device::getInstance(), _gpuBuffer); + cmdFuncGLES2DestroyBuffer(GLES2Device::getInstance(), _gpuBuffer); CC_DELETE(_gpuBuffer); _gpuBuffer = nullptr; } @@ -76,11 +74,11 @@ void GLES2Buffer::doDestroy() { void GLES2Buffer::doResize(uint size, uint count) { _gpuBuffer->size = size; _gpuBuffer->count = count; - GLES2CmdFuncResizeBuffer(GLES2Device::getInstance(), _gpuBuffer); + cmdFuncGLES2ResizeBuffer(GLES2Device::getInstance(), _gpuBuffer); } void GLES2Buffer::update(void *buffer, uint size) { - GLES2CmdFuncUpdateBuffer(GLES2Device::getInstance(), _gpuBuffer, buffer, 0u, size); + cmdFuncGLES2UpdateBuffer(GLES2Device::getInstance(), _gpuBuffer, buffer, 0U, size); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index 3e2aa6f8a3..ac755a1047 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -38,19 +38,15 @@ namespace cc { namespace gfx { -GLES2CommandBuffer::GLES2CommandBuffer() -: CommandBuffer() { -} - GLES2CommandBuffer::~GLES2CommandBuffer() { destroy(); } void GLES2CommandBuffer::doInit(const CommandBufferInfo &info) { - _type = info.type; + _type = info.type; _queue = info.queue; - _cmdAllocator = CC_NEW(GLES2GPUCommandAllocator); + _cmdAllocator = CC_NEW(GLES2GPUCommandAllocator); _curCmdPackage = CC_NEW(GLES2CmdPackage); size_t setCount = GLES2Device::getInstance()->bindingMappingInfo().bufferOffsets.size(); @@ -59,6 +55,8 @@ void GLES2CommandBuffer::doInit(const CommandBufferInfo &info) { } void GLES2CommandBuffer::doDestroy() { + if (!_cmdAllocator) return; + _cmdAllocator->clearCmds(_curCmdPackage); CC_SAFE_DELETE(_curCmdPackage); @@ -77,10 +75,10 @@ void GLES2CommandBuffer::doDestroy() { } _cmdAllocator->reset(); - CC_DELETE(_cmdAllocator); + CC_SAFE_DELETE(_cmdAllocator); } -void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { +void GLES2CommandBuffer::begin(RenderPass * /*renderPass*/, uint /*subpass*/, Framebuffer * /*frameBuffer*/) { _cmdAllocator->clearCmds(_curCmdPackage); _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; @@ -93,7 +91,7 @@ void GLES2CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void GLES2CommandBuffer::end() { if (_isStateInvalid) { - BindStates(); + bindStates(); } _isInRenderPass = false; @@ -106,18 +104,18 @@ void GLES2CommandBuffer::end() { } } -void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { +void GLES2CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const * /*secondaryCBs*/, uint /*secondaryCBCount*/) { _isInRenderPass = true; GLES2CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); - cmd->gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); - cmd->gpuFBO = static_cast(fbo)->gpuFBO(); - cmd->renderArea = renderArea; - cmd->numClearColors = cmd->gpuRenderPass->colorAttachments.size(); + cmd->gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); + cmd->gpuFBO = static_cast(fbo)->gpuFBO(); + cmd->renderArea = renderArea; + cmd->numClearColors = cmd->gpuRenderPass->colorAttachments.size(); for (size_t i = 0; i < cmd->numClearColors; ++i) { cmd->clearColors[i] = colors[i]; } - cmd->clearDepth = depth; + cmd->clearDepth = depth; cmd->clearStencil = stencil; _curCmdPackage->beginRenderPassCmds.push(cmd); _curCmdPackage->cmds.push(GLESCmdType::BEGIN_RENDER_PASS); @@ -132,7 +130,7 @@ void GLES2CommandBuffer::bindPipelineState(PipelineState *pso) { GLES2GPUPipelineState *gpuPipelineState = static_cast(pso)->gpuPipelineState(); if (_curGPUPipelineState != gpuPipelineState) { _curGPUPipelineState = gpuPipelineState; - _isStateInvalid = true; + _isStateInvalid = true; } } @@ -142,7 +140,7 @@ void GLES2CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe GLES2GPUDescriptorSet *gpuDescriptorSet = static_cast(descriptorSet)->gpuDescriptorSet(); if (_curGPUDescriptorSets[set] != gpuDescriptorSet) { _curGPUDescriptorSets[set] = gpuDescriptorSet; - _isStateInvalid = true; + _isStateInvalid = true; } if (dynamicOffsetCount) { _curDynamicOffsets[set].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); @@ -152,7 +150,7 @@ void GLES2CommandBuffer::bindDescriptorSet(uint set, DescriptorSet *descriptorSe void GLES2CommandBuffer::bindInputAssembler(InputAssembler *ia) { _curGPUInputAssember = static_cast(ia)->gpuInputAssembler(); - _isStateInvalid = true; + _isStateInvalid = true; } void GLES2CommandBuffer::setViewport(const Viewport &vp) { @@ -163,7 +161,7 @@ void GLES2CommandBuffer::setViewport(const Viewport &vp) { (_curViewport.height != vp.height) || math::IsNotEqualF(_curViewport.minDepth, vp.minDepth) || math::IsNotEqualF(_curViewport.maxDepth, vp.maxDepth)) { - _curViewport = vp; + _curViewport = vp; _isStateInvalid = true; } } @@ -173,14 +171,14 @@ void GLES2CommandBuffer::setScissor(const Rect &rect) { (_curScissor.y != rect.y) || (_curScissor.width != rect.width) || (_curScissor.height != rect.height)) { - _curScissor = rect; + _curScissor = rect; _isStateInvalid = true; } } void GLES2CommandBuffer::setLineWidth(float width) { if (math::IsNotEqualF(_curLineWidth, width)) { - _curLineWidth = width; + _curLineWidth = width; _isStateInvalid = true; } } @@ -190,9 +188,9 @@ void GLES2CommandBuffer::setDepthBias(float constant, float clamp, float slope) math::IsNotEqualF(_curDepthBias.clamp, clamp) || math::IsNotEqualF(_curDepthBias.slope, slope)) { _curDepthBias.constant = constant; - _curDepthBias.clamp = clamp; - _curDepthBias.slope = slope; - _isStateInvalid = true; + _curDepthBias.clamp = clamp; + _curDepthBias.slope = slope; + _isStateInvalid = true; } } @@ -205,7 +203,7 @@ void GLES2CommandBuffer::setBlendConstants(const Color &constants) { _curBlendConstants.y = constants.y; _curBlendConstants.z = constants.z; _curBlendConstants.w = constants.w; - _isStateInvalid = true; + _isStateInvalid = true; } } @@ -214,16 +212,16 @@ void GLES2CommandBuffer::setDepthBound(float minBounds, float maxBounds) { math::IsNotEqualF(_curDepthBounds.maxBounds, maxBounds)) { _curDepthBounds.minBounds = minBounds; _curDepthBounds.maxBounds = maxBounds; - _isStateInvalid = true; + _isStateInvalid = true; } } void GLES2CommandBuffer::setStencilWriteMask(StencilFace face, uint mask) { if ((_curStencilWriteMask.face != face) || (_curStencilWriteMask.writeMask != mask)) { - _curStencilWriteMask.face = face; + _curStencilWriteMask.face = face; _curStencilWriteMask.writeMask = mask; - _isStateInvalid = true; + _isStateInvalid = true; } } @@ -231,38 +229,35 @@ void GLES2CommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint m if ((_curStencilCompareMask.face != face) || (_curStencilCompareMask.refrence != ref) || (_curStencilCompareMask.compareMask != mask)) { - _curStencilCompareMask.face = face; - _curStencilCompareMask.refrence = ref; + _curStencilCompareMask.face = face; + _curStencilCompareMask.refrence = ref; _curStencilCompareMask.compareMask = mask; - _isStateInvalid = true; + _isStateInvalid = true; } } -void GLES2CommandBuffer::draw(InputAssembler *ia) { +void GLES2CommandBuffer::draw(const DrawInfo &info) { if (_isStateInvalid) { - BindStates(); + bindStates(); } GLES2CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); - static_cast(ia)->ExtractCmdDraw(cmd); + cmd->drawInfo = info; _curCmdPackage->drawCmds.push(cmd); _curCmdPackage->cmds.push(GLESCmdType::DRAW); ++_numDrawCalls; - _numInstances += ia->getInstanceCount(); + _numInstances += info.instanceCount; + uint indexCount = info.indexCount ? info.indexCount : info.vertexCount; if (_curGPUPipelineState) { switch (_curGPUPipelineState->glPrimitive) { case GL_TRIANGLES: { - if (ia->getIndexBuffer() == nullptr) { - _numTriangles += ia->getVertexCount() / 3 * std::max(ia->getInstanceCount(), 1U); - } else { - _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); - } + _numTriangles += indexCount / 3 * std::max(info.instanceCount, 1U); break; } case GL_TRIANGLE_STRIP: case GL_TRIANGLE_FAN: { - _numTriangles += (ia->getVertexCount() - 2) * std::max(ia->getInstanceCount(), 1U); + _numTriangles += (indexCount - 2) * std::max(info.instanceCount, 1U); break; } default: @@ -275,9 +270,9 @@ void GLES2CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) GLES2GPUBuffer *gpuBuffer = static_cast(buff)->gpuBuffer(); if (gpuBuffer) { GLES2CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); - cmd->gpuBuffer = gpuBuffer; - cmd->size = size; - cmd->buffer = (uint8_t *)data; + cmd->gpuBuffer = gpuBuffer; + cmd->size = size; + cmd->buffer = static_cast(data); _curCmdPackage->updateBufferCmds.push(cmd); _curCmdPackage->cmds.push(GLESCmdType::UPDATE_BUFFER); @@ -288,10 +283,10 @@ void GLES2CommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex GLES2GPUTexture *gpuTexture = static_cast(texture)->gpuTexture(); if (gpuTexture) { GLES2CmdCopyBufferToTexture *cmd = _cmdAllocator->copyBufferToTextureCmdPool.alloc(); - cmd->gpuTexture = gpuTexture; - cmd->regions = regions; - cmd->count = count; - cmd->buffers = buffers; + cmd->gpuTexture = gpuTexture; + cmd->regions = regions; + cmd->count = count; + cmd->buffers = buffers; _curCmdPackage->copyBufferToTextureCmds.push(cmd); _curCmdPackage->cmds.push(GLESCmdType::COPY_BUFFER_TO_TEXTURE); @@ -305,7 +300,7 @@ void GLES2CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) CCASSERT(false, "Command 'execute' must be recorded in primary command buffers."); for (uint i = 0; i < count; ++i) { - GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; + auto * cmdBuff = static_cast(cmdBuffs[i]); GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); for (uint j = 0; j < cmdPackage->beginRenderPassCmds.size(); ++j) { @@ -349,17 +344,17 @@ void GLES2CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) } } -void GLES2CommandBuffer::BindStates() { +void GLES2CommandBuffer::bindStates() { GLES2CmdBindStates *cmd = _cmdAllocator->bindStatesCmdPool.alloc(); - cmd->gpuPipelineState = _curGPUPipelineState; + cmd->gpuPipelineState = _curGPUPipelineState; cmd->gpuInputAssembler = _curGPUInputAssember; cmd->gpuDescriptorSets = _curGPUDescriptorSets; if (_curGPUPipelineState) { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + for (size_t i = 0U; i < _curDynamicOffsets.size(); i++) { size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); count = std::min(count, _curDynamicOffsets[i].size()); @@ -367,16 +362,16 @@ void GLES2CommandBuffer::BindStates() { } } - cmd->viewport = _curViewport; - cmd->scissor = _curScissor; - cmd->lineWidth = _curLineWidth; - cmd->depthBias = _curDepthBias; - cmd->blendConstants.x = _curBlendConstants.x; - cmd->blendConstants.y = _curBlendConstants.y; - cmd->blendConstants.z = _curBlendConstants.z; - cmd->blendConstants.w = _curBlendConstants.w; - cmd->depthBounds = _curDepthBounds; - cmd->stencilWriteMask = _curStencilWriteMask; + cmd->viewport = _curViewport; + cmd->scissor = _curScissor; + cmd->lineWidth = _curLineWidth; + cmd->depthBias = _curDepthBias; + cmd->blendConstants.x = _curBlendConstants.x; + cmd->blendConstants.y = _curBlendConstants.y; + cmd->blendConstants.z = _curBlendConstants.z; + cmd->blendConstants.w = _curBlendConstants.w; + cmd->depthBounds = _curDepthBounds; + cmd->stencilWriteMask = _curStencilWriteMask; cmd->stencilCompareMask = _curStencilCompareMask; _curCmdPackage->bindStatesCmds.push(cmd); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index ca0a7ec31d..ba26cba0b3 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -25,8 +25,8 @@ #pragma once -#include "gfx-base/GFXCommandBuffer.h" #include "GLES2Commands.h" +#include "gfx-base/GFXCommandBuffer.h" namespace cc { namespace gfx { @@ -35,8 +35,8 @@ class GLES2GPUCommandAllocator; class CC_GLES2_API GLES2CommandBuffer : public CommandBuffer { public: - GLES2CommandBuffer(); - ~GLES2CommandBuffer(); + GLES2CommandBuffer() = default; + ~GLES2CommandBuffer() override; friend class GLES2Queue; @@ -55,7 +55,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; @@ -67,26 +67,26 @@ protected: void doInit(const CommandBufferInfo &info) override; void doDestroy() override; - void BindStates(); + virtual void bindStates(); - GLES2GPUCommandAllocator *_cmdAllocator = nullptr; - GLES2CmdPackage *_curCmdPackage = nullptr; - queue _pendingPackages, _freePackages; + GLES2GPUCommandAllocator *_cmdAllocator = nullptr; + GLES2CmdPackage * _curCmdPackage = nullptr; + queue _pendingPackages, _freePackages; - bool _isInRenderPass = false; - GLES2GPUPipelineState *_curGPUPipelineState = nullptr; + bool _isInRenderPass = false; + GLES2GPUPipelineState * _curGPUPipelineState = nullptr; vector _curGPUDescriptorSets; - vector> _curDynamicOffsets; - GLES2GPUInputAssembler *_curGPUInputAssember = nullptr; - Viewport _curViewport; - Rect _curScissor; - float _curLineWidth = 1.0f; - GLES2DepthBias _curDepthBias; - Color _curBlendConstants; - GLES2DepthBounds _curDepthBounds; - GLES2StencilWriteMask _curStencilWriteMask; - GLES2StencilCompareMask _curStencilCompareMask; - bool _isStateInvalid = false; + vector> _curDynamicOffsets; + GLES2GPUInputAssembler * _curGPUInputAssember = nullptr; + Viewport _curViewport; + Rect _curScissor; + float _curLineWidth = 1.0F; + GLES2DepthBias _curDepthBias; + Color _curBlendConstants; + GLES2DepthBounds _curDepthBounds; + GLES2StencilWriteMask _curStencilWriteMask; + GLES2StencilCompareMask _curStencilCompareMask; + bool _isStateInvalid = false; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 0f4096a380..af0d71bc66 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -35,60 +35,60 @@ namespace cc { namespace gfx { namespace { -GLenum MapGLInternalFormat(Format format) { +GLenum mapGLInternalFormat(Format format) { switch (format) { case Format::A8: return GL_ALPHA; case Format::L8: return GL_LUMINANCE; case Format::LA8: return GL_LUMINANCE_ALPHA; - case Format::R8: return GL_LUMINANCE; - case Format::R8SN: return GL_LUMINANCE; - case Format::R8UI: return GL_LUMINANCE; + case Format::R8: + case Format::R8SN: + case Format::R8UI: case Format::R8I: return GL_LUMINANCE; - case Format::RG8: return GL_LUMINANCE_ALPHA; - case Format::RG8SN: return GL_LUMINANCE_ALPHA; - case Format::RG8UI: return GL_LUMINANCE_ALPHA; + case Format::RG8: + case Format::RG8SN: + case Format::RG8UI: case Format::RG8I: return GL_LUMINANCE_ALPHA; - case Format::RGB8: return GL_RGB; - case Format::RGB8SN: return GL_RGB; - case Format::RGB8UI: return GL_RGB; + case Format::RGB8: + case Format::RGB8SN: + case Format::RGB8UI: case Format::RGB8I: return GL_RGB; - case Format::RGBA8: return GL_RGBA; - case Format::RGBA8SN: return GL_RGBA; - case Format::RGBA8UI: return GL_RGBA; + case Format::RGBA8: + case Format::RGBA8SN: + case Format::RGBA8UI: case Format::RGBA8I: return GL_RGBA; - case Format::R16I: return GL_LUMINANCE; - case Format::R16UI: return GL_LUMINANCE; + case Format::R16I: + case Format::R16UI: case Format::R16F: return GL_LUMINANCE; - case Format::RG16I: return GL_LUMINANCE_ALPHA; - case Format::RG16UI: return GL_LUMINANCE_ALPHA; + case Format::RG16I: + case Format::RG16UI: case Format::RG16F: return GL_LUMINANCE_ALPHA; - case Format::RGB16I: return GL_RGB; - case Format::RGB16UI: return GL_RGB; + case Format::RGB16I: + case Format::RGB16UI: case Format::RGB16F: return GL_RGB; - case Format::RGBA16I: return GL_RGBA; - case Format::RGBA16UI: return GL_RGBA; + case Format::RGBA16I: + case Format::RGBA16UI: case Format::RGBA16F: return GL_RGBA; - case Format::R32I: return GL_LUMINANCE; - case Format::R32UI: return GL_LUMINANCE; + case Format::R32I: + case Format::R32UI: case Format::R32F: return GL_LUMINANCE; - case Format::RG32I: return GL_LUMINANCE_ALPHA; - case Format::RG32UI: return GL_LUMINANCE_ALPHA; + case Format::RG32I: + case Format::RG32UI: case Format::RG32F: return GL_LUMINANCE_ALPHA; - case Format::RGB32I: return GL_RGB; - case Format::RGB32UI: return GL_RGB; + case Format::RGB32I: + case Format::RGB32UI: case Format::RGB32F: return GL_RGB; - case Format::RGBA32I: return GL_RGBA; - case Format::RGBA32UI: return GL_RGBA; #if CC_PLATFORM == CC_PLATFORM_WINDOWS case Format::RGBA32F: return GL_RGBA32F_EXT; // driver issue #else - case Format::RGBA32F: return GL_RGBA; + case Format::RGBA32F: #endif + case Format::RGBA32I: + case Format::RGBA32UI: return GL_RGBA; case Format::R5G6B5: return GL_RGB565; case Format::RGB5A1: return GL_RGB5_A1; case Format::RGBA4: return GL_RGBA4; - case Format::RGB10A2: return GL_RGB; - case Format::RGB10A2UI: return GL_RGB; + case Format::RGB10A2: + case Format::RGB10A2UI: case Format::R11G11B10F: return GL_RGB; case Format::D16: return GL_DEPTH_COMPONENT; case Format::D16S8: return GL_DEPTH_STENCIL_OES; @@ -115,35 +115,35 @@ GLenum MapGLInternalFormat(Format format) { case Format::PVRTC_RGB4: return GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG; case Format::PVRTC_RGBA4: return GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG; - case Format::ASTC_RGBA_4x4: return GL_COMPRESSED_RGBA_ASTC_4x4_KHR; - case Format::ASTC_RGBA_5x4: return GL_COMPRESSED_RGBA_ASTC_5x4_KHR; - case Format::ASTC_RGBA_5x5: return GL_COMPRESSED_RGBA_ASTC_5x5_KHR; - case Format::ASTC_RGBA_6x5: return GL_COMPRESSED_RGBA_ASTC_6x5_KHR; - case Format::ASTC_RGBA_6x6: return GL_COMPRESSED_RGBA_ASTC_6x6_KHR; - case Format::ASTC_RGBA_8x5: return GL_COMPRESSED_RGBA_ASTC_8x5_KHR; - case Format::ASTC_RGBA_8x6: return GL_COMPRESSED_RGBA_ASTC_8x6_KHR; - case Format::ASTC_RGBA_8x8: return GL_COMPRESSED_RGBA_ASTC_8x8_KHR; - case Format::ASTC_RGBA_10x5: return GL_COMPRESSED_RGBA_ASTC_10x5_KHR; - case Format::ASTC_RGBA_10x6: return GL_COMPRESSED_RGBA_ASTC_10x6_KHR; - case Format::ASTC_RGBA_10x8: return GL_COMPRESSED_RGBA_ASTC_10x8_KHR; - case Format::ASTC_RGBA_10x10: return GL_COMPRESSED_RGBA_ASTC_10x10_KHR; - case Format::ASTC_RGBA_12x10: return GL_COMPRESSED_RGBA_ASTC_12x10_KHR; - case Format::ASTC_RGBA_12x12: return GL_COMPRESSED_RGBA_ASTC_12x12_KHR; + case Format::ASTC_RGBA_4X4: return GL_COMPRESSED_RGBA_ASTC_4x4_KHR; + case Format::ASTC_RGBA_5X4: return GL_COMPRESSED_RGBA_ASTC_5x4_KHR; + case Format::ASTC_RGBA_5X5: return GL_COMPRESSED_RGBA_ASTC_5x5_KHR; + case Format::ASTC_RGBA_6X5: return GL_COMPRESSED_RGBA_ASTC_6x5_KHR; + case Format::ASTC_RGBA_6X6: return GL_COMPRESSED_RGBA_ASTC_6x6_KHR; + case Format::ASTC_RGBA_8X5: return GL_COMPRESSED_RGBA_ASTC_8x5_KHR; + case Format::ASTC_RGBA_8X6: return GL_COMPRESSED_RGBA_ASTC_8x6_KHR; + case Format::ASTC_RGBA_8X8: return GL_COMPRESSED_RGBA_ASTC_8x8_KHR; + case Format::ASTC_RGBA_10X5: return GL_COMPRESSED_RGBA_ASTC_10x5_KHR; + case Format::ASTC_RGBA_10X6: return GL_COMPRESSED_RGBA_ASTC_10x6_KHR; + case Format::ASTC_RGBA_10X8: return GL_COMPRESSED_RGBA_ASTC_10x8_KHR; + case Format::ASTC_RGBA_10X10: return GL_COMPRESSED_RGBA_ASTC_10x10_KHR; + case Format::ASTC_RGBA_12X10: return GL_COMPRESSED_RGBA_ASTC_12x10_KHR; + case Format::ASTC_RGBA_12X12: return GL_COMPRESSED_RGBA_ASTC_12x12_KHR; - case Format::ASTC_SRGBA_4x4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; - case Format::ASTC_SRGBA_5x4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; - case Format::ASTC_SRGBA_5x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; - case Format::ASTC_SRGBA_6x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; - case Format::ASTC_SRGBA_6x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; - case Format::ASTC_SRGBA_8x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; - case Format::ASTC_SRGBA_8x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; - case Format::ASTC_SRGBA_8x8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; - case Format::ASTC_SRGBA_10x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; - case Format::ASTC_SRGBA_10x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; - case Format::ASTC_SRGBA_10x8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; - case Format::ASTC_SRGBA_10x10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; - case Format::ASTC_SRGBA_12x10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; - case Format::ASTC_SRGBA_12x12: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; + case Format::ASTC_SRGBA_4X4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; + case Format::ASTC_SRGBA_5X4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; + case Format::ASTC_SRGBA_5X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; + case Format::ASTC_SRGBA_6X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; + case Format::ASTC_SRGBA_6X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; + case Format::ASTC_SRGBA_8X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; + case Format::ASTC_SRGBA_8X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; + case Format::ASTC_SRGBA_8X8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; + case Format::ASTC_SRGBA_10X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; + case Format::ASTC_SRGBA_10X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; + case Format::ASTC_SRGBA_10X8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; + case Format::ASTC_SRGBA_10X10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; + case Format::ASTC_SRGBA_12X10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; + case Format::ASTC_SRGBA_12X12: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; default: { CCASSERT(false, "Unsupported Format, convert to GL internal format failed."); @@ -152,7 +152,7 @@ GLenum MapGLInternalFormat(Format format) { } } -GLenum MapGLFormat(Format format) { +GLenum mapGLFormat(Format format) { switch (format) { case Format::A8: return GL_ALPHA; case Format::L8: return GL_LUMINANCE; @@ -196,11 +196,11 @@ GLenum MapGLFormat(Format format) { case Format::RGB32F: return GL_RGB; case Format::RGBA32UI: case Format::RGBA32I: - case Format::RGBA32F: return GL_RGBA; + case Format::RGBA32F: case Format::RGB10A2: return GL_RGBA; - case Format::R11G11B10F: return GL_RGB; + case Format::R11G11B10F: case Format::R5G6B5: return GL_RGB; - case Format::RGB5A1: return GL_RGBA; + case Format::RGB5A1: case Format::RGBA4: return GL_RGBA; case Format::D16: return GL_DEPTH_COMPONENT; case Format::D16S8: return GL_DEPTH_STENCIL_OES; @@ -227,35 +227,35 @@ GLenum MapGLFormat(Format format) { case Format::PVRTC_RGB4: return GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG; case Format::PVRTC_RGBA4: return GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG; - case Format::ASTC_RGBA_4x4: return GL_COMPRESSED_RGBA_ASTC_4x4_KHR; - case Format::ASTC_RGBA_5x4: return GL_COMPRESSED_RGBA_ASTC_5x4_KHR; - case Format::ASTC_RGBA_5x5: return GL_COMPRESSED_RGBA_ASTC_5x5_KHR; - case Format::ASTC_RGBA_6x5: return GL_COMPRESSED_RGBA_ASTC_6x5_KHR; - case Format::ASTC_RGBA_6x6: return GL_COMPRESSED_RGBA_ASTC_6x6_KHR; - case Format::ASTC_RGBA_8x5: return GL_COMPRESSED_RGBA_ASTC_8x5_KHR; - case Format::ASTC_RGBA_8x6: return GL_COMPRESSED_RGBA_ASTC_8x6_KHR; - case Format::ASTC_RGBA_8x8: return GL_COMPRESSED_RGBA_ASTC_8x8_KHR; - case Format::ASTC_RGBA_10x5: return GL_COMPRESSED_RGBA_ASTC_10x5_KHR; - case Format::ASTC_RGBA_10x6: return GL_COMPRESSED_RGBA_ASTC_10x6_KHR; - case Format::ASTC_RGBA_10x8: return GL_COMPRESSED_RGBA_ASTC_10x8_KHR; - case Format::ASTC_RGBA_10x10: return GL_COMPRESSED_RGBA_ASTC_10x10_KHR; - case Format::ASTC_RGBA_12x10: return GL_COMPRESSED_RGBA_ASTC_12x10_KHR; - case Format::ASTC_RGBA_12x12: return GL_COMPRESSED_RGBA_ASTC_12x12_KHR; + case Format::ASTC_RGBA_4X4: return GL_COMPRESSED_RGBA_ASTC_4x4_KHR; + case Format::ASTC_RGBA_5X4: return GL_COMPRESSED_RGBA_ASTC_5x4_KHR; + case Format::ASTC_RGBA_5X5: return GL_COMPRESSED_RGBA_ASTC_5x5_KHR; + case Format::ASTC_RGBA_6X5: return GL_COMPRESSED_RGBA_ASTC_6x5_KHR; + case Format::ASTC_RGBA_6X6: return GL_COMPRESSED_RGBA_ASTC_6x6_KHR; + case Format::ASTC_RGBA_8X5: return GL_COMPRESSED_RGBA_ASTC_8x5_KHR; + case Format::ASTC_RGBA_8X6: return GL_COMPRESSED_RGBA_ASTC_8x6_KHR; + case Format::ASTC_RGBA_8X8: return GL_COMPRESSED_RGBA_ASTC_8x8_KHR; + case Format::ASTC_RGBA_10X5: return GL_COMPRESSED_RGBA_ASTC_10x5_KHR; + case Format::ASTC_RGBA_10X6: return GL_COMPRESSED_RGBA_ASTC_10x6_KHR; + case Format::ASTC_RGBA_10X8: return GL_COMPRESSED_RGBA_ASTC_10x8_KHR; + case Format::ASTC_RGBA_10X10: return GL_COMPRESSED_RGBA_ASTC_10x10_KHR; + case Format::ASTC_RGBA_12X10: return GL_COMPRESSED_RGBA_ASTC_12x10_KHR; + case Format::ASTC_RGBA_12X12: return GL_COMPRESSED_RGBA_ASTC_12x12_KHR; - case Format::ASTC_SRGBA_4x4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; - case Format::ASTC_SRGBA_5x4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; - case Format::ASTC_SRGBA_5x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; - case Format::ASTC_SRGBA_6x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; - case Format::ASTC_SRGBA_6x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; - case Format::ASTC_SRGBA_8x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; - case Format::ASTC_SRGBA_8x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; - case Format::ASTC_SRGBA_8x8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; - case Format::ASTC_SRGBA_10x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; - case Format::ASTC_SRGBA_10x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; - case Format::ASTC_SRGBA_10x8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; - case Format::ASTC_SRGBA_10x10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; - case Format::ASTC_SRGBA_12x10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; - case Format::ASTC_SRGBA_12x12: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; + case Format::ASTC_SRGBA_4X4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; + case Format::ASTC_SRGBA_5X4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; + case Format::ASTC_SRGBA_5X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; + case Format::ASTC_SRGBA_6X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; + case Format::ASTC_SRGBA_6X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; + case Format::ASTC_SRGBA_8X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; + case Format::ASTC_SRGBA_8X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; + case Format::ASTC_SRGBA_8X8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; + case Format::ASTC_SRGBA_10X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; + case Format::ASTC_SRGBA_10X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; + case Format::ASTC_SRGBA_10X8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; + case Format::ASTC_SRGBA_10X10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; + case Format::ASTC_SRGBA_12X10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; + case Format::ASTC_SRGBA_12X12: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; default: { CCASSERT(false, "Unsupported Format, convert to WebGL format failed."); @@ -264,7 +264,7 @@ GLenum MapGLFormat(Format format) { } } -GLenum MapGLType(Type type) { +GLenum mapGLType(Type type) { switch (type) { case Type::BOOL: return GL_BOOL; case Type::BOOL2: return GL_BOOL_VEC2; @@ -292,7 +292,7 @@ GLenum MapGLType(Type type) { } } -Type MapType(GLenum glType) { +Type mapType(GLenum glType) { switch (glType) { case GL_BOOL: return Type::BOOL; case GL_BOOL_VEC2: return Type::BOOL2; @@ -320,7 +320,7 @@ Type MapType(GLenum glType) { } } -GLenum FormatToGLType(Format format) { +GLenum formatToGLType(Format format) { switch (format) { case Format::R8: return GL_UNSIGNED_BYTE; case Format::R8SN: return GL_BYTE; @@ -342,7 +342,7 @@ GLenum FormatToGLType(Format format) { case Format::RG32UI: return GL_UNSIGNED_INT; case Format::RG32I: return GL_INT; - case Format::RGB8: return GL_UNSIGNED_BYTE; + case Format::RGB8: case Format::SRGB8: return GL_UNSIGNED_BYTE; case Format::RGB8SN: return GL_BYTE; case Format::RGB8UI: return GL_UNSIGNED_BYTE; @@ -354,7 +354,7 @@ GLenum FormatToGLType(Format format) { case Format::RGB32UI: return GL_UNSIGNED_INT; case Format::RGB32I: return GL_INT; - case Format::RGBA8: return GL_UNSIGNED_BYTE; + case Format::RGBA8: case Format::SRGB8_A8: return GL_UNSIGNED_BYTE; case Format::RGBA8SN: return GL_BYTE; case Format::RGBA8UI: return GL_UNSIGNED_BYTE; @@ -381,66 +381,66 @@ GLenum FormatToGLType(Format format) { case Format::D32F: return GL_UNSIGNED_INT; case Format::D32F_S8: return GL_UNSIGNED_INT_24_8_OES; - case Format::BC1: return GL_UNSIGNED_BYTE; - case Format::BC1_SRGB: return GL_UNSIGNED_BYTE; - case Format::BC2: return GL_UNSIGNED_BYTE; - case Format::BC2_SRGB: return GL_UNSIGNED_BYTE; - case Format::BC3: return GL_UNSIGNED_BYTE; - case Format::BC3_SRGB: return GL_UNSIGNED_BYTE; + case Format::BC1: + case Format::BC1_SRGB: + case Format::BC2: + case Format::BC2_SRGB: + case Format::BC3: + case Format::BC3_SRGB: case Format::BC4: return GL_UNSIGNED_BYTE; case Format::BC4_SNORM: return GL_BYTE; case Format::BC5: return GL_UNSIGNED_BYTE; case Format::BC5_SNORM: return GL_BYTE; - case Format::BC6H_SF16: return GL_FLOAT; + case Format::BC6H_SF16: case Format::BC6H_UF16: return GL_FLOAT; - case Format::BC7: return GL_UNSIGNED_BYTE; - case Format::BC7_SRGB: return GL_UNSIGNED_BYTE; + case Format::BC7: + case Format::BC7_SRGB: - case Format::ETC_RGB8: return GL_UNSIGNED_BYTE; - case Format::ETC2_RGB8: return GL_UNSIGNED_BYTE; - case Format::ETC2_SRGB8: return GL_UNSIGNED_BYTE; - case Format::ETC2_RGB8_A1: return GL_UNSIGNED_BYTE; - case Format::ETC2_SRGB8_A1: return GL_UNSIGNED_BYTE; + case Format::ETC_RGB8: + case Format::ETC2_RGB8: + case Format::ETC2_SRGB8: + case Format::ETC2_RGB8_A1: + case Format::ETC2_SRGB8_A1: case Format::EAC_R11: return GL_UNSIGNED_BYTE; case Format::EAC_R11SN: return GL_BYTE; case Format::EAC_RG11: return GL_UNSIGNED_BYTE; case Format::EAC_RG11SN: return GL_BYTE; - case Format::PVRTC_RGB2: return GL_UNSIGNED_BYTE; - case Format::PVRTC_RGBA2: return GL_UNSIGNED_BYTE; - case Format::PVRTC_RGB4: return GL_UNSIGNED_BYTE; - case Format::PVRTC_RGBA4: return GL_UNSIGNED_BYTE; - case Format::PVRTC2_2BPP: return GL_UNSIGNED_BYTE; - case Format::PVRTC2_4BPP: return GL_UNSIGNED_BYTE; + case Format::PVRTC_RGB2: + case Format::PVRTC_RGBA2: + case Format::PVRTC_RGB4: + case Format::PVRTC_RGBA4: + case Format::PVRTC2_2BPP: + case Format::PVRTC2_4BPP: - case Format::ASTC_RGBA_4x4: - case Format::ASTC_RGBA_5x4: - case Format::ASTC_RGBA_5x5: - case Format::ASTC_RGBA_6x5: - case Format::ASTC_RGBA_6x6: - case Format::ASTC_RGBA_8x5: - case Format::ASTC_RGBA_8x6: - case Format::ASTC_RGBA_8x8: - case Format::ASTC_RGBA_10x5: - case Format::ASTC_RGBA_10x6: - case Format::ASTC_RGBA_10x8: - case Format::ASTC_RGBA_10x10: - case Format::ASTC_RGBA_12x10: - case Format::ASTC_RGBA_12x12: - case Format::ASTC_SRGBA_4x4: - case Format::ASTC_SRGBA_5x4: - case Format::ASTC_SRGBA_5x5: - case Format::ASTC_SRGBA_6x5: - case Format::ASTC_SRGBA_6x6: - case Format::ASTC_SRGBA_8x5: - case Format::ASTC_SRGBA_8x6: - case Format::ASTC_SRGBA_8x8: - case Format::ASTC_SRGBA_10x5: - case Format::ASTC_SRGBA_10x6: - case Format::ASTC_SRGBA_10x8: - case Format::ASTC_SRGBA_10x10: - case Format::ASTC_SRGBA_12x10: - case Format::ASTC_SRGBA_12x12: + case Format::ASTC_RGBA_4X4: + case Format::ASTC_RGBA_5X4: + case Format::ASTC_RGBA_5X5: + case Format::ASTC_RGBA_6X5: + case Format::ASTC_RGBA_6X6: + case Format::ASTC_RGBA_8X5: + case Format::ASTC_RGBA_8X6: + case Format::ASTC_RGBA_8X8: + case Format::ASTC_RGBA_10X5: + case Format::ASTC_RGBA_10X6: + case Format::ASTC_RGBA_10X8: + case Format::ASTC_RGBA_10X10: + case Format::ASTC_RGBA_12X10: + case Format::ASTC_RGBA_12X12: + case Format::ASTC_SRGBA_4X4: + case Format::ASTC_SRGBA_5X4: + case Format::ASTC_SRGBA_5X5: + case Format::ASTC_SRGBA_6X5: + case Format::ASTC_SRGBA_6X6: + case Format::ASTC_SRGBA_8X5: + case Format::ASTC_SRGBA_8X6: + case Format::ASTC_SRGBA_8X8: + case Format::ASTC_SRGBA_10X5: + case Format::ASTC_SRGBA_10X6: + case Format::ASTC_SRGBA_10X8: + case Format::ASTC_SRGBA_10X10: + case Format::ASTC_SRGBA_12X10: + case Format::ASTC_SRGBA_12X12: return GL_UNSIGNED_BYTE; default: { @@ -449,7 +449,7 @@ GLenum FormatToGLType(Format format) { } } -uint GLTypeSize(GLenum glType) { +uint glTypeSize(GLenum glType) { switch (glType) { case GL_BOOL: return 4; case GL_BOOL_VEC2: return 8; @@ -459,20 +459,20 @@ uint GLTypeSize(GLenum glType) { case GL_INT_VEC2: return 8; case GL_INT_VEC3: return 12; case GL_INT_VEC4: return 16; - case GL_UNSIGNED_INT: return 4; + case GL_UNSIGNED_INT: case GL_FLOAT: return 4; case GL_FLOAT_VEC2: return 8; case GL_FLOAT_VEC3: return 12; - case GL_FLOAT_VEC4: return 16; + case GL_FLOAT_VEC4: case GL_FLOAT_MAT2: return 16; case GL_FLOAT_MAT3: return 36; case GL_FLOAT_MAT4: return 64; - case GL_SAMPLER_2D: return 4; - case GL_SAMPLER_3D_OES: return 4; - case GL_SAMPLER_CUBE: return 4; - case GL_SAMPLER_CUBE_MAP_ARRAY_OES: return 4; - case GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES: return 4; - case GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES: return 4; + case GL_SAMPLER_2D: + case GL_SAMPLER_3D_OES: + case GL_SAMPLER_CUBE: + case GL_SAMPLER_CUBE_MAP_ARRAY_OES: + case GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES: + case GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES: case GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES: return 4; default: { CCASSERT(false, "Unsupported GLType, get type failed."); @@ -481,7 +481,7 @@ uint GLTypeSize(GLenum glType) { } } -uint GLComponentCount(GLenum glType) { +uint glComponentCount(GLenum glType) { switch (glType) { case GL_FLOAT_MAT2: return 2; case GL_FLOAT_MAT3: return 3; @@ -548,7 +548,7 @@ const GLenum GLES2_BLEND_FACTORS[] = { }; } // namespace -void GLES2CmdFuncCreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { +void cmdFuncGLES2CreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); @@ -592,14 +592,12 @@ void GLES2CmdFuncCreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); device->stateCache()->glElementArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); - gpuBuffer->glTarget = GL_NONE; } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { gpuBuffer->glTarget = GL_NONE; - } else if ((gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || + } else if ((gpuBuffer->usage & BufferUsageBit::UNIFORM) || + (gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = static_cast(CC_MALLOC(gpuBuffer->size)); gpuBuffer->glTarget = GL_NONE; } else { CCASSERT(false, "Unsupported BufferType, create buffer failed."); @@ -607,7 +605,7 @@ void GLES2CmdFuncCreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { } } -void GLES2CmdFuncDestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { +void cmdFuncGLES2DestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->glBuffer) { if (gpuBuffer->usage & BufferUsageBit::VERTEX) { @@ -641,7 +639,7 @@ void GLES2CmdFuncDestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { CC_SAFE_FREE(gpuBuffer->buffer); } -void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { +void cmdFuncGLES2ResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); @@ -683,21 +681,16 @@ void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); device->stateCache()->glElementArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { - if (gpuBuffer->buffer) { - CC_FREE(gpuBuffer->buffer); - } - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); - gpuBuffer->glTarget = GL_NONE; } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { gpuBuffer->indirects.resize(gpuBuffer->count); gpuBuffer->glTarget = GL_NONE; - } else if ((gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || + } else if ((gpuBuffer->usage & BufferUsageBit::UNIFORM) || + (gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { if (gpuBuffer->buffer) { CC_FREE(gpuBuffer->buffer); } - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = static_cast(CC_MALLOC(gpuBuffer->size)); gpuBuffer->glTarget = GL_NONE; } else { CCASSERT(false, "Unsupported BufferType, resize buffer failed."); @@ -705,10 +698,10 @@ void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { } } -void GLES2CmdFuncCreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) { - gpuTexture->glInternelFmt = MapGLInternalFormat(gpuTexture->format); - gpuTexture->glFormat = MapGLFormat(gpuTexture->format); - gpuTexture->glType = FormatToGLType(gpuTexture->format); +void cmdFuncGLES2CreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) { + gpuTexture->glInternelFmt = mapGLInternalFormat(gpuTexture->format); + gpuTexture->glFormat = mapGLFormat(gpuTexture->format); + gpuTexture->glType = formatToGLType(gpuTexture->format); switch (gpuTexture->type) { case TextureType::TEX2D: { @@ -722,7 +715,7 @@ void GLES2CmdFuncCreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) } uint w = gpuTexture->width; uint h = gpuTexture->height; - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { GL_CHECK(glTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); w = std::max(1U, w >> 1); @@ -730,7 +723,7 @@ void GLES2CmdFuncCreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) } } else { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + uint imgSize = formatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); @@ -748,7 +741,7 @@ void GLES2CmdFuncCreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) GL_CHECK(glBindTexture(GL_TEXTURE_CUBE_MAP, gpuTexture->glTexture)); glTexture = gpuTexture->glTexture; } - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { for (uint f = 0; f < 6; ++f) { uint w = gpuTexture->width; uint h = gpuTexture->height; @@ -763,7 +756,7 @@ void GLES2CmdFuncCreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) uint w = gpuTexture->width; uint h = gpuTexture->height; for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + uint imgSize = formatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); @@ -779,7 +772,7 @@ void GLES2CmdFuncCreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) } } -void GLES2CmdFuncDestroyTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) { +void cmdFuncGLES2DestroyTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) { if (gpuTexture->glTexture) { for (GLuint &glTexture : device->stateCache()->glTextures) { if (glTexture == gpuTexture->glTexture) { @@ -791,10 +784,10 @@ void GLES2CmdFuncDestroyTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture } } -void GLES2CmdFuncResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) { - gpuTexture->glInternelFmt = MapGLInternalFormat(gpuTexture->format); - gpuTexture->glFormat = MapGLFormat(gpuTexture->format); - gpuTexture->glType = FormatToGLType(gpuTexture->format); +void cmdFuncGLES2ResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) { + gpuTexture->glInternelFmt = mapGLInternalFormat(gpuTexture->format); + gpuTexture->glFormat = mapGLFormat(gpuTexture->format); + gpuTexture->glType = formatToGLType(gpuTexture->format); switch (gpuTexture->type) { case TextureType::TEX2D: { @@ -807,7 +800,7 @@ void GLES2CmdFuncResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) } uint w = gpuTexture->width; uint h = gpuTexture->height; - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { GL_CHECK(glTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); w = std::max(1U, w >> 1); @@ -815,7 +808,7 @@ void GLES2CmdFuncResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) } } else { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + uint imgSize = formatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); @@ -832,7 +825,7 @@ void GLES2CmdFuncResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) GL_CHECK(glBindTexture(GL_TEXTURE_CUBE_MAP, gpuTexture->glTexture)); glTexture = gpuTexture->glTexture; } - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { for (uint f = 0; f < 6; ++f) { uint w = gpuTexture->width; uint h = gpuTexture->height; @@ -847,7 +840,7 @@ void GLES2CmdFuncResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) uint w = gpuTexture->width; uint h = gpuTexture->height; for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + uint imgSize = formatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); @@ -863,7 +856,7 @@ void GLES2CmdFuncResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture) } } -void GLES2CmdFuncCreateSampler(GLES2Device *device, GLES2GPUSampler *gpuSampler) { +void cmdFuncGLES2CreateSampler(GLES2Device * /*device*/, GLES2GPUSampler *gpuSampler) { if (gpuSampler->minFilter == Filter::LINEAR || gpuSampler->minFilter == Filter::ANISOTROPIC) { if (gpuSampler->mipFilter == Filter::LINEAR || gpuSampler->mipFilter == Filter::ANISOTROPIC) { gpuSampler->glMinFilter = GL_LINEAR_MIPMAP_LINEAR; @@ -888,15 +881,15 @@ void GLES2CmdFuncCreateSampler(GLES2Device *device, GLES2GPUSampler *gpuSampler) gpuSampler->glMagFilter = GL_NEAREST; } - gpuSampler->glWrapS = GLES2_WRAPS[(int)gpuSampler->addressU]; - gpuSampler->glWrapT = GLES2_WRAPS[(int)gpuSampler->addressV]; - gpuSampler->glWrapR = GLES2_WRAPS[(int)gpuSampler->addressW]; + gpuSampler->glWrapS = GLES2_WRAPS[static_cast(gpuSampler->addressU)]; + gpuSampler->glWrapT = GLES2_WRAPS[static_cast(gpuSampler->addressV)]; + gpuSampler->glWrapR = GLES2_WRAPS[static_cast(gpuSampler->addressW)]; } -void GLES2CmdFuncDestroySampler(GLES2Device *device, GLES2GPUSampler *gpuSampler) { +void cmdFuncGLES2DestroySampler(GLES2Device *device, GLES2GPUSampler *gpuSampler) { } -void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { +void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GLenum glShaderType = 0; String shaderTypeStr; GLint status; @@ -932,7 +925,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GL_CHECK(glGetShaderiv(gpuStage.glShader, GL_INFO_LOG_LENGTH, &logSize)); ++logSize; - GLchar *logs = (GLchar *)CC_MALLOC(logSize); + auto *logs = static_cast(CC_MALLOC(logSize)); GL_CHECK(glGetShaderInfoLog(gpuStage.glShader, logSize, nullptr, logs)); CC_LOG_ERROR("%s in %s compilation failed.", shaderTypeStr.c_str(), gpuShader->name.c_str()); @@ -972,7 +965,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GL_CHECK(glGetProgramiv(gpuShader->glProgram, GL_INFO_LOG_LENGTH, &logSize)); if (logSize) { ++logSize; - GLchar *logs = (GLchar *)CC_MALLOC(logSize); + auto *logs = static_cast(CC_MALLOC(logSize)); GL_CHECK(glGetProgramInfoLog(gpuShader->glProgram, logSize, nullptr, logs)); CC_LOG_ERROR(logs); @@ -1007,15 +1000,15 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { gpuInput.glLoc = glGetAttribLocation(gpuShader->glProgram, glName); gpuInput.binding = gpuInput.glLoc; gpuInput.name = glName; - gpuInput.type = MapType(glType); - gpuInput.stride = GLTypeSize(glType); + gpuInput.type = mapType(glType); + gpuInput.stride = glTypeSize(glType); gpuInput.count = glSize; gpuInput.size = gpuInput.stride * gpuInput.count; gpuInput.glType = glType; } // create uniform blocks - if (gpuShader->blocks.size()) { + if (!gpuShader->blocks.empty()) { gpuShader->glBlocks.resize(gpuShader->blocks.size()); @@ -1035,11 +1028,11 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { gpuUniform.binding = GFX_INVALID_BINDING; gpuUniform.name = uniform.name; gpuUniform.type = uniform.type; - gpuUniform.stride = GFX_TYPE_SIZES[(int)uniform.type]; + gpuUniform.stride = GFX_TYPE_SIZES[static_cast(uniform.type)]; gpuUniform.count = uniform.count; gpuUniform.size = gpuUniform.stride * gpuUniform.count; gpuUniform.offset = gpuBlock.size; - gpuUniform.glType = MapGLType(gpuUniform.type); + gpuUniform.glType = mapGLType(gpuUniform.type); gpuUniform.glLoc = -1; gpuUniform.buff = nullptr; @@ -1049,7 +1042,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { } // if // create uniform samplers - if (gpuShader->samplers.size()) { + if (!gpuShader->samplers.empty()) { gpuShader->glSamplers.resize(gpuShader->samplers.size()); for (size_t i = 0; i < gpuShader->glSamplers.size(); ++i) { @@ -1059,7 +1052,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { gpuSampler.binding = sampler.binding; gpuSampler.name = sampler.name; gpuSampler.count = sampler.count; - gpuSampler.glType = MapGLType(gpuSampler.type); + gpuSampler.glType = mapGLType(gpuSampler.type); gpuSampler.glLoc = -1; } } @@ -1091,7 +1084,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { if (gpuBlock.glUniforms[u].name == name) { GLES2GPUUniform &gpuUniform = gpuBlock.glUniforms[u]; gpuUniform.glLoc = glGetUniformLocation(gpuShader->glProgram, glName); - gpuUniform.buff = (uint8_t *)CC_MALLOC(gpuUniform.size); + gpuUniform.buff = static_cast(CC_MALLOC(gpuUniform.size)); gpuBlock.glActiveUniforms.emplace_back(gpuUniform); break; @@ -1109,16 +1102,16 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { // sampler bindings in the flexible set comes strictly after buffer bindings // so we need to subtract the buffer count for these samplers - uint flexibleSetBaseOffset = 0u; - for (uint i = 0u; i < gpuShader->blocks.size(); i++) { - if (gpuShader->blocks[i].set == bindingMappingInfo.flexibleSet) { + uint flexibleSetBaseOffset = 0U; + for (auto &block : gpuShader->blocks) { + if (block.set == bindingMappingInfo.flexibleSet) { flexibleSetBaseOffset++; } } - uint arrayOffset = 0u; + uint arrayOffset = 0U; - for (uint i = 0u; i < gpuShader->samplers.size(); i++) { + for (uint i = 0U; i < gpuShader->samplers.size(); i++) { const UniformSampler &sampler = gpuShader->samplers[i]; GLint glLoc = glGetUniformLocation(gpuShader->glProgram, sampler.name.c_str()); if (glLoc >= 0) { @@ -1133,16 +1126,16 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { } } - if (glActiveSamplers.size()) { + if (!glActiveSamplers.empty()) { vector usedTexUnits(device->getCapabilities().maxTextureUnits, false); // try to reuse existing mappings first - for (uint i = 0u; i < glActiveSamplers.size(); i++) { + for (uint i = 0U; i < glActiveSamplers.size(); i++) { GLES2GPUUniformSampler &glSampler = glActiveSamplers[i]; if (texUnitCacheMap.count(glSampler.name)) { uint cachedUnit = texUnitCacheMap[glSampler.name]; glSampler.glLoc = glActiveSamplerLocations[i]; - for (uint t = 0u, offset = 0u; t < glSampler.count; t++) { + for (uint t = 0U, offset = 0U; t < glSampler.count; t++) { while (usedTexUnits[cachedUnit + t + offset]) offset++; glSampler.units.push_back(cachedUnit + t + offset); usedTexUnits[cachedUnit + t + offset] = true; @@ -1150,13 +1143,13 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { } } // fill in the rest sequencially - uint unitIdx = 0u; - for (uint i = 0u; i < glActiveSamplers.size(); i++) { + uint unitIdx = 0U; + for (uint i = 0U; i < glActiveSamplers.size(); i++) { GLES2GPUUniformSampler &glSampler = glActiveSamplers[i]; if (glSampler.glLoc < 0) { glSampler.glLoc = glActiveSamplerLocations[i]; - for (uint t = 0u; t < glSampler.count; t++) { + for (uint t = 0U; t < glSampler.count; t++) { while (usedTexUnits[unitIdx + t]) unitIdx++; glSampler.units.push_back(unitIdx + t); usedTexUnits[unitIdx + t] = true; @@ -1171,8 +1164,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GL_CHECK(glUseProgram(gpuShader->glProgram)); } - for (size_t i = 0; i < glActiveSamplers.size(); ++i) { - GLES2GPUUniformSampler &gpuSampler = glActiveSamplers[i]; + for (auto &gpuSampler : glActiveSamplers) { GL_CHECK(glUniform1iv(gpuSampler.glLoc, (GLsizei)gpuSampler.units.size(), gpuSampler.units.data())); } @@ -1182,8 +1174,8 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { } // strip out the inactive ones - for (uint i = 0u; i < gpuShader->glBlocks.size();) { - if (gpuShader->glBlocks[i].glActiveUniforms.size()) { + for (uint i = 0U; i < gpuShader->glBlocks.size();) { + if (!gpuShader->glBlocks[i].glActiveUniforms.empty()) { i++; } else { gpuShader->glBlocks[i] = gpuShader->glBlocks.back(); @@ -1193,7 +1185,7 @@ void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { gpuShader->glSamplers = glActiveSamplers; } -void GLES2CmdFuncDestroyShader(GLES2Device *device, GLES2GPUShader *gpuShader) { +void cmdFuncGLES2DestroyShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuShader->glProgram) { if (device->stateCache()->glProgram == gpuShader->glProgram) { @@ -1206,7 +1198,7 @@ void GLES2CmdFuncDestroyShader(GLES2Device *device, GLES2GPUShader *gpuShader) { } } -void GLES2CmdFuncCreateInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler) { +void cmdFuncGLES2CreateInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler) { if (gpuInputAssembler->gpuIndexBuffer) { switch (gpuInputAssembler->gpuIndexBuffer->stride) { @@ -1219,20 +1211,20 @@ void GLES2CmdFuncCreateInputAssembler(GLES2Device *device, GLES2GPUInputAssemble } } - vector streamOffsets(device->getCapabilities().maxVertexAttributes, 0u); + vector streamOffsets(device->getCapabilities().maxVertexAttributes, 0U); gpuInputAssembler->glAttribs.resize(gpuInputAssembler->attributes.size()); for (size_t i = 0; i < gpuInputAssembler->glAttribs.size(); ++i) { GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[i]; const Attribute & attrib = gpuInputAssembler->attributes[i]; - GLES2GPUBuffer *gpuVB = (GLES2GPUBuffer *)gpuInputAssembler->gpuVertexBuffers[attrib.stream]; + auto *gpuVB = static_cast(gpuInputAssembler->gpuVertexBuffers[attrib.stream]); gpuAttribute.name = attrib.name; - gpuAttribute.glType = FormatToGLType(attrib.format); - gpuAttribute.size = GFX_FORMAT_INFOS[(int)attrib.format].size; - gpuAttribute.count = GFX_FORMAT_INFOS[(int)attrib.format].count; - gpuAttribute.componentCount = GLComponentCount(gpuAttribute.glType); + gpuAttribute.glType = formatToGLType(attrib.format); + gpuAttribute.size = GFX_FORMAT_INFOS[static_cast(attrib.format)].size; + gpuAttribute.count = GFX_FORMAT_INFOS[static_cast(attrib.format)].count; + gpuAttribute.componentCount = glComponentCount(gpuAttribute.glType); gpuAttribute.isNormalized = attrib.isNormalized; gpuAttribute.isInstanced = attrib.isInstanced; gpuAttribute.offset = streamOffsets[attrib.stream]; @@ -1245,7 +1237,7 @@ void GLES2CmdFuncCreateInputAssembler(GLES2Device *device, GLES2GPUInputAssemble } } -void GLES2CmdFuncDestroyInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler) { +void cmdFuncGLES2DestroyInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; for (auto it = gpuInputAssembler->glVAOs.begin(); it != gpuInputAssembler->glVAOs.end(); ++it) { if (device->stateCache()->glVAO == it->second) { @@ -1258,7 +1250,7 @@ void GLES2CmdFuncDestroyInputAssembler(GLES2Device *device, GLES2GPUInputAssembl gpuInputAssembler->glVAOs.clear(); } -void GLES2CmdFuncCreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO) { +void cmdFuncGLES2CreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO) { uint colorViewCount = gpuFBO->gpuColorTextures.size(); uint swapchainImageIndices = 0; for (size_t i = 0; i < colorViewCount; ++i) { @@ -1288,7 +1280,7 @@ void GLES2CmdFuncCreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpu // Mipmap level in GLES2 should be 0. GL_CHECK(glFramebufferTexture2D(GL_FRAMEBUFFER, (GLenum)(GL_COLOR_ATTACHMENT0 + i), gpuColorTexture->glTarget, gpuColorTexture->glTexture, 0)); - attachments[attachmentCount++] = (GLenum)(GL_COLOR_ATTACHMENT0 + i); + attachments[attachmentCount++] = static_cast(GL_COLOR_ATTACHMENT0 + i); } } @@ -1297,7 +1289,7 @@ void GLES2CmdFuncCreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpu // Mipmap level in GLES2 should be 0. GL_CHECK(glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, gpuDepthStencilTexture->glTarget, gpuDepthStencilTexture->glTexture, 0)); - if (GFX_FORMAT_INFOS[(int)gpuDepthStencilTexture->format].hasStencil) { + if (GFX_FORMAT_INFOS[static_cast(gpuDepthStencilTexture->format)].hasStencil) { // Mipmap level in GLES2 should be 0. GL_CHECK(glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, gpuDepthStencilTexture->glTarget, gpuDepthStencilTexture->glTexture, 0)); } @@ -1332,7 +1324,7 @@ void GLES2CmdFuncCreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpu } } -void GLES2CmdFuncDestroyFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO) { +void cmdFuncGLES2DestroyFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO) { if (gpuFBO->isOffscreen) { if (gpuFBO->glFramebuffer) { if (device->stateCache()->glFramebuffer == gpuFBO->glFramebuffer) { @@ -1345,7 +1337,7 @@ void GLES2CmdFuncDestroyFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gp } } -void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRenderPass, GLES2GPUFramebuffer *gpuFramebuffer, +void cmdFuncGLES2BeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRenderPass, GLES2GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; gfxStateCache.gpuRenderPass = gpuRenderPass; @@ -1420,7 +1412,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } // for if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { - bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; + bool hasDepth = GFX_FORMAT_INFOS[static_cast(gpuRenderPass->depthStencilAttachment.format)].hasDepth; if (hasDepth) { switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { case LoadOp::LOAD: break; // GL default behaviour @@ -1440,7 +1432,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen default:; } } // if (hasDepth) - bool hasStencils = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasStencil; + bool hasStencils = GFX_FORMAT_INFOS[static_cast(gpuRenderPass->depthStencilAttachment.format)].hasStencil; if (hasStencils) { switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { case LoadOp::LOAD: break; // GL default behaviour @@ -1499,7 +1491,7 @@ void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen } } -void GLES2CmdFuncEndRenderPass(GLES2Device *device) { +void cmdFuncGLES2EndRenderPass(GLES2Device *device) { GLES2ObjectCache & gfxStateCache = device->stateCache()->gfxStateCache; size_t numClearColors = gfxStateCache.numClearColors; GLES2GPURenderPass * gpuRenderPass = gfxStateCache.gpuRenderPass; @@ -1527,7 +1519,7 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { } // for if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { - bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; + bool hasDepth = GFX_FORMAT_INFOS[static_cast(gpuRenderPass->depthStencilAttachment.format)].hasDepth; if (hasDepth) { switch (gpuRenderPass->depthStencilAttachment.depthStoreOp) { case StoreOp::STORE: break; @@ -1539,7 +1531,7 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { default:; } } // if (hasDepth) - bool hasStencils = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasStencil; + bool hasStencils = GFX_FORMAT_INFOS[static_cast(gpuRenderPass->depthStencilAttachment.format)].hasStencil; if (hasStencils) { switch (gpuRenderPass->depthStencilAttachment.stencilStoreOp) { case StoreOp::STORE: break; @@ -1558,17 +1550,17 @@ void GLES2CmdFuncEndRenderPass(GLES2Device *device) { } } -void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipelineState, GLES2GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, - Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES2DepthBias &depthBias, Color &blendConstants, - GLES2DepthBounds &depthBounds, GLES2StencilWriteMask &stencilWriteMask, GLES2StencilCompareMask &stencilCompareMask) { +void cmdFuncGLES2BindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipelineState, GLES2GPUInputAssembler *gpuInputAssembler, + const vector &gpuDescriptorSets, const vector &dynamicOffsets, + const Viewport &viewport, const Rect &scissor, float lineWidth, bool depthBiasEnabled, const GLES2DepthBias &depthBias, const Color & /*blendConstants*/, + const GLES2DepthBounds & /*depthBounds*/, const GLES2StencilWriteMask &stencilWriteMask, const GLES2StencilCompareMask &stencilCompareMask) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES2GPUStateCache *cache = device->stateCache(); bool isShaderChanged = false; - GLenum glWrapS = 0u; - GLenum glWrapT = 0u; - GLenum glMinFilter = 0u; + GLenum glWrapS = 0U; + GLenum glWrapT = 0U; + GLenum glMinFilter = 0U; if (gpuPipelineState && gpuPipelineState != gfxStateCache.gpuPipelineState) { gfxStateCache.gpuPipelineState = gpuPipelineState; @@ -1610,8 +1602,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } cache->rs.cullMode = gpuPipelineState->rs.cullMode; } - bool isFrontFaceCCW = (bool)gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; - if ((bool)cache->rs.isFrontFaceCCW != isFrontFaceCCW) { + bool isFrontFaceCCW = static_cast(gpuPipelineState->rs.isFrontFaceCCW) != gfxStateCache.reverseCW; + if (static_cast(cache->rs.isFrontFaceCCW) != isFrontFaceCCW) { GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); cache->rs.isFrontFaceCCW = isFrontFaceCCW; } @@ -1775,7 +1767,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli size_t blockLen = gpuPipelineState->gpuShader->glBlocks.size(); const vector> &dynamicOffsetIndices = gpuPipelineState->gpuPipelineLayout->dynamicOffsetIndices; - uint8_t * uniformBuffBase = nullptr, *uniformBuff; + uint8_t * uniformBuffBase = nullptr; + uint8_t * uniformBuff; for (size_t j = 0; j < blockLen; j++) { const GLES2GPUUniformBlock &glBlock = gpuPipelineState->gpuShader->glBlocks[j]; @@ -1791,7 +1784,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli continue; } - uint offset = 0u; + uint offset = 0U; const vector &dynamicOffsetIndexSet = dynamicOffsetIndices[glBlock.set]; if (dynamicOffsetIndexSet.size() > glBlock.binding) { int dynamicOffsetIndex = dynamicOffsetIndexSet[glBlock.binding]; @@ -1805,9 +1798,8 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli uniformBuffBase = gpuDescriptor.gpuBuffer->buffer + offset; } - for (size_t u = 0; u < glBlock.glActiveUniforms.size(); ++u) { - const GLES2GPUUniform &gpuUniform = glBlock.glActiveUniforms[u]; - uniformBuff = uniformBuffBase + gpuUniform.offset; + for (const auto &gpuUniform : glBlock.glActiveUniforms) { + uniformBuff = uniformBuffBase + gpuUniform.offset; switch (gpuUniform.glType) { case GL_BOOL: case GL_INT: { @@ -1917,7 +1909,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli const GLES2GPUDescriptor * gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; for (size_t u = 0; u < glSampler.units.size(); u++, gpuDescriptor++) { - uint unit = (uint)glSampler.units[u]; + uint unit = static_cast(glSampler.units[u]); if (!gpuDescriptor->gpuTexture || !gpuDescriptor->gpuSampler) { CC_LOG_ERROR( @@ -2020,8 +2012,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); - for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { - const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; + for (auto &gpuInput : gpuPipelineState->gpuShader->glInputs) { for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { @@ -2071,12 +2062,11 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->glVAO = glVAO; } } else { - for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { - cache->glCurrentAttribLocs[a] = false; + for (auto &&glCurrentAttribLoc : cache->glCurrentAttribLocs) { + glCurrentAttribLoc = false; } - for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { - const GLES2GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; + for (auto &gpuInput : gpuPipelineState->gpuShader->glInputs) { for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { const GLES2GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { @@ -2151,11 +2141,12 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } break; case DynamicStateFlagBit::DEPTH_BIAS: - if ((bool)cache->rs.depthBiasEnabled != depthBiasEnabled) { - if (depthBiasEnabled) + if (static_cast(cache->rs.depthBiasEnabled) != depthBiasEnabled) { + if (depthBiasEnabled) { GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); - else + } else { GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); + } cache->rs.depthBiasEnabled = depthBiasEnabled; } @@ -2212,7 +2203,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli switch (stencilCompareMask.face) { case StencilFace::FRONT: if ((cache->dss.stencilRefFront != - (uint)stencilCompareMask.refrence) || + static_cast(stencilCompareMask.refrence)) || (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, @@ -2225,7 +2216,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli break; case StencilFace::BACK: if ((cache->dss.stencilRefBack != - (uint)stencilCompareMask.refrence) || + static_cast(stencilCompareMask.refrence)) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_BACK, @@ -2238,11 +2229,11 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli break; case StencilFace::ALL: if ((cache->dss.stencilRefFront != - (uint)stencilCompareMask.refrence) || + static_cast(stencilCompareMask.refrence)) || (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask) || (cache->dss.stencilRefBack != - (uint)stencilCompareMask.refrence) || + static_cast(stencilCompareMask.refrence)) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, @@ -2269,7 +2260,7 @@ void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } // if } -void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { +void cmdFuncGLES2Draw(GLES2Device *device, const DrawInfo &drawInfo) { GLES2ObjectCache & gfxStateCache = device->stateCache()->gfxStateCache; GLES2GPUPipelineState * gpuPipelineState = gfxStateCache.gpuPipelineState; GLES2GPUInputAssembler *gpuInputAssembler = gfxStateCache.gpuInputAssembler; @@ -2280,7 +2271,7 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { if (gpuInputAssembler->gpuIndexBuffer) { if (drawInfo.indexCount > 0) { - uint8_t *offset = 0; + uint8_t *offset = nullptr; offset += drawInfo.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { GL_CHECK(glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset)); @@ -2304,7 +2295,7 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { const DrawInfo &draw = gpuInputAssembler->gpuIndirectBuffer->indirects[j]; if (gpuInputAssembler->gpuIndexBuffer) { if (draw.indexCount > 0) { - uint8_t *offset = 0; + uint8_t *offset = nullptr; offset += draw.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { GL_CHECK(glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset)); @@ -2328,15 +2319,14 @@ void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo) { } } -void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { +void cmdFuncGLES2UpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; CCASSERT(buffer, "Buffer should not be nullptr"); - if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { + if ((gpuBuffer->usage & BufferUsageBit::UNIFORM) || + (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { memcpy(gpuBuffer->buffer + offset, buffer, size); } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { - memcpy((uint8_t *)gpuBuffer->indirects.data() + offset, buffer, size); - } else if (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC) { - memcpy(gpuBuffer->buffer + offset, buffer, size); + memcpy(reinterpret_cast(gpuBuffer->indirects.data()) + offset, buffer, size); } else { switch (gpuBuffer->glTarget) { case GL_ARRAY_BUFFER: { @@ -2376,7 +2366,7 @@ void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, co } } -void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const *buffers, +void cmdFuncGLES2CopyBuffersToTexture(GLES2Device *device, const uint8_t *const *buffers, GLES2GPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count) { GLuint &glTexture = device->stateCache()->glTextures[device->stateCache()->texUint]; if (glTexture != gpuTexture->glTexture) { @@ -2384,7 +2374,7 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const glTexture = gpuTexture->glTexture; } - bool isCompressed = GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed; + bool isCompressed = GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed; uint n = 0; switch (gpuTexture->glTarget) { @@ -2397,7 +2387,7 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { - GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); + auto memSize = static_cast(formatSize(gpuTexture->format, w, h, 1)); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_2D, region.texSubres.mipLevel, region.texOffset.x, @@ -2432,7 +2422,7 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { - GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); + auto memSize = static_cast(formatSize(gpuTexture->format, w, h, 1)); GL_CHECK(glCompressedTexSubImage3DOES(GL_TEXTURE_2D_ARRAY, region.texSubres.mipLevel, region.texOffset.x, @@ -2467,7 +2457,7 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const d = region.texExtent.depth; const uint8_t *buff = buffers[n++]; if (isCompressed) { - GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); + auto memSize = static_cast(formatSize(gpuTexture->format, w, h, 1)); GL_CHECK(glCompressedTexSubImage3DOES(GL_TEXTURE_3D, region.texSubres.mipLevel, region.texOffset.x, @@ -2503,7 +2493,7 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { - GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); + auto memSize = static_cast(formatSize(gpuTexture->format, w, h, 1)); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, region.texSubres.mipLevel, region.texOffset.x, @@ -2536,44 +2526,44 @@ void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const } } -void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { +void cmdFuncGLES2ExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage) { if (!cmdPackage->cmds.size()) return; - static uint cmdIndices[(int)GLESCmdType::COUNT] = {0}; + static uint cmdIndices[static_cast(GLESCmdType::COUNT)] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { GLESCmdType cmdType = cmdPackage->cmds[i]; - uint & cmdIdx = cmdIndices[(int)cmdType]; + uint & cmdIdx = cmdIndices[static_cast(cmdType)]; switch (cmdType) { case GLESCmdType::BEGIN_RENDER_PASS: { GLES2CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; - GLES2CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); + cmdFuncGLES2BeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); break; } case GLESCmdType::END_RENDER_PASS: { - GLES2CmdFuncEndRenderPass(device); + cmdFuncGLES2EndRenderPass(device); break; } case GLESCmdType::BIND_STATES: { GLES2CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; - GLES2CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); + cmdFuncGLES2BindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); break; } case GLESCmdType::DRAW: { GLES2CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; - GLES2CmdFuncDraw(device, cmd->drawInfo); + cmdFuncGLES2Draw(device, cmd->drawInfo); break; } case GLESCmdType::UPDATE_BUFFER: { GLES2CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; - GLES2CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); + cmdFuncGLES2UpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); break; } case GLESCmdType::COPY_BUFFER_TO_TEXTURE: { GLES2CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; - GLES2CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); + cmdFuncGLES2CopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; } default: diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index 5a92b02340..b3531e35ca 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -25,8 +25,10 @@ #pragma once -#include "../gfx-gles-common/GLESCommandPool.h" +#include "gfx-gles-common/GLESCommandPool.h" + #include "GLES2GPUObjects.h" +#include "GLES2Std.h" namespace cc { namespace gfx { @@ -34,57 +36,57 @@ namespace gfx { class GLES2Device; struct GLES2DepthBias final { - float constant = 0.0f; - float clamp = 0.0f; - float slope = 0.0f; + float constant = 0.0F; + float clamp = 0.0F; + float slope = 0.0F; }; struct GLES2DepthBounds final { - float minBounds = 0.0f; - float maxBounds = 0.0f; + float minBounds = 0.0F; + float maxBounds = 0.0F; }; struct GLES2StencilWriteMask final { - StencilFace face = StencilFace::FRONT; - uint writeMask = 0; + StencilFace face = StencilFace::FRONT; + uint writeMask = 0; }; struct GLES2StencilCompareMask final { - StencilFace face = StencilFace::FRONT; - int refrence = 0; - uint compareMask = 0; + StencilFace face = StencilFace::FRONT; + int refrence = 0; + uint compareMask = 0; }; struct GLES2TextureSubres final { - uint baseMipLevel = 0; - uint levelCount = 1; + uint baseMipLevel = 0; + uint levelCount = 1; uint baseArrayLayer = 0; - uint layerCount = 1; + uint layerCount = 1; }; struct GLES2BufferTextureCopy final { - uint buffOffset = 0; - uint buffStride = 0; - uint buffTexHeight = 0; - uint texOffset[3] = {0}; - uint texExtent[3] = {0}; + uint buffOffset = 0; + uint buffStride = 0; + uint buffTexHeight = 0; + uint texOffset[3] = {0}; + uint texExtent[3] = {0}; GLES2TextureSubres texSubres; }; class GLES2CmdBeginRenderPass final : public GLESCmd { public: - GLES2GPURenderPass *gpuRenderPass = nullptr; - GLES2GPUFramebuffer *gpuFBO = nullptr; - Rect renderArea; - size_t numClearColors = 0; - Color clearColors[GFX_MAX_ATTACHMENTS]; - float clearDepth = 1.0f; - int clearStencil = 0; + GLES2GPURenderPass * gpuRenderPass = nullptr; + GLES2GPUFramebuffer *gpuFBO = nullptr; + Rect renderArea; + size_t numClearColors = 0; + Color clearColors[GFX_MAX_ATTACHMENTS]; + float clearDepth = 1.0F; + int clearStencil = 0; GLES2CmdBeginRenderPass() : GLESCmd(GLESCmdType::BEGIN_RENDER_PASS) {} void clear() override { - gpuFBO = nullptr; + gpuFBO = nullptr; numClearColors = 0; } }; @@ -103,24 +105,24 @@ enum class GLES2State { class GLES2CmdBindStates final : public GLESCmd { public: - GLES2GPUPipelineState *gpuPipelineState = nullptr; - GLES2GPUInputAssembler *gpuInputAssembler = nullptr; + GLES2GPUPipelineState * gpuPipelineState = nullptr; + GLES2GPUInputAssembler * gpuInputAssembler = nullptr; vector gpuDescriptorSets; - vector dynamicOffsets; - Viewport viewport; - Rect scissor; - float lineWidth = 1.0f; - bool depthBiasEnabled = false; - GLES2DepthBias depthBias; - Color blendConstants; - GLES2DepthBounds depthBounds; - GLES2StencilWriteMask stencilWriteMask; - GLES2StencilCompareMask stencilCompareMask; + vector dynamicOffsets; + Viewport viewport; + Rect scissor; + float lineWidth = 1.0F; + bool depthBiasEnabled = false; + GLES2DepthBias depthBias; + Color blendConstants; + GLES2DepthBounds depthBounds; + GLES2StencilWriteMask stencilWriteMask; + GLES2StencilCompareMask stencilCompareMask; GLES2CmdBindStates() : GLESCmd(GLESCmdType::BIND_STATES) {} void clear() override { - gpuPipelineState = nullptr; + gpuPipelineState = nullptr; gpuInputAssembler = nullptr; gpuDescriptorSets.clear(); dynamicOffsets.clear(); @@ -138,71 +140,71 @@ public: class GLES2CmdUpdateBuffer final : public GLESCmd { public: GLES2GPUBuffer *gpuBuffer = nullptr; - uint8_t *buffer = nullptr; - uint size = 0; - uint offset = 0; + const uint8_t * buffer = nullptr; + uint size = 0; + uint offset = 0; GLES2CmdUpdateBuffer() : GLESCmd(GLESCmdType::UPDATE_BUFFER) {} void clear() override { gpuBuffer = nullptr; - buffer = nullptr; + buffer = nullptr; } }; class GLES2CmdCopyBufferToTexture final : public GLESCmd { public: - GLES2GPUTexture *gpuTexture = nullptr; - const BufferTextureCopy *regions = nullptr; - uint count = 0u; - const uint8_t *const *buffers; + GLES2GPUTexture * gpuTexture = nullptr; + const BufferTextureCopy *regions = nullptr; + uint count = 0U; + const uint8_t *const * buffers; GLES2CmdCopyBufferToTexture() : GLESCmd(GLESCmdType::COPY_BUFFER_TO_TEXTURE) {} void clear() override { gpuTexture = nullptr; - regions = nullptr; - count = 0u; - buffers = nullptr; + regions = nullptr; + count = 0U; + buffers = nullptr; } }; class GLES2CmdPackage final : public Object { public: - CachedArray cmds; - CachedArray beginRenderPassCmds; - CachedArray bindStatesCmds; - CachedArray drawCmds; - CachedArray updateBufferCmds; + CachedArray cmds; + CachedArray beginRenderPassCmds; + CachedArray bindStatesCmds; + CachedArray drawCmds; + CachedArray updateBufferCmds; CachedArray copyBufferToTextureCmds; }; class GLES2GPUCommandAllocator final : public Object { public: - CommandPool beginRenderPassCmdPool; - CommandPool bindStatesCmdPool; - CommandPool drawCmdPool; - CommandPool updateBufferCmdPool; + CommandPool beginRenderPassCmdPool; + CommandPool bindStatesCmdPool; + CommandPool drawCmdPool; + CommandPool updateBufferCmdPool; CommandPool copyBufferToTextureCmdPool; - void clearCmds(GLES2CmdPackage *cmd_package) { - if (cmd_package->beginRenderPassCmds.size()) { - beginRenderPassCmdPool.freeCmds(cmd_package->beginRenderPassCmds); + void clearCmds(GLES2CmdPackage *cmdPackage) { + if (cmdPackage->beginRenderPassCmds.size()) { + beginRenderPassCmdPool.freeCmds(cmdPackage->beginRenderPassCmds); } - if (cmd_package->bindStatesCmds.size()) { - bindStatesCmdPool.freeCmds(cmd_package->bindStatesCmds); + if (cmdPackage->bindStatesCmds.size()) { + bindStatesCmdPool.freeCmds(cmdPackage->bindStatesCmds); } - if (cmd_package->drawCmds.size()) { - drawCmdPool.freeCmds(cmd_package->drawCmds); + if (cmdPackage->drawCmds.size()) { + drawCmdPool.freeCmds(cmdPackage->drawCmds); } - if (cmd_package->updateBufferCmds.size()) { - updateBufferCmdPool.freeCmds(cmd_package->updateBufferCmds); + if (cmdPackage->updateBufferCmds.size()) { + updateBufferCmdPool.freeCmds(cmdPackage->updateBufferCmds); } - if (cmd_package->copyBufferToTextureCmds.size()) { - copyBufferToTextureCmdPool.freeCmds(cmd_package->copyBufferToTextureCmds); + if (cmdPackage->copyBufferToTextureCmds.size()) { + copyBufferToTextureCmdPool.freeCmds(cmdPackage->copyBufferToTextureCmds); } - cmd_package->cmds.clear(); + cmdPackage->cmds.clear(); } CC_INLINE void reset() { @@ -214,33 +216,33 @@ public: } }; -CC_GLES2_API void GLES2CmdFuncCreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer); -CC_GLES2_API void GLES2CmdFuncDestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer); -CC_GLES2_API void GLES2CmdFuncResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer); -CC_GLES2_API void GLES2CmdFuncCreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture); -CC_GLES2_API void GLES2CmdFuncDestroyTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture); -CC_GLES2_API void GLES2CmdFuncResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture); -CC_GLES2_API void GLES2CmdFuncCreateSampler(GLES2Device *device, GLES2GPUSampler *gpuSampler); -CC_GLES2_API void GLES2CmdFuncDestroySampler(GLES2Device *device, GLES2GPUSampler *gpuSampler); -CC_GLES2_API void GLES2CmdFuncCreateShader(GLES2Device *device, GLES2GPUShader *gpuShader); -CC_GLES2_API void GLES2CmdFuncDestroyShader(GLES2Device *device, GLES2GPUShader *gpuShader); -CC_GLES2_API void GLES2CmdFuncCreateInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler); -CC_GLES2_API void GLES2CmdFuncDestroyInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler); -CC_GLES2_API void GLES2CmdFuncCreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO); -CC_GLES2_API void GLES2CmdFuncDestroyFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO); +CC_GLES2_API void cmdFuncGLES2CreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer); +CC_GLES2_API void cmdFuncGLES2DestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer); +CC_GLES2_API void cmdFuncGLES2ResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer); +CC_GLES2_API void cmdFuncGLES2CreateTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture); +CC_GLES2_API void cmdFuncGLES2DestroyTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture); +CC_GLES2_API void cmdFuncGLES2ResizeTexture(GLES2Device *device, GLES2GPUTexture *gpuTexture); +CC_GLES2_API void cmdFuncGLES2CreateSampler(GLES2Device *device, GLES2GPUSampler *gpuSampler); +CC_GLES2_API void cmdFuncGLES2DestroySampler(GLES2Device *device, GLES2GPUSampler *gpuSampler); +CC_GLES2_API void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader); +CC_GLES2_API void cmdFuncGLES2DestroyShader(GLES2Device *device, GLES2GPUShader *gpuShader); +CC_GLES2_API void cmdFuncGLES2CreateInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler); +CC_GLES2_API void cmdFuncGLES2DestroyInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler); +CC_GLES2_API void cmdFuncGLES2CreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO); +CC_GLES2_API void cmdFuncGLES2DestroyFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpuFBO); -CC_GLES2_API void GLES2CmdFuncBeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRenderPass, GLES2GPUFramebuffer *gpuFBO, +CC_GLES2_API void cmdFuncGLES2BeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRenderPass, GLES2GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil); -CC_GLES2_API void GLES2CmdFuncEndRenderPass(GLES2Device *device); -CC_GLES2_API void GLES2CmdFuncBindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipelineState, GLES2GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, - Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES2DepthBias &depthBias, Color &blendConstants, - GLES2DepthBounds &depthBounds, GLES2StencilWriteMask &stencilWriteMask, GLES2StencilCompareMask &stencilCompareMask); -CC_GLES2_API void GLES2CmdFuncDraw(GLES2Device *device, DrawInfo &drawInfo); -CC_GLES2_API void GLES2CmdFuncUpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size); -CC_GLES2_API void GLES2CmdFuncCopyBuffersToTexture(GLES2Device *device, const uint8_t *const *buffers, +CC_GLES2_API void cmdFuncGLES2EndRenderPass(GLES2Device *device); +CC_GLES2_API void cmdFuncGLES2BindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipelineState, GLES2GPUInputAssembler *gpuInputAssembler, + const vector &gpuDescriptorSets, const vector &dynamicOffsets, + const Viewport &viewport, const Rect &scissor, float lineWidth, bool depthBiasEnabled, const GLES2DepthBias &depthBias, const Color &blendConstants, + const GLES2DepthBounds &depthBounds, const GLES2StencilWriteMask &stencilWriteMask, const GLES2StencilCompareMask &stencilCompareMask); +CC_GLES2_API void cmdFuncGLES2Draw(GLES2Device *device, const DrawInfo &drawInfo); +CC_GLES2_API void cmdFuncGLES2UpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size); +CC_GLES2_API void cmdFuncGLES2CopyBuffersToTexture(GLES2Device *device, const uint8_t *const *buffers, GLES2GPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count); -CC_GLES2_API void GLES2CmdFuncExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage); +CC_GLES2_API void cmdFuncGLES2ExecuteCmds(GLES2Device *device, GLES2CmdPackage *cmdPackage); } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 0c8eeea2e5..73c641e990 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -91,12 +91,9 @@ void GL_APIENTRY GLES2EGLDebugProc(GLenum source, #endif -GLES2Context::GLES2Context() -: Context() { -} +GLES2Context::GLES2Context() = default; -GLES2Context::~GLES2Context() { -} +GLES2Context::~GLES2Context() = default; #if (CC_PLATFORM == CC_PLATFORM_WINDOWS || CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_MAC_OSX) @@ -219,10 +216,10 @@ bool GLES2Context::doInit(const ContextInfo &info) { uint width = GLES2Device::getInstance()->getWidth(); uint height = GLES2Device::getInstance()->getHeight(); - ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); + ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); #endif - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), NULL)); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), nullptr)); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Window surface created failed."); return false; @@ -255,7 +252,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { ctxAttribs[n] = EGL_NONE; } - EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, NULL, ctxAttribs)); + EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, nullptr, ctxAttribs)); if (!_eglContext) { CC_LOG_ERROR("Create EGL context failed."); return false; @@ -271,7 +268,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { // guaranteed to be invoked in the order they were added EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [=](const CustomEvent &event) -> void { - _windowHandle = (uintptr_t)event.args->ptrVal; + _windowHandle = reinterpret_cast(event.args->ptrVal); EGLint nFmt = 0; if (eglGetConfigAttrib(_eglDisplay, _eglConfig, EGL_NATIVE_VISUAL_ID, &nFmt) == EGL_FALSE) { @@ -280,15 +277,15 @@ bool GLES2Context::doInit(const ContextInfo &info) { } uint width = GLES2Device::getInstance()->getWidth(); uint height = GLES2Device::getInstance()->getHeight(); - ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); + ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, NULL)); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, nullptr)); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Recreate window surface failed."); return; } - ((GLES2Context *)GLES2Device::getInstance()->getContext())->MakeCurrent(); + static_cast(GLES2Device::getInstance()->getContext())->MakeCurrent(); GLES2Device::getInstance()->stateCache()->reset(); }); #endif @@ -296,7 +293,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { _eglSharedContext = _eglContext; } else { - GLES2Context *sharedCtx = static_cast(info.sharedCtx); + auto *sharedCtx = static_cast(info.sharedCtx); _majorVersion = sharedCtx->major_ver(); _minorVersion = sharedCtx->minor_ver(); @@ -377,7 +374,7 @@ void GLES2Context::doDestroy() { _isPrimaryContex = false; _windowHandle = 0; - _nativeDisplay = 0; + _nativeDisplay = 0; // NOLINT(modernize-use-nullptr) portability issues _vsyncMode = VsyncMode::OFF; _isInitialized = false; } @@ -411,7 +408,7 @@ bool GLES2Context::MakeCurrent(bool bound) { int interval = 1; switch (_vsyncMode) { case VsyncMode::OFF: interval = 0; break; - case VsyncMode::ON: interval = 1; break; + case VsyncMode::ON: case VsyncMode::RELAXED: interval = 1; break; case VsyncMode::MAILBOX: interval = 0; break; case VsyncMode::HALF: interval = 2; break; @@ -471,14 +468,13 @@ bool GLES2Context::MakeCurrent(bool bound) { GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor(0.0f, 0.0f, 0.0f, 0.0f)); + GL_CHECK(glBlendColor(0.0F, 0.0F, 0.0F, 0.0F)); CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; - } else { - CC_LOG_ERROR("MakeCurrent() - FAILED, Context: 0x%p", this); - return false; } + CC_LOG_ERROR("MakeCurrent() - FAILED, Context: 0x%p", this); + return false; } bool GLES2Context::CheckExtension(const String &extension) const { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 4818166365..d1af48c6ae 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -45,24 +45,24 @@ namespace cc { namespace gfx { -GLES2Device *GLES2Device::_instance = nullptr; +GLES2Device *GLES2Device::instance = nullptr; GLES2Device *GLES2Device::getInstance() { - return GLES2Device::_instance; + return GLES2Device::instance; } GLES2Device::GLES2Device() { - _API = API::GLES2; + _api = API::GLES2; _deviceName = "GLES2"; - GLES2Device::_instance = this; + GLES2Device::instance = this; } GLES2Device::~GLES2Device() { - GLES2Device::_instance = nullptr; + GLES2Device::instance = nullptr; } -bool GLES2Device::doInit(const DeviceInfo &info) { +bool GLES2Device::doInit(const DeviceInfo & /*info*/) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; @@ -86,7 +86,7 @@ bool GLES2Device::doInit(const DeviceInfo &info) { bindRenderContext(true); - String extStr = (const char *)glGetString(GL_EXTENSIONS); + String extStr = reinterpret_cast(glGetString(GL_EXTENSIONS)); _extensions = StringUtil::split(extStr, " "); if (checkExtension("GL_OES_texture_float")) { @@ -105,28 +105,34 @@ bool GLES2Device::doInit(const DeviceInfo &info) { _features[static_cast(Feature::ELEMENT_INDEX_UINT)] = true; } - if (checkExtension("color_buffer_float")) + if (checkExtension("color_buffer_float")) { _features[static_cast(Feature::COLOR_FLOAT)] = true; + } - if (checkExtension("color_buffer_half_float")) + if (checkExtension("color_buffer_half_float")) { _features[static_cast(Feature::COLOR_HALF_FLOAT)] = true; + } - if (checkExtension("texture_float_linear")) + if (checkExtension("texture_float_linear")) { _features[static_cast(Feature::TEXTURE_FLOAT_LINEAR)] = true; + } - if (checkExtension("texture_half_float_linear")) + if (checkExtension("texture_half_float_linear")) { _features[static_cast(Feature::TEXTURE_HALF_FLOAT_LINEAR)] = true; + } - if (checkExtension("draw_buffers")) + if (checkExtension("draw_buffers")) { _features[static_cast(Feature::MULTIPLE_RENDER_TARGETS)] = true; + } - if (checkExtension("blend_minmax")) + if (checkExtension("blend_minmax")) { _features[static_cast(Feature::BLEND_MINMAX)] = true; + } _useVAO = checkExtension("vertex_array_object"); _useDrawInstanced = checkExtension("draw_instanced"); _useInstancedArrays = _features[static_cast(Feature::INSTANCED_ARRAYS)] = checkExtension("instanced_arrays"); - _useDiscardFramebuffer = checkExtension("discard_framebuffer"); + _useDiscardFramebuffer = checkExtension("discard_framebuffer"); String compressedFmts; @@ -161,9 +167,9 @@ bool GLES2Device::doInit(const DeviceInfo &info) { _features[static_cast(Feature::FORMAT_D24S8)] = checkExtension("packed_depth_stencil"); } - _renderer = (const char *)glGetString(GL_RENDERER); - _vendor = (const char *)glGetString(GL_VENDOR); - _version = (const char *)glGetString(GL_VERSION); + _renderer = reinterpret_cast(glGetString(GL_RENDERER)); + _vendor = reinterpret_cast(glGetString(GL_VENDOR)); + _version = reinterpret_cast(glGetString(GL_VERSION)); CC_LOG_INFO("GLES2 device initialized."); CC_LOG_INFO("RENDERER: %s", _renderer.c_str()); @@ -174,15 +180,15 @@ bool GLES2Device::doInit(const DeviceInfo &info) { CC_LOG_INFO("USE_VAO: %s", _useVAO ? "true" : "false"); CC_LOG_INFO("COMPRESSED_FORMATS: %s", compressedFmts.c_str()); - glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_caps.maxVertexAttributes); - glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_caps.maxVertexUniformVectors); - glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_caps.maxFragmentUniformVectors); - glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxTextureUnits); - glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxVertexTextureUnits); - glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&_caps.maxTextureSize); - glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, (GLint *)&_caps.maxCubeMapTextureSize); - glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_caps.depthBits); - glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_caps.stencilBits); + glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, reinterpret_cast(&_caps.maxVertexAttributes)); + glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, reinterpret_cast(&_caps.maxVertexUniformVectors)); + glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, reinterpret_cast(&_caps.maxFragmentUniformVectors)); + glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, reinterpret_cast(&_caps.maxTextureUnits)); + glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, reinterpret_cast(&_caps.maxVertexTextureUnits)); + glGetIntegerv(GL_MAX_TEXTURE_SIZE, reinterpret_cast(&_caps.maxTextureSize)); + glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, reinterpret_cast(&_caps.maxCubeMapTextureSize)); + glGetIntegerv(GL_DEPTH_BITS, reinterpret_cast(&_caps.depthBits)); + glGetIntegerv(GL_STENCIL_BITS, reinterpret_cast(&_caps.stencilBits)); _gpuStateCache->initialize(_caps.maxTextureUnits, _caps.maxVertexAttributes); @@ -209,10 +215,10 @@ void GLES2Device::acquire() { } void GLES2Device::present() { - GLES2Queue *queue = (GLES2Queue *)_queue; - _numDrawCalls = queue->_numDrawCalls; - _numInstances = queue->_numInstances; - _numTriangles = queue->_numTriangles; + auto *queue = static_cast(_queue); + _numDrawCalls = queue->_numDrawCalls; + _numInstances = queue->_numInstances; + _numTriangles = queue->_numTriangles; _context->present(); @@ -312,19 +318,20 @@ TextureBarrier *GLES2Device::createTextureBarrier() { } void GLES2Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - GLES2CmdFuncCopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count); + cmdFuncGLES2CopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count); } -bool GLES2Device::checkForETC2() const { +bool GLES2Device::checkForETC2() { GLint numFormats = 0; glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numFormats); - GLint *formats = new GLint[numFormats]; + auto *formats = new GLint[numFormats]; glGetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, formats); int supportNum = 0; for (GLint i = 0; i < numFormats; ++i) { - if (formats[i] == GL_COMPRESSED_RGB8_ETC2 || formats[i] == GL_COMPRESSED_RGBA8_ETC2_EAC) + if (formats[i] == GL_COMPRESSED_RGB8_ETC2 || formats[i] == GL_COMPRESSED_RGBA8_ETC2_EAC) { supportNum++; + } } delete[] formats; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 302599cd28..842e98dbe0 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -25,6 +25,8 @@ #pragma once +#include "GLES2Std.h" + #include "gfx-base/GFXDevice.h" #ifndef GL_COMPRESSED_RGB8_ETC2 @@ -69,27 +71,24 @@ public: void acquire() override; void present() override; - CC_INLINE bool useVAO() const { return _useVAO; } - CC_INLINE bool useDrawInstanced() const { return _useDrawInstanced; } - CC_INLINE bool useInstancedArrays() const { return _useInstancedArrays; } - CC_INLINE bool useDiscardFramebuffer() const { return _useDiscardFramebuffer; } + inline bool useVAO() const { return _useVAO; } + inline bool useDrawInstanced() const { return _useDrawInstanced; } + inline bool useInstancedArrays() const { return _useInstancedArrays; } + inline bool useDiscardFramebuffer() const { return _useDiscardFramebuffer; } - CC_INLINE GLES2GPUStateCache *stateCache() const { return _gpuStateCache; } - CC_INLINE GLES2GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } + inline GLES2GPUStateCache * stateCache() const { return _gpuStateCache; } + inline GLES2GPUStagingBufferPool *stagingBufferPool() const { return _gpuStagingBufferPool; } - CC_INLINE bool checkExtension(const String &extension) const { - for (size_t i = 0; i < _extensions.size(); ++i) { - if (_extensions[i].find(extension) != String::npos) { - return true; - } - } - return false; + inline bool checkExtension(const String &extension) const { + return std::any_of(_extensions.begin(), _extensions.end(), [&extension](auto &ext) { + return ext.find(extension) != String::npos; + }); } - CC_INLINE uint getThreadID() const { return _threadID; } + inline uint getThreadID() const { return _threadID; } protected: - static GLES2Device * _instance; + static GLES2Device *instance; friend class DeviceManager; friend class GLES2Context; @@ -118,7 +117,7 @@ protected: void bindRenderContext(bool bound) override; void bindDeviceContext(bool bound) override; - bool checkForETC2() const; + static bool checkForETC2(); GLES2Context * _renderContext = nullptr; GLES2Context * _deviceContext = nullptr; @@ -132,7 +131,7 @@ protected: bool _useInstancedArrays = false; bool _useDiscardFramebuffer = false; - uint _threadID = 0u; + uint _threadID = 0U; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp index 1912e782cf..037eedb457 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp @@ -34,9 +34,7 @@ namespace cc { namespace gfx { -GLES2Framebuffer::GLES2Framebuffer() -: Framebuffer() { -} +GLES2Framebuffer::GLES2Framebuffer() = default; GLES2Framebuffer::~GLES2Framebuffer() { destroy(); @@ -46,7 +44,7 @@ void GLES2Framebuffer::doInit(const FramebufferInfo &info) { if (info.depthStencilMipmapLevel != 0) { CC_LOG_WARNING("Mipmap level of depth stencil attachment should be 0 in GLES2. Convert to 0."); } - if (info.colorMipmapLevels.size() > 0) { + if (!info.colorMipmapLevels.empty()) { int i = 0; for (const auto mipmapLevel : info.colorMipmapLevels) { if (mipmapLevel != 0) { @@ -61,7 +59,7 @@ void GLES2Framebuffer::doInit(const FramebufferInfo &info) { _gpuFBO->gpuColorTextures.resize(_colorTextures.size()); for (size_t i = 0; i < _colorTextures.size(); ++i) { - GLES2Texture *colorTexture = (GLES2Texture *)_colorTextures[i]; + auto *colorTexture = static_cast(_colorTextures[i]); if (colorTexture) { _gpuFBO->gpuColorTextures[i] = colorTexture->gpuTexture(); } @@ -71,12 +69,12 @@ void GLES2Framebuffer::doInit(const FramebufferInfo &info) { _gpuFBO->gpuDepthStencilTexture = static_cast(_depthStencilTexture)->gpuTexture(); } - GLES2CmdFuncCreateFramebuffer(GLES2Device::getInstance(), _gpuFBO); + cmdFuncGLES2CreateFramebuffer(GLES2Device::getInstance(), _gpuFBO); } void GLES2Framebuffer::doDestroy() { if (_gpuFBO) { - GLES2CmdFuncDestroyFramebuffer(GLES2Device::getInstance(), _gpuFBO); + cmdFuncGLES2DestroyFramebuffer(GLES2Device::getInstance(), _gpuFBO); CC_DELETE(_gpuFBO); _gpuFBO = nullptr; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index b9d38987de..35b733f728 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -25,6 +25,9 @@ #pragma once +#include + +#include "base/Object.h" #include "gfx-base/GFXDef.h" #include "GLES2Wrangler.h" @@ -43,13 +46,13 @@ public: uint8_t *buffer = nullptr; DrawInfoList indirects; }; -typedef vector GLES2GPUBufferList; +using GLES2GPUBufferList = vector; class GLES2GPUBufferView final : public Object { public: GLES2GPUBuffer *gpuBuffer = nullptr; - uint offset = 0u; - uint range = 0u; + uint offset = 0U; + uint range = 0U; }; class GLES2GPUTexture final : public Object { @@ -78,7 +81,7 @@ public: GLenum glMagFilter = 0; }; -typedef vector GLES2GPUTextureList; +using GLES2GPUTextureList = vector; class GLES2GPUSampler final : public Object { public: @@ -105,7 +108,7 @@ struct GLES2GPUInput final { GLenum glType = 0; GLint glLoc = -1; }; -typedef vector GLES2GPUInputList; +using GLES2GPUInputList = vector; struct GLES2GPUUniform final { uint binding = GFX_INVALID_BINDING; @@ -119,7 +122,7 @@ struct GLES2GPUUniform final { GLint glLoc = -1; uint8_t *buff = nullptr; - GLES2GPUUniform() {} + GLES2GPUUniform() = default; GLES2GPUUniform(const GLES2GPUUniform &rhs) { *this = rhs; } @@ -137,10 +140,11 @@ struct GLES2GPUUniform final { if (size != rhs.size) { size = rhs.size; CC_SAFE_FREE(buff); - buff = (uint8_t *)CC_MALLOC(size); + buff = static_cast(CC_MALLOC(size)); } - if (buff && rhs.buff) + if (buff && rhs.buff) { memcpy(buff, rhs.buff, size); +} } return *this; } @@ -149,7 +153,7 @@ struct GLES2GPUUniform final { CC_SAFE_FREE(buff); } }; -typedef vector GLES2GPUUniformList; +using GLES2GPUUniformList = vector; struct GLES2GPUUniformBlock final { uint set = 0; @@ -160,29 +164,29 @@ struct GLES2GPUUniformBlock final { GLES2GPUUniformList glUniforms; GLES2GPUUniformList glActiveUniforms; }; -typedef vector GLES2GPUUniformBlockList; +using GLES2GPUUniformBlockList = vector; struct GLES2GPUUniformSampler final { uint set = 0; uint binding = 0; String name; Type type = Type::UNKNOWN; - uint count = 0u; + uint count = 0U; vector units; GLenum glType = 0; GLint glLoc = -1; }; -typedef vector GLES2GPUUniformSamplerList; +using GLES2GPUUniformSamplerList = vector; struct GLES2GPUShaderStage final { GLES2GPUShaderStage(ShaderStageFlagBit t, String s, GLuint shader = 0) - : type(t), source(s), glShader(shader) {} + : type(t), source(std::move(std::move(s))), glShader(shader) {} ShaderStageFlagBit type; String source; GLuint glShader = 0; }; -typedef vector GLES2GPUShaderStageList; +using GLES2GPUShaderStageList = vector; class GLES2GPUShader final : public Object { public: @@ -208,7 +212,7 @@ struct GLES2GPUAttribute final { bool isInstanced = false; uint offset = 0; }; -typedef vector GLES2GPUAttributeList; +using GLES2GPUAttributeList = vector; class GLES2GPUInputAssembler final : public Object { public: @@ -243,9 +247,9 @@ public: vector bindingIndices; vector descriptorIndices; - uint descriptorCount = 0u; + uint descriptorCount = 0U; }; -typedef vector GLES2GPUDescriptorSetLayoutList; +using GLES2GPUDescriptorSetLayoutList = vector; class GLES2GPUPipelineLayout final : public Object { public: @@ -278,7 +282,7 @@ struct GLES2GPUDescriptor final { GLES2GPUTexture *gpuTexture = nullptr; GLES2GPUSampler *gpuSampler = nullptr; }; -typedef vector GLES2GPUDescriptorList; +using GLES2GPUDescriptorList = vector; class GLES2GPUDescriptorSet final : public Object { public: @@ -291,7 +295,7 @@ public: }; struct GLES2ObjectCache final { - size_t numClearColors = 0u; + size_t numClearColors = 0U; GLES2GPURenderPass *gpuRenderPass = nullptr; GLES2GPUFramebuffer *gpuFramebuffer = nullptr; GLES2GPUPipelineState *gpuPipelineState = nullptr; @@ -325,7 +329,7 @@ public: GLES2ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t vertexAttributes) { - glTextures.resize(texUnits, 0u); + glTextures.resize(texUnits, 0U); glEnabledAttribLocs.resize(vertexAttributes, false); glCurrentAttribLocs.resize(vertexAttributes, false); } @@ -336,10 +340,10 @@ public: glUniformBuffer = 0; glVAO = 0; texUint = 0; - glTextures.assign(glTextures.size(), 0u); + glTextures.assign(glTextures.size(), 0U); glProgram = 0; - glEnabledAttribLocs.assign(glEnabledAttribLocs.size(), 0u); - glCurrentAttribLocs.assign(glCurrentAttribLocs.size(), 0u); + glEnabledAttribLocs.assign(glEnabledAttribLocs.size(), false); + glCurrentAttribLocs.assign(glCurrentAttribLocs.size(), false); glFramebuffer = 0; glReadFBO = 0; isCullFaceEnabled = true; @@ -352,19 +356,19 @@ public: bs = BlendState(); gfxStateCache.gpuPipelineState = nullptr; - gfxStateCache.numClearColors = 0u; + gfxStateCache.numClearColors = 0U; gfxStateCache.gpuRenderPass = nullptr; gfxStateCache.gpuFramebuffer = nullptr; gfxStateCache.gpuInputAssembler = nullptr; - gfxStateCache.glPrimitive = 0u; + gfxStateCache.glPrimitive = 0U; gfxStateCache.reverseCW = false; } }; -constexpr size_t chunkSize = 16 * 1024 * 1024; // 16M per block by default +constexpr size_t CHUNK_SIZE = 16 * 1024 * 1024; // 16M per block by default class GLES2GPUStagingBufferPool final : public Object { public: - ~GLES2GPUStagingBufferPool() { + ~GLES2GPUStagingBufferPool() override { for (Buffer &buffer : _pool) { CC_FREE(buffer.mappedData); } @@ -374,9 +378,9 @@ public: uint8_t *alloc(size_t size) { size_t bufferCount = _pool.size(); Buffer *buffer = nullptr; - for (size_t idx = 0u; idx < bufferCount; idx++) { + for (size_t idx = 0U; idx < bufferCount; idx++) { Buffer *cur = &_pool[idx]; - if (chunkSize - cur->curOffset >= size) { + if (CHUNK_SIZE - cur->curOffset >= size) { buffer = cur; break; } @@ -384,7 +388,7 @@ public: if (!buffer) { _pool.resize(bufferCount + 1); buffer = &_pool.back(); - buffer->mappedData = (uint8_t *)CC_MALLOC(chunkSize); + buffer->mappedData = static_cast(CC_MALLOC(CHUNK_SIZE)); } uint8_t *data = buffer->mappedData + buffer->curOffset; buffer->curOffset += size; @@ -393,14 +397,14 @@ public: void reset() { for (Buffer &buffer : _pool) { - buffer.curOffset = 0u; + buffer.curOffset = 0U; } } private: struct Buffer { uint8_t *mappedData = nullptr; - size_t curOffset = 0u; + size_t curOffset = 0U; }; vector _pool; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp index 7ba146f931..7aeca7b555 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp @@ -33,9 +33,7 @@ namespace cc { namespace gfx { -GLES2InputAssembler::GLES2InputAssembler() -: InputAssembler() { -} +GLES2InputAssembler::GLES2InputAssembler() = default; GLES2InputAssembler::~GLES2InputAssembler() { destroy(); @@ -46,21 +44,23 @@ void GLES2InputAssembler::doInit(const InputAssemblerInfo &info) { _gpuInputAssembler->attributes = _attributes; _gpuInputAssembler->gpuVertexBuffers.resize(_vertexBuffers.size()); for (size_t i = 0; i < _gpuInputAssembler->gpuVertexBuffers.size(); ++i) { - GLES2Buffer *vb = (GLES2Buffer *)_vertexBuffers[i]; + auto *vb = static_cast(_vertexBuffers[i]); _gpuInputAssembler->gpuVertexBuffers[i] = vb->gpuBuffer(); } - if (info.indexBuffer) + if (info.indexBuffer) { _gpuInputAssembler->gpuIndexBuffer = static_cast(info.indexBuffer)->gpuBuffer(); + } - if (info.indirectBuffer) + if (info.indirectBuffer) { _gpuInputAssembler->gpuIndirectBuffer = static_cast(info.indirectBuffer)->gpuBuffer(); + } - GLES2CmdFuncCreateInputAssembler(GLES2Device::getInstance(), _gpuInputAssembler); + cmdFuncGLES2CreateInputAssembler(GLES2Device::getInstance(), _gpuInputAssembler); } void GLES2InputAssembler::doDestroy() { if (_gpuInputAssembler) { - GLES2CmdFuncDestroyInputAssembler(GLES2Device::getInstance(), _gpuInputAssembler); + cmdFuncGLES2DestroyInputAssembler(GLES2Device::getInstance(), _gpuInputAssembler); CC_DELETE(_gpuInputAssembler); _gpuInputAssembler = nullptr; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp index 9a3fafc8e4..c010ebef29 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp @@ -38,15 +38,11 @@ namespace cc { namespace gfx { -GLES2PrimaryCommandBuffer::GLES2PrimaryCommandBuffer() -: GLES2CommandBuffer() { -} - GLES2PrimaryCommandBuffer::~GLES2PrimaryCommandBuffer() { destroy(); } -void GLES2PrimaryCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { +void GLES2PrimaryCommandBuffer::begin(RenderPass * /*renderPass*/, uint /*subpass*/, Framebuffer * /*frameBuffer*/) { _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); @@ -58,56 +54,55 @@ void GLES2PrimaryCommandBuffer::begin(RenderPass *renderPass, uint subpass, Fram void GLES2PrimaryCommandBuffer::end() { if (_isStateInvalid) { - BindStates(); + bindStates(); } _isInRenderPass = false; } -void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { - _isInRenderPass = true; - GLES2GPURenderPass *gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); +void GLES2PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const * /*secondaryCBs*/, uint /*secondaryCBCount*/) { + _isInRenderPass = true; + GLES2GPURenderPass * gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); GLES2GPUFramebuffer *gpuFramebuffer = static_cast(fbo)->gpuFBO(); - GLES2CmdFuncBeginRenderPass(GLES2Device::getInstance(), gpuRenderPass, gpuFramebuffer, + cmdFuncGLES2BeginRenderPass(GLES2Device::getInstance(), gpuRenderPass, gpuFramebuffer, renderArea, gpuRenderPass->colorAttachments.size(), colors, depth, stencil); } void GLES2PrimaryCommandBuffer::endRenderPass() { - GLES2CmdFuncEndRenderPass(GLES2Device::getInstance()); + cmdFuncGLES2EndRenderPass(GLES2Device::getInstance()); _isInRenderPass = false; } -void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { +void GLES2PrimaryCommandBuffer::draw(const DrawInfo &info) { if (_isStateInvalid) { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; - vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + for (size_t i = 0U; i < _curDynamicOffsets.size(); i++) { size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); count = std::min(count, _curDynamicOffsets[i].size()); if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } - GLES2CmdFuncBindState(GLES2Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, - _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); + cmdFuncGLES2BindState(GLES2Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, + _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); _isStateInvalid = false; } - DrawInfo drawInfo; - ia->extractDrawInfo(drawInfo); - GLES2CmdFuncDraw(GLES2Device::getInstance(), drawInfo); + cmdFuncGLES2Draw(GLES2Device::getInstance(), info); ++_numDrawCalls; - _numInstances += ia->getInstanceCount(); + _numInstances += info.instanceCount; + uint indexCount = info.indexCount ? info.indexCount : info.vertexCount; if (_curGPUPipelineState) { switch (_curGPUPipelineState->glPrimitive) { case GL_TRIANGLES: { - _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); + _numTriangles += indexCount / 3 * std::max(info.instanceCount, 1U); break; } case GL_TRIANGLE_STRIP: case GL_TRIANGLE_FAN: { - _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); + _numTriangles += (indexCount - 2) * std::max(info.instanceCount, 1U); break; } default: @@ -119,25 +114,25 @@ void GLES2PrimaryCommandBuffer::draw(InputAssembler *ia) { void GLES2PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { GLES2GPUBuffer *gpuBuffer = static_cast(buff)->gpuBuffer(); if (gpuBuffer) { - GLES2CmdFuncUpdateBuffer(GLES2Device::getInstance(), gpuBuffer, data, 0u, size); + cmdFuncGLES2UpdateBuffer(GLES2Device::getInstance(), gpuBuffer, data, 0U, size); } } void GLES2PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { GLES2GPUTexture *gpuTexture = static_cast(texture)->gpuTexture(); if (gpuTexture) { - GLES2CmdFuncCopyBuffersToTexture(GLES2Device::getInstance(), buffers, gpuTexture, regions, count); + cmdFuncGLES2CopyBuffersToTexture(GLES2Device::getInstance(), buffers, gpuTexture, regions, count); } } void GLES2PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { - GLES2PrimaryCommandBuffer *cmdBuff = (GLES2PrimaryCommandBuffer *)cmdBuffs[i]; + auto *cmdBuff = static_cast(cmdBuffs[i]); if (!cmdBuff->_pendingPackages.empty()) { GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES2CmdFuncExecuteCmds(GLES2Device::getInstance(), cmdPackage); + cmdFuncGLES2ExecuteCmds(GLES2Device::getInstance(), cmdPackage); cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); @@ -151,5 +146,20 @@ void GLES2PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t } } +void GLES2PrimaryCommandBuffer::bindStates() { + vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; + vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; + for (size_t i = 0U; i < _curDynamicOffsets.size(); i++) { + size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; + //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); + count = std::min(count, _curDynamicOffsets[i].size()); + if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); + } + cmdFuncGLES2BindState(GLES2Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, + _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); + + _isStateInvalid = false; +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h index e38010049d..144f8cb865 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h @@ -26,26 +26,29 @@ #pragma once #include "GLES2CommandBuffer.h" +#include "GLES2Std.h" namespace cc { namespace gfx { class CC_GLES2_API GLES2PrimaryCommandBuffer final : public GLES2CommandBuffer { public: - GLES2PrimaryCommandBuffer(); - ~GLES2PrimaryCommandBuffer(); + GLES2PrimaryCommandBuffer() = default; + ~GLES2PrimaryCommandBuffer() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; void endRenderPass() override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; protected: friend class GLES2Queue; + + void bindStates() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp index ffac5995b3..a5b5244a3b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Queue.cpp @@ -27,15 +27,13 @@ #include "GLES2CommandBuffer.h" #include "GLES2Commands.h" -#include "GLES2Queue.h" #include "GLES2Device.h" +#include "GLES2Queue.h" namespace cc { namespace gfx { -GLES2Queue::GLES2Queue() -: Queue() { -} +GLES2Queue::GLES2Queue() = default; GLES2Queue::~GLES2Queue() { destroy(); @@ -49,12 +47,12 @@ void GLES2Queue::doDestroy() { void GLES2Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { for (uint i = 0; i < count; ++i) { - GLES2CommandBuffer *cmdBuff = (GLES2CommandBuffer *)cmdBuffs[i]; + auto *cmdBuff = static_cast(cmdBuffs[i]); if (!cmdBuff->_pendingPackages.empty()) { GLES2CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES2CmdFuncExecuteCmds(GLES2Device::getInstance(), cmdPackage); + cmdFuncGLES2ExecuteCmds(GLES2Device::getInstance(), cmdPackage); cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); diff --git a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp index e18f10b2ea..c2d219ad99 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Sampler.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -GLES2Sampler::GLES2Sampler() -: Sampler() { -} +GLES2Sampler::GLES2Sampler() = default; GLES2Sampler::~GLES2Sampler() { destroy(); } -void GLES2Sampler::doInit(const SamplerInfo &info) { +void GLES2Sampler::doInit(const SamplerInfo & /*info*/) { _gpuSampler = CC_NEW(GLES2GPUSampler); _gpuSampler->minFilter = _minFilter; _gpuSampler->magFilter = _magFilter; @@ -49,12 +47,12 @@ void GLES2Sampler::doInit(const SamplerInfo &info) { _gpuSampler->addressV = _addressV; _gpuSampler->addressW = _addressW; - GLES2CmdFuncCreateSampler(GLES2Device::getInstance(), _gpuSampler); + cmdFuncGLES2CreateSampler(GLES2Device::getInstance(), _gpuSampler); } void GLES2Sampler::doDestroy() { if (_gpuSampler) { - GLES2CmdFuncDestroySampler(GLES2Device::getInstance(), _gpuSampler); + cmdFuncGLES2DestroySampler(GLES2Device::getInstance(), _gpuSampler); CC_DELETE(_gpuSampler); _gpuSampler = nullptr; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp index 6e8ff19fa0..e299442f2d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -GLES2Shader::GLES2Shader() -: Shader() { -} +GLES2Shader::GLES2Shader() = default; GLES2Shader::~GLES2Shader() { destroy(); } -void GLES2Shader::doInit(const ShaderInfo &info) { +void GLES2Shader::doInit(const ShaderInfo & /*info*/) { _gpuShader = CC_NEW(GLES2GPUShader); _gpuShader->name = _name; _gpuShader->blocks = _blocks; @@ -50,12 +48,12 @@ void GLES2Shader::doInit(const ShaderInfo &info) { _gpuShader->gpuStages.emplace_back(std::move(gpuShaderStage)); } - GLES2CmdFuncCreateShader(GLES2Device::getInstance(), _gpuShader); + cmdFuncGLES2CreateShader(GLES2Device::getInstance(), _gpuShader); } void GLES2Shader::doDestroy() { if (_gpuShader) { - GLES2CmdFuncDestroyShader(GLES2Device::getInstance(), _gpuShader); + cmdFuncGLES2DestroyShader(GLES2Device::getInstance(), _gpuShader); CC_DELETE(_gpuShader); _gpuShader = nullptr; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp index 5592aabda5..505a05c2fd 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Texture.cpp @@ -25,56 +25,54 @@ #include "GLES2Std.h" +#include "GLES2Commands.h" #include "GLES2Device.h" #include "GLES2Texture.h" -#include "GLES2Commands.h" namespace cc { namespace gfx { -GLES2Texture::GLES2Texture() -: Texture() { -} +GLES2Texture::GLES2Texture() = default; GLES2Texture::~GLES2Texture() { destroy(); } -void GLES2Texture::doInit(const TextureInfo &info) { - _gpuTexture = CC_NEW(GLES2GPUTexture); - _gpuTexture->type = _type; - _gpuTexture->format = _format; - _gpuTexture->usage = _usage; - _gpuTexture->width = _width; - _gpuTexture->height = _height; - _gpuTexture->depth = _depth; - _gpuTexture->size = _size; +void GLES2Texture::doInit(const TextureInfo & /*info*/) { + _gpuTexture = CC_NEW(GLES2GPUTexture); + _gpuTexture->type = _type; + _gpuTexture->format = _format; + _gpuTexture->usage = _usage; + _gpuTexture->width = _width; + _gpuTexture->height = _height; + _gpuTexture->depth = _depth; + _gpuTexture->size = _size; _gpuTexture->arrayLayer = _layerCount; - _gpuTexture->mipLevel = _levelCount; - _gpuTexture->samples = _samples; - _gpuTexture->flags = _flags; + _gpuTexture->mipLevel = _levelCount; + _gpuTexture->samples = _samples; + _gpuTexture->flags = _flags; _gpuTexture->isPowerOf2 = math::IsPowerOfTwo(_width) && math::IsPowerOfTwo(_height); - GLES2CmdFuncCreateTexture(GLES2Device::getInstance(), _gpuTexture); + cmdFuncGLES2CreateTexture(GLES2Device::getInstance(), _gpuTexture); } -void GLES2Texture::doInit(const TextureViewInfo &info) { +void GLES2Texture::doInit(const TextureViewInfo & /*info*/) { CC_LOG_ERROR("GLES2 doesn't support texture view"); } void GLES2Texture::doDestroy() { if (_gpuTexture) { - GLES2CmdFuncDestroyTexture(GLES2Device::getInstance(), _gpuTexture); + cmdFuncGLES2DestroyTexture(GLES2Device::getInstance(), _gpuTexture); CC_DELETE(_gpuTexture); _gpuTexture = nullptr; } } void GLES2Texture::doResize(uint width, uint height, uint size) { - _gpuTexture->width = width; + _gpuTexture->width = width; _gpuTexture->height = height; - _gpuTexture->size = size; - GLES2CmdFuncResizeTexture(GLES2Device::getInstance(), _gpuTexture); + _gpuTexture->size = size; + cmdFuncGLES2ResizeTexture(GLES2Device::getInstance(), _gpuTexture); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp index 27623d06f4..9ee6203cc2 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp @@ -25,55 +25,53 @@ #include "GLES3Std.h" -#include "GLES3Device.h" #include "GLES3Buffer.h" #include "GLES3Commands.h" +#include "GLES3Device.h" namespace cc { namespace gfx { -GLES3Buffer::GLES3Buffer() -: Buffer() { -} +GLES3Buffer::GLES3Buffer() = default; GLES3Buffer::~GLES3Buffer() { destroy(); } -void GLES3Buffer::doInit(const BufferInfo &info) { - _gpuBuffer = CC_NEW(GLES3GPUBuffer); - _gpuBuffer->usage = _usage; +void GLES3Buffer::doInit(const BufferInfo & /*info*/) { + _gpuBuffer = CC_NEW(GLES3GPUBuffer); + _gpuBuffer->usage = _usage; _gpuBuffer->memUsage = _memUsage; - _gpuBuffer->size = _size; - _gpuBuffer->stride = _stride; - _gpuBuffer->count = _count; + _gpuBuffer->size = _size; + _gpuBuffer->stride = _stride; + _gpuBuffer->count = _count; if (_usage & BufferUsageBit::INDIRECT) { _gpuBuffer->indirects.resize(_count); } - GLES3CmdFuncCreateBuffer(GLES3Device::getInstance(), _gpuBuffer); + cmdFuncGLES3CreateBuffer(GLES3Device::getInstance(), _gpuBuffer); } void GLES3Buffer::doInit(const BufferViewInfo &info) { - GLES3Buffer *buffer = (GLES3Buffer *)info.buffer; - _gpuBuffer = CC_NEW(GLES3GPUBuffer); - _gpuBuffer->usage = _usage; - _gpuBuffer->memUsage = _memUsage; - _gpuBuffer->size = _size; - _gpuBuffer->stride = _stride; - _gpuBuffer->count = _count; - _gpuBuffer->glTarget = buffer->_gpuBuffer->glTarget; - _gpuBuffer->glBuffer = buffer->_gpuBuffer->glBuffer; - _gpuBuffer->glOffset = info.offset; - _gpuBuffer->buffer = buffer->_gpuBuffer->buffer; + auto *buffer = static_cast(info.buffer); + _gpuBuffer = CC_NEW(GLES3GPUBuffer); + _gpuBuffer->usage = _usage; + _gpuBuffer->memUsage = _memUsage; + _gpuBuffer->size = _size; + _gpuBuffer->stride = _stride; + _gpuBuffer->count = _count; + _gpuBuffer->glTarget = buffer->_gpuBuffer->glTarget; + _gpuBuffer->glBuffer = buffer->_gpuBuffer->glBuffer; + _gpuBuffer->glOffset = info.offset; + _gpuBuffer->buffer = buffer->_gpuBuffer->buffer; _gpuBuffer->indirects = buffer->_gpuBuffer->indirects; } void GLES3Buffer::doDestroy() { if (_gpuBuffer) { if (!_isBufferView) { - GLES3CmdFuncDestroyBuffer(GLES3Device::getInstance(), _gpuBuffer); + cmdFuncGLES3DestroyBuffer(GLES3Device::getInstance(), _gpuBuffer); } CC_DELETE(_gpuBuffer); _gpuBuffer = nullptr; @@ -83,11 +81,11 @@ void GLES3Buffer::doDestroy() { void GLES3Buffer::doResize(uint size, uint count) { _gpuBuffer->size = size; _gpuBuffer->count = count; - GLES3CmdFuncResizeBuffer(GLES3Device::getInstance(), _gpuBuffer); + cmdFuncGLES3ResizeBuffer(GLES3Device::getInstance(), _gpuBuffer); } void GLES3Buffer::update(void *buffer, uint size) { - GLES3CmdFuncUpdateBuffer(GLES3Device::getInstance(), _gpuBuffer, buffer, 0u, size); + cmdFuncGLES3UpdateBuffer(GLES3Device::getInstance(), _gpuBuffer, buffer, 0U, size); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index c5f4c6e4e6..32e0c9dcaa 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -39,15 +39,11 @@ namespace cc { namespace gfx { -GLES3CommandBuffer::GLES3CommandBuffer() -: CommandBuffer() { -} - GLES3CommandBuffer::~GLES3CommandBuffer() { destroy(); } -void GLES3CommandBuffer::doInit(const CommandBufferInfo &info) { +void GLES3CommandBuffer::doInit(const CommandBufferInfo & /*info*/) { _cmdAllocator = CC_NEW(GLES3GPUCommandAllocator); _curCmdPackage = CC_NEW(GLES3CmdPackage); @@ -57,6 +53,8 @@ void GLES3CommandBuffer::doInit(const CommandBufferInfo &info) { } void GLES3CommandBuffer::doDestroy() { + if (!_cmdAllocator) return; + _cmdAllocator->clearCmds(_curCmdPackage); CC_SAFE_DELETE(_curCmdPackage); @@ -75,10 +73,10 @@ void GLES3CommandBuffer::doDestroy() { } _cmdAllocator->reset(); - CC_DELETE(_cmdAllocator); + CC_SAFE_DELETE(_cmdAllocator); } -void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { +void GLES3CommandBuffer::begin(RenderPass * /*renderPass*/, uint /*subpass*/, Framebuffer * /*frameBuffer*/) { _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); @@ -92,7 +90,7 @@ void GLES3CommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer void GLES3CommandBuffer::end() { if (_isStateInvalid) { - BindStates(); + bindStates(); } _isInRenderPass = false; @@ -105,7 +103,7 @@ void GLES3CommandBuffer::end() { } } -void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { +void GLES3CommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const * /*secondaryCBs*/, uint /*secondaryCBCount*/) { _isInRenderPass = true; GLES3CmdBeginRenderPass *cmd = _cmdAllocator->beginRenderPassCmdPool.alloc(); @@ -244,27 +242,28 @@ void GLES3CommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint m } } -void GLES3CommandBuffer::draw(InputAssembler *ia) { +void GLES3CommandBuffer::draw(const DrawInfo &info) { if (_isStateInvalid) { - BindStates(); + bindStates(); } GLES3CmdDraw *cmd = _cmdAllocator->drawCmdPool.alloc(); - static_cast(ia)->ExtractCmdDraw(cmd); + cmd->drawInfo = info; _curCmdPackage->drawCmds.push(cmd); _curCmdPackage->cmds.push(GLESCmdType::DRAW); ++_numDrawCalls; - _numInstances += ia->getInstanceCount(); + _numInstances += info.instanceCount; if (_curGPUPipelineState) { + uint indexCount = info.indexCount ? info.indexCount : info.vertexCount; switch (_curGPUPipelineState->glPrimitive) { case GL_TRIANGLES: { - _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); + _numTriangles += indexCount / 3 * std::max(info.instanceCount, 1U); break; } case GL_TRIANGLE_STRIP: case GL_TRIANGLE_FAN: { - _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); + _numTriangles += (indexCount - 2) * std::max(info.instanceCount, 1U); break; } default: @@ -279,7 +278,7 @@ void GLES3CommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) GLES3CmdUpdateBuffer *cmd = _cmdAllocator->updateBufferCmdPool.alloc(); cmd->gpuBuffer = gpuBuffer; cmd->size = size; - cmd->buffer = (uint8_t *)data; + cmd->buffer = static_cast(data); _curCmdPackage->updateBufferCmds.push(cmd); _curCmdPackage->cmds.push(GLESCmdType::UPDATE_BUFFER); @@ -317,8 +316,8 @@ void GLES3CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) CCASSERT(false, "Command 'execute' must be recorded in primary command buffers."); for (uint i = 0; i < count; ++i) { - GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; - GLES3CmdPackage * cmdPackage = cmdBuff->_pendingPackages.front(); + auto * cmdBuff = static_cast(cmdBuffs[i]); + GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); for (uint j = 0; j < cmdPackage->beginRenderPassCmds.size(); ++j) { GLES3CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[j]; @@ -376,7 +375,7 @@ void GLES3CommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) } } -void GLES3CommandBuffer::BindStates() { +void GLES3CommandBuffer::bindStates() { GLES3CmdBindStates *cmd = _cmdAllocator->bindStatesCmdPool.alloc(); cmd->gpuPipelineState = _curGPUPipelineState; cmd->gpuInputAssembler = _curGPUInputAssember; @@ -385,7 +384,7 @@ void GLES3CommandBuffer::BindStates() { if (_curGPUPipelineState) { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; cmd->dynamicOffsets.resize(_curGPUPipelineState->gpuPipelineLayout->dynamicOffsetCount); - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + for (size_t i = 0U; i < _curDynamicOffsets.size(); i++) { size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); count = std::min(count, _curDynamicOffsets[i].size()); @@ -412,7 +411,7 @@ void GLES3CommandBuffer::BindStates() { void GLES3CommandBuffer::dispatch(const DispatchInfo &info) { if (_isStateInvalid) { - BindStates(); + bindStates(); } GLES3CmdDispatch *cmd = _cmdAllocator->dispatchCmdPool.alloc(); @@ -428,10 +427,10 @@ void GLES3CommandBuffer::dispatch(const DispatchInfo &info) { _curCmdPackage->cmds.push(GLESCmdType::DISPATCH); } -void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { +void GLES3CommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const * /*textureBarriers*/, const Texture *const * /*textures*/, uint /*textureBarrierCount*/) { if (!barrier) return; - auto gpuBarrier = static_cast(barrier)->gpuBarrier(); + const auto *gpuBarrier = static_cast(barrier)->gpuBarrier(); GLES3CmdBarrier *cmd = _cmdAllocator->barrierCmdPool.alloc(); cmd->barriers = gpuBarrier->glBarriers; diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index f82c86bac1..b1d3fb2cb8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -36,8 +36,8 @@ class GLES3GPUCommandAllocator; class CC_GLES3_API GLES3CommandBuffer : public CommandBuffer { public: - GLES3CommandBuffer(); - ~GLES3CommandBuffer(); + GLES3CommandBuffer() = default; + ~GLES3CommandBuffer() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; @@ -54,7 +54,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; @@ -68,7 +68,7 @@ protected: void doInit(const CommandBufferInfo &info) override; void doDestroy() override; - virtual void BindStates(); + virtual void bindStates(); GLES3GPUCommandAllocator *_cmdAllocator = nullptr; GLES3CmdPackage *_curCmdPackage = nullptr; @@ -81,7 +81,7 @@ protected: vector> _curDynamicOffsets; Viewport _curViewport; Rect _curScissor; - float _curLineWidth = 1.0f; + float _curLineWidth = 1.0F; GLES3DepthBias _curDepthBias; Color _curBlendConstants; GLES3DepthBounds _curDepthBounds; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index e7222779e9..0689b21f15 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -37,7 +37,7 @@ namespace cc { namespace gfx { namespace { -GLenum MapGLInternalFormat(Format format) { +GLenum mapGLInternalFormat(Format format) { switch (format) { case Format::A8: return GL_ALPHA; case Format::L8: return GL_LUMINANCE; @@ -121,35 +121,35 @@ GLenum MapGLInternalFormat(Format format) { case Format::PVRTC_RGB4: return GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG; case Format::PVRTC_RGBA4: return GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG; - case Format::ASTC_RGBA_4x4: return GL_COMPRESSED_RGBA_ASTC_4x4_KHR; - case Format::ASTC_RGBA_5x4: return GL_COMPRESSED_RGBA_ASTC_5x4_KHR; - case Format::ASTC_RGBA_5x5: return GL_COMPRESSED_RGBA_ASTC_5x5_KHR; - case Format::ASTC_RGBA_6x5: return GL_COMPRESSED_RGBA_ASTC_6x5_KHR; - case Format::ASTC_RGBA_6x6: return GL_COMPRESSED_RGBA_ASTC_6x6_KHR; - case Format::ASTC_RGBA_8x5: return GL_COMPRESSED_RGBA_ASTC_8x5_KHR; - case Format::ASTC_RGBA_8x6: return GL_COMPRESSED_RGBA_ASTC_8x6_KHR; - case Format::ASTC_RGBA_8x8: return GL_COMPRESSED_RGBA_ASTC_8x8_KHR; - case Format::ASTC_RGBA_10x5: return GL_COMPRESSED_RGBA_ASTC_10x5_KHR; - case Format::ASTC_RGBA_10x6: return GL_COMPRESSED_RGBA_ASTC_10x6_KHR; - case Format::ASTC_RGBA_10x8: return GL_COMPRESSED_RGBA_ASTC_10x8_KHR; - case Format::ASTC_RGBA_10x10: return GL_COMPRESSED_RGBA_ASTC_10x10_KHR; - case Format::ASTC_RGBA_12x10: return GL_COMPRESSED_RGBA_ASTC_12x10_KHR; - case Format::ASTC_RGBA_12x12: return GL_COMPRESSED_RGBA_ASTC_12x12_KHR; + case Format::ASTC_RGBA_4X4: return GL_COMPRESSED_RGBA_ASTC_4x4_KHR; + case Format::ASTC_RGBA_5X4: return GL_COMPRESSED_RGBA_ASTC_5x4_KHR; + case Format::ASTC_RGBA_5X5: return GL_COMPRESSED_RGBA_ASTC_5x5_KHR; + case Format::ASTC_RGBA_6X5: return GL_COMPRESSED_RGBA_ASTC_6x5_KHR; + case Format::ASTC_RGBA_6X6: return GL_COMPRESSED_RGBA_ASTC_6x6_KHR; + case Format::ASTC_RGBA_8X5: return GL_COMPRESSED_RGBA_ASTC_8x5_KHR; + case Format::ASTC_RGBA_8X6: return GL_COMPRESSED_RGBA_ASTC_8x6_KHR; + case Format::ASTC_RGBA_8X8: return GL_COMPRESSED_RGBA_ASTC_8x8_KHR; + case Format::ASTC_RGBA_10X5: return GL_COMPRESSED_RGBA_ASTC_10x5_KHR; + case Format::ASTC_RGBA_10X6: return GL_COMPRESSED_RGBA_ASTC_10x6_KHR; + case Format::ASTC_RGBA_10X8: return GL_COMPRESSED_RGBA_ASTC_10x8_KHR; + case Format::ASTC_RGBA_10X10: return GL_COMPRESSED_RGBA_ASTC_10x10_KHR; + case Format::ASTC_RGBA_12X10: return GL_COMPRESSED_RGBA_ASTC_12x10_KHR; + case Format::ASTC_RGBA_12X12: return GL_COMPRESSED_RGBA_ASTC_12x12_KHR; - case Format::ASTC_SRGBA_4x4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; - case Format::ASTC_SRGBA_5x4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; - case Format::ASTC_SRGBA_5x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; - case Format::ASTC_SRGBA_6x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; - case Format::ASTC_SRGBA_6x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; - case Format::ASTC_SRGBA_8x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; - case Format::ASTC_SRGBA_8x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; - case Format::ASTC_SRGBA_8x8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; - case Format::ASTC_SRGBA_10x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; - case Format::ASTC_SRGBA_10x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; - case Format::ASTC_SRGBA_10x8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; - case Format::ASTC_SRGBA_10x10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; - case Format::ASTC_SRGBA_12x10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; - case Format::ASTC_SRGBA_12x12: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; + case Format::ASTC_SRGBA_4X4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; + case Format::ASTC_SRGBA_5X4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; + case Format::ASTC_SRGBA_5X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; + case Format::ASTC_SRGBA_6X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; + case Format::ASTC_SRGBA_6X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; + case Format::ASTC_SRGBA_8X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; + case Format::ASTC_SRGBA_8X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; + case Format::ASTC_SRGBA_8X8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; + case Format::ASTC_SRGBA_10X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; + case Format::ASTC_SRGBA_10X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; + case Format::ASTC_SRGBA_10X8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; + case Format::ASTC_SRGBA_10X10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; + case Format::ASTC_SRGBA_12X10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; + case Format::ASTC_SRGBA_12X12: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; default: { CCASSERT(false, "Unsupported Format, convert to GL internal format failed."); @@ -158,7 +158,7 @@ GLenum MapGLInternalFormat(Format format) { } } -GLenum MapGLFormat(Format format) { +GLenum mapGLFormat(Format format) { switch (format) { case Format::A8: return GL_ALPHA; case Format::L8: return GL_LUMINANCE; @@ -202,11 +202,11 @@ GLenum MapGLFormat(Format format) { case Format::RGB32F: return GL_RGB; case Format::RGBA32UI: case Format::RGBA32I: - case Format::RGBA32F: return GL_RGBA; + case Format::RGBA32F: case Format::RGB10A2: return GL_RGBA; - case Format::R11G11B10F: return GL_RGB; + case Format::R11G11B10F: case Format::R5G6B5: return GL_RGB; - case Format::RGB5A1: return GL_RGBA; + case Format::RGB5A1: case Format::RGBA4: return GL_RGBA; case Format::D16: return GL_DEPTH_COMPONENT; case Format::D16S8: return GL_DEPTH_STENCIL; @@ -241,35 +241,35 @@ GLenum MapGLFormat(Format format) { case Format::PVRTC_RGB4: return GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG; case Format::PVRTC_RGBA4: return GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG; - case Format::ASTC_RGBA_4x4: return GL_COMPRESSED_RGBA_ASTC_4x4_KHR; - case Format::ASTC_RGBA_5x4: return GL_COMPRESSED_RGBA_ASTC_5x4_KHR; - case Format::ASTC_RGBA_5x5: return GL_COMPRESSED_RGBA_ASTC_5x5_KHR; - case Format::ASTC_RGBA_6x5: return GL_COMPRESSED_RGBA_ASTC_6x5_KHR; - case Format::ASTC_RGBA_6x6: return GL_COMPRESSED_RGBA_ASTC_6x6_KHR; - case Format::ASTC_RGBA_8x5: return GL_COMPRESSED_RGBA_ASTC_8x5_KHR; - case Format::ASTC_RGBA_8x6: return GL_COMPRESSED_RGBA_ASTC_8x6_KHR; - case Format::ASTC_RGBA_8x8: return GL_COMPRESSED_RGBA_ASTC_8x8_KHR; - case Format::ASTC_RGBA_10x5: return GL_COMPRESSED_RGBA_ASTC_10x5_KHR; - case Format::ASTC_RGBA_10x6: return GL_COMPRESSED_RGBA_ASTC_10x6_KHR; - case Format::ASTC_RGBA_10x8: return GL_COMPRESSED_RGBA_ASTC_10x8_KHR; - case Format::ASTC_RGBA_10x10: return GL_COMPRESSED_RGBA_ASTC_10x10_KHR; - case Format::ASTC_RGBA_12x10: return GL_COMPRESSED_RGBA_ASTC_12x10_KHR; - case Format::ASTC_RGBA_12x12: return GL_COMPRESSED_RGBA_ASTC_12x12_KHR; + case Format::ASTC_RGBA_4X4: return GL_COMPRESSED_RGBA_ASTC_4x4_KHR; + case Format::ASTC_RGBA_5X4: return GL_COMPRESSED_RGBA_ASTC_5x4_KHR; + case Format::ASTC_RGBA_5X5: return GL_COMPRESSED_RGBA_ASTC_5x5_KHR; + case Format::ASTC_RGBA_6X5: return GL_COMPRESSED_RGBA_ASTC_6x5_KHR; + case Format::ASTC_RGBA_6X6: return GL_COMPRESSED_RGBA_ASTC_6x6_KHR; + case Format::ASTC_RGBA_8X5: return GL_COMPRESSED_RGBA_ASTC_8x5_KHR; + case Format::ASTC_RGBA_8X6: return GL_COMPRESSED_RGBA_ASTC_8x6_KHR; + case Format::ASTC_RGBA_8X8: return GL_COMPRESSED_RGBA_ASTC_8x8_KHR; + case Format::ASTC_RGBA_10X5: return GL_COMPRESSED_RGBA_ASTC_10x5_KHR; + case Format::ASTC_RGBA_10X6: return GL_COMPRESSED_RGBA_ASTC_10x6_KHR; + case Format::ASTC_RGBA_10X8: return GL_COMPRESSED_RGBA_ASTC_10x8_KHR; + case Format::ASTC_RGBA_10X10: return GL_COMPRESSED_RGBA_ASTC_10x10_KHR; + case Format::ASTC_RGBA_12X10: return GL_COMPRESSED_RGBA_ASTC_12x10_KHR; + case Format::ASTC_RGBA_12X12: return GL_COMPRESSED_RGBA_ASTC_12x12_KHR; - case Format::ASTC_SRGBA_4x4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; - case Format::ASTC_SRGBA_5x4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; - case Format::ASTC_SRGBA_5x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; - case Format::ASTC_SRGBA_6x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; - case Format::ASTC_SRGBA_6x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; - case Format::ASTC_SRGBA_8x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; - case Format::ASTC_SRGBA_8x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; - case Format::ASTC_SRGBA_8x8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; - case Format::ASTC_SRGBA_10x5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; - case Format::ASTC_SRGBA_10x6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; - case Format::ASTC_SRGBA_10x8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; - case Format::ASTC_SRGBA_10x10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; - case Format::ASTC_SRGBA_12x10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; - case Format::ASTC_SRGBA_12x12: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; + case Format::ASTC_SRGBA_4X4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR; + case Format::ASTC_SRGBA_5X4: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR; + case Format::ASTC_SRGBA_5X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR; + case Format::ASTC_SRGBA_6X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR; + case Format::ASTC_SRGBA_6X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR; + case Format::ASTC_SRGBA_8X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR; + case Format::ASTC_SRGBA_8X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR; + case Format::ASTC_SRGBA_8X8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR; + case Format::ASTC_SRGBA_10X5: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR; + case Format::ASTC_SRGBA_10X6: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR; + case Format::ASTC_SRGBA_10X8: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR; + case Format::ASTC_SRGBA_10X10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR; + case Format::ASTC_SRGBA_12X10: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR; + case Format::ASTC_SRGBA_12X12: return GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR; default: { CCASSERT(false, "Unsupported Format, convert to WebGL format failed."); @@ -278,7 +278,7 @@ GLenum MapGLFormat(Format format) { } } -GLenum MapGLType(Type type) { +GLenum mapGLType(Type type) { switch (type) { case Type::BOOL: return GL_BOOL; case Type::BOOL2: return GL_BOOL_VEC2; @@ -313,7 +313,7 @@ GLenum MapGLType(Type type) { } } -Type MapType(GLenum glType) { +Type mapType(GLenum glType) { switch (glType) { case GL_BOOL: return Type::BOOL; case GL_BOOL_VEC2: return Type::BOOL2; @@ -351,7 +351,7 @@ Type MapType(GLenum glType) { } } -GLenum FormatToGLType(Format format) { +GLenum formatToGLType(Format format) { switch (format) { case Format::R8: return GL_UNSIGNED_BYTE; case Format::R8SN: return GL_BYTE; @@ -375,7 +375,7 @@ GLenum FormatToGLType(Format format) { case Format::RG32UI: return GL_UNSIGNED_INT; case Format::RG32I: return GL_INT; - case Format::RGB8: return GL_UNSIGNED_BYTE; + case Format::RGB8: case Format::SRGB8: return GL_UNSIGNED_BYTE; case Format::RGB8SN: return GL_BYTE; case Format::RGB8UI: return GL_UNSIGNED_BYTE; @@ -387,7 +387,7 @@ GLenum FormatToGLType(Format format) { case Format::RGB32UI: return GL_UNSIGNED_INT; case Format::RGB32I: return GL_INT; - case Format::RGBA8: return GL_UNSIGNED_BYTE; + case Format::RGBA8: case Format::SRGB8_A8: return GL_UNSIGNED_BYTE; case Format::RGBA8SN: return GL_BYTE; case Format::RGBA8UI: return GL_UNSIGNED_BYTE; @@ -403,7 +403,7 @@ GLenum FormatToGLType(Format format) { case Format::R11G11B10F: return GL_UNSIGNED_INT_10F_11F_11F_REV; case Format::RGB5A1: return GL_UNSIGNED_SHORT_5_5_5_1; case Format::RGBA4: return GL_UNSIGNED_SHORT_4_4_4_4; - case Format::RGB10A2: return GL_UNSIGNED_INT_2_10_10_10_REV; + case Format::RGB10A2: case Format::RGB10A2UI: return GL_UNSIGNED_INT_2_10_10_10_REV; case Format::RGB9E5: return GL_FLOAT; @@ -414,66 +414,66 @@ GLenum FormatToGLType(Format format) { case Format::D32F: return GL_FLOAT; case Format::D32F_S8: return GL_FLOAT_32_UNSIGNED_INT_24_8_REV; - case Format::BC1: return GL_UNSIGNED_BYTE; - case Format::BC1_SRGB: return GL_UNSIGNED_BYTE; - case Format::BC2: return GL_UNSIGNED_BYTE; - case Format::BC2_SRGB: return GL_UNSIGNED_BYTE; - case Format::BC3: return GL_UNSIGNED_BYTE; - case Format::BC3_SRGB: return GL_UNSIGNED_BYTE; + case Format::BC1: + case Format::BC1_SRGB: + case Format::BC2: + case Format::BC2_SRGB: + case Format::BC3: + case Format::BC3_SRGB: case Format::BC4: return GL_UNSIGNED_BYTE; case Format::BC4_SNORM: return GL_BYTE; case Format::BC5: return GL_UNSIGNED_BYTE; case Format::BC5_SNORM: return GL_BYTE; - case Format::BC6H_SF16: return GL_FLOAT; + case Format::BC6H_SF16: case Format::BC6H_UF16: return GL_FLOAT; - case Format::BC7: return GL_UNSIGNED_BYTE; - case Format::BC7_SRGB: return GL_UNSIGNED_BYTE; + case Format::BC7: + case Format::BC7_SRGB: - case Format::ETC_RGB8: return GL_UNSIGNED_BYTE; - case Format::ETC2_RGB8: return GL_UNSIGNED_BYTE; - case Format::ETC2_SRGB8: return GL_UNSIGNED_BYTE; - case Format::ETC2_RGB8_A1: return GL_UNSIGNED_BYTE; - case Format::ETC2_SRGB8_A1: return GL_UNSIGNED_BYTE; + case Format::ETC_RGB8: + case Format::ETC2_RGB8: + case Format::ETC2_SRGB8: + case Format::ETC2_RGB8_A1: + case Format::ETC2_SRGB8_A1: case Format::EAC_R11: return GL_UNSIGNED_BYTE; case Format::EAC_R11SN: return GL_BYTE; case Format::EAC_RG11: return GL_UNSIGNED_BYTE; case Format::EAC_RG11SN: return GL_BYTE; - case Format::PVRTC_RGB2: return GL_UNSIGNED_BYTE; - case Format::PVRTC_RGBA2: return GL_UNSIGNED_BYTE; - case Format::PVRTC_RGB4: return GL_UNSIGNED_BYTE; - case Format::PVRTC_RGBA4: return GL_UNSIGNED_BYTE; - case Format::PVRTC2_2BPP: return GL_UNSIGNED_BYTE; - case Format::PVRTC2_4BPP: return GL_UNSIGNED_BYTE; + case Format::PVRTC_RGB2: + case Format::PVRTC_RGBA2: + case Format::PVRTC_RGB4: + case Format::PVRTC_RGBA4: + case Format::PVRTC2_2BPP: + case Format::PVRTC2_4BPP: - case Format::ASTC_RGBA_4x4: - case Format::ASTC_RGBA_5x4: - case Format::ASTC_RGBA_5x5: - case Format::ASTC_RGBA_6x5: - case Format::ASTC_RGBA_6x6: - case Format::ASTC_RGBA_8x5: - case Format::ASTC_RGBA_8x6: - case Format::ASTC_RGBA_8x8: - case Format::ASTC_RGBA_10x5: - case Format::ASTC_RGBA_10x6: - case Format::ASTC_RGBA_10x8: - case Format::ASTC_RGBA_10x10: - case Format::ASTC_RGBA_12x10: - case Format::ASTC_RGBA_12x12: - case Format::ASTC_SRGBA_4x4: - case Format::ASTC_SRGBA_5x4: - case Format::ASTC_SRGBA_5x5: - case Format::ASTC_SRGBA_6x5: - case Format::ASTC_SRGBA_6x6: - case Format::ASTC_SRGBA_8x5: - case Format::ASTC_SRGBA_8x6: - case Format::ASTC_SRGBA_8x8: - case Format::ASTC_SRGBA_10x5: - case Format::ASTC_SRGBA_10x6: - case Format::ASTC_SRGBA_10x8: - case Format::ASTC_SRGBA_10x10: - case Format::ASTC_SRGBA_12x10: - case Format::ASTC_SRGBA_12x12: + case Format::ASTC_RGBA_4X4: + case Format::ASTC_RGBA_5X4: + case Format::ASTC_RGBA_5X5: + case Format::ASTC_RGBA_6X5: + case Format::ASTC_RGBA_6X6: + case Format::ASTC_RGBA_8X5: + case Format::ASTC_RGBA_8X6: + case Format::ASTC_RGBA_8X8: + case Format::ASTC_RGBA_10X5: + case Format::ASTC_RGBA_10X6: + case Format::ASTC_RGBA_10X8: + case Format::ASTC_RGBA_10X10: + case Format::ASTC_RGBA_12X10: + case Format::ASTC_RGBA_12X12: + case Format::ASTC_SRGBA_4X4: + case Format::ASTC_SRGBA_5X4: + case Format::ASTC_SRGBA_5X5: + case Format::ASTC_SRGBA_6X5: + case Format::ASTC_SRGBA_6X6: + case Format::ASTC_SRGBA_8X5: + case Format::ASTC_SRGBA_8X6: + case Format::ASTC_SRGBA_8X8: + case Format::ASTC_SRGBA_10X5: + case Format::ASTC_SRGBA_10X6: + case Format::ASTC_SRGBA_10X8: + case Format::ASTC_SRGBA_10X10: + case Format::ASTC_SRGBA_12X10: + case Format::ASTC_SRGBA_12X12: return GL_UNSIGNED_BYTE; default: { @@ -482,7 +482,7 @@ GLenum FormatToGLType(Format format) { } } -uint GLTypeSize(GLenum glType) { +uint glTypeSize(GLenum glType) { switch (glType) { case GL_BOOL: return 4; case GL_BOOL_VEC2: return 8; @@ -499,7 +499,7 @@ uint GLTypeSize(GLenum glType) { case GL_FLOAT: return 4; case GL_FLOAT_VEC2: return 8; case GL_FLOAT_VEC3: return 12; - case GL_FLOAT_VEC4: return 16; + case GL_FLOAT_VEC4: case GL_FLOAT_MAT2: return 16; case GL_FLOAT_MAT2x3: return 24; case GL_FLOAT_MAT2x4: return 32; @@ -509,18 +509,18 @@ uint GLTypeSize(GLenum glType) { case GL_FLOAT_MAT4x2: return 32; case GL_FLOAT_MAT4x3: return 48; case GL_FLOAT_MAT4: return 64; - case GL_SAMPLER_2D: return 4; - case GL_SAMPLER_2D_ARRAY: return 4; - case GL_SAMPLER_2D_ARRAY_SHADOW: return 4; - case GL_SAMPLER_3D: return 4; - case GL_SAMPLER_CUBE: return 4; - case GL_INT_SAMPLER_2D: return 4; - case GL_INT_SAMPLER_2D_ARRAY: return 4; - case GL_INT_SAMPLER_3D: return 4; - case GL_INT_SAMPLER_CUBE: return 4; - case GL_UNSIGNED_INT_SAMPLER_2D: return 4; - case GL_UNSIGNED_INT_SAMPLER_2D_ARRAY: return 4; - case GL_UNSIGNED_INT_SAMPLER_3D: return 4; + case GL_SAMPLER_2D: + case GL_SAMPLER_2D_ARRAY: + case GL_SAMPLER_2D_ARRAY_SHADOW: + case GL_SAMPLER_3D: + case GL_SAMPLER_CUBE: + case GL_INT_SAMPLER_2D: + case GL_INT_SAMPLER_2D_ARRAY: + case GL_INT_SAMPLER_3D: + case GL_INT_SAMPLER_CUBE: + case GL_UNSIGNED_INT_SAMPLER_2D: + case GL_UNSIGNED_INT_SAMPLER_2D_ARRAY: + case GL_UNSIGNED_INT_SAMPLER_3D: case GL_UNSIGNED_INT_SAMPLER_CUBE: return 4; default: { CCASSERT(false, "Unsupported GLType, get type failed."); @@ -529,16 +529,16 @@ uint GLTypeSize(GLenum glType) { } } -uint GLComponentCount(GLenum glType) { +uint glComponentCount(GLenum glType) { switch (glType) { - case GL_FLOAT_MAT2: return 2; - case GL_FLOAT_MAT2x3: return 2; + case GL_FLOAT_MAT2: + case GL_FLOAT_MAT2x3: case GL_FLOAT_MAT2x4: return 2; - case GL_FLOAT_MAT3x2: return 3; - case GL_FLOAT_MAT3: return 3; + case GL_FLOAT_MAT3x2: + case GL_FLOAT_MAT3: case GL_FLOAT_MAT3x4: return 3; - case GL_FLOAT_MAT4x2: return 4; - case GL_FLOAT_MAT4x3: return 4; + case GL_FLOAT_MAT4x2: + case GL_FLOAT_MAT4x3: case GL_FLOAT_MAT4: return 4; default: { return 1; @@ -615,7 +615,7 @@ const GLenum GL_MEMORY_ACCESS[] = { }; } // namespace -void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { +void cmdFuncGLES3CreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; @@ -687,7 +687,7 @@ void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { gpuBuffer->glTarget = GL_NONE; } else if ((gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = static_cast(CC_MALLOC(gpuBuffer->size)); gpuBuffer->glTarget = GL_NONE; } else { CCASSERT(false, "Unsupported BufferType, create buffer failed."); @@ -695,7 +695,7 @@ void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { } } -void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { +void cmdFuncGLES3DestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->glBuffer) { @@ -754,10 +754,10 @@ void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glDeleteBuffers(1, &gpuBuffer->glBuffer)); gpuBuffer->glBuffer = 0; } - CC_SAFE_FREE(gpuBuffer->buffer); + CC_SAFE_FREE(gpuBuffer->buffer) } -void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { +void cmdFuncGLES3ResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); @@ -819,7 +819,7 @@ void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { if (gpuBuffer->buffer) { CC_FREE(gpuBuffer->buffer); } - gpuBuffer->buffer = (uint8_t *)CC_MALLOC(gpuBuffer->size); + gpuBuffer->buffer = static_cast(CC_MALLOC(gpuBuffer->size)); gpuBuffer->glTarget = GL_NONE; } else { CCASSERT(false, "Unsupported BufferType, resize buffer failed."); @@ -827,10 +827,10 @@ void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { } } -void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { - gpuTexture->glInternelFmt = MapGLInternalFormat(gpuTexture->format); - gpuTexture->glFormat = MapGLFormat(gpuTexture->format); - gpuTexture->glType = FormatToGLType(gpuTexture->format); +void cmdFuncGLES3CreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { + gpuTexture->glInternelFmt = mapGLInternalFormat(gpuTexture->format); + gpuTexture->glFormat = mapGLFormat(gpuTexture->format); + gpuTexture->glType = formatToGLType(gpuTexture->format); switch (gpuTexture->type) { case TextureType::TEX2D: { @@ -847,7 +847,7 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) if (gpuTexture->flags & TextureFlagBit::IMMUTABLE) { GL_CHECK(glTexStorage2D(GL_TEXTURE_2D, gpuTexture->mipLevel, gpuTexture->glInternelFmt, w, h)); } else { - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { GL_CHECK(glTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); w = std::max(1U, w >> 1); @@ -855,7 +855,7 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } } else { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + uint imgSize = formatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); @@ -879,7 +879,7 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) if (gpuTexture->flags & TextureFlagBit::IMMUTABLE) { GL_CHECK(glTexStorage2D(GL_TEXTURE_CUBE_MAP, gpuTexture->mipLevel, gpuTexture->glInternelFmt, w, h)); } else { - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { for (uint f = 0; f < 6; ++f) { GL_CHECK(glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); @@ -889,7 +889,7 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } } else { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + uint imgSize = formatSize(gpuTexture->format, w, h, 1); for (uint f = 0; f < 6; ++f) { GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); } @@ -907,7 +907,7 @@ void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } } -void GLES3CmdFuncDestroyTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { +void cmdFuncGLES3DestroyTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { if (gpuTexture->glTexture) { for (GLuint &glTexture : device->stateCache()->glTextures) { if (glTexture == gpuTexture->glTexture) { @@ -921,10 +921,10 @@ void GLES3CmdFuncDestroyTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture } } -void GLES3CmdFuncResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { - gpuTexture->glInternelFmt = MapGLInternalFormat(gpuTexture->format); - gpuTexture->glFormat = MapGLFormat(gpuTexture->format); - gpuTexture->glType = FormatToGLType(gpuTexture->format); +void cmdFuncGLES3ResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) { + gpuTexture->glInternelFmt = mapGLInternalFormat(gpuTexture->format); + gpuTexture->glFormat = mapGLFormat(gpuTexture->format); + gpuTexture->glType = formatToGLType(gpuTexture->format); switch (gpuTexture->type) { case TextureType::TEX2D: { @@ -937,7 +937,7 @@ void GLES3CmdFuncResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } uint w = gpuTexture->width; uint h = gpuTexture->height; - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { GL_CHECK(glTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, gpuTexture->glFormat, gpuTexture->glType, nullptr)); w = std::max(1U, w >> 1); @@ -945,7 +945,7 @@ void GLES3CmdFuncResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } } else { for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + uint imgSize = formatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_2D, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); @@ -962,7 +962,7 @@ void GLES3CmdFuncResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) GL_CHECK(glBindTexture(GL_TEXTURE_CUBE_MAP, gpuTexture->glTexture)); glTexture = gpuTexture->glTexture; } - if (!GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed) { + if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { for (uint f = 0; f < 6; ++f) { uint w = gpuTexture->width; uint h = gpuTexture->height; @@ -977,7 +977,7 @@ void GLES3CmdFuncResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) uint w = gpuTexture->width; uint h = gpuTexture->height; for (uint i = 0; i < gpuTexture->mipLevel; ++i) { - uint imgSize = FormatSize(gpuTexture->format, w, h, 1); + uint imgSize = formatSize(gpuTexture->format, w, h, 1); GL_CHECK(glCompressedTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, i, gpuTexture->glInternelFmt, w, h, 0, imgSize, nullptr)); w = std::max(1U, w >> 1); h = std::max(1U, h >> 1); @@ -993,7 +993,7 @@ void GLES3CmdFuncResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } } -void GLES3CmdFuncCreateSampler(GLES3Device *device, GLES3GPUSampler *gpuSampler) { +void cmdFuncGLES3CreateSampler(GLES3Device * /*device*/, GLES3GPUSampler *gpuSampler) { GL_CHECK(glGenSamplers(1, &gpuSampler->glSampler)); if (gpuSampler->minFilter == Filter::LINEAR || gpuSampler->minFilter == Filter::ANISOTROPIC) { if (gpuSampler->mipFilter == Filter::LINEAR || gpuSampler->mipFilter == Filter::ANISOTROPIC) { @@ -1019,19 +1019,19 @@ void GLES3CmdFuncCreateSampler(GLES3Device *device, GLES3GPUSampler *gpuSampler) gpuSampler->glMagFilter = GL_NEAREST; } - gpuSampler->glWrapS = GLES3_WRAPS[(int)gpuSampler->addressU]; - gpuSampler->glWrapT = GLES3_WRAPS[(int)gpuSampler->addressV]; - gpuSampler->glWrapR = GLES3_WRAPS[(int)gpuSampler->addressW]; + gpuSampler->glWrapS = GLES3_WRAPS[static_cast(gpuSampler->addressU)]; + gpuSampler->glWrapT = GLES3_WRAPS[static_cast(gpuSampler->addressV)]; + gpuSampler->glWrapR = GLES3_WRAPS[static_cast(gpuSampler->addressW)]; GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_MIN_FILTER, gpuSampler->glMinFilter)); GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_MAG_FILTER, gpuSampler->glMagFilter)); GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_WRAP_S, gpuSampler->glWrapS)); GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_WRAP_T, gpuSampler->glWrapT)); GL_CHECK(glSamplerParameteri(gpuSampler->glSampler, GL_TEXTURE_WRAP_R, gpuSampler->glWrapR)); - GL_CHECK(glSamplerParameterf(gpuSampler->glSampler, GL_TEXTURE_MIN_LOD, 0.f)); - GL_CHECK(glSamplerParameterf(gpuSampler->glSampler, GL_TEXTURE_MAX_LOD, 1000.f)); + GL_CHECK(glSamplerParameterf(gpuSampler->glSampler, GL_TEXTURE_MIN_LOD, 0.F)); + GL_CHECK(glSamplerParameterf(gpuSampler->glSampler, GL_TEXTURE_MAX_LOD, 1000.F)); } -void GLES3CmdFuncDestroySampler(GLES3Device *device, GLES3GPUSampler *gpuSampler) { +void cmdFuncGLES3DestroySampler(GLES3Device *device, GLES3GPUSampler *gpuSampler) { if (gpuSampler->glSampler) { for (GLuint &glSampler : device->stateCache()->glSamplers) { if (glSampler == gpuSampler->glSampler) { @@ -1043,7 +1043,7 @@ void GLES3CmdFuncDestroySampler(GLES3Device *device, GLES3GPUSampler *gpuSampler } } -void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { +void cmdFuncGLES3CreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GLenum glShaderStage = 0; String shaderStageStr; GLint status; @@ -1087,7 +1087,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(glGetShaderiv(gpuStage.glShader, GL_INFO_LOG_LENGTH, &logSize)); ++logSize; - GLchar *logs = (GLchar *)CC_MALLOC(logSize); + auto *logs = static_cast(CC_MALLOC(logSize)); GL_CHECK(glGetShaderInfoLog(gpuStage.glShader, logSize, nullptr, logs)); CC_LOG_ERROR("%s in %s compilation failed.", shaderStageStr.c_str(), gpuShader->name.c_str()); @@ -1127,7 +1127,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(glGetProgramiv(gpuShader->glProgram, GL_INFO_LOG_LENGTH, &logSize)); if (logSize) { ++logSize; - GLchar *logs = (GLchar *)CC_MALLOC(logSize); + auto *logs = static_cast(CC_MALLOC(logSize)); GL_CHECK(glGetProgramInfoLog(gpuShader->glProgram, logSize, nullptr, logs)); CC_LOG_ERROR(logs); @@ -1162,7 +1162,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GL_CHECK(gpuInput.glLoc = glGetAttribLocation(gpuShader->glProgram, glName)); gpuInput.binding = gpuInput.glLoc; gpuInput.name = glName; - gpuInput.type = MapType(glType); + gpuInput.type = mapType(glType); gpuInput.count = glSize; gpuInput.size = gpuInput.stride * gpuInput.count; gpuInput.glType = glType; @@ -1233,7 +1233,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } // create uniform sampler textures - if (gpuShader->samplerTextures.size()) { + if (!gpuShader->samplerTextures.empty()) { gpuShader->glSamplerTextures.resize(gpuShader->samplerTextures.size()); for (size_t i = 0; i < gpuShader->glSamplerTextures.size(); ++i) { @@ -1244,7 +1244,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { gpuSamplerTexture.name = samplerTexture.name; gpuSamplerTexture.type = samplerTexture.type; gpuSamplerTexture.count = samplerTexture.count; - gpuSamplerTexture.glType = MapGLType(gpuSamplerTexture.type); + gpuSamplerTexture.glType = mapGLType(gpuSamplerTexture.type); gpuSamplerTexture.glLoc = -1; } } @@ -1257,16 +1257,16 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { // sampler bindings in the flexible set comes strictly after buffer bindings // so we need to subtract the buffer count for these samplers - uint flexibleSetBaseOffset = 0u; + uint flexibleSetBaseOffset = 0U; for (GLES3GPUUniformBuffer &buffer : gpuShader->glBuffers) { if (buffer.set == bindingMappingInfo.flexibleSet) { flexibleSetBaseOffset++; } } - uint arrayOffset = 0u; + uint arrayOffset = 0U; - for (uint i = 0u; i < gpuShader->samplerTextures.size(); i++) { + for (uint i = 0U; i < gpuShader->samplerTextures.size(); i++) { const UniformSamplerTexture &samplerTexture = gpuShader->samplerTextures[i]; GLint glLoc = -1; GL_CHECK(glLoc = glGetUniformLocation(gpuShader->glProgram, samplerTexture.name.c_str())); @@ -1274,7 +1274,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { glActiveSamplerTextures.push_back(gpuShader->glSamplerTextures[i]); glActiveSamplerLocations.push_back(glLoc); } - if (texUnitCacheMap.count(samplerTexture.name) == 0u) { + if (texUnitCacheMap.count(samplerTexture.name) == 0U) { uint binding = samplerTexture.binding + bindingMappingInfo.samplerOffsets[samplerTexture.set] + arrayOffset; if (samplerTexture.set == bindingMappingInfo.flexibleSet) binding -= flexibleSetBaseOffset; texUnitCacheMap[samplerTexture.name] = binding % device->getCapabilities().maxTextureUnits; @@ -1285,13 +1285,13 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { if (!glActiveSamplerTextures.empty()) { vector usedTexUnits(device->getCapabilities().maxTextureUnits, false); // try to reuse existing mappings first - for (uint i = 0u; i < glActiveSamplerTextures.size(); i++) { + for (uint i = 0U; i < glActiveSamplerTextures.size(); i++) { GLES3GPUUniformSamplerTexture &glSampler = glActiveSamplerTextures[i]; - if (texUnitCacheMap.count(glSampler.name) != 0u) { + if (texUnitCacheMap.count(glSampler.name) != 0U) { uint cachedUnit = texUnitCacheMap[glSampler.name]; glSampler.glLoc = glActiveSamplerLocations[i]; - for (uint t = 0u; t < glSampler.count; t++) { + for (uint t = 0U; t < glSampler.count; t++) { while (usedTexUnits[cachedUnit]) { // the shader already compiles so we should be safe to do this here cachedUnit = (cachedUnit + 1) % device->getCapabilities().maxTextureUnits; } @@ -1301,17 +1301,17 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } } // fill in the rest sequencially - uint unitIdx = 0u; - for (uint i = 0u; i < glActiveSamplerTextures.size(); i++) { + uint unitIdx = 0U; + for (uint i = 0U; i < glActiveSamplerTextures.size(); i++) { GLES3GPUUniformSamplerTexture &glSampler = glActiveSamplerTextures[i]; if (glSampler.glLoc < 0) { glSampler.glLoc = glActiveSamplerLocations[i]; - for (uint t = 0u; t < glSampler.count; t++) { + for (uint t = 0U; t < glSampler.count; t++) { while (usedTexUnits[unitIdx]) { unitIdx = (unitIdx + 1) % device->getCapabilities().maxTextureUnits; } - if (texUnitCacheMap.count(glSampler.name) == 0u) { + if (texUnitCacheMap.count(glSampler.name) == 0U) { texUnitCacheMap[glSampler.name] = unitIdx; } glSampler.units.push_back(unitIdx); @@ -1335,7 +1335,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { gpuShader->glSamplerTextures = glActiveSamplerTextures; // create uniform storage images - if (gpuShader->images.size()) { + if (!gpuShader->images.empty()) { for (size_t i = 0; i < gpuShader->images.size(); ++i) { UniformStorageImage &image = gpuShader->images[i]; GLint glLoc = -1; @@ -1347,7 +1347,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { gpuImage.name = image.name; gpuImage.type = image.type; gpuImage.count = image.count; - gpuImage.glMemoryAccess = GL_MEMORY_ACCESS[(uint)image.memoryAccess]; + gpuImage.glMemoryAccess = GL_MEMORY_ACCESS[static_cast(image.memoryAccess)]; gpuImage.units.resize(gpuImage.count); gpuImage.glLoc = glLoc; // storage image units are immutable @@ -1358,7 +1358,7 @@ void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } } -void GLES3CmdFuncDestroyShader(GLES3Device *device, GLES3GPUShader *gpuShader) { +void cmdFuncGLES3DestroyShader(GLES3Device *device, GLES3GPUShader *gpuShader) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuShader->glProgram) { if (device->stateCache()->glProgram == gpuShader->glProgram) { @@ -1371,7 +1371,7 @@ void GLES3CmdFuncDestroyShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } } -void GLES3CmdFuncCreateInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler) { +void cmdFuncGLES3CreateInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler) { if (gpuInputAssembler->gpuIndexBuffer) { switch (gpuInputAssembler->gpuIndexBuffer->stride) { @@ -1384,19 +1384,19 @@ void GLES3CmdFuncCreateInputAssembler(GLES3Device *device, GLES3GPUInputAssemble } } - vector streamOffsets(device->getCapabilities().maxVertexAttributes, 0u); + vector streamOffsets(device->getCapabilities().maxVertexAttributes, 0U); gpuInputAssembler->glAttribs.resize(gpuInputAssembler->attributes.size()); for (size_t i = 0; i < gpuInputAssembler->glAttribs.size(); ++i) { GLES3GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[i]; const Attribute & attrib = gpuInputAssembler->attributes[i]; - GLES3GPUBuffer * gpuVB = (GLES3GPUBuffer *)gpuInputAssembler->gpuVertexBuffers[attrib.stream]; + auto * gpuVB = static_cast(gpuInputAssembler->gpuVertexBuffers[attrib.stream]); gpuAttribute.name = attrib.name; - gpuAttribute.glType = FormatToGLType(attrib.format); - gpuAttribute.size = GFX_FORMAT_INFOS[(int)attrib.format].size; - gpuAttribute.count = GFX_FORMAT_INFOS[(int)attrib.format].count; - gpuAttribute.componentCount = GLComponentCount(gpuAttribute.glType); + gpuAttribute.glType = formatToGLType(attrib.format); + gpuAttribute.size = GFX_FORMAT_INFOS[static_cast(attrib.format)].size; + gpuAttribute.count = GFX_FORMAT_INFOS[static_cast(attrib.format)].count; + gpuAttribute.componentCount = glComponentCount(gpuAttribute.glType); gpuAttribute.isNormalized = attrib.isNormalized; gpuAttribute.isInstanced = attrib.isInstanced; gpuAttribute.offset = streamOffsets[attrib.stream]; @@ -1409,7 +1409,7 @@ void GLES3CmdFuncCreateInputAssembler(GLES3Device *device, GLES3GPUInputAssemble } } -void GLES3CmdFuncDestroyInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler) { +void cmdFuncGLES3DestroyInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; for (auto it = gpuInputAssembler->glVAOs.begin(); it != gpuInputAssembler->glVAOs.end(); ++it) { if (device->stateCache()->glVAO == it->second) { @@ -1422,7 +1422,7 @@ void GLES3CmdFuncDestroyInputAssembler(GLES3Device *device, GLES3GPUInputAssembl gpuInputAssembler->glVAOs.clear(); } -void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO) { +void cmdFuncGLES3CreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO) { size_t colorViewCount = gpuFBO->gpuColorTextures.size(); uint swapchainImageIndices = 0; for (size_t i = 0; i < colorViewCount; ++i) { @@ -1456,13 +1456,13 @@ void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu } GL_CHECK(glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, (GLenum)(GL_COLOR_ATTACHMENT0 + i), gpuColorTexture->glTarget, gpuColorTexture->glTexture, mipmapLevel)); - attachments[attachmentCount++] = (GLenum)(GL_COLOR_ATTACHMENT0 + i); + attachments[attachmentCount++] = static_cast(GL_COLOR_ATTACHMENT0 + i); } } if (gpuFBO->gpuDepthStencilTexture) { GLES3GPUTexture *gpuDepthStencilTexture = gpuFBO->gpuDepthStencilTexture; - const GLenum glAttachment = GFX_FORMAT_INFOS[(int)gpuDepthStencilTexture->format].hasStencil ? GL_DEPTH_STENCIL_ATTACHMENT : GL_DEPTH_ATTACHMENT; + const GLenum glAttachment = GFX_FORMAT_INFOS[static_cast(gpuDepthStencilTexture->format)].hasStencil ? GL_DEPTH_STENCIL_ATTACHMENT : GL_DEPTH_ATTACHMENT; GL_CHECK(glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, glAttachment, gpuDepthStencilTexture->glTarget, gpuDepthStencilTexture->glTexture, gpuFBO->depthStencilMipmapLevel)); } @@ -1498,7 +1498,7 @@ void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu } } -void GLES3CmdFuncDestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO) { +void cmdFuncGLES3DestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO) { if (gpuFBO->isOffscreen) { if (gpuFBO->glFramebuffer) { if (device->stateCache()->glDrawFramebuffer == gpuFBO->glFramebuffer) { @@ -1511,7 +1511,7 @@ void GLES3CmdFuncDestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gp } } -void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRenderPass, GLES3GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { +void cmdFuncGLES3BeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRenderPass, GLES3GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; gfxStateCache.gpuRenderPass = gpuRenderPass; gfxStateCache.gpuFramebuffer = gpuFramebuffer; @@ -1593,7 +1593,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } // for if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { - bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; + bool hasDepth = GFX_FORMAT_INFOS[static_cast(gpuRenderPass->depthStencilAttachment.format)].hasDepth; if (hasDepth) { switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { case LoadOp::LOAD: break; // GL default behaviour @@ -1613,7 +1613,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen default:; } } // if (hasDepth) - bool hasStencils = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasStencil; + bool hasStencils = GFX_FORMAT_INFOS[static_cast(gpuRenderPass->depthStencilAttachment.format)].hasStencil; if (hasStencils) { switch (gpuRenderPass->depthStencilAttachment.depthLoadOp) { case LoadOp::LOAD: break; // GL default behaviour @@ -1672,7 +1672,7 @@ void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } } -void GLES3CmdFuncEndRenderPass(GLES3Device *device) { +void cmdFuncGLES3EndRenderPass(GLES3Device *device) { GLES3ObjectCache & gfxStateCache = device->stateCache()->gfxStateCache; size_t numClearColors = gfxStateCache.numClearColors; GLES3GPURenderPass * gpuRenderPass = gfxStateCache.gpuRenderPass; @@ -1700,7 +1700,7 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { } // for if (gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN) { - bool hasDepth = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasDepth; + bool hasDepth = GFX_FORMAT_INFOS[static_cast(gpuRenderPass->depthStencilAttachment.format)].hasDepth; if (hasDepth) { switch (gpuRenderPass->depthStencilAttachment.depthStoreOp) { case StoreOp::STORE: break; @@ -1712,7 +1712,7 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { default:; } } // if (hasDepth) - bool hasStencils = GFX_FORMAT_INFOS[(int)gpuRenderPass->depthStencilAttachment.format].hasStencil; + bool hasStencils = GFX_FORMAT_INFOS[static_cast(gpuRenderPass->depthStencilAttachment.format)].hasStencil; if (hasStencils) { switch (gpuRenderPass->depthStencilAttachment.stencilStoreOp) { case StoreOp::STORE: break; @@ -1731,10 +1731,10 @@ void GLES3CmdFuncEndRenderPass(GLES3Device *device) { } } -void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipelineState, GLES3GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, Viewport &viewport, Rect &scissor, - float lineWidth, bool depthBiasEnabled, GLES3DepthBias &depthBias, Color &blendConstants, GLES3DepthBounds &depthBounds, - GLES3StencilWriteMask &stencilWriteMask, GLES3StencilCompareMask &stencilCompareMask) { +void cmdFuncGLES3BindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipelineState, GLES3GPUInputAssembler *gpuInputAssembler, + const vector &gpuDescriptorSets, const vector &dynamicOffsets, + const Viewport &viewport, const Rect &scissor, float lineWidth, bool depthBiasEnabled, const GLES3DepthBias &depthBias, const Color & /*blendConstants*/, + const GLES3DepthBounds & /*depthBounds*/, const GLES3StencilWriteMask &stencilWriteMask, const GLES3StencilCompareMask &stencilCompareMask) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; GLES3GPUStateCache *cache = device->stateCache(); @@ -2003,7 +2003,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli const GLES3GPUDescriptor * gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; for (size_t u = 0; u < glSamplerTexture.units.size(); u++, gpuDescriptor++) { - uint unit = (uint)glSamplerTexture.units[u]; + uint unit = static_cast(glSamplerTexture.units[u]); if (!gpuDescriptor->gpuTexture || !gpuDescriptor->gpuSampler) { CC_LOG_ERROR("Sampler texture '%s' at binding %d set %d index %d is not bounded", @@ -2041,7 +2041,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli const GLES3GPUDescriptor * gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; for (size_t u = 0; u < glImage.units.size(); u++, gpuDescriptor++) { - uint unit = (uint)glImage.units[u]; + uint unit = static_cast(glImage.units[u]); if (!gpuDescriptor->gpuTexture) { CC_LOG_ERROR("Storage image '%s' at binding %d set %d index %d is not bounded", @@ -2074,8 +2074,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); - for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { - const GLES3GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; + for (auto &gpuInput : gpuPipelineState->gpuShader->glInputs) { for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { const GLES3GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { @@ -2112,12 +2111,11 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->glVAO = glVAO; } } else { - for (uint a = 0; a < cache->glCurrentAttribLocs.size(); ++a) { - cache->glCurrentAttribLocs[a] = false; + for (auto &&glCurrentAttribLoc : cache->glCurrentAttribLocs) { + glCurrentAttribLoc = false; } - for (size_t j = 0; j < gpuPipelineState->gpuShader->glInputs.size(); ++j) { - const GLES3GPUInput &gpuInput = gpuPipelineState->gpuShader->glInputs[j]; + for (auto &gpuInput : gpuPipelineState->gpuShader->glInputs) { for (size_t a = 0; a < gpuInputAssembler->attributes.size(); ++a) { const GLES3GPUAttribute &gpuAttribute = gpuInputAssembler->glAttribs[a]; if (gpuAttribute.name == gpuInput.name) { @@ -2179,10 +2177,11 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli break; case DynamicStateFlagBit::DEPTH_BIAS: if (cache->rs.depthBiasEnabled != depthBiasEnabled) { - if (depthBiasEnabled) + if (depthBiasEnabled) { GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); - else + } else { GL_CHECK(glDisable(GL_POLYGON_OFFSET_FILL)); + } cache->rs.depthBiasEnabled = depthBiasEnabled; } @@ -2232,7 +2231,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli case DynamicStateFlagBit::STENCIL_COMPARE_MASK: switch (stencilCompareMask.face) { case StencilFace::FRONT: - if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || + if ((cache->dss.stencilRefFront != static_cast(stencilCompareMask.refrence)) || (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], @@ -2243,7 +2242,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } break; case StencilFace::BACK: - if ((cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || + if ((cache->dss.stencilRefBack != static_cast(stencilCompareMask.refrence)) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_BACK, GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncBack], @@ -2254,9 +2253,9 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } break; case StencilFace::ALL: - if ((cache->dss.stencilRefFront != (uint)stencilCompareMask.refrence) || + if ((cache->dss.stencilRefFront != static_cast(stencilCompareMask.refrence)) || (cache->dss.stencilReadMaskFront != stencilCompareMask.compareMask) || - (cache->dss.stencilRefBack != (uint)stencilCompareMask.refrence) || + (cache->dss.stencilRefBack != static_cast(stencilCompareMask.refrence)) || (cache->dss.stencilReadMaskBack != stencilCompareMask.compareMask)) { GL_CHECK(glStencilFuncSeparate(GL_FRONT, GLES3_CMP_FUNCS[(int)cache->dss.stencilFuncFront], @@ -2282,7 +2281,7 @@ void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } } -void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { +void cmdFuncGLES3Draw(GLES3Device *device, const DrawInfo &drawInfo) { GLES3ObjectCache & gfxStateCache = device->stateCache()->gfxStateCache; GLES3GPUPipelineState * gpuPipelineState = gfxStateCache.gpuPipelineState; GLES3GPUInputAssembler *gpuInputAssembler = gfxStateCache.gpuInputAssembler; @@ -2292,7 +2291,7 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { if (!gpuInputAssembler->gpuIndirectBuffer) { if (gpuInputAssembler->gpuIndexBuffer) { if (drawInfo.indexCount > 0) { - uint8_t *offset = 0; + uint8_t *offset = nullptr; offset += drawInfo.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (drawInfo.instanceCount == 0) { GL_CHECK(glDrawElements(glPrimitive, drawInfo.indexCount, gpuInputAssembler->glIndexType, offset)); @@ -2312,7 +2311,7 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { const DrawInfo &draw = gpuInputAssembler->gpuIndirectBuffer->indirects[j]; if (gpuInputAssembler->gpuIndexBuffer) { if (draw.indexCount > 0) { - uint8_t *offset = 0; + uint8_t *offset = nullptr; offset += draw.firstIndex * gpuInputAssembler->gpuIndexBuffer->stride; if (draw.instanceCount == 0) { GL_CHECK(glDrawElements(glPrimitive, draw.indexCount, gpuInputAssembler->glIndexType, offset)); @@ -2332,7 +2331,7 @@ void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo) { } } -void GLES3CmdFuncDispatch(GLES3Device *device, const GLES3GPUDispatchInfo &info) { +void cmdFuncGLES3Dispatch(GLES3Device *device, const GLES3GPUDispatchInfo &info) { GLES3GPUStateCache *cache = device->stateCache(); if (info.indirectBuffer) { if (cache->glDispatchIndirectBuffer != info.indirectBuffer->glBuffer) { @@ -2345,17 +2344,17 @@ void GLES3CmdFuncDispatch(GLES3Device *device, const GLES3GPUDispatchInfo &info) } } -void GLES3CmdFuncMemoryBarrier(GLES3Device *device, GLbitfield barriers, GLbitfield barriersByRegion) { +void cmdFuncGLES3MemoryBarrier(GLES3Device * /*device*/, GLbitfield barriers, GLbitfield barriersByRegion) { if (barriers) glMemoryBarrier(barriers); if (barriersByRegion) glMemoryBarrierByRegion(barriersByRegion); } -void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { +void cmdFuncGLES3UpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { - memcpy((uint8_t *)gpuBuffer->indirects.data() + offset, buffer, size); + memcpy(reinterpret_cast(gpuBuffer->indirects.data()) + offset, buffer, size); } else if (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC) { - memcpy((uint8_t *)gpuBuffer->buffer + offset, buffer, size); + memcpy(gpuBuffer->buffer + offset, buffer, size); } else { switch (gpuBuffer->glTarget) { case GL_ARRAY_BUFFER: { @@ -2407,14 +2406,14 @@ void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, co } } -void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const *buffers, GLES3GPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count) { +void cmdFuncGLES3CopyBuffersToTexture(GLES3Device *device, const uint8_t *const *buffers, GLES3GPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count) { GLuint &glTexture = device->stateCache()->glTextures[device->stateCache()->texUint]; if (glTexture != gpuTexture->glTexture) { GL_CHECK(glBindTexture(gpuTexture->glTarget, gpuTexture->glTexture)); glTexture = gpuTexture->glTexture; } - bool isCompressed = GFX_FORMAT_INFOS[(int)gpuTexture->format].isCompressed; + bool isCompressed = GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed; uint n = 0; switch (gpuTexture->glTarget) { @@ -2427,7 +2426,7 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { - GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); + auto memSize = static_cast(formatSize(gpuTexture->format, w, h, 1)); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_2D, region.texSubres.mipLevel, region.texOffset.x, @@ -2462,7 +2461,7 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { - GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); + auto memSize = static_cast(formatSize(gpuTexture->format, w, h, 1)); GL_CHECK(glCompressedTexSubImage3D(GL_TEXTURE_2D_ARRAY, region.texSubres.mipLevel, region.texOffset.x, @@ -2498,7 +2497,7 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const d = region.texExtent.depth; const uint8_t *buff = buffers[n++]; if (isCompressed) { - GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); + auto memSize = static_cast(formatSize(gpuTexture->format, w, h, 1)); GL_CHECK(glCompressedTexSubImage3D(GL_TEXTURE_3D, region.texSubres.mipLevel, region.texOffset.x, @@ -2534,7 +2533,7 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const h = region.texExtent.height; const uint8_t *buff = buffers[n++]; if (isCompressed) { - GLsizei memSize = (GLsizei)FormatSize(gpuTexture->format, w, h, 1); + auto memSize = static_cast(formatSize(gpuTexture->format, w, h, 1)); GL_CHECK(glCompressedTexSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + f, region.texSubres.mipLevel, region.texOffset.x, @@ -2569,11 +2568,11 @@ void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const } } -void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc, GLES3GPUTexture *gpuTextureDst, const TextureBlit *regions, uint count, Filter filter) { +void cmdFuncGLES3BlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc, GLES3GPUTexture *gpuTextureDst, const TextureBlit *regions, uint count, Filter filter) { GLES3GPUStateCache *cache = device->stateCache(); - GLbitfield mask = 0u; - const FormatInfo &info = GFX_FORMAT_INFOS[(uint)gpuTextureSrc->format]; + GLbitfield mask = 0U; + const FormatInfo &info = GFX_FORMAT_INFOS[static_cast(gpuTextureSrc->format)]; if (info.hasDepth || info.hasStencil) { if (info.hasDepth) mask |= GL_DEPTH_BUFFER_BIT; if (info.hasStencil) mask |= GL_STENCIL_BUFFER_BIT; @@ -2581,10 +2580,10 @@ void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc mask = GL_COLOR_BUFFER_BIT; } - for (uint i = 0u; i < count; ++i) { + for (uint i = 0U; i < count; ++i) { const TextureBlit ®ion = regions[i]; - GLuint srcFramebuffer = 0u; + GLuint srcFramebuffer = 0U; if (gpuTextureSrc) srcFramebuffer = device->framebufferCacheMap()->getFramebufferFromTexture(gpuTextureSrc, region.srcSubres); #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) else @@ -2595,7 +2594,7 @@ void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc cache->glReadFramebuffer = srcFramebuffer; } - GLuint dstFramebuffer = 0u; + GLuint dstFramebuffer = 0U; if (gpuTextureDst) dstFramebuffer = device->framebufferCacheMap()->getFramebufferFromTexture(gpuTextureDst, region.srcSubres); #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) else @@ -2613,59 +2612,59 @@ void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc } } -void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { +void cmdFuncGLES3ExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage) { if (!cmdPackage->cmds.size()) return; - static uint cmdIndices[(int)GLESCmdType::COUNT] = {0}; + static uint cmdIndices[static_cast(GLESCmdType::COUNT)] = {0}; memset(cmdIndices, 0, sizeof(cmdIndices)); for (uint i = 0; i < cmdPackage->cmds.size(); ++i) { GLESCmdType cmdType = cmdPackage->cmds[i]; - uint & cmdIdx = cmdIndices[(int)cmdType]; + uint & cmdIdx = cmdIndices[static_cast(cmdType)]; switch (cmdType) { case GLESCmdType::BEGIN_RENDER_PASS: { GLES3CmdBeginRenderPass *cmd = cmdPackage->beginRenderPassCmds[cmdIdx]; - GLES3CmdFuncBeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); + cmdFuncGLES3BeginRenderPass(device, cmd->gpuRenderPass, cmd->gpuFBO, cmd->renderArea, cmd->numClearColors, cmd->clearColors, cmd->clearDepth, cmd->clearStencil); break; } case GLESCmdType::END_RENDER_PASS: { - GLES3CmdFuncEndRenderPass(device); + cmdFuncGLES3EndRenderPass(device); break; } case GLESCmdType::BIND_STATES: { GLES3CmdBindStates *cmd = cmdPackage->bindStatesCmds[cmdIdx]; - GLES3CmdFuncBindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); + cmdFuncGLES3BindState(device, cmd->gpuPipelineState, cmd->gpuInputAssembler, cmd->gpuDescriptorSets, cmd->dynamicOffsets, cmd->viewport, cmd->scissor, cmd->lineWidth, cmd->depthBiasEnabled, cmd->depthBias, cmd->blendConstants, cmd->depthBounds, cmd->stencilWriteMask, cmd->stencilCompareMask); break; } case GLESCmdType::DRAW: { GLES3CmdDraw *cmd = cmdPackage->drawCmds[cmdIdx]; - GLES3CmdFuncDraw(device, cmd->drawInfo); + cmdFuncGLES3Draw(device, cmd->drawInfo); break; } case GLESCmdType::DISPATCH: { GLES3CmdDispatch *cmd = cmdPackage->dispatchCmds[cmdIdx]; - GLES3CmdFuncDispatch(device, cmd->dispatchInfo); + cmdFuncGLES3Dispatch(device, cmd->dispatchInfo); break; } case GLESCmdType::BARRIER: { GLES3CmdBarrier *cmd = cmdPackage->barrierCmds[cmdIdx]; - GLES3CmdFuncMemoryBarrier(device, cmd->barriers, cmd->barriersByRegion); + cmdFuncGLES3MemoryBarrier(device, cmd->barriers, cmd->barriersByRegion); break; } case GLESCmdType::UPDATE_BUFFER: { GLES3CmdUpdateBuffer *cmd = cmdPackage->updateBufferCmds[cmdIdx]; - GLES3CmdFuncUpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); + cmdFuncGLES3UpdateBuffer(device, cmd->gpuBuffer, cmd->buffer, cmd->offset, cmd->size); break; } case GLESCmdType::COPY_BUFFER_TO_TEXTURE: { GLES3CmdCopyBufferToTexture *cmd = cmdPackage->copyBufferToTextureCmds[cmdIdx]; - GLES3CmdFuncCopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); + cmdFuncGLES3CopyBuffersToTexture(device, cmd->buffers, cmd->gpuTexture, cmd->regions, cmd->count); break; } case GLESCmdType::BLIT_TEXTURE: { GLES3CmdBlitTexture *cmd = cmdPackage->blitTextureCmds[cmdIdx]; - GLES3CmdFuncBlitTexture(device, cmd->gpuTextureSrc, cmd->gpuTextureDst, cmd->regions, cmd->count, cmd->filter); + cmdFuncGLES3BlitTexture(device, cmd->gpuTextureSrc, cmd->gpuTextureDst, cmd->regions, cmd->count, cmd->filter); break; } default: diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 6de1737a7c..1013a6fb45 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -25,8 +25,8 @@ #pragma once -#include "../gfx-gles-common/GLESCommandPool.h" #include "GLES3GPUObjects.h" +#include "gfx-gles-common/GLESCommandPool.h" namespace cc { namespace gfx { @@ -34,57 +34,57 @@ namespace gfx { class GLES3Device; struct GLES3DepthBias final { - float constant = 0.0f; - float clamp = 0.0f; - float slope = 0.0f; + float constant = 0.0F; + float clamp = 0.0F; + float slope = 0.0F; }; struct GLES3DepthBounds final { - float minBounds = 0.0f; - float maxBounds = 0.0f; + float minBounds = 0.0F; + float maxBounds = 0.0F; }; struct GLES3StencilWriteMask final { - StencilFace face = StencilFace::FRONT; - uint writeMask = 0; + StencilFace face = StencilFace::FRONT; + uint writeMask = 0; }; struct GLES3StencilCompareMask final { - StencilFace face = StencilFace::FRONT; - int refrence = 0; - uint compareMask = 0; + StencilFace face = StencilFace::FRONT; + int refrence = 0; + uint compareMask = 0; }; struct GLES3TextureSubres final { - uint baseMipLevel = 0; - uint levelCount = 1; + uint baseMipLevel = 0; + uint levelCount = 1; uint baseArrayLayer = 0; - uint layerCount = 1; + uint layerCount = 1; }; struct GLES3BufferTextureCopy final { - uint buffOffset = 0; - uint buffStride = 0; - uint buffTexHeight = 0; - uint texOffset[3] = {0}; - uint texExtent[3] = {0}; + uint buffOffset = 0; + uint buffStride = 0; + uint buffTexHeight = 0; + uint texOffset[3] = {0}; + uint texExtent[3] = {0}; GLES3TextureSubres texSubres; }; class GLES3CmdBeginRenderPass final : public GLESCmd { public: - GLES3GPURenderPass *gpuRenderPass = nullptr; - GLES3GPUFramebuffer *gpuFBO = nullptr; - Rect renderArea; - size_t numClearColors = 0; - Color clearColors[GFX_MAX_ATTACHMENTS]; - float clearDepth = 1.0f; - int clearStencil = 0; + GLES3GPURenderPass * gpuRenderPass = nullptr; + GLES3GPUFramebuffer *gpuFBO = nullptr; + Rect renderArea; + size_t numClearColors = 0; + Color clearColors[GFX_MAX_ATTACHMENTS]; + float clearDepth = 1.0F; + int clearStencil = 0; GLES3CmdBeginRenderPass() : GLESCmd(GLESCmdType::BEGIN_RENDER_PASS) {} void clear() override { - gpuFBO = nullptr; + gpuFBO = nullptr; numClearColors = 0; } }; @@ -103,24 +103,24 @@ enum class GLES3State { class GLES3CmdBindStates final : public GLESCmd { public: - GLES3GPUPipelineState *gpuPipelineState = nullptr; - GLES3GPUInputAssembler *gpuInputAssembler = nullptr; + GLES3GPUPipelineState * gpuPipelineState = nullptr; + GLES3GPUInputAssembler * gpuInputAssembler = nullptr; vector gpuDescriptorSets; - vector dynamicOffsets; - Viewport viewport; - Rect scissor; - float lineWidth = 1.0f; - bool depthBiasEnabled = false; - GLES3DepthBias depthBias; - Color blendConstants; - GLES3DepthBounds depthBounds; - GLES3StencilWriteMask stencilWriteMask; - GLES3StencilCompareMask stencilCompareMask; + vector dynamicOffsets; + Viewport viewport; + Rect scissor; + float lineWidth = 1.0F; + bool depthBiasEnabled = false; + GLES3DepthBias depthBias; + Color blendConstants; + GLES3DepthBounds depthBounds; + GLES3StencilWriteMask stencilWriteMask; + GLES3StencilCompareMask stencilCompareMask; GLES3CmdBindStates() : GLESCmd(GLESCmdType::BIND_STATES) {} void clear() override { - gpuPipelineState = nullptr; + gpuPipelineState = nullptr; gpuInputAssembler = nullptr; gpuDescriptorSets.clear(); dynamicOffsets.clear(); @@ -148,117 +148,117 @@ public: class GLES3CmdBarrier final : public GLESCmd { public: - GLbitfield barriers = 0u; - GLbitfield barriersByRegion = 0u; + GLbitfield barriers = 0U; + GLbitfield barriersByRegion = 0U; GLES3CmdBarrier() : GLESCmd(GLESCmdType::BARRIER) {} void clear() override { - barriers = 0u; - barriersByRegion = 0u; + barriers = 0U; + barriersByRegion = 0U; } }; class GLES3CmdUpdateBuffer final : public GLESCmd { public: GLES3GPUBuffer *gpuBuffer = nullptr; - uint8_t *buffer = nullptr; - uint size = 0; - uint offset = 0; + const uint8_t * buffer = nullptr; + uint size = 0; + uint offset = 0; GLES3CmdUpdateBuffer() : GLESCmd(GLESCmdType::UPDATE_BUFFER) {} void clear() override { gpuBuffer = nullptr; - buffer = nullptr; + buffer = nullptr; } }; class GLES3CmdCopyBufferToTexture final : public GLESCmd { public: - GLES3GPUTexture *gpuTexture = nullptr; - const BufferTextureCopy *regions = nullptr; - uint count = 0u; - const uint8_t *const *buffers; + GLES3GPUTexture * gpuTexture = nullptr; + const BufferTextureCopy *regions = nullptr; + uint count = 0U; + const uint8_t *const * buffers; GLES3CmdCopyBufferToTexture() : GLESCmd(GLESCmdType::COPY_BUFFER_TO_TEXTURE) {} void clear() override { gpuTexture = nullptr; - regions = nullptr; - count = 0u; - buffers = nullptr; + regions = nullptr; + count = 0U; + buffers = nullptr; } }; class GLES3CmdBlitTexture final : public GLESCmd { public: - GLES3GPUTexture *gpuTextureSrc = nullptr; - GLES3GPUTexture *gpuTextureDst = nullptr; - const TextureBlit *regions = nullptr; - uint count = 0u; - Filter filter = Filter::POINT; + GLES3GPUTexture * gpuTextureSrc = nullptr; + GLES3GPUTexture * gpuTextureDst = nullptr; + const TextureBlit *regions = nullptr; + uint count = 0U; + Filter filter = Filter::POINT; GLES3CmdBlitTexture() : GLESCmd(GLESCmdType::BLIT_TEXTURE) {} void clear() override { gpuTextureSrc = nullptr; gpuTextureDst = nullptr; - regions = nullptr; - count = 0u; + regions = nullptr; + count = 0U; } }; class GLES3CmdPackage final : public Object { public: - CachedArray cmds; - CachedArray beginRenderPassCmds; - CachedArray bindStatesCmds; - CachedArray drawCmds; - CachedArray dispatchCmds; - CachedArray barrierCmds; - CachedArray updateBufferCmds; + CachedArray cmds; + CachedArray beginRenderPassCmds; + CachedArray bindStatesCmds; + CachedArray drawCmds; + CachedArray dispatchCmds; + CachedArray barrierCmds; + CachedArray updateBufferCmds; CachedArray copyBufferToTextureCmds; - CachedArray blitTextureCmds; + CachedArray blitTextureCmds; }; class GLES3GPUCommandAllocator final : public Object { public: - CommandPool beginRenderPassCmdPool; - CommandPool bindStatesCmdPool; - CommandPool drawCmdPool; - CommandPool dispatchCmdPool; - CommandPool barrierCmdPool; - CommandPool updateBufferCmdPool; + CommandPool beginRenderPassCmdPool; + CommandPool bindStatesCmdPool; + CommandPool drawCmdPool; + CommandPool dispatchCmdPool; + CommandPool barrierCmdPool; + CommandPool updateBufferCmdPool; CommandPool copyBufferToTextureCmdPool; - CommandPool blitTextureCmdPool; + CommandPool blitTextureCmdPool; - void clearCmds(GLES3CmdPackage *cmd_package) { - if (cmd_package->beginRenderPassCmds.size()) { - beginRenderPassCmdPool.freeCmds(cmd_package->beginRenderPassCmds); + void clearCmds(GLES3CmdPackage *cmdPackage) { + if (cmdPackage->beginRenderPassCmds.size()) { + beginRenderPassCmdPool.freeCmds(cmdPackage->beginRenderPassCmds); } - if (cmd_package->bindStatesCmds.size()) { - bindStatesCmdPool.freeCmds(cmd_package->bindStatesCmds); + if (cmdPackage->bindStatesCmds.size()) { + bindStatesCmdPool.freeCmds(cmdPackage->bindStatesCmds); } - if (cmd_package->drawCmds.size()) { - drawCmdPool.freeCmds(cmd_package->drawCmds); + if (cmdPackage->drawCmds.size()) { + drawCmdPool.freeCmds(cmdPackage->drawCmds); } - if (cmd_package->dispatchCmds.size()) { - dispatchCmdPool.freeCmds(cmd_package->dispatchCmds); + if (cmdPackage->dispatchCmds.size()) { + dispatchCmdPool.freeCmds(cmdPackage->dispatchCmds); } - if (cmd_package->barrierCmds.size()) { - barrierCmdPool.freeCmds(cmd_package->barrierCmds); + if (cmdPackage->barrierCmds.size()) { + barrierCmdPool.freeCmds(cmdPackage->barrierCmds); } - if (cmd_package->updateBufferCmds.size()) { - updateBufferCmdPool.freeCmds(cmd_package->updateBufferCmds); + if (cmdPackage->updateBufferCmds.size()) { + updateBufferCmdPool.freeCmds(cmdPackage->updateBufferCmds); } - if (cmd_package->copyBufferToTextureCmds.size()) { - copyBufferToTextureCmdPool.freeCmds(cmd_package->copyBufferToTextureCmds); + if (cmdPackage->copyBufferToTextureCmds.size()) { + copyBufferToTextureCmdPool.freeCmds(cmdPackage->copyBufferToTextureCmds); } - if (cmd_package->blitTextureCmds.size()) { - blitTextureCmdPool.freeCmds(cmd_package->blitTextureCmds); + if (cmdPackage->blitTextureCmds.size()) { + blitTextureCmdPool.freeCmds(cmdPackage->blitTextureCmds); } - cmd_package->cmds.clear(); + cmdPackage->cmds.clear(); } CC_INLINE void reset() { @@ -273,36 +273,36 @@ public: } }; -CC_GLES3_API void GLES3CmdFuncCreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); -CC_GLES3_API void GLES3CmdFuncDestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); -CC_GLES3_API void GLES3CmdFuncResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); -CC_GLES3_API void GLES3CmdFuncCreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture); -CC_GLES3_API void GLES3CmdFuncDestroyTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture); -CC_GLES3_API void GLES3CmdFuncResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture); -CC_GLES3_API void GLES3CmdFuncCreateSampler(GLES3Device *device, GLES3GPUSampler *gpuSampler); -CC_GLES3_API void GLES3CmdFuncDestroySampler(GLES3Device *device, GLES3GPUSampler *gpuSampler); -CC_GLES3_API void GLES3CmdFuncCreateShader(GLES3Device *device, GLES3GPUShader *gpuShader); -CC_GLES3_API void GLES3CmdFuncDestroyShader(GLES3Device *device, GLES3GPUShader *gpuShader); -CC_GLES3_API void GLES3CmdFuncCreateInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler); -CC_GLES3_API void GLES3CmdFuncDestroyInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler); -CC_GLES3_API void GLES3CmdFuncCreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO); -CC_GLES3_API void GLES3CmdFuncDestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO); +CC_GLES3_API void cmdFuncGLES3CreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); +CC_GLES3_API void cmdFuncGLES3DestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); +CC_GLES3_API void cmdFuncGLES3ResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer); +CC_GLES3_API void cmdFuncGLES3CreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture); +CC_GLES3_API void cmdFuncGLES3DestroyTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture); +CC_GLES3_API void cmdFuncGLES3ResizeTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture); +CC_GLES3_API void cmdFuncGLES3CreateSampler(GLES3Device *device, GLES3GPUSampler *gpuSampler); +CC_GLES3_API void cmdFuncGLES3DestroySampler(GLES3Device *device, GLES3GPUSampler *gpuSampler); +CC_GLES3_API void cmdFuncGLES3CreateShader(GLES3Device *device, GLES3GPUShader *gpuShader); +CC_GLES3_API void cmdFuncGLES3DestroyShader(GLES3Device *device, GLES3GPUShader *gpuShader); +CC_GLES3_API void cmdFuncGLES3CreateInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler); +CC_GLES3_API void cmdFuncGLES3DestroyInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler); +CC_GLES3_API void cmdFuncGLES3CreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO); +CC_GLES3_API void cmdFuncGLES3DestroyFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpuFBO); -CC_GLES3_API void GLES3CmdFuncBeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRenderPass, GLES3GPUFramebuffer *gpuFBO, +CC_GLES3_API void cmdFuncGLES3BeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRenderPass, GLES3GPUFramebuffer *gpuFramebuffer, const Rect &renderArea, size_t numClearColors, const Color *clearColors, float clearDepth, int clearStencil); -CC_GLES3_API void GLES3CmdFuncEndRenderPass(GLES3Device *device); -CC_GLES3_API void GLES3CmdFuncBindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipelineState, GLES3GPUInputAssembler *gpuInputAssembler, - vector &gpuDescriptorSets, vector &dynamicOffsets, - Viewport &viewport, Rect &scissor, float lineWidth, bool depthBiasEnabled, GLES3DepthBias &depthBias, Color &blendConstants, - GLES3DepthBounds &depthBounds, GLES3StencilWriteMask &stencilWriteMask, GLES3StencilCompareMask &stencilCompareMask); -CC_GLES3_API void GLES3CmdFuncDraw(GLES3Device *device, DrawInfo &drawInfo); -CC_GLES3_API void GLES3CmdFuncUpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size); -CC_GLES3_API void GLES3CmdFuncCopyBuffersToTexture(GLES3Device *device, const uint8_t *const *buffers, +CC_GLES3_API void cmdFuncGLES3EndRenderPass(GLES3Device *device); +CC_GLES3_API void cmdFuncGLES3BindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipelineState, GLES3GPUInputAssembler *gpuInputAssembler, + const vector &gpuDescriptorSets, const vector &dynamicOffsets, + const Viewport &viewport, const Rect &scissor, float lineWidth, bool depthBiasEnabled, const GLES3DepthBias &depthBias, const Color &blendConstants, + const GLES3DepthBounds &depthBounds, const GLES3StencilWriteMask &stencilWriteMask, const GLES3StencilCompareMask &stencilCompareMask); +CC_GLES3_API void cmdFuncGLES3Draw(GLES3Device *device, const DrawInfo &drawInfo); +CC_GLES3_API void cmdFuncGLES3UpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size); +CC_GLES3_API void cmdFuncGLES3CopyBuffersToTexture(GLES3Device *device, const uint8_t *const *buffers, GLES3GPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count); -CC_GLES3_API void GLES3CmdFuncBlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc, GLES3GPUTexture *gpuTextureDst, const TextureBlit *regions, uint count, Filter filter); -CC_GLES3_API void GLES3CmdFuncExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage); -CC_GLES3_API void GLES3CmdFuncDispatch(GLES3Device *device, const GLES3GPUDispatchInfo &info); -CC_GLES3_API void GLES3CmdFuncMemoryBarrier(GLES3Device *device, GLbitfield barriers, GLbitfield barriersByRegion); +CC_GLES3_API void cmdFuncGLES3BlitTexture(GLES3Device *device, GLES3GPUTexture *gpuTextureSrc, GLES3GPUTexture *gpuTextureDst, const TextureBlit *regions, uint count, Filter filter); +CC_GLES3_API void cmdFuncGLES3ExecuteCmds(GLES3Device *device, GLES3CmdPackage *cmdPackage); +CC_GLES3_API void cmdFuncGLES3Dispatch(GLES3Device *device, const GLES3GPUDispatchInfo &info); +CC_GLES3_API void cmdFuncGLES3MemoryBarrier(GLES3Device *device, GLbitfield barriers, GLbitfield barriersByRegion); } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 700fd83abd..a3b3f90d2b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -84,12 +84,9 @@ void GL_APIENTRY GLES3EGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum #endif -GLES3Context::GLES3Context() -: Context() { -} +GLES3Context::GLES3Context() = default; -GLES3Context::~GLES3Context() { -} +GLES3Context::~GLES3Context() = default; #if (CC_PLATFORM == CC_PLATFORM_WINDOWS || CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_MAC_OSX) @@ -209,10 +206,10 @@ bool GLES3Context::doInit(const ContextInfo &info) { uint width = GLES3Device::getInstance()->getWidth(); uint height = GLES3Device::getInstance()->getHeight(); - ANativeWindow_setBuffersGeometry((ANativeWindow *)_windowHandle, width, height, nFmt); + ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); #endif - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), NULL)); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), nullptr)); if (_eglSurface == EGL_NO_SURFACE) { auto err = eglGetError(); CC_LOG_ERROR("Window surface created failed. code %d", err); @@ -247,7 +244,7 @@ bool GLES3Context::doInit(const ContextInfo &info) { #endif ctxAttribs[n] = EGL_NONE; - EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, NULL, ctxAttribs)); + EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, nullptr, ctxAttribs)); if (_eglContext) { _minorVersion = m; break; @@ -257,7 +254,7 @@ bool GLES3Context::doInit(const ContextInfo &info) { ctxAttribs[n++] = EGL_CONTEXT_CLIENT_VERSION; ctxAttribs[n++] = _majorVersion; ctxAttribs[n] = EGL_NONE; - EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, NULL, ctxAttribs)); + EGL_CHECK(_eglContext = eglCreateContext(_eglDisplay, _eglConfig, nullptr, ctxAttribs)); } if (!_eglContext) { @@ -268,7 +265,7 @@ bool GLES3Context::doInit(const ContextInfo &info) { _eglSharedContext = _eglContext; } else { - GLES3Context *sharedCtx = (GLES3Context *)info.sharedCtx; + auto *sharedCtx = static_cast(info.sharedCtx); _majorVersion = sharedCtx->major_ver(); _minorVersion = sharedCtx->minor_ver(); @@ -346,12 +343,12 @@ void GLES3Context::doDestroy() { _isPrimaryContex = false; _windowHandle = 0; - _nativeDisplay = 0; + _nativeDisplay = 0; // NOLINT(modernize-use-nullptr) portability issues _vsyncMode = VsyncMode::OFF; _isInitialized = false; } -void GLES3Context::releaseSurface(uintptr_t windowHandle) { +void GLES3Context::releaseSurface(uintptr_t /*windowHandle*/) { #if (CC_PLATFORM == CC_PLATFORM_ANDROID) if (_eglSurface != EGL_NO_SURFACE) { eglDestroySurface(_eglDisplay, _eglSurface); @@ -373,7 +370,7 @@ void GLES3Context::acquireSurface(uintptr_t windowHandle) { uint height = GLES3Device::getInstance()->getHeight(); ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), NULL)); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), nullptr)); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Recreate window surface failed."); return; @@ -412,7 +409,7 @@ bool GLES3Context::MakeCurrent(bool bound) { int interval = 1; switch (_vsyncMode) { case VsyncMode::OFF: interval = 0; break; - case VsyncMode::ON: interval = 1; break; + case VsyncMode::ON: case VsyncMode::RELAXED: interval = 1; break; case VsyncMode::MAILBOX: interval = 0; break; case VsyncMode::HALF: interval = 2; break; @@ -472,14 +469,13 @@ bool GLES3Context::MakeCurrent(bool bound) { GL_CHECK(glBlendEquationSeparate(GL_FUNC_ADD, GL_FUNC_ADD)); GL_CHECK(glBlendFuncSeparate(GL_ONE, GL_ZERO, GL_ONE, GL_ZERO)); GL_CHECK(glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE)); - GL_CHECK(glBlendColor(0.0f, 0.0f, 0.0f, 0.0f)); + GL_CHECK(glBlendColor(0.0F, 0.0F, 0.0F, 0.0F)); CC_LOG_DEBUG("eglMakeCurrent() - SUCCEEDED, Context: 0x%p", this); return true; - } else { - CC_LOG_ERROR("MakeCurrent() - FAILED, Context: 0x%p", this); - return false; } + CC_LOG_ERROR("MakeCurrent() - FAILED, Context: 0x%p", this); + return false; } bool GLES3Context::CheckExtension(const String &extension) const { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index bc7dace259..5b80af275c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -46,24 +46,24 @@ namespace cc { namespace gfx { -GLES3Device *GLES3Device::_instance = nullptr; +GLES3Device *GLES3Device::instance = nullptr; GLES3Device *GLES3Device::getInstance() { - return GLES3Device::_instance; + return GLES3Device::instance; } GLES3Device::GLES3Device() { - _API = API::GLES3; + _api = API::GLES3; _deviceName = "GLES3"; - GLES3Device::_instance = this; + GLES3Device::instance = this; } GLES3Device::~GLES3Device() { - GLES3Device::_instance = nullptr; + GLES3Device::instance = nullptr; } -bool GLES3Device::doInit(const DeviceInfo &info) { +bool GLES3Device::doInit(const DeviceInfo & /*info*/) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; @@ -88,7 +88,7 @@ bool GLES3Device::doInit(const DeviceInfo &info) { bindRenderContext(true); - String extStr = (const char *)glGetString(GL_EXTENSIONS); + String extStr = reinterpret_cast(glGetString(GL_EXTENSIONS)); _extensions = StringUtil::split(extStr, " "); _features[static_cast(Feature::TEXTURE_FLOAT)] = true; @@ -102,20 +102,25 @@ bool GLES3Device::doInit(const DeviceInfo &info) { _features[static_cast(Feature::ELEMENT_INDEX_UINT)] = true; uint minorVersion = static_cast(_context)->minor_ver(); - if (minorVersion) + if (minorVersion) { _features[static_cast(Feature::COMPUTE_SHADER)] = true; + } - if (checkExtension("color_buffer_float")) + if (checkExtension("color_buffer_float")) { _features[static_cast(Feature::COLOR_FLOAT)] = true; + } - if (checkExtension("color_buffer_half_float")) + if (checkExtension("color_buffer_half_float")) { _features[static_cast(Feature::COLOR_HALF_FLOAT)] = true; + } - if (checkExtension("texture_float_linear")) + if (checkExtension("texture_float_linear")) { _features[static_cast(Feature::TEXTURE_FLOAT_LINEAR)] = true; + } - if (checkExtension("texture_half_float_linear")) + if (checkExtension("texture_half_float_linear")) { _features[static_cast(Feature::TEXTURE_HALF_FLOAT_LINEAR)] = true; + } String compressedFmts; @@ -147,9 +152,9 @@ bool GLES3Device::doInit(const DeviceInfo &info) { _features[static_cast(Feature::FORMAT_D24S8)] = true; _features[static_cast(Feature::FORMAT_D32FS8)] = true; - _renderer = (const char *)glGetString(GL_RENDERER); - _vendor = (const char *)glGetString(GL_VENDOR); - _version = (const char *)glGetString(GL_VERSION); + _renderer = reinterpret_cast(glGetString(GL_RENDERER)); + _vendor = reinterpret_cast(glGetString(GL_VENDOR)); + _version = reinterpret_cast(glGetString(GL_VERSION)); CC_LOG_INFO("GLES3 device initialized."); CC_LOG_INFO("RENDERER: %s", _renderer.c_str()); @@ -159,31 +164,31 @@ bool GLES3Device::doInit(const DeviceInfo &info) { CC_LOG_INFO("NATIVE_SIZE: %d x %d", _nativeWidth, _nativeHeight); CC_LOG_INFO("COMPRESSED_FORMATS: %s", compressedFmts.c_str()); - glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, (GLint *)&_caps.maxVertexAttributes); - glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, (GLint *)&_caps.maxVertexUniformVectors); - glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, (GLint *)&_caps.maxFragmentUniformVectors); - glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, (GLint *)&_caps.maxUniformBufferBindings); - glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, (GLint *)&_caps.maxUniformBlockSize); - glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxTextureUnits); - glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, (GLint *)&_caps.maxVertexTextureUnits); - glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&_caps.maxTextureSize); - glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, (GLint *)&_caps.maxCubeMapTextureSize); - glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, (GLint *)&_caps.uboOffsetAlignment); - glGetIntegerv(GL_DEPTH_BITS, (GLint *)&_caps.depthBits); - glGetIntegerv(GL_STENCIL_BITS, (GLint *)&_caps.stencilBits); + glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, reinterpret_cast(&_caps.maxVertexAttributes)); + glGetIntegerv(GL_MAX_VERTEX_UNIFORM_VECTORS, reinterpret_cast(&_caps.maxVertexUniformVectors)); + glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, reinterpret_cast(&_caps.maxFragmentUniformVectors)); + glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, reinterpret_cast(&_caps.maxUniformBufferBindings)); + glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, reinterpret_cast(&_caps.maxUniformBlockSize)); + glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, reinterpret_cast(&_caps.maxTextureUnits)); + glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, reinterpret_cast(&_caps.maxVertexTextureUnits)); + glGetIntegerv(GL_MAX_TEXTURE_SIZE, reinterpret_cast(&_caps.maxTextureSize)); + glGetIntegerv(GL_MAX_CUBE_MAP_TEXTURE_SIZE, reinterpret_cast(&_caps.maxCubeMapTextureSize)); + glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, reinterpret_cast(&_caps.uboOffsetAlignment)); + glGetIntegerv(GL_DEPTH_BITS, reinterpret_cast(&_caps.depthBits)); + glGetIntegerv(GL_STENCIL_BITS, reinterpret_cast(&_caps.stencilBits)); if (minorVersion) { - glGetIntegerv(GL_MAX_IMAGE_UNITS, (GLint *)&_caps.maxImageUnits); - glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE, (GLint *)&_caps.maxShaderStorageBlockSize); - glGetIntegerv(GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, (GLint *)&_caps.maxShaderStorageBufferBindings); - glGetIntegerv(GL_MAX_COMPUTE_SHARED_MEMORY_SIZE, (GLint *)&_caps.maxComputeSharedMemorySize); - glGetIntegerv(GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS, (GLint *)&_caps.maxComputeWorkGroupInvocations); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 0, (GLint *)&_caps.maxComputeWorkGroupSize.x); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 1, (GLint *)&_caps.maxComputeWorkGroupSize.y); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 2, (GLint *)&_caps.maxComputeWorkGroupSize.z); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 0, (GLint *)&_caps.maxComputeWorkGroupCount.x); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 1, (GLint *)&_caps.maxComputeWorkGroupCount.y); - glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 2, (GLint *)&_caps.maxComputeWorkGroupCount.z); + glGetIntegerv(GL_MAX_IMAGE_UNITS, reinterpret_cast(&_caps.maxImageUnits)); + glGetIntegerv(GL_MAX_SHADER_STORAGE_BLOCK_SIZE, reinterpret_cast(&_caps.maxShaderStorageBlockSize)); + glGetIntegerv(GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS, reinterpret_cast(&_caps.maxShaderStorageBufferBindings)); + glGetIntegerv(GL_MAX_COMPUTE_SHARED_MEMORY_SIZE, reinterpret_cast(&_caps.maxComputeSharedMemorySize)); + glGetIntegerv(GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS, reinterpret_cast(&_caps.maxComputeWorkGroupInvocations)); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 0, reinterpret_cast(&_caps.maxComputeWorkGroupSize.x)); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 1, reinterpret_cast(&_caps.maxComputeWorkGroupSize.y)); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_SIZE, 2, reinterpret_cast(&_caps.maxComputeWorkGroupSize.z)); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 0, reinterpret_cast(&_caps.maxComputeWorkGroupCount.x)); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 1, reinterpret_cast(&_caps.maxComputeWorkGroupCount.y)); + glGetIntegeri_v(GL_MAX_COMPUTE_WORK_GROUP_COUNT, 2, reinterpret_cast(&_caps.maxComputeWorkGroupCount.z)); } _gpuStateCache->initialize(_caps.maxTextureUnits, _caps.maxImageUnits, _caps.maxUniformBufferBindings, _caps.maxShaderStorageBufferBindings, _caps.maxVertexAttributes); @@ -220,10 +225,10 @@ void GLES3Device::acquire() { } void GLES3Device::present() { - GLES3Queue *queue = (GLES3Queue *)_queue; - _numDrawCalls = queue->_numDrawCalls; - _numInstances = queue->_numInstances; - _numTriangles = queue->_numTriangles; + auto *queue = static_cast(_queue); + _numDrawCalls = queue->_numDrawCalls; + _numInstances = queue->_numInstances; + _numTriangles = queue->_numTriangles; _context->present(); @@ -325,7 +330,7 @@ TextureBarrier *GLES3Device::createTextureBarrier() { } void GLES3Device::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - GLES3CmdFuncCopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count); + cmdFuncGLES3CopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.h b/native/cocos/renderer/gfx-gles3/GLES3Device.h index 4b0b8d38b6..72ad27874f 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.h @@ -25,6 +25,7 @@ #pragma once +#include "GLES3Std.h" #include "gfx-base/GFXDevice.h" namespace cc { @@ -68,18 +69,15 @@ public: inline uint getThreadID() const { return _threadID; } inline bool checkExtension(const String &extension) const { - for (size_t i = 0; i < _extensions.size(); ++i) { - if (_extensions[i].find(extension) != String::npos) { - return true; - } - } - return false; + return std::any_of(_extensions.begin(), _extensions.end(), [&extension](auto &ext) { + return ext.find(extension) != String::npos; + }); } uint getMinorVersion() const; protected: - static GLES3Device *_instance; + static GLES3Device *instance; friend class DeviceManager; friend class GLES3Context; @@ -119,7 +117,7 @@ protected: StringArray _extensions; - uint _threadID = 0u; + uint _threadID = 0U; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp index 2ea47a4284..45ca5e241b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp @@ -25,18 +25,16 @@ #include "GLES3Std.h" -#include "GLES3Framebuffer.h" -#include "GLES3Device.h" #include "GLES3Commands.h" +#include "GLES3Device.h" +#include "GLES3Framebuffer.h" #include "GLES3RenderPass.h" #include "GLES3Texture.h" namespace cc { namespace gfx { -GLES3Framebuffer::GLES3Framebuffer() -: Framebuffer() { -} +GLES3Framebuffer::GLES3Framebuffer() = default; GLES3Framebuffer::~GLES3Framebuffer() { destroy(); @@ -52,7 +50,7 @@ void GLES3Framebuffer::doInit(const FramebufferInfo &info) { _gpuFBO->gpuColorTextures.resize(_colorTextures.size()); for (size_t i = 0; i < _colorTextures.size(); ++i) { - GLES3Texture *colorTexture = (GLES3Texture *)_colorTextures[i]; + auto *colorTexture = static_cast(_colorTextures[i]); if (colorTexture) { _gpuFBO->gpuColorTextures[i] = colorTexture->gpuTexture(); } @@ -62,12 +60,12 @@ void GLES3Framebuffer::doInit(const FramebufferInfo &info) { _gpuFBO->gpuDepthStencilTexture = static_cast(_depthStencilTexture)->gpuTexture(); } - GLES3CmdFuncCreateFramebuffer(GLES3Device::getInstance(), _gpuFBO); + cmdFuncGLES3CreateFramebuffer(GLES3Device::getInstance(), _gpuFBO); } void GLES3Framebuffer::doDestroy() { if (_gpuFBO) { - GLES3CmdFuncDestroyFramebuffer(GLES3Device::getInstance(), _gpuFBO); + cmdFuncGLES3DestroyFramebuffer(GLES3Device::getInstance(), _gpuFBO); CC_DELETE(_gpuFBO); _gpuFBO = nullptr; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index e2a40e21dc..169a6c19e8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -25,7 +25,11 @@ #pragma once +#include + #include "gfx-base/GFXDef.h" + +#include "GLES3Std.h" #include "GLES3Wrangler.h" namespace cc { @@ -33,180 +37,182 @@ namespace gfx { class GLES3GPUBuffer final : public Object { public: - BufferUsage usage = BufferUsage::NONE; - MemoryUsage memUsage = MemoryUsage::NONE; - uint size = 0; - uint stride = 0; - uint count = 0; - GLenum glTarget = 0; - GLuint glBuffer = 0; - GLuint glOffset = 0; - uint8_t *buffer = nullptr; + BufferUsage usage = BufferUsage::NONE; + MemoryUsage memUsage = MemoryUsage::NONE; + uint size = 0; + uint stride = 0; + uint count = 0; + GLenum glTarget = 0; + GLuint glBuffer = 0; + GLuint glOffset = 0; + uint8_t * buffer = nullptr; DrawInfoList indirects; }; -typedef vector GLES3GPUBufferList; +using GLES3GPUBufferList = vector; class GLES3GPUTexture final : public Object { public: - TextureType type = TextureType::TEX2D; - Format format = Format::UNKNOWN; - TextureUsage usage = TextureUsageBit::NONE; - uint width = 0; - uint height = 0; - uint depth = 1; - uint size = 0; - uint arrayLayer = 1; - uint mipLevel = 1; - SampleCount samples = SampleCount::X1; - TextureFlags flags = TextureFlagBit::NONE; - bool isPowerOf2 = false; - GLenum glTarget = 0; - GLenum glInternelFmt = 0; - GLenum glFormat = 0; - GLenum glType = 0; - GLenum glUsage = 0; - GLuint glTexture = 0; - GLenum glWrapS = 0; - GLenum glWrapT = 0; - GLenum glMinFilter = 0; - GLenum glMagFilter = 0; + TextureType type = TextureType::TEX2D; + Format format = Format::UNKNOWN; + TextureUsage usage = TextureUsageBit::NONE; + uint width = 0; + uint height = 0; + uint depth = 1; + uint size = 0; + uint arrayLayer = 1; + uint mipLevel = 1; + SampleCount samples = SampleCount::X1; + TextureFlags flags = TextureFlagBit::NONE; + bool isPowerOf2 = false; + GLenum glTarget = 0; + GLenum glInternelFmt = 0; + GLenum glFormat = 0; + GLenum glType = 0; + GLenum glUsage = 0; + GLuint glTexture = 0; + GLenum glWrapS = 0; + GLenum glWrapT = 0; + GLenum glMinFilter = 0; + GLenum glMagFilter = 0; }; -typedef vector GLES3GPUTextureList; +using GLES3GPUTextureList = vector; class GLES3GPUSampler final : public Object { public: - Filter minFilter = Filter::NONE; - Filter magFilter = Filter::NONE; - Filter mipFilter = Filter::NONE; - Address addressU = Address::CLAMP; - Address addressV = Address::CLAMP; - Address addressW = Address::CLAMP; - GLuint glSampler = 0; - GLenum glMinFilter = 0; - GLenum glMagFilter = 0; - GLenum glWrapS = 0; - GLenum glWrapT = 0; - GLenum glWrapR = 0; + Filter minFilter = Filter::NONE; + Filter magFilter = Filter::NONE; + Filter mipFilter = Filter::NONE; + Address addressU = Address::CLAMP; + Address addressV = Address::CLAMP; + Address addressW = Address::CLAMP; + GLuint glSampler = 0; + GLenum glMinFilter = 0; + GLenum glMagFilter = 0; + GLenum glWrapS = 0; + GLenum glWrapT = 0; + GLenum glWrapR = 0; }; struct GLES3GPUInput final { - uint binding = 0; + uint binding = 0; String name; - Type type = Type::UNKNOWN; - uint stride = 0; - uint count = 0; - uint size = 0; + Type type = Type::UNKNOWN; + uint stride = 0; + uint count = 0; + uint size = 0; GLenum glType = 0; - GLint glLoc = -1; + GLint glLoc = -1; }; -typedef vector GLES3GPUInputList; +using GLES3GPUInputList = vector; struct GLES3GPUUniform final { - uint binding = GFX_INVALID_BINDING; + uint binding = GFX_INVALID_BINDING; String name; - Type type = Type::UNKNOWN; - uint stride = 0; - uint count = 0; - uint size = 0; - uint offset = 0; + Type type = Type::UNKNOWN; + uint stride = 0; + uint count = 0; + uint size = 0; + uint offset = 0; GLenum glType = 0; - GLint glLoc = -1; + GLint glLoc = -1; }; -typedef vector GLES3GPUUniformList; +using GLES3GPUUniformList = vector; struct GLES3GPUUniformBuffer final { - uint set = GFX_INVALID_BINDING; - uint binding = GFX_INVALID_BINDING; + uint set = GFX_INVALID_BINDING; + uint binding = GFX_INVALID_BINDING; String name; - uint size = 0; - uint glBinding = 0xffffffff; - bool isStorage = false; + uint size = 0; + uint glBinding = 0xffffffff; + bool isStorage = false; }; -typedef vector GLES3GPUUniformBufferList; +using GLES3GPUUniformBufferList = vector; struct GLES3GPUUniformSamplerTexture final { - uint set = 0; - uint binding = 0; + uint set = 0; + uint binding = 0; String name; - Type type = Type::UNKNOWN; - uint count = 0u; + Type type = Type::UNKNOWN; + uint count = 0U; vector units; - GLenum glType = 0; - GLint glLoc = -1; + GLenum glType = 0; + GLint glLoc = -1; }; -typedef vector GLES3GPUUniformSamplerTextureList; +using GLES3GPUUniformSamplerTextureList = vector; struct GLES3GPUUniformStorageImage final { - uint set = 0; - uint binding = 0; + uint set = 0; + uint binding = 0; String name; - Type type = Type::UNKNOWN; - uint count = 0u; + Type type = Type::UNKNOWN; + uint count = 0U; vector units; - GLenum glMemoryAccess = GL_READ_WRITE; - GLint glLoc = -1; + GLenum glMemoryAccess = GL_READ_WRITE; + GLint glLoc = -1; }; -typedef vector GLES3GPUUniformStorageImageList; +using GLES3GPUUniformStorageImageList = vector; struct GLES3GPUShaderStage final { GLES3GPUShaderStage(ShaderStageFlagBit t, String s, GLuint shader = 0) - : type(t), source(s), glShader(shader) {} + : type(t), + source(std::move(std::move(s))), + glShader(shader) {} ShaderStageFlagBit type; - String source; - GLuint glShader = 0; + String source; + GLuint glShader = 0; }; -typedef vector GLES3GPUShaderStageList; +using GLES3GPUShaderStageList = vector; class GLES3GPUShader final : public Object { public: - String name; - UniformBlockList blocks; - UniformStorageBufferList buffers; - UniformSamplerTextureList samplerTextures; - UniformSamplerList samplers; - UniformTextureList textures; - UniformStorageImageList images; + String name; + UniformBlockList blocks; + UniformStorageBufferList buffers; + UniformSamplerTextureList samplerTextures; + UniformSamplerList samplers; + UniformTextureList textures; + UniformStorageImageList images; UniformInputAttachmentList subpassInputs; - GLES3GPUShaderStageList gpuStages; - GLuint glProgram = 0; - GLES3GPUInputList glInputs; - GLES3GPUUniformBufferList glBuffers; + GLES3GPUShaderStageList gpuStages; + GLuint glProgram = 0; + GLES3GPUInputList glInputs; + GLES3GPUUniformBufferList glBuffers; GLES3GPUUniformSamplerTextureList glSamplerTextures; - GLES3GPUUniformStorageImageList glImages; + GLES3GPUUniformStorageImageList glImages; }; struct GLES3GPUAttribute final { String name; - GLuint glBuffer = 0; - GLenum glType = 0; - uint size = 0; - uint count = 0; - uint stride = 1; - uint componentCount = 1; - bool isNormalized = false; - bool isInstanced = false; - uint offset = 0; + GLuint glBuffer = 0; + GLenum glType = 0; + uint size = 0; + uint count = 0; + uint stride = 1; + uint componentCount = 1; + bool isNormalized = false; + bool isInstanced = false; + uint offset = 0; }; -typedef vector GLES3GPUAttributeList; +using GLES3GPUAttributeList = vector; class GLES3GPUInputAssembler final : public Object { public: - AttributeList attributes; - GLES3GPUBufferList gpuVertexBuffers; - GLES3GPUBuffer *gpuIndexBuffer = nullptr; - GLES3GPUBuffer *gpuIndirectBuffer = nullptr; + AttributeList attributes; + GLES3GPUBufferList gpuVertexBuffers; + GLES3GPUBuffer * gpuIndexBuffer = nullptr; + GLES3GPUBuffer * gpuIndirectBuffer = nullptr; GLES3GPUAttributeList glAttribs; - GLenum glIndexType = 0; - map glVAOs; + GLenum glIndexType = 0; + map glVAOs; }; class GLES3GPURenderPass final : public Object { public: - ColorAttachmentList colorAttachments; + ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; }; @@ -214,23 +220,23 @@ class GLES3GPUFramebuffer final : public Object { public: GLES3GPURenderPass *gpuRenderPass = nullptr; GLES3GPUTextureList gpuColorTextures; - vector colorMipmapLevels; - GLES3GPUTexture *gpuDepthStencilTexture = nullptr; - GLint depthStencilMipmapLevel = 0; - GLuint glFramebuffer = 0; - bool isOffscreen = false; + vector colorMipmapLevels; + GLES3GPUTexture * gpuDepthStencilTexture = nullptr; + GLint depthStencilMipmapLevel = 0; + GLuint glFramebuffer = 0; + bool isOffscreen = false; }; class GLES3GPUDescriptorSetLayout final : public Object { public: DescriptorSetLayoutBindingList bindings; - vector dynamicBindings; + vector dynamicBindings; vector bindingIndices; vector descriptorIndices; - uint descriptorCount = 0u; + uint descriptorCount = 0U; }; -typedef vector GLES3GPUDescriptorSetLayoutList; +using GLES3GPUDescriptorSetLayoutList = vector; class GLES3GPUPipelineLayout final : public Object { public: @@ -238,42 +244,42 @@ public: // helper storages vector> dynamicOffsetIndices; - vector dynamicOffsetOffsets; - vector dynamicOffsets; - uint dynamicOffsetCount; + vector dynamicOffsetOffsets; + vector dynamicOffsets; + uint dynamicOffsetCount; }; class GLES3GPUPipelineState final : public Object { public: - GLenum glPrimitive = GL_TRIANGLES; - GLES3GPUShader *gpuShader = nullptr; - RasterizerState rs; - DepthStencilState dss; - BlendState bs; - DynamicStateList dynamicStates; - GLES3GPUPipelineLayout *gpuLayout = nullptr; - GLES3GPURenderPass *gpuRenderPass = nullptr; + GLenum glPrimitive = GL_TRIANGLES; + GLES3GPUShader * gpuShader = nullptr; + RasterizerState rs; + DepthStencilState dss; + BlendState bs; + DynamicStateList dynamicStates; + GLES3GPUPipelineLayout *gpuLayout = nullptr; + GLES3GPURenderPass * gpuRenderPass = nullptr; GLES3GPUPipelineLayout *gpuPipelineLayout = nullptr; }; struct GLES3GPUDescriptor final { - DescriptorType type = DescriptorType::UNKNOWN; - GLES3GPUBuffer *gpuBuffer = nullptr; + DescriptorType type = DescriptorType::UNKNOWN; + GLES3GPUBuffer * gpuBuffer = nullptr; GLES3GPUTexture *gpuTexture = nullptr; GLES3GPUSampler *gpuSampler = nullptr; }; -typedef vector GLES3GPUDescriptorList; +using GLES3GPUDescriptorList = vector; class GLES3GPUDescriptorSet final : public Object { public: GLES3GPUDescriptorList gpuDescriptors; - const vector *descriptorIndices = nullptr; + const vector * descriptorIndices = nullptr; }; class GLES3GPUGlobalBarrier final : public Object { public: - GLbitfield glBarriers = 0u; - GLbitfield glBarriersByRegion = 0u; + GLbitfield glBarriers = 0U; + GLbitfield glBarriersByRegion = 0U; }; struct GLES3GPUDispatchInfo final : public Object { @@ -282,124 +288,123 @@ struct GLES3GPUDispatchInfo final : public Object { uint groupCountZ = 0; GLES3GPUBuffer *indirectBuffer = nullptr; - uint indirectOffset = 0; + uint indirectOffset = 0; }; struct GLES3ObjectCache final { - size_t numClearColors = 0u; - GLES3GPURenderPass *gpuRenderPass = nullptr; - GLES3GPUFramebuffer *gpuFramebuffer = nullptr; - GLES3GPUPipelineState *gpuPipelineState = nullptr; + size_t numClearColors = 0U; + GLES3GPURenderPass * gpuRenderPass = nullptr; + GLES3GPUFramebuffer * gpuFramebuffer = nullptr; + GLES3GPUPipelineState * gpuPipelineState = nullptr; GLES3GPUInputAssembler *gpuInputAssembler = nullptr; - uint reverseCW = 0u; - GLenum glPrimitive = 0; - GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; + uint reverseCW = 0U; + GLenum glPrimitive = 0; + GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; }; class GLES3GPUStateCache final : public Object { public: - GLuint glArrayBuffer = 0; - GLuint glElementArrayBuffer = 0; - GLuint glUniformBuffer = 0; - vector glBindUBOs; - vector glBindUBOOffsets; - GLuint glShaderStorageBuffer = 0; - vector glBindSSBOs; - vector glBindSSBOOffsets; - GLuint glDispatchIndirectBuffer = 0; - GLuint glVAO = 0; - uint texUint = 0; - vector glTextures; - vector glImages; - vector glSamplers; - GLuint glProgram = 0; - vector glEnabledAttribLocs; - vector glCurrentAttribLocs; - GLuint glReadFramebuffer = 0; - GLuint glDrawFramebuffer = 0; - Viewport viewport; - Rect scissor; - RasterizerState rs; - DepthStencilState dss; - BlendState bs; - bool isCullFaceEnabled = true; - bool isStencilTestEnabled = false; + GLuint glArrayBuffer = 0; + GLuint glElementArrayBuffer = 0; + GLuint glUniformBuffer = 0; + vector glBindUBOs; + vector glBindUBOOffsets; + GLuint glShaderStorageBuffer = 0; + vector glBindSSBOs; + vector glBindSSBOOffsets; + GLuint glDispatchIndirectBuffer = 0; + GLuint glVAO = 0; + uint texUint = 0; + vector glTextures; + vector glImages; + vector glSamplers; + GLuint glProgram = 0; + vector glEnabledAttribLocs; + vector glCurrentAttribLocs; + GLuint glReadFramebuffer = 0; + GLuint glDrawFramebuffer = 0; + Viewport viewport; + Rect scissor; + RasterizerState rs; + DepthStencilState dss; + BlendState bs; + bool isCullFaceEnabled = true; + bool isStencilTestEnabled = false; unordered_map texUnitCacheMap; - GLES3ObjectCache gfxStateCache; + GLES3ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t imageUnits, size_t uboBindings, size_t ssboBindings, size_t vertexAttributes) { - glBindUBOs.resize(uboBindings, 0u); - glBindUBOOffsets.resize(uboBindings, 0u); - glBindSSBOs.resize(ssboBindings, 0u); - glBindSSBOOffsets.resize(ssboBindings, 0u); - glTextures.resize(texUnits, 0u); - glSamplers.resize(texUnits, 0u); - glImages.resize(imageUnits, 0u); + glBindUBOs.resize(uboBindings, 0U); + glBindUBOOffsets.resize(uboBindings, 0U); + glBindSSBOs.resize(ssboBindings, 0U); + glBindSSBOOffsets.resize(ssboBindings, 0U); + glTextures.resize(texUnits, 0U); + glSamplers.resize(texUnits, 0U); + glImages.resize(imageUnits, 0U); glEnabledAttribLocs.resize(vertexAttributes, false); glCurrentAttribLocs.resize(vertexAttributes, false); } void reset() { - glArrayBuffer = 0; + glArrayBuffer = 0; glElementArrayBuffer = 0; - glUniformBuffer = 0; - glBindUBOs.assign(glBindUBOs.size(), 0u); - glBindUBOOffsets.assign(glBindUBOOffsets.size(), 0u); + glUniformBuffer = 0; + glBindUBOs.assign(glBindUBOs.size(), 0U); + glBindUBOOffsets.assign(glBindUBOOffsets.size(), 0U); glShaderStorageBuffer = 0; - glBindSSBOs.assign(glBindSSBOs.size(), 0u); - glBindSSBOOffsets.assign(glBindSSBOOffsets.size(), 0u); + glBindSSBOs.assign(glBindSSBOs.size(), 0U); + glBindSSBOOffsets.assign(glBindSSBOOffsets.size(), 0U); glDispatchIndirectBuffer = 0; - glVAO = 0; - texUint = 0; - glTextures.assign(glTextures.size(), 0u); - glImages.assign(glImages.size(), 0u); - glSamplers.assign(glSamplers.size(), 0u); + glVAO = 0; + texUint = 0; + glTextures.assign(glTextures.size(), 0U); + glImages.assign(glImages.size(), 0U); + glSamplers.assign(glSamplers.size(), 0U); glProgram = 0; - glEnabledAttribLocs.assign(glEnabledAttribLocs.size(), 0u); - glCurrentAttribLocs.assign(glCurrentAttribLocs.size(), 0u); - glReadFramebuffer = 0; - glDrawFramebuffer = 0; - isCullFaceEnabled = true; + glEnabledAttribLocs.assign(glEnabledAttribLocs.size(), false); + glCurrentAttribLocs.assign(glCurrentAttribLocs.size(), false); + glReadFramebuffer = 0; + glDrawFramebuffer = 0; + isCullFaceEnabled = true; isStencilTestEnabled = false; viewport = Viewport(); - scissor = Rect(); - rs = RasterizerState(); - dss = DepthStencilState(); - bs = BlendState(); + scissor = Rect(); + rs = RasterizerState(); + dss = DepthStencilState(); + bs = BlendState(); - gfxStateCache.numClearColors = 0u; - gfxStateCache.gpuRenderPass = nullptr; - gfxStateCache.gpuFramebuffer = nullptr; - gfxStateCache.gpuPipelineState = nullptr; + gfxStateCache.numClearColors = 0U; + gfxStateCache.gpuRenderPass = nullptr; + gfxStateCache.gpuFramebuffer = nullptr; + gfxStateCache.gpuPipelineState = nullptr; gfxStateCache.gpuInputAssembler = nullptr; - gfxStateCache.glPrimitive = 0u; - gfxStateCache.reverseCW = false; + gfxStateCache.glPrimitive = 0U; + gfxStateCache.reverseCW = false; } }; class GLES3GPUFramebufferCacheMap final : public Object { public: - GLES3GPUFramebufferCacheMap(GLES3GPUStateCache *cache) : _cache(cache) {} + explicit GLES3GPUFramebufferCacheMap(GLES3GPUStateCache *cache) : _cache(cache) {} - ~GLES3GPUFramebufferCacheMap() { - } + ~GLES3GPUFramebufferCacheMap() override = default; GLuint getFramebufferFromTexture(const GLES3GPUTexture *gpuTexture, const TextureSubresLayers &subres) { - // TODO: single layer support using glFramebufferTextureLayer + // TODO(YunHsiao): single layer support using glFramebufferTextureLayer - if (_map[gpuTexture->glTexture].empty()) _map[gpuTexture->glTexture].resize(gpuTexture->mipLevel, 0u); + if (_map[gpuTexture->glTexture].empty()) _map[gpuTexture->glTexture].resize(gpuTexture->mipLevel, 0U); if (!_map[gpuTexture->glTexture][subres.mipLevel]) { - GLuint glFramebuffer = 0u; + GLuint glFramebuffer = 0U; GL_CHECK(glGenFramebuffers(1, &glFramebuffer)); if (_cache->glDrawFramebuffer != glFramebuffer) { GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, glFramebuffer)); _cache->glDrawFramebuffer = glFramebuffer; } - const FormatInfo &info = GFX_FORMAT_INFOS[(uint)gpuTexture->format]; - GLenum attachment = GL_COLOR_ATTACHMENT0; + const FormatInfo &info = GFX_FORMAT_INFOS[static_cast(gpuTexture->format)]; + GLenum attachment = GL_COLOR_ATTACHMENT0; if (info.hasStencil) { attachment = GL_DEPTH_STENCIL_ATTACHMENT; } else if (info.hasDepth) { @@ -433,14 +438,14 @@ public: } private: - GLES3GPUStateCache *_cache = nullptr; + GLES3GPUStateCache * _cache = nullptr; unordered_map> _map; // texture -> mip level -> framebuffer }; -constexpr size_t chunkSize = 16 * 1024 * 1024; // 16M per block by default +constexpr size_t CHUNK_SIZE = 16 * 1024 * 1024; // 16M per block by default class GLES3GPUStagingBufferPool final : public Object { public: - ~GLES3GPUStagingBufferPool() { + ~GLES3GPUStagingBufferPool() override { for (Buffer &buffer : _pool) { CC_FREE(buffer.mappedData); } @@ -448,19 +453,19 @@ public: } uint8_t *alloc(size_t size) { - size_t bufferCount = _pool.size(); - Buffer *buffer = nullptr; - for (size_t idx = 0u; idx < bufferCount; idx++) { + size_t bufferCount = _pool.size(); + Buffer *buffer = nullptr; + for (size_t idx = 0U; idx < bufferCount; idx++) { Buffer *cur = &_pool[idx]; - if (chunkSize - cur->curOffset >= size) { + if (CHUNK_SIZE - cur->curOffset >= size) { buffer = cur; break; } } if (!buffer) { _pool.resize(bufferCount + 1); - buffer = &_pool.back(); - buffer->mappedData = (uint8_t *)CC_MALLOC(chunkSize); + buffer = &_pool.back(); + buffer->mappedData = static_cast(CC_MALLOC(CHUNK_SIZE)); } uint8_t *data = buffer->mappedData + buffer->curOffset; buffer->curOffset += size; @@ -469,14 +474,14 @@ public: void reset() { for (Buffer &buffer : _pool) { - buffer.curOffset = 0u; + buffer.curOffset = 0U; } } private: struct Buffer { uint8_t *mappedData = nullptr; - size_t curOffset = 0u; + size_t curOffset = 0U; }; vector _pool; }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp index ae8dc7cb8b..e0eaf817a7 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp @@ -33,9 +33,7 @@ namespace cc { namespace gfx { -GLES3InputAssembler::GLES3InputAssembler() -: InputAssembler() { -} +GLES3InputAssembler::GLES3InputAssembler() = default; GLES3InputAssembler::~GLES3InputAssembler() { destroy(); @@ -46,21 +44,23 @@ void GLES3InputAssembler::doInit(const InputAssemblerInfo &info) { _gpuInputAssembler->attributes = _attributes; _gpuInputAssembler->gpuVertexBuffers.resize(_vertexBuffers.size()); for (size_t i = 0; i < _gpuInputAssembler->gpuVertexBuffers.size(); ++i) { - GLES3Buffer *vb = (GLES3Buffer *)_vertexBuffers[i]; + auto *vb = static_cast(_vertexBuffers[i]); _gpuInputAssembler->gpuVertexBuffers[i] = vb->gpuBuffer(); } - if (info.indexBuffer) + if (info.indexBuffer) { _gpuInputAssembler->gpuIndexBuffer = static_cast(info.indexBuffer)->gpuBuffer(); + } - if (info.indirectBuffer) + if (info.indirectBuffer) { _gpuInputAssembler->gpuIndirectBuffer = static_cast(info.indirectBuffer)->gpuBuffer(); + } - GLES3CmdFuncCreateInputAssembler(GLES3Device::getInstance(), _gpuInputAssembler); + cmdFuncGLES3CreateInputAssembler(GLES3Device::getInstance(), _gpuInputAssembler); } void GLES3InputAssembler::doDestroy() { if (_gpuInputAssembler) { - GLES3CmdFuncDestroyInputAssembler(GLES3Device::getInstance(), _gpuInputAssembler); + cmdFuncGLES3DestroyInputAssembler(GLES3Device::getInstance(), _gpuInputAssembler); CC_DELETE(_gpuInputAssembler); _gpuInputAssembler = nullptr; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp index 5e15fbb031..c9f41c277e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp @@ -39,15 +39,11 @@ namespace cc { namespace gfx { -GLES3PrimaryCommandBuffer::GLES3PrimaryCommandBuffer() -: GLES3CommandBuffer() { -} - GLES3PrimaryCommandBuffer::~GLES3PrimaryCommandBuffer() { destroy(); } -void GLES3PrimaryCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) { +void GLES3PrimaryCommandBuffer::begin(RenderPass * /*renderPass*/, uint /*subpass*/, Framebuffer * /*frameBuffer*/) { _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); @@ -59,45 +55,44 @@ void GLES3PrimaryCommandBuffer::begin(RenderPass *renderPass, uint subpass, Fram void GLES3PrimaryCommandBuffer::end() { if (_isStateInvalid) { - BindStates(); + bindStates(); } _isInRenderPass = false; } -void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { +void GLES3PrimaryCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const * /*secondaryCBs*/, uint /*secondaryCBCount*/) { _isInRenderPass = true; GLES3GPURenderPass * gpuRenderPass = static_cast(renderPass)->gpuRenderPass(); GLES3GPUFramebuffer *gpuFramebuffer = static_cast(fbo)->gpuFBO(); - GLES3CmdFuncBeginRenderPass(GLES3Device::getInstance(), gpuRenderPass, gpuFramebuffer, + cmdFuncGLES3BeginRenderPass(GLES3Device::getInstance(), gpuRenderPass, gpuFramebuffer, renderArea, gpuRenderPass->colorAttachments.size(), colors, depth, stencil); } void GLES3PrimaryCommandBuffer::endRenderPass() { - GLES3CmdFuncEndRenderPass(GLES3Device::getInstance()); + cmdFuncGLES3EndRenderPass(GLES3Device::getInstance()); _isInRenderPass = false; } -void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { +void GLES3PrimaryCommandBuffer::draw(const DrawInfo &info) { if (_isStateInvalid) { - BindStates(); + bindStates(); } - DrawInfo drawInfo; - ia->extractDrawInfo(drawInfo); - GLES3CmdFuncDraw(GLES3Device::getInstance(), drawInfo); + cmdFuncGLES3Draw(GLES3Device::getInstance(), info); ++_numDrawCalls; - _numInstances += ia->getInstanceCount(); + _numInstances += info.instanceCount; if (_curGPUPipelineState) { + uint indexCount = info.indexCount ? info.indexCount : info.vertexCount; switch (_curGPUPipelineState->glPrimitive) { case GL_TRIANGLES: { - _numTriangles += ia->getIndexCount() / 3 * std::max(ia->getInstanceCount(), 1U); + _numTriangles += indexCount / 3 * std::max(info.instanceCount, 1U); break; } case GL_TRIANGLE_STRIP: case GL_TRIANGLE_FAN: { - _numTriangles += (ia->getIndexCount() - 2) * std::max(ia->getInstanceCount(), 1U); + _numTriangles += (indexCount - 2) * std::max(info.instanceCount, 1U); break; } default: @@ -109,14 +104,14 @@ void GLES3PrimaryCommandBuffer::draw(InputAssembler *ia) { void GLES3PrimaryCommandBuffer::updateBuffer(Buffer *buff, const void *data, uint size) { GLES3GPUBuffer *gpuBuffer = static_cast(buff)->gpuBuffer(); if (gpuBuffer) { - GLES3CmdFuncUpdateBuffer(GLES3Device::getInstance(), gpuBuffer, data, 0u, size); + cmdFuncGLES3UpdateBuffer(GLES3Device::getInstance(), gpuBuffer, data, 0U, size); } } void GLES3PrimaryCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { GLES3GPUTexture *gpuTexture = static_cast(texture)->gpuTexture(); if (gpuTexture) { - GLES3CmdFuncCopyBuffersToTexture(GLES3Device::getInstance(), buffers, gpuTexture, regions, count); + cmdFuncGLES3CopyBuffersToTexture(GLES3Device::getInstance(), buffers, gpuTexture, regions, count); } } @@ -126,17 +121,17 @@ void GLES3PrimaryCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTex if (srcTexture) gpuTextureSrc = static_cast(srcTexture)->gpuTexture(); if (dstTexture) gpuTextureDst = static_cast(dstTexture)->gpuTexture(); - GLES3CmdFuncBlitTexture(GLES3Device::getInstance(), gpuTextureSrc, gpuTextureDst, regions, count, filter); + cmdFuncGLES3BlitTexture(GLES3Device::getInstance(), gpuTextureSrc, gpuTextureDst, regions, count, filter); } void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t count) { for (uint i = 0; i < count; ++i) { - GLES3PrimaryCommandBuffer *cmdBuff = (GLES3PrimaryCommandBuffer *)cmdBuffs[i]; + auto *cmdBuff = static_cast(cmdBuffs[i]); if (!cmdBuff->_pendingPackages.empty()) { GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES3CmdFuncExecuteCmds(GLES3Device::getInstance(), cmdPackage); + cmdFuncGLES3ExecuteCmds(GLES3Device::getInstance(), cmdPackage); cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); @@ -150,16 +145,16 @@ void GLES3PrimaryCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint32_t } } -void GLES3PrimaryCommandBuffer::BindStates() { +void GLES3PrimaryCommandBuffer::bindStates() { vector &dynamicOffsetOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsetOffsets; vector &dynamicOffsets = _curGPUPipelineState->gpuPipelineLayout->dynamicOffsets; - for (size_t i = 0u; i < _curDynamicOffsets.size(); i++) { + for (size_t i = 0U; i < _curDynamicOffsets.size(); i++) { size_t count = dynamicOffsetOffsets[i + 1] - dynamicOffsetOffsets[i]; //CCASSERT(_curDynamicOffsets[i].size() >= count, "missing dynamic offsets?"); count = std::min(count, _curDynamicOffsets[i].size()); if (count) memcpy(&dynamicOffsets[dynamicOffsetOffsets[i]], _curDynamicOffsets[i].data(), count * sizeof(uint)); } - GLES3CmdFuncBindState(GLES3Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, + cmdFuncGLES3BindState(GLES3Device::getInstance(), _curGPUPipelineState, _curGPUInputAssember, _curGPUDescriptorSets, dynamicOffsets, _curViewport, _curScissor, _curLineWidth, false, _curDepthBias, _curBlendConstants, _curDepthBounds, _curStencilWriteMask, _curStencilCompareMask); _isStateInvalid = false; @@ -167,7 +162,7 @@ void GLES3PrimaryCommandBuffer::BindStates() { void GLES3PrimaryCommandBuffer::dispatch(const DispatchInfo &info) { if (_isStateInvalid) { - BindStates(); + bindStates(); } GLES3GPUDispatchInfo gpuInfo; @@ -179,14 +174,14 @@ void GLES3PrimaryCommandBuffer::dispatch(const DispatchInfo &info) { gpuInfo.groupCountY = info.groupCountY; gpuInfo.groupCountZ = info.groupCountZ; } - GLES3CmdFuncDispatch(GLES3Device::getInstance(), gpuInfo); + cmdFuncGLES3Dispatch(GLES3Device::getInstance(), gpuInfo); } -void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const *textureBarriers, const Texture *const *textures, uint textureBarrierCount) { +void GLES3PrimaryCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const TextureBarrier *const * /*textureBarriers*/, const Texture *const * /*textures*/, uint /*textureBarrierCount*/) { if (!barrier) return; - auto gpuBarrier = static_cast(barrier)->gpuBarrier(); - GLES3CmdFuncMemoryBarrier(GLES3Device::getInstance(), gpuBarrier->glBarriers, gpuBarrier->glBarriersByRegion); + const auto *gpuBarrier = static_cast(barrier)->gpuBarrier(); + cmdFuncGLES3MemoryBarrier(GLES3Device::getInstance(), gpuBarrier->glBarriers, gpuBarrier->glBarriersByRegion); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h index 5fa90cc561..b1682b8878 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h @@ -32,14 +32,14 @@ namespace gfx { class CC_GLES3_API GLES3PrimaryCommandBuffer final : public GLES3CommandBuffer { public: - GLES3PrimaryCommandBuffer(); - ~GLES3PrimaryCommandBuffer(); + GLES3PrimaryCommandBuffer() = default; + ~GLES3PrimaryCommandBuffer() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; void beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) override; void endRenderPass() override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void execute(CommandBuffer *const *cmdBuffs, uint32_t count) override; @@ -50,7 +50,7 @@ public: protected: friend class GLES3Queue; - void BindStates() override; + void bindStates() override; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp index e4249f7407..b4540096a5 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Queue.cpp @@ -33,9 +33,7 @@ namespace cc { namespace gfx { -GLES3Queue::GLES3Queue() -: Queue() { -} +GLES3Queue::GLES3Queue() = default; GLES3Queue::~GLES3Queue() { destroy(); @@ -49,12 +47,12 @@ void GLES3Queue::doDestroy() { void GLES3Queue::submit(CommandBuffer *const *cmdBuffs, uint count) { for (uint i = 0; i < count; ++i) { - GLES3CommandBuffer *cmdBuff = (GLES3CommandBuffer *)cmdBuffs[i]; + auto *cmdBuff = static_cast(cmdBuffs[i]); if (!cmdBuff->_pendingPackages.empty()) { GLES3CmdPackage *cmdPackage = cmdBuff->_pendingPackages.front(); - GLES3CmdFuncExecuteCmds(GLES3Device::getInstance(), cmdPackage); + cmdFuncGLES3ExecuteCmds(GLES3Device::getInstance(), cmdPackage); cmdBuff->_pendingPackages.pop(); cmdBuff->_freePackages.push(cmdPackage); diff --git a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp index e4308f581c..69f8fde7eb 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Sampler.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -GLES3Sampler::GLES3Sampler() -: Sampler() { -} +GLES3Sampler::GLES3Sampler() = default; GLES3Sampler::~GLES3Sampler() { destroy(); } -void GLES3Sampler::doInit(const SamplerInfo &info) { +void GLES3Sampler::doInit(const SamplerInfo & /*info*/) { _gpuSampler = CC_NEW(GLES3GPUSampler); _gpuSampler->minFilter = _minFilter; _gpuSampler->magFilter = _magFilter; @@ -49,12 +47,12 @@ void GLES3Sampler::doInit(const SamplerInfo &info) { _gpuSampler->addressV = _addressV; _gpuSampler->addressW = _addressW; - GLES3CmdFuncCreateSampler(GLES3Device::getInstance(), _gpuSampler); + cmdFuncGLES3CreateSampler(GLES3Device::getInstance(), _gpuSampler); } void GLES3Sampler::doDestroy() { if (_gpuSampler) { - GLES3CmdFuncDestroySampler(GLES3Device::getInstance(), _gpuSampler); + cmdFuncGLES3DestroySampler(GLES3Device::getInstance(), _gpuSampler); CC_DELETE(_gpuSampler); _gpuSampler = nullptr; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp index 5cfe925efd..0ec4984292 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Shader.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -GLES3Shader::GLES3Shader() -: Shader() { -} +GLES3Shader::GLES3Shader() = default; GLES3Shader::~GLES3Shader() { destroy(); } -void GLES3Shader::doInit(const ShaderInfo &info) { +void GLES3Shader::doInit(const ShaderInfo & /*info*/) { _gpuShader = CC_NEW(GLES3GPUShader); _gpuShader->name = _name; _gpuShader->blocks = _blocks; @@ -55,12 +53,12 @@ void GLES3Shader::doInit(const ShaderInfo &info) { _gpuShader->gpuStages.emplace_back(std::move(gpuShaderStage)); } - GLES3CmdFuncCreateShader(GLES3Device::getInstance(), _gpuShader); + cmdFuncGLES3CreateShader(GLES3Device::getInstance(), _gpuShader); } void GLES3Shader::doDestroy() { if (_gpuShader) { - GLES3CmdFuncDestroyShader(GLES3Device::getInstance(), _gpuShader); + cmdFuncGLES3DestroyShader(GLES3Device::getInstance(), _gpuShader); CC_DELETE(_gpuShader); _gpuShader = nullptr; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp index 4a37a510e8..99dd7734c1 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Texture.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -GLES3Texture::GLES3Texture() -: Texture() { -} +GLES3Texture::GLES3Texture() = default; GLES3Texture::~GLES3Texture() { destroy(); } -void GLES3Texture::doInit(const TextureInfo &info) { +void GLES3Texture::doInit(const TextureInfo & /*info*/) { _gpuTexture = CC_NEW(GLES3GPUTexture); _gpuTexture->type = _type; _gpuTexture->format = _format; @@ -55,16 +53,16 @@ void GLES3Texture::doInit(const TextureInfo &info) { _gpuTexture->flags = _flags; _gpuTexture->isPowerOf2 = math::IsPowerOfTwo(_width) && math::IsPowerOfTwo(_height); - GLES3CmdFuncCreateTexture(GLES3Device::getInstance(), _gpuTexture); + cmdFuncGLES3CreateTexture(GLES3Device::getInstance(), _gpuTexture); } -void GLES3Texture::doInit(const TextureViewInfo &info) { +void GLES3Texture::doInit(const TextureViewInfo & /*info*/) { CC_LOG_ERROR("GLES3 doesn't support texture view."); } void GLES3Texture::doDestroy() { if (_gpuTexture) { - GLES3CmdFuncDestroyTexture(GLES3Device::getInstance(), _gpuTexture); + cmdFuncGLES3DestroyTexture(GLES3Device::getInstance(), _gpuTexture); CC_DELETE(_gpuTexture); _gpuTexture = nullptr; } @@ -74,7 +72,7 @@ void GLES3Texture::doResize(uint width, uint height, uint size) { _gpuTexture->width = width; _gpuTexture->height = height; _gpuTexture->size = size; - GLES3CmdFuncResizeTexture(GLES3Device::getInstance(), _gpuTexture); + cmdFuncGLES3ResizeTexture(GLES3Device::getInstance(), _gpuTexture); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 3706ed843d..15280a0729 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -66,7 +66,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index e8ed589db8..acb02bdb50 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -262,13 +262,13 @@ void CCMTLCommandBuffer::setStencilCompareMask(StencilFace /*face*/, int /*ref*/ CC_LOG_ERROR("Don't support change stencil compare mask here."); } -void CCMTLCommandBuffer::draw(InputAssembler *ia) { +void CCMTLCommandBuffer::draw(const DrawInfo &info) { if (_firstDirtyDescriptorSet < _GPUDescriptorSets.size()) { bindDescriptorSets(); } - const auto *indirectBuffer = static_cast(ia->getIndirectBuffer()); - const auto *indexBuffer = static_cast(ia->getIndexBuffer()); + const auto *indirectBuffer = static_cast(_inputAssembler->getIndirectBuffer()); + const auto *indexBuffer = static_cast(_inputAssembler->getIndexBuffer()); auto mtlEncoder = _renderEncoder.getMTLEncoder(); if (indirectBuffer) { @@ -328,47 +328,46 @@ void CCMTLCommandBuffer::draw(InputAssembler *ia) { } } } else { - DrawInfo drawInfo; - static_cast(ia)->extractDrawInfo(drawInfo); - if (drawInfo.indexCount > 0) { + if (info.indexCount > 0) { uint offset = 0; - offset += drawInfo.firstIndex * indexBuffer->getStride(); - if (drawInfo.instanceCount == 0) { + offset += info.firstIndex * indexBuffer->getStride(); + if (info.instanceCount == 0) { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount + indexCount:info.indexCount indexType:indexBuffer->getIndexType() indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:offset]; } else { [mtlEncoder drawIndexedPrimitives:_mtlPrimitiveType - indexCount:drawInfo.indexCount + indexCount:info.indexCount indexType:indexBuffer->getIndexType() indexBuffer:indexBuffer->getMTLBuffer() indexBufferOffset:offset - instanceCount:drawInfo.instanceCount]; + instanceCount:info.instanceCount]; } - } else if (drawInfo.vertexCount) { - if (drawInfo.instanceCount == 0) { + } else if (info.vertexCount) { + if (info.instanceCount == 0) { [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount]; + vertexStart:info.firstIndex + vertexCount:info.vertexCount]; } else { [mtlEncoder drawPrimitives:_mtlPrimitiveType - vertexStart:drawInfo.firstIndex - vertexCount:drawInfo.vertexCount - instanceCount:drawInfo.instanceCount]; + vertexStart:info.firstIndex + vertexCount:info.vertexCount + instanceCount:info.instanceCount]; } } - _numInstances += drawInfo.instanceCount; + + _numInstances += info.instanceCount; _numDrawCalls++; if (_gpuPipelineState) { - uint indexCount = drawInfo.indexCount ? drawInfo.indexCount : drawInfo.vertexCount; + uint indexCount = info.indexCount ? info.indexCount : info.vertexCount; switch (_mtlPrimitiveType) { case MTLPrimitiveTypeTriangle: - _numTriangles += indexCount / 3 * std::max(drawInfo.instanceCount, 1U); + _numTriangles += indexCount / 3 * std::max(info.instanceCount, 1U); break; case MTLPrimitiveTypeTriangleStrip: - _numTriangles += (indexCount - 2) * std::max(drawInfo.instanceCount, 1U); + _numTriangles += (indexCount - 2) * std::max(info.instanceCount, 1U); break; default: break; } @@ -414,7 +413,7 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex auto h = region.buffTexHeight > 0 ? region.buffTexHeight : region.texExtent.height; bufferSize[i] = w * h; stagingRegion.sourceBytesPerRow = mu::getBytesPerRow(convertedFormat, w); - stagingRegion.sourceBytesPerImage = FormatSize(convertedFormat, w, h, region.texExtent.depth); + stagingRegion.sourceBytesPerImage = formatSize(convertedFormat, w, h, region.texExtent.depth); stagingRegion.sourceSize = {w, h, region.texExtent.depth}; stagingRegion.destinationSlice = region.texSubres.baseArrayLayer; stagingRegion.destinationLevel = region.texSubres.mipLevel; @@ -525,7 +524,7 @@ void CCMTLCommandBuffer::bindDescriptorSets() { _renderEncoder.setFragmentTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); _renderEncoder.setFragmentSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); } - + if(sampler.stages & ShaderStageFlagBit::COMPUTE) { _computeEncoder.setTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); } @@ -544,11 +543,11 @@ void CCMTLCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, c } else { dst = static_cast(dstTexture)->getMTLTexture(); } - + if([src pixelFormat] != device->preferredPixelFormat()) { src = [src newTextureViewWithPixelFormat:(MTLPixelFormat)device->preferredPixelFormat()]; } - + for (uint i = 0; i < count; ++i) { [encoder copyFromTexture:src sourceSlice:regions[i].srcSubres.baseArrayLayer diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index e671fc824a..b4d6a262e2 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -55,7 +55,7 @@ CCMTLDevice *CCMTLDevice::getInstance() { } CCMTLDevice::CCMTLDevice() { - _API = API::METAL; + _api = API::METAL; _deviceName = "Metal"; _caps.clipSpaceMinZ = 0.0f; @@ -229,9 +229,9 @@ void CCMTLDevice::doDestroy() { void CCMTLDevice::resize(uint w, uint h) { this->_width = w; this->_height = h; - + [id(_dssTex) release]; - + MTLTextureDescriptor *dssDescriptor = [[MTLTextureDescriptor alloc] init]; const auto gpuFamily = mu::getGPUFamily(MTLFeatureSet(_mtlFeatureSet)); dssDescriptor.pixelFormat = mu::getSupportedDepthStencilFormat(id(this->_mtlDevice), gpuFamily, _caps.depthBits); diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index e87737d4c2..8834cf3bfa 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -323,34 +323,34 @@ GPUFamily getMacGPUFamily(MTLFeatureSet featureSet) { bool isASTCFormat(Format format) { switch (format) { - case Format::ASTC_RGBA_4x4: - case Format::ASTC_SRGBA_4x4: - case Format::ASTC_RGBA_5x4: - case Format::ASTC_SRGBA_5x4: - case Format::ASTC_RGBA_5x5: - case Format::ASTC_SRGBA_5x5: - case Format::ASTC_RGBA_6x5: - case Format::ASTC_SRGBA_6x5: - case Format::ASTC_RGBA_6x6: - case Format::ASTC_SRGBA_6x6: - case Format::ASTC_RGBA_8x5: - case Format::ASTC_SRGBA_8x5: - case Format::ASTC_RGBA_8x6: - case Format::ASTC_SRGBA_8x6: - case Format::ASTC_RGBA_8x8: - case Format::ASTC_SRGBA_8x8: - case Format::ASTC_RGBA_10x5: - case Format::ASTC_SRGBA_10x5: - case Format::ASTC_RGBA_10x6: - case Format::ASTC_SRGBA_10x6: - case Format::ASTC_RGBA_10x8: - case Format::ASTC_SRGBA_10x8: - case Format::ASTC_RGBA_10x10: - case Format::ASTC_SRGBA_10x10: - case Format::ASTC_RGBA_12x10: - case Format::ASTC_SRGBA_12x10: - case Format::ASTC_RGBA_12x12: - case Format::ASTC_SRGBA_12x12: + case Format::ASTC_RGBA_4X4: + case Format::ASTC_SRGBA_4X4: + case Format::ASTC_RGBA_5X4: + case Format::ASTC_SRGBA_5X4: + case Format::ASTC_RGBA_5X5: + case Format::ASTC_SRGBA_5X5: + case Format::ASTC_RGBA_6X5: + case Format::ASTC_SRGBA_6X5: + case Format::ASTC_RGBA_6X6: + case Format::ASTC_SRGBA_6X6: + case Format::ASTC_RGBA_8X5: + case Format::ASTC_SRGBA_8X5: + case Format::ASTC_RGBA_8X6: + case Format::ASTC_SRGBA_8X6: + case Format::ASTC_RGBA_8X8: + case Format::ASTC_SRGBA_8X8: + case Format::ASTC_RGBA_10X5: + case Format::ASTC_SRGBA_10X5: + case Format::ASTC_RGBA_10X6: + case Format::ASTC_SRGBA_10X6: + case Format::ASTC_RGBA_10X8: + case Format::ASTC_SRGBA_10X8: + case Format::ASTC_RGBA_10X10: + case Format::ASTC_SRGBA_10X10: + case Format::ASTC_RGBA_12X10: + case Format::ASTC_SRGBA_12X10: + case Format::ASTC_RGBA_12X12: + case Format::ASTC_SRGBA_12X12: return true; default: return false; @@ -590,35 +590,35 @@ MTLPixelFormat mu::toMTLPixelFormat(Format format) { case Format::BC3: return MTLPixelFormatBC3_RGBA; case Format::BC3_SRGB: return MTLPixelFormatBC3_RGBA_sRGB; #else - case Format::ASTC_RGBA_4x4: return MTLPixelFormatASTC_4x4_LDR; - case Format::ASTC_RGBA_5x4: return MTLPixelFormatASTC_5x4_LDR; - case Format::ASTC_RGBA_5x5: return MTLPixelFormatASTC_5x5_LDR; - case Format::ASTC_RGBA_6x5: return MTLPixelFormatASTC_6x5_LDR; - case Format::ASTC_RGBA_6x6: return MTLPixelFormatASTC_6x6_LDR; - case Format::ASTC_RGBA_8x5: return MTLPixelFormatASTC_8x5_LDR; - case Format::ASTC_RGBA_8x6: return MTLPixelFormatASTC_8x6_LDR; - case Format::ASTC_RGBA_8x8: return MTLPixelFormatASTC_8x8_LDR; - case Format::ASTC_RGBA_10x5: return MTLPixelFormatASTC_10x5_LDR; - case Format::ASTC_RGBA_10x6: return MTLPixelFormatASTC_10x6_LDR; - case Format::ASTC_RGBA_10x8: return MTLPixelFormatASTC_10x8_LDR; - case Format::ASTC_RGBA_10x10: return MTLPixelFormatASTC_10x10_LDR; - case Format::ASTC_RGBA_12x10: return MTLPixelFormatASTC_12x10_LDR; - case Format::ASTC_RGBA_12x12: return MTLPixelFormatASTC_12x12_LDR; + case Format::ASTC_RGBA_4X4: return MTLPixelFormatASTC_4x4_LDR; + case Format::ASTC_RGBA_5X4: return MTLPixelFormatASTC_5x4_LDR; + case Format::ASTC_RGBA_5X5: return MTLPixelFormatASTC_5x5_LDR; + case Format::ASTC_RGBA_6X5: return MTLPixelFormatASTC_6x5_LDR; + case Format::ASTC_RGBA_6X6: return MTLPixelFormatASTC_6x6_LDR; + case Format::ASTC_RGBA_8X5: return MTLPixelFormatASTC_8x5_LDR; + case Format::ASTC_RGBA_8X6: return MTLPixelFormatASTC_8x6_LDR; + case Format::ASTC_RGBA_8X8: return MTLPixelFormatASTC_8x8_LDR; + case Format::ASTC_RGBA_10X5: return MTLPixelFormatASTC_10x5_LDR; + case Format::ASTC_RGBA_10X6: return MTLPixelFormatASTC_10x6_LDR; + case Format::ASTC_RGBA_10X8: return MTLPixelFormatASTC_10x8_LDR; + case Format::ASTC_RGBA_10X10: return MTLPixelFormatASTC_10x10_LDR; + case Format::ASTC_RGBA_12X10: return MTLPixelFormatASTC_12x10_LDR; + case Format::ASTC_RGBA_12X12: return MTLPixelFormatASTC_12x12_LDR; - case Format::ASTC_SRGBA_4x4: return MTLPixelFormatASTC_4x4_sRGB; - case Format::ASTC_SRGBA_5x4: return MTLPixelFormatASTC_5x4_sRGB; - case Format::ASTC_SRGBA_5x5: return MTLPixelFormatASTC_5x5_sRGB; - case Format::ASTC_SRGBA_6x5: return MTLPixelFormatASTC_6x5_sRGB; - case Format::ASTC_SRGBA_6x6: return MTLPixelFormatASTC_6x6_sRGB; - case Format::ASTC_SRGBA_8x5: return MTLPixelFormatASTC_8x5_sRGB; - case Format::ASTC_SRGBA_8x6: return MTLPixelFormatASTC_8x6_sRGB; - case Format::ASTC_SRGBA_8x8: return MTLPixelFormatASTC_8x8_sRGB; - case Format::ASTC_SRGBA_10x5: return MTLPixelFormatASTC_10x5_sRGB; - case Format::ASTC_SRGBA_10x6: return MTLPixelFormatASTC_10x6_sRGB; - case Format::ASTC_SRGBA_10x8: return MTLPixelFormatASTC_10x8_sRGB; - case Format::ASTC_SRGBA_10x10: return MTLPixelFormatASTC_10x10_sRGB; - case Format::ASTC_SRGBA_12x10: return MTLPixelFormatASTC_12x10_sRGB; - case Format::ASTC_SRGBA_12x12: return MTLPixelFormatASTC_12x12_sRGB; + case Format::ASTC_SRGBA_4X4: return MTLPixelFormatASTC_4x4_sRGB; + case Format::ASTC_SRGBA_5X4: return MTLPixelFormatASTC_5x4_sRGB; + case Format::ASTC_SRGBA_5X5: return MTLPixelFormatASTC_5x5_sRGB; + case Format::ASTC_SRGBA_6X5: return MTLPixelFormatASTC_6x5_sRGB; + case Format::ASTC_SRGBA_6X6: return MTLPixelFormatASTC_6x6_sRGB; + case Format::ASTC_SRGBA_8X5: return MTLPixelFormatASTC_8x5_sRGB; + case Format::ASTC_SRGBA_8X6: return MTLPixelFormatASTC_8x6_sRGB; + case Format::ASTC_SRGBA_8X8: return MTLPixelFormatASTC_8x8_sRGB; + case Format::ASTC_SRGBA_10X5: return MTLPixelFormatASTC_10x5_sRGB; + case Format::ASTC_SRGBA_10X6: return MTLPixelFormatASTC_10x6_sRGB; + case Format::ASTC_SRGBA_10X8: return MTLPixelFormatASTC_10x8_sRGB; + case Format::ASTC_SRGBA_10X10: return MTLPixelFormatASTC_10x10_sRGB; + case Format::ASTC_SRGBA_12X10: return MTLPixelFormatASTC_12x10_sRGB; + case Format::ASTC_SRGBA_12X12: return MTLPixelFormatASTC_12x12_sRGB; case Format::ETC2_RGB8: return MTLPixelFormatETC2_RGB8; case Format::ETC2_SRGB8: return MTLPixelFormatETC2_RGB8_sRGB; @@ -923,7 +923,7 @@ String mu::compileGLSLShader2Msl(const String &src, gpuShader->blocks[mappedBinding].stages |= shaderType; } } - + for (const auto &ubo : resources.storage_buffers) { auto set = msl.get_decoration(ubo.id, spv::DecorationDescriptorSet); auto binding = msl.get_decoration(ubo.id, spv::DecorationBinding); @@ -1425,34 +1425,34 @@ const uint8_t *const mu::convertData(const uint8_t *source, uint length, Format uint mu::getBlockSize(Format format) { switch (format) { - case Format::ASTC_RGBA_4x4: - case Format::ASTC_SRGBA_4x4: - case Format::ASTC_RGBA_5x4: - case Format::ASTC_SRGBA_5x4: - case Format::ASTC_RGBA_5x5: - case Format::ASTC_SRGBA_5x5: - case Format::ASTC_RGBA_6x5: - case Format::ASTC_SRGBA_6x5: - case Format::ASTC_RGBA_6x6: - case Format::ASTC_SRGBA_6x6: - case Format::ASTC_RGBA_8x5: - case Format::ASTC_SRGBA_8x5: - case Format::ASTC_RGBA_8x6: - case Format::ASTC_SRGBA_8x6: - case Format::ASTC_RGBA_8x8: - case Format::ASTC_SRGBA_8x8: - case Format::ASTC_RGBA_10x5: - case Format::ASTC_SRGBA_10x5: - case Format::ASTC_RGBA_10x6: - case Format::ASTC_SRGBA_10x6: - case Format::ASTC_RGBA_10x8: - case Format::ASTC_SRGBA_10x8: - case Format::ASTC_RGBA_10x10: - case Format::ASTC_SRGBA_10x10: - case Format::ASTC_RGBA_12x10: - case Format::ASTC_SRGBA_12x10: - case Format::ASTC_RGBA_12x12: - case Format::ASTC_SRGBA_12x12: + case Format::ASTC_RGBA_4X4: + case Format::ASTC_SRGBA_4X4: + case Format::ASTC_RGBA_5X4: + case Format::ASTC_SRGBA_5X4: + case Format::ASTC_RGBA_5X5: + case Format::ASTC_SRGBA_5X5: + case Format::ASTC_RGBA_6X5: + case Format::ASTC_SRGBA_6X5: + case Format::ASTC_RGBA_6X6: + case Format::ASTC_SRGBA_6X6: + case Format::ASTC_RGBA_8X5: + case Format::ASTC_SRGBA_8X5: + case Format::ASTC_RGBA_8X6: + case Format::ASTC_SRGBA_8X6: + case Format::ASTC_RGBA_8X8: + case Format::ASTC_SRGBA_8X8: + case Format::ASTC_RGBA_10X5: + case Format::ASTC_SRGBA_10X5: + case Format::ASTC_RGBA_10X6: + case Format::ASTC_SRGBA_10X6: + case Format::ASTC_RGBA_10X8: + case Format::ASTC_SRGBA_10X8: + case Format::ASTC_RGBA_10X10: + case Format::ASTC_SRGBA_10X10: + case Format::ASTC_RGBA_12X10: + case Format::ASTC_SRGBA_12X10: + case Format::ASTC_RGBA_12X12: + case Format::ASTC_SRGBA_12X12: return 16u; case Format::PVRTC_RGB2: case Format::PVRTC_RGBA2: @@ -1481,44 +1481,44 @@ uint mu::getBytesPerRow(Format format, uint width) { uint blockSize = getBlockSize(format); uint widthInBlock = 1u; switch (format) { - case Format::ASTC_RGBA_4x4: - case Format::ASTC_SRGBA_4x4: + case Format::ASTC_RGBA_4X4: + case Format::ASTC_SRGBA_4X4: widthInBlock = (width + 3) / 4; break; - case Format::ASTC_RGBA_5x4: - case Format::ASTC_SRGBA_5x4: - case Format::ASTC_RGBA_5x5: - case Format::ASTC_SRGBA_5x5: + case Format::ASTC_RGBA_5X4: + case Format::ASTC_SRGBA_5X4: + case Format::ASTC_RGBA_5X5: + case Format::ASTC_SRGBA_5X5: widthInBlock = (width + 4) / 5; break; - case Format::ASTC_RGBA_6x5: - case Format::ASTC_SRGBA_6x5: - case Format::ASTC_RGBA_6x6: - case Format::ASTC_SRGBA_6x6: + case Format::ASTC_RGBA_6X5: + case Format::ASTC_SRGBA_6X5: + case Format::ASTC_RGBA_6X6: + case Format::ASTC_SRGBA_6X6: widthInBlock = (width + 5) / 6; break; - case Format::ASTC_RGBA_8x5: - case Format::ASTC_SRGBA_8x5: - case Format::ASTC_RGBA_8x6: - case Format::ASTC_SRGBA_8x6: - case Format::ASTC_RGBA_8x8: - case Format::ASTC_SRGBA_8x8: + case Format::ASTC_RGBA_8X5: + case Format::ASTC_SRGBA_8X5: + case Format::ASTC_RGBA_8X6: + case Format::ASTC_SRGBA_8X6: + case Format::ASTC_RGBA_8X8: + case Format::ASTC_SRGBA_8X8: widthInBlock = (width + 7) / 8; break; - case Format::ASTC_RGBA_10x5: - case Format::ASTC_SRGBA_10x5: - case Format::ASTC_RGBA_10x6: - case Format::ASTC_SRGBA_10x6: - case Format::ASTC_RGBA_10x8: - case Format::ASTC_SRGBA_10x8: - case Format::ASTC_RGBA_10x10: - case Format::ASTC_SRGBA_10x10: + case Format::ASTC_RGBA_10X5: + case Format::ASTC_SRGBA_10X5: + case Format::ASTC_RGBA_10X6: + case Format::ASTC_SRGBA_10X6: + case Format::ASTC_RGBA_10X8: + case Format::ASTC_SRGBA_10X8: + case Format::ASTC_RGBA_10X10: + case Format::ASTC_SRGBA_10X10: widthInBlock = (width + 9) / 10; break; - case Format::ASTC_RGBA_12x10: - case Format::ASTC_SRGBA_12x10: - case Format::ASTC_RGBA_12x12: - case Format::ASTC_SRGBA_12x12: + case Format::ASTC_RGBA_12X10: + case Format::ASTC_SRGBA_12X10: + case Format::ASTC_RGBA_12X12: + case Format::ASTC_SRGBA_12X12: widthInBlock = (width + 11) / 12; break; case Format::PVRTC_RGB2: diff --git a/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp b/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp index efe73703a2..aef63813f7 100644 --- a/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp +++ b/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp @@ -131,7 +131,7 @@ void CommandBufferValidator::execute(CommandBuffer *const *cmdBuffs, uint32_t co static vector cmdBuffActors; cmdBuffActors.resize(count); - for (uint i = 0u; i < count; ++i) { + for (uint i = 0U; i < count; ++i) { cmdBuffActors[i] = static_cast(cmdBuffs[i])->getActor(); } @@ -182,19 +182,19 @@ void CommandBufferValidator::setStencilCompareMask(StencilFace face, int ref, ui _actor->setStencilCompareMask(face, ref, mask); } -void CommandBufferValidator::draw(InputAssembler *ia) { +void CommandBufferValidator::draw(const DrawInfo &info) { CCASSERT(_insideRenderPass, "Command 'draw' must be recorded inside render passes."); /////////// execute /////////// - _actor->draw(static_cast(ia)->getActor()); + _actor->draw(info); } void CommandBufferValidator::updateBuffer(Buffer *buff, const void *data, uint size) { CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'updateBuffer' must be recorded in primary command buffers."); CCASSERT(!_insideRenderPass, "Command 'updateBuffer' must be recorded outside render passes."); - auto bufferValidator = static_cast(buff); + auto *bufferValidator = static_cast(buff); bufferValidator->updateRedundencyCheck(); /////////// execute /////////// @@ -206,7 +206,7 @@ void CommandBufferValidator::copyBuffersToTexture(const uint8_t *const *buffers, CCASSERT(_type == CommandBufferType::PRIMARY, "Command 'copyBuffersToTexture' must be recorded in primary command buffers."); CCASSERT(!_insideRenderPass, "Command 'copyBuffersToTexture' must be recorded outside render passes."); - auto textureValidator = static_cast(texture); + auto *textureValidator = static_cast(texture); textureValidator->updateRedundencyCheck(); /////////// execute /////////// @@ -248,7 +248,7 @@ void CommandBufferValidator::pipelineBarrier(const GlobalBarrier *barrier, const Texture **actorTextures = nullptr; if (textureBarrierCount) { actorTextures = textureActors.data(); - for (uint i = 0u; i < textureBarrierCount; ++i) { + for (uint i = 0U; i < textureBarrierCount; ++i) { actorTextures[i] = textures[i] ? static_cast(textures[i])->getActor() : nullptr; } } diff --git a/native/cocos/renderer/gfx-validator/CommandBufferValidator.h b/native/cocos/renderer/gfx-validator/CommandBufferValidator.h index 0b0b787d7a..751dfff94e 100644 --- a/native/cocos/renderer/gfx-validator/CommandBufferValidator.h +++ b/native/cocos/renderer/gfx-validator/CommandBufferValidator.h @@ -51,7 +51,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; diff --git a/native/cocos/renderer/gfx-validator/DeviceValidator.cpp b/native/cocos/renderer/gfx-validator/DeviceValidator.cpp index 125bbeb8e8..2d641070fe 100644 --- a/native/cocos/renderer/gfx-validator/DeviceValidator.cpp +++ b/native/cocos/renderer/gfx-validator/DeviceValidator.cpp @@ -44,19 +44,19 @@ namespace cc { namespace gfx { -DeviceValidator *DeviceValidator::_instance = nullptr; +DeviceValidator *DeviceValidator::instance = nullptr; DeviceValidator *DeviceValidator::getInstance() { - return DeviceValidator::_instance; + return DeviceValidator::instance; } DeviceValidator::DeviceValidator(Device *device) : Agent(device) { - DeviceValidator::_instance = this; + DeviceValidator::instance = this; } DeviceValidator::~DeviceValidator() { CC_SAFE_DELETE(_actor); - DeviceValidator::_instance = nullptr; + DeviceValidator::instance = nullptr; } bool DeviceValidator::doInit(const DeviceInfo &info) { @@ -65,7 +65,7 @@ bool DeviceValidator::doInit(const DeviceInfo &info) { } _context = _actor->getContext(); - _API = _actor->getGfxAPI(); + _api = _actor->getGfxAPI(); _deviceName = _actor->getDeviceName(); _queue = CC_NEW(QueueValidator(_actor->getQueue())); _cmdBuff = CC_NEW(CommandBufferValidator(_actor->getCommandBuffer())); @@ -231,7 +231,7 @@ TextureBarrier *DeviceValidator::createTextureBarrier() { } void DeviceValidator::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { - auto textureValidator = static_cast(dst); + auto *textureValidator = static_cast(dst); textureValidator->updateRedundencyCheck(); _actor->copyBuffersToTexture(buffers, textureValidator->getActor(), regions, count); @@ -245,7 +245,7 @@ void DeviceValidator::flushCommands(CommandBuffer *const *cmdBuffs, uint count) static vector cmdBuffActors; cmdBuffActors.resize(count); - for (uint i = 0u; i < count; ++i) { + for (uint i = 0U; i < count; ++i) { cmdBuffActors[i] = static_cast(cmdBuffs[i])->getActor(); } diff --git a/native/cocos/renderer/gfx-validator/DeviceValidator.h b/native/cocos/renderer/gfx-validator/DeviceValidator.h index ae05459599..cd0ae37aac 100644 --- a/native/cocos/renderer/gfx-validator/DeviceValidator.h +++ b/native/cocos/renderer/gfx-validator/DeviceValidator.h @@ -88,15 +88,15 @@ public: uint getNumTris() const override { return _actor->getNumTris(); } inline void enableRecording(bool recording) { _recording = recording; } - inline bool isRecording() { return _recording; } - inline uint currentFrame() { return _currentFrame; } + inline bool isRecording() const { return _recording; } + inline uint currentFrame() const { return _currentFrame; } protected: - static DeviceValidator *_instance; + static DeviceValidator *instance; friend class DeviceManager; - DeviceValidator(Device *device); + explicit DeviceValidator(Device *device); bool doInit(const DeviceInfo &info) override; void doDestroy() override; @@ -108,7 +108,7 @@ protected: void bindDeviceContext(bool bound) override { _actor->bindDeviceContext(bound); } bool _recording{false}; - uint _currentFrame{1u}; + uint _currentFrame{1U}; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index 72bc6050d7..1c16be8302 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -33,15 +33,13 @@ namespace cc { namespace gfx { -CCVKBuffer::CCVKBuffer() -: Buffer() { -} +CCVKBuffer::CCVKBuffer() = default; CCVKBuffer::~CCVKBuffer() { destroy(); } -void CCVKBuffer::doInit(const BufferInfo &info) { +void CCVKBuffer::doInit(const BufferInfo & /*info*/) { _gpuBuffer = CC_NEW(CCVKGPUBuffer); _gpuBuffer->usage = _usage; _gpuBuffer->memUsage = _memUsage; @@ -55,14 +53,14 @@ void CCVKBuffer::doInit(const BufferInfo &info) { _gpuBuffer->indirectCmds.resize(drawInfoCount); } - CCVKCmdFuncCreateBuffer(CCVKDevice::getInstance(), _gpuBuffer); + cmdFuncCCVKCreateBuffer(CCVKDevice::getInstance(), _gpuBuffer); _gpuBufferView = CC_NEW(CCVKGPUBufferView); createBufferView(); } void CCVKBuffer::doInit(const BufferViewInfo &info) { - CCVKBuffer *buffer = (CCVKBuffer *)info.buffer; + auto *buffer = static_cast(info.buffer); _gpuBuffer = buffer->gpuBuffer(); _gpuBufferView = CC_NEW(CCVKGPUBufferView); createBufferView(); @@ -98,7 +96,7 @@ void CCVKBuffer::doResize(uint size, uint count) { _gpuBuffer->size = size; _gpuBuffer->count = count; - CCVKCmdFuncCreateBuffer(CCVKDevice::getInstance(), _gpuBuffer); + cmdFuncCCVKCreateBuffer(CCVKDevice::getInstance(), _gpuBuffer); createBufferView(); @@ -110,7 +108,7 @@ void CCVKBuffer::doResize(uint size, uint count) { } void CCVKBuffer::update(void *buffer, uint size) { - CCVKCmdFuncUpdateBuffer(CCVKDevice::getInstance(), _gpuBuffer, buffer, size, nullptr); + cmdFuncCCVKUpdateBuffer(CCVKDevice::getInstance(), _gpuBuffer, buffer, size, nullptr); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.h b/native/cocos/renderer/gfx-vulkan/VKBuffer.h index 96ba996bfe..4b748b92d3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.h @@ -25,6 +25,7 @@ #pragma once +#include "VKStd.h" #include "gfx-base/GFXBuffer.h" namespace cc { @@ -36,9 +37,9 @@ class CCVKGPUBufferView; class CC_VULKAN_API CCVKBuffer final : public Buffer { public: CCVKBuffer(); - ~CCVKBuffer(); + ~CCVKBuffer() override; - void update(void *buffer, uint offset) override; + void update(void *buffer, uint size) override; CC_INLINE CCVKGPUBuffer *gpuBuffer() const { return _gpuBuffer; } CC_INLINE CCVKGPUBufferView *gpuBufferView() const { return _gpuBufferView; } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 26eab9bc38..6448a2d887 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -43,17 +43,13 @@ namespace cc { namespace gfx { -CCVKCommandBuffer::CCVKCommandBuffer() -: CommandBuffer() { -} - CCVKCommandBuffer::~CCVKCommandBuffer() { destroy(); } -void CCVKCommandBuffer::doInit(const CommandBufferInfo &info) { +void CCVKCommandBuffer::doInit(const CommandBufferInfo & /*info*/) { _gpuCommandBuffer = CC_NEW(CCVKGPUCommandBuffer); - _gpuCommandBuffer->level = MapVkCommandBufferLevel(_type); + _gpuCommandBuffer->level = mapVkCommandBufferLevel(_type); _gpuCommandBuffer->queueFamilyIndex = static_cast(_queue)->gpuQueue()->queueFamilyIndex; size_t setCount = CCVKDevice::getInstance()->bindingMappingInfo().bufferOffsets.size(); @@ -78,7 +74,7 @@ void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer _curGPUPipelineState = nullptr; _curGPUInputAssember = nullptr; _curGPUDescriptorSets.assign(_curGPUDescriptorSets.size(), nullptr); - _curDynamicOffsetCounts.assign(_curDynamicOffsetCounts.size(), 0u); + _curDynamicOffsetCounts.assign(_curDynamicOffsetCounts.size(), 0U); _firstDirtyDescriptorSet = UINT_MAX; _numDrawCalls = 0; @@ -94,10 +90,11 @@ void CCVKCommandBuffer::begin(RenderPass *renderPass, uint subpass, Framebuffer inheritanceInfo.subpass = subpass; if (frameBuffer) { CCVKGPUFramebuffer *gpuFBO = static_cast(frameBuffer)->gpuFBO(); - if (gpuFBO->isOffscreen) + if (gpuFBO->isOffscreen) { inheritanceInfo.framebuffer = gpuFBO->vkFramebuffer; - else + } else { inheritanceInfo.framebuffer = gpuFBO->swapchain->vkSwapchainFramebufferListMap[gpuFBO][gpuFBO->swapchain->curImageIndex]; + } } beginInfo.pInheritanceInfo = &inheritanceInfo; beginInfo.flags |= VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT; @@ -114,7 +111,7 @@ void CCVKCommandBuffer::end() { _curGPUFBO = nullptr; _curGPUInputAssember = nullptr; - _curViewport.width = _curViewport.height = _curScissor.width = _curScissor.height = 0u; + _curViewport.width = _curViewport.height = _curScissor.width = _curScissor.height = 0U; VK_CHECK(vkEndCommandBuffer(_gpuCommandBuffer->vkCommandBuffer)); _gpuCommandBuffer->began = false; @@ -123,7 +120,7 @@ void CCVKCommandBuffer::end() { } void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo, const Rect &renderArea, const Color *colors, - float depth, int stencil, CommandBuffer *const *secondaryCBs, uint secondaryCBCount) { + float depth, int stencil, CommandBuffer *const * /*secondaryCBs*/, uint secondaryCBCount) { #if BARRIER_DEDUCTION_LEVEL >= BARRIER_DEDUCTION_LEVEL_BASIC // guard against RAW hazard VkMemoryBarrier vkBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; @@ -146,10 +143,10 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo size_t attachmentCount = clearValues.size(); if (attachmentCount) { - for (size_t i = 0u; i < attachmentCount - 1; ++i) { + for (size_t i = 0U; i < attachmentCount - 1; ++i) { clearValues[i].color = {{colors[i].x, colors[i].y, colors[i].z, colors[i].w}}; } - clearValues[attachmentCount - 1].depthStencil = {depth, (uint)stencil}; + clearValues[attachmentCount - 1].depthStencil = {depth, static_cast(stencil)}; } VkRenderPassBeginInfo passBeginInfo{VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO}; @@ -157,12 +154,12 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo passBeginInfo.framebuffer = framebuffer; passBeginInfo.clearValueCount = clearValues.size(); passBeginInfo.pClearValues = clearValues.data(); - passBeginInfo.renderArea = {{(int)renderArea.x, (int)renderArea.y}, {renderArea.width, renderArea.height}}; + passBeginInfo.renderArea = {{renderArea.x, renderArea.y}, {renderArea.width, renderArea.height}}; vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, secondaryCBCount ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); if (!secondaryCBCount) { - VkViewport viewport{(float)renderArea.x, (float)renderArea.y, (float)renderArea.width, (float)renderArea.height, 0.f, 1.f}; + VkViewport viewport{static_cast(renderArea.x), static_cast(renderArea.y), static_cast(renderArea.width), static_cast(renderArea.height), 0.F, 1.F}; vkCmdSetViewport(_gpuCommandBuffer->vkCommandBuffer, 0, 1, &viewport); vkCmdSetScissor(_gpuCommandBuffer->vkCommandBuffer, 0, 1, &passBeginInfo.renderArea); } @@ -172,7 +169,7 @@ void CCVKCommandBuffer::endRenderPass() { vkCmdEndRenderPass(_gpuCommandBuffer->vkCommandBuffer); size_t colorAttachmentCount = _curGPUFBO->gpuRenderPass->colorAttachments.size(); - for (size_t i = 0u; i < colorAttachmentCount; ++i) { + for (size_t i = 0U; i < colorAttachmentCount; ++i) { if (_curGPUFBO->gpuColorViews[i]) { _curGPUFBO->gpuColorViews[i]->gpuTexture->currentAccessTypes = _curGPUFBO->gpuRenderPass->endAccesses[i]; } else { @@ -202,7 +199,7 @@ void CCVKCommandBuffer::bindPipelineState(PipelineState *pso) { CCVKGPUPipelineState *gpuPipelineState = static_cast(pso)->gpuPipelineState(); if (_curGPUPipelineState != gpuPipelineState) { - vkCmdBindPipeline(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_BIND_POINTS[(uint)gpuPipelineState->bindPoint], gpuPipelineState->vkPipeline); + vkCmdBindPipeline(_gpuCommandBuffer->vkCommandBuffer, VK_PIPELINE_BIND_POINTS[static_cast(gpuPipelineState->bindPoint)], gpuPipelineState->vkPipeline); _curGPUPipelineState = gpuPipelineState; } } @@ -234,7 +231,7 @@ void CCVKCommandBuffer::bindInputAssembler(InputAssembler *ia) { gpuInputAssembler->vertexBufferOffsets.resize(vbCount); } - for (size_t i = 0u; i < vbCount; ++i) { + for (size_t i = 0U; i < vbCount; ++i) { gpuInputAssembler->vertexBuffers[i] = gpuInputAssembler->gpuVertexBuffers[i]->vkBuffer; gpuInputAssembler->vertexBufferOffsets[i] = gpuInputAssembler->gpuVertexBuffers[i]->startOffset; } @@ -254,7 +251,7 @@ void CCVKCommandBuffer::setViewport(const Viewport &vp) { if (_curViewport != vp) { _curViewport = vp; - VkViewport viewport{(float)vp.left, (float)vp.top, (float)vp.width, (float)vp.height, vp.minDepth, vp.maxDepth}; + VkViewport viewport{static_cast(vp.left), static_cast(vp.top), static_cast(vp.width), static_cast(vp.height), vp.minDepth, vp.maxDepth}; vkCmdSetViewport(_gpuCommandBuffer->vkCommandBuffer, 0, 1, &viewport); } } @@ -263,7 +260,7 @@ void CCVKCommandBuffer::setScissor(const Rect &rect) { if (_curScissor != rect) { _curScissor = rect; - VkRect2D scissor = {{(int)rect.x, (int)rect.y}, {rect.width, rect.height}}; + VkRect2D scissor = {{rect.x, rect.y}, {rect.width, rect.height}}; vkCmdSetScissor(_gpuCommandBuffer->vkCommandBuffer, 0, 1, &scissor); } } @@ -332,15 +329,12 @@ void CCVKCommandBuffer::setStencilCompareMask(StencilFace face, int reference, u } } -void CCVKCommandBuffer::draw(InputAssembler *ia) { +void CCVKCommandBuffer::draw(const DrawInfo &info) { if (_firstDirtyDescriptorSet < _curGPUDescriptorSets.size()) { bindDescriptorSets(VK_PIPELINE_BIND_POINT_GRAPHICS); } - CCVKGPUInputAssembler *gpuInputAssembler = static_cast(ia)->gpuInputAssembler(); - CCVKGPUBuffer * gpuIndirectBuffer = gpuInputAssembler->gpuIndirectBuffer; - - DrawInfo drawInfo; + CCVKGPUBuffer *gpuIndirectBuffer = _curGPUInputAssember->gpuIndirectBuffer; if (gpuIndirectBuffer) { uint drawInfoCount = gpuIndirectBuffer->count; @@ -362,7 +356,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { } } else { if (gpuIndirectBuffer->isDrawIndirectByIndex) { - for (VkDeviceSize j = 0u; j < drawInfoCount; ++j) { + for (VkDeviceSize j = 0U; j < drawInfoCount; ++j) { vkCmdDrawIndexedIndirect(_gpuCommandBuffer->vkCommandBuffer, gpuIndirectBuffer->vkBuffer, offset + j * sizeof(VkDrawIndexedIndirectCommand), @@ -370,7 +364,7 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { sizeof(VkDrawIndexedIndirectCommand)); } } else { - for (VkDeviceSize j = 0u; j < drawInfoCount; ++j) { + for (VkDeviceSize j = 0U; j < drawInfoCount; ++j) { vkCmdDrawIndirect(_gpuCommandBuffer->vkCommandBuffer, gpuIndirectBuffer->vkBuffer, offset + j * sizeof(VkDrawIndirectCommand), @@ -380,22 +374,21 @@ void CCVKCommandBuffer::draw(InputAssembler *ia) { } } } else { - static_cast(ia)->extractDrawInfo(drawInfo); - uint instanceCount = std::max(drawInfo.instanceCount, 1u); - bool hasIndexBuffer = gpuInputAssembler->gpuIndexBuffer && drawInfo.indexCount > 0; + uint instanceCount = std::max(info.instanceCount, 1U); + bool hasIndexBuffer = _curGPUInputAssember->gpuIndexBuffer && info.indexCount > 0; if (hasIndexBuffer) { - vkCmdDrawIndexed(_gpuCommandBuffer->vkCommandBuffer, drawInfo.indexCount, instanceCount, - drawInfo.firstIndex, drawInfo.vertexOffset, drawInfo.firstInstance); + vkCmdDrawIndexed(_gpuCommandBuffer->vkCommandBuffer, info.indexCount, instanceCount, + info.firstIndex, info.vertexOffset, info.firstInstance); } else { - vkCmdDraw(_gpuCommandBuffer->vkCommandBuffer, drawInfo.vertexCount, instanceCount, - drawInfo.firstVertex, drawInfo.firstInstance); + vkCmdDraw(_gpuCommandBuffer->vkCommandBuffer, info.vertexCount, instanceCount, + info.firstVertex, info.firstInstance); } ++_numDrawCalls; - _numInstances += drawInfo.instanceCount; + _numInstances += info.instanceCount; if (_curGPUPipelineState) { - uint indexCount = hasIndexBuffer ? drawInfo.indexCount : drawInfo.vertexCount; + uint indexCount = hasIndexBuffer ? info.indexCount : info.vertexCount; switch (_curGPUPipelineState->primitive) { case PrimitiveMode::TRIANGLE_LIST: _numTriangles += indexCount / 3 * instanceCount; @@ -414,9 +407,9 @@ void CCVKCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint count) { if (!count) return; _vkCommandBuffers.resize(count); - uint validCount = 0u; - for (uint i = 0u; i < count; ++i) { - CCVKCommandBuffer *cmdBuff = (CCVKCommandBuffer *)cmdBuffs[i]; + uint validCount = 0U; + for (uint i = 0U; i < count; ++i) { + auto *cmdBuff = static_cast(cmdBuffs[i]); if (!cmdBuff->_pendingQueue.empty()) { _vkCommandBuffers[validCount++] = cmdBuff->_pendingQueue.front(); cmdBuff->_pendingQueue.pop(); @@ -434,11 +427,11 @@ void CCVKCommandBuffer::execute(CommandBuffer *const *cmdBuffs, uint count) { void CCVKCommandBuffer::updateBuffer(Buffer *buffer, const void *data, uint size) { CCVKGPUBuffer *gpuBuffer = static_cast(buffer)->gpuBuffer(); - CCVKCmdFuncUpdateBuffer(CCVKDevice::getInstance(), gpuBuffer, data, size, _gpuCommandBuffer); + cmdFuncCCVKUpdateBuffer(CCVKDevice::getInstance(), gpuBuffer, data, size, _gpuCommandBuffer); } void CCVKCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) { - CCVKCmdFuncCopyBuffersToTexture(CCVKDevice::getInstance(), buffers, static_cast(texture)->gpuTexture(), regions, count, _gpuCommandBuffer); + cmdFuncCCVKCopyBuffersToTexture(CCVKDevice::getInstance(), buffers, static_cast(texture)->gpuTexture(), regions, count, _gpuCommandBuffer); } void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) { @@ -469,7 +462,7 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co } _blitRegions.resize(count); - for (uint i = 0u; i < count; ++i) { + for (uint i = 0U; i < count; ++i) { const TextureBlit ®ion = regions[i]; _blitRegions[i].srcSubresource.aspectMask = srcAspectMask; _blitRegions[i].srcSubresource.mipLevel = region.srcSubres.mipLevel; @@ -497,7 +490,7 @@ void CCVKCommandBuffer::blitTexture(Texture *srcTexture, Texture *dstTexture, co vkCmdBlitImage(_gpuCommandBuffer->vkCommandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, - count, _blitRegions.data(), VK_FILTERS[(uint)filter]); + count, _blitRegions.data(), VK_FILTERS[static_cast(filter)]); } void CCVKCommandBuffer::bindDescriptorSets(VkPipelineBindPoint bindPoint) { @@ -540,7 +533,7 @@ void CCVKCommandBuffer::dispatch(const DispatchInfo &info) { } if (info.indirectBuffer) { - CCVKBuffer *indirectBuffer = (CCVKBuffer *)info.indirectBuffer; + auto *indirectBuffer = static_cast(info.indirectBuffer); vkCmdDispatchIndirect(_gpuCommandBuffer->vkCommandBuffer, indirectBuffer->gpuBuffer()->vkBuffer, indirectBuffer->gpuBuffer()->startOffset + indirectBuffer->gpuBufferView()->offset + info.indirectOffset); } else { @@ -552,27 +545,27 @@ void CCVKCommandBuffer::pipelineBarrier(const GlobalBarrier *barrier, const Text VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; VkMemoryBarrier const * pMemoryBarrier = nullptr; - uint memoryBarrierCount = 0u; + uint memoryBarrierCount = 0U; VkImageMemoryBarrier const *pImageMemoryBarriers = nullptr; if (barrier) { - auto gpuBarrier = static_cast(barrier)->gpuBarrier(); + const auto *gpuBarrier = static_cast(barrier)->gpuBarrier(); srcStageMask |= gpuBarrier->srcStageMask; dstStageMask |= gpuBarrier->dstStageMask; pMemoryBarrier = &gpuBarrier->vkBarrier; - memoryBarrierCount = 1u; + memoryBarrierCount = 1U; } if (textureBarrierCount > 0) { _imageMemoryBarriers.resize(textureBarrierCount); pImageMemoryBarriers = _imageMemoryBarriers.data(); - for (uint i = 0u; i < textureBarrierCount; ++i) { - auto gpuBarrier = static_cast(textureBarriers[i])->gpuBarrier(); + for (uint i = 0U; i < textureBarrierCount; ++i) { + const auto *gpuBarrier = static_cast(textureBarriers[i])->gpuBarrier(); _imageMemoryBarriers[i] = gpuBarrier->vkBarrier; if (textures[i]) { - auto gpuTexture = static_cast(textures[i])->gpuTexture(); + auto *gpuTexture = static_cast(textures[i])->gpuTexture(); _imageMemoryBarriers[i].image = gpuTexture->vkImage; _imageMemoryBarriers[i].subresourceRange.aspectMask = gpuTexture->aspectMask; gpuTexture->currentAccessTypes.assign(gpuBarrier->barrier.pNextAccesses, gpuBarrier->barrier.pNextAccesses + gpuBarrier->barrier.nextAccessCount); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index b0de93f42a..63c8068104 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -34,8 +34,8 @@ namespace gfx { class CC_VULKAN_API CCVKCommandBuffer final : public CommandBuffer { public: - CCVKCommandBuffer(); - ~CCVKCommandBuffer(); + CCVKCommandBuffer() = default; + ~CCVKCommandBuffer() override; void begin(RenderPass *renderPass, uint subpass, Framebuffer *frameBuffer) override; void end() override; @@ -52,7 +52,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int reference, uint mask) override; - void draw(InputAssembler *ia) override; + void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buffer, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; void blitTexture(Texture *srcTexture, Texture *dstTexture, const TextureBlit *regions, uint count, Filter filter) override; @@ -85,7 +85,7 @@ protected: Viewport _curViewport; Rect _curScissor; - float _curLineWidth = 1.0f; + float _curLineWidth = 1.0F; CCVKDepthBias _curDepthBias; Color _curBlendConstants; CCVKDepthBounds _curDepthBounds; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 9bc41ccdcc..0c5a3e9fb9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -52,19 +52,19 @@ CCVKGPUDescriptorSetPool *CCVKGPUDevice::getDescriptorSetPool(uint layoutID) { return &_descriptorSetPools[layoutID]; } -void insertVkDynamicStates(vector &out, const vector &dynamicStates) { +void insertVkDynamicStates(vector *out, const vector &dynamicStates) { for (DynamicStateFlagBit dynamicState : dynamicStates) { switch (dynamicState) { - case DynamicStateFlagBit::VIEWPORT: break; // we make this dynamic by default + case DynamicStateFlagBit::VIEWPORT: case DynamicStateFlagBit::SCISSOR: break; // we make this dynamic by default - case DynamicStateFlagBit::LINE_WIDTH: out.push_back(VK_DYNAMIC_STATE_LINE_WIDTH); break; - case DynamicStateFlagBit::DEPTH_BIAS: out.push_back(VK_DYNAMIC_STATE_DEPTH_BIAS); break; - case DynamicStateFlagBit::BLEND_CONSTANTS: out.push_back(VK_DYNAMIC_STATE_BLEND_CONSTANTS); break; - case DynamicStateFlagBit::DEPTH_BOUNDS: out.push_back(VK_DYNAMIC_STATE_DEPTH_BOUNDS); break; - case DynamicStateFlagBit::STENCIL_WRITE_MASK: out.push_back(VK_DYNAMIC_STATE_STENCIL_WRITE_MASK); break; + case DynamicStateFlagBit::LINE_WIDTH: out->push_back(VK_DYNAMIC_STATE_LINE_WIDTH); break; + case DynamicStateFlagBit::DEPTH_BIAS: out->push_back(VK_DYNAMIC_STATE_DEPTH_BIAS); break; + case DynamicStateFlagBit::BLEND_CONSTANTS: out->push_back(VK_DYNAMIC_STATE_BLEND_CONSTANTS); break; + case DynamicStateFlagBit::DEPTH_BOUNDS: out->push_back(VK_DYNAMIC_STATE_DEPTH_BOUNDS); break; + case DynamicStateFlagBit::STENCIL_WRITE_MASK: out->push_back(VK_DYNAMIC_STATE_STENCIL_WRITE_MASK); break; case DynamicStateFlagBit::STENCIL_COMPARE_MASK: - out.push_back(VK_DYNAMIC_STATE_STENCIL_REFERENCE); - out.push_back(VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK); + out->push_back(VK_DYNAMIC_STATE_STENCIL_REFERENCE); + out->push_back(VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK); break; default: { CCASSERT(false, "Unsupported DynamicStateFlagBit, convert to VkDynamicState failed."); @@ -74,8 +74,8 @@ void insertVkDynamicStates(vector &out, const vectortype) { case QueueType::GRAPHICS: @@ -89,7 +89,7 @@ void CCVKCmdFuncGetDeviceQueue(CCVKDevice *device, CCVKGPUQueue *gpuQueue) { const CCVKGPUContext *context = device->gpuContext(); size_t queueCount = context->queueFamilyProperties.size(); - for (size_t i = 0u; i < queueCount; ++i) { + for (size_t i = 0U; i < queueCount; ++i) { const VkQueueFamilyProperties &properties = context->queueFamilyProperties[i]; const VkBool32 isPresentable = context->queueFamilyPresentables[i]; if (properties.queueCount > 0 && (properties.queueFlags & queueType) && (!needPresentable || isPresentable)) { @@ -100,32 +100,32 @@ void CCVKCmdFuncGetDeviceQueue(CCVKDevice *device, CCVKGPUQueue *gpuQueue) { } } -void CCVKCmdFuncCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { +void cmdFuncCCVKCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { if (!gpuTexture->size) return; - VkFormat format = MapVkFormat(gpuTexture->format); - VkFormatFeatureFlags features = MapVkFormatFeatureFlags(gpuTexture->usage); + VkFormat format = mapVkFormat(gpuTexture->format); + VkFormatFeatureFlags features = mapVkFormatFeatureFlags(gpuTexture->usage); VkFormatProperties formatProperties; vkGetPhysicalDeviceFormatProperties(device->gpuContext()->physicalDevice, format, &formatProperties); if (!(formatProperties.optimalTilingFeatures & features)) { - const char *formatName = GFX_FORMAT_INFOS[(uint)gpuTexture->format].name.c_str(); - CC_LOG_ERROR("CCVKCmdFuncCreateTexture: The specified usage for %s is not supported on this platform", formatName); + const char *formatName = GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].name.c_str(); + CC_LOG_ERROR("cmdFuncCCVKCreateTexture: The specified usage for %s is not supported on this platform", formatName); return; } - VkImageUsageFlags usageFlags = MapVkImageUsageFlagBits(gpuTexture->usage); + VkImageUsageFlags usageFlags = mapVkImageUsageFlagBits(gpuTexture->usage); if (gpuTexture->flags & TextureFlags::GEN_MIPMAP) { usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; } VkImageCreateInfo createInfo{VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO}; - createInfo.flags = MapVkImageCreateFlags(gpuTexture->type); - createInfo.imageType = MapVkImageType(gpuTexture->type); + createInfo.flags = mapVkImageCreateFlags(gpuTexture->type); + createInfo.imageType = mapVkImageType(gpuTexture->type); createInfo.format = format; createInfo.extent = {gpuTexture->width, gpuTexture->height, gpuTexture->depth}; createInfo.mipLevels = gpuTexture->mipLevels; createInfo.arrayLayers = gpuTexture->arrayLayers; - createInfo.samples = MapVkSampleCount(gpuTexture->samples); + createInfo.samples = mapVkSampleCount(gpuTexture->samples); createInfo.tiling = VK_IMAGE_TILING_OPTIMAL; createInfo.usage = usageFlags; createInfo.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED; @@ -137,17 +137,17 @@ void CCVKCmdFuncCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { VK_CHECK(vmaCreateImage(device->gpuDevice()->memoryAllocator, &createInfo, &allocInfo, &gpuTexture->vkImage, &gpuTexture->vmaAllocation, &res)); //CC_LOG_DEBUG("Allocated texture: %llu %llx %llx %llu %x", res.size, gpuTexture->vkImage, res.deviceMemory, res.offset, res.pMappedData); - gpuTexture->aspectMask = MapVkImageAspectFlags(gpuTexture->format); + gpuTexture->aspectMask = mapVkImageAspectFlags(gpuTexture->format); } -void CCVKCmdFuncCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTextureView) { +void cmdFuncCCVKCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTextureView) { if (!gpuTextureView->gpuTexture || !gpuTextureView->gpuTexture->vkImage) return; VkImageViewCreateInfo createInfo{VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO}; createInfo.image = gpuTextureView->gpuTexture->vkImage; - createInfo.viewType = MapVkImageViewType(gpuTextureView->type); - createInfo.format = MapVkFormat(gpuTextureView->format); - createInfo.subresourceRange.aspectMask = GFX_FORMAT_INFOS[(uint)gpuTextureView->format].hasDepth ? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_COLOR_BIT; + createInfo.viewType = mapVkImageViewType(gpuTextureView->type); + createInfo.format = mapVkFormat(gpuTextureView->format); + createInfo.subresourceRange.aspectMask = GFX_FORMAT_INFOS[static_cast(gpuTextureView->format)].hasDepth ? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_COLOR_BIT; createInfo.subresourceRange.baseMipLevel = gpuTextureView->baseLevel; createInfo.subresourceRange.levelCount = gpuTextureView->levelCount; createInfo.subresourceRange.baseArrayLayer = gpuTextureView->baseLayer; @@ -158,21 +158,21 @@ void CCVKCmdFuncCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTex device->gpuDescriptorHub()->update(gpuTextureView); } -void CCVKCmdFuncCreateSampler(CCVKDevice *device, CCVKGPUSampler *gpuSampler) { +void cmdFuncCCVKCreateSampler(CCVKDevice *device, CCVKGPUSampler *gpuSampler) { VkSamplerCreateInfo createInfo{VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO}; CCVKGPUContext * context = device->gpuContext(); - createInfo.magFilter = VK_FILTERS[(uint)gpuSampler->magFilter]; - createInfo.minFilter = VK_FILTERS[(uint)gpuSampler->minFilter]; - createInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODES[(uint)gpuSampler->mipFilter]; - createInfo.addressModeU = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressU]; - createInfo.addressModeV = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressV]; - createInfo.addressModeW = VK_SAMPLER_ADDRESS_MODES[(uint)gpuSampler->addressW]; + createInfo.magFilter = VK_FILTERS[static_cast(gpuSampler->magFilter)]; + createInfo.minFilter = VK_FILTERS[static_cast(gpuSampler->minFilter)]; + createInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODES[static_cast(gpuSampler->mipFilter)]; + createInfo.addressModeU = VK_SAMPLER_ADDRESS_MODES[static_cast(gpuSampler->addressU)]; + createInfo.addressModeV = VK_SAMPLER_ADDRESS_MODES[static_cast(gpuSampler->addressV)]; + createInfo.addressModeW = VK_SAMPLER_ADDRESS_MODES[static_cast(gpuSampler->addressW)]; createInfo.mipLodBias = gpuSampler->mipLODBias; createInfo.anisotropyEnable = gpuSampler->maxAnisotropy && context->physicalDeviceFeatures.samplerAnisotropy; - createInfo.maxAnisotropy = std::min(context->physicalDeviceProperties.limits.maxSamplerAnisotropy, (float)gpuSampler->maxAnisotropy); + createInfo.maxAnisotropy = std::min(context->physicalDeviceProperties.limits.maxSamplerAnisotropy, static_cast(gpuSampler->maxAnisotropy)); createInfo.compareEnable = gpuSampler->cmpFunc != ComparisonFunc::ALWAYS; - createInfo.compareOp = VK_CMP_FUNCS[(uint)gpuSampler->cmpFunc]; + createInfo.compareOp = VK_CMP_FUNCS[static_cast(gpuSampler->cmpFunc)]; createInfo.minLod = 0.0; // UNASSIGNED-BestPractices-vkCreateSampler-lod-clamping createInfo.maxLod = VK_LOD_CLAMP_NONE; // UNASSIGNED-BestPractices-vkCreateSampler-lod-clamping //createInfo.borderColor; // TODO @@ -180,16 +180,16 @@ void CCVKCmdFuncCreateSampler(CCVKDevice *device, CCVKGPUSampler *gpuSampler) { VK_CHECK(vkCreateSampler(device->gpuDevice()->vkDevice, &createInfo, nullptr, &gpuSampler->vkSampler)); } -void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { +void cmdFuncCCVKCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { if (!gpuBuffer->size) { return; } - gpuBuffer->instanceSize = 0u; + gpuBuffer->instanceSize = 0U; VkBufferCreateInfo bufferInfo{VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO}; bufferInfo.size = gpuBuffer->size; - bufferInfo.usage = MapVkBufferUsageFlagBits(gpuBuffer->usage); + bufferInfo.usage = mapVkBufferUsageFlagBits(gpuBuffer->usage); VmaAllocationCreateInfo allocInfo{}; @@ -225,7 +225,7 @@ void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { if (gpuBuffer->usage & BufferUsageBit::INDIRECT) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_INDIRECT_BUFFER); } -void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRenderPass) { +void cmdFuncCCVKCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRenderPass) { static vector attachmentDescriptions; static vector subpassDescriptions; static vector attachmentReferences; @@ -240,7 +240,7 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende vector beginAccessInfos(colorAttachmentCount + hasDepth); vector endAccessInfos(colorAttachmentCount + hasDepth); - for (size_t i = 0u; i < colorAttachmentCount; ++i) { + for (size_t i = 0U; i < colorAttachmentCount; ++i) { const ColorAttachment &attachment = gpuRenderPass->colorAttachments[i]; vector &beginAccesses = gpuRenderPass->beginAccesses[i]; @@ -249,18 +249,18 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende CCVKAccessInfo & endAccessInfo = endAccessInfos[i]; for (AccessType type : attachment.beginAccesses) { - beginAccesses.push_back(THSVS_ACCESS_TYPES[(uint)type]); + beginAccesses.push_back(THSVS_ACCESS_TYPES[static_cast(type)]); } for (AccessType type : attachment.endAccesses) { - endAccesses.push_back(THSVS_ACCESS_TYPES[(uint)type]); + endAccesses.push_back(THSVS_ACCESS_TYPES[static_cast(type)]); } thsvsGetAccessInfo(beginAccesses.size(), beginAccesses.data(), &beginAccessInfo.stageMask, &beginAccessInfo.accessMask, &beginAccessInfo.imageLayout, &beginAccessInfo.hasWriteAccess); thsvsGetAccessInfo(endAccesses.size(), endAccesses.data(), &endAccessInfo.stageMask, &endAccessInfo.accessMask, &endAccessInfo.imageLayout, &endAccessInfo.hasWriteAccess); - attachmentDescriptions[i].format = MapVkFormat(attachment.format); - attachmentDescriptions[i].samples = MapVkSampleCount(attachment.sampleCount); - attachmentDescriptions[i].loadOp = MapVkLoadOp(attachment.loadOp); - attachmentDescriptions[i].storeOp = MapVkStoreOp(attachment.storeOp); + attachmentDescriptions[i].format = mapVkFormat(attachment.format); + attachmentDescriptions[i].samples = mapVkSampleCount(attachment.sampleCount); + attachmentDescriptions[i].loadOp = mapVkLoadOp(attachment.loadOp); + attachmentDescriptions[i].storeOp = mapVkStoreOp(attachment.storeOp); attachmentDescriptions[i].stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; attachmentDescriptions[i].stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; attachmentDescriptions[i].initialLayout = beginAccessInfo.imageLayout; @@ -275,20 +275,20 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende CCVKAccessInfo & endAccessInfo = endAccessInfos[colorAttachmentCount]; for (AccessType type : depthStencilAttachment.beginAccesses) { - beginAccesses.push_back(THSVS_ACCESS_TYPES[(uint)type]); + beginAccesses.push_back(THSVS_ACCESS_TYPES[static_cast(type)]); } for (AccessType type : depthStencilAttachment.endAccesses) { - endAccesses.push_back(THSVS_ACCESS_TYPES[(uint)type]); + endAccesses.push_back(THSVS_ACCESS_TYPES[static_cast(type)]); } thsvsGetAccessInfo(beginAccesses.size(), beginAccesses.data(), &beginAccessInfo.stageMask, &beginAccessInfo.accessMask, &beginAccessInfo.imageLayout, &beginAccessInfo.hasWriteAccess); thsvsGetAccessInfo(endAccesses.size(), endAccesses.data(), &endAccessInfo.stageMask, &endAccessInfo.accessMask, &endAccessInfo.imageLayout, &endAccessInfo.hasWriteAccess); - attachmentDescriptions[colorAttachmentCount].format = MapVkFormat(depthStencilAttachment.format); - attachmentDescriptions[colorAttachmentCount].samples = MapVkSampleCount(depthStencilAttachment.sampleCount); - attachmentDescriptions[colorAttachmentCount].loadOp = MapVkLoadOp(depthStencilAttachment.depthLoadOp); - attachmentDescriptions[colorAttachmentCount].storeOp = MapVkStoreOp(depthStencilAttachment.depthStoreOp); - attachmentDescriptions[colorAttachmentCount].stencilLoadOp = MapVkLoadOp(depthStencilAttachment.stencilLoadOp); - attachmentDescriptions[colorAttachmentCount].stencilStoreOp = MapVkStoreOp(depthStencilAttachment.stencilStoreOp); + attachmentDescriptions[colorAttachmentCount].format = mapVkFormat(depthStencilAttachment.format); + attachmentDescriptions[colorAttachmentCount].samples = mapVkSampleCount(depthStencilAttachment.sampleCount); + attachmentDescriptions[colorAttachmentCount].loadOp = mapVkLoadOp(depthStencilAttachment.depthLoadOp); + attachmentDescriptions[colorAttachmentCount].storeOp = mapVkStoreOp(depthStencilAttachment.depthStoreOp); + attachmentDescriptions[colorAttachmentCount].stencilLoadOp = mapVkLoadOp(depthStencilAttachment.stencilLoadOp); + attachmentDescriptions[colorAttachmentCount].stencilStoreOp = mapVkStoreOp(depthStencilAttachment.stencilStoreOp); attachmentDescriptions[colorAttachmentCount].initialLayout = beginAccessInfo.imageLayout; attachmentDescriptions[colorAttachmentCount].finalLayout = endAccessInfo.imageLayout; } @@ -299,18 +299,18 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende if (subpassCount) { // pass on user-specified subpasses subpassDescriptions.resize(subpassCount, {}); - // TODO + // TODO(YunHsiao): //for (size_t i = 0u; i < subpassCount; ++i) { // const SubPassInfo &subPassInfo = gpuRenderPass->subPasses[i]; // subpassDescriptions[i].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; //} } else { // generate a default subpass from attachment info - subpassCount = 1u; + subpassCount = 1U; subpassDescriptions.resize(subpassCount, {}); - for (size_t i = 0u; i < colorAttachmentCount; ++i) { - attachmentReferences.push_back({(uint32_t)i, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL}); + for (size_t i = 0U; i < colorAttachmentCount; ++i) { + attachmentReferences.push_back({static_cast(i), VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL}); } - attachmentReferences.push_back({(uint32_t)colorAttachmentCount, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL}); + attachmentReferences.push_back({static_cast(colorAttachmentCount), VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL}); subpassDescriptions[0].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; subpassDescriptions[0].colorAttachmentCount = attachmentReferences.size() - 1; subpassDescriptions[0].pColorAttachments = attachmentReferences.data(); @@ -336,7 +336,7 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende } }; VkSubpassDescription &firstSubpass = subpassDescriptions[0]; - for (size_t j = 0u; j < firstSubpass.colorAttachmentCount; ++j) { + for (size_t j = 0U; j < firstSubpass.colorAttachmentCount; ++j) { beginDependencyCheck(firstSubpass.pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); } @@ -349,7 +349,7 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende } // make rendering result visible for the specified access types - VkSubpassDependency endDependency{(uint)subpassCount - 1, VK_SUBPASS_EXTERNAL, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; + VkSubpassDependency endDependency{static_cast(subpassCount) - 1, VK_SUBPASS_EXTERNAL, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; auto endDependencyCheck = [&endDependency, &endAccessInfos](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; if (desc.storeOp == VK_ATTACHMENT_STORE_OP_STORE) { @@ -361,7 +361,7 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende } }; VkSubpassDescription &lastSubpass = subpassDescriptions[subpassCount - 1]; - for (size_t j = 0u; j < lastSubpass.colorAttachmentCount; ++j) { + for (size_t j = 0U; j < lastSubpass.colorAttachmentCount; ++j) { endDependencyCheck(lastSubpass.pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); } if (lastSubpass.pDepthStencilAttachment) { @@ -382,14 +382,14 @@ void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende VK_CHECK(vkCreateRenderPass(device->gpuDevice()->vkDevice, &renderPassCreateInfo, nullptr, &gpuRenderPass->vkRenderPass)); } -void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFramebuffer) { +void cmdFuncCCVKCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFramebuffer) { size_t colorViewCount = gpuFramebuffer->gpuColorViews.size(); bool depthSpecified = gpuFramebuffer->gpuDepthStencilView; bool hasDepth = gpuFramebuffer->gpuRenderPass->depthStencilAttachment.format == device->getDepthStencilFormat(); vector attachments(colorViewCount + (depthSpecified || hasDepth ? 1 : 0)); uint swapchainImageIndices = 0; CCVKGPUTexture * gpuTexture = nullptr; - for (size_t i = 0u; i < colorViewCount; ++i) { + for (size_t i = 0U; i < colorViewCount; ++i) { CCVKGPUTextureView *texView = gpuFramebuffer->gpuColorViews[i]; if (texView) { gpuTexture = gpuFramebuffer->gpuColorViews[i]->gpuTexture; @@ -419,9 +419,9 @@ void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFra // swapchain-related framebuffers need special treatments: rebuild is needed // whenever a user-specified attachment or swapchain itself is changed - gpuFramebuffer->swapchain = device->gpuSwapchain(); - FramebufferListMap & fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; - auto fboListMapIter = fboListMap.find(gpuFramebuffer); + gpuFramebuffer->swapchain = device->gpuSwapchain(); + FramebufferListMap &fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; + auto fboListMapIter = fboListMap.find(gpuFramebuffer); if (fboListMapIter != fboListMap.end() && !fboListMapIter->second.empty()) { return; } @@ -438,8 +438,8 @@ void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFra createInfo.width = device->getWidth(); createInfo.height = device->getHeight(); createInfo.layers = 1; - for (size_t i = 0u; i < swapchainImageCount; ++i) { - for (size_t j = 0u; j < colorViewCount; ++j) { + for (size_t i = 0U; i < swapchainImageCount; ++i) { + for (size_t j = 0U; j < colorViewCount; ++j) { if (swapchainImageIndices & (1 << j)) { attachments[j] = gpuFramebuffer->swapchain->vkSwapchainImageViews[i]; } @@ -452,7 +452,7 @@ void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFra } } -void CCVKCmdFuncCreateShader(CCVKDevice *device, CCVKGPUShader *gpuShader) { +void cmdFuncCCVKCreateShader(CCVKDevice *device, CCVKGPUShader *gpuShader) { for (CCVKGPUShaderStage &stage : gpuShader->gpuStages) { vector spirv = GLSL2SPIRV(stage.type, "#version 450\n" + stage.source, device->gpuDevice()->minorVersion); VkShaderModuleCreateInfo createInfo{VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO}; @@ -463,16 +463,16 @@ void CCVKCmdFuncCreateShader(CCVKDevice *device, CCVKGPUShader *gpuShader) { CC_LOG_INFO("Shader '%s' compilation succeeded.", gpuShader->name.c_str()); } -void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { +void cmdFuncCCVKCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { CCVKGPUDevice *gpuDevice = device->gpuDevice(); size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); gpuDescriptorSetLayout->vkBindings.resize(bindingCount); - for (size_t i = 0u; i < bindingCount; ++i) { + for (size_t i = 0U; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; VkDescriptorSetLayoutBinding & vkBinding = gpuDescriptorSetLayout->vkBindings[i]; - vkBinding.stageFlags = MapVkShaderStageFlags(binding.stageFlags); - vkBinding.descriptorType = MapVkDescriptorType(binding.descriptorType); + vkBinding.stageFlags = mapVkShaderStageFlags(binding.stageFlags); + vkBinding.descriptorType = mapVkDescriptorType(binding.descriptorType); vkBinding.binding = binding.binding; vkBinding.descriptorCount = binding.count; } @@ -491,7 +491,7 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS const vector &bindings = gpuDescriptorSetLayout->vkBindings; vector entries(bindingCount); - for (size_t j = 0u, k = 0u; j < bindingCount; ++j) { + for (size_t j = 0U, k = 0U; j < bindingCount; ++j) { const VkDescriptorSetLayoutBinding &binding = bindings[j]; if (binding.descriptorType != VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) { entries[j].dstBinding = binding.binding; @@ -501,7 +501,7 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS entries[j].offset = sizeof(CCVKDescriptorInfo) * k; entries[j].stride = sizeof(CCVKDescriptorInfo); k += binding.descriptorCount; - } // TODO: inline UBOs + } // TODO(YunHsiao): inline UBOs } VkDescriptorUpdateTemplateCreateInfo createInfo = {VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO}; @@ -517,7 +517,7 @@ void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorS } } -void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout) { +void cmdFuncCCVKCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout) { CCVKGPUDevice *gpuDevice = device->gpuDevice(); size_t layoutCount = gpuPipelineLayout->setLayouts.size(); @@ -532,14 +532,14 @@ void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout * VK_CHECK(vkCreatePipelineLayout(gpuDevice->vkDevice, &pipelineLayoutCreateInfo, nullptr, &gpuPipelineLayout->vkPipelineLayout)); } -void CCVKCmdFuncCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState) { +void cmdFuncCCVKCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState) { VkComputePipelineCreateInfo createInfo{VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO}; ///////////////////// Shader Stage ///////////////////// const CCVKGPUShaderStageList & stages = gpuPipelineState->gpuShader->gpuStages; VkPipelineShaderStageCreateInfo stageInfo{VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}; - stageInfo.stage = MapVkShaderStageFlagBits(stages[0].type); + stageInfo.stage = mapVkShaderStageFlagBits(stages[0].type); stageInfo.module = stages[0].vkShader; stageInfo.pName = "main"; @@ -552,7 +552,7 @@ void CCVKCmdFuncCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineSt 1, &createInfo, nullptr, &gpuPipelineState->vkPipeline)); } -void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState) { +void cmdFuncCCVKCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState) { VkGraphicsPipelineCreateInfo createInfo{VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO}; ///////////////////// Shader Stage ///////////////////// @@ -560,8 +560,8 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS const CCVKGPUShaderStageList & stages = gpuPipelineState->gpuShader->gpuStages; const size_t stageCount = stages.size(); vector stageInfos(stageCount, {VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO}); - for (size_t i = 0u; i < stageCount; ++i) { - stageInfos[i].stage = MapVkShaderStageFlagBits(stages[i].type); + for (size_t i = 0U; i < stageCount; ++i) { + stageInfos[i].stage = mapVkShaderStageFlagBits(stages[i].type); stageInfos[i].module = stages[i].vkShader; stageInfos[i].pName = "main"; } @@ -572,21 +572,21 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS const AttributeList &attributes = gpuPipelineState->inputState.attributes; const size_t attributeCount = attributes.size(); - size_t bindingCount = 1u; - for (size_t i = 0u; i < attributeCount; ++i) { + size_t bindingCount = 1U; + for (size_t i = 0U; i < attributeCount; ++i) { const Attribute &attr = attributes[i]; - bindingCount = std::max((size_t)bindingCount, (size_t)(attr.stream + 1)); + bindingCount = std::max(bindingCount, static_cast(attr.stream + 1)); } vector bindingDescriptions(bindingCount); - for (size_t i = 0u; i < bindingCount; ++i) { + for (size_t i = 0U; i < bindingCount; ++i) { bindingDescriptions[i].binding = i; bindingDescriptions[i].stride = 0; bindingDescriptions[i].inputRate = VK_VERTEX_INPUT_RATE_VERTEX; } - for (size_t i = 0u; i < attributeCount; ++i) { + for (size_t i = 0U; i < attributeCount; ++i) { const Attribute &attr = attributes[i]; - bindingDescriptions[attr.stream].stride += GFX_FORMAT_INFOS[(uint)attr.format].size; + bindingDescriptions[attr.stream].stride += GFX_FORMAT_INFOS[static_cast(attr.format)].size; if (attr.isInstanced) { bindingDescriptions[attr.stream].inputRate = VK_VERTEX_INPUT_RATE_INSTANCE; } @@ -604,17 +604,17 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS if (shaderAttrs[i].name == attr.name) { attributeDescriptions[i].location = shaderAttrs[i].location; attributeDescriptions[i].binding = attr.stream; - attributeDescriptions[i].format = MapVkFormat(attr.format); + attributeDescriptions[i].format = mapVkFormat(attr.format); attributeDescriptions[i].offset = offsets[attr.stream]; attributeFound = true; break; } - offsets[attr.stream] += GFX_FORMAT_INFOS[(uint)attr.format].size; + offsets[attr.stream] += GFX_FORMAT_INFOS[static_cast(attr.format)].size; } if (!attributeFound) { // handle absent attribute attributeDescriptions[i].location = shaderAttrs[i].location; attributeDescriptions[i].binding = 0; - attributeDescriptions[i].format = MapVkFormat(shaderAttrs[i].format); + attributeDescriptions[i].format = mapVkFormat(shaderAttrs[i].format); attributeDescriptions[i].offset = 0; // reuse the first attribute as dummy data } } @@ -629,13 +629,13 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS ///////////////////// Input Asembly State ///////////////////// VkPipelineInputAssemblyStateCreateInfo inputAssembly{VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO}; - inputAssembly.topology = VK_PRIMITIVE_MODES[(uint)gpuPipelineState->primitive]; + inputAssembly.topology = VK_PRIMITIVE_MODES[static_cast(gpuPipelineState->primitive)]; createInfo.pInputAssemblyState = &inputAssembly; ///////////////////// Dynamic State ///////////////////// vector dynamicStates{VK_DYNAMIC_STATE_VIEWPORT, VK_DYNAMIC_STATE_SCISSOR}; - insertVkDynamicStates(dynamicStates, gpuPipelineState->dynamicStates); + insertVkDynamicStates(&dynamicStates, gpuPipelineState->dynamicStates); VkPipelineDynamicStateCreateInfo dynamicState{VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO}; dynamicState.dynamicStateCount = dynamicStates.size(); @@ -655,8 +655,8 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS //rasterizationState.depthClampEnable; rasterizationState.rasterizerDiscardEnable = gpuPipelineState->rs.isDiscard; - rasterizationState.polygonMode = VK_POLYGON_MODES[(uint)gpuPipelineState->rs.polygonMode]; - rasterizationState.cullMode = VK_CULL_MODES[(uint)gpuPipelineState->rs.cullMode]; + rasterizationState.polygonMode = VK_POLYGON_MODES[static_cast(gpuPipelineState->rs.polygonMode)]; + rasterizationState.cullMode = VK_CULL_MODES[static_cast(gpuPipelineState->rs.cullMode)]; rasterizationState.frontFace = gpuPipelineState->rs.isFrontFaceCCW ? VK_FRONT_FACE_COUNTER_CLOCKWISE : VK_FRONT_FACE_CLOCKWISE; rasterizationState.depthBiasEnable = gpuPipelineState->rs.depthBiasEnabled; rasterizationState.depthBiasConstantFactor = gpuPipelineState->rs.depthBias; @@ -681,23 +681,23 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS VkPipelineDepthStencilStateCreateInfo depthStencilState = {VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO}; depthStencilState.depthTestEnable = gpuPipelineState->dss.depthTest; depthStencilState.depthWriteEnable = gpuPipelineState->dss.depthWrite; - depthStencilState.depthCompareOp = VK_CMP_FUNCS[(uint)gpuPipelineState->dss.depthFunc]; + depthStencilState.depthCompareOp = VK_CMP_FUNCS[static_cast(gpuPipelineState->dss.depthFunc)]; depthStencilState.stencilTestEnable = gpuPipelineState->dss.stencilTestFront; depthStencilState.front = { - VK_STENCIL_OPS[(uint)gpuPipelineState->dss.stencilFailOpFront], - VK_STENCIL_OPS[(uint)gpuPipelineState->dss.stencilPassOpFront], - VK_STENCIL_OPS[(uint)gpuPipelineState->dss.stencilZFailOpFront], - VK_CMP_FUNCS[(uint)gpuPipelineState->dss.stencilFuncFront], + VK_STENCIL_OPS[static_cast(gpuPipelineState->dss.stencilFailOpFront)], + VK_STENCIL_OPS[static_cast(gpuPipelineState->dss.stencilPassOpFront)], + VK_STENCIL_OPS[static_cast(gpuPipelineState->dss.stencilZFailOpFront)], + VK_CMP_FUNCS[static_cast(gpuPipelineState->dss.stencilFuncFront)], gpuPipelineState->dss.stencilReadMaskFront, gpuPipelineState->dss.stencilWriteMaskFront, gpuPipelineState->dss.stencilRefFront, }; depthStencilState.back = { - VK_STENCIL_OPS[(uint)gpuPipelineState->dss.stencilFailOpBack], - VK_STENCIL_OPS[(uint)gpuPipelineState->dss.stencilPassOpBack], - VK_STENCIL_OPS[(uint)gpuPipelineState->dss.stencilZFailOpBack], - VK_CMP_FUNCS[(uint)gpuPipelineState->dss.stencilFuncBack], + VK_STENCIL_OPS[static_cast(gpuPipelineState->dss.stencilFailOpBack)], + VK_STENCIL_OPS[static_cast(gpuPipelineState->dss.stencilPassOpBack)], + VK_STENCIL_OPS[static_cast(gpuPipelineState->dss.stencilZFailOpBack)], + VK_CMP_FUNCS[static_cast(gpuPipelineState->dss.stencilFuncBack)], gpuPipelineState->dss.stencilReadMaskBack, gpuPipelineState->dss.stencilWriteMaskBack, gpuPipelineState->dss.stencilRefBack, @@ -711,16 +711,16 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS size_t blendTargetCount = gpuPipelineState->bs.targets.size(); vector blendTargets(blendTargetCount); - for (size_t i = 0u; i < blendTargetCount; ++i) { + for (size_t i = 0U; i < blendTargetCount; ++i) { BlendTarget &target = gpuPipelineState->bs.targets[i]; blendTargets[i].blendEnable = target.blend; - blendTargets[i].srcColorBlendFactor = VK_BLEND_FACTORS[(uint)target.blendSrc]; - blendTargets[i].dstColorBlendFactor = VK_BLEND_FACTORS[(uint)target.blendDst]; - blendTargets[i].colorBlendOp = VK_BLEND_OPS[(uint)target.blendEq]; - blendTargets[i].srcAlphaBlendFactor = VK_BLEND_FACTORS[(uint)target.blendSrcAlpha]; - blendTargets[i].dstAlphaBlendFactor = VK_BLEND_FACTORS[(uint)target.blendDstAlpha]; - blendTargets[i].alphaBlendOp = VK_BLEND_OPS[(uint)target.blendAlphaEq]; - blendTargets[i].colorWriteMask = MapVkColorComponentFlags(target.blendColorMask); + blendTargets[i].srcColorBlendFactor = VK_BLEND_FACTORS[static_cast(target.blendSrc)]; + blendTargets[i].dstColorBlendFactor = VK_BLEND_FACTORS[static_cast(target.blendDst)]; + blendTargets[i].colorBlendOp = VK_BLEND_OPS[static_cast(target.blendEq)]; + blendTargets[i].srcAlphaBlendFactor = VK_BLEND_FACTORS[static_cast(target.blendSrcAlpha)]; + blendTargets[i].dstAlphaBlendFactor = VK_BLEND_FACTORS[static_cast(target.blendDstAlpha)]; + blendTargets[i].alphaBlendOp = VK_BLEND_OPS[static_cast(target.blendAlphaEq)]; + blendTargets[i].colorWriteMask = mapVkColorComponentFlags(target.blendColorMask); } Color &blendColor = gpuPipelineState->bs.blendColor; @@ -746,20 +746,20 @@ void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS 1, &createInfo, nullptr, &gpuPipelineState->vkPipeline)); } -void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const void *buffer, uint size, const CCVKGPUCommandBuffer *cmdBuffer) { +void cmdFuncCCVKUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const void *buffer, uint size, const CCVKGPUCommandBuffer *cmdBuffer) { if (!gpuBuffer) return; const void *dataToUpload = nullptr; - size_t sizeToUpload = 0u; + size_t sizeToUpload = 0U; if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { - size_t drawInfoCount = size / sizeof(DrawInfo); - const auto *drawInfo = static_cast(buffer); + size_t drawInfoCount = size / sizeof(DrawInfo); + const auto *drawInfo = static_cast(buffer); if (drawInfoCount > 0) { if (drawInfo->indexCount) { for (size_t i = 0; i < drawInfoCount; ++i) { gpuBuffer->indexedIndirectCmds[i].indexCount = drawInfo->indexCount; - gpuBuffer->indexedIndirectCmds[i].instanceCount = std::max(drawInfo->instanceCount, 1u); + gpuBuffer->indexedIndirectCmds[i].instanceCount = std::max(drawInfo->instanceCount, 1U); gpuBuffer->indexedIndirectCmds[i].firstIndex = drawInfo->firstIndex; gpuBuffer->indexedIndirectCmds[i].vertexOffset = drawInfo->vertexOffset; gpuBuffer->indexedIndirectCmds[i].firstInstance = drawInfo->firstInstance; @@ -824,7 +824,7 @@ void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const device->gpuBarrierManager()->checkIn(gpuBuffer); } -void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *buffers, CCVKGPUTexture *gpuTexture, +void cmdFuncCCVKCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *buffers, CCVKGPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count, const CCVKGPUCommandBuffer *gpuCommandBuffer) { vector &curTypes = gpuTexture->currentAccessTypes; @@ -839,10 +839,10 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b barrier.prevAccessCount = curTypes.size(); barrier.pPrevAccesses = curTypes.data(); barrier.nextAccessCount = 1; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[static_cast(AccessType::TRANSFER_WRITE)]; if (gpuTexture->transferAccess != THSVS_ACCESS_TRANSFER_WRITE) { - CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); + cmdFuncCCVKImageMemoryBarrier(gpuCommandBuffer, barrier); } else { // guard against WAW hazard VkMemoryBarrier vkBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; @@ -854,23 +854,23 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b 0, 1, &vkBarrier, 0, nullptr, 0, nullptr); } - uint totalSize = 0u; + uint totalSize = 0U; vector regionSizes(count); - for (size_t i = 0u; i < count; ++i) { + for (size_t i = 0U; i < count; ++i) { const BufferTextureCopy ®ion = regions[i]; uint w = region.buffStride > 0 ? region.buffStride : region.texExtent.width; uint h = region.buffTexHeight > 0 ? region.buffTexHeight : region.texExtent.height; - totalSize += regionSizes[i] = FormatSize(gpuTexture->format, w, h, region.texExtent.depth); + totalSize += regionSizes[i] = formatSize(gpuTexture->format, w, h, region.texExtent.depth); } CCVKGPUBuffer stagingBuffer; stagingBuffer.size = totalSize; - uint texelSize = GFX_FORMAT_INFOS[(uint)gpuTexture->format].size; + uint texelSize = GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].size; device->gpuStagingBufferPool()->alloc(&stagingBuffer, texelSize); vector stagingRegions(count); VkDeviceSize offset = 0; - for (size_t i = 0u; i < count; ++i) { + for (size_t i = 0U; i < count; ++i) { const BufferTextureCopy ®ion = regions[i]; VkBufferImageCopy & stagingRegion = stagingRegions[i]; stagingRegion.bufferOffset = stagingBuffer.startOffset + offset; @@ -889,7 +889,7 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b if (gpuTexture->flags & TextureFlags::GEN_MIPMAP) { VkFormatProperties formatProperties; - vkGetPhysicalDeviceFormatProperties(device->gpuContext()->physicalDevice, MapVkFormat(gpuTexture->format), &formatProperties); + vkGetPhysicalDeviceFormatProperties(device->gpuContext()->physicalDevice, mapVkFormat(gpuTexture->format), &formatProperties); VkFormatFeatureFlags mipmapFeatures = VK_FORMAT_FEATURE_BLIT_SRC_BIT | VK_FORMAT_FEATURE_BLIT_DST_BIT | VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT; if (formatProperties.optimalTilingFeatures & mipmapFeatures) { @@ -905,12 +905,12 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b blitInfo.dstOffsets[1] = {std::max(width >> 1, 1), std::max(height >> 1, 1), 1}; barrier.subresourceRange.levelCount = 1; barrier.prevAccessCount = 1; - barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; + barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[static_cast(AccessType::TRANSFER_WRITE)]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[static_cast(AccessType::TRANSFER_READ)]; - for (uint i = 1u; i < gpuTexture->mipLevels; ++i) { + for (uint i = 1U; i < gpuTexture->mipLevels; ++i) { barrier.subresourceRange.baseMipLevel = i - 1; - CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); + cmdFuncCCVKImageMemoryBarrier(gpuCommandBuffer, barrier); blitInfo.srcSubresource.mipLevel = i - 1; blitInfo.dstSubresource.mipLevel = i; @@ -925,13 +925,13 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b barrier.subresourceRange.baseMipLevel = 0; barrier.subresourceRange.levelCount = gpuTexture->mipLevels - 1; - barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_READ]; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::TRANSFER_WRITE]; + barrier.pPrevAccesses = &THSVS_ACCESS_TYPES[static_cast(AccessType::TRANSFER_READ)]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[static_cast(AccessType::TRANSFER_WRITE)]; - CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); + cmdFuncCCVKImageMemoryBarrier(gpuCommandBuffer, barrier); } else { - const char *formatName = GFX_FORMAT_INFOS[(uint)gpuTexture->format].name.c_str(); - CC_LOG_WARNING("CCVKCmdFuncCopyBuffersToTexture: generate mipmap for %s is not supported on this platform", formatName); + const char *formatName = GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].name.c_str(); + CC_LOG_WARNING("cmdFuncCCVKCopyBuffersToTexture: generate mipmap for %s is not supported on this platform", formatName); } } @@ -940,38 +940,38 @@ void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b device->gpuBarrierManager()->checkIn(gpuTexture); } -void CCVKCmdFuncDestroyRenderPass(CCVKGPUDevice *gpuDevice, CCVKGPURenderPass *gpuRenderPass) { +void cmdFuncCCVKDestroyRenderPass(CCVKGPUDevice *gpuDevice, CCVKGPURenderPass *gpuRenderPass) { if (gpuRenderPass->vkRenderPass != VK_NULL_HANDLE) { vkDestroyRenderPass(gpuDevice->vkDevice, gpuRenderPass->vkRenderPass, nullptr); gpuRenderPass->vkRenderPass = VK_NULL_HANDLE; } } -void CCVKCmdFuncDestroySampler(CCVKGPUDevice *gpuDevice, CCVKGPUSampler *gpuSampler) { +void cmdFuncCCVKDestroySampler(CCVKGPUDevice *gpuDevice, CCVKGPUSampler *gpuSampler) { if (gpuSampler->vkSampler != VK_NULL_HANDLE) { vkDestroySampler(gpuDevice->vkDevice, gpuSampler->vkSampler, nullptr); gpuSampler->vkSampler = VK_NULL_HANDLE; } } -void CCVKCmdFuncDestroyShader(CCVKGPUDevice *gpuDevice, CCVKGPUShader *gpuShader) { +void cmdFuncCCVKDestroyShader(CCVKGPUDevice *gpuDevice, CCVKGPUShader *gpuShader) { for (CCVKGPUShaderStage &stage : gpuShader->gpuStages) { vkDestroyShaderModule(gpuDevice->vkDevice, stage.vkShader, nullptr); stage.vkShader = VK_NULL_HANDLE; } } -void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer *gpuFramebuffer) { +void cmdFuncCCVKDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer *gpuFramebuffer) { if (gpuFramebuffer->isOffscreen) { if (gpuFramebuffer->vkFramebuffer != VK_NULL_HANDLE) { vkDestroyFramebuffer(gpuDevice->vkDevice, gpuFramebuffer->vkFramebuffer, nullptr); gpuFramebuffer->vkFramebuffer = VK_NULL_HANDLE; } } else { - FramebufferListMap & fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; - auto fboListMapIter = fboListMap.find(gpuFramebuffer); + FramebufferListMap &fboListMap = gpuFramebuffer->swapchain->vkSwapchainFramebufferListMap; + auto fboListMapIter = fboListMap.find(gpuFramebuffer); if (fboListMapIter != fboListMap.end()) { - for (auto & i : fboListMapIter->second) { + for (auto &i : fboListMapIter->second) { vkDestroyFramebuffer(gpuDevice->vkDevice, i, nullptr); } fboListMapIter->second.clear(); @@ -980,7 +980,7 @@ void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *gpuDevice, CCVKGPUFramebuffer } } -void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *gpuDevice, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { +void cmdFuncCCVKDestroyDescriptorSetLayout(CCVKGPUDevice *gpuDevice, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout) { if (gpuDescriptorSetLayout->defaultDescriptorSet != VK_NULL_HANDLE) { gpuDevice->getDescriptorSetPool(gpuDescriptorSetLayout->id)->yield(gpuDescriptorSetLayout->defaultDescriptorSet, 0); gpuDescriptorSetLayout->defaultDescriptorSet = VK_NULL_HANDLE; @@ -1001,21 +1001,21 @@ void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *gpuDevice, CCVKGPUDesc } } -void CCVKCmdFuncDestroyPipelineLayout(CCVKGPUDevice *gpuDevice, CCVKGPUPipelineLayout *gpuPipelineLayout) { +void cmdFuncCCVKDestroyPipelineLayout(CCVKGPUDevice *gpuDevice, CCVKGPUPipelineLayout *gpuPipelineLayout) { if (gpuPipelineLayout->vkPipelineLayout != VK_NULL_HANDLE) { vkDestroyPipelineLayout(gpuDevice->vkDevice, gpuPipelineLayout->vkPipelineLayout, nullptr); gpuPipelineLayout->vkPipelineLayout = VK_NULL_HANDLE; } } -void CCVKCmdFuncDestroyPipelineState(CCVKGPUDevice *gpuDevice, CCVKGPUPipelineState *gpuPipelineState) { +void cmdFuncCCVKDestroyPipelineState(CCVKGPUDevice *gpuDevice, CCVKGPUPipelineState *gpuPipelineState) { if (gpuPipelineState->vkPipeline != VK_NULL_HANDLE) { vkDestroyPipeline(gpuDevice->vkDevice, gpuPipelineState->vkPipeline, nullptr); gpuPipelineState->vkPipeline = VK_NULL_HANDLE; } } -void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier) { +void cmdFuncCCVKImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier) { VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; VkPipelineStageFlags tempSrcStageMask = 0; @@ -1028,7 +1028,7 @@ void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, } void CCVKGPURecycleBin::clear() { - for (uint i = 0u; i < _count; ++i) { + for (uint i = 0U; i < _count; ++i) { Resource &res = _resources[i]; switch (res.type) { case RecycledType::BUFFER: @@ -1053,49 +1053,49 @@ void CCVKGPURecycleBin::clear() { break; case RecycledType::RENDER_PASS: if (res.gpuRenderPass) { - CCVKCmdFuncDestroyRenderPass(_device, res.gpuRenderPass); + cmdFuncCCVKDestroyRenderPass(_device, res.gpuRenderPass); CC_DELETE(res.gpuRenderPass); res.gpuRenderPass = nullptr; } break; case RecycledType::FRAMEBUFFER: if (res.gpuFramebuffer) { - CCVKCmdFuncDestroyFramebuffer(_device, res.gpuFramebuffer); + cmdFuncCCVKDestroyFramebuffer(_device, res.gpuFramebuffer); CC_DELETE(res.gpuFramebuffer); res.gpuFramebuffer = nullptr; } break; case RecycledType::SAMPLER: if (res.gpuSampler) { - CCVKCmdFuncDestroySampler(_device, res.gpuSampler); + cmdFuncCCVKDestroySampler(_device, res.gpuSampler); CC_DELETE(res.gpuSampler); res.gpuSampler = nullptr; } break; case RecycledType::SHADER: if (res.gpuShader) { - CCVKCmdFuncDestroyShader(_device, res.gpuShader); + cmdFuncCCVKDestroyShader(_device, res.gpuShader); CC_DELETE(res.gpuShader); res.gpuShader = nullptr; } break; case RecycledType::DESCRIPTOR_SET_LAYOUT: if (res.gpuDescriptorSetLayout) { - CCVKCmdFuncDestroyDescriptorSetLayout(_device, res.gpuDescriptorSetLayout); + cmdFuncCCVKDestroyDescriptorSetLayout(_device, res.gpuDescriptorSetLayout); CC_DELETE(res.gpuDescriptorSetLayout); res.gpuDescriptorSetLayout = nullptr; } break; case RecycledType::PIPELINE_LAYOUT: if (res.gpuPipelineLayout) { - CCVKCmdFuncDestroyPipelineLayout(_device, res.gpuPipelineLayout); + cmdFuncCCVKDestroyPipelineLayout(_device, res.gpuPipelineLayout); CC_DELETE(res.gpuPipelineLayout); res.gpuPipelineLayout = nullptr; } break; case RecycledType::PIPELINE_STATE: if (res.gpuPipelineState) { - CCVKCmdFuncDestroyPipelineState(_device, res.gpuPipelineState); + cmdFuncCCVKDestroyPipelineState(_device, res.gpuPipelineState); CC_DELETE(res.gpuPipelineState); res.gpuPipelineState = nullptr; } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.h b/native/cocos/renderer/gfx-vulkan/VKCommands.h index c09833e9ba..5af3458b16 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.h @@ -33,14 +33,14 @@ namespace gfx { class CCVKDevice; struct CCVKDepthBias { - float constant = 0.0f; - float clamp = 0.0f; - float slope = 0.0f; + float constant = 0.0F; + float clamp = 0.0F; + float slope = 0.0F; }; struct CCVKDepthBounds { - float minBounds = 0.0f; - float maxBounds = 0.0f; + float minBounds = 0.0F; + float maxBounds = 0.0F; }; struct CCVKStencilWriteMask { @@ -54,33 +54,33 @@ struct CCVKStencilCompareMask { uint32_t compareMask = 0; }; -CC_VULKAN_API void CCVKCmdFuncGetDeviceQueue(CCVKDevice *device, CCVKGPUQueue *gpuQueue); +CC_VULKAN_API void cmdFuncCCVKGetDeviceQueue(CCVKDevice *device, CCVKGPUQueue *gpuQueue); -CC_VULKAN_API void CCVKCmdFuncCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture); -CC_VULKAN_API void CCVKCmdFuncCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTextureView); -CC_VULKAN_API void CCVKCmdFuncCreateSampler(CCVKDevice *device, CCVKGPUSampler *gpuSampler); -CC_VULKAN_API void CCVKCmdFuncCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer); -CC_VULKAN_API void CCVKCmdFuncCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRenderPass); -CC_VULKAN_API void CCVKCmdFuncCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFramebuffer); -CC_VULKAN_API void CCVKCmdFuncCreateShader(CCVKDevice *device, CCVKGPUShader *gpuShader); -CC_VULKAN_API void CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout); -CC_VULKAN_API void CCVKCmdFuncCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout); -CC_VULKAN_API void CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); -CC_VULKAN_API void CCVKCmdFuncCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); +CC_VULKAN_API void cmdFuncCCVKCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture); +CC_VULKAN_API void cmdFuncCCVKCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTextureView); +CC_VULKAN_API void cmdFuncCCVKCreateSampler(CCVKDevice *device, CCVKGPUSampler *gpuSampler); +CC_VULKAN_API void cmdFuncCCVKCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer); +CC_VULKAN_API void cmdFuncCCVKCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRenderPass); +CC_VULKAN_API void cmdFuncCCVKCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFramebuffer); +CC_VULKAN_API void cmdFuncCCVKCreateShader(CCVKDevice *device, CCVKGPUShader *gpuShader); +CC_VULKAN_API void cmdFuncCCVKCreateDescriptorSetLayout(CCVKDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout); +CC_VULKAN_API void cmdFuncCCVKCreatePipelineLayout(CCVKDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout); +CC_VULKAN_API void cmdFuncCCVKCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); +CC_VULKAN_API void cmdFuncCCVKCreateComputePipelineState(CCVKDevice *device, CCVKGPUPipelineState *gpuPipelineState); -CC_VULKAN_API void CCVKCmdFuncUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const void *buffer, uint size, const CCVKGPUCommandBuffer *cmdBuffer = nullptr); -CC_VULKAN_API void CCVKCmdFuncCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *buffers, CCVKGPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count, const CCVKGPUCommandBuffer *cmdBuff); +CC_VULKAN_API void cmdFuncCCVKUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const void *buffer, uint size, const CCVKGPUCommandBuffer *cmdBuffer = nullptr); +CC_VULKAN_API void cmdFuncCCVKCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *buffers, CCVKGPUTexture *gpuTexture, const BufferTextureCopy *regions, uint count, const CCVKGPUCommandBuffer *gpuCommandBuffer); -CC_VULKAN_API void CCVKCmdFuncDestroyRenderPass(CCVKGPUDevice *device, CCVKGPURenderPass *gpuRenderPass); -CC_VULKAN_API void CCVKCmdFuncDestroySampler(CCVKGPUDevice *device, CCVKGPUSampler *gpuSampler); -CC_VULKAN_API void CCVKCmdFuncDestroyShader(CCVKGPUDevice *device, CCVKGPUShader *gpuShader); -CC_VULKAN_API void CCVKCmdFuncDestroyFramebuffer(CCVKGPUDevice *device, CCVKGPUFramebuffer *gpuFramebuffer); -CC_VULKAN_API void CCVKCmdFuncDestroyDescriptorSetLayout(CCVKGPUDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout); -CC_VULKAN_API void CCVKCmdFuncDestroyPipelineLayout(CCVKGPUDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout); -CC_VULKAN_API void CCVKCmdFuncDestroyPipelineState(CCVKGPUDevice *device, CCVKGPUPipelineState *gpuPipelineState); +CC_VULKAN_API void cmdFuncCCVKDestroyRenderPass(CCVKGPUDevice *device, CCVKGPURenderPass *gpuRenderPass); +CC_VULKAN_API void cmdFuncCCVKDestroySampler(CCVKGPUDevice *device, CCVKGPUSampler *gpuSampler); +CC_VULKAN_API void cmdFuncCCVKDestroyShader(CCVKGPUDevice *device, CCVKGPUShader *gpuShader); +CC_VULKAN_API void cmdFuncCCVKDestroyFramebuffer(CCVKGPUDevice *device, CCVKGPUFramebuffer *gpuFramebuffer); +CC_VULKAN_API void cmdFuncCCVKDestroyDescriptorSetLayout(CCVKGPUDevice *device, CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout); +CC_VULKAN_API void cmdFuncCCVKDestroyPipelineLayout(CCVKGPUDevice *device, CCVKGPUPipelineLayout *gpuPipelineLayout); +CC_VULKAN_API void cmdFuncCCVKDestroyPipelineState(CCVKGPUDevice *device, CCVKGPUPipelineState *gpuPipelineState); -CC_VULKAN_API void CCVKCmdFuncImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier); -CC_VULKAN_API void CCVKCmdFuncGlobalMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsGlobalBarrier &globalBarrier); +CC_VULKAN_API void cmdFuncCCVKImageMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsImageBarrier &imageBarrier); +CC_VULKAN_API void cmdFuncCCVKGlobalMemoryBarrier(const CCVKGPUCommandBuffer *gpuCommandBuffer, const ThsvsGlobalBarrier &globalBarrier); } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index db3712febb..ecaac9f968 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -99,12 +99,9 @@ VKAPI_ATTR VkBool32 VKAPI_CALL debugReportCallback(VkDebugReportFlagsEXT fl #endif } // namespace -CCVKContext::CCVKContext() -: Context() { -} +CCVKContext::CCVKContext() = default; -CCVKContext::~CCVKContext() { -} +CCVKContext::~CCVKContext() = default; bool CCVKContext::doInit(const ContextInfo &info) { if (!info.sharedCtx) { @@ -226,9 +223,9 @@ bool CCVKContext::doInit(const ContextInfo &info) { VkInstanceCreateInfo instanceInfo{VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO}; instanceInfo.pApplicationInfo = &app; - instanceInfo.enabledExtensionCount = toUint(_extensions.size()); + instanceInfo.enabledExtensionCount = utils::toUint(_extensions.size()); instanceInfo.ppEnabledExtensionNames = _extensions.data(); - instanceInfo.enabledLayerCount = toUint(_layers.size()); + instanceInfo.enabledLayerCount = utils::toUint(_layers.size()); instanceInfo.ppEnabledLayerNames = _layers.data(); #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION @@ -276,15 +273,15 @@ bool CCVKContext::doInit(const ContextInfo &info) { #if defined(VK_USE_PLATFORM_ANDROID_KHR) VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; - surfaceCreateInfo.window = (ANativeWindow *)_windowHandle; + surfaceCreateInfo.window = reinterpret_cast(_windowHandle); VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); - EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [this](const CustomEvent &event) -> void { + EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [this](const CustomEvent &/*event*/) -> void { if (_gpuContext && _gpuContext->vkSurface != VK_NULL_HANDLE) { CCVKDevice *device = CCVKDevice::getInstance(); - CCVKQueue *queue = (CCVKQueue *)device->getQueue(); + auto *queue = static_cast(device->getQueue()); uint fenceCount = device->gpuFencePool()->size(); if (fenceCount) { @@ -301,12 +298,11 @@ bool CCVKContext::doInit(const ContextInfo &info) { }); EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [this](const CustomEvent &event) -> void { - _windowHandle = (uintptr_t)event.args->ptrVal; + _windowHandle = reinterpret_cast(event.args->ptrVal); if (_gpuContext && _gpuContext->vkSurface == VK_NULL_HANDLE) { - VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo{ - VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; - surfaceCreateInfo.window = (ANativeWindow *)_windowHandle; + VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; + surfaceCreateInfo.window = reinterpret_cast(_windowHandle); VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); @@ -315,22 +311,22 @@ bool CCVKContext::doInit(const ContextInfo &info) { }); #elif defined(VK_USE_PLATFORM_WIN32_KHR) VkWin32SurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR}; - surfaceCreateInfo.hinstance = (HINSTANCE)GetModuleHandle(0); - surfaceCreateInfo.hwnd = (HWND)_windowHandle; + surfaceCreateInfo.hinstance = static_cast(GetModuleHandle(0)); + surfaceCreateInfo.hwnd = reinterpret_cast(_windowHandle); VK_CHECK(vkCreateWin32SurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #elif defined(VK_USE_PLATFORM_METAL_EXT) VkMetalSurfaceCreateInfoEXT surfaceCreateInfo{VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT}; - surfaceCreateInfo.pLayer = (CAMetalLayer *)_windowHandle; + surfaceCreateInfo.pLayer = static_cast(_windowHandle); VK_CHECK(vkCreateMetalSurfaceEXT(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #elif defined(VK_USE_PLATFORM_WAYLAND_KHR) VkWaylandSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR}; surfaceCreateInfo.display = nullptr; // TODO - surfaceCreateInfo.surface = (wl_surface *)_windowHandle; + surfaceCreateInfo.surface = static_cast(_windowHandle); VK_CHECK(vkCreateWaylandSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #elif defined(VK_USE_PLATFORM_XCB_KHR) VkXcbSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR}; surfaceCreateInfo.connection = nullptr; // TODO - surfaceCreateInfo.window = (xcb_window_t)_windowHandle; + surfaceCreateInfo.window = static_cast(_windowHandle); VK_CHECK(vkCreateXcbSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #else #pragma error Platform not supported @@ -352,12 +348,12 @@ bool CCVKContext::doInit(const ContextInfo &info) { vector physicalDeviceProperties(physicalDeviceCount); uint deviceIndex; - for (deviceIndex = 0u; deviceIndex < physicalDeviceCount; ++deviceIndex) { + for (deviceIndex = 0U; deviceIndex < physicalDeviceCount; ++deviceIndex) { VkPhysicalDeviceProperties &properties = physicalDeviceProperties[deviceIndex]; vkGetPhysicalDeviceProperties(physicalDeviceHandles[deviceIndex], &properties); } - for (deviceIndex = 0u; deviceIndex < physicalDeviceCount; ++deviceIndex) { + for (deviceIndex = 0U; deviceIndex < physicalDeviceCount; ++deviceIndex) { VkPhysicalDeviceProperties &properties = physicalDeviceProperties[deviceIndex]; if (properties.deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU) { break; @@ -406,12 +402,12 @@ bool CCVKContext::doInit(const ContextInfo &info) { VkSurfaceCapabilitiesKHR surfaceCapabilities{}; vkGetPhysicalDeviceSurfaceCapabilitiesKHR(_gpuContext->physicalDevice, _gpuContext->vkSurface, &surfaceCapabilities); - uint surfaceFormatCount = 0u; + uint surfaceFormatCount = 0U; VK_CHECK(vkGetPhysicalDeviceSurfaceFormatsKHR(_gpuContext->physicalDevice, _gpuContext->vkSurface, &surfaceFormatCount, nullptr)); vector surfaceFormats(surfaceFormatCount); VK_CHECK(vkGetPhysicalDeviceSurfaceFormatsKHR(_gpuContext->physicalDevice, _gpuContext->vkSurface, &surfaceFormatCount, surfaceFormats.data())); - uint presentModeCount = 0u; + uint presentModeCount = 0U; VK_CHECK(vkGetPhysicalDeviceSurfacePresentModesKHR(_gpuContext->physicalDevice, _gpuContext->vkSurface, &presentModeCount, nullptr)); vector presentModes(presentModeCount); VK_CHECK(vkGetPhysicalDeviceSurfacePresentModesKHR(_gpuContext->physicalDevice, _gpuContext->vkSurface, &presentModeCount, presentModes.data())); @@ -478,7 +474,7 @@ bool CCVKContext::doInit(const ContextInfo &info) { case VsyncMode::ON: presentModePriorityList.insert(presentModePriorityList.end(), {VK_PRESENT_MODE_FIFO_KHR}); break; case VsyncMode::RELAXED: presentModePriorityList.insert(presentModePriorityList.end(), {VK_PRESENT_MODE_FIFO_RELAXED_KHR, VK_PRESENT_MODE_FIFO_KHR}); break; case VsyncMode::MAILBOX: presentModePriorityList.insert(presentModePriorityList.end(), {VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_IMMEDIATE_KHR, VK_PRESENT_MODE_FIFO_KHR}); break; - case VsyncMode::HALF: presentModePriorityList.insert(presentModePriorityList.end(), {VK_PRESENT_MODE_FIFO_KHR}); break; // TODO + case VsyncMode::HALF: presentModePriorityList.insert(presentModePriorityList.end(), {VK_PRESENT_MODE_FIFO_KHR}); break; // no easy fallback } VkPresentModeKHR swapchainPresentMode = VK_PRESENT_MODE_FIFO_KHR; @@ -490,13 +486,13 @@ bool CCVKContext::doInit(const ContextInfo &info) { } // Determine the number of images - uint desiredNumberOfSwapchainImages = std::max(3u, surfaceCapabilities.minImageCount + 1); + uint desiredNumberOfSwapchainImages = std::max(3U, surfaceCapabilities.minImageCount + 1); if ((surfaceCapabilities.maxImageCount > 0) && (desiredNumberOfSwapchainImages > surfaceCapabilities.maxImageCount)) { desiredNumberOfSwapchainImages = surfaceCapabilities.maxImageCount; } - VkExtent2D imageExtent = {1u, 1u}; + VkExtent2D imageExtent = {1U, 1U}; VkSurfaceTransformFlagBitsKHR preTransform = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR; // Find a supported composite alpha format (not all devices support alpha opaque) @@ -538,12 +534,12 @@ bool CCVKContext::doInit(const ContextInfo &info) { _gpuContext->swapchainCreateInfo.clipped = VK_TRUE; // Setting clipped to VK_TRUE allows the implementation to discard rendering outside of the surface area } else { - CCVKContext *sharedCtx = (CCVKContext *)info.sharedCtx; - _majorVersion = sharedCtx->majorVersion(); - _minorVersion = sharedCtx->minorVersion(); - _layers = sharedCtx->getLayers(); - _extensions = sharedCtx->getExtensions(); - _gpuContext = sharedCtx->gpuContext(); + auto *sharedCtx = static_cast(info.sharedCtx); + _majorVersion = sharedCtx->majorVersion(); + _minorVersion = sharedCtx->minorVersion(); + _layers = sharedCtx->getLayers(); + _extensions = sharedCtx->getExtensions(); + _gpuContext = sharedCtx->gpuContext(); } return true; diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.h b/native/cocos/renderer/gfx-vulkan/VKContext.h index cd41e87c26..b6af9f68bb 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.h +++ b/native/cocos/renderer/gfx-vulkan/VKContext.h @@ -23,9 +23,9 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef CC_GFXVULKAN_CONTEXT_H_ -#define CC_GFXVULKAN_CONTEXT_H_ +#pragma once +#include "VKStd.h" #include "gfx-base/GFXContext.h" namespace cc { @@ -40,22 +40,21 @@ class CCVKGPUSemaphorePool; class CC_VULKAN_API CCVKContext final : public Context { public: CCVKContext(); - ~CCVKContext(); + ~CCVKContext() override; void present() override {} - CC_INLINE bool checkExtension(const String &extension) const { - return std::find_if(_extensions.begin(), _extensions.end(), - [extension](const char *device_extension) { - return std::strcmp(device_extension, extension.c_str()) == 0; - }) != _extensions.end(); + inline bool checkExtension(const String &extension) const { + return std::any_of(_extensions.begin(), _extensions.end(), [&extension](auto &ext) { + return std::strcmp(ext, extension.c_str()) == 0; + }); } - CC_INLINE int majorVersion() const { return _majorVersion; } - CC_INLINE int minorVersion() const { return _minorVersion; } - CC_INLINE CCVKGPUContext *gpuContext() { return _gpuContext; } - CC_INLINE const vector &getLayers() const { return _layers; } - CC_INLINE const vector &getExtensions() const { return _extensions; } + inline int majorVersion() const { return _majorVersion; } + inline int minorVersion() const { return _minorVersion; } + inline CCVKGPUContext * gpuContext() { return _gpuContext; } + inline const vector &getLayers() const { return _layers; } + inline const vector &getExtensions() const { return _extensions; } protected: bool doInit(const ContextInfo &info) override; @@ -71,5 +70,3 @@ protected: } // namespace gfx } // namespace cc - -#endif // CC_GFXVULKAN_CONTEXT_H_ diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 19562bb2f4..63f91f5cb4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -38,15 +38,13 @@ namespace cc { namespace gfx { -CCVKDescriptorSet::CCVKDescriptorSet() -: DescriptorSet() { -} +CCVKDescriptorSet::CCVKDescriptorSet() = default; CCVKDescriptorSet::~CCVKDescriptorSet() { destroy(); } -void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { +void CCVKDescriptorSet::doInit(const DescriptorSetInfo & /*info*/) { CCVKGPUDescriptorSetLayout *gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const uint bindingCount = gpuDescriptorSetLayout->bindings.size(); const uint descriptorCount = gpuDescriptorSetLayout->descriptorCount; @@ -55,7 +53,7 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount, {}); _gpuDescriptorSet->layoutID = gpuDescriptorSetLayout->id; - for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { + for (size_t i = 0U, k = 0U; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; for (uint j = 0; j < binding.count; ++j, ++k) { CCVKGPUDescriptor &gpuDescriptor = _gpuDescriptorSet->gpuDescriptors[k]; @@ -95,12 +93,12 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { _gpuDescriptorSet->gpuLayout = gpuDescriptorSetLayout; _gpuDescriptorSet->instances.resize(gpuDevice->backBufferCount); - for (size_t t = 0u; t < gpuDevice->backBufferCount; ++t) { + for (size_t t = 0U; t < gpuDevice->backBufferCount; ++t) { CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; instance.vkDescriptorSet = gpuDevice->getDescriptorSetPool(_gpuDescriptorSet->layoutID)->request(t); instance.descriptorInfos.resize(descriptorCount, {}); - for (size_t i = 0u, k = 0u; i < bindingCount; ++i) { + for (size_t i = 0U, k = 0U; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; for (uint j = 0; j < binding.count; ++j, ++k) { if (binding.descriptorType & DESCRIPTOR_BUFFER_TYPE) { @@ -121,9 +119,9 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo &info) { vector &entries = instance.descriptorUpdateEntries; entries.resize(descriptorCount, {VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET}); - for (size_t i = 0u, j = 0u; i < bindingCount; i++) { + for (size_t i = 0U, j = 0U; i < bindingCount; i++) { const VkDescriptorSetLayoutBinding &descriptor = gpuDescriptorSetLayout->vkBindings[i]; - for (size_t k = 0u; k < descriptor.descriptorCount; k++, j++) { + for (size_t k = 0U; k < descriptor.descriptorCount; k++, j++) { entries[j].dstSet = instance.vkDescriptorSet; entries[j].dstBinding = descriptor.binding; entries[j].dstArrayElement = k; @@ -160,10 +158,10 @@ void CCVKDescriptorSet::doDestroy() { CCVKGPUDevice * gpuDevice = CCVKDevice::getInstance()->gpuDevice(); CCVKGPUDescriptorHub *descriptorHub = CCVKDevice::getInstance()->gpuDescriptorHub(); - for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { + for (size_t t = 0U; t < _gpuDescriptorSet->instances.size(); ++t) { CCVKGPUDescriptorSet::Instance &instance = _gpuDescriptorSet->instances[t]; - for (uint i = 0u; i < _gpuDescriptorSet->gpuDescriptors.size(); i++) { + for (uint i = 0U; i < _gpuDescriptorSet->gpuDescriptors.size(); i++) { CCVKGPUDescriptor &binding = _gpuDescriptorSet->gpuDescriptors[i]; CCVKDescriptorInfo &descriptorInfo = instance.descriptorInfos[i]; @@ -196,14 +194,14 @@ void CCVKDescriptorSet::update() { CCVKGPUBarrierManager *layoutMgr = CCVKDevice::getInstance()->gpuBarrierManager(); uint descriptorCount = _gpuDescriptorSet->gpuDescriptors.size(); - for (size_t i = 0u; i < descriptorCount; i++) { + for (size_t i = 0U; i < descriptorCount; i++) { CCVKGPUDescriptor &binding = _gpuDescriptorSet->gpuDescriptors[i]; if (binding.type & DESCRIPTOR_BUFFER_TYPE) { if (_buffers[i]) { CCVKGPUBufferView *bufferView = static_cast(_buffers[i])->gpuBufferView(); if (binding.gpuBufferView != bufferView) { - for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { + for (size_t t = 0U; t < _gpuDescriptorSet->instances.size(); ++t) { CCVKDescriptorInfo &descriptorInfo = _gpuDescriptorSet->instances[t].descriptorInfos[i]; if (binding.gpuBufferView) { @@ -221,8 +219,8 @@ void CCVKDescriptorSet::update() { if (_textures[i]) { CCVKGPUTextureView *textureView = static_cast(_textures[i])->gpuTextureView(); if (binding.gpuTextureView != textureView) { - for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { - CCVKDescriptorInfo &descriptorInfo = _gpuDescriptorSet->instances[t].descriptorInfos[i]; + for (auto &instance : _gpuDescriptorSet->instances) { + CCVKDescriptorInfo &descriptorInfo = instance.descriptorInfos[i]; if (binding.gpuTextureView) { descriptorHub->disengage(binding.gpuTextureView, &descriptorInfo.image); } @@ -238,8 +236,8 @@ void CCVKDescriptorSet::update() { if (_samplers[i]) { CCVKGPUSampler *sampler = static_cast(_samplers[i])->gpuSampler(); if (binding.gpuSampler != sampler) { - for (size_t t = 0u; t < _gpuDescriptorSet->instances.size(); ++t) { - CCVKDescriptorInfo &descriptorInfo = _gpuDescriptorSet->instances[t].descriptorInfos[i]; + for (auto &instance : _gpuDescriptorSet->instances) { + CCVKDescriptorInfo &descriptorInfo = instance.descriptorInfos[i]; if (binding.gpuSampler) { descriptorHub->disengage(binding.gpuSampler, &descriptorInfo.image); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp index 7f8e136548..02b40aa9f4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -CCVKDescriptorSetLayout::CCVKDescriptorSetLayout() -: DescriptorSetLayout() { -} +CCVKDescriptorSetLayout::CCVKDescriptorSetLayout() = default; CCVKDescriptorSetLayout::~CCVKDescriptorSetLayout() { destroy(); } -void CCVKDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { +void CCVKDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo & /*info*/) { _gpuDescriptorSetLayout = CC_NEW(CCVKGPUDescriptorSetLayout); _gpuDescriptorSetLayout->id = generateID(); @@ -49,16 +47,15 @@ void CCVKDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; _gpuDescriptorSetLayout->bindings = _bindings; - for (uint i = 0u; i < _bindings.size(); i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; + for (auto & binding : _bindings) { if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { - for (uint j = 0u; j < binding.count; j++) { + for (uint j = 0U; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } } } - CCVKCmdFuncCreateDescriptorSetLayout(CCVKDevice::getInstance(), _gpuDescriptorSetLayout); + cmdFuncCCVKCreateDescriptorSetLayout(CCVKDevice::getInstance(), _gpuDescriptorSetLayout); } void CCVKDescriptorSetLayout::doDestroy() { diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 886f6a46f9..789eacf420 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -59,31 +59,31 @@ namespace gfx { //#define DISABLE_PRE_TRANSFORM -CCVKDevice *CCVKDevice::_instance = nullptr; +CCVKDevice *CCVKDevice::instance = nullptr; CCVKDevice *CCVKDevice::getInstance() { - return CCVKDevice::_instance; + return CCVKDevice::instance; } CCVKDevice::CCVKDevice() { - _API = API::VULKAN; + _api = API::VULKAN; _deviceName = "Vulkan"; - _caps.clipSpaceMinZ = 0.0f; - _caps.screenSpaceSignY = -1.0f; - _caps.UVSpaceSignY = 1.0f; - CCVKDevice::_instance = this; + _caps.clipSpaceMinZ = 0.0F; + _caps.screenSpaceSignY = -1.0F; + _caps.UVSpaceSignY = 1.0F; + CCVKDevice::instance = this; } CCVKDevice::~CCVKDevice() { - CCVKDevice::_instance = nullptr; + CCVKDevice::instance = nullptr; } CCVKGPUContext *CCVKDevice::gpuContext() const { return static_cast(_context)->gpuContext(); } -bool CCVKDevice::doInit(const DeviceInfo &info) { +bool CCVKDevice::doInit(const DeviceInfo & /*info*/) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; @@ -93,8 +93,8 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { return false; } - const CCVKContext * context = (CCVKContext *)_context; - const CCVKGPUContext * gpuContext = static_cast(_context)->gpuContext(); + auto * context = static_cast(_context); + const CCVKGPUContext * gpuContext = context->gpuContext(); const VkPhysicalDeviceFeatures2 &deviceFeatures2 = gpuContext->physicalDeviceFeatures2; const VkPhysicalDeviceFeatures & deviceFeatures = deviceFeatures2.features; //const VkPhysicalDeviceVulkan11Features &deviceVulkan11Features = gpuContext->physicalDeviceVulkan11Features; @@ -164,14 +164,14 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { } // prepare the device queues - uint queueFamilyPropertiesCount = toUint(gpuContext->queueFamilyProperties.size()); + uint queueFamilyPropertiesCount = utils::toUint(gpuContext->queueFamilyProperties.size()); vector queueCreateInfos(queueFamilyPropertiesCount, {VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO}); vector> queuePriorities(queueFamilyPropertiesCount); - for (uint queueFamilyIndex = 0u; queueFamilyIndex < queueFamilyPropertiesCount; ++queueFamilyIndex) { + for (uint queueFamilyIndex = 0U; queueFamilyIndex < queueFamilyPropertiesCount; ++queueFamilyIndex) { const VkQueueFamilyProperties &queueFamilyProperty = gpuContext->queueFamilyProperties[queueFamilyIndex]; - queuePriorities[queueFamilyIndex].resize(queueFamilyProperty.queueCount, 1.0f); + queuePriorities[queueFamilyIndex].resize(queueFamilyProperty.queueCount, 1.0F); VkDeviceQueueCreateInfo &queueCreateInfo = queueCreateInfos[queueFamilyIndex]; @@ -182,11 +182,11 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { VkDeviceCreateInfo deviceCreateInfo{VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO}; - deviceCreateInfo.queueCreateInfoCount = toUint(queueCreateInfos.size()); + deviceCreateInfo.queueCreateInfoCount = utils::toUint(queueCreateInfos.size()); deviceCreateInfo.pQueueCreateInfos = queueCreateInfos.data(); - deviceCreateInfo.enabledLayerCount = toUint(_layers.size()); + deviceCreateInfo.enabledLayerCount = utils::toUint(_layers.size()); deviceCreateInfo.ppEnabledLayerNames = _layers.data(); - deviceCreateInfo.enabledExtensionCount = toUint(_extensions.size()); + deviceCreateInfo.enabledExtensionCount = utils::toUint(_extensions.size()); deviceCreateInfo.ppEnabledExtensionNames = _extensions.data(); if (_gpuDevice->minorVersion < 1 && !context->checkExtension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME)) { @@ -279,8 +279,8 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { _caps.maxVertexTextureUnits = limits.maxPerStageDescriptorSampledImages; _caps.maxTextureSize = limits.maxImageDimension2D; _caps.maxCubeMapTextureSize = limits.maxImageDimensionCube; - _caps.uboOffsetAlignment = (uint)limits.minUniformBufferOffsetAlignment; - MapDepthStencilBits(_context->getDepthStencilFormat(), _caps.depthBits, _caps.stencilBits); + _caps.uboOffsetAlignment = static_cast(limits.minUniformBufferOffsetAlignment); + mapDepthStencilBits(_context->getDepthStencilFormat(), &_caps.depthBits, &_caps.stencilBits); // compute shaders _caps.maxComputeSharedMemorySize = limits.maxComputeSharedMemorySize; _caps.maxComputeWorkGroupInvocations = limits.maxComputeWorkGroupInvocations; @@ -340,7 +340,7 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { VK_CHECK(vmaCreateAllocator(&allocatorInfo, &_gpuDevice->memoryAllocator)); uint backBufferCount = gpuContext->swapchainCreateInfo.minImageCount; - for (uint i = 0u; i < backBufferCount; i++) { + for (uint i = 0U; i < backBufferCount; i++) { _gpuFencePools.push_back(CC_NEW(CCVKGPUFencePool(_gpuDevice))); _gpuRecycleBins.push_back(CC_NEW(CCVKGPURecycleBin(_gpuDevice))); _gpuStagingBufferPools.push_back(CC_NEW(CCVKGPUStagingBufferPool(_gpuDevice))); @@ -355,21 +355,21 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { _gpuDescriptorHub->link(_gpuDescriptorSetHub); - CCVKCmdFuncCreateSampler(this, &_gpuDevice->defaultSampler); + cmdFuncCCVKCreateSampler(this, &_gpuDevice->defaultSampler); _gpuDevice->defaultTexture.format = Format::RGBA8; _gpuDevice->defaultTexture.usage = TextureUsageBit::SAMPLED; - _gpuDevice->defaultTexture.width = _gpuDevice->defaultTexture.height = 1u; - _gpuDevice->defaultTexture.size = FormatSize(Format::RGBA8, 1u, 1u, 1u); - CCVKCmdFuncCreateTexture(this, &_gpuDevice->defaultTexture); + _gpuDevice->defaultTexture.width = _gpuDevice->defaultTexture.height = 1U; + _gpuDevice->defaultTexture.size = formatSize(Format::RGBA8, 1U, 1U, 1U); + cmdFuncCCVKCreateTexture(this, &_gpuDevice->defaultTexture); _gpuDevice->defaultTextureView.gpuTexture = &_gpuDevice->defaultTexture; _gpuDevice->defaultTextureView.format = Format::RGBA8; - CCVKCmdFuncCreateTextureView(this, &_gpuDevice->defaultTextureView); + cmdFuncCCVKCreateTextureView(this, &_gpuDevice->defaultTextureView); ThsvsImageBarrier barrier{}; barrier.nextAccessCount = 1; - barrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::VERTEX_SHADER_READ_TEXTURE]; + barrier.pNextAccesses = &THSVS_ACCESS_TYPES[static_cast(AccessType::VERTEX_SHADER_READ_TEXTURE)]; barrier.image = _gpuDevice->defaultTexture.vkImage; barrier.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED; @@ -378,27 +378,27 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; gpuTransportHub()->checkIn( [&barrier](const CCVKGPUCommandBuffer *gpuCommandBuffer) { - CCVKCmdFuncImageMemoryBarrier(gpuCommandBuffer, barrier); + cmdFuncCCVKImageMemoryBarrier(gpuCommandBuffer, barrier); }, true); // submit immediately _gpuDevice->defaultBuffer.usage = BufferUsage::UNIFORM; _gpuDevice->defaultBuffer.memUsage = MemoryUsage::HOST | MemoryUsage::DEVICE; - _gpuDevice->defaultBuffer.size = _gpuDevice->defaultBuffer.stride = 16u; - _gpuDevice->defaultBuffer.count = 1u; - CCVKCmdFuncCreateBuffer(this, &_gpuDevice->defaultBuffer); + _gpuDevice->defaultBuffer.size = _gpuDevice->defaultBuffer.stride = 16U; + _gpuDevice->defaultBuffer.count = 1U; + cmdFuncCCVKCreateBuffer(this, &_gpuDevice->defaultBuffer); VkPipelineCacheCreateInfo pipelineCacheInfo{VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO}; VK_CHECK(vkCreatePipelineCache(_gpuDevice->vkDevice, &pipelineCacheInfo, nullptr, &_gpuDevice->vkPipelineCache)); - for (uint i = 0u; i < gpuContext->swapchainCreateInfo.minImageCount; i++) { + for (uint i = 0U; i < gpuContext->swapchainCreateInfo.minImageCount; i++) { TextureInfo depthStencilTexInfo; depthStencilTexInfo.type = TextureType::TEX2D; depthStencilTexInfo.usage = TextureUsageBit::DEPTH_STENCIL_ATTACHMENT | TextureUsageBit::SAMPLED; depthStencilTexInfo.format = _context->getDepthStencilFormat(); depthStencilTexInfo.width = _width; depthStencilTexInfo.height = _height; - CCVKTexture *texture = (CCVKTexture *)createTexture(depthStencilTexInfo); + auto *texture = static_cast(createTexture(depthStencilTexInfo)); _depthStencilTextures.push_back(texture); } @@ -407,7 +407,10 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { ///////////////////// Print Debug Info ///////////////////// - String instanceLayers, instanceExtensions, deviceLayers, deviceExtensions; + String instanceLayers; + String instanceExtensions; + String deviceLayers; + String deviceExtensions; for (const char *layer : static_cast(_context)->getLayers()) { instanceLayers += layer + String(" "); } @@ -423,7 +426,7 @@ bool CCVKDevice::doInit(const DeviceInfo &info) { uint32_t apiVersion = gpuContext->physicalDeviceProperties.apiVersion; _renderer = gpuContext->physicalDeviceProperties.deviceName; - _vendor = MapVendorName(gpuContext->physicalDeviceProperties.vendorID); + _vendor = mapVendorName(gpuContext->physicalDeviceProperties.vendorID); _version = StringUtil::format("%d.%d.%d", VK_VERSION_MAJOR(apiVersion), VK_VERSION_MINOR(apiVersion), VK_VERSION_PATCH(apiVersion)); @@ -464,7 +467,7 @@ void CCVKDevice::doDestroy() { CC_SAFE_DELETE(_gpuDescriptorSetHub); uint backBufferCount = static_cast(_context)->gpuContext()->swapchainCreateInfo.minImageCount; - for (uint i = 0u; i < backBufferCount; i++) { + for (uint i = 0U; i < backBufferCount; i++) { _gpuRecycleBins[i]->clear(); CC_SAFE_DELETE(_gpuStagingBufferPools[i]); @@ -501,7 +504,7 @@ void CCVKDevice::doDestroy() { _gpuDevice->defaultTexture.vkImage = VK_NULL_HANDLE; _gpuDevice->defaultTexture.vmaAllocation = VK_NULL_HANDLE; } - CCVKCmdFuncDestroySampler(_gpuDevice, &_gpuDevice->defaultSampler); + cmdFuncCCVKDestroySampler(_gpuDevice, &_gpuDevice->defaultSampler); if (_gpuDevice->memoryAllocator != VK_NULL_HANDLE) { VmaStats stats; @@ -535,7 +538,7 @@ void CCVKDevice::doDestroy() { void CCVKDevice::resize(uint width, uint height) {} void CCVKDevice::acquire() { - CCVKQueue *queue = (CCVKQueue *)_queue; + auto *queue = static_cast(_queue); if (!checkSwapchainStatus()) return; @@ -550,7 +553,7 @@ void CCVKDevice::acquire() { _gpuSemaphorePool->reset(); VkSemaphore acquireSemaphore = _gpuSemaphorePool->alloc(); - VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ull, + VK_CHECK(vkAcquireNextImageKHR(_gpuDevice->vkDevice, _gpuSwapchain->vkSwapchain, ~0ULL, acquireSemaphore, VK_NULL_HANDLE, &_gpuSwapchain->curImageIndex)); #if !defined(VK_USE_PLATFORM_METAL_EXT) @@ -562,10 +565,10 @@ void CCVKDevice::acquire() { } void CCVKDevice::present() { - CCVKQueue *queue = (CCVKQueue *)_queue; - _numDrawCalls = queue->_numDrawCalls; - _numInstances = queue->_numInstances; - _numTriangles = queue->_numTriangles; + auto *queue = static_cast(_queue); + _numDrawCalls = queue->_numDrawCalls; + _numInstances = queue->_numInstances; + _numTriangles = queue->_numTriangles; if (queue->gpuQueue()->nextWaitSemaphore) { // don't present if not acquired VkPresentInfoKHR presentInfo{VK_STRUCTURE_TYPE_PRESENT_INFO_KHR}; @@ -598,7 +601,7 @@ CCVKGPUFencePool * CCVKDevice::gpuFencePool() { return _gpuFencePools[_gp CCVKGPURecycleBin * CCVKDevice::gpuRecycleBin() { return _gpuRecycleBins[_gpuDevice->curBackBufferIndex]; } CCVKGPUStagingBufferPool *CCVKDevice::gpuStagingBufferPool() { return _gpuStagingBufferPools[_gpuDevice->curBackBufferIndex]; } -CommandBuffer *CCVKDevice::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { +CommandBuffer *CCVKDevice::createCommandBuffer(const CommandBufferInfo & /*info*/, bool /*hasAgent*/) { return CC_NEW(CCVKCommandBuffer); } @@ -660,7 +663,7 @@ TextureBarrier *CCVKDevice::createTextureBarrier() { void CCVKDevice::copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) { gpuTransportHub()->checkIn([this, buffers, dst, regions, count](CCVKGPUCommandBuffer *gpuCommandBuffer) { - CCVKCmdFuncCopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count, gpuCommandBuffer); + cmdFuncCCVKCopyBuffersToTexture(this, buffers, static_cast(dst)->gpuTexture(), regions, count, gpuCommandBuffer); }); } @@ -689,7 +692,7 @@ bool CCVKDevice::checkSwapchainStatus() { return true; } - if (newWidth == (uint)-1) { + if (newWidth == static_cast(-1)) { context->swapchainCreateInfo.imageExtent.width = _width; context->swapchainCreateInfo.imageExtent.height = _height; } else { @@ -701,7 +704,7 @@ bool CCVKDevice::checkSwapchainStatus() { return _swapchainReady = false; } - _transform = MapSurfaceTransform(preTransform); + _transform = mapSurfaceTransform(preTransform); context->swapchainCreateInfo.preTransform = preTransform; context->swapchainCreateInfo.surface = context->vkSurface; context->swapchainCreateInfo.oldSwapchain = _gpuSwapchain->vkSwapchain; @@ -715,7 +718,7 @@ bool CCVKDevice::checkSwapchainStatus() { destroySwapchain(); - _gpuDevice->curBackBufferIndex = 0u; + _gpuDevice->curBackBufferIndex = 0U; _gpuSwapchain->curImageIndex = 0; _gpuSwapchain->vkSwapchain = vkSwapchain; @@ -726,7 +729,7 @@ bool CCVKDevice::checkSwapchainStatus() { assert(imageCount == context->swapchainCreateInfo.minImageCount); // assert if swapchain image count assumption is broken _gpuSwapchain->vkSwapchainImageViews.resize(imageCount); - for (uint i = 0u; i < imageCount; i++) { + for (uint i = 0U; i < imageCount; i++) { _depthStencilTextures[i]->resize(_width, _height); _gpuSwapchain->depthStencilImages.push_back(static_cast(_depthStencilTextures[i])->gpuTexture()->vkImage); _gpuSwapchain->depthStencilImageViews.push_back(static_cast(_depthStencilTextures[i])->gpuTextureView()->vkImageView); @@ -742,7 +745,7 @@ bool CCVKDevice::checkSwapchainStatus() { VK_CHECK(vkCreateImageView(_gpuDevice->vkDevice, &imageViewCreateInfo, nullptr, &_gpuSwapchain->vkSwapchainImageViews[i])); } - bool hasStencil = GFX_FORMAT_INFOS[(uint)_context->getDepthStencilFormat()].hasStencil; + bool hasStencil = GFX_FORMAT_INFOS[static_cast(_context->getDepthStencilFormat())].hasStencil; vector barriers(imageCount * 2, VkImageMemoryBarrier{}); VkPipelineStageFlags srcStageMask = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT; VkPipelineStageFlags dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; @@ -753,9 +756,9 @@ bool CCVKDevice::checkSwapchainStatus() { tempBarrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; VkPipelineStageFlags tempSrcStageMask = 0; VkPipelineStageFlags tempDstStageMask = 0; - for (uint i = 0u; i < imageCount; i++) { + for (uint i = 0U; i < imageCount; i++) { tempBarrier.nextAccessCount = 1; - tempBarrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::COLOR_ATTACHMENT_WRITE]; + tempBarrier.pNextAccesses = &THSVS_ACCESS_TYPES[static_cast(AccessType::COLOR_ATTACHMENT_WRITE)]; tempBarrier.image = _gpuSwapchain->swapchainImages[i]; tempBarrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; thsvsGetVulkanImageMemoryBarrier(tempBarrier, &tempSrcStageMask, &tempDstStageMask, &barriers[i]); @@ -763,7 +766,7 @@ bool CCVKDevice::checkSwapchainStatus() { dstStageMask |= tempDstStageMask; tempBarrier.nextAccessCount = 1; - tempBarrier.pNextAccesses = &THSVS_ACCESS_TYPES[(uint)AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE]; + tempBarrier.pNextAccesses = &THSVS_ACCESS_TYPES[static_cast(AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE)]; tempBarrier.image = _gpuSwapchain->depthStencilImages[i]; tempBarrier.subresourceRange.aspectMask = hasStencil ? VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT; thsvsGetVulkanImageMemoryBarrier(tempBarrier, &tempSrcStageMask, &tempDstStageMask, &barriers[imageCount + i]); @@ -779,9 +782,8 @@ bool CCVKDevice::checkSwapchainStatus() { _gpuSwapchain->swapchainImageAccessTypes.assign(imageCount, {THSVS_ACCESS_PRESENT}); _gpuSwapchain->depthStencilImageAccessTypes.assign(imageCount, {THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ}); - for (FramebufferListMapIter it = _gpuSwapchain->vkSwapchainFramebufferListMap.begin(); - it != _gpuSwapchain->vkSwapchainFramebufferListMap.end(); it++) { - CCVKCmdFuncCreateFramebuffer(this, it->first); + for (auto &it : _gpuSwapchain->vkSwapchainFramebufferListMap) { + cmdFuncCCVKCreateFramebuffer(this, it.first); } return _swapchainReady = true; @@ -795,9 +797,8 @@ void CCVKDevice::destroySwapchain() { _gpuSwapchain->depthStencilImageViews.clear(); _gpuSwapchain->depthStencilImages.clear(); - for (FramebufferListMapIter it = _gpuSwapchain->vkSwapchainFramebufferListMap.begin(); - it != _gpuSwapchain->vkSwapchainFramebufferListMap.end(); it++) { - FramebufferList &list = it->second; + for (auto &it : _gpuSwapchain->vkSwapchainFramebufferListMap) { + FramebufferList &list = it.second; for (VkFramebuffer framebuffer : list) { vkDestroyFramebuffer(_gpuDevice->vkDevice, framebuffer, nullptr); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 63dda58320..2b08377af4 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -25,6 +25,7 @@ #pragma once +#include "VKStd.h" #include "gfx-base/GFXDevice.h" namespace cc { @@ -75,30 +76,29 @@ public: void acquire() override; void present() override; - CC_INLINE bool checkExtension(const String &extension) const { - return std::find_if(_extensions.begin(), _extensions.end(), - [extension](const char *device_extension) { - return std::strcmp(device_extension, extension.c_str()) == 0; - }) != _extensions.end(); + inline bool checkExtension(const String &extension) const { + return std::any_of(_extensions.begin(), _extensions.end(), [&extension](auto &ext) { + return std::strcmp(ext, extension.c_str()) == 0; + }); } - CCVKGPUContext *gpuContext() const; - CC_INLINE CCVKGPUDevice *gpuDevice() const { return _gpuDevice; } - CC_INLINE CCVKGPUSwapchain *gpuSwapchain() { return _gpuSwapchain; } + CCVKGPUContext * gpuContext() const; + inline CCVKGPUDevice * gpuDevice() const { return _gpuDevice; } + inline CCVKGPUSwapchain *gpuSwapchain() { return _gpuSwapchain; } - CC_INLINE CCVKGPUBufferHub *gpuBufferHub() { return _gpuBufferHub; } - CC_INLINE CCVKGPUTransportHub *gpuTransportHub() { return _gpuTransportHub; } - CC_INLINE CCVKGPUDescriptorHub *gpuDescriptorHub() { return _gpuDescriptorHub; } - CC_INLINE CCVKGPUSemaphorePool *gpuSemaphorePool() { return _gpuSemaphorePool; } - CC_INLINE CCVKGPUBarrierManager *gpuBarrierManager() { return _gpuBarrierManager; } - CC_INLINE CCVKGPUDescriptorSetHub *gpuDescriptorSetHub() { return _gpuDescriptorSetHub; } + inline CCVKGPUBufferHub * gpuBufferHub() { return _gpuBufferHub; } + inline CCVKGPUTransportHub * gpuTransportHub() { return _gpuTransportHub; } + inline CCVKGPUDescriptorHub * gpuDescriptorHub() { return _gpuDescriptorHub; } + inline CCVKGPUSemaphorePool * gpuSemaphorePool() { return _gpuSemaphorePool; } + inline CCVKGPUBarrierManager * gpuBarrierManager() { return _gpuBarrierManager; } + inline CCVKGPUDescriptorSetHub *gpuDescriptorSetHub() { return _gpuDescriptorSetHub; } CCVKGPUFencePool * gpuFencePool(); CCVKGPURecycleBin * gpuRecycleBin(); CCVKGPUStagingBufferPool *gpuStagingBufferPool(); protected: - static CCVKDevice *_instance; + static CCVKDevice *instance; friend class DeviceManager; diff --git a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp index 8a9d63b766..470d673eee 100644 --- a/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKFramebuffer.cpp @@ -34,21 +34,19 @@ namespace cc { namespace gfx { -CCVKFramebuffer::CCVKFramebuffer() -: Framebuffer() { -} +CCVKFramebuffer::CCVKFramebuffer() = default; CCVKFramebuffer::~CCVKFramebuffer() { destroy(); } -void CCVKFramebuffer::doInit(const FramebufferInfo &info) { - _gpuFBO = CC_NEW(CCVKGPUFramebuffer); +void CCVKFramebuffer::doInit(const FramebufferInfo & /*info*/) { + _gpuFBO = CC_NEW(CCVKGPUFramebuffer); _gpuFBO->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); _gpuFBO->gpuColorViews.resize(_colorTextures.size()); for (size_t i = 0; i < _colorTextures.size(); ++i) { - CCVKTexture *colorTex = (CCVKTexture *)_colorTextures[i]; + auto *colorTex = static_cast(_colorTextures[i]); if (colorTex) { _gpuFBO->gpuColorViews[i] = colorTex->gpuTextureView(); } @@ -58,7 +56,7 @@ void CCVKFramebuffer::doInit(const FramebufferInfo &info) { _gpuFBO->gpuDepthStencilView = static_cast(_depthStencilTexture)->gpuTextureView(); } - CCVKCmdFuncCreateFramebuffer(CCVKDevice::getInstance(), _gpuFBO); + cmdFuncCCVKCreateFramebuffer(CCVKDevice::getInstance(), _gpuFBO); } void CCVKFramebuffer::doDestroy() { diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index b8f96dacc7..94b8e4d2d6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -25,8 +25,12 @@ #pragma once +#include #include +#include "base/CachedArray.h" + +#include "VKStd.h" #include "VKUtils.h" #define TBB_USE_EXCEPTIONS 0 // no-rtti for now @@ -85,12 +89,12 @@ public: TextureType type = TextureType::TEX2D; Format format = Format::UNKNOWN; TextureUsage usage = TextureUsageBit::NONE; - uint width = 0u; - uint height = 0u; - uint depth = 1u; - uint size = 0u; - uint arrayLayers = 1u; - uint mipLevels = 1u; + uint width = 0U; + uint height = 0U; + uint depth = 1U; + uint size = 0U; + uint arrayLayers = 1U; + uint mipLevels = 1U; SampleCount samples = SampleCount::X1; TextureFlags flags = TextureFlagBit::NONE; VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; @@ -110,10 +114,10 @@ public: CCVKGPUTexture *gpuTexture = nullptr; TextureType type = TextureType::TEX2D; Format format = Format::UNKNOWN; - uint baseLevel = 0u; - uint levelCount = 1u; - uint baseLayer = 0u; - uint layerCount = 1u; + uint baseLevel = 0U; + uint levelCount = 1U; + uint baseLayer = 0U; + uint layerCount = 1U; // descriptor infos VkImageView vkImageView = VK_NULL_HANDLE; @@ -128,10 +132,10 @@ public: Address addressU = Address::WRAP; Address addressV = Address::WRAP; Address addressW = Address::WRAP; - uint maxAnisotropy = 0u; + uint maxAnisotropy = 0U; ComparisonFunc cmpFunc = ComparisonFunc::NEVER; Color borderColor; - float mipLODBias = 0.0f; + float mipLODBias = 0.0F; // descriptor infos VkSampler vkSampler; @@ -141,8 +145,8 @@ class CCVKGPUBuffer final : public Object { public: BufferUsage usage = BufferUsage::NONE; MemoryUsage memUsage = MemoryUsage::NONE; - uint stride = 0u; - uint count = 0u; + uint stride = 0U; + uint count = 0U; void * buffer = nullptr; bool isDrawIndirectByIndex = false; @@ -154,10 +158,10 @@ public: // descriptor infos VkBuffer vkBuffer = VK_NULL_HANDLE; - VkDeviceSize startOffset = 0u; - VkDeviceSize size = 0u; + VkDeviceSize startOffset = 0U; + VkDeviceSize size = 0U; - VkDeviceSize instanceSize = 0u; // per-back-buffer instance + VkDeviceSize instanceSize = 0U; // per-back-buffer instance // for barrier manager vector renderAccessTypes; // gathered from descriptor sets @@ -168,8 +172,8 @@ using CCVKGPUBufferList = vector; class CCVKGPUBufferView final : public Object { public: CCVKGPUBuffer *gpuBuffer = nullptr; - uint offset = 0u; - uint range = 0u; + uint offset = 0U; + uint range = 0U; }; class CCVKGPUSwapchain; @@ -183,13 +187,13 @@ public: bool isOffscreen = true; }; -using FramebufferList = vector; -using FramebufferListMap = unordered_map; +using FramebufferList = vector; +using FramebufferListMap = unordered_map; using FramebufferListMapIter = FramebufferListMap::iterator; class CCVKGPUSwapchain final : public Object { public: - uint curImageIndex = 0u; + uint curImageIndex = 0U; VkSwapchainKHR vkSwapchain = VK_NULL_HANDLE; vector vkSwapchainImageViews; FramebufferListMap vkSwapchainFramebufferListMap; @@ -205,7 +209,7 @@ class CCVKGPUCommandBuffer final : public Object { public: VkCommandBuffer vkCommandBuffer = VK_NULL_HANDLE; VkCommandBufferLevel level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; - uint queueFamilyIndex = 0u; + uint queueFamilyIndex = 0U; bool began = false; mutable unordered_set recordedBuffers; }; @@ -214,7 +218,7 @@ class CCVKGPUQueue final : public Object { public: QueueType type = QueueType::GRAPHICS; VkQueue vkQueue = VK_NULL_HANDLE; - uint queueFamilyIndex = 0u; + uint queueFamilyIndex = 0U; VkSemaphore nextWaitSemaphore = VK_NULL_HANDLE; VkSemaphore nextSignalSemaphore = VK_NULL_HANDLE; VkPipelineStageFlags submitStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; @@ -280,7 +284,7 @@ public: }; vector instances; // per swapchain image - uint layoutID = 0u; + uint layoutID = 0U; }; using CCVKGPUDescriptorSetLayoutList = vector; @@ -313,8 +317,8 @@ public: class CCVKGPUGlobalBarrier final : public Object { public: - VkPipelineStageFlags srcStageMask = 0u; - VkPipelineStageFlags dstStageMask = 0u; + VkPipelineStageFlags srcStageMask = 0U; + VkPipelineStageFlags dstStageMask = 0U; VkMemoryBarrier vkBarrier{}; vector accessTypes; @@ -323,8 +327,8 @@ public: class CCVKGPUTextureBarrier final : public Object { public: - VkPipelineStageFlags srcStageMask = 0u; - VkPipelineStageFlags dstStageMask = 0u; + VkPipelineStageFlags srcStageMask = 0U; + VkPipelineStageFlags dstStageMask = 0U; VkImageMemoryBarrier vkBarrier{}; vector accessTypes; @@ -340,10 +344,10 @@ public: vector extensions; VmaAllocator memoryAllocator = VK_NULL_HANDLE; VkPipelineCache vkPipelineCache = VK_NULL_HANDLE; - uint minorVersion = 0u; + uint minorVersion = 0U; - uint curBackBufferIndex = 0u; - uint backBufferCount = 3u; + uint curBackBufferIndex = 0U; + uint backBufferCount = 3U; bool useDescriptorUpdateTemplate = false; bool useMultiDrawIndirect = false; @@ -384,7 +388,7 @@ public: : _device(device) { } - ~CCVKGPUFencePool() { + ~CCVKGPUFencePool() override { for (VkFence fence : _fences) { vkDestroyFence(_device->vkDevice, fence, nullptr); } @@ -423,7 +427,7 @@ public: private: CCVKGPUDevice * _device = nullptr; - uint _count = 0u; + uint _count = 0U; vector _fences; }; @@ -436,7 +440,7 @@ public: : _device(device) { } - ~CCVKGPUSemaphorePool() { + ~CCVKGPUSemaphorePool() override { for (VkSemaphore semaphore : _semaphores) { vkDestroySemaphore(_device->vkDevice, semaphore, nullptr); } @@ -468,7 +472,7 @@ public: private: CCVKGPUDevice * _device; - uint _count = 0u; + uint _count = 0U; vector _semaphores; }; @@ -477,20 +481,19 @@ private: */ class CCVKGPUDescriptorSetPool final : public Object { public: - ~CCVKGPUDescriptorSetPool() { + ~CCVKGPUDescriptorSetPool() override { for (vector &market : _fleaMarkets) { for (VkDescriptorSet set : market) { for (DescriptorSetPool &pool : _pools) { if (pool.activeSets.count(set)) { pool.activeSets.erase(set); - pool.freeSets.push_back(set); break; } } } } - uint leakedSetCount = 0u; + uint leakedSetCount = 0U; for (DescriptorSetPool &pool : _pools) { leakedSetCount += pool.activeSets.size(); vkDestroyDescriptorPool(_device->vkDevice, pool.vkPool, nullptr); @@ -500,14 +503,14 @@ public: _pools.clear(); } - void link(CCVKGPUDevice *device, uint maxSetsPerPool, vector &bindings, VkDescriptorSetLayout setLayout) { + void link(CCVKGPUDevice *device, uint maxSetsPerPool, const vector &bindings, VkDescriptorSetLayout setLayout) { _device = device; _maxSetsPerPool = maxSetsPerPool; _setLayouts.insert(_setLayouts.cbegin(), _maxSetsPerPool, setLayout); _fleaMarkets.resize(device->backBufferCount); unordered_map typeMap; - for (auto & vkBinding : bindings) { + for (const auto &vkBinding : bindings) { typeMap[vkBinding.descriptorType] += maxSetsPerPool * vkBinding.descriptorCount; } @@ -517,7 +520,7 @@ public: } _poolSizes.clear(); - for (auto & it : typeMap) { + for (auto &it : typeMap) { _poolSizes.push_back({it.first, it.second}); } } @@ -532,7 +535,7 @@ public: } size_t size = _pools.size(); - uint idx = 0u; + uint idx = 0U; for (; idx < size; idx++) { if (!_pools[idx].freeSets.empty()) { output = _pools[idx].freeSets.back(); @@ -545,7 +548,7 @@ public: if (idx >= size) { VkDescriptorPoolCreateInfo createInfo{VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO}; createInfo.maxSets = _maxSetsPerPool; - createInfo.poolSizeCount = toUint(_poolSizes.size()); + createInfo.poolSizeCount = utils::toUint(_poolSizes.size()); createInfo.pPoolSizes = _poolSizes.data(); VkDescriptorPool descriptorPool = VK_NULL_HANDLE; @@ -592,7 +595,7 @@ private: vector _poolSizes; vector _setLayouts; - uint _maxSetsPerPool = 0u; + uint _maxSetsPerPool = 0U; }; class CCVKGPUDescriptorSetLayout final : public Object { @@ -607,10 +610,10 @@ public: vector bindingIndices; vector descriptorIndices; - uint descriptorCount = 0u; + uint descriptorCount = 0U; - uint id = 0u; - uint maxSetsPerPool = 10u; + uint id = 0U; + uint maxSetsPerPool = 10U; }; /** @@ -622,8 +625,8 @@ public: : _device(device) { } - ~CCVKGPUCommandBufferPool() { - for (auto & it : _pools) { + ~CCVKGPUCommandBufferPool() override { + for (auto &it : _pools) { CommandBufferPool &pool = it.second; if (pool.vkCommandPool != VK_NULL_HANDLE) { vkDestroyCommandPool(_device->vkDevice, pool.vkCommandPool, nullptr); @@ -638,7 +641,7 @@ public: uint getHash(uint queueFamilyIndex) { return (queueFamilyIndex << 10) | _device->curBackBufferIndex; } - uint getBackBufferIndex(uint hash) { + static uint getBackBufferIndex(uint hash) { return hash & ((1 << 10) - 1); } @@ -682,12 +685,14 @@ public: } void reset() { - for (auto & it : _pools) { - if (getBackBufferIndex(it.first) != _device->curBackBufferIndex) { continue; } + for (auto &it : _pools) { + if (getBackBufferIndex(it.first) != _device->curBackBufferIndex) { + continue; + } CommandBufferPool &pool = it.second; bool needsReset = false; - for (uint i = 0u; i < 2u; ++i) { + for (uint i = 0U; i < 2U; ++i) { CachedArray &usedList = pool.usedCommandBuffers[i]; if (usedList.size()) { pool.commandBuffers[i].concat(usedList); @@ -709,7 +714,7 @@ private: }; CCVKGPUDevice *_device = nullptr; - uint _lastBackBufferIndex = 0u; + uint _lastBackBufferIndex = 0U; unordered_map _pools; }; @@ -724,19 +729,19 @@ public: : _device(device) { } - ~CCVKGPUStagingBufferPool() { + ~CCVKGPUStagingBufferPool() override { for (Buffer &buffer : _pool) { vmaDestroyBuffer(_device->memoryAllocator, buffer.vkBuffer, buffer.vmaAllocation); } _pool.clear(); } - void alloc(CCVKGPUBuffer *gpuBuffer) { alloc(gpuBuffer, 1u); } + void alloc(CCVKGPUBuffer *gpuBuffer) { alloc(gpuBuffer, 1U); } void alloc(CCVKGPUBuffer *gpuBuffer, uint alignment) { size_t bufferCount = _pool.size(); Buffer * buffer = nullptr; - VkDeviceSize offset = 0u; - for (size_t idx = 0u; idx < bufferCount; idx++) { + VkDeviceSize offset = 0U; + for (size_t idx = 0U; idx < bufferCount; idx++) { Buffer *cur = &_pool[idx]; offset = roundUp(cur->curOffset, alignment); if (CHUNK_SIZE - offset >= gpuBuffer->size) { @@ -756,7 +761,7 @@ public: VmaAllocationInfo res; VK_CHECK(vmaCreateBuffer(_device->memoryAllocator, &bufferInfo, &allocInfo, &buffer->vkBuffer, &buffer->vmaAllocation, &res)); buffer->mappedData = reinterpret_cast(res.pMappedData); - offset = 0u; + offset = 0U; } gpuBuffer->vkBuffer = buffer->vkBuffer; gpuBuffer->startOffset = offset; @@ -766,7 +771,7 @@ public: void reset() { for (Buffer &buffer : _pool) { - buffer.curOffset = 0u; + buffer.curOffset = 0U; } } @@ -776,7 +781,7 @@ private: uint8_t * mappedData = nullptr; VmaAllocation vmaAllocation = VK_NULL_HANDLE; - VkDeviceSize curOffset = 0u; + VkDeviceSize curOffset = 0U; }; CCVKGPUDevice *_device = nullptr; @@ -800,7 +805,7 @@ public: void record(const CCVKGPUDescriptorSet *gpuDescriptorSet) { update(gpuDescriptorSet); - for (uint i = 0u; i < _device->backBufferCount; ++i) { + for (uint i = 0U; i < _device->backBufferCount; ++i) { if (i == _device->curBackBufferIndex) { _setsToBeUpdated[i].erase(gpuDescriptorSet); } else { @@ -810,7 +815,7 @@ public: } void erase(CCVKGPUDescriptorSet *gpuDescriptorSet) { - for (uint i = 0u; i < _device->backBufferCount; ++i) { + for (uint i = 0U; i < _device->backBufferCount; ++i) { if (_setsToBeUpdated[i].count(gpuDescriptorSet)) { _setsToBeUpdated[i].erase(gpuDescriptorSet); } @@ -833,7 +838,7 @@ private: gpuDescriptorSet->gpuLayout->vkDescriptorUpdateTemplate, instance.descriptorInfos.data()); } else { const vector &entries = instance.descriptorUpdateEntries; - vkUpdateDescriptorSets(_device->vkDevice, toUint(entries.size()), entries.data(), 0, nullptr); + vkUpdateDescriptorSets(_device->vkDevice, utils::toUint(entries.size()), entries.data(), 0, nullptr); } } @@ -874,7 +879,7 @@ public: auto it = _buffers.find(buffer); if (it == _buffers.end()) return; auto &info = it->second; - for (uint i = 0u; i < info.descriptors.size(); i++) { + for (uint i = 0U; i < info.descriptors.size(); i++) { doUpdate(buffer, info.descriptors[i]); } for (const auto *set : info.sets) { @@ -885,7 +890,7 @@ public: auto it = _buffers.find(buffer); if (it == _buffers.end()) return; auto &descriptors = it->second.descriptors; - for (uint i = 0u; i < descriptors.size(); i++) { + for (uint i = 0U; i < descriptors.size(); i++) { if (descriptors[i] == descriptor) { doUpdate(buffer, descriptor); break; @@ -896,7 +901,7 @@ public: auto it = _textures.find(texture); if (it == _textures.end()) return; auto &info = it->second; - for (uint i = 0u; i < info.descriptors.size(); i++) { + for (uint i = 0U; i < info.descriptors.size(); i++) { doUpdate(texture, info.descriptors[i]); } for (const auto *set : info.sets) { @@ -907,7 +912,7 @@ public: auto it = _textures.find(texture); if (it == _textures.end()) return; auto &descriptors = it->second.descriptors; - for (uint i = 0u; i < descriptors.size(); i++) { + for (uint i = 0U; i < descriptors.size(); i++) { if (descriptors[i] == descriptor) { doUpdate(texture, descriptor); break; @@ -918,7 +923,7 @@ public: auto it = _samplers.find(sampler); if (it == _samplers.end()) return; auto &descriptors = it->second; - for (uint i = 0u; i < descriptors.size(); ++i) { + for (uint i = 0U; i < descriptors.size(); ++i) { if (descriptors[i] == descriptor) { doUpdate(sampler, descriptor); break; @@ -972,11 +977,11 @@ private: descriptor->range = buffer->range; } - void doUpdate(const CCVKGPUTextureView *texture, VkDescriptorImageInfo *descriptor) { + static void doUpdate(const CCVKGPUTextureView *texture, VkDescriptorImageInfo *descriptor) { descriptor->imageView = texture->vkImageView; } - void doUpdate(const CCVKGPUSampler *sampler, VkDescriptorImageInfo *descriptor) { + static void doUpdate(const CCVKGPUSampler *sampler, VkDescriptorImageInfo *descriptor) { descriptor->sampler = sampler->vkSampler; } @@ -1005,15 +1010,16 @@ public: _resources.resize(16); } -#define DEFINE_RECYCLE_BIN_COLLECT_FN(_type, typeValue, expr) \ - void collect(_type *gpuRes) { \ - if (_resources.size() <= _count) { \ - _resources.resize(_count * 2); \ - } \ - Resource &res = _resources[_count++]; \ - res.type = typeValue; \ - expr; \ +#define DEFINE_RECYCLE_BIN_COLLECT_FN(_type, typeValue, expr) \ + void collect(_type *gpuRes) { /* NOLINT(bugprone-macro-parentheses) N/A */ \ + if (_resources.size() <= _count) { \ + _resources.resize(_count * 2); \ + } \ + Resource &res = _resources[_count++]; \ + res.type = typeValue; \ + expr; \ } + DEFINE_RECYCLE_BIN_COLLECT_FN(CCVKGPUBuffer, RecycledType::BUFFER, (res.buffer = {gpuRes->vkBuffer, gpuRes->vmaAllocation})) DEFINE_RECYCLE_BIN_COLLECT_FN(CCVKGPUTexture, RecycledType::TEXTURE, (res.image = {gpuRes->vkImage, gpuRes->vmaAllocation})) DEFINE_RECYCLE_BIN_COLLECT_FN(CCVKGPUTextureView, RecycledType::TEXTURE_VIEW, res.vkImageView = gpuRes->vkImageView) @@ -1050,7 +1056,7 @@ private: VmaAllocation vmaAllocation; }; struct Resource { - RecycledType type = RecycledType::UNKNOWN; + RecycledType type = RecycledType::UNKNOWN; union { // resizable resources, cannot take over directly // or descriptor sets won't work @@ -1069,7 +1075,7 @@ private: }; CCVKGPUDevice * _device = nullptr; vector _resources; - uint _count = 0u; + uint _count = 0U; }; /** @@ -1089,7 +1095,7 @@ public: VK_CHECK(vkCreateFence(_device->vkDevice, &createInfo, nullptr, &_fence)); } - ~CCVKGPUTransportHub() { + ~CCVKGPUTransportHub() override { if (_fence) { vkDestroyFence(_device->vkDevice, _fence, nullptr); _fence = VK_NULL_HANDLE; @@ -1164,7 +1170,7 @@ public: void checkIn(CCVKGPUTexture *gpuTexture, const ThsvsAccessType *newTypes = nullptr, uint newTypeCount = 0) { vector &target = gpuTexture->renderAccessTypes; - for (uint i = 0u; i < newTypeCount; ++i) { + for (uint i = 0U; i < newTypeCount; ++i) { if (std::find(target.begin(), target.end(), newTypes[i]) == target.end()) { target.push_back(newTypes[i]); } @@ -1197,7 +1203,7 @@ public: uint backBufferIndex = _device->curBackBufferIndex; uint8_t *dst = gpuBuffer->mappedData + backBufferIndex * gpuBuffer->instanceSize; memcpy(dst, src, size); - for (uint i = 0u; i < _device->backBufferCount; ++i) { + for (uint i = 0U; i < _device->backBufferCount; ++i) { if (i == backBufferIndex) { _buffersToBeUpdated[i].erase(gpuBuffer); } else { @@ -1207,7 +1213,7 @@ public: } void erase(CCVKGPUBuffer *gpuBuffer) { - for (uint i = 0u; i < _device->backBufferCount; ++i) { + for (uint i = 0U; i < _device->backBufferCount; ++i) { if (_buffersToBeUpdated[i].count(gpuBuffer)) { _buffersToBeUpdated[i].erase(gpuBuffer); } @@ -1218,7 +1224,7 @@ public: auto &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; transportHub->checkIn([&](const CCVKGPUCommandBuffer *gpuCommandBuffer) { VkBufferCopy region; - for (auto & buffer : buffers) { + for (auto &buffer : buffers) { region.srcOffset = buffer.first->startOffset + buffer.second.srcIndex * buffer.first->instanceSize; region.dstOffset = buffer.first->startOffset + _device->curBackBufferIndex * buffer.first->instanceSize; region.size = buffer.second.size; @@ -1230,8 +1236,8 @@ public: private: struct BufferUpdate { - uint srcIndex = 0u; - size_t size = 0u; + uint srcIndex = 0U; + size_t size = 0U; }; vector> _buffersToBeUpdated; diff --git a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp index 122fd275c5..575e5d5dc6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp @@ -31,9 +31,7 @@ namespace cc { namespace gfx { -CCVKGlobalBarrier::CCVKGlobalBarrier() -: GlobalBarrier() { -} +CCVKGlobalBarrier::CCVKGlobalBarrier() = default; CCVKGlobalBarrier::~CCVKGlobalBarrier() { CC_SAFE_DELETE(_gpuBarrier); @@ -43,12 +41,12 @@ void CCVKGlobalBarrier::doInit(const GlobalBarrierInfo &info) { _gpuBarrier = CC_NEW(CCVKGPUGlobalBarrier); _gpuBarrier->accessTypes.resize(info.prevAccesses.size() + info.nextAccesses.size()); - uint index = 0u; + uint index = 0U; for (AccessType type : info.prevAccesses) { - _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[(uint)type]; + _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[static_cast(type)]; } for (AccessType type : info.nextAccesses) { - _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[(uint)type]; + _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[static_cast(type)]; } _gpuBarrier->barrier.prevAccessCount = info.prevAccesses.size(); diff --git a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp index 60dcd0bd33..dfb3045550 100644 --- a/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKInputAssembler.cpp @@ -26,16 +26,14 @@ #include "VKStd.h" #include "VKBuffer.h" -#include "VKDevice.h" #include "VKCommands.h" +#include "VKDevice.h" #include "VKInputAssembler.h" namespace cc { namespace gfx { -CCVKInputAssembler::CCVKInputAssembler() -: InputAssembler() { -} +CCVKInputAssembler::CCVKInputAssembler() = default; CCVKInputAssembler::~CCVKInputAssembler() { destroy(); @@ -44,12 +42,12 @@ CCVKInputAssembler::~CCVKInputAssembler() { void CCVKInputAssembler::doInit(const InputAssemblerInfo &info) { size_t vbCount = _vertexBuffers.size(); - _gpuInputAssembler = CC_NEW(CCVKGPUInputAssembler); + _gpuInputAssembler = CC_NEW(CCVKGPUInputAssembler); _gpuInputAssembler->attributes = _attributes; _gpuInputAssembler->gpuVertexBuffers.resize(vbCount); - for (size_t i = 0u; i < vbCount; ++i) { - CCVKBuffer *vb = (CCVKBuffer *)_vertexBuffers[i]; + for (size_t i = 0U; i < vbCount; ++i) { + auto *vb = static_cast(_vertexBuffers[i]); _gpuInputAssembler->gpuVertexBuffers[i] = vb->gpuBuffer(); } @@ -64,8 +62,8 @@ void CCVKInputAssembler::doInit(const InputAssemblerInfo &info) { _gpuInputAssembler->vertexBuffers.resize(vbCount); _gpuInputAssembler->vertexBufferOffsets.resize(vbCount); - for (size_t i = 0u; i < vbCount; i++) { - _gpuInputAssembler->vertexBuffers[i] = _gpuInputAssembler->gpuVertexBuffers[i]->vkBuffer; + for (size_t i = 0U; i < vbCount; i++) { + _gpuInputAssembler->vertexBuffers[i] = _gpuInputAssembler->gpuVertexBuffers[i]->vkBuffer; _gpuInputAssembler->vertexBufferOffsets[i] = _gpuInputAssembler->gpuVertexBuffers[i]->startOffset; } } diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp index 2921729295..c5a12aa904 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp @@ -33,20 +33,17 @@ namespace cc { namespace gfx { -CCVKPipelineLayout::CCVKPipelineLayout() -: PipelineLayout() { -} +CCVKPipelineLayout::CCVKPipelineLayout() = default; CCVKPipelineLayout::~CCVKPipelineLayout() { destroy(); } -void CCVKPipelineLayout::doInit(const PipelineLayoutInfo &info) { +void CCVKPipelineLayout::doInit(const PipelineLayoutInfo & /*info*/) { _gpuPipelineLayout = CC_NEW(CCVKGPUPipelineLayout); - int offset = 0u; - for (uint i = 0u; i < _setLayouts.size(); i++) { - DescriptorSetLayout *setLayout = _setLayouts[i]; + int offset = 0U; + for (auto *setLayout : _setLayouts) { CCVKGPUDescriptorSetLayout *gpuSetLayout = static_cast(setLayout)->gpuDescriptorSetLayout(); size_t dynamicCount = gpuSetLayout->dynamicBindings.size(); _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); @@ -56,7 +53,7 @@ void CCVKPipelineLayout::doInit(const PipelineLayoutInfo &info) { _gpuPipelineLayout->dynamicOffsetOffsets.push_back(offset); _gpuPipelineLayout->dynamicOffsetCount = offset; - CCVKCmdFuncCreatePipelineLayout(CCVKDevice::getInstance(), _gpuPipelineLayout); + cmdFuncCCVKCreatePipelineLayout(CCVKDevice::getInstance(), _gpuPipelineLayout); } void CCVKPipelineLayout::doDestroy() { diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index 40c2f0f1b0..ba39897cd8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -35,15 +35,13 @@ namespace cc { namespace gfx { -CCVKPipelineState::CCVKPipelineState() -: PipelineState() { -} +CCVKPipelineState::CCVKPipelineState() = default; CCVKPipelineState::~CCVKPipelineState() { destroy(); } -void CCVKPipelineState::doInit(const PipelineStateInfo &info) { +void CCVKPipelineState::doInit(const PipelineStateInfo & /*info*/) { _gpuPipelineState = CC_NEW(CCVKGPUPipelineState); _gpuPipelineState->bindPoint = _bindPoint; _gpuPipelineState->primitive = _primitive; @@ -56,15 +54,15 @@ void CCVKPipelineState::doInit(const PipelineStateInfo &info) { if (_renderPass) _gpuPipelineState->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); for (uint i = 0; i < 31; i++) { - if ((uint)_dynamicStates & (1 << i)) { - _gpuPipelineState->dynamicStates.push_back((DynamicStateFlagBit)(1 << i)); + if (static_cast(_dynamicStates) & (1 << i)) { + _gpuPipelineState->dynamicStates.push_back(static_cast(1 << i)); } } if (_bindPoint == PipelineBindPoint::GRAPHICS) { - CCVKCmdFuncCreateGraphicsPipelineState(CCVKDevice::getInstance(), _gpuPipelineState); + cmdFuncCCVKCreateGraphicsPipelineState(CCVKDevice::getInstance(), _gpuPipelineState); } else { - CCVKCmdFuncCreateComputePipelineState(CCVKDevice::getInstance(), _gpuPipelineState); + cmdFuncCCVKCreateComputePipelineState(CCVKDevice::getInstance(), _gpuPipelineState); } } diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp index 84d3965627..cb57c34e2e 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.cpp @@ -33,18 +33,16 @@ namespace cc { namespace gfx { -CCVKQueue::CCVKQueue() -: Queue() { -} +CCVKQueue::CCVKQueue() = default; CCVKQueue::~CCVKQueue() { destroy(); } -void CCVKQueue::doInit(const QueueInfo &info) { +void CCVKQueue::doInit(const QueueInfo & /*info*/) { _gpuQueue = CC_NEW(CCVKGPUQueue); _gpuQueue->type = _type; - CCVKCmdFuncGetDeviceQueue(CCVKDevice::getInstance(), _gpuQueue); + cmdFuncCCVKGetDeviceQueue(CCVKDevice::getInstance(), _gpuQueue); } void CCVKQueue::doDestroy() { @@ -67,8 +65,8 @@ void CCVKQueue::submit(CommandBuffer *const *cmdBuffs, uint count) { _gpuQueue->commandBuffers.push(device->gpuTransportHub()->packageForFlight()); } - for (uint i = 0u; i < count; ++i) { - CCVKCommandBuffer *cmdBuff = (CCVKCommandBuffer *)cmdBuffs[i]; + for (uint i = 0U; i < count; ++i) { + auto *cmdBuff = static_cast(cmdBuffs[i]); if (!cmdBuff->_pendingQueue.empty()) { _gpuQueue->commandBuffers.push(cmdBuff->_pendingQueue.front()); cmdBuff->_pendingQueue.pop(); diff --git a/native/cocos/renderer/gfx-vulkan/VKQueue.h b/native/cocos/renderer/gfx-vulkan/VKQueue.h index 0bbb364a79..3bba692b89 100644 --- a/native/cocos/renderer/gfx-vulkan/VKQueue.h +++ b/native/cocos/renderer/gfx-vulkan/VKQueue.h @@ -25,6 +25,7 @@ #pragma once +#include "VKStd.h" #include "gfx-base/GFXQueue.h" namespace cc { @@ -35,7 +36,7 @@ class CCVKGPUQueue; class CC_VULKAN_API CCVKQueue final : public Queue { public: CCVKQueue(); - ~CCVKQueue(); + ~CCVKQueue() override; void submit(CommandBuffer *const *cmdBuffs, uint count) override; diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index 83c2f43d4e..e7d041e2e5 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -32,20 +32,18 @@ namespace cc { namespace gfx { -CCVKRenderPass::CCVKRenderPass() -: RenderPass() { -} +CCVKRenderPass::CCVKRenderPass() = default; CCVKRenderPass::~CCVKRenderPass() { destroy(); } -void CCVKRenderPass::doInit(const RenderPassInfo &info) { +void CCVKRenderPass::doInit(const RenderPassInfo & /*info*/) { _gpuRenderPass = CC_NEW(CCVKGPURenderPass); _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; _gpuRenderPass->subpasses = _subpasses; - CCVKCmdFuncCreateRenderPass(CCVKDevice::getInstance(), _gpuRenderPass); + cmdFuncCCVKCreateRenderPass(CCVKDevice::getInstance(), _gpuRenderPass); } void CCVKRenderPass::doDestroy() { diff --git a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp index b5ee8ce59e..d314afd3c6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKSampler.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKSampler.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -CCVKSampler::CCVKSampler() -: Sampler() { -} +CCVKSampler::CCVKSampler() = default; CCVKSampler::~CCVKSampler() { destroy(); } -void CCVKSampler::doInit(const SamplerInfo &info) { +void CCVKSampler::doInit(const SamplerInfo & /*info*/) { _gpuSampler = CC_NEW(CCVKGPUSampler); _gpuSampler->minFilter = _minFilter; _gpuSampler->magFilter = _magFilter; @@ -53,7 +51,7 @@ void CCVKSampler::doInit(const SamplerInfo &info) { _gpuSampler->borderColor = _borderColor; _gpuSampler->mipLODBias = _mipLODBias; - CCVKCmdFuncCreateSampler(CCVKDevice::getInstance(), _gpuSampler); + cmdFuncCCVKCreateSampler(CCVKDevice::getInstance(), _gpuSampler); } void CCVKSampler::doDestroy() { diff --git a/native/cocos/renderer/gfx-vulkan/VKShader.cpp b/native/cocos/renderer/gfx-vulkan/VKShader.cpp index c24ff97228..6272727634 100644 --- a/native/cocos/renderer/gfx-vulkan/VKShader.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKShader.cpp @@ -32,15 +32,13 @@ namespace cc { namespace gfx { -CCVKShader::CCVKShader() -: Shader() { -} +CCVKShader::CCVKShader() = default; CCVKShader::~CCVKShader() { destroy(); } -void CCVKShader::doInit(const ShaderInfo &info) { +void CCVKShader::doInit(const ShaderInfo & /*info*/) { _gpuShader = CC_NEW(CCVKGPUShader); _gpuShader->name = _name; _gpuShader->attributes = _attributes; @@ -50,7 +48,7 @@ void CCVKShader::doInit(const ShaderInfo &info) { _gpuShader->gpuStages.push_back({stage.stage, stage.source}); } - CCVKCmdFuncCreateShader(CCVKDevice::getInstance(), _gpuShader); + cmdFuncCCVKCreateShader(CCVKDevice::getInstance(), _gpuShader); } void CCVKShader::doDestroy() { diff --git a/native/cocos/renderer/gfx-vulkan/VKStd.h b/native/cocos/renderer/gfx-vulkan/VKStd.h index 4308ada8c5..d65dd00963 100644 --- a/native/cocos/renderer/gfx-vulkan/VKStd.h +++ b/native/cocos/renderer/gfx-vulkan/VKStd.h @@ -23,8 +23,7 @@ THE SOFTWARE. ****************************************************************************/ -#ifndef __CC_GFXVULKAN_VK_STD_H__ -#define __CC_GFXVULKAN_VK_STD_H__ +#pragma once #include "base/CoreStd.h" @@ -55,5 +54,3 @@ #else #define VK_CHECK(x) x #endif - -#endif diff --git a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp index 5cc9f97bc9..0d4c4e036a 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTexture.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTexture.cpp @@ -33,15 +33,13 @@ namespace cc { namespace gfx { -CCVKTexture::CCVKTexture() -: Texture() { -} +CCVKTexture::CCVKTexture() = default; CCVKTexture::~CCVKTexture() { destroy(); } -void CCVKTexture::doInit(const TextureInfo &info) { +void CCVKTexture::doInit(const TextureInfo & /*info*/) { _gpuTexture = CC_NEW(CCVKGPUTexture); _gpuTexture->type = _type; _gpuTexture->format = _format; @@ -55,7 +53,7 @@ void CCVKTexture::doInit(const TextureInfo &info) { _gpuTexture->samples = _samples; _gpuTexture->flags = _flags; - CCVKCmdFuncCreateTexture(CCVKDevice::getInstance(), _gpuTexture); + cmdFuncCCVKCreateTexture(CCVKDevice::getInstance(), _gpuTexture); _gpuTextureView = CC_NEW(CCVKGPUTextureView); createTextureView(); @@ -76,7 +74,7 @@ void CCVKTexture::createTextureView() { _gpuTextureView->levelCount = _levelCount; _gpuTextureView->baseLayer = _baseLayer; _gpuTextureView->layerCount = _layerCount; - CCVKCmdFuncCreateTextureView(CCVKDevice::getInstance(), _gpuTextureView); + cmdFuncCCVKCreateTextureView(CCVKDevice::getInstance(), _gpuTextureView); } void CCVKTexture::doDestroy() { @@ -104,9 +102,9 @@ void CCVKTexture::doResize(uint width, uint height, uint size) { _gpuTexture->width = width; _gpuTexture->height = height; _gpuTexture->size = size; - CCVKCmdFuncCreateTexture(CCVKDevice::getInstance(), _gpuTexture); + cmdFuncCCVKCreateTexture(CCVKDevice::getInstance(), _gpuTexture); - CCVKCmdFuncCreateTextureView(CCVKDevice::getInstance(), _gpuTextureView); + cmdFuncCCVKCreateTextureView(CCVKDevice::getInstance(), _gpuTextureView); } } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp index 57e048c5fb..bd8aa92de0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp @@ -32,9 +32,7 @@ namespace cc { namespace gfx { -CCVKTextureBarrier::CCVKTextureBarrier() -: TextureBarrier() { -} +CCVKTextureBarrier::CCVKTextureBarrier() = default; CCVKTextureBarrier::~CCVKTextureBarrier() { CC_SAFE_DELETE(_gpuBarrier); @@ -44,12 +42,12 @@ void CCVKTextureBarrier::doInit(const TextureBarrierInfo &info) { _gpuBarrier = CC_NEW(CCVKGPUTextureBarrier); _gpuBarrier->accessTypes.resize(info.prevAccesses.size() + info.nextAccesses.size()); - uint index = 0u; + uint index = 0U; for (AccessType type : info.prevAccesses) { - _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[(uint)type]; + _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[static_cast(type)]; } for (AccessType type : info.nextAccesses) { - _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[(uint)type]; + _gpuBarrier->accessTypes[index++] = THSVS_ACCESS_TYPES[static_cast(type)]; } _gpuBarrier->barrier.prevAccessCount = info.prevAccesses.size(); @@ -59,9 +57,9 @@ void CCVKTextureBarrier::doInit(const TextureBarrierInfo &info) { _gpuBarrier->barrier.prevLayout = _gpuBarrier->barrier.nextLayout = THSVS_IMAGE_LAYOUT_OPTIMAL; _gpuBarrier->barrier.discardContents = info.discardContents; - _gpuBarrier->barrier.subresourceRange.baseMipLevel = 0u; + _gpuBarrier->barrier.subresourceRange.baseMipLevel = 0U; _gpuBarrier->barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; - _gpuBarrier->barrier.subresourceRange.baseArrayLayer = 0u; + _gpuBarrier->barrier.subresourceRange.baseArrayLayer = 0U; _gpuBarrier->barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; _gpuBarrier->barrier.srcQueueFamilyIndex = info.srcQueue ? static_cast(info.srcQueue)->gpuQueue()->queueFamilyIndex diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.cpp b/native/cocos/renderer/gfx-vulkan/VKUtils.cpp new file mode 100644 index 0000000000..28b178b03f --- /dev/null +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.cpp @@ -0,0 +1,607 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "VKUtils.h" + +namespace cc { +namespace gfx { + +VkFormat mapVkFormat(Format format) { + switch (format) { + case Format::R8: return VK_FORMAT_R8_UNORM; + case Format::R8SN: return VK_FORMAT_R8_SNORM; + case Format::R8UI: return VK_FORMAT_R8_UINT; + case Format::R8I: return VK_FORMAT_R8_SINT; + case Format::RG8: return VK_FORMAT_R8G8_UNORM; + case Format::RG8SN: return VK_FORMAT_R8G8_SNORM; + case Format::RG8UI: return VK_FORMAT_R8G8_UINT; + case Format::RG8I: return VK_FORMAT_R8G8_SINT; + case Format::RGB8: return VK_FORMAT_R8G8B8_UNORM; + case Format::RGB8SN: return VK_FORMAT_R8G8B8_SNORM; + case Format::RGB8UI: return VK_FORMAT_R8G8B8_UINT; + case Format::RGB8I: return VK_FORMAT_R8G8B8_SINT; + case Format::RGBA8: return VK_FORMAT_R8G8B8A8_UNORM; + case Format::BGRA8: return VK_FORMAT_B8G8R8A8_UNORM; + case Format::SRGB8_A8: return VK_FORMAT_R8G8B8A8_SRGB; + case Format::RGBA8SN: return VK_FORMAT_R8G8B8A8_SNORM; + case Format::RGBA8UI: return VK_FORMAT_R8G8B8A8_UINT; + case Format::RGBA8I: return VK_FORMAT_R8G8B8A8_SINT; + case Format::R16I: return VK_FORMAT_R16_SINT; + case Format::R16UI: return VK_FORMAT_R16_UINT; + case Format::R16F: return VK_FORMAT_R16_SFLOAT; + case Format::RG16I: return VK_FORMAT_R16G16_SINT; + case Format::RG16UI: return VK_FORMAT_R16G16_UINT; + case Format::RG16F: return VK_FORMAT_R16G16_SFLOAT; + case Format::RGB16I: return VK_FORMAT_R16G16B16_SINT; + case Format::RGB16UI: return VK_FORMAT_R16G16B16_UINT; + case Format::RGB16F: return VK_FORMAT_R16G16B16_SFLOAT; + case Format::RGBA16I: return VK_FORMAT_R16G16B16A16_SINT; + case Format::RGBA16UI: return VK_FORMAT_R16G16B16A16_UINT; + case Format::RGBA16F: return VK_FORMAT_R16G16B16A16_SFLOAT; + case Format::R32I: return VK_FORMAT_R32_SINT; + case Format::R32UI: return VK_FORMAT_R32_UINT; + case Format::R32F: return VK_FORMAT_R32_SFLOAT; + case Format::RG32I: return VK_FORMAT_R32G32_SINT; + case Format::RG32UI: return VK_FORMAT_R32G32_UINT; + case Format::RG32F: return VK_FORMAT_R32G32_SFLOAT; + case Format::RGB32I: return VK_FORMAT_R32G32B32_SINT; + case Format::RGB32UI: return VK_FORMAT_R32G32B32_UINT; + case Format::RGB32F: return VK_FORMAT_R32G32B32_SFLOAT; + case Format::RGBA32I: return VK_FORMAT_R32G32B32A32_SINT; + case Format::RGBA32UI: return VK_FORMAT_R32G32B32A32_UINT; + case Format::RGBA32F: return VK_FORMAT_R32G32B32A32_SFLOAT; + + case Format::R5G6B5: return VK_FORMAT_R5G6B5_UNORM_PACK16; + case Format::R11G11B10F: return VK_FORMAT_B10G11R11_UFLOAT_PACK32; + case Format::RGB5A1: return VK_FORMAT_R5G5B5A1_UNORM_PACK16; + case Format::RGBA4: return VK_FORMAT_R4G4B4A4_UNORM_PACK16; + case Format::RGB10A2: return VK_FORMAT_A2B10G10R10_UNORM_PACK32; + case Format::RGB10A2UI: return VK_FORMAT_A2B10G10R10_UINT_PACK32; + case Format::RGB9E5: return VK_FORMAT_E5B9G9R9_UFLOAT_PACK32; + case Format::D16: return VK_FORMAT_D16_UNORM; + case Format::D16S8: return VK_FORMAT_D16_UNORM_S8_UINT; + case Format::D24: return VK_FORMAT_X8_D24_UNORM_PACK32; + case Format::D24S8: return VK_FORMAT_D24_UNORM_S8_UINT; + case Format::D32F: return VK_FORMAT_D32_SFLOAT; + case Format::D32F_S8: return VK_FORMAT_D32_SFLOAT_S8_UINT; + + case Format::BC1: return VK_FORMAT_BC1_RGB_UNORM_BLOCK; + case Format::BC1_ALPHA: return VK_FORMAT_BC1_RGBA_UNORM_BLOCK; + case Format::BC1_SRGB: return VK_FORMAT_BC1_RGB_SRGB_BLOCK; + case Format::BC1_SRGB_ALPHA: return VK_FORMAT_BC1_RGBA_SRGB_BLOCK; + case Format::BC2: return VK_FORMAT_BC2_UNORM_BLOCK; + case Format::BC2_SRGB: return VK_FORMAT_BC2_SRGB_BLOCK; + case Format::BC3: return VK_FORMAT_BC3_UNORM_BLOCK; + case Format::BC3_SRGB: return VK_FORMAT_BC3_SRGB_BLOCK; + case Format::BC4: return VK_FORMAT_BC4_UNORM_BLOCK; + case Format::BC4_SNORM: return VK_FORMAT_BC4_SNORM_BLOCK; + case Format::BC5: return VK_FORMAT_BC5_UNORM_BLOCK; + case Format::BC5_SNORM: return VK_FORMAT_BC5_SNORM_BLOCK; + case Format::BC6H_UF16: return VK_FORMAT_BC6H_UFLOAT_BLOCK; + case Format::BC6H_SF16: return VK_FORMAT_BC6H_SFLOAT_BLOCK; + case Format::BC7: return VK_FORMAT_BC7_UNORM_BLOCK; + case Format::BC7_SRGB: return VK_FORMAT_BC7_SRGB_BLOCK; + + case Format::ETC2_RGB8: return VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK; + case Format::ETC2_SRGB8: return VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK; + case Format::ETC2_RGB8_A1: return VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK; + case Format::ETC2_SRGB8_A1: return VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK; + case Format::ETC2_RGBA8: return VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK; + case Format::ETC2_SRGB8_A8: return VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK; + case Format::EAC_R11: return VK_FORMAT_EAC_R11_UNORM_BLOCK; + case Format::EAC_R11SN: return VK_FORMAT_EAC_R11_SNORM_BLOCK; + case Format::EAC_RG11: return VK_FORMAT_EAC_R11G11_UNORM_BLOCK; + case Format::EAC_RG11SN: return VK_FORMAT_EAC_R11G11_SNORM_BLOCK; + + case Format::PVRTC_RGB2: + case Format::PVRTC_RGBA2: return VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG; + case Format::PVRTC_RGB4: + case Format::PVRTC_RGBA4: return VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG; + case Format::PVRTC2_2BPP: return VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG; + case Format::PVRTC2_4BPP: return VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG; + + case Format::ASTC_RGBA_4X4: return VK_FORMAT_ASTC_4x4_UNORM_BLOCK; + case Format::ASTC_RGBA_5X4: return VK_FORMAT_ASTC_5x4_UNORM_BLOCK; + case Format::ASTC_RGBA_5X5: return VK_FORMAT_ASTC_5x5_UNORM_BLOCK; + case Format::ASTC_RGBA_6X5: return VK_FORMAT_ASTC_6x5_UNORM_BLOCK; + case Format::ASTC_RGBA_6X6: return VK_FORMAT_ASTC_6x6_UNORM_BLOCK; + case Format::ASTC_RGBA_8X5: return VK_FORMAT_ASTC_8x5_UNORM_BLOCK; + case Format::ASTC_RGBA_8X6: return VK_FORMAT_ASTC_8x6_UNORM_BLOCK; + case Format::ASTC_RGBA_8X8: return VK_FORMAT_ASTC_8x8_UNORM_BLOCK; + case Format::ASTC_RGBA_10X5: return VK_FORMAT_ASTC_10x5_UNORM_BLOCK; + case Format::ASTC_RGBA_10X6: return VK_FORMAT_ASTC_10x6_UNORM_BLOCK; + case Format::ASTC_RGBA_10X8: return VK_FORMAT_ASTC_10x8_UNORM_BLOCK; + case Format::ASTC_RGBA_10X10: return VK_FORMAT_ASTC_10x10_UNORM_BLOCK; + case Format::ASTC_RGBA_12X10: return VK_FORMAT_ASTC_12x10_UNORM_BLOCK; + case Format::ASTC_RGBA_12X12: return VK_FORMAT_ASTC_12x12_UNORM_BLOCK; + + case Format::ASTC_SRGBA_4X4: return VK_FORMAT_ASTC_4x4_SRGB_BLOCK; + case Format::ASTC_SRGBA_5X4: return VK_FORMAT_ASTC_5x4_SRGB_BLOCK; + case Format::ASTC_SRGBA_5X5: return VK_FORMAT_ASTC_5x5_SRGB_BLOCK; + case Format::ASTC_SRGBA_6X5: return VK_FORMAT_ASTC_6x5_SRGB_BLOCK; + case Format::ASTC_SRGBA_6X6: return VK_FORMAT_ASTC_6x6_SRGB_BLOCK; + case Format::ASTC_SRGBA_8X5: return VK_FORMAT_ASTC_8x5_SRGB_BLOCK; + case Format::ASTC_SRGBA_8X6: return VK_FORMAT_ASTC_8x6_SRGB_BLOCK; + case Format::ASTC_SRGBA_8X8: return VK_FORMAT_ASTC_8x8_SRGB_BLOCK; + case Format::ASTC_SRGBA_10X5: return VK_FORMAT_ASTC_10x5_SRGB_BLOCK; + case Format::ASTC_SRGBA_10X6: return VK_FORMAT_ASTC_10x6_SRGB_BLOCK; + case Format::ASTC_SRGBA_10X8: return VK_FORMAT_ASTC_10x8_SRGB_BLOCK; + case Format::ASTC_SRGBA_10X10: return VK_FORMAT_ASTC_10x10_SRGB_BLOCK; + case Format::ASTC_SRGBA_12X10: return VK_FORMAT_ASTC_12x10_SRGB_BLOCK; + case Format::ASTC_SRGBA_12X12: return VK_FORMAT_ASTC_12x12_SRGB_BLOCK; + + default: { + CCASSERT(false, "Unsupported Format, convert to VkFormat failed."); + return VK_FORMAT_B8G8R8A8_UNORM; + } + } +} + +VkAttachmentLoadOp mapVkLoadOp(LoadOp loadOp) { + switch (loadOp) { + case LoadOp::CLEAR: return VK_ATTACHMENT_LOAD_OP_CLEAR; + case LoadOp::LOAD: return VK_ATTACHMENT_LOAD_OP_LOAD; + case LoadOp::DISCARD: return VK_ATTACHMENT_LOAD_OP_DONT_CARE; + default: { + CCASSERT(false, "Unsupported LoadOp, convert to VkLoadOp failed."); + return VK_ATTACHMENT_LOAD_OP_LOAD; + } + } +} + +VkAttachmentStoreOp mapVkStoreOp(StoreOp storeOp) { + switch (storeOp) { + case StoreOp::STORE: return VK_ATTACHMENT_STORE_OP_STORE; + case StoreOp::DISCARD: return VK_ATTACHMENT_STORE_OP_DONT_CARE; + default: { + CCASSERT(false, "Unsupported StoreOp, convert to VkStoreOp failed."); + return VK_ATTACHMENT_STORE_OP_STORE; + } + } +} + +VkBufferUsageFlagBits mapVkBufferUsageFlagBits(BufferUsage usage) { + uint flags = 0U; + if (usage & BufferUsage::TRANSFER_SRC) flags |= VK_BUFFER_USAGE_TRANSFER_SRC_BIT; + if (usage & BufferUsage::TRANSFER_DST) flags |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; + if (usage & BufferUsage::INDEX) flags |= VK_BUFFER_USAGE_INDEX_BUFFER_BIT; + if (usage & BufferUsage::VERTEX) flags |= VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; + if (usage & BufferUsage::UNIFORM) flags |= VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; + if (usage & BufferUsage::STORAGE) flags |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; + if (usage & BufferUsage::INDIRECT) flags |= VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; + return static_cast(flags); +} + +VkImageType mapVkImageType(TextureType type) { + switch (type) { + case TextureType::TEX1D: + case TextureType::TEX1D_ARRAY: return VK_IMAGE_TYPE_1D; + case TextureType::CUBE: + case TextureType::TEX2D: + case TextureType::TEX2D_ARRAY: return VK_IMAGE_TYPE_2D; + case TextureType::TEX3D: return VK_IMAGE_TYPE_3D; + default: { + CCASSERT(false, "Unsupported TextureType, convert to VkImageType failed."); + return VK_IMAGE_TYPE_2D; + } + } +} + +VkSampleCountFlagBits mapVkSampleCount(SampleCount count) { + switch (count) { + case SampleCount::X1: return VK_SAMPLE_COUNT_1_BIT; + case SampleCount::X2: return VK_SAMPLE_COUNT_2_BIT; + case SampleCount::X4: return VK_SAMPLE_COUNT_4_BIT; + case SampleCount::X8: return VK_SAMPLE_COUNT_8_BIT; + case SampleCount::X16: return VK_SAMPLE_COUNT_16_BIT; + case SampleCount::X32: return VK_SAMPLE_COUNT_32_BIT; + default: { + CCASSERT(false, "Unsupported TextureType, convert to VkImageType failed."); + return VK_SAMPLE_COUNT_1_BIT; + } + } +} + +VkFormatFeatureFlags mapVkFormatFeatureFlags(TextureUsage usage) { + uint flags = 0U; + if (usage & TextureUsage::TRANSFER_SRC) flags |= VK_FORMAT_FEATURE_TRANSFER_SRC_BIT; + if (usage & TextureUsage::TRANSFER_DST) flags |= VK_FORMAT_FEATURE_TRANSFER_DST_BIT; + if (usage & TextureUsage::SAMPLED) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; + if (usage & TextureUsage::STORAGE) flags |= VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT; + if (usage & TextureUsage::COLOR_ATTACHMENT) flags |= VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT; + if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) flags |= VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT; + if (usage & TextureUsage::TRANSIENT_ATTACHMENT) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; + if (usage & TextureUsage::INPUT_ATTACHMENT) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; + return static_cast(flags); +} + +VkImageUsageFlagBits mapVkImageUsageFlagBits(TextureUsage usage) { + uint flags = 0U; + if (usage & TextureUsage::TRANSFER_SRC) flags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; + if (usage & TextureUsage::TRANSFER_DST) flags |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; + if (usage & TextureUsage::SAMPLED) flags |= VK_IMAGE_USAGE_SAMPLED_BIT; + if (usage & TextureUsage::STORAGE) flags |= VK_IMAGE_USAGE_STORAGE_BIT; + if (usage & TextureUsage::COLOR_ATTACHMENT) flags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; + if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) flags |= VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; + if (usage & TextureUsage::TRANSIENT_ATTACHMENT) flags |= VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT; + if (usage & TextureUsage::INPUT_ATTACHMENT) flags |= VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; + return static_cast(flags); +} + +VkImageAspectFlags mapVkImageAspectFlags(Format format) { + VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; + const FormatInfo & info = GFX_FORMAT_INFOS[static_cast(format)]; + if (info.hasDepth) { + aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; + } + if (info.hasStencil) { + aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; + } + return aspectMask; +} + +VkImageCreateFlags mapVkImageCreateFlags(TextureType type) { + uint res = 0U; + switch (type) { + case TextureType::CUBE: res |= VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT; break; + case TextureType::TEX2D_ARRAY: res |= VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT; break; + default: break; + } + return static_cast(res); +} + +VkImageViewType mapVkImageViewType(TextureType viewType) { + switch (viewType) { + case TextureType::TEX1D: return VK_IMAGE_VIEW_TYPE_1D; + case TextureType::TEX1D_ARRAY: return VK_IMAGE_VIEW_TYPE_1D_ARRAY; + case TextureType::TEX2D: return VK_IMAGE_VIEW_TYPE_2D; + case TextureType::TEX2D_ARRAY: return VK_IMAGE_VIEW_TYPE_2D_ARRAY; + case TextureType::TEX3D: return VK_IMAGE_VIEW_TYPE_3D; + case TextureType::CUBE: return VK_IMAGE_VIEW_TYPE_CUBE; + default: { + CCASSERT(false, "Unsupported TextureViewType, convert to VkImageViewType failed."); + return VK_IMAGE_VIEW_TYPE_2D; + } + } +} + +VkCommandBufferLevel mapVkCommandBufferLevel(CommandBufferType type) { + switch (type) { + case CommandBufferType::PRIMARY: return VK_COMMAND_BUFFER_LEVEL_PRIMARY; + case CommandBufferType::SECONDARY: return VK_COMMAND_BUFFER_LEVEL_SECONDARY; + default: { + CCASSERT(false, "Unsupported CommandBufferType, convert to VkCommandBufferLevel failed."); + return VK_COMMAND_BUFFER_LEVEL_SECONDARY; + } + } +} + +VkDescriptorType mapVkDescriptorType(DescriptorType type) { + switch (type) { + case DescriptorType::DYNAMIC_UNIFORM_BUFFER: return VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC; + case DescriptorType::UNIFORM_BUFFER: return VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; + case DescriptorType::DYNAMIC_STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; + case DescriptorType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; + case DescriptorType::SAMPLER_TEXTURE: return VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; + case DescriptorType::SAMPLER: return VK_DESCRIPTOR_TYPE_SAMPLER; + case DescriptorType::TEXTURE: return VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; + case DescriptorType::STORAGE_IMAGE: return VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; + case DescriptorType::INPUT_ATTACHMENT: return VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; + default: { + CCASSERT(false, "Unsupported DescriptorType, convert to VkDescriptorType failed."); + return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; + } + } +} + +VkColorComponentFlags mapVkColorComponentFlags(ColorMask colorMask) { + uint flags = 0U; + if (colorMask & ColorMask::R) flags |= VK_COLOR_COMPONENT_R_BIT; + if (colorMask & ColorMask::G) flags |= VK_COLOR_COMPONENT_G_BIT; + if (colorMask & ColorMask::B) flags |= VK_COLOR_COMPONENT_B_BIT; + if (colorMask & ColorMask::A) flags |= VK_COLOR_COMPONENT_A_BIT; + if (colorMask & ColorMask::ALL) flags |= VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT | VK_COLOR_COMPONENT_B_BIT | VK_COLOR_COMPONENT_A_BIT; + return static_cast(flags); +} + +VkShaderStageFlagBits mapVkShaderStageFlagBits(ShaderStageFlagBit stage) { + switch (stage) { + case ShaderStageFlagBit::VERTEX: return VK_SHADER_STAGE_VERTEX_BIT; + case ShaderStageFlagBit::CONTROL: return VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; + case ShaderStageFlagBit::EVALUATION: return VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; + case ShaderStageFlagBit::GEOMETRY: return VK_SHADER_STAGE_GEOMETRY_BIT; + case ShaderStageFlagBit::FRAGMENT: return VK_SHADER_STAGE_FRAGMENT_BIT; + case ShaderStageFlagBit::COMPUTE: return VK_SHADER_STAGE_COMPUTE_BIT; + default: { + CCASSERT(false, "Unsupported ShaderStageFlagBit, convert to VkShaderStageFlagBits failed."); + return VK_SHADER_STAGE_VERTEX_BIT; + } + } +} + +VkShaderStageFlags mapVkShaderStageFlags(ShaderStageFlagBit stages) { + uint flags = 0U; + if (stages & ShaderStageFlagBit::VERTEX) flags |= VK_SHADER_STAGE_VERTEX_BIT; + if (stages & ShaderStageFlagBit::CONTROL) flags |= VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; + if (stages & ShaderStageFlagBit::EVALUATION) flags |= VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; + if (stages & ShaderStageFlagBit::GEOMETRY) flags |= VK_SHADER_STAGE_GEOMETRY_BIT; + if (stages & ShaderStageFlagBit::FRAGMENT) flags |= VK_SHADER_STAGE_FRAGMENT_BIT; + if (stages & ShaderStageFlagBit::COMPUTE) flags |= VK_SHADER_STAGE_COMPUTE_BIT; + return static_cast(flags); +} + +SurfaceTransform mapSurfaceTransform(VkSurfaceTransformFlagBitsKHR transform) { + if (transform & VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR) return SurfaceTransform::ROTATE_90; + if (transform & VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR) return SurfaceTransform::ROTATE_180; + if (transform & VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR) return SurfaceTransform::ROTATE_270; + return SurfaceTransform::IDENTITY; +} + +String mapVendorName(uint32_t vendorID) { + switch (vendorID) { + case 0x1002: return "Advanced Micro Devices, Inc."; + case 0x1010: return "Imagination Technologies"; + case 0x106b: return "Apple Inc."; + case 0x10DE: return "Nvidia Corporation"; + case 0x13B5: return "Arm Limited"; + case 0x5143: return "Qualcomm Incorporated"; + case 0x8086: return "Intel Corporation"; + } + return StringUtil::format("Unknown VendorID %d", vendorID); +} + +void mapDepthStencilBits(Format format, uint *pDepthBits, uint *pStencilBits) { + switch (format) { + case Format::D16: + *pDepthBits = 16; + *pStencilBits = 0; + break; + case Format::D16S8: + *pDepthBits = 16; + *pStencilBits = 8; + break; + case Format::D24: + *pDepthBits = 24; + *pStencilBits = 0; + break; + case Format::D24S8: + *pDepthBits = 24; + *pStencilBits = 8; + break; + case Format::D32F: + *pDepthBits = 32; + *pStencilBits = 0; + break; + case Format::D32F_S8: + *pDepthBits = 32; + *pStencilBits = 8; + break; + default: break; + } +} + +const VkSurfaceTransformFlagsKHR TRANSFORMS_THAT_REQUIRE_FLIPPING = + VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR | + VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR; + +const VkPrimitiveTopology VK_PRIMITIVE_MODES[] = { + VK_PRIMITIVE_TOPOLOGY_POINT_LIST, // POINT_LIST + VK_PRIMITIVE_TOPOLOGY_LINE_LIST, // LINE_LIST + VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, // LINE_STRIP + static_cast(0), // LINE_LOOP + VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, // LINE_LIST_ADJACENCY + VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, // LINE_STRIP_ADJACENCY + static_cast(0), // ISO_LINE_LIST + VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, // TRIANGLE_LIST + VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, // TRIANGLE_STRIP + VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, // TRIANGLE_FAN + VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, // TRIANGLE_LIST_ADJACENCY + VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, // TRIANGLE_STRIP_ADJACENCY, + static_cast(0), // TRIANGLE_PATCH_ADJACENCY, + VK_PRIMITIVE_TOPOLOGY_PATCH_LIST, // QUAD_PATCH_LIST, +}; + +const VkCullModeFlags VK_CULL_MODES[] = { + VK_CULL_MODE_NONE, + VK_CULL_MODE_FRONT_BIT, + VK_CULL_MODE_BACK_BIT, +}; + +const VkPolygonMode VK_POLYGON_MODES[] = { + VK_POLYGON_MODE_FILL, + VK_POLYGON_MODE_LINE, + VK_POLYGON_MODE_POINT, +}; + +const VkCompareOp VK_CMP_FUNCS[] = { + VK_COMPARE_OP_NEVER, + VK_COMPARE_OP_LESS, + VK_COMPARE_OP_EQUAL, + VK_COMPARE_OP_LESS_OR_EQUAL, + VK_COMPARE_OP_GREATER, + VK_COMPARE_OP_NOT_EQUAL, + VK_COMPARE_OP_GREATER_OR_EQUAL, + VK_COMPARE_OP_ALWAYS, +}; + +const VkStencilOp VK_STENCIL_OPS[] = { + VK_STENCIL_OP_ZERO, + VK_STENCIL_OP_KEEP, + VK_STENCIL_OP_REPLACE, + VK_STENCIL_OP_INCREMENT_AND_CLAMP, + VK_STENCIL_OP_DECREMENT_AND_CLAMP, + VK_STENCIL_OP_INVERT, + VK_STENCIL_OP_INCREMENT_AND_WRAP, + VK_STENCIL_OP_DECREMENT_AND_WRAP, +}; + +const VkBlendOp VK_BLEND_OPS[] = { + VK_BLEND_OP_ADD, + VK_BLEND_OP_SUBTRACT, + VK_BLEND_OP_REVERSE_SUBTRACT, + VK_BLEND_OP_MIN, + VK_BLEND_OP_MAX, +}; + +const VkBlendFactor VK_BLEND_FACTORS[] = { + VK_BLEND_FACTOR_ZERO, + VK_BLEND_FACTOR_ONE, + VK_BLEND_FACTOR_SRC_ALPHA, + VK_BLEND_FACTOR_DST_ALPHA, + VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA, + VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA, + VK_BLEND_FACTOR_SRC_COLOR, + VK_BLEND_FACTOR_DST_COLOR, + VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR, + VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR, + VK_BLEND_FACTOR_SRC_ALPHA_SATURATE, + VK_BLEND_FACTOR_CONSTANT_COLOR, + VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR, + VK_BLEND_FACTOR_CONSTANT_ALPHA, + VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, +}; + +const VkFilter VK_FILTERS[] = { + static_cast(0), // NONE + VK_FILTER_NEAREST, // POINT + VK_FILTER_LINEAR, // LINEAR + static_cast(0), // ANISOTROPIC +}; + +const VkSamplerMipmapMode VK_SAMPLER_MIPMAP_MODES[] = { + static_cast(0), // NONE + VK_SAMPLER_MIPMAP_MODE_NEAREST, // POINT + VK_SAMPLER_MIPMAP_MODE_LINEAR, // LINEAR + VK_SAMPLER_MIPMAP_MODE_LINEAR, // ANISOTROPIC +}; + +const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODES[] = { + VK_SAMPLER_ADDRESS_MODE_REPEAT, // WRAP + VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT, // MIRROR + VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, // CLAMP + VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, // BORDER +}; + +const VkPipelineBindPoint VK_PIPELINE_BIND_POINTS[] = { + VK_PIPELINE_BIND_POINT_GRAPHICS, + VK_PIPELINE_BIND_POINT_COMPUTE, + VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR, +}; + +const ThsvsAccessType THSVS_ACCESS_TYPES[] = { + THSVS_ACCESS_NONE, // NONE + THSVS_ACCESS_INDIRECT_BUFFER, // INDIRECT_BUFFER + THSVS_ACCESS_INDEX_BUFFER, // INDEX_BUFFER + THSVS_ACCESS_VERTEX_BUFFER, // VERTEX_BUFFER + THSVS_ACCESS_VERTEX_SHADER_READ_UNIFORM_BUFFER, // VERTEX_SHADER_READ_UNIFORM_BUFFER + THSVS_ACCESS_VERTEX_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // VERTEX_SHADER_READ_TEXTURE + THSVS_ACCESS_VERTEX_SHADER_READ_OTHER, // VERTEX_SHADER_READ_OTHER + THSVS_ACCESS_FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // FRAGMENT_SHADER_READ_UNIFORM_BUFFER + THSVS_ACCESS_FRAGMENT_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // FRAGMENT_SHADER_READ_TEXTURE + THSVS_ACCESS_FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT, // FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT + THSVS_ACCESS_FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT, // FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT + THSVS_ACCESS_FRAGMENT_SHADER_READ_OTHER, // FRAGMENT_SHADER_READ_OTHER + THSVS_ACCESS_COLOR_ATTACHMENT_READ, // COLOR_ATTACHMENT_READ + THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ, // DEPTH_STENCIL_ATTACHMENT_READ + THSVS_ACCESS_COMPUTE_SHADER_READ_UNIFORM_BUFFER, // COMPUTE_SHADER_READ_UNIFORM_BUFFER + THSVS_ACCESS_COMPUTE_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // COMPUTE_SHADER_READ_TEXTURE + THSVS_ACCESS_COMPUTE_SHADER_READ_OTHER, // COMPUTE_SHADER_READ_OTHER + THSVS_ACCESS_TRANSFER_READ, // TRANSFER_READ + THSVS_ACCESS_HOST_READ, // HOST_READ + THSVS_ACCESS_PRESENT, // PRESENT + THSVS_ACCESS_VERTEX_SHADER_WRITE, // VERTEX_SHADER_WRITE + THSVS_ACCESS_FRAGMENT_SHADER_WRITE, // FRAGMENT_SHADER_WRITE + THSVS_ACCESS_COLOR_ATTACHMENT_WRITE, // COLOR_ATTACHMENT_WRITE + THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE, // DEPTH_STENCIL_ATTACHMENT_WRITE + THSVS_ACCESS_COMPUTE_SHADER_WRITE, // COMPUTE_SHADER_WRITE + THSVS_ACCESS_TRANSFER_WRITE, // TRANSFER_WRITE + THSVS_ACCESS_HOST_PREINITIALIZED, // HOST_PREINITIALIZED + THSVS_ACCESS_HOST_WRITE, // HOST_WRITE +}; + +const VkImageLayout VK_IMAGE_LAYOUTS[] = { + VK_IMAGE_LAYOUT_UNDEFINED, + VK_IMAGE_LAYOUT_GENERAL, + VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, + VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, + VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, + VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, + VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, + VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, + VK_IMAGE_LAYOUT_PREINITIALIZED, + VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, +}; + +const VkAccessFlags FULL_ACCESS_FLAGS = + VK_ACCESS_INDIRECT_COMMAND_READ_BIT | + VK_ACCESS_INDEX_READ_BIT | + VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT | + VK_ACCESS_UNIFORM_READ_BIT | + VK_ACCESS_INPUT_ATTACHMENT_READ_BIT | + VK_ACCESS_SHADER_READ_BIT | + VK_ACCESS_SHADER_WRITE_BIT | + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | + VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | + VK_ACCESS_TRANSFER_READ_BIT | + VK_ACCESS_TRANSFER_WRITE_BIT | + VK_ACCESS_HOST_READ_BIT | + VK_ACCESS_HOST_WRITE_BIT; + +void fullPipelineBarrier(VkCommandBuffer cmdBuff) { +#if CC_DEBUG > 0 + VkMemoryBarrier memoryBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; + memoryBarrier.srcAccessMask = FULL_ACCESS_FLAGS; + memoryBarrier.dstAccessMask = FULL_ACCESS_FLAGS; + vkCmdPipelineBarrier(cmdBuff, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, + 0, 1, &memoryBarrier, 0, nullptr, 0, nullptr); +#endif +} + +VkDeviceSize roundUp(VkDeviceSize numToRound, uint multiple) { + return ((numToRound + multiple - 1) / multiple) * multiple; +} + +bool isLayerSupported(const char *required, const vector &available) { + for (const VkLayerProperties &availableLayer : available) { + if (strcmp(availableLayer.layerName, required) == 0) { + return true; + } + } + return false; +} + +bool isExtensionSupported(const char *required, const vector &available) { + for (const VkExtensionProperties &availableExtension : available) { + if (strcmp(availableExtension.extensionName, required) == 0) { + return true; + } + } + return false; +} + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.h b/native/cocos/renderer/gfx-vulkan/VKUtils.h index b9a919cd76..a63bc45b43 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.h +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.h @@ -27,7 +27,9 @@ #define WIN32_LEAN_AND_MEAN +#include "base/Utils.h" #include "base/Macros.h" +#include "base/StringUtil.h" #include "gfx-base/GFXDef.h" #include "vk_mem_alloc.h" @@ -48,607 +50,46 @@ namespace cc { namespace gfx { -namespace { -VkFormat MapVkFormat(Format format) { - switch (format) { - case Format::R8: return VK_FORMAT_R8_UNORM; - case Format::R8SN: return VK_FORMAT_R8_SNORM; - case Format::R8UI: return VK_FORMAT_R8_UINT; - case Format::R8I: return VK_FORMAT_R8_SINT; - case Format::RG8: return VK_FORMAT_R8G8_UNORM; - case Format::RG8SN: return VK_FORMAT_R8G8_SNORM; - case Format::RG8UI: return VK_FORMAT_R8G8_UINT; - case Format::RG8I: return VK_FORMAT_R8G8_SINT; - case Format::RGB8: return VK_FORMAT_R8G8B8_UNORM; - case Format::RGB8SN: return VK_FORMAT_R8G8B8_SNORM; - case Format::RGB8UI: return VK_FORMAT_R8G8B8_UINT; - case Format::RGB8I: return VK_FORMAT_R8G8B8_SINT; - case Format::RGBA8: return VK_FORMAT_R8G8B8A8_UNORM; - case Format::BGRA8: return VK_FORMAT_B8G8R8A8_UNORM; - case Format::SRGB8_A8: return VK_FORMAT_R8G8B8A8_SRGB; - case Format::RGBA8SN: return VK_FORMAT_R8G8B8A8_SNORM; - case Format::RGBA8UI: return VK_FORMAT_R8G8B8A8_UINT; - case Format::RGBA8I: return VK_FORMAT_R8G8B8A8_SINT; - case Format::R16I: return VK_FORMAT_R16_SINT; - case Format::R16UI: return VK_FORMAT_R16_UINT; - case Format::R16F: return VK_FORMAT_R16_SFLOAT; - case Format::RG16I: return VK_FORMAT_R16G16_SINT; - case Format::RG16UI: return VK_FORMAT_R16G16_UINT; - case Format::RG16F: return VK_FORMAT_R16G16_SFLOAT; - case Format::RGB16I: return VK_FORMAT_R16G16B16_SINT; - case Format::RGB16UI: return VK_FORMAT_R16G16B16_UINT; - case Format::RGB16F: return VK_FORMAT_R16G16B16_SFLOAT; - case Format::RGBA16I: return VK_FORMAT_R16G16B16A16_SINT; - case Format::RGBA16UI: return VK_FORMAT_R16G16B16A16_UINT; - case Format::RGBA16F: return VK_FORMAT_R16G16B16A16_SFLOAT; - case Format::R32I: return VK_FORMAT_R32_SINT; - case Format::R32UI: return VK_FORMAT_R32_UINT; - case Format::R32F: return VK_FORMAT_R32_SFLOAT; - case Format::RG32I: return VK_FORMAT_R32G32_SINT; - case Format::RG32UI: return VK_FORMAT_R32G32_UINT; - case Format::RG32F: return VK_FORMAT_R32G32_SFLOAT; - case Format::RGB32I: return VK_FORMAT_R32G32B32_SINT; - case Format::RGB32UI: return VK_FORMAT_R32G32B32_UINT; - case Format::RGB32F: return VK_FORMAT_R32G32B32_SFLOAT; - case Format::RGBA32I: return VK_FORMAT_R32G32B32A32_SINT; - case Format::RGBA32UI: return VK_FORMAT_R32G32B32A32_UINT; - case Format::RGBA32F: return VK_FORMAT_R32G32B32A32_SFLOAT; +extern VkFormat mapVkFormat(Format format); +extern VkAttachmentLoadOp mapVkLoadOp(LoadOp loadOp); +extern VkAttachmentStoreOp mapVkStoreOp(StoreOp storeOp); +extern VkBufferUsageFlagBits mapVkBufferUsageFlagBits(BufferUsage usage); +extern VkImageType mapVkImageType(TextureType type); +extern VkSampleCountFlagBits mapVkSampleCount(SampleCount count); +extern VkFormatFeatureFlags mapVkFormatFeatureFlags(TextureUsage usage); +extern VkImageUsageFlagBits mapVkImageUsageFlagBits(TextureUsage usage); +extern VkImageAspectFlags mapVkImageAspectFlags(Format format); +extern VkImageCreateFlags mapVkImageCreateFlags(TextureType type); +extern VkImageViewType mapVkImageViewType(TextureType viewType); +extern VkCommandBufferLevel mapVkCommandBufferLevel(CommandBufferType type); +extern VkDescriptorType mapVkDescriptorType(DescriptorType type); +extern VkColorComponentFlags mapVkColorComponentFlags(ColorMask colorMask); +extern VkShaderStageFlagBits mapVkShaderStageFlagBits(ShaderStageFlagBit stage); +extern VkShaderStageFlags mapVkShaderStageFlags(ShaderStageFlagBit stages); +extern SurfaceTransform mapSurfaceTransform(VkSurfaceTransformFlagBitsKHR transform); +extern String mapVendorName(uint32_t vendorID); +extern void mapDepthStencilBits(Format format, uint *pDepthBits, uint *pStencilBits); - case Format::R5G6B5: return VK_FORMAT_R5G6B5_UNORM_PACK16; - case Format::R11G11B10F: return VK_FORMAT_B10G11R11_UFLOAT_PACK32; - case Format::RGB5A1: return VK_FORMAT_R5G5B5A1_UNORM_PACK16; - case Format::RGBA4: return VK_FORMAT_R4G4B4A4_UNORM_PACK16; - case Format::RGB10A2: return VK_FORMAT_A2B10G10R10_UNORM_PACK32; - case Format::RGB10A2UI: return VK_FORMAT_A2B10G10R10_UINT_PACK32; - case Format::RGB9E5: return VK_FORMAT_E5B9G9R9_UFLOAT_PACK32; - case Format::D16: return VK_FORMAT_D16_UNORM; - case Format::D16S8: return VK_FORMAT_D16_UNORM_S8_UINT; - case Format::D24: return VK_FORMAT_X8_D24_UNORM_PACK32; - case Format::D24S8: return VK_FORMAT_D24_UNORM_S8_UINT; - case Format::D32F: return VK_FORMAT_D32_SFLOAT; - case Format::D32F_S8: return VK_FORMAT_D32_SFLOAT_S8_UINT; +extern void fullPipelineBarrier(VkCommandBuffer cmdBuff); +extern VkDeviceSize roundUp(VkDeviceSize numToRound, uint multiple); +extern bool isLayerSupported(const char *required, const vector &available); +extern bool isExtensionSupported(const char *required, const vector &available); - case Format::BC1: return VK_FORMAT_BC1_RGB_UNORM_BLOCK; - case Format::BC1_ALPHA: return VK_FORMAT_BC1_RGBA_UNORM_BLOCK; - case Format::BC1_SRGB: return VK_FORMAT_BC1_RGB_SRGB_BLOCK; - case Format::BC1_SRGB_ALPHA: return VK_FORMAT_BC1_RGBA_SRGB_BLOCK; - case Format::BC2: return VK_FORMAT_BC2_UNORM_BLOCK; - case Format::BC2_SRGB: return VK_FORMAT_BC2_SRGB_BLOCK; - case Format::BC3: return VK_FORMAT_BC3_UNORM_BLOCK; - case Format::BC3_SRGB: return VK_FORMAT_BC3_SRGB_BLOCK; - case Format::BC4: return VK_FORMAT_BC4_UNORM_BLOCK; - case Format::BC4_SNORM: return VK_FORMAT_BC4_SNORM_BLOCK; - case Format::BC5: return VK_FORMAT_BC5_UNORM_BLOCK; - case Format::BC5_SNORM: return VK_FORMAT_BC5_SNORM_BLOCK; - case Format::BC6H_UF16: return VK_FORMAT_BC6H_UFLOAT_BLOCK; - case Format::BC6H_SF16: return VK_FORMAT_BC6H_SFLOAT_BLOCK; - case Format::BC7: return VK_FORMAT_BC7_UNORM_BLOCK; - case Format::BC7_SRGB: return VK_FORMAT_BC7_SRGB_BLOCK; - - case Format::ETC2_RGB8: return VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK; - case Format::ETC2_SRGB8: return VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK; - case Format::ETC2_RGB8_A1: return VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK; - case Format::ETC2_SRGB8_A1: return VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK; - case Format::ETC2_RGBA8: return VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK; - case Format::ETC2_SRGB8_A8: return VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK; - case Format::EAC_R11: return VK_FORMAT_EAC_R11_UNORM_BLOCK; - case Format::EAC_R11SN: return VK_FORMAT_EAC_R11_SNORM_BLOCK; - case Format::EAC_RG11: return VK_FORMAT_EAC_R11G11_UNORM_BLOCK; - case Format::EAC_RG11SN: return VK_FORMAT_EAC_R11G11_SNORM_BLOCK; - - case Format::PVRTC_RGB2: return VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG; - case Format::PVRTC_RGBA2: return VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG; - case Format::PVRTC_RGB4: return VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG; - case Format::PVRTC_RGBA4: return VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG; - case Format::PVRTC2_2BPP: return VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG; - case Format::PVRTC2_4BPP: return VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG; - - case Format::ASTC_RGBA_4x4: return VK_FORMAT_ASTC_4x4_UNORM_BLOCK; - case Format::ASTC_RGBA_5x4: return VK_FORMAT_ASTC_5x4_UNORM_BLOCK; - case Format::ASTC_RGBA_5x5: return VK_FORMAT_ASTC_5x5_UNORM_BLOCK; - case Format::ASTC_RGBA_6x5: return VK_FORMAT_ASTC_6x5_UNORM_BLOCK; - case Format::ASTC_RGBA_6x6: return VK_FORMAT_ASTC_6x6_UNORM_BLOCK; - case Format::ASTC_RGBA_8x5: return VK_FORMAT_ASTC_8x5_UNORM_BLOCK; - case Format::ASTC_RGBA_8x6: return VK_FORMAT_ASTC_8x6_UNORM_BLOCK; - case Format::ASTC_RGBA_8x8: return VK_FORMAT_ASTC_8x8_UNORM_BLOCK; - case Format::ASTC_RGBA_10x5: return VK_FORMAT_ASTC_10x5_UNORM_BLOCK; - case Format::ASTC_RGBA_10x6: return VK_FORMAT_ASTC_10x6_UNORM_BLOCK; - case Format::ASTC_RGBA_10x8: return VK_FORMAT_ASTC_10x8_UNORM_BLOCK; - case Format::ASTC_RGBA_10x10: return VK_FORMAT_ASTC_10x10_UNORM_BLOCK; - case Format::ASTC_RGBA_12x10: return VK_FORMAT_ASTC_12x10_UNORM_BLOCK; - case Format::ASTC_RGBA_12x12: return VK_FORMAT_ASTC_12x12_UNORM_BLOCK; - - case Format::ASTC_SRGBA_4x4: return VK_FORMAT_ASTC_4x4_SRGB_BLOCK; - case Format::ASTC_SRGBA_5x4: return VK_FORMAT_ASTC_5x4_SRGB_BLOCK; - case Format::ASTC_SRGBA_5x5: return VK_FORMAT_ASTC_5x5_SRGB_BLOCK; - case Format::ASTC_SRGBA_6x5: return VK_FORMAT_ASTC_6x5_SRGB_BLOCK; - case Format::ASTC_SRGBA_6x6: return VK_FORMAT_ASTC_6x6_SRGB_BLOCK; - case Format::ASTC_SRGBA_8x5: return VK_FORMAT_ASTC_8x5_SRGB_BLOCK; - case Format::ASTC_SRGBA_8x6: return VK_FORMAT_ASTC_8x6_SRGB_BLOCK; - case Format::ASTC_SRGBA_8x8: return VK_FORMAT_ASTC_8x8_SRGB_BLOCK; - case Format::ASTC_SRGBA_10x5: return VK_FORMAT_ASTC_10x5_SRGB_BLOCK; - case Format::ASTC_SRGBA_10x6: return VK_FORMAT_ASTC_10x6_SRGB_BLOCK; - case Format::ASTC_SRGBA_10x8: return VK_FORMAT_ASTC_10x8_SRGB_BLOCK; - case Format::ASTC_SRGBA_10x10: return VK_FORMAT_ASTC_10x10_SRGB_BLOCK; - case Format::ASTC_SRGBA_12x10: return VK_FORMAT_ASTC_12x10_SRGB_BLOCK; - case Format::ASTC_SRGBA_12x12: return VK_FORMAT_ASTC_12x12_SRGB_BLOCK; - - default: { - CCASSERT(false, "Unsupported Format, convert to VkFormat failed."); - return VK_FORMAT_B8G8R8A8_UNORM; - } - } -} - -VkAttachmentLoadOp MapVkLoadOp(LoadOp loadOp) { - switch (loadOp) { - case LoadOp::CLEAR: return VK_ATTACHMENT_LOAD_OP_CLEAR; - case LoadOp::LOAD: return VK_ATTACHMENT_LOAD_OP_LOAD; - case LoadOp::DISCARD: return VK_ATTACHMENT_LOAD_OP_DONT_CARE; - default: { - CCASSERT(false, "Unsupported LoadOp, convert to VkLoadOp failed."); - return VK_ATTACHMENT_LOAD_OP_LOAD; - } - } -} - -VkAttachmentStoreOp MapVkStoreOp(StoreOp storeOp) { - switch (storeOp) { - case StoreOp::STORE: return VK_ATTACHMENT_STORE_OP_STORE; - case StoreOp::DISCARD: return VK_ATTACHMENT_STORE_OP_DONT_CARE; - default: { - CCASSERT(false, "Unsupported StoreOp, convert to VkStoreOp failed."); - return VK_ATTACHMENT_STORE_OP_STORE; - } - } -} - -VkBufferUsageFlagBits MapVkBufferUsageFlagBits(BufferUsage usage) { - uint flags = 0u; - if (usage & BufferUsage::TRANSFER_SRC) flags |= VK_BUFFER_USAGE_TRANSFER_SRC_BIT; - if (usage & BufferUsage::TRANSFER_DST) flags |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; - if (usage & BufferUsage::INDEX) flags |= VK_BUFFER_USAGE_INDEX_BUFFER_BIT; - if (usage & BufferUsage::VERTEX) flags |= VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; - if (usage & BufferUsage::UNIFORM) flags |= VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; - if (usage & BufferUsage::STORAGE) flags |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; - if (usage & BufferUsage::INDIRECT) flags |= VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; - return (VkBufferUsageFlagBits)flags; -} - -VkImageType MapVkImageType(TextureType type) { - switch (type) { - case TextureType::TEX1D: - case TextureType::TEX1D_ARRAY: return VK_IMAGE_TYPE_1D; - case TextureType::CUBE: - case TextureType::TEX2D: - case TextureType::TEX2D_ARRAY: return VK_IMAGE_TYPE_2D; - case TextureType::TEX3D: return VK_IMAGE_TYPE_3D; - default: { - CCASSERT(false, "Unsupported TextureType, convert to VkImageType failed."); - return VK_IMAGE_TYPE_2D; - } - } -} - -VkSampleCountFlagBits MapVkSampleCount(SampleCount count) { - switch (count) { - case SampleCount::X1: return VK_SAMPLE_COUNT_1_BIT; - case SampleCount::X2: return VK_SAMPLE_COUNT_2_BIT; - case SampleCount::X4: return VK_SAMPLE_COUNT_4_BIT; - case SampleCount::X8: return VK_SAMPLE_COUNT_8_BIT; - case SampleCount::X16: return VK_SAMPLE_COUNT_16_BIT; - case SampleCount::X32: return VK_SAMPLE_COUNT_32_BIT; - default: { - CCASSERT(false, "Unsupported TextureType, convert to VkImageType failed."); - return VK_SAMPLE_COUNT_1_BIT; - } - } -} - -VkFormatFeatureFlags MapVkFormatFeatureFlags(TextureUsage usage) { - uint flags = 0u; - if (usage & TextureUsage::TRANSFER_SRC) flags |= VK_FORMAT_FEATURE_TRANSFER_SRC_BIT; - if (usage & TextureUsage::TRANSFER_DST) flags |= VK_FORMAT_FEATURE_TRANSFER_DST_BIT; - if (usage & TextureUsage::SAMPLED) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; - if (usage & TextureUsage::STORAGE) flags |= VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT; - if (usage & TextureUsage::COLOR_ATTACHMENT) flags |= VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT; - if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) flags |= VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT; - if (usage & TextureUsage::TRANSIENT_ATTACHMENT) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; - if (usage & TextureUsage::INPUT_ATTACHMENT) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; - return (VkFormatFeatureFlags)flags; -} - -VkImageUsageFlagBits MapVkImageUsageFlagBits(TextureUsage usage) { - uint flags = 0u; - if (usage & TextureUsage::TRANSFER_SRC) flags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; - if (usage & TextureUsage::TRANSFER_DST) flags |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; - if (usage & TextureUsage::SAMPLED) flags |= VK_IMAGE_USAGE_SAMPLED_BIT; - if (usage & TextureUsage::STORAGE) flags |= VK_IMAGE_USAGE_STORAGE_BIT; - if (usage & TextureUsage::COLOR_ATTACHMENT) flags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; - if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) flags |= VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; - if (usage & TextureUsage::TRANSIENT_ATTACHMENT) flags |= VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT; - if (usage & TextureUsage::INPUT_ATTACHMENT) flags |= VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; - return (VkImageUsageFlagBits)flags; -} - -VkImageAspectFlags MapVkImageAspectFlags(Format format) { - VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; - const FormatInfo & info = GFX_FORMAT_INFOS[(uint)format]; - if (info.hasDepth) { - aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; - } - if (info.hasStencil) { - aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; - } - return aspectMask; -} - -VkImageCreateFlags MapVkImageCreateFlags(TextureType type) { - uint res = 0u; - switch (type) { - case TextureType::CUBE: res |= VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT; break; - case TextureType::TEX2D_ARRAY: res |= VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT; break; - default: break; - } - return (VkImageCreateFlags)res; -} - -VkImageViewType MapVkImageViewType(TextureType viewType) { - switch (viewType) { - case TextureType::TEX1D: return VK_IMAGE_VIEW_TYPE_1D; - case TextureType::TEX1D_ARRAY: return VK_IMAGE_VIEW_TYPE_1D_ARRAY; - case TextureType::TEX2D: return VK_IMAGE_VIEW_TYPE_2D; - case TextureType::TEX2D_ARRAY: return VK_IMAGE_VIEW_TYPE_2D_ARRAY; - case TextureType::TEX3D: return VK_IMAGE_VIEW_TYPE_3D; - case TextureType::CUBE: return VK_IMAGE_VIEW_TYPE_CUBE; - default: { - CCASSERT(false, "Unsupported TextureViewType, convert to VkImageViewType failed."); - return VK_IMAGE_VIEW_TYPE_2D; - } - } -} - -VkCommandBufferLevel MapVkCommandBufferLevel(CommandBufferType type) { - switch (type) { - case CommandBufferType::PRIMARY: return VK_COMMAND_BUFFER_LEVEL_PRIMARY; - case CommandBufferType::SECONDARY: return VK_COMMAND_BUFFER_LEVEL_SECONDARY; - default: { - CCASSERT(false, "Unsupported CommandBufferType, convert to VkCommandBufferLevel failed."); - return VK_COMMAND_BUFFER_LEVEL_SECONDARY; - } - } -} - -VkDescriptorType MapVkDescriptorType(DescriptorType type) { - switch (type) { - case DescriptorType::DYNAMIC_UNIFORM_BUFFER: return VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC; - case DescriptorType::UNIFORM_BUFFER: return VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; - case DescriptorType::DYNAMIC_STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC; - case DescriptorType::STORAGE_BUFFER: return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; - case DescriptorType::SAMPLER_TEXTURE: return VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; - case DescriptorType::SAMPLER: return VK_DESCRIPTOR_TYPE_SAMPLER; - case DescriptorType::TEXTURE: return VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE; - case DescriptorType::STORAGE_IMAGE: return VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; - case DescriptorType::INPUT_ATTACHMENT: return VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT; - default: { - CCASSERT(false, "Unsupported DescriptorType, convert to VkDescriptorType failed."); - return VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; - } - } -} - -VkColorComponentFlags MapVkColorComponentFlags(ColorMask colorMask) { - uint flags = 0u; - if (colorMask & ColorMask::R) flags |= VK_COLOR_COMPONENT_R_BIT; - if (colorMask & ColorMask::G) flags |= VK_COLOR_COMPONENT_G_BIT; - if (colorMask & ColorMask::B) flags |= VK_COLOR_COMPONENT_B_BIT; - if (colorMask & ColorMask::A) flags |= VK_COLOR_COMPONENT_A_BIT; - if (colorMask & ColorMask::ALL) flags |= VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT | VK_COLOR_COMPONENT_B_BIT | VK_COLOR_COMPONENT_A_BIT; - return (VkColorComponentFlags)flags; -} - -VkShaderStageFlagBits MapVkShaderStageFlagBits(ShaderStageFlagBit stage) { - switch (stage) { - case ShaderStageFlagBit::VERTEX: return VK_SHADER_STAGE_VERTEX_BIT; - case ShaderStageFlagBit::CONTROL: return VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; - case ShaderStageFlagBit::EVALUATION: return VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; - case ShaderStageFlagBit::GEOMETRY: return VK_SHADER_STAGE_GEOMETRY_BIT; - case ShaderStageFlagBit::FRAGMENT: return VK_SHADER_STAGE_FRAGMENT_BIT; - case ShaderStageFlagBit::COMPUTE: return VK_SHADER_STAGE_COMPUTE_BIT; - default: { - CCASSERT(false, "Unsupported ShaderStageFlagBit, convert to VkShaderStageFlagBits failed."); - return VK_SHADER_STAGE_VERTEX_BIT; - } - } -} - -VkShaderStageFlags MapVkShaderStageFlags(ShaderStageFlagBit stages) { - uint flags = 0u; - if (stages & ShaderStageFlagBit::VERTEX) flags |= VK_SHADER_STAGE_VERTEX_BIT; - if (stages & ShaderStageFlagBit::CONTROL) flags |= VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; - if (stages & ShaderStageFlagBit::EVALUATION) flags |= VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; - if (stages & ShaderStageFlagBit::GEOMETRY) flags |= VK_SHADER_STAGE_GEOMETRY_BIT; - if (stages & ShaderStageFlagBit::FRAGMENT) flags |= VK_SHADER_STAGE_FRAGMENT_BIT; - if (stages & ShaderStageFlagBit::COMPUTE) flags |= VK_SHADER_STAGE_COMPUTE_BIT; - return (VkShaderStageFlags)flags; -} - -SurfaceTransform MapSurfaceTransform(VkSurfaceTransformFlagBitsKHR transform) { - if (transform & VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR) return SurfaceTransform::ROTATE_90; - if (transform & VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR) return SurfaceTransform::ROTATE_180; - if (transform & VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR) return SurfaceTransform::ROTATE_270; - return SurfaceTransform::IDENTITY; -} - -String MapVendorName(uint32_t vendorID) { - switch (vendorID) { - case 0x1002: return "Advanced Micro Devices, Inc."; - case 0x1010: return "Imagination Technologies"; - case 0x106b: return "Apple Inc."; - case 0x10DE: return "Nvidia Corporation"; - case 0x13B5: return "Arm Limited"; - case 0x5143: return "Qualcomm Incorporated"; - case 0x8086: return "Intel Corporation"; - } - return StringUtil::format("Unknown VendorID %d", vendorID); -} - -void MapDepthStencilBits(Format format, uint &depthBits, uint &stencilBits) { - switch (format) { - case Format::D16: - depthBits = 16; - stencilBits = 0; - break; - case Format::D16S8: - depthBits = 16; - stencilBits = 8; - break; - case Format::D24: - depthBits = 24; - stencilBits = 0; - break; - case Format::D24S8: - depthBits = 24; - stencilBits = 8; - break; - case Format::D32F: - depthBits = 32; - stencilBits = 0; - break; - case Format::D32F_S8: - depthBits = 32; - stencilBits = 8; - break; - default: break; - } -} - -const VkSurfaceTransformFlagsKHR TRANSFORMS_THAT_REQUIRE_FLIPPING = - VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR | - VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR; - -const VkPrimitiveTopology VK_PRIMITIVE_MODES[] = { - VK_PRIMITIVE_TOPOLOGY_POINT_LIST, // POINT_LIST - VK_PRIMITIVE_TOPOLOGY_LINE_LIST, // LINE_LIST - VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, // LINE_STRIP - (VkPrimitiveTopology)0, // LINE_LOOP - VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, // LINE_LIST_ADJACENCY - VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, // LINE_STRIP_ADJACENCY - (VkPrimitiveTopology)0, // ISO_LINE_LIST - VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, // TRIANGLE_LIST - VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, // TRIANGLE_STRIP - VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, // TRIANGLE_FAN - VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, // TRIANGLE_LIST_ADJACENCY - VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, // TRIANGLE_STRIP_ADJACENCY, - (VkPrimitiveTopology)0, // TRIANGLE_PATCH_ADJACENCY, - VK_PRIMITIVE_TOPOLOGY_PATCH_LIST, // QUAD_PATCH_LIST, -}; - -const VkCullModeFlags VK_CULL_MODES[] = { - VK_CULL_MODE_NONE, - VK_CULL_MODE_FRONT_BIT, - VK_CULL_MODE_BACK_BIT, -}; - -const VkPolygonMode VK_POLYGON_MODES[] = { - VK_POLYGON_MODE_FILL, - VK_POLYGON_MODE_LINE, - VK_POLYGON_MODE_POINT, -}; - -const VkCompareOp VK_CMP_FUNCS[] = { - VK_COMPARE_OP_NEVER, - VK_COMPARE_OP_LESS, - VK_COMPARE_OP_EQUAL, - VK_COMPARE_OP_LESS_OR_EQUAL, - VK_COMPARE_OP_GREATER, - VK_COMPARE_OP_NOT_EQUAL, - VK_COMPARE_OP_GREATER_OR_EQUAL, - VK_COMPARE_OP_ALWAYS, -}; - -const VkStencilOp VK_STENCIL_OPS[] = { - VK_STENCIL_OP_ZERO, - VK_STENCIL_OP_KEEP, - VK_STENCIL_OP_REPLACE, - VK_STENCIL_OP_INCREMENT_AND_CLAMP, - VK_STENCIL_OP_DECREMENT_AND_CLAMP, - VK_STENCIL_OP_INVERT, - VK_STENCIL_OP_INCREMENT_AND_WRAP, - VK_STENCIL_OP_DECREMENT_AND_WRAP, -}; - -const VkBlendOp VK_BLEND_OPS[] = { - VK_BLEND_OP_ADD, - VK_BLEND_OP_SUBTRACT, - VK_BLEND_OP_REVERSE_SUBTRACT, - VK_BLEND_OP_MIN, - VK_BLEND_OP_MAX, -}; - -const VkBlendFactor VK_BLEND_FACTORS[] = { - VK_BLEND_FACTOR_ZERO, - VK_BLEND_FACTOR_ONE, - VK_BLEND_FACTOR_SRC_ALPHA, - VK_BLEND_FACTOR_DST_ALPHA, - VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA, - VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA, - VK_BLEND_FACTOR_SRC_COLOR, - VK_BLEND_FACTOR_DST_COLOR, - VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR, - VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR, - VK_BLEND_FACTOR_SRC_ALPHA_SATURATE, - VK_BLEND_FACTOR_CONSTANT_COLOR, - VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR, - VK_BLEND_FACTOR_CONSTANT_ALPHA, - VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA, -}; - -const VkFilter VK_FILTERS[] = { - (VkFilter)0, // NONE - VK_FILTER_NEAREST, // POINT - VK_FILTER_LINEAR, // LINEAR - (VkFilter)0, // ANISOTROPIC -}; - -const VkSamplerMipmapMode VK_SAMPLER_MIPMAP_MODES[] = { - (VkSamplerMipmapMode)0, // NONE - VK_SAMPLER_MIPMAP_MODE_NEAREST, // POINT - VK_SAMPLER_MIPMAP_MODE_LINEAR, // LINEAR - VK_SAMPLER_MIPMAP_MODE_LINEAR, // ANISOTROPIC -}; - -const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODES[] = { - VK_SAMPLER_ADDRESS_MODE_REPEAT, // WRAP - VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT, // MIRROR - VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, // CLAMP - VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER, // BORDER -}; - -const VkPipelineBindPoint VK_PIPELINE_BIND_POINTS[] = { - VK_PIPELINE_BIND_POINT_GRAPHICS, - VK_PIPELINE_BIND_POINT_COMPUTE, - VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR, -}; - -const ThsvsAccessType THSVS_ACCESS_TYPES[] = { - THSVS_ACCESS_NONE, // NONE - THSVS_ACCESS_INDIRECT_BUFFER, // INDIRECT_BUFFER - THSVS_ACCESS_INDEX_BUFFER, // INDEX_BUFFER - THSVS_ACCESS_VERTEX_BUFFER, // VERTEX_BUFFER - THSVS_ACCESS_VERTEX_SHADER_READ_UNIFORM_BUFFER, // VERTEX_SHADER_READ_UNIFORM_BUFFER - THSVS_ACCESS_VERTEX_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // VERTEX_SHADER_READ_TEXTURE - THSVS_ACCESS_VERTEX_SHADER_READ_OTHER, // VERTEX_SHADER_READ_OTHER - THSVS_ACCESS_FRAGMENT_SHADER_READ_UNIFORM_BUFFER, // FRAGMENT_SHADER_READ_UNIFORM_BUFFER - THSVS_ACCESS_FRAGMENT_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // FRAGMENT_SHADER_READ_TEXTURE - THSVS_ACCESS_FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT, // FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT - THSVS_ACCESS_FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT, // FRAGMENT_SHADER_READ_DEPTH_STENCIL_INPUT_ATTACHMENT - THSVS_ACCESS_FRAGMENT_SHADER_READ_OTHER, // FRAGMENT_SHADER_READ_OTHER - THSVS_ACCESS_COLOR_ATTACHMENT_READ, // COLOR_ATTACHMENT_READ - THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ, // DEPTH_STENCIL_ATTACHMENT_READ - THSVS_ACCESS_COMPUTE_SHADER_READ_UNIFORM_BUFFER, // COMPUTE_SHADER_READ_UNIFORM_BUFFER - THSVS_ACCESS_COMPUTE_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER, // COMPUTE_SHADER_READ_TEXTURE - THSVS_ACCESS_COMPUTE_SHADER_READ_OTHER, // COMPUTE_SHADER_READ_OTHER - THSVS_ACCESS_TRANSFER_READ, // TRANSFER_READ - THSVS_ACCESS_HOST_READ, // HOST_READ - THSVS_ACCESS_PRESENT, // PRESENT - THSVS_ACCESS_VERTEX_SHADER_WRITE, // VERTEX_SHADER_WRITE - THSVS_ACCESS_FRAGMENT_SHADER_WRITE, // FRAGMENT_SHADER_WRITE - THSVS_ACCESS_COLOR_ATTACHMENT_WRITE, // COLOR_ATTACHMENT_WRITE - THSVS_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE, // DEPTH_STENCIL_ATTACHMENT_WRITE - THSVS_ACCESS_COMPUTE_SHADER_WRITE, // COMPUTE_SHADER_WRITE - THSVS_ACCESS_TRANSFER_WRITE, // TRANSFER_WRITE - THSVS_ACCESS_HOST_PREINITIALIZED, // HOST_PREINITIALIZED - THSVS_ACCESS_HOST_WRITE, // HOST_WRITE -}; - -const VkImageLayout VK_IMAGE_LAYOUTS[] = { - VK_IMAGE_LAYOUT_UNDEFINED, - VK_IMAGE_LAYOUT_GENERAL, - VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, - VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL, - VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, - VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, - VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, - VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, - VK_IMAGE_LAYOUT_PREINITIALIZED, - VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, -}; - -const VkAccessFlags FULL_ACCESS_FLAGS = - VK_ACCESS_INDIRECT_COMMAND_READ_BIT | - VK_ACCESS_INDEX_READ_BIT | - VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT | - VK_ACCESS_UNIFORM_READ_BIT | - VK_ACCESS_INPUT_ATTACHMENT_READ_BIT | - VK_ACCESS_SHADER_READ_BIT | - VK_ACCESS_SHADER_WRITE_BIT | - VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | - VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT | - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT | - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT | - VK_ACCESS_TRANSFER_READ_BIT | - VK_ACCESS_TRANSFER_WRITE_BIT | - VK_ACCESS_HOST_READ_BIT | - VK_ACCESS_HOST_WRITE_BIT; - -void fullPipelineBarrier(VkCommandBuffer cmdBuff) { -#if CC_DEBUG > 0 - VkMemoryBarrier memoryBarrier{VK_STRUCTURE_TYPE_MEMORY_BARRIER}; - memoryBarrier.srcAccessMask = FULL_ACCESS_FLAGS; - memoryBarrier.dstAccessMask = FULL_ACCESS_FLAGS; - vkCmdPipelineBarrier(cmdBuff, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, - 0, 1, &memoryBarrier, 0, nullptr, 0, nullptr); -#endif -} - -template -char (*countofHelper(T (&_Array)[Size]))[Size]; - -#define COUNTOF(array) (sizeof(*countofHelper(array)) + 0) - -template -uint toUint(T value) { - static_assert(std::is_arithmetic::value, "T must be numeric"); - - CCASSERT(static_cast(value) <= static_cast(std::numeric_limits::max()), - "value is too big to be converted to uint"); - - return static_cast(value); -} - -VkDeviceSize roundUp(VkDeviceSize numToRound, uint multiple) { - return ((numToRound + multiple - 1) / multiple) * multiple; -} - -uint nextPowerOf2(uint v) { - v--; - v |= v >> 1; - v |= v >> 2; - v |= v >> 4; - v |= v >> 8; - v |= v >> 16; - return ++v; -} - -bool isLayerSupported(const char *required, const vector &available) { - for (const VkLayerProperties &availableLayer : available) { - if (strcmp(availableLayer.layerName, required) == 0) { - return true; - } - } - return false; -} - -bool isExtensionSupported(const char *required, const vector &available) { - for (const VkExtensionProperties &availableExtension : available) { - if (strcmp(availableExtension.extensionName, required) == 0) { - return true; - } - } - return false; -} -} // namespace +extern const VkSurfaceTransformFlagsKHR TRANSFORMS_THAT_REQUIRE_FLIPPING; +extern const VkPrimitiveTopology VK_PRIMITIVE_MODES[]; +extern const VkCullModeFlags VK_CULL_MODES[]; +extern const VkPolygonMode VK_POLYGON_MODES[]; +extern const VkCompareOp VK_CMP_FUNCS[]; +extern const VkStencilOp VK_STENCIL_OPS[]; +extern const VkBlendOp VK_BLEND_OPS[]; +extern const VkBlendFactor VK_BLEND_FACTORS[]; +extern const VkFilter VK_FILTERS[]; +extern const VkSamplerMipmapMode VK_SAMPLER_MIPMAP_MODES[]; +extern const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODES[]; +extern const VkPipelineBindPoint VK_PIPELINE_BIND_POINTS[]; +extern const ThsvsAccessType THSVS_ACCESS_TYPES[]; +extern const VkImageLayout VK_IMAGE_LAYOUTS[]; +extern const VkAccessFlags FULL_ACCESS_FLAGS; } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/pipeline/PipelineStateManager.cpp b/native/cocos/renderer/pipeline/PipelineStateManager.cpp index 4d6bbc59a7..66249e50f9 100644 --- a/native/cocos/renderer/pipeline/PipelineStateManager.cpp +++ b/native/cocos/renderer/pipeline/PipelineStateManager.cpp @@ -25,9 +25,6 @@ #include "PipelineStateManager.h" #include "gfx-base/GFXDevice.h" -#include "gfx-base/GFXInputAssembler.h" -#include "gfx-base/GFXRenderPass.h" -#include "gfx-base/GFXShader.h" #include "helper/SharedMemory.h" namespace cc { @@ -45,10 +42,11 @@ gfx::PipelineState *PipelineStateManager::getOrCreatePipelineState(const PassVie const auto shaderID = shader->getID(); const auto hash = passHash ^ renderPassHash ^ iaHash ^ shaderID; - auto pso = _PSOHashMap[hash]; + auto *pso = _PSOHashMap[hash]; if (!pso) { - auto pipelineLayout = pass->getPipelineLayout(); - gfx::PipelineStateInfo info = { + auto *pipelineLayout = pass->getPipelineLayout(); + + pso = gfx::Device::getInstance()->createPipelineState({ shader, pipelineLayout, renderPass, @@ -57,9 +55,9 @@ gfx::PipelineState *PipelineStateManager::getOrCreatePipelineState(const PassVie *(pass->getDepthStencilState()), *(pass->getBlendState()), pass->getPrimitive(), - pass->getDynamicState()}; + pass->getDynamicState(), + }); - pso = gfx::Device::getInstance()->createPipelineState(std::move(info)); _PSOHashMap[hash] = pso; } @@ -70,7 +68,7 @@ gfx::PipelineState *PipelineStateManager::getOrCreatePipelineStateByJS(uint32_t gfx::Shader * shader, gfx::InputAssembler *inputAssembler, gfx::RenderPass * renderPass) { - const auto pass = GET_PASS(passHandle); + const auto *pass = GET_PASS(passHandle); CC_ASSERT(pass); return PipelineStateManager::getOrCreatePipelineState(pass, shader, inputAssembler, renderPass); } diff --git a/native/docs/LINTER_AUTOFIX_GUIDE.md b/native/docs/LINTER_AUTOFIX_GUIDE.md new file mode 100644 index 0000000000..4716a7f9b3 --- /dev/null +++ b/native/docs/LINTER_AUTOFIX_GUIDE.md @@ -0,0 +1,103 @@ +# Linter Auto-fix Guide + +This is a guide to help you setting up the appropriate environment to enable auto-fixing most of the coding style check rules, including both `clang-format` and `clang-tidy`. + +For now, **Visual Studio Code** is our first recommended IDE for the job, while a brief discussion about the support in different IDEs can be found at the end of this document. + +## VS Code Integration + +* Make sure both `clang-tidy` and `clang-format` are directly accessible in your terminal environment, i.e. install LLVM and add the bin folder into the environment path. LLVM 11+ is recommended. + + ![](imgs/LLVM.png) + +* Make sure you have `ANDROID_NDK_HOME` or `ANDROID_NDK_ROOT` or `NDK_ROOT` environment variable pointing to the Android NDK path. + + ![](imgs/NDK.png) + +* Open terminal (or git-bash if you are on windows), navigate to `engine-native` folder and run: + + ```bash + utils/generate_compile_commands_android.sh + ``` + + If it succeeds, you should see a `compile_commands.json` generated in the same folder, and ignored by git. + + ![](imgs/compile_commands.png) + +* Install both `C/C++` and `Clang-Tidy` extension from the market: + + ![](imgs/extensions.png) + +* If everything goes smoothly, after opening any source file, you should be able to see the `Clang-Tidy` extension's linting process and its output as warnings right inside the editor, without any errors. + + ![](imgs/tidy-output-editor.png) + +* But in the case when you do see errors popping up like this: (note the red color in the scroll bar) + + ![](imgs/tidy-output-error.png) + + That means you have compile errors **for this single file**. Since it does compile on our target platforms as part of the engine project library, the most common cause for this issue is that the dependent header declaration is not complete, i.e. the file is not self-contained. You should always declare all the headers your file depends on. + + In the case of this screenshot, the declaration of the base class `Object` is missing, so we are indeed missing headers. + +* If you've made any changes and need to re-lint the file, you should save the file and execute the `Clang-Tidy: Lint File` command: + + ![](imgs/re-lint.png) + + This process can be a bit repetitive if you are modifying lots of files together, so there are options to `Lint On Save` or even `Fix On Save`: + + ![](imgs/tidy-options.png) + +* After clearing the compile errors, you are ready to execute auto fix. For now the only way to do this is to just enable the `Fix On Save` option, and save the file. + + ![](imgs/auto-fix.gif) + + Note that auto-fix can not fix all the issues `Clang-Tidy` reports. You still have to manually fix some of the trickier issues, but generally most of the issues are trivial and can be auto-fixed. + + Also note that the linting and fixing process for `Clang-Tidy` is understandably time-consuming. So you should only enable the xx-on-save options when actually needed to. The screenshot does not reflect the actual time needed for the process. + +* Whenever in doubt, you can always refer to the `Clang-Tidy` extension output window for more detailed information. + + ![](imgs/tidy-output.png) + + This is a screenshot of linting issue-free files. + +* For `Clang-Format` issues, there will be no in-place editor suggestions, but all issues are strictly auto-fixable, and if the environment set up above goes smoothly, it is as simple as execute the `Format Document` command. (By default `Shift + Alt + F` on Windows) + + ![](imgs/format.png) + + This functionality is provided by the C/C++ extension. + + ![](imgs/auto-format.gif) + + On the contrary to `Clang-Tidy`, `Clang-Format` auto-formating is a immediate operation and should be used frequently. + +> Note: The `compile_commands.json` generated by current approach is essentially the Android development environment. So other platform-specific code may likely not be included in the check. This behavior is consistent with CI test environment. + +> Also note: Once new source files have been added to the project in the CMakeLists, the `compile_commands.json` has to be regenerated by running the same script in the third step. + +## Command Line Interface + +The second recommended way is to directly use the CLI. + +We provide a bash script to apply auto fix on all the changed files in arbitrary commit/range: + +First make sure the first three step in VS Code environment setup are done, i.e. `compile_commands.json` has been generated, then: + +```bash +utils/tidy-fix-commit.sh # run auto fix on files in the latest commit +utils/tidy-fix-commit.sh 70181ed # run auto fix on files in the specified commit +utils/tidy-fix-commit.sh HEAD~3..HEAD # run auto fix on files in the last 3 commit +``` + +All the issues will be reported in the standard output. This can be used as local self-test runs for CI checks. + +The CLI scripts can(and are recommended to) be used as complements to the VS Code environment. + +## Other IDEs + +It is possible to use other IDEs as long as they [support Clang-Tidy](https://clang.llvm.org/extra/clang-tidy/Integrations.html). + +Notably there is `CLion`, or the `Resharper C++` MSVC extension that can do a fairly decent job on analysing and fixing linter issues. But both are commercially licensed and [intentionally](https://resharper-support.jetbrains.com/hc/en-us/articles/207242695-Can-I-fix-all-issues-Quick-Fixes-naming-suggestions-etc-at-once-) lacks the functionality to apply fixes to all the issues. They can either apply auto fix per instance, or apply to the whole project by issue types. + +Considering the current circumstances this is usually not what we want in daily development, since the more files we touch, the heavier the burden is to pass the CI check, which detects problems on all the changed files in a single pull request. diff --git a/native/docs/imgs/LLVM.png b/native/docs/imgs/LLVM.png new file mode 100644 index 0000000000000000000000000000000000000000..227ac7024bf6fe9545d9ea893896dc9551ad67ad GIT binary patch literal 19039 zcmd43bx<5#w?0Zj2oT)eEqHKucXtaAJh%>n1a}PtcZc9E1Hl5p-3E7e*WZx$J?DJ4 z>eRje+`4tU3TF4vbg$mM_g?FH*0VZHSy2k<1O5jnC@3TuX>nC3sJEAp_D{I?kl&b@ z+y#)2H_ob3qEHnhgnN*kcNQWFB2ZA(F$j;wFpzzC2WcH=C@AEf*Pl0u^vDEIP%@V? z;v(uEhDRB`mIi$(H(9nDbJsejhKBs@4?ENgF z#%J}S%~#p!i`V9O9iw1N0|SHD+X?^vOmrwBoW;f@{A&P(HQk{(;};I>-xYBLB{K?o z?yV>MY|bMoY&Va|&L`v3potp{#h=b6i#%+jL!ceLQGT`^lJ?f-9bY&oDC=aUmz9@k zUq%w2(~jrHX9S4(((nC=As$3KK#9f6!8k%O>F#R7es^ z&3ohRbBoh~kkM+gqo%M~&pb3{?A@O5XKZa(3h8?)OvNvjb-zEuY*%3%xy7Tt_0j+0Pgc7`*)2(+2 zSU&WO7(vQFj?R-i1n*6sEX`V_`Ot>h+P6_mbVvZNcpND6GHg;lynE8R9Eecbjj)Mg z|7k=U({}#m&(yaJqm(>^_27p=uB$r}6NI3}fuLu7BJ#sXP6Y{G1H=b??q{wi#i;X( z={nP$o1Sr*4nVFEeUil86JGXunSpqtP@(_jUCqi_1d&S9R? zBs~36_hv?~0L`0;DAI-aZr670l{0>)XF>jgOdOL4-aLzk<5^{52^r&sVO2#>A)}3B zR^5X1M(M>hzYK(}k8gG!E_Y^MQnpWCXgCaR3uYAFkt9&;_h$PC zJ>K)&YffbEE(511E6!%4TIo|2lrz^ST`DRy((6@UR4+5NpzVL1Pu}d6`oJ?l$@Pzz zeYo!!_r2uLrRlKE#kfyA@24k;MLbL&7){HEJqp@8#o-?fCOO)@2DUs+WgC$B%Eg;{3iH!oCZ5N4-j> zC*zYYRSzstaDFb>@jj;W#q3#@5B-mGon&GCQVYlJ9#W>WOO%BmN~XIxD@w`cBVN2~vxKM(eKE}^ zXUoZR)Gme1S-`BNGj;hfwWFIGW38NC!ey3&P(uEk@-^f26n=S`!t@x3^PUhjvI*n?y35K zc+zmMDt1}Qx7odLif@$Vs?u%z16d8i?3E4rbv}KJkMkxeDVY+@)Xs}|qvh4ZNiXoi zWH9MB6cNdS$nb`R<;x!y+T+I2(vHEPi`^Rwgm4$nxS5W<)0nm<A!Op*O3BL$(Hq-%n$HLrH9Pv@aEC@W33+ap}~ z%uBktJ`_kRzw-M}mvLtARi^~XG7Qe+td1v5^Nx#r3EHQNdYffONjpXxaCVIOg6(hb z8cPVE`$*u%7vwuQgM#IjkkC7Dtjyf35JG%*?Zj{<4%5|)T%UZb;*SWcs%%pY-5VSF zX|p0Z)%goF^skt;-uZLnd6VDe$GHuhwCoBklWVH9`_k$S6~#`T#6bSFpgiQ6e5hd^ z1+D90nd3hAWB=m~BlGRd$wV9K+m(BEQFS=}7~dQQmaI1h?L{xi96z3!hOxu&TZ{@p zqF)++Vt0_D3}8huOy~^N3U6@(1O>5IA|erRbO`O5@`OfV`@oH=9U!P0TiA?)j65}; z)VH<^82KtD>4DN0=gsnJkHLA#78RNN`GR~da&@)nNg~buZ-OTmps-VPNr8ZVJhYe# zoGlA5m$rcWtfw_j?u#r(FTe8!zJde5ld*O19PW%S*Y@MVv?4}(2Fh5!JPr|qPSrq; z{zI|zd8BL~CzkDQrQE99EHpkdiJ)izJS^YfX?44XWNSnn<$x)(pyHm;bS|RE3zln` zi1gvx>R71_y!$JIvodVjvAhdBA4^Xo?a#0*RT(ST9jxcudDtZacSpM25m$&$hZL?D zdo_VXFW(-x;*>PUOwUG3Ic7{gwUgB(Tbx86#p&E6XokNKuT1Y$2Z97>B!8ZtMlo#~ z(ACGFlO5);*|F<4k^s%n-wFpqCA-ef>hegvT!#B}(o}%-&sD7EHWC>S&p*FeU`J~A zJLvU0?0i^{x4QW0s&r=vw?23{S6K4&DGkX$y2jbgd;0F7H-D~K_TM2upY@efo$wiE zR6N`!#-l@q$7kiP@mRIi#p&@}A?~Ei&7B`BTYJU%Gt0=JIO%pc@S99sT zX+oZ~wJVyoDP>yN{9L4UiN%r(2W(YvAzEm_Z$$)TwVKY=>4r8CV0pKXDT1R6Vy^8_ zx6Y1A2e^cu9s6s&-NZv(51bJrTz!A6{T4g3`G`5UFubqN)Xy|=n9s`?^JZb*plX0( z|BMW!U)L(HxtOQmMLlB3-)Hq!o(ZAHvsnm0opW5tl^u9)5Ek*SLs@ZBaYJnceC zGGmiP;l+3*K`i29hu9Rt9utPFU6LtZizZJRoS!Ztq^^o4I{M$4eX$X}gLt3*NV z;CK!ju=Tw+7!mly(?i4X+2Cm7`N`zu8Nr*dW?H_3?#|YAsECgHT0`pjIi~E=h(-T} znT-3xWl|D9^DUHsEt&Q0(1##+#>gk7ToO3P4w?%u5iGnyio=2_!`!tWY%v3>@BY~Qh7ud5OP=LzBn7)wP;ib;?Zh!5 zWtGuXMs#ZU@dE3Q8ZVV;P~!RRo7kAHoTQzf6`S}Mg4OaeQ8llucb9QSq=Hv4i%Z0) zC+18HuK0{r2l2w++TyDN66*8DesHYMc1UC7&3p~cv^|AI;SiS;dEvS*ay?`$b@9^{ z6;yp!Mxu;deYZa0z8f(^PK2GM^U$XFop0T|d$OATWYVwSJ31>T3shS4xtH|2`^YK@ zaF%g}SV*1A6pLnXnOn&rfhD7St>i$s>7CSE?T=+cySpg@5g?3|Zd*NS*+d?O!LEy9I`g$f(%A(`pI5b{Orlv?DMaR zbjskpw8jWO9Q|N$58zTDxa73Na`8vz{-Kr7O?F$dJ_#06cMd7iQY(&~(EU4gL_y#^ zC>EZcy*I85rAYwV&qJ}#J7i-F5KP__&09($MU-uhhR^G{$}K8M4vIW)ni`}U z{$#M)o;|n`^s?Asj3%5vpX}|%QCDsI1oVITaEpcAuuy6yG;PME03$zBlC8zCuSOje}!GEf}Xlh)A}U! z+-d*KpUeFof|(wYc?C>RuyD>{?KxQK3h)-$&FxR$_2GN2JwlyOPR59xUB7WbMc2w( zU|fy@N8D4@0OwGBr8Rnokr|lhg;Sxt)l_dYF-9gAX(j!v*K3jdysiDj8e5p>)23&x z)?lbaCI0+_HTliXu8ws<5xkzf&k+}7{XuSBb4atWH^MA%SYz=PILN$CxfOhJrx>rT zWtDB?=ibcWrm^^08Lb%B8GdA}APMN9N77Mtd{qAt%5f$t!jQ9v%h#biM{L4VW{ehC z_Ov?$+CCh<6ut5*!^1VD42Y*m(oGG!yacQ+%vQG2BgI>0ycRI@@?yhwi>8++feD z8>89sOuE868^EDaZOhb6PmA~?dmHZaXR_W$Km)XUSM;nfe3O8ONTQ=)6q0ZS~OnlX8CcF2Fg+>UVaI}VLjv5QRo4Z>7m#jZqmd0jc2t6Zv zqwzuOQlb0$4jh%Scpw;kZ%9tC;y&D_xvVRYUb$5mFwt7}-i96TdO6{H5je|HNs-na zJLqqyFAFs%9#9SkJrT01?1w3c21U$8Xa!XXrkdrf;VxyNz2G_?|KS^^{GK*8b+$}} zpqVkAd1Ghj^%L&o{TI@1F%NTN5?gfaVT!;Kau)zE(5NWN){T2GIlR^$Tn&}!BG5GH zJ%KbjvV9o88vqpdWm?WfNHIq&6$`edpGN-VLhEy{@_bul8?qA{L-WZ)BvUreJ!@?Y z*G4NL7PZ=5y-is07#U3{N>5jCgSzk{0+WBHKG)8R-itdXF^}M>po#17 zk7Z&@8Hb0u+X)R0dm-|rNJr1TCxb_tQJy^D=JWP_%}N(Ot$GEjJy#`rgu-*L30q4e z3i(sL1CuPwwrk|4Xt=gn3R_f#FCa?4DE*1s{Kx0~t7(R+{>*vl%kr3Kj%V8Hwq1=- zm+-mL^S#WQ-9c<`a@yb9TSeZgEmQ?`QgxxWp>wIK+tbN4^=6cw2%_HGruKZhh<#>h z5jNd=Z+=HOvt?*dGYwi&5Me&egQ-=+*QVE4OWOcK-k^_MP7%`7Z7_vwRCh3UP1E#W z2{HxdURKRi!92QK<6x#AcE-)p9$?`XJB&Zc-qP)(e4}$@0&n6t>ne84cS2n>1r?u) zWVsPMuk!G)+qYu11nVWIKAW@Xl)6=LeBRktR)Byw5y4&Wm7VqL#7dD(C{vAdQc5f; zPJmoz>9K43=bob_;_47jMsgU3z%f`kR@NOn^j-bUVe>sWDzRl7$JO87%Ye{_1XiO!ISnPzMQL&!baz8%?i2 zy7jOagu2LnAFE_&TV$`kd1dIqJypo9cdTZa#I0gX>Yoa4TK%b8+`2xJ)R%Pk&0m_M z*tDh`@J|zJ3KR8}0fKB(EdN_;&_?B_SF#wN0xk+tsOLvv0dlQ+cX_IrJjy7LlaRHL zK@$65=tn+hk_Ew5^=tiC9!VG!*C{rNqQb4v=e{>79Y1l}O|3ZDJeHS^q|J>CqIgyY z%la2I5u+pRw0TSNtS%#|H1^+I?B|3 z4Q;rXkJA%hdcad1QtB2MKMI&`d}%M{WCJ2u;sP*3qn zdj4c(B^SMT!zqJzgH_isMVI{*!C8M;$v<=LB@Pt?fTas1&P>2&G3goh-lb`I5N5n!4NLCiz&0}H=2+UDD9%wNLbH>t+N-JG5Y+)mX}eVf%!}LM zc;JzBqyEPuy*Z$fNO35piFgb#W$1hZkxPYpwBlX$dihkP#QOC25Ou`6SX7(!bdtQE zCIfdKddTRIiGNyuA1ZnIFj2;b8~Xh7^m9>XLq?EXYRz~+-L;{fdYQ<=Fq*xl_?-H} zEvv#f-NN&+W-5`1Uc~)PD}p|4*MsKxFxhB3Im&)+!0%r&WEEU>F}yUR#V(7SUDwOM z0xo#w6eI=pnM8(ijc5q0_1G&V7zAE#p;Rgn##?<(0o9HI2j7idmbnrAMLgr_pyX~j z<6KPQiw`Zde{S<&6xXh0z9Jx#Yf^LwmfXnGHRyKH66gx*Eef3#m??FrmQA>OKYTB2)egAgKLu&HH-y8dX4law!r%@W?#6MJcG?W_@ zyp*DaJG1A!BxsAWA%K_X@Ilg(zo-;?(>uh}&;shJpqM6p;${PeMwh33&4eo|LwD)p zGS5!0w5v$aOcpS1F>3iO*BFIORDaAe z#Nq7w@QI90h*WYurF?Bl(bY`id3Ze|lrnV$`R-Ftf;XQ@x2;om>rC(mckJ;Tmaw~~ zeE1wYRwteUKOjb@}3n{(V2PUzaI%)TAcrD`{+?YA$@nfNgRsMxT;@hFkc~N z>G?!7&R6j6s>WT@QCe-4NT=<_O_>cC#>N~!#j?M>;Ez5r`3}r^oTu=($keeY0&LD# zDekRCS~8e2Tq6}_(vDg?tcG^6PLEW^Q>jQ9yiDyVo`(U&a!x5O8#g3HWI#_Ta?itJ z|GneHQ|fnA>36@#TX| zx2F#XR?+k*1l8ZD$|J#R9P`@VL{WpL9KTP_6w%Rk#GWm7S#Wkw**NEK5NM6si z)k}Wplt;WQ76yijeE zz`n0DE1Q3ROiV~pi#kF)$ZerrqT@@IJ2b)otv5AX0pv=$tm(dbi2BH5HW5tQI*S>F z&IH@Lg_fxwJxHm7sFRXn#@UOkNnkFE(mx&aHaWu45K` z0l-K8Q*K|C@Rw^O9r668nM@`KHkvnQF;=7ihzk&UDr(JGZH3~gJ zcE%D+YRjeDY0o^t$z;k|F6trkq~VjQ&b5v@fh5`aF&6YbaQ3W6|Fze`rz{YkAbyD~ zP+m+*iCfbHLO&IeD@49G{%{j?OOs(|?~5aFuMbcpNS*oPt7dG!t(<_P4lGcpEL5c5 zSh%Y)P2u@svdc)euKkW+@9Su>yhR&x^w`zW%?5v&8*dpu>vF0Pf$WWT`h^HBQ;A;&@B4mcf}A-2OpS)x+44ty2Pr4bv00IG-jVU zcL+YNZ5D{(XjM>pke1}E`NuRvF)hEa97g-lCgJdbP@YWVXakoU!W#hvtwUG198RpK z)6DV03fCQRc9aOOT>%(A_rSc3<`_{9HYkdVc zR$4Iv1-RKHX(Wr(-lND44aN8po=;^Gp_vGf&t&zsbj+Ro7W1ThwlXX`AR9EWLah04 z0hc5-wIQZL%#uB4>G>drpbhd@eDb{J11l65Xu~tIkO6E z;bGNF=8i_ItQI1lU)|fHtG|ojg@m?iPNbm~;`hd}J# zhSd8QcLj{*i2;&JC~R}e!C&xPcixB-5{}G}zDLKY8Ts~VbGFI8)|eh~cfSJx3011V z8Y>IEU{aWI%dZGrv4D_?Q=(<_PpEpGXdjYfBzp5Nc0A6QPE5K?1{To@GL5V0g4RHT zout3980ERHI3^NBoY6{=l^lC{va%WdDeTV5`~(hE<74^*=G2~(kM#g%wJ{qenrzW4 z)yLKd!?|cRuHO{HPJ}5TX}qJHH%zZXp;U$l!ISwgSRhBUDe5zLK|^$PbUaY75);5k z)bJ}H_iy{7kIRU7Sa1T^5sc(B) zPR#g&oFSW>5k_6<6}-pU7`1e)E8GX3M;K>)h|T``kbsOR8rapOzh5!)zUf$#0(5}} z{km8{sfV;+U;21CWrcIO;h30_R`!zLxw3dvRdN)rAA;Q&zR?&&lrcm|3FOR!z^9A* zO-H>SBE}-T4SGuT#|DjwsSrLv^TFmwL%Zm2>(L2b4A6wtW`XbW=XH9^F9OC#l8J8- zug}J_Xz_3Zs}8nQZ&+G{D4tomCLU9u363(9m|o{Q6n4A>Q1$B`1~tHQ1>uc@Ox|fw za6PJW`!WmGU61@#N*_BbZguu2c*EFa%9gepg(0UuH-Md#+o~w(wJ!$Dn)*7|v@#Z3 z7+31!PG2#Mi0h$l`vK7sIOLqXVTyT5@8}lA9*yfuV$61$XhyaZmFV1Bi|VxY)YO*_ zH)i{2)*e2i>Qqj(=>}tU&YRZc_i3jO&d z_L(s=`&`z8eZqe4_9!t=s^>&pgQ|5p{=z9JD2JRDmP^(dH>@Q>-Y;;TL6KV2 zSiqx~r#nvy&emOD#a=_4%LC3y5qUS=uZ><=mYe7*9rAryATfdvH|17G(3ID^YO|V+ zaGprxstEi`t1pYy8ImSbgMRD;tST()RE|f;t|)W=X5dUF)U}y)8lp>fxos;Mc`6fF zTd%V$3CwL^Nm}Jq?h^9JQd?ZUMW@fwM9QVs32uY;$?F|}fWk4ifun~l$gvr2cVHddlYa2d;Rlmfbj&BDD>(_l31cW=og#bHPB?U{0R-F~7Eb4G2zoDhfN) z>*YyZ{hq+ecSAz`MQlXrGU?}U{n-LT808lZc0e!DlM}pCt)7__uQ=Ch;$~+uf76ML2+icmo2Mk48zGmwpz)yPHNVl#ZbYE$#eAQU72ri? z=53Y&AxQ{}R9G$GgSF>?!S6e#wkoU;#%4J}jj6FZ#jHM4Ad{Rq^MF}gH#S{mQVkgj zRHHk8A$TWb?^*zPNjYlR0l&Q3O8vMj7lbcL>s4u5`#+vN29XNGYt&+29*f z7ZVpd12h)6&*mod1bBvRP;B{|bXm}e zj41@4akG{YV&gab+!nB=wd}j7`Xz&exs6Z${kMkK;e)uwF`rp%+Z-nJ)?H6IJ(f9B z+xnegIR+1uEgyQPyaI*YWGL1Qq_wrv0P==j$kPzipAxm;uXdhx&AT+jdC@`Dcuyg%pdst zYwUqflv7TyHWhcbTj8`y0{;l880aF0CtP9`d%cEywoVj=6v#vk0^#D-j+m-C8B zd|kWLJ4n`7(U4t3@4X&fd|mpZWJ$QH98k*p6O?2@QxBAetfr!{s2gPgRtv-e)0@$26H z&Omu^p_0i&51H*W3)WM{`9tEz)+Jbqg{kHtHuvbD~(&$4d1k>RmGAx~Ir}P+$`4Xd&agKq2bT$vMe9Vm)ix#*!fGTw&~kF>cCU zZoo-9ahs5fF7f$$E!2}eXF)F|p_NZui|}2f??=amP3W(Hcbh%0tlcvN{TQZ)h=#L< za_)GgAM_ei|0^lD!)GIt-K=q+AKYP8I3p;Gm9~m#+dqCcy4`;e>Iopz?ZSRQWEo8- zLbLjkHAcpni!6I;G_^GkS^UDbEo2bK{C%89KKzmC6UYKd1qoxky^Lfsoe#ZMTUT%F z1wm4v?3H~1iqD2s{g(@CraAm<*LR{6uM!mq4@OnDNvLodhGR|fkmbdP&*XeUm~lQC z&U(T!K=F`_-e9=G!$CX}`(Vu-DZ42qNx;TrwtW(fI=AMdJJNzO4r`Wi%U2uT(9xP` z9^$feAJCrSQBE*xDXLxznzc?dIGFzRxd-Edr~b7QspN)j^#FEk; zZ14C<`iHmqwsC`Jp!w`!d+9wc3i*b_71U7zG;1wMIIlPE)Kc>hQPdP^&-r1#R~fng zHG^`uJa>;=yeFedh{||U`AIw?9$R}7;NQVy3-9STi6lND*u6oE%tK_9U5K1Gg_T*z zc@c(!Qo_8rZx#_|%uD{Rh~_Jehb|>0^?S=a)Xa#zA9=5w^ysD}CCPzJ43wLdGmaax!KN9NPq>3aG+b zspRY1I4LF=RdU5Ho8(?2`5pa5|L4M2)g_}C?>+QplxuefA=&c7;A@A$mewD4j}luF zJI|#1L?FAq0>-YDa_O`t{ewrMRP>dC5yNSpW%n_{$L7C}c}qSD&eK(m%RZb?bPd2i zOffjs6wYHds(A_k(sdC3DKi`>!-I=<=C$M6Ji^`_#|BVHME7X#(!sy0<3b?q_SeTY z)LU=*I^^XB`q@_Ib1P10>at$c5Vd5QPa;s&V@FOq8^5Im&55j)(&Ca*xG*zmXsn0K zQYw=^NH~>YakBsjVI02^^6370F|a`XYfHD=Ma0XUfY)>CXEI@={N$0uqa9?GDi*R9 z9kU0TmPO)e5OZTGtw0<&NQd)Y((cGj^<`6onasVE zn9s!FV;r$Q3YMvcJO>!9`5PbhV_4 z9#J`unLBk+Bm`|Ca^lalwY&a?j6>`jrhV%AR$%18?}>?jLEG6zXMj!09M@nm`-tV} zPo8NbYzVPCJ(&2VIx~k+|KOO>lIfxux|3Xc+GvEhRbH(PYGza^;_!GW2Q>_mc%{bl z5ZvPYK^6nLKE$aNm?UK+QR)vuZniCG{8b$v)D7*D-klZMxitNK)+!tpAqQq6S6-@? zAzR)1XR|w(ZE7>cVBgi(lO=q7{>^|{L*@tQv{O4KdG)k~BMrNhD=40WmTxto%|8%{ z*53>s)Ttn*cIqYKB3)(5hHilD5B z;RJc0^1MY8W@!xO1s{&xTlu} z2jRjTe?R>6J__ZRlQ0(5;UA#I_|8F+vV0g|moOs}BsNc`O6AR4npL=Z1u#@E7cFZO z#F-o40-{|#sb{e@1|cPB&Cr_IjK&}6xG}X3>3|IyvTl}CXJf%}nVU<|mkUU7Muj#K zmusIA8~?foxkMO&Vj_7mlMkYd{x#u*RjZUJf5VL`{gP%|dXdC2$7QPB*^8w=e^Uie z449{5%oc~rXbPw`Rr+V59PuR$8LK(3cu4p^@`Z5C|3oR-(SF&le}hma|7)u=cg{?H z587vd@*p75q`#d1@3DiSbiiEz->=Evrso1v2PAFPI$1k#LLm0@)cG}A=+UsYwr+;X zr%Zm)7;B@z7OjX2`$?Ms*dE7VJM1f)e=bKyy7?QPs%49KRkf*f1MvtM;WGEG9kp>v z0ybnh7j$p?_b{mQ_x{U%AgMbtu}O9lfw7(aKVtAG*!X!EB+Iz~>w+krA>@A!M3p%D z;2Ax5Evj`37gT9^$i9BczfBm!XhZ-JXF4t~TNDnibC6_5*@|Cm;MDfHu6Rht^au^x z48j$i?Yp@McPPJyzYdce7I)yqdz&wmrI)NM1DIIoq>Bkb&O5&d+lR>IA=_YJD(0nX z-f%=)e~rDu0l>M)GSGE)T|PxZ|C?f< z`!xG=RR;BAyW=-WbMcjL#jnrm7ps}dJMTHY5!jGAkH7iW;TT_e8oS-3+%7F%{1U%# zcD|BP8)PzRfSWMf1VS}A?;HCZE46$qy&o&8y(_{9Ws$7;9R$5GNuqJPtM2C3V zo`XI8IEZiFoWZV5=|RkO9DsvgqSmpFp-1d`pDnMIDU4H@O^J)KW-f9|SvmKFY56(w<` z`0oRhN!zo#;AmpJiJJ1p4E$pQ6hObhXO@)}>i2IYi-$_iiUpV^2f7dNdW2!s^Spn@gcfMGl!}8wJQn%%e zOT%TdGq+q=anhP1VS8;1r;50a8eZN5+iMW%^-xmOB^k76Nj~^WFmJ&A!#@qi`Q9FH zLug%JtvB_~@CG&A6jKL;&c{I|32=gjq*guZQXfR=qfnS@rodWsg;tb6#-z(# z9?yBEndkp|bsLZ0+VHm_>K9A5otrBi4GyFxcV(by$d>D$GBhDr7-i2E|D?3`}W29*GT2iIE-WW(^lHO7fW@JsNI&RZv`@% zn`Bxcc?MIkHxuDYnop7B-JSJ9^#yQ!H-CkHyfSex_wgA~`D~gg7fdqAb+VVFKY#DL zJDzhRD&<(_Q%TtNX!rvEWYF=YW_?mmoZx1QW}gqTIuK8K-{qgetUiJ-7gpamrst$d zJn4c~g}_0Bl`*J6rKuf}|pO4i9_meGqvYR5~~ zl*=01lkWS97Xprsi|?zqE~(qT%F)F*0Uxl>4|aC-WCC)5Co12Yej9NeS6FiTWf_qR zB#Ks{*Q*M>7}zggz?kdV^KoF>kHheT&GuH2KH)fi)-23^A$XD+rGV5kQ1j;eTl?~B zq~x(p#uLiu*03wVhpx)m)uE1UfxYK6Zl-E(xL1%gy5nR~!B>|@VbnKy@^t-Pg0_EW z)&i~1T3IA3{7q-b?4=ESs7TMn4Z>wn#<<}l`!%tE0&FYEWGE_U(eDV8SO=Z3bki%r z#zf`}g?+y$s7)CF%8&Ju!6#?-GZFfyLyV`?Z$-|&(knSc9rP1h?NayC=J(Sh)8ky- zp?WI{BNnu=0$UfcIecXu2`tCb$0J=?A z`CYl2gyW;c9NLlj*znzr7$DiM>%`cJlhiIHG-24f+ftdoqRmM+OtT=!D&*!MO@1EN z(8|0#KIh66X2l#PC+LPBrefEs80?K_w!u9ctMNj(P{$wWfN|%#%(0LzQ`Rbzo?$R} zIDt*|M6-xOMa!As9U)Nv+lFc-0MTuvpt5CZkYZ$nis5sbwdz6U1U7N=CPdkbZkCnQ zKR_ShoqH-o@*H`?hk9?|Dw%XO7<$rda3bsDd)U%fr^U;Ve=}}$oI!gv;w=AEW>6;@ zdf4Uqlo}|oH;}hN$O9+cKM8+zCp6Be`}7PvTW*^>FJKYwgAm9Ue_^?N_`^}{{)y8X z|NYavKRJYn7N?OF_28UbbH5oc#AERY#pibTTAR*znv4w{-MIHt@cS(3+5G4%!JcfT znIMnAI}}}3WbI83t(9Cg$7TK2Aqo0&uPku^CRK#lCHfy)*e6eN;!mt36&FMc9~X+2 zD)julO%52~!PRsQyQ80R1n2-xpnc$xx!!Ia(mq2gl7Q@?sQ}N4k5Gls+}_Xgrt5CX z|DP3boRzaroFd7GBc6CWmNQE%)h^6ak)&)33UKcG+&8Z2dF!T^T_T=8d<8lZH<;cA zXZfbJusA&Wp_UI{+NfDJO)Zh00pm2ylNua$LykFJ$c9IFt~6#(lBnlL-XMSr_gvj= zBGS+QSc>(k>Go>8I7yIdvn|lXE8$xeJyt|KZ!nr*Z9OE_^m={Zd3xr)($HG)+-2_i zO8<;X)^=i$XCLZ6Vtb{dRQ2=%d__g>cfzo{)J|L5EzeL~ihL zl2s+@JcN*C?hkP4<&SW|zF@!yabLvr-jHwji($JG9Pf@^biPJS_RRWU!6G}JJG%*4 zg~Dmq@2nE4sK_eXyqG32JK`jUYO^;^DIEJnWOE{r_nigXZe8$drWyyDetbl6Txbk5 zP~c9tB5_sBRM`u*8*eL?Lfv6nPI6tZsrWYmV9@BZl&5y+e6^WFYVSxKeplI$Y+{?lksRMz-A*OIR!Uw9cHG z2#5(iNH2-EFc|jhAA4`tY%Z#4yenGq;RT<_>}zXC8A+mD8! zmGOJ!ApnwOkMhLffV+_dNV7+MhADwiv1Cx@OIP)pBjZA#T%*%48|EZ0b^L1&Due)j z?Qfh40rsn&j-3T-4&ps@)ZWXF&g|kcL zjOPP1X-HThzMX7w>kAai_NvhS*DM9Q&~x=#BG%P&EQ~9?Z5?(& z&Df=dupK{U2b^fo&!wLuFlu>*8R9D`&4&AXuJua8q+eO++W8<_6}!XCI`@FvxA;nG`UBX(IyuvEq zB2jL}WhC6V+l*P?IZP}vX={$BuF&BMQTo76#_p>d%c*Q;?@Q|K zwbLJ|g1dEhG|oS1`e60NbRpJ#${4GAl!rn>UGY1jT*0`J6>Mg`rO6H)88f%9lXX7H ze}b7P!90!a`}a@i`3tXQJG$>!l( ze?H8(cgax~PC^M`^)Pf0To;pGPgyMqiNz(%jxzbgDFhhC{amaA zbD_IaV+U?Fi@NQlo#-j%sLc_WEY!w%UlUkZEr9e=~Cfye}iAi3{TPib5LMaP%tgNp!p+e=R z_9_JkJ?Q6g3Bi?!%ZB2gBuvuLQ`jz`@=Yyyp9FU^Y~@9hWvY4{xYZ<#)3xA;8BAlh~xc{U(Hx1{OABsGs}oa(6l2eK5;PT=6L##c-&ql@n~R;A)cD=@+fD(&3jviM)0!1@^8)AljCO z9foK$7*}{}e7}971CQJ_T3Igxj2Ph1!=0d_ZihyW2)G4Q;+zfuZ_3U{bGEV1xH;7G{u$ZHY}E zWxHIJb5z>{2s3-@#4cB3bl4Q)c$y-?+wGO zEW+N|HmN~x&ow%CDK}EmVD@}2@m0GJFnixEr8$X1_!d()lxqJP;p7qTe!l+F5B9tH z&ZQSW-{^hBNmr}m7xD1#4saU3-qx4Ud#V_(#<^Akw^k5tIFU?m#JC6+$XQECT4F7X zkT9N}2EOjVe4V^(X|0zqyh}hg7PF1KXZ_8P>Cs<@8{U zxZE|H&q!^CkKB3(FJMbM!R7P4W-ie^>rSNZ^yOj1SINs#ojM--lDEe8hz^o*W_@R3 zFBHO?;Hmt*$@9D=ycdPh1hebD_~EU{b;a_(^&71Xl;0bLBPDycLoC?EK{s#&*cZ!< zf&tzxUjYxnfzSF1Uz$EdY|dJlrV)*>{Du^lSxQ zLErn%G^k;Aa25fJH?qen^1D9Q(ahtVe0%$B)sbu)Rlem>AdcVgeGSmEfW} zkf&u2(%of!k&Ezgq$yK42G>{TGGUfjnWf*+YmZ*wBCt+;s!|g}jUtLguZ2IW)PfYc ziXAo`KPR^PJ+r&f(T!x6WNw#t@i`lS&K zTQwQarAe@V34fLg!NM#Y#^X%O91Tn*NUVe6?a7rifjEW^v&?6TBz8gC4k0UV4g`i8 z3r=+JgFN3TUs(obPb~5b@`h3`$Xf>PYb3Iy!>a*zR#^#lG9?3Oj3xx+4TT8+j>50D zcwx)D%2{`T*!O0B8zsZN^=pie>%Gk>BXk%^W)SK${Q1zf`D3@@Pew|O<+iML!vq_9 zzg@NEnJAT6cG?oXP0jE&8(Dd2rCo1lK9w^*yoGhPB|$+dPVGQjdWAMyQiH~@FGKCg z=3*jWNNOu~W>6-r-G3MI0Kg100rtnn)QhL9XEHux2%P14$IEv(ixy!!s z&WZqQwZD&pj@0-Q5UZYmx>F9-&9Z$JP8&LWZ^=SP^YKkFYc%v}8+Pb4ShUs?#;pPw z0{n^#A@33(Wfsh{H*As^ZFqE!I+4#i6Y~_T5FTPX*kq!(`we6!cS?$fyF74g?SoRb z9RR8_e9W2Qe=V=DhPvCFcDt99Fgytg5wi`i-4YCP3&X%_Cxa7U!TcuiKT02Ja4ODU ziULYl;m!Z;%P78|Q|hq zqQiCPXIoF(Qz%fwu1RLrJCD>6+vGe5(vOD`O4SjBsGJA;3alXce zceu`aoqNBhcl=7Vi+OInr7(ki>+MqS4gNWERTHh%grqkej>`;GyWCdB;eKsb^^_~8 zt1iv^TNh(}3*14IFE6QI*7EP+WYx9pn=JX|&TRXzFZ-RMP32S2pkhOnQgi#fRxWO4 zvEF+n|BgG&-RF0^giAdFvO65K)GBA`zw)&;7CsArD@ctBpxeU_O@nO@cM~%_e`tcU z))7T^%~n0D73Y6`IHdL?>iMrQ$?HN-75#pTy$$s=StRESnVdB*>3-&F+w_6^&vyz^1a;kHM>8rt9FU|jnmO{HY@O5vg)dQcFc5Ef`8Ha)bGG)PljZd+Y@q4 zZukk;-39INGi^8Q?`P zId;H-;jiVnzu%;0wzn-S{qU?*edDSzCGdmEX={SJrO1*flln;HzrKe48cikLEwyI{WI*gsdy8gBzvN z)=jVKiG3SvxQK7@Wu^PTwscF5wzXP;j&-THre;$tc-`L%xIPz@JFbX^#*3_eRC)8Ve8nOE zUT)KAz|FOC-T&E{KF;a;&3BxmAK2GnyB_Giv+&AQMg8A941L61?(xdnW`#Mo-S)Yh zYs}+zVB_^f=~c=idXv2_h}lSAy0`q++h%jI@RsMT`?oDz!f&OJZtN2OE_;dg!hb6d zm&crhS$(c44!i{wvfSyrl9R8|!`7w`>%|c;G7HWfc#TGYppqTmw${naF^KuH}`_-Tj_3&9PMM=gJ#@+TPuDThX_| zJfA<}O!fU=Jl`%FzIr=zn|qH#+v*J-b#u+O-CX2<{O0zz5e)vjk1s#M_VjA(R9(j@Rqtod==Qt(O0VOM^tG>de)(5LTYQyg ze{_1W7=yfJe!cvm6(+x2793i6M1I*@A06xCxyCcYK}$FpBBWC8weK@CVBM%0vPGio z!!+=YBZdtkD}F7y5i?=;T$cs$$MYaV`UyJ&mdjN+hDdZA-~*oQ1Of?~!TVtgR|A&A jhQ}E=VLL)fxi9`_uh*-;xcag0E06|HS3j3^P6+}TOoUmvLy*wC(PI?$}nYLB4o+fN3!oi7`{ldjV=4W@04AbtYZn; zX3CNnGmJ63eSg3A@Ap0DxzBU&=iWc=bI-l^+;d~$dXHEx@m&G{04zG%TF(Fg+LFKg z9Y*@UcPahj_P-Ae^4TK|K-IXwufM_tM|GGw08pFAbZP_qD_```HbVjctiAsd&7gb9 zO8|gVR7XqQ(AR1=TOTDN&mN6u?0pAgdL^6=xA3^&quq0HjyZm=VVYem_ft_o zZ~mvZK=#GET#ThSKoDSjUv#%78|4uxl!YN%k;+X2!$-W|t|wkQGwLea3OS{$>+7S| zmHs_QPRrc;|K+2<0L%Uty!HQpwx+qk1WLiwiaSIlD5Wd-1Ph(O8kb~0VaK0QBBl&* z%at+`7~ApSlNYUBt}Gprrn6t=u>?)qBckPg62f^Hw){~-#n*EezX>^8 zKU{Vk?WEhU2A#d}KU%Dw56C=TBmW{&mwx@?9_?h>r;9$>;8{QRd!*j~^Um92aQzm!gXmO)BKWuLnNtJ|ucA5l=l{9PG#& z#j3WAU@}*rHiI()1&@NgPIkxE2w+;`Z7P2F*93+?YUM+B&azofrQe~5?D*rRqxHBc z%6ICmLa}$#gWXxb_d>uyn5Fj1CLAR$JNkN3d)y&>tCz6WkgCBKKb9|Xn{*7s@9vZ9 z+a0PXCi)AtPd!ZRTCzw3eSwBYx4vgZ%7pP{(zuytUbtLgL8j*L|x#y=o`o2&RTHX znk+qL`7C#5}*ez@RtVJm#hCur$jQD+xgErFjp@vC|7 z5AhaUlTK&lBVG2uz+CJYoW1oBMxWsr1~C~Z#-$A!!Kz%l{&-sPM6-(A$7(G7Jf2$= zX!JQg{gJrFqg*=kHv%-ZTMoEapYgcnE5u$w#_LH45LVI{Q^jYGP%vdO*LWs;5Z$sp8$O0eir zn5!+6JhF@AI|5Uq2kuTkVdxX2c>0~(>I~w@Sn+|b zq66?nIsytwJPL};odgj{uMe38<}Z;8oQ9C#mCaSnnO6kM9d zjosok@hXp3$A03Wqyuli>3P5HWWdBC{dxWsP^k68KyORiKlq3S|0ZY4PvS-Nsr-sL zQn3bGQhsmkRA0=JSIsx|Ya%klK7d3~9=p}fy75dP+h?%0qdPv&Shwdk`9xM)HHC9G zJdI(^Jp*!_?P-qve*?noY3?;dp6|0CArv;=H-*YzBA+9iW0s!9z4B4m4V&KEqTWvj z{j;H8o87f6sz)d8P};1ODr1higP3`2vT;%4DcP5Ls#y0htj&zEIPrA>Ao3h^^#<_a zVS`3RPIVi}`5FiM;+HBFZ1ADL1HPkuIkA@ywj6()i~PeIg}A)ZA8k|<^k+W=xc`-G0fC%uTP$V69%mk*Re(aZrm=OYR{S%}>zx z$yuDZ>?bNr^A&kM&3Bj6tGsdd+i64e6<~%mNckwsP%7?P*Xmb!ReWf=iGl2}G5w-I z!t)VA_*Q*w(boNj&2J6*EPgpn#xpI>_x)HcON#t=n#@P*WYaVO{>Ic%r(n(zzO`MH zO>JI$9$2%de#^X(z2D)H?mgR7s*@`9`>#~%dkv=^Dm9?Kcq9V{-&oHx#Gw`#=C9~srKT%14{GVmZ+JIXB^7dAx%X zny;7Ju$Oc?$lruNP=2jB6b*A$`W);cXgehc8~E1nInf>!dYtX$9QaBA`=e#9wHL?= z9LZo<)?=A-aRp2(wpwv1OAoja;^}N{VXry?yB|{%*C?htUV2=H=t_B`**ux(q9ErX zLPuj+pV7n^vNu@X$PQY-#kk$YGh_p>?d=@S0jY5JRKHhYLqBTIzGu88dBtA0`aB(5 z#zJ)!qwWSDw@Ilrf@r?AM5@7(67l>rb3i85$6N}hi{SX%@YtWvuV~c)Wk}|^qR_R$ zmBtqV-?>XRgw9Ic;q@ysj}BD#&Abr25mkGl@I0CyMNPK%k8i3fBT|?#XJmup`zqF| zvQI}j&z}*t6ni-BoXs20Pt_y%Au4gyJn~bvikAjuG!HSz6;=|o7b^!KxZW2Oo%NO- zB5Ch*sz~tw%PNZi?W_sljagF;tX7!6k0nq9BcMEEm_Us;7p$P<=c9WC_Po01iwh{v z9f_a1)4T)b2L)otl2E|+BAUQCtes$%&uZ}v}XqKkpVKK_ZsXP3X9dm=-c0G7?&p{bg$8>>Vx zWH1Nbxqtz-3mPJkS28ZTs=d|ZB6ANeW^g9FkGnQFtf-#>qDt4uZAIR|1StpRtbSV! zG<2Cf5yZ`S%TD;95P~GP9BxB2gY)B_?eR2Cw@QU=H}Acg(RUJgn;-3pGq!3Mon^kV zGGz9qvz3a{k!1k2>a1qgZ)++(Ax|)*#t~ccg90V`K8MSZMQC!vC9|~75c}Zs;Xr4Xd)X|b@;9nzEOt8l>Qz1rMi#XNJ_qqk(BD^k7Ey{{@fiAo9SsY0$~5Cw zmZL1Et8kC&`?JoQ;}F67T7;*V`hM08KO$RK5yY`UbOl#P?}E0Tf))0bk4MRqe4mfi zul+4l9-C{o!Kt$<@4lwu{Sa4stA*q-sjC0&Q+__TbXg4`{+?!pg2|1p?xWY~zI+Wb z@7OYD%e2@dmYS2y7`v2I>pHH&@;`8({s;jxj^!>*k9GHVvq$N(gP-b(Yt)6E*0Jid z8)(0fTuVDkHZ;j~INwqXSm;+c3P68Us3YjgmaTq*kXH=Qfc;$sbP* z!{_cf*mH+n$_zME_VMR2-`Su;UQ6L)dX>EWIU_e=&||3S%m@aaN8oI5=KSQxi$A>t zVw1{$3b~$@PNdc9GM9e5nI2L70UzVcKw-DL38^Q?N(bXL>!iDjxEB096^L^%zowIl z=`VGx^PXcobzNVA_&$I!_-Z2yOaB}x^QoBY?N)I;WS>KUNw74cBJK3nhJOL%*>gu^ zPw&80GvrHN1Ncc|lkp?KL3bMXW zd$p_FZG{na@9X%!Qkq)lk_w0kL$GgonbTP`t~EKh=^mxMd&>BkXK^`ciJlEi3YrMf z8My*p;5Quf6u<)vyP5l!p^P}|X)jjPpLP1kW|&sH+G~No%0W-oD5ig{{xyWR{NG^z zgA2DQ(Kha(7767^=S~MGndLxM%tqxX8`W-c66D)uYw3A55%S9+@^hyqbzT;_WBK^* z^<*e&U4Sk{Eh>Z_VSmat=^P@a+s1}Xq%e2{cy5MBhPyW$qPdjO*Svgb!WJ+$=vk{& zsWjGGjn`|A2X3CV_X(LE*kM-fbpn2jhMc%1wpnO>Gs_Z(kCF3Mn0aso$a$~Y6~4tO z5MlncTXn%}QzZ$L(l?v|#Ot=WOW)>nYZaR!J1htWJ2O7H#=bf4RcBL?{I_W3CGXVT z(xl^kZs=Lhd@gJ1L2aQmij`30^+%H(`^WJQk*0uJ!hzY)lCF()?*_aqFG`$tCK*&p z!WN0at1aGSGPVh1LCu4I@Fu6!;8L?DTPs>?W)NAOr?Ea;^%AjS9r`c!zIXexB3_rP zeX2puhaM{e-r{4y51Jkwq*#x@`DsT_Q3g|2OLlElBYxYavYNI8zx4d% zdT;2))CC9mFJE?X((L_KJajM*v~Q%q!*c}zg_H|rIsb7*3SMpYrkt^jvjVzwdaHF; z4Sx^+itN&J~OwIhqamL)gKK*uBUh2RWP zFw4|VAOll!v!Yw|8yTW1>Ec2ZSOLoS2Z4gDv+<@Z5zEXbL6azx&xN0s-1NY zFXa-~w--Q~W(2YpQbj7!Of#w)0UCt|$`DYO9t1Bl{YEnSu#2-Dr(gI1y-^I;jJ(HP zf%X60u+07EJJo-ztp84kxj&eHs5tiNN@%hs&ML3M2$!SHZ=Ds_w}^ujY%(}=t~VZY z4@x6?J#W7Z8(}QH+baHA;X}vqC%Pu{!&O9_{^%EX1zS?1V}M{VxatIQ+$RrwQV?So zj5e@Y9l@5S$w_`o5E&13uJVwPQa0P4`$s2&ESkI88GLdHdwfp*EZ3qwQ0fZ zC;rhvK)*55>O%Plng;z<)r~4#G}AeXIZh!3WTPFdH1%sXlfJLpHXj#QCK^KG8Wl&Q zy5BbTVe9uW73QM{#Uk^zSfTZ8-gxqR8juwxHdyo&cvR=oMZpl0gpCkU_n~%NC`;~G zb}ow^hz>FhD|fK49Nt6ql&qevB4q05xtypxiylhJMcTN@L2bxSmiMYjeWvys5tS+E z-<@ii)r|XWxTdOvtMiUuPktS{RR+AV{sWPNl&gMD>%A)OQvi+93ofJBR|~Z_wT@uL z(`NB}^Jufi^i4J(sk@;o#XVcKDtQ(@u*M;ZWv2|0D)}^XHs%bzk9O=R-GzFy^{Ms@A$$pbg5(ez`N=30w^(GeRM zpF|%JmY94RyZy*5W=y?Xa5D*aQ;qO>GkTyZ@gJ`_TpoYGKuxr+&sMFAq;NOKfcYQt zt6Iu;YbdXHRpsmEow$LfS&p~Zdd~I<^d)g9XU$W5uY!pmtEz+$S+<<3{^Lh_QOE=zpF=c{4(`C?`#E5juH($G)0wFbO@9_@WD~u6Ai%=trU^M*%e2i=iRQZjwT$0iFxS^A zdxco>G`~+P4|@1TW04vAEsCW?E(hTDZZc1e$4vl$4K-c660sn06&aJ+EkcUCVVsgpn}Uupq{LTpQCsN>AcS>`^p^1w zWm0saD#V0RLAqeUYEn3ta3)yTCMy_blgYFxp}K;OJNl3396A^atl$cRB0Jt{z3wtn zJ!qG7CG=|$l$5ajag?TUJ8ZqU(I@Nr^RNtV39NSp(8cXS!z&%^9TuU4QhbA4gOY<` z?mgs{mKNjO8y>K?5C&^0q!G4-J`$a>!<10+E$&IzBkGl)hkmn&g$=mN!JKg>D5jnC z95jWK9yG#Z*pxp9xB`ShoKgOxq1m+K`a!PQLJ`=ON-pp2si1s{iv^TZ z01IClR%)@vUmoN{=n(|Ef0G%UzzzLwe~QCO1L~W&GBUQ1jpQ=YyB2GU5QiCC6x92g z-GNf8l`xj6pTXgIS^&^blDMN~3%PBvz=znGvt?@tUhhcUC>E@+PcQHMt;9|r*2d;p z`LCT!v54SHr>Yt2!6ofWHcD{SlE#hfDQ{~lM=0{u^*>uVKhTcN|Qf7gfrodN-iCR#E# zV<{?RG&6WII72c9cDr%WlJ+< zQaNx~HDzZPWqJ-}dKY+R7k6YeOjA`+TVq#YXKz_bcW6>IC0ZGc;4msoIs zTYscxWszrigMDv`dSjY*eSvs?q-0#gC4#Ibg1HZZ&km^NERoY8oZu#+%OCv}%Hre1nB+jHY0Zv0{|AeS*1snXGx0vt_5bc%r0uqP#+!*;%RHO1bM`nZaeT z-+80SeYwkhx!iBF;(6Hkk}x%^GB|@rDT+llgOt;fj8&d<=t-^izrc`ThL>0000000{m75eOVe zu%N+%2ook8z_6jihY%x5oJg^v#fum-YTU@NqsNW~LW&$ovZTqAC{wCj$+D%(mnJ{T zoJq5$&6_xL>fFh*r_Y~2c`6)Av?#)$NRujE>Jz5Zr%b=XiZ&SB`0}F=gx3J;Eh!Z2$%Q&p! z$B-iqo=mwi$;g;9Yu?OxW8=?5JBz++xwL7wqf@J1%{ngV*9Tk6?s~emZNjs2>)y>< zChXq>dkY78ySQptE*m&-=Fn*#pH4kw^y}EO_jUeTyLXG#!~PflPQJW(rrcql zUoXD>>GkmA=X~Hx#2R+^*`-spf#w2d`2{E-Ie*NhR|8knqTqrIjxs}IGBHp>2_zUG z-)Qb-SlNXfcDT_4(S#!c6$(Ow-zxpdgvU1w)&dPVE&dXY2Xf_wV2e1`;vi!l1#w9x zKxSeIBZz6@N<^Bp62eXrz#<5SPeCwDGgMYdr74t=(a$T@C9#T0a4gc2hh&!dPzDR; zvQ0Qk4q!((R&0Z!OwP>mkR9GU)CHS0juk-~qkwP_nhQRdS4T!*0;DCBDC!7BNw(RL zCr29D&;+m?$&e_pbP9_k3~AzNrVKUtWJ9Jp#A&BWHe@M8{*f~2q(ukZz{w|utkBU7 zpKzjULoa;t$*(;@C8d>CVtG;+{WRN;I#6lJC3Sc7LkmgOUi+4r+;T_&8v?R}P9F@t z8Nv~Arr1%PcjoEPo|2-K*Pnq7T1zB5C}^ly969i#C5>1}KoC4ogz2fJ&iZPTpbk(2 zEQz41>8k^Xa%8Hg&gwA4u4+s%O`=3x5ylkpO2`X`aFPN?ynb>+LkAQhEU`S9CT&Pz zoRd;E_w*4G8Ta_1VYVU>J!ZE^!&k&MiZJwTI*2r6?f~d6@)5fZ;i)H|uK5Y5pa!8C z2?F`nvaeAb83E)Y7G@+$!wl8X>Z@-vG(jxnBB|;A0C)F6@&KteDRM({FZuCIAzSo! zLYaz{$(NK3);8oLC-t=EMGE?37g^vJyAYw#2i~1pqDd(AE}U^wCMjP9D4r z6>&|}QVVFOM_5bkZbP(pEf&3C7lh_0KKPJ^jxzAOQ4~M|vQgoaHf$-S)lWpRseh+> z_@)sXiD{>&Qv7hIgO3kOD>RH6zNdo&?&PX)JJh)4DR5GVLnuRDvdf=%0Yh$Z2tsu3 zFHSjD=tkEwlW@aXuK)r)oOKU*P|y#mOWi%F;VfB*Bpc2$$Ce5pK?t&?TJ~t&OJv7F z?<@^>0(l4nazMizJY#q3!eP07$B^K`WnTVYvloueMih>40Z0YX2*xm`307b)VF-iO z-ul+PS$U#<*%Otf9`>YHQBQCiJ5?u^lsJdAY69_V65jZxv4@!K1v1-T<@`4hUZIQ- z18Ce0ctx|Fm_`Wn2pUPav5udO@N_>Dqy~kir3Ug$XpbxaAV)~ZkYHn4YXM>DR@lN$ zM(11l83Y?jL6P2Z#FTF0;Q)Ndkp#TK7$0Cr0^ER#6fHm(we-zUZq%ZB8Dxev%t3;P z7@Frrk0V!%+ulUgMhUEOQ>-$arWhu_D5lC2@pBcZV#SbT(hXsjDx<1I_PvA+E}0NH zfB`>22>lI!1Gf^EuqYQ1KH4e;FaGcqA3YZ(&>^cC$~wsd6&VIaN)TFzTx22{IYLR& zLl%JaAkMaQ(7>Qjg)Z@=MwvqZDU1RJTAK(eHG;~J0*`AQSsFV;b_D$34hf;uWkPt_ z%i<|yn9kFP+A_hm>9q=*u5yJYp1C;cF%x}IbjUTa*v)P3Z2*?CRFg)PDQD(woC#}V z#t??iiAe5c2H*e(P?iD?&=DehlpGujQL6(MtDpb8(&+l(K`l9}SqN>QLKT`phsvU$ zt1AGrxYWqNs)cB;+tx-Gs~nR?WTY7>sVZ5y5m&-embA1bF4fhMp=h8MkRS;0ih@(e zY{Xwe3fKS!RTSWNTZcsTV$VcXa2rC~@maHtU6sf_ z=Xkkc#f%f25a4p(YMavm4Rs?)XkRnf*N6gEB!m56KNLBY*CiG?j7_g_919W1VnniA zi`Q8^3tG_zktn4_TiO&Qq()`pQ5MmJBx>-~S9zjU)FYg2BT_d7FR7>tCT{pNMO)rJ zq{0J8F3FPHkQUqk1-xP_|1`Hb0Xk%#!7>B~1~A>4!PQF42!u;i7haNRSCQORq<85m zlADPnqEtEWc~PR?BJYO14{`5B;QKC=%1a@i4edZii(j+lbR#|rl8}gGkqNW{6j7v@ zD1I7TqwY40<|G{c$3o??PlalYuNrFJZ15y5GGvSyZrCRB=1nDSn5hG3!L25D);z8l zSSog7=io`X7W?tVRf=&+w6Qt~7E*$GrSx8Foa5C2nHz$fWCY#eGaygJOJEX{VvWq| z)gaj+O121-Pby!t&{xU=q4H4jTa*Y*s6uXQRcsTsM)i>|RA*+Rr=lo7PZe0Goq8t4 zj=Hz=xmnqXII8vhj9fr(gb;ZAifJC`tWA~>uOTU60|$yhL3a0{AtCn$DLTPsNt8OR z&bMk_-H=#UWY#@&@_eCO-zndB*H$(yb_9GO4Y{Sp8Pd1JJHu~=_?seZD9152zVT|L zgX10d250^Uo{%Wp*Ov$?*I@*{HL-1_7;O$e`x7@hMmn>|m5 z3J5#+^sBr5?Kb(k!BL)cm6HYTh)KKNse<>u`yC^4KRVsTuJm62y)b)EJZ=up_{Ikw z0lKdHl^b6d#ao_}l+QfgAI|_1;XFr?=)mMPAD7FUekG(&{nZ~Ykg|P#L6HbM*;QZq z)7w5Kw9kFMS&xv&??v}$xxMg50{r5um-h$p{h^Fsmf<^}`Oxqvt+TvM+q`o1aYH2Rmraj}`LYp8fET&rmL~yw|rV^y`oRQrvHQ{rjIh zM1cYIXMgu1dZ5972$+BhxPT1UfDZV85U3&P@fs0Wffjgy7?^Jr|v4vtGhGuw% zXqbjqNQPmdhHm(Va2SU&$c9EChjw^}c$kL}NQXtChkp2nfEb8+$A?5Ah=zEG{)m`} zltG9?p@@$7h>#eGDZz*eA&HiFiI^COl$a2i*omI_iD68Rdz zRFM`*L*5vWwK$Ly*^wUkks$ez7detOl#yy7kQ&K{IZz8Z@Pj#!JRuqWlQKDzG>MWY zxsfSZ5G%PLK9C+O*^)K*l08|IL|K$Zd6dr4kZeeeD>;-e>60u88%-$?LWz`Cd6ih{ zkR(ZxCP@`G>6HcnlR+7k6j=*SDVAB8mTI|{@wk;2*_C66lQ&rqK0uaqxgbEflV;hH zLRptRsh2F-lstJ5b*UgjS(s*t0ElUp4B`V-DVT;i5PF$BhdG#Rd6}4*ncS$9WXP0t z36ujNmY=DZd6p(6oC5KhwyBuX>6>SHooN1fo1lrC*%_VK37)b! zov~?`#Ce|RnV!JmmTy^y9N8ERumf7aAd%1m1~`T9*_`FsB9&>FG$fYQNtLL%oxX{h zIP#Z?d7Iz)lj13zrrDe78KDw7p%fWRWtg91!2qs@Bcsp*N{FFh$&%wKnF&gr07{?? zs-Vpon9!+{32K{Uizh%$(|PJqfo&Z43HqB&^!mB1IvSJ z?wOOJ*`1C#rPFzue7Tp^$(u@=rP^7V<=Lcu8k!3lrT)B`n4;ODV4A3kdX!>1o55(zAz5cF3IIB=nGI-QLvnTXk+l=+|1IhlJ3o~~(`iixU)iJ*Iln|vyuhN-1I z37U&qtF|hkoH-Emm!?E`y05cH?6kh-Y}JFyg7vDP|vMYpXH z+pQJbu^!v6`I;|onh?yIsq4y|ADgl&JFfZq{wIZp5c$%uzzT{qTeCLXgp3ihF`y6v z__7Lnvp^fPLVJUZaU-L^12EgBM>@1j+q6y_f;mf{JYawfpab(+3r4D`PrJ2T+qDX) z7lgtCJ1~H~gtYkSwP>5RYHN9Ukpau&p$MR%S8JG4>#u8jw|JYk)G-#93bzxew}2bC zf;$;v(E#%~vfMGaio3Xs>l9&eBlxF|jXSxNTe$^b6wC^-l54q~+qrpb6eL2aN$9zx zTe@Cb6gn$~rn|bVE3}fTFI(8UvP-%{P`kE!ySSUXy1To)+q=H|yTBW~!aKagi@WyN zvu3Nhv%9>NTfENuywDrH(mTDri;p}0;J3=lyxP0C)Z4w@`@P^Rz4`is+grYa8@}k9 zzUrI4<6DE~`@VX+zVbW2^gF!mySeb2zi3;({M*0&d%qv3zXI&F{#(EX%)SdthXcI8 zPkX=){J`Ryz)Q)%6fCq5e8CtTya4>S72Lr#o53I)!p1AXo$0|Q{D~q=zhKZ0=a9nH zOTw{x!ZM7Bx61_ec31pR2^nm|6!g3++`{3z!p>3;-@C!-F~dkKiM!hk_aMSQT)Rv# z54~FkISj@00L1EB2L132wF?IDP{c5ty*cOw^AHM2e8$zW#7!K+e6YsAOT{`o1U8Jt z>DvuNjKC5rilzY!z(5jwd>a1Qunr?25?%mrA@Kv1#1dp|#%SEg#i7QwJIA)m2mFu) zHe3%AbPiN(4bDQxk$l5kJOrEE$+=6(ag4j&;4EC6%FV(L>_$Z4AVm(%QfA*sa(Y{ z-Nrr5!d6Vg;=H@doRkyo#}usvRYK7|5Y-_u)wMt+Ip7qCe9b~I56e)-ArZ(SF$VZh z)`C3N_W%vn+y-C`NIiqdWql839LQvi4|4rMWsMK_R@c@%$c1dyA)Uk{&C}xi(>4vx z@=V86oCR=<*t^RI{XoQ8d{>cu*eadVG=0TjaL_s3&!@b^MorX`ywAu?#CFWPOAQ=* zY|$a{$5ZVC1&{-{Pynx802FWxeLU62Kmk#q2WLG7>+l5JAPxn9$i%G&cU=I8MAp~5 z$XgxO*PI7){%y@6f!t>71>k_zW^CQXeGMb9&Cea!GCbH z4L;RcAQjsz*1rASWt`1GCe4gY#>7BKgKXS3cGkr`+$0fE*&Noyjn*A4-W5#V$L!1J zZM*dC$-&&qO?>0MtI+$6yF6~+mOaN$%-%n~-tb+;-EamqRryA91EA?r~g&D9|6 z*?`F&#NqI!<^{0GF^A3YCg*--YASBXbFS=2?7~ib+t|-8MjTU@Jy) zxcaj1y{-SDuz&kSIQzOE!IOWFxc~dWU;Aep{KQ}UFtMD*pZv;C63D;&&i-%w&Hwz; z|NGHD{nn5AVWFY*7YS;5#Ml4*xR1F(x*)vj{Rp_{=%4=Tzy9ps{_g+&@X!9>KmR3Y z6x!N6op&$4I`!W>;X;ND9X^B@QKG>D6)j%Gm{Fs{E45|} zY|!!JM1>knoD0tPz*gBX~$*5buICiaCKS@LAcl`UV!oOz`~#f)o>{u(LJ@TeX+d@K(A zQ1fcmtzEx{9a}c#hlLpnCb)D|jDdzDNt_*A_;BLIjUOi-F+*U3%YP4yz!Wh=kjjyUI8uyk^r?o4I=b2C$|2ai z34j2u#Wq`Qx8=55Z@&dMTye)Gw_J12MK@h_*JZa|ci)9KUU}!Gw_bbi#W!Dl_vLq8 z0EA`8x9J2%z|I)?$cNb`=%FWCB&oGY0Es82xMGVh#yDe*H|Drwk3R-EWRXWExnz@1 zMmc4bS7y0omtTfCW|?QExn`ShMj2p*8VE8p#XkPRa^Yr~;KSh~A&xU?rI%(}MTT^9 zY9Oe9zEbFejW!bLrnlz0Yp+>Ssv{ggx?(~Ef~IHaqOsKaYq#HqTWN6+VcfEMy)q|a&GiNt) z&B-B?gP9R3dO(=zz3P1>;w#!7rtXgiKm6m8C&=^JM}HNvGjxwD``=f;=zEvs7r%b{ zUn5_6*^zXr$Gy(BE~da9EH?ovTO30j1Lxbs~C3)qZQ zAnw>yh;Pk0T?od;7`5dh|ne)of63@ekrf>dA#2AdK3{8twcUJoMxgrDg; zXgb|du!zHeUj$Ky!X+LMh#nkbGeX!v)b$R4z9V1<;|ISIt}c5&=tTjtN5ItqP>W}1 z1{YjFm_%8`-5lcX4>mq$kO(T{-yWC!IC$|H>OfCV^Y_F6eT zMLN=!6x8Ac4Jf@;Hd2$n1m;*c{+U0>xDS*UnI$Q&XG-`T5|*g!rA3nY%2*zdfQYze zMoh@X7EUmL+6?6jgE>xe9%Y#1gUlc6NXG&c@|BQeW-8@bNq1rqm3cJA5!flhPhJrt zBmAD~NT|+o7Sy0cIcM@B1H^$^?}>=4;yX(j!c*oFl@FCAHShV#9|(gNp|r?DExEfS z_-=%H6eB4RdB!vz)TJ-&PC}(JnFtzCi!H>U2Ym-miZ&CK&%EgdUunpV3NU&;#E34r zh{80Ikg1Hk9S6k;Q>s>VGctt>j;3l=u6DI5Sj}pR{OMJ)mend?9Z`xZX;!wj6)0$} zQ0b(IRJYdEt~Y_}dG5OYSH8+EuQuvyUHrBD2TP#B!s}~={ zBOW{0fn|LVnH*FDANZ)nWT_fi$%+;yJ7`8cK8ufL{G_t)z^rCz(hPjWW3xKR>}v7B zj@zDuw(m$r8ch3A($;RcGpU7Ycgv1=uwy8hwe3uDi;rXMB)7;whH5W+5(Y3=3&$mH zai0fXm{b-Y$e_ScpxaxR?1Ht;%>iy@n*(-$_9W{i??J^o-u$)%8LVZ1Mr!en&&DGe z@dXBJJ;qfq_OcmPZai*L5f7`@7CE48ZI2P){1#4e zMl9Tn+~Tv%$S!~ryxSxE8`r;_`|lvg_4`WjvZWNy%caSI|6LwcpQVa@u&rik%0>&*A^LYe)DICOkdU> zgTTOua_gQg*V>KZ%P=M69gm|T(R?zjN-jc%rKf!{f2JJD)(a{;WJ=K}b8#-Xm< zs3`qnl6me9EP~+&Cj=wn%+#k>J+ey5K!_F2OBAa9(TH zy}GTf4`>VOjO0MIq2)I|UJY=5XM4SA(C#tLO>Na;*TJ_iFT{a?U-uRq*q5C+ks*$3 zbX!i{1rbXTlJV}AY;~O^MCL0^;>?hKGexu|_eB6+5rHe*;1xmm(<}1dV>H~h3~x(Y zC=l~1&wRHG0644hs{7ugYVkpFX1Co3)2?~pZcdP~=$z-; zyW~pNs#BB@orOk6Q7t};3%qAM&KCB8)14l5S;v>tD7P${eQ<2ETZHQvc{DpjU*@)C z{=NVs-bFR5b z3P55Ab)UwRrU9GZ!5%WznnKNBGZe@S2Hm-~qHnJ5ubky#OFrC`k1>p8Y;`h~85v}L z_2(^OUK3xtzEwB9_*wgBiL*Jo^q?}5JFhmIyIbqDYS@MXsIhIZv_}&zuFI`PLk4!J zKj0%A;Tt~U+d1Pq3E>$lfyy4?89a!>2=|E~>IyR}vsRggdT~J-p*XyP60L(1J*K zi(w+ZKpaFuOd^m1B%xcxNo+)*nxr}OooHI55r950$-}Eiu4W*>5X;0qlnAJ33=w&w zz7s{35J4AgCpKiHRJ;g+GNV?Up0TP!5SYa;sYR=pv(;*c3fx6a?8U%970w~1umD6s z?71Lf!2$rINje>Mf~26EM0I>c7UUymTEU2V$8E&N;EM>TzyVGi6JY*SD0Umha*RF$ zLIfd#qGxKVpgTnNVX8>Tw^GU}oEoY-%*Tt=yKWpC+xU#SL8nsNflLnN`&CZR57flw92dO5sh33eIu#hOzWa$PCQE1dGwc4Bh0-(`<;sXp1sg2#y31>cB|bytZbbI3&Xb zN5h@T1cvNvh9Lt61G-GrGoZ(7hFZX#___rHB2OR4Fu0t}Fw@TM%rM-kJ&D5|ihIlO zEVo1aE-f%1y`)e11kd`^2>$#}@gz?U3o`?{t?cAa-07|Vq&WU;P~Qwp+^J3|{Lk&I zhzXrcjF?cwyiWkF2)x8a+PsMK6wv&73l?u1Y4ti2hHGYR$1`7@vkZOh&K{>}WHQ1)z6Cu@lC@Qm?D2(I*j zr7W$-yiB#sPSxws1pQGHBhXfRy|)a^Gd)ksbI|p)i1zHx{q)iN+$^;OO!|zkHH}TR z%z@W4Oew91?u@StJ5!5j(D;(LA(OZ>EmJ*BP>MUxJ>}7305$&X&^QfD9P7@pEX+$i zR0O?A&bvAL)03b(mpNGf78$$BNJK;Oh_%! z_?%3@L{k;T)6E)G(8SYDMNl_QP*IgqwdBh=jJ74@f|O9atQJ zFqLmit9;y1-(*lzZO<@k)e)u8j5tgjv(2*pq*F6ZuSr!_wgiUS<4@D@O}329f;9=g z98KY*RDY#bA2_gz5ZE&nSb`PO(2UOSnpDm-)IyCj+l0=Ig;t7{(pwNh;S^4hg-nGN zH+fA~O|=Ni<>^on--yOcnpi%_*@TnXp3q@Ivo{h(fy{oL!d-5_?{ z{*B;nCD6iT)ql-k*|l7~Wd2*DC0UG^S169)D#qV)D^tHj-HuIKC$8O%Ro3WaUm=d- znGIl#Wy>iBR`z09Je@JnjoJAuUDDmGsI}sSbK)tUP1n6*`X%E2<;xDv-`ka0dmUrl zoiWR#UQt^J6i(r@zyKd`&6yI%4OEFrI>G3>N0Y!|pQ|^EvplnC0MOh-0P=U|ZH$jG$&=MKb$@Og^q%Qx;fD z)zA?>W@dI=L=Iv^{;dcC!P3>t0ktTIj^KeD0MnbyIZH+f_h}(I8bMC}r03OPP@Z1G z9nWB;W@M#+j{Q&ayi5{>QsKPZHSN)Xh1(^j;tzFHG&a-*)dCJRQP2$5%Pr0pz0%R7 zTU~umQ&rJamFJvJ1OBbhIGa%~#$OOcY4KE0jriyQCDt#7V+zQy>Ri!jw&1$GV<(O3 z9ktP^eq980XDQ|ASsvt}Zib#dWDySQ1ohqDMF?M{kAX;>rhp?2jA4zi;a1v$5OO9o zS|I{zz7Gl^A_4)`VJZQND)<4REHKETGe`}(x41!Fy>MBWuw(7OO|VRgsolJ`7Ko1U zfgYG-7p~;~xz;B5Ss#D$r=xnNBa)~Qu;BR+2y^6 z?3bAA?5J$Zh6#o^N%??lPLhi=Jc%AUB;e^GW9l7(0--0E;pZJFXp*GrVWe-A5N!4_9f+j9{SKi1&K;lw zaAPp=Jz}H+N4x_!JPC*K*O}Teabz0D@LHeu!JOLykA>{M! zz$5{^B zcl7qS^RG~VkbLw?$D~NN^h}R3OxN^I2QNEjcUn62S_GGsoWLNfPKOSc13w=w8 z9d`C=Ukzvni|gJap)(_CKWK=y_Hf4xZ2t;OK1ULK32JW|?267}Ly1fKJ)o$CF#gmD zco%mkA$RQQZZKcyX$SW%(SgwuJ$J_lc1JRTHwk+uig^c4no#(A=aGExin?ZoyPh67 zoF3KD>rc{a?RzH!a>!(4Bv>?&fY-*1VE0pP25SxqTrkyn*8zxE>%EJNVl?ek@&7~ZfJU>De5Vwk{+VBBE&oG zA!3Fe7bSYz5TnP4fFF2+U-~#2G=c53^gb0x# zDn&DFD@gvBPB1e)eY4Rk>lqy%UZ0YhP%$PD~(yVFICW4$g zck=A%^CwWCH;0})V=P!Igb#)(YlaA65@sU`$T5~M>WCvwuR8tyG3+TquTPgw5;j#% z*{MX=vTgfO2fK_4k#$VSu)xNSc|qRYi_oINjqK_cK*sJc;)8%44n+8{a6`ufYfVh} z*l=WzeVYxoOSpiKW&{mteQ-Nvu^GBHEfVUXVb3zGj>g_TM?dVW()*WsZ^~7 zKP%kp*4|*N0x!^;`19ttr?ZAD*Yn(ld;MzGZu)O!k8nHF1-bY!V~BSp>!3`LeQ9=? z7iJ#cv3$bNqYvW!PW?ZC0SY)Efd$rN8-fW6WnfB62?td(NfkHTRS(M1Of$@6v0HB# z5{HmhU}+^GgC)9Too3-}n+{WkAyB5sl&b zI8j0Tac3fvO*;7`lu^p2AeB@~c_o%jqNq?ob^XZVkRNRpqmd5DWl@(1=>QCTppljy zWI^h%QDp@U;Kc9%7BzIoOy8 z*;#0&;Jqi=Vc}i+reKvBHd$lq!6_I!&De5hr4a3Tmq4MuN9mh`!YC=Pz54nqZjK5& z8?eP1dn`)miG&}r%{u!mv@;DmtxwTfE9t0}YP&7B-Fo{ixZ!#$W<%rdB`&xvf4WI%!AmBIRi7QSw;8Y6!c7PTP zW6I$sU5H_ZYAwDw=bcyFxPp)8O<)npP;U8$D=kH$=dHW`dZeHyD0*!MmVP=(Rk^e} z?7jQ`JCw4|Mu7@C5j41fw^uHb?jGsp{#!yFMp(e}5sHsQgIHClq1EDt2|tKTp%hoR#H5kpAFgntOu_QmFkO$WYL^VqO$ba^u-flwp5lP;$l9uFJ3u%{=8uowzGQ+_j!N^0@ zdE|*AA_XFQBO&=Qr+Z7>4OJd=zz6sOIF!63E^`UA7E+-WpuB(&1lb-hTCt0v1d!xL zNy<`Uj))i{h9Y&76y!t*fM(2~RltWKGwQON-fWrBYGE`lei8vOiv$bKDM+j3EQbP8 zzz)Rt&3V#ug+cLT1pAb;UV_q`SBL}%&e?%p5|cLdJSajF%9f59?PDEyTn%U7!gR_^ zqV7~EMl-5Wln84FB8UJNXOMwfSX3u94CFC4s?wEiG(lUenHNvWgW~Pvr3E!8OLMBz zgeGXDH5)|?@YzKcSSj_LB}vHv1cw zcowv-)v9Qd`k&I4*Nx+H(_6>pUbKR_{m20M2fkGb=R(lg z3U^~U75q78IsU6nZU>d~zxqz^k?KA06xoYY+Z9qI{M)U8N%$1b@{YSB1WAC)ikNH%Bv9R2?xMZLGk~RBEJuZxX0uhaZpMe zUF-=_gDB+P4|NA)8Iy3e8Ey_%aJ<15^Vr8$_8pKHG@v3hcqEcM19(?lzzVoL3yitz4Jjl;<1B| zGy@-O{(>}UCEXKWp->^kZJjOfA#7pCV_~a-wXA7vYh34A*E`|$ihZ4F*9AKsh^fY` ziBgMrG-D*l&bC5oeQRb**4fYQRj*C>yI`{eHNe0}w?*=8WsjTOiZ!>q&>d}c`;OfT zVE{Yuk&FTW93RJUNIZo7rX2)a*vFW60RsN2VZ+-;3CBk~I)ZFmB%B_{U_b%H?U;-2 z%ieg!cTOJdZ!X2!2kg$lEiitJTFV;N_+ZB|*pUo~OZ*nqxcM>C5OJK-TnjemcCGQz z5s}9{9y7-{xJ_#1s*Ukz%E>z)6JgoVVuS_9A~Uv4*ZC;%JWp+^Xpw0T5@rI`S&7X3WYf2~;w(Gm#oj#m)Jh(OYz zC5Mwm;w0W;z%W$N+!Pr8#2jkkCUznoA_OSqb% zhAnENKDtX#Tu~25l~h$!PJp8rVj>yF1}8ED7C=|-VB>SFBLThFJ0?-8v6vjtCaQ}WC6s%RQP1Z&78Y3~U>b0oR;n>tAWn#cJrAlW5;ZO2 z_pDI{u};ct1YSBNUV_9e90LU`L)n{(v0)Zx_eXb~r zA|GIyr;0Sgt%XK-ZYY!rsFXUXj;?5EL@1Uz#>edDQDNwAI^~O22JBG;ofzebis(l8 zChW1vc4lXNx+n#RXl+_&nCj?mQUET{sEwwniqyrQ$|yyQsbBi#lnyC%6e&-*C&9#7 zeZtA01ra6&7WB!gjY>bD|EJJuUgim7pa=&K5+YWe`V=ErV6D4WT( z!Fq(bcI-vWYe=lCNBE_H9)xtlD};vZVS)s{^6S280c>i4QtInR)TySJY<~FcvC=EB zh6n6DAG3Z6!$u{_LM(t(CB;(VP01FBVeEEpEUBKWrxGoc;%aqrY^P$ZN3d#C)@RFB zsnNYEn!@R=F6*t9>Z2m14*)}ia{leO{wc;%EtK|Xva+pj9&N6wtdKG-YgFYwLS_!g z3=bHt4h&7$j8?WrXl;hZiiRuJrfjTQDOAoa<&rFmzK1wju5XG{!>+A>KA+1zpMbh4 zhDaq-is+aE>bTtkE*yihzHSb*2=cXQ=aMO)9)zG8m9VZZdIqe|zd`&Tqg1s9nzP@lwWx4lkNM?DG<7 z^fKn8Qtty@uVqCrgV1VU{?e}ozsv+Hr%zb#)L`!iGYF{0L<*nq#Z;?KT&oLVu;a2Y zfZzguFz-x&Ee%JE3+Dt3o0AMn?GCrbgQBfWaOn_(@K1>3^je`#kZ|J)aS~7Q9rZ8* z{4f-oFcoj{C0Q{R2QhF#$`YE9|BU9FaWNW8N>KRJ(?$?LX|bflB2=)BQSb&V$w5b^ zu^u1FY_M?~ua6+XF{Ip5LX^>2?lB?*iw`QwG=4;kwc@^g#1XI|Z=hx(UvhvfGNRBW z_9R6#g2W`F){I#)CYN%=;+wwZBXvm`C{wa?kg_SqGW4P{uW&Lox@AacS2L-_5^9hv z|MK8^9N4v=d(W36|hv#jlGxj#3SPD zGeH-$K_4_iC$vKIv$I?z3oSH6N3=vwG(}gmHap8Fzm7$3G)H%|M}IU(Pa2$sG)b4V zNuM-Id-J2EG)uR%OTRQs*HxUwG)>pEP2coMuQX2YG*9=mPw%r%|FlpKHBlG!oCUQ} zC$&;9HB(#cmDR>Z97AjYXixA+Q(rY!XSFyZHBdzLR8K@z8-!MmHCdPSQO`7Oc(q>5 zoZ$q8Rh#}bT*tLsqZL>Ggj&-TThGQ@&oy87wO`X=kNE_v#D!Yt++j#H0$>DUAa-Ie z_5t?9U{3^w=mcjR#*g5qPTcihZ#HL_bzK)kGvq{{c(o58HbykISX=dJBLHVGHc#X= zYln7h8;+eEl~^~n4|KL}@Ag&KHEidEW+MP;#|3ad_GA~gYwrYXPj-^%1dnV)E#$<^ z@iui=H&Hi>7xB$jG-uT;a)nU3 z2UBw8oQaE2wJMsvd_T<&)_P&PeF?{HPtbFX`2C_A4INPXB2Cs7Xd|!mtHp9PP>a-K zru^B?r&(Cr)8^lho)TxyT+2ZC(*+4nX6dW=Kg2+!EN;`*2wbQnw5+JXc1F{nx@s}e zy><^dKmcKz)NOkmHh1o7`@j7`?r;x}O718huA!HqvX?$b(kGMJR^8E7aUhS+H|{SWUQmwD*Q84B?ADHd)qw0cuE5#TW z?cx*lQ1^W~(5h9o3%;{ch<^y6Q>)+EW#iHE4Bfif*~ik6#NthQ`{w@UlP@OHOex;Q z(8-0|mdJ-}7!zr$CO6aVJ2cBb{ZF$2?WKyVGbgPxz@=-%r?n09y}`jJiSldTq3>*` zSK%r^!1Aqqm48V}K<;fKyYRmm(vGUIf!W%i2AkYPt@pg=fL5*U8p@$^wD&@}?u}ZA zfb>7vn#qC2*;n2@k#4|CHFLsh{OS$ed9BRs8FaSAIW~6Fl`0Y!H&K+T~SH?~ZclIsGko(aU$1=BF?wa0mij z(F9YE3SL)EU#$xMnQR1|3f}ylzJ3R5^7&8%59}Q6b`j*<$t-wEJW+j^`2gt(SuRVc!~z_EH;y8QVLa(wjVX z$J3ceTX^taC!WokvjUJ^7z@Z9ZzvK3hfb~D7H=dLhDI)#%$;B?5rxZUzSIUuFp-KQ z6$!=SNu>CaM59uo-kxYSnM!3u|IUUy-w&G3Tqb%k#A7uf!PWUy zD^<#uOyNzj)~M9_*0I!)!XQ^gGW*_Sbu~Q~AeC;1&WB0Ui2fx6vCFIJ7g073TEno8 z8q3ZXsZ0fe&isV=e@?*k@ux-szhLwryqT_6i=`^1 zn%$Y!TC24`8e-eLsxUJF$3?OfPtl6`!iUCBcAB0deXc&FxY|T@2M0}G!1F1r!f}**yNTDzZdV3HwBT9EbWZu~Y z`w4&3&KC!~4o6U>NZ`R2`O@h;7Y4eqDi`H}FECWJT{oPI4rCvk>hb;mDa)%2W9!(? z4+oq?&2!*dfx^XyNst`tTXq^IYbV(;V;XNlhgkYB==2?VT7g4#zb+w>Q~h85n$s3=Zmqngwr7FHzB*#2bOBqtkyqPb=iVRo@#q6E3Wr!G#M!!Da~<;AGY zkS3Pp$#svR6d8*b8&W^6W3DJQHdL8)YLTyEF@aOCgOWzyX7I+9uzO}Bsb`Z zr7q0pR>fFton~`VIulG4{zLIb^=e7q0DD==yx~@EFVeVTe^Gz_LbDHDzXZ`el{Qqb9RwuN(CN~nb;xFO$8|S6@ zvAP%K*m={{VAwdP$AaRA1mv+^KM4( zru+5J=1u1IPri{hg-Tl%?0<^-cfLK?2msRS*5*@x4}^%Xw>*$We>amL0NWxVU7<#QQv~@P3ybhi4VkXGTh`;6{`6) zE*0jZYA%|ZfhnU*jtkyLP(^GCvna7;cCZ}6>{Jgkp< zgbmSAQtyZrMPq86?RGwzaV8=5XtUtb^06||&|FrXAarm*N>aZnfw-Agn92DpNUyFi z1}0;j=@xxldSnpJF`04-NH^}eWNa?D7D{y&5XBptm~7Q)a&{k1Pl;L*=MG(T@0&OH z<){ybhZYLPS2*Cyo@i=pGCtK|f|$GQARH)&QZNudPMU(!Tu|AZbsZheFgY=Ed1!-< zCT)}oCs=ngP;NWXBg%Yjfvi5dK!hX$&3&s1=Mmm)+&W)guMZjTqUaaLUB+y=k(#5` z#i0n%a3$(rd$W=JImm7-&u!nu*pm`|z!pR}66>odTPblSv14EdWh1lM&@Hd=xcyJ=UDIk$`4X zMEkHlDuaCw=k6E19#;hntnCsUeTPqIjZ&rhGO5`=SjGowkH0SZw(gEU6 z@fz6DnB#Quu7S=usisiccLB)WV@syKc2@kf2vQ4QT;S|EtoX%W*L~RYsw}D{wazOP ziN!ICe@8PJ1<1(`y4(H8sGl>0@T=jXYoe7SDFD=R;FooF0xL3@gn9GFV@>0+ikke) zr4(8KX0gqtW+~+s&yl+QsVhYV;+K5M_}Y4F4~1=gw6soy`X38UZBmr^b*{=tA(Cux zh-Q}1D{IkuSHcCXg_fEu@dNb)dEIrH3HZ~}-W=n} zM{MBJ=y`Lh!;E2hfHe<9w!uWyjnHc3K3@Ue#Lq25)wD~3aUESkTrxAQMfg+$W!j*$ zpr!CS8ZJa3bWtX;b>`CToXW{*)`0&3Pqsu@d!0=W5sI?s&XBsm$xcLqGG;zzCZB00 zeFS)_+`u#Qw?4s7fyn`1t^3JY+zEY~RuP?iyydC6yya4kM^8KckC|v4vAvVO{rZ$5 zLMs!Oy<07x-!Z30!<+)Q`)t-ug3EI!I?%yuHEZ`nFr%frNlIjWzq=z5BV7oa8QJy7Yj!wP4UJ*~!O_Uy_8&3sFRn8~2XEh~h`?l<88N z37JU^^CUF8xEJJMx8>?Y+3&*pcZo{|0+^KZz8DF9ck-36`_j(BlC|@eaOtSQPwOG<4_mJPr zeKl*jQS!O&M*c=D>TMiqwjs+R$1KRfTM7=XX-w$$;N<80LVO@i^I+Ezi;efHK`2rt zn!@KWjc*qzu3<^c?k^of*X~2AXYx3Sd9l#POgFQ8X7hK877P4q56QRjH`^C~O1|T% z*oq-rXd0pNXl>7d`tCCcy3j0g_>@-n*CoNBLWhi-AXrGobk2>|=*N<$f5R#$*RGGn z0kreo2XfOZf9pA`^PdwnB)MJ4VxU#%?%(VSecU=TTK3CW9P&uq&@daS1#eN1QI}YX zvD6#&pNj=UxZ6J`eNoWj4sh}N%#vt;n=i$=ve}sdCk5AEEiN9^>rNd5Pu`hf@*|#s7QFjBKHB1)&!Xy?{Ih#=CbY5eeeO}V4! zmG)d^=FC?=s8hkZ!dzf+%N%U0J#5q;=AnpT)4IZ{IoNJg8fJL}yM4fq_~MoL^FN}G zjx1Mab0w*$0Iqn`WLA`LMOc%|yL%v-lPH=-9I8eg;ye)Y&V1oGhj^+qCwzPAd;@<2 z8K_Kl?1o~2hhc)7ylriW$COL3jYZ=`1ipz6L&IE{bWqVn(lRg9c+lQ*d>^^EQUu72 zJo(n18()_5UXleh0h*QZ-D1yzYY1d62!vQ$ir5H-*`VMY?z)%}gp`p}?*5R)!NWPg&9M9t ztZlZvx%(44{AV72zW#!D;u*E!64(I$e2Zx12`tADq9e8@Ui?a6;8HP*M}@Ou_zH+W zGhH~Jh^xA-IoFOx_=ol`t8_+zaW=Dn@6vGDh0b`+JhbBwnHtX`Q^8@zs8!FXoj_`ljQB2a4H&o$vG2_C z|28madllLJKZmNa$(gY?M-AZD8P0?mE(P|@NQ|;r=eR^?tyJev#WmfJav?ApE>GOG z_6f)h1E158QHP$PGWJAt{>`@*MT&*rjvj^C2_F>1p)yO^JHuZd3t{SK-yxT1neV-4sJ2~Ly@06aY6zI> zLd^}L`H_5=N_DVGtU{QBj&WzX%3L7eDSz_Kgd_jBvnXE@;G<4N0hXy5gIUjpdJtJ; zd=5pWJz+T4S`Zpda`^^e=X`pUcqTf9 zyO~_PqYk=pQBY6<0TM8Ao8CWVrY?pr;=t!eFn2$OR3XGsMdU$B<6afb6(EF#_A$kW zuOxQYa48Lvm}Zk#i{mGEV|{K++;I``m*dP=mLlaS_ElF8Sz;pu%eXW%-m!S3Kl&%4 z@nDM6p@s5f-E$t1(b-Vs6@ko+74JA7P8;szmX`|P)lvE}VS1NQH6H%mV?k`25<6HS zEo_p09Mt^{FOEyh`%ZWXBFyI?@-${~Oc0b<4t`&Ph$j>+K;h2JN)BS&*{4w3Bz^qXV3e?r z6QAE43vKSAu7R1_4Nj%y__EtKdc{tuo(IN(WMK399WoPr1rRl z*!YsOXZFl?DmYzOGTOVUcr;0zGQcjz7PU@v#!9yP@H_Zbcgn>)JW5Qb59CMLhT<)t zV;VZ1F^(BgD>rH_cE!FXC(P-WFz zs@372hK;6*tG@mB)KmuDlUt}{`+Qkrp*cstC2OS>jFe~ehX-a7c8pgSgL$>9JGZU)=B*mZ5*m#^%EmU))sNv^BLE!Yx97yx^WDS?>Kc ze^FYE#13#y*LGj~7G4_e&uwO%ZYlW`=rakQB9>LvD>J09sWoboJ=P9h$? zJ^8=%Nn{>XjMoGvdke2rKLUu3>cU6_$ReDaCmJ`yn;u`4d0kCGDv9egjIVuN@Kt53 zM1Q&2MY=s%=})o`XUe!~N$okAu3dsPPE)Wjv__r0h~w8tiM|RVP-^LHXyv<{ zmU;ifKxo{*+Xgkiz5F=xNVoOh_^5gN3VHo9Dw;C%m=yWgmiZ3r{yq)D&z~VmO0buPGi$8{9H%H)8_^ z8#7L!lqOT^WnVr-Wv#!YhiGL&x@8E8Mc1QcN<9(#n*WmH!>{)BZ18XDS~pwJKIb zQzf;=VI@SZ1VG&UKDGG0FdY=OQ1t_^`e8atK)Ri%q_b3%OUT+h<}=9RdZS)@{2k7Y_b(J3h|uJLEo>Aj=-04hX65T1L1(}KYZIRr9*x^SzJVa>J}Vu0s`r8XumJ`ldDgDM45>k`EjfPQp&+;+ zu`LN{{$ab(A*E~y_4i?|uwgwSC&R801*s7WA_-gHQ69Kamo0lw{xRawQU5K0;P){d znoon*nBLd%9Db+p?D5sZ@$zhk0{w}_!ii=ghZ>?uGn2`FeY=jWNiE8$=`Gul>?yUw zsr4<76rvOgiRg{C>GLh?1z!Q)F~eVg^5(Xg4}I%D`c@e6Ac%fa?hto z=O_;WG7tqcn5Xj_*yYdC7hfR!Y6L6b$?&o0M?I$n=w23I1fedebZ_qv_NXCn@fR+= z`Yx#XtwfzHyp>CQu@*D@n3ITI@iQr?TlqWuj7ue9C zUehws$re|Lo>(mQ+ms94&?;of3}ChmNpVi!oZjACCSsV%*_;>Ht~TCo?cUzbq2Dvu zIQH8qF4!sj*tsL7exO{T=3u_V;4aS4C@$L}SM!4OT|I)i2DIGUuT>$-YS5 zE}Lnv_C6~7AjjGj2w&d{QChPVre7vV)gH7 zv+y<|hdU7GksJsO_haj~+ODu9Pyy= zS3bpA1@ZTZDS`r=CI7@V|NoBtmub8p41w>IU&?6_a=y#Wh@O)}9pDK1ULlS=sF39k zgdh|0`ogmn3`Jlu=yrv(6^_IZ@p-?)vlopeP|0O7MvxUxq%i7r_#$AQjAwvtHo77( ziRHdWgZ;uVE|wk>6q{~Byqomc!B&j_UfP2O*m_?w zkAYDo7_ z8A+ah8{N>c!p_U|{dYbRuRNW;wh@lZrYz_9^a@2N0B9~%XNs#&8f11JhcOBhMU^p4 z$TSN#)s$qWI|@UHSTh#=R?w!5D*LLH7S1U8s_bSdu!hV$%c1rwZd`ga*>(D*k2(vB z6~Q9gc?MrK(Y-_5B6pVu|67_GY{s05#I;8b zKUNoFRyINsb>*JxooU;sISfM;Lr#(To#`j^gzyh%gmmR<{7DRwn@_E3tXY;h3p&6Yg9 z5c1%|@WKub#u_L+WmuNtg0#*{}i_L-3%WgEC<)+6OQhZ*aa|0@?H%>U@* zfx~`v^7~)T6@g|r|I@f03il(wO^)�{Vw9^b3mt@5z|fw%`H}i%VA2uISS#*Ykd? z>3iqy1-F{uql{x%rH~V>-}nk!uB)8j`AEc&*rG~jwxbuD+%dTd=xNH zkj7Y#oR3JXWP`aCVRwcaZiXm=YRO}+X6mHZCaLf0M%BlDEFLI?nYT3F1Q>$|4p*YQ zSE?KmZB0)8lOCr~YcSj{kT#K8sDU33&e^}NPxdZOm40APs-R0;*Fg7p6?YU>AX~9<#gbPQ)eFc14vmMy+M{tS2u| zftlhZZ5eykT{FSLS-A;}+tG^1N=9ZK3(2LLo(9W@kAzPa9r7`3dnRk#?@J@WNqi< z{;EmQlu-=Gn6WPIR*}|4Vd1f2hHJ21*w)YSgC)z1=U;O>^|?*==*!`R4V^q4$B z=icSAXpI2#4{#^#G=`J0?g%fDcG&7dj9a6H-FFKIIruHbWv>Lydm??ZJ&|koXEAz& zA9sKFcv}|OC@Rb4%UHUbwltl`0L&*NBqng9eOGDaI~V1f8Ry0`?HbE(j{03sc-Az0 z87`1JjUU}>^d8cNOg}H-Rt5I43>L*pUv3$ny_&~@YiAjTT!Kk{7DeYKib6`}Vz1sQy^_ej#84oLVHg`|g{-G(C6c`VeiLmQ>T4jh(1{am}w zJG<#ae!0D+SqX`6s^v^gKG9Q8`zqH%__Pi==^gsqZ4dfa?uxWTSM;3Ng))k~Z zI(y%Sm1ysNV+iGG9RS+F*!Spn4H^p5E9Sfj5o;sUC)l|E{e+YB-`wt>a7TbFeDhpT#GL2@J|4-WTaoW~WFQgo%zg&I`hZe!yNhY}6fQv=Zu zG_wR*1dCY)DM%Yj)6!_cvI@b6V2TB6wYhLo((H4wjvTq^(z5B$hMtm#n1zS>ONK(M z;7Pm&Lmg;UZQ#RPq{G~3ah%T>>0#0JLCOwd_U`cE0c~PRW8|PEZj$^kwEi$mBi_=* zFg$eGK-!3;aC}c%^7kSj8X2UPhpoL9;QVu1_1AWOG4D~!f|Tg4NN(z zuTjgEF_=aXC;NKrU%7?mkZK;e7)&fFF~v^Q#eN3KHl@pcUaY$#_Mjw=A`rK4nb?8} zSllJ%wJZ*ijpQ>=5lIsX8b4mJ4?qmXmWL$?QfH4E0}^5hxw&!_6^cPEK{!s9fV`%b z`Bb8aDpF%=QW)c4=|ah6O1KH27-4%HolZ>QJQNgNJPTdCAk-IhD)JtQ1f)CFj$}?M z%!HqVoG-L$7ekV8Lm@0Ty`VwC<^=Wl0rFsR&LyYOHc3>uSjPvEqNjens$*y@sbf zz_ywo7xSc-(}nAcz%-Mk>L;W$Lm^bFk(V^4is%S=nkpT&DRn{+)ZBQG`&k9;3nO#J zC2_pKpNqi(AhOJ1e8^MGy&Au;nq-Alj%^!uC=Vig9R}8Ca;Xl|XL2d190M;eC5DHO z@LsijO)yT4#~*~ihsl)^k*Yh$5snGYj!^$In83HF_AgnkD4Dzcl^@DG2QD&4$0)a% z6~KU=#rm2_p8#Dmo^uJHuMW?{ugK?4z(%f1Kg+J^0#_Jm~ z;&tS+(HBxCU}F*>97RB(=cRCUV4&2c7yc>~oXErJpkw7Nl!`3EPr#0f05Ig|a93cU zIOa0sL+{HJWf~XBR21v|2V~1HEF}BFaF@?gU%+rz3^DpoLcgNKCXC}_ z6S2scx5#Ru#H*ro8Us@Uu>hW|*n_vU2BBD08A&0s)Tg2>Dw2+EJ~O-m!{h?POt!e; zydXNVJj0ud^{$LjrPy!-12-=vJ`+QOH!Gr|yu6}<=LI8YqtFl^A-o&|7phV@5~{?z zyt1OQQ`t6OtsUHk0KHlte#KbP4o zTs_xO2#a5~8d?2fT?Z#u$TnXSLs#&15`$s`QpB)P@Ry!EwCy*1RDD1hcELq$lvf2? zeZf30;;?sdS~z<~TLfu9B>rT>esazio(4js+{=ql%!USfLP@5|#_S>NP`X+j@}l0% zT&#jvU#lpALs8cuWSw|!9tmnbq-IR@biMO05%{(Kx(yrL$>d+TWe5erJYm^f8&%|5 zT!T{f##89$a(JOqYhG(P2+7^ck?#T#U>T@_k}+O$r+h-O{3tncZvW)d3cQ__QiY?1-* z@Pq<;aq@ey2WZ1pfNTXncgcGvJ^Hv3`YI=&X8Ze4s(=s%BB0U0a~3)-KY0(EG-7?9 z!yP_WJZzmvFO2e_5#9hb+d##}fEc;&EH>qM{6IJxaO~E6|Gt+c8t;ve95b4BOJum> zc~A*`C=-#%Ql$qtk8}MC4`PIeD|9!62R(@4JiJpsqLW=S)>&1>4h&{PhZe=3d8Ylk zKVV5TjI}VLDUYvxHNsOroK6n}p!d7^QrhkJ<+?E~IE^3#Xee%>w%!g`8_{VtGkq-p zj02fde8&@7QT7w@w1er3e2I|B2e0#)#Ee{^r~1sG$A39bgwMM{Cl2ukm<1qHq!uvU z=nPE7-4Dv>7vcc^L3vzzxM;cTQxM3Zg44B@^M zfPIQhhS@E?A>?cb^ZiucR@4*{H1k0h%2(rAn(WyieW>NCGG}C3LtjdEemgrSq}?i@ zS(O$9X#h7HU_3QF3PUyCN8~Ir3M3yT@MTJ4A1XQ+LS-CGRsjl$j&=f<2&PcwiRRm( zsU)Un0o9YSwsYOKBYyhK>>uN4=#=+z^tB@Tkg9Pxl>WB6#qg_Mj+|kl?o#&bu}EZM z{3%K>{|GhHx2^l-^?>oe&C54CBD5lP(Y0NWL<#!OVY@XmFSpRLECQ2n0Oy6 zE^9mVXo$R4@;q~|D4uhSLVh+N>~875%>nakN|x%S4`_7u?0M9LesK|^*9rX9brJQXGlu>l!`ndFn z7Co*e1N0WA(fMmahN(@og!RqN>BBBy#x~O?3OY>e=*5>U8v|TuXZ*^o=@H^}8G}8t z?8&{4zMblIxb6O7*X<3zowbhzJ92pxmF)#TN^HpLI?`rtKtyCx16qB|EAe!HHWt%& zYCrugbfUecK&0`#9tFQu;TVZtrWv7yF=V3w7R6z6rsXG*{dt^S+}v#?d%fd^eHf-4 z$jAr1prf?J_k#lBd0G2a&6#Np`vVrp#sdn8_nXLz0T->JGg%HXyRDDiK4}*UncU3& z8{=_g_mKiKUd9!$AZK)I@?_rWm{M@VHDRQCY9C(l;K$DyjGP&v0}As$%P~7A@X!}B zOuI)Gn#kn zo7v;uFTM*t`piGN)JbZ3Pr7LXk!_MbQNcV;$1C+J+oCs1C;=I(ZhYDh6oAIz>$pESB$(XCTN(Bn= z?`?4=Xr0j_RegPW6Oq^C@yR1*g|vsp=tU2q!H4C?!R8l(pcDd5KNddTzl zxYzVH4AkEmm8H->$J{YzW4Aq~Gdoi|M@2m^z=Jvd>LDe+^%+v;mE3byv=!tl3a;+Y z<8%S@=S{R4SfKQ$2<>ziI-|?9sd6aUHo2I@Wkb$>wcdaA!RfMZ`sgk8j7wn@dG3vt z$SVsK_;PSftNg2<%@+Zien_KkFV+(wi-!@O(TJZE)lYl~F1kP>03V6nvPGGk)g58o z51awSlZu0pL!^?f*PM)Hr8{8fse_V^=5wOvAL%0(kHGT(j#a*Nu2!Z}tXQnOe4$aL z(`gB&r^#x$0%dchdJ!}YRP$E)&`s#;*jLH$AT9DRm z^oAm^SxPPn@kgVs>{T4oF?PkXWau_jEhmj)O^FWojSanur=mEJY}Gv{jR@Qyu|_IW zM`$$=Su7lEbm!QPJjY#WCA@X$=1Qvg8j#DIH2FfV7O+^ai8^FSCrohC&(+G&CSTUf zR%PyROx<}>IZN9P@28PdZuy`Xmr6&k_0wQY(mHJ z?M_l8K96@&)%sY@(qzv`_0m*H>J4Ivyn6RCw1tpl)q3(uQzzNh*db>*=GLJQu1M!} z8UDW=;0JkdQWJZa?uIJ}j$u;Pg@Ng`>0t&dz}R9o{@}-NI9uY>O2;(sDSzHUR70&1G|#QF``<@aDxA@hW4rH{G2YY z1k{qAjl|v}r-U1ureP4ayS8x@Oro$Z`f$pksSoyowq;?8yRLQRv9+)+pB>JO0owA) zI!-mVhraV9N2@CI`jT6fY5Q@rroGj1YM;wx^YeG#hhy|j&eIRq9RoY!D6Jpo%g=_v zn3|sZt*}&hdr&+f+QOj>EicB=*wo6~fsj>I593G>j+beo9LdVQ2lR}hS_28J7gLf+ zs+W1@&10L6C!D?Jo(H<$YgJ|tj<;pOvxbdDfJ-&UW@_WZ${y2Y=4Ad?^ztYX*ccgB zmbR;k4$Hbh9KPvhD#0id_csB;)%e1es0*VK<~^IQ*vXw_11AMOwmol8Z)=6C9G8ay z%YsqYP@Tz{1>J;Ntb>7xhSY!B>HfVrPl1H$ud?Cbw04?dl(Hv>_ft3TWEfebW0C%9 z8n~>Pq!|d!q~vhvmALKTTQkblzPT<}rp7ayE9Uv$tS4#xe6?A=XxH-a==qqN+5AIn zQx&iZfv>rdg<)O2G5_g%Kj{H)2ALBx)3NaMSCqSJ_2=^Y$@8_6;C*74%ikYjw2P+? zUCg3i6!imgLeoq6@(p3cQ~Bk;XJPp7Ge+iOntwgHzU|^G|0GNnqoNHHI+9QhrbH&_ zwcf8Sf>8Ctcx?Sy?Fp3G_ zF*U}-G#_y2E_W21+)l~%lwdT!6T^O7X-Jjqj)hT)GNCfT#|1H*9m}fcd28VfTS{_| zsKjcGC)ZL*)+uXP#rhnXkRqwlUeqhc{iHG_Z*D6Q?wE}XH8rJ_DWjFf8B0hiI)YGm zjZ0{#CS_$4Q?rfBD2LuVKytf^Xrt5~nlTA^Q=V-w*P;`PHfM04&5y~-^C$E>RgB||0 zSZ4H>EVsn{v~9^E!|G58?_gl`uis@g}?%W{4(Y?Z4g!0hJEwA~CxL4TWp>HLR;jb+{G{bE zU8yEY*pjsu1SZG60^@clFEzDLYW`IhGEkeDh~=QQzP<+gBW<-Kdi=^YFb>2SYNj0T zx54|;KL=D*AFnw|E$v2DI$&E2mu}Udvw{T(4=h^S263-5N&j#mM2`-a=D)kE_Ut44 ze)k7)L#d*|WD>3fSd526)+WulV7n0~}CdIt& ztzd2#hzc+r7^?lLP3=P4%+Jd_4nLMKi4^i8YC4vpGovH;5EZQbYuJuyBG3zzOBkH@ zeM)C8*iyzg0 zkj9)3TT3aujl~l8=4wAX+f`n|k25%dvv@nlFukoqYLE75KYLUE0K%=aN0P^c7@oNx z5+h-*s@`}MZ^zEf^%v37K{5yLRlPj`jb}ef&AIQT-u{+(YspPDn*CzXZiQy6;M1Iy z@1hUEe=jZd=fY^=mxG&wB|(CZ{V@V_Mrd1S?xP&t*FQ~zR*mA}xW4>!%s$mWXaq=5d5&2E}hG0Kv$RM<9L2#?6E8*k_E3>%R{h4oX9MA$zUe9?zi{(?-|}!h(81- zeslXkJFH`85b`(UH}QQKgiC<>$GNRz*OBY2Ti3PXW6`L=VCC4ex{h=*u#w)+73~@G$px#}N6nv%L$+{I`Fdvmvq05_|^pu5+!o#5s=MzTQvI zEg!?%F+L}7z4JB>+)H}Def^|*=UC&~^8;LdQ-~RXW1;l&%4fib{v&N4) zyLaD0=n*{Ua4~S%a>LNH+SoKj*eA-+{`k-oX40{V*=&^;wt^Jo8{fX>(&U-cVOQAw ze%KNl)Zxa^sVv6tB@O;l+4+wFybBUZNa`*d1P__C_HS}#ytRgcnlK+By)drbWqPfc zUps!A2xd$QV%+^9)xT#j5xR~OF-7Bg>=YM!5T|w=Qa}o_ec^i= z6rh!t(5T`fd=HF#6IH^J5C=#|Q4aNViqvcdwPyi*8N_40_MDq-0xA;l?v#dit6he6T8_LI#{knMu^bN;D3876yGu1``gA zJr#EOy7b71j|fbSDf9FB>Gg39H6eZFPdXgRQXjpukrL|^4jB@|xq>Sq>iwA~a1$ip zfywh&2pAibJbja@xso;W5%$OmWu0qtHf?%~lJ#cnRWcoGFy+bEZ28?NAwLPbttaY5 zEAmgQLxDk7T&%15vB{H2=*Lu3ax#}!R%jyQP)C*|B=t?S{R->_9Fjhiv)`I%_7S0~ z>NII;!eeZzduwgDlrPkmT*VacL7GZYmn$P09SIf)Z|p+7f-7<1s(g^$?3y-FYi$}F zToN1WpX!Ny7z&*l0Q<_%RPmO+b9PpW%BhWs7fSd8+EhBZmVKMJd}TfrK!;mRmvVyR z;9fg^v7BTHop%}ehfd8a0r$(9`LB}VNOGn}{KqC>d+~|pBx%{rpb!S33QC!+cO@to zPC8`3&;#fABR3zcHV=8Vjsq`fkKtc!#qrlk1$%-NE1UsrE0vSfss=-c9q z*H%;i+hCHKq&;}3SHJ&$OJ1&1=}QQ|Ru!acQg6N|nQP2t=8J;-!dD68X0U1#H?MMg z5^=}hg z_QY-yS9xRSvZ+{8(E|FX8St_rajO5{W=p=fFx8a&!w`4_S)k!in4eh6gJGCWVab?E z^u&bg&{k47q-{H>&2|kyYNjeb{i(nl|Eb4wqCX}^Iq_cYW^n=-{SAOljL?b!Vnk13o$T&faWwZa>>O(WGJDw-qUu zS!9%EF*8{eN@cZ0rR1cUZ^R3?jZ4;(yitc8_LUkg3fdvxxUZJvzaD|p-{y>h+Kmjf zt>3r{7dtkZv}3Qe<36;6?9SzbW-hf()@JNV{|fdbTX@TvbuG$ zr`OGp;Qt4d4UG)N4#lVjW%-2?0D>z0@&))61_KTO2Oa?z9uXG-2@eU45E+dS1)T&P zhXMzOf|Q1hk`YYB$U)7{Ma{-d4dSL{<6+!|4)YJ4}*HZs#Qu{1EV`e9*XXlZL?Wp8HdWNz~81k>FD9( z?B(n1<>%_-@8;|8?)%HrKahQz-TPOtPhf~|V5nbE*w5fF|B#4Zp%Fn5(LoV0!I3c` zQL&-XabYp>;jsx3af#8f$i7By3sqrak@hRzvX_-msS;-lnot=`Ila`&E zo|E^kn_7RJHIfepeVPXIKQ|wzqqWRq^z*Cyr`_AxU90IqN=pAx~!_E;*<7V zTVGXMUtQNwUEf&K&{*5hRM*&C-_+9B($?72)zs47+}7UG*3r`5+1k<7-qqdN-P_sI z+tu6G)7RhAKhQTYG%z$gI6N{qGCDLeIxsLkJUTWqHa(=@Zf3Y(+P)#G!DvW&f+Ao>?E#xy` znz2|smm$nYZBX%GF`ufGAzMubHeD_!kNP8zpK>`{t=$_c{vU>wR+2?ZWL0E+^=9k; zfU^0xse8;&Q_L2`Ce?Tx3i zzd52v6gryD7t7QtQ4uF#{KDQJX5k^Uy?dVM%stW=Wi>3&Tk+Y9#U z?rd-Gzr{~bcAnlpY|Fg>cnHTQD0{-4h!DU;5$H;2csC}T{sJ5ziWbffa3pkpF$$!r zSlx@DrNBys6fT*==9=75gK$q}dn*mQ#l-#ER# zM=IxrFQeiz4~;~_?Xwlg&?^^E#-S_16XV0`9Kewa-?Gh73&WR|AlvfNm3pYG@Z_lz zc<#@okj`tLAT!#rQKbt;o@c{HA!A9yk-_XA6Gd0F1fbfFv4%*;PC%V!XRBJAmcGb@ zz|g>cYY2uTb?Xx&HZ`OR`UU~SBrL#%AtS2C2?@3aifDapy%g4PrDyca!`UQJ6CqL` zPNjR*850ikHCzA!=)P1U^X(8&yY@~1tL#7ht5a&Eve;cP>Zq~E^!KEX1w z8%D}4Li^TdPW%5^$G089zHhaE1+^}r!&<%m5w<&`1rU96qXT?X-y&3n*Ck3E&kVuq zuj(PgHkuH^9J=C**}v74<~I<&l%~0tpFN=f{Lov&pZe z1gMXsU^MWW0;Q>{oaS(eU)o)N0}N19d!@t1gVVx(-J&Dgh^v|tEBP-qi3-&)iEWVi z^@UKvntcgJoBEFt0GSiTv}@}7g`|1A*UOXw?jeKe6PEeekUu1xTt>FA;jGLD?BUkW ziYL$u)E7ZcQr8nLOrd?09A|W6h1)c?R<0M#&aQ`+_HHHT5Dg8_0E^0XqIkfJQ#Zkp z{U7$;JE+Na?bi+gLIMFo=skqqn{<%Si-4dgT>>J~)PVHfdkKj2E{5K#H0fQ%3W5az z=_sfa0pYvRXFY4Jckl0=HS^6kv-j-HWHP|;SGe!{x{mYso#$oIS-GoYZ5FyguW$+- zR?ns@-c!G&#D0n9p|I)5bNW}oM{1AA#DZ-jGdZm;vB9OLxcSoQLWvS$Uird216Yw{ zgA=&O&oki;Ke^p!`Z?BziSePE#Lv?DcpQGvq%xPn?Q~yZy5`fU;CP$lnFzFeYLyA| z5)I2_HvAPv3ASJW2}eaj+qP2$;dQ0~Ga5`;j@>DtwFWmA@^>`Tx=Q_=txi`bA{YYzDI0%C=eS-ZTtfQ&A5UB6^9lc z2VW&h9|IxGsxj0>yF@3SgrPycYPyM71k$_4nB}10$9Z(PCOp!C6Sjom2@B6ybw)+t z-|6ULAPs#ePbuR_4%Kg9E%*{r7R5vJ6W7d%wMRu`=)axNr}1CK5W8ci8MQsZnoOFm zR~Na2Pv!CQiBvo{&58HVO-0MJIN$Hhv8LR;3gZloB>8!-52@*lxD-5?UT*r3vF%Z| zg#SHhz2|c~NXGbc!*$@Ks$MvDs5C{Of`Y!DTUWMMikhj!H{>K8Pc}!NCV(+Y<4nzh z7xW?zi#=?)+_?p`>?1C~2jQ>M`?y(PNCkK)5@g6hNtPxXHXLS=ImoZ56>o5~gG}8Q zj-!%wd_nHy`QXk`tSXt*6MRvTKKaWzO$~b!W^8&c#%5eDrXvfdkIUm!yRPtB{zdl{ zPzd#}ST#{10l!wB%%2Y7YHxb0mEcQM=;yhdhTq!5CMS6I*kb$DOTx}$(j5KoMMx=h zwAdJ>)Y1!7!To!I83`@5V@tfYwrO3N9WSb+Vz27?51tpH(yXniwln6xKwDy&A*NlE zF{4@X>YmPX`4JlVYZdK@^RYJsI%0(4E%Hc`rsxqtYT`Nf{<{P5( z_FK+U<7(8zr4ODkmiD^5?I=zsN+Duij8_q-!WOKg;v6wwWRwawS|fa8PW|E1!=HJ0 zU+#qImDX47FfrU+o2m<|{$Ko6O=H{JFHDoBOg9+az!^Nbu#i@|KgeW3?r{TT^0Z&B z=MwgT((74c=0w@Y3{@DIvLLaMKsc4vYF~%Iv5pS39~E&7h5Eu{MdW{uUDUp$&!l9N zT8;|n7TQix4xFY@V#3yL(r{}VBL|Iq^HkowIoYK`$I6%%L#JnP?p$3HluG~jDl&xOZ=_qi-8qFx`T9vy}SMCCUL->ES? z9mh_h__hmW&E4Ya=Xok;CAr6 z41(@$MMNy`(WgniohG@b2*Tz8%B#F@^MvZxf{{Zg6din>t&dWHA<%(%2!7C7iI-0A zu)4?f7Q{G+d!Wd~L-kHWjaRsrIAh_Mn}5Cm&XfHW@|CsDf8eW*8xB#U(uca0WkZTD z61l#z&JE?%1kM{~3(OB`8GJ~*n6c<3ql02vgWIEtMsXBUd1HuWeK;h}0!mpDi5xd? zKNS0dbH0rb+_NbalGo)uM9pWgbj>BsL=<}P)&5}SK?cnaL`DaA4P8#Pp-U`pjB)iD zU;gz|DvKP32*5wi{7!pe2m_HikvPB$IM2sEX5;!AhnIm?ymM(qb-vrxmyShn-Smy4 zh|a)Ue}?%RLATdlQ_YZ3n-M2uAk4PS=n<~aRM>59F^CxvX37#`M>@1i^3_a*@+y(h zd??u`QmYr9*WLvBkOlcNGDslE_<4xm?888KNHGqiULTUQCxLdi3q-8UL-uw6mWG9JA+92u11rdECiZBQ@EEBn zGKDGA#pbBjKfun8So99~4w^U+6MZ*>BoQy|JFl50qbGMy`aXh;?uLJMW)uh16vY(o zAEqrZ3L-|3=SYA~f@WM>qFv%)H0uAzsZITI3 z8JK8LAlMX$cUd;Lo@``a@3nT~t8$iMsMBi!`rG#q=@LnA50XmVlR_ZLde4cBK~PLP zPmD2XxkmDrSmuRT`>*mTKbYcovaam{2W6YH?#HGa9i)JmlYjYI5CI2eTQC#r;mIE1 z;R;MJXA4T;pzKGC)Ox10eyL1v4e8emnSq0{E!bJdQaKgUcz)7=)ev0HVk~_$SQDf( z7gF2;gA@g(H>)v-*)hnaGGN{5ANJjI31g6Rr@J6|FH9{Rqem;r%yfS3o_R67cxt-r zCtB^Fj52<-@^R@R4fjwqh~Feh4srsC$b#01tce>yWk@l~hz3Ul*^9^wSSI`X#^YxGX!@7Q<5diK6 zMx3#3NOW9iOng{OLU?S#-?$qYe}=o!v8e#@#wGs+z47>a390ExsrLZ%{lmQ}0QaV6 z;xn>RGqM5ty`Pbren0gBj=waoLg9wQ&QR z6qS~hJgEEw#wBGH56UVZ5^5g)7d)=1tE_7L8FXa0J90O^z;nC(q}k5Gc)&gc6RnRQGYn&>G|J4 zeTLKv08cM2FMa;Jva+(gyt=lwv9t5-$B*6p{r#Um508(J|E6nzB%edsbnE}8B*`T0 z@@}-@!3aQ-@oajHrDOL5l-A7wl1xsQxIUhz*F<=dD}Q(W-B?rEvqFRo(3jL){``UN zJt3R%=8BhPG*KOq`Yn~OtIV5R-jBDqYE+1J$FpB(t$y3&^zs_%#HGJT^1{C8+X(WxVODH;d2z+^XuqfI{DcdNuGir0`s9H3}+M2C}l;<+B+fK2(;*u`Y!J*EfA zVkPs}@lsTN{Yf(5pZ4V1vTLRH3{Kj)(^Rwtm+pz!SKLT5x-|A6(<<6eJzXMAkT20x zD2_YJRk30@`*y$Y!xXbdiwF4@!@A3{vVChSg`p6k)uKoSm(}7}zRJ~-MA>+OLKy|2 zwbJyfE^80794prddC@RI!~AHW_43jTm-UKr0{LQ@bjA95)k*!Z&_;Fhwed=WmgUNg z+OEBI;mWq*9~#u4Nf^6s_i{5=Z}-DB z66$p+bwqXsJI=EqhnQ|wOI9#MH1CX{Vm6&dIOE*DjR_o$rN;9dSx~SPmx_F!q`bHJ z{9bSojbUPAk-J`&Bq;m|<|%%slud);2PMNfxvl0(S)a(Jr{>5{3G&ybms!ZUv5^W%~~rfA^^1={p|n56P$-^A`BwfOf==g?Fv+otN=5>Dyr*E!x! zMQAIP2&7W7gtrSoSQd3n1_ZXCrWA-c#yee&39hf?6H`u)+m)X7E>N+QSaXrjRGHcj zCR|OAh-Q%F3)hzNp15{F>PPbf?L>Ej)5$~eH|msvRZyN-0jK$e1zx8vk~pv?+wN(~L?OwHjXYP?kany8KjXZ1lSO_h`8 zC|9bBY2Af#i;+krX)jCN4fai?nb)Jn4Tcp8kY=k2roG7MpmPzv zKYHP&{>!!@I<(A_3L{}JAg}nN3}a||(VgX03Cr$9ji6DJ%yHA(ye(XYNtLEVd#2F_ zyOriOl~)Q&!3@fgq(Z%w=Coz6qi|lNG!|;+BjZ=EXUK3}{8p)HKJ}*K#byo8>xJsp z_;m2X6@VWq4)@5mTF$yTP*}~Wtz{VJdoeg^Db1?g ze}lTHek+Lz3%B9{H8+LYrjVGJYnb>nnvc8P@uPdkWs|8r_i)P%wri#8)z&%2a@##A zz&f1AtX>`rQr%MvJ@2s4`LgDA@pkU}x6zC`t53weZRtLoo>X+<6u-Kvvd-?3S9X7) z+|=|X2@U>13?dj0Ag-!e59()j=t>NUYg@nPnzSG6K-FH~!7Q*tONPY8!^JGE-!h!; z4RJpmgc&F=OuNW6tb3V+Ms&U%att3vN4qE9RJNC)^Xp30YKYfyvtWAtW-#$dzfd&J zf=yh0{IPCBLdU!7&w5rzZ+KUquw;qYFs~ettbYEQRRMoI!J*)zd=eFGx8$h8$}sYH z)CT|Q*b)=MH00}4A3;R=iC)i~pj5dXb*Jk3PH=n2!F|c=ueTF+-7QCyA-f_>RnSp% z>x+ZexA?9pMba#UwP)?#u@6YVqBq(bHwGFLmNrXf&u2Gu*xY4!HMhWwMgT{kf#d(4TMfy;EC9x>neAGFua8)EX|LuFJfVZTfi2 zr^P~rLQburXX6@>F%1QhJY=F8GG{G7{wA?f%4V=!gLe-Z4y78to#dmQEzrKEk{YPJq zN}iIJypa0%yxsliJEKY7!qtLXT^gNs3)-@@i^&ZoUn$E1H;$g4-`bD5NEA;x6ADp2 z2!+FYT=7;c+RPu-26l5@gmQna;l%c9E8N^I7X22TSL7cKP0YAFR$1%q*>zJe{7gep z(ijwz+UkQKmvm@f!#)0qfZ85p3M+pm-`iZcXRyyj(!F|a{cd|mf}_yf(d3n2lLF%I z#Uw_X9|}|*ukww&BrSqI;*;wh|EfvxGY*BE^X-3lYHdUPpu66+aMSBX;(FU1*{_v_ zT3$*4JCcvBJ5)Xf+~Gdq@aPeLcQlnklS2D=TO_i7D0}qijuPvMwC#uG$UQe7xs;&P zP9?f#&ZexGT3o??d86W<{l=ne%uQV5O;0|#fEF{apV0vpWdV$icGUBCeqyPSQ$7v% zaT4DGDWYwsKZiXnyH1zs_j=@ZF^H6ab$m-^!DHqpeFIqGQs{-N_nKFhI{@IKz_FWaz{!!Gd{wPh_DT?L z|N7w-7Z;Ffm!tj3k&nICUa&@}dBkXVA``coY{<&6^Y+VI3y$P?OmL{L!^U?jr}pc? z4xS$vLOOQs6Nh|@L>cTxv-zVzWXlRzpX$67(N>kznm4P+=z-4*ORE(N}GPqVKYg zdcTfxB=kaiS8tZ;+Zy#J)TMQl=8+_CJ{*~L3&{&ya|8#zzC0UEAWs8lK z>v@d6!n)i#d*`TvTWWcpHS8k z1sl5~sSXxHJMUrb4zPCp^LKjsT`425&^3{^k*Kx-8ZWT$nfc~C~AiaU#uJM(zZ(|D3{Lwey1j&QO1dqx#$ z9moVa?&~2;>FRHtZr;D@x{GG$CECZ@*{-E4JKuNE6Onw&W3zk33dT({MSO(HPEfNGl*7nk-O0rL8pNiUtA)(^_9&t&i>CkJK4D+v3n32=mh*05O$MMMb} z*>x|nk}naRlSs8!fKg(zi?W5X)&yv#!0+ns9b?JB^F+mOa~?|NWXFLVL6l2acnp@9 z5(Tb(lv@JMO_l=F8iR;&AVhCYmtS7qLhk6JyxD#l_m@(W%=t?tc`q#T*#xuRWam?z zG|`B>l$`yU|6DzPUZJ29U9jX=kQkT0`l#TMeZl6>g0h8zZH2<_ih>`0g58LOP1F(1q~BqRpuL2*qMMv% zn1?B^RFa>!nJ_QrHshhi@ft z4>XJ%?36=r=^(hx5^f(7a4cmWie;XbW#0Z}zBy(79c6*DWxd~C)M*ZsX z+3Kf<)l)1rQRCGwENkBQ*UYfgyvnJ0H(T@Ju%@n~W?r#&$+C8trDDOqcD4f(pDt<&Goi-KI?52DgpZosidmv8$D_&H@?1VqWTOogKQUIOI4RaG5pXQoxBS7(*)I&q+>Y>q@3at>Z` zM0U%+aYO=9WmQ(Q(N3(^*`(Onderqe=aI9%EZC%}=R_FM)?44%OOT(COUHJ(_><)0 zDR;2V)4gN`xm^JghzWcv3P(~Sf%t~&DPS$L$G|HtP%q5G8@2G_kiU5XUIw=m^ zGN=p9BLrZFA!=|cIM^p|grs3aS9v^Ks2deZ{0fCwM38z4HMGo=D7nF0;)y$t$jquc zoc)IudnpPq7rBoh&a+MGh>i_VgHuNjaUXd(sue6r?!HdkV=cQ-4}Xt0WJ_oxmZW-> z*XD$x@SdC`N`$<`QocKeIkCVdP?W?CloR#va)~}-_W=}WSWKijSh*dQNQi^?*-f^` ziy+<dX`uZ^*J5v4`zr=?xbgI&fkB9yyF zgjzUwNBAi{B^ZY~K|BbUs0tu^ih#I`lM#PhBEg`ZTu=mJw@E3HM6m0fT#q1Nstu?N$iAWwGgEDcUBKltCf-W{R-=B1slQzR zk~8sH?B;73QA8JJ*m<42d1_1?gt@@l?V4s?NW9BRqDS1%n(*YuRHrk!eBj+zPP5$) zzZ2@KUng}EcvW7zC~AP8lSe&KQqL!B4^ma;k8WG{p?YV#<{ug4zu`!Pq;)^r%pES9 zB-}FYsXs}WPVXdSCeAuxW?U3WC0x5P%2b_6gzlQzB%2Q%vrfJ&Z@m;>GzZQ(9nNmy zTkWioK>ZqJGz)w=kHmG+aBi^-7opv5ek z?$(+`C&iCOQrvUr$!CvF>5CAStqS{S~49WNk_8 zS^I~TkZW%-RgfMlYPCFq;1fB&cN+=GL#X-|r(P=Zx;J~2keAmcT`HTOB3^jR>Vt_+ z7TngqI?aD{t(*rFy(svwy(0FkMC@G_s5#>NM8)x!(AwA5NrdP5>-hzQxD$B3$ih+Z zn11I>-Uqdf^Iw{bwn;e`Lpa_L_fgG?z1TITHY`}>uG;!ec~LBd5G%aQdf}Npd>XaA z)O@Q9ngSU@eM8|IT~i3HNswirjp)OawC$HRksT+Ymk!iJOExcX1#2dtruk$7HT6oJ z)o0=q0z=_@*YWq@hHl@w6=Tlb#V zIlt%J*-i;6!-ASfQ+LZl4nZb$4A5{?W3|S;Z4)(wAF^ajWBaAXxu+S$#rxY9eU`9p zUZS1wHyW1W&{}`py1B+1FOgIZOtd6Sk<@115B5{BmFWu^p91B}vB*2(*RT4wKb+5q zxzB_)EKe_bm&{y?@Sc%R_im6P`OY)Q*ebK zg;*+3EY4nzqP!Kw_I3>K=FFDuhm+VBU3C zLhXFZU6(gCHjmHOWW%JM?YdEj98B)ng?Cmv+O101X(IIM{Rs4;TxJNz=ZEdFCbWHw zHI@Fsq|65G&zx-WVD>vS8YS9=d^WQ`0$+uTI|L2?@D|oEC|I<(Wc!9&H`;T-uZKr9 zoaNCMk?tvBr_|H)+(SI!;~Eii2;^e5I)(V4ga)PDQvEihj z`v&=gY~_7Ad=aLnLMR(G>yX05=in^KfUMEfXEy7SqcY z4QWiTnBAb4?m(&&u2|fB*mBkCPCoq=8=ucDX0{rGGUj#)n+sf5qP1i#Ze-qQeQ8@5 zC2Q&Ib*t6Vl^MClwNU%H)#}dUZZAvs5#BcISG`(3ueGBqno*qg6)r5CFCMmC3;5bH zX&tox*~c>Q^a-x+W(JMOge*u~-Y%+htIaNklf%m{PIzvj$&0E0s3^-_rMFK}h4{%N z>m-kn=@9&+ihUa^9ImC=Mk_2&s1qJJ=5nSf+|2h`ezcMsf`iO{Dv06haC)#ssp$N0 zM5V*ItT4Lc&BHQ6$8>q!u%c^?QdNg*oz{Crw}ugpBiE*9kPNq$X~zJk=8w@zEv+kr z&M%3J!%BCiHkUi^Jnnm~wB38k*M%F1c+D6YNypgbK23L%Eop$itjohl2mX)PrYJ~+ zjcA?78|(;r_}|Ai|ITazQBA>fih?pqLb7L3O;P#tq6(^FimKv@7{HK8Dg!TdDHRRr z^T12By<;$ZO~-Xy_?u>H!K(S=&HG*YLcak&e+Nz?=b+%+=is z$Y}f3^N4oe)uCxFcIYJ`sc12rEC2|mKa~>P+|UuESdGF)T_k~oXHXqlRDlf zl{OQtfGi<@PKdnFRtv=LqQ;;6iQS2Qq5LgNyvVrEVt0#W@tkL|yKfVt8PcvFCVz4* zKRuHr$G>ICQHIfzjuzL(D%%MlcIUh~+kSVW)h_^$CB3S9R6y*`J!SxqCBe!HKm?K2>Dw-3mY!i$g3WXbo9-?6(hS%NYn5|IF8 zi6xMWg75*dgo1RQI0A9isThManwgJc>H7yJ3VVc2JXPanc5GI0} zOaS{i)9euc8BB~)0A)F;GxlbQqHqz^P~Yt3ykTbGZz!Pi#8f0xYh^Z!S-5Z*({Ut- z>O9@{N{O2tR*ix!Ybp%J*(}jVsw{)TfZ-DBf)*@!q2bWdRumYj=L9P1fRaa(G&h$|A zhctK`81_6m6bxfCz-~QCQp1MB&<^t$3hu0WH5fNtZWwd}nee42s=}%YbE57N-UFtc z{Mr{(;o1*nMX`P@-PPU>Ya`}%bGN0%Nr1^wBpagbqQ0T(FivCK&RC$}QMnpT76Lpj z@iB_1Wf)1JMz-vT0}~|oH?Nj+VzK?LttANcT8@M2b5_L#Q$(=c0&+0908jUi*N!$Q zH408$eP;?fiG% zbCVoU$PS7Hz=g^Y8XN7jrT%bnrZ4K0A~OX?+cfnO5o`GG97Kx)iyTDoX4al#xN!9c z<>l}Tbt?1IwmrZ0!+cZ~4(1cY6@Grq{VIPrSM~V(QFQ0&`Qw<06!~AfbE@(uhjLUQ zr{9G+LBIHcI=8Vu#QG8j^q2HEJd^%;L>S`9-_jpR$4~#;`_nTC0^XmQT@*0>EF2;% z9HML}F?O^#$8X)w$s>v4l|=DLq4=cH0@7%~b38&aJi=$LpI=;FKuqp0*Dop0DrXO<5JE7=zqERwEJfYJ|ipbw}1a5-_x^lGIH~?@(Y3VIUw8t z+x|zj7d|LGQ|%AWJUfs+|0CH;%gO=IeilQo_$!893B=I|KSoQd^E{}k(8-QAr%K$}J{VAcQf>Az(rO!_~Q=>Hl+{}+4y`puiy z)6;K$tMfByJ~IdC@-tWdJ9z%LCI9ag`Tt7>`+wtK1M67sU+b8mEOaUK-{Rv;(&tUf z!-~jb1v!G3$&#xrwwHUesQo&sSEcy}OQ2zj zrb09oS_LG2ink6g@$067vla7PUJ-P{H8?w7`QzR0brq2Q!vc$m=iWFiCdn_CpGp7K z#S{!ga0#!;;JlQo%U7|KW+1z^bkA5@@N>H9Rp-z5%^fQ~XIOg+e)PT;Ex4TJkm0A`NnxA-*>rUr66$ceehcs|2HlhHSK>%|Bbp{$ixyUOkgUke)LO5FL#6hezU2K2zx=4vNeNkiu7^a8Hu!*(`>JI6P{>IGKPN} z5B9=ih-iusUs}&iZ%R(cuiVFQH;PF1PRh*XeV_8-k{D}ENk{y6AxFD)&YH;qG0}Qi zT=d6F^T)hIlr84$o}xq!qTW^rrcYi^Kq)n?mQ?lbd#yeq^?UE+qi`UhJJ05cPTnuv zXK^GI&vR>GrrN&ct4)L7)|+ZImBc_}bZ)1Tl8Ly-38nIV{0L1t6T8{*9;OBmWlhtSs=60qkBjANsce2uC2#8RH@ zgHb)pZ)sUwcD&MKV@CdIk-5jE0y=u*(38;+YQcv>W@F=IUz|d^H*7^{&}x`-#gsLZ z55-u2>YJW?MUgkF(~5k0ta|PfoJv`ZL0%G}k5UUW#u6~#_xSo?pt$r_Ix?(5(3o;do#uc5=4oWJZE-A<_(ASx3 zQby|GBR%Fx?w6OJQaz7UU}}b8nY3uHnna)SmcTp@3h5Mg;`z$^DHT>VX`Aa+(dWYG zlyPBfrd$ZjE7Sw?CzYU|f){MZ(@-CI1Wq;M4N@z^k-kFSEo?6O1D2)2-^u5d`go>w{i+#;m0d#5R zP#g+wa6R45fqpMx$X<>F%N{B%V&UX7UwIk&+wlk;|~GF)ro z332$V<^^^^zrM9=Cu1mD!zs~IqtIBsqQ34$QdCTCQ8ag{I(;xmgPj97SIB^YvaWuW z`I1s33$+?lOujyuCJ$>K-P$?lg>xQZu{+4vFCtwIWxDo!>Q_D%zD5F$<(*VLuY5No zsC+GvE5UN~X$x((?vP4hZ@lpNbq>`u5TB*#ge7tCeC zZ?#8XWPX#@+&yXF%7rkf&YBQu z0iWK+t(nCxz#b&G3S9WLnA~A8JM&bQT5k54EsN&dJk>tj&(r1d%S-Q8jrL&|$FSJS zqxai;Sb;^uul}sK4|`ABdTP2$gN}|qTCwx=lAYWM{7Oy2oiz%@V78;LznX{EjrOw} zxx29_e_~)(8G`RAe@nBvng801y|m`wRzjyP_`f)hLavd8;$h<*Ly$ov~#`Ta+(I~#U#9lc)- zzcrT?Z;@&SLg-KT%08-u2J@p9fBNi?T*Q5)**tmywEy>7;Wp_di^j9D5h~?AKaMXe zQEe8*zNvc;332M?dPVVFu$=>9+5YP!92-0L@p#YbSyq_B?#CXq;bp>2Mj;Yg)CdETF#(YS0pR*yaiI4PiqCMoW<9ulUiC z_|w^8p6Uepl7+>V`F5>%7|e$p?gtI)1TM6x+MwH>*iElpMv_puh?59k?so56jG?|GVcMg?#xvokFMUX2JuK@z zL#M;*eL{Q~NiO#Wn(BrR`FL+JM%qHX>_Ei&qeNXJBqnWlV;N&;+CA$>f*Iu1nB-|7 z4w0ib$v9Rcz1ncj_?#kiKoPcq)M>5VaaKGZQ?h6PH&W z_kl4^ULZ6>H#t+@tFSyM_dpd0J@Bpu)s&ISt$3V#kCFh9X`y0YwtK0{h3}PzN{@t5 zLPOf1o_9x5Uiu`<&c{DKP$lyXB4Z9At%zZY!{1yDT6Z#gY@Yfd6VeHdnVdo~R5c5lqNtEq5bJY~ zDN= z_xIS8aA*v{Jbs%$Q9wacNC6`vh;jD;A{h6g<&$OBlG<-(Va)HU?8oNZBvymP;OdFJ zr|w_VOPMZ@G8#)?D9`rI_BYatv#SrqA#!pb;eE&MZ;j$}Gc!PuL28)$N3qd2W4-$_ zvul2msp5T1bmFwI@#E0MXb^BfY9``U3{nk~q8oEzI#NK+hf6ow`*o7cw71Pjfa)VZ ziP#vM6MSSyXtGFI?t`&Z?X~0_zwB$yJ{kwfA1!=@M@jZaLj0V}hWA6DuypU<0;!lB zhsLZZcJ{soi^=QT87nJOfDdOmIgmg?yNKxuw zMW!KIH;Nx)n(4nP9~kR%*VQaFmp^}5FvJ@Hag8aFsQ3D&6TYewmYkhjF;cvkUAVrM z{dUw}O+H0+He%mA#R7^ky;;oo^Zw(TctigJs|u*aqnt)PyeWBzf&aBPI$_OYsq|wH zgoGj*%AgXJDVDv(GL;!4WOp6k7Q-C!Xm+%Z`Sr5M%B*?H5PjMiWO|R|%4|x@Dw?&| zO9k}2$jdD}-5HDBo#_g*1_Rb&%KbVr!F29)lJ03a6&?;aHf#k=SVay?rQ2XdiDhM! zW+fq~GB~oba<v+HaP10VFkhId#G$b%(Qckuh~AEcNKYI!pQ}GP ztVdMUA(a~TELADO&_D0qVwh`y)BS04_}wtCK{QCj08#}JfHsH!rsBcQA@UyBzfO-Yc zM*tKkfbIaG-~f~tfO-N@LjZ~fK;9kze;`E|zO9G4jSlnz+{R zvHZR3Pm<)+YR^5QEl!MAl2&}D&|udGC#MUYX*Vvq%nb8hGT&~lyix|jvk8VSRGNi> z(s+orcU@;1Zgdxr_76joBtb;YjSmphA~qe`;RtN;^jGr+s#OLWbno`t zK|K^O0-`n4oIZBVa!Y8j8quIRxIVS%sSyrF8t2hZbnH5W!8{Rhl2|X->5DYmh|ULt zTOaFgV5cNB-F7~<7aIAxll|i1fRu#RV+^NG3ZcV?lI)TS7?ZgJ_xv31a>aZiN4&^!MM~1%Ea2{QJfKfAW?8U&>_AXMjSXi&YB?rzWNq zqATx(P?Az`w}K=zb%~HjMkE)wNOL#^MK6Z!Eslu6i#h@)F)a*|Q1eUQCP74!h0%(s z$!5VyV?gPm-X7`Zm?Bsl6YU=2Km(f;#)71a#W$1EgqhV)85l2;B@hYFyqj_2)*Pi^ z4m7_)(HKcWuiorPhb+>9L50<4>CF4p;CN{UAft{Q8KGl^WR&AdoHd!Kl!cN(=$L*k zF^H$Rd4E3%si1I0TF&I0yoI#1xs4s=%hmgoYcH}4x%_s-W6cyD6a`N}&6w?y$ z&rs-RC~N})*@Qq2z~B=Q=#&C@hRw(bX0OWPg)vRY9@C^1}Y;HotA~Z zm&Ki#g}R@G&dTJ<%0gx52<7Aom!xq#NarZK$NKOddqo;cXA*sT65~WHVl)={CX#X{ z68=7%;&UkU*_8E*m)B-y96o$--rn~A@+I%+DB}1y^4G7Z)6qq|?*n)6=Ze z)5+7*xzp2cr>8&u%T@hMWt{_?VBoTE57~A*K?s+Dy zt-zn2GUEsO`Tx>WRyAGsN0a{UDYNG-KhvcDQeM`-QT5O1B-^$<(SMhho6yOBO(${v zFk%0vr;H=WTk7|8l53Q2&;2Pc+q{uEn@+NkeCxL+jZpm}3QQ+i99=|S{9RtYlBrP$ zXj1pzn)E4)63|mNaALbBcBVw3V zfF_l_i3NJf4(7tCv<0~Cp;JOw~`+4JEjP+l(i zY!8%|S6?T}E|+s(k^cgem-Tm{OL$pwy`@xfmbj%fKB2Ltd+ds^&p@eB@AG|1%ec=O zBrap0Gk^KPma~4u=`Ck(WydY&ELV&z=YD(yTgiLVR~80UG<~kcWR3l#iICRBtQ6h4 zs!LC#;Gi~Kk|-t=O>Y2FBPve!SYanK6;Xt6#~{89bKXICK)G#|8%QWAOe=-FW}@nc zN>1W>cSfq4Uy$pdO++L~NUHWKi;9iI=1G~8=`L+Fw6I(nMCxs?Z!}F4ZJ0tV@y|y& z0#H?3oZiPpu9Z{K8*?6)5DB+h=gNp5A&A#HsAN{N@XixFM!sy1?xQL6M?CWVqs{q;vOJ?+}`lHE@U1qYE>D zln&hVaO&OxLD0P4-M>|PcNzB~&v$KpckE^-8bhp-jdOJm^UM@SZ7W^phbMvSME*j3DVf% z{T{~+Y`7kCNXT|S=*CKouf3Wa*XYMk3ZwQnK6Kma#245a4wfT^x=5(-WaoWZT&L_5 zTX_X;^dXgTUk>fAJVp&5>UyjP_3FimS!ceqe$T3Jh~qcd z67D-Z?reFtt>jBYq>qca8}|jCH5v)SJWuC+RTP3SnD8LMMDosH1R<*+@&yU7Aub%5 ze=vAC78MH3sh4fA8YjlrN3w%Z!qoD`@S*U0GE)SR^d#5OrBOPfSM#7nMR>`n?@T%g zbSG8{jYeh)sPRhe#5ttW(nSdj39i@2U(MrUX!7kB^^gp|c5HvzFEG5D+K~8GiJK** zY*?nJHtF^f8{1-gyTS{}JKkN~v){@`Ds~!DRFAk(wtS;%!PWR^PbM_&&pIusZ#Kz+ zrR``zJtvdKw4M$gKC_2ohF2@^74XmrXy}!hq#=z6%DlOkD)i4aG~Rdc=N0MWnXvGH z3DPRWt9$-TEo|oz5PYkv?YTy4%OcHl{?ljmNOYP#M^h%337%)Y6chvsc?GQJ zVPRp>(b4zs-_OX%$jZvf$;ko83HSowskyls;HO8A9`*M2_V@P#6!q-cv#F`6=g*(N zdGqG|`}cpQZk;s;F9GerpMMk8+Q!Dl|JWJ)uTS*<^}h$!933c|fbnm@65`P{CK-r9 z=*UOPOO_19!zC>P%iXa$34E3gc%~ihL8Ows6H3p05rb54@)R(?6b|$;^CoWN7Nf~h zs71{YsZCB~EXw-l90WX_O!Anq2fD?ytGxsx-aM#@=THj0TupNCdb0*4D?5&`O~g%X zlyiLyc|Y{q&=aJx1H%nH*{VqT^G3S!6+U$XJ;4f-?L^_x&&p(}_w!x9Yfy10>0^=; zXX*^;|p0}3-NOr&_Dpi z3#AdxaLmz_;(e}G+Yk)|-G_jmsVjM)r#8k#VF$m+=FLYfjBTi&s+}v2WRRG@WXwXY z)f>YzEQ5*T6$)L@AR_t;qa;Bh>HtR3f|&mQ$Ed$=jQ@nEfV<-VsA2+eH$oRd*Z;yO z6hz2cKq8Wg4Sh`_kBPXKhMUx=sHhzQN{eSz5c&bVv^1Im0{*d6eHx>2JVfv6`>;{* zFb?}JHYVB|G$<0&!L0fw^mq!TF%pI@a(c$3S6t$G*w8ydr&~t;%ITaoK1JjFa#kgm zS{RgH*MlS!t(MFs0V#ht%FvgbqNp2aov@$|;o>ApaA4I?r{E4yV1Xf!;R%CuVLhJ4 z#8LyS6xY1vw+9;48Cboq8q;{ADao|1Ycf42{zk)0tXP_C_Xz~&IPW=WzEd>l7RD#Q zB!EYSyG8wd-GMjgsGE1H|K!%V;P+@Lta~}UXF0ZSC2?Rid2ls#crAZ&qwvXQ>C{%m zi!YC6cV4gU&j6{WuRj;Je=hADE`K}R*ge|XJNmMB{Qc*zA3uK`9-kclIypJ{|2mTp zcuWz25Sag9+=8D83K+L=`Ck%*%+GoLW!%E~TVVEoj9VBI@C3#!{Mi~W16{7-#$xTn2EjXI2+tYu`Bj_a9{MA&+p{LWs&N$aSPGR8bI>G z!)oj-L6}G{eKu}^dROFZaG#jo10Z>^tNpqbNM6(+WPz=*#T+nhL2l)JPXvVzJP_C# zhbC~_K7IG)_43pM{t&V54zHEzCReknKw#X$gNl;~&Wj(M_rI;aY*Mc4=?=heew--0 zBYCzpW}XGcEu5a5fL`p|hLW_(VZ)$lKET%ab{iH54+10l>7?ZBqL`?B?4sGewE|n? zr+ap>JnMYd;shM!?Bhj(TkR7hEcbw|@p)Nb+yeUl;qJ|&q5l8>?-_={td@{eQ`wSb zLiS~dEFonrsncZ!p z;7z-96NfYQ85Vke_L)`^&+N1Ce4F;!c6%}oIZmH_0rFz7+98)v>~E9js|Y}}fqFrX z|7+yMzHZ@9^5SpZ!v8>CoLc%*w;)u$R5kF2ZsF8&^_bZox`pMMY5ylWme=pE>N-2#`n+uFWv zVXd1#U};~sAhzBskhQN{D5+R~E>^p=-jD48bPF;QZeL%>FI0RTRQ|s7bqEI)-x${9 zao-rx5q`AsQeSR)W7J4nd~?ji+d^ogi37DqIo>F-p30+-ujR%x3V=$(w5ksOE>q}{+R9fczZrCU}bxO94E1}Sd`_l z^XXsY1!eTRI+Phsj$l0*NX0F2k@(2F#Qmq0SUYS7zfPv>LIn@NR&bYkU9`# zPn((?jR{^me;v$viGfwD2*PPW1|7jfMwZebQ1&)P0Vfi3GA8(h6IGpo;m;*d(H|$I zA;avxq80^VVrOPK0QhOykOyICegr!|k_*GdbNrBi_z@AT;3)|~F^OYhQpY7^gv3t^ zNCHoZr$r=X1hKNBSSb;#jF{9J2^qPQQu3lQiehqVk_u|4U){p#$9dnmXsT z^bF4F8=f^V)iSuKb-_f}@S@HI6Fs9#h8K+uj7=|?nj0Adv%1+OGmA?WS4=Igm|U?k zv$}T0>e@LAd;P2Kxa$Gx*8@$g@D|tbSFhpK@j)6kp;z!W*YGx0Hg?zS9Io3t8QBMz z*!f&`55rsATHD&&+B;Y~I@>uo**Lk_ID0rcx!Ak9JGy&1IlDT!xVgA_y19GWy7}9= zdO5lioID8b9t1~1kPE@vli=m%?d##|Pat@C`}lhM`uY0$5&VM!0s_4Qg98GCe1pRR z!fpfx28D!#hKBAxRBJj!XgSB6bB)(_OVDvk)bU8xC8X(k-8}D`q3@Te@1J83m}?l6 zXXX`unGj_g5a$vY;}sMc5Jn6PCx-tP|5``n1rsAfBcsEkW5Z*T@X_}j6HAj-p06M*aW;%i7ukXm3G8dyhwZ4mQhYkf83Q>*_Tm0 zbf;k=w`IDem6}JL$!mL`*D+VvJzvnh_~7}MwvG(_7IOan6oAn*mIiGSeoz)7de%EeoVkB?yC{HLP!A7UW^9c_`rIsd`RzsTh= zSR6~(7YqGn<*Q3CMkpEZ|GflyQSbAYSjg1o<&&$wPr8cBr0b)iD!*BI!o7zEhkmp2 zUkmT%n*3JO&U}1h{`;iU7PK<`Ef#9D>d!8j0~EEc;TAb7^T0`WY6Wh#FBY1;C6Tw! z7+yA)i`{1o3#%sH?K6h@uYr^9=n?NTz!K=Tw#?(EdY_MX@14IV(If>hhOV50gUw1V z&w#>!|0P!bf0Hq^(FNn_ACe21@Wf=9`RvP}U(=F+|H=SyYP?#n`Db$h(}p2-eio1F!BHgYIX= ze&z&&^iO_L+cXjV{1A7*Xh?03ks|7P0m(w3ra%2R#_<2gC!Lymit5hX?eo(mO!r^x z9byr*Hc<8Lxvlwzlk1-+ox+FCF?W>m@&Kd!+by!xe{<3qHe7hzBcb%AbI$h1a_xlA z^QETmD?e7LP|00-r=+3rS}$W71iLcn)2On}5~aC5X72fObJFoi*!$D&t3SWf;w1OB z=CY19oWFgRytlJdySn#--Xr;IcVoiy*UznmC%^s+W5|%lf1W$;zc7ZKX5POT!%iW^zZkioJN#=f^nHT=OCF6i_q{$>nkdDY_2b>4({xsBb&K=&ELbyB>3(ec?uqAH(Z z3eoKZBR8&3Z=W$7C=!y}XAIYGli?5c8N*9=*3(P%e=~+=4eJ?{k@f7WEw!8($A}d|W3qa+N49=ne%>ea+w6YZ6v!-DVH$ehS`(m*Sv$ z!;ySk8B1=$-}9a8aL>Pz(J7^x!g?caLSuK~;(2GmS4L8UH|}E)WhW(f0D~s}{&9mc zJ@e-;<8S#E(A*Z)EcHh3Ol=fTg?@s(E4#>oVK2cU9va25oflB_E)g=FxsdRDtXOfg zEK}y8#!bG_e2D`O0mjhGRMa%tY_mu;W!|hu?^P9Fb-CcrhnKosUez>gKAP7&rT^pP zXnCv@qs(LkcQrAJU7zDI5mA9Zf71Nn%khV9KZ{se@Co|zvYdD7AOa5biMA`>sI#z!VFeqKL|8-QSrU-K(ScyN zX%J)iwkCA9Xt2tMp+SdBOm}o132Nb3u~r-%D!q15N3C>Wp)`g(tG1)Svm)pH?0iv& zHNhM_+tN82<6%4{>cqfov0>ebxTIJW-^zFTJKrE#={Wc$LLXGKorAZ|?ojqc1V`LU zrea>KYGsA}`P8jj*H-9I?l;*r# zlif)a6dH+C7i&lPV>-oqFS6;s!gE?=Gaie_>8e;>?m?}zi?JPppf`@OpQ;0K8hX)S zp_ixUWaS!o(6L5XFht)7BHD8IGcF1Qv0IFUX9O~hL~byO-WoDioS1}37r*hF+=&o%|J6&pp~Xw7%gqO^U!%)OSXM)uD9 zqK@LWz(Kk(-|r}e7s?Iws$^D1u(IUz28;9@CsT+*bvf)2v~LVYu&lZ=A?$^%9g1}k zk+Nci?BrEVF~ZvXIdb^(2^!N0UI3tI`oV=G&y7DBT$cb{-@5D&DH1z8bJ&st9URz5 zXT7EyCB4NZh1_^^XfM_I;?f(|$r6G0=7ynIR15vY3huaJgtKvWJ5yTPFLgi>A3{69 zlX+B%r|NyGh!}<~3CChX3y!2Rq;D`~6CirEpim0(4Gt1D%zTXkO(DT4bmmwJiwlA2 zQ4f5B4tqSoa*gh>8W##W7b?JVgE+xth+z}$^&YDA&aCzy4kx;|7E6P&KL zBQuT%Y=nb-rn9lrZBz+t^G0kX!okMf$V(KE`7nz=DN;y2y30KB6ic|Nwyqh)GfMy( zN3z|^h_*Mw>3(*Max>SBjgNn!ZKGike$7Apl$;Ga-pgPzfoU_E+gfRqbYlgFdXBbN z$Fn>$4>8B-@*1%|#ITjiv)v;x@DP|RCs}65NJqL)X{~PvGckl5cb0`A5#-j{YtKz! z`C7w}fQ!$R@srwuT)=_j0KJARb15zUjD@Z-fz1}DdkUSZZV}im?~`Q_y;y5I)oXK( z5^s%l5sh{6pt|G-roDkA9(WJm#wKcHA~rAxM{NkW6rxEWX@VFU>=_@?5GgdMFM&yo z4nhqxC)1$UXsiopqz)~~yBGcn!xlq^uYeGJyn#tQ;TH(EK(D|9B2IRMJ+|F*U_H#O z7!u1s9Hf|#;zeMYE{#%{v@s((#SmCb%~MZh-Kv&NfZ?N+{K0m(^f)633=Lh4vp)r8 zNuYzbCNn0A(zw>-_MA}76!-=RaRkH=L1FRB);&OFT?8S|<8@msAhI;JSrVHj?dDq{ zm>=EK)d-e?w@C;9!?bm|2sTdNJ$Z21Fnsp;>}<(bVAU;%oP};eS+wlsg61JB;{%hn4n#BZgT*hMCoe znNx-nf7P;t(9gS(Sw!f$>nE++PO|UnT8W%9cZMyM<<@ z5Rjh;@IV|(D+|*@9TqiW{^yg)l_t!)n-JP$?$_;tNK=bH_k(ay(jUpbD~w0L|4|I{ zk5-r?!l#aihyx*GK_Ov5ArZ_;3DHwxm{Zu};!-ChWCSE+#3iu6>;)Nrym zEopT_6`Tezc&q9d038x?Iu19K6D`OMWi)NRNEG#cxzGiB9&D84p zRh8r&*A20u4pTJ=6z)=67V87rn zztHgDkPr_0(t~bK(5}z8JnQ*AD-RGFPWaUc1vQ=uYdz#gJrdY17EV3q5TWZ5r{|WW z?{(AAKieoM-#EO;|M#>EtZpTU?WR%X=5du4v6Yt-sx4C*uHI|`hG#$~98M&LMF1l- zP@EHg?RFbJv&S}X&@O+(zF^#;Xv(Sht#j#&^TQ9s$jFG8_?X!E$oNFSHXI$F7?Y43 zo1B`EoC3_!$!Vmdo3~R)Hvz*i>E^9lzlUnzUD>S+V5rW`0OsnPJfK!52Y7Fmo0pT9 zpLaJO=-0{1C*LI(<`)(f6c&O;KBZMU0nL0vFl-G}JXT0ikjrR^Gf{u0y4^wY7J2c60&P zpF=fJtJC{?u6{l+us>Pvx9RM^t^*9fFUNoy9U#K^yFmvaAb*>Ff4{@qH~j)r_kXR- z0j6#q)<1NeVL0NC9*%{dyjj$pBxI1dVNq3}7b$t+xm^NQ=tY9; z(fPc34#)FJNOs4(|z4%u# z43JRYFNXPllI*LC|3l~d@5w$Oq5l7+WS^P0;lGl79L&Ie+5gkWEd0NceZ^(-|7*!U zzS+z~**}wgNy&zP>wN#u@0ZUzJb3rt?3aH;z*d`F3W*HOTM{;_&D-sblC3`tdq_>5$wnF<`&^#tPUkuku$99uWZc%NlZzWX6=v8*IKbaZK?8 z_RBw?jw?hhpBb`D3-f*Lz?tGdrIqFWEW_&yeb~}Z~NtFwbZ}& z%c-^Vg@5js6+aX`0g`=`9*G}IkA{9H`yMyGf3~_mbeW~`B@AiDsujU^c6KblvYf);g zKX<>+DDQ1|yxZH=rZRj+62aB)KnNh&*MN-JqrKbYUZk>JLHn}oLe&H;RM@To$-W{h z=3kX4q->h7OvlLNTnRO-9hGtvE3EaPvkPHcly&kC#>%k6jtyP9nz%dcT52^j123u+WrT z)X`mYUQOlT1tFlrJz_`PlaxBTQA!v+yXdn=cj&R~zB=f${y<8LG&fjR$zlihX0HVn zNa1bLo?oz$VCqN&K~ml^UQ9mi?l*t_m)nKgm-V#4*(ilt{UpPX!<@g!+Gu@48+ zDbNen^(-curu%X{JDkMgGI#}d9zSOKNae)x@x;?{!PB;UwHAA^no7eu&Y-hLZ&!%Oy`#R7tG0%w zAs!PN=hgG>jz8|b>WcaD@aeV1vp3~k)lbw0PhI>B=hN=Yk#V^^lF;H?_{}X&@$)fl zOj9m#eSHIW9Qa zDzNCHv}CG|^wU4ODdEm%e@JGTwdhpNi-7x~{hBez%E77r=VmXzKmKUN#Fta|lzZ-0 z_BQtT;KPuKyb)mj%B*CsiZFQ{oRz`YopV660u`98(W!&<3b{QnC-lUl&oH$rT@Cv2 zq~-SW+vQT3wF4hJoa_7X$fvWX#Kl0V`hgx z>;1ao(V1^q?g@3hJaonLSxxT<-XJ9!X~3QF_)v}Z&uWvSmQMW=Q#C=~+^>HR_UJoe zS=XV`=%AMS$}aP1QI|@x*L9^gzE1;cL#}$9gm_$SU;?Wr^;roz;@g?e)Ms;$>A`$^ zX$gVa-E<8I*qdb)ujMnV{Q9ABZ_}eh>08)d80^?m3*)Jh&L_qyD|AVY@3nbW z@2Q76)wXU+@udZXmV}JIcW5cMS6dkx%3JOI?kr!cpHA~SP%B*#5L)>?1S}V_U=~8t z_Ct!mewhVu$isUG5&Z&gk7WHGXS(pm`zd7+>f)q_d0g^d1(;x9NedBbK9TL+kqV4N z(3WqrS$O3+uPT2R;ZpDD+HilLKrVF|MW@K|?m*riqE5CnlL%xx&hy@cuO6?9^hC7s z?Er@OV6On8S*bK@w(rl9FwR~-=`5F96TbYyum_ouii}|z1h^OWhE}%QBmY>Zx`?Eb zNEV$))`eJ&3EzA3ky5?V{tLl<-2Qt8CE@r5UxgC^!P-7hk*F9EABn}NLFQZD7GnR^J{9rzgEE$6GH(tTTgCl+1a&&NGmBz_2hXYsmNLZgB#JlSi#q~p9H zS|Kj-H`o`GKgvg`#V6!UhO2%BZuh#9;EL=xlhU|;XiSEKr?tFGIWv((o2iN=ya&VF zk53I|i6{t6LpXUf^^#~=sZGMMOo6bF063R!Y>f`n8H==`y13!VIBh3_k{rBqlBiOe zqFYB&nRRv~c(j@ky)b(bD)LcNcz40lRNwmv9H(VKI^p&6A(`ABB=fLs-^7ACw^Pt0 zR%q~|BdkFiak%2gA%aF(&~_?5zpGlD{Q3OS#ricS@7&T7kjD3rQ_6HvS_o2Yaq_`V{a zl1P!N($4+$jzXMb5m>ZHGq|YX_I;g(qP+V>`a4A#vqeUV4@f5-m;^saV7xCI`M`=z z$!zKY{KuG#U9UP-FJ$;^{mb*miQ++_yv~)vw0$GOTw?n zd+n4&epcBFQY?+VBO4K18pXzQ`ouA5V`^_?OPNU9qB5w0xYXw?gNgC+d}^ zqsl3W(r8pRhIjZO>gAORCMndw=L&AGiXBo#$_RYG1vO7bmST}F64@dn9`BG)pA#Q3 zT!IfwJuV-9)ccutg{ZfPLzj{t9f;-0CL+EL>+F7hLKnptP>{=aP|J7N4$vv+LzNt` z%2A@;GMR}px00{1lK)NRksp;D<;+tLQB+WsP)L61h zpUQ?jmCt>ucuJ(4N?FFC04q5%scMvj+8#!llb`D4RvmY(7H_OJI#g+pi@I>=nOVp) zi`-{d8lPF^J_}x_OyaBG;Zf>J)xt2uxpJi0@H2~Y=5>5^Beh2EOAX;vt$#>uU~X-2 zW3BKZ;Ws!mDv3FQ2~~%y`ATGCw`6K1Aiv^K->|5865A1U z9fmwWfK`?=b9`wiIc3^~fzW7moj)i;uBZ`MrOO_rsTS0f>B{tkhWtiA8qg{3^oCLx z>J708<=WJq)R0x)LMOJMb0Jh}W7;WXHntw^+E`cK*aSnh^w)y;sSL_gOPKIi44Smg>2GZLN`Y@#f(L1J3zV7z!_1Trq!p<0KB%!>2{nX<961CT9j^P* z*oOK7uEDkmR=_1mtqZieK?+^#|er9+vt8>4>hpPeo78r(91!Ff5oC^ zhant92#wJ9iOQU=+@7xtr(%&&a8xs{?_tGrB@87Cj@q_=o)g+zzwvy5h$!BD-h=Bi zz#_9kk@R8YTRMUSM>P_9tB8oVpuP`8#3TsLfrDjLARTdiZX{%uGU^Kz(OJ=(HGoJT zK+H5fcO)aT^kM04eP2n)`OvIiq(2=CnyzUC4Bwj$jVIJg)Lmz+i-v z@KU&WuhP8`wLok~xw5Vk`*aAb%jkhjG+17Rb&S9)pE8<7MlKH{JBCNQ(POk>2tO9C z{s<|TGHO6asH-59h@-lP$7ZQaDtE_K!eHueky99EmA8;qA_Vxa_z^#*oHFVNLaK)$ z-DzWPhsU*uqlqM>`dftN@Te^Tss5Ag@=rE*6=sv4^~+RbBNZ(Fg6ZAx_{8w&1bQsx z?s&-C3C*|T%M`d7X`G6M`xuOCiC;@3PlUcjhX0(1KuoB+BMX+tCMjbj#3^rs34if{ zphx31VQ=d0zG-NF)AaUD%g;A}I=5YAy7TIEci43A-8bpUFF6}uej~7Qh4eMSPi#Ah<{-E6NL0=f$@^(dua1}J(PKE93r4)-sKvr z2NIcxS#%m?9HA}*J)Y+so}Z<|B|+dDEA#D?`2|Jb*O1$Pv+K$y@{xs@{Lk@wpYN$63sUDPsb8{J=8KTv5LM($3?x!wVU~hjpNWkBaUnZG>MvON86`Q6?!?Z^t6@W%Yzw2Mvk61u&L+&e;f z>x*BYVW3Ft>ep+KL=3DOhtP*3X$1I&2W%Iav1> zGz1<0m>mT6MtggZLD6ZD4l*MC-d4g99op--}(vI$Z zP}`fkzBhkkZ}HyV=hnTYnZ1?Py|1b(@?jr2@!wrIYPPYBxVMPD6_67Z4r&uSm;+%A zozu%qwvaIOX&=zzEypulVhvI^(IFg%NB7zFfe%U*WhDs0%=Eim=hV&FSIG&62>l3>djI%{*j24OUYLt+0c(<|f!V0QK^xYD7aW_h z1H>-5;uPtLF0ngekZA09r3h#Lt}EAk^;%2V&pjr73p&0%262?T0$0fhMITqr z#1^#Au_cN9sq?-2Uv$3X*-NioOW@ZUucG;}fpqonjLdM6#XV}H93$;$EYA?aDsc4! zB33Q#$j|R9i_N#cq`o67tb7@kLDjy4R|~Ih_O~} zS9xuFwd}fFYSZ4s6BHaHN)xNj#A8QMhaQc_YOo3yVcWYgx09t_$<9&EqSPS!I$t;< z-fJnxQPyXYfCKMPXD`SttS}C?(m+-oYRurg(~5IspVcnVX0BxKyKjtWolTo)ujU;$ ztCgJMh_wFc9)YL&(nA79VCaz~j1)pQTG~)yp=j^vpu(w1 zrmok;K?PkrF+XmCmosGg>T;u9pvOG_u zpU6A9`f@aB+b=CgI^I=5QypWTew#X;rM&(|_>B8YBhR?8Z&xnw-tYlU6*r~D>HakI}nr(D_fd0MoFQeIy2 z&XQigrZ3)&vhw-zRBB2jMl5LBu&iHdb|-j4-b(*x*S^m8RZt~Scuz^*sUS{hs-sUV z2%2wuoUnC4FC&-xc}ecTR>YCRDnTC~W<-CREh!neW&dtz{2Ta$_T8QC^wD|orAKd` z%DLqOI$w{*lN;NWSCjU2zQ0807cj;+#34z!iBfN*Pc1H zhEeOysXxA2BaY5&ulA_jI9(R!=J)*<6yHV@R{NO({2ks074EUs;h1G90iV8J2MNlz zDI$g=cslXSXX1tSz@A}T5Nj4)yEbM8B13WmjzO+YgS!TM>kAAKw<85_D9YK529GOno0y##&S)#GaG2UWY&W1N(q6h7rP^ zc&?~Q@1j(c>}LwuVo)joMPNKrcoFIVi2^&2V-L#jDd^j%(gRMz?WLUM^?+3*r;yVS z+=`yZ%zvCqt`v!lQOLt$I}psb1Q;8(U-ZOqD(aED#dPUOmv^PIyP_SH3ublgUl~Ua zL>r!D1>ZeDVBpx@h(57i`hxkuvAYkXOT`P$4liI$@==09D$5ENSwDPLh^Ke54bMh$ zX+k;f8qI0UZ0qS)Er5-vu_9waWwe13%hf^w#t-&2Le|1^qhO=^Am7}NVC@nSQ|ELE z8natn!GjbVrx%!pF#)~w!VB*Av_eLS`c5|XyqHd|Lg{#;F^nS8uLS#rn4+hAf^WJM zB2hMiaM$cWKn?>-wL50aRygj48qN+OZFhB{LO^LIt*7+j3JjsMAVa&Gtd0Cm{03aLCvBOVAf@X)$PXVc~u7H1pj!msAFCC!+lZd3mE}k2*?~(k%$YqJ^URB zt$-7?q+Tg~XhSYEJ@Z|YdIf{+*?@$z9EhhGcapB4lhRxF#)}yvPs3>Ok$hS@gj>>e zG-kQi-gWjw0jc+TGYsDqJo1Xuq{UvHNZTS~VqLRT;CKP;iMklAWuNC?K6I>XHZ`*{ z%LyGqI7CMjD19Ty&LlXxf2)0T`)b84rnfjDrPsq@QR~N4k1;Nq98@7qb~0n#Y!FEY z8}N^Pb2!=X3wK^O#$;%TPKb^2G``LvAfILWEzKP93>q&T7h=sU7*?OS(spBauE5Vg zM&u2KD@Mm&?bkN{!B7VF;BOw;XTpY$EtvKF&Z8`N92m$&`GhV&QD>>b6m)wYKG&w3Y1_jxc7`kprw)<)MV?$Vvd=Cm>M-u zl1KIHrg>zCO#JRzpeN@LPl{ zf3W65r!1bsqjy`j z2TWR-a>MYTf?9|*JAd4or4hIC8td62JmVoM z4q8NIH8VVU{o$RMVC&Z1iT?a=L#r9f>h~}_IE^IoR;REAJDY*dv9y}0u1>82gtyep zu5N(p#<-;Lr$c$_TqK6$d?PFxBFc_M**@DqGUrOkji0}GZhq@f**igHu;Ty4NQErz z*K0BQQlSF}AtqE-69jWK71l`&yNP3)qrRk2;gB};#(i6cBBYG^$QF*>r0qZj38CD^ zGndR|*LJX|&2Z-gZ>Rd~T2tg9D&I!i(F!EbKpTH`fh~^vyAo#>xLr_R>KMNUZ(cGh zR>M?;Kl$}uCeuX?p)rl(=eaDsBw7LIfvE%jG2^vXqF- z?&7q_HQdm`?sO`^wK$byS&d@-17qw#amJ*Rl3rbJorq`LhzC!CaiD0GUPjkxMrCT0 z8Yo(g8pTmpbX`DO;1bblB*W@ZH)m)pn+0-1*FgF=|js>Dp$EYT+qeO{P#Y0pnQ5;)DeoRDIb#GEiMsFIVkHpn? zQ=spbOy6zIzI2nm47)y{nk*~2FFUW>mZ8fpy3IdS+uaE2Kmwprzw%b1O{PZ z#4R*~O+54U>=-?f$Vfbs%T|mYF3J|qEUfdqT#Ut>%&a96FB8vv4VPRg&|f9f|5UTT z+NA%PU4M;le{FPsqfs(YK_hz^VqM+GnI2<3smnVFc36y+Blov)McQXGi;?@=mGzk> zBVV;MbZP1{kzzb3kS;usOF2kF_RbLb}wG} zzLVw~`&B%HwZ%FLEj21`)fMLb-7G1itcxM?@^&3EW~^w3uN(00+# zPW8}_&Y|70p`UX@dmBT)Aj6;o!(hQ-hGqj_H%__wex_vuq;hO%b}U;Ua|oG<)gsE< zD9*f>Xab7!k%tmUOs^G;1gOjeP!wacfh;Z73j{S68R5Je39HQf0 zlhT5TQ9!LkC^0hZcM1qVm|Qc8-0#)<FfByFL<*f0`S<||CYw88R&OiBO zQo3bU|I4!F7e1%W?@5pMlWD)ILBINOyOv+>)myGDYtGHT{HnkBwaj|gZh5!-iVzfv z5VX#-5sI+M%d?57h!m=bw64gpZp*PIM#o0QCICQG3~(p@Nkb*3kdjEZQ%Sc{Zl7$eRTCT>+ zQ+4|}+ay1UtJ(gm>xY4+4(qJ&Uk&gj&&BuqwdVQR7N`5EzqS^njwG0~SE~$o;{itGOFftM`T(sE#v744VR9OgGr>tUxhSYK*XCpw_%u zV7=>C_IX}(2ySy&4ny?0zjLo>8q}I>p z-T2FJ{+ol^H=NICmY*lpDWw~ul*gGbr9Ja^Z6524`ncN?VLufy7sKR3qA({?$Q zKo^oWrvp}-HzpZT{om)ZJomO2OP>6dKH^DJV*0=~7FEZU&9E!GSl405Kl3Fp3-YC8a08xlP9RsVl2(F2rJ?%~DK1p5UYqe%a*C^KBSY_VLsq zc@1HA>t0vor~{|AwD>K{&Ru1=bW^+Z!O2TyJ^XfUq;6^iUm70fV0VkB%4GJGIcuLv z14rhF)hxn9{rOooMmB$|`@-rcpL^Wl$Vk#JQJm--^l$ijm!4dr{CE0jphWfkYht*= zNT4O$TqU0-&VG(|Ug0SW#oL#`E8gk6XIX?g+x^0W4;Cfm?-<`+*8qEyN~J;xJ;EaQA2e*m zXx?~u?wXkCO;!2N(sRU%32YrG&bOrumrjp5Vmk_O%MZ<>c9IL;v9k%fpOkRJ8|T&d zmi$OAw_4DfXqei39QdMK@eqB81+rneJ*lM*JXtwXZ28TIk(xPc(Gd9>)*gJfq*AV&w+jBSW@201hf%+v>g2x@ovo1x|I~ zJwwzr>)0M3!s)0#%lBrhTYj)IHDF-&$d9ca9I}cOr$2Z6&~~qmVb!fHfP+%n?lYRN zWWa!oBy5sV%s*okx^E_mglz9~P}x2D00*@_;AH5tmwtd?(|SeWXgj(9Rbh>E=2w3a zIQTUG`@n+gkL@AiUKL;2k^^=A{^4`+pi?!|Nvx2a5mIV(k+8uhJC1pDPo& zl{@$+dNmlt3_f4V-5D!2eD;u&>Y#C+YUz{R-CxWeb5QC8^uF1%#{nG&zp#=~_ zjH0BX`dOY8KqA0Ja>XnCcs-n2Qw@Ic`Q-gN1|Mp~YV-oqQ#s=GD6+P$$6&=98Ztb= zts^mL)^2N5^?E+FwrRm&^}6|+@eNL$p*b+hKTjit{lDtni*CG(nOtF{hl9aH$70R^jpkfiKrs1rbTl8D{MC{aQV1lx&@@a{t4=Cs?t zT*ZB(HiRs~zFe35@i{5)o8FLes@&d%Xg;6!?9ruOJp7e$AB>Oo4w{EQ9QE9rJ@ISz zRa$Fj<H$7PgE!wyYvI;1+}p#}LI#Xe=g3 zI+nqn&M4c>dUj-j;;LeZjzvh}e$AMHZ5o zrfK1?slkthVV^O`yOgNcG~@#+XiyGE!!eHXu)W3Nw15h99a~9x9MG#fWfaXCAG|^h zMoh+h{6>rmu(hPJyk7{TIodiASkDYctbC7v6C!ncK_pQ0xvfyC;>Z;=Fdnmd>%cU|$_5(IW1132}@k%t9xOkvGh0F@`MS zjxP<9m5sI6v7HG>l+KKGjVB%{jm&ULs9KCo4-EYjK!l0dk|^;~u~CY>QN_Zxq|#{b zt%UBLP&hf^>0%3+c_+cx2PA6q4AazVGrFkp#%VcVOZ~Tb7?Yc292@?T=Vn0Q%}-8o+zK}jo@DFYimhCXY?4pP zUrbHjN@&zc7T!+ND!rxtIvKQ`e2@3`wR#t6XKzbrghFgcLr+KxG_+ki6sMbXmNg9Y zDU-`N?lmp$EhYV+LVS^2vUgpKk#kxCZ^{)KY^5~$xk#!QYvc+!)CR{EHpx0@9v!-! zk^ae%rO!5ZB1qv|kbH3r;|5|;KI=I&M(1RDVNlu%CQ{lW&ZIX^TPHfcj!4Xj-?qs1 z(!Dd_l(E7RQ`Q$3!kd#knVzAL=i;BEoEexDV4DgJ;>vbBteZF7=il9D>zl>uP7Q>U z148$NStiRIjSt?Xu?CLz*9_ABlri$B66}-*MU9hiC&~Kh`CU=Fz*a>XO2W zMJw?ggRR{^rD0kfV{;7o`vnwf!ve3?0uLC%6I|%g%1V)fS z_TQKs2*p6HxzlGR^Qq#GuUsZ#-PN?gU7%ts^J14fC63RFJ*G-VGyP(ON@i@}d+T&I zQMqDQ6YI_xt2)8U%2?}DbhcJB{_eAD0{&&$cgpTG{70>M(L-yYSkIaE2M6%*O{}V@ zaPdksV>{lA69*f@>VFa_cX$Ab(KHR-+^;p?=b-+oHDB&DkLE6&bU?LICHss}Z@xkt zG?~yKra@msCkAqN5#6Lcm^xRn1=oLaP>oL&%C%0;i?@?e-FV6t88(JN z)u6%R7{ojg(!~j10X5(|SmZpG>7Wrq7bj$5m|)`itm_1>n*?SbW?Le| z`NnEIe$)^S)p{${`dZe$>`?z;1KuH{293Z#j&juq)lC6&5LI@Wl|T3>tI!bfmKtx2 z8J=JfHe;UWDRoQ0X6vc)dPRlT5Fp_v;OhiL9UW>j2e~ziG^EKzpM`}pve1nXwZ_e_ zHbR;wbDO6co2TD2zx&Zl>zA*WmMDiIc0h;&G zW1`MNzFW3(5oPKyGNl;Q8zVX9P%29vm92>ipQa*rsc8PT3$qgCuHf&47H)h?Bav~I zgnCW|H_)YCP++4pEgA#TJioLTdTr?VChuFv~*T|#|M zoZa%xjejiwaZz;tu>gFGTJXOy-T$A2{n+^dUn4uG;NRPRe|-1%Fw-GPyw7a&OcX9Cd8%g5uL?;l?pU`pdloc+DB3w+}n0CWKX zYnoE_qDsyZAWqZyuwqoYYVli{=7QV=tZ9hA5bwZH-@q`S9eBI43kmlN0rG(nfU-X@ zJnCNxf)TL^|285Rmz)N41cABT-&2CAnc078f*HSSf| zT8*VuWO*+R$A|jU6ozaJaEMQ4BjN5|<^2p=SoR^c#Y$r<{m)hP8=)o$ern_uGYm#jAY|$RMMA*Z$Cbh(pKsbl^FQ95LJ5wTufN-VZ05a>etUNqZW^^1f4BX*Ur~PV2iksWA)Y^f zdv~ZYtA2ZTl-&BI1inQ_r5P|V$N}CRLPTuyZ|~08M6@ib5C$3Z!~o#kiA>hGLxV(w zoyPm%hHt;eK0OZeCVz!<@mk_8hB_W&8sOd0Fl6Vi7<|5^f>nW(CR#E>Q*)%F>^lz- zMRO2&V((2oO51xsyVB3V<9q6zpPNzNG!?H=v*5Z~rdKE({&on%w*fF&-aQrw7b9BQ zZQBnsP+R#l4=sV}oQ3&a2h?TU2eX(lNPyqK=ha;G+wxU$=FtIvF4+JLowtP(nX#dWWf|A zif!Q`P9UiDo}jA3pRwi$Ul-QPFXe$_SRp~BY5s}a$Rn(z?1*@{-;V{<87Oa0N3#1G zL?&s7reWVf9&NwPW($z7t?8t_4GYl*6kH;E(b7)ftdp#$mDxTEE^7YrJ{t}=Kwuhn znCkNo)Cqa%h=RE{1R@i5z;K|g%hC;!FbiCp%`@!+J1dn6A2mKj?8YYvP~TWz#n8eE zs_=^{qYm_64Jh&|Ccq_EMTvC0@f^X7B+TT}=9+^La@KWPzh|XRUIRK_jii|sHhH$Q zSm>tqS(SSaQ8|&T;N{lSx9gwL7;}&D9HNY1DSRAQgq6=_DmF60SFMOn7yXzD4H{AM zZSlX(jy3Bi)_-2&5}IFA{*jDAFed5aUfI;Dx~l#*JIegsM5AU67YTg$T$;BJ5n&19 zZD%FrPU>fa86lCRQsaA8L)gBi_G{#YNd>;kgHTJ!SlsP?UxSGcqu-10Ddre41=`g7 z-QGzMQN`cGq963vEX2ng{2ajYpaUYAdp?vhY$29H`)dER8amk=aAVR%3API2p|02X z#CH3t;1H2fly(`wN`s@oVsA%$&fgkQ#-1;f~VJXLJvdp zTN_Y>p!dR79bv30&LS73_eg91HBF@rfrsb9$1Tx@YP}=Rqobweh|^X)@G*M6XYjtu zSrZ<)UFcloa$djq^*QVSr2cd9lH;uXv+HrNX7gLhS=ZJZe63>?m*x#Q#q-WJJj*L4 z&-F+o-?edsXo{K8C%V8pgI~!c3-eW z&T8*OpB5)B@0<5|ke&#Cvvs}R(<0-&I&E>bWbncI325_z>qSuQMUpSsXjz~8=eGh#!{QwObM;vFr1VxL9%a&xRe z_{i|+do&TvA_~@9LXE@g(}AT6k~Y3QsdqomU%vY__eGfH%ww__>qoxhT)lHPnWLO4 zmg||<7?vwRp!^#@1k8{_nG-MRlnztI_E^PHz1xj#A+g6d0o?@-dvnH zFuB@Nn;~{xJO;6R?OZ+4kTy<<>e`vkYO}&$$Pl})eaUCv9iO>;K6Tr5u@NNmjGDDc zfcf7iv;UM}t5_)fdCN}4&5_C6`{^z#W-@y&PWwq}v6i&jF_M;bU7; zbC-5ApOkzjAx69J41v3^yq{|N-D9=!c5|J0?0aJY_6_C@N;-29ar2W(auecvS4!p= z$?A8V@8@skcUWzAg!MK!(D@C_c5X%(rynf=1>^2^AV#9?C|OADtW95_XDUm;?u&*ES7TPDdx*PC?8nTM4ow^vaIArjJ+(mk; zf&Eiw1E%IgSosK)G~M#PIDa;axW65=mUI*JiY0dM%;rnJuVexG0n$5x8waThZ2>~=S|4!V67Rat&JnY z?Ra(Ss|xdXMh28scz)B2$$cLF?REH3j_(~UyK@#B>b^Jl+ZsXVHe{~$X7v$L^=}!# z;1f-pSaTcGi?}}4$Yk?4i4Re+H;3?EhjJj*va|s$?|eR zntksw`ZKm!LNa9$M;mrsY+<+`Tq+CS$GJyUsYYq;#Fvw2rY63xCUI-SO6UWJ?YO5e z_c>RMr|0!!4X|a9vbioWM-MiL4r7Zrxl0wu$coQqsW`l(FRk5}r{5^0cbR7-FJ&l@Zwk-laLKoX%a{NQKz7M>Mn*e<0`uv7CyxSN z;{vzF0&e00vCaa7e7-om@Wu}=>7i2?({0;t$bv|}n<2lkh+eX&k>!Fey+vty4PVQ974Wy3km$9~`=cOdNp=|a{CL?WEtZHX?uSW;RHILfL-*RD1cFshhAPCSLF?mXQ3wfx#WE-6TK7SAxzECG zQP2ZXJj15ybBQW_TuGBfsF{L7Gx(?G5L}1TFwNea0 zUZXU&b2N81HT5kbGIKP<8K8}|aBXACJ@gT(&heOSydo>WlmEygq2Yao+yvHvOi#)BP8PVL{)OlAIm>?#`PeLQwg_lh#-XPi? zL)+(3Z~^7uX(-h0xC?g(Rqz;cFle0fqHzU=lM&T0=-+cqDlcW-44BBqQq`o zgwC(_`3h;WE|oQ;LWfr&zPi}EIpFRJNFE0s*A}*{P}eR)2WxTFPI1$GYS(@&ayO@9 zg}cLQxNL6~;$+=-a14=qh83$jz!iYA)Z6W#Tk**rGHTFvzzwOzZ4O=Pk9^b9kkT_! zE9|gZH&KCZ@TS4l9zvEc?5Wxql-B&drxUXntBnKiz@t$xzu)RqI7PK$B=eOx3};gT zgGd)|N(jS+6MDpBj9~?_Qo!0AFB`9L&n*!~4y#s-m+iM>Uxk2HI0vaJx(=qsxR;<6 zsvT6^IE9F2<_a7xh3Y5PbqC+a+Hs+;4Vs2lt5z|Z4-Ce3ea9{#H*vkgB3Ut&q=F^~ zDcIe{4SP9gnYgawh;b*5eqfas-7XxQS&QB*95V!s!Vr-};9Xkx>@nc<2#)QcV}^3z z1S|G$P~jfnKm}&TlAD`$85^K@jr(EaI8O$Jbq600cO-rmX3U>h-kaI`J|<>U(eOc7 zmb<)dU$Z?GPc!|aK;7ic)Z~HaN2;jlrqpL+LLw&NBi^cwg(!`k<7M7G!tI_Thu^Vw zQlW^eK>qaEgDKU61xOM`b7jRuO4>vi(7X}hUywO(Ja(N$_3wGLxsRr>e>VBvz;OE7@zRQ?LYnbD4R;8P z&r2OxHANRUG{t{a83)2ylngQQk{IposIijdM4hF7t zS67Fe5*Cq5%a}ibA7rKX?Lz;^WM=mC-Z7S*^>mTsluLM*RG22-@>JZoFyr;|TIq__ zPvM5}8LN`jqJx$5mQ{9W$Bpr)#inty@DasQtU|!WAiQxS)Wtfw-n6{YNUevLA(G`& z*+u*DpnYk)rCL%H4^0WLNfg@wu?Al$n?tPaw2$mfp)0RIhhW$SG+Tx@lk}~hXs)_n zajYNVZ1&-ON-3$Bfq@RE7PF`}Oz~#9%7kB`|PKFx=d1YS@iM z{DZZf;!2W?cCCZYzbtE0BDB&JJCc7)UruQsT;gWaAXi6)Wmlk4LQ5elTLL#@V4=B# zrz0uC)8x-9E}pFKR%;jy2}cSqx~8twlqtt&K%GZWU6;$E7Wdh2_9db0UKo`Fx(9-u z2cK3!yE$m2EeF9SFBeON*AL64hEebN-wb?xh1RB8QGsZd%^amV#+*GE-SY+M9pZiO zKCX&bFdLe1NrTFapc>e(xQwC(WHuGscfM6^Z0Bl}_n+;u@8pR*Quk6w4cTc!g)pq5W=2veYcli!&i$vrP3|wemROh;CO8U^Qryxu?z9r4Mq9W=y<86bKohhqBuu!PK=zNgfkLuP9yibaUP0%RVVwC7L z#UA)!#uqA4tXb-+$jl8X{7Qx4RsV_`SQ9kmxSY@H3i&B5K3g~v+JMp_Mw{VuFu6w1 zZ`jA`aIm0PdajSS)?`nCXK= zKH9yyp*hEp$|A!)E|Z-;cvE?olf6Aod|uSkmF+roEZl*y%!7c(j~3Lw8uf-#iv&<< ze={D8zx&q$kfY(v4JNhDiTPxn(tGK2ogbDnrFv}v)Gto07pet6^`^gYRUjXs!dax& zJ-1))3BMzgq07IyFp>@|0QD}Nc0WG5*O!t0E!G|?Vu5u>|EJrx&m*tuGW4%KP7jvr zMeh7UVr$S44EDW$`Rm=yHAX8Iwx;su>z0pw=JDHdTcP2)-_vf3+dX$rI4=sL2i*MoG_)R)pdlwP0*vUE(v zm9h+xJdUy#=6rq>F;wC#DbkD@Rq`C=#sqSA>o?U!IsYsGr%Mzbj!6;;JeW1ER^lyH zyj=h)-W(_i9(6xdx!K;V9^?N3;!zdDVj5MEz+aA0l_E2#nSc=Z^GuRc=hdhye2?RK zs)XHK^HfEo#qp_{%p;h_Qx&Nn;_8|v&qg#}`ahcau9H{$e9pM%k)~c`b*<)0mBmL| zhJhpdny(@;qP0vCO%j-l-`Cb^TNL1t>R4&#J$_;Hw59HaT0I7@u0jiwrn=Pb6*H3R__1rJ~>h(Q4(s)1d9RUkK+8-Emie6aEeBB8AnJNQ+vQvD+z))j8qhPbQ z$aOiEUcOiRoLfkVa1qRg@d%kM9^+V*tuW(wbjb#jM79_Frsw+k4W>QDz5Gv7U03+c z-WS|#@NXx2F<&;sbFuI7<@%fI%w)f>o1jNBqsz-w+@ETsPXzL}chZ$UJ#~n&9$4+u9EKJ)_B9{y>`Qkprum#SVKb zK>-xH1P-A#O`=u2*9=))iwod1^P#2AY6Qo=oHGn0Wydqq8}EL}qLk)zzKUW&Uw9FO z{$z51Iriyfv~-Rih>SJXMc5)6{+ymapW3u6b2HURNXKTi>Ig|)*YUW zwkB3Wqq$%|bn>JNQyZv}_Ls@(P2GE}k9KoF zER2aGg;+EIwjWiX^!*_FXVq}Pmk?xvkYHBD&YS^vl3*m*D?*GjnIR0KrWL;Agz|%r z+Q&ig$7@_&#nSUGU%{B^osQASu1BI;cq75w)Qmiagq41s$9l%BWDb&V^$XF>b6??y zVP}d4^`+C1I#@Dj7?H1aOCCG3km!oS@q#9x*aAM(JLXc1mX)EyQc|=U)_wOLL`xK& z4W$NMbpPq$zy(|JbC;|md~eBX1nwAHz)AlrEQSvRfzLd^D8?he1CMYDh{7q#eEyr zg}YYc!~dCI#iO$e@*cYYzB_^IHaYeFSIw4?Ju2L7%ZSDd#v)46IBv3qMw8`jMzMN7 z)bGJ`HW`U2|GJziM-&}RVw1qHNU8_{qXtf1VZiKq|KStB z;QClpT2lF`jM{Vgr<%9g)o0p&l&Ts!2G3s@X&C@-vnIgXte%O*OEW72bL&@Dc4l_3 zEghV!9Gn4T>hH%`PbW_=mp2ID-PPUe_T3d21pqIuo<9C>eFMGx0=)c#5dp!#YpQQ> zIB=y8ys7$!MgY#z;K-Qp$k?!`7{FN?9up6|rbfjj#>OYdCMMrHOOsP?-%(R;wWUev znZT`n>ig{UtelMOJit?$lV6aPR|u#|a|%A>7Z&9e78ev17ZjHkmXsBhmY0@S{C+j9 zDy^snUQKVGOl#|a_fo)CS_{-ce&6la)HmF|nj!&PX=6iUQ$ur0Q%hS@Yul~1w6(Rl zt-YnKqqV)GwWG7Wvl}RaboKOh_4al5_WkLC01DH-fx-XwG&(Xm446zOCja>&3PjvL z&dmPhGM!(T2k!U(yoD|;uK-O#;3f38(R6KX19$`dpZEMI|NjSwzTKd>{`Isg$PTVS z{EOUGSVPuu6%#@!9zsQ-jy@1euavEe?U*-|$Sqd~8K7exiFwRhD9QiSI517r7xS8J z>a%i^q!rFJvW9IeQ|6_#v%E9K2N5FV*r*Zg~xwH3atWCu0Ckm!{suzgVeARmxyKvPfmTr617bd+;;Yj^ure?8yu(p_g?L^T7(J6uQ6$cF+gd|?eT7*m8Z0& z?)wm`x*n)A)ul-`!`;j6f=p%Box*xG0Yb3%etR!wVZ^r{%o|DBsxH=uY1kyLcTklt zs|hVUhF*{xbzd~uNNqq=!LtnFd8KUnL&Bgl=`3!@}<3?komnecr=AFKvTMEbiaiEQ zU;4&BQILv2om3F=?UDkJ7Fe3+NQLR`Qm(AHSBY$cA&8trljN)|F2|FfCB69{vJR!x& z0X##y%e}e8gmgbqbDk`$V{qf%w20xxirRi3FVPt}g=YMOsZ$7U-apx|jpe%DF3`M3HtmIzEdfmd z(h(#%#Pn$Wf~%;#cM#SFehZ;dYW;9pSd}lMxg~07hHX5Te9W3x;CIMP9Izz8C znn;)tv8e$nz5X^<0JRFC1#Fcm21cmjFz$OJh+>EyNX`z1N7G9xW)r%<PdSn zlT04QM=e`&_8$}khclDeoh@Wr=Y1o0ozNfEq7$-T%I6%eVdE^LsGPOSaY;TanqnN# zz#a5Ybnxq{^A=nc_~U| zU5`^nwP&ncWLA^Pm@`>)^Ea%#5|#nZ(3AJEQblGGs{U0OwHeSy9mL`fwCl6iiS4Pk zxaq8BIo3WpU3TwSNPQdYC9O%}B?*>5r_^>-KWlu+^hHo9DnRSo!#s$TnRT_!w3e+# zUAIY*ton<^!;sC`&2T0qimOGncTX|3M~>b$puF5YC2KmS3Kj?t4N+%B!T7Osq*}eG z%lgFCZc^96XA0-}@hMRqQ9yxTaB2W(W4dbrO!seMDX$DkKDjaF`8oJK;dlW*GZ^5L#*XwB+I)H{n);-$I8tU( z=TR(Z%+KYUlG4HuhRn$X;7Y7xZ9U?^B*w*-vbWd=79g^@q#Y8b zH+yg9;EQ4F6kDjw#>5M_+`UZF~Bw2tk3Xj30 zNF7fC_cD)?*Fp}4vw1R`qS{$2U1j;>lAuMZ(XvjW>cBc{S#I2+!Xl^M(!;!lO8B1e zqDOj2&rWo72*yKm{!i-EhnCSHlkRpX%PMm=cCW1#)X+#O)B+0G&}gwV+-NbDZ#W#uSA*Mlus1nm|ydQDwdw=2( zH7ncFd2(R}GQdHBJwOc*l|rN9J{62_dGUDtQ0s&S4njU*B%noM=QKn#F76yI84-{g zSt#j0m6|J;Lolg2pme>2f6XycQ;rlM?fbTc2GT-+IK7yM%`#33MVfaQ;xA`XEq;`^ zw(LKFUOgJQIn^y|IdB-ey0i1{tOdU{{9QTo8s&TG?oX3n6Wg*kt%5Jc$)dj(5MS?_ znO~|C;+)psj9njk-fL)v-Q|0~E*F2@Nau>& zoQ?guQIP+2Lxw=(L)=G0fZPz^B!osM56&F0(ud)bQ)7~Q6Ki>sYEeVnyx~Z1szOSN zId58WA9`~b5uXpUn-8&;4=d7#lMlf@=fh3z`{T^#ftK%Mt#>?bzNBEx;Vipp+C~Jr{6L8DL8u=$LfJlrPZ5E%1$cpc^vq4Iiz?Tp)rxNacH=k5*8C zEZL2{TTlox2+#0s1eng^JSgUz-kdKuVf#)EPe39v_>v$v?L7E+EjW`eg*3+qRQ zg=K{epN9pmg^lxt|DX$4wUIuG}9Ad~BavGfzr(2=rKk}_sRuy{uV zOc0r(5}8L6S<#W&X2H+4BLt#}V4MUCOzaRNn zEt17B>Xif8rfdXrKa9Kqoe712dIxsrBASpcCQmGe5jzIWAqFoi2E8MOjg6XX;3k?w zo8W$MOo3V~rg!XJcLD)^vL_cXYKs^e?6`aU1R^`JAi6jLf*1z=Sg=D}7}L@%k6>1{4WK{0YX|38wA|=E(_`4GGrs3APsr_7sWv)$xwni7xJm zZpn!r4T*2&6W?7VA}Er4_>=s!lLFk6f|8R$8j`~1lOisXq9~GM_><$blM~#NlaiBD z8j{oIlQS-oGbvKC`BQSWQ}W$Y3X@Zc8d6H;Q_3z@n30vZw^I z$-bhZt!1jUV}aST85go)hFRS394>(zJc69ZDVaPeIT#K(yhS;}jp#y_IU>6`z%X!S zHcjHvU#cieE+t2yC{sy3N5wLGIWSjk!C%26PZFN1)0ii|kf%SGYaozstdno*aXV_T zY|OV_$hW=Bw}%%v3KTf$6u5X4xTO?$G#0#BD0p{SfPfeJ2o(DI=@bTd6b7XfhBOw2 zEfhvv7DmB8#0Y$d)A^9FOZVL4e~cP*it^b$%1|0$#D`Ev8ved zE?IH4m$CQfi@A5=u)K?rI&t|9#Yz?gU4yZX1aUR;adq+p10e*B?6C@RC8O|?b^)?~ zc4m}sQA8e!F8bL&{0f+u#Q(w}AP{mW6b`|s1b_q#MnynC{Rc|`K;l24h`)0PZb2~s zLfoE@%d6ZTjw?R}PR0Qs0ni8_{{kF~t7z;0#U%8Mp6UO-7r(_4f1Ql~ArmjntN}P- zXkiQR2@`7vQ(NHc2!IL;dnX|9V&&-a=X~7G<@fpcYY%%@PX{+o;C3897r^w!ZxDflcE3vL1J=DVoF?M3II9cl2YRS!8zhnexHn|y$5JV>if);_gMh& z`0HdmI~Twn?{o73@&O!<{~;gQ1s`$?ZbPU5`~XrdxA5cESa8cfipnZ(Yc1uKr4_*K zcvWfTEd>FxEdU6quBol6sjK>ZKK@_vmVdC2x`rko;eu?qg(AqNW&nybHn;wRi`*7n z{#=s-Xau+*2ha#`L=K#fcXs}DJN|b-(%0XA%SihF4I}y8dzk=8$@t{t#MIP(=Ouqf zCcqInKuvDJ$zMn0064iNC$}k>+YgX~0ocj<25>w6FD2IhH_!=yBGUgt5z7AoMPy<^ z;I}B^!M~!2hTkaS(JhK#{EsN&*?&e6-->$c?f-!yi2HW`2Z|u-9lGt9M=^*zSNz+R zxmi(+L@0nFcvf!x3V)#pnUsv%y6b%9>%BiHBH0f24&YaiUhV&lA}*{p#&Z;S51ap7 znMd-s03Gv~`agA7_vzKC;+MZpZ~Y1zLoWwgTd%LMzTBdSHWvUz6lVNE5v8{%0&ra2 zq6j{607b~A{y`C3wCG5^W&lN~?)GfPvDLXqJ{p*#^?jfW%c8<9z~5EU-&APfve^N#e7tb;(Df=gtM9DhV?;Zd9y~y9cHEm2t=uj$5!fw4+=!#D`SC^}GRgBb4%Q^u=YEQd zzeFa`4kvM~4enOTwHEEa6<1o9WTnZ>mAb#e=Mc`sWPTh-l#g5w=gr&Z9;z=hZYpI> z08cAsOY&ufrR#cNi__17H|6U5^VP$N%%V0??=8Ne3nS9=o3_ncImt$aqie?~CepyF z%6aPxxe3b(^5HS0_*m@S6rdK|PP!`r;3=K%bJGz8C(`0B{RBP7ci*9zW_{HH+gJ>F z$ZK3V9_2Ud9d(QQ>%pQEkf(A53pjp?46R_0WYdw+u6Jq^ac3w|hPi4XkyYkN_oJS| z%pjr!a?WusPV@Gj$I8<_1EP|vYf2A748AGce4sbPLA#?oOnA3zjMb6nfgx>GIiqvt zswq!Y5^43+8ClVNtM0l^W6!#Wk9qVI zrh01*yzeTnial!9i?C6s;S>4}f%?}~sW--&NA*0eu^KPyh1ab66~JY^l@etn2=9XL z2c8s&ww-69?!E~yenN$exE_Ym?F@!u4Fu+5F3^d2hjX|29Ey15;AT4cWcwJY+A)e& z^gb}9jnO~0dXWhpsEaE=jbelN&{KeB-vzR@Q}}`Xzb(mW89;n2G7-uM-;ZzIZb-Lw$f`keT|5qbQZ!f;#hXCIQN$N=y zU#DwcGIkiN^Dz);z$959YBonYud>MLWNG{&gQIxHh*;byvzkY+J=_>^reK6LqP{BR zCq@|Q_F^n33@?~a0*Iz*d%2#dL^5bI$d$~7>CQO@N+UMf(kcR@a>ZyRxjW8mCz_s^ z;t(jqF!4jyK+5nb_eF#WbsBf`qxBB#=Kkl5^%pdatbQ@8!=b8RwNk4SAF_#x=|^ud zdE|l~#OW<1@V=V>8z)tPN^cm^u!FGqr9cw+@kDfJXU{64G7mlMrxD9(_BaC_;oyv8 z40^^jkd206WQ?lhbn{w+h{h1HzZ(YUI{7_3Hv>{-MA~LWW%Z-M_6$IR&FCk_Y`fqj zxHi0Fo|27W1nGu{gM%qk#3aNeIpU5PO{UcEbJOpb44Ky^B{Q?;=qS?$km?S-AnQ4;hwlJ&*HD^Ocs+f$Qkmnu*GpUS z#tq})wuWg6dV#WMjdPzBoa?Qk_C3y;PS(oY(ot5vrPNDoe71E)gL!{%B$L>AR{k2z z9&y@w)(Q?ea+wv3xU7-|g{%6$^r#4?DZy;_9!K%UOQS}?bz_7+=Vr^G)xCbM$;vj@ z&HlJK1eC*!vawzMR*rbBmGitkT=qDalFA@P5{X4rR^gu>x~8Pc$82ft2WCfKhh33z zQ?%Y!lwYEx5A5#05A4XFFTt5#VhzY19)wv?5i@OQ^$9^MBW0GzIPe>KTD>16y*4so zDeoQrNbvo}H(2oV){Is^yuTvw;hR8dd#yh2{_pG{DloK5o6&Oh*cY1$Q{9>#0}ei6 zmn8^5LnlYofmWi^M|}}KqG+eoe;CHQZ-^!$*5x_VPQ=%YgAqzXon4CaH$djnojnT?D)UOtfpSJxNQnA_9KNDKc zw>^z075-L-{__j2%voWv?H<(;`JQ4L(!ok`w*+f_>ge>%;zY*xpjR2kyr9i_Q z;zoUo{H4f5nM+k{ZTa^#7LQLE<@{$hVP`KCL@?S|f`7!~n^TvQUv#}}y!<%qgsJ)I zswAhedyDS!uwr38EYBu-<4rK|}7+7|hq?R1LZ;pCxpNM*LVnK<<^_jK| zPI?Uk>x>9YO`HP>nNC5om^?^ZCqwlQDll3IRGG-E&-Uewu%ZTXacF)|47X6W$5 zV|8JkGfL<+q^-A>WbvaH^V=%$2o7+wV)jX{_x>gA^S}*}bY>>GZ8hTRb(P@Nh-Esj z>5XRk?#UcjoD`AL=leL{vNQpK1AYMk8@ik#)#o~sO z%;=NqOFD7`VRMIvZa!W~uM-RG@q2xiG2h$+yR`E9Cb<#vl7l19t?kc2IsIO~N#2K= zepF<^vPkFh89%>sKZ~Gu%rgGvfv!1PLAr(Z`bqZWtN};T0SQ`R-qMBy`2qWV0U|-b zzl?w*Qe$PLk~8@WSFm}3S*R!ST_taD_<0zF)awD30d`c7PA?wTaX1(p3}Fr?VDaxM z^lm=4GzfGcU}PzoOMZU%fQ)gqtN&h- zCC-H(0iS>JwtFYix-Q?#bUWydcIX5$>=KEMiXCykKYS5O?xT6&v&X^L1vl@uzC^p6 zIbQTzvd+7()?>HiW8!6+tgXHx;zq@ailD=OP4&e=M%LBf6vP`4MYQA6?i#I8|0+k? zv25Gg5n--V5Nnqh$JP*~Y2jXB{?^*n%3SjeCYvGtsoS>#mtagsGqZSTaCA~Ym;?*j z0dE3MejEwEn-`f|>bS-Ix@b1J*dC;lH*?HVP@FNgAM1Ri#hEQaCh)GDcCL)ib5R`M z-sE-`_n89AaOtSb0Q+y}egfwf-+NK$NTF!s*c+KB5~>0Cbv`<7DRtVG!@VA<&tuVK zA`Mr~1Owd%d+ic>gX`Ind5}2I5!RSz2J_PKi=;MIY~Bidex1qYuW$OJKe&c^%!B(d zZ9lns)d!nmvbe{w+I3MRbf3TdL}r)&A#HdjjfE|8FxhXC|6wAw&S0exEh!WQh6>__ zE{UQvp!$m6_kt3doclk$3QiuN^G8L=Jg7xMazk-ZP%FJN#j-NNotbzk)c81A&Cytp z-bA=P3M!nCfExu60bo>Q86;+2Xw%ZdvuE#ThkT}-H;v_}L>c9VV$$Xm&1F53r{xXF z`IwaxTuV*Hje<{$Dld?CuQQilDo=~ul7+KDD<-|48dUxViyR# zEPOIq_!#{|oIFE}&cpbW4;+pkhO$3ou+yg%alRKQq980P7cVNrq08T8|FBS$Rb3Rm zUR1Sv2dK?ddlV~a6kDK?N5in;+-SM0#rFuXbGgxiDlr;WLGQ#$dP9n>i;A1z#9Rn< zbh;A8iQ+bR33o?HUrNc4PRZzH$+!TM`2Ers6{Rz9!gd_hz$~oQBGeb$xLmNZ6FA|9 zeA%P`?iYcQos`mjOY*~olCJ{gKj39&gN&bx%31E0qD>UHHkL_c;-Y^or}Hk|gJYw8 zEn}#}_y{M2?16f4O3=k{61idD1S;U;#U8YT3gS%+hre!3!WvG;d zthnWOLo1bwOWAPC2sp}h1kt=ztJ(I7pBJNQ;nr8vmJr~onhBQo7nO+P>PadvVk^MD zEYv>UEBEsxRI@7e*{i+FLFi#nYR7?m8Ctc3Q^$2&7xJQ^IgxvtQYN6^VBrPlsO`y~!`pTx3CM5l0`P^>h zLTXiyXLCYv^AN|YkwwM}kD3>YCGD0ihm_5~;7tq!6+dyCj^GW3#Z4@Gr5R1gM2;55 zwKh0zV{&nI=~ZhPNt?j8W_q>yjH@Pp&(>MXmWS>HQMwh!ll$+ zy1`yC2(cJ~KD8JXPYh{45$edPed7dSxVeuOEn4AW(9ZR>*XyUgw=UDo*D7U1KWk-G zOmlzOQa_8)K*~NmDQzJ2=fH=F0a~=d+oCgrar zHHs!FMxC_I0-QO-N)8kL-ZztsHbf+Pkw+Z zW}JAK5FQFeE#;MR{BSsmXE+~xBm4<1L_&0 zCo{%+Gp2YSvBJsBT4t=5XKb%$?5SrRpUgVx&APmu)lZ*s^#*b=vp_BeK|Sa5WX?}- zPOWs-#c(d9WiD)aF5-GFihBN4_?$D{e8SuLr1bfemie^nk8w(5>C_9^PZo0Z7V>Ro z-#;NMXjv#(UMRa>C`(^(L|v@WTfFVe9L!cxlQsOKGo#V6XixX2GqY5xv}BjHG zPQ4s@GqMDyTb_BlJeR&~t+Y&$wY+k@yh^=dKC(QNUXDy$8E`N$h|3tj@2~BtvG&+mIMSzj9iqpDk@^%$Gx(cINBNSeO zLJ1P@ats`!$-m`!!@WjxvzDN@MymYL$N(m)I!j)*CO5K1yRyzzHb;L0d#1OpY>)eR z1&2p<=H)mfX?2>dbxnDE?Vj+aON-m6b zGrbC$R|QiWpsMR{RXc7yd$%2wF{}9wrkyeUWEC`R0AgyzWq>^&MSxRQL4C()QnYx= z$GAbXxG~3D4*Hlg8@N8A7^JGW^{U|HcX;x&9E+lO3A8xX>R3KBo1_LiNo6~#8QbkN z`++Unn9-Y{tk0z5SS#%~ZK`;3Ftj#Nye9_J9-WvmUD)2X)47KrBLh^$chhwC(;n(r zRqG%vgXvjG+=fxCajt{uLy$G?{x{(x1*QES<#jZ}jrvuv^b@ouZVrC~)F-N%=&0D; z_IQej>BW_UPqx$QFx+tzUa^}kDSN#B3N$L=V@$fula;UEY>zM|w&keNYPoMX-e!JL zZilF#fH?6%a#4_3RS?dvO=;>cE2EF3@i5WWz{d7CL@M7&MKKmpAaw0(RoUO};)7UL zzbf9@r&WQ`M^5{!;+3yLrd5GIJ~fG&u2}^IBc{1CAz(Yyd&k_6$nSg5tzV;9RgQQn z2GhaqclR=WC|CSY@;X!gb%N`C^vHIjItnB!iZ^PH?!2l&m$@In2rfOwA+^V_pTZ4N z#f<@!%#n}?dkEUZfi*2GSrr@=CF5_8JAeEg%@AAf=+q+eJUjC|Eb^@E<)%m5*;Azr zkOS5)D43KRt!)+W?KrB(_!qQFurxJBH{u2I23;^0`@_@$Lp#o=n=0_#DBMq-ICZ0^ z?kC`!BZz^)H0R+}`w^(~*X8=rdgT#l1L(})Z&bd&?aVZ`+#KHd_08_{vB>mpgzfbC+hVKUd}%VD0awqXus;Z@%Ub)ksq(Ii37$XRYa&uue1(FswMS z7_PPXgJB9hW|qZXBlTUAaWH-6yH9 z@N*OA2@?jtvE>%%{`Tc=Zh`EwsU;6&O+xQIw}{xq?DemgVS=bwOT&W4D=!W*PsbHt zS=VqKnAoIZSFrFEJZ)F(he2$(IEo0U@*bKDBLO!$mZeIdn%~2FwQIxZczA1kjQx>o zd`@aebc{hY67uUPH4^w;u%nPKg2~3v7JAa&AZ0bLWm-})DvGEPKnol zeq1EkhT-}_YNCRq=h4_3d_BDHp)ifJVP};&7DGWg!Ue_>g07q1+?nSF-qhwVX(&3T zI$dOn6Ccy!hCDPd`@#5d&07>bY06Y(Y8=gINGZD0|4V$?i)fiGHr-g2cR2L-_R`L! zv?iX|F7xm*J&K9Kh~eqjMxj1b@KL{^{4vJ)A&)?d+S=v3hF+p8e)Y`U*2XZ{YG0e= zh0QR}kZ5FUa)0P|i2LWu)5ZB38ngWr4KZq77>#wX@mDTYa3 zg|qDZ5E-Kz&r#o<3U=}M}~G~;#gz9@7!o0$!?k_hX3a&ii}#VS`H=ppqj~2WLTgh8{ZEviOO0{u}feL zsj9*zW{O0;J2Eb68kQ&WsV6NjI=1i)HLlk|QgUd=3A^TPlShjvAM*RE#qYQkYAe6E%69<>dfz&YqVOM*o#LSFuRb8K|s1JSMiBDrs7RIwFpOsVa1 zN*5AXgVE6xlzfYdl9I!=jt?^@SPPZ(^A{$07W@{nh9sA zPfmtEn3fsSVIOr)HsAs>=+_Ll*Ga|rRUbp^QLU7b5nEg%k#T6jcOQ0BKDlEiPnJN! zEcK`-)p8^{nf^Lu-jkO+67#|ECS{&nKN9Pmew{M!4g5M1_io`0k00QfDLx;Gx1k48 z=G{HU{P#I~fs{Gdx}v$G6p%9iPE}Cz%&==ty^u<< z#%RV&^qSPeT9t4|5_j@rQ&}Ko9(jV1#Uy1W52VZoMSVZs^IK;QA^$R#5}hs3ZlR?CKZ zsh^ak(F+%?cK-1)syAE4Opmn#q+`qD+BrqJlC%dLV^fokEls5qo(+YMSLD2ZW2RE4 zGd`|TS>$JBIeVfrH9lU&WN%{qJ|tnr(WLq_I=7L_uZa0O6G#{G9lMx1T~X$^nn6GA zyRMXa8^CU}^?l0w%DPz{p}4wl=r$_#l==s;)%24OZCu7&AxFg%4I5Uwt}B#tX9E+B z(?z@P$GEfSI}@Kfw|70!&u2ilCY!c7_q=Z74WQkdY@V>(^IOZ+`$bi1(Ur+W~w#0tN5~+(JVq#K5|J&9`w#aR|t92q&%Yz}e=jHly6>X^+6>g+U$>K`B&1xU=4;OUXEj+`W>#wEHD^X-e!MOy z%gzNLb7oHdHDu2FXUO~qVg8-7ziub{4VizJ ze=E(u$=m<;666003jJUAZvuSV_}}vfnc7C9f2>us;01qVwt1WMK zf0CfX#@FsoIfH4UfKOijfhc>TWE8tzPetCB9OX>;6pGQc;Y9UM=CeJO1rsF(t&Wv0 zFaFV@re6ML_RpyOSW8&apHcf{yL+!%0*N{F`;hxH>hQan;v2}{Eo$SYf-!78NjH4^ z-P}N)ychrPsC`t15>vkD)(jHh+xU@NY+dNyn5)-O`=#2VR4{}k#tW?rh}tVPln<}q zU<}bHU-RwxnM;f&nx&?6bxcIStHH*GUmwvyqv~{YFPL|B4*|YS``t@14>I%(21M=Y zr17v|O<+v^8@>(r1AwUgg5OQlp2`v6+jRanQG3(tsD17=-(Fh`;pt#q3I+J~QkWpX zx5I&`{n7_f47O$Xb<{pWmN{=ZQt>)!uPn{B60Lq6wby!^w-T%Sj~2C9AZl-#o%cP_ zvTFT%l5GduYVx~rAZic&p0}FncCx;j2E$-qL-^h?UrP_f8H0(2%ppxPc^}ZNXGLq6 zuYZhx`ycrOHd4#S%{PmX-}5(%>rXZ|OPVlx*@{~3SZtMbF&Au=_wgrjmJLXAY*&nG zSZr5LhT~XOeRbUY?GGq*3Afm(S<43e0cF;`J9T><9J}>jYZZ1I&b}AyHkM5H?tTVg za_%)=5?JmvW3eP#HRA|u?X^O7du-cCG%fer)09H@JE)w_OFL)+I1jqcycG|+S#zk0 zyVg5gA7Z1rX(O4?W;jspWc+v8Pj`$3z zYd&Ke#(xLu6wT}-+{8(iEcY5wOiGl&ONkz0p8`jW1Y#%k5K1tb^%)$`iW6V7UW$g1 zd1KR8N6tRTqcLDmCbhVyhe59Jyj(1sfad@k52{H}G04;=ibH;DiyfM$(uU|{36pKw zSS5MF@IE{3<&MjMNE%@)6@hM|1Y=g)UN;5F15qhF$1^b;w)Zf)u04;V%g59fSnq;n zS=*GmClv%PV5DhSN7B3Yo5ON=;_4fs4C#CGvUrbWDTJB*;2E;05_lET#{{PP!fd{} zqU);>&$-PA6daPUeMRBx!UnkCLYkSv>GF2mpJS0tChj1W>n61Kj8}fDFN+)cD74># zzMhl>&fH<&{J?}ZkS=DLbpO^LN_0_>Rt7Xx@3m*oZ3!kR7%Jd_WcBGNm-ZoEgxo9M z&m|YZuL7GXMp+<|1_%@(EGayUW`8e46LuD&jdZdpu=AO`?Jc-C9-2zs*_%aNwq(g$ z$h`(W&Svn-88q@OIygN@g-#+1MsHM#$vt0;LyDKxVmmG*FNYxHmG#b&-xI!lzC+lc zz`*=u2*$3s?-vQpK*b_NWtoJ#C~`2+o1c0qzFtJNpFzz|bn?fTq$7#46g@hhfC;z3 za3dqdPL$!|e4{%kx1&jB&_=L`9?ZkdqN2GX_G%d3g3%&z^cbk%@^ZJuf+D?}S*Q$! z#9Y)21nWc@P37{4pe;mH@zD%Tr;i`WZaC#zf>6Fq49FQa2c%t+B$MHLgKJb4RLS6I zKPl)2$mqmkM_iKypO%3QHEb}z>yl)t$fxZQC=tA5-jDFb{RV>~2%>&wJ!Oh%@mAbT zV!enPv`oNINFYwxcx{6B^@n)kz^Ck}$XU_@?S^mbDCnY6V%Ri1stS5v=rYe=qv~{` zC`3O)HQtlNV-@SZr}11h_B9$V39AnxV;)Qsh9a9F*pSh~g{O}%#-rAw;qrqsm>1Tf zgDa0F=O;>RR=}dPLXPUvfgo(i1Tlm(sbx11nZ>Z1f3$SQmJp031gm(dc9QzA$_8VB z#l+A(y5(5ZD=hKX#PO&Iy=B`F#c5X4h6O#oWTEA`N`aSR3@#Jn)89Am!lxs1E8um{ zSs4hEK)RMV1QfAtCf-Ak}5%;xi z+o)ylyptgpCY&sgrHwA{t}a7{PHu{R#LNWg#sV~pOcE2~(pq3NZ<+Y14Q342lMkwT z7mbs`2!kujJ%ZsPL}y6yo&2`g;9hCeT};u+k1=KGy?7C}o2;e&TM-OIj;%XcqD^vM zPmFBw2l#4BPuLq6dXrhk%Hz#C-e@}i&@!;yzSQaL`yL%r^TOov#Vux(fDIfpEUSS} zJ#&5eg1_?7W4iS4=ps;sDSy6p6RF4`?a!CI5BLL8Utrt?`~jyHBe4S&*$OLb&s={F zr(9O#;!|&^B)Rlmx2TaPZ%9cP;7OT|VSVNCe%mmOgCGCC=-cszmRkNqO=BxA!S*Ly zq}Q#k@2JIh@hvshr^k((jz2l$Z_1;%qO~ydXFq(Ki(Qd}UX zE5$&LqB#$!%Rdl+)vk5O*7Sa@VO2 zj~22>YHJRy$d7jdv)cAbjpslj?jU@s7uyv!|gLhWd^k9h8`D*4KB z;FT@r>!qZ%XAopoV538-n%lQ1oZ1Pyfg?F`%Bh9M=zORQkKO6YJ2a|90tWTpg5c!kJnu~6gr4(;XHS$OlxrN zpqxGW_FAxWM$aPT<>3y+=?Rvb@@c_i-H2uy{;FMlv|LKp4URPRUSpe+0f&b1!N&Kc z=^k$0{K>~??H5^nR_IM17Iw^5QAf)zsW)eLXO5qIuI-4^^DSU`I{o&8>+W%Ym5s%d zBYYmGA9>u)Ksmrn-)Et^BAC0}i&vhc2-(9`&psI^n*fWBI~IJa7FVRuu2t)vRrlBy z_sB)myL-0APMEV!mRPk0F zc1+M8IYGHr?Jro^F5a?DWP4v^TQr}#EMj={ka~{2MaPNrxu5G>)?xi9kgXrX26Mtq z`pow(3?l&3^1Rwcf6^Cj;<}9Cp=@dep0Ihk=2o8L-K2pgt7(g#iiq)op>_N=wl1QWnb_o7AID!(X;KFiXb&)DgwB)FMj8=eUZ^V$Cf@ zATVytnbL&KM)Td5D!+hE7b!9y8Khj>Up5>?Y2o zP!!A@--6Xp<4!++R_DO3VDN-xCepz%Fw_`k17EW~gxb88fzD;QhziQ280=4O8 zb%Z2@=d9W9$=D9ZU)t@(y_@I?jT#A<>2jsbwf#2fz91N}(iO3m3*Ur7w~>)1Yj&*| zmOswGY(Wts+7{1(!YWrj#DD`H{cwkzx;>o?o<~~1pl+k2PC;Z53W4vmNTV!G)h{&t zyk#OhpuxqO!8XoOva5lyBhfDLFw-@QcSskW8VlfVOhPlx(=0OI)c1P_T!lQ;Ogqfc zIc74)Mye*{r&=szJ!Tpj%8KnhfEhD15uFt8l90=0!5T|v8W2zJ?Ir8+7}Mrz)lC!A zM_49y$24|&GU$^`M3ZC4T$N9R9PDRiz!a&IaE|LR)Je`Z;SFh0=Of38iRibh9&x0} z@g}aXCgZ{`S>iKuyhK>t1=d}`fhiq90Yca)eAUqt0jaMZr3_)mNvx*e8+eh$y8;>n z8E1bJEDxIMga8@q!5Z&rIhW)|mSvC9;Lc(Xu|fps(n!|4AO`-DarUr02LxsskCP3= z)LGFqN!B@JsVj+m{k>y=Bccn|6d&ho;<9%Vj3?_{PnI#F?dGP8%AVl$M!?Bbj!oOOgi(|J!?^MDq$hp72L ziyF5?es*GhU{y~3bUxH4znG$c47H$Kr+`qRpenJzr!BvBx`4;0ppl}Gy}h7Cr|>Rn zVMk)&fp=lgbYXxzkgzX;v=)x&6wQkljVBi2q83e07q#kS&ruX(`xGte6!(C0-Wp)w zLr|O$#fe53P7stDZ`43IxCmTwU|w9bai5$H3vHn|CbD>Qx;V+Z2l7B}KV}0fl)a^ckSVYU@<4VdKJh|IwuB%~Ll~%KWo$E`bsThXS(y-J zr7Rslr$7B*X9Fjdi9arL;(^>t0&{Pc*j1J%jF;crEcI3{Q&#xoWUI$y!S?u9C1j@L z5eJ)*MF}~~f?=})$F)3iq=KBIQW&=yZL|8o{1YWdIUyWfd$VFAu^PX$I*J2p$Nba8 zM1~oUW$Owa$B} z#=fA~n}e;uwVeM~x!q9F;OJE5u66bSx`X`r2fZN+c;;)O6c%R|#uAGF?Ir>*Bqe+$?hi9l$2T zb)JflqdG!toh~Ek;$9-ax?QdeX-Qz{g4dfz)^iG5bR>c+U-;TyBg1XUr_b6d~Ise?dx#u>$0rssqf?5 zY#E^H&%^5<(d{o%>>p3=FAMFTPVVpj+CTfVe?GZr@yWoL&cJu7qP66K{@Q`9VTy)fs@Y+hi(xwI5eDHAM!gYc_Yu~V%Mtd55zg5W?u!u~>Mwl4Umoav z;dlQcnDRxa;mecRFCrITM5#x`g-0dzM*oNTw)?ng%DDNz$G4#=6D|$^%D4U9Cj(Rd ziEl>=Petqfjc?CRrCv-S{^Hy2)43_r`G4~5QtFv<;XnCy%1mv;O#PpHyG8hGo8BLM zyQkr6-|QcJd*o7hc2w^VzCGPA3l#MK=G%+Ha{$)9=G!TA8x3+_KW;vNFwzD!{k(S2R3Uv{F}e8dr4ZR`f4dfEG0)k?*hdzrXeP zZkqbtyz#pwHxcpPcUziO;-T-<46BYxt5im-_Tj5F&CzCiZ2XGY z$WNs$oZHyh-zXiRDHqvXP}!`yq(-K0&Ze*Zbw&jSarS~9fjYt6DCxldSWNC2u-R>G zZ3R|tm{=rqwlJ6v7BRbS*T1w|{5vZ*MN`}Bb_?U4WVt_;ozCSebC5283`%a)RNoR=eWnDQ8-ls&#LN2zEyPerTi3jT}Z0Cst)BN@CFDi>y@1(n4xiQ9B zUa#B=4|+JSS8jmS?t0~BdDt&_y>feUx^=yBLmtP^OrNZb!qz=2UrbajBVO2cg3?ov&$c0S543wLZ=qBzPzsUUVJ0SJB_UM&K_K2Qv!?3o8dJD<|-Wp8Y;O&`@=cA5aZ( z@X<5z2t0Z6gojU@@1Z2%69P;^!cy{F&&ha;volk0c;~5L z?WgSmhr0LzzeN4472qz~fxdx&p(iRfDmFGYIwmDK^SX1{DShTs`|#yZOzS{ zt!+J>U44MDW^86bs0HkcMi zT_`ubM}W+^w`@zh5ts}#ia;_lQyc#p#sHH6?Gv;A?_$$&`F7p3!-dKpN> z=6`)`Xc5N|j3>5t(|g2$3MXn84fxvRgG;+}rzx5Z6nN8nq_)(Rax)p^*FZ!MhDyDB zZe-3O0)cw6a13r`t@(NP>tjPN33D{W%X|lP4B)?z{mC z0V|z5t~3B+EX7Qk>{zH)4eUv-VT|&HBkDUvs?|0-Nl~n87?Z1pfk`$miaA7WvJ^&D zdktfP-+>5~CV51|1QsWk02s4Agd$C)>5DBTosb!+t`WqDLI1!mIaY9x5;cDS#t@3|_#_B$(}R-UjR(=8iZ(eXLvSYn7_;P#fDySg&Z8g#nT4p)S(7JM zZrx&KU(afjQU()A$(OZ)Xq7kCbE;k-VE8hOD!#Y4pMb!*g;f;OSeGOuqJX95-Nwd0 z!I=MeGGNHGR13H%h*vL1KDMq|vv;+w-O{hKuG^FUWnF*7|JbJCjKS5W@tmN}<}>Km zPn#yRRUzAEtWPesEqKpsZCfFzKLHr?<&j-GnUAww2Nf-wHFDnZ|4fEod;g7-;qw3G zWH40(dXKs~_-~XpnN+K?okBqG5wtIp=JZ-=v;P5xmqmvu*CkGIaHF&#?e3DkR@#JS zF|u4MZ4M&i`)-srN-hUc2)vK1GIBkD(k41r@guutcaKKxK}>1rM@|#DUY+TKSY+Qv zZl~^E{hxr+1}~c@K(5b-;xN8TF`F;0yYH>gVZu;o_JbU`esi6}#L2#F{_5_2Yd~o; zkC!9ZDK}uBc$mEQ@5`JA0Gab?_n^nm!!!_nt|+GbkT=B<0_$0>IBCz2ztB-SBrI2w zMSeI~=O}}$KUZ3yXE@yDD3cC9PgX{LBr@?Ri}hKayk^fxZ0*rUp0GSc6ZtQR(?{8Y z{dr1GJzr9P0;i<-`N{$EqZt&(xw6mlRpWX_vxScHl*97X!(zSjb&m7dY*{p_^T&$x zD+~0C*tJ@PG)iJ)3byeIUJM4msPcGNWZuuNJGL=iIS^Cm^w2_oxMu*_Q(0nHRG@V_ ztVk6f88fjDL+*V5m~l z0Dswjk5dLJW^O(z7AAUNqS7<4|6`~!v;R3)uSY98`}K6?;^Mkd_zC_sQ3b`MfuSmP zkNK}b3XIU-!!th<1dPr9H3sH?ezXEV2~1aQEE3s;CNCV+|J=Jv*K8k#Pl2iRw|Cd? zr~^HijKNnl03rLgr~^JW42uw?_UF6HptYy)Z&8PBnQ{<>wFz$MGjsj!0#5mN<&gJZ zvkIz+w_wzH+(aG9mhx@%rVp>IK8QjyiBYfO|u*JvzN1 zkn2{#WnP51-&|Rf1c)jYh&oiWK~MuFOLd#(!ns4z>k3G>Yw)o4Z9HLL%?5e+XAL~2Rx#H zsDp_dm8@+O2$KiymGpezI_mJ2kul8%<2ve4E}EMZ#J^#h9OC$6Eh}1_JTEHdZ9ZFY z+)2%P4nk-$FEl;Ye8ZD2D}N)u(A##S;IcG!Vxusx1Bg0w4hwMrQ3sc#;)0*-Tcrgk zFFCHG4&wlGZ*Z=0zwducix)xz$#{$zek}g>(j9oo*dNfb< zeV#^xxkg^?i#+ece8ug2wRWAc67S=@x9A+&t%({%Re)scctcc0%r-!t_3Ny^NA z^CaZ}=H~CADa^&p$H)2L0f(R%bh-}dz<_3@$b^P>m|pa=@O6B2SKH1tkr80m)(q#+?> z!NKH#!IWWPrP1G`o7a0}8MR4W7dXbqO>|SfGJmW<>r-NzGMr6~ zK&SOD0d6hh!WaimJC}Oqq_vwz(7m#*`dPmuy4=F&bJ6& ze~5;<9U3vkTF$&T9)H&ej`I1$oYS`kJ88%xSQE_WCb~(SP&#|t(3c*Abf;!j(t#dt zQ3gbJ9o_sPw~y|s9T;Kcpw!nagX&KP2899NGmQ3nM+QSA`bYsuhlgnP%RqEfn-Y_y z9^vQo4q1jt=Z!V$AM-la?5#0`M6?O~^ug;uQJVwEY61}5G|@$`pzk680|MMMSjKxV zYO(PJF<@JeZ>r9&wHJ{5fg9KsL~p30pbA15Sfmm)fNcT7NWB>>q&12enx36+o`0LM zR9foNlB#s0utJF)1?-~yP6Dm+WTPPM_7jkJJYim$DEepS0?vd?M_8wXAA-IKtyjas zDx#U8w3XUtKbkG>)gN6)H~-Hb`G4j; z^8e=FGnfCp-!uQbEy$4{yWSRP_2+9;_ly<092Xei7ie|LkC!JN7n(jR(3$8Nuc|#R zvJETHT?GWV)5pco{sR5eo{7ev$0acQLIX^N$rg%}Qj~L;5ozz_Ez62BxI5=-a*nBP z_NwyO_N~_sDYe6N9LtieEKS)qrv`Z1!F!3t!KP1jqxmAJg~E-urPZdudJ%5X$lA@l;7Gr%Dr$^dHdc-#m2#k ziOGxgp+7TUB(HD~GhaEgZZMZr4wr>LlW`KWQ@pStjOR_nW2Yo0%OWPn0$!_h0oyEQ z)m~Y>gBxB1#%l!U+xYoeMHd@pG>9ins>WaG<uvl+Fy&Dhm=T3s%n$v#8FpZ%xJS z4Q203VEP&;I2y~=n+D8{2#$&Mi;0c)gO~Yc#wQlU`eqdSf2@uyC`_&>N~oyHOAO9T%qqx@ z%q=V|$S+H;C@iXItgFhZsHpNz>-Ea-_R5|0s+f()Z%)n_jYak(SIl`ApA=M1BzH8H zbyp{~&nES36c0_;&Fps;__t(4^;LxSRYbL96n7wVS}Gd*+KW0m>-)Ym?stWDbON_S zqdi}~j;@_7eO*~zUR~M$`Rn2m_)a4IXR6W~0J$rlEUUsmiuP})O1Q3S{vY2-f9LK0 zIB}`S9Sr_!?}K_THTm~<5--J{CoVVNN!oGBH&kU?Cr|sj!cky(>W{q-@SVgyivv)V zJp<%>VDIzfcIj`MgralqLT~(i3+ur6GJvWOs{gi0S(Dw$P9-^!zxt}q0#e3rMo2Fn4&EFlQA~%~4#in@F zg|14XYwLxMAl?cXeT#7L|p45dRf3+@@j8~Tv!4|U5Yqp2E+ zr4OkN1)?Ow?_k!9?&}hjQ%QEv5~Q4|V0^L7T#41GJxGA`Ho=WvZ~-SSuVqJ3F~Qhb z3%w!7%4&EVEL&^eB*ok!iC9y!)C0xSM>813vdOfUMQLpfm%%u>ib9W+ zKcYU&k3^tS%R?eDU~!^QMZ+FtypIUgU|iyM1be|HYV)4CxY_xVf>`BTkM;{K`|gi% zG(n|(rM+aTx8se%rzR8n_pjtjk1D7Igh5{OJLsy(N1JYX5dcVkI~9j--9^xHlcF3XuD7e zodMbaBO?ss38%$-6G^eGXl%)_77k^+WSZ#;(e+|4c+(4s(7ZZ=r_{$8sJ8-_pI)Fr zz@(^jqdXE2+9MdX z7ki=iRqJ3UBq*!Te$iw*oxr+N(+u~j!Qtfo4 ztsHYtHHhxPQWnuHLP&E&h8{Y_*rHsnm#d5EzQL?d7k4dNq!I7HtVXZr!dS8h6uPv# z71D-*+6A4GZfgpTy**^d^@ZW80xSDeMJ&X`m;4THmsF@Sz4nSBf@;;27*kx?n~iXm zBFnxx5D|`>A0mrm4C0pyg3Dz%Ql`Me~)L<-@q_UMyuM;btJ=Iw{XJ{W5WWxwYdPI5T<}k$911t&eTTR(!22-F*9MrRP*LlW zcPO)D`NBFbTN=Ivkqgi%rgkn=m;u9hY4DFmV}HW8zg{x)?a=jg(Ss7tU;2{~oAxK_ z+)sioiwijPq}upd=&lG&h+F3jz{ocOk}Y#o@WI{B*~^_O_6VkHMTtF$81sURavE`5 z;Ja40GG^=I+vQPwpy&kj^B*reZ99VMW@%T&~pr%w7A6D~OW zUEYyh%SMjzx$6coX-6eo`H43iZ9ke#uwBSoeLPQ%QufV^qqYtjh(*plAE%&t%mwFl z>?cNaq9`nl+L*C&Qin^g{3iw)2jr4PxJ_2#leH0g=4OVC>Tu=gl@tmsyTz3eYeCNeO*BBOIFIP_?&6`Ih4$QWckb88?? ziTT$R4uf@9i%C$7h88JSSJ7jI1;R(3+4bAzqnI^`F+Glg_~F#i5;$W?5}1+X2%+=S z>To%;8Qv4Y2ETR`AtGgOHi^*Rn}g<|>346oKF%X$I}e5z5SuMpLqlSIhCR58d0vjP zbSh#Hi)dv>r@IUc_=tBUb?AAfQkI-@oT1M{2cAQ8h6I!nn9tJ;&>sYJU?wigfrDiT6of+& zjX@3*$^-hC%5Rb8`B;zvUbQMDIit5_A4eik#+SVtRHG*w3H4LCze+P1tR*K=D3o6ov%{%)C_4m z*r!U6uE|#a7>X-S$e?T}k^AtoCqe00@~Qi(>Yz(k!N9TFE4}YJx9TQ4l}^f&F1Adc z*G*3hoK)3aY}*qq4~6(+h5?z>XRZe`Ce2Cs5QMPU%bk1c z^Hq5c6$1pnP}Ec3%eA)pHmVlvF(Jm7CP}NNTjwb;F%QNl!i_J2WndLMjgFgF%srFE zixPsrA4k-v>3z4$^L*90F~>XA$$bvfhdsjk{1m23=gx`ZJ&p`v>VW;8iEPL)ECs#p(fjBc1fZBwmv+Ej?fdJN1-#HA7L+9+GeI|*cS&7rmhynw> zI2U}m%6uio(1%N1cu_*0vHI?G`rJne|EMNv!@{mW;69(c{J`6dj`PUp zG?(ZH@&iaP+z%7Z!V_+H1~c3X=cEt6lnvLX58znyXE*iHg<3y1^EbdE-oOeNw?+S4 zZT3nwxC{|}Iq9t#6fW=VFF=OdC1Pooa~4u!-q; zFpdyl?q<|Y2rl;?k%2RMjX>;p6W*GvyLEQ}mtkb2Q)EP3O6?^Gn^76}tDJ9a&{h1{Fn?{19q5=c60!n`ye!S-OPK;$$d8=-303G5|qwZnl!gc^r9R3+AMvO zEh@q}R2P|B4*_DgZiTLnlEiCCfVrbG2*CmT%KatZ5jR=f-j~=`PyS30sgcFRI zU-P_$WBloiXbyI(6hv$YyR~hbK&6AYAWeAEolU5da>*hJ&fCLshv&M_r_5qUS>}ht z$R#gx!sIFJX`F?95ugCN39>5=3Tw0>j)AURJSA;H1-yolZcUL> zkD``-22UoIIAa%=F&D3C6|{t+Q%=3^5Wz)C@^`iqFHmxyN%iyh&H zCx^r!&!FWd`H8_QPkk#4#?BN1jZS@RnjM^K@HPYu63pZ21s zSj1GhmMXed#8bj$%)C20!)ud>I$tKJUna!~#(TG0e7g6ukWVX6O*_bhEWro2lHIO~ z2ZcK{-uXjd@MORzm9y-JY;{|?3Hmccg|*ew&{EG|>6y-zPLz4YX2<}G8sn~r&?KLY zZX$S6L`h&%k!h2h3pAnE#~#_#@i;d%35OiFwmm+HgrijbM;}$PdojUh1)MuPY(G;kZJ82B{9XM8`YZEeO@TgHH9Nz$`<QH&P$GkU~!9P4~ndDp0cUw*0JtpnsY1`@+c#$fOz)O zH@f~NPg1SFene+;=RB_%{?)?ARxKae{Gc#-mJER^gb7CR#w`s6dm)PJK@muh5rUBj z3Q>=TV6j5lG2Or_y|_G3R4-VABDm;Wy3djiiR^7x#AjljjDxn{^%yab| zucyAh@oOKtVbB1cC#qKv>VoUGTWmpLUyE+v=R!s_E5Q8GUt!sMkl)YK)w^p6*{_Gp znn30QAZ1(Gvz)z4mX{FxKFId~5A-sR?Y&p1D8m%_jFhuMxICH2Cy@kRDbsAu+_t!1 zwIK~(g^UqBSPg@BxO&H7gW&YR^3Z-Mpdqed6m384SExJ4s;}F!PpHAOvA$O^YiK9O#%|3HlPda@?F~?F54?NEO&~`Y7hsIf>%E{jz$iF% zC#(+lVoEzD4P9(fLl|nnHgN~PDl+AZ3-#C@>7?N7ls^|lq-zYf%sItrEM4Yngq}}F za%|E4$xmyLkCy`UJ}EB#aEQk<^d8Q_#;?5?UX!?DU>=^irR@~4Z5OPva)oD;P^;-S z{IS}GX~~)C_1Wm6%(?shvF7m~j2i~8LT4_vrcJG^KG2g@c3NXzLYk==7!Y4kJ;uOF zWcZg5Z-JSlLlP4BJbnap`)kkeHpGaUkV1s84Vf}{G0(bVkDj`yJUqooV2OLVXhlC1 zw*YptUF1t$+NxR<5+UqA8)cbY3cRx@K1V_^gy$nZBn6zfSVNx7E#uM8C|lFXPc5jW zl9X7iXg03gyIj`&^TcKU`^xJ-Ph9*Azgu2jpSakItg6tHfNWQxsjDuHtCwyAt6;dB zvl8gOEeIqE;#LNM_Es4|AmY+BV%s%$n)S%kRqXrgu^#JAN+5dCH5Y6CWRdm6f%Uho zAkh3eR0%`_TT5?TO;p-Q5ka{HTZO1Gf4UgT^x!wElodc1*eVRQq&pk|9Fvho? zC6+zZZ+jcX>x}T-`^x)wKJS8_q7pRi{2bWbx!m2G+dm24CHZ{0&-87lyK@I}>j3NX z4(IcInvz{+&x6h4U4oKz=8`>%ZwF7l9g18Xiqam5KRuFsbtLV1B%5|5|M^Jq+Y!*g z_%scq{9zAbfGVJT_=so!M=C1KJ+Khs7?lnzFuy1J92J-67$S;l@OcM~4$Sy;59i*V z*{fZ%&nG+F;0L0pXWR#e+~E6=UALzotE*b? z+NzWCmx9v8P#zjsP>P}O&x080!3`e>n|8r{Z&ABwi9Br1`7f0pP(*@PT#VgXQgQr(VudZI5g0Ojr zaPG68f4jN_vS1OSK!qdP-L)Bv#;Iinbmp#nvi@JAro^j2dSt^K6fdEaY;_aZ9;?oUN_6LtG`eTDi|t{wGO4;X_Km$Mw4@PBD0co|(q46@3ZMDLPd9jC((0c> z4_5lqWYY96Tu!!UKL^lWx!U|VZWl257A1H}c`|r-dQTJuld)73^_C=$7&<8@ym18y z;}OSZ$to4c2&-#p#uY%b2D97G^GFiPFqTOYKbKT#!(rL7k|KTOtI|SrU$IP@(x#19 zhT3VlOlIH6l2@8Oz}Hq9-(8YVjw$YSxg1LxBS9B>U>1?|-Sjp-1+MDla)o=XQRVWy zT#OMN_XZ{JKYKXw`hFWvr|+jOz7Lj{pOhZ&w%va&oaxKkCD>VS|6B}{sX|%8+3oN- zFRE~biVUsa1JyI47t!+4+X}6z56?FZsojr;)f=%H4ck6r6P2|^%1^>8UTD607%?Ir zz-jGkgvX}jYotXlCWzB!(2jo6r(U84_3wQb_Bv$qNX`8~%Vz3Kn(O^jb+saXVH^#= z%9l2uxs=DXjj5E-c;7)#Cl;Q3t<;>)HE8!Y2>5vT#8w>L+UH$(jD{fN5%6Etf&W>_ zx6|C&=aKT>l)f*lYS0CYf>@NEf3A)HFO;?jSgANeNEihuq= zDwonL6I6XVe3!=I02)rwSrRI!#wCf)f)PgNR4nPx1ZhQ?$j*0kX}z=W;_5HFzzXHm zJO1iF^bKbC)vY89HSpsY$7F5&1qDB=>5&PxmK0GTmG;qV9R|^FyO`pHC^-qT6F7^S zIr-dA&_CUoRsUvOH(sIUqBQjN%ak9g%yx|7IA*HnX7lS5*bKq#lgdYN)X2C6rGPE; zrkaKwNp_WHduu{&v_&=S)8qZR+uXV@?l1%`hi&#=)wwk}6YTiQ^9xrVbkkP5I(R=_ z{p`svK}sDe$V~6h48zS&f_GnnS<~^jY{fq>we-?O=RHIFAZ~T{rJv9WF1Ie%tt&vR zTmyQHCC4M)9Xv$(;5PjyJF!>QN%J^*(f6_5KS$RkdvUk8+8-NR>4l|M1pY+_R{huq zTnS$|;a$mA#z^y^!^ex?63MVJHHL#V+l=m1BBi(;heKYW8I#d3v+xq|1gZ0&`9fIf z(KX7vG#_YSzJXSjrWiIBP-F_|eQAH&}=h^u} zur!ktm41l5`^y)1!@4B7C-;IxeV6AMy5)F*{)8OK>k3DCjVjfU*La!ax5zjj9I0w>n) z%{+w17ZM|8Cc>a+#q8pWfC@*4P&K}foO#N49w(pl2+cE5 zzd_q$czxdZ>9+O=<~F}ab9m!y`knWpi%+zL$J<%b6o;2R-JHk_9AO|qpF1hZz`o^A zlAk8f>8!N1q8K&tIO7q=BUP+ChmTv)dBX2&)l#o399P&ln^}9YiwF@&l3ebxNluB3 zJ#*acS?ojB=6rg!1gh6>snX44-N}i>si{ZuhA`!+ga~Z}>QU~-vPv=S6n$J|WKm3* zY%m*tkfRGp)?pdF9Kd>rn*qF|4bXuK$2*Qv;@gWN7eS*sk)mNnd#go}`R!G=)e<53 zg}9lgdD%i7ch=W3vx|jVgt?D0071q0*KF-xqHdcQ_>j=6-qr?{@WLqdv4?s>1J8nq zT+^wjEa{gedZuCuM?+K1@auHH^H0Ly%05Tj4P@T@ie$_<7u3rg9`>(kJqLcbB&vu8V-wvOhOnkmVx4pf(IrkG|vI$e# z*86t-JQhB(0sXD5FVho498F{n0nI&Mu6jcPr^!}YM>_xJ0z*jLWE%^2;g$C|i(AHI z`#pcV(DvNL%T?3Ry(()X70y5 zdBe_9)7|aNcgHG58fU#H)_jX)qx5WuJ#MP+{{lcjzrQ%XGIFw9MRTEx%dy?(mqnnl zBc=u*rBV4=RG&t(G>2pasFJzLH{agU%sUa zuE=N!t*o_=26d>%8|mVN&IPkT^(?M9=+mVR(-MN0q8-R-jec6xx5l+|NzJDhiPr_V z05&dGZRZFTaF((La}Kf?&0IIz+0fnfa7-O+VOvp_9^$f5A1mf8{)@lQ26wmt8*SlC zJJ`d1v(hwuYy$oQ3)xk?FOh;HZhF_dl;ocGkyrHVb6eZa?}{uxZTYKL4=vxCHSNKz z1RQ%e+~HcpH^cQ^A$|iJ-CU4(vA^u0f*U;JoDR;)zCF5(KiuReA6LX%>>}|l-~lgx zKou3+PsXyF3$}{vn^P`v=mktp3&7)FiB@uy7v1QViuk0lNOYc;8{2j)j-J6bf zwwJr@Vh22u$v$yZo;~k)xBJQ$1st?-EjU%Bd%nMZ_N*&D>Q9f*-vhsS9S^?OiZ`X< zp^oJ^P5z$ic$d7>*{%=6vjT?0J@h{@#{n{pAl2Cu#S-^?a{9<@qin;IIDo zwwHbKZ%q5cBA*K`Kt=RXvBiV89qhz+KCP<1_S_fW__!Z_;>AyV<(I$nNhkb-Dqig@ zZa@5d>bs&;Kl;k&o%`IkKiKgP|LmLJ{}yJx3h^~+<04+;Kffb7K=HccTfq8*J+6a5 z`qRAsqreIaKnfYaev7dLtiTQwJoNiK7g@jM>pu@PK@!9_bF(-ZSiK@=pn&~Z7K zBf%H6!ShSO^aG0`5VAvQSsr@d-IB9y`tG(ri< z{=gLspg`N0C?qtH>A0Kw!YLHPG0d|oWIqS0G^EisfZ{eXbi+5SGBdn5SVNsPJRmVJ zAUM>+JsdJQ^f#R|HlqSU$>PI8G{hV8LrQBxY-_9viM2z7#7G3O83=(&w8Tq<0qL8* zKh(H&v%@-5Hc1r4QIs%Byu?$?L?z@z2${LXLbhMYLsFE*Sp+asJVi@P#ps*EF6%fC zX+yX35?T~SH?+lD41rwS#GMO{R@{}72@cf(4qfRd5K*~mw8m=$ni!b@V?c&(^hR%7 z25S&UYZ%6IG{-WV0c2o?b!10&97l0H$9R-SA)A4Ew8wj#fgD(ceO!fk^v8exjIm<8 zMPvlXf;7kv6G&9l#DiqWhAc&6#Knbl$cd!LT7<|-B*==?$c-GYgv3ONJs{e1yz%%BQr21?mAaNXl}Mfe3Mea#+eZxyr0uH&Zf$Ziu-F`2jUZ z%5Olnu-wW3A~P4c8e4N9pj?0`6Uw3N$cyC3lyo2-?6N0ZBFKtGFS^RF?4m7r%3&ae zx&nd490oRM%3YX{QHV@cXiNxEg<+^l2vN+%1fs`;%+7qwsDzNmtjhk)T+GZQmtdew z3c*bF3ZSw)O9|;p#QYPa9LrLoO&4(jwww^RR1`d_BM6Dh6`9LF0V@{)$|PVJ;K)n8 z{H~(x$)Ra8F2tcYLpGc%%q}`iFWOAg1cBGI%+6E*VOWFBB&!8*O)iK{E>O(QbkAWB zPs&71&m0C_;DXYOko$bk$rKX)oRFrJ&jm`$x2z)FM5W$bk>7l`Ss}9*vZLdiHD8Jm zpgaS5aF^(m&hDa4zZ@DZ95gUAw064zJPf1nH|43{v)d%?U|TA&pEQ^-tCuh0F}nKgG`@?av*Rkk1^3Lsd*Rn94(aktJ0AFv6R!K4AmzU5>FG7C6xlK^vY&>(+KI!Qx(eznNnNbRS8+sHeC@4 zZ6OsZ9zKew(&{v4`7{igDn$AeDXS1J-Ow)uubm757tq!{l|SMz8sTU)XpF{SfkpO6 zOS4>n9~cASI81ge19$1llc7!G(9P#?&Ekkne2q-t{9ps=^=)}gZ)edds%Tx5Yqv@ChC?K<48f+^ZJY)|uV9Stw z)8hcu1=!i)5L)Nx*Wqy3;fT+V<;;eKO5tGGh|N^LwFTfPPrrSHg#BC9oLGZxOvDXX zj-^lH09k^S05;V3 z&ELO0U;{Q>e+6KL1z-ZE+{G!;tjUl3^otcbpn-T zV%+`U*!AO=o#H<(;X+o96>gs2o!ZBH;pZWa877WN)>`0T-rd>Z9tPzS6tP`oMuDS& zkt~MpyqG8r&RgZmHU(7*iRD&?QwoVuB+btv9R^yk)YuGEMI|d$uun^^RQcRg8l5Ko zjMT`C5F^#m0=3Z!ab_x+WweA~Q@vAB1IqEHRv&b5f5T5$={`{<~JnSGAy@USBpks%quZ?cG+bjnb^u0&C#NXD=;l?mFw`F09NpEN9Z9tsQIU#;)eJZoz`?z)Axt zW40>-%HL7$>~=2fX2BL*x)Rj0?FKB>`f4k(%QJ{pvLFz z!s=%b<*5lgzz0;b@r%Iu`#t^+z8L55>l^VGL1lib@xi)pd(ynr13nf1alKP;1pILY zcW~5WJ0bV}J_gV6CWo#aucsbwKp&61`cv{5r}DLqbHX1S&IUb1Pr-EMK_;RPw*;@9zV>7q9a}Z!R*Q zCn@hfG+*;4owquj-Iw*s_%l9|>pmD4bR$RfPPgwn*TBCd#G-n_LFA`jTsYTjb3RXU zhh8`Cli9etO-olj?3;1S`#vPMa!==Vz*6)$xlSR>&Qed)2bVx2_j84Q==`f!HMjKL zJM%A(@o9(fUblAn0(C6>XFh=VeE_Yd3cV`}IFb!%O?YVpmf$Snahu zw9ftp&L;QYJ{2y#8i!uW4I-+m@}(fyZrw7kRU;c0~k46tzQ+3wcGMcxBf#dUvcRy~=;r_-n>f zXB_#Qhp!7a`3PY|n=2}JADVHFWtew$T*b|r|Mzv)`KBN9k{{D_!=+C&mr#^=#FSlf zw)mJ|_HjOXYhL>g^(%j%8Qq4f>-*wSA#qCc!5^~g3tTN4=S@CnzY{2H8K~0WBYLtS^heu zRc3g5E{JWSwr$$3Rn5-RHkEY6hx|s9^E|J0$&WFf=Ps{*xcnBK*H^#~2Sy)`cG<@< z+Q%;2Z#dnrqS!||CSN?zH>4xU%kZhvGJ$=?hml2v2zhd>LyEb5b}&7(n;8a;?p;8UnGr&6tI^(xk^TDO)w{>hbNP>Dai zGQ1LE;!%b>zp`x`R$wI){yQ7V#7oDHDeE~vOA9vHucOZfZDo9m%<{{_XW;v}loMr9dH(-PV z7T3c%`goX!LK~#xp+2cB*iw7~X2?^0@2SWifP5L028r-U^#zIk^qe5zcC&R?nrtTu zIV6!qO4Q(1BNStZLn0Kz3JD8MKt(Z6M!BD4tEETOgjiCilVv)INTNRQaMzHCW;O(l zjvaxcWOT~LnE+41C$BvJ1hQx6#bYPuD@Zn>xI4&BxjHc zMavMN$Z}MzLd?>8k)0t;T(NrtrRk8y8);kUw2C>J2)pCnaH&Esuc0ou?Q%*1yc_Gh zb8q%ywQs8m4J<;yTo8RFXpm`HoIqVFtQo^%remW()h+<>0^CZhPq7Js%n+VsN^FlC zBZ|GOvdoU@A)#yQ6Kuw0zU_66*g{k(yXwXaYP{!03NxjWd};~cib}ds#~^*oH5XrV z=!?ixlT2ucW;4#ku{7#4?a5qd?RlPCdzfCHJi#3AWC3qO2TK3@eiLsT5{z|jefaQ=u5RTcw7;z?x~n9~M+=A6`2 z1vA>2>wk-hmWbNqxOD_eb8^c=*vMp}$L)`C<u9iC|8m9>@CQl=bim zYAsqzLC^=e@a-sTq$8n1zLt<u5p;gV}g7O|f%b<}2S1e&4hvrA9&$aJz ze+pC>&Br(}#wl%W!qXxFMJBj`V_F~+qz3CKiM)+6aD*G6xK@d%1bUJSHyGUC!j+hb z(a1!Htemnkwn)^;%}g9*$RrUZ$ga_IbopZ)vn-gtjCk^tq9kRew)ww8M1prcd?iF9 zijpE$WtK~HK|*esONDF{CB95a8>6K$VluOZ$5h?cx~4{X+D)3)Jlj153b%V!#E#u0 zU?L8uzV9&0nPk-aniA&F$EBJF0ZG~$zT#9SM)P^TxYVKZgK>_|Ba!HC(_ zPH6D@pQc!lO5aJetY+N^MX6#@DoIazP`c%mcsY`fq9ml#8tE5}nM~EuG=_SWAGYK; ztUyhSgJfjLQ6*wigc|Ts42&7fUZzg3f|DxPB#}z}swcq~l?#bo)*`PuMy4)=n4C1K zZs!t`4QeRO#1fq|#_zvqO(0tzTg{5xx18u?Y=eInNnc+2WMFjA5q-(^x)4 zvXCM43#L-hDBjV+?Tr2lxo1G5t3Dv2wvyXoonL1ds!SomQVBIzA00@6NZ{6o9m*_k zGb}{k;-bU2fC*dOn%r0wty5yCQi(l!mY8U#2XTU-ocU5r-X~$ICDCp&;ooh84;US?F^ig14sNaH-du-^5|ya;8d9sdG&G)i9um$6*i4Yq@3>V+yxY z&eyp&&>tyTH3@th9R1nRmZsOBJ6z}$XV|~~%?bm<73xca7~Oz*oWI zkhX^*Qr{-iAO3EZq0K7L8DquCf2$s?C30CWuliZVCJX9NjTKl6N!Gjywry;^X=ob; z*uYkfv5f;BXGd{qwYm1Trvq+kx5ao5Z~?kUOsZUy+bY)1ws_vHYTIzzBKP6UxUnsr zdAA!eX{8st`#qI~{U|l^Y0jDS^Bndd+(%W^5O)0Iox!+BMnJN-6s?#Yai``?AzK>8 zD_-&aNL)K2FF0XN)9}9Z z8VXW|K6Jgzy51z`ILMWb^Jg!8EgOHf)t?4(Z+D#OEHXM4r!MrY^V{YknfbKMzU&m; zN9#19{`#(>=Isl8iR(E>&2XH~c9+xL<6xrD)3;!c0- z@D_T!_9E`~>qFh}+P8a_#BaT}!~Wz<3%_(+|NFUDKKnbzko}Jj%Wz-*Dc`S2^Ksns z_1{^Ep3dDH;;CNyeO&^+pWQiN_Z42=!Cm-;2?UbgzD-~THsHM3o(0n10%jfWHQxXJ zl^oFtAJ3tj_kAD=mYx1(o(tkz^$Z`D1YrE31oXL*v$0>~S&z~M9oAuA3Tg=l`rrMr z;L)KT5z?OjF=4JGo%Qu#@$nw&;ocSD-@zbZgjD^CK8VlO zQD7rRhIQl<#bsQ9_#XQigrbm=qX6QkFoHl-3gGb00_<5jsbDOz9_X3k$OYen@Cfjw z;QWnT3ua*PZ5d6*srX3rId;A#NMp)5f8fKUF%u>>C~ zTWjs(8w%MmSv zzW@x<&||<1W74f+)0hO?UEid_-xj%o=#3K>117kd9aC*s=iTf&G~bEd=byP9>BhrQD7r zqpN`Q!mOk2lL4=5;LK^r2IHW?1u@A`52s{8vJzzo_ zY1dUw%Lkpn$P5*bN#b;wP&!D^++58HsR?zxP(x&9qnu|A{vDK*DAYFXkVEy+@0g~f zu|!I$rp>V?Ob}P9C{b)?N-fdm+d*_<|e>7Tx3lBw=V{9*SwT ziGrGxg0fFTe%61b5ger!mz55NkxQt|=N>tbA9+d+S;}LvXQ+54M6~BPE|_E)ka<<9 z`E2R2AVEE#!y3d`jAe|OXcw?N4o!7eBm+GjXn z>PV1Lwe-oZ86~$=%;V4zYJFFwX${60>OR>QnYmU$R2F8gYD89TRcCh9eS%dah*j_4C%Wd08CQ*J_~}juF(% zRzht3(U~gl1lSg7YAx&*&%C*ShuvC?y5>U6Ih=iok;168Z`?oL-J%9%>-h`J|AOsYlG&EVt^#)i*NQ}l zp_sZY5z;)-O#E)L*w-@&*$Gr--2Up*()vl$A}_^|NXmrSf%zDhWzbg|=3!QENSdtg zoRe7=ZdW;3C?@Nj*;ysDsjtDTo#k*ypfAY0*?@s7Q&|w4!0%%2*oT-|$dcJ2t{I}B z4>A$)Wlrz^niJvZaJ<-*o?&XAjYy>}Fd3uO?AC7D4N0D!ZyqLEc-)Wx8;RbM1f-p2 zXHZ%h=dnjLaFJN>cTm?zcp9;S2OLW(k@R7yRcK%-a&M@w9zU{1@G+72v2JLNb&bTX zC9rOgV)hbAgTlnHB}cM3BqWz|M3`H;MKGOEvMIN+E5Gu1yyGg*AuQLjE#Go-uw-zh zF)sJAFaL64Nb-=dGB6jj{xKi(M+mc!5Hm72vok+)Z=ErrZ5}jNvo&8cL@4u#Ff%rH zvp2W0HZKS_e=|9kvjT^+f{b%WG(kCZgD%k;DB|S}nKM1ZGAgH=OrT+ttf7fXj}ozj zI)el|yK_aD0YQ@riq;fcKEymLUn~FvF#N)b)-y%#j4X@9F5<3@u3=3Y&Ge82!qPI{ zv4ugu^Qa^=NHp|eEI=$=LP8vZL|3#-3(rM^L_ESI7t~|X7*{YVO$i#r@Ahs;lys?} z^hc<)VdOweXG$+T!c0H)#?-V(z~s>EG%F<6j4Dmx0iZ~aAV&0n88CxF5H&lOLpg}G zLNviQK!F;V^%Zdb!4I^xSAxQLNM>bPC z^%cJzW=}U`XtqteW>&|hk`x2MjP`5<*EMC4}31Wa~fbAeK?L32wsbW=BjlSgWL>O6v~1k=)6 ziNP;s$*KMhNW#*dBkDzY$G5Sxc0#asLbx}4Cj@#UNVI-0i$8=&w&{5dHxA!rRWwB` zOu}&|gi<>;WGi@s|M+)U_eTKiRST^16b(-2D0G0gKU&@bB1KPpIEt^fl#jSi zwf-5jvq?8Pi9>ppCq!(ka)KmuLw`AB^|q$V_+T%uzpTe4;tiO9j(7HxE@RLOFOgf1_W5mYwx}hWEmWW(jyR{P#bZpP{ zYdd;-Cp(JMwO!+Ir583|S5^-%N?EFbAamFX;te=N|AGo21Y<`uALKYr z;K(wbqR`dh-oZP}pYnq{2|r6xx4WtlV$Ku&q2san$)DeyHq$e>(;rAc$L`fr{@}&~ zy(t9=;LPhi zRQpybOnxcwGUTTOF6fdAl)?j)g6+cL<6pk$qjQ4zeb(j&>ZiWy-vw~R04^YeOQJb} ztp34?zMhjlf|$PTUj}ehe%=@N?gxJ~Lj>(kbE)XQ@Ykk3j&1VqKJKG^S2w@(Pk&)N zf8R$x^=H5K%iO%38$MI>_J_atR|VgX2l8vgK+E^|uYb&!|3&C?LpVu^?Ms!2Hb7(l zRHT1Ful8=)_F}L!KmY^wYYi8J2N5PzxR7B(hYuk}lsJ)MMT-|PX4JU;kz+@XA3=r` zIWok8krYLU(ILi=!U+hxRbT>>yn(P0EGle6YzkC~87q;qn7@ zXxFL}Q=A~llBG%rZ`8JZFt5QIl?qa*)P}aDNH>e?Hg5QkQ-dJ}stD1`k--Uo5vI}S zD|UD9-@%6$Ptqh~vIwc{hfmv?;#47}+YG?E@FVR%E|^e5h9g^aPmOSVx~T(afWv>jG=8LlCL64!bDntkcdr@s#Mrug<$^Et=A@v6w+~ zpn^vs8~Sk~A`Jo(q$KML@IE7z#IeaI4YDsvD-{y1pf3^J61XleI%DGvqQ$ zP0)ZLh7LTH4Xf(#bXV(V>`Cq;wo_aJ`# z^%vg-kd>4RWkIvlNoO~ewUz{7Y8RzmG4Z1wf%qYiTgqdB~ApdZrGq)=byeW}U z8T4(`+(y0j;)8y>@UZKggK9zSt^=lI?ch;a?X}sam1U~hbywz>15IgA$9ldOp?-7j z5!jvk2HNMq^S&8a)>3mKK>u6|jlYBqYPPf2{^%sIHYyX;?O~}emsV?N9n}2mUIh9D zRpBZbJen7>d0@Va1$^Mbd;Wd*dU2=Sc#Aej=k?>6Z{B&V z-sZxEQm8KlvEmid-PoIb2i91gh0lKb=gDV%yYkUbU;T`tcLA68anW%6+!57%;O>R> z9{l+YU!Qy=&XfxO4Um8Ze2(p;2fz3g27B~Ni2m^9JACy|XnxBd@$6^7bM@$bs6e0w zK^Q{XwNHTz17I!62?_31JOv9+Etd83uF{v7BvC zHJi(M4No}`h}jT=I$$`*kDcrzAV;DjyoumlJ91CE0tFXA?uC#HIpjmq01riefgUF) zOd}(L%Lz=aT;h6QQzr5)PY!d6(R%<4kolI8q+}(dOyw!rLWO67M30Dhr9+Zu4{ex3 z9|F8(#47R|RJkV-l&qC6_XbRf2$PuY@e=-Y6skzFL%=KVK;-}=67T0Cr=&lV> zBx0a-6sZMvOc|3HCH|#_A*+=tpdBd_$2#Va5J0x5ahhyWkE+y6a?7%u>?~7EXAqE? zmb|e;ZBbm7kk`J)P&T@#NYL7mW;KaF^gW1X5ZNEyDh{L^Z4tD@nOK?*I9df=>|q0b3I;q{hpg-l8bDND;7@P-Wbk;$~C|QLtSm{2c4Tin7?v@Iiw76z^guWc!W{<5e_4zd4d@*bz7z7mZUIlQhrlps>I$nV>)i^aToGqkvtc=D^*C68%$*E zLYOHMrtXFg{_@?+KAF(x>hMrLEU35WN}43dV4`AZ5It5fBdpOv8c13+{?ygPFkZ20 znp6%n(-@pxqiG=^S<_A#7_hM8T91Lu;5dn^Y!5balaWkau^pr@6h87oTDR9i51Wfo zCQ94}H8&j%>b+NH_5&KY2% zL~HJWscx<$XRhEGR#jCUhYk@{&~`}Qkkw>#5|VGJ;(8$fR4K6$-lF!|f#G(zUZf2- zZQ1tkA`nkFVv_6;a2)*N9Ul)U2@~yzUyyHr%a_nbK0Lk&jCU$Gw#QGBagG3xv@o}M zY(O6V@@kJ*!3G`{}t zub=+)xBva|pMU-DpZ~INKjz;Lit@B~pX1yzvtAkgw8&?kmq9jIX)F7O~|$)-w# z9+&|HJz@k`@CSh~2!(J6iSYhfu<~ATBzOQF^1uUY&>(J5A;RDS!+-~UV*ZLS3$<_y zxv&epko1m_@{-UeoRD?s0S6DF3PTViu<#4r@D1TG4&`tG!*KG(@FdF61~m{LI4~j9 za46bv4h3-#39%3jarx>n1ny7?X^Fx!HSrWtF%?yD3po+{@URgXf)u$x7Dd7oSMe5cF&A~w09z6MUJ()#B9>r_ z7DK`ockvjJF&ULH`g&0S$q*K$5FflL4Xv;gDRCLGF&njU8)vT>ClDmkU=Q(u2P-fG z;en)LP#l5rBaD$7-SHjaF&;x85obUK>=9GQr5)vQANjE#RWT7Q&s_A;9|^J`4N?vP zvhrADRBRTQ}DRT0p4uPr-_-@7_JMtt^G9}ON zBPUKP_~(S|hv+a;C26uIZL<7WG9+UXChG_2ye}hfGAM;|D2*>C{&muVcCO`EZiUj$ zg4|AfvQ8=C4)Lh6Do5z$elKu7=+VB1DZ9_?!UyHrF7QawD$VjNXXVhcujL?3>#VLR z#i!@;#_z_mE6Wls@iH$}WZ@bvRq!r@mQsR(4|wJ>Dwk6D+UPDdLNR@WF*o8Rv6Acn z(=qjuiR|t>c5?0F0)k|+=c?{U=40sCZXqAA*ds6lQqloHGN`!Xp<3a^GC|9uSO#NHeF1xM)*1 zFlSAYV?qQ94XvWjWaHKhs5mo%ndnKPXd)~OWXe7wzBWQxI6^yVrz;`NI~`&?!*eOj zvoRe{Hj5(C)^h>WY)Vc7mmq>Zrvg7`N<|?;xGbVKts(??!Pjz$Knut~FG8Lo%B(;P zwoa@_=%XVj6g3CuIgvCoD`2nXw>-*VLTX7W zg?TJ=f3Pzyr*ksp((A6&GYO9@*G?P+DiL9Rt>w!}Rl#B0(N zOWgCul1sUGRb^e))Nt(0dZX1!_9LJws{WkA5GZW35aOVW>S*UA;q{|Ghf+~cQ*7u3}9hLizh?#)<>WM?W{9`{P<(?#mDbiuM(N%}F96MWp!QCs_MTuX zC7SbUTk<0yg}&@-Qm(+o3Fm%>DGCAUJH^<>YtLR?LJ4@+eY3?X6`IiS^X zTgseTwM2o{a!(~#T~>U@G$fR6I-&}8(X zx3-Gc4Dw6G3?g~kW_b~{d*u>sp?B((G*L4ZZ2{I_qqkp&=Xo;|Z@njcWlE<=^?d=j zex;RgZ=#$A;SD08r-*n=8y7*;?Q)Hk$L{w`;cOxLmuHdUHxy!k!6|eN7{{ho z6lGyeruK7MFjre>R#jaJ5pW8OLAQuO7jSP3Vj`j47(#W^1R`WE$=J9dglW8<=Ym5b zgLULBULue6SUxC)UhCtnJOeafBVG&jct*5^r1W0I`ANsQFr^KK;FfM}2TI3wd%v=r zQ_f4dRB!7gH$Qm+*cXW*#;<4tSShz~DF_NTJtLTC- zS4SC~EN3{VI;ZrrAW+vpnw4v8l{Z9ZRdH2j$Fx1Ygn++9r>1zYY-~zQ_kKG<=`1O; zR>zH_Dk}C`AeJg<<8^wv zXyaJdToOA^E*rD`67MF$u?sC_Wk@@gr?O|Kv`u@qY5QbG8&71rwsm{A({hgEFGv`r zN`0HRiMzNlZn){>dx9I0Ior6M`?SHO z0B9Onx^2?nwPz(-!wIVG`a9lKzd?e(G2%E6f|S6@+3uzX=Nm3{SbD?zB)~z~LZWqA zI(gusz!SpYidiH!j$;n{Ar5?{)1jMuqQq?}A-*+$1Y^PR`c532B7TfPaLOZonODv2 zKPkK@EW9ER)S2=$T5^{ny4x-vyPf0PA#{8s%B1EFoW&6WfIOyknhqq$+{zc=z?-zq z-FyLbykBSzNWdWv-u%w-JV<~%&-uL1{ru0nk8c6}%{{qao`yXmK?UACF9yBQ9sSWE z{yowqebOo2&zrJI%{46W^dYQ_L;YrFf=^&In~_7J%ReFw_6i&r9LUA|Akw@4#(e>8DjrRC9nKp*O*EckUgt;t0BGi) zz0&iOlRY)vE@uslJvo4bREOT!DYvWHAWZeMUuqRp5m-Hk9Y}s-5NxBTjvjoQ^+yIv zJ%OZ5a=z!uzU>WMYk<`Nybi);5MlNH^9pcN=eR;awAWU65yon4J$( z#8AY;gAR)ogUB$WMuk^GEZ7JVWEy*GxNJxV&ty7Z2a)K@!^I`bh2ZF&KsFSu~Y!gb4cLDReXQdM1mbj?UN>1@i)1DLO0zi~;PgvSa_+qK>jkEblfI5UyY}teyLSO>{9Q$jyohLwOoMI}~KJ~_D4fEIEA z4m>Blgv5gXA%vh=C56ZZU7WEMSz4O06`+Tl#VDCgf6c`gUTJYP7+H&1IU23KXCdhW?*pML%sSb3hEmmYujxtCFVE-2(s{tkwMq~D|LvFO!J8Y*NUO*SQH zVv`$AC80h>A=Fe(SUDvYSQs`4YKJqK>QxlzeB+CPC1KcVic5i*l8a8l$fJx}uK}t*hZINyj8|?{Q3%dr_iLo_e(h2i<<+)l$ zmzHZwd#U!Ak_;Re-1nlZ+uU`-$p~~@#=F{bZ329D;f5cMxOWQ&*06dUXB4qQBNT&i zLK93}@#6_?tocGhU1K6o5uykc8K6Ffkjz1?W7N$Fm7Sn~qiVQvNveixkn5lJ=buaY zz>t~TFjA<}St+m>EX^Jscz!8Si7VsAb5)=4&9eZr8{l5}m;Pbs-Alw&_N ztV>fTK3>{@qpPOdXFuWNJt?0(DVT4uqDFrbQ%c%>{^}s?^tt_rsr=&}Aq3S;voeD$OBnbHF(1Esu<#4R3CsN4&++d3WrjCqJn;&~$(x1zDjf zHK)Q;s&bXAR3#{13Cmc@?Ik-wDrn z%5$E!Eaw8w+0Is~GoSqI=R)WS(0~ebpaj*EJ@M&JQ|>dN49#aj9}3ZkO0=K{O^@Rm zio%6rbfeass7F5v(vT9fqJ`pU=QL{4lx9<;EN!VvUwSZ-I!vV*TR=xX@=LfRM5i?E zCrp0|)SwD=J2Jg!Pu+RbobvP_OFb$(hYHoGN;RlOb?T#R>XB9Qw5cs(i&fh>)v$_n ztPrj0SNDTeoSu@a3SlcYFJ)3+_33Hfnb8A38a3_MNq?lVo1XmI9eZI?lb&Q7S>tKe zQ%>$ZTp(cyPe>6l{!s35ok?nEx*8a!UUsLT!K^MZ3!))*?kWel3|zzFp;l?mh_YLc zT=}$?8j0~bcD*75sYKTu321$X%WHP_svW>q$xDJ%Bz6S5$33}EfC9sgVGsMx#G+6l zI+(}^?ZXfdR_@9D{C0r``)iv9(*PoUfFa9m(27Cq0bD=9v>2{6+UT{I=8jD?pNaO|=tEo=e zl2n9b2fY9EDtNv6;mfAzaXU;5&cc?JgwPCiD10vzNT= z7Mvg9i5F#C!v_s$R34L~s9q<>sgRaJmy!!fXeJY%ps}?T`jDqeyOOZv3Lb723zCut zuG#V=S>bZgn#pEoNXuwyT#4bZ)GQz<)#%e)X|&lI-CrZVC59d{-;N*sE3bS*AN0V2 zKEP)WX51PRwk_jqU2+IJ+p*EK1}B6_lSp#`E)tleAG`z!reqtZ5SF0ZZ@@%>L(TwN zK&8J+5|13*ydv?2M4SmO**@eY2TATqv_ag-Wu&qbJns4Fk$zjE+qN6QZAMVr-qc3- zY!11|qC~m=p4YLmbq(TJi$E5`7Vfg7nwr+ph#9A#Im}1U0+{m3=ta?MnR#o*lyz*% z%`7n$RyxHxlW9mUK%p6WN!}lwY~UPGe937KO}w!bTYHvbom?;TT3Q}$0g>^G#dXZ) z5n;ySL;u!{M&xR*p#|u1gwh720nXe~oi9vxo|Ift4_?=b)>O<#urV|9+&o6jPHH-j zqBdzZi^hEmOt5USjVIzlIc=^%O#q22CcMAP+xr`!;M+BA!acX#gya(2(w1$yQGi{` zrI*}JQ;0|~+c$wru;kypqy7#Ylm{iH!5NDXiD2Y%5OK(MubSeBqxiC94zEI{P9&}n z<}Lm*$!vMkdm#gn_EJSD;#rc?6znOQhbbR^jDgP;rFA%lovDg6NB;{G=-Mm+R98BR1<(JETE( z_@W&0;w6?8Cf2qZEMP8{S1$a5FG#j+coH3kWiN|2K%Unw%b^;Lmt^I#ND#O`tl>7e zkv42&WTSUW5{5z-mJsnVA2P@VuE#OmWlyme8Vj)&cmZe0b1cOpTDHP`ta5vLu@Do2 z5`}glIj14IvmqX$6CqMIC2}h{_j@YBD_yk~tj0x=mMlNW86l!9%fo3+(>3k~HvaVo zFZ~B%fHB$#d^sEGSBFv@`&3dn)*26`;mf>UNurEFxDu26egdi{@87NQY_FLl$ZXM@kcp@>hs)$Sgmmj@tJZclc-OH56OJheSe4 zdEq30xEF#bfa~ySp>c?7qljLzWQB)FqnJ1BLWv2fiSdGoZKHTlmKF$>{w{)3iH7)Y z55|F}SR1JLT#3|RtQbo!m_aaz5SWv2B{W$XRZU*@WfFo$AhU!bqZ3QDVlkIPP`ElQ z6Iw5GD>0J}IU^P>raQZWlRMKhKl2SkWQ|0V6h?zQw`G24G$n5MMnku0Nr#5xST%_8 zk55O3Wt3)oabHA+mF5U8(y|75IFEbi3qYqCJ@_Jn@iaU~7(0fM)*&wkD3S6LVAp1O z8i|4WLSPrkfq~h14JjOpG5Ck_It3uSbgx z$CBi{}eC^|F&J*VR!s)Jrcv=FebkMLKeI;AC-_#v}Zd z7gKUHcqor!mj^(J8Gr$t_$ZcfWD_H@Ez(JV%C?u&AwSeM9M@)%5D7`AmOIaw5Ia;MJ``g>lm~27Y&ld!1A;_4Arwo5 zgiSPO!l;Exv0GI1E04w*QX)NRMr`>>c2)F)%(<1~X=nb_Xd6iCMOOKpb7r0b0zqu_ zX{;88R|KbE!{33^*+YYZ1J|J zjapo25|~g%NebwR3QCdib|%(QZtXUa<`yRC79AW)9cQv`bmNJSX{02IOH*cgXSE+F z#Sp%yIlE}9z3QvK3ar8UOUfs##cE1fWvmZ_tI5i&&FZYr3azW;62lX%)d~{GYONu$ ztl7$~-RiC1+N%NLUf{~D*h;ROBctc4uItLK?dq=Y3QXq8uG#!3`u@!5v_X@G(DzO*Ku^sEN zADgTh3$7arvL$P>CyTQFB(mR1vMKAbFAK9Vi$W{wtu31t(nO=Kbh9$cvpwsx2}QH5 zv{$a2Pfp2~mrk^JTI} zwQf~r!i1Wpl(tyQwr%US9HX_SL}3lbSXlP82obiF<+KKIQ!mM@oQ1Y~yHHJHCx*FVHgT3adz$qT;RU*6mbp2LxTR~lCabuf z*|jMNSx4KVne%Xj+qYwzVwKxfpmn>r{_DAwyR)-*v%YJ)zWcdq1-!XiyvO^y#e2HT z%e)qwx^mmKsTaLma5;@Tqg0z8i^IEuE4)!_yCPP$Qk%TqYht?Exxq`g$UD5mYkOubOXe89O2TI%b<1dP2C zOv5z{t{IC^^gF!=fjJtcqL52X!n?vR{J=A;S%7=QDU7@3Tfjv8y)aC>MQp=UOvT-b z!>_owJG`PRDZLqNn#4Q1!MMQw4J^blyu?zh#A!UfDqOo~OT^^Mz$#qARZPcqT&!2z znJ9#!9rQs+3%e3w5kIWAa1q95yuNMRSxwu$-uuQ+?0d9#z(p*{aXi2-DXW)^$(h_I z*J{LEki*Z~vJK_FN2ST7Y|5wH9h{sIpX{um%uu7;Q>ZMyAU{R2f1tq+3Lz* z#mK%|%fT$nnykw2+RIO6%V#yr%goFySj_Hv%q82*(@f1`^~~)W%^+LN+sw^Cb)`+5EBP?9T5@Q0IIQtlX^Z?6L5S&-n~b@@x?F%&hj@vHC2~ z1IW^5SJ6kcbh>9%^nQx(Cc9aGo27lP!2h5(;CqOX21-Sl7AAN2GqJs70o4+ zN^hfK(eac6933biO&TH43yv_-Rjnr_jnLC22Gv!!*4tPe%t|nAN;Un^T;K%XFdsd= z(+ttmKfNA8Q4iW+TY)P<^n!|gCmKr)PffivX%PZYJsMI?)mBZ|;(^t9JYf~axGp`K z9;{H|j8SAwDrRs62XWSntuj81A0|iF5oFf@vm2qI*YCvFPaV>MJ=KM++T*nmcsx@W zoO<``)upLQZT@`_lFiUL?bZg-1m6G!YLL^F{R6!KuyUhg*jpEGh;#>ge2Ql2`fYyEv<8Lj|({$q+S_y@eV8Jn%u#uS6@qwvvtZT{x4 zm|gbK!_-R!a*iKkTgXie!65PHBL3)vZV-lk+iN}Oo-2aT5qR^4 z=>y4m2dSa+Hb8}W=^eP3jI`cQ?nrus>V^aBrJe6w9_##0>;Js~vEb{vKGyHrr z>y;M2<*vqLJxxk?4IutC1US0*W#J?i94|wlVZ@G3&Tq>j6LTA;1f# zZSbkl3ka|9Q$Orktn58(w+6v_9!9l&Yr+q+@jNu`Gnxlyk8yvgXTgc*`F_O*g(k|%K&IM?1)?`1~jjq;Zy%1*5=qdg$!f6Zl z36v#QLMG>)cbFzh?4K-l)uVZok4pX$bB3_4}G+=t-rEcOrjPoFZroJC z?K%e4kTF6;6a207cAtma6vQRUm$?_a=y z1rH`%*zjS*i4`wq>@?xP5DyW$z*QO7W6YT~Z{~bZV!3|eS%9hw?xboJSK0jr%lH|(+fRhvkF1>zP!5ya3zjEDsiffW)kqd*LXC3X=U zjRhLHENWvXm|vzSbKEv3k@Txw4;^H_G8V^| zg;b~Ab=XObYE=1O)P8e_bns7Thl`r;wl=b$32!09GhPLUggoT|=y?aTUPAWPH@~%L zX9Mxs_n7e^Ospe!0^!)WJjTLxqylOMS)9m7Mne^j>wE(F&A13RGIWJ3FJTi~yUvy_ zg0ygjTsUAleCU~?uS=SxC0{5swtYeOw%)O)6KLl+dOnDv3!- zDi;)&m}HF?!JHc%B1U=9kuf{V8i+v0uF&Pr9-9c7|8iHqr^PUK1Dr|$`^T=|{c#LD zbD-$@cSs42?vPNam>(_p$@*YWVE!%I;6Mi+?r1OnZBqLPf8BeWt6{VOvV?V`;POvuRn_b1q zSDzxTurbnXBXu3|`J--w|C{RiZLcd*KtNREL>Bf*A6J1xf6<#^+S> zO*59bC85%0Yt=%5^(W@Z$WOGIIXGHki)odgThZ#icDgkwGeL@W=PK3^nJ2A0IpbpZ z=(B}3v}hozSRMx3GyodbqI!*rBhl+v$07kllGS8_)2ADpZy%mB=d5~2Ogr=VD z4oSg~xIZLrxQx47YL<+tz`ZSpg{j*Nx9WW~Y3CH3OOu(| zQ@K-g2^(2*xfO>H9S{flVtJ2L1Rx_KoBOuduMQrVU%T4qvo0|Y&GoDWb*QS*A&Py z_YB)=%2vaHhGsQA6z=237FZl1CtNR0=`}F7UOyQMR^(ZmGO9X?^UT@7PcmJi+@!o> zTK9d*1dAoc=)Q2WwNL3hKjOydk7+%qJ zzQlsBspujcUSrYWv5zaNUe{qUxxUMHn_I;^7D*Ietb)w-#1f52#72BfalPXNozayp zSpEf1FMAnYBrGWJ8goYYmno(2V61C--vb=4ZOuapbh0N^#x>tMM2Ua(YuGpsl>!Db zYq?Xs(ZCi&iuCqFD{*ZRUGBuw_gwcAYW8GC39c6{eM(Vb6RVONt#<)GQoCn9UqIe` z==TMKO>&a*IfHHFx2a0orxc~EU#jSb|Muz?fBBbw5IudLW#Exfp^jf8>ikOk>R-P3 z6SMWp3Wx3JYVv*Z(trC4Kjfjm)4)FWE4~Ay3QHltKM6nwe8A=#Kn9eM0%<=>8IRBS z74n$C282Kl{6GPdKn}zV1H3>g$-v}0z!6jv5Ntsgv>*{&!6*?vB|*VAu|X4D{y-Tl zlNankAKVw@@c)s{`frv zAsFa6B~%)Sy-}DV3?V#JKR#?kM1&cROU8l#t(l?%yosAtY%p;gM^8LQe9T8DEQs_=6K?#hp>szr_($pBM0?~DeN0Gm zjKLcrNG_mfh ztW5J`Oa^pJ4a`f!oJ_2=OwbfSY=lL@%*(;-5gzeO=m<^LjKD8cKr4)j;e$WoYr^eQ z&ChI2-CVXtfz3rU$ml2naI_m8ur|%004lfvD50qqchHMgc1$V0bLXbrA^PYmUh|0F&QY92Hr z(1NI`ZWKvxsYg?!0t$V{2z^lZlu-KQ%fpz^44qL-+5S-DgSG*k$B9%=zM;q*Sy1v6 zi1SR(geU^*w9XZcPU}o1CACiWY|;p&sT)vI^n6F_tWtrHQYvM$COuLIMb0ao9xV;i zxm$oH%>nz=feV1oE4TrQkWr^NQ~Ny9>!eXTHI~QF6W=tj0R_)@tQ(pd&g}qB)dG~MbGM_)9FOiilBn&gws3C)gZCa&b&niiz$IfFrq64K`lrV-HstOi1pNr z1#Lz5TvkVoo=qJHQ8frpjaK3et!tIm=>gS&{y0@b-BuvIl%i18G+KdH?ja>+MWmgw)h;;?h zk)2wH@L4xSS*{huJe?8l?5u=<$aX}~k-U+C4ONCsh=HxvM#YRw<=J;ER&J#>5Ng{O z6$o(USB!-sja^l!?O3U$T9C!nsHF)0TJ2iJRS#Z$02g@N6!lev=*TpC*=Piiq%8>H zxa(j%o% zgO$!t^-^n#U2^SGgst7dwOy=5+#}suGriv5o!?q~O{WlEF(lN}_*bP>Kl4Qp`VC+^ z30`e1L;YpZ6wO@g``<|sUEsb_f}6 zOd2dcs|4cp8)7HM4<6ph^GjjcWa1EhVl4LBgwWIbE#SaJ%^30EDz;)4&SEppmLgt= zBi6#D3uB1*VKQ#uGoIt)IL0q74Jw9X1ktnYz^lYLqD6~EQCqda&^zpMBZH%35w_#) z5X1r%Pw#BlgqcUx@R2-r%hgaS5&{uEuD7t+Ax&(e8Bhz8-#ERK!J3zABz?#S z1G44P!DYRQB)+Jq#zGo-NTAh29bqn;=R-MROJ);U=G8dG54Bu?Y{edJVk8vf=rd9#XQ!|UZ)S$B-NF9Mg zumMUo)*FGP^6{C9S+vJ_IjttD{mY%&d#xH;Z70$guf`I4ijBNG3W0hnGO7s+LF*b5 z2{t(8IC3%HZi&i~Yy5cZ{%Rd+m~44Yg<@-+JUDEj$>&{m3hYK2cG0N**{_H)F5TfH zp_XonsO-x|W25#x3DzK7+?$t`W=s@OflN>r(W%*5Yz#}gw=1R>+G^oaw3YF&l^HkI zPA#}glbM;Rm>G)oIb=8LF1HRVxP}V3F1Q<8u6;T(;ut;Bi;8#-q#jZ^MCt)_Sc9eM zZkzW0ZcEzd95TI~UTLHOk?M{z^EPJ54jY$VZ}#3|WN{lW=8gk%#pn?O7~t%_0qsO3 zZ5J6KJrkEe*63qu?eXDiF7RsnOBXCxli8RlNV5r?NaXLj2|23pFFNUU-mV(+2<;M) zduy!Ui0<60FZ=O@74PMm*6tTKY(1B<$%+ruUI+IgZ<>Z|UaoT=*J6a|$83CWd#xKI zuWwBxTm1eTdhn>S8>Ie@rp9SBeZz7spK{xZ6fxog4JWS%=P^CPkl?oPvU&=+X6{)3 z5vQS`TaUHA9w~ajg1|m#(BX5O{`39gpC{vKLx-;^OY}w0kj!QcG+XK;e=~tJ@=N}2 z5m?);5{frZ$1PC5@&W(oDbMIGR}=L~1V$K$nV}~`yofCAyO}D9EY%1F>xhHUDuQV6 zfp9&qJvNc>A<{g5ih##tX zi(`+kNkAznevRtc+hnS)rf9l1xwGmLI|#2%?T4o~M`^A|SnvkF ziAYdScSm)1Z?1Tku6nP8d#8z;r6LvBcYA*paTyHx2D|Dvymh3uFf|QOR<9hqPG8dxi7-2xflYG*xDncfOy5J#EbfBo5?d*R=~x=)@Vw?YaY ze&t_&)%cCzXMX6nzT#hFBTWA2zkck0eX`De?q8PaKmI4Q{_Y?Dgm~>DauM14WK{7G z)hB=VkCf>r1^FihSQP*FzkmGCfBoN%;y+0H-+zGMB5)wVf(8#FOsH@n!-ftYLX0SJ zBE^apFJjE7aU;i$9zTK%Suw-{ktR=G32|~I%a$%*!i*_%Ce4~Q{%_*UsdFI7ojOx; zSs+y7P@hJRB2B7vDbuD-pF$4J&pm*|KKOq7^tb?ZmDN zfD+u=HR#uab=l(0t9LKozJ8sq{pV>FH0;)ZnRQx#m@`sHig7%9v) z_&Rna6$EWpa!?`tT?C*=3&a8pFu#!Yn}ZKRcvNsN9jAl-7{w7Zf^!B@!HNwVV&s-k z(`859XV)2~T~XkSHc)%5jaLvj^R?F^P2A1L1vq)!R9{B;(Y9QE0Qx7;1d#;!pCtBK zWFSZgULw#T3`SU`l~=knVM`Qv;R16Q3M2xE85XDEb0OaKmP&`Q`5lTTsyL8o@Ck&3 zKJdjz(2N7&Sd(cy?&RZr`PC*#B!wO-5Rm#UiII~Z2 zY)N`cptsw?o6#XrsN3-CmB4h+_KE4rDhO!2N(2(jXxt> zEkf?TThIiEGSScATs=!zjGC9y8dZ>S;cHT7 z1C8#k#)YW~1xTfuosnQO8>`$4H{d$klVUN6Sgb8l|C*lMs)xN7!jLa|V+r?|^F2j* zZ+vG0Nnu0+4tlg;W}&f1~}D77QuK^A2dcLC^(AN&pn{%doa+$`WV#Zwv?KXM3Q#ElD6T4CHM<-!;OGLU7N z;Yzs21yF%c4B`_U`8?9YkeG%U0}PL84n{d&g${~AvxghfvAQPON@qdSh0WkDja0 zlNeG2#Sq^FsBnk}=ujk&1c|I-2CHJ#s!sQ-kp=m*j%!F!X2L2Dpl&9!bf#f-jWZ|E zT$efkZqb$<1ZM6&xF6l5QE_oJRA!t;n}Cju4WFqGXa<@nFrH`u10qdCqvH@t@oP$? z@uS>;;X?T|Go&Kb$umR#BC+I5>`c;34w#OEQkL>iB`Yb9tztw|9X;!l(>fO23TD4* zmF{3W)s_5)IXULFsC3jKpa7Su5Od*Xj+5G&@Ss|WH^g#+0$l(E!6p=WRbnf-#0*1= z0@c`raWP%>sut&r75u`Vyt8faw0g{B{Pbh>||Y1$OH+GFf-him>A$!^TJ7PT&U%X^aNN_V=0m8p5rbX-)eHdS!tZfIGHD)gy#BiM;9 zDk|IF|7I4w(xonY0Zb9r4)?yjg)Ds+>{teiD8CxP1vXt!iU*W}!Uo=Ofc?t_=niP!R+5a-qaA7%_`QD&Xi6xWzJ_F^#SCVif1Lz%|}6k9+Kw8^_qkLLM@a$@1J1 zmpI5pUNV!LY!uGs7&I%15o9%@9xZy;A|QpyxCrFrFN4`8Q2xkpLKP2Ps?Huwxa1{AhpCYU(NN$VNs>$B zx+3$$-zqYH z2-hf45yJH^(CZgnli5O_zK+=ve~Pm?!o6xnY+|+k6vf;NCu^fNlt@;R->|+38iHVz>!tFU6PXzrDi3$*#ce^^E>t2J@{m5#6=gtW)b^nzoR2RsZ-W~ z{+3n3d{LV~+9tg|&aHA0pE%c*Qt^${&~E|(TtTFH!;4^AO=$;jX!rcYdW%vtMJ#!1 za&9@y&HLTn_MFexJ*&jwz1-fZoWD=Ej@NN#b!p)D)&+t){nRlo15)D}tTOpyJ4KjI zmEH5AWK4&1wCkb|%hxp$_Opi%(qdpU+S3kl?~WI{1flu+pmhSeXC*vJwfzEQu0Ip? z-QJc<-0ts39a()6mGV2F{S??h1~R>jQL~D?u%!abM@87wF(C?tqC(JT{o2}BNNYh` zl}zJh{G*o%ZEuU)kDR`5sBg~3uj~3-V>`?0+e}=37(~($5o_SyP-KzKq0fx|d>d+H zMewy-9uVJXRGCni5=F3=(P*LH zLbS;UwgsQHo(!S|46a|6co>Mmm`FfdODPf#b)2Yu9R7)%u+Yf%)mz6zA!$iqI#ki&6~ymF(V<;bkALN4#M~z}H{c;0>|_kntd_ae*{ZlQm&eH3cDW4dL4L;r`{< zwh53oB~`JoT<`Hr&_ST$a0fb3)KK^wUEq`haskhgQ^&*;UF_P?5rqCd86E~^pgtiF z?DR)w07&JP9~-tIah;zY{zordf>3Bw91)CMeUtzS<6|A6`RUij2;v_SA`T{m4&qox zoD@od$V#Od7YxTseIvDH#_L6x8$MW8&=huf+B)7@7ItAyE0E*`Q8$q0vB@|EfF;EC0WLx2jaJgV5rk%Dam~a^zu4xxC&ein^#a%5( zUOhrl@KxoR;zhEZXsy=z$XCeqqC`qvd_kmYonvE>TzusrWi1YBNf<;{qnPDjdNGFi zG{qqD#zkUZ9-1QTWf%IeV0I-Ko9JYm*klA^$10X2VohRoJpQFhN~QSWWKM<`N@ClC zHDw@vS5vYi;s_L1M&;uCR!`o9Ax@*33?()GhEcxcV6>%I9uEHnB6fjgPL3Q_VkNSO zTb!JuGxlX+9_4Q>C48A>S~BHCG9@r-s%swG=)1%HVrVg~4f4yafj zXKB$FaPyODyf@3 zDR4w-XX#jxQR!Veslo(mp8Cd!;zfzp*q`zd5-M*PDqA2bjVWqT4l2Sp>Z3|V zq^8BB&RC^ZMy6s4YHBK$a4K4Os*HhZsj{m6U!Ceil$mj$8HO+iN>N&+^{JnpW~=fl zV7)3tG@6-B+XEqDN2F@6B5Sf1>YhGZmqe4SS$d)CMD!p- zi~#GE4_%U@2>u~YO2oBp>$>zOT*$5F?zMkpkbD!cM)zitY%!XKx)nVPYD1A*j;2Xtw%n)%N}v&@x0cP1B?>qSAD2xyA*FM6J}KB~(u0oK|FU ze&w54ZQHII)+WR@rj(i;Y$Co?%Tk+ZiLKL;t%Auc&*tlj#%X;HCUv^);SL$xCIw;` zj%uQ}9s5>At1rs&3)}Y+h8` z`J5!jmL``T+lNx9;BMyGuI}#280S6(qGB%Z3UAf=u2TRn)edj+`Yfj`fcx<$Ix27U zMz37vn7OvD^kT2SQmbno|)FY*3li1BIps;~5huV0Ms`oeF&erA$M zX-p&$Naz_zY#B&gOVgP}m;TiiV`zX5)L-sU!TZHT5$FImVT1xRa6^ay0Z)VoTtNl5 zECpBa0(%4n<1P4JFGs{`+081kZf#771hDB|U)`DWMMVBmgrE5j3u{FGVno@%1Xw-L zpy9+FeWXbgK?f(I2G@iGX9N*DL#2!TtAA|%29I$>+!42F56-z%R&g zP{abid_*7{hY$}j{wnXWD)+GjLj=Yh1R)!REI%sqdcZAvfJq4LL0HoTJn~1pukv)q z5Rpc#2oSBz4;a&1(ez5O5Q_rEo3Rj8CjA-V(IcSkTh9y?8plgi8Du3u(C^$!fG{LN zb~CzQ4LFm_a(MH)h|oTj5w-u|+R(nCQR-Nc0upF&8xPnb2`ab1e|_aWz4- z0lPp!3-Uo=Fi1Oe4lr~?PxSZD@kCFwNyoGhKlBwCbRzDwLr?TZ*I4^n9IRoSyw;i` zGe;NW>Pc+=+RB87$@I+pxLnR8%gf}6=Kz|`;EWUL%(P&j@(s(-fMF(aGolzI*bs>X z`R@gJS-T|4YoLv}^v7Fs!L``O4IC612}=Ja$uH5413AeqUBtqDG9iF69`@8j_;E#3 zG(!{tP-7Djmo!ILj7n=TEek|tceVykfDJIPA5(Bhi@=#Ua1#qO_yBdqEb&My3P8v7 zL=$jr7qtPSwgl(&0>g6F0yIWjb~TAM#2^G8i$F-z@eP6Y0}yv8n=#VAM5zce-rgY3$ZB&xj}d~7Z9-#n{pGIH29!$hZ7l6gPp+UP{q<(_dqo{j>vd#g!|YC{AdwY zk4EvWht7y$7(Wp)k+~Kj-|VIJ7#9`uTrykpcah+ZwlrOUa}hcd`0j|!UVqJ8V~uPO zHjpE@Lh7(a?2BUa^TSnyY(LPAFN6_ic4g~y6yrFMf3#)$I0MtMN?rPMK>9#m^!|Tr zx+_O^heLXi|8|NCvZd=ZPD{GVO1hE{d8s=zE333^U-pn|aAdporT_R*pYIONF_oX4 z4cQP5WjV%jMKEih|Gl@|1zIvAQC}_J62;Sx^>9#DB}Rog;Ye zpmRD0@GiQ0x;vhqFWtPCaq!SfH~_`>&kY5)3)2Qi9Ad9i1s zN9=O=c%wKr`$Jd;ms{_!>4PLG-V)N|B{?%GT@e+6dnhRvGb_Xd5?vUQ{?fNE1iJV6 zp}ET@|99C;eFqx)U?YSc z^*9~tdfhv`2KRVuS1_onlxlajbt8lyV>UqN^x%s>$1evJurlKQ19y|#I^&}W>* z0|b{MIv#N0B7&g7fg}uyU^szFLW2`2RKn_Y$GWh0GZwP+_irVrg(|5qctbFk z36cOOrs(%?B!i0sBQ{LfFc-v74+EAwIT2t>j0{o`{aLeUOO@CtW_%j7Xwo+?E{FvT z*e}jpLg4$YHtk zn2XT7=Kx#}y7Fk-ki!l={4k`FKpc@oi;yztC!U5vQ7EKNbWx}hWt@@58g0B0N3_y0 zP9yg;+>btx3e1tnB8@x}$t0D`QN$&cJP{`qV|?+b7OMox$t<o&80AkbwsC}FWU5F6F;;q+ zCYFjhM8OX+PI*a^O@;Vdpg}tMQ=b_%lxUunHgx3~W7a{8mnRy*rHW{>sm7g`F4E|q zla|!up~D7M=&#Q_+3c;=X0z!MDe%Gt{+gsdsA{WgvQg``Z`>H{j>o2m?~u|~bnrI| z*BkLS+n!Nwil~@-zq_;UDRHia4*GJx|L*AULOWOU^U6iva&Z|Ow=V~kieZHzE^1y0 zXBqPz9mLErPdae1kM=ZlG<&BV_#;bqJL<^mrh@f~AWELZ*@NfM_S!(Mh-AR4*IaWt zbLZ%Ku+i>1dyc>N*>CE@CSO&NjZWYE?Yrjm`S>v!p2X8#7X!VRu^v%ZESm;hI6VpeZZL2VEMN>()xIfJ4}2Kh;RSEF!VZEEME2vt<0hg% z6V}atlrtjq1c;{}!jM=)oZbcz_%Zcese+L5*bEsZF&lm{PV6IKp2DcTqnQznbsFRE zrl>R|en^QTD27cS5!N9z}u;@hhOxe8@Gr^M=lb62c)1Fvlzxn-sy!` znXT?eR7{Z|+gHksd`^6Gv|=PD=|DEV z(U6Z6eNV;*ggstfD62_)RP}vYa9PnnHIOQF7{% zn(u_>BX3AimZ}q;8AaSiO-4BJGMlWu&o$O2|eYa*bmRB_|6SQZE`3s!(;LRM**1L|V0~f1@ip z<=WM?ebsZF6sst`#!Uu7G<-)jDfS-tLZ*^&l%td@UL)I9f!ejP<{ zc))0LMz&237XE>SHEd1GNLkkIl9Few=NaXxS9Y%TwY6<64}nO~w&wJ+OQV+yGLKF^tC6QU9`+E4X=Gv?vv@>AMe>p8$Uv}2#9%IAQKlP*V6HGMG*87B9EYT+$m44UxE;Zgxk@p?sARq z6Yq6Dr`x7`&JTF;Ka;T#n4QK}<2Vzfwux;-OGBd=?%*+f)%*>22$IMBT_4nO7cV}m(wsvcG{##X- zN>ZunSJKfrdfvCYPahGBbqsc4-_C{kAHR&=`}Ws3<|5LIVBWNN1`AVZo~;Sp)6cAV zZ`zdp`Q5M7hPfb1;9hxlbTwJz`nz8t@qGwn+8B{z?eY9maJ#f1lSo7>y$H?I)8?gd zs?r8)p6&9RiVGy&k?!YP``V$2AK*0qF&6YB3HixL3X|ML`IP%CE}sJ$?U$A9nvZcH z!gYaVzal|n+m^T6&m^W${u9!CzlCLeaj|&NZNZM1WX93Y$3{4v3pJB$-* zcic3KKR~X3A-du>xcW6Sw64M|-tM?)GxL*f28j3#7US!qlGz!czG|WvDP9Gclcrfl z9@f|rDa{f7V@(wq2(}D_T2VhZC9m7){Gc&&H>iR}`|ayYmFAdCHF~9af+gD74ElNr z+B}N$%A1C<;fV_<2n5$)_U&qL3)E2zY|@bg;U{8xQ)3vuLC3tVd^yB;JB!7ds6sLe zT8+S~7;j{YpXDqz*vx($oJ)yM zJ5ucZ>3%~fOZ83R__GlLob5RcMFU=9iPCYsRDTeO68OVhA{PMr9KnY8KTn-aEc|^?%OrZ1e>hUjf4dj4cZ`+ z?HuV5CP^gaKbA=P@mn*l21UZHqhmkqA&OE<& z_0M0QC@0Q)Y$mDs8gv06;}zznW|tJyhxl8R^VumZ|@W5HVzj(F2f6snkgsc zN|PAU0vpf15Xv2yCRhl=jUBm}41b^VqLEvao1JZlTV|hypHj2H3>HMr`OB5ZiA)PS zNb`QqePjMQ;-2EPNoPo1Y}=JvMNVYzw#a@}oV#J!SsHo+f)#K7e3{pG{H|cJdFMe<@{RLj^ z09Um20?|FegwstQh2r>^f+Rmxb8v-3zSDkO%p+c`RJNJ=d=PyjtOC@63Ce*@NrKB; z#IA6u!Mj|bsy$CJH%Dfdq&lmn)X}esv}nmnq2idzx!}e-LZNn~A>A9SZvJ4U|3Ip! zrS5{QV1y;G$zik4Wy4CL>8r_h+NgsFCocP0!(NkfT5r)xijP`%is2tm-@6}4BC9E`a!C}|$GSBDHJbs_}pbf&-P; zskF&)lq4>cD5x4;vKAx)on$#bkj+SZqD{SFOIf%u=ciGlr~DwH$hz!?LqR)d@;z1@ zUh;+voyti^#KIXu&x=-e=Rrv8iBdOD;riR5*n0kxFC&FAGpyxjZCjTIua*_%QE?wv z*QhRS?xI8?5TAUP*$#C`Ni>*>^Ui&7I_@1coN?R8KMIm<{UkPlV zo-~UA7@uK$e$qwrd3;-H{#@?Ctgkx08Eq6Fc+jL;{e5|2826O7R_t(BxuK~E4Xue^ zleu>Agg956zBiE(3y33n>vdokV!yC+biOC&1GhaCLDjFoo-jpegZ1UO=Z0)(s z_;C|__s9Doi;ml{;?<;SfU9@PBRYFzHIh4l@E24leCSgg;SJT~=d@MNAi_xB22iB6 zQ)Nedx_Mb;_mMD^0ZsC{8g+4~iYHrUc z0nU`!Ixs(H=(Y)-Ba6Uh3Rw_q+rnjy{HlJD!h5UM7R*1n=lgneMis0AK+sA^vt}UO zXV*+HQbJ(6jW542zNgv8`+)DckazQS@9#n%wPqgq`~IOl<}6pT%V%{oq98blB1*y# zU9b-GlN0W9Gj>tX_f#=v7;d8Uq$6w|9zSt%-}ORVAyzLDsCE!_GujlG*#7t{F8BU$K6t-NBvL49KMxnnx21Te&!92Q23pP{Ng`U2 z!K)cAYUeEKZ!Q`WFPR%IS?4U-Z!Uc#UUoHH_Vh59{s&RoUFazzYS-!gP6O6vbBRjvWsoBi=Vrz+q1p? zX6LQZ9&PR(Y_ugPtiN}#ue$Z!nB>sh z=+HX%@X_#lP3ZUGod8xTRo<4opw%#ayPMqu*OI*zmWWx&pm4Dm6^h{nq&V|J}D8^yHT{c zd>KG&Mh@Ria=t9I)A%tR$D|-%Bn`Z^G`z*^yBW{DlK|ZQB)NMlvdF!Crz>27*1Zp>R}eDGCBu>EgGzhV=1F0G-)6dhtrMGrn2cg0eUYNF|io(915L|os5(ZlZE_Xxy=qT>%}($RukDB z7C8msTdk%Wr;TR?E)64WsA2nOn9kJu z8kds=6rbd+(_N3l%~8&e7(6`@E@p&Mkw7#_^br3*wBzayu{#4FDC!cTQ84B1=7C9oh51E65th^CncisSk%7h$XttIu;U}Bronw%9n02xw_-9O9;w!b z6suz&Pwz-Gl7ee^P;HvFsQEn+WST)&b+=Ttmgas~b=mvt;q0;xfXH;!50CHgddL-R z_0=FM@A=gbNSf*T3y!wK^;ZJx>g(4f#OK$;WZ_IVBUEV)H=}fA)i+~IZRa=RY{N{q z6I{zshucZMqw3qK_mAhd)1rvXcQYUG9q(pkXlw4~6nKB!&8tW=-!EurJKitqSl8Sy z8F>DG+_ib6hqKpBerc%Kr*+z*V?@HS;XJ<0%I#h@Rv8g0h?33z@L1Q zbwX&n@ZwJT@|U@Zk#`I&f!5j_5#hFE;I8M&m*kf$L7TM{du)BI zg#`uXW8&bC8Wm&P7_(!YWyy84`gl$FO?>}BbdPM-7%$fxJoBTTvl8@=K7ypAw+LT| z^=^_7&UOz*+C<6sVk0FT3g0yyWAwDl_+q~|X9yhXylhbV7^1O7iRL->soXra=N4*0 zIL9NCv%!+G`g02;cr3~mSLSS?}5e0!*{uzTeg zwl2NBq|jduqQ_Wit*$cyyUcq7I;ZDdU`pD)&_Vxn%W00* z+?K@KGf-;c_lFfSgZVZqOc0~LG)%b_$t*^y6Ur>8peH&-zNzecFQYP2GM#T8Yo+`p zeN0xI!+6Mznh5hu8oe{QEW_|njc`@brqbP|$YKLQnP{|+XNCsl2ZOz;w{UtUW>h#e z$+|<-`aIS{yTA`y#g)$Kg$}2J9z&Y5!LshA46F<`E_>H+2OAD?$#v@Bky@z;hNHrsjI z=Qb6y`sHa^*y)UJ2=O}zz7@-0<8S10eN6hCa$wujDXX@J_Ieg^t%j#?_>|hW*dXUy zM0=4a0j%4bFPQIlb$+9?t-0LOW>Wsp;874-tc-R3z`Y{fAUI_{wvyFSll5KhWa@?` z&C!cHTl*_;w_h>I-#nY*GpE8K2ev~WrFuh#F5WhG*YhO524}Wn>J@QE1l-!TxpVm$mlu9892!qxyYHg zs91Rzn1!g>cxgEJ*f_*FxIb|7NehcAf8e53m!S4=ViT26m6FktR#KBzdcD_|QC63g z*OgW?R!~z>*3wnh($~~c)Y3OH(0qM^o3y5-w5FYsnWvqSnx(#)pVI5l_tUerwv=|X zS8?$2cXbPN_40J}@|RYMkakJ;@_}$na!7|1+9ke@I{)mJY*oG(bGig8`f6LgcqO%X zC9QZR{dhIwJT)#FN=>y&J>yCv{Z>7#Rz2fZBmLgL zhH>b14(wYBZFb*fBZt4tG24^b;lbeo7}oXDmM z3X2YniVurOjEGH&O-fHpj!yZUla`*6o|vAUTM}2+l3v$Rl^s!498y&lS5=l?SX5b3 zT2owCS5;S7RaaMB*HT&4SXI~3+S=XQ_hn#Uc<9U6@W{l>%);W*>dMOc{{G?N;ql4I z+4c3!-QE4;426Rz<+5cO z3cp4ZaN2E*G!zZTlSxFqlWi>iCoSGk1xZDtGdajMl}={yx&D(DMMID$fuicAu#wvp){}|b4@4&5 zu-Fl3tK04a!=aFDU@?O~K(JDPyJQlWy%0+IT!oIt@AYA4W|=r-A21OUSffc4JDX4D z-*V!6t2|*;9~wEi2zS#|T0-C0fhVdYtE_rvK~T|WZjdHokW`}2konyT~037)g_rWq;5 zAI%F|_CH!ytg3#rZg`yiXxj;6yl6j2wZG^%emym{^St%!qU-7#<7M~VlKo}R)Bj6a z{J((3G{=Wko3fgRHHWqz59`ju%#Ryx%Z`tmUPm>L&@I1Pf)Hd{c$W5^_synWZ~akz zJ?_Nd2YBtluuk#qhEt+H_a!L@1n-9#$34GugRpcSdjZS@$Z~(a4I%byzUVyjfv4~# zt9X1ngu-%A+jSw-zT5S-d2AX}fruXl*o==u7EM#SrSf)b0#s|6A)>XbFusWbbkC6?l9#J+s3>Y7C|u?X1<`ecj6xw++Q=6gf$K<> zm_nQ~nXe3b*HJnXg?McvUs-&vqfJnY2!>_8ab#Y{*eDbcEsuQT>Aa40jwyO~Br`0q zb{*$6QAF}MGA#UZ9S=q=CPS1R5huDyh)^h|z#kov61YiBh$*I`l^vCPrN#7#VjAAj zQ6-<7vFtB`lt!<3=wxY5l0B zY~ivKW<TX0=F46F{NB(vXgdtx0x#wr95q;lTJRjSv#m@e8aL+pE7T= zj}^)UmUTa1wI{=$$CSN4lAZQhyUl%qPLv5hj!p->+~xt$%0&_7W`c?C@_~xw;`n1T zVFGsrpxE*cv~sgidUu5cljTypW3zEScSU4q6*AItb4i(Z#dL}la@u2ashxKvY_S!u zC$rCIuHBXLO;#v*j?L%3+?9!fKlB zOjc^OjV;#t+*g^PRp|`NEj4D|SKBC7=`D{fwRYauILB5Q9LX(ruHDyqO;#B_jxG1T z+}DB8s!b5(R|bh5>LV1Z&G5%pz6m@uB*a!*(8{ll={+>2PgYy;j;~JnJT&E_)!0bO zugzsXG?y#Z*lCZiEpK26pIJdSTeUmp7a==ESkg&o+pPyIlp`e6Kt9R$Ir0Z?2$gjQh} zS^sH}V5&ZhcVZXa_i2a>y&*zcVGk?o=?k4wLzMQ!9$weeSGKr@7;A-nqV=b5d{Yf^ zo)h~d2)l1kQ5zG&6%HugK99&KH72D^SWsfXU`9O+9pwHBqtSmJ)0t{arA-Uws5eFB zH+hHL2nb`M6vGSy-a=C&9YV<3`GKMd1DQt(M*`~|quf_8=ob@5{PqXK{^)-le{d}R z_GKnQsksn;@>ojnWi}qlnLw_1BB%c{mp;{8$~$?YuB}Y*G*$>5Qvvr7*3fzLh9|;4*^6x)EAcjT^nB-J+}peg8$#+va}v&b zUXQ^GCfz~1Hj(1$U)-?3D>g+_^WyFppLB*a0nm^zvInO9VTst@?+A)M?R0L0 zVl!o<;gH^-Lwgmj`gOZEV0fRu4*ha*MR7X#&eF7_r1XhA-r$gSMQqHL<(9?%7rddc zXBy#DSYDO>{CVyz2-zicU^Z)-^LU6P9sPt#Mt2iV#BHXbJA}=mV83yRe}I(a8e8H0 zk%;vG{zNW9eb&2O!*Be!V^jU?A7S=Fs>Iip17Lfk4StZ&HXT;xBhaS5J16`jxJ{Vu z!bu=}M8NufW?bcvB@gCY|LAE}GUtw)wdW+*_a!GSE>w8r=d6~9&k~xy2V;B(iW!FQ z*kqh%WSJO>`L~XpZ|{Ew&G#Qm20Y>P3cDt}&Q+3c_v{dsd9$lQ;DRs?mzoSw z3?E<#QK5Oy9PR$M*%!Z3MK13|2zEE2=-Iuy{_eAR0Hkn0PZus`-~jpV`eU8v&eWfa zdBls+OAq&;WcVvB%Ll}d_icf{tiT1dVAb%CK_T$Ac<#E(Q<)D5l|Hq~YLvRaZ2x^WnC{rW|~xepse{#IL$1h=cD{ z?z{?}0YA>5SU`3*pt|gJVEsdm43q&T$^Zjp#1pTtlo78^4*#c!{EEYvKpeXKd~gsD zo5A3}{FzkMlRZ7R0x>&Y}(9!!U{X{QZ_K zH-KppjCZT~E~>NTwnV6)RGZUfd?e?GX94$tQjJJxwZAT}*;b)HK0LZU@AX=9Jfrc{ zKX6z+PpPN#{%obmetW9t)tA~Cii;*y?tNXsay(yU{5K9??T_av_x1k%`E>g?4!^1^ z1iBqCJf6)?(BC+W%5%IE0+OQJh2Z>+!&c?HVedSScf-lT{=(r@o4rW7((=71roV7l z%#@50mcwi&KNe%}I6sb8e1tMYgoU6uSb|1}Dp;B%y*Nl7Z-pvI8CHifmIDF)pMo6; zz(fio4{(Kj02I-1{w1#Ix%t_}StJZeJ{S>87?6L^r||s9_WC3EpX2%(QS4WNQ~w&j z|1qNfQQ*XQfx)t{a8m!>4$poSIErZq$j3|xH>J~guL6fyuDN`+h{*NgJn~-xhr3iQ zN1@7YbL?+{qigh?u(f)%$!5ONQGn;{FFSlJM;_mFz0>RVbaNd4WV81#furzL2mnOD zz|&2%H|!55{8QkJr*qnGO>{IJP3KGeQ{cS1;YO34EoaO1=6?&EAM5R|XIqn9ZGQ_K zQl;+p>-~}B|3yTh|ECd^fZ<9P4T)x^+jYiNvN3hWH7Y0nNa%FD>qs0xSLi?OCEKGMufvM}Qi0RS zVB!G#jY0H0YK-N~tZAwe=-5o7BwrJ;WOQcQx@I@x*oGH?QVZFOt1{_0q=<0pM5rBS z3A*TIH0i#1NMmXoUiyD%hyND|9P%x{#~+W|U__Ru9SFYD({2Q9?bBWi@5R%;7daU} z>_3YvG63!`Piz3d3=C>ng8V#Y<*y8sa&igtuT8{B}VZYqoJr4 zWRKTWk{vHJ9QP<&Yjxgl^$vfPE_&&IN)vakghnC+D|bp99ffFYs^085RiqXT8?~FaZE# zFiCLkfHD#~CK5Vs5_&-rUO_T?W;!}LN+xznCP5ZXS{5!wTDI5bvV5$3LhN)*f^=p;z!^hnsHNZ1ug__avr+$fohDEUR%=_I&>#3`A)NTkI{#PulU zr068H=p+pJ#iZVUkY!dhWmmKmR5TUTvJ}*@RitAQ6(N`6XOiP)Qe|Sdq+_zAmWph+w$N~`r)VlF<1S@vscdYiVQ8vr zY$<1It7U7dWoxTrVqs)yYohqUL{ZsNL)up7gN=^7zlOA*mY%JtvaPM2zo~+Wt*MEv zy{)aOt*xzBJP{!k#b9R3yhz2DVg*aWP7CP)Pas`oJs2#NxAu zRiV6Efwq2wyi|jNLXWgWm%LP$yj+94T9>?9v4=vDw@SC8c!!5{tGCLikNUWcV<7~P z3DzrwSQf^+l_Yw#q%<_y1ip~Z@GIOG`6EiY%(jw!_V=6PU^J6p1 z(jv>sBg^VzDjPFP%d;yhGt26;D;o>rqiVsB!knne^lGNU>_t)?Ko zw+PZ(9@$%wQCL=9QdwD8R$o%tn9;Y{-u)$eaJ%a3M90@}jpK7&^K0D;``;RaCL1!R zI&)S#vj)1W=lY5cOTtguQicZ`hsS&72TIn)+a_j~msZ!lZtRV0eP7!=crCgp|4I=W z`2PRFpw+-L_|FVlEb8n}J$nBrx>#ISl)@SrizMah^ z*&5^D6L|=V5;*^jUwDS+aWv0_3D#SF{AJLRDj6_3 zg#+E_mK(aB`?rXq|4F1+@w^iQRf4QXQw31-e-LR>3+KTFv7hVp@!v!$taJ}p@$~F_ z+xz<;M2fmww(a?=;*d1xZzAm{JSGlCGLuqAvUb~@L9}*T*~LIpbPf#{9yxdmSzu-p z$NZZ}|6S2t;uCkHd+^GI{Lr*9mB&kI_=-!!a~DK_E=ola0dUr#kf(j2%Z8zJt_Q>X zM}A4|03cEln0(J#hUv&lNNeE=!ex#~r;?E8c~;3o6}kwlUULk)n{ za0$bp2vhCPfB#KxJ+9_2gVw6j=DewXQjW2-m4aS1(H9n6P-}&Y!t5Z)_G-}X;a&ge zDBL~5R+(30oUg(B+;3Z_fHzA2d8<%ful?ZRtgh(rl<~^qNob)~Cqs`>6)Dfom$jSW zvp~JoFR1Fbjx}!$A0!77R|HnE|RY62{=&qk4j!r+?&ym-tN0zk$9iG6+ub= z`$XgIp7S;9soziX{usSGdqv7V&rx}o0ZONJBA!2QwbB1<-85MQV_{+rV1-#HB7G=8 zp0mXXCs< zary!Vei?-~)WJlN2?}HKHi73g3no@734jt9WFqiBwV^91(nt!ZwF2%zsudFuOhyuU zcp1?!gM1{kV<76RnZ!HsuV5nxGAQJjjvKHS16CP2h!}ZKc{8Ep6-5DB z5bWZOVztf<}4Cug`eC{zImsF6I zW8^V~Qw5YrAe?{<)C$r8Y}9a;YBC(mJ3w8Pkhd3LDbeFybSD)!yh?BO54oy|)@Bxz zvkxO7l8yGHW-`?Dx}k=W*EGmbh?Rto&esS!w%|aVAm&@b%C`v4uUn-9#>ei!w&r0)1gREb4tBI0Z{LG%s^@ezLm=ao>^{EiynYvw`0X?Eif;b zKLD)dv?f|^pW0|?GQ5NUTfs|gjxH$4T(Sjh#D&t)2K{OJ4t89Q&kH3yU&8!TsF6MB zW)!8c3vpTsS#?imB4F97+nOyUg&DL=Ipzx|s!z3R*3>lV!AMT|6-M_yh*S`zvSY4f z0pHW+JSE0*P-0qMb7`m#(IkzfW2qja_*YS45P)aGQijrJEPQUU8at8kb?2^3^i4ws zwq%en>)=uc-a;te;%l!2y%Al=(xR%AP6)}v*t*lhecdLi!zEB&I2TpQ3tsG8f&ig1 zJi0}r5YaU!9Rudpm!+=7A0Y$LHKJ3*AvSy#Fj-5yzCr|e)TR=lDW#$}R_0kkIeKGuk^S)Cj49Ytj zJcYg!ZFbXv8Cj+Ir1@2gH*a|<5DRa9=$N$_SWZgNFsX$Hq$Yif{ZPS#YHnly48XaY z&6s9#Ww}35(A@KG%@jI=6^R_0P!p@^)nd#ihdrB&dZ=Nsitrz0I#UiNq&9!&Rxs^_ z$mBr(I)N`yG<0XfMbVKxAn9Ck?`a!hp*R2gU2KIU#Xg7f1KZFybP%q|enuxu*~IAs zVV`4zEQ-fQPI7ALPwk|WxTVF|$VYeZ2n3p&48K3eOZN1eH4p=TCk~tMGm;W+jpm3pI?5V48XPWcAMtWqj=WBWp*?>gxPasoR{P_ z?}%4X#`%djeTOwteZyFYblxNu${b6Xwy$wC@@OYK&qbGiLTjwqdReb8)NZ?E3iu!fsL9t7H|k4D)pCQ@{|4XA=P(n3%#e1(THk$ zXs~(l>fSQc?~?1s&oro#V_%YJ*(O(a8VG}?Rm4awW;=IZ`48qP+FF~!wBVt2r8lb! z3CQ37w~^#F_1sY0eJI+C2My%HE!t|c-xGL$>U5l>Z*{ zY+A_rc)!sHyeF#lw@L({*~#<~E$!&vcNwFpUv(vvk$n;>-v#O?0TlK{UT*#f{(86X ze+?JFw~MHqh~-X>kA98yaR5Kw6s~~`j@}fmStTfC2ZXB<)O>}c(}1;*{Dw2s|M#BT zwuHZJy}lF3*K*I-$jk=-B!?Xl;S3^YqO>EUQtthP@HlA65Ck*BhL3IvW+j7w2EZTL z(M4ZR6azy**9Z&wNSQD}SWh6r@}R~Y;9FG~Z6GEr8%m-m_Ck@mL@QmOD7x4VH8BXS z2ZXp-k7O_y_UMc%a768}g2sLoHV=X)&PTrlOZm=VJUe@Y0#HqF5Z8BLp{r@1jFZBg zMyPF9P+;~U3L_wQ7zkho(Q6mt%pM8Y2~l|h2@~LFKLsyghLC)qk}70F8!*6NSEg+W znWe^tID=7Dab3kA7!43vAfRa_2v-c4N&rEpBUA%o>P3VCoZ&FNFnOJWK&Ei-fMHgJ z0D*hAsKKzF9qLaeVGhS(g!RDnegxCUuthSoSOP@v_HchMsfZnnXA`dworv)Ch$DEK zm=)@H0=57Xv`7$k3LpB|Oi+3`>_;-Rt|u($aU^Ir1S%8t-84%23zlaRZ6yJzfA+J8Ug1*6Y_#0a1yFM&XO3u*Ga8z=W{HB&x<}w1;-@K|}E{0mVBp7%p(LeApwL zu#RkT(KoTTBh;bJ5t}xEK$CDPneasu)Jbr}ae263gwziLj7YqA6SIg28-S2!d|Y|h zp&D)vTSCeRTKG;poNhvwSENGuYZFN{w3CE=n8c43mT0Qdn5Jodjoja)u|^&-g>51~ z$Uq7RuscUUHiSvaBOugO5IqtmV+KCDDz0>Uw8<#As2yimMz)C!37`@K+mGDbpOG=j zSO*R@d=az!;~xH)K)Qe$x6!!hw5yR$-jN=v z=rT4C7nsmv+5AWqbi}80rRxkH-59l}4E~G^F2dL{dgaR13?iG*IF(RpITYikjH;7@ zVo{Xwr_4QC9iL@{?oqmx5$g5w?8O9RyAkTIvT<2th>-Sd)zP@$Ak-Q9cwO0?rHuHr z2z(R%R8~2tKG`bh7zy(66%G1+s$jFUsIMW6*NG9& zkqA173!oTuxoE_flGtYu-Wtg4Iqx@JITT$cNkKJ+>m&xm2iIhh3;-9h351eoW>!7R z*C1hXtbt}$f|_kB_)n5>gWjiwOYua-&zhi@M^#$M(1=DxNSvfBnxN0x0>l`y9amr` zKyXr>abPg;#}0}-LyqEUpkYR31#+bNShOEG#MwDoCo?s0v;+kS%|$HQoPpT#RLR;$ zHeC}zm@V&77Zx*&fLIr6HYyrvBq_8aU!}baNiRAQ6oYnMhPsRA!H)0GfJ@E*C>aIe zv!ORx>fLIB%`{((aWLWrpc)8nMq zs($1*XgyQw$i@q{L@e4?CU`;fLkaVz0r0y>HAr^3MlZF?dQle{q*q9;mxWOqYo$8h zKy+|rj15U#pgQncj;CHyN=5Uu!6~_K5h+^ z(OHiy--?-)CBz?IF&8VyQ2faR-ASiPk`QrH6p?JaDxx2qO0df4Q=^`2_40GEQ3lur z6FZ17by^@d(zZ$OC6!;0cokX0+K0pApay-Pc7rIIvjO6fkggGxfYwl}PSm2!Sa&~` z6oy<^iGqte(^3r1%pnXS)TuC$N6w~ir5ww&jBc$*sNH7O7{&{&7MFreaRR#Ou31Nf{7^`202GQSb5oQi$)z^;})Z13{2^LvVgxM@-l~*>jp2kMcpjGxa%-aJ# zC7^oS0Al(vmI1)99rW9T&s*!%!Dq!xf`~ISC5TK-&3wS|nO>*s$g7_v7~~m-0(}jt z9pQ^uIfvwuU&)KUX;2oX8M|UTVaBw3eFG$v_1a{Zu$9+VB{4~bB=EiQ8?*jPlL^Di)-jZZ%D@&JH;$idTQ=(Q;bNF{t=UzhIi7H zA8kg^ky?nE3T4v&v?!}ydj4|^jjTTn(+V}q$^u5lENRp17uVVQ+u1F=xoQd*^N~q1 z$GQ7G`cktwEiwGXdxy&oMw|m{*hQU<5=~m z1B|MX_16Q<&RJX)LCx}*q90%#*A;zK5F$(IR>PK-v)||#&fy5H2y3s;WVLl6f5$mSFa z;5LMlBZNHW!0)m1EF@EG7i1h4BoU!$DC*nqWU>Dcr(ag}cN4@wN28suBcUIZa_v#^ zEA1g4SJ(Zv_A!InKSs8r0W$^_r=}xD{^%73Dy%Y$Wwy{~>5SCVj|CyrwjfUJC_<0Z zYcsk;QRS$$+c$7_{+tw4dLn-2*tKcg_kc{M8z_Xb+7O~6v< zd}>Isd-B0X106^fAho4}Q3XbcO*rdv0`yFMmr2kbR65TJU$Y8;ZjIKS!w#PBHq^8* zZ$qp0+nBLG`Q*E=HQ$c?5S_W`1;%JFln{CAjoqg3WjNCJ&B;Zgr&nW>ci*yL zl4tHfUxpD_y0czR40P%HtV+q~EQQ!j9`PZYD5x`t^gzFz$B{R`XF1 zcHR)wU3Xuc8GM4D8TR}d=WD}Eqd!S)7<+TqwIys%`+72}c1cGS@aPx)k$zNd^j5!3 z_d1GQeq=|Ei$UjE#c^_AQ&>QgjPl)mXTErD=4Z51_LGAIy^|@&nBP~N5$QgHv`Tn<^A7X1J695)7M^gy9yw6OHV|5@Egua zVMyP3I5YQo57re{bJX_Jf)c}bJuDgfUheoKuQ>eJo*$~ntIu)=^7?}&nZV|lrV_y! ztu9P>e%ARVGRM%r^fdtC@G4ClCdPzdLItdN)>a2Ly0s`H7Yf0 zjJ{@So@vz@_IP|2C9{KRw4BV9%+mU?)?zHF)ILXThTQRnIprF&0g{2|M6IT~qfM3V z;!$qPaU8ym!uQ>Wkm_!H=dE2l5}Yn_xPI)12ud}m43+oIZhTr!@VC-IG6b7=%HG5< z{=z+cZC)Z&!dWRMLKMU}zjhq+4=Kq0*yrhqPnRWaAM3J_ux-O_4y*NP@ge2-2C-md z?j7~ApnQqMTi>Ww{vy=2y!74H$XJ{igGE&rL=WgJUJr4#bO_h6J1haf)haGiV0XUU<7gz zX@^J+RYncP;>Mv8DUl_Ef2vXh#c+-w#5=*wQBr1LM-E3~1uN00T3jpj6a^!PmZ)`7 zVsz(!VvjEonSha!=Wel>7UtcCa4PX16+@F5f90RDDhsXKv4(O&f4PbQ5Pos?cLA82 zdl0@;7QdTCE}RsXhOudWCvOfvIVW#j#m274EHtYwZ#$u(KFz>Pt060rb2YDF=?l_W zP46ryPD;3|q1r;O{EVkdVp>wL18KU)#&oQ28Hvm`K<5wf>A9!S^PopcB`~1)swKPB zY&&7#WrqYY_%!eaOJj^n6y3G6BURrs+OA2-`>3SN$oDembgJy(pv~BCSO3m92$ANg zh+$i@y&M(Kl-D%eFsjWYlD4$nEb899(m3|EIlT%jh`?|0gdWgtk-G5X>p?grUWa9x zaaadK3^fB8Y!>ATpY?CE+*9-1Kq!J9Rg$I@U!2{6P+$s2F`Ix!MG+lFDO_>;P6DM82jFM3gSRZU@COf4|SK2BX{Xj$ill~W%+CQtSX zIuBf?u93A>#R*W1zY% z9x(<7O*#%zB@=tu(mxOz9i;|MX&?1G21_D>-R70Gvs||0hbw_tIQ>1(4Y*{co(E-R z!b&@#q(;^YRYzM4-=%f>y|3ksOd!Wy(jxvpYuh^S&Uv?t{GZb}^5C(gc0^%+KOXf3 z{`rGw0(iqG3X3-bhB*-Z4ZYwMLEv$IZQv~{&jwk%ai>oUCzcF{$Uu~~%gYScrV8PwpiUpVA?ye=cyK9l)76Qeg zxVvi$6o*o*#af_1i?>MeHv6#m_jzU>Idj(eVP>rfS^NW#&&s;*_w~9ao*h=Jj?@T9 z5aGtr8PUTiW*tC^HsClhMJ6&r7_+kt(W|>ma%Gly!EhbmJeVPt#x)s}afK4RPq*h2 zCoG8$@NlIdG}Kb(7B$2(RyRtgh+9m(IbuwacLXp{5yritnBa#AfFy4gGj4^3i7@KM z*r@iCkggxBy20d0r&WA}Z2-y#REB5utHUulHWtQ9Hu}6SxyUfjiLjW zQJ=bT_hq*7dE7JYzGUhCrJSBIhi3t1=;wG#xx75~a`?#UmK)7s5N|098OC@vQQ`f!|KXW}JeM!i^Eoz<;CfYG6w`ba~)Q?XnpZB=*2#+`H(sl6{$OY zrzz9`-&LlqZF^T0f1y}llPSY2{E;ft8NwT($Cf*@&^A*m%w&_6@*A+I7-h^ffO4QR z&y`92yB2j|_f@+h8MoFe5hfHW$ zO!Y)TF)p*ohesXYv>r>XT7`>TiWySSSD1^1k|;7ksR(-H_%@ar?b#0y08Vw+JS_bq z=G7qdW{7uGvcp9Z=W_n&I|jgeoj+k)f#O|lpg>yLqCQ&kR*P?S+CfC4qUrBl#hvpZ zisUp!?eINX;_1f9;g9VN&U2*%2sElf7r_3z|7cDy_HnGI+)_u}om?9_LaX zw{>ZP8T(3(eX0mYRpHmaz!2H}-79@{BV&w!6x{NKn89`BvTh&4%F0ZMEAn9pq|Z(i zwLa5J;*sI;ai4%-XWN0!=|nsKia)#Tia@Ru6a-UwGsTK?e~q4GN(4gA&rc~OM#{j>#mdRU!@|hl$=|RTtIV z)Yie--o@S1$Khyy z=@S|mX=;@q?*!9wgBkiJTLr=#BVhL7$^MbBkce1MSg>hqz9%d>EG9M-mK?{$7WIrP z?HL#BIV{myYhqoZ zV6Z4yQe09>Qd&kzMrIluQIMPp&(3+3S5Qz=no`+QR9aS@oZ4KJHt;&B^)H(_%&$0mJ|4&(vh2s_cRTt#tzh*;-N4OB5 zp!iQ&FapMU8Vq`BUH?N_@LiRe)@L|sH{(KW?L{0}cjqv*YG;{^0%z|9K#?hi0+7Jk z?#~1twF0Y9GeW&b{%aZOXbYC7_OXomR`_suJ8O5 zUsoOfeuXoO?hT^@0CnvglaMKLF{*6wqqzkQ}jXMF>Li1x?{ zK=I&e-2Q1oIU#rPY4oduVnOf6z(0+_x-0i`GhyGkORF~Bech}5QHu@Q6Eb)Hh9K<5 zR>wPO!xqybUv9$q@?&a_H(bU2t&ZsQPf&mh+u+4in(*nuyL^wwGX-G^YT4OIRJV6C z94?xI_O!82PJnfC_|=EV{LkPSB_&NE1q$QovTQ>p9Eh{{70>mE%yW+bGkGCJh@Rlb z1-As!utUKXmI8|Nk77Da-6KX7XMs>DyzXn)*7e`r)_N^XJ;)A^?Xz2bGc115FD>hT zddx$9Hi?ZUh^8Cv#Bz6*?nSY_x%-xOqjmqCTaKFC%VtB*!Cet6y5b`MJxjgM82^&Om-Uen%hnIPli%rS|2Amf$~+ z)U-&;n&&ya!`Os+a^!FmLe#Y=ba6siybXr>y3$fSoc%=f&EXM{eAP?jGBp6Lw+|)q zhdkxR!fGUIIer=*R9sIMUl71b9emD&4`a|4306qvki|kuTTWvL^%9bUeYl=R#x|5y z8gJp)9oqHzQooi}V! z)OB_2NZQ9cw47n0{_yGR%26`^pc)k;lN_xtEY(4v!kDCvRHU0w-z#;GW_4^#0(qA1 zCsa^_`VkJjuY0`rTM?3kDjCZTt&gPB7!;lfi4 zOhycI(SlDTt#a?HNcG5f?!Tk;#!T#1ZP z)nneQ0uFcs;u>iPANT?Z8-G&-Xd^WAP>82%SEBm6 zP<1!?l>+w&ZY^IbHiFb$8d)uO+b@Jk%aleXwHjPMeyDZU$dB3TpDhp~k06C}*9D`U zs^q|H*05UV)0=-nsddU*K7-hn8>a;FMb(wpsmP+?>(L1tS9B0Ib4T;WVHAu+X zVYCb2nkG(lwQ4WV1yg8sbO$>zcj*!MrclAxN=8u^C%{~;J z+ZuKfR{%-41ZYy52>CN=%`b;}mx#Wn`Y-8ksW{<#3g)6$mT!o_p-}4QN-A$wg?)m5 zNzU*bK;Bb}o?pBVKjc99%0%-cU5}#i;5lE=!iO~fu+iVzf_#<@4aiL7m)|vC&WD$c ze$;!3QWhWZ^XEN_tUmA^vQ!G%Ufh;JAdkMDdizf@mIvITum@7v6`&*VK4W^aPO{6h$-ZS>T=|Nv+#JG^OcPeu@3|NzJg`E zNtN!R@hHf10GQNrXd2jrLOVc*Qc5D#Xo9wAnnRFwDksl+rijDg)gm;Z2 zuN2oF%*M+AifKiwgkoBwCY=39Y8U8vN1ZZRnKP zgbF*+c8P3s;IJoT!KYIQhP276Cyr=WE60m!CDHzMG7t>f~+ltFcUaQK{*{9XFi1lLpkEf2r(A#z#6h? zLOwD+Q2Yabd>Cu`?Hy~uaNlq`6h|WR>BL??!>&CsEf^(( z1C$wz@|yx+go2Hkl=P|<3&jPF9g4paJ(`Ecmxsh6>M}tmMfNnkDaX9mMS<6ssaP1IRM5x zpx4v+(B3$qX&vM9d_0>h!pyAEDX`vf^a~1ro-W9gB5Nv_O*%yTJA*wO5$}eb;~9*y z6P&F9Wb>ZFDr$|_TTeHv!&A&pG!xIZx_@QUm*a+X$q87%4k^n?4ndTFiM@`%>6C;< zW%+*h)B&6}L7YN`9~mD<&2}y^_;gb!jEP4$atirjDikoVGvX;L;Gj(Q=}QW{0BRgY z1q#F+aF!OH1A!d*+KdIF`Kd-61rpQwda`MCK%NF*fthMyUw)h|M?vFsS@TY6YhR&r zdHCCDuFX5vt;3?q1+4K9lUjyCQ@8^!q5>WtR+#kmAR~c%U8J&L!tL9LT($ z^wp)*Pp<^erv#i?;@($s8WNCi>wmkO%xfsuc?XC?f_!yr*g0PAro%6S>bF&LJdB{2;c=&btMewS$5!&=6Tf}{;F?{N$B zF=&yZu9;l$7K=b&hHF$j=^(M<^HhD%RJM<5hSyZOoO#2=d8;WWn|V?O3J2Q*N0PdE zDck+)WB}$)QX`gYRaywLdBK%-sepH71CvLwgAdKIqqm7=v59d6!3}TzOj&~$oPXrn z48Cv1E33gR>&yUlnxUkX=GVn1*HYCMcIQVw%oMb*x6GNg{Ph4vpCyz!%JMe{X% zm%`WiUGSMMl=H3zYC@Xh;A7I5jgBs&(<6Vc9&xz?aar-(ZzXS^Rf> zZJ}<(5rvg8$S5pr?#AH76rrb&fNrlwVN_yDRmyDdiw&QgkC2gF!2$j1VkP3LyGGbk zK_JlV+1LI)v~!)iKWn|6clvc1HEFpTMgugi$1R#Ov_;^)wp^{CWfZ{cUW|I%2WiKR<%i%$oqb)TMQl=m+AP7{mFELA znnlRd($V$WB4UlA3JKut4ngu9fol!$O+PL{3h<39!JqRs_rq78s6hpkarXHse2YmX z0P;zS30wEl>O-)J?JV}KM3D{N5Io!Hg=VxkB4m_oG8Dv2GB^y8h__s!(Ac-%C81#UnMS~Td`5RXTz43;?rWMJL`q~nQ>n#Jb;ZnbT1#e zFUT}4R+F#z39hJGu8hrbd`oco+PzZJ^U--}+3j*!n)#!t{KqEuj~jCw*VP_>ZRzrHNkMlPU77 zsa%w?T=e6i#Q&ly?6VlSb|uWo!f1iA`46wjk>U-9u!+I(9)<}Xb#Wcb!>5outK7wl zytLtke;A6NvWJyqZUq6G@0bEnna`()9+R2}Yd1zEU`AzIDn1)1a4d@rl5T0DUXPX+ zYh|h&Ed-1OiD%`uOrM>~vFvdSWo~fe&ezCwQG@t_OS<^;cq-RXcv`w_ttLy;v_SFV zFu%0*)%OwWOO&NX8NX@U-Ku6%}=8Ym!iy-`W}7vMt&zm=|%bidkMty+qB*j z+C&Fv9-2+n!kYSf@(V5UCYX<-d-1w(eYVr6;+OK`x`6THaGaLb1X^#LKJan5C&)n` zb#ceLyJr6YhSv#4r*FkEI%lN@W4D5_ez4EKZwQHA{c48%O8x#D?(VnW7lx}dv3Kjc zKf_Xh*!h1=1Hr0$Vf`?8NUwZv&4=X9{TZ+{|AcG`;?@0I-iF?y!W06oLnDhq{Ib1n zmpHP#ZEp4Gzmhi#jyGlb3z!R{JMIrn<&LaW`Arv&p!)kRZUNX*!#21PTc6^n2l|S+2@!2$Q`zGG*$;7SBjE#zVDyVW-hx z=?Bo+&|ULSt^-!et5~y{@04S6AVfG-BeB5GK93{fi?Ro;x>T;89yDF_sz(yfezj5q z(65g4!RPOq*gU52&c)_C3ry!D@OSxf$-$VoKhN8>PplExSPdsxR$p|^PV~+$(3wtu z2z0zfRkeMwac*(8^KejWIj)>niawLKc{F~l@jmj$?OgrA9M=!Gl1`xOUVTXP;fo{r z7v;^eSwm^tPJ_QL@b`1Jw{Kn)`VStJX&+lNoxAU%gr4JWdE?jqz(07pJ@dwUyMv`8 zbJOH`1J1ay)<>-X;HxU*&v`HX#eD1cd{@C>mz1+w1gXLC;q~pa=GW=x9kFIWZ}ZfJ zH=Ua&TW<3;hti!_LrGiPofUIee%c>2X9@3{`z5ye$G)#fftbs5BVbz z*GHpRfUgZR7%}0_toN;MJ8^i?P(m1m-mYRYDesH1VD@3C=Pu;mo5c3#W zdCr$NO{sI^{M`j$_dEWtqdOgG^eQEUC%)g`7e7y+vwHYdAnFGiFR^;mIZ)2^)cgvG z0z56Wk$tuCnah9V^=M?o&)Cz64(g9cJm~Eol@S;VZ}Z8s48b<^HoDJC1j8+dASe$e z8aTBz?G(Y!uYGR8*|{hJdf%3=jRO!g5wtsFo)X!2#{M9}B>(^$aPzX@i5@p*udMrniGJy#QrOS`| zFV81Wv*wy05;;;V{RFC}Q>ZS-b7L7$%SpaukktFJOO{1u15is}-nhPk;2N=Mz76vq5Bi_E~cJ6uY583=Wh+hA&Ka zvz)5?9KD2oB%%rj8l&02?n8D^vLIsFHg>XYlqHVX9G?AM7E}YB(*3{RJ2eEwNJN!& zd=K5McqP)DW4;8iaHt-5DhoQRwi1tvTi!^VG<~e5o{<#e2|*5DL4WgGb+X zPWuT|KHGPrc@H@CzRY>7A7jt>flqDYVcx`F(LHF zvUSi=y0{ef&`rB^UabFG&_VIcN=RV%bq4d#q2QduJmz$;yVHwr;N84f{Jol*lK$-m zvdFtntSxWC;H9ta@Ws4)%bw1GpUQ&kRj0QRx7!KNBX4}7n1AmNO+J6g;{$R*6+n_J z+;rYTR*zbO`CF|~k)*w{m?8_&1TZK%tC$=}5R8dA2F28A7t6rrhmK_}6%`4Q;o2z4 z_!MY687c{!8!g1~!EA6H4u{2@7ve>KV`E9~%0-E@b8UZBE!aAz6&f0mn&X6OqQ{N` zIFw0CwbUzs~!)B+)A}^Us*$XiEfb~m6;)n!w7cizz={s5$aW!@0B}DF6 zB};}Jt{NsYW&e~thmyFuehvcPr?-^aC|^#@Q!#zlJY7$5K_wlglELT`O-(mk{oHn3 zF62U;@d!!GuB4yD*HAQ1Xm68$QHnx31#^UWO}zCULTG&HV^+!5M@U^RiI2P6hHovG zw69F^JnE5HrBedBTH|yy-NCQ9vggx&Uou~EX1_*_D^n0iW@#KHan=0>GD+evXaxb9 z?8m$Khhvy=;YvJ_-T*VhXodM-262^rdg;n(1%I_y4;LuRUaak4i(qFxlha3gWy_i* z2;8?ljUgY$##H#8Z4m9~NVfvNxho?&pxsNOVe2HlR zp3K~+r?onNJ_n#-B-1oyQ{vswY@RvNp;dA-w^*71zzi$r80++whygi2+L^y{#?ZgM zLTXgZ)DZ=oql0`l#!yF;$0~j*>dQV%i|B7>WeUEVHUQ4@F z33jJ>3@yg4)7hzMiFc{AeZ8UDALbO2`d$7enDT9YHGP#kT5=E(_CDl9tixVfSmY+vn5##Hg2 zXcUT<3B<^@R{yiH+A^|GIhwWu zK_OYNb^D2aaPN#5yj$33iPZ7^!&2KA||XNvOH3N?#QnDiQ(o*u$#7frma!`65ClPshDLHw5 zJ!{FQy}Wv^lIFg$lr%b&G?p|pI@Bz(l;V~&jLOnDs?S04(lpv4G#1SCYOEYOY(ny) z+&aR%^3sCZBH}vI{A$m|Oj$WBxp*wOgiHlx9O-EscxXI@=^dHb?YTLE2IxE=X~ zy!eDXg_%4=IUIy#0@;`Yx!42wcmw%_0;HJ&pL0bB@&!pqMFi!B6;;)>l}yyMbv1Pjo>UWS9R+J00|NsS zLsN4zs~56*uCnHy+Ip@gI#6SCSMwK8Z96Y@+dyL%Pb;XciCciRkCU}eprg5(i@AcM zxrvvJhJ&4njh(fFi?ye%0o2~n&dJ%q+1;seo=lan$iGp0?W7_Kv5`b_3mQLjyhi0|Py8hTps$emgue zHasiUpE@|1Nd>JB&pP z8X)Z=` zYYk3Vn*PNoDcJK4bU!gl(#!MzFiPP;Xn!+GKFy>5g0VjA&sRJ#1Xe7+j{ktpr3S<4pSl~a|FN$O?Pfjdb-9AE7P5J+DV!sHZqsX2`BZ`FK9b_wv)eN(Azc;=o(v@87pSpJ+DRoo~lI z5KP!k6yxw~)adHB4Z!ngaOyu!Yz?8V3j;O`6Rqv(y0kUs-<;S3D}EQs&rmGVyAh&) zb7D^dVXt*q2b^j=bXklyBhxjdlKY@1i81f;Urwyc45Pbk-U0~&PX&j@!Z=>8siOTd{(W>M#$~26 zu_NT#3F!DQCzhQzdeW!gAac3!`}t11mV&1MQ7RHW3dJ7`Bn-a*VPIFIZF9cW8k8;m z+lf`Vk8vXURd$+EBh{p)BQL`X??aa*y%6t@mS2hJ7~YqEa$;c!C>g!h(XH!YG<)wa zAaT{<=J62(*V*rNB5tJ!ri2PbIs>LS}8K`tG{$|^0|bH z_|RR4%F;eLu@W=oFRmMAG>(^YT!)e!vt7gi9DpS%-H79zMu!eA)52V%<|ijM|JSkQ zZNFq2S6X9?8<%C4@wkd(W@b7GhxLGo$)H4FZKzeFz0$#IC5ni**X)Qi^GHIir(V+y z?jA*$gjv7LO{aXCyNk)mz#z)c_Cq)1YfH0%fr;{)Zfql7kD!#^8B{=bo5QwyNSMUt z?oF>EYqKxTfyE9TUefGYu}`LkmHn|u|C*A8U$LavIznWiw$L+Ra?|L%z+|Agm@eq* z;LFvgoWXP9ZvkI4wwpYHhU8;CBZS$v?jB6CuD-NHP3CT0eieOtM%#M$@M!%Prs)XS zcq4+~x6mKuH6L70{&4zm8w{PiQL-QByMm2hFMLhM9{-$2E2P?vW%iD(Nc*IGX|Vm> z9y}2kCXkxJZATN^GjTHHv*EdeT4Tn5i8i%?;$Mn7K*@k5b;!2QHjKvNbT%zD)t*gV zvq!t#Jt;Hs4Bn@q#BJ--asRsv&Bm>NH3B zu<*Sy;koe{LFkmpBG?h)?c$}eZAS) zu|6Bsr@>dk?ihvd#n?Sw_o1`39Ee0~i=Mszl)i!2Ui1xWAU>;PywTS+*cq@*xpq(@ z$J9257Q&6UMmE*nbEV}O(GxIj*4-oHR~i$XFyL~c-6QG%2he7RxlB4zy$vb#1~f{} zcu8J!*qr0|Jw^Awq1W}u`%Hom*dEzmRyXy9S~E@xh22YUc)Ap3$KBpuZ%IrYR2|*y zCv$r&6sB)vHQ~AfOoun6btPDucZK25ti0*&?P1pqsJakeyPcOS&G_LmKPi5)Mbi7ZM&_KU zV(V}#$9&!3!)%pT#8Gum@WDakJh3G+eJFv<)}tKWC2GmHZ?xeNcKB=gtNu0AX)qk$ z=C!`INSDf*g6fw@ad(;9$5Uf3iL*kHu-Vr#SfGr%Ptj=+EV=Y<-#$nK+^yXMCg}iG z)j{88t9`V8?9z>rM=_b;O|bh;v8z9;3C|i2xBnKdwH&N@rL@!O=bIH$h83#U5plN~ zaeWKfn?MUV_PHQHj;qr@?qJ~7&H`DMO8>Lx>! zOs^|Chx$+}{w*BGA|O1bChA~3O5;w)&@oyIh z(6H4zckq#nJweK~?wENn^*g(`9tb+%NrgpCNC+1CW=OE6qm_kLENt%kE>cUu-s~!b z6FWxjDnNcU-k-x;XEoH$ImW{|`SXFF;rD=>?)U~%pG%dO{x|ksHE1$eDXz;e5#B)| zlLULZKx%fpSu$A3N^IiY;l^FDx@rPS-z)v|6MfK<70@ggcq4ImFaa$PyYG zUec87DuZDV@D(@vtLQ%SNEf@P^*q}OJD;SWOK;Rf z&Ya*r%^?PYxO{?zJhjlIC`6w{2Bm$bS%Gzh-GFXh7#1$hE1c&0SY#`Hu_0bCIV^{P zAhZXs2vSg%9aVp?TchS!CthS(VYdg(&#TjIS1V+4DlCE(#&LiEYlUy?vY3%cML2mm zBAq$xAw{3_h51C#ucLxK@#}v87B{dJ7b+Gv8si}V!NCWGh3G}`VkHQpqBORW2XSG( zPX$c51kj_Rj{Ddjb!z88*jI4WO`Y1^z1ryg>vvO_ug-BOIDtzH1Z(hOhrVLU2O}~G4+<(#Wm$1YX33Tgi2FN< zzIRgG3z%w95$+vK?S4$(@0FgznAC6)zIgm#a(s(dd6k`|$l<~;@`6&5vJyy{c)f}w zm!G$RlD9*;qobdBrvW@c1fmOS?SMQ_Mi1G5C~ZjSMG3oK)o8||Av@t%t67yARMGm! zm>#9*uRqo92Vq)+MfotRFQzqBT5%#;)kNT+1_1iN4pu&T{aI;#A$om3KSo7;orpJn z=p@0CEU0ZqO$Ca>%}}sWr&i2WpTAPquww*M$B6*}+Wl(A%q2&TYt#*D;%6WM5|Zyi ztBJF#-(#u9R3^c$lbD13+*oT!?nFuem1@l5tsOO*#IcWPADy7EUabIo($kxWYHY*;tt60<;C_Dki!1H6NORDH!t^mYCj8$oi zrUJ$vkSI$xkhkCUp){7LwUxS1trFS*UD>iKC;X)bi zYoL2<05FIr47YbHG`5}t+1+|!5{>OwHG(INRk|G_IPzkfu%sGD-*-r1gGMGp+_+Gu zok7h+e@)m!qi1Zh)?mNSKGk3FL)E6*F=TLp!v~N){6fJ~WL}TEWtdcASt`UpI7I zM+9&6pzb*uz{&Fl6`J=nCkGvsc6apmxIFgIQ}-%;>`hB)Z-rv@z3bK7?DQn=)41x_ zW){b=?9<*aR@_fR-3fn$MEFQ}t<>n5M4@g;#Q9b<_lDJknAfNzHzTqnn{WUv+?5L( zHO+RlAotO3oXU;?v9Z~%%jDXz$F8Xc9jk?w_hB9j+=D5{LtiY$Jo)R!sE4H80c&9` zA2ozo0&$x23HApx(F@hEsNW92frs2Er-iL@{0*0qxeL&@RGU2yIPFYfja0I|fK>Dn zcqgx9V`al=6|{3!qEF}D@W9D1@*I6+=RPYx<)wUSQ%N4mQ%|5TT;pQUskPbo+!d>H zr}-IAGiT#4BTbiqTkoE0dv92!dZE}m$)V9rObu^L%aoTXp)GGu1~tOHsy}yG7eao! z4r$X2YX9ys;udD*8_T${*Ob`szM?%qR`7s=LeD4-O z&Z%!*iy96r=Ei?Fc;fNQK??k^?`awW^hKG zc$_|MO!s(cAg@fQp+9!WQzfT1IDQYa3^LtB07I7Tb7+Sgl$}@s?IMS9iG8cV}H4 z!nAGO-<+LbVR6^n(9|Ef;V5}82jAjL{+TP>UyeL^&p7Z_K?{fHvxKKze_Y|b+H${E z+GIA)M=;9=;%`yKZaxYO%4zOX61nN+8l9c8KyB(t{su@r&ZLXg0QT9Z&XnGheu zv7rHUtDV7`BJ?lF*+uEocm0j43UjL~7K=kXvoUA0UnRT6?%(e;u1$r5+FIw9PP+>p z)<9vPQrUH;1pLXl<^1BeMZ7D;L!e%UPwrNdVaaIC3&3ivdD()Eg1L<*-j8jHA3Ik% zih6ZijdYSMBYdtJf4cX3T(xUH_SUCOQsb|-OLnn@e=ZCcALGV!fY&Z+jcJB2!l`D* z+y=LXzI@^yBmJ`IrKbLivw9}GZUC^H646~#ii6L+TmxDs0;6|9-+Yb=`nJ$>)1+1~ zG!adW8e^fa22~G9yieZIc@M#DoCN)lY39|*?=sscP&(jng8u3&Ve9nokoYn4 z%^_lX`b!Pc6fnay5Air#X}+qN{UfF|v&j3R#S>7aQZ&R9Ip(o|zG<-)!*oTUd_yp1vos`urc$5V>c#rD+>3bo^&r(a`F+bd6< z9&A@+6B}~~s!NSdsnwSvHCN`1nr&?9Elr>9uaKl z&bgeZ9eJupJw04Kwod28+OOs>==8RZP=fd`f*3}&N-88A>ly;{k@#naC56lL>-YEP z3u8#w)#nQQM!Qe^xl0Qds#{eIEkBs}%2=!~x9SYtlP>RGsORXGHv|$O;Q4&d)iJEq zPu{4Vy|`kvzier`64`W^&99R8I_9@d6x?pBtozk8_RIChuUSv^IO#N*65RuQb)^q` zLe|yhZ?8q48;g7WWbtyQ;mV3;+CGbUDN@lWGU&N0Xa4C_XfO3)NSmi>fmXPN4Rlu;^g~yhvMUBh4b$({HGqt`@Q`pgVn`zb>^G1&djs!q3?zp?Y@sA z&Bf$+L_SK#ILR)GHt)SE+1vS|<_g9tWx=U=o%-E-yo?37-Ad5#39nRf9E}Snl>o+= zaXn)8=-~gTzwf*nY79x2$J2=Wenpd(p#kg1F<{8hYUr}FP8M=r%>sR=(CieFj zJ@_AQ?ex-${-Ki&)m*KzI+5bEtnnSkX=queFtC@9uzF~%#FSIK_@3^xg52{giUHuO)ua@6@o!{S#S;WCWkC^;STgTB9j+L>wa- zP?B0EGMA)L#uQ7tvtfNZKjHCJ07FcrIZ9N(3b`HRkeLwgfsxrpu92{ev+k5v^;y(s zJ(Yr1bOfj{bymNWG?Hb?9DmM~Xi~Tu?{>oh1@YiuD)JmXL+ANlscuktawRdFIC4jduga3i5Zk2NSxt3DWi*BaE#PJL@UpvP=Bfp2 z`#Xho74n=?lB2Q3L#&*&5R-qKN;iZ2!O9gMHs0mVIa;cGU^sJuVk2hE?bP{eZ{U$VIB z)I8ASxyy}9_S(Gt3scH_#4I$AIf>w9wk<%w&88F>5017=#X%$OLL*PDl`l1D;*~3s zRO~WYMMUJkv)2gF^Mhizf|W2e2n()Y`l6Jq-W?w=o&DcgJxMzRp%2IGH51Z7C7#=A zF5X{ud^LsQe1o7s?X_{5(7XFv&eJ2k18O@^hy{-5=GLtT5ZYQ@a{A}%L5T-TrcC7h zBi&%+2>si_v)_)%JwR;8cDU!o=V10TuOH z@%kjxFfn^SNoLje%AI{#@CH$%ECh9O7G#?fCrI0su^Tbj7@MaXV*aT9YoDD?R#x7c z2rzcHyWdSqwwS0|W{u45Rb&(KkxBH){;Tqk0`Pz(o00Na7GE`Qrc7BlyO-1*URq#N zr_RtE0>@0kz+p=r4WM9AZ2^@};HU4#wsKD$iu4K&jOn@=$>Hrh`0bzixaJ5o5DItBWt3Guc)%C%=Ce%#plkRiB_(JUgYr zX~+~amsp9t0aiCKVJ^a(tt3-_mEx+%M6R{(M>?Yw>pVutdOcNSK10|Ux)INIhmP1| znacDY>*P+$a!o^*)$#eY%q*N?b;gw?m$a*++UvqW9;IkH36LpAw;}JpLl}1@>&AC~ zZ1VERP#{2EG#>3@uALB{tdVuI#+xx7BKy>u@Ga32Pkxn?imW9u&b|DO z%QUtifHa$z!-jdlY`)*94gFl!S$f!%Q$i%VSm`W`EoGe<^(!J0+9WMpXuk1@>}4{B z9D_eK_R_I^7kr)B7&aK3OQ7u5as)wh3r)CdU( z+j^%)K8!_&%^P33-EwLJ)&-C0(%@oXlKWu)QSy!#wgjU*&mGPbJdgjQfumhiI?7IV z3KWaBA?%?TrbT*>$)DOHFXrV*3WHIS1KdB5yUUYwl={G9pH77pTqopTG-qhpfV4D6 zr*-0ev#X>WxJ=e(OeTDDy22f_cT&^8sD0f{F;FtVD1AAv3R9k@a?cDR;uZ zTG;A<4`*X}mlYz1TTH(RWgr6h7AfmU!&8)ZbLcu~RBvhz^8&G#f^0fP&MuckWvFBj zZ>EWuckJ{ALzW|yCj_(Kr`U-;u8qI(L6?y}JBklwsF)ydp(Bq?{?^Vwd>-w@@lkIn z5#&f}$TnNzGIxudQfH~znC$eU!;=o9nd`?*n+Grnu3~L6jz_%o`p9dOQheN$DuaIZ(|p85Aj${~z|=Dy*%( zQPWQXNpM0Hso)wQxI=Jv_uvk}ibHURAjP4Oq@MO&&sp)I9?w9rZWe&6i9 zul<*qgE^aZk*pl&0Qjxvex7^CFONLo6##wun|;+Q`d2NBB}G~&(VI`UI#u%2f({J| zp#~xqS&G+VI^DU2g^FHiylJ$MT#<)1<&TEB%5EeZZ0~5J?IRcsR!eOj9wkJJV`!4s zkVF)~1jg!c<93gbEz8T}0!>I>*CV4ExD71b_rvRcn$;F9V=^3A#=kkmyfs*-5mNC< zVSdZF)p^DBnX!NR)s4bQ>b`l#>Z@)lG7Vo~KcV-DF7e>xwwS5a`FquUx2w_lVTV_B zPWlxgc?Bb8FUgr_KvXKb(WHg9)J>$;%Y~iV1>VGHm`YYI(42{Fa>*k(FUpumT&bcj zBvQw(F5D#6_yFHHDXlXs?0)*uL2U5D^A|ssXI@;i*G7D-7ytT%2C-^>ZSswcw)e6X z9}6!t)8ntVHb_gKFS2+{<4W4^uP~KAE0^sRdQ|gJBmEgUl+ngivNyyCl<}e|o0|rype|(qlb}vZnIDQHe77W+J>>8;O*~2%5Y>o=vexttG^i+qBxZ>csEK+b`2{k1N6@fJT#2 z@&>0i9oB>hW*DYoG$WD5Ly>jp?h5W_|~@Q8c-;Tz;b6$fHvEC@EHh%_3Hwc>ZCc+8@x=FU@-5H~3w zTM;|S`?X=rRG~A;NL*}XGNX!bOYou4fSTs4TIMz3=e>$KMpGN1eHg%BbmlrB1OT@J zJ_9ZStO2$Ea4>h-xbL#@-Q^U#%Pn^IFA77zT-ew+|G`|i`31T7MYsf{5!{?&{G3v3 zoYEqE1k6Q1R9sX__7B~{FHZnm*hG}Mr8Fev;dp8oFMe;^WqBEZe}o|mtmx9>e4|A0vEzyM!o0#gzg97$`?Japj%3 zs_xe6-ioTB%BsHFhQ7A?-iJ;7osDhn9Rw<+{b6TEXIFPm?;kv+t9y8WFmch}H}I(c z(cq(@p^kyk&H?=3&>vJ~Xnbz8rE03PYo>2tYH)aQXn6GT*ki)*#S_B%#gixF<0DfG zTWqNjgZhmHVZf^F^hxzf@Wdh*x^zqoU$*HxO*~KNowM>9rp02E}K701( zLCf0O`qI;v&z`NVuWu5rt*w`9Yuj5JTU%S(FJAniVP3p=`{KpU&dZ%wuU^0Y^Lq1! zfXBQgIH(DT%-;L=9|*U7!p{f7b#QQa_~&)_>C>lw(3!6!TRW_21^+gXDMbGl#d7dc z`9$X3$KvZS8q8Jpt1x1-slVuqL;qW~zlvqv>8+_8ju=v{5&(>_=CDwyX8PWWfX)~u zt5<%ac*VK^VK;a<6#fUDNwav|;;4X*S!=U>+VDNp9?^%e2Q+hQ9k_afkWxkMIGpi7lQWpC8({SdIXryfP=XD6{Or4^x+}H1l3sO&KJ5<5i-<1ucjxPv0F3?aX@>Z46Rb82{XO#=m`v}FU zYX-L+F(jnj-~`?;RRnbA+%tzHL8P>cCh^<)i5&*jN36pC?QpM3?xNu7BuMRcKr{_? z$tpw`Cc9r9-n|%?uc8!McOyx?g%~V!9)9K+VVoj>fkK|qUccJYx&J=D=a;CniW7YZ zd-iy<jiXkx8N ze~88FUuFvTImmt9vsa@vY6%#l$0AsC^DoUbmT1aypR%!KYIEf1z`W?DvgF#gRa`A4M%qUz zN}qA82S4GO3^Jf5x!Eo0!euybTUy39+6uc!{m)xM!^T7rU6Zsl>kBNE(Srsor&VDAaua2-{HTxRpr6#ZLSG?iE-My~*=y));WuNvUQbuVW zdi&yoD(l1Vzt*4Mp*hi8pVk~bssBPr$x^nMC4omsS0&kd3?emuN!RqBtG|uBY+L93 zF(LQyg4!AV^MyVMEj;}85wl;xja+Z0zERG(;1z{9V*cZS_vQ#@+Nv?8<8GG25E%0% zK$uBa%@sLs=Lno#)R*(lYHp>`Wj93?g+Kc;R%=&vZDI1YP{WAgS-4^<>d})ce3PJ9P-#9{qPSuZy|M4wQVIy5H=$Ol%g#QZ3bpvymrOMRY%y9< zoQCFsj?ZX{fZ9=Q4jQXz0O&G)4iJE$9H#&X#P45;5OoH>i%Z_x6IIk{iOZuO!O5wa z)`iMa7hJpVDo|LM79P3z^Qp^CY+-Nbs(OKBZS0RF`h zfx7#obT9*`glqJ5#qldxo#WEZ;Hr;$k}Ju*0fmtkoYdd288JVI?!>`(G+W$elOrD% z*dr8~b}c4Ns2CxFB!JhLeA3%HNH7r3$;@H8oSCPeO*_IU`vbSCZ9@EjdppMT%bsrA zId8eJb^KD<3bhAoMLG9(1-+LVE5@YVY;TpSe*KEh)N))QjtabFHKr`C(C8IX{oaWoFO^x0)FdZ?}$Ch3eK+Iaym#6^WsixbYE+I=Q5gFb6)z(vP=6)7^ z^`iqFCA_SgbjyM&j~`j4Cxxz)+n#J7hER0!qGA+F1d}SI)#THhhF8SrmpyDZo_s=? zf-Lb@rtY>N5x=g5Cy;G+k8quXrq~x(prQ;K6+@NlUkJT6O zMD#Fq>uZmVpYZk_FmaW$I865X#CN&d&m@thH;IqJ=;SY1F}L2H%qLFXtnWzd>3e(M zNdC%R!F3S~R(F!BtB%KJ$~v$uxi}@3`X%^tjA`PVGcyGiL(zTy>;6z1ViwxI)3_SB zSE-s%7P_aP#9IE+eQl3(7+pKRD-r&gq*N|t0RBmip(Ax(eePoNf$GibmrRFL793Vd%x*UhzOQ*qqvI%BUKeYS&EPu}Vo+j6Tr<{}1 zHOop>#+vOM)E;LHX<2gtzu;#r_X5flwI!)*G~Owk47Sf_Yx=5R_kL|J=4dU+{P|jY zwNBu)Ve7J6M#fz!=@$d;I<=SqXS;~=t#A%QwZx1|*AcXi1z(_nqFI-Zv{|GZZ55*(+{gKfRnGe(CtdalRN0I!2y9P@ifoKAy1t^ z5Uy#}yPawSTT3dhq}LR-KKGwbhw%98`wa%A>uO9Ju%-;oI67Z_)9OjYk`Sn*^f_sw z{B``iU-Qq+J=&9gC5=d;j&vp5kg;Y+k)W}ucLOxGnunksJuw? zr5TeazMBr9gV^fFF~j7+=tQ4qhM&Xrj-yzHE2*EtNb0U#B}b4HgQZg{xxp}FAjU{V z86d)F%x&~ zX&SFYq^4{dfuuOUAFp3QN-F?%WpzwnyONj$=R^?0^*A>T<2F=e(|c$J^z_2)sW8~< z_LyYMlPmRX@j+`>8do%cXyRNHyw;wYusTMGqtU@r{3N2;(~EPglg!;AQo!Er+DqzP z3%><~RHLXK)hWF^VzHn}E96AcRVVUgrSUO=o3NB0QPh_H)IShZYl~!&=&NWL#TOjM zcPv#G9x1>CkV6oOMhlgXTv647Rvl4Lf#BZ})Z1wCgf?Oq8q*1q$k>21xO^r*O^PJS zRDbf$(5qWI1*SZ9m)StZ%*ja&L8feGx@34E?TQ_Usvu`vEuPISN5Iz>FHz!5_f7IAWunrQ4p(}`gNPlgI*og6p zAsTGDNUVV+E+{N4>MJZ+FD&aTOzXSxK%%Hhy+~t`I9CG9B2bvSUet0{)J9j_aaL3w zLi;eJxHq}j5P3xhU(|P2j5jZi1eS~y7B_Ig*ag6bNbr;Ok`AsC+gBya`$a~$5(OF> zVmlb))%MaYF395k^=-PcJ4{ztnP5QR-?K3Vp#C2X=5J6ru$Gxuh=os>6)wQaC(H(y zfWrmga0ym~D2Jdp8$y;xM1)gFQV1>}1eXvH5EB-cmJ||@5fGCUl3;_&!{PF5a6>jB zMK%FtHX(H$LTDwS$S0%5E?~$ep$C`H6N1Z&$;gY#Alcx~EPU>8q%lHXM^au{R#90_ zNkvLgO5o`k-WxW1c!VW6}* zTFyF9#x{}-6(x&`QiBU9NC=qn3Yo(N%;6HAZ~;%a#63QtFoZyuw5+KN(p+58?9aQJ zr?gg>xS~2z!cHa{e1#Mz3)Z% z2l}7`gM9A=`v-@jgQEgM!U99XgTf<&BcfRN5?B#wtS(i6&{;L_G$qe0eXlq}bfS@e zs>wa9X>g83aCXSw76?mp8)fvut>k6)j1_L|icHa(du(uNB`Pr`sw6YKHQS{<*Yz9BR|7C9 zX^AOmn3U|qlUzKZza+T?+*2boCWpt`lSX#aAMa(2@0ZRV zR8A~4E^Rg~ZFN4L8yFd_TKrhQ{Hbr_%Xmx1#N67{!p6+f=FHL-LHD}4f3kLPvh(@u z?U%E|??1nuU0hyX5;iEmywX(u|F?7ht5zaHruDD0@xSes{vRIo`qlm?JGYwt53PUI zN;FC}?!RAd_;;EBvO%h~&qAVRGKm&kX%SM|46QrmL=p{eK7`9a$R z-_OI&=iWa*_U`_vm7IL~`56!8|8+EW)8{|eN)}c5FTSmq`doZpbNP>23IFBk+kBtP zv%T8Z%l}y``TgtLbD!TAr@O7cFaK35!2zIZco6*&hC~Yox;cpywSFBIrA06=wA9*1eGWQ3|uD$pNeleDTxzU+<0 zpd2y*234#a>QfpP$Jqr|Z)t7Su&OG82}C5-oT}>621UoYbz0Tjrc=`<{m1v)(yHMu z>N6G_$9cW8)qFuyGdAbP`BhfY6qP$uzwvFkK(!jd{Ha-I$*+ZrX*I&N>T~WEUyIge zYeajd=Db6{7Vl8hichG|`xQMbsn8k$LI8^P3LSF%*WO9&sxO3Yd@Vb@oUN5TnOcZE zH+;Zu=E7;cr{mC#$ekv}DBPT0OpyFm4ok07;?P)1vG`U&J6ES7HocS)`mK_YvR;i) zE6FbUR>kS%ip-JFyK&=M8T2+1K#Y7^wDGM*e6C(6X!>c{`L|jmp;nTpu~I?*y-rQL z!61KnrAG35yGw9L^PGm9$tN`n?fF*=RPQ@vNihdy}j7f#F@0anl`S z{r{H!5{1y!i?BiiD>V!0R*x~w%*@yAZa%K=;BLHw5-te@M*J~vlxTP;bp*p zy9lrQM1#e%OJPX%Tw~D4`No=!Nalsxgb)P-ARc1cnHaX)B3TI~6+o^xEQ) zJY~lc)C?WVFx$pO-IC^1923JZ4fp_nd?6=C+@w>ftG_HPWIzD{!E>%H`vt|t6tCwc z=zMSB3ueOK3qS3A!rNW%`{mH3s6~Qq7#84f3dgVsi!Fe}14@19U1g}5Y31wouaphA zsB%0W7Pf}_3s@Vz6YZG;)dAq0OyF{pyn*Tj0X+xC4U36jd>0?u)q{5fboG=71@pQG zMtayi7w))5BFf;+i_Pl+3G^=PnI>iF@*Y_a>Q!lpy1w z%0@r&!uMdJvZD(7(@CDUZQ06Za8s*?eg9K0CTDv90l zdHyAG>!()^I+rbL_se)oDavdmpWc`hTINl6FK#GWRiHfX@_qD__FC`5o^i~L3T-0S z&9zreY$H8xsO|5c&L8f8`P-j1Zj4f!*V3H)aJoHo=qyJ2S(x%8b=3vYl`47il;`!2 zYZ>fTUs!zc>#29A^8ptb$d2E*Y=6g-8B$d9;s@B~!qL_z#NF^@dxEd6%gz1GE3xmd z=}j=>=6j?;Mnvu03*V+Z$eixRg^vlp8=3aHq(A=nwR6{CxNmt?%iln3V_0k<)FB^r z*&h3#X5XbB@MwrwEohrov8Vpm?^`?HUJ8G-Qgy5Q;h$g<;9`nVLEI}hp>Sgl&<;ec z82gHggpa!z%KZp>|IV6N)MgCgOSfmvKknJe4!C(5EM*+sD{4(>zFZr3;Ac0Ffdb3L zqT_Cc*NHfU-*n(i3cFQj?TL#);XPUFe7YuLx}o8udBJjOhCIPBBEg0*ai2F%4%)%t z%6WD?#HMFUc09s>ei#)J=gxW4el6dRN7c`2oD#iz&%`7_B0f-z%{}0Ti$_qT>T_o{ zQP+S3E3}$h6(ljRF6sv~DnQg-y~pbEN03XJi6P1*(fbA}LfopxBx&rOo0p4GhpC}t zjp4mS3sMu$J(Y0wV29#&)>#v1#kJUz8qcTCqKm{+$V|P3NPIf(dAgziBAhl4>q1dj zYZ^!j^={~bii4C|iWFNI=?{mVp6IP-spGUpxhLMcCLVY9!Uou*Zv@5D*2bTXP%-rA zG#pWl>Jcq520EG<;$Tj@y@uNyfl{l9Cp}3~&XN13ZXvFbqTtM>ZmR&3$WL|7v3p69 z)k(SIR%a7YzLRD@-??N>VyJozJrXjNuEz*M!lkeK&fXw;Zyd8y6I@g0bAu$ikuy%j z*t&HuOqeq@KsBp7DYdFPHDKa0b;u0W6J$8g9J; z3v(AHbC}K3{KP_K<6{OmgZK(kYn5}gXye%GJ($(a6-{z7lMQ7Gt=U83gr9|xiG~P} z8oe-%7fsG>t~b(=F#CM%{!327PCY7*g8OSwGLKUy@1zX26T{$r*JHE9FJf*U&&;OT zvOE(F4|g+&X-f+sfd-co#39asI?n@EP4a^F^FT?43tTR5C8ADi^PJU7ae3}u;vUy0 z(&X5R*$QpS*?iKU7c`yOmlr0Fs%3Na=4!YZ=F#O)1$hX#dLjC9#8#8X@_g#5!=&G3 zIiaktE{0YUAO+W8@*A-b4Wd3ml=GxewmP^d-|%NhTDiJW&zXr{;a!9Ecp#qi&5oaN ze8SdFgz$GKtM`5fNhSO0rD5Wkub}Q_Hz*Wv_CHTuO~tD0q1E0$0%8|kMBlk3C6ooI zScMi;#|68KcjbS+S#8-66`XBCK>AC|{GJ}-6mOowf z)+|Vo5UJJb^SE@ydV(7Yen}LUPvVNtirU#NbdV2#6BapyuaDhlKs+5Q8CLFUh%3nI zHYr9L*WZ}*kh$j_R9joRk-H&osgI_74lw-YROwAyB@qaq*8}wv9LS8QA#Q)iXLqfOl#X6igR@bcS=e0!cE#Hb9I?Y?V*BjEu?piLkTB5<_iXFDT92eVWMt7Qj;B}oF3M6Ino zlJSy+{h&Qik2D8I%y0RSUW({ZH^d0_Pd|( z0mK>)@gkI~8hd4VEON*@iy1&!VZB~E5KmY~K^W-nCfExN7GdaZ`PnB;KEN>3-*V8` zVcFrMX{b_Tr_Ix&YuRH&-rg@$tTmcl{Z<45S|2IRMQy zK4NME`2nExn+b7Mh0jNpqpX_bfvNVk_R@*;4#k115x%I)@W)E z#gN&f$5o3b=`|-Io1BxvfhiVQq&GdVt`j{5M$uM#( zs&5kBTRk%i(S*z#_5#D()*j84F!ZfbJifn4*pzDX1dz64Nmk%pUg&-%*svpFZrXFM z!g9`oahN`}cgC~t3j@9^wfDrcuj@S|g<*KTslRvz0*wHtT9FdZwK?KR+VLb_df>9+ zNyv6@1H)7yzK?DW;({Et;B*ep1Z|pQpjMAw>ckxn(A+>f919I> zYv=scljS*ETQW|xMUsqz763?%k&qM^dG66DJbW#Aa1E>pxsM|W#SRfSwHq&zgyNuW z(!Ec~NsF`zUwXeOcBq_^v<~wax(UgJk*6S_l3V?ihy6a%>+P7el)1HvnT?8zjk0Fw zuSRGVFQgcYr)e6@!>u1QlBQiQ4jW@hc09KH(Vz`W(x(I~AY*SbhOA(5csX@`Ck#Ay zF|-=7orm3~FCMbA+P=TIQKUEQSh`;9MXLG{KWM#<*M_`g*!Z=%mU(+!a69^4tWZo5|Yvi4xGT$>b&+q}5_HVsRfKS-)$ zGcIMdA=0v$Haq@ywI1GRB+b?&9hZjQ_G)`^d!ew6G$jm- zY1w`U9~>`vu|YbRdO*H)h^#eS_^>^W$~s!`55xC{lN;2loaff{C#qI+e(hDk5oyfl0Tjc)u{c!JHXn23>qsL4*l8?oo4QvL#yx1zh?bF=_ zaiX7)!QT&gT+ZltO!WO~51o7OK7UM+I%);meblnszB6Bw_Bp}&D`aL$sRZA6Yj|dn z;>8X{G;9PW{IQlXXz_dOyXFUk7NmIbXrbjR6aH&l^I$>vN7Lc2 zNtY+aKBVeVZD}Y{W87)H&!_Sdk^;T9l)<@=cR-(8CQWrn?H0b#r+$7zKAnzwLNz$s zvOO7}d5W5!su^CWw_Wf)nx+4IQsTM4`g8Ej_A7OtZ=VOg1Z9#Xx6NjGw_#B)-)kNR zz~yIO{+hr1{cG{=#j@PRitPnk2ld$wp*Tu?c|?7VA%8XuyTp=pACZ1JqTc&WeF3<9 z6$Sf+zih=*?`K|qSiFRcP!HNl$HEC4<0T=i{E?8~ zXV=0e`CFWqtF<4f+!i+-9=-4jp&W@bI7RkiXr(V6q!VfMWp2svKmq{ zNG2Y8M(!{{q?WY2lC+YBh>EeOs+pL&1vAnPuHlMMc9YPt6V`K=(s!0NauYD{)qukl z`2-atxRnKjcZmsf`Xph{3`O&Mk-RqhHPfWY*A*sNO?u1s;08K zvZA`SnzDkLy0W^awz8(4nu@Wew!XTSg_fR?rh$dAs;Z%$j+way(#BiE+8t>bpkNzf zWNmL{W2fcfEsye5vDmz6Zom13Y9@*rM+2&7KXRo00r%{D7?)S&-OBNkUw|q-R?2BLd;HF$^wgRgc>}ua7 zxVxqL``-@^9w;WROB5}Qv(Ak1t4Or1$qs5OjvOfijaLAsssPck2?W$JAt@y}AtCk8 zJuN0VD=hDapad0j=t6%Wcg%gU>8#Y448<$sJ_gvqU%>bi!y>gwhy!mXyR zp{csDgWwSFsjlsBYH#mo=;-W@ZhekvdsfTfnWX6UGXejWdyY@)t?w55Hnt!1{Y zeX+fDxvTrh%rinHBJkgqwpcVu)c)(z7F+jZFRp4ThtsgZ>c2%ITT>7J6^Rse#1o|` z{m0T4ArdimC5Ld_Hu<}>)rxwYa=Y=H`*ghH(+2CAzmdqz0-3P3chP?%k-tk@eWH*P)KpzTuP zvS0vf-Om3?BtlBoHUb2Bn&Q;Mz>IIwgrB*-Nf&?r|GBjFS`7mb z|L#9&xwLi6t8K_>qsjRo@0Hn#0-m|;mIlAC-z^K5tak?R9{(sRiMZjuSDwV)uvd|E zNtm%GKYazgdu_*fl-Ai1$3+;S*~8S(!4PkNw8Tel5E!E2L&HB>E|*JEd}UB6aSW|5 zD;i1acnyfDFA24fzh8dE5?)_1+Hlx0D|!HL>R1j1Xow%`yHNz19r1Jku^aVm#`f4l z;1gMoPknnejo$f79p>3pk!AxPt;3Rf?mf7e(AJ)VAAcheD~ADWo{?8IVM<4(X5`)` zI{g>f-$;0P$#B#&64~6(@%$ZCMb>x&-F%e>>lnzZ{8n%eX6IbEwC8-dPiVVRI~Z}Gb>Xq5eU6&GJw`J zEY#<@Yi)D)L!>QfS{{@&EdcWP-1Wsq@NV<3h-cHy}6Gv16 zgaekRSt-TK&OhT@wa*UV_8FCcl+NtrkD_GwC)|a?M=ZbYGtXk#mAJ}+_3LDTDVd=|PZ1A7rHwsFOlSh@*5R5&yTW zYr?K9tO{HidZBg<;2qUF>+M89y^8cBBo%)h!rbN>GwkO2B;eYz%2WY_{Cq`eMrJ8k z^!x#{dq9k#V@z&s(%2Q2vq}k-Hk}YSvqTxL#cVn0zF@~Y+S2kg2I~&>mbck_f$J=G z1xIQlaj#g})Rkgu1M$@myR9_&}vB~=ZN^Lci-%}F@N}vO$Wxs zLbU+yxzZz{+Vh=y3Is)IhQh(&Y1lZ%Ul^VGT+kRy+E~ zr+0t~;)z_w{F!83S=Sn9l;Upq;WmlfD&ICQ8(lA;&x8GJ6MF|Lw`c)n<- z#X|bYgX8{IArh3E3y^E#{D};eDogOG{w&>~nHee*Wx!vjVfpw0ZOuw#3R9{uR}+Qqe}Ll&d3J9By}1FF{^eq;oK~gFnI3)as^52%d6^qHP~c<%${iFG0w|;(PSzEtI`zs(V`l&ws0=o`L;k2 zr1!*Zsm3>H$V*kahK3q`x>}G_LPIWfl=d?3O$MP}Ob)c9YFwUdMmr@kDFm;L)wB*3 zHtUD3(v$q~3$CTr!4Qe=q&;mB0&F+)Sl)j{!L8l)1c>sXqexvFN%_!3*6p3lU`5#3 zGt@;2jq*o+$z=ZRaO=TV7Ll~ChJnI@il|vU<>ZFx!xkd?B;t7E95*L86ggucjubnV zpP9+4ER@x;yQG_bg@j})QX+emCEmj@5+!1QDKn^>Q=EfShrkdqI)QSa#Hn%PEbYY+ zR1AZ6RjG}>B}xIfbA+`3_Ml_lp{v-QmqY13eo31~ydr+iG%lf&QxKU)bES|mgDlcQ zWd*59<+Gc1&D%r;XQoO{lul`(^0i=$dF=kfSt__yPj>JN!P{POZmRDkpW2EBpxFkg zNS9DYkRvamj&|df?BNbz4Zw zLrQBOS7`^LU_@NnTkTz03aJf)HezX4w_Wp!;5_e)lSe<(#*nH-JHS1>Lzq%autKss zTc0Z5r8KFO=e+BbcFhuLnN=l&TH*AZ@Ij%|H7!2f4r-wjf!ozsYRg%Y{K$y?i1k^b z+qhQ@Pv5>vOIqJmV}DF{UR6CCyQiV>LookZ6_U!C7nvRs^;fm#( z)IPos={Z74aB2M2<=}fC*l^SzT;CJ3tOXkPpws0tKi3H&lS<^|M@<=3Yu$zp@A6-? z*EomYZPHuB`!6{sg9H^o`zAIumRY>`Lo8ec$o;q`NkJPC9hbs&9?aRMA^+LtjB86nkQ3c;bOOHeY%qHDq2L@Kj>HVO zAEp{svy09WRy}~pA8~{LPeUy@P+=x+k+mTVrfTy5tLRmf4NQ~pKV#OI0@Wh1n^AQ1 z6RIy5PqUlyT`DYU#MbY-F{cV74}*fQKJ(xIfhd13o)~0^5>b98nG=1w?+Q{7^tdt>CR0(KBx;7BE0+WBFrO?)nP5Cw1;m1GwK}DC1ld-ev<0+DuL>xbhcm zOPFK*^*o;_sEzIb%wW{{IN>V6xOois$2{O&Hxl}r@(;2-WJ%&q*e>IgI9Zlfpu8~K zS_84mQ?Ba;#AP7h0|k;NCO{qWFyrH_d@PU_5KMJM+^<3m?GrBU2w25Y6vcpN?g7m7 zsPcAlLAzXZZNRq}s*G>M?@%PfDAEfNxWOWodOgJf3VMJ6haxD0v6N<5V8jlU{0is* zK|!ULb=ei873?>U$GQk*1vtRZjuEvT1!^%78;LiI0n~~|JP>3g5D}T%Td0MCG~!5j zc8F3pGmGBZcuX(Bu_e9xj%02)JYvw2GmG0aOC?xIswhN3;q* zZR{bM)Qpbg$7{oP2$Jgv)n}r7bVtO^D%>VWsz^pYe@9YUyaKZcFuI#U7mNE5k}#bM zm1*!OzCtpOg+9#Xes)5^Zjrc-*VR-6Kv5(IdSF$_d%8*d$v5LQ)v26!05F97B)W!J zukwp<+}w^EbdC3}Itj3i!g@o;7)E^=z2o){n~UHCv#YC8VW6vM(m~;%Nfc$NJ%pE= zC32qvhVdUyP?8tnFtq2tUaLg42qZ!R)Fp%O>;eKGvKqybQX&e2qDemD$%p+wRr`gq z2$m#HvU(i&9R~~ZB3K5=atBHF9R_YS*C&M$D;zFXG&x+F*41j7lK}u>%?0-RJ@&~Wj)DiW37vl6!YBR z$AEIrd_}m5Y}QycG2^A0%O2nsvLixR8@L00hoiWKwmw8sKF+52$r>@UhA-Cj4&Ez7mBcBU{rlM$Utrv|`-g9``Mlp>O zM$-dU5R^owRMvPP2*tl`PqK%qQLYcIF#zgG*)!!rtFtYskR+%9;4K8yR)R$X7xk(3 z{)Zi8D2zHDdoN)T^j?o*rIJFRzy6^kf6H5d4uY~I&vz9@{p2X}a1mPZI)5Bv{|*C& zVU&pP8LlW&7y$ZDR*_!o{iB4xLg&1}WB0tuKq@!us9)}YWjNhbCta(8$!ifv)PuJbK;Uyr=4 zm-6EQ6%K`eU`B3sO8f~wB!Pk6q$M%mO_$B1`nf~3ii6aeQNF`bZ(u1zgn%G##5IS_|l|#kgyL0&<^eXtbKaasp$FeOB)q?aEFsp%szl@20=NMO>usmdJ30| zF9u>@qwAPFTa}mtECqETFabuL&A=yz7(0<7G3Bx=e+@naP}`gm-*y>|29JQlhc36D z^@B`2??5S+kU0x@s<#+WlSR)C0<22!w%6E0#mLPLxBJ3VEn}e=;6L?6&r@X7Js^14 zzUsamD@%CE1Qf3p?L^|B1-PcgUFFF?iit0WQTynrtYV>!GT(VS9{*$#|7}3tG z;KRiyQ+l4S72tPHu+8*^Pf~AAY$gV0k$l7uGqw>|lMV{`f#UW^e&~_0Adx*efD{0E z`w{VW6U+XF_HRoT3y!ir^CIe*R?FJJ#T4hyRxIDvT+^Hvj>HAONV9xDoKLG61)|e_ zrz%h%m@b$%3oS34-U3`HWtn$NeXY*wAtjh>&Vo{MNlWJDcs@(@^~o33OTlNVg5v%{ z9Ab||o;Hj$vZNoH&ciwz$(~kq^llH&(rlVJcZG-W>;v~Vz2pg{~o0kRR)b&DiaSb$$C zKx~J!^N38hZRu0fqM+Z>vGn4b^(b=6H7Fyor5I2FPhq3Nav{zA#cBykxe)%bB;1Q7 z-CAz-9Kg7uM$OA&5d`4gT9`L4%5Po)-)1$qSe85vm;$Yc`mNCTuX0Dg)wh>hZ_lwc zH^}&{gb7zQ78Rs#O}@z95LsTrFLS}0SKbj+Vjq3wBZNl6R%S0h&dT$0k2SLhv3du) zZozU^HLN$^3C#uR&u!L{9v%^I@UXnO*_2c8f&&eyhDkQIk<~4dH8Yau;-1MGY(&pJ z{|aY;YOimDh+pcF*M*W_pfW@ZHm(BJA|g@?d08+KX+3K@MVxDrub&GoL$?v_VUCKW zGCSal`Rg(}_qAEFyo!=YhJ@2MU%g)TGolQb-0n-~&q&^UxV@p{zidJIbmam&AF=t- zD4ZAY;?w}U#k^JGx6QWA^@nNOk4W3TRZN=x8Y8=u@@f4()lNDj^(L(wQ)C8JWJW&Uh%`Lo7un*+wEC1i zmKN(RKAVWMid>E!F3o2CNw4LlIbr^mt#iTPwxJKaHV@zGSv@Zu*OP@m_ImrInG1## z%ye6xyQ5pn+^JGFj;p9nCw-GC@o3#<8+m+aM#;UTbvPOEQT>V|p;+!oHFR)WTElNW zQit`;?)%lAH>MvyFsm;g+OU6*6kI!zbl4^r>G*W!&H8(8jYEeuso;gi`!}yZtXdzp ziKy9sdJC>W!FqUN+F_EFBZ>hGXzwimjs_kHAG6wC9y5CKrzK7eMCPbYkJvdDnK24*RGx+=it$Ug-cb02=mKSwa zFnk*Ma&;MWYWVv{>;kAz?!3zOye8_r?!j^KU4TugfamYCEdKL)xu2c3Kf9xT1`eM$ zF9^0$pOt6+#NYijD)(zF^SJ-z85_+hF6w)S?XP*ZzmZ76@cFCu#OVcMUc~9V?N0ZnLZ~v<|K@MpC6A}avLIM>)?QM4MI~?#koV+aT9BgdtZ0wwjoIH$N zeC(Xu99(cNZXQl9UO1eWkq5!dEBL2j!6(cFm*(OX;N}zNzsW$p^<-Q@~ly5()y6%Azvzg0kv_76ucK z10#1RT+K#EUPqWv#6T)aB9){Slx3Av30(|A5kpo53q7SyyCG4ztwcakx5l`(RYHSv_S^g!tQX>#x=%82WUio0;~2Fc0jDvB8yu$mgN zni;X$8H zp=V}hZfR*{V`Hmg?X7F;gf#b6u<}!|4pg)aF|o2Yw{@~|uuyYwQ$mF*+efIlgs3=1 z892CEIoLTVsClTU1t}ndRMcFZEIi$892^{7TwFc9o!#8ryu7^Ky?tHLPVRmoo&jNA zf#LrC{=vb)VT53T5G}xCu36?@vo56e>ZL*tGg{wg3@B4^j*)jw)9^^v@J`eA&DIUf z*9k1pyH}(aQfd&2GYGFRjI1(>sw39WdvWQ`s2 zxZfLzduWqAVw*dLx<77L_&?Zt>!2wAhW~eorAtBq0YO4K7g$odyQEn{8Yw|aSzzgu zC3a!yPU!~e?v@e>2?0@Q6@RPW?{nYx^E*$?oZla3&N(}uxn>z=80Wf#fp@&#qc$1i zwx~(ltZBRKnWs7PPjeR>^4~cYt~eI2JC|*_RD5))+;y$|=vIB;_U7nW&8KIz$L@8f zh+vaUh)a>aPOH63D-yd4g;^3Ik`ZE-66sTx;*Yi*2J!$<@kBp3piHS)_NJvgj zPEAcsPe-I>;hP6M{HSLN<&v+c5GQSs;wYAFE6hM{VMJ*?&g2wWN zihuMbewze;_a^=_35pdtWgso&d2^*CU;m!t_)krO-Lb%M1HVnmqHdVBz~3f8seXm! zM4RwaCbF+y*|9ZL`?#;}?{EB><3RT&{xS)M;apa~dlP%pzvno9n*_@~62m>|_40Tv z=eH-)GQa0I_U9_la~z%DFHirYIgVWaHQ}1{7lgu%Pq23IH#ft`l-NJOD2*IHgj3s> zeu$v+-Tx5D7{R_3#ggW@70q5;x)sB%guo2LIb1LZ{UFxO2*bbzbSFq&>~AN^;Bf3D z{pWKWmdFCYBRa-z3;}Uyu7$9mu?z-wp;&i@YtzBUOpig1J=DLL1Q!Q;IZzzV{an~z zCP5n;1_8bqypmp;`F2{|__7%rXYqy7+7=mn+ z8}S&=|1t?q+K!s;cURTDHYrQrZF2eCdG)d4bJzDS!ZO6s-b6WOccm-F z=M_K?(OEjlM$d6@NjBb_)2P3gD)jPDzU3$@#2h8{#O1x(?9rkZ7%x1`RpT3EfsYFeYA$Ki|Tr)`zJru|Sy+-#Yw4fh>BV;NMDZx5@ zj23anP7DKh`alvq$fzv&8}@>jqb783VzuSonF0$V7=p$05O2zfydN8meU>qKswPwr zC$21(P&)OhjuYxVQk>ABpTPRrz3tU^!Z+^|m^T2C1Y4qS4gLG>e}Bk`agknp)rb|6 zLy$`#xf|s*{=vYTaR~S&wTIZIJoKJqZjZ;1m?~uIMfbPt;=3}jb}AT}PMiQ@acJ57 zoqTGQ=^Pw^bG%oswg$ISKbYzUJxIMAok`9&aqe?}kkXi9k-xG&?1 zlnIZiyV*W)zwI`b;ya%N9oOqSbmOv#7;2gfcxTtG>^+uMOyH_M%yl|+XlIETod-G& zF>}7I@~<+yHg%@RNJwM&Upf4IkI^|}faxJnGQ`4YvC7mf))MwW`rJm~^GxEyY*|=t z2ba|&M48%V7_pOHrD%EUJW7sVUzUeU_fzB&zIbSfG%F{@CP6}DvTfySsj8onU_*C< z#;{kw+as)z+8GcHyw*t^^5e9J)Q|3)p2+$>2A8_oc<4p2cR$Rz$aHbcGNz$e@fb5R z5KXLZD7INB!&4?CdDA4^I;N@bQRbwJd9)DflrPUEcEb;K)4HPtw#Kf63~O6MsXL(` zik>ryY5we?F^uA17@?kUJHuj#g@j2Qdg9zQ2z{V$7s86J{{V&jYEmKctS1;l8d-UC zt`IEI)0r-Y#qB$;097mY55!cHD!l}IFwkBN6J+cI{ux*BWg{Mh0 zK@0J9#gHo+%{v2Spx-XCwNgu8z(;1qj+%5A|tAm z&89J&v7b#RE3tp)WBFZF$4K?ztnSH~BIGcAO@(6W!{$@~Oki)d28`u*bT0W21t7=) zgX3NuhL7p%D?A?(yoZh;^}Xz5d&^3AIFpbpB(DMyWmha@e&*KvREGUV- zU~`hPFVNT%Gp=Lj*qH63%crTptE|r@xIz2)`~l=^dYxEB*YCMxBZq>q9wg!_ODT2x zzupep;n}mDyuS3u>F=ZeGH3`C;SbH8xZKE*1MmZ~IfC^c=;wP3l2_j{%wQ%8YLcyY zT&f=U`)4CbevDrgoy6E-whMlOq+Jx6dQjlNwTu0qaB=1w0i%a8{UaTum-fyJ zoxKvzbAUV1JttF2ZR?@n+enTL2&pq;a8bJ747OTYlK*=$(z}<6cUk>2$b$%ny_!Uz zFZNzZT&YW^>R;8sB=BB+=MTdLhHD6iU++AYJeOy83}4-R#c9q@h>nB7Ui1qM)#>5ZrX3ak5A%Hy>qF8cpBgbz0+vjez2?+b&>}I^DHl`WRrO z9P-32L@+#L{w$`(@p;iBg%TAQ$(~N9UuX=wb`s(_zM}%4af}T(hQU$$k`Z?bFPIot zjo}GCCx8?S=-&YLzp!&znD^44juA|aro@e95`h^G2T$(X)PONJk`!nc6}J3zi1>Zn zA*9bYiO)QO_ambX&m%}4x$OI??|4M6B}cxP6Uq9DJHdz->i5z~4hy}sJp$+W$r5wK z{>sxJanR8=ojejNE#hQT)fPKxM@AuD8Nkr&MY0qv*mz5<_uQJ+Ux(A5g9pj6E90Zl z692X#2I$8j5pDKqIljqQxdoh(B^NW_4=;F1YQ1CZw&(ZxGCqM_+Y9RK8%}E79QSG1 z<6_tmQD^tmgOm#ik8$v!ULc9pA!WgfTla%)8e4ApanQAf4K^odVyZznwEYjPKR0QR z?Y@3|7PiI+d+tHH!3ZN(j>qIk&D2<;aj++t-+mq^m|(?V<7aLy*Lj(g$f z&{vlwPCF3adB-d#IZWm>{Zj~jAZ_}s){`eVxY_gjCA!q58TlzO8T$Utx<;dp8O2IZ zSK@3pNi+#a8zTIdQuE}{JK8HG=Q{XfXT`RoVV)p$W-`*m5{}k0J3WOIO#D2=R#`$# zercPXK7RQ`OU0KOJeLgp4>F0&qXEa=r28)te=wF(&?b401VooP9m|m1-Sf1*r|`v2 zVMiu>q^^K`t{^KEW3Qfoy@=z54p9#PoEfURZ;XR@Uhc{dV@^_)zGuTt_U2OU&4npW z4Z;>~{Dw&h$7x#WW;6hp$udy}E@BgTtx49A^6mNqis?xPx0 zBOK>5XZWMKbXY?EQq72x%gNzwJekXLHubufF?AVV!`$|&nOw>Y31WFGYDfb;FT`wC?U_BXQ%intPuG~esf z1sl}~8>m0klHIqF`=oj|lg)vvL7u%q>0T55_ogS`oh38b#3Ej08N6|0X3 z4h8^TFNCNALfE83*v?Nh2qlp5csd4P?rmrKxb3m|$cLztU{oo&LiJ6-rW!s}?uSd5DFT&95I1t9^2PPGlM{Zb0TQG7yaETbk?IwscQ#v`D3k-5Mz zb3F6ui3M}qq-ne@*U2N)xXdQb=@Ggcgn4W}brCdmg_^nJXXw^v7=F$$($7AWnq{$=WqUcx zo^?CR**VL-KFj-amY;r3P-+fjF(+}#OX7t|^p)?VXqsq!nuK^pSq7Ve2V03ATP15= zt#e*ueO~M5ybk?>p45VY#e&hx1>>v*)6NC+^##kH3lRE68>vM*i$yzPCJqR*bu!mu z;(1b@c?GE%FR7*H7E8V_m;ADp0y>w1)|X!WT!PXshe|EOES4i)E=Of8$8;{otuH71 zT$Ts0we`^B3Nqu)ERxXA%hAuE*576Se3whVk}tJVXt7fKa-}qDrMz>ca($)x=SmIz zYMs<-gT-po%hi^wRppv{5&#|m1wR!8!|iwx8INP{u{NBwHrly1zP>j3b8VV_eRfW2 zecoby@#Xq**7{24`r7*X#?SRl`i(8AjU9^(`y`r745~CYvb&6HeHLq{^zXk)y+5;f zfARADRo45P&i6mo-{1ax4`A5Dl-|U)+{AgciI=@eF!^3Dk0$Fi*|F5x|s;;_TYu-q_;3-Qs817DWG*_?i;Wdh1TY zmU!2;S4;?T!w^uAcO+f#t5zt6e?I?MI&5 z;Aa^Bpy31oxNXp?F85!mF4rGb_qVY7fP)t;>@srlGIH{9u(EOTvGH=U@$#{uC0!;i z0VZyN-;wa&^qfBc9X=2XpD;5on1x>$t?jZ3h_VTaq8U1ZtZbs3Y?7R4u~$+^Tv|l( z@dI%kR#rJyR`k`92dpEEo=BFI6P1<|kyJuUv|wpjF=;vR$MWFE3aqTwOx(7td{0?f z1JJ2(R#3oSimkXT8l9tz)@>!_l%(X9(dsQ)w|%UripJWwJO8>sW12 zAiGvkmsU~lIueg=R)ua>{UJ_!^ly_3oNjBZ9@`Ms5MB2O1MftGfHd`h3f1axDreK^%(Wb9v0;in;0A!=aO28UK;d3Rrq97_@J*jbv^~H>hLv_ z^aYdjHC5CX*}PxsZ+;n+UKzFiGVA&ULH78(8S;9w=2JK6)4E{W^~=8Nms`V?OV=02 zj$bZazkC`#`E+f2HD7t6-*^2AVP!+vu!ZUvyjD?qt)co_#~{Q8g|Z2$3}p+82ug|c ztqirUL|T`p2J|4U!y;l(p(s=oDkQWrJtH@ysxrK^Gp?ecGBl*JDx|Wq5{2vusY0J| z)Y~4^+wscr%F6Mc%JK0YWXO0`NY7i;IQmpo_MksAj=uKvjH6$_FM$7NywIxdH6C4* zHColZNB(ak%m3HtH(J$Itt%W!zy;p&8}k>9h4b3}lZNxp=(k$KpOIyfg`{bFeQA6i z<6N2lTGeg#*d8r%&Qp#c#LVfU1RHK*N-rMC&KW9RJMhq(i^Zt$QUFy3)Vyaj4a1K(EiU=-8WVe z5AIROFi!i-(ko=hZU}dG|4*Xd?8VEQ&Lq@e9Um;I>8(&)JcaK6F8Zy+v72IG#F2zg z!rvWXf_y|`7M6YdAE>%H4%yc|GQ=MEA7$>!G(W|{C4&?LFaWv# zy{fzD{HdzNnHCM9C6ejJh`;fHs9{q=j%tV5D*i;jkLstDxQ-kCMb-8Fblkid!FAHI zBd6Z2LDpbgtasG(>7@O1kn3~D*&9h!a@U9cH6FS{z=0bukOP9=`xK7!plAV z2MwpTKS+j-qL20;G#th$?Cz1jX*fUTMg{-x&~W*<!NB9oE*T;o-g72RQ1j*q`Ek>bMmwk) zuRe~v?Hfr7{|I7D@NG^3b7Nm#A zHJ(BWBndA#DzyJ}`@X?X&0iHuXCyXVnAl0s-as0fgbxI^ZthSKliY7abzRAtpM$4` zj5M2;IzNZM3EstGx{)-NP4_r`iu4}2555yIj?5#E0T0u#%i`T;X?xSAj9|u!f&*ne z7;j&CL~wW@dPC0m?H$Z^LTw)6qe0l{>n0Sn5w5%NvR2U*DeU*?p zEMFvKFfzLJrH8ySE`kT${xz?g_1|(C5O`JAZ>WYv6H>^?on9OHg@-?oJcX6Vj3a5A zUI>ZPYRQA^-*tXKf*cOZ<}d7N2i7IWPTVg6r8#JN(e|g$lI4rSohE&x$zPh^?#N5Q zb>;l*KQoqrig~P@w4d}QXF#zZeLZv<3kaym7*t^UJiat(h3CnbPzVuhFwtSOqzvfl zV80Ti81%BU3l{J9d}dVg)V0dAZ`5dm+_osl&&}0ZV)cvEMe96#z)H$- zr9G4iKE`_D4aduT56D{il8Kber;&n4k=LJ3!V za{b!ox6;H~6RvqA!|Mssvo)E;q859_j0MXvBiN4yH9psDv5?XKPvd>va2Zm0DzlRm2~UbLlb9CFG@XU zNB0GG|HNI>cIgE7ORIY=*J1F@+E&TQRS}nTXJ31V-y?-;dN-7pBuU#_mG>{84wB1l z-q*8O4Q_(-xp9HK*J+xAAoLQYd$@brB+BUK=@eqSRaPW-7nk%5)3 ztNwCeiqXBp>h>biJuxisEtbLekMa`zz+|7vcYV7G7PszZ&a|SefiHG1S>Ak}cz?IS zW5M$Rpl-sum0YvT&E)p|kg)&7Lb9FRmmlXQ!M(d}RYw;l6~YQ^5neAH3`qyjfeM+r zNVDlp$!nii-~q=$5!nu0qU>T_Eu2>$8$*!Ier`&d&WwcZY0o>GtjNKkSRk#YZ$VAo zQhfV*-8%t2>5%I}LTpFxMrPUO{s6@R@giG=J}Qah1+8V~mj?4MYYkqhmTJ}atDm#z zGE%Fku@l!$dj=|-IVuvWv{)JXg%h(GRX*1}S0Lp6Xr262gQ3B5&0CTt8cQVi&ReRm$fr>W{Kh~J zWE@^88pXdCj?MaHaGsDI;q}T-7f(gH`%&~#{VH}?52Cyz-|zRl)z4<6H#ST^uG5cO3lukvCw>f%Q*MZ}#Eu(Yj0@dZh_;J7ZkKjZoB4N2SzN01avtNQ3 zO!W#cHj;wiMG^pO2ApV%M*wj+-}0jo3KHn^m+i9+{$_S0FX|g68lX=Q^zGRhInj={ z84;5IB_xzFO-Pa&M8YBZ2pcp=j^&bcE0U0e>n4=^1yg(27LGTk^$01n)FQO)BmVe6 zXameYSSp~56#rZoul6p*q!6xk02dQTK~kpDY`@lzPCd_$y=&{B^Nzym9j`S9$W|=v zi%ptYL8@p^3T8nXQ&<`pBVGARs@I4#zJB^W`P6S)X~I2e7=7uuVd>IL2zl9beR+gR z2*L&#uYrs^rB06%OL*;*c(RYUWryuWAwSzAN7<2??+~sg$kr%%Bz_`CKk^Wd(i)kv zv!8wjPI*I<_zI~gcqbDkpOI0Y*5n^oH7p9)8&lwBi4K4hfQWCY;zEvg{DM`cdD zOaB>_xeLxhj3_MnXN6OsmTvLmwjC8#%d#x`lX6V522`?VjWePCndN2K76wYZA5xDF zPz?uJXJQnU*W!qR?1O{s&tf@0ud}b5axgM7k4zwj50#Zge zC@bC->8CV>t~aHQ?@BQbOCctiwl@?frKPXhQWeBY zwpw!xR`R@K^0WdFT($UM!c9N?%4BFHP}sJ)7*y%5CeIL%ZP;9=UtLDO*90_&(e zK-;R6CZo4iYc~}}CY2g+K>-Y`c7DPk>bhCMx<{+^teJI+VQ<7UbGgl`1@71B_W=&c zDOv%9K@cpSZcMIROhp|$9RQ|rW}|6)qxov1<@ZL&ztC_vpad1U1gbTSkN9!QJesUr za2rnv)ES%o+8gChfkEGa=9}35_gg|GT3}`^5iU)#n?P-kmblfHr|lf=vs`=R+`PKL zATpp-H}Zr<-rejwV&B_*xq&2-i7Ijt`uMfr-)AEJ@gPigi)kBL`b=P|6*BIH8 zcq{T~3q0Qj=>UiC19bt|($l>^zxVRf^$AM$fz10v(5fz~PrRc~a;;DLN1qH`KU&pQ zFz;6i>Q_Pat9A6NjkB&`Fb3&#kn8jcgaD0nfb1GT{cc>n=>fgmUI^Ww4O-PTAG8k| zbVLn0cMQ6&4Lf*Nb9981dY2#}?S>;RhO0!_(A27|_h>&fwF$cNX)Cs9Jw zWE11u6n~3w1ORLRcNRu9<^upGARn!|p@lR$d0VuGgcgVXp^V_s12FLDR6HO6Ol%x> z^WmgCXeb$wL1VclU+&-JJVJmjfExf1z(~dl#wbC5CA9FyCMeA=B+3pF7ZMT@L`!nw zAQ5Rn5osYYL9q1i&&sd~DzXVGu?Z@(fwkEL4cG*Y*rbi61(l@H@1?BS1ii#%1lW|+ z*-Z37GRlvYHQ40s*i_uu^gRU)+yo7L#jFF>1;J`kU~55e@b9B+E$F4J%A=yjt)aoC zt<9;W#bqH6HdX=a>TsGqVKX;ov$JG&(+7LlKTy#(Rksebunx2{PzqME^0!v@ur~0w zHVSq&we$1!aI^New)60F^YHU!6NKM!s3db~l(vSlxmBa@jhY)&-96mc4{8w*Zs!N} z@Pk^rRikg1TX>*8;X{5Vz{=NYV`0o$Ls*f*6vLIO2*# z!n#!ahE%+&STGt76&@Z~73srrYhriZDJ@bGX{ zY;{#Eyehvs1pV)CK%Wg%{(M!#eAQeRYH%JkxKTBSe!nr%0H0{6?rrGm9ju-htnMA` z>YeMFm_vU!-#dps8xwQ$X#Dd({vZ8+=M7rUD?oq8{Cl`Hg>>zme@}AwTh99zlEZzi zIMqMHPu_?Bkn@hky#L5~oECq>tpm6@|5eUQGI;yXkR~g&?_Y51EcEbGZ<8+?ZvBVk z!1)F9Z<50tf!5z7hqvb3t#!ZQ*6PKTe~}#0cmIN0>wjXY`b*A}x8p&>tyf#5<|hBh zc|k9*eup$Yt9ujwgfypiCVz)CEm;1*t>0UoivN-G?p^Z!mh-Ad3eX|VpHI(E{-coQ zCKUUw<7NmR+y9K@@K;E)X@4vB|A$-uABJ0-8FWwm327?ab8DEvV5vHr)%X+AROUIK zH+Wo&v0(fsr1|3bddWyZL;GdQ^S26(@Rfwe4tis>*31^9OFNCAwiuh=yCMxR6|a$o~Vk?yHLC zs%)NYWB0QC(Dtb~CHMNUvE(=0`thXLLM|>}&}Un?*1y87J$^|yp3Vo7NG%Rp{S$8e zpz%!aiTmyQExxRm|A1QuFYYM6y#1-r{`U6A-*D^A-NR-O(fB4*s5=KUr1)(G{%HtV zTrTz_m7bD2I!=NR7!FNsH&CP|l#wV8Pg$jR&w}5HW(|T%b=5=uH{AM@Z!e%wCycA# ziqPTT;MN+Z#O}jAblL8avKsm1>BIfE#GYY_Ae-|oHcT~ywbKK1`nRzKt4KAMz^t%m z^A^QMFc@>rso*Y$mX#**p4YuZYn|oMEiUP&)aZW^qzv0&XRd*uY z3bR*O7=ibKUMHy5GczFBMhXvf-JslsY@#D0T3*LVx*9C|TNf(a8?{akWMG8JILeRn zdEnW<;nroUIx${;9$Zi9n^mHva5gbCbFqoLqHuta*^mYeG~C)r$!x>s$bi?Sx?%}U8kiRpQ{HkxxSKh#xjgN9rClo>T=JTAu(M#HTul!w%e@^}oZ zJmOuX-mMtnWElR2TZ)ZN8k+v$ErqI26zVF?iukUX{zd61OrRCUa=X!?Dn?ZBu_uO3QKlPR*gb=O7t z>coABuz!>7+|47!R+wv~!N}C06-(;Vs$RQkvA+x+;WVv}dWpq}2yfdC@hRzq`kbPO zUha{_3OVD!#_lX}w??d+kI5&~+h>@4lnSfj51*IHD*6>pu>E;UNL6vtBkmiAx(RM zc~_0?!u4iM4d|Cy!Eq4FYs zI@b;yze;r75qlIrX2IYMklD0-NBeG4*!L?OjdYM)x;Gu{E9VofVYbd-+M)B!J3i#c z8rj*^km}&^owzmAHMzF&(unuSZ^)0ux^soU8rVcM>6)qJ)A4V8GH_8HR(O%`hTGHX zW*a1|nYcc*Gx67@QXTIHo=FG_!brsI?1@0t(K8oemAn1G!oU! zg0DG|Zj8^iDh4`@H2Kc&XEywF79BxZp2bt}92Gj5E}?mUHGFgc6?N*3_`6q&xAgXp zuxMx5jcB34C>Kw&punA1#jVJXQ-*@avDI<)YqvpeM>bR6+b`Iz=FES<4nqT-h??EI zD_lQ?Rs_uq6uXa?4SIMy{_*k78`0|YK`*$~k9{`tqcd8UCGW3uPLxujK@%SrYJe}t zCI?JAn18NFDHG3>q+O&qSlT|7|K9#;<9a^e#3S{E*)HE3q2kwCm%9sO7y`qAM2L+u zMd_^VUe^_J8%>u+`VOb!3EEn>jjx5eH!FtHp>TYji;_Z`u!2_cXdzDNDrH^SwTl4kYVYblF#2&#FiZ(-4NBe{9vHzdgEQnR_=T zZgh20?;7;-Eu#JMRp`5{T)SYd9Ou5N<|*ad&sJ%oT~~ZcKM#lAwl4~0HP{3;&o(7= zOu>Ks3^NRviyFSn$$Q}1G1U5Xjr7+o;p~ripJ3Ad;M*tA7@+XklVD6oDA6($0|0&5 z2qgiBoZ^Or`#hmUgwQ&Mq=tvkUWE`3hoE*t7>z@JJ_;>R3}tHxt%wZmEehqP4pZI> z-2;XR`h}G#g#qouo`(TbY(?t6iL3XCRKg|33$Xlif%XMhfzz-TH6V& z3=)?KpSF!GL4cZbv0JU5%j`v~RC!2yke=C+b=deY77ZUmA79 zEQhSC#S#Ij(k=KUQAz1nDbJUaRKF#X(Y)5~i{0DPAu!S-Y*N=(7BSot zwqK5UJRH%uFESk!V}?wIv?gm}rD!mVxl_j*sKT0~z-y(TaB5r(0Gw0?HxP;l7lV5P zqCg||&!GraZ@5@1NWvss-5ajS4i}}teaQ|-!lPz}qZ1Ixy0($goA{okDS5fkzZ~N= zu~PM!Q+>s7@bQz%rg2qTV;bu-ONR-bZKqydC8;xuh0&yyz{4Hw(;zL+OdGV0>@^)d zum%yjEw@iZ=9Uv2OC#(ZVLk_NRgRRQ)|mQj0+0QO>afUP;Ov}Dg2%(@G4%*Be0V?$ zLec~w>XZP#R!>DD^!Cvjb|h9CZe$B0Z6wFF26v?enGu$7s1oVxh_AsRoS*`%!OE-~ zNol~3;XMGg;GyD!GyEha$NU}t{5UK)0tr%C2Kpo+aSn3>uW|^= zK_)98vU1SwFfxw@@N)#o&mr3A7|VSKG8|2>*-z2gj#8M$H|fqJK_)Iy=W9}w+*WUk zuyMw>7DUjh<@dhJzbuU|+80+)E$Fl@*o`P)y$h(q*7($<{IDi%fVt52TbjIolA@!8 zntu9zbfjiRf_587moxqVU*gRn7>jfCm4*Cw_W-%&57tbpJBUYzCM9u5>uB zqNKFE*gxCbztJzIl=FTz=cg=0J;H+#H}I-aZ5T$#2^Z&&vTZ}eJ2lY;R^F}1K}EN> zQ@{ebQj&$rG_a}*Yf@c}i{6=L2DgLs-X#?u#38%!qgJD&lJQc*zlHzKo3Xhmxf*(&4UI`1B>%6<_#0M{n20n!?)Q zu`0eX78Cw0$NC#WT|cUQrJW+P{odG^1#^!BGa!Z^A5Ml})jsldeuN8V`SwbO{*hlK z6syp+!D%k*ny_9cCZbRMZM63&MiRbvIk<^Pq-CulY`HiBS)oyn$T$-2H5ch0$5k!B z8Lk}v);~^f2cd4YT;RrhLOCJBn!FU-BUd*1fM7COzBfsK(#m_%Rt;&Ro)O^`WkWG# zw~cj42OyrtbB9iiRSpvl48MA!>4Yzg`SP~a8EZ20dstp<-SS!wkmqeVd)~9Cl4n;* zf24GurP&7_)}6O3@@9k z{=VYq+)Xfstd@csXKjo~){@6otVhj+-SqPR0J+lx?C1fsRlv66#ZKb2Y?d|dv+AyS zNKMo0mu@13hjFqhHJ>v_50DZ^%cZ5O4ck9@8uZ)vh|1u^rE1J`mE6KjneRwmcH;&_ zQNNrldRcsYJpJg|f;vyQu+w{M`ElP|yvD3WjLB6G%}tcurZ{Z#3xUIs+r+U8!FAi4 z38^hQbBS`I(kA2winb5>*{GA2DyD?>4f7gX=#KbJgbM zV_?o^=bQ2jT9Rh&xN7R^3G=>6lApy6Cu0b=1yAXX{g(?i$L-Xbd#^LzYkzwm!~l5Q z_5Kw@un+zIi%!cB(bi8c`|m)aNcFdw-&Y%GqMPO>9?}w|LkTuqce6^P;@1=4F~E%F zxjp~JIF~jHiWxw8ZFt!jcfv<|OI)vP#KCxzTh}4^dPTEY<)NDhy~W~1CG7k9419X8 zA?TB%!p@~omzhDA8D#_bX`szq8ieAlwn_9C^{u4C^tz)}87YbK{km$}oI7tv50NeP z6zP<~8CRWO^sp8*{ccYzh!b?Ga3M0d+ggX5U1M#Bupq>{lb@3;zfMkg!#mnmjz~nV z5*9lH7vYTfcHP_Z>^W1DpVfChD=Q3TRvxKYDQUP%N1z5Z?w{+u9l)K&G=Gn2eT1&9 z#%{!(t2Old6J6NlT=3gn1jk)yNdnXgWMP0y=Nu(htKnxk{jpGhIT0TIDQ=+E< zM!bm$IQ$HTHMte1^UZu}?fp-6zFDTHOHaLD;~7l=?#SfI+=)~oQb6c@=ndBv;fGPb zW})i!K4#2tmUCzBXGp!g z#isoS+}eOco&;O#E|k{rFSvDQjDZ}L5MKK8RCdhQvH2vgV_0Y)wnL2=3T*+Do6K^W zbUE=~Rpz+TjXH1x=V-(5gXlypAxk8)!0p9PMZJK|qRj zmB9@pyrz{!U$rM;*?Xq?*9kKbe|Q7kzS>W7PyRw3GJ|>n?nOdIArY$CTP9KzOJP!; zASV$7Q^I2V+aP=+pIbBBm?&3-T=(d>`7SUVq^J6*s9`qQi@Qu&Q?!bAxGIgZ6pPDI zM#TU`3Hh2=zwh!%1Ke847dygk#wP=K@`X?XcBALG*l(HT{y2pCY*=j+2fi=2sG#oH z7yhF|2ry-|ibYDn{gXpMLV>chf1TFi4%l^wwb|Tzij_b=oJ1$jf=VR(#gG>6P09wR z46)4o>8M_+q`pq~8)?p}hS@r!SVO{PzH7mTF&?JTBSV`Pjh}fT+8L)pq{8Dud4!_X zLZ;81^lZtgC>D4Wm6h#VpQc-}Jz0m@K??1awgzb0{Bdub8Ff`}sp?{0UK?^2spY2# z62?Rb>1$Zt)0>Xfrky)~SV-t%oEJriO4MZW@Ts&(N6|+e)xC>iX2L_hL{9hDDGe7( z+%XheQ??$IaPPd#*0hH?Hi|nM5g{&Ac(e4(USL6GUOi^Q#iOB8FDod8D`Wah$U)Ijd(ATj} zzwJb2OUAdjm>nN`auP>NSz8LShXKhuyefA}OQcouGFYZkFOK>MSvtrI0%Xp@BsA)5 z=TJW2^YgY(=thV3IIq>r*_d0)od8WIn@2p(jcmg6F&2Zj5O@b{-;TVsHBH7t2wycR z#0+gReWY%YCGnls8>3M9_6(|2v?z%*&BVLIZ0UBv%HoSN2`~C>8O~djr7va@gR$)xfnq9hcW09# z73>~TwW=tI%)U;9*|D&Ssj3;xCa3q?u?e@TYWdE>bFiPXD~hSP(Ox<*GHm$k;DX&kfy5+@e`de&!{_tBd4V$}jh#>`g!PHg_dyzTh6wDq} zB&O+XG?%f|Z!gl=s`<=!F7rLM19(78%PVaTwWr`9zR;@W+ccN;8Rj6lE2bT=IG26d z?;w5Ns{QI>F6S4vqYO}7C-m-oF0P`Z995f6gvfjzX}F^TtGI5A(R}{B0Y@d_Hr)i@ z`GN;PCly6;z2vm{!bgfuYKCokX-)G*eBn+SPsQ~!7Uzpa2b{Eg+Vrz8=1U#}opr*+ z4f5|UlqxGa>!r3C6pJjBX@@%-6p0&_8!ePS8E`ggY%{F(U8t}^kMj+P8`Y&PR5~cS zm@c##H8m|%xre)$?}|TZTU@AqG2mi(-gf(>>tf+eFwhkOlrZkSyI2#c=xRgNZagTm zSeqE`YR4*JGHSF~mpAP5;19Wp#lrWu5TWly%baOUrH(hL6YQdnNPdf#>HauTi`Q~a0&CRyGt!YiqE`K+s!|UEVWLBKYLyzVR2}*)V4J6 z%(t=K;>35U{XNj#Z$QHGYuZxBo}zoeLc8U~pB%1x(5{5l&Eitm<$(LE^LBI$ZRzbV zpa&Ev3BkO#+>NW`5lYno!4X~VA&u~Wu}WGKJX!9&XT%2pby$~!PNW{8Fp>=EP36%pj~nq~(?s&QZzM*M$N6!_oqFZC|(Cp-Vl=F0z#z#EK$ziv03!c(->|JUuN$VE`(<}&6YgnEXQhK70? z-@F^D`Rf_{M~@-z9~2(>u)9LeYiJ6Oas>6`-+c|cfh0CGs{h~)>sUI!E$?%V`eIEu z$o+7wOyCiEy_gS&UX9XjraZf#;Jsl7pi%wK75|I9w+zZ_-PW{mhv4oO+&w^Wx8N4sf)m`` z-QC^Y-6fFV5JG?e!9#G*OHaaDYwxqqIem6__33X{*H`ua;0KkrDvUXwF~)P>*Nq3s zAl6saw5VMPmfT%IUs+FQa#-86d7vTmyS9+PV4suTAs~Fgi~bP9@F)t(C}C+QpqW+v zSz&oVVFAhzK;{7`I-XS=pZiMz$;4lE_RmNrfL8*U5RcHm6&w5q-XR%G8o)dBcVYwD zgufFTIBxgl2n8Y#J$Z*x*<=3@8*n88wfH19P%k!mj*Xyg{v%1-=+hGs%4Vj?_UV;y zO}X0fl%(Bx@;gbp_LBZ7HbNDiLT|FoL2)>SLN=!go$cwBpx^XcYyiU>NGz}2us2(# zf++YTHi&^VA_)`dqd8n^bJVG-zGyjK@54J2Ja`4fMhrfQ4LHF7B2+nFEI@>s*q@S0^< z`iz@p>h!?xCcpp4YntsM7;c^;DcDzOT<^DfM zg!=6r+Nn6K>ALy{BGiBF9ZLBd5$fM~hkg^G9-d<({^lL}*Gkf^{?|#;et`yd)cO;2 z4@GFw_mrgF3l41!MBN{c+D-ogE7AwO$9V1;kicNT7|y_Lz^TDS|2%pC;oA$_E;Q4M z=XV3}Rsh}y|KV!@c-)cyowkSqA5O@@NIV?(`REya0>JU(8vOaV&l-=Xu>7_Pn)Ro0 zJ!^}Evjm?W_j%KqLa9VLA~>h=xl$!VuIQ)7JzAyK^6SK<*;1`Rs~NIv3&Tvk*<3|) z_>;DX?#n>7>{6j0@VLJ((nRkEZ}<4mQeysFI)Hy7CFVardWh5df?;&ign|WZ#_|=3 zea2M6$PdJf!nv};$mQv3XjCGZ2B3_i7^b8OWw_SDlw8rL zkw(t4BrXbNepV`4)vsDNs9Lvc+O%)l^zHiY*S!-ryq`ODls9!$yYRDa@n`Sa8Bp$h zYiH9tSL?^O8$WMyI+ z-E5Er$_Ei(_Wh-%`+dLx6>n5@;x8H)0!!|8bD~=Q_sByIMw{JC#(H47wL2iRuvgF4N0?qyO#u;=g*$EcXC5`!vrFknLz49 zIAHI&=e<7;MS`S-Rkzu2`SEOy^(wNPD|>CNDP&+UwfP%)`0Lzp8;V%2+fQiY^k8G~ zsp5&tgJ1Y4Vwg-AIv<|>MjqyFEyFF#(<^8+mw~qqf83H(D%hn{f~L?f4vpfNUp{fC;)Txt-1 zG9ShDPc8KKp zQt2s6?emP~$r7$7HJ!(K<_1zJgr_ZjC|dvc|GOXDA1I?l6CqDlcZ-6xNg^PHR6 z$x^}V@lQT?=ec0WWkRqr(@$zTIQcRWoQdfWzKeX+=rXaFGBXj{7X`ReWfD(nI**G& zQsi+OUEUk zrmNK5m09Xo!72kAtJJ%$SOS+S0`o(zGJvJ`Gd;VkbHB6_gZZG@kG-h!#|eV?wCzBF zSOG@|U;OPn0Ja?jQnnaxGoFu+=hg>!^CSNIUgtRxFBqH+dklA@;CHX{G-i**JdN2; zu-ioDXDotb((hg;k?P~`(Wc_$A*e=K19(DFkj$?EGwHa$Ai*G@P3m8lP{%px%a!*@ih+)UpF1Cc58qBK~yMs0~i zbNJPP(MFrmc#U6;efN`$Kp?SzD#!jDzkHz{ql(Q+W7S`Yc>inLj)(tx+wq_GI{$On z?f=I*>T-23)u+)0B@Pw*H|!P)E|0vVNUwrcB(G$pyo?s+@76R#5Z}R(z(4$1CwTI% z7zVljT%8yVgW)0?AQ}7#MV3yW98LHmIdLrU4}6Ar+V471`J+xEp6g`dxlV|F*GYx& zQ=O>&t`q*JI$11UZm^i^Q3a9{rGa&fUXpC9?Lag>`^vN4-Vd^qQ>YEh5HbKGR=le1 zRAVHDLMND^{Y+&dg`Hx!s@+lPV~*${6l2GQ+-!+TqgZu^v-Dz(abOT*r;GSXi=*gJ zb?3FnT2J5$e(Scn6JVG3@1V$k+lrn4zgH(`uzkP?jIa-egk}KLi4h%GWP-~bO);V= z-9d3?4ep<#6vA^Oiut!j6tMPSX+*!UYI*KO!8{hhJPrYq4zNQd%i54>KXm+Z=lJ!Z zyLmEb;j;VS0eICc-rg-fKCGSn`gw4(d;jqB@!|2{@ZaxVfY%WgoT^e@UVi{2#(zm^ zd2U3NH~LfIbp9Qsg_c(=DMtRn}gOo zcE?@UT|vlh*#R#E&A)|=hP!RrF@1E)jCtK-ww+Ka?fyN@yykW%%N4M7w*a%n0X|#P*A>ppnC?5n1n42mX zF{Ht0_DOv#|1AZnGx?bCW>H*76FfPFbfP$$GIfj>rR)ujzYJYo0(xAL3_`lJd`(bd z&Vz{vAD&E-Uqey}Ar+kpFRF448>Q#GG4b2miNxuK6smSACdq;iZ$pYwdmi9e0zbza zqB~NI@Rx|QxJ%2@{qHxT9si1rs5(0M#_vWH77Put?RO&z4!0rQyuw*+?H#6jeW%_5 zK}-6#`yO71NAN4K`e&;vJsZ$-Vrjkn!Ax5Vk8$c@WCJqdSI7czcu>&hW~Bc`_19{ zKY6`Y^)J*&EQ1>W%QZbbKT#;BrwC@0I{g$A?RHa9gOc0gv^(hM1`+AW!Ylz%1Az|y zY+(lWP*^%i&wtdvj&L~P-xlVlI}%8E-~#sFuaH=c{lI~xDJCsg{&*tPtG}YP=^l6* zsHOg}IfEeq|007FgtoS`Kb{E-nTxF2E!WIHXy5IXL;*|MW)xoiSQalkLeBEy2d7 z`j+!2igAXK!Atw`2q`GPNsg{x{MU$x8E02{PX z^~SrpZ`KW)E^XWH?c0DWI`g)gZK>uNY{s;GSZw?e-aZU?V9w~qToXvozxiTxPvbLb8wz;yl8E`NM z_3i-1<&eJJu>Reo(SxiHhk%2*eD=6z;pdZ&8L%%udzb&txC|^K7xu504zAaZZ-ABL z=E?2$>D|uR-TuY>(dGT|)x+t{!};y6tGiz}_n`Y2NqgIG~mO zFJo+`Mg0HS7#sdS9MUq`9xUavIjW7oEk<+YQkA+Z!h=l9?^aq5sZ-_IA#FP0@~mU{ zrRiF`-s=as{^R$hWmrD?vqPE@NAxM{-ZUhE8F(w9-EJ?m*UkS!s&GR7bN_ zZlyi|JbYzxw9@8y7~2-wT@6>lihkCo$s?~4HAi`(#(r7Mq1RxnE^PrAdC zA`@Yy4k}JDVbjzO1B-d56vR$kWR`B~4D{X>WQ_egIym|L@RA~0DJ>@iJcicB&*A8@ZxeU_o6sD2k zETe>xPMvUMw(znH653t$FiJ>8rz1d&jp4A0@_`%bi&>BDBjL#or&`h5SusZGMY==O z{3M8GJB3IlOesQ#@JKXBGp}#QO4?cU3(%q1n6*-{gKjpBydq+?ijOejCrU)I7oP_x zF5}<^1$n(@AZ-ldN7{td7}SDr$W5%Jh^{{RmzSLL@#XlowGeHfARXz>t+S*Lv+wz`JXD~H-hLc{j0HmEB{J*-TiHM?bG zuocV3A1=athh9qU-Y@h}SM9PKcsh9?ParydAp6?Z;P61MxYqUt(}>3qg0}=1IFv^n z*#t>Uo$n!)z)2!ZSkW3FaE2VkAc)<+K?}R2zx25?9+o>`4hgJB@?t6`e0G10W zXu{FME#|k2nq|p16phy4w~IiwSc!VBy5jR|bb3yj_JZBW+Peu~@iTP;k?yDbs}7t! zlG5WZ%)c%V*x`O|m>2O+!TD}Bj!hV-$Gs#hKzL)E{$TJJcm$%x((rL1~bFh^uBI zbI4W>$?Rd1m<8>)C@A)so}vi6yX~+y)ghTyUxoE>I>Tv@^+~LxLN3^g5Qh7_f)Q4( zMa_S@kby7f4lrQ_2hQ(2byP$y zmcSNcS zTao-uohVfF$vkYuA}8>L;xg}qWxh-oL1jptJ50#D?j#aLzElL~n~%SJFvnw6Et5K? zm*~2m7A0tyai6e|CeoqR&oYbqKJA~<(Y12Ow8sX+SBHRcu}I$0CSJp;L?$jawtr^E z&A^rz^4<}5^US5D$c)KZ+PQ+e6@I8odM4yRhJ2meJdRq>*%rI8qD_5w!68~966Y3U zZjZKz-)K+juIZ5K7Oz2oJY2+XK>y-kTqcyINgtXq%%5~ahDr?+jHx-{^vZR7r}|Se zy!#RLkBDNaJCy|CG~*vPrk{UZgvLTHR2sqGkY->HmGD4=gwTwZAVr1h0+`vyFlrX( zLg3C@hL9k2Q{CDC-J+xN+a2Mm3O?uW^69TvEqN=o_=-Xd-(u|u;RB?QZVFrymvimE~oU{Vmn0I>_WJcEn z4S`B0kI4T>t<-qFWi7pQ|M@1og?zHIQUs$T4!p*du?8BlaO*(?wpLllf9I% z&}e#;7%IN&w$PKuEAhd{&4>L=Bi);%>=`iLhvr=fnnB>#p7vprml7T8R)RN-UrDZ` zZl;&%MM5(lztF4@aLl9)$X<@IDQl=SwH=jEZHRC4#|(l?dMUZsj^}D*HAv{b{3DJjO6UDhL4u8FR6j7GE8wP5{gVh{`iJ6$O#H6_5pzmdzpD!yNND37&Xqw$>7s?zvPk)Np z8im5&A>n9{_-ZSa22~#SimS+k4&gKmgPgM-+8J$--)R~1$6>Hgd!>WuS+p|`AD7#P z8HbDQrr?w@qosf7QufX6@`8MijfbuK;m#fiJ%_hVxsjCkg;C7sHXN;bTV7ipe_QZV<)OLf_s#mGwt}h`RGe7O9Cxv_}*>HIQQopudP05!Q-9eXbHd-qrfxqx`k`Ui8VKKGB1;4j?kM0a03 zy7NYXF3J?U4>UgAEp~z~>tef)%ws(;qWqDJ{QCE0>!4Yt^)98y28o;=?>8Owp!uYF zP~O`^Y`uECosR9fDDCyYoX&%u|I~B!7WA_))cWy$<3;bys3Pbr^YLL%vG;E2_5Jay zpkF7ky$`#Jk9S`lK{v6z_XG)#p!>&1FkC+f9zUpMkNZ(n=rliswkL-)%8g%^tKTbd ze@sn(Y&U=0H2)vws0pm7fJ2%TH-MZc;OeD6Ts%5uS^!;J0K;-Xy?FpkKL!&|Actlk zm!?0<7zVLhV3#C};4(BfZjcC1(2;onpIeYrT98azklb>R!cCA8Zm=>>u&QRTx?8Yj zTCjFou2#1nOlfOT8L#^i1l)a?M;Y1Zs>cSP$$h$7q?Kiv`~+> zP_N}spPNuW+^_(iuprH_5VtT;SXx*_TUgX`SjO+TaN~i`%!7}ehLzZWY}t!wON;E_iAWWKQUZex zjDwG|hich_>~xD7ON)xfg_k2mZNY_3A%z<*i<;MrUW5xv+JJ?86Xh!eFK-{Ygd4NT z6JvV=8y|;0+y)h22fHB^b9@tXvKJg}5cOpbQic@XZ#w3*E%sqKR-Px8&M@|7FBVEG z4u%&MtQ`Fs4i5Hn9Ew()#0DJFZ5*anJhpp0ZhCwsF1)W_P@EqWK3)Pjd_qD<$gO9f1oQi>{)3Qkfc zUK+Mu07}bJLD~E1;{?#O-kT^JID1(;yI4DWy|;a$X}x#0eDCZ+&KO9^96`mJK%^W* z^e&E6C!X9ei_|HX(yS1GYms|Z0OO@0TcV^wn2=R8K-mK3Of}a;Y0o@Mg)nd6nPFrPFpFBJw7aB~d1uvnXEg&z zE?_j(NgLJ6ntEHg4$P&F`6C{cbHF$XfVl#6m;>L@MH;dtm~j9@X}lA2rWc#Pl^nq4 zig8d*^i&7%Tw$(;z?kaKmY8Le2;jB~0yrwdxt}M`XTDZgpkr8+PiB~1L8v~!+NzE> zD~fljOz~_EPAAKtfdLf&ZG}Ze`$r{)MI~mY1f^w#`A7D|#Fqi|t@!kU z%)Ge3yt07e_L$P<#Js%3yt2%^y!8BvwAzBS+S;swp0wKLtfrdyx^@87Rgo1|nvzyj znpRmHUs;+~-IQ2am)n{jSX5e2R9ah9TMMwfDryQUYk{Ai=HY_6`hvRl%DVd2?uyp# z9su(dSwHej`pWDcN$8x(YFZ2E*{SXxscu?p?H8T#6dB%Tb4u8#@I4BsI1|VQn zvtL_AMq5UvJHMRvl}8K|Bn~tsPBtbC6x59LmH}k2so{)gI9T6E1HcCxnQVO?v-?Iy z`$ndx{w*kM^xHWwZ||Mo-93PS`4HL*?;i+SI83Os-}3xPSqK$)luthl;}Nr>XBh+y zrbZJXGT}nZl7bP5K_Ja5y{D86U^Ye(CSa%mW_6XL9*;^$Rc`{tbxF zqyb(j2#eOmdZ8p+{sJL7qoHhtRCGHp69^%xCNsms|Pm7NxMRdU15pv_%8Wl2~+%FMP z9+RHV){hF`!I6?XrxsSu;*G=eIKzuC(BI}Y&t0nHolZ+Y88T&m2}ZXk9A&xxXUwS} z+%S(XVG0ZH0O+c(5rQ)lRSdSOE`xo#y6r$4wf1WMZWwa@Mti!VZHJG6bG$_x z6?3}};ROPuFg;`Q2mC|Sy1KLr^_PDE@vUgdVklsxH;`Xy@MWP4U_Qs3R-M|T+Z~;blKut6rzx#EoA?8W|2yW? z`h1FKx9a>O|Mk)NUj(g-8L5|l5ws!+#RX%xcTNQF_aLR_b)N`YDDrQe2iFX`KP_8? z=W{MwxBh6EGa@NE8G;mVbY8LQt-gNJ{1CPZTdq&3Z+PR_-h88c{58C)|G+pU_%n@k zr!hzq~|QrN*SARr)7;^?Hb zEx;Z%=t=WKf)4EkCV~%o#K;`*(TMw!p63T;n7>Hf*0s0riQv(3Qz*_Yj^OwtLUT2L za2^e%f7r${tuqir6WTp0ZXeDR^i8P9L4+1%=>2r(`hEj&)#73QzW)Bp_UtuJl_3jB z1xEh%^vwWu2}%HUS^*CS+^c{pMd$a{xkN9e$7O7XBT^;-g4R21x%X#@c}S+B{InCw z8D~jla>aBS;}hx~XUTO>1TEfIYRx!dfvCbC*y^jQoyCnC@BgGez{KIR@flY0C*{BU<5-)~7( z7h;NMSf8#LM%q$Ot8>In_91Q*tYB3F@H+sK#|&l-o`u^;ie!{2XHC`!-f1MsGaK9~V9^SEnm#THt4F z(8JwQ=3!Es49LFQR9T^hFQ^;VVkL7Io`(p?0uAXmHrCw0E_XUM-HD)8(*|zBneHTvETf?L@o~cA# zMTzPTv@#GbN!d8cw{eXxEFgd{XuC$ciH2!8!7qbhlDAwgB(y6)(#ehV^n4N0E7?>aB5_isyGJV#?7p z@wcEuz0}V^t2gm)k_-zDnP9C{UkbD+ZUxW1ginOtG^TCBN}~XQIv51oVR( zFCAr9k11YbMDIW*)tKb<$s&|+GoHM`(4pyFwByBvI{Mh5SJFoxpAcR0YWh7096rxH z)G%DqDhq4No35CaW$(f-V%&}|hD>eY!bIg?k2<)JQW85+Ji?5Am%07mQFr-h^wxr) zQak=mR{v4S#ug5dz;&OC<07d#*{v3TB~A86fH%<&Eslq6cndlgQOXaA&`cvzP!lo; z56?ghJIG(Dgs1EsLsximx>re08{${)`t5|e1q1A`qI!n!PWJ>JXxSUrSAbY8AT{@J&SdvuLapD)WWs`_y6-8bxtZbf|K^g-#+ZJp#3)%u01XzWJw zuHnY7UBLmJ+DT41elcx+)-Xi^*PF<$1L)jSTMwPF4UpSXBM0E;T$$yXCn9|fvJzi) zT_ONQ|Ge4J(HD2AnZD=jBG(wZ`-H9Z#UzP!M9r=p1ElL+@JV0>+2=w{Hpd>m$)0u> z>tf^`+Dn_pR1YsRXB$VQg!ZIy>UQEm$G4 zoFOko6f2H9Hl}pjY2(^Lv`CUz0*Q{aGAZzLV+m}6o$(Znidu% z6{fWu7PrS5i5s4DLz^f?r*5L1V8Uyo9&YX&UMM1?J`|nBS@I)jkM@HR~YeGGiGJag{CFyK}DGTB5JeDeFryow~Y^@ z)OBsoMRe5j-OJdAFzhP|&#N@gOygWYmVj>w9PPpaqbhPj3KPR9-crf9C68pdt*|ZXY`H&|) zk*__G|8t_?ZK4ofk_c~-m{yVmo@#8Po%fDbwxkF~s}r1C5)Uo%^#+PEmurUvuZr;t zxNXr}nq+Qi!37pB$5h(^PR?P28 z9D6?QgNETZEoKOp(8+M#v=C$rNL{cpOQSv%@Q7fHG+D(u~ zFzmcg{i!Mm0gK#Lpkm97W=^I30$;VLHj}rg`#Ca&g)L3dU-k;6A&Xj6gR-TH#Epw& z@MGmxij?q+mHCQQwTsm~iZwHewL6M+SBmxcSR7kpHxiR7Q^nkPITglJqJj$bJ$MWc ze8I(%Ek9>yeGa(oOFn7Ix4|!^87m2+NHN)e|I#T1bQ_lvZjxO<8wyz=i{gl43W-pJ z>)~0#o3+K8*T`wd=PB=EM=@63wJ#*{k}6}153*nT9JchuW~!f-)eTSDtv!5tc$waH zk&_c=tUc_tA4*W7RR|RCXd=ISQhAK4U7w2SSPN&LxcKE~0)`A52Ng3_ShBS6@)@WAaBbz8mKDN>bed}s;zSg>`|cKs)HOl#tOFUjqo1|hW8TDLGKLKV`4gjh?3%}p0le;SdoL{sriEwX5d^gbEoKHP`kFc%EJ zsZpk>&7|pj2Nz14tK7WLsJ6J3io`68(JKwAoQsfEIznuYd@MeGvl2;sgcgeXU@H1D zQ%`O=DSkRx?w(+M*(*tZRYADJ24c1L(|E5+;6W$$B17ckQi&b4aibkXi~32fRGN)r|D z!mqQ9uP4WJBv|byM&cyxa+hB+qCz4ga}|Zuh`V|j$Bt87l};el)XZ7c!(GL}Tcxu( zIJl5WRWABg2+7n8FJbB`sB5O|4ZV~sf3y4phhkI?dj!{wES2e!9Zl45V8t*U65%kG zsUiP}p2~>87k7)*LCXg_jjS?|*?!UxUT?>@UPuWMh`4eWLe811S4v(ZF&90kBBDd^ zF$fOML*v$G;+>A*x?3S)5PkZQgq)es<%UDUZ*-kV+xpNN+I|e`u-lH4*hPOcFo9KD?&__5qz&{D8qOdAE2}jnAo-99cR6KR06ubOk>;d}Is?rSq6xy4q zWnC2@>6CS0YHd|{gYe_%VfQwF*v=~IyDZkj)!|x4$9?*d-6O6aUaXhaoZq=@!T3LU zIex<0`qXMTb~WPu@W2k4WoB6t2{$R#so9BjFU5ZEn^GYljvD}*&_Am_3jKrKjsHCb zp{SR2JzblPRg&N<^H>B*P<>ehDVwh4Lg5U-6gv@7yfPtOQRP4oMqEbcs0st2G(#H@ zf6B)`_sYwI>?^5-izQLnoCiY*?B;L@9r(E>_*pxB(j#1lS zznt6xlkr0NB#^z`&C|{GHhKYpeA+Z+jKzA9b#CnXYU~x!xQGrFiq!1P^819+ymwPe zNSou-0*?7vzAiTG#a%&VNaJRfGui>u^cFM3=^35^pOFO!I|!}W5a4E4my6^zwscpf zy(Y_SA}ScwM<%;=y;h)yC#$=s8swFhte08^l-g|;JG)n4F2D3ee`yw2t$DjTGNm>^ z#Jok%ZT*(YIt{fBgtU^cP1kMFk3~QE0hxJBjq9bEcjVU)zIBX8vmGIm9owL0Q;(~&tvg4rUH{1Q75mUfZKtZ*)N(W!)brTL{7*@>QS7Qew=iY^ROH+;+J8qAc#mFDi>Tf5XX4lg{7_r!XR~&Ui z>z?fzn>JKk1UaDXWDT|6m2 zsZ^}Jyj(CD+!drdp%y=>NIr&*UHw*alC7clHsWOcqXMS>>7LUmuAKt@Iu^D;C@IMq z`Rg-Eeb5=T?-@<*8C~xg!}=N1;~5LdIos=V4*hd3-*cYabH3hle*H5XAux*9EF|ma zV)_>nz86xt7c#vUa_bigj~7ZLmr{@C!ptn9%$J(Em)gCTy6cyEkCz4{S4N-CRGH62 zUSC<{URm~DS+8H&K3>`9o|}@KnUh?*_+Go^UVHRjd#zv7y}l;>giU~o5Tt~Phl&su zd-GZe71m9z3`gys8&FLGgYp_hF*Z9 zA$gP`0eN$R3UX0%*Y6=6epNF+f`GdsGNBEj0BB_5CxVtp2r`ji5bm2zu?Q?iy`i)> zTO&a@a6Av_%G**2RPq_t_94^b%mn2Axb4E|h$);l2~B-(b`^5|fuOaoTmr!#(1n+5 zI+6U+bQaTH?O-v1H`522K>bLw!E`D|JX76ft`xbw2U$A#d$K6B(Z`_s#Y62L?_VHj zLd_F{fneqq)3nq|-9!SBanf?N`uXkEt)yG!U=?mfL;>zk`zkFYF4;O+ypdB0F5D|^9l zOzMPTp&8;xpGLzASe7sF5#V-?5JFsT>E(f^B}WjDks zN#wd+FG=DH#U@1-O4%Sq5$p6xh%(irLHcEG5St8bwCa1AUz8`**&B7M<|N)=^=xvi z{aa`8B+00-N%6zq`0SdT6ml|)XKh4?K)G$;9-6>4@ipVTbZBh-{cYQMJt zlO}rMo0A@ID{ZLEU*tMYTFP9t&f-~EnkJoCAGJN~2GBA2_h%qirMQ0?&De-WTlQt)=`VG&_E_vU}FA+#wTD!_ilYlM}S@+(EW${ZUn5hboiC@LImZ7@m%834W zZydnv<2E0^u)wyeKlO{;*!UDAJ+#RsiEyoNEdEt;R;(9J%}fjHc-}O@?aFOl-%tU6 zBlNa=X)RE3Q~87D&pHg*n%HJlU3)B0#}6_@YE8q?`l!T@JjT%_s@a|{E9Rkdh_SKYkX~@oyZ7vs_il^|~%sZXY$h1eXfaZ9$7zmt=9O}bNW~im zF9k>PqfIARJwv9@{(yp#mAzW>0CP9J?M-Z1Ww!D+mVWADCN0OMp{w5qTrg3y7%5E zk(4t;+4DhEo@M(e*J+{OK`s(n1;}P&x^oDXDU&&92M%8d(vXsI(3yCDyzg?Fukd@v zYDt~wG#h7b52BHEh%t#x%}NK84=BMgn^O-uQXVB8{=hW#F;ukCLhAbb4Yy%aSPA_a zF_|;Gox!And?H4X5%o(Kz6y(rWl>pXbM~6{1WNJD{VNLzwhZy=*ow&SWqK@fT5H%op7WWY)zPoV^~Om( z`py_X%icX{I$K&?aDViUkN-9$f7jchxtm;;RP$LCanqxB85ebps|fc=&_HObhh9 zBHH_M8M$J9wX3KicQTSj$itF?gN~m7LF;3X&NA^%NjKW33c>H_OA5skn(5X0=xxwH zeeP>y1?Y*%*k9%=4EH>qjad=F)N{2K*Ody_riR$x@5>M`u2X=kV?OQ>tn`EGS1LQ zk-aKA8z0nS&lR7E)@{*d;O?H#aIW4SwQI^*L&=_m5d@C?t^nqu-QNeQ7$$==fgyE< zO8KH(%^N)-0xu*Rf9G?Y`aFN>l*&+rN>jlVecn~lc)+pAha5WE+8RFbaxRyKU;pYPl?ven>zL@;*LcX%?GGK}`6?(v z3WLx)q$#(PuL$&D60R+xGKgkcD@rRqR>=}_{ybZR<;eGTRvjXy>$lf-)+K50qEaKz zewBk5FHm6O%$2U>$mrBUu{bJPNunIgUp@Red=5!L-`_50eu_83v;JIvW*$=k__J0+ zZC&>DtoAZX7iL9L5`Cp#`zhUjl~YZbJ_`DPev*|< zMXkG-N@p3`sZ*Nd^r`B@Iaz4FT9#*`Xo1`62o3A%%+}MW|sV%;7hb z;_p2NmBofv=mu0xhDWrA)q})`Jcc!khWj&ywTFh=JBD?)hnrT0^`J%!Fh>k2M~pZ| zjKxMwR7YxfhfSR%+V6(VlSZtU;Ea!m zd>&!(q}UI@v^{D>&dRU{gR&b!Pi;iU=-_jKD(whB7X(q1_zaCYBE>pcXFB)4a^q-D zgu`*U3Gnihq!BKZkEecnK?zb)IKq+;?GFD5LD^uPcY!aT4m=J!%?zSyOIU^Ox z5uSWBws$i|B|X3aMO%%S9)C+y4g}n!HSGwk7tkO5no50&a zjiSw@-_bU>+%-yyPDQ6D-)NB{B~eu}u&{_0XZT6)wFM@S%G4QB6N@xpB)%lUP*`@# zUJ_+nm_%IUKwkUJI?c%PRjE@3p`fHhW<0+XBIDv0QIm;1}?5 zz>`Gzu%-zca}ydT=CPt4cz>=UoG_rDKG6MOP=s}2O(Y$sXY1jRP96+YL~+cy4N4I> zOCRH4fh|P&%-mq7zSwq=Ma)x?O<#08QSq+#hF#znMczOmCS%`7x! z&B!E2$eMEOS5CKOsGBFFSiI$U*DT*&p>7q7VqKk`O}UUbG)D5Z()Mz318m93R0B(E z$t8HnEqTekc*&!A$;4~Pb7AQxXl%**Qp4G1#1~7GbYJ5g#^5(mSycBn|K{WX&X$C4 zSSsw&!z|6grkd7B%X}9_+L~nH#q#UQpCXG#qKXG&;qjJEH6d0LY_PO!9W=je*4+tX zG*~4y7ETme;v~v`)_|C(q0iAf#G$~zDOTysRK>oWolGH0NUg3GL7W}&d(#oK?3orJefXAp9R}VN*aE!{abhwI^q1rwq$WOcY-+gXqLc(ap6E>b4{%3AR)Yq?#T~<06IxP6Z8!$@uCDLaNZdu7oLO3ZGg+|LaWmS}x2q3$jsa>vUIx!1qxN>i6@4=zkF>H_V(7EVFOsPTz3!MsQQU;kSGv82LuH_>E}i8}ZdQ5|~X=>`gN2 zO>(YH3W-fh^-U_XO==g==F5;xniQicHeOjYH5oOg$Wt{0ElDxjT*e$D>%fA2aASs% z8V%Er@27Ivr`qXJwyYavnANn@trjt)-yqy(a!a)GqvX9WH^yk+f`>N|C}~;znx`z2 z!qp^Qd8k!NUvQ!Qs^Hf|kbrEgC7y`CNp0tp&iQN>Ki&S9G7K9N5j{?oIbNgNxkPwX z?(|;Fu2QJOR5SNZ)0MPg3=-ME@5d(LQhaRvtQC25IyIbcl=WIzk8>GYx~C6Q;U@a( z)V@9noBj$=`W{p!!alw<|AzD+Z8O-+NUwz|(>VHb5qlZM^TuFFj$(`zIgbvJACOVMFFdDjz0?=o+hMat@g$GrXCOzsUTtp*#g6fq9g zBlg74ayp(J%F0oknSN#Znf~ow!j&X?_Pm?w{>ywrA&G6{orp~B!2;-VBb~&2Z6-=5 zHB<47$QZtOGbV)}W+;h0(SZj+f|h5=Usu4*iN75*C{z_u$9r*E5NTPp2r{%P6y=s2 z4mTWjDGYV*9Ex5X_A(9iVIK)o9u1%j4N4rnRy`U%9vpEw5(u&$&(Qq3X(H*eH6}6I zNX+eb0c0DSfqYXAVJOK4trAzGHpgSCQjYY@%A0^824^nG?Nm-g-Db?l#$Dl)3t@sW zFQsTis*20z7pAJOoG(w3GuSgoAPK(;L+IuAZ>NZ8KT_HZ-=dQc*?vsnIyO;VMKiOY zCfX7FaHvl15Z{%lp!tnBzPGVn74^sbqV2oESKRF+5@WCuF?>5*mb;4?v_3|OYpR{XrDeis&C zuX0S#pK*A(lS=g~0Umh^A`?L;J&iI0|4&a|)8xmH@%FGL8p zznBnI`BM-nzVj-#A8u0v8^*j;aH7?53Q4NBs(=q|B zBWvpP+R0aH3pQ1v{OF?I;_c!O_qfM1uB%jSI#8iM=T$@;y(0 znJ8}CZ47O0GN(_@WLeC_T@JGDk89ruh39F-jrSvpEYxNX--|PR22JtyKL_4liI%Us z^>Me|A9!6$SCq+^niiR5@X?+ZS6PdF(j>&O|Fl@Jyg-fknz7mFrksf*V|K8j119DQ>9eDaHL%IAY-TFRrqq@uV1 zK&2P%hPUpIcd04T+Zw@#Lw)ZXDmH62nJ~4(tAe+xejYvHh|*{=a$bGYdrj*{lKiA( zGvy{wkN3d`NnzTN{E-2xD`l-3&501~<8?GqR^CIcIdl%UA0Dd?Y(I+`z= zak@V6AAHt8u5&wn5ID+oS9;&*`a|&KZT+*$lj9$){M~P32)Wz}H&3=Ea`@24b6qa? zW~+3X+C5>4-dDOr>DOp zLJ_ebz%Wz_Utl;UYbP)QSL6;DiLVTyiy}7irHdwa>ZFUI_P?WxrHhAv;u!LMLGdiL zouCAc?mJK-&jf@%NnqKRJ{cx_&`F;n_Haj^DupEsPLreX1E(voc7Ze0MDD?vTFSx< zS$al(4B1epE`}Ua|9gg9%ZtpyT-*G6x;*>ZF1sklmV3rR>~3wAyx+8J5?rlWyy-BJCWH&UaHblA8R|X4}w4Twga@r`0B8 zS$Eh>+FX~~`NWT50j9FMbA6f_KHJ68+GfYN(i=Beu4j|Jnom}S_jHt5Gftq8%*+Lm z{amWZwVr*9F7NBPD;DY9ps5TDcMVJa>gz7Zn&8wdL+d90;Zm~m1m zpiKw;8DqM+r+E#t*@aK6VnzH}rp)~U0W(zC(~cu)9ML>lme@Z8CS<-;dla37_kEP) zj1oAT>Jv9k9V`9h8onya6P-gPf=hM%4lrlK_HA?hImCo^9A|;grYn$39+BScjlHda zarR2h>^!SC1}%wxIe`QHsYznl^Gq^dT!F7L4xjY)cf8#54b^*!ADzpIzWgMREhY69 zSzlXG3+(czoreisgqf>$ZcMpz(yw?^&{CA$x;^n}!jKc$?{n`fIH>0j`LxvIn_#{- zdl5Yfk@qT~JpFE}QVx^47r7Gt49ekhQ_|4CaHi2B`u+x?w!(cg0G*P3hi$`y?S&2- z)+GrO*(*)CuuEQ}JAxLm3#r|J39JoFOzEMPTn)$lSF{N&q*eGnr+PUpSsh;40>lfi z*%2>Szl|ugciU(hzCi+EacrhP`@F5sA@g|>PciL~d?Zq0j-n5bkUY1uDPH|qRxe{k zgRY!Bhpr1{tv7R_McQPz$vz0}sX%)s^b;LFQ6Vl*R)_UIcPtyxDw2R+Gq_eU+M|1` z;dNG?AqUKv-BQ-{31S{#N}&9?Z0kH3A&Xop)hMsb_%}v|O^JvRcN0Th?9O$#1ds0I zIgW|>_65n{C1PUu$g?em4n1xzH~C1?ObifiXFHI_-5{Br@yYp~%sWS3h3G&XZWblw zSdK~Gt%PlI1{T&rV*H3xtlTQIiXH>Z&=4Ny%_)mcg=!AvToj#M5r#P75$Jh_V@;9A zcCRMi$3$lLy?=X`CbvteC+dIYer+ zDP2;9u1}giksK0;B`YYQ*-^^nnHc9KESR%G4OhxpIG8UXcHvL!H*7s5)2I(l$T>Gk zGGS&!0oFoW82Mkim`ZTM_P{CCondq-0hsTYU-A2^KL4(m5XV9-*o-DmCytw)Tf0EZ zrLT{pUuo?^Xk$%7uit*1RzZPpR3Dj57?G6V2{N^{E)i(|#L$)=R`hk6WCNm|j+5t7 zQ6Z&DQWwL3ROES76~Oyu*iY)lJ`K@XTCJU{iKfEAA*tMm!O)< zZuQu!qi5|Wr|&S^+If0M?~WLk|6JYLbxTLzNf1}y7TdS`*^d63KCa-)x^F)(I^M!y zKeUFm*bIG`y;#_}D=>&Yi>5o3CSJ66pX5 zog;*xX1}TZkzf|t7@s~xL76gQyZqcPX2vI~h~0*dUmh(YW|GLMc|Rx4|M%VrIWgf$S~$CBn! zHBxXnQ#ftfSua-KYok?xYKK|m>X}+6qr~)w37ev)G)0!S_Lx@Cx3x#Ev_i(8U)zi_ z>I>G9Ta)8{!MxUXs?n_=UVaOeYOHcYw%_ss;Rb|mniZVn8W{;R7fMgRB7@&#;vSD^@fYZ&p2PWU_vQ+e7AfY?isydo4F^h zHuq)QFripHL(OTYlz#Ws340!^%d8D2DAT*gxGVy!*iCBnHd{(zZKa*H?Cr!*AQgkQ z;)qcCw3<1yhWy04O5PsQ!;_c*FJSA}_NP(Thl#sSzxjRuy}kDE?AmY*96DbkeNuF; zm7%+FHP8DLxyFr^_JLUHv1h={2Ro(F^0R z?#^x9$*67(BPK{iSC!4B9PP_l*hJfmnj+r{e7*C6@xy20uC_*x1c%-R_3yd)M=7HY zOw3h}En9X9N$CzCdC>&S7oAdVKp&)E246RxrtF$?{Wuy4zG<&gKXz{l*x3%g?dMWI z4dHrRLkYPX?NB>UX$t%Te)~z1YsP#lnV>hId?i5PO%3-ie7$#7_lCjZySg9Kg_GO3 zN{Wk>J}CZ7HY_exL6oqIh4M+WR{WfVlM{+5l8qdSp_?68Q`3_x_lC3ev}&~4aNK+9?@ggBCNEsM?co)EIgH)k%H^eKPvAY2A$ z-KWtNwpmnZT9Bp}qXdy__LASkSyC-qI=x$88V}$Ch@{f!?c`Px&`;Ed3KfQV^FISIaSS8UEwFm;1Pt+HfmPnRH!tj^_q;U2?l9X zuWGD198G}KCL^lzxy_lv_uH!LYM=K?Yto?d?CsRSV0K z#wDPIM_~apdOM9Zven=1eI|ubYH^MTXzPp~DUa;KHf7moYxlPGIX~l80A;srFfPi| z?``gSZ6=b4J0Ah*-&JQFKK10z=|m5Iut`M{&N8!#L^Hxh#{-r0VX=MMl&+O~f2<-# z9Dkj}z?b#?X(5AZ`S;NVTTlxb4ku`q$odtl%1;u-NTVUIr!kbLNm@fDs7=Jq zn=hSeA%dv-t9g%8Zyw#x!aTgF!!@04bwsSM+Hlz(i0XLgi|Ufkgg`wSLonNvxWeCE zjMi7x2*uV8u2yGo;NXeZxK9`P#4IDZ7pd+LW#$mgIdU>JLi-(ux%0Dyo(9EpLWI83 zkKBn=vr8H;)vUwR<{?%uZ-C_QN*y>XHdrd?kSqat`t{zU9Z8I2>Sq0jmbW&z1-Koqa>W?Dpbk^=KQHWY;-hiG1<8j>sV?;YGuM@A^7NBa)V4@J@?r0jQ`QM z%41TOLv9<6`FQrv%CVnWQ5T(LJMD%RoLoNzH@u^e9X)ZCj&$B-W$$U>kWCEZ@d)E6 ztp5f&k@7eir-?!dK)QIdYHTlCL>s7v8%Q z5|6{ni=!^sG3iJc=M?*xVABK*%9(c4hl_fiyHK`Bu2CbGFaBJ-x$aW3_19=z(=hg1 zEZ1=#PDPiKdwmlg%1t(X8Zll!p(ZI`-FDLB#!Oj!@&e%d8C|_M3@s7VO zoJ=JjeRp%+(RN=*4jY|4?$8foDLj6s?0VeJjvRvm^KXPXk<3hfqqIxFOb15a- zBB*g8ktxG9%nQDZfSmH7-0<jz`oYhP>@9Uhvmi^f!!Cu1&-d6Myh1s6K3EOVc>_arwjt33<6?cK~V-l zF$O_#1|bP%A#r+PX?hX(k^zaxf<)!$Mdd+a3JefQFhq(`M4CZFhCx)0L0kbOu1F`L zL?@vPmQbRV)25Zzp;6GKQPihVGN9Bjr%^VfR)JEh8q=zo(5jnIshd)%o6%^Rks7;` znz&PHSyO1+Q0Ur`>)F$4Sx{+O(r8;z>)251*i!4-Q0v)J=sQpuI8f<3k{ddcL0u?~ z;LDZ5*p0%(oz&Qa)YOaA%!|a_o6N+M+WZ-X)eAaFWjaX}pp+_5N)0HjN++#GC!-FO z(E!P+gW*4y(FDnA0_C(o3fdrf9XbVFu!1(7q8?D$fKJ&EsA?qP;4S9pBd?(&udT13 zV<2N_juTV_r==xUw4_wEWmhz3H1y?HwPwG5`)_$!|Mmg+h3WVIJ5=_+ND`DX#A2(# zL)+!QjZ}YU(>?>I(MiTY_Lbn|!rxjD)89a?B8dpRpg$}?hQEPY&mDD3bb8{cRsIBO zEkCmA{t48AYeAf6+MmNMK)=Oc{TMhHf`IkEBnkhXT$tqfKK=_^=IfVgJ?+P}F2ieo zT$s-33c;pT@4XvYAB7{3#i@kh7NA$fKAe5s*N52*z{O+>gqzbpB?>rmDyyaATL$?1*KrB$CAGKP*7i8Nz$O8azc&Czfn%I2$`H z&+TA8xhR;GHK{b&sW!giWo>N?5&QZ95^Sx3^$>2Ps-?io&~`d(q^g`aZ2EDJbp#i3 zs~k1&kS83qY_Looy;%^(K5qS}q;lLg3Qag}f9p7T+|i*oFwltuKsf2ztE@YL1GWAq zEI?GVXG7y$R8kicjDC|BlQ>;Cms9BDs+ZG9ONo5bBBwZ)s83LSN+ODry8bU0rWH7@ zKkFK}Ue6oayUyZpdLK)p8GT!Mw)iAP&1cxIxX)wRiD}B`EBag97lU3O#XMGh&=X(4 z)_$E#zj#Y&0feAoJi6X(TusajZE}PrLEZ;T1iQOg>2eB>W*P@~y~|5z7T&$og9B=b zUZ{(_qqHgUN5hB>_8)D08|-=1VgTpL5PnMz80kKRd7SnO;RK#xKhX#r8l?^KxR@ZF z3cN&?coH-)tMSYIdf^*3GWN=wP{f<1FV6mVNGTfP13Sg1?hgl-lfge8q{BuY6~PGN zk5_9cZ+jn3pSb^mJtIXx9&1D-&@@F81$GluOM39U4qNdDqBJuMVrtiglSGoB@r~8v zdZik$#D-y50}!7C&*+~%wd~fe9(vaNI_jH09ZmWedNnE2zy zt8nHKdHm+s1gmg@>}nKD;D0Si7(-#kpvMBOzq6!nPIM8Wr}$JpDv)23oDg=_iY@aePC-KO8(@~|IekuTW1bK-i!5ayk^-x~n z*P+(`ElI*N1t=g)RBk==MS5+{4JnO%(dlC|xTrN~IBRP%yl1m$04)w`%VERUsEsIJHS6VJTzEWHfmctM_pOGGO*{q^OEwtssGMVtg?DwbepT48}3szGj-_0 z*s->X;X7QAcAkC<+7WY?o2^^hf^_sHT5<(qU#;CMxAotMB?ewn@;zRB;rj8@T^fmf zJ^#LAz@Lsg9Dde92)RR_Hu z4;JpbUf8+4%;>S-y7B7_L31k!ch6uP){8~Y~;UM{S_dKPaKs_Jm5Nck&(B6pA_)IL#^il-W z54)BL=QxT6^ekcv3$_rJ9oeRAAOT_pQSfGtY`@GbF?0#G2N8%&yBaet!vqzFINVZF zdse7~g}Mc_ku&=wk>^QX^u854b^Sv5_14FyKc~;#=C)_?S9BX{q+n}khtcZcD8>+> zTUr!fAqX#|Qx?SO8N0ZSM)nqw0Ox~q^6v6hJKB9cOwQ~)z2I@1S)*&h;KN0B&*OLQ zl&&dz^~?OPk2{c$U8!tmwWzr&yH{CQGZAF)WPybAtPS$LO697GilsU7{e}dKZND4()h9b6?W74F(`^yGIWg)0ihJ#^Mf82bW>sB zE>#X@opoxsBeZZI9R;(fcw$J4vhg705Ps6Z|MBOEc|HOX##@BYZ@ve&^N;=<;rI*g zk!+BD9LLxYikWp^-og!-J$J-b2rv?cU5fda#H#eSrBMnY35f!+ii(Psn2L#*ii@0% zlNcmO%q&LDC_qjJp{Jr{0nzd>)6&twm8`5RbPQaKtgNhDKvoeDhXf-p8zV0t9Miv|!)Qpnk%#u`G($t(v zG#P z;gV+L^%9p6V{`&D%BwI+LRlpB7@;~mG71nGX^4!1xQsN9qMnGR9!Sy>EMvziZ_TA- z$)N&YPFx!9{94WsZA)=uXKpPoApe8Be%9?tr#!x*aNiz*;J#8g3 zEqOg-Z9QYCnX#6Pv8Af9rJk{+nT@fsjkC0+mzN8ZV=Og1c{`=H z7^hAe7k^Vq{bgMI3l4ztsr}|u`^%^H(x>(p90L{0%NNTFdC3c@4%VGiwnShGFcY>@siLW}z9R$e577^4H5x_A}bxjBzu@>)R!7H(l^CG_U zCbnNqY^zyD6Im9kSr!MeDhF9Q2U$i3Sr+dH5LTuTRtCW5QwYDN5YDFve*Iq5zXrhJ zsV(8fli{`B;Mn5u+RO0TUvP5qZ%FZ6|Ipmp^xS8-A@tww2mZSc!1oU_m{flPmoNzc z=>sL9Kr8|RcFA(f>KHOkX(~et^l(ig4pyr4W{XgA5CR7KMw<1zFeV)=9G299)L0bb zF`VbK$QqffGR=?7=T#axB(9q{72ez0`TPmWaMcc+eE!G&0S@H-CvXW`BQe3w%{;6c zQN#NgOVnaSnVG<0c5gmlRJs~b?#c`3Th=5sU`9Z4!v;8)?2R}ri(Bc8T@CXjh4gnr z*R8@*X*C#+e1NNip{T{Ca3JqL#lklW_+GVS{AcCZdbF-&7$e7DN2pdYvt~-So)Td} z$bBTB8E1apVZAlj{G~hHp4*E7FhZ0Mz^D3`$PMli;%85#h}@}gMsUS5y>{9!5C3pm z{6ZM@k)b9flSQVb*33c)L;5tMKvr6AfgUL*jQ<|F6yh5t1(4j3mlnE9E0LrQW}XQ} zwOf22jRK9eWM&xJqtoZXBif9mz{`A<%(l#2CdG;Nmt@V3c#ztP3M@ybH-Dy(p)E2C z2UbCbqGVO1SyG9TEa+wktbFoj@GbFd?3lI9$S1J;eT8T6^|3}|^PP>d?3o?n$9HIr zvB0(^NF3v_XzrtqGcT3?X%W?jAf!i0v7=l>=_x9L#_5IE2S+8~A(}|v9xl*7flIGb zdA!TU262Rr&V~UB?B^qY0hdOpUi_Z|m;SbYXt-YZ1Gr=n!*R1{ljC}`yYrbzFQ%JJQP&C9Et;819AtKl%8aY}xraOWM+mkDEq0yOQZ3lW3 zv{G5t#|~T$B5(xZ$~P#DuhdegRoJ4(J4s(|TqHAk5+qr9sbEhT%Mnc=Y{+6=(#&Dl zFfu$En`jfi&QmgM<~11+1_;NNISb`r1}I)$1{K8^3fFxdWzsc*_Vi9FQWJrYL6idgJ=vpsdvbaNN>~btI*%=T&{c6FX#$lh6J!_xe<%lq>*8b*!t^EjXXQ6a3Hw1G$rZlLuYb@}2A^q0Z`3O?ELG=sTyp zc)HGi<1@CR=8^pZTM~__D?!4Q*Q0=Pky*lrm{j&il3P^1H<)bDnL`-~cRWI5lpw{w z{1V~g9T90j)KVjj+U6%4ozT+*{g4cQ3+1$dXB6~%_ zvrWq4F02F9dzy;^d1;L`uh>MSoew^D6NJQeXbOHF$-U*`er=ADQsm?e%HNF!dn+g?@g;qEE+lqU(Df)F#gF z&A&v$;&^%ao21Q9+o>Ope<`gj&o!F9gvsFbr)8`JFiQNF`-it!;RYf{9>M&(Z|N_} z0%+p7ki_=Fe7t5;@I*_W2JEYvuOhS1oXh-JUivyC+xGtFl_g*1VJJ0IC^_Zxaoe-8 z@qYhbqYehDr@}3cg(J)_S)^NXsJ%SouE?Iioa5C^7dxptnose%3#7A8O-WhER>e=` z34@ErXCu#M8TdrOAg8|}KRT@7JjDI~W z!hyUUF!=r<;9r5fA7M8=zy22>@5i^W+mC+-@*0Ms`G#Wr4af^13nPI12auPdGmL66 zjOL#}Ua(;};~nwO41K0OL6&Mi%nf+VMI1iE`8b2q1Oy}u;23iQ5-cL}W z&h-f4&Irg}1P~+Ad@e$W42!!2rx$>wFczUq786vGzO*) z2@NEJ2Hz=#R)<^CNAz*yJoAl=t&aKC5u2Uk=|U818iD;W6&pDW+pao7KQ}s{Gup8& z&Tt_vl}s=WBTCyL_7!t9a;(e8k$5b$=i${jR)kXUQ7cvJ^1B74upQJ)Zqhoz9G z4Pg|&Lp%~<(#Lh2*4N>Sxk<~NNh^yTXB87v?&2*76NVru@o-#5c@+9+)CcB3GE%`PNMc27wB`3_Il1HyG)-ehKfhOcNE;kz>-V38UWb zMGTQ)*^p%-J0udLOOv9zkzbpSbfj9!B>hlKTBuHTyU+F@&+!t@@rLI3_~rQK<@k5y ztT0Kd2>E-x!Qj8cc?L=3cSu0n%aK)ZwO|r5Rs!5Xh|^d?LxqJ>gaH{)qCCvdto__K zhJb=RKDZ3w9a2Zz=#gcH#@^Vcnu@sP3z!EWwkv@kG9j`D* z7jmow`hFqGP81fD1QvgR7BBl1cP`0wT%z8uPN$U zMCw|N>e~J5I+bf@?TO##)VVkoV$kLG?KAhp6RV@wy~+a+JAvQTKI^@!6-&h#5Fws4 z0#7>;zkjIBFd~{)2J0}XfAP-uHgH|ZYG@RxIfK+AhZT${MVRF^Ua$Z}&TzN5u^ZE* zq8Oo*j#zKe%f;U-?bOzO#wfJ%#U3SpdDvaV@laO0RDEgGbQ^E;vIz@c(c<%BLJ-$#h9|FLyF<)b7o3) z)*tn|6it^b(F*y+vWxJEnCf;-=F@hWbuewnR2^ z1_t6^Yf~R8nlay?A!Nx$oq-^I)Co`mtY7zu7j(q$C0{9TDab$+{%bbq^%;8n(7dL+0Q>CgHCZa?}* zrQqxH+jZpY>f!72N0X2NFBAS09sR9O_+2CXr8|Q634a=o{^}6^C=hC66ZV<#m+uo}U@r$9!&V}_2%D<-28nt9W`vA|@6 zIE!DMZH~zyC`YOmA|g*r{&~>&**ZD{o4mER6R4P6iSNh?HUwd!kcd7P+}^+3jA7C? zgw$vw*TEHOTN4a-M7B~joE-XnA~_}c;i3jOM-R{KHIhKpS9_Dc6=`^f@q+McYTn7*btV9Pz+^H$VGM=jn1V8X_gWtoV?Va zZBeEdHB6l1D(pO8|Fu*>Wy`*zP^b)Rer+H{PwrXr9Ai5ZZLDh<(05yRt8$HT^q1E+16GRs7N^(2e1KuXG~ zl+jRj+%0m`VwuS@SYR$G&iFoGk%0Y}YLJVR1hsoX@p636Pp;7qEG182LsyitS+ie> zS8A9V&+gwfZ1?fk!Hw<8(HRO#lK*AK^q-aF2fl(w*Pv> zr~Du*{ioelOwk^w;;?s9>7FT?q@E#PAxg=-HAsSCGGElvH|5Y8^kLHC#bY`0+|gCngW z68rk||A&i$uJ3df12f2!7@?mKnN4PL5SgkarGjv)XN2X;>((FkBiTx%P_V=Be#n(1 zh#MSs$dpTB_3>pr9FRsy_HGmgm}w$Y0aCS2v|%*8Zte7DK~m+1Fu%P|$Qor=v3#e2 zQY~|CS{RKzjX?*E&f2eEUul|NO zy$iVO(g04WAYgq~0GtuahO+tsvDfWIy3*7mka=ES&`5XBOL2uFJeEkZ`wrr@3?SaI zQ6tFRiK8&S_AX*8y)f(?BHH^90;_Uf#Yx!(5cg|@v<3|Pybv0gk3tA7F{XavzrGPgW~WmbsH1K|1Bkuz@6+ZMYI-Berl8Alv)0?IW%U8&<2mCCQZ=|5XQb; zdWWXn_h^~sYRXPej;#a-tG3YX>4crY6agBX?&(kJHyOHJWHujvZ!pUnDQjZPNSZF3 znCO|)LWBW0z8e4l0nv*v7YvT1yARgk+|MOeXd!eUb)oc(obm_|mSnC*$9_7nCK2NY zBs7%J;YkE}<}QL%tki=iK^fr+GyNQCuWW5-0SgcamTl;(Wo)hL%8a^&>?+&W$OpFCwP<4KE}N_KHB4W`4LMvfT}lD zauu$bFejA$$LqFA+j^H$S)(4Xpj6IkLs9URLG=|gG75oP=Ed`6|GaIDiKIsFsy_}I zyBDV$eL5yrPyBCt+`H;bE$WQVM&C7s%3=CVKh0UwPEb9xbvKa>cr`X^(7$2pYA2); z@ne&et#sPi{pSz!$a{-6n~8dxXT}yCGYjoJAdiTQO|vkqb`|7;Gws*{GgPRZ{P_G? zv=YHm2&$^(KQaS50^je(B2wbVCET#)j z4hrf<>gw8tit>hvy1z||#-4DKqOz;2iDwWzPQWh&{V7oVeNN%(1J@}2=}>&;>GXGv zB0O6BJxjoY1Uxgq&lmnRFu>CS{M6v@A>n`a|M>r(zYU%l?Em+}N%rjAbb}>`WF)+1 z-k#Eu^68A!f`*^8Kq%zg3IG=b9eJfR6!VFZ@jtYx5m?l}wW_ZavC-D?!DCM-kd*Fn zxl>1U5;=WHB0czOq%xU$1WlF*K+p(mt4N$$!aBnycxEV4>44k*#B)vnzFW1rwOUO^ zkDb{TVWhyL@aF|y>?(24Ctj|Jx9gh|xqN?WRmt^BKLBUw(f4ZfPz?%QUWdga#(&fA zojPM588$*kDw)o^-TgKY0Uu5Z98Ky&B1g%45NdOXk0A`1F5+fWBTqr4iOv&yxIUU! zfCX~>XtuLV;<3U*DbOFiUtlE~2xSpFUQU^{Ul;5&_6aCp!M{nzY2x57!MUHdfWyV6 ztIYfaJ_*f)nR3LMLitQ$fKr^f1}ibZXl9UyN}f+Xu7&{V;xob}`P3lX=Y}QNsGCeP z(67_X#!}R4DEf#r1A@pXOP|1|$j+siB+t=5T`fYnKUi#q2{e~mM$#>z>H9GpzfVm% zMD$%$GYe)gMxG67)k#50%$rql7Mn@S(MopME%M!AA#$vwMmLJDZg9}DL2DibBuNiB zICwww%@CuY>VKJ+C&NN{m7iU-J`mmZJci8wb}-dEuiJFAx`IjxGeW=L56l_^OIf&c zs?5xDoV7|F%GM7TlCK43_@l8My&hqG7l9|5dzTX*(n6+HgdFDQU?AuNHyiS%Q8YxL zV0DpM3Yk$7v|3sj&-mc1VVK!yDc2q2{1iZ=%dWjxPHn{+W!(-{y@=*i6+bAT^CdLH zwrIv+sy~YrLJ1p|6yhdzcvE-0m!CR^hN0cxCWuvE&NApwUf~p$zh8MHxL>1s{NaEn zBxj??bpm@Mp{|J>X@$%+Mhpn)x{l8L$yz4ozy97 z>mt;kfc=dm^Wc)BieS6w0k-PsQ_ThQkbU0wNYBOQy4{t2ycyWWGhu{fpY=Cl*m)E%h>YG5LmC4ZV%4nn*v?;#RiF+}wY$Wz>H~ph(UA^zrue zt%;us{EnW&020MnD27eKJFluXYKF5gKw=3BlVX~_)>$~&R0*2U*x+xQ0}!VaLqTzf zApb0qS+x|)U~Gt_`z(q(u@uK%ahPKHEc&<2;l~~`LBnQ{+&2``8?To>J`oH*n9DZ^OR7Wav-|Wm^8&jYOHEGh;)2RUW8XRaycHk zxl$~*cNgS$Ij(?lGp4Scs@>RK{=gVFo{npq5pY?~N*LQ4#{9vxY)X;QKuLu>{Lp06 zdW@Z?Wzy&&J*p`Xf6Lo(qVTgUTceaDLsfL`nQ4>OeZdSS!FmaOjbz@J2+c=Pq7FxW z9Xi@i1A*)_bo-B!g|XzRP5j$+C(p56R;bd27_KJ$Hwg?$U?#>4A78LRSGPst_H6@3 zZ6`2VBN_AFl&^WU(>aVMsaH~IWL@Dw<`D{xd$8`;}Fwa*K(B|J#MSoMKRT+%}@7STN}p*sj@x%xdWLqn>qD`KH|2Ml4=p# zib-lw-87qadRD!;Gx=0l=Vv-z4o0;nJ@aix?*)^lVXM}2@y+k!7xdyVzdBp|V6F0r z3vA7@fA3N^|EZSOiOOn6s$`yTG1R+#GHK76Q=qtIBD*bv+Wf@r$Lz|`wZP}qRCo7x z3oqK+x*87aJe~cPU8&pJ%;R>Tv=>Wb3t;5UXY6vT<24~aGkb`GvfM160Urg4J3S&& zE7iL-qNFnl5X{`^-_)AXnW1SBe0Z(K6}Ljy?O0Ad_c}HY!u2faZiHFAIo@DulceYF z9d~kbqP^-C#n-!0$cI0NleWsU^!Tv6gJxB%#R*yPcQDly_pJqx1iK{YzN7|dZ{JTa zj66{{YZUEP|me4$kygI+L`3rte35WfiOlbvjp`CKn(V-31xvnHvv}Tc%DZRKl4- zJap~hF7H;)4i@RTzMBIhw6T6~AF^mjW&1c7y`J#}*`?0Ti%0v!aXef}H_903RB}Y| z5`XH`6epUHn?JSpq<5QK5UVqp-HirpRqos?9#Q^Q1J{RfJ z9#|1kp6jdXw)~O$mKzf=lX_7WD2ELlXx>z<9cVx_R(6(QJ^QRThc+}D`Jt1Dw$U9S6X z!>H#?PSia?Z=F|iR?Djs#KOYeh)VN{p7zufEtxYl`b({4d0FRg+D7Xsb2nbC9<17u zp?PFRPcPSYfSp?N_A>wy2dU+aImRKPr!y;cSoA3M&6hNaruWaUE_#NlwjO%-i&DEz zkG-3|YOH;7(q0@J>*BWH{YYAZ-Q^S0|9!+=X)Fb|hjeVht5qY`mH$@T?gV-pLm1syDptL4I^A?iOhrfHy@0b_34spZk6R-9F|xF|;cBuzl9d87dL}AF z5xlYG7>MY=t4gatA!I0%9Pq~l0<7QfWk)7KB1T~TPw#d4 zkM|O?iaL0d4oBhADuW@ORwMBM9`W94e7g6^L{f~8i)rQZ8Dv`ex{g}l!7xWY4FH5K%QIa#Tn4rsol*neGL7_Z3g(45kcle zqCpV&PhTeN?_b8GdImTg10WPhRP@{!i6_IfTk-X@9!aL54aadz1HVgS#4l5=Nn;q! zVzJE69QU-4%7HvPSou%k6+T&?uNgXrppJT!xtzhOQKu7RHQyy*Z%}A%8f_~qXba7- TSE|JABC*!3R!2rcc>4bVe8Mw1 literal 0 HcmV?d00001 diff --git a/native/docs/imgs/auto-format.gif b/native/docs/imgs/auto-format.gif new file mode 100644 index 0000000000000000000000000000000000000000..c12d2673d93fc0d96d526585e576fbe47419cb43 GIT binary patch literal 111054 zcmV(;K-<4ZNk%w1VUh#c0(bxbA^!_bMO0HmK~P09E-(WD0000X`2++j0000i00000 zk^|WSrxhC?6&x@dBPS{xA2cN&Bqb&zEi)!EDGVQDibybU0yp zO*J-WGA3j)H+Ll_bucD=GB-*+NmVjpe>F^FGILo-H(GNzXGb$@Q#Wu}HEw7&OHoru zSZi2eR8ePkc1l)mO=osvQEzf=B_)9;HisrMk}*ArCNi=TV3i7OurF1PD@Um@Ym6yx zt^j$<0D9ymQp+Z5-Z*~qNivd2GO}SZlTuWTOj5W}a)LmAtZz??X0_DXi;OhnQ7~sBnaZZIrHI zp}j(z*ixAOTdCevwEkn5!f2o6VxrV=uk=dC^^Gw%w>LMQGe?0ka=AD|gi0oaM>vL1 zCWKu#mSQHGY&Vg1H?~GMr)w~XNkEH9P@hX*o>^0!O=g5|Rf~CLu}o38Rc51nP|Q9! z%sxcQSvS>bJLGvZ-AhN*US{2IMeA2m>t1H+dqsgVlbBbAoNbeWZmy$ziJ)<|fo#N> zY`~j#$e?q>h@BFvof55zH>Xl&8#sJ*FB>T(<|G*@KgoKEVl7y9vjgpv=hl+!bv4o?T zn5&kAqpgXkvy!WV?^3?11^V-wv+2a52%lP8o|MJWG{@?NV`w0F36$l(i zu%N+%2oow?$grWqhY%x5oJg^v#fum-YTU@NqsNaRLy8 zoJq5$&6_xL>fFh*r_Y~2g9;r=w5ZXeNRukPh@h#{r%fOt?uiw9b0}D2b)2rdbh!ZPb%=qcx z$B-jSo=my2<;$2eYu?P6ZQ;hCLyI0wI%?)y?~ zx9{J;g9o3DySVY=iG?d)&b+zv=g@%@M^3%Eb<@$aYv0bjyZ7&7r~Y3bPaZe;^XSv7 zU(bH9`10`MgKkg1zWw|7&%c+?zkk>K00t=FfCQelpMMA@I8}iRHt67k5WaPwf)pwk z;e{AxsNsDRR_Gyr8-^(2h$Jr8;fE-aSK^8+w&NS5CH@;cDWdiV1_AXUlKgCjxNox zlScs*JhNn84Lozql(tM$4xP=sV&Fti(&?uyRZ?V_4w-ObC?}Zw;iXgGyd%{&{lGDr z7yqD=RRze55Y-T;WHsiepoZGk5bV@ZfB|j1QYJgX06M~5{$+kLmNKo3wFWtRN@M{U zqJ(hJ2UA)pkyk-%a;PT83Q`rMk~*~mK8`l(6d3lC)zM#`wQP%%4crCALDt)@=N`wqQUiK_3u`;rO=SZ$Cq0XImpqlaCw&RVNjx8@qr zuD$+h3n4T_DJ(=?RZu7=$|B$Z4>nXqExF>tD=h+)c8h>E|D;l`wI^fisJZ3ByK>8n z+I+HN*t%>L%~;t>uh5?IYxL1L0>RBGAvnQJDFq0zbO;8laZU(zB`g-Lw&L34L=gLG z5U_+OP_Zo+JJeMWhElQ>wkkKJjk?mp-4q!9#4*+W&UnWGG|KQ&>a$aGOS*GnJzw?r zRYDV8G}4eqUZT`Snu2xI$lMY2I{(t8by!?8>@{Z;g)OltIN(4Ape|s{RTGB#!Byc+ zJ*#q~&su9cRXdOSx4DNmm3X7nYD@0UENeS>@&EM047e_TtNc@xj*~67LF25RCf0*Yq88yC!?LF4FMy=3Z?eZEUkp^geYXt_|`X; z^L1`6p94$i+&8+o=*V(lp@1(;kpQr002uzI=%HsC(kD7a%peemffAJnrTZve%UuXyprf!wvPNa_T=?)=@M`8W1y)5~ z+q>6RQpm?X-e-koabfycSb!OV<$ZD)0zBB!IW52geFbpjI!MqKB0|YeM_fn~UAGms zal&o0ixe5x^^Gkqj&{oJ!;7 zWkNq1^O)xWr1>BTL-i@FYjnBc<#fnH9|EJALtF?5Y%vIen2sTvd`QMN*0GO;>}QqA z<+^0~!8gjyi%~%!1la}0=+TpwGydCRx%4T#I6kF#VzgN>H$_YYIPNOQOsGP$qfD|0 z(sRz-TKf)JLl`k+o8279H#LbiPIl5*hC&v{u<{LeSn(;+dX~CqM>u#w#cnN?)G1xc zMSIrtrT*MyPGR{{T8Z|f#Z6Pz|62n4Hv;c_QOhYj0P5Ct>oNDt5 zp$>&8MO_7N_#j}+@F7Zk=o6LnB%IAAC^wvWOJ~?)r`}FhN?m5dQV&ey1r^8*y)iIS zK8@v6Fx9=LaO!bKO{`*F14s%4!&G2#8jpO`OhOtGsuj)5RJmEzOezGc4Z)I@xRe!a zscW4j`ylg-=dH9(3tYam{-w6=`3~uAac8MySMuUoyi}y}c7PSAU`eys;u;qu z8(1Ia!rXMM_rBav$9>mZ4O3tjA=(wlMnCJ_td5s9KlRdi7tG+t009{5ZSSpmC||lf zpbY!X@O^OzKZOKX0Rv75Xz_Po+Vri&2xzd1SKJrouER%CGldMMo1V>PRKVQjs1p@} z;?X3}m*8cwkcUhc4IqQE1(0ly)MMk$&X2%5PDqcZTpA)<`N|n;@^(Ed;sS@3%3z)k zmd8wH0%;k?Tt>+Lh@TkdHY=vgaE`Nm&a40kIN?utp4gK~?B+guMb3Z@w0ebVM>uYN~Yl)To9Hr4b@( zkCyt?DNePlXWilK7J4DA{w}OxP3vC!x-zRiNUjaM>r(&v*vJk{LprcJMAJ#pOeyxO zlTGbv3L6@%BL>67;CW*%jsR+c1_NT> z%2p4RsPU3LDrE@!Xn=6!tDrqz?BF<5l%@yJIKb;yaey*jp#Z2jAYg^(3f+;h2dn_T zDn{2-(iJgoA*`3(IHfO*>kl&q zxr>JEW@n58${>uiW2IQfN>)|ko_1!y9f2-Bpi(={u$Q>$N=s zPX2Fk?SsbpRoQ*-v7&`_aGe6#_{8^tL3FF2U;R-jKi92t{N!I{_K-)#(Giezl4}L~ z$gp)dw_kfed{1F~$Txt@2Vv2-ea_buvF8-AHwF)A72pScT_JwHCl#J2bx{#|ZeRwu zQ3e7ifda^Vjgfk8#(LH9V6S%@5l9*?Xc#Csb`_U386${jn1x!% zdtCSwT5vT{@c_?I3Zfx~?KfEICly2BgKX2O>v#Pces#fC{QmSipFN zPqB;07y`bidBCWA!nk#mIDxh|2Bs(#5txr!af?xL1a43Ui3b%AFa(~+2A^mf0Qra} zSc;56kmhz1wAX-{hYZ>WfE)*s1Grwt_!KiJki{Sc9?5Xfr+F7gfdPpAFVL5gB?yy- zxP7L8VHJmcaz{HhFV&CkPA} zkPHcpSP?~2q!kodcC}c4#@G}%2zPrpeZ*LIHAsXP*O64Xhb^gk9Z3vMK!6TNk|v1^ zSh-$W`4k3ecr-8#e>sTj&`nYyk~(x>CFvB}NEH}R2J2t~9LNo(umV#tlTxsCHdze2 zP=aw6l(0Az=C}yvC~~N&3XBi}`d56l7!_d&6=7+1WO9pa!5=kxu?mdnm9&KgoF5XMZhe ze>$`W$48eZxQA6~htY?9CwO1{IElo`b6N)ljF}=yLgsD03y?pRpjh@vgps6jfU z;uwq-xtp4Dr2<%<+lio)2$~RjWFBf2If?*B&;}9UkWa@1UeKIla4y(6kAhf#p9+&4 z7o&Rmg1?xa+WDlH>I=yzqy0Ic%BQLHGJ!6srE*8BDAICID35L#klaUh$`}n1!Wxo|0;SgP4|{`kGcTtz36{x%YO|6q|c_oG>b`E;^xvc!0H7mJ{lJ zzM!B_;gwvGdo0>~+IOw=!jmj%l}eeUn2MI$XM0TQgxGqN%($T=TA23AsPx*H4&XF} zIR@!)0}CmscIbWODzZ%xnUh(Wml+ip7<=HS{&gx4u~T8LR`CgZu#Tw7bprc^`8pN; z%7hRWuq8;aB?^TVN2!I_fC*cVq-dhm_pqj5u~3n;PBE&92Lw*%22Su&t!ktuntPEb zj}ohoOuMvXhkqr_nt(wFwiMEGLg0Nl8;nvbwR0N+i&vykfqzgjkQ!ET zr&oG;TaiQ=eW%xw#tF4f;kVJbvu634xp{dIIG-h&vn)!aCAyf-2!Kwgd5jyXADD|= z@rVg~e1vdKP$`?md7qjKl}lQS&nmb@8@P3QeS)~RDhs;gilbc`f7Hm3*C-WIJG5A# zaoY$L6_5>m;Emw;x7x?DSxBN);kcy!S+h^!0*hb*8@Q;w%eonvNlOZh8(xazg9n!9-Etq5?1u}5}=8@YRM!0fqR zYCEi3ce^DTfpDuJa!a?acyV{zzI>>ylq;rxI<^W7vZScM!{~})d&2Zun2r0vNt>>F z*nE5ofnmp@nQMKth`xo`cxDHFP%FAop)rP1P9Sp?Y8kZ1_q8xfku{j4#*4d+H@gum zvJgDL5u16`$HVjM6h7P(^7n<^sI$iytqnScm-xj{(Z$jly#Shp6sW>YVZGNI6-lQG zbx6gHsfiXte%eIekfMsSd0uA$+gTSikn$1`D|Z`>O+~%E(chuiomv z3;4u!M}#(MxdmLb+E<<-e0;*1z9rl}25iLo+8@f=xy;zCxM_;qXR&asov+KaCi;i8 zI>D#Mu88cx&)cAEyvBNWtuL#u zvs{kY>lFQGj)euT_#DGHnYl!`&E6-@XF7^+7s%r(m!rJ2X&Ace>=d2Y243gL*$K(b znYB^@kcDf>5_^TP+WxyL*vYkgw$%5&hP<|I+jtTTvlOh6UZI}@+@FMqr)WB$1*(E% zpec;{&tt1Ywl~zqTY5;1p)t9AB?zpO%Y^+2wMK2ABZ{UGy>;{`o5EmwWeLNZTZ@+W z#5dQ*ugj>>%z+zYC~bEYTDNiIY@jd7hz>2AKRTpRsC+J|)&0w>Jg3xBN~O7{)Cl;w zdZ*SIy(xL8vfN;%yL)qL%ExT_xARODf=76Uhj_#b*fpxBnXJ0V+P5D}nyHDJi(quV zr$dZb2D3V(eQ1Jm9kz5WmUf+tf2q?3dW5}stj5Z4FfEozeWF?16w$l`qUX^djkQ%# z0llyb$!F4b{+zCi_k?_kt58kUlIyEL3Jm(pv^`zX6PzHdH=aeFnte_Hn)7XnhwH9|3Eu{~UW6dIwVQlpJrxCd-T`Qz@#?QdiG4#vX#L;DiNb%oUmtq7u$+_ZeZriJrbmmWnOA`Ask-SL6%#&lH3!Q& z7mZM;-c(%Tdw1D)^mD2Q1VWd*^lIPw+|-Uy=%uj&d@$;+e(RvI>Jb;)RP4sM zo`NR4aumP|^fIr%e(Y1G>kcR4$X*(4JB?B4F~{_gM|@9rJ|7(f8@9s=<004rbsD=+}@uJ8UX?*c#Y z1Yht5fA9#O@Cv{14Bzk$|L_nW@e)7r6kqWcfAJWf@fyGJ9N+OC|M4L2@dY3NBwzmW zB##p&pYkfd@+`0NF|YzIzXA&o0|~J57!U&^-|{-Y^E}`4KL7JTAM`>$^h96uMt}53 zpY%$<^i1FMPXF{!AN5i{^;BQ=R)6(apYjI4@+dF$3qS)kkn$c-0|l@EH&F8_|Mek| z^=#kvZvXahANO)U_jF(Pc7OMHpZ9wI^9sQAH$n1$!2n<{77u^}D^LI!aQ0y#_^Cto z*7o?2A0`T50A+y_25|Y9pZS`<`JB)B41fbSkohza`Ua2zI6yU zZ~CZD{hS~DHL(2Jzx~|b{oeom;2-|tKmO!j{^o!F=pX#h$@!K~8xKGR?RRH>5(>We z{w|R2_@Dp!FLBT*71oZU06}ID0)hnzZU_~^AVCLC2q{IU1RXYJm_n^*5% zzJ2}v1sqsw+K6=7Mu-v=M~s{@65A?jIHzFBl`UV!oLTc`&YfKn{$42gD1^kKTpX1_ z#?~OwH$A_G9b5Kn+O=)pHVE2a>z!{2tytSZHH_A{jUPvzT={b5%?s)-$UCQS({w-B zk}BHycJAH1e+M5PC3J$)alU0um$WV7lEuG=A7B1_`kl!mFt1?!3&|jcYOgOq0S6?o zKm*6K$vg|l$j-0@2{FpB11F?#KDgkjFvI!o%WuI3>GCi_x-=xQMCNRn2t^ZDoH z85EJN5Zz<3MjKyKF`^uAHM=gVrH}ni!uRRG{@^7Gss*-A<2UK%`D>L213JWi3sRfRL zE;yBzIJjJ8p-x-{B~^kzp@mF>Og%LY1XyiVS60C!h*dIiJ=Io>WQjGRT2*C%s0B&I|4^;EF%99?*VuepNH3$SzWazXYf@>h-VXY#bY2=7lWqBdFi-q}F zF6$QA<%LqdHPxE&K33UTJFdu7VhsX(B_rI}d8MA`tdm=BQQCom5t4?vd2_LPhpqFUIY2-Or(Wg7U&dKwFPrT<4l&uU=<&!ASUwsm z3_@dSZq31@0k@c!~wkZt8}f6>U6@_=`|2qM6Dz>`SQ2*Qj* zX`vmH;KsN%XTcDTYaSy!mk9~T3=_HM^79s<5TXVVf`ANw z0+|?HYIX-Rh(i>ByMjbTY`kL$o+{UaG8ja77CggL*d(W)868)o$mkZh@VSahty&-U@Q5l^l}~!SVp-!Nay&F84*__(9|Mu605er? z2U%1e1idK9j0_MXkFy^F9(O{xsEMr@VW~%rFGJA3GLLzJ0>EaAp`l8 z+f;&vQTAzp6Oo?t%$y97R?9-AYayY#h>9qX4ObLIYQ@AUSB}Y+52$7?`uPb{aPY(YL=%bDbb_X; zX*PvqlO3wkSgwyI-r%$u^h&0qu`9c_e z&au6G=`CYA(|PP+NjU{=SaymO;Xo!oMqG(Bsp1rZF!57YL4Z?NqF8TQ>q?2dD<(1M zyZJfmdIc$;Z{d)=XUXDvVFZOd(^pUQRnMPo4XEE37uWAeq^=sd>+sx=NP_&VoVO*& zUB76Oz*2Oa4NTr$HCm9wO4TA73|-P-%DEBFOCpz*$b6edkeR~krlAG!OGe9+2mmE^ zr(KIt$+naWovoP;TS+LbC{>1LSCfz%q z!4+p?Ri|__VqyNQau<{f^;U&3%wDaMcgLXA(qM0Fr!TJep&Y$xMKXs%`zCG4l0~U3 z7eY(M7DT@k8J!ISyk)EmxF?Ar5`x*H;E7bzAhLCw8{CA-+Wr-jy&Z3j!RWV&-D-Oo zgBCmy7cx`T?T#HQu^`bYvoosIR@9r-KCjzcgV6KC{k#Z`^V(e;E2L*{{%a)-b;%uX zklGIR#Z#LhYu z-;k9@kN&MM#VtN@M7SMpesUzc2t<>&yn8u(Q(H~e&XNE(9qFw8j!*uh0um|*ZSG={ zs`mqU0tw=5k4B_W~+6;=FFb-F3FTcI5m||G36m*i8GHY zNI!}5-uchhe6U&18{ z5Bw_#CE7pL2#VwDzeQ>!!m2d*yS6Wivq=*tZ+WC?X~2q$z!r4DlCVF;vp@tOm{3tR zhH!$kNr?~qJ^>U#IWZF(E5YremL7Y-BSb=#h{3?Kz-wwP9W;m<>_1WoCm#&{AgLNc z8VWTeJz9|N7-1%qI$=9q({t%#|p%aDY%b%HgiR?m(l%16b zzD-dWgGiW_R0)VwnvDcGjJPsZ!Yq%7tb)L=0@1ix!wCDztY6v)oja+ssDVg;go3C6 zNH76{cz{TN%A~X=M}UNmaR5g^gsFtes6-r+d=HbvMw75UNyI^yjKni!37BLFm=YJ0 zq6l#r$yidUkH|@zG!UR{DU1-Qn#baq`b;TXat79 z%Bg%zudENSM6ItmKe9vs_1iw%feE!-iTT>eih!lQ^huDY%l^jVI06C6C%cHzEQr$N z2*7mBvRKMOn9Rex%B+M;L}<*yoXV_hOvHJ_YLReDer5>NFsm!=!i6S~e>OHKSD{?Nv%P$I3Rwk%N99$P{kSz z!yA=EDXgZYfUT;~rjrQLlt@w(D$-SwP3$BgmGU4}2^1N6vM4Q=n(R233LST0GLmA? z$TU+Btq2f(05FX$Fm2XVLeq*!QjUB}3e`w>8OSv``vOdF z?TEx|)<-pgNHqvFt<*w@159-U{7lnM1&>euh0)gV4?;K%2#7gidqz_w8z)??sZb&u z#6DMj&XItr%sHA_jZI@M2wUw*k@Otv^i^|Fl=bY%5qeW}Eg=}1ON2pI6unPpEr|W3 zPsMbE$%NPV#8*iz37`y=K1I}RUC%6?r8zws>f{`ia?Oh)Adlq8L7k;5ol}d|h{Uwi zI5GECI!}p50iF3%ii2 z+;Oeg@yuD%3{aU2*SQ4=5UqhmI86R!mCWI^R5>`&nB7|V=vo(59R?YJoLGvnJ;t&n z2t8EA5U3`EO^H`UiTUzYxSiaEu+`ekPN&sUjTFo#BdI3?%#agGiU?fR<lDZ zRXNOvXx6T@h-w90<2}vDg4{UW(r#5=L%m!n^UDkU9O`Vc$|cv4K-@+E1g7lLXRTN3 z6@)}sU9D~1?|5Ct_}YHK2`Om|9AIGJz{ewMShHn6O)(o-BnjX>iHPL}LS-qiqgCa# zRYM)$TE$c4B^r`-Qsk{z!K7Z+y-xu))0xfB?L`6|v|pWEry=xLuG)dwbOl|JgI{%La&AHaaiwCT8>>%umjy0#AN&_JOO1HX1`wRY<;OY-o)U`1xCsn+ z?9L{Fz(!8~l}JgbaLF}Z4Im|KjwolH9AB*HSj?E#mMzo17--Yf=$HuQrM+RW*w6Qj z?K9=%sm#}?jV(-`?aCI5%U+9QLSwY{Y{&iq$ySN6j9~4nxYt5$mk^g)!pMA%iPyf2 z-~MKs-3t~Pp+dQBn8Wqjam36ZvEbGv*_=h7$SqIW(Dwpz77Lz_=im(0v`W|e^`UQ_JPnoaOKoL zD0Kcx&vbB>fbcRn2X`TaLiXeF%p73|p-(Vx^0Zb%T?YjfA?gNswanDRWZzWg0ZC*&rp+`YhufW!(;%hcWo z2wwthu!MC`0V;R3a=}PFV1{^j1u9co&pGcT78K#FrPrQPW~fpb8rf3c_AL$3O#UWJ z{YKn1eM(Ap%tlU1J#WelcS>HC%BA#`#dOav1>ZTY@HTh_X843$y;FKw7ja<+5Zau) z1mXz&)mxG;D&KTn1z~o{bZ&mri1)ZsPu^3fWLTG1>+Q|mY}XejbStuDTfg;{$n~2j zFa*Ad{c!9q=<&W52Yv8sBS#7JLscdBUFUR(y<`Stcm-l5R=L#!rOh=e6I%Q#RQtks z&FWZSrFoqd`CFQL(Bw20c_6;u3k7sX-IAW3_n!z{ciip(F{bs@4&CM^&{uejyn+J=a zbLZKe=@C_=jpJ`eldU>`N*#go;&c@|D<2xLle#rBgC57b;6lZ!K|hec#vq z*qaPlfL0Y0uB?1sb#|>vi{?tTk6F0a-tjK(KA-nLf7F8aUrd&BlhC=yLYImDNGcOo z&3WIFs^2L~cS2pwrVGiqJWxp|`Je?_dB2EAwNyB0d9B_2$OH&MjT|(JgWv%qg9sKf zZ0PVI#E23nQmkn4BF2mwH*)Og@gvBPB1byJ5K#fjlqy$7h++#y%9f&B5UFXi%fC%E z-~7{e#AeNvD@jItKxPm_4x&~pR2rh811Cs{KAd8bs>3$xMl@vpc5Vl^R}aC8Wwy0V zJ2+k&YDtR#EgXnuN3=P|aP8f#42R5{=a#Qs1Y{Ss>DyPV;IJ4S7=nbL1|&EL<2Z1H z=;7qb0~;d{CTWuKZxYIH0ae>8G`-Pkgp!N58?9tL>4#03faUC ze%KqV9>RJFyIm-}uWba(<|TjY7OdgsxSCG;E2gp#XzRgoN+|P(+yHcby|#U=0m67hKy(rUBYqHX?KP`A)vwLL`QVw^!HSwfm& zR-_}FIo922hBWd}WtSPbP-u)j`OuIUVP{xhG8(tzUexL6C3A2b7gliy^p@C-4tb?T zi7JK|TsC$AS>{{Iu>~eb-67=JW2vcTLX@W!LI--2(YGk0jXL@$q>&xl_%@df8(X~kDJbJGA z7M~1_spdSkVMm-|57~NActa{$LnN1phoq9Hkr${!*BTUFXQdI!8I+F5HXCqZ>LFZn z4C(5dV$&rjoL*@y|%hwaV! zFTQdmqabuW_0x!g`i+we>WtZ+6X3B6&a~Uj+L1QgZw2>+L*lVzjm#wz0rAC_B z-J%T%WTK&Mc3fqrO;oxIt@)f`w!K?iVSSZoZ$tFb$m7vbFEpKDH*UF38E)a7w{zKW z869B%|C zTX9o0EV2miUhb6-4-b-!>-~Fp!N)&){yg;2OF#WZts?+C_88DkI|d_D|B>$BPXs(w zOedVL_zO*`ZSm<-v^-UUN3Q4b?E3CL{`u?QsP))muk!X{_PYIDBz*hp8|7xxH>BxL zbg!`%0Znu?`cVaHn3LXgC>X&Fa7V~#hXL8q?g!l)pa&shz!b8ug)V#{3}Yz6 zje#(Pu*-lCNJxYq_&{dZli>{2~~`SVb&qv5fiQq8QVt#x=6BjngBe8RM7|G`g{lcDy4V^9Zt&$gz(q zp`#uHDab(*GLLZdV;KQi$VD>#vXPE7;vo^4MMW;^2+>H!t5&x;iDc=Kp8O;zTNp`6 zHnBY*u!V$hh9QO+#X=ogPY~y0Nlab@4YULaxG=KGh;$M@7-&T-Vj&5J5Mr3bgoS8A zsmx_EvwD0aWgOX)0W#nqRSt>DDi1=28|dtnScxU-Y?;ZAjvbk8ppahg^bvzQGb z1Tvc`&w0*sl+g6wdLEF46-4MEAP|KNM3JGK8HJm(0q5z&8Ip2}g)t`u3qByg zoySZjJu|9NN80nATWn81#k0+vDdlF<^k(j!IFcQpVHXThs3oHj4VN!N5eR zs!q*X^r~JJEq1eOMbefQKc{8YRNCqUflhO^2c2t3Y8%*bsuuy4yjgB{yAZq%7O{>M zE^xV)q|t2avHov+AWoWy5BIE3F_NX;&U zp|z?{DzI%&hiR)<+rn4G^A&7Hn8Z+qLdC_5rBY<5JQ3z@O(L4D&qNc<5CiMD%x3Q3 zgM0iS39HJy8#3sIP)ZbpjzpnoxFma*ybus0AifOoD`0~ZT-Dr9%j&Z-p~GdG)-;tW z7>I>BscOu0F60JbjvV^Vtm#c3FU@LZPmn9L6o=$YLl=_soHq=Tp6V0{wDjvwWy%yj z`}w6n{-wxL%~n_dYq`Xuiwk3zijcSsm2@O|bTGBbkY5Hf#%{VGr=u@% z0E6vqbK6nXhVZq!eV1a1yWHk>G>_H%Q5e!0+l6V~x#KPGj(oej;hs0X^R4fR)Vs9z z-Z#JlKJR{;_1^+NIKr__aE}^1;SPVeju(ES43X|RWh#@B zO>GjL=c$I&&T9$fND&rf!OW`qsydohDEsGLUvSW2kn#%Q;O26aCNiwn4j2U8SIOIL+d+$5wHyZYo0Ep;j*W!;^InvceMM4EVGJBHzs+i7nuQ&DSPFWr6 zXatoazW#0J4s9(XS!t=J$@OalHCX}|7}A|zXV<|3@6c1vAwX*7%s<`CDUsjPA=&vUnO&)0lgZb5T?AxwOKkomQ+RyN ze&v#sUEV}2kYOy$Lu?*p@xhD@AlD%v4la`du7nI|pKF~SK6&41Kwhb}mTNfy29m_f zeT3}MM*7j3lZBu~NLG`yPurm2lc?ai(A}}YLLfMsblKqNdqL=)y!2SOnTR-QyqA#yRq72aP88rBLzkfXJNSEZ8}mLVfH(isZH z*x5qa1tEK6Sg2Wuc`*bCyq$)bpIxC}9^O`;MIj&ZlJa4h333J&Hc4<5;zhWi-%JDn zBEaU&;tVz-E)vos;s@bv$`1)4sb!*CjT-E+hn?Y>6Ncgk{+TEamj1c8jr<)%BwWb| zG8SoMAt7#|!>os;QPka4nzLQjbzw{{mSY?3A}?0R3;g12Tp}?hg?UX=g(O`kx`*yj zfvdd=ti{@_iDIqI*R4@Ru$6||KviO~lG)IKldxh5@)z7-#SL7YRaM&6aaHLEk2z-K zcKsdp4Bi@AO6dt55Z=xU)nSf3k4C0s7p2+Y;Q$WA!0V)8;jtmRsalTNk4om`7;$8N zcz_R@o`Xc0ID|v)71r&RT-F~Hbh}yq>~CJ z$l;upzGsmc)F#pZhSDKiZbVPn6%wQ=``s2xnd+aZs$eM8hBAYG@@HU_m~8lo#YD+K zj*bZ+-`qr&Y=}-4jwncARXmwOJP9hL6)OILdfq$5g0sPs?=b0QIcr?lnAA{erRpY> zs#}Cr;^HyHG$F<78QF#TD0`IZQ^?kajv@%MAFJ}&x>o0PZehiEPJh{Hiv3}E7({Cf zAEI5()o2iBCDZ0flw~C=m@O;xaaP{!G>eD;^w77Xg+;yG8dZ9bAXZo_Ejk;r5^BPp=-%P%EIzD7 zPHb^jY?gW}J!ULZP>44X*?hK#UghH`0v1c1EUQW_Pp#}kxZ=w~5WWuD`gluw;B3L} z>_i%@&kk(XO{CBgErJ?tA4Q-;5dK-YYEu$|Dty>f5}<*6t?NI!D;%OMnX+u2hR&_R ztRbpTzNQ!}{Z>VAnZRBYIL3w9HiV!i>CYx2^Ig`^N~_zpCfuGKFtXOpXwy`Tmzshs zd-T*5v;iF68B?$nlnL(O<`(Y}uJLG#{oU8s#^E#`iOo_4+3Kv;G27W*?x9+j+prVE zI)vv|4h(*7T!yY=Vud?0g%N&iD|snjXu@ax#5d-E8FEJF0TN6WI5=XHW zOWPE0BVsJDTelzcGWAF;P;5gsR<^UZ|(q zr|QBnAB&b8Z!l5ds2zVQ2p~lTwukrju_A-gAG71dQs}2DEh2~NB3H7>x$p~$FgN5KqfA6Vdb> z2ek%vpdH@X`dvh87#sC0R#e}Z{&1nAL}V~2@Um6pP|HwJYY|f0G)c6l(si<_H618> zB2kQKMO6NEMIfJ4i^PB3FYYb`T+asG6Pq zaoRz0>Pp}~neJLIbz3(hQM3(~^|eR<%74!Fi?N`uHgH4`1ZNXz;yMa~Eh$$YHV1{Z zPuDb1kAxsYHbu;GHOF51g@jv^gl4m%RdYw5Uc`{ni=i#)=tVeFNBGJtVIlB%KxnYG4#`DHoQ>>3|D(xVVP3qER*W$U(G*;EMlt%%{(hmrS=gYCZt3P$}nlXIc8WEpuNIg+p9`YcvC z?H?)*TWnw%Y3r`IJynp`cW^-l9Yp$WTn)5M#B=L!0%PuTN$hIh zIsWS;c2B>K43MSCU@2MCHpbGjnoiTl=JtB1*T|M^UQt2SHU!p|H?%OW@il~xtA|5T z$*-AqRCh-EY`P$3A%lCm%r;tquZE%RwNfp)X&^bPH{@ff2LHu7MtwPZNGn!doy5X< zLufTusX4(1x3GImp5q5bBc_1(d5Vv7G{0kcMfM(7kereOinzClLVlD-`laV#&0}Ps292_{`zh) z`V%_3$q#qq8pLmdx2MRh zf9^Yz{5ayr#-7T(!CX!B%DF`zsMH&_i4r!}9bZ>#wnvIg$-Bt&xlaaTekZY(Yf zaj*x-i_tnttPzPNOGt4LIB?Vw5}bo8TQ*8qqvk@HE>rYei72L{oMJQi^S%^Qg!!{UPg1LDMu6Pkh?OHo2C^V-=IJeqWA)2C6VR=t{a zYuB$~$Cf=iFhqt5aOc*II|3O|BX;i=NGLcBTQ?v?u>~V|a|N`a$9@={dUfm9u}91b zID2>R2`gj^{hfSy^XJj0S8v_+Lg%`B|9-E)$#Ml9aD-4G<2e5A`Zwm&Z9VU%8_>W5 z5u6AvwGwP_w9j5~P{Ii*tkA;p+EXY%1$wguhYvvn5kTdbiy#U@Rxpte{RA3hL)Cj3C4_KMY|w+>CpHw-l9g^F=Wm%974I@yt`tJ^AeOKqC*Tay}YH zuz(C(Uibjf-Ha1Ozd8A|)6YpMt<=&>G0hWD1O&~^gF}@Bu+bV;*zME)s_awJOj&K! z)mLGS^}0=K4ZAyY|c42;e>eXu}3{?U4`5+D)l}Kf`XM0&frfEC4XoMEl zc_AKwMgT(S06*>M?C|D!p1l!ZCh+y9CNFI3{6MwA@nH!fFfvNpgsPKc@nCJ1>b~pNA#A!!5o8l9UJUqs&>zumE z&oU&(itqZ|`XNIXUEu0aM+okbRwoWRyJ7q6aUK)yc^>2i_c_9YhwgFb-iby?i+1M7 zrhf4B54`4^iX5r4{8WFn9{S~SEZ8@IEaZ+i#yxmI|wo*)1^q&_c;Y$-T%D%C(c5sMT{$v(Pn+lS4 zgAC2`{%AWvJ~Eq**d{xL0+z6$(=X~Q3L>@>mPRPWsttiBR}(@Ouo?v|RMBen+8R)~ zCTO4p9Ts)E#}L+mFCk87oopQXnxhqtff;;dLw0FRSpxNsJyl4}pbE(bnsR|CUFtzf z*gzjTObT>io$&XjpoE>sI=TeuQWvrbRC3L&R9+lt(9GDV5ho$GhaQ&+n} zDmr;x2c61>+JDf;?>e9txvwi7%mMS&3n*%kf-xrbpAlI?C{hA*^E=$a64n$CEf} zx)zoz*0Ps<{(4_&DnzJ0`tS&9E8@_YZzH3#>Wl~c{{YQ z&_X!=)tnzzBJoA7&2rbX&eFWKtHt>|D&bp5(oW_q9@^eQTkQ3H@JEH+AB9~z!q(bc zAxGa?VSnqhy}>)g@~*bneIE6vEqFYC4h&n$f@w?71t@TxB2AjhkSwavFGob8-?vDV ziZ>#zbg>IjkOD>elH22rHx0-`zMFzMp7P>CbLBBV8puaJHS{q1qTC)0D@^SSr^?|~nr-ABIn!8iW#k^d*z&;G7^ zQhoBFAARY|X80j5{`9e*eeI{F`mw(L_Q4;1@gt=BO8)-%(Vu?kmw&wHSO5Frk9+?1 z+tvM!NQZPW2CTXWW;r=+xwJZ!a zCa45ekPE5G=S&0ZqGSJrjgo{5J!a54Zg4hkaK=ibpYUqOF2~X`rmDE32#s+0n2)?< zqjXNE$=>F#5Q+?HK+5(=3S)3J($02zYYT(Nm-Md%Bfun(84yaaLO2oWKktT&)gMyi9CEJ}TTDuhzd zv37`Yt}KB(O47g$fGVum2q?h*=@>~6>>vq(CW^9j>4z>z*?h)kj&9m?i^UiQ7+Wj1 zFcEnoh<-jxh-`v^B5k5d=y6KOqmB+}cF1S)Yzif+8+nJ$)~5>g?S6IvG$!GiNC}08 zherqj8R<*wifs#r%WIfxJLrOH5>Klna&y?iDK1AevPj~#XcXbl0q#j6)2b|{qAIxK zi{!v0qsJx6Ni2e}ExO4SEyocOVI~k^BiDk9`VJ=PD-F}{2(@R{{=8=b2Qd(L5jLJr zHL4JhUTTnr2i*XW85D^d7%7BS=-Kj%sA#GgZz+?AYLkw}lR(LL<}1arP?vaU&?c!Y zBkC*5jhbi)Z{9Kt(NTW_$SbJ{xK7Jq@^NM$YH!f20)nAwT*>VYa&HDFhj@e?3Ua}w zjvL}(A&bT=iw$U8uP>t#c|JoQ8v?EJqA$P+i&QNKU6HF6F5pBX2R}{I4i3g{GP+>% z;VLb;R+1&U$nKnitH`1^yTaf)=W^me5bWvFNbSW8E-3YoC`HF87b2m~!U+sQWtQ?a zno>0eQ=%wJGaakz*e9bnh?+P`fx1qnuJRSma4jLJXvow412t@=;>)GH4bMPoh*ZmV zMyuG8E@5;k3)>7Y%P}r@OUwN79Uo2UFiWN|EHMeRgY+}0dOyo2jF0nxJ)!_b`vBw?I!O~ zpIGzKxa!5)@D&xpInM?<&ns^B3X2f&<*Xw^fo2#746#T^v3Sm(AQH0Tl7W;)EF)yU z;^#*;tA9MJ!5Ay*_VX+6u}6@{-Xv>GDTuT>C@&d@Y1HySsRlz+i-Ts+LDO(e@oQ>^ zN-{+WVInKD9_GJLDtG`eX#@jAC2m2mrqkfAERy~!;kF1SD^(<8RGemXtYC~mY!nDD z74MvMtKuTZ2s> z^DhGhmB9$r&=7{v5H+HJEkhZ`Zyc3m0|`z97xH&{ep;l??OG z6SsA@;`IvW6)o#k(fDmqHB>GKZKps}@BVdCYZ5S4F*a8X5@fVuA9kHe@l)}ltYlPr zNVQ^@Q*AAlY~?9!Z?aX>0%Jvk2uYMyWA8S!2Lqa*P zjcPxV|E874|B;X*BP4C4mrq6{4N6s4Er_e`{c^ z0M`VNlWu1s4|B}5##a1}Faj2raS1|BHe}>*<>UxL?2K3L}* zE7|@CdEf`=JW%M=CmgesbA2Z1stzj!v!_PTJfrTWCR1e%i{l)e#L+?49#lpnPW zZ`Q6_S2%4ELbaBL;_~QVST1wNOMNaBL5(J}#%#aIYZ{?N zpNmrk5G~dh@1E$4kK*p2sBJlNilQPePW63NbvA)=o?ODZXhJQ_NQ;QeRmZ|5TGA;_ zH4lZZ2#-)vh@&}LWLup659SQ_lC5Vw;qQ@cA(De*lKn9CEE$tYnPa54Ib#uIAlW%U zIf84ilwsM8;0GerPrS?oO+Exba$}VxnPn(hPc%4|g?X5jrLIiGfw5(mJDHVzIh64v zn29->rMXq=>OZ7KTH?f3mbsUO#g!|0n!!1oi#e5pqdu6UIkH&+c=?l?*_(lRl*Kuo z<@rvk*-3&Uo!417+Ibe=d7l0GpC_fB&-tDgMV&kOnxn-yx|yFv8K52dq3J}Rog7ksEvB6sX9CA8JV#f zRpy8`0MWdj`hu?mnyY%O$yy?=I;)Xcm(4{|-`mhn(tm|4g%z2_i8b17bt7-9|5JEZ)!>{-%3KM&?IlERD zJ2x5|q+vQY;^VJrZ?c{67V`*7JG-?H8>w?csYyGs0UNbx&E%q!3|vmLUAwo*8n$sm zwt0iLPaAS68y77&DOuaMnR}{%TLFZdLx?+HZ2P=yVHYjiSDSmgiTb&tyR;>HHY|D| za2w?c`~D!*hP>0uu(`XvRoc5Bd$#4Hw)@$=?VF?Fd$fmpzKc7h@B6?1xvp*ntuIM@Ob9Ji~?A!UsmeHT=UJ`LktFKrkG{P25O1 ze0xg##92K4Qar*}yv1c4{a!r0{d>l7eEe#hzHdCoeO&u?yuY7$sAJ;@q9GZA`aHBi zDANNKx#Tb|!?`p=F(%{3VL8YToHls+ZBFLa$UC!n@jQ$i$wvbX$Xp>d!XnOGB6a`` zQlhf-V9CQ{!_XsOok%d8JV9;%Gmca;G_Msp!^(AB#77)PphF3r`W6vDZFYOPEyT=G z{tpR6!hs-tBHH}TFH9YffrZy2VCR-cr|XI)WY3EX1N__w0bS4s9dQeNK1j!Oy!sY* z)jGtwJSu&G(0~dMLejy!zudebHnGlYGC0{cBJvzTNWJt)mV$tXOMCOi_1 zrl>dZT{r(O4`SgP z9y1z#Gce;Y6k+3wmlB;l^PoMWXTz(J5(EgrI0hoBSEJSi_0W>4x;a=`3quIj(G31^wFeqkA{_{@Wng1|y zE4#`5gUew)HDo?8Za&>_9s!Jey+2~;dw$IkV%#TP@r(YknCIcJ%WV(tMlVj)+6s-= z>3}``V!R7$j{Vr%6j>WW?++sF(Vp(xzU^!E?M;F1FTPgo{w!MI>}Oxp``-5c9;H)W z@DZX(acw$}+cgrO=--_2Gym}qBJ$Cl@*O`KbiE>U9r{OOfB|?WUBdn*&}u=-KX9R| zn;JIj1^zYLqAU7okohh)U_bcn9|3BA?cE;Z;U4%aBhUc?Ln}oH3Kn$GYLUT(3>!Lp z2r;6>i4-eZyofQQ#*G|1di)47q{xvZOE$#tP=U&oEL*yK2{Wcl1tu3hATtOe2vI8# zI3Yx{;Lo5Wr=YA^a0i-Q2GJxVs+6h0Bhh*yFyaPA)29o2xS?VYNmYqaE7pJn$AKe6 zY8xRC1Sw9zvv3eRh-(n8UAzVL(rxIVk=(wJOsGXLTX>-ZLud(`AZbdH zK|-)DbH0q=2CTXUMU!5L0T!QynGIrKwHkpyf|3&=y^TA!?*84pd;9(kJow3!Gm9HP z-V*oCoDYX0;2h8pU0ykXo`_!H=2BW}TUSq+g?c3*;Zl?hi}@15qKVTO!pSb<_T zcAr|2AQs?Y{`CbXW*%19*@bo85DSK-8HyT*21zJT{)vvY^5;ReIaEP5^L*lBrkZZb zX{VlUD&#^mjyft*PS}Dfsyrc(BdS2zM24zbnsgm*UPTiP6-aO;7OuYb#N<_3Eo3CF zU`grgl@KZAt9TEwx0Ygdj+p|PkzCv7V%RF^*qhkmIV~b*#knn;f?Nv;9R>1vZDZ3y zGOnMS1&V+vvBV+?h_bbEZ@&s5)bG6>+S@N}uJK!_nv*)j%sdc&3UR~|PfT&e4uxtE zsTw0^u}8IbylI&>?FX`p5{5K{!zHiGa?38iY!Su+y5ZMjwr|i83QlbJH&+-B8Xi-|B1C&fez!^Im#Fy<5;7G1v~9T#rq5*=9eqw9{&@ zWVY02zYTZXa?edS)M>A+cH2wW&3E5^{|$KHx803*(|QYzc;bpL&UoO27fy5AF z<(6NLdFGmL&Uxpae-3)+qK{5`>878Kdg`jL&U)*vzaDynu+L6=?Y7^Jd+xZ$FgfOs z8(#Jlz3WbV@x~vIeDcaK&wT2#HxGUE(oau4@0tHzv*gro&wcmae-Hlm&xcQb`Q~?T zz3

to`}!zYl->@<%`Z{Py3Ef9UC7zCQcG4?jN!HHaLR^TLCWXFzt;AbuX$*5w?5 ztwJF0O^wK(1$9@y3u8MphVv)|=4eR3%hAw=v@_r#GMB&whVM;~$Q)%dcP!jkB4VHo3QXA%DVH)I((sFyV}=+#XU58h^Uw)#;3QN=XyCu#*fK13QRzPZ`cmm(sLh0-?Z-c$CzJ zG%Ti5|9RP~R<*2eOqoXcX}}UCVhFwaQGHGR>Jh0%Egj$Zq*?ZEv(?zF?W<(Tn0cp zXIW~_bhONWm!;Nx`Ywzt0J z*ll|1kVwM*69E)>#*&MoT-fPzj=&sZQTM4*B3ibrd8FzaGuzxSbIzi*^)iZC%F1Y3 z6v6}6YlaIP%f7Z1q5x*=gE80FzB+iqoYOOcFBf6M_Lsg6=4+dU8CHjNZp!>@*o}pG zR2z~Q%hDWe7fZW2_lDJnaTKU8+dx1W+nCcg9wb>chg%-28gxS5F_DXG9N<3LAoZN5 z7LI$Hp%RsqTQ(vPM``K?g*J%Mbd?Wb8z_sfZ^=z0f#%m6bAR9-7H{s{~6s? zl%lya_wJ*|JHv*a?CMA^Mv@m2(mDinzd>8+W(quWBK4|+V$4Mmi`u9=R}a; z2(l!4w!~Ht)I>c;V1HI_M;C7VRXIbKSQ*w>>~?zwc65BEZMJ81s zX~#vQbYi3xIwEy^yre*xMMKuGa0^6309AdO!$W5jciJ~`+-FnX_kAvb6fNXJxHdv4 zbbbZ_c)5{&wbL+S)P5Z1ASG1_#TI6c<{+VzduKOM4T5i`CPuk8NnK`Y{+*R*-SmZv zSAd?!W`DMT1J+oK@kHb%S$9}iMu%V!bS;wwh=&Gp^L((jLXQ3IJQf{*o@;ujOApE$C!-K zh>dgiiMoe7VMs`@MLiAkN6?s!95jvORE@ZJjpfLW?Wk(x=#Kewj^mV$N4Sphh>!W0 zNbsnS@-vT$RFB_xkNrrH1sOm5XpragkBJnJcsGy<36T-WJqRiOk>InCh}4i6cQ}p1 zksaxgA89u9@HUTgjJX&*djpawsgf(nl9@seFNpvzDUxJEk|l|ZC)tuYsgpa&lRXI$ zHEEL@>61fAltpQjfCH2zDU?UaluhZBPkA#*X^pp$Bh~R7se&pu&@-`uDm!vdC<&Ee zDVAeNmP$h$HffS3kpX0Y12VtV0ypt0wBnhfDVwuNn~Ou54r!VXv6fcZDvJIIo3#m?!6}@AbDJ8On>bRK zs~H_@S(v{$oX-iJ(MgkMiIz8s6ocsyKf)@_iJhG(o!<$b;n_0932QcDl?>q=&fyr; z@s;A~p6>~toI;*OW}Y~rBbI3kbBUUq8FH~1pZ^J<0ZJ0{>073PmA0@dtzrwWiJz&$ zpZzJI5h|e*`Xba>ol8lf8LFWhIvfsBooP8XZo{D?N}>TupgM)2C90w;8lESbPASTw zF)E|L>7tGVqce)5Ir^A23PLxkqdy9yWXYrb;`rmptMGcPbHaI;Xr* zrA3Z)i`mPoOdZF!o_xe%MVo($TkyV0hMiU1ivsuW?V zoWiM|Djad@tEMWfSBk1Z`Imv&otL=~>{$@7>YTa(tbie>7_qCH(yJ|Ut;4FVA33ON zQ=fzxsjFEXH?gK7A)+;btG4>6kqQw);HQ3iski#BzL}@*8YT5Q1(&*-HBhgRx}JXO zuhUTj9{{j4L9p*yu#yU}TC%VG%B~E7{;%|k0}p7Pgo3Ve203IM6b-JgcN))&{D?Y0L zG8+^)%Vbe-sRY{-M2i4GI}t8x5TGg@Z5jf7im*RBvre$5NDH!G%QYhFG~e0~yXhmV z!YcXMp1QHF4H2yqA+(Y@r*C_!dm6V4!Kv|@7+f0^HQTHKyPlzXw@3@MHXFEo3$qR( zwSTK67>lzQ8@G20wv%f&#j2Df+YmdUB?@{2PN1?N!LlS#xEY(c4&k@E%Bcver#)M- zI?K4y`nh#Gw4Q4a*^0CKO1ee4cxU%bUom#uVJGG=5t$pgTl#9G2BeuYEot2rn zXbUS3y0ZT15p=t^dK(d^JFQ;35bm0kyK=xNV!XQG&Z{>ZZM05xqOO!h622 zO1zWWy%w9i_vj zy`k!|4;;1P>$?=p!5l2P1~Iz$E5a6|zmdbg29YBV>IBfcn75I>456kLk-(|Dw63eT z;ybEZ!n1~}n}92|2`s5=nx{+auNW*5?i;X<3%`e}z~yShBMil!Qo{aY5~qTd37RSl zx|XPNo-K?N2HZ3BYZ3na3IPj@02;fo1%bwEs#y$%Bwp*i->b%P9L0q^F;g5uIEfn}tj47qF?wvskqniH{78y?onkB*W^6H#EXkdG zl$5MaWD~lH!^xg(%03CoJ7vkI%*w6o8kReiqAb9!Ov}le%D=VBwXDmAe9JO|rn?Nx zAKS}DCd0x7tO%Y24OQ2x%V)Z z(CG293}Lk^VB|w;So)GlxYo5s@_jav}!p(3Nry8eI^TG7k&g5DoJR2H{40XU+ye z&?y7bNx}^dEfFP6(kIQ*m%`BV0L}=Y(*N8?4h_=_;n6!C&tf^xF`=q#>Ac%{r{XFU zt~#qV!3;Nz031!w4582k@zi4T5IwyRZ6MRU0nt3d7imHfdeIQ^f+GJs&NzK39L;wh z{nGIu(}u4{`F7+uqtGSw#J)@rTS4Z+q7(bshC)s?{zWn$3~@g5EVCMt5( zC>=H&{@u_M(bv!rcyis$z5(oVyDGgg^sK9l*IU+iWe+ z|LoUpT`9^<)9KyTiKYkh9afm~&+1*(9u3Z??b>b?AC&S^y!- zZ4g0z&d(jyjJ+T!zT!hk-AG8XH-WY*90Hlmo|^ltn@!W`{mqu3GEmq@$35grKIn)Z z((OIxhd$DT4&D)w-vW*RXCVht9?|7;5CszE-2xvCVden>8ufwepz+l{Z7E6q(%?+c zPL9=CZO&~l(iBeT=8e~eo#Bag(lG7YpRfbi00)A;*wt?0!~Wij-jt1=9FLxuQ%eRe zkg_zs-5)W^Ac5vnEkNyE-VA~%=q>8&UFxXq+=&JuCw|2J5g3E9&IDd2Vgml=whrKX zqU!|ChwS{?w}H`Yz2@x=5vM%_VdLzpZs)))?G&Nm`F`8C%?z)=?T23Cq)qDLKHV)o znJ+GvG0&O?p`J~R6n*{XS&SR2*TR=;or56AQ8_HRv+x3KM_9-)Gxgb%W%`St>~zK&VVl0Q2y=bWSs-KJ~aU-{Z{VgRku8Tmjc`N{ipz9bfjg zfA+W!5bIQAdxgLt0xk1C4N+)Ni@JGwc5wS-u+6-J2AQ2Zc(6h?jvYH*3@Os&Nt7v7 zu4LKL}bx_9# zWS$aQ%GBVLpI%Ken^zJ+n|5$CmPI(v?Yy)H6S^ft&?Cr`{>;{m5ION}LNI)4^x&~HV9f)A2~ zjZ!b)vuqLgb*twf!@qHPzxADRV@JJJ8XlZ@jv;Kn61lyNJNqxjz}c?XZd<+ecktoG zk0)Q={P~+)W00>z@Q zK?oz1a6a!4YJH1bF!jnvVg9-CAu$%BIagmOwMtF-b;EVDEaC?~swZ%Qe( z6mv{6%QW*${gy<)OE!g~GE6k%lygox>$DRAHQQ|SO*QZI^G`qn6*R*<_4Ja@K@(MU zQAQgjuTVpsMAT7AE4B1eObvoG(jF(x^ixnn6?M!_IStX%^U$iSwS@L+jif0{yDT-% z44Dj(QFGO`(Naxa5IhiUxk{uAv=SC8GNk$r&YhYQNmW(H`U^&xTE&f~kKURQR`W{3 z6{iPKGf7s*MmuP=lR`7MCUn0uC6-uVS?mT_)}?pVUGvo!yk31xu(e`wAY<5rKu}gB zCq$v)U+EA1UO*0;HwOtsx@YJN~pHy&bkuj{f$B~Ni3ZLNcm;&u*B&@B)-c5sZhPAx z9jSi-(nu%j`hX-;cM)TCw!$x+QL?9+mGDi*Et#Re~r z^Is7wQ?twYGp-NQLo0K@9Z3r;l+u(pgKekYiEPNphjUvO4k>LghDV7U56269o$5|8W-2Q|( zlC(teEv||hL$;R0wrtHJ{w}iQYo^%0yqJY?Z^2s1U}rWrTIO`PN*h+pNJiVKk%MA$ zqpWgAu36HtHKusP2vb-uK&o(%%hXvR4M`M4LQs*3TqF*c7D*NfWQjivV&ZNSKZroQNDtx+H@u`=Vtw)3I9O4rR4#*)Ho@tJR4uY^3o_YX}hw zMI1zC%7fc6)5%PT>dKkVbkleCb`U2JtdWn*VNZ6*!(C)fRTi2}Nf=U)0h*+UbI8Vw zKl-CO`Zj9BNx%gOAw-@fTaoB?)-T`FBUYP!feSM&v_EL>CtT} z>|;c&ny-mcv@5OtxhPd^;YbHKfh!!nrdK|y6Tf&TS{KPk#TeqM{ycOd$ha6NEms`- zSqxuosLj((Svf75Bz@$32~ks4N0G^jmOLHT*nG-B#;&oku>>0g4TF-u`uod}0*WWW@d|af)61Vi%EC z#v+(&Z86r_dS!4H$>h{l*~*tVxhBNj7L>;$<#pZXpz)F~o>)<5Jhei!Rpv8*si)PX z0E`R*>l-8ul7XN>276)lO8M?0PBVw3zx5d$GoGuZg}zO`7`U@f^xS7q2kOdt`dQGr zTC|RW&wGq!ieC*9H6~xuHCMAwO5=n9Sm60(cE&RXJ{@Xc+iBE$vgo1>l2MiznkQ$y z3I6=zVz}ubPL+$}ZAwqtmKUjXbI7T7=0>vZ-)<5&#Jw~ZduQ3p81RB1i!Nnvfn$P#fHt-DNp{K9$ujkyH>oPF1Ci@_dwS0axp%%@ex!XLs@OA3*3t&vk*ZYFtmDIp zUww!cAgXfVdU&V8$!xxDmXnDpHDXDkD9U#7?}}Npi%M`w&^jLEb{(wD)=@%S-lAmJ zHN!O@Qm(0bzg+EEig}m%ofVyLl#yfr^UftnYf8GslIzPPDf!aLr-HKMxw%d${-?v8 zs3S*}F1oib*%(xlgsU>9J58K%V!V>eyVGdj^V&UMrM63I=F}wpp_6q(f)`wyPH#uh z6%Wr5#Mdi0g7^IC~_h<|P)lX>b+yFfk2)zuaY68iD%dG7q@osXo@H>uwU zK(^@}spx=y*(uh^hc9v093-%0BJ8JNm*swlX^Ln+Lec2A!I#x=Omc znz;MHz`g1#Z%e$u;-8Ca3Bx)U?Me*GTa5tB2~&U@da1Ka<1BMJ!2!(v!3`-u9#Ji* zh>E50GJ*+~AJj4(;yLoEEo#H9ztAo12)h*ux6m0Sw-~M`%s$%6lbXk}iO{6|Z=gcv+P>Lq3rJjxf|gI*bq=JQXlO!aB^0_1i-~Y>+z?kv#mv zm|%#OBSb{Rk3jsDK}^JzI2=ceL;+bu>uE$uyhKcd5K8h02-kwN24jLlQ0<6^C&%RM}GXncRZv6JhpTMpSsh>emuxe{6}5<8Dk5p z?TLzfw7zacNQ!hsg@mSnq#>INxUA5|iL6MF^uvoBinp64i9{F&T(*4-NtVpFk*p}L zGB&s?J!H{2gKSBh%)yrois`F9Y$Sv0LzbYt$($_8&)dnZVo0J%Kz}R9rc6qeG)k#l zJEZi%A8ajdESev*$s?RfuXIUV%texX#;+{PAFE2TG)uL#F|^#pm0U}>%(1W(OP);2 zxV*~{Ys(~AN4)II2-8a>;Y+_9OacSUBN0r(Ow9T+O#UN5OvQZ6h+@nlaZJdpOhJ-N zBB4yn+)U`f%puWC&J4|*@k}8B&6|+Do=~$Tb2FYOjI2WuIHM8@z=4Q_3@5Nh^bi6Z zfJ&OsP2Nn244}=K_<$)WPMget;+%rrWD4TsN>n6GoUlfd$VMaF#-SuiF{3qfinTNA zISVALm|!!_ImDW9O`P~3^Z2gq>aP5lvs^nSn|VQ(5CZ2!fDc$s`|!=2&`*~L&e~)N z|1=2-hyvW?iRQ!!{(L^@tO;@~v{XX?BD~J1{0>J`B1lW8ikUR|sI)m85cDLE%z~il z`j1ST!MBOen|OfR92Y030sKf%n}E@k2+)|I{?C)R&));w(wJ&#b6xRur|nHC2gxhZo@)X(;PvS!tYcf zEldg18K}^BonNw`$2dbY^sdUwB}m<;$#7IP6r0!Nt`IuI+-WzpX{dPnqbqHm2`sD@ zHPiYu3Hn4%!o`>un)T_s=kWh7eOPMgZB|df~g2vY!psl-OVy(39>Z^pH+acQd;dn2^q}*XI0T^YTLJMTCp_< z5BQ$6)mjW&Q<~^1jXbth3#_+2qNIB%oc*6Ca=JyO*eark z(W1JH%h>T!qb`zC==xZX9gPnvUB}w4pJEKwAeZTKS+A2kt$WS8aFH1i2`e>$va?zF zTnQUB2^{TN{N&l<^*0yITW>X5SUp~yeO3as&1%Jg4glAdpix|v-e_%A&WPLRP0Hlm zUb`(;=k+-6Wn26#-nA8pG}TZ3EZzYPSE1di;SJomq|1_wyCTI$MFUu!FwLgIyXvSU za^gEU&?LS4yB-R>q#Ha1PShnGL7NJvL7f&9Y~5TMqn{d`tb@`Fx(wANT{POIGGtG! za}448)Ym;>)FnAd$o@Q3MNygn+>l9M;l;7=7@8n7+Ssj%T< zC05-DVsfQXaa|;>UE3e-2pHwzbUjxbc8T_l-}Pl;D|X&%72>3A+U11ebq!mj#b0~9 z*M;;7!Zk@nyMdYf-^EqEfnYt?D=FAR&EudwhE+eALe0BqKc-ui--`*;UESA}r78PR z7u;aj(k+9s|#aJaWnmT3!~{ zz6Q?zF$LOI1=f$g>o87A6?I;cUWqPlY2wvVr)}c9MOtB2-y7;%e>3F^duEteEgTJDHpC1dzjPWMji>V-;l#n#7`+psNKGj?gd#_uIoSLrp* z;>~PtE${D5SB(a;{1wY#6ivNi30V$sGaYXXhq(&R#S0fr@KcG0F57OE=nn_I5Fh@< z5#P)Q^HL9AaUucj6G?3v&+$sJaTCFD9slt~;qejiaUd^pQEPEPdvPOQ@*qcYtx|F( zkMbjL{b z3a1QMHox;Jm+306ORs29RkKIM4G%TPb3!LTCr>RnHZ^+es6YpgK`(SjM-ewCplD9V zMhBco&-62y^pxl-hXgo|j;%Vkb4@SxFhBJC%E+2C+=y(z|I7eaK&ZcoM>lm@*F;no zFjePY36;C9oONEG5>6K?nUv!?-cmWn&R#$E8n5*Q3rOmNEeQ?Mokn(P7m{E1IC}oP z>9BIjVi`zS$MR|a_5!K)rYJ(JEN$w1&;a&!a9?)-5qAiQb#{;U@NoAAfp>YocUV+* z3bRXm@Apuo@;!%ge;;@e({~QzcY;s&^Pu+vv3G@kc$Z*!0&#eVulSUZ_yM7Ki{E$| zGk6k1c#aSGoWOVi(Rh)!c#;nglRtTgPk8__`TOmN6Zaw~o^Y9v<#=?0xMq1{^mrDl z#_BY^()KrqoKvru&DtztyiV~No?gAt`B&%pS7dlUC#&f!cB5xbl%DZywfUOBd8v;} zdjHWy$IW5K^f!C&Ca&+30DGKp`>rC(9^+}f&t+Bc;1ql&Mpx&>;%id;AZGh)jR9s|fq8XS#Q)wJ*j6nCTP?kB{FeN6 zRo2Rn`#~Bp2#^6BC_-Dnff@(_=?lnDFM0?i1R8*f)4pbPC)4x}Y?T;euU!hmK4W!- z`(x!^b9~yq-qxuIP+4_R8z$wyb$aNZ=uU@v-TeIJ1Oextidxm;YNCK@V&3@;?CW2e z?1yR9ubT;rfY*opBBae8RP`EKHK(X1ri^y*;Cp~TAW+}~Co2XbOgNB2l!FT!4$Ocf z1cD4x92Tsh5FtZ{2!z~Fm{H(|i2^%TyhzZA#(^ajM8pA8AV`uX{t=+uh@fCdAu?Yk z9O=MGNSZPg0+mRyqDhG}KNc;yG^ft0R`|@)q$x zpHE#L)k>A=(}D+;Zlwy8;gr@>S^`aoT4!toA6&aWTKnoq&#R;0);RRBXPUT=GHhA= zHts39LvxNUeLD5()~{pFu6;Y_%?b^Jr;(S?3h)XrM9F)@Jb2EHG4FKDSU%;a^)q`% zY+B*amZBlXRGL9dEtM5jo-tI^NVY*2Q-Mf9w;O1mS=HPAPckLAl5j+Ic9c&`0aZ|L zGf8L@h1{W-qKYfB*rJOs!Z=WV2(d?(6SfRiV_bLHGKh|Jxu+OHPQaHzWC(B|%2JoH zrI~b2DMZ0d|9ONHfCOSmr9i`FxnPO2ZB!eW2$iUlg$lehn@}7Yr2v;EGI-*c6UJDl zop<7yr=ELKH{(D*Dj=RHF3g1i4S4BwLtk=vfY*9}o|x8q2ytMGWJ6UJA7&tkQYBhW za@OBQHE}iCP)G43(41D~B$bs1i3nSRs!j>vQ>UI-=0<0}gi@>sy!nxbx;Y0^iMZOz zr?Sg3+pM$Ca_6T&KQ?O13v=<9m$o^|^#P8A0^0u8joRYqP^Edn7oT7crUfcuQnI_# zfTdp9nQQ*7T9t^cMd(@#EWs&TttSB&+?Gz@=8&!;0qh&Gt^K&!GlJ+HN2LZW&tGP1xr@p0K}v)#7a zLOWe!dN9l-XwFtUIu{6fh08YBZv+0-zO6kLxZ#H*p16u}n>V#6Bh0n3VK>j^IOJWg z{kP(qbKbe%l@_Xk8Nuny6m&lUc2pXk8arBEGuxjwT7*J z_l zqK0Jp7`&#FFSd-vD$JQe;iwZdwG?Dvvm;?#Eaw*srjT4!Ya$uU=fbqGPa#G^mq5lv zu5^8>gDzsmI!3UT3S?s*YFy(y{`4S28gga_+?ZjCw7|wSow6-;U%Ns47c zICaUgz;KMZJWDQbDUg2dl8&5V#yPamjzg+wm~7!CcZ>;^2S7p&IAo?X@kBPDsf{d+ zRAO7cIgns!Govc%CU-pk%9c)oQgSX^r|R-Tx0?yjJV8nqk$5vpS|Y}ddI;z%1R_H< z?o%LkRAW!&c*lA4^q+Vfh(YI&#(4yDAZTo3LICR1c@W~MNmc3^cgj!%$T65kRby0# zsZgmt^`Ho0Mpx0=R)I_vsQzpN8+SU8vx1cyQAL0)Wtdg6B4nsgMF?HDdKCv4q7e@m zBqZX%m_iPunT!3SW4B}oLPmm*h-GYL5vy3vMi!9GOo$&Ti;&4iq7euwZDtWtgF;qz zCz$19Xg_KQNSI(CH87-SU;9Ud0?QGM&Fz+i%UFa=)vlsZ;zh3_gyyuwBK$H|bBe{3 z2vn>}&uxuIN`n5~*7%1t);(ClumV!1K%ioe*_TQBgRmOhridF6?|3;jC60|3ZPTSy zdI`6Z{hkB|Cs41vs_UO2K1L$_C8BvNmS5>I*f!M-&EVuq7L+OgeYU7UdLS4cy`WGO z80=eH;)%8!j7v!hfn{6rIhL>vqz!7-sX%P0R5+SJxi(&_TIHzAq4xBva#U+ogZfh% z+7XU4Ms7CtNn1qTewU+P-GPZ(}+(42R@fb`N6zq>BvD!0G6?lnF zCxX4kO8)7lu+s(;WP7_RBn3*af_Prhg;Pi3xnPYntR6@i?JOp4OsBf2;*Zv}#bP8& znh^kHgJ)x_GW4pOH!@}fe3iyY76_PyI@pa^72*P|IGTw}X1m&$;|Za1#}Ud5kH@&o zgxx0^dwOt%6x__*Ag0EXT5uU|)s}cQC~)(N@{OPx0eW`mp%1xgp)XU#69aaapX#< znYMzpP_!Y-1T`x{?ZX}hLFYmoS2g24n26L!%PQF6U%-1ru{HnxE^H1+6 ze1r>BCz&3babb&qqboh^#$+vI*H2nTum9*-x4O_VJKW%!mTe6ZZLLU<_1!@X(TLRDX*pQO?48{;SP{)hbCpDTg+!Wg)Jk-h zhg4TlNEdX_og>wTYJ^56>D_+F8sX&^eep{MB87jEUcCLt>6Hg~pvS$j-b~HMdfgP0 zAcl*P1(gAm$bFnnJlyX+U+`^&9YtA;8QI1`ACsxk_?3|sGL>8*fM6}v^sN=0)fgNi z#807IT+y8O>C_Mq*;n<`SIOMZ@rMGk9|49I)FI#kz8|BFjUXaK0~Qhj64(AIMAre` zWwq974N}`B;vgbZXE9C4x7MGuY5En>yn9n52_;@#au-f@(K zL|$lc-eIwcgJ4r=Bp!#T;5`}M9&$PqGloE`ZiUzJ&orJV4gQIF}B#ho7+o}WF6 zp+AZo8leL>3?@N_UmDVo42e~i<&`dV*_T;a^(llrR+(XWADXF=axoNL*%e*2qf+H% zC8lJhDFpmQU29EN4hh;yvf3mnVsHV{Yy!)qWn^Vt8mko~`(dO^vgBzE;7eX4L8R7I zP~udbCMH>!-th)b!X2?t*iq675T4Br$w{~o-f8@rQIen%S%j>F0GBkSRTRf_QH)4s zNrvpiwpCNIh#-R$h^qh`#lYZJR>f@G20aZMZMbLn{tzL){Y5LK5DxG~TF!;Iq!8_$ zOOH?rIhNyG5?sTj;Ti>1^I>R>tx?W>=s#XX#-Ujl!V$+^A5kTQ7tSFYsg)nXSnkb( z$HkS(ja6vMD2{q)h$6&i#^_b85z2As#UZ5UF=9ga76iH`LirXXq`;>+BBBu|aW>PQ zSt3m)Db{TkA@LFYVO^5`QEOUc&?VYz8D}8{TKj38^*LXKNE6&ySbsJL#qi6;JcW22 zMJsO12U6QcK-hRO2M%D@Gd3c2&gU-zBU8$RBymg)K-1uu1f)I)d(FhE_+Yrv*Q{)p zcYegZAf;AFDw*I$;ovE)6-+crV}Ua0s>)RU_UO>FoLP~+Y9+QEagK##W`zVcqcUE} zvdyYmOkm)QC98I$tNyC8tfQ?b&ae_IiE$9N z=E+Zep|bv}Al;^ArQ}!86(B~(2J$Dk(#y3X4!3rzDkY6M!fU?j>%KA&z1Ax`87sdE z?7$Li0{QE|wnxAg?7}i^!zRzcBJ5!(tiw`l#aisVs%pftD(qP3#d_?=f~?78tj01Z z$A;|5qHM}K3&fJFT28FW!fedSY>KdK%eLOp;Oorl?9TG6Sk!FGnrwCqu| z+m7U@AyaaSS{w-4Kmfu?E@C6VZf~X?)mwbk~5pV0> zrr~Out&%C8k*!uB6CEVhWB#2j@*?T{+UfyrMf3)m+6i!>Mem+XFGg1H%^-? zFrQp6!mj0Tq}Y<&hzm4ETvF}khJ^>S75Fuo8Li_Q3e?MSrk1rC3JVlpQgWEl(91E@ zC2QPs)|i}?S@=yA{v`icnPu($(WY-Xnv@>zZROTtAsXDOv1|FCX^G^jnd_+uqSVPB z;U+M;N?I+CnlHoe>8?c@0}B{WRBQ^T*)OLpQ% zHq(C|ItTw}WO04wg0guTZX=qs+-|e`_TLYKb2x8Z5yvqD zHbP9Q-A4xgG21x+9j~+6D(^eP^8{1y289jff^S3|$xtYXk=%2;^z&CZ@;=2}^F>*~ zSrzxi7?IhSC>QC~&cl_>5%1Zd!@c#C1=IAsk=M@fRh%wKF7+d(T1igU-O4269;W~= z@6r`DZ9?`XHmNt~En+yc{Z5@OYvkFnGdQ2^03#HhRrW?8HfUQm;Rf~82|_wYbrn0Q z-0s#oL$FpeOFY->Jl|AU+f!m-uvv_+TK_X!qn!5L(lBAPmd$WY?0(weuIXcs_GD|e+K%)_$8B!^?YWw3R*ywzL-X01 zaijk2FGybV7P}uaul8yiX8;qf=Phm{q<|e?@oj}7GD*}P%eQU=GFNwXjaV=^Ztz<| z;UahNao>_di)bn9A=nRNb_V3>=xq)UWS=$&)MT8H?Hx@gb2vtIJ(!;vOe zb*Ny`xRdWFc7x_p(J-_JRZY_z8}@Ky5fTuK_ui&Jd3UrA)11U!JP5IsMjw5&RJ*ks{szwLkWs;* z(JwtIwja#9NZ*D$XRNDzSABK_{i;I!*OPtOA8Xi`?9iM2+Oz!vp?zA8ecQ|Z+{@3~ zFQMAgectQ+!#2Is*G1cyWnS$4;1ho6*nP3CjV)}1;un77JO1Gueg(4)<0k~=KmO%o zKGQ&K3`Ef=z4_!Xe&&n*=)+Clg9j9yWp7XZP!W^mlm6?&{;~`!1<8d4;XusTe(lQy z+#^QQBE%L+Xkv`V&58x%+tD5fgzLxt@-u&oj3pG^z5?XF^iPli!~pd3{#r~f7+J1Z zyQLzh1>;jdHn>9aH~;yge~U~b>gNRoRX_E+f9fN?q-ZbYa&IjDY50+>h4_=d`KSN? z0|Wwr0|^#1co1Pig$o%rbodZrM2QnARwgghh=1L$@fm-IB6Z#ZtRH;*`R<(K+YgVmW zxpwvX6>Qk58V|~pxpHJjlPFc1B+1caO0zPr+T4kt=M5(!MTNlYQ(#`IN{u2#pcDa9 zr(zj5cKjG}WXY2$SGIf^^Fgu(=f;fNv83F#qFuu5JkzS(pJYU>5a^^Y0uZeQg0K~I zD&jQlOdQVq8+dTx!-*F+ejK^g%>_?;EG@cu$hXZs*1i6@8aILrWL(rfsW*F6#0ZAW zTPG}ediCqsw|D;@{`%zvse^u5A1(Cy*6#wvZqTOgavP|Pb^IDHz62FqkiiBWe9*o5 z2C7ei7+hjYEgUp-PC5%IYjG*_MyQd>Dy_T{%Pbwc5rODf(oi(F+yYI* zFZZKrFP3OSph%HMB*V?C2xHMVfy$dl4=wfFlg~c={F6&Br*rN;1wQ+zv@>0t)3EWF z!Sl~ZC7qPgO4SSWH0jO~Nv`~4(p1P7l`8KODE`T7%F!>*uQ_vvYM0-B{rz{cZgYHgSqwik7s!(U zUYOyA9ga%i&Yq)C)`K6u7~_mJ)-vL`Yz>V=(m{`93DJN@#)dZ*2q=%S52nx>t3W)@fJ)*^W5K6`K@8YV6Mb)KyA6sUr1 zvYw~ZsJaFlX{*}!da)?8US~?Nv)Q`r{)?4f`Ylj34f?~5uClE^IDr(fC%*iWZ0f43 z+EvPd?wqF`IDSoApf(z3hHZf!4Lh-~8$b1HvQLGZ)UnZasB6dvqP*>jm@$2zu`yqW zRN$C`d#c4Z=i2M6Kk2&ifo7jQ%Cr}URP?MD`xWzFg+*Lzhk!3A_Nm%9r)xd5=sj+R z=l-(1C4#rxF%J3}_JKVPtheiC$)&Cq2*AZ%XA!8#DB9Hrk;Mc#k8{1?`u>U$O0h z0#RP(wuV1AG$eusDNyR%)(&L;P{VWC)84!Crj~?-uZJL-$^){n0@WNueYJ@V0{rtJ zro7Hh!7|7b6-PGItuRWoi{k&-*1#<$kbl@qNCm41#fiiaBNN0788I?L1sa5RG<>59 zxv@M*_3u<>1mo;dh=3J7PmKrxBSG*;6)fV8bvjhn_D+Kqmf$OhLox{Zm;@L$*&<0& z*#R1MF%UE)BSi=}LNrJj4HyWdaM4&s`;6cQCZK_oo%CcWNl68T6p}#s8;A%aw>i|| zagb%qB^$1^1;QbC#mJ=f)%h<<1=Cgs(J7h5RDMxYYFB`8w zoEG7j4IAR{fcr#fJ{4&!Mg|e1)k%%{c;bX42}U-ApurNOvPoGY;FBq8Oi}vMR@yQl1P!AcEw{M@Qf?XfJLEWXh`M5iE*p!X;!b<%IAEQVdb#Ud<>HyZ zT@}!CXq+NNS$Gg<3MG!r#NzV^xD?E>(Sr!x+*R|qOK#*3m&}x5KKsX%UF1-wd&HAJ z>)6$>3be1>?40$^sXIUR)vsRjr9=rbz3N>rby(BlJ1csui)J*Vk|YR;1mYi`%%*)% zF{vj(Ia8|{#QvqMbOTGLX3Np~k&_D1XOAC@(n64I;ZonxTYzpF>CiNh+J*-ot3sj*Z)^Y;u<}#0pKolRg za>>k}det~QZH5=U;05wwn@3dY3T1^UG-u~zd}J~f^S?um+;9mgQS~B}ZDgItT`@Pv z848zv{@k#y9pOnf{n9g$xLoq+bb67q2^qn|Qt*QFrdfe-b|8Bxkw+^m+6$w!w6lx` zP6y&)fvhydI7I?237rty4j8@bP{EDEIO*OEGJ?*m@$M)MJRL7n%54?qRvF4aA*)w( znEUEeX1HA9LT{eg{qw_H>des`FsYw~oX z35Pu{wrvCE@jQoW+)_VR)}=;+z+8FdCEz`wqXsfl`Ct-mzn8;_fLc-gtve}SzAvY?w^pGdAs&{{0 zT9XW{{fZpeI5sHcDN-J0d+o?Er_{`8UM@5NX-z#Rh)qP2Nvfoh3P>pJqDy(wm@<0Y zM;Ea`MoG({Cxn~WL!2%j1-WEWdCj&hIRC!3K;b^#c&?VKk>@%(Td!G)ymkKmnjg+N z#(^3t=S}WYi=0l=A+C4aOdG`sq*@BcIpP^7K%7VKKcE%q9X02?qY=*t09h4T*3EUsmgIP3x=Py@dLfHrXR z43Gjb3R_sOlupY7Pmn6S4*O8hPbM$~KY|5gPzGo4L0s?!tBnS8PzQJLIBf6+`-}&J zPzZ+*GJNm`i4X~sPzkrf2w!jspAZV8@FJQp1f|dluMi700|bANWU|l;zwimEkOIMw z49hSG#qa>lPz~3R1<|nc_Qn?aCSgj%Cf0-v?+_1Ng-eKl5Bty$|NamV15pqMkq`^f z5DyU%6HyTtkr5lw5g!o}BT*73krFG>5-$-GGf@*akrO-76F(6YLs1k*krYeO6i*Qq zQ&AOHkri9f6<-k+V^J1okrr#w7H<(3b5R#}kr#W>7k?2LgHafVkr<277>^MdlTjI$ zkr|uO8K2P=wc#KB0Uy!;8m|!>vr!wjksG_w8-H;NydfMY(GC7V8_ob9@WBhd@f5c} z8}MNosZkrYfD*kR9oLZ^^HCr7kstf963-wW12Q1BK@zv18{!ck+@KS~@gEd&65nwh zqv0Q{u@}<-9;dMybukU5u^ZeV4cs6csF5NgQ5wy07QNse{=xwt{gEYG(j{Ng6VY)b z{}3Mt5)wDk96$0N{=pmQF%ucmAtzBH71A62;S7kt3qmp>ZE*{f(j(mf9>c*WYq1=q z@(FCQV^pvIcd@;`A{PF zauRD3Dhsm{@nIYpF&gjzJHZkoi6A^6K z4e+x#*)u=?FgM*&5e3u_33NLh@jDMR6eIK>__8ZG5gzUH5I6ES4N)RHv=7bm59T6Px!7-mR65WwJVKWoc6Fa@YBqh@j(eWrD z6A<;1B14iZXY&&M@*V&YAji=}`LIU)5Fj7)KD*Nq{c;=$Qz501Ang$xPLxV3bP%u8 z8@vG^y5`B~ioYfM6 zbW7n;Jr$8zCDk0A^gAgv5v9>84bwb%axP1BHf!}t6ZH@A6HyQGSNV`Ii!xVRR7=T~ zB5U;zi8LLb)kz1HONk&IyOUGx)e*fw8)kAmW0MjE))3P%Q+abbJ+%*~v|IaCQk9in zt<+)@QDIN`{ZLpfkt=7G5U;fn zH`Wo$kuNv$TN%|ZO}0}#Hc4NW5o`1v-Jl}}6k;JYWA!su`O_hx)mE!@OXu-ZxwKSm z_F_qO8rSt>tInLD80C`*1b=H95Bu zH}Up5U>mJiwU{x9{_QuVbxp%z;)a(4^S9VyZ^?Xf!Ll23Rm>COMQ)O>`rFS5__fFVkQu z%a&*#(Oz+~d<`{gv6DhIbbQk_ceB)Mtub@u(?aC^0e}eY1ZtwrjB!Q7ab`?_pdI5r`Z3G{KUMDKd;1(M$QT9KFFF zv(hiiG=sgCQume!)|6~@RzKxbL^BmXJ9rUs5=W7kJj?NYGx3Gxwu?JgjlHvXXBZF# z*d)7{TnRFj9}z5nvzxQ{iMg0dxiX3eQ9!@=bpzCjWmh06l~7~$WXU;w3%6+vbQ;g| zJyX{azgSq)SvLWiba&TJ7j;(aQ+d%eZRNB+n^-!5Syum{d()8~N%UcjQyRB(eCu;$ z8FY~mv6lX+bsZ1)lNIri1Ce_x(R(|yju8<^DLF)+mXse+NB=NA`IK`X)PZ%gqpO(_ zi;^_WlOFxHrZMAamq^w55J9$guQ+HCa(30$rO8=>H8!eW`99D3 z5QBF+*}9`Al37JGLX&f!(e$8=vSAgvJ7-rwIdrk3x)6tQ3nY`NFZyA}aifhgvD2Ec z3lS^5!7{1w47Q-86|oHvc!6I#5my>UeHanZk$nMiV`sWc1Jf`Y)iD=3M2+({d-|{0 zmHryNz_t6(wHp(M8`xs`cq)yVx}!T{1yVwB7NlV_GH1D#5!Mp3I;^evUS~5;LEEOC z6fU*7MaPl2BT-OOd4wktWq;S08&tbbn{u6WYuy=G_qv5?cP8C?ozdB+&AM50_d@GC z4N99=&so3iQ$!>C4DQrKp{W%duc>oXe?}u6vlj0nvgf5-eSlwiC8-p?Ryd_BV}rRE1WL4^@Xf{&=h- z_B>7W%1JyvwRgoK+a!f|BIkUGS=1uW_QSJ#z#n!yDY&c+Iar?>tP>G;lUuo=Tv?<1 zs3j4ROSDy!6VM-A#nTwlpVnR*TFuYEXRVa7u~W#2mwMGW&IdL)^|Xb@H&tDIv}4#N zJvz(-@f}}Ow<(c8wOb^2RL6JRD~mjfLpUI{dL)(I5iJrSKR7x&G}V3maU)m~Ef{gV z03=zvP$d*~iCrMY5}&brthMtd$#Wyc+nED094s8$S-n38yFrciJ zVXKr6B~#v`b5%yH#Ss&QoR{nI%p5I{lg^|URzAWh)>oJk9-w_iDQ??5+AOHX%`2+wK z0000iR|0aSRXa#pDn?>2P-ZkyYdu?RO*bw{JT68$GEgZlR4p=U zDK2a+GHfkAK{iQHDPC(SUTHc`Y&}w1MJ`lFJ7iEhL_|qJN=`&gQb$l!L0w%)QB_S= zT2EM9T17`)P)1f(TToeDU0P5b3adm2PdUJMlEH#54T96-eog-b7BX*!rT98g?fL&&iS8;%AT99aX zhfs!{P=>EmiLz>ph-iS8Ylg3Dm9J}+xNexbdXc4sDK3R9GMO$enJzV)GBTVpKAJr; zsWUFCH!`_8HM>1Hgf2m;IzfS2E`(h&k8>`Pb~36>GP^@Qxm!26TRnwMNQ6LDhC^6| zTTX#mUW`*%oJvfYMpc|jScPd*nsZZ|W@?{nZ=GOssZUj_Qdqf9Nx4r|yHZlSQdp{f zQ@MUlxqefkZgQk?b+Bb=x^i~JLOsN3J;O#p#Y#oPPfWv4RmD!PnovNges;`~7qL87lud1)Fp|7~AuehwSprf(6tg*7JvAVgw#0L_km-el?2nY}kc;GymF$p|>#Kt5vW)Aqkki-S*xcg)000R700#&hNU)&6 zg9sBU8~~u9!-o(fN|YGkiWY|zdtkhxu|=944qJp_II*NjhgA}sT*(pupmI01HFK!P z+#Pi@9l}Wmsi6d!0N$vR)X)MqWe$Jlg!nSX!=@3Hwse?j7JwYJW;D!k%TX$;4kz3y z)G)v&s}WKuYAC=IBZp?eLd=x)AziHy<4)cC(5Nz@L;)x@y3{08K#~B>)KkuB!kGug63zYQ}(l*+fY>({Vj%brcUw(Z-vbL-yy`T+rn z3xf+EZjg7wiWfsB2SDKr$Q5E39Ot+@rE#612p<6;02Ctu;3NPoL|2_kJQ}smg^yjR$2#DN_ZW_-dAT8c znmJY!HyysG-c)Tpf(nE7F_?pX{EcNFSp-UH3ZG>i7*T=_wN=+c4jRYVI!m!OW{T@| zC_y&Z%!D3ift47MX)Uej5=`4{=;1n&mZ2l*TS+Cn~E?N6%XJDSXPCA^Fn$(qBI zII`K&o&{cYUqhMTVpV>))cY=f_8Rg@fsNX=XrhDKOIE+Td3hOp)lypSi`JfZ?zbii z72$F%)^pTUS8X-S-(9Ws)?9ae64MSnEjE*0 zmo#R(%u00 z?Kk0PD=zuulvi%~<-9WPc;Ao5#k z?YQTzyN|NZj&tq16PZ8`j7|fss*QbCEIPinF3ZDX#1Uw;O%TeoylWu4wq~UGQ zeg!ziE_R`dL$I#^pqSw<7V*L!`tXPTKm;Q9KuAO(iExC&xy}mG;H-u;r&$lFNV1Gm zzS|H6B9J-Zh$196zHml`u1Q(juGKIgonRF_lwbyG_&yA*VurS$LHlqx3;1awjsT=% z4@ChCVElp*>)V1aA1n!gLp-hz1FDGS98ZzP|LJjqqM*h4LSaZj z5|RL0Fk~W^$xQr}ppnot&JiOCHQhwO3NEmhOf}NLlrth@>Wryk>X|sD z3`Z;3lfbTm3u5SS7r6*%40V`B95x~YGi0MCehNn#M5PCwuqHGd4JEl47MMKrbXR;x=~DN_i+g0)t}C4EZbTzabWUKwiyQIU z=8D*gDHs{s9h%nEDWUPyxC&EJn!pW=20KxHGX}RV0t^>^dWdP=ht!|)aJaJ6Dgh$Q zzTgtT!B*WR{tb0GRIpw+!^FKraRZ6g6rY&6EY9-=T@2$sm&Cd>7Kn|fgX3ov8UTXz zq8T_YG6YB=Qp#qQ|o>bJ0}HQm^^|V9V@7>OBdJ;rKl@ zpZ-L%fF(S`FVi!AV76c=fI$iNg`&>KM5vyJok2eP`PinDG2a4RO}$pMAuU)=b3pRl za4OnS+2PoWx|20hHYC0t%Ct_*frD+N2)^3J&MKp_4No5hB1&%0YZ`^>^^uv?a1OIB zX?g2g&RW)Cy9A^$W7Fya1Wqk0n3Zo@50`lk{kLtL_4{IYPgTcH6AH%Qh{;M!KsLOryl!7xoiXvU@2}z(_cO+6 zOsr!WE0fG(qC=kO_9oiK$G53gVX&ollXYf7VjSaRPVVFgiI%2o+J?$fW3eqxOe;o) z*qa(}l6cjNPz@;oS6#clrP2@)yrkvR-`C|`*b=KVEV`Ke%}>wIkm;p2{V{jDL#?x- zk9Hn$AAgYu_sQWM>^P>`hd)2Grya&?zitVSUy>3K|M~Otz&3&p{p!2V_{^Vf^6~z< z{Om`>`PL6V0e=5h@mnAJ-hb%!CEES;I|TgZCw?5-@s3Hv|NQPh_WG&W{`|xL{s0(& zdWL@a*GT&pN&V-3|0jS9*nkN|fCX4Y2Z%%on0^cBfEbv8J_Lag2tpG$LKWzJ7pQ?G zSb`M9fgR{TAE-bfn0+H?f-o3^`GbNfSU@W%J}t<6FDQfglK?|d1!}McLZ}935Cl9Z zel%Ev-*bb$lY_^%gNQ^0LMVi1FajAw0#!hTKcGKE5QJ0sg+y?K6I23TD1>3Sfl63c zOgKAExI!$48(;KuxWPg}QUXY2OUxvNQ&@!<)B$Jkg=(;c_LBfk@P&rB2L5L#hW|r` zVE98xn1;KvhNz=Nat9G~w;XZjap5I$w6RW_hE5}uQm+w*u^~n&LWe+NhqAXn2k-+< z0ECCA25L|RL|}#VqlZE$4$t66y+;5V&}aX_(KGT=mhq20JwOFW~hh&#E4Uv zh%fYrkeEA?xH*$_29?xAAjceLpe)+7iHjy#i(yKtK{T6oN*?17s+22GSbS7ahRkS) zYCr@BAV0Wx4$|-iC)Rtv7>pV)jQL}XhFAsmLy(4e234?-^=N{H_=Qz)kNyLV&4`B8 z7){scIJz6=!h4Ik;>LM%%%_;hb49w z5#4xqoY;vfxowa~G3SC586#2>5+0%jZrf5T+rm<5c`6Encw`hIHl=uyms6LQWfS02 zy8vgKmsGJd1mKVlhFJ_Ud5C-%KYHj5`alX+7?6MTk3K1o>+^eLCqE zDUm!l1k9KOiztuMxMx!dO&R$(#<5pW&{u!uU79qKJ@%EfVOTYn6OiF^-gYLCfLTNl zS?-}OlhP10C!95xLUOos60u&+$&wL4THi--{FX*dAP@EaAcS~;4~UtVdq|V-qlf1( z4OJKdzkmt6N15yMlk9_;^aGP?a0X5(KL?P7o#~S7a{xd<1&b+u_?eJO$v;q;n)1^D zNpJ=RYCqJtny=HEob#H`wq4L>n;)45hjyDhQcmS%6Oc9{d#7IX#hVxMUgQF95CNUP zXoWv+a1XLDh2anlv{(WOz&;&d0z^;;@!$_i+7Iwh ze>J%VY(Nj@IR=A-o{7Mo!U&WaL;~_i1^4pHmG9fMsqEAs} zC(#yI<{$4za2Y^bWS9(wX_)p<54<3J@57&2_@Cn`gyks?!BAF{*^}*QnHyvR@>m4- zvy7%%eMu0LUW%rTSbS-Ec5y0!Re6!1C(RQcQRuRj}tk|X<`^9a9 z2U6d5Qqmb7$8*lN&x7IXBpJ5W?HLXc&pC`1oHTh(a5V+>#M!0KXBTxr1P*(la){c z5*^17Q*yBw%Nt%&a$-VwB%%%~$8tvDaxgbpGDjK7X>(YVbAsnErs7}bvRN$=bTSKO z3`R%<$p-Rp53wMc6r_hyx{v)hOa`@e?elx(AOjY}v{U%5xA?U4N_@*0i1K&_5p;G5 z8$SyRtX!*t!%D0O(ROYJcgM0EOXPNyNRn=oQhaAEp$K?*`FCVAQ*3j1D>W{Q=XatN ziX_7@hDRAABW`nXd6<_2ekqt<{`FJ!a126-xW+(KjXQ;GFb})9RwdR)z+hbLGk+kK zxrWHO^JA-@Yj#HYgnemIYSF5lZ%%C1@gRKj|*d@X>NWx#pvlryT1mJ^VI)qgK1a81#<;T8F+rplE zK@NPt74!pB%RW?Fku#XX?Zd(RyTeP^!#?~sK%9d5xr}Ro!4-7E2hfEw*^p8k!R)h{ z;CYBa;J|mx#rspm8??p#p1D3!3z3Y=pc-7jdknQ-EXHH}zhx|FXWW7MSp@WWu=ta} z9e~I&=>&!Rq;$MKcD%=%tH*o%ul3`{8N`%(Sh@r-uz*;fhP=P)qsic@$n3MVjBGg| zoHK1`ar%kHhDZgS{6FwZ0t9==h(BB0nMu&j#5|8xP|)q80EkS%_x#E5qsKH2up+5mf-I0?i#_07c1^o z+@TZ=65L&jyF10*X>r#g#i2;4(#!k)=A3iy%(*)|JClDPlg)ni`^ecR{q zunBfFY5lCpUvQ1gM4dV;_E`o7cm8~fvUPv9=B&P99=L^_x7B?$+3P~BYV$5joTfET z3uP8^OFgmLx2apT^G#>a(E_=JW(P61WSp=UQ@=;}u)Yyg^zF~C=;adCQZw?d*~4*dRpUq{Y^Z?0=qd0fN%(qrT#e(52rC z=b0DbIrh;wzOw%EtfTSe4kh>RY<$Hf*n~HtLIx5)w}Ya7h?B4n6gd&&-IWMF(I(6b z&Oo1$bO~QMA=F(IFkA`Zt@ttW_5JnNmtXf!Jm+KNr!f+zS43aXaUtaeM>}(;7G@jC zyY1rFBR>9UIm@P}K|Kr;XGHSIA3%%0>(9T3pI@RJ2PA&225-KdI~P1VzbKuSn>;|< zZQy->(cW+>^5LRX=R{fl%s1D1nYGzYii-3(f_!;5ihXv$Y~&N@YA*51!zG6D zm4L$)YSDxP&AHS37XjSsgiohfyw}~lXT7f1laBTT9@kxQ;}r7I%|DKQ@Iq$$!JmT9 zzw<8sd9F~_e7<81xnmiK*M;A47ouWZY=j1*>jmw1T%S_S-h%MBlbpvtop2MyT@!_% zo$(%_{n+{`H-)AAm9FrHk@v22=bH-e)i3Mgii?|v$)mW$+g%NaRpPz9+_i|}85w7X zt}J1U_V+c`DL&K-)&3jp0kG!40}|bx*6W);a*rnVkKaB$n!DbweSIuJ`96fyGr`!S z+2%2kS}cDP!WVJXeD&b_@AB96H!8lL>U8IBkn^-gNKC_1a^F>W|KkDfk1VDibD3gS zAAA)HpYYGVr{LY?@jYpppEK?4W!*p!*FT%VhekI~acaK`t$&SmFOT-Op`HE8rTd+M z_q!8vqx;$2#cC z*}u>8ArL?VdM#c?sPx8W;VtIC?RMi#5AI;!&Rc+1*dR0v4MZy+eH)c40$S5mRvJ6V z6=EV}1PXenC&v-e==F;8AIc{(VEH>^E*`0bGf`#Qy!VJ6=ftq0tt(lW8Y2YK5DIK~ zG0x|qssf<7x@X!I>IGl~<(qTenm6@kW4UiG^cqb2M1!D3XMh&lxep3?dRImrDE<8i zsdkmHE}yI2F{d{cTK%Ze_GN?~B`TS`=DyU<0%ZpY0$SR-+fOBy*{N96lM>5k?JCs>mBVbdtfT#&ZUn%LI3pn-rY}6IHh7fV{S4Z zPNUNiX-sZ6zdabi(eB{wE~X^RdzHT+&RqOmq;ew5thLq6asO&(Ad1es!=R$;YEPf* zpO4$$zkk{4uNm3YlAReo!=bz^$D~VDAHzNvHB;L~It8K;MqIL5!eN zdZ}w|+%4CLsVY2HOMr$SnAqTedKCKn{ZvWHX77v zopdNA#^Ljd_u{a8J4hYR%gzFn=rbL|z$dfnpx93Bo?~0>hn2f#R=DP=|`%N7)y9Jd<~TT4_UT5cr}sD|$d!~_{<{_3g#6&7#728li)@X-J(GG3$lP~U~t9g0YJCHy#%K6g^#5i>bdksaFtgM+rn z)jn18M+uSRE&BcHtu!&ArN7{|+Ul-iGBS5423hm^Aa8or%fo&AHE7sRL0dx7qGF&E ziu%^>cynb_k(;X4(6d1qr0?-_g5OVbzzQM@(_jcKNs3+@S_G|R|AeWZOl`)FL6%jH z%i*T^>YTSK9mqNseibSwDO*)YKq`+^Ea79*yFm7wM^JKy)Wn@6g zh4;o+gRJzxnzWQVR47B9VC(04Ar4eDnlpe!_h)5oPO%X*Uh?8}wFgF&-lZ{yY(MPX ztKoMgm-eremEk+zK9LHON3+^_ESTD~(R1&NDPa}GB=TC(mptsiEOM7ZEi6bFd>mAq zHfMN#AeW=g!?~*TmrDtYGEp{0q%yVAS;61v*Q}==MKvP@yKX8}_iOZPyH^@`2^fq( z7h5gkD}vk}C_4L`-(O-p$i40L3=1q6MT5_8_~;SHk8&!gMT6mG{7X5?DR!2|7W_Za zNU`~njY&Qsuup<;M39j`JCy|B#1HA;hZRfWsEgLgnFW2v-tUYz_ z=R|Cm;0OdVY0;p#06#rPKyRry8rBe|MpM{{NzO6xriPcwUDtOtX23KSTmk%4bir>! zEBnJlz9O+0+cfqVI87|>uGxFyY~pN{O>^ct2v~P1Xrg;h=Hq$m42Mz(Dwv16Iy`K3cJ{PtVOVe zhNtt4i1Ft1WXJnJYC5F(uw7&*Koh!si2ObaMo8E*FH$yrU6dFknAM%i%_qGPBk{@b zUGdiXSDC4qA!YM-G-p1{V&k>MGZd-a*djYsg^ch=?KUz%B16!t9Q;3`Bn<5z9D;rD zoeHPD=_#UpRNkNK?EdT?!qDP?!4pPp%tukS{9d({%fuu{4-cy;*fNSrC*!K3*J6CM z)zdLq<1pdbe(+)J4*huO@to(k^M*?x1}nLpf$S&?Y!?%aV}UU|P606b?jQrn~@hXVbHw_0+#TUkIcAT|UI>prl^od!gGk zOlDT2C85?gH@QX6lQa4r8Nmn(qfdye|8vN`JtpTd+N|Os>KQ&eW`J@H>s^ zL%k1ow3v|N@CJexB9cgDVe~c5)w|TPLkVbv|231h`&|5rcq#O$S2aeM$wPyrrib!^ zui!UMkA}G>D%G0Rp3mcSgVxT_Uq(rTrY$%BSga(Pm_Bb#i>8P^rU(}=&i>YTubFb+ z!xA4IMiS%B4rAm|C+KyGSRj+w6jx{KIWkZfE2uU66AJf|4)pQt3P!d-m1vqwpy4QuK^kuT|Kjjxg9!Y*rm*GlQT zB!HDZs@w*B(hBuR6C3QQxzY;l`2}t421uWF68w=4?GcZ>fK52SYL)t^b5Dqww)eocEVDue-{8Ip)QUA`xJ_BRz(5 zo3O76-&J?pRVl9yQI#fDyRJ3%aV$lxylURK7b%WCxi94;#N-U;hkh8}^Y7WIfGu7-1Dx>ND- zFgWR?vK~;TFant^udpy8b|H@{rnGNh^OI3v*TP*bhrLWVkxFS>-D$jF^#gHD-SnUR zLN=S%KdYDlZJ&RSeh%~NSTl*4Qtch$jHQ_QjAV-?nEM&Uhv_Nsb=xW3PkGHJb|e#q zd8~3xfU`Qj5Ek0D61oW%QvEz$9}p#Ip5T!j%~Z41Uh^%p)-M|de4hofgcx!AsCPvj zc#oRoH1nwV3na%{yC@{y5?WhI3$#~Bg!D+LgA2@W7Fleykre=h>spK%&x_&$3-oWs zlRV}*d_YWBa8j2=KC~r%l9vata9p@HkHV5h^&&mZqOc2|5DOCFDIB9{NwR%OYHUe* zWl83E3H-POL0g8BEW=oqWkr_d6m;bfIubrhifH+CBotgOaiTuUJ4$fzv1PTDW%c7_ zjmPEJXe*i|D_Sfo+9E4D3M;yAR^HgIsJ~fIL9F~USRyK4Hb5jOxU870te76Jm_4qT zqpj*)0gPEziE~!a>Q}66LCAwE7Cx(Q5v%qYs}65g__bD@&?uBhsFmBN2d1>0|HcaP zgnF>7d5WxgDXe+FS@W@7^YvMKhgkE=SbJZ-=HI>+P`}2Dwifj4l4Kq9+2(i+PO=`# zvabDYtp;^H?9DpDc0Cf26izcf?2uosnctxHkwtC%z;iv}cs=oPy$8NdPhBL$PT#0j zgr*&vZJprucRlkZEaJ1C{3s*Y!j!(mB%^BBlrE8dyz$|21CgeK zXgMkVa}^?Ew zw1SF~wDR<9YV7+~3mMFwOvjTOrp_a)EhDceqO2>f ztSO_ZORwxkZ|o-tvzN5=l(Y;{qh&OwWt3&(Qsb0>2{I~6a=`?J#$N)gPAjh~ z1hW%U^pR3jfJvIc7&YaDwUuOSmAUMc!1g+fuEtz)N^){a>Z;1JN*Y?SnyM)3G-&wNSSVQFjh8v9d9+a5Q%I zH+$!4_AbOuOV-;^_MP?{Z%g?Q3)ujBwE$-W3p;yTM;CibdsmmYj&2?lQy+b^`-v{~!d-?|l%i1HpW2=5Ste@KLD zL|h;|JRl-2l9LtA%azE>6(__ODIpRm0ge+BN|X>ul#osn6H1d3k5%H0RT4~t$)sut zrW%UIT7Xk6q~I{cIG94(%c-s%YatuzX`cFW4RWhAF|745u6J^%_wdg1j|h$Ms|~Y< zM<7BYVi7U%(ea5f3CRg5X$7I-$?2J?nc0~+c{v4zxgUxOic1>nDQNY9!tEEuV&o$BmbsjXk@?Ru%` z?~isL&h`zBj*X5_j!#ZaO-+tZ&yUZ4o?cjA8W~-h8d{s2+L)Nzot)a5U0hw7-(6eS z-r3(gJUyG8Ir_A4xi)*byzuq({D0)z|G}Z0sQCX&zA0JEkwuY2S(ucjC{i=vI>5E~ zo6Dx6?0_%wO%TAU#3oGPxn8PG^IC{zy6LFA7&8aS%8zo%UA_|bU-{ND^gr^gt4tS8 zUlAw_EaAj@k#Bf)o?q}|SCFg9go)v{%W|!RSvEoJ`cCp)I`@*ol1l6g0F?w@5iF7= zay6jC0I11PZeSO6pi1+L*+NhO$Xzxs;rP-d!<;!$?7D$TQ<#YPg$r5kawI z=Wor&Wt5s=s8)|izdYwf(w9Er3r1o| ze;2_+3I|4-oMg*Y!B{us%Gx6~9pb9V;MRpPw-Yp_KH7$O(gmUh2r<3N!^Hn3-&4S%ISvkR0F;ux_6kl`Ge1;7Z96Qo0;re51 z^MthqEUTQiHF^5E z&Yqw4RBi|lZ*eL#LE}C$~_$aG~@N~@Mr`1`v z(Yt+jtOt=vf8TPSNN8Eb^>KNEdP))dKJNxTT|Mo=F?fHdc#C;I?F8M({P+?tcKzcp zdC$lX5Vcj%m6`Ik;pa*IyK4#gH2vMjVm{U*ww{1cQpZ7Q`F84sL`6C|WJrS_`bxVf39L&q*NY{F ziK2};3m^KaTtwO#ZArX5fgs-vBj%Yc#(g&_N1MwK@Js{zk_5(-%_WFJ^U&0j%S@|_ z(k(L>)iQBGMIo3-zU9C*GB#72WL*`u7fMk%NZN$sP=lM0JF^ddaazQYcOYY393pdV zb|S>Unu!v?QC?qI9BUCCumyfd_j`Rrmhvu?YP|@b>?0E+={K=%!%qa<$ONQN0!DrR zA(lb~YBdX0PJL7@jlgkQ2CZfWfAW;NOA8#K?|2E0YINKS6KGN;NeRtrdpM?35NRuZ z{AMT}JtmeCOcDT$kS-ID*O7-wRvgzeQG>CZJNZMT~bD_U6mf#=jtKXj$0S8H_I%TazA4ngtT zimXl#jWDn@JBNK5=8r8+Z&Y@6F3;`#MM_-TevZ1EVM*>Bow$rEYow)CvWg+CSkO`# zeJ?tZbJSi!FfN*D4Le#MP`+`nOJ8y=K!p*)c>X*ns~Rto7PZJU{c6KE4r~ypJ=1Zg zzQWQo9!>4K)j?v99kRqFVgkNYGGH_QYR8o69~aa;7%Gi-NMExwZj4cxb9HkkaHmLw zlQg84k>Qn|s>NNOcI^0|oeL|mY{iV(py;w2UZh>U>+ansj#;#|i zCsK&3SQrt`HMytfSEvZ`dd@|}F7uH+k&OQ>HF|CG<)r4vCvuzSxF=^q@`-E)Aq@>h zQLDp9{LHi!tT*}dacPyBbx5aejaJ=N6)Yju>4ZP0ums9&lB(JHG~r}H$W69}yTcz) zX&drZ*o-&6FU?ll(Ybm2kj0+yUm-#r<*iEwLuWU#F~?e)c&grlsi?fyb~Xz$NKd2Y z=_O{6l>J6x?7v*1N(pU#S}x09%(!k_GMtw$I|>kB36bK=U4M8>6L#d#ZU-wT^>Wck zu+;h5vf2{CU&pWwHeZzr`sZ30DRpUyKft%n*x=PTCwUpE+O$5A*i~q)re!OE#jNF- zS?ps%Mf+r6vi@tn=DCcU7?h&TsHi;3%x}u8rUYzdlrqHQWLjE`SCKC8)FC@Yt%}?) zCawKYu0Kcq61VX0z-7JepD_9yK)ch?US9;AlT?GSZX?+r`~2Fi!HEi>3Bgb5YG(Uj zY5`I;$dcD1q!}J<=!{u$*n&q7Akr`~6|6L7(83ir+Up>U zNpQo1JNgFr@xjYu8EY4&g2s4zjE0lma zlxPx05)CC&3ZXU#V_k>P{s=`Q4%-z9>&^;g^Mf$lVy)eRF5JV7{y#tTX>%tu$499Q75RHy7BoBr7>BH6~ z<@~5pe5p*zsH~1&bSutqx!SAf2o(dET@gs{6r?QKaNEt;>E0d4vkax7;-eiu6`K}E0h$$_@g4{DvXQ;GmM|=~)n8%Nwut#j; zW0T#2Tm0}&=`mT*13q@ek&V4&eTRBI0 ztowPqz-m0M_whU%U=Mq|Km54JZAn4tNn%q;r%VB+PhjUJ(7WvP8y%ojOvI=8WC43D z&K%&M`(y+16pg8n>$l>!S@v*d_vpk=>BEsH>KMmrk zWFxiRqBd4$pN6NM9cF(^OVw1$x%NU@wm|GOVLW;v#nFS-2MdFBDJ70Phz+XcUgYkPNnK!Wgpv{oKb>jK!OW z2k(5u{R{YzfUoq$5bb0tPQn4^1xQz72R(#iYGg!zYlS4$@fd-Vh z7Fk7@2D#~8xkM{P;l9?3zSb$^dB&+3G`3{WRR!4-lxY3@XT?mKt4xEF3YCNuQ4LmJ z{L~UkNk2nx!rzO0xJU&#`bdokj2%t9z^Sa?P~1MvfJ-l=cz4hRe)c6%)E)(1zq?+H zL)zD=Y;x4x2`FT|s%A0^$b|*M{h03j3yhQt!91_1Y%MC4t6U_YL3B_zDHj)@62(Op zpSQEVJuT*1G|cdIUGt|sC$*(HCmi1(EbhQAjjX<8D!>JRF7~U%e}QaOAo2Vl^BQpY z2Hw}Eh=0Q6ryH{AMX_i2*jelvZ0y&RMPU4sN!NC zcU`&SUMCQB!t$)MMhr7eFa|8V(P*%yNA}RDblQ5KR{Q855D#dYDT+PU1cGML@d7Gb zRGR5AD?KGEw-l_A+&wfIS(ph}XfB$m&^#|0JQ?I#SiTaoWqG|oxVlh04F}^c7{w>$H4#ZTBu4 zlc7MoE3mT)H%uG;jyCMwyBM~C(9z7rcxY8d0rsI0nyJ1f=yupu$#XT^?VoVY3q^bh!eK;b3V-m zfBV_?7}t*~)&4CF>y8Un+=Hu06-S^Jl=-vmc_v419r*8}-Snaf#bl6+y~Dak|GiKM zpE#uIe2~O@;L$ob$zkY0s%a}HkZiC}>9i0xc|d6r)Z_<2-Uh!?gP_I_r+5v1WC|I^ zf%8+RG%h?$x9{l{-9pS15dkR1r-v@5>IeS7k{b=2=tT!ULEX!dQ$C1AoGvCWSW(L3ZkKbV}K z6MtELaX(qk-JNDKO&|rysvF0%NmrWeKJ#kIyZmsMHd^*)2CWucl|LQdI=zQ7X8B{< zc{VN0X^cP`!}rHbxbwiV zO%K)JBCOHJ($By1pKA!?!7G=a!@}nVO6DLxrg8VD^rJy-z#+NW0kKI?`t4j?QMZ^9 zsQx1LYdqL)ABbj{yy>2E@uF#)mQ`gy(SzmMJQd>XE7~rzH``I!+%U0GfG}D=XnEfO{a~EE$M32N}=C&5{6l)PqIfGvZ1M ziY^P6UPIFSEXB$@mu01tHd@-V(i1$X`8R>+b6F! zE?c+1p={30iG8M#E&m(3bOng)T@drz`EkFQv;)>ZPm~DS+A7$Ra2}7}feg^V0uqK| z=fLNE-3l~=clFy;pSGXsi+uVf;xK#h4x$%^dMMiGetKbog5tL|4{$%sQs6>t`f&I7 z7qP)}=W@FO{rg`F#));er!T>i`Rm{2Htu&09{(QDyD}s3%ztE1wxa^PIg{6M&EWh1 zA%g-9g5n=?cl4t_-&=n^EjZ*-F9r3_fN5a_&(NHN2&-#wF7@y$vnl1oBaG>z>a@M* zVULszn+{547or2|hU!Y8IS4~C5Rf=D3fPsu7<#-vf%dPTT!EzG z-{@>`)ECgygNuX1i-3@!gzz|%2|ta+if8cmgmdfC^TE(&hnZZD`Q`;Z1H<6iPk{Y3 z_Y++DUEuCTlG)iI=#pga`kUP4Sbyro2e8fa?)}ov^!4c??bVsw`LgR(Mfg>6Ssfmy z0m*{=e()*bDEft8{4)F^z5isO;rb%{`oimM2>0fe>E=E-{_z^1(2v_H{d{g3eE3=V z3J@}lY~IY!KfGyHNf}Vdu+Y(RFf4BX;|_iqviO#>yMF!Y#o2->|6LQ)-O&BZVt`Eb zt3aedUpa1W%6T7=_U=B&-OlQDgmu)3kP-;GomRNO0>qP30UL6752Sn#)B}gGoBNZ7 z?MeJ6Pso!8GKnD!-1~(k4v4aD07jRq+F1H$LmxN=3+ia zV;7?Jy(h1m@|%l?(w_%ATNHcWd;cAxeSrMZ_$9Xf5Jp!Q0lDIS9{7d+=g!*6_ibkn zHs0?M!D82*kS;d}(*SNq-%kkLpASi3^1Yw7{onE%&&>L^9+oaA>GpeqzxsYU(Eayk zzEGn6b%$s8J;B;vzyWmsMZVFH8)xw!2!|sVaF}!^sLREsFLJ28iYW2OfRM!A{6H!urOh7UqXct?>UR-*Uj@gT#Xd z|69HR%y#-S9LE7B-7oU3J~ryqER2W9tkh5Ni+pylIeKKaXQ^c>CmPpD&ySLs@f0l4 z(wtdO!Q6Ed=V#zKk^Scgxu29{c}D*u-#%dLaT{;8yW}AXda6x!`hqG~opS6?2cl&N z&8GYgt&d39bRwrrx{e~EDy5P~KvtbHnNQx~KR^Wbix+A-%&xnF=X?K^ZxG-0^3JQh z*Iaud|B-J@pzH2bn=s6#$TF@=i3^}?a`!nWN;M1#!_fhD!2RB}z=0Rvl`=P%;dRx5 ze0+T0KMi>S1(L6MAPCuwaWn6;RoOy2fUS%@9at`aTYjRV-7ql(*To+`Cj9L&jGb_F zfs99@9hH5?9}!I@G0%0=8@aed$V%jdDx@Z0nO5IV_PNbPt-(&Wb*{m6bb;Ppkm#9E zknxq|U6&MHJT9YKcbrh!6n8wgjO$5uVuB03$^;>|GEj@*?W$L+wkltHjavEqQ96%W zt<}AbRzX-AqaAKDkid=Hw(Ju#O~j`a8S6JOIk)3D%b_f2M?gk<)KOpwsB^ZZOkz+c zdV=tkZO4YFhXu~fOdPhcs0<&rRN{nyF!JXj3uKGQyH zXS4WZOs^W5G>hE;Jkc|$#0VuSq0F%ki}2s!q}2{&tQQvL4L@nFYUwZEJAtN72h75@S{`M#KXM1 zB^Z!BhOL&d44lK9(W~_ly(tm&qPaiyiue*(d)*u0xX@EX%!ip<(G*stvpm*Hhurjb zT0$Feqv-qlj9s%_O2@$qLH+ELdE8PxHtEcj+&G%1-iR&&(>!kr-f54Wca7K{W0khs zowS_aEJY~5p=C(D{y#>Om%|LoiOcEflsu<7qE0+#J>E4G1V4mE*(S~&OWI_-JR$Ku z&{ir%31=NdibyzVkkXi6d(W1)#(-8$8L*y1ZKGF&{)Cmt$;vN>{2Z4|OvpSBG%dn2 z!S90ZzG)Kc|7}{SI}#=yXvu+PAxAA)MT}g>fGazwy09%6rXkM9F>;Rt%nFNnz1;NP zRKo18gArMM-5sc6`2pt!S>}ud;g9^$T;_ox>4GDIs+KDz0=)!bteZkYtP=G!$Oh)1 zj4m~J(%RXvB04Dh1Qe$FhmXLjR9bZ zCl84rP;KFZ+W49%xMg->rj|&kJmSivIUM2k!#J2pP3U;62sHOwsE)YbFtI2uUp76h zw%@5V1t%I2?~x^E$cQY%`4G;HL<#hy33$a$kdVGK&L;TWk;?0eMC$AfMN?y7zb7e+ z<38I|0Wjd$`i;=q2s2S86f4?jUKF(`kur_9GPOO~(1mnsK(dpDK~3 z06aDOa7uC}+CK(S6bBw4OHUoBhw~(W>2_&y9-1iLQiFoa0CEGyQq9?KL9dmSsxd9l z|2{B7b(rVFI(#_D)lTDd@8`?r0VS%%NaW=1&kNc$<7KZ>ih+hdVqmE7G9{SpH{iuc zX_0O@(hqyfBz-vsM%$JM8V+leL9Gh@#z=%h>|2+r5x{LzBu4`FgI;s27PBqZKoyk4 zjQ|mPsoSC7R_|Q9u7jc399#cV9qt&6UDr$LK;gLN@wiOU-WJIU?lkaFlRARlFFtS`G|w0-Vk^Ec%$2b1E<&*eILMit+1tf^@6YgB z|Bo>?h4UHnz~P&IXFw%XyD9Q_zZSir&tMnEpL} znKLME&l`331g_wd=_&lZK}<3H11eHDag1boBZbH@ht5ZpLBb?NnGCmuj*8u6m@ps& z1XtRi-hAzyj?rmz|0=}ZXps|vC^C%&+Wh=FULwkgJSgjw(t>IMSVJ;#e<-arPUexP z{3w&q;O=%{uN0RRyK6h_@sWP#!hfxELS(XvqebUNWwX1(-X|YGfK#;i1xr@u2D*F! z_}-nxZp||pMnwJkk46T%V>aiXFH(9Qq+3Y%yO^ML_cxd?y;B_@0M4D$o^7~LEsifg z0_hS?V!)U}wJH#8dkK|)X8k#l@W7vdm!m`{r#Y$}^OSlegQC0}Q0ORwjb(pniQTdv zio(wYC784%VqV-k^}Wk3qPG35Mp43&Zx669ItF0wqtkLTC|;E;B&>d%qoFaQk=EJ} zo{%UH)2p*IWgn5q(j&@9a4xdt@RAG}o@aS^IU#L$IB`6uO`5n{2fzNbw0CuB!h297 zOEp=gw3Fe@Ti3F7z~hC6OpYd*t50LkmhS7^b1MufuQ@Y(V)qhqw+`H=&T9Vm2Hqpf^{VOey4hSl+FJp)(4bUvV>HiA>^gY<${o*-aX`UT^UuEsUgawiRr=*> z%juIeT4E|8F<=`GeoKB@Y2=A-<(Aoc`yndRuY{)l?g411BE5Q&;d80oWG;7(*Kz8G zE2(3oAxEX%Q5WNT#rGjmZLfjm0_`Bol_uz4eXBr6)rXSHP2pPW24jAyH+cOd3{%Ax=E5u1} zM8~Q8%g9eM%ZFhRf%c_${l2&LS7)eT7oAWz?b1+!4JytcmN$ z8ij!!i2(VPJM%~<{l|os2r2hg!TZodq&DH1kCMwDx#uJ9fA^QIgTa3!q?b`;)F1(u zV5#SLi5kpNg)~U$puDX2XkDvh^;W~*CCP^H_A`~qgk<@!B6<1z?te_N9pOD)C^0=$ znBAp=u3^vvcw^+L)Gx>0?^@E%ItqI6m7`Q#E+ZW{m(ZW7Or+UOseq1`tvWNCGH)CK zS`%5gmkhI7tmSAYgRm^Syvoi@a|LzPij!g`>NIP(ibEi&qZ+kSFNpU@Q2S1t-)|cC zcT0-UNDp~k0S@rPHk!pl;_Drr2w_J}ex`{ z?y$@Hwme3(d?kG@XcYA*vUGzcQM5d8%ti&VS%W|kmf~p=mbXzW#Ey8aTUwk7c$VFl z$C!khHX(;u@R`D6w1J|T!eh0m(xLFe(c1bq+c=mr>Yh~0SSV}-sFftQqK;cr2>?;b zDpc|rF}iz&lCr+)y3l2v=_+=`+6cum@4l)_@e<)Kwz8yBn?5F|uG@IUdek)Thv`3E zIFy(Z;*(u&#Kk@5!>!ySt3}1rj^)oL+;fuHON8^{UaEtRkir1&1!Q65`r&X;<$ zbe>I0DM|(To!E9LR)py~0y~0N7NA|siAlqbZfOrqkC@Wh9>g0RBcy&7BiP0%kmff@ z7ya`KPOJ;VuN$j%6g3gX#Oi4jvcO}CgHvRG+D%g-+!P=#6|0DkrLz$u7aCWn(V0gP z1O+THlJ|*{wAiONp9PA2|0B~7`1;^5$5U9BYHIWqVp$0-rb9z9s#ZcoTtdgbl)D>(H%cS!wmgRasZ&%D+;wvRR4P ztjgG|F5j$a->kGnsaP@U#ax$vvr&JAjp4po%d*uXveo(`-_SN=09zeFaScJA8-2Fw zF_A>GQKSdAdRMmkj<@ z>cgL3W0#jLzy4afvrn>n;G(-#-qmBl&ev1RYaDxG4ANoQJ^&jOW8^l=Sl;x~gIj025>)p%55?Q! z_x_>n0~E7=mYZ9&?>P(4@B!gRzl&U*&5+~t(VM2vz&%wj~G5_Bvgw4B0JoKiFbU^;OTRtjnsI%qqn3(>1X{f#;wH!=RP7bUB6*qvf8$!hmm85Jn zq%1VqEwvBRwM%0~0ftmLtsQ<#c;vWTkK9W@KieVQsEq?WkexrfU68-_gy~(#pX3-CH9S zM`L+QBXb`k6H9CTx7PZWj^=M2&E2eZEN$$p-`ZO`I$Aoo**ZAdIl8(zTi81~+d6t! zxxRODb$9c$xA1)D>fz(;8{+04;^S)n&hzDyulKw6KJNqkgMtEr;evC5!J%PrWwlH* z<9u(+5AJUHL5?51JU;mPg+?I4Bcmf@Vq@bIO)3&R1@& zn9CFQGUBdot^8aF4acTYX{%Z&RZ81Ds&1=Zs?;o1DNt#zS*az+vD%q#uU%`j7>T8+ z)#2J`wO^_+o$09G%D3B_E>P`k*y-_W9G{!%Y}^}wqu>O0y=yuci6-JQ1Ge)YP9!s_ zeo*^aayXqWPswl$LW_i{&Duhc;Qw1!vyh@s{iBrUdnc)4o4|U ztkp-UYNBUHX_|^0$LYFy4#yb=cGbt3CcbCKSr(BTC)qZc4ktPG71bxX&K+kbdG6yJ zU-P|J9ljR$om7AQ5cvJHbdc;mccEf+pW$?2*c;P*uZqpU2Ii@51QE3We+sii7um*6}PKw|k0qd_=3 zOsU~KwWqd&>NJ+G@zE;pg4_epgrL^mfBDZ}f1AL)0c#(I)_|5wz>oYcKeQIfc`(Ik z6z4_~eW*Lw6kHW8cE{#T4BKKO6+t&o9`nLlX00*A3rV0$t{Q zeK8s3QDVEgn!fBHjQ9-unk(2Kf3tZrW$^aDWxK1#HH#>o@9Q>ME*+~3sPnb;&Yf4j zb#D)`>zZa4K~Pjx?f|4`dWy-Qx{c*=(*~Z5uHQV|+SD?94JXfa*S%^e{65_mcilG! zOc(y`16a$JXcVMWCKJS1N5ujSAP5jTN~uFFIbPYw>(R(~;eSiqn;Bo5MrJJ*0~%^{*KTfuBdy=$OS7AF8I`9k;dMYS~yT z)8zmBa$|!ckA&@}er?YkN84BuS$|>cWLzfx;m-A2)Fg=|$$|9-O48TS`=95bCvk=3 z6H4QPx!>aLA6EYO`3#75d~=@qf0(+KKjw=^OAg>G^*Df1J1~F0 zur4=)L*@szBS!8a#|NAU=EbWp62xql6h%o4t1Cz&-uk(_K!iAAji)d0gi(h`Roo&3 zqjB1D!qsq?DE;2Dia!TFysc9jo+o7sujH7qQ~9E`+GqG3HACqd8h`Kj*_+E?W~2dC1Jb38 z-G_2%%qs0j)n&d@&vMr9Eby^Y%VnaEmD=%D!YgBnC6aoTy0caK?NcjtSPvEYCrtXi zs;f=ek2MbOsSJmm<{HZgf}|%#*gwdub!|S@eV(m0d!AbB`~6rSj9FuWqP9Ln`qU7` zaLvvO2Wb~2%yYJ_CfoUK_$We+m+?6SNI9@E=l9eM#jJHuQrle2erl=EsC6=!-dyc^ zYHhHE)dJ1jqt%6>O&t;}?npX9=NJ?=dVLO-scT8-5c2JO3lkia;cOZf$NY03k$ z|Mth|KIT^|hie@T;oyesamScYP%yQ}%#q|PNh@upLJ|r^I}KiEfvwm8wmA2In5>8a z5%y}z_s@cev6#`FR@rIIw)Gt2TA_~13jVRvc5^8{SQmi^Rcn7N=lx!0>*9ZUJd0cN zGs)ukwSBaA{Cj5hD%#RU-O?~=cP_WY`bDMAxP>urzjVqYD|5??n@NPrnm4JK5Luu* zu3Q--gUwNQL~xpWwi<<2Bj!{Sj8dy2>6~|)20tywzdju)v7Fs=ebV4}Mt!KC5wc6S zDqBgVjf~&iHDgElXx}Y;!~5(%`nOD|CfXP%`iT%Bv4JPwXZ8$5{(z|JrF8=4OMY#c z^T&Bq&|Ci7>iNG;D2fL^v@X-s(LTpz3h5`!;o*u5lk9QuX8KOr5*lVS8!n1L-C~Dg_<+J z$38C6Oh8awg?*jV+%Prr)}!YM!@b{W*>7aEezn3KcKgJytKaMD+!y*tXI-^FZ8&Rq zH~X}qJ5dT(TlT&Rc3ZB1EShW7{1MFm9R8Z88gZa;ze3S7`R2dowTA@z7D$1&d%OQ^ zFh%f>b&Raq5N>X3hDoYzDpF$*!v72jOz7~e7Bg3WcSvVh_TA0PbEuhLqQ+jG0?D#A z6@|5g&G5_#aAr1rX4HG;gGdzMh7!_h@8oD;_p%!N$-rmI%g0B_nzTG{ohf9;Cv@g9 z@Sr_(fj8)QjrH_Q=)7Ht4+!8VvJEZf*tX)z65{;bOoB9Mffk%HY zjkdz)7a=TcHpW#l0J(2s`%UCx^i@v(#lJ5j+|%BlAj+;P-QDUbyxl&c^m9bVSxCuB zz&uf42~y;8q_ew2AR$v^-)9p~hsdGxP_B+hz<|{By;Kl{O(;`S@cF|6zKgM^?G~ea zNs?_h1hqa1l75W(J;IaYQ@jcgNmkCa`b?&D{1d4SF9(FJ{T8|DvmNbea49jEG9n;% z#jDXF1Sk}+lo4YQm1uwFKcx^zXm8J#9!pdn@mB6_yp6@41P?ODc`3&oqbPl%S5l8q z`j^HApPmdL6#T&?7=p+L(Mwr^@b|y7BrM~LKL64y2lKk{mML-9(Bo6bLRLqz{?gkb zBTT}Php);FVQZUr>w9)PdqjRzOB9M&V8A@3Bd95|Q*9zT1B%|a#LWOp^XI4f*X}Y`PXO~J3w~dT0 z+6+IVOb~ZEjeVxyWJai?#}~&BAsd+h>CBkubj90%NbRgxmMntk&sb@Ze!zEh8yTsU zS!KT2%oCZpA`XeZ4sW5?(&+3ak(}PL>}ph-S{0jmmdr+#oW5T_KdDRTLv#2KDU>n8@o#{)CdDTb=Yt*2({LpD9=t&xL z-!XGNE3cz9FJ&bU|5u)PI@YOU{xcMHx)t@-BLB$(qdE=qmwN%?CTOQ2e{>Z6#J2#2 zH1~(E$L*y4y^5f$upn+*g7uN<_jjoQ!D)eZ1lKir; z!V7+k8|%0e`rHY60f2U}(aMmDPNPBJ0M^v{aPj-@@eL7`X_)LWSmj>u7E?v1BE?*r zV4f-H-TPv}Y<*#;_lj+Z%E%V8pM_xZ7E1AiB_hhUS51!Z@w8MbY~|4aruvExM&PCf zEJN0Eq!`eKJA5%g`R@TVKf?4$pEA4jvZ@tKc2-b%E2f7N=nflnJc&8oS%ioN%Kr`a z5iR%aDj!-cSGE<58FQFCbqGCY^T+dzsxp-=c2wGQOh%LXYp96a%gULtVk(!e9_m71jY#K0O%v3V?QHS9(t6_DyByXX!$HKYaXD5$M1X z#+o84S|WZfy_6ocD#&{{CagCe6^XAHiSODsEX?6+d1lx6tR$j*6xDn03ak)C<#r3$ z55e&<%YBcTm0iouTC}YSgYJT>c!O z`d+_!8RQzV)<{m2Pf66DG>}`r3pLP-h>J2IT`I@pr6Q?5bIO%hoLYMV012jK30vWX zXX|YF8Es2bZ2IGDZGc$UF{6EG6YF$SAwl`CXt)FmWJ{Lja?v^gWANH0=$|8)i5i5M z4eCq+Gr42ja)Y*YvK&#;BLDLRv}0|5nrhvRb{8F3_`#tsbdqq9hbguPk3NL68CM}dg9C@PEhWB;CI%5va~W&j z(UeJlQssUy*iWp}j|6MI3+pFqaj8Q8qaWCBs^9daUj=C({#l4uc%aIEKm@3ORP8I3 zDMPR+ju#>0VqBP565aC((eUBW%|y`?9#R)+2Q^^bvi4V$V%!2oc-5i58){n!`%1Hi zrxh?^NZFW@>QEl>4E3bu)5?zL$&R1ZoyFlJwXGxSJ?}L!bjDulFHoWebVv2oqr#8; zqO7&SR}JLOe#yeoN%$h#22<8GGGyX|kre_WBV%LjPB+HT6?d?=QEX;bJLhYyr(N06 zR6ApZNw7N9!vrk#A#*Xf^pzVc>vv}j(qxIk?3&2r;`>Phq|w(Usi_zCf5Ve`0fK0$ z%5!}2xe;vNt>V{-xi;Vac}V5h%k(_#usAVn93=Bk@f=%QO!)dMc)-W{#IN8H&@zTp zRm2J`aSH6ROUf5W?`VLZ@S1tfnki|W3E!w43m&>3K+JL;S-GC5VwhZKf4|ADZ-)m{ z`qYyA$wmm4mP~OG7kuo(#G9zREU+8UEn_D_TP-{Y53ogA~!83*0>@?B%t=exi8?j=7s9O;I>Z)yL zix@U46&5}J>Url1OCo3LyXE7SEc zTZ}AKtUTN5XO@X(jWQE_xo};^V9bJ#m~V0?y1Cq;rmQ({0b;`j3Q0;_b}J;9}j$D*YgMta5>)! zic+6VBm3ibB-sud9*3KPCtfA6o-__$YWJ8VS6TY@*n+?ubtVac1&cFAvg%OzYA^=n z$&v(EeD_HD@o3fdVD{Hm^=#1vb}x#?L_hTSl^fKkn(xsCiVIwTJI0fv2 z4f0K{T=L_tjl|TU8R(~n@kblK_r+XK14O$@ox7YQbNd7LXT(5ct}C3=tCnC)v;++1 z+zCq4Rn0l0^dziC(rQ)Lj(XVTtp&yy0Mwi?^hynChFz|@oGjFuvn^$*9Sm{aWsR{ZHW>PY9p*b+XNz&N?;7qBm@;11$Kmc`hYc-(nvhZZDKWO}1 z(Hp9!M3|M{Es)W85iwY-$B~9 z>r<7AL11*Z4$&V*F_=dJ{{W+TKgwNx2AY|WX_)|n3X(9v$a^5;pb>^WBPMe&OZ`3X z=)J<}eKqROTaG=xy~-M|pI5s^Cs$47&`W$S@SE@ZPHC(_WxTxu@{`?9}U)q2Yl1Rm=H^;J zC%At~x-5J=Jga;u3xEF11%6lm%rW{Lr7x(YUo$fiG=`f3Z~Rj01-}XC-|s`MY`rxP z0v}>O&?WqW+WwjnfA~@NYwZ2a-}%=fh5baB>9f|C=Y@jjif`|$sIqPNY9dA98l*lQ zUJJnAHXJWn zFv+`9^*7(QJHleYFpi+oV|aYme1yb}=xv3#xPSiNvR!@)fe!14+7YqfhYr_8y|4?? z!`P`uYJr;N5PU3hT0)7iBz1FPrC85NKgWp{{wl3xty)g<9221--+D#jZ-ouSc_Vd)R z*v_C_HD-~vsVX(OiLz==`I@n<+5CFV5Vni}(#jCHAK1 zchH}^zC}N$LfUnk?g^)$;Yt|IIx?Z5Ae#X$4_>;nnD=p1KdtV8EBmdCETnYgqd){uM z$U$20r)5<@MfkL8!|JiJ9YJtRdOAv&t?i!53Iyat2ObSGm)D&T9%4s%<~gJ@b$$a= zpH}v7F)xUMOj2xUQxoez4fx42tdmxwG(uZ^TK53!qG?Tw*5@s(7yM&5XDcJ5&b zWd(!kEhSQ;z0{BTB6;CLX1+@IX+;({wT^}{jKT74OEF#N=Ea%0?fZz6C#vK%iz{sf z=d6!UH12p)PsThrglocaROdgoFBc(8J4qWWmd5Sn%(Zh{$47Q zO?MLH06Q`t@9*)IAv*c(-^htNJG*E9T(}gccl~sra;ca_YIau6ccN>0ys1Tr6!+f9 zAoaiVC;JlcWWq4sAwDe->8G~9w9|9Z!GIBTe?WwRR1k4Lsi67^WpkW(t@~7TEXC`r z&p+9zox*T?;R&X>i?izw-DBW1tLlo@%Kuc#kwA6OGub*O#!du5Ve_n8GusCk5Dle$ z3*JF6e}O&m_aV?;1{_Zz>u-J(Ihaihd@NqSW3CWKSG_>|>pUS?l-6Gl3H1sUI{-K@ zOB1GZg`i<99(b$`kxOu!)RIOC3ud;QQr~=_}EKL1G3wHZ+EH#c{znBTszzE}POrVfc1;^BSQq9mk;i}u(e`7y3SaRTZ} zO-+^uLljnsS|9R7$l5397oKQwNsbLnq4@14^}8H-Ec=t|z#W+3pG%7U5FoY4?@8kTH@&upiS(b$p? z1HK`2vtawj9TDd@jqps|Db<)vMq*iSGF&*Qhjrl4&dR;3!SH~04S1*8bgNj=LlaB( z8)QvErp(?NJruS6F=|PAf^k0i+XQr}c$U^)#4Tky@vtm8z!?a+E>k)B{;cLhchptQ($1x2Skq(n8QW3$o13XvGQ7ErvCoU1wB&2L8EHqME z8Z{suD8Jzt9Y5PbbxS-b|NaHrTkp(LFbUCu0T&k?FxbS|5QWH&4k5;XvZRfE(328< zUlkL4a|OV9%b>L>(BX3_OCT&Dw~M5>lBWrSrhfIkO`sGAU^=?Q7| zoujY{MMh{TZE|!s6j&PX*C)Im=x{Sbkhzs>hl$8X4WCFmR!EsR}0c6VL2o&`qvX_07$77u% z`meFQKNO-cX?5VWxh7D)kFM7$Nym8u?5JL(QRJ+5%pU?u0Ake5ncx1D@YiR}M*mFC zktpT@;H%Mz1H#~+dYY%GvuV3lI9%L9fB@nyTFOpX9U6W z=8I2=U5NC{kQ-sM@7}c?6)1SDz;`C4TwHSk%ZFIwO|0$hJu}ZJI1UHEXEFeU5a!}`cgEBr{3}G#br2;8XA?$7ry%|D zaU;+@kvJF=qke+8=Netiaso%!JzOmo?U1p3n9% zaG^iyyd@7^n(`-Gw48S{jBiaVgsNDHP+OOC_@vR&s^2?y#g87dzrRFkiuX?ae$tfq~P)C?)f3OInrQjvF53+ZZzx$ zHVoP2PoNbxj=%*FtfK9oaC||ggydE8iNDaHn55x(7#P~VC)TGh+~>*GzVq5}Tnv<- zk-MrE!e^5Y<`ecQ27VuYn-Fh4A`?Ee8i~J^ye*F636A)^#8dsVCCWmoC@kuoN$1m5 zs18IpO{`M~LnK>H#E^X;61y|30$^k!^5`E$DjjZ)J!UBmspN(rk&Ei6g#r1aP*YRN z{i6)Rx4oLIB&n3VCSTkUBSgdy`%5Nmf4naADzF~GrHsp^||GVKW3%M$f zVHu-Z>(1bR6>_duZJV3Jo>%P`{_?@oRl#^2^`U(}#Yif8Bi_Tnuh$&O`0Z-!lJC~# zV*v8I_qD#SQJNn*wE3g-w;L0Fj=q;yc$n_^`A#9>lR~tARD#-6v5m-Mx5D$0LPcE1 z(-tw3o-{JPXu((MpD~0Vui2QZWAVvlu*tg{-_*jsFvyRA{-;snyAKnLNL-BEyY(w`1AHFQlYYg^K11~hMe?CO{-l1 zq5@Ej$6~AqPff9N%tX7mNl9}HKN2H<+`T6y)dD`t=ZUtK2~a^>=_9^H5H24g}9g5`fT}}o+xrd zmE%i|qd$EG_@gH^Fp;nRn!4K^7dE41f96;SV!wMfJzS{?1uH~#&s74(Ea}H8wa3DQ z6(97P>TK}Kev1Cq8+6-dbB&YvRk9@NRgb$3=R`l<;@S1I3D<6{WK|5X{yYwEJC6{q zjFzW8cQyaVeJ1Ji+jSG-92mWR4@wyCn}hjd_-AV7f6hM<&w3OI2Hj;)0*GVRC*BTX zjNRqkyW5j7_zy&RWLtonLlA@c6)FavAI^Q-&brJUBY|T4^hi9q9h19!i%G(BTIzF` zEp^qNQ(W==r-&k#sdLVwQV-Lbl*OHz#j4y2QJnLt=NJa_JcteW5S`{OdFpQ{*sTK6 zz>?VTuB29Rm;}%r64y$n6n0zf;@R|T88cX5o$|WA4WULBiJh!tkdR-m(n5(!7`Zq} zc4n)`SFcTZR%{-kj#8@!Yz1o90@0~g*!~R7j4XdC5$8h$pwBMrzE6DD%aEy~qukMe z|DHp}a-rCLVe6G6MO|o@lr8U?Bb&V=;I$3xvYEF%8{FJissYY@sNIp@-2Kg+c`W%c zb|irqAslZ@G!q^G7-hEAyhdBgRqM>2=JecIWq;3GvE6Y$-H|8P+4k1#{WR6HB7ELs ztjz~e`V4u9GZ+dtfCz`0pNAJO^NN~kH5v{!z8go0Qls=#+hNw55>TqK4(V!9YZC_& zrFO%n0;Ae;M5QOffqCLs>ml(9+J1-|l*~hnHF}BKGqbqLv-I3Mc^lh-J-fE*d_UP! zT*TKEWV6$hvHud_jH0IK?iRbZ+?MQKA_-W0FlpS^>foRL!eDrXv{wmiK4;iVZP<_t z-M!a9HKq>v&-blVjf_7Z50OKkr5xOZb|=KpawxvA=(=^n%U9-_X* z4mZ3dyW&gyHzedehI4a-w*7cvb57MgbV5|)b;#f3eQd%597fAai4ctn3oL!hmQD%yH|&rp z;*dH0kfrR9we65??2vu+kmK}_^XZTa`G^~4rLKLbJ%LE4XdO#@c*}Cg-v*>swqi&> z5-B?pZ95VhI}%?#k~lq*d^(asK9(jtmSH@W6|@n-LZWs*;y1J2ay(Kf1JX+#tCSt9 zwjHaD9jmV%s|Z>vD;_DDQ-F(T{Q@-=2d z>Ljqb&yyK1Qg)-`un1S>Fjp+%8Bmi}GVMbJFS5!mvXS@awC$H@b-n}*!-9Kb-o87r z9CH{iiv*nrHP3QaFUs8=mJx&L2KkaSqoXA+tJ<9W6&>$39P-;HmX}Gae_fVBFRK}^ zn(9t#PVtgO4)-<}huU3D>D54G*5 z{qImC93i0LKgc-`7xQ1DnB)y`{^vL8@W`3S-`FN4Hz_q86&)iL{Tth4#iMyMn}T>O z!X&JMRLs0otU^>m{N&sc3~ySKlAN1_T2n!2xi*xe|iwokBs8BJ;QE^M-2^ug6%5X}^vWls4 z3%;pL8$nqKaajpG1#>DbdqG)Qaama@IYn_r1#v}HZXI*(H;f7X4`XVPkeiUdJyL6t zGf9((n7m<3L2?xaW)%i5Ek-^SP9YUeQCT52Sup|GH;*YOq9P@1$iQsE%4aCVZ^$cY zC?#x1$7IXQY|G4L!^!MMNA1eW?8e1z$HnKy#pfc#Y%3sSDkUoD+6b5^N-$kU=>HO+!qyfyElXBXm00d?rQbU z!rIo-*51>KJI7@Y6x9~>GU9T^@S8ylaP9G{q*n4FrLo|&GR znVJ31Y0i(2&reRxFDxuBEiWyvtgNoSfz9=ejjiqN-OY{N?YHOc|G}FZhdZ152M2G2 z^X+zaetvm=c7AbjeRcKy`}a4<`Tq_z0;>NHRAj<^A1#l;j&04#kEo-l zOjHh<27DwQy$I&SLUNzHZ>W~1*P$v(BVDMOYR3*6y8N|7Qwmj6Vl?Hq$5E%uNDxfD zuy$q2`$)5*aY5v0K?qpk`L{tV??)HhY3sgBKD00)I!D zV?vLlkdzD!h5Iv`)CPWdJo^S|eWI`>kq4+Mj?)>gyq}pe0z2vIdwSiCUVh!=_%i1I z3pvYLiehuyqR5njA!y1J#Qgl$6+I`!tO=4a9Z@;3ZPZ_^>Mn|mHu=echa>i%&`z1? zQ@qx-OXxzlPxXw3LLnrESqC*FlY++|NaW>1%;cP_(#rh5RiUW0HNdej>C{gd>7^!t zGp;-(E>NhG2A@cDpzMPKxn8Lz#Cn>y$VQoR^_R~{LC{;2joK{6n%f}^p=)l{9B zKd$9PQCsAA{91{vMGd_q_^8>OM=)EP1 zGyl&}E_&%aU$Ll6G z#Ll}8ico}~^VJZ!s|5os+WSemmVju~CRDV%x>A2Dn$!p!C31Je18sPVT&hUI)qm;9Gt=c}@8H+eoPwI5bROcq&=qVWL$oS_bIu+bmS}>p>zl ztmAGL)$=$Bh=ENjem{W2ft;h@dCf&(JgHmcP=p{Tk8_{0Ove406tn7v#tee=s=1Dh zQgaZCjfy~|_EmPh#vOz?7=~%9EN3V_7$N=vcym9YwDfWtDH;}!p{gKn$ZZj=&=Q5C z7M=^=q^N~enE)>V;ZjwxxBOse?Kt$3#GO?5wcrDgiE2?sBcUw5zLO4vtO$jF{bK}{ zjx807&@^}xBgq#*hsJnbDvCWNn7WBJ8L&*jsDi`Nlwy$&VSq*~qw%-0#_-aRB-1L` zh5m-y>(aHVada6qYMf%)AL8wxJ@SbnnB|l*y&yA7ZxTLBfsk2*ZZ4*vhBw zO9l)Th28xrM>%kuTH1$8zzi9nvQr*6Jj5ZCkXB%DeL*z_<6Ct+q;mRN7vpqL>q+=c zaFLPFGQp;Gh96|Ki|{MxY3yXua8Bue;+98TTZnR-&O8S^Vv8$4kY$IK7}O4Hqik?# zQD25w(;8%+;_)IFOAf@-q~{_tZ-Hm{<)pc2-|*&s=9|Yk$!Tw76Lj6D>3z18b2gld z(rgJL=&dkexL1-MVtx;AL!TJ&PF}umEIE-qGZb<5*#c~-q?%Q%=M-d|}&p7X_@%N2_p z{F2<LgJXSReR2?d)jl(!0HvBAVUkVoC*ps4y_q zJ&nWf_;Whle?0U_=E0f^WIAOha)rXjS36ky@iS z$_n>YP8ugdIuZwZYwSs~fxQ*M{XWn}!c&GK)W)!(c|%{~yYoY^wn*K5dxLhxR|;Gm z4Q{5tNy<(AOG1>Dj0i=7^1bE58dL;+=z3?4_0-b zcGTFQRzt~eqJ$@a-^&p_c!37mbWo+Cx!|Xbz%j~)0$45UoSo11(UaF+i&k+Yp(+U> zhZ_wcwJw5QYEi=K5`UNdhU12d+ZpD9?}Hw7bj~ord9HrDOAwZ4pLr$N));t%tdfuHY z*S6lDJ6=Bjz`IP>&;6fjZzHr!_KO8yj%g+D4E@EA;o4tv1t>dH#zz8fzW+2U?p$}^`)wEjrvX(-3buf?fQUd<`|Yn(!kv(=XWwHFDEU&QUua1! z-aBRLlQSjodL^n}zQBTsx@$m<2DMd_j}a zE&XONuH7=+m5P5c^N zl{4R;+UUGz*n!-i2!&l)aWMAQ{8pj3IKZG|rl8K};Es<$=S)JED1r?%^5KZ+rKeJS z1Ik?Mq?Qq+jNufV`uOkootbIX4Q*Hw$5FSqgJ>)K@31kjGyR{j<-P=m5WQdrLPJpocsPAz&e)3LUF)Qm&5EL!YV)TXJDpf&J1;L4#f>43qwQ?_f$4##2Fkk zcsP@YrBTtrr+JE`l}lrZV)9oqjQZyu2*bk(y$ATaEo19shPcyU>_3Mv%Ye|LFn{t1 zgzsZ@m4oaZAdEmV=ZOf%qX?H~9Z;h!15TJAvHEJ76WTN9K&TyCvU;)(Q3%ke1D9l; zo@CK8c8=a~0Q3M~N z5-LIj>|Nj0LF!anO)b%&2utZi+3%qfRikuJUmrg}!b( zJk#8rbIZ9do1h`)bBvs<^FITk_Vgqocyuua9B)SJf3$j&nFO;h*agrJN)a-Xw+U+% z{u{(NG%tSG`zX4%ke#TIgL4@6Q4}u3(4WN;Ym11q?rk%3Af6Tvi}oBVi<$JNa42gd z#t-U$2wFw<%-%?uusuPL68#TNN5iK6Sj8)Wo#1sXUcm^{^Mdo%~nluJ3 zqRu4SHY554Bb>YBcx0T%W$YDT(AxstP=gal2IB~TGcfP9ndyHEMdK^c=0i!?Q4X)i zLA^`z-?=3`xbf=+-7x==5h!#<-PEEF4VLP!ZIs)X|AHFhDg09gzJbN~-&8 zdh$M*895f6h-3@S46`WgQ-sFY3)|4T^Hn&$;*#|3N^)xP2axuAs5YqU475v)F3g0} z;f@t~{*^h)|0g#(D(o?yyEBu<3Ni@@g*fI>4P%6NU}mGnFf?WrX5to!WShLpzVgnV zE474uLU@0XO$~3wETC@cYY4Em((_aghWns~^R^Ob-;Zm=cbd*@X>GTkJXQ9wp#d|G z+0QKm{XjY&gcJHS5Z_di`3^|iJs-Xrz!3SXvfx7z`LmT>fUi1cVJwi8!sW@X2Uo>I(9D?-hr7%yIW-4WmDHIwBcx0d z>tmM5Iy#GtXJWdsnNMDAdz4iw3Q(YE3)Qktr>J%fl$BL<#KPOb9rU`7fx7NDf?don zipvWw79^f?P_b|HVEj%{s*UIAuV=WcvwQfC#M?uG~bpoVl=w7BBPxfS$PF zcfMclsEivznjNNEp=w`Izu;PU?^-lO_R8mWn-R%?6pUKrhJ=E%12*fKbeETn8wbX* zeRN08a6hV|8ai~>abm>r;h?^aTVmEeJjU!|!elKcr4bI{EHPJKm9>AwE*mheDXjiS zU4G~o$d=8MzV3Ivf!SFOYUC!J6vZKWCA{gZF?d(e65{7k>U|6i?&%`!BPC6=Xs8Zp zKvRR2W03J)t^55BMsL_hH&(_Zd@U!gZYG^>j5%s-wiXal{>&ni_YvIm2V7ogiFVx4 z#2C{;_pylzA+?q%74xnkpQuKDvKc42k+rc=QcOU)8=Kl+$H~6MWCFdess(ES{U8{$ zw+4E_#_GUE=pgXY^lw4G^20PH?b>W=u!PL-W7`myGouliq2oly;#!ckY4Ej8g#~z& zd#^+N!?s9uoiWT2yov1o(gr(k-!I0eGPSx12C2G+H(`|)fU2SaTW&T~?D{-sP$#Tw%uwe^D zyxpzizp-2WyV6i`I;*=Shr2iFI-SeCYb@fwclaH3qTX0^|GUNLt?Fr@?z+us=)UbK zA?sz~>8-bH?p!MeS>|^VB}PrR?x=O`T_qo?`Of}sJdO4KsMOlo-lyUm*l^p&+l^)Z z8S58yC|^zw*DLlDdjFhS3d3YS^Fe=|W#Kt7PWkQNd$CkzneJ!*ZaSPkOm)6ve_mN* zpN}ZrUF}#o?t^tqjrl|%3pAYifu33=EZUiN=3n9FQN6X}gL;3$o5-+?;#&VfL8nQh zdU1u7WbM^Cq&Z|+I5LAT{sUWA*x!;y&l-2A4B{0Ii?Q=byBp_>jAj4tzAG2c}MR6Xhw+#PyiH_S?g?%*!?QC}2ZuXxM3N*p) zb5`>|8`_Tq4QWr%M&&acjQn%&jDDHG#+mew9roQCtGg?zEpNp=7`>>#jlIGijq5H} zp8}D$yyt64AR^t=j(XVdEW`=TKf?;V!sglXGd!Q56UXhiZc6Q$4(=wEz4jFr!>PLV zh0nzu$3VZy9iKD_m{xDYA@>fq$5_quUlJ!>HJPJ3$m}EnCGXE3iQ^oI_wUt^viFdN zzxwiv;hg;ejjGO=RCf@~cKkFED#eih{i*ieyH=39b^vjr*m9H>2m|5#C0sRGU>O|C zcbM;ro7c*jM*l#HSxaixgGH~?%eyrpkh?I(zC6*h@M&oQ0Y_elTmJ8G4BWC>&B08j z0qIaf=RQ++=N}Lx4i~Yfnm2F>D|uc=e5o>dsbX;Q))2Qg$Nz$Sxp2ExK5tktaQTtE zvmPh%(}ZQ;az!Q0N~I6!Ov5+ct*OI5qtfxX4w&;4PSYToRke=vtejZ=B6P+X^OK8>7gW+==ko>5gQLRBAC8k#Q@F@KmqF zWX2fX&{(C1+ilq2X|8Q=&6~xM**(DwI@`gP%o{<M%(1aj$xg{#mq6pzVF+_@+{K{Ak)&SZfRGDa^*PL}1*FS^7>&SLx4LdtyMj zYV_kIuJ#b%}2s%n~y(<~KDZHC^`&T>6N?iaY)ohgea&q2K-sJ|i7x@j`o zUp2eo{kOSmMmnT^fj5nIlXuZSH}GaQfj0}+oF@|pH{0UhaiwlzC~maAod}u#JZ7JC zgBz$txk;(?chR_q2R$j()hN^put^E9y0%ddg(O`(knSDfb3MA%fA=W(={9(0THp_n zAO#n+%9!6{@;qSO9oW`$+u!gz{_Cc`Kb13kj?Vx7{@=-S!kx9mjKLRD9`ShsNm7QH z@NDs0SvSZ8IuXSDCClSQtJ^a&=Py30N8HBM0+fd|^rp+oW8QXa{Ve{N zke^7Z7pdu&sa+^*`U=D~Y1clKk3mHu6gSkNlQsEG2@8vKI8rt|mxNghCZ~=^jw`0Tu5%Gj zh8H;Oj%2+%)6AC$gdvjZoonZ#0RI1>MkHyy%jIz7ivJSDZ0tF7-}0{8=SbL-(F+&E zRBp4!oT=n?d!ibxwj$jG#{SyhGHxbrp|Ow)emyI*o=TaRmHe)>=Z6$sMEF&2{fNOpnSqJ~>< z7Sk`|S0*e@H#y4mSW9PswI?;*L^t|c0m_*7+i2IaQ)%cLy9FI3(~Z}e-$u7N{+B3* z{aLR4zGp7_rDbJJocGsy46-(7A%Klix{#g?dj`9hF~xn0LpHR9WK#G^P}h~SJt>EI zIHxSuT^#DMe$kk?O;XhvIglLHl&*ZJIE0R*Ga->Juk8>5Q6E54`WuAEJCT1mT(A7v z5(7wLpx50;mQGEbK$hm6i0QA^4W^d~|MN3MEt(LHK^-v!H%S^gl51Uv(AwiPi0n+y zLWW8g2Rjqn6UJEA@-d1ZnTALX=vBs1=~<=usRF?vN;Kx-Y5cVDB?PQB*>A^Q3irJpx(9$kbFdqBh7SrGXkQoiLElI>X}E&TZ=yoxH%GtKq(*C#5!ssnjiQoORt z@CdvZ;ng;l2(ceDTxB_xwZfVe;igPZg{bg~l!9zoIQNTc>@qUIQ%DRFHX--0dX`;| zr4b1Y+_2562Tz*9yPv5m+W~4k!~A@O+|HDaGJG==vNZG#z7|@-HQLN^5=ZBFgj;TV zOAdw)+s&AC*x9o2>qnWUg-1uX65Cs?%FJ=wMBpGlLvo9-=i}%vK~+pI#FT}Sq<?_0I7vKzM zxM(UDqc#bjxWikhY09&KXnsT76f}roxJFyblw*VFr%|+QNycdQeAQhG-(CIjg3%TC zLzxz2;8E|^$CSMZzM6)AL|wqmXwVZK#liAwm|vV)+NLD(p|bXGrP z|K_Wq7*tW*s8x>^(HY27`ih^TN`dcA_n@ZCrimnztqy(5GNs9yz!(PepzfIBxH-E%pN^ULAl`}LhyAsTI1lj#R5Fp5N$*^yvZayVhle^vU^ri z7*po^5ysWH*!WK-*m>dd(cIM@xSeN*>z>rw!8kN#slar}aRl~V`8XSSAnu2d@sBhm z4)`I(zZg>%+(&g#2}aF+V&4bH;JW#(Us2Eu?vFw6xoGHHGt}6M;8mbQWkS7j3b;v; zis>Ln!%TWv)=s<^4I5`NoD(+7K@|u&0b!H)B{R#Ss$r4?t-3-KhrLLp%!CKsiyD$_ z!(==5kX0725Q>D?RMos|lSN9dVobEy)*h2aiyq7-OI!xi=(7vY*(q5O!m|p)rY}*^ zi;)(wOxC1yRj`|+b&$K5WC%@|Q~zNj!^DUpAFixPn?~?X4)iQyNUdk|lbqsI`CfZX z1D}S9f#}w7N+-M|*~htr<1NxV0Rh~!k$UAnqN((zz!H205q@Y9Pbw>=fC5rKq-r&= z;?!3yR=(WR15h)uYhi9d#U)ifa8U!5t_HM#kpjk#{QA-K?`Z554rHgMSkX?sYNvAT z_`@sLe$&!t(q20Um){!<5UMl)Y1oC)b1V>Vl2|1k4j4EGzWI!O%Ku59^#3t-S3zyI z55Mmr1PEH7XmJRxr4%Owch}-j+}#TV4HS2G3dM@MYjAgM(Ndt$QlL=M#q<2%_g!o6 zJ!@vqT$96`ZWdJ&1!-u)c*g>H9VWZT3@&>A?b2av%`kSO+8E(%PeqtA zicIm~ZzFk!;%a8J70YUoG*p{U<9lZL{Sg&!E>cQkmTbE~=rz5TY*nf>+hNU@h$@3~ zc7H;??OK8QP7>5_0fJvlTUE8|WIk47Sx64Fw$gp_I_Kd;b`d;aug%ENyTQJD?zvx_ z*W>zW6``G*mq4@F`57Zfq&bW5SPlvc@+mGAs(rCXzjAgGwklVt#oRACj1u`T)ia%Vj_wa8i_hx3 zNi1~@pl|5M^?cY0YnHy!h^C{0v5*E9tDuaQTJHj-95TM+SDD#;*f5U3N1XT1kUQ(! z(D9}Mqajp+mT~$zLhT-l_0sRTM08`g zZw^?RlR(YDNNyFGFeZJ$<%%O5DYSR9e2_DEbBB=Q4cbDrt;~0GttDWp$vLEDnNTZy zh$y3%c_tr)zR+Dn@XP)S^Nbv*3DZZXR*PbTq_~RfTV{WRc_97AYpd4hKf?5$Mkjxp zc9TueeO$NR;u!j|)(yKuw>|Jpz&cbEUm~EKe zUnWqRlv^bG&BI*0%xh|7$P@1tRWIBv`AF?>9GZr7gBcYJOim^*(X@P##%-+Ii(`rf z3*W4t`M##zi9bIy+FfrAnoMGi<*Kit5CT(261Hu!751X=feYRY0u>62Dw$} zxvvL#`3KmW2TPw8S#VRNLn9U7Kz=XjM{{WdjUmCZp$^6&KCvN@Eh&M6A;|TR1aKHi zJS+(wmf|0lmKm1O8J4vgmh&2xj~IpkrNzr+P`ji#riPTt;-%dp6t0KWfg>8kBbwl+ z{T3PdENN98S(46S@YJww5FT((#^6LoyLrTDc*J;V#Kc&JTSgWbI$|D?t5-9iPdvJ) zF{G|BYHc-Y<27m04KYF{?$&^+omJnFPG>U=QjaxLeaHuRQQK8Ai2pMTU{X3R@x z%-d_o1KjUvHRhK#=3h1j^pfwACSrX9XTIthAmR^N(yj;~M!>*`Fsf0$t)}XJl5Rz~ z>2H$$&9+fKL`)eXwprngB!Y1~EB<#ERSvu#C+|J+crtiAr7R{eO%Sq38H+L=%0HeN zF`iYUkhau>_P&^+s+dx$9*U-rnKoVsoG6l!&*9{S;8a9|S@KojWsNshqty{se*X2#cHxOO|;R8KK;6>HVu@R zrqDJ#*}bG33!CgL7PRPS3(|%&|L*#DIng6CHLNq`jQ#K8Dk?5YFbXFn3K0rAS|H#b zk?kLajh6F?U84oF(z3jMN_GBI=zy76pXfAZKA|T!O$_``hVx43Nl8^{A344V?e=%Uqw58RP%%Wo!*)L*z_ttqejO46W@P?4AF~VVvE)LhKx#DwrpO%=4Yc zzYJLjGhZAtUn(6o_z(Tdpomw9J6`~vvC}&b2_tg9nZT)6#q%Wz`_53Wz6q; zQR3H8T7DSAa-Z@Ui}$@2B};GnzXuGT!T5v<_=Gxyo<3y?h13fn1|33@9T4?AXQ4JZ zp+Y&cLe-~ZTi{?=5NH_b;+E&^Q4naJ9~9i7s@@@I)}d?Cp=#TqYg^_YFa;5sf=Erg z5!!ZuOv$NFsmf2Onoa4dPnj9*%0YMK)OS_ocU28`b=7xujd#sVr&MjH%xrhfY_}a` z&s62lRMpRPpN`p?nbDb$r zc$#h=9sB;N^vTH1$<8l+vejzer#tqx%^O|H z8{Nq}{aZV_Q@glSySVez@-%M!9BfXVZcg25j+<_-drEr-N9(3X>jp=Ar=QMZ?-e5M zYBJ?+Hfv&Xa&U2JaB*jPVetuKo1Y$kih9Pr|DE}Xd}?`iZvTGY-haw=j(^?${d@NJ z&(FV4(Aa;AY>%M-ugDhHUQ|L$=)8uweCuBFugFHF*jP6H{}S1LT8)VA-hVw{QIi|X z`9DN9c9V(bk5Z!7UP|X}b&-qJ22BqCEwbGU^Xs1Wnpysr$kyhzFBkN@rAE!$3>DG&SvRKpXwabe-~H% zIabCynvT`i+C9JROb6PGpp(6F>E7=8M`TOoF#A_zn=4iRS7iIP_A)w2+BVS_;wOc) zqE+wh_D`od@-v$aPKf?_xj$K`&I^2aI2&1f650NGKD$Fd*$zaKJc(@eA6e*vJ?Z`t z*({k6VSrPze?_)TnmbfW1@Su|Yjo6;$i`r>y-fy(+(y7@sagIJ*%Y`c zS}`Wv{$hO+*#fRhLuLOF*?{Hn-FVbN#6gEkEXke}@_ALH4LeX;n?@ z{~@ydv$%Rx^{uY^=JeaAehiMY`e9PXvjzln^;zSTz_+ueIXRB=<|Vx+k!{VU`n+|^ z=i7PPUKGbg`$2}|MaRj9>Wj{^)^8VGm!nVX2iGf(-+S(ks=xRCx%u|J4+WF+vL8t1 zbU6TG`A^7mIYc1Oc{NO|@ARLLXOznK-;js%2Lhbw^ke+L7FW-HO!EF4@~k@j{LkX5 z*zMWR|17S`kU3w^E3njFKZQL1EUwCP{rb=1>i-tmoF8vCp_b31HR!L(sPQF3%BT~C z#Y0t{*KHX2Z=lXyc+Zev{Kp2tb&|s?H6CAi9ncmUNeVs#GfA-TIv|F+LpJTCWWqIV ziBIFO^MoiCN;;LI%uqB`0;eVSs=McsLp<*7dsFJP(*{dx&GWw(buZ(f4u5ASHa27^)PQIjDVN0m;?Q~+gAiP!ZqmN8{$Xk z&)%Jer#Fy1F?WIT?dbi*ltXZ;hryQvcc`Bj&z>W8|6C535=+r_JZ!sO*!IC{l6USGVlo%Yb4{g9-Q z;)NV;(*7Neg51z2gadw?gXWnD+OWW`5^?f82B1Mf-!#TtQpW!8Oq6hn>!adm`XlpOgg{<3HKrlF>{(B zXR{OREN`H6@BaKd*g%Yb;bjEXI^(vAQ0sjIPXz4&^`E_!v4`J;AwNs$>FjUYBsgan zx8Hm-JX(R;#G;!Lcu=cksN8V-!mubAh|ZZzJt$$WeOjB7zi zU7c9)z_d7xqAm9piNE+c_D@%5pi*j;#9;Ps8v5^1Nj2zXd+g9fuHcm(UR955g@)z+ z5E$u~1iEWFPWO(`cD1@1S{W+CZ>$~7t#}o=BTPK=q(ipIh<6>STPpPHeX-#AkU(mr z6DNPgI4ie#>Bi3wP~JK0A%=r+L76kZyVb6)&R_B9BS!e2VKGh`D~-wfOzY+^o*|fj zxbTk9N&Wm9&DhHqeMC3R;Cw$Mte4R(IL)!qO^H~AG&5N8RzUgJJGe~K0vi43o)EL1 zwhiLU!9!wErWB2cfO)2$xeA*oROYI93B0b8cYj|@3h(n3FukB z@Tq(u%Do$ARcnaVpZY@DbvMGB&=6;Z=K=~V? zpw^g@Id#A+`g>d>p)svO<&d2geV8sIhPm93KvipLLVDtdWIdH=(q1dwXe|PnK|(0T zBWjJ>D>V8tR#HSF2}b_NgqA;`^5UiP@GOyV6S_r()|d8dHn*KfC||>|=&}E75Gh^} zJ)b=sbl*P7(X4Rwa9DoQF+&2vU^|ODh6RZ%q`O<|hC3K{AGIulKGKAg>(9(IT(ou= z46}%k$^KapB=p@kJ{IZO^~7d+9!rYAOn}+S=e}6Lw&tyROxfF$yclrF-_v`pwG?iA z-#TR4FU#f8zpL|oB^pBaD~+94C^2U#y{M@P-NWI5!hHkwQNTUnb}zA!Z&JgHiA^`B zQ={@t?g7oV>&%&r3;r<7n^`e>k#vju{l+syYg4zfs;k|;=*#+6pKRnq&jjE1m6gYB zu1xpoqY*&G*5x)wg{P4t_abnn`EsO-THG~W{?Gnlf z9N`dzPi+V7mRfxwFC|xC&Y5;EM0OU^<3-@#hrMTgcVmT? z$J#l&vStcx4FFqV>CWSKEPZ8(_(aZcDe1q3H1Tlnp45$*A&V@6kF8A1rROythQPZ(Fd-gnRP}B^HsRuH-j2^oqF{g^FI(%wD}v~+7Y&y;#1#l4ZIVW<;pmkud1{5hw&$vV@{(dOy4M zxwCc?YmdAsHwtC)RE2qp=tszzN7=5C*jL)Cx9hrqM38>%I@p3{jnHUA1rg&cxT!)| zUYi}uos$F^T-8n>veG$9A>@OgC%UG0y?%6(Uv!#a3@2)opDzIx!go$DEC&&GLk4qN z3$wa)C}$x|Z8Iv=7Dtzf3@&oHvW|9&@=3#tFtG4{-)ft4j5(R%9mA;DbZ7I7)$4iI z`%=O1PI-dC75hdTH3E4h64dD36XO2czyUhjLHQu4PW+`i+^iw!(tu`hm26Hw@xVPX zQ1jjWT_Ora5k_hx$~b; zOP5?0+mMPRn&f~;0(?9ytPoyHoX-(O2C$erBmr@UOBYMHKsLdTETY*;t%q9zqf8HQ zc0eTw-ZGs$TKjt*tkkqy0xirmTz;FpyAB4!CE?##$gX(j}oI!S`utWcGa@JRu zNz$O93gbfGDCU?H{Eig&QVAw`RbE7tf*{U1qrsV;s$9L<;k9b~8?|O@@k4lYhpk)O zag05AcyuPg6EZ%U{yHMD+3@uY=DF=o~!XM8=_shs4 z4S!=38A&0l!Jk#Doz*6w1IMBwh!$Q&ix{&HZ?#Je9FN7mLOnmhT#hNq6*gNPFQT(g zXZ)I9_}lm3cQ(~+2*!HMH@5I3iVRFmZ&l$!e}lp|cEHKh!XX34&U*cX)hN{13g*ycC2>55(q|hPgaJk5W9}qX`R-p!+WkYKD_m&|BU2C}45zt>w^?`D$!?fVZSy6C zmGA97WX$;&@pl#pu}2Au6mO1~Hr|yMQDnZTir24-Qpirbq;ON-aK5oGQ4ff_$0`R( zmapHGoc%VDAda#SDaA1?&G#=wiriN?W2IP$q}ZGm5Vcp#W@qBNn@u3f(xtPQ0!n$#o3$LPzU$*)P-okbe@xCh`M2-`syf zp{xgp)&q^|F#_vBx%Jpx^|+h$_z(32lnq3p4a7zbq=60OxeYJ68mKlKXdW8qC>t3> z8^K16%*y<~Pf75~$-c8AiGu9C6zCn5DM-CCOJ4sbtx|a2-}VV(K6!_oo$Y1j$W&sCAu6 zm9<1Z0`6tg6Rq)0H7Or6Lj;-?zP0k6lHg|=8R4|Vvl71kMr1PS61z&U$Vg~K`J5UB z_ftTt*#!H2Dv{SivmSceC3d<`?gv>5pA?+u{_n+KDHG*C5QJx9J!Si7-C&xhSY1v;P-w<8BGHU%Y79HuxMdq^;VqA%4ZI&?lSWf%&U6k+aoNF z9-Y6@EIcY88#3;wtgFTs-CO&-rK6=2Jl}bK+hl4;uwfYU`C|@n0J87E+|ALZaT3<| z(4Q&|_jf3#%IV_S2n%%ZbExi~I`tsWs|KTHALk5|-wt>=5@gzB%s*f$-NTe7TvF*E zSAn5xl${@cLMQxO9!2}&gnGwB+-yg~bvQ62+dCOv^eKxZTpMY2{uaIxjWb$umZdT( z5B6w}sKZhvAovL$|8fcxYWOK@O0F`#cIwLWJQnH&VajQJe zM$fUDxH_7Va+|FKf!#iNM42C4Hk*6Ckq&*p>33O4d!r-1SBX&Z)x^adE+Ox&WF2?C z6AyPJfZ_D!1c@lec4};i<6#cVj*OQxLRumbSdv9J^PM(gqiB+oKjk9g7V@0qa_tR0 z5ZZQuXOmt*-MZEtS%CusL2VPpUSm%B-VdXzcau_G9hq`wTE7OHBgb7UbI)-gF$88+ z8scdcLzO~t8=_%vy1e2lOSGIkuRB!FK7>oCXqFzt|9T&-b1Tj$(jpxP*U2TStC9Do~p$|84~2R1IB?Vi%zD6k7iZOfUGiq(IyJ+)zAAxlXVZa1ItEsxV8 zOixGT z#D>>wuW;wH;~qfIr<`o3@QwEEdl!;ZRx5$BfKKNYiZRN^c2?X0>g|DmiA3U>f~VD3 z7iAdiY?(4PBX@ET%9WMBIkYw9g_nt)5Q?3lV^D52^TksW{%2fldL}HUtdMePZ9P}b zsV`H9K;fO4PQ@&*6R;e2q$+d)oqiI%^Ha6qGFEardFNyV%OE-DYRlcnp&+0BZ(3MAP%cJ^eXmAmXu|vSt?#*u+d2?I<`s0gJ~qe#yv8 z#QyuWwO3)eO|lA3P-Etj!K?+8IK_&yMF^+kr{gRWpY?^e+l=&|umY-D;%xLO9QK3> z&fcbZ1I8Q?qophZ_#}hPzjq0_GO2pvmEU(evd*KbO>u~IXIDUR z(PBTvkWsUB_S%lvw*mf+hFJq4&sX=g0+l8YtIg9uXLFlNWi8sR+~Hy3%4zR!M* zdeCh>m!15P>^7|V)OFL!7VT?nn)WT-ZhaHAbH{>}ATdOzP*=l{NBlM-%Q^2-7kaq! zG58XmFPe~=v(rWP^-IbZ+N`;zlwp9VQ~F2X|r%j>TI&o0dKE<@!os{#h z4|P}7&YSfnf}1mhkiK70G2#7s!e$Z|va>F}ul(C2XP5Rb*7IZ1OTWsBi@fYpJnV5y zs5$8`A7!ZC#jdMy*xU{74nWh)YxVy488p+uMDQ}<2ZMEs*=9GDbxm5E8T#<`U`Ov5 zc1=}Z;O+UR!VB`ZF2ujvA2N~;nIseYXCDSX)%olEndtj7wfkoV`Lvo!`?w(SxMcRY z67slK__)#cxV8JZ^Y?L&7WqX2d0>V-3PGL}B2W8}XS>LYzsO74zdt1YUYq^B3Hf_h z`1ii=@1Nbj$fwKG&+`8)uHwh7odCo;7&Qxgr=wTnTt%B^pP!qP72il3P{mYT#!OePkRW z^e5wUOWZuSA_1(hPmO%DWyq;1#0Bu8LGw&z@fluYv6{3bW_s)-ku2kMGmrM4#+M^H zfnI`h%-cBO>nRF{B=UdeUKZ2qzA56>jmw(`0SDeDi%GDe&Q2Ht8R`|3rQe{SX*^3i zTqbhWt_f2ka`%wiUirxUWT)A%|weI@ZXcEDMd z^E=pzI<%UR-^4o;puxL9<+Nm=wExI6Wx+L~yQ)S=)bdhKRdudk$DgWF?nf3-VCe#z z%1&>^U?gGHhh%2KK#uFed9nuyuXvj{{goc-fvMHhno@Dzw2}6ywqC}pbL7S-jE3X( zz}t0n{iEejgqJ9B5AsjP!c`4bi`dW$X>v*GTaRfa@LSP1B9lmCgB4~%nI9SOF0^Sa zFh}d^m-<(v+9lSG87nppwZG7eGAGmD9KmQ9nQXhh+f=Rj4?&V$5?;pL?ts>VMkL9uzZ{@nN7+QI6Wekvd`(CjcUjz|sMfXFqVLjmxQKp= zl67}b$CuT4H7f2~97_7`tWUmz%xe!_Kf-QETsCM~Kk+tvL?(;nWLGKmT1`^lo$JNV z+GpCh79YAO1%l!f$x`1YiekL6YF5<~w{G1I?s4X~_r3Ai{ys*_(i2i4sI})0S&7Ba zZ&z12r>n!ts6v7kJ{^5!2*fKbSWVNR;n5C*dz1b^{c2Ag>D4Zsa+WB~EJYgA&d)n2IZG$K5J?-_T*`u&gnVOFwg)4}Y{swDt|<`IOwtscOja+hgz%n`bRdvfNv^CGb6ePcX$#r4@oX_> za@VN}ay|>G;=nB?S)y@v)dkk{I1sz|&(Sy)MvcMe*n6o-;Bhb>J>f*DQy9=}x8WC3W z$XLufma!FC?ojh-UCjR;VJmhhtRAqkSa3UR3;ETd9(=P{_!npgMHkTsBV8)Ol(my0 z>C}i4SSo%NX(z)Zq8Y2VR6;glC-=HjGr?!6los7yK~_X7C1a_KMb=(Pw^J*lb*Y>u z(q6?{L_23?>4V^iy_$EYcEQb3g#@~TMx=;N3F&gBysU#(dZ*3@f#r|tkq$cLPehvD za+UswgI-IgZk^9^wHdmj!H9@nW5#lgt*oQra;IKv>vFAYq@(enh<@kFa-Hvpqv@|s zq<-(s@~04VCv$XBgF(`j`e<1vOOh^wQGu0)#7HMACeb$&dMk~YBThE2s|ign8UvM8 z_GQYf`dLZso75up8_82BzbEs?@@VZzX?e?BO4?bDYn}T`9k=biK9P*{EBEYtiTik< zAu;F)mJ0Y>_gSivfNru@vLIDjLd=#NZC>3CHa>oQ1C^k`x$r9AjQ@##+iX*O$hdBh zv_fRnTHU!NMQ2MevYrtkMa+cqKq~aBN?&4?8bMpBZR{y|Yf11X)H^@7Hwv!bj&dVS zKbnjOLc663jp0T7*u(d7$L+^whKJ2gW?Yvv3Z6S>)jQb}Fh-3vI}y{r&{t+d?qEEN z0Q`O)E?xThQAS86C6-%SCNB3v1USrqT;z>Cd+UJG-bE>=AAyGc1%~TCZ1(xn-}_ag zK<^};k`k)=JOOqd$~cE+!_a-D7-cf`y0ivD(!_27M&fl}uh$o@KB4cq(aGA{4QF_y z=zCV49!%ulnN&%e zKTkTT>rw(gWV_)cr8tfLG~~2Ur>lZ25S5b|lK;h<{mO(0L1)-IJ*l9WHhEiwW4V1` zSuuxN;~`kd@#TWKW1c<-BZQgy@Hh`+aapxl5@}_sCT|^YD|4|kc+|6xd>KR7M0cJR z>TRRBdzvx0>HVeVHb%3yQ>J$L(7T=L!*L!D4QxU!L0TaGnp%(w@OM`_i@N9nLwNY$ z^__QZ&s)XllV=s{KFvK`=T`;lS%)hV9nxKb-i&ioJ2CN+-DjmkS@P4j0*JnnTYl~x zqPA|mXTxvvjvLS443EmShKM*GVu%~j!+W`5k5DICMgaa+s0`xOqw|N-APy9iP}+VP zpN7QzGXRC?#(=3$V}%JF#~mul3lty_RE8=kG=LurB|rrZ00CG~+#8xu>Lrv*k^TWF zpwBnFCiDX69<+_q=+{);^8;5g@Nj#^XNJt`ComgIkyQ`lD?>u*ifMaJrhD&OJb@^T zx;E#hfKhOCFy&h;T|Z|9rYn@6Yt&*O@1 z?|tp9^sYJq+R&yrh>0MSfQTol_wV*In7Y{KE?Sgf4%15@Mc~0=@a>+u>1Adca{YPA z-+I^J^XBh8JFj|XDdDJlVZ3u;YtoR-%^qSnWYP$}CEXk8Cywp}KkO3cfdkNR(ZUq^ z(NG`~S)niQp!<|?AT9*g34#{{`Q!(k@$4cu7DZ}{QP;z$DkUU}Bs!i;{P@{b-__Ok zw(oioMg#1=b?hFimSpnkYafD8EcJyKNwP*jXNQozVQW2nNl-!+2pUy5(VZ9|qL1KO zYJF4Ui!^*%Tk>$R|MgPO0*<7_To@Nz{CV2Y!CUDgM$oY+2yJ+XG$NL_yBC=Ynd}m4 za71CehVTMINeIGva3tsn;NQRXDc}N#;jk-F2{0!dk=xBc44}X4QhnO*_}Rz74`R3K z($0gd4E4@&^uVCvu%aHGZmE}Ly@UjCz7r_+l5E(CtaRDP#$-P$UC+LB@8<_87+sGD zE)>UV2qjJy1s7`7J!B4)`6wcj4-$8plB*mX$(;)`_%rJ2G2#r2@st^XA*Ad%(d>X& z2ApUTNpg;5G22F?9!q2I4#tA7$3l=mL?|($V8ddkS;X-0FiKwNCb{2ohf7xji>OBr>KNtwuf=jp~P~+IZW<5?x+ zxx|VD2tXzk9Jd{i2UJQd`&a~40_1AexXMJ(@D}4qKD*HPxKJK*WtJpGQfOG0Oc*5{N|y|v zk#jOtY!Ze$nQ##LN&^<3hQbR9k3T@+FPco@4DAMvKP6^;oa6n(hyfWDUOyE89co*| zB#*&ViWQ786gFO?f}F%voWgyQr$V{O!xPQ`tyYt3{ED>g$~|Wa6E$qh-6{oT@(G+% zLk9?M6xE_LSl1M4!ohUy^>m_@YADsz=-E^}7nV^G;6leJZh>Zc+Y-XsYRXpUbcWRz*36x$jm{{QdJm zcF_Y~aP}l52Dn`76)QY34wPyY%eFl4U!;_XGM+-Gg+jgX^0gMbu2v!|S|B1CmKDv# zsu9T=&RniV-Le1!DMlxabIEG)pvUks#k^z+B}X5o;2LL#V%QgHv*%;lL!;Q?+TlW4 zU{!6ga>YouC@N}rkVe!mPAwQ+D3`&K$aJ(Qx-QfNo*DsQH`gU6fRkkbNXX%2MF9PC zEbeJdiARtQ36><&5-I;uq7I4`xvrM%f)6x2B1?z5cBw=R#LWbo%ZG5q01!CY(MLTf?h80T9G6~;5U zG9c#dc>)qpxwsyB(MDA*z}jxfO;#5W3P{3x^P+Ou>rlZEZ?j_tFOgN1shK}hZD15^_=bqL4$qqM;x$09T@(Ch zq$sPscz~c-n{f~y4{v|^5ir@jP2h;ttQM0k6V=dns+(Jgbt~nb-0F?lne$7iJ z(Acu3?c8h^C*aTdY_+#h+iN50_}$1k{iF14hsTwv=`HIb$hW2CaEeW z8{1~zrp=JG+tf^&p*@>lfU26-Izo8k2Qpzp?@(<0q9W#i;9p2I+t3|^Gw6Bm0)DVz z`nhHl`RDIk7Hl_Yo`*1)Ul<9q8ofyKI!e%(5Vue#(urgbuim=rd%v;^)xgedH~dJO*gQ(u?%B9dRzBJ z}0EHwNB>u5^q_$PAeJjjutB;|a&A4r+|CXEt0&FZRI5{$Uej>Zuj*Xkhv(Y1Yhj$zpA(6X6qrBPWH^MGV}M7tVRkBG z&7fFs12qzmVFxddZJchj%8%kv+dzaeuH9LY({lR1xq$bl7d_LWBnzM?~? z$A!rL6&UZa_PgB(UOgUJ^RScElA0y0TGQApXNj!UK2o@kz|o}7e)9F1z|+n}txlre zVSKmq7Yt{v+KqXn^0sUTMfn+33kG6jyu#Ij z`RiO2-Mq>ap5n81r1}<`0E)W_KdSo$4IF@H97R=0J6e|93 z(YDb*!OmRw&(gRNI8KQ8erL19xpsccy!_|G_^zINi4Caf30X?eW0y68*Po*LenAMh z%^+=0eOxeh7cnJP%1Bk3z{^(T-g>+#nH0GgkoG!{@74 z**&h&&R1<}AcD~7sC-NTW)P?E!lF0G*xFEw6vVmep(XCt#%x8KctuC%3}QL&%vU7O zh$`=PW15|3J9o_h!#P4NDAYj&e-Q$qKb)NnSmM2$(=j+SqLe;)e5mze6*MhTaT3M5 zfYV*FB@G!!4RIOkTr;BGUQ{gv9{7VKln zKK&C<&y%IxV*}q-@B2~2+^Svq*AgFh80Z(3iBr7W&mg<-b!!8#HwLA|f!^5XzC#;I z8e2}+%b1g0`ov3yigDrTa~I^8OE>fKlAJDf+lkz#9|V~WsPb?-->>#`3taE31du=3DYOZ~oUQ((O83 z?ptW$FPNZHSewttkzX|QLM`8f5A!fObVZQG55VgicYHE4;~jZyZc3(XcHC@!h~V&Z zW~cUl#5ZP%A5Sg2bUXI75xmQg0Kq;vWVd;S7y4@o-bdcKke=Aq{`j!6c0_Vt ztae*M7D(S_QYkpOP%wUxzV1`+m|YmqoIWl&cT__LCr}5~34%V|qS?p)j)dMh^?~5C zny%zWDJ%2uY(dgwAY|Joh4#erxWb3oy5FU@yM@1eJJJ1%biA^?F(k#8PL;%s$iC&qViP7pLF?_0w1*vNCb*!!?FYtl3J z^bhYIB8ygwzqMK6lLX#=JMykpAHI!wvf~<5zv?RU!T+l~D2?YL{ewZHz&9Ol zPo%NyH#*rjs0?TES?Ab~X%zE?QBHG4M7cA=e1eIvm+ewZqyd!WYkjX~Nl$QGZv`JezbmO}MO8l!fsTD1ol5y!9^Y1Fi{tT1Q3)2}#A zly~xj_sekXQ!jdU_tI*V7fU-Beq^p^i|xaG_VC(rzPR`$4M~=l{bB_{X+gO{%hQGg z?D@s?>8~$St$xY6EBP92x_iHON=U!ia+~x4#b)IUa*K~Yg~sUB;m^AroNcsue!qAW zy-P@~)xHSNE`BwGT^hnHv{9_NAFSq>CT{#odgZN!M6<+$uyorSur|dHYD_6>1U#L< zoq`Z-98O`uMBw4b6|L`yQfI3xd3^Ya+&|5Nj3$OD$B!YF%|*}@ZpBs<=ltTTxj0f% zS7uihSw3B%{qCb=WU@{j(<+V8^n8>>T>HpyT+nYJZEBD$TN-XOfemV==h#OZdQS=l zEb8b*dZ6WdXnZ9@j(t@Jb1qw>!G~-b24V}@SIol&9^bFBN`r(ft!O=dqps&bKe^w{ z(ao@SvX;hfq-m5UiwsR=14e)VF~MSMux73>BE#tJkhH33qL|*k^hPn9z0@w^D}A=x zsE&PZ%SHf4T}SNohZ;WJt4gV_7FH}$elBJE=4HP+jte1m0w=-IkZQtItn8Ouir5Y! z#1&ZcB6HzoDd>3_<-zy+vKu~;TnZrr8`asJ6QVplzv{+0x(RjZkHz$HH{U2E=Gbr} zwI=cH35!Z-I5m?UtZ1#ox364=Rt|1>BkcmBS#X^_8QCwA-w z208Lfy_^(#rF_@=M`Ij>_k$;%7OR`F37wIIe{iPcOnxYsyo#!mLN!l)L?+xSLvPDL zERjSh3Wv{v`aS#kJX0ZOOQdD6Uy}@fb&tTNv#Zss4Q!P6Nql0v6ui#kKZLJ`B44Qb zEGQR>Hp;5YZ~Myg>eaeS0knv7+oArdcl$4`!2*Z%+0!1qJYA2%C&jDSf*VK*Whcn! z=yBc-DZO&*E-rgbVG;waYVzl7Pw=gjj$uN%)PdoKnM41q@WY-32fx6V3FidljdzK% zg!nJ^l;EF>A2&@ncWO%ih?xPPkkeF>&8^KhiIX(`ax*`zp&=8 zBR-O~>EH-N@ytrSmNvM)D|+xIVA<D^CnrFO^KpV zX7!x+P&%nV+aAY08bCTe6K70Jzu?D?YI;2s3#q}K(jYE}R6)`;kIOjTaTvQUYmIUZ zX8?XltJOZwX&Q-km6xHBoBC1i(~S1YhR(5zy_E2V3s_D~0hIP@nU4^Ntlwh%ivCe4 zLqD58+x?N#Zd-?9Y5q0K=}R@!YVEX_)XKTjDJG~%8bFe3XW`M$6BcbkT7K-yRUAe! zI^pHIBp$$I+y=Obx9B(yKRs&1XD1^@Ef~ATDmp<7ig)$gmS1FR*UqmQ{2sarmzKB6 zg5|1ew!B6Yph(u*U)6Gm*(5O-HWJx`Drw4#zL8Q}{hORasWG}` zSw)X=axH`8dFcAz->{CE?HXLs2ZA#`I%aef$!OW@ZNk*Mm(Ds+S_hF_pGrwzd~j$0 zmP$rPyp5~hA4eN3E%Z2lf(H8HbDT;PbJR&8#;;a$qzj>+PL9?Z+2lf+Sgt?*M71YH& zlY2~}ptD$==~W;RnL5=Chb}Kp*VQ(>cRp3>+Q>-|Ky`aOa}Up!eS#!V6+-P*LoC)1 zdIFM5$`|f|fg3=#*D{vWsc)V~Op-B&wvC8?hec<|nvkQ(beh{MGyd5w;|2`)<{t)z zXKj39hWAozTLX;EH+Adl`Wd-B(i6s3`Iw<(E88Vj5F|Txc*`tGuSPt90_pTPZ{GD3+L}SPBxF$EzUSPSZa5F`&R%bF}0s@aI}7;o4!~J}Tk9VBona;XyL+VwCdYGrlA( zeM!T}$6U(C&G<^76!{9m$S+sQug3UVuk^Jkqkv7RfD5CbPpM!qqfk_-Py(ZHMyYTC zqsWI+k-Ac0?oiRr(mI`fmJ@(@6hIX4MbtwcQUYY!3M1s~_qi@5EQ>&&lHz6!gLaon zaf6}EV6l5tX{iHg5inG)OrEt&mbXl7p_CgG!A(_$-XF%${Z?}0tsHznlHCd&5ypNu zAh*IOD{uhe4kf>XN$8b{TB69`m&#b8$X*^Odz2~O!^qvNxO5`a78uoCWHf2Yq3{7M z=5lVKLnWFrXib@T9augXEVWZAcUJ17a-gUYM*FAK$Glt#4&w@vQnq=z?XZT-fYk)7 zRC<|Af{{#eS`o$~U>#(sXw-oMwv3{KjAT`qieoPTaN5Y~*f4;A7|l#d9yT_7*4*8Lc0^3-B?orwACxBsIhvUa>#U3d ztmQ+ktuBugw+>81M$Jni#HyssI+;uc52Z|HOqHxWgNHq|z@DA^?$}3G*hieWhq8!$ zt$P@h!A4(i*n`_jK?GpbTdEc{XnZdj;Bsv1!lK;CV&?-?@(8oP-*>y0d@^^~%cPtp zr1VBBT)r?#Pn5}uR2a*#gt6PYaaY0|$~c{v#CL3o5Mi_@QZA=u&;uz)h9d?8)+pqK zjbd224)=%XnSC8CpgF)smKZE9QZCvHj!rq?WIcpRmFe}`$zoXh64`~Rv8ej6mU$|fEutyj+FF=GGD-9;LKM5l+9~!KUbjAQ?DY}v?AE% zSdN$(8dhO@DwUXUEUI*x#8)L3Y!iN3Wk6b9tj4Zl!xo+J(eVW=&GZmy`{e_=+gE4o z6WOAVIgK9;WHfGiZx5lF4hC+WZAEIW8H`iWLg5a=s{Un2b)|DGx1rI7+B

woJ4?Fa-Foq&0U%u1iSky^?UEjjl+J#g9#>dv!@~|JARSajTfQq@98d>tw4khOe z%ZO#b!SRi~pVn}J%VDX&`SO?ZTB&N|sM_7mleqiJT7eT$cFv6|4htI=za6e4Zq^bH zra5lgi7>Vuhv9ZZnLvi`nXxeU`~5jnCS@A?yf(fpr7CVHjlJAWof6IWt;T~M?!($fmxCj#`YO9c2Vf3q&A`3WV1cuF zYgNhw%SS`|B8>B}qvMfQ7CCNLS#z%O8y|jkkcSB#_GOUgCf3!> z(B*dGBeth2cH(!O#WL%`x7QGG8o<%9?$gCZT|iDXhB`Y&o8vu$mFCT5xs;Wp7E^_x z16<(vJoux5W&QNZp{Y_?s@@rD6OWl1E8eqm;CG%*8m%+Q|`?;^j)RZ*0z-<1jsB6KuMH-MdkxQ-}_` zM5d_ig(6!!2U>esryG-_2ht(Po61$Xx+lf-WfSyl^+b8_V&*B={LzpStS4W0PibB5 zjN5Vw6&0gSgKjF6Cboz7Hk1XS{ar`msD;A`hhY1jJFSwD`k-v1lh3$@GnblcVGt&3 z#XU*Ylkn9|@nBNjNrr!0Qm7{A(8iEJm_HARx?5HV03Kf>BVYh10P_ff1HwH39moZX z;Pg;Iu+j|{tidKUX#58Y%3v26tQ~`$V6YAR_xkUjX6;h|fl87pODF&p4FjFIQeOx_ z!A9YPN%{vMyhUQr>MlH?4t$Hk=!p!8HIfWRK=}2YOu&7B*%Jr`h>)-l^H2rl$u+G= zv}~zf$O%d-J~ww3uy7SuP!U&Fmr&6Z(bSXGGn26OlC*Kh@<|6zbW_HR3PcHlV%L7Kvs(YBUvs90Th?3!6iE!Sr|7HCIlAKJcO7SH5{D71h0 z(S3Tf|K*dO?cE)K%Al{&gblWT(FN7?1F<-Fvg9!Z8CHV`QsMzb5^8&)U<%ir)zE*^ z_!kteg)!IftcA1vZ2!Wh&DSHjw|=&NFLu_Wg-{`2`hvbmv$X^ORclWD3w@3m=~Gd+)4x;vhSS%&vr zqgkf^-j!Ka&@{Js_M0wu^PGtCM)Ta5lq>VR_z-T3{3J(ri-I)4Mhkcr^_4|o9xAtG zQQ@AOWpQa&gJsEGWzMB#X>HhmZdoHew^ey7QG-=Q$Hj$JW%o3vbya`0t9A8oSiN=4 znBj$W?UX#HP2KDxSDX69!#bOWm5Fnk#*GggwoN-ZF1F1FA$7Jb$ByT=t>4r+?Aoq` zUF<&G(%0Fw14b@Z9mw0~cAe$2_6V10bh{CbPF+82`&q+Z8h?1%#k_UH*S~4}XKXH)+_%gA zrt$YjW4&4lBL1!MzgmmnI=otsp%DcQsPghW@C3ami>(xuL67YiUmV`toaiX?-2(hD z&prS0QQpk*_9(N1>PacDulCDPe5uVxQKm;9;_i7L>*FZ2CiYT(GC3Wz8t^`|%)s(# z`J|v{az5Px@wwPE{3H;+?Dus0V$F@*_gW?+`a}9ggRF=%JZL)*F!uaV57ZFw-E&c(V~XhB`ehUhFG!Ut1H;0oP`Ua$aXgP-Q(JsX@v8t%-CYndjbNd9Oha!E`lqiv2CcnU&(DLWs2*)bw?`ErhH!n>~ z`;cxxs$l0`!UiTidr_jCBi_@D+q_0b$e{8~Fo4WP7p+({_^_(_J&z|HvmNcw%jv>| z`m_hEPNcayr>9~cZcV}iA;W|ZYLXzl^iYMoVUvWyY@=0 zhniIU8+vX^+EEA2!n7?}T;9onQP<|P^y3IP|F+a8&-t^AtGi*i;N`$4-{}MPT%j=W;8+Onw`|G%(EEP#ue*|vzi#y1#&-^=@yjemSJgrUS=OzqP;CW z(>#A(?mkkYdpS7s;pV);AG=f^O=h<1CaNst9K#TQ=zR}VohizvRE?VHWwBy?wQ>`) zX?D)s2ycE(h8l*sNO=4>c%KRcSd^4Yw6ZJf>x4Y+Sgbv$7v}cz>g#*%**aOpEuALN zfA~=*8_1-cgxk=_%ERiIIJCIMd)YJ=S?&y%S=!UOY@Qt{cWoG2I`q73S;4Mw?~_?R zO}T8{k*n~W8Ct$*zHB>=tnl8J`EoOV`2pM!=X*Kyx9eG_P?E5l^AS zg+;7evvC?{Q-MN)MZ6xbNrF00z6Pg7f=shXtgA4Fg#FoLGWh*1JDrz+F?MBfC))F zmyiV?>+~YV^pZC8Dh^Od8>lMycI7efl7Vtd3vh#;7Z5k31;nKVRQ;e522e*G5pGRM zZW|SDX&W0I121D$aT^tNKXFYzaXk+M33~%o4+C`&PmJAN?QIM^42@NQ#`1R$ zOD0qZ^sod#9htP7w$HcY1_>%B0gld?;O8IG!sR_sbnK3BMOC{F5F(|8~a^7EP7we++vl^NSuO zeC3Af%l^=#Bg<0DA9~bi_ea8fB->cI8t8iempf*?PZVF|H$5g1N{w8 z-Taq3W;Nvh4?TuJwvvoNcTBQ*LD5!weN*&r#VksY^S?#6>VpDU+ivY`lB-L zWCamf?qt8AFW$-d>5lP05@r0`5-3yN4#zatya*clq9NpAw>%2O`;<=`9EQ?A+#Zkpi#x`-kO=*_s6bW2#wA}NT$&Ls7#~J~ zD%H3bKtX99xmQ|;lWsLV$UD(j+s)e5-9v}OR#g+E-*R%-KVynn24Cs*ae}W^FI6I0 z^RJ4vf2|%5Lb64UplG{5^tbEy4!x_`NZ9^v(UsP`5Cj_Z4~y#9hlUTz=21VK;FT;i zS0TUtc2YGqeqntI=e@*$eQ_g*(r(~%x(yxVS2-wI^bS98{8AwC^vAa;4Z9!bViE%9 zpBLTiAPc#kk!h%9h*+woJKyrW@lG>+!uqkD zZ^`Pht$BBH8BTy=1l9J$CijMRC-zQY8adI+{sES1Y~^FbZSgmixV~(!qic!j;8zff zo^nIdnrRGyIxef8(V%E<(g!LUP}M=%Xk`Aiv%|{g8PVfX%nlcDHb@CrbjGHxV8OW)=VawyoTa6# z(cf;EjX3DudiL|eyOP-nzW*IGt|Y~I;B<_P1d;AIvxe2 zN4jQ(jjOYqSY(wU|W)JZ>m`9yjXLDktg4@r%+lgPxW)L zW}ozQb;^5l#dAg?_})a#FM4EBpDb2Cs#5z+k7O#%)9=09+A{9f6b!xRU@`r|yweVa zusvm-z>ZiiF@D0QQO+xvf3q==Y{w?xMWfO>1!VX2Q?gO4gq9tzgn?PXFY)#p?{SahvZ73F#O=Oe% zyrLg9@wFVyA$iP4lx@burqRgqK;nqnU1hFxIV+(D@|7Pp&4JdT6QQDd%wG6gE(>D( zx&3LGkK1&do^=s9-r?eUeh3G#X;vqW>bH7dSj(DlM1>x90scr&(fY7JcMSQ~3Yrmy z_ne8I8DEdVME!enV!GRN48Kl9M&fia`$@!}3-hZytoW3|wiS<>@9dKW`8}3#6%Lu zLAj{ZrldjZzr;L?;To~nAeig_%UdgW1Pz%K2nau%WDQBaSj~HPX&PMf5DEcltPFJQS1=jgRPaQPzJ?O%(8>5q z@swoGdkbpTAPDK*#~`-o-gJmQi9y-WYVNxil3c(iXNT%XHWe>ieI>fEdhwp+V~MU- z$vgF}Ho|?)VrQC~7y)jkzGFLgKGMYY)-J7~)R7mjb$i98`2c=!JH~{o?OoAD9UXYI*O;a_`WfHdbvs#9ebOF)Ns~*8IRRKI^YSClYB<(({OnCy1Ua z^SheUd%m$47C*j4DPJirissSC<*dj!@kQ9!izT!>kJjMPs~x zXF5Sq!OW;=_ij6%L}GdY9~~PNcQ^0cPa>l~7*pyw`#8yY%QUpc$=x-SHaKY8I@7d$ zA`2*+it~7&M1_op)W|gzE}&h?#e8U8#Mdcc9rVPKR1)R_OuIngVv`e`?pO-j5MA_?PP zW?os2C`=77ULp$=PF@^zAg;i>yUP`SHrP}xAge%3r(0}MOfW0oIg=wqCIprY_s}l% z?13?ty123?@s7qlH&5Wr43Y-AMUB*Dxw-hUI7~1kpLNyx-=Wi(btjrf)|%O{p_s7+ z-9B+^33iM|3GxgzZ$|^X>Lp+2Nxq-ejOOqc&o%1Z^zJtZ^U6X~J2rVd8>mYXu7MIF zPNZ3luEXFS-fXT`d!=9B7#>UL+rb?n{W*NX8ZM{0sFxIZDixq`euJVWqhPi-*7#JRG~xXg@^%g;YWy zkAP{iN-USSP7RaH07S_n+Ilkf>Lb6JtBdNrH*&Qm8#5+$lBQ<$T7K@Y)4M`FW@VUa zOyA5x9O%unc3wqnxqbiqHV<8y|A|FBJ)%%kFfVsfa}g|fSAkg4vLM9LZh)f*HIaEU z$y(%n6+Kr?h%SSZm0z4y`iy;Z1vd&BmrAI;hJ}^tO8RJ#CqlPx zvXle1nFBqo>)9ng1>Dr#n2C)m;}*?4uEvo9LxC&QA#2T_Kh&rJlF2X+`}S78UCIN9 z@iA`<=xvI9IjJkC>SE&NQdH-vjmD*`@!n?ARI5*-aGf7NB`dIB@!78H8pM6L-qGPg zlOj38S>OH5jJJPsj@Dr6O25Kd5`?9gv8XFkUnT8_RIbWBW?VP>%qPAjbe=Dp_zJcI zpTv0*Ub~dRU!ylmEDSK!NcdwAyv@cBzGDma)AqqCGk1>Wwy zl;vVH^(>I=;aqx>rTHX6UH#c+=$rlo-+eUKuf%yJiSYE(+>33t_*$vNT(4vjg~y&L zhP(bkT&YoHIx)v3z;Q_opd5oC*M1M!SZ5?-VA_r=N@08-o$OC7`G!s8gCpL!}sV5+LkBg`puy{sHE! zVT}|@dnqaXX0b@NuBa--Bnid+cVXou@EZ(`TQcRlW_5rt@g7g&GcSdv#u`tKn(q00 zqVs$S*P6TJ8bLm#tdv?ulv+x)n&f=B$m>j5KE)x;I*-lTM<{i!Cbj0ED~vo-i%&^= zLEr%oD?VwxWlOY?jFND;vZxotY=Oz5rQQ`Y+J;=o1XEKtywdG^16FbaN?pS^vN|tj z`D5Stp2#2VFeBV$vWwj`UbjhjBBG^LO?@ANlaZ8WLAZpuk* z9+hmqG;Utsfzj+j=muVDu~$ASY;NR>>>?}exTyuVL20hTW;lv~%B1wuctp2GaIy06 zKBOG8z+B28t~sG$EkWUKrgb*8P4TRygAdZDRaC!*04;{Ol(cPyH-36m8_OuTji2Vd zQpy(QG3fQ-8+p_2_r`s%%pVDsxrUXeuiAmMmP>L=`Pa^dmPHw{nSYUYU{N$9QM6va z^1vI0u%@(Pdw0fu@3=P2tO)cmScl|xIhS&_lW2E6E9qPw>NLnJ-HD5(oa&mf>VlTm zGgv#z)rjfPR-#&kXm@8~@_!T>uH~SB6q0v~r{#!Hcx*^^Ni24YBzKD)bSv{GC}K6M zc=t5F?2(D+(PmE4!cyK`=rKHq)VozO;O{lpjx;$?GE3{VO^dMNSF*Y7buJBeU{-R{ z?(cB4@8Xzjc6Uv&4;R`feyb1R0i55P!wVGm$$5A)(^2oYcaVn!G6+#gZC7KuX$ zkjNcKTVx{jM~Yu$dq{;`K!KDNi%`IfoH`84j~FcG>zBZ9Nr$$ie{QGd@8V!|VW8o9 zn#_Cc$@F%Sjf3Y^Y7;Ed8umz3zyUQVj7Y4%A*}2w@e^?pP7PA!BIM!NAnnFL`tV3A z-e9gQ>)HY20WNaVEv&*CwtP@nEerct5|7XqpdCL%#Q%O1h2?3o?plh_t2xuz+TjVL zV4Mx0n@jBNyb-Hcj)>8~?l9!u7!vcb=vQqRVH?w?HtXyyWZ`yT$a!4rX7oOd!33Z9 z)OU#fR*!l;|4>%{OU*QVv&Y6W5gbpw)89b8zaDmdEA|G}(bc?i z0G7as;5wG^GR2~al<|SUct-VjOW;T`GjdKV#RHqcOl%-=X)gC6V;al+y7fTG?HFJ` z3U8%Y##$(6nc@Nvp6d@L`Hb#@%|5w#ft9IhpQ(59VJ`Sd6jKKMjpv(Zv;h(9O*n z6Ldj)EH)}mM&($Lq1ex=duwngPg zil@ti%V_|k;uJ83kXtsGl#Z}_FtE+Mn3*$}sWZxg1HhISOPB}0_$(#Kt}p+XD{UK) z8)4EcUoVvf9xM&&+(D?)5t3{MDqGhLmys5=2X}`N;Mkps&l0`rMK=6AdopC2!nEJKKw_Q%T)c%$~;YkyVvvBi#aICMC^ ziLa;yS(|Z!1$(fdVl-*aICUhu6=s0?Zy!Q9*d5KpYxutFxhdH zYI*r~0Wlx@wdF3svZNiSJ6B}&r-R*Gc3Yb7!*6$9Z71vn6WQ`vz+yP>)?#%=L{zqi zPBt4RMqzhrGc3r3-e1!Um)MrSW*&@jJUUA%J*|GYfV+gGA~-11Hm-2D346Y{g>yC& zImrBliTTTD7tY2&*#_0a`I6!F-Hgq?C<@ur1;RI=3#Nmc@N~l z;}3}Nc}BQ5fsiXkjr+%997Z9Z;_{~jyALSi!;Ga6f0W}O^OAh=larR5K7dHhYQElH zrN*p~W=HbMvK5fn-J=Hi;@=-TAr+0ydC0S+VS(x!yMVF&gR zar%_P(Pnk@Vdvp>I`$~>!|{)YBg*ZIGU-bh&zBcembV^uN{56%?m9lA3{6O=^w&=m zec|FdGj%YLE8c zno+8@`6|0>k8=(Jym+BN2mpv<9!UD)8T2R!_EI}Pmq4L_J6)6N#jIDdwOU-Xlh~R}{^0Im zM>wZE?W5zIf)zrpc?9Dxg3I4;PEmA{B%bT7AwqFVO58wM%tO!4wzJkT1@1VVeQiNU`Od&@zb!fQddKZCzUCC0r~afw*ho@ws_JdBnbWbg;l23 zQY?TgTX<1=(9S&o?#-(NrwoHZB^%1;AC#8SdR8OlDjHj$J=UeRDtTD2k(C$DugWI- ztdF*4IO=fFij8B&xaKK4!g0WTp3Sto^`JnaIQC~@3|{y(Tu(4I-eF6nvM7E=^r2PS z#0XKcI}6 zb9A0-wc+@`e5sb(@m2r5LMyR7_E@<3(p3%>TGWV3tI<-SorWo<@X@SsAHR9D0Ewfd zu+8Imbe^?0^MyG$F|-=!E&=g75-yQs)n!@JY7^3r?WtBnv(2?NdP-Rh8|X+r3p{)6 zCeiU`5KixSxg49MJ+$mHGB{Bh5Defmd5U2OFOiI57pW(&BBuSZTYJmbb9!J(el zs;ps4OLilR24kZZ8bz{H{z;tArf$ZR$?|PsNQ+!O$45`wmZM%Tlj+z=(%sg-Q2FgU z37r?R8}CzE+c)f~w>tDuhVnZOJb|}Xc3}$hpS3e)zHu0RjwawdF7c%88{1PfA*aum zcuP)`dZ7ZYb7pWIn<)*ww)0`j?KZbBerSSMO}2eHPD{ZOf*zZRW*JUv;S#r3TX6UX z&;1I$8;_m!ghyUS?P$-vPZoMHx4zy#^7THSF>C*^Qun-lZ%oIn-S_)Z-xr6g^~9GZ z_pip{MA>43_z5@IoYq8)?}kO&Z#l*S?gwQ}Ui3Y0O1ALl6dD%gSA-8xWkVT_^pVB5 zh4B)Ooj2piP&OqBPzhF%L+?=munth%aIEkcW`N_;DDntVKaf#1Zcv}$0cH2tV{a`| z9Ir-Edd@1J=g2wwK}nr~{NkuWF>w@v`a-nBQUREY>G(a|;?ThRVM=*(nIZjRWH&G3GHh$YhTokR%gF&mqGKVYMY`y%i`bf~B?wG6yZ;50v4LKKmzi9rg1 zJ|Na8CzqO|NlLyv@?GTA5Y0p7ZXtSu7--((Waylfdi}(EsqeH5VjfR=xly69MR^Z; zY6mqgCKB73@%IqHRP^^W6av7^h;#=o(C`6r!0Z!@45LH+;Gur0B~5b;v2!COV8Dj% z3&y5cRJcO^uhH+5$@a(Si-cfOGRD7Q%MlH~|BQ1A{oR^qGzET0>CU)8Zvcu+vGzdq z|2a_vWrY_i>56#kKra`@X(v5gH2L^b#y!k> z0*rr&ul@`_{fV#YN@gm+_$u8!t2Ce*Ev3MxdD`Mto#Geh`d#*B6-w=5 z2uOso_+RI${|tj+0FMA>IiyHH43I@ExKGK0M?n98@Ch*)6Ye7}N@{lSCSXA|38Bh_ zTw0i1`k1`N=#t*((msMh3WDY?LLy4y@=9V#>f%2~#q?$M&Bg7!C2c)WbkfL-l97yy zkW7n_Ov?bbKJa=_hD|WWOmQd9_{Jm)rOt__&&gyj$mc95<}IohEWIpT)+_m9TCrkT zwdzo}=Gw3x689(j_%%x>Di6z+fC@- zOBvkH89gYRI4qq!ESoy2nm($TIj);MZeBR)?Ck4aIqO^d*1z^`c;kF>=VEI2VtV&- zX76%t|8oA|YWeW$%i;C<`qtLg&ie87#>vgr>CMjB&DZnq-@ct+US58?{&8{h>=*H?$Xl0qpOQ+uMK6r-31S&7);l6|GIoq3FQo1T8K|*!C-DN{JWx zVi;9g<46V4>%%C70QU-jr1~l>=s_Z00P+mCkv1^;O7(@%+_El)D1o)v!3D}PLd zu_j@xg`pV9HnP8Zj`#N*$M1RH=Y5|)?&I3;>%Ncc{Cqy=bzT?xhPm;{L5HP+5dfzAf^Qge$sc)ta0ufS9?A>NPDs$d9K?Z_A zr#}6Cn8<#m?jVq~8q84tW~kG0{(j2Yk%#16$WVserdiS#7TZkL_pRN;d$yS~0wc(4 zrL=SOPDf$k)IE${RBM`4qC6385HH2oz1A@*S@!7WuH<+1j2M4Jf1DG*_3b=^O#!bIww?n&6<<8;HM@b1*bjm`==*}3l$d`A0<18u4 zGvD!{U9`@$X9&IDWhMsuiVa{+d6rp@NqbxFg7V3q+}=BGFR|G2XOL>TJ*;c#lM8}& z?Hm`U%}XPoDB@(@tDlv(-b^kAIR!`F+V5UMply)Nqt{))S2F&zsaXEXA}cPv3oUjK zpS|^UwRXWwXfirlNGg3=qs}?JXR(%Vyo(eiXiQENE4-h3@UW5_!%J0go-`bUd4S7c z>X4TYK5A9I&4gFWJ=WMH;4%s$E#rP)|M0?mYrJfsFkjF#{~|?a-RFG?%uCv89L;Oo zdq=h|7c-gIz1~?SJ*es?1+Gry!rsDb`~RmMoTP zZt*S0Kj6_hU02jc4GC2tpy59=ESL3~+##svF}@Ekym$@i-;r!JQ`wn`4}iugR*vWJ zvSf8HTOdVU5rW4r>?(|HLsH<-UQf9uqnmI)u{ku0J0iGy*$I5aYwS%ejFMCaAaf&Co+c0U8P@l}F9650M+*j2>aJ?K zXA6~Is5JV9VtD_MuJ&E&$&5IRtn`D!8=S=5a3)=3KVJ@*19XyfdbX`tvArwohp`JQ3+_+@~(9IZ1tPKB{txykv00Z$(ZLRpl21jFDq!6WqTp z>0D1q5%gpViqJdd{=keAboxKxhvA9o`TrpF-@4eD)LE7vE0Z}e8RQ^{c73cwzmOA0 z-TT0v%=9CkfNb)BfHyA&dVISiJ`3|yrF~O!d(Q@_vjfQxDh$e77K$>0x{Biu6HY?5 zd)^qCmo0ayGq0Q#)Q(En(-(VZbFXd3@8YUi^V}O)kDMNTEbOVTS!mC}hH=B=1BR~A-v?U_R*Q%|d+Mx!UW5gbyl z0u}DM%QNof%YRU5X#PspOJP?@7TKQoQHDIV1MJjt3dodB%Vbsr?LvR=3N1C;D9-Ng z203NoZ$LPT-dYnEJRCDHDKs~Rx+h7fJ?5t#jfKmI(FUDi`1k12Z0&A7&c@f*CyrVD=U3BkT%eL29 zgWhg6shd-D-p81W^ymu@ZGd61V?`$gPF$~#*u=|I36K%G%}Ln2MK|#Q2&{{}M_@8o}AZ#sn1^nzUZiF*nA1FSOqu2XPj~h&uylZcscw%DQBQWwb*rmIqM(5%48VLp z&N1x!7X9_NIk^WyAU(G+#KV4jx|sqkm)wM?`H3Nf;@~>xU>_n|WY&abKu1GPZ#=u^)E z#KK-yW4Dx|U*ojb`5OvL{SqU%llGsz;#bB1GBsb5Lp97+`$ULIE#bv!WQ){kH1u;o z$5gdd)vQWE4enXISz{r)>8W@4JqEfz18Y&>IgZ{@FLkd;S6frp+NSz0G+%ljar@@> zU2d?;wxrx)CHO`XmIr>J+_ZhY!)*?$ir=9(Md7qxVo@$>cNAz8SWtRNrB?Z+?)rMc zo_xm$*e7)Y^#ZCGI|PSul2<#RySG;?hQs|^4L<`EFk`<2i!B$W|LA*T@*@E(1WwFB zDriIZsU7^5-iY4ozoL42JSxo32LT;(YZf|A4SK*u|EdD0RtXxblIrttFS}e0D)$2p zpR~F3D&df9bHYXC4urNL$mm(S#h|Pq==W_xoF2Ic5m5fDH>*+yQ*M)%%;B!vvg4t% zd??pK*W4EtE`xU@XguNbT6cfSmP4}&CC6~z6D4%D(0y4ccBehr)*lZrtEK*LKynE` zzJdmgr^kD%hi(cQ+-oo@aNY4*HSZ zxc2+`?^AT{tnQ^h{&KzMmAm3t-FR#lj&_OGNdMMkGddfdb!FGzL{Tl3h`3(uj1fCB z-mcir6lL{1%jI)(opW$#W@=v#&TlQW`{(V`@^4xVRa;f@bw6E|y_FO0**PF$dE}k{ zYux=8Q2#A7KN|+jdqq)+>0F@33YwVg7mQgv(BvXN|F}er4+n?ih*foPfIwed8WHJ9kByPXxcCVmF&zeS-8R z{vz#>301{+K!)GAKa5cGE47=>Y{Gdh4bL~~I#p9)mDwvF^kAzRuRSXXc1mCcyrl6j z_|~QE9ipll3a#KwA89Y^2`VqJ3NvtTXs*0-<7Ibmkfd5BaIt#jWdKyG#c!k2T_J9; zTigC(_U{jG;iC4!M6>Q%W+jsMEFD26krK(Aeg_--OQxX9?{Ivb(~-+FWU)T^lJp6O zK=c(j7v$$Vp9gO#>RtYt%HPd|lcSG4eI_;Fnpx}5bg?Qk;Ld5+2OqDuv%2UJvsA9E zb9MgB-%v>d_h1DF)_F=l>W`%fh+_;2wqu8!|f zV|h$C>!o3E=$ya-m02q@EGxOe?02lYq{pATowtT-78CdRfP|eJmrG89@$!MQ{6WIu z^2{HI0qbevwC8_^_`l1tu0xRo?9}bq8V>=duN|4l#`cz}_m8pv;CAL-jI+DVMLxym zW^H7v$fD+>NqRFfb&eh^i3*RF*KCDCqI>atL9K6nlC*@mM|-55t&*1u6)?5T0179- z47~wm|JpI>Yz5uqH0U8Qg-s9}|Cr`gwG>Ms;jOku^TQ4R83kh+Ato<3|2lBI<5xew z$s+!lg4uF_pvIk7Gqu1@+Cv{BG~J300I-4%|yIxhv;Br= z`jem+%FFl<3krDk}7&)hdQlf(w?N5h;$@8p0EM^#(3Y>eAxps_1%<%ofXTsTX6q%d%%F@<)?CDWO zO@d)CFI^I?aqN@!Fp8%(bS0_S#C!3UQ0&Y}wm6Q1Hk><#*67;oUu zp0$&P!^1uhiGCQKxFZXq;p)4-(DFx0u}xe|z5(q1!mHY6ya}>ruGOhl{II_ze93?Z zWi%}g=J0~jcyWjSdq$G*of>V@y~cjy}lOMlW`5NRn<i)NQEJ!)sGAurSkcapgHGIbCZ+8#px1-ECsUxUB~98;K%*1eRU#^`Ly z53TY%1h+6`40lGR5e`T^mwE!hM_;XLBEe;9(!Mro8o<0}Mt9E!VX^b(e&Reh7Lm_u zIcrYA_owCPtBr{K{Ub-m5f#U*SK}V^%2W7-hc4)d>8M{*$jukh20h@ynHoAd10!jF zv;Xam^WU(^gVX*PT)54uwYNj|-rl^WE)pIUu*9hj8UN6IDo?YwxJ(@sW5b8Kzz@dHlCrPaowvjHh44 ztapIu_^fQihVgxpZ43lL~Iw=pBJjD_k%8l4uV7M5YW)yL2wiO*H|x3z(mmJ4NpUK zKI8)KEfX+rZUCJ|?RI5b_T-f#mj`jCW_Q2%-r7UJ+?|raJVWS`tSVODwH<)6|2vo@ z{);%~m~73M&N3?JNU(L)YJO%#&%NvC>NU~C`RAZC$v$$QT`bQ$BY?u*ft@0vVbwlV;ViigQ3NY5Aad>^GCKfTRY=%AyLEHCUMcXS6(b zxpel%*Qrlgx);`G-HLni`GEu#|G<*|ria^X;T5$%znD|7a~0{$rz=X&!HRirNV}Qx z{FBx4_yKWZDKXFSgZmbbHWDr<7yRWZhDdCDsv%<}s7jZ@_2g#)0GC_wT;Wxud;Zn& zhiRQ*1##d4EaBcQ1z96EsAhn(Yk2s4#sFDjYU&X-?N!#>?;j9E&CPFyr##1c>|p}v0%cg)my20m z`fG_uy$JsC@vggxhTu0g)_HszZ)f6DE8@Hr!MAL{co|J=v_NjWAma=$-**Q;*NJ2lFMqtg@ZXAYS`(i4e?+Z0Fo;PgR|xaEk+Q3yUX4q^d) z^FL?5yXc&z67(3m7OkwxjOh`pRcbPEl*Cts{9)J}CMbAsU!e-bz-U^|&EuT2awK1i=JJW3x zyuOCD+G?Zi(}%OR2)QfE?&R=cb&$7Yn)c5acW9Pk4`IB9yK=m+mk`od2Z-v{Je}Ng zMUN;EgwByPgWS3a3!`|%!e|-m=Jsf1)+pXHg5OfwM{y<8}`2ac7g`#N}P)u}}$i>#03*(1frO8al}bP-*{8>WM9rre972$8k z_5Yk3cE;_~SeDHKvaVq{=d&_mGn_MT&6CxgpTFNqk2inKr;PSr^)Ztym9E@Db=XP| z#keUl?xANg>R=Wd_&a_(t`MS_)HCG9NLwm-N+&o%X!j3a>3+7YO0q&uknmTXi502K zr1|Hz%CWN^mJ2W&X&6uB&;o zu#Kb+k#Ozk4+Ju$OFP~tHyg_nDYY;!^ee@Hi@TBF{54$n)3aBnE?x@#=khoASgmVq zyhBO$g)j8$Mr2GS53*zEl|~O7n9pSKeblj@Ov>hYBAf13(_uSo73uHR*0CgPAyRVi z=izR8oj7T|P0}Lgc!_SCvY;IFp5L5W)9zh}or&7Rz|=HsNx_d=md~{e!lG|aHIRd= z@sJ7;dadMxQ!CXW({NiQ9UfhpP{6k>#qfvHb$zg@?bJK0dGrT$^ZdO*G|Ged=r>*c z^Vhz^kT!*~c(G63BO47VaKWMWHh9;gQIcjKc1I)3cXHyBVqS2xJn=!;xrQ(+hd}kc zB+*D25_bS4sbDSUWZDZS;t%5Jx%mRU2f#!0>=Ykb|5@TnH{IqJ8OEpk54&KXD)f=h z#;Q`y%bl5a@n$zCKe1!?_6`{DhkhND=H4haU;cEpl@-D<^L&5|q|U(3;he1)#iNh8 z`A6T4t~5od_v`G@PBAdI3gWhlPBQdWIUT-we!haNih)S z-LaMZYyA(P8oYB^Ol!t47^f=N6B;LuE*#BY^}B!Qg~Te-Ti`$ZN(bBBx~ryt8(FAU zPFl$fEulfKIgq9 zp#Wa^@e`$T3T^sUOI!Ku(!Dovr{O$bt`F$04A(8&Ae}pil)0#zYvoQ0%J0jG8P!2@ z#R_a^D_?V;_mdCNY5r(U4@;g1`TS(1@*k{kbltNBPUybQZ~ywBqDBq=hLhxFDP?ng zANfUr<3k|^9V}^T(Cr}Hnfu!l2yc&-GwPRWdOVs|FXR@?9!~FG$i3>BNpzs7qJc#g zVzYSqXH8)#}a-dcW^%a?+Jdf2dFg4;NA8`RVh0*qO0aHLd%|u5(gB#aP%~NPXMc z*ge<%fNXKvIfa?`f%>s3BB~gJZ_kOuiRGNN7FjLX6_VXZvZZguzHz(&lkDoJ$_hEd4a5V(s&s2_C7#yg z6&d#I(6d1CroMz*BK4ySj&BwE&m(D4%}AsSLn@W#;qbb@uj#}F$vpf-gTsNdw?S1U z4Bf8VKvu-^#o=JkA6F^Cx{MU>vHIY>VTKa zKU+s?TNnuSKPq3O71-;%y6Xuw3Z3i!=;a{{R4$2G0osI&ZsTPa!`CRu~`TXLZz zJM@DQUGwH-`2kPHHv~}mI92@N&(h|-TTV_K(mZWSvuYVCc9!6HBp2OtM=pm>@;oh)c@7@R9%v*k3@84@z5S?dF5TY0}D)(AklPvm#e1Rjgu$nQt_NE zPd>YDUun1Ak|*B#a#IB4a%0TV%6FNN!k~ZjKGL`cOeoZ{{Joq2ja}-mhoq=!$zAt; z`Gy|dMB)k6hSAFLAIs`_Z2i*pw*49j3v#HuwJlBBitkRpWARKovv|gJAj)q+C-|KP z*|Q57{P=LUYbugX`GsVBo_g4IDe4`}r{;SVRt0kkh~>H?O{4sJMDLr~x75j|UiUp} zNlOcBi0Re?mGOJ*abGEp+W( z?2)PwccQ>V zenlPjisf?2pxGd|B0ioMZrS&&%@iqx5-;->JM#ri(~a!kiWC8ub36cFYWofj6I%zw z7?x&Vz!*t~$UzN|6Cv$KdmgyYvH?I~A-Q$=_U8EH~(XhtiH1C;dyFeh|Z#vQ%5@nn{p+Xd7>%JEK}(#UJ(H;fFR zHNCwG*>F_LsSMkAW$+5jFAno&rI#jnhqq6b9l)5Kl@y{6(gCoJIBY$%c8 z)O5oJ>j$f|kGODcZ+7(U?O@O-wY8b|$l+;Ka#UmBldGC7&JzKihSe-weg|sqb3j=4 zJ<$09fRfDdzWT~(;G!(_-6~hr9vg4(9Xtz&<$rKUheJ?vU3J6!3L;l&k_`{3k@6bNp*+X4D;i#V($kx?X9=Ec9e!mUpA$ffb0KYsmxI0 zP7^!}HSPc4{>IEWmRaNf!u%06)PUg3Ngh>Nbv_-<9v_x4b4G4o7&S+LY`5GuYE13- zeN}+s!ei0)Ly$IxsM3k4Z;JlAg**3E!Ku??aH6e{Zh_Z1QKjU=(A-0TeAOqTt3gZc zQ9Y|C-C}O0;UXA|MRqw&&5sn$Y$o{7+qWLqKBX=nm=_i3$vpYP{Aun2FBG7G?JEB=>0Jv;F4`oJoamEjsAC{_fa{ff%T*vpnsMr!ds?!AWLW4%0C1Vc+{zN5e z)bf%w{v^Y_x&`hw5Ko$bVU($t%k&xJr$eUO+LIpL>syrUwPE&#QK>+~t47lPIPK3k z8AHUKH*s$p2;Vyx_?KgywNXOZRht@?d4C8#^tGH?Bkf3Hr3D`o347MxjXa_-0)&xY z?ldqdr2*LPiB!?9e8~NoInoL2E>9X$H}$^e z;1~XwS}4{`e=3C+P|a?!)-CekQxO$=quY=kO0E@n3bEe!15fQ`{8CodqXbJMkl|7# zy^|v>P};dAY2*dgY&D**>Y1fq2?~O5eR7tY&qF`5!I0ySwb7+nR2L`osRa=$v?i4r zk3|syXOg}3e!IO7t!XCUDQfZXpy#`@+{v`iWGn%Ub95r~@bRs>YejpDrn;?+w0A6I zT9E@P+*G@8{r^1=S4dcIf4FuT-JR-Om3}|$;hpYJZl%kO?q27|?>Qfxc1o~*izM#y zwoW%E_$2Za2pla>Q(kCP^TvX!e1P|rQ{{=xt@)RmqU24e(4QmNMriQ&N36kejE3^U z-b(K1x<^;tGe%sSBJ%gx>|-UNYB1fj3p}!>{89yQV%(_ybUe!t%#M`U@1fp=HOfBQ zZSml>8C}|H!!h1c3O^nlxW{#{x=Ch-Hb^^Cl3L845&ki6As7gUbEJbYL}-9DESEEo zt}RDB=q%-sV>p(ezrNu}D*qrM67wA+4W7dIj&L)cZ2XYZ;_7>Ko8Vu! zS)}CQz$2eR&XI<$K6$X8?UpwEQ|zmZeAzUFYzjX40aox|g2qH%gAY+Q~9rv|Jt4g`v3(>~_9 z%`)0SP;##O-)UZ(O&%CHKu^-pFVz)s6B|b#tbr4nxJN2x9sp$NwuD+=%}Y<_Bbgtj z>R8R3{7F*}&iyu@7_-&Y_H}bkCoxLaAv@mxA>r@UmHodHW~oIPge75v={KaK9S(wI zaTCvQh`KWZ(6V~(mqsQ=Ce&d2i-LNT;?8WPU`S1JYaClT6Yg#7R{z=f+P-@qZQpaX zRQ!Xz#WIqx94G(Y&Az|FB~9QR78C>ew`(~6VixVzjKhyG!X-;K`|zVnMIe}wx#9b3 HF0ua$8_EDI literal 0 HcmV?d00001 diff --git a/native/docs/imgs/extensions.png b/native/docs/imgs/extensions.png new file mode 100644 index 0000000000000000000000000000000000000000..ba5022200161c8fe35fab6e8f717b8cb9dfa2ea7 GIT binary patch literal 15473 zcmcJ0WmH^2(`FLf8Qckj6A12uyAA}G;2PWq5AGHSZo%DM6Wk>@g9LX7?y!^h{q~$a zXMgRF{V{ju-s#(2U0vP%R6W%ZD#|h#s3fRw-n_w(la>7R=FQtU*zaUyMA(&%3m$fT z^Va2)jQE?X39)w zhZvk>dAi~cW}WTDZRc!fdN@1B8cryX1-(U?`bb4pi`?*4n?@9;TnFJ@ns4F~tthhz zE)m-zGMX(hHJfa*xhW%$QAMz1L_Q5`+PPVp87R?=F5;37syHvV`*^6e>g(X84e>ddV6CtAQM69Rh7aKY!-}wg$DZ^KG1CdHF8ax^jtjwSOI7q|RJnL8g zd);=raS>)R*qcG5>zlQEk9QP(>yurSzi09PTXc|`LaoXdDaP=g%3kMbAL}QpUyT1f zl=3gP+hgxp?ghhtipdbuUO*7O8@`gi$W9NezeI|>98}-ATYez%xAjT(_rE7M=)Q?m zVq@0kgGnze&{9-M$KwlYAMNiYr4Q1j74-fr_fkt-)bIQ)6PEX7X^kTrdaqBzRJEt; zlgQI~3T19bDe3oX8oF1ky(~|~|5oE=)o;4)@rwTRGI_VPZdG1$r=NX27p6(IHj_wfrK1y!$u0N-RdsZyPxm z^sEZz+@8dbR<(lYD0Pw&823K`6Hh-c`nf3?*z;ee_tZH;ds!e3l3CHt~NyA&9Aev zK`$5Ah|Q2YFWQLKPS#**&0t4rnb@Rg5^mIdnK)^EeX`B1ExRcm`FxP3-?EmLg@2yg z16^C{6CLih(Hl!}C%1ZS_&NWgavcFxzn zJ4rE|Z#dr)nB@`*XbR*j&XS~I5}imql8Bo~(yBLAO>~JlJ&8#pQ`EBe+GzL$c7J25 zDhRBcY5Ows`4>DKzqjG$MsTnMJp~gD3EprG#0Oq`J$zzI$U7KJn~bFX7tr|5k^1nt^W#M zl&B9GWfgJc$&1A&vY!2Zve)FZbAF8l!9biiSrjBG#C+-2{AhJ5%(Ms{2HCU#4buhV zvtVjIp#zSOJ3Jd99R&LLQ2Y22I9R7 z+Q-L=1TlU1&}dEYBWV!bc7L;E%O`?v+;zFhPKwX1nAC322W)IzYy+C^sCFue4EZ_c zfQywj_yJ_bTX;lGEYcTgW!g*6ZSuqMA&~=hcNN@Y8ae9m^ ztcj)(`5}=64CzEUTmY%ke(j7_e0qAJD8frUCsTPOdvIrzR&iI*e4xj5_{Fv^_}pO2_u3(D%jNi-6SlyZ$kiU{p)1O)zO0KX3~Mnvk$ zs#XTQ6SPTzOr?Grcw1<5s|6o=!3!z!?Qn-2&D*&o5q>?9iu==C%-!R(59r7&S|1E) z(7~1Ccal~z?x}`IGHvE^qkQ0C3#LY(wZ5!%=uz!Ry)DBIL9+UAXA+nDUvUcRSl&{V z*k>sLs0xO9UGJJY*6ad8M2E|JYrCn4x{#G*0|8i(d_FA6dMf8+m7+2cGOMoN6(gqjm$K?J*7@p04N0OSSm@-AA2n39g5sANtbCfVMC5{vclzc3k z(M6kHB5QEM*!k4~^L;`EDcggkRwDlee0RXOCc|}|VAy5w!iK2rN zOM8j&8(?3B!%v}v;v-EA)W#hmzW%_>^5xqd4;SXP;QrtyZ}Pg&ebG*)IbDYd5E@Wq z4qvcD-H|Hu%nmQ3pn86^Y2A2T$Uygm43VGM!o*r0ew-{S(&y)y9(UayBD})nKUdpc zE9uT!$`S{Cxx6ZA>h4)3L5Fz)rS^3{9N_ylrpVuklTQkiCUbhYNz!^bp@r{*mdhFH z*S>0LBTBFSKnabUIiK-=P=-cWW_u1aVu=NsNKwO#T;P(867b1cm4OmfQL5kNcG~x> zEA!jI@v%5`xKQ>-7-F&c{;kFoN+5R=%}A=sWtr!(>C{Jx3m}+yPzXQH{8HF1yuTK_ zv6@MgsdK~l6w#IQ!es!SI-{<=hij}XgT#+_E#nI7ZvxV|F>Q=jS~8e~*x?j7H8{{)oGi0f;)p_Q`+*GsFd6z_+;*|uvd!wEu1=y9lzRP&*7#Xne-&|tvY>K@z7TPj4 zuJqR46w9&B;H0ef_EBd?D1hQ&+GPifSDsM9-S{JFed~m3f}hcaLC@?@j!i-i4JNp8 zvS>)3uZ!tp`xDbLc0Q{m5MZJyh?XdqW!S#gV}5%OC0Kj)&WO(zoW5Sl(usUf&GeuN zf}xIpMJkBL_ZJ@hwyb8GCF~pzT`63O^YB@9e140z&&l(oR?Fd4FT)YHAy#}p{*6R{ zE&IIa=A$IYXDe&jITQ+m8`F_^u#p_xpB_-xaQ3O|2)U6rsE>Z6>R#cN-$YPdQ z`vO?-e`hjoj7UriLj#ggO3N|$Cfq^qoly=Be9;ec4Jf|`kJUE<4f1c9)gz$PP@@m?4ynj!fF~n1s zU`v}3Q~JRd3agtas3r>OIh~S4n4XRfC@4sJ)^QnoP?moiXZx>x(~ZmpAy}~|z}s`S zqKa>ciR=z*pr@;15$?~fS1$=MW*?Rmn=ad6cqiJw=Oe|umyEnTDkcRe-0<~bp(yI+ z<@r3$KMC6X`h2#fxBfujca=}M(fxAN4LSn)zg*^=mm5B#ioBf1?YKX@P`;j1-fdv{ zhdcOek>0J{c7?4!?egA1*Ix*d57_ELU~+q|QlrK@5NWPm(oz;&bqPy#DVxWOs53%| z_LascqMPv~4-p_j;@OljC2h#zkLc5|Er1_+`YD@Ys}U5QlAd6yZ~4x{lUv4O4vR3 zf?VHM)e@_(7b21}^3zX?FiOVt*X9P@eBy$)%0*#mNN;wmIF z|4IZ4M_gPulL>jv;wph4f8TIgPDpBK;Opw@s_5!QI&BRYzdYS*cl!w?vl_Cu%RmaTcuAllUk(IomIFUr{^N%jO6ag>CN0s|uf(9uNZRJ(=LW?;Tq|CZi zx;L@Dws4$ZA&ZE0I?A~>^3d-Ow)b!i5}OSRXANn>c~>!}@@frAdlfzl8z+`G?qz%P zLt7x_Hnex%LV4&h5a#RX*D>6>p`7p|`dK9V+j3Lvwfi#bY)I+=gOumb`pe0>zM3MJosVnf$3B&$lP3wMaRONh;9qdn}Ly2jxLE4-N@) z$XT|f$zlCt@esqi9~}FvCYu`v73o|ov2Q6hf7a&4QVgY$1WSM8GW^bzVA4Qbtk$?)?b5+@KU?I{B}6_;o=391l@Z)r`&VSaS<`LMWZQ-Q9#hNZ zMxS2=N;S*C%gxK5k+X)mM44KtUDZ)1%HFPm$)d_3F|~$-@83hDq6mh$BDsbF)F>jw z*Zg07iG`Aql7@n$)zt6;RJNz*=62GGfPf!Q4Fh6o`VBSNDJk?itFA@a$7AXg54|2X^WU}TSsCYED6*BO&2&eSnk>4wkFH3?8cUL{tZD>OKe>)xmu zbd;LDc#NhU#!8=;jYb_;Z@74PJEsgi_sBFv+v{p`*|jb1cBvZ0<%qp}f8@AqKZ!eg z@3=YY9uc>-vslHtZcn=7bX{sdp0fsUKmXfoq&$t-iAqCHk0cXImM{%psX8TqsHEE1 z)HHG(v%IX^8Y`B7z!E=W!Y@VmdKdS~;ILX)5@3H`sAuc{H;D32l;KmJk3RuR!ORtb zQk+in%crGn6^6~+_J%c|OQm?n>Dgpj3V1 z33(@k@5BY2K#Rh^Dg8cka9maTPXP08J51F|iC;|A;qF5MbH2>mUGizDRRL9EN7!R0 z?vE=wxC348^jlJ^_CD?c>`?wfFRs`bcc1NZSBeid-r;+S-}4(aN>8gz#?X$w~vwhz77&lOJ6U~~0Ldg!SZu=zf?Ztv}x!nWHB zsSp~xf4hp1>M+!yo259P!Q{umhvk%)85d$2wxl@8@H`CN=;HRO3g1eG5Xt?;T2sho z1bxAq1Z{0K%_|vqsa?&_hFat#u33uEB{+#JjuL@F-(Mabj*(%8k6xSMwhTOX#2plY z)?t#wKg&#SclZL|Gg#u+V9pKSEmw)02FZcU^lbOWob(&EhO_BQU>2Qn5}fn0SE=A{ zAIR_jEVtO-yDky9J!JhkzqM7TYdkrVU&;9U_wU1QD3Rz4zwd7SUp>I;q6x#R?H)Vo zxJvxfCW1<8+&nxZ`+*nJ{<_G;domTJEZ1@NlZA|Ikt(vXnf?hrvMTNZ-Eixo?mk+3 zTmsRP%13ZzoGr@pl$!vf_c%gMl036w#kg;gelne2jJ>3&!EEdtafkXn zfSMl6+gGlMly&T?cU$;wF?KUcJp)UjtZg^^P1bSwLSU7>-iYYyfuLPgd!Ip|9`(MR5!yR8)7x z{txt?86TAdr+Ka?N5D{PO5H#1(uAG&M^S{-UIMw1bHt@;CFF8Ja|!CRm}`VXJS_qp z0!GOBL5GL|EYXm!SNNZwbu9F9p?r*D~xWCK}}Tr4)2ctuz1Fx$!9qg^ac z&f4bYtn>Q>+()!g4}DskZrI(>TL!wTn3pu&{A285K@*oImR}>nPQM>-U%|o&@>s?1 z;V)&b6YQQJ<=yjxuCCxYrZM<2pnoXCTQWNkD@`%szN}vHe}%Jrh=l=5m=h7tS=3&> zPmF5G1;Fq(!(E!M7D2=x`)P*A++`rf8IQbM1||O$jMQjf7Q|YY2SdzAmBiZ3$I_3J zQ{U{KI2+IozF^O@!O{ z_DRl~e>Fn?8(aKgz~}lQAFV4LA+59x#_tyB1khR?Xm+#Ca0z z%&5Uy?C6~DOk{zARsk1gGZag2_1y5l1l9e~9m*U;*&40y8<3 zP-y$;-?JE_CtFnXpn0-DDs$D2R;W?tRez05wk_OEo6>>g{xmFFnaAk!PF0M2M2;gCxjGKK#@y&pPj_uNK1LQt!Hnhj0}V zu0pO(_`hp4Q`D-3z^a|nwnmn*#4VeLAOzZ{RmC6Rg%I&lx*AlAJDu}zt)b<7mDC3z zYlvE)7v-we#u#N(d#s7#JJe%3$d#@E<2lt^#d zuY9bXVC*wlF6NSg9XGGb>3_D5dtOsxzg}4Gm(Ifk^TrN_uUoixKI)>a%?Z4&iJE^} za?8Uki#lu|7#=3birFYcZXEa6i6TE+s}RfnAViVzG2>u-7bWJyuU{!p$ICvPzSfId zPN$jL197zF;kEYb#e&gZHpTS>U|z(8y=&$bYG}6laSIhNv5IGQVzw|$IVTcHOgW?K z!Mc-*QJC0sSgqFM$(U<rEQlc%L7j+2gp|-rN-%JvMJ5$)QQ`sG!;bFg-TW<&R zLSx6?sUMg1w-PQpo*6e|BiI;c=EX_7!t7!p2$M@Q<$Xw#C8?^+Z4eJvcD2-aa$#zE zY0?7R15EKp*R=5bS4qKmNd@DBT_`f=CTryo4L<)YHh8!b1#=Z0b-M3LZraz^Cr2`h z=T`P&^^R?J^aP8)FELRqSNw2!&9naoe@iI%D;uQ%?*?-RBiMG;o^K5t#3epsG)-_8 z7ZGGh$aoMgPn`9|wpqBkd;D1eF4N=lM>YQ_s(Pzby`J)TbMtG$4}j&B9Y`@$UsQ|! zR<8f9AmV~xxiL-8$@zCZguNS|x5)L+&1}2#YGBb1hPwFakUK>vL(GMW!E)G5;lH5J z49>qnJ%(EHGoP3A|3W(vXZV=6k}&U{_d9VAJ8rzBSa$oug3}OGH~Ph?QRA33KgnHx zHH~#9nz6dPWYq)14i7-~W6F(e1am&h>g#WKhsLelknvOk%Xv~>6r0I4$wxhlhph6& zESrLUeA|Jg6zG^WBjC9qvMwb~?eG)!O=}azo401EVsBxK-Di`glP-fclI)b)n<$7j zgz$Gv$xomL-}6`>GhV^i&$8O18jl`8X0|JFigU&`xtbQjRa%oO$5FjNlOHb9<#&)XWjmyxx-w;=<9SD|L|-@f{s_ErtZeEx zB?ED7)VL#+SF(#vv1u)Ol&5r9B!@K2iVH$<{g&G3`=`XCLw>$x!%oE&2 z#T7$at-7}$KbwWQ>{Yy#JKyMZ2 zKC8Hrh)#Zp`R6wl?vhFyQO?y^=v*+9=VN6YcU)?WvvKF+hHpcsBW7be6XI@q7-l5; z(DY1tFcr;>6%A1ZL(m9YQOU#OJw`j*5O-|5ma3fAeGj9dFVpJx!H*P0M5(IbxDueG z_UyGO3mwC=TRd1w;M(NELYeoSF(sUBL~>%g!NWR1~u zPZ2Tz%r%@GJ+N_Cr9NB=;~KL2&kcs!c2!t+xL7vn2OpP7 zd@DUmHmOELz&qXxppiIz?s?Dz=`}t@M|k~_btg6DSXba&zB{AIyfKG z2}XHG79zv&$W_;W(K4*pP1wT0h^s*_?%_^pTb7Svb8eR!_t{YQPH?J+h?VroK-LAy z<*7HuV*Ck1IZ_Qo60evId4v@;tkPiPkuWYb6>n_4az$uvE%d?ea8)z5w5Uan0XJ}Z z{&d{`S~jgU_hX-xUgrmv(G}j-5*$JYl1=G`^^Wk7JUsByGK1;UmrUA6>ztx51X!U5 z3P~P%ZmZTmV^1(zWTLhUf#a9<j#o!>Lb0eZqVy^AHCUfkkY*=s#Mq3*HduA;DzlqL&uM^RkX~W`=#;NiDKmR|{s+c&FbELcqh(#iiptGanAQ9qUB+Qa-d>)Rd$(>u@PP!VnE0KOx zVnItnLDb|iUp-r(H=Da;oB!&Ajw`^}uVIzv$KcyEV8vIEZ^=84SsUz-zf4_%W29;Q^O& z?eY~b8(28}Li+QuO03VbCF$V|K$_Qv+p0P`5xi><3Fm{~w07AV`dW^2u@17OM0SUS~jgJ{REg13$~W{ zc9N3sr2zXAlIx35HEf)B_AtOv=Tbcv2K4DSx~dVZ>Z)vjt$H=&Xu;oXU5P=Mg{*u3 z7ZWB-@Y@>1g9a7wjSP#EWs3ecKdO7L+(O<@M}(oLjQg@AaU4(Rm&*LXd#|@mJyLQI zfPF`RMVV)mf%87&_`YLjNwC$jy=F!&88H$E`KX;WA@}5quz!4b4Fnxt((v$052g~y zHD$2`cnFNSndpBc!ctn^4U*?dH zJjIz2mOCo5CTa+Y^_}w*4cUCs+zGVVydbZr93~K+Vp#U3@=QdS7V@ke)9C^ISwoyM zs3h*@bi~hln)>dwRA3!b(3;FkTp-gp~KDUs7nqFbf(Fuh=Fyb;I8BBY?=5Qx=n znq$|$wkB^_Sdx(kbp#fovq{N*zOQ)ur%I7KqHT7iR=hI)t>st7D=KkgSC&C1<$Kn=xVQx{; zU@`Q({98#7!{Ph$zxci|N#0x7OKd^&s$ExQpfjX^#7_a_;P1KO0xziQ>RQHf@+e>Q zBy+sZgtI^A>u@ay7~X2DJeJ6SBn_4fgPhg`a47o0WIa?%*9^%A7r4T{;%@+^=g3$v z=3V^LCyw8o9P9!gDV*Ld69A}G!A;$Xd#(>nn6~cdhOwF_e6h|Qo)4cuNp)B-`~q%U6*Y(dA^2Xp zUgo>@@>zOP$Z>3R*LN8^$~32^ou8er{#fk}*H`4(x+6OmMmj1zB^@y937hI8a2AOd zPWA_px%FkbVHXq>7>&#x$jT}8&ITT&^5n~+qAV4Rt_voWJN8Tu4^fRK9^zq5dN|O# zp$5#S3681)DZPp8ZC%g;90Cck8pj15HT05B^0ow_$5_r+U8haX(zFCLJjp-zg9H0b zzfvPeUQscUrMr^G)>?16*S+-j&b&(C#p^*u5RYHct7yENE3+SneIO5}cN@0e203?l zSZAp;v*!fLFi0%R^(|2?7#G|-q?-SzC|Qyn94x7rqZ(d1V`20>z{2Nyqmxt(jigVm z9QcjDLzE~?kRPnn_Us)Cs=ivsoal~m~BZtVIo z;_BzQlbRH6ok9IU2fQX>e^xafppFObYgOhFKI_)_Qdgr5_z?q(wK_z+ekM6mRO*w9 zV@?c)^#tV~=1m9JdQ*kHQ3jMV1K79F;@N+^sh1}R4>wbkJXWpl=uC}W+_^$1gDWbJ zqEOT$c5AN|_krn590#k1?!8%koX@+HcY?ias!HAANc?-+8)NkYN}@LfWW)eTT~X=QH2oV{>v@DqLu_yYd z>O-h;UUqmCk`f#(9UV14Ek;@o`<_x-=sjA_&+SYQzZ*A|H_ioG5!ze1$f>pH+Y3#c9cm}To+TCPWk8GmRcfVCj4``Qdvd$-^rZVrPj4Fs9)f> zqu)Fr(CS8_dc(NBNSKE&1=y~U;~M}E4UEizO?s2%D-62vp&pb!cghzW??QfU1yU46TA&Y%;}izCer5N{nhnBN$=muO>>(15oC?Ka!PI{5EN8 zb(ya6Qn0N~MS{e37C~QYdZr2pIPPi5)cFK5!5uVR+(!pdWB~i9SI~B!qm)5;o2cup zMfv|+&siMz^YiP-_A2%PcB>;QI@G$LWIik7-byqu7)G?r*@hZD7)8%|ZUJMf~k zD*CT<3K`P6k?R%YL-N7NJA9*b09geEnc8q*lkIvyP?$}v<+@nw8w0L#ZE5zd`45|$ zI4Z5}h#|D2swxdcq)i&e6Hnj6!5PdaUOwsqp#yZLl4E~x{(&c1Z1;0nC35PsygaGD z#e;O-}Wiv|+w6aEwRF&m_;;Xw< zh!-(^n_RU_bJhSnClYXuuHi=MH3in6{$npwkzwp*53dwPZEgNvh+<|-x>mnwhYZN7 zHoedEo8va;F0({`(dWgkVnjkx197);01e$TVWl;b&96LK$jya@zUKjAGP7aC@o=lN zlKK4cr(;1!JUfTA??;S@eeRK5v(GYdv4h!ggN0Vn86X9f;1%mjHoF@jBZWk8R$Pp1 z-(LU>_V=;{g#Szr^XN2L4CgyY!Z;_gQPe9mqh=SHU| zbslkPC^Wd~cf|Q4=2M+!;?sn1XCeuJAKie$B0%Cej5xwgz>;1lai}pO96*PynTUc@ zS6L5(yfj><4m+-a?4ZMP{BwX3Si|&m6Ln*DkILcUT@tf)O#kS}PEV@_rW8jaozg%Q zYiG1xbyqC?f_;4ReVJQA`1TIrpL@b8g||8lkTkmoCId-HZkfp;x8&KeQrU?inUO_C z-~)ryW~v;-6@nuy!mJz~)~pDF%F^JzKGWc@Rhwab1w+^HZ5h^*KFJ*{$)}EaNLM`e z)zZT~&Wb}B)H&@#6CaX+b;S>CpJqDT6CjG&nL(Bxg~N`j8~&VlpZ)psizIq{tbwIs zM*K1Pr2TJUwI8l`8D_W@t(hII#RkC1hH$!YeEc zD0CtG6R~q7*^m&YI*eNwp1{H`KE+XAJaQd7NI^Ng39uUqL(YG0q}^3}e7iO}H^W;a zKNiN=S)FAZXd-%*6Cfv9TsZ{5A_v3`ZqI&)O{#&BeQMtxF59XKY2A5sMjEaVNe{z> z@F}mpCt4fTR+nn}vfTZEV57%VU&zaj)?axj6mo+0x#jkc!q6DmUTIt(9WO7X1Bz3t z&$W3pDX&3tLS|;9lHLb)^8rvaL66vsr5Tb^AqFWoqA3UcpYuf;bn;z$35Nu*>!l02 zP*{I&?s^}!3N+dy*)xZ{u3JF~M?Hi4G34(lcMc4cMTbWso!^D?`S?jjvOJ{fbV$~y zOTUryIW)VEEiH%!wPGf4mtyNNm9yDBD7F$Q=ZONOb^3KPE4u^rPHz7WtcKkkE_BC` zQ4t(U1YRvC#(HN#UiyzNR&}nF%X{*cAP-M2;swq-f)$}L1bJdu2)}isv13%7B4p)9 zla9!#rTZ3-&sbo@^ZlF8M2N~Q`(W=p`@f_U4fI&LH}W8_;Ej0i4}1e3?0ho)8y&0= zlozpc$EEL2UC36>?BKulQ=7n|k)bg}<`wjP1+wSifQfe3X(oX6_9*h#+yiPHKwC`8 zJe900Y9xWN-VO!K3cpPUvAcbb*eUQ0+pXC|uqWJO%Ty53{0j2x;g9ye&L_lJw$e&NZLo9tsX_vuPW+?2#@v2|XuUZ|~ zKFOl9507OBBo^mLjc?=+;k^^@5d{qN$?9#H`J-U1*%7FPm#Y)Ghc0xVl?Y5#Tz+G{^+yH^-*%&U}3EFi|EQds|KXW zL*c=}{i(_vL#ce^jm01HPR6~p+x_aF5JYjpDx9`d)!X0`U5ZECu)Pjf9)z5|SVlHX zi~sJfB9#b0h;+8-hmg=bj)lUnq3*^lB{|1;D>afJCL#fGUwk>U?6Y|CIYx@SUN59* z{`k3o+;$Qde$_p{0Z~n)Jj-}(PiC2|@ZgcdjMWL9@fkSp%#$JxAIwiPAKOoglqS6T zZY}1PWT8o}qt;Arq=Ua~x-Z)orlDEU6j{A4_GmsI^#{YI$Su+KoRIUfyx2LQWjDOz z=N>=m#~a6w;l#*g0_v6g*al*Xs@^YGFK-E)T0nI~#f!mxrbB8Q1RVIzB#V!8RjHZZL+{6U}ll|of>hsvW0RdBC*x~I_-NQnpQYba?Z$i?MG+hWTmv&sg>DG{3soR4j811m5jq z0r|~C!{BU>wc$_q!>-4s@dbC*(>kA}52HAqaFOA*iJgYl=Wh14&>;TmQ&Z*O-&(}1 zzCemNtT_A$0ZjID)7rlg=FaI6r+p;ifCy}SoCKLLdIhRl+3~Ud!)vgyh7_&EgifTd zxUBoxYFvakgrP@PN$LB$Z^_AY-7|6WS$?}ZT#X%}8I=xyex-B;Hm~0UlPgxjht({o zef24dCYTcdgO(Jew06IjNbNI&K0#IC1Z<8XmBSWvju7iAg$;vL{*eE@aW?nDI%Yr2 zJ9~KOATn=7>~&g+)gu)RzKg1Fp?ko(mP@Yy1WFHR!Y z{Yy8j<9kl3HBic*1_5s9jn{w)p8LS%GJKxGGk6z+9m}1}GQL3?+;|wc785_;pPCj2 z{jN3IFuDINiSr$Bg}uQB2tbb-w3Oods{_Et=BiA}WJjsr``CZA6t%OewM9>8{DNCv zYyL=KyViyFUGVk~x7!>$S{AKms5k;ln2r*dOzZ|*@o3i{sc{mi^U_)>h+?f~_nAjEG}o^$uN zI%#l(7WZ3zmS0EN?LeH7rn7=^OW{<#(k6ZTcw<@ZD#8txb}5sA;SH0RcR$wO{?N0v4iHlI$u{Ufe#E34+)1h08oADZYz){nbloF#oX>ymc($iE zux$&$$InQhf!}wcBIz~VI!`U3<~MyO%G^U3McC30rUDp7G4uY`zi)jaI|h zVGp9?+I*K5gQsNkdYwI6GN|i`>gCV{7pB4~q3}5}cG5f^mp(Lt zAs86=`dosI10Xk39viGlkP9bgA^QH+xHjU#`g#%zj05}@x?=63(q$~j18PJH0}I78 z#Wqj*oss)&yugtO_>rg;O%4oAUs-(K`cCbtrC~BcgiiR%c&KU@MFZOlSB(-p$;b`2 zFPSMaf@H|2>g;RBt0670#G8udn??T@%{@o_hNdHevDKZStZP`wd&4x+ zsmp$i0+eE~RRtDCjN00*TMD=&gP&G@cH)JWEgLV}2&M?fpJ4B4T2@~UpaE<6hAnexB=kd+x)DO?Q4an8q6KE}4VHSS>KVMIdK zpn$D@l!8trbK+0d)J(CWC2c6!HfgRrE0P3GCGr#uH7 za>vzd&pg3id`yU-%ZW9*!6*VFxEN&Zz}rxp7EksCokr({OVE=sIkQOe-QD%!Q8BPz zWN8ZC9QVdRD;NF$B0FCcnQYWKSLk+QnAn-ECWME2r_4 z_=R=wT9FfMNpG1w1izG}7<8*jebV|-96 zYy&0MZOize63n@u`$1bT*mwe^-qd-+%kmq4g2!ITV+n@kg=v}85t2^nQI8lCV><>|{8Bqh#}I4|v=)$@?n4d5XIZ$WE&)Nbie?RU1xbefs)Tiog+94--69Ohz8z z%aMB?Ur3i$?uHnlz@d$*-g-b)72R?CJ%@^WE-F3;7_#3yWNJGPITrLm|L|dcgwioR zK8s~RC{kh1WPBNe&v~<;qy0-De+B$<5V@4z|22) z5?`Ee!p)V~#sdrL_(h3)xlPcK30$x<_apyNn55}UvX>l|r7+l9gCg5q>Df0(Z?sW| zFD@Eu@;YtG=Xk}Z4D!Xa%qf>y<(xD*npjQcFDFXV+1dt=f5b@`@}heGVRV70Tj`@@ zPb6RF{-G(1hS9I!3eK-b(Xi=wC&oLXKI9rHK1Rw}rS+o)LP~NL0v3hY-O%uigHv=4 z9}4GQlF?~if2xK6B?6}<(56SSl@5mW1>G39x(T%wHfA4y;OuC8!CF(P&~u?`#PQGK zAYGgBr_TKKzFwG%xa~sWbX5^no4j#^52WFvp}Fc+*%|D$W-*MQCt#J3 zJJ455`}7{3W{G+5^FXeJJ4^c6n$#u0Vb7Sz0z2`4QVP(ycGYUPLc(B^X1Ch5`(3bxaQWj z!80}pLBj>wC>ws9`>=dzV(y<+EbO3wh3>Cyr8}{M+f#I4%oRKPdZgpoH67RNoY4`; z<;$08epgqIA16=B$0at>mL5nGEP1}466ztOUk*v8t{!|_9ULg5&CkOblDF1l>Tr3d zm2=j=^v?OxhF@+Iht&mLw|L4F3}3mg;HeHY@FiG82CUeB>SiZ!N?h1D9(SK?y7|za zAY;zoM{Q%;Sy6wFJh#_a_*4;YwtuO|!q;v=RyUt1<$TcBXDkXq1#x9Sry4R-7Oko<&p(Fe~*!|IzT)6Wqdm%ztQ8MbL0>>HL(q`|&q0SltR*~=jk=X~V z>cG`{FldBTMcoOboim98G^1GtiI(87i;Cg}5-WgW?WFDMhg`}vBY-PS%vIF2R=uV4 zV<0K+rlAnyR0i7mHwsO&xlL7X$6W>OwQ$R}Pnw12K_)ySA=js2x6?O0{IjQJf4JlJ z2M+EKNRK)6PQ&6^hqH1d*Yy;rOVtWlndIMLvup_pf*`}%T17fE_C0_ z0S*8h{Iv5E=m;#i2LPNAy$UhB9pO4RNl7LTBj`b=E2F0`F;ROP0|Xj`!g8>skJe3Z zfyc}by!UBx`jRjhcF5lYsA~PL61c~4-IV#|w?$F#)0@E1X7`e3&Yv&-=)RIBQ(SY? zTeo!YUtdTGMMO@wx{1Goo_Kk+MlN#L~l6=|AHs@V|ftpQg+jVpa>} z)c7(2mJgu>0DuR7{I;{U4_D&6`OTe^M(X@V#mY7TKh5Ln@Q?48c;iMp4-!n1Wp|c# zQ1I^_V!#vpvttQjBK+n6Bw=T3_MUX$@G(HjwA|9t_i z`&eSU4!q8=YxS*ywg%u?m4QRB9pN8*iWk!Z{1WT#EYR^`aWe{t^zC{qTzuF}CK6-p z#2(DsChD$qtFf@l;SP8l&L_Q-VwtB8TZ^0>ILj#}*|r5v{J=JaZ8``htp=t+;>eOqSCkPO>sdR zO(}?VW)onZt@xi}Uo%1%2)aV0QPe)iCgz|hRtdtHA_?B9?4b-xD$DQe&6Nsuh|Xc7 zvoY-gW1<~OzxfH+jXR5_iz$8_)>D*l0gf+N`oZ&^8SshVUkdnq%@{4*5Uawf)PZ#2 zn_MX;{~qNGq^Y{0jzJF~1Q`|H9TmIippx|5DAr;)K6q!0vwqVCv%? z1b$N?1lOh>-GL@R{nz&W4`}`y;QhmZ|AJ`#V_iYto5v<88g$Fsd42vF2;PeM9rx(g zW4GMs&EQz^q(D7cHF|hih|(ti01xMh9|iv5lE%#5=2x>w4(<8eeHTeZXDM!>-sSUxM+IhOWN2XDLxx% zTAf95<>GKAK|c<8Akch$*(YB$3ORncAnR#M%@^3+PyT|Sa~l=TfN4+kd?Km|crFzE z0v7NUH>q8q*p$mOfZOy<_A~FCRfAAi>mp4S)F(Kqcm0IkA^h~uP3s*tl=9^4G~#;XpVwRC4(Y zAcFLReJH8vz0f-8HmJ~3hD#$iRNEgr=9sn*J{w@+nzw{Q<>=UOKQ@zC&8oNa1~*Ab z@2bnLXVgdK4bjoV_hVPV{@BjU)HrJ>p;{_B^58ncmi{u_ewO_NId zQ5kf%VB?W-*yK{gz{XWyk@i%u{7dX+1r}DoCc`UJ=1m#qocWx!h-^aaW^eiJE?rY< zr$N%qmhoeMX5Q-D_NS0F2jZ9tC;g6@ zJ7Fks4SlDw(_xX-@H0?(Lfwyv-;(0lp@liOf}A$MbiQQ3-sG{i#;pcN~TPxrLG80HcgT*0q1HcbOndJjBew zNyK8(-8%^Zy^37Fi(rZZD4l8)5|gw}N07iras$m@FgEsn>z9&5VWeylf3#D_$J-qC z;rdJ6E}dg3_P6#2kTsAK!Mo?i;>XjGRF@i29pp#zbNEPf+{_>FfynHi&gTVA>4Uz% zJ%p_CwM#CC!s}dsE4r`1w*#MSA0y%ivVwzkw;F@#X9gVe7U?I&dYu+-zB(XN+QqG-gxVH()*V0^O%C2sX5$Z5p6eHBt`k=pX5V`RO-3XkJg9 z$;|NrZwKVQio8*w1JUu2iSq%}zHGI(cdZymw5XVV=o6@qkQ{jBJX42#xlL+==2b}* zv?@^dmbt#+W~~_^eoXu);FHgWAu6D zkWInT#4Vp@6y3$#<{!pSU z;L0CWHL9+WAG=#3+c96L7nH|gT|*~RCYmK@PM5*L;ip?7Z-XupCd3-oj+O^1y)48> zIjB}?eLnB@Zmiv}Iv~IhO4f8Vz}F;MYhl+Tey3+h;9u=PP`g9^nTIc>_C3Bze~_9+ zJloi-p?u^Fd_+y(u3Sz%Q~%!Ns;=;^Tc_M}{e-1WVF&c+snya>YfIN@HDYoFj)4hE z@A9!iA3iQWH42eVN!CTR^xjM$&kh@h^f`}itc?(oEO8b3;mv-KF=!0Akp9xl=zd7$ zOV*_jnSCL%OVF~V1|7SM;Zz+?? zt#ArA2;Qf+_Qn#yAiqxKe%;12KFRczcK5rhpYHW_>FI@btx$8-9a^Y%2E>bAQ2g|v zWsTerJRQ3rBV$w~-SH;#P2Y5;Z_M2?RSSpICw#{L;Q+4qzN41?(Xm!y{!qFfBS^tf zd<7SC>$&9(aC@omfEb_My~)SzIa_L6t~_$Nz1GaUo9_EuChtwu^IOD1hkykAAo9;m z-sDn-Vts3?hvs+I!P7dDO|&f`kBm<-m8LP|T^~+#pH+Ava1{U+Zg?wurM9Ato76ba2x(|n-dE}ck3KigJ##-;X64Pvk zwe$2?of|d0;lwGg$SboL)^QzuRaR{#>Riu95dzz1N1>Y1mxvl{=X zki(@T)VUzeFjFZn0K|EYrGNvI_Ax;N+i3ae0jP!?*?APk<-XUR)E=^*T)x*GrWeR5 zvC!#QvTt!8Y~Vbkf4KO;45|og(5D);NivxZzMXx)KZau-R+aAppy_cZG z;N1ahu=>1k3lY7pG3EP{_ML^09?XtdJ!cwev>F?u4J6@01Q)8Gs)>0f=83n|{MHA% z$0?VySL0?L3V(w!r707>Y?m5LBi96DZ|HD5Q^Jg^bV>(8hTwW189&W2J*y>C}f*CttEd zFPS3j+LJ6pl4|{86gPbxiNUe8{esxuw=})im78T8KjG<2?F!Gh*Y|kWW=h#PM|F2k zMSPuWc!e$N(?a_Khp}HcD@@y6cj_!?_GoU0BjstDe8-nyl6YslXMIv&HbF!+a{bA&GgE7E^m`S(N{r8cjisfdbX1Qmc2zXln z9eq1ROcUc!^V(mF`&s2GnP*O3G7x%WoKVHEPWB5uNYo(p^+X=Y7OnFavP5y(JYj_ zBYq~gU-ONe|JT-i`Pv7KV@2w^okm3SasKug#9#P=Sn5(c=5rotd`mT~d#cVD&D%59 zDbm4;Vlj_xM&V#RUXm&4OJ^FXT6`O*U>KfawaeMx2iVw*)eucLTGFTniP>19=9ouf zTV(jym<(0eJQI~E2CIK{Io&pdH=omY<*4Q(`Mz0j%}+7Cdoibw&k5^}-Wuj^FBTw| zraaV@(f1w?oZI@Gj}!VFFnK_U_%)URF5MN{Z=2xPS!TDsGOQWz)}$>#T0;Y)7MarG zkG)5r;z=#xg?7hKgVm3M`5Ax*CaZ!^$$*%YT!Abm9znygVpHZ(v6%3kf1i<6Hz2$P5<+bV>INTz3kS&+BDJd*} zkWi)#DaO2JMNlGaxbpCqLDFAC+oY~W#_|JGg(8sIsFis9w?H(HDXl2r%ZK0S$(A_z z#Fo%em9+ULE|mVpD?vYU>Y9COcXfH`w6vBPuo3?ETjOYqzHeAyyJqv`)$r4*hi)}6 zV)${D77rOWGa2K$xBIaL&EJ zcg@GBM2#>1k`a2V4dD&QZ}T%nfGc}{WyMr}QJwC#mzMhev0Qv#Mw8sSTs@Fw=Hl35 zTp1h#FOU8jMSHlDmK?U&HH<`jTcOz@7myjy$i?fw`nm7^R@MP(Xe=)KI}3Sd?#I>X zvRyPQ>vUrAP>!DrHOp!87Ew)pN93BY<>e@QV{P{0w16+V=BNJ`jRk$HNtgKLfHMc8wjC5&hMg;!76x1C(LRNvk z^e85)=tPrft9E@Ei3{n>=Cw!ZX%dB|Pi98CmGP@^cvtx|uWbhh-knX_Yeao(-Z+?7 z*r?CX<9gn(=hP>T^lT3;ly=2Ve_Y4_B}TKeC_)BZh-M#V!?w!BP$(#?80|4P3=Q|b ztp|2K1j-&~hdP&Sieh#{D29+h(7 zjm*Z0THxkaTuFV?cPEpG}lV7a!iH`L3MwqX@s61Zuyk;N*n& zY|neFc#*X;haM9y|5$L1vGrLqT6JcmX*1ld8Jo0w&U#Qa%T}AX?+bYsj927kHK4I> zgIiznkhPB6CUBm3Uxu=QBO-R|VWes9@2%|Hm~C{CFk#<(=ZZlVv}70WF3?fe2hTAi z)n)DEF>9m|ZasUw4YqO{{WZ&LG}R&d1VTN5uNJAX!WJ!`(qqiJ*Hy?n`^M;qr8Til3I!~XNvD(5Yc z4r&K=$T(sPN({mIRNQT+>8h&CquQ*HTP3E}=Xw}NUzql!w<3m`PxG`plB+X|c??2u zRtMkR>lj20HgCOdz+OxwmBu`NyX8-Yva4*2@M9UqOq~)zGm!FcI0=?LS~LASzX@WK9(4>^#e{@ zrL?#ywYc~TyB;k+zSr7dPr2n&zAj()xhAkjRvM~}8|5CH^)`jU4BwNB zNuGa>faCUbUGzR@i22^oQ0YD$KeL#AqU(M+28X|Qpi|js(~?jwCNr-?mi&dbF<||B z(JyY=LfK(0;XRbmzJ2nLuGHm5?41L5+kxY<;_|whwfLyNcU{d`1H6l4~#=9lHZ3O%TU256zg$NuM{c`wPi+rz$vUEe$>GsDn_jOt;C(h}1 z${0X8rgHh##QsHgibHu@$l?!hq;JztvB}Utb2(>Lvhx1U$BRePN{v=OhhCStggC5N z?WOCL#O+(gyx6>o-qIoP)^o?o^B_Dq_|L#;Rx%7e+tH+kJY3n_OE{6_WE`?_uhDfO zUy#px(2Zq&K9(r1mF|kz^6lsScyBtpx;21&scmVP!o@T;FPW^oUVy4a8{qHY-zv!kdbZkY1tkmzDEbeVpx8Hjc$qC6hm2KOV3jM8ut)>ZSihUUR>|0DHi(kILAoxDe z)z&_hlTQ_FxCw0BUo$`--+rC=gG>K?rN`(9if+|l?~xGu?ZQgk*1k)jDoQ+;nd+?t z#w>hkV+Gmdle^t2U(Sn}e!js$j;Sp)2RF{T8(kMAoD#uIF=cMWdy|SK$!9BytKo5^ z4O08peyJ7X`)iwyGtWnSEWTX~Y4R|6FU!+5{UW%W33^f?=CZgsvx(XbxRXGx!Fm?7 zLEV1&s{%&pcGp7AoLx6vE_S$iJ*}DPybTXu>ssDKDkuy`GDG3tpDrU6CN`#U!5g1{ zf3j0)TRP*+P4Aoe=r>tdb)jwMZ--gZA?PFYb%8qwUU^K%c0td*`fqmxby0CzCZpqK zyG$PB(vjF*{1RhsTsdXETU8^bGK;8Ta?FLbPP1J*!m{t^eIt+Gz$`By>wI|oj5*ct zt#6rYw>Jwn5+z+79Un;i?RZ;bDfI3@y>$-FJ&)_Y;wKs#q**9idYv)I=*2Mj+3xvL z##KE(*KI=8*h^$i!D4TD-$kavzMWcC#pDh@*d{IL`Nz^*dHEYeI?b5zvawLVa^AUI zmNLP}Ez8{r;Q$XD)~7k!{aZ9ImKavaI+^%xNQZdw7eA=*Qu?1{WTyu8m+^mrAg$-~QT#}FdMGcw z*A*0gf!UqI-5ldb=a;$wfcM9r|3>gonNT)L4e0VOAt`=TFj{>w_Kg0P9D5Gfm|6U` zz3pD;A(Y*AYZ{4ujcdxB!{4! zQ96vu1BGYnc~5QBf$#3-@q_xCFfafBk~a!T1X96x9I0LjxLH*9OpN=(!(-!s-m)8u zn9YCVw4BqVQ3ZC=TXGAHSHg>8o-vJ{GCQ^%V0KUX7FjP(rnFD>Kh9G}Kj(V3Ck$Wnjdpg2d#2orDo7mhq zp7e-YKZ=zN9MQ^}&RLme+vFLb%7*6p0$1XwiR?-E{2rFQ5AU58WbOGZKk<_#QjkxQ zMdHWF!lM?8=yAP6X)vV`rflR7cUrG}3+oX##(Vx1jCt}WMhH{n897;9=d5G*Ju*4H z2{ztq007YLJ>?sL!(Jmn`5zy@I&aqa;AS9Q5LMG7?B^RH%t?AQ&qv(J8+$Rhz5rdD z%58fir6X8D;yHCq#Aku``&rx4wwzGrsOtL4kY=y9h2N5{$;1Rm!zQ#T)A_?HR%o2R zqF~pM7ixa^GFWD>Sn?8<2wf&<(A$*(kFd}zg8_u8v$q5jOz-rABAq9 z$3+R`sE_RV*NKaz*gbOua&}1zZ;Nk>^wT6zb9C*Jjj}Ayt`{2f z@hII!@CcL#LfGQW5EOo0FS5PIM*w^q}wG`+mI_%RV ziF(A^k|&sJ_4*Cw1tb~*9ch;icBCQaX*oy$p!^2yUDLokHJ(4H66W*uu1Jqxz&{bHF6rK~gd{D%sW(HSV1hQ6)fxv>G2*dMZ z;ka(fIT3-msY}~uP23vf4)1pn`6~T{6N>R=HH>&;x^by8cMD6$YVsdzO+T;WUq(<9vruKO^~qB@+IrB z9-3YkyUMShm=Yz{ULT6{k0@nc93E;*D=#=<>U2efQ?{A}JZOay`gB&WWNiH5Tp1Q$ z^HMtb+E9Ab0UesP0U6O@xcWlP9gkiyCFKp+_P*|rGwq1rQYowXFDyTkeq`@f1ddx9 z!D@Pmz(#N3UBQQvFeBjoQ@py8c<)1f(YlfwbU6Tk33B*lt`7?Tf8pc*{;K8wGUfj^ n!T!HKa@cWRfIBJ48N5Ad0c{=qv42SHgs)dkEFe`zcOL!+3S675 literal 0 HcmV?d00001 diff --git a/native/docs/imgs/re-lint.png b/native/docs/imgs/re-lint.png new file mode 100644 index 0000000000000000000000000000000000000000..2ac467afe157bf4dc52f590ff122c816372910f5 GIT binary patch literal 6367 zcmb7oc{tQx*!P5FSE-N@lBHxRVeDlogo$j~h9n^wGRGhnwBf-cp0vj{_mL*Ngy|KHwkrfXnBK)fE7s3dz6Yd5}Hkg__+8 z0RV(>`@aMD!1s3m0I`SWCRgmj-Kmp-k0C?(_?0&wn3tm~Q|~*55&h6r-@20N=67<7 z_$}It_)|Aa&j0XJyTbW_%jRg2iip{Cn?(ZeC~rb+TIW&q1ov;AL9cK*MKQ$10f!+Q*jM!h00u^Al zphPcr`&s6%GNFG(uAV|b!pR3=TdUq{CA*tLju3lP^s4#RzOdTae-)}TpcBY?65PeD zIow8n^Jl{7zCAs}{+%U+f#B1r3YH#2v2$Je;t0C`@og{C(&FgHWTDUH<>kq$L{BFq zxxzn@ZBsyc*JTB~&N5{qC6~iL6N)yj5W;VJNj;{+NQV^mw=b6RrrBZO*z=}DuTksa zzkBrnCU5su3Ds^N1L@JJM-jN~MxDP$Nypv5RtbI3X{LCf69SyB?jQVfjaZj1-pa5( zYyZq~z5`*P;V<@w9HcxJ1Z08TNVYlRY{V$Kcx@aHp6oA?C(SmkhaKAv`!l{*{(p@3 zzYK8luP97bG;Lo6U6BtDhBHslNm_w+lsQ9tii-r_HrT^5ZGI{C!PIN_CVE9-$}#pw zUAv&@gq6Kn4t}*ziNT5DHnUR>`@2)Zt?UKcrt_}iry~TU?AWh@6mdafmb)+lq^xZ` z+Qn8}tms-`lU$@w2#jsAtG;vKx}CQ_7Na_bwf5$ib0^gv3^grDRL`;}-`XX4iKf?9 za;RDBrLaG$d<1d9CS2$M;Is2-pjY8CkOL4`YXa&pA#1ZQmVYWVJrx_m0|1Qam%HoK zqhG1qnn$)}l@g?|7v%Z+WdMM0W4mdQyUQOb{d5w|pwRk*tF3~&Zec;}#&c(Ft&+N& zg{Z;4QBF!AE>!BJcEqf43j`sp!z0l+?`Ann$>{h5L+2TKqG(o?g4!`0*)rJLQsh_KRm zLq+V8%c1*XQ>)J+H<$AwDR^DiEumWap9BgyWdh$svYV&>SxIGK;DOsh_tnB*A*`JxDd>Kh_Q z!KJ8fkhVs3k~Zz*3iog=$;&xg^VsIB?jJkhV1)TwJCN)_OOc`}JT1RVs^D9=QxmocZ*9>zk-4OLZ`L z+1cqtukpvV^TfrD_Z#4|_M9GcY*L zZAw52Kuo{!VRHl_Lr$w+QV-w4onZp_xtWFn;SJ5@Iq*MLk}RP$Gu%q1FOM}xi1#rv z$TxSi!kxa(b{#b}DQ?ra>)4X=dCqG7O7hvIT5t@R(*605k+-;IIly_SDxhpPUV3r+ zam8%cB*^@67&~;0wmRP|4ix!Xu3!BHBrvzjpSX)#Vc}IvUy@vH`F*U*MiUMVF_?>; zD;+FaY0*o5%Gbp!^mUg#%qs&pn0iTOQ-)5A5-RhF4YJMGajbD`eCJNeXNMHx2%>puZtrV=9FlV@YstRRq(c^g+J_QGYI%ZfkA|U(l&r=yX;*h}_SPL-h^H8NBoDYiJR?*_ z-Ma%pDS{F7e(l}agSEB=z&*2oy==Ikmrefmy@+%L{KZQ{N9c=6yq>y8Y*UUQ#s$@Z z?io-6&QbzZ5~%2FZi+@UtSUT5 zxnl7KvK40jA$q;|lcCELrXPwPg}&fcl01haw1e(^80z*!%S!%|4-PXMjllAh?VD5wP(FwAhUe!(2;%O82Ze)LCWzHfOctV&*Me9C?IA`CZiRMJZsq+o{I9Cdt(q z4hNL0sKy$*+sr3~4fd5#1HZZGgnWIqaqlNo??|K&9!C_rI528w$WF-UM+_ne!=WO* z0Ei}&5bv47Dr13If_D_StmvgFeGxom$G_cjNAfvX^hXT(Zq2CPrL6lt;wa#D=VThoipZ^sy3?C(ni6pW00?V8Xgn>B95HV z=B?18>>JZNxB!wSF)rxS$HN9GjXHmEO7e^$_ZyQKf8*sa57+5=mFOF6IMwk+0AHdt zDRxlALz#tFCRzR`M5hl<)>@f!L6n|LSana?!3%-Lhps^I z2Qih+&ba{)(GGU_$=ync+Q*^-BINKMc@1ESr|h)#ACs-c+jywnx6UAOwBb#y*)IP^ z=vm@BV+*QI3XW^_QG!oMLvQkz+X4KNxFFi1x|%q|$?}J5aB|BAAZ|eCZ5`0wuN(36 zBwJ^(GBEdM#pbbFenNOw6Kv!7cp#V@9)Kf&uvM*)-UV4;g(SO#uoT6vjOBJgCw4kp zwSg!HVs4yEKJXeHM^r&TY_#qZ0?G(;kN=R8kz>$1*7mu$X7WO|;S+l1qhSW56(gO1 z8AsMkB-gD*+P!L>9sm}M;etW{wC}CWB>Ry|L>4e+FSsSC!-KLxcrtgEp&7E>av#%9 z?^?MSa>2i6VlBMwiGlEDYr^Wp-gz$Aj=@&U%G$Gy>O7Qd)R!Lcx_?ps^@nX^3=Y8e zUPS-U@adgbLM(@v5)9hIC|Dd30A+ZahpW@$8U6W3yiKKaqx1WRBt6H?^!kPsv&Mfq zy&U4&3I_H*t(A3!=lQ?ScgPhU3WG;&P_46upx!0;QBHGA;hdpA;yPoSFgyI?et;#-P%+xDZJ5rk4hIwbcs;@ zjZf(hp42UqmW1#Voq811Gv6USdKss*hY>B5!O< zA~!%;oQ25M^@cX$xpn6;qr883Pr7kroJpwI8R33Y69c>pF}gIpxkV&VvoR0L|0c~ew)?lR4?J;b>CE+0J_LhJ>thyr}y(}`uzauB)P_ZsJ3 zDE2>9VraEZJq%o6ymOS*)kZXc$H)pByI@4Zws7=Z{PIt71Ht*L@7ud$lv=rIXzn0C z<20`Uye-&oeiV2~&Ja}wr;(kwF$K7)TO|U23Ib61$W~z+=@$^QZ&m6cyfp7gJrfc; zV=_*SvIJ?~8Yl)7&Fo$B289iDP@qx(z$@OTWZob-p*k4ZDY;qgbEEXFn(IkqCx*-@ zoWk)?um5sG-5B)zunJ}G$ZHQsU2?SN?C^_0RccOun=+(cjF_9V`n8R2UT zj!^zUi26<~x2h@7;KA!Zy%o}OQ@W=|ju)RDk)?AQ*d3)zc^A@0O=uoIh4|>zy}&NT z#cs&2->ujXL4=TPe;-5SGQ}5b(>zmV>Q<*`CK|G#c^KkwDw7dB6RMR1b&Y+GJGU2U2PdVtb<73rd&)8?us06K`v* zAM~!~xP^4@Jcl(_VOwXTb*KjcuT%B^q$j-PO|tpflUN}{9zpqa-Dqjg3=_cDx$D6* z1HUQZd!KsEX)Z$Z>Q)pwR|+mAc|jDWvBtik4e=%4t#KXd0epWqlwZZe`Y{;XL#FCGOsd2@PG+1S@UhZE;I3 z7`VLpNJ)EAfKlX2i*Z^n{M0#>#-bhLQD6JOia#T!KnT+#)>t=#-J9#XLq2M(Rm~2y z$uz1&AWb4lS^$8Wl>?X;dCn(XJqVWfy1BwAe9tjmVc2~5W zw<@al&64DOHn{|2lTZh@rqsWPu{n;^|CUhte{oPEClSJ>67IVey}&&Sw|eG{;^>~9 zilZmm+{2wLN&J4pF?vl6We%b~gvgtpd))Ry8;c_7BYhFIdT7!`1%_gGx>jM-C9eD> z|4bO0y7-5p3(UNtcr^Al_cQOL6#+y zkTf#}W+2PAifW=mtGqy`e*J0?7)F)m2G8Eo1PaT2qx&giS9pv@%;xp`pui7bVg@cH z!jAlveanlNe}5_VdEkF0QdM%pDKbc@DOrYkoXxVu{ZYe0CxDu{xD{Vm3va_vXONv? zGYck4XejDskAe)to=Z=aaxJ}NK4T)Y z=acc41{bRV`IcohoZa?d+j=<9r38g)t?+Fl12eX^Zxl4n;myX`jNA8b)(BY@yF~Kq zy^NXHyPT*-X}vt?d1LRhB4w6pBK~EwL@6;vAd%sdaDzq$kud0mu~+_#_z3y6zNC)e zscg0EEe<)UlbmGwJw4H*rm+siQh4;0K_uf$eX&Pum;cq~64-{urvkJ>!S&7|Ff%;? z%5a|1XJgmDG5>OjK5*Q>{Zvh&mqY_r`gF(9n0l&zNbJ@#T{JZB#lhzh^YM4Y<7O5N z9y-oExtuv38=)_P__*NvecKYru3m?MX3S$uho}!89Tqe;!@V#mh6~y;kNkwI!c-WW zS}i}Obi&&;2Ex`_>*$#%jXgB8Aq@Dut;t3!N?B^t@eZyhVxLRh0=mdK$rNMWwv9(;v*gFI7kKC`d>Italm-_v48(e1&ozjQK2 l^Z&xU|DS=bV8BPy9fj+0TlsBK$`R>T{@vdC<+9m zBScpHa=2^Id0o_DR$KhjeDM$9CKyrIb$m zt;~ZCPMOT(EnlvK?!GfZ2%R=CZ&1HH5}5zv?P%CJ5NJp$*BJOtn3{{0bV=c#yd<4e zcs8wZG|;nRbn0tJ4FbKiVo*djHxXaB+b=$+j&Fayb#@$NLi}+yALN32AJ6^rR9n_W zdY{~qT7)~INQKyZcC@e1-=cyBW|8w$O0OilvhYeJ_dqBEjnl^L>X*Kv8>PtH2jlA~ zFa-!Cc%@SmYj=563lq4r8D&#l%7H_~ke2i0^D_t`KAzLRr6VEH(8mlnJL}hLFgr0Z zJzZaThN;_sv5PDvD8Or8BCELDEPR(O!zi7~B`#h47Kz!HFsuiEu01^64azw!#v8ne z=Q7+qls&N-U3%(2UB>LB-z(dAAUol0TW4iHDZ|VCPSLPP=uIau<2XlpuCa@H&>%H7Bb!}_3*mK1fBD^S%%RAa4=xlnTjf8@ojq2_i!}APv z3yn_3m%de$x!&x2D0bE|WA-tTRrk!G|J&7?_-HTJy7MN$l7ECo!*&&2Yz=pp{2J9% z8i`L->cVc`D9}WTdK4u&uv!}zJq{=DdhQ{~&ji5iQuV6o941w;)wG#T4pfz`1N zi8duD*PQ*DXX);#0Hg@I>3rV^T-|q!pY4paam;%IUgdP7R$Y{(xncl+zoLVyi4n5- ztaH<_`iH^jG^6OLX%WO$ZxouqI%@8F?j3$o_i=2GiXRkWh(n7+teSm-lH z#xD%h;_7Ipud-)}XKJHHH|-sCnsn~wjy_{8E-%Y|bIaD`GD&n7V_|Dj#Yw&*bd(3t zezvx(9h3AH-ljAo=pTBP!J24MIy)|%yiUxD7};@DytdC|IK&^50y9v@+|M24**IP; zc~w+hRa*=7ABWRSy&($HKf1ANd9=cBQuxueu!i6Y%(`1R30&NOvUH6ZzwxDfQfgJtcM}|L#JwZ|vBjX?!cbw&%l!S*qSy&1z^Kw?ol1 zw@0W_WoE^r(bf|VfmGPyJtfyN(?YjtHDH8rk$N!dy(U^C1@KX~FF**ocd?|unEsc4 z@d6v15=OF?mrH;C?}P6j>vCX*{707x3cwh#SawD>;1L|k+FW}qy7$3XLgce_?&s*& zX9M5<^Pb|ri+-kBx$$M*^(}md(HCNOS#jkJ#A&Mb8{DzV%2fXmR6o?QE%)M2zil60hvh_x)|rD_o)^HysiBRU7?~ zB7LCE%aAKQ)wPS~DomY`rJ&vWlHEGo?`vIzUW4fL%2|riT7ze$w&(c%Bm!!`tFv7r zj~q?aT8cug1e}2xedP4 zo#S5$Ce#kpliw$VK1#gfTHz`5wLsfdjMS*mEr+{l`9(~-pu{JDeG zYsg@a;dw(hE^^;9a?6_dvX+7zVBcC&r0G)0#o2S)<&iWeUYh9a!590W=^|hyhy;fa z*bq3raoNAyo2rZ>uMWcW487eQpO5}@zU!KX>p-ubOQ0mHf35ETXG8V2%6M4yetMK^ ztva{n)^>9Fk(o;Z%pk^^3R5C^*}0+K1>)i%7&C#HvOXLk3hjqu2A>z(nncc)B6*6V^-9-?nnf^rEXXU+NV)Nb+&)FS4 z!ns;@$wDdxS9ODY^9zmIkF@wOAI2_2%X{-1WhT|?SRaMkjA?L>xTGi#%Row84CAJE zxbLd=rd035!4_pYmAGFb4XWu?i-TiqG8e6u!`R)5y8u}}rhX!e<+j5MQQL^(la=l! zuYCDMHur%v-Y7d3uSILWY}mo^V8yUfP@^dH@^2Sq)aToZ4y5K z7w^=Tx^a!Izol1wWr1^N?@#Bbka#fG>o?hOxw6(Gk`p%)Zlq~l_MqQD;>DregExz> zG@_+h#Op#nOy(^u89{kx?+%kOUq{1kDC*?fgFo8@lNyBeTB;ka$#C@*UfE|w7P&miJI#(oqOMMPK3t)>uoQa{!3tlmDjC4UtF>l1PA_K{ z1M+!n`HmCIO@6h~5vghSc=sNowh~+X+EFq}?Z(7OmxvJJlo~rd-)Bv=bHXN0DcuMw3M})1>o^MFht=hE7sD7q0@h zePHSGGAEp4Es4#Wkm7x^Ua3#oxKH$wq2OudHwHGywOF;?Y%)t-9W6AlM2XV%R9G=1 zQiN0^y!?C%j$9LH<9>imQM_+2ZBI+MmoDH6(Xe)4aJuRJ15zHVQCWn^1M@67hc9;GbcJgQqhkxw0(eufWqYd$x7van}0l903R&| zZ4C|taFt6@jiB}=Pk#Y6eY)iixa1`hU*=nrdgiT@y5AF)Wu1g7y}n~erzW(*qj0o-^+P5 zwAzN8;Xo8Vy2yR?(yw+{lPkZd%5Z6Bj!2y?TO^mLYIlB^m!}n9qD;T*be5|fYk4N6 zXffNNF&jZC6NVMv#lxPG1o0W2XS_Im_InN=KB|V`=NJ%QW5{tePRZ3^9eX?E*ih5= z=Hth490wgI8&rcsvmL%opOWv?pxc{kEM&%Nnv7ME9DcP`4$z+Tmd=Hzp66a(gOpsIG*m%btrkkT#*s{yijY)> zl79SV)a?EHN29iK*UufPqgS|bdM#LV4DH+J}R6p`7j^!E8 z_4&a3-txs!?Q+9F_RDlGRYb6JD3kxq%=LSJ67!yCdL^f8Wx>kE{Wkqdc|as)FpeHrj0^b4Us7bqN$}XZyz>v#$E`@AbAG3HY6i@;?PP!#xo` z?i=0sY2teSt~BB(*5$joDNdJS9O`>=$IQexn>bq^GfoB)lzX>4V*Y8<+4UnEeee1J zv9y=7O4L9U>ozCUT~iMB_uWNLe&BJ!)Rkw-8aR$!B^fA$mm@(HJt(?f?Z(IFBg!H> z9{wEhW4FmfEKCKhT{k{1_MR_3d{j`TVOHdEYgKi_wu_|8TatNl(cbLMo#-kyBH-fY zf_`h@EL(3e5;m@J!Q0(`eVf4*;7^x^ogJ$bYwwblm20d~B8+YM&Bw%_dE%vo8z6It zm9+h!(Z1Nb!Rz{q#=y4;eQXiMwTHbaw(}Tn$e;P*M-7j<^R%7e3-^t~_4(aAQ~|e< z%&-0i@U)+^<4H_mKugu$DPxubP^X;ZqK#9_orr7ov0ZtHXjt7+YW`RbJ{sGqZLHdN zIr_X+D(O7EB>yS{LReK##h>nNiS1;Ua;EyY3)Hyr&7GL-|1Q}cprBhety_05l++eW zaObO$soz4XqcMXS>m}v<0_Co&CJW8|hINxbnc4{mFOEBP9+<+I-zt06$4v0iI)aH^ zEYY&2xalCYJO3zeLa*GC=%80#k66}3?0Ypy?A0uW<)1dSq-qfx!I-+eQ%BGJ>g0YL z)UrbT94P4$AR_KK*hv9KlsU!hz-2xknT5!mK*^33OEuYA=hY5+qbmt+GY2UqUih}r zsP%I9bt!**{&NZsliqSvDGu1qc@!9>8gEXwn*C#-r;ezK9=+Y5jTD*Ft*C9B@jL6` zS$D3rXw7QvaQ1Q5ys%0=dm5UIVh8k9Czy0&!Guqr&jrFPV!xvsN^}ApsR}I8_^-+B z^IW0TNY$44op`>!*Tz||WK~lwr^xjQ;D$e3B#GWkx1yT($wIec{|g%y<+D>zxCdu0 z;}T z22t771I4bT=|ML>6R{DQbET3L2mUyHTzb0uKAHrQy&J43zke`XY~+4wv%6GhxhnK! zpjHy72~}Y43jR~73-@p48s{zFSuLln@bUg>mNsle#jDkD5%ByiuRf0J)t263 zdM4?&Zdg68c+x}gN`ZNE!gV=A=WS5%-4{l#Jjsken*Zs#WG%S(n8&oOxm+wmEA*qfQI>qOvdfliiHlj8fNl_B|nxf^R-k>xB^#IlhqDRiBqE6D? z1&(vKzq(M*8C|P#OoK;$H5`bw<1)0cyGCaqZ{L*tAw}6b51vrXgq=>^!epaddz-y67Fg6wzLL4YAFRXNHX9es*?H_pylX#mGhfwv1iT1W? zNh8XVhZF0fE5(Jca;XCn`BNM%qAujz2f1PT6zLsy$2+T!u=tE4-&mW%%@>f8AtU74 z;eBsLW}t;gcZj2Ft=5#;o+sjWamKi3V<&vlEQ|*7p=PX^Sx@E47b5DOtZ7n$9tGt zTcStj*E%wR;{^>TL)EvB8_1b_^7%v#vJs|)*Co9nf#V&5L>2V&RT)DhB|{$hBb-T< za>&&@Of>WI!c(Mj*LwO41ptw-Vqp+(3S&8D98BxR^`hYiG3U!m;+{vwdpkVHR6%Az z5egh%yjowgF*s!fArz<{QyIVM70>XBsea0to_1 zQS18KSz^?17CK|hD zSM+FbyyL!OBplfvm0=(W=>5SxU`6qIE{O#3x8PK7NEx~@LXiTOe==UQ&{TnIvd0bk z+#f^s+XPoQoPnXz-?KT~RP4uclV|1VELPtccy9m>JPPo`23lxU<_CvdY)!&zyJ@g_ z{cI~@1drhjtM?pLO=t8LyDAI!Hdln@_Bm3LF>dD$XqZsp7CpnS%d$+pUOK6&l{uO(;1YtC%|M}PoNu_( z-G`MaR^NMmZUCOT&!Si2;0X5VS(J+Vt2F7t{H6G@2*M+ZL=O-QRa7aeXh>B_|F}}p zks2oD#I_opk?jum5p3f$|YH@G$eZ>Y-&14=EK4zU78I=}M#xtR&jc z`OiO=6Fu}((F_~}&^8dq*MH}CrN2=9I_ldNhy+T|$DV)k=c|=}+8H*aG>H64Weu0% zDL&ufPSETKc5Gq)k?Ufg{BD?#E9air!-6&Lb^L|Ng412yx`c!DzLd-pAOw8U70&>` z17@3EF402-JdVRWH92Hx;*AlDL{-DYI+y6_LNny#v)^>V?TO?Dr9au)&}}HvAn=6x z%oP(B<+M`qYgta@=4}Jp=f0nIU@Ll-4;q+xvB=BgjR_`UB)6LJZ`>;3bk68bft2*a zL++eXT1ZJxI=ZDC%tJd_I2qwum{Zl*>%#%uLpd#EPB-oO#sCi~N#c(rTqwyazC;xV z!z}6tb@Q5#%B&Y8*LlB=Q3P++FYFm+fGnwuKs-KQ27sntMRN`3w2e5 z@Fx*|PgZ>B97y>N$Xzw$<0IF29aYLqWQk>GeF>@BdYAR3?Ts)jGfJI zxkyh*{t}x`%ji_kWq1Z3|9r0mqJ>6cct^R-z|$G2s!Nt9G-WMMYNhDvAgXBO<;o1k zh~$>tc*O}j4*}R87@4EerT`ntuw_O_4BEH6{oM%jlJ%!W$3JFhLzdWgv7Ev|Jx{lMc!zj6Z(T*1AxZ}Od$p)6h4DW zBEi}3!+9qi(OH0TE3PYP0AGN66cY&56FPwNySINYANb;m?LBq4smpyJO^*2=na$GXY;_%_YKmc_!;NH%oz2foFlVjX=q{BuYV`oJ(>%ae!KYo z%#zvTJ!f+2N+5S2L#AHgf>-`s8YH_xTr`QlKFzZxhgFP$9l`C~Y@Ze~v@iZmvZNis zvwqR4A>}uIv(+MTe0cKz|I@UQ22}Jm064%)05J1dnO)n9+&KK>$rXB!LR6DP#gr0^ z*(i5{_ZF&5zIm##+`~D!mr*{iztZHvyJ^ibwH8cj9iqK{pjC0aFuFCq(7_LV*1{Rh2H+BCOy$owT#+?0pDhvOh zSJ)SjF&F~phj-eUXllHhYI1m8XrPs5QUYEx7Z;8BwjcdQD=`cAWJHR4tY}9YDed-m z`|8?WDf?V#rh8|>_xkUD#ux#om{PFvC(gwEDMtUxU9NwHB=_Xc2KZ#{NPT4qhG-ZG zHe_=2C>maR`;VTox&p*y@bXsQOi%OPak82;Fmz`(&}U9;-I+Gg{HbnvDvKzD-1^f` zkG}N;c~a_rta`+WN(@}?HEG_>Gb*1w?(QKpG|Al0H}*`HYpQ-c=Xy2?gPOhg4#0;s zEzhl{YJ#l%bjt(bE#~HI+z3u0^7Y=#qw!A`PjxIjZ1)I#uPxaO(PU*MK(Fd$3#B9f z-o9OsS2@^5^No4);o3Nr3>{BwUSw{*41g`Jr@X-5$hBZsZ>%LxmqYYOiA@*f8{dSq zztG5Zi$S%@Kvy+C>J+5Va@ z?6?PGXt^nt$$&3Sf>pgw`}XC13AV=RwKyOLqHv$K54&7#*QH{w@R$7Gk$I{;UU4~v zNwE0~m!Ds$ow83*KFKX9sDm~3+^k6Y?9E!ZWDVT6W1YlhxGA?s?H^g8mIy9>=$s>B9?Vj$(^4WwaoCOt0Cwe7dw(4{Z=&2W z=Efyj&DjQQ0_9^eQtSss{})@U|EhGrGyW3|*$g37v|i~zvsSfWx=51Auadrucpuv% zY~ch6y1qJe4EBe&;8v=a2e2tC*oAcz=RjZSjB|g-v}(4&W$^}5_xJ1g4!GFffahU( zvS*d+oSk1xveC}>CF1PtY}}~2@5$#HQGM+wqw)m+*!=!1B^|cg;pBg+ktdTCTkM=O z?;@%Rg#&}sKx=Rr#Lr(O4|f~#YSy|i+)gQ#n5w|lzW^fy2Kfb^*5gihIus>N1<&#` z-@$5y8UditgpCo61xuNGNx8d=^dydmR!bwLXiv=N^$0SFH-U{1xEo!EVZ~~_M)}lw zy~H(02K}(9C7JZ6FO1s_#)$4$XJ+H4o@io`$sz87A!W;?*j@3gAmN@GZLd(oi`B@I z*=JmPQ~O3NGNb)_8E*VRtJRjocvPL}jMAk+ALcTPpwaRdTdU(nqCOeYVko%JdZ4T( zx}dB?3bGF$n>AvTMr@7+mvZLkIaQ#&W_^II@%u_xg?X0{Xzx*2R@BTXf2Lf5bI%cx6*QcoTr$=TVeHS*rN1k*Ye7lh1PUrQj@ zRjtx1NtQ0nw1~`HeeQ){W6%b={0FOn{Vz=#>zV_;&WgnN0MwdPPKy_=D_M<)-Q=hD z-ZWsey+1V*f3B7ee*23K!kP&)-!pH988sbPBYaj_gM``(N8*bafNWXpsy2Er<&{h5 zD8kZZv&h6e88K=2;|QjTp5Gu&d8W!#`SA?ai+R!FOd0}yhFm}tLqy%ac{@M|Rmzfn zOWyN#^?Tn#Q0mlcBA2ym$7NC^gVadA$!`c~y{%AKEY=ip>FHuN7h$(-)L^B zF1)v}J{3?uWl*GzhP&++j1LCQzy95+?j47zJ+Wsb_FiKywTN}xU92k$+r(VOUIga|K3;!#=xKQQgxeXN^Ipy_GLL=wz0 z;H0y$0sOtYvnNcw6za3?mZI$uV%$`RseyBj9f27|?aO)Us~b;VSbMLGK~~$3ppC6- zdG7VD=SVHvH8b9!;F0C!jS|^Px{vrRLiZl-a2%6AaZ@0z@wbKj5&A@e57EE+q<5_K z#m~`=uGtLfNwX_Pci85t^EOVYDX811LkpP`S}l*;1VA92KQyO*7t%83RnceojWhh& zG4|}ZyyZYWXt&q$pxDyz4EsG`Gx0Q0;IwArq?xYLnpCoC0R=(PrK486&lJJ?Awkl{EBdijdJi-b^b zX7I0;_GI5}tZvL9-vp>swqGd(X3fM{1DgEuDjh)YjxVvaeJq%$+FsMLw`zpQUi#x9 zmw}#&hOI7BvzjwUaf!It^g7@b4e*TeEZaagG2UH!Du- zRvbj>-8-?_l($T{)`;BY$A{;^T>PSrx#ML~|w!slwT)id4b^dmKNcKvPa?zJwnN!vMy%#)u#2J~4Fk`-I? z84=vR*H(!!>Np*BNeWO-&JQj_MFnUP*I1XLu1n=kKeMbV!$b}D=WhvtdM>tUwO_sx zeNBAiN?WI+JkS?n;Z7MNTjNHvZCn zU$0~)ap%KjjyKpa17=}QOp}1xuoW)n!zxxBu_*t%K7h>g*H3gjx#3>ij^jHEakbYo zF%^y&<{qw=Unf^wOELf75fWdVYt?Xb7)#Td1A+uIPA{G*um`x~aQ zUR4auta;yy4g7gzuIxs&a9;et$cgAwxGP#9p`Bre)qL+$Td8bijWz z#eSU*vOo7dNkjrWW@es}H*rndS`|`4jgh%o42Fj12Fj1;Pb@H8tn;e_^Z1FPwqj7; zxX_M}s|fm;>T`>|7Teu4MOWowo_6t7#|=iLH&XZdc*Jb|FR6~bSSxKBfczXS{ zypoD~%q4@G>qQK_9UMPRLyof)I$O9zXGZ;X#a`AcXK80utfZ*%v1q8E_f&`jN>zBW zm{6(dl4mc9JI+zJA#12#L2yhS#@sxOyv&%$`N1XF$mcgHUgXEp@-UVJ@ml0o)In*wFXMPkv-uEWx&|I*!+zG6-M3?zuiwe({?j z5f)kYwL_hgX**@=Ql6wnt;4VdyQ~3u0!J2`4R}A>ZNU-YowgX0Nc|p?2&?k*s2h$K zcSD=({!VzSTm;cOx^`b$=E`dp?OLpxcKpwrNmqTj{;vb$SD_{TUXA-XiTT=W<#oZ- zp!Tuf+CGQ%w~zxNA>h>b6NpP+x=G<+Vt1%l)q>M_kGN}i)tBeH?dDn^D7P+An|eY@ zj(Oj|q`4mORrWLF9c9ImtGe&F1ov;?0?_$7GuUH3*&noCq4 z2=>0PLsEdLmN{e1Y`m8Z{8#i0UEFnBBn>8k^6^f>RSl-K;Z0%bu5+uAM7c59^J6Cd59bL=5#)fg>rSz1`?gKY@njXQQ%xYv6($KcNHz zs6sa2W>h_kG|KohLeCfem6s;8mH->Yy_kI2lLD|7Y^_3TqG9p$Hlt%zJXeIrE&7)B zTt6wl`0#`mi|@N$c+)q6j)VL_Nyw)D_J=q3?Nq=0&%R1T!_wEUdn;X3olNKE z9uRmz5wS}J6IQ>^i75`VMi*mtoIF7e130~$5C9e$E zm1)bJKrG&L0cwahVCd3Wi$KqH&5j;*JM!v(Tts?St%+}^n2!PUS9~tB7;eLw$yU47V$+aiw^@*50U~D3N(Y7P%*`61WkNr}R<=Tt( z>U_|0oM+if`{Q@uF3aiuk4yF_Ahqc16v~}A+rbJPB+?T&L9x9dQmPaYTiLhb9Ncr>hHAy>n6N9mJmOFS&z)Qgz|g!yHP9XJ)3mo5Cxi zIKAdCA`e#{vY9g8#+e=gf{69DyIU>X{u|{LmYsY%bkeXf0s75V8Ib$MoJ}r6o02rZ zh1E9t(X?uOf~;^4V6WU`ZLBVG?g;f#qxh`L6}G~*GG^47!Y0FAIo$|O&C{4xb?2(B z-!Nr1Kq*}58WXr7f`bD({8W&`ieI!lU1&Ow%WynZHi+>a*08)pBuiB9Rwy&H($L(N zK2#++bOz(4t$?ICT70YZGsBQJ{zh#wwBM&d6kEi+Wlj~mQp*a=EtpiBsXOu_xyGu6 z9W~gwSt?*ik#qcPQ_n9G3@S}=~6`SgNr*MiO$7^6#eU0ed=Dc*a zBX(L_t}%PFQfV>0$%Hbo%Obrw9;Ni@@otjCkC%gfS7`?Y&Nnrjq({kKt-}lz2N2sg z^zmT}`|dMmI{+`%5Kq34v=3Ad_Ph|@*HUuX8LHNm$AsXy!Rh%XtKs46$>n&!xfCHvgW5{%r9H1vc%~*rQH@2o=5Ko{WgHE;Qb|l>Xz__ z0rB6<$tCs8{x1l(cYwBFcS*8-{-khJE+W@>vV@~<#XvqbLBw%|6WfD`K~H+0-1*Emv{%#k%-)+|@lJ%%KIf}OiRzfoh~@I133 z5ulV`k=lm;1f`V|aCjNL-i}I{rHq=+h9XbMrq#UA5PM5cG>Z%Wv{&V1O0^Pj;Z~UWw%* zAwY7B#7Z?Ifxamp4!On_zOsdC2~1%mrfQc54@lhxeyo;&T{!#|DN+sH*CdhhVM`); zwBaAQKYH~p@Bna2j))`{PjRus#aWGf24>p7x-#bW2D|ZOB&urD?D-l0 zbZlW0GcZ~|0Hr`ZAIUu>bH3Y4q<#})3*3`pU$P9#nd&x5wcSUx0slqM*Wbc#Xg}0; zflR3;rfwBWqEXN*^=qLIeeApq7=67t&5VGrhS&ha=hWwFtomOw``7{AFMUoehGU|s zPThS)%MSh-LqN3sq~Z{O935u)xplMn)YDumt#TItpZqYDB-RV74d4-g-y9?-@IQF| zLs$x%k?!szvHxaorlIL7FjVINeeMLQgeU$;Hu>d6n_u+@>g9tF?*74U-+fNXpCFNj zv0NvXo_TWqr+t55&@Y($#fC|EfwWl8sWV-&R8eqY{c6Xk0^(QeFg@^GWv2)|mt_m* z&Y9gp{h8gwK|I)haR0k!Q4>boR^nTo!k!4-Jh89Gj08dp(N_UUw4(De4Dm2o8D~zX zx@P8b@HmOGe!WcfBmPNje1WMd2MNXiQBE2ICBO#9!@{FHnC<>3WZf172U~`Dv|;SQd;k=@SpLS1_SL?po@yRKQ=Ty z9N+haG=^ro-k;sL@n7DJ@AOTT6`L;Z8=H7ZqMNg|_FT(7Mqqa9Koit~vsI?9y7uIS z5mrSH?lb0Y{$=X+g;ZFbTk3+u7x2*luE0)N=J2~s%O%iDv^)~K;J1519;LaU_ha`5 zv6D#b9E-!1vQQ(myk2tc;Sn_NG$&n}4Na~99OJuy3p8)4${U#-z#UR_Nx43%0Q(c0 zwY>t(Tbc_`_kU|!mJ0)^LIB`JvdUII)$RWtV>D^@#JAN`eb#Lr9^sIeJ6W#wS4N-_PM4Wp}V}e zY==YNch8~SeSfL3@oeGqR*Ffr$B3v_+5^|xjkF-w!>oqQd`p|I<7c}A3W(;<13k9Q z!5gJ(QvPM@>(WQZr!`R>^jhX_rLMA~sJ#s8l^cM?Qvp5bZku~c+vMY0eyaeoD-kO* z9as_I?C9$XJxdPsneQCmfuvr_Tw8bXPDqqUT@pBujAB`nwrCxJd^VcHHTxUXRCB@i zC*#t?ihE0^scSWQaKr=RWv}yt{BMqDYfJZ}jNCX(w_Ex4lA7WsfL%TK0{{GqpX5d zCYviQzdrA~t-W@>s^uMQ1vlT~Ko5G!U>yxJvKutS7tn2V6RWl2N+1^%&ftO<8PJKTqMvCE$O;-^08o3xf}1<3u%~%2p^fH3d0_6@ z<5q8|<*?r;Fvfr1JTX+e#hG8fVx0Lsz%3d~^VUXtE;++|>O^<;Lmp+OnqfTjY=;7( zMc;Qt1vP&qYSf8Xi=Pbl%Cxi|e{KYLFh4MO+|qo(-VtohlxSvDkh$*ntlvxtm`1VTj0L8-y1LOyW_Lru zRTJrbI2=^3R$5cz+r>5x;PDGb9B`BX`w)%0UV<0LQ7vY~%N_8ne! zY_=tU@)ZzlYc?5MfXIuO&xFy$D5|3AQ)0BxVltDHQ}wMb0?i^uv{KMk$JQ;NSN0_7 zE!er`MX!a?VVhYr%q0nd+z$Q z?tTzkhYy|T^JB8apsGk#>UW2MsXd8Oe~AOpo+JKI`ImC@d5Uk*lKA&yU%)EJ{%F`M zYXu}WS7PFF{el0jo2;iqb9bt#K$}q+Rj1dzr^B3(5xu7)U9$AjKwMKMQHqt2YfN0C z#hh5v^CFR8irb99lMPmG=L8jL>Zf2(dJ=J13Tm(O=vA%avmyq@@rA**(Tn1T#n12d zOjwH6qK+GMcI@b|nL1jXx9QjwAbs>dzr@{5KB?S26zsTHhh#D~E!3WF;gAi@+e4b= zoz9W@2?SLAPW6>x*YC=&XT7#Bd`sIy+x!ddbnN`~;)(g>ji(P(JnkZA5`vl_-rBiU zn?JPLqGxo_3OP;Y4W%#GPFlk9fMZ*C57XsE1UElo&%GU50;tL;vRcN4=hm|sCf~Hha}m3HkHe+aGODv%q{VJhzqJW-Qs#H}Su>&Hn7sG$ z21%q+<(K$r7O(C+63Ngf+){ZH3}ld5JhaTv6>Str)(qT0V zpqceI27Nl_>XHPTjpMsT(|Qk^4(O8&%-pwXsUabp;Y_hJ7ap;ReXm$iTnPsof(Nfu z-FJ~dh`;f|Jfz5vl)B{0h}kIP!31}k*Xg-E&ANGb35iGyE@7-#D+&;v8Ggow8{sOg zwuY1Qt@OLFV^%M&WYBlBX3WrFmWH zeX4C4(-DLKR;^Lfy8+)ap6-}%pGQfc6%e$P1!V*cyI&WD?B7(mH>zZC#4kwkh3QW# zh(_25#7g(P(@^z0U*xY}T6n`X)(iHHSz4%xXdTa#HUTA!b-#0Z&-})zYKmq=b3r?I zqLjh)dGv?^{(T)}lEOp};ed?Nml15pp70TRId#qmbK__5aLt1;8%&z?d)UUXR%L+> z@wZa8%&N)l_MYEPesK!%bdmWgaO&PQ z=Pj$S6ryy$52sZ9sIINDh+0^#ghmEmnOs1dA}&(}AilD)1nj=0sfEhaZr)YdH$T?9 z+YH5R8nf<6m-12rO;mj;wY;8+0u%R11+MjcZAzh~HuIAYZ>;F3-@o`?)ZXj2y`ZzW z)|la)Do)9Xa3lLdD$W|y%yu1@9&?SQT~IhW=3Pt*pdCXp**)UDNToZ^_^~Eds7q-w zx>D#3rqRU8MNKp!H*A>s@S6pm&(#u_vnA+ddpr1&@#y=1SwJb_UBvYj?#BEBHr0Pw zL5g?Dx_0i6D-K`S2Jh_>l{vrCLM@6-AU9j%<}NcRqV!MMO^|;7(~a11&01??ssKHg z=8&*^o24HAyK+GKk-jgc%pUh-jBJ91RG989IK{!>c6bIEymp@aRB(Ojq98&noWqZ; zMQ$wI_}gl9C3Ch5y(;yhG{nhIecE2P&{(e&?8Cz)M{toLi04j81G985#Aq6QGtboR`U>B zWAncfg7Mzn)xI&p!IWXaCb3Bp?o>uG_3f942w&u=yUkB&hPOSOMjpsv&eWkh($lu9 z96q~+_odZMRH=!{D}%;|kD&XsQ2fpvyZeiJ5+?7j79LHS^Il;Y>F>n+z8=}IO8r_ocI6e$UVA&3b?=@zR_6V4WFm+G^ zz(v_Zu*KSoZ!%w1T+&FEc3m2-Qh5#$D&SYjbg$Gals&t(=Nz$M(sL7PmZYU^Zu0Xw z-{_=}>(d+qTV2sy7s?g$D$9(GM=Vc#X$*31J~oz4>wTErTpHe9)*GUB+t@#l`yy}Z zqn-U*A$dQPT*H`*-uv@O>bK1qK=4FwbK2}G|7)cY%~Q9yq;JDKV?8;f46#(z~QxB!2}|>P_})g z>gn-AO@A5ZixJmo?!b5-YU5PT#_71=zkmRp^5H92?Q}ywAk!t-*K3>d(nnEc;X%W( zurT0M>xat>nXpAm)7`_q^dsDn0IAe_${RUvR+6LyAR{19M4p``9rV=t-k&Qo0LYLa zF#G4|Sp+7uz&KU2YU3_&Zasb@1vm}zSWg7tR;}1KR#}dOC*JflY*;s{hQAAWR_ zjyr&!0_TWHu*84Q8({!E;a^{>V4d-YRJV5cFrKI|jH|V)BvtT~{YkmTOgxgWwad&Q zgye?!w(J$G1q9$RzD@(q9m|{?Ms6?d`N*6K&#cRrZ>>J_rY&b4}+jc6yfLJL`< zt!DwweHzd^soHj>fyQb0y45y|(`-nXxUgfjB;q=44kyW5GwXC!(6<2W;;FE(G=O|~ zNdWt7dy9+q@-1!5N9X*TYh4db7NZ09!&KjWL)YB?3}kth0DiK_#(hu^JTcwUy}}(i zdeugMG_D0W3bgAwUg|_3dhI#@@f-xw9Qy?>u5$EWH_MZWjmsxbN8vcJMZdZIIlhQ$ zA&>xkChJ3Y>*K|_>-_=G(@o$g%|aWK$trWD@p{O9-HS-fo^0aG0Z<8)M;fa1bY<=v z9mFM8F_O$&_Zn@ylOX>80ugoC^F}WcRFFyn|KzI$0HT_0C9ff~D7NP!vC0hK_kk?q zU+TvEr`{LwtYS0rB_O{GO|ro;bk2XLyoE>m8}4R0rNJEZcjwNY{E0!U7!jBArg+7(Qe<<{fCl z^IRRK_8(O(R|Tkq2SBaRoy%!yJt^Bp+-o-T24J+We>}~9g82A7YsJqg?Q$M-c4}W`%%n=+WH05&(kxP^g0bgU&7eKkU6{ zSW{cO_lrxH9Z;!K#RAehC{;zIgY+7Z(4%7J`BvE{9!JHKJS_5M#$N(@+B9o#VZzpLo>2+cH{n9uv*1nsVE>pckj{fq zmdR$@jVw#$GX9sJ_u>%j)l?o|x-dA)o!DOyu2-@EBtVrnJsy@016$8-TA%k-pigvw z)gmqQB$LD9r}!n`dYETYrYf(hR#WGHwHLfxdpE4K6H-~~%3WLUK=cS-G=S$K?rA}& zuTF2tFdhAqK%4iac8`>#a^kT`KiG6)B9=7lY8in_Vd+C@Ap@8K4swNKk>GXAQ2r!e zkFj#_EAX{1J-*3R?C?l4OY_Ym84m|5AvA3`lZG9Z_`M)&Ejh=V(;F~NyYYHMoBjTg zzZ|wlaPBu+S;!0ak2OnH`F18SMqI@H71Es2wA&B%O#fl@gAP14F8R8>F558(ETtjp zR&IfTG6G+)7<_xxU0m^(Rrt+Q_z(jTYeUo8oFt9QNL|_ikE(DGA9e-^Qh8UDKZ{rEqRz9wz&XfI7WI1A^!pp9M2>k-*?*s9> z?ql4C!+CnS4sx-wMUAvB2~gPK@aU$dfa^Yl4>o%%+%~j9mFPQXm+Y~N#GET{qf2E3 zQ{ugAQ}NJCm8HExBER}rh|V8UlJr5jT-!bYfd`xNms!s};qkg9B4T?Hy~NJEj81~k zfVuT$C^2{M_e@BH&7c4&0?W$FP6`r zz8oW$2JP=DW$5kr6=RnsER9}#n~WBw`bM2UNocw6375Q*4mEQY9@zXj=LFjH1cK3A z?s=47$(OE8HuO|;ImQv#e$OO?#L=@?KRh~dY8Eyt7k%EJt|`31`?KbW3w}U3a5UG{ z8OuHBbYH)iP87&vZd(i=2n9u*<)K6Y5U!h4-E*B1&ON|Y3Zz!neKN;g1 z^KPKmDAA&++w^X%$2HT&8cioImcALXwP3-K@mgmGTh%1l8La6xBz@wkSRuCPDVPq= zzu>8)<5>x8r5-(hbFTBTZQ%VrUv(o+g;zJB)FASusa^;T-(qknvMoeXW!;bD!yD1M zi>Thu;M0P&RDGaz2hiRwXUhI^0&MxAtm1jkFJ=vyS zdX#015M$yV6Q{6|Rk}63Y_lI;ytF>eIcgew-(Xm8cwW1QPzOSJNwN#^SaiZ8n_5cS zTiKajB-9n6PaM z9QcV_S$OuEXemsW&_inHER^8_TTpiy`^cYCgtp!wj?O1jnLoR|RS|^27wq6CmPEg| zNekCriwbA}w;*2;c+1#7?&h&BRY7z@P*7#Z{k3H&hZGc49R?rv(4{s|SPnDfKN?bg zC)Sv+M-d|H2ol032a^N)CLbv|D3$Pdw2MTxKQ__2QHHPf*u5@DwiX{4Vddi!r8_a; zVMy<@ze9z8Cee7F zGa$kKUedZeA~-=#Tlo!$P5(BCTkUJvj@aIgC}l$#N;B=J&68*@44s9?X%*XiQ8mNwKbc|^+?q2^5y|n>YCX-xBBXuBOKSLk1?|K zrV=7QVQW?-(ZtDv*T|6ITD-(5#Iuxby2DRhSvHE9Ar(DaomE;5Fb&JB7sU--z}qe^ zjM6q5$`%=#)XzL*l)l#%LCUC*X)mqUR9)3jQ+lG@jB=W?^)6I-)9>z4Bi5~yuChsU znBE?>HIu!QXo)}gG}5|!#9Z3Gws zCgtyIipxp)KB?M!m@PDfdDrV6YpH#5fR#L&TT?TFN$!xo$H3+I=^pief< z&1PC=;z<+9dTE#66H2SaxhvNUrHthS&`pOUKGNF7Yh}G-de-EG)s{ZzrI8In|Mtpu zAl9Vr9v10lqK20uJPocAK1dkTtjz*=iT%FHh*Z`YUH6)u55Ot~X|QpfeLKU4Zezv} zWIclvVrzEAUfVPvPYGd*U2!|F>t8g59k)_)XC34bRv*m6HCFE)m1H#rnI80cxuICm zO$7Bu^wwTi@a*VIa+BRp4lacv$j0iD_PWMHQrPZcJ2+$H9@!hd+04HBHunmhm8MIr z`76dr{6@wDg6(5UCLS$PUPS^+$uOjn#YohI7uwx|j4)y!H$;VE5miZLaH-6wt5nSF*WHLt0JkcAo2knp_%f}8S= zT9<>E{F1^?4w)MqyywNy?)SMIAS55pfaK6e>1qDY z%G?P?`+1F8T6~)EKAGHsoEMFc}xj>Jeoqe^vC;?7xBj;Bfa9RJ#I<}wh2+Zx-a{yos_*rl1(&X?*>7(!2R4dTk%k2 zG0FiqCcaeM?Y+cUIhDz~bjj-u&FgKdKTF4U2~>ZsPU+|_o1Cm<*~03O$9uCCO+(rW z9^WT767JvV%tw74Zi`PZmE;1POJa(xILz<3Z$JBI?N2MUnzg=EPNO)-)KOT2(_G5l z>px~dmzgab6we-%?tp}xvNvmarAi3i49|r{XNK5g);CMTQBQIYwVogUiP%{(+op8B zgU;||@fA)Q-P#{S8=79Gaqzv?bi{#Q@32rbu@gM8{y<~wXT|R4Ke9U2zh>gXJlN&& zecDjTHgoCK0&!LlKP1sJwX!9?#-Jds zX-RqoS%HN&T#vmvx@pA$=${~%@vm?~Z9DtkkS-8?i7xcq{qZ-n|w?EIo01!q=EoL$j{My~w4CPlm`09bBRkV{8U9DM_Sew&rp@ zzNRzJ3ueA)oAv}~3~iTe+@y4}YDO;;7YOe_yk3yf`t@?KD{6YuHUgduLr#;&#Kk8q z|I|I2;_{1E*meAV*k)34N>dQ2EhMxM5IQ14UP#SO{qbt&#ND$i1qad>XQ$2xJLXUn zuHFdQKU{l5vOl;?$$8oq0mPx1RHa%`6OH9M!KkL@GqOv55yI~n-4w+akE8xz7t!>% z@>r6cnl=O|PrLjjLQr=F1Zxxs9Ojh|S(;rF7pPx7;TI5!^32$JR&jF2<;!z{HuXGr z>^>~WoKfWHOT@a&1PU4O@zbfZrC{OkWiE;@JMT@aK2daR716x#B+YYUH*qU%8oQx1 z;G2URXWUvAZ?jq&h1^2ZnH_%FEnB_u;>F8{^u&QRVn?SG9_cMKy->;Y`6?YvnXa{r z#4I)!wPhqsOXu3CY3*lfH|fhu>`WNA$DEu?n(yUtKB3jz?o66`Z!QnNF2mp@aQlGf zGADhI-ZaR(RN^E|@P{ALCX8}A$0Muej_1`G1E9fH;=ByGKic(oKfrr)Pa>&W!fw^3 z)6}MxK{GFRYLxC@9@suutC-j4CyX9%8`pW)L)Tvw-*wb2s!bmaU>Zod` zoYW6D-}4xFqFt1i)K+3v6`ihlYg5LoCa*{?`fs| zR%I?e32mLSUL&<+u@><^h&aX0tdsPn+L1m6p1@!EQH7=1G5Nz>e2T#?mIlb88aBvf)^?%Ts z6lV#DH&;mR63Iy(6&DT{KBdQQ7s|Gh!E8e3AWn)rSLTYm5iQe{N$CfqPOO@?ck&T+ z9i(HtU8T@6pZT$(A>+PyhKnK3t$50m0UaO3^IrjMSQlQS$L)23)C z7|A*JG>QXd$e0tmqB^Q@d-2?l+nwGnHRhq@}*~0mpSF>R8aa|cc%7o2Xik@f-s9$&{jitJlWYk@vp45+jXC1cr_7Zht`H+GOS5Er1{d&LZY z-Nn^0hNDuKsL^z{q|>|8yMlBvGT%*0d-)%&G%eA`k9*&v1j9aqn++CoH9YvJ07l(I zV#F1e(T&>s*!nQ;s2!L_eNi=9e&I!sVKOf9Kh_;aTnMJ+#mpUXIbRKrtI8P#Utat* z(3e@9O`V+;`-SkxP6*78JG~{AY3qJZX3%D3_9}OckX0-0f#?p~g1NfLZKtN5)fAO> z+3%HHdwk~P3UeU)iRI4F?RY!BouoH?y<`a+5%+&O#ndl()EuY}riQdXTz)plweU3A zCe%!0eAhL;Wb^UH&z**DclD#wY>_VrrxO)x$AFSjrecbNrcIVHCEcT(Ei=6B@i4sE z0raYBuI;ctlJk1#*RJmxc7r_($`f47?#o$oYzpo#y2xLB4XmR*yXrs*i^J`y+9apIuW_E8>vP3soJhPy1Mwa&-m0jbLfC z-Ra(xoNKvT{@$i1dAOYCn%bkPT45&~zBT@t+T6Nf=HRABZ8qgWRXdAcmPRbO5my1% zB61B%C7gjgr#lelD(J85jkn;wuj6&H?se0E4nGhw?QW*)3~^Fk=3nDSvrdT7q;}33 ziycpbn;F7_y=Zuq7r{e5lBH>PWP6|4eNe_xE!G)0r_n2q_O4(02n4Kbhl$GLx(>Cu zqmIuP&*t(ZpZd5CQoC>Qq%zT)<=_Ck`A7!3kzbX z!?U4|B|0{?&m6x$3#R4&#M(~AQHqCf{s0GFD1$tOF2~N*mDBvc6vnf*e(+&tg}x>V z<2yqzX(c7%4E_8=UOuj=`AWvG(9&nXl)$T5>dqH%2$ntP)ht1!ANtmqfX|WKDi{Ft zhrOZGIeJvaGP<)IhOdc1i}NA#ZCe;Vf&l(bG<8TzK7Ozgh1mN46|Rp zhV<=b|Ec5rOdkJQ4e1;04FGa`k2nqdSL281eVa?Hye~^utzzyskC)jXFtgs*XdiJt za}Got67OYVxQq~Rh2o0-|KRlh4+W>IwrCPLGDP;ej&$WS&h5dz#-fpM>ud*J)jOPG zAjL=N+tWgw z6xL0ABMP2rQ{?DIt5z{4BQ^OBIfUp33E^pG0!hm$mZ zU?afr@lC#-%Y~9A8BKnV?4LP$;gtY8ub<{MtV@@}yi*is90wlL_3HtYoKiJZ z+bK|(o!d6YP|aK)UdapuuG#)4xO1aIW|($u@0~Lo^`nZYzr5z07^n){j-W9n?0E5y zU#|=KTWA|iZa2d_*biVs0hDC$5z?a-1J0G7{Jj712?K!|OAoj1>1?wVuL^Sr>{{?p6ze+jg~dK;bb7hjqKP%cQG=Qzp#;%ba2>m>hWm{Sq2@!tg# zt~XPPSAJRe>O!4wWC1kx17fE6V3VYOTQzW%KFZVA67#N{c1j97J_+UFK*GRH!s7X* zsS-Po*!D6;WJH%znRovqpml|Q;AELyL^-2@M~$Ear?_Q%S+gXx==kQTWayZ}8|^JP zB3Jg;+x{iL5@Ply_J#HXF&dxp#zAT`Csbb|I27Yxo5=0d!mcsM+<5phy#FBytmL( zTQf&u6ncDvF{-{SK~lf*EfHbM-o}CkkSSt~g&9)--2|xs4FNNsALi&aYC=gQqh3*t z3C3NG6R^pO2KUSZNew#%YMK5%UItm7Aw&JNE{?`7)n2Z7F2k|$Tj-shJe*wW(h|Mu z-0WUSZ%o~bsr<1h4^fBdZ7SltyBGt#q!rw9{xw*D!c_|nR@m8VtOx>=G02LI$M(tK z1Rt})P2klo2?@O+!_V@^xRjU1yde|gBXwPX1%xveP#4fg??{_1xkZHJJJ=!H$|mzX zXWYZ|MF{M?7n-1IQ_l%~03cB4T1FEH({iOpq(bGxG_5~VHufO2bnAKgQXeb_W*kxa|%F+7_oqWfmX!_@Km>YI!oZY|{_-x8r-$ zt^5WEYngybk?l}c>syhno$FF{Ut$>m_dI2(@;cj`2BDU)Ai;{P7-i@6=P*@ z`S5zw+mz%!QR(rW?ed8)D(*T>xv!__MMd1TANk_+9S8zM zy`8s?$F4iG5$3vX9&R6T3Z$a70hH1e3Qp7FEz#ZEG#soaXuf=NYaGQwZ#H^b<%&z2YGDGKwgr*qxd#{zByhXE(a&kru zHTLH2u1O2VdmC>SH8r{&aM!Ndc9Xls&FC8YHf|>)t5M_LE!+Y&nk7w!_3yt8E!=an z@fmN*F8@+}>uXbXT$wvD@c}*BfaKP&Tfr@Z2Q@sOUm0P!`sM7Gq=#nXgDlGCaxhUL z)v1&$@!f5&=Pn!wQ0T^*HbNL=k7eFiDbV0Y=LK9A26W4a+e&k$cKGkk!cKKTQwj$Z+uf5~@jne1)qTDW4 z6rgbc9tDZ>G)U%_^0L*$9{#LQMr@mH9)V{vvW*L!((DoZfVJ{1xs5Y5#{3hXgf;l(liXXXaKidjvaa|(#^ z2|X;9#IBTJP1ygo;+T{?ltSqhUdo(mcnRc|2%TlunXciIxZ|-hF=_Fm z3uijkl4*(1s?#?Zel`gR-M9@n&o)07~6A z4ny}HBxu^D1lW&LvAa9E;2pOj?huw%3B?Nr)n=zbYBI1^+ukOOizKUAvd8y~mZIG+ z`zsV-UiGwB7bYk_Lnimz37wdSLcxws9h(u#rEjh6)nl!p9ZOXX_$NmwL1q8{^g z8^usr2o>83i?yuTbfx)x3L!U4KIVE&(BWs5k&A}i1`M&(?bz%&s%GD`{yEGs`3*ph z=vUX$bgw3p8vr!55#+?zMIW1a4={w1jiGFsYhMXNnXAqw4j*baU$}X(`}(|8LX@ZS zA$L8G`UXcANqtm4kFT~c7dxy;`&JeE#IcXqZ}pAV)Q^7*G)RWo65j{3wlCnq$;!8j zat6NtDt^ia%yEns zpk!D)>6be}mc%8;w|mjhC>W!sy zlYzj>A!&aDj;09E6t`dJbyVS@y^=_0`xs0he1NzI4*x$`t2{6P1qCpf!S|qGjhPOT z-4u_$&oi5aNsozW?URfgg|rPUFY_;KVAxdlv?)nwReo)4-naJ0{z4U#hf;z);>#9d zT2(Ip(BT({T`jT78=AWP>^i$&Go&>OC)5(AfhbM>q0}-5$Hc4;7B~zsVBLdHzHvl2 z;j)^)aV;^=>IMor^Yy+C=26H7EpqL&3S1IUNB#soL}vC?qoj$uj}vH!GJPLdw2%MP z6s3OH+CIUR5)EzFx)T({7VFRYd^HPup=bE+zW%gM)CmuVq{3DlTM1QWaz!ol@?d&9 zl}i7r*Yk|3VJftAKXSTg(LK(b{Um~h1LcTq3OVH1zOOAL$gOSReu(C&owNKJRyJsA z|KhD&PZNDo%FlO6sN)$EpSo!o$Nd2m?}X4H2|UVfon(JbTjHlvIpOAnh6BWblH{on zAX2BxR$N}ZGxtG0gK}j>f7s9&>SE>OPc!vM`p$Ia9f>c3mss?)-mCduOqS&@nGe_S zTkV`nLZ!|mId61lc!K=&Pd{@zKe`5YQs5M7eH>~mMnjVBo^-N_EmRO(4e_T6yKWXr z9Ctd^w6{uAZzRpNx5h#6r^e*?9MsG7eCm4KTh6aw9+clb8!eF%FIVG9LRfuM#ld{O zQGO)>IzB9NtOF-IFVHL-WPZ}j@3SExm_u&LUaP)^?dy0y;n1?`JR#lvy8OfHmf zuoOrd%}nL_M7MLVaY$9LBPzYuVlAE4S|f|k-Nk#)B$1Ffn|VM=q`b5yj;5@$Z%Ues z#zm~&PE$vggt1}@(aN#<3VmOadAT;C{OHbXe$hOTP^eI451wJ^=@jcZASW!&HPe== zE12c3*jQH#!P-<~Z_w%}7_)XhjB8w|ex$qlE_dwOxu>G46g9X4+WK)<7Tle&jl-a= z#YG2+8`Z(ZNO1!xk-g_#V@}q~BN16CaxyAL({0Hd0E2OZu0_oQef}C}aek+KsY8F_ zMq18+Yc2W$)zt00f;Xf$kMTE|kA9(-Srx~Ip%p^qDSUlGQPj1DAuxT_UUQ|XQ$wi* zDhQ`Sq`GH=BH$PkZV*SN2$emP-YqBSWo}FU&Pz~X^LasN*do&nk_U|lWkiCcPkevt zBO@(Iw&Z=DrT3j1v^EyxwGG9Y*Me0L`fM|F#oh8%U+hQy(^E>{e2ACr@vL=6<*7K6 zY`^DG=NfyQ0>vc0@Z3&D*~nIFRhQ#?Q#?pixHXPCWVC$hyuGE8?5R*ik}rq9quU>G z75UJSkk~{x!L=u^7c{9zcunVvdc^jrnbA_r48=-lD|20n^4nLQzmK-uYumc6JCw>9 zRCK5SV9c3i-nX4&e!8YaJJfD0l$m>Mg?)~y_d{8#Gc;U(5<4w`zZ&PU%?Ay_h-a** zTRFKq9J(M9eU?i+|f%&1`#t)M{a~k{=v(uVQ z-idQr3O+ZFlAcYAsBcDbwoG#mx4DkpQE5wf;*>8`55dNFm_iE=`%22jNKttOiph(L z%1;H4ic$DeTkSgfNqwRzcN+dcAZ@K}pjGi6OXP{nS+iKG16&IGT2o=+{g<`POT*`X^q`am`F55+H_2DiX2}##IBbrO!?tvOa z?a8{EdhK1eYR;`y6yj0O7tXZk}JZk-)Ol09EcAeW=a-yqT z%E2kge`069+KDSw<>2_|{z2Ile#pMl^Hq^$lmkftT{8bCPdEis6H_kUW8iMf{3jLm zHbnhdIm6v*(NndU4DrNaGoydvg;m<}QIFqOzp9S5=nXG1c$|=a=AR^33Sk=hVb!Kl zuCWa1xM8z~x__{mRi49#^Jr|F)Rp|{X%aglMgK|Py`YK^UK;JTsxN!iP*3B;JL4n0 zzlC8wLZAe{Zpf8p7Tf#x6S}*YnJ4Oq9O=QWU*PK3#Bg(2yhbfTmn<#aBsy8Ue}Edp z-4^U~br)dYh#2bYs9&GFtWollG7M)BjXVReZDLzK4f ztyS!LFR~{Pani6vB0Cz4&I1$T;YaXXB2gL_|C=byL&-=6+w)qA+Mwj539hp~J;Qw5 z*-v;a1cC2o);3}H>sM+Fwt}Do=}Vj!&CL+&pe;%WuT-Opls=4Oo?+jKGLYU-QfUl}5`pYfoqX7?tP2YLz@mu^nxQNX3(W%z76nlKfHqa3 z4QbX`|Fj&gR7-4Z*3hr(1`71a*9w}YD8W(oab*BL@8OAd|TD9g3@-@Rwk5P=Pcm^+<}Xx#m<6cJ#kM-U@gSw)l}hT zX1>i({LKK@4Z9FlhO1Y*sxULi4C^Tdtb2NxK^L zI9t@tFR(bA_jgB099B5OS8BDITVMX7kR$(gaWcGe3BnkqtG^n%VDS5u@N>SK`9!{_ zA*J}wSaKiIq8uzA5lfgp{MTSB{{pPb!h8Q! zagAfUzEB5n5Lk;JYyR`$6aEht1Bh~{@Rm8(+t;;>Z)oDwSbqFZh&5dRC2G)tCVR2x z^~Jgzy|@4TnFu*J_n9uBk?k6UUHY#_W#H-QIwz1cMd}4UB%kE1zW_=}JKP|^w9swa ze6J6BEygVIkNLGO;v>Jw|EH76!X=98Rlpgd&u~_7Fo#f}jiBJ{Qh;0QX;bn%RCdRfa z2|;wy-)+Wf4Z}JiaYk;^6;_f=d1m0nzr)YNK9ZwGqip7`tXWc4>tBt14394y$icZ^ zGmXC@W)T5)_Af;~KYL`PBU~h-zqTKBr1#4eVhUG*3-9%}egd5*<&lMBcg`b z9p&U$L!N!o%swKjIVEJjl~#u2{L4$(G7Z-#NnO*rAe{3t8Y&B8=TPhX2y0&(>erc?!ZqQ-l^<4UugJo;@k2vP-|8IUZehNHjaj&W zdK-~EHH_)}<1q9BK&l*ag5gP_EwcH_Jrsas5`5L= zM4PnWt`xD-AO`4CobR0>Qb9uHLrXJPa~$m1}b^epAxH!#9z(^Spm}DymWqRU9tz2P^d(+eUg#W`Vy`r{msIa$uh5!B7BTYMq0pk?q zLHY4<`EkF=VgJcuSo4-{^I>4~zQr~OcINv7P-#!PX--CWkH;_JLw&xrfs_V`If2Zw zs>&o5kHy?|$0b#H#7*%wH;V}CcaG+gfM`%XND*-P(J|Sl(ffLUoR8j;C}Y==#hnQI z^a3^g>c+p|wJ`D#T#jDcA1XDP^}TcTx6!lf17dn`6`FWgm53bNtGyH0dbzeS2#kOB z<}lyn_>ucQQwcxdxeXSMaU2G6(Q4QoQChR0^B!sjD~&y9>+&9Edb7v}?FG6FXcx$# zH)dHoX*Ag@W25!#3rj(Q>BWlv_*tLA4}Q6-DF6w;{B1ugDXjV|AET|dLQ*k z4Am?Y)gf3AQaX%cHS(6iX@e?ogGG)BB3HsT^oQR@G{3^Vxlqw$Jl)-rrzh(m5P zwb+_p;2(d+#FeivYTR57q3i1g{_U3Oy?kp8E;{Rbyuix%5)96ufOwwsy#avy9xw;F zq_Cpj$3!mAI9bdLjE`^jj@ar0LwSBUCOwZLM^9*w#F(ixqOn9mzj13aerBbykq|)- z#P$6CW>mw@USH*0UgjJsN_5reV1Gfe5|;i8^Dt1hAe(5F$(`9h2JWH7voBIsLG7;y zp_hqZ2Nop)O3C{cM%BwA9+W{OI4}gqWogE%&6RaNJB$Seh=k&H` zPSk5z10^ej{-ZVW+`ldf@Vbo~W3kL%Iz85w=Ic=d*W${{{Z5X}Aba0N3vtfUG+RPH z#&K`#wT8eU=YMc|dU2Bf1_WzE?CW;JK5KwE>JhGmfN5h`EpW=Gs*NTVj z7XkcbSXA821)?nh0OC!s@1u*eW)^J!su{1yY^20NDlT`>={7O9TA2^5g2V)DjoXp&_tWNV zbIeJyC{REx(T}&YLUiO`B73!ik(nbdFwQcn#-Vu|oa8I+X^h9Nsa3t3 z?cVC#{?7jAPdttwBg*k_*VAH5!wC-!5CE~8-#3aP!!x;?cQvWbc<3}~r{59AWbT`p z>NlErOj*h!{9=dICi?PMA`+YGtIFt?Hau4XHl>6zC8$JU+T?8|$D@NXZr%0-cUvC$ zx}wunp_P{L*aWxA-WgqAa2qldo=VH}c>tHaMfz>VRI}u#E0z#=$qNo!-^v|kB$T}1 ze&q&R@v5!ISxKiCZ+U&*sUN=lnHfOs=iGU)jOpeI@;@Fley*y&>P7926~N2+g0iO5XZuOPzZR5)FpWtl;At8S_R`xp6JkH+_ZzK z+wa^30<>Z6L`5P6uG_`_{7y@}`Tn)R>mwGNs5%C_vg(R+Ik-03kKNh9 zls+4VJ4G*NEa>m@b|*xll7#mnUjy`buLq?B(DY5NeKCVKRt)Jk{dBIgozvHr>KjE} zx^@V0Fxwf?r!0( zYS9j&R}mSM;yY)5Y~a|?NV`S)I?gjTWt{T1e0-wbMyjpH{`IsEn*s}&Eq5g<%>O4RKXNsGWsj4OE?SOE$TJZ&A3Krg;1 z%(tuNBJAUh1hd5Ba`Zqw&efq*_g?D!LCWIb?>>4-)GOMKPV)TzOFPaoeruD1AG%yC zp8r8QHv{J2eZDlzR#Fa*#yCy?3YMya()P2-WnWg;{dd;RHnF@iYznW3T&mDFQgf^l zy&-eXmz`yJw)e-Ue{8L!P}-&h`j&Wzr21tDwRm}f$xZ6=oRFjl`-o~Cyl3uO4w)}Y zJ{_V>C9F+$9sWo4-TJC`o`nx$T_bSH_ILCtYvRwCa65ni2A!Sv$b}1nX^Fs%o^N@f ziZOc&m3A&N7`Cd8+L|n zcjKP$k}9ZMeM%x*fdgSaY$%A@4)%Ha+n3bNl<%KUV+_+CND9_IZ;!USW1Enpo$k=m zffa;uR z>eg7czR$7ZA3_(puElD1iAz2FJqsegv%5n*p8e0{uHMu2J$}P6wy2 zkRJ^$X>sT&e1CmCx4+V0Khpopm*_NZWO`O`Fr}gGo88xx;%_Na?Z7|mKr?&5xG@tW zJ1Aw&=$lnYxIJc-#b%{?w zbWUV19z;q_4@;c_o&;tJWP*b9;8(<^hUI{!mgJ9LA2$5{O0_2kH}wQwDoaeP@{(kC zZvfH!fBRT&-@94Yvi_xwUM%*2?&NIIgxFO3&(EkQ8|zX7Q7|>^NyN(bSVSGC!9LSh z@oFhle*7MNEmOSXx5XKG=!vr|GabiV>gR)Z4Dt7GWJTazjUW@fBihresN4+_%X3}W zum?|Z4@-j~^WF@TGB0=5jNFEw@HA4;qtK9O`Lhux(s0ak;#b zMJ;ZOPbjX9O84AX2t2KE^0*?Z#Jdjjeb0~MoSaA{X{#B;Qy?U_?A82;{irB)`{VG( zJJHOGpZ(A%Z`sDIj3}FO@;922eXHNJGDH%-UPWQcU?WzhhLas30e19bray0KN(E`G zd+KnaB1=8L2o0#s1Wv^Lb&Ja0`u8x7Tv_YJAB1>QD2%sm`{eqc>m2W0@zM7b6=G+B zrMhsAdVHKNn|ObC!9qXNPLwgn>(Zr`AJSP8l~+`?@?IJ0meGzgw~%s*|M76J#J6?X ztD~AGmY^G}l62Z)WY7`w{ka-1oIh-;B$$O9Vofti;AwwI${zkH?GK33-UrrT$eQei z`IT)`PH)WQ^J$;-t!H$%gR2hT6p9PPeid)tZ}N$8O(jqZw<}!QrhH*;jtm6xk7|CUZTduTc6?Na+zR52_ zA-AQo0UHRo(4YHYHBeG<<0=puq}_%H3tGFI}YfK+N47 zXlBUqYpHh3Mn0T3YKBmYhp)t&_c&Zu2zcXggDe}Fx?FC8sN)^((xa$NV#tI_$4}je z%#URv9pjRw91g~5cQr-=x=;t3TFros<9k-aTFa>SiUAorH}4BCnk9v|?vGhq` zFW|$hFuq2)ch=y(+HG#g>9KpT^3L(+gQ!^*{S%joA7e#LPGh3gb)gp<73bTxc_-9b ze7v2{EQ(XEaH77|XbZ-EUJZWbm1kAEwsC|M%6L)Gjf!rZTJvBi*@_;u^u|FUw;)Ob zW*ws;!{|+piRZYmyQ_BAkYN{#CDrY_+f_92nwBFy;SaIho37CkY__!;1eNuIJ4M@B zPr_Mzs=agPLSq>>U75RskyYw)TY14(k)3fZ%~GAWqqh(j(i)tgt5QD@0a1^3V`8+o9(eV%qQX-S5T9Kzu1SJ3jL zSUf}Wb^Vs?=r&6e9p+)F_NR(b`AqI#P4*PG%qXVH zC7%z&E~9ukcb)#rO!xY;Pp%gVvBrzn*c_Rf5FXqOJM0xIRG4^IDVp*^RGg&~RqgoI zx?cx!vTy?fsa%^~?A0nsQXFMV4Vn9}VQ4SaF_Y^xAVw8lfK16+Ji21!;KGb5=SlV<4EVa~kwk~-Wl@s88;T*xppAv-<{;>h? z5{kwauM96M?S-IaQdVReQp;(Bval*14HdkFb`vrtU1`E6!TB=e}CRE04-F(JYuIGAbT0Y}!RnI*1e* zM`lgy_8aqdLR{?n=QCP@7Rd~1Y5dm6yi!&{CF}^-jzl?Xg@b4}J#D{yr3sg#)Yo3! zSJqhZ$bARj359W!!Gwhitm7(+DvqXx3mhAzniG*>%fSZIv&zqZkWRz#V+iC}N_q0U zKxz*ZnqBb(PkZN)iV;1Oy}00-AOH&sPYz| z-054czQ+>S*s*KCbO;CmIa#n8hrJH@1r}k+-48SiryKe5)=-w>zUaoE4Syim}V zub-%`u~60-5XU_%84_@7*EZ8E!|wBC+-_V{(JZYZdW!vkUyXbqlxge{r&ke{vC58l z<>?H(@!qsGQVwk5_5!AFpB#U@_wRL1PqLNe0>itBw=;%WS>v1-mmnB4%!BlR6*{x_ zaD7F_PLQ(3r&XVLqQvIy_MUY#9wJ>(_b(5w&-zS(Lb7e$J&~H*<;=9ohIF3s#w-VsXYlZn3D{Z%I6t_v*XWJzs{+ zZ^Tz42$L1A++8pvQOibn{Ks7#VgRv}dO78Bc+w?SL7^kPX?2ew(#w_jasb=H(eCY5 z)JtE@7bks@E>kzxMmKHs%ykBq;Ha`YPkLBPm`)&I74T~XFYKw-E-#+I9#yF0PA8T^ z+bew|ILeHNVMBKCtR`aIIuhH<(>nqd zUKI>ilBv%eKlE(yFaC3}?$Tf+i%V<$wW;$rOC-}nOTurp^Y=3ne-fd95Q#;OdBIhV z3%OZ?2mM8oJrcHfFo^8MXx^yi6Z+=8B{o0K?mS5i&LZ%mr$`>W_|>SpX!ysJe4MMu z-4QL#l919IoVxqZ#9+nu&F+s(=%WLNc(lx_FJ1*G(p575lvT7|F7Cy365`JPZ#&#v zJ%7k2qa*T>HTd-8^k^W(|VeR z8wn4qF$f12F#B6wTnNg?G2tjvwcr0kp9B)ue@}p9I-v|h2>ssr5+%Oh+t@g;sQ7&$ zDn!ZX-e$n->^o4vEUV~)GCF=BK!+LCn^euW$Oc76j(^*BbD*1kO#UL7d#Dnmp2Opppj*EiwUv~Mqxhvug(IDQP|{=3^Yp(v zau(X6F$+yK|HscQb`BAX2-}yr#50d?*l3g({qux3&v*V11^(8DxT;fhf71vQ5Z0%KTK_&An6uAAez(%W6ToBtn*&W$ntz`@g(!mlZrJ~w zME(Ev7uke{Mi7E5?nYK`N9*}oQ!gRF#Wq}3;e(zd9?7j+CLgZ?3cAK=|N`+UHxEB^lgIv*&#j5tdq@jzErv8ttyYiR6pFeH_He z_0zOb+FA->nmgG1^E|jO_4@W>++)HVR&5Np9fmBSaX*&d-<}KI$JLi`J^83%91d@h z_uwwECGQB&coH!d%dJAb%Gb7^;(tL)pg7~OjBzgJ_rNS56cGwPm8kFdld8=^mr@q? zr>9Ih4JM&aQ`uq5#dddtBs{cVGMUeh*yV!qwbD@RYouvfvfv3!E zG<)Kq%g~nZJId7Ng7keWH{MvQCSAV><~NHvO+FwL|CjPRB}il2=leYzI+&_fn<0K7 z^tSEwTi{402`qfP%+CF#mW*q6MOUU(39LFd z(Zo#ZseL@{=|!n&w^qgjf_+ijQz^p$$ccB)+FYM)+i%;MnwwqCKF~EO1_lbC*0X+; zA{d)Yd=c@eao81~l?u&|@HuPg)hA&(dhU2J>Q-o~o7zUp0B>2>I29-Py!?|(B<&6) zV8#s}rutJ~qEuXTYp5gzYOAVyP7R^|$Na-xDPchhYU;opuNwvU36N)4*DQS1TpkF! z_srodHTw(2(!&Fr__o+2U)a>BnuqHQ8&<6?;b5;Vox8ekCtb91pCz{cg^Q1r4>g`o zG_~={j;?5@_qR^$<70EC@Iwn@6R)TH^NdIe5?W!RVE?Q^ijcd8+%!p~P@X9Kihz_zFQJAe zy@PZsNFvgt3rO#Y^b!aPL^>#tgcfq7m(U52P;xiE=f3A1cZ^%U_gDU8jLlwUudKcH zoX`9`u6?U>fz?edfptJq+^I~?SYA)*dYir!RxmPtzW#+>}YN@4wBes*bq5B=?8w#|9nv} zJxCxA?An|}tGd4#GNibt%yA1bFJ4@nm9;oXx*~G*jjmA8vKMBsWqYQnxP=RMZotk$ zKWMHnc)l|^>hk@G#-eSMHB-isN0GsqFL$l!o>l*jtOMIaCO>IWJIg#_Xz7)*?9F+g z8ZF;i5G<`P8gQx4$3`o5=RIeC&FYYaQ~p)Y0|TR2!zIIs0+)!m_qa^?6@i&3ocIRs z@H=q8v6XEyBxq5^MPk$?aAs&6y8aqS(W%7OtudScQlz!VLVkiX_ufc=rSXQFGx!0Kal@mJVqmv! z?G!%_j&_%JB(Ivt3@Elt4{dp1EH9WlNEmDW(e@0>F3tn#$0+^2P4tBRqEJ}L{#+s zN$F3*T_V-CuD*LxH@#UqIr_M8q`B{=Vn?yLX<*K(J1D$uV#Qna!69$D5FWDRkMC!( zYIyF_W?{4+;<)mf;po+yAwk=sjG?Ng0UmSxI%L}UX0M^Ul7uuZZo*>XQ4`e2H1} z_HbhQkJ3&=g+tpJ(k@jCPd=Ez9G zuQcpX=6sD4Qx=vE1uEn6Ah(6JaYmKMRh&#!-Rm#zXeUwmPC9Y!|Hy53{5-ZSu-boQ z^(iex?OQR!s{FYyImaU$5dv#&3fax=0lh^PD*fP@)T4~#>v2E`^IfeL`>9{Rs|(Uc z`xg+QIS_>=`+2Y6oWXQ@XSq7I0@<2-sML<`Sfe32M*$Flz|SYpXQ$UI@HE5M#{nnV z_akZIk( zz%Eemtyb?}w-#0(w43`RNzo5;c#1~p$3^U+M^>>zwB-K+&81!DyvSbYoarIZ5GT9hChS>41!)*%=CK<`pO7Bv{~|Z#P8!1icM>VS2CJ|z6CBW zRd%BaEMpu?eGb`Liqt#$VjGv{Zx1avK^m0{dVUn7Q=T-yN@W7O%XqL)+@et*xRH zzXhcA{{9}aE(+g7v^=w!NP&w9Ji}f2I&zHN+$1 zvCa|25!OaHa1Np7uFuW?MZmX4X2r;u=N|-8H~c%3BQpIB_j`EG@%6T?3d_{MQ(eYW-z>SPU8FGXvbA!@ z-u)L8$L#0%c57^EcK09>2dD>@%GsxBndkp{dfeBa&+|vJ53T1eHrYDN^Czeo4<A7yBVf;5|r<<$?urjdjcPw6J2m*RQJVTVE!*-MnQ=DefM^Nu2? zg`^+AP643>AX#v=idCfloqI7YJ@`4Qu2d^hbuM~9dvXtzNnt>j$0#l&s1==Gfsf14 zSC!ZMv2-}b6V7@JIY2N8ibAz&Vz3>vqs3j^(E*4ywG~4{(uNJM@ne=ED?>kb+zh?S zQ{K&Ug34zV6Br?mz|GRf^y|9c4E9Ta0%{%W_TQn4;}bix7Q4Ov9j@>@;^a{R ze|bcmYSpbzDwP4fjc#1(gHdwecU zvW;PvT$v+J_sO@ahpfC998eLSH}WTdgp&9j#wi18><8XDi0Oa2+7@i?pY{`INw2C* zAhe^5fcy4tDA49|VnQ=9z*Gaa5(nJ%E{58Bcc^H*9R*M7!C-7uYK6jD3sM4nmeOQRZc%4FnVI zZ-t49DR#(|-C2i4@&yiDl%Luet7W?2%>BVPc0$VAZQ2TF z6O!MP9KD1?eF2Tuan9|ol265)sMM$YL7BsKon%Cg{aWZRL}MJ;2$@L65tf{?=gGu%hh9yuRbuVVmmD!*1n6yi52|ayVt)g{WCzqYX^<4V~{; zLCa0`#llGCK6uS}pIV(Pk1&g1UJh^%2|=6!97TR)mw{{383z?=TE+W&MbiK`CH^pq z-z@AG_M*GV=tWOw#<)cV#H4+1s$H&y98+`Zw3EMZAVmvgBps*xc;jiLszroF)lWol zTBjvpCwrGEc0oMwype>U~q#~82|esW#E0cf()Jo)xO?&8%?JjyLXwjS@z{{B?X8@M>Ox)jfN7=H~r*Q)t3@^iWmTs)aeAHF&-RA~xJQav>GLhiP zo0O^|c=FwT!W}@@vGzOYh%ZF7Q$FupxC^-%yr$Xz=OQYvOas64tFKXQt~^A??G{hG zoE6T4H*=?QYvQu}@$=L*4BM55(-7iVYE0N}unQ`jl8ka8?pqkgC6=}2kgk1FkXy3R z<`xQM2m5GE4oclp92jD&Ld{`q1YH;s-c>}0#&>8NEEuXNBWP*Hk@x=aj}U3wYhEuguAB8|*|=x`(cPcrNvltM6`0PvmJYS#v-fRIR z@(LvTxkwC<Z-^S~6>72*VTb(E4a`$R}cF&JmJS$qU@*rFgkROPy z07AIttbX|O2bl1b0dG>e`&FZm8Y81hM$PzYj`|K=Mdw7dQRQ|gXeXrcbgkD_`$0C0 z#g-l8fJuXBAVjHRT7Z9xDjcnk=52>}4yTVVJ*K3Z4n;L(NcDXG6bAtXSWecc?_Ot0 z{!3oBV`%&H;3wZG%$iHd*&Bk_Zqtdm;2P7j`2`-u*?f2H6D8 zkdqD2G$@&XJ8(sb8AqL%fh3o9dKK9A^Fxq}=5-fMyJ=p0`_}qiEdI!<*USk<$u@Y` z>gCLW!ISBV8tr<7hiL)9VfSVPw!b=tl zDw(IO=5m#oU;KM_IX?6Q!Fn-R#Ae5w@rAIxg66NEsm*5Cc)t|MLhSRP509Q>qaI{o z`pWd=)Mop;DU``ef`0lf;jm~fVTV=mXhy`OGz;Z%*(}RzOFWLhrTd2QM~z!$yjw=R zoOx^foEo(*-o1#I$*#=>KKS0XG!LtQSeCgIyBGu4iSaKNlsi{T`L}tS5rMY{Bhg=` zZ6Hn_1Rh2&W&kkmC0s2o99R$IN{T6zh1T8)7iRAe7%SXDLV2*)69{KK5B}pY1iV>u zngZv4S{;QS9So4~x-Pa^CdT`{3o_OFwlVb!@P+)BjOe#e2zWE(HBr`R(^)i1`0a3{ zQH>o}4ts(f-`mKOU!NYo-ueDMeQ~HV=~go8=JpUfBtjIf(M8N0FN42x@CS1qDDg2X z-BL%c9O3=ztRFa-&b+XZJKnbco>8@DZkkF<&{%cQEVFQE?l`wT>O z3OqV$PH%9|QtSGETl)R_CvFae=3SF^`ujnE8Cz?9??<2tdk%n62#kqoMeay4_yJ|q z*1@yCm=S0!vf5NoDsV-4}tIHUvd9Dnii5wh{dEde9yUwNMTK=P| zl~<2X;-4^iG`K=aw+8YjaADy{CU5c51bB9CsP1g@jqv;ju6!T|`nDelDD{M|2AtWo(!E{ zdDis)CH!3DfAn(>0J`Y}!VJ<*_vN&jMQG<+RJsBRJLP7xfWU|6ks8+Ir8~PyrXe~1 z%*{5y(dsGClj$4vInu;ka&|O<3*jnFjS3tCH(n57ngbe4{*3jNvdwZrwXXk>S`fqt zZ-Cb^LIYR5%C)pv5!w}IP1axY481b$$0u62YVTLzW#8S_gq0Usaa!>MMIquaKvB*O zRFQZ)9-T5F3~Nu|9{mEu{~q}EAGZNkQ1qaGf;wUA{pO#8Ag1XaD{74^K##xoxP{6@ z+xJZCXTM-n1=tJBmYI4>>8E$`mpXqQ$Cvv#xa&F?DW;mqsBtb0c@#-C44o!2JNkt- zx!<65CSU2=hSJyH!QgZ*O=DPSi*T!TWUMEkeSiPzxpTh`@ilgv)#XTR%@AZODqRFT zvB$br^1p=VpOM`vV4vjJ;Oqs5=B|U2GB_`sF>IuyV|3bgbH+62mq(;AJ%BiS(6X1< zl9+)$ z)GI;aZKn8zYVghi`fIqhW9~tyarya8mfwB2`Jd=JY5)MxbLX zru^-;IbSp1pGuw9saPyp^mZxL$O+xWC7j+H0^~xqct@TaTp7eYzgIBI+lxG<77p-6z>s4v8RB4BXwjo6r zRh{0{wp~Gq;sG)EeMzaqMw5&cyNT^eR!A3o69F%D*HwoJ&^Kn<1LZev{u&Qs^Gp=g zv$R8Bd`KN3snokXcIo)MLgXRLu9Z6sTYDMR2sQXzmx?a2c)_J-J5+cH3v~eme6z z`zdn!7-LbBBul~3>VMy5L!$zgf@h6#`%6eVLr%0uT3BBBK8!qWDCLkFbOuWZIp64$ zVYGY2#_tTENKJDt({q)L-^qYtU=lzvO!ec*GHHxIP&FhG=j-f#a~0ks^48r&P5pTB zOy`aQ$l{xuMH)_GE<5SawR}APo4Z%^UClh$yCj~!ji#bT>7Hb*ZrZME+8Xa5Jg&F! z$c)Fe(qklmrk>Ro6q;-$`+^_cjT>Q%hqiI(I%zPoJ{bDm-un0y%j1XXX`-ja(yu~` zA|`#M9^ zc}`8^7GBPnEaMiy^Ydpvj=DJxnupU_tGvgvor+ZHY>VR1X%2I;@jKkga72k+1(46B zdOr!{cu?kMpBPffzej5nz2&fw-H(xnAZmm-WwuT?^J1KV5|6M==As;?#pUvWiRR{c zCWImGDi2ar(RaUiYM&e;M5lFH&-Fem!}B=U%BMqO>jqqZi2!ORc)W+>p|ZWlk=vWye8$C$8_}-iUYpt*=grsl8~&v0dknh(I0BG{ zXY&VUNG=t=8Wq6`q2+Opbk!rAzN2J^_41v>1PP)&wZeP#3#CVg^A|`(!LP zFX$Xi@-!bFWz-DFB$o>90KwMa++`vXjHZ399b@om&Kr4HU+w(ICt+~OhI@!sr~4oG zi2z{TH#v+{^-37b-Ly;QcBqBI2q6oSvt#>yBAMu41&jeWnS)xuFX7n2j*|wAfEw>Vuy-j1bsA#TYYq5rIS}hgYs_Qv#C7bFJB-=zY@9IReDk z@~qV+bGwLnUu1cp>`2bn z4p5sNZnB?fpBr=$1S||FOradu&5+=mlsz3;bko?Fr}08s(8f0bn#5=4QG&VN6|q{< z+)Ul70&AQ)dsgZDWTNS0nN#5t@~aD}&=!B6<}XXD)YfJ6p^YAib1hU)fl*$h?gKx@ za-VY zg(oXIgT0ABeVF%mxq^|54hMqc?^>_g8DqKQdMFoK|6t>i=d{g8_f|$^fkWuwQMAW` zv=l{8$6y(X{^Y{ff3NXQJ?s9c!=Bn(;iI_Cz>TgQs@ZJC$hbv%-9=h!v<|`D{kBE9 zs|cV=I4?C&)SU^~9_f>&)f`&<`{tCu+_flo6rH#V@MEx+C?+X3VVBGDk_tvRbV9$( zRjT_}Dj!Y?)=pX=o~A>?n<$=SDuw@P_g^(tn|)8MqCj`#mCTy?6Z!1 zi+H82NAI?q&y6*CcnrVkq^fQ%&8zJqF{N4HtQNNUFA2{B>RDa7`w6?mC!n1Ah9f(^ z=Eo}0Zi_bbm5VYh{-b?>RXFTkW=yznmM%38Mq?c{XQvHoIMnkX(Jb8cfY%8#6Jtv` zo%J?ALjCp#5ER`;BX486mtAJNEJF~>CB?;nc>p-^&bG|d`O?dl>{jgnwRo|*F6j^? z>S`$F_pYV&OXz$^<1H4)v|WGvB$8%|zdSqiY3UQ1s;}G+q(vDPpX4DTdAeN!6H+%j zly~rnSI=lyObH4~CkylZ1us2+2jh?|04W3uWaApkR)TbFnd`vGkGUm&?Kld%S3Y+Zk?# zQ2I$r>2No2Cxc#<>e)EkCG?wbX}iQI$gZZt#%ExQ#T$ROSy+y+wJld56kQX?z%2G= zUblj8u%2ALq3;S(enP^o^uGiu${fLzTv*|hv+(c8vm4)ncyH9r^@ zoy_7IIO_(QIyqL0vN!!HG;o>z*p(y%ZgY07E3t%jo- zERfP+nml^kBwn2YbcrVX_;Xo3fmxE01ToPryS9__)0nN4P#EF9T;=TZBF<1fIz>-`lylCGRQan+Z- zK!kkx%2cjq5MvGXWlAL!#zs{C;uqX?$OZ|EFa89z@(7(<+EIc$X({-885Dn=m&KFH z1rfB|bEvz9tLoWcV1{udp60#FA=YMSCw7p8y!IFtefW{~gNDeGN0{b} zEtb)Q!DlO2K48ehwS4@zKL}ggj9-Psj|Aw6yM_t+r0uC@ox&2u05OliTL5E)hSSP_ zpr}V$&_q9WUK@4n;pj;)DfWgXW^Gi`dRnr8slynik7{M_v5z#emO3wmuU+3Urw+cb zjLMQ(mb2h0%-P-l@M`Z6*#;PgPuqZLx;9N0X>4)rhbb$yl^)NTiQi)xKSN-lH$#-~ zE6wf2WVz~2B)8^&$GA1KWcBWcsJ%SMkkz~WqTnjL!Gw$b_lGT@5z3ZiIP;{USx#o0 z`}y8uq_EXuOY_dp2@Dc5TA7UY|FyEaRu&4B-R=4KBsD{8#c$FOd#eEA?(p>R*{x81N)eR<)od4ockEK+dhl-oM483z(e$68q}~lUODY1 z+IxAJEEQKj;c@2*6VK==EXm|LdZ33D4<^^4Hv0_2QOl!qdfr+Q0OHknD(lZxj&kYR zl{E*&;OglZAMeGtT5n2Hc)ocn*O2$3i20fNW%W7ttqw`t@7xIBgS1z!0aN*mLA_LK z_ti4dk$k`LAeTiSARw?&hsv~59szj5KMbamp`}qztuB3@*C(^l!}X`my>ylg7`-2S z^uBml$Ow69jK5c}1$GvtFBB@88V#{PrDy=Ldz@jaoLd3Qi}mmeSmwjwL%T%OJ7#vuP(dy}K2X969}(g{F+p zhis^!!XSlWpirX;L;c!WaIz`De9)GP@Trh9r(P~;*t?9#B^M93t7Tmc9h8Fmp7&E+ z&Zw0Nl_}2M ztAGuRjFEd^GsW9H)Jm{Lsc!fpODVO}wd}UJM!20Jr5p1WOCC5}Ey|Iu3v3~m;~DUC zjG`FffB9;4&>mUI<RO52;vYHvaT?qg0%cmf zKVOCW(XlPhL3|$_NNuu0CV?IHp3Vl-t`rdgga|aI11(&&5O;n?XpDZvkH`)iaO=4x zMZYvDFa+=FCr2#T0X~EubU(R=9Q|cxFGOc;7rj`BQt393Q7J1Mh~p*uvjx!~7OGd= zZ|hvPmvP@Y47CGlhdGB>OMS8tx)paU^Ub>AZur8KR|D9j4MuYOKeLKlO#qB>{OkjB zJq;H$IXqx7Xy64YbBMMC{Bbz(tfjA=g5AR&oL0-=!}yiXA$sZ?&!qAZ3TuG0Q8!Rx zzFoRJUg5K`h;SFGby&u-oj4y)yZw<8n{bGznCU45oPNr?kWWw1-TgXJF!DqkNJ>j< zU-e2el2|$9#i!HElao(tv)FNsW5a~}Y2}i94A)-nMIAv$m(1759g!#K_-p~8x31LK z*tILGjH4UwTq&*~i%%})?yicX(L`EJ-7fGI0N8MCaybK}=*#1*kow`oV{Ejz*mo(6 zKnwJ*-{BF!IkLbcxWW0?ANt224?tE&Ts{UJi=+QN7zAjjy-TLej5APj# zU^4+Qv5~`o(Gqay@2UyFM#g?c zKZZ%2m0z?gk&3kgc-i7~edwI)46n@2dkUxT#5Y2h6!T63q}yN7Dlo-^%Romz=(Qo? zPW0Qh(o#J3_U?ZX4p~u!P0h*TAsVasdCM$3+TCkEL(3$D2wOo(oEn z7zh+TmA0N%`0!^U+NR2BSaBx5jp2d*?dUe~Mak{5<yyLU)Q8A{$VE~As7!&6g*0J$ zB1gKr*!NxPc#wM6MIfqo@6(2Qg|xAKYHvitXHBU75@&kI;&Ot4AV=}Lf)3_aPL)Pp zLu3fR#L}o^7|NN9G;0gfG{$9{IEz$C-xNzb!|M<4>w5m=II8sUj=;b8?Qf6A|6=Zc zWQcpRx+B&A9py3Go2jn?h~B-(1^mMv{oB-0cq8?1Q^x{OBtsm4@VI82>53#Y9_Zm5 zc!2%&YYHC*>fKB|dfg!{u)3;XPBgJ1js#T#idGTRD)f0?jMA9FLo+L4$bmU=oVr)u zlkK<;&u7%6&|IxImvVN-Uui5(Zz0pNQU;4koEZ^^a>3q@u<>DF1R}b@~ zIJB*UU02@5p8fvr2J?jr(1+agc^5aOcN7dWXtIXb9c$9ebF{KjuNju?xm2xsSi6!} zg}!kH3@8IbW}j7bViP%dd}SvrQ_vv_K~6lRhj79tknkdcv{B#vDcg$5@wF?! zwZp@l*v%cBBk1w+1>+Ni+=!8Z2fL>=_2{9GM&a4wzLq7N4o1NWg~jQcn)yJLM9>f?`w$Mr;T++4CjOa6|OW~DTpiv8Sm z26~5%sY_uQRzwMx0BXj#;Gqy5o%%IV_P{&M>(ku^O_O)n)~7uKT*@W)p@uT*So1oW z$iue{{jI@6roYBWzdqjFh)o#S}epX^eet2>rAms6?Hkr`~GcvQcByd)*oIw=!DKDg>i#Wg| zuNJPZZ?GJl?3V}mA2U{ACM^jt`d!+-C3~~?GoAx3~6}?+*87c%JBpGF; z=f(01tLelKk%jV7c;jW|1DmjGFD&-;HsJZwdDDfw%NroBn($$(sIj;B)X-$ zY}6uy5A$8aeWd&tt{W*oT8f}%typfnHP}BjN^a=kIJ$YT<$8cM8He_*-7;4EwkY%b$=Ym-MwxX}E~fVbJbF+iDZK`$@pUOxnkukb|7uO*ai7AwLxW)iU?-@L49avXY*i(u&pKQ_AG+!m41@Yql*Gv#rv#{S4dTkUy}FFgb3Cddn-?6UHKHq^H?Mbi><_Y3R= zaGrIZT+Go*d-+aUX={2<3z!n)Fe|2NQL8*n?i+AUw%AXvRbrGOg0vTjPR!2E6>4HS zqKqUo>W~BPFzdj@fK7*yZ4U z5YP+YcfcfioK{)PKIW2LSNvc8lL|iTs9|s0x!SuDQOizqCA>EhnC|rrs0diovR7m* zzZgEx^lgQXP8*oR_%LaZk>6TYPZ4IRQAn&s{;=FK+~+X}H}JJ?H`uu+b$NqICn_xq zH0YFr;q}0F`!UD35g09^hQGU2WJwr=!mNotyN&+3H6xaF5QrgGx^Zo880uF@YX>5< zwnrC$9;*Y-IwsZ7}4pznN@@UOcb72ix~??%Q!o~p@`QQxHDfX&kl=rci1r`6YHZ& zB>mTj1|6VXHom)7-@iak>zBmLMecTu4w1y%(~Ew#o-+Jtq>7B^@GXw|&r$qtuk zV;3QAG`jrxBI>xm4`%PUYI-WRDb?Da6_Js4D=@>D>x#%Qq;+GBOzB?{dggRp1=1h2 zMSc8Y(_Y^Bz8xQ@*JS*N=MfvLB7dM>=-rxRl9r5Pt4{+tEU7hapPZQ7^tr2{-@vt? zFn>bT>aG0PyTz-`@HHF90>@XA>`kFLi0Bj>AIlb7{(B#kP@yQyr_OBY3*%bqfiRz4 zvs|+>%lDJZ1wF&zMz2A&AMrOoFkc&Wf-SDt@#!A=Qc8@7z)xO8p8Ja{7YTu^iRHJSVZ>{||U*Jvr@ z$ZmtD!sh$vA*my=6QlQD@5p*b^pTUWl6f)-pa!AAaDR?lj=5eV->hd!z3s(28#Tn< zIdJ5?o8$I~ zd~5ZLwgtaAa_5|L&ZXTOxr@&}fMlj#*uRdFOPH*0x>i@wFzIe$)A6Z!>E>SXkG2o~ z0h}^A_&wCEppmeusjG*sx3IsWu85%up4WT^3o^QY48J*XjcV$4)qe#=F^0IV*c-_( z%>6jHG4T^vsrQ~9_eeRNrUFm&%eExHn7ulF5_YD=m6OG-0(soOk{Bw65?^C|r^kuv?HMYmTc;MqpRVwGv%Xq2XB z*DvV$VCR(&0{lPLA3vksl)6MQl4g{@TF90qlhXE=hx(Si(a|dkWdnrG_fSOOT$}}ap`QN6Ub#8R3@SCyV03)`B1||CZd6sm&7tQ z?Tf8phsj&q;)sg~}8S9&e@@xkgaV+$7XI`>1kVGt4m2`O|(Dm+r&^`T(`C}i( zj>^hmia0^H{tN&+=U~DZrGkI%o@rP9aFXu&Pw2}~RrulUO-P{uaG<>PzufNsYwrke z-}lTa^j-IU+DhmGYrT`u{)SmaJt>MCe!QEhtqKSLe^+X4n`p5DFFtP>i5qX2w2lp})c3^C$-M=qEIe zFMx#w_}f$<=(Yfi9e%ALJ>|IRJO8ImZ}58;lb2SOJCY|Z0lo01zx3~B6{3DXfu3Az z{HG}}Z?y@~TBO)Nw@;uKO=4E*%+~z(XuPynm4YF2e#`r|9bvj6nFK6NDiEvpc6)Fd z@BMRj->AX}0UR0>sZ~}p@lgtlK(m`~{~7Hy%>|!C)g~bZF1!#@>F3sxKOv332d{POpOHRL zLSn{17ywJ$w{1g22bC+gvYjy&tvwL_0~o@cU;j)~R+rUaW`_Fj(YtR1wuVweYKTZADeqR5Rb6c^j_cl%blk7Ri T$9Ji~HFO%PI*$-4*025>(yRHF literal 0 HcmV?d00001 diff --git a/native/docs/imgs/tidy-output-editor.png b/native/docs/imgs/tidy-output-editor.png new file mode 100644 index 0000000000000000000000000000000000000000..151a3e57c666495a2856e4ee334154a181403e44 GIT binary patch literal 97849 zcma%i2UJsA6Rs6SL=;5?L{yseD^;miK&pWB8iFFy3B4z=0U`)Wm98KiLMPOOBE8qp zLvH~>3xR|rFX;Wtd+W8V#e$r(&)#!p@0t1Ln<4bMwkrK4)=Q^OouXG)Q`S3m>g>^} zQ|Co4o}pf``BJJ+{dL+yPgU_0toQaB^~*WiCt6QVohpf>JAQGV`kmHQ&D7)6sVmJV zKd0M3Ij>HgqGYNoKQZvN+#rGb0mk6(p@Zk+xVfu&7TUWF1veF;NAtb1nOW1fj8>=+GbYdh;@Ci>=|iWa8U*RG0_xL z;4y;&xQ|PoI`xM3XoNGKoECq%-M##;=LhWB%x5B?SkQKV>HrUQJ%DQwe(yaem0wfunB^$l}T?80SPHZa{J?H zrv7iqBN?D0j6Ue7OQi0oh~p{#g~bNBUp4ipu$DY816SBf$VcwCOj71$eCoGbBBuzI z;w%k^4Yy4Q$V3WT(nO$qaq3VbB92)Srw;`tP&fbM-h{?SSIn z??I0@eDqKXL?SehtV5nA8Rs|HC@E74(e)0K+}Oargn-Xm$OTPP);HXX&c@5`MZ=WN zY3YXzt7Dg7$h~zi%I0m@+;u#Jlv{+xhYAMX^s5lj@;I?KEADQ)bC4G$(nLigftq(KO)OzNev-!}!vqH%?)*!HG?WwA(Y z%dTPD19m*A_ekM*f>%?Z2Wvu^!1qylJ6_!UAyU6(%`ufqQ|Wf-h^91-_d&VnqyiVi z&_|6NDbmS7I^pau_6ErWW>{Z(r^QZ5eo@C6wu|YYRK(sc7BbgHCP3>pwjR-6{vcNt zoi-Z#9k=;1(R@w@bQGjhznxM`nTLN$^4^F`<@ZL(l$qSRCA@(cI|G9@lOn;GP?0;+ zH>QCF82r$X%pKOzU3NM*QVM1F2MB@@zz4cZPE#5rbkcS|K^Ga2$7>3*UP<6U?3TFA zy97Qan(ZnH_7tmSfUcRNeK%$zwP8e2UQ^980`lN>hCV0}!R4yAF`l*yJDLkX zk_$nBYuo2)fHz1YJ>p;u*x)Kj%#ZflmRfsh{nW<71MIBNY4e3`jT`vgzy|rxcZ0^h>HvFT z=a>dPUu4hS)6_NgwDPA36WU-FcJg`6L2x+o|CTIN5@Nd|#NZOO#SD}^JE){HWWMls z&R3SwR!s%}UDWF#Qkw5#Bk)ESr3Eclxz`YBJjXFsvL^+Z(}*qj5F2`v=_649D@yKp zIwLU;uk4dGq=O%~_-u(D9~D6Z7do42$h;uJVKvn8I`y*45z2n!XSeH%NkO4y zc4P(5QrA#0olNh8>bF?C@|3RY@~J}?_1Kt6H^DK$WbuY2!6yN}v;=iXEGGp_UG8{?5A$xtWA6F?8lf8Ek`wG-s z_#(}h^v)<~S5Wy+5xDr<9{Hg|d}lWdq-s48UZ^2XJa0OX0B$n>;YLCe4v~RaSdjq{ z2R--|Fm0LQV~HOcfsoJ&B`enzNIT50y+|w~PLqvX{MFy`#})_ItBQwMl@eOQrT>z9 ze=|vr&f<|!^H^gPa7=ekV?p7eQZ2$F$XmTx4_Up zJVwUt*#jWrgyo7CZPQPmiZH}3Ver$}kiLpHN6heMrF>ddZ1i#$Uj$A~ma}~-g8sN9 z_^=}&8Iv{JS&q^dKeR;zBEhU%-i+q{hOh9Egdkf&J}8cG-w1nm#J5J=-c5hEy+5F{!7l zdMAFlusP%kadz70i4(2fLUy=JKi;oIlGl?i9ZyUm4rZKvI7$?T_of-L#?6Z;8|Rt6 zwzzC{72bPdks-}V2(lU)p8N4(G1d^iS+->{DQft6Bwqr`J}&NcZz*n-%wyQ@HR5^6 z0N}+s{gwYOIjy-KUg3KzHCZ{kciW!13*0~<4ewyd{ULqFgdOBz?~Vt4X7OwW!S#*)&LCIZ|D%E%HiNJ$G(_%Yf+Zj^CRV83e_=>X=O4AOc~2r zb-2iGz^q~My|$f4W@uXObN?Byph+%Y`$FcqGd0vgjMj$N#b z!9bnOl@55q1~=nkCnkmp!hJLKBB=qO7{cRoepu`Y|XX8(Aeli?YDCV2^Xv_hopaUGG8Y z^2~)fjo_m{k4gjj)v~uZ$P;+2>#3v(UZ2;xsVTdTidr%eKh+1u)n@=C-#kaYOQ2Wx zr;*F`@#y_j=lH3^N+e{KU1w?^*02d8VTvsM4?4~Erz^?dDqojdG$=;F`-h$)rV=kP zoR_Ton9iC%2|S9m(a*zg=cxG2ajnSJnCE_taSzl8Eo6%`yjOH4)+B`ZDk^`=Y`AB` z-p*rK5k;TJ~SOu@0_y&)-Q1G?j;ZWwyBH-b*a!u?2JY6G9x zH1b%~^NQwiYC%!WPw9{=&-%VAF+J)DVh08+lZJTOVbUY)kBRim-nsgDB7~;6Hvf-K zGf#w_*zWLuO8UtL^eTi2td$Bs-dq;Hyh>4BLy?cTrP^xcts69nABotVin1Ltei0OH06@b1kJMnbZhGJLKfOBYHZzp zRqboe!jJN0M9$X%L-7<=Fw2;tr|9&dkuZSRWF4I;-VKMPmGj@ZFbO24G65I{MdX?e z-nn%gx7e>^Y1%btsRpz6(f+ugE)&1$WDvVg-gDoJC7(k@_}>pZ2CI3Y zZ`|S5x8Yg1N?je!63t_%E36D?W#Z?8J}LvRC&{Jq~M>{|Ka=^U{-$Xkua!~(d1bi-O6z@bUBEBbXZ#x&uWSPX2*Sh*M``&=sGIKaZ zj1+)2(N#E)&Hr7xOJASRvlT6Le_IWNZ4WR;p33CyVs_-nQIr36Ij-XKc?UKEek9ZqWmme==9{Jx0h*n2j`k!*751(z_=$ zK-H+*oc&$rY~<|5`$u8U4r^w^A25awfKqWVdFh$}hpy1p@yed~mf4-X$ZoyLI*UY&GK!K+s$2=jUcg0h|4Ze_d#Hy`+R|O zo(gVsT}}0Fxh%-`qWu)T7vPSl39A^``ZsYw9wnj`F#*`h^yE}uZ{&J zC9P_Jys?}H-C0k7oaw5pw*SaeRoufT#{5Qzt7dUO=tao=UpL$Q(!2WNqLrU!e>W(t zNzbY&?#dRCSvYY{DF!LbcNC>(cKmCL_XaNBGnMlC=upS^SbKEfP%>`5wi@!yi5JH$ z(6MnU_sXO=&bI|U?R5JcEpTrQ_oB-nyWcoImDh{5)%2%~SIoWvAeWqPyvB5!;oTY{ z(6&W3byi$wRNoJ}WBfy0Fy=N+Td&4@Vq&37xFva9L}A~~b08$zFhy0NDG!yWGJ>}= znNq8X+FaNdmtg2BNEhiof_gYJ-|^q?(siWY!7T)5vWizj_FHBxMGT#iAM!v&mXoKH3-LOuFO2LppNQN5HTHspCN;`Efg zGTI9HgV@ddnux4+CmC=8kq&`$8FLkUfXHFTx`zF9(BbOj5OCH_cK-kf#ReeuHL2VM zuy+3$Sw@z|9$8cK>I?4tO~7E*5@FXQJ>Gmx!-%QHSljp7k@06oTSKe0*w_lKkq5lu z7BsuVaG{QGpK|> zELEuTJDvgr$nU(q&S*jD#BUvCk)EVZrX6+1)<#?C|Ah*2W|ZCO&(KjG&k*=^mviAl z9qx5_&8x-7_`$AaXlZqoOdRpY=baH&CrDNpJ0rcr&ENZY=> zHs6y+sH{kb4~9h)s4 zNF$*&oPNp{f%SQI>ovf(ZtJ&4*6!SNu=K>L2gbfQYulS%T6xiinSwX<0!vVZqVc9N zCE9o2hCM37#sZ6vn#-~!ujFmN=Y{TV;3@mZSSZeJp~&PCK`2M|#!^~i1x3o|(f~Yg ze-TM+JW_xh$N&iiS19}Oy<{>+8YLR)LmA;O{(Fz8bIa16>e9Vx&K^*fwFL-GTE-R# z*kjK%AQUHro(6=H$AgPjE)n=eZ&>oB{_N@6bJv_OtqRA*E;#D02qQ9Viwa(5=SfyY zTarF{7{!3h_s@i1VwlVO^uRP(bPYsctbFUP*A(CzA$;#~p_Xo57mNPXCAnG!E@T!3 z1R^be4)}$`J570E(k6jZMNn@K`Pax|Zpr!^Vw)aI#8;o0z2hFF=sR4a=Ij{3oi$}z+BVp`z~C!)-)Qqm#zP>93yfT1%O)Rp^kkM zDzZC9kkWOO<_q%j*{kmZ*qm$BL5yN4<0)zKM5!5G-P#Y{g4HCTWi7TdoHdzI7~0Kor}uPR-~d6h;HYmL6X z!t$jfnHs4B=bBRKEI6o4?kOvYM%?L>Ka8&b>%y8V35jPwZ{x|=&UtT4ks_gsTIzRC z#x(TTtrfwMVv0>@W(RvKDzvf)Z4=16P|-lrj#eIpf8X;eUxMkSn{$ za|*T8u)U-zZ9(Cv-)W=la9^z=2Ul=_iA(>Umb9C8IL86jWE^|<@aPH(+8haRIOJ6z zOS%Rg_X~j_c%<5y-(m(YPgCYel>Hu%&Y2`vR`eW!vLS>$v<1~W>DEE91lyjSwKOo4 zX?G?PGC{-DM$N$Bouzv#d3QZNSSY!##!U)OBR+mQ5$}}v=&+J6t zB_$b7X0y6WZt0x{1-31zTV1opYA?uGP*i6QwmAHVOCXDL0noXvTFO!z9~Mfx$AVvdb+6SK_Morze~!;dP?@i+jJ0> zK&Rfa(l=2@fy{>Ew>KU!1hT)ST5c8W?P9Dqu)eb;<<7WvhR1G>g-JXsP zs;#pgAVL1DR(U4Fn*_#;?&8@W&CC;owH_MDUw>38LI(u@exo;q4IcqW%VK!v%p&1) z7$L4QT+U;953X=DL64FPY+eiVmeMZ2*G4k~S!s@+a{uwElrKMgWQ)BqE4Q@jjL02C zCd9#y;A&7HTbQe_@-{VRu|Iqec8|GB>O{S#S{v*Dz=Nf(E6F!);9&$U0es=m8^kpU z1|uOI$L53UZ|IEG=Lgekz4qJN0m3QWW>sli-^TL9-#@$6blliq4in)6tK{Av@c+FP zRmY zs*GDLJ7fNIknu#GTl5Q_B(?b@3v@8tr43|`!zOfB#`ed@_33NCIL_acsGs@7=~)XQ z%_%+Ge|z%8sql{vYasV`=wU#MVV!SWS|T?9z#>fFJR$GPtJ9Xs3P00a0ScNlCqpw{ ze}DnW=fMFF7UGZouIR{S!4T-iOM&H^omg8RFyAPwHfhk)sfNx@5e3RSsgj*)?XW{8 zu~83fSJrXF=Ao$V1JFJ;WvsHL1&6n@^#XSU5L5a%w7n-*3y<}1awV8HdbK9=_=D-u z?-8RXwYUbo;wTupDhGrdV2cQ%n#phzAOpEQu}ttjE#GPP5h*x%7tNpHMsSjXTDTu1 z{QXfwv-P(@v^HO=BHwEF9ypQX)Ma`Y^6H;cZt|##toV=7%>A*tQ~9)ithPAue{;%0k_ETNkK^+(ia_j|?wQ2g5kw&h2a zMqT^8N^MSmyC**?)?b zjAim1Z=XugShfhlefjMd(Y)SCXM?ZYuS#@9Qp}3dMnk#Zif4Uubh)`qc>S?g4wB>p zHpkBM+&cT_MD*}4Uuz+m8=W|@%A%C^WJKb!-MEL`1IRWR0CO_KfSZuS$TceqH{PFV;=NbqnL$F*(i4Q;?h`7 zhXuNSFoTT+q@0Fh0l&yK_pU%Gf5{_dEIxth z&M2AgRTf)kawl%6QazLB7vrT48Q~E_+Nley5%W%MulqW0bdGr4bH0KhXf-3cEq1zb zQj;V}i3ywzQ2!E~=y659Oo+=P`U71pEXNvSfr_!b!T%&SGs^<-S*ChPU68ufH(yh& zn7E6=C$hg;+0=9W7q;9kd+I65@1 zei8fz6WE|Zb(&w`NXH_+Duj4} z({|yAmf{k@^sqEqx<=BemT+gS7T{R~knJ@YCg^>)B#EsOY8gRB`($dX}Yo%%~~bENRE zTpaKU*O@={NW1J*=yIk$L`b4S+1HiOuZ7MLR#fCSRmw`em2J z0$C_cozd>)|Ki7*T!?%e&8(Dp0CLmV@mIDcjm5%2hQb%=8a+!)r`gutQS&bthw6A9 z;BhWSlWF9aRr=be-03*rGb2}0oTyB`xnV((qgFhqCr?h+Mx-dmd)g$ss8m^eYmSdQ z_51HNt;*3o^f9Bj%|vj$2r_g8fGQfDz~xn6Lr?S;UQ*=&kPr}GvrU80b5dqAan&CN zZQ{9qrnTduMFIB=IXO|xlf8M4rjGHCoB5*ix7@>fQhU6kM2E1;m4@)VpY9-^-eF%^uAo+ia)nECR~WPln0#(^*Q^*tJ732>G7|3z$)zsmWN*}fi%;os2fr!& zkd!xf0&=eX@tN*{N2Rpmc>&Fp~ERG0kjxG=!!I6sawG1BY z&5BKOjZ?$a@Kbw(5;<$;UCdK(mnwcDMHatVvN=_;vZM+k3`G)t1=%-DEQr)^&kL;F zL26x~#%#fR8D8M=cqA2DySRaCbC7PYfEPpY82HBV+E;E5QX<#q%v2iL!*W?L!PQr= z7=~=Aazs55nmX}dxkom&eQeBlMUgGbzH>De=vM`)8lBP_CSx^->4pW|G;9YAUwMce zjHE__hD#5P{wFAIURH#RO<%4y&y0OcI+jd3g+lAKn+4Rx0q=Rd zA!QqWWF!bv2c*S{y~ilHFSi(nd$-kjI>@QVUEQA+*$x57T|bHO4JQBgZ`b7t`O~(x zS!gUcR6+rTMfkB_CN?_ZQ#{_I2rEv>ZE!Lg@)dV%J)5dmv1chV_Vr&}ImBxhAb=M^6~tgDZPyu+<#zCIdic zMk>-Yvj#R}F^<*ouM#k|*ky$4!8LYjE?X>nYk;C~-6ky_MIl6zJ@j`)s~`*Mh&|%^ zEyz=J2`!9+q_G^7|7*Yz#SGNR*{>hMHFrOmm69^%7;xLc?FZEC>dP{97^PjcDIH_v z@g_OgBYWkiKrWYJ+d_bo`&DVP<$)V`@23hA`a2C}yQiDVc)jjYH(+p^0&YfkyaHR2 zBRL@Te11DHLS!5MSihv{VrFgEAO)er16o|=0i0|D%=}Ws7am0cduJ-FUu#mC2~)vu6KJs z11fM1rr@QGI32kBmY<#~2;;mmy1xs%eK^={ZJ|KTux?$05z= zlkr&Jl_E6J|9Z|4)k*~)&-A+e&Z$&>p(rB^Dd2t34533R8G64iDdBI*Eo$O+wBsFd z0v8$nx)0e;nMCXaQF>R&)@g98oqWFn6?vOL>QWZ|jVOo9CmUKL~nt^9VQa-0gTh<&7sFvS?R!D;&F zSs&Hdoi@{ssd>$}o1hhIAJX)N2++5MF*Bhd83y*U(;d_tS36cS`*Eqr2ZrYLD)Kun zbHStP?9nJ!Vwwg}x?*Pha)&Tw(@vim$=u56%?+(>n7!xkm~;Re?P8`qU`t} zS4z`-<6oOvoMeNOzKIqJro+@E{#ueZj0~AdNH3Y~C7GM3`sPeC%BIwg0kV3VqN;_tlazMbG~Eb9Tj z$vvilvC!qr7gcJlqT`>6!!}1hSX290S~bM1qe^82;x2+#QebIiw_zdyTmQgQW?bx4 zZOnnk8^Xn*H*+S(HIT{+Dng%RO!o=jU|+*TXavBE;WvA-&U?|~XBNbBw3nyL-TMQN zs&ll|nbR%uSnd;Qvc0_An6B^*^TrW~|y4Q>$zuuU$k85%mAIrXh6_l}4SxkAW_Dd-A zfojS5Iqe|Bk9Ci?v_~$-!~4xvUc3_?zsV>u!w|Gup&aTx8HW-6wff{EtG%w$*SM?c zyDy&Ue2Jh3!%3a3rl_q|9VKhFQ4=vE&0Xz?r}Hhir-@GsxC5*oM^y>)N*>xtUwd40 zFI84qx1=K5COCX+?}E)aU)#c)Lt{;{^)0Yx{lRL1N=^3UaNI!Mt^uCps>5!zjTT3 zUJSNH+NJUkt`eVnK{*(Od$8&Ih_kZ%C#rHLFZpNLC3D58%bIRZfcF?WtJh64-%J9P zs#Jy_uLcxvx8rcV98YQ?ynU^rJWCWXSx3gK-=iGW*gBBEO&*zy(-i8m9Xf}=g|f02>|f2OuLVP_5e->g3Gi1atWXSXN z@IG)>r#08q^99<0T)bC}P&)Y5@*2d1!O%Rxet3U#gR6)tgw@)PxBLWlnMMOc*sUd= z4~=Z<+Iu@Q&PB!W-*i&6&Kch>S7&*u6#JtU-Q(rL9(2)2M@cCC=ZsM;0DYhPRfmOs zSrDbWvVJQmPb}ohya2s`pKCwn9Y%F`GcU|BvJ13Pm3WOi`|ce>0N~S4r{qaBC)6ve z*DoL6bQGy}&&R0duSMxGF$Pozo_VfXQ3aV`WMcxg@YO{N?vT?E7NvDPXbL{Nq1P{FgzuX z{N_ce;qmtGKzYi9?~$yQu-Jq?WvOwoR(r z&8d+5BPk^$V*JhGBR8w;&}q1(+~*VSv%ImSl`^I8XzGjn%_e2gph6x~51l&-9WZ?4 z?@9{abmWzkjM(aE5|XSAriom%l&{xx~@A5OHZA_rvWNt)D_!*|ljX`MY`$lmC_$22GV z%3wW7Qb^*i4-%V_xa3Mj^djb)<`zK7)p+AA8(j*O{kA`B_$_V!c^HGoZ@}RZ*FaTT*%LD;we5j)D)>Z>^zC&O~f-N zJ9A6okM90qCz0V{gkaU)%l1cCPPWKuc$V-N?|)o_C?tVFykKhbDJe^2;|e{pd8oZ7 zn{126whG!xMwytH-T7+>#cX-Jr>~IqL8-OXhr~o~8e;faQoQd(+@u6jx|p$)EqIh` z`{8Ke>+k&J-F0zE*WI8G& zUnf&=I+cdP#554$d~EB>`krM{kiyYa7c&U_{Yrecuyx8VB8iMr^s1r18QY@LvhJj$ zXx&*Y8J1uHZ2gH|d*VGmc#i(C7VGaA47YX;<=o7i+jm;1} zmo4eiqnf(sCc-5RpBYAcPVB~oIkTN5)sQVRGkKf7RzdVj6YRXfxSM8HFZSj#|5$JY zMkGdpNGIEu+TBE73PX;eQEid5iIvoUKMjv&7hG5;ta%RjXKjNG}A(lSr zt#4EoDR(61m3=(d7N+Ff^)$s2#%&q)9a?ZU$biIInq+F%U;x7gb9;7vj^Y$nb|}aw z4PG;mP_EQp&izDRQG2bo^p+E_`}qy`wdM1JB|<@{=6PX-A25Sb@no4N@uqO)*o*<2 z%H$rqzoPRpq86gL)n*i{ez*>dRZoNX`Z0KAhs2~{HXLZBW#*Cw>m7}m|y+vn;yfEck_g#xs!m= zX|qm=XS*A?U|7#zGM!qHV5z$NPq)s;q7PkkZL(a!B_?T>)%IM^PJ;|;xOX4ns$Y6B zop=7^CDeLz#MkkwaL8EB?RYoNH2(4jDfhzY>2rQcDyyqSWAZCoY+B3WD-pFNmr59t zcY>;}9oYU5=ZvEH1$S1DTij)Sllh{2!Oc59L}WbWIa+(#G`@7IvC40}INtx2x_OS6 zhUWae-Fp3apA=DN!%-@?YAySX2^JajL?9aD``ydgM3g3_LX^1!Q^;`R^|j9$ygy+@ z6OyqQnKDn71=fW-6}Wm)V~*NQIHmOFOHhYliG7(+5MuI`I?V1tqKf(PWQZmzumkq> zM+!l3*dMTNH6@#(`2d&mmxZ+H6uZ3#JNM`PrP_fZcKEMszJ7xDVsTMW6P<^^pF>ae z+i9fsByu+T5F}njE*;t=R0o`Y8MzjuoaEl;xLbG^T4_j6pZczn?b&;7vUR_TNrcr`1&Jz;4AmijaQoQ@rBErrLZw|E z_&Ep;z1yngK3R7q2%{TiG7?n&j72Gg|1sM`^9mQ|!21sKO_}Qid$XcDlTHtIe=R)} zAB+F{AUL6arRxtYNgN8F#5uZtU+jX#UB z;kjfOVAlHUzSNy~DfP8f?MfI(qQv3NFC!NRT|Y57Lq>}Pi;tJqb6*+H5gjL4LJZ1h z^ksruqG~}9#Ub&Qm(DP*{>nmxduhVoED4N<6PetGZD;f1vK;#u;+5#lAeXpG_InjB zF4~rPHDuqkSXXg!5>j2Ps+w7U)|0WR!~53PCTcTsfZ4_i@}6 z4J+w0LPKw0FRrm#C^*C zo#^TC!fv<7wUA$&+#ZH>ilf6y4QaAyhy{xI~97bL$qEJ+yQhHRJ&7_!ClH?pxGd z){#Jm7efa3gnUY;t~3`uWYz*|nqy@f!QjqOYTsR^o_>xL+p`h3A0`Do)Mn6S2M(S2 z3s=^@=EE@Ml00@>hr3mfVMgfd{4eif{X2VCa+Br779Plsu1@`krK>cE7bwz6u7zAx zMKdxbS%)z~=@-7h#rm_Urb)j_xalQa8uv5idimun2R$tjSP>AV^(^Xj3$<%Q`vj{A zsKGIC+Wtiq3BKHwC2@G$M0jj=>b@Gk!)glSult6aWjnfhCh*FuOW&q&8T?Kod6!Z& z@j0eC`tzsZHj-X}??idsNaf>8FT>dJOV1!S>-yud0*($(J=*rj!Kb@51!9JVTBd@& zxx5$QeJK@<&;u5)=a@kD?cRG>o!gIf&(rpy*Neuv9Kf-^00NukB zs|zaifJ(t<-_bfF3_~;%%LnzmBo2(eq6FAcUb$#gpGFuo3vi<+jwRom%R|q;Dx_M_ zKbiU(uYQ$RYY@T0EYSruqd&Zronc+HpVg@>AYLlN6|!)hpLSmHldV|2U`9l3iIAmN z*7556*S%XP%bFVg#h4}D^vs10*QX=g+22ikyK+T<@QnEI&Nj`w{?+K@r5v9fH6Ec{yA8D! zwytwnSpkNB>xah;{NCfP>i7@#gqW)E=vqi2-?gs+Ee@+WiP@j{hs|NV0|i<&KK5tg z^V6q(TBRwv>$u;~8C-Rf9Nq+7lh=&VmwPS_Z1v=4n83UvR?cYc1f4LGcJW-P?#13Db(}-ScU8TwHDdzG6lw{5&HsXYO zNB9}ly=pAJnk0%1{G!w6dq%45jg1>$CImk)ejwyvIeIAj)~7$qHB$TgCua}v&cuhj zTy=w)-bKMzXIDQ4o0*yDy;2fww}0=I5Inr$<(Qw9l`WC^C6kBMVLIyPSH)ywVO*aPVj{nUC>9h^Rt9vn+DuU z<2uAsrdZ%fo!6s3<5FOhxGoWBA5mmTFcyQAcMWX5-8SlNeDB{}V6Sx7Oorh%xri;d zxA`r*)h7)q&rbg*5$M1dBlc?xaKo&Ur-#HDZH_5+o#%00Yon)trt|n6pt86cgsU-Y=r2!a1sR$HY z@YYo@YcKNN3qyC2)8cv*7Jj$F{41T%Mxo(&Ei?&7Q7O9tD>7P50wC+2W)q~b z8e9ML;QW(&QS(2|qoky-zoe=WkLoRlrK-HZv@!Iurte};{cjQ!pviFG2C#CcUFCc1 z|CGR7tAQLb?{EGH2bNoc>5V@^qT3iHNkuozTX02$=*hG?-^1r8%`Shr|Iz%yRP%LR zGZe_AIG$seA&hj4AXlAaZ&pwLXszfchM5^B@C!>SdG}BAj|%<2)Q)yPTAD;d6JC#7 zaOl+lDE+{hy+xoUt`)=%*`1eb+HBj>r`@WZ%QvjL7i*sck08y%^Zp)i;VaWPNVTSn zbA9||$g;35T)iIV^;Xxbl7%NzKqIHq_+H|387c$*&&K)GK&agf8_$*rDiM@DdgJlz z^xlyLsT$fh@xJP7BNlr8nQ?qi(urHSvZIRFjj4d+fC!Qe0Py3Bw5iKEiqCCG)gEbLG&R_Cn{!{3XvWU*Y(KoBomuz022V zXuQ<3h^QW?9=81dxYA`eaOQ-BWgB-w;N9=KOT!p^C?b1=Z+-uv|2>5yv2)dJ|D`}` z1Zn>cLvM}ZdWmBjG8PJ{x6XZn0bQv7B;COO2ST;sjKBCKS_T4ns5zIic9!F#RW(?o}ZIZeO0vx-7q0ITeF56CD+Mdq{^E@rUL-B)Pcw*(-RH zaspM&=%@=g{7I~+7!9Man+2uBQjAW>1rI7`a=Yd}z*EO(OlE|tyaTxjwO?MXCgUkv z7uMs%g9N6!f2P}uT%}IYPVIA~211`2@-9V0NR0|)+`eqiQFS@S`UmK^k(kc?*9kpw z4ZqX>e~!s*6#9mIDJ7y75B=-P@hqXxkt0;`3=fGAAzu8|(Cvf)5TcR_)Pz281BN6v z?9hAMHlG9p{ikOOBNz~A^g))Lk~n8rDBO2lT(t2Svb)zJS$tiftJc;>zky7{)+717s0!MPh zglturYn{DJ?V&P9IS-R@wIHvucUR46{_Dm56b1w^CxroB@A%f1i8f4tlG9HzU2`J% zg;E5d3^b9mhma7vpoTvd|J|As{znKZb%Vt1c0uPmeeB{|aE|(aN&>)k6ikGJE@xAY z?nT?g^qPF~D}cf$tx+8BM8!$H@zj4FUl9z!TyUe-BWk~#)HiYBK47*|6O>3ne;M$E zLc0GCW8g)SQ>F4Y91|`aQnip8ClTOcq5FsqGt~vd-L3gieN95K7~46U|0Z5I{%NR4 z--YM`FBnm~j+o;mX^Tb2PD!$!{>4=WMi^f1p+WVNpz5hk0B1e=SiN%w4EfIxA zQ}#l!w`6;wkqfnVgDUMmZWTc-(qFo{UubdRzkNKlBgcIl zsG;jm`_F&vpE8qxBhA4TItxsa8(l(+$3+0wI6McHLY*}>MNfJl3X-) z{7XwkNi)x9*>&GneKJcj`OzAcWXlivO>er?FKqb$N~$Qmjtw|5rW3oTTl%>MrDRP1 zO^K7dkUpTF;xA)VLsH2g^=D=#V0sYl+?uXyvcBQ+ljl1%Xv_{y^p1!SG|jaj$F+4ta+3hF=1^ zqW`dqRI=CB6ab8Sw$54CW9TE{*XPx?h+W=|FlC(3 z|J6C0{{p2w1OR;8)%t9iP2Og=UrTw)l+)%7i_p=U9LaCveVQ0=VSpPWw5`37N{(kW ze?4r9esjDVT_RMA$mjOdNHtQONIAT`p2g~^!el6wRBN z08SjE$bxc|@pnfaBS=)I8qfzHsW-~YXHAxvSstu+y!+T^z*$sStonWBP>hLoGFID@ zX#|Y#8AT}#J!;FYRSeb^tu&OPt-LQW8|SC(=)bBsT-_x-W0JD}Abd{?cvQKSBAl)K z!zWWLU0c;d(?4tTrDlkL3i3fG%HxHJhREjMtZb}TVdbnWf3rL^_tML9Ft>O;^>g$} zC-?O6sBI+w&;DG!4n3=60oJ47{0Dbdstlcl)bqkVim0V%+S#d(^2L@c`Fo>O2A9hX zP1)i&{;@!XN6|Ip3n&nPsK)x}dUPR1U|&nT{vq@2^bg>b&rz8^ZR_5QE@^JQBm?V= zbi5<+b)n7E*l5XG+)c-JG=7LNUA!ZO5A*bz{rkoL!P!?wHTA~-V~dEGARr*pAfTkQ zg)~SDY)o1@M-L3TySsCQYA<46K_fzg7*^z>9_~!F`P?w4T>A0dW_6B> z4;T(_4wsxkZB?tMuH_DQEQe)GIk_tstzS*oJ$%XU3=a`}+f^a;L`tCbs^mocYE4yk zcY&TQ15>8hfU#UTf^;__KcwKyraI$-rjq41XRjB*RV1t9pGRk+Vk3sMzr#RSO|?QX^< z1H>3?I<_tte7V|l87A}aJpkeTLu?}N*a5(Jfgu_IGu2d%1-AC0fYDKaIqgOEDi-Z& z*yNV30k?*HIh2UY>UdlmVJI;FL&`C}{Z?%wf&`K2ddSrfEjU@ow@L${DM-Qv*WJGB z?Yz3PsobDtV!a_FB8R~y9KldNjMHzs94zGux-cP3 l|@^od=LSK8YhS2zSSSgRa z#fiZA?u%rcvB+7u$7FDq$(;5i#&%b%(zIaBc)rl~U7^*@2#!{sLDOP3!Takq@Qh+a zmJ_ASbWo9#$0L|uMNf8o;hf}=X|z2{i;5=FF(;wqmJ}#KR!fZYs+=BU3(44>yCH_x zXET~hZ(kfFtAT~lH8!dE-IEd2;r>b7D{Z=5-pDeiS|4EXHa)3em$)RjAQ3uK)qV83 z^0tl&RF+21eH?Cba=&$amvMoDE6B(s0}3;^RwK>_Ah`4JroFsK$93EToYbD0k`d2O zDC8xOg#?aQH(sB@=pw62hU>_Ri!l%#3B$!@w0SHO@s;i+oLvivbqEd~IsM^^kDC5R zLo8T8cEqm5yn({F`U+H}I?Bom7(B?-wAu4`8EE9x31Q@3m(&${KaXHPQcbMRW=ODT z&3MjSqZex`e52#;tB!>BCd;J4OF5OO#&%JGjv;V;F+!%)n-N4-!^VHAUGMbHBq2weP<;(tx)XX&|`d) zRY7ISaIfiyPndXA{4P9QDkrQanKKLg`qQI67#AI-l!|dwk;~D~WDOt9K7?u9OY)M_VhIJGCq2aH`Ec z#H)z)lr$_BN{5quEEZO~v7jQ>S!m8&&|ve-mH7!nw(H>Z7#|{FzFwr0rX*6q)-q3Z zEWU6wV&rSmtZRye%`2kc!_W$c$hkk*%m0B9nnhyQC)0F?N;1pw5)Hgq#PQ3z-6aUJ z1cjZa;hnS^rq27}_#z-o5a$!M)vMD)Q8gL4_CR9O64nElU({`d(v3^#u1BE55)yC#T%)&>oQB z(U1x5&yGmaf-Q`0b4fV}Nm9gBK$1xSzH0R+)i!2L<(Hy9D$>ziRTA@dx%~N75rQ3t zN!!MU?Z4;EMsfu&`^$hH1g1BHTh^(*n2DvSSn-|RhuW`0CZg$+5&F4i+VG|M+fgK; zmrQQ^p(jM@9-mL2-ywx_7y1@c>X87?UIm=aaW0GGVE7yDrdzdb)0SIeTghx4XqWdx zdi7?U=J?GGq*FDAQ1?VCf+FXls*T^Pc~Zf9!_;NrPh=E4LTy zPGk-}ucaK4nqts|y5~_r%MkL^@C}`wJqd*xYwsPL$DCE!h7C$v(JGkd;VQ@>Vu#CA zkMI6sT!!J48pOg569iAHa;r)=O`2K>Q5s7#0@I6%`g-rjl?3tPV(HT0Tn><7J!g$&f?C3h62(e^p#4U%*Rf07;ir7aE5xSh<=Fxnhm zRqC4W)50Rnv-qiqw_u|pDg0egL8g_ND(~&K!o0G%bzn!V+rg$JeRLR=<6Ln@`QcI+ z1F15pllWeQEV9R3vFDIbLyeFsqEy9L5#oXP`v57c5M4No>&9}HQ=n))<{GEV<|y_D z$RIeVCf3E_F^=qM{|$m`le9a5P_Knfg-Iz0vCx`KcGv< z9RXp^kkcD~C69*8dM|6(`zev1e>iI$2Q0d|V-83q^0`|OC&(zN73YL=vzz2gz@??5yA<)Wdc|UEb0x%dXAMOhGx{$1 z=s!V*PG6X=cFgnmYJFM~dZX7}>|P}%`Zya@$`5dezCrO`hG2+S-#X@{yZaa*Ui4uL!)%=Uo%}ZH z43?)vLOy^{uNy!#W+NfLb4PoQSfw>|o%;?{r-=cgZ2l#rl2!BuK8y$$nEK?B_dp$B z@eY3&TJV&*7DR={jp1qD+MTBQ*%+6-L#IZ7iJ)|vI1#D-4ffmvc?uKKN20hZe@8^8 zY(M$muspzyND8k#K7Z1jk2|y9aniF-)Pxgl#h}riUs8_9PQ0p4sGE|0rPdm^;y>ZD z4|@Q}|8NU(yZ~v0g!FkHYf2o=q{`fUct>#BIny-PwA9q`=E7ru-1e9)@|UAL4lq@5 zE2-aNnHrq1KCy7)EM3``a~ijA0E!O33-*92CKO1ri>56b(S2r13*ld}iOYB6nV_)H z8#zWc_+8_;QF@R>-$y{O+Pm0OE8R>}b3Ff7E#s?}7%~+=Y%bd1+a7I&o5rqrKlbF! zf#NwzjyedxZC$%SPU8n0yACJ&C%L$UY{#0MK|-$9c+fqZ#s+GK0-vbyfc*2d!pLg7 z$i(V9Aahamweft3Qa6gV-3vwy0JTLZK)^!sv#{Eo5o|DJ-TL+2I8d=eFhX9ZKR!~W zT;%5VHK-&f;K!GT1=b{&;m04)CZFOh+yh)SrP{!|QYKJD*G!)9fQ$C}&i$zCP>HMM z36g3TMoif)h;Jo>z&Ui0W?nCpre5>$GYd(rjt^Rvf(6)y^E4KmfCoMM zUwJBu!o$2S`2v9%iNnu_fwfl`^GO7yrrVi8p&%{^R}U|k5LdiXn4!G3zFn=2{W9zJ z=uZO}#z7fpQ+fC;uEnH(|CvBL<8ZO)DQAPgz=;{a@^<`M)i}^demca+8<9aOa=2;y z*>P2V-8&kkX2wbtWv)-0Se8_NvrbkldsX_yi|r(+I#~KpcTJk@5$z>5-o2)vk*`r) zt;YGtxxpO808WkAxp$WS6smW0M736LQzV+4tLw86byYF`U1?-_ARN8BQl073<~`H_ zN~GqB=Cl1UP#Y7uP#F2OXhKUOp zV&VeaWi_FLe(`I}o%i6D2>HFy>M_wr9S%{Rt5UgH|<;O8R zxZS$kMVnBCv?ihmpZH76v7!7*_&HJAko@P>Bk3fMJ$npLikiu8t5^1v3xAh(3D2+$ z_yq6~paTi&os>W|sb2V^13jP2(r=lUti8+w1-AMjQ|L{tChbqzzoWs>Fx|?8S)8n|rVd~G( zj%CePT;loQDu0zZkj|GGGy^~Ho8Rm-`Lmsu(w=T3#S9c>o%O7`$FP5aQEVWYQ(p!5 z*nyGht^<{76m54F1;^FD>fRD|Q=zaWIZwIIYJZn30}Wjd$BC&|L*{&|3RwZLV&RwG zvK>Bjt!ZwTtf8;&7)}OQMxK0S}jHG%*%_RyI~{M%o2kJAB1P0m=caseU6Nf{yKrvahDe ztkLR2A1fF|GPJYA7X1>39(F=;`+3?Cole5H!E;GuAvAj6H2S2T3dFvHbkV)Yq%n}c zU4Utl1tlrgS2LU3(ynnK`mu~DdqHOe!{gfB9Ko~q*=^2*BMaNtdp}i)|e~2hGK{EqYF&hD9OlmKPOK*E7SyC zk=6|X+Hq-+DnqwcbwIa0xFWqEvaY7-w$)r1QW)kBhFn0<<{))n!e0uxP?>0J`&6)3 zzKi@^*crz>nqOjSZKiw-44VE{!p)?KmE0Us7NrzggGS7pL&|U$_3F9x zpDtYrQIwRi_t^&L?3e~tCW?Uhtmov9U5UE~ets)Q7%7tc(9}PNsWU9-v-x|aBr@%f zGVwu)#4^HgVBt)(jQR%DDhVZXAjxSXBsmNlf0CSFZIq7Kn+HgWqE1vA)dKls=~JX{ zUXJ2CE+mFks?J)-&a$&dsZb?QAiiDLjD5@aUBFgsMQhYsc{QgI#z%2sjG5{Ahyz0%vqi9)bT&f_<)MVQfxpjFdjR-x8L17 z)EAkEbQ-Mu5$gXeSEhiscq{j9KMzqQ?rk;5y(SE@Stq-c_jRq@*3{$yr$7PUW|nl51(ZJ9Ny?>wB>ZAw z6uhT!WfoEuBA$&-l zj%!gwggl+RtEzZ3HEBnoe-P5?26r2HT;D4oUBWuPY} zh`BQgqndC@Je#9c-SP*_cDToeJYtm(E^l9>_ZZf{koeHmtLNOw6aRsVpwCJ_21rzm zd8}mGBYB|Ei-V;x&6>o&agujn&!uz&YQ1pr@sg6Nxw_!P2zg+2lj!h(Q9tPbYUNXK zx~_moq^yQ^cIgNR_Kwu9bKzQc;%9`1O0q`9%XAfbdzzw_TKw=Y3ylLCqSgERz29eo8#k zy!5xhcIKAopwILx-sq2oh${tT;7l%!Skq>#(c27%L(RLt$MX#sQaoY;w+@FL?Ea$O z~8BHBeTGOco z7^`U)k*SwiDz$%ZgM_-q%O~DSdKR7v1pWY;4WOXFmo8Z#(1H2BGzb3Z zI_|ZL)iIW$9{NA;#-f!rPa%`nKmrh;!{#KyI$6dRf=+zwuRt}W#0R^W^rMceu0=B# zP4N{=0pRC^wa5$3ErJd7RX-{XZDPh<|MHj}nYws-KL0@HB4AHU-$U%l01qP?H@g|! zRD!zsUN3|i4z*I|zk6ionk?Gk*_xu! z|M?)ncOt$Wn~T?gpGuPc0Puv^aM1>z|35xXh;Lk)5=F%R%@6oX^YlgSZvvO)#56v# zj%yeITRx!sf(~uX_fCcZ=(7qa$q|^=ipaiG4OHr-y^_cMKvFcS@^`@h6}vPaqhl3+ z0x-n?YuW6=E#OmXkcrtXq7YtHMjtd z0AFN3o^n|Un6x5NFa{$z`O|A6-}3>An0fL^HKf$~nRPkR&iaRX+?TAUw^ESP)9e6* zd*|FAvX`~+ABn55Zru!m(UBb3ccecTeU|bSG|gRH{IPxJMXn7?n;BBc@n>8V+=iDa zPovf`#ZF4)a#T8W-Jkyb!icmH z81=$1WDAagcEr5DfH?N@v6L40A*gV3%k*g=+T6A;_l%^xP!1pJDsXMXf7tP60GY#z z(=)ZqWdWzLkvI%t7<^A)yDR8_fMbSg->nn-2Z~_#6s)@~ng~WFxn+Qb#Ck7s zb?WH1qLjw`^N{kXaQF_u6}gyuSS~hAJDru-97tK2iMGkan46o6kHjHJoTPZ#Z4i*Q zj_@K>-Fe(A(610&hm*qE==UBksO9XcPT7hMrlp4C$el}1CNx|I&sCV(IC5z$! zg|QlRS&PdJS8D4jArlt=Lfh|=Kbkv2NOOS&Wqbag%V=N4nN^D0!vdY_#RBS_9&RyB z-MZwMGt+V%u{RP6NX^&egHp#*<;F{zISmN0wq)eGTAaH2WY3 zo<`zkfFsXqK$Sw@r82OJyW`FG@AC?s#F{$+G>HsP2PLc;^EvH3u?VMHC>?>9F&glD z)TI6>*?9#@K&VdGXPmhqm5m{UyixS(9PUupqp#%HxBA-$Yy6O>OCOC%_a`|_%`)xI zSBmN5LJHJ&c0$pBqI)4vFK9RWWNVir@=NVwhVATFZc_SzN;C@9?ST}9!xmXM)woh!h7f&Yulb$`^#0LsP z$HuM?(vNV@h3WbQRDSkjgL;<1Q=?6XPC{b21J_V#5#R&5>F93)%J=k&vAC?AArbS8 zrI!LPe*S`^dKuvov}Ayt&D%%6^RP@P9#9Xdi`eiOIZ?Z{Vy3>~XI~{RVvo;UPZuoL zm8lmU4h1AS3RkaaOGKhg0{2v(pw$>Zn%{OrXamc$3)nbHey#`Q9NjR11%G=|x{Ooi zc97J{=A~!GjjB4rCNG72!LDn2@JVRt0@M2L)!&QtY3M`|yR^PbE5wti3F!k*8pAmE zn$^j4>z8)6Csy+WkVsl$rl2MkcE_&*{G&G9Wc8 zz34Bz=LBTfgvcogZVki#kBE++hwe?c2VQNtx})k|*={}v#q4ovwh#k|YFeu`l<;rr zJR-iuzk97>GCF+ki?jPz1%|J|4FWgzN`ou|ivt4+!Uk5`ZFwDB!QLd*_E$^x5!V%1 zOPfa>`P&wlxx-*8ZS8f)!^Kn=ylcX{x_t-(5g;xe{}oD*EGc;rXS854aO`LmA#1R}?I7C5G{lzLuwcXi+YnLMA#-G~fyUkw}; zi00T1i4FV2Wiq1}-tb-5)wifePM?n2;6keoh2OdmxaC?|=ahHYK(5TaaW4_c z5%rfIsWDnJyuum!3bE=KwGRLA#KnVNjr~z))&kvS?TlC7)>EUuzvSq;3S=>^Mc;!z zD2zpC`8?b-xqOYHkVY)C0}Gx;y)G;GbaC)velK&^D(9_)Vs=h`9hTPyHwDv}cbzpG z8M3&0Q1N&S@MC3f zd`Z>hrkJR}C`oS~%j}Ny@wAkjI9;zyMT4{1^P^Qgtlll&g&x@qYoQmBf~J5mHCY4$ zl?~Bo`Jamcj7*=F1EAOO*Pjcfn@-M#8b3-Ka;^2#DU9~IwzW6b=YHLpZk@{x6Yk_K zL~HKG3md)GGsw8W0>9vd>ay~=uS*?h_x1s@Zv?9VXBWV3Z6Q4R{WIB_?eSsaa+x9- zDuDA*8-23R=wh*xfOU=FPU{C^j(i5{3DNYURDm2nJ*|r@Jh))8TcZgAWw< z@Pn25{4AUgY+SI#+$_pf>+vE{6-jmh$Ctx5PfK*=&&GKQhOqWKP3)l!=nubPRz8t6Ob1`41x$&{#bKc((tZDfy(^ zOG7;{TCL6s6b~02)}^-Ke+$*BgMPPyHK^#CBO3GGcz?=oKg2S*Y3j;1Agaau>c;T$LQK3pACt(=~oZlJ_DDL|OIS3i>3R^DPubqcl}W z(I#oOu>YxjgH*f7NIM&l>b4;$pTlbt?o zSD3}-dd$Q8EdTCF)>m4nMg`RL#AhONl%|NgUL9q@8*Dd0)a~AKSr6 zNtEUkgl3^4dUWTw3Of@@Tch9C2RMQN`C@-8`cV0}*r{>7rA|Dm)vTMkl^W$tOtkYo zSYk`*$o!H2St7uI6v$3cp8*@hl^*Q60IbW`5t96pDNgY6wQC{Mp*T05l9CjA8ylOe zE{uXs@AGX2-T|hHxqDDNqo~P5O6VC2TPraSOdb3{I)vDBrcLu|N1^deW=~QeGAZ~JdWi)9>{0B$D@eH0GiXrlS`%+KO0N%Kcgi)wi>T*b)6iCLXPGR z@q@&Epp#w{o?-J4=s%-N2r#S89;fg-A|;L%Fyba57}!GTHHrOb6U#i2#>3%H>;<#a z)-sdT8}iMU-co{3=H;AR7hDfKPsUiQcr<Wi+JEllEa3$Aet~qWx$OLr0nULaoLP+|a^FxzK@HkfD#H;eCkJ?rf zZY|cRg;)1WX0Z@MQk2;bB+*}tDM3+Rsr~3~&UW<{kyK*8aWh3{{3Nz8kJ%Qai-Y1v zyK)V9kk%ACY^GeD8^bOOB26*gBI5=IgvfuibKh+Q5LCzPzuYkDIqv8?G;|V=FGAN* zHtQY8zwN4REb0{~`sn0Z8{^FR@z~ZlDIX_g*i1q7C>ky2w;Cl{ERC2W&ox&O(x8N@ z4d0DMBALLfhWQ!tpSD4^)S|0dqk2Uxnf>Ng{)RHb)ahMCQYD#8G$yKh4bUVK#nfaR zRb5`{`gH&8>b={iIsuM3j1~|mD#5UBePVm94U4vjFo@;ajV34RJti&5*C(7SxH5Q~ zp;hh;H6%UCK>1rm7G=W?@ZmmF2%X&JsO4e6&;RZv$7vAC?dUcYi;15QX<6$ zDSkR1D1rI#7wy1tQ#WLEvE`~>HlX9}Nk~PqQR_EY8Y7*IM#L$)Cms~!T9&+`*5l0d z`BkQzUYFS4m#5Gz@k`@ENs)TpGE~gnsA01E_4R z9yKJ}eZI8oZBztj?7m?3tFwe|B6 zT6ehac=zWKIA;2#$tqey`}4U^ZwBHIFP)i4sX1!)){AeQ%e94>9{}EwA}2ZJ?x&CZ zwd0iG6gZV7=OL5SKQ*6k%J2uo3($9~3_3(+{IliFR$LZi<0tvh2+Be#e5 z>+>m*IUK|f)O%>gbMl{4dG$q1=>3=k@xeGP8%Vr_d`ccz=jxwrNg2YbC(OQMF@4Be z)A$U4J6DB^gNd&s7kpQGCIOdNK^%J?jdPpKQ1&B^$vpNRo!(Sp&%RX$ypreY7QqMM z^BCZTXcOS8?%p8RuFTP>GsjH>`0A;wBc1e-KLcg22db&WQRYTGH~*lG<$)v-^m$R| zb2IYYhKh12mDh_Sy;49D;XljuC`2|Q6@Elqfw9-wMe7U*#2wgpcc|!&Gk#M2>H*xb z_a49YiU4Vi>}h=T47Fg2JH$12Zp^Ig!(jckmIkYP*y0$;o8%|*b*u@vsI&(WLgq1M z%|FY%b|Py%^drYX21ts}-38|5jtcr;v_8-MOSOh>Orn9P4Q2q)=Nc1QGR zM(L=mss&R!rZN?930-Jwp8KlIcT(eVp{WJP?H>^zr&PKU3Zt2;v2(;W>ieBIMJer5mzvSIC zhMh{Lbbx0}8z4P6#`I(LY=n(@ew;rMqyWkh9!Fxp<_R!GdLlG>^ zS1jgeO2TzBTEey574Xy|`l9g#^;sBznkBZ=&(WdMPs^#Oh@ZIaw@``k4g)8QJU!0m zC+=chg*ATquEbwUJunLhL=7K6P!Q~PHt|HOX;G!2WJUSSS)E6R*#2ycy zOIrHf<(m}eeDezP&oI~DePVx(TniX$d1uvgt|k9|kMW?UNiDOP}9l*b{h-|hE1Ht-jcBpsX2B4!ok9? zUM0_fhg6~cG?oJHnZ_q#$S0uMl^D`wGIQ!>R&?=J<3*tQC_v-c*9^o^N=VNa)g~4N zXbISUN8p}Xy<-bhX6-s)@m8w|_|)od7x>99(p>K8 z?Vp2M`|p!P4?9Wv#42OF_kxp^A3oJ-3nf^ycmb}0lJR|fbskJ3DUv}lmw0QBiRM7m z-4!hn5N&H%yW5fZk4uX3u$w&w6In+O_c}!3p16cWNW<}XUHPw`uV(nKCRIi=F&rti zjVwr%+N71d%>#`#>kUJrju4OJ|YY964-J; zzUD$SO3>YPkfm@Iw=RH6MPo*-5l7wpmAaTwPd%iS>i%W0=eKx9I9X}L{>0zW68*_< zMEH&tQZNZ0E;wY+Ga&wD)&);;vPSn^(ccs*OAdm#?*`4QqaKwtuXb;#E4P@rAyh`+ zwIHf&>YCavH?Woj7TdSMA;l^j7&WctYw_$_&9|#otK_h?7t95a+`C+%D&SklrmmyP z?07!rSOrR^Jo~mtR=^9ab66glMH#(D zxw_?7;AF#r0xcn(<7^tUZx5XRdv(!{GRWx+wuHryIKdc*h}1Z-9D4Qkt+Zj>{fB6EMeg> zZR{VkuWG=#wKAZ%@6R$3USmk?)H@}9W>P*@AZbt?vqVp=n5z-(d%Y;8zb z`t*wff`I4GIaN&W(oyQZxRa51TYDCfiCh^b<}su(1tGZ|g<4Yl=6TR*zb>97nrojp z_zQ6@n{bLmKw#umf9uGDp}DQ;4lsDIpE%bNxUs8z1h8eJo5wOpeX z``uMxNcx5N?RB5cQEJWqOIJzp(wFBncYKKTlFbD6PW|IAwgqf`-D-L=hfZOuWc3ytGy zRU}S8V&<$jueE77!pwI&xVJ|Qqw!0;A7o4$<4w7P+l4TM++J&A+c#m7g>+zYX zae`yLS`-))UUe{ZWZC2+b4o<+c=1ac&f_A!aMFs@cL^vFXXQPy4bC%pHKrk${IQ4Q zN*PUqeI%XaEbtLhQ#EG|i+LO=&|Hv+zH+yS@}qEcFubJKVy;wv0Y`(81nj2jlSBKl zk$+%npS@={TqPd+z4Kqa0fPAM%;6p=kqYwC8Ce_nvkFd~AX?#`m+mZ?zYDcC)1OeU zsS}f8T7uJ=rLKL$j2m2LsA5HGTB1FZ7%bogh$1GoWa7y$j#;)ZbD!e&C*_!5Ud)}s zCNKNmK}olYfST&zsQj%=Cw$Jg+{_z%Vl|D;z$v-!!4KP{@yz~_g?fXMV=Jed||$Uld5TzG5^C`7a*WH?3BMJJ_j z?Aa}g4pXV5DdwIZaBCYgCUr)9r*C%tT=BUG=GSeV@A%#%tIouk-HXT@SV2RR3iXO) zsEfMzvRJ^?0(`^Q+&o+yB6PvFP*@QBM>3R*x^k!?jQ2sGORs5fK44dH|K8$@YYa z5Vrp3eFA}l5a$As?qBwLm*!SllyvKJXDg}Ua{9h+15&r?2CX}~JO^fCG1ccM;0-pv z7Pm#pe;qv1JQO`ye11%P`-FmwC`}1iMgD0E5^iM$5z%`wWqb6)@s80L0E^$LE(5gH zxA}=`jvt8|?0{SGjX2TMzQ5gR!F7#($Ngf%s_|D@ zr(#C|#9Tv(f(R~g87by@_;F;5gNNb9<2%JX?yTT`Bc!9O#M&|XzFr&f6`7* z`Oxt^(sQ7HqtS6tMl_QM48q8;e_RHP^mdhOdR^ZF6Y zv$|3%`h`43X|r!S1{Tpgp9_9v=AJtjxw;70np%4d+bcLwrZzIabm1NO04O^e%I5$W6^# z@7csD{TOxWR~K6h`ibF~+oFcmwfb}sTi{t|e_>r#OEaJQBXFi^&6%FMEB=MoWtrqY z*uwM1Y$s-arG4gkDXs-J9`1eDy2|!4{gdssUHZeFyjz<;2`;sH?)2`vQ2YuQ#ae0V zZ`tyd1W666-i`$NLX;BAzkSzKG1lcIcIh%3jAF>(vGY{;frwS#P}HpW3&5au`P+X& zA)Z914|-&woQBR*fCf6Na8xJDYV7xi@h*UbZ+g?-Aa6G&dmXNcCTYr!e6Tb_v;nKZE7Xyw) znFou9)#U>s7QM`rMZMmzjC}q$2KE$g#b!U~w=%Uf_{?NGWdZnRtZZKW`l^=cBrmbS zq267+;yQSSi0B9Psb5yEC$1e(qkBkyJ`bm}tUG0fl)2EMclQdTW?DX+`3hXXJZ@wy z60%sGL9asipIX<`r zG(J`epZvNrTSVMwx$>2!7+~pHxM(#~e;3|=s7}6$dw|mO7qi1#m_~X`OYC4+ZOGHq1B!N`n*L=uT-cx!zi?_5qMB9dp7Lw zvj`7v8YQj>D{XEtAg-abUIGjh@aX+bKw1PT(4;$?h3YW^ds@YGVp&F8coWgFYBk^3 zFdf}e4Oi-nOpSQ+(Q;>V3oP$szx+5MAhX@UTRK z1kgn6eiR60`BkYg5$!bJH-jriSV*dBj2UQ-uv^ewIu`;$^_>5RmNt#dQyO5@R18}K znn3_&jt=w$0UoJNz!kRWa_WTaqxmsbQ7%z7-WSYwxA*nyv%uqB@Ec$*s|3vRSDAC5 z^V(p@2sX3tfm$Mq9k7=V;A=(1yB>)BS(JX$YZwJE9@*_QBnNl}kmvOPxOKn8&@HC8 zcC3!&05PcG$!2-=XLZfz(T&W!5)v*p`_HpT*$enHZ|;#Jop`3O+)qd)&~M&e|0AcWIW~Lrb#>pYe{q3`l2`W;P$~HWsNVqh6{m*1WV*)PcK*|X zMd3#s?P(rFD7t07yDXR;MGLsDZ_g3bX!bVvl`mLLzv7CE{^*w0yO7j5=#1byy(1!` zhME6g<5{2(*CZ9EP1r;o2u8GY_vY)QPB+!}rw(VIKDqCmT3- z3BI%v_(ALAaoC9xDPZjW-6`~c6-^!gF0$7>o zdSi4-K4uuetiL}wPx$#1w8X!5XN?;vZe|J+#g%<_yEjtpBI7!+$W&qE-pO}a5FIP6rC5n=*KildroszXBLH91K7%hnReASJmuUA-oI1v^ zvmaGc`4Jr(x55Jib#DiOWKbVj!XzGkIP`Pxp6MGT(u zwUPBnPi>aFX-)-jpPy~{zvNws%33fxuq`@}krR;bWo%ActO_PT7kwvhOdA_=L1o(q3mt})O zGvmy3K#~%&W0eQ(IG&!@Rn${A1lV#4$G%<-r#DaUW!+l$mGfaW^DpVG6dJ~vf}6xi zyr;F0)f(C|rJ}{OfmNsU~ zSoE#@-n#*mf#5B#S%{5C>l`6%0_&W1)bwnCnWt5QMn=hlEsmSj+2;!`ad&DrhN^3= zg`B*bX`(E2swD+nu!oDj--phUHw9t&=)pXFpxQB@4J9KW;WY6!zoFD6@5X2puxVb> z$=7wdSF_HN%Yw0k^_%HVjy2`011VKWfoI{6z6Qf%Ln}bKqEjGNnH}*V&3CLo$T61)DZoo6;vI4)>$FEP47J;$;7Zb_qW_d8nbZpZXN!U4H z3h6Xs8^piO)S}(CHeGeA}rZ7hux{QkOTRd@pR+M?FG`8im^tV!NLS2&jn zJ@%eGdwxu{mbRdMmgw%?Q{^&zuhAaUcNAy*84Qtc0GLC4 zV&aF_;172N*VZYCfOYww?VW}Xd$r%M^8!il)JrwzLf74SoIjo5sFDEs$3oPlEI&JZ zFNl;_`{-fl6^1ZU&HSWzFiLDVGa2C#_EUYVB~!;JaejC7VVYAmh}`X~L;V94V*K)MrokI*KpGUpg-mb!>m$X`~CA%>tWx;;`wF%jwe!p zKZ$MP=RWxyTfEAL0>r4f5s7SZt^oUTQCy*tse)il`I>59tCIjSwx26CC*R*v$6~tL zWq;aekXUNMyWdO9oQC@W(R;mLj*X{a7XxsEe*V5eT?;sJ{0lMVkAQJn*7x3{v+?#r zTyad&JjRRZyk-QeEZa#h*)6KX8)4JK#8LYK-gP{Qj00@O3gbVY2t;D?D%Dl%q7*|- zRFd=DX$qEB z+Hq)Sx^DNY!>E0@!Zf0kVw4defuuS8i313mR05hiDWCj(tiJ}g@39{es~MC7=1cTV z?qHtAUWsb6+xkw`w8G-fjR&AtEyV`q#lg z_7D6^{_RPBuyKO`@Din+QgMFXM~R&pUHvOK_)oB4QS;wmf%Lz@Lg~yu!2+SNjKCxV z;5BGnYtt8bN?fmEte;(JVXpd}uIrSYta^@~tYn@j3;-RW7|RmBgy6BB?>aNmoYtD+ zU@Jqe%&P<1U**$^tfJk{>wW>{F`K|;vnE6fk>G`PMIl$*mf*x{%$_kj*8 zVKj#<8*`m?jncbgQsuw2OeKmP&or)_^P=R&R<=VD(7b1e-WxSf9OQvLQHaVT*tbQX zLt(A8iYLdO)b2svOZ=s?gsX$Z9GTeSBTY=eYf0fik2M$J%2~LzWG!l451d=M9$}S8 z%m>`oFYLgo{Ko>MJgmfP8V75Dm(WqqDiQer-xEIU1gmyySDwt{%|uT`_qyAE1ZNBE znr3%e%E}CN7FfQBiZiEi^Y9I^>rQJ!Ad0#zk-ERiDj#>TyZNBtw{X$Yj?d~MFSvor z&HO7$+mKKO7_URx^E=d}i)s_W@Z;&WLx>|I`SDJ%y7N8g&Ou*;`{symhGFXAVhc1% z=HQotr-sRqF7!fy_HEDI`f*xQ3M_TZK<1z})$SFE`!u=3gH;R0F=UiLy!wXeuf6|w zD_zCk+y9Q$Tq7e%Eqha}q4GDqFTnU?!A%cPQ6){Gg>g1>9xXg3oa)hYuNpagR*j}C zRZ1)$YUnDj%A<3ku(`TtmD$4lbxGBrx0wp zW}KDlZTzG>>em0E?YraIY{Ry-+UnB5gQ}uSso7Fgtu9p*)!Ia=wfBl0x>Qk=8m(D- z#}+ebjoN#}iWD_t6Cs4}N<5>_`@Y|Jzu))uzq&{6+_|oE9OrSK$5`@qb??p$(PEQ1 zA@}%5CB4_GXwqaj&ZQI;zQNmv7{iC<;7Ngl*na%FeTh?y=Dp?vFPQDYJjiF^d%m4- z4fyssz-(SI_R!ft*8c=##eTbBD??1~7Z5@yJik~b&V#d1(^!UtXIW)+mwP=j@>=e> zXzGqpjZRa_3oaa)nd=g}?uEUhr_=+DeuT_ybdRo8VPw9%#1bG{K-61p^rW{ zVP+4P{K9YZ(;RjDR(;tJVGH}CTg(xN9k7qI)z6SRWwutzQO81Tahcjk(7WY19O_*J z_dY}2(WZ{%D_l+Iu+cgu2$f|n`&pxREklEsbC2jfoahK@BCImu-k!M1-(0j%v7lDv z!1<}oh+izyFH^Yb?d5x-6$3NydZpqUAxEm}qu{@$ZJz&RI5|#o79Pmck^NvgOkA)x zh`~3%i=QD9X=(UH!1GL#8iTfL30M~A8fCed5#{5dA9}OT&jI~2iUA_;U$kz3RD-O+GV zYGzUZfMJUxJD7>$zZMb{*i%rrms@--Dqw>d)sa0B#QFgunP_EF7J_j_J= zPaj{0ebXaVwu6v$418NVSCCV+kKEOz| z1qF3CEiTc}6agEt2a1zIl-~?}hjP9NKmi*X67E8_c0on#bg4XF7b!=r);TG?={G%3 z$Q&&5scpRP$ahg(x#^F@%J4FiCn>^F`>i)aIsz250AKe7ejp(FLha?V^X?(|)b5U# zaVFDCPPJqGbA>_a{pF9OL*J>d;jzEu9AUC`zeWDuA5Mk{V?X@(X?&?{RP|d zHxE62-66 z-)91h_a6lqRXX>aoDWpo9H$hTGY$NL~-G$oU66Zg>!0_*00$*qIvRs4l)_mp$W&4YUOh4SFI^~1e^ zzA5%(0||Jb+BP{2-Vj7)B-&3vc1xbNS5X9u_gvvgsjccI&hwyO5+DOqv2D#hB5Sl( zlg$L`4%wPSr~+<8^gQK#VO_NqF!5;ZY$h}{1Y%rF;A0Mirl$h>*^LbwN@zS|sd@^u6MKr~1Xx$d2S%>l*oxNFd0@*lgS5qTS z)_L#WJnY{CE6}~UFm{PQ!TXiU+ZkRX5Gg2(OeUw z%$>!TSQQ|g;~@y%Ay~4A?NAFSD@-_ zFd_GBJ43j3moy-5{`hvfUP8m`ERp*TwvSQ0iJ4;+yjlaAX)yBVhV8KoxwbV#yqId_ zGfva0?tv8R=iB9PN+QzHVqa`DJ`u!xkT0ya9C4mE-}Z}o+0KuVn(ElN3}jf-BiBXV zoK)xh_A5exg6_bX_9Oad$JRkKF^Pqtnx~x3?vAW<99);)Vaq(={h)eECzM_ek^m1sL<&Z*{%i-|=YF3xe zavLW_u;Wq*c;ZI0ED)Z0i(EZjj`6C;(vlUNs3mbeVsWO z5y2$}WRA_hgy3A5M5FOrn;#kxY_hMOyNBUjGCW=OCpbQT+F5}6(J@V0F4@xb3r-wN zV;0yVyja`we`cF^uK|W1;AT){*&l{s=ew4(2rD<{I*ASMcJ8|Feod3U3nMc~mTSzO zPwFdrZOE6AqxE$>>`R>3(egQBLy3V|ewJ40c(JpF+zM7-0Vl<37G|Y4N5IH9Du-%y zu|&ow%c)6NUy67kU*Xt_x?Ji^82q4J@G>^LL%t{%kMXdbC2SSo@nOA}6O7Hh6FD)# zrcSNnbJI6-V$n4+y+Mp+kXvMRqS*?u@(m(1s2kI5&@)wP~_&JgHa)d1@@H@mGW;^cbk zxxLl8j=Z`RB$Y$q9xo~U!4$%FX$a50yts5jpk`=sMpNfQ(@>cEvP@X&eO!Xq_owe= zH9lU|PsRN1@61QCp@C-~9z5EkQrYsxEeCR*ZN$Tf=|NfP2{^r0ap73{92OQ-cRgbr`l(PZUOvxT8 zAC24|F2?`NqO*0@2mCn($$b^=m;tD?E0Cg8;D7Y(9?OFFCNM-M01$`oI0`{42?_k3 z99IOpcTQ#}?2aPHve0c22u(llzmvs#gOp^kDIX>NR?ivWhjms~=LT5h=xO&HUUq@% zA_)`<$*s8tg`e+yhCRuDv0I>e_s1mFzudKD9&tX>=-n$v-1kiB_i>yaLEuKRMG&sT z>UP9c`G(jpzs3f(RpVAOPFRRS?_?FWPJ%3snB-WSY~PNm=KBr2gir3 z&x`?id$t|g12iwWfJI1$;F?JJ#c;YHJ|N%Z4e;lWk227nhrdpYv>iySz4vm@pMKHz zRy!-e7I-CM>wvzuLwU33uaV$oiO3L??E>SEDl} zS!kE#9a#?)siW&zEUGOfeDEE#lvI#r+nS_nX6a|VB@WH1rY~oGZLP}t0Qu`nfx=4%H}?v&!!hL zNC?I_jemL5#$@qm@=!$SDOTSGmhtDbZcPfO*u)NPm)Xk9#cKu+L1g=;-&>q`EP=d9 zI?%igQ_2+nw8B~b7}<2b@V$}Bb5j;V_af8TtBLVqNeUHgbORmEy7bF4d|lVRQ(*bM z3{cg1GQD`yhy^7DLvW_<^Liya)GIXeKVk*EU7WzUoHVw8PW6B2lu=asOx|@(xw^d7^Z(GFLJE;P#FmWiBvk$TN z>Ke~skGY$utDrC2&!XP71aG;J6RR43C9lJR`4SAug0E&*X!)oU{EZ*z@VkedjWrm& zI+Lc2Z9lHpGhl8Hngg?DEVxFxf!=6DSY}pw(wJu5!!Mzzo2+I7*^8=B;hxwuCJ-M} zu#_Y`cfc|`%7%#7il<2z-8sqzIODW?p#i{Bi_9M(aOeA;irzl{B-6}54Pov?J}N15 z@hfBRh)MrEB6ojXT8%HQGy;#0NcVBWhN@uV4T1NImx0Cg9f6?hp@4&`{Q!L74uWx- z*D{Yz1rG6|!Fldi^cEcr#W>+3dkDSG@2$?B`hyoa%Aap|0fEzOKG4Q;n8N(R9(mjK zIgID5^8^u0BfjK6TTg(^JHPR&d2oq*=l%nprzIPvfwsfBoC&JNQ|7ThE5*GpoS}JU z4B}ymgl7~WJ7%8`_wa(ERnrmj%=)nx*3~8|4p|o6Nvd14{0@sY7z-O1b5HWAu)VFa z8rUM{;izZRq_kzvaw9F*&%)1rD$`PDFmk~~`Gul&M9!rd+s68Lv2$>YqBUovlg@k7 zgYZ(X;n4K$Y%ah0NOUxwBW*r@x}Gp@nXy@PYfb}8YJ9Y{xU_`d0;4BfC82jPF6iW| z^5(4uPB`{^izD`XJO85Q9}meHgAEHjR-GA17j0E2Y26B1$-@!;rkngy<*LD%!;Ea) zYjMdg3RYr~9d&)iC89NkRV8yI8^)lI{2zUBt=q%moPBK5b#-ur*{1gcj27&Oy^@n8 znpkAx_tSaiW)#p{5;@}3=-ljuz_4qXjGM#mrwK{B2t*UI7;8gisoXO#0wI!pFA^Dp z!TXP2VOs7rPD~-A%y!Xb3;_VqQrt_|_Rg^*x6)y9WoC8WE-1;h@(STe+b9{D>_Zfg z+q*puxjl&WmIoG>nk`|3N_Qp;Z)0-T2Ut4wUW(CLj^48kLsqz)y^kjG9+a&;LX-98 zKT?tYpSd?sNgW#T9(YBz1!|JruYU8Qe-?gk{};XxBLtWl%W>W9w$0Ua&nX<6)n7hY z1$Mw=PJ=Jo4iEa za|NC3o^##46ge7Z?rA}>E~jYZQDmcM=^bOgNrrs<(2DZwp+(RBx}yMzT@Gh40Fu{- zLD2CsgIbd299)eM!jfG?n@0hDBE#Q>EJeNjNxFAu?>mI&Vs3E=t!fDx_yQuA`Ij@v z!AOV$b`@!fMNho$a=DtUlA#Z+KE`>Knw3jaC&5Opd7E=dI`(+Mk(a!oYky!kkMG6b z4~a|KmPDnkkW{w2&$lFQm;A_mV&TLTj&C0RdQ}?y5-q`dIfZL{DeC)Xm1NL@A;kOP zpW7V4b$xzb?~NgpIUmcwVD1f^RTK8A_z_R8l|kUx)G?QiA=*Bcqp&fI^P^YG zy<+$;v})MFSG7^}`hq|Knr4zh3L@h9_RNvz{-56o9&h%3z2_KY6e40M8X~J#shTu< z*J^WyBaSz6sQpv;A}V^TD+9)U7~G+Il)_IyR_zu9d(Q<%8N0x@im|iry+3mAc$e?+ zY`?%7P-8h#-4P_W*djAVJUM!$W^t)h;8qY_e2E4ijy!HXkk~4PjCF4--Qkqq`-Pj*oD_X*euCC-KB5`ck9lDF6~>qwtco8||Rwgn|w|dWl>Osn{7w zDk}y^jF(x3;!hZ^ZQt3%ceDVU%NZj@T1&dEhqJWFgdPALzch~kyrcHFdc76`z1oo< z2*`!+j6z8A4W|3|cm=!Vee?^@Inn!8`h{0?D(Fbjvk zRj}V=M+jYz!yq}2Y+PNMf4z6*e z<#y*u%R%FvIzK9snKMqBqb#bIU;fnArtXB>mT(SXso%jl;2*ViS;aSJbF6k6gA#UQ znL$14?;n`zoc?n?tRcc44n$YMk`_2dS!jTQ2e3MCyLLSe(!{O-#r=T0WG#~Ls;XJ5KtZb`|AL9CmkT+{x8@-tHT8Eg~^)TmBMQR%MgD-YT zdT6%*lP~&cXP0@>-zgW5BwR^77gR6{+`zP~P`WtyXq~C*l~>fK0qQm5BqDryR7hsq zxZPH2osjE2uFwwDvWsn{mt`#?>i-gi1FGX-(2X?!fkZ9`^vK?oVFcO~#}-+Ce=}?t z*^NfMKAWAQskp$coz_Ti>}qfBcGD+xzE&YWLWm6(v~b$^B*In;e+iTO$>(F#&GBcy z*H%4?wg~g2s-aiiqa=nWcH~Kk+wH#}mvSMK>1;@~+_Dp!o6#pdNl!UD_1B};QOk^ynF3D)yc^PG&t1=$y9Zz}fUl8q-{#cqbN5HMhe7O_BNW#{m zQO+|Dt(xif!(aWzEL&xAqWX-7#Hn;1$KxoE`hOn_h`O?6 zSIS%neo>+zpF(pFKi^HZ0Q$l0?UQ9YB}yEw>pm>;(qE{)!^#bq**_H$O>3n~ciQgN zi>aLJXAPB`6>7-b?UZ&t3$6s(8kFy2-yvwHHBf*^$kb zWq^t&SohQL&6RL{SxS)l>?s82u#!zCw~Cxh9tDp=qX$F;UO17p2aX{)4T*SPWl0N< zlL#DL^bEy7*Q@|TL?gVHFmkFa^RS{J<1W$8b0zUB*Rz+$N%yE7;nZK|pA}!tO>;dP zPXvOL;9|<_p*RvearxxRWe{3Z73paB0n3@{LG-fSZepggf@KYmaqIKKY6 zwLa4+y|A3vFZ`b@cAoY>YtZHA??$<~hZBV3R1f&<$ddEU4ps|21Cb4>E!i`@A4-R; zr2wC-m6CL<=9lhJD-Sd@N+5#jEJs1mF42y+^kr8(wr-v~)}L)logGT^EChtpU`9l& z1i;3A#8KB-U9smEf%LF@`9Au)1)#{a(NtCsaxco7cxDey2V!{vL_aXV7FPk}1SjE= zo$GPm`xOzk5^jAUX!%0dMcI8c+Q+G;bwx7TP?{3i^R4YvlwBVKN~rPs`tKspJ3SKo z6btpNkZMUPWH$P?WVU3@#D)mik?1aJbk9kyMO`HMf!p8x)5=oN!QZNYh39as^fz+x z$c2VTIr0zl+kaXyiZ#mpiXZAF%>rY46P+70sd_PIeVDcE{If411pt5@P zgn6MQDPoT=KYt_GN)lqovC7O;LQ%v%Dv51`4`;u@xT_8#f%-ljs$qR;OntH` ziixDiPf$%H1Jm9)K3TXNSsFxYlZV) znurJnGi;>!H$Pg*dkr1`80NpM9%aSBD@-^uJX3d$G3`w_puUOC_YkP&bnrq5Wr>MI z=YATf@7wal6@A*<))Z$Tql<}@CKgDf)eyL9%TP+@vUKUe7ALOp{PyrLc(Dk#Gkl;w ziFt9td}3|E{_~Oky8tStE^BHN6s0glO(G>IN#qec$;KP4$SQO040X!mUZd3Ya#XlS zu|s@?*IR5Z6u$psnb(D6Z>l|^_DIQ3lSr85@g$@9zDaTuoP^cyqyBc!CVq#cZZ}t9 z+s7viWH^^(>m|VKCCaZ(F)Do1q?JHDmoP6ys1y1Y^U7BAZ^!=Ay7}i=>CVr8Ug=+> zbpOAsg8%$UP=|rN;gg?OPU1q}65E*C^}ScK=-BDv2O?_QYD+AI&Q)%12l0CWlVoJ$>T*CZrOu~UDM*0IRyp=)7%Cr+i$s_SBW|W zt6@5((<2U2P@KbP95)nF=;7l6pY}w~z7Ms;>qJecPQI@pnMc;)g~aPyHwa$jBe&~l+fhqnd_pns%WuK+X5RuV z8a#k{My%T?Xn!LF%1mg+lcfub0oJSVA|q|zNf`mvc$sq?$Kbj6`n%_Z5b_mf&snq( zLb|yDtw+_$g?fEzLo_gsFT3gw_9ed&H)U6ttK{mq)Vj{j@-&x`n^gpJlB`_*!YsE) zJ{#o`4Khd%&SQLJ$`Zc~?B0t%_b>6_aGpp#oKxJ9d`;ubIelE$FOuRyuKUuMbXq)a zk`Z+2_1RxSmY7%WlfU1j$6Bdp8Qg8krA^N1k=0y(&6?F~U)*7n6%;z)uGegSJo~-r zd1ld@3O`y1y=P1&iZpa5DU^uk#gdaPvctND+Yeu~iu(KO%YsoBBI`4jF*}3$YNRV7h@%-v1ty0rgdg*#DOVhO z8g*@6LHNWRNo1^#a4c(U{W`@=Ki(@wm*C!pZw(VJ&3TdU<5^16fwL3*-FRmW?z@u3)ELe;XO^0p3hQqhCta) zcTmyUE?KztlN6!sLbiGucyYuzp2yZse*l&=U-DQ<+2Y3&xlgQo7~4YU1grihkTRDq zNq7^XK7#2`P4|u@5PRACA(BAv@K{Z&`*6=4=Ipd2wP{TA$N-;MNpDi_}3NBsz~(+fZmdC^XBa zi6bOI8!PR?Z@SNu#_&hNQGk^3S>o`g?a9>lR(H#vK|efU4ZNt=Do}>{{@{y|L9AtP zuAi0O!NJU`?-den6{mD?Enu0zvq}=b*UUm#_0o^ z=ISfioa%X*_%*s)^b{z8^E~J$flyGi>>GQbWo!;G!p$v>g_M_NCGb~kuGN*j3NX#f zoVV1B$PNw$-i3&)5O9vcxCl8A-DC^@8H-XQ9S|6SZb3Q>-I@2|RjblF%RnN_)RokU zPN4 zFHyNq@Xmc}s+yW_9V4Y@>ba0n%wGas7=$hLz7dxcoGZWR$1XwX4(%=0I?3T_qQ@}w zPU7Hd<#D{oO)O|oddd7hjd}%uDD~;}o8|KI^feLoWMA8x@Z~tV__k`gTHe=P6^hx? zHPKLRkup^5w>3%W_YX|`L)ml-K->q7vYUK$^ZU7nPt)vV!cn{SmL|kaCeV(=z6BVm zE($HFTitQ?0RKEd3AWIVm=qV>`pFy3zevTUzq^tS_|_Vj8OuAdRF2lr-z}fAg?8wA z$srDl-QTR@XQtGaFP}LgEt&P<&DnIixY+*2L4DZ`GHv@=>>|E9+`P4Y9bscAOk`uw zm#r~4BvLs%CtA|N*}9MB!ykXOWex8pt?>u%O=S7Y?K~B;?U=RYA>wcx6e!=Gax&ZX(z$f+}$LH zukVv|EyI|m{qG-zsiUsS)$s~th;r4wD^H%43P{oQZ*w&EcyTWCy8F`#gL~HI3X%Kp zisb2H6KmnI7yCiX_3{n~s&p|(JkiEc1x(0!D6kfqMyR3 z&k@xuD)#X@N`YExt(_74Kyj{vBTMKm7q=@{$o~{Vg z9m{gG?qf&RrkP(%{_$E!m#svzeAmfUR~lsmT93lAB?EF|4b=P1ij=Mj$C{HJN_UP| zS>j!lI|*!8Xs)lvs9aqTF#@!68?e}W3B5<*bEJZNdF!5#w9YX&0XA}QZp7Yd0tV0D zJf@ZLF^i*;$8u9f(>PypC&_2mBwJ*{!bbGE8kl;i!_20krN0T@jD^O`HH!J-Qc(6bG6Wvc=m-;57N5B0m zua!Va%j;fICkp^k)Xr{4rDp01=MrAq92CC}!xx11Px6-9CYAxe`ILyr8NZMRGzXg_ zRT%~~iIkS&rqthBirHle>q9bxnkZ!#xX$O3L2)3ohq)7u++N2H&&f+{9l~HPkV{dR z`kMgWJ0EnB*)8I&qEE4#5a1sluecMC<^;dDH2!4h`B{H!)|R?*uN$EyvtWo7O96|u zwkArek5J(*9*mc?I`VvbppEl;Tu39L#=p_vGpLvVE;OabzYu~RbcEhi{9%jPu#9#= z4<&WIRo;aO2koZySBI78Ld~WSLcl$cF!P$R9XZkq=_q>HjP;Wg@1ux<1fFn_3VcOcrhm`7dBI3ULlHG*A9gH9+>8f?fyvAfE`K$$ z&fpp&s>y=Vmqdf5mbTJBI-A8Vd1CVpIZqiHw<0Met>yqn9+U;tXIzM^FFrExnlt<~ zJp4hyqk`9;k0Q<(*)4-EWA=C08B$kU>8XtCs}Q6Oge4^m+cC^A-mT`U579SKDdQ4A zEb1~8-0!WsboFY|K!7nXMkr7rU3y)2;Pn`xXV&T?YA+z! z2T=-38zQikjvsX*-5eCi9i}6EQR2 zsjBc3VrdyuOUc;Y?3L5?y{`?2u5LJSQZx*A#(3auVi#7fcJOe|16=>ZUeG|kz&eq5 z9)Ujd12oR4L?5WgG0Si_6`TPbNM7-0ew?KC@lye_+lxJ7r?7M{b6!!A zT7iYZLE^cA{+oM+KIkNkJh3z#U>gGWL1)-2Z3hgpExCC(-@A)z*8~$O40@PyPF%n0 z%Ve*QmS-0K+?Bx!$_^Df=d-1Ep6pGj1%*LSNX$M<#gNI8xOFA;Qm|+{>lT*35j>0x-$-c5WdY@(+%`T_ zj)rRX`Ft9hEa1U`1da|fCRZ72GkyeN%d&C_bMh|WS9eCl@h_hO_v$n9xrNP?kknuH3#0+D*DsY;_tA!0scYBp-2w_NN%aDwViWjVx5mPfn z%VQ<6Qgwfb1abs6iT$|o2zHI5-)uPa`r=?ymlIQQhZB=T58>MAGchQnWZC}xA54gr zE+Ck9b0%f1IahG&fHX8Px4qQRS_%-aog-E1h;fLTEUaWT=<*`W2xxh?%lE$hFeE5J z+Me>U|+hsbMGn9@IJn7D`q(1cSS$)~9Q_l|DkzeuX z=*|^Czk5eD334MOAS>~*)XHTx2H^*wDM}-(fH^6Yq3%SaqG#8ff2rkFHJ6y5eF6$1 zsR&L|v{Tv%^X#JVI0&w!a8_-uqRYoMPSfR%${o)F;T$1|T+R)soDLI+OIvTe`4SD+ z^%@?G$a*M9bI;s{8It0bGSfSK^@c6O{psS=DJiE5F7Q^sCucqaj~Qt@dJ!A{EV7NZ zo!MmrZ0|h9-yqHhu~dk&_W}Fn#avty6rRh1i4T}?fM;D&d(RYksG>{dDbqxZu!?Px zFgZv4YH@sj;_>3-L#oB;40nY!f__DTzMq80RZ1eWLEO(H!@E<`1pd&6UY@H9TiCqK zPkh%g=b2rta5X;2=-Dx?&KpKrY60{v^d<_ajLjJ<)wx%Z2|t)QXo430hS6Tn0b*ABYqR@Qr{`< z1wpImbApaLFb%^1w99fOud}J1Vo^(ZqTcXXCrE=ce&o_hnEBHyk)j$G!X2(2d3t~@ zc7$NPsi6LOJ(;z*h3k1Fy}4eB+;Edwo4#erz{|JJCWVsXm0}dGTaP8ZPNbxHrGM!6 zmg%!Cp?GWp4LOc{bH zjb0SJ=nn`X6o=-5BPKX+i%_HM_2>runWOsN=N*(R31Vqx7c?c6!__Kz^YfWs6_zEY zKfs7TWKszo4Al`Xh7}dnKHy>~Q$TP|dz@6AB_Rd^oXI6w=@SQzK;Gy$!C?;L_#8ZM zSAS^MzB!9uMpdU~+J!pBvO5AIO^5J$`m)%n7c<*mpH;)ikt#W+qkDvJ70hlU#CB^q z#5;Y!3KMBfq~zr@wu?Nst{j2C!k@hVz3Z%%!b9vsNo5|z?1$Wz_TO(Ph7~EGFXvn8 zMXrjLqQpwxR)%D{n8V7){rZh3oJ5O#0ESiUEAKKaHdM^ZnPo?BB&L71KVntyc|lfs z3wQ^ksoK#HQLm_{Nr;%Xohy;|X$uX`$mQ5Nz}dV;XD{b%9iu5+1lR_pv(Ke`XJr>R zY+~$E_t~<8>*KW zL+^Tm=>y3Lr|rjH;$yq+Km)R*1#un;CCFs(q!ageXNG$6LcaGAQbN2=g^F;{$KH@p z`4U^-rSU7Txn@8;d7igPFdXzeL*5MhB0ZVggqWNfs|?iYTv$~T{}jX>_{h%}3Hsii zz>48n1Ufq-S=H1&~Q?!WWhWz8fJmd?ViSD9sw# zTg@7%abBwVl*;Tl^WX}CIq{K*Q@ypS#)Zb4hdW&}VG{>Kg#HlUMR&*|>o zOqC1pGM|E1J%etvD#vO$$$p$$4ROS5Foi_uq(c_PtDZG-(r5zw>(8RWHJ0ayXpz>J z_Fa`lI8;r&wMY$E^Gtiham2}MAo_TuJTN#><7*Ng34?ntp*cOx$=*0*=k1b9&w`<5YQlUT6e$B zM|@g*;+2GQeII47q@C#zwEJ4BKO^V+7qUxfGP9jk!E$Of&qfp|CF~;yKC=OY7)Hj@ z1=-dDvv%t{nEbl*<41n+hF~cm?(mwt7;ixFSe&sVAMBbVjh)*O>rSGJp{A+mbp(H< ziSZbVhI~DO6TwV|EzJUI<&6wNGUxwFvgHZ#Oo}R3o74w%79@2b3B*^;}fF65uvgnZgmoeh+F@p22 zZ5V-K66X1~`VAJ?%A99_-3upph2ac^bL1)sXh|?$mX#-GC8NhkKA6F|pCm3555Ijk z0F*bOk3$Sw!gHOs8gx;yhk61?5z_Kj>f=+i(y#DD#Zj+Ie6JUrnXq?<@2WF}12Ni< zcIc3_-n8BfyZ0I%nS~smS!L4k2ZM z87fx2splxe_DvH$ruYlfQ-+-_yod`0EH*~H#)R*0@BeOhma18Fc%B&Kq_@ui;8GpvH&i>xb+etGl3?eEtf z7R$#=dixJ$1+-yy#7oFr5>Pv#r?#9J8wK$&D6tV}inBqfO7G+|ij#Zc9%IWfU4-bYLZ6CL zfw^sM`yQ#)IlCKiw-3lSjXt7%<__S4enM}87=9?leYd9(Ue(2^Ogn642rciDr7877 zC*M7V6{~*X!bgw%GTWyoo5QH(GO&TrEKL!`ZH?FN^A^e-{F?c`;^#uZf^&4Qv7?5| zb3L^?Ecz1mKWcqfqT#nOf~vX8@C=)6*rMY2W1az~GgDpTpNa%d5RtnZYrV#^31$|( z_s53~Aj;jPtp(d)@aw%BhwWJs({F0^s(2Ti8;#PcjTKcL?>^gwgs>g#=F}wQtVzJ+;4Uf<&UpetO9{YN01vk_Cp6z{IpP0@hD!PzJ z2y?y_m&X?_m%KTJ-GV)bTdF=}V;!weJ9>5PM)AHkMP+qo)J;WoM#~q?zhugHo+_)x zr&*5=gKwMQ67g=!o^9r8$D3<)WqhIqPVkZ#O}21Y<;05Md8lI0gYz8eW>#5oip}FT zCIa>orH1*j{(=nBiUPg8$+R{Kxu$ZKu)+)M7+SW$jCRzeweC-H zq3i|BI;BNH2(?8#guqFXCJi}#^}>eRe10wPAY1Hk4BO-@zq&RUel2jl;!@+mHu7&u z=O%VA%_7mf7NNmM7gOcQ!Vm^oSd$hhBc%G`q;x*zNz?eo#fjy1D82 z!>~mMUA69;NG+|W)3L_yT1hiyPv3OdFRa-yxf}7sq(*dGB!!kAM_Fr%&OM0ruXf(= zi>*sezK{GaqoRWB2`#C#{&r6=P$;3S{48tlMsJ$Da6(e~mxjz^$_3a*BdoIq{rU=3 z^caifs+1$x&!zr$n-eS_tkce(3P0~Hv=VFK_v97ncw4#7tGyD|9N zD!X`+IL#w^2w4+ud~0lM^(U=~`3z%3ygZxN+GWFQpi}+`GV7NL6npo+*_fV*7b86p z-Do4V)5e1PBf2tk*((Nl85O&=-}=Zb;tTG6QW%!F^R>>aHtMXVnBg?6p580xoxGLzH=%x}TV6!3sZy4-8I{;4PCD9*%Z@xMSqHL5jweqYRa&$Dl7% z#nHpkbQ9Ho8rhb8$~#V#et3(J?MBbh@K8y|juGvIH?3?>;8QNHhm0Ndak$+U$mOns z-p3k;FIM;sdOQig&A?4eyHct{Ro0D1 zcCvy!(ex$`X{xvMKG7!$rcE3uzF!>ZXbBTlPP#=N)YFX>DC2nB=BP#g)!IVic}%L1J@eK6 zmqnLtOud4hWQoIbFKZ=Sq7>ie2MAnutd>H*=AHJwh_T&ekJH(8J3{LU)1XDqJM%3t?%2f_VA-oi%tHmBvi5ZNHG3;aE5zl|A*T*k}cjxRYSgPf;9UXuKVUM8|*)BK&s!SF*8 zPHFDp1I`c9Qk_z`j&y}aX9YNLap5D~VvtFRxE^55;b|~w$ zv&>>tT?$n=@u(?myz*IBhFowFDy3BC9OC5Dy&-}6oT)E{Bl6_*(Yi116Ol)|<81W3 z#Ui$iMZ@sT$J5->P}z7@BKrlJH-DBCKcCtiAb(~uYzAEr?tXeN`K`Ay?rc0zX}+>y z0yLPvn8&cRfT^`33Y2!6{j{=ev?Bk#nTDHSP9haa{NG`Jzrl~D$4XIKs=n5{M}cZB zV9)@Pct|;Q%;4DgG)L?+z(jU^G2X9x1tqu+7#a#2*Qg{muN^-MW$v2^h!Mf~oR6-) z8k+zpYZ?c5oLo8D7OTAza?d&QC7!6VA)ZLNbDlYXT%|$3W^PhRZfv?1*&0Ep>ZR33 z?{Raejh#(pC?LGcLJ&wKu&FGM-_}RF>=6MeU7r?n7_Df+{2`9r9>j9)qOumro}92p zREwaYrV8(+VwWu$X4@}3$ zPp0#WwsCIf=_$nYmvsP}fa!aWH^^*hd%1G2xE=xW-QP)1r}8{0hg(6Lh+?Ui(dtYP zJ3&&4L*M&Me=db5mUn=PCr8S`xfU)GmC?D2V4v-yGQX(Az#c-~BL31y{EO4r+!O3s zHRKS}MV7zO+11|uTr_BU0yp|=UUVT$ANM=w@y{{Rg$Msl;C;qQO)T4fW0_ItYLx2s zf1A$ue|S+FDCX|fl&KV$%frh+dqdf(Zd5O{U$Za%7I91|tqIA4K z=LIKP)lllm$Dnd^3Zu|80s0xs`#XLF(2(o)Y={etgxqb%4#<0|FK*Y`&b$AVHE>gA zmf>2IByr}JuOe?PK9KYR{WgF?R70TL=fpm|1*4;cwKf1%@srjaq1}pDy%ynTyYgvpI;9%Jqf}$* z!g&*Qnp2)QeE<}$zk|S`@8UAnG5M&tJcH<|Qq(AzDmX%!->kE70Q6r}1*eU|t2}fM zxnGKSj`#Q>`YAq)FK%-eN!-nMW_Nqe+5i2}KE(EvN(VZk}^k&3Q z^=-zK!xpQ0RJ_Nk4I3O4T5Y?v81ozDoOU;Z;qoAh_V`+isfAbxT}H*CsUjlwwQL*eh<_*2S#P^a{MIeF5=5UaWEy zsvBIoc>DRT%F8gko+vc)zRCMV^@XXUNf)Z7b0szd=4IQMggAG4HzE@iHM7s zN^`O0Ns}#e#Q&T`ptGCE-$v>d(mVUlViv!T9BM&EEatnc=WsPL#lN5bBXv~@W;{vw zJb8c4WZgIIZo`0Yj*f%GngN5meA;)q+%tw67M7Lk;o@Y+GP=j>R<)$0liRBt?)td1 z&hHssXvzsa(btSP;~BP?TpD&m(SKb`_9tm!;jYHqW^lp9*`$wUC={c%B?js5jTidN z9lO>njDD-G4aGnY>*D}WH&Q)D`9`T20$J(@TSEZjoad_k?utSAGh4EZ9)Z{pO^Xp? z8C5!j@t*WiMHPR<6VYv29v9nKo=qlPKi%xmoaiR_0FCzuj)7z4ByECR9hY__%*s(! zxev9zYdj2&Bt8z~G8pk`nIpCRguL*8Ko?Zq7jNt4hD?*{GIuAl@oaUwga86o@`S$k zLDo(Ji#B}vjZ({jwThjtdZ(eo&M13IIif-i9)O#Fs)vqD&ufuAtM`*+Lkt>UvUCHb zAY16KUaVwL-`v$Kc8+2h!;pLB+M?)WodJoS%a5PNwS3t5X2}_6_lg4&b4Rrn9+8dX zrWaKhkqRu;JPr|X;)2zznnT)i*30~E!BQmiEFreaH=McKvu&dySJ?BB`!ZJA6q^Z_ zlh#W4vr=;%u%?3ALElAAUc}<=ydyd8xHN5U2rn&S(K-0$&VZ0uQrK`B!ZsXx`ElRQ zG09!2b1;)BB;;%TY({WFOCEGrXgdL$ZF|k%HlBr-Q*6z{1V&DVW!wme)2tRiRmEl3 zuf5{UWP9yuWwmj8H`+@uSP|cmAo=u1dO+6zNvijZv5#11jjoeY4wC}=#aY4Y?5~YS zPVyg!{QMyq7HFv$ncZA(px@$%GrIR=cYiN8`?`VP=C#nHQ)16vKAVcphe8F0hGHc~ zp%p*SF4v(mi+Q8jc%cwR+|ET9`PXV`2&?$Q$sAV9mDCulRo>5BH!tP>6B059|-?tA(MsYuJ8k$l7nyGO5n8Y*Gj!C<}W&a z-~LeY;8<9?AR{d7p=oFty@H(Bv{$G?oWr4NFAksKBX7Tb!4Oi8EX!QhIj=e!lM|Z; z3A-?vImGcxR6F;iLcl2t2^Ze%AjP+(#RwsBbwlm$>$59sgc!HZDvgMQMSkHT|IcO9 zjXxQZLIUKb1CyBsUMZj(>v+^3B!(U(vheo1T;VG`hmfWH-bM%6ja1nkK=0`7Mwl?^ z%ifW(!DCj&gJMg+L0#bRo^-2xybFH`LiTb~tpThfC`LmgsX=mcY^;REt52YJj zDJV>ix9;A&5nn)WaaztN>)dnU*!E#Y`vE3i`?%;f?&iXVG=ooX2Vjl|^>G2kJ;{#n z5Lo@QgYO{d=BCraElJPo-1TK~eT%^wOrOaQlngbpZOr@jGY%A7Opkyt4Nh%4BHzW% znyW>K%I1cb{cM{7IvpCc}H z0cSi}KD8=kdd^3eASLFDDomeP+uXF^Ju&qD*Em}rNJIBOxnwpW;&X(Jk%69B>6qo1cTa3$5ieP-ag(D?^=B6W6#*3lL5fn9Dm5ws(xulB zq)P9d5Gx2skshkjrG(xg0clbrHFTtx(1e5%2su0WEARV$-}ufMXWV)ezOFHh-69b7FF8P=W9ip#wwZAuz zICRjpU+$|X>kR4)UiguKlo;umPbUCJA z-Y|41vi=n|WGU|;3JwMp=yBnerNT3`ioMO~y*~t&HC?f!7j@mDJ$pi^ zB7P}KX9@m5>i&>efw_o#>s?LC38yg)ZMPxnC$$^_vO_V+{l1a1SXFx|L5F4MUFr+H zKcg;D#CVo4UH8{z;pWc!^3vzYvk3W?n-|wxo7Bg7adZZ-P~40b&tnB`CWiEAI$MHqOR~8&+46vYs$|Y$}zk#JT7M#Rx^(7-np!nM%FC zJUEf&#Qb?e@HOQ2nF)BorgFbkmQ>c01D>mq{{2?!=Xt0e>@A?d zhTfrF+jpjnOuwlw&o}5AJ`2&ThRcmG)|^_~md1#dl?s=|3C^tuZmd??pO#>DBZ6QH zoTz$In=p431eQ6H;!eEsQ${TBQhMpd`xgzH-WXGD`PT59C}bf*K({xB0hZbEZC8z8 z(oV!X)9VxJ@Ije{k!sNOi=Ba(@3F72{O=4gR!zGEmRh%jQ*Cvkz%J!X>}|w{2SXKH zH;|^okKs>nQ7R8_2s&)R1A{^gZ`R3GoCFwrNmN^XdP=Jjv6Q`WqBeAdORW`GR)I4( zP`;Xc4$ER21`cK7zt3073Pk`I$L%*CB|g#wDE7Vd`{Z|@{m=G}Pv?qnl4l9&f3kI= zPXpKrz%Y zld|sLU;fh+W*AQsgwgwga>tiRg6e(m05T?Cq|-pw>X@DcG&v=SLDj`|5ZjXt_j6J5 zlZ;jV)#o7se~)83)D>DAF~z%Lc<7KiN`P)8p6WdHcORvf2-*Jg**g$Iu;rOuY@UU0 ztsv*2EoN_*Z-JW_w&O#J{9Q!B1Q;rH&5^pIRSn3u z%F5F|uB5yF4EoqOt9h>CHagW}No{}p-CN{I1b+y@h6OU`AFzSh2r}UMXPA#Mq?l6B zek*JfHURW4WXdz#1s1l1ge~dqUvu>ONM`E(J!!zojHDeeL;+-2a=-o`d8z-y>UoPG zg=E84Vo*D@K=ldcf9rH>j1`kVNeRG=N&ipFEv|bc5MxXjcb!*ds&$k0nh#V%Va5EU z!*9jtPI+(6&3ZyYS$sEOhkHj1(-2@xuWlaOHMDWPcZBo~digZ{E_Ac8F*G@0k8pZf zefAYLycuhSP?;g5L~TGH6k}1&8|~@mHa4PPFOdTixT~vvpud~=+f1T{K+(6@8 zKMA&7mbFJcwW-2MlYBd%nq7}8WV+o?;3VjcfO+%B97IV}3S{rH?8KhHK+Hr&@N34& zoSu&K(_u$?zz>Igfc24t9eaQ1pguJdx4Fv~5V3A~0+afRhMuYre6ZQ<%51#iF`TNl z!U3cYd=>^`uDdUP!-^}utU_|-Ih%wmf-W9xp}d?y;r7)?@s(w6M-FwDXY>cloSZTP ziGh)WhW!4cE&jO24?9fg@gV>XYGsEBHAmVj_1rn;6%X?PU1;@(X08S`8Wv2|#^>Vz zDw>m%E5?8x0XjK^FK}f}@#Z_krhZ%o-)K#Zk3kqwH-L6ci z4X4ptT1N%+APpP70V7D*#RMd&-PT}tO44twzVgs@_vBPWUky^*FZH&BQ!H4#as%T* zMl=DONnpCN5UD2kdc)3e36GgSP%h9B8+aJG3QCi`nhme$b5gmCcPi$v_*s(}Ir~ACoxgZnn8I(a0-qHw&1k zS0aF~(@1ty&qDMkMAhadUSZ>i>QzUluZ1z4nMiop2Xd|+ z!aaAxCe1X{-H7HPs<#)?E0)aFhwx*SbfsRB$FK%_VEV$azCm#@z9^-(D??ia<9P*# zz*DurQ~G<)03}BkSpvfajj*4D5k$(PihDUmmD$ciTPqwQf8(gRu>*tS-DFDkTcUmE5_J%SE~sqJy`)~OtolRn5=ZO{spPlf2U@H*&-j1mN?-I zMZHE=q{}5uYL2D#x2%MZEqEK$n9T>UM27emO^@bQPZ}3KHA1pwQ|#uPIq=i;KWr|L z-b|-nE%?@j*r=F=9j@njSEbkMqntU(c6&^=XuBJTCIaTCbT#eu$1^ZdU58WT&;J!K z=bzgU0(E(v_k+={#XPdQUfy)Siw_9oR?v_)lH_g=X#EAw#Y24~(o4MwHIJ=fi-Ve_ z&Vv)sO7gZ;Bz3%rLiPt!564K;q{nZu=r$cdYZ18CF!#>}OQy7+_}}hsg7tnR)!9$% z06ZMF;%5&O%X4*ErH-v|c-6S#B1s!+YjuxQN{1weHfVnK{;Cz2?^CIMxw@3i^dWHj) zdlS;W^z)E^u8;!+%f6=D9-**}G=t^J;$OX9RwnKL>=M9%n4WZ~2Hl<_(IfzA-FL2- z(8`1I!zwdQzRks2AIXv!(oe#?q~8c5pq+y6t_@H1I}G<{INrjBnf`qbP5PHTl5L~| zbhB-R5Q`x-_>&e$v#B%3Ta)2qV5tBL@X3Y_*7119>;qnYHSAhgKORzj@N1US6NZtt zBI_!hFi`>mMpqE2!+uD!Y^z_B4oAJ7XJ#9Yr7e!%Gs90pNlsz3lzu_n*sB#QCw6^k zJ*@hl(f#QMFJpUVCuG`IHZSP>MYskWqV2~R&~_f^mjo$}R8Mvm3Wff4BjazxFV0>E zPx+rhzpX|6-fHb=j-937um9(3VoG;W&Tr4fj{5hN9x2I-$J0;lJK&7K*5hD=`D75l zP+9ypFU9tkp#gVyag{&*-&bP)vB1m;JHh{Bw+v|I&|zKuU)>u2cCM=b>X2!A?JQ3) zNN)j@;CV@pk$;({VLbQMjiNLdcE#G8&!A8zjqUT}>y9@gH}=c7<@kqa69?MgpX24xVmIe>x@q7b~0GG)I+x ziTqRnR##`Y-<)cH4ly<<$RzJfoH`T){URN8kam`Jl^6ZRZ~|njV0Qc-T8d zEVdFb7zCem0L$v2Jatb3HaqnrKLOjB zhBWxDhI|aMlg>p=jM2;)OaIK9I(a?tJs9MMg&moJwkSY&SA8DxW9(?B_JUF``Nzvz zyfc4`fRtQB@cU0mb-efPg_6FT$?g)(A~&Xt#_?++&`$J`P};FvfL!f_)x)?7;OB1+ z@VW`sH0FfK&Iv479?{_kt9K@!!M6h=y#w z5nY$^cH3Cvxy&_=BrW{{tnuVj`?t24g2Ji&87#l~>wBDhjK;pp(_dNrPO5_U4@Z?! zAvK#mbV!4EX>S{2PkxvnMWFC}H8p>|xte5WIklR3aYX6%x>Y#S6fFHbM8O!k*hnL2 zHCdnhzRAXEfO~YzlNq$XH=*nPIVrWx@tQH(e^Y2z#uuK~CCDKdN(tAIDwyJKfcKS;5c&~!B&V@C2)cOPaIRJ&5?U-JCDKDZq z=KGefqrQhd3OzZZ6xkAFvOx@Y=h$)-N3pfMua==VR}YNdUSrMMB*DI)X#`bMYL=D+RBTCR$R z+HPL_)NN+=BD-57=G)VW_+sAucixBG4=JjT&J&Z2t}QIleTDJXcRL+YG=6+%3%QwM zq>ZJV(!z-9b}{c+l#El04&!5*v-NuaKFakHuO+((iMUXsuL2bjEdli{4SvRn>MEZC zq%(iUCu~H*%`S>D)ee_uI|<=%PS;B1M?Nmr^l_>$92U0dt50Hd_dD^0b=3OKNxe+S zLn)cUQNCWhX#AiP5rZ~T;uEx7we*-j0|qh82oXDO#hCcBMd>Y;QpdSc07{9s1S~8> zm@_qva@PpXI?5bf?xrKeq}|1}gZ<20h1H#p<<7+C`zykP94#XlZPDalLD;#!xoHFSN4!Cs&VdaEtHGF zodb{oP+ljLxFxJN>?eR_C~ej~DIS*H{SKdN;^yKoy>gXt0#97OHC?_NIg>(q=7Aqh z53WD@iXDsQXv|JcS`CZgR&?%OO0+sK9(Fm?*SW~${JpfRj?nr<{+D>TH=S;Id{xr> z(wdRzg{ya)JEDa@jS@J%4`MXyJ#tU$(+`F)+&09ZJ=PWt@0B$yCo?>#OZwS-NQIWf zw0OvCTWGOw2D%M|7+%Lu=CM1w5q-MEo8{oTX+AFq^vV8Txz0i&D*~y}N$y0u1RkX= zg~h$g^3QFSwd?)XBNejSbMX5$OhfneN<54|%d>n9x;a0y(_ooNl~1?WWMA@diA9I1 z*Xo%E>9bl!U1kl-^4F!iYQ1N^?!oKM&KhA3BBPt2`Jks95tpz3h{{e*sBw}C9UfnO zcX=^z)NRq!ESX(&@buSL2<5w@abu#~Jwuyiq2BC+uf;oJ9k$fl0!rLOEvxsX?*aLl z%OCKNoYd`}u20^R%(Q%r;?J*$ck7g|eO8cpBJkC4bgjZ+#i#dWvea`T1An?WG^6u* zz$0NvF)34d+GMkI<NX=f(&(DvKKb&PK3&d|>$ z6xoq8MfUMOqZ0K@za7?!!xCmr8r;MQs<#6(ZGKAM2^$N@>gbA?)9 z(9Jr(2GQX<7pOw4l`X`7-Y!OkJK4^mizLi*?c4B*cM(+r z6rI=ZoXhHm^s&M@vAxpJvK? zKko8yyT-x!Fy@l~QLkLInEj=7KRME=$4HZkr!mnrL74 zF{LIgqgsIV2%vjudT<$G*%K8K1geLHF!-_H@mj=`W|E`tLn$rkmK$kQ(c5gD84`_s z{@;7@XA?UEVoN_R`;sZ9lU_?+rrp-tDc{baJO ztics2^@LEOF=wf?AzqQ~uFp(I)J)NOVvy9Gu{vmQirwO_dh(OA3e25-h53)zpZ6>} znItHTIw{;x6$#8JOu1@*$c5gO{!aYSBWP)}l9k{vdZB%_=ExOg+$B4a?{&2LU*k_d z+HOfWzeX(($daCF^WtG<)M{MV4i-iEN~NRy#XCwE`o-sw4*&_eOds!aKR3O13q7H` zlpwH4Gtxg;*ZM)hO9Ra!PVbYPrQwV(AuBBzUm?R2AMG}2pJf-#eX~sO8-Fs>!NZs( zcEARgcazq5eVMzvo!f{)IXm~=P!v68s^B zJyO5-Iov#V+djUeYrD)S^=+b7e|tufFh#0hP>KD>K-`-$&F$jhmrl3! zd7jzvUe?~eG5p9mq*w#N55A%zx_nXLhl3YJ%$-7X@AQPahn|eiNntu(jIJp4{(TGY z1y3rjj@gjB#PsclDO{3n;$_iTZQs53G5q_PF1=%A7AtC0s{jUsJA z{n?iaRG-U=mTJq!eODJpm!(3vBbAgLu_e+xgzN`$`tzB^-X#X7##(3#5Gf~O8u9~N zL_D&~=9v3-lN~Ee*M?u!KdKs;B&2gucNJ6st8B%yT5Cp_#%Q3pvORPH8MeNHJ^4NX)?}yZLr`gIy5FotDA}Ft!QVq zv&2y*d2Z_TSLN94hWv+;^wk8tCxS9mT>2(U!6rG%;j*bYVyFYpYGTrD@D+6EB!N6% zR#nm;!O89>0;~@fCx^-r+2D@W>$EYc7Ce{MW`cEeC5o=b4?YjL?eCC{=FO^u&#`=O`9 z;eq`!Ujb99rk&9ssBuYMoM=&Lu7Ch`uaBD)C|-@h|PVLRc@i&2Fz z{&J5`Z(maD@GI)x1(fW3y^$9YQ)`RuZYTkYz|A>4GYSGR9vca%sG=H)v)Iy5Ti}2j z4fst{1uff~LX6BV(nLyvIgWDN)-U&lx6EhK592(igyFjV1D0|inwFFG_~G5h zZsHJTIK6V?Gv1rdiIH$mPblP zK@^R!R{mt{;Y~(3ko+2#-0Z1eZJ3P9NSvCXkR;k65|x7iefs+{_k8$ly0441L~~bF za~BrOZOF`d^Nf0EeP>I}vq}vS(2cTL^6Nt{P<>RI=Ze}18W8L@|4OvmQv255)i0?u zH=gH~AW>_B$;#kZA5hV(d3~49UaFvs}W4%6CG>XkNL0XF&el3Eh%BgU#fB3_&w&V_!yXjz zpzzoqDM*;2i0JVjm^AlwRUf z1TBFlmxiDZo-)~Boq7Gl459J($%zyGw-lZ})>165qK}tX<95!yx`nBR5wo|$Qh0b; z@+uRBB_}c>R4$9Pt3MEhOFZ!sqhZI3W)y4(TFF~@UsPale}fx-Jwx|M>)u}GlCP0x z+`aaei(DNuVJbrq_kd64S^XFK%+3X4Yb?Ux209ksY&(!=B`}!6HY(5;>Kgw#*UNxo z>}(lVVTIUuKUqmQ)K6^nE_h}?^MkK>zgU{gOIrFd z;~z8@3aS}A`at{)7OySyEFAok=c+;M4^rfSCdAp!tj9V)7n~c$E1JkycP}eY$+4N$ z?Ix)%J>DjP5>2(5EQqhO!Wyx8EIF)hQo>&-8aaSM2IoSrHRc zw_Bm2-%k)TNWNzEZ7e(Zhw%LktBFlTV$=7XDrC6(vWkk`6_&A8o|Qf~bxI6B*7|&l z#W`Rpuf1jV3F+jRb_lrCUb8XYwUFkw0#wNcd|8Nf7#d$0zp71HWIh*(YA~m~Jk2x8 z=2P#-P!u=ubiNYaw=kdb!kQ>Zj!$@iVU#c>+vEm(_!)2TmxKEk9q>6NZ_eBoOp;A( z0Zz~r%E-0v?GaV}H(c2Mj$n|gifT~Zc|7;e9uZ$U+?hV_L}!27aE0(<>{42)hTX2g zO7#Qs(}7eL1)7M15JQ=Je-gI;OsO4*I!Yd6AR!w-Z?im!%m?tofJKKc>AhM~F4dtc z>af4y5xp_xrJ%gm0X9FcTaU5wwf`MDB3nEMC@{FX;YN4N;}2S?q_D)ImO$C>CiQXh0) zY(E;20Bxy}N=YiQ8l0{8@D3b;6iC{G5cW0E37lvUX_mAJI=TabtyuYQIKuSL9br(r zD52@WM{!j*m#*rbYP*}KeUfG}_tgbQ?S^-iSp> zQSA_?`c8KGH3sC_x0s6FyUA4+_&A`kBbBW&*u$#Nm|2FpAkw>)3(#!H&(DY%W( zSucc8sly53&FUh9;|HEinDmmeHs`f2W z%6B}~YBocO0}vskp8YuK%ETh6_SSVxUDJVm#OPn~N4`+m3g?5<4oa1?9m(-oGF0eo zH?5Gj@AVR2)I&+Vvz+1U^~r%iPRfoC$Z(pWkX!DxTFgh~fZiefpd!j{`PT*WS^wGY z*A^uc2-0|9oH60B?>&Zy8d`jF4e7s-P$I6dEXym=(Qb6)-HqF%>P0RkXCqEm+tHuf zF41WU22xH9J3tNzkOz8PF+oo8Xff08m4cPubQ;L-E&uOqEEzTk^Dsr+f@qT@^3lV?RE-+-MBF#-*V*!ru4bIb+w!CbGud%x?tV(7K(meTOH@451_~ z6(&+yOL?6V5Kp;?{e!dFjDfqH;@Jx|=lc?uxXG&%z%<`60*%(Oj1{MYUM0$Bo(pTK zs73CGJP@qUACoG4K{Iw{RALd^&ZRLNxA@$7?E4#Euj@KMs*jfQ&n)ZW6rz8vg+7tm zztD5XlN3-OZC2ckNY(o+Niu@N^}y(~d}7l4G@OE(!BD_PLvIca`w%7k)1t_@X+=8m z;3qMe2dLg*;(DC${xdv}qK7c)=kGziKJpO)3Ot~1CvvAf)EQp8rqJuYNY0ThK|^ZH zN*h%9gvHggP5oCN0RyrX$_D@rc2k9WtI1NdKsk@1USL8#5((Vh6}8e0&fBe0ao^DqtBDiU6@);=byB`*>#-Scmxar$m;ypa5xuI>KMDx zFcO%2qC2}H8_`wpZ71USP*RKVcbMHCu*O4#C`ulk(mfwg{(kKSc}6UOH+i$xzki^h zd#c9AASHFO{!7vk@ELpQM#zPpL!iu6jUFo3Edo(}a5atTf&TN0vn&qD`00B<%sBs= z+!Z&aEkV&Qsd#s2Kshz}i3@jz_m9oNz|WYev7Gu4Y01!=K#|(&53#(t&*fvEY&b23 z4>Wzf=F=^e_R?o)2!CVfSVBEM{CD~lNLC%EUv++2us~}4x2PIk0#IT@n7E{?4&B3o zuY28X9XWo_Di$BJDI}&UEf~qC>;@%IDqc}mIww~K*WV9OSMR+T-W827NNODF=Lk8_ zc#}7;5f4v7C`5K;ubSE>7rnywP&U~_c7yVvW{Z=jH?ES8sN6}W9hR;zNW4V%|+x=-47x+n!6`s zuH+6lnU`M2kjp6R(p=yYD0#TU zp{>ZY$m9ybNlL~9>joNlXfuFTS=yy9Cn__Kan*zKcoaL-5lcSxSYs;gRX@=h|->%n9c#r9E}lZB>gvF zYrWcE=I790NIo`PQRU^;Hb4Pv?VXnM++CWK_~&opb-ouVrKWA$bwKhJDo00OP=8$< zf*373oqW*w%{2`BZk2mM#6(?wbF!ctrgzq&nqM(ywcwer{-*nq16!H=_5(b_vgf)16{YhBx zR=Ma3ZP!wuD!w;%asGqG!zI6_3-2Zzo*i$h9H1R)L>0I*+S5 zMDL752L+z-jE1qJ1A_G3P(akVpHSpD9*mWHhbkR;| zvX*p#Uh!;B8-BvdmAMWT1?XKhcmSqb1q@NH_l-VqeY#7OX{-1qe+HNyTa97;uvzlC z=WFDWYMKgP^Ff4W@gojneY*|0HN^R^#*%EoacWbMPh?7~&Sc)t`-lj7ysH;k?d2-x zvD#;%M}K2zXZQwglf8UPRO!NU@v&76-T%|78mj#XP60m1Qw>XX&eXsfd6o2+QN2$G zsIZddZeB$n|I4ldi`lvE_OU$h^odK3Q!!`_GTKG<8n81<9OvX;9Agvyzrj~7EWXtR za-FrH!q6m`>w*7fhx>#$Jsn1VV&mLD1JdV|Vhz$A!&e&c^mEPc zn{4@|B(>kwGGoDT=K1oNYPV@T>*34%57>|$DDLqUrV;PmQu*)=l=?gVWJ}Q4_S|S7 zXYi)k7ib?}atu&ZL=)Mvv4qMUR9zpHD_F591wIg*bSM_ZcK=eKWh21}0^9H|7=Jkb7pH2ZqUBcOj1L zGFyaHr57K?ZLZx(2Y2k^7d_|QgR3mKJa*D{`@{J}!MOYJvv1z=xhNC}R@Z(&m3_+wIW zGi6uewk=9*5TH#e^t;OUO6)ZA`+6oW->LP#-Ov_lM5+`g#Q_xgb8ls;5rtRuz<@27 zsX+n?kPLkQPPGRtdhhJE7?h-&uVv`qsI6&e9_1Y z`OxaS<>b&9Zp8foQ>JIW+>@YyG8RE&m+|#mZPVN0HbClo6~TmR`4*{Hby3uuZg1hm z$3FQHCr!mq*}Qoa>TCz%t1;F`6B0G4+uW&4wLicz#BrFIS};X+#2h^3$yYu$t53P+ z2$kua#wZcTXWOUwdhal(0h;!fMKj+mC6G9E{b=bnw>K#=b_2E>_3m5s{57YS+wX-C z>P7vf@{T&c?QAw_B2&9_MtT*DBk}Exscb9S8&uKGaWW~6aBCZot(L~FUnTe!4SYjQpUERcyqm}*4f z`mS?X3aWe4mD`BimvB;jnyU!ZPn&;l$j1NO6V2tA5VL3WgV=K|v~>iQd7d3-J#+2g z)3~>2d_|iO^XIhP1md`>n5g0VfxMcxSOXx9*P#OiMd+5n(R8To;0PeER6_ovOFeQge0~3Z{wc$bPsx@LEa} zGL=89UKbYDu%k-#snzy0CXmcZ1i+QIJGbX`lD^>q!ctKKWOe1n>opJJi~vn9O^(T; zif~hfm7GN2(011|#O0lwcvP5Tq`q74hzb^81PL_Y{v@{({!| zA+#~cuH;m6nYC&w_LqoD)q2v2AB0E5Np~hnraP(^C9leH)(wyGH~Bqf%M|;R zdxu?2Vqj@ZhECjith|HjlS?hkHzZ0>vn7|cFG@$XcYP|Y_}A(6pkSPkxkH7g%k!ep zbFqp=+rW;vxZa|Z)LL`Y;^GdHaB8>PuR$8_7n!>jEBi@vr7g_wbiG`BE}Y46ZKPG{ zP0#Zw-QmqupU(*PkQ(IHTR5M{4c8iErAPe_?5A`;tqj5H;6ZC2BUo`a!9^_Epy-4)g*1N2;`0Ect6N_g=ZVLl>6{ z58g|2ZQd@mTEPYdv(WBJ{ZX7UCL;FK3982hn4&g($o#&*^Cyv%puxm!buflcxL>V7A^M;E)3lvQTc+VKv1 zo~DfYUhw92$ps81n-$I{-dUQXy)6*+!<8LT`WY(`8NFs6&;o{iArkJ@V9#cL89{qI z&5hfxLx-@|)y6wX5iC@+dONF<7`AB26~fCG)ot!#^YB!O`B!N58t}T7C?rG2eLiQQ zK#p_1A5_F}8s+jZ{A8&z#+M5ToBbV2W8nVFa8br!l)s?o-Fxp8+T0(JPo?dDv8R&jZJ_a(+HuXA%~ zdc>!@r)){)m6n+Tl3oPduh>Ltn_0se@UqJWHeLgjiKR;EmsId?c!dtC zy~WfJn%PZh)b^9S=DXOpv&MD&vrISb@Ey2o4Ag9H|35S;=`iY5K%1-UU* zkA*#0p6CUcI}Z8{_(TZH)tBr}l#mYO`#mm-rfan|Fqa?cJojpIN~xoMsc;6qR~vn& zXa82Z@uE*~r>tf#&3w=F^QH`UDfQQ*@YRPiMV9WyWvLiDmzVW&Y<^3|H$NXE`e69D z6k=;3C|&;yhF%3I1s9Aw;ONGEq1%w%oiJMkLIrCcQ1}Gve%V-e_N@`gB@P|6qz^=) z-1EAM$~lxFU!3VK9BJKfgL-a^dekl? zf7y+%R?Rr;@p3%qg&OS*da-#wM{K{E8kMwB@>#y-RI`y`-r0;bIOCIUnP-Z5Rmx$) zQtEUQy!s`UTJy4TWu~uRsB{SMq^DxcT+Wy2svWkN0^SrEcK@#=lAr#>m;iTTOqu}c z+c!pcYtnErW?{9*zVzM{e`Lg$m?QYh0>zs?pmuw7S_|mlBzMOsHMTiQX2Z6*;0z!K z!ucoYQ}=wWR}}yGM)im@*}{Xw*Z7{$jPYpg03OweXLC%St0_i!Pi%WPQ<_Z#y3e$K zAqkfZ_46?Pz8lbyL{ENH)ngA?SqWO=XZF42;-l+pg))orksfgEdoljyXVq?*Bcs8bA+^SA({9 zC->6-o$moa7XcN@KP3bIlP&Z=6H5jmK08?0{*B{UBl0##CDNa!;z%8b+a1)suwOGz zNm^MKrH&&>VW|$r;N6Y^u{59ezU;lUzQ!{6#I%UFX&6miNY$XR5|l4(Pp>+v zIaJvndVHwIKhF%kG6WwX*(5VmbE;dw)7t9Uv93g`6evFV+yq+k)CoJG-;OLf z76Lf3MpI1Xp1q((e74!6xVQyED;E{o$ZL3cHhCK(Eol)9EPEd+y9XX%e_iL2SNwMGqy%>TS-Jzrpw*+#g`q89rp z?t1!Ya=JIRMJ*M%Gim7G89E52>s{2{~ap_{2~M!_%GDS_W1W0@*5z zBRpt=0=9P|O;Xs}H?H+oqI<|%;HG2N*0Pw9!smN5=Wq&n7NY?ei1hq$<`T<~_ljQW z%n8J#RD+Zf-U5c+WKWRboiUQ-wG$0Bm;drg0ST001-`jYhocZz;()A%+5Hi@#{;8Q zkt2Rx#f#_!r-O0hqgp>zuzKbPuQTwax<<|)HR&m1Hf#aWHx=$FSaY*lbij)c{0`8) zx_5eGJBh38T;FS6`rsV7aY0%18G*WcKVzOQ`GyFV(V;R^WtuEjzdg^&e!X6U%h5Rf zepG)B-S8Y>5~WaEsn=HBaMFmkKl7>oj&|P-Rf7BZRn()UFWSwnj7^6cUpJgMT*=n-rlVC%mK6?3q#U`JmIzN$4}hy0$mG`D zlSVhc)sDVik-gZ=?VG=N$#nT5b#=A4xLNLA4G&15`SzEh}^qp#f<9ehK;9Y2_x&b zI!&BI-H8KGC5+lru{$@~3_P`a;3<-U!HKWoKqZ155pw?m(Sj02^6w++9=gxO$X-g_ z6g+))w3_l#BTxa2cxvdx2?m*>?NBG^ex%C&n_H9!lmIT|NlPCAF|?m4WtozfaruvJ zjjLwy3Q#+$peh{W{B`BqxV`6!W8VWk=g#HA%Umj^clsOj_e`AeL_#^sQh>{5YdeQX z_PbkQHYJj-GHNMrTPT0h9d!~3q5bL5zMEXa)bAwO1Ltr(A*J3PoQ57V>@9;=Uv@Od zA{BS$Ez>*3dFC(Y(1orNLWuyqB=Kp{Hl-8PnGjqxOW>B7VERKi^s;PD?Rz?k_Ufn$ ziE4xDZ1*3W$fGbAx6)$PHNstLFO|Q+4(*SS6c%>2ZLQ|p%||K?Z1y1=5&iT8WAq4O z3Ij8-Evh2KVU;Qm*0*FX`=Z05J*pTb|xDhH-yPM6I*h$X^ z7ZhyUrI3V?aYS3L`Vr4XQY>dd&(!_d3x#(bMOdY(_c0%Wh4*V6oN1M6awf$wn{!jc zo2^nZ=scGtU$4C#;8VPG{3+_HNge3&{dUE|k6kf8Em7Y+wRHk>zY22;!ykZ_i{r>! z)H}``?lPl;J1Z*)Dj}*DnTi6`YCo`4pNhUU1~Ga|Fr^W;y(ijA?+H10schT<5pKZJdbvf7Z7=W*$pVReNjw8{_4_@k*x0 z-4*!486-3x9+v_;aRTTunZ#~2Sg-=Zgil+kVJSVHFefx;M&Qr}B;E%<3{-FgQ zbE!R@09wy(MhT)YLi8NrD$luNe$p|0hXaB21!}jDHF*A&`ULVkYJ-tM0i^(+WV@U2 z?K75|LyziTf5K1R8zRETYM>GcCu1BL%l-ZtOX5$0DmH{y3X0f3W(ICdljrGGH#x&n z<^Kh*f^mf2T734;TmtOqc_on$N3>lP(r<9VJngSKpuZW~XyOd|a2|5-pgXr3`4Bpf zb+bY6d!Eq@1~eG|Vx|N0O!n($eofpl?8Tryj!BJMIh8tY{0c9IsZ#v?Ga!V5QvIjl z|MQnfhD&T5w!xkP#KV7_TE8E7rGI;?|2Ne6|LP1Aokx60vu$eYlYHOgO=o6e8yR*} zBz-oIRIeZ->!7;;%OxD-YsF6yxWB(J?diXXlkk)l`$P`0(*f>^3YfGyn0Rj4jAWFs zFxSJ&;72T>@>`fevh9S|hj7^lIT4*3@s3k4t*?D~8LP0Cxdo@TL+K3EWc|3OlWST+xtUQ1 zHXrbLqhaHlgy6iH4xgs-p1B3VaPbr&BU&qNM+2@NUahr`L3vpPA8l@hA9%eP0$7mU zd77|qc)Dg(22%s6HU*PNe+hAWr9;SydM&DhA4Qu$ylN=Rj681KID1XqLPR5SZkc@pABJae!SA?1}B+*Z~s{ZS91Z=U6t0$ng zmI`K4`Y=$!ebM&ei3VrDxB}=1!06t=J4}UTO%qmTtNlbg#mr~Y&hW*FSx9CsF8j@O z7)agse4HFE#nt;1YdA44CJcgp#@999vX539(KSlci_M7Za#gwX(oywH@m&NjBcUO` zM;az3Qt+xkV>EV&AQIK==FYF(^)N#8aX-`0qsi%j;Xvu9yYVfSd2&OV<|%Gjp@S;l zxASqY*zLg@PbZzUjU27`TGfpp?L>-HKkPX*$dRQo;N{U->y8N8KTYQL_3Dup^11bm z<}JUSMC<6?a<+}3J#cjQkCoaB)o%0C?CO5=gnJ^+F1G6YR3}WpKsforu{#_pSQTh> zztIIKD(zqu-tqBAE1}ulw^T2^FBX0yra0oGsv_6b$NPDP#b?Vd#)AhaRSMTVQ2O#Twf6pA9TYpC|bAhw-4>gj!fitmR{;=c&Hj zep;PLh)=B8F;!EaA>e0DoEVBZ*4%hsj{dym5sLDYA=8;V`l3xTQ?8lD$PTJ}vx$mj z(|#&TL%TLCy@tJq2-MS2W>$1ggLpRQ^0&^|RhBUpccOB>pf$r(65*DU@2iAlRcxN= zn7>@U#3Rxn=uJ^uyeZMU8K87Q)q%#{D{bh{+^%(`$ zi7^Jvt4aTf-ijJ+U`|~q(tL}X`Mj#BOo~RH-$OS;w%7cK3GkWa=L;%7a8wcL8V=66 z!>l;3!P4#nvF_{-yhVT(Q!|~F%}bY@-BN0GGf{b~o{k6A$Rtv?Z?(8RhMHnCd(O4& zLES?(hn8iO>)q2*rx(Ute83>Ob0>-rf5$p~OKwgA(0kiGtnO#_l6^!WtzwG&mo8ov z3LQW;J3UPX_w37X0JE?mGJ?-rA&<# z0hcAY4R%uXde_X<5XKH=3^RIaXfklQtCqtq+7{ztm$4C0k;(`8w_;u>qFEIpELksf zOh>f_ME6-+PYub}HPLA~B5}%&paY>A8iGW>y8-qv|4Zh$G^x?W2z6NIa9hfIq2VG_ zDY-yTZB71f!w?>KqJpW@H0(G zmC!=>a~yUy8QlAFdObHD0)j{qD%U>d>lOTZ5@BF)Pp^lGF~|$A_=2a$*hkx$Zn5#x zz?CsR+NUF5_*Uv$27@eGn4a73nsSc&j&ZC9_un#I`lJrk3grF97^BVa{(K4)S*kXr z?x7lc`{Ofi$8g+e=fdovKc5eAL?{8OD73-sAr9!BJjU zK|$Cb@DmTeAX5SN*LJ2h?I(V1Qtu~}+s`blCwpsR-g_bdoubDGgoEVW{o#*54Lv)^ z73sL!w1FU$|0k}k74Z&PQN1)kvMp~rLk%Onnc>uFC2$NF?_qG*{9l_1{nv`nPq2GB`F$>s}bl*Hooi}Qtn03UV-OH{4mKkh{RwmdP#gxYm4Yl58Dc>v+_fbYD? zGk}`QZOtdup7wqg16Mr2zz_ybzQdW?=Cu!a;<#zdA;eU-DA@UKdGNzXk1Ksh?&~_2 z@t_jrusDDw!fBvQ8I_OAlb}q=oJT;vZy5R1$tZ*I^RNLdDM2`Lax8Ax!Alr{g1kY9 zd3jaAHVra0yeT305z?gJ&=jq}9>r!tDGDLGqLhQRj!zr@iCnMEx?lAmO||gKra_!j zUDv6BJ!pPjOtt-@vIU%WO4sd0X^V~S;s7=XN0GZKpF2$+MH#86y5)U~s(iv9YbzCk z$zYv8H#*g=k8D@TA@PnE27>INVa} zsmy4-$I^$YE`{m!eP}KoV`s0#Hv%G$Bp`+W*9=tdyenG4o%-$D^rG@A7aDqS=mpzY z?m5Y0WwpF7x46#^V;I_(JFhwK+e9O?oFXQwszWkyl!*Q+q@Sg0vLgv2TG3gVWbjE; zx4V<+yEE3uI!4YF_Nvo_+1PUG6=%@Hyhvq82Kx?X4;?h&$@O@cTkt%~-Al@banlOz zHxRsr{4{o(rTZD(gauz@k(H&zt_N-6+)RNe=B0h>Yl^Wx1%ayUhunYN`fcZ(QT*^% zVA@l*f;Wl=+gzud_^Q`M#wRrn7@G8*a-L5usy4CE`~1QEL{g^M4B4ajbjn`iy9$y% zqZF1BQDo-rLQpTPZC!Hav0fg3WgG${t8n{jI-2_7%8LZ?% zO2A6@3xSpB#7X3B-z>PUd0t$K&}~J%B!#LM6JkdsmY&h-D>8z1Q-;}8`98JraV#6K z>U;zieDksS3fvdfDRJx-^e8HJ1<)QFkshD2f1t8?-L+?{@9uq7GUC1Mj8omYJCKeu}c55b(#8Dkm&t1J_h)@-bwxd+r!ls1?W#eUdY~oG*gCA9`-LwI2RMam<8fcgNdjmJ% z_Lf3*R#=S_-L(2m$^T(#L;IWmn&dE{vXoAG*OT}Uef_Mxms(j;;ArO!Zyv*``Gzx_ zt@FTKZ4hH6jhcDbVn33p0GsmJZM}kNkiM@V?4RZ~?YXk4H2xSEbL?T;WEP+GxsDfWMLwcx&Q91^W+YsHpS-gp^hk4a zXwp{=eTdI)v)m-Js!Hdv_E`X2ef9rbqd*Z$C@VrJWL+rb_tX`-<#Bl8dHGHDx%Q0Y z4~=4nyfU9^3OmdpcEImq7n}A3^r0Ns1rc=z#6Q;G=>jgRqg_|M&=@*vjX2iX-L7Q5 zGW&2YA@+L;S+*tQ@tW`Z)q?J4gj3txVyzwx{Mh>=sA@|Ha)L}UssmPzXD&32XevPz z)C=L6hRSG`)uabbgRELzQ*PE_wCClA&Ln*(lgi|dV|Iag#0w?K0WWY?Ti-_=2aC=; z?G-rZ<g`cJ|LhkKt@KPh6Xw{t@HEEZ+ zm2JFCha3lG(F(1{OFzD659AsJuL4rzS0u3qMvNflJu)93yC^5wR@kHs3_+(YJ{ElKt(GM<&8l3XP?)uY=^~#syY& zjj_{v?D>Q##VpM#??!#C*?9yJqIV+=rTKH&n$1%2PO;fTd&D;L<|3f{w$sR4qSqyp z&J~Eec+7znSdJMTv)t~+>|pYYtqc_fqqnQRqpgYvZxbnPN$1(O-MK8SnVCZ3rn`JoDf=CzX zJXqwFWZ?ZSM(f-yDM(6}B!oG>vsqqB6ZA(cEt2pp#(aRJeTjebuvBg+Kv1ruQ4Zr8 zv^XCu6rB$!1G&g@h=M%dKt5=EDqS;Ol0I@+qqPpn34@^xLrsVb@2Iqz6)Uoi0YK6V6f#O(fBzEi+HS!VYPn@RZMU zG11DBE>5li9WoAvW;^5<*Nz08jb4fCE~LA<{#T~gS*lI$2A zkF!%2GwRbk@A)yJOjMwLT{%ss3b)%Zsx{A68G#p#IR1jTt7xli{C=%xvq7%nLvop? z$sH5o{`+TaSd{k;@%1#9so0|hL!73_K9mq9we_Oq2g-(mXU3=rxAjd{LwYLiLKJA0 zk2>+=%KOg6b9on}V~XG0iRP4ecT7k1d*9I0Q0zhhL0QM}6tAPvO&!R(eN@fS(L}+Kz6XpE+#xP_@M{?m<&5XP)L|+4SgQ zU;=zr#Hk$=R&iJTXxt|HCuTs z(CLm``PRgZC`EGErvKZ{)G?#5y>L;2l&VDe<{FO&!n2*g3-2;V#+BT zMh|Ao=lgPpU!%^JoaS1VJuqqcT=d2Y%k1#?*CydA>O8IwGSLRvS$(ny0!>B7!mlglR^;&?KT`w#3AoRLoiA=Ftioh>hLx?W2Kk021Y28mO+uz&SEXI$e6+)gyluj3Biu`$WT~a z)Y{g5v#+G`<2B!=N(Cc$N2W*IJidxu2tUp>mq z!uI-|aC2lof#XcS!U5koJ38WNE|%@$YLMfD2_d<>68oezL!GG9@y50<_h!q5#D?y$1*j(x&0I&$oLYva!O14$%&*#VVz=6t6U6eCIKB@A0wn7Q$3}5 zA#YxJcgHokksh4rJ8h-;)il^-UJ#s@<4SLdh?tdh%Jd#F6Px=sFY!;J6z_L=f9`$z z;C4xCB*bS~P8Jb4+jd>L%rn<4&LN@LeoZ7YT*!RM4B*{o&#iNHrx;Rf@m8A0wPzbd zb7Q-}u!?-2F&rEpcP&ll(sNRtaL#)eX_8y-*T{-^;?4#$^eCD%%~~naB>3VoJmuX< zA2b4(QYq!OU2Bz6?uV`oC8Epfc?;m ze`M-BNUwm~=2a-_$yaP08&H1dN_v%3`8ug*_O|ixa-(qIgXs?MPL*9zjP;!d1*5H!5;@#tKFGm3a4zMxLG({u7?XkVyH(j0FvhO^1 z@duUeCEtkyLP!Lr6d|L113S~Cg3XR@xszeaezu7LttYIh(xxz=r7dxKaC_$ORQCx-6_*o%*A?` zE!9W}Pmom``Z2Dro+Pq+su zl5*;8_>~C~CO^+$Ps_C#aRn={A$B%%C!K~jC~w;bWBaMO?H14GU_;hF$Wg#Hb8B*v z)#MM`4wEy$G^A*M&+x0j$AQs=)%4mRw6D{8UBt5F4!vs&VxCHhhG;oPvpJSDbb zD;C5G-!&ZrUgwcqaNB_}jlSu6XuUnsQffU{Pr~L?RC^LfD$QRM zLi>G_K?`s47$uuePtdRgA=ZS7RN$sV+3&S~b@?tBXl{#NBx2&co`J%j-#4vT0^u_e zPjBGS0Z*V7Wnkz5fE7L9Ct25HHQj+4LSYU08z{crjtj=6RLeJJCjHQ6Z-f3nalQ;( zwTxfe+`ybK;E?)h7Vp?~2xlY{_~G{I7SXy;nondwfr(Zgo^|D-(e+FK96Xw}nul zF4@hkxXVIwDd4Fb5BW-$4XDJV*z6#(=Hc+lmTkE=lEdm89`x1IC>GX!)tR*Uu^Xh45B zPqZ!0-VR{fzuncg^y&wl4)Da;wn-@egGv5>88p8c6MtE7{`-CZKiv4iqx!E~=sm_` zQR#!Gc#}I9_W!19NVrisWth|CYQ4UH{IqCLq5(mDo7k$WE6B?VS;~0+my7&1(vBq< z=`2$q&@rwV)N#GNzkh{}n;)p$IvYaX`}@}Y986S%*wv8{x%faa-rt|SsiK$Vx98f} z$UsvdM>X{kME{MOvK#Gg0JWW+b%uF)U1&-D`^deDfIfx|6Zj#$QordMpc=p}j=8`F zSG7hb6#jO3+l;T)fW!bC#U6vvBQ0;wJy?gt8jkPfE{_r za%&EbQh)B=xw(b!%IEe4i_aXf z!5e^%@F=%tyJSxIlUuqFQ4eLc;;j#IBe!N%BtxQ}cTeAW^SWTJg=A+jakOS<`bZ?Jfm_^80pK+n>Ny7&ij z)eSxQ_d{}BZYZ6IS$C_xa#e*%=f3BVW=ZMA=$HwXyIvY9;b#UIvkNseOj*x%MFdH= z>Qu;qi-6@`*6CS|YK}El*6Hp^^o85?nz85lzxmiiO5}LL!on6M)8g{J%0R*h(_>3H z{03xu?gERF79e{)Ap-5$8=PT1tbPVSDov-#J`omTs_n!}gkBwLRE@5m*8l2%L!ebA zc%*&Kw}cIwGxp&qykFzAUchTh6J4VRcl4ixJrs&?@#hI~bM)va^D$Bj7NB|SBCKyxCaWVyBIy1vK@{xhf)MRtjW$=XsU0H$(r}r}N?M zz2M@5eNG`C>n1)iNqC5tvUOa`nC3C`%@4Y);rHiLV`W_x+Ix1zSVo(k_k^n!;#RJ<>NfLxDV6$BkF3)k zK2GTZyV|J$Qz4O1OI4kQ32&PR4Tr3YAMOGwdB8yGaHQ4`wO!Nyiau2wYPmgGPpgzM zBkaYN3YgYqRm_TJhhzISH3u$2pe|=KyFw0`92D2gsmwAM-c)KHbiW z?`!7{wp;5Z+Lu~CPQN!BJFO4QI95R|aRvg_!7-VO8KLyH3VAEc+9hn6AW&7qFm2yt zA(%2M!}Y;YNhwsWJiBi#@HTreb!qwn>k|@B@##>}59K=-CUy^>_Oi7=>{4RB_vFsk zRb@+^eKry6np8{8F;htuY>(x@x?Ybs-|#JpQjGjSSDP!fZgmi4pvFw_ow6!?6Vdnn z@mE_*S3(ScRYSlD(f2dPuxj-q$)f9)G89k?W{fXn{UPNd7#~PHB#~-i#m%PN>iSOb z`K^aOj;&UZt;|5@GheMN-fG}&b7PYgP^ZOSa zRc2i+JlKDsyXwuEPWgPKi86ylt@{A`FyZT(5qwF|RpZbn(Pv0-I-2?JwveL)~F0c0E7N`BEQa=zRGH z^?R4c4uil%zcY%PX{d_HYf(~Z!KYpOT)j;89dRYV^6C}N5I^{_^PS&R z@&SJNZC+5P!*|>4)jCLdIZ=~0!#Z^_Jb`OThtLtd}v(}=L|Oa&4U)1Pe)d5 zQ@Re$W{{+BCV6FgJ;AIeC5Faz$x;~^7!-eU0zxbQd{TkK1{CN+zA@ZBJH{ydJZ9Dd z{}8!#!7mal8xij~a_Yh@4)WyBOZz`cd?(q6s_t z!~DH#hd&j+O2sT>Uta?##(!38|5bSYpI6IJoX^qKLA;8BH$Y8pZP?D&Q1lyX>@iZe zjnObKY}wmIbQ>^pc?Rz3-wNlv39_1&LakSW=O&$A*-Mz(`?gwWspU3$qQH^LGymkH zw+)G>`bHw+c-I733BauhZ2)GIuJvrY^%Xm{kmgy$-=I0h3a)`3;IO?G%T$0oCa=g! zB=cbPu`RVeAHWi|G~SprWU7RZa?nq+0>@!rdA4`4M|xf-5m*Zx9k1Ok%}T&)$_g}~ z{$}~7+h$A<4B#ws!9~K21_+#XmcUfMV)%jSRbc0i zZV5RYu{bKLGz+zZPX4|iwCyv{msTaI@B%k{2;yUv2u$d6aQrFFq3sopsEik5kuoub zqN}<)WzG<#MfdXdLRJpc8yTSsce|DE+xmE!^)OYmHvP|3FK{&DB zF4guMM7?a}_A447_j`MLsizNq zi@v*THrlWP+$uvQ5nc%GJf=ZQpR6W_oSOna5*Z{54a0R68$f-a^$P|q^wS`vtf#{1mW;mLZ8@PaGXJGvLzw2l!mofuZ+fnl&BZJ4ixo@< za;N83>H5+gzFA)*$HDbv$QpBhq$&_`jD}YbHXfmM1EYo37PCdKyNP{u=6@KsFidec zQEpv7!rNZ@*ZT^5768ayf>78ALsoQ8mhX@^D~s7Wr!|jGVFI_8TOL&6n|Abko{K-x zYucTPQDK`bN^y1yuvxssrsP0fT4?A*t{G)5b>&QS^AzcC#82{-ey z*#t5P@8T6F-A>wE-PKd{5(g}SYE$v&k($k-AIsM#5UCnwo7QDHLZec%Hs_xj`ol{wEZ7FCu%F>W(pk=c2Ed|*= z|1Le&IN``?pSj@RBasK5d^LKYS#%aFxcxrr*FwRuI+dHy>=pheBPS4gYB{SJ_;?8iquU?Vvp zWZ({AX}=$OH{ny1$>CGZ#6rHpKLswn$-wQKdTz<<7E>h09>6EmY3hHMTPR&ZUPsJ8=L(!B} z-bpRNfY_36cR-bN4Xsgh1CtR=fQt}0h*2`WjsQx0i!ZKyV0)dV3oKR#Ew^f&nzOGx zN?g@)hM^IcS06{HxZkf^$oP_ZGk0jHSJ$sM{hV`&*^ji-#!F@WDhC&YyM`mak zdB0Y1MCcS5MygDc_+4?1UnCm`8f8bLo?7%D(WO)xMLB%}2%X-ON?mzb=MJpZmYffW zA+@u89Kxc>CN!MN8oog8h-R(W5=h(d*}!cvf(1kgP!>Q7Ylz8bE@jJ-mTN(UpjN#o z5c}C8Ji{j$-=dF%xFE=ig4iL(2q70iOBEg4{8tQ&j!GG)^PI!t2hwiWX5T6Hlj95wjP#shlo^O< z!gY`ZimjT5YhXM&%cG<9Q{EXqyB(;9A4C3hW_;gL#f0KIB4@nCY|$Srnb3YL;H!L8 z`06p`dFo21hjt<}%VM`-V#Xr5(<(K8CfH*%zUPGMlOwztneE=P!~|1OBoNtUaQ- zflb$RWl%a%1{Kyf!1FtS=FD`73W8b9d{TQb9e~hPd;nfC(ii378Eoruw#Q|npdIMNR9njKV_&MYQ;b@~fe|KilcD%{d$jN&Zm!fx0d)(6SCD{{O?e_yKqQisjoqATn${D*5^^p&t!!H(_ zM^Qwlr}^T-pFzrOE}inkiuL6<91T2MmR`7)e2C4cnHy1XnHbYcz%^bqK;YkeThSo2 zVI%e)1o&&IvSq>vH&)Euly0|MM$bj8l(h3scu7PuLPTiykv0-Ra=bm&WZd{`-{OjA ze`=0hHaydA{+qHvmv$gbUTu>f$BwtxXRwP3{e;rB;4r%Ob%D853_jNG# z$=9GKt^HtT?CMZ%_+o2RADj>RrR`u@2fKJ%4`dk!H1ZrLd`^n7Z4a36*Ue?5eJkf| zPGz^2tA6>uPZN52{F;F3RL<(GK<8H%>VRLnRpe5tj>w9Ww*0h5ilq5KeEu4ZVJ+0G z3k4+3cRVV!S~<0dt9oYl{E*ChTX0+5bJx~ZZ4oJ@e~mKWBe$aVhMkn#aepF&TgIEE z>y`dhG)vr*GrN_aPeja|Ul>{gV7uD=}?>JX)j)<5F>-zJN|;3~F7o(h7Kz zWdEu+-5g<%a6-W5ptPcz;NBear?eI2o;-3_lXV4rQ2KcF+1A7hfUTvilhfa|@aD5} z%oT*4rj1@+Z7VOacu)kc65?kaE`uIApUF z+UFTGK_SF_25JUKf|gj29@~YY_^EVV^1PF1-~+^>r2ZqeQx`5C(QJ9GZ0{J$gLd!F zaAu91I7`!EdECu+2bGg-WuvuHWD3o2lg}h+3*@6qrr*MLVslQIdGejjjmwCO-gWCS z*-v6YJFo*KP$744Na;;hqA9{YDynWhc~mGx7hC{L0-!M6hpm`xO5?~?qW3OePtoiM zphOoq&RZFgBkx+3ik>~BGgndx_Ly-%e|L7fQ|4anxT#n;W2rf+C^8nZSlv9Zohg2$ z0$0S(b|R=%`;0P_YeM_X#KA&=B)6lu%cG}O_PneU4+zG&!gOznUXJIyy5mGIEJa(X zUqnAIYPUXX@bgGhQ`=m%poZDS6~77c?#`Y|cMMJ9-mTZj*19y#*N^h&OXk&-K4*bfo`%mU%eXuKDqmMGkgYoy&tV|AEyt_{JsU+wTF)hBf$3m z;nZueJKz{R>4)2OP2s0`34dl$4RD+NsHt}t4dUdzLB!>OLqGC@eFUo(_7Px5^Jd5x z0+)PBbLVyQhTCr|GtBb7CMY^($|wpa$hqb9bSX_vdO=;p`b^!ZQi~mw<4}eH6*ntk0#L1`un>ym#Pni|us2tkg%R{m z+Su@|EA#{11zuI#D2r>F9Gx^yHYaWZKhhU;(q7;|n^)6HA$}+UcxTLxAiKoM=?CBf zZh}%@2wM3g?g9&%#qDBDfQ#JyBRfq8SQZ$LlOM&ScA8*oOWQ9gd?czFPdOky;fizr+97l&ohQE{7IiK>>ptSt9Pwht(wIvgT*5}SMfFCr|1e=9lcw6T>eM$xw zAoz2b(LehSpZ)Lj#Q&v;_wPE}Gj4d3KgtuU7aKahH+3FW|MM?I4LHEq$5)k-aB-un zKo)ZFpq-K2LfSkEOmtPz9K_H?OZT0o&;I&4z4olEK|@e+Q?y0IL)qU5As7wJ?>Nvb zZJS`7{B=v{A|KBZcq>SC>~N(f4?i>ijpc2(?8Aqf)JXf?Rqvr#AM=)){r)*1(JoLU zEeg5krXXXw<~u8xX0rc=v^5h-Mz5%^!KkGU)!X$*HVy|Dqz$MjJJ%dkV(l8#Xirnr(0?7#c06!XLSHHveJ@~E16-Q zz!b=o?l;MnYO9k1ce)Qda;>@Q7IiF!(w~c>+e3oW_5`Q>d%%af!Uo5Bvkfvyv73AJ;})cnghIUc<+;fx*>@CHz%StCv1NPA!31f4%%#kVyjHMl7-StH z8$3MjkwD+>bH&q_rQoiGk!N<%@LT+a0;4`#XIvYWrr#YVA3CS6-$*tQundt;kde+A;Y{UH zeNeoYSEB06@+HSnf?~xnALL&Aj5~}okEyuwoTR-ye^tX&zsXiODcJi*8g_YDvfqHj z*4r&cH%0~FF>GUo6l3wNtXkjZI!PWdCzpcF!&{us_f~Nh6zyC`YbD%93puiD?GISj zdNP;^uygaf<)HFXF3C^Ab8TZTnja&={Au!A)7~586xbrEa@* zrVE5L61wZv?l`XAYjy7<2;n(h?lkU=TW4N2KDXWR=ZS-woPh?h#;s#Xwsw6(Q6d{# z6gLZ3DpCyXzUITy^$`Yo@eFr?oA5uDG)(q)$#s`-x|-AhhDsZa6pO%(F2!4iw7M60 zvcQtF&T%E!6>7B0ggR}I&zgIz6{S*QvUQ$*9ClEPCg_??^Cm9T%he6_qzO;OE!=sl zCRu{37NIOGY%Fw;LuHPGV_vb?#u}horMwjTtvXbyejPB02g;AOGWIJvp0Vp*z#e5C zC(fCccGgJ=x0@>ZF1MVvXJ?>RVuw9DWtUB90Sr28%|T{&Xh(1nlX=( zQ-MKZj=%=jO>d@%0rCKY-mUF&tE3ONy~ba-`oE4N{y!r*Q9qHK=G8_t^s`Cx$1Mr*lwuR%lYy^TcYn zg9EkL3+{yN-{#gt?Vht>Ktp-@W3u$yh{F1fu?ysN`SexFxv?nQ4>**|)9I^3JdoAI z`^5Eh|3jMD2EfI)DZr$AhAa?AJh&3=wClZ3r|80Wa@+TWK&^%0!)CSXbPdO&CI=Xv z2)ZS*_$qi5vn$N-OM^JaL0C^aN_R1_syIJZ)TPiLR16xKS8Ad6J(K1ASdSqmzEM`R*rzMm(xG zv{?^XS$Dzbd(r*J?r*IL_Z-7+Egk>{KMZ=Nph3_Crpk)pcy3)E|C_>+TMdmo0m?|mcl4Ye*8^WrFa)abGiCh$W);hb#V>Yr^ix2qms zJ0@C_S=piJls1B#$-q<NXBKxTD8eY}q;VuZ{dVE5I7%*Mk+>wn|kP?mV}ay0z6)^*@O$GfV$2vUHMK*(eF` zfD*SF5>?yU+^M$?xgzGrUr8Om@zi9=|4FkRXGZMg=m}Iv@o@u~)TuaxY|U9_T||lr zD}OmVVdBX2Sd(e9jjz!b{RIXA>Y$FF%k+LRvTFuEewe^Q@o=C{-FJowwZ^j#n~iO? z$@uEeE?a225#4;hKStPx-{>PB=ihX|->FIbZk7b}JkDG$1I1TqBCTA1xE7K z#+vD;9XZaQZ_Yt3mwYOia?d^ELt4-4s7%ZX9oVka0AN` zZ8?QTqDvNmjUZT;ez8q~ZPUMjU%*)ZwTVkuAdeW(|DJ#1->pMH7bz46U!!fY(9Hi; z7x`mFggRHHgcU<7qnZyc(RKeHXW@p{N7fZQ76LV(9wmS9PLRTr;lv&db@p+kNBy!3 zEHiK*&O6KlzksWw$S7BAs-R2bc#^w)m6TG{L8I$%y^^5aU}BYtjWO+bX~!v&+GEnJ zxpP3TPxQh%b)tO-gC65QXuvj~7L5*!^CwqU;1#RsQpa-#(3k_ChE&nS;OXz(MfdW60I(_(QmF0_5oG6HYMG;FB}>jNyjjcxl>A2Jq6o)_E9x9Brcm|96T zu4yL3b?8)YP2j3+It?nfI;&IUJiTe5ry*e9!7um7f!Y|~LonypfCV07_*k?}9M)a+ zdOA(F9Sg^aCG|PMP}jYXD}{efNXMe*lV-yEZ~m+;n1upE{re+)E4({Tw4{v^s1Bsr z8^+bTWjf{Y&#ihyH8LntIB)v4%ANn-J)xjNtb(kx|j#r zYfvO&u0?O$WpB1_KAHg7BdrJ+*t3U)f}u7?W^{Xj9E;|4EZ-d}v!jyvrRo-FPiQE4 zW=MUqahpA@nXsR`Fi5on>~~7ab7_QXWT^HY{U8DBBgNcRPqL#v*EV{Vpl6KH<$3dj zJzhoD=ZFi@0{V`T8f70aua2I=QTwXHA}rm+54}$iGT?j~U}C6_+0UC!`)FW0{kA3k z>b=lDcWUwpi$W%}9&N6Ta#Qn4mEh^ZcW{ZR!hEvY9olW~vSpAO1%@36guz5(P7xVq ziA(99`Q4Q;zzS4D=@ggdmlz=z7x`BkAJQBa%W&=kBWo(}4%#zTX$OCD_2xT%s_QBA zVqgPX+p0>Mml1}VfR8T{ZX-;6e62Au{C!!|!;w)^BM#{%{$(WJz9Zj0zP~$ic1Md{ zkIzGqGGadKE48i&S+}rNv)d;IMJLFJmTteh`RAl~*_M;EI2={Kn;W8rb;a6E_CDr# zg!#idMH8$VKNs5)Hcx&swc2IHe)jl2h>!IC@t3-uHf(8tpK!;Q za@6|>milP?ANzUki?$J5L~ z2UsANklKvFP{OcdB^)1E6WDo~;aLl#8<>`LMX58i)lO8tz8pGk^ol3d_$>UX46>HD zqB2kCxY7=EO4yCV^Af`z%2q6z1^XKiIZcs9s4q;9coY))t}vm?4d(sfd}#N9v?{7( zn-eU?(%9wxP3YDs4Wj5xxa#{O6oL$yCBLzAf*f{318h{dl@G$CYUNvgZvMbjk_$%Q`x8CcL-wNv- zE{<-DL0&$<8u>ZYwe-GwZof%LcHW<6-NjsL9ZyI0zPM|wh2{u6IF`>mTr#EG1!YyWU;bYS0MqHjIF|~PLTurAyD;_{$nk3_TQUhZo9zFm2x}jl!v)yweIv% z7u>_x!X(&CTeG!yv|7y=pUP`FW!|WpO}4coue`cjCF=!I@MvjUJ?qnT7#Wy_wPR&? zDEvcvgmDk=MMq^Xj!Vs5K@r23b=SBnwp>0>jTmRiRnEMmKE0&tY&ZV3H4p<0^F3UBI7t_Rc~Y;uM>|6>ZI|)@=Oq4>em+mygZ%}EJF#R~BcTEgXV;dk z?$J3#u)x3Fm7;g=K;nmh$<4dCd3o+v;Wzr1YAiiDvlAo@CC=82leeJm(aNSFz!qdU zp>C6O!C7G!gD?pA;(U)l&3z;Hyn=St-J2gDl%{V@(F7^ZWqbI7tJ@I5zAM#2qe{jB zOdx#xKdOW+mv3Y?2PzLHa`@Sk5sL+&_z|9+|KJDzb~MtJx@TQw2Ll&y{MzmYs-~A+ z%mhI}z#YdAkz!Bz>f*H=&Xh;do^p~wmw(=%$ZIm38||+k4{a_`3X<2T?aXWpT&(}D zWcY`qf?nCI(EAf~pUoc}5c*&Ke^CTmUz|Ityi3ZB-k8m2`0s!N(6aZQtg9omdCV6N zz5#?FID9{7;xK%x0JU!u!pAhr?gJK~^g^N18TSo@RrOpfJ8(Rqz!64bRED1gMe>ht z`XW-CJn+{tYAO_pW;lO0OSi!Ss2E9OFTL9P;S>6WKMc)N7q0g&*r|*cQf|0GqlnoF(US z(oB{V!<5K%D&M0@+gCVzE$w0~{fr$(z>ocb7K_DBg-CD;QOU8-T&Yv_aJu!=Gq#gI zlluVw|M-o04jV}w+_~H+ufdK&7Oub9nF107d5V|nQ%ga80iC!I@SeFmk`J2WnTx6h zLBSVWi1t7m2L8}xHa{5!K)nWvbkNsP-tLQ(H4_%3mH=Lz^~bL&6^x2b_KGdghJBAI zX-TDj`zO+nw4nc^meoG_&yv>};^XrB;rweS`#N&_p8Q+q*zF?w*P{eOG3mPlb+Nf% zgUt{e{@Fr9E=f0bjvSfbAs>qSr7-(ZTE-E*^;YgN-X7loecugw-*@|A@tH0_Hrjl) zbi;rr?Q##4xia1-%Ngi`Tz%#L6|v%HJk3F*n8bZ@TpX{Yhf`AQ&3x%M>HXKukV5ZD z*0m+GMh{09nzvo)KoHNsdBIaJR>fZ(qfrEf|XlD@ikG z;+jT9wmtYAj2F#RcpFnP90bE~#0Y6!LK-)!WPWVF43+$$KYM2S2oTcQ34{PH${v{o z`&lcvfxGaJ=X`~|zn4JY<5h9;g8{c3Rn02)>w>SaOPZp#R9^hRZHk_O@pQ2YN!^>g zO{3jDBj#`9G-s}V5tnt)|1l8&kk;~ z8wf)A55BCYg;ww)OkXDtD4<`CRv)YP5247{%dcsg{)C!}-fz!PqF=BGUM>h~KKVE8 zt3MdNiO%GL66swM(5YmX1dygEp8HcYS@L6KF72n!uY<6yKW-nY9O2_kG~*D;+xm&v zSrh|Ea~KKtBnB9u-D%{tVn?4c&VVz29he?^G`yH+=r|&B-HrdyBI|8T?e`x(%HQ+` z!0aPAwQrK=B$bD!93f`tX|_wF3g*N0>zPP46U1%YQ&YwmJ_p0M21h1Tuf{R|m?4|% z0hE>BZ)5Imv)-uUQ?v=?y7E)(#>Mm_8xLueg;gvc?1Yozewi4XfdIQrq*prAD%i+> z-jtWU%>mo>>j(b^VEvnikwp7uzuCbQhk~!uHt8MZwJ0OS9p7GphrK;Q+V8kA?|F6x z$lSM~tP5ubC5|$L{Q*Ex`b72dPc!sAhAXFk%_-uM|F{2~{~AZ@#L%b;8%p+Dgwx*V zNQU^WC=Bg|&k7Yqb7DV;d(K_wPP1SiXjXVSg{Q9C(`v(^LoM}j9T_N3S~(oo$#iSu z@Y99D&3-C|oJX@dj68aF6|=s1TRLT+%te#7Rf=}$b$p)=-@wsYh_r8bT7j^G+x&Pt zkB!Rq6&C*%F#hP*G67`lQ(awXk^sEZ%>?a3>cG(WQ8Wsz17!fumikS^jfccdBA^1INKvX%rAD_RTWKO)N|Y)fHFQ!`!~zNe(wl;SfDomH zP!f?|LZo*hEukhrfDl5GcLmS6d!P4r?)~5Qez_kkEY@0c&ZmrLjAzdE>W+~f&%x6N zxwyD^ZvA!RE*IC{4KA)dU;g+FxZ>K|V+H)P2Xa^MPp*D=F2(BY_-rF*MaWw&ZQdbWk?$|lMQLpPmo?T%f;|#oh{7l zgnC&gkdkg$%**K~B7fsLyEtK&&&D;lY6TeC9^tY&A-eUAJ3H7`>P}cz+zNL<<@dxz%yTa9|JDYilr-nW~R^WN@%$ zIxj2}PM&9Y-EP-Z%#O8Zr{wd3XiJl%Gnn(%%8Cvy{t)~a1Xlk2uXMy}qFjDU#Il{w zW~#zi&|(Z`-FI?;L{fNZu^3TZ_daN#EN1yuyWUb|%LqzwCDSgDpcV~f7oos*2L0aQWV~n^XP14>ClInLqOtprMevC6C}MX&~lgy~wQ)kI?7+dW?CzZGvoj z&Cd~i1^t6ETRup8Oi&XFM9l=VSJyNf0=T%Q2YaE|WtLPHj95?CeYG`>qvf2M&wNp1 zxH(|8#!LkTZ+YP1EOOe5s4YRe&7Et4i$O5$8Z9 zmVJDtZkstxJLh^bZObzdw^my;qt+%lU4E%heQw5omQhbz>f{4yt&wPY5xER3d?wis zQW2ne2DXXMtRRG4vzMOVPU0eB~_$(SN2l3h@2Q)bqu7@ zchPiRo+mo1Tkk4Q%R2*Ni(Ib_`UF>VE{aC_JWT%~rn|FBWW>H!Wc>FB!SCOL+LE_9i~VJq(tVdL#ivCb2@rSS`%)|kVfi;)`7 zKPA!QjX^_A^eSDRiw zTn&q2ghj_}hUmN5$%{5tmtOqzE6{wt&|qqPAtr76Xu1sE?J#DOtC+pW%K!425Ri9; zytuc-?!->)(KIa>A#=s}CE>>U0BiV%N1>mlkl*p0ogv5ajL3YD=?P-_tF6G~=f$R? z%uUBbY?b7O=aS&VkGFvRE)<;P@j>BN!r}UEN+`ubM90^@i{S8 z=f-ANIt98j7Ho2;P1I3c*Q>VrPN%Wro3Hn?mDREw9F+8Xc{2Qr(E*LFy_OdO6BA)V zf<^qZpFLPZA;p+pR9&s|cMad{9IY=J? z@qHF`<6l*%T?x;EE;OAdFn74)btB}m5UZ{F_=$~r8EGt!tc#T}!U<&Fc6~dSfDLu? zIT}?Fvn4e@>gSTg+I|(UsDoNBfLM&9_1WLLPzup%NElm6^wZT+e_xOnPo4P;`KaLu zx$WF0qgaYIxa`wM==BAim)GW#j1fe*-JF(};GQcbueAtid*5mvnOLn-zZ4NcM8-0D zkDtlh)Ouv0grG35-T9nTB+VPBHcqt?7QDMrKiDT5-BG_f{)~Urv)7eiOm}UN^-~!- z*wNiKA)sg9`#>mshYL1y*C}H20wu4+g8Em31`5?np}eSmVf9)$#H}SPD|qzdqEl1NH~fP@8?Y6h z^O%?&8Y;SwVKs0u&|-Gfssve7vAEBhcz?8$+hTB_DYK3uq}Ml1=N`N{+tbXAr9&!u z)X0(TZ&r?)ZH{$X4ck;0nfkfE-qOt6ezNdA%6Pn1(t76eW$bTe0cx@HcfSN>=M<$G zui77Mm#K){O3EmkYECFhv_-8C^2&x0o0aOu^O@VPdcjp+4%0SOnRo2e+$X->EcbNz z$hYQe`W^Mg8a?Lh5=*d9IH(ijg||Q)ZqhRk%yIi|&-&;~Dr_siuJlJzV~eSbM#-zV zoo$|ppccU%d+VtS*0t+;51K^8a3)s%1;i?f;QWJjT@2ME+9c=Dety>Q$@{el=M71Q zXP7y;P5P^@=cP_oA&Wz0*C=lvX1fozqMnr8C>hu`9-LRo3Mt(XMLX8OMK`3=xwY*@ zYM;`=PbH;4h`)$)C*uUjr?q*V`RaF)pdS_t`WqKC3?=d`>$!2fALyRx@RH*9T1$w+ zGVPkcWpX&dy%x^??&{qI#?mO-7d1&d76d3hNy$7x9td6^Ec%D4Pg$6k~@7(Ezdy6A>}gl_ zb-E-gGFGjTF!=EM@?pY<7erc^M#O?Min$RqxyYcfr&eX+ z{c>0=M!Ei!X<|tH94c`{Wcj8qONFM*TvCc53{0W?73uaNly+C0%B2-&8IbKNs4ApOgxRgdzlTB!`LiGG`zWH0{2BE7=0n~d+r6FXEk{z@VCsY z>OOcY+qEPqW8W0DL&AG1oIzh!FWjtleZgi5YxBCPjR|3LEhg=SSTsnF{3~N?qT$`8 zmjXE_#m8iZp~xY``ogOn3dyXN{boV!%k)h_EdO}r_A7At1yR(_XtT)MX`Wd!pNM|T z$)4-y344#`EwhBdJ6cSBB9fD) zSGah9IJ~2M0f>kE?Hv1?8J#~8K7Fmhn%`3vPzPmyFV)qagg@@CWI5M@Pv<+o^zlB- zWYB)smhZo;`NSl|I$M+S{1lJ+#n(Y^1efanykpaphA#12jo#2KTJY3*7!rsKsCJE+ zq+Kp!AUcjOe@C3j z6lNaj>@15tB6s+?70uNvnt3N9ImG|FGi7-&G5~mN>*DtA14o zM?G1*RbJ-AJ3e}4=_;K$a-ZS^`jYqk@{%=^GKg94r;p*zy*`uCgpqKhK&KUYt~7t*0l%z<2t<2=aQv zJcV>2k3BW+ENP9Ye~Kz!Ktsa}Hd}BTs?gDwBC(Yhbb{)sACLE^Crj9P-CO{L_B-zR zfjEz+MXGo5kA1ZgXyz7SsI~baK1Du!h|VcgZ%&x)SHH?GD#1(_LO)h^XTvx2{u+?I=~_K$^V&YoPi6~N+#6nwqxjE)O_gH5xW=|=;iI#sczlu_W2)^6PmE5O{&Ey8Tm+o{zKoN@nI2><8~PC z#*(j3)u3M zj_?p7LqXWK>e@Sk&tQ`MRy{rjN_$0b2d68~oVx(xr)PccXTz7dChcp8B_Q^EtZ3a9 zPLJ|-7NxWOJqY1HBZYvobF(kyY;R5H5Bh7Kju;xxWYIjh0k^*q{G1%`V$9y)%ZG>A z9V3H3ZABKJBk0~H#!uaVWiG|oXiYk!gI~1BJH6}p3Tk4bvFsMca#z*e zTw3?=s&;tn!#gkalZ85bfdOdR&sRfuSNO@07B?OM8dm=WiE5*_*wI zF@y9pBH1S9ZnaY~e7_?KVk0X(de=QwM&n}YfW&O2VSLKsEv8q3w(LG?3Zb~kLP@5hUy)Mu zj(n>+dLk{4_z>k@+0^-oN9l4QwBeg(Xb2VIkJ|MUyd;HH{S81(J_y}TgV#1QHU@4mbk<4ne*{Sugj_Hhkc z$n(#pTD( zyuqorZBgOmj5^O4tG=5q{?&15L3RjgWo~KXn@`VEw9&-j(e|#n5FZgGQ?mhZZ@S3* zh8p8kuf%L>K)iKt{Ga1qxHl-4T{&qxEr>qSLo=7gMlYD(xzHli(f9Vq?WC$8qZ|W> zn~Y1Xu1vj`r!lS2o${WlRUU@s; z`5SQxmSkadVmma_(0{gG{z#Fcw=~V~)04rvsD(6-bL>1GTHYi1Wdk8Mnd-*MyP8rB zYJx|uy?aL4T#D}c3v`Sg_o=Y@$sqZ&PeWymikneTfvj8M$6%@aoYvPeaYuT|RgvL7 zhQ|Bhd-ZO}NYq4eYxn%-=u74vz=qKaKYeM}OvrVu=%962$Y&M>!WT@lQfs6yS`OHw zNTyjMklw;7XrtFC>}MSb`R1U$U@;-&XQhzp?-8UipI&kd5~QbfKtQA_G~@e56!o4qt;X%#7iep9$b37$v@$;|Et$ADB;u-A{g^CM>*= z>T&K=u#0#5JkBtn42V_-n}Uhr_B*)QiMncj8{;bM%xLLNuNH~$_FC74{q{9w-+4yK z15ilQHz8@?QON|SX8v2Fa)Ifo6Ki!d1j~S|-+J3tmer0DB2AYZ%pt=MSFY_B=ne5u zt7X&`<$Tw0{roV2k~8R7;Sxys{(T}Pz!zQV?DgQmgTcg)fL#d?Qi`CH=KDtz)ugUr zoJaU~h^q^2487sNaH2_&hyv*2rq`|R=2W6*ixRyjV2n&Ob*ATLihS`sztyp2UA!}G zz+N$k^mxPdX3#`u1`3ap9jxGw&(U{L?FdkWCOHh7Bo+6mkW|ei;J@K4{0c(Pd?LTP zgR+TV9UxoKZd7=ndL;Jxe^bj>JA6|d0D|(kBhrIZ_Y`7}#aM7Z)xtER)Vptr=d56Y z_kQb#7M0ZAZ1fVQD9zQ*byaJ`0;BA$dKuMlxOUUdj9`1H?VD0qubItZ3mtC-Pu-*w z#b#s+=VaoHCT>+pfv{XTPuwmWKYIO358fo|$qRiE^ar=PelNo`rO}ZmgDQgl_O+;K zU4H42{)A7ufi`vy`!h2Pj8P>7UeD$UIzHb_%g`F8g4D!-D^d2Hj%969*dI zq)IK^ruag6za%dAdeKA>JtT24O`c94jDp(K!%w;YERpj4kkMI9y!Y4sO#0)Ky14ls zRZ2V%pkjg6fvD%R5k%sSl#Fz_$_vUSkv^Dhw{$2xD1&g(s4D1olf`DSM1;2+cp?yG zv1DlDX$PslES~wTvr3GAIrX49&LuWYUa5S2S)5igq_-USHh$@Zy0Ce%+aUJTW8DE1 z)cg3(_p!VxTWjqyuv}qP3CLk#sD2~N{9$xu_?aceoZgM0y+vO4XsX(Cu3Pd=r8$Ac zeacd*X3V~Xj&S&_6A(wAMvL2mJ%WmcuDM^YOOQA^4t38ho{Q_WQ64I8zl4jZ$@%GOuQr)qGEQy{Jb&sba=1XGDmY4V z=XvJ#!rLC_M-q=#9*YtVUTR7q)h7G zW~3#3;yL5dQ`98+Hvv2qv2el|4zQ-c4Uw$8zJ<)linmNeEA(dR?p zdZ*K+uLN+pj1rejrjcx$h=`f92GRBJx;ZrV7cFn;>PU)e+^JqhNp@C!i_bG$Lc`&S zOg$k#m6$z$ zx56`Hm77`J_L+REzzda!m;o%bVyUN)nvvp>Mj-_*7Twv-O^J6R%wOJaJK)TEmlxh6 z;kouK;aAu|!%!dZ9nf$KOqA*FJ&vh^v2B!-$TbTg1NiB-V;KjEN`(?dgxr4y{E8j! zOtK+8HWtr)6fM9%(*jIl!i?XL7iAM(y!2zI?_=s~e_KIF5qIyb6|0=?9{c|skwg=xh`F0zwh#&z}g&bU3fJg0|I!$$If zmS_)`2R*0tHup1+-EB!4fg+O~ZO`cl&z--AR!(}B8uRK^J2BgFmTT!8=B&rd8rSE& zW6!kZx!c1FO0Ef8MX5j#Mt(Cx;nBa#MUJ?qM&);i???H${Bcc6CTuFPIigfjL- zzZTt`#rNo~aj$#cI_np&xhjtT1=35I@0Vy=AL%>elhz_sIa)kvaC6a8B?-@TxHl7q zm!_FqYO5EcXLc`Xf-%T!&++U}wX@_d|59O0!5xDLyRym0T(9*A7_jEKJ`(mKVJ{#A zbM!Ejee^TH|Dv8k2?utysKD=Z4BxICl|8ryliF3JRwrf{MsF#AEc|kzm6maq^YDF> zw-n857;Y}EZzsq67Tnk?mF(HMQC3?wA7XLt)dDt$T8UT#Piz{CYPr4gdfv#-_Z%hZsb$oFWjU4eVs)>F?+?MVOD{a*Iqrkwjgf4kB?V4&8W z<#lnwi^@(p*`tOg>{>ZK!6(33D81>Ro;C3A% zL!~TCri74Y6GT)KpFOYkfJSmkqktDob)kr7PEBwUa2iPR6PF ze1WQj(c^Wkl@iAHobrF4FEEd*>N}h9X`MQtaA@#So>W&ScZyw4aGZzmSWpoOzUd?nS>J6NvV+l2lZ0 z5!AZ@*08*>eGlG*TzuWNj}+GQ(Y?0>?R3WO55Zg8R%>-511w9G87eIFl>J4Gv#t&P z2C9afAb#1lv;2|Ha;%|jO@ml`q;Aj#;g!w2 zjJ0lhhPp)(eWKA>D!L;?w^hC|)=r*Bas3V*Gxu>Z8F6aNlaf5J(RNh}UyKCjT z4#a~AofRj8yoYFVA@Oc5!K}1cvzgk)Nc!U&81I|AC@~0_WZRF;e0Gjwp!b~BxM3_6 z2EpfSF{^PMCGT2kxLstLO9f&fl_C^NNsHy+(+`yttjND%i}TAP|3))^L!$Q!PE2zd zNO11q^xZBc0ORbw=bKp^eROv)F4J3_8wqt$B(JPtVZnPUQGhh6b|u$V{kRv_Hb&O( zdUNnlhZ-ewyjE3O_J?hAa++hNQuHV>nIxR5e;MzK9-t6EbA*tbet@Rb`IcZAd_P4YcXWu(_MAtM?_G48K`$Lq1QhA}iwRf@*K?WDIl3ET` z(8oIcM$>f;o>)vus|o)NCkKagD&gqFWY<)W!Lgb3XT;`y+pGN)>3xO25W#z>;>#D0 zC>SQxh5h|IYuV!|f8&8~Lu++(EeaYE=;F25IkuFk$#kuO$Fe>Z9j|-1IF^Cp77c?r zp+zX8ESMQT{ojWarb2gANb~Kp7FQDi!z)nm!-}XcUxFmJ=plUD zB(*vHEyqsUbNb0erHxOv1=dbolp>v>Z6$A`?HoVDEHbyAXbf@6&$AZCu~XofYKxZM z>}g!n>_MtX;dWB_0f=+N$qDk0S=GRHIf4M^Yw+)oSi( zi+W%zMZ>5e7BBY0uKdXAU)#aB#Oi!d6LqVI*10>Eb2UWyVph>c2X4Hr4g<(Z-4&n>r+UihUP?l|>K`;hI8;&~a zJq2HVGul)I%GbIeK6@LNy%rq%PG)vhOn$I^TGzIu`@ePir8&uza!3WF8sY%zuTXybJnQE{Ajzt7DGT)qG}NST1dI`m3ddIk3Bqs>z0 zD1!j*7)W5Oqw06z5p#?~EbcdMxyU^~OGRDhLt-}zzia{H zoTf6DB$D9t?=<~g@^OC^c*`#3cw8X<&&QAK@|EP7gCsq4lz*3i%APm5cY#DAMmz0Zs6Va6Io@>M)n`2cF`#Yn0{y)WqcO8yPQw} zKk{SfaNN?w)^;7jhsr^k?Q6hA1bqVDT{-o%?iGvGqXS&MRKc-uB4tC+Glzgbkm617 zt2qK(&&&K}rXNeyNUd_))GkK^>3Kr{#)vt0qi&f#8Gfb4}}`)w7EZ_!#Hk8767crY^4#oFHh_F@|pK?usYUQ7RPSFmcXW^@ zaOz-<8J)3xU^ftRB!GF2LMig34t>V-$2jKr3&r)>oi_>;opoa6o0vxo2W!?3s#n9B z!B4t~AD?9z2A@ABT|KF1xhR0<_m`>R)$$&_Yd*i-pZ!S})y5@tPLR3tRft{bvy2)@ zob^!KxsBDL*w7O6X<+fnyN%f`s@fL?=RG@gX`WjjZ2>a)_$^>xQEDB!AH%`94uWQx z?pOv0d#z+lE~6VDnnI-=$@cqKvm0yu_3cI~1zCpgEv5F(KG#V~>)k8Z(r~+TIKq(K zWc{oVm#$u0;PEzq3~dPN%rtvB2X5Q93SPc~$L!2Rdzg!{=_>G8LCA$4bcfOX6k6vrA zQ<#o~sL!H`9*IdS&Q84c+r3<1NO|emu)F6E5QuTLh6|Dey(beH2j+NkJT`x~3%4

xxf_e4nD0FD zfCGNXUTbw|af-*0HJI-cf=3tamH;Yg#d8YTL7P%OD@oa0y}`-RKR6|H7ehbNl?kr5 zHSYHW9!)(YY41vf`7m{|D27$E!SMzaCUYBeu2=^ETS}To5ED}b741I&to<}+?QJxo z-X*1aZ5Dj_3X)KC(zC1-`_@~WZlAxfRzh2VQsS#62K(?-bgd3yvFvG~W`w(NFH@af zv*3{p0w$sOD`7Wc?pxR}gFUQ&~fbQ6{oV&qyitBnM?;D+4pu&byUStj~ zmbcL&4Htf2O&H#Wf)kxo%?ui8YnI!9U*7-1;l)aM^|el$kFNj=`2R)5s|U`*REQ4H z{t(XABL~@z(BYR~>k!hS)~{iVIjZT03^27BM$?b_4aN)&vSSCFLFStKf5X!L4MYIi zvnTtd*dRgn{{iUy&G+&z6Tpy#o}`Jur~ipr+wXD}GJUd@Q+7MRhsc*vZ3*5fGVM=a zSaCvew+y|Zvu2!S@LJQdzp&-dp_>kf^5G9$Cze+$U(q^2lYYFZWTS4GiSSQWHg+@dIwxcmz zEL&!Q`@gNn{##*X5RN7ZqO-gQ0876YwQ*3uMV|9-vYZAsX^#{}&E>N}r(1dmTcsZvI7)br9rhp2}+pq#Ma%=`YoYP^S$-F5>idi%-7sA0xb_2zH+z#RRXDuj>UZy>5R&-HE0Is zU(7m8>cUpCo(v9jjY%HDXVO!o%d>SO%CMyt3d{kt2~c>ynQ>&VAqI?s5uS#1dLB&j zN>vb;YuVY4{^VG6q!!Kic7B`Qr4~1&Jpu*aku&neV3(inMHXivE?rb`qQd6u4{>+V zcyK_F87Kqx&zxcK)CdR!dVa-Q;+McyLs*z0+U!Lb`z}(w`6Y6y6i3qtjFC{IX%Ger zyJ!iV%6dN)$jJ3IR=OPI(4jEbf#D>@ZI1_Il+?(M&9$A?G>T~OYJw%WRz~`>A`hKa zB5048ZNcNjIZ@@vk;p(^RaL|T$QuAk{^iygc+OgKtO>7X}ds5hsLsqZQJ8O)r@}sD zqd)T3g;b@AWM~BdPB^K?Ax5)d4BgSWgLRC}5cG}OCeeB1m@7nCk2J%wGLjk(D&@$@;s#K7(dMn{MR zkFJAzdktPzBRxY+2eorMh~(&gm*+{QjM`okl_f~U+9`jqlp%K>Q_OieCqxD#W+U*; zvm@_j81Egc@hP5inpR#dK+;8VXy#=?R<%RZ0yRlLK8@m8#p{i|Y)PJ`3`&CDtNTgb z)oUC2Bc9esV*K2Oh4sRj_P!PK0c&!*oe^32f8{y=14x_{ZGan_n*+EzgA}IU6qJ?_ ze{$LKq&UH~G|XWIsvwv$5JjBIJp3?{f>i^8s<3IPi7`{uz*!t8ev+VIW|K9<1mO#3 z+v|CzB?Ls{XV>;nVZQj+h+#6LqCO$mG#rt#FVq@Kp7@fq@osYxbWbf6qZ9uC7%KS1_G4Kwa%?$&Y`rE1dvy5PNm_3FGk_d!1t}|8+45A zhoRf)Ldi0#7}W+nNPHhp#jBEQ9|H*~BAQL=w`xBeTmP7`MWYygR9)&{y+jZk>{~vl z)6N|cp@?K0tWzu%%s={MW&P}^?YS%#oyk#A=QvObK^(c{4rJGuEP&Eqs(?$aw5t|7 z=0I>fzIA?Aq5MgX7Wob^iR4HB0V{wwDN@Z^7tCU}`~%qD(BbVY<~_hxKd*2iA(`T> z!I_!P>Z zCjs^I3?%J)ZW=M__g$R$JqnoAFENx%F^x~As4d;I8meg00c)2b9z0-gsx*mF{ovtt z5Zscz7)Qs1{t7#A1^uJ9HY+B#4GVJZNatPMM%Si`Ho|~A?z{hD2W~qwkAOS{c~aV; z&H81HZF>xGqvz-oGsEWl2f_4Jh*F!zwEw2%fX>RuHa8}~>kjK@MD>qI z0iOA#l&pTUjo}7&X?xge$!rlh^qO`Eb7gNg=PR;s4jH+H;Y3P3Xww_aSMtRr(EIB{ z&WVKkCM^~s!4TRLy>)7axA@nvaysVyJ==9CcIJs-$Bz4-p0N~s242FA52H}~h+f!% zsbD?HvhxYFE&*dI;jH?#kg5kR&Z~-Xcv{5v9i6w^g*u@tElp-aR8daAT)7Fv5Rg{X z=6Dtj&!qKy1Y^~#!8f3MWRmJ|k`1w0Xw}@dl5XEZcEsc43>+|s$+F6^8-XIT%v3Qx z?o;Eowx~&rmH%NnX24;V0Txb=vH;d}^7SuodM(DC$Jgp|SeyS#KxB1k0p%Tha!w8B zD!&qRv&lIugcXdVN%keub#5<@cnS)?6`YTHU4mQ}-HJqjH)RQFbPnZw?D&h}dBX{9 z>{S}#dTKOOL18Ef4;(F6H`H+6ro27U&Uzk^AB2|(ftP=m)x$H5)xT^2L$(f{$0RFbVSCp$vddq@tKr>r-0rV!Stz-s)~T_ zIBOzBZk3;TWM16!X+Z4AG{66su9+~AJkijJT4h42TxLzKJO)&{{NW0O7wCU)V|W1; z|0V1^x*Q2XV|Ark2UJVJlE<;885F7l-zxj)(Na2wbsNfGmH;~S(%1zs@J&t{f#~+o zCW|rnG^N>Ba4lXlP~&4 zAe@&wJ!jiL#W~EO%Q!Jqf+TVDl7Bly8@InPukigfkj>5gSX#lLiB)yT{ipg zmo1nkVuHWF>H&)Ql)#QIa9W$6;AvsxP!4|Z7Mj&YepOGcvvsYPe3ueWT7W~Bs`8kp!V^fP}k1d#v0MK)~#A!f*8s%!k9 zWLUdqB2B--y-Zi1?e2k2yxlE~gWjPuEMp9D-VoRxPqE*n4(~bbJfIw|Gg(0YYgqW# zb}W*UCQ^hb2Ja*PqZ_dht)fAh;fd<~%fd})GUI?Mjm|JVWkAGdx$2Qmr1 zb8|o=QGB*P5aUbxkP`t2zjlQl^KsZ5&Qr+lz$J;UjFj;*MjRyG&yzZ!9pqJaMLIpu zLm{Pxx;fb#u$n&d<&s*N*1dyVS9TSP_}^|nkmxmJE_){iko_~+CB+&mF2}|K#1M|K zs&eJ~yYh*nJ`LI{R%aL_Z+3q-LusPQOfCaK=WSRU6%7>9@tX$!9z|w%QL{&GC&8uc zO_O%|JBp%`u2p2C&5N*`c`^#+?w3V=rm1xm`Hj9k<#LPm(aPQ2pE#*z`=EXUWIy9x zltCK1tG@aE9>~2WVd;zfF`;(%S$9L=n@&{B_(P_9OUP=EKvx=?x|xDA`M}xb9+gsU zTIh`{eC>4{+VuW8o)#eY8&|Z#Zpme>nc{=Dg9zsgw>QG#H(-r}3N)O+HTT}y$Sp`( zq^{!^)(5ewqW7Zq50mzH&??N|*re8aVuC`t#UBas8EytFrm3)3JaBuFK>3V`%uRx~ zyB4N%d>b&UWzMp7*(mJ+4m z8Rc>X!|v|5vk1-Vic_@0!~{K&{dzr&zIll`n(!i{Bnp0J|F$u?YSUYEbp0dvgSDMY zKP|g6Ly+Gn`YS1n3DV#o1h9LWkD_Cy#Om5;WIuS4|G^+s>mm6TJ(+!U`w4sYo%99i zwYoZ`mV@5=dT7*IwC6O?qOdY?^@MEPBQn;UdkJ5M1hrqK$+Qs*MS`RH}#Vt(l)o%DP$CYL7ui#uS@8S zGk+xU{8Xm1Gj{KL?o5k`4x};Hw;KQs%|E~l28~)u28%FTf|>TNUJ&3fkJz7veVeDW ztKdlFI^(g|KzWKyp3k}JW1z9IOSDCXilMewQ9E&@ZKmrIae*H?aF`17R8H!#@V|A; z-7o{&4!%N>BnUblCU=^+AFoxsiiyELeb=d#)B{zJZ1D|9yl#5^!oVthLT51Ey4xZX zquydyJUF<9fEz+}u}_R5`Cmc4h2a7=H+*{==gx+1m;E7RGupTGo7Y#rzER)bu68$X&F{t;39;sDo44$lWR*0v%& zcbNBDpxu>zZro-*C~yD|wa#d0P3DUtp~m!SoV|MM;s%XmHXCL_x{vGcnCVhvB*x81 zCk{A2{GdwkkZc*%2tO}dg1oy-ag`|Z*I0e{i! zwFy4_WX4#O!f!z##o8x!&U9U%!lH-^&VH``X_0Le&V|t>25BcV#JkN#ZmWJ5;Ex>8 ztcFvJg`7lFsj#M=3)>_~aV30iAYBIy_g0hDS7Zz3UNJ5@6YGd1xRy*s1-SRkPK)cQ zzH%t}qg12#rupwuyxsl2u^vJ_D>r5s+ubSw=aCwO#dCV&fg(P}of~jXZ}(*17kjvJ ze$~Syc^f*bmmmX_Lz-$ka5`7NIoQ=mM@>c}M2*P!`83pFhK|9YLveJSmuV&#@Ak&r z@&wyw6$X5>*+xJc6jKPQFVJ`S`Q$m2aOprwh=vi3n9G*fMj0a-{Z8dN0+E&>fd2+OFawj^H+ z5d<)B*Y+!3nKj$td5*wtdWsSc;l?Fp^W|k;Q3wWa;33yk)MXXMaFK*q2nqWu|x)O*SRO;14{iBa-al7o#uelKKp$R8(IfSyHn5OXnAmK ztA8hNy==ny(^E7`835*iFp!UWy3fNxHX-DC!qBOBw*O->5<2t1`gJA?2+ZwH-6}8p>Os$D9VPTjvdNH7frU{F;w9OX!mlkXR+7ihJCI7Gx$Icu9KJ|JFz$ZYqtb_wB=RC-x0BQQQ z86tU&Xu+p90Z|ll^aA#Y-}C+7a3r9Q0Hg+*SWf$ot~cZVpFTpt|0U$_mS_i00$uJ5 zwA@Afl^|Bd29@__MDl)=ozMMrhF2%9B4D!TGJO26>p%sS|q7KH`%rHVtGbyF)gqYFLgUMwo$hc=(Z^aGr4Z- z^_%I}2gxj$&18YDBSiAFfY7$Uw39&k*AoGeU0W&v*QFmWq(w!#hr`=Ls3B&wYlbFy z-?u|bax^dI*-8FfAj)>reN4u`@tb(He#;Q8!X7Ge;BKqqi>WR_%Z?5>2l^LQX8U~& zpQ*VZZ>bXfShZwa*hR(i0N(1=~u?KTJqV?`EV!Lwu zGslYZF=?Cd!#SC^EOpLhXo8>X$7k6}sBR`q%07~}EwfrE8wnRoe3N?nMlg=&!`P)c z&r^G%5}dUkWcU>+HVG&gGV52$%FGl-J_bNs257~5aJ0t^j z|Iw^M;YSX@U6Q#MUZY6YVc{H`Hh}th_?+Q&*hBMM?E>O*p%u(_>;q|0?+k}RA2%bS zLxR*@1&0@B$GZuDmSg>a6xC zmwmlO>`@7md zMfLG()dVxQH`rU8Zy$TBT*SBqGV1kK+~|+q^D8cBwzqhwrNu;xD{6OQXWqe#9F^h6 z>x^7f$b?&p$92O@N(EyzyIim6<)zlHTgbVpb1rW|?(=ai3-`1%Ytz>ABAM}X@{ke3 zoG~cdiZkik`jr8d?N_ai`rXQ!6UV?#{}~NfiKv1iomKL+ntP@Gs;$zsjY9Ih>f;>v zyGZ7%5>L!`fMB5HiQSFwXS!lv7$;9>!4;Q+#$-qS(x}69MWoK8T%YPa?(K5A!!4&} zBmey)tw!Ou65d~HX*9EMUOTS)Ae>!YuKjjsmB}6|D3fPs?}M3o>L2OMu6F(Su(ZJ= zYZ?w|%b{ZGt~twgqlV5>W``&9S-@cPR1?nAI$i&RtD_^}awYpwqjAGDNA7qGigm<& zDYr91%QNc6=B%#`+2h1-L$q(N0i@=(X#+>5>VGvd4N|-dk>|ZO3o;s_iABC zxD4Q@`-GpEin~GlWiK=jV0RKUW}ZjO&Zctt-f&QSe7WsGppTIPXZhORdferYopNx?F53o&&bQyA=JL5#s}l~ji>w_5!!XO zN@XEXX>z~pIAii#IRj5gj9`Amir}Ln^U`ajqs=I6z^T#)f+FftXJ+8&rZ$J3Kfs|=&t`Ql%z%>1o2x;$)BQEa0s;QojR<86r}j5nk7UBV-DM~4!% zjaZy!p?pgp+X?NrWV^m=e9_6Yl+ogiV~Rbz>;pR?5fjH2v8KUq=4bpvuI$;T&w~e@ z3RG+e1vavus&x}!_iwMcY;`m=zRiM)AbThpDJSmL$pqq$rMri7l@dz#+SgtQHnlBp z#&H^v+sk&>Q!C3*n~%5%sdCg$!N?u6!TQ!~wH>w{$xKW!MG0mx4;}T9ExPP?x5VjB z71x%|Pu5vmn@1Boz(}5?a$WKW&pnS=Uro+!pwZ`WvMd=@y5rSQL3!YR0-3_U>*8DU zFhfpDjN?n|$jYhUv-2gRY~eR0o@Zt&rkiB)B)EotJvGFA+I#`(=%agd`7iV2GjeWQ z=5vgeg6!u=*}Ua7dJMy8?X%SC? zE)iK9fK>lrTB+?Kh~$#OH?cduHL6k_%lPihpgs3z?|;*=eE(j8K8hqF+H8q! zKs@Bj^5R7raG>f8a56&%a+_o^3YzpDA>E3EN}o)exLD9dSS$2$?X_zW){H4!-qCY| zaa;_y-PLya-YbPX7Vb76Cz%W1^-@Uc^KD`kM2@7YTA^ne3PtL~{wotG${JVRGBT%E z8L}fqZDTRvN{dp6YLcJ*`?2uw4PrKH`ibN2ebO$Nd4F7f{Tn`DFypV&YTP7^#*B!} z*M~vb%tr+ucQC@b8I@D5>lEk77-TZqd`W9j`?)r~2flLYI;_shmIY5POWwxgJLFvN z5T(L8`>bD2@gE;pBVe+IQE%^{NV}VHC`Pid`1t)?VlSf4+n7h;#7-m>px|p3#UEB6mW>L)H-$G#vV6Z@2B2bqAe z)jypJ-Uk77(|_P6;>jN`-sTSkYg_F;4TF&-L226!N6!daq4oJ_lo@~3bw5>%Euua= ztMD*Q?kOVceNV7*?x&K`a@Q;d8r-4Tr1|wN;3#tPcu7r|1|SX-1v3N9?SEVB*Xs=kjZWYKL8(CX&jA|bK=aK+`)^%+ZN#zUiCipd21P3WuKx$k-R}qU zcrelLYe`_BZ+Q_!@x>nbf&)Uw4&hG=R`?g|ch{(vFZ(ly8iLul>`bFEcX8rmQ5gHERB|Q$7`@DDpawKqjd&Iq#nuvE$=|x9GeDy!4 zHYSOa)J(mD-UF(sWWK>2WDnhnwS2!qDf#g0cTQF&>5Fldn%GXkT`e`! za&LoR4Ny-g*e&yA&cAO*ng{T0_Idb~WpyV9MOh=mN+f4|YlsF^@B>V@l6>aKX zTI1-B^y4|wb8wOz!cjhlJGKnm=3O=m-b*0oeD>odu2OjvK9?P-7IMd^Ga+ z%Qal(jrEAUOx%H>IBfdfrSHAs9iTNZ>Tj=sUiX?Dwqvz$6}{rd*xovV`R>5@w=GNz zZ~1N}eEDbAEzWh`+mNo>a`ICO!34@UU1lNB_9)+~}1Z zf4ayeNTtk!8}B5h+hVHahaWP4r1n)U>R3q&asi0=%HzwUIfaRe$8Pwr&+Ek&#d}PxXu$1-dzPZEJm->F&#xyts4y1< zuZB(@DePG?=^V0ga0{~&Nb1j59Z#>gN^%;Qxuij>a}!R`?S#YTB%Yo%ypvJe;77hu zqEn(?nZ%_TK6uh2Dn&!=+$g=MnZt7!SyO48kp3$U1aEysCqewk&Kxs`e$1cY@o2cx zd(^E5Q4Zamf{RJ~mr54PKTbZmEqNQ~T;U=I7rW?GFeuEt1&1K2GxP>=_`4mJIP#=1 z^Mg_Ig|LXg!XWJ))%bCK>+d>N!?%w*#5AnIlismGF~?9B15&qY+q+BI!A>$@ef51rKHQ z)%P}l@Rl$r?l0YWlt}?Q^HT1v5^vd9k_L9@v;pSjJ19pQsae&qM6f! z`Il-8u1eeo#lY$+b2+QH?i{YGa8?oR8I@A7Q6IE#7s+0V545HSK8uBgUqZbzy^D5M zJc?`{zEhR73*9MYiJJ6WGO4>NTG0a`*xm4mvR7?zBX>m%p6zw$2U#=w8v<%S0`cV5 z5o_IG=_upQ!3&&_M2<6!0cYbM7!8Jp-Dk7dki8&zMg4V-OnpfGM(m;pacWKPuOL2HMNqHQoqG& zh4Z@W!K{_+*EIg-@?6e~)sf>iFhb5(O#ZE3IIM14IIrGg%OT{gm*e-3c5=JpXiNpy zh~XGL++iTXkn0V@2?Db3y9#HaOd!bA|^#HSrHl^Ao`k|T$*?C=Sv>Sot?PkRz19Vy}08}{8n?x z3WvO8S#h?cx}l^x+@g-5+m*~wB1TfEyUJF=S~++|65X6X9!&(HHd~+oLVQ^jej!q2bwbJ*g8eD_QIzng^?UvzX z&ii9oygN&U(-zlY-Qua%r2#;Sgsv2kKiKOcR9^8S@}aZr1<(@EXvwnacBxDn&8)H_ z>wb-%ET;kyo!I=s%=khU^=|OaFsKUGek`20RhJi6+jfE4T6u`F_HteOkU0L34h&at zNvpUft$IaKKh~CaH54M2ba}kQ`$w^%*O+~QO`5Gp0lTMs;dAQ>Ov(!XkkYtlop92w zW>qxTe+{HAO#}X$(ux4B{WkfHv%=192}I#Y{ud0W>*mVaCd z?$mthN`xB6x0GM8rBAi(kvW;@G23T>YtSmscaVLR1ZCs1NyHe4uHHds*fE8kk31cK zg|o{f_^vUX$rd=DqsYA!TKqtA;@Qy2LTMf226xPquZv7hp_o_-*P^(!z003jX`K#5 zd$mJjwwG(T?HUbiy`!~r(#FyK1tB{e1rNn&!-`sC6|7N@h2O;W=jJ4d+lsseL-|%} z*=>o>D~370A}s*$=V3s8fSz>7wzc92XbAh4k?Vtk5y>wXTud(Ts%U!@jC|B%OwB@P z0=S3gB#3uIU!C6csO*@QRW^`XtO9{7ztdA0E!Sy=z@+c4DK+QgN3!NUzITe-;(P^^ z?DhG6)T1(k!Wirk#@uG_il-?|g!#64nJ2#ap$^vlFi9{+HA_X7oU=TYTBw=VG5L%U z-z-@T`>L7hS^VRYAsq*=W4=JAs(BkB*_s;F{W`tVPZj2$J2vQ$pm2xgLY2rI~}!j zs^HAd5+2t9tB0;tHjzFiJu!qZE3bRx&F*;Ta_C_J9S4@2c`NI&TK^C^#9rYO(Met; zH!OXo5Gs5XO_$ci5c$=!9li93r@B8fZe#3iEj#iUSu=3QE?WhmbIHTF;}LtT+@K8l zLac&ahEH2XMt>-`<^x&#d`eNr(8;RilIPr>w_1Z(iTRIxZY76>bvKck!ZWec(J_XF z!#a~8N#$hchS-(+hCMgLPA2wGq|^i_tBukR1t%t6tX3G};1o&vT=Cs5p8d`togRC* zPup;jN0H$iYZa%pzE%(FUMCaE#v{8WV7+0!?a}1tfwVSz6iN1MaoR+O)Wm14x>3X} zo75zZIhq01jsk^BJ^5d-kE$aMM5HsQAjoXZRnC5KB<<_Jesq%>4xy`w|0t-Ho2gpzt0jP_TA&`1QkiYY_l z{B?yf7iH0B*M2u=o`ufmj62;m%Gz99c7^#pjy%rR*H@*O51!Y4XdCM}3s75_Y~J45 zH7O$NfR*J7*EUlKjmM!RfEk-a~l0Z;h>YMv?x z{&uj;fqb1V*D0SC6sHn>ItEW`8g`hie$cp@5s6qm`FnURfXt&3j)QA#?IV^d&3vq8 z#A4;&?=OudH&aDX2SM^LM~s6&_$tyf06=D+{@WhC=_XjFR{lxjl=3T1q(XEe$aL=| zYoHpw{9hROd*J^6epfIR`0o+ayp|AqdjHpciS#QQ>pB+1p#Q&s!HG;BS2>gQgz-7; z1*%oZzk8415sb=kJe@Q!)^J!15uPXUH0pa{dQ?xHQmaF;X|IVvmkNU8rM=yVanJhJ zd3Q$>BUvGO;<&h;W^Uo_u8Rb1HxAJ^W_g@f^R+!cD~EGmthIg`oBq!K?(D;-yt(-o z3V3hDvnKnbNx00lDXC4}K7|px9RGH#TMeN((j1(&I~Dcyl)6dR=5AZm{8}QpNl6|- zn6ra5nVvs1IO(&N_RRW&_oq`mDibxm|4tw%ve-@%8Th0r!eJnZG%yfi5RIj?btX%l z*%$(z4-5G_MFZjSwS9kFqrAZR_8Q1k!sc~42by4u*ldN{#eZK3|3N1>9BJjob)#{! z;pR(^bPP*H8(|>Ex1EpxJs7g~h#urCp}26u<8Y||*rHEUXTNpDmC$_sEAa-oCbl1m zM%{{TI~k8Pmz}*_5jvBqe4ppPo$rb?e1M|R88(d&DW}v}rP!~b8NdqFd+$NpZ}Cn@4UnXyle!hbCL5ArOPrFA4-6>iP{liYz$SXHKDJ?&zMA)gw)pt z!KyTXP{?axsN?d-WzSc-Ba2DvGV5B2NvqeGOIz~oQ>S&Cl_tlr)7tBY{w7ZKL^}?i z9oCtV0M0XgkM&sie_P5e({NMobP)0&HH{BpYTz75&8%K))U&PZAYi}0{|6qDA$~4C zbil%p&BMNsH{fH(TH?J+=GuK>C347Ap4gp>5uc1BPRXttZl8Tv-t`6L)N#ozgEioV!}uBP8cuuDX}Gy7JTzT&sQqip z?gC>69D9fXLhg;}VI(sMSKyZg^2L@df|~*Q`HHEMO#X<$}1yo z%d&98*u2*#1$_-I9~57!WhiFad@^`BXMINYA=Z8AWQ>a!`mY{X6NR>OUXxAHS0uJi z%uqgzKCcU*LX=9@w$ISd6KvB)`HauRXeo6EbrPw1 z&gk{^Vq)=(9M}C;qLJhYiN#J|`n42U#ia7gs|!+ZhH5X#b_2PX)Rf`SiqTOrTXY+N zBXsG$UW`h)^S!fmujfd1Plk)P_fEX0ce|~)j+J7^2|^iIn2NW(|3qovZu(?;+uEF^ zuewy~&wyfd%@^6EeX1pxV?(}+JZ6v>e1Xqt2L&B&Z8B0?c$x|@?d zsBj{^{fh;cq;KS8hpgpALwaSDbm?0_wbw3^tPJlOEb@4BA zM77=kbh4^z!o*F4dv3NyA-^gbWC5sF2k~ewYd+e&D@;;dI_{@?_A!sUEqcL?we;NP zW7R0{l8#mXfgJcBVGl=p9+V>K7y3YU{L8h4b#he%&R1_Q6YWF3CN`b36DHwNJ0Ols zh7$AZgJn;=wi8KRRv^>zY88F(e=Z`xy^3wHZaZQ+`ATqYdEQTDl+F0Hq4Dt~t0)X! z`~e$Rc}+g?01^0ogy2A8m*JzV#ixyNR*Oh!v`u@|KEa$UC z433oRXtPFeOVEB+*oUs>9cP<_rj}32$5NA8`iDx5BE+aEHye@L;^YLrDehHVLwme> z#A#D2=RcnjYd(%R8zj2BTs5*z#Mmp2zF&x3?Bc17c^-AV+ZoDNr4{xa!1-VI#NK<1 zTWlB(jGmMM_JfdTKCEZ&Ny=Q%O~HgOEcO>?9&*@d3-nQvhmu~brF~GPC*Z*}H8p#v zX7IIcqRj7j_EQX1+uEG#G@j*7eX^-Vxi*L)B^){v8^v=^y z+=hDQlzK+Bv@$NPFdNd6D?*@bc15i1izl6wsiO#IjNCG?IP9tRsBNTROn;8#$}|aJ zOpT$@w(TQ%=VES1TGH^h@1I$Dqj8!2g{L1S0;vu1T-pgT{d;_-eXlD?Y)90I=HOKt zpwe1T`RZ}@7UwW?=PBHdd(2f=v64hq2#7JLzdq}Fv`y9z-FM8g0&9)gqo4L&)HV6- z#h*quROXH!;8pu}T>uCDoDhYPFrj)-Eb%pY#T))XW9Hg&XPobclZB>kBowK9rQ2)$ zA1d)k3ZX>&c|Q+;vbvSi`ZNhn)tI{Zu1=9WO(J(GqC{5SAEdSZh4f_Kxdu2ms?$b; zECM6DDKESco17-@O}M(;II)>wb?bdJCNZmebt8Ouie&6IZH9Ec(fW^1b*##S??S0) zs}kp%#IVARHR3XC4{VkNJoezEiAWnGUl4vfPWe1y2zDW;^*BPzzB_ zEa_+Br1k=gH_gbVgVjrrYGEfIW!ABC2n zd!dcnQK3y^YI`%Tvv-1iMhLpv4>St&A0f6ykC%~%zf!L+-nGYw3jc* zH%C%Jw3FUI9b?Ll!+IM3fz|zD4QC6etYMR7JX40WLK(-6ya)G23@?nXirtSIT*fts zA>YHjR#{*zS5-6-BT<@0Lr3gxv3<0GCM)*s){&DDDmt>1lDyEU# zdP~gyQV}ewX93nR%$|n2eUOXTt(m*H_T;?rz~tIyy(vffc-wX!aZ?K&OMQ6V zH_YQVcah=Zwpd@6lXT@egj1Q(nW~dF>MB+e7ORli*NSSj9D zmXTBp-0~+`EI^Pt>Qx^PUw(YfYQU5Da; zcjGM(KyPZ$;(Qqv;wP}po)h*2^dqRJb)!T}x>`&o)O-{-;w;;VCQ16Qik5{o%e|{z zu91O!`gmdj&z#(?kxsFYYzaync)fFbjon9`UHpl;bG5?9%Z`kKCνOgNY`!Q&VA zqVj9~*y7~N&Ds3~Y;gAyKJVP><|hr_P~}9>89z5Jn)viW`Z|VvPfEa+!*eTA0J-eP z+~2)*U1+ z&N;1{YwxUBw{SmUFa~%tBGiKa`o?0Pkm92`=L3;(3OkSQ9?VK=OPM;IhEZ~#cYiF0 zV8%4$md<}O@vMPL^Iu%J)3^E!$|tQ?o0ebw8ckwKAC?tCEt_aJpz zW^dK5&HRy6X|k1Ri7gXU5EtH`q+%nWG~W6*;5kphmb?-y!q1FD8b`RpKkrkVEEWry z*#byTy$O$@vs`1JED)kaN63RsXBiGD`rHv98Z}lp#x}77Juw+W5_^Ie;g(O&qH3bl zY%^Q%q`$&R2A+SKfQaAv>EJAP56eBI|FpccCVp?z7;`fQOy4x#9{^F)nY_{+OWGz? zQr31O78+A!&_2ok_-?ludASpByMCE6q#xoc89BOi-g50^#az`p)$;+^PuNX2_6`E0 zB80E7jgaViG_MG1+-La3F5lH3HfBEOgF|m%YVE+EWm9Jy}(F@EzBp! zlB_0+h-6mLK#cfu9~D$U^x!={Ly_o#Bs!!xTQ=@4l9PMBvq*aYw%2<9f(X)e54=c9 zAZUCMIJNr^d1jZ=5K70MRj~uORi&<+;lgv$RsjXiN?@JWm;Cpp=K5|P?tEb*SccF} zmGy`>Rq0}ck2=hZjBtz2lWty=&pX4R(K)f=wH=k|=|TBDz_RJCKDI?5+Tio4wU(KbaC<1vzd`ES3Hox~o(bC+lx$1 zZu}trCE;z!c7^&}?EM5C!;FY4&X<%#LaX|Zp0wofj5815o3*=&PaVdCRv zepU0MP%~(y7Fv4P;Ks&STFzYD*rsDU1*q4pR!n6dzzsB0RztQ~)4Oisv+^}S-pN2? zmml!0`7*A?xKwRLbO=St>641aWKceRaTt>d&D28+bnrCUL-9iN{*NlK44KYuL^az( z5=#N~9;}m!#$LuM=m6g*dFKtIMJ?%CG8fi9Slw!jJVDc1;0H1Q7BZzXX$0NUA}D)9 z&I&70?gW5x0FuFsdxAdwAb zU%#y)$*;kGKE9LiEcjU`E1mC59(~$c$27hEJA!_%BekyA9Dl0;^^5;1POZGr(5tBG zgO>dIVtTA_=_Oa`zsG%273*#@r*R{$irEtha~K%jliBkOKS>xd_F3JlTz960CXuS2 zMgLoeS3965K@W~Lef!m={McU~o*+R}gKW7Ce*E~==A$;t>$}}+um-N(EL!A;lm0IV ztOr%mHuhfa*_tY(==%8+&Ju#Fd^4hXD!46A)mc&d*WIq+xensL&HYS98nQE`R!L19 zx03&f6-=+dJ>Us=pg<3Q@c$|AF`V5$ja-7$)H>d!I)cd4>T2V6oWy3oXtn*@4xp%a zGFF%+h$^(zY48{OUk%Z-0(sxnWWgyd`S^@3EU|MwS zETB}5KZLY}0$V}lu4Oh5vojkTY4H|z5(Mj(tyod`2cWtY#${5Vz@2O$JZLt~tW2De z+Hyn+4=)q2f^fB|LnxmHmrb9$htQ;KPH^5rk_Us9RjpkyAC6QUuy^R$(--;oEJKn90_xWcx>8uEGEbVFjC8`h@|$gr z%b)=tT<1vN_rK=%`0dmG8c^V>mlP^03oMiRz`#K)?H%*E5*>bCCgeK!jz&>VRkq~e Hvw;5tl0c(! literal 0 HcmV?d00001 diff --git a/native/docs/imgs/tidy-output.png b/native/docs/imgs/tidy-output.png new file mode 100644 index 0000000000000000000000000000000000000000..fd9dfb9f31b20893431e496c65deba3b3aad05db GIT binary patch literal 35357 zcmdqIcT`hb*Dem01ILCa2uiaYMFfqYbVzK-@t`0gy+jCz(jihpNTPBOrK(6#0ud1+ z(hNPcs2D;`K%|!_kc1vX2qFC!-}B!4-usO^?zm%o|NSyXMs||D=iY0sx#pVBv!3-+GBR6bWn^UC<$sg@;&<@R73qg8^oI2XnF_M{y!6W!|MS<* z%gEr;w+p?uO27Xe_NOaUMrK#rueU5I^qsGa%#*4sm(Jge@mijoWFET`)yESB?$-Ts z3UXR?JjP;U>xY)+JNQ}i9rR|OY2W{UX54G>mgnOp+zx$(GFCj~(dtVjyKuXtQ zo>hgiU!CQM<-|R(>?`x`dbXBDE-Pz)`1GYOopGzMZYp=WaD|%j@|mKx?UxJ~-`P_# zsU=8bnn@e+>t%8(>HfbCWIlef-?HVO!(C~I5B_r$7N#Wo&zbk*3+3g1{b;<_LKU>g zq|_L0`S|Fc^Cq4;&B?qT7}_nP_K&r&i*5y*@7uaxlnFY%X_NG#k2~)s?2<7H-YNT` z;NNE6Dx1m7{U40zJl704qqB|iqZk`A!BXmlQfT5W2jsBD?^N38(FML7lZjP`IVTGiLv#k$E#vretZ}ruB8*ASJ(b0}?yl#LorT5=1OxTLO^|i3SKSQAk&mkP^q8w?k1C_!q#dmLOqa>vslH_jDdtTO#xqg>Gt` z{vIvqOTRAPtpA_p&BTF$ErPaCjQHndb|!?oI1J*g&yS-vR@VGzBTIo8bgO9D&X!Q2 z(e~qR;G8;0Y$Ls6zNE0$9U)rFlsJaM?LZt|0-V1gi4EuL(?+BbLcz4Ig|>$Cm%;q; zE}RGtT3t+niH(H@D-4Qg4h%vJD+p=4iJM#QC7gFQdAobV6H959&<3)nn4r$6wNP}yaG3E0KgLb>Z|1I^w`7Da`NEWbbT!YUai>dsI!Od2(#abo^|I8 z-KVL=WZmc5mI?sTZO@{8MRjaTS7fbUx#tbb&?o8M{*wK@4klCi<{*Ez>f}Z>bOzxU zQZu8{Zr__2q#`4up5!!l8YW&@OQcF$K90xVkMg%VS6+#?Lr!9>6?Y#QI}p1qUzD3} zC;0&uzldEL^EgBi4N*~&Jn9+LIta<-3a0Y~6Uu_G447h{2)*sWibOF7EV&oAvPMMl z*4J31P&>fjh3|74uqePLI-pWaGi_0C%Kp(DGrj!)&*sDWs@nE#qmiqcD_i4uc;}ou zE$5m7i;dJs4)(`dz6dZx6J%rTC&CMtTYI+x!Afge8-B7ItoHPj;9_kidc8AE^xwkHCmlB z)^;pg+u*@P)6T_$Ct~VF4_TRy#5)OTieSCcZQd0>vw=+v>J}kqK>L?FGb-+j(v2CjG(8{7+&9~!qI`s7Qx0E%UHZTKdLMlsi|!{1T- z5Yu1o^|?EHtSToP8m!0Ygg0Qaqw1B8eKrJnauCyAKe5>?40)SH)d=)j`Lx%GUB#QI zD^};I$P+?KAH}|ThCR$H{~{;SP5(G0dC1gqSs2{~R7!g2cmR$->QC98zq-#7%BZZ> zRkUj6Rk!CXdK@S1OG91JsKjvRM{d;Yok{1GLoXzQ8=aDWXnawYk?}}znw#UTHi6V7 zb?R2yRs%z5Q;?*iMH&G$)()@1ND%r#9pbqm8 zI7Qm#uZEo3`BvBi61Qn!xLapC;)d5oq5M0Foq2l1VTDUmLqzngPQ_?RZNfBCoE>P@ zRoUBqszQgfSka%HR?dQfUaH71a`vnZjb+|p?P2F+;15EcrggLFF%76)N%teYj*3ZmAAh;>+U$N1re3`D|$~9OLk9gc@{$96j+xe*ql&ROGZHz3X(w&d@$WVDQ%doO1 zwUh~>DtI^YRi>3(e}pg(zYYxrGQyMZPg=Z6HVK)krV!Nyi%ID1U58&sTnhq#wUUuy z?lu>is0+^Eq01;%IBhB0cE8h7c@t_xlEoltNu51L5r2q?180kp z&#!*A;uxR_eT^#9>)S)T{w_^YB5p@jp6(9-HMMhe1=rB`Fz@AaHp0)QEr$qm@6Q9K zMvCNfBt@D;7D;^V<894e-(3lBoRE_Z^6wazB>8!p(w)A&qKPsg;IUw;`I>QRi6Ic+ zt`&)X9wn^2ob22xk+%w(fcbdvSbq7{ER}G@85OSQwC+rOkE2=rMD)tR3K^O2J~bDt zGjun-Lbe6pl+PeR6t4^Sd9lhfu7C=J z%J%gS^_c>>V#5SQp%?3$$G0O~Fu(0S?QSzLC=R~*0@)fis;{#`w zT?Qmb{uqe>kL5+zK(fQLtv=qCJ&jMi@ck2V?}xs){kuR-Dqc1Z-nLqc4Nii~GN!iQ zgI$YZ4FS6=JMSfJhX*Qi-)|~#8VM8~EBIk7Ym@5pHmcWBSr+wGIVjsSm=Tb7k%$jz zEq&+#vwJyyMUdYjjP}4B;JL3^?}uB6k&G!~jukqB*05l*HTrtlSNgkZTUv7m{&-r` zMn_CLMbGMESo0J_2;-s7U5SNmmzKE~b?==G7GFE3twhZNxw)&z`t^S}zNv28Q#bol zg!JQjuafV#3p(F`9hJUJZWM5lD{BjF&RER2i_E0ybyVk7(W zoW$hNqcw9&~TBwNo|I>ZfMD+wBZAY>mIWj zD!0oDzgivU<@HWi@@MGnNX6@crLCA~fYrwwci5r&yi$Y2OZn~S7r~iU*s!#oUxBuk1qwW+-| zaeac|J{@meR9>*io0w0oxU+#1%;ZXgXITX~y|$mzoOgZ8#EKkpV=Zrtkx98G>IV|u zI(=fUCVW)eCp+VBrFdkYoxv*6MCr&X)Ytnk$cP1C%o8oMD>8^Fd_U==Xd8#Aj;e5y zx$4so5ZO;&;X^)d1>f(c1S-uKDamSZt&@Wh4OWV$bG0f@ISs;I&>P4FC$K03A^3KOmjP!o#17%6+m`tQHZvDWJ6` zvz4)~VUb;hG&!xVUj)wUyNQpq{m*&q&i1X9tk6c9m1X%yZO{POKI#5nvIa`3fSX%t zrYL!f6;P`i$=L0q&hq)!oKO+8vSkkN`w21ZVp(@iZ(!u8oT30}E z*2WjK>_d3``BKTx&yvauR{Z5wins%;=Eio9A5pP7_X`L%94hY%$4qGTowq&HC1vE3lbqfr!Oh){@0ZS3Vypk-2V2NO7gr1yg?xVo(0BkEo8$ipJII#Jt1U9vWf6g@Om{w>Y zh@anrC-7Dg{JFLPco)u^J5_22FsX|o^8}hv!MCR*Ki5JIFcul})w?rj{vKmiTqXK& zane9-5wm-CdH!W=KKs)=&H6{P%{sRV&Mdd=GP{Gap3LZ8@{YK+#NH9TKZ^sW;n(0} zmZTspJG$%6Xg_k(B|12k0$Peb{-IKPBlkYbTl}oGxd&h~Uohul^${NT!7M`YG>z!z zH8f^w9QUCa)_?A)#QW2jv7b5#$s=6MvP|F^vIXAzv>qRQ5#)N5 zJ-W$)Cp3YfWi?B0XU_F4aa&a2u8rR}e?0}bbS0-69(x=VrTFs(!S6fz88rIl+3S&7 zKhKPrM4<{UQXfel$I&q%4?2DC$jsr_pKPhH>~T2r(kkL$KDhCcQvEFKUfk}Am*4>-!F%_Y?+9T|IjpupoHPFi?#y~ zF0Wm9v9$WUuCP!=mYYu??l+CbMSf73nR=5pBg-w4t4G>-BZJ9L27)IX6n{p*nU*ns zM~20J?!VjwRIv=3s+|c-#xGF^K;|b9CrJl~o-{f?65N#5%p}2xGwa1Nei&55(Ec79 zB9Qh)axli{uZcfA;9iTL?$o^e8!%L)!SY)m-0~c!!8j_&N!wefj%^BC-PCM>Kv?C_ z$iU`5bvTw2cJtJ%?ApudHKVT+9G|^o{S{nM2(51-eeGpRX0!iXa{86HoUdeQPSeTO zj% zJa%KOZSoZ&j&@twd8!%MW}Hx1KxQM-NW{p&u^iITv4K_FS-MHqShEgm<;%HohkFH+ zHoc(-#|_HBkwF|-7BUd`ZkT$f{7Y0Ra{tV?jP^gqY~elc>kPb8#wI#|!;sEb?Af99dBDM!$}w7R`DLw_W5Aql?f`hlNe;8jVpKZnC8&X zL{$p(xkNAhXgNNe=Y=Np6bwm6tnK5@h>DbFby?3Nu5sA!5owu0x|s2>9!~8N%2X0a z=e}*Fqhz(bwG14%k(Lt7XI$teMj%zJglv7LcsQX}6=laXj#psoN0yX~=<4X~zI8 z2~c+{R57Kh?xNNU!()8ER6i7Qz~3*9^rEhoa(NMNwSGq2+?baFtp9v`U;GTma%?f| z8)lMjoEIHMc3pq*$3%7QuCF6Wtj>`WxDcj!H>?-e!AcenvI|n8TftGmnKNA@rMR~n zX5E(VaK})EQj!`2z7j3O`vL99_rUl-!8 zEIMLoe=+kPncN)?gp8w0KO*qC675@K_ZI;*xJWflSL&4znX&0?#+}?pjaLqoH`MV? zzYTHYsDv-tyxyp)`|#!NNmNS}iw`dXCW?#U8>}z*b%|HdMp}>Da&kf1;zSl9`Uo(f zCm{y0f3HoN8{PH<H^`_@~ms zkmC%_-{CLxJ=L(!`tqAdCfO&i&fMfyU**Qk`5QW+QlqHtJaQVl$(>wF4*V$!EQ|LG zsiq_g_H#{xfxd)6(+r3{IZxu6?_5`u-h@kh!hU6Xf|U1+J<0EJfIQm{35N$(1AgPw za`MYLxM<2c?x^_CFnmV06IiyK0V1$0mH1U2!zoXaqYFj1y^@5iU}yGZ2fmpwcz}`# z%i9i_CyfqitL^W0+n>&ZK4S)$PpW#j9noBf)hg>X*){6)Y@i(1h4}P=vh^?9;M>80 z_ofcoB7-7Nb=H=7xjz<#ac@ikh(emb*Qe2r1_c`rKTSi`6Tg2%e4k6qa_B(Oe^E z;wZkd++5-rfh=FFM=V?X7N}PXS7tBHni}S`UFp)@ZwE!M;%yG-zhs}!n^C2_DUXtn z0s{?_0+})Dfuop9gkq4j2>+p%nPzIde_1Etc9Z!E)D3-!%!8-47M4N%^Hgf{I@Qm# zH7hOP|Gc2b20p>jc8DmDf|bzL)S#WMj%dp5q&?_> zAF6?rfX3ngn7iDapGOw-GnYprDm0TNt}T@Vb+S%sLCw;EJ)M&J2KOLvRt3hw&u_0tNzcu` zruJONR&67Swvh$UF(waFCMhfE(^-8IA(b8I7i7kJ_EJl=25mp9U`fQgp}+D<6y|M8 z=Q7ad7YX%WsNjJ)aHic+IN4R&c_L~w(s(c1wFhF5Bgc95L@Sa1G;7B+_6cv%4?4JT z5ieeIal-d^upa(Uw;?NkZDg5+>$aag$j4KKZo`%Pjyw|#x$I&Xs|ZwPN>WeGVy9NJ zOgJ==KG~BL6MXG*__7AoU}z|gX+$umdyuI|$k+T^>i7-gKrHb}&qdzk)5q)O(!R?6 zp?Nz;r6k9h2SX>n9jqvjz~H5={(r}<)SC89f9p!YX?$CldBk+!7T z;jxRpJM;v9`@dAv4Rn9RHVa><^uN{&4q_U?HU&k?S$(W|te2YHQ>+P#+N2}soE4oZW`v~X7OQwX}C$*L9otS}6 zmHx{HX}tZAy{1Er&Ze3oWSzRo4tV@g#?7|6TFasz580)R&ixUQ7qiB-|^Y&drV31{a2N^f_svfc|!^0&{R1Gy?9C#EvRwLJ*k)E}c= zY%%^~U`%tU1CwPhVK=C@j~P-BbA>%eP6FV#K&@`ZsrFhkI}BKwp?a~PDHm`_i+_OH zVY&C{do`wZ2sireZzMD`qX|m@GheO0`Y;iC4Rg5$reioXfR6v+U#p>&cxF|omx>I$ z9C$|4dH7|AKFoG7AGTaMCwW?1{s~rS@{)9{Q_zmV!tcIU-E15&e)yKhQ_;?egS8HN z!g-s&Cgsg?|DKS!(ZqW*X!JWC7Bcmx+h>)Pn9WOZczP~)y;{v(WTnaUZ^m}*!Mcu} z4%Q!NEt~Xb0$;V~^A}e@B9FKS0$}D$roz=Wz_UNsKS|2cPGW1yzv$Ft_IfMV`yrF? zHc+><77sb^=0arF8afFvS3c=z%J|!e1Ldyw@+XGX3Jf@wRsLc zx9n@nY0uTW-`4I*YW_K#IvmwdXJIGm-W6+#)t>;TU5xy}bA+srdyy3oCARAtLe*wQ zIP{{mRJ6~CSaQCusJHvC_1eMC!t$R)=@M~j74d3aaoE;4)YoGX z;&|!=O8;?*-TcIp1Ee3C#bulEE7}}kyC7;N%v;}j%|!cAZON>6hq50Su#ZZxa!HsVn|jkgjm3&?s6I`8|j4xI6G%oLAjZdf!uMdF>kx!USdB zTWK{JYKcmY5#WP~&>xkGu-#+!K8I5y-X}dPtkq>WtASx@xx??7V_tm+p-?o{cB<}> zwqaL(#4>NEuVfMSOh16O%6A!>85p`fO0HtwT~!Twl5w{FP&*n}Ng64rh`)8$x*Pjv za+3$#C#@6@HCk>F^i(3J9-+@Lb&gUi4isvvn+8*#i1emiYi3qTQT4kR7gKd(C>3Z~K|Uz^6`OkQvF)h$2xebEyp#f{$g z=325NKODg)Ca6sCX=htEG=K2s6)if>OoflOj*t4wS{N$H0uBnDA2!O5@P#WDpD!je zXEuL{n6=m3ExNcxp=wxKDtLXXV06K^vA1W$Gh52yHE3{`I96rS{c=k9p#piU=Fo)0 z2c=xafu#E?iiCR;sNmj7p32qZH_Vja6?7?gCS@?fHyFuF`_H~ny^oFmA1D9AdHfd{ zKooZnC1QR9J(Q9u0R(oF#8sp&6Xp(LMT?C&2ss%|<^RcweE)}2lA4i|E@A#-&BWv% z)=Eml{4er?l};sDDx5PvpNna>v~)-t^g??H2#N~>1Kr%(8Sa9;Ky(La(jvT*#LiXe z!e#!VMpnr5z)3gQS?|2m(Mp_whl-iCu}&xVN0C2j(t7$W%gQRLMj~QZ6`Wj3xS3vJkm(^i}s_2 z^RkKNN&Strt1+isYwnOjnvFu;&p!24{4`Y`tDZeN&~NnX24}!Gdm(<~YRub~(U|&& z-ioK&?;Gxrk@>kHy~C2Y_#wPtgz%V?ldzLUJJIsg;*xjj;nz=4SDG*r7O{#ypA&Q< zZI@O`<&P85#%p$Jq=w@Op5?y`=LvTK0k+28$2aZz7sX_fBIRq<6ke#ro(El3>|-f# z(tn<_RqQ*~!)|icI!>x!{Ku9?eH zF8p$McZrncOhA}{o(=Of>|0Nhk zzSN1e*Q-5j8yK7-uzZGp)BEHo<3&uMAf9Ol(I`1(MtF9o6iCQ#nwqLd`_I)MNdBZ* z{AAflWI!x|kkcddbSfX=f?1-k-1GR~9tp0UZ=a|#lJb^efzkF`)&TDFpTmVrKGejzW*l}7K%w*~@T-=E59(K<5ouQYu~u;-PJHT8H0yq= zdN!bu!;wO2;_=#}WcU$5p=a)RAX1IXV%)(!<~pXkzGX4EH`|}TMc-}r-UF6d#P3>O z0NnRO{=LZ+SUiFaKu*FK6`B1LwpDLP6Os*A{rq_`ZKKAeIENcy`y^9!{DP@5#7!>T zi)~t3S*-!BdE-DfAV4c2I0qJ>Rs0 z2_81CM+^~S|2B^s6~>cNF@wx-)WG3eF}IWy7~)U*Lil3Q1)xWu!uQpJNa#;LS&oM8;|AK#vzI<;P$ z-I_vZT?lP(j>WIeT;=}Me=IHFvOApNdRW*K%%Z+}^I0=iEG+G)ZL#|9q>-Mk4cZ!8 zquZE0*+yBlX!9tUR>cOkybq0SS`I%uErrVEI^)6x_Knl+H`J^x z6K9b1WF12vhglCkp0F#TRjXIv6^>McpRcF|&WePTyvT10(U#0qcC3$@-__yvySKdB z9(mNAru7`$S8lj>bm*AW2`isclkShU6~G(f*aebN(5*(fp^ej{aSs#$mkYB4wb3(P znn4QmUZYyMh4yZ%sc0Lmz=AyfrzTNEUu*i0gu^Z0-|+#YMzJLqO@!8F9M6kiwD#Lm*21hJG#ZScXx=GN|pW0d%-|wqS;*Sd;-2=`fi#- zBM?jJ{aV@2vN|KT6Q@OI9ZVFtRJSTU3YRM1J{nFo%g<@vmMXd0-oS6ADv;~4H!Ty( zj4&Bqb-yVT|H~B%vaY%TDVm=RX*MN75BRN6(r5naStPCu9OB03PC$`)&0z7XPwJuA z^lr`UEI-d#i~zS0g@s|nydeH4CWCb4OOX99kFZVKYxk^J<}qexLT3jIG`UbWT|bPk z-bvi#9uz879rGWTh>XdhCZXM4kVC6eq|O_{j%Xd2$c-N$04tJ*gMicl~ROGI9 zzJMO3fCGr6@!e?g z`ni)@Pm{B=pf3PLSLSlX*QsdA%;%`pgXAn8hn}q;P3^a#n68B{vkuRa zPK<}~W`Vilc}9CGls~GxnE`bN+&v6FiPIyqhSiegr@hL73AGp>EMsCcaH5Or>IHF? z%R?ITPcMLtQ7LS9QM0c7C3}I=@Z~`Ds?<>vdMX`Du%K`fU<#XO+4^^B-el-{x>ZtsjW`sXolR z0C(}3dZ!z<34$g}w$Z={Tb~$yn_K(kMt(-b8{R`z$6#H^?~K{N!Zg2*msb>RY{+*R zDSrpfj(p95FP@{XPcSdXm2SvK21V5ICPSGegMp^&chjO5AY#{R>G42?qLXa%5+9%B zq9y;X-4}i#2X3&=SL6FG1Co!LMp^I27E$MkUw#_sQ!Z9Co`UzY+yMJmEqDfv z6d}1LyZx_5EUq_6(+0#Cv$?*MadbT`6l+qC{PY*}5B3#$o&|EW_V8FOx-idpvW;7i zRCJV4V>r;&dyX)?XXb)Fzz-EyCi3uyoGtGq-Vt9W1p|b?xe*41Cuf$2JazL|4+LxV z`P?|rTZs@S;$HCR?EuE`1oO(6-0J!l(?YZw<1IPe5X4+yt96Kn!!y{!U4AgHmdcyB z=QGtyb`j(Vs~vS;uKdY;KKz!llimE3)#}m{ZrY~MX-9)@`d7+k7BSIq>mKw!Ww7*`32kYyyIZ^%>-jhU zk(Q@koU<3XxpQsYio5iH-d5S`NVpqcy)p3}^w@)vDP33lHElK6NNep2VjS@?HKpOP zFde}f_lW+R`eC#5Kbh|#*Z-f?uu?6bR9*G!3h6cf?-lU>OXsB@eaN9d_SsyrZ&NX=TAca^SH#7} z^28CgCuB|~0G5$Is-r7`E*4-WDgPEXH)Rur3r`Y$RttlH;DeppIzo=&WXB&hsjPg zI$!GOY#{~KudCeT_4nryj~usceg#^%kJaxVe_e!_7^Sm#?%`g|V8`#<5hq9vb$iLK z?W#%l+zLXcDWNK|2zRK~0&p-`S7aNkj0xVG1de2tJL~e%bV=nZHZlpA3Ji!Z#)vD${GzHeTQR zlVO$xz4!7$bvdIdAzg=4zn$=)5%bSJ!iWAPdsTN&Zw=ehQnSj=&AUW=buIi%x!r2D z0sYMWP#d(+loJZ%v-}W!+d?LDtbdq|wrX-;me|EM*W&+K&bOm@io$P!KU`1JFsMvapH4LB>mwWYcIp2xeS`^&7@tZAo;(PFQZ z=Lv6Pcdc!@X#z+qar|!ZZuQLp_Xd<=+f~=^i=>jd>YKz{XcZkTn^iN*l_w>3NOcan z3;*v>9q?3^4JKF)oyvLp&<24xv8Qv|1_o;Ru(#6F{>$p}#^>&P%WD+>0g70Y7<#X0 z(=8a`{T*ncR3X)}2rpK_2!%Vh>Xgenk#R>uk3BMRO@?Q&F95T+1C`ZEvT}$w|48Fy z%vP%8-|efoU2yC0c3{c%w<-@0Snab{`nvs?Xj5ue?c&%=@w{MW+t~q1g=#}hrAoyL zLH-?y`o$nC$x{0f)b~jSE`8=RdJ22e>YM}S8!v5{&ihB&pa0hU#HO)r`+n4yUQ#5g zT=^}bB!+zBkKc(!Z+^b1b@24xjnZA5v@QwT+fGM%tvIV7KaX76p||zmGJ3m;Z0^?5 zT?3&tjzhvM%u%_^;Yl-UYXb)RT>Gvi1T32wR{CcFiO^XKyg(-~fLyzi{jdE3GMbd- zr2Du#8Kv7yaOWJ*&dMi!^zDvr15W1$eEM^K`2D8WDuTC4_mkjVtZNW9gJz{x9(MF) zl6#&>um0fnxT>5Ya&oqE$u}t9s`{9pt%d8vSF#$hDk&pFxzB)STKBN{F@7K*tPd0ydean~FF|DSSTjxV~sCn9Ns7nX_`RCtCod2EE_-|))YmQhd zAjHHiuJQ2^JEG@^^PIC_s&Mw-q{vGAKzF({iEdWG;BhP zigWl%^yQIi0*{^$v9zh8<} z<)at6WhJAhT3A}1yj@Dx?@CW;H5Ndlb-gVuJE+4Z3_MB!srB5=I>k|ATTyYR?ZK=Z^TWAp0X8Y9X#)9gALx)rNBX2ALVbYm3m z;?Ko{70Dlt8PTH-kV@w{P|8He3d4xl<}C0xdZVT&Onb|z(KL>vAiQpLi6dhu~%BZ zXdS^QiFrcU~An!39#>0pCfHHWr+PvvtVWV^i(-=pOZkgae91^ z-uVnt2GJqaty#9N=`hMW@w5hmVm$K=xU2gy!N1?@DYyFt^zwrG`i4siy*D4qYhlDN z7)2w-0@d-+RUhY`z`|5m^Rflbb;!jO^_QL>VRj^XB}2WQzj{J&wuIq48x1LMSbU^^ z`Wbh8w~bxh-VRo0?I?wb_}e7dgUaSss)2_tw`TJ<=9arT?MB0d5cOn^Ye4gW|hyN zFF)k7*~XbfBkRSxxb!c;*7SVucC{OE5}V96n68sr8B=P8{_{N2EHlj}AT6sbmO<;Zf7Rg{0Ek z=FDb%HBm;7Om|g4hT?JkZL{~ z(l&w2V~^jX>*}|E<+|4$@p-xGSVW_xU0p14SJ>b&ToiTyLaud=Vq*)&f*Z)%T{ZWBT@Vh+F7)_i?ZA+=oY6l!^{z`pfhM_pj4 zlx<0@9oh_5zi1J94W&-ijuZ--g(;d&EkhT7Scv)jweLD4>GC+ppO)OEu04#M$E^6P zVBVB}qaM!ZSh(=tNu@xIbp6Ov?uZDSR}B=K2@UMvK*FcCf3>(wi`5D(0*zU$0l}4L zjs<%L{R*-q{f($vmFh5QEj7H9@s!@t2^}y}sS}0uJdJO6;Ul}FF6qGo#a}2)sem%msnw+sHd;9)$~)b+bD z)xn)I$tbx7AzzCtOMxdeiZvWC5d|n1=#=gR#f*Hz#jfCv^3cO%*Wp$XNU>r5#EMao&40 zlU6Alxl7!KwQhoR!Zg61>)=bo#h5?(b$AB6mAC;I0Bvm~_c3w6RwC@>ZAuer>`_yz_ zdnUEg3nJi@M54k8Nk&;F(UXhh?!kwz>>LD+D=t1Si6_M#^w4Hc!cnY)uvwp`^ zKb1L|du8Z0BHgwkiQ*QQ>vl?2P$O?T(7X6zd()B}N3-Tpa(~mjc|hwFEki>7$_T5G ztTPB_>?R}Ml@2F2p+qY2FQE37^L>m@=pqvp5xRYVmwcWMn>t;0F5S5|Y6=GRPsyOB zj|JDP35*Va(Yf|iX@%T7@zYp#CjL^Ki~Nhkw56gG7CnD2W+h%O&*T3%(&9o}$S&hQ zxLI#8tG6mw-p~3tguS8||EEPqvD{~x%UoMy;^}epH&F%2Y0dhCrY6nOn(Hn(XKn+K z9Tho@!_dCe0WIzK;G1I#Khr|p^RP>eysb4xRLaKcTl$j>&L=d~2^SimHa7BJMNXQd z116HewN81$i^BX#oIlsb9aSKHjK>>Mf?H@Inv~T`^5Le1SjW#>`FH`AMgz zT!&6xb%$VZ5vFPbOVf(JQ=d|l-{#hwz0McdWYn$fFVJz#&xS45X6?UAm4%fvLhb$ybuuB&t5RV+7Wl7~Vb8pD zQvJSPFsIUlL7cAz6%&_!0imkEQ1#*N@R_(JTrIT1m|*@KwoXq#YK9z}?RY@%cmdUs zWSEa;@s(`oW`=?dS+I2SM zwS3IAXwHsviebj(jIBedD-}bslos8IK*gV9F-}dOg8Lss#T*d&&M=#}q+ zCB+Z_!w?96_?GbS%ik;q_F)ygqR2(9F+#+IkNnI%9mFeby z^IayLm$s1*(@MCpR{WZAmjSSC=i6sOgGXCoq5HA#LksLeG`kwW0Z<#MBKz3)v6ya? ztl7)gX#+!%r+Z8ng=s^~=h=0pPnHcyj-)`>XqMYie`8eV@^h%oj>~~i69QZO$FvvG zrn9scPQPVq#MRM4CCx;nCEp#>s*5}1guA(VSTzMOhQ2uUeDku!lO*+*9Y_l6)C~UU zWm{!zoR<%Hfms*ET+NR_YD2GPLSDXS8vMqac*~+NW^pcf37@lEp#ybJ^{cddro*TZ zBB*&(4W2-i>*auX1ZTE3B9iohOJ;utKM@bkASM`I4rI`u>r=p=5UxSp49-aMd zZ&w^l0XBNwE<48@)<3-_bB_MTa+^VV8;k+y>MG&K`C9xX{%HDn4I5K}IF_1du&d1w zXlm^2HXOR*pxCWcShO>m;E5R=fe)I-N%wn{<+qvr#u>W_>BE)nrEOS%=d10}2I8^) zkv7%(vLn5dDzY@ntEcDw>dOTK{c|#4FW-ep;-+5+0&|()vKr4j=3aq$T6!JTdGFh` zHyl5-hx*w9=?NcrruO(c$9W{IS<}7ld=CbE%30WeXj;+4g;rn!r}OsrW`Zhai3_pvQWcCcHpeN7}XoHcWSQs?R8*>0pt5ln{ zYV$0Q|K_wWK1^b9?60Qu)d_dc=rsGd@tKn|KDUxGmPcYlzBn``8B;RMnf{)ZDSEeh zB`>3oUT2aSJa4+Y-MAi13q_ls{EclA%vNhx8+$dLE&4V@3BaLPUYUBoWdR-8XX`Qa zGsNTQnd!Kd>R0Hd=P9V!%5LVMiQT6ucQ5C3V-M#VTBQSjR?zAJ$F~emR`!&e*=8X^ z%Cbq~k%`u$w)-9QUKmlr7*^-HAO0>|Vsu68D&jf$&9&zqL8!>&ihI_*E0XGCTCDUJ-jvD*k_GNxX0-{tV~ zkqC0s)zH$n48JC7meCnUj~D7L8b`F(Alc}^FRve$Mj|2NEJi0_Cy$N)|GIn6u%@!V z@7K{$92;XJC{3{dQZiBLZInRBNU)5BuF@e86%myZLJtJuC`mvd z0f7Vv5FwBVNFoG?Nhr_8|J>y~=RWtjuIHTd;yJwHy0Z4#W$m^0TI=`ye1Dse{$J7x zIH<+|)nzHfNbvOvX;D@=F@##~5;-rvfrKA7u8s|xVBQWmH;P-r4tjhwWfv%DRTmQO z^)ofOb7W#C>{N1|YT|RJ?GqjgD{ZFVtc_V8KNSO)?Gy^{qBnh69{HqY%6dJBmcZg& zO$5)T-_;rRyY80?>5zIhk#)+txeUD^@P;L(&3I6lchnsWjV&DVa)Jq+NFywZ?C$i1 zeuJXTa?oU#d@8oLie^c-3p`o9gR@Z=AqL6v!@O=QEoy73Ijt}&Pd^hrg@u#YUm9Of zlx)l|Z4)mOT8k{yb=iLvPTbDbO2(-Sm8h1CSeq)W2##4rsPIJsDjemHzIdwp{$B4u;OjMc-Ff9%&9m~V|0zG?0?#b z*=?*sx*pqcRi#Z82A`vEFL?&;3NGJ&E-^NJX_)7Q2RSS)`dY97y<=*s63p`9V2Ej; zrI8P%j9h9Yy84(dT|SO7pOWn>-x|ckohUs&y%fc6(`-4g7`@Pcq#ZXe+f&Z=AD2&x zUnRksl^Ue%J#w7?rY(37cl46sNe;t@@=txO ziPRc&7Q~ulxmeZJNU>fi?sJhZ)#{kx(FWHhyxzdbF39q`Ku<+`O$9!3*jE^G*nG~tSq4kM^@_Rj)9 zl564!%F~qeG#%DA81!-fqZ~hpSn+@CKN^tt$YUEQ5c-(a*V8GV8Cd_0Ys8Onoi^5G{NCHsN=0(cPy9>i0mJQ!27^q}X*A|DBu7E2esTE0ny< z-dLF*Z1sSo%5fPR9v0~Fv}t%ja;W;&spXbjBdQUVkcITuw>wT~n9V6ugU4Yd6{P_a z$jISp+2OIcOUou|QEJMI>5CS8m!%Z)4w+5M^=mMCuUtJu;9R(l^wnXrNnzeUm)>>Vbm7wZ zspg;d9oK6`9(D14JZ0+nseEu9E5vF8>u2MI@I6&R#B~2Q(wK-hR^m~W4SuE~VqFXT zNX6+3B5Ics-(rpU42d_q%90&yy&o~lLxk4LL%epI^KnJ`(@W(AqU+OLT&K@vt80Pd;S4iM3173y%ISEr zvKG(EkmgtIU63Y;p3Zhimd;~thy^LBd`NHy%9_Sg)#h|EjrsnL(}g(tiHJH?xBwS2 z5+bg@QaVyQ-D|adZnz5P`U@s@d1(2>P!CmmIl$yiS)a7IN4=T`Xb`+U+q~QK(}lZx z%Dv6wRXmlho*fg8v*Xp31`l&$$H(%RI)gjxyI1}DYb$QW`ZY+lo!fdPeF;MAY>}{2 zm1xb0^c(?s#kK)zz(&q{E`LAhq5QgjaRM`AeOo zUF{}HmX7)T?X|Aws+C*%L*kiwwcYv5VDf$&sInls&!?l7kGxnm@U+P3AU&O&&Azhl zP#o5xHnhV9zQfli}Uz6)ih$sHE!7?Azqg=yIUl$ zFmm$-UG;7zxzkHXzItsX3#OlBlk|Kb3ZS3rE=U3~%?5^iG}(LFAE>qxlTtX!5nh9nWX}&J z8*|a8!%DwWu80gLa6xJwUmzXy9IF!95negfe6dRY+snsN{z>{?_T5{l8K%Y`k&$68 zszAe_V19uo48vr(!o@bo_|OnNCWZ1)BQ@#Lmk&dkSxi!BDV!f|;UlzJ{ z)V=q_z|nKl&#vpbu+QXB>=BH6gbjISI|kJ&RSE1n$p;;S836*h_zdFaHl(>T@{=w{ z7bZ-(Z`C_}bVM>#qs9(681C9Wd$u{Hn%5SCwZRR-xs&B0{a(YyiutxTvP<)ClAhoN z%7JjX=_2$9cmREgXBp5N*m!a^k^|?xR7ngJB$vG7@7Ct$<|jkq;KmrPDh$OjQRxK&}F!bjo>X^gkLTk^GYxid@D zW2aFt;+kUF0E9_z{SE9RFu0Nm_zCe^7`Dg6&)NxpKU>e5_sO84_&18tC0w~a#_wpj z6SG&0Q*;DdZxQ%bQnH58;WN&xQ*!gE0-tM&X>fmhV10W&XiJBBrD|UokFd4kg z7Q9ekG)Ae0L9&+7vOv2c!h~{*nX}~M4SewGyf{WfJ~d%kB5`o(C7C(()C?gM zYIWmj9U_*^t1D`)R&U@36Kx{(o=83kfLUEi2NLBZH@mTz!wvO9fh;3KTTRZtwRkP}T{Kk(u`j`4>RH#F+RdNj@jQaXuUZ;+ZwPhjz8?iPq}&N< zufX;Z`vjh{GU^LxTw%>FPMItq$<=9p+I908NXg*GzaYWLLvo)~Uk>-$@l6pzBT-XY zKEKW?9KObE$A_0R?TF$C`0{OoIZ4fh1C&2amRsj-MIyI{VSEk6E&4dg%FfcIu08c*NZ4@dB3)*N+GF z>6OSCQ+FX^!PEig7239mOmKYKqNR4T2oEZ`*#!UDbaB8s~7}VDDSE0VZTe*Uw zhhlQ+)e84Y!^N8#V%_r7WNE{NR)P2HNqv5cH8(V7u4t!t)2;_cOEt5s6`DJ1{MNrR zIWpP)Ohbb*tGj$X)pOq0;yQz#*w6Pn=a4ryLS;_2+ws!_Mk>MMQu23C>~NK_rqM^! z%*YG$w@vD|5SNftiH@lFh#;Z~mgZ~`jpORi$52h%cpO!`xTPRHYRuJ+64Ndkt3Z7J zlPDYMusR?0R!*HxfM+Q8A}6fSdC9i%sX^pWIHPHPi4nSYImfDfa0liBEBi~9Vdk>* zJU(Mq&2^AvrBWtP8eo1GPemP<4Q(m(*p|YUTqk^Rj*H6U-W(Y)4IFTNdV|R_`xB;1 z(}I<>G&G6y1cr1?I#}k;e0Y3B3J5|krRc&4w5Ma!dXkWtOHG!g>ftyMi90LElv>XDK$yF;LZrk+#?uwpIGVp52H=XmGw4}y5y7eFxS2XN1Zx$-y0j0yRxzhoOV&N;Nc8r;+97WQ+5 zm}R7kN~s-%<30ZY?kfS{Uafs33j;u>aOrdgcuO3iSJ1`1sc2nb!d}R_dq{k6MURn& z$mh&S!dmQ-Nxu@nF#k5^_96R#kZZO}5y@gLEA?cLOg|P6SEZJ>Z7z^0HB1y|wKl(* ziK0EH8=A9xT{TyzrqalJCQe?n+OSeVkfCC5N}^Q@Vw=1-n>%6FNbGr~jGi$Tw8JumrX zUa4vmJrAp$B;TF8&s{!lFe!=0yXR$B>U=~?XOCg_L#RReAFko~VA=@g)PsLV?PE>t z{u6572SO(e$1<<)OMT8wHoDuOm?C=k=^6y9QxMKD?IGG5$1Udji3jys;FYy~-xp|4 z1eGQ%FV5C7X5td|d09-UA;l{xVfpvefQ-guRj@LHIF8F&Tvz#f7i{ed46MNJV9zZ-;McW@binMx-RONYA_X$`3LAO(3`tr0d?0La!YY-qJ zhX{@qS{8MMMAI>jiD|8-afI&Z^hjZ;_(koB9N4w&tkaet`$qvIT98^C0C4N|E_c>F zNp5?>`xW_Y;%;hMb`}&`oti;Sc5sn&W+Mru*(xooS11orR;6_s?yS% z(FdEgE|EkIqI!j*_k+a{{is^2-fGp?Y@0`}C@4}RJ>9C4cwMc;iV4$@4f)8$HMejV zKVaS|X)!B{O&*8`5y#l|>4a4OFt>@Em%~*=)*bVx+uWahh$K|Lm=Pg|8|k{{-}HSnF-M87nmnmvk37E%-`Dpe}p^X?kV7;4>i*?=~_TKe>W{69^5W% z_iW!sUD|k***BKXaKb!7=*kZZ7+oU$Sqb~3%zeVOtpJ$`OAA|-eTu|f0ZfYLJQNGLYCgM_2l;qn-_LKhHq zYmJlraIW#-&KYk3!wmevvg0?f3xqHyHUZg}_}Z+B7u_(-&C($_@)`9_7H9_6?jtiY zC+QKgfc{i0+~0;g*GaHYcu!g&-)Byf^~CPebq3)Cc62e>juByv#-Ew5sq~XiFCb5! zB?)@jUw9RruB7sLlQ(+u+Zi=wqo^j68YEGNLl4W)dS_XGPxG?Z5XU$_QU!}XanU$j zy0I+OZOW7d{%OOs&6k%88+%o}Yfy~k=)7qf!egx3er03!U#6I~HT^t$;t%aj27)P+ zruccj28mqut2d|qt<`lz0w!BvYgxQ9rb4*4-7m8e?5xX-D2ZUG%!fa=Ml(d${AWrq zbAp?5w$)FPU|3rJA1O7$ODT2~ygq&7hmp%|rhOHmp-w^dpO>bjdGJz2)8-TYrb3%T zbO8S#)#*5@HCu95F{~<`y4W~#)R1K}ccf9UB+NwacO_3*r3l`e2nLsJDSc=vG83XA z2s=3vufsH&sIGlzI9D9dyJ}(ZfEd+@)R1Y5|7>rEejTLGkrEMQj2;2I((R0RGS!&n z9xTcke9(I5n3h^7!xf)N+P44^$j60~B6j1erlWci@19~SOxbm0q@gbBfv7n3LjvME z$#akmFfu(H02!}EvT8R87I@YEAy3JK)q!CLL`m#=gDugLfvM`Les!s{OU8$mrE!1%T3~f0%0YTR^D=w*hc4hW|)m$77C39{hT5QS}Srdie})*M`Km zq54_l9!JX}FO1)(gpq4M)J&kJ{Gz(rO_N7gB2?dQWfJxyqr(=FYK7U%7oray`vrBc z=6z@CDs&vTSL%mC-6{!Xj_TWGJB7qBav65Uh%z-4+HM-8>WWe87x@1s7>uRP8X>i) zHr1iIjn3GZD;>-Iq4Jcsl8TI(n{q!Usx|R%3&Z;+WbDM4Z{0!U0V*Yu62)j$O`HWY z%6NNdMo)Nq#YP>Ma>7a3AE1VIk@zXqBuK}gqac0y{ZqicrKdWzKB@tAi07qI65$Le z2+m>73LK|QrcBE_`xaWP7Utf^i>*`bg|=z8R3S>z7?}A2w&?4?uxWBSHiR|odb~-z z4e`nUGQ@}S?(gA>&Gr7S$32_1??zlH2GhMrvmJgbVq%w&{8La~#+@(@$DjQ8=Gd7ORyocuGxXTFz$-R7->> zC^D2v1cO|h9@`k46xA=N#%L{8JqqkjX(X%+o8ipGR>cz+vBNZxc7P&WP``_NZ51#y zB+iqrl<(0gkmc@`CnVk%`9%@-PS@4bV||U(2Us_)bMh8W;Pu^?Bd2@}P!|Z{mI|M+ zstoqr>pswoPiVR8Pz_8bIdwp!%O~Wy-xF7oJojor+}TIy8ZTFv==d*nKD)iheG4vS z_i3@OQLnWZTiRG2QIbDGR|@-`;5dtcKrK;SgWo*c;Kt2pz~oTXcKYuFu_J@OiV{WB z=P7@n-LTJxtAttO%k|4PeYQO#~vp_Wc(FbX0-6R@p~Mg~#Qx zfADz|2Qo2}s{;5p*8jT3&#xwy$_Zs8b8d&tlTXk4k%p-*Yg|z32W!8p%x60(s9%Px zf&CqW_X=EyCu6+b$g_ zo7HMWQld+L-xN@BUz_N&ch9Ws&sI zXv&0IE6{xKoC`^5#$&fl`V?7HXYC6;#{43xqsF${bf0;p%G@DVk#iDU(P6cF;d34j z$O)L>rf)?tQ3;Oi$`iyc_N@>{qvF}B7uFvw9};mK<+6-9u_u;-(oZyX8@sU3xU>Bl zqw}hjA&Wy!$$-TNsJ$kY)61=1se#*u)PTM3azuwaoO+Jd_J&Vj^tn8`*Dj7on!{#F zGXRlz?0%|??pQU8R?pp?qdSQ60I>49TI=sCCs|LXUWirVYp2B1r0E$#uJ<$CU(s~!4qKuNc*E()*+U9HSeCokW-ajQN_ z@r%?372Czoa1$%^N&oh-`2GO-M`OOi{M=H<(laoJp%F8UWeYsg5ne41LyJ~Bu^`1S z?Fi`$Z$Ax!E;Px-dyH&cX+2m&YU0-+G~!Z}5@Y-pvTgUrVVwf>>_6sQQ$0Gnv7%tQ zt9)g>2j5Qn@dPXZ^On!fj}`)^JTr%NZ*?rE;`j1$gnlVbi2(^Hupr$do~WOWJn<^> zSAikEN@m7^*y);Gq9;ygknBmBsbx9d@GrAlV8?iz{lJ6S;FRg{VqBpQF3#8Ra`HQf_yS-Cmtt8t>{p zc)}H5y&Rz*klZ^j#cxO2lSXd(0nf{ab3XC*=pAPZoLqtaO;nb(MS7#m@^Xv>@CqqLB|#BA(&6qbh_!0E9))P-`eXIXO?p1Xt#1;-fO z;^aYP$5&);DWlNIiI1r#hCk2`q>wWFH2r3XIQ|iAIsL}BPhVQ5CrmRrMa8ykis@Tk(dS0Q4+W&Cet zhfvi8)fD-#S#j^9^G}eIf)%q?DfXlYO_hdz-AH1|9!td5(Jbc@?gH7EF&!WJ!)xvi zYP(9r!29$Q_dKdu=dOC^0S}>G0YIg%DLxdA&UHRq30%EBsqVr1a8@ zhh9ZKBXmMz?TDh3ZWGGX%1dp&!TzSwhrp6jWp+9l))s&|SL$~kg~e{pO^iYxgHrKd*fvv>L#`xS`akWg&uI4Q$f z89PwU&_SK5CtI-D^n0p{uuhqaG7YfsU&p>F)_jJ}KEFDzm?*qsXl25IZm9-U4aPd& z8rW}<{R5pYQMg+68ggqh8vw`WkTZ9h)V5By_k5>TVo5=hTqIK(Ifs?PHzCRSRt9Jv zugu6NaYFhSC!ddz392Ro;~dqsc2?Q0JrRaLnSHiiaUmGZ=?J!Xg*RF;l;N~~^) za#&h6jEMb@N3zH@p^TFC(aHB)(HdF~vxj=>U)2>KDG?Y?5VEKYWrrE;+FKF&QOlK) z5xct7e@nua>>1uDU_Z`k_6;TI@Ezuzd!}r_N-OFIGiCknElObhyNd4wgvlW%AOJ;f zp*}7!g{_$gL=L~+oUQ(SID8%Lq3h~nAhpGD-CwJrxf2@%UnT~181afrO`yVSd4n5j zVt+S)dNG`v(~mw6m)T&;d|P)s$5TGvn!ms;_bQ(Pm~o zFL5g)T$i82TKYJfOyeXKJy(>;;$dNBCFc>rTM?Tj`&0YgRcmdV3;(sT^T#mi9?jAG zY=@WmpNV;QUU4w(;(2zrhr1TiE2Zz1=qD4Jikm{D z%pos()4f6w7CLwi#-#6|=M1xVIiMUr#`CxOU#uxhI)Y0hB%5U(3_NP9r*B#eumt5# zU=A>0*@herlA3&*fzkArZg415hnVJO-J6ON&^iocgQT#Ydb_Q6XNwVEAcv7 z)zcwxoAI7r!mZGGWVsUkso?g@8J&c7MtCr#qjLlGt#}Kw~T{>PZ6Cm`^}s4$A)AZbvvJQXyruDeGgzKTxUn5M2*~3nThLR zozpemuncub+Dav-FV7Mek@?Bp)kdH~sft=%(>Imt%WmSjq&n~DvY3zXYRvD6_CY5p zi&71m3qMbVg7ZUCw1PBRIlBc(5n;GAGi%loxr7;hK<-CB&+yaD0<3_WU8rYMn3dLT zrtNzn{kyad4m&{8tc*Lvr)gSgHHX;m-d8xe3$9Csu7Ckb_FXx^r&&~fo9n)%Gy44d zi?>j> zk?rsJef!~_aL{m-Larjk$bI?McE%X;-s*t}OZPRaBH)O!>p~EYfdsR3+`jwMVui)USt7Q8ESc)LvDBG3m8~U`0PBOQF&wCv zO`ZL6!FEr=ZHX4cUN@Zi`#()%Qm4DVd3AKs*SRBcWBuD-Kgle392sj8&_Z(rvh|le zEwjSdu25q>DHj z)f1wex(uqzqWfcs>OxzI(DaU9V}ly=$;buAI_I&3mIbwOq2^?@N1Zn5x5wqe-C7*ZZ2jg}0~vXJ|eMNp#5o zA(m{vrbDFDbJ7!3`^mZ_No+nqg4wV#8yyqvGh7Qj$|idbtmTOV`ieaOB3;(&8o!@U z>Uy!q`j&0&6$mx|P{NUhn^?Eo`?s)Pu1Fy-HIqc>)#kGIm!Mzmc{td!J@2YDyU&?( zdlH@huXy=b`G1egWA^+6oBcyccmA$Dp`u%7{VQ|}EclKyO#ADf4v3>l(JsW+x{OpU zHP9TSg=fZRds6veIv!f)!%LaXkb3l?Ep#k=0qr zR^AP3aA@Csd>6hAKqK7gSN&zlwPy=&>r%;I3IY>cRk_dbnZ$I21N%#;1lj$mI3@+B z6-}|gzc6JRbsYL}vKR~CYi6)%2#Yr;OLFFAMX{*1XHnT7L3ds|A5n|9SB>YqjH zF7A0VzWfRy7tg)u46}XLuhpq4QieM#Kc$wMIoc~ZE#RO#OAaZ0KUP^^ly966uvg2D z@ADWB(^>BZiN?%gy2?vLq*|vrtk5IFsZt-mX^Im;z^y7$kJwMjZYybb(K7jvgpMY<#fA|5Wh37-9-BU()G?_FN z@TURc2VnWp9JMrpxp7O{UFRr*VxFm**9*dnQF(mfnn_>~eYQGe1pQ&ZKXa{9-q2Zl zYu?+Jxs66NYF>_Y zKIS(+yj8Xj%<~9|-MK);m1cvs+=#sLb^*nxTL6aXc0P%CAPuCLLH;Ir@h+n7w88ah zqdnu9s!8Iqj)0FDi-W1uCSwgF&Yyxk=(CqD{(`x%HR+u?14z{}IQ`>IWgx3G4}i@; zQNW$Nxa2VjTDQDJ8-r%UCt|sFQk1XqJR1N)oZ#YfZTYj%Un4Y!3Vr|F7TO+lb;af9 zmizfl5*GRZaK-Dsj?!%3VGr8JBX%X}`bx=l?;!bEkmMDfc$`=N6{XXUX zpv>RfqBQJ+bZO7oDYqzXi=ghqEr;U{W>EA^KH=a!OSEaG{(2d@W-c^G@(rox;Ca$Z zwue`Ut2-*lh0ykVx`>>VP5SRzjE$$<8t=eG~u0@@k-*U z%G2>$P+A|T=v&0$M3+m>zmtD=+qkPZ*bntQZya2+LcK7eyZC&n=QH&r`Rd}9Un_@O zCEm^Ny#4FkR39#W(%rHtIJWT0oht@slVE(RxTOAO2Dq=8G6`*N8nI}_!ISJ;ESPz7 z4NzP<49+^WlOn4cS!V0P%=XZo=OGxkd7Z^ZufRgsDdj?VPv)V6(dJUqmsG2_TRhXw z!(AzMIk3orTXR_VnVvry@t*~yxjkJg#|wUI9$nt{9!KzAgRdJ3dSlpy54k{1HGjW zegQAanv;!`S=Gn~_13?=U!V+_klC!Bq2_;5)dJ=H;FdMGl$(^3ezq3V#DxS@JO!_8 z_wVpB!t=U#XLUqaa@WJzno$cw1uxWK2R91)Wj0ZgIbC?!w78h4V44cJPaL1O|3>#I z)k1|WmV5S^QqBi9?}F)JC;{f0nVC&5j`9Hy)OG8kZVYKYi|h7Etj;grgydok zXoY+KOebGouq;k4jP@002dVvqXEP?(iL|9Q-E*z*#Griy{aeL4!Y)*CaRT_wOdgZ;5nR>tMq>lfu z@mUmU(G4plS%t6&IvuSk1IrI@JurF1I}Klg(}G=~+K;rKMa?>e3J}NqCsW&SDjPxJDgZqT{XG zZ0$euT5P&YV){frquMSz#BTqA-Zr4b5~l1W&EEIJ;7Zzmh2GAf-|Jemtli2+lx1s#l`dTaQ zC7Hg~7SKD-@=EC1C~0wN&rf&mU0CfeT7uz0yIG@0;&{KB)K)yuUbp5sRiFOng$MvP4`9f z>Y*tr0$6HUKC($V{G_AG7(6e&apIuej+1t;a1K)ZP+M~nh72s}hEEa*cwKt=czLsE z_T=o4{I?i48+@#&VMd~|sUNM#a8r09at9_!7xJs9006)oIk&;NS#?Qp>EL8a#R1SO z&|%&^x^{W=uacT23#lqI;dYp+idYWxJicOPRsEH@%P2qf8<@d?h!lk)%uwHnb++$@ zzazB89~-)d`^-L*qVIF83afc7Rr>*x3HgqHr%4}TaDdjc;y_@t2D-EF#~BvJY`RXm z6SyWqZXM;q2msbHv(_nQN?zCCH8$A3gEy1}u1mPx2;|PI2)h|wvm-|6I|@y_&8Afi zF8{LeXRMfz+EmvPJ)e=y&(-`KN<0wQ$oN;yGmDrceev;8j%Xzz|`CSR*|f2?@v5X+sQ9EwI-Nvl}LjHDo?~y zvdMmQ(>m030k#jfTgg4Dz^Jw!0TNu=>O!+W>S7|?UHqtTv9pNcoH@HM>_GB(7DTTV z-EMLTvlSB|zCc@c$@9)lTQdHMP4lJ^4;$Y-hOaHZcZK08h_1$Fk*hoHLkOnjX3+MA zMD{V$MyW$s7S7xMH?O=8QXmKPPRTLoS!n3U2?b;&$w~U%RW%FgbFOElVqz;Xq39{- z@5`~>eAT&3)$0QLi{q_-ETU7Q_c8S$5pPW<#Jl7!adr36S(0?Ic@FHYYWqb@7Nk{h zG&#;nE0y|jnN0|fKA+PVtcS)VoHLD{5Xps0!d5Q5UXm+2IfRz<&A2AbUSXdKc9T zRTktm`_=w?DFOM~bb<6NK6xyCmYqUVr_~3j1qqusYsazv`q|~~$kLqY2V6({ANS>g z-Ni$GoY>;p-tBJ(&wZSpnmuOke8jcjQF~41cP0Mp^k81f(C>e}rM!Q@Tj;Oc?!U4W zK^mjaa3Up-Fvw+}-J*``5-h;_G`Es`L9AU( zy5%~oFBoI4kc(C;^?}(g3CW+mh;{-$h&ot13N_p({)Vb@nia(EaFLJV_Rzb^6RC|s z=SgC;lznpH4NlaLJwfoIE9J=`?GcxoorZzgp@ ziUV$VS}SoP7P@q0%8v ze=V-Xx+N|rO5R?DRLsB0Eha6W#Os_HRRsx<_`dO>jH^qB;(W0L8fwep$XvrM@@T^g z{kZ&3T3pG*VEasy5E~HIhp7CDgf&?#()o+}h>zL+&#O@n%)#rul+JDbv&LR_c`EIu zQs~ohfA~&SE0G=?}AUQ(bg${H>K3O>P?p>}?9(?1UEs9&i_dG~PRrM8mErP~}K12Tv&UK%CGObs8gyG8B-yyno zsX6=+<<+C;97R+|DB>f)>=6Y->hdb$bA2}XSazC8o7nXJLSEpXt(Ezj{SP+2se$Oy ze%)P(N@*TwwdKK%0_do+cbavW$41N@H)P*sukpfhkvdyO_86-Zjge}@$e7q_z)Nel-0&@W;1X2{)y(}u7r9C>KYxD4sIe+O6Ufj{Fm(F8%;`w zxK4N=aiO@TtCRAoU$E!i)$=J^II<^SB-$*p-)=8e+okFl__V#ZZlAK)LL{PymsOUl z`99J3L|!&WrvSbeo8nrQ;)$mA|bl$vueDIT;yJ$r}p=_Sljpj$fZ0x zwBu<&XaXu|{=|@VEsza`%7GM)ghIZF5L*7RJ*wF3qdFy+2urdf*%TM%Ib1AH5$MgTUFJ-W|*Q2 zxE}w|dHyl=trG9NGzXkd$otjRPc=Jf&nB?L4^HPzpCvUjB7u}XdvV8azYTVgY;S#h zuCHo4HXhDFsTq#! z!i6X6JCZJOo%=@E%31j6vd$>gUhHdhsOs8v3f7Au=7-{tEUB*{C}#onG^oX7pX3c> z<;CzEj!f~U`vi9si|*xFN5`H_b%rtI5Ou-t0|15#0U^CKCM*h`G){P!3$BWR{<|Hv zQ0rT~81z_FFo8S!g*Pn_;ztV%&P;+o*oT%eB>9Wa41pL~?|O~(Mw@T%dU<1b(0-`3 z@__5EXf2B4d_~vM0sbKnH`cK`>d%A~(1+UleLVT6rohWyn+wNNAz??GDcI`Y04$tg zpL;0kKRX*6?t+c4HRTbi99C&Yq0x6EKbZEl(osrsNT}%;a3?`Ig3G#wGc(LC~%QYajo1p$W0SJi54 zj5V0U4q7IsxZ!p*>^O%$yB{5{7`qgC`JmkIPv#L6{@nDlYl%HCGT?8685tfl;upkJ z3$!-h{{{5`?V3aEHDa{(DNm%^})jWS+pi-0y=~&g*Fo zfQr&ZYpAH-`q}0O=PTh^xGF;D=#p%uRe9^wP}}m=)9 z2|9vv)9+5FUa?}#d-j3%MeC0c@xu=f-tRCjHZ8AL>P44!kemxjkZEHVlB}63a% z^?uS|^l|BY0#ZFzt-lx1wfJ} zWx;kUOsUD2gUosDIjUdf^Oo?VG%L?z&M21ZcF`n-a2a^VB`fZ!Hx&Zv1Ic zGRh!I)|UXP#TzztsEYa3qVb{C%54Xfmmd7|?J!Wp11OTRRs;ym+^}KCR&-!zavz@k z93s_-A01V3+B?0DPOsW8R78U-)c&_HPRBKE{_b16s!@9I+6zi3$J!U literal 0 HcmV?d00001 diff --git a/native/utils/generate_compile_commands_android.sh b/native/utils/generate_compile_commands_android.sh new file mode 100755 index 0000000000..04f89fd9aa --- /dev/null +++ b/native/utils/generate_compile_commands_android.sh @@ -0,0 +1,17 @@ +if [ $# -ne 0 ]; then + ndk_path=$1 +elif [ -n "$ANDROID_NDK_HOME" ]; then + ndk_path=$ANDROID_NDK_HOME +elif [ -n "$ANDROID_NDK_ROOT" ]; then + ndk_path=$ANDROID_NDK_ROOT +elif [ -n "$NDK_ROOT" ]; then + ndk_path=$NDK_ROOT +else + echo "Cannot find NDK root path" + exit 1 +fi +cp CMakeLists.txt CMakeLists-bak.txt +echo -e "cmake_minimum_required(VERSION 3.8)\nproject(engine_native CXX)\nenable_language(C ASM)" | cat - CMakeLists-bak.txt > CMakeLists.txt +cmake -Bbuild -DCC_USE_GLES2=ON -DCC_USE_VULKAN=ON -DCC_USE_GLES3=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE="$ndk_path/build/cmake/android.toolchain.cmake" -DANDROID_PLATFORM=android-21 -G"Unix Makefiles" +mv CMakeLists-bak.txt CMakeLists.txt +cp build/compile_commands.json . diff --git a/native/utils/tidy-fix-commit.sh b/native/utils/tidy-fix-commit.sh new file mode 100755 index 0000000000..66ae576336 --- /dev/null +++ b/native/utils/tidy-fix-commit.sh @@ -0,0 +1,12 @@ +if [ $# -ne 0 ]; then + commit=$1 # can also pass ranges: HEAD~3..HEAD +else + commit=HEAD +fi +changes=`git diff-tree --no-commit-id --name-only -r $commit` +filtered=`node .github/workflows/filter_by_cdb.js $changes` +if [[ "$filtered-xxx" == "-xxx" ]]; then + echo "No source to be fixed" +else + clang-tidy --format-style=file --fix $filtered +fi From a7f44e2c04e82b274b66d8c3657035f1d729ba3e Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 12 Apr 2021 09:42:36 +0800 Subject: [PATCH 229/270] Coding style doc (#3345) --- native/docs/CODING_STYLE.md | 1415 +++++++++++++++++++++++++++++++++++ 1 file changed, 1415 insertions(+) create mode 100644 native/docs/CODING_STYLE.md diff --git a/native/docs/CODING_STYLE.md b/native/docs/CODING_STYLE.md new file mode 100644 index 0000000000..c494d6042b --- /dev/null +++ b/native/docs/CODING_STYLE.md @@ -0,0 +1,1415 @@ +# ![][1] C++ coding style + +_v0.1 - Last updated March 22, 2021_ + +_Forked from [Google's C++ coding style](https://google.github.io/styleguide/cppguide.html.md)_ + + + +**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* +- [Header Files](#header-files) + - [The #pragma Guard](#the-pragma-guard) + - [Forward Declarations](#forward-declarations) + - [Inline Functions](#inline-functions) + - [The -inl.h Files](#the--inlh-files) + - [Function Parameter Ordering](#function-parameter-ordering) + - [Names and Order of Includes](#names-and-order-of-includes) +- [Scoping](#scoping) + - [Namespaces](#namespaces) + - [Internal Linkage](#internal-linkage) + - [Nonmember, Static Member, and Global Functions](#nonmember-static-member-and-global-functions) + - [Local Variables](#local-variables) + - [Static and Global Variables](#static-and-global-variables) + - [Decision on destrcution:](#decision-on-destrcution) + - [Decision on initialization](#decision-on-initialization) + - [Common patterns](#common-patterns) + - [thread_local variables](#thread_local-variables) +- [Classes](#classes) + - [Doing Work in Constructors](#doing-work-in-constructors) + - [Implicit Conversions](#implicit-conversions) + - [Copyable and Movable Types](#copyable-and-movable-types) + - [Structs vs. Classes](#structs-vs-classes) + - [Structs vs. Pairs and Tuples](#structs-vs-pairs-and-tuples) + - [Inheritance](#inheritance) + - [Operator Overloading](#operator-overloading) + - [Access Control](#access-control) + - [Declaration Order](#declaration-order) +- [Functions](#functions) + - [Inputs and Outputs](#inputs-and-outputs) + - [Write Short Functions](#write-short-functions) + - [Function Overloading](#function-overloading) + - [Default Arguments](#default-arguments) +- [Other C++ Features](#other-c-features) + - [Rvalue references](#rvalue-references) + - [Friends](#friends) + - [Exceptions](#exceptions) + - [noexcept](#noexcept) + - [Casting](#casting) + - [Streams](#streams) + - [Preincrement and Predecrement](#preincrement-and-predecrement) + - [Use of const](#use-of-const) + - [Where to put the const](#where-to-put-the-const) + - [Use of constexpr](#use-of-constexpr) + - [Integer Types](#integer-types) + - [64-bit Portability](#64-bit-portability) + - [Preprocessor Macros](#preprocessor-macros) + - [0 and nullptr/NULL](#0-and-nullptrnull) + - [Type Deduction (including auto)](#type-deduction-including-auto) + - [Lambda Expressions](#lambda-expressions) + - [Template Metaprogramming](#template-metaprogramming) + - [Boost](#boost) + - [Naming](#naming) + - [File Names](#file-names) + - [Type Names](#type-names) + - [Variable Names](#variable-names) + - [Common Variable names](#common-variable-names) + - [Class Data Members](#class-data-members) + - [Struct Data Members](#struct-data-members) + - [Constant Names](#constant-names) + - [Function Names](#function-names) + - [Namespace Names](#namespace-names) + - [Enumerator Names](#enumerator-names) + - [Macro Names](#macro-names) + - [Braced initialization](#braced-initialization) +- [Formatting](#formatting) + + + +# Header Files + +In general, every `.cpp` file should have an associated `.h` file. There are some common exceptions, such as unittests and small `.cpp` files containing just a `main()` function. + +Correct use of header files can make a huge difference to the readability, size and performance of your code. + +The following rules will guide you through the various pitfalls of using header files. + +## The #pragma Guard + +All header files should have `#pragma once` guards to prevent multiple inclusion. + +```cpp +#pragma once +``` + +## Forward Declarations + +You may forward declare ordinary classes in order to avoid unnecessary `#includes`. + +**Definition:** A "forward declaration" is a declaration of a class, function, or template without an associated definition. #include lines can often be replaced with forward declarations of whatever symbols are actually used by the client code. + +**Pros:** + +* Unnecessary #includes force the compiler to open more files and process more input. +* They can also force your code to be recompiled more often, due to changes in the header. + +**Cons:** + +* It can be difficult to determine the correct form of a forward declaration in the presence of features like templates, typedefs, default parameters, and using declarations. +* It can be difficult to determine whether a forward declaration or a full #include is needed for a given piece of code, particularly when implicit conversion operations are involved. In extreme cases, replacing an #include with a forward declaration can silently change the meaning of code. +* Forward declaring multiple symbols from a header can be more verbose than simply `#include`ing the header. +* Forward declarations of functions and templates can prevent the header owners from making otherwise-compatible changes to their APIs; for example, widening a parameter type, or adding a template parameter with a default value. +* Forward declaring symbols from namespace `std::` usually yields undefined behavior. +* Structuring code to enable forward declarations (e.g. using pointer members instead of object members) can make the code slower and more complex. +* The practical efficiency benefits of forward declarations are unproven. + +**Decision:** + +* When using a function declared in a header file, always #include that header. +* When using a class template, prefer to #include its header file. +* When using an ordinary class, relying on a forward declaration is OK, but be wary of situations where a forward declaration may be insufficient or incorrect; when in doubt, just #include the appropriate header. +* Do not replace data members with pointers just to avoid an #include. + +Always #include the file that actually provides the declarations/definitions you need; do not rely on the symbol being brought in transitively via headers not directly included. One exception is that `Myfile.cpp` may rely on #includes and forward declarations from its corresponding header file `Myfile.h`. + +## Inline Functions + +Define functions inline only when they are small, say, 10 lines or less. + +**Definition:** + +You can declare functions in a way that allows the compiler to expand them inline rather than calling them through the usual function call mechanism. + +**Pros:** + +Inlining a function can generate more efficient object code, as long as the inlined function is small. Feel free to inline accessors and mutators, and other short, performance-critical functions. + +**Cons:** + +Overuse of inlining can actually make programs slower. Depending on a function's size, inlining it can cause the code size to increase or decrease. Inlining a very small accessor function will usually decrease code size while inlining a very large function can dramatically increase code size. On modern processors smaller code usually runs faster due to better use of the instruction cache. + +**Decision:** + +A decent rule of thumb is to not inline a function if it is more than 10 lines long. Beware of destructors, which are often longer than they appear because of implicit member- and base-destructor calls! + +Another useful rule of thumb: it's typically not cost effective to inline functions with loops or switch statements (unless, in the common case, the loop or switch statement is never executed). + +It is important to know that functions are not always inlined even if they are declared as such; for example, virtual and recursive functions are not normally inlined. Usually recursive functions should not be inline. The main reason for making a virtual function inline is to place its definition in the class, either for convenience or to document its behavior, e.g., for accessors and mutators. + +## The -inl.h Files + +You may use file names with a `-inl.h` suffix to define complex inline functions when needed. + +The definition of an inline function needs to be in a header file, so that the compiler has the definition available for inlining at the call sites. However, implementation code properly belongs in `.cpp` files, and we do not like to have much actual code in `.h` files unless there is a readability or performance advantage. + +If an inline function definition is short, with very little, if any, logic in it, you should put the code in your `.h` file. For example, accessors and mutators should certainly be inside a class definition. More complex inline functions may also be put in a `.h` file for the convenience of the implementer and callers, though if this makes the .h file too unwieldy you can instead put that code in a separate `-inl.h` file. This separates the implementation from the class definition, while still allowing the implementation to be included where necessary. + +Another use of `-inl.h` files is for definitions of function templates. This can be used to keep your template definitions easy to read. + +Do not forget that a `-inl.h` file requires a #pragma guard just like any other header file. + +## Function Parameter Ordering + +When defining a function, parameter order is: inputs, then outputs. + +Parameters to C/C++ functions are either input to the function, output from the function, or both. Input parameters are usually `values` or `const references`, while output and input/output parameters will be `non-const pointers` . When ordering function parameters, put all input-only parameters before any output parameters. In particular, do not add new parameters to the end of the function just because they are new; place new input-only parameters before the output parameters. + +This is not a hard-and-fast rule. Parameters that are both input and output (often classes/structs) muddy the waters, and, as always, consistency with related functions may require you to bend the rule. + +## Names and Order of Includes + +Use standard order for readability and to avoid hidden dependencies: C library, C++ library, other libraries' `.h`, your project's `.h`. + +All of a project's header files should be listed as descendants of the project's source directory without use of UNIX directory shortcuts . (the current directory) or .. (the parent directory). For example, google-awesome-project/src/base/logging.h should be included as + +```cpp +#include "base/logging.h" +``` + +In `dir/foo.cpp` or `dir/foo_test.cpp`, whose main purpose is to implement or test the stuff in `dir2/foo2.h`, order your includes as follows: + +* dir2/foo2.h (preferred location — see details below). +* C system files. +* C++ system files. +* Other libraries' .h files. +* Your project's .h files. + +With the preferred ordering, if `dir2/foo2.h` omits any necessary includes, the build of `dir/foo.cpp` or `dir/foo_test.cpp` will break. Thus, this rule ensures that build breaks show up first for the people working on these files, not for innocent people in other packages. + +`dir/foo.cpp` and `dir2/foo2.h` are often in the same directory (e.g. `base/basictypes_test.cpp` and `base/basictypes.h`), but can be in different directories too. + +Within each section the includes should be ordered alphabetically. Note that older code might not conform to this rule and should be fixed when convenient. + +For example, the includes in `engine-native/cocos/math/Math.cpp` might look like this: + +```cpp +#include "math/Math.h" // Preferred location. + +#include +#include +#include +#include + +#include "base/basictypes.h" +#include "base/commandlineflags.h" +#include "foo/public/bar.h" +``` + +Exception: sometimes, system-specific code needs conditional includes. Such code can put conditional includes after other includes. Of course, keep your system-specific code small and localized. Example: + +```cpp +#include "foo/public/fooserver.h" + +#include "base/port.h" + +// For LANG_CXX11. +#ifdef LANG_CXX11 +#include +#endif // LANG_CXX11 +``` + +# Scoping + +## Namespaces + +With few exceptions, place code in a namespace. Namespaces should have unique names based on the project name, and possibly its path. Do not use using-directives (e.g., `using namespace foo`). Do not use inline namespaces. For unnamed namespaces, see [Internal Linkage](#internal-linkage). + +**Definition:** + + Namespaces subdivide the global scope into distinct, named scopes, and so are useful for preventing name collisions in the global scope. + +**Pros** + +Namespaces provide a method for preventing name conflicts in large programs while allowing most code to use reasonably short names. + +For example, if two different projects have a class Foo in the global scope, these symbols may collide at compile time or at runtime. If each project places their code in a namespace, `project1::Foo` and `project2::Foo` are now distinct symbols that do not collide, and code within each project's namespace can continue to refer to Foo without the prefix. + +Inline namespaces automatically place their names in the enclosing scope. Consider the following snippet, for example: + +```c++ +namespace outer { +inline namespace inner { + void foo(); +} // namespace inner +} // namespace outer +``` +The expressions `outer::inner::foo()` and `outer::foo()` are interchangeable. Inline namespaces are primarily intended for ABI compatibility across versions. + +**Cons** + +Namespaces can be confusing, because they complicate the mechanics of figuring out what definition a name refers to. + +Inline namespaces, in particular, can be confusing because names aren't actually restricted to the namespace where they are declared. They are only useful as part of some larger versioning policy. + +In some contexts, it's necessary to repeatedly refer to symbols by their fully-qualified names. For deeply-nested namespaces, this can add a lot of clutter. + +**Decision** + +Namespaces should be used as follows: + +- Follow the rules on [Namesapce Names](#namespace-names). +- Terminate multi-line namespaces with comments as shown in the given examples. +- Do not declare anything in namespace std, including forward declarations of standard library classes. Declaring entities in namespace std is undefined behavior, i.e., not portable. To declare entities from the standard library, include the appropriate header file. +- You may not use a using-directive to make all names from a namespace available. + ```c++ + // Forbidden -- This pollutes the namespace. + using namespace foo; + ``` +- Do not use Namespace aliases at namespace scope in header files except in explicitly marked internal-only namespaces, because anything imported into a namespace in a header file becomes part of the public API exported by that file. + ```c++ + // Shorten access to some commonly used names in .cpp files. + namespace baz = ::foo::bar::baz; + ``` + ```c++ + // Shorten access to some commonly used names (in a .h file). + namespace librarian { + namespace impl { // Internal, not part of the API. + namespace sidetable = ::pipeline_diagnostics::sidetable; + } // namespace impl + + inline void myInlineFunction() { + // namespace alias local to a function (or method). + namespace baz = ::foo::bar::baz; + ... + } + } // namespace librarian + ``` +- Do not use inline namespaces. + +## Internal Linkage + +When definitions in a `.cpp` file do not need to be referenced outside that file, give them internal linkage by placing them in an unnamed namespace or declaring them static. Do not use either of these constructs in .h files. + +**Definition:** + +All declarations can be given internal linkage by placing them in unnamed namespaces. Functions and variables can also be given internal linkage by declaring them static. This means that anything you're declaring can't be accessed from another file. If a different file declares something with the same name, then the two entities are completely independent. + +**Decision:** + +Use of internal linkage in `.cpp` files is encouraged for all code that does not need to be referenced elsewhere. Do not use internal linkage in `.h` files. + +Format unnamed namespaces like named namespaces. In the terminating comment, leave the namespace name empty: +```c++ +namespace { +... +} // namespace +``` + +## Nonmember, Static Member, and Global Functions + +Prefer placing nonmember functions in a namespace; use completely global functions rarely. Do not use a class simply to group static members. Static methods of a class should generally be closely related to instances of the class or the class's static data. + +**Pros:** + +Nonmember and static member functions can be useful in some situations. Putting nonmember functions in a namespace avoids polluting the global namespace. + +**Cons:** + +Nonmember and static member functions may make more sense as members of a new class, especially if they access external resources or have significant dependencies. + +**Decision:** + +Sometimes it is useful to define a function not bound to a class instance. Such a function can be either a static member or a nonmember function. Nonmember functions should not depend on external variables, and should nearly always exist in a namespace. Do not create classes only to group static members; this is no different than just giving the names a common prefix, and such grouping is usually unnecessary anyway. + +If you define a nonmember function and it is only needed in its `.cpp` file, use [Internal Linkage](#internal-linkage) to limit its scope. + +## Local Variables + +Place a function's variables in the narrowest scope possible, and initialize variables in the declaration. + +C++ allows you to declare variables anywhere in a function. We encourage you to declare them in as local a scope as possible, and as close to the first use as possible. This makes it easier for the reader to find the declaration and see what type the variable is and what it was initialized to. In particular, initialization should be used instead of declaration and assignment, e.g. + +```cpp +int i; +i = f(); // Bad -- initialization separate from declaration. + +int j = g(); // Good -- declaration has initialization. + +vector v; +v.push_back(1); // Prefer initializing using brace initialization. +v.push_back(2); + +vector v = {1, 2}; // Good -- v starts initialized. +``` + +Variables needed for if, while and for statements should normally be declared within those statements, so that such variables are confined to those scopes. E.g.: + +```cpp +while (const char* p = strchr(str, '/')) str = p + 1; +``` + +There is one caveat: if the variable is an object, its constructor is invoked every time it enters scope and is created, and its destructor is invoked every time it goes out of scope. + +```cpp +// Inefficient implementation: +for (int i = 0; i < 1000000; ++i) { + Foo f; // My ctor and dtor get called 1000000 times each. + f.doSomething(i); +} + +It may be more efficient to declare such a variable used in a loop outside that loop: + +Foo f; // My ctor and dtor get called once each. +for (int i = 0; i < 1000000; ++i) { + f.doSomething(i); +} +``` + +## Static and Global Variables + +Objects with [static storage duration](https://en.cppreference.com/w/cpp/language/storage_duration#Storage_duration) are forbidden unless they are [trivially destructible](https://en.cppreference.com/w/cpp/types/is_destructible). Informally this means that the destructor does not do anything, even taking member and base destructors into account. More formally it means that the type has no user-defined or virtual destructor and that all bases and non-static members are trivially destructible. Static function-local variables may use dynamic initialization. Use of dynamic initialization for static class member variables or variables at namespace scope is discouraged, but allowed in limited circumstances; see below for details. + +As a rule of thumb: a global variable satisfies these requirements if its declaration, considered in isolation, could be constexpr. + +**Pros:** + +Global and static variables are very useful for a large number of applications: named constants, auxiliary data structures internal to some translation unit, command-line flags, logging, registration mechanisms, background infrastructure, etc. + +**Cons:** + +Global and static variables that use dynamic initialization or have non-trivial destructors create complexity that can easily lead to hard-to-find bugs. Dynamic initialization is not ordered across translation units, and neither is destruction (except that destruction happens in reverse order of initialization). When one initialization refers to another variable with static storage duration, it is possible that this causes an object to be accessed before its lifetime has begun (or after its lifetime has ended). Moreover, when a program starts threads that are not joined at exit, those threads may attempt to access objects after their lifetime has ended if their destructor has already run. + +**Decision:** + +### Decision on destrcution: + +When destructors are trivial, their execution is not subject to ordering at all (they are effectively not "run"); otherwise we are exposed to the risk of accessing objects after the end of their lifetime. Therefore, we only allow objects with static storage duration if they are trivially destructible. Fundamental types (like pointers and int) are trivially destructible, as are arrays of trivially destructible types. Note that variables marked with constexpr are trivially destructible. + +```c++ +const int kNum = 10; // allowed + +struct X { int n; }; +const X kX[] = {{1}, {2}, {3}}; // allowed + +void foo() { + static const char* const kMessages[] = {"hello", "world"}; // allowed +} + +// allowed: constexpr guarantees trivial destructor +constexpr std::array kArray = {{1, 2, 3}}; +``` +```c++ +// bad: non-trivial destructor +const std::string kFoo = "foo"; + +// bad for the same reason, even though kBar is a reference (the +// rule also applies to lifetime-extended temporary objects) +const std::string& kBar = StrCat("a", "b", "c"); + +void bar() { + // bad: non-trivial destructor + static std::map kData = {{1, 0}, {2, 0}, {3, 0}}; +} +``` +Note that references are not objects, and thus they are not subject to the constraints on destructibility. The constraint on dynamic initialization still applies, though. In particular, a function-local static reference of the form `static T& t = *new T;` is allowed. + +### Decision on initialization + +Initialization is a more complex topic. This is because we must not only consider whether class constructors execute, but we must also consider the evaluation of the initializer: + +```c++ +int n = 5; // fine +int m = f(); // ? (depends on f) +Foo x; // ? (depends on Foo::Foo) +Bar y = g(); // ? (depends on g and on Bar::Bar) +``` + +All but the first statement expose us to indeterminate initialization ordering. + +The concept we are looking for is called constant initialization in the formal language of the C++ standard. It means that the initializing expression is a constant expression, and if the object is initialized by a constructor call, then the constructor must be specified as constexpr, too: + +```c++ +struct Foo { constexpr Foo(int) {} }; + +int n = 5; // fine, 5 is a constant expression +Foo x(2); // fine, 2 is a constant expression and the chosen constructor is constexpr +Foo a[] = { Foo(1), Foo(2), Foo(3) }; // fine +``` + +Constant initialization is always allowed. Constant initialization of static storage duration variables should be marked with constexpr. Any non-local static storage duration variable that is not so marked should be presumed to have dynamic initialization, and reviewed very carefully. + +By contrast, the following initializations are problematic: +```c++ +// Some declarations used below. +time_t time(time_t*); // not constexpr! +int f(); // not constexpr! +struct Bar { Bar() {} }; + +// Problematic initializations. +time_t m = time(nullptr); // initializing expression not a constant expression +Foo y(f()); // ditto +Bar b; // chosen constructor Bar::Bar() not constexpr +``` + +Dynamic initialization of nonlocal variables is discouraged, and in general it is forbidden. However, we do permit it if no aspect of the program depends on the sequencing of this initialization with respect to all other initializations. Under those restrictions, the ordering of the initialization does not make an observable difference. For example: + +```c++ +int p = getpid(); // allowed, as long as no other static variable + // uses p in its own initialization +``` + +Dynamic initialization of static local variables is allowed (and common). + +### Common patterns + +- Global strings: if you require a global or static string constant, consider using a simple character array, or a char pointer to the first element of a string literal. String literals have static storage duration already and are usually sufficient. +- Maps, sets, and other dynamic containers: if you require a static, fixed collection, such as a set to search against or a lookup table, you cannot use the dynamic containers from the standard library as a static variable, since they have non-trivial destructors. Instead, consider a simple array of trivial types, e.g., an array of arrays of ints (for a "map from int to int"), or an array of pairs (e.g., pairs of `int` and `const char*`). For small collections, linear search is entirely sufficient (and efficient, due to memory locality). If necessary, keep the collection in sorted order and use a binary search algorithm. If you do really prefer a dynamic container from the standard library, consider using a function-local static pointer, as described below. +- Static variables of custom types: if you require static, constant data of a type that you need to define yourself, give the type a trivial destructor and a constexpr constructor. +- If all else fails, you can create an object dynamically and never delete it by using a function-local static pointer or reference (e.g., `static const auto& impl = *new T(args...);`). + + +## thread_local variables + +thread_local variables that aren't declared inside a function must be initialized with a true compile-time constant. Prefer thread_local over other ways of defining thread-local data. + +**Definition:** + +Starting with C++11, variables can be declared with the thread_local specifier: +```c++ +thread_local Foo foo = ...; +``` + +Such a variable is actually a collection of objects, so that when different threads access it, they are actually accessing different objects. thread_local variables are much like [static storage duration variables](#static_storage_duration_variables) in many respects. For instance, they can be declared at namespace scope, inside functions, or as static class members, but not as ordinary class members. + +thread_local variable instances are initialized much like static variables, except that they must be initialized separately for each thread, rather than once at program startup. This means that thread_local variables declared within a function are safe, but other thread_local variables are subject to the same initialization-order issues as static variables (and more besides). + +thread_local variable instances are destroyed when their thread terminates, so they do not have the destruction-order issues of static variables. + +**Pros:** +- Thread-local data is inherently safe from races (because only one thread can ordinarily access it), which makes thread_local useful for concurrent programming. +- thread_local is the only standard-supported way of creating thread-local data. + +**Cons:** +- Accessing a thread_local variable may trigger execution of an unpredictable and uncontrollable amount of other code. +- thread_local variables are effectively global variables, and have all the drawbacks of global variables other than lack of thread-safety. +- The memory consumed by a thread_local variable scales with the number of running threads (in the worst case), which can be quite large in a program. +- An ordinary class member cannot be thread_local. +- thread_local may not be as efficient as certain compiler intrinsics. + +**Decision:** + +thread_local variables inside a function have no safety concerns, so they can be used without restriction. Note that you can use a function-scope thread_local to simulate a class- or namespace-scope thread_local by defining a function or static method that exposes it: + +```c++ +Foo& MyThreadLocalFoo() { + thread_local Foo result = ComplicatedInitialization(); + return result; +} +``` + +thread_local variables at class or namespace scope must be initialized with a true compile-time constant (i.e., they must have no dynamic initialization). + +thread_local should be preferred over other mechanisms for defining thread-local data. + +# Classes + +Classes are the fundamental unit of code in C++. Naturally, we use them extensively. This section lists the main dos and don'ts you should follow when writing a class. + +## Doing Work in Constructors + +Avoid virtual method calls in constructors, and avoid initialization that can fail if you can't signal an error. + +**Definition:** + +It is possible to perform initialization in the body of the constructor. + +**Pros:** +- No need to worry about whether the class has been initialized or not. +- Objects that are fully initialized by constructor call can be const and may also be easier to use with standard containers or algorithms. + +**Cons:** +- If the work calls virtual functions, these calls will not get dispatched to the subclass implementations. Future modification to your class can quietly introduce this problem even if your class is not currently subclassed, causing much confusion. +- There is no easy way for constructors to signal errors, short of crashing the program (not always appropriate) or using exceptions (which are forbidden). +- If the work fails, we now have an object whose initialization code failed, so it may be an unusual state requiring a bool IsValid() state checking mechanism (or similar) which is easy to forget to call. +- You cannot take the address of a constructor, so whatever work is done in the constructor cannot easily be handed off to, for example, another thread. + +**Decision:** + +Constructors should never call virtual functions. If appropriate for your code , terminating the program may be an appropriate error handling response. Otherwise, consider a factory function or Init() method as described in [TotW #42](https://abseil.io/tips/42). Avoid Init() methods on objects with no other states that affect which public methods may be called (semi-constructed objects of this form are particularly hard to work with correctly). + + +## Implicit Conversions + +Do not define implicit conversions. Use the explicit keyword for conversion operators and single-argument constructors. + +**Definition:** + +Implicit conversions allow an object of one type (called the source type) to be used where a different type (called the destination type) is expected, such as when passing an int argument to a function that takes a double parameter. + +In addition to the implicit conversions defined by the language, users can define their own, by adding appropriate members to the class definition of the source or destination type. An implicit conversion in the source type is defined by a type conversion operator named after the destination type (e.g., `operator bool()`). An implicit conversion in the destination type is defined by a constructor that can take the source type as its only argument (or only argument with no default value). + +The explicit keyword can be applied to a constructor or (since C++11) a conversion operator, to ensure that it can only be used when the destination type is explicit at the point of use, e.g., with a cast. This applies not only to implicit conversions, but to C++11's list initialization syntax: +```c++ +class Foo { + explicit Foo(int x, double y); + ... +}; + +void Func(Foo f); +``` + +```c++ +Func({42, 3.14}); // Error +``` + +This kind of code isn't technically an implicit conversion, but the language treats it as one as far as explicit is concerned. + +**Pros:** +- Implicit conversions can make a type more usable and expressive by eliminating the need to explicitly name a type when it's obvious. +- Implicit conversions can be a simpler alternative to overloading, such as when a single function with a string_view parameter takes the place of separate overloads for `std::string` and `const char*`. +- List initialization syntax is a concise and expressive way of initializing objects. + +**Cons:** +- Implicit conversions can hide type-mismatch bugs, where the destination type does not match the user's expectation, or the user is unaware that any conversion will take place. +- Implicit conversions can make code harder to read, particularly in the presence of overloading, by making it less obvious what code is actually getting called. +- Constructors that take a single argument may accidentally be usable as implicit type conversions, even if they are not intended to do so. +- When a single-argument constructor is not marked explicit, there's no reliable way to tell whether it's intended to define an implicit conversion, or the author simply forgot to mark it. +- Implicit conversions can lead to call-site ambiguities, especially when there are bidirectional implicit conversions. This can be caused either by having two types that both provide an implicit conversion, or by a single type that has both an implicit constructor and an implicit type conversion operator. +- List initialization can suffer from the same problems if the destination type is implicit, particularly if the list has only a single element. + +**Decision:** + +Type conversion operators, and constructors that are callable with a single argument, must be marked explicit in the class definition. As an exception, copy and move constructors should not be explicit, since they do not perform type conversion. + +Implicit conversions can sometimes be necessary and appropriate for types that are designed to be interchangeable, for example when objects of two types are just different representations of the same underlying value. In that case, contact your project leads to request a waiver of this rule. + +Constructors that cannot be called with a single argument may omit explicit. Constructors that take a single `std::initializer_list` parameter should also omit explicit, in order to support copy-initialization (e.g., `MyType m = {1, 2};`). + + +## Copyable and Movable Types + +A class's public API must make clear whether the class is copyable, move-only, or neither copyable nor movable. Support copying and/or moving if these operations are clear and meaningful for your type. + +**Definition:** + +A movable type is one that can be initialized and assigned from temporaries. + +A copyable type is one that can be initialized or assigned from any other object of the same type (so is also movable by definition), with the stipulation that the value of the source does not change. `std::unique_ptr` is an example of a movable but not copyable type (since the value of the source `std::unique_ptr` must be modified during assignment to the destination). int and std::string are examples of movable types that are also copyable. (For int, the move and copy operations are the same; for std::string, there exists a move operation that is less expensive than a copy.) + +For user-defined types, the copy behavior is defined by the copy constructor and the copy-assignment operator. Move behavior is defined by the move constructor and the move-assignment operator, if they exist, or by the copy constructor and the copy-assignment operator otherwise. + +The copy/move constructors can be implicitly invoked by the compiler in some situations, e.g., when passing objects by value. + +**Pros:** + +Objects of copyable and movable types can be passed and returned by value, which makes APIs simpler, safer, and more general. Unlike when passing objects by pointer or reference, there's no risk of confusion over ownership, lifetime, mutability, and similar issues, and no need to specify them in the contract. It also prevents non-local interactions between the client and the implementation, which makes them easier to understand, maintain, and optimize by the compiler. Further, such objects can be used with generic APIs that require pass-by-value, such as most containers, and they allow for additional flexibility in e.g., type composition. + +Copy/move constructors and assignment operators are usually easier to define correctly than alternatives like `clone()`, `copyFrom()` or `swap()`, because they can be generated by the compiler, either implicitly or with `= default`. They are concise, and ensure that all data members are copied. Copy and move constructors are also generally more efficient, because they don't require heap allocation or separate initialization and assignment steps, and they're eligible for optimizations such as [copy elision](https://en.cppreference.com/w/cpp/language/copy_elision). + +Move operations allow the implicit and efficient transfer of resources out of rvalue objects. This allows a plainer coding style in some cases. + +**Cons:** + +Some types do not need to be copyable, and providing copy operations for such types can be confusing, nonsensical, or outright incorrect. Types representing singleton objects (Registerer), objects tied to a specific scope (Cleanup), or closely coupled to object identity (Mutex) cannot be copied meaningfully. Copy operations for base class types that are to be used polymorphically are hazardous, because use of them can lead to [object slicing](https://en.wikipedia.org/wiki/Object_slicing). Defaulted or carelessly-implemented copy operations can be incorrect, and the resulting bugs can be confusing and difficult to diagnose. + +Copy constructors are invoked implicitly, which makes the invocation easy to miss. This may cause confusion for programmers used to languages where pass-by-reference is conventional or mandatory. It may also encourage excessive copying, which can cause performance problems. + +**Decision:** + +Every class's public interface must make clear which copy and move operations the class supports. This should usually take the form of explicitly declaring and/or deleting the appropriate operations in the public section of the declaration. + +Specifically, a copyable class should explicitly declare the copy operations, a move-only class should explicitly declare the move operations, and a non-copyable/movable class should explicitly delete the copy operations. A copyable class may also declare move operations in order to support efficient moves. Explicitly declaring or deleting all four copy/move operations is permitted, but not required. If you provide a copy or move assignment operator, you must also provide the corresponding constructor. + +```c++ +class Copyable { + public: + Copyable(const Copyable& other) = default; + Copyable& operator=(const Copyable& other) = default; + + // The implicit move operations are suppressed by the declarations above. + // You may explicitly declare move operations to support efficient moves. +}; + +class MoveOnly { + public: + MoveOnly(MoveOnly&& other) = default; + MoveOnly& operator=(MoveOnly&& other) = default; + + // The copy operations are implicitly deleted, but you can + // spell that out explicitly if you want: + MoveOnly(const MoveOnly&) = delete; + MoveOnly& operator=(const MoveOnly&) = delete; +}; + +class NotCopyableOrMovable { + public: + // Not copyable or movable + NotCopyableOrMovable(const NotCopyableOrMovable&) = delete; + NotCopyableOrMovable& operator=(const NotCopyableOrMovable&) + = delete; + + // The move operations are implicitly disabled, but you can + // spell that out explicitly if you want: + NotCopyableOrMovable(NotCopyableOrMovable&&) = delete; + NotCopyableOrMovable& operator=(NotCopyableOrMovable&&) + = delete; +}; +``` + +These declarations/deletions can be omitted only if they are obvious: +- If the class has no private section, like a struct or an interface-only base class, then the copyability/movability can be determined by the copyability/movability of any public data members. +- If a base class clearly isn't copyable or movable, derived classes naturally won't be either. An interface-only base class that leaves these operations implicit is not sufficient to make concrete subclasses clear. +- Note that if you explicitly declare or delete either the constructor or assignment operation for copy, the other copy operation is not obvious and must be declared or deleted. Likewise for move operations. + +A type should not be copyable/movable if the meaning of copying/moving is unclear to a casual user, or if it incurs unexpected costs. Move operations for copyable types are strictly a performance optimization and are a potential source of bugs and complexity, so avoid defining them unless they are significantly more efficient than the corresponding copy operations. If your type provides copy operations, it is recommended that you design your class so that the default implementation of those operations is correct. Remember to review the correctness of any defaulted operations as you would any other code. + +Due to the risk of slicing, prefer to avoid providing a public assignment operator or copy/move constructor for a class that's intended to be derived from (and prefer to avoid deriving from a class with such members). If your base class needs to be copyable, provide a public virtual clone() method, and a protected copy constructor that derived classes can use to implement it. + +## Structs vs. Classes + +Use a struct only for passive objects that carry data; everything else is a class. + +The struct and class keywords behave almost identically in C++. We add our own semantic meanings to each keyword, so you should use the appropriate keyword for the data-type you're defining. + +structs should be used for passive objects that carry data, and may have associated constants, but lack any functionality other than access/setting the data members. The accessing/setting of fields is done by directly accessing the fields rather than through method invocations. Methods should not provide behavior but should only be used to set up the data members, e.g., `constructor`, `destructor`, `initialize()`, `reset()`, `validate()`. + +If more functionality is required, a class is more appropriate. If in doubt, make it a class. + +For consistency with STL, you can use struct instead of class for stateless types, such as traits, template metafunctions, and some functors. + +Note that member variables in structs and classes have different naming rules. + +## Structs vs. Pairs and Tuples + +Prefer to use a struct instead of a pair or a tuple whenever the elements can have meaningful names. + +While using pairs and tuples can avoid the need to define a custom type, potentially saving work when writing code, a meaningful field name will almost always be much clearer when reading code than .first, .second, or `std::get`. While C++14's introduction of `std::get` to access a tuple element by type rather than index (when the type is unique) can sometimes partially mitigate this, a field name is usually substantially clearer and more informative than a type. + +Pairs and tuples may be appropriate in generic code where there are not specific meanings for the elements of the pair or tuple. Their use may also be required in order to interoperate with existing code or APIs. + +## Inheritance + +Composition is often more appropriate than inheritance. When using inheritance, make it public. + +**Definition:** + +When a sub-class inherits from a base class, it includes the definitions of all the data and operations that the base class defines. "Interface inheritance" is inheritance from a pure abstract base class (one with no state or defined methods); all other inheritance is "implementation inheritance". + +**Pros:** + +Implementation inheritance reduces code size by re-using the base class code as it specializes an existing type. Because inheritance is a compile-time declaration, you and the compiler can understand the operation and detect errors. Interface inheritance can be used to programmatically enforce that a class expose a particular API. Again, the compiler can detect errors, in this case, when a class does not define a necessary method of the API. + +**Cons:** + +For implementation inheritance, because the code implementing a sub-class is spread between the base and the sub-class, it can be more difficult to understand an implementation. The sub-class cannot override functions that are not virtual, so the sub-class cannot change implementation. + +Multiple inheritance is especially problematic, because it often imposes a higher performance overhead (in fact, the performance drop from single inheritance to multiple inheritance can often be greater than the performance drop from ordinary to virtual dispatch), and because it risks leading to "diamond" inheritance patterns, which are prone to ambiguity, confusion, and outright bugs. + +**Decision:** + +All inheritance should be public. If you want to do private inheritance, you should be including an instance of the base class as a member instead. + +Do not overuse implementation inheritance. Composition is often more appropriate. Try to restrict use of inheritance to the "is-a" case: Bar subclasses Foo if it can reasonably be said that Bar "is a kind of" Foo. + +Limit the use of protected to those member functions that might need to be accessed from subclasses. Note that data members should be private. + +Explicitly annotate overrides of virtual functions or virtual destructors with exactly one of an override or (less frequently) final specifier. Do not use virtual when declaring an override. Rationale: A function or destructor marked override or final that is not an override of a base class virtual function will not compile, and this helps catch common errors. The specifiers serve as documentation; if no specifier is present, the reader has to check all ancestors of the class in question to determine if the function or destructor is virtual or not. + +Multiple inheritance is permitted, but multiple implementation inheritance is strongly discouraged. + +## Operator Overloading + +Overload operators judiciously. Do not use user-defined literals. + +**Definition:** + +C++ permits user code to declare overloaded versions of the built-in operators using the operator keyword, so long as one of the parameters is a user-defined type. The operator keyword also permits user code to define new kinds of literals using operator" ", and to define type-conversion functions such as operator bool(). + +**Pros:** + +Operator overloading can make code more concise and intuitive by enabling user-defined types to behave the same as built-in types. Overloaded operators are the idiomatic names for certain operations (e.g., ==, <, =, and <<), and adhering to those conventions can make user-defined types more readable and enable them to interoperate with libraries that expect those names. + +User-defined literals are a very concise notation for creating objects of user-defined types. + +**Cons:** + +- Providing a correct, consistent, and unsurprising set of operator overloads requires some care, and failure to do so can lead to confusion and bugs. +Overuse of operators can lead to obfuscated code, particularly if the overloaded operator's semantics don't follow convention. +- The hazards of function overloading apply just as much to operator overloading, if not more so. +- Operator overloads can fool our intuition into thinking that expensive operations are cheap, built-in operations. +- Finding the call sites for overloaded operators may require a search tool that's aware of C++ syntax, rather than e.g., grep. +- If you get the argument type of an overloaded operator wrong, you may get a different overload rather than a compiler error. For example, foo < bar may do one thing, while `&foo < &bar` does something totally different. +- Certain operator overloads are inherently hazardous. Overloading unary & can cause the same code to have different meanings depending on whether the overload declaration is visible. Overloads of &&, ||, and , (comma) cannot match the evaluation-order semantics of the built-in operators. +- Operators are often defined outside the class, so there's a risk of different files introducing different definitions of the same operator. If both definitions are linked into the same binary, this results in undefined behavior, which can manifest as subtle run-time bugs. +- User-defined literals (UDLs) allow the creation of new syntactic forms that are unfamiliar even to experienced C++ programmers, such as "Hello World"sv as a shorthand for `std::string_view("Hello World")`. Existing notations are clearer, though less terse. +- Because they can't be namespace-qualified, uses of UDLs also require use of either using-directives (which we ban) or using-declarations (which we ban in header files except when the imported names are part of the interface exposed by the header file in question). Given that header files would have to avoid UDL suffixes, we prefer to avoid having conventions for literals differ between header files and source files. + +**Decision:** + +Define overloaded operators only if their meaning is obvious, unsurprising, and consistent with the corresponding built-in operators. For example, use | as a bitwise- or logical-or, not as a shell-style pipe. + +Define operators only on your own types. More precisely, define them in the same headers, .cc files, and namespaces as the types they operate on. That way, the operators are available wherever the type is, minimizing the risk of multiple definitions. If possible, avoid defining operators as templates, because they must satisfy this rule for any possible template arguments. If you define an operator, also define any related operators that make sense, and make sure they are defined consistently. For example, if you overload <, overload all the comparison operators, and make sure < and > never return true for the same arguments. + +Prefer to define non-modifying binary operators as non-member functions. If a binary operator is defined as a class member, implicit conversions will apply to the right-hand argument, but not the left-hand one. It will confuse your users if a < b compiles but b < a doesn't. + +Don't go out of your way to avoid defining operator overloads. For example, prefer to define ==, =, and <<, rather than `equals()`, `copyFrom()`, and `printTo()`. Conversely, don't define operator overloads just because other libraries expect them. For example, if your type doesn't have a natural ordering, but you want to store it in a `std::set`, use a custom comparator rather than overloading <. + +Do not overload &&, ||, , (comma), or unary &. Do not overload operator"", i.e., do not introduce user-defined literals. Do not use any such literals provided by others (including the standard library). + +Type conversion operators are covered in the section on implicit conversions. The = operator is covered in the section on copy constructors. Overloading << for use with streams is covered in the section on streams. See also the rules on function overloading, which apply to operator overloading as well. + +## Access Control + +Make classes' data members private, unless they are constants. This simplifies reasoning about invariants, at the cost of some easy boilerplate in the form of accessors (usually const) if necessary. + +For technical reasons, we allow data members of a test fixture class defined in a .cpp file to be protected when using Google Test). If a test fixture class is defined outside of the .cpp file it is used in, for example in a .h file, make data members private. + +## Declaration Order + +Group similar declarations together, placing public parts earlier. + +A class definition should usually start with a public: section, followed by protected:, then private:. Omit sections that would be empty. + +Within each section, prefer grouping similar kinds of declarations together, and prefer the following order: types (including typedef, using, and nested structs and classes), constants, factory functions, constructors and assignment operators, destructor, all other methods, data members. + +Do not put large method definitions inline in the class definition. Usually, only trivial or performance-critical, and very short, methods may be defined inline. See Inline Functions for more details. + +# Functions + +## Inputs and Outputs + +The output of a C++ function is naturally provided via a return value and sometimes via output parameters (or in/out parameters). + +Prefer using return values over output parameters: they improve readability, and often provide the same or better performance. + +Prefer to return by value or, failing that, return by reference. Avoid returning a pointer unless it can be null. + +Parameters are either inputs to the function, outputs from the function, or both. Non-optional input parameters should usually be values or const references, while non-optional output and input/output parameters should usually be references (which cannot be null). + +Avoid defining functions that require a const reference parameter to outlive the call, because const reference parameters bind to temporaries. Instead, find a way to eliminate the lifetime requirement (for example, by copying the parameter), or pass it by const pointer and document the lifetime and non-null requirements. + +When ordering function parameters, put all input-only parameters before any output parameters. In particular, do not add new parameters to the end of the function just because they are new; place new input-only parameters before the output parameters. This is not a hard-and-fast rule. Parameters that are both input and output muddy the waters, and, as always, consistency with related functions may require you to bend the rule. Variadic functions may also require unusual parameter ordering. + +## Write Short Functions + +Prefer small and focused functions. + +We recognize that long functions are sometimes appropriate, so no hard limit is placed on functions length. If a function exceeds about 40 lines, think about whether it can be broken up without harming the structure of the program. + +Even if your long function works perfectly now, someone modifying it in a few months may add new behavior. This could result in bugs that are hard to find. Keeping your functions short and simple makes it easier for other people to read and modify your code. + +You could find long and complicated functions when working with some code. Do not be intimidated by modifying existing code: if working with such a function proves to be difficult, you find that errors are hard to debug, or you want to use a piece of it in several different contexts, consider breaking up the function into smaller and more manageable pieces. + +## Function Overloading + +Use overloaded functions (including constructors) only if a reader looking at a call site can get a good idea of what is happening without having to first figure out exactly which overload is being called. + +**Definition:** + +You may write a function that takes a const std::string& and overload it with another that takes const char*. However, in this case consider std::string_view instead. + +```c++ +class MyClass { + public: + void Analyze(const std::string &text); + void Analyze(const char *text, size_t textlen); +}; +``` + +**Pros:** + +Overloading can make code more intuitive by allowing an identically-named function to take different arguments. It may be necessary for templatized code, and it can be convenient for Visitors. + +Overloading based on const or ref qualification may make utility code more usable, more efficient, or both. (See [TotW 148](https://abseil.io/tips/148) for more.) + +**Cons:** + +If a function is overloaded by the argument types alone, a reader may have to understand C++'s complex matching rules in order to tell what's going on. Also many people are confused by the semantics of inheritance if a derived class overrides only some of the variants of a function. + +**Decision:** + +You may overload a function when there are no semantic differences between variants. These overloads may vary in types, qualifiers, or argument count. However, a reader of such a call must not need to know which member of the overload set is chosen, only that something from the set is being called. If you can document all entries in the overload set with a single comment in the header, that is a good sign that it is a well-designed overload set. + +## Default Arguments + +Default arguments are allowed on non-virtual functions when the default is guaranteed to always have the same value. Follow the same restrictions as for function overloading, and prefer overloaded functions if the readability gained with default arguments doesn't outweigh the downsides below. + +**Pros:** + +Often you have a function that uses default values, but occasionally you want to override the defaults. Default parameters allow an easy way to do this without having to define many functions for the rare exceptions. Compared to overloading the function, default arguments have a cleaner syntax, with less boilerplate and a clearer distinction between 'required' and 'optional' arguments. + +**Cons:** + +Defaulted arguments are another way to achieve the semantics of overloaded functions, so all the reasons not to overload functions apply. + +The defaults for arguments in a virtual function call are determined by the static type of the target object, and there's no guarantee that all overrides of a given function declare the same defaults. + +Default parameters are re-evaluated at each call site, which can bloat the generated code. Readers may also expect the default's value to be fixed at the declaration instead of varying at each call. + +Function pointers are confusing in the presence of default arguments, since the function signature often doesn't match the call signature. Adding function overloads avoids these problems. + +**Decision:** + +Default arguments are banned on virtual functions, where they don't work properly, and in cases where the specified default might not evaluate to the same value depending on when it was evaluated. (For example, don't write `void f(int n = counter++);`.) + +In some other cases, default arguments can improve the readability of their function declarations enough to overcome the downsides above, so they are allowed. When in doubt, use overloads. + +# Other C++ Features + +## Rvalue references + +Use rvalue references only in certain special cases listed below. + + + +**Definition:** + +Rvalue references are a type of reference that can only bind to temporary objects. The syntax is similar to traditional reference syntax. For example, `void f(std::string&& s)`; declares a function whose argument is an rvalue reference to a `std::string`. + +When the token '&&' is applied to an unqualified template argument in a function parameter, special template argument deduction rules apply. Such a reference is called forwarding reference. + +**Pros:** + +- Defining a move constructor (a constructor taking an rvalue reference to the class type) makes it possible to move a value instead of copying it. If v1 is a `std::vector`, for example, then `auto v2(std::move(v1))` will probably just result in some simple pointer manipulation instead of copying a large amount of data. In many cases this can result in a major performance improvement. +- Rvalue references make it possible to implement types that are movable but not copyable, which can be useful for types that have no sensible definition of copying but where you might still want to pass them as function arguments, put them in containers, etc. +- std::move is necessary to make effective use of some standard-library types, such as `std::unique_ptr`. +- Forwarding references which use the rvalue reference token, make it possible to write a generic function wrapper that forwards its arguments to another function, and works whether or not its arguments are temporary objects and/or const. This is called 'perfect forwarding'. + +**Cons:** + +- Rvalue references are not yet widely understood. Rules like reference collapsing and the special deduction rule for forwarding references are somewhat obscure. +- Rvalue references are often misused. Using rvalue references is counter-intuitive in signatures where the argument is expected to have a valid specified state after the function call, or where no move operation is performed. + +**Decision:** + +Do not use rvalue references (or apply the && qualifier to methods), except as follows: +- You may use them to define move constructors and move assignment operators (as described in Copyable and Movable Types). +- You may use them to define &&-qualified methods that logically "consume" *this, leaving it in an unusable or empty state. Note that this applies only to method qualifiers (which come after the closing parenthesis of the function signature); if you want to "consume" an ordinary function parameter, prefer to pass it by value. +- You may use forwarding references in conjunction with `std::forward`, to support perfect forwarding. +- You may use them to define pairs of overloads, such as one taking Foo&& and the other taking const Foo&. Usually the preferred solution is just to pass by value, but an overloaded pair of functions sometimes yields better performance and is sometimes necessary in generic code that needs to support a wide variety of types. As always: if you're writing more complicated code for the sake of performance, make sure you have evidence that it actually helps. + +## Friends + +We allow use of friend classes and functions, within reason. + +Friends should usually be defined in the same file so that the reader does not have to look in another file to find uses of the private members of a class. A common use of friend is to have a FooBuilder class be a friend of Foo so that it can construct the inner state of Foo correctly, without exposing this state to the world. In some cases it may be useful to make a unittest class a friend of the class it tests. + +Friends extend, but do not break, the encapsulation boundary of a class. In some cases this is better than making a member public when you want to give only one other class access to it. However, most classes should interact with other classes solely through their public members. + +## Exceptions + +We do not use C++ exceptions. + +## noexcept + +Specify noexcept when it is useful and correct. + +**Definition:** + +The noexcept specifier is used to specify whether a function will throw exceptions or not. If an exception escapes from a function marked noexcept, the program crashes via std::terminate. + +The noexcept operator performs a compile-time check that returns true if an expression is declared to not throw any exceptions. + +**Pros:** + +- Specifying move constructors as noexcept improves performance in some cases, e.g., `std::vector::resize()` moves rather than copies the objects if T's move constructor is noexcept. +- Specifying noexcept on a function can trigger compiler optimizations in environments where exceptions are enabled, e.g., compiler does not have to generate extra code for stack-unwinding, if it knows that no exceptions can be thrown due to a noexcept specifier. + +**Cons:** +- In projects following this guide that have exceptions disabled it is hard to ensure that noexcept specifiers are correct, and hard to define what correctness even means. +- It's hard, if not impossible, to undo noexcept because it eliminates a guarantee that callers may be relying on, in ways that are hard to detect. + +**Decision:** + +You may use noexcept when it is useful for performance if it accurately reflects the intended semantics of your function, i.e., that if an exception is somehow thrown from within the function body then it represents a fatal error. You can assume that noexcept on move constructors has a meaningful performance benefit. If you think there is significant performance benefit from specifying noexcept on some other function, please discuss it with your project leads. + +Prefer unconditional noexcept if exceptions are completely disabled (i.e., most Google C++ environments). Otherwise, use conditional noexcept specifiers with simple conditions, in ways that evaluate false only in the few cases where the function could potentially throw. The tests might include type traits check on whether the involved operation might throw (e.g., `std::is_nothrow_move_constructible` for move-constructing objects), or on whether allocation can throw. Note in many cases the only possible cause for an exception is allocation failure (we believe move constructors should not throw except due to allocation failure), and there are many applications where it’s appropriate to treat memory exhaustion as a fatal error rather than an exceptional condition that your program should attempt to recover from. Even for other potential failures you should prioritize interface simplicity over supporting all possible exception throwing scenarios: instead of writing a complicated noexcept clause that depends on whether a hash function can throw, for example, simply document that your component doesn’t support hash functions throwing and make it unconditionally noexcept. + +## Casting + +Use C++-style casts like `static_cast(double_value)`, or brace initialization for conversion of arithmetic types like `int64 y = int64{1} << 42`. Do not use cast formats like `(int)x` unless the cast is to void. You may use cast formats like `T(x)` only when `T` is a class type. + +**Definition:** + +C++ introduced a different cast system from C that distinguishes the types of cast operations. + +**Pros:** + +The problem with C casts is the ambiguity of the operation; sometimes you are doing a conversion (e.g., (int)3.5) and sometimes you are doing a cast (e.g., (int)"hello"). Brace initialization and C++ casts can often help avoid this ambiguity. Additionally, C++ casts are more visible when searching for them. + +**Cons:** + +The C++-style cast syntax is verbose and cumbersome. + +**Decision:** + +In general, do not use C-style casts. Instead, use these C++-style casts when explicit type conversion is necessary. + +- Use brace initialization to convert arithmetic types (e.g., `int64{x}`). This is the safest approach because code will not compile if conversion can result in information loss. The syntax is also concise. +- Use static_cast as the equivalent of a C-style cast that does value conversion, when you need to explicitly up-cast a pointer from a class to its superclass, or when you need to explicitly cast a pointer from a superclass to a subclass. In this last case, you must be sure your object is actually an instance of the subclass. +- Use const_cast to remove the const qualifier (see const). +- Use reinterpret_cast to do unsafe conversions of pointer types to and from integer and other pointer types, including void*. Use this only if you know what you are doing and you understand the aliasing issues. + +## Streams + +Use streams where appropriate, and stick to "simple" usages. Overload << for streaming only for types representing values, and write only the user-visible value, not any implementation details. + +**Definition:** + +Streams are the standard I/O abstraction in C++, as exemplified by the standard header . They are widely used in Google code, mostly for debug logging and test diagnostics. + +**Pros:** + +The << and >> stream operators provide an API for formatted I/O that is easily learned, portable, reusable, and extensible. printf, by contrast, doesn't even support `std::string`, to say nothing of user-defined types, and is very difficult to use portably. printf also obliges you to choose among the numerous slightly different versions of that function, and navigate the dozens of conversion specifiers. + +Streams provide first-class support for console I/O via `std::cin`, `std::cout`, `std::cerr`, and `std::clog`. The C APIs do as well, but are hampered by the need to manually buffer the input. + +**Cons:** + +- Stream formatting can be configured by mutating the state of the stream. Such mutations are persistent, so the behavior of your code can be affected by the entire previous history of the stream, unless you go out of your way to restore it to a known state every time other code might have touched it. User code can not only modify the built-in state, it can add new state variables and behaviors through a registration system. +- It is difficult to precisely control stream output, due to the above issues, the way code and data are mixed in streaming code, and the use of operator overloading (which may select a different overload than you expect). +- The practice of building up output through chains of << operators interferes with internationalization, because it bakes word order into the code, and streams' support for localization is flawed. +- The streams API is subtle and complex, so programmers must develop experience with it in order to use it effectively. +- Resolving the many overloads of << is extremely costly for the compiler. When used pervasively in a large code base, it can consume as much as 20% of the parsing and semantic analysis time. + +**Decision:** + +Use streams only when they are the best tool for the job. This is typically the case when the I/O is ad-hoc, local, human-readable, and targeted at other developers rather than end-users. Be consistent with the code around you, and with the codebase as a whole; if there's an established tool for your problem, use that tool instead. In particular, logging libraries are usually a better choice than `std::cerr` or `std::clog` for diagnostic output, and the equivalent are usually a better choice than `std::stringstream`. + +Avoid using streams for I/O that faces external users or handles untrusted data. Instead, find and use the appropriate templating libraries to handle issues like internationalization, localization, and security hardening. + +If you do use streams, avoid the stateful parts of the streams API (other than error state), such as `imbue()`, xalloc(), and `registerCallback()`. Use explicit formatting functions rather than stream manipulators or formatting flags to control formatting details such as number base, precision, or padding. + +Overload << as a streaming operator for your type only if your type represents a value, and << writes out a human-readable string representation of that value. Avoid exposing implementation details in the output of <<; if you need to print object internals for debugging, use named functions instead (a method named `debugString()` is the most common convention). + +## Preincrement and Predecrement + +Use the prefix form (++i) of the increment and decrement operators unless you need postfix semantics. + +**Definition:** + +When a variable is incremented (`++i` or `i++`) or decremented (`--i` or `i--`) and the value of the expression is not used, one must decide whether to preincrement (decrement) or postincrement (decrement). + +**Pros:** + +A postfix increment/decrement expression evaluates to the value as it was before it was modified. This can result in code that is more compact but harder to read. The prefix form is generally more readable, is never less efficient, and can be more efficient because it doesn't need to make a copy of the value as it was before the operation. + +**Cons:** + +The tradition developed, in C, of using post-increment, even when the expression value is not used, especially in for loops. + +**Decision:** + +Use prefix increment/decrement, unless the code explicitly needs the result of the postfix increment/decrement expression. + +## Use of const + +In APIs, use const whenever it makes sense. constexpr is a better choice for some uses of const. + +**Definition:** + +Declared variables and parameters can be preceded by the keyword const to indicate the variables are not changed (e.g., `const int foo`). Class functions can have the const qualifier to indicate the function does not change the state of the class member variables (e.g., `class Foo { int Bar(char c) const; };`). + +**Pros:** + +Easier for people to understand how variables are being used. Allows the compiler to do better type checking, and, conceivably, generate better code. Helps people convince themselves of program correctness because they know the functions they call are limited in how they can modify your variables. Helps people know what functions are safe to use without locks in multi-threaded programs. + +**Cons:** + +const is viral: if you pass a const variable to a function, that function must have const in its prototype (or the variable will need a const_cast). This can be a particular problem when calling library functions. + +**Decision:** + +We strongly recommend using const in APIs (i.e., on function parameters, methods, and non-local variables) wherever it is meaningful and accurate. This provides consistent, mostly compiler-verified documentation of what objects an operation can mutate. Having a consistent and reliable way to distinguish reads from writes is critical to writing thread-safe code, and is useful in many other contexts as well. In particular: +- If a function guarantees that it will not modify an argument passed by reference or by pointer, the corresponding function parameter should be a reference-to-const (const T&) or pointer-to-const (const T*), respectively. +- For a function parameter passed by value, const has no effect on the caller, thus is not recommended in function declarations. See [TotW #109](https://abseil.io/tips/109). +- Declare methods to be const unless they alter the logical state of the object (or enable the user to modify that state, e.g., by returning a non-const reference, but that's rare), or they can't safely be invoked concurrently. +- Using const on local variables is neither encouraged nor discouraged. + +All of a class's const operations should be safe to invoke concurrently with each other. If that's not feasible, the class must be clearly documented as "thread-unsafe". + +### Where to put the const + +Put const first, for example, prefer `const int *foo` to `int const *foo`. + +## Use of constexpr + +Use constexpr to define true constants or to ensure constant initialization. + +**Definition:** + +Some variables can be declared constexpr to indicate the variables are true constants, i.e., fixed at compilation/link time. Some functions and constructors can be declared constexpr which enables them to be used in defining a constexpr variable. + +**Pros:** + +Use of constexpr enables definition of constants with floating-point expressions rather than just literals; definition of constants of user-defined types; and definition of constants with function calls. + +**Cons:** + +Prematurely marking something as constexpr may cause migration problems if later on it has to be downgraded. Current restrictions on what is allowed in constexpr functions and constructors may invite obscure workarounds in these definitions. + +**Decision:** + +constexpr definitions enable a more robust specification of the constant parts of an interface. Use constexpr to specify true constants and the functions that support their definitions. Avoid complexifying function definitions to enable their use with constexpr. Do not use constexpr to force inlining. + +## Integer Types + +Of the built-in C++ integer types, the only one used is int. If a program needs a variable of a different size, use a precise-width integer type from , such as int16_t. If your variable represents a value that could ever be greater than or equal to 2^31 (2GiB), use a 64-bit type such as int64_t. Keep in mind that even if your value won't ever be too large for an int, it may be used in intermediate calculations which may require a larger type. When in doubt, choose a larger type. + +**Definition:** + +C++ does not specify the sizes of integer types like int. Typically people assume that short is 16 bits, int is 32 bits, long is 32 bits and long long is 64 bits. + +**Pros:** + +Uniformity of declaration. + +**Cons:** + +The sizes of integral types in C++ can vary based on compiler and architecture. + +**Decision:** + + defines types like int16_t, uint32_t, int64_t, etc. You should always use those in preference to short, unsigned long long and the like, when you need a guarantee on the size of an integer. Of the C integer types, only int should be used. When appropriate, you are welcome to use standard types like size_t and ptrdiff_t. + +We use int very often, for integers we know are not going to be too big, e.g., loop counters. Use plain old int for such things. You should assume that an int is at least 32 bits, but don't assume that it has more than 32 bits. If you need a 64-bit integer type, use int64_t or uint64_t. + +For integers we know can be "big", use int64_t. + +If your code is a container that returns a size, be sure to use a type that will accommodate any possible usage of your container. When in doubt, use a larger type rather than a smaller type. + +Use care when converting integer types. Integer conversions and promotions can cause undefined behavior, leading to security bugs and other problems. + +## 64-bit Portability + +Code should be 64-bit and 32-bit friendly. Bear in mind problems of printing, comparisons, and structure alignment. +- Correct portable printf() conversion specifiers for some integral typedefs rely on macro expansions that we find unpleasant to use and impractical to require (the PRI macros from ). Unless there is no reasonable alternative for your particular case, try to avoid or even upgrade APIs that rely on the printf family. Instead use a library supporting typesafe numeric formatting, such as StrCat or Substitute for fast simple conversions, or std::ostream. +- Unfortunately, the PRI macros are the only portable way to specify a conversion for the standard bitwidth typedefs (e.g., int64_t, uint64_t, int32_t, uint32_t, etc). Where possible, avoid passing arguments of types specified by bitwidth typedefs to printf-based APIs. Note that it is acceptable to use typedefs for which printf has dedicated length modifiers, such as `size_t (z)`, `ptrdiff_t (t)`, and `maxint_t (j)`. +- Remember that `sizeof(void *) != sizeof(int)`. Use intptr_t if you want a pointer-sized integer. +You may need to be careful with structure alignments, particularly for structures being stored on disk. Any class/structure with a int64_t/uint64_t member will by default end up being 8-byte aligned on a 64-bit system. If you have such structures being shared on disk between 32-bit and 64-bit code, you will need to ensure that they are packed the same on both architectures. Most compilers offer a way to alter structure alignment. For gcc, you can use `__attribute__((packed))`. MSVC offers `#pragma pack()` and `__declspec(align())`. +- Use braced-initialization as needed to create 64-bit constants. For example: +```c++ +int64_t my_value{0x123456789}; +uint64_t my_mask{3ULL << 48}; +``` + +## Preprocessor Macros + +Avoid defining macros, especially in headers; prefer inline functions, enums, and const variables. Name macros with a project-specific prefix. Do not use macros to define pieces of a C++ API. + +Macros mean that the code you see is not the same as the code the compiler sees. This can introduce unexpected behavior, especially since macros have global scope. + +The problems introduced by macros are especially severe when they are used to define pieces of a C++ API, and still more so for public APIs. Every error message from the compiler when developers incorrectly use that interface now must explain how the macros formed the interface. Refactoring and analysis tools have a dramatically harder time updating the interface. As a consequence, we specifically disallow using macros in this way. For example, avoid patterns like: +```c++ +class WOMBAT_TYPE(Foo) { + // ... + + public: + EXPAND_PUBLIC_WOMBAT_API(Foo) + + EXPAND_WOMBAT_COMPARISONS(Foo, ==, <) +}; +``` + +Luckily, macros are not nearly as necessary in C++ as they are in C. Instead of using a macro to inline performance-critical code, use an inline function. Instead of using a macro to store a constant, use a const variable. Instead of using a macro to "abbreviate" a long variable name, use a reference. Instead of using a macro to conditionally compile code ... well, don't do that at all (except, of course, for the #pragma guards to prevent double inclusion of header files). It makes testing much more difficult. + +Macros can do things these other techniques cannot, and you do see them in the codebase, especially in the lower-level libraries. And some of their special features (like stringifying, concatenation, and so forth) are not available through the language proper. But before using a macro, consider carefully whether there's a non-macro way to achieve the same result. If you need to use a macro to define an interface, contact your project leads to request a waiver of this rule. + +The following usage pattern will avoid many problems with macros; if you use macros, follow it whenever possible: + +- Don't define macros in a .h file. +#define macros right before you use them, and #undef them right after. +- Do not just #undef an existing macro before replacing it with your own; instead, pick a name that's likely to be unique. +- Try not to use macros that expand to unbalanced C++ constructs, or at least document that behavior well. +- Prefer not using ## to generate function/class/variable names. + +Exporting macros from headers (i.e., defining them in a header without #undefing them before the end of the header) is extremely strongly discouraged. If you do export a macro from a header, it must have a globally unique name. To achieve this, it must be named with a prefix consisting of your project's namespace name (but upper case). + +## 0 and nullptr/NULL + +Use nullptr for pointers, and '\0' for chars (and not the 0 literal). + +For pointers (address values), use nullptr, as this provides type-safety. + +Use '\0' for the null character. Using the correct type makes the code more readable. + +Never use NULL. + +## Type Deduction (including auto) + +Use type deduction only if it makes the code clearer to readers who aren't familiar with the project, or if it makes the code safer. Do not use it merely to avoid the inconvenience of writing an explicit type. + +**Definition:** + +There are several contexts in which C++ allows (or even requires) types to be deduced by the compiler, rather than spelled out explicitly in the code: + +**Pros:** + +- C++ type names can be long and cumbersome, especially when they involve templates or namespaces. +- When a C++ type name is repeated within a single declaration or a small code region, the repetition may not be aiding readability. +- It is sometimes safer to let the type be deduced, since that avoids the possibility of unintended copies or type conversions. + +**Cons:** + +C++ code is usually clearer when types are explicit, especially when type deduction would depend on information from distant parts of the code. In expressions like: + +```c++ +auto foo = x.add_foo(); +auto i = y.Find(key); +``` + +it may not be obvious what the resulting types are if the type of y isn't very well known, or if y was declared many lines earlier. + +Programmers have to understand when type deduction will or won't produce a reference type, or they'll get copies when they didn't mean to. + +If a deduced type is used as part of an interface, then a programmer might change its type while only intending to change its value, leading to a more radical API change than intended. + +**Decision:** + +The fundamental rule is: use type deduction only to make the code clearer or safer, and do not use it merely to avoid the inconvenience of writing an explicit type. When judging whether the code is clearer, keep in mind that your readers are not necessarily on your team, or familiar with your project, so types that you and your reviewer experience as unnecessary clutter will very often provide useful information to others. For example, you can assume that the return type of make_unique() is obvious, but the return type of MyWidgetFactory() probably isn't. + +These principles apply to all forms of type deduction, but the details vary, as described in the following sections. + +## Lambda Expressions + +Use lambda expressions where appropriate. Prefer explicit captures when the lambda will escape the current scope. + +**Pros:** + +- Lambdas are much more concise than other ways of defining function objects to be passed to STL algorithms, which can be a readability improvement. +- Appropriate use of default captures can remove redundancy and highlight important exceptions from the default. +- Lambdas, std::function, and std::bind can be used in combination as a general purpose callback mechanism; they make it easy to write functions that take bound functions as arguments. + +**Cons:** + +- Variable capture in lambdas can be a source of dangling-pointer bugs, particularly if a lambda escapes the current scope. +- Default captures by value can be misleading because they do not prevent dangling-pointer bugs. - Capturing a pointer by value doesn't cause a deep copy, so it often has the same lifetime issues as capture by reference. This is especially confusing when capturing 'this' by value, since the use of 'this' is often implicit. +- Captures actually declare new variables (whether or not the captures have initializers), but they look nothing like any other variable declaration syntax in C++. In particular, there's no place for the variable's type, or even an auto placeholder (although init captures can indicate it indirectly, e.g., with a cast). This can make it difficult to even recognize them as declarations. +- Init captures inherently rely on type deduction, and suffer from many of the same drawbacks as auto, with the additional problem that the syntax doesn't even cue the reader that deduction is taking place. +- It's possible for use of lambdas to get out of hand; very long nested anonymous functions can make code harder to understand. + +**Decision:** + +- Use lambda expressions where appropriate, with formatting as described below. +- Prefer explicit captures if the lambda may escape the current scope. For example, instead of: +```c++ +{ + Foo foo; + ... + executor->Schedule([&] { Frobnicate(foo); }) + ... +} +// BAD! The fact that the lambda makes use of a reference to `foo` and +// possibly `this` (if `Frobnicate` is a member function) may not be +// apparent on a cursory inspection. If the lambda is invoked after +// the function returns, that would be bad, because both `foo` +// and the enclosing object could have been destroyed. +``` + +prefer to write: +```c++ +{ + Foo foo; + ... + executor->Schedule([&foo] { Frobnicate(foo); }) + ... +} +// BETTER - The compile will fail if `Frobnicate` is a member +// function, and it's clearer that `foo` is dangerously captured by +// reference. +``` +- Use default capture by reference ([&]) only when the lifetime of the lambda is obviously shorter than any potential captures. +- Use default capture by value ([=]) only as a means of binding a few variables for a short lambda, where the set of captured variables is obvious at a glance. Prefer not to write long or complex lambdas with default capture by value. +- Use captures only to actually capture variables from the enclosing scope. Do not use captures with initializers to introduce new names, or to substantially change the meaning of an existing name. Instead, declare a new variable in the conventional way and then capture it, or avoid the lambda shorthand and define a function object explicitly. +- See the section on type deduction for guidance on specifying the parameter and return types. + +## Template Metaprogramming + +Avoid complicated template programming. + +## Boost + +Use only approved libraries from the Boost library collection. + +//TODO: add using boost libs + +## Naming + +Optimize for readability using names that would be clear even to people on a different team. + +Use names that describe the purpose or intent of the object. Do not worry about saving horizontal space as it is far more important to make your code immediately understandable by a new reader. Minimize the use of abbreviations that would likely be unknown to someone outside your project (especially acronyms and initialisms). Do not abbreviate by deleting letters within a word. As a rule of thumb, an abbreviation is probably OK if it's listed in Wikipedia. Generally speaking, descriptiveness should be proportional to the name's scope of visibility. For example, n may be a fine name within a 5-line function, but within the scope of a class, it's likely too vague. +```c++ +class MyClass { + public: + int countFooErrors(const std::vector& foos) { + int n = 0; // Clear meaning given limited scope and context + for (const auto& foo : foos) { + ... + ++n; + } + return n; + } + void doSomethingImportant() { + std::string fqdn = ...; // Well-known abbreviation for Fully Qualified Domain Name + } + private: + const int _maxAllowedConnections = ...; // Clear meaning within context +}; +``` + +```c++ +class MyClass { + public: + int countFooErrors(const std::vector& foos) { + int totalNumberOfFooErrors = 0; // Overly verbose given limited scope and context + for (int fooIndex = 0; fooIndex < foos.size(); ++fooIndex) { // Use idiomatic `i` + ... + ++totalNumberOfFooErrors; + } + return totalNumberOfFooErrors; + } + void doSomethingImportant() { + int cstmrId = ...; // Deletes internal letters + } + private: + const int _num = ...; // Unclear meaning within broad scope +}; +``` + +Note that certain universally-known abbreviations are OK, such as i for an iteration variable and T for a template parameter. + +## File Names + +Filenames start with a capital letter and have a capital letter for each new word can include dashes (-). + +Examples of acceptable file names: +- MyUsefulClass.cpp +- Application-mac.mm + + +C++ files should end in `.cpp` and header files should end in `.h`. Files that rely on being textually included at specific points should end in .inc. + +Do not use filenames that already exist in `/usr/include`, such as `db.h`. + +In general, make your filenames very specific. For example, use `HttpServerLogs.h` rather than `logs.h`. A very common case is to have a pair of files called, e.g., `FooBar.h` and `FooBar.cpp`, defining a class called `FooBar`. + +## Type Names + +Type names start with a capital letter and have a capital letter for each new word, with no underscores: `MyExcitingClass`, `MyExcitingEnum`. + +The names of all types — classes, structs, type aliases, enums, and type template parameters — have the same naming convention. Type names should start with a capital letter and have a capital letter for each new word. No underscores. For example: +```c++ +// classes and structs +class UrlTable { ... +class UrlTableTester { ... +struct UrlTableProperties { ... + +// typedefs +typedef hash_map PropertiesMap; + +// using aliases +using PropertiesMap = hash_map; + +// enums +enum class UrlTableError { ... +``` + +## Variable Names + +The names of variables (including function parameters) and data members start with a lowercase letter and have a capital letter for each new word. + +### Common Variable names + +For example: +```c++ +std::string tableName; // OK. + +``` + +```c++ +std::string table_Name; // Bad - has underscore. +``` + + +### Class Data Members + +Data members of classes, both static and non-static, are named like ordinary nonmember variables, but with a prefix underscore. +```c++ +class TableInfo { + ... + private: + std::string _tableName; // OK. + static Pool* _pool; // OK. +}; +``` + +## Struct Data Members + +Data members of structs, both static and non-static, are named like ordinary nonmember variables. They do not have the prefix underscores that data members in classes have. +```c++ +struct UrlTableProperties { + std::string name; + int numEntries; + static Pool* pool; +}; +``` + +## Constant Names +Variables declared constexpr or const, and whose value is fixed for the duration of the program, then use all capital letters and connect each word with under scores. For example: +```c++ +const int DAYS_IN_A_WEEK = 7; +const int ANDRDOI8_0_0 = 24; // Android 8.0.0 +``` + +## Function Names + +Regular functions have mixed case; accessors and mutators may be named like variables. + +Ordinarily, functions should start with a lowercase letter and have a capital letter for each new word. +```c++ +addTableEntry() +deleteUrl() +openFileOrDie() +``` + +Accessors and mutators (get and set functions) may be named like variables. These often correspond to actual member variables, but this is not required. For example, `int count()` and `void setCount(int count)`. + +## Namespace Names + +Namespace names are all lower-case, with words separated by underscores. Top-level namespace names are based on the project name . Avoid collisions between nested namespaces and well-known top-level namespaces. + +## Enumerator Names + +Enumerators (for both scoped and unscoped enums) should be named like constants. That is, ENUM_NAME. +```c++ +enum class AlternateUrlTableError { + OK = 0, + OUT_OF_MEMORY = 1, + MALFORMED_INPUT = 2, +}; +``` + +## Macro Names + +You're not really going to define a macro, are you? If you do, they're like this: MY_MACRO_THAT_SCARES_SMALL_CHILDREN_AND_ADULTS_ALIKE. +```c++ +#define ROUND(x) ... +#define PI_ROUNDED 3.0 +``` + +## Braced initialization + +C++ provides braced initialization since C++11. It is a uniform initialization. And it will prohibit implicit narrowing conversions, for example: +```c++ +double x, y, z; +... +int sum1{ x + y + z}; // error! sum of doubles may not be expressible as int. +``` + +So use braced initialization as possible. + +# Formatting + +There is `.clang-format` file in the root of repo, please use clang format to format the codes before sending a pull request. + +[1]: https://user-images.githubusercontent.com/1503156/112012067-d5cdf580-8b63-11eb-819a-1c32cf253b25.png + From cb21e0584845794d5fbe85a1f4b42fcc65e1a8aa Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Mon, 12 Apr 2021 10:17:12 +0800 Subject: [PATCH 230/270] [ci skip][AUTO]: updating jsbinding automatically: e1c240f2 (#3390) Co-authored-by: cocos-robot --- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 941 ++++++++++---------- native/cocos/bindings/auto/jsb_gfx_auto.h | 22 +- native/templates/cocos2dx_files.json | 15 + 3 files changed, 504 insertions(+), 474 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index abcba5d700..e5698ee0ca 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -15236,6 +15236,459 @@ bool js_register_gfx_Buffer(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } +se::Object* __jsb_cc_gfx_InputAssembler_proto = nullptr; +se::Class* __jsb_cc_gfx_InputAssembler_class = nullptr; + +static bool js_gfx_InputAssembler_destroy(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_destroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->destroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_InputAssembler_destroy) + +static bool js_gfx_InputAssembler_getAttributes(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getAttributes : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getAttributes(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getAttributes : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getAttributes) + +static bool js_gfx_InputAssembler_getAttributesHash(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getAttributesHash : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getAttributesHash(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getAttributesHash : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getAttributesHash) + +static bool js_gfx_InputAssembler_getFirstIndex(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getFirstIndex : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getFirstIndex(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstIndex : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getFirstIndex) + +static bool js_gfx_InputAssembler_getFirstInstance(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getFirstInstance : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getFirstInstance(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstInstance : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getFirstInstance) + +static bool js_gfx_InputAssembler_getFirstVertex(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getFirstVertex : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getFirstVertex(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstVertex : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getFirstVertex) + +static bool js_gfx_InputAssembler_getIndexBuffer(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getIndexBuffer : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::gfx::Buffer* result = cobj->getIndexBuffer(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndexBuffer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getIndexBuffer) + +static bool js_gfx_InputAssembler_getIndexCount(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getIndexCount : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getIndexCount(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndexCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getIndexCount) + +static bool js_gfx_InputAssembler_getIndirectBuffer(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getIndirectBuffer : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::gfx::Buffer* result = cobj->getIndirectBuffer(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndirectBuffer : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getIndirectBuffer) + +static bool js_gfx_InputAssembler_getInstanceCount(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getInstanceCount : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getInstanceCount(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getInstanceCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getInstanceCount) + +static bool js_gfx_InputAssembler_getVertexBuffers(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getVertexBuffers : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getVertexBuffers(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexBuffers : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getVertexBuffers) + +static bool js_gfx_InputAssembler_getVertexCount(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getVertexCount : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getVertexCount(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexCount : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getVertexCount) + +static bool js_gfx_InputAssembler_getVertexOffset(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getVertexOffset : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getVertexOffset(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexOffset : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_gfx_InputAssembler_getVertexOffset) + +static bool js_gfx_InputAssembler_initialize(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_gfx_InputAssembler_initialize) + +static bool js_gfx_InputAssembler_setFirstIndex(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setFirstIndex : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setFirstIndex : Error processing arguments"); + cobj->setFirstIndex(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_PROP_SET(js_gfx_InputAssembler_setFirstIndex) + +static bool js_gfx_InputAssembler_setFirstInstance(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setFirstInstance : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setFirstInstance : Error processing arguments"); + cobj->setFirstInstance(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_PROP_SET(js_gfx_InputAssembler_setFirstInstance) + +static bool js_gfx_InputAssembler_setFirstVertex(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setFirstVertex : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setFirstVertex : Error processing arguments"); + cobj->setFirstVertex(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_PROP_SET(js_gfx_InputAssembler_setFirstVertex) + +static bool js_gfx_InputAssembler_setIndexCount(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setIndexCount : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setIndexCount : Error processing arguments"); + cobj->setIndexCount(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_PROP_SET(js_gfx_InputAssembler_setIndexCount) + +static bool js_gfx_InputAssembler_setInstanceCount(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setInstanceCount : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setInstanceCount : Error processing arguments"); + cobj->setInstanceCount(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_PROP_SET(js_gfx_InputAssembler_setInstanceCount) + +static bool js_gfx_InputAssembler_setVertexCount(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setVertexCount : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setVertexCount : Error processing arguments"); + cobj->setVertexCount(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_PROP_SET(js_gfx_InputAssembler_setVertexCount) + +static bool js_gfx_InputAssembler_setVertexOffset(se::State& s) +{ + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setVertexOffset : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setVertexOffset : Error processing arguments"); + cobj->setVertexOffset(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_PROP_SET(js_gfx_InputAssembler_setVertexOffset) + +SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_InputAssembler_finalize) + +static bool js_gfx_InputAssembler_constructor(se::State& s) // constructor.c +{ + //#3 cc::gfx::InputAssembler: is_skip_construtor True + se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::InputAssembler constructor is skipped\")"); + return false; +} +SE_BIND_CTOR(js_gfx_InputAssembler_constructor, __jsb_cc_gfx_InputAssembler_class, js_cc_gfx_InputAssembler_finalize) + + + +extern se::Object* __jsb_cc_gfx_GFXObject_proto; + +static bool js_cc_gfx_InputAssembler_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_gfx_InputAssembler_finalize) + +bool js_register_gfx_InputAssembler(se::Object* obj) +{ + auto cls = se::Class::create("InputAssembler", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_InputAssembler_constructor)); + + cls->defineProperty("instanceCount", _SE(js_gfx_InputAssembler_getInstanceCount), _SE(js_gfx_InputAssembler_setInstanceCount)); + cls->defineProperty("vertexBuffers", _SE(js_gfx_InputAssembler_getVertexBuffers), nullptr); + cls->defineProperty("attributesHash", _SE(js_gfx_InputAssembler_getAttributesHash), nullptr); + cls->defineProperty("firstInstance", _SE(js_gfx_InputAssembler_getFirstInstance), _SE(js_gfx_InputAssembler_setFirstInstance)); + cls->defineProperty("vertexCount", _SE(js_gfx_InputAssembler_getVertexCount), _SE(js_gfx_InputAssembler_setVertexCount)); + cls->defineProperty("indexBuffer", _SE(js_gfx_InputAssembler_getIndexBuffer), nullptr); + cls->defineProperty("vertexOffset", _SE(js_gfx_InputAssembler_getVertexOffset), _SE(js_gfx_InputAssembler_setVertexOffset)); + cls->defineProperty("attributes", _SE(js_gfx_InputAssembler_getAttributes), nullptr); + cls->defineProperty("indexCount", _SE(js_gfx_InputAssembler_getIndexCount), _SE(js_gfx_InputAssembler_setIndexCount)); + cls->defineProperty("firstIndex", _SE(js_gfx_InputAssembler_getFirstIndex), _SE(js_gfx_InputAssembler_setFirstIndex)); + cls->defineProperty("indirectBuffer", _SE(js_gfx_InputAssembler_getIndirectBuffer), nullptr); + cls->defineProperty("firstVertex", _SE(js_gfx_InputAssembler_getFirstVertex), _SE(js_gfx_InputAssembler_setFirstVertex)); + cls->defineFunction("destroy", _SE(js_gfx_InputAssembler_destroy)); + cls->defineFunction("initialize", _SE(js_gfx_InputAssembler_initialize)); + cls->defineFinalizeFunction(_SE(js_cc_gfx_InputAssembler_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_gfx_InputAssembler_proto = cls->getProto(); + __jsb_cc_gfx_InputAssembler_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} se::Object* __jsb_cc_gfx_CommandBuffer_proto = nullptr; se::Class* __jsb_cc_gfx_CommandBuffer_class = nullptr; @@ -15540,19 +15993,34 @@ SE_BIND_FUNC(js_gfx_CommandBuffer_dispatch) static bool js_gfx_CommandBuffer_draw(se::State& s) { + CC_UNUSED bool ok = true; cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_CommandBuffer_draw : Invalid Native Object"); + SE_PRECONDITION2( cobj, false, "js_gfx_CommandBuffer_draw : Invalid Native Object"); const auto& args = s.args(); size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_CommandBuffer_draw : Error processing arguments"); - cobj->draw(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + do { + if (argc == 1) { + HolderType arg0 = {}; + + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->draw(arg0.value()); + return true; + } + } while(false); + + do { + if (argc == 1) { + HolderType arg0 = {}; + + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + if (!ok) { ok = true; break; } + cobj->draw(arg0.value()); + return true; + } + } while(false); + + SE_REPORT_ERROR("wrong number of arguments: %d", (int)argc); return false; } SE_BIND_FUNC(js_gfx_CommandBuffer_draw) @@ -16978,459 +17446,6 @@ bool js_register_gfx_GlobalBarrier(se::Object* obj) se::ScriptEngine::getInstance()->clearException(); return true; } -se::Object* __jsb_cc_gfx_InputAssembler_proto = nullptr; -se::Class* __jsb_cc_gfx_InputAssembler_class = nullptr; - -static bool js_gfx_InputAssembler_destroy(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_destroy : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - if (argc == 0) { - cobj->destroy(); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_FUNC(js_gfx_InputAssembler_destroy) - -static bool js_gfx_InputAssembler_getAttributes(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getAttributes : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const std::vector& result = cobj->getAttributes(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getAttributes : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getAttributes) - -static bool js_gfx_InputAssembler_getAttributesHash(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getAttributesHash : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getAttributesHash(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getAttributesHash : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getAttributesHash) - -static bool js_gfx_InputAssembler_getFirstIndex(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getFirstIndex : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getFirstIndex(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstIndex : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getFirstIndex) - -static bool js_gfx_InputAssembler_getFirstInstance(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getFirstInstance : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getFirstInstance(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstInstance : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getFirstInstance) - -static bool js_gfx_InputAssembler_getFirstVertex(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getFirstVertex : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getFirstVertex(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getFirstVertex : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getFirstVertex) - -static bool js_gfx_InputAssembler_getIndexBuffer(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getIndexBuffer : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - cc::gfx::Buffer* result = cobj->getIndexBuffer(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndexBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getIndexBuffer) - -static bool js_gfx_InputAssembler_getIndexCount(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getIndexCount : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getIndexCount(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndexCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getIndexCount) - -static bool js_gfx_InputAssembler_getIndirectBuffer(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getIndirectBuffer : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - cc::gfx::Buffer* result = cobj->getIndirectBuffer(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getIndirectBuffer : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getIndirectBuffer) - -static bool js_gfx_InputAssembler_getInstanceCount(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getInstanceCount : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getInstanceCount(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getInstanceCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getInstanceCount) - -static bool js_gfx_InputAssembler_getVertexBuffers(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getVertexBuffers : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - const std::vector& result = cobj->getVertexBuffers(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexBuffers : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getVertexBuffers) - -static bool js_gfx_InputAssembler_getVertexCount(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getVertexCount : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getVertexCount(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexCount : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getVertexCount) - -static bool js_gfx_InputAssembler_getVertexOffset(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_getVertexOffset : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 0) { - unsigned int result = cobj->getVertexOffset(); - ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_getVertexOffset : Error processing arguments"); - SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); - return false; -} -SE_BIND_PROP_GET(js_gfx_InputAssembler_getVertexOffset) - -static bool js_gfx_InputAssembler_initialize(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_initialize : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_initialize : Error processing arguments"); - cobj->initialize(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_FUNC(js_gfx_InputAssembler_initialize) - -static bool js_gfx_InputAssembler_setFirstIndex(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setFirstIndex : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setFirstIndex : Error processing arguments"); - cobj->setFirstIndex(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_PROP_SET(js_gfx_InputAssembler_setFirstIndex) - -static bool js_gfx_InputAssembler_setFirstInstance(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setFirstInstance : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setFirstInstance : Error processing arguments"); - cobj->setFirstInstance(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_PROP_SET(js_gfx_InputAssembler_setFirstInstance) - -static bool js_gfx_InputAssembler_setFirstVertex(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setFirstVertex : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setFirstVertex : Error processing arguments"); - cobj->setFirstVertex(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_PROP_SET(js_gfx_InputAssembler_setFirstVertex) - -static bool js_gfx_InputAssembler_setIndexCount(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setIndexCount : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setIndexCount : Error processing arguments"); - cobj->setIndexCount(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_PROP_SET(js_gfx_InputAssembler_setIndexCount) - -static bool js_gfx_InputAssembler_setInstanceCount(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setInstanceCount : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setInstanceCount : Error processing arguments"); - cobj->setInstanceCount(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_PROP_SET(js_gfx_InputAssembler_setInstanceCount) - -static bool js_gfx_InputAssembler_setVertexCount(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setVertexCount : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setVertexCount : Error processing arguments"); - cobj->setVertexCount(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_PROP_SET(js_gfx_InputAssembler_setVertexCount) - -static bool js_gfx_InputAssembler_setVertexOffset(se::State& s) -{ - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_InputAssembler_setVertexOffset : Invalid Native Object"); - const auto& args = s.args(); - size_t argc = args.size(); - CC_UNUSED bool ok = true; - if (argc == 1) { - HolderType arg0 = {}; - ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_InputAssembler_setVertexOffset : Error processing arguments"); - cobj->setVertexOffset(arg0.value()); - return true; - } - SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); - return false; -} -SE_BIND_PROP_SET(js_gfx_InputAssembler_setVertexOffset) - -SE_DECLARE_FINALIZE_FUNC(js_cc_gfx_InputAssembler_finalize) - -static bool js_gfx_InputAssembler_constructor(se::State& s) // constructor.c -{ - //#3 cc::gfx::InputAssembler: is_skip_construtor True - se::ScriptEngine::getInstance()->evalString("throw new Error(\"cc::gfx::InputAssembler constructor is skipped\")"); - return false; -} -SE_BIND_CTOR(js_gfx_InputAssembler_constructor, __jsb_cc_gfx_InputAssembler_class, js_cc_gfx_InputAssembler_finalize) - - - -extern se::Object* __jsb_cc_gfx_GFXObject_proto; - -static bool js_cc_gfx_InputAssembler_finalize(se::State& s) -{ - auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); - if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) - { - se::NonRefNativePtrCreatedByCtorMap::erase(iter); - cc::gfx::InputAssembler* cobj = SE_THIS_OBJECT(s); - JSB_FREE(cobj); - } - return true; -} -SE_BIND_FINALIZE_FUNC(js_cc_gfx_InputAssembler_finalize) - -bool js_register_gfx_InputAssembler(se::Object* obj) -{ - auto cls = se::Class::create("InputAssembler", obj, __jsb_cc_gfx_GFXObject_proto, _SE(js_gfx_InputAssembler_constructor)); - - cls->defineProperty("instanceCount", _SE(js_gfx_InputAssembler_getInstanceCount), _SE(js_gfx_InputAssembler_setInstanceCount)); - cls->defineProperty("vertexBuffers", _SE(js_gfx_InputAssembler_getVertexBuffers), nullptr); - cls->defineProperty("attributesHash", _SE(js_gfx_InputAssembler_getAttributesHash), nullptr); - cls->defineProperty("firstInstance", _SE(js_gfx_InputAssembler_getFirstInstance), _SE(js_gfx_InputAssembler_setFirstInstance)); - cls->defineProperty("vertexCount", _SE(js_gfx_InputAssembler_getVertexCount), _SE(js_gfx_InputAssembler_setVertexCount)); - cls->defineProperty("indexBuffer", _SE(js_gfx_InputAssembler_getIndexBuffer), nullptr); - cls->defineProperty("vertexOffset", _SE(js_gfx_InputAssembler_getVertexOffset), _SE(js_gfx_InputAssembler_setVertexOffset)); - cls->defineProperty("attributes", _SE(js_gfx_InputAssembler_getAttributes), nullptr); - cls->defineProperty("indexCount", _SE(js_gfx_InputAssembler_getIndexCount), _SE(js_gfx_InputAssembler_setIndexCount)); - cls->defineProperty("firstIndex", _SE(js_gfx_InputAssembler_getFirstIndex), _SE(js_gfx_InputAssembler_setFirstIndex)); - cls->defineProperty("indirectBuffer", _SE(js_gfx_InputAssembler_getIndirectBuffer), nullptr); - cls->defineProperty("firstVertex", _SE(js_gfx_InputAssembler_getFirstVertex), _SE(js_gfx_InputAssembler_setFirstVertex)); - cls->defineFunction("destroy", _SE(js_gfx_InputAssembler_destroy)); - cls->defineFunction("initialize", _SE(js_gfx_InputAssembler_initialize)); - cls->defineFinalizeFunction(_SE(js_cc_gfx_InputAssembler_finalize)); - cls->install(); - JSBClassType::registerClass(cls); - - __jsb_cc_gfx_InputAssembler_proto = cls->getProto(); - __jsb_cc_gfx_InputAssembler_class = cls; - - se::ScriptEngine::getInstance()->clearException(); - return true; -} se::Object* __jsb_cc_gfx_PipelineLayout_proto = nullptr; se::Class* __jsb_cc_gfx_PipelineLayout_class = nullptr; diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index 04f82a6b20..9f66034d88 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -581,6 +581,17 @@ SE_DECLARE_FUNC(js_gfx_Buffer_resize); SE_DECLARE_FUNC(js_gfx_Buffer_computeHash); SE_DECLARE_FUNC(js_gfx_Buffer_Buffer); +extern se::Object* __jsb_cc_gfx_InputAssembler_proto; +extern se::Class* __jsb_cc_gfx_InputAssembler_class; + +bool js_register_cc_gfx_InputAssembler(se::Object* obj); +bool register_all_gfx(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::gfx::InputAssembler); +SE_DECLARE_FUNC(js_gfx_InputAssembler_destroy); +SE_DECLARE_FUNC(js_gfx_InputAssembler_initialize); +SE_DECLARE_FUNC(js_gfx_InputAssembler_InputAssembler); + extern se::Object* __jsb_cc_gfx_CommandBuffer_proto; extern se::Class* __jsb_cc_gfx_CommandBuffer_class; @@ -685,17 +696,6 @@ SE_DECLARE_FUNC(js_gfx_GlobalBarrier_info); SE_DECLARE_FUNC(js_gfx_GlobalBarrier_computeHash); SE_DECLARE_FUNC(js_gfx_GlobalBarrier_GlobalBarrier); -extern se::Object* __jsb_cc_gfx_InputAssembler_proto; -extern se::Class* __jsb_cc_gfx_InputAssembler_class; - -bool js_register_cc_gfx_InputAssembler(se::Object* obj); -bool register_all_gfx(se::Object* obj); - -JSB_REGISTER_OBJECT_TYPE(cc::gfx::InputAssembler); -SE_DECLARE_FUNC(js_gfx_InputAssembler_destroy); -SE_DECLARE_FUNC(js_gfx_InputAssembler_initialize); -SE_DECLARE_FUNC(js_gfx_InputAssembler_InputAssembler); - extern se::Object* __jsb_cc_gfx_PipelineLayout_proto; extern se::Class* __jsb_cc_gfx_PipelineLayout_class; diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 0512f10534..969ab012de 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -6,6 +6,7 @@ ".github/workflows/clangtidy-android.yml", ".github/workflows/cmake.yml", ".github/workflows/filter_by_cdb.js", + ".vscode/c_cpp_properties.json", "CMakeLists.txt", "cocos/audio/AudioEngine.cpp", "cocos/audio/android/AssetFd.cpp", @@ -919,6 +920,7 @@ "cocos/renderer/gfx-vulkan/VKTexture.h", "cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp", "cocos/renderer/gfx-vulkan/VKTextureBarrier.h", + "cocos/renderer/gfx-vulkan/VKUtils.cpp", "cocos/renderer/gfx-vulkan/VKUtils.h", "cocos/renderer/gfx-vulkan/thsvs_simpler_vulkan_synchronization.h", "cocos/renderer/gfx-vulkan/vk_mem_alloc.h", @@ -1001,6 +1003,19 @@ "cocos/ui/webview/WebViewImpl-android.h", "cocos/ui/webview/WebViewImpl-ios.h", "cocos/ui/webview/WebViewImpl-ios.mm", + "docs/LINTER_AUTOFIX_GUIDE.md", + "docs/imgs/LLVM.png", + "docs/imgs/NDK.png", + "docs/imgs/auto-fix.gif", + "docs/imgs/auto-format.gif", + "docs/imgs/compile_commands.png", + "docs/imgs/extensions.png", + "docs/imgs/format.png", + "docs/imgs/re-lint.png", + "docs/imgs/tidy-options.png", + "docs/imgs/tidy-output-editor.png", + "docs/imgs/tidy-output-error.png", + "docs/imgs/tidy-output.png", "extensions/ExtensionExport.h", "extensions/ExtensionMacros.h", "extensions/assets-manager/AssetsManagerEx.cpp", From f5710c067929ae94e267d04006441ff6d40db50c Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 12 Apr 2021 14:49:25 +0800 Subject: [PATCH 231/270] better docs (#3392) --- native/.vscode/c_cpp_properties.json | 2 +- native/docs/LINTER_AUTOFIX_GUIDE.md | 21 +++++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/native/.vscode/c_cpp_properties.json b/native/.vscode/c_cpp_properties.json index 13969a5434..22ea0dd8ed 100644 --- a/native/.vscode/c_cpp_properties.json +++ b/native/.vscode/c_cpp_properties.json @@ -16,7 +16,7 @@ "external/win32/include/glslang", "external/win32/include/v8" ], - "compileCommands": "compile_commands.json" + "compileCommands": "${workspaceFolder}/compile_commands.json" } ], "version": 4 diff --git a/native/docs/LINTER_AUTOFIX_GUIDE.md b/native/docs/LINTER_AUTOFIX_GUIDE.md index 4716a7f9b3..8ee8fb9d84 100644 --- a/native/docs/LINTER_AUTOFIX_GUIDE.md +++ b/native/docs/LINTER_AUTOFIX_GUIDE.md @@ -14,12 +14,13 @@ For now, **Visual Studio Code** is our first recommended IDE for the job, while ![](imgs/NDK.png) -* Open terminal (or git-bash if you are on windows), navigate to `engine-native` folder and run: +* Open terminal (or git-bash/MSYS2 if you are on windows), navigate to `engine-native` folder and run: ```bash utils/generate_compile_commands_android.sh ``` + You may need to have `make` in your environment path for it to work. If it succeeds, you should see a `compile_commands.json` generated in the same folder, and ignored by git. ![](imgs/compile_commands.png) @@ -62,7 +63,7 @@ For now, **Visual Studio Code** is our first recommended IDE for the job, while This is a screenshot of linting issue-free files. -* For `Clang-Format` issues, there will be no in-place editor suggestions, but all issues are strictly auto-fixable, and if the environment set up above goes smoothly, it is as simple as execute the `Format Document` command. (By default `Shift + Alt + F` on Windows) +* For `Clang-Format` issues, there will be no in-place editor suggestions, but all issues are strictly auto-fixable, and if the environment set up above goes smoothly, it is as simple as executing the `Format Document` command. (By default `Shift + Alt + F` on Windows) ![](imgs/format.png) @@ -70,9 +71,9 @@ For now, **Visual Studio Code** is our first recommended IDE for the job, while ![](imgs/auto-format.gif) - On the contrary to `Clang-Tidy`, `Clang-Format` auto-formating is a immediate operation and should be used frequently. + On the contrary to `Clang-Tidy`, `Clang-Format` auto-formatting is an immediate operation and should be used frequently. -> Note: The `compile_commands.json` generated by current approach is essentially the Android development environment. So other platform-specific code may likely not be included in the check. This behavior is consistent with CI test environment. +> Note: The `compile_commands.json` generated by the current approach is essentially the Android development environment. So other platform-specific code may likely not be included in the check. This behavior is consistent with the CI test environment. > Also note: Once new source files have been added to the project in the CMakeLists, the `compile_commands.json` has to be regenerated by running the same script in the third step. @@ -80,14 +81,14 @@ For now, **Visual Studio Code** is our first recommended IDE for the job, while The second recommended way is to directly use the CLI. -We provide a bash script to apply auto fix on all the changed files in arbitrary commit/range: +We provide a bash script to apply auto-fix on all the changed files in arbitrary commit/range: -First make sure the first three step in VS Code environment setup are done, i.e. `compile_commands.json` has been generated, then: +First make sure the first three steps in VS Code environment setup are done, i.e. `compile_commands.json` has been generated, then: ```bash -utils/tidy-fix-commit.sh # run auto fix on files in the latest commit -utils/tidy-fix-commit.sh 70181ed # run auto fix on files in the specified commit -utils/tidy-fix-commit.sh HEAD~3..HEAD # run auto fix on files in the last 3 commit +utils/tidy-fix-commit.sh # run auto-fix on files in the latest commit +utils/tidy-fix-commit.sh 70181ed # run auto-fix on files in the specified commit +utils/tidy-fix-commit.sh HEAD~3..HEAD # run auto-fix on files in the last 3 commit ``` All the issues will be reported in the standard output. This can be used as local self-test runs for CI checks. @@ -98,6 +99,6 @@ The CLI scripts can(and are recommended to) be used as complements to the VS Cod It is possible to use other IDEs as long as they [support Clang-Tidy](https://clang.llvm.org/extra/clang-tidy/Integrations.html). -Notably there is `CLion`, or the `Resharper C++` MSVC extension that can do a fairly decent job on analysing and fixing linter issues. But both are commercially licensed and [intentionally](https://resharper-support.jetbrains.com/hc/en-us/articles/207242695-Can-I-fix-all-issues-Quick-Fixes-naming-suggestions-etc-at-once-) lacks the functionality to apply fixes to all the issues. They can either apply auto fix per instance, or apply to the whole project by issue types. +Notably there is `CLion`, or the `Resharper C++` MSVC extension that can do a fairly decent job on analyzing and fixing linter issues. But both are commercially licensed and [intentionally](https://resharper-support.jetbrains.com/hc/en-us/articles/207242695-Can-I-fix-all-issues-Quick-Fixes-naming-suggestions-etc-at-once-) lacks the functionality to apply fixes to all the issues. They can either apply auto-fix per instance or apply to the whole project by issue types. Considering the current circumstances this is usually not what we want in daily development, since the more files we touch, the heavier the burden is to pass the CI check, which detects problems on all the changed files in a single pull request. From a059d67c9a6a4123487002154ad409e6350d03f8 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Mon, 12 Apr 2021 15:26:42 +0800 Subject: [PATCH 232/270] [ci skip][AUTO]: updating jsbinding automatically: f5710c06 (#3393) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 1 + 1 file changed, 1 insertion(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 969ab012de..72b6ed7eeb 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -1003,6 +1003,7 @@ "cocos/ui/webview/WebViewImpl-android.h", "cocos/ui/webview/WebViewImpl-ios.h", "cocos/ui/webview/WebViewImpl-ios.mm", + "docs/CODING_STYLE.md", "docs/LINTER_AUTOFIX_GUIDE.md", "docs/imgs/LLVM.png", "docs/imgs/NDK.png", From 77e6f2b0f262306bf5074f0f4755730756609808 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 14 Apr 2021 10:00:46 +0800 Subject: [PATCH 233/270] pipeline: constant macros (#3394) --- .../renderer/pipeline/RenderPipeline.cpp | 39 ++++++++++++----- .../cocos/renderer/pipeline/RenderPipeline.h | 41 ++++++++++-------- native/docs/LINTER_AUTOFIX_GUIDE.md | 10 ++++- native/docs/imgs/clangd.png | Bin 0 -> 21406 bytes native/tools/tojs/pipeline.ini | 2 +- native/utils/CMakeLists.header.txt | 4 ++ .../generate_compile_commands_android.sh | 2 +- 7 files changed, 65 insertions(+), 33 deletions(-) create mode 100644 native/docs/imgs/clangd.png create mode 100644 native/utils/CMakeLists.header.txt diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index 7cc85209fe..ec1220ccf0 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -34,23 +34,25 @@ namespace cc { namespace pipeline { -RenderPipeline *RenderPipeline::_instance = nullptr; + +RenderPipeline *RenderPipeline::instance = nullptr; RenderPipeline *RenderPipeline::getInstance() { - return RenderPipeline::_instance; + return RenderPipeline::instance; } RenderPipeline::RenderPipeline() : _device(gfx::Device::getInstance()) { - RenderPipeline::_instance = this; + RenderPipeline::instance = this; setDescriptorSetLayout(); + generateConstantMacros(); + _pipelineUBO = new PipelineUBO(); _pipelineSceneData = new PipelineSceneData(); } -RenderPipeline::~RenderPipeline() { -} +RenderPipeline::~RenderPipeline() = default; #define INIT_GLOBAL_DESCSET_LAYOUT(info) \ do { \ @@ -130,8 +132,9 @@ bool RenderPipeline::activate() { _pipelineUBO->activate(_device, this); _pipelineSceneData->activate(_device, this); - for (const auto flow : _flows) + for (auto *const flow : _flows) { flow->activate(this); + } // has not initBuiltinRes, // create temporary default Texture to binding sampler2d @@ -140,8 +143,8 @@ bool RenderPipeline::activate() { gfx::TextureType::TEX2D, gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, gfx::Format::RGBA8, - 1u, - 1u, + 1U, + 1U, }); } @@ -149,16 +152,16 @@ bool RenderPipeline::activate() { } void RenderPipeline::render(const vector &cameras) { - for (const auto flow : _flows) { + for (auto *const flow : _flows) { for (const auto cameraID : cameras) { - Camera *camera = GET_CAMERA(cameraID); + auto *camera = GET_CAMERA(cameraID); flow->render(camera); } } } void RenderPipeline::destroy() { - for (auto flow : _flows) { + for (auto *flow : _flows) { flow->destroy(); } _flows.clear(); @@ -168,7 +171,7 @@ void RenderPipeline::destroy() { CC_SAFE_DESTROY(_pipelineUBO); CC_SAFE_DESTROY(_pipelineSceneData); - for (const auto cmdBuffer : _commandBuffers) { + for (auto *const cmdBuffer : _commandBuffers) { cmdBuffer->destroy(); } _commandBuffers.clear(); @@ -185,5 +188,17 @@ void RenderPipeline::setPipelineSharedSceneData(uint handle) { _pipelineSceneData->setPipelineSharedSceneData(handle); } +void RenderPipeline::generateConstantMacros() { + _constantMacros = StringUtil::format( + R"( +#define CC_DEVICE_SUPPORT_FLOAT_TEXTURE %d +#define CC_DEVICE_MAX_VERTEX_UNIFORM_VECTORS %d +#define CC_DEVICE_MAX_FRAGMENT_UNIFORM_VECTORS $d + )", + _device->hasFeature(gfx::Feature::TEXTURE_FLOAT) ? 1 : 0, + _device->getCapabilities().maxVertexUniformVectors, + _device->getCapabilities().maxFragmentUniformVectors); +} + } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/RenderPipeline.h b/native/cocos/renderer/pipeline/RenderPipeline.h index 8e4d974dd1..9fb171e7ab 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.h +++ b/native/cocos/renderer/pipeline/RenderPipeline.h @@ -37,10 +37,10 @@ namespace gfx { class CommandBuffer; class DescriptorSet; class DescriptorSetLayout; -struct Camera; } // namespace gfx namespace pipeline { class DefineMap; +struct Camera; struct CC_DLL RenderPipelineInfo { uint tag = 0; @@ -52,38 +52,43 @@ public: static RenderPipeline *getInstance(); RenderPipeline(); - virtual ~RenderPipeline(); + ~RenderPipeline() override; virtual bool activate(); virtual void destroy(); virtual bool initialize(const RenderPipelineInfo &info); virtual void render(const vector &cameras); - virtual void resize(uint width, uint height) {}; - + virtual void resize(uint width, uint height){}; + void setPipelineSharedSceneData(uint handle); - CC_INLINE const RenderFlowList &getFlows() const { return _flows; } - CC_INLINE uint getTag() const { return _tag; } - CC_INLINE const map &getGlobalBindings() const { return _globalBindings; } - CC_INLINE const DefineMap &getMacros() const { return _macros; } - CC_INLINE void setValue(const String &name, bool value) { _macros.setValue(name, value); } - CC_INLINE gfx::DescriptorSet *getDescriptorSet() const { return _descriptorSet; } - CC_INLINE gfx::DescriptorSetLayout *getDescriptorSetLayout() const { return _descriptorSetLayout; } - CC_INLINE gfx::Texture *getDefaultTexture() const { return _defaultTexture; } - CC_INLINE PipelineSceneData *getPipelineSceneData() const { return _pipelineSceneData; } - CC_INLINE const gfx::CommandBufferList &getCommandBuffers() const { return _commandBuffers; } - CC_INLINE PipelineUBO *getPipelineUBO() const { return _pipelineUBO; } - CC_INLINE gfx::Device *getDevice() { return _device; } + inline const RenderFlowList & getFlows() const { return _flows; } + inline uint getTag() const { return _tag; } + inline const map &getGlobalBindings() const { return _globalBindings; } + inline const DefineMap & getMacros() const { return _macros; } + inline void setValue(const String &name, bool value) { _macros.setValue(name, value); } + inline gfx::DescriptorSet * getDescriptorSet() const { return _descriptorSet; } + inline gfx::DescriptorSetLayout * getDescriptorSetLayout() const { return _descriptorSetLayout; } + inline gfx::Texture * getDefaultTexture() const { return _defaultTexture; } + inline PipelineSceneData * getPipelineSceneData() const { return _pipelineSceneData; } + inline const gfx::CommandBufferList & getCommandBuffers() const { return _commandBuffers; } + inline PipelineUBO * getPipelineUBO() const { return _pipelineUBO; } + inline const String & getConstantMacros() { return _constantMacros; } + inline gfx::Device * getDevice() { return _device; } protected: - static RenderPipeline *_instance; - void setDescriptorSetLayout(); + static RenderPipeline *instance; + + static void setDescriptorSetLayout(); + + void generateConstantMacros(); gfx::CommandBufferList _commandBuffers; RenderFlowList _flows; map _globalBindings; DefineMap _macros; uint _tag = 0; + String _constantMacros; gfx::Device * _device = nullptr; gfx::DescriptorSetLayout *_descriptorSetLayout = nullptr; diff --git a/native/docs/LINTER_AUTOFIX_GUIDE.md b/native/docs/LINTER_AUTOFIX_GUIDE.md index 8ee8fb9d84..0254332d29 100644 --- a/native/docs/LINTER_AUTOFIX_GUIDE.md +++ b/native/docs/LINTER_AUTOFIX_GUIDE.md @@ -4,7 +4,7 @@ This is a guide to help you setting up the appropriate environment to enable aut For now, **Visual Studio Code** is our first recommended IDE for the job, while a brief discussion about the support in different IDEs can be found at the end of this document. -## VS Code Integration +## VS Code With `C/C++` & `Clang-Tidy` Extension * Make sure both `clang-tidy` and `clang-format` are directly accessible in your terminal environment, i.e. install LLVM and add the bin folder into the environment path. LLVM 11+ is recommended. @@ -77,6 +77,14 @@ For now, **Visual Studio Code** is our first recommended IDE for the job, while > Also note: Once new source files have been added to the project in the CMakeLists, the `compile_commands.json` has to be regenerated by running the same script in the third step. +## VS Code With `clangd` Extension + +Another fairly decent choice is to install the `clangd` extension only: (`clangd` and `C/C++` extension conflicts with each other so you can't have both) + +![](imgs/clangd.png) + +`clangd` is the official language server by LLVM. Compared to the first approach, it has real-time linting & fixing support (much better performance and IDE integration). However it only supports a portion of clang-tidy rules, so the reports won't be identical to the CI environment and it doesn't provide a 'fix-all' command. But combined with the CLI approach below it still can be of a great help. + ## Command Line Interface The second recommended way is to directly use the CLI. diff --git a/native/docs/imgs/clangd.png b/native/docs/imgs/clangd.png new file mode 100644 index 0000000000000000000000000000000000000000..d6889bdaf884e182dd1d87ca309f3875e142539b GIT binary patch literal 21406 zcmbrlc{r5q`v*M8BV@^v%AT@@iV!ifmVHgKRVsVPP7FnnY)P_?eaU0rvQElU+1J5@ zjC~ml#tgIE?>(O9`~Cjj<9Ppj@8gJD!+l-Xd7amJemmZE%kUNiQk}p|dPooc%;buyQ6i>BG4Yw#`wvys|in39aMGwYpPuIYPYjNCfd~W#0hQrTbz7D z;%~+C#BZHu*U~!u#CPd{$zL=y9yS?iPo0PF-s+N&>|R?X zdA)1-=lk^&vn?Up0)QGtAh^=fvTWUM6etfan*fwsmM)zDX9Zr)By|$q@!gPCIDz5# zE++SsdkoX`tZx7GLH^U!n~9o7!;BumBZK$-d4g@aESmY&#C*HeNNHja`H@A%5+j}&TK&O& zef&rkMU9xS=iW{McE`V_p8ppb5r3ohiHf9i2uz&R@~(IcHD|VN_ltiC{(6bo$la%< zR_1?C?9u83_{}A7@$8#TkCDi+%@Im20r4f{|MffSBq!bZZpqJ|A03#OLIcvfwI*jJ z??ZoPiN-KbliyY}=gQ3l+5|M0qU<2yI*_@+7Y=)5O!GDkM2ImOQ2q-IRS}}dy@{gH zf2jG4P5Yz%@z|CQ2=!EgpVd4DjK-w#N7-*Ll z@Rlub|Dx&s_eU{IQQmb=jk!}~c44x?NuLk?E}l>FHH-~U|2dD@_KMd?Y^8s^PnF<2T|u^2mDTT!u-KS#!IscQD(+c2!ieY zf|e=L{#$g{Ayi-Dh#*ut3Q<(2_tOltGXhMWJQ4RVvo9@pyK4wK`(X?k5z4j>ZHt^p z-Ol}GRrg#HZ!(qMG=_*xu^*}pG)^>nyKxZeOn7Vd+2pW^weXUBfz6xS_S&(}@|`VV4BOlY+7k52|?!<_E@I;j34Vr+c#X+E!E1Ggi6qNc+XLtH}T}L zedgj`R}M#3(%J2I#{z0~4_eY>HI_sr>-Zp=B;#{h+TKr;cCShQ#Wk!jGkj(8mUgfH z_qo&9xrkudsocWGN&5?Yc{>4WT?l;$1B&Fkckl0C%>>%W#kdnqX~ zUdgn^g~*Mq`m2|vBtO1$j9I9xMpZOQ>9|jIj>A1lP~H0Y3#x;tSNp;D;(3bl8#Zue z11~SjJ%c4$jdv)oyc<@F2-_n0aAdo=!8FJhW#-F0YX@x1+TLwgpaj|``jk^D>Ng(P zaVC+T`KmA+>|^pP97mUfLq5#lnx~NO>pe}Mx8dLV-vW>Pa~g2rqjg;{hV#1yPj;R= ze(8B}@Zp?%L>dN%b`qr!&4*>G$tnDGO@T5j=O$k%&rQ7wPH@nEGVQFfB)3qio!G+# zq@?7@RBk369uh|HelRaYB$VE}s-=?s=k?Dzd%@Dl##eU-@#|{k_jpxJ?x7Li35Gg{ zDK?g<6{cZ9zv$iRJA%4PKJe*G}zVXw< zkLJTiKhMr{r*h1K^Xvs&<2U7Op+3iLPCxne!f^+_0G4fitGVd@R&v8$K60u89$PXh z%6Ea1vB8$ATEi9(g+MxKuns-)E?B5Dw`DX>4%d52 zm6Ap5K2C4_P&V_%TjfS%V^H1MJbtG+$@2x6(JsVhso;axc;9qufvq`94b}QkvXygC zW2%WKankPc%2#$kv!vj{@5b`L#Q6_bvP9DcZiRgh9#iWl6j5 zul^by?macMv0PDXZ(rv=kZhr7mFBKrF3?WiJpDSF(1_VAHVwM4hI8zh9{L+T>VM?T z?^lI!oDhC%ZA@<7UFW#bKKfcLlbx>CB!aXfFmzg^}^e1_%P!vA88FBVQ%aZk1Ef$S-n$=mqV zcD0f)lD)=`#l|%u&Vs6j?=X+s15I6-y{68n#ebg=n8tN1-B|y-QEIF8vDsXSVIO&y z&~A8&)Xd@dXcri)i_rsD$m2Ug`4#;y9lMljWaY^N7dDm)JrCo)b*{WBovfY5b#=qvo$;- z1KOVyU)2=c9?>>gz6zLm-S2sd`U_J(;-vBZaWUoRra)GQgL}>fb=Tvqrz(tk}N{N#8#bv?A z%flsh*lqTQ1{dvcT`-INNR)+&9EYnJ*Xy9X3wjUhwg1G33kuI_cyD0v?m30k?u*~V zlaum>D)s+X-#;Nx%(m`1rNI-@Fe$$&;HKHrRPF9GiSjmFJ-CWGH+}b+;`$lx$|RqK z)`PJy!$r~Y)T`4nyV`gA88Lrf*_^*vRPj2r?|Gp)FCX$@fVFYCy-v#r5@mDaB$yXX zd_XkwsYr_Andg$8D4vmKo%I_H<0`+)=_Z97_6k9J5YN?3L5&7F5!Im#(qD83^B)vz z+4SFLBc7|gL2naVQkFDW+_ok3M3!<`3pCt@K*r4Z;;lq?LbsX$5Iun4K)Fc5n1H!r zXG4dm`A~$_t>#pR-B=ABmJ#=Qzj|F&r z-xQefq143qO9HA7S;F1B082$*|F`rI_0aFv&EB8;zo5e97aG_+7*25YK-p@Hjwu6s zR>RBhCJvFo6#A5m*j7IZLww#8Z=ILWor+FGeWbX^_qf*PLHk-wnNbM@f6l=MdJY%& zDhI>tg1b9wYH`TL3x)^Zk>@H^{s!OnY#+4yzae?h_ngk9>E|D1Mq**Y zXh*~cn>$bT^d8Z_FziHZW*P5A&CZ(F?PRkw6L?Op=sNrweT}5ROf3_6ATy-F0%SU6>MPq~U|> zFSNr*Qm~POc1B}{>U;{(e`uLou4KjX;j|KVP@|Rj!Ox;7RH^KJ2>J~!=L{ol`%^T0 zO+D)kcbZ=%7tVeW=4Ftvvtc`49LjdSrsPAzng|a{-zDPj#@X5R7!ag^SC*(aMfD+2 zdr-bwPv{4Z ztTof9*)?2(GDn(Nkfu?AxL*8vX;Y3msnz6&g_44r!&i%ob^+(827%P;zTyUo8{0mG z1={UR+J|ioI~lF|(9{bC@Uz&?z~4$1GbJHD9FR<-pGC0~FB8(peNKIP^N_&Sz8CFg z(LkbA`%d6^-g<8$lCQObkdW9WC@a?mV3H;Lb{sw^?*oCi#ngG}ON_+X!ChIsZTF_H z@cjtCMQLbED)z2qy8f$RU*E-J5?I1}K9jIgs08!vr}yp4!sY=C8aocEVpo_AX->2gHa@3n zKbjey9!X0@#?crr+RP)#P?&Yzjxq1DNMt() zMQ@+?+Z+cuSQhsFPh*$bp6Fh^?vhvo0j^bQg}|QVgDjosjG`?(NBbDx%RLgIP^vgOOR39qpc)w&Magie zOl&R0?uzN>qk*r0$vSt0FYO~88rJoENSJscAHA0n&40{dBHINuUSF!juIIrI?JHr$ zGR)gWOO>h;Q9$iB7yUQbhVG?v%)sOoLE(MQ5Tf*OC4RSs9%ivAHT#r;XHx!(2K4kv z2ofv=bRR+b9~Y?GDNnPtK@9g%fe5L7fvvMns>wYlCYfw^LMu@)_f(jo78HK~KQiGx zk3-)MJ{r1kpLpVf#3GMwk>ZrcQ90M!_#0`E>}MKGIl3@f`#$C43}o zOLoGRz|k1KE}eLMj_CxJ?YuWZi%lt(z6F{pPi~mta1>;0bG-4-1&6BJ#Ek}nMQ`~t}0$s$|`rb^) zCYC#f6v^XAjDIMlDi4T#;aR(yZR~(k!!ynPXE%`S_7-*S(qR6<$Jm6 zH<|u0(LZAN%1S>yOXx&!>}`lyqqxa>B^o^QdL*%>q{x?Q=2!>wT-mHRP*OWrbG|%p$5SD1==CTcSUVH zq%s8~SazY|rl7Q)IS0U!l8HE5ab9CoVLNd^u-3!pG|M{rcB=4;XZc87-_F~{3vsRz z@3#`z2a;D$irG1|=Vxwm6^lV-*Cy)R7J&=rgIHPow~Teo2jK>WgK0tKPs7@llV9)N zEKkBLscr}yeq6b@#*h5^qnLpAeF?)necoRX^3nARoXix)a8X-k5w6SwK(_*g`NtOw zG)V#Wfr`>E{A9S>4lbs&&PNeTo~ZVF!F|8YZQurDb`sVw#$rc)xj_3XB-AGwu!CVI zsd?=z;|~R{+e#1{gnJ~~p)Jr>F_C-sdx;~r82@Omm8tFf+>$qhO1J04N2|un4a^?h#w<}S5R>f$*31c%n91xWUx570&pO)TVjJQ#QgiUSitx3S%SGG4N zoZebshDlID=ViMP0xR3pd%4pTjZM_Ixh)Kv7DALX%0vNbU#e9FYDNQakXiPg(8Cbq z3jHa9^N=f>CkP@mF}dm#aqwU{_wvMm1p7>l!hXNd27Si6(Eke_l%&^`Xm{fh|;5!^TB%bRsDX!u~K{FLbe zk7nva3yaV7)$THW*G7EvU7oy<_8V#_{I0_Df;@%3{moyGNQ+HUhzq*&BlJaEpnv`L zt3Rzfe*6J9ty2x_W|N>cyV&9;aLuX?4uq5Y-bpt0nq>k#&MEC$cwhl6e7ZP zo0r}zinf~WYwLc{0vB+VsM_H=b8osjlStpel5I4`@HlbcS$^x9VJ`Pgb_;>1zOrH* zs;m$u^!Xq1qyBjzw2W-6+{-?qKJPN@9yxzfgA-Kql-yCoUPLfA{)xf-i z0c%qy&;Uq3U{KHDgP<4_S=9~16UiRoJW#g+w1cYieulVcg7@V&&UnG6vvKf3!gq~({n)`3~6X;`aCTvxLph7WQ@Z+Mw%n+56@T4Weo41ew1A( zlQ|fs%~}CZHxokxb-nkgq=q#TYP{11>(`XWFHP0$a6=~?a7T!&Ta^e|(n2tqWxf)3 zw9y-+<47``hgVSZ*PWMuNSq>~suPgbAbB39o7qg!fY6AKsgqS*Ay@qgT;V>}Gj{%m zXO!RN!}m3UW*ys`ov@;{3C~4kEzdw=ghb5EI_~AGSwZ9en0vF^gy!jkD-LK;|0!>m z{%d5Pw7~Y-Vo_O>XS$iHzlq8}6g+H3dZq=~ijCXV-dB2$zV4YHju`wU5R#s&}25O?Clq)AMa@BrM^bFWHJzg2N%z- z{Y)XG)-^@j3+6LE?fNw8@|0IMI724|-UZ_gepbRxNn0LFw2cP-9DN+*!6?Uvygo$c zy@;P2WNGJFqEm4kwGWMbSWKzyZZxX_B^I0l?>V(XwdfSVUOqB1~YS)7vk{j_$+;UL=!^s3g zp+G(&X=Ch=mhE+r$pzrmZ7|qXtvQ_)|$t8b4vayltH2Rn*j9Z z1=!O?3lb6W%1s>Gd;k|Yz!lk*4TOkQ7?6Wp?6#8@Ch@N#w}o-7aZPZGc6rRN52RQi za>aOJMU--mGuvn8b(07WQXFYR-tY*h6YD6V8F1?{{2P;I5TD`%ij45_&(fiYvKv1e zd*6q+EK{uIx0i0zty&_RDXvlQ_jPR)|1Sx%8-l!BA}3(%E3%PLX38rEnPOEKdrz1j zjr5$to2QM-WlA&@XIFs?!bVEE5CI}Fyi@R;rC{|N2}_=_6>D%CtgK-CZp8evgcn0P0^(^Y zn1KyX>$SK<7L1!^le-{?_JY=Wm|I-dV5xahvA~P9qD#$muH`*l&8jw~`N{Qbb{|K_fea zH1nVa3_OdvIs|nqoj7(!&h90s+;Z=|0)Bj-RJQUlK-wDF5EbCDG5A=uQfRkNp?AZ& z_2;jR;`)k!Aijk|uF!_`!Mp-uUx>rlzWqZm6zF=K<=OM(s84&w`4H*>&z`7rd{%<> ziSnp2y=mnUat9TOdWZj1KlsD3PIflF!U?8s&I#C8BE(2(a8`Fs&H&>=>y)QI5;9je zVEy<*eCq3sBVrrnjuh!^8>M|GVFS0K1ZZmPAdXxZRck$ISnT9uDtMLN4XoY#!LvwS zC3@@{3z5<$I3{Bo*UPC-G6n3=U*r)b*BLj3HxyTgE^llYB><&FNjwl_|__ik|nJ)9~4VMfzU zp5!fP2WR_&QGRj7m&l6Nyc_%iD_tGH3b{Np$TvNhV(_z#z;kv`Zu?xR!}hvzGCm^k zW6|Ix$;K4TNY8*LA{dln*9gioxXV zd$XxU+Zk)84ox{j$B{3RCve6*8=m_|#BV^o?A;;rmgP~qs3_lMmRAMhY7OO=IyYWs z^q8(64oX-`CbEWqr{aqziOMDQxVVisfd7XrU#JW+PH z{GLji?1LR7u&R$w?J1)Z#j9AMN|DM^ihfzsd|AM8V+48jD-4(yefAgRg}t$h%P#Pe+bLl zW|-HS`#YHIhpmi6^# zFt6>QH+J7S+kI2N|26U5WJfwh`KKMX08a5=} z5t~a1_Zi*^Ck#eycLd-JKlo}6yx^Y3;9UI_@@o$-RyHofdExyaTTT@1?@G!U?NL= zV7(~`jS+^n?>Ig6$TTeW|)?n*zd0AkZW`m>cDdrL2Fq5Bp&(M5(t2z9hn})EsUl^uY~!?9RNkXTaKamSewNaM?}thrl(9#+xV1eHX(i7)VyCsmqVS)su3iCb`tyo{)fp0zVNS% zAWitn`c-lsa>59r0-^PXxKlOMFVva-xX87dh8O;)zeb(X1*F~mF^C1>$1qB4_(Pjq zD~`+-m>gOrxV?Sy@botX@Q$%))k%i;c4-KYc}J&R_Ks5#CjaHyCgkKK%_j-!XhS+Q z%Zv=_0kmV{;G{rJCxY`q9PJ6Ca5bhsUbF?^B&i1rv=$Fj-GS=A?LLVxENp#gUJ?q3 zI^S5npMLM^OvYwefU=afm}HX8W9t%%>VWt?aESMpdfBS!Yd^| zvzgG123)F>Lr2TEJ)>c|tpJHJ&}6V3sDermq=B}fZ%M+gw`v12P9+EN(}I$r;RlP zjZjVw?PZfK990Pt++>Ob>P4bksMFbPAUVRL#A}5s{bDB!tq0vsLqn4jLcA-1a^rUj$eryg zk!Hpp%x=vqNS>{=Q-Zu(I&qsp{RYil>O-}TpFe6M6v`ze%oWWa{!Sx;WD1#K3}pJx zNY*6yMEiCAagld;&+84GaVXV(c7Pc?Ja^H6^ckRa#Mt}G$lz(u8c%R=4MOE){a4#5 z-RPOI@NtVPuFTx;W+mDGaZ#ZM3_0zQpi*FhF%k0M`pV5zx9jmACvd>RMl7XY+QZ`U zh=(1j^3RYK>2*%Z{p@I%Oe|oPLNK;pPL6`TCm@bG=I8HIeiLCE@{(swx2~EgLGmYQ z*g=mMKlVXQs>%LYk|OtjNe;K?zY2Uf=`A2=>uGd=sef9<1teROwvnBP_HIBW zod76h5%719tOFiY-}s5&z4am3SC0EsNDR|!=HpOvB(5H>5%H2O5`@?<|DYh_EcCm& zG&PK%XsOOdFB!!7ACp;;6kC>ltCL`O{L0XukzrP>XXqb&PGD_=U3#(txDFv&QiOY`|OxaZ-gnF``)7cWv3xwO}ywf^G{btLwGTjfAG&{Kb| zg`65efaY#T$-8fKX2t@c@V|5RnoqGtderJOn5=iyTU^sZM}Pg5q;yKEUFq{83oOl|?Z>l!0X6;*B}#cJ6#~l%%NDE625s}SKGBboH8FP>Pb`|Q*cuZXA-!lPyb56wBtJ% z7(dV@#+nET&?izupwP*77LyqhAsClX#(&Z4WUhK_*?K)e_V+z)OUv`TVk)Cc>DgT& z*OczUB&VNDROWp_h}bP$l2hp#s*IHUOl|M$X@9Mry&+pkzTZ6S^R}*6RPx=7m3f9? z5e{u{1N~V)NMG#v6$w@W$1VhM0%8t9Ny3!M447iv11!Qv(vS-cOJ@garLJRvZrb~o zIss*2iej6Mfvhvy!RW{@8h9%rwaSwvz|;kBzbgIH!D6v9qyvU00e>Z$J5cS82cqAVOHIu7xMVKt%F5rbQ zCDlUpPA|v-jAdmjxAV z3$W}2%G)Yx2VID-XMhY=ncRhGVsdC&yhzD|aCYF`b840>e@%P%@A<4@r5`zt0rCie zw}5L5gUSir!EFRdET|1POr|}vI^CXkG542Cz?0$ca5k*xm{ow*%^odJ{Yj%ioeeP; zm&a|ss5L*6HAB?8k+H>4Mvv9YU#xSxzpAv;g7`pbrh32T8mD`_KkCs?jgv{mhAjhX z^N8qYu|)7=*>G+ggep?R&8lXg_R6Rt)kc3_&MWKES1QF!jYirW$K67`N62o|moYc$ z-5197>&K11udWzRRt{C!nen14Zqyp4**QTVLpwh+2vF=g^C>LM<|kb?VeV>FH!~Lc zWbjma6YNYsCmNQ7n1IFt^`6p2PT*cr$c6i6>Gc$Nke_hjv0w86AoH_=Cw|k`jAUd=xe>u?CNh@}rxZFEN9}sLwfJReZO{37?6?=A zCP*_5e2Tw8v=Eop8UqO0c^r`D+8;qwtNrq9H=v{;5% zTi$SpzOPThhv-xpDbdg#6X2$k)M6PJwi=p`Bkf0O1&y7Nnv#6Q9?bT}X_9QTqLL;4 z-glgo4eRdnd|xNq$-~F0ah3Be{A4wzkv{45=(Au{eo&$M80yi7d9{zvWWS$@U)T$C zx*u~_QDV})!&v~D4(&MeSG@1Qf<)g&*B7;SFMc+}E!JN_ISRk^LP5}8y6}U_hm<(WO~Mmi|8NB-_= z&j;AXLF0gCUD$n_NA90vYn;OZ$azX5Q^-%Ga->b|)$P5FqQ;qku^P-@1m88<5ynomH& zyY(pF!YZzYP&}p9j5Qk#9M9*eOP zy|=eN^LWOpR#@9BtjM>D;pB_r@?8!C(iI46m}^`$@uyK>TfrjPx=a?s*QQR=wy)RCU6%p z7b{e+)Bf>Ltdx>a5?LzQdx-3K=DB~~Z%QGKN|O?JAtF`+I5F*g%$@L&!;69DEYZi8#VDF!GN(&81a_H z(1wKM7f;JokjQ~hf{H3&R0REBpe3UbQD+*S7P3)HNDX|c%i2aft6|y0b6+4N(s@W* z`zRG5CPX4VYH7NE`;^{e=d)<3gtNHo(@&@R*riP)ek>Jm0<-JV6^?5!`{vG6$Fw|) z_#$@@(!;!$PJ8Y7<$P7!yP1F9HK5qL54@v(B-qNHPURu{)K%)2mycjaMs8RUf0nS= zE9bXPHh^7V3nHFqK+Gx)4NM=Zt|g^*w=7WX1c@~h#JSu~#F?X7Vls#F-Wlm-V1(vF zbI3XF-^4m~B}g+T70h~Y35n&Zf1@dJp`MorYQS(d`ua{4caQX{xl34lLrSBsD;Cw9 z*FKrBFjX8<-9T28Q5@Adva8 zo=tyf3k#aR+1$d z9`wET-X}NQUmdhGHtA56I`J95!iI@WuDbbgpFg;ca1z)xgR0BT-&R%u zJ3>y8ud5Qi-3umkd2bB~!o~%0^>aTM5RXJD6(I|El(($#QE0@>D~qAFPfS}+sk(%^ z@jPTvo{H_G8R^lUbdUL{0WI@2wTAKXr^_FgHz`*aN+wxhowB1n3hL68ao=CC0Ez>XoWT!Iq&1oe6v zFg(f-MA$o~En6M>0BJlwIy-0mNT9^sps5oVkXn*X$w9g|vn)J=Av6>VI632%;AVRm^ib?*i? zVD)Y-9tO&INwYx8XZ##tHMLK?t&O~lQ6Xs28x6VgL8v4f;_ zQ^_wL)!SedLP&<{$?QAg>Ty&NCEWH{>L^K|B~Z;-z(}vh{qcVr1{3wuS6aibh71&C z=>IhmnxXr178bGu|CVL$qR}OvUK8+F|8HpQGQWufIrP0AYj84bGzvHs8hr7(o0ANA z>hJFh7DJ$28+o*KY1Z}sixXVWGJQBt=J?Ml5d>)ULR17{b8FKUk0_wME^XDSBU4hRmO|fEZ?3>;ooLN=k-N9s%*r~e@P4R91?c0%I!N?E3!6g zm|s#kM+Cql_NtN+KYJsp+btP3{s!@GM-YaAdE(&CBwzx1IluR>n-98yS~{=82YPPI{ntaXaoZC#KQ?4IM8l>3AP|ggUtWrtIBoBbn(Z zC`Rf*|4E$>wMN*8lBL4}ZT2f>NXvwgZN>Nx$uL22eog~QsBH$RcOH84(25PHwgQ3_ zgei#4wnxo%@ar_6ntUOJ6$1M7c056>;d1||`>me+O%G{_tJ4k0av=-X~4wOh{7GP=ivVWKF8OmFWJXR)C)N9}>x-5n=XS zPdh`H;-f9I?uioNuef$zxyd=zLyS6ui{?_))T6ZD!wK|Byh4p;ZM+#(9gI&*hGBLD zeU7(ain0!UN&+t25190YG+48K9T2%RhW~lmm&6@fl14dwMVol*L-SLD>>D0|v z2e;v0;hWm^IL0{`+n_;Od22g1*PyFx`$XRN`LGPih&ul5qPv|4{v#iQL5C5RUV(xZ zg;N2qfs%TFnM{D$lY63p%HV5+BUxj}Q-*LcNa|3c+w;zk6SI3!yT>;!DkF?E`Jqkr z2r2k(siP^zgQ>w-@ZaB0*UxB7H6N}L7<)t#{XBie+Fek)OsdyqnuWh~W#6#QW6ySd zb~cOJIPH9U3=}&L3wd~Rp*^z!YBRh0BDbh#A6%Q@1R5CMg|BZQMraZ_!&iPWes!f6 znxQ$l0=efvbA}bHFML2C-U&FUCCRKR+>R!NeLFqW1#>KxCFfZ(tlao)XsaQkx+MP; zpCM21Mz&AqAK}=lj}OB5GL|gw6u|B0jVaSU_K2wqQLrbMJnU;@B<)M{eubu3C?MWU z25=fmm2n}u8fq*p%p@r?QPkGyoOyGwx+n2Pg7k+6Pif2yl$)u3c6R0xUwAgJ?s-9A zWC1wbK>VWl)Q~C$DdP^$V+~hjco4e{*$Dtk9uM$I+;xw8ZZ^C9c2-{b_@*RhhHjs% z5QjYX$5W8Bh|b7dDQfU$Y_h1tuc?kuhzIcf@gz2voqI6Y@adzs?S-1M>p>&l;r;;I za7YM0apJ`-SU$omrcIRviyP!a39NagnC=!<4X19qp;{X#m>Ifh1qNA48pUXCX!$}< zyVhrCJPfAUg8Xt2<<-`zd~wpA9a-UCh4~;Yt@C%j9_#i)Q`k8B{i=uDEZbLD& zddCnGW=hD2=;yyBi(M$~?w@Wto@p~V$m{rJS>`e{^suh(@g+O&eiof0-e&*e>w|yi zhY;E18<3H@*=L0}=BHDon?4I7V=xaIp$@z)B@>o-;g%K1bD+KBt5(XOIRgD9O+r zMR-A8vPFQI=Tj&=IR0xoU99u|FPAZoG3Vxj6?Wx?*KbyPtXOjvP*C+AyN}RxyJ^Km z4vO;CHy4-UEl_H{FHm!%rR9}=*{RK6FD>50ZpUJ)m*fdi#%swi#t7n^!%)@jX@j4| z1PA>YI8jGjK#lUIMaK1Au=@GEy+KkmtYMU5?6S9q zDrx$tv(kwrx?tS|N5<&gUU@WR)vSn0{x-RTddqMpY1_c(`{Vl#*4j_x+!Rc+yBcM_ zTGuVen#xvTs+@_hW#n5gHdb(X;gm))42b$gRc65#W>JeOB`*=)&9)vkk#0aDJNV$cr6J8P}KdJ9&JD4eBm!A;aLufb2W))dEpVJDq?Yb0 zXSkr56y%Z;L;h2}-yL-l834=T4$i0i5=(?w`j zy_XENzx!g#TYZ7Mi$}P!+r+!zQ`nGV=Bd!l@)c#w#N<$v9r!v6F>kNzl?qF>{caQc zCqavI7qCa#+`es@Y$iq-0D1*WFCI!3#&Hm*nVry{=#^X#x47L3sE}4OT=e>i=8;zP z(C()yur;TDrS;Yl>^VrYcYx7ic|W5`oBm1g)MZ;G#Sol|^N|Z~rKu&c9Ha(<(~3*q zy@$N#STAl0yI&zxu}^;!z`UwCSGEE>GFpd@yIG|o+fOr4J_N@g%0wvUZFh%o8gwN47&G<$;JS1-MQCB}@<_^U$A?bf*26BJ!aetOe^{y|oQi_&upi2%J`}X! zX|et5JMmttB({|L_In8?QjyLv<$Kso&b5UmG^3-BMH~<0& zo_ZNd+5(KHn<57dC0uI`#VlmgRfXNVLUXSivTri=rG)Me?8N0yC)`6Bau##&mmYXt z@G`x^7XCeaQT%JqytukyX870B?2qP_PF}omqVHKWEG`fW{49I&`rbCoB)Z=dxU=0x z47(zhL)H-%0CtU!h=|CuJU|P5iD;sq(@X8DA9y@0l5e_n_tPXUK?#x|#tiEQq1YzL zKokviZdCjA5Krpe&y?Z9_cvCF>_~_DEuJ*AD_Hl80je$Q4);7)J>6xWg%$L6gR@23 zH@y>kYG=Ye7vC$iypYs85|W&fShrDp;-aTjUP`0f=dj=`OM%y;lDGO%O?;~S`N$X` z-p#22X9?^o%=WA`k-qG=+A)S1mBr`laBMc0HI&U6*q(2TBUOIp$q(xpm#W}D@+W&* zW``NfvO*v->sllr57Py{T;{~fs=o2FQ4c$~Dh27f0Xe$(z#lRe0GXsobf69M2)lCn z(+W+=m7M-<>HnvgYmaAo|Noy|u!*tbew|Asb*P_mzYG~FLs^^>`lU$9W$wkMgvjL- zmfXfpM{>|Pk|NBdgxs=FPMH;B!sIr$?fcm|^~d=>zK`!;zsKXZKlaxidvBlj`}Kam z-p`whg?M%!(kUG7-G?o-r+?W{WZCT0=NE)*)@H{yGZ`YmHFb>Hb?u1MvnTm00r!@8 z1rgJyG)L=my3{|#KsY--w{L2*d@tX*a69a+Z#2-nF=TSHt>o`^hiEM)ws>W%=~6T8 zaY@!sMvMI|V>NLlQKYW6O%;7#1bJjZlowmjVxSEpHhiDS~<5_zSg&S-2S z{3IcS?}@yKpFLbdp|J_mml$KkIk+MP0_I~ir3zzH?GrXPP(MqmG!IqGe-AG2Fa}uq z_zjmGXJ=edf@kNQ#}A;$3ee@dp};bMtcwt%Z%U6Iy?5HIpg3m^s;P@8Pb2K%Qd233W zn(=MdJP>c!lAJy?9Yc(pu|j@!RiOItj-VsaeektF%xGZVh@dwlDMk)|XrM>U)qC4s z46C{@>w4knEp9-tuuV>8E5_0!o6=T?SXmLJKEy@C*ym}eP_xFj2|ky)E-J9M51StC zy^@>W;?PLc;w$xnX1Dm2`2xm8FAts(*gBM}xa^T>OKA7!F#qgdE*BZwb7A`zjw|o2 zh!!m!FCV#A@h4M`ovUl*j&sRF4RJk$XW}1!74*)`6<^K8z0F#Cr{$SjI^t?bSqfMG zc)8vMd6JOlQ{3G9wl8?LXFb*eL#eO$8eIC@lgedINFzSZDz+u)>@j7+lcv*ZDfJZx zW;plj?L*4>CgtqM!2t%Y+b7OJ!1D$4Z}2%a*6S3r=5dFJrQ;ttHeo1olejcV44Z%m z1{uod0irG=y3i#{@(Y4%+!^e!9=ULbMj>D(P6aUvWUDhC`z8>}P)dzP$XeKdzILgO z7P0grb1j1PWYpX^=4H`EXw)J*;a*6~{Tl0-I}OYFG&4->gyvqB)bJFRQ zYYDZ}fXfFr+YuYq`-L-OyHA<-?k#`V?c(w3NX(N3dzrNM;%z+5b8v&@&d8@g<~;4> z^os~M-D#~XcUGq0L|N_)bwO{_>Jds!HVZFh>mDmt=qr_SX7NEsg#n6St|Mwz)D4zR z+-d4ki?=U90bh>$fnjXWQ&+OoS(icD<57gmD7gEiD1VqDI58RiljY64p|Nv%Diw2_ zr`4<6sE_?)Pc0)=)vP2f^f`AQ8f?`RzqGavsjY8(-@0ikNhGc{UT=xDp!7#hkq8Nq z%^>mpYhQ;=`-IK-jC!(w%dsh!xa?YArNoHB{Jbtz4f3;;(DI$^PkY;VF1!P7Q(yrtOP0{f0bUdQT zS5f@8%kLjLyjLS>1do@P<@cV>V|mNy&9EMc*K_%VatK*@VKk9hm<%HEM<)|jLJ#Ey4eFD}cv-DI>Ra1qIYVBi549ttoWg5jrdhwhx3>vvRJ; zB)+u-P%xIe@NE)%-JJ|0PI?1;UGhn^Q!=z^24tXRxS4D?*NN<{G%cmW@9-lYphv-f zD1zV+@d{%}JR1nB#rEfa!cP@1|75$&Pa<1d-wQEktah1Cs-X7NllwB&Hsc_=nctpp zHVLSZO8gxbIzHvj@H7R2bTkeMy8(tC{psnUYwkdZ0XWn6F!F21w+`E2w@eO%yOaL9l@1PcIWz`a2)*eV`EgqOCM3Oc zJg{2OuZbB`k8|9xn$Uf2LQa5yzcmdu78{a|q?#@WqExTf9~ z0UjekO^TL7}=kb!3!9Ln9k#f za8Q$qu^dP(+X=h~E*u~35)`lMnG30NE-_|F68@&Z01=#stKM4)+O*1N$!&V;l2S|$-j zUlQU&*8Org9E9Nw)M*Vo{otdQy&r?cAi3>{F?e#J;_FJ-3{6-;S%}a;X;<0v0a(2J zs-tL3HFjD$32)0(MEG3eg@k@C<3F)_Goeo_y^|jGE($7~-v3#_Z(VtOU#8|+cIL1( z^jFhMuWDvq-cAAWsYZ~W+XR>B~_z8uuuWR>t6 zbku0^V&sW^)P)aM)a&jsZZuTKzE%`*tAv1@%JZEMywQ4~ZeW++A0`+q5&GE)yKk4D zd~a?g>;?^TBqraj2klmBTWZAYl^JFB%OO;uPjNZf8QBsD$e{7`S1i>d77l4F^tS6LStgxiWR?9p=6Wbi-F{J zG}rF>(E#R*eX-G_sj2}@CK?(g{#mbeLd)zJy$@2mF#t8^^QUYZzq1a_57t;E6S2T9 zpLmE`RlLN}QeF7cRq`oM$weFlZuM9$(L*mg0=l&hbR*p+ut9jhRU)qvR*|itF3CJ+ z7w?G0puKnxP29brMPvNQZ1LYrr_JD7`}fbtB2vhXNQP5u(1a@2pLKhLJs9?l9iqwy zO0#?y)1wrQbEb&ecM_GNp!ZfT+D{ia=W+jBr~abfU8 zp9n8ugqS4bXAVeMKpe-3#@o}a#u0-Z1r^7`NE`!I2ukGk5@Zw^gI5vO{)3yX&&{O` z(GPJj?@XXy>hGD0ceo2K)k%#gL=5ZEye!v5WOTnRk4(X4NIyDGRfSEe?lW5JrCtN= z+F*Hrn~>mu*J6#|E+)u-y4$jeGt-SARF|nN$K+Cvt2f{3!^ErAl?-N>|2XebZ*?#= zu3F{rT8Ogq_K_VowD+CJ6y?@K)n)MXPi;u%BkDvOQt?^*;Ya>@BwMdu8Spv#n5DMp zzDBjmPDnVFV@=_=ly@`bZj74w=`Iw5f-K${qwj)2L*?hZk@Xikmq4V-SI-gVJ&t&^ zUfNGY4`*uQ+cU+T8UM-Qqii@6%60vGka@+8Ko=b zd)TJdG;%=4y6mX?{BG-AQo-74KM;f=P{LQXp>i%y>cSohVmqvJN5#7z*>Cno<2;cM zYrf?flCKUry=dtY2B1_>>Tmbl2#*Hyf36& zhu+thl|(#EO%MiZY%TOrXz=H01JU!m`&)l-_qW+*PuS}xISEeDH=*<9W3-g4S3T=G z(P@9cZI$__?C02LOQJ4Z3@8#F3t-&j?(h2uFd&=wjeq<94Qu@Ccl}?cKmM05-1#(# ZPkQ$T#q&OlZxw#d*#Up3+RpFVzX0R^Ja+&9 literal 0 HcmV?d00001 diff --git a/native/tools/tojs/pipeline.ini b/native/tools/tojs/pipeline.ini index eb84d31e8d..340a6ff44f 100644 --- a/native/tools/tojs/pipeline.ini +++ b/native/tools/tojs/pipeline.ini @@ -59,7 +59,7 @@ skip = ForwardPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLi rename_functions = -getter_setter= RenderPipeline::[descriptorSet descriptorSetLayout] +getter_setter= RenderPipeline::[descriptorSet descriptorSetLayout constantMacros] rename_classes = diff --git a/native/utils/CMakeLists.header.txt b/native/utils/CMakeLists.header.txt new file mode 100644 index 0000000000..471ccbe192 --- /dev/null +++ b/native/utils/CMakeLists.header.txt @@ -0,0 +1,4 @@ + +cmake_minimum_required(VERSION 3.8) +project(engine_native CXX) +enable_language(C ASM) diff --git a/native/utils/generate_compile_commands_android.sh b/native/utils/generate_compile_commands_android.sh index 04f89fd9aa..12b298f633 100755 --- a/native/utils/generate_compile_commands_android.sh +++ b/native/utils/generate_compile_commands_android.sh @@ -11,7 +11,7 @@ else exit 1 fi cp CMakeLists.txt CMakeLists-bak.txt -echo -e "cmake_minimum_required(VERSION 3.8)\nproject(engine_native CXX)\nenable_language(C ASM)" | cat - CMakeLists-bak.txt > CMakeLists.txt +cat utils/CMakeLists.header.txt CMakeLists-bak.txt > CMakeLists.txt cmake -Bbuild -DCC_USE_GLES2=ON -DCC_USE_VULKAN=ON -DCC_USE_GLES3=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE="$ndk_path/build/cmake/android.toolchain.cmake" -DANDROID_PLATFORM=android-21 -G"Unix Makefiles" mv CMakeLists-bak.txt CMakeLists.txt cp build/compile_commands.json . From f618c5328d12ab2ac9a79b0606bf13c2919c56b8 Mon Sep 17 00:00:00 2001 From: GengineJS <476393671@qq.com> Date: Wed, 14 Apr 2021 13:33:08 +0800 Subject: [PATCH 234/270] [Feature] Complete unit tests (#3399) --- native/unit-test/src/math_geometry_test.cpp | 91 ++++++ native/unit-test/src/math_mat3_test.cpp | 124 ++++++++ native/unit-test/src/math_mat4_test.cpp | 271 ++++++++++++++++++ native/unit-test/src/math_quaternion_test.cpp | 111 +++++++ native/unit-test/src/math_utils_test.cpp | 44 +++ native/unit-test/src/math_vec2_test.cpp | 112 +++++++- native/unit-test/src/math_vec3_test.cpp | 159 ++++++++++ native/unit-test/src/math_vec4_test.cpp | 109 +++++++ native/unit-test/src/math_vertex_test.cpp | 54 ++++ native/unit-test/src/utils.h | 32 +++ 10 files changed, 1105 insertions(+), 2 deletions(-) create mode 100644 native/unit-test/src/math_geometry_test.cpp create mode 100644 native/unit-test/src/math_mat3_test.cpp create mode 100644 native/unit-test/src/math_mat4_test.cpp create mode 100644 native/unit-test/src/math_quaternion_test.cpp create mode 100644 native/unit-test/src/math_utils_test.cpp create mode 100644 native/unit-test/src/math_vec3_test.cpp create mode 100644 native/unit-test/src/math_vec4_test.cpp create mode 100644 native/unit-test/src/math_vertex_test.cpp create mode 100644 native/unit-test/src/utils.h diff --git a/native/unit-test/src/math_geometry_test.cpp b/native/unit-test/src/math_geometry_test.cpp new file mode 100644 index 0000000000..45edf40f15 --- /dev/null +++ b/native/unit-test/src/math_geometry_test.cpp @@ -0,0 +1,91 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gtest/gtest.h" +#include "cocos/math/Vec2.h" +#include "cocos/math/Math.h" +#include "cocos/math/Geometry.h" +#include "utils.h" +#include + +TEST(mathGeometryTest, test7) { + // setSize + logLabel = "test the geometry_size setSize function"; + cc::Size size(100, 80); + size.setSize(20, 10); + ExpectEq(size.width == 20 && size.height == 10, true); + // equals size + logLabel = "test the geometry_size equals function"; + cc::Size target(20, 10); + ExpectEq(size.equals(target), true); + // Rect getMinX + logLabel = "test the geometry_rect getMinX function"; + cc::Rect rect; + rect.setRect(0, 0, 100, 70); + ExpectEq(rect.getMinX() == 0, true); + // Rect getMidX + logLabel = "test the geometry_rect getMidX function"; + ExpectEq(rect.getMidX() == 50, true); + // Rect getMaxX + logLabel = "test the geometry_rect getMaxX function"; + ExpectEq(rect.getMaxX() == 100, true); + // Rect getMinY + logLabel = "test the geometry_rect getMinY function"; + ExpectEq(rect.getMinY() == 0, true); + // Rect getMidY + logLabel = "test the geometry_rect getMidY function"; + ExpectEq(rect.getMidY() == 35, true); + // Rect getMaxY + logLabel = "test the geometry_rect getMaxY function"; + ExpectEq(rect.getMaxY() == 70, true); + // Rect equals + logLabel = "test the geometry_rect equals function"; + cc::Rect equalTarget(0, 0, 100, 70); + ExpectEq(rect.equals(equalTarget), true); + // containsPoint + logLabel = "test the geometry_rect containsPoint function"; + cc::Vec2 point(10, 10); + ExpectEq(rect.containsPoint(point), true); + // intersectsRect + logLabel = "test the geometry_rect intersectsRect function"; + cc::Rect intersectRect(10, 10, 50, 40); + ExpectEq(rect.intersectsRect(intersectRect), true); + // intersectsCircle + logLabel = "test the geometry_rect intersectsCircle function"; + cc::Vec2 intersectsCircle(50, 10); + ExpectEq(rect.intersectsCircle(intersectsCircle, 50), true); + // unionWithRect + logLabel = "test the geometry_rect unionWithRect function"; + cc::Rect unionWithRect(10, 10, 150, 40); + rect = rect.unionWithRect(unionWithRect); + cc::Vec2 equalTar(0, 0); + size.setSize(160, 70); + ExpectEq(rect.origin.equals(equalTar) && rect.size.equals(size), true); + // merge + logLabel = "test the geometry_rect merge function"; + cc::Rect merge(30, 10, 200, 180); + rect.merge(merge); + size.setSize(230, 190); + ExpectEq(rect.size.equals(size), true); +} + diff --git a/native/unit-test/src/math_mat3_test.cpp b/native/unit-test/src/math_mat3_test.cpp new file mode 100644 index 0000000000..7c34393cea --- /dev/null +++ b/native/unit-test/src/math_mat3_test.cpp @@ -0,0 +1,124 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gtest/gtest.h" +#include "cocos/math/Vec2.h" +#include "cocos/math/Mat3.h" +#include "cocos/math/Mat4.h" +#include "cocos/math/Math.h" +#include "cocos/math/Quaternion.h" +#include "utils.h" +#include + +TEST(mathMat3Test, test4) { + cc::Mat3 mat3(0,2,3, 4,5,6, 7,8,9); + // identity + logLabel = "test the mat3 identity function"; + cc::Mat3::identity(mat3); + ExpectEq(mat3.m[0] == 1 && mat3.m[4] == 1 && mat3.m[8] == 1, true); + // transpose + logLabel = "test the mat3 transpose function"; + mat3.set(11,21,31, 12,22,32, 13,23,33); + mat3.transpose(); + ExpectEq(mat3.m[1] == 21 && mat3.m[4] == 22 && mat3.m[7] == 23, true); + cc::Mat3 matTemp(11,21,31, 12,22,32, 13,23,33); + cc::Mat3::transpose(mat3, matTemp); + ExpectEq(mat3.m[1] == 21 && mat3.m[4] == 22 && mat3.m[7] == 23, true); + // inverse + logLabel = "test the mat3 inverse function"; + mat3.set(0, 2, 0, 3, 0, 0, 2, 0, 1); + mat3.inverse(); + ExpectEq(mat3.m[1] == 0.5f && mat3.m[8] == 1, true); + // adjoint + logLabel = "test the mat3 adjoint function"; + cc::Mat3 matAdj(0, 2, 0, 3, 0, 0, 2, 0, 1); + cc::Mat3::adjoint(mat3, matAdj); + ExpectEq(mat3.m[1] == -3 && mat3.m[3] == -2 && mat3.m[8] == -6, true); + // determinant + logLabel = "test the mat3 determinant function"; + mat3.set(1, 0, 3, 2, 1, 0, 4, 0, 2); + float det = mat3.determinant(); + ExpectEq(det == -10, true); + // multiply + logLabel = "test the mat3 multiply function"; + cc::Mat3 lm(2, 3, 1, 4, 7, 3, 8, 2, 0); + cc::Mat3 rm(5, 2, 6, 8, 1, 0, 6, 5, 4); + cc::Mat3::multiply(mat3, lm, rm); + ExpectEq(mat3.m[0] == 40 && mat3.m[4] == 30 && mat3.m[8] == 48, true); + // translate + logLabel = "test the mat3 translate function"; + cc::Mat3 translate; + translate.m[6] = 3; + translate.m[7] = 2; + cc::Vec2 pos(1, 2); + cc::Mat3 transOut; + cc::Mat3::translate(transOut, translate, pos); + ExpectEq(transOut.m[6] == 4 && transOut.m[7] == 4, true); + cc::Mat3::fromTranslation(transOut, pos); + ExpectEq(transOut.m[7] == 2, true); + // rotate + logLabel = "test the mat3 rotate function"; + cc::Mat3 rotate; + cc::Mat3 rotateOut; + cc::Mat3::rotate(rotateOut, rotate, cc::math::PI_DIV2); + ExpectEq(rotateOut.m[1] == 1 && rotateOut.m[3] == -1, true); + cc::Mat3::fromRotation(rotateOut, cc::math::PI_DIV2); + ExpectEq(rotateOut.m[1] == 1 && rotateOut.m[3] == -1, true); + // scale + logLabel = "test the mat3 scale function"; + cc::Mat3 scale; + cc::Mat3 scaleOut; + cc::Vec2 scaleVec(2, 1); + cc::Mat3::scale(scaleOut, scale, scaleVec); + ExpectEq(scaleOut.m[0] == 2, true); + cc::Mat3::fromScaling(scaleOut, scaleVec); + ExpectEq(scaleOut.m[0] == 2, true); + // fromMat4 + logLabel = "test the mat3 fromMat4 function"; + cc::Mat4 fromMat4; + fromMat4.m[0] = 3; + fromMat4.m[4] = 6; + fromMat4.m[5] = 7; + cc::Mat3 copyMat; + cc::Mat3::fromMat4(copyMat, fromMat4); + ExpectEq(copyMat.m[0] == 3 && copyMat.m[3] == 6 && copyMat.m[4] == 7, true); + // fromQuat + logLabel = "test the mat3 fromQuat function"; + cc::Mat3 fromQuat; + cc::Quaternion quat(0, 0, 3, 1); + cc::Mat3::fromQuat(fromQuat, quat); + ExpectEq(copyMat.m[0] == 3 && copyMat.m[3] == 6 && copyMat.m[4] == 7, true); + // add + logLabel = "test the mat3 add function"; + cc::Mat3 lAdd(9,0,0, 3,8,0, 9,0,0); + cc::Mat3 rAdd(1,0,0, 5,2,0, 1,0,0); + cc::Mat3 addOut; + cc::Mat3::add(addOut, lAdd, rAdd); + ExpectEq(addOut.m[0] == 10 && addOut.m[2] == 10 && addOut.m[4] == 10, true); + // subtract + logLabel = "test the mat3 subtract function"; + cc::Mat3 subOut; + cc::Mat3::subtract(subOut, lAdd, rAdd); + ExpectEq(subOut.m[0] == 8 && subOut.m[2] == 8 && subOut.m[4] == 6, true); +} + diff --git a/native/unit-test/src/math_mat4_test.cpp b/native/unit-test/src/math_mat4_test.cpp new file mode 100644 index 0000000000..3b60dbce80 --- /dev/null +++ b/native/unit-test/src/math_mat4_test.cpp @@ -0,0 +1,271 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gtest/gtest.h" +#include "cocos/math/Vec3.h" +#include "cocos/math/Vec4.h" +#include "cocos/math/Mat3.h" +#include "cocos/math/Mat4.h" +#include "cocos/math/Math.h" +#include "cocos/math/Quaternion.h" +#include "utils.h" +#include + +TEST(mathMat4Test, test5) { + cc::Mat4 mat4; + // createLookAt + logLabel = "test the mat4 createLookAt function"; + cc::Vec3 eyePos(0, 0, -10); + cc::Vec3 tarPos(0, 0, 0); + cc::Vec3 up(0, 1, 0); + cc::Mat4 outMat; + cc::Mat4::createLookAt(eyePos, tarPos, up, &outMat); + ExpectEq(outMat.m[0] == -1 && outMat.m[10] == -1 && outMat.m[14] == -10, true); + cc::Mat4::createLookAt(eyePos.x, eyePos.y, eyePos.z, tarPos.x, tarPos.y, tarPos.z, up.x, up.y, up.z, &outMat); + ExpectEq(outMat.m[0] == -1 && outMat.m[10] == -1 && outMat.m[14] == -10, true); + // createPerspective + logLabel = "test the mat4 createPerspective function"; + cc::Mat4::createPerspective(60, 1, 0, 100, &outMat); + ExpectEq(outMat.m[10] == -1 && outMat.m[11] == -1, true); + // createOrthographic + logLabel = "test the mat4 createOrthographic function"; + cc::Mat4::createOrthographic(20, 40, 100, 200, 10, 100, &outMat); + ExpectEq(outMat.m[12] == -3 && outMat.m[13] == -3, true); + // createOrthographicOffCenter + logLabel = "test the mat4 createOrthographicOffCenter function"; + cc::Mat4::createOrthographicOffCenter(20, 40, 100, 200, 10, 100, &outMat); + ExpectEq(outMat.m[12] == -3 && outMat.m[13] == -3, true); + cc::Mat4::createOrthographicOffCenter(20, 40, 100, 200, 10, 100, 0, 1, &outMat); + ExpectEq(outMat.m[12] == -3 && outMat.m[13] == -3, true); + // createBillboard + logLabel = "test the mat4 createBillboard function"; + cc::Vec3 objectPosition(0, 0, 6); + cc::Mat4::createBillboard(objectPosition, eyePos, up, &outMat); + ExpectEq(outMat.m[10] == 1 && outMat.m[11] == 6, true); + cc::Mat4::createBillboard(objectPosition, eyePos, up, &outMat); + cc::Vec3 camForward(0, 0, 1); + cc::Mat4::createBillboard(objectPosition, eyePos, up, camForward, &outMat); + ExpectEq(outMat.m[10] == 1 && outMat.m[11] == 6, true); + // createScale + logLabel = "test the mat4 createScale function"; + cc::Vec3 scale(2, 3, 1); + cc::Mat4::createScale(scale, &outMat); + ExpectEq(outMat.m[0] == 2 && outMat.m[5] == 3, true); + cc::Mat4::createScale(scale.x, scale.y, scale.z, &outMat); + ExpectEq(outMat.m[0] == 2 && outMat.m[5] == 3, true); + // createRotation + logLabel = "test the mat4 createRotation function"; + cc::Quaternion rot(0, 0, 5, 1); + cc::Mat4::createRotation(rot, &outMat); + ExpectEq(outMat.m[4] == -10 && outMat.m[5] == -49, true); + cc::Vec3 axis(0, 1, 0); + cc::Mat4::createRotation(axis, cc::math::PI_DIV2, &outMat); + ExpectEq(outMat.m[2] == -1 && outMat.m[8] == 1, true); + // createRotationX + logLabel = "test the mat4 createRotationX function"; + cc::Mat4::createRotationX(cc::math::PI, &outMat); + ExpectEq(outMat.m[5] == -1 && outMat.m[10] == -1, true); + // createRotationY + logLabel = "test the mat4 createRotationY function"; + cc::Mat4::createRotationY(cc::math::PI, &outMat); + ExpectEq(outMat.m[0] == -1 && outMat.m[10] == -1, true); + // createRotationZ + logLabel = "test the mat4 createRotationZ function"; + cc::Mat4::createRotationZ(cc::math::PI, &outMat); + ExpectEq(outMat.m[0] == -1 && outMat.m[5] == -1, true); + // createTranslation + logLabel = "test the mat4 createTranslation function"; + cc::Vec3 trans(3, 2, 4); + cc::Mat4::createTranslation(trans, &outMat); + ExpectEq(outMat.m[12] == 3 && outMat.m[13] == 2 && outMat.m[14] == 4, true); + cc::Mat4::createTranslation(trans.x, trans.y, trans.z, &outMat); + ExpectEq(outMat.m[12] == 3 && outMat.m[13] == 2 && outMat.m[14] == 4, true); + // add + logLabel = "test the mat4 add function"; + cc::Mat4 addMat; + addMat.add(5); + ExpectEq(addMat.m[0] == 6 && addMat.m[5] == 6 && addMat.m[10] == 6, true); + addMat.setIdentity(); + addMat.add(6, &addMat); + ExpectEq(addMat.m[0] == 7 && addMat.m[5] == 7 && addMat.m[10] == 7, true); + cc::Mat4 m1; + m1.m[0] = 2; + cc::Mat4 m2; + m2.m[0] = 3; + cc::Mat4::add(m1, m2, &outMat); + ExpectEq(outMat.m[0] == 5, true); + // fromRT + logLabel = "test the mat4 fromRT function"; + cc::Vec4 rotVec(1, 0, 1, 1); + cc::Vec3 transVec(1, 1, 2); + cc::Mat4::fromRT(rotVec, transVec, &outMat); + ExpectEq(outMat.m[5] == -3 && outMat.m[9] == -2 && outMat.m[14] == 2, true); + // decompose + logLabel = "test the mat4 decompose function"; + outMat.decompose(&scale, &rot, &transVec); + ExpectEq(transVec.x == 1 && transVec.y == 1 && transVec.z == 2, true); + // determinant + logLabel = "test the mat4 determinant function"; + cc::Mat4 det; + det.m[0] = 5; + det.m[1] = 7; + det.m[6] = 2; + float detVal = det.determinant(); + ExpectEq(detVal == 5, true); + // getScale + logLabel = "test the mat4 getScale function"; + cc::Mat4 getScaleMat; + getScaleMat.m[0] = 5; + getScaleMat.m[5] = 7; + getScaleMat.m[10] = 2; + cc::Vec3 scaleOut; + getScaleMat.getScale(&scaleOut); + ExpectEq(scaleOut.x == 5 && scaleOut.y == 7 && scaleOut.z == 2, true); + // getRotation + logLabel = "test the mat4 getRotation function"; + cc::Quaternion quat; + outMat.getRotation(&quat); + ExpectEq(IsEqualF(quat.x, 0.507208) && IsEqualF(quat.y, -0.06908) && IsEqualF(quat.z, 0.657192), true); + // getTranslation + logLabel = "test the mat4 getTranslation function"; + outMat.getTranslation(&transVec); + ExpectEq(transVec.x == 1 && transVec.y == 1 && transVec.z == 2, true); + // getUpVector + logLabel = "test the mat4 getUpVector function"; + cc::Vec3 upVec3; + outMat.getUpVector(&upVec3); + ExpectEq(upVec3.x == -2 && upVec3.y == -3 && upVec3.z == 2, true); + // getDownVector + logLabel = "test the mat4 getDownVector function"; + cc::Vec3 downVec3; + outMat.getDownVector(&downVec3); + ExpectEq(downVec3.x == 2 && downVec3.y == 3 && downVec3.z == -2, true); + // getLeftVector + logLabel = "test the mat4 getLeftVector function"; + cc::Vec3 leftVec3; + outMat.getLeftVector(&leftVec3); + ExpectEq(leftVec3.x == 1 && leftVec3.y == -2 && leftVec3.z == -2, true); + // getRightVector + logLabel = "test the mat4 getRightVector function"; + cc::Vec3 rightVec3; + outMat.getRightVector(&rightVec3); + ExpectEq(rightVec3.x == -1 && rightVec3.y == 2 && rightVec3.z == 2, true); + // getForwardVector + logLabel = "test the mat4 getForwardVector function"; + cc::Vec3 forwardVec3; + outMat.getForwardVector(&forwardVec3); + ExpectEq(forwardVec3.x == -2 && forwardVec3.y == 2 && forwardVec3.z == 1, true); + // getBackVector + logLabel = "test the mat4 getBackVector function"; + cc::Vec3 backVec3; + outMat.getBackVector(&backVec3); + ExpectEq(backVec3.x == 2 && backVec3.y == -2 && backVec3.z == -1, true); + // inverse + logLabel = "test the mat4 inverse function"; + bool isInverse = outMat.inverse(); + ExpectEq(isInverse == true, true); + // getInversed + logLabel = "test the mat4 getInversed function"; + cc::Mat4 inversed; + inversed.m[1] = 10; + inversed.m[2] = 13; + inversed.m[4] = 2; + cc::Mat4 inversedMat = inversed.getInversed(); + ExpectEq(IsEqualF(inversedMat.m[6], -1.36842108), true); + // identity + logLabel = "test the mat4 isIdentity function"; + ExpectEq(outMat.isIdentity(), false); + outMat.setIdentity(); + ExpectEq(outMat.isIdentity(), true); + // multiply + logLabel = "test the mat4 multiply function"; + outMat.multiply(7); + ExpectEq(outMat.m[0] == 7, true); + outMat.setIdentity(); + outMat.multiply(6, &outMat); + ExpectEq(outMat.m[0] == 6, true); + // negate + logLabel = "test the mat4 negate function"; + outMat.negate(); + ExpectEq(outMat.m[0] == -6, true); + outMat.multiply(2); + outMat = outMat.getNegated(); + ExpectEq(outMat.m[0] == 12, true); + // rotate + logLabel = "test the mat4 rotate function"; + outMat.setIdentity(); + cc::Quaternion rotateQuat(3, 0, 0, 1); + outMat.rotate(rotateQuat); + ExpectEq(outMat.m[5] == -17 && outMat.m[9] == -6, true); + outMat.setIdentity(); + cc::Vec3 rAxis(1, 0, 0); + outMat.rotate(rAxis, cc::math::PI_DIV2); + ExpectEq(IsEqualF(outMat.m[0], 1) && outMat.m[9] == -1, true); + outMat.setIdentity(); + outMat.rotateX(cc::math::PI_DIV2); + ExpectEq(IsEqualF(outMat.m[0], 1) && outMat.m[9] == -1, true); + outMat.setIdentity(); + outMat.rotateY(cc::math::PI_DIV2); + ExpectEq(IsEqualF(outMat.m[2], -1), true); + outMat.setIdentity(); + outMat.rotateZ(cc::math::PI_DIV2); + ExpectEq(outMat.m[4] == -1, true); + // scale + logLabel = "test the mat4 scale function"; + outMat.setIdentity(); + outMat.scale(6); + ExpectEq(outMat.m[0] == 6 && outMat.m[5] == 6, true); + outMat.setIdentity(); + outMat.scale(6, 4, 2); + ExpectEq(outMat.m[0] == 6 && outMat.m[5] == 4, true); + // setZero + logLabel = "test the mat4 setZero function"; + outMat.setZero(); + ExpectEq(outMat.m[0] == 0 && outMat.m[5] == 0, true); + // subtract + logLabel = "test the mat4 subtract function"; + cc::Mat4::subtract(m1, m2, &outMat); + ExpectEq(outMat.m[0] == -1, true); + // transformPoint + logLabel = "test the mat4 transformPoint function"; + cc::Vec3 transformPot(0, 3, 0); + outMat.setIdentity(); + outMat.m[13] = 2; + outMat.transformPoint(&transformPot); + ExpectEq(transformPot.y == 5, true); + // translate + logLabel = "test the mat4 translate function"; + cc::Mat4 translate; + translate.m[13] = 3; + translate.m[14] = 2; + cc::Vec3 pos(1, 2, 0); + cc::Mat4 transOut; + translate.translate(2, 3, 0); + ExpectEq(translate.m[12] = 2 && translate.m[13] == 6, true); + // transpose + logLabel = "test the mat4 transpose function"; + cc::Mat4 matTranspose(11,21,31,2, 12,22,32,4, 13,23,33,5, 0,0,0,1); + matTranspose.transpose(); + ExpectEq(matTranspose.m[1] == 21 && matTranspose.m[4] == 12 && matTranspose.m[7] == 4, true); +} + diff --git a/native/unit-test/src/math_quaternion_test.cpp b/native/unit-test/src/math_quaternion_test.cpp new file mode 100644 index 0000000000..cc24225bdd --- /dev/null +++ b/native/unit-test/src/math_quaternion_test.cpp @@ -0,0 +1,111 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gtest/gtest.h" +#include "cocos/math/Vec3.h" +#include "cocos/math/Vec4.h" +#include "cocos/math/Mat3.h" +#include "cocos/math/Mat4.h" +#include "cocos/math/Math.h" +#include "cocos/math/Quaternion.h" +#include "utils.h" +#include + +TEST(mathQuaternionTest, test6) { + // identity + logLabel = "test the quaternion identity function"; + cc::Quaternion quat(1,2,1,1); + quat = cc::Quaternion::identity(); + ExpectEq(quat.x == 0 && quat.y == 0 && quat.z == 0 && quat.w == 1, true); + // isIdentity + logLabel = "test the quaternion isIdentity function"; + quat.set(5, 10, 10, 2); + quat.setIdentity(); + ExpectEq(quat.isIdentity(), true); + // zero + logLabel = "test the quaternion zero function"; + cc::Quaternion zero(1,2,1,1); + zero = cc::Quaternion::zero(); + ExpectEq(zero.x == 0 && zero.y == 0 && zero.z == 0 && zero.w == 0, true); + // isZero + logLabel = "test the quaternion isZero function"; + ExpectEq(zero.isZero(), true); + // createFromRotationMatrix + logLabel = "test the quaternion createFromRotationMatrix function"; + cc::Mat4 rotMat; + rotMat.m[0] = cos(cc::math::PI_DIV2); + rotMat.m[2] = sin(cc::math::PI_DIV2); + rotMat.m[8] = -sin(cc::math::PI_DIV2); + rotMat.m[10] = cos(cc::math::PI_DIV2); + cc::Quaternion::createFromRotationMatrix(rotMat, &quat); + ExpectEq(IsEqualF(-0.707106, quat.y), true); + // createFromAxisAngle + logLabel = "test the quaternion createFromAxisAngle function"; + cc::Vec3 axis(0, 1, 0); + cc::Quaternion::createFromAxisAngle(axis, cc::math::PI_DIV2, &quat); + ExpectEq(IsEqualF(0.707106, quat.y), true); + // conjugate + logLabel = "test the quaternion conjugate function"; + quat.set(1, 2, 1, 1); + quat.conjugate(); + ExpectEq(quat.x == -1 && quat.y == -2 && quat.z == -1, true); + quat = quat.getConjugated(); + ExpectEq(quat.x == 1 && quat.y == 2 && quat.z == 1, true); + // inverse + logLabel = "test the quaternion inverse function"; + quat.inverse(); + ExpectEq(IsEqualF(-0.142857149, quat.x) && IsEqualF(-0.142857149, quat.z), true); + quat = quat.getInversed(); + ExpectEq(IsEqualF(1, quat.x) && IsEqualF(1, quat.z), true); + // multiply + logLabel = "test the quaternion multiply function"; + cc::Quaternion mul(3, 2, 0, 1); + quat.multiply(mul); + ExpectEq(IsEqualF(2, quat.x) && IsEqualF(-3, quat.z), true); + // normalize + logLabel = "test the quaternion normalize function"; + quat.normalize(); + ExpectEq(IsEqualF(0.20203051, quat.x) && IsEqualF(-0.30304575, quat.z), true); + quat = quat.getNormalized(); + ExpectEq(IsEqualF(0.20203051, quat.x) && IsEqualF(-0.30304575, quat.z), true); + // toAxisAngle + logLabel = "test the quaternion toAxisAngle function"; + cc::Vec3 e; + quat.toAxisAngle(&e); + ExpectEq(IsEqualF(0.254000247, e.x) && IsEqualF(-0.38100034, e.z), true); + // lerp + logLabel = "test the quaternion lerp function"; + cc::Quaternion q1(5, 2, 1, 1); + cc::Quaternion q2(10, 0, 0, 1); + cc::Quaternion::lerp(q1, q2, 0.5, &quat); + ExpectEq(IsEqualF(7.5, quat.x) && IsEqualF(0.5, quat.z), true); + // slerp + logLabel = "test the quaternion slerp function"; + q1.set(1, 2, 10, 1); + q2.set(30, 10, 20, 1); + cc::Quaternion::slerp(q1, q2, 0, &quat); + ExpectEq(IsEqualF(1, quat.x) && IsEqualF(10, quat.z), true); + + +} + diff --git a/native/unit-test/src/math_utils_test.cpp b/native/unit-test/src/math_utils_test.cpp new file mode 100644 index 0000000000..229fc9900e --- /dev/null +++ b/native/unit-test/src/math_utils_test.cpp @@ -0,0 +1,44 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gtest/gtest.h" +#include "cocos/math/Vec2.h" +#include "cocos/math/Math.h" +#include "cocos/math/MathUtil.h" +#include "utils.h" +#include +#include + +TEST(mathUtilsTest, test9) { + // smooth + logLabel = "test the MathUtil smooth function"; + float startP = 3; + cc::MathUtil::smooth(&startP, 10, 0.3, 0.7); + ExpectEq(IsEqualF(startP, 5.1), true); + cc::MathUtil::smooth(&startP, 10, 0.6, 0.4, 0.9); + ExpectEq(IsEqualF(startP, 8.039999), true); + // lerp + logLabel = "test the MathUtil lerp function"; + float res = cc::MathUtil::lerp(2, 15, 0.8); + ExpectEq(IsEqualF(res, 12.3999996), true); +} \ No newline at end of file diff --git a/native/unit-test/src/math_vec2_test.cpp b/native/unit-test/src/math_vec2_test.cpp index 2e3bd94a05..12a2e3489a 100644 --- a/native/unit-test/src/math_vec2_test.cpp +++ b/native/unit-test/src/math_vec2_test.cpp @@ -23,9 +23,117 @@ THE SOFTWARE. ****************************************************************************/ #include "gtest/gtest.h" #include "cocos/math/Vec2.h" +#include "utils.h" +#include TEST(mathVec2Test, test1) { - cc::Vec2 vec2(1, 2); + cc::Vec2 vec2(1, 2); - EXPECT_EQ(vec2.isZero(), false); + EXPECT_EQ(vec2.isZero(), false); + // isZero + logLabel = "test whether vec2 is 0"; + ExpectEq(vec2.isZero(), false); + vec2.set(0, 0); + ExpectEq(vec2.isZero(), true); + vec2.set(1, 1); + vec2.setZero(); + ExpectEq(vec2.isZero(), true); + // isOne + logLabel = "test whether vec2 is 1"; + ExpectEq(vec2.isOne(), false); + vec2.set(1, 1); + ExpectEq(vec2.isOne(), true); + vec2.set(1.1f, 1.0f); + ExpectEq(vec2.isOne(), false); + // angle + logLabel = "test the vec2 angle function"; + ExpectEq(IsEqualF(vec2.angle(cc::Vec2(2, 0), cc::Vec2(-2, 0)), M_PI), true); + ExpectEq(IsEqualF(vec2.angle(cc::Vec2(2, 0), cc::Vec2(0, 2)), M_PI * 0.5f), true); + ExpectEq(IsEqualF(vec2.angle(cc::Vec2(2, 0), cc::Vec2(0, -2)), M_PI * 0.5f), true); + vec2.set(2, 0); + ExpectEq(IsEqualF(vec2.getAngle(), 0), true); + ExpectEq(IsEqualF(vec2.getAngle(cc::Vec2(0, 2)), M_PI * 0.5f), true); + cc::Vec2 rtVec = vec2.rotateByAngle(cc::Vec2(0, 0), M_PI * 0.5); + ExpectEq(IsEqualF(rtVec.x, 0) && IsEqualF(rtVec.y, 2), true); + // add + logLabel = "test the vec2 add function"; + vec2.set(3.9, 1.3); + vec2.add(cc::Vec2(2.1f, 1.7f)); + ExpectEq(vec2 == cc::Vec2(6, 3), true); + cc::Vec2::add(cc::Vec2(6, 3), cc::Vec2(2, 1), &vec2); + ExpectEq(vec2 == cc::Vec2(8, 4), true); + // clamp + logLabel = "test the vec2 clamp function"; + vec2.clamp(cc::Vec2(3, 1), cc::Vec2(6, 2)); + ExpectEq(vec2 == cc::Vec2(6, 2), true); + cc::Vec2::clamp(cc::Vec2(6, 2), cc::Vec2(7, 1), cc::Vec2(11, 3), &vec2); + ExpectEq(vec2 == cc::Vec2(7, 2), true); + // distance + logLabel = "test the vec2 distance function"; + cc::Vec2 distVec(10, 2); + float dist = vec2.distance(distVec); + ExpectEq(IsEqualF(dist, 3), true); + dist = vec2.getDistance(distVec); + ExpectEq(IsEqualF(dist, 3), true); + dist = vec2.distanceSquared(distVec); + ExpectEq(IsEqualF(dist, 9), true); + dist = vec2.getDistanceSq(distVec); + ExpectEq(IsEqualF(dist, 9), true); + // dot + logLabel = "test the vec2 dot function"; + cc::Vec2 dotVec2(2, 3); + float dotRes = vec2.dot(dotVec2); + ExpectEq(IsEqualF(dotRes, 20), true); + dotRes = cc::Vec2::dot(vec2, dotVec2); + ExpectEq(IsEqualF(dotRes, 20), true); + // length + logLabel = "test the vec2 length function"; + vec2.set(8, 6); + ExpectEq(IsEqualF(vec2.length(), 10), true); + // normalize + logLabel = "test whether vec2 is normalized"; + vec2.normalize(); + ExpectEq(IsEqualF(vec2.length(), 1.0f), true); + vec2.set(1, 0); + ExpectEq(IsEqualF(vec2.length(), 1.0f), true); + vec2.set(0.345, 123.34); + vec2.normalize(); + ExpectEq(IsEqualF(vec2.length(), 1.0f), true); + // rotate + logLabel = "test whether vec2 rotate function"; + vec2.set(3, 0); + vec2.rotate(cc::Vec2(0, 0), M_PI * 0.5f); + ExpectEq(IsEqualF(vec2.x, 0) && IsEqualF(vec2.y, 3), true); + // subtract + logLabel = "test whether vec2 subtract function"; + vec2.set(4, 5); + vec2.subtract(cc::Vec2(1, 2)); + ExpectEq(vec2 == cc::Vec2(3, 3), true); + cc::Vec2::subtract(cc::Vec2(4, 5), cc::Vec2(1, 2), &vec2); + ExpectEq(vec2 == cc::Vec2(3, 3), true); + // equals + logLabel = "test whether vec2 equals function"; + vec2.set(4, 5); + ExpectEq(vec2.equals(cc::Vec2(4, 5)), true); + ExpectEq(vec2.fuzzyEquals(cc::Vec2(3.2, 4.3), 1), true); + // isLineIntersect + logLabel = "test whether vec2 isLineIntersect function"; + ExpectEq(cc::Vec2::isLineIntersect(cc::Vec2(0, 1), cc::Vec2(3, 1), cc::Vec2(0, 0), cc::Vec2(1, -1)), true); + // isSegmentIntersect + logLabel = "test whether vec2 isSegmentIntersect function"; + ExpectEq(cc::Vec2::isSegmentIntersect(cc::Vec2(0, 1), cc::Vec2(3, 1), cc::Vec2(0, 1), cc::Vec2(1, -1)), true); + // isLineParallel + logLabel = "test whether vec2 isLineParallel function"; + ExpectEq(cc::Vec2::isLineParallel(cc::Vec2(0, 1), cc::Vec2(3, 1), cc::Vec2(0, -1), cc::Vec2(2, -1)), true); + // isLineOverlap + logLabel = "test whether vec2 isLineOverlap function"; + ExpectEq(cc::Vec2::isLineOverlap(cc::Vec2(0, 1), cc::Vec2(3, 1), cc::Vec2(-1, 1), cc::Vec2(0, 1)), true); + // isSegmentOverlap + logLabel = "test whether vec2 isSegmentOverlap function"; + cc::Vec2 s(0, 0); + cc::Vec2 t(0, 0); + ExpectEq(cc::Vec2::isSegmentOverlap(cc::Vec2(0, 1), cc::Vec2(3, 1), cc::Vec2(-1, 1), cc::Vec2(0, 1), &s, &t), true); + // getIntersectPoint + logLabel = "test whether vec2 getIntersectPoint function"; + ExpectEq(cc::Vec2::getIntersectPoint(cc::Vec2(0, 1), cc::Vec2(3, 1), cc::Vec2(0, 1), cc::Vec2(1, -1)) == cc::Vec2(0, 1), true); } diff --git a/native/unit-test/src/math_vec3_test.cpp b/native/unit-test/src/math_vec3_test.cpp new file mode 100644 index 0000000000..5306ead391 --- /dev/null +++ b/native/unit-test/src/math_vec3_test.cpp @@ -0,0 +1,159 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gtest/gtest.h" +#include "cocos/math/Vec3.h" +#include "cocos/math/Mat3.h" +#include "cocos/math/Mat4.h" +#include "cocos/math/Quaternion.h" +#include "utils.h" +#include + +TEST(mathVec3Test, test2) { + cc::Vec3 vec3(1, 2, 3); + // isZero + logLabel = "test whether vec3 is 0"; + ExpectEq(vec3.isZero(), false); + vec3.set(0, 0, 0); + ExpectEq(vec3.isZero(), true); + vec3.set(1, 1, 1); + vec3.setZero(); + ExpectEq(vec3.isZero(), true); + // isOne + logLabel = "test whether vec3 is 1"; + ExpectEq(vec3.isOne(), false); + vec3.set(1, 1, 1); + ExpectEq(vec3.isOne(), true); + vec3.set(1.1f, 1.0f, 1.0f); + ExpectEq(vec3.isOne(), false); + // angle + logLabel = "test the vec3 angle function"; + ExpectEq(IsEqualF(vec3.angle(cc::Vec3(2, 0, 0), cc::Vec3(-2, 0, 0)), M_PI), true); + ExpectEq(IsEqualF(vec3.angle(cc::Vec3(2, 0, 0), cc::Vec3(0, 2, 0)), M_PI * 0.5f), true); + ExpectEq(IsEqualF(vec3.angle(cc::Vec3(2, 0, 0), cc::Vec3(0, -2, 0)), M_PI * 0.5f), true); + // add + logLabel = "test the vec3 add function"; + vec3.set(3.9, 1.3, 0); + vec3.add(cc::Vec3(2.1f, 1.7f, 0)); + ExpectEq(vec3 == cc::Vec3(6, 3, 0), true); + cc::Vec3::add(cc::Vec3(6, 3, 0), cc::Vec3(2, 1, 0), &vec3); + ExpectEq(vec3 == cc::Vec3(8, 4, 0), true); + // clamp + logLabel = "test the vec3 clamp function"; + vec3.clamp(cc::Vec3(3, 1, 0), cc::Vec3(6, 2, 0)); + ExpectEq(vec3 == cc::Vec3(6, 2, 0), true); + cc::Vec3::clamp(cc::Vec3(6, 2, 0), cc::Vec3(7, 1, 0), cc::Vec3(11, 3, 0), &vec3); + ExpectEq(vec3 == cc::Vec3(7, 2, 0), true); + // cross + logLabel = "test the vec3 cross function"; + vec3.set(1, 2, 3); + vec3.cross(cc::Vec3(3, 2, 1)); + ExpectEq(vec3 == cc::Vec3(-4, 8, -4), true); + vec3.set(0, 0, 0); + cc::Vec3::cross(cc::Vec3(1, 2, 3), cc::Vec3(3, 2, 1), &vec3); + ExpectEq(vec3 == cc::Vec3(-4, 8, -4), true); + // multiply + logLabel = "test the vec3 multiply function"; + vec3.set(1, 3, 2); + vec3.multiply(cc::Vec3(4, 7, 9)); + ExpectEq(vec3 == cc::Vec3(4, 21, 18), true); + cc::Vec3::multiply(cc::Vec3(1, 3, 2), cc::Vec3(4, 7, 9), &vec3); + ExpectEq(vec3 == cc::Vec3(4, 21, 18), true); + // transformMat3 + logLabel = "test the vec3 transformMat3 function"; + cc::Mat3 matScale; + matScale.m[0] = 2; + matScale.m[4] = 1; + matScale.m[8] = 2; + vec3.transformMat3(cc::Vec3(1, 1, 2), matScale); + ExpectEq(vec3 == cc::Vec3(2, 1, 4), true); + // transformMat4 + logLabel = "test the vec3 transformMat4 function"; + cc::Mat4 matTranslate; + matTranslate.m[12] = 2; + matTranslate.m[13] = 1; + matTranslate.m[14] = 2; + vec3.transformMat4(cc::Vec3(1, 1, 2), matTranslate); + ExpectEq(vec3 == cc::Vec3(3, 2, 4), true); + // transformQuat + logLabel = "test the vec3 transformQuat function"; + cc::Quaternion quaternion(10, 0, 0, 0); + vec3.transformQuat(quaternion); + ExpectEq(vec3 == cc::Vec3(300, -200, -400), true); + // distance + logLabel = "test the vec3 distance function"; + vec3.set(7, 2, 0); + cc::Vec3 distVec(10, 2, 0); + float dist = vec3.distance(distVec); + ExpectEq(IsEqualF(dist, 3), true); + dist = vec3.distanceSquared(distVec); + ExpectEq(IsEqualF(dist, 9), true); + // dot + logLabel = "test the vec3 dot function"; + cc::Vec3 dotVec3(2, 3, 0); + float dotRes = vec3.dot(dotVec3); + ExpectEq(IsEqualF(dotRes, 20), true); + dotRes = cc::Vec3::dot(vec3, dotVec3); + ExpectEq(IsEqualF(dotRes, 20), true); + // length + logLabel = "test the vec3 length function"; + vec3.set(8, 6, 0); + ExpectEq(IsEqualF(vec3.length(), 10), true); + // normalize + logLabel = "test whether vec3 is normalized"; + vec3.normalize(); + ExpectEq(IsEqualF(vec3.length(), 1.0f), true); + vec3.set(1, 0, 0); + ExpectEq(IsEqualF(vec3.length(), 1.0f), true); + vec3.set(0.345, 123.34, 0); + vec3.normalize(); + ExpectEq(IsEqualF(vec3.length(), 1.0f), true); + vec3.set(10.345, 12.675, 20.231); + vec3 = vec3.getNormalized(); + ExpectEq(IsEqualF(vec3.length(), 1.0f), true); + // subtract + logLabel = "test whether vec3 subtract function"; + vec3.set(4, 5, 0); + vec3.subtract(cc::Vec3(1, 2, 0)); + ExpectEq(vec3 == cc::Vec3(3, 3, 0), true); + cc::Vec3::subtract(cc::Vec3(4, 5, 0), cc::Vec3(1, 2, 0), &vec3); + ExpectEq(vec3 == cc::Vec3(3, 3, 0), true); + // max + logLabel = "test whether vec3 max function"; + cc::Vec3::max(cc::Vec3(10, 1, 5), cc::Vec3(11, 3, 2), &vec3); + ExpectEq(vec3 == cc::Vec3(11, 3, 5), true); + // min + logLabel = "test whether vec3 min function"; + cc::Vec3::min(cc::Vec3(10, 1, 5), cc::Vec3(11, 3, 2), &vec3); + ExpectEq(vec3 == cc::Vec3(10, 1, 2), true); + // smooth + logLabel = "test whether vec3 smooth function"; + vec3.set(2, 0, 0); + vec3.smooth(cc::Vec3(-1, 0, 0), 0.5, 0.5); + ExpectEq(vec3 == cc::Vec3(0.5, 0, 0), true); + // fromColor + logLabel = "test whether vec3 fromColor function"; + vec3 = cc::Vec3::fromColor(255); + ExpectEq(vec3.z == 1, true); +} + diff --git a/native/unit-test/src/math_vec4_test.cpp b/native/unit-test/src/math_vec4_test.cpp new file mode 100644 index 0000000000..7ae41df1b4 --- /dev/null +++ b/native/unit-test/src/math_vec4_test.cpp @@ -0,0 +1,109 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gtest/gtest.h" +#include "cocos/math/Vec4.h" +#include "utils.h" +#include + +TEST(mathVec4Test, test3) { + cc::Vec4 vec4(1, 2, 3, 1); + // isZero + logLabel = "test whether vec4 is 0"; + ExpectEq(vec4.isZero(), false); + vec4.set(0, 0, 0, 0); + ExpectEq(vec4.isZero(), true); + vec4.set(1, 2, 1, 1); + ExpectEq(vec4.isZero(), false); + // isOne + logLabel = "test whether vec4 is 1"; + vec4.set(2, 1, 1, 1); + ExpectEq(vec4.isOne(), false); + vec4.set(1, 1, 1, 1); + ExpectEq(vec4.isOne(), true); + vec4.set(1.1f, 1.0f, 1.0f, 1.0f); + ExpectEq(vec4.isOne(), false); + // angle + logLabel = "test the vec4 angle function"; + ExpectEq(IsEqualF(vec4.angle(cc::Vec4(2, 0, 0, 0), cc::Vec4(-2, 0, 0, 0)), M_PI), true); + ExpectEq(IsEqualF(vec4.angle(cc::Vec4(2, 0, 0, 0), cc::Vec4(0, 2, 0, 0)), M_PI * 0.5f), true); + ExpectEq(IsEqualF(vec4.angle(cc::Vec4(2, 0, 0, 0), cc::Vec4(0, -2, 0, 0)), M_PI * 0.5f), true); + // add + logLabel = "test the vec4 add function"; + vec4.set(3.9, 1.3, 0, 0); + vec4.add(cc::Vec4(2.1f, 1.7f, 0, 0)); + ExpectEq(vec4 == cc::Vec4(6, 3, 0, 0), true); + cc::Vec4::add(cc::Vec4(6, 3, 0, 0), cc::Vec4(2, 1, 0, 1), &vec4); + ExpectEq(vec4 == cc::Vec4(8, 4, 0, 1), true); + // clamp + logLabel = "test the vec4 clamp function"; + vec4.clamp(cc::Vec4(3, 1, 0, 1), cc::Vec4(6, 2, 0, 1)); + ExpectEq(vec4 == cc::Vec4(6, 2, 0, 1), true); + cc::Vec4::clamp(cc::Vec4(6, 2, 0, 1), cc::Vec4(7, 1, 0, 1), cc::Vec4(11, 3, 0, 1), &vec4); + ExpectEq(vec4 == cc::Vec4(7, 2, 0, 1), true); + // distance + logLabel = "test the vec4 distance function"; + vec4.set(7, 2, 0, 1); + cc::Vec4 distVec(10, 2, 0, 1); + float dist = vec4.distance(distVec); + ExpectEq(IsEqualF(dist, 3), true); + dist = vec4.distanceSquared(distVec); + ExpectEq(IsEqualF(dist, 9), true); + // dot + logLabel = "test the vec4 dot function"; + vec4.set(3, 5, 0, 0); + cc::Vec4 dotVec4(2, 3, 0, 0); + float dotRes = vec4.dot(dotVec4); + ExpectEq(IsEqualF(dotRes, 21), true); + dotRes = cc::Vec4::dot(vec4, dotVec4); + ExpectEq(IsEqualF(dotRes, 21), true); + // length + logLabel = "test the vec4 length function"; + vec4.set(8, 6, 0, 0); + ExpectEq(IsEqualF(vec4.length(), 10), true); + // normalize + logLabel = "test whether vec4 is normalized"; + vec4.normalize(); + ExpectEq(IsEqualF(vec4.length(), 1.0f), true); + vec4.set(1, 0, 0, 1); + vec4.normalize(); + ExpectEq(IsEqualF(vec4.length(), 1.0f), true); + vec4.set(0.345, 123.34, 0, 1); + vec4.normalize(); + ExpectEq(IsEqualF(vec4.length(), 1.0f), true); + vec4.set(10.345, 12.675, 20.231, 1); + vec4 = vec4.getNormalized(); + ExpectEq(IsEqualF(vec4.length(), 1.0f), true); + // subtract + logLabel = "test whether vec4 subtract function"; + vec4.set(4, 5, 0, 1); + vec4.subtract(cc::Vec4(1, 2, 0, 1)); + ExpectEq(vec4 == cc::Vec4(3, 3, 0, 0), true); + cc::Vec4::subtract(cc::Vec4(4, 5, 0, 1), cc::Vec4(1, 2, 0, 1), &vec4); + ExpectEq(vec4 == cc::Vec4(3, 3, 0, 0), true); + // fromColor + logLabel = "test whether vec3 fromColor function"; + vec4 = cc::Vec4::fromColor(255); + ExpectEq(vec4.w == 1, true); +} + diff --git a/native/unit-test/src/math_vertex_test.cpp b/native/unit-test/src/math_vertex_test.cpp new file mode 100644 index 0000000000..8d5e800b58 --- /dev/null +++ b/native/unit-test/src/math_vertex_test.cpp @@ -0,0 +1,54 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#include "gtest/gtest.h" +#include "cocos/math/Vec2.h" +#include "cocos/math/Math.h" +#include "cocos/math/Vertex.h" +#include "utils.h" +#include +#include + +TEST(mathVertexTest, test8) { + // ccVertexLineToPolygon + logLabel = "test the vertex ccVertexLineToPolygon function"; + cc::Vec2 points[4]; + cc::Vec2 p1(1, 1); + points[0] = p1; + cc::Vec2 p2(10, 10); + points[1] = p2; + cc::Vec2 p3(0, -10); + points[2] = p3; + cc::Vec2 p4(20, 70); + points[3] = p4; + cc::Vec2 outP[6]; + cc::ccVertexLineToPolygon(points, 1, outP, 0, 5); + ExpectEq(IsEqualF(outP[5].x, -0.468942523) && IsEqualF(outP[5].y, -9.82652664), true); + // ccVertexLineIntersect + logLabel = "test the vertex ccVertexLineIntersect function"; + float res; + bool isFind = cc::ccVertexLineIntersect(5, 5, 1, 10, 12, 20, 12, 40, &res); + ExpectEq(isFind, true); + +} + diff --git a/native/unit-test/src/utils.h b/native/unit-test/src/utils.h new file mode 100644 index 0000000000..de56c7fe26 --- /dev/null +++ b/native/unit-test/src/utils.h @@ -0,0 +1,32 @@ +/**************************************************************************** +Copyright (c) 2021 Xiamen Yaji Software Co., Ltd. + +http://www.cocos2d-x.org + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +****************************************************************************/ +#pragma once +#include "cocos/math/Math.h" +static std::string logLabel; +static bool IsEqualF(float l, float r) { + return cc::math::IsEqualF(l, r); +}; +static void ExpectEq(bool lf, bool rt) { + EXPECT_EQ(lf, rt) << "ERROR in: " < Date: Wed, 14 Apr 2021 13:35:59 +0800 Subject: [PATCH 235/270] [ci skip][AUTO]: updating jsbinding automatically: 77e6f2b0 (#3398) Co-authored-by: cocos-robot --- .../cocos/bindings/auto/jsb_pipeline_auto.cpp | 20 +++++++++++++++++++ native/templates/cocos2dx_files.json | 1 + 2 files changed, 21 insertions(+) diff --git a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp index 50ee08abc4..8502adffdc 100644 --- a/native/cocos/bindings/auto/jsb_pipeline_auto.cpp +++ b/native/cocos/bindings/auto/jsb_pipeline_auto.cpp @@ -2044,6 +2044,25 @@ static bool js_pipeline_RenderPipeline_destroy(se::State& s) } SE_BIND_FUNC(js_pipeline_RenderPipeline_destroy) +static bool js_pipeline_RenderPipeline_getConstantMacros(se::State& s) +{ + cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_pipeline_RenderPipeline_getConstantMacros : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const cc::String& result = cobj->getConstantMacros(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_pipeline_RenderPipeline_getConstantMacros : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_PROP_GET(js_pipeline_RenderPipeline_getConstantMacros) + static bool js_pipeline_RenderPipeline_getDescriptorSet(se::State& s) { cc::pipeline::RenderPipeline* cobj = SE_THIS_OBJECT(s); @@ -2229,6 +2248,7 @@ bool js_register_pipeline_RenderPipeline(se::Object* obj) cls->defineProperty("descriptorSet", _SE(js_pipeline_RenderPipeline_getDescriptorSet), nullptr); cls->defineProperty("descriptorSetLayout", _SE(js_pipeline_RenderPipeline_getDescriptorSetLayout), nullptr); + cls->defineProperty("constantMacros", _SE(js_pipeline_RenderPipeline_getConstantMacros), nullptr); cls->defineFunction("activate", _SE(js_pipeline_RenderPipeline_activate)); cls->defineFunction("destroy", _SE(js_pipeline_RenderPipeline_destroy)); cls->defineFunction("getDevice", _SE(js_pipeline_RenderPipeline_getDevice)); diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 72b6ed7eeb..268f39322e 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -1009,6 +1009,7 @@ "docs/imgs/NDK.png", "docs/imgs/auto-fix.gif", "docs/imgs/auto-format.gif", + "docs/imgs/clangd.png", "docs/imgs/compile_commands.png", "docs/imgs/extensions.png", "docs/imgs/format.png", From 236031ca5861fd28497741e9724283dc6c0fb0bd Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Wed, 14 Apr 2021 13:46:25 +0800 Subject: [PATCH 236/270] [ci skip][AUTO]: updating jsbinding automatically: f618c532 (#3401) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 268f39322e..a25ef6f448 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -18508,7 +18508,16 @@ "unit-test/README", "unit-test/src/CMakeLists.txt", "unit-test/src/main.cpp", - "unit-test/src/math_vec2_test.cpp" + "unit-test/src/math_geometry_test.cpp", + "unit-test/src/math_mat3_test.cpp", + "unit-test/src/math_mat4_test.cpp", + "unit-test/src/math_quaternion_test.cpp", + "unit-test/src/math_utils_test.cpp", + "unit-test/src/math_vec2_test.cpp", + "unit-test/src/math_vec3_test.cpp", + "unit-test/src/math_vec4_test.cpp", + "unit-test/src/math_vertex_test.cpp", + "unit-test/src/utils.h" ], "js": [ "cocos/bindings/auto/jsb_audio_auto.cpp", From c2d51e9507fe02250fb78734c63283696c723a44 Mon Sep 17 00:00:00 2001 From: PP Date: Wed, 14 Apr 2021 15:39:38 +0800 Subject: [PATCH 237/270] fix simulator compiling on Win32 (#3397) --- .../runtime-src/Classes/ide-support/RuntimeJsImpl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/native/tools/simulator/frameworks/runtime-src/Classes/ide-support/RuntimeJsImpl.cpp b/native/tools/simulator/frameworks/runtime-src/Classes/ide-support/RuntimeJsImpl.cpp index c17129f719..228a14afb0 100755 --- a/native/tools/simulator/frameworks/runtime-src/Classes/ide-support/RuntimeJsImpl.cpp +++ b/native/tools/simulator/frameworks/runtime-src/Classes/ide-support/RuntimeJsImpl.cpp @@ -29,6 +29,12 @@ // // +// NOTE: fix the conflict typedef 'byte' between C++17 and one Windows header named 'rpcndr.h' +// reference: https://studiofreya.com/2018/01/06/visual-studio-2017-with-cpp17-and-boost/#stdbyte-ambiguous-symbol-and-rpcndr.h +#ifdef WIN32 +#define _HAS_STD_BYTE 0 +#endif + #include "RuntimeJsImpl.h" #if (CC_CODE_IDE_DEBUG_SUPPORT > 0) From f62ee015668435f267fff2327a1e9bdd54d5e34d Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Wed, 14 Apr 2021 16:34:48 +0800 Subject: [PATCH 238/270] fix gles2 by: samplers -> samplerTextures (#3402) --- .../renderer/gfx-gles2/GLES2Commands.cpp | 107 +++--- .../renderer/gfx-gles2/GLES2GPUObjects.h | 352 +++++++++--------- .../cocos/renderer/gfx-gles2/GLES2Shader.cpp | 8 +- 3 files changed, 231 insertions(+), 236 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index af0d71bc66..9d73adc187 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1009,7 +1009,6 @@ void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { // create uniform blocks if (!gpuShader->blocks.empty()) { - gpuShader->glBlocks.resize(gpuShader->blocks.size()); for (size_t i = 0; i < gpuShader->glBlocks.size(); ++i) { @@ -1042,18 +1041,18 @@ void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { } // if // create uniform samplers - if (!gpuShader->samplers.empty()) { - gpuShader->glSamplers.resize(gpuShader->samplers.size()); + if (!gpuShader->samplerTextures.empty()) { + gpuShader->glSamplerTextures.resize(gpuShader->samplerTextures.size()); - for (size_t i = 0; i < gpuShader->glSamplers.size(); ++i) { - UniformSampler & sampler = gpuShader->samplers[i]; - GLES2GPUUniformSampler &gpuSampler = gpuShader->glSamplers[i]; - gpuSampler.set = sampler.set; - gpuSampler.binding = sampler.binding; - gpuSampler.name = sampler.name; - gpuSampler.count = sampler.count; - gpuSampler.glType = mapGLType(gpuSampler.type); - gpuSampler.glLoc = -1; + for (size_t i = 0; i < gpuShader->glSamplerTextures.size(); ++i) { + UniformSamplerTexture & samplerTexture = gpuShader->samplerTextures[i]; + GLES2GPUUniformSamplerTexture &gpuSamplerTexture = gpuShader->glSamplerTextures[i]; + gpuSamplerTexture.set = samplerTexture.set; + gpuSamplerTexture.binding = samplerTexture.binding; + gpuSamplerTexture.name = samplerTexture.name; + gpuSamplerTexture.count = samplerTexture.count; + gpuSamplerTexture.glType = mapGLType(samplerTexture.type); + gpuSamplerTexture.glLoc = -1; } } @@ -1095,10 +1094,10 @@ void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { } // for // texture unit index mapping optimization - vector glActiveSamplers; - vector glActiveSamplerLocations; - const BindingMappingInfo & bindingMappingInfo = device->bindingMappingInfo(); - unordered_map & texUnitCacheMap = device->stateCache()->texUnitCacheMap; + vector glActiveSamplerTextures; + vector glActiveSamplerLocations; + const BindingMappingInfo & bindingMappingInfo = device->bindingMappingInfo(); + unordered_map & texUnitCacheMap = device->stateCache()->texUnitCacheMap; // sampler bindings in the flexible set comes strictly after buffer bindings // so we need to subtract the buffer count for these samplers @@ -1111,51 +1110,51 @@ void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { uint arrayOffset = 0U; - for (uint i = 0U; i < gpuShader->samplers.size(); i++) { - const UniformSampler &sampler = gpuShader->samplers[i]; - GLint glLoc = glGetUniformLocation(gpuShader->glProgram, sampler.name.c_str()); + for (uint i = 0U; i < gpuShader->samplerTextures.size(); i++) { + const UniformSamplerTexture &samplerTexture = gpuShader->samplerTextures[i]; + GLint glLoc = glGetUniformLocation(gpuShader->glProgram, samplerTexture.name.c_str()); if (glLoc >= 0) { - glActiveSamplers.push_back(gpuShader->glSamplers[i]); + glActiveSamplerTextures.push_back(gpuShader->glSamplerTextures[i]); glActiveSamplerLocations.push_back(glLoc); } - if (!texUnitCacheMap.count(sampler.name)) { - uint binding = sampler.binding + bindingMappingInfo.samplerOffsets[sampler.set] + arrayOffset; - if (sampler.set == bindingMappingInfo.flexibleSet) binding -= flexibleSetBaseOffset; - texUnitCacheMap[sampler.name] = binding % device->getCapabilities().maxTextureUnits; - arrayOffset += sampler.count - 1; + if (!texUnitCacheMap.count(samplerTexture.name)) { + uint binding = samplerTexture.binding + bindingMappingInfo.samplerOffsets[samplerTexture.set] + arrayOffset; + if (samplerTexture.set == bindingMappingInfo.flexibleSet) binding -= flexibleSetBaseOffset; + texUnitCacheMap[samplerTexture.name] = binding % device->getCapabilities().maxTextureUnits; + arrayOffset += samplerTexture.count - 1; } } - if (!glActiveSamplers.empty()) { + if (!glActiveSamplerTextures.empty()) { vector usedTexUnits(device->getCapabilities().maxTextureUnits, false); // try to reuse existing mappings first - for (uint i = 0U; i < glActiveSamplers.size(); i++) { - GLES2GPUUniformSampler &glSampler = glActiveSamplers[i]; + for (uint i = 0U; i < glActiveSamplerTextures.size(); i++) { + GLES2GPUUniformSamplerTexture &glSamplerTexture = glActiveSamplerTextures[i]; - if (texUnitCacheMap.count(glSampler.name)) { - uint cachedUnit = texUnitCacheMap[glSampler.name]; - glSampler.glLoc = glActiveSamplerLocations[i]; - for (uint t = 0U, offset = 0U; t < glSampler.count; t++) { + if (texUnitCacheMap.count(glSamplerTexture.name)) { + uint cachedUnit = texUnitCacheMap[glSamplerTexture.name]; + glSamplerTexture.glLoc = glActiveSamplerLocations[i]; + for (uint t = 0U, offset = 0U; t < glSamplerTexture.count; t++) { while (usedTexUnits[cachedUnit + t + offset]) offset++; - glSampler.units.push_back(cachedUnit + t + offset); + glSamplerTexture.units.push_back(cachedUnit + t + offset); usedTexUnits[cachedUnit + t + offset] = true; } } } // fill in the rest sequencially uint unitIdx = 0U; - for (uint i = 0U; i < glActiveSamplers.size(); i++) { - GLES2GPUUniformSampler &glSampler = glActiveSamplers[i]; + for (uint i = 0U; i < glActiveSamplerTextures.size(); i++) { + GLES2GPUUniformSamplerTexture &glSamplerTexture = glActiveSamplerTextures[i]; - if (glSampler.glLoc < 0) { - glSampler.glLoc = glActiveSamplerLocations[i]; - for (uint t = 0U; t < glSampler.count; t++) { + if (glSamplerTexture.glLoc < 0) { + glSamplerTexture.glLoc = glActiveSamplerLocations[i]; + for (uint t = 0U; t < glSamplerTexture.count; t++) { while (usedTexUnits[unitIdx + t]) unitIdx++; - glSampler.units.push_back(unitIdx + t); + glSamplerTexture.units.push_back(unitIdx + t); usedTexUnits[unitIdx + t] = true; } - if (!texUnitCacheMap.count(glSampler.name)) { - texUnitCacheMap[glSampler.name] = unitIdx; + if (!texUnitCacheMap.count(glSamplerTexture.name)) { + texUnitCacheMap[glSamplerTexture.name] = unitIdx; } } } @@ -1164,8 +1163,8 @@ void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GL_CHECK(glUseProgram(gpuShader->glProgram)); } - for (auto &gpuSampler : glActiveSamplers) { - GL_CHECK(glUniform1iv(gpuSampler.glLoc, (GLsizei)gpuSampler.units.size(), gpuSampler.units.data())); + for (auto &gpuSamplerTexture : glActiveSamplerTextures) { + GL_CHECK(glUniform1iv(gpuSamplerTexture.glLoc, (GLsizei)gpuSamplerTexture.units.size(), gpuSamplerTexture.units.data())); } if (device->stateCache()->glProgram != gpuShader->glProgram) { @@ -1182,7 +1181,7 @@ void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { gpuShader->glBlocks.pop_back(); } } - gpuShader->glSamplers = glActiveSamplers; + gpuShader->glSamplerTextures = glActiveSamplerTextures; } void cmdFuncGLES2DestroyShader(GLES2Device *device, GLES2GPUShader *gpuShader) { @@ -1199,7 +1198,6 @@ void cmdFuncGLES2DestroyShader(GLES2Device *device, GLES2GPUShader *gpuShader) { } void cmdFuncGLES2CreateInputAssembler(GLES2Device *device, GLES2GPUInputAssembler *gpuInputAssembler) { - if (gpuInputAssembler->gpuIndexBuffer) { switch (gpuInputAssembler->gpuIndexBuffer->stride) { case 1: gpuInputAssembler->glIndexType = GL_UNSIGNED_BYTE; break; @@ -1715,7 +1713,6 @@ void cmdFuncGLES2BindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y || cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z || cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { - GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, gpuPipelineState->bs.blendColor.y, gpuPipelineState->bs.blendColor.z, @@ -1764,7 +1761,6 @@ void cmdFuncGLES2BindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli // bind descriptor sets if (gpuPipelineState && gpuPipelineState->gpuShader && gpuPipelineState->gpuPipelineLayout) { - size_t blockLen = gpuPipelineState->gpuShader->glBlocks.size(); const vector> &dynamicOffsetIndices = gpuPipelineState->gpuPipelineLayout->dynamicOffsetIndices; uint8_t * uniformBuffBase = nullptr; @@ -1899,22 +1895,22 @@ void cmdFuncGLES2BindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } } - size_t samplerLen = gpuPipelineState->gpuShader->glSamplers.size(); + size_t samplerLen = gpuPipelineState->gpuShader->glSamplerTextures.size(); for (size_t j = 0; j < samplerLen; j++) { - const GLES2GPUUniformSampler &glSampler = gpuPipelineState->gpuShader->glSamplers[j]; + const GLES2GPUUniformSamplerTexture &glSamplerTexture = gpuPipelineState->gpuShader->glSamplerTextures[j]; - CCASSERT(gpuDescriptorSets.size() > glSampler.set, "Invalid set index"); - const GLES2GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glSampler.set]; - const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSampler.binding); + CCASSERT(gpuDescriptorSets.size() > glSamplerTexture.set, "Invalid set index"); + const GLES2GPUDescriptorSet *gpuDescriptorSet = gpuDescriptorSets[glSamplerTexture.set]; + const uint descriptorIndex = gpuDescriptorSet->descriptorIndices->at(glSamplerTexture.binding); const GLES2GPUDescriptor * gpuDescriptor = &gpuDescriptorSet->gpuDescriptors[descriptorIndex]; - for (size_t u = 0; u < glSampler.units.size(); u++, gpuDescriptor++) { - uint unit = static_cast(glSampler.units[u]); + for (size_t u = 0; u < glSamplerTexture.units.size(); u++, gpuDescriptor++) { + uint unit = static_cast(glSamplerTexture.units[u]); if (!gpuDescriptor->gpuTexture || !gpuDescriptor->gpuSampler) { CC_LOG_ERROR( "Sampler binding '%s' at set %d binding %d index %d is not bounded", - glSampler.name.c_str(), glSampler.set, glSampler.binding, u); + glSamplerTexture.name.c_str(), glSamplerTexture.set, glSamplerTexture.binding, u); continue; } @@ -2268,7 +2264,6 @@ void cmdFuncGLES2Draw(GLES2Device *device, const DrawInfo &drawInfo) { if (gpuInputAssembler && gpuPipelineState) { if (!gpuInputAssembler->gpuIndirectBuffer) { - if (gpuInputAssembler->gpuIndexBuffer) { if (drawInfo.indexCount > 0) { uint8_t *offset = nullptr; diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index 35b733f728..7c9716e68f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -27,23 +27,23 @@ #include +#include "GLES2Wrangler.h" #include "base/Object.h" #include "gfx-base/GFXDef.h" -#include "GLES2Wrangler.h" namespace cc { namespace gfx { class GLES2GPUBuffer final : public Object { public: - BufferUsage usage = BufferUsage::NONE; - MemoryUsage memUsage = MemoryUsage::NONE; - uint size = 0; - uint stride = 0; - uint count = 0; - GLenum glTarget = 0; - GLuint glBuffer = 0; - uint8_t *buffer = nullptr; + BufferUsage usage = BufferUsage::NONE; + MemoryUsage memUsage = MemoryUsage::NONE; + uint size = 0; + uint stride = 0; + uint count = 0; + GLenum glTarget = 0; + GLuint glBuffer = 0; + uint8_t * buffer = nullptr; DrawInfoList indirects; }; using GLES2GPUBufferList = vector; @@ -51,76 +51,76 @@ using GLES2GPUBufferList = vector; class GLES2GPUBufferView final : public Object { public: GLES2GPUBuffer *gpuBuffer = nullptr; - uint offset = 0U; - uint range = 0U; + uint offset = 0U; + uint range = 0U; }; class GLES2GPUTexture final : public Object { public: - TextureType type = TextureType::TEX2D; - Format format = Format::UNKNOWN; - TextureUsage usage = TextureUsageBit::NONE; - uint width = 0; - uint height = 0; - uint depth = 1; - uint size = 0; - uint arrayLayer = 1; - uint mipLevel = 1; - SampleCount samples = SampleCount::X1; - TextureFlags flags = TextureFlagBit::NONE; - bool isPowerOf2 = false; - GLenum glTarget = 0; - GLenum glInternelFmt = 0; - GLenum glFormat = 0; - GLenum glType = 0; - GLenum glUsage = 0; - GLuint glTexture = 0; - GLenum glWrapS = 0; - GLenum glWrapT = 0; - GLenum glMinFilter = 0; - GLenum glMagFilter = 0; + TextureType type = TextureType::TEX2D; + Format format = Format::UNKNOWN; + TextureUsage usage = TextureUsageBit::NONE; + uint width = 0; + uint height = 0; + uint depth = 1; + uint size = 0; + uint arrayLayer = 1; + uint mipLevel = 1; + SampleCount samples = SampleCount::X1; + TextureFlags flags = TextureFlagBit::NONE; + bool isPowerOf2 = false; + GLenum glTarget = 0; + GLenum glInternelFmt = 0; + GLenum glFormat = 0; + GLenum glType = 0; + GLenum glUsage = 0; + GLuint glTexture = 0; + GLenum glWrapS = 0; + GLenum glWrapT = 0; + GLenum glMinFilter = 0; + GLenum glMagFilter = 0; }; using GLES2GPUTextureList = vector; class GLES2GPUSampler final : public Object { public: - Filter minFilter = Filter::NONE; - Filter magFilter = Filter::NONE; - Filter mipFilter = Filter::NONE; - Address addressU = Address::CLAMP; - Address addressV = Address::CLAMP; - Address addressW = Address::CLAMP; - GLenum glMinFilter = 0; - GLenum glMagFilter = 0; - GLenum glWrapS = 0; - GLenum glWrapT = 0; - GLenum glWrapR = 0; + Filter minFilter = Filter::NONE; + Filter magFilter = Filter::NONE; + Filter mipFilter = Filter::NONE; + Address addressU = Address::CLAMP; + Address addressV = Address::CLAMP; + Address addressW = Address::CLAMP; + GLenum glMinFilter = 0; + GLenum glMagFilter = 0; + GLenum glWrapS = 0; + GLenum glWrapT = 0; + GLenum glWrapR = 0; }; struct GLES2GPUInput final { - uint binding = 0; + uint binding = 0; String name; - Type type = Type::UNKNOWN; - uint stride = 0; - uint count = 0; - uint size = 0; + Type type = Type::UNKNOWN; + uint stride = 0; + uint count = 0; + uint size = 0; GLenum glType = 0; - GLint glLoc = -1; + GLint glLoc = -1; }; using GLES2GPUInputList = vector; struct GLES2GPUUniform final { - uint binding = GFX_INVALID_BINDING; - String name; - Type type = Type::UNKNOWN; - uint stride = 0; - uint count = 0; - uint size = 0; - uint offset = 0; - GLenum glType = 0; - GLint glLoc = -1; - uint8_t *buff = nullptr; + uint binding = GFX_INVALID_BINDING; + String name; + Type type = Type::UNKNOWN; + uint stride = 0; + uint count = 0; + uint size = 0; + uint offset = 0; + GLenum glType = 0; + GLint glLoc = -1; + uint8_t *buff = nullptr; GLES2GPUUniform() = default; GLES2GPUUniform(const GLES2GPUUniform &rhs) { @@ -130,13 +130,13 @@ struct GLES2GPUUniform final { GLES2GPUUniform &operator=(const GLES2GPUUniform &rhs) { if (this != &rhs) { binding = rhs.binding; - name = rhs.name; - type = rhs.type; - stride = rhs.stride; - count = rhs.count; - offset = rhs.offset; - glType = rhs.glType; - glLoc = rhs.glLoc; + name = rhs.name; + type = rhs.type; + stride = rhs.stride; + count = rhs.count; + offset = rhs.offset; + glType = rhs.glType; + glLoc = rhs.glLoc; if (size != rhs.size) { size = rhs.size; CC_SAFE_FREE(buff); @@ -144,7 +144,7 @@ struct GLES2GPUUniform final { } if (buff && rhs.buff) { memcpy(buff, rhs.buff, size); -} + } } return *this; } @@ -156,78 +156,78 @@ struct GLES2GPUUniform final { using GLES2GPUUniformList = vector; struct GLES2GPUUniformBlock final { - uint set = 0; - uint binding = 0; - uint idx = 0; - String name; - uint size = 0; + uint set = 0; + uint binding = 0; + uint idx = 0; + String name; + uint size = 0; GLES2GPUUniformList glUniforms; GLES2GPUUniformList glActiveUniforms; }; using GLES2GPUUniformBlockList = vector; -struct GLES2GPUUniformSampler final { - uint set = 0; - uint binding = 0; +struct GLES2GPUUniformSamplerTexture final { + uint set = 0; + uint binding = 0; String name; - Type type = Type::UNKNOWN; - uint count = 0U; + Type type = Type::UNKNOWN; + uint count = 0U; vector units; - GLenum glType = 0; - GLint glLoc = -1; + GLenum glType = 0; + GLint glLoc = -1; }; -using GLES2GPUUniformSamplerList = vector; +using GLES2GPUUniformSamplerTextureList = vector; struct GLES2GPUShaderStage final { GLES2GPUShaderStage(ShaderStageFlagBit t, String s, GLuint shader = 0) : type(t), source(std::move(std::move(s))), glShader(shader) {} ShaderStageFlagBit type; - String source; - GLuint glShader = 0; + String source; + GLuint glShader = 0; }; using GLES2GPUShaderStageList = vector; class GLES2GPUShader final : public Object { public: - String name; - UniformBlockList blocks; - UniformSamplerList samplers; - GLuint glProgram = 0; - GLES2GPUShaderStageList gpuStages; - GLES2GPUInputList glInputs; - GLES2GPUUniformBlockList glBlocks; - GLES2GPUUniformSamplerList glSamplers; + String name; + UniformBlockList blocks; + UniformSamplerTextureList samplerTextures; + GLuint glProgram = 0; + GLES2GPUShaderStageList gpuStages; + GLES2GPUInputList glInputs; + GLES2GPUUniformBlockList glBlocks; + GLES2GPUUniformSamplerTextureList glSamplerTextures; }; struct GLES2GPUAttribute final { String name; - GLuint glBuffer = 0; - GLenum glType = 0; - uint size = 0; - uint count = 0; - uint stride = 1; - uint componentCount = 1; - bool isNormalized = false; - bool isInstanced = false; - uint offset = 0; + GLuint glBuffer = 0; + GLenum glType = 0; + uint size = 0; + uint count = 0; + uint stride = 1; + uint componentCount = 1; + bool isNormalized = false; + bool isInstanced = false; + uint offset = 0; }; using GLES2GPUAttributeList = vector; class GLES2GPUInputAssembler final : public Object { public: - AttributeList attributes; - GLES2GPUBufferList gpuVertexBuffers; - GLES2GPUBuffer *gpuIndexBuffer = nullptr; - GLES2GPUBuffer *gpuIndirectBuffer = nullptr; + AttributeList attributes; + GLES2GPUBufferList gpuVertexBuffers; + GLES2GPUBuffer * gpuIndexBuffer = nullptr; + GLES2GPUBuffer * gpuIndirectBuffer = nullptr; GLES2GPUAttributeList glAttribs; - GLenum glIndexType = 0; - map glVAOs; + GLenum glIndexType = 0; + map glVAOs; }; class GLES2GPURenderPass final : public Object { public: - ColorAttachmentList colorAttachments; + ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; }; @@ -235,19 +235,19 @@ class GLES2GPUFramebuffer final : public Object { public: GLES2GPURenderPass *gpuRenderPass = nullptr; GLES2GPUTextureList gpuColorTextures; - GLES2GPUTexture *gpuDepthStencilTexture = nullptr; - GLuint glFramebuffer = 0; - bool isOffscreen = false; + GLES2GPUTexture * gpuDepthStencilTexture = nullptr; + GLuint glFramebuffer = 0; + bool isOffscreen = false; }; class GLES2GPUDescriptorSetLayout final : public Object { public: DescriptorSetLayoutBindingList bindings; - vector dynamicBindings; + vector dynamicBindings; vector bindingIndices; vector descriptorIndices; - uint descriptorCount = 0U; + uint descriptorCount = 0U; }; using GLES2GPUDescriptorSetLayoutList = vector; @@ -257,37 +257,37 @@ public: // helper storages vector> dynamicOffsetIndices; - vector dynamicOffsetOffsets; - vector dynamicOffsets; - uint dynamicOffsetCount; + vector dynamicOffsetOffsets; + vector dynamicOffsets; + uint dynamicOffsetCount; }; class GLES2GPUPipelineState final : public Object { public: - GLenum glPrimitive = GL_TRIANGLES; - GLES2GPUShader *gpuShader = nullptr; - RasterizerState rs; - DepthStencilState dss; - BlendState bs; - DynamicStateList dynamicStates; - GLES2GPUPipelineLayout *gpuLayout = nullptr; - GLES2GPURenderPass *gpuRenderPass = nullptr; + GLenum glPrimitive = GL_TRIANGLES; + GLES2GPUShader * gpuShader = nullptr; + RasterizerState rs; + DepthStencilState dss; + BlendState bs; + DynamicStateList dynamicStates; + GLES2GPUPipelineLayout *gpuLayout = nullptr; + GLES2GPURenderPass * gpuRenderPass = nullptr; GLES2GPUPipelineLayout *gpuPipelineLayout = nullptr; }; struct GLES2GPUDescriptor final { - DescriptorType type = DescriptorType::UNKNOWN; - GLES2GPUBuffer *gpuBuffer = nullptr; + DescriptorType type = DescriptorType::UNKNOWN; + GLES2GPUBuffer * gpuBuffer = nullptr; GLES2GPUBufferView *gpuBufferView = nullptr; - GLES2GPUTexture *gpuTexture = nullptr; - GLES2GPUSampler *gpuSampler = nullptr; + GLES2GPUTexture * gpuTexture = nullptr; + GLES2GPUSampler * gpuSampler = nullptr; }; using GLES2GPUDescriptorList = vector; class GLES2GPUDescriptorSet final : public Object { public: GLES2GPUDescriptorList gpuDescriptors; - const vector *descriptorIndices = nullptr; + const vector * descriptorIndices = nullptr; }; class GLES2GPUFence final : public Object { @@ -295,38 +295,38 @@ public: }; struct GLES2ObjectCache final { - size_t numClearColors = 0U; - GLES2GPURenderPass *gpuRenderPass = nullptr; - GLES2GPUFramebuffer *gpuFramebuffer = nullptr; - GLES2GPUPipelineState *gpuPipelineState = nullptr; + size_t numClearColors = 0U; + GLES2GPURenderPass * gpuRenderPass = nullptr; + GLES2GPUFramebuffer * gpuFramebuffer = nullptr; + GLES2GPUPipelineState * gpuPipelineState = nullptr; GLES2GPUInputAssembler *gpuInputAssembler = nullptr; - bool reverseCW = false; - GLenum glPrimitive = 0; - GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; + bool reverseCW = false; + GLenum glPrimitive = 0; + GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; }; class GLES2GPUStateCache final : public Object { public: - GLuint glArrayBuffer = 0; - GLuint glElementArrayBuffer = 0; - GLuint glUniformBuffer = 0; - GLuint glVAO = 0; - uint texUint = 0; - vector glTextures; - GLuint glProgram = 0; - vector glEnabledAttribLocs; - vector glCurrentAttribLocs; - GLuint glFramebuffer = 0; - GLuint glReadFBO = 0; - Viewport viewport; - Rect scissor; - RasterizerState rs; - DepthStencilState dss; - BlendState bs; - bool isCullFaceEnabled = true; - bool isStencilTestEnabled = false; + GLuint glArrayBuffer = 0; + GLuint glElementArrayBuffer = 0; + GLuint glUniformBuffer = 0; + GLuint glVAO = 0; + uint texUint = 0; + vector glTextures; + GLuint glProgram = 0; + vector glEnabledAttribLocs; + vector glCurrentAttribLocs; + GLuint glFramebuffer = 0; + GLuint glReadFBO = 0; + Viewport viewport; + Rect scissor; + RasterizerState rs; + DepthStencilState dss; + BlendState bs; + bool isCullFaceEnabled = true; + bool isStencilTestEnabled = false; unordered_map texUnitCacheMap; - GLES2ObjectCache gfxStateCache; + GLES2ObjectCache gfxStateCache; void initialize(size_t texUnits, size_t vertexAttributes) { glTextures.resize(texUnits, 0U); @@ -335,37 +335,37 @@ public: } void reset() { - glArrayBuffer = 0; + glArrayBuffer = 0; glElementArrayBuffer = 0; - glUniformBuffer = 0; - glVAO = 0; - texUint = 0; + glUniformBuffer = 0; + glVAO = 0; + texUint = 0; glTextures.assign(glTextures.size(), 0U); glProgram = 0; glEnabledAttribLocs.assign(glEnabledAttribLocs.size(), false); glCurrentAttribLocs.assign(glCurrentAttribLocs.size(), false); - glFramebuffer = 0; - glReadFBO = 0; - isCullFaceEnabled = true; + glFramebuffer = 0; + glReadFBO = 0; + isCullFaceEnabled = true; isStencilTestEnabled = false; viewport = Viewport(); - scissor = Rect(); - rs = RasterizerState(); - dss = DepthStencilState(); - bs = BlendState(); + scissor = Rect(); + rs = RasterizerState(); + dss = DepthStencilState(); + bs = BlendState(); - gfxStateCache.gpuPipelineState = nullptr; - gfxStateCache.numClearColors = 0U; - gfxStateCache.gpuRenderPass = nullptr; - gfxStateCache.gpuFramebuffer = nullptr; + gfxStateCache.gpuPipelineState = nullptr; + gfxStateCache.numClearColors = 0U; + gfxStateCache.gpuRenderPass = nullptr; + gfxStateCache.gpuFramebuffer = nullptr; gfxStateCache.gpuInputAssembler = nullptr; - gfxStateCache.glPrimitive = 0U; - gfxStateCache.reverseCW = false; + gfxStateCache.glPrimitive = 0U; + gfxStateCache.reverseCW = false; } }; -constexpr size_t CHUNK_SIZE = 16 * 1024 * 1024; // 16M per block by default +constexpr size_t CHUNK_SIZE = 16 * 1024 * 1024; // 16M per block by default class GLES2GPUStagingBufferPool final : public Object { public: ~GLES2GPUStagingBufferPool() override { @@ -376,8 +376,8 @@ public: } uint8_t *alloc(size_t size) { - size_t bufferCount = _pool.size(); - Buffer *buffer = nullptr; + size_t bufferCount = _pool.size(); + Buffer *buffer = nullptr; for (size_t idx = 0U; idx < bufferCount; idx++) { Buffer *cur = &_pool[idx]; if (CHUNK_SIZE - cur->curOffset >= size) { @@ -387,7 +387,7 @@ public: } if (!buffer) { _pool.resize(bufferCount + 1); - buffer = &_pool.back(); + buffer = &_pool.back(); buffer->mappedData = static_cast(CC_MALLOC(CHUNK_SIZE)); } uint8_t *data = buffer->mappedData + buffer->curOffset; @@ -404,7 +404,7 @@ public: private: struct Buffer { uint8_t *mappedData = nullptr; - size_t curOffset = 0U; + size_t curOffset = 0U; }; vector _pool; }; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp index e299442f2d..15e0b9963b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Shader.cpp @@ -39,10 +39,10 @@ GLES2Shader::~GLES2Shader() { } void GLES2Shader::doInit(const ShaderInfo & /*info*/) { - _gpuShader = CC_NEW(GLES2GPUShader); - _gpuShader->name = _name; - _gpuShader->blocks = _blocks; - _gpuShader->samplers = _samplers; + _gpuShader = CC_NEW(GLES2GPUShader); + _gpuShader->name = _name; + _gpuShader->blocks = _blocks; + _gpuShader->samplerTextures = _samplerTextures; for (const auto &stage : _stages) { GLES2GPUShaderStage gpuShaderStage = {stage.stage, stage.source}; _gpuShader->gpuStages.emplace_back(std::move(gpuShaderStage)); From 100c7e14e5a9c1e9e59359c37e45c7b11cafc175 Mon Sep 17 00:00:00 2001 From: fish9167 <674821954@qq.com> Date: Thu, 15 Apr 2021 09:40:03 +0800 Subject: [PATCH 239/270] ADD Action(Clang Format) (#3405) ADD Action(Clang Format) --- native/.github/workflows/clang-format.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 native/.github/workflows/clang-format.yml diff --git a/native/.github/workflows/clang-format.yml b/native/.github/workflows/clang-format.yml new file mode 100644 index 0000000000..926bf68f68 --- /dev/null +++ b/native/.github/workflows/clang-format.yml @@ -0,0 +1,25 @@ +# Name of the workflow +name: Check Clang Format + +#on: [push, pull_request] +on: + pull_request: + types: [closed] + +jobs: + clang-format: + if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + # Checks-out our repository under $GITHUB_WORKSPACE, so our job can access it + - uses: actions/checkout@v2 + + # Applies clang-format to all C/C++ files w/ the specified style + - name: Check clang-format + uses: fish9167/clang-format-action@master + id: formatting + with: + style: 'file' + + - name: Get the output message + run: echo "${{ steps.formatting.outputs.message }}" From 5ef2ab11bf96525a54ebd776388de90f35a85391 Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Thu, 15 Apr 2021 09:40:29 +0800 Subject: [PATCH 240/270] Fix more warings (#3396) --- native/CMakeLists.txt | 212 +++++++++--------- native/cocos/audio/win32/AudioCache.cpp | 6 +- native/cocos/audio/win32/AudioPlayer.cpp | 2 +- native/cocos/platform/win32/Device-win32.cpp | 2 +- .../renderer/gfx-agent/LinearAllocatorPool.h | 6 +- .../gfx-base/GFXDescriptorSetLayout.cpp | 2 +- .../renderer/gfx-base/GFXFramebuffer.cpp | 2 +- .../renderer/gfx-base/GFXGlobalBarrier.cpp | 2 +- .../renderer/gfx-base/GFXInputAssembler.cpp | 2 +- .../cocos/renderer/gfx-base/GFXRenderPass.cpp | 2 +- .../renderer/gfx-base/GFXTextureBarrier.cpp | 2 +- .../cocos/renderer/pipeline/BatchedBuffer.cpp | 77 +++---- native/cocos/renderer/pipeline/Define.cpp | 6 +- .../renderer/pipeline/InstancedBuffer.cpp | 40 ++-- .../cocos/renderer/pipeline/InstancedBuffer.h | 10 +- .../cocos/renderer/pipeline/PipelineUBO.cpp | 139 ++++++------ .../pipeline/RenderAdditiveLightQueue.cpp | 83 +++---- .../pipeline/RenderAdditiveLightQueue.h | 78 ++++--- native/cocos/renderer/pipeline/RenderFlow.cpp | 18 +- native/cocos/renderer/pipeline/RenderFlow.h | 8 +- .../cocos/renderer/pipeline/RenderQueue.cpp | 32 +-- native/cocos/renderer/pipeline/RenderQueue.h | 2 +- native/cocos/renderer/pipeline/RenderStage.h | 12 +- .../pipeline/deferred/DeferredPipeline.cpp | 61 +++-- .../pipeline/deferred/DeferredPipeline.h | 21 +- .../pipeline/deferred/GbufferFlow.cpp | 13 +- .../renderer/pipeline/deferred/GbufferFlow.h | 15 +- .../pipeline/deferred/GbufferStage.cpp | 55 +++-- .../renderer/pipeline/deferred/GbufferStage.h | 14 +- .../pipeline/deferred/LightingStage.cpp | 71 +++--- .../pipeline/deferred/LightingStage.h | 17 +- .../pipeline/deferred/PostprocessStage.cpp | 28 +-- .../pipeline/deferred/PostprocessStage.h | 14 +- .../pipeline/forward/ForwardStage.cpp | 72 +++--- .../renderer/pipeline/forward/ForwardStage.h | 12 +- 35 files changed, 568 insertions(+), 570 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index a30c5e7b97..4db64e3fa6 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -214,20 +214,20 @@ if(USE_AUDIO) ) if(WINDOWS) cocos_source_files( - NO_WERROR cocos/audio/win32/AudioCache.cpp + cocos/audio/win32/AudioCache.cpp cocos/audio/win32/AudioCache.h - NO_WERROR cocos/audio/win32/AudioDecoder.cpp + cocos/audio/win32/AudioDecoder.cpp cocos/audio/win32/AudioDecoder.h - NO_WERROR cocos/audio/win32/AudioDecoderManager.cpp + cocos/audio/win32/AudioDecoderManager.cpp cocos/audio/win32/AudioDecoderManager.h - NO_WERROR cocos/audio/win32/AudioDecoderMp3.cpp + cocos/audio/win32/AudioDecoderMp3.cpp cocos/audio/win32/AudioDecoderMp3.h - NO_WERROR cocos/audio/win32/AudioDecoderOgg.cpp + cocos/audio/win32/AudioDecoderOgg.cpp cocos/audio/win32/AudioDecoderOgg.h - NO_WERROR cocos/audio/win32/AudioEngine-win32.cpp + cocos/audio/win32/AudioEngine-win32.cpp cocos/audio/win32/AudioEngine-win32.h cocos/audio/win32/AudioMacros.h - NO_WERROR cocos/audio/win32/AudioPlayer.cpp + cocos/audio/win32/AudioPlayer.cpp cocos/audio/win32/AudioPlayer.h ) elseif(ANDROID) @@ -537,16 +537,16 @@ if(WINDOWS) cocos_source_files( NO_WERROR cocos/platform/win32/Application-win32.cpp NO_WERROR cocos/platform/win32/CanvasRenderingContext2D-win32.cpp - NO_WERROR cocos/platform/win32/Device-win32.cpp - NO_WERROR cocos/platform/win32/FileUtils-win32.cpp + cocos/platform/win32/Device-win32.cpp + cocos/platform/win32/FileUtils-win32.cpp cocos/platform/win32/FileUtils-win32.h - NO_WERROR cocos/platform/win32/Utils-win32.cpp + cocos/platform/win32/Utils-win32.cpp cocos/platform/win32/Utils-win32.h - NO_WERROR cocos/platform/win32/View-win32.cpp + cocos/platform/win32/View-win32.cpp cocos/platform/win32/View-win32.h - cocos/platform/win32/compat + cocos/platform/win32/compat cocos/platform/win32/compat/stdint.h - NO_WERROR cocos/platform/win32/inet_pton_mingw.cpp + cocos/platform/win32/inet_pton_mingw.cpp cocos/platform/win32/inet_pton_mingw.h ) elseif(ANDROID) @@ -608,198 +608,198 @@ cocos_source_files( cocos/renderer/GFXDeviceManager.h cocos/renderer/gfx-base/GFXObject.h - NO_WERROR cocos/renderer/gfx-base/GFXObject.cpp + cocos/renderer/gfx-base/GFXObject.cpp cocos/renderer/gfx-base/GFXBase.h - NO_WERROR cocos/renderer/gfx-base/GFXBuffer.cpp + cocos/renderer/gfx-base/GFXBuffer.cpp cocos/renderer/gfx-base/GFXBuffer.h - NO_WERROR cocos/renderer/gfx-base/GFXCommandBuffer.cpp + cocos/renderer/gfx-base/GFXCommandBuffer.cpp cocos/renderer/gfx-base/GFXCommandBuffer.h - NO_WERROR cocos/renderer/gfx-base/GFXContext.cpp + cocos/renderer/gfx-base/GFXContext.cpp cocos/renderer/gfx-base/GFXContext.h - NO_WERROR cocos/renderer/gfx-base/GFXDef.cpp + cocos/renderer/gfx-base/GFXDef.cpp cocos/renderer/gfx-base/GFXDef.h cocos/renderer/gfx-base/GFXDef-common.h - NO_WERROR cocos/renderer/gfx-base/GFXDevice.cpp + cocos/renderer/gfx-base/GFXDevice.cpp cocos/renderer/gfx-base/GFXDevice.h - NO_WERROR cocos/renderer/gfx-base/GFXFramebuffer.cpp + cocos/renderer/gfx-base/GFXFramebuffer.cpp cocos/renderer/gfx-base/GFXFramebuffer.h - NO_WERROR cocos/renderer/gfx-base/GFXGlobalBarrier.cpp + cocos/renderer/gfx-base/GFXGlobalBarrier.cpp cocos/renderer/gfx-base/GFXGlobalBarrier.h - NO_WERROR cocos/renderer/gfx-base/GFXInputAssembler.cpp + cocos/renderer/gfx-base/GFXInputAssembler.cpp cocos/renderer/gfx-base/GFXInputAssembler.h - NO_WERROR cocos/renderer/gfx-base/GFXDescriptorSet.cpp + cocos/renderer/gfx-base/GFXDescriptorSet.cpp cocos/renderer/gfx-base/GFXDescriptorSet.h - NO_WERROR cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp + cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp cocos/renderer/gfx-base/GFXDescriptorSetLayout.h - NO_WERROR cocos/renderer/gfx-base/GFXPipelineLayout.cpp + cocos/renderer/gfx-base/GFXPipelineLayout.cpp cocos/renderer/gfx-base/GFXPipelineLayout.h - NO_WERROR cocos/renderer/gfx-base/GFXPipelineState.cpp + cocos/renderer/gfx-base/GFXPipelineState.cpp cocos/renderer/gfx-base/GFXPipelineState.h - NO_WERROR cocos/renderer/gfx-base/GFXQueue.cpp + cocos/renderer/gfx-base/GFXQueue.cpp cocos/renderer/gfx-base/GFXQueue.h - NO_WERROR cocos/renderer/gfx-base/GFXRenderPass.cpp + cocos/renderer/gfx-base/GFXRenderPass.cpp cocos/renderer/gfx-base/GFXRenderPass.h - NO_WERROR cocos/renderer/gfx-base/GFXSampler.cpp + cocos/renderer/gfx-base/GFXSampler.cpp cocos/renderer/gfx-base/GFXSampler.h - NO_WERROR cocos/renderer/gfx-base/GFXShader.cpp + cocos/renderer/gfx-base/GFXShader.cpp cocos/renderer/gfx-base/GFXShader.h - NO_WERROR cocos/renderer/gfx-base/GFXTexture.cpp + cocos/renderer/gfx-base/GFXTexture.cpp cocos/renderer/gfx-base/GFXTexture.h - NO_WERROR cocos/renderer/gfx-base/GFXTextureBarrier.cpp + cocos/renderer/gfx-base/GFXTextureBarrier.cpp cocos/renderer/gfx-base/GFXTextureBarrier.h cocos/renderer/gfx-agent/BufferAgent.h - NO_WERROR cocos/renderer/gfx-agent/BufferAgent.cpp + cocos/renderer/gfx-agent/BufferAgent.cpp cocos/renderer/gfx-agent/CommandBufferAgent.h - NO_WERROR cocos/renderer/gfx-agent/CommandBufferAgent.cpp + cocos/renderer/gfx-agent/CommandBufferAgent.cpp cocos/renderer/gfx-agent/DescriptorSetAgent.h - NO_WERROR cocos/renderer/gfx-agent/DescriptorSetAgent.cpp + cocos/renderer/gfx-agent/DescriptorSetAgent.cpp cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.h - NO_WERROR cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp + cocos/renderer/gfx-agent/DescriptorSetLayoutAgent.cpp cocos/renderer/gfx-agent/DeviceAgent.h - NO_WERROR cocos/renderer/gfx-agent/DeviceAgent.cpp + cocos/renderer/gfx-agent/DeviceAgent.cpp cocos/renderer/gfx-agent/FramebufferAgent.h - NO_WERROR cocos/renderer/gfx-agent/FramebufferAgent.cpp + cocos/renderer/gfx-agent/FramebufferAgent.cpp cocos/renderer/gfx-agent/InputAssemblerAgent.h - NO_WERROR cocos/renderer/gfx-agent/InputAssemblerAgent.cpp + cocos/renderer/gfx-agent/InputAssemblerAgent.cpp cocos/renderer/gfx-agent/LinearAllocatorPool.h cocos/renderer/gfx-agent/PipelineLayoutAgent.h - NO_WERROR cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp + cocos/renderer/gfx-agent/PipelineLayoutAgent.cpp cocos/renderer/gfx-agent/PipelineStateAgent.h - NO_WERROR cocos/renderer/gfx-agent/PipelineStateAgent.cpp + cocos/renderer/gfx-agent/PipelineStateAgent.cpp cocos/renderer/gfx-agent/QueueAgent.h - NO_WERROR cocos/renderer/gfx-agent/QueueAgent.cpp + cocos/renderer/gfx-agent/QueueAgent.cpp cocos/renderer/gfx-agent/RenderPassAgent.h - NO_WERROR cocos/renderer/gfx-agent/RenderPassAgent.cpp + cocos/renderer/gfx-agent/RenderPassAgent.cpp cocos/renderer/gfx-agent/SamplerAgent.h - NO_WERROR cocos/renderer/gfx-agent/SamplerAgent.cpp + cocos/renderer/gfx-agent/SamplerAgent.cpp cocos/renderer/gfx-agent/ShaderAgent.h - NO_WERROR cocos/renderer/gfx-agent/ShaderAgent.cpp + cocos/renderer/gfx-agent/ShaderAgent.cpp cocos/renderer/gfx-agent/TextureAgent.h - NO_WERROR cocos/renderer/gfx-agent/TextureAgent.cpp + cocos/renderer/gfx-agent/TextureAgent.cpp cocos/renderer/gfx-validator/BufferValidator.h - NO_WERROR cocos/renderer/gfx-validator/BufferValidator.cpp + cocos/renderer/gfx-validator/BufferValidator.cpp cocos/renderer/gfx-validator/CommandBufferValidator.h - NO_WERROR cocos/renderer/gfx-validator/CommandBufferValidator.cpp + cocos/renderer/gfx-validator/CommandBufferValidator.cpp cocos/renderer/gfx-validator/DescriptorSetValidator.h - NO_WERROR cocos/renderer/gfx-validator/DescriptorSetValidator.cpp + cocos/renderer/gfx-validator/DescriptorSetValidator.cpp cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.h - NO_WERROR cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp + cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp cocos/renderer/gfx-validator/DeviceValidator.h - NO_WERROR cocos/renderer/gfx-validator/DeviceValidator.cpp + cocos/renderer/gfx-validator/DeviceValidator.cpp cocos/renderer/gfx-validator/FramebufferValidator.h - NO_WERROR cocos/renderer/gfx-validator/FramebufferValidator.cpp + cocos/renderer/gfx-validator/FramebufferValidator.cpp cocos/renderer/gfx-validator/InputAssemblerValidator.h - NO_WERROR cocos/renderer/gfx-validator/InputAssemblerValidator.cpp + cocos/renderer/gfx-validator/InputAssemblerValidator.cpp cocos/renderer/gfx-validator/PipelineLayoutValidator.h - NO_WERROR cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp + cocos/renderer/gfx-validator/PipelineLayoutValidator.cpp cocos/renderer/gfx-validator/PipelineStateValidator.h - NO_WERROR cocos/renderer/gfx-validator/PipelineStateValidator.cpp + cocos/renderer/gfx-validator/PipelineStateValidator.cpp cocos/renderer/gfx-validator/QueueValidator.h - NO_WERROR cocos/renderer/gfx-validator/QueueValidator.cpp + cocos/renderer/gfx-validator/QueueValidator.cpp cocos/renderer/gfx-validator/RenderPassValidator.h - NO_WERROR cocos/renderer/gfx-validator/RenderPassValidator.cpp + cocos/renderer/gfx-validator/RenderPassValidator.cpp cocos/renderer/gfx-validator/SamplerValidator.h - NO_WERROR cocos/renderer/gfx-validator/SamplerValidator.cpp + cocos/renderer/gfx-validator/SamplerValidator.cpp cocos/renderer/gfx-validator/ShaderValidator.h - NO_WERROR cocos/renderer/gfx-validator/ShaderValidator.cpp + cocos/renderer/gfx-validator/ShaderValidator.cpp cocos/renderer/gfx-validator/TextureValidator.h - NO_WERROR cocos/renderer/gfx-validator/TextureValidator.cpp + cocos/renderer/gfx-validator/TextureValidator.cpp cocos/renderer/gfx-validator/ValidationUtils.h - NO_WERROR cocos/renderer/gfx-validator/ValidationUtils.cpp + cocos/renderer/gfx-validator/ValidationUtils.cpp cocos/renderer/gfx-empty/EmptyBuffer.h - NO_WERROR cocos/renderer/gfx-empty/EmptyBuffer.cpp + cocos/renderer/gfx-empty/EmptyBuffer.cpp cocos/renderer/gfx-empty/EmptyCommandBuffer.h - NO_WERROR cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp + cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp cocos/renderer/gfx-empty/EmptyContext.h - NO_WERROR cocos/renderer/gfx-empty/EmptyContext.cpp + cocos/renderer/gfx-empty/EmptyContext.cpp cocos/renderer/gfx-empty/EmptyDescriptorSet.h - NO_WERROR cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp + cocos/renderer/gfx-empty/EmptyDescriptorSet.cpp cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.h - NO_WERROR cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp + cocos/renderer/gfx-empty/EmptyDescriptorSetLayout.cpp cocos/renderer/gfx-empty/EmptyDevice.h - NO_WERROR cocos/renderer/gfx-empty/EmptyDevice.cpp + cocos/renderer/gfx-empty/EmptyDevice.cpp cocos/renderer/gfx-empty/EmptyFramebuffer.h - NO_WERROR cocos/renderer/gfx-empty/EmptyFramebuffer.cpp + cocos/renderer/gfx-empty/EmptyFramebuffer.cpp cocos/renderer/gfx-empty/EmptyInputAssembler.h - NO_WERROR cocos/renderer/gfx-empty/EmptyInputAssembler.cpp + cocos/renderer/gfx-empty/EmptyInputAssembler.cpp cocos/renderer/gfx-empty/EmptyPipelineLayout.h - NO_WERROR cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp + cocos/renderer/gfx-empty/EmptyPipelineLayout.cpp cocos/renderer/gfx-empty/EmptyPipelineState.h - NO_WERROR cocos/renderer/gfx-empty/EmptyPipelineState.cpp + cocos/renderer/gfx-empty/EmptyPipelineState.cpp cocos/renderer/gfx-empty/EmptyQueue.h - NO_WERROR cocos/renderer/gfx-empty/EmptyQueue.cpp + cocos/renderer/gfx-empty/EmptyQueue.cpp cocos/renderer/gfx-empty/EmptyRenderPass.h - NO_WERROR cocos/renderer/gfx-empty/EmptyRenderPass.cpp + cocos/renderer/gfx-empty/EmptyRenderPass.cpp cocos/renderer/gfx-empty/EmptySampler.h - NO_WERROR cocos/renderer/gfx-empty/EmptySampler.cpp + cocos/renderer/gfx-empty/EmptySampler.cpp cocos/renderer/gfx-empty/EmptyShader.h - NO_WERROR cocos/renderer/gfx-empty/EmptyShader.cpp + cocos/renderer/gfx-empty/EmptyShader.cpp cocos/renderer/gfx-empty/EmptyTexture.h - NO_WERROR cocos/renderer/gfx-empty/EmptyTexture.cpp + cocos/renderer/gfx-empty/EmptyTexture.cpp - NO_WERROR cocos/renderer/pipeline/BatchedBuffer.cpp + cocos/renderer/pipeline/BatchedBuffer.cpp cocos/renderer/pipeline/BatchedBuffer.h cocos/renderer/pipeline/Define.h - NO_WERROR cocos/renderer/pipeline/Define.cpp - NO_WERROR cocos/renderer/pipeline/InstancedBuffer.cpp + cocos/renderer/pipeline/Define.cpp + cocos/renderer/pipeline/InstancedBuffer.cpp cocos/renderer/pipeline/InstancedBuffer.h - NO_WERROR cocos/renderer/pipeline/PipelineStateManager.cpp + cocos/renderer/pipeline/PipelineStateManager.cpp cocos/renderer/pipeline/PipelineStateManager.h - NO_WERROR cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp + cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp cocos/renderer/pipeline/RenderAdditiveLightQueue.h - NO_WERROR cocos/renderer/pipeline/RenderBatchedQueue.cpp + cocos/renderer/pipeline/RenderBatchedQueue.cpp cocos/renderer/pipeline/RenderBatchedQueue.h - NO_WERROR cocos/renderer/pipeline/RenderFlow.cpp + cocos/renderer/pipeline/RenderFlow.cpp cocos/renderer/pipeline/RenderFlow.h - NO_WERROR cocos/renderer/pipeline/RenderInstancedQueue.cpp + cocos/renderer/pipeline/RenderInstancedQueue.cpp cocos/renderer/pipeline/RenderInstancedQueue.h - NO_WERROR cocos/renderer/pipeline/RenderPipeline.cpp + cocos/renderer/pipeline/RenderPipeline.cpp cocos/renderer/pipeline/RenderPipeline.h - NO_WERROR cocos/renderer/pipeline/RenderQueue.cpp + cocos/renderer/pipeline/RenderQueue.cpp cocos/renderer/pipeline/RenderQueue.h - NO_WERROR cocos/renderer/pipeline/RenderStage.cpp + cocos/renderer/pipeline/RenderStage.cpp cocos/renderer/pipeline/RenderStage.h - NO_WERROR cocos/renderer/pipeline/PlanarShadowQueue.cpp + cocos/renderer/pipeline/PlanarShadowQueue.cpp cocos/renderer/pipeline/PlanarShadowQueue.h - NO_WERROR cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp + cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp cocos/renderer/pipeline/ShadowMapBatchedQueue.h - NO_WERROR cocos/renderer/pipeline/PipelineUBO.cpp + cocos/renderer/pipeline/PipelineUBO.cpp cocos/renderer/pipeline/PipelineUBO.h - NO_WERROR cocos/renderer/pipeline/PipelineSceneData.cpp + cocos/renderer/pipeline/PipelineSceneData.cpp cocos/renderer/pipeline/PipelineSceneData.h - NO_WERROR cocos/renderer/pipeline/forward/ForwardFlow.cpp + cocos/renderer/pipeline/forward/ForwardFlow.cpp cocos/renderer/pipeline/forward/ForwardFlow.h - NO_WERROR cocos/renderer/pipeline/forward/ForwardPipeline.cpp + cocos/renderer/pipeline/forward/ForwardPipeline.cpp cocos/renderer/pipeline/forward/ForwardPipeline.h - NO_WERROR cocos/renderer/pipeline/forward/ForwardStage.cpp + cocos/renderer/pipeline/forward/ForwardStage.cpp cocos/renderer/pipeline/forward/ForwardStage.h - NO_WERROR cocos/renderer/pipeline/SceneCulling.cpp + cocos/renderer/pipeline/SceneCulling.cpp cocos/renderer/pipeline/SceneCulling.h - NO_WERROR cocos/renderer/pipeline/forward/UIPhase.cpp + cocos/renderer/pipeline/forward/UIPhase.cpp cocos/renderer/pipeline/forward/UIPhase.h - NO_WERROR cocos/renderer/pipeline/deferred/DeferredPipeline.cpp + cocos/renderer/pipeline/deferred/DeferredPipeline.cpp cocos/renderer/pipeline/deferred/DeferredPipeline.h - NO_WERROR cocos/renderer/pipeline/deferred/GbufferFlow.cpp + cocos/renderer/pipeline/deferred/GbufferFlow.cpp cocos/renderer/pipeline/deferred/GbufferFlow.h - NO_WERROR cocos/renderer/pipeline/deferred/GbufferStage.cpp + cocos/renderer/pipeline/deferred/GbufferStage.cpp cocos/renderer/pipeline/deferred/GbufferStage.h - NO_WERROR cocos/renderer/pipeline/deferred/LightingFlow.cpp + cocos/renderer/pipeline/deferred/LightingFlow.cpp cocos/renderer/pipeline/deferred/LightingFlow.h - NO_WERROR cocos/renderer/pipeline/deferred/LightingStage.cpp + cocos/renderer/pipeline/deferred/LightingStage.cpp cocos/renderer/pipeline/deferred/LightingStage.h - NO_WERROR cocos/renderer/pipeline/deferred/PostprocessStage.cpp + cocos/renderer/pipeline/deferred/PostprocessStage.cpp cocos/renderer/pipeline/deferred/PostprocessStage.h - NO_WERROR cocos/renderer/pipeline/shadow/ShadowFlow.cpp + cocos/renderer/pipeline/shadow/ShadowFlow.cpp cocos/renderer/pipeline/shadow/ShadowFlow.h - NO_WERROR cocos/renderer/pipeline/shadow/ShadowStage.cpp + cocos/renderer/pipeline/shadow/ShadowStage.cpp cocos/renderer/pipeline/shadow/ShadowStage.h cocos/renderer/pipeline/helper/DefineMap.h - NO_WERROR cocos/renderer/pipeline/helper/DefineMap.cpp + cocos/renderer/pipeline/helper/DefineMap.cpp cocos/renderer/pipeline/helper/SharedMemory.h - NO_WERROR cocos/renderer/pipeline/helper/SharedMemory.cpp + cocos/renderer/pipeline/helper/SharedMemory.cpp ) if(CC_USE_GLES2 OR CC_USE_GLES3) diff --git a/native/cocos/audio/win32/AudioCache.cpp b/native/cocos/audio/win32/AudioCache.cpp index 93aec70b0d..5341387637 100644 --- a/native/cocos/audio/win32/AudioCache.cpp +++ b/native/cocos/audio/win32/AudioCache.cpp @@ -53,7 +53,7 @@ unsigned int __idIndex = 0; using namespace cc; AudioCache::AudioCache() -: _totalFrames(0), _framesRead(0), _format(-1), _duration(0.0f), _alBufferId(INVALID_AL_BUFFER_ID), _pcmData(nullptr), _queBufferFrames(0), _state(State::INITIAL), _isDestroyed(std::make_shared(false)), _id(++__idIndex), _isLoadingFinished(false), _isSkipReadDataTask(false) { +: _format(-1), _sampleRate(0), _duration(0.0f), _totalFrames(0), _framesRead(0), _alBufferId(INVALID_AL_BUFFER_ID), _pcmData(nullptr), _queBufferFrames(0), _state(State::INITIAL), _isDestroyed(std::make_shared(false)), _id(++__idIndex), _isLoadingFinished(false), _isSkipReadDataTask(false) { ALOGVV("AudioCache() %p, id=%u", this, _id); for (int i = 0; i < QUEUEBUFFER_NUM; ++i) { _queBuffers[i] = nullptr; @@ -161,6 +161,8 @@ void AudioCache::readDataTask(unsigned int selfId) { BREAK_IF_ERR_LOG(!decoder->seek(0), "AudioDecoder::seek(0) failed!"); _pcmData = (char *)malloc(dataSize); + + CC_ASSERT(_pcmData); memset(_pcmData, 0x00, dataSize); if (adjustFrames > 0) { @@ -211,7 +213,7 @@ void AudioCache::readDataTask(unsigned int selfId) { _state = State::READY; } else { - _queBufferFrames = sampleRate * QUEUEBUFFER_TIME_STEP; + _queBufferFrames = static_cast(sampleRate * QUEUEBUFFER_TIME_STEP); BREAK_IF_ERR_LOG(_queBufferFrames == 0, "_queBufferFrames == 0"); const uint32_t queBufferBytes = _queBufferFrames * bytesPerFrame; diff --git a/native/cocos/audio/win32/AudioPlayer.cpp b/native/cocos/audio/win32/AudioPlayer.cpp index 229f9778c1..1d47aae0d0 100644 --- a/native/cocos/audio/win32/AudioPlayer.cpp +++ b/native/cocos/audio/win32/AudioPlayer.cpp @@ -235,7 +235,7 @@ void AudioPlayer::rotateBufferThread(int offsetFrame) { bufferProcessed--; if (_timeDirty) { _timeDirty = false; - offsetFrame = _currTime * decoder->getSampleRate(); + offsetFrame = static_cast(_currTime * decoder->getSampleRate()); decoder->seek(offsetFrame); } else { _currTime += QUEUEBUFFER_TIME_STEP; diff --git a/native/cocos/platform/win32/Device-win32.cpp b/native/cocos/platform/win32/Device-win32.cpp index b6ba411d75..2c43e50bd7 100644 --- a/native/cocos/platform/win32/Device-win32.cpp +++ b/native/cocos/platform/win32/Device-win32.cpp @@ -40,7 +40,7 @@ int Device::getDPI() { int PixelsX = GetDeviceCaps(hScreenDC, HORZRES); int MMX = GetDeviceCaps(hScreenDC, HORZSIZE); ReleaseDC(nullptr, hScreenDC); - dpi = 254.0f * PixelsX / MMX / 10; + dpi = static_cast(254.0f * PixelsX / MMX / 10); } return dpi; } diff --git a/native/cocos/renderer/gfx-agent/LinearAllocatorPool.h b/native/cocos/renderer/gfx-agent/LinearAllocatorPool.h index b4e1c674d6..b65fb9aa5c 100644 --- a/native/cocos/renderer/gfx-agent/LinearAllocatorPool.h +++ b/native/cocos/renderer/gfx-agent/LinearAllocatorPool.h @@ -49,7 +49,7 @@ uint nextPowerOf2(uint v) { class CC_DLL LinearAllocatorPool final { public: LinearAllocatorPool(size_t defaultBlockSize = DEFAULT_BLOCK_SIZE): _defaultBlockSize(defaultBlockSize) { - _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(_defaultBlockSize))); + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(static_cast(_defaultBlockSize)))); } ~LinearAllocatorPool() { @@ -69,8 +69,8 @@ public: res = reinterpret_cast(allocator->allocate(size, alignment)); if (res) return res; } - size_t capacity = nextPowerOf2(std::max(DEFAULT_BLOCK_SIZE, size + alignment)); // reserve enough padding space for alignment - _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(capacity))); + uint capacity = nextPowerOf2(static_cast(std::max(DEFAULT_BLOCK_SIZE, size + static_cast(alignment)))); // reserve enough padding space for alignment + _allocators.emplace_back(CC_NEW(ThreadSafeLinearAllocator(static_cast(capacity)))); return reinterpret_cast(_allocators.back()->allocate(size, alignment)); } diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp index 0980da0787..8a540786f9 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp @@ -39,7 +39,7 @@ DescriptorSetLayout::~DescriptorSetLayout() = default; void DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { _bindings = info.bindings; - uint bindingCount = _bindings.size(); + uint bindingCount = static_cast(_bindings.size()); _descriptorCount = 0U; if (bindingCount) { diff --git a/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp index 4fe15d6d61..d34545dcb1 100644 --- a/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp +++ b/native/cocos/renderer/gfx-base/GFXFramebuffer.cpp @@ -38,7 +38,7 @@ Framebuffer::Framebuffer() Framebuffer::~Framebuffer() = default; uint Framebuffer::computeHash(const FramebufferInfo &info) { - uint seed = info.colorTextures.size() + info.colorMipmapLevels.size() + 2; + uint seed = static_cast(info.colorTextures.size() + info.colorMipmapLevels.size() + 2); for (const Texture *attachment : info.colorTextures) { seed ^= attachment->getTextureID() + 0x9e3779b9 + (seed << 6) + (seed >> 2); } diff --git a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp index 26655ce343..29a6f12222 100644 --- a/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp +++ b/native/cocos/renderer/gfx-base/GFXGlobalBarrier.cpp @@ -38,7 +38,7 @@ GlobalBarrier::GlobalBarrier() GlobalBarrier::~GlobalBarrier() = default; uint GlobalBarrier::computeHash(const GlobalBarrierInfo &info) { - uint seed = info.prevAccesses.size() + info.nextAccesses.size(); + uint seed = static_cast(info.prevAccesses.size() + info.nextAccesses.size()); for (const AccessType type : info.prevAccesses) { seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); diff --git a/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp b/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp index 830ecf15f4..ec24ab0a53 100644 --- a/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp +++ b/native/cocos/renderer/gfx-base/GFXInputAssembler.cpp @@ -60,7 +60,7 @@ uint InputAssembler::computeAttributesHash() const { seed ^= attribute.isInstanced + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= attribute.location + 0x9e3779b9 + (seed << 6) + (seed >> 2); } - return seed; + return static_cast(seed); } void InputAssembler::initialize(const InputAssemblerInfo &info) { diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp index d408d32a41..5a6da419e3 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp @@ -95,7 +95,7 @@ uint RenderPass::computeHash() { } } } else { - seed = _colorAttachments.size() * 2 + 2; + seed = static_cast(_colorAttachments.size() * 2 + 2); for (const ColorAttachment &colorAttachment : _colorAttachments) { seed ^= static_cast(colorAttachment.format) + 0x9e3779b9 + (seed << 6) + (seed >> 2); seed ^= static_cast(colorAttachment.sampleCount) + 0x9e3779b9 + (seed << 6) + (seed >> 2); diff --git a/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp b/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp index ea9e9c9970..9e2d6d3649 100644 --- a/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp +++ b/native/cocos/renderer/gfx-base/GFXTextureBarrier.cpp @@ -39,7 +39,7 @@ TextureBarrier::TextureBarrier() TextureBarrier::~TextureBarrier() = default; uint TextureBarrier::computeHash(const TextureBarrierInfo &info) { - uint seed = info.prevAccesses.size() + info.nextAccesses.size() + 3; + uint seed = static_cast(info.prevAccesses.size() + info.nextAccesses.size() + 3); for (const AccessType type : info.prevAccesses) { seed ^= static_cast(type) + 0x9e3779b9 + (seed << 6) + (seed >> 2); diff --git a/native/cocos/renderer/pipeline/BatchedBuffer.cpp b/native/cocos/renderer/pipeline/BatchedBuffer.cpp index a37bc70785..71f4c7ac82 100644 --- a/native/cocos/renderer/pipeline/BatchedBuffer.cpp +++ b/native/cocos/renderer/pipeline/BatchedBuffer.cpp @@ -48,16 +48,15 @@ BatchedBuffer::BatchedBuffer(const PassView *pass) _device(gfx::Device::getInstance()) { } -BatchedBuffer::~BatchedBuffer() { -} +BatchedBuffer::~BatchedBuffer() = default; void BatchedBuffer::destroy() { for (auto &batch : _batches) { - for (auto vb : batch.vbs) { + for (auto *vb : batch.vbs) { vb->destroy(); } - for (auto data : batch.vbDatas) { + for (auto *data : batch.vbDatas) { CC_FREE(data); } @@ -71,28 +70,27 @@ void BatchedBuffer::destroy() { } void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const ModelView *model) { - const auto subMesh = subModel->getSubMesh(); - const auto flatBuffersID = subMesh->getFlatBufferArrayID(); + const auto *const subMesh = subModel->getSubMesh(); + const auto *const flatBuffersID = subMesh->getFlatBufferArrayID(); const auto flatBuffersCount = flatBuffersID ? flatBuffersID[0] : 0; if (flatBuffersCount == 0) { return; } - const auto flatBuffer = subMesh->getFlatBuffer(flatBuffersID[1]); - auto vbSize = 0; - auto indexSize = 0; + const auto *const flatBuffer = subMesh->getFlatBuffer(flatBuffersID[1]); + uint vbSize = 0; + uint indexSize = 0; const auto vbCount = flatBuffer->count; - const auto pass = subModel->getPassView(passIdx); - const auto shader = subModel->getShader(passIdx); - const auto descriptorSet = subModel->getDescriptorSet(); + const auto *const pass = subModel->getPassView(passIdx); + auto *const shader = subModel->getShader(passIdx); + auto *const descriptorSet = subModel->getDescriptorSet(); bool isBatchExist = false; - for (auto i = 0; i < _batches.size(); ++i) { - auto &batch = _batches[i]; + for (auto &batch : _batches) { if (batch.vbs.size() == flatBuffersCount && batch.mergeCount < UBOLocalBatched::BATCHING_COUNT) { isBatchExist = true; - for (auto j = 0; j < flatBuffersCount; ++j) { - const auto vb = batch.vbs[j]; + for (uint j = 0; j < flatBuffersCount; ++j) { + auto *const vb = batch.vbs[j]; if (vb->getStride() != subMesh->getFlatBuffer(flatBuffersID[j + 1])->stride) { isBatchExist = false; break; @@ -100,14 +98,14 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode } if (isBatchExist) { - for (auto j = 0; j < flatBuffersCount; ++j) { - const auto flatBuffer = subMesh->getFlatBuffer(flatBuffersID[j + 1]); - auto batchVB = batch.vbs[j]; - auto vbData = batch.vbDatas[j]; - const auto vbBufSizeOld = batchVB->getSize(); + for (uint j = 0; j < flatBuffersCount; ++j) { + const auto *const flatBuffer = subMesh->getFlatBuffer(flatBuffersID[j + 1]); + auto * batchVB = batch.vbs[j]; + auto * vbData = batch.vbDatas[j]; + const uint vbBufSizeOld = batchVB->getSize(); vbSize = (vbCount + batch.vbCount) * flatBuffer->stride; if (vbSize > vbBufSizeOld) { - uint8_t *vbDataNew = static_cast(CC_MALLOC(vbSize)); + auto *vbDataNew = static_cast(CC_MALLOC(vbSize)); memcpy(vbDataNew, vbData, vbBufSizeOld); batchVB->resize(vbSize); CC_FREE(vbData); @@ -115,17 +113,16 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode vbData = vbDataNew; } - auto size = 0u; + auto size = 0U; auto offset = batch.vbCount * flatBuffer->stride; - const auto data = flatBuffer->getBuffer(&size); + auto *const data = flatBuffer->getBuffer(&size); memcpy(vbData + offset, data, size); } - auto indexData = batch.indexData; + auto *indexData = batch.indexData; indexSize = (vbCount + batch.vbCount) * sizeof(float); if (indexSize > batch.indexBuffer->getSize()) { - - auto newIndexData = static_cast(CC_MALLOC(indexSize)); + auto *newIndexData = static_cast(CC_MALLOC(indexSize)); memcpy(newIndexData, indexData, batch.indexBuffer->getSize()); CC_FREE(indexData); batch.indexData = newIndexData; @@ -138,7 +135,7 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode const auto mergeCount = batch.mergeCount; if (indexData[start] != mergeCount || indexData[end - 1] != mergeCount) { for (auto j = start; j < end; j++) { - indexData[j] = mergeCount + 0.1f; // guard against underflow + indexData[j] = mergeCount + 0.1F; // guard against underflow } } @@ -166,19 +163,19 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode // Create a new batch vector vbs(flatBuffersCount, nullptr); - vector vbDatas(flatBuffersCount, 0); + vector vbDatas(flatBuffersCount, nullptr); vector totalVBs(flatBuffersCount + 1, nullptr); - for (auto i = 0; i < flatBuffersCount; ++i) { - const auto flatBuffer = subMesh->getFlatBuffer(flatBuffersID[i + 1]); - auto newVB = _device->createBuffer({ + for (uint i = 0; i < flatBuffersCount; ++i) { + const auto *const flatBuffer = subMesh->getFlatBuffer(flatBuffersID[i + 1]); + auto * newVB = _device->createBuffer({ gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, flatBuffer->count * flatBuffer->stride, flatBuffer->stride, }); - auto size = 0u; - auto data = flatBuffer->getBuffer(&size); + auto size = 0U; + auto * data = flatBuffer->getBuffer(&size); newVB->update(data, size); vbs[i] = newVB; @@ -188,15 +185,15 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode } const auto indexBufferSize = vbCount * sizeof(float); - auto indexBuffer = _device->createBuffer({ + auto * indexBuffer = _device->createBuffer({ gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, static_cast(indexBufferSize), sizeof(float), }); - float * indexData = static_cast(CC_MALLOC(indexBufferSize)); + auto * indexData = static_cast(CC_MALLOC(indexBufferSize)); memset(indexData, 0, indexBufferSize); - indexBuffer->update(indexData, indexBufferSize); + indexBuffer->update(indexData, static_cast(indexBufferSize)); totalVBs[flatBuffersCount] = indexBuffer; vector attributes = subModel->getInputAssembler()->getAttributes(); @@ -208,9 +205,9 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode }; attributes.emplace_back(std::move(attrib)); - auto ia = _device->createInputAssembler({std::move(attributes), std::move(totalVBs)}); + auto *ia = _device->createInputAssembler({std::move(attributes), std::move(totalVBs)}); - auto ubo = _device->createBuffer({ + auto *ubo = _device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, UBOLocalBatched::SIZE, @@ -232,7 +229,7 @@ void BatchedBuffer::merge(const SubModelView *subModel, uint passIdx, const Mode 1, //mergeCount ia, //ia ubo, //ubo - std::move(uboData), //uboData + uboData, //uboData descriptorSet, //descriptorSet pass, //pass shader, //shader diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index ce4f09c224..cbcdb14e51 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -227,7 +227,7 @@ const gfx::UniformBlock UBOSkinning::LAYOUT = { 1, }; -const uint UBOMorph::COUNT_BASE_4_BYTES = 4 * std::ceil(UBOMorph::MAX_MORPH_TARGET_COUNT / 4) + 4; +const uint UBOMorph::COUNT_BASE_4_BYTES = static_cast(4 * std::ceil(UBOMorph::MAX_MORPH_TARGET_COUNT / 4) + 4); const uint UBOMorph::SIZE = UBOMorph::COUNT_BASE_4_BYTES * 4; const String UBOMorph::NAME = "CCMorph"; const gfx::DescriptorSetLayoutBinding UBOMorph::DESCRIPTOR = { @@ -493,9 +493,9 @@ gfx::Sampler *SamplerLib::getSampler(uint hash) { info.addressW = static_cast((hash >> 10) & 3); info.maxAnisotropy = ((hash >> 12) & 15); info.cmpFunc = static_cast((hash >> 16) & 15); - info.mipLODBias = ((hash >> 28) & 15); + info.mipLODBias = static_cast((hash >> 28) & 15); - return _samplerCache[hash] = gfx::Device::getInstance()->createSampler(std::move(info)); + return _samplerCache[hash] = gfx::Device::getInstance()->createSampler(info); } void SamplerLib::destroyAll() { diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index f60752624f..49d623bbdc 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -33,12 +33,12 @@ namespace cc { namespace pipeline { -map> InstancedBuffer::_buffers; +map> InstancedBuffer::buffers; InstancedBuffer * InstancedBuffer::get(uint pass) { return InstancedBuffer::get(pass, 0); } InstancedBuffer *InstancedBuffer::get(uint pass, uint extraKey) { - auto &record = _buffers[pass]; + auto &record = buffers[pass]; auto &buffer = record[extraKey]; if (buffer == nullptr) buffer = CC_NEW(InstancedBuffer(GET_PASS(pass))); @@ -50,8 +50,7 @@ InstancedBuffer::InstancedBuffer(const PassView *pass) _device(gfx::Device::getInstance()) { } -InstancedBuffer::~InstancedBuffer() { -} +InstancedBuffer::~InstancedBuffer() = default; void InstancedBuffer::destroy() { for (auto &instance : _instances) { @@ -68,17 +67,16 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel, uint passIdx, gfx::Shader *shaderImplant) { uint stride = 0; - const auto instancedBuffer = model->getInstancedBuffer(&stride); + const auto *const instancedBuffer = model->getInstancedBuffer(&stride); if (!stride) return; // we assume per-instance attributes are always present - auto sourceIA = subModel->getInputAssembler(); - auto lightingMap = subModel->getDescriptorSet()->getTexture(LIGHTMAP_TEXTURE::BINDING); - auto shader = shaderImplant; + auto *sourceIA = subModel->getInputAssembler(); + auto *lightingMap = subModel->getDescriptorSet()->getTexture(LIGHTMAP_TEXTURE::BINDING); + auto *shader = shaderImplant; if (!shader) { shader = subModel->getShader(passIdx); } - auto descriptorSet = subModel->getDescriptorSet(); - for (int i = 0; i < _instances.size(); i++) { - auto &instance = _instances[i]; + auto *descriptorSet = subModel->getDescriptorSet(); + for (auto & instance : _instances) { if (instance.ia->getIndexBuffer() != sourceIA->getIndexBuffer() || instance.count >= MAX_CAPACITY) { continue; } @@ -94,8 +92,8 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel if (instance.count >= instance.capacity) { // resize buffers instance.capacity <<= 1; const auto newSize = instance.stride * instance.capacity; - const auto oldData = instance.data; - instance.data = (uint8_t *)CC_MALLOC(newSize); + auto *const oldData = instance.data; + instance.data = static_cast(CC_MALLOC(newSize)); memcpy(instance.data, oldData, instance.vb->getSize()); instance.vb->resize(newSize); CC_FREE(oldData); @@ -113,7 +111,7 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel // Create a new instance auto newSize = stride * INITIAL_CAPACITY; - auto vb = _device->createBuffer({ + auto *vb = _device->createBuffer({ gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, static_cast(newSize), @@ -122,23 +120,23 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel auto vertexBuffers = sourceIA->getVertexBuffers(); auto attributes = sourceIA->getAttributes(); - auto indexBuffer = sourceIA->getIndexBuffer(); + auto *indexBuffer = sourceIA->getIndexBuffer(); - const auto attributesID = model->getInstancedAttributeID(); + const auto *const attributesID = model->getInstancedAttributeID(); const auto lenght = attributesID[0]; - for (auto i = 1; i <= lenght; i++) { - const auto attribute = model->getInstancedAttribute(attributesID[i]); + for (uint i = 1; i <= lenght; i++) { + auto *const attribute = model->getInstancedAttribute(attributesID[i]); gfx::Attribute newAttr = {attribute->name, attribute->format, attribute->isNormalized, static_cast(vertexBuffers.size()), true, attribute->location}; attributes.emplace_back(std::move(newAttr)); } - uint8_t *data = (uint8_t *)CC_MALLOC(newSize); + auto *data = static_cast(CC_MALLOC(newSize)); memcpy(data, instancedBuffer, stride); vertexBuffers.emplace_back(vb); gfx::InputAssemblerInfo iaInfo = {attributes, vertexBuffers, indexBuffer}; - auto ia = _device->createInputAssembler(iaInfo); + auto * ia = _device->createInputAssembler(iaInfo); InstancedItem item = {1, INITIAL_CAPACITY, vb, data, ia, stride, shader, descriptorSet, lightingMap}; - _instances.emplace_back(std::move(item)); + _instances.emplace_back(item); _hasPendingModels = true; } diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.h b/native/cocos/renderer/pipeline/InstancedBuffer.h index 8676b0808e..c027455fed 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.h +++ b/native/cocos/renderer/pipeline/InstancedBuffer.h @@ -53,8 +53,8 @@ struct CC_DLL InstancedItem { gfx::DescriptorSet *descriptorSet = nullptr; gfx::Texture *lightingMap = nullptr; }; -typedef vector InstancedItemList; -typedef vector DynamicOffsetList; +using InstancedItemList = vector; +using DynamicOffsetList = vector; class InstancedBuffer : public Object { public: @@ -63,8 +63,8 @@ public: static InstancedBuffer *get(uint pass); static InstancedBuffer *get(uint pass, uint extraKey); - InstancedBuffer(const PassView *pass); - virtual ~InstancedBuffer(); + explicit InstancedBuffer(const PassView *pass); + ~InstancedBuffer() override; void destroy(); void merge(const ModelView *, const SubModelView *, uint); @@ -79,7 +79,7 @@ public: CC_INLINE const DynamicOffsetList &dynamicOffsets() const { return _dynamicOffsets; } private: - static map> _buffers; + static map> buffers; InstancedItemList _instances; const PassView *_pass = nullptr; bool _hasPendingModels = false; diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index 5519af02b5..fe36c814d5 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -34,20 +34,20 @@ namespace cc { namespace pipeline { #define TO_VEC3(dst, src, offset) \ - dst[offset] = src.x; \ - dst[offset + 1] = src.y; \ - dst[offset + 2] = src.z; + dst[offset] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ + (dst)[(offset) + 2] = (src).z; #define TO_VEC4(dst, src, offset) \ - dst[offset] = src.x; \ - dst[offset + 1] = src.y; \ - dst[offset + 2] = src.z; \ - dst[offset + 3] = src.w; + dst[offset] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ + (dst)[(offset) + 2] = (src).z; \ + (dst)[(offset) + 3] = (src).w; Mat4 matShadowViewProj; -void PipelineUBO::updateGlobalUBOView(const RenderPipeline *pipeline, std::array &bufferView) { - const auto root = GET_ROOT(); - auto device = gfx::Device::getInstance(); +void PipelineUBO::updateGlobalUBOView(const RenderPipeline * /*pipeline*/, std::array &bufferView) { + auto *const root = GET_ROOT(); + auto * device = gfx::Device::getInstance(); auto & uboGlobalView = bufferView; const auto shadingWidth = std::floor(device->getWidth()); @@ -56,30 +56,30 @@ void PipelineUBO::updateGlobalUBOView(const RenderPipeline *pipeline, std::array // update UBOGlobal uboGlobalView[UBOGlobal::TIME_OFFSET] = root->cumulativeTime; uboGlobalView[UBOGlobal::TIME_OFFSET + 1] = root->frameTime; - uboGlobalView[UBOGlobal::TIME_OFFSET + 2] = Application::getInstance()->getTotalFrames(); + uboGlobalView[UBOGlobal::TIME_OFFSET + 2] = static_cast (Application::getInstance()->getTotalFrames()); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = device->getWidth(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1] = device->getHeight(); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET]; - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1]; + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = static_cast(device->getWidth()); + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1] = static_cast(device->getHeight()); + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 2] = 1.0F / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET]; + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 3] = 1.0F / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1]; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = shadingWidth; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1] = shadingHeight; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 2] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET]; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0f / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = static_cast(shadingWidth); + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1] = static_cast(shadingHeight); + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 2] = 1.0F / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET]; + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0F / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; } void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera, bool hasOffScreenAttachments) { - const auto scene = camera->getScene(); + const auto *const scene = camera->getScene(); const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); - auto sceneData = pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + auto * sceneData = pipeline->getPipelineSceneData(); + auto *const sharedData = sceneData->getSharedData(); const auto fpScale = sharedData->fpScale; - const auto descriptorSet = pipeline->getDescriptorSet(); - auto ambient = sharedData->getAmbient(); - auto fog = sharedData->getFog(); + auto *const descriptorSet = pipeline->getDescriptorSet(); + auto * ambient = sharedData->getAmbient(); + auto * fog = sharedData->getFog(); auto isHDR = sharedData->isHDR; auto shadingScale = sharedData->shadingScale; @@ -89,15 +89,15 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array const auto shadingWidth = std::floor(device->getWidth()); const auto shadingHeight = std::floor(device->getHeight()); - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = camera->width / shadingWidth * shadingScale; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1] = camera->height / shadingHeight * shadingScale; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 2] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET]; - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 3] = 1.0 / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1]; + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = static_cast(camera->width / shadingWidth * shadingScale); + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1] = static_cast(camera->height / shadingHeight * shadingScale); + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 2] = 1.0F / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET]; + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 3] = 1.0F / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1]; const auto exposure = camera->exposure; uboCameraView[UBOCamera::EXPOSURE_OFFSET] = exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 1] = 1.0f / exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET + 2] = isHDR ? 1.0f : 0.0; + uboCameraView[UBOCamera::EXPOSURE_OFFSET + 1] = 1.0F / exposure; + uboCameraView[UBOCamera::EXPOSURE_OFFSET + 2] = isHDR ? 1.0F : 0.0F; uboCameraView[UBOCamera::EXPOSURE_OFFSET + 3] = fpScale / exposure; if (mainLight) { @@ -131,8 +131,10 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET] = ambient->groundAlbedo.x; uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 1] = ambient->groundAlbedo.y; uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 2] = ambient->groundAlbedo.z; - const auto envmap = descriptorSet->getTexture((uint)PipelineGlobalBindings::SAMPLER_ENVIRONMENT); - if (envmap) uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = envmap->getLevelCount(); + auto *const envmap = descriptorSet->getTexture(static_cast(PipelineGlobalBindings::SAMPLER_ENVIRONMENT)); + if (envmap) { + uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = static_cast(envmap->getLevelCount()); + } memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_OFFSET, camera->matView.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_INV_OFFSET, camera->getNode()->worldMatrix.m, sizeof(cc::Mat4)); @@ -166,22 +168,24 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array } void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera) { - const auto scene = camera->getScene(); + const auto *const scene = camera->getScene(); const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); auto * device = gfx::Device::getInstance(); - const auto sceneData = pipeline->getPipelineSceneData(); - const auto shadowInfo = sceneData->getSharedData()->getShadows(); + auto *const sceneData = pipeline->getPipelineSceneData(); + auto *const shadowInfo = sceneData->getSharedData()->getShadows(); auto & shadowUBO = bufferView; - auto sphere = sceneData->getSphere(); + auto * sphere = sceneData->getSphere(); if (shadowInfo->enabled) { if (mainLight && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { - const auto node = mainLight->getNode(); + const auto *const node = mainLight->getNode(); cc::Mat4 matShadowCamera; // light proj - float x = 0.0f, y = 0.0f, farClamp = 0.0f; + float x = 0.0F; + float y = 0.0F; + float farClamp = 0.0F; if (shadowInfo->autoAdapt) { Vec3 tmpCenter; getShadowWorldMatrix(sphere, node->worldRotation, mainLight->direction, matShadowCamera, tmpCenter); @@ -206,28 +210,30 @@ void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getCapabilities().clipSpaceMinZ, projectionSinY, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; + float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); } else if (mainLight && shadowInfo->getShadowType() == ShadowType::PLANAR) { updateDirLight(shadowInfo, mainLight, shadowUBO); - } - - memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); + } + const float color[4] = {shadowInfo->color.x, shadowInfo->color.y, shadowInfo->color.z, shadowInfo->color.w}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, color, sizeof(float) * 4); } } void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std::array &bufferView, const Light *light) { - const auto sceneData = pipeline->getPipelineSceneData(); - auto shadowInfo = sceneData->getSharedData()->getShadows(); + auto *const sceneData = pipeline->getPipelineSceneData(); + auto * shadowInfo = sceneData->getSharedData()->getShadows(); auto * device = gfx::Device::getInstance(); - auto sphere = sceneData->getSphere(); + auto * sphere = sceneData->getSphere(); auto & shadowUBO = bufferView; switch (light->getType()) { case LightType::DIRECTIONAL: { cc::Mat4 matShadowCamera; - float x = 0.0f, y = 0.0f, farClamp = 0.0f; + float x = 0.0F; + float y = 0.0F; + float farClamp = 0.0F; if (shadowInfo->autoAdapt) { Vec3 tmpCenter; getShadowWorldMatrix(sphere, light->getNode()->worldRotation, light->direction, matShadowCamera, tmpCenter); @@ -258,7 +264,7 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: const auto &matShadowCamera = light->getNode()->worldMatrix; const auto matShadowView = matShadowCamera.getInversed(); - cc::Mat4::createPerspective(light->spotAngle, light->aspect, 0.001f, light->range, &matShadowViewProj); + cc::Mat4::createPerspective(light->spotAngle, light->aspect, 0.001F, light->range, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); @@ -266,8 +272,9 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: default:; } - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; - memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); + float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; + const float color[4] = {shadowInfo->color.x, shadowInfo->color.y, shadowInfo->color.z, shadowInfo->color.w}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, color, sizeof(float) * 4); memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); } @@ -275,9 +282,9 @@ void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) { _device = device; _pipeline = pipeline; - const auto descriptorSet = pipeline->getDescriptorSet(); + auto *const descriptorSet = pipeline->getDescriptorSet(); - auto globalUBO = _device->createBuffer({ + auto *globalUBO = _device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, UBOGlobal::SIZE, @@ -287,7 +294,7 @@ void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) { descriptorSet->bindBuffer(UBOGlobal::BINDING, globalUBO); _ubos.push_back(globalUBO); - auto cameraUBO = _device->createBuffer({ + auto *cameraUBO = _device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, UBOCamera::SIZE, @@ -297,7 +304,7 @@ void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) { descriptorSet->bindBuffer(UBOCamera::BINDING, cameraUBO); _ubos.push_back(cameraUBO); - auto shadowUBO = _device->createBuffer({ + auto *shadowUBO = _device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, UBOShadow::SIZE, @@ -316,26 +323,26 @@ void PipelineUBO::destroy() { } void PipelineUBO::updateGlobalUBO() { - const auto ds = _pipeline->getDescriptorSet(); - const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + auto *const ds = _pipeline->getDescriptorSet(); + auto *const cmdBuffer = _pipeline->getCommandBuffers()[0]; ds->update(); PipelineUBO::updateGlobalUBOView(_pipeline, _globalUBO); cmdBuffer->updateBuffer(ds->getBuffer(UBOGlobal::BINDING), _globalUBO.data(), UBOGlobal::SIZE); } void PipelineUBO::updateCameraUBO(const Camera *camera, bool hasOffScreenAttachments) { - const auto ds = _pipeline->getDescriptorSet(); - const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + auto *const ds = _pipeline->getDescriptorSet(); + auto *const cmdBuffer = _pipeline->getCommandBuffers()[0]; PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera, hasOffScreenAttachments); cmdBuffer->updateBuffer(ds->getBuffer(UBOCamera::BINDING), _cameraUBO.data(), UBOCamera::SIZE); } void PipelineUBO::updateShadowUBO(const Camera *camera) { - const auto ds = _pipeline->getDescriptorSet(); - const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto shadowInfo = sceneData->getSharedData()->getShadows(); - const auto scene = camera->getScene(); + auto *const ds = _pipeline->getDescriptorSet(); + auto *const cmdBuffer = _pipeline->getCommandBuffers()[0]; + auto *const sceneData = _pipeline->getPipelineSceneData(); + auto *const shadowInfo = sceneData->getSharedData()->getShadows(); + const auto *const scene = camera->getScene(); if (!shadowInfo->enabled) return; const auto & shadowFrameBufferMap = sceneData->getShadowFramebufferMap(); const Light *mainLight = nullptr; @@ -354,14 +361,14 @@ void PipelineUBO::updateShadowUBO(const Camera *camera) { } void PipelineUBO::updateShadowUBOLight(const Light *light) { - const auto ds = _pipeline->getDescriptorSet(); - const auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + auto *const ds = _pipeline->getDescriptorSet(); + auto *const cmdBuffer = _pipeline->getCommandBuffers()[0]; PipelineUBO::updateShadowUBOLightView(_pipeline, _shadowUBO, light); ds->getBuffer(UBOShadow::BINDING)->update(_shadowUBO.data(), UBOShadow::SIZE); } void PipelineUBO::updateShadowUBORange(uint offset, const Mat4 *data) { - memcpy(_shadowUBO.data() + offset, data->m, sizeof(data)); + memcpy(_shadowUBO.data() + offset, data->m, sizeof(*data)); } } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index e3f2ca1d36..0804cfe49c 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -72,13 +72,13 @@ RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _ gfx::Address::CLAMP, gfx::Address::CLAMP, }; - const auto shadowMapSamplerHash = SamplerLib::genSamplerHash(std::move(info)); + const auto shadowMapSamplerHash = SamplerLib::genSamplerHash(info); _sampler = SamplerLib::getSampler(shadowMapSamplerHash); _phaseID = getPhaseID("forward-add"); - _globalUBO.fill(0.f); - _shadowUBO.fill(0.f); + _globalUBO.fill(0.F); + _shadowUBO.fill(0.F); } RenderAdditiveLightQueue ::~RenderAdditiveLightQueue() { @@ -93,8 +93,8 @@ void RenderAdditiveLightQueue::recordCommandBuffer(gfx::Device *device, gfx::Ren _batchedQueue->recordCommandBuffer(device, renderPass, cmdBuffer); for (const auto &lightPass : _lightPasses) { - const auto subModel = lightPass.subModel; - const auto pass = lightPass.pass; + const auto *const subModel = lightPass.subModel; + const auto *const pass = lightPass.pass; const auto &dynamicOffsets = lightPass.dynamicOffsets; auto * shader = lightPass.shader; const auto lights = lightPass.lights; @@ -131,12 +131,12 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm const auto &renderObjects = _pipeline->getPipelineSceneData()->getRenderObjects(); for (const auto &renderObject : renderObjects) { - const auto model = renderObject.model; - if (!getLightPassIndex(model, lightPassIndices)) continue; + const auto *const model = renderObject.model; + if (!getLightPassIndex(model, &lightPassIndices)) continue; _lightIndices.clear(); for (size_t i = 0; i < _validLights.size(); i++) { - const auto light = _validLights[i]; + const auto *const light = _validLights[i]; const bool isCulled = cullingLight(light, model); if (!isCulled) { _lightIndices.emplace_back(i); @@ -144,14 +144,14 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm } if (_lightIndices.empty()) continue; - const auto subModelArrayID = model->getSubModelID(); + const auto *const subModelArrayID = model->getSubModelID(); const auto subModelCount = subModelArrayID[0]; for (unsigned j = 1; j <= subModelCount; j++) { const auto lightPassIdx = lightPassIndices[j - 1]; if (lightPassIdx == UINT_MAX) continue; - const auto subModel = model->getSubModelView(subModelArrayID[j]); - const auto pass = subModel->getPassView(lightPassIdx); - auto descriptorSet = subModel->getDescriptorSet(); + const auto *const subModel = model->getSubModelView(subModelArrayID[j]); + const auto *const pass = subModel->getPassView(lightPassIdx); + auto * descriptorSet = subModel->getDescriptorSet(); descriptorSet->bindBuffer(UBOForwardLight::BINDING, _firstLightBufferView); descriptorSet->update(); @@ -189,12 +189,12 @@ void RenderAdditiveLightQueue::clear() { } void RenderAdditiveLightQueue::gatherValidLights(const Camera *camera) { - const auto scene = camera->getScene(); - const auto sphereLightArrayID = scene->getSphereLightArrayID(); + const auto *const scene = camera->getScene(); + const auto *const sphereLightArrayID = scene->getSphereLightArrayID(); auto count = sphereLightArrayID ? sphereLightArrayID[0] : 0; Sphere sphere; for (unsigned i = 1; i <= count; i++) { - const auto light = scene->getSphereLight(sphereLightArrayID[i]); + const auto *const light = scene->getSphereLight(sphereLightArrayID[i]); sphere.setCenter(light->position); sphere.setRadius(light->range); if (sphere_frustum(&sphere, camera->getFrustum())) { @@ -202,10 +202,10 @@ void RenderAdditiveLightQueue::gatherValidLights(const Camera *camera) { getOrCreateDescriptorSet(light); } } - const auto spotLightArrayID = scene->getSpotLightArrayID(); + const auto *const spotLightArrayID = scene->getSpotLightArrayID(); count = spotLightArrayID ? spotLightArrayID[0] : 0; for (unsigned i = 1; i <= count; i++) { - const auto light = scene->getSpotLight(spotLightArrayID[i]); + const auto *const light = scene->getSpotLight(spotLightArrayID[i]); sphere.setCenter(light->position); sphere.setRadius(light->range); if (sphere_frustum(&sphere, camera->getFrustum())) { @@ -229,14 +229,14 @@ void RenderAdditiveLightQueue::addRenderQueue(const PassView *pass, const SubMod const auto batchingScheme = pass->getBatchingScheme(); if (batchingScheme == BatchingSchemes::INSTANCING) { // instancing for (auto idx : _lightIndices) { - auto buffer = InstancedBuffer::get(subModel->passID[lightPassIdx], idx); + auto *buffer = InstancedBuffer::get(subModel->passID[lightPassIdx], idx); buffer->merge(model, subModel, lightPassIdx); buffer->setDynamicOffset(0, _lightBufferStride * idx); _instancedQueue->add(buffer); } } else if (batchingScheme == BatchingSchemes::VB_MERGING) { // vb-merging for (auto idx : _lightIndices) { - auto buffer = BatchedBuffer::get(subModel->passID[lightPassIdx], idx); + auto *buffer = BatchedBuffer::get(subModel->passID[lightPassIdx], idx); buffer->merge(subModel, lightPassIdx, model); buffer->setDynamicOffset(0, _lightBufferStride * idx); _batchedQueue->add(buffer); @@ -261,19 +261,19 @@ void RenderAdditiveLightQueue::addRenderQueue(const PassView *pass, const SubMod void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { const auto exposure = camera->exposure; const auto validLightCount = _validLights.size(); - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + auto *const sceneData = _pipeline->getPipelineSceneData(); + auto *const sharedData = sceneData->getSharedData(); if (validLightCount > _lightBufferCount) { _firstLightBufferView->destroy(); - _lightBufferCount = nextPow2(validLightCount); + _lightBufferCount = nextPow2(static_cast(validLightCount)); _lightBuffer->resize(_lightBufferStride * _lightBufferCount); _lightBufferData.resize(_lightBufferElementCount * _lightBufferCount); _firstLightBufferView->initialize({_lightBuffer, 0, UBOForwardLight::SIZE}); } for (unsigned l = 0, offset = 0; l < validLightCount; l++, offset += _lightBufferElementCount) { - const auto light = _validLights[l]; + const auto *const light = _validLights[l]; auto index = offset + UBOForwardLight::LIGHT_POS_OFFSET; _lightBufferData[index++] = light->position.x; @@ -308,7 +308,7 @@ void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuff _lightBufferData[offset + UBOForwardLight::LIGHT_SIZE_RANGE_ANGLE_OFFSET + 2] = 0; break; case LightType::SPOT: - _lightBufferData[offset + UBOForwardLight::LIGHT_POS_OFFSET + 3] = 1.0f; + _lightBufferData[offset + UBOForwardLight::LIGHT_POS_OFFSET + 3] = 1.0F; _lightBufferData[offset + UBOForwardLight::LIGHT_SIZE_RANGE_ANGLE_OFFSET + 2] = light->spotAngle; index = offset + UBOForwardLight::LIGHT_DIR_OFFSET; @@ -321,13 +321,13 @@ void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuff } } - cmdBuffer->updateBuffer(_lightBuffer, _lightBufferData.data(), _lightBufferData.size() * sizeof(float)); + cmdBuffer->updateBuffer(_lightBuffer, _lightBufferData.data(), static_cast(_lightBufferData.size() * sizeof(float))); } void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { - const auto sceneData = _pipeline->getPipelineSceneData(); + auto *const sceneData = _pipeline->getPipelineSceneData(); auto * shadowInfo = sceneData->getSharedData()->getShadows(); - const auto scene = camera->getScene(); + const auto *const scene = camera->getScene(); const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); @@ -343,8 +343,8 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf descriptorSet->bindTexture(SHADOWMAP::BINDING, _pipeline->getDefaultTexture()); descriptorSet->update(); - _globalUBO.fill(0.0f); - _shadowUBO.fill(0.0f); + _globalUBO.fill(0.0F); + _shadowUBO.fill(0.0F); PipelineUBO::updateGlobalUBOView(_pipeline, _globalUBO); PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera, camera->getWindow()->hasOffScreenAttachments); @@ -361,14 +361,15 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf const auto matShadowView = matShadowCamera.getInversed(); cc::Mat4 matShadowViewProj; - cc::Mat4::createPerspective(light->spotAngle, light->aspect, 0.001f, light->range, &matShadowViewProj); + cc::Mat4::createPerspective(light->spotAngle, light->aspect, 0.001F, light->range, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); // shadow info - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, (float)shadowInfo->pcfType, shadowInfo->bias}; + float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; memcpy(_shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadowInfo->color, sizeof(Vec4)); + const float color[4] = {shadowInfo->color.x, shadowInfo->color.y, shadowInfo->color.z, shadowInfo->color.w}; + memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, color, sizeof(float) * 4); memcpy(_shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); // Spot light sampler binding const auto &shadowFramebufferMap = sceneData->getShadowFramebufferMap(); @@ -396,24 +397,24 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf } } -bool RenderAdditiveLightQueue::getLightPassIndex(const ModelView *model, vector &lightPassIndices) const { - lightPassIndices.clear(); +bool RenderAdditiveLightQueue::getLightPassIndex(const ModelView *model, vector *lightPassIndices) const { + lightPassIndices->clear(); bool hasValidLightPass = false; - const auto subModelArrayID = model->getSubModelID(); + const auto *const subModelArrayID = model->getSubModelID(); const auto count = subModelArrayID[0]; for (unsigned i = 1; i <= count; i++) { - const auto subModel = model->getSubModelView(subModelArrayID[i]); + const auto *const subModel = model->getSubModelView(subModelArrayID[i]); uint lightPassIndex = UINT_MAX; for (unsigned passIdx = 0; passIdx < subModel->passCount; passIdx++) { - const auto pass = subModel->getPassView(passIdx); + const auto *const pass = subModel->getPassView(passIdx); if (pass->phase == _phaseID) { lightPassIndex = passIdx; hasValidLightPass = true; break; } } - lightPassIndices.push_back(lightPassIndex); + lightPassIndices->push_back(lightPassIndex); } return hasValidLightPass; @@ -424,7 +425,7 @@ gfx::DescriptorSet *RenderAdditiveLightQueue::getOrCreateDescriptorSet(const Lig auto * device = gfx::Device::getInstance(); gfx::DescriptorSet *descriptorSet = device->createDescriptorSet({_pipeline->getDescriptorSetLayout()}); - auto globalUBO = device->createBuffer({ + auto *globalUBO = device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, UBOGlobal::SIZE, @@ -433,7 +434,7 @@ gfx::DescriptorSet *RenderAdditiveLightQueue::getOrCreateDescriptorSet(const Lig }); descriptorSet->bindBuffer(UBOGlobal::BINDING, globalUBO); - auto cameraUBO = device->createBuffer({ + auto *cameraUBO = device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, UBOCamera::SIZE, @@ -442,7 +443,7 @@ gfx::DescriptorSet *RenderAdditiveLightQueue::getOrCreateDescriptorSet(const Lig }); descriptorSet->bindBuffer(UBOCamera::BINDING, cameraUBO); - auto shadowUBO = device->createBuffer({ + auto *shadowUBO = device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, UBOShadow::SIZE, diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h index da0100434e..1859c4e2db 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h @@ -25,6 +25,7 @@ #pragma once +#include "Define.h" #include "base/CoreStd.h" #include "helper/SharedMemory.h" @@ -34,70 +35,67 @@ struct SubModelView; struct Light; struct RenderObject; struct PassView; +struct Sphere; class RenderPipeline; class DefineMap; class RenderInstancedQueue; class RenderBatchedQueue; -class Device; -struct Sphere; -class Shader; class ForwardPipeline; -class DescriptorSet; struct AdditiveLightPass { - const SubModelView *subModel = nullptr; - const PassView *pass = nullptr; - gfx::Shader *shader = nullptr; - vector dynamicOffsets; + const SubModelView * subModel = nullptr; + const PassView * pass = nullptr; + gfx::Shader * shader = nullptr; + vector dynamicOffsets; vector lights; }; class RenderAdditiveLightQueue : public Object { public: - RenderAdditiveLightQueue(RenderPipeline *pipeline); - ~RenderAdditiveLightQueue(); + explicit RenderAdditiveLightQueue(RenderPipeline *pipeline); + ~RenderAdditiveLightQueue() override; void recordCommandBuffer(gfx::Device *device, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer); void gatherLightPasses(const Camera *camera, gfx::CommandBuffer *cmdBuffer); void destroy(); private: - void clear(); - void gatherValidLights(const Camera *camera); - bool cullingLight(const Light *light, const ModelView *model); - void addRenderQueue(const PassView *pass, const SubModelView *subModel, const ModelView *model, uint lightPassIdx); - void updateUBOs(const Camera *camera, gfx::CommandBuffer *cmdBuffer); - void updateCameraUBO(const Camera *camera, gfx::CommandBuffer *cmdBuffer, bool hasOffScreenAttachments); - void updateLightDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer); - void updateGlobalDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer); - bool getLightPassIndex(const ModelView *model, vector &lightPassIndices) const; + static bool cullingLight(const Light *light, const ModelView *model); + + void clear(); + void gatherValidLights(const Camera *camera); + void addRenderQueue(const PassView *pass, const SubModelView *subModel, const ModelView *model, uint lightPassIdx); + void updateUBOs(const Camera *camera, gfx::CommandBuffer *cmdBuffer); + void updateCameraUBO(const Camera *camera, gfx::CommandBuffer *cmdBuffer, bool hasOffScreenAttachments); + void updateLightDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer); + void updateGlobalDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer); + bool getLightPassIndex(const ModelView *model, vector *lightPassIndices) const; gfx::DescriptorSet *getOrCreateDescriptorSet(const Light *); -private: - ForwardPipeline *_pipeline = nullptr; + ForwardPipeline * _pipeline = nullptr; vector> _sortedSubModelsArray; - vector> _sortedPSOCIArray; - vector _validLights; - vector _lightIndices; - vector _lightPasses; - vector _dynamicOffsets; - vector _lightBufferData; - RenderInstancedQueue *_instancedQueue = nullptr; - RenderBatchedQueue *_batchedQueue = nullptr; - gfx::Buffer *_lightBuffer = nullptr; - gfx::Buffer *_firstLightBufferView = nullptr; - gfx::Sampler *_sampler = nullptr; + vector> _sortedPSOCIArray; + vector _validLights; + vector _lightIndices; + vector _lightPasses; + vector _dynamicOffsets; + vector _lightBufferData; + RenderInstancedQueue * _instancedQueue = nullptr; + RenderBatchedQueue * _batchedQueue = nullptr; + gfx::Buffer * _lightBuffer = nullptr; + gfx::Buffer * _firstLightBufferView = nullptr; + gfx::Sampler * _sampler = nullptr; std::unordered_map _descriptorSetMap; - std::array _globalUBO; - std::array _cameraUBO; - std::array _shadowUBO; + std::array _globalUBO; + std::array _cameraUBO; + std::array _shadowUBO; - uint _lightBufferStride = 0; - uint _lightBufferElementCount = 0; - uint _lightBufferCount = 16; - float _lightMeterScale = 10000.0f; - uint _phaseID = 0; + uint _lightBufferStride = 0; + uint _lightBufferElementCount = 0; + uint _lightBufferCount = 16; + float _lightMeterScale = 10000.0F; + uint _phaseID = 0; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/RenderFlow.cpp b/native/cocos/renderer/pipeline/RenderFlow.cpp index 0ebe9aa852..11c83e03df 100644 --- a/native/cocos/renderer/pipeline/RenderFlow.cpp +++ b/native/cocos/renderer/pipeline/RenderFlow.cpp @@ -29,14 +29,13 @@ namespace cc { namespace pipeline { -RenderFlow::~RenderFlow() { -} +RenderFlow::~RenderFlow() = default; bool RenderFlow::initialize(const RenderFlowInfo &info) { - _name = info.name; + _name = info.name; _priority = info.priority; - _tag = info.tag; - _stages = info.stages; + _tag = info.tag; + _stages = info.stages; return true; } @@ -47,18 +46,21 @@ void RenderFlow::activate(RenderPipeline *pipeline) { return s1->getPriority() - s2->getPriority(); }); - for (const auto stage : _stages) + for (auto *const stage : _stages) { stage->activate(pipeline, this); + } } void RenderFlow::render(Camera *camera) { - for (const auto stage : _stages) + for (auto *const stage : _stages) { stage->render(camera); + } } void RenderFlow::destroy() { - for (const auto stage : _stages) + for (auto *const stage : _stages) { stage->destroy(); + } _stages.clear(); } diff --git a/native/cocos/renderer/pipeline/RenderFlow.h b/native/cocos/renderer/pipeline/RenderFlow.h index a4072063f1..ffb169d9b8 100644 --- a/native/cocos/renderer/pipeline/RenderFlow.h +++ b/native/cocos/renderer/pipeline/RenderFlow.h @@ -44,16 +44,16 @@ struct CC_DLL RenderFlowInfo { class CC_DLL RenderFlow : public Object { public: RenderFlow() = default; - virtual ~RenderFlow(); + ~RenderFlow() override; virtual bool initialize(const RenderFlowInfo &info); virtual void activate(RenderPipeline *pipeline); virtual void render(Camera *camera); virtual void destroy(); - CC_INLINE const String &getName() const { return _name; } - CC_INLINE uint getPriority() const { return _priority; } - CC_INLINE uint getTag() const { return _tag; } + inline const String &getName() const { return _name; } + inline uint getPriority() const { return _priority; } + inline uint getTag() const { return _tag; } protected: RenderStageList _stages; diff --git a/native/cocos/renderer/pipeline/RenderQueue.cpp b/native/cocos/renderer/pipeline/RenderQueue.cpp index 0dcb1fcd3f..1904a44843 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderQueue.cpp @@ -24,6 +24,8 @@ ****************************************************************************/ #include "RenderQueue.h" + +#include #include "PipelineStateManager.h" #include "gfx-base/GFXCommandBuffer.h" #include "gfx-base/GFXShader.h" @@ -32,8 +34,8 @@ namespace cc { namespace pipeline { -RenderQueue::RenderQueue(const RenderQueueCreateInfo &desc) -: _passDesc(desc) { +RenderQueue::RenderQueue(RenderQueueCreateInfo desc) +: _passDesc(std::move(desc)) { } void RenderQueue::clear() { @@ -41,10 +43,10 @@ void RenderQueue::clear() { } bool RenderQueue::insertRenderPass(const RenderObject &renderObj, uint subModelIdx, uint passIdx) { - const auto subModelID = renderObj.model->getSubModelID(); - const auto subModel = renderObj.model->getSubModelView(subModelID[subModelIdx]); - const auto pass = subModel->getPassView(passIdx); - const auto isTransparent = pass->getBlendState()->targets[0].blend; + const auto *const subModelID = renderObj.model->getSubModelID(); + const auto *const subModel = renderObj.model->getSubModelView(subModelID[subModelIdx]); + const auto *const pass = subModel->getPassView(passIdx); + const bool isTransparent = pass->getBlendState()->targets[0].blend; if (isTransparent != _passDesc.isTransparent || !(pass->phase & _passDesc.phases)) { return false; @@ -53,7 +55,7 @@ bool RenderQueue::insertRenderPass(const RenderObject &renderObj, uint subModelI const auto hash = (0 << 30) | (pass->priority << 16) | (subModel->priority << 8) | passIdx; uint shaderID = subModel->shaderID[passIdx]; RenderPass renderPass = {hash, renderObj.depth, shaderID, passIdx, subModel}; - _queue.emplace_back(std::move(renderPass)); + _queue.emplace_back(renderPass); return true; } @@ -61,16 +63,16 @@ void RenderQueue::sort() { std::sort(_queue.begin(), _queue.end(), _passDesc.sortFunc); } -void RenderQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuff) { - for (size_t i = 0; i < _queue.size(); ++i) { - const auto subModel = _queue[i].subModel; - const auto passIdx = _queue[i].passIndex; - auto inputAssembler = subModel->getInputAssembler(); +void RenderQueue::recordCommandBuffer(gfx::Device * /*device*/, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuff) { + for (auto & i : _queue) { + const auto *const subModel = i.subModel; + const auto passIdx = i.passIndex; + auto *inputAssembler = subModel->getInputAssembler(); - const auto pass = subModel->getPassView(passIdx); - auto shader = subModel->getShader(passIdx); + const auto *const pass = subModel->getPassView(passIdx); + auto *shader = subModel->getShader(passIdx); - auto pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, inputAssembler, renderPass); + auto *pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, inputAssembler, renderPass); cmdBuff->bindPipelineState(pso); cmdBuff->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); cmdBuff->bindDescriptorSet(LOCAL_SET, subModel->getDescriptorSet()); diff --git a/native/cocos/renderer/pipeline/RenderQueue.h b/native/cocos/renderer/pipeline/RenderQueue.h index 384e2518fe..5ff47247c0 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.h +++ b/native/cocos/renderer/pipeline/RenderQueue.h @@ -32,7 +32,7 @@ namespace pipeline { class CC_DLL RenderQueue : public Object { public: - RenderQueue(const RenderQueueCreateInfo &desc); + explicit RenderQueue(RenderQueueCreateInfo desc); void clear(); bool insertRenderPass(const RenderObject &renderObj, uint subModelIdx, uint passIdx); diff --git a/native/cocos/renderer/pipeline/RenderStage.h b/native/cocos/renderer/pipeline/RenderStage.h index 0b3427fb7f..e351c7857a 100644 --- a/native/cocos/renderer/pipeline/RenderStage.h +++ b/native/cocos/renderer/pipeline/RenderStage.h @@ -50,7 +50,7 @@ struct CC_DLL RenderStageInfo { class CC_DLL RenderStage : public Object { public: RenderStage(); - virtual ~RenderStage(); + ~RenderStage() override; virtual void activate(RenderPipeline *pipeline, RenderFlow *flow); virtual bool initialize(const RenderStageInfo &info); @@ -58,10 +58,10 @@ public: virtual void destroy(); virtual void render(Camera *camera) = 0; - CC_INLINE const String &getName() const { return _name; } - CC_INLINE uint getPriority() const { return _priority; } - CC_INLINE uint getTag() const { return _tag; } - CC_INLINE RenderFlow *getFlow() const {return _flow;} + inline const String &getName() const { return _name; } + inline uint getPriority() const { return _priority; } + inline uint getTag() const { return _tag; } + inline RenderFlow *getFlow() const {return _flow;} protected: RenderQueueDescList _renderQueueDescriptors; @@ -72,7 +72,7 @@ protected: String _name; uint _priority = 0; uint _tag = 0; - gfx::ColorList _clearColors = {{0, 0, 0, 0.0f}, {0, 0, 0, 0.0f}, {0, 0, 0, 0.0f}, {0, 0, 0, 0.0f}}; + gfx::ColorList _clearColors = {{0.0F, 0.0F, 0.0F, 0.0F}, {0.0F, 0.0F, 0.0F, 0.0F}, {0.0F, 0.0F, 0.0F, 0.0F}, {0.0F, 0.0F, 0.0F, 0.0F}}; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 18aa04928e..92d9a4968d 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -44,14 +44,14 @@ namespace cc { namespace pipeline { namespace { #define TO_VEC3(dst, src, offset) \ - dst[offset] = src.x; \ - dst[offset + 1] = src.y; \ - dst[offset + 2] = src.z; + dst[offset] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ + (dst)[(offset) + 2] = (src).z; #define TO_VEC4(dst, src, offset) \ - dst[offset] = src.x; \ - dst[offset + 1] = src.y; \ - dst[offset + 2] = src.z; \ - dst[offset + 3] = src.w; + dst[offset] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ + (dst)[(offset) + 2] = (src).z; \ + (dst)[(offset) + 3] = (src).w; } // namespace gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFlags) { @@ -59,7 +59,7 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl return _renderPasses[clearFlags]; } - auto device = gfx::Device::getInstance(); + auto * device = gfx::Device::getInstance(); gfx::ColorAttachment colorAttachment; gfx::DepthStencilAttachment depthStencilAttachment; colorAttachment.format = device->getColorFormat(); @@ -82,7 +82,7 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl depthStencilAttachment.beginAccesses = {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; } - auto renderPass = device->createRenderPass({ + auto *renderPass = device->createRenderPass({ {colorAttachment}, depthStencilAttachment, }); @@ -94,16 +94,16 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl bool DeferredPipeline::initialize(const RenderPipelineInfo &info) { RenderPipeline::initialize(info); - if (_flows.size() == 0) { - auto shadowFlow = CC_NEW(ShadowFlow); + if (_flows.empty()) { + auto *shadowFlow = CC_NEW(ShadowFlow); shadowFlow->initialize(ShadowFlow::getInitializeInfo()); _flows.emplace_back(shadowFlow); - auto gbufferFlow = CC_NEW(GbufferFlow); + auto *gbufferFlow = CC_NEW(GbufferFlow); gbufferFlow->initialize(GbufferFlow::getInitializeInfo()); _flows.emplace_back(gbufferFlow); - auto lightingFlow = CC_NEW(LightingFlow); + auto *lightingFlow = CC_NEW(LightingFlow); lightingFlow->initialize(LightingFlow::getInitializeInfo()); _flows.emplace_back(lightingFlow); } @@ -128,13 +128,13 @@ bool DeferredPipeline::activate() { } void DeferredPipeline::render(const vector &cameras) { - if (cameras.size() == 0) return; + if (cameras.empty()) return; _commandBuffers[0]->begin(); _pipelineUBO->updateGlobalUBO(); for (const auto cameraId : cameras) { - Camera *camera = GET_CAMERA(cameraId); + auto *camera = GET_CAMERA(cameraId); _pipelineUBO->updateCameraUBO(camera, true); - for (const auto flow : _flows) { + for (auto *const flow : _flows) { flow->render(camera); } } @@ -143,7 +143,7 @@ void DeferredPipeline::render(const vector &cameras) { _device->getQueue()->submit(_commandBuffers); } -bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer *&quadIB, gfx::Buffer *&quadVB, gfx::InputAssembler *&quadIA, gfx::SurfaceTransform surfaceTransform) { +bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer *quadIB, gfx::Buffer *quadVB, gfx::InputAssembler *quadIA, gfx::SurfaceTransform surfaceTransform) { // step 1 create vertex buffer uint vbStride = sizeof(float) * 4; uint vbSize = vbStride * 4; @@ -259,28 +259,25 @@ bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer *&quadIB, gfx::Buffe info.vertexBuffers.push_back(quadVB); info.indexBuffer = quadIB; quadIA = _device->createInputAssembler(info); - if (!quadIA) { - return false; - } - - return true; + return quadIA != nullptr; } gfx::Rect DeferredPipeline::getRenderArea(Camera *camera, bool onScreen) { gfx::Rect renderArea; - uint w, h; + uint w; + uint h; if (onScreen) { - w = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->height : camera->width; - h = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->width : camera->height; + w = camera->getWindow()->hasOnScreenAttachments && static_cast(_device->getSurfaceTransform()) % 2 ? camera->height : camera->width; + h = camera->getWindow()->hasOnScreenAttachments && static_cast(_device->getSurfaceTransform()) % 2 ? camera->width : camera->height; } else { w = camera->width; h = camera->height; } - renderArea.x = camera->viewportX * w; - renderArea.y = camera->viewportY * h; - renderArea.width = camera->viewportWidth * w * _pipelineSceneData->getSharedData()->shadingScale; - renderArea.height = camera->viewportHeight * h * _pipelineSceneData->getSharedData()->shadingScale; + renderArea.x = static_cast(camera->viewportX * w); + renderArea.y = static_cast(camera->viewportY * h); + renderArea.width = static_cast(camera->viewportWidth * w * _pipelineSceneData->getSharedData()->shadingScale); + renderArea.height = static_cast(camera->viewportHeight * h * _pipelineSceneData->getSharedData()->shadingScale); return renderArea; } @@ -313,7 +310,7 @@ void DeferredPipeline::destroyQuadInputAssembler() { bool DeferredPipeline::activeRenderer() { _commandBuffers.push_back(_device->getCommandBuffer()); - const auto sharedData = _pipelineSceneData->getSharedData(); + auto *const sharedData = _pipelineSceneData->getSharedData(); gfx::SamplerInfo info{ gfx::Filter::LINEAR, @@ -323,8 +320,8 @@ bool DeferredPipeline::activeRenderer() { gfx::Address::CLAMP, gfx::Address::CLAMP, }; - const auto samplerHash = SamplerLib::genSamplerHash(std::move(info)); - const auto sampler = SamplerLib::getSampler(samplerHash); + const auto samplerHash = SamplerLib::genSamplerHash(info); + auto *const sampler = SamplerLib::getSampler(samplerHash); // Main light sampler binding this->_descriptorSet->bindSampler(SHADOWMAP::BINDING, sampler); diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h index 7754a8ca5f..54a122ba7a 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -42,8 +42,7 @@ struct Ambient; struct Skybox; struct Shadows; struct Sphere; -class Framebuffer; -class Camera; +struct Camera; struct CC_DLL DeferredRenderData { gfx::TextureList gbufferRenderTargets; @@ -56,13 +55,13 @@ struct CC_DLL DeferredRenderData { class CC_DLL DeferredPipeline : public RenderPipeline { public: DeferredPipeline() = default; - ~DeferredPipeline() = default; + ~DeferredPipeline() override = default; - virtual bool initialize(const RenderPipelineInfo &info) override; - virtual void destroy() override; - virtual bool activate() override; - virtual void render(const vector &cameras) override; - virtual void resize(uint width, uint height) override; + bool initialize(const RenderPipelineInfo &info) override; + void destroy() override; + bool activate() override; + void render(const vector &cameras) override; + void resize(uint width, uint height) override; gfx::RenderPass *getOrCreateRenderPass(gfx::ClearFlags clearFlags); @@ -73,18 +72,18 @@ public: CC_INLINE const UintList &getLightIndices() const { return _lightIndices; } gfx::InputAssembler *getQuadIAOnScreen(){return _quadIAOnscreen;} gfx::InputAssembler *getQuadIAOffScreen(){return _quadIAOffscreen;} - gfx::Rect getRenderArea(Camera *view, bool onScreen); + gfx::Rect getRenderArea(Camera *camera, bool onScreen); CC_INLINE DeferredRenderData *getDeferredRenderData(){return _deferredRenderData; }; private: bool activeRenderer(); - bool createQuadInputAssembler(gfx::Buffer* &quadIB, gfx::Buffer* &quadVB, gfx::InputAssembler* &quadIA, + bool createQuadInputAssembler(gfx::Buffer* quadIB, gfx::Buffer* quadVB, gfx::InputAssembler* quadIA, gfx::SurfaceTransform surfaceTransform); void destroyQuadInputAssembler(); void destroyDeferredData(); void generateDeferredRenderData(); -private: + gfx::Buffer *_lightsUBO = nullptr; LightList _validLights; gfx::BufferList _lightBuffers; diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp index eb35b09645..dfcbd58502 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp @@ -34,22 +34,21 @@ namespace cc { namespace pipeline { -RenderFlowInfo GbufferFlow::_initInfo = { +RenderFlowInfo GbufferFlow::initInfo = { "GbufferFlow", static_cast(DeferredFlowPriority::GBUFFER), static_cast(RenderFlowTag::SCENE), {}, }; -const RenderFlowInfo &GbufferFlow::getInitializeInfo() { return GbufferFlow::_initInfo; } +const RenderFlowInfo &GbufferFlow::getInitializeInfo() { return GbufferFlow::initInfo; } -GbufferFlow::~GbufferFlow() { -} +GbufferFlow::~GbufferFlow() = default; bool GbufferFlow::initialize(const RenderFlowInfo &info) { RenderFlow::initialize(info); - if (_stages.size() == 0) { - GbufferStage *gbufferStage = CC_NEW(GbufferStage); + if (_stages.empty()) { + auto *gbufferStage = CC_NEW(GbufferStage); gbufferStage->initialize(GbufferStage::getInitializeInfo()); _stages.emplace_back(gbufferStage); } @@ -62,7 +61,7 @@ void GbufferFlow::activate(RenderPipeline *pipeline) { } void GbufferFlow::render(Camera *camera) { - auto pipeline = static_cast(_pipeline); + auto *pipeline = static_cast(_pipeline); sceneCulling(pipeline, camera); RenderFlow::render(camera); } diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.h b/native/cocos/renderer/pipeline/deferred/GbufferFlow.h index af90464aff..6ca2215ece 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.h +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.h @@ -30,7 +30,7 @@ namespace cc { namespace pipeline { -class Camera; +struct Camera; class GbufferStage; class CC_DLL GbufferFlow : public RenderFlow { @@ -38,16 +38,15 @@ public: static const RenderFlowInfo &getInitializeInfo(); GbufferFlow() = default; - virtual ~GbufferFlow(); + ~GbufferFlow() override; - virtual bool initialize(const RenderFlowInfo &info) override; - virtual void activate(RenderPipeline *pipeline) override; - virtual void destroy() override; - virtual void render(Camera *camera) override; + bool initialize(const RenderFlowInfo &info) override; + void activate(RenderPipeline *pipeline) override; + void destroy() override; + void render(Camera *camera) override; private: - static RenderFlowInfo _initInfo; - GbufferStage *_GbufferStage = nullptr; + static RenderFlowInfo initInfo; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp index d19204d067..65e9a0fd8a 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp @@ -41,34 +41,33 @@ namespace cc { namespace pipeline { namespace { -void SRGBToLinear(gfx::Color &out, const gfx::Color &gamma) { - out.x = gamma.x * gamma.x; - out.y = gamma.y * gamma.y; - out.z = gamma.z * gamma.z; +void srgbToLinear(gfx::Color *out, const gfx::Color &gamma) { + out->x = gamma.x * gamma.x; + out->y = gamma.y * gamma.y; + out->z = gamma.z * gamma.z; } -void LinearToSRGB(gfx::Color &out, const gfx::Color &linear) { - out.x = std::sqrt(linear.x); - out.y = std::sqrt(linear.y); - out.z = std::sqrt(linear.z); +void linearToSrgb(gfx::Color *out, const gfx::Color &linear) { + out->x = std::sqrt(linear.x); + out->y = std::sqrt(linear.y); + out->z = std::sqrt(linear.z); } } // namespace -RenderStageInfo GbufferStage::_initInfo = { +RenderStageInfo GbufferStage::initInfo = { "GbufferStage", static_cast(DeferredStagePriority::GBUFFER), static_cast(RenderFlowTag::SCENE), {{false, RenderQueueSortMode::FRONT_TO_BACK, {"default"}}, {true, RenderQueueSortMode::BACK_TO_FRONT, {"default", "planarShadow"}}}}; -const RenderStageInfo &GbufferStage::getInitializeInfo() { return GbufferStage::_initInfo; } +const RenderStageInfo &GbufferStage::getInitializeInfo() { return GbufferStage::initInfo; } -GbufferStage::GbufferStage() : RenderStage() { +GbufferStage::GbufferStage() { _batchedQueue = CC_NEW(RenderBatchedQueue); _instancedQueue = CC_NEW(RenderInstancedQueue); } -GbufferStage::~GbufferStage() { -} +GbufferStage::~GbufferStage() = default; bool GbufferStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); @@ -113,35 +112,35 @@ void GbufferStage::destroy() { void GbufferStage::render(Camera *camera) { _instancedQueue->clear(); _batchedQueue->clear(); - auto pipeline = static_cast(_pipeline); + auto *pipeline = static_cast(_pipeline); const auto &renderObjects = _pipeline->getPipelineSceneData()->getRenderObjects(); if (renderObjects.empty()) { return; } - for (auto queue : _renderQueues) { + for (auto *queue : _renderQueues) { queue->clear(); } - uint m = 0, p = 0; + uint m = 0; + uint p = 0; size_t k = 0; - for (size_t i = 0; i < renderObjects.size(); ++i) { - const auto &ro = renderObjects[i]; - const auto model = ro.model; - const auto subModelID = model->getSubModelID(); + for (auto ro : renderObjects) { + const auto *const model = ro.model; + const auto *const subModelID = model->getSubModelID(); const auto subModelCount = subModelID[0]; for (m = 1; m <= subModelCount; ++m) { - auto subModel = model->getSubModelView(subModelID[m]); + const auto *subModel = model->getSubModelView(subModelID[m]); for (p = 0; p < subModel->passCount; ++p) { const PassView *pass = subModel->getPassView(p); if (pass->phase != _phaseID) continue; if (pass->getBatchingScheme() == BatchingSchemes::INSTANCING) { - auto instancedBuffer = InstancedBuffer::get(subModel->passID[p]); + auto *instancedBuffer = InstancedBuffer::get(subModel->passID[p]); instancedBuffer->merge(model, subModel, p); _instancedQueue->add(instancedBuffer); } else if (pass->getBatchingScheme() == BatchingSchemes::VB_MERGING) { - auto batchedBuffer = BatchedBuffer::get(subModel->passID[p]); + auto *batchedBuffer = BatchedBuffer::get(subModel->passID[p]); batchedBuffer->merge(subModel, p, model); _batchedQueue->add(batchedBuffer); } else { @@ -152,11 +151,11 @@ void GbufferStage::render(Camera *camera) { } } } - for (auto queue : _renderQueues) { + for (auto *queue : _renderQueues) { queue->sort(); } - auto cmdBuff = pipeline->getCommandBuffers()[0]; + auto *cmdBuff = pipeline->getCommandBuffers()[0]; _instancedQueue->uploadBuffers(cmdBuff); _batchedQueue->uploadBuffers(cmdBuff); @@ -164,9 +163,9 @@ void GbufferStage::render(Camera *camera) { // render area is not oriented _renderArea = pipeline->getRenderArea(camera, false); - const auto deferredData = pipeline->getDeferredRenderData(); - auto framebuffer = deferredData->gbufferFrameBuffer; - auto renderPass = framebuffer->getRenderPass(); + auto *const deferredData = pipeline->getDeferredRenderData(); + auto *framebuffer = deferredData->gbufferFrameBuffer; + auto *renderPass = framebuffer->getRenderPass(); cmdBuff->beginRenderPass(renderPass, framebuffer, _renderArea, _clearColors, camera->clearDepth, camera->clearStencil); cmdBuff->bindDescriptorSet(GLOBAL_SET, _pipeline->getDescriptorSet()); diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.h b/native/cocos/renderer/pipeline/deferred/GbufferStage.h index 2ad39bd251..546d10f161 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.h +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.h @@ -32,11 +32,11 @@ namespace cc { namespace pipeline { class RenderFlow; -class Camera; class RenderBatchedQueue; class RenderInstancedQueue; class RenderAdditiveLightQueue; class PlanarShadowQueue; +struct Camera; struct DeferredRenderData; class CC_DLL GbufferStage : public RenderStage { @@ -44,15 +44,15 @@ public: static const RenderStageInfo &getInitializeInfo(); GbufferStage(); - ~GbufferStage(); + ~GbufferStage() override; - virtual bool initialize(const RenderStageInfo &info) override; - virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; - virtual void destroy() override; - virtual void render(Camera *camera) override; + bool initialize(const RenderStageInfo &info) override; + void activate(RenderPipeline *pipeline, RenderFlow *flow) override; + void destroy() override; + void render(Camera *camera) override; private: - static RenderStageInfo _initInfo; + static RenderStageInfo initInfo; PlanarShadowQueue *_planarShadowQueue = nullptr; RenderBatchedQueue *_batchedQueue = nullptr; RenderInstancedQueue *_instancedQueue = nullptr; diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp index aa60a19b31..533e42e409 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.cpp @@ -43,29 +43,28 @@ namespace cc { namespace pipeline { namespace { -void SRGBToLinear(gfx::Color &out, const gfx::Color &gamma) { - out.x = gamma.x * gamma.x; - out.y = gamma.y * gamma.y; - out.z = gamma.z * gamma.z; +void srgbToLinear(gfx::Color *out, const gfx::Color &gamma) { + out->x = gamma.x * gamma.x; + out->y = gamma.y * gamma.y; + out->z = gamma.z * gamma.z; } -void LinearToSRGB(gfx::Color &out, const gfx::Color &linear) { - out.x = std::sqrt(linear.x); - out.y = std::sqrt(linear.y); - out.z = std::sqrt(linear.z); +void linearToSrgb(gfx::Color *out, const gfx::Color &linear) { + out->x = std::sqrt(linear.x); + out->y = std::sqrt(linear.y); + out->z = std::sqrt(linear.z); } } // namespace -RenderStageInfo LightingStage::_initInfo = { +RenderStageInfo LightingStage::initInfo = { "LightingStage", static_cast(DeferredStagePriority::LIGHTING), static_cast(RenderFlowTag::SCENE), }; -const RenderStageInfo &LightingStage::getInitializeInfo() { return LightingStage::_initInfo; } +const RenderStageInfo &LightingStage::getInitializeInfo() { return LightingStage::initInfo; } -LightingStage::LightingStage() : RenderStage() { -} +LightingStage::LightingStage() = default; LightingStage::~LightingStage() { _deferredLitsBufs->destroy(); @@ -82,31 +81,31 @@ bool LightingStage::initialize(const RenderStageInfo &info) { } void LightingStage::gatherLights(Camera *camera) { - DeferredPipeline *pipeline = dynamic_cast(_pipeline); + auto *pipeline = dynamic_cast(_pipeline); if (!pipeline) { return; } - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + auto *const sceneData = _pipeline->getPipelineSceneData(); + auto *const sharedData = sceneData->getSharedData(); gfx::CommandBuffer *cmdBuf = pipeline->getCommandBuffers()[0]; - auto scene = camera->getScene(); - const auto sphereLightArrayID = scene->getSphereLightArrayID(); + const auto *scene = camera->getScene(); + const auto *const sphereLightArrayID = scene->getSphereLightArrayID(); auto sphereCount = sphereLightArrayID ? sphereLightArrayID[0] : 0; - const auto spotLightArrayID = scene->getSpotLightArrayID(); + const auto *const spotLightArrayID = scene->getSpotLightArrayID(); auto spotCount = spotLightArrayID ? spotLightArrayID[0] : 0; Sphere sphere; auto exposure = camera->exposure; - int idx = 0; + uint idx = 0; int elementLen = sizeof(cc::Vec4) / sizeof(float); - int fieldLen = elementLen * _maxDeferredLights; + uint fieldLen = elementLen * _maxDeferredLights; uint offset = 0; cc::Vec4 tmpArray; - for (int i = 1; i <= sphereCount && idx < _maxDeferredLights; i++, idx++) { - const auto light = scene->getSphereLight(sphereLightArrayID[i]); + for (uint i = 1; i <= sphereCount && idx < _maxDeferredLights; i++, idx++) { + const auto *const light = scene->getSphereLight(sphereLightArrayID[i]); sphere.setCenter(light->position); sphere.setRadius(light->range); if (!sphere_frustum(&sphere, camera->getFrustum())) { @@ -146,8 +145,8 @@ void LightingStage::gatherLights(Camera *camera) { _lightBufferData[offset + 2] = 0; } - for (int i = 1; i <= spotCount && idx < _maxDeferredLights; i++, idx++) { - const auto light = scene->getSpotLight(spotLightArrayID[i]); + for (uint i = 1; i <= spotCount && idx < _maxDeferredLights; i++, idx++) { + const auto *const light = scene->getSpotLight(spotLightArrayID[i]); sphere.setCenter(light->position); sphere.setRadius(light->range); if (!sphere_frustum(&sphere, camera->getFrustum())) { @@ -194,16 +193,16 @@ void LightingStage::gatherLights(Camera *camera) { } // the count of lights is set to cc_lightDir[0].w - _lightBufferData[fieldLen * 3 + 3] = idx; + _lightBufferData[fieldLen * 3 + 3] = static_cast(idx); cmdBuf->updateBuffer(_deferredLitsBufs, _lightBufferData.data()); } void LightingStage::initLightingBuffer() { - const auto device = _pipeline->getDevice(); + auto *const device = _pipeline->getDevice(); // color/pos/dir/angle 都是vec4存储, 最后一个vec4只要x存储光源个数 uint totalSize = sizeof(Vec4) * 4 * _maxDeferredLights; - totalSize = std::ceil((float)totalSize / device->getCapabilities().uboOffsetAlignment) * device->getCapabilities().uboOffsetAlignment; + totalSize = static_cast(std::ceil(static_cast(totalSize) / device->getCapabilities().uboOffsetAlignment) * device->getCapabilities().uboOffsetAlignment); // create lighting buffer and view if (_deferredLitsBufs == nullptr) { @@ -230,7 +229,7 @@ void LightingStage::initLightingBuffer() { void LightingStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { RenderStage::activate(pipeline, flow); - const auto device = pipeline->getDevice(); + auto *const device = pipeline->getDevice(); // create descriptorset/layout gfx::DescriptorSetLayoutInfo layoutInfo = {localDescriptorSetLayout.bindings}; @@ -251,16 +250,16 @@ void LightingStage::destroy() { } void LightingStage::render(Camera *camera) { - auto pipeline = static_cast(_pipeline); - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + auto *pipeline = static_cast(_pipeline); + auto *const sceneData = _pipeline->getPipelineSceneData(); + auto *const sharedData = sceneData->getSharedData(); const auto &renderObjects = sceneData->getRenderObjects(); if (renderObjects.empty()) { return; } - auto cmdBuff = pipeline->getCommandBuffers()[0]; + auto *cmdBuff = pipeline->getCommandBuffers()[0]; // lighting info gatherLights(camera); @@ -275,7 +274,7 @@ void LightingStage::render(Camera *camera) { gfx::Color clearColor = {0.0, 0.0, 0.0, 1.0}; if (camera->clearFlag & static_cast( gfx::ClearFlagBit::COLOR)) { if (sharedData->isHDR) { - SRGBToLinear(clearColor, camera->clearColor); + srgbToLinear(&clearColor, camera->clearColor); const auto scale = sharedData->fpScale / camera->exposure; clearColor.x *= scale; clearColor.y *= scale; @@ -287,9 +286,9 @@ void LightingStage::render(Camera *camera) { clearColor.w = 0; - const auto deferredData = pipeline->getDeferredRenderData(); - auto frameBuffer = deferredData->lightingFrameBuff; - auto renderPass = frameBuffer->getRenderPass(); + auto *const deferredData = pipeline->getDeferredRenderData(); + auto *frameBuffer = deferredData->lightingFrameBuff; + auto *renderPass = frameBuffer->getRenderPass(); cmdBuff->beginRenderPass(renderPass, frameBuffer, renderArea, &clearColor, camera->clearDepth, camera->clearStencil); diff --git a/native/cocos/renderer/pipeline/deferred/LightingStage.h b/native/cocos/renderer/pipeline/deferred/LightingStage.h index ff28681f1e..6cae0045f9 100644 --- a/native/cocos/renderer/pipeline/deferred/LightingStage.h +++ b/native/cocos/renderer/pipeline/deferred/LightingStage.h @@ -31,11 +31,11 @@ namespace cc { namespace pipeline { class RenderFlow; -class Camera; class RenderBatchedQueue; class RenderInstancedQueue; class RenderAdditiveLightQueue; class PlanarShadowQueue; +struct Camera; struct DeferredRenderData; class CC_DLL LightingStage : public RenderStage { @@ -43,20 +43,19 @@ public: static const RenderStageInfo &getInitializeInfo(); LightingStage(); - ~LightingStage(); + ~LightingStage() override; - virtual bool initialize(const RenderStageInfo &info) override; - virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; - virtual void destroy() override; - virtual void render(Camera *camera) override; + bool initialize(const RenderStageInfo &info) override; + void activate(RenderPipeline *pipeline, RenderFlow *flow) override; + void destroy() override; + void render(Camera *camera) override; void initLightingBuffer(); private: void gatherLights(Camera *camera); - -private: - static RenderStageInfo _initInfo; + + static RenderStageInfo initInfo; PlanarShadowQueue *_planarShadowQueue = nullptr; gfx::Rect _renderArea; uint _phaseID = 0; diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp index aa34becc0d..5e5555b257 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp @@ -35,14 +35,14 @@ namespace cc { namespace pipeline { -RenderStageInfo PostprocessStage::_initInfo = { +RenderStageInfo PostprocessStage::initInfo = { "PostprocessStage", static_cast(DeferredStagePriority::POSTPROCESS), 0, {{true, RenderQueueSortMode::BACK_TO_FRONT, {"default"}}}, }; -PostprocessStage::PostprocessStage() : RenderStage() { +PostprocessStage::PostprocessStage() { _uiPhase = CC_NEW(UIPhase); } @@ -83,7 +83,7 @@ void PostprocessStage::destroy() { } void PostprocessStage::render(Camera *camera) { - DeferredPipeline *pp = dynamic_cast(_pipeline); + auto *pp = dynamic_cast(_pipeline); assert(pp != nullptr); gfx::Device *device = pp->getDevice(); gfx::CommandBuffer *cmdBf = pp->getCommandBuffers()[0]; @@ -101,14 +101,14 @@ void PostprocessStage::render(Camera *camera) { gfx::Framebuffer *fb = camera->getWindow()->getFramebuffer(); const auto &colorTextures = fb->getColorTextures(); - gfx::RenderPass *rp = colorTextures.size() && colorTextures[0] ? + gfx::RenderPass *rp = !colorTextures.empty() && colorTextures[0] ? fb->getRenderPass() : pp->getOrCreateRenderPass(static_cast(camera->clearFlag)); cmdBf->beginRenderPass(rp, fb, renderArea, _clearColors, camera->clearDepth, camera->clearStencil); cmdBf->bindDescriptorSet(static_cast(SetIndex::GLOBAL), pp->getDescriptorSet()); // post proces - const auto sceneData = _pipeline->getPipelineSceneData(); + auto *const sceneData = _pipeline->getPipelineSceneData(); PassView *pv = sceneData->getSharedData()->getDeferredPostPass(); gfx::Shader *sd = sceneData->getSharedData()->getDeferredPostPassShader(); const auto &renderObjects = sceneData->getRenderObjects(); @@ -124,22 +124,22 @@ void PostprocessStage::render(Camera *camera) { } // transparent - for (auto queue : _renderQueues) { + for (auto *queue : _renderQueues) { queue->clear(); } - uint m = 0, p = 0; + uint m = 0; + uint p = 0; size_t k = 0; - for (size_t i = 0; i < renderObjects.size(); ++i) { - const auto &ro = renderObjects[i]; - const auto model = ro.model; - const auto subModelID = model->getSubModelID(); + for (auto ro : renderObjects) { + const auto *const model = ro.model; + const auto *const subModelID = model->getSubModelID(); const auto subModelCount = subModelID[0]; for (m = 1; m <= subModelCount; ++m) { - auto subModel = model->getSubModelView(subModelID[m]); + const auto *subModel = model->getSubModelView(subModelID[m]); for (p = 0; p < subModel->passCount; ++p) { const PassView *pass = subModel->getPassView(p); - // TODO: need fallback of ulit and gizmo material. + // TODO(xwx): need fallback of ulit and gizmo material. if (pass->phase != _phaseID) continue; for (k = 0; k < _renderQueues.size(); k++) { _renderQueues[k]->insertRenderPass(ro, m, p); @@ -148,7 +148,7 @@ void PostprocessStage::render(Camera *camera) { } } - for (auto queue : _renderQueues) { + for (auto *queue : _renderQueues) { queue->sort(); queue->recordCommandBuffer(_device, rp, cmdBf); } diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h index dd101bfd7b..6cefa81a08 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.h +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.h @@ -30,22 +30,22 @@ namespace cc { namespace pipeline { -class Camera; +struct Camera; class UIPhase; class CC_DLL PostprocessStage : public RenderStage { public: PostprocessStage(); - ~PostprocessStage() {}; + ~PostprocessStage() override = default;; - virtual bool initialize(const RenderStageInfo &info) override; - virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; - virtual void destroy() override; - virtual void render(Camera *camera) override; + bool initialize(const RenderStageInfo &info) override; + void activate(RenderPipeline *pipeline, RenderFlow *flow) override; + void destroy() override; + void render(Camera *camera) override; private: gfx::Rect _renderArea; - static RenderStageInfo _initInfo; + static RenderStageInfo initInfo; UIPhase *_uiPhase = nullptr; uint _phaseID = 0; diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp index 7279780a0c..9a76675193 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp @@ -42,35 +42,34 @@ namespace cc { namespace pipeline { namespace { -void SRGBToLinear(gfx::Color &out, const gfx::Color &gamma) { - out.x = gamma.x * gamma.x; - out.y = gamma.y * gamma.y; - out.z = gamma.z * gamma.z; +void srgbToLinear(gfx::Color *out, const gfx::Color &gamma) { + out->x = gamma.x * gamma.x; + out->y = gamma.y * gamma.y; + out->z = gamma.z * gamma.z; } -void LinearToSRGB(gfx::Color &out, const gfx::Color &linear) { - out.x = std::sqrt(linear.x); - out.y = std::sqrt(linear.y); - out.z = std::sqrt(linear.z); +void linearToSrgb(gfx::Color *out, const gfx::Color &linear) { + out->x = std::sqrt(linear.x); + out->y = std::sqrt(linear.y); + out->z = std::sqrt(linear.z); } } // namespace -RenderStageInfo ForwardStage::_initInfo = { +RenderStageInfo ForwardStage::initInfo = { "ForwardStage", static_cast(ForwardStagePriority::FORWARD), static_cast(RenderFlowTag::SCENE), {{false, RenderQueueSortMode::FRONT_TO_BACK, {"default"}}, {true, RenderQueueSortMode::BACK_TO_FRONT, {"default", "planarShadow"}}}}; -const RenderStageInfo &ForwardStage::getInitializeInfo() { return ForwardStage::_initInfo; } +const RenderStageInfo &ForwardStage::getInitializeInfo() { return ForwardStage::initInfo; } -ForwardStage::ForwardStage() : RenderStage() { +ForwardStage::ForwardStage() { _batchedQueue = CC_NEW(RenderBatchedQueue); _instancedQueue = CC_NEW(RenderInstancedQueue); _uiPhase = CC_NEW(UIPhase); } -ForwardStage::~ForwardStage() { -} +ForwardStage::~ForwardStage() = default; bool ForwardStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); @@ -94,6 +93,7 @@ void ForwardStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { break; case RenderQueueSortMode::FRONT_TO_BACK: sortFunc = opaqueCompareFn; + break; default: break; } @@ -119,34 +119,34 @@ void ForwardStage::destroy() { void ForwardStage::render(Camera *camera) { _instancedQueue->clear(); _batchedQueue->clear(); - auto pipeline = static_cast(_pipeline); - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + auto *pipeline = static_cast(_pipeline); + auto *const sceneData = _pipeline->getPipelineSceneData(); + auto *const sharedData = sceneData->getSharedData(); const auto &renderObjects = sceneData->getRenderObjects(); - for (auto queue : _renderQueues) { + for (auto *queue : _renderQueues) { queue->clear(); } - uint m = 0, p = 0; + uint m = 0; + uint p = 0; size_t k = 0; - for (size_t i = 0; i < renderObjects.size(); ++i) { - const auto &ro = renderObjects[i]; - const auto model = ro.model; - const auto subModelID = model->getSubModelID(); + for (auto ro : renderObjects) { + const auto *const model = ro.model; + const auto *const subModelID = model->getSubModelID(); const auto subModelCount = subModelID[0]; for (m = 1; m <= subModelCount; ++m) { - auto subModel = model->getSubModelView(subModelID[m]); + const auto *subModel = model->getSubModelView(subModelID[m]); for (p = 0; p < subModel->passCount; ++p) { const PassView *pass = subModel->getPassView(p); if (pass->phase != _phaseID) continue; if (pass->getBatchingScheme() == BatchingSchemes::INSTANCING) { - auto instancedBuffer = InstancedBuffer::get(subModel->passID[p]); + auto *instancedBuffer = InstancedBuffer::get(subModel->passID[p]); instancedBuffer->merge(model, subModel, p); _instancedQueue->add(instancedBuffer); } else if (pass->getBatchingScheme() == BatchingSchemes::VB_MERGING) { - auto batchedBuffer = BatchedBuffer::get(subModel->passID[p]); + auto *batchedBuffer = BatchedBuffer::get(subModel->passID[p]); batchedBuffer->merge(subModel, p, model); _batchedQueue->add(batchedBuffer); } else { @@ -157,11 +157,11 @@ void ForwardStage::render(Camera *camera) { } } } - for (auto queue : _renderQueues) { + for (auto *queue : _renderQueues) { queue->sort(); } - auto cmdBuff = pipeline->getCommandBuffers()[0]; + auto *cmdBuff = pipeline->getCommandBuffers()[0]; _instancedQueue->uploadBuffers(cmdBuff); _batchedQueue->uploadBuffers(cmdBuff); @@ -169,16 +169,16 @@ void ForwardStage::render(Camera *camera) { _planarShadowQueue->gatherShadowPasses(camera, cmdBuff); // render area is not oriented - uint w = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->height : camera->width; - uint h = camera->getWindow()->hasOnScreenAttachments && (uint)_device->getSurfaceTransform() % 2 ? camera->width : camera->height; - _renderArea.x = camera->viewportX * w; - _renderArea.y = camera->viewportY * h; - _renderArea.width = camera->viewportWidth * w * sharedData->shadingScale; - _renderArea.height = camera->viewportHeight * h * sharedData->shadingScale; + uint w = camera->getWindow()->hasOnScreenAttachments && static_cast(_device->getSurfaceTransform()) % 2 ? camera->height : camera->width; + uint h = camera->getWindow()->hasOnScreenAttachments && static_cast(_device->getSurfaceTransform()) % 2 ? camera->width : camera->height; + _renderArea.x = static_cast(camera->viewportX * w); + _renderArea.y = static_cast(camera->viewportY * h); + _renderArea.width = static_cast(camera->viewportWidth * w * sharedData->shadingScale); + _renderArea.height = static_cast(camera->viewportHeight * h * sharedData->shadingScale); if (static_cast(camera->clearFlag) & gfx::ClearFlagBit::COLOR) { if (sharedData->isHDR) { - SRGBToLinear(_clearColors[0], camera->clearColor); + srgbToLinear(&_clearColors[0], camera->clearColor); auto scale = sharedData->fpScale / camera->exposure; _clearColors[0].x *= scale; _clearColors[0].y *= scale; @@ -192,10 +192,10 @@ void ForwardStage::render(Camera *camera) { _clearColors[0].w = camera->clearColor.w; - auto framebuffer = camera->getWindow()->getFramebuffer(); + auto *framebuffer = camera->getWindow()->getFramebuffer(); const auto &colorTextures = framebuffer->getColorTextures(); - auto renderPass = colorTextures.size() && colorTextures[0] ? framebuffer->getRenderPass() : pipeline->getOrCreateRenderPass(static_cast(camera->clearFlag)); + auto *renderPass = !colorTextures.empty() && colorTextures[0] ? framebuffer->getRenderPass() : pipeline->getOrCreateRenderPass(static_cast(camera->clearFlag)); cmdBuff->beginRenderPass(renderPass, framebuffer, _renderArea, _clearColors, camera->clearDepth, camera->clearStencil); cmdBuff->bindDescriptorSet(GLOBAL_SET, _pipeline->getDescriptorSet()); diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.h b/native/cocos/renderer/pipeline/forward/ForwardStage.h index 14f8021af2..e0c773211a 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.h +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.h @@ -44,15 +44,15 @@ public: static const RenderStageInfo &getInitializeInfo(); ForwardStage(); - ~ForwardStage(); + ~ForwardStage() override; - virtual bool initialize(const RenderStageInfo &info) override; - virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; - virtual void destroy() override; - virtual void render(Camera *camera) override; + bool initialize(const RenderStageInfo &info) override; + void activate(RenderPipeline *pipeline, RenderFlow *flow) override; + void destroy() override; + void render(Camera *camera) override; private: - static RenderStageInfo _initInfo; + static RenderStageInfo initInfo; ForwardPipeline *_forwrdPipeline = nullptr; PlanarShadowQueue *_planarShadowQueue = nullptr; RenderBatchedQueue *_batchedQueue = nullptr; From e59d7b4c985391fee11bdc9e2d7e477b7cf79f26 Mon Sep 17 00:00:00 2001 From: troublemaker52025 Date: Wed, 14 Apr 2021 20:42:12 -0500 Subject: [PATCH 241/270] fix nativeEngine shadow effect not display for v3.1 (#3403) * fix nativeEngine shadow effect not display for v3.1 --- .../renderer/pipeline/shadow/ShadowFlow.cpp | 64 ++++++++++++------- 1 file changed, 40 insertions(+), 24 deletions(-) diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index 3dc4c025d0..b7627e77cf 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -29,15 +29,13 @@ #include "../forward/ForwardPipeline.h" #include "../helper/SharedMemory.h" #include "ShadowStage.h" -#include "gfx-base/GFXDescriptorSet.h" #include "gfx-base/GFXDevice.h" #include "gfx-base/GFXFramebuffer.h" #include "gfx-base/GFXRenderPass.h" #include "gfx-base/GFXTexture.h" #include "../SceneCulling.h" -namespace cc { -namespace pipeline { +namespace cc::pipeline { RenderFlowInfo ShadowFlow::_initInfo = { "ShadowFlow", static_cast(ForwardFlowPriority::SHADOW), @@ -45,13 +43,12 @@ RenderFlowInfo ShadowFlow::_initInfo = { {}}; const RenderFlowInfo &ShadowFlow::getInitializeInfo() { return ShadowFlow::_initInfo; } -ShadowFlow::~ShadowFlow() { -} +ShadowFlow::~ShadowFlow() = default; bool ShadowFlow::initialize(const RenderFlowInfo &info) { RenderFlow::initialize(info); if (_stages.empty()) { - auto shadowStage = CC_NEW(ShadowStage); + auto *shadowStage = CC_NEW(ShadowStage); shadowStage->initialize(ShadowStage::getInitializeInfo()); _stages.emplace_back(shadowStage); } @@ -64,7 +61,7 @@ void ShadowFlow::activate(RenderPipeline *pipeline) { } void ShadowFlow::render(Camera *camera) { - const auto sceneData = _pipeline->getPipelineSceneData(); + const auto *sceneData = _pipeline->getPipelineSceneData(); const auto *shadowInfo = sceneData->getSharedData()->getShadows(); if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::SHADOWMAP) return; @@ -84,10 +81,10 @@ void ShadowFlow::render(Camera *camera) { auto *shadowFrameBuffer = shadowFramebufferMap.at(light); if (shadowInfo->shadowMapDirty) { - resizeShadowMap(light, (uint)shadowInfo->size.x, (uint)shadowInfo->size.y); + resizeShadowMap(light, static_cast(shadowInfo->size.x), static_cast(shadowInfo->size.y)); } - for (auto *_stage : _stages) { - auto *shadowStage = static_cast(_stage); + for (auto *stage : _stages) { + auto *shadowStage = dynamic_cast(stage); shadowStage->setUseData(light, shadowFrameBuffer); shadowStage->render(camera); } @@ -99,7 +96,7 @@ void ShadowFlow::render(Camera *camera) { } void ShadowFlow::clearShadowMap(Camera *camera) { - const auto sceneData = _pipeline->getPipelineSceneData(); + auto *sceneData = _pipeline->getPipelineSceneData(); const auto &shadowFramebufferMap = sceneData->getShadowFramebufferMap(); for (const auto *light : _validLights) { if (!shadowFramebufferMap.count(light)) { @@ -107,8 +104,8 @@ void ShadowFlow::clearShadowMap(Camera *camera) { } auto *shadowFrameBuffer = shadowFramebufferMap.at(light); - for (auto *_stage : _stages) { - auto *shadowStage = static_cast(_stage); + for (auto *stage : _stages) { + auto *shadowStage = dynamic_cast(stage); shadowStage->setUseData(light, shadowFrameBuffer); shadowStage->clearFramebuffer(camera); } @@ -116,7 +113,7 @@ void ShadowFlow::clearShadowMap(Camera *camera) { } void ShadowFlow::resizeShadowMap(const Light *light, const uint width, const uint height) const { - auto sceneData = _pipeline->getPipelineSceneData(); + auto *sceneData = _pipeline->getPipelineSceneData(); if (sceneData->getShadowFramebufferMap().count(light)) { auto *framebuffer = sceneData->getShadowFramebufferMap().at(light); @@ -125,7 +122,7 @@ void ShadowFlow::resizeShadowMap(const Light *light, const uint width, const uin return; } - auto &renderTargets = framebuffer->getColorTextures(); + const auto &renderTargets = framebuffer->getColorTextures(); for (auto *renderTarget : renderTargets) { renderTarget->resize(width, height); } @@ -146,18 +143,38 @@ void ShadowFlow::resizeShadowMap(const Light *light, const uint width, const uin } void ShadowFlow::initShadowFrameBuffer(RenderPipeline *pipeline, const Light *light) { - const auto device = gfx::Device::getInstance(); - const auto sceneData = _pipeline->getPipelineSceneData(); + auto *device = gfx::Device::getInstance(); + const auto *sceneData = _pipeline->getPipelineSceneData(); const auto *shadowInfo = sceneData->getSharedData()->getShadows(); const auto shadowMapSize = shadowInfo->size; - const auto width = (uint)shadowMapSize.x; - const auto height = (uint)shadowMapSize.y; + const auto width = static_cast(shadowMapSize.x); + const auto height = static_cast(shadowMapSize.y); if (!_renderPass) { + const gfx::ColorAttachment colorAttachment = { + gfx::Format::RGBA8, + gfx::SampleCount::X1, + gfx::LoadOp::CLEAR, + gfx::StoreOp::STORE, + {}, + {}, + }; + + const gfx::DepthStencilAttachment depthStencilAttachment = { + device->getDepthStencilFormat(), + gfx::SampleCount::X1, + gfx::LoadOp::CLEAR, + gfx::StoreOp::DISCARD, + gfx::LoadOp::CLEAR, + gfx::StoreOp::DISCARD, + {}, + {}, + }; + gfx::RenderPassInfo rpInfo; - rpInfo.depthStencilAttachment.depthStoreOp = gfx::StoreOp::DISCARD; - rpInfo.depthStencilAttachment.stencilStoreOp = gfx::StoreOp::DISCARD; - _renderPass = device->createRenderPass(rpInfo); + rpInfo.colorAttachments.emplace_back(colorAttachment); + rpInfo.depthStencilAttachment = depthStencilAttachment; + _renderPass = device->createRenderPass(rpInfo); } vector renderTargets; @@ -198,5 +215,4 @@ void ShadowFlow::destroy() { RenderFlow::destroy(); } -} // namespace pipeline -} // namespace cc +} // namespace cc::pipeline From 46a455aa845f93bcdfb85de2c48ba2da9cbd3be5 Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 15 Apr 2021 09:45:59 +0800 Subject: [PATCH 242/270] Merge v301 (#3395) * [3.0.1] fix websocket crash (#3344) * add lock * use std::recursive_mutex (#3374) --- native/.clang-tidy | 2 + .../cocos/network/WebSocket-libwebsockets.cpp | 483 +++++++++--------- native/cocos/network/WebSocket.h | 22 +- 3 files changed, 254 insertions(+), 253 deletions(-) diff --git a/native/.clang-tidy b/native/.clang-tidy index 8376196f46..4705fdf4b3 100644 --- a/native/.clang-tidy +++ b/native/.clang-tidy @@ -13,6 +13,7 @@ # -readability-implicit-bool-conversion: We omit explicit bool conversion for brevity # -readability-implicit-bool-cast: We omit explicit bool conversion for brevity # -readability-magic-numbers: There will be lots of constants +# -bugprone-branch-clone: two branches may only print debug message, then will be treat as the same logic. Checks: > -*, @@ -35,6 +36,7 @@ Checks: > -readability-implicit-bool-conversion, -readability-implicit-bool-cast, -readability-magic-numbers, + -bugprone-branch-clone, CheckOptions: - { key: readability-identifier-naming.NamespaceCase, value: lower_case } diff --git a/native/cocos/network/WebSocket-libwebsockets.cpp b/native/cocos/network/WebSocket-libwebsockets.cpp index 7f21d69e9e..0a9f6f2443 100644 --- a/native/cocos/network/WebSocket-libwebsockets.cpp +++ b/native/cocos/network/WebSocket-libwebsockets.cpp @@ -29,21 +29,21 @@ #include #include +#include #include -#include +#include #include -#include #include // for std::shared_ptr +#include #include #include -#include #include #include -#include "network/WebSocket.h" -#include "network/Uri.h" #include "base/Scheduler.h" -#include "platform/FileUtils.h" +#include "network/Uri.h" +#include "network/WebSocket.h" #include "platform/Application.h" +#include "platform/FileUtils.h" #include "platform/StdC.h" #define NS_NETWORK_BEGIN \ @@ -59,7 +59,7 @@ #define LOG_TAG "WebSocket.cpp" struct lws; -struct lws_protocols; +struct LwsProtocols; struct lws_vhost; #if (CC_PLATFORM == CC_PLATFORM_WINDOWS) @@ -69,8 +69,8 @@ struct lws_vhost; //IDEA: Move _winLog, winLog to a separated file static void _winLog(const char *format, va_list args) { static const int MAX_LOG_LENGTH = 16 * 1024; - int bufferSize = MAX_LOG_LENGTH; - char *buf = nullptr; + int bufferSize = MAX_LOG_LENGTH; + char * buf = nullptr; do { buf = new (std::nothrow) char[bufferSize]; @@ -89,10 +89,10 @@ static void _winLog(const char *format, va_list args) { strcat(buf, "\n"); - int pos = 0; - int len = strlen(buf); - char tempBuf[MAX_LOG_LENGTH + 1] = {0}; - WCHAR wszBuf[MAX_LOG_LENGTH + 1] = {0}; + int pos = 0; + int len = strlen(buf); + char tempBuf[MAX_LOG_LENGTH + 1] = {0}; + WCHAR wszBuf[MAX_LOG_LENGTH + 1] = {0}; do { std::copy(buf + pos, buf + pos + MAX_LOG_LENGTH, tempBuf); @@ -117,11 +117,11 @@ static void wsLog(const char *format, ...) { } #else - #define wsLog printf + #define WS_LOG printf #endif -#define QUOTEME_(x) #x -#define QUOTEME(x) QUOTEME_(x) +#define DO_QUOTEME(x) #x +#define QUOTEME(x) DO_QUOTEME(x) // Since CC_LOG_DEBUG isn't thread safe, we uses LOGD for multi-thread logging. #ifdef ANDROID @@ -158,7 +158,7 @@ static void printWebSocketLog(int level, const char *line) { }; char buf[30] = {0}; - int n; + int n; for (n = 0; n < LLL_COUNT; n++) { if (level != (1 << n)) @@ -175,31 +175,31 @@ static void printWebSocketLog(int level, const char *line) { class WebSocketImpl { public: static void closeAllConnections(); - WebSocketImpl(cc::network::WebSocket *ws); + explicit WebSocketImpl(cc::network::WebSocket *ws); ~WebSocketImpl(); bool init(const cc::network::WebSocket::Delegate &delegate, - const std::string &url, - const std::vector *protocols = nullptr, - const std::string &caFilePath = ""); + const std::string & url, + const std::vector * protocols = nullptr, + const std::string & caFilePath = ""); - void send(const std::string &message); - void send(const unsigned char *binaryMsg, unsigned int len); - void close(); - void closeAsync(); - void closeAsync(int code, const std::string &reason); - cc::network::WebSocket::State getReadyState() const; - const std::string &getUrl() const; - const std::string &getProtocol() const; + void send(const std::string &message); + void send(const unsigned char *binaryMsg, unsigned int len); + void close(); + void closeAsync(); + void closeAsync(int code, const std::string &reason); + cc::network::WebSocket::State getReadyState() const; + const std::string & getUrl() const; + const std::string & getProtocol() const; cc::network::WebSocket::Delegate *getDelegate() const; - size_t getBufferedAmount() const; + size_t getBufferedAmount() const; std::string getExtensions() const; private: // The following callback functions are invoked in websocket thread void onClientOpenConnectionRequest(); - int onSocketCallback(struct lws *wsi, enum lws_callback_reasons reason, void *in, ssize_t len); + int onSocketCallback(struct lws *wsi, enum lws_callback_reasons reason, void *in, ssize_t len); int onClientWritable(); int onClientReceivedData(void *in, ssize_t len); @@ -207,24 +207,23 @@ private: int onConnectionError(); int onConnectionClosed(); - struct lws_vhost *createVhost(struct lws_protocols *protocols, int &sslConnection); + struct lws_vhost *createVhost(struct lws_protocols *protocols, int *sslConnection); -private: - cc::network::WebSocket *_ws; + cc::network::WebSocket * _ws; cc::network::WebSocket::State _readyState; - std::mutex _readyStateMutex; - std::string _url; - std::vector _receivedData; + std::mutex _readyStateMutex; + std::string _url; + std::vector _receivedData; - struct lws *_wsInstance; + struct lws * _wsInstance; struct lws_protocols *_lwsProtocols; - std::string _clientSupportedProtocols; - std::string _selectedProtocol; + std::string _clientSupportedProtocols; + std::string _selectedProtocol; std::shared_ptr> _isDestroyed; - cc::network::WebSocket::Delegate *_delegate; + cc::network::WebSocket::Delegate * _delegate; - std::mutex _closeMutex; + std::mutex _closeMutex; std::condition_variable _closeCondition; std::vector _enabledExtensions; @@ -243,7 +242,7 @@ private: friend class WebSocketCallbackWrapper; }; -enum WS_MSG { +enum WsMsg { WS_MSG_TO_SUBTRHEAD_SENDING_STRING = 0, WS_MSG_TO_SUBTRHEAD_SENDING_BINARY, WS_MSG_TO_SUBTHREAD_CREATE_CONNECTION @@ -251,14 +250,14 @@ enum WS_MSG { class WsThreadHelper; -static std::vector *__websocketInstances = nullptr; -static std::mutex __instanceMutex; -static struct lws_context *__wsContext = nullptr; -static WsThreadHelper *__wsHelper = nullptr; +static std::vector *websocketInstances = nullptr; +static std::recursive_mutex instanceMutex; +static struct lws_context * wsContext = nullptr; +static WsThreadHelper * wsHelper = nullptr; #if (CC_PLATFORM == CC_PLATFORM_ANDROID) static std::string getFileNameForPath(const std::string &filePath) { - std::string fileName = filePath; + std::string fileName = filePath; const size_t lastSlashIdx = fileName.find_last_of("\\/"); if (std::string::npos != lastSlashIdx) { fileName.erase(0, lastSlashIdx + 1); @@ -267,7 +266,7 @@ static std::string getFileNameForPath(const std::string &filePath) { } #endif -static struct lws_protocols __defaultProtocols[2]; +static struct lws_protocols defaultProtocols[2]; static lws_context_creation_info convertToContextCreationInfo(const struct lws_protocols *protocols, bool peerServerCert) { lws_context_creation_info info; @@ -280,7 +279,7 @@ static lws_context_creation_info convertToContextCreationInfo(const struct lws_p * For this client-only demo, we tell it to not listen on any port. */ - info.port = CONTEXT_PORT_NO_LISTEN; + info.port = CONTEXT_PORT_NO_LISTEN; info.protocols = protocols; // IDEA: Disable 'permessage-deflate' extension temporarily because of issues: @@ -306,20 +305,17 @@ static lws_context_creation_info convertToContextCreationInfo(const struct lws_p class WsMessage { public: - WsMessage() : id(++__id), - what(0), - data(nullptr), - user(nullptr) {} - unsigned int id; - unsigned int what; // message type - cc::network::WebSocket::Data *data; - void *user; + WsMessage() : id(++idCount) {} + unsigned int id; + unsigned int what{0}; // message type + cc::network::WebSocket::Data *data{nullptr}; + void * user{nullptr}; private: - static unsigned int __id; + static unsigned int idCount; }; -unsigned int WsMessage::__id = 0; +unsigned int WsMessage::idCount = 0; /** * @brief Websocket thread helper, it's used for sending message between UI thread and websocket thread. @@ -335,7 +331,7 @@ public: void quitWebSocketThread(); // Sends message to Cocos thread. It's needed to be invoked in Websocket thread. - void sendMessageToCocosThread(const std::function &cb); + static void sendMessageToCocosThread(const std::function &cb); // Sends message to Websocket thread. It's needs to be invoked in Cocos thread. void sendMessageToWebSocketThread(WsMessage *msg); @@ -343,40 +339,43 @@ public: size_t countBufferdBytes(const WebSocketImpl *ws); // Waits the sub-thread (websocket thread) to exit, - void joinWebSocketThread(); + void joinWebSocketThread() const; - void onSubThreadStarted(); - void onSubThreadLoop(); - void onSubThreadEnded(); + static void onSubThreadStarted(); + static void onSubThreadLoop(); + static void onSubThreadEnded(); protected: - void wsThreadEntryFunc(); + void wsThreadEntryFunc() const; public: std::list *_subThreadWsMessageQueue; - std::mutex _subThreadWsMessageQueueMutex; - std::thread *_subThreadInstance; + std::mutex _subThreadWsMessageQueueMutex; + std::thread * _subThreadInstance{nullptr}; private: - bool _needQuit; + bool _needQuit{false}; }; // Wrapper for converting websocket callback from static function to member function of WebSocket class. class WebSocketCallbackWrapper { public: - static int onSocketCallback(struct lws *wsi, enum lws_callback_reasons reason, void *user, void *in, size_t len) { + static int onSocketCallback(struct lws *wsi, enum lws_callback_reasons reason, void * /*user*/, void *in, size_t len) { // Gets the user data from context. We know that it's a 'WebSocket' instance. if (wsi == nullptr) { return 0; } int ret = 0; - WebSocketImpl *ws = (WebSocketImpl *)lws_wsi_user(wsi); - if (ws != nullptr && __websocketInstances != nullptr) { - if (std::find(__websocketInstances->begin(), __websocketInstances->end(), ws) != __websocketInstances->end()) { - ret = ws->onSocketCallback(wsi, reason, in, len); + { + std::lock_guard lk(instanceMutex); + auto * ws = static_cast(lws_wsi_user(wsi)); + if (ws != nullptr && websocketInstances != nullptr) { + if (std::find(websocketInstances->begin(), websocketInstances->end(), ws) != websocketInstances->end()) { + ret = ws->onSocketCallback(wsi, reason, in, len); + } + } else { + // LOGD("ws instance is nullptr.\n"); } - } else { - // LOGD("ws instance is nullptr.\n"); } return ret; @@ -385,8 +384,8 @@ public: // Implementation of WsThreadHelper WsThreadHelper::WsThreadHelper() -: _subThreadInstance(nullptr), - _needQuit(false) { + +{ _subThreadWsMessageQueue = new (std::nothrow) std::list(); } @@ -407,54 +406,54 @@ void WsThreadHelper::quitWebSocketThread() { } void WsThreadHelper::onSubThreadLoop() { - if (__wsContext) { + if (wsContext) { // _readyStateMutex.unlock(); - __wsHelper->_subThreadWsMessageQueueMutex.lock(); - bool isEmpty = __wsHelper->_subThreadWsMessageQueue->empty(); + wsHelper->_subThreadWsMessageQueueMutex.lock(); + bool isEmpty = wsHelper->_subThreadWsMessageQueue->empty(); if (!isEmpty) { - auto iter = __wsHelper->_subThreadWsMessageQueue->begin(); - for (; iter != __wsHelper->_subThreadWsMessageQueue->end();) { - auto msg = (*iter); - auto ws = (WebSocketImpl *)msg->user; + auto iter = wsHelper->_subThreadWsMessageQueue->begin(); + for (; iter != wsHelper->_subThreadWsMessageQueue->end();) { + auto *msg = (*iter); + auto *ws = static_cast(msg->user); // REFINE: ws may be a invalid pointer if (msg->what == WS_MSG_TO_SUBTHREAD_CREATE_CONNECTION) { ws->onClientOpenConnectionRequest(); delete *iter; - iter = __wsHelper->_subThreadWsMessageQueue->erase(iter); + iter = wsHelper->_subThreadWsMessageQueue->erase(iter); } else { ++iter; } } } - __wsHelper->_subThreadWsMessageQueueMutex.unlock(); + wsHelper->_subThreadWsMessageQueueMutex.unlock(); // Cause delay 4ms for event WS_MSG_TO_SUBTHREAD_CREATE_CONNECTION - lws_service(__wsContext, 4); + lws_service(wsContext, 4); } } void WsThreadHelper::onSubThreadStarted() { - int log_level = LLL_ERR | LLL_WARN | LLL_NOTICE | LLL_INFO /* | LLL_DEBUG | LLL_PARSER | LLL_HEADER*/ | LLL_EXT | LLL_CLIENT | LLL_LATENCY; - lws_set_log_level(log_level, printWebSocketLog); + int logLevel = LLL_ERR | LLL_WARN | LLL_NOTICE | LLL_INFO /* | LLL_DEBUG | LLL_PARSER | LLL_HEADER*/ | LLL_EXT | LLL_CLIENT | LLL_LATENCY; + lws_set_log_level(logLevel, printWebSocketLog); - memset(__defaultProtocols, 0, 2 * sizeof(struct lws_protocols)); + memset(defaultProtocols, 0, 2 * sizeof(struct lws_protocols)); - __defaultProtocols[0].name = ""; - __defaultProtocols[0].callback = WebSocketCallbackWrapper::onSocketCallback; - __defaultProtocols[0].rx_buffer_size = WS_RX_BUFFER_SIZE; - __defaultProtocols[0].id = std::numeric_limits::max(); + defaultProtocols[0].name = ""; + defaultProtocols[0].callback = WebSocketCallbackWrapper::onSocketCallback; + defaultProtocols[0].rx_buffer_size = WS_RX_BUFFER_SIZE; + defaultProtocols[0].id = std::numeric_limits::max(); - lws_context_creation_info creationInfo = convertToContextCreationInfo(__defaultProtocols, true); - __wsContext = lws_create_context(&creationInfo); + lws_context_creation_info creationInfo = convertToContextCreationInfo(defaultProtocols, true); + wsContext = lws_create_context(&creationInfo); } void WsThreadHelper::onSubThreadEnded() { - if (__wsContext != nullptr) { - lws_context_destroy(__wsContext); + if (wsContext != nullptr) { + lws_context_destroy(wsContext); } } -void WsThreadHelper::wsThreadEntryFunc() { +void WsThreadHelper::wsThreadEntryFunc() const { LOGD("WebSocket thread start, helper instance: %p\n", this); onSubThreadStarted(); @@ -478,8 +477,8 @@ void WsThreadHelper::sendMessageToWebSocketThread(WsMessage *msg) { size_t WsThreadHelper::countBufferdBytes(const WebSocketImpl *ws) { std::lock_guard lk(_subThreadWsMessageQueueMutex); - size_t total = 0; - for (auto msg : *_subThreadWsMessageQueue) { + size_t total = 0; + for (auto *msg : *_subThreadWsMessageQueue) { if (msg->user == ws && msg->data && (msg->what == WS_MSG_TO_SUBTRHEAD_SENDING_STRING || msg->what == WS_MSG_TO_SUBTRHEAD_SENDING_BINARY)) { total += msg->data->getRemain(); } @@ -487,7 +486,7 @@ size_t WsThreadHelper::countBufferdBytes(const WebSocketImpl *ws) { return total; } -void WsThreadHelper::joinWebSocketThread() { +void WsThreadHelper::joinWebSocketThread() const { if (_subThreadInstance->joinable()) { _subThreadInstance->join(); } @@ -496,15 +495,10 @@ void WsThreadHelper::joinWebSocketThread() { // Define a WebSocket frame class WebSocketFrame { public: - WebSocketFrame() - : _payload(nullptr), - _payloadLength(0), - _frameLength(0) { - } - bool init(unsigned char *buf, ssize_t len) { - if (buf == nullptr && len > 0) + if (buf == nullptr && len > 0) { return false; + } if (!_data.empty()) { LOGD("WebSocketFrame was initialized, should not init it again!\n"); @@ -516,9 +510,9 @@ public: std::copy(buf, buf + len, _data.begin() + LWS_PRE); } - _payload = _data.data() + LWS_PRE; + _payload = _data.data() + LWS_PRE; _payloadLength = len; - _frameLength = len; + _frameLength = len; return true; } @@ -528,31 +522,31 @@ public: } unsigned char *getPayload() const { return _payload; } - ssize_t getPayloadLength() const { return _payloadLength; } - ssize_t getFrameLength() const { return _frameLength; } + ssize_t getPayloadLength() const { return _payloadLength; } + ssize_t getFrameLength() const { return _frameLength; } private: - unsigned char *_payload; - ssize_t _payloadLength; + unsigned char *_payload{nullptr}; + ssize_t _payloadLength{0}; - ssize_t _frameLength; + ssize_t _frameLength{0}; std::vector _data; }; // void WebSocketImpl::closeAllConnections() { - if (__websocketInstances != nullptr) { - ssize_t count = __websocketInstances->size(); + if (websocketInstances != nullptr) { + ssize_t count = websocketInstances->size(); for (ssize_t i = count - 1; i >= 0; i--) { - WebSocketImpl *instance = __websocketInstances->at(i); + WebSocketImpl *instance = websocketInstances->at(i); instance->close(); } - std::lock_guard lk(__instanceMutex); - __websocketInstances->clear(); - delete __websocketInstances; - __websocketInstances = nullptr; + std::lock_guard lk(instanceMutex); + websocketInstances->clear(); + delete websocketInstances; + websocketInstances = nullptr; } } @@ -566,11 +560,14 @@ WebSocketImpl::WebSocketImpl(cc::network::WebSocket *ws) _closeState(CloseState::NONE) { // reserve data buffer to avoid allocate memory frequently _receivedData.reserve(WS_RESERVE_RECEIVE_BUFFER_SIZE); - if (__websocketInstances == nullptr) { - __websocketInstances = new (std::nothrow) std::vector(); - } - __websocketInstances->push_back(this); + { + std::lock_guard lk(instanceMutex); + if (websocketInstances == nullptr) { + websocketInstances = new (std::nothrow) std::vector(); + } + websocketInstances->push_back(this); + } // NOTE: !!! Be careful while merging cocos2d-x-lite back to cocos2d-x. !!! // 'close' is a synchronous operation which may wait some seconds to make sure connection is closed. @@ -588,24 +585,24 @@ WebSocketImpl::WebSocketImpl(cc::network::WebSocket *ws) WebSocketImpl::~WebSocketImpl() { LOGD("In the destructor of WebSocket (%p)\n", this); - std::lock_guard lk(__instanceMutex); + std::lock_guard lk(instanceMutex); - if (__websocketInstances != nullptr) { - auto iter = std::find(__websocketInstances->begin(), __websocketInstances->end(), this); - if (iter != __websocketInstances->end()) { - __websocketInstances->erase(iter); + if (websocketInstances != nullptr) { + auto iter = std::find(websocketInstances->begin(), websocketInstances->end(), this); + if (iter != websocketInstances->end()) { + websocketInstances->erase(iter); } else { LOGD("ERROR: WebSocket instance (%p) wasn't added to the container which saves websocket instances!\n", this); } } - if (__websocketInstances == nullptr || __websocketInstances->empty()) { - __wsHelper->quitWebSocketThread(); + if (websocketInstances == nullptr || websocketInstances->empty()) { + wsHelper->quitWebSocketThread(); LOGD("before join ws thread\n"); - __wsHelper->joinWebSocketThread(); + wsHelper->joinWebSocketThread(); LOGD("after join ws thread\n"); - CC_SAFE_DELETE(__wsHelper); + CC_SAFE_DELETE(wsHelper); } // NOTE: Refer to the comment in constructor!!! @@ -615,34 +612,35 @@ WebSocketImpl::~WebSocketImpl() { } bool WebSocketImpl::init(const cc::network::WebSocket::Delegate &delegate, - const std::string &url, - const std::vector *protocols /* = nullptr*/, - const std::string &caFilePath /* = ""*/) { - _delegate = const_cast(&delegate); - _url = url; + const std::string & url, + const std::vector * protocols /* = nullptr*/, + const std::string & caFilePath /* = ""*/) { + _delegate = const_cast(&delegate); + _url = url; _caFilePath = caFilePath; - if (_url.empty()) + if (_url.empty()) { return false; + } if (protocols != nullptr && !protocols->empty()) { - size_t size = protocols->size(); - _lwsProtocols = (struct lws_protocols *)malloc((size + 1) * sizeof(struct lws_protocols)); + size_t size = protocols->size(); + _lwsProtocols = static_cast(malloc((size + 1) * sizeof(struct lws_protocols))); memset(_lwsProtocols, 0, (size + 1) * sizeof(struct lws_protocols)); - static uint32_t __wsId = 0; + static uint32_t wsId = 0; for (size_t i = 0; i < size; ++i) { _lwsProtocols[i].callback = WebSocketCallbackWrapper::onSocketCallback; - size_t nameLen = protocols->at(i).length(); - char *name = (char *)malloc(nameLen + 1); - name[nameLen] = '\0'; + size_t nameLen = protocols->at(i).length(); + char * name = static_cast(malloc(nameLen + 1)); + name[nameLen] = '\0'; strcpy(name, protocols->at(i).c_str()); - _lwsProtocols[i].name = name; - _lwsProtocols[i].id = ++__wsId; - _lwsProtocols[i].rx_buffer_size = WS_RX_BUFFER_SIZE; + _lwsProtocols[i].name = name; + _lwsProtocols[i].id = ++wsId; + _lwsProtocols[i].rx_buffer_size = WS_RX_BUFFER_SIZE; _lwsProtocols[i].per_session_data_size = 0; - _lwsProtocols[i].user = nullptr; + _lwsProtocols[i].user = nullptr; _clientSupportedProtocols += name; if (i < (size - 1)) { @@ -652,35 +650,35 @@ bool WebSocketImpl::init(const cc::network::WebSocket::Delegate &delegate, } bool isWebSocketThreadCreated = true; - if (__wsHelper == nullptr) { - __wsHelper = new (std::nothrow) WsThreadHelper(); + if (wsHelper == nullptr) { + wsHelper = new (std::nothrow) WsThreadHelper(); isWebSocketThreadCreated = false; } - WsMessage *msg = new (std::nothrow) WsMessage(); + auto *msg = new (std::nothrow) WsMessage(); msg->what = WS_MSG_TO_SUBTHREAD_CREATE_CONNECTION; msg->user = this; - __wsHelper->sendMessageToWebSocketThread(msg); + wsHelper->sendMessageToWebSocketThread(msg); // fixed https://github.com/cocos2d/cocos2d-x/issues/17433 // createWebSocketThread has to be after message WS_MSG_TO_SUBTHREAD_CREATE_CONNECTION was sent. // And websocket thread should only be created once. if (!isWebSocketThreadCreated) { - __wsHelper->createWebSocketThread(); + wsHelper->createWebSocketThread(); } return true; } size_t WebSocketImpl::getBufferedAmount() const { - return __wsHelper->countBufferdBytes(this); + return wsHelper->countBufferdBytes(this); } std::string WebSocketImpl::getExtensions() const { //join vector with ";" if (_enabledExtensions.empty()) return ""; std::string ret; - for (int i = 0; i < _enabledExtensions.size(); i++) ret += (_enabledExtensions[i] + "; "); + for (const auto &enabledExtension : _enabledExtensions) ret += (enabledExtension + "; "); ret += _enabledExtensions[_enabledExtensions.size() - 1]; return ret; } @@ -688,18 +686,18 @@ std::string WebSocketImpl::getExtensions() const { void WebSocketImpl::send(const std::string &message) { if (_readyState == cc::network::WebSocket::State::OPEN) { // In main thread - cc::network::WebSocket::Data *data = new (std::nothrow) cc::network::WebSocket::Data(); - data->bytes = (char *)malloc(message.length() + 1); + auto *data = new (std::nothrow) cc::network::WebSocket::Data(); + data->bytes = static_cast(malloc(message.length() + 1)); // Make sure the last byte is '\0' data->bytes[message.length()] = '\0'; strcpy(data->bytes, message.c_str()); data->len = static_cast(message.length()); - WsMessage *msg = new (std::nothrow) WsMessage(); + auto *msg = new (std::nothrow) WsMessage(); msg->what = WS_MSG_TO_SUBTRHEAD_SENDING_STRING; msg->data = data; msg->user = this; - __wsHelper->sendMessageToWebSocketThread(msg); + wsHelper->sendMessageToWebSocketThread(msg); } else { LOGD("Couldn't send message since websocket wasn't opened!\n"); } @@ -708,22 +706,22 @@ void WebSocketImpl::send(const std::string &message) { void WebSocketImpl::send(const unsigned char *binaryMsg, unsigned int len) { if (_readyState == cc::network::WebSocket::State::OPEN) { // In main thread - cc::network::WebSocket::Data *data = new (std::nothrow) cc::network::WebSocket::Data(); + auto *data = new (std::nothrow) cc::network::WebSocket::Data(); if (len == 0) { // If data length is zero, allocate 1 byte for safe. - data->bytes = (char *)malloc(1); + data->bytes = static_cast(malloc(1)); data->bytes[0] = '\0'; } else { - data->bytes = (char *)malloc(len); - memcpy((void *)data->bytes, (void *)binaryMsg, len); + data->bytes = static_cast(malloc(len)); + memcpy(data->bytes, binaryMsg, len); } data->len = len; - WsMessage *msg = new (std::nothrow) WsMessage(); + auto *msg = new (std::nothrow) WsMessage(); msg->what = WS_MSG_TO_SUBTRHEAD_SENDING_BINARY; msg->data = data; msg->user = this; - __wsHelper->sendMessageToWebSocketThread(msg); + wsHelper->sendMessageToWebSocketThread(msg); } else { LOGD("Couldn't send message since websocket wasn't opened!\n"); } @@ -764,7 +762,7 @@ void WebSocketImpl::close() { } void WebSocketImpl::closeAsync(int code, const std::string &reason) { - lws_close_reason(_wsInstance, (lws_close_status)code, (unsigned char *)const_cast(reason.c_str()), reason.length()); + lws_close_reason(_wsInstance, static_cast(code), reinterpret_cast(const_cast(reason.c_str())), reason.length()); closeAsync(); } @@ -803,8 +801,8 @@ cc::network::WebSocket::Delegate *WebSocketImpl::getDelegate() const { return _delegate; } -struct lws_vhost *WebSocketImpl::createVhost(struct lws_protocols *protocols, int &sslConnection) { - auto fileUtils = cc::FileUtils::getInstance(); +struct lws_vhost *WebSocketImpl::createVhost(struct lws_protocols *protocols, int *sslConnectionOut) { + auto *fileUtils = cc::FileUtils::getInstance(); bool isCAFileExist = fileUtils->isFileExist(_caFilePath); if (isCAFileExist) { _caFilePath = fileUtils->fullPathForFilename(_caFilePath); @@ -812,17 +810,18 @@ struct lws_vhost *WebSocketImpl::createVhost(struct lws_protocols *protocols, in lws_context_creation_info info = convertToContextCreationInfo(protocols, isCAFileExist); + int sslConnection = *sslConnectionOut; if (sslConnection != 0) { if (isCAFileExist) { #if (CC_PLATFORM == CC_PLATFORM_ANDROID) // if ca file is in the apk, try to extract it to writable path - std::string writablePath = fileUtils->getWritablePath(); - std::string caFileName = getFileNameForPath(_caFilePath); + std::string writablePath = fileUtils->getWritablePath(); + std::string caFileName = getFileNameForPath(_caFilePath); std::string newCaFilePath = writablePath + caFileName; if (fileUtils->isFileExist(newCaFilePath)) { LOGD("CA file (%s) in writable path exists!", newCaFilePath.c_str()); - _caFilePath = newCaFilePath; + _caFilePath = newCaFilePath; info.ssl_ca_filepath = _caFilePath.c_str(); } else { if (fileUtils->isFileExist(_caFilePath)) { @@ -837,7 +836,7 @@ struct lws_vhost *WebSocketImpl::createVhost(struct lws_protocols *protocols, in LOGD("New CA file path: %s", newCaFilePath.c_str()); fwrite(caData.getBytes(), caData.getSize(), 1, fp); fclose(fp); - _caFilePath = newCaFilePath; + _caFilePath = newCaFilePath; info.ssl_ca_filepath = _caFilePath.c_str(); } else { CCASSERT(false, "Open new CA file failed"); @@ -847,7 +846,7 @@ struct lws_vhost *WebSocketImpl::createVhost(struct lws_protocols *protocols, in } } else { LOGD("CA file isn't in APK!"); - _caFilePath = fullPath; + _caFilePath = fullPath; info.ssl_ca_filepath = _caFilePath.c_str(); } } else { @@ -859,18 +858,18 @@ struct lws_vhost *WebSocketImpl::createVhost(struct lws_protocols *protocols, in #endif } else { LOGD("WARNING: CA Root file isn't set. SSL connection will not peer server certificate\n"); - sslConnection = sslConnection | LCCSCF_ALLOW_SELFSIGNED | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK; + *sslConnectionOut = sslConnection | LCCSCF_ALLOW_SELFSIGNED | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK; } } - lws_vhost *vhost = lws_create_vhost(__wsContext, &info); + lws_vhost *vhost = lws_create_vhost(wsContext, &info); return vhost; } void WebSocketImpl::onClientOpenConnectionRequest() { - if (nullptr != __wsContext) { - static const struct lws_extension exts[] = { + if (nullptr != wsContext) { + static const struct lws_extension EXTS[] = { {"permessage-deflate", lws_extension_callback_pm_deflate, // client_no_context_takeover extension is not supported in the current version, it will cause connection fail @@ -890,40 +889,43 @@ void WebSocketImpl::onClientOpenConnectionRequest() { LOGD("scheme: %s, host: %s, port: %d, path: %s\n", uri.getScheme().c_str(), uri.getHostName().c_str(), static_cast(uri.getPort()), uri.getPathEtc().c_str()); int sslConnection = 0; - if (uri.isSecure()) + if (uri.isSecure()) { sslConnection = LCCSCF_USE_SSL; + } struct lws_vhost *vhost = nullptr; if (_lwsProtocols != nullptr) { - vhost = createVhost(_lwsProtocols, sslConnection); + vhost = createVhost(_lwsProtocols, &sslConnection); } else { - vhost = createVhost(__defaultProtocols, sslConnection); + vhost = createVhost(defaultProtocols, &sslConnection); } int port = static_cast(uri.getPort()); - if (port == 0) + if (port == 0) { port = uri.isSecure() ? 443 : 80; + } - const std::string &hostName = uri.getHostName(); - std::string path = uri.getPathEtc(); + const std::string &hostName = uri.getHostName(); + std::string path = uri.getPathEtc(); const std::string &authority = uri.getAuthority(); - if (path.empty()) + if (path.empty()) { path = "/"; + } struct lws_client_connect_info connectInfo; memset(&connectInfo, 0, sizeof(connectInfo)); - connectInfo.context = __wsContext; - connectInfo.address = hostName.c_str(); - connectInfo.port = port; - connectInfo.ssl_connection = sslConnection; - connectInfo.path = path.c_str(); - connectInfo.host = hostName.c_str(); - connectInfo.origin = authority.c_str(); - connectInfo.protocol = _clientSupportedProtocols.empty() ? nullptr : _clientSupportedProtocols.c_str(); + connectInfo.context = wsContext; + connectInfo.address = hostName.c_str(); + connectInfo.port = port; + connectInfo.ssl_connection = sslConnection; + connectInfo.path = path.c_str(); + connectInfo.host = hostName.c_str(); + connectInfo.origin = authority.c_str(); + connectInfo.protocol = _clientSupportedProtocols.empty() ? nullptr : _clientSupportedProtocols.c_str(); connectInfo.ietf_version_or_minus_one = -1; - connectInfo.userdata = this; - connectInfo.client_exts = exts; - connectInfo.vhost = vhost; + connectInfo.userdata = this; + connectInfo.client_exts = EXTS; + connectInfo.vhost = vhost; _wsInstance = lws_client_connect_via_info(&connectInfo); @@ -947,41 +949,40 @@ int WebSocketImpl::onClientWritable() { } do { - std::lock_guard lk(__wsHelper->_subThreadWsMessageQueueMutex); + std::lock_guard lk(wsHelper->_subThreadWsMessageQueueMutex); - if (__wsHelper->_subThreadWsMessageQueue->empty()) { + if (wsHelper->_subThreadWsMessageQueue->empty()) { break; } - std::list::iterator iter = __wsHelper->_subThreadWsMessageQueue->begin(); + auto iter = wsHelper->_subThreadWsMessageQueue->begin(); - while (iter != __wsHelper->_subThreadWsMessageQueue->end()) { + while (iter != wsHelper->_subThreadWsMessageQueue->end()) { WsMessage *msg = *iter; if (msg->user == this) { break; - } else { - ++iter; } + ++iter; } ssize_t bytesWrite = 0; - if (iter != __wsHelper->_subThreadWsMessageQueue->end()) { + if (iter != wsHelper->_subThreadWsMessageQueue->end()) { WsMessage *subThreadMsg = *iter; - cc::network::WebSocket::Data *data = (cc::network::WebSocket::Data *)subThreadMsg->data; + auto *data = subThreadMsg->data; - const ssize_t c_bufferSize = WS_RX_BUFFER_SIZE; + const ssize_t cBufferSize = WS_RX_BUFFER_SIZE; const ssize_t remaining = data->len - data->issued; - const ssize_t n = std::min(remaining, c_bufferSize); + const ssize_t n = std::min(remaining, cBufferSize); WebSocketFrame *frame = nullptr; if (data->ext) { - frame = (WebSocketFrame *)data->ext; + frame = static_cast(data->ext); } else { - frame = new (std::nothrow) WebSocketFrame(); - bool success = frame && frame->init((unsigned char *)(data->bytes + data->issued), n); + frame = new (std::nothrow) WebSocketFrame(); + bool success = frame && frame->init(reinterpret_cast(data->bytes + data->issued), n); if (success) { data->ext = frame; } else { // If frame initialization failed, delete the frame and drop the sending data @@ -990,7 +991,7 @@ int WebSocketImpl::onClientWritable() { delete frame; CC_SAFE_FREE(data->bytes); CC_SAFE_DELETE(data); - __wsHelper->_subThreadWsMessageQueue->erase(iter); + wsHelper->_subThreadWsMessageQueue->erase(iter); CC_SAFE_DELETE(subThreadMsg); break; } @@ -1006,17 +1007,19 @@ int WebSocketImpl::onClientWritable() { } // If we have more than 1 fragment - if (data->len > c_bufferSize) + if (data->len > cBufferSize) { writeProtocol |= LWS_WRITE_NO_FIN; + } } else { // we are in the middle of fragments writeProtocol = LWS_WRITE_CONTINUATION; // and if not in the last fragment - if (remaining != n) + if (remaining != n) { writeProtocol |= LWS_WRITE_NO_FIN; + } } - bytesWrite = lws_write(_wsInstance, frame->getPayload(), frame->getPayloadLength(), (lws_write_protocol)writeProtocol); + bytesWrite = lws_write(_wsInstance, frame->getPayload(), frame->getPayloadLength(), static_cast(writeProtocol)); // Handle the result of lws_write // Buffer overrun? @@ -1024,10 +1027,10 @@ int WebSocketImpl::onClientWritable() { LOGD("ERROR: msg(%u), lws_write return: %d, but it should be %d, drop this message.\n", subThreadMsg->id, (int)bytesWrite, (int)n); // socket error, we need to close the socket connection CC_SAFE_FREE(data->bytes); - delete ((WebSocketFrame *)data->ext); + delete (static_cast(data->ext)); data->ext = nullptr; CC_SAFE_DELETE(data); - __wsHelper->_subThreadWsMessageQueue->erase(iter); + wsHelper->_subThreadWsMessageQueue->erase(iter); CC_SAFE_DELETE(subThreadMsg); closeAsync(); @@ -1040,7 +1043,7 @@ int WebSocketImpl::onClientWritable() { // A frame was totally sent, plus data->issued to send next frame LOGD("msg(%u) append: %d + %d = %d\n", subThreadMsg->id, (int)data->issued, (int)frame->getFrameLength(), (int)(data->issued + frame->getFrameLength())); data->issued += frame->getFrameLength(); - delete ((WebSocketFrame *)data->ext); + delete (static_cast(data->ext)); data->ext = nullptr; } // Safely done! @@ -1056,10 +1059,10 @@ int WebSocketImpl::onClientWritable() { } CC_SAFE_FREE(data->bytes); - delete ((WebSocketFrame *)data->ext); + delete (static_cast(data->ext)); data->ext = nullptr; CC_SAFE_DELETE(data); - __wsHelper->_subThreadWsMessageQueue->erase(iter); + wsHelper->_subThreadWsMessageQueue->erase(iter); CC_SAFE_DELETE(subThreadMsg); LOGD("-----------------------------------------------------------\n"); @@ -1082,19 +1085,19 @@ int WebSocketImpl::onClientReceivedData(void *in, ssize_t len) { if (in != nullptr && len > 0) { LOGD("Receiving data:index:%d, len=%d\n", packageIndex, (int)len); - unsigned char *inData = (unsigned char *)in; + auto *inData = static_cast(in); _receivedData.insert(_receivedData.end(), inData, inData + len); } else { LOGD("Empty message received, index=%d!\n", packageIndex); } // If no more data pending, send it to the client thread - size_t remainingSize = lws_remaining_packet_payload(_wsInstance); - int isFinalFragment = lws_is_final_fragment(_wsInstance); + size_t remainingSize = lws_remaining_packet_payload(_wsInstance); + int isFinalFragment = lws_is_final_fragment(_wsInstance); // LOGD("remainingSize: %d, isFinalFragment: %d\n", (int)remainingSize, isFinalFragment); if (remainingSize == 0 && isFinalFragment) { - std::vector *frameData = new (std::nothrow) std::vector(std::move(_receivedData)); + auto *frameData = new (std::nothrow) std::vector(std::move(_receivedData)); // reset capacity of received data buffer _receivedData.reserve(WS_RESERVE_RECEIVE_BUFFER_SIZE); @@ -1108,14 +1111,14 @@ int WebSocketImpl::onClientReceivedData(void *in, ssize_t len) { } std::shared_ptr> isDestroyed = _isDestroyed; - __wsHelper->sendMessageToCocosThread([this, frameData, frameSize, isBinary, isDestroyed]() { + wsHelper->sendMessageToCocosThread([this, frameData, frameSize, isBinary, isDestroyed]() { // In UI thread LOGD("Notify data len %d to Cocos thread.\n", (int)frameSize); cc::network::WebSocket::Data data; data.isBinary = isBinary; - data.bytes = (char *)frameData->data(); - data.len = frameSize; + data.bytes = static_cast(frameData->data()); + data.len = frameSize; if (*isDestroyed) { LOGD("WebSocket instance was destroyed!\n"); @@ -1132,7 +1135,7 @@ int WebSocketImpl::onClientReceivedData(void *in, ssize_t len) { int WebSocketImpl::onConnectionOpened() { const lws_protocols *lwsSelectedProtocol = lws_get_protocol(_wsInstance); - _selectedProtocol = lwsSelectedProtocol->name; + _selectedProtocol = lwsSelectedProtocol->name; LOGD("onConnectionOpened...: %p, client protocols: %s, server selected protocol: %s\n", this, _clientSupportedProtocols.c_str(), _selectedProtocol.c_str()); /* * start the ball rolling, @@ -1149,7 +1152,7 @@ int WebSocketImpl::onConnectionOpened() { } std::shared_ptr> isDestroyed = _isDestroyed; - __wsHelper->sendMessageToCocosThread([this, isDestroyed]() { + wsHelper->sendMessageToCocosThread([this, isDestroyed]() { if (*isDestroyed) { LOGD("WebSocket instance was destroyed!\n"); } else { @@ -1170,7 +1173,7 @@ int WebSocketImpl::onConnectionError() { } std::shared_ptr> isDestroyed = _isDestroyed; - __wsHelper->sendMessageToCocosThread([this, isDestroyed]() { + wsHelper->sendMessageToCocosThread([this, isDestroyed]() { if (*isDestroyed) { LOGD("WebSocket instance was destroyed!\n"); } else { @@ -1204,7 +1207,9 @@ int WebSocketImpl::onConnectionClosed() { } return 0; - } else if (_closeState == CloseState::ASYNC_CLOSING) { + } + + if (_closeState == CloseState::ASYNC_CLOSING) { LOGD("onConnectionClosed, WebSocket (%p) is closing by client asynchronously.\n", this); } else { LOGD("onConnectionClosed, WebSocket (%p) is closing by server.\n", this); @@ -1217,7 +1222,7 @@ int WebSocketImpl::onConnectionClosed() { } std::shared_ptr> isDestroyed = _isDestroyed; - __wsHelper->sendMessageToCocosThread([this, isDestroyed]() { + wsHelper->sendMessageToCocosThread([this, isDestroyed]() { if (*isDestroyed) { LOGD("WebSocket instance (%p) was destroyed!\n", this); } else { @@ -1229,7 +1234,7 @@ int WebSocketImpl::onConnectionClosed() { return 0; } -int WebSocketImpl::onSocketCallback(struct lws *wsi, enum lws_callback_reasons reason, void *in, ssize_t len) { +int WebSocketImpl::onSocketCallback(struct lws * /*wsi*/, enum lws_callback_reasons reason, void *in, ssize_t len) { //LOGD("socket callback for %d reason\n", reason); int ret = 0; @@ -1265,7 +1270,7 @@ int WebSocketImpl::onSocketCallback(struct lws *wsi, enum lws_callback_reasons r break; case LWS_CALLBACK_CONFIRM_EXTENSION_OKAY: if (in && len > 0) { - _enabledExtensions.push_back(std::string((char *)in, 0, len)); + _enabledExtensions.emplace_back(static_cast(in), 0, len); } break; default: @@ -1291,10 +1296,10 @@ WebSocket::~WebSocket() { delete _impl; } -bool WebSocket::init(const Delegate &delegate, - const std::string &url, +bool WebSocket::init(const Delegate & delegate, + const std::string & url, const std::vector *protocols /* = nullptr*/, - const std::string &caFilePath /* = ""*/) { + const std::string & caFilePath /* = ""*/) { return _impl->init(delegate, url, protocols, caFilePath); } diff --git a/native/cocos/network/WebSocket.h b/native/cocos/network/WebSocket.h index 47da224469..7dbcf3ed4f 100644 --- a/native/cocos/network/WebSocket.h +++ b/native/cocos/network/WebSocket.h @@ -53,8 +53,6 @@ namespace cc { namespace network { -class WebSocketFrame; - /** * WebSocket is wrapper of the libwebsockets-protocol, let the develop could call the websocket easily. * Please note that all public methods of WebSocket have to be invoked on Cocos Thread. @@ -81,23 +79,19 @@ private: * @js NA * @lua NA */ - virtual ~WebSocket(); + ~WebSocket() override; public: /** * Data structure for message */ struct Data { - Data() : bytes(nullptr), - len(0), - issued(0), - isBinary(false), - ext(nullptr) {} - char *bytes; - ssize_t len, issued; - bool isBinary; - void *ext; - ssize_t getRemain() { return std::max((ssize_t)0, len - issued); } + Data() = default; + char *bytes{nullptr}; + ssize_t len{0}, issued{0}; + bool isBinary{false}; + void *ext{nullptr}; + ssize_t getRemain() const { return std::max(static_cast(0), len - issued); } }; /** @@ -128,7 +122,7 @@ public: class Delegate { public: /** Destructor of Delegate. */ - virtual ~Delegate() {} + virtual ~Delegate() = default; /** * This function to be called after the client connection complete a handshake with the remote server. * This means that the WebSocket connection is ready to send and receive data. From 86e6ad97594a88f208ec7b3792fa9314b2c3d0f8 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Thu, 15 Apr 2021 09:47:15 +0800 Subject: [PATCH 243/270] [ci skip][AUTO]: updating jsbinding automatically: 100c7e14 (#3406) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 1 + 1 file changed, 1 insertion(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index a25ef6f448..b6bb8bdc0d 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -3,6 +3,7 @@ ".browserslistrc", ".clang-format", ".clang-tidy", + ".github/workflows/clang-format.yml", ".github/workflows/clangtidy-android.yml", ".github/workflows/cmake.yml", ".github/workflows/filter_by_cdb.js", From 0d6578403ec7501dca55dfc81708df665fbda060 Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Thu, 15 Apr 2021 18:33:45 +0800 Subject: [PATCH 244/270] treat gles3 warning as error (#3408) * treat gles3 warning as error --- native/CMakeLists.txt | 42 +++++++++---------- .../renderer/gfx-gles3/GLES3Commands.cpp | 7 +--- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 4db64e3fa6..de10ffeddd 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -807,7 +807,7 @@ cocos_source_files( cocos/renderer/gfx-gles-common/GLESCommandPool.h NO_WERROR cocos/renderer/gfx-gles-common/eglw.cpp NO_WERROR cocos/renderer/gfx-gles-common/gles2w.cpp - NO_WERROR cocos/renderer/gfx-gles-common/gles3w.cpp + cocos/renderer/gfx-gles-common/gles3w.cpp ) endif() @@ -873,44 +873,44 @@ endif() if(CC_USE_GLES3) cocos_source_files( cocos/renderer/gfx-gles3/GFXGLES3.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Buffer.cpp + cocos/renderer/gfx-gles3/GLES3Buffer.cpp cocos/renderer/gfx-gles3/GLES3Buffer.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp + cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp cocos/renderer/gfx-gles3/GLES3CommandBuffer.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Commands.cpp + cocos/renderer/gfx-gles3/GLES3Commands.cpp cocos/renderer/gfx-gles3/GLES3Commands.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Context.cpp + cocos/renderer/gfx-gles3/GLES3Context.cpp cocos/renderer/gfx-gles3/GLES3Context.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Device.cpp + cocos/renderer/gfx-gles3/GLES3Device.cpp cocos/renderer/gfx-gles3/GLES3Device.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp + cocos/renderer/gfx-gles3/GLES3Framebuffer.cpp cocos/renderer/gfx-gles3/GLES3Framebuffer.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp + cocos/renderer/gfx-gles3/GLES3GlobalBarrier.cpp cocos/renderer/gfx-gles3/GLES3GlobalBarrier.h cocos/renderer/gfx-gles3/GLES3GPUObjects.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp + cocos/renderer/gfx-gles3/GLES3InputAssembler.cpp cocos/renderer/gfx-gles3/GLES3InputAssembler.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp + cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp cocos/renderer/gfx-gles3/GLES3DescriptorSet.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp + cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp + cocos/renderer/gfx-gles3/GLES3PipelineLayout.cpp cocos/renderer/gfx-gles3/GLES3PipelineLayout.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3PipelineState.cpp + cocos/renderer/gfx-gles3/GLES3PipelineState.cpp cocos/renderer/gfx-gles3/GLES3PipelineState.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp + cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.cpp cocos/renderer/gfx-gles3/GLES3PrimaryCommandBuffer.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Queue.cpp + cocos/renderer/gfx-gles3/GLES3Queue.cpp cocos/renderer/gfx-gles3/GLES3Queue.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3RenderPass.cpp + cocos/renderer/gfx-gles3/GLES3RenderPass.cpp cocos/renderer/gfx-gles3/GLES3RenderPass.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Sampler.cpp + cocos/renderer/gfx-gles3/GLES3Sampler.cpp cocos/renderer/gfx-gles3/GLES3Sampler.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Shader.cpp + cocos/renderer/gfx-gles3/GLES3Shader.cpp cocos/renderer/gfx-gles3/GLES3Shader.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Std.cpp + cocos/renderer/gfx-gles3/GLES3Std.cpp cocos/renderer/gfx-gles3/GLES3Std.h - NO_WERROR cocos/renderer/gfx-gles3/GLES3Texture.cpp + cocos/renderer/gfx-gles3/GLES3Texture.cpp cocos/renderer/gfx-gles3/GLES3Texture.h cocos/renderer/gfx-gles3/GLES3Wrangler.h ) @@ -920,7 +920,7 @@ if(CC_USE_GLES3) ) else() cocos_source_files( - NO_WERROR cocos/renderer/gfx-gles3/GLES3Wrangler.cpp + cocos/renderer/gfx-gles3/GLES3Wrangler.cpp ) endif() if(IOS) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 0689b21f15..8e20c8fe2e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1372,7 +1372,6 @@ void cmdFuncGLES3DestroyShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } void cmdFuncGLES3CreateInputAssembler(GLES3Device *device, GLES3GPUInputAssembler *gpuInputAssembler) { - if (gpuInputAssembler->gpuIndexBuffer) { switch (gpuInputAssembler->gpuIndexBuffer->stride) { case 1: gpuInputAssembler->glIndexType = GL_UNSIGNED_BYTE; break; @@ -1781,7 +1780,7 @@ void cmdFuncGLES3BindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->rs.cullMode = gpuPipelineState->rs.cullMode; } bool isFrontFaceCCW = gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; - if (cache->rs.isFrontFaceCCW != isFrontFaceCCW) { + if (static_cast(cache->rs.isFrontFaceCCW) != isFrontFaceCCW) { GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); cache->rs.isFrontFaceCCW = isFrontFaceCCW; } @@ -1893,7 +1892,6 @@ void cmdFuncGLES3BindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli cache->bs.blendColor.y != gpuPipelineState->bs.blendColor.y || cache->bs.blendColor.z != gpuPipelineState->bs.blendColor.z || cache->bs.blendColor.w != gpuPipelineState->bs.blendColor.w) { - GL_CHECK(glBlendColor(gpuPipelineState->bs.blendColor.x, gpuPipelineState->bs.blendColor.y, gpuPipelineState->bs.blendColor.z, @@ -1942,7 +1940,6 @@ void cmdFuncGLES3BindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli // bind descriptor sets if (gpuPipelineState && gpuPipelineState->gpuShader && gpuPipelineState->gpuPipelineLayout) { - const vector> &dynamicOffsetIndices = gpuPipelineState->gpuPipelineLayout->dynamicOffsetIndices; size_t bufferLen = gpuPipelineState->gpuShader->glBuffers.size(); @@ -2176,7 +2173,7 @@ void cmdFuncGLES3BindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } break; case DynamicStateFlagBit::DEPTH_BIAS: - if (cache->rs.depthBiasEnabled != depthBiasEnabled) { + if (static_cast(cache->rs.depthBiasEnabled) != depthBiasEnabled) { if (depthBiasEnabled) { GL_CHECK(glEnable(GL_POLYGON_OFFSET_FILL)); } else { From 0bbb16e273ddbdf61c2b25aa8d7513ec9445804d Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Thu, 15 Apr 2021 18:34:10 +0800 Subject: [PATCH 245/270] treat vulkan warning as error (#3410) --- native/CMakeLists.txt | 86 +++++++++---------- .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 7 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 5 +- 3 files changed, 48 insertions(+), 50 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index de10ffeddd..66ebec71e1 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -981,76 +981,76 @@ if(CC_USE_VULKAN) cocos_source_files( cocos/renderer/gfx-vulkan/GFXVulkan.h cocos/renderer/gfx-vulkan/vk_mem_alloc.h - NO_WERROR cocos/renderer/gfx-vulkan/VKBuffer.cpp + cocos/renderer/gfx-vulkan/VKBuffer.cpp cocos/renderer/gfx-vulkan/VKBuffer.h - NO_WERROR cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp + cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp cocos/renderer/gfx-vulkan/VKCommandBuffer.h - NO_WERROR cocos/renderer/gfx-vulkan/VKCommands.cpp + cocos/renderer/gfx-vulkan/VKCommands.cpp cocos/renderer/gfx-vulkan/VKCommands.h - NO_WERROR cocos/renderer/gfx-vulkan/VKContext.cpp + cocos/renderer/gfx-vulkan/VKContext.cpp cocos/renderer/gfx-vulkan/VKContext.h - NO_WERROR cocos/renderer/gfx-vulkan/VKDevice.cpp + cocos/renderer/gfx-vulkan/VKDevice.cpp cocos/renderer/gfx-vulkan/VKDevice.h - NO_WERROR cocos/renderer/gfx-vulkan/VKFramebuffer.cpp + cocos/renderer/gfx-vulkan/VKFramebuffer.cpp cocos/renderer/gfx-vulkan/VKFramebuffer.h - NO_WERROR cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp + cocos/renderer/gfx-vulkan/VKGlobalBarrier.cpp cocos/renderer/gfx-vulkan/VKGlobalBarrier.h cocos/renderer/gfx-vulkan/VKGPUObjects.h - NO_WERROR cocos/renderer/gfx-vulkan/VKInputAssembler.cpp + cocos/renderer/gfx-vulkan/VKInputAssembler.cpp cocos/renderer/gfx-vulkan/VKInputAssembler.h - NO_WERROR cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp + cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp cocos/renderer/gfx-vulkan/VKDescriptorSet.h - NO_WERROR cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp + cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.h - NO_WERROR cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp + cocos/renderer/gfx-vulkan/VKPipelineLayout.cpp cocos/renderer/gfx-vulkan/VKPipelineLayout.h - NO_WERROR cocos/renderer/gfx-vulkan/VKPipelineState.cpp + cocos/renderer/gfx-vulkan/VKPipelineState.cpp cocos/renderer/gfx-vulkan/VKPipelineState.h - NO_WERROR cocos/renderer/gfx-vulkan/VKQueue.cpp + cocos/renderer/gfx-vulkan/VKQueue.cpp cocos/renderer/gfx-vulkan/VKQueue.h - NO_WERROR cocos/renderer/gfx-vulkan/VKRenderPass.cpp + cocos/renderer/gfx-vulkan/VKRenderPass.cpp cocos/renderer/gfx-vulkan/VKRenderPass.h - NO_WERROR cocos/renderer/gfx-vulkan/VKSampler.cpp + cocos/renderer/gfx-vulkan/VKSampler.cpp cocos/renderer/gfx-vulkan/VKSampler.h - NO_WERROR cocos/renderer/gfx-vulkan/VKShader.cpp + cocos/renderer/gfx-vulkan/VKShader.cpp cocos/renderer/gfx-vulkan/VKShader.h cocos/renderer/gfx-vulkan/VKSPIRV.h - NO_WERROR cocos/renderer/gfx-vulkan/VKStd.cpp + cocos/renderer/gfx-vulkan/VKStd.cpp cocos/renderer/gfx-vulkan/VKStd.h - NO_WERROR cocos/renderer/gfx-vulkan/VKTexture.cpp + cocos/renderer/gfx-vulkan/VKTexture.cpp cocos/renderer/gfx-vulkan/VKTexture.h - NO_WERROR cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp + cocos/renderer/gfx-vulkan/VKTextureBarrier.cpp cocos/renderer/gfx-vulkan/VKTextureBarrier.h - NO_WERROR cocos/renderer/gfx-vulkan/VKUtils.cpp + cocos/renderer/gfx-vulkan/VKUtils.cpp cocos/renderer/gfx-vulkan/VKUtils.h - NO_WERROR cocos/renderer/gfx-vulkan/volk.c + cocos/renderer/gfx-vulkan/volk.c cocos/renderer/gfx-vulkan/volk.h ) endif() cocos_source_files( - cocos/renderer/frame-graph/Blackboard.h - cocos/renderer/frame-graph/CallbackPass.h - cocos/renderer/frame-graph/DevicePass.cpp - cocos/renderer/frame-graph/DevicePass.h - cocos/renderer/frame-graph/DevicePassResourceTable.cpp - cocos/renderer/frame-graph/DevicePassResourceTable.h - cocos/renderer/frame-graph/FrameGraph.cpp - cocos/renderer/frame-graph/FrameGraph.h - cocos/renderer/frame-graph/Handle.h - cocos/renderer/frame-graph/PassInsertPointManager.cpp - cocos/renderer/frame-graph/PassInsertPointManager.h - cocos/renderer/frame-graph/PassNode.cpp - cocos/renderer/frame-graph/PassNode.h - cocos/renderer/frame-graph/PassNodeBuilder.cpp - cocos/renderer/frame-graph/PassNodeBuilder.h - cocos/renderer/frame-graph/RenderTargetAttachment.h - cocos/renderer/frame-graph/Resource.h - cocos/renderer/frame-graph/ResourceAllocator.h - cocos/renderer/frame-graph/ResourceEntry.h - cocos/renderer/frame-graph/ResourceNode.h - cocos/renderer/frame-graph/VirtualResource.cpp - cocos/renderer/frame-graph/VirtualResource.h + cocos/renderer/frame-graph/Blackboard.h + cocos/renderer/frame-graph/CallbackPass.h + cocos/renderer/frame-graph/DevicePass.cpp + cocos/renderer/frame-graph/DevicePass.h + cocos/renderer/frame-graph/DevicePassResourceTable.cpp + cocos/renderer/frame-graph/DevicePassResourceTable.h + cocos/renderer/frame-graph/FrameGraph.cpp + cocos/renderer/frame-graph/FrameGraph.h + cocos/renderer/frame-graph/Handle.h + cocos/renderer/frame-graph/PassInsertPointManager.cpp + cocos/renderer/frame-graph/PassInsertPointManager.h + cocos/renderer/frame-graph/PassNode.cpp + cocos/renderer/frame-graph/PassNode.h + cocos/renderer/frame-graph/PassNodeBuilder.cpp + cocos/renderer/frame-graph/PassNodeBuilder.h + cocos/renderer/frame-graph/RenderTargetAttachment.h + cocos/renderer/frame-graph/Resource.h + cocos/renderer/frame-graph/ResourceAllocator.h + cocos/renderer/frame-graph/ResourceEntry.h + cocos/renderer/frame-graph/ResourceNode.h + cocos/renderer/frame-graph/VirtualResource.cpp + cocos/renderer/frame-graph/VirtualResource.h ) ##### script bindings diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 0c5a3e9fb9..5dbf9941f7 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -56,7 +56,7 @@ void insertVkDynamicStates(vector *out, const vectorpush_back(VK_DYNAMIC_STATE_LINE_WIDTH); break; case DynamicStateFlagBit::DEPTH_BIAS: out->push_back(VK_DYNAMIC_STATE_DEPTH_BIAS); break; case DynamicStateFlagBit::BLEND_CONSTANTS: out->push_back(VK_DYNAMIC_STATE_BLEND_CONSTANTS); break; @@ -201,14 +201,13 @@ void cmdFuncCCVKCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY; } else if (gpuBuffer->memUsage == (MemoryUsage::HOST | MemoryUsage::DEVICE)) { - /* * + /* gpuBuffer->instanceSize = roundUp(gpuBuffer->size, device->getCapabilities().uboOffsetAlignment); bufferInfo.size = gpuBuffer->instanceSize * device->gpuDevice()->backBufferCount; allocInfo.flags = VMA_ALLOCATION_CREATE_MAPPED_BIT; bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT; - /* */ + */ bufferInfo.usage |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; - /* */ allocInfo.usage = VMA_MEMORY_USAGE_CPU_TO_GPU; } diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 94b8e4d2d6..453ab289a0 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -366,13 +366,12 @@ public: private: friend class CCVKDevice; - /* */ using CommandBufferPools = tbb::concurrent_unordered_map< std::thread::id, CCVKGPUCommandBufferPool *, std::hash>; - /* * + /* using CommandBufferPools = unordered_map; std::mutex mutex; - /* */ + */ CommandBufferPools _commandBufferPools; From 2913d867208053d0d54891409200e82b33296a91 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Fri, 16 Apr 2021 09:51:23 +0800 Subject: [PATCH 246/270] fix android background event for device thread (#3411) --- native/CMakeLists.txt | 4 + native/cocos/platform/android/View.cpp | 56 ++-- native/cocos/renderer/GFXDeviceManager.h | 250 +++++++++--------- .../cocos/renderer/gfx-agent/DeviceAgent.cpp | 24 +- native/cocos/renderer/gfx-agent/DeviceAgent.h | 7 +- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 99 ++++--- .../cocos/renderer/gfx-gles2/GLES2Context.h | 58 ++-- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 12 +- native/cocos/renderer/gfx-gles2/GLES2Device.h | 3 + .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 31 ++- .../cocos/renderer/gfx-gles3/GLES3Context.h | 54 ++-- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 8 +- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 72 +++-- native/cocos/renderer/gfx-vulkan/VKContext.h | 7 + native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 63 ++--- native/cocos/renderer/gfx-vulkan/VKDevice.h | 3 + .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 2 + native/docs/LINTER_AUTOFIX_GUIDE.md | 11 +- native/docs/imgs/command-runner.png | Bin 0 -> 101719 bytes native/utils/tidy-fix-commit.sh | 2 +- 20 files changed, 413 insertions(+), 353 deletions(-) create mode 100644 native/docs/imgs/command-runner.png diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 66ebec71e1..d64425d893 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -1743,6 +1743,10 @@ if(WIN32) endif() if(ANDROID) + target_compile_options(cocos2d PRIVATE + -Wno-comment # nested block comments are actually useful sometimes + ) + find_library(LIB_EGL NAMES EGL) find_library(LIB_GLESv2 NAMES GLESv2) target_link_libraries(cocos2d PUBLIC diff --git a/native/cocos/platform/android/View.cpp b/native/cocos/platform/android/View.cpp index cf041efc90..797dccab1e 100644 --- a/native/cocos/platform/android/View.cpp +++ b/native/cocos/platform/android/View.cpp @@ -47,26 +47,26 @@ std::unordered_map keyCodeMap = { {AKEYCODE_DPAD_RIGHT, 1001}, {AKEYCODE_DPAD_CENTER, 1005}}; -void dispatchTouchEvent(int index, AInputEvent *event, cc::TouchEvent &touchEvent) { +void dispatchTouchEvent(int index, AInputEvent *event, cc::TouchEvent *touchEvent) { int pointerID = AMotionEvent_getPointerId(event, index); - touchEvent.touches.push_back({AMotionEvent_getX(event, index), // x - AMotionEvent_getY(event, index), // y - pointerID}); + touchEvent->touches.emplace_back(AMotionEvent_getX(event, index), // x + AMotionEvent_getY(event, index), // y + pointerID); - cc::EventDispatcher::dispatchTouchEvent(touchEvent); - touchEvent.touches.clear(); + cc::EventDispatcher::dispatchTouchEvent(*touchEvent); + touchEvent->touches.clear(); } -void dispatchTouchEvents(AInputEvent *event, cc::TouchEvent &touchEvent) { +void dispatchTouchEvents(AInputEvent *event, cc::TouchEvent *touchEvent) { size_t pointerCount = AMotionEvent_getPointerCount(event); for (size_t i = 0; i < pointerCount; ++i) { - touchEvent.touches.push_back({AMotionEvent_getX(event, i), - AMotionEvent_getY(event, i), - AMotionEvent_getPointerId(event, i)}); + touchEvent->touches.emplace_back(AMotionEvent_getX(event, i), + AMotionEvent_getY(event, i), + AMotionEvent_getPointerId(event, i)); } - cc::EventDispatcher::dispatchTouchEvent(touchEvent); - touchEvent.touches.clear(); + cc::EventDispatcher::dispatchTouchEvent(*touchEvent); + touchEvent->touches.clear(); } } // namespace @@ -90,15 +90,18 @@ void View::engineHandleCmd(int cmd) { case APP_CMD_TERM_WINDOW: { cc::CustomEvent event; event.name = EVENT_DESTROY_WINDOW; + event.args->ptrVal = cocosApp.window; cc::EventDispatcher::dispatchCustomEvent(event); } break; case APP_CMD_RESUME: - if (Application::getInstance()) + if (Application::getInstance()) { Application::getInstance()->onResume(); + } break; case APP_CMD_PAUSE: - if (Application::getInstance()) + if (Application::getInstance()) { Application::getInstance()->onPause(); + } break; case APP_CMD_LOW_MEMORY: cc::EventDispatcher::dispatchMemoryWarningEvent(); @@ -111,19 +114,21 @@ void View::engineHandleCmd(int cmd) { /** * Process the next input event. */ -int32_t View::engineHandleInput(struct android_app *app, AInputEvent *event) { +int32_t View::engineHandleInput(struct android_app * /*app*/, AInputEvent *event) { int type = AInputEvent_getType(event); if (type == AINPUT_EVENT_TYPE_KEY) { int action = AKeyEvent_getAction(event); - if (action == AKEY_EVENT_ACTION_MULTIPLE) + if (action == AKEY_EVENT_ACTION_MULTIPLE) { return 0; + } int keyCode = AKeyEvent_getKeyCode(event); - if (keyCodeMap.count(keyCode) > 0) + if (keyCodeMap.count(keyCode) > 0) { keyCode = keyCodeMap[keyCode]; - else + } else { keyCode = 0; + } keyboardEvent.key = keyCode; keyboardEvent.action = action == AKEY_EVENT_ACTION_DOWN @@ -132,37 +137,38 @@ int32_t View::engineHandleInput(struct android_app *app, AInputEvent *event) { cc::EventDispatcher::dispatchKeyboardEvent(keyboardEvent); return 1; - } else if (type == AINPUT_EVENT_TYPE_MOTION) { + } + if (type == AINPUT_EVENT_TYPE_MOTION) { int action = AMotionEvent_getAction(event); switch (action & AMOTION_EVENT_ACTION_MASK) { case AMOTION_EVENT_ACTION_DOWN: touchEvent.type = cc::TouchEvent::Type::BEGAN; - dispatchTouchEvent(0, event, touchEvent); + dispatchTouchEvent(0, event, &touchEvent); break; case AMOTION_EVENT_ACTION_POINTER_DOWN: touchEvent.type = cc::TouchEvent::Type::BEGAN; dispatchTouchEvent((action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) >> AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT, event, - touchEvent); + &touchEvent); break; case AMOTION_EVENT_ACTION_UP: touchEvent.type = cc::TouchEvent::Type::ENDED; - dispatchTouchEvent(0, event, touchEvent); + dispatchTouchEvent(0, event, &touchEvent); break; case AMOTION_EVENT_ACTION_POINTER_UP: touchEvent.type = cc::TouchEvent::Type::ENDED; dispatchTouchEvent((action & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) >> AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT, event, - touchEvent); + &touchEvent); break; case AMOTION_EVENT_ACTION_MOVE: touchEvent.type = cc::TouchEvent::Type::MOVED; - dispatchTouchEvents(event, touchEvent); + dispatchTouchEvents(event, &touchEvent); break; case AMOTION_EVENT_ACTION_CANCEL: touchEvent.type = cc::TouchEvent::Type::CANCELLED; - dispatchTouchEvents(event, touchEvent); + dispatchTouchEvents(event, &touchEvent); break; default: return 0; diff --git a/native/cocos/renderer/GFXDeviceManager.h b/native/cocos/renderer/GFXDeviceManager.h index 8a3dc353b0..af46d29b1b 100644 --- a/native/cocos/renderer/GFXDeviceManager.h +++ b/native/cocos/renderer/GFXDeviceManager.h @@ -1,124 +1,126 @@ -/**************************************************************************** - Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. - - http://www.cocos.com - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated engine source code (the "Software"), a limited, - worldwide, royalty-free, non-assignable, revocable and non-exclusive license - to use Cocos Creator solely to develop games on your target platforms. You shall - not use Cocos Creator software for developing other software or tools that's - used for developing games. You are not granted to publish, distribute, - sublicense, and/or sell copies of Cocos Creator. - - The software or tools in this License Agreement are licensed, not sold. - Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -****************************************************************************/ - -#pragma once - -#include "bindings/event/CustomEventTypes.h" -#include "bindings/event/EventDispatcher.h" -#include "gfx-agent/DeviceAgent.h" -#include "gfx-empty/EmptyDevice.h" -#include "gfx-validator/DeviceValidator.h" - -//#undef CC_USE_VULKAN -//#undef CC_USE_GLES3 -//#undef CC_USE_GLES2 - -#ifdef CC_USE_VULKAN - #include "gfx-vulkan/GFXVulkan.h" -#endif - -#ifdef CC_USE_METAL - #include "gfx-metal/GFXMTL.h" -#endif - -#ifdef CC_USE_GLES3 - #include "gfx-gles3/GFXGLES3.h" -#endif - -#ifdef CC_USE_GLES2 - #include "gfx-gles2/GFXGLES2.h" -#endif - -namespace cc { -namespace gfx { - -class CC_DLL DeviceManager final { -public: - static Device *create(const DeviceInfo &info) { - Device *device = nullptr; - -#ifdef CC_USE_VULKAN - if (tryCreate(info, device)) return device; -#endif - -#ifdef CC_USE_METAL - if (tryCreate(info, device)) return device; -#endif - -#ifdef CC_USE_GLES3 - if (tryCreate(info, device)) return device; -#endif - -#ifdef CC_USE_GLES2 - if (tryCreate(info, device)) return device; -#endif - - if (tryCreate(info, device)) return device; - - return nullptr; - } - - static void destroy() { - CC_SAFE_DESTROY(Device::instance); - } - -private: - template ::value>> - static bool tryCreate(const DeviceInfo &info, Device *&device) { - device = CC_NEW(DeviceCtor); - - device = CC_NEW(gfx::DeviceAgent(device)); - - if (CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION) { - device = CC_NEW(gfx::DeviceValidator(device)); - //((gfx::DeviceValidator *)device)->enableRecording(true); - } - - if (!device->initialize(info)) { - CC_SAFE_DELETE(device); - return false; - } - - EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [device](const CustomEvent &e) -> void { - device->releaseSurface(reinterpret_cast(e.args->ptrVal)); - }); - - EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [device](const CustomEvent &e) -> void { - device->acquireSurface(reinterpret_cast(e.args->ptrVal)); - }); - - return true; - } - -#ifndef CC_DEBUG - static constexpr int CC_DEBUG{0}; -#endif - - static constexpr bool FORCE_DISABLE_VALIDATION{false}; - static constexpr bool FORCE_ENABLE_VALIDATION{false}; -}; - -} // namespace gfx -} // namespace cc +/**************************************************************************** + Copyright (c) 2019-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "bindings/event/CustomEventTypes.h" +#include "bindings/event/EventDispatcher.h" +#include "gfx-agent/DeviceAgent.h" +#include "gfx-empty/EmptyDevice.h" +#include "gfx-validator/DeviceValidator.h" + +//#undef CC_USE_VULKAN +//#undef CC_USE_GLES3 +//#undef CC_USE_GLES2 + +#ifdef CC_USE_VULKAN + #include "gfx-vulkan/GFXVulkan.h" +#endif + +#ifdef CC_USE_METAL + #include "gfx-metal/GFXMTL.h" +#endif + +#ifdef CC_USE_GLES3 + #include "gfx-gles3/GFXGLES3.h" +#endif + +#ifdef CC_USE_GLES2 + #include "gfx-gles2/GFXGLES2.h" +#endif + +namespace cc { +namespace gfx { + +class CC_DLL DeviceManager final { +public: + static Device *create(const DeviceInfo &info) { + Device *device = nullptr; + +#ifdef CC_USE_VULKAN + if (tryCreate(info, &device)) return device; +#endif + +#ifdef CC_USE_METAL + if (tryCreate(info, &device)) return device; +#endif + +#ifdef CC_USE_GLES3 + if (tryCreate(info, &device)) return device; +#endif + +#ifdef CC_USE_GLES2 + if (tryCreate(info, &device)) return device; +#endif + + if (tryCreate(info, &device)) return device; + + return nullptr; + } + + static void destroy() { + CC_SAFE_DESTROY(Device::instance); + } + +private: + template ::value>> + static bool tryCreate(const DeviceInfo &info, Device **pDevice) { + Device *device = CC_NEW(DeviceCtor); + + device = CC_NEW(gfx::DeviceAgent(device)); + + if (CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION || FORCE_ENABLE_VALIDATION) { + device = CC_NEW(gfx::DeviceValidator(device)); + //((gfx::DeviceValidator *)device)->enableRecording(true); + } + + if (!device->initialize(info)) { + CC_SAFE_DELETE(device); + return false; + } + + EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [device](const CustomEvent &e) -> void { + device->releaseSurface(reinterpret_cast(e.args->ptrVal)); + }); + + EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [device](const CustomEvent &e) -> void { + device->acquireSurface(reinterpret_cast(e.args->ptrVal)); + }); + + *pDevice = device; + + return true; + } + +#ifndef CC_DEBUG + static constexpr int CC_DEBUG{0}; +#endif + + static constexpr bool FORCE_DISABLE_VALIDATION{false}; + static constexpr bool FORCE_ENABLE_VALIDATION{false}; +}; + +} // namespace gfx +} // namespace cc diff --git a/native/cocos/renderer/gfx-agent/DeviceAgent.cpp b/native/cocos/renderer/gfx-agent/DeviceAgent.cpp index 851aa965ee..3e9e565e70 100644 --- a/native/cocos/renderer/gfx-agent/DeviceAgent.cpp +++ b/native/cocos/renderer/gfx-agent/DeviceAgent.cpp @@ -84,7 +84,7 @@ bool DeviceAgent::doInit(const DeviceInfo &info) { } static_cast(_cmdBuff)->initMessageQueue(); - //setMultithreaded(true); + setMultithreaded(true); return true; } @@ -194,7 +194,27 @@ void DeviceAgent::setMultithreaded(bool multithreaded) { } } -CommandBuffer *DeviceAgent::createCommandBuffer(const CommandBufferInfo &info, bool /*hasAgent*/) { +void DeviceAgent::releaseSurface(uintptr_t windowHandle) { + ENQUEUE_MESSAGE_2( + _mainEncoder, DeviceReleaseSurface, + actor, _actor, + windowHandle, windowHandle, + { + actor->releaseSurface(windowHandle); + }); +} + +void DeviceAgent::acquireSurface(uintptr_t windowHandle) { + ENQUEUE_MESSAGE_2( + _mainEncoder, DeviceAcquireSurface, + actor, _actor, + windowHandle, windowHandle, + { + actor->acquireSurface(windowHandle); + }); +} + +CommandBuffer *DeviceAgent::createCommandBuffer(const CommandBufferInfo &info, bool /*hasAgent*/) { CommandBuffer *actor = _actor->createCommandBuffer(info, true); return CC_NEW(CommandBufferAgent(actor)); } diff --git a/native/cocos/renderer/gfx-agent/DeviceAgent.h b/native/cocos/renderer/gfx-agent/DeviceAgent.h index 7911eed9ba..544221dfaa 100644 --- a/native/cocos/renderer/gfx-agent/DeviceAgent.h +++ b/native/cocos/renderer/gfx-agent/DeviceAgent.h @@ -110,11 +110,8 @@ protected: bool doInit(const DeviceInfo &info) override; void doDestroy() override; - void releaseSurface(uintptr_t windowHandle) override { _actor->releaseSurface(windowHandle); } - void acquireSurface(uintptr_t windowHandle) override { _actor->acquireSurface(windowHandle); } - - void bindRenderContext(bool bound) override { _actor->bindRenderContext(bound); } - void bindDeviceContext(bool bound) override { _actor->bindDeviceContext(bound); } + void releaseSurface(uintptr_t windowHandle) override; + void acquireSurface(uintptr_t windowHandle) override; bool _multithreaded{false}; MessageQueue *_mainEncoder{nullptr}; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 73c641e990..4ca77b253f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -98,7 +98,6 @@ GLES2Context::~GLES2Context() = default; #if (CC_PLATFORM == CC_PLATFORM_WINDOWS || CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_MAC_OSX) bool GLES2Context::doInit(const ContextInfo &info) { - _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; @@ -235,7 +234,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { EGLint ctxAttribs[32]; uint n = 0; - bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); + bool hasKHRCreateCtx = checkExtension(CC_TOSTR(EGL_KHR_create_context)); if (hasKHRCreateCtx) { #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION ctxAttribs[n++] = EGL_CONTEXT_FLAGS_KHR; @@ -258,58 +257,26 @@ bool GLES2Context::doInit(const ContextInfo &info) { return false; } - #if (CC_PLATFORM == CC_PLATFORM_ANDROID) - EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [=](const CustomEvent & /*unused*/) -> void { - if (_eglSurface != EGL_NO_SURFACE) { - eglDestroySurface(_eglDisplay, _eglSurface); - _eglSurface = EGL_NO_SURFACE; - } - }); - - // guaranteed to be invoked in the order they were added - EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [=](const CustomEvent &event) -> void { - _windowHandle = reinterpret_cast(event.args->ptrVal); - - EGLint nFmt = 0; - if (eglGetConfigAttrib(_eglDisplay, _eglConfig, EGL_NATIVE_VISUAL_ID, &nFmt) == EGL_FALSE) { - CC_LOG_ERROR("Getting configuration attributes failed."); - return; - } - uint width = GLES2Device::getInstance()->getWidth(); - uint height = GLES2Device::getInstance()->getHeight(); - ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); - - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, nullptr)); - if (_eglSurface == EGL_NO_SURFACE) { - CC_LOG_ERROR("Recreate window surface failed."); - return; - } - - static_cast(GLES2Device::getInstance()->getContext())->MakeCurrent(); - GLES2Device::getInstance()->stateCache()->reset(); - }); - #endif - _eglSharedContext = _eglContext; } else { auto *sharedCtx = static_cast(info.sharedCtx); - _majorVersion = sharedCtx->major_ver(); - _minorVersion = sharedCtx->minor_ver(); - _nativeDisplay = sharedCtx->native_display(); - _eglDisplay = sharedCtx->egl_display(); - _eglConfig = sharedCtx->egl_config(); - _eglSharedContext = sharedCtx->egl_shared_ctx(); - _eglSurface = sharedCtx->egl_surface(); + _majorVersion = sharedCtx->majorVer(); + _minorVersion = sharedCtx->minorVer(); + _nativeDisplay = sharedCtx->nativeDisplay(); + _eglDisplay = sharedCtx->eglDisplay(); + _eglConfig = sharedCtx->eglConfig(); + _eglSharedContext = sharedCtx->eglSharedCtx(); + _eglSurface = sharedCtx->eglSurface(); _colorFmt = sharedCtx->getColorFormat(); _depthStencilFmt = sharedCtx->getDepthStencilFormat(); - _majorVersion = sharedCtx->major_ver(); - _minorVersion = sharedCtx->minor_ver(); + _majorVersion = sharedCtx->majorVer(); + _minorVersion = sharedCtx->minorVer(); _extensions = sharedCtx->_extensions; _isInitialized = sharedCtx->_isInitialized; - bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); + bool hasKHRCreateCtx = checkExtension(CC_TOSTR(EGL_KHR_create_context)); if (!hasKHRCreateCtx) { CC_LOG_INFO( "EGL context creation: EGL_KHR_create_context not supported. Minor version will be discarded, and debug disabled."); @@ -379,7 +346,40 @@ void GLES2Context::doDestroy() { _isInitialized = false; } -bool GLES2Context::MakeCurrentImpl(bool bound) { +void GLES2Context::releaseSurface(uintptr_t /*windowHandle*/) { + #if (CC_PLATFORM == CC_PLATFORM_ANDROID) + if (_eglSurface != EGL_NO_SURFACE) { + eglDestroySurface(_eglDisplay, _eglSurface); + _eglSurface = EGL_NO_SURFACE; + } + #endif +} + +void GLES2Context::acquireSurface(uintptr_t windowHandle) { + #if (CC_PLATFORM == CC_PLATFORM_ANDROID) + _windowHandle = windowHandle; + + EGLint nFmt = 0; + if (eglGetConfigAttrib(_eglDisplay, _eglConfig, EGL_NATIVE_VISUAL_ID, &nFmt) == EGL_FALSE) { + CC_LOG_ERROR("Getting configuration attributes failed."); + return; + } + uint width = GLES2Device::getInstance()->getWidth(); + uint height = GLES2Device::getInstance()->getHeight(); + ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); + + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, nullptr)); + if (_eglSurface == EGL_NO_SURFACE) { + CC_LOG_ERROR("Recreate window surface failed."); + return; + } + + static_cast(GLES2Device::getInstance()->getContext())->makeCurrent(); + GLES2Device::getInstance()->stateCache()->reset(); + #endif +} + +bool GLES2Context::makeCurrentImpl(bool bound) { bool succeeded; EGL_CHECK(succeeded = eglMakeCurrent(_eglDisplay, bound ? _eglSurface : EGL_NO_SURFACE, @@ -394,15 +394,14 @@ void GLES2Context::present() { #endif -bool GLES2Context::MakeCurrent(bool bound) { +bool GLES2Context::makeCurrent(bool bound) { if (!bound) { CC_LOG_DEBUG("eglMakeCurrent() - UNBOUNDED, Context: 0x%p", this); - return MakeCurrentImpl(false); + return makeCurrentImpl(false); } - if (MakeCurrentImpl(bound)) { + if (makeCurrentImpl(bound)) { if (!_isInitialized) { - #if (CC_PLATFORM == CC_PLATFORM_WINDOWS || CC_PLATFORM == CC_PLATFORM_ANDROID) // Turn on or off the vertical sync depending on the input bool value. int interval = 1; @@ -477,7 +476,7 @@ bool GLES2Context::MakeCurrent(bool bound) { return false; } -bool GLES2Context::CheckExtension(const String &extension) const { +bool GLES2Context::checkExtension(const String &extension) const { return (std::find(_extensions.begin(), _extensions.end(), extension) != _extensions.end()); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.h b/native/cocos/renderer/gfx-gles2/GLES2Context.h index a0426527f9..c39e9ef8fd 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.h @@ -25,8 +25,9 @@ #pragma once -#include "gfx-base/GFXContext.h" +#include "GLES2Std.h" #include "GLES2Wrangler.h" +#include "gfx-base/GFXContext.h" namespace cc { namespace gfx { @@ -34,60 +35,63 @@ namespace gfx { class CC_GLES2_API GLES2Context final : public Context { public: GLES2Context(); - ~GLES2Context(); + ~GLES2Context() override; void present() override; - bool MakeCurrent(bool bound); + bool makeCurrent(bool bound); - bool CheckExtension(const String &extension) const; + bool checkExtension(const String &extension) const; #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) CC_INLINE intptr_t eagl_context() const { return _eaglContext; } CC_INLINE intptr_t eagl_shared_ctx() const { return _eaglSharedContext; } - CC_INLINE uint getDefaultFramebuffer() const { return _defaultFBO; } + CC_INLINE uint getDefaultFramebuffer() const { return _defaultFBO; } #else - CC_INLINE NativeDisplayType native_display() const { return _nativeDisplay; } - CC_INLINE EGLDisplay egl_display() const { return _eglDisplay; } - CC_INLINE EGLConfig egl_config() const { return _eglConfig; } - CC_INLINE EGLSurface egl_surface() const { return _eglSurface; } - CC_INLINE EGLContext egl_context() const { return _eglContext; } - CC_INLINE EGLContext egl_shared_ctx() const { return _eglSharedContext; } + CC_INLINE NativeDisplayType nativeDisplay() const { return _nativeDisplay; } + CC_INLINE EGLDisplay eglDisplay() const { return _eglDisplay; } + CC_INLINE EGLConfig eglConfig() const { return _eglConfig; } + CC_INLINE EGLSurface eglSurface() const { return _eglSurface; } + CC_INLINE EGLContext eglContext() const { return _eglContext; } + CC_INLINE EGLContext eglSharedCtx() const { return _eglSharedContext; } #endif - CC_INLINE bool MakeCurrent() { return MakeCurrent(true); } - CC_INLINE int major_ver() const { return _majorVersion; } - CC_INLINE int minor_ver() const { return _minorVersion; } + CC_INLINE bool makeCurrent() { return makeCurrent(true); } + CC_INLINE int majorVer() const { return _majorVersion; } + CC_INLINE int minorVer() const { return _minorVersion; } - bool MakeCurrentImpl(bool bound); + bool makeCurrentImpl(bool bound); #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) bool createCustomFrameBuffer(); void doDestroyCustomFrameBuffer(); #endif + void releaseSurface(uintptr_t windowHandle); + void acquireSurface(uintptr_t windowHandle); + protected: bool doInit(const ContextInfo &info) override; void doDestroy() override; bool _isPrimaryContex = false; #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) - intptr_t _eaglContext = 0; + intptr_t _eaglContext = 0; intptr_t _eaglSharedContext = 0; // iOS needs to created frame buffer and attach color/depth/stencil buffer. - uint _defaultFBO = 0; - uint _defaultColorBuffer = 0; + uint _defaultFBO = 0; + uint _defaultColorBuffer = 0; uint _defaultDepthStencilBuffer = 0; #else - NativeDisplayType _nativeDisplay = 0; - EGLDisplay _eglDisplay = EGL_NO_DISPLAY; - EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; - EGLSurface _eglSurface = EGL_NO_SURFACE; - EGLContext _eglContext = EGL_NO_CONTEXT; - EGLContext _eglSharedContext = EGL_NO_CONTEXT; + NativeDisplayType _nativeDisplay = 0; // NOLINT(modernize-use-nullptr) portability issues + EGLDisplay _eglDisplay = EGL_NO_DISPLAY; + EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; + EGLSurface _eglSurface = EGL_NO_SURFACE; + EGLContext _eglContext = EGL_NO_CONTEXT; + EGLContext _eglSharedContext = EGL_NO_CONTEXT; #endif - int _majorVersion = 0; - int _minorVersion = 0; + int _majorVersion = 0; + int _minorVersion = 0; StringArray _extensions; - bool _isInitialized = false; + bool _isInitialized = false; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index d1af48c6ae..7ebee28910 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -205,6 +205,14 @@ void GLES2Device::doDestroy() { CC_SAFE_DESTROY(_renderContext); } +void GLES2Device::releaseSurface(uintptr_t windowHandle) { + static_cast(_context)->releaseSurface(windowHandle); +} + +void GLES2Device::acquireSurface(uintptr_t windowHandle) { + static_cast(_context)->acquireSurface(windowHandle); +} + void GLES2Device::resize(uint width, uint height) { _width = width; _height = height; @@ -229,7 +237,7 @@ void GLES2Device::present() { } void GLES2Device::bindRenderContext(bool bound) { - _renderContext->MakeCurrent(bound); + _renderContext->makeCurrent(bound); _context = bound ? _renderContext : nullptr; if (bound) { @@ -247,7 +255,7 @@ void GLES2Device::bindDeviceContext(bool bound) { _deviceContext = CC_NEW(GLES2Context); _deviceContext->initialize(ctxInfo); } - _deviceContext->MakeCurrent(bound); + _deviceContext->makeCurrent(bound); _context = bound ? _deviceContext : nullptr; if (bound) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.h b/native/cocos/renderer/gfx-gles2/GLES2Device.h index 842e98dbe0..2e600e1be8 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.h @@ -114,6 +114,9 @@ protected: TextureBarrier * createTextureBarrier() override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *dst, const BufferTextureCopy *regions, uint count) override; + void releaseSurface(uintptr_t windowHandle) override; + void acquireSurface(uintptr_t windowHandle) override; + void bindRenderContext(bool bound) override; void bindDeviceContext(bool bound) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index a3b3f90d2b..708171e2ed 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -91,7 +91,6 @@ GLES3Context::~GLES3Context() = default; #if (CC_PLATFORM == CC_PLATFORM_WINDOWS || CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_MAC_OSX) bool GLES3Context::doInit(const ContextInfo &info) { - _vsyncMode = info.vsyncMode; _windowHandle = info.windowHandle; @@ -226,7 +225,7 @@ bool GLES3Context::doInit(const ContextInfo &info) { EGLint ctxAttribs[32]; uint n = 0; - bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); + bool hasKHRCreateCtx = checkExtension(CC_TOSTR(EGL_KHR_create_context)); if (hasKHRCreateCtx) { for (int m = 2; m >= 0; --m) { #if (CC_PLATFORM == CC_PLATFORM_MAC_OSX) @@ -267,19 +266,19 @@ bool GLES3Context::doInit(const ContextInfo &info) { } else { auto *sharedCtx = static_cast(info.sharedCtx); - _majorVersion = sharedCtx->major_ver(); - _minorVersion = sharedCtx->minor_ver(); - _nativeDisplay = sharedCtx->native_display(); - _eglDisplay = sharedCtx->egl_display(); - _eglConfig = sharedCtx->egl_config(); - _eglSharedContext = sharedCtx->egl_shared_ctx(); - _eglSurface = sharedCtx->egl_surface(); + _majorVersion = sharedCtx->majorVer(); + _minorVersion = sharedCtx->minorVer(); + _nativeDisplay = sharedCtx->nativeDisplay(); + _eglDisplay = sharedCtx->eglDisplay(); + _eglConfig = sharedCtx->eglConfig(); + _eglSharedContext = sharedCtx->eglSharedCtx(); + _eglSurface = sharedCtx->eglSurface(); _colorFmt = sharedCtx->getColorFormat(); _depthStencilFmt = sharedCtx->getDepthStencilFormat(); _extensions = sharedCtx->_extensions; _isInitialized = sharedCtx->_isInitialized; - bool hasKHRCreateCtx = CheckExtension(CC_TOSTR(EGL_KHR_create_context)); + bool hasKHRCreateCtx = checkExtension(CC_TOSTR(EGL_KHR_create_context)); if (!hasKHRCreateCtx) { CC_LOG_INFO("EGL context creation: EGL_KHR_create_context not supported. Minor version will be discarded, and debug disabled."); _minorVersion = 0; @@ -376,12 +375,12 @@ void GLES3Context::acquireSurface(uintptr_t windowHandle) { return; } - static_cast(GLES3Device::getInstance()->getContext())->MakeCurrent(); + static_cast(GLES3Device::getInstance()->getContext())->makeCurrent(); GLES3Device::getInstance()->stateCache()->reset(); #endif } -bool GLES3Context::MakeCurrentImpl(bool bound) { +bool GLES3Context::makeCurrentImpl(bool bound) { bool succeeded; EGL_CHECK(succeeded = eglMakeCurrent(_eglDisplay, bound ? _eglSurface : EGL_NO_SURFACE, @@ -396,13 +395,13 @@ void GLES3Context::present() { #endif -bool GLES3Context::MakeCurrent(bool bound) { +bool GLES3Context::makeCurrent(bool bound) { if (!bound) { CC_LOG_DEBUG("eglMakeCurrent() - UNBOUNDED, Context: 0x%p", this); - return MakeCurrentImpl(false); + return makeCurrentImpl(false); } - if (MakeCurrentImpl(bound)) { + if (makeCurrentImpl(bound)) { if (!_isInitialized) { #if (CC_PLATFORM == CC_PLATFORM_WINDOWS || CC_PLATFORM == CC_PLATFORM_ANDROID) // Turn on or off the vertical sync depending on the input bool value. @@ -478,7 +477,7 @@ bool GLES3Context::MakeCurrent(bool bound) { return false; } -bool GLES3Context::CheckExtension(const String &extension) const { +bool GLES3Context::checkExtension(const String &extension) const { return (std::find(_extensions.begin(), _extensions.end(), extension) != _extensions.end()); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.h b/native/cocos/renderer/gfx-gles3/GLES3Context.h index c4e6ba25b1..97d54b4761 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.h @@ -25,9 +25,9 @@ #pragma once -#include "gfx-base/GFXContext.h" - +#include "GLES3Std.h" #include "GLES3Wrangler.h" +#include "gfx-base/GFXContext.h" namespace cc { namespace gfx { @@ -35,40 +35,39 @@ namespace gfx { class CC_GLES3_API GLES3Context final : public Context { public: GLES3Context(); - ~GLES3Context(); + ~GLES3Context() override; void present() override; - bool MakeCurrent(bool bound); - bool CheckExtension(const String &extension) const; + bool makeCurrent(bool bound); + bool checkExtension(const String &extension) const; #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) CC_INLINE intptr_t eagl_context() const { return _eaglContext; } CC_INLINE intptr_t eagl_shared_ctx() const { return _eaglSharedContext; } CC_INLINE uint getDefaultFramebuffer() const { return _defaultFBO; } #else - CC_INLINE NativeDisplayType native_display() const { return _nativeDisplay; } - CC_INLINE EGLDisplay egl_display() const { return _eglDisplay; } - CC_INLINE EGLConfig egl_config() const { return _eglConfig; } - CC_INLINE EGLSurface egl_surface() const { return _eglSurface; } - CC_INLINE EGLContext egl_context() const { return _eglContext; } - CC_INLINE EGLContext egl_shared_ctx() const { return _eglSharedContext; } + CC_INLINE NativeDisplayType nativeDisplay() const { return _nativeDisplay; } + CC_INLINE EGLDisplay eglDisplay() const { return _eglDisplay; } + CC_INLINE EGLConfig eglConfig() const { return _eglConfig; } + CC_INLINE EGLSurface eglSurface() const { return _eglSurface; } + CC_INLINE EGLContext eglContext() const { return _eglContext; } + CC_INLINE EGLContext eglSharedCtx() const { return _eglSharedContext; } #endif - CC_INLINE bool MakeCurrent() { return MakeCurrent(true); } - CC_INLINE int major_ver() const { return _majorVersion; } - CC_INLINE int minor_ver() const { return _minorVersion; } + CC_INLINE bool makeCurrent() { return makeCurrent(true); } + CC_INLINE int majorVer() const { return _majorVersion; } + CC_INLINE int minorVer() const { return _minorVersion; } void releaseSurface(uintptr_t windowHandle); void acquireSurface(uintptr_t windowHandle); protected: - bool MakeCurrentImpl(bool bound); + bool makeCurrentImpl(bool bound); #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) bool createCustomFrameBuffer(); void doDestroyCustomFrameBuffer(); #endif -protected: bool doInit(const ContextInfo &info) override; void doDestroy() override; @@ -81,19 +80,18 @@ protected: uint _defaultColorBuffer = 0; uint _defaultDepthStencilBuffer = 0; #else - NativeDisplayType _nativeDisplay = 0; - EGLDisplay _eglDisplay = EGL_NO_DISPLAY; - EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; - EGLSurface _eglSurface = EGL_NO_SURFACE; - EGLContext _eglContext = EGL_NO_CONTEXT; - EGLContext _eglSharedContext = EGL_NO_CONTEXT; - int _majorVersion = 0; - int _minorVersion = 0; - StringArray _extensions; - bool _isInitialized = false; + NativeDisplayType _nativeDisplay = 0; // NOLINT(modernize-use-nullptr) portability issues + EGLDisplay _eglDisplay = EGL_NO_DISPLAY; + EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; + EGLSurface _eglSurface = EGL_NO_SURFACE; + EGLContext _eglContext = EGL_NO_CONTEXT; + EGLContext _eglSharedContext = EGL_NO_CONTEXT; +#endif + int _majorVersion = 0; + int _minorVersion = 0; + StringArray _extensions; + bool _isInitialized = false; }; } // namespace gfx } // namespace cc - -#endif // CC_GFXGLES3_EGL_CONTEXT_H_ diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 5b80af275c..3e81063d6c 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -101,7 +101,7 @@ bool GLES3Device::doInit(const DeviceInfo & /*info*/) { _features[static_cast(Feature::BLEND_MINMAX)] = true; _features[static_cast(Feature::ELEMENT_INDEX_UINT)] = true; - uint minorVersion = static_cast(_context)->minor_ver(); + uint minorVersion = static_cast(_context)->minorVer(); if (minorVersion) { _features[static_cast(Feature::COMPUTE_SHADER)] = true; } @@ -239,7 +239,7 @@ void GLES3Device::present() { } void GLES3Device::bindRenderContext(bool bound) { - _renderContext->MakeCurrent(bound); + _renderContext->makeCurrent(bound); _context = bound ? _renderContext : nullptr; if (bound) { @@ -257,7 +257,7 @@ void GLES3Device::bindDeviceContext(bool bound) { _deviceContext = CC_NEW(GLES3Context); _deviceContext->initialize(ctxInfo); } - _deviceContext->MakeCurrent(bound); + _deviceContext->makeCurrent(bound); _context = bound ? _deviceContext : nullptr; if (bound) { @@ -266,7 +266,7 @@ void GLES3Device::bindDeviceContext(bool bound) { } } -uint GLES3Device::getMinorVersion() const { return static_cast(_context)->minor_ver(); } +uint GLES3Device::getMinorVersion() const { return static_cast(_context)->minorVer(); } CommandBuffer *GLES3Device::createCommandBuffer(const CommandBufferInfo &info, bool hasAgent) { if (hasAgent || info.type == CommandBufferType::PRIMARY) return CC_NEW(GLES3PrimaryCommandBuffer); diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index ecaac9f968..b2ff4fdcc9 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -34,9 +34,6 @@ #include "VKUtils.h" -#include "bindings/event/CustomEventTypes.h" -#include "bindings/event/EventDispatcher.h" - namespace cc { namespace gfx { @@ -267,6 +264,7 @@ bool CCVKContext::doInit(const ContextInfo &info) { } else { VK_CHECK(vkCreateDebugReportCallbackEXT(_gpuContext->vkInstance, &debugReportCreateInfo, nullptr, &_gpuContext->vkDebugReport)); } + _validationEnabled = true; #endif ///////////////////// Surface Creation ///////////////////// @@ -275,40 +273,6 @@ bool CCVKContext::doInit(const ContextInfo &info) { VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; surfaceCreateInfo.window = reinterpret_cast(_windowHandle); VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); - - EventDispatcher::addCustomEventListener(EVENT_DESTROY_WINDOW, [this](const CustomEvent &/*event*/) -> void { - if (_gpuContext && _gpuContext->vkSurface != VK_NULL_HANDLE) { - - CCVKDevice *device = CCVKDevice::getInstance(); - - auto *queue = static_cast(device->getQueue()); - - uint fenceCount = device->gpuFencePool()->size(); - if (fenceCount) { - VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, fenceCount, - device->gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); - } - - device->destroySwapchain(); - device->_swapchainReady = false; - - vkDestroySurfaceKHR(_gpuContext->vkInstance, _gpuContext->vkSurface, nullptr); - _gpuContext->vkSurface = VK_NULL_HANDLE; - } - }); - - EventDispatcher::addCustomEventListener(EVENT_RECREATE_WINDOW, [this](const CustomEvent &event) -> void { - _windowHandle = reinterpret_cast(event.args->ptrVal); - - if (_gpuContext && _gpuContext->vkSurface == VK_NULL_HANDLE) { - VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; - surfaceCreateInfo.window = reinterpret_cast(_windowHandle); - VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, - nullptr, &_gpuContext->vkSurface)); - - CCVKDevice::getInstance()->checkSwapchainStatus(); - } - }); #elif defined(VK_USE_PLATFORM_WIN32_KHR) VkWin32SurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR}; surfaceCreateInfo.hinstance = static_cast(GetModuleHandle(0)); @@ -573,5 +537,39 @@ void CCVKContext::doDestroy() { } } +void CCVKContext::releaseSurface(uintptr_t /*windowHandle*/) { +#if (CC_PLATFORM == CC_PLATFORM_ANDROID) + if (_gpuContext && _gpuContext->vkSurface == VK_NULL_HANDLE) return; + + CCVKDevice *device = CCVKDevice::getInstance(); + + uint fenceCount = device->gpuFencePool()->size(); + if (fenceCount) { + VK_CHECK(vkWaitForFences(device->gpuDevice()->vkDevice, fenceCount, + device->gpuFencePool()->data(), VK_TRUE, DEFAULT_TIMEOUT)); + } + + device->destroySwapchain(); + device->_swapchainReady = false; + + vkDestroySurfaceKHR(_gpuContext->vkInstance, _gpuContext->vkSurface, nullptr); + _gpuContext->vkSurface = VK_NULL_HANDLE; +#endif +} + +void CCVKContext::acquireSurface(uintptr_t windowHandle) { +#if (CC_PLATFORM == CC_PLATFORM_ANDROID) + _windowHandle = windowHandle; + if (_gpuContext && _gpuContext->vkSurface != VK_NULL_HANDLE) return; + + VkAndroidSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR}; + surfaceCreateInfo.window = reinterpret_cast(_windowHandle); + VK_CHECK(vkCreateAndroidSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, + nullptr, &_gpuContext->vkSurface)); + + CCVKDevice::getInstance()->checkSwapchainStatus(); +#endif +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.h b/native/cocos/renderer/gfx-vulkan/VKContext.h index b6af9f68bb..6b016a96e3 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.h +++ b/native/cocos/renderer/gfx-vulkan/VKContext.h @@ -56,6 +56,11 @@ public: inline const vector &getLayers() const { return _layers; } inline const vector &getExtensions() const { return _extensions; } + inline bool validationEnabled() const { return _validationEnabled; } + + void releaseSurface(uintptr_t windowHandle); + void acquireSurface(uintptr_t windowHandle); + protected: bool doInit(const ContextInfo &info) override; void doDestroy() override; @@ -66,6 +71,8 @@ protected: int _minorVersion = 0; vector _layers; vector _extensions; + + bool _validationEnabled = false; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 789eacf420..47f750d228 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -106,12 +106,7 @@ bool CCVKDevice::doInit(const DeviceInfo & /*info*/) { _gpuDevice->minorVersion = context->minorVersion(); // only enable the absolute essentials for now - vector requestedValidationLayers{}; - -#if CC_DEBUG > 0 - requestedValidationLayers.push_back("VK_LAYER_KHRONOS_validation"); -#endif - + vector requestedLayers{}; vector requestedExtensions{ VK_KHR_SWAPCHAIN_EXTENSION_NAME, }; @@ -132,13 +127,14 @@ bool CCVKDevice::doInit(const DeviceInfo & /*info*/) { requestedFeatures2.features.depthBounds = deviceFeatures.depthBounds; requestedFeatures2.features.multiDrawIndirect = deviceFeatures.multiDrawIndirect; -#if CC_DEBUG > 0 - // GPU-assisted validation - requestedFeatures2.features.shaderInt64 = deviceFeatures.shaderInt64; - requestedFeatures2.features.fragmentStoresAndAtomics = deviceFeatures.fragmentStoresAndAtomics; - requestedFeatures2.features.vertexPipelineStoresAndAtomics = deviceFeatures.vertexPipelineStoresAndAtomics; - requestedExtensions.push_back(VK_KHR_SHADER_NON_SEMANTIC_INFO_EXTENSION_NAME); -#endif + if (context->validationEnabled()) { + requestedLayers.push_back("VK_LAYER_KHRONOS_validation"); + // GPU-assisted validation + requestedFeatures2.features.shaderInt64 = deviceFeatures.shaderInt64; + requestedFeatures2.features.fragmentStoresAndAtomics = deviceFeatures.fragmentStoresAndAtomics; + requestedFeatures2.features.vertexPipelineStoresAndAtomics = deviceFeatures.vertexPipelineStoresAndAtomics; + requestedExtensions.push_back(VK_KHR_SHADER_NON_SEMANTIC_INFO_EXTENSION_NAME); + } // check extensions uint availableLayerCount; @@ -152,7 +148,7 @@ bool CCVKDevice::doInit(const DeviceInfo & /*info*/) { VK_CHECK(vkEnumerateDeviceExtensionProperties(gpuContext->physicalDevice, nullptr, &availableExtensionCount, _gpuDevice->extensions.data())); // just filter out the unsupported layers & extensions - for (const char *layer : requestedValidationLayers) { + for (const char *layer : requestedLayers) { if (isLayerSupported(layer, _gpuDevice->layers)) { _layers.push_back(layer); } @@ -379,8 +375,7 @@ bool CCVKDevice::doInit(const DeviceInfo & /*info*/) { gpuTransportHub()->checkIn( [&barrier](const CCVKGPUCommandBuffer *gpuCommandBuffer) { cmdFuncCCVKImageMemoryBarrier(gpuCommandBuffer, barrier); - }, - true); // submit immediately + }); _gpuDevice->defaultBuffer.usage = BufferUsage::UNIFORM; _gpuDevice->defaultBuffer.memUsage = MemoryUsage::HOST | MemoryUsage::DEVICE; @@ -452,27 +447,27 @@ void CCVKDevice::doDestroy() { } for (CCVKTexture *texture : _depthStencilTextures) { - CC_SAFE_DESTROY(texture); + CC_SAFE_DESTROY(texture) } _depthStencilTextures.clear(); - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_cmdBuff); + CC_SAFE_DESTROY(_queue) + CC_SAFE_DESTROY(_cmdBuff) - CC_SAFE_DELETE(_gpuBufferHub); - CC_SAFE_DELETE(_gpuTransportHub); - CC_SAFE_DELETE(_gpuSemaphorePool); - CC_SAFE_DELETE(_gpuDescriptorHub); - CC_SAFE_DELETE(_gpuBarrierManager); - CC_SAFE_DELETE(_gpuDescriptorSetHub); + CC_SAFE_DELETE(_gpuBufferHub) + CC_SAFE_DELETE(_gpuTransportHub) + CC_SAFE_DELETE(_gpuSemaphorePool) + CC_SAFE_DELETE(_gpuDescriptorHub) + CC_SAFE_DELETE(_gpuBarrierManager) + CC_SAFE_DELETE(_gpuDescriptorSetHub) uint backBufferCount = static_cast(_context)->gpuContext()->swapchainCreateInfo.minImageCount; for (uint i = 0U; i < backBufferCount; i++) { _gpuRecycleBins[i]->clear(); - CC_SAFE_DELETE(_gpuStagingBufferPools[i]); - CC_SAFE_DELETE(_gpuRecycleBins[i]); - CC_SAFE_DELETE(_gpuFencePools[i]); + CC_SAFE_DELETE(_gpuStagingBufferPools[i]) + CC_SAFE_DELETE(_gpuRecycleBins[i]) + CC_SAFE_DELETE(_gpuFencePools[i]) } _gpuStagingBufferPools.clear(); _gpuRecycleBins.clear(); @@ -517,7 +512,7 @@ void CCVKDevice::doDestroy() { for (CCVKGPUDevice::CommandBufferPools::iterator it = _gpuDevice->_commandBufferPools.begin(); it != _gpuDevice->_commandBufferPools.end(); ++it) { - CC_SAFE_DELETE(it->second); + CC_SAFE_DELETE(it->second) } _gpuDevice->_commandBufferPools.clear(); _gpuDevice->_descriptorSetPools.clear(); @@ -531,7 +526,7 @@ void CCVKDevice::doDestroy() { _gpuDevice = nullptr; } - CC_SAFE_DESTROY(_context); + CC_SAFE_DESTROY(_context) } // no-op since we maintain surface size internally @@ -816,5 +811,13 @@ void CCVKDevice::destroySwapchain() { } } +void CCVKDevice::releaseSurface(uintptr_t windowHandle) { + static_cast(_context)->releaseSurface(windowHandle); +} + +void CCVKDevice::acquireSurface(uintptr_t windowHandle) { + static_cast(_context)->acquireSurface(windowHandle); +} + } // namespace gfx } // namespace cc diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.h b/native/cocos/renderer/gfx-vulkan/VKDevice.h index 2b08377af4..334b6a24e6 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.h +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.h @@ -126,6 +126,9 @@ protected: void destroySwapchain(); bool checkSwapchainStatus(); + void releaseSurface(uintptr_t windowHandle) override; + void acquireSurface(uintptr_t windowHandle) override; + CCVKGPUDevice * _gpuDevice = nullptr; CCVKGPUSwapchain * _gpuSwapchain = nullptr; vector _depthStencilTextures; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 453ab289a0..46afa00727 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -1221,6 +1221,8 @@ public: void flush(CCVKGPUTransportHub *transportHub) { auto &buffers = _buffersToBeUpdated[_device->curBackBufferIndex]; + if (buffers.empty()) return; + transportHub->checkIn([&](const CCVKGPUCommandBuffer *gpuCommandBuffer) { VkBufferCopy region; for (auto &buffer : buffers) { diff --git a/native/docs/LINTER_AUTOFIX_GUIDE.md b/native/docs/LINTER_AUTOFIX_GUIDE.md index 0254332d29..af1d1a69e9 100644 --- a/native/docs/LINTER_AUTOFIX_GUIDE.md +++ b/native/docs/LINTER_AUTOFIX_GUIDE.md @@ -83,7 +83,7 @@ Another fairly decent choice is to install the `clangd` extension only: (`clangd ![](imgs/clangd.png) -`clangd` is the official language server by LLVM. Compared to the first approach, it has real-time linting & fixing support (much better performance and IDE integration). However it only supports a portion of clang-tidy rules, so the reports won't be identical to the CI environment and it doesn't provide a 'fix-all' command. But combined with the CLI approach below it still can be of a great help. +`clangd` is the official language server by LLVM. Compared to the first approach, it has real-time linting & fixing support (much better performance and IDE integration). However it only supports a subset of clang-tidy rules, so the reports won't be identical to the CI environment and it doesn't provide a 'fix-all' command. But combined with the CLI approach below it still can be of a great help. ## Command Line Interface @@ -101,7 +101,14 @@ utils/tidy-fix-commit.sh HEAD~3..HEAD # run auto-fix on files in the last 3 comm All the issues will be reported in the standard output. This can be used as local self-test runs for CI checks. -The CLI scripts can(and are recommended to) be used as complements to the VS Code environment. +Also, you can install the `Command Runner` extension in VSCode: + +![](imgs/command-runner.png) + +And assign a suitable key binding for fixing the current file: +```bash +clang-tidy -fix ${file} +``` ## Other IDEs diff --git a/native/docs/imgs/command-runner.png b/native/docs/imgs/command-runner.png new file mode 100644 index 0000000000000000000000000000000000000000..b9e763c4fa6fd94b9467500077ae9b39d09f1f2a GIT binary patch literal 101719 zcmeFYRdgInvo0uTF}1*AW=4ydnVFecvY1)2g_bO4*%mW1wZLL#W~R27M*G}3=V9jF ze?QL4)XG|!t5$T@s>sMMBEHCuQBjgcLBvOdfPg@em61?`fPi&^fPf5#hy8dWEVX$A z0fFpbD=w}gD=to|;^u5+>tG21ArtdM8%{_44|cBp_r%00r~(;;PK25A6rdgevNSX< z5r82Viy%4>SyHmKB8kP&MqhZO2cfG0GQu9%z(JyCI5iVh)z}CJd|B7-^6GNFc)1_T zcu(PXza)bA?AMAR%UlK{lFMU^PlDb@n3Xw5=>dUN0xf6))zBi45&j7W2PGf*E-3Au z8?x}InwPHSjrYx1GKwYf8bV}HJi9mT`i9gA7Gkp}Sq2PAO8+-i9ZZF20I03Pf`z}f zgPBmtSe z1;sNEU6o(ms^lhv)ULbH5qanX6^c~S)1la4%*vru-H<`}K>krTj6w}A3Z#g$bWws* z0VDM8PoQfkSBdEFBn-nTkwfKY@?eXwM>G9!a-~>Al3^TbDf-i}oE=xVov2n5ZGf59 z3~7Q07nd(9P8aECg$({XF;XQtmFvH9H{v@#++Dv?aw}OT=)=2FVEH0N3tGS+l(l-h z2^nO|1q!HtCrK-b#bg;fi2tfS7{&rO9gHFdi8*XK3Xv?z1#I-3_v+=}m*Lrhq8o;S z+WI+zJRyUJi{5V!MGFWLqlBm{@F9aPf>MFFHI8f;DaRZp#AU)wPlC=B&4w!!VeUvn z8^b{Jk%v_-kot>uX|UwYx?!+{wfk-)T=M$cR8+A+j)LUx@ElKxe)_913p6`hM^mn*_%%U34*%phV&yC2OPRrr=%us zAc4be1#TQ}Z3wJQ{Qc8YCi5+VP*!ID*-zcjq`{jX*Iz{(l>4Uw7?)?^=il{$u*R5A z5ZMg7e}2Kp5mmJSxAes@FFuQ#ATov!jSZoALk0nn`+8`BNEo8@>G0)@;im?Oze6)j zm}wy`O?Y*n7sAF(2$o>(LZS1CKZjs$A-BL+1rux$8we6@Q60fvijstqQiexPp^Jl% zYo!R$xj}FU5`Bp_l*F=@|o5<&fS%%T~0B*##;uoX|iAsAY zHwXhN^kv^N^SO@T=in?0RBg!lAjidu^COP@ztHK0XchQP@%;t(qIZTg6|qbcBb%Jy zLURmdvy#Nd4Vc;LP*V?Bng7z^)ry!mi@V}A?q8{8KBG_q9rIv%g);D9DEIk1VEJ=( z0gMwa`%bUaA2?soH{yb*rr-ww(xD_F;<)m|Z)c5Cp&E?El zoe-VqvFyOCPnz0j(_ zs`Ws0d^FQg&w`17sR>)#zDeuX0(zysp5V$CN9}W+bAfZJmG;I-`|c^S$i5Pmqv9? z2%7^gp%k+@-Y�^=@)kjF7x>ez#7y)_d6-T$m|rFDz7;T37%qH?j~OJ4!#YJF+(J z0)Y@~UmRiVAg&_kip7_e68rQE)_2nm(_j6l$nEyA`24s-1e2^AR{nolhCp+aeG+DM z6MH{p)9Cs?FMVG9(s;}^tHjZ!o1Zc4(75bcFP!eHfX$Jn+bb||#>LH*@Hs8ZnbVo` zvc9HKrjE90$@;qIyV?c{2xKPdO zQvK3+fsT!YjjfG+x{{9C(o;>;HukpeHs|&_dM-K#c_sxyl4=qIxwESRkAM^)^N@w=Txit76vU7-4c!f~pU ztk*Db8K5iP#r#s*P1&5xk|<0M&sf5El#?lNyY>0pcE>jDH@||hz^jj`_x2>m6`)d-C1eu)vjHCUJ4(T zu_YKw=%#6tQrGm3x?RBJ{z*2fr)Kv9r`SPE`)NkB?sN<+&mG~-dwt4P!kRC0-JjiU zPuZ(2vr;kBzNKv%pf{K;%ANm+V92Y$?<{lTboV$u@v^6`a0<&pcV2JH$QvOLK}Tn*^MK} z5oR^lQF$Zq&N?rz+za=dcJcOzMth2n_i{R2oD{Nudp6@<()7{efXd_au zc%||g_j%+l?Dgg~=;iy{=s2`0oF3{EVTGVYfK9*Y)AkJCPbXhPug;pTPO`>=^WhQ- zrntAbs34Cw59?$f^?lXOqS1KO_;KNdppGkV<@%qkrxFV>G)&2Q7deD}H&3N(#d^xp zIYM64FJph|E9!?PVY2P{F1_A{Ve*h}aXOh73~xHVJaA8LqBi?BE*Rc*t+@=`%bBkZ zH<@dPRpqu|`<{<^Ox%9sHgjrNS7`HjUU<+yZ+>hxUi;Gtesbzv@A8wpN4S?Ku@R&V zvU#aF@p|68Z}e*<3BYy3f7J?eM4fdula*<5;P`IkcKAH*V>)IYGYcxEX2@ z<};Ery7Tz)Qu=xrsqI;f`ugc*@z+J|I#Knn>gP>HANvQ-L;eIWCP7z0w9UiL%V(7p z`=$2NqRFB9JT)P~%dDr2zpXppUegAvRgEw24{z_~ThuOksv%$rGBXf*vT`7%)FAWw z-3ctSZy0$ zZS8ceC0CRZN9UJ8_D~R|=)o*AZ*N_3udl{U{U(XCRV20`1JB-JYN!&XxIi*7AL)mKrH-tXq9O$S#~2<00ErI)^D%<_xP>4I z{%0%&Necn}U(cZ+Afjv`0ROj)(ntT#mH2W0^PB(GL*+yLw*;(HKJ&6E|{ z{^$@~WOUsjAh4>@ zTNli5goIH+SBT;)R=31 z*3i)KwfZDC_rCPLvTlB1^QSCZ5(GlxzqJOwkQ=RPNCpuo%71Mp==m=F@&76&0tF)$ z+@~1w8Bi|z@3Ue#Ey2kI1OBDui@>Y2&?QEiaQ=(nKQr~AJpbEgf9M4Z9ukooW(HUR z`|ny(X)z@sg~a%m76L^kvi(~GKXm?I1pk={k^2n#-&L+c3ZPxXk`b@L|94rD?Z|+C zRb(&#F&rWy3(6K=E9~Et9{lm{8nk~kp+u1oV7`kwDN3*1zso{I5ZwK%A|WwoflydZ zh(F16Q2tHnkQg6EDfIsv<^M^k|G!cGe`1s+lu#J75>Se9ab;}N`6C+1b`B0I4;7i2 z78x~fd&0{!e%GxCK}*iYvbwsuCGvLPZz?F4M@L5XtHpl&(3WAVBg(TR3aS%N-7o9t zP`gVhz4Ryt}iuo^SWg+r`y|6XuoI+4QJ;qu|0A4h^BG4KGXn9g;sTR>omj#0@ zuTtB9t?wdRDW(+i^j-IL20$DwmI{#~gB_}N9^}~@^I248LI={cxXfpn@gTa#{F}%Z zEBVkp#Q*qi5u1-aD^_GSNDE-B#*Y4+$^&f*3l;a$D-OGwnFh3TK*LQkZ=g{~!L;%~ zo^ZrA2~t|MI2&xF)ua(a0T91%e&ZtF&^b-DMg6?(v5)2?|g}D^K8oD4)P`MKca6w z(}%B}P1WO1wU3a2&iO5yZD%2r`J|^SR#Dmv%G6O(9f=Ux!a$>>3PLbVD@pp+D3MK% z?j`|3XDjXyI~cDGCk)PyRv%dpS(N%uK3M5v$+9ILmXk#&#ByV}6^r0e6?b%J=jI4+ z6v7GR$FBvx^ZO%2TPv9x77b{Y4v??N@HEn+yMPGbjCl7k%;IAH^Jh2$^Cepx8{B`E zJJ@}Hv?E>UDTg(SgGau}+jk73QqKlBC{w2_&CTU!N(|eU8CPMj!=Z|m|Iimx^0ORI z4)bwM|Ihwj?)%4@e0Nwl!kM3=4GkI7oLwR%=6t~1h7Cn&nk}d1TZ~O;0I(BMolV1H zq*m2d4PrY{{>=QOrFbw%$50%d%%)HLAAJXm!pC-k(#5XhBKQ1=*Rf*e9DqTZfkWFfpBp(~9l|7kyVut-YNf?In~qHE<#0|wy_TJJR*4!|JuSaTqJEGXCBh;{I^uRj=0CgoNS}L z_WarHJ}Sh$lH$1A?Ev>?8BJc0?D)$g&VB5f92BJrJAibLIA9nucag((1ns0tn)rT= z#BxY0%eibYenViSz;_tPhD9ND!PSa^X>FpPE=}TqojMGo{#Dv#vbx)F&`yt6#E*3`F zvBCRoRgB#>@D4Q>GPj2msH*T$*wUeC6HVq#D*6s}N%%phIVZ`J-LXYFssEM8@KQ~c zTcb4&DeYEtHw!<=D7L&h`JlOU@$WStGG_n3fG{6`@R74bNPU8aj0Gshq0ra*m+o7d z`|0n!?=&QaP=WCLVtkiQk2&ikaRXvkg*wLt6E+9}@C>R9hf+`mxdzjRmW{YQiE7rd z{YJh+p;j6C?dKDgS7ti$mAVxfi$75ON*G>~LU`;q-~l?*^L@d%%#tgwtQbTz#&vHp zg?c`(Ew}tR1`~>UzFOX$<5KY{^r-CAS#8wL&dn7+RrVjhP>Z?bmK-GVuT%Y7O zjet&xcT;jmjA#Xj>+k7b(;*~+r4YgvRO)5snKJFiZD;TcQ2^g=ZrC5MHGk7H)G{_N z)K)5V@HwCnR5ZWTOA;M=!jqPErz!&2DAR(Dtrg}6bd?XS=ayT?-zpx1TUU5ze$Mhg2yI3EAA@~xkIfP0yHg50_`i6v3 zPqn(!cx-1Bmvd?xSLUDo8A%ec2Yy&;F@DpH%DjFme45 zyVr&Zm;V0u93Q4C@d4G;eC=Ao7-ZAe+?M`|!d z0DJ&Kz}FbS8ayfGN)SsYYxSTEu1Iyu6``i4=Drq{6UBdh2W9Z(OHlTg(39y(ebI%4 zALJqam?eoMC}G<8`9QtI|MA87=fEDX_pK0UP@oLhebv^($Tl0`eF&1}P`1=1<}$OW zHm>VoZ~N9RVQ2P(a2`@D4%=Rhm^08!QN93bXqAr2zX9vBnppINp^W@ES)+ns@ti?f z*}K}JsS(9pR^DwJwyT3O)hfl%omSoGA3A7|z5QKJsc~BmwhIV4Dh8kcWu511R*p;7 z?xink7`Uas4+uWrIYp2@9^_!+K%`^SXq|e5Y0pkxQlji2l>h#KX-Fq^`VXwmp!r?Cq zr*|0cc%0Vb17aP{nOg%?g^I0zt8Y9p`os=;>H3GGH3r;Wtx|Qj08N{|4fuTCDpHLG zO%+lB+?HiekBhn|Lm9%Qk4V^M#Ov*)ZvoFGaSQs=D0;T}eei3nrOtU9C+Xs7YTO$> z%IRlg;{WV8Jaq5JxMq!ju>0VMi5$LC$k!*`4JgC*FG^j|FgZV05e?^CDu+sNjQl8Q z8Saxs{$PkiV|kym{|{O=7(xM^uasE*E;^c!LbR2j&_Ae=7zn1#C=;RYQVR6O`V@uZ zZnX#Bq7+e+o2H8egcL*v>H5;2vwwW=xD!5%=ek`!(6x$Yrn{BAga$H=r2OF2l_K+B za5P2Y_RJlWdiKr{HcD4(!din5QF$T+^nJaXFY72&0}v_^6R@1_&^ks`8O{|vUt+e^ z1u^PX5c}`Y-460!`VoUc?ksu%{@sF}n(eWxTq(gEzV)gnAwzi@w0Zw!oI8{*??uXG z`;CnSU(cqxI{CJb`sX80 zzanD&;ZrIQ3XsbZY1y9mHJ%l!O#ZK8DVj3rlId$gXOqG?q5%p`sS$)=lQ@J5-o!GO4uVQs5-4fJ> z+N<(p5Eia1&uC0-s4PWsD8=-(afOl5=)R@)TWFH!~^_YUQ$ z(PRfUW%4_BZJf1&0^E1<;{UEq68!_0iD*zj@2a*p>e~b)X4KmvOkovm{2DW%vO)Jm zkzVv8>M-H2WTuIT7n(1cUS~SUnpQ;e*&>s~>&XFiWnax5V)4opL>uXQxh#JT5v?!vM>oV6rJLtbVL+*K|-+OPN~QX?v? zFt=DT5^qT5ujf~DNSMMHs8fPK6|Ho`aCJgwwE~&XQ~fT`#)gn7RqOy? zsU%iZ;YbpZ54ju%6+AX664Lb4uYAA8_FPL7r&e5pt2?TM9(P9ftg8}5*f2#JBIdPp zm)pYkNA2f7?b2X@_iHZD;lHF_m72mjNzrCTC5p&?utMrK*#q{5i#^!rXS;v7nCr>%S0OBae&!2T=*Q0DZlZ|Id~-NYGE`K& z>Z(2LmZfy#M2k;h0B_E*WK`p`-77{-XgxF>AQsXqP{}}$1@`@n%JY{Jd^hvrBCz#qM`8Ic1 ze^_E1^lbP~1bMrwEc}g>{;Lf!=84thJBJ9M?5(U#9F9{xw%<62TQ=Zv+^ayGw_xNG zyX?Y25tmvyn!e=i(SoAK*^(%eQ3vQNU93;k#@iN!rZGzx)J@_7No$jy2)ucdO3q0ASl=&~RjiBffmh?X{MzGBj!jQn$;y?jDeUyD z76+f6Z#7RVIK@l>jNWEnJR`yrUd*q}PO~4b*=$cV{)rpN+%79_jM~~Cx1!ixs$uJ)qlU1V8pCN zdc;MUc>d}TzEDe03*T8xlus1|v}fmq(fkjIOG^xO{^+D45I2yC z4S)+r`6eEkLo_CRe)BDn4RaU?O@zE@rO;3 za!ti=sdezx?nyNC{d|@|nthefnup)iAc}?1*G{kHKkOyT+la3TGQ%i;=bMu&T%0&0 zKz}~Jo;uT%Zue{53Y?wa3u|z%`&2h}uOc$&ETT*g>Nd}78R|OnTOlzRkKgRu^_}0B zBnUsR)vv{q-(`FD)!KosOqoX5(fFPcq33?msn4&Y3DQe}To#)@Lf*NJ_Hzg9)fw7TSiFa${IZgj?qf+4DIS z)Wjv?hB0f2b(Tr&hI=v59DW~$LI2N{Ha<>Wx=(2^#-)%3dy67;IVC{W3#Mj@PEEUj$$0%i!t>B-@M?gOpeU-%kGP9PDYu`ARpb z(|PBql9nJ@q>&f+{G|Pl`uAJrfgg(-zBDQ=$J3ozr@!C?X}Xexz8p918YbMXv>ZpC z>bqZk?*7~`+@!Me_5F6tUC&`CGXE)kl4Y0-WQs5u+DjC^*|tWU+OJ0{Naf2eOu{O=@q_Ei9V_HUzCl?R{*_0 z;AP5A<4vXvDJs<6sxBc_ZR`;Mgo`TfUFex%SD{~(iEqiAl#U64c%HftQL}9|> zL5cMIr1orHh4BqZw#SJiTyhrf=Qkc-hSWBu+cqM(@xME4?$QR%c378Ld_Q!kM?J~6 z8mh4`v&#M^OEYFheL@YH&WcC03~oCZ)Hf^tD_`ARin?Ua9f3Y;gaBKofFY3peZN7` zux*$Yhcn_aP!l2S9bv$~t#wVFUgZVHy!~hQUac$w0{7`Ha3^nnqcK9SJJfZobm(2S z^ZlCUB&d09+6=_Ca&{z+rlI+x*Z7=g6Tciq{r&AwcustW?RL+d#y*Ef+`N7Gc9= zE;a|)yW3+9A=Z^8J7`&RLB_B9#p!v<_>DSr%Xdb}^of4ti2AyGlK0i(c3^R{%-*?! zlOlnwnGfrvshUO+wLjCQ+>B2T`C)ZTT;Tqj6b31iK6p9599qOss&oL>qCBxL zZ?Sa8sa`bd(-dE4ge6+gm9x?%36`KtFGEzqYHS|*WqkE(LTJOHejC~O-&vp4d!CLP zG|@vgM7&xzXH>gU0EYY=w?c#FwTcG7yNu#Th2!Z5+FKoH9BQAG4h#iEs!9nM-JD) z4|fc3?-aa5w`>nEIVH1Y?9arJweQK+hm z?}uhEXwfY*%f)Y;6w`wOEP&~t_fwLBOOgOa0S0Eld&b7DsI<6=!$t}HHShUfTG71K z0s|dHX67nO4AIuVzLP!}(Yb#o+tW$`IJdjM2im2G8z$Js`9Xcc<26J1CjPrH4opsJ z^Lqas=~D;8t{iZo(7zev5t#a45&u6i;QwksG)SGR485@67Uj>fFZZwr-?X|dLcCe$ z2G6if2~HYK!Yt)}PD}agr`Mvq<3kPLD;6fE=~Ya7fUG;20*DIZu+QA4nvRBMyr!e3 z)25427D){SnZLzCgbR-uqNf;n-`?gk;#~$kMWj`>0$DHP7W4F%aKI9*v_=$C&#D9! z)=m?4M3a+YAos(u+d8*Yn)zEQxmPinJ-iB%r*M}~W{#<9b( z@SIJ5*-je0e5t)rY-Gf6=}ncmBFmrabA#}R$zs+>Q;@7x^s6ye50?vK^^%1`bS5s3c&>6nn;G>-UIL%k|?F2RuEcC zAEl7Pd-qy6MkEtE*AcTGNCH}+fSDO}+diwg zstTBA(}WfyNo2JE*vAIyrhQMJCXmAUNMBT{`VhB`_`oTc^M9;!?IYIRjogA zrFa}cY96<@c=MQ(wW2%g;cjm_4LaiwkJh)(XS{enOs%A36uspO4B#`tIE*Uwfq4`` z-C4^9i`qvkFx?Y-m7R1<5=PPpanU|6T8Y+wS?UAp`}B4)Ib<_#$}X0s%eujY=~-3! zi&cNdZvf_wyLu`hf-O z@k$+V42LjJ@FgMro-w!B>g|JT(1(sUk$jLnd7EYFe%N@QKrBS*si_Xf9LRQhaEx;M zqR#^!dR#7lovwnnjO`6LxMyrSh13^adrjZQ@0f_&)zY`L!Ki2=XeZTJ$ zd&-?U-_@k~d(F9jPq1O$_2l$DQ_#9fC|v%7LredMWI(W3GRrjCN^Nz(xKbLH)%gt1 z*`yPOqpsdkEA;E^VNmGIl->%etuhBHew9?cbPNuQEYUc9tQts^Lli5?pHuD~o_Rjwp zMsXD!jQp?-)&C@jCWxKL(cI3$|DIQCh-ue0>BJ9%$Q{J{7#>}e|m%%u2m+AI6&A55#uo04swfTcXihf-;te=aS z#@_F|IasZF<~DF9YV2RC{Qk_`cB9ugP!cz9Mc|yj5(BxIK?=WqKa3d?xmMB1p=a{g$vbn1sU=_RwN^^jUOW{pAzB)6QJt_(s1`a>XUC*I`jQ7Ll6Cfga$! zx$dd@KpZ+fn_&VGc;BBeuYVbIwD#l9=V(jRF5A0~7mhTT_X!>O+`03<09o&m{G8`7 z%3*b#(HX2tK=&e=?ebd~Wb*z{&!Q65xs4zkL!3?t;XyCx8L#Bx675ZY zX`;4wp)&il30uaR_ixT!nv)$5U+3>t7T3K97s(Y4KFIq904nmB@9z4&Yr1_|MMdJ% zMcGGgRWjh?0&$UqN1nd+euP=oy@;B)DgTs%TzJfh>7m&$)v#TFM zr)F?*_prsV?g?_^Si0^aPj5lB)0MAmL!{)0>642;_FIEb@yK6qfj(%{$0MiC8l0S? zw?o*Y;&KwngZx` zIs8KcI8r|q)6j#HgVGOpPv*v|7jJ3VUh(7&2&8y-o({&-RI>5>7h^XpQgk)6PI*|Q zP|TTsJ|f{nRz`*{rH5;_9M_NTcttJFIYl4D3ut#kveOF^j*I z6rzj=-s;g0;^WdzcE8YjoRz+-92&VrSmq<_Mg*g`U!BDAhoDILS9Z8xvB&Iaxdri>cGLDdcY_g!_S& z9ozWlzVc4ey29*UXgKfGFqMfb10LO{s8dp=p+~=w*ZRW={+}^iZGp7*LypbZ(_h3# z+YctC2~QpcL|@UF@r=|aG@Pk zq)0sFOAz8z{uHC|EpAKcpL6% z*!^9e4!As*x$TGaEQkdBC0U>{&nbWnSrwz>NuE@}>Vv%*j)o9)V(f+G16gU;o+qAd>Rj@%#q{2KKSUbqI*Q@66 zJ$1TYh?)RH&BR=+4`QLj_xSV^5nuVu2t6;H$BskE0eDHMvjYXtMr;~4&le<=%KEvz zlaPNBMf|>zd*g&YaSIMk%*y9=YSFTH3nC11i$OOIQ=riBiA_&l|1k z+`yN#BZljrVv8ci8ZNGnRR|m2{!|BIoOLE5BV%s0^4H_FA&4CjG^t*HL3ONkj)?^c z9?mf6g*S$%c=ZaurCPn%y4E=K_(+c?Y#tiWEX!SzZA+=uf7mmS9J zi$UrRe=(FdH-=q`d-~ zT&42&xnp@ISEM3)Q^Ni{<5050yJup=PfjD%glErc$UA6)Zw>neh2WiMm?8@#wsQve zEYTD;Oo?L2Z)wp~ZXJia-7kAs zO(H-7Po<1t?M@+i6YVX{A>Jx2S0eJQj z&P*Tk8#9F~j`6gq{|F2l1sI=h&vOQ0FU!*jPL6Smm538Q;YJVf988Bs!NB5@GU_i* z7|z5#rqk3EMe}?Vd(^Yfg`Cc`?9!t#CjixXzvR<&2LqX`Oey_TMw-sUM$qa>h}nUk z$GQ^k{^4cIJNdlIln8jjo}s{RhP-cs4LjEpo!#Dk>HDP6E5zFqKp|jZw9?j>Inif* zqcNxLp)Xx*S=`X3Rbb&KlAw`pMfl!k)41i4ByIW62v^763kL951#errW zv4^QgRj;*4AUT_k6isw0(6Ipy=zSc*?d?1>L?QfiwYaHdhpvU>SpEE!8E3LkvX5v# zb6-RR-WPk@#~jt9ZwuNxH~-?dPDmY@r{KNY)AQ$!Ayi?LO>8OufXUvL1lGnLZ%=?2_DJ$)Z9Gp~kHtIB{Sh&>j4-=ch~@e+L5VM3HS6@hzTn zWEunSu-`VZ;g7mZ-$*5m6TKvkS<(+-Ut!&MmtLheEJ5CcvoG90M#+v|L6v1yqZWqM z(z=_}ZPXPpeyml_yEAl$zd3@)PX0O zc21gyO&oNDBOi%P9KIlZ3dh-!uO_OV5W20l-Ik7>ZPt-QJ_fV2mkoG21aIRCSFnEP zphYpL%`0c)I^yXhA!d7Tdk|(qHuXj&>yQ-7MKC?w4KwSRlm6?*vQC6_ljAhCA+qWTRRA2 z*N%=Vc4|=O4}CxGu1CO?l&At&O|G%gBln)F3j8*dt3eX&wIXT#zV6$7)$WPQUjNDI z##Nd0r=m*R{>5`Z+&mBQ4od7+(0AT}ml;_KIY`+1{HXHrT}BD6PU?7jZt{N+^FVXYRg9-6*ut8hrYqMdpr+85z*`8v^p zb~ORV28nQvREuTW|HbXAFcL_fpx}?yr0nZL4<|)R8n(cc({l{m>^hoI;Wyh_iFK2T zZdKT{9+&uVM<6?^jY!Y}IsAnt#~4{SUHH&k0N`;<$n2BJOH|!;MV~wIc{%1r=~&H2 zVLRf{W@`W?1R7zeUmSLlHzyKJpXwYhbd&h^B8Hgf`j^E{+a1o6fW6*leGf@q;MkY- zFRcd{&xvPKb_vBlB5Fc$Uw&bB0CM`qa|Z*${ehLl0S7*ulCa6gfZBuMFx14rDY}}V zQ}a5*6MHFdd*p^2q_EWU*6g8E_s!?w-GvSVU*TMs2d3YbaBHWl!-DS}9jks+Df5|| zm`1l^{K8a83_#dv|0du4L(h*begsex$0S*N%*evJ68s?Up)L@9 z_t5~YzCSLzBaQ-Fhm=;~LL(r1lpCgDw)VjlNG!J7h6VShRDnH}&3AfF=7Xb?-ERv| zy$4=f13UYW*W|ROVypEmZDZW4ALRM3t{3Vhov0}@Rm>CD-!-#RT+ME|0mt(y$<9T{ zDf`^IETFR0%b?-&&$g?qWVPBStE)juKM9<=S5K!J&aXOpX)U{dqQC_Dyxfr;w5HjZ z6MMylyMpbZ_vRy^!91Puszss*0e|Eh*b*XIlH(v(7#Xxr;g=((AB}?A&ucnAr5^7D z<&-+L9tdlFoFFblIYFY(qN93I5q>U|54e;!VClFJdgt>dW({BdL%n~Ri_2_k_JRT6 z6Gnpu>+C_3bT_nmUt1x@ywkIyrv|S;lg#K_iDpt`J2ix>FSAi>>5Q`o_gW9H}jUnKQ`E%|ZnBf0zg! zD%8ckQ+{^+?Ym#;HCD0kLUs_@;+RsVMPO!AA!$#*`TKihOhDEmRzjr%U+&zq4V zS~t8i#8@MwDtwT)G`sXw!p7&$PLrj;tLtJtTx?T^j(+bT5t0?((edxa3H9sfTEk~W zKuS_d-c_PL(ey{mkH~ntzzGrA+bh!h92p@7n8`hCK3141Td|TlH}4X9rzoEad*+JkXBPY@a3ZaZiy9` z2)7QVTQPYrcVjU(NzWj4D?88})!B_gl=4P|;4HR&Ki%BhQ9$;3&v}B< zD?;;EP@Qppb({)zPZZ#udOHzC@(TgY8$0u!Kqw13!UY9wI3HTQq1R_CApCT^IE2Kb zH{fo;k7Q4?q4(AfRe0hBfg~BB+m_V??b+jmX5%KX6xdDUBCMRaDGfXWFaHkAZb<;h zWdzGWD72D7a4U>~O~9wwDEhCc9Nr5g)bnK>hu9P-A)tZ|C6_VXfYkmsuf9xvsV_0)XvKsHrG%2<+v(QVt^ zZ~acs#wAp7G^4w)8RlIzQ>D8dEDDEC_JD^!#kRt49XAndKRwaV ztwzgVp7)~2mtcOe-uBS?yEpvO&iFk&#E?L|e9-i6nehcr_+;%3cn80uvV?^d2uXob zMEx?{&1{j^`-%s`rH~m<8gDa7H)#1NF7rZvA&xzGzf^2KP6&}7qtdjQM6RE~J^zND zXcPp08D)*!2POllEdj(86GMa?bR)i_Nfp)*vtv4S(~R?Md!j7E4?MQf0GaW-#!^+tRjcnvQgo_D}=oMb09>vU*8vLJJY0vTiSnj zsgd$?+D8=D$3b54b5-JC7;U$c_r^HQlv$gk$?k?Ce3X9x8pL4w)@?gzF$+w5S-D0+ z_j3_+I{r8Spxhqxgb!W={TV%9Q*G)sK~qM^SuhCT?96Ohvw-&N^K}UCo&5XehCkcx z;eL-i0NS}a0&RYz(b?3LS!8)CZ7IdL=v>Q9`4;I0$hWZ&dDo_AdhsYqUC zT40JmUMI#1PG6F~*n=QP=i|lm!O-3l8u>`ppG$tE%Wfn0VDgmO442ESLBCG4zL-Dg z8|+rT3Ie)cHoG^-qB9;zHL?nU2PN0?2ORSmmmfuHh1Jh411UXiP2qSA=SZHZF?j(6 zS1+FOK>C~liS?U-MwAVI@4;rN%x;r{r``u<)>8;FbW;M4P@H&Ude9|8xEI(@>Cq7F zpOYpQO2Gv)?AF*W0BURHVbB>;CD3-q445eF&5e9^lLf+XY}j7MwlE29M!E5%yT)5N zzj+9v!>D;its3(@TnIpb76x*mtXgJA&u>m$0{IjjzTCLQnAgd;u`C&Jqm-4kWzl06 z6$DfDD-JCnn!OTo=PYSV>bwwl=Kaoq7T=%w_L&E@r@)(tJ# z$LfYj7Bu!j6cA*Q7%px;+n61_l_LfBzQ=YGR|}`UU~GdvGQc1zj~rH>$j%|xZPq<< z#`0aQ*q=KB27D>Dr;9v-VER)#f#? zooK>$tA>fs*+v|{AGWo&>1Jo*@)<@uc#H$M|BQUC`N3B(`Sx6{@Gv12@I_DjK+1QqNHM!;=9bOZc0>5UPbs_OfXS`Z}cr zWp#{cKrn9TrqfvRjgROs_2(8<* zh)ulTIXacsl!PP?h*xYnJ=Q#RFT)P}^tkR3kp~&jlx{T_F}a*2j6p}fIj}N1hB+>I zK6s}d#NL>#5h$N&>ZN(>1K$lvcG|+5pW;{J6)*Zb?^4Berud5=y}9~asw8o<7wugT zKxpvnE2G$b8QM1(F^NHUYky^6HWi*W%5fisbW{F*-bSfoc=gf95Ychkn}Lq@6Q#JDOs1|LRTBZ#nfNe_<~VvGg~Oy zLY4^el*BY_l1pH*2;TgO8j*$*o~?7xmE>2bO6?j^qg!y;DN83?n(S7oiLeD1_9*^; z5%!iraedpmH}3B49-JV7#x*#>-GaNjJ3)iHYtW#9#x1x@x^aRBcYizgp1seld+z?f zRsEr>sb1C0HP)DOj`2LdIabRJsSJ+kAi2C_OmLW*A#t<_y!`QoiQH!1fWFQiSmb|= z`JsNNt93f(Oax|zt%uyzG#AWnN80U|JM2|IacMF%qUqcL!CbG^^yeq5gzh~?3Tci-k;|8ug3lV^Jb*B8pW{oLb|QtN?tE+4 zRR1>5(e3Goa`QmS6`BAt5uOGH`1(b8UjyVk#fUgs!#@~Igpc;;xrJsvfF2b6R=L1jkFhHM$PXw>Q~Bj5QUU~Yq5$R1;f(MD2|S0hhMRkgo|%<|5fidagh-pkYN9Qsm>6Az zFy$OM(*-tzf&|+>xMqgNm-kz|hbcFK4M8Z#$)2en^sDiS>5e`zJ8OZccqf|V1M`~*m@DRALHkxdNlvdIXs6G!OyDZzVLYdNt7TXNOTL~fm4um zes;+;?qdhWeezMp(b171I+4-HCZa8SIH@<$U{<-%w!~8!`Q496H){5K1{?-dQ`^n8 zh~%c|s&(=H81c%G`w+?zkg5d*>HZ@}Px*)}Cd3FIcij#Wf4F&dKr;ka)(O2HB31BfL&I-UvUao=teC&IN_H> z++t4W$>kcs^#l@aaYtSuZ@i}C4RX^Yv!l+m)<7?%hD?h$^zrA|0n@l>Z^{V7a2v5D zix2U?1OKKwtanPZ74y#ZSEe!kYM*j}#km{DL_p)b<)lUKNkYu_Bwjh@hau6c z`z3q7t1OFkD@)Q$5A-I-SX9$f?bIJSr(A0?M%Gv-l61eldn!?zsgeSuxnNo2oC|+DuwWuh^N3Kz3Zt5NmMw z&hH%5t6%SzINJ7`KHjS+{?S*xQYQM@VhxLlrsSB9BIDohlw?E4aa z>NNG0h2;~*iIeM-t*!XJV#5qDuGi8VwsdCU4DDRScGMJ0Wb_1 zvRS6GYagaXul9}ea`gNuW_p5#`;`_l&IuSfD$%!s!tpd($kRfwqGQ6B|GHJodb*2b zSp{QbUT9^gt-f-85|T&BjvD!p<;t+%i!}HN-w~@0(~ah@S~H7^xf+;-H1*gY8g7-x zF~)6t7hW)uROiJWC%Y!RcQ>KLsp#2P`aq;=K@9vvpBKNo*pgp+3 z>JH^>$18Hxe@8@G1q#BD@JyZQ;PtdNU)vY5B;$tc?2UBB3_E-QD3Ffw1FW%}9F8+u-& z@kWkIf_1{0YZ`w4=-$+L^Mt4?tk~Po(d#;!4pZvjTMy$egx`VQ%NPNW@t`378(lsa zfCG-lI2|B6uI?-HN|Vw(#kWdlT)R2x>;~hwUrSLVZEP^*-eK>S3)I~<#59_Nuo!X9 ze~u=oq#)&?rfbx4`V6z20_ndPoUkCLP#X z#iE|n`m@Z)cIvebeIDM3)mu8qNa>Zzo6VmN^QAc{VO#BYMmqbq3-C!N#~*9G4G9$Y z{f}08IgP>kg&EtrwW~yh!YbOFLKE0q4>hR;6*3~n$%$^%Qs1&1fmal~BV3H(KQ^4m zHy%I&>rI_OnL?>y8yY8|7B{xJhY1p%@jl<}vdr9%Fs`F`vg{qRrJ5 zwE+lHz;=q*GLkVhs+q7tUY|#9xFD>`kF3f`{9XW0ajvX6-<$G*$ znDcPc1x!V-JN90RpBx#&zn~sT2IjB3w7x8F1k|4s()T@SZSen^&|IRrv+LYT$`U50 z#_c*<972jATpAzvR$~V4p7%6QndV;z=)QiKro&?c{Frf?Y_NJ0c;FcQ;p6I&H!hXB zsJ_@jsB+C&6*cYlAxDIGZ#B?o5VY4O#5jxMuadbtB~XB`s}&KI0$CJ)gyivbDC!kD z+l*N26p?;L`9{z<0>=|)CYa;pFjPsQK8ML_n~QE!2`T{dWrDy$@r)FSx9T-o9N-eJ zY$yL-=SspCiX{<|iS@{qoTO98j!Y}5t?yxxA$*wgx2erVp)9xYQ$<<@ zYMrkfTcm(c!)VqMp-CVfJfKBEqTAl*kLKIWQKXK-xdxb+DN> z7pvEBp4dF?;vb!&O?Kmwe(|zExu9oP z>6EP~y}EX~T~xNFJG&oXdmqRRMl}s6DHQ;(`Q&BNax)|{6Cb-Iph5r6T|T_ zVqI0)mer6(KM=ti)s>&`)|h9$9ssLf=Qengt;WH(^b$%=n-0_pl z&CI*VeEwQ6asS|kjG}pXa(`*J3j>jUf`GH}292@bli^=^_9#Fc7hricP-d55!o@ZJ z;P4fHUtSz*MT0?DrPwjm`88SK)d5@T&kwnP&mg-bn(uugnysJBOir zGtRpSnNZ->a6HqlmAvyQtRVwV=chLkgUhEgZ6bh!zK|&rtK{(s(@neY{?vkM_>9e) z$fwMpt!vpQ56p#$*?pI^`4B$id7gABk0jo?{|q zmpW{rnbOJ^zXZ|;?rILeLI%t0bwWhU%TFNvv!g`LW2rE({CWs@z^KCu=2Yik=?Rjk| z1T-dK{3_{UERHnPg&&2e@7ZDlmNmc5-bgf1vRYl?^5t#az12_D`m1F=qm;17WM;}G z4n&es;+%sk+pwI*80&w5mxn4jRJotWP7Yi(E2WTuSzcPIqE|>~QEb&i86D3ot)C=2 zscMTbygefJ7mZ+hSMV^r;cK;dc%J87d`(|IM^kv_*7L33&18!*Na}H5RnBOn`*BYw zu!5~B0399q-9%zHlXsu}k3*)H#v#{CB%wFJ3EfS7PoDit{JMS0=lqz0vM(@Cr`-y3 z*7*|)K$w9mXXL)!jP92}c~|~*#sop@x8GL#V+199TIGnCXtzJk-^Zn7bR)Q3`^-Gc zBO$hdF~Hw$a?me2(7JMaoQvrF52icq+Z^VEVBMS)pPv=F-Z}UT8z;7b@Ex8qN-*!9 z9qV-SDZbC+>GV80e)_Hm$Vg1R?Vn>4R}|Cv4lyV%Q3B=MW1H3(-#85k?TBj=1qJ8@ z>Al|9|7ikGeRQJP7xABx26yH$T7&&41HPtPWVnD?>b)#iadQ$uOryW-6Ym(yGn(Eg zI(^pbi8v$q=8*&VnEvEW>7yv@i}7--pU_`JG+CtryO*Gz9KaCH+RX>5O;ZYrwuKUX z{^K88t@XUE;<-ata*P#Bm2Kvbiu4YkfY!2GLXRWWN}8I>)KIQa2YF_PVF0pIt%%gi znwNRiNZ*=W9VF2h@z1*Oo}Oq}nox%Mg)Jt!u+HyUFo;P-E;xDH9pV50&)B5zqo1-} z>{Zzt*N(B=M~~I*7E``#F&0!&nOeTX);ab2jcoC1k`O5K^wUAs30r3{3RhHN9QXIv z#EIx0@}UMt5|cS)TmO3xEufLC%&fsASBNAXUm!f*K``77%l7Xeh+VEfeC)ujJXwMA zH8Dk5^|&TY1f+NNE}b4NKCsGdUpcTd;12y@W7;dI=v3zzx0S6l7NoJ`I?e zFsn6RkDr~~&S6e?p>uP|9R76GTVVB4u0=o%kDQCS;^uX;iK|k!8-+LxF&CIqlq)7y zdx<{FInb26db9(gxn;kox^9%H&~+JXLc_uG48rBja2OFLI_7QL-~DwQ0@Y=7iqXfS z2(cb##vu~^z?3sWy64vo&x!Qzbv`Yb2aeO$DKt;g6I)o3BUfvJ?vI zg!dR>*g=FprWK!t$DO+K0QlX;The7covWwX_5&{+^R4<7Xm6>;^5kw=Rw;@B_AgM(~PCxi@=;E+)A3u)jaQG;SACYOSbqI zoqWD@Yg(Cj9Vt?sP7JUB?q8~tI#4|AkBD6~|5x!GQBqRsJt;+3 zC)0JN(lLxY4c#A15{f>I=ht625K;I!E6IWuOpmgW+Xg?05_w#hon@qt4jz<4Bl-kA zt-a13d#x_%JJwMIUK01P);;kVc$FS|y3xv{bK^6Hu<@@6G;Bvt28|2fRS+itF~<0S zaoRr~Rw?ivG4F(Bm}pBC%WW2mB)Nr4O)fW_pVn-jcM0jy8I16SAbYw+W~+kz7NL?8 z@sjm5l;io%3b3W)cxdmZhxH3oN}Za}&jfO=u1x*3O0TBb5}EJw_;5oIf;@1(V_Yp3 zkt@P-UUqR5qYv`(Ky(~UHbu>xlw*ONXSOkX=PZM{B%p@G9TR`|^l#$>o2gbt{?aGx zv~?aN0Ow$Oqh2ryO}K9QR9KQwU{Q&CcjdT%PZ0*{pj}N+l!%r`uNf(^9FNv|Uhm7$ z^156k%|IbJ&&?TldHc{FHrhtt@w*FZ9hMewZk#5P-0PltbnP1&dCipIuGDcCrW-u< zXTxQ7q^jJ7X!JuCeEfeWM1DKH-AOV7YptsLWVZoIx2-Gi+y_MOL zHpqlK!0Y3g=14G9`I3TUl;H?@&-r$ODr5@JmSpTs6#mA@QykU};tc4`D+LXo}j2EDH*X4gPvFDpRLNM0Uugek00FfQV1-CX? zdTNkPI855mx;g70>;j_syeXBszP5^Q0)L0nnY<}WOgH;68h!p6^c^2|*+JzytDjSo z_q@rZUy7?KyBrg}94LpOk(&;>XRLT7`;t-GOhL#o+#%i-CECuhy{pE}kFX5IZe8CsM2htAR?kER zo5)?uyX{S>V>u~KS@TR_Hq8a&TYUDw&aHzez(H^ZrK>83tojo;Olr2dxn9 zMx*oxNM}R;EFcN5X98EeP`qFv(%#^yD-qym>0+4JbYiH2Wk!3NlXKS1p>*DF$~hpn;8^E9gb@Ux2lU}NP+8|txIR=CY<$?%y=%cX!uIKFRM?+dS~ci6 z6Q{~&o31cZj5x1hl5wozLB_*@?6Il!ONwO7Oop*2(A`2-+(4Uyt+QaGqu5L%eqYiI zI#mI<-{gu$g=&=gxwFTQLkQdPr~A5#dV{2^ZtZuOdQrhVr_K6oGpCvDonF&_WPB*w zmrskvf|G}{HZQiX`(5_Le>PD$QS5UeU4&4^1s+0rQ@7yB0C+_zNTF+yGLQwBK@fOg z;YW!FQ|D!&;jG%vWXo?}w&5~Do=hTrl2M;@x8}bbU=t};-$CKia7RY8$AvVzmC>uC zVttaKa;6{j8x%6lnwK$t4i^g7DZ*XklKP|IJP!_g;RN$eM_(z^n}UKpF!a|MPTl2_ zA4LN|94OEiwhd8nHB0Ds?DqK$yx@qSBHVBym`vn_C7EEMDw_7Ol9sF+e?8as5;R3c!Jo2R66125V z*N3It>_SUqY71|$TV8X|kr3c)b9F`w4^ioPmN)dp|i>|VoJUwdQ+;Z0)zQeFgn(kLzc7*3qh?;vh_763>3a_b+Cb^`C~AIO82#A?$H z=|#(vuLr}Q_QyYGoix!9dW@C6PAI@QXtlK2-Q6F2sbc<|jTlvQjCU0Qcf9-qklGl@%t_d6LrSSPZ0ivDy!0 z5GcFw>jbLpQ?1NXq+M?o=hvfH)VH#!?gQ?KWQ{BaMKa(q1{j_qlF&A8&|Lw`eF9k_ z&*!{GSi1j1?oCjJpqEde$a8Oi@ZBLf2k=M(CSb@E-eS_)1$)3EZ^Bm2fdCFh9ZHO3q3qYt*{2_gHgI_3m%edpOy?Kywh z4HTrA!GV!z9lb9#^Fc!Nh-Tsz77<6_&bH^9uN_Qw%H%|AU1*mbe_{%Pip~l7 zB5Jh_fSc%UYm;rd>y()a2vy>HUJe=`p~E4CsOkEC(FtH=hrjpv>dhvt&50&Qe;I^4m0RBhzPnw!#6IQgQ8^3*cAV?&;ZiclWr}Q(N`qaZ8)C618 zZ1~%EQso}5opsj^vnP^=yXUxn$sl-+{vhHppJK->d|p3^0+#?t2t^@KAkv~D?K zP(s;|=7?_YE~~VQ^Lgv^-roj4S0c$rS2=dvcJ9h%Hs6V4AGCe}#|HQ2ViixMZ+qO7 zj$ppK!to;NOaldsoJ=Z7cVS#u#xFjfDJUAmV;3Zf9>497;)=cP9t?cRj?#Sq4_S8( zF_6NefS$%aw`OiG+5P4mL!(8j6Ln=9hl1J3Fz#O!%<|s9Pa6t2gyRe)4j?be2I4SG ztsB6Nc}WH`{^8h=4lG7Tlcw~4u3A2fwe%~A`_4{CYqS6-S!irs+pyc;@H~*n({G76 zfjGb{Rmv2m34=OKBWVESBoUQc;T+0kttRtksyod2xPiELHIAk2H>8Pi6#K&{bT9R) zlVQKR9kj0N$WU;x+JC2)dB)e{s)ixO|IGD(8%$*uOY{2Us)_JS7%TZ)+rG*Oa9fIG1nkqZ5eTn z-M3#+S-D1eVflw8HgDQCP+9jmf&?Y{uBJG)x&;nbN?;<4qR}|(@ci_Q^tJzF^gcq0 zyZ@VQIVe|{euls`_gT#$1R{Ai&?7DZkR01tIK~fEe_S0XVIZpa@P7Yrn8(Us(JM#X zo+9)^0!CUM>Vd{@_JZ3aZ{)i;M-}0ct}p%8-$@AqXh^%MuW7b zsWqFK_8pfXfxV#TpTfxKC{l^)G&A4LM#e=?eFtKJf{B$`eYusS3Sso~dCLh6-ti1X z-@778itignwuyNox^dWFkxf0d>@i;O_Odi%Pm-qX`UkHeE~Z)tYANT;hI+No3COg) zF2rq&cZ%%oRM#?mv?LZWn-h;>@07cl%vf+EtkU==eBaT-W5leA{rG>uwf?$(lgwch zey;^XKsHo>khy1R^4CX0*I4U$RV$_F_0;oxld0X_W+hIuoMLnlNnm5fEz(#s?0pEF zd@$5wTZVTDy27s*{+p#PU1qm64Gq&d@8e+>XxE4UWKLG)_7nCSZDRUd8;Q;VYkWM< ziTYJ!nxt?S{Wpkt1|G9$7H6G>sjo0@w4g*8D&Q#qGve|bxf=1VjXgv~@HdaGaAy#sKOvMLA=L^kc-E|f5yP#!uLp+ELlaT&}y?-@h zBam=+CR7OFitYMzv1#*Y2<5+tMi?QYuX2+^3xd3xx*rSMkvKK7OS-Z@<9QTYCfnj% zFxZA(WEU%G_yX!ykPF}J#Nmh0uXrR7EXnzlPA9{6(Fp_AtIVucNp7ON#&(z2Hie8O z*^fL%UNFBwFl|ikv;6BWDm7dKYs$}SznPC(+BQ7ELk`k1P*)5V*`aZ*S?Su952gb7 z+z!4qi>SC$oJ+WS4V;RfQPqT)Aj1A>=Yaa@RYP$Lx1d1e-km8s?yYv)?+|jI$I_c2 ziMC6v5yl?sPtR_MnHx##-`qqh0vK;bu|e3s67+LOx0I+R`!k%y%UneI2ztM;^v7~* zbCOzz9bRFFV$NNzA=zF$yXycGQX%>Y-KFjL6MXF+`=SZap$EsyUqYOe12+2xmFcXy z*;n)Z-?ktn8f}iQS4)}wewTeCU+Jl%=$L4Zw=;C&#h5JAjNWH>)J65_9y|qjYI*;g zlTw{AmQ;zl`;GXb1Hz1QJ|8L4T1Wcun!LIJj zXad2&{fvVkA}x(FpMl~42P_7*BRVqW*tok<&t7mo7?cWAvx;@ic6|cuIH-8lBWdtMYb|7^?8uBxb8Axxg z{xxu2y1JFUL$+M|*Xp`2oXLCH_G)_^nS{K6*Ti!_t#l21wICSE35D1kBL9p1cPR^1JgL$%HMW85!+^s? z4Oy6!a+%&MEwDGe{+2A=)NhtcSi4_w%#4Na+X-m7^jL3jp9 z_=*jWrHo+r3}(N-w&|R4g2*aA_|4Fzmba+Oi6Jo$E794%YU0bbOBQ?!@p|F;>9e_7 zgY&*NWU}b}vVV}Gtj!bn_>03%?MxxMQh2Arn24{oQa?HEzksJ96UbBm5_^O)zFsyr z90;JARI)z#Opk9XOLh2;$1B8f{KdsOvNqMt+m6vFKs3UL?AZ6Th1ld0iT)O_TW z&?O>%g9ur*A&x364R_Z!nhO&b1ti)f5}VWKhazQE>g!d7I@K@)3{_e3<{pyPv6)h$ zGfgPCX(38)ovw@1CnMdV9`#?`QQ zAPAnQ`4g2nKy<4%Y~O&aDk)zdf(i+~!<@IOgos2HAg-+F8}jx@0Dph?)lR;z;huaa zq-epNEmYUiJ~-Q>iXc(Sn$++W0uIy6tNy0>bbF#9{R4=^hj|op3}B7=7qqevA1Rv0 zRRUpn#|x^zls$FBB=aoc@1!Ld^7k+SIuX&ggB$A>THKqKYSUko)yULyH05LRe(M;| zM}^k7*ff~$d|*7Ku%BFDOWI%KEX>VQ=+~tpRJDF7YiiXOvPc09bPH=P}RSDZP>afpd4@T9pclb3} zKJ$UO%o39t5uE;ZNCtyuoiREb=7}L4mRY%_-wIN;1Qva3@ zQu(!QtBUAJR+?uB|`rj*!N%j@nFgjKDO2O^duTx(R}e9v$Ez|8Y{(0@(r`w z==P~(B74gZ?e!{WR6p@xLfdQqf1b3a#;8)`>d!oGcSQdZl(~Sy)K5kgRTSct0-tzHuHzOCZ+!K z)x=Ux7>{+_H3NKXuyde7~&|r-mR-#^vCzsBo-l;ebP=7RbfzBQ*3s zDqNiO^W8lSTIGh$ss8f_K;u}m!8j2YFP8ex9Ul=#dj7h3L7*lVfgM*wZ0?oEwn%;V^n~o+;6cVxuZXa=} z-^sUvOp5;|iv8bjLd-;a_N`QZ4EIPb!9e{aj7qZ%RPV?NY_mgzLjrF_3Qn6-}XN*+e{2o_HI>&dd^m}xK1XnC7zg{ z32jgikaA*SPMT618n+mSy7%|jcEj1%=eS?UpbE4zUSzm@wSvlrk9pLK#i+rQbEf9HJ^b*=TLf*Y{jcO`H zBvs=NE*Q+%^O2PKo&SOwMOk$1SH4^+Zxf$8qwtv z4q{7R;N;W9YH4>j^FZum-kRI}j>yS$~+**&(Ten1%HVD5nAQdr9N6Jk2(I5YF zp0kFNS8lhlP5r^jSxgc63oXR~OF8}z;k@&l02(y}XDe68i?nh_;n=swtDqCV=RxZm zkJOnin-6&R&*40Sl$z_DQdzGC!F2QN<>EM)khH#i(u;RspK4eAi=9v64Os|?E^f|@ zEhFcy)twwY0C>yL(Eu2^1(A9FAxe_O;9%(KSE-)W%=4o8uo)g_Wb?hx$fKLL+PT%I@Jo{pPv+*kgwQ| z5DUJ8Qw|ywfsk!N$H7foV&h}F-)idSGLu=3=Pg}!%@^7n zJS<6BkndiKQSBmU097pD^W8?LP3@?s=`aruid6!?qTNqO2J>{;F-_)wxb(r72AFmF**hKk7?rX6NL+t_JNrfGlGwoPp?=> z-JE8psf>XuYL}l^TL#bEX_#^UZ+7Iu=@njG_`}6mge&dVxZk11lKfLKxUUIrTgk^F zjpbc^bYlW*EMyiVg)x_LFd=_^X{KCsa@(^|$4jLD*F8o0C>Hdl{J151^JEbC7CAU< zPnV<)1LSav&4?gGg1)_ifgG|_LWP7^I}(55pq|4e70t8jx~Ov`+KELJ{C8@Fs92;{ z?7JLoAyVns3>drr&3*iTCU4bMxY$qaHeXF|h=?~*t$#*$vw_44x!$;0LjMLLN;K4| z%~N1&gifbzYjDbC4XUvzK)uEa)xhhYa}+)jUIiparKnwagudh1sb*U(1vuE3)GMtS zI7N7FGDEISgCp1D)pXU~#{)l|&fqir&kv;?7L)uIgPK0>C>X&sbrtCF=cG2I;4fG` zIxM(5N}Wd8(}>^u|NkO_TjjGT7Ibdl_q>*as0fB`jyVf`S~X=0BQVBcAsyx;3Ds89 zMoZs&zl|Ryi%}pS_ zx)m#ElbgzWrR36Kr;cy$$fD1%S|MUg+UIDcQ7@jND~+V(g6U>KU8VAjA>f;>?E(2_ z=$9N25%lW#(!%@pp<1R`X6OnZNpG5Xn)RPeG6{TbNc;t5`%_{=6OweNT+2 z^|iH{Z_jtTqtgceI}b<8m`qfn*TD7^+?G5#OaZMU&YAv4<_K9q!b@|Wr_=f+wZ`qz zIywQC@dNcj*`e}+u)bw9UQFnUV>t+Vo!0PyoKpo~oUC*x_yeA9)pzQ9l$EkByF#H; zAQPF`sf(J!^&jo_jf*HNF@{8Rfcbe%)q(07>-|@IYOI6hiZ;DQX$D%npsvaA0( z`A19~d&RNr0bY~RFiWCV+rlRW%dYuSeT))||L*@}EviCt)i7v- z?n)UVdbX(k_1J(wqb0Z`BVr>ubKdgLio>F=)vLnI=^7*RoQ9TGEaKGg(W)DV z>OdsAHaGxxM~-=Q#-sFD$CRunm$yWgy+>|BO?V6freq{`ed29;L{2K74%6ZHdyxH~R|+i-y25rF0pk zc(UC^sLDK1*ogXlwt8;J{v^q_MAbLI6PW_gW}{ou7y4NW#vv}ad*sBAg3w76R>a@oH5SLRtTk6&v20{jI)SP*a=n?eXSNlaAMl_wQs#_cT&hv&fGh(>;(6vu7GuV(tgik9A<~CISTpHp z^oC>ThEU7H-C9uby)2L^1P?8wICBRfa(>u1Yk+w` z_-BT80Sh@Ql7rJqqT80MzqV=0_b4^xt-P)W+HGA?iA<0l4UV1sxp7AQ`Z;(K^YBF2e9nyu;@u-upR0|-i^0KPMvYORR z)2wv(VOF8X3w+|{Z9aC@G|W;RCn18S{uYVh;@pB}{}-F@G^N;$>W{iTMHhmsZS?iI zj-1~!?(xZokp9jk0!|F-wwgUpP?yv8_y}@5$E^LQKX!jq9OA|5Db^O3-lo?*f8Vbs*L8~=Bf&E_W@zk*F3-RFL22nzz3z=B>;7Fzatf0oqospNGes@n_ zdjk?X-ZG?QeY9+9Y8wAA&6DzbuNC;w@l?2Fhgjnsb23Z*r;ugpr#RmE#GV)NoL2iA z`~;oWhy>YAWyxRMWeRFV;lV50oFg8h-al=t>Xzf5jhK1a;xGFjS)Gs^xf9ffv5(PR z-6Ua5jZ<5cf?dA2nrsg9P#d9#b48oZcY(W7Gc%>6Gl{WcVI=a47aGkOr@nrySN4ra zXVdTRCq2uIu$7#H4*^C)t=~W;V#AP`@rPvrIQ=@m?f`D_SPfE9=%P1=NnO9{V`0Hb zPzRs!F=RIsN4So?!p^eUOD>+tLXP$d@LiS0T4y@CTEPO1_Q$Jg)XH1)1t*)G2!`;$E)GlB#I6SLQeNqwl(T zm3@DgbGE?zYmXBK$;rnv9MuHB7?@04CV1q}wQ992X=Vs7uds+Tsj2gfxG*JA02xgdZEkkrF;2{L;Ox86 zragSF(Eu~pDhuu)Ks`ub`w#6vx zB^#zMH~Ry3ccqp}BvsYclaJ`{tp|DbxIBkNuQa5jF%+P|eP8Mo%QxQitQF#W25J_) zpKm7rs4>{7SUMLvbA;arF}Q~~Kxz~Zt7E9OuV3jE)H*#+4vP?U5;&ze&EJ-+4i1}^>hshvA&jyX&vAB|Zq z|C>SqLtG3iS{trfyH>&~?^lSRhqdhPn5E5krxjqtt6qC__v;p8XoQR-&K~3(Y>!Un zUT1JdM~f|q1nGoyKQ_U&xhzK6tEB8qo$zcYK`8yqW)vl7rtB7|slcyN+sk$!G*xb) zT9>=)@|lU`X4_k@#nW)*52kA#)>Js{rY{(MSrvY%GKVj~vc1N2iV-eV6>gFDa|oP4 zxx+6?BZZBM@&PSagdj%C^DwHUgZ}<9Vmp|)x(0Z2=TBaD5ieUo3kl-il5?V${bKUp zQRjjn_y6}3@i>{utC)+)j3nkvstx6g_Qo65_}-P0zTHy&ev4-Ls7|=p1bZ`dNuyI@ zXS|)VmC}!j{2*qQ<3)d1&_{1-&$icDvCTc*FXcwev`B-bFsds-dod$bu4U(S<0+)P zrTbCnMeDE#vbFaFc@ODH8g*sc6~!NM5;5cndRVsEyi|Ig2=4us&&#N# za{f*o+$g4IVxTI^-WJ)}TmpdeAq_KF%HRJk-dQK@iYxf`r>WB6SS#`iwJ19bdn5^e z<;aa^xw?Lf^G#7gxuIelsKrK_Fn>NmkJri8G+$P|K%H2J9E!9#BqrUlaWi$pL9a|* znd=ebj|-+dp_b!ulK+pW-iUqAq6#0^*C4`N!t2#VGs}^*3?nI(rgED6yj2=N=Z>uC zuC8_1{_`j_rtTiAb8@5OfQ;l9oBh)@gaKJY?HHV)!yl$$Va}@iv<~0`Q1;V@)ux%f zThcmo98fTJi`^ZB3gS*&cB;_y9{t2j2Manw^?H!@g;j!dp^cF~g5ddzqt>7+9fMrP zf0(u7`q>S6>4U_F#9;PtF}vHH+_MljRA+I7482(Q;U4+%+S+x(T^QE3$Kp1-9P&;+6Znot8SAUNwiJskdH=66G4L;k6o8BkdXb$+J zw+CT7p|hygDH0EWU{FXJepczycCU&dclt_&2+|{YOF^MndlpT~Xze}i zCc-!S8j9)ERS$w}u2T}fNlt@xTJcW=(Fx%(;dT5D3G%ntZ|^_$m!Q@Y5MvY(<&966 z*yXr8Y0;WYS;Etd{L!5(ge4H*I_lWBjBV;!cbh(uhn(?HBA>?6G(#`=gXBHAvTzF< zI>j{|I;lwbQjMC~3QP=6=fl7! zwuRT`rG!wDYf8&@+;X5aF$DwB&Cvo4XU_3r-7Zsfl!_K-bVax5+UzG-nEa^IrT+VJ<;Yw{t{3~7`y_tCv~FqjY0o}}Jkosy@Auco zedEZFJw_NVpJkdhQ6%)RCT^UpP$8r|qi&Ir# zCt0yoV5dL2k%pAVlYScT)wM%9x08+c`Q`kj{1HI~UGhnE(DZ#Q>BsxJJ`a$UTaSjW zfrI&?mgka<#dxZv3QE8L%lHSwKje2eZt@sedWRYU4_ zF&f%D-nFgrpS0rMC2y)^BNy^mAOr8dp@ozDe2o@cUfI1$aCg`!)Oa3)($_;Sz6!gU z!XlSHt-#;7aF?(!A$P*ZWo?OwMs>5!%RkL$N9D8|@uA*>x4d{$AB2X0!4XziyjDLXM#A5 zi#}kYC#o*TTxzbEA*RP4Au@1`C6WMw1wE~gnVQ8va8|jnwOeMs$jXe;}b~jux4h0~Je1sqoL|$Ib z%*1yI2?wwF(5MYaDFIxQcGP(5HE-~fqvG$_UX~t!6995lPQlo#P0hYety8k%-p>d{t|U- z`fxvg7DQ5Kah|t$m_5$EglS<6SvtZ&|6MRJ!+5Rxhm~~^8v9JrH200xg5OH0AzlMr zAw!?hh;&y+46{Wo$h63G6OvKnClE}Jp303ucFlpo3TFx#xYbv^W&yBE*y`q)Y<@ez zDwT;7LuMJpS}A;uL&J3ghv;)KtJM*cX7zi0aIWmfkG$vz#-94n>V(Y&poUGG zg-T?6j{GMQw_jcC%p6GG;$jz6i+r36cr&b*21}l1to@np+-lQ8P9=8iorC=o@$N4( z2i}e=g$+AI;Y`jczdu{-Xo$iI+%?Js-Pmg8Dhrj1uY?GYn6&#+TXzHB+Y+TQ8;*H! zS@(zIq8;M*6`N7nokh77M2?O(Ng_7#DoS=)4+dB#-?r~8ML*C>QM!2N5ZdA|K`G$=?obL~lIJTN}xt`^<`9aR}5uUZT)A(jd z5C&!TSkZLQxK(m+zV(w}dNPGH$D;A-;tvPw$YWnZUZ-^%!2n{YG>1l=Ju#0^&5BGs z@mZyfgXNqj){Yo9>ta693s4XZ)Q@Ak89keReSH7&eV&=I#x*IyZa^4K+O6kx%2nRr zr_Sd2OD{W_IBdiUcQLNM+;0YYZ2_@GdAN6>E49w9C5g%s(R=nG>M?9Ct|^d|#DMp+ zw23Ug!tJZ8@k(0G-8%|!pv@efpg-NQAHtpzT|Ylr`qwrCFMNniA3i+z@P1g9M#rwd zrS>~W<6#SL!lc&$w=^j0D3>EC_nKlCc#q}D1ftB-D8bI*9s2xEmewh>6l9#Ci{1hj zESd%D2_ijOp#KjHLG!-pz#PgKIH&pp1u{2;wTfBBnEgu|i#so{o1O?untUL&WyJn2DYW%=f-8+mwx{w0Oa(^xQ*Rd*i!T6b7rzyg_ z;YFb}mTg75P6ICbSPvK0eIFY_P|ov{x@%rju-=_C^&LN}&(XT#+Ep5~+`U@cfI+K% z0pyhMMs0Hx&!{Uu#&LZ9{`)VgU%!DNywM-rXe-6!t0=$N9Xob5s(5wME3|Cc5<0}% zq(Xwg$%6pieYmj*Y}NRHEsxi(NsUJZ3Y{G8(%?1;0o3h;j~q1TQ`6E2)+SZikF|Zg zs#>`+!FAH}FTZLpZXCms#A&hv%?dC-;oBI36Ii#Xx-p(z-1QvC`s|7L_@fOqInvLA z*}HwmP9vZyT)<%ht-E+aUQ9X=#P;DK!}X$$`>;}hwUJKH3_%-ZOP8kdJTbG^kAB^A z+s*Xy>u>7C%>74t_q0sr)Cn+~Q7Z9rxw?bZUJ-tm6)jsC-qik|B}-LSW2@dtOQIb3 zhCnDm2-0V72+u(DtrHFvh3nT7zt?dn5u2o9?5gebs;NPZVdiu;TitxHx^mFDSS5tR zEI04vsg={HEW1XtQ{6I$2v$NH(u&zn$#E_rfNu;eT9sQG%q{W5x7kjZYhH251&+!^ z_{PD)6Z5xyX~9Yuh(Y+j8?QC1ys6uLh9U=CeCmRJl>y(F8K2FeSzmswl0t6b9tSbf zLd7@Sy@%h^k3XXye*HaU9XJ7P<38Q*H0sgkgE)ul!#sQhE14iRot>T^o)w#J@v;@1 z?yAA*qCTK)nf8`f$NNZaR@dL7u$&Uj|8>tsL1H{<1JMws_Q z9|J>SgK_(MULPuY@s-Jj>-0{%Uf1cP&u8n0LHqB|_{1`Hwdb+y7j{eShGN;4>W|lT znkt9ww?F>O0+nfck}vxZfa+dP;A-CKJMK$kIZ#Pl3vM!wA+AL5gen{k7}(U{#=E>9 z$gQ^F%I4;|6gKCcG4n$@dh`h0eRp>w#toPmeh?Uo5Z>V9HU8zXv~uMNZYNmV&yTjG z4nZK^5Wu_7kG?q;1oi{*uJBH{C5%NFlM0>$f*ULfZ@B8RAZY&Kh12-g-n1;bFp0s0 z2nWpM!x^)S0m1kzOaN=3}Vbct5K&j+n>hn zvfi^?FU|uu-Gmou==&#g<{4HHI)fYc35x=|We(h4!7T`^1|S5}1yHYzeb%y&UBP}` zu|OA!9sxWju*Sf*HWVS|i`%$Cc+W7A#9|N6gVQ20R6Eh8!>=-2w>|&zBu7S8xO&G= zeuE~wKGmFih0BX`y5=IDQT>^YRQ3pKOvA5pIIA9~Ix4b|Qz!elq@UCG4;(mXzAq5K z)~QvK)@|5mX1S$Dz%?Y!r8_VH&5XRGYt|ustyYhoPxiBqK$#-xbQ&|&ov3q-6oRG1 z@yrto1gA_nm=;P1QH8B=nzA*{l0Cuk-g2-zX4Medz-5~g!Ga{W1UK<~FP$ub6n?N? zdVN_nbtv07K)}wRfhN3NaMQm}FGHg}RCmE+fX4fn5kn2DO#64e5YLHq!Z*C%z1{RA z%RU&sa8n8eps}yMZaJq8FwY*u4BSZWQz00Fprkolsf1Dtx|-uX!UeM8m8dq<7U@-3 zA?x|4hR_st>H5tNKdDnEw*HQru(0WO?>(lHmaQ@45Z8Zd%jSj~9azfR6-(^bQkTEe zn3vhpQQ4Q@&9^W=!Bm~XYmZQbwSW@ZAP?qpLa{<1^0S6#8J;0R5uO38mHv0*bq2#0 zYgi}3^I~_WYtIL!FWhNQWYrz9nD_5LK&46r=7>rO!7;NfF_vvbyG}!wj~qElFHD$3 ziU0(rW*0o8M~|RYt5#Z=m(kWMokC4qVIA|@+wU2RG`nwBdmZW+OyO3|lGUNHg_Xn5(JweMz|jT- zC~Mbmpl+=3rxVQW-3o4g`t1*%%)hM{H}>J01MaV$=3wWT^ee(7ACoToCv& zLxXPJhE4nq6=WBB)eNhdg^QQC?f~xjzsr^z%mutJh+zaKKP)=FWhP1_s~y)3X&IH) ztd`_y*RAjci&a=BDS}mt7rOW1$Gv1X^J1~1lUr96c7adxCXFqE8{8}W++6=f=bo*1 zffg@cVL6rqX9OTjxUlAKD#*eXx74`&K|?s>l)o$sb$T`5LR$`4h5Jra$MhezmZKeqtk+Vb)De!E6Kp-> zSiyolZ8zyhI+PRIxMo~7AcmaY(l{o#*4La-pg zJTesZ>2bGt3hlvS9d2uMH)F^EOAuJPyf^bxGr!sy@IbF1p$+<#x^JH`R|jKSC&XKX z0+D^r-u0|b1i_6?XmiWht!S5KJGy8jnc$0Wn;9^%N zFxJ&PUQdVO8{PxOD91TGt3BA&(w1%8XwA9}dUnhHjaOZ6KG*0A-ut4(ic)#@^q@cQ zaL4xb_di<3BDiXUKt|7p_1=a}TMPxUT1ho5?-=_3^Y4EKS?}b;cxJiCll0&Vw%k%y zmEf;J_zcB2CxY@OJd-HWEv%|nsiKlCF*VIZhn>yrK|=|PV3FmPV%b*I>om5EyW{?T zZZFAmJ}BP7eYv7PSx^?rb-BtDZ`-&P++@H_nqh6@exU|%!H5kIb^-@kY3f}3Zqs;z z^W~Rc7(IWW??dbkr>x;d#E%|h^3$gEsWf=dP#QLT2(4MO+W4^fQMc3~2*fi27z22X z!=wg?Ol_=i+jC~n!Rm&`rh*A^J9N6en6UYpHEv`%4?m;!1)wDZAHZDqT%JVhmL*`& zVi5=p6A(0r)S}Qx;6IqsI%ylJ^VojHlUgvZn=#Wg5?y*>*Ptw)vb9Pis|EN_g&$*> z$}55Zq-E1&N1=(zgDo^JLuqlTd=sWjr4a-Bt3zX3w{}g7;0EUK_60Z=&5_LD$4!32 z=%-qUqVo1_T8rSug0}w$c-GZo56=MZgIyC83%{i+R(fvyKX!=+!om&OulPYYcXp>U zXyO}h8!lfwR~iQe`gFg`A{3tU)weO}72HyQ(WMr`(8!HMDzBc;$y!i9A8H@km$-L| z;JO10B%#O%97-=}2qvEExQfaEj9-yhDd=>r1$&=K|&j32cvy#=aq!G zHGa^=wRRJJZU{o8r~a%JB(y= z%ByX>-^-gD{zv~;XP4@3wzd!+jyT;tX78=4LZ7YA5-en^aVZ>x0KTER(g4O_oxlu( zb&Mi>FQ8ff16zY*AB1rnF%1>N4DK$&xdlcUFn&Q(-_!MK?G)j@JlLzdDd@r)0>YkQ&yG=9g0`p=*Ei$yIRvFM`@R0<&jqF>KfdW; zl!tPc)<(NO+js1++?$|=B_U=AzzXX28?Lpq_csR_hZ`!j=EO<7)9_57EaKrV59=(& zumxlNu3K-k)B`t7Z@vGKDNKP|@CSO_Wm$th)T;;ed}x5BoPMC5K`2EnVfWRF@T@)2 z|3TC89K5-kuDQ}sAXIs7zV<51dolOx?`Z1#)75EXYq#Wsphy=ABLETfN}L! z_6DNH_KUi92`RXN>r8!&`{=V-CTfMX7@rU-yP@@)HkpDOz1~P=W7$@uzU0<S#yS$h$h?H&VxgE<>`hy!kraGci&TATa!rP91F=hB!l&(Zen+k(uv zqrE0zQ=C6OO`0UrV*>_J!-kEh7;C=@2?8ez0)a6CR~vAt=;fnlV8mlmMmmp8n)Qy6 zo{#<@xPZVyr?)?JXSwl~&B6oto^@gYi2Basg`}Nc4q>)#&o}nfDdytYeojB`aB6G) z(6C_q@RQFiX`v3rO`Z~T>f-ax2}-jk{PFic_N1U=1Rc~h4UwT%QlcfF-5LoK3s@XQ zBINsq7aBUjWrptFK|d$^{vdGe<(C+94rp(}D#|XjiPQ=Ljds8N7L!S$=ZE$jEVy3f zpo!ni|H)()KwD_|V-K5t`t>sLz7H*6U7HzNkyrr5is1iW5#EhRfjzMhwo^3k6x`kp z=9pRf_vU4GEhpq2fuFXOr7LH(phdf^n&s|mh%V=E|COODW;G`WBAjRw3rKGGqA7i} zrjpa?9824JpeWrquPK4qABtXET8;kqRTJ99mM^iSH;IRC?&A z`ZVm1+LWFVy9MN77Qj9Fb3GdJTOCK?U@Y%ler*eu9Z#~0BYh11<_GJX39giMnlkNu z!yOXlSBjuD-+$-`V_vD!TDNFssaK`zTe#+LzzOZocBwA4$tX;F`-WwkQFC@%_xWS1dvsx}kh8txT%0g99`5y!fV zb#>lp3uQo^loElS=CmKnww&6}?KH%-shL>A>;@DTa6j@I#i!tg=SX0V>VujaU<(#> znrJ(vxv4Gp^1#e9H8qvy&YewfPMty_LJ`h&4=^TW96OqyJ7NYexG;aJE&1ZwdF5HXxUGiT3r4B{K9wN}lWvS71=S&yC{_Z~5m zzWebPn*8>=bnnBDF|%Qgkp&a*-W*sMZpZQp0jr*O+-7zcV<{Lbu_S0R>vZ2ecM!Ch zoe1tL?1EI}D_-0?=J1KGGpN86Tlnu1r)DKB3r>`s4^}|XW zu50W+xC(ma$$>QbiN`r+T-G}PW~i>v1Fd&`t_LewSb94V7-z3*3N_HWM$E!c1S^ej zF;pOw(3N_03mm(f9Rx@J;N#CiHAT;|AV?Qf*e!K*m!9_dr(P-g)Scat;TI})hMqr~ z{Y%g9YAH7C*%!$^M^+gyAA0lM57eQty{PNimSg>3^VV$!V_Q$t_aQWci#SE0<^j5! zG|X8d1-DoA$u{Q^Xvba!6yg0DG~yX`7_@~eZz$N|-NmocDW{luIDHkY^YG)`t0cS>-({6OK&$`_H|eI7|Y!##l}nD z^?nr658`DXfMy!Z(G1sJVgWjn(xMOSyDl7u88Nv^;fckkpUyPQJFmO;21-h*>5JPm zXd4t^^X`rvI~#TblU|)b%a$*tL#$CCBnaex1Tap3Edx_}Sm_}~fy=9Aiy={~?wrb78FZM_mUMspeqO1#kGrOWA@&S!=!0!tx`Z#uaZ zs;DyXt6iDhVJHeUVOHnyy$a{&Smnd^09$70%me)#_Td{`CusY5!Co(m{VJ6!+LPqi zCj{!%scqKu%O4BO{hZptbN1nC-B;(FnN!3fjGS^?q;CagUe-r6t{$bxO?L1VNZeRGAwwR}UYf_8T z{qq|Vwr(k&?-C{?aU4kg-K_GX41LAC6`I{5!m24}=x47EppCUHPab$7|I4wScVw!V%^P ztJbU|SOJ0H%B>v7)JS1vP!O2Km{)=j=k2+ngIJsYqloT!jRHRZ)vr^_tPu)Rh~pQI zpva=fx`g#EENYxcw>)w>k2F}%+ z*jErH>*JQaO?8};cs#?0#jjKk%YWq;3h(yeCf=OP{Ji_jvPKUb9d zZ|BZP#VzNzN624I(`-=%x1Wd=qK+eN5pYr$+}QhUFYjp~rye|eB`1!donxo$U|+eS z2yX0n`gL5rT0rX`3%NaeQ~atnVm;G8oy~siyBNNe&uDjQ+zW2tOMKMe0j7U(T;NZ? z|4Eq;Hu|HOWLQ*TUme@qgoa$l_HB8n=Z^(b3I~IBOR(BOFkD4o z7(VvY(-s#T>YQx7A@IrCiX3021ii%ZWoni7CQJ+066%BiVk28ZL_)xR7$B5Iy))efp8DZK9#$nFZJqrWU(=D`mu8DN)GV8Y^6zvp29{_LsT@i<@XD zUhgF=t?vA~G4*Y=iSB6{o}uUEx^XXFSeQhU*`n*jRMbmx$(s!Xpk(v%>u(x@61|$L zwz=b#mt08ab?KyM3A?W=DA_YEUAfAh6m$&b0rd^Sw+3#&z=*C=$!dwUoEf^2X!W}F zrr-v75j#-{ZeVqK_boS?RaE112!am5$(F6#>EETx=&SiZ8iCZ!OgXfpGpnI66^YPC z%(ozn0+r#pMJPh-%t!>K7r2sB-*&i5(=DTbo9-I*6LwK26dwpc7^%~G7x!Dwul6xN zRreohSZ}>FYM46hxK%NR?k=6+6&XJ#X^L%%OrXn0Kk6pb6!4?^UuGdh@Q@GfE(7QpL>y2p0KO|zhF z$3E`u-s5hb8Oye8UC#BxZnxcJ_5tg_ycpX?T|nHqN`odlG}^rq+@xV$9avij7T8|v zh}ZlO-hB4i$25NY7&>_HATyu+o9Y|Fn@(p@zkUx>?b>zX6$0s(AmB3sS>uI1X>;31 zCR{n@(^%Z-VsnP0gtEq#{hNHi^Ht#x0WqKKvgSenc%xA8|yrH{+@aA zaZ@`H?Jr)og2qpNBi3Cp+r#{6z_3viNwX69V4(wzUVRKmO?4-@fmPIH7oBgmi$&8D z>}MT|ZXtgVSiwS;tJx~Tt7S~6)@QQ2s_WTpRkT7IRc|T_S-O4On8qzi^ktUt@9t8D z^+&Wq8`Upt=dh6FnmNsA?Y__qCp~|-eZ+xziru31W%p>&3T;&V@p>;IWO?@Qnso2? zjeN0;LA)Wv9hxLU8+Ge_*+TOfj4}O(K=(RfE;wl9GeJTd@}TaCuf{+UyaMgv(S<)_7!3Mqbrks@y&PY zl(|hmmTvBc`-YgAct^K1L%Q8{nx0qRk7ZkWyScp&%S`n>MPGjX^DozK>2ka8PVL8? z;07x38OM3B^C+7LEUW_pn}F~Jmz#eCIB98V^yQcHX!J892!b3prjkxK+$jyr!q%A?9i5Ox$Y{n7{-uM zFOG}o3dSrTJFXFco2g#RRDYf=7{FwYhK_QKn!&%-rT!cs9)aThAhe zT$Rzc1q)cmohTIu; zO7>+7VeUN-JYvMQR2Fmgin0EH`|uZ^dV<|>>lSD^H=f!1a55k7+`ZfKjk)N&vrRa< zvc;z2FJWE&H4Dw{bQEDhPEgeoZu8V}sBN8EHO*6A_!F^g%j{qr?A&$B4Q4NZ*X!@R zZyx8xo#}}X;rIKrJxB~ z6rI4pQk=Eylba;dfc}G6I5d*hu3b&g>=hCO@)H6W6L^TR5Yn8|EtxC_C&nmyMV35y z_aK#B0qMR#vGDCZV6ZP2boAIUDy~`GIB7eDYe?4|bjs(XwFf`m#9IDtDXDrjOIGwb zR%FKq3+tQ;3>&L!%CGJGvp7rpvcqX@NM``#kBIU+U3} zHC9(ie)SO+GJV)mraN0L^p_G~~BBQ41G6H71!&1SU**iv~T^$2^8W{o5aZ4)R<92Aob1>_@W7)boeiZ`!ya z{kd>axGbc9XOMCGe*tTu9UR15C&XWi^v$v>8*JaPL$AWv$Ms@vi62~oo!Ra*YQgbz zY9}RH_zI2c*P~u{|1U?ZWD$Tp;e>l&T{AtXvsyy=a#=32+y?X3iU;lf{qJISMbGZn z*un~=+@%?A(n^&y^UnwoOUKM0J26GT?yUjODJ-PD(zgGs9u^?fbh1eETCZREp-hC> zmiWP~8{SjIuYyZA^~|EJQv9qw_4uQ7KlAWFIXRvg4alE~z}G+gMAu*Of5tIlsVLIj zq#GV>$?m1#SpqlcK#RVwb7oaNAh66|Nt#JlCd0bJ7)r^SZSSu(PUo z#1c)Xws?V?nZagb8QxrvD2ZmEO6J1mQ-Z`cH8q9i&YeYXO`Sp;H*N?rqm1^_1HzjU zbn2<6(f#-Jp~j7qS(p>OW?8iTkaB`R>=4KrE39LPiyrV8WsFt%PQJdz?9P@@sw7XkFe6d&&0+;JlqiR+CQ1;^p z0mM#%1qlc)u_}~{F7|}iO9B%Ji!@LqAKG5)_ACFu2m6@*`cWqYs&G$ce>eSVFDL84 z#9t9ConV<0it5*?O^@{MX=>TwddEzBjldid%6SA}4N;_EhNp%K7tG9-6@{C|w(KuT zM>D)Hx7O{8F3ygdKB+wGqi~s)dNd(Ngf^;A*v9LTuBW&$+x5!b{{cDHJ+J=&1F>xi z7tRtEJ6YH}m5Y?7Thl0aX_sEm)hvcJkzG(=o|K(jK>$KKeLh)};}k|i`_lGXiZ!fX z*K!g z%bkIjlJT8)#p<<|4q^i0*JO6UW4R|9RgF|n{G_l5jYfDy@qvH4mMwlwP7FVez(yA<^o@R|3eP8 z7G2eSy5D7Lkf8=>3_rr!%T8_pqiZ4hQbPwkL~l(PWBeiophYXNp3$}77B3HNxrec7 z@WT(7?X0Y@p>n(*vMdgZy1)a$O> z%?sJ1#Z9W2ScCZiam5-n`)S|#ibgp(o>>}{1A^tCQsM&~h;OO8 zNy8YtJcNMd$KQUpAb8~^7g~<(2RB`9RXX_jj|KKDA&+C(R>)4o@I?DlTU+=`KmYzG z>B<5z?24~V#ntG9$w>wW{q{;=yq;`?I5#t9d`NG-^#<+QwbL@O%Ptm}Ky~WanY!K6 zgX-3;&x}m(+GW}8gOnEpVu?UBV+h77eL)q={^n#`-}55HeqBBPcdM&~8y0s19=MN& z4S3l2fl;cvUHg_zitW_>f4A6^9FKc&J~xZU1q=VRlm}D&{Ik!pq=h=@cKgjir{;b0 zeNb9XCD={<6LY(}u((Qt59$w?$pHfXPY-^~ zh;0JPi&7;^5bj@g3C}#-B3ysvWrT$%d|HFxnr-9eE!nN!*YbDVbRA)`tZ4V1y++Id zdw^ASKGs_-o**p7588?LMUdVfXth1iGaw{GI>yAeKbWCsG4~;Seu`bgVeX`8(p%H$ z$6xUh_nI z?Kyof8<#&w)k}I`r?#lLpDGrMo!eEfc<1N*h+FpW(&gqQ;=A1Aj$6%R?11^EE6(7X zd)1{ES@P%yu*7_4;!8B`)p5q}>i@e~KW*8^x90wP?y#ik2bd@8a|K->0SnK~Teq3n zp&Zifw%~cH$}o@>NHFJBv}nmPwM*BrJ0J8Jzqei)OQ*Ao*HEM^esCV&KKq&=R5_&E z<7C!Mbhd_oTPmF%y01G2-p+D`rk|@kSG7SkK^G$>23D83VvQbT%>t+lZFmJa-)8M4n@O=4V26~{}A4M z_W36?Zrm6;Xfqql?o}AV8@9Z8@WDr@PMtd0txn1d0&#pfUJE1i2TYuftk^^ z)2ew>LL3n{^vT?LLD_D;_R5IbSk0O=vM`-d2^h}5gqd^&HI&T+xKv8FxnkW)5`paoP!=3U=T6hFLnf(PlGwu~bs}(+{p>2i5+^a8)Hkczi z6Qy>|M9ak6Y0SCcoU=H{XqF4X+BK8tiAVd<L>df>vxi5tv-(b?Iz& z3H^L>^z(-62J}1J&u--gCfE4UPZ_@#h7Ym$+&3GDV(0ytpIY88xI?-7mK%d=YEZWh zp<6NndSw8gb^~$j~1d1kP(3#bu6DC9} zSaI9KXoU&&${wOxr4PGp#&f>bmG)D)qM=>?g{v^yYYJDVIv3CPGFpKWrk6SWoGJWd z8;roqufJ)Tdm`|>Zsmd!Z@vGKrQkJ}T|zgo!h~*hi450rdf$8RF%^mMt(!IPYfD-C z!Rc*JHJE9-@=;x8#Npdskp(-7Fz3YgL#L_lPuC9#bHdxMzlL2N$iAgIp*$)yt*XYuxYa@YHTk)@0_5yHBKNOgldYw zcR*~sQ<*ubaDoLXn-#QL4U zxmTVaMVIpPj#yn2*s{z{v24rUb}Wza&gkwpfBG$dSla-@EcL)xA{wHtOe1at3vXN! zKcgoGHf#gGKv6z8NhmEXjlTSf8I=sc1AY2YxpL)0Y8-fl1X`)BTDGRagND-3VMA!$ zx;5s&t4iY})0AoN(-V*Mv-GBMgL=lo z@TEypf?{jI?F3vTK?tMMJ|3U`S&|jR9TUqRSWBw&>FxDwT<=}(*Nqo>=@nJ9H2|KmJuqe^eE)$hrN7Yl7PNG8bG?!Rki$uZ=$5 zaMfk(^ZYQWg}3TAwlMAQcW*a~Nifo}uvHUD94mrmAr?uBDzke5Xn5Hd+v>b*BO?Ic z!Ts4C*v%aHxGB5lbJ7|GgXFQk_Z#j<$4-2m;O4+i2yl5hFEG2F)rp>ZZY-tj+h=CM zy8|Wy-p!RZcZO!BT-w0`5=<_gFrJPbHB3(mx&PgdztF2w-!ad_N3`>;zSDjitZ@lfaV zE$->f-S5|vWIsv-&R}UyxR&NIJD;*J7av zu}>1&m0GA(3j_sImQ@Q?JX`7KCIy~(r%KW@3eb*2?5911bxCJ-O9zXcoQT^JulEu- zbq#~rp2LNy2n!HHxsk)Y{BU(;C%7dohY^7A;m6 zE%@hOf>1{h;@9B^<~^9ZU<4a$1(kufpUwT!j7g&JaG%VF)qMl}(WEEt}v7Y2gUgI+%MZ1~=-%`T*ZwxJ>Q&&|{{{8pP`u zGjgbDaRg@DgFK(bw-NO~Yut`E(#LY_I6vt#w*I+--4xl|n#1ucgtCV~#ZxNKL}n6|+7z!Afx6x8GZ; zJD1lo`ZopNgpM8BS}gy;8;Mn0md?fa;1*tsD>}~K9ITu33kA;_a_P$Okp?4_zt*05 z0D+C2oYL%h^2;$MLHqWl(!6@9IWXt5)+xLluKWac0OSCnwW@{sZZmXGhW6 zwQK0`VQT>G{DP%i$H|QV#tjT7u16qa%*rqp82Se_KcEQ4@Gm?GgqEOA@UQ&_n~AUG zpzMexQ@mJlV^RV44Z5obRc6{ppQv4P3yqKVZCVqo6BGeIxGjRF-|DsN2|kA_uq8;n zI<->bqTmosn?6%NE&DDIfRJVUe@bYB<8)?l;2wf@^2GnC=f~1Ier6Byy@^MvnPh#Qy!Mf2f0iP8`~klOig+); zK)U3-bImp}HdJFD=}v@2@`HnhSr){4J|`iaeqQ!tgTOgSSqw_O#iPdy(o=udqW4!- zp&re)Q16zT9OK}Csh$&po3q%Z7z7+n^!}>KH2lxnbVk*EH2TcdRF;K2cFIY?4eE9x z2yFVyZ$K+jO3=vD*U$wug9SY3>#3E~==cB1I8~9Yw0OOjRan56%mO|q`g><->hnVb zLwNX7=ar5zjn1eR5H21{k1uBzPS=wk(_ZJm#AooF7V{?%lqq0oy?EIQ^KzdXKan23 zuLrem(acQ4j?)|w>0q9{$CjMo=s8vxdZc$xW1a@)ubly`%6|3zj|2-|CmO?o3Ru+G zW863iY)~GqduGm>8&uWku`koW2m4qw!XaP*7IwmSavaZTAT;ty@6Y_qa2u00=N0U{Fa?+rECr( z09R43OnHmoa$Bv#vDLNh^)7tLF=3osCLxXyl!b1(<_fbOl*8Q6sV=xFe*CGY^{Rc{ zhm{7H^|~McYll$tR4Dw}E%VT!oEXo1z0iDA83g6}{lcZWjYIl0kISP553sDwVG(M# z3Pqg|O7gzQ;gnNwiW0_Z2!;cbf!f)^(R)?$WK<2@iTkOWCrN*;6+QM z+YM%GfZeKc8VTy)q}XC|m71DDbLMIM8opxGVy8pgD)TBuh z7Uq;VDR7mG%)baYjT?b9Z`Yi8oSCvbcI8JJ|Js|5AAL+7VM^Y*c{73)4knULLK{px z=l}d`5HuLCUYIb+5O~>7Lc0zNX;|by<4IpEL%0vkd^ZGU>zG$xcWeXNE6{8~5J$A7 zx1s8W`TcOVc*re+wT12iK=lKC1ujh*HlU`B8yYS))M7>D0Zt>He~EVP-mQ`>TiqA0 zI)OTp*;3@}j%OHV*08`4iXH(lBVbYU&HSItZ!uhg410DAyHrav-k09p?w}e~s~U|U zcrh$(KoC^m{wud!5RgLSHn)T}x(f-TgARXg@;DSTlk{gDZe#Rk+AY&4-NXFxoeyWy zs4?S13S-bQyhoVu_wGN~5K^0+we28Zv;@T)q3k1oS^wD%v0AnsC`vcYOQ!c&XoI^n zVQ~$*>zgLD_eikLS|}k#c6;X}ggDH?r2aqGqrtz`B?y+j+ft6Mn%$h1I#~QbI8ruB zcV^-GUboC4s_kHb^cxFeuAJ4J{$fGIfny2OdwxTDdOKHZ#OXGcHmQ^>5X?k)RP_eVRioSkl~hC271Pn)O|GJ^{K4&|DK*4wEyBOlL;>0 zpv4`Ez)&9X!b>5ANnrY+FPNW)VrIdT0g58`^S96G`#F?uwuac#ZLBb=9+aI zjPESk3N@F&9O3KvKhk}V476Agsk-go(nE(1t5dGG^S=Aul6NuByM&@c0PDPH2^MLJ z+&pU#u7Qz_7>4#|3-v$=3d(>l@tV*{XrtPi_2t(rM0}p`JUZ2be0YEG4x&AK9zUKz z)fdzSVeRObCa@CWzM!^{4;aHz9BWl4p^d7`@9|94D_bi9SmWVdDZ=yd1q;;N(qk-; zhG0=C?b*wrK8%t520rQNO#{#WvX!gMVpuogS$3jWwxzf4Wu2y%!@m9fvY%JSu$)u` zEZ@i{v2D~f6=>L|L-eaoRf`YXjPzr4>|hFI9y{W?wt{Tdn~)Ij0STsSV6h)XtP0mH z#(&20<;&BRS6)NcUw;!NB_>%kTe91GOsIbRaXw9abpkD0wp1){vJ0q`&s78h{I)>Q zP3+^Nc>H(OMY{Ge4h0Gx!&dVCgdC z;l3fY5B0LRH`AtnY%DbIzV$})6w<@F8cM2Bou2Ifpy6)8EEHh}6JbnhoEDrY3iEXY zx>SU5@wR&-$Nxe8=h$6aHP)h1v~-Ct-%*3OeUDfhav3#UU*URT#0z8j*$V_1 zRp}?w7J)f?-TgoFlDqYNG~~NzX3EA61i7cSY+(p-F^9x^52n>`fBqfhvL+kN)FRnrEM0h*uj5k(L4YNb$Ai0@Zl#A?Z?u$} zw4^${urSF{NYl3RK6ZcdIq#EJmO8R~5U=+V*EQ*!<1M zRE5}z1$~0WNGM@UsOs>|t5>@gCDy2BD2M#Jbh+m`Le;IO8wwe$^aX)RsJS)rqd$q& zt5Hp!yTjuL6j&gPa?%{v>-S?HaZs*fceRQJk9^i}W2BDbZF@4mm!a+j-mhATHH`P` z7z=<_u3cxioC=jcR64A`YVrGpXEB5M0$cz4kJhc<=)0v?sP>)Gp(F{VNsK*9cu>4}ygunACLC+k?HpIqC$d-u|e8Pi!?`v`UKb}v<`RLP>f znjJJ?-rccdXXB$WZu}TpxpIZ0)HgeANLfK3RtR9M2&}y@cJLz17(!0$yX^#zS;p8! z`B!iQQ|shL4UNF6b!*oQIi5iK2R?S8-QZ^Nhy^fwUEj*SNY8BF)^uNChkgyaWrKwd zCaG;&G`F7)d%THbf^=ubFBW77oL;I_=okjDP=T*4XJ#IP2A|Z6<+f<7V+;7Kma88kFDs@RRY2qPP@^0|a!d7O+#tFG{3w{0qfe zg>dHPc}?lD)7H~X4gWK*02UR~R%Qv-%@a}XwBy(|y3ppE&E@G47Q&>lC5sasVe6a6 zSP<~n&QdhE?RtVB2L#I&zXdnCwG8?L3!twyRdDK-k@m-qGIYi47A(A3NvE+D5C}1Y z>X$u4t5b^`$A0|9>%A;d=s0!IVim33SDfzqz9Fp%bM5b}s6tD2mo$Wgh@%AR!uOJO z4v9UT3grO=@C}Nj2;=24V9kR1vRfyKKbW`U7i&8I z?9OJBxbHcQiP@O!_=W)9FF&4VSm(iIcs#|Egzz%E0!+WhGv98URAeFmk0DO+Y|RW2 zcD$^aV%b)NZp&$x2*i=#CY_n69#q}=0+o;kTea`n`RAXoP~|8+`pDx{ zf~B_sYozR7wi4bHW0yT6M?J;Do8{TBRB8|eauES@?11dX5Z<`&492X?jOZEn?pw;; zoUjZTH1Zk4as^s`H4_sJ7ika}Al}W&HEY=glvR7#O^-2Yc;$_^IWYM&s#7b8H5+Rh zF>_!N3$tI;tDD^awdh~cwHMvA0l~_L?0XhJ1az#;+LKAFT?qGXhgiT3O+_%x!N7Gx zZ~=i|H1y!$VV;XYkc1yB1M08_4y=eOv6kho-Fs=xdR}m|6^aT_>!tFK*_S$gsJBIO z6K0Tez{`piSPOKIfr*#8B(FCF?82M1{QQj+p^X6|G;I}O3=k3oA|arJ5UFfk^AHP0 z=Cid;Bs!K+fS&xlj^Pq)So^g`Y?5<1@VuXb8|8lOcxC~5ku6zXWs4R!1gnf?>^5yI zTLmSSIzpY;%A+t_ZJ^J7P=#X0s8z+l_ihDS{=fog16$8TqMe5d({1b$?4dRr>CPtG zjO@T{b!v@BMO~kd*L&HqdMXt;AxN9U7B&#D!Qv(oE!@TDELO zg9klHLx&Bfb?erO)6*WdlDQtEPn0E9RF1`VYW><(lf z--Dy9DJVo#xne~V1_=yoLLoaL5P)E#VY!2}gasWCKy2AxG(=A4WW*wY+p=*iBx%nU z6(!lN8DhKmK@dXhK3tgk{n&th-Co91mAD=-{GVZlf0r65)ShFb!2O#ag!*9h@yXhX zH01ZXbST|@xKjwB5c6gs3m!(EzJ?&2n#i$({GfQgm$=Trwb!IKmsj(2xqJ8-Ky0Pn zEjLk*W?Kx*L~!E?Ldh%$_>Mrg+iy19#8qdEy=7RO+mbdM2u^T92=1;y8n*;@cefDS z-8Hzo1`qCyI|K{vjazUJ4)2pQ=gc>==gjQyS6_5r^m=-&vQ>50T{jILnQ}A*-2DMp z?XQ*cNJtP6pac9!)}f$o>YUM%JjT9!uJCMZMC@xkUz!_=7YuwqT>7A7vD(%Q(`2UI zWK;9G(i|TCb1^ovUO;?8#uRX0FE#8PP$^IKt;DRI2GPM{V);uq&2fA|7zL=UyBFJay>1)~2FO%ir!dqaC;u!M2c;V%TdOCyV| zAVQrtg+)aZncO*b28Fn~uE!`Ub!HW@H58c#2uV2TtJuYj*2~l0?H7xNzg{7%HZF(Yo(O|4Vhmebz6?B{pdKTT3PR+O@9m<{`wMP$hH9z(kn zU6fJ#U!#}L1aA^UL8^2;e@`Uj>)XA3#rIq#;qi|r^CO8}Lk~mlM#(bp@_l+Von|( zt+WpSh=GbuPo}M;)(=$Zk2&sfQVws{+egWVY$k4wu09SU{aNyl64;=hxpE#9iH7o} zRX2W}+7t`oK=tFHIQ|FPH&sqtqhu<7&|4+$>4&E?;*LT^oC$(0j|(T)I&&2M$1=5w z*i=wnSNs)Nw2P_Fenqjdk#&G&9+o2ipBjb*JxDPZgT)X}^&blNXGsClYQt%>oGS1~ z*VhCGVEFIIM(i?LOyp7nCO}N3Kq78kCY}tTj{_PV&hxT4?1nC3OA--M>Kb0BBEZDTpE?tfeDpNrakAVDV%zz4r~ zI8LECZ1n4<+a`pfY)j)e$7z2!S+2L=g3}KMq0iM@&S#$-&Ss>u%b9J+BAx=hK!E%T z3o+PS3}?mr>}tZSOU<_P&hmMtP1*nFMpvT8p4#fHpzcSK7?6;h7V;rbzlOfZ%z5Lg zSvg4v4U5;fA6o`Nhq)GLv4wBNb08)sBh7pDmH`(487T_+ALT5 zIBlVTl%w#zMwa>3wq0F0-ER!uvD*W*i5*_=2?e|~4Bo+PqWb%drdF6m#<3){7B5LthTkO*m$C`Hb{Jm5d&;(xwG zBW$;<@4DS%4D-44DM#XiC9%4rww@w+&KGKo>rF>+mKv?;Ic!(s8EwNK=-NsZI-n^* z)?yLwn7`H6v#%K)eDdyAQb0!td<7|T$Ak#Qj-E^*;m~0gsc}>O&3Oa}nZP*c+x3cM z$l$DIBCuf83|80rm$6fV6_Yu?;MYJ8t%nIwIew2J%4;y2s*@mi0QrP$#UUM{XVRkZdAL;1kl)anxCI-^w#@4@wmKA5_UeAF&)X6 z>R6BP3`zw7Y+>2t7%Tjt&8H!UVlZ^Mx%{n8cg}(NV(wuj=qmyNo+MNUjr!;F#SdSO$c#V810P56f;2;wGy2KD|bsC0XG4_fSYT_$vrK$cmo%~M? z6(NlUeD52u)CeEZcVFRsGB9EQg*X<_>LmsQiAC1SjkPq>IH*xqcYS1D28a>{=ymrB;oM{eQFn>n7qPs4$>XFElPpu(U`dKFg!1 z-4-Sbajn0<_x2CNrBR#dXmf(%KD@6gMKbRjS1QUlNO6DClO*`cQX{ez;q4K{q%>Q~*2>p-Xal5d*#rP7ygF`0_1ImjX zy1VKPMVr3AKBRfNweJ-vQYlrUhWWf`i7&zhSmpRHfZQj2URmNuOh?*~_4rMfJQX0s ziSE}m6|qj006P&Zoj4{Ip``Nf&G3I7ISkY{K=%rWA$wo%a$;Xmb!tGi=X%S6Ko$?v zB><6}@hWyfUmrzdTdCBDIzus#;He#j+I8(=I)NdTna0z*YPj{FOrK#fwu;J@YGEOsub-en8vDD_C zPpVO>+=>bm2$#ZC6IR5!Uoq=|SyT-+WV4o>EyfO1Ap-(m-4k>T3cX-p%BR*oGuV8x z!-6v6X8apr!oUEu?Nb=VM;aKCHveUI1ltd8onio)gmO`2RZj*U#}~WN47z&zX)!5D zNyCk?8ikcOC*dx27~ob(pQ)7gf1Vx*0{D{<42a1;-YO4+%j=eX|I zrF5#JS@z>-MnOS3Agh#Gb!JJVZ5T}!d8fgd=V(wEklWD0nZFBGPJri+@+_w?#|55$ zvCSQe^tWs%YVm`SbAEc@S&_#zo=T&Y=DlTiPW?-lkF!)`fKW6kNk9fcpc);{e-Kvw z7uo)A7SEpr0sD=koE!j1LNC#)fNQXD#G|CZzEJroyE`+ZqSaybzObMOJjCSwf1c|< zZMi?+SHBm6-+YLHPCTs$6x5(X&y#&&02w)Mqbj`PdIFJDE|Mu47kCMZCgR6)(!>1! z^`(yieh4-fBUz*Uho4u=gGuWxmK)nK)&{C7O-u-i`8|J6Whmsi;M9C($NIHas-~; z;E?THA|?hvPK9KD|IPkxqJTu4dzf#w>5E3-6au#5V73gD*ns( zc$+5A!o;05RRG*aT;$Ps4$JGjZIMJWT-P$hPTSa$q6xT~ zi@#fdBv$uNz_&HI0QW`}W5ML6QCweuyP4McbS{C%i7OC&Yd}80vz}I&YI?6upb)s1 z_3@|YtV`)uVjv(`>zI!Z|FUNop`-Eqm&5pvyY0XE%j6#p92yo0j)GOwJHDOk)2oxC zbPh|o8^}r^5YfsPN~ip;NEwVF{$t6fW=fSm|Ac4)w;{QJ5q99x#Y}1tY3g3uJEi_N zCm$vavngbk(3Sjl@I8UOG`)5G9F1z>r z1N-GxOyn&mS^YVRUMY+;0 z4nRHC{02Xe3U@^dU4K{AD0z35-vnT#cpR=u_#+7ZfI5YMF%G3FL-At1zl#c{x<7_G zwA=Q(uPWwwapx1mqY`~foKca^*{m5)MjaOJ_>}u67-`<5-EH{8ZVgEx{5RY8DD)@3 zNduBhgWjWYJb#tt#<(F&FmNanqiNF?Q`=viQiC}GpJPM1PJ!+sg*-3#exxVQ@gm#P zYedNHN=yYLP=t+VQPaoCN)-WS(8m4 zFbkmnu^HdQgfv4%b%jx}88lcP7w}@de?s9FNd23Qg7Hsy^XEd))vi!P>SRAi6I>XA zVBzpgD=TLsw$gG<(O2)^$}Wg_GFc>(_NmUySI)xX;h!2KK(=lpgT(%W)uvB1J!U~# zH2_d=F;pU<{%~woB$hrlmK*s2=RMF=7J&R!x7B6xKU8UvV9gBP)Wqagty6^p;r6Rg z@^w^%7Ue(`ax6szNh}+}j0s5V&zK1xpj0)ICRU*Kzdwdim{6rQ#BRn6?KdZsNtXgY z#vylz!p=*Pfu?e?oNmkB3DHc)6QF02z9Jbw`T%F?s9>MiTZoOT5@mBaY=Y`VP}zMC zDG5E5e6~avEej;Z`aY45gi7;oqG1y3KhY?y!7Y=kt%I@o_i%LTnTqRV)I3?ED2fAT zTib(~eFi$U^3*1zo^3Uej2MCYSUt~URlxjKgT;{pQ!ZN2P zQ^fom0sF7^Yuo&f5mp9n3p_RpkZtqSt%s#`B9vrK^rcMKRoD&}9M-Qu^Ox~}Q#!jl z8L~C%omQs`6+#~@w3W3o3+a65wADvNumUNadSkgFnhySnq~uo(^L?ell7+8a8iNb9 zOq3k6H8Owr)MZD^LU_v>4ml?_cj#%YUwj7J@-P*}^Y5K$YdkojX;osMHQN%^Dm4!^ z(aR4?^(yF)OCx~ZF_(#Zl#I{EAyIkhsA;QUVgB#hWjLyQh0qmi^=ZjW`ogWhk5JMC zr@k(6V3pb&YpJwGj%hRe5%>>tu#Iyq%5~ST8l!ggpWDjX`1X7nKej&822b zko96qRx-<~+jDQ6kFMM9`BC7Rz#mfHq;($#&6;qva=k5$ciG*4_~RKn*6=~rd4lhl z$kz9%-MiV8T4CKHEmsRzIizi5@HuV1!9JF|c~jA=(Ttzk@=F=byS(QEEwnk~GwL@l z&2nLt`ub!KHW+1=W+i?~qE{`5(r&~(9q3@U-FkZ;be?BsM5b!0?(;A;1wG&P1?5=K zj>IZO8k<>;QaX|4g5;D`%?-*h(#BWIGXLkS<@{u)bV|lv?BkF}CPRX| zr>fw3#~T}d=?Q@oG;H(_Y-|k1xC7tVmYX=T2&JgBp$K$pnW`(rusO#OBne#R~Hu@Mlwv93dY zh)S_q{CSjigG;-;ZrngyE^3G*0!Org7gya!pf`5SI8q$h&Fd8@KPhSVLX4B(^(ptN z>O;draK`G-xP0+j?r{(K@2aIT#ZCN4Ic3lT8epUArP!?+d&NefG8p*8D1!^&jRvC$q(md&a4$WT zl}hKyV={`n%lDTriN5rY-inOc)nk>P1FgY;J+NwgO56c!CWtvbpv>b%3P1I|eW!1L zVBNLwiSV)`t11U|$#%AlcEw|57RD?d%b)xH`Z4G8(p8#VF{4F_<1#Q~sDrkCO8#W2 zJyb89Jy?y^c$V=GM|I0)JTk(l7_aav)R27u`2YUgXJLegFu!7iiDw+UtAr1v>kUh| z2R8Q9==!jmG*1AlNe+KwPUZBfb7$0#=zbLWyW0c~bRsKx4*PTt?h{{y$v{@t^J&lJ zukX@KA9Bc__$mqCteX$Y*CPmtp%57$y}y10dcDXVvDUIN$kNN_vxn&C~E0gL{%*Pp={`#EFZ0FPcw z4S&4#)V@`8__4zk7&lcoWZQnY?~VASFBFEQ?{w1>ffP1%(j~yornhK}{h3!H?WY)%iqJflSIU0M`2U$vz*slkqlVupq`_q8Dv~c4q{3CG<}4 zMG9-pYY-Rt-0FARB_~gXDzfyAZO3n^kKkLNGkh{M$IFI0H1KjZ7{o+T{&SJ zfH?AG2?ry;&-suM5mb~;#7SI1UYxAs%! zWEFJUE{1Yo>QPMdI{yACCUnUJbOGsctf@$k&|4!E8hGLKhBLJ8_i~7szvN%IX8JO> zEhFyv`C&xScx84+=P&VZ7#_@r7qX$9%HTR_!nH~Mj^aIsapZyHgLzwt8)t7nt%ffZ ziDqf8%;tNv2?+@nzsx^=?g4Fm&RM!Xy56GWJ(kuLCZR@0u=S?J#Q_OE35-GQQ|kV7 z%xsmf_RN;V*LiTDz`dN0R?=KGPD%I25CN1vAY z!0d3F#K28LHB{GCC;n^j9%|ipa_=qGlxZxf?(LX*VMCg!Tswk^Q%!l15PYvTb5P61 z@W^Ab|MggeyudCAI=FKFd??g&qGDeESaK*}q$eLepDqOvNxNb)*@`#1EN-LLh? zHONiX)7ih2tTC5kOf;qlS-Aa9i@Lh)Ke1{89~#PBt4Ike+mAU<%&jy*gi`d~I!<0P zm<6_O2#p^3uO;NI3%jpBa*N@Oe=4l@RmCtVPNYBl`Zg?h*%qA4(`dcZlmWB>YmTo8 zU83S}F<-eSE;ZTgH)UmZypry{(f9ny(`d0%YBlhbH&LaV&*ObNK<_h17FLP2>Xx?D zV0F?&7@31N`+aKUOY~hY6V)7ulQl%|;GF;Umf^XE!+%er?Kft;+UYx^$&wHn|1n(PP+_pjt$ z-ZdnJ0iX0-kC)^RN)5#?M!eqlN#U4HeWkfmb*gt5k$+j4AR_tPIW3L}D(5ZY^LpVQ zZfT5LJ4gF=n%{J98S$=;sQCQm(VHXsoaxEi^;KFJYj_Rp2u%|>2h9YR!S}IYuabH1 zzs7jLHCd>hWc{%*3%#h@74 zuEE(2W$0@I%wlj56vt2P^Uif*T2gocJ39BYB6!PUbWsC(i#k-sOuIb z9>y%~*b#aMK9F5zJlUFq&l}XODSZd3NcByK14;cpf|KT&KSXkDEVXKanI9*xqzE2F* zWpVhOQ@Kn-HrsP18rjJmHPMc8r#O0YQLbQ@>t&<0S!2Opu1@|XA4%$%!}xv~MTR>% zZh|kUt9%H)Zu3D`mzOHGQ#l_mMQJry5h_lJy?~WYCI_O3WsL`;iugUD2ibqz6({i` zKx>k&H=MZb+*ydz`WxxACOsvNzFP!X8}lxgnr6NGPwe|JS-s~n(EQ!t7{b)MS$Wn4 zS0RQdHzLe!0t)m}U_P%0<51pHKkJoEg8N(PkrlMzTmeXa+6Vc5J~#6TYSef13+)fF zWD;OPaFTy~!qZ*;3oyZ@Vew7(HM&l@9Usxr=gh3Lztn}p1!TVDPNFrdqfE~=K*o&QErA}&3tg`?ES5}>l zH;=!Jy@`%|tJ(c`!fAWOV)AJPU(C!m7V~B}l62;ET;d#rZ$fpcln@PUqKRpyvfX#0 zWTb{&_1wGFKJ;F^Zarbm7I-f(but{*eY$*le7flPHl+91(hRzQs8fIYBllw?p1j#8 zYFol!Vg|9AUoYk>6Eq!;JFI#{%5^N}wr^Y8xda!vpF>PxbLyP&24=!o1zf!pzV%{; zR-h^{O|(s;v^Ze;Ny?d19ZNBkACy z;B)+pj(U9vM>8RNQRy0Eb0u_IJo<$@J7fw^je_Bp=<=fLhQQ_t;@!`-_I)l1B#7HL z`wMDEFJchogK({Z*O-2NAJgl@xa=Efh{iEXREMbH`w6ZqZSYw&ijM=!L}n_(Xu zJ#ryV{)dB%#(4aoDIwFvfVe{jGLeyLPtzv{D50J+qQ{$myLmB(qH&? zEIC*;rXH)F#g(Bi=qaPv^{{0i9D~`1<`hDv(dxNw=%^KM!$@Nkw$tA0yD**`zMd9)bv5V!Sxdiocu81e&|DL@CWvtGW)d&w9aQkEYp&hn_!>Yx*x2Eq4B#n zd_J4l-tw_s&6JDXV@Kpm{v>c?mZv@@TOoYl>Oc-`>A}W|edQgd32cqPbQn5LoVM~g zJ+@~8NbR+vCHEGZ^k^ev#^hD!3rEIq;s9>ogEaWdR;o!Fl4QtVasue42;0s5C}&}l z!tE8z58dm5#9!a@Fy^}l5Rh2MTV#@1g}iw$Q(D^k zL`Npa3E6SKM26PTZktOHdQ$I`wK7Oi@c$yd+<=Hx%+nI&MxzI9ibwy=-g`>EbE*HQ z!mzC}oDX}S+OxfYOI>H#BP7tE8$MYeY^}@Tc;_8219|l!?yzuE53E$`-dox}=>Ewl z^#>P`z%Tx&L6!@s}|u5cTPddUxT<E-0lm#BXV3X>>4v|tBv?Z(d;Ukw5-_sS=OD?VB z{RrLD$6sGKMuTO;zIld8hElNG(ye(VU4PnGn|gOj0B;d^!JDA$Btu#mvBfP_LlnM^ zolTO;C4hDVKdjP6|6$Ll;$Zf+R-mV!lzu3VRb5jNE=94oDQ0{XGA&_yjGD-9mDjS;1v2EhdLl;Rd_K&(D(yGcoL7ZX+y55a18K_fm zrWmiSfa#~a1D6~rdRCkXv{4+$ed{u!M;V7|MFH`Dg&KT%53TqSl8ThM&JtiWqE!8T zjfYH_#7{Scde+Lw$Uq2pejduy1Z|#C)Bm` zK>Y+)BiLbL4U9W14K!FJzo?ZhJB-0vr+%qIlANE#(d5|{B{gjCk*YX{ zMQAnruLIv3!&D|4h;GOa(DjoJuXo&%(6|)zAM+GjSrC^Rts>v}o(-8F+h08BYhoFh zdCTd0bc}z1a%ZL$Wz`O|e=lI8YO~dW%bhNNeg5s|9?#D)tVlr(YPX>QMs0${e17QO z{H_2>X~La@neq*;@dFC#v!L4PdM*G-TSI#7VvW*k|=Wu{bBS>GngWv0ypD$ZJq#9kn}>!ewI z&B06Dh+e#opjgR)U5*+x3VrlqOg}qI8x>1;ko?uv$+~(g^noa)9+|gZh{Uo32(%(&+Jy)#7=8CN^=k!coZfo7g=<`+0&28T6fjW zYWmDNriue*sMhLR~wg^)4 zu3_;ewFj-hZ!9HS^Ahm>XdfQGHAn5PKt*<=Dl~ZU5@KSqMEnY&?!=Ez|dlwO_kH?W?=PP*CP7&CI zuM=5q-`YOW9oA0AEr}gr$J!Jf5>~mq+#cGt0E86B(qSKivd;8sKYxuma?}syK%vhN z7D_KD(ZtaZ5*}AWjEvBvQsALJyQ=m3@K7x}CLMhfgiBGBI_J3HPb_f;A#q)}R=Z}Y z_zu0&yVhVPo0%*t_{=$`ub35Me(td25?z+H_IyR91-7S&GgR%i3|~&dP3g5SBUVD6 z=d^Y);{B-UbcfaFwRw$>?+z`Q>oQ^6*a*QRc^(c|wIpmpaF%i0c|H6gf>K~ryw*P3 z-3d!`m!klUkjJXkgUxvHjBEEo6N9E2dns?Xak&9+9&InI^PM~8#^&w`^Ro*{a+aVb z(9*o6bmy>h zOc)1LDB^we3w|S`xAs^Xh&T=z?mAGs34c;X85&@)G<_25+mn!l#T@?G+?z4U(=| zxv!i3&V)3o26=%1TBNsqoM8u`YY|R3+rS6E#%fLC*I_Cnr>AWuFv>Tfj7Z@|#EwSx zPkmDaGd%}1_dQ{Pic52ci%2SEQlgJX%l-C&aqDnxHhO&h)p#P$Kt_Lb#63B?)2+0^ z?IZQN03tEX`MmYQCj}FuVs-|>TKeDwugafF0FhHIcPuYeoKg?TF(e6OCM;ujcXh?k zv29}fzK5SI3Yea|s)qi^*NTG7{j(RtB*;S4yJbl=#!byXND@DhR;%x(5_DH>p@BCB4#a7A-U~Q}6Wlg_s(rFr+_7oQt!xlo2Dc zfMSU1jJCjs;BjF!vRwWj%;-M1(OO)k=>BhHRER;ezbb9Bd!y7yx|fvtjJ?iz#+_3t zH2Nhw#Uqm>FhPep1tDwrdtJeH_KvQwL24vW&#A<__gy<<&0%dR*#~1Od@(0CZU?ji zm_Ky8b3_YTGc*4I!u~JNyU7qC6?71ZwNc^)8+I0~1fCbeH#m;qnsYpzg$<2Pz1JmCs$x*bC3-S1f0hoa@W>25z;L&I*f zSew)G3TiC5z{(IsXJx!cGt1d2tw9UxmjI0Hm(Omp+==naE6Xj?l}(}i6})CLc=Ug z-_Us%+~4uuP)^inOn&oc;;l?#GiqHIVUdy)f6eXmL8y7$qeWd_+|C1nB<0nY(*+N+ z3CzIxeB_#tXh~44U82zPHfQ~zrA}5e9EQAf*qS7UlFKXkosFu@ z?Y|z-9io590u@p8X2MtezGjSbu~)2C2Qva$EiT7mK)>lXVCMDKYD2(C@JPz`b{6}W zD+xR{7i>feECL%Px)zKsIR!6~_&1x}1w41TXHCjJ^`3~X7F3F_niLrj8c!(gtl?5b z!VvwlhV;NaIsBUgZNDFj=ujR;b8?>w0T0LfmXIl53oW@N3 zUn{g8-t(e8>UlL72@jivc{14h)DvDp%Y)#C-3xf>3oaD~TqICDu?2h}u1#PDh@HF2 z&1m>nl#{zHqb!@wwmFG$d~83NK8m}uF?Hy8&aU2emz|mX)*8^(+q+it>cgnQ znDQ(y3>%entiJ$(E^wgMaAx?9;KT4`SA%BYpKGk2g~YPmiIf6izuOrZk$%@{M!NoW zj_&+xBF>J8wi|6fG0_AMWb+2)&LlS6!m&@87QggCk~cs|j%o7v9>5Dow{-?u#DoAu0Lf0tg{2Ient2>PyqwyeLL-u4-M; zFw))|o(3=X!PZyyz|7E%D?;I!tq%d}>UPbgm-FJ&PqY4k8`{RVmV(6>j<3gsyw@6g zEhgE|Lvvokd7#ax$>{?Lvz+4-q(i*j4(+eRGQ{h6@q?;yJ>AV7Wom`-E9@ule|jIo zU1)Ab<5xOc0R@cv{nvhd+4J+S8>66XF# z-ksSPH&gqZ9Fv#lmm}_=F~cTTUkX8I{d>B<1~LfHio%ffA)`$d_38%}31Wys<3(uP zkkr?{9i)2FlNA0{-_!Ov?&on=}F(>UR{=O zNLT3!tN+l4H6Pa(vewdo3S6$|62}4+Wz+-ds;O1)hd>XSzBg&5n@j7jOI0@5Md$cF z*=50Xx6CTh9$|dKmExme)nrv|P!iRpnt55bU9&3IGR^rmqpwZ!Mn;$bDeQq;wy;cd zRc5|Id700-VC9oSf*6WpBzW<_0R?XU(?%?DG`s?JktfX!N9KHq)+{}*!7AX^5-;Y$ znW0iFVy?k!HT0byGt>;P32_W$xGqwWXE6F!SQrx^r-BMApIefZ-GKgnZz(9t;r)h7 zwQlR*{aLFG%VcJ8G1qV~!YnrEE5|I|BgZO=mTGF}4#O#z&HA7C3KJwpS!=YLDZHx3 z>wLb_H`yRWK0+6_`$k4vvoX69fT)&9n8Dz2e*UyV{7Vu* z4Uc%SW^fN33?5f+=>GyjH<2Y1EV+3AVun~zQ~Mv zpDi=jIB3skjs>sZg4mk2mBG7##*6{bg2kpMJ^j%F^;{3-eoZiGPFe%4Xc{a5@8&Dl zetoX^ZdkJe&XqH`ep|ki(rTlZHU2oiG}C=!yY?NHdgrf)msyVxG?2JWBEwqUsCeSg z^G>ZTWKBf4M6=T;Ffx_10zfu%xe|8sfqYZ~>)+omqTl~sMyz+OdfUaD+M*dP^Xc?&w@?Xv> zV{ZRZR`Szw2^=?YSr#Km;wAF+20G>AA;_k78BQ$h{g!;T`w=ORsOD>yZ0$yyrik=8 z1ck12x5Z$UZ!-HzGvz~RX369zH{yI^0-nAkcgw0V9mN0~buEpZ1y%? zg9jD{>b8>^^cqFRMLYDT+3*$jP_6G~?1SFUZSl7*UVa0pyAtDtS;iInvbi~Vfr3;D zSd_P`mqOkbm^nGvj&$*Lx!oq0<3m1*NC&ex+w-Ldx3?)jeDC(J&37yh8nz) zmz1HzOzF12Ub@z@fa%9^DG)qge;vdzj7>9;ef$)bCW@T+7HI^e>@&maa!X*+3)Biv z?8ad?UsWy(fveX~d*-(~x0KUa?2)=<@saN@txiKr#W-^CnZb`O2l2>=FtN1y^0%ve zg_CPORfzOIVVeCLzpGb_YNqS7T;G>H(ODk{(6L(0a9t)=wm)LFoPQr_Fj{D{%NjnN zZ7-_`>t&O>KYv#zk-RS->U&J{`mm_grejq&1PWh+K5e0Z1{uFk#!$1~gq!;M{A(x? z2{`z}PPrJ$uL_^>r6-Omdyl0^&EL4f1cfQtK4jCV_I;urn|UXF_Q?va0ImoUuzeM)Zk-**g zaOT^eG8Jw_H9E_DmwwUHPRZrj(+v$~N!IZ1YEnR ziyg7>ne&=zPL}H84{E_g5R~7TbCl;;Dnt^zRBY)HF4Y$-t1@JND3n^fyUn;1$q|1Y zf8nx0AW?8~-i+F-^XEQJ;M$D`=P+5X=Zqb8k+7C{{T6x7w67y@C#qSX3+Zt3iO0ErTp@pIo-~33UPZrcH+ZK<*u%ZSaTX}8N-KB&W(T(6+I*P zEBG8Axfohl6zQn%s`d2jG(1?Cn}jDW;8FcLv*`_Tai9d*&$c~+G4pi7d&CEm?ITKS zm?y+nSELBF!DC+F1U8sFLB$PDd85zz(tcyg zl-<0Wj7R(U!n|3h`AZMHwc%6nw~0Q)oeuSIv&;9*Ho4>oF>5dBl7y;}xXDa}%a+0W zt4|NkorZ|($#KTiT(tlQt@L#4+~};$ZNAz8K`od@fkV?(R1= zbUq(ywVmn?4E+pDLA`GtNny;dC;+3Dw}nL8VJd(_vMyveH+(?)j+84-*KeIvHeUMY zjh!GAiJsS4Xunp}9~5=q7Q=DTarJ*upKY&S(ToH<-oW_|7b|*3Qe?-uN%Udk@fcyR zxDGP9IHDZR7J~Fa1X{TN;sWpz8*hCLkNVwJr|;ZH5uK^GHk{E2m^{$OwS$QnM5t|P z_~sgXBiC}%n6WQt`c~t+ilpc086zuBXp{?P6|SXSO@FeE27Io@Ap9k_;utfLCj@n1 z760@lMqWOB%S&{s&J^pc1NiS>+1j=GQn|>K z@3QCP&bS@6OMF5#irr*iTMSyZ>yn0IY4i%8)%oG}rFY2pJ4#2&lNby>jW9yM%yC>s z-h*%$>u;dCSC1=~ui($U>`wHG&ocu%af!YzOXL5w7(PRa&VeWXI5BZDHN%RnxHfNH zGcA_wUE@cUi%_CdigbN+&fYUd$hTh^9U& zOi3Nt>vc2^^T!XRijw#M z3=8wx>m|_S_NZ*~WaKwDLX7!Cr(|`(`4@OtjOkqf+_WDIf`g+d6;#9F1Cs8Qx&(_L z7R+kAU)Q4%Fwj5N+9NlwcHsjN3XldzSO5MeZmT zO|$!XALTBF7|`MqC>dAwYGW?R+#_MKseD2cXJuSWfy&{p8feH^K0Xx@qpWb!oW2fc6T*Xq#)Cch#=8sb=T7X|_6`hVAocduP<29AqU@@* z4BP2(Uzr=7hnh;6ryW<1gTi@;D&bz<)w1H`IO3dOQ7!poU)A zBS&t&J*$SAE&o;dee%6a*7)&3>tV&eK-7L9!x+igE=?8A{fMy9xZ$fz#2ZAV=^tTz z5mZ`fSH{1Zv0*c<$j5xF8D59zwislAzRaYytS(0_H5>{7aKY$by_D3{hpC*#1JU1R zW>&I?6T?;&@UUPU5TTT5gV_a0tf!_KF}W6O`Y0$AMJAQ7@%QSGfZWxPMkR2QqwDyn zE2WZ5YquP{a-D}%&i!4r@)I!K<(sj1%;a#xA-j8QmP^;Nq3h|rY{nxdtN&8yHTtG& zmnaIPi&48_NqOU43CblNV5=x~(mtr^z|ypVY*&)WEm_JHzo?Xn>?BHmh{Z+5VZN*< zV|mz1s{Fnxd5kyP(1U+&mm7vAZa}KsBxg;h-N^LvZtK#%KqMvd0F{i#+JaQ$kt1>V;K0<@wj{Qjq8{fqj1;t z{i`ie8CQJlFKT=Jj)vYsk4$}I0S4AWYZop0R5+>1viP6^7-vYWbw=&#QsP$)&XK)A zC-=9~l^#iS!`@n~0TH5B9j_#r0b~B(np892Abfgj?5*Co zh{+@EzJp24+{k~sHb6*DA67hh4xZ66{V*V`l0f#C$l!nWcbNnWIbnc)RVW1w3{X#; z=OefgKyci0Fz4>TKbUDeWNj#oLtaT_*l!I?#LB}> z$B~ET4~M$m%2RQ`LV=*u=CMaq(_3|N9WA5iSR$lz#gi=m<}qRq5k67dW2Hz88b`y7 zEPtMercV|NZc)U{*CqOYjD2NPTwAtva0{-%Jvbo*cXxNUKvKB72loVb_rl#FXpmsR zrEqtb0N=^`y8HFGugAFkw+7VNwa;F%*P3%Kogjstn$A*CgmXj300c>i_Q9uz#NYSqtQVbbwKe zQw9=V(3fjMEJ|DL?#`NSyyHKyF}msRe7MY=ILUhsF)CuD8SaC z)m{n8@BVop=xBfuMhZJWJiu>Sfmji$oxb*y&4`sLSD-fG@7SyQ;^YrNr|yicIzvXf z06Wad3A)C%7EkWplHNo`s7ubfR5QOuL_yo z`hiW)<5678kBGJ#=0X{Wy6!XB-;cTRDtwCtnt+Qy>2B+7kEe-m;E9(!xDgS@Dm@1? zKJahO1O_Fvip+9145q1c2DdA9!OGbhX~MJNT)<3pp8v1VSPIJc(0&wL2Jx9PjpE1C zL&XZ+hFsJB2njHkay4M4K}cqxt+`$hq|@gX)vk zdgC5wfV^mBk9*OaFy0D(2pwif`~^QQs3t-kj}_EoM*DXP3*;YQ^WvLTbSJfOcWIyO z!JcVXIoXJ^+IuD@_ApwYxZf7uFy)wW80a_NK|cj<`4wbgQHAl~rl+UrX=qXhV#&nB z1mA$o7K6%~e{SG;IP%cbhyS5fvUZ-yW-Y&b?A!-<`uj6lMiHJH1B2st`uP;&$z)r4 z>Udn_iNP&MSgiE_rV#WWx0Hekqp&Z!wmCeqIOWeONmx<>A-JdNeR+ma3Ohkjilpi# z2IXijr_bb>Zie{B?^(VXNGm85)&S;RoQ?JeCn8Y`0?A>7Il_)|^ikT0z6D_09~x*) zY_R@X)A>J6m%JDw%o3FvY^zv6reKC*81AZDQ71WyNK= z(rVKuL)0ww=s5prc+mn(X@e$JHZm1M9%qNKcHMJePhdM`n%EGn8!!HU9`jdCm?0V1 zwMZsQI9b&rdvpmVH&Exwweqa!-RDdR$O|rmdcl%y#}^>PNC0<$aBYMDgynpnn+1$C z?sGm_g_VlxvvuqmA{ntj;RMPxqLbO?K^{NR{o2Mx%ne##+zR+_%sMDQSY29f`c0Tt1+YG(GgS_YXNUA){Tb z!H++s45)z82_t@_Wr!ua?Qcc85jno5n@3hv{7bI%*BSP6Dc24nK7B+;;^XqUodVeT=Z zXzlOATzYDUQO-f{XDPule;-D+sG(J=f}=G0q8nS0FyXTEW_M}FMp0^7^yxcI`yC&) z;(I=r4P^78DKxW;O-)aO<|=V;$1Ps_@PEWOUTRWevT@u-9ahLgg0kv-MAXX&ZG$&P z{jN*>_mNbQ3gfy@L7oYxC>IVk)G^6`f+w*lw@qqzAAil(Z@Ucl!`X4uUK7NZ7USKz zw526OG$4kPjrOFCDI7{&q`*xsn+YBA3X%A**Gh~I{d50Pgys0RT>h8@+`rT-|8nR8 z=p@MxIKHyg)ZnDYN$*SH3_4TZ-7(FcJYeHs!(3hay{Up4*1P1V;*&+Iu3hN#Awng% zD>_kWb0sO!uGtW|MLU`7{C&Zmb~eV%>%6Btab1u@u6%~kt?#D0pnWJBrc}0^4;m3_ zzzhFB>BC>cI3Ua-F5m$33Y@csmY&!D%BXwxC8jBPV^RF7S^e1<)>;L?G)d zW)9VDvXuk)+Gz9HKtF35;QQ~@jfYGml*YU8>T6j+*-_)e1$g_v+UZhalH-Gw&?AYO8Dy0mY=5y4yMc}f$38h=ubfPc;&%b(k&xFJv7eqx z;dsfd0ErKl=Za1nV?fwxgz^3i>UpO8( z*o$aRtcdCPAZobq@oSxTcLl|Ie8-6gnz&8+w7FS!Z++iYY}vet<03)v4JsoAetz@>J-wYB%R*wqv3c2B9|LF7o_d|>o#4Vy|>V#s4;E15%C2mB*Y)X7q8gUw1(yqaoa;-`K0J{m+ zuHWDa>xoQ2tb$Nr$BM9QW06?Udx+NgqPg7BON2ZYbFJl=%5su|)>(94U*A-P!d4VY z{(r^r{`YbJo?QtyVh-U~PF<;)-g=4VA!B6;znzLHWzzg<5e;=(9~<2OcFE}uUiu(t zu_C&f%v~AiMDB_@L_|O`Q?6&Ex9EL&><$bSHePj8_9RCXhk};>d4_55{r4^h`5nu^ zUIQ&BMUO61U=`ip#b{xSAw1~&&}Nm`H~I5P&3%*!zTREPF7c#SU#Q4=!U*F8-YU`s zTfdej`*?;qmuK`xm1wESEz&!by1+qJh_i(e_&w0!snI9aHX6eQ*(Mw79)qHT!DhWO$bZG$sr(` zTaBo)fO{lWrJ8aqpwjdwYWX1_un#-I zeesX|GT^<-6Kf`&w*l%Oz{i@RrJg9L{+o~~jtuo>AWS`;2cif#4Tfj&&l&NBL&5NK zzqNgE%M&yFJ~<))yfaMupC%AuDc_Pl)LA?*+kX+4;GplnHHU}Gsq<}M;~M7PbAN%x z*W|(rHzRp-rJUHNuM`6u-nb^j6sNh2CH^_FLxU(oz3PFmzxTQLh+9eN9b{Cc=O3+L?KW2Qp*u6SI|P0DiG>7S&pMZ*?tC?vM@{1radR zI!W6~w$lLbi;p_}+rM1o|GGmeQNn_=%9MC;VB2q^A^5U}PHuwwMLH3XiNp>Hi2nb4 zKP=|in1Pj{UQIdpo_Ns)`1)DS-2R`)$1JM4f1BBKBlaP560c~PnVQnGl+qQF2^7>f z42m5vxo%NK!3n-q>?@&?PA5><>y!45jH^!g4k#~@zq**gif>06UzAKe*>8Zg8vX%D zvoCwS7xE48xtZSa*>G?C>@$Ai%gdVy^L8>q42{3+Ln%Ft zIFtZ5DBh~R&@LNt+VW>H z!4%qZAL5CeCFuX!E&uCg1`2Os4ng{&zr)P30iL@|d@t6tzjfW<@m2D)cNG8HR35OZ zkLXa5DeFALQrbVwdlw}uC`>`g9k-MXe<2h7HA0iWM-2MuD!$YC)e26N%VGF{7E_Ze zR{#yCdoVGSLk-iqkcZWAB_Rn2^yI3D+8>6aV|7znrG6TWoteM!!bDfK zxrbf?g;%MJzjAc?zVk5qR@GT9Qm|&hMj=y0B9f5wU)T%qgpg(^-J0QT6>D$Pp>7eV zj4a!)A7*2Gogmo zhU?g5x_PA=z##_A|NLjBdVv-&Kd;>t6Elq&rTTB5|1)I^h{p(kE^Y_{)UrWR`*&Yq zC^{6$9LzNM90HMuGt549MTAmpDF6T%6A^MOL}Ob~FqK~KJ=g|Zp8G^rK8pm#{kKg6 zoaU8B2_Hw9(Oez2(zRD2r}gTFhr;{+aQf(m5OL_VK<+ARmUD)Hf9KtEFJX=OL8OVH z7lhjMEmvSijR#QH{R0nAkDRRl>+Dh4fDdzBsAv`YdsSJcsx|*@JB3#%l}k53zI@7c zo*Z3sTmPxR1NSB%u((Ctf~`h*6rg+JnxqVMQ^DvLiBM$7fS8sQM6ysWtX0B=;WhHn zXA4FZ^@+ep+C=q{_3vgwOM;|%|E07k&I28eg!BvON=G=^q|vDsyi26lkiC6wqZgWb z+beZ2{&Nc_Q)}c)vrJfQF>-Mh*0vJU%3o1}e+F1n z&Ie^e8UaerxY_EEAm- zVG8ShQMh$8T}Y0@A^#?)BXIZvh=pGv6OVErPH{H~zO|0z_F+qS!MTs%5Rpz-7LKp| zry&d9A*K|d>XvF2zVBGRMQS~{kfRe6jA78IUM~0}Z$xXOY6W7Qz#oV+g^D=d&H~Dw@4w!X1_OE zNx^#sXZ?C;696fGc@;*8$7rLoT0Mih^N~A{&bN*io$}rLcJPaw_z27C&D4vUEBP zkd~wY9T^H*yS|H%ukrs>q5j{TS$T@JUR(jbdpaXIbb zww?!^Ir)$iBJ^Z{zr^S}kl9ZGE0&N|xltc5ls1ZZ9$7%ycEseG7q2peFCyW59!Y^$oB zE?}+j*7gUVELRNbDUC79Jwbnd@Wf_h++*EY!{L6tYEoo2uHLP3n=d42IYb=;wjG1J zT$d+pY8T6A|65&|O5uA6Ph7&uUSzuZ%=mUzdQ*cyCj9c^qVEn7>xpH`rNn%?$wqVbgQ?ui zlgXiTh-Dzd{D}ttvHF3>X(p^yv5e4@Y?nedrnLrrG6LcnANt0JL`JocB(SzjHrfj> zx+mr$Gn-&l^Pab?oLq5FHhS@OI%nvtFcj-bu8Z8kub&S~m-}HVup>Rnec+dwX1mY8 zi11wXam|HAj?d^Qc z2TzYRFP)@V^#I}1GeFIuRM`|Lf+*(3hWNfI)syA>$J>V^4hU3QF2N5o-U3ppiF2S1 z2mIMk)vpLQnBeyti$IRBA7FxM{FR%6ixKya(}sa+tgcZ^tv@H}o$2rEqd91aBHuciR4vg zzr9*i2hg-Wn;|aa6DP0GiTP6=Ns!iKcC(iPHWK0Z1j!X8?vG%r_ES-PF16@)#c=DM zZ!&Y|(64U4JX8l^Y(GIg!La{bB8zhPrvX6>dR=$LSQDGKrSmz&}S1Fzi z&%Gg;t#9Xd3Nrrbj)Z3$cj8}#%{RkFuQ0PP#U=l_tRL$=V_17Wq~gmkvy{~ zZ{aPjB3gE&s107B-Mgf2t`EMXd$l={aNTe(+^yQwJ56LhT#n`AdnV9v>!h#~?0!wi z_{{$838kn);PD0%EJ;qXRG&9+ohfei&c;0vqO3PavtHzr8-b5ulSBN9pNuwQhU(8nd)TJ9upZnpd!MM#4$G%e zg;K+Y2%omX5v|4j40#+zUGaF%W~t%Ip$Z*~wrblS3g@?IL|kW2PkJ`snU)2vmgN8c zT7;j)*9xkeC#&FP``sHJ4dLjNgm514Dd>{dBd8SjKN*{t=`3tNC>64`yg#a|V&hOfC!OXk@B^`u)>OCgbxzzvPYNe zod`*Ix_Y?1Jhu7LyGcc+2lC{r}e0U{%Qg) zdateJaBoD&NooP>wP+D8DflOHnZI!=py$#!vmVx^Y5u6)r1o7{>7>(6TxSA`rFUsCL#>vu8CpjP})o9ck*bHx@Z+C*J3m_ zJ{^cc8kN={gEs}(i08|3lJKcrw!H&kD^u2PW3AViR$S#F&>g+(zaYX%5^~8-s(*?c z|5KV1PD0G!?~4wkl!Pk_*J7Cl+A@WkgTGh^yrU08Vq;|vPcK;CFigs@R!I|YGInXR{ zbzxMFzUWW1LWMli8PsDa?72|5oSa6P)CqbBt#I5mEg#n}M=xfnh{SXHLnFJ<<<-fp z0!c&TLL&rrF=b=PfMwznSpaCH2}_W&CHB=gE^Vo>w`i@{YO@Rxt=ik4OL33rDbal2 znO~bO{Zc2py9!NU)RWX3me)MjTAr%ZK;eBHm4w~qca>(oWij{74`w;pdq4P+y}shk2`&RklL3&JhG zO_AQ-#On9~%2~_mmBf*F^m(RcI)~2O1!~Qi{JkmDVV5}c4)y7BvtoN*Ic{MDALBOP z#)J|-N^2$jGf7m`g;fM_0aPOR9VYzN9eR&z8JK{ccy*yxb^%pY`(WqSBAypR+h-9 zsHcWLk>T>AH8Zu`b^f>wd#`tFxD58zM!oPgu3}ViVY-^jQRe9mxcJ!X%O!KHD{0%7 zyrseJ2L?U~Glw=DsAJHb4uYX)Ex?O&Tsm-%#ur5$o3JJ$m6bRPMSP>swy>nX)WHR7c&-(PMw6J1C*dDB3 zm!w%`pd=Mb!ft0?902!@$N3JiLf6VitCrP*dLyA6LA!jWR3~#y(CQ>mA`M`BvyY2> zq^0wIr^#7Ppi;eMx!9aL;Co-jQU7_taa)3N1&pOmIQ*nLQ*n!6`duO6dobOyO@KdB z-thN8)BCa+%Om*Pm0_c|6D){po)HA$YJPe$ zsZxBn^v6o058Y#OqW#}j;0KmdQ4bIATTHJBH(Ww?35G)tq0wzNbz(^cB-x)cD;%V} z&MjY4t-glcoYe0vQ!mT8ta;-Kq`bVx&#W0d#*L9R5rW17C0fOt$C`&d0N4(0JMA5x zS@#nf8$89!lUuj1IQZ237o_&d(g*zmtrdVK>yN~nxpw!dCHnf0F$lr|Qft&yw!a=n z0T6$(dcqXivDOl4dzUwy=cW8=w|Uw_ap&)x`Z%tDckuu&2OpZ>&AwhR3=|*T%z1!7 zvcm}o!snp`m<>nENA3r6e?(kOQRdmARxxt-*f2~WN#eQTKxs^?QtlJj7W5fZE- zIg}22{s;#N0X zX#v6PqzZ%I%SByOI1~6?JmIuLzA}wJh*+oKVV7aVitpQ=WYW>G&a+~!k9HAsxQ+rY zOJsEp5d>L`z1_e@Ut3)&mGIj+zb4sT!!=YGm3~<9s;qim6_c{wpl!3+TrG^i$@`(C zpNB|25{!I7?xM(8`a`Xm!`o`g+w(r12bfMsxV_h@cOB87{=+_9K2>w|#y4oGf#0DDxG~ZN>XbWvl)E z`v(9+yZl;1<<7b5(RC>r+o<`#RCW0F>FQ)qjAU57Gi#@dlB0WOo{Mj!7ZQ9`xf z*hBJwLdN%n2lpgoU*EC9gCbd=yeEJ9`a!+;UI^p052>fWFov+jZ>tK%-}?G!gL=3N z2t6I1Lbu-(H-#`L&|N#^bj)>XB=5ch>VVS`i%?{~M>1>6_S@!Z5@4ePemJ&pH47Aspx~5hR4|V-MD?z`1u3hl1EAb-&;Sp&`0K1)X1D>^*v95f9hE~^xuB1XY3=|3GXJU7tkFg- z77{*6C)a@6W!?Fc?lJEe##-3@%j5)WX(c7GPLg}G_m-96;0Vi6-tumPbNx!88J_?| zkc>xi>_?ubVD3plwr_6sONuR*n(SAzxG$k-AnRik2Fw#;VWMRgCW>*PCIN%_(tNYm z2A;m37E`~8+I0#IIq6H9zD_x<4xwytN3&&R-0mx53duCIkkH)?!)-UR(r4yPOz$fU$8=X{T=@so>Tn~mR z7TNgt5n(zZ0TW1HV8JatPJJGuc%b~9_d6eU8l{~nUzLB=6MR^hY}sj0bjU#9z3;r0 zNR=jX^Pp>f@m_sX-)w%Y25P6&i=d%tj$GQkQ+XYH-!SGQWOy9;25C=#wuJnU7Gwq} zL5|-^v3#ftl=XAhYLhRB*1^1eI{SI^t0gyno^3>&a%>CL^{%dZ8#Q6LCoGP$Cugf` zG=F$wnA&Fa8@Y<4kaK4$t}1UvBYvl=5AD=IJN>}UW^z_xxDvb2ymP^hMfL4SsUx}F z@@znLdyhAwBr-H;)AuJEM6m$DQ%C|`@Sdro0w)ooc(0;o=I_o17x8iEAv%4ZtwnSH2T+l7$yt~rW(dCl5>4Ql4p)_q$DYAGKo17l5}{#1QL)&BrhAx| z4yo>2tvOSq)bFh3y0O7kr&64a12f!_GLu zLaFru9IpnHx1&hzV?v_hJ05SAW;vAwg>KzhfqxwjXZTDcP7bzOhW>^TcyYVzng6AJ zz1Dmrp=ed$WLNF+&VBq5SY1LnxfXeMo>QnRtmz=m6;uK0$EBFe9U6uDYp;tMKwuJI zw4%EB%lDK29YA$n9hl*j`BDOHykc2%Mu73bwkR#VKKKEoMp1eFEYnVxG|jdLyDmG zmhX@wwbLitWxd+pCbt=Vgl_v&vltYdTc-lQqM(CZH>MxoTFr(gt^sf>EGC}i@7E$H zDVn+qJ3_fILe{l5_=e^BE-v^tLQ)`dYnfVD|GUq}xM5b5h|d<_927lAn8 zh$vMf3e&YPlPDz*!lfz;yI-?*_ z8+L=|+V2-vv*TBoZ(Lhsn(IXhLL%eHzz1x)asjiDn_D8z1c8k24uVgHl0FI{B z{yrY)%PH|)dMp7Tr~zh0P?pxi<1yi2NrVl64)cEy$myfD0`mlUdr!LUJBfI7N9L zi1MsP;qY?J=;gq@w zOQ4)(=xg$cknM)367S6Yx)2|P|B)`p9ku#7rBELo>SdPsXD%aat1zUlq4s+Ur&CgI z>)IfssMO14^4Q4bM{uM0#4(q?7%_|~KwtSFt@Bw}cw!wU@N}S@WzGYr#)?1`o@9U^ z&5w?VPb=0)mn@%;dtT>oi5E>)8E_RCh=cqB6+!&5=N6?g3R?4R!uD;@54FUZS?J?$ zr@x)}CQ^staJJMXD8FxGx?YIMCNq^j_@pWJTCNG0cLWhA#KC{cP;^`M&ODjci9VPv zL4qtGd&JwnGY}7m+w(Xj;dH2%qjxQ4JS==uXK~nKpZ-1kOGd9JlI_MCa#TOH*}JTF z=v^A8-tmqUh~+6Lye>JE!6=8f)1?Mh+YF4=kAk-NQjMmLda(gG{{9Ihf)?$hb=*?& zjM}IH#INrCJK?;#5Kda7Wy?I{#DFnY05MmCWmU7p!ALuv_EYwPwoq@yoPmN8lZQm| z=1UoYrfk>}^a!)I0EtErjdZ9hF+_sBjus9upfExk2!_H0g`J4 zv-SfeBytWi{dBZ~Y)8qjFW@zymBnjC)7;X|Jm#b2Bt&vvQ5gTkw6fik$=^lW!NAU4 z=YPNRPQRePgms;AGWu1*l=4Ozbh5F|k3xlV9@l=<2M;9F^v-XZr}J{BPt{>8o@U<^ zs}^cv&jQlv@cNeK(>#^^IFuHH4*;b0niRJ0iz4eY)Atqxe+`O~LwO8wDywKjJQL<&S-FWmhJ^LnZkBe65 z+R~1zn814v?1=5?IL_R>BLmXIEsoRQ!n@ZmF`nKxZ#jG&Ka4@vmP;WI&WBR%ZYa-A zVm6OiXoC3GpRb1l)EXE?F|x;F?nAQ(ubZ;0QtXy)iSwpq@g^PeJW*dF&)DD!(05;& zKgavfPdQE7a>ruj>aOCbPtj`MwEu|T2V90l~% zr|@_l(RDoBAS@>0CX9vcLLE}Zmw=|41M+$3p2*2-Qq;S7+7<&Z(q)LY%%om&#zXc~ zgvk-K9U`p)3hdXZP4TsrXMN9p;Om}8->f5}L`Y2Iep_-OmBy!grXbG)23N3@{E?-; zTx&%-8C?#X$6+dJK-e{?Vv^Q&K%+U+BSUM1@&6+2A=V-e4NMhfElNpJQNH*t`Z@?Z z3#ld$$Ql;|K=G1-M|v4%I#IbD^j*I#;yJmcs;>b$H`bYiK5es{DUU%5s~H<^ix%Vi z$S-}TD^0Nv=-x(~k+;FOv2GR&Zg043Bh9?lh&AQN5rkKTK{1~Qg+L7W8fH{?T{QN3 za8{UMZ`w(>UhAQ}a>IybqHlAZ4jo3t&mtq6#wAET=cP2niWhg^NrrEitNzt}Y6Zsc z9h9Hg#B&kp%t0^0(W0gsfxT|8UKZ8I{nbyrcE?T!<2aU3Zw6|$v3h;Kd=P-x$Guh) zc^_CaGF1|A+V2*o(uD-)Kn8N9kloXYZge71cT0M5Tq8cIsoM@iEZD?@P#-ib~hKp)LH z5jg2k`;k|3T)(0y;T@r;iQwLFweR#0Cs8~3><6!4&^+15uifl`pSj`&*6CAh^84|^ zV){g7JBDVn;E(*goa10-^xX2z*Pu2S&_^7GQUh&1HerGt$Z=)$`0%e~{9o2+f3`!m z?uppx_eEp_mIKn65KWJ^Lf&~`NByzEuU=FroJAiAjqDUNl&CzN8|_q^0@+uid?+Ht zOKjery6IA(cQ$pzz%;P+FM^(hB(gT*Ny4|5M-_!Ab-1)g(gPJ2yBT1H_h%R?$I==O z+3Al7oG=LO?_m#L(_uNFC9B(S!^&vM_7qmSqYn)#TGFl6w2`vup9Sb;e8$pj7WHV6 zq;G%;e`994IO@m0S^bL0m3eU3u|7O=Q@;IZv17@B=C%PJ6y+TD^~4OQQ$G@ z$aXI6Tu-5?YZF7g5iRc(4Umz*R3~{~(OxzMC4|-QZ+a zS1Gr6ylA+d8cju-QASKZxb1R#z|YhAUME?RD-8M-DEIxr66k4bO1>| zv?r5rxl9D($lEeo4vA&j*oEDvpVQOrfYMxJliK}#*`e5isf@G2W!kS!TL}iec8o+i zurGIcGglEKLtVR;=M{J+wKkS6nUk^Um;%-y6emJUq*h}oY#&>C&0-9v*+%bXN5LXV zksb5}yE$Nl87bsX!dz>&na#n+&e1#+#uF47j1{QWm>M0tcvI4)HSLpmu%uwz&f<9t z|Ginekwc@6pXm39DzEd0b_G_~UIxtY7EojI+&*~dkJ-KQqubP>h;@Q>9b|Dm(&aKJ zQFy+`->xmr)g%`DGss}!6?Di7s)A;vkMX_nutu_e!7@#zo!(Z;Tpo>$E?xH%hV(aK zRURq~USGaytVIJ-n_BDD1GR+OHXeO3Fu9s?%*vY;mrK+KfzdR+SPZ*?=yIKLqcpd( zP0xEr^U^^9w>!qN%T(!iC{G2;g+0UYvVIu!7)Rm=;jlEd$@bOfFA3#TTuJuWgPU+| zFKrC?_J*dqE>PICwxbRYD>%g{oVJ5~zL5a}Lz1wWq5dUag{Rm-Ia}nf->p6&CEQ?4 zBj?6A5)BR8AN47%9I9V9>K(pr^4dnVimx4(MWrVFxS7Q43t=^LIm>Y}ba*tBa&-%~ zvY2qu{@h&#r73#He{GL03Rz#ZiJ`oCmnDWf0Dryq6P2t9M72m>TxyzPE*%;ZJn z58WuTo=Hc>DlAkMv%VakjLkQco*z&B6_)*-ktN+bzF+$0gVTN^g|X1u%5!-Te6e3Z zV0$6`=!TYZ{5?1a1hsQQ1;%DGa{rk!SI7Q8c_G6Hyt#)tvb0`;RF}ecq!Xe);0psB z0>2ZH?`g-<{{Y$M7*p9#VRN~6u+<#IHX?ua-EikEBvTP0s1;ew>6q7!<0N-bS9{|Z z#oXV}*A68}`4$~I1tC?2D6%9R5h&x>=$m2+gesA$U%tdAG44>?&eHI$yuI`Keh7K| zIw0T}&}&Wz)+c1RwYYQUtAeswye2bvJV8f8$@(6Ce&ur-NqjQ>dxfg}cbA4d39C*k z%?z!reTP^_#MRUCwV}jud)YQqe>9-ak6Twg%eJ|na_z`K64rjdx7&a9YkT&@xKjwa zzHTb*a*Kc;n*NcUaSDx?2hSS@N*1^)4owBb<4@${>zyb!gZer^I*;m49_t4dSL2H$ z&i8t1AHs*t0|g`gn?~v{E8u`^@~?DAaP+ z4wgmepHSrx=+<(W4C`#aXaXrf+-Pe{Dkn3JJC{e!V=|q|lYl=Z{w#%|X=~$qnSh5+ zcgq6I2K!Mu7pb-6dliAz?3L~a_--c!Fs?9lCJeMl*aU{R&bzo8EZ?-bIbpKBNX~7S zp@X@=F7uvq^l80YNB}Iy_H`UVHV+6yt7g&b$ zqgPgF*Uhp7KL0*jB6ALi_yQv$w0?j>Mt6%jJy;(m@+MA_U=T1ICpS5q?{JiRQ**Kac5%YaOrh!2da#p!KYnJW9k#^E?O{)im=7>(#N1X;p zrDpY3lOs!Fgof3K+#9db*jtpU<@3I6xQ_QRrIyD+#(N8R`T#2iy2UZUGndO|cA9>E zjmweR8yL)wG0ajFF5gelxNC_x64oDR*-}ZEgrU#a-F4zppT4)EK<$HWelTq+Uh>-C zonb1W@UV=JM>@ry!7Nzc+C|zCTl_H+7Ndr=wsjAAdHIQZ1k_q?EVFL!&}I=I+@MCyZO*m>i@GBjblc^uBB6s5%_Yup;CvI4C$^QVr3HOK!howi|B3;lL!f}SS)o)tv zD&PDdisQsnq1saDN&9f|p@$;JH=fSKif|XxiLxz;v&Qlh*^ae5VkK$dVN1fW4D8P` zO~ohe%N3||^QkY+i3s@Sp9DBU9t;-}j5Ag1S~ee!$MD8wNq+Y*ri78|m7e{g64+aKwgWNU3qHr3Te|VK4TyqcjW-|SzYv?=pQBt_rbep|`dPa9KbF(a-{=_B4fuTkk>=iYZmDB4c!N|8m4YBf9^ zu$@mdF1+xQ{c-$E3jGby>}cw8Jiku;H(5+D4Ds3kxXjUP{v{J#pV>2e7JL#30~?7n zP5Gk@{_7j6uoXiS-#e;xOM)8lHA3`22mh9Cmfko7IfOpiz;e#MH0U0!Ja-3uRTgL; zO*Z@Kp(Is9JpNYE0Y7~*wn**K2fai%Y&qBJcXL4%q_(4Xq};XJa__YB+gs3%v}Sn& zg65dO__Vp^-^O+zkw-tF>Q;aOc@M{grdMZtn_cW*3IE(u5au^9K~;D91ZM6C66}Z{ zuJX;&HR&oV76yEUbc(nCfvyD{DHMfmlp8vnz35j}=Of`ViB-BnrxNH)LIj;q!G)Y0-Yw;aw$IFk5VA`p0OFWP4Ph2{tM3ZBd_}1jmG^P8t9VxMpPOLir))XrX^H zeBsbrNR@>VEHM~ z%rxA|ZcZVhLK?jxv6}M4pUPyjd|DyaflP~&I%OYeK3sOZdSW;Felj7e)3nV|f?L83 zY1~oalF&K6mXfEUz;5@clm-QR2VOeM7*3P#Yess{Dp%8p$5*c9&_MCUGxnBP)PpR= zW4)${1?A=Fw6n~%FhQXroK%!#mT9ta=r^g#L%zTJ5j}Iq^L0g{nwg6>Sd~|n+b!Tt zjha8|bnB&`WNLzMbevKW<+-$N%dxd5h1;d!wl=-ySf`(-vauNK`M_cra&QrH+9hjG z-S4Rx+05FGmYR$ZI>*am9(fZU0O+?Jws14rd$fX38QYZWHNkN6^>5o5^|3{VjIjAe zhnQ}IEJv~*)Hmb%k1b*@Um&ZQ-7>1bKxDCH2WGYy$xxvtJd(n2TR7_KNn$OqCL;Y` zw9Ypq;Ou&E4K%fI48&D%43vK1Yr~<7t7GusilE_2XdB~53fq24DKCz_eGykzmo(S7 zb#~Km`{eetA*Q6Ut&s{DwY0b>^$TJcFg3ou4NZILGN72{f!sA3Nz8Dv@}1FiewW8~ zg={al3>MkHZ6qMxa{+r#T+V3zc&EQKFc1@QEJ)P!woxKINp zz?`|h@?h1W_;C-lcG%^0iDes#uYJwSM{Z*LReZk>&_8^AHv<45? zGRIdVr7B#U{%f*2mevrfn(xD*NO;2~^v037(Pc!=b^2yjg%mSHMqc$x>u)GN$bG3H zDc{`w%m>o??3u}#dCSeIp)2yW(oag29yeBEiJ)BKcV>>ubewe6bWu&N>4dwH>isvC zct6r|$Oi#ZCEqt4n&h~QPo%zEldTd{#`Gj^Pb+d2X{cc6Hp^7_aTivVv$_i#4Cbt*wzwjw^b*)( zpVa+q2Em$1QLo$O^U(xN%dHKgcYt#ltLyxHmrBq?HQ4lQ`5`Y%t90t`mS6f9+-}U9 zS~?V;I{7w6vuAB~dGtch%?#_bT-78|+7I>S?$>B4(&jxPABYZJh=x13@2d?Q)iRdM zetd6raD1+5?L55#^#u4Q@})^N(wPaCDJsHEhcsJd@-~ zpPrS;jgEPIXgg>dnVy#{qqdqwTe6XBvKQG45x>0lIveK{9CiNu^1)B@n7w${(y#ec z#qA)t%Vnu!m;biH>J-cu1>?5Ze&X_AN=0PE09kxm7`5w?uEJg2bNbe(h-l*+|IEyJ z=Y52=+m7NlQ6E9;@@C9Q!=TT>7_E+|4OJh zL6J6%(eapeSw*>low%$o+D{nCT5vJ8A=&rAFER1UCwu~JH{Jzrl`8eOP3JzyuRn+w4i+c@ru&1s8{U}B}P`{?GiTYB& zL3}SdPcDxzI9Ic; zKVVCU>-c;W!T1DrHGtXYQCB7vgLvP1I`}=eTI+ZpTuB6Fy3Mb4Y4$I;aN%5z=r@q; zAVDLN`*#;0Ix7sf$(M5>L3U2l1jetc2%W`Xbm%X&(ZskunQliv=c+R7!@K_A6xklr zCf0F%K-^24yFPva3yz0!GP}fD5V2^qR(REWbZ!h7-rsJ-nj)1f(uAO_+{ETTxz3N0 zoE?p=D7rfFK^hiLPknwp-6cKvjiS1JF!CGeJn83SsT_MACj*kE>rFkYsz=9_t>uR~ zd#ByWx4l9vn}JftEe&m3vqu7~-0S_etKf%pG=~L?SS83unA;9F;x$G7TV1!8O~#dH zJ|FNS#4?0*I~seuKzxi!){A&~7W+`}sQlVpYN;UWmnORG{A5g*k4Lyf*n|DYp|# zev^B}|O}%95coqqw zo@=u2YTbQiL;*xvoSO{pd5=6moK53JY= zipD1I1~0%TAGi+19rUOcZ;aAC3;h;RPIp~kPZSj#0uFeV--|if*&CYmzlc|jY_$#^ zD7~*J8u9&H?e6>Q+V?Lzk2iX=*g5!~rpi#khN8<(+8e79%lPiYTNyK^5w!AZnKz?L zVLP8^taoTA1@br8JIKoGPIRHXSautr^{AkwiZ`cXm7-VpA~q2tdP7#s(qeUadVFyT zM8QPPMc_pBXMDl}wzo7ES_gOTc#6L>HvsJgl8&3L_rPeo<7PUo!9_DtmJB0Vk%5nI z)0!-FP(bo`)5k}uJ;F)gnt?J?jdep14o;U zd);)Z4&E>Cu-T*#z3|b4gG7ylaF?ZEd`*(og?XX4yEGRyNpq6jE_dGOpqdl2Dkk?t z`MXliXwtc*HRHhswZoz2;-y3J-r~_GshHZ5a4kmcpiaN|p$EXlc+O;r%&0HJUJEh5 zKKx;CW%|@kad`X2_D#y82HhVT`qrP74G1zVI(%xoyj%@vqd77bW(3DnPL_<^uZ}gw zdgiRQA2vE8R*@{vPAD7b62n|P_)nVAP7POyl59@YM@nvv#6=fnDm_&Gt~#r)dLp~OoEByrBDx?F*?1)Q-kV0Xa~ z>GinvH?50E@P&tw1nr){js`#bg5|magr!|+PFKXfAuyq=`g3Z2dJpDseaiWxHo3={_cWyO8i0K$K$*-7ggzr%k+Sh`sX`7Lrc0W zPJy>R6)E&@h4*po+nNJC7RKawJO(J;H=Qc*8XL_Al+x&(T;|@6h{LKP+<90|KGcXY zA*BE3L#gKmeQ zths1(#E$PNZ?Mz?yKKGmejFrA6gbmy?1iF2H6UE6u8+rrr!DdT0kmITFC(Z+8H$AY zISd@oW7EBuF#LwJXG}Z>$Olg}F{U~ccb7`>+cC|`5cBONdAS$ShPXrIBEuRJx%*3$ ziAZTd@mWV+uay1$)62)gwL5}SkP4$|$AD2+_w<1@0V7IC=Sl?Z2Df`vqpCM?NB3IJ zC+U^TeU70NOzFZ@lvC#Wi_-D(?{CDMA$j1+FMSDCb_aH+SATq|wwbuOv>%=Ve`q(I z^?kM)D@BOP3~X7`_ULOW@>YU8LA@BD@N^V}Sc>Jmec}DM zti9ZwMPUB86yBsbtp5v6#}4S;Wk(O)&4nn};F1+!xE0|;^bXy+k=#84Ym%*Z_o-}a ze@g0ic$u4Ia{woIhvIffwT^ujiN;v}u%9Ib;(IvP7 zR5D|m15bTI&n=ST2^+&<9xmDZdq==-(p9Oh**SiX!>`zt_gtNbKc3~cmmO4&FW0b3 zv}e$t?G;hZX!{kEXedR#bkf;Hu6YmSCz7;y<+sPz%^r(@59LPka5bb>St}f3&YfaA z==Lq^d)QFWplY&R<@hMHW-a)XB%;PM{HZ+NV?AN-?Ee`mH+crBji7F%*G%q3@VcbWBy~AJm>KZy5akb2Vtvf8z$sDaheyS5wKD1f z2Q}!1jwfOBE&Gciu#j*YOnY-TfNU%!x*{Ja$N4*LNeR`aPRqayz-9z=ZrW|}Mq?%L zFQPM>wwHqABOH-{XB~_-odt$(uDEkBDx$Bt2++N^a-hdZM5E@2b{|t7q5IUpD-A1< zj@|SDPQ9%PZxHi(h~;djP?#g!jxwyOmSt5bsH147BVx9&jzYt5i)Y%y`w)@vFZAc2 zt41aLM!4CVI(TcF>yu+c=QC={dczoAej>Fw-jk^D%Xsu9X-CG`{f75--68T-hwk`& z)$I?#*%Lbar0vHgb`lUyS(js0cJqk}%48azT>JI-95ieRwZC#NGH4Ltz4o2327rAE~%wS*C1UVet4X7K| zlUH?w29K_^O_JE{0Lnvo+s%NMoKtrDz+tGdJ>j&rR}H#Scbc5=g| zu(S36f@G{3&Ecc=OS(z_3n^#!$hOQ|0$*MXQptnSQOzQO^z*(6ypHNV9=YC zAebuXJgWaH@B4FrSX)MGda~8g9iPu&E7vvX>HT)cz-g_KwuQ>gT?ZEh41M3VX|yUf3G(RCc@g4? z@do6G4-)i8Gjt_%SZifm@j<633jasic&5%cVn4OtZq-x#H`?}LZ~rw;&r-YLz?fEsQs^%T)&V!qVEw6 z!?NOo-w}6fx?Y!hC0c@eOFqk6mCJ=s#9*%r%Dr82n$tf9(ww7?uTREehdu*Axcy>p z@>!>y3P!kn)S(eZ)gazCt;1hos^Us^TF}^aoeh@^4{VcvRI_&Y-u1v~y0W19_gH_D z0`^-!Nqdp@XfD5UpQadb;J{d-g@}0EJB-B?b7>!@Rvy$6r&R@jdBkFsomHvsLY!w4 z3iM?mDq(OGyp-;>yD_fkl_(A;q^|E}4N?nQzo*p9!gg6vvr#96Tq0Ly_KAIw?+(kc_Vq zKU7xtILDhB%4Yq@xZRbBhaKV1s8;g9kG-wqaqE&z(ENLpGO#REMSfr3BnjyMd?PfY zU4r%FuN;h_&rz@^cq1>d&C_32dHc;h38X05i}KsuFiJoLbh)PH`jDvc#0SSQmHtJ& zF4XXf1-Q?ra-Q8(Koh7KnYRpxY+Wj8FSIyqRy%rRt<+NI`+=%>BRho1e2;Wd#aZ8R zmB_x>0J7=e(&5Y>0#PQvz#0c{jBX@j21@S?&@#q*u$fs8PcH@9Y`m#oenzQ%@T1`+ z>pPH{A#dl zM|#+VaPzCUwY@H_*#OR`j9docZFOS1;=(Ktsd>->MJJ^P&gk?yPHsln`1pPkg3e=S zV=f?8{Jl3EIsLq<%((XXF+;k=w(oT@f}V??kN4GYxq{l&G&^%uf{x;yZv&L1ma^x* z#lvYndUJs{tiK(gy{!Ql_@P)y&%D=Yb`|Pl(2{kOhS0WTJkRDq z_Wpq50jj;2ynm&&(RWk1tXXFEa0E-(A3fkzd!pLf=&pf|nXJjoM*D4i;~!sOj2G%U zGQ;?lDe{x- zi}^|oeSxeQ-#@yPv-RUm+K)&@4(ta#QR~)Azp)~$gXW>+g1S}B2LOqQ0UOHOj_bgn zmtk47y~};>d4(tWBgsC|KCEk4xrNPNx1m0Us`WPuCK0~cC~9H$@R<_}+DkJ-$4I{@ zYJIXE6yDnkCKkKJtA7*UUQZF3!iPqXab{Z@`x%Zw4}@+?#9QlmDA&*Z5v+eCrdx2> zjar(aceZ*))~YTcVnLbb?vjV}DT$3P@z$?~_4TF$<$$Nzk;tgjf-(2+O zWb5~?Rw%KswuO{boyh5O*!yY=gbymnASe7nZ?gSqMLrLU2`@mxwWWI8%0km2L!prR z<+}m^V*r}gD|}f#T-yCwo-tyEpHtkX8y@5=zpxB_$FiUraydy&RVYiGsm=TftN3lX z>KC=zI`MCcqsI=0YU{jxxFul63z>`igGWD#tiL|++VdY>3g#mXsI>5db+kL$WBX5^ z-WuOKR^97X1Zy<%NNk-t|AQ$Wo))h=+X{c@n~p7E)h*4OM6{&cGIlg6!mA{;w>L|g zRF0^yAsxioRPO>8^Z*P!u-aXd^uT)mr7BESd2hS6cWIowDtg=P{D0<$d)ShGW+D%O z5BKEoRat6;>Y&x0?Ya%dpjV36HT*?352BNKu%&1pm3DR>W-~$8d7Vuqwo5iaeIVf= z&p$C$2j^S2+#l}QsblGMLO&U7vAqQ_g3uTs@YlbCIM>~Z#3pRa(IzQsvE(s{UAar5UE zfKD|%Ojx5!h9gd2oK2~il}kQWl~Y0AIk&?c!k>(|8NaD?0^-(FNhNFZsr;W0-mbBp zW^7!l4Y3GPmeq2Gb?NK>Xxm(fZypzmYRja5R$dzSK3{vExiQN70?3qANk~5>m~qt9 zC800&bX{9}@a;lydAiPlAi4K1Guvb{M@)Ybn~DK+QUV0)qPT3>hpH4CEFR`A04Qe? zN~6f>e5-Atn!jDNVCB4jkIT&EI*7wt1q4=G_^oshc_aM=;@qHX%!U8h_ln^JGjU$Z zcsyhDi|&z_v%kHImL03!P&{;x74FXyjwN$IB;jemt3O=vA(Z7LH`@>$m4G0QL?K3MpoQ)5d@I!qp70c_DH zdY-3h%cDX*z3{u|%wH^4;gyj*mYnp={R$#=8IKv;GRtSgKasi zp|?QdCUc7ayp*o90S6zsYEp&HG8pbwuRxuvj;;oeZETNNCHA_;t>gfvIiVY8aLnf? zr#@JZc!Y67TM&W8&~}cmQ#`ELp?+_*rf$*7W~7K??yh$YszWb56iuew^dR^dy!`>Q zA7t^jL#B+b9|5V1c>w_P1Qv~|pc>9vhA0n^Cd9B;(VWNOKzg}Dp%CfGssRq|iJi=f zy_}|}?_9;Il+m|7Ss!f`iT1uZJ^ZBHr(!pk5|%i#VO!pdyf;1a{g2{uNdptTf1Bo! zn0Nv4I?w4MBG305!3l6V02YSI@_S6RBs3Ta>8fu5Z2m__BX_JSqOzzgza51RIAhDJrcL zpbYS73|}@Ff{-2n%Yu?92fn52l4B}RtH@lhbiRoT4Sk?hx#qr{U1Nxjftq^eu|O@j zVAd1j8n!RP#x)ThJ1AfmUe=53*XY0++D{BLivI_}e@Bk)JBx=C$i6)J+kr0FPV6I@ zBw1hQt{a`cbo(*1ZyB#m3OFoo5U5mTk&p1La~A-vAtTg8O*=K3*^$+{+#XX`+lZ4E zw_B?PP(CE(WKc-$t@=)^K{{1ND}VzsbzRo)5Uc%{GoI>w&DGL#+9>Y3s}V$gdfVWPx`atzN9h zEgAJS%{vEF3x5%qpk``p^(SBbBWhw!{(1p|qXtY<4o_ZLEV?|96BAY2EdymImRc;_ z)94cogQZw0JT*5+QVT0h22<`6iUYhlpAh#i6WH!uNEEfsNY<7q>!Y4wMRq1I>ha?8 zWf?PA)hrNPCVkDmLh|q7@>lc(rX3LgCWf>Ry4r1%nfsHFmVLB3kr!G88=W^&NuBrb72g#tOguL_tDo+lm8Pxu5HkErIa`ILNV z59T*Y0YXKPjdf%Qp_=9^7t+O~%POLet(RKuMaHji0^YfnRQMGizxi$4c zR;6dg+Y%;(H)lS5oYRj|&mUH`t8u^varGR)$kSLidx2E=ALkuC1o!*?5vl)SsdgzQ zjJ0dkN?l`~gQYBe_=2@gmN?GfOaVfRP{LNFun|jqu}6RQsw5|5s_Rgt*;B0)g8LZT ze(qv~Gk;5cVALWfq=gkQ8jWzhy_`DJQDH%he&dOl&a2@3cPNR!;uo*`9AonN=FQuB z)sNsnN6HY4bOY5?zUuagUBdG=0dx@JqT>|FKlWa`xlaYIX?x62Xu;zONPwet*iDq0(kti|LhQV^b=7E}(8F69^Z0lo=?WRV&jgSJLM`Os>O6O2etYheM z>=4hO4-p?$4<0Xh8N577M`I^-F7h1})@pwx*@R$CQ&D+AV`5m;V?;3%9d$=K7jdOY-#kh7Lel94!RH(#zixpKdf4OXn61X5Q2;nRdK7zFOh020WCZdXyRu6RLh#EW7s~t1?kyK33s*vvOU<)?2<~4Da*gFt z`UQ(NLvXWY$FI`1&y<-`1aPQrUmmvqa)|}RqPuhAgYFQ*j@$E8Z=17Ztg8PVa!#2q z2me%s|D8E)x5*o;#^=+zxCpm8Cq!C>O0!E-d`l5MrPL;7ioxYG5b0#i0U_0es=gzrc%0Y6$9?WF8FV33xK+}m2U?VgY5lA)3PYmlGJ@nc_Z|_u zYwz0sE#vs_Dd-r7Z(7AEzxSA?qB`^!2cX9w@Uc~-vhyI2nb8GVkF%?%z7y0xdJO0l zHV_#BN+6sXev%w(7JwSpiMD=@e?-AY19n7J9J*}{O08Ci2%D`$AZ^egc=J} zxsFG|Q{bvIUP++0AF}^@-M@WHJkJbz+kQxd7|b4=RoR@h=T2-XVa5!PF=7)nFv>xXoPVGRQO5w0_{=5Ii?4PZXJItMK`ACy{&?8wpIn&+Zyrf zrw5jvh*~yt9tnPKHDB)Ahs8?m@Qi5wgasZp`!UnZ*3Tx7=dmB|6w9pw$;XG#8|S*O zS&irY&M8vCcdt-r>`jEKsmn9|*0*%N)~PI#WF@S^wclAn?yWqAIC7=Bt7^u0de3cd zV3DU{hMLkDQBgfrRc9((DcRJWoRQ~l<(jMHBhwfVS&ew4F7(rp44mL2n`B1XkBwM2 zcuee!3?6asx&bUy7+^n6syOKLz4k%BM5ylybA7(m^o8CsUENgO$eNt%kw*w;90rba zoHHwQs`nSc*Dr`|QVRkq<~Bz=kwERvF_eF%Pu5W9tUIC7|Dg)#F34x(lK+=)nqK6* z3fOb2RM!{;BJ2#?v zJEQ=tx@L*^1f*>9y7x?0hbIppz3Rj)#&^pn?svFa)4fg^-^KeTB+*razX9jJrxHJ; za#6W)mc+Ajt7u9_%QgCTRIhLM-jM>lBAdFtntIpoHFD%#I5Lc`I4!#2NSw@z@q&$ zQ*3PCRw@XClZ{N~E!rucj$cvIeI8>H^0h^zD}mO+Qn=s|`1IG-l)Atg-fHRUvJ2fW z1333=w03Ugk3Pa(Mw49}-`j3`{5*k~Ki4cmnfK2kRit2JoU*it?0MNPj)kR_N8Iyy zAC#~a$d6`!LbOf%E>@$`G&cZd?l9Z=yIHwH->Cu1uvxqOBt-Bx{R|7FO=1J8LF8xg zq8q^E@>vDtkYbrzH_-i%>C8Y_ea;9?zRi}3yF~-56U5t6KS;SRKAr8rlrIQTIYE@E zqzzKkVnR9erRq;`&cbZ5Je+X*V)o(G(nHFyVv>xSX5+zdi27YQVd@QtW40KV`zI_o z{bZ8*?L1&Ll-eqU%BpyWB)d)z*_==6&f)bz2K9sl|D&G$KRJvMWRkBPTgD00o($pz z*mJnM||AewzZy|z5_{VQKu$`#e9v9cJ=1lg*QJPeX+9s6{|sT zss8OtFdR8y;F$CC)XXi9nf}IUmM&es;Pm`<>9U^?m*F{6yq++s&El2v{j2e5ifuVU zQqFPPW^k3ej^pr5>{V0{+^VK5Huk3)c$Ss?%W@ozoSbX<&>U@v?Ir_`M(VC|M{lt&dEm(oDGFe z7V5uy=bUqIP+eb8-7<>;L)T9_^AtzuuAIswYv6dvxr@@ z5zmpg>To@~KBz7@e4%RXYCL#q*yi%N<|6jXoB=+U@g?kE`>qgjcAKwH-YiTmx0Ga4 z5**lBi~0I4FZ*@saMi`^S8i7_?6!VZufCOGMo`h~l~>z5IkAtpP?!8E)wx!Fx4EDZ zg}J(h0$0?0KJs#xuFW_)+FQbs=p!-26x)`s|&(;Ql#;Xym8dVqvFh zmk;sBbT}>dspq&NA_h%|lX+jJL2G=y3RlaGzqm(Kn{d2cbo6-y?kdz!K4#kV`V&^8 zav}Acy-k94UeV}(I+Fk5K0XgervG62H5XY}ISpiHMDa5Zf>+oYj;8;)BKhBbq5Cd` zbz{!5A)rO{r&T!fHqX-^$ou|$uI#6T%=hD;*nl53q!xeq8K*G=Ca{p%WP6$wauV?G z<>;Th^@3S1-TvQ@{%58CVd;Mn_dj0x|0h-MN9R<|0bGAGK^ Date: Fri, 16 Apr 2021 10:29:38 +0800 Subject: [PATCH 247/270] [ci skip][AUTO]: updating jsbinding automatically: 2913d867 (#3415) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 1 + 1 file changed, 1 insertion(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index b6bb8bdc0d..415e11e140 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -1011,6 +1011,7 @@ "docs/imgs/auto-fix.gif", "docs/imgs/auto-format.gif", "docs/imgs/clangd.png", + "docs/imgs/command-runner.png", "docs/imgs/compile_commands.png", "docs/imgs/extensions.png", "docs/imgs/format.png", From 5ac34a81fa96f5a41f92aaaef0474d27f7983794 Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Fri, 16 Apr 2021 10:59:01 +0800 Subject: [PATCH 248/270] treat gles2 & android warning as error (#3412) --- native/CMakeLists.txt | 104 +++++++++++++++++++++--------------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index d64425d893..8a57791d6c 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -232,68 +232,68 @@ if(USE_AUDIO) ) elseif(ANDROID) cocos_source_files( - NO_WERROR cocos/audio/android/AssetFd.cpp + cocos/audio/android/AssetFd.cpp cocos/audio/android/AssetFd.h cocos/audio/android/audio.h cocos/audio/android/AudioBufferProvider.h - NO_WERROR cocos/audio/android/AudioDecoder.cpp + cocos/audio/android/AudioDecoder.cpp cocos/audio/android/AudioDecoder.h - NO_WERROR cocos/audio/android/AudioDecoderMp3.cpp + cocos/audio/android/AudioDecoderMp3.cpp cocos/audio/android/AudioDecoderMp3.h - NO_WERROR cocos/audio/android/AudioDecoderOgg.cpp + cocos/audio/android/AudioDecoderOgg.cpp cocos/audio/android/AudioDecoderOgg.h - NO_WERROR cocos/audio/android/AudioDecoderProvider.cpp + cocos/audio/android/AudioDecoderProvider.cpp cocos/audio/android/AudioDecoderProvider.h - NO_WERROR cocos/audio/android/AudioDecoderSLES.cpp + cocos/audio/android/AudioDecoderSLES.cpp cocos/audio/android/AudioDecoderSLES.h - NO_WERROR cocos/audio/android/AudioDecoderWav.cpp + cocos/audio/android/AudioDecoderWav.cpp cocos/audio/android/AudioDecoderWav.h - NO_WERROR cocos/audio/android/AudioEngine-inl.cpp + cocos/audio/android/AudioEngine-inl.cpp cocos/audio/android/AudioEngine-inl.h - NO_WERROR cocos/audio/android/AudioMixer.cpp + cocos/audio/android/AudioMixer.cpp cocos/audio/android/AudioMixer.h - NO_WERROR cocos/audio/android/AudioMixerController.cpp + cocos/audio/android/AudioMixerController.cpp cocos/audio/android/AudioMixerController.h cocos/audio/android/AudioMixerOps.h - NO_WERROR cocos/audio/android/AudioPlayerProvider.cpp + cocos/audio/android/AudioPlayerProvider.cpp cocos/audio/android/AudioPlayerProvider.h - NO_WERROR cocos/audio/android/AudioResampler.cpp + cocos/audio/android/AudioResampler.cpp cocos/audio/android/AudioResampler.h - NO_WERROR cocos/audio/android/AudioResamplerCubic.cpp + cocos/audio/android/AudioResamplerCubic.cpp cocos/audio/android/AudioResamplerCubic.h cocos/audio/android/AudioResamplerPublic.h - NO_WERROR cocos/audio/android/audio_utils/format.c + cocos/audio/android/audio_utils/format.c cocos/audio/android/audio_utils/include/audio_utils/format.h cocos/audio/android/audio_utils/include/audio_utils/minifloat.h cocos/audio/android/audio_utils/include/audio_utils/primitives.h - NO_WERROR cocos/audio/android/audio_utils/minifloat.cpp - NO_WERROR cocos/audio/android/audio_utils/primitives.c + cocos/audio/android/audio_utils/minifloat.cpp + cocos/audio/android/audio_utils/primitives.c cocos/audio/android/audio_utils/private/private.h cocos/audio/android/cutils/bitops.h cocos/audio/android/cutils/log.h cocos/audio/android/IAudioPlayer.h cocos/audio/android/ICallerThreadUtils.h cocos/audio/android/IVolumeProvider.h - NO_WERROR cocos/audio/android/mp3reader.cpp + cocos/audio/android/mp3reader.cpp cocos/audio/android/mp3reader.h cocos/audio/android/OpenSLHelper.h - NO_WERROR cocos/audio/android/PcmAudioPlayer.cpp + cocos/audio/android/PcmAudioPlayer.cpp cocos/audio/android/PcmAudioPlayer.h - NO_WERROR cocos/audio/android/PcmAudioService.cpp + cocos/audio/android/PcmAudioService.cpp cocos/audio/android/PcmAudioService.h - NO_WERROR cocos/audio/android/PcmBufferProvider.cpp + cocos/audio/android/PcmBufferProvider.cpp cocos/audio/android/PcmBufferProvider.h - NO_WERROR cocos/audio/android/PcmData.cpp + cocos/audio/android/PcmData.cpp cocos/audio/android/PcmData.h - NO_WERROR cocos/audio/android/tinysndfile.cpp + cocos/audio/android/tinysndfile.cpp cocos/audio/android/tinysndfile.h - NO_WERROR cocos/audio/android/Track.cpp + cocos/audio/android/Track.cpp cocos/audio/android/Track.h - NO_WERROR cocos/audio/android/UrlAudioPlayer.cpp + cocos/audio/android/UrlAudioPlayer.cpp cocos/audio/android/UrlAudioPlayer.h cocos/audio/android/utils/Compat.h cocos/audio/android/utils/Errors.h - NO_WERROR cocos/audio/android/utils/Utils.cpp + cocos/audio/android/utils/Utils.cpp cocos/audio/android/utils/Utils.h ) elseif(APPLE) @@ -805,8 +805,8 @@ cocos_source_files( if(CC_USE_GLES2 OR CC_USE_GLES3) cocos_source_files( cocos/renderer/gfx-gles-common/GLESCommandPool.h - NO_WERROR cocos/renderer/gfx-gles-common/eglw.cpp - NO_WERROR cocos/renderer/gfx-gles-common/gles2w.cpp + cocos/renderer/gfx-gles-common/eglw.cpp + cocos/renderer/gfx-gles-common/gles2w.cpp cocos/renderer/gfx-gles-common/gles3w.cpp ) endif() @@ -814,42 +814,42 @@ endif() if(CC_USE_GLES2) cocos_source_files( cocos/renderer/gfx-gles2/GFXGLES2.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Buffer.cpp + cocos/renderer/gfx-gles2/GLES2Buffer.cpp cocos/renderer/gfx-gles2/GLES2Buffer.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp + cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp cocos/renderer/gfx-gles2/GLES2CommandBuffer.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Commands.cpp + cocos/renderer/gfx-gles2/GLES2Commands.cpp cocos/renderer/gfx-gles2/GLES2Commands.h cocos/renderer/gfx-gles2/GLES2Context.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Context.cpp - NO_WERROR cocos/renderer/gfx-gles2/GLES2Device.cpp + cocos/renderer/gfx-gles2/GLES2Context.cpp + cocos/renderer/gfx-gles2/GLES2Device.cpp cocos/renderer/gfx-gles2/GLES2Device.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp + cocos/renderer/gfx-gles2/GLES2Framebuffer.cpp cocos/renderer/gfx-gles2/GLES2Framebuffer.h cocos/renderer/gfx-gles2/GLES2GPUObjects.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp + cocos/renderer/gfx-gles2/GLES2InputAssembler.cpp cocos/renderer/gfx-gles2/GLES2InputAssembler.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp + cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp cocos/renderer/gfx-gles2/GLES2DescriptorSet.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp + cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp + cocos/renderer/gfx-gles2/GLES2PipelineLayout.cpp cocos/renderer/gfx-gles2/GLES2PipelineLayout.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2PipelineState.cpp + cocos/renderer/gfx-gles2/GLES2PipelineState.cpp cocos/renderer/gfx-gles2/GLES2PipelineState.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp + cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.cpp cocos/renderer/gfx-gles2/GLES2PrimaryCommandBuffer.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Queue.cpp + cocos/renderer/gfx-gles2/GLES2Queue.cpp cocos/renderer/gfx-gles2/GLES2Queue.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2RenderPass.cpp + cocos/renderer/gfx-gles2/GLES2RenderPass.cpp cocos/renderer/gfx-gles2/GLES2RenderPass.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Sampler.cpp + cocos/renderer/gfx-gles2/GLES2Sampler.cpp cocos/renderer/gfx-gles2/GLES2Sampler.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Shader.cpp + cocos/renderer/gfx-gles2/GLES2Shader.cpp cocos/renderer/gfx-gles2/GLES2Shader.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Std.cpp + cocos/renderer/gfx-gles2/GLES2Std.cpp cocos/renderer/gfx-gles2/GLES2Std.h - NO_WERROR cocos/renderer/gfx-gles2/GLES2Texture.cpp + cocos/renderer/gfx-gles2/GLES2Texture.cpp cocos/renderer/gfx-gles2/GLES2Texture.h cocos/renderer/gfx-gles2/GLES2Wrangler.h ) @@ -860,7 +860,7 @@ if(CC_USE_GLES2) ) else() cocos_source_files( - NO_WERROR cocos/renderer/gfx-gles2/GLES2Wrangler.cpp + cocos/renderer/gfx-gles2/GLES2Wrangler.cpp ) endif() if(IOS) @@ -1434,8 +1434,8 @@ endif() if(ANDROID) cocos_source_files( - NO_WERROR cocos/bindings/manual/jsb_platform_android.cpp - NO_WERROR cocos/bindings/manual/JavaScriptJavaBridge.cpp + cocos/bindings/manual/jsb_platform_android.cpp + cocos/bindings/manual/JavaScriptJavaBridge.cpp cocos/bindings/manual/JavaScriptJavaBridge.h ) elseif(APPLE) @@ -1549,7 +1549,7 @@ cocos_source_files( if(ANDROID) cocos_source_files( - NO_WERROR cocos/storage/local-storage/LocalStorage-android.cpp + cocos/storage/local-storage/LocalStorage-android.cpp ) endif() @@ -1579,17 +1579,17 @@ endif() if(ANDROID) if(USE_EDIT_BOX) cocos_source_files( - NO_WERROR cocos/ui/edit-box/EditBox-android.cpp + cocos/ui/edit-box/EditBox-android.cpp ) endif() if(USE_VIDEO) cocos_source_files( - NO_WERROR cocos/ui/videoplayer/VideoPlayer-android.cpp + cocos/ui/videoplayer/VideoPlayer-android.cpp ) endif() if(USE_WEBVIEW) cocos_source_files( - NO_WERROR cocos/ui/webview/WebViewImpl-android.cpp + cocos/ui/webview/WebViewImpl-android.cpp ) endif() elseif(MACOSX) From f62a4e16ae9830f6307c124c0bfef02da57efff0 Mon Sep 17 00:00:00 2001 From: troublemaker52025 Date: Fri, 16 Apr 2021 01:45:31 -0500 Subject: [PATCH 249/270] fix lightingQueue memory leak for v3.1 (#3413) * fix lightingQueue memory leak for v3.1 * fix ci error --- .../pipeline/RenderAdditiveLightQueue.cpp | 48 ++++++------------- .../pipeline/RenderAdditiveLightQueue.h | 10 ++-- 2 files changed, 18 insertions(+), 40 deletions(-) diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index 0804cfe49c..76b7a28b38 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -47,7 +47,7 @@ namespace cc { namespace pipeline { -RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _pipeline(static_cast(pipeline)), +RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _pipeline(dynamic_cast(pipeline)), _instancedQueue(CC_NEW(RenderInstancedQueue)), _batchedQueue(CC_NEW(RenderBatchedQueue)) { auto * device = gfx::Device::getInstance(); @@ -64,20 +64,22 @@ RenderAdditiveLightQueue::RenderAdditiveLightQueue(RenderPipeline *pipeline) : _ _lightBufferData.resize(_lightBufferElementCount * _lightBufferCount); _dynamicOffsets.resize(1, 0); - gfx::SamplerInfo info{ + const gfx::SamplerInfo info{ gfx::Filter::LINEAR, gfx::Filter::LINEAR, gfx::Filter::NONE, gfx::Address::CLAMP, gfx::Address::CLAMP, gfx::Address::CLAMP, + {}, + {}, + {}, + {}, }; const auto shadowMapSamplerHash = SamplerLib::genSamplerHash(info); _sampler = SamplerLib::getSampler(shadowMapSamplerHash); - _phaseID = getPhaseID("forward-add"); - _globalUBO.fill(0.F); _shadowUBO.fill(0.F); } @@ -117,7 +119,7 @@ void RenderAdditiveLightQueue::recordCommandBuffer(gfx::Device *device, gfx::Ren } } -void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::CommandBuffer *cmdBufferer) { +void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { static vector lightPassIndices; clear(); @@ -126,8 +128,8 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm if (_validLights.empty()) return; - updateUBOs(camera, cmdBufferer); - updateLightDescriptorSet(camera, cmdBufferer); + updateUBOs(camera, cmdBuffer); + updateLightDescriptorSet(camera, cmdBuffer); const auto &renderObjects = _pipeline->getPipelineSceneData()->getRenderObjects(); for (const auto &renderObject : renderObjects) { @@ -158,14 +160,13 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm addRenderQueue(pass, subModel, model, lightPassIdx); } } - _instancedQueue->uploadBuffers(cmdBufferer); - _batchedQueue->uploadBuffers(cmdBufferer); + _instancedQueue->uploadBuffers(cmdBuffer); + _batchedQueue->uploadBuffers(cmdBuffer); } void RenderAdditiveLightQueue::destroy() { for (auto &pair : _descriptorSetMap) { auto *descriptorSet = pair.second; - descriptorSet->getBuffer(UBOGlobal::BINDING)->destroy(); descriptorSet->getBuffer(UBOShadow::BINDING)->destroy(); descriptorSet->getSampler(SHADOWMAP::BINDING)->destroy(); descriptorSet->getTexture(SHADOWMAP::BINDING)->destroy(); @@ -343,12 +344,8 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf descriptorSet->bindTexture(SHADOWMAP::BINDING, _pipeline->getDefaultTexture()); descriptorSet->update(); - _globalUBO.fill(0.0F); _shadowUBO.fill(0.0F); - PipelineUBO::updateGlobalUBOView(_pipeline, _globalUBO); - PipelineUBO::updateCameraUBOView(_pipeline, _cameraUBO, camera, camera->getWindow()->hasOffScreenAttachments); - switch (light->getType()) { case LightType::SPOT: { // update planar PROJ @@ -387,13 +384,12 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf } // Reserve sphere light shadow interface } break; - default:; + default: + break; } descriptorSet->update(); cmdBuffer->updateBuffer(descriptorSet->getBuffer(UBOShadow::BINDING), _shadowUBO.data(), UBOShadow::SIZE); - cmdBuffer->updateBuffer(descriptorSet->getBuffer(UBOGlobal::BINDING), _globalUBO.data(), UBOGlobal::SIZE); - cmdBuffer->updateBuffer(descriptorSet->getBuffer(UBOCamera::BINDING), _cameraUBO.data(), UBOCamera::SIZE); } } @@ -425,23 +421,9 @@ gfx::DescriptorSet *RenderAdditiveLightQueue::getOrCreateDescriptorSet(const Lig auto * device = gfx::Device::getInstance(); gfx::DescriptorSet *descriptorSet = device->createDescriptorSet({_pipeline->getDescriptorSetLayout()}); - auto *globalUBO = device->createBuffer({ - gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, - UBOGlobal::SIZE, - UBOGlobal::SIZE, - gfx::BufferFlagBit::NONE, - }); - descriptorSet->bindBuffer(UBOGlobal::BINDING, globalUBO); + descriptorSet->bindBuffer(UBOGlobal::BINDING, _pipeline->getDescriptorSet()->getBuffer(UBOGlobal::BINDING)); - auto *cameraUBO = device->createBuffer({ - gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, - UBOCamera::SIZE, - UBOCamera::SIZE, - gfx::BufferFlagBit::NONE, - }); - descriptorSet->bindBuffer(UBOCamera::BINDING, cameraUBO); + descriptorSet->bindBuffer(UBOCamera::BINDING, _pipeline->getDescriptorSet()->getBuffer(UBOCamera::BINDING)); auto *shadowUBO = device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h index 1859c4e2db..1f7141ab46 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.h @@ -66,11 +66,9 @@ private: void gatherValidLights(const Camera *camera); void addRenderQueue(const PassView *pass, const SubModelView *subModel, const ModelView *model, uint lightPassIdx); void updateUBOs(const Camera *camera, gfx::CommandBuffer *cmdBuffer); - void updateCameraUBO(const Camera *camera, gfx::CommandBuffer *cmdBuffer, bool hasOffScreenAttachments); void updateLightDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer); - void updateGlobalDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer); bool getLightPassIndex(const ModelView *model, vector *lightPassIndices) const; - gfx::DescriptorSet *getOrCreateDescriptorSet(const Light *); + gfx::DescriptorSet *getOrCreateDescriptorSet(const Light *light); ForwardPipeline * _pipeline = nullptr; vector> _sortedSubModelsArray; @@ -86,10 +84,8 @@ private: gfx::Buffer * _firstLightBufferView = nullptr; gfx::Sampler * _sampler = nullptr; - std::unordered_map _descriptorSetMap; - std::array _globalUBO; - std::array _cameraUBO; - std::array _shadowUBO; + std::unordered_map _descriptorSetMap{}; + std::array _shadowUBO{}; uint _lightBufferStride = 0; uint _lightBufferElementCount = 0; From d22810c7a8a60cd46e57971989c49b457daad5e8 Mon Sep 17 00:00:00 2001 From: minggo Date: Fri, 16 Apr 2021 16:07:19 +0800 Subject: [PATCH 250/270] Merge v302 (#3417) * fix surface flink and size issue when change its size --- native/cocos/renderer/gfx-gles2/GLES2Context.cpp | 11 ++++++----- native/cocos/renderer/gfx-gles3/GLES3Context.cpp | 9 +++++---- native/cocos/renderer/pipeline/RenderPipeline.cpp | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index 4ca77b253f..c4d8bb307f 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -258,7 +258,6 @@ bool GLES2Context::doInit(const ContextInfo &info) { } _eglSharedContext = _eglContext; - } else { auto *sharedCtx = static_cast(info.sharedCtx); @@ -364,11 +363,13 @@ void GLES2Context::acquireSurface(uintptr_t windowHandle) { CC_LOG_ERROR("Getting configuration attributes failed."); return; } - uint width = GLES2Device::getInstance()->getWidth(); - uint height = GLES2Device::getInstance()->getHeight(); - ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); + // Device's size will be updated after recreate window (in resize event) and is incorrect for now. + auto *window = reinterpret_cast(_windowHandle); + uint width = ANativeWindow_getWidth(window); + uint height = ANativeWindow_getHeight(window); + ANativeWindow_setBuffersGeometry(window, width, height, nFmt); - EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, (EGLNativeWindowType)_windowHandle, nullptr)); + EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), nullptr)); if (_eglSurface == EGL_NO_SURFACE) { CC_LOG_ERROR("Recreate window surface failed."); return; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 708171e2ed..80a07441b4 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -262,7 +262,6 @@ bool GLES3Context::doInit(const ContextInfo &info) { } _eglSharedContext = _eglContext; - } else { auto *sharedCtx = static_cast(info.sharedCtx); @@ -365,9 +364,11 @@ void GLES3Context::acquireSurface(uintptr_t windowHandle) { CC_LOG_ERROR("Getting configuration attributes failed."); return; } - uint width = GLES3Device::getInstance()->getWidth(); - uint height = GLES3Device::getInstance()->getHeight(); - ANativeWindow_setBuffersGeometry(reinterpret_cast(_windowHandle), width, height, nFmt); + // Device's size will be updated after recreate window (in resize event) and is incorrect for now. + auto *window = reinterpret_cast(_windowHandle); + uint width = ANativeWindow_getWidth(window); + uint height = ANativeWindow_getHeight(window); + ANativeWindow_setBuffersGeometry(window, width, height, nFmt); EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), nullptr)); if (_eglSurface == EGL_NO_SURFACE) { diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index ec1220ccf0..840a0b1f7c 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -193,7 +193,7 @@ void RenderPipeline::generateConstantMacros() { R"( #define CC_DEVICE_SUPPORT_FLOAT_TEXTURE %d #define CC_DEVICE_MAX_VERTEX_UNIFORM_VECTORS %d -#define CC_DEVICE_MAX_FRAGMENT_UNIFORM_VECTORS $d +#define CC_DEVICE_MAX_FRAGMENT_UNIFORM_VECTORS %d )", _device->hasFeature(gfx::Feature::TEXTURE_FLOAT) ? 1 : 0, _device->getCapabilities().maxVertexUniformVectors, From b883a11c2366474706ee36e975f2d975fd5747f2 Mon Sep 17 00:00:00 2001 From: mmyduckx <308303735@qq.com> Date: Fri, 16 Apr 2021 18:11:21 +0800 Subject: [PATCH 251/270] treat warning as error (#3418) --- native/CMakeLists.txt | 40 +++++------ native/cocos/editor-support/MeshBuffer.cpp | 24 +++---- native/cocos/editor-support/MeshBuffer.h | 8 +-- .../cocos/editor-support/TypedArrayPool.cpp | 66 +++++++++---------- native/cocos/editor-support/TypedArrayPool.h | 26 ++++---- 5 files changed, 81 insertions(+), 83 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 8a57791d6c..05698bdce8 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -1104,20 +1104,20 @@ endif() if(USE_MIDDLEWARE) cocos_source_files( - NO_WERROR cocos/editor-support/IOBuffer.cpp + cocos/editor-support/IOBuffer.cpp cocos/editor-support/IOBuffer.h - NO_WERROR cocos/editor-support/IOTypedArray.cpp + cocos/editor-support/IOTypedArray.cpp cocos/editor-support/IOTypedArray.h - NO_WERROR cocos/editor-support/MeshBuffer.cpp + cocos/editor-support/MeshBuffer.cpp cocos/editor-support/MeshBuffer.h - NO_WERROR cocos/editor-support/middleware-adapter.cpp + cocos/editor-support/middleware-adapter.cpp cocos/editor-support/middleware-adapter.h cocos/editor-support/MiddlewareMacro.h - NO_WERROR cocos/editor-support/MiddlewareManager.cpp + cocos/editor-support/MiddlewareManager.cpp cocos/editor-support/MiddlewareManager.h - NO_WERROR cocos/editor-support/SharedBufferManager.cpp + cocos/editor-support/SharedBufferManager.cpp cocos/editor-support/SharedBufferManager.h - NO_WERROR cocos/editor-support/TypedArrayPool.cpp + cocos/editor-support/TypedArrayPool.cpp cocos/editor-support/TypedArrayPool.h NO_WERROR cocos/bindings/auto/jsb_editor_support_auto.cpp cocos/bindings/auto/jsb_editor_support_auto.h @@ -1453,17 +1453,17 @@ endif() if(USE_SE_V8) cocos_source_files( cocos/bindings/jswrapper/v8/Base.h - NO_WERROR cocos/bindings/jswrapper/v8/Class.cpp + cocos/bindings/jswrapper/v8/Class.cpp cocos/bindings/jswrapper/v8/Class.h cocos/bindings/jswrapper/v8/HelperMacros.h - NO_WERROR cocos/bindings/jswrapper/v8/Object.cpp + cocos/bindings/jswrapper/v8/Object.cpp cocos/bindings/jswrapper/v8/Object.h - NO_WERROR cocos/bindings/jswrapper/v8/ObjectWrap.cpp + cocos/bindings/jswrapper/v8/ObjectWrap.cpp cocos/bindings/jswrapper/v8/ObjectWrap.h - NO_WERROR cocos/bindings/jswrapper/v8/ScriptEngine.cpp + cocos/bindings/jswrapper/v8/ScriptEngine.cpp cocos/bindings/jswrapper/v8/ScriptEngine.h cocos/bindings/jswrapper/v8/SeApi.h - NO_WERROR cocos/bindings/jswrapper/v8/Utils.cpp + cocos/bindings/jswrapper/v8/Utils.cpp cocos/bindings/jswrapper/v8/Utils.h ) if(USE_V8_DEBUGGER) @@ -1519,31 +1519,31 @@ if(USE_SE_JSC) endif() cocos_source_files( - NO_WERROR cocos/bindings/jswrapper/config.cpp + cocos/bindings/jswrapper/config.cpp cocos/bindings/jswrapper/config.h - NO_WERROR cocos/bindings/jswrapper/HandleObject.cpp + cocos/bindings/jswrapper/HandleObject.cpp cocos/bindings/jswrapper/HandleObject.h - NO_WERROR cocos/bindings/jswrapper/MappingUtils.cpp + cocos/bindings/jswrapper/MappingUtils.cpp cocos/bindings/jswrapper/MappingUtils.h cocos/bindings/jswrapper/Object.h - NO_WERROR cocos/bindings/jswrapper/RefCounter.cpp + cocos/bindings/jswrapper/RefCounter.cpp cocos/bindings/jswrapper/RefCounter.h cocos/bindings/jswrapper/SeApi.h - NO_WERROR cocos/bindings/jswrapper/State.cpp + cocos/bindings/jswrapper/State.cpp cocos/bindings/jswrapper/State.h - NO_WERROR cocos/bindings/jswrapper/Value.cpp + cocos/bindings/jswrapper/Value.cpp cocos/bindings/jswrapper/Value.h ) cocos_source_files( cocos/bindings/event/CustomEventTypes.h - NO_WERROR cocos/bindings/event/EventDispatcher.cpp + cocos/bindings/event/EventDispatcher.cpp cocos/bindings/event/EventDispatcher.h ) #### storage cocos_source_files( - NO_WERROR cocos/storage/local-storage/LocalStorage.cpp + cocos/storage/local-storage/LocalStorage.cpp cocos/storage/local-storage/LocalStorage.h ) diff --git a/native/cocos/editor-support/MeshBuffer.cpp b/native/cocos/editor-support/MeshBuffer.cpp index 939db5a2f0..0d7a975da1 100644 --- a/native/cocos/editor-support/MeshBuffer.cpp +++ b/native/cocos/editor-support/MeshBuffer.cpp @@ -51,8 +51,8 @@ MeshBuffer::~MeshBuffer() { } void MeshBuffer::clear() { - auto num = _vbArr.size(); - for (auto i = 0; i < num; i++) { + size_t num = _vbArr.size(); + for (size_t i = 0; i < num; i++) { delete _ibArr[i]; delete _vbArr[i]; } @@ -62,46 +62,46 @@ void MeshBuffer::clear() { void MeshBuffer::afterCleanupHandle() { clear(); - se::ScriptEngine::getInstance()->addAfterInitHook(std::bind(&MeshBuffer::init, this)); + se::ScriptEngine::getInstance()->addAfterInitHook([this] { init(); }); } void MeshBuffer::init() { - auto rIB = new IOTypedArray(se::Object::TypedArrayType::UINT16, _ib.getCapacity()); + auto *rIB = new IOTypedArray(se::Object::TypedArrayType::UINT16, _ib.getCapacity()); _ibArr.push_back(rIB); - auto rVB = new IOTypedArray(se::Object::TypedArrayType::FLOAT32, _vb.getCapacity()); + auto *rVB = new IOTypedArray(se::Object::TypedArrayType::FLOAT32, _vb.getCapacity()); _vbArr.push_back(rVB); - se::ScriptEngine::getInstance()->addAfterCleanupHook(std::bind(&MeshBuffer::afterCleanupHandle, this)); + se::ScriptEngine::getInstance()->addAfterCleanupHook([this] { afterCleanupHandle(); }); } void MeshBuffer::uploadVB() { auto length = _vb.length(); if (length == 0) return; - auto rVB = _vbArr[_bufferPos]; + auto *rVB = _vbArr[_bufferPos]; rVB->reset(); - rVB->writeBytes((const char *)_vb.getBuffer(), _vb.length()); + rVB->writeBytes(reinterpret_cast(_vb.getBuffer()), _vb.length()); } void MeshBuffer::uploadIB() { auto length = _ib.length(); if (length == 0) return; - auto rIB = _ibArr[_bufferPos]; + auto *rIB = _ibArr[_bufferPos]; rIB->reset(); - rIB->writeBytes((const char *)_ib.getBuffer(), _ib.length()); + rIB->writeBytes(reinterpret_cast(_ib.getBuffer()), _ib.length()); } void MeshBuffer::next() { _bufferPos++; if (_ibArr.size() <= _bufferPos) { - auto rIB = new IOTypedArray(se::Object::TypedArrayType::UINT16, _ib.getCapacity()); + auto *rIB = new IOTypedArray(se::Object::TypedArrayType::UINT16, _ib.getCapacity()); _ibArr.push_back(rIB); } if (_vbArr.size() <= _bufferPos) { - auto rVB = new IOTypedArray(se::Object::TypedArrayType::FLOAT32, _vb.getCapacity()); + auto *rVB = new IOTypedArray(se::Object::TypedArrayType::FLOAT32, _vb.getCapacity()); _vbArr.push_back(rVB); } } diff --git a/native/cocos/editor-support/MeshBuffer.h b/native/cocos/editor-support/MeshBuffer.h index 8f4ef7ccb9..76066a4188 100644 --- a/native/cocos/editor-support/MeshBuffer.h +++ b/native/cocos/editor-support/MeshBuffer.h @@ -33,7 +33,7 @@ MIDDLEWARE_BEGIN class MeshBuffer { public: - MeshBuffer(int vertexFormat); + explicit MeshBuffer(int vertexFormat); MeshBuffer(int vertexFormat, size_t indexSize, size_t vertexSize); virtual ~MeshBuffer(); @@ -58,11 +58,11 @@ public: return _ibArr[bufferPos]->length(); } - std::size_t getBufferCount() { + std::size_t getBufferCount() const { return _bufferPos + 1; } - std::size_t getBufferPos() { + std::size_t getBufferPos() const { return _bufferPos; } @@ -84,10 +84,8 @@ private: void init(); void afterCleanupHandle(); -private: std::vector _ibArr; std::vector _vbArr; - std::size_t _bufferPos = 0; IOBuffer _vb; IOBuffer _ib; diff --git a/native/cocos/editor-support/TypedArrayPool.cpp b/native/cocos/editor-support/TypedArrayPool.cpp index e77aacbcc4..69887bad4c 100644 --- a/native/cocos/editor-support/TypedArrayPool.cpp +++ b/native/cocos/editor-support/TypedArrayPool.cpp @@ -38,17 +38,17 @@ fflush(stdout); \ } while (false) #else -#define PoolLog(...) +#define POOL_LOG(...) #endif MIDDLEWARE_BEGIN -const static std::size_t maxPoolSize = 50; +const static std::size_t MAX_POOL_SIZE = 50; -TypedArrayPool *TypedArrayPool::_instance = nullptr; +TypedArrayPool *TypedArrayPool::instance = nullptr; TypedArrayPool::TypedArrayPool() { - se::ScriptEngine::getInstance()->addAfterCleanupHook(std::bind(&TypedArrayPool::afterCleanupHandle, this)); + se::ScriptEngine::getInstance()->addAfterCleanupHook([this] { afterCleanupHandle(); }); } TypedArrayPool::~TypedArrayPool() { @@ -56,30 +56,30 @@ TypedArrayPool::~TypedArrayPool() { } void TypedArrayPool::afterCleanupHandle() { - this->allowPush = false; + this->_allowPush = false; clearPool(); - se::ScriptEngine::getInstance()->addAfterInitHook(std::bind(&TypedArrayPool::afterInitHandle, this)); + se::ScriptEngine::getInstance()->addAfterInitHook([this] { afterInitHandle(); }); } void TypedArrayPool::afterInitHandle() { - this->allowPush = true; - se::ScriptEngine::getInstance()->addAfterCleanupHook(std::bind(&TypedArrayPool::afterCleanupHandle, this)); + this->_allowPush = true; + se::ScriptEngine::getInstance()->addAfterCleanupHook([this] { afterCleanupHandle(); }); } void TypedArrayPool::clearPool() { - PoolLog("*****clearPool TypeArray pool begin"); + POOL_LOG("*****clearPool TypeArray pool begin"); //map - for (auto it = _pool.begin(); it != _pool.end(); it++) { + for (auto & it : _pool) { //map - fitMap &mapPool = *(it->second); - for (auto itMapPool = mapPool.begin(); itMapPool != mapPool.end(); itMapPool++) { + fitMap &mapPool = *(it.second); + for (auto & itMapPool : mapPool) { //vector - objPool &itFitPool = *(itMapPool->second); - PoolLog("clear arrayType:%d,fitSize:%lu,objSize:%lu\n", it->first, itMapPool->first, itFitPool.size()); - for (auto itFit = itFitPool.begin(); itFit != itFitPool.end(); itFit++) { - (*itFit)->unroot(); - (*itFit)->decRef(); + objPool &itFitPool = *(itMapPool.second); + POOL_LOG("clear arrayType:%d,fitSize:%lu,objSize:%lu\n", it->first, itMapPool->first, itFitPool.size()); + for (auto & itFit : itFitPool) { + itFit->unroot(); + itFit->decRef(); } delete &itFitPool; } @@ -87,36 +87,36 @@ void TypedArrayPool::clearPool() { } _pool.clear(); - PoolLog("*****clearPool TypeArray pool end"); + POOL_LOG("*****clearPool TypeArray pool end"); } void TypedArrayPool::dump() { //map - for (auto it = _pool.begin(); it != _pool.end(); it++) { + for (auto & it : _pool) { //map - fitMap &mapPool = *(it->second); - for (auto itMapPool = mapPool.begin(); itMapPool != mapPool.end(); itMapPool++) { + fitMap &mapPool = *(it.second); + for (auto & itMapPool : mapPool) { //vector - CC_UNUSED objPool &itFitPool = *(itMapPool->second); - PoolLog("arrayType:%d,fitSize:%lu,objSize:%lu\n", it->first, itMapPool->first, itFitPool.size()); + CC_UNUSED objPool &itFitPool = *(itMapPool.second); + POOL_LOG("arrayType:%d,fitSize:%lu,objSize:%lu\n", it->first, itMapPool->first, itFitPool.size()); } } } se::Object *TypedArrayPool::pop(arrayType type, std::size_t size) { - std::size_t fitSize = ceil(size / float(MIN_TYPE_ARRAY_SIZE)) * MIN_TYPE_ARRAY_SIZE; + auto fitSize = static_cast(ceil(size / float(MIN_TYPE_ARRAY_SIZE)) * MIN_TYPE_ARRAY_SIZE); objPool *objPoolPtr = getObjPool(type, fitSize); - if (objPoolPtr->size() > 0) { + if (!objPoolPtr->empty()) { se::Object *obj = objPoolPtr->back(); objPoolPtr->pop_back(); - PoolLog("TypedArrayPool:pop result:success,type:%d,fitSize:%lu,objSize:%lu\n", (int)type, fitSize, objPoolPtr->size()); + POOL_LOG("TypedArrayPool:pop result:success,type:%d,fitSize:%lu,objSize:%lu\n", (int)type, fitSize, objPoolPtr->size()); return obj; } - PoolLog("TypedArrayPool:pop result:empty,type:%d,fitSize:%lu,objSize:%lu\n", (int)type, fitSize, objPoolPtr->size()); + POOL_LOG("TypedArrayPool:pop result:empty,type:%d,fitSize:%lu,objSize:%lu\n", (int)type, fitSize, objPoolPtr->size()); se::AutoHandleScope hs; - auto typeArray = se::Object::createTypedArray(type, nullptr, fitSize); + auto *typeArray = se::Object::createTypedArray(type, nullptr, fitSize); typeArray->root(); return typeArray; } @@ -147,24 +147,24 @@ void TypedArrayPool::push(arrayType type, std::size_t arrayCapacity, se::Object if (object == nullptr) return; // If script engine is cleaning,delete object directly - if (!allowPush) { + if (!_allowPush) { object->unroot(); object->decRef(); object = nullptr; - PoolLog("TypedArrayPool:push result:not allow,type:%d,arrayCapacity:%lu\n", (int)type, arrayCapacity); + POOL_LOG("TypedArrayPool:push result:not allow,type:%d,arrayCapacity:%lu\n", (int)type, arrayCapacity); return; } objPool *objPoolPtr = getObjPool(type, arrayCapacity); auto it = std::find(objPoolPtr->begin(), objPoolPtr->end(), object); if (it != objPoolPtr->end()) { - PoolLog("TypedArrayPool:push result:repeat\n"); + POOL_LOG("TypedArrayPool:push result:repeat\n"); return; } - if (objPoolPtr->size() < maxPoolSize) { + if (objPoolPtr->size() < MAX_POOL_SIZE) { objPoolPtr->push_back(object); - PoolLog("TypedArrayPool:push result:success,type:%d,arrayCapacity:%lu,objSize:%lu\n", (int)type, arrayCapacity, objPoolPtr->size()); + POOL_LOG("TypedArrayPool:push result:success,type:%d,arrayCapacity:%lu,objSize:%lu\n", (int)type, arrayCapacity, objPoolPtr->size()); } else { object->unroot(); object->decRef(); diff --git a/native/cocos/editor-support/TypedArrayPool.h b/native/cocos/editor-support/TypedArrayPool.h index adccbe92cb..85bebbc780 100644 --- a/native/cocos/editor-support/TypedArrayPool.h +++ b/native/cocos/editor-support/TypedArrayPool.h @@ -35,28 +35,28 @@ MIDDLEWARE_BEGIN */ class TypedArrayPool { private: - static TypedArrayPool *_instance; + static TypedArrayPool *instance; public: static TypedArrayPool *getInstance() { - if (_instance == nullptr) { - _instance = new TypedArrayPool(); + if (instance == nullptr) { + instance = new TypedArrayPool(); } - return _instance; + return instance; } static void destroyInstance() { - if (_instance) { - delete _instance; - _instance = nullptr; + if (instance) { + delete instance; + instance = nullptr; } } private: - typedef se::Object::TypedArrayType arrayType; - typedef std::vector objPool; - typedef std::map fitMap; - typedef std::map typeMap; + using arrayType = se::Object::TypedArrayType; + using objPool = std::vector; + using fitMap = std::map; + using typeMap = std::map; objPool *getObjPool(arrayType type, std::size_t size); @@ -72,9 +72,9 @@ private: void afterCleanupHandle(); void afterInitHandle(); -private: + typeMap _pool; - bool allowPush = true; + bool _allowPush = true; public: /** From 7108d53a70a211f1dfcb0a315188f401b0fdc00c Mon Sep 17 00:00:00 2001 From: lawrence-liuyue <32774732+lawrence-liuyue@users.noreply.github.com> Date: Fri, 16 Apr 2021 18:54:49 +0800 Subject: [PATCH 252/270] modify quad uv coord of deferred pipeline (#3400) --- .../pipeline/deferred/DeferredPipeline.cpp | 129 +++++++++++------- .../pipeline/deferred/DeferredPipeline.h | 8 +- .../pipeline/deferred/GbufferStage.cpp | 2 +- native/tools/tojs/pipeline.ini | 2 +- 4 files changed, 83 insertions(+), 58 deletions(-) diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 92d9a4968d..3735ebbe88 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -143,123 +143,146 @@ void DeferredPipeline::render(const vector &cameras) { _device->getQueue()->submit(_commandBuffers); } -bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer *quadIB, gfx::Buffer *quadVB, gfx::InputAssembler *quadIA, gfx::SurfaceTransform surfaceTransform) { - // step 1 create vertex buffer - uint vbStride = sizeof(float) * 4; - uint vbSize = vbStride * 4; - quadVB = _device->createBuffer({gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, vbSize, vbStride}); - if (!quadVB) { - return false; - } +void DeferredPipeline::updateQuadVertexData(const gfx::Rect &renderArea) { + if (_lastUsedRenderArea == renderArea) { + return; + } + + _lastUsedRenderArea = renderArea; + float vbData[16] = {0}; + genQuadVertexData(gfx::SurfaceTransform::IDENTITY, renderArea, vbData); + _commandBuffers[0]->updateBuffer(_quadVBOffscreen, vbData); + + genQuadVertexData(_device->getSurfaceTransform(), renderArea, vbData); + _commandBuffers[0]->updateBuffer(_quadVBOnscreen, vbData); +} + +void DeferredPipeline::genQuadVertexData(gfx::SurfaceTransform surfaceTransform, const gfx::Rect &renderArea, float *vbData) { + float minX = float(renderArea.x) / _device->getWidth(); + float maxX = float(renderArea.x + renderArea.width) / _device->getWidth(); + float minY = float(renderArea.y) / _device->getHeight(); + float maxY = float(renderArea.y + renderArea.height) / _device->getHeight(); - float vbData[16] = {0}; int n = 0; switch (surfaceTransform) { case (gfx::SurfaceTransform::IDENTITY): n = 0; vbData[n++] = -1.0; vbData[n++] = -1.0; - vbData[n++] = 0.0; - vbData[n++] = 1.0; + vbData[n++] = minX; // uv + vbData[n++] = maxY; vbData[n++] = 1.0; vbData[n++] = -1.0; - vbData[n++] = 1.0; - vbData[n++] = 1.0; + vbData[n++] = maxX; + vbData[n++] = maxY; vbData[n++] = -1.0; vbData[n++] = 1.0; - vbData[n++] = 0.0; - vbData[n++] = 0.0; + vbData[n++] = minX; + vbData[n++] = minY; vbData[n++] = 1.0; vbData[n++] = 1.0; - vbData[n++] = 1.0; - vbData[n++] = 0.0; + vbData[n++] = maxX; + vbData[n++] = minY; break; case (gfx::SurfaceTransform::ROTATE_90): n = 0; vbData[n++] = -1.0; vbData[n++] = -1.0; - vbData[n++] = 1.0; - vbData[n++] = 1.0; + vbData[n++] = maxX; // uv + vbData[n++] = maxY; vbData[n++] = 1.0; vbData[n++] = -1.0; - vbData[n++] = 1.0; - vbData[n++] = 0.0; + vbData[n++] = maxX; + vbData[n++] = minY; vbData[n++] = -1.0; vbData[n++] = 1.0; - vbData[n++] = 0.0; + vbData[n++] = minX; + vbData[n++] = maxY; vbData[n++] = 1.0; vbData[n++] = 1.0; - vbData[n++] = 1.0; - vbData[n++] = 0.0; - vbData[n++] = 0.0; + vbData[n++] = minX; + vbData[n++] = minY; break; case (gfx::SurfaceTransform::ROTATE_180): n = 0; vbData[n++] = -1.0; vbData[n++] = -1.0; - vbData[n++] = 0.0; - vbData[n++] = 0.0; + vbData[n++] = minX; // uv + vbData[n++] = minY; vbData[n++] = 1.0; vbData[n++] = -1.0; - vbData[n++] = 1.0; - vbData[n++] = 0.0; + vbData[n++] = maxX; + vbData[n++] = minY; vbData[n++] = -1.0; vbData[n++] = 1.0; - vbData[n++] = 0.0; - vbData[n++] = 1.0; - vbData[n++] = 1.0; - vbData[n++] = 1.0; + vbData[n++] = minX; + vbData[n++] = maxY; vbData[n++] = 1.0; vbData[n++] = 1.0; + vbData[n++] = maxX; + vbData[n++] = maxY; break; case (gfx::SurfaceTransform::ROTATE_270): n = 0; vbData[n++] = -1.0; vbData[n++] = -1.0; - vbData[n++] = 0.0; - vbData[n++] = 0.0; + vbData[n++] = minX; // uv + vbData[n++] = minY; vbData[n++] = 1.0; vbData[n++] = -1.0; - vbData[n++] = 0.0; - vbData[n++] = 1.0; + vbData[n++] = minX; + vbData[n++] = maxY; vbData[n++] = -1.0; vbData[n++] = 1.0; - vbData[n++] = 1.0; - vbData[n++] = 0.0; - vbData[n++] = 1.0; - vbData[n++] = 1.0; + vbData[n++] = maxX; + vbData[n++] = minY; vbData[n++] = 1.0; vbData[n++] = 1.0; + vbData[n++] = maxX; + vbData[n++] = maxY; break; default: break; } +} - quadVB->update(vbData, sizeof(vbData)); +bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer **quadIB, gfx::Buffer **quadVB, gfx::InputAssembler **quadIA) { + // step 1 create vertex buffer + uint vbStride = sizeof(float) * 4; + uint vbSize = vbStride * 4; + + if (*quadVB == nullptr) { + *quadVB = _device->createBuffer({gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, vbSize, vbStride}); + } + + if (*quadVB == nullptr) { + return false; + } // step 2 create index buffer uint ibStride = 4; uint ibSize = ibStride * 6; - - quadIB = _device->createBuffer({gfx::BufferUsageBit::INDEX | gfx::BufferUsageBit::TRANSFER_DST, + if (*quadIB == nullptr) { + *quadIB = _device->createBuffer({gfx::BufferUsageBit::INDEX | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, ibSize, ibStride}); + } - if (!quadIB) { + if (*quadIB == nullptr) { return false; } unsigned int ibData[] = {0, 1, 2, 1, 3, 2}; - quadIB->update(ibData, sizeof(ibData)); + (*quadIB)->update(ibData, sizeof(ibData)); // step 3 create input assembler gfx::InputAssemblerInfo info; info.attributes.push_back({"a_position", gfx::Format::RG32F}); info.attributes.push_back({"a_texCoord", gfx::Format::RG32F}); - info.vertexBuffers.push_back(quadVB); - info.indexBuffer = quadIB; - quadIA = _device->createInputAssembler(info); - return quadIA != nullptr; + info.vertexBuffers.push_back(*quadVB); + info.indexBuffer = *quadIB; + *quadIA = _device->createInputAssembler(info); + return (*quadIA) != nullptr; } gfx::Rect DeferredPipeline::getRenderArea(Camera *camera, bool onScreen) { @@ -337,11 +360,11 @@ bool DeferredPipeline::activeRenderer() { _macros.setValue("CC_USE_HDR", static_cast(sharedData->isHDR)); _macros.setValue("CC_SUPPORT_FLOAT_TEXTURE", _device->hasFeature(gfx::Feature::TEXTURE_FLOAT)); - if (!createQuadInputAssembler(_quadIB, _quadVBOffscreen, _quadIAOffscreen, gfx::SurfaceTransform::IDENTITY)) { + if (!createQuadInputAssembler(&_quadIB, &_quadVBOffscreen, &_quadIAOffscreen)) { return false; } - if (!createQuadInputAssembler(_quadIB, _quadVBOnscreen, _quadIAOnscreen, _device->getSurfaceTransform())) { + if (!createQuadInputAssembler(&_quadIB, &_quadVBOnscreen, &_quadIAOnscreen)) { return false; } diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h index 54a122ba7a..96687d88cd 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -74,11 +74,12 @@ public: gfx::InputAssembler *getQuadIAOffScreen(){return _quadIAOffscreen;} gfx::Rect getRenderArea(Camera *camera, bool onScreen); CC_INLINE DeferredRenderData *getDeferredRenderData(){return _deferredRenderData; }; + void updateQuadVertexData(const gfx::Rect &renderArea); + void genQuadVertexData(gfx::SurfaceTransform surfaceTransform, const gfx::Rect &renderArea, float *data); private: bool activeRenderer(); - bool createQuadInputAssembler(gfx::Buffer* quadIB, gfx::Buffer* quadVB, gfx::InputAssembler* quadIA, - gfx::SurfaceTransform surfaceTransform); + bool createQuadInputAssembler(gfx::Buffer **quadIB, gfx::Buffer **quadVB, gfx::InputAssembler **quadIA); void destroyQuadInputAssembler(); void destroyDeferredData(); void generateDeferredRenderData(); @@ -90,6 +91,7 @@ private: UintList _lightIndexOffsets; UintList _lightIndices; map _renderPasses; + gfx::Rect _lastUsedRenderArea; // light stage gfx::Buffer *_quadIB = nullptr; @@ -97,7 +99,7 @@ private: gfx::Buffer *_quadVBOffscreen = nullptr; gfx::InputAssembler *_quadIAOnscreen = nullptr; gfx::InputAssembler *_quadIAOffscreen = nullptr; - + DeferredRenderData *_deferredRenderData = nullptr; gfx::RenderPass *_gbufferRenderPass = nullptr; gfx::RenderPass *_lightingRenderPass = nullptr; diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp index 65e9a0fd8a..2a1fbea017 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp @@ -162,7 +162,7 @@ void GbufferStage::render(Camera *camera) { // render area is not oriented _renderArea = pipeline->getRenderArea(camera, false); - + pipeline->updateQuadVertexData(_renderArea); auto *const deferredData = pipeline->getDeferredRenderData(); auto *framebuffer = deferredData->gbufferFrameBuffer; auto *renderPass = framebuffer->getRenderPass(); diff --git a/native/tools/tojs/pipeline.ini b/native/tools/tojs/pipeline.ini index 340a6ff44f..3cb1a5e96f 100644 --- a/native/tools/tojs/pipeline.ini +++ b/native/tools/tojs/pipeline.ini @@ -49,7 +49,7 @@ skip = ForwardPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLi ShadowFlow::[initialize activate destroy render], ShadowStage::[initialize activate destroy render clearFramebuffer], InstancedBuffer::[merge uploadBuffers clear getInstances getPass hasPendingModels dynamicOffsets], - DeferredPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLightBuffers getLightIndexOffsets getLightIndices getQuadIAOnScreen getQuadIAOffScreen setDepth getDepth getRenderArea createQuadInputAssembler destroyQuadInputAssembler getDeferredRenderData], + DeferredPipeline::[getOrCreateRenderPass getLightsUBO getValidLights getLightBuffers getLightIndexOffsets getLightIndices getQuadIAOnScreen getQuadIAOffScreen setDepth getDepth getRenderArea createQuadInputAssembler destroyQuadInputAssembler getDeferredRenderData updateQuadVertexData genQuadVertexData], GbufferFlow::[initialize activate destroy render getFrameBuffer createRenderPass createRenderTargets], GbufferStage::[initialize activate destroy render], LightingFlow::[initialize activate destroy render createRenderPass createFrameBuffer getLightingFrameBuffer], From 74184e0eedcf9bbc6936605a5677dca6b0c704c4 Mon Sep 17 00:00:00 2001 From: minggo Date: Fri, 16 Apr 2021 18:58:41 +0800 Subject: [PATCH 253/270] use reference to fix crash (#3407) * use reference to fix crash --- native/cocos/base/Scheduler.cpp | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/native/cocos/base/Scheduler.cpp b/native/cocos/base/Scheduler.cpp index facd92123e..aac1a26a82 100644 --- a/native/cocos/base/Scheduler.cpp +++ b/native/cocos/base/Scheduler.cpp @@ -30,6 +30,7 @@ #include "base/Scheduler.h" #include +#include #include "base/Macros.h" #include "base/Log.h" @@ -47,7 +48,7 @@ void Timer::setupTimerWithInterval(float seconds, unsigned int repeat, float del _elapsed = -1; _interval = seconds; _delay = delay; - _useDelay = _delay > 0.0f; + _useDelay = _delay > 0.0F; _repeat = repeat; _runForever = _repeat == CC_REPEAT_FOREVER; } @@ -90,7 +91,7 @@ void Timer::update(float dt) { break; } - if (_elapsed <= 0.f) { + if (_elapsed <= 0.F) { break; } @@ -145,7 +146,7 @@ void Scheduler::removeHashElement(HashTimerEntry *element) { } void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float interval, bool paused, const std::string &key) { - this->schedule(callback, target, interval, CC_REPEAT_FOREVER, 0.0f, paused, key); + this->schedule(callback, target, interval, CC_REPEAT_FOREVER, 0.0F, paused, key); } void Scheduler::schedule(const ccSchedulerFunc &callback, void *target, float interval, unsigned int repeat, float delay, bool paused, const std::string &key) { @@ -195,7 +196,7 @@ void Scheduler::unschedule(const std::string &key, void *target) { if (iter != _hashForTimers.end()) { HashTimerEntry *element = iter->second; int i = 0; - auto timers = element->timers; + auto &timers = element->timers; for (auto *t : timers) { auto *timer = dynamic_cast(t); @@ -244,15 +245,11 @@ bool Scheduler::isScheduled(const std::string &key, void *target) { return false; } - for (auto *t : element->timers) { + const auto &timers = element->timers; + return std::any_of(timers.begin(), timers.end(), [&key](Timer *t) { auto *timer = dynamic_cast(t); - - if (timer && key == timer->getKey()) { - return true; - } - } - - return false; // should never get here + return (timer && key == timer->getKey()); + }); } void Scheduler::unscheduleAll() { @@ -272,7 +269,7 @@ void Scheduler::unscheduleAllForTarget(void *target) { auto iter = _hashForTimers.find(target); if (iter != _hashForTimers.end()) { HashTimerEntry *element = iter->second; - auto timers = element->timers; + auto &timers = element->timers; if (std::find(timers.begin(), timers.end(), element->currentTimer) != timers.end() && (!element->currentTimerSalvaged)) { element->currentTimer->retain(); @@ -341,7 +338,7 @@ void Scheduler::update(float dt) { // Iterate over all the custom selectors HashTimerEntry *elt = nullptr; - for (auto iter = _hashForTimers.begin(); iter != _hashForTimers.end(); ++iter) { + for (auto iter = _hashForTimers.begin(); iter != _hashForTimers.end();) { elt = iter->second; _currentTarget = elt; _currentTargetSalvaged = false; @@ -367,7 +364,12 @@ void Scheduler::update(float dt) { // only delete currentTarget if no actions were scheduled during the cycle (issue #481) if (_currentTargetSalvaged && _currentTarget->timers.empty()) { + ++iter; removeHashElement(_currentTarget); + if (iter != _hashForTimers.end()) { + ++iter; + } + } else { ++iter; } } From d93b3b1f4b749f481dec1721e05b4336bb88cfe0 Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Sat, 17 Apr 2021 14:05:32 +0800 Subject: [PATCH 254/270] onscreen msaa from v3.0.2 to v3.1 (#3419) * onscreen msaa from v3.0.2 to v3.1 * update external cfg --- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 47 ++++++- native/cocos/renderer/gfx-base/GFXDef.h | 15 ++- .../cocos/renderer/gfx-gles2/GLES2Context.cpp | 115 ++++++++++++++---- .../cocos/renderer/gfx-gles2/GLES2Context.h | 27 ++-- .../cocos/renderer/gfx-gles2/GLES2Device.cpp | 6 +- .../cocos/renderer/gfx-gles3/GLES3Context.cpp | 113 ++++++++++++++--- .../cocos/renderer/gfx-gles3/GLES3Context.h | 27 ++-- .../cocos/renderer/gfx-gles3/GLES3Device.cpp | 6 +- native/external/config.json | 4 +- 9 files changed, 284 insertions(+), 76 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index e5698ee0ca..bea94e6624 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -14638,6 +14638,33 @@ bool js_register_gfx_MemoryStatus(se::Object* obj) se::Object* __jsb_cc_gfx_DeviceInfo_proto = nullptr; se::Class* __jsb_cc_gfx_DeviceInfo_class = nullptr; +static bool js_gfx_DeviceInfo_get_isAntiAlias(se::State& s) +{ + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_get_isAntiAlias : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->isAntiAlias, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->isAntiAlias, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_DeviceInfo_get_isAntiAlias) + +static bool js_gfx_DeviceInfo_set_isAntiAlias(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceInfo_set_isAntiAlias : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->isAntiAlias, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceInfo_set_isAntiAlias : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_DeviceInfo_set_isAntiAlias) + static bool js_gfx_DeviceInfo_get_windowHandle(se::State& s) { cc::gfx::DeviceInfo* cobj = SE_THIS_OBJECT(s); @@ -14813,6 +14840,10 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::DeviceInfo * to, se::Obje } se::Value field; bool ok = true; + json->getProperty("isAntiAlias", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->isAntiAlias), ctx); + } json->getProperty("windowHandle", &field); if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->windowHandle), ctx); @@ -14876,22 +14907,25 @@ static bool js_gfx_DeviceInfo_constructor(se::State& s) { cc::gfx::DeviceInfo* cobj = JSB_ALLOC(cc::gfx::DeviceInfo); if (argc > 0 && !args[0].isUndefined()) { - ok &= sevalue_to_native(args[0], &(cobj->windowHandle), nullptr); + ok &= sevalue_to_native(args[0], &(cobj->isAntiAlias), nullptr); } if (argc > 1 && !args[1].isUndefined()) { - ok &= sevalue_to_native(args[1], &(cobj->width), nullptr); + ok &= sevalue_to_native(args[1], &(cobj->windowHandle), nullptr); } if (argc > 2 && !args[2].isUndefined()) { - ok &= sevalue_to_native(args[2], &(cobj->height), nullptr); + ok &= sevalue_to_native(args[2], &(cobj->width), nullptr); } if (argc > 3 && !args[3].isUndefined()) { - ok &= sevalue_to_native(args[3], &(cobj->nativeWidth), nullptr); + ok &= sevalue_to_native(args[3], &(cobj->height), nullptr); } if (argc > 4 && !args[4].isUndefined()) { - ok &= sevalue_to_native(args[4], &(cobj->nativeHeight), nullptr); + ok &= sevalue_to_native(args[4], &(cobj->nativeWidth), nullptr); } if (argc > 5 && !args[5].isUndefined()) { - ok &= sevalue_to_native(args[5], &(cobj->bindingMappingInfo), nullptr); + ok &= sevalue_to_native(args[5], &(cobj->nativeHeight), nullptr); + } + if (argc > 6 && !args[6].isUndefined()) { + ok &= sevalue_to_native(args[6], &(cobj->bindingMappingInfo), nullptr); } if(!ok) { @@ -14930,6 +14964,7 @@ bool js_register_gfx_DeviceInfo(se::Object* obj) { auto cls = se::Class::create("DeviceInfo", obj, nullptr, _SE(js_gfx_DeviceInfo_constructor)); + cls->defineProperty("isAntiAlias", _SE(js_gfx_DeviceInfo_get_isAntiAlias), _SE(js_gfx_DeviceInfo_set_isAntiAlias)); cls->defineProperty("windowHandle", _SE(js_gfx_DeviceInfo_get_windowHandle), _SE(js_gfx_DeviceInfo_set_windowHandle)); cls->defineProperty("width", _SE(js_gfx_DeviceInfo_get_width), _SE(js_gfx_DeviceInfo_set_width)); cls->defineProperty("height", _SE(js_gfx_DeviceInfo_get_height), _SE(js_gfx_DeviceInfo_set_height)); diff --git a/native/cocos/renderer/gfx-base/GFXDef.h b/native/cocos/renderer/gfx-base/GFXDef.h index c121c00fff..5fdfb58274 100644 --- a/native/cocos/renderer/gfx-base/GFXDef.h +++ b/native/cocos/renderer/gfx-base/GFXDef.h @@ -55,6 +55,7 @@ enum class VsyncMode { }; struct DeviceInfo { + bool isAntiAlias = false; uintptr_t windowHandle = 0U; uint width = 0U; uint height = 0U; @@ -63,10 +64,18 @@ struct DeviceInfo { BindingMappingInfo bindingMappingInfo; }; +enum class Performance { + HIGH_QUALITY, + LOW_POWER, + //BALANCE, +}; + struct ContextInfo { - uintptr_t windowHandle = 0; - Context * sharedCtx = nullptr; - VsyncMode vsyncMode = VsyncMode::RELAXED; + bool msaaEnabled = false; + Performance performance = Performance::LOW_POWER; + VsyncMode vsyncMode = VsyncMode::RELAXED; + uintptr_t windowHandle = 0; + Context* sharedCtx = nullptr; }; extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp index c4d8bb307f..fba6a80047 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.cpp @@ -146,18 +146,92 @@ bool GLES2Context::doInit(const ContextInfo &info) { _colorFmt = Format::RGBA8; _depthStencilFmt = Format::D24S8; - const EGLint attribs[] = { + bool msaaEnabled = info.msaaEnabled; + EGLint redSize{8}, greenSize{8}, blueSize{8}, alphaSize{8}, depthSize{24}, stencilSize{8}, sampleBufferSize{msaaEnabled ? EGL_DONT_CARE : 0}, sampleSize{msaaEnabled ? EGL_DONT_CARE : 0}; + + EGLint defaultAttribs[] = { EGL_SURFACE_TYPE, EGL_WINDOW_BIT | EGL_PBUFFER_BIT, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, // EGL_BUFFER_SIZE, colorBuffSize, - EGL_BLUE_SIZE, 8, - EGL_GREEN_SIZE, 8, - EGL_RED_SIZE, 8, - EGL_ALPHA_SIZE, 8, - EGL_DEPTH_SIZE, 24, - EGL_STENCIL_SIZE, 8, + EGL_BLUE_SIZE, blueSize, + EGL_GREEN_SIZE, greenSize, + EGL_RED_SIZE, redSize, + EGL_ALPHA_SIZE, alphaSize, + EGL_DEPTH_SIZE, depthSize, + EGL_STENCIL_SIZE, stencilSize, + EGL_SAMPLE_BUFFERS, sampleBufferSize, + EGL_SAMPLES, sampleSize, EGL_NONE}; + int numConfig = 0; + + EGLConfig cfgs[128]; + + eglGetConfigs(_eglDisplay, cfgs, 128, &numConfig); + if (eglChooseConfig(_eglDisplay, defaultAttribs, NULL, 0, &numConfig)) { + _vecEGLConfig.resize(numConfig); + } else { + CC_LOG_ERROR("Query configuration failed."); + return false; + } + + int count = numConfig; + if (eglChooseConfig(_eglDisplay, defaultAttribs, _vecEGLConfig.data(), count, &numConfig) == EGL_FALSE || !numConfig) { + CC_LOG_ERROR("eglChooseConfig configuration failed."); + return false; + } + + EGLint depth{0}, stencil{0}; + + const uint8_t attrNums = 8; + uint64_t lastScore{0}; + int params[attrNums] = {0}; + + const bool performancePreferred = info.performance == Performance::HIGH_QUALITY; + for (int i = 0; i < numConfig; i++) { + int depthValue{0}; + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_RED_SIZE, ¶ms[0]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_GREEN_SIZE, ¶ms[1]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_BLUE_SIZE, ¶ms[2]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_ALPHA_SIZE, ¶ms[3]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_DEPTH_SIZE, ¶ms[4]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_STENCIL_SIZE, ¶ms[5]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_SAMPLE_BUFFERS, ¶ms[6]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_SAMPLES, ¶ms[7]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_DEPTH_ENCODING_NV, &depthValue); + + int bNonLinearDepth = (depthValue == EGL_DEPTH_ENCODING_NONLINEAR_NV) ? 1 : 0; + + /*------------------------------------------ANGLE's priority-----------------------------------------------*/ + // Favor EGLConfigLists by RGB, then Depth, then Non-linear Depth, then Stencil, then Alpha + uint64_t currScore{0}; + currScore |= ((uint64_t)std::min(std::max(params[6], 0), 15)) << 29; + currScore |= ((uint64_t)std::min(std::max(params[7], 0), 31)) << 24; + currScore |= std::min(std::abs(params[0] - redSize) + + std::abs(params[1] - greenSize) + + std::abs(params[2] - blueSize), + 127) + << 17; + currScore |= std::min(std::abs(params[4] - depthSize), 63) << 11; + currScore |= std::min(std::abs(1 - bNonLinearDepth), 1) << 10; + currScore |= std::min(std::abs(params[5] - stencilSize), 31) << 6; + currScore |= std::min(std::abs(params[3] - alphaSize), 31) << 0; + /*------------------------------------------ANGLE's priority-----------------------------------------------*/ + + // if msaaEnabled, sampleBuffers and sampleCount should be greater than 0, until iterate to the last one(can't find). + bool msaaLimit = msaaEnabled ? (params[6] > 0 && params[7] > 0) || (i == numConfig - 1) : (params[6] == 0 && params[7] == 0); + // performancePreferred ? [>=] : [<] , egl configurations store in "ascending order" + bool filter = (currScore < lastScore) ^ performancePreferred; + if ((filter || lastScore == 0) && msaaLimit) { + _eglConfig = _vecEGLConfig[i]; + depth = params[4]; + stencil = params[5]; + _sampleBuffers = params[6]; + _sampleCount = params[7]; + lastScore = currScore; + } + } + // Find a suitable EGLConfig // eglChooseConfig is provided by EGL to provide an easy way to select an appropriate configuration. It takes in the capabilities // specified in the attribute list, and returns a list of available configurations that match or exceed the capabilities requested. @@ -167,16 +241,7 @@ bool GLES2Context::doInit(const ContextInfo &info) { // advanced applications choose to do. For this application however, taking the first EGLConfig that the function returns suits // its needs perfectly, so we limit it to returning a single EGLConfig. - EGLint numConfigs; - if (eglChooseConfig(_eglDisplay, attribs, &_eglConfig, 1, &numConfigs) == EGL_FALSE || - numConfigs <= 0) { - CC_LOG_ERROR("Choosing configuration failed."); - return false; - } - - EGLint depth = attribs[13]; - EGLint stencil = attribs[15]; - CC_LOG_INFO("Setup EGLConfig: depth [%d] stencil [%d]", depth, stencil); + CC_LOG_INFO("Setup EGLConfig: depth [%d] stencil [%d] sampleBuffer [%d] sampleCount [%d]", depth, stencil, _sampleBuffers, _sampleCount); if (depth == 16 && stencil == 0) { _depthStencilFmt = Format::D16; @@ -315,6 +380,10 @@ bool GLES2Context::doInit(const ContextInfo &info) { void GLES2Context::doDestroy() { EGL_CHECK(eglMakeCurrent(_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); + if (!_vecEGLConfig.empty()) { + _vecEGLConfig.clear(); + } + if (_eglContext != EGL_NO_CONTEXT) { EGL_CHECK(eglDestroyContext(_eglDisplay, _eglContext)); _eglContext = EGL_NO_CONTEXT; @@ -365,8 +434,8 @@ void GLES2Context::acquireSurface(uintptr_t windowHandle) { } // Device's size will be updated after recreate window (in resize event) and is incorrect for now. auto *window = reinterpret_cast(_windowHandle); - uint width = ANativeWindow_getWidth(window); - uint height = ANativeWindow_getHeight(window); + uint width = ANativeWindow_getWidth(window); + uint height = ANativeWindow_getHeight(window); ANativeWindow_setBuffersGeometry(window, width, height, nFmt); EGL_CHECK(_eglSurface = eglCreateWindowSurface(_eglDisplay, _eglConfig, reinterpret_cast(_windowHandle), nullptr)); @@ -425,8 +494,12 @@ bool GLES2Context::makeCurrent(bool bound) { #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION && CC_PLATFORM != CC_PLATFORM_MAC_IOS GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); - GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); - GL_CHECK(glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL)); + if (glDebugMessageControlKHR) { + GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); + } + if (glDebugMessageCallbackKHR) { + GL_CHECK(glDebugMessageCallbackKHR(GLES2EGLDebugProc, NULL)); + } #endif ////////////////////////////////////////////////////////////////////////// diff --git a/native/cocos/renderer/gfx-gles2/GLES2Context.h b/native/cocos/renderer/gfx-gles2/GLES2Context.h index c39e9ef8fd..0c97a3dede 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Context.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Context.h @@ -25,6 +25,7 @@ #pragma once +#include #include "GLES2Std.h" #include "GLES2Wrangler.h" #include "gfx-base/GFXContext.h" @@ -54,9 +55,10 @@ public: CC_INLINE EGLContext eglContext() const { return _eglContext; } CC_INLINE EGLContext eglSharedCtx() const { return _eglSharedContext; } #endif - CC_INLINE bool makeCurrent() { return makeCurrent(true); } - CC_INLINE int majorVer() const { return _majorVersion; } - CC_INLINE int minorVer() const { return _minorVersion; } + CC_INLINE bool makeCurrent() { return makeCurrent(true); } + CC_INLINE int majorVer() const { return _majorVersion; } + CC_INLINE int minorVer() const { return _minorVersion; } + CC_INLINE uint8_t multiSampleCount() const { return _sampleCount; } bool makeCurrentImpl(bool bound); @@ -72,7 +74,10 @@ protected: bool doInit(const ContextInfo &info) override; void doDestroy() override; - bool _isPrimaryContex = false; + bool _isPrimaryContex = false; + bool _isInitialized = false; + uint8_t _sampleBuffers = 0; + uint8_t _sampleCount = 0; #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) intptr_t _eaglContext = 0; intptr_t _eaglSharedContext = 0; @@ -81,17 +86,17 @@ protected: uint _defaultColorBuffer = 0; uint _defaultDepthStencilBuffer = 0; #else - NativeDisplayType _nativeDisplay = 0; // NOLINT(modernize-use-nullptr) portability issues - EGLDisplay _eglDisplay = EGL_NO_DISPLAY; - EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; - EGLSurface _eglSurface = EGL_NO_SURFACE; - EGLContext _eglContext = EGL_NO_CONTEXT; - EGLContext _eglSharedContext = EGL_NO_CONTEXT; + NativeDisplayType _nativeDisplay = 0; // NOLINT(modernize-use-nullptr) portability issues + EGLDisplay _eglDisplay = EGL_NO_DISPLAY; + EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; + EGLSurface _eglSurface = EGL_NO_SURFACE; + EGLContext _eglContext = EGL_NO_CONTEXT; + EGLContext _eglSharedContext = EGL_NO_CONTEXT; + std::vector _vecEGLConfig; #endif int _majorVersion = 0; int _minorVersion = 0; StringArray _extensions; - bool _isInitialized = false; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 7ebee28910..10e9521fa9 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -62,9 +62,11 @@ GLES2Device::~GLES2Device() { GLES2Device::instance = nullptr; } -bool GLES2Device::doInit(const DeviceInfo & /*info*/) { +bool GLES2Device::doInit(const DeviceInfo & info) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; + ctxInfo.msaaEnabled = info.isAntiAlias; + ctxInfo.performance = Performance::HIGH_QUALITY; _renderContext = CC_NEW(GLES2Context); if (!_renderContext->initialize(ctxInfo)) { @@ -99,7 +101,7 @@ bool GLES2Device::doInit(const DeviceInfo & /*info*/) { _features[static_cast(Feature::FORMAT_R11G11B10F)] = true; _features[static_cast(Feature::FORMAT_D24S8)] = true; - _features[static_cast(Feature::MSAA)] = true; + _features[static_cast(Feature::MSAA)] = _renderContext->multiSampleCount() > 0; if (checkExtension("GL_OES_element_index_uint")) { _features[static_cast(Feature::ELEMENT_INDEX_UINT)] = true; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp index 80a07441b4..68e7e78ff8 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.cpp @@ -139,18 +139,95 @@ bool GLES3Context::doInit(const ContextInfo &info) { _colorFmt = Format::RGBA8; _depthStencilFmt = Format::D24S8; - const EGLint attribs[] = { + bool msaaEnabled = info.msaaEnabled; + EGLint redSize{8}, greenSize{8}, blueSize{8}, alphaSize{8}, depthSize{24}, stencilSize{8}, sampleBufferSize{msaaEnabled ? EGL_DONT_CARE : 0}, sampleSize{msaaEnabled ? EGL_DONT_CARE : 0}; + + EGLint defaultAttribs[] = { EGL_SURFACE_TYPE, EGL_WINDOW_BIT | EGL_PBUFFER_BIT, EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR, // EGL_BUFFER_SIZE, colorBuffSize, - EGL_BLUE_SIZE, 8, - EGL_GREEN_SIZE, 8, - EGL_RED_SIZE, 8, - EGL_ALPHA_SIZE, 8, - EGL_DEPTH_SIZE, 24, - EGL_STENCIL_SIZE, 8, + EGL_BLUE_SIZE, blueSize, + EGL_GREEN_SIZE, greenSize, + EGL_RED_SIZE, redSize, + EGL_ALPHA_SIZE, alphaSize, + EGL_DEPTH_SIZE, depthSize, + EGL_STENCIL_SIZE, stencilSize, + EGL_SAMPLE_BUFFERS, sampleBufferSize, + EGL_SAMPLES, sampleSize, EGL_NONE}; + int numConfig = 0; + unsigned int success = false; + do { + EGL_CHECK(success = eglChooseConfig(_eglDisplay, defaultAttribs, NULL, 0, &numConfig)); + } while (0); + if (success) { + _vecEGLConfig.resize(numConfig); + } else { + CC_LOG_ERROR("Query configuration failed."); + return false; + } + + int count = numConfig; + do { + EGL_CHECK(success = eglChooseConfig(_eglDisplay, defaultAttribs, _vecEGLConfig.data(), count, &numConfig)); + } while (0); + if (success == EGL_FALSE || !numConfig) { + CC_LOG_ERROR("eglChooseConfig configuration failed."); + return false; + } + + EGLint depth{0}, stencil{0}; + + const uint8_t attrNums = 8; + uint64_t lastScore{0}; + int params[attrNums] = {0}; + + const bool performancePreferred = info.performance == Performance::HIGH_QUALITY; + for (int i = 0; i < numConfig; i++) { + int depthValue{0}; + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_RED_SIZE, ¶ms[0]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_GREEN_SIZE, ¶ms[1]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_BLUE_SIZE, ¶ms[2]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_ALPHA_SIZE, ¶ms[3]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_DEPTH_SIZE, ¶ms[4]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_STENCIL_SIZE, ¶ms[5]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_SAMPLE_BUFFERS, ¶ms[6]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_SAMPLES, ¶ms[7]); + eglGetConfigAttrib(_eglDisplay, _vecEGLConfig[i], EGL_DEPTH_ENCODING_NV, &depthValue); + + int bNonLinearDepth = (depthValue == EGL_DEPTH_ENCODING_NONLINEAR_NV) ? 1 : 0; + + /*------------------------------------------ANGLE's priority-----------------------------------------------*/ + // Favor EGLConfigLists by RGB, then Depth, then Non-linear Depth, then Stencil, then Alpha + uint64_t currScore{0}; + currScore |= ((uint64_t)std::min(std::max(params[6], 0), 15)) << 29; + currScore |= ((uint64_t)std::min(std::max(params[7], 0), 31)) << 24; + currScore |= std::min(std::abs(params[0] - redSize) + + std::abs(params[1] - greenSize) + + std::abs(params[2] - blueSize), + 127) + << 17; + currScore |= std::min(std::abs(params[4] - depthSize), 63) << 11; + currScore |= std::min(std::abs(1 - bNonLinearDepth), 1) << 10; + currScore |= std::min(std::abs(params[5] - stencilSize), 31) << 6; + currScore |= std::min(std::abs(params[3] - alphaSize), 31) << 0; + /*------------------------------------------ANGLE's priority-----------------------------------------------*/ + + // if msaaEnabled, sampleBuffers and sampleCount should be greater than 0, until iterate to the last one(can't find). + bool msaaLimit = msaaEnabled ? (params[6] > 0 && params[7] > 0) || (i == numConfig - 1) : (params[6] == 0 && params[7] == 0); + // performancePreferred ? [>=] : [<] , egl configurations store in "ascending order" + bool filter = (currScore < lastScore) ^ performancePreferred; + if ((filter || lastScore == 0) && msaaLimit) { + _eglConfig = _vecEGLConfig[i]; + depth = params[4]; + stencil = params[5]; + _sampleBuffers = params[6]; + _sampleCount = params[7]; + lastScore = currScore; + } + } + // Find a suitable EGLConfig // eglChooseConfig is provided by EGL to provide an easy way to select an appropriate configuration. It takes in the capabilities // specified in the attribute list, and returns a list of available configurations that match or exceed the capabilities requested. @@ -160,15 +237,7 @@ bool GLES3Context::doInit(const ContextInfo &info) { // advanced applications choose to do. For this application however, taking the first EGLConfig that the function returns suits // its needs perfectly, so we limit it to returning a single EGLConfig. - EGLint numConfigs; - if (eglChooseConfig(_eglDisplay, attribs, &_eglConfig, 1, &numConfigs) == EGL_FALSE || numConfigs <= 0) { - CC_LOG_ERROR("Choosing configuration failed."); - return false; - } - - EGLint depth = attribs[13]; - EGLint stencil = attribs[15]; - CC_LOG_INFO("Setup EGLConfig: depth [%d] stencil [%d]", depth, stencil); + CC_LOG_INFO("Setup EGLConfig: depth [%d] stencil [%d] sampleBuffer [%d] sampleCount [%d]", depth, stencil, _sampleBuffers, _sampleCount); if (depth == 16 && stencil == 0) { _depthStencilFmt = Format::D16; @@ -316,6 +385,10 @@ bool GLES3Context::doInit(const ContextInfo &info) { void GLES3Context::doDestroy() { EGL_CHECK(eglMakeCurrent(_eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)); + if (!_vecEGLConfig.empty()) { + _vecEGLConfig.clear(); + } + if (_eglContext != EGL_NO_CONTEXT) { EGL_CHECK(eglDestroyContext(_eglDisplay, _eglContext)); _eglContext = EGL_NO_CONTEXT; @@ -426,8 +499,12 @@ bool GLES3Context::makeCurrent(bool bound) { #if CC_DEBUG > 0 && !FORCE_DISABLE_VALIDATION && CC_PLATFORM != CC_PLATFORM_MAC_IOS GL_CHECK(glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR)); - GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); - GL_CHECK(glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL)); + if (glDebugMessageControlKHR) { + GL_CHECK(glDebugMessageControlKHR(GL_DONT_CARE, GL_DONT_CARE, GL_DONT_CARE, 0, NULL, GL_TRUE)); + } + if (glDebugMessageCallbackKHR) { + GL_CHECK(glDebugMessageCallbackKHR(GLES3EGLDebugProc, NULL)); + } #endif ////////////////////////////////////////////////////////////////////////// diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.h b/native/cocos/renderer/gfx-gles3/GLES3Context.h index 97d54b4761..301ec7e732 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.h @@ -25,6 +25,7 @@ #pragma once +#include #include "GLES3Std.h" #include "GLES3Wrangler.h" #include "gfx-base/GFXContext.h" @@ -54,9 +55,10 @@ public: CC_INLINE EGLContext eglContext() const { return _eglContext; } CC_INLINE EGLContext eglSharedCtx() const { return _eglSharedContext; } #endif - CC_INLINE bool makeCurrent() { return makeCurrent(true); } - CC_INLINE int majorVer() const { return _majorVersion; } - CC_INLINE int minorVer() const { return _minorVersion; } + CC_INLINE bool makeCurrent() { return makeCurrent(true); } + CC_INLINE int majorVer() const { return _majorVersion; } + CC_INLINE int minorVer() const { return _minorVersion; } + CC_INLINE uint8_t multiSampleCount() const { return _sampleCount; } void releaseSurface(uintptr_t windowHandle); void acquireSurface(uintptr_t windowHandle); @@ -71,7 +73,10 @@ protected: bool doInit(const ContextInfo &info) override; void doDestroy() override; - bool _isPrimaryContex = false; + bool _isPrimaryContex = false; + bool _isInitialized = false; + uint8_t _sampleBuffers = 0; + uint8_t _sampleCount = 0; #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) intptr_t _eaglContext = 0; intptr_t _eaglSharedContext = 0; @@ -80,17 +85,17 @@ protected: uint _defaultColorBuffer = 0; uint _defaultDepthStencilBuffer = 0; #else - NativeDisplayType _nativeDisplay = 0; // NOLINT(modernize-use-nullptr) portability issues - EGLDisplay _eglDisplay = EGL_NO_DISPLAY; - EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; - EGLSurface _eglSurface = EGL_NO_SURFACE; - EGLContext _eglContext = EGL_NO_CONTEXT; - EGLContext _eglSharedContext = EGL_NO_CONTEXT; + NativeDisplayType _nativeDisplay = 0; // NOLINT(modernize-use-nullptr) portability issues + EGLDisplay _eglDisplay = EGL_NO_DISPLAY; + EGLConfig _eglConfig = EGL_NO_CONFIG_KHR; + EGLSurface _eglSurface = EGL_NO_SURFACE; + EGLContext _eglContext = EGL_NO_CONTEXT; + EGLContext _eglSharedContext = EGL_NO_CONTEXT; + std::vector _vecEGLConfig; #endif int _majorVersion = 0; int _minorVersion = 0; StringArray _extensions; - bool _isInitialized = false; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 3e81063d6c..62c4256443 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -63,9 +63,11 @@ GLES3Device::~GLES3Device() { GLES3Device::instance = nullptr; } -bool GLES3Device::doInit(const DeviceInfo & /*info*/) { +bool GLES3Device::doInit(const DeviceInfo & info) { ContextInfo ctxInfo; ctxInfo.windowHandle = _windowHandle; + ctxInfo.msaaEnabled = info.isAntiAlias; + ctxInfo.performance = Performance::HIGH_QUALITY; _renderContext = CC_NEW(GLES3Context); if (!_renderContext->initialize(ctxInfo)) { @@ -91,11 +93,11 @@ bool GLES3Device::doInit(const DeviceInfo & /*info*/) { String extStr = reinterpret_cast(glGetString(GL_EXTENSIONS)); _extensions = StringUtil::split(extStr, " "); + _features[static_cast(Feature::MSAA)] = _renderContext->multiSampleCount() > 0; _features[static_cast(Feature::TEXTURE_FLOAT)] = true; _features[static_cast(Feature::TEXTURE_HALF_FLOAT)] = true; _features[static_cast(Feature::FORMAT_R11G11B10F)] = true; _features[static_cast(Feature::FORMAT_D24S8)] = true; - _features[static_cast(Feature::MSAA)] = true; _features[static_cast(Feature::INSTANCED_ARRAYS)] = true; _features[static_cast(Feature::MULTIPLE_RENDER_TARGETS)] = true; _features[static_cast(Feature::BLEND_MINMAX)] = true; diff --git a/native/external/config.json b/native/external/config.json index b997a84de0..d0bbc3e3cc 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,9 +1,9 @@ { - "version": "v3d-gfx-40", + "version": "v3d-gfx-41", "from": { "type": "github", "owner": "cocos-creator", "name": "engine-native-external", - "checkout": "v3d-gfx-40" + "checkout": "v3d-gfx-41" } } From 601d97d9ae58b5f81627b5802315aaa9fbfa63e9 Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Sat, 17 Apr 2021 14:19:25 +0800 Subject: [PATCH 255/270] [ci skip][AUTO]: updating jsbinding automatically: d93b3b1f (#3421) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 284 +++++++++++++++++++++++++++ 1 file changed, 284 insertions(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 415e11e140..8971e92ad5 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -1033,6 +1033,14 @@ "extensions/cocos-ext.h", "external/CMakeLists.txt", "external/android/CMakeLists.txt", + "external/android/arm64-v8a/PhysX/libPhysXCharacterKinematic_static.a", + "external/android/arm64-v8a/PhysX/libPhysXCommon_static.a", + "external/android/arm64-v8a/PhysX/libPhysXCooking_static.a", + "external/android/arm64-v8a/PhysX/libPhysXExtensions_static.a", + "external/android/arm64-v8a/PhysX/libPhysXFoundation_static.a", + "external/android/arm64-v8a/PhysX/libPhysXPvdSDK_static.a", + "external/android/arm64-v8a/PhysX/libPhysXVehicle_static.a", + "external/android/arm64-v8a/PhysX/libPhysX_static.a", "external/android/arm64-v8a/glslang/libOGLCompiler.a", "external/android/arm64-v8a/glslang/libOSDependent.a", "external/android/arm64-v8a/glslang/libSPIRV.a", @@ -1310,6 +1318,14 @@ "external/android/arm64-v8a/libz.a", "external/android/arm64-v8a/v8/libinspector.a", "external/android/arm64-v8a/v8/libv8_monolith.a", + "external/android/armeabi-v7a/PhysX/libPhysXCharacterKinematic_static.a", + "external/android/armeabi-v7a/PhysX/libPhysXCommon_static.a", + "external/android/armeabi-v7a/PhysX/libPhysXCooking_static.a", + "external/android/armeabi-v7a/PhysX/libPhysXExtensions_static.a", + "external/android/armeabi-v7a/PhysX/libPhysXFoundation_static.a", + "external/android/armeabi-v7a/PhysX/libPhysXPvdSDK_static.a", + "external/android/armeabi-v7a/PhysX/libPhysXVehicle_static.a", + "external/android/armeabi-v7a/PhysX/libPhysX_static.a", "external/android/armeabi-v7a/glslang/libOGLCompiler.a", "external/android/armeabi-v7a/glslang/libOSDependent.a", "external/android/armeabi-v7a/glslang/libSPIRV.a", @@ -1898,6 +1914,14 @@ "external/android/x86/libz.a", "external/android/x86/v8/libinspector.a", "external/android/x86/v8/libv8_monolith.a", + "external/android/x86_64/PhysX/libPhysXCharacterKinematic_static.a", + "external/android/x86_64/PhysX/libPhysXCommon_static.a", + "external/android/x86_64/PhysX/libPhysXCooking_static.a", + "external/android/x86_64/PhysX/libPhysXExtensions_static.a", + "external/android/x86_64/PhysX/libPhysXFoundation_static.a", + "external/android/x86_64/PhysX/libPhysXPvdSDK_static.a", + "external/android/x86_64/PhysX/libPhysXVehicle_static.a", + "external/android/x86_64/PhysX/libPhysX_static.a", "external/android/x86_64/glslang/libOGLCompiler.a", "external/android/x86_64/glslang/libOSDependent.a", "external/android/x86_64/glslang/libSPIRV.a", @@ -2471,6 +2495,14 @@ "external/ios/include/websockets/lws_config-i386.h", "external/ios/include/websockets/lws_config-x86_64.h", "external/ios/include/websockets/lws_config.h", + "external/ios/libs/PhysX/libPhysXCharacterKinematic_static_64.a", + "external/ios/libs/PhysX/libPhysXCommon_static_64.a", + "external/ios/libs/PhysX/libPhysXCooking_static_64.a", + "external/ios/libs/PhysX/libPhysXExtensions_static_64.a", + "external/ios/libs/PhysX/libPhysXFoundation_static_64.a", + "external/ios/libs/PhysX/libPhysXPvdSDK_static_64.a", + "external/ios/libs/PhysX/libPhysXVehicle_static_64.a", + "external/ios/libs/PhysX/libPhysX_static_64.a", "external/ios/libs/glslang/libOGLCompiler.a", "external/ios/libs/glslang/libOSDependent.a", "external/ios/libs/glslang/libSPIRV.a", @@ -2817,6 +2849,14 @@ "external/mac/include/websockets/lws_config.h", "external/mac/include/zlib/zconf.h", "external/mac/include/zlib/zlib.h", + "external/mac/libs/PhysX/libPhysXCharacterKinematic_static_64.a", + "external/mac/libs/PhysX/libPhysXCommon_static_64.a", + "external/mac/libs/PhysX/libPhysXCooking_static_64.a", + "external/mac/libs/PhysX/libPhysXExtensions_static_64.a", + "external/mac/libs/PhysX/libPhysXFoundation_static_64.a", + "external/mac/libs/PhysX/libPhysXPvdSDK_static_64.a", + "external/mac/libs/PhysX/libPhysXVehicle_static_64.a", + "external/mac/libs/PhysX/libPhysX_static_64.a", "external/mac/libs/glslang/libOGLCompiler.a", "external/mac/libs/glslang/libOSDependent.a", "external/mac/libs/glslang/libSPIRV.a", @@ -2847,6 +2887,250 @@ "external/sources/ConvertUTF/ConvertUTF.c", "external/sources/ConvertUTF/ConvertUTF.h", "external/sources/ConvertUTF/ConvertUTFWrapper.cpp", + "external/sources/PhysX/PhysX/include/PxActor.h", + "external/sources/PhysX/PhysX/include/PxAggregate.h", + "external/sources/PhysX/PhysX/include/PxArticulation.h", + "external/sources/PhysX/PhysX/include/PxArticulationBase.h", + "external/sources/PhysX/PhysX/include/PxArticulationJoint.h", + "external/sources/PhysX/PhysX/include/PxArticulationJointReducedCoordinate.h", + "external/sources/PhysX/PhysX/include/PxArticulationLink.h", + "external/sources/PhysX/PhysX/include/PxArticulationReducedCoordinate.h", + "external/sources/PhysX/PhysX/include/PxBatchQuery.h", + "external/sources/PhysX/PhysX/include/PxBatchQueryDesc.h", + "external/sources/PhysX/PhysX/include/PxBroadPhase.h", + "external/sources/PhysX/PhysX/include/PxClient.h", + "external/sources/PhysX/PhysX/include/PxConfig.h", + "external/sources/PhysX/PhysX/include/PxConstraint.h", + "external/sources/PhysX/PhysX/include/PxConstraintDesc.h", + "external/sources/PhysX/PhysX/include/PxContact.h", + "external/sources/PhysX/PhysX/include/PxContactModifyCallback.h", + "external/sources/PhysX/PhysX/include/PxDeletionListener.h", + "external/sources/PhysX/PhysX/include/PxFiltering.h", + "external/sources/PhysX/PhysX/include/PxForceMode.h", + "external/sources/PhysX/PhysX/include/PxFoundation.h", + "external/sources/PhysX/PhysX/include/PxImmediateMode.h", + "external/sources/PhysX/PhysX/include/PxLockedData.h", + "external/sources/PhysX/PhysX/include/PxMaterial.h", + "external/sources/PhysX/PhysX/include/PxPhysXConfig.h", + "external/sources/PhysX/PhysX/include/PxPhysics.h", + "external/sources/PhysX/PhysX/include/PxPhysicsAPI.h", + "external/sources/PhysX/PhysX/include/PxPhysicsSerialization.h", + "external/sources/PhysX/PhysX/include/PxPhysicsVersion.h", + "external/sources/PhysX/PhysX/include/PxPruningStructure.h", + "external/sources/PhysX/PhysX/include/PxQueryFiltering.h", + "external/sources/PhysX/PhysX/include/PxQueryReport.h", + "external/sources/PhysX/PhysX/include/PxRigidActor.h", + "external/sources/PhysX/PhysX/include/PxRigidBody.h", + "external/sources/PhysX/PhysX/include/PxRigidDynamic.h", + "external/sources/PhysX/PhysX/include/PxRigidStatic.h", + "external/sources/PhysX/PhysX/include/PxScene.h", + "external/sources/PhysX/PhysX/include/PxSceneDesc.h", + "external/sources/PhysX/PhysX/include/PxSceneLock.h", + "external/sources/PhysX/PhysX/include/PxShape.h", + "external/sources/PhysX/PhysX/include/PxSimulationEventCallback.h", + "external/sources/PhysX/PhysX/include/PxSimulationStatistics.h", + "external/sources/PhysX/PhysX/include/PxVisualizationParameter.h", + "external/sources/PhysX/PhysX/include/characterkinematic/PxBoxController.h", + "external/sources/PhysX/PhysX/include/characterkinematic/PxCapsuleController.h", + "external/sources/PhysX/PhysX/include/characterkinematic/PxController.h", + "external/sources/PhysX/PhysX/include/characterkinematic/PxControllerBehavior.h", + "external/sources/PhysX/PhysX/include/characterkinematic/PxControllerManager.h", + "external/sources/PhysX/PhysX/include/characterkinematic/PxControllerObstacles.h", + "external/sources/PhysX/PhysX/include/characterkinematic/PxExtended.h", + "external/sources/PhysX/PhysX/include/collision/PxCollisionDefs.h", + "external/sources/PhysX/PhysX/include/common/PxBase.h", + "external/sources/PhysX/PhysX/include/common/PxCollection.h", + "external/sources/PhysX/PhysX/include/common/PxCoreUtilityTypes.h", + "external/sources/PhysX/PhysX/include/common/PxMetaData.h", + "external/sources/PhysX/PhysX/include/common/PxMetaDataFlags.h", + "external/sources/PhysX/PhysX/include/common/PxPhysXCommonConfig.h", + "external/sources/PhysX/PhysX/include/common/PxPhysicsInsertionCallback.h", + "external/sources/PhysX/PhysX/include/common/PxProfileZone.h", + "external/sources/PhysX/PhysX/include/common/PxRenderBuffer.h", + "external/sources/PhysX/PhysX/include/common/PxSerialFramework.h", + "external/sources/PhysX/PhysX/include/common/PxSerializer.h", + "external/sources/PhysX/PhysX/include/common/PxStringTable.h", + "external/sources/PhysX/PhysX/include/common/PxTolerancesScale.h", + "external/sources/PhysX/PhysX/include/common/PxTypeInfo.h", + "external/sources/PhysX/PhysX/include/common/windows/PxWindowsDelayLoadHook.h", + "external/sources/PhysX/PhysX/include/cooking/PxBVH33MidphaseDesc.h", + "external/sources/PhysX/PhysX/include/cooking/PxBVH34MidphaseDesc.h", + "external/sources/PhysX/PhysX/include/cooking/PxBVHStructureDesc.h", + "external/sources/PhysX/PhysX/include/cooking/PxConvexMeshDesc.h", + "external/sources/PhysX/PhysX/include/cooking/PxCooking.h", + "external/sources/PhysX/PhysX/include/cooking/PxMidphaseDesc.h", + "external/sources/PhysX/PhysX/include/cooking/PxTriangleMeshDesc.h", + "external/sources/PhysX/PhysX/include/cooking/Pxc.h", + "external/sources/PhysX/PhysX/include/cudamanager/PxCudaContextManager.h", + "external/sources/PhysX/PhysX/include/cudamanager/PxCudaMemoryManager.h", + "external/sources/PhysX/PhysX/include/extensions/PxBinaryConverter.h", + "external/sources/PhysX/PhysX/include/extensions/PxBroadPhaseExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxCollectionExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxConstraintExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxContactJoint.h", + "external/sources/PhysX/PhysX/include/extensions/PxConvexMeshExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxD6Joint.h", + "external/sources/PhysX/PhysX/include/extensions/PxD6JointCreate.h", + "external/sources/PhysX/PhysX/include/extensions/PxDefaultAllocator.h", + "external/sources/PhysX/PhysX/include/extensions/PxDefaultCpuDispatcher.h", + "external/sources/PhysX/PhysX/include/extensions/PxDefaultErrorCallback.h", + "external/sources/PhysX/PhysX/include/extensions/PxDefaultSimulationFilterShader.h", + "external/sources/PhysX/PhysX/include/extensions/PxDefaultStreams.h", + "external/sources/PhysX/PhysX/include/extensions/PxDistanceJoint.h", + "external/sources/PhysX/PhysX/include/extensions/PxExtensionsAPI.h", + "external/sources/PhysX/PhysX/include/extensions/PxFixedJoint.h", + "external/sources/PhysX/PhysX/include/extensions/PxJoint.h", + "external/sources/PhysX/PhysX/include/extensions/PxJointLimit.h", + "external/sources/PhysX/PhysX/include/extensions/PxMassProperties.h", + "external/sources/PhysX/PhysX/include/extensions/PxPrismaticJoint.h", + "external/sources/PhysX/PhysX/include/extensions/PxRaycastCCD.h", + "external/sources/PhysX/PhysX/include/extensions/PxRepXSerializer.h", + "external/sources/PhysX/PhysX/include/extensions/PxRepXSimpleType.h", + "external/sources/PhysX/PhysX/include/extensions/PxRevoluteJoint.h", + "external/sources/PhysX/PhysX/include/extensions/PxRigidActorExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxRigidBodyExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxSceneQueryExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxSerialization.h", + "external/sources/PhysX/PhysX/include/extensions/PxShapeExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxSimpleFactory.h", + "external/sources/PhysX/PhysX/include/extensions/PxSmoothNormals.h", + "external/sources/PhysX/PhysX/include/extensions/PxSphericalJoint.h", + "external/sources/PhysX/PhysX/include/extensions/PxStringTableExt.h", + "external/sources/PhysX/PhysX/include/extensions/PxTriangleMeshExt.h", + "external/sources/PhysX/PhysX/include/filebuf/PxFileBuf.h", + "external/sources/PhysX/PhysX/include/foundation/PxAssert.h", + "external/sources/PhysX/PhysX/include/foundation/PxFoundationConfig.h", + "external/sources/PhysX/PhysX/include/foundation/PxMathUtils.h", + "external/sources/PhysX/PhysX/include/geometry/PxBVHStructure.h", + "external/sources/PhysX/PhysX/include/geometry/PxBoxGeometry.h", + "external/sources/PhysX/PhysX/include/geometry/PxCapsuleGeometry.h", + "external/sources/PhysX/PhysX/include/geometry/PxConvexMesh.h", + "external/sources/PhysX/PhysX/include/geometry/PxConvexMeshGeometry.h", + "external/sources/PhysX/PhysX/include/geometry/PxGeometry.h", + "external/sources/PhysX/PhysX/include/geometry/PxGeometryHelpers.h", + "external/sources/PhysX/PhysX/include/geometry/PxGeometryQuery.h", + "external/sources/PhysX/PhysX/include/geometry/PxHeightField.h", + "external/sources/PhysX/PhysX/include/geometry/PxHeightFieldDesc.h", + "external/sources/PhysX/PhysX/include/geometry/PxHeightFieldFlag.h", + "external/sources/PhysX/PhysX/include/geometry/PxHeightFieldGeometry.h", + "external/sources/PhysX/PhysX/include/geometry/PxHeightFieldSample.h", + "external/sources/PhysX/PhysX/include/geometry/PxMeshQuery.h", + "external/sources/PhysX/PhysX/include/geometry/PxMeshScale.h", + "external/sources/PhysX/PhysX/include/geometry/PxPlaneGeometry.h", + "external/sources/PhysX/PhysX/include/geometry/PxSimpleTriangleMesh.h", + "external/sources/PhysX/PhysX/include/geometry/PxSphereGeometry.h", + "external/sources/PhysX/PhysX/include/geometry/PxTriangle.h", + "external/sources/PhysX/PhysX/include/geometry/PxTriangleMesh.h", + "external/sources/PhysX/PhysX/include/geometry/PxTriangleMeshGeometry.h", + "external/sources/PhysX/PhysX/include/geomutils/GuContactBuffer.h", + "external/sources/PhysX/PhysX/include/geomutils/GuContactPoint.h", + "external/sources/PhysX/PhysX/include/gpu/PxGpu.h", + "external/sources/PhysX/PhysX/include/pvd/PxPvd.h", + "external/sources/PhysX/PhysX/include/pvd/PxPvdSceneClient.h", + "external/sources/PhysX/PhysX/include/pvd/PxPvdTransport.h", + "external/sources/PhysX/PhysX/include/solver/PxSolverDefs.h", + "external/sources/PhysX/PhysX/include/task/PxCpuDispatcher.h", + "external/sources/PhysX/PhysX/include/task/PxTask.h", + "external/sources/PhysX/PhysX/include/task/PxTaskDefine.h", + "external/sources/PhysX/PhysX/include/task/PxTaskManager.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleComponents.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleDrive.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleDrive4W.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleDriveNW.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleDriveTank.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleNoDrive.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleSDK.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleShaders.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleTireFriction.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleUpdate.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleUtil.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleUtilControl.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleUtilSetup.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleUtilTelemetry.h", + "external/sources/PhysX/PhysX/include/vehicle/PxVehicleWheels.h", + "external/sources/PhysX/PhysX/source/fastxml/include/PsFastXml.h", + "external/sources/PhysX/PhysX/source/foundation/include/Ps.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsAlignedMalloc.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsAlloca.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsAllocator.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsAoS.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsArray.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsAtomic.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsBasicTemplates.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsBitUtils.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsBroadcast.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsCpu.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsFPU.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsFoundation.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsHash.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsHashInternals.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsHashMap.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsHashSet.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsInlineAllocator.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsInlineAoS.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsInlineArray.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsIntrinsics.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsMathUtils.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsMutex.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsPool.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsSList.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsSocket.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsSort.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsSortInternals.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsString.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsSync.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsTempAllocator.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsThread.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsTime.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsUserAllocated.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsUtilities.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsVecMath.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsVecMathAoSScalar.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsVecMathAoSScalarInline.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsVecMathSSE.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsVecMathUtilities.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsVecQuat.h", + "external/sources/PhysX/PhysX/source/foundation/include/PsVecTransform.h", + "external/sources/PhysX/PhysX/source/foundation/include/unix/PsUnixAoS.h", + "external/sources/PhysX/PhysX/source/foundation/include/unix/PsUnixFPU.h", + "external/sources/PhysX/PhysX/source/foundation/include/unix/PsUnixInlineAoS.h", + "external/sources/PhysX/PhysX/source/foundation/include/unix/PsUnixIntrinsics.h", + "external/sources/PhysX/PhysX/source/foundation/include/unix/PsUnixTrigConstants.h", + "external/sources/PhysX/PhysX/source/foundation/include/unix/neon/PsUnixNeonAoS.h", + "external/sources/PhysX/PhysX/source/foundation/include/unix/neon/PsUnixNeonInlineAoS.h", + "external/sources/PhysX/PhysX/source/foundation/include/windows/PsWindowsAoS.h", + "external/sources/PhysX/PhysX/source/foundation/include/windows/PsWindowsFPU.h", + "external/sources/PhysX/PhysX/source/foundation/include/windows/PsWindowsInclude.h", + "external/sources/PhysX/PhysX/source/foundation/include/windows/PsWindowsInlineAoS.h", + "external/sources/PhysX/PhysX/source/foundation/include/windows/PsWindowsIntrinsics.h", + "external/sources/PhysX/PhysX/source/foundation/include/windows/PsWindowsTrigConstants.h", + "external/sources/PhysX/PxShared/include/foundation/Px.h", + "external/sources/PhysX/PxShared/include/foundation/PxAllocatorCallback.h", + "external/sources/PhysX/PxShared/include/foundation/PxBitAndData.h", + "external/sources/PhysX/PxShared/include/foundation/PxBounds3.h", + "external/sources/PhysX/PxShared/include/foundation/PxErrorCallback.h", + "external/sources/PhysX/PxShared/include/foundation/PxErrors.h", + "external/sources/PhysX/PxShared/include/foundation/PxFlags.h", + "external/sources/PhysX/PxShared/include/foundation/PxIO.h", + "external/sources/PhysX/PxShared/include/foundation/PxIntrinsics.h", + "external/sources/PhysX/PxShared/include/foundation/PxMat33.h", + "external/sources/PhysX/PxShared/include/foundation/PxMat44.h", + "external/sources/PhysX/PxShared/include/foundation/PxMath.h", + "external/sources/PhysX/PxShared/include/foundation/PxMemory.h", + "external/sources/PhysX/PxShared/include/foundation/PxPlane.h", + "external/sources/PhysX/PxShared/include/foundation/PxPreprocessor.h", + "external/sources/PhysX/PxShared/include/foundation/PxProfiler.h", + "external/sources/PhysX/PxShared/include/foundation/PxQuat.h", + "external/sources/PhysX/PxShared/include/foundation/PxSharedAssert.h", + "external/sources/PhysX/PxShared/include/foundation/PxSimpleTypes.h", + "external/sources/PhysX/PxShared/include/foundation/PxStrideIterator.h", + "external/sources/PhysX/PxShared/include/foundation/PxTransform.h", + "external/sources/PhysX/PxShared/include/foundation/PxUnionCast.h", + "external/sources/PhysX/PxShared/include/foundation/PxVec2.h", + "external/sources/PhysX/PxShared/include/foundation/PxVec3.h", + "external/sources/PhysX/PxShared/include/foundation/PxVec4.h", + "external/sources/PhysX/PxShared/include/foundation/unix/PxUnixIntrinsics.h", + "external/sources/PhysX/PxShared/include/foundation/windows/PxWindowsIntrinsics.h", "external/sources/SocketRocket/CMakeLists.txt", "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.h", "external/sources/SocketRocket/Internal/Delegate/SRDelegateController.m", From ea76fa196aa5be55170b81187af07398dacdcee0 Mon Sep 17 00:00:00 2001 From: minggo Date: Mon, 19 Apr 2021 09:36:59 +0800 Subject: [PATCH 256/270] update external (#3420) --- native/external/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/external/config.json b/native/external/config.json index d0bbc3e3cc..39ac96e471 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,9 +1,9 @@ { - "version": "v3d-gfx-41", + "version": "v3d-gfx-42", "from": { "type": "github", "owner": "cocos-creator", "name": "engine-native-external", - "checkout": "v3d-gfx-41" + "checkout": "v3d-gfx-42" } } From 59f9881e58c11157c1021556b9048fda03c71fa0 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Mon, 19 Apr 2021 09:37:47 +0800 Subject: [PATCH 257/270] Optimize the performance of the memory pool. (#3414) --- native/cocos/bindings/dop/BufferAllocator.cpp | 17 +- native/cocos/bindings/dop/BufferAllocator.h | 66 ++- native/cocos/bindings/dop/BufferPool.cpp | 16 +- native/cocos/bindings/dop/BufferPool.h | 28 +- native/cocos/bindings/dop/ObjectPool.cpp | 21 +- native/cocos/bindings/dop/ObjectPool.h | 43 +- native/cocos/bindings/dop/PoolType.h | 20 +- native/cocos/bindings/dop/jsb_dop.cpp | 113 +++-- native/cocos/bindings/dop/jsb_dop.h | 2 +- .../renderer/pipeline/InstancedBuffer.cpp | 30 +- .../renderer/pipeline/PlanarShadowQueue.cpp | 78 ++-- .../pipeline/RenderAdditiveLightQueue.cpp | 38 +- .../cocos/renderer/pipeline/SceneCulling.cpp | 179 ++++--- .../pipeline/ShadowMapBatchedQueue.cpp | 50 +- .../pipeline/deferred/DeferredPipeline.cpp | 54 +-- .../pipeline/deferred/DeferredPipeline.h | 57 ++- .../renderer/pipeline/helper/SharedMemory.cpp | 112 ++--- .../renderer/pipeline/helper/SharedMemory.h | 441 +++++++++--------- 18 files changed, 728 insertions(+), 637 deletions(-) diff --git a/native/cocos/bindings/dop/BufferAllocator.cpp b/native/cocos/bindings/dop/BufferAllocator.cpp index 83b1953f89..845787fa18 100644 --- a/native/cocos/bindings/dop/BufferAllocator.cpp +++ b/native/cocos/bindings/dop/BufferAllocator.cpp @@ -29,11 +29,13 @@ namespace se { -cc::map BufferAllocator::_pools; +cc::vector BufferAllocator::pools(BUFFER_ALLOCATOR_SIZE); BufferAllocator::BufferAllocator(PoolType type) : _type(type) { - BufferAllocator::_pools[_type] = this; + if (IS_BUFFER_ALLOCATOR_TYPE(type)) { + BufferAllocator::pools[GET_ARRAY_POOL_ID(type)] = this; + } } BufferAllocator::~BufferAllocator() { @@ -41,7 +43,7 @@ BufferAllocator::~BufferAllocator() { buffer.second->decRef(); } _buffers.clear(); - BufferAllocator::_pools.erase(_type); + _caches.clear(); } Object *BufferAllocator::alloc(uint index, uint bytes) { @@ -53,6 +55,11 @@ Object *BufferAllocator::alloc(uint index, uint bytes) { obj->incRef(); _buffers[index] = obj; + uint8_t *ret = nullptr; + size_t len; + obj->getArrayBufferData(static_cast(&ret), &len); + _caches[index] = ret; + return obj; } @@ -62,6 +69,10 @@ void BufferAllocator::free(uint index) { oldObj->decRef(); _buffers.erase(index); } + + if (_caches.count(index)) { + _caches.erase(index); + } } } // namespace se diff --git a/native/cocos/bindings/dop/BufferAllocator.h b/native/cocos/bindings/dop/BufferAllocator.h index d6e1b9ea11..8393d54a03 100644 --- a/native/cocos/bindings/dop/BufferAllocator.h +++ b/native/cocos/bindings/dop/BufferAllocator.h @@ -37,42 +37,58 @@ namespace se { class CC_DLL BufferAllocator final : public cc::Object { public: template - CC_INLINE static T *getBuffer(PoolType type, uint index) { - uint size = 0; - return BufferAllocator::getBuffer(type, index, &size); + static T *getBuffer(PoolType type, uint index) { + index &= BUFFER_MASK; + const auto p = GET_ARRAY_POOL_ID(type); + +#ifdef CC_DEBUG + CCASSERT(BufferAllocator::pools[p] != nullptr, "BufferPool: Invalid buffer pool type"); +#endif + + auto *const pool = BufferAllocator::pools[p]; + +#ifdef CC_DEBUG + CCASSERT(pool->_caches.count(index) != 0, "BufferPool: Invalid buffer pool index"); +#endif + + return reinterpret_cast(pool->_caches[index]); } template static T *getBuffer(PoolType type, uint index, uint *size) { - index &= _bufferMask; - if (BufferAllocator::_pools.count(type) != 0) { - const auto pool = BufferAllocator::_pools[type]; - if (pool->_buffers.count(index) != 0) { - T *ret = nullptr; - size_t len; - pool->_buffers[index]->getArrayBufferData((uint8_t **)&ret, &len); - *size = (uint)len; - return ret; - } else { - return nullptr; - } - } else { - return nullptr; - } + index &= BUFFER_MASK; + const auto p = GET_ARRAY_POOL_ID(type); + +#ifdef CC_DEBUG + CCASSERT(BufferAllocator::pools[p] != nullptr, "BufferPool: Invalid buffer pool type"); +#endif + + auto *const pool = BufferAllocator::pools[p]; + +#ifdef CC_DEBUG + CCASSERT(pool->_buffers.count(index) != 0, "BufferPool: Invalid buffer pool index"); +#endif + + T * ret = nullptr; + size_t len; + pool->_buffers[index]->getArrayBufferData(static_cast(&ret), &len); + *size = static_cast(len); + return ret; } - BufferAllocator(PoolType type); - ~BufferAllocator(); + explicit BufferAllocator(PoolType type); + ~BufferAllocator() override; Object *alloc(uint index, uint bytes); - void free(uint index); + void free(uint index); private: - static cc::map _pools; - static constexpr uint _bufferMask = ~(1 << 30); + static cc::vector pools; + static constexpr uint BUFFER_MASK = ~(1 << 30); - cc::map _buffers; - PoolType _type = PoolType::UNKNOWN; + cc::map _buffers; + cc::map _caches; + PoolType _type = PoolType::UNKNOWN; }; } // namespace se diff --git a/native/cocos/bindings/dop/BufferPool.cpp b/native/cocos/bindings/dop/BufferPool.cpp index 78057be3c9..c579543d89 100644 --- a/native/cocos/bindings/dop/BufferPool.cpp +++ b/native/cocos/bindings/dop/BufferPool.cpp @@ -29,33 +29,29 @@ namespace se { -cc::map BufferPool::_poolMap; +cc::vector BufferPool::poolMap(BUFFER_POOL_SIZE); BufferPool::BufferPool(PoolType type, uint entryBits, uint bytesPerEntry) : _allocator(type), _entryBits(entryBits), _bytesPerEntry(bytesPerEntry), _type(type) { - CCASSERT(BufferPool::_poolMap.count(type) == 0, "The type of pool is already exist"); - _entriesPerChunk = 1 << entryBits; - _entryMask = _entriesPerChunk - 1; - _chunkMask = 0xffffffff & ~(_entryMask | _poolFlag); + _entryMask = _entriesPerChunk - 1; + _chunkMask = 0xffffffff & ~(_entryMask | POOL_FLAG); _bytesPerChunk = _bytesPerEntry * _entriesPerChunk; - BufferPool::_poolMap[type] = this; + BufferPool::poolMap[GET_BUFFER_POOL_ID(type)] = this; } -BufferPool::~BufferPool() { - BufferPool::_poolMap.erase(_type); -} +BufferPool::~BufferPool() = default; Object *BufferPool::allocateNewChunk() { Object *jsObj = _allocator.alloc(static_cast(_chunks.size()), _bytesPerChunk); uint8_t *realPtr = nullptr; - size_t len = 0; + size_t len = 0; jsObj->getArrayBufferData(&realPtr, &len); _chunks.push_back(realPtr); diff --git a/native/cocos/bindings/dop/BufferPool.h b/native/cocos/bindings/dop/BufferPool.h index 275f1e731f..86b331d5e2 100644 --- a/native/cocos/bindings/dop/BufferPool.h +++ b/native/cocos/bindings/dop/BufferPool.h @@ -25,8 +25,8 @@ #pragma once -#include "PoolType.h" #include "BufferAllocator.h" +#include "PoolType.h" #include "cocos/base/Macros.h" #include "cocos/base/Object.h" #include "cocos/base/TypeDef.h" @@ -39,11 +39,11 @@ class CC_DLL BufferPool final : public cc::Object { public: using Chunk = uint8_t *; - CC_INLINE static const cc::map &getPoolMap() { return BufferPool::_poolMap; } - CC_INLINE static const uint getPoolFlag() { return _poolFlag; } + CC_INLINE static const cc::vector &getPoolMap() { return BufferPool::poolMap; } + CC_INLINE static uint getPoolFlag() { return POOL_FLAG; } BufferPool(PoolType type, uint entryBits, uint bytesPerEntry); - ~BufferPool(); + ~BufferPool() override; template T *getTypedObject(uint id) const { @@ -56,18 +56,18 @@ public: Object *allocateNewChunk(); private: - static cc::map _poolMap; - static constexpr uint _poolFlag = 1 << 30; + static cc::vector poolMap; + static constexpr uint POOL_FLAG = 1 << 30; - BufferAllocator _allocator; + BufferAllocator _allocator; cc::vector _chunks; - uint _entryBits = 1 << 8; - uint _chunkMask = 0; - uint _entryMask = 0; - uint _bytesPerChunk = 0; - uint _entriesPerChunk = 0; - uint _bytesPerEntry = 0; - PoolType _type = PoolType::UNKNOWN; + uint _entryBits = 1 << 8; + uint _chunkMask = 0; + uint _entryMask = 0; + uint _bytesPerChunk = 0; + uint _entriesPerChunk = 0; + uint _bytesPerEntry = 0; + PoolType _type = PoolType::UNKNOWN; }; } // namespace se diff --git a/native/cocos/bindings/dop/ObjectPool.cpp b/native/cocos/bindings/dop/ObjectPool.cpp index 27a751a786..b3bbf0fc78 100644 --- a/native/cocos/bindings/dop/ObjectPool.cpp +++ b/native/cocos/bindings/dop/ObjectPool.cpp @@ -26,22 +26,29 @@ #include "ObjectPool.h" #include "base/memory/Memory.h" -using namespace se; - -cc::map ObjectPool::_poolMap; +namespace se { +cc::vector ObjectPool::poolMap(CAST_POOL_TYPE(PoolType::FRAMEBUFFER)); ObjectPool::ObjectPool(PoolType type, Object *jsArr) : _type(type), _jsArr(jsArr) { CCASSERT(jsArr->isArray(), "ObjectPool: It must be initialized with a JavaScript array"); - CCASSERT(ObjectPool::_poolMap.count(type) == 0, "This type of ObjectPool already exists."); _jsArr->incRef(); - _indexMask = 0xffffffff & ~_poolFlag; - ObjectPool::_poolMap.emplace(type, this); + _indexMask = 0xffffffff & ~_poolFlag; + ObjectPool::poolMap[GET_OBJECT_POOL_ID(type)] = this; } ObjectPool::~ObjectPool() { _jsArr->decRef(); - ObjectPool::_poolMap.erase(_type); + _array.clear(); } + +void ObjectPool::bind(uint id, Object *obj) { + if (id >= _array.size()) { + _array.push_back(obj); + } else { + _array[id] = obj; + } +} +} // namespace se diff --git a/native/cocos/bindings/dop/ObjectPool.h b/native/cocos/bindings/dop/ObjectPool.h index f485c6594c..b3cb67baef 100644 --- a/native/cocos/bindings/dop/ObjectPool.h +++ b/native/cocos/bindings/dop/ObjectPool.h @@ -25,48 +25,43 @@ #pragma once -#include "cocos/base/Object.h" -#include "cocos/bindings/jswrapper/Object.h" -#include "cocos/base/memory/StlAlloc.h" -#include "cocos/base/Macros.h" -#include "cocos/base/TypeDef.h" #include "PoolType.h" +#include "cocos/base/Macros.h" +#include "cocos/base/Object.h" +#include "cocos/base/TypeDef.h" +#include "cocos/base/memory/StlAlloc.h" +#include "cocos/bindings/jswrapper/Object.h" namespace se { class CC_DLL ObjectPool final : public cc::Object { public: - CC_INLINE static const cc::map &getPoolMap() { return ObjectPool::_poolMap; } + CC_INLINE static const cc::vector &getPoolMap() { return ObjectPool::poolMap; } ObjectPool(PoolType type, Object *jsArr); - ~ObjectPool(); + ~ObjectPool() override; template Type *getTypedObject(uint id) const { id = _indexMask & id; - bool ok = true; + #ifdef CC_DEBUG - uint len = 0; - ok = _jsArr->getArrayLength(&len); - CCASSERT(ok && id < len, "ObjectPool: Invalid buffer pool entry id"); + CCASSERT(id < _array.size(), "ObjectPool: Invalid buffer pool entry id"); #endif - se::Value jsEntry; - ok = _jsArr->getArrayElement(id, &jsEntry); - if (!ok || !jsEntry.isObject()) { - return nullptr; - } - Type *entry = (Type *)jsEntry.toObject()->getPrivateData(); - return entry; + return static_cast(_array[id]->getPrivateData()); } -private: - static cc::map _poolMap; + void bind(uint id, Object *); - PoolType _type = PoolType::SHADER; - Object *_jsArr = nullptr; - uint _poolFlag = 1 << 29; - uint _indexMask = 0; +private: + static cc::vector poolMap; + + cc::vector _array; + PoolType _type = PoolType::SHADER; + Object * _jsArr = nullptr; + uint _poolFlag = 1 << 29; + uint _indexMask = 0; }; } // namespace se diff --git a/native/cocos/bindings/dop/PoolType.h b/native/cocos/bindings/dop/PoolType.h index d34a45e600..f4f88631eb 100644 --- a/native/cocos/bindings/dop/PoolType.h +++ b/native/cocos/bindings/dop/PoolType.h @@ -26,6 +26,24 @@ #pragma once namespace se { + +#define CAST_POOL_TYPE(type) static_cast(type) + +#define BUFFER_POOL_BEGIN CAST_POOL_TYPE(se::PoolType::PASS) +#define ARRAY_POOL_BEGIN CAST_POOL_TYPE(se::PoolType::SUB_MODEL_ARRAY) +#define RAW_BUFFER_BEGIN CAST_POOL_TYPE(se::PoolType::RAW_BUFFER) + +#define OBJECT_POOL_SIZE CAST_POOL_TYPE(se::PoolType::FRAMEBUFFER) + 1 +#define BUFFER_POOL_SIZE CAST_POOL_TYPE(se::PoolType::PIPELINE_SHARED_SCENE_DATA) - BUFFER_POOL_BEGIN + 1 +#define ARRAY_POOL_SIZE CAST_POOL_TYPE(se::PoolType::UI_BATCH_ARRAY) - ARRAY_POOL_BEGIN + 1 +#define RAW_BUFFER_SIZE CAST_POOL_TYPE(se::PoolType::RAW_BUFFER) - CAST_POOL_TYPE(se::PoolType::RAW_BUFFER) + 1 +#define BUFFER_ALLOCATOR_SIZE (ARRAY_POOL_SIZE + RAW_BUFFER_SIZE) + +#define GET_OBJECT_POOL_ID(type) CAST_POOL_TYPE(type) +#define GET_BUFFER_POOL_ID(type) CAST_POOL_TYPE(type) - BUFFER_POOL_BEGIN +#define GET_ARRAY_POOL_ID(type) CAST_POOL_TYPE(type) >= RAW_BUFFER_BEGIN ? (CAST_POOL_TYPE(type) - RAW_BUFFER_BEGIN + ARRAY_POOL_SIZE) : CAST_POOL_TYPE(type) - ARRAY_POOL_BEGIN +#define IS_BUFFER_ALLOCATOR_TYPE(type) CAST_POOL_TYPE(type) >= ARRAY_POOL_BEGIN + enum class PoolType { // objects ATTRIBUTE, @@ -76,4 +94,4 @@ enum class PoolType { RAW_BUFFER = 300, UNKNOWN }; -} +} // namespace se diff --git a/native/cocos/bindings/dop/jsb_dop.cpp b/native/cocos/bindings/dop/jsb_dop.cpp index 6fd9137741..96b1b68545 100644 --- a/native/cocos/bindings/dop/jsb_dop.cpp +++ b/native/cocos/bindings/dop/jsb_dop.cpp @@ -25,20 +25,20 @@ #include "jsb_dop.h" +#include "BufferAllocator.h" #include "BufferPool.h" #include "ObjectPool.h" -#include "BufferAllocator.h" -#include "cocos/bindings/manual/jsb_global.h" #include "cocos/bindings/manual/jsb_classtype.h" #include "cocos/bindings/manual/jsb_conversions.h" +#include "cocos/bindings/manual/jsb_global.h" /******************************************************** BufferPool binding *******************************************************/ -se::Class *jsb_BufferPool_class = nullptr; +se::Class *jsb_BufferPool_class = nullptr; // NOLINT -static bool jsb_BufferPool_allocateNewChunk(se::State &s) { - se::BufferPool *pool = (se::BufferPool *)s.nativeThisObject(); +static bool jsb_BufferPool_allocateNewChunk(se::State &s) { // NOLINT + auto *pool = static_cast(s.nativeThisObject()); SE_PRECONDITION2(pool, false, "jsb_BufferPool_allocateNewChunk : Invalid Native Object"); s.rval().setObject(pool->allocateNewChunk()); return true; @@ -47,12 +47,12 @@ SE_BIND_FUNC(jsb_BufferPool_allocateNewChunk); SE_DECLARE_FINALIZE_FUNC(jsb_BufferPool_finalize) -static bool jsb_BufferPool_constructor(se::State &s) { +static bool jsb_BufferPool_constructor(se::State &s) { // NOLINT const auto &args = s.args(); - size_t argc = args.size(); + size_t argc = args.size(); if (argc == 3) { - uint poolType = 0; - uint entryBits = 0; + uint poolType = 0; + uint entryBits = 0; uint bytesPerEntry = 0; bool ok = true; @@ -73,27 +73,27 @@ static bool jsb_BufferPool_constructor(se::State &s) { SE_REPORT_ERROR("jsb_BufferPool_constructor: wrong number of arguments: %d", (int)argc); return false; } -SE_BIND_CTOR(jsb_BufferPool_constructor, jsb_BufferPool_class, jsb_BufferPool_finalize) +SE_BIND_CTOR(jsb_BufferPool_constructor, jsb_BufferPool_class, jsb_BufferPool_finalize) // NOLINT -static bool jsb_BufferPool_finalize(se::State &s) { +static bool jsb_BufferPool_finalize(se::State &s) { // NOLINT auto iter = se::NonRefNativePtrCreatedByCtorMap::find(s.nativeThisObject()); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - se::BufferPool *cobj = (se::BufferPool *)s.nativeThisObject(); + auto *cobj = static_cast(s.nativeThisObject()); JSB_FREE(cobj); } return true; } SE_BIND_FINALIZE_FUNC(jsb_BufferPool_finalize) -static bool js_register_se_BufferPool(se::Object *obj) { +static bool js_register_se_BufferPool(se::Object *obj) { // NOLINT se::Class *cls = se::Class::create("NativeBufferPool", obj, nullptr, _SE(jsb_BufferPool_constructor)); cls->defineFunction("allocateNewChunk", _SE(jsb_BufferPool_allocateNewChunk)); cls->install(); JSBClassType::registerClass(cls); - jsb_BufferPool_class = cls; + jsb_BufferPool_class = cls; // NOLINT se::ScriptEngine::getInstance()->clearException(); return true; @@ -102,16 +102,16 @@ static bool js_register_se_BufferPool(se::Object *obj) { /*************************************************** ObjectPool binding *****************************************************/ -static se::Class *jsb_ObjectPool_class = nullptr; +static se::Class *jsb_ObjectPool_class = nullptr; // NOLINT SE_DECLARE_FINALIZE_FUNC(jsb_ObjectPool_finalize) -static bool jsb_ObjectPool_constructor(se::State &s) { +static bool jsb_ObjectPool_constructor(se::State &s) { // NOLINT const auto &args = s.args(); - size_t argc = args.size(); + size_t argc = args.size(); if (argc == 2) { uint poolType = 0; - bool ok = true; + bool ok = true; ok &= seval_to_uint(args[0], &poolType); if (!args[1].isObject()) { @@ -131,23 +131,48 @@ static bool jsb_ObjectPool_constructor(se::State &s) { } SE_BIND_CTOR(jsb_ObjectPool_constructor, jsb_ObjectPool_class, jsb_ObjectPool_finalize) -static bool jsb_ObjectPool_finalize(se::State &s) { +static bool jsb_ObjectPool_finalize(se::State &s) { // NOLINT auto iter = se::NonRefNativePtrCreatedByCtorMap::find(s.nativeThisObject()); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - se::ObjectPool *cobj = (se::ObjectPool *)s.nativeThisObject(); + auto *cobj = static_cast(s.nativeThisObject()); JSB_FREE(cobj); } return true; } SE_BIND_FINALIZE_FUNC(jsb_ObjectPool_finalize) -static bool js_register_se_ObjectPool(se::Object *obj) { +static bool js_ObjectPool_bind(se::State &s) { // NOLINT + auto *cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_ObjectPool_bind : Invalid Native Object"); + const auto & args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 2) { + bool ok = true; + uint id = 0; + ok &= seval_to_uint(args[0], &id); + SE_PRECONDITION2(ok, false, "jsb_ObjectPool_bind : Error processing arguments"); + + if (!args[1].isObject()) { + SE_REPORT_ERROR("jsb_ObjectPool_bind: parameter 2 wants a Object"); + return false; + } + se::Object *value = args[1].toObject(); + cobj->bind(id, value); + return true; + } + SE_REPORT_ERROR("jsb_ObjectPool_bind: wrong number of arguments: %d, was expecting %d", (int)argc, 1); +} +SE_BIND_FUNC(js_ObjectPool_bind) + +static bool js_register_se_ObjectPool(se::Object *obj) { // NOLINT se::Class *cls = se::Class::create("NativeObjectPool", obj, nullptr, _SE(jsb_ObjectPool_constructor)); + cls->defineFunction("bind", _SE(js_ObjectPool_bind)); cls->install(); JSBClassType::registerClass(cls); - jsb_ObjectPool_class = cls; + jsb_ObjectPool_class = cls; // NOLINT se::ScriptEngine::getInstance()->clearException(); return true; @@ -156,20 +181,20 @@ static bool js_register_se_ObjectPool(se::Object *obj) { /***************************************************** Array binding ******************************************************/ -static se::Class *jsb_BufferAllocator_class = nullptr; +static se::Class *jsb_BufferAllocator_class = nullptr; // NOLINT SE_DECLARE_FINALIZE_FUNC(jsb_BufferAllocator_finalize) -static bool jsb_BufferAllocator_constructor(se::State &s) { +static bool jsb_BufferAllocator_constructor(se::State &s) { // NOLINT const auto &args = s.args(); - size_t argc = args.size(); + size_t argc = args.size(); if (argc == 1) { uint type = 0; - bool ok = seval_to_uint(args[0], &type); + bool ok = seval_to_uint(args[0], &type); - se::BufferAllocator *BufferAllocator = JSB_ALLOC(se::BufferAllocator, static_cast(type)); - s.thisObject()->setPrivateData(BufferAllocator); - se::NonRefNativePtrCreatedByCtorMap::emplace(BufferAllocator); + se::BufferAllocator *bufferAllocator = JSB_ALLOC(se::BufferAllocator, static_cast(type)); + s.thisObject()->setPrivateData(bufferAllocator); + se::NonRefNativePtrCreatedByCtorMap::emplace(bufferAllocator); return true; } @@ -178,23 +203,23 @@ static bool jsb_BufferAllocator_constructor(se::State &s) { } SE_BIND_CTOR(jsb_BufferAllocator_constructor, jsb_BufferAllocator_class, jsb_BufferAllocator_finalize) -static bool jsb_BufferAllocator_finalize(se::State &s) { +static bool jsb_BufferAllocator_finalize(se::State &s) { // NOLINT auto iter = se::NonRefNativePtrCreatedByCtorMap::find(s.nativeThisObject()); if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) { se::NonRefNativePtrCreatedByCtorMap::erase(iter); - se::BufferAllocator *cobj = (se::BufferAllocator *)s.nativeThisObject(); + auto *cobj = static_cast(s.nativeThisObject()); JSB_FREE(cobj); } return true; } SE_BIND_FINALIZE_FUNC(jsb_BufferAllocator_finalize) -static bool jsb_BufferAllocator_alloc(se::State &s) { - se::BufferAllocator *bufferAllocator = (se::BufferAllocator *)s.nativeThisObject(); +static bool jsb_BufferAllocator_alloc(se::State &s) { // NOLINT + auto *bufferAllocator = static_cast(s.nativeThisObject()); SE_PRECONDITION2(bufferAllocator, false, "jsb_Array_alloc : Invalid Native Object"); const auto &args = s.args(); - size_t argc = args.size(); + size_t argc = args.size(); if (argc == 2) { uint index = 0; seval_to_uint(args[0], &index); @@ -209,12 +234,12 @@ static bool jsb_BufferAllocator_alloc(se::State &s) { } SE_BIND_FUNC(jsb_BufferAllocator_alloc); -static bool jsb_BufferAllocator_free(se::State &s) { - se::BufferAllocator *bufferAllocator = (se::BufferAllocator *)s.nativeThisObject(); +static bool jsb_BufferAllocator_free(se::State &s) { // NOLINT + auto *bufferAllocator = static_cast(s.nativeThisObject()); SE_PRECONDITION2(bufferAllocator, false, "jsb_Array_alloc : Invalid Native Object"); const auto &args = s.args(); - size_t argc = args.size(); + size_t argc = args.size(); if (argc == 1) { uint index = 0; seval_to_uint(args[0], &index); @@ -227,21 +252,21 @@ static bool jsb_BufferAllocator_free(se::State &s) { } SE_BIND_FUNC(jsb_BufferAllocator_free); -static bool js_register_se_BufferAllocator(se::Object *obj) { +static bool js_register_se_BufferAllocator(se::Object *obj) { // NOLINT se::Class *cls = se::Class::create("NativeBufferAllocator", obj, nullptr, _SE(jsb_BufferAllocator_constructor)); cls->defineFunction("alloc", _SE(jsb_BufferAllocator_alloc)); cls->defineFunction("free", _SE(jsb_BufferAllocator_free)); cls->install(); JSBClassType::registerClass(cls); - jsb_BufferAllocator_class = cls; + jsb_BufferAllocator_class = cls; // NOLINT se::ScriptEngine::getInstance()->clearException(); return true; } -bool register_all_dop_bindings(se::Object *obj) { - // TODO: Don't make dop into jsb namespace. Currently put it into jsb namesapce just to test codes. +bool register_all_dop_bindings(se::Object *obj) { // NOLINT + // TODO(liuhang): Don't make dop into jsb namespace. Currently put it into jsb namesapce just to test codes. se::Value nsVal; if (!obj->getProperty("jsb", &nsVal)) { se::HandleObject jsobj(se::Object::createPlainObject()); @@ -250,8 +275,8 @@ bool register_all_dop_bindings(se::Object *obj) { } se::Object *ns = nsVal.toObject(); - js_register_se_BufferAllocator(ns); - js_register_se_BufferPool(ns); - js_register_se_ObjectPool(ns); + js_register_se_BufferAllocator(ns); // NOLINT + js_register_se_BufferPool(ns); // NOLINT + js_register_se_ObjectPool(ns); // NOLINT return true; } diff --git a/native/cocos/bindings/dop/jsb_dop.h b/native/cocos/bindings/dop/jsb_dop.h index ded87e44c2..062d188d8c 100644 --- a/native/cocos/bindings/dop/jsb_dop.h +++ b/native/cocos/bindings/dop/jsb_dop.h @@ -29,4 +29,4 @@ namespace se { class Object; } -bool register_all_dop_bindings(se::Object *obj); +bool register_all_dop_bindings(se::Object *obj); // NOLINT diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index 49d623bbdc..db811fcc30 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -66,17 +66,19 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel } void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel, uint passIdx, gfx::Shader *shaderImplant) { - uint stride = 0; + uint stride = 0; const auto *const instancedBuffer = model->getInstancedBuffer(&stride); if (!stride) return; // we assume per-instance attributes are always present auto *sourceIA = subModel->getInputAssembler(); - auto *lightingMap = subModel->getDescriptorSet()->getTexture(LIGHTMAP_TEXTURE::BINDING); - auto *shader = shaderImplant; - if (!shader) { shader = subModel->getShader(passIdx); } - auto *descriptorSet = subModel->getDescriptorSet(); - for (auto & instance : _instances) { + auto *lightingMap = descriptorSet->getTexture(LIGHTMAP_TEXTURE::BINDING); + auto *shader = shaderImplant; + if (!shader) { + shader = subModel->getShader(passIdx); + } + + for (auto &instance : _instances) { if (instance.ia->getIndexBuffer() != sourceIA->getIndexBuffer() || instance.count >= MAX_CAPACITY) { continue; } @@ -91,9 +93,9 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel } if (instance.count >= instance.capacity) { // resize buffers instance.capacity <<= 1; - const auto newSize = instance.stride * instance.capacity; + const auto newSize = instance.stride * instance.capacity; auto *const oldData = instance.data; - instance.data = static_cast(CC_MALLOC(newSize)); + instance.data = static_cast(CC_MALLOC(newSize)); memcpy(instance.data, oldData, instance.vb->getSize()); instance.vb->resize(newSize); CC_FREE(oldData); @@ -110,7 +112,7 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel } // Create a new instance - auto newSize = stride * INITIAL_CAPACITY; + auto newSize = stride * INITIAL_CAPACITY; auto *vb = _device->createBuffer({ gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, @@ -118,14 +120,14 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel static_cast(stride), }); - auto vertexBuffers = sourceIA->getVertexBuffers(); - auto attributes = sourceIA->getAttributes(); + auto vertexBuffers = sourceIA->getVertexBuffers(); + auto attributes = sourceIA->getAttributes(); auto *indexBuffer = sourceIA->getIndexBuffer(); const auto *const attributesID = model->getInstancedAttributeID(); - const auto lenght = attributesID[0]; + const auto lenght = attributesID[0]; for (uint i = 1; i <= lenght; i++) { - auto *const attribute = model->getInstancedAttribute(attributesID[i]); + auto *const attribute = ModelView::getInstancedAttribute(attributesID[i]); gfx::Attribute newAttr = {attribute->name, attribute->format, attribute->isNormalized, static_cast(vertexBuffers.size()), true, attribute->location}; attributes.emplace_back(std::move(newAttr)); } @@ -134,7 +136,7 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel memcpy(data, instancedBuffer, stride); vertexBuffers.emplace_back(vb); gfx::InputAssemblerInfo iaInfo = {attributes, vertexBuffers, indexBuffer}; - auto * ia = _device->createInputAssembler(iaInfo); + auto * ia = _device->createInputAssembler(iaInfo); InstancedItem item = {1, INITIAL_CAPACITY, vb, data, ia, stride, shader, descriptorSet, lightingMap}; _instances.emplace_back(item); _hasPendingModels = true; diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index 07ece2a5df..3dd5b616d6 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -25,65 +25,69 @@ #include -#include "PlanarShadowQueue.h" -#include "RenderPipeline.h" #include "Define.h" #include "InstancedBuffer.h" #include "PipelineStateManager.h" +#include "PlanarShadowQueue.h" #include "RenderInstancedQueue.h" +#include "RenderPipeline.h" #include "gfx-base/GFXCommandBuffer.h" -#include "helper/SharedMemory.h" #include "gfx-base/GFXDescriptorSet.h" #include "gfx-base/GFXDevice.h" #include "gfx-base/GFXShader.h" +#include "helper/SharedMemory.h" namespace cc { namespace pipeline { PlanarShadowQueue::PlanarShadowQueue(RenderPipeline *pipeline) -:_pipeline(pipeline){ +: _pipeline(pipeline) { _instancedQueue = CC_NEW(RenderInstancedQueue); } void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *cmdBufferer) { clear(); - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + auto *const sceneData = _pipeline->getPipelineSceneData(); + auto *const sharedData = sceneData->getSharedData(); const auto *shadowInfo = sharedData->getShadows(); - if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR) { return; } + if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR) { + return; + } - const auto pipelineUBO = _pipeline->getPipelineUBO(); + auto *const pipelineUBO = _pipeline->getPipelineUBO(); pipelineUBO->updateShadowUBO(camera); - const auto *scene = camera->getScene(); - const bool shadowVisible = camera->visibility & static_cast(LayerList::DEFAULT); + const auto *scene = camera->getScene(); + const bool shadowVisible = camera->visibility & static_cast(LayerList::DEFAULT); - if (!scene->getMainLight() || !shadowVisible) { return; } + if (!scene->getMainLight() || !shadowVisible) { + return; + } - const auto models = scene->getModels(); - const auto modelCount = models[0]; - auto *instancedBuffer = InstancedBuffer::get(shadowInfo->instancePass); + const auto *const models = scene->getModels(); + const auto modelCount = models[0]; + auto * instancedBuffer = InstancedBuffer::get(shadowInfo->instancePass); - uint visibility = 0, lenght = 0; + uint visibility = 0; + uint lenght = 0; for (uint i = 1; i <= modelCount; i++) { - const auto *model = scene->getModelView(models[i]); - const auto *node = model->getNode(); + const auto *model = cc::pipeline::Scene::getModelView(models[i]); + const auto *node = model->getNode(); if (model->enabled && model->castShadow) { visibility = camera->visibility; if ((model->nodeID && ((visibility & node->layer) == node->layer)) || (visibility & model->visFlags)) { - // frustum culling - if ((model->worldBoundsID) && !aabb_frustum(model->getWorldBounds(), camera->getFrustum())) { + if ((model->worldBoundsID) && !aabbFrustum(model->getWorldBounds(), camera->getFrustum())) { continue; } const auto *attributesID = model->getInstancedAttributeID(); - lenght = attributesID[0]; + lenght = attributesID[0]; if (lenght > 0) { - const auto *subModelID = model->getSubModelID(); - const auto subModelCount = subModelID[0]; + const auto *subModelID = model->getSubModelID(); + const auto subModelCount = subModelID[0]; for (uint m = 1; m <= subModelCount; ++m) { - const auto *subModel = model->getSubModelView(subModelID[m]); + const auto *subModel = cc::pipeline::ModelView::getSubModelView(subModelID[m]); instancedBuffer->merge(model, subModel, m - 1, subModel->getPlanarInstanceShader()); _instancedQueue->add(instancedBuffer); } @@ -103,26 +107,30 @@ void PlanarShadowQueue::clear() { } void PlanarShadowQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer) { - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + auto *const sceneData = _pipeline->getPipelineSceneData(); + auto *const sharedData = sceneData->getSharedData(); const auto *shadowInfo = sharedData->getShadows(); - if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR) { return; } + if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::PLANAR) { + return; + } _instancedQueue->recordCommandBuffer(device, renderPass, cmdBuffer); - if (_pendingModels.empty()) { return; } + if (_pendingModels.empty()) { + return; + } const auto *pass = shadowInfo->getPlanarShadowPass(); cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); - for (auto model : _pendingModels) { - const auto subModelID = model->getSubModelID(); - const auto subModelCount = subModelID[0]; + for (const auto *model : _pendingModels) { + const auto *const subModelID = model->getSubModelID(); + const auto subModelCount = subModelID[0]; for (unsigned m = 1; m <= subModelCount; ++m) { - const auto subModel = model->getSubModelView(subModelID[m]); - const auto shader = subModel->getPlanarShader(); - const auto ia = subModel->getInputAssembler(); - const auto pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); + const auto *const subModel = cc::pipeline::ModelView::getSubModelView(subModelID[m]); + auto *const shader = subModel->getPlanarShader(); + auto *const ia = subModel->getInputAssembler(); + auto *const pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); cmdBuffer->bindPipelineState(pso); cmdBuffer->bindDescriptorSet(LOCAL_SET, subModel->getDescriptorSet()); @@ -135,5 +143,5 @@ void PlanarShadowQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass void PlanarShadowQueue::destroy() { CC_SAFE_DELETE(_instancedQueue); } -} +} // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index 76b7a28b38..4f3831b9d6 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -97,12 +97,12 @@ void RenderAdditiveLightQueue::recordCommandBuffer(gfx::Device *device, gfx::Ren for (const auto &lightPass : _lightPasses) { const auto *const subModel = lightPass.subModel; const auto *const pass = lightPass.pass; - const auto &dynamicOffsets = lightPass.dynamicOffsets; - auto * shader = lightPass.shader; - const auto lights = lightPass.lights; - auto * ia = subModel->getInputAssembler(); - auto * pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); - auto * descriptorSet = subModel->getDescriptorSet(); + const auto & dynamicOffsets = lightPass.dynamicOffsets; + auto * shader = lightPass.shader; + const auto lights = lightPass.lights; + auto * ia = subModel->getInputAssembler(); + auto * pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); + auto * descriptorSet = subModel->getDescriptorSet(); cmdBuffer->bindPipelineState(pso); cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); @@ -139,7 +139,7 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm _lightIndices.clear(); for (size_t i = 0; i < _validLights.size(); i++) { const auto *const light = _validLights[i]; - const bool isCulled = cullingLight(light, model); + const bool isCulled = cullingLight(light, model); if (!isCulled) { _lightIndices.emplace_back(i); } @@ -147,7 +147,7 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm if (_lightIndices.empty()) continue; const auto *const subModelArrayID = model->getSubModelID(); - const auto subModelCount = subModelArrayID[0]; + const auto subModelCount = subModelArrayID[0]; for (unsigned j = 1; j <= subModelCount; j++) { const auto lightPassIdx = lightPassIndices[j - 1]; if (lightPassIdx == UINT_MAX) continue; @@ -192,8 +192,8 @@ void RenderAdditiveLightQueue::clear() { void RenderAdditiveLightQueue::gatherValidLights(const Camera *camera) { const auto *const scene = camera->getScene(); const auto *const sphereLightArrayID = scene->getSphereLightArrayID(); - auto count = sphereLightArrayID ? sphereLightArrayID[0] : 0; - Sphere sphere; + auto count = sphereLightArrayID ? sphereLightArrayID[0] : 0; + Sphere sphere; for (unsigned i = 1; i <= count; i++) { const auto *const light = scene->getSphereLight(sphereLightArrayID[i]); sphere.setCenter(light->position); @@ -204,7 +204,7 @@ void RenderAdditiveLightQueue::gatherValidLights(const Camera *camera) { } } const auto *const spotLightArrayID = scene->getSpotLightArrayID(); - count = spotLightArrayID ? spotLightArrayID[0] : 0; + count = spotLightArrayID ? spotLightArrayID[0] : 0; for (unsigned i = 1; i <= count; i++) { const auto *const light = scene->getSpotLight(spotLightArrayID[i]); sphere.setCenter(light->position); @@ -219,9 +219,9 @@ void RenderAdditiveLightQueue::gatherValidLights(const Camera *camera) { bool RenderAdditiveLightQueue::cullingLight(const Light *light, const ModelView *model) { switch (light->getType()) { case LightType::SPHERE: - return model->worldBoundsID && !aabb_aabb(model->getWorldBounds(), light->getAABB()); + return model->worldBoundsID && !aabbAabb(model->getWorldBounds(), light->getAABB()); case LightType::SPOT: - return model->worldBoundsID && (!aabb_aabb(model->getWorldBounds(), light->getAABB()) || !aabb_frustum(model->getWorldBounds(), light->getFrustum())); + return model->worldBoundsID && (!aabbAabb(model->getWorldBounds(), light->getAABB()) || !aabbFrustum(model->getWorldBounds(), light->getFrustum())); default: return false; } } @@ -260,8 +260,8 @@ void RenderAdditiveLightQueue::addRenderQueue(const PassView *pass, const SubMod } void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { - const auto exposure = camera->exposure; - const auto validLightCount = _validLights.size(); + const auto exposure = camera->exposure; + const auto validLightCount = _validLights.size(); auto *const sceneData = _pipeline->getPipelineSceneData(); auto *const sharedData = sceneData->getSharedData(); if (validLightCount > _lightBufferCount) { @@ -327,9 +327,9 @@ void RenderAdditiveLightQueue::updateUBOs(const Camera *camera, gfx::CommandBuff void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gfx::CommandBuffer *cmdBuffer) { auto *const sceneData = _pipeline->getPipelineSceneData(); - auto * shadowInfo = sceneData->getSharedData()->getShadows(); + auto * shadowInfo = sceneData->getSharedData()->getShadows(); const auto *const scene = camera->getScene(); - const Light *mainLight = nullptr; + const Light * mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); for (const auto *light : _validLights) { @@ -398,10 +398,10 @@ bool RenderAdditiveLightQueue::getLightPassIndex(const ModelView *model, vector< bool hasValidLightPass = false; const auto *const subModelArrayID = model->getSubModelID(); - const auto count = subModelArrayID[0]; + const auto count = subModelArrayID[0]; for (unsigned i = 1; i <= count; i++) { const auto *const subModel = model->getSubModelView(subModelArrayID[i]); - uint lightPassIndex = UINT_MAX; + uint lightPassIndex = UINT_MAX; for (unsigned passIdx = 0; passIdx < subModel->passCount; passIdx++) { const auto *const pass = subModel->getPassView(passIdx); if (pass->phase == _phaseID) { diff --git a/native/cocos/renderer/pipeline/SceneCulling.cpp b/native/cocos/renderer/pipeline/SceneCulling.cpp index a26a7e8af1..a81366cbab 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/SceneCulling.cpp @@ -27,11 +27,11 @@ #include #include "Define.h" -#include "helper/SharedMemory.h" #include "RenderPipeline.h" #include "SceneCulling.h" #include "gfx-base/GFXBuffer.h" #include "gfx-base/GFXDescriptorSet.h" +#include "helper/SharedMemory.h" #include "math/Quaternion.h" #include "platform/Application.h" @@ -43,8 +43,8 @@ AABB castWorldBounds; RenderObject genRenderObject(const ModelView *model, const Camera *camera) { float depth = 0; if (model->nodeID) { - const auto node = model->getTransform(); - cc::Vec3 position; + const auto *const node = model->getTransform(); + cc::Vec3 position; cc::Vec3::subtract(node->worldPosition, camera->position, &position); depth = position.dot(camera->forward); } @@ -64,76 +64,76 @@ void getShadowWorldMatrix(const Sphere *sphere, const cc::Vec4 &rotation, const } void updateSphereLight(Shadows *shadows, const Light *light, std::array &shadowUBO) { - const auto node = light->getNode(); + const auto *const node = light->getNode(); if (!node->flagsChanged && !shadows->dirty) { return; } - shadows->dirty = false; - const auto position = node->worldPosition; - const auto &normal = shadows->normal; - const auto distance = shadows->distance + 0.001f; // avoid z-fighting - const auto NdL = normal.dot(position); - const auto lx = position.x; - const auto ly = position.y; - const auto lz = position.z; - const auto nx = normal.x; - const auto ny = normal.y; - const auto nz = normal.z; - auto &matLight = shadows->matLight; - matLight.m[0] = NdL - distance - lx * nx; - matLight.m[1] = -ly * nx; - matLight.m[2] = -lz * nx; - matLight.m[3] = -nx; - matLight.m[4] = -lx * ny; - matLight.m[5] = NdL - distance - ly * ny; - matLight.m[6] = -lz * ny; - matLight.m[7] = -ny; - matLight.m[8] = -lx * nz; - matLight.m[9] = -ly * nz; - matLight.m[10] = NdL - distance - lz * nz; - matLight.m[11] = -nz; - matLight.m[12] = lx * distance; - matLight.m[13] = ly * distance; - matLight.m[14] = lz * distance; - matLight.m[15] = NdL; + shadows->dirty = false; + const auto position = node->worldPosition; + const auto &normal = shadows->normal; + const auto distance = shadows->distance + 0.001F; // avoid z-fighting + const auto ndL = normal.dot(position); + const auto lx = position.x; + const auto ly = position.y; + const auto lz = position.z; + const auto nx = normal.x; + const auto ny = normal.y; + const auto nz = normal.z; + auto & matLight = shadows->matLight; + matLight.m[0] = ndL - distance - lx * nx; + matLight.m[1] = -ly * nx; + matLight.m[2] = -lz * nx; + matLight.m[3] = -nx; + matLight.m[4] = -lx * ny; + matLight.m[5] = ndL - distance - ly * ny; + matLight.m[6] = -lz * ny; + matLight.m[7] = -ny; + matLight.m[8] = -lx * nz; + matLight.m[9] = -ly * nz; + matLight.m[10] = ndL - distance - lz * nz; + matLight.m[11] = -nz; + matLight.m[12] = lx * distance; + matLight.m[13] = ly * distance; + matLight.m[14] = lz * distance; + matLight.m[15] = ndL; memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_PLANE_PROJ_OFFSET, matLight.m, sizeof(matLight)); } void updateDirLight(Shadows *shadows, const Light *light, std::array &shadowUBO) { - const auto node = light->getNode(); - const auto rotation = node->worldRotation; - Quaternion _qt(rotation.x, rotation.y, rotation.z, rotation.w); - Vec3 forward(0, 0, -1.0f); - forward.transformQuat(_qt); - const auto &normal = shadows->normal; - const auto distance = shadows->distance + 0.001f; // avoid z-fighting - const auto NdL = normal.dot(forward); - const auto scale = 1.0f / NdL; - const auto lx = forward.x * scale; - const auto ly = forward.y * scale; - const auto lz = forward.z * scale; - const auto nx = normal.x; - const auto ny = normal.y; - const auto nz = normal.z; - auto &matLight = shadows->matLight; - matLight.m[0] = 1 - nx * lx; - matLight.m[1] = -nx * ly; - matLight.m[2] = -nx * lz; - matLight.m[3] = 0; - matLight.m[4] = -ny * lx; - matLight.m[5] = 1 - ny * ly; - matLight.m[6] = -ny * lz; - matLight.m[7] = 0; - matLight.m[8] = -nz * lx; - matLight.m[9] = -nz * ly; - matLight.m[10] = 1 - nz * lz; - matLight.m[11] = 0; - matLight.m[12] = lx * distance; - matLight.m[13] = ly * distance; - matLight.m[14] = lz * distance; - matLight.m[15] = 1; + const auto *const node = light->getNode(); + const auto rotation = node->worldRotation; + Quaternion qt(rotation.x, rotation.y, rotation.z, rotation.w); + Vec3 forward(0, 0, -1.0F); + forward.transformQuat(qt); + const auto &normal = shadows->normal; + const auto distance = shadows->distance + 0.001F; // avoid z-fighting + const auto ndL = normal.dot(forward); + const auto scale = 1.0F / ndL; + const auto lx = forward.x * scale; + const auto ly = forward.y * scale; + const auto lz = forward.z * scale; + const auto nx = normal.x; + const auto ny = normal.y; + const auto nz = normal.z; + auto & matLight = shadows->matLight; + matLight.m[0] = 1 - nx * lx; + matLight.m[1] = -nx * ly; + matLight.m[2] = -nx * lz; + matLight.m[3] = 0; + matLight.m[4] = -ny * lx; + matLight.m[5] = 1 - ny * ly; + matLight.m[6] = -ny * lz; + matLight.m[7] = 0; + matLight.m[8] = -nz * lx; + matLight.m[9] = -nz * ly; + matLight.m[10] = 1 - nz * lz; + matLight.m[11] = 0; + matLight.m[12] = lx * distance; + matLight.m[13] = ly * distance; + matLight.m[14] = lz * distance; + matLight.m[15] = 1; memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_PLANE_PROJ_OFFSET, matLight.m, sizeof(matLight)); memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &shadows->color, sizeof(Vec4)); @@ -141,16 +141,16 @@ void updateDirLight(Shadows *shadows, const Light *light, std::array &validLights) { validLights.clear(); - auto *sphere = CC_NEW(Sphere); - const auto scene = camera->getScene(); - const Light *mainLight = nullptr; + auto * sphere = CC_NEW(Sphere); + const auto *const scene = camera->getScene(); + const Light * mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); validLights.emplace_back(mainLight); - const auto spotLightArrayID = scene->getSpotLightArrayID(); - const auto count = spotLightArrayID ? spotLightArrayID[0] : 0; + const auto *const spotLightArrayID = scene->getSpotLightArrayID(); + const auto count = spotLightArrayID ? spotLightArrayID[0] : 0; for (uint32_t i = 1; i <= count; ++i) { - const auto *spotLight = scene->getSpotLight(spotLightArrayID[i]); + const auto *spotLight = cc::pipeline::Scene::getSpotLight(spotLightArrayID[i]); sphere->center.set(spotLight->position); sphere->radius = spotLight->range; if (sphere->interset(*camera->getFrustum())) { @@ -162,28 +162,28 @@ void lightCollecting(Camera *camera, std::vector &validLights) { } void shadowCollecting(RenderPipeline *pipeline, Camera *camera) { - const auto scene = camera->getScene(); - const auto sceneData = pipeline->getPipelineSceneData(); + const auto *const scene = camera->getScene(); + auto *const sceneData = pipeline->getPipelineSceneData(); castBoundsInitialized = false; RenderObjectList shadowObjects; - const auto models = scene->getModels(); - const auto modelCount = models[0]; + const auto *const models = scene->getModels(); + const auto modelCount = models[0]; for (size_t i = 1; i <= modelCount; i++) { - const auto model = scene->getModelView(models[i]); + const auto *const model = cc::pipeline::Scene::getModelView(models[i]); // filter model by view visibility if (model->enabled) { - const auto visibility = camera->visibility; - const auto node = model->getNode(); + const auto visibility = camera->visibility; + const auto *const node = model->getNode(); if ((model->nodeID && ((visibility & node->layer) == node->layer)) || (visibility & model->visFlags)) { // shadow render Object if (model->castShadow && model->getWorldBounds()) { if (!castBoundsInitialized) { - castWorldBounds = *model->getWorldBounds(); + castWorldBounds = *model->getWorldBounds(); castBoundsInitialized = true; } castWorldBounds.merge(*model->getWorldBounds()); @@ -199,11 +199,11 @@ void shadowCollecting(RenderPipeline *pipeline, Camera *camera) { } void sceneCulling(RenderPipeline *pipeline, Camera *camera) { - const auto sceneData = pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); - const auto shadows = sharedData->getShadows(); - const auto skyBox = sharedData->getSkybox(); - const auto scene = camera->getScene(); + auto *const sceneData = pipeline->getPipelineSceneData(); + auto *const sharedData = sceneData->getSharedData(); + auto *const shadows = sharedData->getShadows(); + auto *const skyBox = sharedData->getSkybox(); + const auto *const scene = camera->getScene(); const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); @@ -213,20 +213,19 @@ void sceneCulling(RenderPipeline *pipeline, Camera *camera) { renderObjects.emplace_back(genRenderObject(skyBox->getModel(), camera)); } - const auto models = scene->getModels(); - const auto modelCount = models[0]; + const auto *const models = scene->getModels(); + const auto modelCount = models[0]; for (size_t i = 1; i <= modelCount; i++) { - const auto model = scene->getModelView(models[i]); + const auto *const model = cc::pipeline::Scene::getModelView(models[i]); // filter model by view visibility if (model->enabled) { - const auto visibility = camera->visibility; - const auto node = model->getNode(); + const auto visibility = camera->visibility; + const auto *const node = model->getNode(); if ((model->nodeID && ((visibility & node->layer) == node->layer)) || (visibility & model->visFlags)) { - // frustum culling - if ((model->worldBoundsID) && !aabb_frustum(model->getWorldBounds(), camera->getFrustum())) { + if ((model->worldBoundsID) && !aabbFrustum(model->getWorldBounds(), camera->getFrustum())) { continue; } diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp index 15386149f4..f0030fada9 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp @@ -28,34 +28,34 @@ #include "BatchedBuffer.h" #include "Define.h" #include "InstancedBuffer.h" +#include "PipelineSceneData.h" #include "PipelineStateManager.h" +#include "PipelineUBO.h" #include "RenderBatchedQueue.h" #include "RenderInstancedQueue.h" +#include "SceneCulling.h" #include "ShadowMapBatchedQueue.h" #include "forward/ForwardPipeline.h" -#include "SceneCulling.h" #include "gfx-base/GFXCommandBuffer.h" #include "gfx-base/GFXDescriptorSet.h" #include "gfx-base/GFXDevice.h" #include "helper/SharedMemory.h" -#include "PipelineSceneData.h" -#include "PipelineUBO.h" namespace cc { namespace pipeline { ShadowMapBatchedQueue::ShadowMapBatchedQueue(ForwardPipeline *pipeline) : _phaseID(getPhaseID("shadow-caster")) { - _pipeline = pipeline; - _buffer = pipeline->getDescriptorSet()->getBuffer(UBOShadow::BINDING); + _pipeline = pipeline; + _buffer = pipeline->getDescriptorSet()->getBuffer(UBOShadow::BINDING); _instancedQueue = CC_NEW(RenderInstancedQueue); - _batchedQueue = CC_NEW(RenderBatchedQueue); + _batchedQueue = CC_NEW(RenderBatchedQueue); } void ShadowMapBatchedQueue::gatherLightPasses(const Light *light, gfx::CommandBuffer *cmdBufferer) { clear(); - const auto *sceneData = _pipeline->getPipelineSceneData(); - const auto *shadowInfo = sceneData->getSharedData()->getShadows(); + const auto *sceneData = _pipeline->getPipelineSceneData(); + const auto *shadowInfo = sceneData->getSharedData()->getShadows(); const auto &shadowObjects = sceneData->getShadowObjects(); if (light && shadowInfo->enabled && shadowInfo->getShadowType() == ShadowType::SHADOWMAP) { _pipeline->getPipelineUBO()->updateShadowUBOLight(light); @@ -69,8 +69,8 @@ void ShadowMapBatchedQueue::gatherLightPasses(const Light *light, gfx::CommandBu break; case LightType::SPOT: if (model->getWorldBounds() && - (aabb_aabb(model->getWorldBounds(), light->getAABB()) || - aabb_frustum(model->getWorldBounds(), light->getFrustum()))) { + (aabbAabb(model->getWorldBounds(), light->getAABB()) || + aabbFrustum(model->getWorldBounds(), light->getFrustum()))) { add(model, cmdBufferer); } break; @@ -95,12 +95,12 @@ void ShadowMapBatchedQueue::add(const ModelView *model, gfx::CommandBuffer *cmdB return; } - const auto subModelID = model->getSubModelID(); - const auto subModelCount = subModelID[0]; + const auto *const subModelID = model->getSubModelID(); + const auto subModelCount = subModelID[0]; for (unsigned m = 1; m <= subModelCount; ++m) { - const auto subModel = model->getSubModelView(subModelID[m]); - const auto pass = subModel->getPassView(shadowPassIdx); - const auto batchingScheme = pass->getBatchingScheme(); + const auto *const subModel = cc::pipeline::ModelView::getSubModelView(subModelID[m]); + const auto *const pass = subModel->getPassView(shadowPassIdx); + const auto batchingScheme = pass->getBatchingScheme(); if (batchingScheme == BatchingSchemes::INSTANCING) { auto *instancedBuffer = InstancedBuffer::get(subModel->passID[shadowPassIdx]); @@ -126,11 +126,11 @@ void ShadowMapBatchedQueue::recordCommandBuffer(gfx::Device *device, gfx::Render _batchedQueue->recordCommandBuffer(device, renderPass, cmdBuffer); for (size_t i = 0; i < _subModels.size(); i++) { - const auto subModel = _subModels[i]; - const auto shader = _shaders[i]; - const auto pass = _passes[i]; - const auto ia = subModel->getInputAssembler(); - const auto pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); + const auto *const subModel = _subModels[i]; + auto *const shader = _shaders[i]; + const auto *const pass = _passes[i]; + auto *const ia = subModel->getInputAssembler(); + auto *const pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); cmdBuffer->bindPipelineState(pso); cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); @@ -149,14 +149,14 @@ void ShadowMapBatchedQueue::destroy() { } int ShadowMapBatchedQueue::getShadowPassIndex(const ModelView *model) const { - const auto subModelArrayID = model->getSubModelID(); - const auto count = subModelArrayID[0]; + const auto *const subModelArrayID = model->getSubModelID(); + const auto count = subModelArrayID[0]; for (unsigned i = 1; i <= count; i++) { - const auto subModel = model->getSubModelView(subModelArrayID[i]); + const auto *const subModel = cc::pipeline::ModelView::getSubModelView(subModelArrayID[i]); for (unsigned passIdx = 0; passIdx < subModel->passCount; passIdx++) { - const auto pass = subModel->getPassView(passIdx); + const auto *const pass = subModel->getPassView(passIdx); if (pass->phase == _phaseID) { - return passIdx; + return static_cast(passIdx); } } } diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 3735ebbe88..44f4b76347 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -43,14 +43,14 @@ namespace cc { namespace pipeline { namespace { -#define TO_VEC3(dst, src, offset) \ - dst[offset] = (src).x; \ - (dst)[(offset) + 1] = (src).y; \ +#define TO_VEC3(dst, src, offset) \ + dst[offset] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ (dst)[(offset) + 2] = (src).z; -#define TO_VEC4(dst, src, offset) \ - dst[offset] = (src).x; \ - (dst)[(offset) + 1] = (src).y; \ - (dst)[(offset) + 2] = (src).z; \ +#define TO_VEC4(dst, src, offset) \ + dst[offset] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ + (dst)[(offset) + 2] = (src).z; \ (dst)[(offset) + 3] = (src).w; } // namespace @@ -59,7 +59,7 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl return _renderPasses[clearFlags]; } - auto * device = gfx::Device::getInstance(); + auto * device = gfx::Device::getInstance(); gfx::ColorAttachment colorAttachment; gfx::DepthStencilAttachment depthStencilAttachment; colorAttachment.format = device->getColorFormat(); @@ -82,7 +82,7 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl depthStencilAttachment.beginAccesses = {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; } - auto *renderPass = device->createRenderPass({ + auto *renderPass = device->createRenderPass({ {colorAttachment}, depthStencilAttachment, }); @@ -144,17 +144,17 @@ void DeferredPipeline::render(const vector &cameras) { } void DeferredPipeline::updateQuadVertexData(const gfx::Rect &renderArea) { - if (_lastUsedRenderArea == renderArea) { - return; - } + if (_lastUsedRenderArea == renderArea) { + return; + } - _lastUsedRenderArea = renderArea; - float vbData[16] = {0}; - genQuadVertexData(gfx::SurfaceTransform::IDENTITY, renderArea, vbData); - _commandBuffers[0]->updateBuffer(_quadVBOffscreen, vbData); + _lastUsedRenderArea = renderArea; + float vbData[16] = {0}; + genQuadVertexData(gfx::SurfaceTransform::IDENTITY, renderArea, vbData); + _commandBuffers[0]->updateBuffer(_quadVBOffscreen, vbData); - genQuadVertexData(_device->getSurfaceTransform(), renderArea, vbData); - _commandBuffers[0]->updateBuffer(_quadVBOnscreen, vbData); + genQuadVertexData(_device->getSurfaceTransform(), renderArea, vbData); + _commandBuffers[0]->updateBuffer(_quadVBOnscreen, vbData); } void DeferredPipeline::genQuadVertexData(gfx::SurfaceTransform surfaceTransform, const gfx::Rect &renderArea, float *vbData) { @@ -163,13 +163,13 @@ void DeferredPipeline::genQuadVertexData(gfx::SurfaceTransform surfaceTransform, float minY = float(renderArea.y) / _device->getHeight(); float maxY = float(renderArea.y + renderArea.height) / _device->getHeight(); - int n = 0; + int n = 0; switch (surfaceTransform) { case (gfx::SurfaceTransform::IDENTITY): n = 0; vbData[n++] = -1.0; vbData[n++] = -1.0; - vbData[n++] = minX; // uv + vbData[n++] = minX; // uv vbData[n++] = maxY; vbData[n++] = 1.0; vbData[n++] = -1.0; @@ -188,7 +188,7 @@ void DeferredPipeline::genQuadVertexData(gfx::SurfaceTransform surfaceTransform, n = 0; vbData[n++] = -1.0; vbData[n++] = -1.0; - vbData[n++] = maxX; // uv + vbData[n++] = maxX; // uv vbData[n++] = maxY; vbData[n++] = 1.0; vbData[n++] = -1.0; @@ -207,7 +207,7 @@ void DeferredPipeline::genQuadVertexData(gfx::SurfaceTransform surfaceTransform, n = 0; vbData[n++] = -1.0; vbData[n++] = -1.0; - vbData[n++] = minX; // uv + vbData[n++] = minX; // uv vbData[n++] = minY; vbData[n++] = 1.0; vbData[n++] = -1.0; @@ -226,7 +226,7 @@ void DeferredPipeline::genQuadVertexData(gfx::SurfaceTransform surfaceTransform, n = 0; vbData[n++] = -1.0; vbData[n++] = -1.0; - vbData[n++] = minX; // uv + vbData[n++] = minX; // uv vbData[n++] = minY; vbData[n++] = 1.0; vbData[n++] = -1.0; @@ -253,7 +253,7 @@ bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer **quadIB, gfx::Buffe if (*quadVB == nullptr) { *quadVB = _device->createBuffer({gfx::BufferUsageBit::VERTEX | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, vbSize, vbStride}); + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, vbSize, vbStride}); } if (*quadVB == nullptr) { @@ -265,7 +265,7 @@ bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer **quadIB, gfx::Buffe uint ibSize = ibStride * 6; if (*quadIB == nullptr) { *quadIB = _device->createBuffer({gfx::BufferUsageBit::INDEX | gfx::BufferUsageBit::TRANSFER_DST, - gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, ibSize, ibStride}); + gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, ibSize, ibStride}); } if (*quadIB == nullptr) { @@ -281,7 +281,7 @@ bool DeferredPipeline::createQuadInputAssembler(gfx::Buffer **quadIB, gfx::Buffe info.attributes.push_back({"a_texCoord", gfx::Format::RG32F}); info.vertexBuffers.push_back(*quadVB); info.indexBuffer = *quadIB; - *quadIA = _device->createInputAssembler(info); + *quadIA = _device->createInputAssembler(info); return (*quadIA) != nullptr; } @@ -343,7 +343,7 @@ bool DeferredPipeline::activeRenderer() { gfx::Address::CLAMP, gfx::Address::CLAMP, }; - const auto samplerHash = SamplerLib::genSamplerHash(info); + const auto samplerHash = SamplerLib::genSamplerHash(info); auto *const sampler = SamplerLib::getSampler(samplerHash); // Main light sampler binding diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h index 96687d88cd..f512a438aa 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.h @@ -27,10 +27,10 @@ #include -#include "pipeline/RenderPipeline.h" -#include "pipeline/helper/SharedMemory.h" #include "gfx-base/GFXBuffer.h" #include "gfx-base/GFXInputAssembler.h" +#include "pipeline/RenderPipeline.h" +#include "pipeline/helper/SharedMemory.h" namespace cc { namespace pipeline { @@ -45,16 +45,16 @@ struct Sphere; struct Camera; struct CC_DLL DeferredRenderData { - gfx::TextureList gbufferRenderTargets; - gfx::Framebuffer *gbufferFrameBuffer = nullptr; - gfx::Framebuffer *lightingFrameBuff = nullptr; - gfx::Texture *lightingRenderTarget = nullptr; - gfx::Texture *depthTex = nullptr; + gfx::TextureList gbufferRenderTargets; + gfx::Framebuffer *gbufferFrameBuffer = nullptr; + gfx::Framebuffer *lightingFrameBuff = nullptr; + gfx::Texture * lightingRenderTarget = nullptr; + gfx::Texture * depthTex = nullptr; }; class CC_DLL DeferredPipeline : public RenderPipeline { public: - DeferredPipeline() = default; + DeferredPipeline() = default; ~DeferredPipeline() override = default; bool initialize(const RenderPipelineInfo &info) override; @@ -70,12 +70,12 @@ public: CC_INLINE const gfx::BufferList &getLightBuffers() const { return _lightBuffers; } CC_INLINE const UintList &getLightIndexOffsets() const { return _lightIndexOffsets; } CC_INLINE const UintList &getLightIndices() const { return _lightIndices; } - gfx::InputAssembler *getQuadIAOnScreen(){return _quadIAOnscreen;} - gfx::InputAssembler *getQuadIAOffScreen(){return _quadIAOffscreen;} - gfx::Rect getRenderArea(Camera *camera, bool onScreen); - CC_INLINE DeferredRenderData *getDeferredRenderData(){return _deferredRenderData; }; - void updateQuadVertexData(const gfx::Rect &renderArea); - void genQuadVertexData(gfx::SurfaceTransform surfaceTransform, const gfx::Rect &renderArea, float *data); + gfx::InputAssembler * getQuadIAOnScreen() { return _quadIAOnscreen; } + gfx::InputAssembler * getQuadIAOffScreen() { return _quadIAOffscreen; } + gfx::Rect getRenderArea(Camera *camera, bool onScreen); + CC_INLINE DeferredRenderData *getDeferredRenderData() { return _deferredRenderData; }; + void updateQuadVertexData(const gfx::Rect &renderArea); + void genQuadVertexData(gfx::SurfaceTransform surfaceTransform, const gfx::Rect &renderArea, float *data); private: bool activeRenderer(); @@ -84,27 +84,26 @@ private: void destroyDeferredData(); void generateDeferredRenderData(); - - gfx::Buffer *_lightsUBO = nullptr; - LightList _validLights; - gfx::BufferList _lightBuffers; - UintList _lightIndexOffsets; - UintList _lightIndices; + gfx::Buffer * _lightsUBO = nullptr; + LightList _validLights; + gfx::BufferList _lightBuffers; + UintList _lightIndexOffsets; + UintList _lightIndices; map _renderPasses; - gfx::Rect _lastUsedRenderArea; + gfx::Rect _lastUsedRenderArea; // light stage - gfx::Buffer *_quadIB = nullptr; - gfx::Buffer *_quadVBOnscreen = nullptr; - gfx::Buffer *_quadVBOffscreen = nullptr; - gfx::InputAssembler *_quadIAOnscreen = nullptr; + gfx::Buffer * _quadIB = nullptr; + gfx::Buffer * _quadVBOnscreen = nullptr; + gfx::Buffer * _quadVBOffscreen = nullptr; + gfx::InputAssembler *_quadIAOnscreen = nullptr; gfx::InputAssembler *_quadIAOffscreen = nullptr; DeferredRenderData *_deferredRenderData = nullptr; - gfx::RenderPass *_gbufferRenderPass = nullptr; - gfx::RenderPass *_lightingRenderPass = nullptr; - uint _width; - uint _height; + gfx::RenderPass * _gbufferRenderPass = nullptr; + gfx::RenderPass * _lightingRenderPass = nullptr; + uint _width; + uint _height; }; } // namespace pipeline diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp index 372857b51e..5002686496 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.cpp +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.cpp @@ -30,27 +30,27 @@ namespace cc { namespace pipeline { -const se::PoolType ModelView::type = se::PoolType::MODEL; -const se::PoolType SubModelView::type = se::PoolType::SUB_MODEL; -const se::PoolType PassView::type = se::PoolType::PASS; -const se::PoolType Camera::type = se::PoolType::CAMERA; -const se::PoolType AABB::type = se::PoolType::AABB; -const se::PoolType Frustum::type = se::PoolType::FRUSTUM; -const se::PoolType Scene::type = se::PoolType::SCENE; -const se::PoolType Light::type = se::PoolType::LIGHT; -const se::PoolType Ambient::type = se::PoolType::AMBIENT; -const se::PoolType Fog::type = se::PoolType::FOG; -const se::PoolType Skybox::type = se::PoolType::SKYBOX; -const se::PoolType InstancedAttributeView::type = se::PoolType::INSTANCED_ATTRIBUTE; -const se::PoolType FlatBufferView::type = se::PoolType::FLAT_BUFFER; -const se::PoolType RenderingSubMesh::type = se::PoolType::SUB_MESH; -const se::PoolType Node::type = se::PoolType::NODE; -const se::PoolType Root::type = se::PoolType::ROOT; -const se::PoolType RenderWindow::type = se::PoolType::RENDER_WINDOW; -const se::PoolType Shadows::type = se::PoolType::SHADOW; -const se::PoolType Sphere::type = se::PoolType::SPHERE; -const se::PoolType UIBatch::type = se::PoolType::UI_BATCH; -const se::PoolType PipelineSharedSceneData::type = se::PoolType::PIPELINE_SHARED_SCENE_DATA; +const se::PoolType ModelView::TYPE = se::PoolType::MODEL; +const se::PoolType SubModelView::TYPE = se::PoolType::SUB_MODEL; +const se::PoolType PassView::TYPE = se::PoolType::PASS; +const se::PoolType Camera::TYPE = se::PoolType::CAMERA; +const se::PoolType AABB::TYPE = se::PoolType::AABB; +const se::PoolType Frustum::TYPE = se::PoolType::FRUSTUM; +const se::PoolType Scene::TYPE = se::PoolType::SCENE; +const se::PoolType Light::TYPE = se::PoolType::LIGHT; +const se::PoolType Ambient::TYPE = se::PoolType::AMBIENT; +const se::PoolType Fog::TYPE = se::PoolType::FOG; +const se::PoolType Skybox::TYPE = se::PoolType::SKYBOX; +const se::PoolType InstancedAttributeView::TYPE = se::PoolType::INSTANCED_ATTRIBUTE; +const se::PoolType FlatBufferView::TYPE = se::PoolType::FLAT_BUFFER; +const se::PoolType RenderingSubMesh::TYPE = se::PoolType::SUB_MESH; +const se::PoolType Node::TYPE = se::PoolType::NODE; +const se::PoolType Root::TYPE = se::PoolType::ROOT; +const se::PoolType RenderWindow::TYPE = se::PoolType::RENDER_WINDOW; +const se::PoolType Shadows::TYPE = se::PoolType::SHADOW; +const se::PoolType Sphere::TYPE = se::PoolType::SPHERE; +const se::PoolType UIBatch::TYPE = se::PoolType::UI_BATCH; +const se::PoolType PipelineSharedSceneData::TYPE = se::PoolType::PIPELINE_SHARED_SCENE_DATA; void AABB::getBoundary(cc::Vec3 &minPos, cc::Vec3 &maxPos) const { minPos = center - halfExtents; @@ -62,14 +62,15 @@ void AABB::merge(const AABB &aabb) { cc::Vec3 minB = aabb.center - aabb.halfExtents; cc::Vec3 maxA = center + halfExtents; cc::Vec3 maxB = aabb.center + aabb.halfExtents; - cc::Vec3 maxP, minP; + cc::Vec3 maxP; + cc::Vec3 minP; cc::Vec3::max(maxA, maxB, &maxP); cc::Vec3::min(minA, minB, &minP); cc::Vec3 addP = maxP + minP; cc::Vec3 subP = maxP - minP; - center = addP * 0.5f; - halfExtents = subP * 0.5f; + center = addP * 0.5F; + halfExtents = subP * 0.5F; } int Sphere::interset(const Plane &plane) const { @@ -87,7 +88,7 @@ int Sphere::interset(const Plane &plane) const { } bool Sphere::interset(const Frustum &frustum) const { - for (const auto &plane : frustum.planes) { + for (const auto &plane : frustum.planes) { // NOLINT if (this->interset(plane) == -1) { return false; } @@ -97,7 +98,7 @@ bool Sphere::interset(const Frustum &frustum) const { } void Sphere::mergePoint(const cc::Vec3 &point) { - if (radius < 0.0f) { + if (radius < 0.0F) { center = point; radius = 0.0; return; @@ -107,7 +108,7 @@ void Sphere::mergePoint(const cc::Vec3 &point) { auto distance = offset.length(); if (distance > radius) { - auto half = (distance - radius) * 0.5f; + auto half = (distance - radius) * 0.5F; radius += half; offset.scale(half / distance); center += offset; @@ -115,52 +116,58 @@ void Sphere::mergePoint(const cc::Vec3 &point) { } void Sphere::define(const AABB &aabb) { - cc::Vec3 minPos, maxPos; + cc::Vec3 minPos; + cc::Vec3 maxPos; aabb.getBoundary(minPos, maxPos); // Initialize sphere center.set(minPos); - radius = 0.0f; + radius = 0.0F; // Calculate sphere const cc::Vec3 offset = maxPos - center; const float dist = offset.length(); - const float half = dist * 0.5f; - radius += dist * 0.5f; + const float half = dist * 0.5F; + radius += dist * 0.5F; center += (half / dist) * offset; } void Sphere::mergeAABB(const AABB *aabb) { - cc::Vec3 minPos, maxPos; + cc::Vec3 minPos; + cc::Vec3 maxPos; aabb->getBoundary(minPos, maxPos); mergePoint(minPos); mergePoint(maxPos); } -int sphere_plane(const Sphere *sphere, const Plane *plane) { +int spherePlane(const Sphere *sphere, const Plane *plane) { const auto dot = cc::Vec3::dot(plane->normal, sphere->center); const auto r = sphere->radius * plane->normal.length(); if (dot + r < plane->distance) { return -1; - } else if (dot - r > plane->distance) { + } + if (dot - r > plane->distance) { return 0; } return 1; }; -bool sphere_frustum(const Sphere *sphere, const Frustum *frustum) { - for (auto i = 0; i < PLANE_LENGTH; i++) { +bool sphere_frustum(const Sphere *sphere, const Frustum *frustum) { // NOLINT + for (const auto &plane : frustum->planes) { // frustum plane normal points to the inside - if (sphere_plane(sphere, &frustum->planes[i]) == -1) { + if (spherePlane(sphere, &plane) == -1) { return false; } } // completely outside return true; } -bool aabb_aabb(const AABB *aabb1, const AABB *aabb2) { - cc::Vec3 aMin, aMax, bMin, bMax; +bool aabbAabb(const AABB *aabb1, const AABB *aabb2) { + cc::Vec3 aMin; + cc::Vec3 aMax; + cc::Vec3 bMin; + cc::Vec3 bMax; cc::Vec3::subtract(aabb1->center, aabb1->halfExtents, &aMin); cc::Vec3::add(aabb1->center, aabb1->halfExtents, &aMax); cc::Vec3::subtract(aabb2->center, aabb2->halfExtents, &bMin); @@ -170,7 +177,7 @@ bool aabb_aabb(const AABB *aabb1, const AABB *aabb2) { (aMin.z <= bMax.z && aMax.z >= bMin.z); } -int aabb_plane(const AABB *aabb, const Plane *plane) { +int aabbPlane(const AABB *aabb, const Plane *plane) { const auto &halfExtents = aabb->halfExtents; auto r = halfExtents.x * std::abs(plane->normal.x) + halfExtents.y * std::abs(plane->normal.y) + @@ -178,31 +185,32 @@ int aabb_plane(const AABB *aabb, const Plane *plane) { auto dot = Vec3::dot(plane->normal, aabb->center); if (dot + r < plane->distance) { return -1; - } else if (dot - r > plane->distance) { + } + if (dot - r > plane->distance) { return 0; } return 1; }; -bool aabb_frustum(const AABB *aabb, const Frustum *frustum) { - for (size_t i = 0; i < PLANE_LENGTH; i++) { +bool aabbFrustum(const AABB *aabb, const Frustum *frustum) { + for (const auto &plane : frustum->planes) { // frustum plane normal points to the inside - if (aabb_plane(aabb, &frustum->planes[i]) == -1) { - return 0; + if (aabbPlane(aabb, &plane) == -1) { + return false; } } // completely outside - return 1; + return true; } gfx::BlendState *getBlendStateImpl(uint index) { static gfx::BlendState blendState; - auto buffer = SharedMemory::getBuffer(se::PoolType::BLEND_STATE, index); - memcpy(&blendState, buffer, 24); + auto * buffer = SharedMemory::getBuffer(se::PoolType::BLEND_STATE, index); + memcpy(&blendState, buffer, 24); // NOLINT - uint32_t targetArrayHandle = *(buffer + 6); - const auto targetsHandle = GET_BLEND_TARGET_ARRAY(targetArrayHandle); - uint32_t targetLen = targetsHandle[0]; - auto & targets = blendState.targets; + uint32_t targetArrayHandle = *(buffer + 6); + auto *const targetsHandle = GET_BLEND_TARGET_ARRAY(targetArrayHandle); + uint32_t targetLen = targetsHandle[0]; + auto & targets = blendState.targets; targets.resize(targetLen); for (uint32_t i = 1; i <= targetLen; ++i) { memcpy(&targets[i - 1], GET_BLEND_TARGET(targetsHandle[i]), sizeof(gfx::BlendTarget)); diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index b5fb35edaf..a01f0a5d1b 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -29,6 +29,7 @@ #include "bindings/dop/BufferAllocator.h" #include "bindings/dop/BufferPool.h" #include "bindings/dop/ObjectPool.h" +#include "bindings/dop/PoolType.h" #include "math/Vec2.h" #include "math/Vec3.h" #include "math/Vec4.h" @@ -43,31 +44,31 @@ namespace pipeline { extern gfx::BlendState *getBlendStateImpl(uint index); //Get buffer pool data -#define GET_SUBMODEL(index) SharedMemory::getBuffer(index) -#define GET_PASS(index) SharedMemory::getBuffer(index) -#define GET_MODEL(index) SharedMemory::getBuffer(index) -#define GET_FLAT_BUFFER(index) SharedMemory::getBuffer(index) -#define GET_INSTANCE_ATTRIBUTE(index) SharedMemory::getBuffer(index) -#define GET_RENDER_SUBMESH(index) SharedMemory::getBuffer(index) -#define GET_BUFFERVIEW(index) SharedMemory::getBuffer(index) -#define GET_NODE(index) SharedMemory::getBuffer(index) -#define GET_ROOT() SharedMemory::getBuffer(se::BufferPool::getPoolFlag()) -#define GET_CAMERA(index) SharedMemory::getBuffer(index) -#define GET_SCENE(index) SharedMemory::getBuffer(index) -#define GET_LIGHT(index) SharedMemory::getBuffer(index) -#define GET_AMBIENT(index) SharedMemory::getBuffer(index) -#define GET_FOG(index) SharedMemory::getBuffer(index) -#define GET_SKYBOX(index) SharedMemory::getBuffer(index) -#define GET_FRUSTUM(index) SharedMemory::getBuffer(index) -#define GET_AABB(index) SharedMemory::getBuffer(index) -#define GET_WINDOW(index) SharedMemory::getBuffer(index) -#define GET_SHADOWS(index) SharedMemory::getBuffer(index) -#define GET_SPHERE(index) SharedMemory::getBuffer(index) -#define GET_RASTERIZER_STATE(index) SharedMemory::getBuffer(se::PoolType::RASTERIZER_STATE, index) -#define GET_DEPTH_STENCIL_STATE(index) SharedMemory::getBuffer(se::PoolType::DEPTH_STENCIL_STATE, index) -#define GET_BLEND_TARGET(index) SharedMemory::getBuffer(se::PoolType::BLEND_TARGET, index) -#define GET_BLEND_STATE(index) getBlendStateImpl(index) -#define GET_UI_BATCH(index) SharedMemory::getBuffer(index) +#define GET_SUBMODEL(index) SharedMemory::getBuffer(index) +#define GET_PASS(index) SharedMemory::getBuffer(index) +#define GET_MODEL(index) SharedMemory::getBuffer(index) +#define GET_FLAT_BUFFER(index) SharedMemory::getBuffer(index) +#define GET_INSTANCE_ATTRIBUTE(index) SharedMemory::getBuffer(index) +#define GET_RENDER_SUBMESH(index) SharedMemory::getBuffer(index) +#define GET_BUFFERVIEW(index) SharedMemory::getBuffer(index) +#define GET_NODE(index) SharedMemory::getBuffer(index) +#define GET_ROOT() SharedMemory::getBuffer(se::BufferPool::getPoolFlag()) +#define GET_CAMERA(index) SharedMemory::getBuffer(index) +#define GET_SCENE(index) SharedMemory::getBuffer(index) +#define GET_LIGHT(index) SharedMemory::getBuffer(index) +#define GET_AMBIENT(index) SharedMemory::getBuffer(index) +#define GET_FOG(index) SharedMemory::getBuffer(index) +#define GET_SKYBOX(index) SharedMemory::getBuffer(index) +#define GET_FRUSTUM(index) SharedMemory::getBuffer(index) +#define GET_AABB(index) SharedMemory::getBuffer(index) +#define GET_WINDOW(index) SharedMemory::getBuffer(index) +#define GET_SHADOWS(index) SharedMemory::getBuffer(index) +#define GET_SPHERE(index) SharedMemory::getBuffer(index) +#define GET_RASTERIZER_STATE(index) SharedMemory::getBuffer(se::PoolType::RASTERIZER_STATE, index) +#define GET_DEPTH_STENCIL_STATE(index) SharedMemory::getBuffer(se::PoolType::DEPTH_STENCIL_STATE, index) +#define GET_BLEND_TARGET(index) SharedMemory::getBuffer(se::PoolType::BLEND_TARGET, index) +#define GET_BLEND_STATE(index) getBlendStateImpl(index) +#define GET_UI_BATCH(index) SharedMemory::getBuffer(index) #define GET_PIPELINE_SHARED_SCENE_DATA(index) SharedMemory::getBuffer(index) //Get object pool data @@ -91,42 +92,48 @@ extern gfx::BlendState *getBlendStateImpl(uint index); // Get raw buffer or gfx object. #define GET_RAW_BUFFER(index, size) SharedMemory::getRawBuffer(se::PoolType::RAW_BUFFER, index, size) -static const float SHADOW_CAMERA_MAX_FAR = 2000.0f; -static const float COEFFICIENT_OF_EXPANSION = 2.0f * std::sqrtf(3.0f); +static const float SHADOW_CAMERA_MAX_FAR = 2000.0F; +static const float COEFFICIENT_OF_EXPANSION = 2.0F * std::sqrtf(3.0F); class CC_DLL SharedMemory : public Object { public: template static T *getBuffer(uint index) { const auto &bufferMap = se::BufferPool::getPoolMap(); - if (bufferMap.count(T::type) != 0) { - const se::BufferPool *bufferPool = bufferMap.at(T::type); - return bufferPool->getTypedObject(index); - } else { - return nullptr; - } + const auto type = GET_BUFFER_POOL_ID(T::TYPE); + +#ifdef CC_DEBUG + CCASSERT(bufferMap[type] != nullptr, "BufferPool: Invalid buffer pool type"); +#endif + + const se::BufferPool *bufferPool = bufferMap[type]; + return bufferPool->getTypedObject(index); } template static T *getBuffer(se::PoolType poolType, uint index) { const auto &bufferMap = se::BufferPool::getPoolMap(); - if (bufferMap.count(poolType) != 0) { - const se::BufferPool *bufferPool = bufferMap.at(poolType); - return bufferPool->getTypedObject(index); - } else { - return nullptr; - } + const auto type = GET_BUFFER_POOL_ID(poolType); + +#ifdef CC_DEBUG + CCASSERT(bufferMap[type] != nullptr, "BufferPool: Invalid buffer pool type"); +#endif + + const se::BufferPool *bufferPool = bufferMap[type]; + return bufferPool->getTypedObject(index); } template static T *getObject(uint index) { const auto &poolMap = se::ObjectPool::getPoolMap(); - if (poolMap.count(p) != 0) { - const se::ObjectPool *objectPool = poolMap.at(p); - return objectPool->getTypedObject(index); - } else { - return nullptr; - } + const auto type = GET_OBJECT_POOL_ID(p); + +#ifdef CC_DEBUG + CCASSERT(poolMap[type] != nullptr, "BufferPool: Invalid buffer pool type"); +#endif + + const se::ObjectPool *objectPool = poolMap[type]; + return objectPool->getTypedObject(index); } static uint32_t *getHandleArray(se::PoolType type, uint index) { @@ -146,39 +153,39 @@ public: struct CC_DLL Node { uint32_t flagsChanged = 0; - uint32_t layer = 0; + uint32_t layer = 0; cc::Vec3 worldScale; cc::Vec3 worldPosition; cc::Vec4 worldRotation; cc::Mat4 worldMatrix; - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL AABB { cc::Vec3 center; cc::Vec3 halfExtents; - void getBoundary(cc::Vec3 &minPos, cc::Vec3 &maxPos) const; + void getBoundary(cc::Vec3 &minPos, cc::Vec3 &maxPos) const; // NOLINT void merge(const AABB &aabb); - const static se::PoolType type; + const static se::PoolType TYPE; }; -bool aabb_aabb(const AABB *, const AABB *); +bool aabbAabb(const AABB *, const AABB *); struct CC_DLL Plane { cc::Vec3 normal; - float distance; + float distance; }; constexpr uint PLANE_LENGTH = 6; -struct CC_DLL Frustum { +struct CC_DLL Frustum { cc::Vec3 vertices[8]; - Plane planes[PLANE_LENGTH]; + Plane planes[PLANE_LENGTH]; - const static se::PoolType type; + const static se::PoolType TYPE; }; -bool aabb_frustum(const AABB *, const Frustum *); +bool aabbFrustum(const AABB *, const Frustum *); enum class LightType { DIRECTIONAL, @@ -188,56 +195,56 @@ enum class LightType { }; struct CC_DLL Light { uint32_t useColorTemperature = 0; - float luminance = 0; - uint32_t nodeID = 0; - float range = 0; - uint32_t lightType = 0; - uint32_t aabbID = 0; - uint32_t frustumID = 0; - float size = 0.15f; - float spotAngle = 0.0f; - float aspect = 1.0f; + float luminance = 0; + uint32_t nodeID = 0; + float range = 0; + uint32_t lightType = 0; + uint32_t aabbID = 0; + uint32_t frustumID = 0; + float size = 0.15F; + float spotAngle = 0.0F; + float aspect = 1.0F; cc::Vec3 direction; cc::Vec3 color; cc::Vec3 colorTemperatureRGB; cc::Vec3 position; CC_INLINE const Node *getNode() const { return GET_NODE(nodeID); } - CC_INLINE LightType getType() const { return static_cast(lightType); } + CC_INLINE LightType getType() const { return static_cast(lightType); } CC_INLINE const AABB *getAABB() const { return GET_AABB(aabbID); } CC_INLINE const Frustum *getFrustum() const { return GET_FRUSTUM(frustumID); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL FlatBufferView { - uint32_t stride = 0; - uint32_t count = 0; + uint32_t stride = 0; + uint32_t count = 0; uint32_t bufferID = 0; // raw buffer id CC_INLINE uint8_t *getBuffer(uint *size) const { return GET_RAW_BUFFER(bufferID, size); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL InstancedAttributeView { - uint32_t nameID = 0; - uint32_t format = 0; + uint32_t nameID = 0; + uint32_t format = 0; uint32_t isNormalized = 0; - uint32_t bufferID = 0; + uint32_t bufferID = 0; CC_INLINE const uint8_t *getBuffer(uint *size) const { return GET_RAW_BUFFER(bufferID, size); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL RenderingSubMesh { uint32_t flatBuffersID = 0; // array pool id - CC_INLINE const uint *getFlatBufferArrayID() const { return GET_FLAT_BUFFER_ARRAY(flatBuffersID); } - CC_INLINE const FlatBufferView *getFlatBuffer(uint idx) const { return GET_FLAT_BUFFER(idx); } + CC_INLINE const uint * getFlatBufferArrayID() const { return GET_FLAT_BUFFER_ARRAY(flatBuffersID); } + static CC_INLINE const FlatBufferView *getFlatBuffer(uint idx) { return GET_FLAT_BUFFER(idx); } - const static se::PoolType type; + const static se::PoolType TYPE; }; enum class CC_DLL BatchingSchemes { @@ -246,18 +253,18 @@ enum class CC_DLL BatchingSchemes { }; struct CC_DLL PassView { - uint32_t priority = 0; - uint32_t stage = 0; - uint32_t phase = 0; - uint32_t batchingScheme = 0; - uint32_t primitive = 0; - uint32_t dynamicState = 0; - uint32_t hash = 0; - uint32_t rasterizerStateID = 0; + uint32_t priority = 0; + uint32_t stage = 0; + uint32_t phase = 0; + uint32_t batchingScheme = 0; + uint32_t primitive = 0; + uint32_t dynamicState = 0; + uint32_t hash = 0; + uint32_t rasterizerStateID = 0; uint32_t depthStencilStateID = 0; - uint32_t blendStateID = 0; - uint32_t descriptorSetID = 0; - uint32_t pipelineLayoutID = 0; + uint32_t blendStateID = 0; + uint32_t descriptorSetID = 0; + uint32_t pipelineLayoutID = 0; CC_INLINE BatchingSchemes getBatchingScheme() const { return static_cast(batchingScheme); } CC_INLINE gfx::PrimitiveMode getPrimitive() const { return static_cast(primitive); } @@ -268,19 +275,19 @@ struct CC_DLL PassView { CC_INLINE gfx::DescriptorSet *getDescriptorSet() const { return GET_DESCRIPTOR_SET(descriptorSetID); } CC_INLINE gfx::PipelineLayout *getPipelineLayout() const { return GET_PIPELINE_LAYOUT(pipelineLayoutID); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL SubModelView { - uint32_t priority = 0; - uint32_t passCount = 0; - uint32_t passID[4] = {0, 0, 0, 0}; - uint32_t shaderID[4] = {0, 0, 0, 0}; - uint32_t planarShaderID = 0; + uint32_t priority = 0; + uint32_t passCount = 0; + uint32_t passID[4] = {0, 0, 0, 0}; + uint32_t shaderID[4] = {0, 0, 0, 0}; + uint32_t planarShaderID = 0; uint32_t planarInstanceShaderID = 0; - uint32_t descriptorSetID = 0; - uint32_t inputAssemblerID = 0; - uint32_t subMeshID = 0; + uint32_t descriptorSetID = 0; + uint32_t inputAssemblerID = 0; + uint32_t subMeshID = 0; CC_INLINE const PassView *getPassView(uint idx) const { return GET_PASS(passID[idx]); } CC_INLINE gfx::Shader *getShader(uint idx) const { return GET_SHADER(shaderID[idx]); } @@ -290,38 +297,38 @@ struct CC_DLL SubModelView { CC_INLINE gfx::InputAssembler *getInputAssembler() const { return GET_IA(inputAssemblerID); } CC_INLINE const RenderingSubMesh *getSubMesh() const { return GET_RENDER_SUBMESH(subMeshID); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL ModelView { - uint32_t enabled = 0; - uint32_t visFlags = 0; - uint32_t castShadow = 0; - uint32_t receiveShadow = 0; - uint32_t worldBoundsID = 0; // aabb - uint32_t nodeID = 0; - uint32_t transformID = 0; - uint32_t subModelsID = 0; // array pool id + uint32_t enabled = 0; + uint32_t visFlags = 0; + uint32_t castShadow = 0; + uint32_t receiveShadow = 0; + uint32_t worldBoundsID = 0; // aabb + uint32_t nodeID = 0; + uint32_t transformID = 0; + uint32_t subModelsID = 0; // array pool id uint32_t instancedBufferID = 0; // raw buffer id - uint32_t instancedAttrsID = 0; // array pool id + uint32_t instancedAttrsID = 0; // array pool id CC_INLINE const AABB *getWorldBounds() const { return GET_AABB(worldBoundsID); } CC_INLINE const Node *getNode() const { return GET_NODE(nodeID); } CC_INLINE const Node *getTransform() const { return GET_NODE(transformID); } - CC_INLINE const uint *getSubModelID() const { return GET_SUBMODEL_ARRAY(subModelsID); } - CC_INLINE const SubModelView *getSubModelView(uint idx) const { return GET_SUBMODEL(idx); } + CC_INLINE const uint * getSubModelID() const { return GET_SUBMODEL_ARRAY(subModelsID); } + static CC_INLINE const SubModelView *getSubModelView(uint idx) { return GET_SUBMODEL(idx); } CC_INLINE const uint8_t *getInstancedBuffer(uint *size) const { return GET_RAW_BUFFER(instancedBufferID, size); } CC_INLINE const uint *getInstancedAttributeID() const { return GET_ATTRIBUTE_ARRAY(instancedAttrsID); } - CC_INLINE gfx::Attribute *getInstancedAttribute(uint idx) const { return GET_ATTRIBUTE(idx); } - const static se::PoolType type; + static CC_INLINE gfx::Attribute *getInstancedAttribute(uint idx) { return GET_ATTRIBUTE(idx); } + const static se::PoolType TYPE; }; struct CC_DLL UIBatch { - uint32_t visFlags = 0; - uint32_t passCount = 0; - uint32_t passID[4] = {0, 0, 0, 0}; - uint32_t shaderID[4] = {0, 0, 0, 0}; - uint32_t descriptorSetID = 0; + uint32_t visFlags = 0; + uint32_t passCount = 0; + uint32_t passID[4] = {0, 0, 0, 0}; + uint32_t shaderID[4] = {0, 0, 0, 0}; + uint32_t descriptorSetID = 0; uint32_t inputAssemblerID = 0; CC_INLINE const PassView *getPassView(uint idx) const { return GET_PASS(passID[idx]); } @@ -329,134 +336,134 @@ struct CC_DLL UIBatch { CC_INLINE gfx::DescriptorSet *getDescriptorSet() const { return GET_DESCRIPTOR_SET(descriptorSetID); } CC_INLINE gfx::InputAssembler *getInputAssembler() const { return GET_IA(inputAssemblerID); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL Scene { uint32_t mainLightID = 0; - uint32_t modelsID = 0; // array pool - uint32_t sphereLights; // array pool - uint32_t spotLights; // array pool - uint32_t uiBatches; // array pool + uint32_t modelsID = 0; // array pool + uint32_t sphereLights; // array pool + uint32_t spotLights; // array pool + uint32_t uiBatches; // array pool CC_INLINE const Light *getMainLight() const { return GET_LIGHT(mainLightID); } - CC_INLINE const uint *getSphereLightArrayID() const { return GET_LIGHT_ARRAY(sphereLights); } - CC_INLINE const Light *getSphereLight(uint idx) const { return GET_LIGHT(idx); } - CC_INLINE const uint *getSpotLightArrayID() const { return GET_LIGHT_ARRAY(spotLights); } - CC_INLINE const Light *getSpotLight(uint idx) const { return GET_LIGHT(idx); } - CC_INLINE const uint *getModels() const { return GET_MODEL_ARRAY(modelsID); } - CC_INLINE const ModelView *getModelView(uint idx) const { return GET_MODEL(idx); } - CC_INLINE const uint *getUIBatches() const {return GET_UI_BATCH_ARRAY(uiBatches);} + CC_INLINE const uint * getSphereLightArrayID() const { return GET_LIGHT_ARRAY(sphereLights); } + static CC_INLINE const Light *getSphereLight(uint idx) { return GET_LIGHT(idx); } + CC_INLINE const uint * getSpotLightArrayID() const { return GET_LIGHT_ARRAY(spotLights); } + static CC_INLINE const Light *getSpotLight(uint idx) { return GET_LIGHT(idx); } + CC_INLINE const uint * getModels() const { return GET_MODEL_ARRAY(modelsID); } + static CC_INLINE const ModelView *getModelView(uint idx) { return GET_MODEL(idx); } + CC_INLINE const uint *getUIBatches() const { return GET_UI_BATCH_ARRAY(uiBatches); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL RenderWindow { - uint32_t hasOnScreenAttachments = 0; + uint32_t hasOnScreenAttachments = 0; uint32_t hasOffScreenAttachments = 0; - uint32_t framebufferID = 0; + uint32_t framebufferID = 0; CC_INLINE gfx::Framebuffer *getFramebuffer() const { return GET_FRAMEBUFFER(framebufferID); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL Camera { - uint32_t width = 0; - uint32_t height = 0; - float exposure = 0; - uint32_t clearFlag = 0; - float clearDepth = 0; - uint32_t clearStencil = 0; - uint32_t visibility = 0; - uint32_t nodeID = 0; - uint32_t sceneID = 0; - uint32_t frustumID = 0; - uint32_t windowID = 0; - cc::Vec3 forward; - cc::Vec3 position; - float viewportX = 0; - float viewportY = 0; - float viewportWidth = 0; - float viewportHeight = 0; + uint32_t width = 0; + uint32_t height = 0; + float exposure = 0; + uint32_t clearFlag = 0; + float clearDepth = 0; + uint32_t clearStencil = 0; + uint32_t visibility = 0; + uint32_t nodeID = 0; + uint32_t sceneID = 0; + uint32_t frustumID = 0; + uint32_t windowID = 0; + cc::Vec3 forward; + cc::Vec3 position; + float viewportX = 0; + float viewportY = 0; + float viewportWidth = 0; + float viewportHeight = 0; gfx::Color clearColor; - cc::Mat4 matView; - cc::Mat4 matViewProj; - cc::Mat4 matViewProjInv; - cc::Mat4 matProj; - cc::Mat4 matProjInv; - cc::Mat4 matViewProjOffscreen; - cc::Mat4 matViewProjInvOffscreen; - cc::Mat4 matProjOffscreen; - cc::Mat4 matProjInvOffscreen; + cc::Mat4 matView; + cc::Mat4 matViewProj; + cc::Mat4 matViewProjInv; + cc::Mat4 matProj; + cc::Mat4 matProjInv; + cc::Mat4 matViewProjOffscreen; + cc::Mat4 matViewProjInvOffscreen; + cc::Mat4 matProjOffscreen; + cc::Mat4 matProjInvOffscreen; CC_INLINE const Node *getNode() const { return GET_NODE(nodeID); } CC_INLINE const Scene *getScene() const { return GET_SCENE(sceneID); } CC_INLINE const Frustum *getFrustum() const { return GET_FRUSTUM(frustumID); } CC_INLINE const RenderWindow *getWindow() const { return GET_WINDOW(windowID); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL Ambient { - uint32_t enabled = 0; - float skyIllum = 0; + uint32_t enabled = 0; + float skyIllum = 0; cc::Vec4 skyColor; cc::Vec4 groundAlbedo; - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL Fog { - uint32_t enabled = 0; - uint32_t fogType = 0; - float fogDensity = 0; - float fogStart = 0; - float fogEnd = 0; - float fogAtten = 0; - float fogTop = 0; - float fogRange = 0; + uint32_t enabled = 0; + uint32_t fogType = 0; + float fogDensity = 0; + float fogStart = 0; + float fogEnd = 0; + float fogAtten = 0; + float fogTop = 0; + float fogRange = 0; cc::Vec4 fogColor; - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL Sphere { - float radius = 0; + float radius = 0; cc::Vec3 center; CC_INLINE void setCenter(const cc::Vec3 &val) { center = val; } CC_INLINE void setRadius(float val) { radius = val; } - void define(const AABB &aabb); - void mergeAABB(const AABB *aabb); - void mergePoint(const cc::Vec3 &point); - bool interset(const Frustum &frustum) const; - int interset(const Plane &plane) const; + void define(const AABB &aabb); + void mergeAABB(const AABB *aabb); + void mergePoint(const cc::Vec3 &point); + bool interset(const Frustum &frustum) const; + int interset(const Plane &plane) const; - const static se::PoolType type; + const static se::PoolType TYPE; }; -bool sphere_frustum(const Sphere *sphere, const Frustum *frustum); +bool sphere_frustum(const Sphere *sphere, const Frustum *frustum); //NOLINT enum class CC_DLL ShadowType { - PLANAR = 0, + PLANAR = 0, SHADOWMAP = 1 }; struct CC_DLL Shadows { - uint32_t enabled = 0; - uint32_t dirty = 0; - uint32_t shadowType = 0; - float distance = 0.0f; - uint32_t instancePass = 0; - uint32_t planarPass = 0; - float nearValue = 0.0f; - float farValue = 0.0f; - float aspect = 0.0f; - uint32_t pcfType = 0; + uint32_t enabled = 0; + uint32_t dirty = 0; + uint32_t shadowType = 0; + float distance = 0.0F; + uint32_t instancePass = 0; + uint32_t planarPass = 0; + float nearValue = 0.0F; + float farValue = 0.0F; + float aspect = 0.0F; + uint32_t pcfType = 0; uint32_t shadowMapDirty = 0; - float bias = 0.0f; - float orthoSize = 0.0f; - uint32_t autoAdapt = 0; + float bias = 0.0F; + float orthoSize = 0.0F; + uint32_t autoAdapt = 0; cc::Vec4 color; cc::Vec2 size; @@ -467,50 +474,50 @@ struct CC_DLL Shadows { CC_INLINE PassView *getPlanarShadowPass() const { return GET_PASS(planarPass); } CC_INLINE PassView *getInstancePass() const { return GET_PASS(instancePass); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL Skybox { uint32_t enabled = 0; - uint32_t isRGBE = 0; - uint32_t useIBL = 0; + uint32_t isRGBE = 0; + uint32_t useIBL = 0; uint32_t modelID = 0; CC_INLINE const ModelView *getModel() const { return GET_MODEL(modelID); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL PipelineSharedSceneData { - uint32_t shadow = 0; - uint32_t skybox = 0; - uint32_t ambient = 0; - uint32_t fog = 0; - uint32_t isHDR = 0; - uint32_t shadingScale = 0; - uint32_t fpScale = 0; - uint32_t deferredLightPass = 0; + uint32_t shadow = 0; + uint32_t skybox = 0; + uint32_t ambient = 0; + uint32_t fog = 0; + uint32_t isHDR = 0; + uint32_t shadingScale = 0; + uint32_t fpScale = 0; + uint32_t deferredLightPass = 0; uint32_t deferredLightPassShader = 0; - uint32_t deferredPostPass = 0; - uint32_t deferredPostPassShader = 0; + uint32_t deferredPostPass = 0; + uint32_t deferredPostPassShader = 0; - CC_INLINE Shadows* getShadows() const {return GET_SHADOWS(shadow);} - CC_INLINE Skybox* getSkybox() const {return GET_SKYBOX(skybox);} - CC_INLINE Ambient* getAmbient() const {return GET_AMBIENT(ambient);} - CC_INLINE Fog* getFog() const {return GET_FOG(fog);} - CC_INLINE PassView* getDeferredLightPass() const {return GET_PASS(deferredLightPass);} - CC_INLINE gfx::Shader* getDeferredLightPassShader() const {return GET_SHADER(deferredLightPassShader);} - CC_INLINE PassView* getDeferredPostPass() const {return GET_PASS(deferredPostPass);} - CC_INLINE gfx::Shader* getDeferredPostPassShader() const {return GET_SHADER(deferredPostPassShader);} + CC_INLINE Shadows *getShadows() const { return GET_SHADOWS(shadow); } + CC_INLINE Skybox *getSkybox() const { return GET_SKYBOX(skybox); } + CC_INLINE Ambient *getAmbient() const { return GET_AMBIENT(ambient); } + CC_INLINE Fog *getFog() const { return GET_FOG(fog); } + CC_INLINE PassView *getDeferredLightPass() const { return GET_PASS(deferredLightPass); } + CC_INLINE gfx::Shader *getDeferredLightPassShader() const { return GET_SHADER(deferredLightPassShader); } + CC_INLINE PassView *getDeferredPostPass() const { return GET_PASS(deferredPostPass); } + CC_INLINE gfx::Shader *getDeferredPostPassShader() const { return GET_SHADER(deferredPostPassShader); } - const static se::PoolType type; + const static se::PoolType TYPE; }; struct CC_DLL Root { float cumulativeTime = 0; - float frameTime = 0; + float frameTime = 0; - const static se::PoolType type; + const static se::PoolType TYPE; }; } //namespace pipeline From ccbd3d7e409964b614f5591f4ae2368f999bc3ab Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Mon, 19 Apr 2021 09:54:12 +0800 Subject: [PATCH 258/270] [ci skip][AUTO]: updating jsbinding automatically: 59f9881e (#3424) Co-authored-by: cocos-robot --- native/templates/cocos2dx_files.json | 1 + 1 file changed, 1 insertion(+) diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 8971e92ad5..2ae75cc174 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -18746,6 +18746,7 @@ "external/win32/libs/icuuc.dll", "external/win32/libs/icuuc.dll.lib", "external/win32/libs/libEGL.dll", + "external/win32/libs/libGLES_CM.dll", "external/win32/libs/libGLESv2.dll", "external/win32/libs/libcrypto-1_1.dll", "external/win32/libs/libcrypto.lib", From 97ea27b8123e7f90eb5834f8bf233fff41ba5222 Mon Sep 17 00:00:00 2001 From: troublemaker52025 Date: Mon, 19 Apr 2021 01:55:45 -0500 Subject: [PATCH 259/270] Add Linear depth for nativeEngine in v3.1 (#3404) * fix native-engine for linearDepth --- native/cocos/renderer/pipeline/Define.cpp | 193 ++++++++++-------- native/cocos/renderer/pipeline/Define.h | 102 ++++----- .../renderer/pipeline/InstancedBuffer.cpp | 3 +- .../cocos/renderer/pipeline/PipelineUBO.cpp | 96 +++++---- .../renderer/pipeline/PlanarShadowQueue.cpp | 24 +-- .../renderer/pipeline/PlanarShadowQueue.h | 6 +- .../pipeline/RenderAdditiveLightQueue.cpp | 50 +++-- .../renderer/pipeline/RenderBatchedQueue.cpp | 22 +- .../pipeline/RenderInstancedQueue.cpp | 19 +- .../renderer/pipeline/RenderPipeline.cpp | 28 +-- .../cocos/renderer/pipeline/RenderQueue.cpp | 6 +- .../cocos/renderer/pipeline/SceneCulling.cpp | 5 +- .../pipeline/ShadowMapBatchedQueue.cpp | 4 +- .../pipeline/deferred/DeferredPipeline.cpp | 10 +- .../pipeline/deferred/GbufferStage.cpp | 4 +- .../pipeline/forward/ForwardPipeline.cpp | 55 ++--- .../pipeline/forward/ForwardStage.cpp | 4 +- .../renderer/pipeline/forward/UIPhase.cpp | 34 +-- .../renderer/pipeline/helper/SharedMemory.h | 12 +- .../renderer/pipeline/shadow/ShadowFlow.cpp | 27 ++- .../renderer/pipeline/shadow/ShadowFlow.h | 16 +- .../renderer/pipeline/shadow/ShadowStage.cpp | 35 ++-- .../renderer/pipeline/shadow/ShadowStage.h | 14 +- 23 files changed, 423 insertions(+), 346 deletions(-) diff --git a/native/cocos/renderer/pipeline/Define.cpp b/native/cocos/renderer/pipeline/Define.cpp index cbcdb14e51..fbb6f80fc0 100644 --- a/native/cocos/renderer/pipeline/Define.cpp +++ b/native/cocos/renderer/pipeline/Define.cpp @@ -31,19 +31,19 @@ namespace cc { namespace pipeline { -int GLOBAL_UBO_COUNT = static_cast(PipelineGlobalBindings::SAMPLER_SHADOWMAP); -int GLOBAL_SAMPLER_COUNT = static_cast(PipelineGlobalBindings::COUNT) - GLOBAL_UBO_COUNT; +int globalUBOCount = static_cast(PipelineGlobalBindings::SAMPLER_SHADOWMAP); +int globalSamplerCount = static_cast(PipelineGlobalBindings::COUNT) - globalUBOCount; -int LOCAL_UBO_COUNT = static_cast(ModelLocalBindings::SAMPLER_JOINTS); -int LOCAL_SAMPLER_COUNT = static_cast(ModelLocalBindings::COUNT) - LOCAL_UBO_COUNT; +int localUBOCount = static_cast(ModelLocalBindings::SAMPLER_JOINTS); +int localSamplerCount = static_cast(ModelLocalBindings::COUNT) - localUBOCount; -uint GLOBAL_SET = static_cast(SetIndex::GLOBAL); -uint MATERIAL_SET = static_cast(SetIndex::MATERIAL); -uint LOCAL_SET = static_cast(SetIndex::LOCAL); +uint globalSet = static_cast(SetIndex::GLOBAL); +uint materialSet = static_cast(SetIndex::MATERIAL); +uint localSet = static_cast(SetIndex::LOCAL); gfx::BindingMappingInfo bindingMappingInfo = { - {0, GLOBAL_UBO_COUNT + LOCAL_UBO_COUNT, GLOBAL_UBO_COUNT}, - {-GLOBAL_UBO_COUNT, GLOBAL_SAMPLER_COUNT + LOCAL_SAMPLER_COUNT, GLOBAL_SAMPLER_COUNT - LOCAL_UBO_COUNT}, + {0, globalUBOCount + localUBOCount, globalUBOCount}, + {-globalUBOCount, globalSamplerCount + localSamplerCount, globalSamplerCount - localUBOCount}, 1, }; @@ -55,9 +55,10 @@ const gfx::DescriptorSetLayoutBinding UBOGlobal::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::ALL, + {}, }; const gfx::UniformBlock UBOGlobal::LAYOUT = { - GLOBAL_SET, + globalSet, UBOGlobal::BINDING, UBOGlobal::NAME, { @@ -74,9 +75,10 @@ const gfx::DescriptorSetLayoutBinding UBOLocalBatched::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; const gfx::UniformBlock UBOLocalBatched::LAYOUT = { - LOCAL_SET, + localSet, UBOLocalBatched::BINDING, UBOLocalBatched::NAME, { @@ -91,9 +93,10 @@ const gfx::DescriptorSetLayoutBinding UBOCamera::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::ALL, + {}, }; const gfx::UniformBlock UBOCamera::LAYOUT = { - GLOBAL_SET, + globalSet, UBOCamera::BINDING, UBOCamera::NAME, { @@ -123,16 +126,20 @@ const gfx::DescriptorSetLayoutBinding UBOShadow::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::ALL, + {}, }; const gfx::UniformBlock UBOShadow::LAYOUT = { - GLOBAL_SET, + globalSet, UBOShadow::BINDING, UBOShadow::NAME, { {"cc_matLightPlaneProj", gfx::Type::MAT4, 1}, + {"cc_matLightView", gfx::Type::MAT4, 1}, {"cc_matLightViewProj", gfx::Type::MAT4, 1}, + {"cc_shadowNFLSInfo", gfx::Type::FLOAT4, 1}, + {"cc_shadowWHPBInfo", gfx::Type::FLOAT4, 1}, + {"cc_shadowLPNNInfo", gfx::Type::FLOAT4, 1}, {"cc_shadowColor", gfx::Type::FLOAT4, 1}, - {"cc_shadowInfo", gfx::Type::FLOAT4, 1}, }, 1, }; @@ -143,9 +150,10 @@ const gfx::DescriptorSetLayoutBinding UBOLocal::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; const gfx::UniformBlock UBOLocal::LAYOUT = { - LOCAL_SET, + localSet, UBOLocal::BINDING, UBOLocal::NAME, { @@ -162,9 +170,10 @@ const gfx::DescriptorSetLayoutBinding UBOForwardLight::DESCRIPTOR = { gfx::DescriptorType::DYNAMIC_UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; const gfx::UniformBlock UBOForwardLight::LAYOUT = { - LOCAL_SET, + localSet, UBOForwardLight::BINDING, UBOForwardLight::NAME, { @@ -182,9 +191,10 @@ const gfx::DescriptorSetLayoutBinding UBOSkinningTexture::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; const gfx::UniformBlock UBOSkinningTexture::LAYOUT = { - LOCAL_SET, + localSet, UBOSkinningTexture::BINDING, UBOSkinningTexture::NAME, { @@ -199,9 +209,10 @@ const gfx::DescriptorSetLayoutBinding UBOSkinningAnimation::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; const gfx::UniformBlock UBOSkinningAnimation::LAYOUT = { - LOCAL_SET, + localSet, UBOSkinningAnimation::BINDING, UBOSkinningAnimation::NAME, { @@ -216,9 +227,10 @@ const gfx::DescriptorSetLayoutBinding UBOSkinning::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; const gfx::UniformBlock UBOSkinning::LAYOUT = { - LOCAL_SET, + localSet, UBOSkinning::BINDING, UBOSkinning::NAME, { @@ -235,9 +247,10 @@ const gfx::DescriptorSetLayoutBinding UBOMorph::DESCRIPTOR = { gfx::DescriptorType::UNIFORM_BUFFER, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; const gfx::UniformBlock UBOMorph::LAYOUT = { - LOCAL_SET, + localSet, UBOMorph::BINDING, UBOMorph::NAME, { @@ -253,9 +266,10 @@ const gfx::DescriptorSetLayoutBinding SHADOWMAP::DESCRIPTOR = { gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; const gfx::UniformSamplerTexture SHADOWMAP::LAYOUT = { - GLOBAL_SET, + globalSet, SHADOWMAP::BINDING, SHADOWMAP::NAME, gfx::Type::SAMPLER2D, @@ -268,9 +282,10 @@ const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERALBEDOMAP::DESCRIPTOR = { gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; const gfx::UniformSamplerTexture SAMPLERGBUFFERALBEDOMAP::LAYOUT = { - GLOBAL_SET, + globalSet, SAMPLERGBUFFERALBEDOMAP::BINDING, SAMPLERGBUFFERALBEDOMAP::NAME, gfx::Type::SAMPLER2D, @@ -283,9 +298,10 @@ const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERPOSITIONMAP::DESCRIPTOR = { gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; const gfx::UniformSamplerTexture SAMPLERGBUFFERPOSITIONMAP::LAYOUT = { - GLOBAL_SET, + globalSet, SAMPLERGBUFFERPOSITIONMAP::BINDING, SAMPLERGBUFFERPOSITIONMAP::NAME, gfx::Type::SAMPLER2D, @@ -298,9 +314,10 @@ const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFERNORMALMAP::DESCRIPTOR = { gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; const gfx::UniformSamplerTexture SAMPLERGBUFFERNORMALMAP::LAYOUT = { - GLOBAL_SET, + globalSet, SAMPLERGBUFFERNORMALMAP::BINDING, SAMPLERGBUFFERNORMALMAP::NAME, gfx::Type::SAMPLER2D, @@ -313,9 +330,10 @@ const gfx::DescriptorSetLayoutBinding SAMPLERGBUFFEREMISSIVEMAP::DESCRIPTOR = { gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; const gfx::UniformSamplerTexture SAMPLERGBUFFEREMISSIVEMAP::LAYOUT = { - GLOBAL_SET, + globalSet, SAMPLERGBUFFEREMISSIVEMAP::BINDING, SAMPLERGBUFFEREMISSIVEMAP::NAME, gfx::Type::SAMPLER2D, @@ -328,9 +346,10 @@ const gfx::DescriptorSetLayoutBinding SAMPLERLIGHTINGRESULTMAP::DESCRIPTOR = { gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; const gfx::UniformSamplerTexture SAMPLERLIGHTINGRESULTMAP::LAYOUT = { - GLOBAL_SET, + globalSet, SAMPLERLIGHTINGRESULTMAP::BINDING, SAMPLERLIGHTINGRESULTMAP::NAME, gfx::Type::SAMPLER2D, @@ -343,123 +362,131 @@ const gfx::DescriptorSetLayoutBinding ENVIRONMENT::DESCRIPTOR = { gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; const gfx::UniformSamplerTexture ENVIRONMENT::LAYOUT = { - GLOBAL_SET, + globalSet, ENVIRONMENT::BINDING, ENVIRONMENT::NAME, gfx::Type::SAMPLER_CUBE, 1, }; -const String SPOT_LIGHTING_MAP::NAME = "cc_spotLightingMap"; -const gfx::DescriptorSetLayoutBinding SPOT_LIGHTING_MAP::DESCRIPTOR = { - SPOT_LIGHTING_MAP::BINDING, +const String SPOTLIGHTINGMAP::NAME = "cc_spotLightingMap"; +const gfx::DescriptorSetLayoutBinding SPOTLIGHTINGMAP::DESCRIPTOR = { + SPOTLIGHTINGMAP::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; -const gfx::UniformSamplerTexture SPOT_LIGHTING_MAP::LAYOUT = { - GLOBAL_SET, - SPOT_LIGHTING_MAP::BINDING, - SPOT_LIGHTING_MAP::NAME, +const gfx::UniformSamplerTexture SPOTLIGHTINGMAP::LAYOUT = { + globalSet, + SPOTLIGHTINGMAP::BINDING, + SPOTLIGHTINGMAP::NAME, gfx::Type::SAMPLER2D, 1, }; -const String JOINT_TEXTURE::NAME = "cc_jointTexture"; -const gfx::DescriptorSetLayoutBinding JOINT_TEXTURE::DESCRIPTOR = { - JOINT_TEXTURE::BINDING, +const String JOINTTEXTURE::NAME = "cc_jointTexture"; +const gfx::DescriptorSetLayoutBinding JOINTTEXTURE::DESCRIPTOR = { + JOINTTEXTURE::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; -const gfx::UniformSamplerTexture JOINT_TEXTURE::LAYOUT = { - LOCAL_SET, - JOINT_TEXTURE::BINDING, - JOINT_TEXTURE::NAME, +const gfx::UniformSamplerTexture JOINTTEXTURE::LAYOUT = { + localSet, + JOINTTEXTURE::BINDING, + JOINTTEXTURE::NAME, gfx::Type::SAMPLER2D, 1, }; -const String POSITION_MORPH::NAME = "cc_PositionDisplacements"; -const gfx::DescriptorSetLayoutBinding POSITION_MORPH::DESCRIPTOR = { - POSITION_MORPH::BINDING, +const String POSITIONMORPH::NAME = "cc_PositionDisplacements"; +const gfx::DescriptorSetLayoutBinding POSITIONMORPH::DESCRIPTOR = { + POSITIONMORPH::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; -const gfx::UniformSamplerTexture POSITION_MORPH::LAYOUT = { - LOCAL_SET, - POSITION_MORPH::BINDING, - POSITION_MORPH::NAME, +const gfx::UniformSamplerTexture POSITIONMORPH::LAYOUT = { + localSet, + POSITIONMORPH::BINDING, + POSITIONMORPH::NAME, gfx::Type::SAMPLER2D, 1, }; -const String NORMAL_MORPH::NAME = "cc_NormalDisplacements"; -const gfx::DescriptorSetLayoutBinding NORMAL_MORPH::DESCRIPTOR = { - NORMAL_MORPH::BINDING, +const String NORMALMORPH::NAME = "cc_NormalDisplacements"; +const gfx::DescriptorSetLayoutBinding NORMALMORPH::DESCRIPTOR = { + NORMALMORPH::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; -const gfx::UniformSamplerTexture NORMAL_MORPH::LAYOUT = { - LOCAL_SET, - NORMAL_MORPH::BINDING, - NORMAL_MORPH::NAME, +const gfx::UniformSamplerTexture NORMALMORPH::LAYOUT = { + localSet, + NORMALMORPH::BINDING, + NORMALMORPH::NAME, gfx::Type::SAMPLER2D, 1, }; -const String TANGENT_MORPH::NAME = "cc_TangentDisplacements"; -const gfx::DescriptorSetLayoutBinding TANGENT_MORPH::DESCRIPTOR = { - TANGENT_MORPH::BINDING, +const String TANGENTMORPH::NAME = "cc_TangentDisplacements"; +const gfx::DescriptorSetLayoutBinding TANGENTMORPH::DESCRIPTOR = { + TANGENTMORPH::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::VERTEX, + {}, }; -const gfx::UniformSamplerTexture TANGENT_MORPH::LAYOUT = { - LOCAL_SET, - TANGENT_MORPH::BINDING, - TANGENT_MORPH::NAME, +const gfx::UniformSamplerTexture TANGENTMORPH::LAYOUT = { + localSet, + TANGENTMORPH::BINDING, + TANGENTMORPH::NAME, gfx::Type::SAMPLER2D, 1, }; -const String LIGHTMAP_TEXTURE::NAME = "cc_lightingMap"; -const gfx::DescriptorSetLayoutBinding LIGHTMAP_TEXTURE::DESCRIPTOR = { - LIGHTMAP_TEXTURE::BINDING, +const String LIGHTMAPTEXTURE::NAME = "cc_lightingMap"; +const gfx::DescriptorSetLayoutBinding LIGHTMAPTEXTURE::DESCRIPTOR = { + LIGHTMAPTEXTURE::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; -const gfx::UniformSamplerTexture LIGHTMAP_TEXTURE::LAYOUT = { - LOCAL_SET, - LIGHTMAP_TEXTURE::BINDING, - LIGHTMAP_TEXTURE::NAME, +const gfx::UniformSamplerTexture LIGHTMAPTEXTURE::LAYOUT = { + localSet, + LIGHTMAPTEXTURE::BINDING, + LIGHTMAPTEXTURE::NAME, gfx::Type::SAMPLER2D, 1, }; -const String SPRITE_TEXTURE::NAME = "cc_spriteTexture"; -const gfx::DescriptorSetLayoutBinding SPRITE_TEXTURE::DESCRIPTOR = { - SPRITE_TEXTURE::BINDING, +const String SPRITETEXTURE::NAME = "cc_spriteTexture"; +const gfx::DescriptorSetLayoutBinding SPRITETEXTURE::DESCRIPTOR = { + SPRITETEXTURE::BINDING, gfx::DescriptorType::SAMPLER_TEXTURE, 1, gfx::ShaderStageFlagBit::FRAGMENT, + {}, }; -const gfx::UniformSamplerTexture SPRITE_TEXTURE::LAYOUT = { - LOCAL_SET, +const gfx::UniformSamplerTexture SPRITETEXTURE::LAYOUT = { + localSet, static_cast(ModelLocalBindings::SAMPLER_SPRITE), "cc_spriteTexture", gfx::Type::SAMPLER2D, 1, }; -uint SamplerLib::_defaultSamplerHash{genSamplerHash(gfx::SamplerInfo())}; +uint SamplerLib::defaultSamplerHash{genSamplerHash(gfx::SamplerInfo())}; -unordered_map SamplerLib::_samplerCache{}; +unordered_map SamplerLib::samplerCache{}; uint SamplerLib::genSamplerHash(const gfx::SamplerInfo &info) { uint hash = 0; @@ -477,11 +504,11 @@ uint SamplerLib::genSamplerHash(const gfx::SamplerInfo &info) { gfx::Sampler *SamplerLib::getSampler(uint hash) { if (hash == 0) { - hash = _defaultSamplerHash; + hash = defaultSamplerHash; } - if (_samplerCache.count(hash)) { - return _samplerCache[hash]; + if (samplerCache.count(hash)) { + return samplerCache[hash]; } gfx::SamplerInfo info; @@ -495,17 +522,17 @@ gfx::Sampler *SamplerLib::getSampler(uint hash) { info.cmpFunc = static_cast((hash >> 16) & 15); info.mipLODBias = static_cast((hash >> 28) & 15); - return _samplerCache[hash] = gfx::Device::getInstance()->createSampler(info); + return samplerCache[hash] = gfx::Device::getInstance()->createSampler(info); } void SamplerLib::destroyAll() { - for (auto &pair : _samplerCache) { + for (auto &pair : samplerCache) { CC_SAFE_DESTROY(pair.second); } - _samplerCache.clear(); + samplerCache.clear(); } -uint SKYBOX_FLAG = static_cast(gfx::ClearFlagBit::STENCIL) << 1; +uint skyboxFlag = static_cast(gfx::ClearFlagBit::STENCIL) << 1; uint nextPow2(uint val) { --val; diff --git a/native/cocos/renderer/pipeline/Define.h b/native/cocos/renderer/pipeline/Define.h index bec5c9eb81..10db8f625b 100644 --- a/native/cocos/renderer/pipeline/Define.h +++ b/native/cocos/renderer/pipeline/Define.h @@ -53,7 +53,7 @@ struct CC_DLL RenderObject { float depth = 0; const ModelView *model = nullptr; }; -typedef vector RenderObjectList; +using RenderObjectList = vector; struct CC_DLL RenderTargetInfo { uint width = 0; @@ -67,19 +67,19 @@ struct CC_DLL RenderPass { uint passIndex = 0; const SubModelView *subModel = nullptr; }; -typedef vector RenderPassList; +using RenderPassList = vector; -typedef gfx::ColorAttachment ColorDesc; -typedef vector ColorDescList; +using ColorDesc = gfx::ColorAttachment; +using ColorDescList = vector; -typedef gfx::DepthStencilAttachment DepthStencilDesc; +using DepthStencilDesc = gfx::DepthStencilAttachment; struct CC_DLL RenderPassDesc { uint index = 0; ColorDescList colorAttachments; DepthStencilDesc depthStencilAttachment; }; -typedef vector RenderPassDescList; +using RenderPassDescList = vector; struct CC_DLL RenderTextureDesc { String name; @@ -89,7 +89,7 @@ struct CC_DLL RenderTextureDesc { int width = -1; int height = -1; }; -typedef vector RenderTextureDescList; +using RenderTextureDescList = vector; struct CC_DLL FrameBufferDesc { String name; @@ -97,7 +97,7 @@ struct CC_DLL FrameBufferDesc { vector colorTextures; String depthStencilTexture; }; -typedef vector FrameBufferDescList; +using FrameBufferDescList = vector; enum class RenderFlowType : uint8_t { SCENE, @@ -105,10 +105,10 @@ enum class RenderFlowType : uint8_t { UI, }; -typedef vector RenderStageList; -typedef vector RenderFlowList; -typedef vector LightList; -typedef vector UintList; +using RenderStageList = vector; +using RenderFlowList = vector; +using LightList = vector; +using UintList = vector; enum class CC_DLL RenderPassStage { DEFAULT = 100, @@ -150,26 +150,32 @@ struct CC_DLL RenderQueueDesc { RenderQueueSortMode sortMode = RenderQueueSortMode::FRONT_TO_BACK; StringArray stages; }; -typedef std::vector RenderQueueDescList; +using RenderQueueDescList = std::vector; uint getPhaseID(const String &phase); CC_INLINE bool opaqueCompareFn(const RenderPass &a, const RenderPass &b) { - if (a.hash != b.hash) + if (a.hash != b.hash) { return a.hash < b.hash; - else if (math::IsNotEqualF(a.depth, b.depth)) + } + + if (math::IsNotEqualF(a.depth, b.depth)) { return a.depth < b.depth; - else - return a.shaderID < b.shaderID; + } + + return a.shaderID < b.shaderID; } CC_INLINE bool transparentCompareFn(const RenderPass &a, const RenderPass &b) { - if (a.hash != b.hash) + if (a.hash != b.hash) { return a.hash < b.hash; - else if (math::IsNotEqualF(a.depth, b.depth)) + } + + if (math::IsNotEqualF(a.depth, b.depth)) { return b.depth < a.depth; - else - return a.shaderID < b.shaderID; + } + + return a.shaderID < b.shaderID; } enum class CC_DLL PipelineGlobalBindings { @@ -189,8 +195,8 @@ enum class CC_DLL PipelineGlobalBindings { COUNT, }; -extern CC_DLL int GLOBAL_UBO_COUNT; -extern CC_DLL int GLOBAL_SAMPLER_COUNT; +extern CC_DLL int globalUBOCount; +extern CC_DLL int globalSamplerCount; enum class CC_DLL ModelLocalBindings { UBO_LOCAL, @@ -209,8 +215,8 @@ enum class CC_DLL ModelLocalBindings { COUNT, }; -extern CC_DLL int LOCAL_UBO_COUNT; -extern CC_DLL int LOCAL_SAMPLER_COUNT; +extern CC_DLL int localUBOCount; +extern CC_DLL int localSamplerCount; enum class CC_DLL SetIndex { GLOBAL, @@ -218,9 +224,9 @@ enum class CC_DLL SetIndex { LOCAL, }; -extern CC_DLL uint GLOBAL_SET; -extern CC_DLL uint MATERIAL_SET; -extern CC_DLL uint LOCAL_SET; +extern CC_DLL uint globalSet; +extern CC_DLL uint materialSet; +extern CC_DLL uint localSet; extern CC_DLL gfx::BindingMappingInfo bindingMappingInfo; @@ -379,13 +385,16 @@ struct CC_DLL UBOCamera : public Object { }; struct CC_DLL UBOShadow : public Object { - static constexpr uint MAT_LIGHT_PLANE_PROJ_OFFSET = 0; - static constexpr uint MAT_LIGHT_VIEW_PROJ_OFFSET = UBOShadow::MAT_LIGHT_PLANE_PROJ_OFFSET + 16; - static constexpr uint SHADOW_COLOR_OFFSET = UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET + 16; - static constexpr uint SHADOW_INFO_OFFSET = UBOShadow::SHADOW_COLOR_OFFSET + 4; - static constexpr uint COUNT = UBOShadow::SHADOW_INFO_OFFSET + 4; - static constexpr uint SIZE = UBOShadow::COUNT * 4; - static constexpr uint BINDING = static_cast(PipelineGlobalBindings::UBO_SHADOW); + static constexpr uint MAT_LIGHT_PLANE_PROJ_OFFSET = 0; + static constexpr uint MAT_LIGHT_VIEW_OFFSET = MAT_LIGHT_PLANE_PROJ_OFFSET + 16; + static constexpr uint MAT_LIGHT_VIEW_PROJ_OFFSET = UBOShadow::MAT_LIGHT_VIEW_OFFSET + 16; + static constexpr uint SHADOW_NEAR_FAR_LINEAR_SELF_INFO_OFFSET = UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET + 16; + static constexpr uint SHADOW_WIDTH_HEIGHT_PCF_BIAS_INFO_OFFSET = UBOShadow::SHADOW_NEAR_FAR_LINEAR_SELF_INFO_OFFSET + 4; + static constexpr uint SHADOW_LIGHT_PACKING_NBIAS_NULL_INFO_OFFSET = UBOShadow::SHADOW_WIDTH_HEIGHT_PCF_BIAS_INFO_OFFSET + 4; + static constexpr uint SHADOW_COLOR_OFFSET = UBOShadow::SHADOW_LIGHT_PACKING_NBIAS_NULL_INFO_OFFSET + 4; + static constexpr uint COUNT = UBOShadow::SHADOW_COLOR_OFFSET + 4; + static constexpr uint SIZE = UBOShadow::COUNT * 4; + static constexpr uint BINDING = static_cast(PipelineGlobalBindings::UBO_SHADOW); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; static const gfx::UniformBlock LAYOUT; static const String NAME; @@ -399,9 +408,9 @@ public: static void destroyAll(); protected: - static uint _defaultSamplerHash; + static uint defaultSamplerHash; - static unordered_map _samplerCache; + static unordered_map samplerCache; }; struct CC_DLL DescriptorSetLayoutInfos { @@ -426,16 +435,13 @@ enum class LayerList : uint { ALL = 0xffffffff, }; -//TODO const uint CAMERA_DEFAULT_MASK = ~static_cast(LayerList::UI_2D) & ~static_cast(LayerList::PROFILER); //constexpr CAMERA_DEFAULT_MASK = Layers.makeMaskExclude([Layers.BitMask.UI_2D, Layers.BitMask.GIZMOS, Layers.BitMask.EDITOR, // Layers.BitMask.SCENE_GIZMO, Layers.BitMask.PROFILER]); uint nextPow2(uint val); -extern CC_DLL uint SKYBOX_FLAG; -extern CC_DLL DescriptorSetLayoutInfos globalDescriptorSetLayout; -extern CC_DLL DescriptorSetLayoutInfos localDescriptorSetLayout; +extern CC_DLL uint skyboxFlag; struct CC_DLL SHADOWMAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_SHADOWMAP); @@ -486,49 +492,49 @@ struct CC_DLL ENVIRONMENT : public Object { static const String NAME; }; -struct CC_DLL SPOT_LIGHTING_MAP : public Object { +struct CC_DLL SPOTLIGHTINGMAP : public Object { static constexpr uint BINDING = static_cast(PipelineGlobalBindings::SAMPLER_SPOT_LIGHTING_MAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; -struct CC_DLL JOINT_TEXTURE : public Object { +struct CC_DLL JOINTTEXTURE : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_JOINTS); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; -struct CC_DLL POSITION_MORPH : public Object { +struct CC_DLL POSITIONMORPH : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_POSITION); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; -struct CC_DLL NORMAL_MORPH : public Object { +struct CC_DLL NORMALMORPH : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_NORMAL); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; -struct CC_DLL TANGENT_MORPH : public Object { +struct CC_DLL TANGENTMORPH : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_MORPH_TANGENT); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; -struct CC_DLL LIGHTMAP_TEXTURE : public Object { +struct CC_DLL LIGHTMAPTEXTURE : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_LIGHTMAP); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; static const gfx::UniformSamplerTexture LAYOUT; static const String NAME; }; -struct CC_DLL SPRITE_TEXTURE : public Object { +struct CC_DLL SPRITETEXTURE : public Object { static constexpr uint BINDING = static_cast(ModelLocalBindings::SAMPLER_SPRITE); static const gfx::DescriptorSetLayoutBinding DESCRIPTOR; static const gfx::UniformSamplerTexture LAYOUT; diff --git a/native/cocos/renderer/pipeline/InstancedBuffer.cpp b/native/cocos/renderer/pipeline/InstancedBuffer.cpp index db811fcc30..7e265f9e8e 100644 --- a/native/cocos/renderer/pipeline/InstancedBuffer.cpp +++ b/native/cocos/renderer/pipeline/InstancedBuffer.cpp @@ -30,6 +30,7 @@ #include "gfx-base/GFXDevice.h" #include "gfx-base/GFXInputAssembler.h" #include "helper/SharedMemory.h" +#include "Define.h" namespace cc { namespace pipeline { @@ -72,7 +73,7 @@ void InstancedBuffer::merge(const ModelView *model, const SubModelView *subModel if (!stride) return; // we assume per-instance attributes are always present auto *sourceIA = subModel->getInputAssembler(); auto *descriptorSet = subModel->getDescriptorSet(); - auto *lightingMap = descriptorSet->getTexture(LIGHTMAP_TEXTURE::BINDING); + auto *lightingMap = descriptorSet->getTexture(LIGHTMAPTEXTURE::BINDING); auto *shader = shaderImplant; if (!shader) { shader = subModel->getShader(passIdx); diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index fe36c814d5..e92814e885 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -33,14 +33,14 @@ namespace cc { namespace pipeline { -#define TO_VEC3(dst, src, offset) \ - dst[offset] = (src).x; \ - (dst)[(offset) + 1] = (src).y; \ +#define TO_VEC3(dst, src, offset) \ + (dst)[(offset) + 0] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ (dst)[(offset) + 2] = (src).z; -#define TO_VEC4(dst, src, offset) \ - dst[offset] = (src).x; \ - (dst)[(offset) + 1] = (src).y; \ - (dst)[(offset) + 2] = (src).z; \ +#define TO_VEC4(dst, src, offset) \ + (dst)[(offset) + 0] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ + (dst)[(offset) + 2] = (src).z; \ (dst)[(offset) + 3] = (src).w; Mat4 matShadowViewProj; @@ -54,16 +54,16 @@ void PipelineUBO::updateGlobalUBOView(const RenderPipeline * /*pipeline*/, std:: const auto shadingHeight = std::floor(device->getHeight()); // update UBOGlobal - uboGlobalView[UBOGlobal::TIME_OFFSET] = root->cumulativeTime; + uboGlobalView[UBOGlobal::TIME_OFFSET + 0] = root->cumulativeTime; uboGlobalView[UBOGlobal::TIME_OFFSET + 1] = root->frameTime; uboGlobalView[UBOGlobal::TIME_OFFSET + 2] = static_cast (Application::getInstance()->getTotalFrames()); - uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET] = static_cast(device->getWidth()); + uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 0] = static_cast(device->getWidth()); uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1] = static_cast(device->getHeight()); uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 2] = 1.0F / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET]; uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 3] = 1.0F / uboGlobalView[UBOGlobal::SCREEN_SIZE_OFFSET + 1]; - uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET] = static_cast(shadingWidth); + uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 0] = static_cast(shadingWidth); uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1] = static_cast(shadingHeight); uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 2] = 1.0F / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET]; uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 3] = 1.0F / uboGlobalView[UBOGlobal::NATIVE_SIZE_OFFSET + 1]; @@ -80,8 +80,8 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array auto *const descriptorSet = pipeline->getDescriptorSet(); auto * ambient = sharedData->getAmbient(); auto * fog = sharedData->getFog(); - auto isHDR = sharedData->isHDR; - auto shadingScale = sharedData->shadingScale; + const auto isHDR = sharedData->isHDR; + const auto shadingScale = sharedData->shadingScale; auto *device = gfx::Device::getInstance(); auto &uboCameraView = bufferView; @@ -89,13 +89,13 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array const auto shadingWidth = std::floor(device->getWidth()); const auto shadingHeight = std::floor(device->getHeight()); - uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET] = static_cast(camera->width / shadingWidth * shadingScale); + uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 0] = static_cast(camera->width / shadingWidth * shadingScale); uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1] = static_cast(camera->height / shadingHeight * shadingScale); uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 2] = 1.0F / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET]; uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 3] = 1.0F / uboCameraView[UBOCamera::SCREEN_SCALE_OFFSET + 1]; const auto exposure = camera->exposure; - uboCameraView[UBOCamera::EXPOSURE_OFFSET] = exposure; + uboCameraView[UBOCamera::EXPOSURE_OFFSET + 0] = exposure; uboCameraView[UBOCamera::EXPOSURE_OFFSET + 1] = 1.0F / exposure; uboCameraView[UBOCamera::EXPOSURE_OFFSET + 2] = isHDR ? 1.0F : 0.0F; uboCameraView[UBOCamera::EXPOSURE_OFFSET + 3] = fpScale / exposure; @@ -105,7 +105,7 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array TO_VEC3(uboCameraView, mainLight->color, UBOCamera::MAIN_LIT_COLOR_OFFSET); if (mainLight->useColorTemperature) { const auto colorTempRGB = mainLight->colorTemperatureRGB; - uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET] *= colorTempRGB.x; + uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 0] *= colorTempRGB.x; uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 1] *= colorTempRGB.y; uboCameraView[UBOCamera::MAIN_LIT_COLOR_OFFSET + 2] *= colorTempRGB.z; } @@ -128,10 +128,10 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array } TO_VEC4(uboCameraView, skyColor, UBOCamera::AMBIENT_SKY_OFFSET); - uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET] = ambient->groundAlbedo.x; + uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 0] = ambient->groundAlbedo.x; uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 1] = ambient->groundAlbedo.y; uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 2] = ambient->groundAlbedo.z; - auto *const envmap = descriptorSet->getTexture(static_cast(PipelineGlobalBindings::SAMPLER_ENVIRONMENT)); + auto *const envmap = descriptorSet->getTexture(static_cast(PipelineGlobalBindings::SAMPLER_ENVIRONMENT)); if (envmap) { uboCameraView[UBOCamera::AMBIENT_GROUND_OFFSET + 3] = static_cast(envmap->getLevelCount()); } @@ -157,11 +157,11 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array if (fog->enabled) { TO_VEC4(uboCameraView, fog->fogColor, UBOCamera::GLOBAL_FOG_COLOR_OFFSET); - uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET] = fog->fogStart; + uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 0] = fog->fogStart; uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 1] = fog->fogEnd; uboCameraView[UBOCamera::GLOBAL_FOG_BASE_OFFSET + 2] = fog->fogDensity; - uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET] = fog->fogTop; + uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 0] = fog->fogTop; uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 1] = fog->fogRange; uboCameraView[UBOCamera::GLOBAL_FOG_ADD_OFFSET + 2] = fog->fogAtten; } @@ -183,9 +183,9 @@ void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array cc::Mat4 matShadowCamera; // light proj - float x = 0.0F; - float y = 0.0F; - float farClamp = 0.0F; + float x; + float y; + float farClamp; if (shadowInfo->autoAdapt) { Vec3 tmpCenter; getShadowWorldMatrix(sphere, node->worldRotation, mainLight->direction, matShadowCamera, tmpCenter); @@ -204,20 +204,29 @@ void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array farClamp = shadowInfo->farValue; } + memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_OFFSET, matShadowCamera.m, sizeof(matShadowCamera)); const auto matShadowView = matShadowCamera.getInversed(); const auto projectionSinY = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getCapabilities().clipSpaceMinZ, projectionSinY, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); + + float shadowNFLSInfos[4] = {shadowInfo->nearValue, farClamp, static_cast(shadowInfo->linear), static_cast(shadowInfo->selfShadow)}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_NEAR_FAR_LINEAR_SELF_INFO_OFFSET, &shadowNFLSInfos, sizeof(shadowNFLSInfos)); + + float shadowWHPBInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_WIDTH_HEIGHT_PCF_BIAS_INFO_OFFSET, &shadowWHPBInfos, sizeof(shadowWHPBInfos)); + + float shadowLPNNInfos[4] = {0.0F, static_cast(shadowInfo->packing), shadowInfo->normalBias, 0.0F}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_LIGHT_PACKING_NBIAS_NULL_INFO_OFFSET, &shadowLPNNInfos, sizeof(shadowLPNNInfos)); } else if (mainLight && shadowInfo->getShadowType() == ShadowType::PLANAR) { updateDirLight(shadowInfo, mainLight, shadowUBO); - } + } + const float color[4] = {shadowInfo->color.x, shadowInfo->color.y, shadowInfo->color.z, shadowInfo->color.w}; - memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, color, sizeof(float) * 4); + memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &color, sizeof(float) * 4); } } @@ -231,9 +240,9 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: case LightType::DIRECTIONAL: { cc::Mat4 matShadowCamera; - float x = 0.0F; - float y = 0.0F; - float farClamp = 0.0F; + float x; + float y; + float farClamp; if (shadowInfo->autoAdapt) { Vec3 tmpCenter; getShadowWorldMatrix(sphere, light->getNode()->worldRotation, light->direction, matShadowCamera, tmpCenter); @@ -252,6 +261,7 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: farClamp = shadowInfo->farValue; } + memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_OFFSET, matShadowCamera.m, sizeof(matShadowCamera)); const auto matShadowView = matShadowCamera.getInversed(); const auto projectionSinY = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; @@ -259,23 +269,38 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: matShadowViewProj.multiply(matShadowView); memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); + + float shadowNFLSInfos[4] = {shadowInfo->nearValue, farClamp, static_cast(shadowInfo->linear), static_cast(shadowInfo->selfShadow)}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_NEAR_FAR_LINEAR_SELF_INFO_OFFSET, &shadowNFLSInfos, sizeof(shadowNFLSInfos)); + + float shadowWHPBInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_WIDTH_HEIGHT_PCF_BIAS_INFO_OFFSET, &shadowWHPBInfos, sizeof(shadowWHPBInfos)); } break; case LightType::SPOT: { const auto &matShadowCamera = light->getNode()->worldMatrix; + memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_OFFSET, matShadowCamera.m, sizeof(matShadowCamera)); const auto matShadowView = matShadowCamera.getInversed(); cc::Mat4::createPerspective(light->spotAngle, light->aspect, 0.001F, light->range, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); + + float shadowNFLSInfos[4] = {0.01F, light->range, static_cast(shadowInfo->linear), static_cast(shadowInfo->selfShadow)}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_NEAR_FAR_LINEAR_SELF_INFO_OFFSET, &shadowNFLSInfos, sizeof(shadowNFLSInfos)); + + float shadowWHPBInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_WIDTH_HEIGHT_PCF_BIAS_INFO_OFFSET, &shadowWHPBInfos, sizeof(shadowWHPBInfos)); } break; - default:; + default: + break; } - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; + float shadowLPNNInfos[4] = {0.0F, static_cast(shadowInfo->packing), shadowInfo->normalBias, 0.0F}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_LIGHT_PACKING_NBIAS_NULL_INFO_OFFSET, &shadowLPNNInfos, sizeof(shadowLPNNInfos)); + const float color[4] = {shadowInfo->color.x, shadowInfo->color.y, shadowInfo->color.z, shadowInfo->color.w}; - memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, color, sizeof(float) * 4); - memcpy(shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); + memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &color, sizeof(float) * 4); } void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) { @@ -361,9 +386,8 @@ void PipelineUBO::updateShadowUBO(const Camera *camera) { } void PipelineUBO::updateShadowUBOLight(const Light *light) { - auto *const ds = _pipeline->getDescriptorSet(); - auto *const cmdBuffer = _pipeline->getCommandBuffers()[0]; - PipelineUBO::updateShadowUBOLightView(_pipeline, _shadowUBO, light); + auto *const ds = _pipeline->getDescriptorSet(); + updateShadowUBOLightView(_pipeline, _shadowUBO, light); ds->getBuffer(UBOShadow::BINDING)->update(_shadowUBO.data(), UBOShadow::SIZE); } diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp index 3dd5b616d6..817fb15dae 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.cpp @@ -32,7 +32,6 @@ #include "RenderInstancedQueue.h" #include "RenderPipeline.h" #include "gfx-base/GFXCommandBuffer.h" -#include "gfx-base/GFXDescriptorSet.h" #include "gfx-base/GFXDevice.h" #include "gfx-base/GFXShader.h" #include "helper/SharedMemory.h" @@ -45,7 +44,7 @@ PlanarShadowQueue::PlanarShadowQueue(RenderPipeline *pipeline) _instancedQueue = CC_NEW(RenderInstancedQueue); } -void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *cmdBufferer) { +void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *cmdBuffer) { clear(); auto *const sceneData = _pipeline->getPipelineSceneData(); auto *const sharedData = sceneData->getSharedData(); @@ -63,17 +62,15 @@ void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *c return; } - const auto *const models = scene->getModels(); - const auto modelCount = models[0]; - auto * instancedBuffer = InstancedBuffer::get(shadowInfo->instancePass); + const auto *models = scene->getModels(); + const auto modelCount = models[0]; + auto *instancedBuffer = InstancedBuffer::get(shadowInfo->instancePass); - uint visibility = 0; - uint lenght = 0; for (uint i = 1; i <= modelCount; i++) { const auto *model = cc::pipeline::Scene::getModelView(models[i]); const auto *node = model->getNode(); if (model->enabled && model->castShadow) { - visibility = camera->visibility; + const auto visibility = camera->visibility; if ((model->nodeID && ((visibility & node->layer) == node->layer)) || (visibility & model->visFlags)) { // frustum culling @@ -82,8 +79,8 @@ void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *c } const auto *attributesID = model->getInstancedAttributeID(); - lenght = attributesID[0]; - if (lenght > 0) { + const auto length = attributesID[0]; + if (length > 0) { const auto *subModelID = model->getSubModelID(); const auto subModelCount = subModelID[0]; for (uint m = 1; m <= subModelCount; ++m) { @@ -98,7 +95,7 @@ void PlanarShadowQueue::gatherShadowPasses(Camera *camera, gfx::CommandBuffer *c } } - _instancedQueue->uploadBuffers(cmdBufferer); + _instancedQueue->uploadBuffers(cmdBuffer); } void PlanarShadowQueue::clear() { @@ -121,7 +118,7 @@ void PlanarShadowQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass } const auto *pass = shadowInfo->getPlanarShadowPass(); - cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); + cmdBuffer->bindDescriptorSet(materialSet, pass->getDescriptorSet()); for (const auto *model : _pendingModels) { const auto *const subModelID = model->getSubModelID(); @@ -133,7 +130,7 @@ void PlanarShadowQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass auto *const pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); cmdBuffer->bindPipelineState(pso); - cmdBuffer->bindDescriptorSet(LOCAL_SET, subModel->getDescriptorSet()); + cmdBuffer->bindDescriptorSet(localSet, subModel->getDescriptorSet()); cmdBuffer->bindInputAssembler(ia); cmdBuffer->draw(ia); } @@ -143,5 +140,6 @@ void PlanarShadowQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass void PlanarShadowQueue::destroy() { CC_SAFE_DELETE(_instancedQueue); } + } // namespace pipeline } // namespace cc diff --git a/native/cocos/renderer/pipeline/PlanarShadowQueue.h b/native/cocos/renderer/pipeline/PlanarShadowQueue.h index b02b19485f..cb360c089a 100644 --- a/native/cocos/renderer/pipeline/PlanarShadowQueue.h +++ b/native/cocos/renderer/pipeline/PlanarShadowQueue.h @@ -53,11 +53,11 @@ struct ShadowRenderData { class CC_DLL PlanarShadowQueue : public Object { public: - PlanarShadowQueue(RenderPipeline *); - ~PlanarShadowQueue() = default; + explicit PlanarShadowQueue(RenderPipeline *pipeline); + ~PlanarShadowQueue() override = default; void clear(); - void gatherShadowPasses(Camera *camera , gfx::CommandBuffer *cmdBufferer); + void gatherShadowPasses(Camera *camera , gfx::CommandBuffer *cmdBuffer); void recordCommandBuffer(gfx::Device *, gfx::RenderPass *, gfx::CommandBuffer *); void destroy(); diff --git a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp index 4f3831b9d6..acafe0c1fc 100644 --- a/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderAdditiveLightQueue.cpp @@ -105,15 +105,15 @@ void RenderAdditiveLightQueue::recordCommandBuffer(gfx::Device *device, gfx::Ren auto * descriptorSet = subModel->getDescriptorSet(); cmdBuffer->bindPipelineState(pso); - cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); + cmdBuffer->bindDescriptorSet(materialSet, pass->getDescriptorSet()); cmdBuffer->bindInputAssembler(ia); for (size_t i = 0; i < dynamicOffsets.size(); ++i) { const auto *light = lights[i]; auto * globalDescriptorSet = getOrCreateDescriptorSet(light); _dynamicOffsets[0] = dynamicOffsets[i]; - cmdBuffer->bindDescriptorSet(GLOBAL_SET, globalDescriptorSet); - cmdBuffer->bindDescriptorSet(LOCAL_SET, descriptorSet, _dynamicOffsets); + cmdBuffer->bindDescriptorSet(globalSet, globalDescriptorSet); + cmdBuffer->bindDescriptorSet(localSet, descriptorSet, _dynamicOffsets); cmdBuffer->draw(ia); } } @@ -151,7 +151,7 @@ void RenderAdditiveLightQueue::gatherLightPasses(const Camera *camera, gfx::Comm for (unsigned j = 1; j <= subModelCount; j++) { const auto lightPassIdx = lightPassIndices[j - 1]; if (lightPassIdx == UINT_MAX) continue; - const auto *const subModel = model->getSubModelView(subModelArrayID[j]); + const auto *const subModel = cc::pipeline::ModelView::getSubModelView(subModelArrayID[j]); const auto *const pass = subModel->getPassView(lightPassIdx); auto * descriptorSet = subModel->getDescriptorSet(); descriptorSet->bindBuffer(UBOForwardLight::BINDING, _firstLightBufferView); @@ -170,8 +170,8 @@ void RenderAdditiveLightQueue::destroy() { descriptorSet->getBuffer(UBOShadow::BINDING)->destroy(); descriptorSet->getSampler(SHADOWMAP::BINDING)->destroy(); descriptorSet->getTexture(SHADOWMAP::BINDING)->destroy(); - descriptorSet->getSampler(SPOT_LIGHTING_MAP::BINDING)->destroy(); - descriptorSet->getTexture(SPOT_LIGHTING_MAP::BINDING)->destroy(); + descriptorSet->getSampler(SPOTLIGHTINGMAP::BINDING)->destroy(); + descriptorSet->getTexture(SPOTLIGHTINGMAP::BINDING)->destroy(); descriptorSet->destroy(); } _descriptorSetMap.clear(); @@ -195,7 +195,7 @@ void RenderAdditiveLightQueue::gatherValidLights(const Camera *camera) { auto count = sphereLightArrayID ? sphereLightArrayID[0] : 0; Sphere sphere; for (unsigned i = 1; i <= count; i++) { - const auto *const light = scene->getSphereLight(sphereLightArrayID[i]); + const auto *const light = cc::pipeline::Scene::getSphereLight(sphereLightArrayID[i]); sphere.setCenter(light->position); sphere.setRadius(light->range); if (sphere_frustum(&sphere, camera->getFrustum())) { @@ -206,7 +206,7 @@ void RenderAdditiveLightQueue::gatherValidLights(const Camera *camera) { const auto *const spotLightArrayID = scene->getSpotLightArrayID(); count = spotLightArrayID ? spotLightArrayID[0] : 0; for (unsigned i = 1; i <= count; i++) { - const auto *const light = scene->getSpotLight(spotLightArrayID[i]); + const auto *const light = cc::pipeline::Scene::getSpotLight(spotLightArrayID[i]); sphere.setCenter(light->position); sphere.setRadius(light->range); if (sphere_frustum(&sphere, camera->getFrustum())) { @@ -339,7 +339,7 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf } descriptorSet->bindSampler(SHADOWMAP::BINDING, _sampler); - descriptorSet->bindSampler(SPOT_LIGHTING_MAP::BINDING, _sampler); + descriptorSet->bindSampler(SPOTLIGHTINGMAP::BINDING, _sampler); // Main light sampler binding descriptorSet->bindTexture(SHADOWMAP::BINDING, _pipeline->getDefaultTexture()); descriptorSet->update(); @@ -354,6 +354,7 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf } const auto &matShadowCamera = light->getNode()->worldMatrix; + memcpy(_shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_OFFSET, matShadowCamera.m, sizeof(matShadowCamera)); const auto matShadowView = matShadowCamera.getInversed(); @@ -363,17 +364,18 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf matShadowViewProj.multiply(matShadowView); // shadow info - float shadowInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; - memcpy(_shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_PROJ_OFFSET, matShadowViewProj.m, sizeof(matShadowViewProj)); - const float color[4] = {shadowInfo->color.x, shadowInfo->color.y, shadowInfo->color.z, shadowInfo->color.w}; - memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, color, sizeof(float) * 4); - memcpy(_shadowUBO.data() + UBOShadow::SHADOW_INFO_OFFSET, &shadowInfos, sizeof(shadowInfos)); + float shadowNFLSInfos[4] = {shadowInfo->nearValue, shadowInfo->farValue, static_cast(shadowInfo->linear), static_cast(shadowInfo->selfShadow)}; + memcpy(_shadowUBO.data() + UBOShadow::SHADOW_NEAR_FAR_LINEAR_SELF_INFO_OFFSET, &shadowNFLSInfos, sizeof(shadowNFLSInfos)); + + float shadowWHPBInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; + memcpy(_shadowUBO.data() + UBOShadow::SHADOW_WIDTH_HEIGHT_PCF_BIAS_INFO_OFFSET, &shadowWHPBInfos, sizeof(shadowWHPBInfos)); + // Spot light sampler binding const auto &shadowFramebufferMap = sceneData->getShadowFramebufferMap(); if (shadowFramebufferMap.count(light) > 0) { auto *texture = shadowFramebufferMap.at(light)->getColorTextures()[0]; if (texture) { - descriptorSet->bindTexture(SPOT_LIGHTING_MAP::BINDING, texture); + descriptorSet->bindTexture(SPOTLIGHTINGMAP::BINDING, texture); } } } break; @@ -383,10 +385,22 @@ void RenderAdditiveLightQueue::updateLightDescriptorSet(const Camera *camera, gf updateDirLight(shadowInfo, mainLight, _shadowUBO); } // Reserve sphere light shadow interface + float shadowNFLSInfos[4] = {0.01F, light->range, static_cast(shadowInfo->linear), static_cast(shadowInfo->selfShadow)}; + memcpy(_shadowUBO.data() + UBOShadow::SHADOW_NEAR_FAR_LINEAR_SELF_INFO_OFFSET, &shadowNFLSInfos, sizeof(shadowNFLSInfos)); + + float shadowWHPBInfos[4] = {shadowInfo->size.x, shadowInfo->size.y, static_cast(shadowInfo->pcfType), shadowInfo->bias}; + memcpy(_shadowUBO.data() + UBOShadow::SHADOW_WIDTH_HEIGHT_PCF_BIAS_INFO_OFFSET, &shadowWHPBInfos, sizeof(shadowWHPBInfos)); } break; default: break; } + + const float shadowLPNNInfos[4] = {0.0F, static_cast(shadowInfo->packing), shadowInfo->normalBias, 0.0F}; + memcpy(_shadowUBO.data() + UBOShadow::SHADOW_LIGHT_PACKING_NBIAS_NULL_INFO_OFFSET, &shadowLPNNInfos, sizeof(shadowLPNNInfos)); + + const float color[4] = {shadowInfo->color.x, shadowInfo->color.y, shadowInfo->color.z, shadowInfo->color.w}; + memcpy(_shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &color, sizeof(float) * 4); + descriptorSet->update(); cmdBuffer->updateBuffer(descriptorSet->getBuffer(UBOShadow::BINDING), _shadowUBO.data(), UBOShadow::SIZE); @@ -400,7 +414,7 @@ bool RenderAdditiveLightQueue::getLightPassIndex(const ModelView *model, vector< const auto *const subModelArrayID = model->getSubModelID(); const auto count = subModelArrayID[0]; for (unsigned i = 1; i <= count; i++) { - const auto *const subModel = model->getSubModelView(subModelArrayID[i]); + const auto *const subModel = cc::pipeline::ModelView::getSubModelView(subModelArrayID[i]); uint lightPassIndex = UINT_MAX; for (unsigned passIdx = 0; passIdx < subModel->passCount; passIdx++) { const auto *const pass = subModel->getPassView(passIdx); @@ -438,8 +452,8 @@ gfx::DescriptorSet *RenderAdditiveLightQueue::getOrCreateDescriptorSet(const Lig descriptorSet->bindSampler(SHADOWMAP::BINDING, _sampler); descriptorSet->bindTexture(SHADOWMAP::BINDING, _pipeline->getDefaultTexture()); // Spot light sampler binding - descriptorSet->bindSampler(SPOT_LIGHTING_MAP::BINDING, _sampler); - descriptorSet->bindTexture(SPOT_LIGHTING_MAP::BINDING, _pipeline->getDefaultTexture()); + descriptorSet->bindSampler(SPOTLIGHTINGMAP::BINDING, _sampler); + descriptorSet->bindTexture(SPOTLIGHTINGMAP::BINDING, _pipeline->getDefaultTexture()); descriptorSet->update(); diff --git a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp index 9ac903a8d9..d1a1a1693f 100644 --- a/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderBatchedQueue.cpp @@ -35,20 +35,20 @@ namespace cc { namespace pipeline { void RenderBatchedQueue::clear() { - for (auto it : _queues) { + for (auto *it : _queues) { it->clear(); } _queues.clear(); } void RenderBatchedQueue::uploadBuffers(gfx::CommandBuffer *cmdBuffer) { - for (auto batchedBuffer : _queues) { - auto &batches = batchedBuffer->getBatches(); - for (auto &batch : batches) { + for (auto *batchedBuffer : _queues) { + const auto &batches = batchedBuffer->getBatches(); + for (const auto &batch : batches) { if (!batch.mergeCount) continue; - auto i = 0u; - for (auto vb : batch.vbs) { + auto i = 0U; + for (auto *vb : batch.vbs) { cmdBuffer->updateBuffer(vb, batch.vbDatas[i++], vb->getSize()); } cmdBuffer->updateBuffer(batch.indexBuffer, batch.indexData, batch.indexBuffer->getSize()); @@ -57,20 +57,20 @@ void RenderBatchedQueue::uploadBuffers(gfx::CommandBuffer *cmdBuffer) { } } -void RenderBatchedQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer) { - for (auto batchedBuffer : _queues) { +void RenderBatchedQueue::recordCommandBuffer(gfx::Device * /*device*/, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer) { + for (auto *batchedBuffer : _queues) { bool boundPSO = false; const auto &batches = batchedBuffer->getBatches(); for (const auto &batch : batches) { if (!batch.mergeCount) continue; if (!boundPSO) { - auto pso = PipelineStateManager::getOrCreatePipelineState(batch.pass, batch.shader, batch.ia, renderPass); + auto *pso = PipelineStateManager::getOrCreatePipelineState(batch.pass, batch.shader, batch.ia, renderPass); cmdBuffer->bindPipelineState(pso); - cmdBuffer->bindDescriptorSet(MATERIAL_SET, batch.pass->getDescriptorSet()); + cmdBuffer->bindDescriptorSet(materialSet, batch.pass->getDescriptorSet()); boundPSO = true; } - cmdBuffer->bindDescriptorSet(LOCAL_SET, batch.descriptorSet, batchedBuffer->getDynamicOffset()); + cmdBuffer->bindDescriptorSet(localSet, batch.descriptorSet, batchedBuffer->getDynamicOffset()); cmdBuffer->bindInputAssembler(batch.ia); cmdBuffer->draw(batch.ia); } diff --git a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp index 23a95d7985..4697a4a9b9 100644 --- a/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderInstancedQueue.cpp @@ -33,39 +33,38 @@ namespace cc { namespace pipeline { void RenderInstancedQueue::clear() { - for (auto it : _queues) { + for (auto *it : _queues) { it->clear(); } _queues.clear(); } void RenderInstancedQueue::uploadBuffers(gfx::CommandBuffer *cmdBuffer) { - for (auto instanceBuffer : _queues) { + for (auto *instanceBuffer : _queues) { if (instanceBuffer->hasPendingModels()) { instanceBuffer->uploadBuffers(cmdBuffer); } } } -void RenderInstancedQueue::recordCommandBuffer(gfx::Device *device, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer) { - for (auto instanceBuffer : _queues) { +void RenderInstancedQueue::recordCommandBuffer(gfx::Device * /*device*/, gfx::RenderPass *renderPass, gfx::CommandBuffer *cmdBuffer) { + for (auto *instanceBuffer : _queues) { if (!instanceBuffer->hasPendingModels()) continue; const auto &instances = instanceBuffer->getInstances(); - const auto pass = instanceBuffer->getPass(); - cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); + const auto *pass = instanceBuffer->getPass(); + cmdBuffer->bindDescriptorSet(materialSet, pass->getDescriptorSet()); gfx::PipelineState *lastPSO = nullptr; - for (size_t b = 0; b < instances.size(); ++b) { - const auto &instance = instances[b]; + for (const auto& instance : instances) { if (!instance.count) { continue; } - auto pso = PipelineStateManager::getOrCreatePipelineState(pass, instance.shader, instance.ia, renderPass); + auto *pso = PipelineStateManager::getOrCreatePipelineState(pass, instance.shader, instance.ia, renderPass); if (lastPSO != pso) { cmdBuffer->bindPipelineState(pso); lastPSO = pso; } - cmdBuffer->bindDescriptorSet(LOCAL_SET, instance.descriptorSet, instanceBuffer->dynamicOffsets()); + cmdBuffer->bindDescriptorSet(localSet, instance.descriptorSet, instanceBuffer->dynamicOffsets()); cmdBuffer->bindInputAssembler(instance.ia); cmdBuffer->draw(instance.ia); } diff --git a/native/cocos/renderer/pipeline/RenderPipeline.cpp b/native/cocos/renderer/pipeline/RenderPipeline.cpp index 840a0b1f7c..ec7205aac1 100644 --- a/native/cocos/renderer/pipeline/RenderPipeline.cpp +++ b/native/cocos/renderer/pipeline/RenderPipeline.cpp @@ -73,8 +73,8 @@ void RenderPipeline::setDescriptorSetLayout() { globalDescriptorSetLayout.bindings[SHADOWMAP::BINDING] = SHADOWMAP::DESCRIPTOR; globalDescriptorSetLayout.samplers[ENVIRONMENT::NAME] = ENVIRONMENT::LAYOUT; globalDescriptorSetLayout.bindings[ENVIRONMENT::BINDING] = ENVIRONMENT::DESCRIPTOR; - globalDescriptorSetLayout.samplers[SPOT_LIGHTING_MAP::NAME] = SPOT_LIGHTING_MAP::LAYOUT; - globalDescriptorSetLayout.bindings[SPOT_LIGHTING_MAP::BINDING] = SPOT_LIGHTING_MAP::DESCRIPTOR; + globalDescriptorSetLayout.samplers[SPOTLIGHTINGMAP::NAME] = SPOTLIGHTINGMAP::LAYOUT; + globalDescriptorSetLayout.bindings[SPOTLIGHTINGMAP::BINDING] = SPOTLIGHTINGMAP::DESCRIPTOR; INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERGBUFFERALBEDOMAP); INIT_GLOBAL_DESCSET_LAYOUT(SAMPLERGBUFFERPOSITIONMAP); @@ -97,18 +97,18 @@ void RenderPipeline::setDescriptorSetLayout() { localDescriptorSetLayout.bindings[UBOSkinning::BINDING] = UBOSkinning::DESCRIPTOR; localDescriptorSetLayout.blocks[UBOMorph::NAME] = UBOMorph::LAYOUT; localDescriptorSetLayout.bindings[UBOMorph::BINDING] = UBOMorph::DESCRIPTOR; - localDescriptorSetLayout.samplers[JOINT_TEXTURE::NAME] = JOINT_TEXTURE::LAYOUT; - localDescriptorSetLayout.bindings[JOINT_TEXTURE::BINDING] = JOINT_TEXTURE::DESCRIPTOR; - localDescriptorSetLayout.samplers[POSITION_MORPH::NAME] = POSITION_MORPH::LAYOUT; - localDescriptorSetLayout.bindings[POSITION_MORPH::BINDING] = POSITION_MORPH::DESCRIPTOR; - localDescriptorSetLayout.samplers[NORMAL_MORPH::NAME] = NORMAL_MORPH::LAYOUT; - localDescriptorSetLayout.bindings[NORMAL_MORPH::BINDING] = NORMAL_MORPH::DESCRIPTOR; - localDescriptorSetLayout.samplers[TANGENT_MORPH::NAME] = TANGENT_MORPH::LAYOUT; - localDescriptorSetLayout.bindings[TANGENT_MORPH::BINDING] = TANGENT_MORPH::DESCRIPTOR; - localDescriptorSetLayout.samplers[LIGHTMAP_TEXTURE::NAME] = LIGHTMAP_TEXTURE::LAYOUT; - localDescriptorSetLayout.bindings[LIGHTMAP_TEXTURE::BINDING] = LIGHTMAP_TEXTURE::DESCRIPTOR; - localDescriptorSetLayout.samplers[SPRITE_TEXTURE::NAME] = SPRITE_TEXTURE::LAYOUT; - localDescriptorSetLayout.bindings[SPRITE_TEXTURE::BINDING] = SPRITE_TEXTURE::DESCRIPTOR; + localDescriptorSetLayout.samplers[JOINTTEXTURE::NAME] = JOINTTEXTURE::LAYOUT; + localDescriptorSetLayout.bindings[JOINTTEXTURE::BINDING] = JOINTTEXTURE::DESCRIPTOR; + localDescriptorSetLayout.samplers[POSITIONMORPH::NAME] = POSITIONMORPH::LAYOUT; + localDescriptorSetLayout.bindings[POSITIONMORPH::BINDING] = POSITIONMORPH::DESCRIPTOR; + localDescriptorSetLayout.samplers[NORMALMORPH::NAME] = NORMALMORPH::LAYOUT; + localDescriptorSetLayout.bindings[NORMALMORPH::BINDING] = NORMALMORPH::DESCRIPTOR; + localDescriptorSetLayout.samplers[TANGENTMORPH::NAME] = TANGENTMORPH::LAYOUT; + localDescriptorSetLayout.bindings[TANGENTMORPH::BINDING] = TANGENTMORPH::DESCRIPTOR; + localDescriptorSetLayout.samplers[LIGHTMAPTEXTURE::NAME] = LIGHTMAPTEXTURE::LAYOUT; + localDescriptorSetLayout.bindings[LIGHTMAPTEXTURE::BINDING] = LIGHTMAPTEXTURE::DESCRIPTOR; + localDescriptorSetLayout.samplers[SPRITETEXTURE::NAME] = SPRITETEXTURE::LAYOUT; + localDescriptorSetLayout.bindings[SPRITETEXTURE::BINDING] = SPRITETEXTURE::DESCRIPTOR; } bool RenderPipeline::initialize(const RenderPipelineInfo &info) { diff --git a/native/cocos/renderer/pipeline/RenderQueue.cpp b/native/cocos/renderer/pipeline/RenderQueue.cpp index 1904a44843..46d9455070 100644 --- a/native/cocos/renderer/pipeline/RenderQueue.cpp +++ b/native/cocos/renderer/pipeline/RenderQueue.cpp @@ -44,7 +44,7 @@ void RenderQueue::clear() { bool RenderQueue::insertRenderPass(const RenderObject &renderObj, uint subModelIdx, uint passIdx) { const auto *const subModelID = renderObj.model->getSubModelID(); - const auto *const subModel = renderObj.model->getSubModelView(subModelID[subModelIdx]); + const auto *const subModel = cc::pipeline::ModelView::getSubModelView(subModelID[subModelIdx]); const auto *const pass = subModel->getPassView(passIdx); const bool isTransparent = pass->getBlendState()->targets[0].blend; @@ -74,8 +74,8 @@ void RenderQueue::recordCommandBuffer(gfx::Device * /*device*/, gfx::RenderPass auto *pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, inputAssembler, renderPass); cmdBuff->bindPipelineState(pso); - cmdBuff->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); - cmdBuff->bindDescriptorSet(LOCAL_SET, subModel->getDescriptorSet()); + cmdBuff->bindDescriptorSet(materialSet, pass->getDescriptorSet()); + cmdBuff->bindDescriptorSet(localSet, subModel->getDescriptorSet()); cmdBuff->bindInputAssembler(inputAssembler); cmdBuff->draw(inputAssembler); } diff --git a/native/cocos/renderer/pipeline/SceneCulling.cpp b/native/cocos/renderer/pipeline/SceneCulling.cpp index a81366cbab..d9b805eff7 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/SceneCulling.cpp @@ -136,7 +136,8 @@ void updateDirLight(Shadows *shadows, const Light *light, std::arraycolor, sizeof(Vec4)); + float color[4] = {shadows->color.x, shadows->color.y, shadows->color.z, shadows->color.w}; + memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &color, sizeof(float) * 4); } void lightCollecting(Camera *camera, std::vector &validLights) { @@ -209,7 +210,7 @@ void sceneCulling(RenderPipeline *pipeline, Camera *camera) { if (scene->mainLightID) mainLight = scene->getMainLight(); RenderObjectList renderObjects; - if (skyBox->enabled && skyBox->modelID && (camera->clearFlag & SKYBOX_FLAG)) { + if (skyBox->enabled && skyBox->modelID && (camera->clearFlag & skyboxFlag)) { renderObjects.emplace_back(genRenderObject(skyBox->getModel(), camera)); } diff --git a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp index f0030fada9..e787ecff43 100644 --- a/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp +++ b/native/cocos/renderer/pipeline/ShadowMapBatchedQueue.cpp @@ -133,8 +133,8 @@ void ShadowMapBatchedQueue::recordCommandBuffer(gfx::Device *device, gfx::Render auto *const pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, ia, renderPass); cmdBuffer->bindPipelineState(pso); - cmdBuffer->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); - cmdBuffer->bindDescriptorSet(LOCAL_SET, subModel->getDescriptorSet()); + cmdBuffer->bindDescriptorSet(materialSet, pass->getDescriptorSet()); + cmdBuffer->bindDescriptorSet(localSet, subModel->getDescriptorSet()); cmdBuffer->bindInputAssembler(ia); cmdBuffer->draw(ia); } diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 44f4b76347..cb1691465d 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -68,7 +68,7 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl depthStencilAttachment.depthStoreOp = gfx::StoreOp::DISCARD; if (!(clearFlags & gfx::ClearFlagBit::COLOR)) { - if (clearFlags & static_cast(SKYBOX_FLAG)) { + if (clearFlags & static_cast(skyboxFlag)) { colorAttachment.loadOp = gfx::LoadOp::DISCARD; } else { colorAttachment.loadOp = gfx::LoadOp::LOAD; @@ -351,8 +351,8 @@ bool DeferredPipeline::activeRenderer() { this->_descriptorSet->bindTexture(SHADOWMAP::BINDING, getDefaultTexture()); // Spot light sampler binding - this->_descriptorSet->bindSampler(SPOT_LIGHTING_MAP::BINDING, sampler); - this->_descriptorSet->bindTexture(SPOT_LIGHTING_MAP::BINDING, getDefaultTexture()); + this->_descriptorSet->bindSampler(SPOTLIGHTINGMAP::BINDING, sampler); + this->_descriptorSet->bindTexture(SPOTLIGHTINGMAP::BINDING, getDefaultTexture()); _descriptorSet->update(); @@ -520,8 +520,8 @@ void DeferredPipeline::destroy() { _descriptorSet->getBuffer(UBOShadow::BINDING)->destroy(); _descriptorSet->getSampler(SHADOWMAP::BINDING)->destroy(); _descriptorSet->getTexture(SHADOWMAP::BINDING)->destroy(); - _descriptorSet->getSampler(SPOT_LIGHTING_MAP::BINDING)->destroy(); - _descriptorSet->getTexture(SPOT_LIGHTING_MAP::BINDING)->destroy(); + _descriptorSet->getSampler(SPOTLIGHTINGMAP::BINDING)->destroy(); + _descriptorSet->getTexture(SPOTLIGHTINGMAP::BINDING)->destroy(); } for (auto &it : _renderPasses) { diff --git a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp index 2a1fbea017..22812e3d88 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferStage.cpp @@ -130,7 +130,7 @@ void GbufferStage::render(Camera *camera) { const auto *const subModelID = model->getSubModelID(); const auto subModelCount = subModelID[0]; for (m = 1; m <= subModelCount; ++m) { - const auto *subModel = model->getSubModelView(subModelID[m]); + const auto *const subModel = cc::pipeline::ModelView::getSubModelView(subModelID[m]); for (p = 0; p < subModel->passCount; ++p) { const PassView *pass = subModel->getPassView(p); @@ -168,7 +168,7 @@ void GbufferStage::render(Camera *camera) { auto *renderPass = framebuffer->getRenderPass(); cmdBuff->beginRenderPass(renderPass, framebuffer, _renderArea, _clearColors, camera->clearDepth, camera->clearStencil); - cmdBuff->bindDescriptorSet(GLOBAL_SET, _pipeline->getDescriptorSet()); + cmdBuff->bindDescriptorSet(globalSet, _pipeline->getDescriptorSet()); _renderQueues[0]->recordCommandBuffer(_device, renderPass, cmdBuff); _instancedQueue->recordCommandBuffer(_device, renderPass, cmdBuff); diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index ab6a614041..43143ad397 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -31,7 +31,6 @@ #include "gfx-base/GFXCommandBuffer.h" #include "gfx-base/GFXDescriptorSet.h" #include "gfx-base/GFXDevice.h" -#include "gfx-base/GFXFramebuffer.h" #include "gfx-base/GFXQueue.h" #include "gfx-base/GFXRenderPass.h" #include "gfx-base/GFXSampler.h" @@ -41,15 +40,15 @@ namespace cc { namespace pipeline { namespace { -#define TO_VEC3(dst, src, offset) \ - dst[offset] = src.x; \ - dst[offset + 1] = src.y; \ - dst[offset + 2] = src.z; -#define TO_VEC4(dst, src, offset) \ - dst[offset] = src.x; \ - dst[offset + 1] = src.y; \ - dst[offset + 2] = src.z; \ - dst[offset + 3] = src.w; +#define TO_VEC3(dst, src, offset) \ + (dst)[(offset) + 0] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ + (dst)[(offset) + 2] = (src).z; +#define TO_VEC4(dst, src, offset) \ + (dst)[(offset) + 0] = (src).x; \ + (dst)[(offset) + 1] = (src).y; \ + (dst)[(offset) + 2] = (src).z; \ + (dst)[(offset) + 3] = (src).w; } // namespace gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFlags) { @@ -57,7 +56,7 @@ gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFla return _renderPasses[clearFlags]; } - auto device = gfx::Device::getInstance(); + auto *device = gfx::Device::getInstance(); gfx::ColorAttachment colorAttachment; gfx::DepthStencilAttachment depthStencilAttachment; colorAttachment.format = device->getColorFormat(); @@ -66,7 +65,7 @@ gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFla depthStencilAttachment.depthStoreOp = gfx::StoreOp::STORE; if (!(clearFlags & gfx::ClearFlagBit::COLOR)) { - if (clearFlags & static_cast(SKYBOX_FLAG)) { + if (clearFlags & static_cast(skyboxFlag)) { colorAttachment.loadOp = gfx::LoadOp::DISCARD; } else { colorAttachment.loadOp = gfx::LoadOp::LOAD; @@ -80,9 +79,11 @@ gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFla depthStencilAttachment.beginAccesses = {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; } - auto renderPass = device->createRenderPass({ + auto *renderPass = device->createRenderPass({ {colorAttachment}, depthStencilAttachment, + {}, + }); _renderPasses[clearFlags] = renderPass; @@ -92,12 +93,12 @@ gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFla bool ForwardPipeline::initialize(const RenderPipelineInfo &info) { RenderPipeline::initialize(info); - if (_flows.size() == 0) { - auto shadowFlow = CC_NEW(ShadowFlow); + if (_flows.empty()) { + auto *shadowFlow = CC_NEW(ShadowFlow); shadowFlow->initialize(ShadowFlow::getInitializeInfo()); _flows.emplace_back(shadowFlow); - auto forwardFlow = CC_NEW(ForwardFlow); + auto *forwardFlow = CC_NEW(ForwardFlow); forwardFlow->initialize(ForwardFlow::getInitializeInfo()); _flows.emplace_back(forwardFlow); } @@ -123,9 +124,9 @@ void ForwardPipeline::render(const vector &cameras) { _commandBuffers[0]->begin(); _pipelineUBO->updateGlobalUBO(); for (const auto cameraId : cameras) { - Camera *camera = GET_CAMERA(cameraId); + auto *camera = GET_CAMERA(cameraId); _pipelineUBO->updateCameraUBO(camera, camera->getWindow()->hasOffScreenAttachments); - for (const auto flow : _flows) { + for (auto *const flow : _flows) { flow->render(camera); } } @@ -136,7 +137,7 @@ void ForwardPipeline::render(const vector &cameras) { bool ForwardPipeline::activeRenderer() { _commandBuffers.push_back(_device->getCommandBuffer()); - const auto sharedData = _pipelineSceneData->getSharedData(); + auto *const sharedData = _pipelineSceneData->getSharedData(); gfx::SamplerInfo info{ gfx::Filter::LINEAR, @@ -145,17 +146,21 @@ bool ForwardPipeline::activeRenderer() { gfx::Address::CLAMP, gfx::Address::CLAMP, gfx::Address::CLAMP, + {}, + {}, + {}, + {}, }; - const auto shadowMapSamplerHash = SamplerLib::genSamplerHash(std::move(info)); - const auto shadowMapSampler = SamplerLib::getSampler(shadowMapSamplerHash); + const auto shadowMapSamplerHash = SamplerLib::genSamplerHash(info); + auto *const shadowMapSampler = SamplerLib::getSampler(shadowMapSamplerHash); // Main light sampler binding this->_descriptorSet->bindSampler(SHADOWMAP::BINDING, shadowMapSampler); this->_descriptorSet->bindTexture(SHADOWMAP::BINDING, getDefaultTexture()); // Spot light sampler binding - this->_descriptorSet->bindSampler(SPOT_LIGHTING_MAP::BINDING, shadowMapSampler); - this->_descriptorSet->bindTexture(SPOT_LIGHTING_MAP::BINDING, getDefaultTexture()); + this->_descriptorSet->bindSampler(SPOTLIGHTINGMAP::BINDING, shadowMapSampler); + this->_descriptorSet->bindTexture(SPOTLIGHTINGMAP::BINDING, getDefaultTexture()); _descriptorSet->update(); // update global defines when all states initialized. @@ -172,8 +177,8 @@ void ForwardPipeline::destroy() { _descriptorSet->getBuffer(UBOShadow::BINDING)->destroy(); _descriptorSet->getSampler(SHADOWMAP::BINDING)->destroy(); _descriptorSet->getTexture(SHADOWMAP::BINDING)->destroy(); - _descriptorSet->getSampler(SPOT_LIGHTING_MAP::BINDING)->destroy(); - _descriptorSet->getTexture(SPOT_LIGHTING_MAP::BINDING)->destroy(); + _descriptorSet->getSampler(SPOTLIGHTINGMAP::BINDING)->destroy(); + _descriptorSet->getTexture(SPOTLIGHTINGMAP::BINDING)->destroy(); } for (auto &it : _renderPasses) { diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp index 9a76675193..3336ce1de5 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp @@ -136,7 +136,7 @@ void ForwardStage::render(Camera *camera) { const auto *const subModelID = model->getSubModelID(); const auto subModelCount = subModelID[0]; for (m = 1; m <= subModelCount; ++m) { - const auto *subModel = model->getSubModelView(subModelID[m]); + const auto *subModel = cc::pipeline::ModelView::getSubModelView(subModelID[m]); for (p = 0; p < subModel->passCount; ++p) { const PassView *pass = subModel->getPassView(p); @@ -198,7 +198,7 @@ void ForwardStage::render(Camera *camera) { auto *renderPass = !colorTextures.empty() && colorTextures[0] ? framebuffer->getRenderPass() : pipeline->getOrCreateRenderPass(static_cast(camera->clearFlag)); cmdBuff->beginRenderPass(renderPass, framebuffer, _renderArea, _clearColors, camera->clearDepth, camera->clearStencil); - cmdBuff->bindDescriptorSet(GLOBAL_SET, _pipeline->getDescriptorSet()); + cmdBuff->bindDescriptorSet(globalSet, _pipeline->getDescriptorSet()); _renderQueues[0]->recordCommandBuffer(_device, renderPass, cmdBuff); _instancedQueue->recordCommandBuffer(_device, renderPass, cmdBuff); diff --git a/native/cocos/renderer/pipeline/forward/UIPhase.cpp b/native/cocos/renderer/pipeline/forward/UIPhase.cpp index 77f72edd23..c2b9e3078c 100644 --- a/native/cocos/renderer/pipeline/forward/UIPhase.cpp +++ b/native/cocos/renderer/pipeline/forward/UIPhase.cpp @@ -37,36 +37,36 @@ void UIPhase::activate(RenderPipeline *pipeline){ }; void UIPhase::render(Camera *camera, gfx::RenderPass *renderPass){ - auto pipeline = static_cast(_pipeline); - auto cmdBuff = pipeline->getCommandBuffers()[0]; + auto *pipeline = dynamic_cast(_pipeline); + auto *cmdBuff = pipeline->getCommandBuffers()[0]; - auto batches = camera->getScene()->getUIBatches(); - const int batchCount = batches[0]; + const auto *batches = camera->getScene()->getUIBatches(); + const auto batchCount = batches[0]; // Notice: The batches[0] is batchCount - for (int i = 1; i <= batchCount; ++i) { - const auto batch = GET_UI_BATCH(batches[i]); + for (uint i = 1; i <= batchCount; ++i) { + auto *const batch = GET_UI_BATCH(batches[i]); bool visible = false; if (camera->visibility & batch->visFlags) { visible = true; } if (!visible) continue; - const int count = batch->passCount; - for (int j = 0; j < count; j++) { - const auto pass = batch->getPassView(j); + const auto count = batch->passCount; + for (uint j = 0; j < count; j++) { + const auto *const pass = batch->getPassView(j); if (pass->phase != _phaseID) continue; - const auto shader = batch->getShader(j); - const auto inputAssembler = batch->getInputAssembler(); - const auto ds = batch->getDescriptorSet(); - auto *pso = PipelineStateManager::getOrCreatePipelineState(pass, shader, inputAssembler, renderPass); + auto *const shader = batch->getShader(j); + auto *const inputAssembler = batch->getInputAssembler(); + auto *const ds = batch->getDescriptorSet(); + auto *pso = cc::pipeline::PipelineStateManager::getOrCreatePipelineState(pass, shader, inputAssembler, renderPass); cmdBuff->bindPipelineState(pso); - cmdBuff->bindDescriptorSet(MATERIAL_SET, pass->getDescriptorSet()); - cmdBuff->bindDescriptorSet(LOCAL_SET, ds); + cmdBuff->bindDescriptorSet(materialSet, pass->getDescriptorSet()); + cmdBuff->bindDescriptorSet(localSet, ds); cmdBuff->bindInputAssembler(inputAssembler); cmdBuff->draw(inputAssembler); } } } -} -} +} // namespace pipeline +} // namespace cc diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index a01f0a5d1b..2b8fb77794 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -341,10 +341,10 @@ struct CC_DLL UIBatch { struct CC_DLL Scene { uint32_t mainLightID = 0; - uint32_t modelsID = 0; // array pool - uint32_t sphereLights; // array pool - uint32_t spotLights; // array pool - uint32_t uiBatches; // array pool + uint32_t modelsID = 0; // array pool + uint32_t sphereLights = 0; // array pool + uint32_t spotLights = 0; // array pool + uint32_t uiBatches = 0; // array pool CC_INLINE const Light *getMainLight() const { return GET_LIGHT(mainLightID); } CC_INLINE const uint * getSphereLightArrayID() const { return GET_LIGHT_ARRAY(sphereLights); } @@ -462,6 +462,10 @@ struct CC_DLL Shadows { uint32_t pcfType = 0; uint32_t shadowMapDirty = 0; float bias = 0.0F; + uint32_t packing = 0; + uint32_t linear = 0; + uint32_t selfShadow = 0; + float normalBias = 0.0F; float orthoSize = 0.0F; uint32_t autoAdapt = 0; diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index b7627e77cf..07b4038156 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -36,12 +36,13 @@ #include "../SceneCulling.h" namespace cc::pipeline { -RenderFlowInfo ShadowFlow::_initInfo = { +RenderFlowInfo ShadowFlow::initInfo = { "ShadowFlow", static_cast(ForwardFlowPriority::SHADOW), static_cast(RenderFlowTag::SCENE), - {}}; -const RenderFlowInfo &ShadowFlow::getInitializeInfo() { return ShadowFlow::_initInfo; } + {}, +}; +const RenderFlowInfo &ShadowFlow::getInitializeInfo() { return ShadowFlow::initInfo; } ShadowFlow::~ShadowFlow() = default; @@ -81,7 +82,7 @@ void ShadowFlow::render(Camera *camera) { auto *shadowFrameBuffer = shadowFramebufferMap.at(light); if (shadowInfo->shadowMapDirty) { - resizeShadowMap(light, static_cast(shadowInfo->size.x), static_cast(shadowInfo->size.y)); + resizeShadowMap(light, shadowInfo); } for (auto *stage : _stages) { auto *shadowStage = dynamic_cast(stage); @@ -112,7 +113,7 @@ void ShadowFlow::clearShadowMap(Camera *camera) { } } -void ShadowFlow::resizeShadowMap(const Light *light, const uint width, const uint height) const { +void ShadowFlow::resizeShadowMap(const Light *light, const Shadows *shadowInfo) const { auto *sceneData = _pipeline->getPipelineSceneData(); if (sceneData->getShadowFramebufferMap().count(light)) { @@ -122,14 +123,18 @@ void ShadowFlow::resizeShadowMap(const Light *light, const uint width, const uin return; } - const auto &renderTargets = framebuffer->getColorTextures(); - for (auto *renderTarget : renderTargets) { - renderTarget->resize(width, height); - } + vector renderTargets; + renderTargets.emplace_back(gfx::Device::getInstance()->createTexture({ + gfx::TextureType::TEX2D, + gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, + static_cast(shadowInfo->packing) ? gfx::Format::RGBA8 : gfx::Format::RGBA16F, + static_cast(shadowInfo->size.x), + static_cast(shadowInfo->size.y), + })); auto *depth = framebuffer->getDepthStencilTexture(); if (depth) { - depth->resize(width, height); + depth->resize(static_cast(shadowInfo->size.x), static_cast(shadowInfo->size.y)); } framebuffer->destroy(); @@ -181,7 +186,7 @@ void ShadowFlow::initShadowFrameBuffer(RenderPipeline *pipeline, const Light *li renderTargets.emplace_back(device->createTexture({ gfx::TextureType::TEX2D, gfx::TextureUsageBit::COLOR_ATTACHMENT | gfx::TextureUsageBit::SAMPLED, - gfx::Format::RGBA8, + static_cast(shadowInfo->packing) ? gfx::Format::RGBA8 : gfx::Format::RGBA16F, width, height, })); diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h index 75678f2b36..c66d2b5c87 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.h @@ -30,31 +30,31 @@ namespace pipeline { class ForwardPipeline; struct Light; struct Camera; +struct Shadows; class CC_DLL ShadowFlow : public RenderFlow { public: ShadowFlow() = default; - virtual ~ShadowFlow(); + ~ShadowFlow() override; static const RenderFlowInfo &getInitializeInfo(); - virtual bool initialize(const RenderFlowInfo &info) override; + bool initialize(const RenderFlowInfo &info) override; - virtual void activate(RenderPipeline *pipeline) override; + void activate(RenderPipeline *pipeline) override; - virtual void render(Camera *camera) override; + void render(Camera *camera) override; - virtual void destroy() override; + void destroy() override; private: void clearShadowMap(Camera *camera); - void resizeShadowMap(const Light *light, const uint width, const uint height) const; + void resizeShadowMap(const Light *light, const Shadows *shadowInfo) const; void initShadowFrameBuffer(RenderPipeline *pipeline, const Light *light); -private: - static RenderFlowInfo _initInfo; + static RenderFlowInfo initInfo; gfx::RenderPass *_renderPass = nullptr; diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp index 178405b083..39ebdb6761 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.cpp @@ -29,25 +29,18 @@ #include "../forward/ForwardPipeline.h" #include "../helper/SharedMemory.h" #include "gfx-base/GFXCommandBuffer.h" -#include "gfx-base/GFXDescriptorSet.h" #include "gfx-base/GFXFramebuffer.h" -#include "gfx-base/GFXTexture.h" #include "math/Vec2.h" namespace cc { namespace pipeline { -ShadowStage::ShadowStage() { -} -ShadowStage::~ShadowStage() { -} - -RenderStageInfo ShadowStage::_initInfo = { +RenderStageInfo ShadowStage::initInfo = { "ShadowStage", static_cast(ForwardStagePriority::FORWARD), static_cast(RenderFlowTag::SCENE), {}}; -const RenderStageInfo &ShadowStage::getInitializeInfo() { return ShadowStage::_initInfo; } +const RenderStageInfo &ShadowStage::getInitializeInfo() { return ShadowStage::initInfo; } bool ShadowStage::initialize(const RenderStageInfo &info) { RenderStage::initialize(info); @@ -64,30 +57,30 @@ void ShadowStage::activate(RenderPipeline *pipeline, RenderFlow *flow) { } void ShadowStage::render(Camera *camera) { - const auto sceneData = _pipeline->getPipelineSceneData(); - const auto sharedData = sceneData->getSharedData(); + const auto *sceneData = _pipeline->getPipelineSceneData(); + const auto *sharedData = sceneData->getSharedData(); const auto *shadowInfo = sceneData->getSharedData()->getShadows(); if (!_light || !_framebuffer) { return; } - auto cmdBuffer = _pipeline->getCommandBuffers()[0]; + auto *cmdBuffer = _pipeline->getCommandBuffers()[0]; _additiveShadowQueue->gatherLightPasses(_light, cmdBuffer); const auto shadowMapSize = shadowInfo->size; - _renderArea.x = (int)(camera->viewportX * shadowMapSize.x); - _renderArea.y = (int)(camera->viewportY * shadowMapSize.y); - _renderArea.width = (uint)(camera->viewportWidth * shadowMapSize.x * sharedData->shadingScale); - _renderArea.height = (uint)(camera->viewportHeight * shadowMapSize.y * sharedData->shadingScale); + _renderArea.x = static_cast(camera->viewportX * shadowMapSize.x); + _renderArea.y = static_cast(camera->viewportY * shadowMapSize.y); + _renderArea.width = static_cast(camera->viewportWidth * shadowMapSize.x * sharedData->shadingScale); + _renderArea.height = static_cast(camera->viewportHeight * shadowMapSize.y * sharedData->shadingScale); - _clearColors[0] = {1.0f, 1.0f, 1.0f, 1.0f}; + _clearColors[0] = {1.0F, 1.0F, 1.0F, 1.0F}; auto* renderPass = _framebuffer->getRenderPass(); cmdBuffer->beginRenderPass(renderPass, _framebuffer, _renderArea, _clearColors, camera->clearDepth, camera->clearStencil); - cmdBuffer->bindDescriptorSet(GLOBAL_SET, _pipeline->getDescriptorSet()); + cmdBuffer->bindDescriptorSet(globalSet, _pipeline->getDescriptorSet()); _additiveShadowQueue->recordCommandBuffer(_device, renderPass, cmdBuffer); cmdBuffer->endRenderPass(); @@ -100,15 +93,15 @@ void ShadowStage::destroy() { } void ShadowStage::clearFramebuffer(Camera *camera) { - const auto pipeline = static_cast(_pipeline); + auto *pipeline = dynamic_cast(_pipeline); if (!_light || !_framebuffer) { return; } - auto cmdBuffer = pipeline->getCommandBuffers()[0]; + auto *cmdBuffer = pipeline->getCommandBuffers()[0]; - _clearColors[0] = {1.0f, 1.0f, 1.0f, 1.0f}; + _clearColors[0] = {1.0F, 1.0F, 1.0F, 1.0F}; auto *renderPass = _framebuffer->getRenderPass(); cmdBuffer->beginRenderPass(renderPass, _framebuffer, _renderArea, diff --git a/native/cocos/renderer/pipeline/shadow/ShadowStage.h b/native/cocos/renderer/pipeline/shadow/ShadowStage.h index 51f70a2a49..ee8276b518 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowStage.h +++ b/native/cocos/renderer/pipeline/shadow/ShadowStage.h @@ -34,15 +34,15 @@ struct Camera; class CC_DLL ShadowStage : public RenderStage { public: - ShadowStage(); - virtual ~ShadowStage(); + ShadowStage() = default; + ~ShadowStage() override = default; static const RenderStageInfo &getInitializeInfo(); - virtual bool initialize(const RenderStageInfo &info) override; - virtual void destroy() override; - virtual void render(Camera *camera) override; - virtual void activate(RenderPipeline *pipeline, RenderFlow *flow) override; + bool initialize(const RenderStageInfo &info) override; + void destroy() override; + void render(Camera *camera) override; + void activate(RenderPipeline *pipeline, RenderFlow *flow) override; CC_INLINE void setFramebuffer(gfx::Framebuffer *framebuffer) { _framebuffer = framebuffer; } CC_INLINE void setUseData(const Light *light, gfx::Framebuffer *framebuffer) { @@ -53,7 +53,7 @@ public: void clearFramebuffer(Camera *camera); private: - static RenderStageInfo _initInfo; + static RenderStageInfo initInfo; gfx::Rect _renderArea; const Light *_light = nullptr; From 43c6e02f80bc144eae5327af373bc959ae90e898 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Mon, 19 Apr 2021 17:46:59 +0800 Subject: [PATCH 260/270] Fix noexcept error. (#3426) * Fix noexcept error. --- native/cocos/base/StringPool.h | 12 ++++++------ native/cocos/base/threading/ReadWriteLock.h | 10 +++++----- .../renderer/frame-graph/PassInsertPointManager.h | 12 ++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/native/cocos/base/StringPool.h b/native/cocos/base/StringPool.h index 867025d516..fbb28a54d4 100644 --- a/native/cocos/base/StringPool.h +++ b/native/cocos/base/StringPool.h @@ -25,12 +25,12 @@ #pragma once -#include "StringHandle.h" -#include "threading/ReadWriteLock.h" #include #include #include #include +#include "StringHandle.h" +#include "threading/ReadWriteLock.h" namespace cc { @@ -43,7 +43,7 @@ struct StringCompare final { template class StringPool final { public: - StringPool() noexcept = default; + StringPool() = default; ~StringPool(); StringPool(const StringPool &) = delete; StringPool(StringPool &&) = delete; @@ -76,7 +76,7 @@ StringPool::~StringPool() { template inline StringHandle StringPool::stringToHandle(const char *str) noexcept { if (ThreadSafe) { - return _readWriteLock.LockWrite([this, str]() { + return _readWriteLock.lockWrite([this, str]() { return doStringToHandle(str); }); } @@ -86,7 +86,7 @@ inline StringHandle StringPool::stringToHandle(const char *str) noex template inline char const *StringPool::handleToString(const StringHandle &handle) const noexcept { if (ThreadSafe) { - return _readWriteLock.LockRead([this, handle]() { + return _readWriteLock.lockRead([this, handle]() { return doHandleToString(handle); }); } @@ -96,7 +96,7 @@ inline char const *StringPool::handleToString(const StringHandle &ha template StringHandle StringPool::find(const char *str) const noexcept { if (ThreadSafe) { - return _readWriteLock.LockRead([this, str]() { + return _readWriteLock.lockRead([this, str]() { return doFind(str); }); } diff --git a/native/cocos/base/threading/ReadWriteLock.h b/native/cocos/base/threading/ReadWriteLock.h index 947627f0c8..0576fe53f3 100644 --- a/native/cocos/base/threading/ReadWriteLock.h +++ b/native/cocos/base/threading/ReadWriteLock.h @@ -31,26 +31,26 @@ namespace cc { class ReadWriteLock final { public: - ReadWriteLock() noexcept = default; + ReadWriteLock() = default; template - auto LockRead(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)); + auto lockRead(Function &&func, Args &&...args) noexcept -> decltype(func(std::forward(args)...)); template - auto LockWrite(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)); + auto lockWrite(Function &&func, Args &&...args) noexcept -> decltype(func(std::forward(args)...)); private: std::shared_mutex _mutex; }; template -auto ReadWriteLock::LockRead(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)) { +auto ReadWriteLock::lockRead(Function &&func, Args &&...args) noexcept -> decltype(func(std::forward(args)...)) { std::shared_lock lock(_mutex); return func(std::forward(args)...); } template -auto ReadWriteLock::LockWrite(Function &&func, Args &&... args) noexcept -> decltype(func(std::forward(args)...)) { +auto ReadWriteLock::lockWrite(Function &&func, Args &&...args) noexcept -> decltype(func(std::forward(args)...)) { std::lock_guard lock(_mutex); return func(std::forward(args)...); } diff --git a/native/cocos/renderer/frame-graph/PassInsertPointManager.h b/native/cocos/renderer/frame-graph/PassInsertPointManager.h index 9fc263af6d..567e13a8d0 100644 --- a/native/cocos/renderer/frame-graph/PassInsertPointManager.h +++ b/native/cocos/renderer/frame-graph/PassInsertPointManager.h @@ -25,9 +25,9 @@ #pragma once +#include #include "Handle.h" #include "base/Macros.h" -#include namespace cc { namespace framegraph { @@ -43,14 +43,14 @@ public: static PassInsertPointManager &getInstance() noexcept; - PassInsertPoint record(const char *const name, const PassInsertPoint point) noexcept; - PassInsertPoint get(const char *const name) const noexcept; + PassInsertPoint record(const char *name, PassInsertPoint point) noexcept; + PassInsertPoint get(const char *name) const noexcept; private: - PassInsertPointManager() noexcept = default; - ~PassInsertPointManager() = default; + PassInsertPointManager() = default; + ~PassInsertPointManager() = default; - CC_INLINE PassInsertPoint get(const StringHandle name) const noexcept; + CC_INLINE PassInsertPoint get(StringHandle name) const noexcept; StringPool _stringPool; std::vector _insertPoints{}; From c61e064ee1eaae494ad6aac893d264bc6ed41d56 Mon Sep 17 00:00:00 2001 From: GengineJS <476393671@qq.com> Date: Mon, 19 Apr 2021 19:02:45 +0800 Subject: [PATCH 261/270] [Feature] Optimize the shadow collect process of shadowMap (#3422) --- .../cocos/renderer/pipeline/SceneCulling.cpp | 57 +++++++------------ native/cocos/renderer/pipeline/SceneCulling.h | 1 - .../pipeline/deferred/DeferredPipeline.cpp | 1 + .../pipeline/deferred/GbufferFlow.cpp | 2 - .../renderer/pipeline/forward/ForwardFlow.cpp | 2 - .../pipeline/forward/ForwardPipeline.cpp | 3 +- .../renderer/pipeline/shadow/ShadowFlow.cpp | 1 - 7 files changed, 24 insertions(+), 43 deletions(-) diff --git a/native/cocos/renderer/pipeline/SceneCulling.cpp b/native/cocos/renderer/pipeline/SceneCulling.cpp index d9b805eff7..4059e07c2b 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.cpp +++ b/native/cocos/renderer/pipeline/SceneCulling.cpp @@ -162,42 +162,6 @@ void lightCollecting(Camera *camera, std::vector &validLights) { CC_SAFE_DELETE(sphere); } -void shadowCollecting(RenderPipeline *pipeline, Camera *camera) { - const auto *const scene = camera->getScene(); - auto *const sceneData = pipeline->getPipelineSceneData(); - - castBoundsInitialized = false; - - RenderObjectList shadowObjects; - - const auto *const models = scene->getModels(); - const auto modelCount = models[0]; - for (size_t i = 1; i <= modelCount; i++) { - const auto *const model = cc::pipeline::Scene::getModelView(models[i]); - - // filter model by view visibility - if (model->enabled) { - const auto visibility = camera->visibility; - const auto *const node = model->getNode(); - if ((model->nodeID && ((visibility & node->layer) == node->layer)) || - (visibility & model->visFlags)) { - // shadow render Object - if (model->castShadow && model->getWorldBounds()) { - if (!castBoundsInitialized) { - castWorldBounds = *model->getWorldBounds(); - castBoundsInitialized = true; - } - castWorldBounds.merge(*model->getWorldBounds()); - shadowObjects.emplace_back(genRenderObject(model, camera)); - } - } - } - } - - sceneData->getSphere()->define(castWorldBounds); - - sceneData->setShadowObjects(std::move(shadowObjects)); -} void sceneCulling(RenderPipeline *pipeline, Camera *camera) { auto *const sceneData = pipeline->getPipelineSceneData(); @@ -206,6 +170,13 @@ void sceneCulling(RenderPipeline *pipeline, Camera *camera) { auto *const skyBox = sharedData->getSkybox(); const auto *const scene = camera->getScene(); + castBoundsInitialized = false; + RenderObjectList shadowObjects; + bool isShadowMap = false; + if(shadows->enabled && shadows->getShadowType() == ShadowType::SHADOWMAP) { + isShadowMap = true; + } + const Light *mainLight = nullptr; if (scene->mainLightID) mainLight = scene->getMainLight(); RenderObjectList renderObjects; @@ -225,6 +196,15 @@ void sceneCulling(RenderPipeline *pipeline, Camera *camera) { const auto *const node = model->getNode(); if ((model->nodeID && ((visibility & node->layer) == node->layer)) || (visibility & model->visFlags)) { + // shadow render Object + if (isShadowMap && model->castShadow && model->getWorldBounds()) { + if (!castBoundsInitialized) { + castWorldBounds = *model->getWorldBounds(); + castBoundsInitialized = true; + } + castWorldBounds.merge(*model->getWorldBounds()); + shadowObjects.emplace_back(genRenderObject(model, camera)); + } // frustum culling if ((model->worldBoundsID) && !aabbFrustum(model->getWorldBounds(), camera->getFrustum())) { continue; @@ -235,6 +215,11 @@ void sceneCulling(RenderPipeline *pipeline, Camera *camera) { } } + if(isShadowMap) { + sceneData->getSphere()->define(castWorldBounds); + sceneData->setShadowObjects(std::move(shadowObjects)); + } + sceneData->setRenderObjects(std::move(renderObjects)); } diff --git a/native/cocos/renderer/pipeline/SceneCulling.h b/native/cocos/renderer/pipeline/SceneCulling.h index c6835f0829..66eef2a4e0 100644 --- a/native/cocos/renderer/pipeline/SceneCulling.h +++ b/native/cocos/renderer/pipeline/SceneCulling.h @@ -44,7 +44,6 @@ struct Shadows; RenderObject genRenderObject(Model *, const Camera *); void lightCollecting(Camera *, std::vector&); -void shadowCollecting(RenderPipeline *, Camera *); void sceneCulling(RenderPipeline *, Camera *); void updateSphereLight(Shadows *shadows, const Light *light, std::array &); void updateDirLight(Shadows *shadows, const Light *light, std::array&); diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index cb1691465d..7bd7237033 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -133,6 +133,7 @@ void DeferredPipeline::render(const vector &cameras) { _pipelineUBO->updateGlobalUBO(); for (const auto cameraId : cameras) { auto *camera = GET_CAMERA(cameraId); + sceneCulling(this, camera); _pipelineUBO->updateCameraUBO(camera, true); for (auto *const flow : _flows) { flow->render(camera); diff --git a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp index dfcbd58502..8d3ebac326 100644 --- a/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp +++ b/native/cocos/renderer/pipeline/deferred/GbufferFlow.cpp @@ -61,8 +61,6 @@ void GbufferFlow::activate(RenderPipeline *pipeline) { } void GbufferFlow::render(Camera *camera) { - auto *pipeline = static_cast(_pipeline); - sceneCulling(pipeline, camera); RenderFlow::render(camera); } diff --git a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp index ce70fbd4ee..1ff767d9ce 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardFlow.cpp @@ -58,8 +58,6 @@ void ForwardFlow::activate(RenderPipeline *pipeline) { } void ForwardFlow::render(Camera *camera) { - auto pipeline = static_cast(_pipeline); - sceneCulling(pipeline, camera); RenderFlow::render(camera); } diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 43143ad397..07a3b9cf84 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -124,7 +124,8 @@ void ForwardPipeline::render(const vector &cameras) { _commandBuffers[0]->begin(); _pipelineUBO->updateGlobalUBO(); for (const auto cameraId : cameras) { - auto *camera = GET_CAMERA(cameraId); + Camera *camera = GET_CAMERA(cameraId); + sceneCulling(this, camera); _pipelineUBO->updateCameraUBO(camera, camera->getWindow()->hasOffScreenAttachments); for (auto *const flow : _flows) { flow->render(camera); diff --git a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp index 07b4038156..e8d83c9aac 100644 --- a/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp +++ b/native/cocos/renderer/pipeline/shadow/ShadowFlow.cpp @@ -67,7 +67,6 @@ void ShadowFlow::render(Camera *camera) { if (!shadowInfo->enabled || shadowInfo->getShadowType() != ShadowType::SHADOWMAP) return; lightCollecting(camera, _validLights); - shadowCollecting(_pipeline, camera); if (sceneData->getShadowObjects().empty()) { clearShadowMap(camera); From 3bdaca7d3756d73c9aa8d9af238de26e15e5afee Mon Sep 17 00:00:00 2001 From: GengineJS <476393671@qq.com> Date: Mon, 19 Apr 2021 20:07:49 +0800 Subject: [PATCH 262/270] [Feature] Rt adaptation (#3427) --- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 28 +++++++++---------- .../cocos/renderer/gfx-base/GFXDef-common.h | 2 +- native/cocos/renderer/gfx-metal/MTLDevice.mm | 4 +-- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- .../cocos/renderer/pipeline/PipelineUBO.cpp | 22 ++++++++++----- native/cocos/renderer/pipeline/PipelineUBO.h | 4 ++- 6 files changed, 36 insertions(+), 26 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index bea94e6624..682ca33992 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -838,32 +838,32 @@ static bool js_gfx_DeviceCaps_set_screenSpaceSignY(se::State& s) } SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_screenSpaceSignY) -static bool js_gfx_DeviceCaps_get_UVSpaceSignY(se::State& s) +static bool js_gfx_DeviceCaps_get_clipSpaceSignY(se::State& s) { cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_UVSpaceSignY : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_get_clipSpaceSignY : Invalid Native Object"); CC_UNUSED bool ok = true; se::Value jsret; - ok &= nativevalue_to_se(cobj->UVSpaceSignY, jsret, s.thisObject() /*ctx*/); + ok &= nativevalue_to_se(cobj->clipSpaceSignY, jsret, s.thisObject() /*ctx*/); s.rval() = jsret; - SE_HOLD_RETURN_VALUE(cobj->UVSpaceSignY, s.thisObject(), s.rval()); + SE_HOLD_RETURN_VALUE(cobj->clipSpaceSignY, s.thisObject(), s.rval()); return true; } -SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_UVSpaceSignY) +SE_BIND_PROP_GET(js_gfx_DeviceCaps_get_clipSpaceSignY) -static bool js_gfx_DeviceCaps_set_UVSpaceSignY(se::State& s) +static bool js_gfx_DeviceCaps_set_clipSpaceSignY(se::State& s) { const auto& args = s.args(); cc::gfx::DeviceCaps* cobj = SE_THIS_OBJECT(s); - SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_UVSpaceSignY : Invalid Native Object"); + SE_PRECONDITION2(cobj, false, "js_gfx_DeviceCaps_set_clipSpaceSignY : Invalid Native Object"); CC_UNUSED bool ok = true; - ok &= sevalue_to_native(args[0], &cobj->UVSpaceSignY, s.thisObject()); - SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_UVSpaceSignY : Error processing new value"); + ok &= sevalue_to_native(args[0], &cobj->clipSpaceSignY, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_DeviceCaps_set_clipSpaceSignY : Error processing new value"); return true; } -SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_UVSpaceSignY) +SE_BIND_PROP_SET(js_gfx_DeviceCaps_set_clipSpaceSignY) template<> @@ -966,9 +966,9 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::DeviceCaps * to, se::Obje if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->screenSpaceSignY), ctx); } - json->getProperty("UVSpaceSignY", &field); + json->getProperty("clipSpaceSignY", &field); if(!field.isNullOrUndefined()) { - ok &= sevalue_to_native(field, &(to->UVSpaceSignY), ctx); + ok &= sevalue_to_native(field, &(to->clipSpaceSignY), ctx); } return ok; } @@ -1075,7 +1075,7 @@ static bool js_gfx_DeviceCaps_constructor(se::State& s) ok &= sevalue_to_native(args[21], &(cobj->screenSpaceSignY), nullptr); } if (argc > 22 && !args[22].isUndefined()) { - ok &= sevalue_to_native(args[22], &(cobj->UVSpaceSignY), nullptr); + ok &= sevalue_to_native(args[22], &(cobj->clipSpaceSignY), nullptr); } if(!ok) { @@ -1136,7 +1136,7 @@ bool js_register_gfx_DeviceCaps(se::Object* obj) cls->defineProperty("maxComputeWorkGroupCount", _SE(js_gfx_DeviceCaps_get_maxComputeWorkGroupCount), _SE(js_gfx_DeviceCaps_set_maxComputeWorkGroupCount)); cls->defineProperty("clipSpaceMinZ", _SE(js_gfx_DeviceCaps_get_clipSpaceMinZ), _SE(js_gfx_DeviceCaps_set_clipSpaceMinZ)); cls->defineProperty("screenSpaceSignY", _SE(js_gfx_DeviceCaps_get_screenSpaceSignY), _SE(js_gfx_DeviceCaps_set_screenSpaceSignY)); - cls->defineProperty("UVSpaceSignY", _SE(js_gfx_DeviceCaps_get_UVSpaceSignY), _SE(js_gfx_DeviceCaps_set_UVSpaceSignY)); + cls->defineProperty("clipSpaceSignY", _SE(js_gfx_DeviceCaps_get_clipSpaceSignY), _SE(js_gfx_DeviceCaps_set_clipSpaceSignY)); cls->defineFinalizeFunction(_SE(js_cc_gfx_DeviceCaps_finalize)); cls->install(); JSBClassType::registerClass(cls); diff --git a/native/cocos/renderer/gfx-base/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h index 6c0c54f8a9..a2bf581839 100644 --- a/native/cocos/renderer/gfx-base/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -725,7 +725,7 @@ struct DeviceCaps { float clipSpaceMinZ = -1.0F; float screenSpaceSignY = 1.0F; - float UVSpaceSignY = -1.0F; + float clipSpaceSignY = 1.0F; }; struct Offset { diff --git a/native/cocos/renderer/gfx-metal/MTLDevice.mm b/native/cocos/renderer/gfx-metal/MTLDevice.mm index b4d6a262e2..eecdcf4c27 100644 --- a/native/cocos/renderer/gfx-metal/MTLDevice.mm +++ b/native/cocos/renderer/gfx-metal/MTLDevice.mm @@ -59,8 +59,8 @@ CCMTLDevice::CCMTLDevice() { _deviceName = "Metal"; _caps.clipSpaceMinZ = 0.0f; - _caps.screenSpaceSignY = 1.0f; - _caps.UVSpaceSignY = 1.0f; + _caps.screenSpaceSignY = -1.0f; + _caps.clipSpaceSignY = 1.0f; CCMTLDevice::_instance = this; } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 47f750d228..94245882b8 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -71,7 +71,7 @@ CCVKDevice::CCVKDevice() { _caps.clipSpaceMinZ = 0.0F; _caps.screenSpaceSignY = -1.0F; - _caps.UVSpaceSignY = 1.0F; + _caps.clipSpaceSignY = -1.0F; CCVKDevice::instance = this; } diff --git a/native/cocos/renderer/pipeline/PipelineUBO.cpp b/native/cocos/renderer/pipeline/PipelineUBO.cpp index e92814e885..ed32c601fe 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.cpp +++ b/native/cocos/renderer/pipeline/PipelineUBO.cpp @@ -145,13 +145,13 @@ void PipelineUBO::updateCameraUBOView(const RenderPipeline *pipeline, std::array memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInvOffscreen.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProjOffscreen.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInvOffscreen.m, sizeof(cc::Mat4)); - uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; + uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = getCombineSignY(); } else { memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_OFFSET, camera->matProj.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_PROJ_INV_OFFSET, camera->matProjInv.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_OFFSET, camera->matViewProj.m, sizeof(cc::Mat4)); memcpy(uboCameraView.data() + UBOCamera::MAT_VIEW_PROJ_INV_OFFSET, camera->matViewProjInv.m, sizeof(cc::Mat4)); - uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = device->getCapabilities().screenSpaceSignY; + uboCameraView[UBOCamera::CAMERA_POS_OFFSET + 3] = getCombineSignY(); } if (fog->enabled) { @@ -207,7 +207,7 @@ void PipelineUBO::updateShadowUBOView(const RenderPipeline *pipeline, std::array memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_OFFSET, matShadowCamera.m, sizeof(matShadowCamera)); const auto matShadowView = matShadowCamera.getInversed(); - const auto projectionSinY = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; + const auto projectionSinY = device->getCapabilities().clipSpaceSignY; Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getCapabilities().clipSpaceMinZ, projectionSinY, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); @@ -264,7 +264,7 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: memcpy(shadowUBO.data() + UBOShadow::MAT_LIGHT_VIEW_OFFSET, matShadowCamera.m, sizeof(matShadowCamera)); const auto matShadowView = matShadowCamera.getInversed(); - const auto projectionSinY = device->getCapabilities().screenSpaceSignY * device->getCapabilities().UVSpaceSignY; + const auto projectionSinY = device->getCapabilities().clipSpaceSignY; Mat4::createOrthographicOffCenter(-x, x, -y, y, shadowInfo->nearValue, farClamp, device->getCapabilities().clipSpaceMinZ, projectionSinY, &matShadowViewProj); matShadowViewProj.multiply(matShadowView); @@ -302,14 +302,22 @@ void PipelineUBO::updateShadowUBOLightView(const RenderPipeline *pipeline, std:: const float color[4] = {shadowInfo->color.x, shadowInfo->color.y, shadowInfo->color.z, shadowInfo->color.w}; memcpy(shadowUBO.data() + UBOShadow::SHADOW_COLOR_OFFSET, &color, sizeof(float) * 4); } +static uint8_t _combineSignY = 0; +uint8_t PipelineUBO::getCombineSignY() { + return _combineSignY; +} + +void PipelineUBO::initCombineSignY() { + _combineSignY = static_cast(_device->getCapabilities().screenSpaceSignY * 0.5 + 0.5) << 1 | static_cast(_device->getCapabilities().clipSpaceSignY * 0.5 + 0.5); +} void PipelineUBO::activate(gfx::Device *device, RenderPipeline *pipeline) { _device = device; _pipeline = pipeline; - auto *const descriptorSet = pipeline->getDescriptorSet(); - - auto *globalUBO = _device->createBuffer({ + const auto descriptorSet = pipeline->getDescriptorSet(); + initCombineSignY(); + auto globalUBO = _device->createBuffer({ gfx::BufferUsageBit::UNIFORM | gfx::BufferUsageBit::TRANSFER_DST, gfx::MemoryUsageBit::HOST | gfx::MemoryUsageBit::DEVICE, UBOGlobal::SIZE, diff --git a/native/cocos/renderer/pipeline/PipelineUBO.h b/native/cocos/renderer/pipeline/PipelineUBO.h index cd7e8393b6..a3c0df6064 100644 --- a/native/cocos/renderer/pipeline/PipelineUBO.h +++ b/native/cocos/renderer/pipeline/PipelineUBO.h @@ -45,7 +45,7 @@ public: static void updateCameraUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera, bool hasOffScreenAttachments); static void updateShadowUBOView(const RenderPipeline *pipeline, std::array &bufferView, const Camera *camera); static void updateShadowUBOLightView(const RenderPipeline *pipeline, std::array &bufferView, const Light *light); - + static uint8_t getCombineSignY(); public: PipelineUBO() = default; virtual ~PipelineUBO() = default; @@ -57,6 +57,7 @@ public: void updateShadowUBOLight(const Light *light); void updateShadowUBORange(uint offset, const Mat4* data); void destroyShadowFrameBuffers(); + private: RenderPipeline *_pipeline = nullptr; gfx::Device *_device = nullptr; @@ -66,6 +67,7 @@ private: std::array _shadowUBO; std::vector _ubos; + void initCombineSignY(); }; } // namespace pipeline From f281158d41997608645df94c5da235347eeed4b5 Mon Sep 17 00:00:00 2001 From: cary <39078800+caryliu1999@users.noreply.github.com> Date: Mon, 19 Apr 2021 22:11:49 +0800 Subject: [PATCH 263/270] Fix object pool crash on windows. (#3430) --- native/cocos/bindings/dop/ObjectPool.cpp | 2 +- native/cocos/bindings/dop/PoolType.h | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/native/cocos/bindings/dop/ObjectPool.cpp b/native/cocos/bindings/dop/ObjectPool.cpp index b3bbf0fc78..87db199dd8 100644 --- a/native/cocos/bindings/dop/ObjectPool.cpp +++ b/native/cocos/bindings/dop/ObjectPool.cpp @@ -27,7 +27,7 @@ #include "base/memory/Memory.h" namespace se { -cc::vector ObjectPool::poolMap(CAST_POOL_TYPE(PoolType::FRAMEBUFFER)); +cc::vector ObjectPool::poolMap(OBJECT_POOL_SIZE); ObjectPool::ObjectPool(PoolType type, Object *jsArr) : _type(type), diff --git a/native/cocos/bindings/dop/PoolType.h b/native/cocos/bindings/dop/PoolType.h index f4f88631eb..648c095568 100644 --- a/native/cocos/bindings/dop/PoolType.h +++ b/native/cocos/bindings/dop/PoolType.h @@ -32,14 +32,17 @@ namespace se { #define BUFFER_POOL_BEGIN CAST_POOL_TYPE(se::PoolType::PASS) #define ARRAY_POOL_BEGIN CAST_POOL_TYPE(se::PoolType::SUB_MODEL_ARRAY) #define RAW_BUFFER_BEGIN CAST_POOL_TYPE(se::PoolType::RAW_BUFFER) +#define RAW_OBJECT_BEGIN CAST_POOL_TYPE(se::PoolType::RAW_OBJECT) -#define OBJECT_POOL_SIZE CAST_POOL_TYPE(se::PoolType::FRAMEBUFFER) + 1 +#define OBJECTS_SIZE CAST_POOL_TYPE(se::PoolType::FRAMEBUFFER) + 1 #define BUFFER_POOL_SIZE CAST_POOL_TYPE(se::PoolType::PIPELINE_SHARED_SCENE_DATA) - BUFFER_POOL_BEGIN + 1 #define ARRAY_POOL_SIZE CAST_POOL_TYPE(se::PoolType::UI_BATCH_ARRAY) - ARRAY_POOL_BEGIN + 1 #define RAW_BUFFER_SIZE CAST_POOL_TYPE(se::PoolType::RAW_BUFFER) - CAST_POOL_TYPE(se::PoolType::RAW_BUFFER) + 1 +#define RAW_OBJECT_SIZE CAST_POOL_TYPE(se::PoolType::RAW_OBJECT) - CAST_POOL_TYPE(se::PoolType::RAW_OBJECT) + 1 #define BUFFER_ALLOCATOR_SIZE (ARRAY_POOL_SIZE + RAW_BUFFER_SIZE) +#define OBJECT_POOL_SIZE (OBJECTS_SIZE + RAW_OBJECT_SIZE) -#define GET_OBJECT_POOL_ID(type) CAST_POOL_TYPE(type) +#define GET_OBJECT_POOL_ID(type) CAST_POOL_TYPE(type) >= CAST_POOL_TYPE(se::PoolType::RAW_OBJECT) ? (CAST_POOL_TYPE(type) - RAW_OBJECT_BEGIN + OBJECTS_SIZE) : CAST_POOL_TYPE(type) #define GET_BUFFER_POOL_ID(type) CAST_POOL_TYPE(type) - BUFFER_POOL_BEGIN #define GET_ARRAY_POOL_ID(type) CAST_POOL_TYPE(type) >= RAW_BUFFER_BEGIN ? (CAST_POOL_TYPE(type) - RAW_BUFFER_BEGIN + ARRAY_POOL_SIZE) : CAST_POOL_TYPE(type) - ARRAY_POOL_BEGIN #define IS_BUFFER_ALLOCATOR_TYPE(type) CAST_POOL_TYPE(type) >= ARRAY_POOL_BEGIN @@ -92,6 +95,8 @@ enum class PoolType { // raw buffer RAW_BUFFER = 300, + // raw Object + RAW_OBJECT = 400, UNKNOWN }; } // namespace se From 90f345b768bd198bdb83c36f440905ff8922d156 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Mon, 19 Apr 2021 22:23:23 +0800 Subject: [PATCH 264/270] format & type fixes (#3428) * separate script for windows * buffer.update const qualifier * fix ES2 MRT supprot * vk: subpass support * better enum operators --- native/.clang-tidy | 2 + native/cocos/base/TypeDef.h | 42 ++- .../cocos/renderer/gfx-agent/BufferAgent.cpp | 6 +- native/cocos/renderer/gfx-agent/BufferAgent.h | 2 +- .../renderer/gfx-agent/CommandBufferAgent.cpp | 9 + .../renderer/gfx-agent/CommandBufferAgent.h | 1 + native/cocos/renderer/gfx-base/GFXBuffer.h | 12 +- .../renderer/gfx-base/GFXCommandBuffer.h | 1 + .../cocos/renderer/gfx-base/GFXDef-common.h | 40 +-- native/cocos/renderer/gfx-base/GFXDef.cpp | 16 -- native/cocos/renderer/gfx-base/GFXDef.h | 27 +- .../gfx-base/GFXDescriptorSetLayout.cpp | 4 +- .../renderer/gfx-base/GFXPipelineState.cpp | 1 + .../renderer/gfx-base/GFXPipelineState.h | 3 +- .../cocos/renderer/gfx-base/GFXRenderPass.cpp | 1 + .../cocos/renderer/gfx-base/GFXRenderPass.h | 12 +- .../cocos/renderer/gfx-empty/EmptyBuffer.cpp | 2 +- native/cocos/renderer/gfx-empty/EmptyBuffer.h | 2 +- .../renderer/gfx-empty/EmptyCommandBuffer.cpp | 3 + .../renderer/gfx-empty/EmptyCommandBuffer.h | 1 + .../cocos/renderer/gfx-gles2/GLES2Buffer.cpp | 4 +- native/cocos/renderer/gfx-gles2/GLES2Buffer.h | 5 +- .../renderer/gfx-gles2/GLES2CommandBuffer.cpp | 3 + .../renderer/gfx-gles2/GLES2CommandBuffer.h | 1 + .../renderer/gfx-gles2/GLES2Commands.cpp | 55 ++-- .../cocos/renderer/gfx-gles2/GLES2Commands.h | 2 +- .../renderer/gfx-gles2/GLES2DescriptorSet.cpp | 14 +- .../gfx-gles2/GLES2DescriptorSetLayout.cpp | 13 +- .../renderer/gfx-gles2/GLES2GPUObjects.h | 4 +- .../cocos/renderer/gfx-gles3/GLES3Buffer.cpp | 4 +- native/cocos/renderer/gfx-gles3/GLES3Buffer.h | 5 +- .../renderer/gfx-gles3/GLES3CommandBuffer.cpp | 3 + .../renderer/gfx-gles3/GLES3CommandBuffer.h | 1 + .../renderer/gfx-gles3/GLES3Commands.cpp | 60 ++--- .../cocos/renderer/gfx-gles3/GLES3Commands.h | 2 +- .../renderer/gfx-gles3/GLES3DescriptorSet.cpp | 12 +- .../gfx-gles3/GLES3DescriptorSetLayout.cpp | 13 +- .../renderer/gfx-gles3/GLES3GPUObjects.h | 8 +- native/cocos/renderer/gfx-metal/MTLBuffer.h | 4 +- native/cocos/renderer/gfx-metal/MTLBuffer.mm | 32 +-- .../renderer/gfx-metal/MTLCommandBuffer.h | 1 + .../renderer/gfx-metal/MTLCommandBuffer.mm | 11 +- .../renderer/gfx-metal/MTLDescriptorSet.mm | 4 +- .../gfx-metal/MTLDescriptorSetLayout.mm | 2 +- .../cocos/renderer/gfx-metal/MTLGPUObjects.h | 14 +- native/cocos/renderer/gfx-metal/MTLShader.mm | 8 +- native/cocos/renderer/gfx-metal/MTLTexture.mm | 7 +- native/cocos/renderer/gfx-metal/MTLUtils.mm | 17 +- .../gfx-validator/BufferValidator.cpp | 12 +- .../renderer/gfx-validator/BufferValidator.h | 4 +- .../gfx-validator/CommandBufferValidator.cpp | 4 + .../gfx-validator/CommandBufferValidator.h | 1 + .../DescriptorSetLayoutValidator.cpp | 2 +- .../gfx-validator/DescriptorSetValidator.cpp | 6 +- .../gfx-validator/TextureValidator.cpp | 8 +- native/cocos/renderer/gfx-vulkan/VKBuffer.cpp | 6 +- native/cocos/renderer/gfx-vulkan/VKBuffer.h | 2 +- .../renderer/gfx-vulkan/VKCommandBuffer.cpp | 6 + .../renderer/gfx-vulkan/VKCommandBuffer.h | 3 + .../cocos/renderer/gfx-vulkan/VKCommands.cpp | 239 +++++++++++++----- .../cocos/renderer/gfx-vulkan/VKContext.cpp | 4 +- .../renderer/gfx-vulkan/VKDescriptorSet.cpp | 26 +- .../gfx-vulkan/VKDescriptorSetLayout.cpp | 9 +- native/cocos/renderer/gfx-vulkan/VKDevice.cpp | 2 +- .../cocos/renderer/gfx-vulkan/VKGPUObjects.h | 2 + .../renderer/gfx-vulkan/VKPipelineState.cpp | 17 +- .../renderer/gfx-vulkan/VKRenderPass.cpp | 9 +- native/cocos/renderer/gfx-vulkan/VKUtils.cpp | 95 ++++--- .../pipeline/deferred/DeferredPipeline.cpp | 8 +- .../pipeline/deferred/PostprocessStage.cpp | 12 +- .../pipeline/forward/ForwardPipeline.cpp | 10 +- .../pipeline/forward/ForwardStage.cpp | 2 +- native/docs/LINTER_AUTOFIX_GUIDE.md | 8 +- .../generate_compile_commands_android.sh | 2 +- ...nerate_compile_commands_android_windows.sh | 17 ++ 75 files changed, 611 insertions(+), 401 deletions(-) create mode 100755 native/utils/generate_compile_commands_android_windows.sh diff --git a/native/.clang-tidy b/native/.clang-tidy index 4705fdf4b3..4eb2096e84 100644 --- a/native/.clang-tidy +++ b/native/.clang-tidy @@ -5,6 +5,7 @@ # -modernize-avoid-c-arrays # Legacy reasons # +# -bugprone-macro-parentheses: This conflicts with our usages # -modernize-concat-nested-namespaces: More flexible not concated # -modernize-use-nodiscard: No C++17 specific rules for now # -modernize-use-trailing-return-type: It is acceptable to return a function call at the end of a function @@ -28,6 +29,7 @@ Checks: > -misc-non-private-member-variables-in-classes, -modernize-avoid-c-arrays, + -bugprone-macro-parentheses, -modernize-concat-nested-namespaces, -modernize-use-nodiscard, -modernize-use-trailing-return-type, diff --git a/native/cocos/base/TypeDef.h b/native/cocos/base/TypeDef.h index 98a2540e9f..994139c326 100755 --- a/native/cocos/base/TypeDef.h +++ b/native/cocos/base/TypeDef.h @@ -25,15 +25,35 @@ #pragma once -using uint = unsigned int; -using ushort = unsigned short; -using ulong = unsigned long; -using FlagBits = unsigned int; +#include -#define CC_ENUM_OPERATORS(type_) \ - CC_INLINE type_ operator|(type_ lhs, type_ rhs) { return (type_)(static_cast::type /**/>(lhs) | static_cast::type /**/>(rhs)); } \ - CC_INLINE void operator|=(type_ &lhs, type_ rhs) { lhs = (type_)(static_cast::type /**/>(lhs) | static_cast::type /**/>(rhs)); } \ - CC_INLINE int operator&(type_ lhs, type_ rhs) { return (int)(static_cast::type /**/>(lhs) & static_cast::type /**/>(rhs)); } \ - CC_INLINE void operator&=(type_ &lhs, type_ rhs) { lhs = (type_)(static_cast::type /**/>(lhs) & static_cast::type /**/>(rhs)); } \ - CC_INLINE bool operator||(type_ lhs, type_ rhs) { return (static_cast::type /**/>(lhs) || static_cast::type /**/>(rhs)); } \ - CC_INLINE bool operator&&(type_ lhs, type_ rhs) { return (static_cast::type /**/>(lhs) && static_cast::type /**/>(rhs)); } +using uint = uint32_t; +using ushort = uint16_t; +using ulong = uint32_t; +using FlagBits = uint32_t; + +#define CC_ENUM_OPERATORS(T) \ + inline T operator~(const T v) { return static_cast(~static_cast::type>(v)); } \ + inline bool operator||(const T lhs, const T rhs) { return (static_cast::type>(lhs) || static_cast::type>(rhs)); } \ + inline bool operator&&(const T lhs, const T rhs) { return (static_cast::type>(lhs) && static_cast::type>(rhs)); } \ + inline T operator|(const T lhs, const T rhs) { return static_cast(static_cast::type>(lhs) | static_cast::type>(rhs)); } \ + inline T operator&(const T lhs, const T rhs) { return static_cast(static_cast::type>(lhs) & static_cast::type>(rhs)); } \ + inline T operator^(const T lhs, const T rhs) { return static_cast(static_cast::type>(lhs) ^ static_cast::type>(rhs)); } \ + inline void operator|=(T &lhs, const T rhs) { lhs = static_cast(static_cast::type>(lhs) | static_cast::type>(rhs)); } \ + inline void operator&=(T &lhs, const T rhs) { lhs = static_cast(static_cast::type>(lhs) & static_cast::type>(rhs)); } \ + inline void operator^=(T &lhs, const T rhs) { lhs = static_cast(static_cast::type>(lhs) ^ static_cast::type>(rhs)); } \ + inline bool hasFlag(const T flags, const T flagToTest) { \ + using ValueType = std::underlying_type::type; \ + CCASSERT((static_cast(flagToTest) & (static_cast(flagToTest) - 1)) == 0, "More than one flag specified"); \ + return (static_cast(flags) & static_cast(flagToTest)) != 0; \ + } \ + inline bool hasAnyFlags(const T flags, const T flagsToTest) { \ + using ValueType = std::underlying_type::type; \ + return (static_cast(flags) & static_cast(flagsToTest)) != 0; \ + } \ + inline bool hasAllFlags(const T flags, const T flagsToTest) { \ + using ValueType = std::underlying_type::type; \ + return (static_cast(flags) & static_cast(flagsToTest)) == static_cast(flagsToTest); \ + } \ + inline T addFlags(const T flags, const T flagsToAdd) { return (flags | flagsToAdd); } \ + inline T removeFlags(const T flags, const T flagsToRemove) { return (flags & ~flagsToRemove); } diff --git a/native/cocos/renderer/gfx-agent/BufferAgent.cpp b/native/cocos/renderer/gfx-agent/BufferAgent.cpp index 98c425a4ee..78543dd512 100644 --- a/native/cocos/renderer/gfx-agent/BufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/BufferAgent.cpp @@ -68,7 +68,7 @@ void BufferAgent::doInit(const BufferViewInfo &info) { }); } -void BufferAgent::doResize(uint size, uint count) { +void BufferAgent::doResize(uint size, uint /*count*/) { ENQUEUE_MESSAGE_2( DeviceAgent::getInstance()->getMessageQueue(), BufferResize, @@ -89,8 +89,8 @@ void BufferAgent::doDestroy() { }); } -void BufferAgent::update(void *buffer, uint size) { - uint8_t *actorBuffer = DeviceAgent::getInstance()->getMainAllocator()->allocate(size); +void BufferAgent::update(const void *buffer, uint size) { + auto *actorBuffer = DeviceAgent::getInstance()->getMainAllocator()->allocate(size); memcpy(actorBuffer, buffer, size); ENQUEUE_MESSAGE_3( diff --git a/native/cocos/renderer/gfx-agent/BufferAgent.h b/native/cocos/renderer/gfx-agent/BufferAgent.h index 8b0586a1d1..7c9054937e 100644 --- a/native/cocos/renderer/gfx-agent/BufferAgent.h +++ b/native/cocos/renderer/gfx-agent/BufferAgent.h @@ -36,7 +36,7 @@ public: using Agent::Agent; ~BufferAgent() override; - void update(void *buffer, uint size) override; + void update(const void *buffer, uint size) override; protected: void doInit(const BufferInfo &info) override; diff --git a/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp index e67b5dc891..9e89cacc04 100644 --- a/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp +++ b/native/cocos/renderer/gfx-agent/CommandBufferAgent.cpp @@ -335,6 +335,15 @@ void CommandBufferAgent::setStencilCompareMask(StencilFace face, int ref, uint m }); } +void CommandBufferAgent::nextSubpass() { + ENQUEUE_MESSAGE_1( + _messageQueue, CommandBufferNextSubpass, + actor, getActor(), + { + actor->nextSubpass(); + }); +} + void CommandBufferAgent::draw(const DrawInfo &info) { ENQUEUE_MESSAGE_2( _messageQueue, CommandBufferDraw, diff --git a/native/cocos/renderer/gfx-agent/CommandBufferAgent.h b/native/cocos/renderer/gfx-agent/CommandBufferAgent.h index 6a36fee654..ddf033cd36 100644 --- a/native/cocos/renderer/gfx-agent/CommandBufferAgent.h +++ b/native/cocos/renderer/gfx-agent/CommandBufferAgent.h @@ -58,6 +58,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void nextSubpass() override; void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; diff --git a/native/cocos/renderer/gfx-base/GFXBuffer.h b/native/cocos/renderer/gfx-base/GFXBuffer.h index 8fb6394dc2..1b7f69d52e 100644 --- a/native/cocos/renderer/gfx-base/GFXBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXBuffer.h @@ -33,7 +33,7 @@ namespace gfx { class CC_DLL Buffer : public GFXObject { public: Buffer(); - virtual ~Buffer(); + ~Buffer() override; static uint computeHash(const BufferInfo &info); @@ -42,7 +42,7 @@ public: void resize(uint size); void destroy(); - virtual void update(void *buffer, uint size) = 0; + virtual void update(const void *buffer, uint size) = 0; CC_INLINE BufferUsage getUsage() const { return _usage; } CC_INLINE MemoryUsage getMemUsage() const { return _memUsage; } @@ -59,10 +59,10 @@ protected: BufferUsage _usage = BufferUsageBit::NONE; MemoryUsage _memUsage = MemoryUsageBit::NONE; - uint _stride = 0u; - uint _count = 0u; - uint _size = 0u; - uint _offset = 0u; + uint _stride = 0U; + uint _count = 0U; + uint _size = 0U; + uint _offset = 0U; BufferFlags _flags = BufferFlagBit::NONE; bool _isBufferView = false; }; diff --git a/native/cocos/renderer/gfx-base/GFXCommandBuffer.h b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h index 194ccc775f..6124234744 100644 --- a/native/cocos/renderer/gfx-base/GFXCommandBuffer.h +++ b/native/cocos/renderer/gfx-base/GFXCommandBuffer.h @@ -56,6 +56,7 @@ public: virtual void setDepthBound(float minBounds, float maxBounds) = 0; virtual void setStencilWriteMask(StencilFace face, uint mask) = 0; virtual void setStencilCompareMask(StencilFace face, int ref, uint mask) = 0; + virtual void nextSubpass() = 0; virtual void draw(const DrawInfo &info) = 0; virtual void updateBuffer(Buffer *buff, const void *data, uint size) = 0; virtual void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) = 0; diff --git a/native/cocos/renderer/gfx-base/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h index a2bf581839..538f1536d7 100644 --- a/native/cocos/renderer/gfx-base/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -64,7 +64,6 @@ class DescriptorSetLayout; class PipelineLayout; class PipelineState; class DescriptorSet; -class CommandAllocator; class CommandBuffer; class Queue; class Window; @@ -74,8 +73,9 @@ using TextureBarrierList = vector; using BufferDataList = vector; using CommandBufferList = vector; -#define GFX_MAX_ATTACHMENTS 4 -#define GFX_INVALID_BINDING ((uint)-1) +constexpr uint MAX_ATTACHMENTS = 4U; +constexpr uint INVALID_BINDING = static_cast(-1); +constexpr uint SUBPASS_EXTERNAL = static_cast(-1); using BufferList = vector; using TextureList = vector; @@ -419,7 +419,7 @@ enum class MemoryUsageBit : FlagBits { HOST = 0x2, }; using MemoryUsage = MemoryUsageBit; -CC_ENUM_OPERATORS(MemoryUsageBit); +CC_ENUM_OPERATORS(MemoryUsageBit) enum class TextureType { TEX1D, @@ -438,11 +438,10 @@ enum class TextureUsageBit : FlagBits { STORAGE = 0x8, COLOR_ATTACHMENT = 0x10, DEPTH_STENCIL_ATTACHMENT = 0x20, - TRANSIENT_ATTACHMENT = 0x40, - INPUT_ATTACHMENT = 0x80, + INPUT_ATTACHMENT = 0x40, }; using TextureUsage = TextureUsageBit; -CC_ENUM_OPERATORS(TextureUsageBit); +CC_ENUM_OPERATORS(TextureUsageBit) enum class TextureFlagBit : FlagBits { NONE = 0, @@ -450,7 +449,7 @@ enum class TextureFlagBit : FlagBits { IMMUTABLE = 0x2, }; using TextureFlags = TextureFlagBit; -CC_ENUM_OPERATORS(TextureFlagBit); +CC_ENUM_OPERATORS(TextureFlagBit) enum class SampleCount { X1, @@ -532,7 +531,7 @@ enum class ColorMask : FlagBits { A = 0x8, ALL = R | G | B | A, }; -CC_ENUM_OPERATORS(ColorMask); +CC_ENUM_OPERATORS(ColorMask) enum class ShaderStageFlagBit : FlagBits { NONE = 0x0, @@ -545,7 +544,7 @@ enum class ShaderStageFlagBit : FlagBits { ALL = 0x3f, }; using ShaderStageFlags = ShaderStageFlagBit; -CC_ENUM_OPERATORS(ShaderStageFlagBit); +CC_ENUM_OPERATORS(ShaderStageFlagBit) enum class LoadOp { LOAD, // Load the contents from the fbo from previous @@ -648,7 +647,7 @@ enum class DynamicStateFlagBit : FlagBits { STENCIL_COMPARE_MASK = 0x80, }; using DynamicStateFlags = DynamicStateFlagBit; -CC_ENUM_OPERATORS(DynamicStateFlagBit); +CC_ENUM_OPERATORS(DynamicStateFlagBit) using DynamicStateList = vector; @@ -670,7 +669,7 @@ enum class DescriptorType : FlagBits { STORAGE_IMAGE = 0x80, INPUT_ATTACHMENT = 0x100, }; -CC_ENUM_OPERATORS(DescriptorType); +CC_ENUM_OPERATORS(DescriptorType) enum class QueueType { GRAPHICS, @@ -692,7 +691,7 @@ enum class ClearFlagBit : FlagBits { ALL = COLOR | DEPTH | STENCIL, }; using ClearFlags = ClearFlagBit; -CC_ENUM_OPERATORS(ClearFlagBit); +CC_ENUM_OPERATORS(ClearFlagBit) struct Size { uint x = 0U; @@ -1071,15 +1070,25 @@ struct SubpassInfo { std::vector colors; std::vector resolves; std::vector preserves; - uint depthStencil = GFX_INVALID_BINDING; + uint depthStencil = INVALID_BINDING; }; using SubpassInfoList = vector; +struct SubpassDependency { + uint srcSubpass = 0U; + uint dstSubpass = 0U; + std::vector srcAccesses; + std::vector dstAccesses; +}; + +using SubpassDependencyList = vector; + struct RenderPassInfo { ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; SubpassInfoList subpasses; + SubpassDependencyList dependencies; }; struct GlobalBarrierInfo { @@ -1108,7 +1117,7 @@ struct FramebufferInfo { }; struct DescriptorSetLayoutBinding { - uint binding = GFX_INVALID_BINDING; + uint binding = INVALID_BINDING; DescriptorType descriptorType = DescriptorType::UNKNOWN; uint count = 0; ShaderStageFlags stageFlags = ShaderStageFlagBit::NONE; @@ -1204,6 +1213,7 @@ struct PipelineStateInfo { PrimitiveMode primitive = PrimitiveMode::TRIANGLE_LIST; DynamicStateFlags dynamicStates = DynamicStateFlagBit::NONE; PipelineBindPoint bindPoint = PipelineBindPoint::GRAPHICS; + uint subpass = 0U; }; struct CommandBufferInfo { diff --git a/native/cocos/renderer/gfx-base/GFXDef.cpp b/native/cocos/renderer/gfx-base/GFXDef.cpp index 7354862a68..422beb1b21 100644 --- a/native/cocos/renderer/gfx-base/GFXDef.cpp +++ b/native/cocos/renderer/gfx-base/GFXDef.cpp @@ -30,22 +30,6 @@ namespace cc { namespace gfx { -const DescriptorType DESCRIPTOR_BUFFER_TYPE = DescriptorType::STORAGE_BUFFER | - DescriptorType::DYNAMIC_STORAGE_BUFFER | - DescriptorType::UNIFORM_BUFFER | - DescriptorType::DYNAMIC_UNIFORM_BUFFER; - -const DescriptorType DESCRIPTOR_TEXTURE_TYPE = DescriptorType::SAMPLER_TEXTURE | - DescriptorType::SAMPLER | - DescriptorType::TEXTURE | - DescriptorType::STORAGE_IMAGE | - DescriptorType::INPUT_ATTACHMENT; - -const DescriptorType DESCRIPTOR_DYNAMIC_TYPE = DescriptorType::DYNAMIC_STORAGE_BUFFER | - DescriptorType::DYNAMIC_UNIFORM_BUFFER; - -const uint DRAW_INFO_SIZE = 28U; - const FormatInfo GFX_FORMAT_INFOS[] = { {"UNKNOWN", 0, 0, FormatType::NONE, false, false, false, false}, {"A8", 1, 1, FormatType::UNORM, true, false, false, false}, diff --git a/native/cocos/renderer/gfx-base/GFXDef.h b/native/cocos/renderer/gfx-base/GFXDef.h index 5fdfb58274..707d2a4efc 100644 --- a/native/cocos/renderer/gfx-base/GFXDef.h +++ b/native/cocos/renderer/gfx-base/GFXDef.h @@ -78,10 +78,29 @@ struct ContextInfo { Context* sharedCtx = nullptr; }; -extern const DescriptorType DESCRIPTOR_BUFFER_TYPE; -extern const DescriptorType DESCRIPTOR_TEXTURE_TYPE; -extern const DescriptorType DESCRIPTOR_DYNAMIC_TYPE; -extern const uint DRAW_INFO_SIZE; +constexpr TextureUsage TEXTURE_USAGE_TRANSIENT = static_cast( + static_cast(TextureUsageBit::COLOR_ATTACHMENT) | + static_cast(TextureUsageBit::DEPTH_STENCIL_ATTACHMENT) | + static_cast(TextureUsageBit::INPUT_ATTACHMENT)); + +constexpr DescriptorType DESCRIPTOR_BUFFER_TYPE = static_cast( + static_cast(DescriptorType::STORAGE_BUFFER) | + static_cast(DescriptorType::DYNAMIC_STORAGE_BUFFER) | + static_cast(DescriptorType::UNIFORM_BUFFER) | + static_cast(DescriptorType::DYNAMIC_UNIFORM_BUFFER)); + +constexpr DescriptorType DESCRIPTOR_TEXTURE_TYPE = static_cast( + static_cast(DescriptorType::SAMPLER_TEXTURE) | + static_cast(DescriptorType::SAMPLER) | + static_cast(DescriptorType::TEXTURE) | + static_cast(DescriptorType::STORAGE_IMAGE) | + static_cast(DescriptorType::INPUT_ATTACHMENT)); + +constexpr DescriptorType DESCRIPTOR_DYNAMIC_TYPE = static_cast( + static_cast(DescriptorType::DYNAMIC_STORAGE_BUFFER) | + static_cast(DescriptorType::DYNAMIC_UNIFORM_BUFFER)); + +constexpr uint DRAW_INFO_SIZE = 28U; extern const FormatInfo GFX_FORMAT_INFOS[]; extern const uint GFX_TYPE_SIZES[]; diff --git a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp index 8a540786f9..fd7c20b60b 100644 --- a/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-base/GFXDescriptorSetLayout.cpp @@ -52,8 +52,8 @@ void DescriptorSetLayout::initialize(const DescriptorSetLayoutInfo &info) { if (binding.binding > maxBinding) maxBinding = binding.binding; } - _bindingIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); - _descriptorIndices.resize(maxBinding + 1, GFX_INVALID_BINDING); + _bindingIndices.resize(maxBinding + 1, INVALID_BINDING); + _descriptorIndices.resize(maxBinding + 1, INVALID_BINDING); for (uint i = 0U; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = _bindings[i]; _bindingIndices[binding.binding] = i; diff --git a/native/cocos/renderer/gfx-base/GFXPipelineState.cpp b/native/cocos/renderer/gfx-base/GFXPipelineState.cpp index a369efae27..007761ddc2 100644 --- a/native/cocos/renderer/gfx-base/GFXPipelineState.cpp +++ b/native/cocos/renderer/gfx-base/GFXPipelineState.cpp @@ -47,6 +47,7 @@ void PipelineState::initialize(const PipelineStateInfo &info) { _blendState = info.blendState; _dynamicStates = info.dynamicStates; _renderPass = info.renderPass; + _subpass = info.subpass; _pipelineLayout = info.pipelineLayout; doInit(info); diff --git a/native/cocos/renderer/gfx-base/GFXPipelineState.h b/native/cocos/renderer/gfx-base/GFXPipelineState.h index 89b6d804f2..e48915b441 100644 --- a/native/cocos/renderer/gfx-base/GFXPipelineState.h +++ b/native/cocos/renderer/gfx-base/GFXPipelineState.h @@ -33,7 +33,7 @@ namespace gfx { class CC_DLL PipelineState : public GFXObject { public: PipelineState(); - virtual ~PipelineState(); + ~PipelineState() override; void initialize(const PipelineStateInfo &info); void destroy(); @@ -62,6 +62,7 @@ protected: DepthStencilState _depthStencilState; BlendState _blendState; RenderPass * _renderPass = nullptr; + uint _subpass = 0U; PipelineLayout * _pipelineLayout = nullptr; }; diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp index 5a6da419e3..0a8abe55d3 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.cpp +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.cpp @@ -199,6 +199,7 @@ void RenderPass::initialize(const RenderPassInfo &info) { _colorAttachments = info.colorAttachments; _depthStencilAttachment = info.depthStencilAttachment; _subpasses = info.subpasses; + _dependencies = info.dependencies; _hash = computeHash(); doInit(info); diff --git a/native/cocos/renderer/gfx-base/GFXRenderPass.h b/native/cocos/renderer/gfx-base/GFXRenderPass.h index 93271c5fcf..112da006a1 100644 --- a/native/cocos/renderer/gfx-base/GFXRenderPass.h +++ b/native/cocos/renderer/gfx-base/GFXRenderPass.h @@ -33,17 +33,18 @@ namespace gfx { class CC_DLL RenderPass : public GFXObject { public: RenderPass(); - virtual ~RenderPass(); + ~RenderPass() override; static uint computeHash(const RenderPassInfo &info); void initialize(const RenderPassInfo &info); void destroy(); - CC_INLINE const ColorAttachmentList &getColorAttachments() const { return _colorAttachments; } - CC_INLINE const DepthStencilAttachment &getDepthStencilAttachment() const { return _depthStencilAttachment; } - CC_INLINE const SubpassInfoList &getSubpasses() const { return _subpasses; } - CC_INLINE uint getHash() const { return _hash; } + inline const ColorAttachmentList & getColorAttachments() const { return _colorAttachments; } + inline const DepthStencilAttachment &getDepthStencilAttachment() const { return _depthStencilAttachment; } + inline const SubpassInfoList & getSubpasses() const { return _subpasses; } + inline const SubpassDependencyList & getDependencies() const { return _dependencies; } + inline uint getHash() const { return _hash; } protected: uint computeHash(); @@ -54,6 +55,7 @@ protected: ColorAttachmentList _colorAttachments; DepthStencilAttachment _depthStencilAttachment; SubpassInfoList _subpasses; + SubpassDependencyList _dependencies; uint _hash = 0; }; diff --git a/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp b/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp index c3a8ef16d0..867eedfb96 100644 --- a/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp +++ b/native/cocos/renderer/gfx-empty/EmptyBuffer.cpp @@ -40,7 +40,7 @@ void EmptyBuffer::doResize(uint size, uint count) { void EmptyBuffer::doDestroy() { } -void EmptyBuffer::update(void *buffer, uint size) { +void EmptyBuffer::update(const void *buffer, uint size) { } } // namespace gfx diff --git a/native/cocos/renderer/gfx-empty/EmptyBuffer.h b/native/cocos/renderer/gfx-empty/EmptyBuffer.h index 8eb107eee5..39916c2f1c 100644 --- a/native/cocos/renderer/gfx-empty/EmptyBuffer.h +++ b/native/cocos/renderer/gfx-empty/EmptyBuffer.h @@ -32,7 +32,7 @@ namespace gfx { class CC_DLL EmptyBuffer final : public Buffer { public: - void update(void *buffer, uint size) override; + void update(const void *buffer, uint size) override; protected: void doInit(const BufferInfo &info) override; diff --git a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp index 02ef8de080..b1b1142511 100644 --- a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.cpp @@ -82,6 +82,9 @@ void EmptyCommandBuffer::setStencilWriteMask(StencilFace face, uint mask) { void EmptyCommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint mask) { } +void EmptyCommandBuffer::nextSubpass() { +} + void EmptyCommandBuffer::draw(const DrawInfo &info) { } diff --git a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h index d62b5a270c..08713402f8 100644 --- a/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h +++ b/native/cocos/renderer/gfx-empty/EmptyCommandBuffer.h @@ -47,6 +47,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void nextSubpass() override; void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp index 2b8d4a4602..f25fbfc82c 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.cpp @@ -46,7 +46,7 @@ void GLES2Buffer::doInit(const BufferInfo & /*info*/) { _gpuBuffer->stride = _stride; _gpuBuffer->count = _count; - if (_usage & BufferUsageBit::INDIRECT) { + if (hasFlag(_usage, BufferUsageBit::INDIRECT)) { _gpuBuffer->indirects.resize(_count); } @@ -77,7 +77,7 @@ void GLES2Buffer::doResize(uint size, uint count) { cmdFuncGLES2ResizeBuffer(GLES2Device::getInstance(), _gpuBuffer); } -void GLES2Buffer::update(void *buffer, uint size) { +void GLES2Buffer::update(const void *buffer, uint size) { cmdFuncGLES2UpdateBuffer(GLES2Device::getInstance(), _gpuBuffer, buffer, 0U, size); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h index 2dbb7fbd79..610a4e7efd 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Buffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Buffer.h @@ -25,6 +25,7 @@ #pragma once +#include "GLES2Std.h" #include "gfx-base/GFXBuffer.h" namespace cc { @@ -36,9 +37,9 @@ class GLES2GPUBufferView; class CC_GLES2_API GLES2Buffer final : public Buffer { public: GLES2Buffer(); - ~GLES2Buffer(); + ~GLES2Buffer() override; - void update(void *buffer, uint size) override; + void update(const void *buffer, uint size) override; CC_INLINE GLES2GPUBuffer *gpuBuffer() const { return _gpuBuffer; } CC_INLINE GLES2GPUBufferView *gpuBufferView() const { return _gpuBufferView; } diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp index ac755a1047..f7a4cbee67 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.cpp @@ -236,6 +236,9 @@ void GLES2CommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint m } } +void GLES2CommandBuffer::nextSubpass() { +} + void GLES2CommandBuffer::draw(const DrawInfo &info) { if (_isStateInvalid) { bindStates(); diff --git a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h index ba26cba0b3..04f37595b2 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles2/GLES2CommandBuffer.h @@ -55,6 +55,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void nextSubpass() override; void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index 9d73adc187..f85bb68085 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -550,9 +550,9 @@ const GLenum GLES2_BLEND_FACTORS[] = { void cmdFuncGLES2CreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); + GLenum glUsage = (hasFlag(gpuBuffer->memUsage, MemoryUsageBit::HOST) ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); - if (gpuBuffer->usage & BufferUsageBit::VERTEX) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::VERTEX)) { gpuBuffer->glTarget = GL_ARRAY_BUFFER; GL_CHECK(glGenBuffers(1, &gpuBuffer->glBuffer)); if (gpuBuffer->size) { @@ -572,7 +572,7 @@ void cmdFuncGLES2CreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); device->stateCache()->glArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDEX) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDEX)) { gpuBuffer->glTarget = GL_ELEMENT_ARRAY_BUFFER; GL_CHECK(glGenBuffers(1, &gpuBuffer->glBuffer)); if (gpuBuffer->size) { @@ -592,11 +592,11 @@ void cmdFuncGLES2CreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); device->stateCache()->glElementArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDIRECT)) { gpuBuffer->glTarget = GL_NONE; - } else if ((gpuBuffer->usage & BufferUsageBit::UNIFORM) || - (gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || - (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { + } else if ((hasFlag(gpuBuffer->usage, BufferUsageBit::UNIFORM)) || + (hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_DST)) || + (hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_SRC))) { gpuBuffer->buffer = static_cast(CC_MALLOC(gpuBuffer->size)); gpuBuffer->glTarget = GL_NONE; } else { @@ -608,7 +608,7 @@ void cmdFuncGLES2CreateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { void cmdFuncGLES2DestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->glBuffer) { - if (gpuBuffer->usage & BufferUsageBit::VERTEX) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::VERTEX)) { if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); @@ -620,7 +620,7 @@ void cmdFuncGLES2DestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); device->stateCache()->glArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDEX) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDEX)) { if (device->useVAO()) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArrayOES(0)); @@ -641,9 +641,9 @@ void cmdFuncGLES2DestroyBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { void cmdFuncGLES2ResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); + GLenum glUsage = (hasFlag(gpuBuffer->memUsage, MemoryUsageBit::HOST) ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); - if (gpuBuffer->usage & BufferUsageBit::VERTEX) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::VERTEX)) { gpuBuffer->glTarget = GL_ARRAY_BUFFER; if (gpuBuffer->size) { if (device->useVAO()) { @@ -662,7 +662,7 @@ void cmdFuncGLES2ResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); device->stateCache()->glArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDEX) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDEX)) { gpuBuffer->glTarget = GL_ELEMENT_ARRAY_BUFFER; if (gpuBuffer->size) { if (device->useVAO()) { @@ -681,12 +681,12 @@ void cmdFuncGLES2ResizeBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); device->stateCache()->glElementArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDIRECT)) { gpuBuffer->indirects.resize(gpuBuffer->count); gpuBuffer->glTarget = GL_NONE; - } else if ((gpuBuffer->usage & BufferUsageBit::UNIFORM) || - (gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || - (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { + } else if ((hasFlag(gpuBuffer->usage, BufferUsageBit::UNIFORM)) || + (hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_DST)) || + (hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_SRC))) { if (gpuBuffer->buffer) { CC_FREE(gpuBuffer->buffer); } @@ -1024,7 +1024,7 @@ void cmdFuncGLES2CreateShader(GLES2Device *device, GLES2GPUShader *gpuShader) { GLES2GPUUniform &gpuUniform = gpuBlock.glUniforms[j]; Uniform & uniform = block.members[j]; - gpuUniform.binding = GFX_INVALID_BINDING; + gpuUniform.binding = INVALID_BINDING; gpuUniform.name = uniform.name; gpuUniform.type = uniform.type; gpuUniform.stride = GFX_TYPE_SIZES[static_cast(uniform.type)]; @@ -1269,7 +1269,7 @@ void cmdFuncGLES2CreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpu device->stateCache()->glFramebuffer = gpuFBO->glFramebuffer; } - GLenum attachments[GFX_MAX_ATTACHMENTS] = {0}; + GLenum attachments[MAX_ATTACHMENTS] = {0}; uint attachmentCount = 0; for (size_t i = 0; i < gpuFBO->gpuColorTextures.size(); ++i) { @@ -1293,6 +1293,10 @@ void cmdFuncGLES2CreateFramebuffer(GLES2Device *device, GLES2GPUFramebuffer *gpu } } + if (device->hasFeature(Feature::MULTIPLE_RENDER_TARGETS)) { + GL_CHECK(glDrawBuffersEXT(attachmentCount, attachments)); + } + GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER); if (status != GL_FRAMEBUFFER_COMPLETE) { switch (status) { @@ -1390,6 +1394,11 @@ void cmdFuncGLES2BeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen switch (colorAttachment.loadOp) { case LoadOp::LOAD: break; // GL default behaviour case LoadOp::CLEAR: { + // `glClearColor` clears all the attachments to the same value + // here we fallback to the load op of the first attachment + // to avoid clearing multiple times + if (j) break; + if (cache->bs.targets[0].blendColorMask != ColorMask::ALL) { GL_CHECK(glColorMask(true, true, true, true)); } @@ -1930,7 +1939,7 @@ void cmdFuncGLES2BindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli glWrapT = gpuDescriptor->gpuSampler->glWrapT; if (gpuDescriptor->gpuTexture->mipLevel <= 1 && - !(gpuDescriptor->gpuTexture->flags & TextureFlagBit::GEN_MIPMAP) && + !hasFlag(gpuDescriptor->gpuTexture->flags, TextureFlagBit::GEN_MIPMAP) && (gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_NEAREST || gpuDescriptor->gpuSampler->glMinFilter == GL_LINEAR_MIPMAP_LINEAR)) { glMinFilter = GL_LINEAR; @@ -2317,10 +2326,10 @@ void cmdFuncGLES2Draw(GLES2Device *device, const DrawInfo &drawInfo) { void cmdFuncGLES2UpdateBuffer(GLES2Device *device, GLES2GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { GLES2ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; CCASSERT(buffer, "Buffer should not be nullptr"); - if ((gpuBuffer->usage & BufferUsageBit::UNIFORM) || - (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { + if ((hasFlag(gpuBuffer->usage, BufferUsageBit::UNIFORM)) || + (hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_SRC))) { memcpy(gpuBuffer->buffer + offset, buffer, size); - } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDIRECT)) { memcpy(reinterpret_cast(gpuBuffer->indirects.data()) + offset, buffer, size); } else { switch (gpuBuffer->glTarget) { @@ -2515,7 +2524,7 @@ void cmdFuncGLES2CopyBuffersToTexture(GLES2Device *device, const uint8_t *const break; } - if (!isCompressed && (gpuTexture->flags & TextureFlagBit::GEN_MIPMAP)) { + if (!isCompressed && hasFlag(gpuTexture->flags, TextureFlagBit::GEN_MIPMAP)) { GL_CHECK(glBindTexture(gpuTexture->glTarget, gpuTexture->glTexture)); GL_CHECK(glGenerateMipmap(gpuTexture->glTarget)); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.h b/native/cocos/renderer/gfx-gles2/GLES2Commands.h index b3531e35ca..ac4df60bb7 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.h +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.h @@ -79,7 +79,7 @@ public: GLES2GPUFramebuffer *gpuFBO = nullptr; Rect renderArea; size_t numClearColors = 0; - Color clearColors[GFX_MAX_ATTACHMENTS]; + Color clearColors[MAX_ATTACHMENTS]; float clearDepth = 1.0F; int clearStencil = 0; diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp index a56191d3a9..dd4de4fd00 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSet.cpp @@ -35,15 +35,13 @@ namespace cc { namespace gfx { -GLES2DescriptorSet::GLES2DescriptorSet() -: DescriptorSet() { -} +GLES2DescriptorSet::GLES2DescriptorSet() = default; GLES2DescriptorSet::~GLES2DescriptorSet() { destroy(); } -void GLES2DescriptorSet::doInit(const DescriptorSetInfo &info) { +void GLES2DescriptorSet::doInit(const DescriptorSetInfo & /*info*/) { const GLES2GPUDescriptorSetLayout *gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; const size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); @@ -54,7 +52,7 @@ void GLES2DescriptorSet::doInit(const DescriptorSetInfo &info) { _gpuDescriptorSet = CC_NEW(GLES2GPUDescriptorSet); _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount); - for (size_t i = 0u, k = 0u; i < bindingCount; i++) { + for (size_t i = 0U, k = 0U; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; for (uint j = 0; j < binding.count; j++, k++) { _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; @@ -75,8 +73,8 @@ void GLES2DescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { const GLES2GPUDescriptorList &descriptors = _gpuDescriptorSet->gpuDescriptors; for (size_t i = 0; i < descriptors.size(); i++) { - if (descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { - GLES2Buffer *buffer = (GLES2Buffer *)_buffers[i]; + if (hasAnyFlags(descriptors[i].type, DESCRIPTOR_BUFFER_TYPE)) { + auto *buffer = static_cast(_buffers[i]); if (buffer) { if (buffer->gpuBuffer()) { _gpuDescriptorSet->gpuDescriptors[i].gpuBuffer = buffer->gpuBuffer(); @@ -84,7 +82,7 @@ void GLES2DescriptorSet::update() { _gpuDescriptorSet->gpuDescriptors[i].gpuBufferView = buffer->gpuBufferView(); } } - } else if (descriptors[i].type & DESCRIPTOR_TEXTURE_TYPE) { + } else if (hasAnyFlags(descriptors[i].type, DESCRIPTOR_TEXTURE_TYPE)) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = static_cast(_textures[i])->gpuTexture(); } diff --git a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp index ecc8ae705f..5c1157a1ed 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2DescriptorSetLayout.cpp @@ -31,25 +31,22 @@ namespace cc { namespace gfx { -GLES2DescriptorSetLayout::GLES2DescriptorSetLayout() -: DescriptorSetLayout() { -} +GLES2DescriptorSetLayout::GLES2DescriptorSetLayout() = default; GLES2DescriptorSetLayout::~GLES2DescriptorSetLayout() { destroy(); } -void GLES2DescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { +void GLES2DescriptorSetLayout::doInit(const DescriptorSetLayoutInfo& /*info*/) { _gpuDescriptorSetLayout = CC_NEW(GLES2GPUDescriptorSetLayout); _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; _gpuDescriptorSetLayout->bindingIndices = _bindingIndices; _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; _gpuDescriptorSetLayout->bindings = _bindings; - for (uint i = 0u; i < _bindings.size(); i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { - for (uint j = 0u; j < binding.count; j++) { + for (auto& binding : _bindings) { + if (hasAnyFlags(binding.descriptorType, DESCRIPTOR_DYNAMIC_TYPE)) { + for (uint j = 0U; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } } diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index 7c9716e68f..c79e34b9bb 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -111,7 +111,7 @@ struct GLES2GPUInput final { using GLES2GPUInputList = vector; struct GLES2GPUUniform final { - uint binding = GFX_INVALID_BINDING; + uint binding = INVALID_BINDING; String name; Type type = Type::UNKNOWN; uint stride = 0; @@ -302,7 +302,7 @@ struct GLES2ObjectCache final { GLES2GPUInputAssembler *gpuInputAssembler = nullptr; bool reverseCW = false; GLenum glPrimitive = 0; - GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; + GLenum invalidAttachments[MAX_ATTACHMENTS]; }; class GLES2GPUStateCache final : public Object { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp index 9ee6203cc2..221dae928b 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.cpp @@ -46,7 +46,7 @@ void GLES3Buffer::doInit(const BufferInfo & /*info*/) { _gpuBuffer->stride = _stride; _gpuBuffer->count = _count; - if (_usage & BufferUsageBit::INDIRECT) { + if (hasFlag(_usage, BufferUsageBit::INDIRECT)) { _gpuBuffer->indirects.resize(_count); } @@ -84,7 +84,7 @@ void GLES3Buffer::doResize(uint size, uint count) { cmdFuncGLES3ResizeBuffer(GLES3Device::getInstance(), _gpuBuffer); } -void GLES3Buffer::update(void *buffer, uint size) { +void GLES3Buffer::update(const void *buffer, uint size) { cmdFuncGLES3UpdateBuffer(GLES3Device::getInstance(), _gpuBuffer, buffer, 0U, size); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h index a4176ed58c..112df80941 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Buffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Buffer.h @@ -25,6 +25,7 @@ #pragma once +#include "GLES3Std.h" #include "gfx-base/GFXBuffer.h" namespace cc { @@ -35,9 +36,9 @@ class GLES3GPUBuffer; class CC_GLES3_API GLES3Buffer final : public Buffer { public: GLES3Buffer(); - ~GLES3Buffer(); + ~GLES3Buffer() override; - void update(void *buffer, uint size) override; + void update(const void *buffer, uint size) override; CC_INLINE GLES3GPUBuffer *gpuBuffer() const { return _gpuBuffer; } diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp index 32e0c9dcaa..9dd64d2aa6 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.cpp @@ -242,6 +242,9 @@ void GLES3CommandBuffer::setStencilCompareMask(StencilFace face, int ref, uint m } } +void GLES3CommandBuffer::nextSubpass() { +} + void GLES3CommandBuffer::draw(const DrawInfo &info) { if (_isStateInvalid) { bindStates(); diff --git a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h index b1d3fb2cb8..435719c593 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h +++ b/native/cocos/renderer/gfx-gles3/GLES3CommandBuffer.h @@ -54,6 +54,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void nextSubpass() override; void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index 8e20c8fe2e..d1db6a1bfc 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -616,10 +616,10 @@ const GLenum GL_MEMORY_ACCESS[] = { } // namespace void cmdFuncGLES3CreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { - GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); + GLenum glUsage = hasFlag(gpuBuffer->memUsage, MemoryUsageBit::HOST) ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW; GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - if (gpuBuffer->usage & BufferUsageBit::VERTEX) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::VERTEX)) { gpuBuffer->glTarget = GL_ARRAY_BUFFER; GL_CHECK(glGenBuffers(1, &gpuBuffer->glBuffer)); if (gpuBuffer->size) { @@ -639,7 +639,7 @@ void cmdFuncGLES3CreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); device->stateCache()->glArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDEX) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDEX)) { gpuBuffer->glTarget = GL_ELEMENT_ARRAY_BUFFER; GL_CHECK(glGenBuffers(1, &gpuBuffer->glBuffer)); if (gpuBuffer->size) { @@ -659,7 +659,7 @@ void cmdFuncGLES3CreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); device->stateCache()->glElementArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::UNIFORM)) { gpuBuffer->glTarget = GL_UNIFORM_BUFFER; GL_CHECK(glGenBuffers(1, &gpuBuffer->glBuffer)); if (gpuBuffer->size) { @@ -671,7 +671,7 @@ void cmdFuncGLES3CreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_UNIFORM_BUFFER, 0)); device->stateCache()->glUniformBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::STORAGE) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::STORAGE)) { gpuBuffer->glTarget = GL_SHADER_STORAGE_BUFFER; GL_CHECK(glGenBuffers(1, &gpuBuffer->glBuffer)); if (gpuBuffer->size) { @@ -683,10 +683,10 @@ void cmdFuncGLES3CreateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0)); device->stateCache()->glShaderStorageBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDIRECT)) { gpuBuffer->glTarget = GL_NONE; - } else if ((gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || - (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { + } else if ((hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_DST)) || + (hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_SRC))) { gpuBuffer->buffer = static_cast(CC_MALLOC(gpuBuffer->size)); gpuBuffer->glTarget = GL_NONE; } else { @@ -699,7 +699,7 @@ void cmdFuncGLES3DestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; if (gpuBuffer->glBuffer) { - if (gpuBuffer->usage & BufferUsageBit::VERTEX) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::VERTEX)) { if (USE_VAO) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); @@ -711,7 +711,7 @@ void cmdFuncGLES3DestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); device->stateCache()->glArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDEX) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDEX)) { if (USE_VAO) { if (device->stateCache()->glVAO) { GL_CHECK(glBindVertexArray(0)); @@ -723,7 +723,7 @@ void cmdFuncGLES3DestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); device->stateCache()->glElementArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::UNIFORM)) { vector &ubo = device->stateCache()->glBindUBOs; for (GLuint i = 0; i < ubo.size(); i++) { if (ubo[i] == gpuBuffer->glBuffer) { @@ -737,7 +737,7 @@ void cmdFuncGLES3DestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { device->stateCache()->glUniformBuffer = 0; } } - if (gpuBuffer->usage & BufferUsageBit::STORAGE) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::STORAGE)) { vector &ssbo = device->stateCache()->glBindSSBOs; for (GLuint i = 0; i < ssbo.size(); i++) { if (ssbo[i] == gpuBuffer->glBuffer) { @@ -760,9 +760,9 @@ void cmdFuncGLES3DestroyBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { void cmdFuncGLES3ResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - GLenum glUsage = (gpuBuffer->memUsage & MemoryUsageBit::HOST ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); + GLenum glUsage = (hasFlag(gpuBuffer->memUsage, MemoryUsageBit::HOST) ? GL_DYNAMIC_DRAW : GL_STATIC_DRAW); - if (gpuBuffer->usage & BufferUsageBit::VERTEX) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::VERTEX)) { gpuBuffer->glTarget = GL_ARRAY_BUFFER; if (gpuBuffer->size) { if (USE_VAO) { @@ -781,7 +781,7 @@ void cmdFuncGLES3ResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ARRAY_BUFFER, 0)); device->stateCache()->glArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDEX) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDEX)) { gpuBuffer->glTarget = GL_ELEMENT_ARRAY_BUFFER; if (gpuBuffer->size) { if (USE_VAO) { @@ -800,7 +800,7 @@ void cmdFuncGLES3ResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)); device->stateCache()->glElementArrayBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::UNIFORM) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::UNIFORM)) { gpuBuffer->glTarget = GL_UNIFORM_BUFFER; if (gpuBuffer->size) { if (device->stateCache()->glUniformBuffer != gpuBuffer->glBuffer) { @@ -811,11 +811,11 @@ void cmdFuncGLES3ResizeBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer) { GL_CHECK(glBindBuffer(GL_UNIFORM_BUFFER, 0)); device->stateCache()->glUniformBuffer = 0; } - } else if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDIRECT)) { gpuBuffer->indirects.resize(gpuBuffer->count); gpuBuffer->glTarget = GL_NONE; - } else if ((gpuBuffer->usage & BufferUsageBit::TRANSFER_DST) || - (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC)) { + } else if ((hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_DST)) || + (hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_SRC))) { if (gpuBuffer->buffer) { CC_FREE(gpuBuffer->buffer); } @@ -844,7 +844,7 @@ void cmdFuncGLES3CreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } uint w = gpuTexture->width; uint h = gpuTexture->height; - if (gpuTexture->flags & TextureFlagBit::IMMUTABLE) { + if (hasFlag(gpuTexture->flags, TextureFlagBit::IMMUTABLE)) { GL_CHECK(glTexStorage2D(GL_TEXTURE_2D, gpuTexture->mipLevel, gpuTexture->glInternelFmt, w, h)); } else { if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { @@ -876,7 +876,7 @@ void cmdFuncGLES3CreateTexture(GLES3Device *device, GLES3GPUTexture *gpuTexture) } uint w = gpuTexture->width; uint h = gpuTexture->height; - if (gpuTexture->flags & TextureFlagBit::IMMUTABLE) { + if (hasFlag(gpuTexture->flags, TextureFlagBit::IMMUTABLE)) { GL_CHECK(glTexStorage2D(GL_TEXTURE_CUBE_MAP, gpuTexture->mipLevel, gpuTexture->glInternelFmt, w, h)); } else { if (!GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].isCompressed) { @@ -1190,8 +1190,8 @@ void cmdFuncGLES3CreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } glBlock.name = glName; - glBlock.set = GFX_INVALID_BINDING; - glBlock.binding = GFX_INVALID_BINDING; + glBlock.set = INVALID_BINDING; + glBlock.binding = INVALID_BINDING; for (size_t b = 0; b < gpuShader->blocks.size(); ++b) { UniformBlock &block = gpuShader->blocks[b]; if (block.name == glBlock.name) { @@ -1215,8 +1215,8 @@ void cmdFuncGLES3CreateShader(GLES3Device *device, GLES3GPUShader *gpuShader) { } glBuffer.name = glName; - glBuffer.set = GFX_INVALID_BINDING; - glBuffer.binding = GFX_INVALID_BINDING; + glBuffer.set = INVALID_BINDING; + glBuffer.binding = INVALID_BINDING; glBuffer.isStorage = true; for (size_t b = 0; b < gpuShader->blocks.size(); ++b) { UniformStorageBuffer &buffer = gpuShader->buffers[b]; @@ -1442,7 +1442,7 @@ void cmdFuncGLES3CreateFramebuffer(GLES3Device *device, GLES3GPUFramebuffer *gpu device->stateCache()->glDrawFramebuffer = gpuFBO->glFramebuffer; } - GLenum attachments[GFX_MAX_ATTACHMENTS] = {0}; + GLenum attachments[MAX_ATTACHMENTS] = {0}; uint attachmentCount = 0; size_t colorMipmapLevelCount = gpuFBO->colorMipmapLevels.size(); @@ -1568,7 +1568,7 @@ void cmdFuncGLES3BeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen } if (hasBoundFBO) { - static float fColors[4]; + static float fColors[4]{}; fColors[0] = clearColors[j].x; fColors[1] = clearColors[j].y; fColors[2] = clearColors[j].z; @@ -2348,9 +2348,9 @@ void cmdFuncGLES3MemoryBarrier(GLES3Device * /*device*/, GLbitfield barriers, GL void cmdFuncGLES3UpdateBuffer(GLES3Device *device, GLES3GPUBuffer *gpuBuffer, const void *buffer, uint offset, uint size) { GLES3ObjectCache &gfxStateCache = device->stateCache()->gfxStateCache; - if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDIRECT)) { memcpy(reinterpret_cast(gpuBuffer->indirects.data()) + offset, buffer, size); - } else if (gpuBuffer->usage & BufferUsageBit::TRANSFER_SRC) { + } else if (hasFlag(gpuBuffer->usage, BufferUsageBit::TRANSFER_SRC)) { memcpy(gpuBuffer->buffer + offset, buffer, size); } else { switch (gpuBuffer->glTarget) { @@ -2559,7 +2559,7 @@ void cmdFuncGLES3CopyBuffersToTexture(GLES3Device *device, const uint8_t *const break; } - if (!isCompressed && gpuTexture->flags & TextureFlagBit::GEN_MIPMAP) { + if (!isCompressed && hasFlag(gpuTexture->flags, TextureFlagBit::GEN_MIPMAP)) { GL_CHECK(glBindTexture(gpuTexture->glTarget, gpuTexture->glTexture)); GL_CHECK(glGenerateMipmap(gpuTexture->glTarget)); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.h b/native/cocos/renderer/gfx-gles3/GLES3Commands.h index 1013a6fb45..24f99d9dea 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.h +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.h @@ -77,7 +77,7 @@ public: GLES3GPUFramebuffer *gpuFBO = nullptr; Rect renderArea; size_t numClearColors = 0; - Color clearColors[GFX_MAX_ATTACHMENTS]; + Color clearColors[MAX_ATTACHMENTS]; float clearDepth = 1.0F; int clearStencil = 0; diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp index 0e301d713a..e9f1b8a825 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSet.cpp @@ -35,22 +35,20 @@ namespace cc { namespace gfx { -GLES3DescriptorSet::GLES3DescriptorSet() -: DescriptorSet() { -} +GLES3DescriptorSet::GLES3DescriptorSet() = default; GLES3DescriptorSet::~GLES3DescriptorSet() { destroy(); } -void GLES3DescriptorSet::doInit(const DescriptorSetInfo &info) { +void GLES3DescriptorSet::doInit(const DescriptorSetInfo & /*info*/) { const GLES3GPUDescriptorSetLayout *gpuDescriptorSetLayout = static_cast(_layout)->gpuDescriptorSetLayout(); const size_t descriptorCount = gpuDescriptorSetLayout->descriptorCount; const size_t bindingCount = gpuDescriptorSetLayout->bindings.size(); _gpuDescriptorSet = CC_NEW(GLES3GPUDescriptorSet); _gpuDescriptorSet->gpuDescriptors.resize(descriptorCount); - for (size_t i = 0u, k = 0u; i < bindingCount; i++) { + for (size_t i = 0U, k = 0U; i < bindingCount; i++) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; for (uint j = 0; j < binding.count; j++, k++) { _gpuDescriptorSet->gpuDescriptors[k].type = binding.descriptorType; @@ -71,11 +69,11 @@ void GLES3DescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { const GLES3GPUDescriptorList &descriptors = _gpuDescriptorSet->gpuDescriptors; for (size_t i = 0; i < descriptors.size(); i++) { - if (descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { + if (hasAnyFlags(descriptors[i].type, DESCRIPTOR_BUFFER_TYPE)) { if (_buffers[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuBuffer = static_cast(_buffers[i])->gpuBuffer(); } - } else if (descriptors[i].type & DESCRIPTOR_TEXTURE_TYPE) { + } else if (hasAnyFlags(descriptors[i].type, DESCRIPTOR_TEXTURE_TYPE)) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].gpuTexture = static_cast(_textures[i])->gpuTexture(); } diff --git a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp index 4694762ad4..78f67b410a 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3DescriptorSetLayout.cpp @@ -31,25 +31,22 @@ namespace cc { namespace gfx { -GLES3DescriptorSetLayout::GLES3DescriptorSetLayout() -: DescriptorSetLayout() { -} +GLES3DescriptorSetLayout::GLES3DescriptorSetLayout() = default; GLES3DescriptorSetLayout::~GLES3DescriptorSetLayout() { destroy(); } -void GLES3DescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { +void GLES3DescriptorSetLayout::doInit(const DescriptorSetLayoutInfo& /*info*/) { _gpuDescriptorSetLayout = CC_NEW(GLES3GPUDescriptorSetLayout); _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; _gpuDescriptorSetLayout->bindingIndices = _bindingIndices; _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; _gpuDescriptorSetLayout->bindings = _bindings; - for (uint i = 0u; i < _bindings.size(); i++) { - const DescriptorSetLayoutBinding &binding = _bindings[i]; - if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { - for (uint j = 0u; j < binding.count; j++) { + for (auto& binding : _bindings) { + if (hasAnyFlags(binding.descriptorType, DESCRIPTOR_DYNAMIC_TYPE)) { + for (uint j = 0U; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } } diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 169a6c19e8..7aa74d4512 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -107,7 +107,7 @@ struct GLES3GPUInput final { using GLES3GPUInputList = vector; struct GLES3GPUUniform final { - uint binding = GFX_INVALID_BINDING; + uint binding = INVALID_BINDING; String name; Type type = Type::UNKNOWN; uint stride = 0; @@ -120,8 +120,8 @@ struct GLES3GPUUniform final { using GLES3GPUUniformList = vector; struct GLES3GPUUniformBuffer final { - uint set = GFX_INVALID_BINDING; - uint binding = GFX_INVALID_BINDING; + uint set = INVALID_BINDING; + uint binding = INVALID_BINDING; String name; uint size = 0; uint glBinding = 0xffffffff; @@ -299,7 +299,7 @@ struct GLES3ObjectCache final { GLES3GPUInputAssembler *gpuInputAssembler = nullptr; uint reverseCW = 0U; GLenum glPrimitive = 0; - GLenum invalidAttachments[GFX_MAX_ATTACHMENTS]; + GLenum invalidAttachments[MAX_ATTACHMENTS]; }; class GLES3GPUStateCache final : public Object { diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.h b/native/cocos/renderer/gfx-metal/MTLBuffer.h index 57479e539a..da3c18cf60 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.h @@ -46,7 +46,7 @@ public: CCMTLBuffer &operator=(const CCMTLBuffer &) = default; CCMTLBuffer &operator=(CCMTLBuffer &&) = delete; - void update(void *buffer, uint offset) override; + void update(const void *buffer, uint offset) override; void encodeBuffer(CCMTLCommandEncoder &encoder, uint offset, uint binding, ShaderStageFlags stages); @@ -62,7 +62,7 @@ protected: void doResize(uint size, uint count) override; bool createMTLBuffer(uint size, MemoryUsage usage); - void updateMTLBuffer(void *buffer, uint offset, uint size); + void updateMTLBuffer(const void *buffer, uint offset, uint size); id _mtlBuffer = nullptr; MTLIndexType _indexType = MTLIndexTypeUInt16; diff --git a/native/cocos/renderer/gfx-metal/MTLBuffer.mm b/native/cocos/renderer/gfx-metal/MTLBuffer.mm index aecfb1bc9d..b349b51483 100644 --- a/native/cocos/renderer/gfx-metal/MTLBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLBuffer.mm @@ -42,7 +42,7 @@ CCMTLBuffer::CCMTLBuffer() : Buffer() { void CCMTLBuffer::doInit(const BufferInfo &info) { _isIndirectDrawSupported = CCMTLDevice::getInstance()->isIndirectDrawSupported(); - if (_usage & BufferUsage::INDEX) { + if (hasFlag(_usage, BufferUsage::INDEX)) { switch (_stride) { case 4: _indexType = MTLIndexTypeUInt32; break; case 2: _indexType = MTLIndexTypeUInt16; break; @@ -52,11 +52,11 @@ void CCMTLBuffer::doInit(const BufferInfo &info) { } } - if (_usage & BufferUsageBit::VERTEX || - _usage & BufferUsageBit::UNIFORM || - _usage & BufferUsageBit::INDEX) { + if (hasFlag(_usage, BufferUsageBit::VERTEX) || + hasFlag(_usage, BufferUsageBit::UNIFORM) || + hasFlag(_usage, BufferUsageBit::INDEX)) { createMTLBuffer(_size, _memUsage); - } else if (_usage & BufferUsageBit::INDIRECT) { + } else if (hasFlag(_usage, BufferUsageBit::INDIRECT)) { if (_isIndirectDrawSupported) { createMTLBuffer(_size, _memUsage); _primitiveIndirectArguments.resize(_count); @@ -129,15 +129,15 @@ void CCMTLBuffer::doDestroy() { } void CCMTLBuffer::doResize(uint size, uint count) { - if (_usage & BufferUsageBit::VERTEX || - _usage & BufferUsageBit::INDEX || - _usage & BufferUsageBit::UNIFORM) { + if (hasFlag(_usage, BufferUsageBit::VERTEX) || + hasFlag(_usage, BufferUsageBit::INDEX) || + hasFlag(_usage, BufferUsageBit::UNIFORM)) { createMTLBuffer(size, _memUsage); } _size = size; _count = count; - if (_usage & BufferUsageBit::INDIRECT) { + if (hasFlag(_usage, BufferUsageBit::INDIRECT)) { if (_isIndirectDrawSupported) { createMTLBuffer(size, _memUsage); _primitiveIndirectArguments.resize(_count); @@ -148,7 +148,7 @@ void CCMTLBuffer::doResize(uint size, uint count) { } } -void CCMTLBuffer::update(void *buffer, uint size) { +void CCMTLBuffer::update(const void *buffer, uint size) { if (_isBufferView) { CC_LOG_WARNING("Cannot update a buffer view."); return; @@ -164,7 +164,7 @@ void CCMTLBuffer::update(void *buffer, uint size) { } } - if (_usage & BufferUsageBit::INDIRECT) { + if (hasFlag(_usage, BufferUsageBit::INDIRECT)) { if (_isIndirectDrawSupported) { if (drawInfoCount > 0) { if (_isDrawIndirectByIndex) { @@ -202,7 +202,7 @@ void CCMTLBuffer::update(void *buffer, uint size) { } } -void CCMTLBuffer::updateMTLBuffer(void *buffer, uint /*offset*/, uint size) { +void CCMTLBuffer::updateMTLBuffer(const void *buffer, uint /*offset*/, uint size) { if (_mtlBuffer) { CommandBuffer *cmdBuffer = CCMTLDevice::getInstance()->getCommandBuffer(); cmdBuffer->begin(); @@ -220,17 +220,17 @@ void CCMTLBuffer::encodeBuffer(CCMTLCommandEncoder &encoder, uint offset, uint b offset += _bufferViewOffset; } - if (stages & ShaderStageFlagBit::VERTEX) { + if (hasFlag(stages, ShaderStageFlagBit::VERTEX)) { CCMTLRenderCommandEncoder* renderEncoder = static_cast(&encoder); renderEncoder->setVertexBuffer(_mtlBuffer, offset, binding); } - if (stages & ShaderStageFlagBit::FRAGMENT) { + if (hasFlag(stages, ShaderStageFlagBit::FRAGMENT)) { CCMTLRenderCommandEncoder* renderEncoder = static_cast(&encoder); renderEncoder->setFragmentBuffer(_mtlBuffer, offset, binding); } - - if(stages & ShaderStageFlagBit::COMPUTE) { + + if(hasFlag(stages, ShaderStageFlagBit::COMPUTE)) { CCMTLComputeCommandEncoder* computeEncoder = static_cast(&encoder); computeEncoder->setBuffer(_mtlBuffer, offset, binding); } diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h index 15280a0729..e79cf855a4 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.h @@ -66,6 +66,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void nextSubpass() override; void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; diff --git a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm index acb02bdb50..612650e8d5 100644 --- a/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm +++ b/native/cocos/renderer/gfx-metal/MTLCommandBuffer.mm @@ -262,6 +262,9 @@ void CCMTLCommandBuffer::setStencilCompareMask(StencilFace /*face*/, int /*ref*/ CC_LOG_ERROR("Don't support change stencil compare mask here."); } +void CCMTLCommandBuffer::nextSubpass() { +} + void CCMTLCommandBuffer::draw(const DrawInfo &info) { if (_firstDirtyDescriptorSet < _GPUDescriptorSets.size()) { bindDescriptorSets(); @@ -447,7 +450,7 @@ void CCMTLCommandBuffer::copyBuffersToTexture(const uint8_t *const *buffers, Tex CC_FREE(convertedData); } } - if (texture->getFlags() & TextureFlags::GEN_MIPMAP && mu::pixelFormatIsColorRenderable(convertedFormat)) { + if (hasFlag(texture->getFlags(), TextureFlags::GEN_MIPMAP) && mu::pixelFormatIsColorRenderable(convertedFormat)) { [encoder generateMipmapsForTexture:dstTexture]; } [encoder endEncoding]; @@ -515,17 +518,17 @@ void CCMTLCommandBuffer::bindDescriptorSets() { continue; } - if (sampler.stages & ShaderStageFlagBit::VERTEX) { + if (hasFlag(sampler.stages, ShaderStageFlagBit::VERTEX)) { _renderEncoder.setVertexTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); _renderEncoder.setVertexSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); } - if (sampler.stages & ShaderStageFlagBit::FRAGMENT) { + if (hasFlag(sampler.stages, ShaderStageFlagBit::FRAGMENT)) { _renderEncoder.setFragmentTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); _renderEncoder.setFragmentSampler(gpuDescriptor.sampler->getMTLSamplerState(), sampler.samplerBinding); } - if(sampler.stages & ShaderStageFlagBit::COMPUTE) { + if(hasFlag(sampler.stages, ShaderStageFlagBit::COMPUTE)) { _computeEncoder.setTexture(gpuDescriptor.texture->getMTLTexture(), sampler.textureBinding); } } diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm index 130688fdaf..6f3c021074 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSet.mm @@ -61,11 +61,11 @@ void CCMTLDescriptorSet::update() { if (_isDirty && _gpuDescriptorSet) { const auto &descriptors = _gpuDescriptorSet->gpuDescriptors; for (size_t i = 0; i < descriptors.size(); i++) { - if (descriptors[i].type & DESCRIPTOR_BUFFER_TYPE) { + if (hasAnyFlags(descriptors[i].type, DESCRIPTOR_BUFFER_TYPE)) { if (_buffers[i]) { _gpuDescriptorSet->gpuDescriptors[i].buffer = static_cast(_buffers[i]); } - } else if (descriptors[i].type & DESCRIPTOR_TEXTURE_TYPE) { + } else if (hasAnyFlags(descriptors[i].type, DESCRIPTOR_TEXTURE_TYPE)) { if (_textures[i]) { _gpuDescriptorSet->gpuDescriptors[i].texture = static_cast(_textures[i]); } diff --git a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm index 7f82b9258c..db255d5520 100644 --- a/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm +++ b/native/cocos/renderer/gfx-metal/MTLDescriptorSetLayout.mm @@ -43,7 +43,7 @@ void CCMTLDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo &info) { for (size_t i = 0; i < _bindings.size(); i++) { const auto binding = _bindings[i]; - if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { + if (hasAnyFlags(binding.descriptorType, DESCRIPTOR_DYNAMIC_TYPE)) { for (uint j = 0; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } diff --git a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h index 4d8a37c9ea..b1d2727358 100644 --- a/native/cocos/renderer/gfx-metal/MTLGPUObjects.h +++ b/native/cocos/renderer/gfx-metal/MTLGPUObjects.h @@ -58,9 +58,9 @@ public: struct CCMTLGPUUniformBlock { String name; - uint set = GFX_INVALID_BINDING; - uint binding = GFX_INVALID_BINDING; - uint mappedBinding = GFX_INVALID_BINDING; + uint set = INVALID_BINDING; + uint binding = INVALID_BINDING; + uint mappedBinding = INVALID_BINDING; ShaderStageFlags stages = ShaderStageFlagBit::NONE; size_t size = 0; uint count = 0; @@ -68,10 +68,10 @@ struct CCMTLGPUUniformBlock { struct CCMTLGPUSamplerBlock { String name; - uint set = GFX_INVALID_BINDING; - uint binding = GFX_INVALID_BINDING; - uint textureBinding = GFX_INVALID_BINDING; - uint samplerBinding = GFX_INVALID_BINDING; + uint set = INVALID_BINDING; + uint binding = INVALID_BINDING; + uint textureBinding = INVALID_BINDING; + uint samplerBinding = INVALID_BINDING; ShaderStageFlags stages = ShaderStageFlagBit::NONE; Type type = Type::UNKNOWN; uint count = 0; diff --git a/native/cocos/renderer/gfx-metal/MTLShader.mm b/native/cocos/renderer/gfx-metal/MTLShader.mm index b60250a524..ed6d62235c 100644 --- a/native/cocos/renderer/gfx-metal/MTLShader.mm +++ b/native/cocos/renderer/gfx-metal/MTLShader.mm @@ -151,11 +151,11 @@ bool CCMTLShader::createMTLFunction(const ShaderStage &stage) { } uint CCMTLShader::getAvailableBufferBindingIndex(ShaderStageFlagBit stage, uint stream) { - if (stage & ShaderStageFlagBit::VERTEX) { + if (hasFlag(stage, ShaderStageFlagBit::VERTEX)) { return _availableVertexBufferBindingIndex.at(stream); } - if (stage & ShaderStageFlagBit::FRAGMENT) { + if (hasFlag(stage, ShaderStageFlagBit::FRAGMENT)) { return _availableFragmentBufferBindingIndex.at(stream); } @@ -169,11 +169,11 @@ void CCMTLShader::setAvailableBufferBindingIndex() { uint vertexBindingCount = 0; uint fragmentBindingCount = 0; for (const auto &block : _gpuShader->blocks) { - if (block.second.stages & ShaderStageFlagBit::VERTEX) { + if (hasFlag(block.second.stages, ShaderStageFlagBit::VERTEX)) { vertexBindingCount++; usedVertexBufferBindingIndexes |= 1 << block.second.mappedBinding; } - if (block.second.stages & ShaderStageFlagBit::FRAGMENT) { + if (hasFlag(block.second.stages, ShaderStageFlagBit::FRAGMENT)) { fragmentBindingCount++; usedFragmentBufferBindingIndexes |= 1 << block.second.mappedBinding; } diff --git a/native/cocos/renderer/gfx-metal/MTLTexture.mm b/native/cocos/renderer/gfx-metal/MTLTexture.mm index 21fd1fb76d..b51afb0873 100644 --- a/native/cocos/renderer/gfx-metal/MTLTexture.mm +++ b/native/cocos/renderer/gfx-metal/MTLTexture.mm @@ -109,10 +109,9 @@ bool CCMTLTexture::createMTLTexture() { descriptor.sampleCount = mu::toMTLSampleCount(_samples); descriptor.mipmapLevelCount = _levelCount; descriptor.arrayLength = _type == TextureType::CUBE ? 1 : _layerCount; - if (_usage & TextureUsage::COLOR_ATTACHMENT || - _usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT || - _usage & TextureUsage::INPUT_ATTACHMENT || - _usage & TextureUsage::TRANSIENT_ATTACHMENT) { + if (hasFlag(_usage, TextureUsage::COLOR_ATTACHMENT) || + hasFlag(_usage, TextureUsage::DEPTH_STENCIL_ATTACHMENT) || + hasFlag(_usage, TextureUsage::INPUT_ATTACHMENT)) { descriptor.resourceOptions = MTLResourceStorageModePrivate; } diff --git a/native/cocos/renderer/gfx-metal/MTLUtils.mm b/native/cocos/renderer/gfx-metal/MTLUtils.mm index 8834cf3bfa..542bb3e24a 100644 --- a/native/cocos/renderer/gfx-metal/MTLUtils.mm +++ b/native/cocos/renderer/gfx-metal/MTLUtils.mm @@ -422,7 +422,7 @@ CCMTLGPUPipelineState *getClearRenderPassPipelineState(CCMTLDevice *device, Rend MTLResourceOptions mu::toMTLResourceOption(MemoryUsage usage) { if (usage & MemoryUsage::HOST && usage & MemoryUsage::DEVICE) return MTLResourceStorageModeShared; - else if (usage & MemoryUsage::DEVICE) + else if (hasFlag(usage, MemoryUsage::DEVICE)) return MTLResourceStorageModePrivate; else #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS) @@ -790,18 +790,17 @@ MTLTextureUsage mu::toMTLTextureUsage(TextureUsage usage) { return MTLTextureUsageUnknown; MTLTextureUsage ret = MTLTextureUsageUnknown; - if (usage & TextureUsage::TRANSFER_SRC) + if (hasFlag(usage, TextureUsage::TRANSFER_SRC)) ret |= MTLTextureUsageShaderRead | MTLTextureUsagePixelFormatView; - if (usage & TextureUsage::TRANSFER_DST) + if (hasFlag(usage, TextureUsage::TRANSFER_DST)) ret |= MTLTextureUsageShaderWrite; - if (usage & TextureUsage::SAMPLED) + if (hasFlag(usage, TextureUsage::SAMPLED)) ret |= MTLTextureUsageShaderRead; - if (usage & TextureUsage::STORAGE) + if (hasFlag(usage, TextureUsage::STORAGE)) ret |= MTLTextureUsageShaderWrite; - if (usage & TextureUsage::COLOR_ATTACHMENT || - usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT || - usage & TextureUsage::TRANSIENT_ATTACHMENT || - usage & TextureUsage::INPUT_ATTACHMENT) { + if (hasFlag(usage, TextureUsage::COLOR_ATTACHMENT) || + hasFlag(usage, TextureUsage::DEPTH_STENCIL_ATTACHMENT) || + hasFlag(usage, TextureUsage::INPUT_ATTACHMENT)) { ret |= MTLTextureUsageRenderTarget; } diff --git a/native/cocos/renderer/gfx-validator/BufferValidator.cpp b/native/cocos/renderer/gfx-validator/BufferValidator.cpp index 620b71e73e..055fd8aa8d 100644 --- a/native/cocos/renderer/gfx-validator/BufferValidator.cpp +++ b/native/cocos/renderer/gfx-validator/BufferValidator.cpp @@ -43,7 +43,7 @@ void BufferValidator::doInit(const BufferInfo &info) { CCASSERT(info.memUsage != MemoryUsageBit::NONE, "invalid source buffer"); // CCASSERT(info.size, "zero-sized buffer?"); // be more lenient on this for now - if (info.usage & BufferUsageBit::VERTEX && !info.stride) { + if (hasFlag(info.usage, BufferUsageBit::VERTEX) && !info.stride) { CCASSERT(false, "invalid stride for vertex buffer"); } @@ -64,7 +64,7 @@ void BufferValidator::doInit(const BufferViewInfo &info) { _actor->initialize(actorInfo); } -void BufferValidator::doResize(uint size, uint count) { +void BufferValidator::doResize(uint size, uint /*count*/) { CCASSERT(!_isBufferView, "cannot resize through buffer views"); CCASSERT(size, "invalid size"); @@ -77,16 +77,16 @@ void BufferValidator::doDestroy() { _actor->destroy(); } -void BufferValidator::update(void *buffer, uint size) { +void BufferValidator::update(const void *buffer, uint size) { CCASSERT(!_isBufferView, "cannot update through buffer views"); CCASSERT(size && size <= _size, "invalid size"); CCASSERT(buffer, "invalid buffer data"); - if (_usage & BufferUsageBit::INDIRECT) { - DrawInfo * drawInfo = static_cast(buffer); + if (hasFlag(_usage, BufferUsageBit::INDIRECT)) { + const auto * drawInfo = static_cast(buffer); const size_t drawInfoCount = size / sizeof(DrawInfo); const bool isIndexed = drawInfoCount > 0 && drawInfo->indexCount > 0; - for (size_t i = 1u; i < drawInfoCount; ++i) { + for (size_t i = 1U; i < drawInfoCount; ++i) { if ((++drawInfo)->indexCount > 0 != isIndexed) { CCASSERT(false, "inconsistent indirect draw infos on using index buffer"); } diff --git a/native/cocos/renderer/gfx-validator/BufferValidator.h b/native/cocos/renderer/gfx-validator/BufferValidator.h index 269ca6ff1e..84e0802bcd 100644 --- a/native/cocos/renderer/gfx-validator/BufferValidator.h +++ b/native/cocos/renderer/gfx-validator/BufferValidator.h @@ -36,7 +36,7 @@ public: using Agent::Agent; ~BufferValidator() override; - void update(void *buffer, uint size) override; + void update(const void *buffer, uint size) override; void updateRedundencyCheck(); @@ -48,7 +48,7 @@ protected: vector _buffer; - uint _lastUpdateFrame = 0u; + uint _lastUpdateFrame = 0U; }; } // namespace gfx diff --git a/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp b/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp index aef63813f7..e43491d8ed 100644 --- a/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp +++ b/native/cocos/renderer/gfx-validator/CommandBufferValidator.cpp @@ -182,6 +182,10 @@ void CommandBufferValidator::setStencilCompareMask(StencilFace face, int ref, ui _actor->setStencilCompareMask(face, ref, mask); } +void CommandBufferValidator::nextSubpass() { + _actor->nextSubpass(); +} + void CommandBufferValidator::draw(const DrawInfo &info) { CCASSERT(_insideRenderPass, "Command 'draw' must be recorded inside render passes."); diff --git a/native/cocos/renderer/gfx-validator/CommandBufferValidator.h b/native/cocos/renderer/gfx-validator/CommandBufferValidator.h index 751dfff94e..eeabb7cf3d 100644 --- a/native/cocos/renderer/gfx-validator/CommandBufferValidator.h +++ b/native/cocos/renderer/gfx-validator/CommandBufferValidator.h @@ -51,6 +51,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int ref, uint mask) override; + void nextSubpass() override; void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buff, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp index 3a34ca9e52..91270b62a3 100644 --- a/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp +++ b/native/cocos/renderer/gfx-validator/DescriptorSetLayoutValidator.cpp @@ -40,7 +40,7 @@ DescriptorSetLayoutValidator::~DescriptorSetLayoutValidator() { void DescriptorSetLayoutValidator::doInit(const DescriptorSetLayoutInfo &info) { for (const DescriptorSetLayoutBinding &binding : info.bindings) { - CCASSERT(binding.binding != GFX_INVALID_BINDING, "Invalid binding"); + CCASSERT(binding.binding != INVALID_BINDING, "Invalid binding"); CCASSERT(binding.descriptorType != DescriptorType::UNKNOWN, "Invalid binding type"); CCASSERT(binding.count, "Invalid binding count"); CCASSERT(binding.stageFlags != ShaderStageFlagBit::NONE, "Invalid binding stage flags"); diff --git a/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp b/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp index 156104f1e7..1d724407a1 100644 --- a/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp +++ b/native/cocos/renderer/gfx-validator/DescriptorSetValidator.cpp @@ -69,7 +69,7 @@ void DescriptorSetValidator::bindBuffer(uint binding, Buffer *buffer, uint index CCASSERT(binding < bindingIndices.size() && bindingIndices[binding] < bindings.size(), "Illegal binding"); const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - CCASSERT(info.descriptorType & DESCRIPTOR_BUFFER_TYPE, "Setting binding is not DESCRIPTOR_BUFFER_TYPE"); + CCASSERT(hasAnyFlags(info.descriptorType, DESCRIPTOR_BUFFER_TYPE), "Setting binding is not DESCRIPTOR_BUFFER_TYPE"); /////////// execute /////////// @@ -84,7 +84,7 @@ void DescriptorSetValidator::bindTexture(uint binding, Texture *texture, uint in CCASSERT(binding < bindingIndices.size() && bindingIndices[binding] < bindings.size(), "Illegal binding"); const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - CCASSERT(info.descriptorType & DESCRIPTOR_TEXTURE_TYPE, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE"); + CCASSERT(hasAnyFlags(info.descriptorType, DESCRIPTOR_TEXTURE_TYPE), "Setting binding is not DESCRIPTOR_TEXTURE_TYPE"); /////////// execute /////////// @@ -99,7 +99,7 @@ void DescriptorSetValidator::bindSampler(uint binding, Sampler *sampler, uint in CCASSERT(binding < bindingIndices.size() && bindingIndices[binding] < bindings.size(), "Illegal binding"); const DescriptorSetLayoutBinding &info = bindings[bindingIndices[binding]]; - CCASSERT(info.descriptorType & DESCRIPTOR_TEXTURE_TYPE, "Setting binding is not DESCRIPTOR_TEXTURE_TYPE"); + CCASSERT(hasAnyFlags(info.descriptorType, DESCRIPTOR_TEXTURE_TYPE), "Setting binding is not DESCRIPTOR_TEXTURE_TYPE"); /////////// execute /////////// diff --git a/native/cocos/renderer/gfx-validator/TextureValidator.cpp b/native/cocos/renderer/gfx-validator/TextureValidator.cpp index 2ceea4ae0e..e1c39bcebb 100644 --- a/native/cocos/renderer/gfx-validator/TextureValidator.cpp +++ b/native/cocos/renderer/gfx-validator/TextureValidator.cpp @@ -42,7 +42,7 @@ unordered_map featureCheckMap{ {Format::D32F_S8, Feature::FORMAT_D32FS8}, {Format::RGB8, Feature::FORMAT_RGB8}, }; -} +} // namespace TextureValidator::~TextureValidator() { DeviceResourceTracker::erase(this); @@ -52,6 +52,10 @@ TextureValidator::~TextureValidator() { void TextureValidator::doInit(const TextureInfo &info) { CCASSERT(!featureCheckMap.count(_format) || DeviceValidator::getInstance()->hasFeature(featureCheckMap[_format]), "unsupported format"); + // Potentially inefficient + static const TextureUsageBit INEFFICIENT_MASK{TextureUsageBit::INPUT_ATTACHMENT | TextureUsageBit::SAMPLED}; + CCASSERT((info.usage & INEFFICIENT_MASK) != INEFFICIENT_MASK, "Both SAMPLED and INPUT_ATTACHMENT are specified?"); + _actor->initialize(info); } @@ -66,7 +70,7 @@ void TextureValidator::doDestroy() { _actor->destroy(); } -void TextureValidator::doResize(uint width, uint height, uint size) { +void TextureValidator::doResize(uint width, uint height, uint /*size*/) { CCASSERT(!_isTextureView, "Cannot resize texture views"); _actor->resize(width, height); diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp index 1c16be8302..8fee1c9936 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.cpp @@ -47,7 +47,7 @@ void CCVKBuffer::doInit(const BufferInfo & /*info*/) { _gpuBuffer->stride = _stride; _gpuBuffer->count = _count; - if (_usage & BufferUsageBit::INDIRECT) { + if (hasFlag(_usage, BufferUsageBit::INDIRECT)) { const size_t drawInfoCount = _size / sizeof(DrawInfo); _gpuBuffer->indexedIndirectCmds.resize(drawInfoCount); _gpuBuffer->indirectCmds.resize(drawInfoCount); @@ -100,14 +100,14 @@ void CCVKBuffer::doResize(uint size, uint count) { createBufferView(); - if (_usage & BufferUsageBit::INDIRECT) { + if (hasFlag(_usage, BufferUsageBit::INDIRECT)) { const size_t drawInfoCount = _size / sizeof(DrawInfo); _gpuBuffer->indexedIndirectCmds.resize(drawInfoCount); _gpuBuffer->indirectCmds.resize(drawInfoCount); } } -void CCVKBuffer::update(void *buffer, uint size) { +void CCVKBuffer::update(const void *buffer, uint size) { cmdFuncCCVKUpdateBuffer(CCVKDevice::getInstance(), _gpuBuffer, buffer, size, nullptr); } diff --git a/native/cocos/renderer/gfx-vulkan/VKBuffer.h b/native/cocos/renderer/gfx-vulkan/VKBuffer.h index 4b748b92d3..5cf4b659b2 100644 --- a/native/cocos/renderer/gfx-vulkan/VKBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKBuffer.h @@ -39,7 +39,7 @@ public: CCVKBuffer(); ~CCVKBuffer() override; - void update(void *buffer, uint size) override; + void update(const void *buffer, uint size) override; CC_INLINE CCVKGPUBuffer *gpuBuffer() const { return _gpuBuffer; } CC_INLINE CCVKGPUBufferView *gpuBufferView() const { return _gpuBufferView; } diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp index 6448a2d887..fb4ad4f603 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.cpp @@ -158,6 +158,8 @@ void CCVKCommandBuffer::beginRenderPass(RenderPass *renderPass, Framebuffer *fbo vkCmdBeginRenderPass(_gpuCommandBuffer->vkCommandBuffer, &passBeginInfo, secondaryCBCount ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); + _secondaryRP = secondaryCBCount; + if (!secondaryCBCount) { VkViewport viewport{static_cast(renderArea.x), static_cast(renderArea.y), static_cast(renderArea.width), static_cast(renderArea.height), 0.F, 1.F}; vkCmdSetViewport(_gpuCommandBuffer->vkCommandBuffer, 0, 1, &viewport); @@ -329,6 +331,10 @@ void CCVKCommandBuffer::setStencilCompareMask(StencilFace face, int reference, u } } +void CCVKCommandBuffer::nextSubpass() { + vkCmdNextSubpass(_gpuCommandBuffer->vkCommandBuffer, _secondaryRP ? VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : VK_SUBPASS_CONTENTS_INLINE); +} + void CCVKCommandBuffer::draw(const DrawInfo &info) { if (_firstDirtyDescriptorSet < _curGPUDescriptorSets.size()) { bindDescriptorSets(VK_PIPELINE_BIND_POINT_GRAPHICS); diff --git a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h index 63c8068104..d3e27dfa20 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h +++ b/native/cocos/renderer/gfx-vulkan/VKCommandBuffer.h @@ -52,6 +52,7 @@ public: void setDepthBound(float minBounds, float maxBounds) override; void setStencilWriteMask(StencilFace face, uint mask) override; void setStencilCompareMask(StencilFace face, int reference, uint mask) override; + void nextSubpass() override; void draw(const DrawInfo &info) override; void updateBuffer(Buffer *buffer, const void *data, uint size) override; void copyBuffersToTexture(const uint8_t *const *buffers, Texture *texture, const BufferTextureCopy *regions, uint count) override; @@ -83,6 +84,8 @@ protected: CCVKGPUInputAssembler *_curGPUInputAssember = nullptr; CCVKGPUFramebuffer *_curGPUFBO = nullptr; + bool _secondaryRP = false; + Viewport _curViewport; Rect _curScissor; float _curLineWidth = 1.0F; diff --git a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp index 5dbf9941f7..fe95bacf05 100644 --- a/native/cocos/renderer/gfx-vulkan/VKCommands.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKCommands.cpp @@ -34,11 +34,13 @@ #include -#define BUFFER_OFFSET(idx) (static_cast(0) + (idx)) - namespace cc { namespace gfx { +namespace { +constexpr bool ENABLE_LAZY_ALLOCATION = true; +} + CCVKGPUCommandBufferPool *CCVKGPUDevice::getCommandBufferPool() { std::thread::id threadID = std::this_thread::get_id(); if (!_commandBufferPools.count(threadID)) { @@ -103,6 +105,8 @@ void cmdFuncCCVKGetDeviceQueue(CCVKDevice *device, CCVKGPUQueue *gpuQueue) { void cmdFuncCCVKCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { if (!gpuTexture->size) return; + gpuTexture->aspectMask = mapVkImageAspectFlags(gpuTexture->format); + VkFormat format = mapVkFormat(gpuTexture->format); VkFormatFeatureFlags features = mapVkFormatFeatureFlags(gpuTexture->usage); VkFormatProperties formatProperties; @@ -114,7 +118,7 @@ void cmdFuncCCVKCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { } VkImageUsageFlags usageFlags = mapVkImageUsageFlagBits(gpuTexture->usage); - if (gpuTexture->flags & TextureFlags::GEN_MIPMAP) { + if (hasFlag(gpuTexture->flags, TextureFlags::GEN_MIPMAP)) { usageFlags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; } @@ -134,10 +138,26 @@ void cmdFuncCCVKCreateTexture(CCVKDevice *device, CCVKGPUTexture *gpuTexture) { allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY; VmaAllocationInfo res; + + TextureUsage transientUsages = gpuTexture->usage & TEXTURE_USAGE_TRANSIENT; + if (ENABLE_LAZY_ALLOCATION && transientUsages != TextureUsage::NONE && transientUsages == gpuTexture->usage) { + createInfo.usage = usageFlags | VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT; + allocInfo.usage = VMA_MEMORY_USAGE_GPU_LAZILY_ALLOCATED; + VkResult result = vmaCreateImage(device->gpuDevice()->memoryAllocator, &createInfo, &allocInfo, &gpuTexture->vkImage, &gpuTexture->vmaAllocation, &res); + if (!result) { + CC_LOG_INFO("Created memoryless texture: %s-%dx%d", + GFX_FORMAT_INFOS[static_cast(gpuTexture->format)].name.c_str(), + gpuTexture->width, gpuTexture->height); + return; + } + + // feature not present, fallback + createInfo.usage = usageFlags; + allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY; + } + VK_CHECK(vmaCreateImage(device->gpuDevice()->memoryAllocator, &createInfo, &allocInfo, &gpuTexture->vkImage, &gpuTexture->vmaAllocation, &res)); //CC_LOG_DEBUG("Allocated texture: %llu %llx %llx %llu %x", res.size, gpuTexture->vkImage, res.deviceMemory, res.offset, res.pMappedData); - - gpuTexture->aspectMask = mapVkImageAspectFlags(gpuTexture->format); } void cmdFuncCCVKCreateTextureView(CCVKDevice *device, CCVKGPUTextureView *gpuTextureView) { @@ -219,9 +239,9 @@ void cmdFuncCCVKCreateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer) { gpuBuffer->startOffset = 0; // we are creating one VkBuffer each for now // add special access types directly from usage - if (gpuBuffer->usage & BufferUsageBit::VERTEX) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_VERTEX_BUFFER); - if (gpuBuffer->usage & BufferUsageBit::INDEX) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_INDEX_BUFFER); - if (gpuBuffer->usage & BufferUsageBit::INDIRECT) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_INDIRECT_BUFFER); + if (hasFlag(gpuBuffer->usage, BufferUsageBit::VERTEX)) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_VERTEX_BUFFER); + if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDEX)) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_INDEX_BUFFER); + if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDIRECT)) gpuBuffer->renderAccessTypes.push_back(THSVS_ACCESS_INDIRECT_BUFFER); } void cmdFuncCCVKCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRenderPass) { @@ -229,6 +249,7 @@ void cmdFuncCCVKCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende static vector subpassDescriptions; static vector attachmentReferences; static vector subpassDependencies; + static vector accessTypeCaches; const size_t colorAttachmentCount = gpuRenderPass->colorAttachments.size(); const size_t hasDepth = gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN ? 1 : 0; @@ -236,6 +257,8 @@ void cmdFuncCCVKCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende gpuRenderPass->clearValues.resize(colorAttachmentCount + hasDepth); gpuRenderPass->beginAccesses.resize(colorAttachmentCount + hasDepth); gpuRenderPass->endAccesses.resize(colorAttachmentCount + hasDepth); + + // not using static storage so they can be captured in lambdas vector beginAccessInfos(colorAttachmentCount + hasDepth); vector endAccessInfos(colorAttachmentCount + hasDepth); @@ -294,15 +317,57 @@ void cmdFuncCCVKCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende size_t subpassCount = gpuRenderPass->subpasses.size(); attachmentReferences.clear(); - subpassDependencies.clear(); if (subpassCount) { // pass on user-specified subpasses + for (auto &subpassInfo : gpuRenderPass->subpasses) { + for (uint input : subpassInfo.inputs) { + attachmentReferences.push_back({input, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}); + } + for (uint color : subpassInfo.colors) { + attachmentReferences.push_back({color, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL}); + } + for (uint resolve : subpassInfo.resolves) { + attachmentReferences.push_back({resolve, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL}); + } + if (hasDepth && subpassInfo.depthStencil == INVALID_BINDING) { + subpassInfo.depthStencil = static_cast(colorAttachmentCount); + } + attachmentReferences.push_back({subpassInfo.depthStencil, VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL}); + } + + uint offset{0U}; subpassDescriptions.resize(subpassCount, {}); - // TODO(YunHsiao): - //for (size_t i = 0u; i < subpassCount; ++i) { - // const SubPassInfo &subPassInfo = gpuRenderPass->subPasses[i]; - // subpassDescriptions[i].pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; - //} + for (uint i = 0U; i < gpuRenderPass->subpasses.size(); ++i) { + const SubpassInfo subpassInfo = gpuRenderPass->subpasses[i]; + + VkSubpassDescription &desc = subpassDescriptions[i]; + desc.pipelineBindPoint = VK_PIPELINE_BIND_POINT_GRAPHICS; + + if (!subpassInfo.inputs.empty()) { + desc.inputAttachmentCount = subpassInfo.inputs.size(); + desc.pInputAttachments = attachmentReferences.data() + offset; + offset += subpassInfo.inputs.size(); + } + + if (!subpassInfo.colors.empty()) { + desc.colorAttachmentCount = subpassInfo.colors.size(); + desc.pColorAttachments = attachmentReferences.data() + offset; + offset += subpassInfo.colors.size(); + if (!subpassInfo.resolves.empty()) { + desc.pResolveAttachments = attachmentReferences.data() + offset; + offset += subpassInfo.resolves.size(); + } + } + + if (!subpassInfo.preserves.empty()) { + desc.preserveAttachmentCount = subpassInfo.preserves.size(); + desc.pPreserveAttachments = subpassInfo.preserves.data(); + } + + if (subpassInfo.depthStencil != INVALID_BINDING) { + desc.pDepthStencilAttachment = attachmentReferences.data() + offset++; + } + } } else { // generate a default subpass from attachment info subpassCount = 1U; subpassDescriptions.resize(subpassCount, {}); @@ -316,58 +381,103 @@ void cmdFuncCCVKCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende if (hasDepth) subpassDescriptions[0].pDepthStencilAttachment = &attachmentReferences.back(); } - // explicitly declare external dependencies if needed + size_t dependencyCount = gpuRenderPass->dependencies.size(); + accessTypeCaches.clear(); + subpassDependencies.clear(); - // wait for resources to become available by the specified access types - VkSubpassDependency beginDependency{VK_SUBPASS_EXTERNAL, 0, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; - auto beginDependencyCheck = [&beginDependency, &beginAccessInfos](const VkAttachmentReference &ref, VkPipelineStageFlags dstStage, - VkPipelineStageFlags dstAccessRead, VkAccessFlags dstAccessWrite) { - const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; - const CCVKAccessInfo & info = beginAccessInfos[ref.attachment]; - if (desc.loadOp == VK_ATTACHMENT_LOAD_OP_DONT_CARE) return; - if (desc.initialLayout != ref.layout || info.hasWriteAccess || desc.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR) { - beginDependency.srcStageMask |= info.stageMask; - beginDependency.dstStageMask |= dstStage; - if (desc.initialLayout != ref.layout || info.hasWriteAccess) { - beginDependency.srcAccessMask |= info.hasWriteAccess ? info.accessMask : 0; - beginDependency.dstAccessMask |= (desc.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR ? dstAccessWrite : dstAccessRead); + if (dependencyCount) { + for (const auto &dependency : gpuRenderPass->dependencies) { + for (AccessType type : dependency.srcAccesses) { + accessTypeCaches.push_back(THSVS_ACCESS_TYPES[static_cast(type)]); + } + for (AccessType type : dependency.dstAccesses) { + accessTypeCaches.push_back(THSVS_ACCESS_TYPES[static_cast(type)]); } } - }; - VkSubpassDescription &firstSubpass = subpassDescriptions[0]; - for (size_t j = 0U; j < firstSubpass.colorAttachmentCount; ++j) { - beginDependencyCheck(firstSubpass.pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, - VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); - } - if (firstSubpass.pDepthStencilAttachment) { - beginDependencyCheck(*firstSubpass.pDepthStencilAttachment, VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, - VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); - } - if (beginDependency.srcStageMask != VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT) { - subpassDependencies.push_back(beginDependency); - } - // make rendering result visible for the specified access types - VkSubpassDependency endDependency{static_cast(subpassCount) - 1, VK_SUBPASS_EXTERNAL, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; - auto endDependencyCheck = [&endDependency, &endAccessInfos](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { - const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; - if (desc.storeOp == VK_ATTACHMENT_STORE_OP_STORE) { - const CCVKAccessInfo &info = endAccessInfos[ref.attachment]; - endDependency.srcStageMask |= srcStage; - endDependency.srcAccessMask |= srcAccess; - endDependency.dstStageMask |= info.stageMask; - endDependency.dstAccessMask |= info.accessMask; + uint offset{0U}; + VkImageLayout imageLayout{VK_IMAGE_LAYOUT_UNDEFINED}; + bool hasWriteAccess{false}; + + for (uint i = 0U; i < dependencyCount; ++i) { + const SubpassDependency &dependency = gpuRenderPass->dependencies[i]; + VkSubpassDependency & vkDependency = subpassDependencies.emplace_back(); + vkDependency.srcSubpass = dependency.srcSubpass; + vkDependency.dstSubpass = dependency.dstSubpass; + vkDependency.dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT; + + thsvsGetAccessInfo( + dependency.srcAccesses.size(), + accessTypeCaches.data() + offset, + &vkDependency.srcStageMask, + &vkDependency.srcAccessMask, + &imageLayout, &hasWriteAccess); + + offset += dependency.srcAccesses.size(); + + thsvsGetAccessInfo( + dependency.dstAccesses.size(), + accessTypeCaches.data() + offset, + &vkDependency.dstStageMask, + &vkDependency.dstAccessMask, + &imageLayout, &hasWriteAccess); + + offset += dependency.dstAccesses.size(); + } + } else { + // explicitly declare external dependencies if needed + + // wait for resources to become available by the specified access types + VkSubpassDependency beginDependency{VK_SUBPASS_EXTERNAL, 0, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; + auto beginDependencyCheck = [&beginDependency, &beginAccessInfos](const VkAttachmentReference &ref, VkPipelineStageFlags dstStage, + VkPipelineStageFlags dstAccessRead, VkAccessFlags dstAccessWrite) { + const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; + const CCVKAccessInfo & info = beginAccessInfos[ref.attachment]; + if (desc.loadOp == VK_ATTACHMENT_LOAD_OP_DONT_CARE) return; + if (desc.initialLayout != ref.layout || info.hasWriteAccess || desc.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR) { + beginDependency.srcStageMask |= info.stageMask; + beginDependency.dstStageMask |= dstStage; + if (desc.initialLayout != ref.layout || info.hasWriteAccess) { + beginDependency.srcAccessMask |= info.hasWriteAccess ? info.accessMask : 0; + beginDependency.dstAccessMask |= (desc.loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR ? dstAccessWrite : dstAccessRead); + } + } + }; + VkSubpassDescription &firstSubpass = subpassDescriptions[0]; + for (size_t j = 0U; j < firstSubpass.colorAttachmentCount; ++j) { + beginDependencyCheck(firstSubpass.pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, + VK_ACCESS_COLOR_ATTACHMENT_READ_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); + } + if (firstSubpass.pDepthStencilAttachment) { + beginDependencyCheck(*firstSubpass.pDepthStencilAttachment, VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, + VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); + } + if (beginDependency.srcStageMask != VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT) { + subpassDependencies.push_back(beginDependency); + } + + // make rendering result visible for the specified access types + VkSubpassDependency endDependency{static_cast(subpassCount) - 1, VK_SUBPASS_EXTERNAL, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT}; + auto endDependencyCheck = [&endDependency, &endAccessInfos](const VkAttachmentReference &ref, VkPipelineStageFlags srcStage, VkAccessFlags srcAccess) { + const VkAttachmentDescription &desc = attachmentDescriptions[ref.attachment]; + if (desc.storeOp == VK_ATTACHMENT_STORE_OP_STORE) { + const CCVKAccessInfo &info = endAccessInfos[ref.attachment]; + endDependency.srcStageMask |= srcStage; + endDependency.srcAccessMask |= srcAccess; + endDependency.dstStageMask |= info.stageMask; + endDependency.dstAccessMask |= info.accessMask; + } + }; + VkSubpassDescription &lastSubpass = subpassDescriptions[subpassCount - 1]; + for (size_t j = 0U; j < lastSubpass.colorAttachmentCount; ++j) { + endDependencyCheck(lastSubpass.pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); + } + if (lastSubpass.pDepthStencilAttachment) { + endDependencyCheck(*lastSubpass.pDepthStencilAttachment, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); + } + if (endDependency.dstAccessMask) { + subpassDependencies.push_back(endDependency); } - }; - VkSubpassDescription &lastSubpass = subpassDescriptions[subpassCount - 1]; - for (size_t j = 0U; j < lastSubpass.colorAttachmentCount; ++j) { - endDependencyCheck(lastSubpass.pColorAttachments[j], VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT); - } - if (lastSubpass.pDepthStencilAttachment) { - endDependencyCheck(*lastSubpass.pDepthStencilAttachment, VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT); - } - if (endDependency.dstAccessMask) { - subpassDependencies.push_back(endDependency); } VkRenderPassCreateInfo renderPassCreateInfo{VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO}; @@ -384,7 +494,7 @@ void cmdFuncCCVKCreateRenderPass(CCVKDevice *device, CCVKGPURenderPass *gpuRende void cmdFuncCCVKCreateFramebuffer(CCVKDevice *device, CCVKGPUFramebuffer *gpuFramebuffer) { size_t colorViewCount = gpuFramebuffer->gpuColorViews.size(); bool depthSpecified = gpuFramebuffer->gpuDepthStencilView; - bool hasDepth = gpuFramebuffer->gpuRenderPass->depthStencilAttachment.format == device->getDepthStencilFormat(); + bool hasDepth = gpuFramebuffer->gpuRenderPass->depthStencilAttachment.format != Format::UNKNOWN; vector attachments(colorViewCount + (depthSpecified || hasDepth ? 1 : 0)); uint swapchainImageIndices = 0; CCVKGPUTexture * gpuTexture = nullptr; @@ -738,6 +848,7 @@ void cmdFuncCCVKCreateGraphicsPipelineState(CCVKDevice *device, CCVKGPUPipelineS createInfo.layout = gpuPipelineState->gpuPipelineLayout->vkPipelineLayout; createInfo.renderPass = gpuPipelineState->gpuRenderPass->vkRenderPass; + createInfo.subpass = gpuPipelineState->subpass; ///////////////////// Creation ///////////////////// @@ -751,7 +862,7 @@ void cmdFuncCCVKUpdateBuffer(CCVKDevice *device, CCVKGPUBuffer *gpuBuffer, const const void *dataToUpload = nullptr; size_t sizeToUpload = 0U; - if (gpuBuffer->usage & BufferUsageBit::INDIRECT) { + if (hasFlag(gpuBuffer->usage, BufferUsageBit::INDIRECT)) { size_t drawInfoCount = size / sizeof(DrawInfo); const auto *drawInfo = static_cast(buffer); if (drawInfoCount > 0) { @@ -886,7 +997,7 @@ void cmdFuncCCVKCopyBuffersToTexture(CCVKDevice *device, const uint8_t *const *b vkCmdCopyBufferToImage(gpuCommandBuffer->vkCommandBuffer, stagingBuffer.vkBuffer, gpuTexture->vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, stagingRegions.size(), stagingRegions.data()); - if (gpuTexture->flags & TextureFlags::GEN_MIPMAP) { + if (hasFlag(gpuTexture->flags, TextureFlags::GEN_MIPMAP)) { VkFormatProperties formatProperties; vkGetPhysicalDeviceFormatProperties(device->gpuContext()->physicalDevice, mapVkFormat(gpuTexture->format), &formatProperties); VkFormatFeatureFlags mipmapFeatures = VK_FORMAT_FEATURE_BLIT_SRC_BIT | VK_FORMAT_FEATURE_BLIT_DST_BIT | VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT; diff --git a/native/cocos/renderer/gfx-vulkan/VKContext.cpp b/native/cocos/renderer/gfx-vulkan/VKContext.cpp index b2ff4fdcc9..9e1c66d80c 100644 --- a/native/cocos/renderer/gfx-vulkan/VKContext.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKContext.cpp @@ -280,12 +280,12 @@ bool CCVKContext::doInit(const ContextInfo &info) { VK_CHECK(vkCreateWin32SurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #elif defined(VK_USE_PLATFORM_METAL_EXT) VkMetalSurfaceCreateInfoEXT surfaceCreateInfo{VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT}; - surfaceCreateInfo.pLayer = static_cast(_windowHandle); + surfaceCreateInfo.pLayer = reinterpret_cast(_windowHandle); VK_CHECK(vkCreateMetalSurfaceEXT(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #elif defined(VK_USE_PLATFORM_WAYLAND_KHR) VkWaylandSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR}; surfaceCreateInfo.display = nullptr; // TODO - surfaceCreateInfo.surface = static_cast(_windowHandle); + surfaceCreateInfo.surface = reinterpret_cast(_windowHandle); VK_CHECK(vkCreateWaylandSurfaceKHR(_gpuContext->vkInstance, &surfaceCreateInfo, nullptr, &_gpuContext->vkSurface)); #elif defined(VK_USE_PLATFORM_XCB_KHR) VkXcbSurfaceCreateInfoKHR surfaceCreateInfo{VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR}; diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp index 63f91f5cb4..347503127d 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSet.cpp @@ -61,23 +61,23 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo & /*info*/) { switch (binding.descriptorType) { case DescriptorType::UNIFORM_BUFFER: case DescriptorType::DYNAMIC_UNIFORM_BUFFER: - if (binding.stageFlags & ShaderStageFlags::COMPUTE) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_UNIFORM_BUFFER); - if (binding.stageFlags & ShaderStageFlags::VERTEX) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_UNIFORM_BUFFER); - if (binding.stageFlags & ShaderStageFlags::FRAGMENT) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_UNIFORM_BUFFER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::COMPUTE)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_UNIFORM_BUFFER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::VERTEX)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_UNIFORM_BUFFER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::FRAGMENT)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_UNIFORM_BUFFER); break; case DescriptorType::STORAGE_BUFFER: case DescriptorType::DYNAMIC_STORAGE_BUFFER: case DescriptorType::STORAGE_IMAGE: // here we don't handle write accesses, which should be handled manually - if (binding.stageFlags & ShaderStageFlags::COMPUTE) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_OTHER); - if (binding.stageFlags & ShaderStageFlags::VERTEX) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_OTHER); - if (binding.stageFlags & ShaderStageFlags::FRAGMENT) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_OTHER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::COMPUTE)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_OTHER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::VERTEX)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_OTHER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::FRAGMENT)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_OTHER); break; case DescriptorType::SAMPLER_TEXTURE: case DescriptorType::TEXTURE: - if (binding.stageFlags & ShaderStageFlags::COMPUTE) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); - if (binding.stageFlags & ShaderStageFlags::VERTEX) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); - if (binding.stageFlags & ShaderStageFlags::FRAGMENT) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::COMPUTE)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_COMPUTE_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::VERTEX)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_VERTEX_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); + if (hasFlag(binding.stageFlags, ShaderStageFlags::FRAGMENT)) gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_SAMPLED_IMAGE_OR_UNIFORM_TEXEL_BUFFER); break; case DescriptorType::INPUT_ATTACHMENT: gpuDescriptor.accessTypes.push_back(THSVS_ACCESS_FRAGMENT_SHADER_READ_COLOR_INPUT_ATTACHMENT); @@ -101,11 +101,11 @@ void CCVKDescriptorSet::doInit(const DescriptorSetInfo & /*info*/) { for (size_t i = 0U, k = 0U; i < bindingCount; ++i) { const DescriptorSetLayoutBinding &binding = gpuDescriptorSetLayout->bindings[i]; for (uint j = 0; j < binding.count; ++j, ++k) { - if (binding.descriptorType & DESCRIPTOR_BUFFER_TYPE) { + if (hasAnyFlags(binding.descriptorType, DESCRIPTOR_BUFFER_TYPE)) { instance.descriptorInfos[k].buffer.buffer = gpuDevice->defaultBuffer.vkBuffer; instance.descriptorInfos[k].buffer.offset = gpuDevice->defaultBuffer.startOffset; instance.descriptorInfos[k].buffer.range = gpuDevice->defaultBuffer.size; - } else if (binding.descriptorType & DESCRIPTOR_TEXTURE_TYPE) { + } else if (hasAnyFlags(binding.descriptorType, DESCRIPTOR_TEXTURE_TYPE)) { instance.descriptorInfos[k].image.sampler = gpuDevice->defaultSampler.vkSampler; instance.descriptorInfos[k].image.imageView = gpuDevice->defaultTextureView.vkImageView; instance.descriptorInfos[k].image.imageLayout = binding.descriptorType == DescriptorType::STORAGE_IMAGE @@ -197,7 +197,7 @@ void CCVKDescriptorSet::update() { for (size_t i = 0U; i < descriptorCount; i++) { CCVKGPUDescriptor &binding = _gpuDescriptorSet->gpuDescriptors[i]; - if (binding.type & DESCRIPTOR_BUFFER_TYPE) { + if (hasAnyFlags(binding.type, DESCRIPTOR_BUFFER_TYPE)) { if (_buffers[i]) { CCVKGPUBufferView *bufferView = static_cast(_buffers[i])->gpuBufferView(); if (binding.gpuBufferView != bufferView) { @@ -215,7 +215,7 @@ void CCVKDescriptorSet::update() { binding.gpuBufferView = bufferView; } } - } else if (binding.type & DESCRIPTOR_TEXTURE_TYPE) { + } else if (hasAnyFlags(binding.type, DESCRIPTOR_TEXTURE_TYPE)) { if (_textures[i]) { CCVKGPUTextureView *textureView = static_cast(_textures[i])->gpuTextureView(); if (binding.gpuTextureView != textureView) { diff --git a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp index 02b40aa9f4..e5a7271f96 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDescriptorSetLayout.cpp @@ -25,6 +25,8 @@ #include "VKStd.h" +#include "gfx-base/GFXDef.h" + #include "VKCommands.h" #include "VKDescriptorSetLayout.h" #include "VKDevice.h" @@ -38,8 +40,7 @@ CCVKDescriptorSetLayout::~CCVKDescriptorSetLayout() { destroy(); } -void CCVKDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo & /*info*/) { - +void CCVKDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo& /*info*/) { _gpuDescriptorSetLayout = CC_NEW(CCVKGPUDescriptorSetLayout); _gpuDescriptorSetLayout->id = generateID(); _gpuDescriptorSetLayout->descriptorCount = _descriptorCount; @@ -47,8 +48,8 @@ void CCVKDescriptorSetLayout::doInit(const DescriptorSetLayoutInfo & /*info*/) { _gpuDescriptorSetLayout->descriptorIndices = _descriptorIndices; _gpuDescriptorSetLayout->bindings = _bindings; - for (auto & binding : _bindings) { - if (binding.descriptorType & DESCRIPTOR_DYNAMIC_TYPE) { + for (auto& binding : _bindings) { + if (hasAnyFlags(binding.descriptorType, DESCRIPTOR_DYNAMIC_TYPE)) { for (uint j = 0U; j < binding.count; j++) { _gpuDescriptorSetLayout->dynamicBindings.push_back(binding.binding); } diff --git a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp index 94245882b8..15c5aadd22 100644 --- a/native/cocos/renderer/gfx-vulkan/VKDevice.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKDevice.cpp @@ -389,7 +389,7 @@ bool CCVKDevice::doInit(const DeviceInfo & /*info*/) { for (uint i = 0U; i < gpuContext->swapchainCreateInfo.minImageCount; i++) { TextureInfo depthStencilTexInfo; depthStencilTexInfo.type = TextureType::TEX2D; - depthStencilTexInfo.usage = TextureUsageBit::DEPTH_STENCIL_ATTACHMENT | TextureUsageBit::SAMPLED; + depthStencilTexInfo.usage = TextureUsageBit::DEPTH_STENCIL_ATTACHMENT; depthStencilTexInfo.format = _context->getDepthStencilFormat(); depthStencilTexInfo.width = _width; depthStencilTexInfo.height = _height; diff --git a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h index 46afa00727..625b6d4297 100644 --- a/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h +++ b/native/cocos/renderer/gfx-vulkan/VKGPUObjects.h @@ -73,6 +73,7 @@ public: ColorAttachmentList colorAttachments; DepthStencilAttachment depthStencilAttachment; SubpassInfoList subpasses; + SubpassDependencyList dependencies; // per attachment vector> beginAccesses; @@ -312,6 +313,7 @@ public: BlendState bs; DynamicStateList dynamicStates; CCVKGPURenderPass * gpuRenderPass = nullptr; + uint subpass = 0U; VkPipeline vkPipeline = VK_NULL_HANDLE; }; diff --git a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp index ba39897cd8..d47b63d607 100644 --- a/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKPipelineState.cpp @@ -42,14 +42,15 @@ CCVKPipelineState::~CCVKPipelineState() { } void CCVKPipelineState::doInit(const PipelineStateInfo & /*info*/) { - _gpuPipelineState = CC_NEW(CCVKGPUPipelineState); - _gpuPipelineState->bindPoint = _bindPoint; - _gpuPipelineState->primitive = _primitive; - _gpuPipelineState->gpuShader = static_cast(_shader)->gpuShader(); - _gpuPipelineState->inputState = _inputState; - _gpuPipelineState->rs = _rasterizerState; - _gpuPipelineState->dss = _depthStencilState; - _gpuPipelineState->bs = _blendState; + _gpuPipelineState = CC_NEW(CCVKGPUPipelineState); + _gpuPipelineState->bindPoint = _bindPoint; + _gpuPipelineState->primitive = _primitive; + _gpuPipelineState->gpuShader = static_cast(_shader)->gpuShader(); + _gpuPipelineState->inputState = _inputState; + _gpuPipelineState->rs = _rasterizerState; + _gpuPipelineState->dss = _depthStencilState; + _gpuPipelineState->bs = _blendState; + _gpuPipelineState->subpass = _subpass; _gpuPipelineState->gpuPipelineLayout = static_cast(_pipelineLayout)->gpuPipelineLayout(); if (_renderPass) _gpuPipelineState->gpuRenderPass = static_cast(_renderPass)->gpuRenderPass(); diff --git a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp index e7d041e2e5..62829c922b 100644 --- a/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKRenderPass.cpp @@ -38,11 +38,12 @@ CCVKRenderPass::~CCVKRenderPass() { destroy(); } -void CCVKRenderPass::doInit(const RenderPassInfo & /*info*/) { - _gpuRenderPass = CC_NEW(CCVKGPURenderPass); - _gpuRenderPass->colorAttachments = _colorAttachments; +void CCVKRenderPass::doInit(const RenderPassInfo& /*info*/) { + _gpuRenderPass = CC_NEW(CCVKGPURenderPass); + _gpuRenderPass->colorAttachments = _colorAttachments; _gpuRenderPass->depthStencilAttachment = _depthStencilAttachment; - _gpuRenderPass->subpasses = _subpasses; + _gpuRenderPass->subpasses = _subpasses; + _gpuRenderPass->dependencies = _dependencies; cmdFuncCCVKCreateRenderPass(CCVKDevice::getInstance(), _gpuRenderPass); } diff --git a/native/cocos/renderer/gfx-vulkan/VKUtils.cpp b/native/cocos/renderer/gfx-vulkan/VKUtils.cpp index 28b178b03f..54be8ae427 100644 --- a/native/cocos/renderer/gfx-vulkan/VKUtils.cpp +++ b/native/cocos/renderer/gfx-vulkan/VKUtils.cpp @@ -184,13 +184,13 @@ VkAttachmentStoreOp mapVkStoreOp(StoreOp storeOp) { VkBufferUsageFlagBits mapVkBufferUsageFlagBits(BufferUsage usage) { uint flags = 0U; - if (usage & BufferUsage::TRANSFER_SRC) flags |= VK_BUFFER_USAGE_TRANSFER_SRC_BIT; - if (usage & BufferUsage::TRANSFER_DST) flags |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; - if (usage & BufferUsage::INDEX) flags |= VK_BUFFER_USAGE_INDEX_BUFFER_BIT; - if (usage & BufferUsage::VERTEX) flags |= VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; - if (usage & BufferUsage::UNIFORM) flags |= VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; - if (usage & BufferUsage::STORAGE) flags |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; - if (usage & BufferUsage::INDIRECT) flags |= VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; + if (hasFlag(usage, BufferUsage::TRANSFER_SRC)) flags |= VK_BUFFER_USAGE_TRANSFER_SRC_BIT; + if (hasFlag(usage, BufferUsage::TRANSFER_DST)) flags |= VK_BUFFER_USAGE_TRANSFER_DST_BIT; + if (hasFlag(usage, BufferUsage::INDEX)) flags |= VK_BUFFER_USAGE_INDEX_BUFFER_BIT; + if (hasFlag(usage, BufferUsage::VERTEX)) flags |= VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; + if (hasFlag(usage, BufferUsage::UNIFORM)) flags |= VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; + if (hasFlag(usage, BufferUsage::STORAGE)) flags |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; + if (hasFlag(usage, BufferUsage::INDIRECT)) flags |= VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; return static_cast(flags); } @@ -226,39 +226,33 @@ VkSampleCountFlagBits mapVkSampleCount(SampleCount count) { VkFormatFeatureFlags mapVkFormatFeatureFlags(TextureUsage usage) { uint flags = 0U; - if (usage & TextureUsage::TRANSFER_SRC) flags |= VK_FORMAT_FEATURE_TRANSFER_SRC_BIT; - if (usage & TextureUsage::TRANSFER_DST) flags |= VK_FORMAT_FEATURE_TRANSFER_DST_BIT; - if (usage & TextureUsage::SAMPLED) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; - if (usage & TextureUsage::STORAGE) flags |= VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT; - if (usage & TextureUsage::COLOR_ATTACHMENT) flags |= VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT; - if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) flags |= VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT; - if (usage & TextureUsage::TRANSIENT_ATTACHMENT) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; - if (usage & TextureUsage::INPUT_ATTACHMENT) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; + if (hasFlag(usage, TextureUsage::TRANSFER_SRC)) flags |= VK_FORMAT_FEATURE_TRANSFER_SRC_BIT; + if (hasFlag(usage, TextureUsage::TRANSFER_DST)) flags |= VK_FORMAT_FEATURE_TRANSFER_DST_BIT; + if (hasFlag(usage, TextureUsage::SAMPLED)) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; + if (hasFlag(usage, TextureUsage::STORAGE)) flags |= VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT; + if (hasFlag(usage, TextureUsage::COLOR_ATTACHMENT)) flags |= VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT; + if (hasFlag(usage, TextureUsage::DEPTH_STENCIL_ATTACHMENT)) flags |= VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT; + if (hasFlag(usage, TextureUsage::INPUT_ATTACHMENT)) flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT; return static_cast(flags); } VkImageUsageFlagBits mapVkImageUsageFlagBits(TextureUsage usage) { uint flags = 0U; - if (usage & TextureUsage::TRANSFER_SRC) flags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; - if (usage & TextureUsage::TRANSFER_DST) flags |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; - if (usage & TextureUsage::SAMPLED) flags |= VK_IMAGE_USAGE_SAMPLED_BIT; - if (usage & TextureUsage::STORAGE) flags |= VK_IMAGE_USAGE_STORAGE_BIT; - if (usage & TextureUsage::COLOR_ATTACHMENT) flags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; - if (usage & TextureUsage::DEPTH_STENCIL_ATTACHMENT) flags |= VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; - if (usage & TextureUsage::TRANSIENT_ATTACHMENT) flags |= VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT; - if (usage & TextureUsage::INPUT_ATTACHMENT) flags |= VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; + if (hasFlag(usage, TextureUsage::TRANSFER_SRC)) flags |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; + if (hasFlag(usage, TextureUsage::TRANSFER_DST)) flags |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; + if (hasFlag(usage, TextureUsage::SAMPLED)) flags |= VK_IMAGE_USAGE_SAMPLED_BIT; + if (hasFlag(usage, TextureUsage::STORAGE)) flags |= VK_IMAGE_USAGE_STORAGE_BIT; + if (hasFlag(usage, TextureUsage::COLOR_ATTACHMENT)) flags |= VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; + if (hasFlag(usage, TextureUsage::DEPTH_STENCIL_ATTACHMENT)) flags |= VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; + if (hasFlag(usage, TextureUsage::INPUT_ATTACHMENT)) flags |= VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT; return static_cast(flags); } VkImageAspectFlags mapVkImageAspectFlags(Format format) { VkImageAspectFlags aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; const FormatInfo & info = GFX_FORMAT_INFOS[static_cast(format)]; - if (info.hasDepth) { - aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; - } - if (info.hasStencil) { - aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; - } + if (info.hasDepth) aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; + if (info.hasStencil) aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; return aspectMask; } @@ -318,11 +312,10 @@ VkDescriptorType mapVkDescriptorType(DescriptorType type) { VkColorComponentFlags mapVkColorComponentFlags(ColorMask colorMask) { uint flags = 0U; - if (colorMask & ColorMask::R) flags |= VK_COLOR_COMPONENT_R_BIT; - if (colorMask & ColorMask::G) flags |= VK_COLOR_COMPONENT_G_BIT; - if (colorMask & ColorMask::B) flags |= VK_COLOR_COMPONENT_B_BIT; - if (colorMask & ColorMask::A) flags |= VK_COLOR_COMPONENT_A_BIT; - if (colorMask & ColorMask::ALL) flags |= VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT | VK_COLOR_COMPONENT_B_BIT | VK_COLOR_COMPONENT_A_BIT; + if (hasFlag(colorMask, ColorMask::R)) flags |= VK_COLOR_COMPONENT_R_BIT; + if (hasFlag(colorMask, ColorMask::G)) flags |= VK_COLOR_COMPONENT_G_BIT; + if (hasFlag(colorMask, ColorMask::B)) flags |= VK_COLOR_COMPONENT_B_BIT; + if (hasFlag(colorMask, ColorMask::A)) flags |= VK_COLOR_COMPONENT_A_BIT; return static_cast(flags); } @@ -343,12 +336,12 @@ VkShaderStageFlagBits mapVkShaderStageFlagBits(ShaderStageFlagBit stage) { VkShaderStageFlags mapVkShaderStageFlags(ShaderStageFlagBit stages) { uint flags = 0U; - if (stages & ShaderStageFlagBit::VERTEX) flags |= VK_SHADER_STAGE_VERTEX_BIT; - if (stages & ShaderStageFlagBit::CONTROL) flags |= VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; - if (stages & ShaderStageFlagBit::EVALUATION) flags |= VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; - if (stages & ShaderStageFlagBit::GEOMETRY) flags |= VK_SHADER_STAGE_GEOMETRY_BIT; - if (stages & ShaderStageFlagBit::FRAGMENT) flags |= VK_SHADER_STAGE_FRAGMENT_BIT; - if (stages & ShaderStageFlagBit::COMPUTE) flags |= VK_SHADER_STAGE_COMPUTE_BIT; + if (hasFlag(stages, ShaderStageFlagBit::VERTEX)) flags |= VK_SHADER_STAGE_VERTEX_BIT; + if (hasFlag(stages, ShaderStageFlagBit::CONTROL)) flags |= VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT; + if (hasFlag(stages, ShaderStageFlagBit::EVALUATION)) flags |= VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT; + if (hasFlag(stages, ShaderStageFlagBit::GEOMETRY)) flags |= VK_SHADER_STAGE_GEOMETRY_BIT; + if (hasFlag(stages, ShaderStageFlagBit::FRAGMENT)) flags |= VK_SHADER_STAGE_FRAGMENT_BIT; + if (hasFlag(stages, ShaderStageFlagBit::COMPUTE)) flags |= VK_SHADER_STAGE_COMPUTE_BIT; return static_cast(flags); } @@ -410,16 +403,16 @@ const VkPrimitiveTopology VK_PRIMITIVE_MODES[] = { VK_PRIMITIVE_TOPOLOGY_POINT_LIST, // POINT_LIST VK_PRIMITIVE_TOPOLOGY_LINE_LIST, // LINE_LIST VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, // LINE_STRIP - static_cast(0), // LINE_LOOP + static_cast(0), // LINE_LOOP VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, // LINE_LIST_ADJACENCY VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, // LINE_STRIP_ADJACENCY - static_cast(0), // ISO_LINE_LIST + static_cast(0), // ISO_LINE_LIST VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, // TRIANGLE_LIST VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, // TRIANGLE_STRIP VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, // TRIANGLE_FAN VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, // TRIANGLE_LIST_ADJACENCY VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, // TRIANGLE_STRIP_ADJACENCY, - static_cast(0), // TRIANGLE_PATCH_ADJACENCY, + static_cast(0), // TRIANGLE_PATCH_ADJACENCY, VK_PRIMITIVE_TOPOLOGY_PATCH_LIST, // QUAD_PATCH_LIST, }; @@ -484,17 +477,17 @@ const VkBlendFactor VK_BLEND_FACTORS[] = { }; const VkFilter VK_FILTERS[] = { - static_cast(0), // NONE - VK_FILTER_NEAREST, // POINT - VK_FILTER_LINEAR, // LINEAR - static_cast(0), // ANISOTROPIC + static_cast(0), // NONE + VK_FILTER_NEAREST, // POINT + VK_FILTER_LINEAR, // LINEAR + static_cast(0), // ANISOTROPIC }; const VkSamplerMipmapMode VK_SAMPLER_MIPMAP_MODES[] = { - static_cast(0), // NONE - VK_SAMPLER_MIPMAP_MODE_NEAREST, // POINT - VK_SAMPLER_MIPMAP_MODE_LINEAR, // LINEAR - VK_SAMPLER_MIPMAP_MODE_LINEAR, // ANISOTROPIC + static_cast(0), // NONE + VK_SAMPLER_MIPMAP_MODE_NEAREST, // POINT + VK_SAMPLER_MIPMAP_MODE_LINEAR, // LINEAR + VK_SAMPLER_MIPMAP_MODE_LINEAR, // ANISOTROPIC }; const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODES[] = { diff --git a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp index 7bd7237033..31af013aa8 100644 --- a/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp +++ b/native/cocos/renderer/pipeline/deferred/DeferredPipeline.cpp @@ -67,8 +67,8 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl depthStencilAttachment.stencilStoreOp = gfx::StoreOp::DISCARD; depthStencilAttachment.depthStoreOp = gfx::StoreOp::DISCARD; - if (!(clearFlags & gfx::ClearFlagBit::COLOR)) { - if (clearFlags & static_cast(skyboxFlag)) { + if (!hasFlag(clearFlags, gfx::ClearFlagBit::COLOR)) { + if (hasFlag(clearFlags, static_cast(skyboxFlag))) { colorAttachment.loadOp = gfx::LoadOp::DISCARD; } else { colorAttachment.loadOp = gfx::LoadOp::LOAD; @@ -77,8 +77,8 @@ gfx::RenderPass *DeferredPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFl } if (static_cast(clearFlags & gfx::ClearFlagBit::DEPTH_STENCIL) != gfx::ClearFlagBit::DEPTH_STENCIL) { - if (!(clearFlags & gfx::ClearFlagBit::DEPTH)) depthStencilAttachment.depthLoadOp = gfx::LoadOp::LOAD; - if (!(clearFlags & gfx::ClearFlagBit::STENCIL)) depthStencilAttachment.stencilLoadOp = gfx::LoadOp::LOAD; + if (!hasFlag(clearFlags, gfx::ClearFlagBit::DEPTH)) depthStencilAttachment.depthLoadOp = gfx::LoadOp::LOAD; + if (!hasFlag(clearFlags, gfx::ClearFlagBit::STENCIL)) depthStencilAttachment.stencilLoadOp = gfx::LoadOp::LOAD; depthStencilAttachment.beginAccesses = {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; } diff --git a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp index 5e5555b257..439a4c78ab 100644 --- a/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp +++ b/native/cocos/renderer/pipeline/deferred/PostprocessStage.cpp @@ -91,7 +91,7 @@ void PostprocessStage::render(Camera *camera) { _pipeline->getPipelineUBO()->updateCameraUBO(camera, camera->getWindow()->hasOffScreenAttachments); gfx::Rect renderArea = pp->getRenderArea(camera, !camera->getWindow()->hasOffScreenAttachments); - if (static_cast(camera->clearFlag) & gfx::ClearFlagBit::COLOR) { + if (hasFlag(static_cast(camera->clearFlag), gfx::ClearFlagBit::COLOR)) { _clearColors[0].x = camera->clearColor.x; _clearColors[0].y = camera->clearColor.y; _clearColors[0].z = camera->clearColor.z; @@ -101,7 +101,7 @@ void PostprocessStage::render(Camera *camera) { gfx::Framebuffer *fb = camera->getWindow()->getFramebuffer(); const auto &colorTextures = fb->getColorTextures(); - gfx::RenderPass *rp = !colorTextures.empty() && colorTextures[0] ? + gfx::RenderPass *rp = !colorTextures.empty() && colorTextures[0] ? fb->getRenderPass() : pp->getOrCreateRenderPass(static_cast(camera->clearFlag)); cmdBf->beginRenderPass(rp, fb, renderArea, _clearColors, camera->clearDepth, camera->clearStencil); @@ -112,7 +112,7 @@ void PostprocessStage::render(Camera *camera) { PassView *pv = sceneData->getSharedData()->getDeferredPostPass(); gfx::Shader *sd = sceneData->getSharedData()->getDeferredPostPassShader(); const auto &renderObjects = sceneData->getRenderObjects(); - + if (!renderObjects.empty()) { gfx::InputAssembler *ia = camera->getWindow()->hasOffScreenAttachments ? pp->getQuadIAOffScreen() : pp->getQuadIAOnScreen(); gfx::PipelineState *pso = PipelineStateManager::getOrCreatePipelineState(pv, sd, ia, rp); @@ -122,7 +122,7 @@ void PostprocessStage::render(Camera *camera) { cmdBf->bindInputAssembler(ia); cmdBf->draw(ia); } - + // transparent for (auto *queue : _renderQueues) { queue->clear(); @@ -136,7 +136,7 @@ void PostprocessStage::render(Camera *camera) { const auto *const subModelID = model->getSubModelID(); const auto subModelCount = subModelID[0]; for (m = 1; m <= subModelCount; ++m) { - const auto *subModel = model->getSubModelView(subModelID[m]); + const auto *subModel = cc::pipeline::ModelView::getSubModelView(subModelID[m]); for (p = 0; p < subModel->passCount; ++p) { const PassView *pass = subModel->getPassView(p); // TODO(xwx): need fallback of ulit and gizmo material. @@ -147,7 +147,7 @@ void PostprocessStage::render(Camera *camera) { } } } - + for (auto *queue : _renderQueues) { queue->sort(); queue->recordCommandBuffer(_device, rp, cmdBf); diff --git a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp index 07a3b9cf84..8b4b469771 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardPipeline.cpp @@ -64,8 +64,8 @@ gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFla depthStencilAttachment.stencilStoreOp = gfx::StoreOp::STORE; depthStencilAttachment.depthStoreOp = gfx::StoreOp::STORE; - if (!(clearFlags & gfx::ClearFlagBit::COLOR)) { - if (clearFlags & static_cast(skyboxFlag)) { + if (!hasFlag(clearFlags, gfx::ClearFlagBit::COLOR)) { + if (hasFlag(clearFlags, static_cast(skyboxFlag))) { colorAttachment.loadOp = gfx::LoadOp::DISCARD; } else { colorAttachment.loadOp = gfx::LoadOp::LOAD; @@ -74,8 +74,8 @@ gfx::RenderPass *ForwardPipeline::getOrCreateRenderPass(gfx::ClearFlags clearFla } if (static_cast(clearFlags & gfx::ClearFlagBit::DEPTH_STENCIL) != gfx::ClearFlagBit::DEPTH_STENCIL) { - if (!(clearFlags & gfx::ClearFlagBit::DEPTH)) depthStencilAttachment.depthLoadOp = gfx::LoadOp::LOAD; - if (!(clearFlags & gfx::ClearFlagBit::STENCIL)) depthStencilAttachment.stencilLoadOp = gfx::LoadOp::LOAD; + if (!hasFlag(clearFlags, gfx::ClearFlagBit::DEPTH)) depthStencilAttachment.depthLoadOp = gfx::LoadOp::LOAD; + if (!hasFlag(clearFlags, gfx::ClearFlagBit::STENCIL)) depthStencilAttachment.stencilLoadOp = gfx::LoadOp::LOAD; depthStencilAttachment.beginAccesses = {gfx::AccessType::DEPTH_STENCIL_ATTACHMENT_WRITE}; } @@ -124,7 +124,7 @@ void ForwardPipeline::render(const vector &cameras) { _commandBuffers[0]->begin(); _pipelineUBO->updateGlobalUBO(); for (const auto cameraId : cameras) { - Camera *camera = GET_CAMERA(cameraId); + auto *camera = GET_CAMERA(cameraId); sceneCulling(this, camera); _pipelineUBO->updateCameraUBO(camera, camera->getWindow()->hasOffScreenAttachments); for (auto *const flow : _flows) { diff --git a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp index 3336ce1de5..bcadf0d6e0 100644 --- a/native/cocos/renderer/pipeline/forward/ForwardStage.cpp +++ b/native/cocos/renderer/pipeline/forward/ForwardStage.cpp @@ -176,7 +176,7 @@ void ForwardStage::render(Camera *camera) { _renderArea.width = static_cast(camera->viewportWidth * w * sharedData->shadingScale); _renderArea.height = static_cast(camera->viewportHeight * h * sharedData->shadingScale); - if (static_cast(camera->clearFlag) & gfx::ClearFlagBit::COLOR) { + if (hasFlag(static_cast(camera->clearFlag), gfx::ClearFlagBit::COLOR)) { if (sharedData->isHDR) { srgbToLinear(&_clearColors[0], camera->clearColor); auto scale = sharedData->fpScale / camera->exposure; diff --git a/native/docs/LINTER_AUTOFIX_GUIDE.md b/native/docs/LINTER_AUTOFIX_GUIDE.md index af1d1a69e9..5ff6a7c987 100644 --- a/native/docs/LINTER_AUTOFIX_GUIDE.md +++ b/native/docs/LINTER_AUTOFIX_GUIDE.md @@ -17,10 +17,10 @@ For now, **Visual Studio Code** is our first recommended IDE for the job, while * Open terminal (or git-bash/MSYS2 if you are on windows), navigate to `engine-native` folder and run: ```bash - utils/generate_compile_commands_android.sh + utils/generate_compile_commands_android.sh # other platforms + utils/generate_compile_commands_android_windows.sh # if using git-bash on windows ``` - You may need to have `make` in your environment path for it to work. If it succeeds, you should see a `compile_commands.json` generated in the same folder, and ignored by git. ![](imgs/compile_commands.png) @@ -105,9 +105,9 @@ Also, you can install the `Command Runner` extension in VSCode: ![](imgs/command-runner.png) -And assign a suitable key binding for fixing the current file: +And assign a suitable key binding for fixing the current file (See the extension doc on how to do this): ```bash -clang-tidy -fix ${file} +clang-tidy -fix '${file}' ``` ## Other IDEs diff --git a/native/utils/generate_compile_commands_android.sh b/native/utils/generate_compile_commands_android.sh index 12b298f633..de31aad49d 100755 --- a/native/utils/generate_compile_commands_android.sh +++ b/native/utils/generate_compile_commands_android.sh @@ -12,6 +12,6 @@ else fi cp CMakeLists.txt CMakeLists-bak.txt cat utils/CMakeLists.header.txt CMakeLists-bak.txt > CMakeLists.txt -cmake -Bbuild -DCC_USE_GLES2=ON -DCC_USE_VULKAN=ON -DCC_USE_GLES3=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE="$ndk_path/build/cmake/android.toolchain.cmake" -DANDROID_PLATFORM=android-21 -G"Unix Makefiles" +cmake -Bbuild -DCC_USE_GLES2=ON -DCC_USE_VULKAN=ON -DCC_USE_GLES3=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE="$ndk_path/build/cmake/android.toolchain.cmake" -DANDROID_PLATFORM=android-21 -G"Unix Makefiles" mv CMakeLists-bak.txt CMakeLists.txt cp build/compile_commands.json . diff --git a/native/utils/generate_compile_commands_android_windows.sh b/native/utils/generate_compile_commands_android_windows.sh new file mode 100755 index 0000000000..74a01514a0 --- /dev/null +++ b/native/utils/generate_compile_commands_android_windows.sh @@ -0,0 +1,17 @@ +if [ $# -ne 0 ]; then + ndk_path=$1 +elif [ -n "$ANDROID_NDK_HOME" ]; then + ndk_path=$ANDROID_NDK_HOME +elif [ -n "$ANDROID_NDK_ROOT" ]; then + ndk_path=$ANDROID_NDK_ROOT +elif [ -n "$NDK_ROOT" ]; then + ndk_path=$NDK_ROOT +else + echo "Cannot find NDK root path" + exit 1 +fi +cp CMakeLists.txt CMakeLists-bak.txt +cat utils/CMakeLists.header.txt CMakeLists-bak.txt > CMakeLists.txt +cmake -Bbuild -DCC_USE_GLES2=ON -DCC_USE_VULKAN=ON -DCC_USE_GLES3=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_TOOLCHAIN_FILE="$ndk_path/build/cmake/android.toolchain.cmake" -DCMAKE_MAKE_PROGRAM="$ndk_path/prebuilt/windows-x86_64/bin/make" -DANDROID_PLATFORM=android-21 -G"Unix Makefiles" +mv CMakeLists-bak.txt CMakeLists.txt +cp build/compile_commands.json . From c26cb31117821c4f8cd92dbdf49d481891e89b3a Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Mon, 19 Apr 2021 22:38:54 +0800 Subject: [PATCH 265/270] [ci skip][AUTO]: updating jsbinding automatically: 90f345b7 (#3431) Co-authored-by: cocos-robot --- native/cocos/bindings/auto/jsb_gfx_auto.cpp | 71 +++++++++++++++++++++ native/cocos/bindings/auto/jsb_gfx_auto.h | 2 + 2 files changed, 73 insertions(+) diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.cpp b/native/cocos/bindings/auto/jsb_gfx_auto.cpp index 682ca33992..d83a6245dc 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.cpp +++ b/native/cocos/bindings/auto/jsb_gfx_auto.cpp @@ -10668,6 +10668,33 @@ static bool js_gfx_RenderPassInfo_set_subpasses(se::State& s) } SE_BIND_PROP_SET(js_gfx_RenderPassInfo_set_subpasses) +static bool js_gfx_RenderPassInfo_get_dependencies(se::State& s) +{ + cc::gfx::RenderPassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPassInfo_get_dependencies : Invalid Native Object"); + + CC_UNUSED bool ok = true; + se::Value jsret; + ok &= nativevalue_to_se(cobj->dependencies, jsret, s.thisObject() /*ctx*/); + s.rval() = jsret; + SE_HOLD_RETURN_VALUE(cobj->dependencies, s.thisObject(), s.rval()); + return true; +} +SE_BIND_PROP_GET(js_gfx_RenderPassInfo_get_dependencies) + +static bool js_gfx_RenderPassInfo_set_dependencies(se::State& s) +{ + const auto& args = s.args(); + cc::gfx::RenderPassInfo* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPassInfo_set_dependencies : Invalid Native Object"); + + CC_UNUSED bool ok = true; + ok &= sevalue_to_native(args[0], &cobj->dependencies, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPassInfo_set_dependencies : Error processing new value"); + return true; +} +SE_BIND_PROP_SET(js_gfx_RenderPassInfo_set_dependencies) + template<> bool sevalue_to_native(const se::Value &from, cc::gfx::RenderPassInfo * to, se::Object *ctx) @@ -10693,6 +10720,10 @@ bool sevalue_to_native(const se::Value &from, cc::gfx::RenderPassInfo * to, se:: if(!field.isNullOrUndefined()) { ok &= sevalue_to_native(field, &(to->subpasses), ctx); } + json->getProperty("dependencies", &field); + if(!field.isNullOrUndefined()) { + ok &= sevalue_to_native(field, &(to->dependencies), ctx); + } return ok; } @@ -10740,6 +10771,9 @@ static bool js_gfx_RenderPassInfo_constructor(se::State& s) if (argc > 2 && !args[2].isUndefined()) { ok &= sevalue_to_native(args[2], &(cobj->subpasses), nullptr); } + if (argc > 3 && !args[3].isUndefined()) { + ok &= sevalue_to_native(args[3], &(cobj->dependencies), nullptr); + } if(!ok) { JSB_FREE(cobj); @@ -10780,6 +10814,7 @@ bool js_register_gfx_RenderPassInfo(se::Object* obj) cls->defineProperty("colorAttachments", _SE(js_gfx_RenderPassInfo_get_colorAttachments), _SE(js_gfx_RenderPassInfo_set_colorAttachments)); cls->defineProperty("depthStencilAttachment", _SE(js_gfx_RenderPassInfo_get_depthStencilAttachment), _SE(js_gfx_RenderPassInfo_set_depthStencilAttachment)); cls->defineProperty("subpasses", _SE(js_gfx_RenderPassInfo_get_subpasses), _SE(js_gfx_RenderPassInfo_set_subpasses)); + cls->defineProperty("dependencies", _SE(js_gfx_RenderPassInfo_get_dependencies), _SE(js_gfx_RenderPassInfo_set_dependencies)); cls->defineFinalizeFunction(_SE(js_cc_gfx_RenderPassInfo_finalize)); cls->install(); JSBClassType::registerClass(cls); @@ -16204,6 +16239,21 @@ static bool js_gfx_CommandBuffer_initialize(se::State& s) } SE_BIND_FUNC(js_gfx_CommandBuffer_initialize) +static bool js_gfx_CommandBuffer_nextSubpass(se::State& s) +{ + cc::gfx::CommandBuffer* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_CommandBuffer_nextSubpass : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->nextSubpass(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_CommandBuffer_nextSubpass) + static bool js_gfx_CommandBuffer_pipelineBarrier(se::State& s) { CC_UNUSED bool ok = true; @@ -16476,6 +16526,7 @@ bool js_register_gfx_CommandBuffer(se::Object* obj) cls->defineFunction("getQueue", _SE(js_gfx_CommandBuffer_getQueue)); cls->defineFunction("getType", _SE(js_gfx_CommandBuffer_getType)); cls->defineFunction("initialize", _SE(js_gfx_CommandBuffer_initialize)); + cls->defineFunction("nextSubpass", _SE(js_gfx_CommandBuffer_nextSubpass)); cls->defineFunction("pipelineBarrier", _SE(js_gfx_CommandBuffer_pipelineBarrier)); cls->defineFunction("setBlendConstants", _SE(js_gfx_CommandBuffer_setBlendConstants)); cls->defineFunction("setDepthBias", _SE(js_gfx_CommandBuffer_setDepthBias)); @@ -17999,6 +18050,25 @@ static bool js_gfx_RenderPass_destroy(se::State& s) } SE_BIND_FUNC(js_gfx_RenderPass_destroy) +static bool js_gfx_RenderPass_getDependencies(se::State& s) +{ + cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_gfx_RenderPass_getDependencies : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const std::vector& result = cobj->getDependencies(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_gfx_RenderPass_getDependencies : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_gfx_RenderPass_getDependencies) + static bool js_gfx_RenderPass_getDepthStencilAttachment(se::State& s) { cc::gfx::RenderPass* cobj = SE_THIS_OBJECT(s); @@ -18128,6 +18198,7 @@ bool js_register_gfx_RenderPass(se::Object* obj) cls->defineProperty("hash", _SE(js_gfx_RenderPass_getHash), nullptr); cls->defineFunction("destroy", _SE(js_gfx_RenderPass_destroy)); + cls->defineFunction("getDependencies", _SE(js_gfx_RenderPass_getDependencies)); cls->defineFunction("getDepthStencilAttachment", _SE(js_gfx_RenderPass_getDepthStencilAttachment)); cls->defineFunction("getSubpasses", _SE(js_gfx_RenderPass_getSubpasses)); cls->defineFunction("initialize", _SE(js_gfx_RenderPass_initialize)); diff --git a/native/cocos/bindings/auto/jsb_gfx_auto.h b/native/cocos/bindings/auto/jsb_gfx_auto.h index 9f66034d88..a6e5ab9482 100644 --- a/native/cocos/bindings/auto/jsb_gfx_auto.h +++ b/native/cocos/bindings/auto/jsb_gfx_auto.h @@ -616,6 +616,7 @@ SE_DECLARE_FUNC(js_gfx_CommandBuffer_getNumTris); SE_DECLARE_FUNC(js_gfx_CommandBuffer_getQueue); SE_DECLARE_FUNC(js_gfx_CommandBuffer_getType); SE_DECLARE_FUNC(js_gfx_CommandBuffer_initialize); +SE_DECLARE_FUNC(js_gfx_CommandBuffer_nextSubpass); SE_DECLARE_FUNC(js_gfx_CommandBuffer_pipelineBarrier); SE_DECLARE_FUNC(js_gfx_CommandBuffer_setBlendConstants); SE_DECLARE_FUNC(js_gfx_CommandBuffer_setDepthBias); @@ -741,6 +742,7 @@ bool register_all_gfx(se::Object* obj); JSB_REGISTER_OBJECT_TYPE(cc::gfx::RenderPass); SE_DECLARE_FUNC(js_gfx_RenderPass_destroy); +SE_DECLARE_FUNC(js_gfx_RenderPass_getDependencies); SE_DECLARE_FUNC(js_gfx_RenderPass_getDepthStencilAttachment); SE_DECLARE_FUNC(js_gfx_RenderPass_getSubpasses); SE_DECLARE_FUNC(js_gfx_RenderPass_initialize); From 6a3ef36ae20bf5e75c2a854d7b40c3e7ae56b582 Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Tue, 20 Apr 2021 12:37:46 +0800 Subject: [PATCH 266/270] fix base64 decode (#3432) * fix base64 decode * ci fix --- native/cocos/base/base64.cpp | 46 ++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/native/cocos/base/base64.cpp b/native/cocos/base/base64.cpp index bc28b79e38..d1b4ac21c6 100644 --- a/native/cocos/base/base64.cpp +++ b/native/cocos/base/base64.cpp @@ -39,27 +39,27 @@ std::string alphabet{"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz012345 int doBase64Decode(const unsigned char *input, unsigned int inputLen, unsigned char *output, unsigned int *outputLen) { static std::vector inalphabet(256); static std::vector decoder(256); - int i; - int bits; - int c = 0; - int charCount; - int errors = 0; - unsigned int inputIdx = 0; - unsigned int outputIdx = 0; - - for (i = (sizeof alphabet) - 1; i >= 0; i--) { + int i; + int bits; + int c = 0; + int charCount; + int errors = 0; + unsigned int inputIdx = 0; + unsigned int outputIdx = 0; + int length = static_cast(alphabet.length()); + for (i = length - 1; i >= 0; i--) { inalphabet[alphabet[i]] = 1; - decoder[alphabet[i]] = i; + decoder[alphabet[i]] = i; } charCount = 0; - bits = 0; + bits = 0; for (inputIdx = 0; inputIdx < inputLen; inputIdx++) { c = input[inputIdx]; if (c == '=') { break; } - + if (c > 255 || !inalphabet[c]) { continue; } @@ -70,8 +70,8 @@ int doBase64Decode(const unsigned char *input, unsigned int inputLen, unsigned c output[outputIdx++] = (bits >> 16); output[outputIdx++] = ((bits >> 8) & 0xff); output[outputIdx++] = (bits & 0xff); - bits = 0; - charCount = 0; + bits = 0; + charCount = 0; } else { bits <<= 6; } @@ -110,11 +110,11 @@ int doBase64Decode(const unsigned char *input, unsigned int inputLen, unsigned c void doBase64Encode(const unsigned char *input, unsigned int inputLen, char *output) { unsigned int charCount; unsigned int bits; - unsigned int inputIdx = 0; + unsigned int inputIdx = 0; unsigned int outputIdx = 0; charCount = 0; - bits = 0; + bits = 0; for (inputIdx = 0; inputIdx < inputLen; inputIdx++) { bits |= input[inputIdx]; @@ -124,8 +124,8 @@ void doBase64Encode(const unsigned char *input, unsigned int inputLen, char *out output[outputIdx++] = alphabet[(bits >> 12) & 0x3f]; output[outputIdx++] = alphabet[(bits >> 6) & 0x3f]; output[outputIdx++] = alphabet[bits & 0x3f]; - bits = 0; - charCount = 0; + bits = 0; + charCount = 0; } else { bits <<= 8; } @@ -153,28 +153,28 @@ int base64Decode(const unsigned char *in, unsigned int inLength, unsigned char * unsigned int outLength = 0; //should be enough to store 6-bit buffers in 8-bit buffers - *out = (unsigned char *)malloc(inLength / 4 * 3 + 1); + *out = static_cast(malloc(inLength / 4 * 3 + 1)); if (*out) { int ret = doBase64Decode(in, inLength, *out, &outLength); if (ret > 0) { free(*out); - *out = nullptr; + *out = nullptr; outLength = 0; } } - return outLength; + return static_cast(outLength); } int base64Encode(const unsigned char *in, unsigned int inLength, char **out) { unsigned int outLength = (inLength + 2) / 3 * 4; //should be enough to store 8-bit buffers in 6-bit buffers - *out = (char *)malloc(outLength + 1); + *out = static_cast(malloc(outLength + 1)); if (*out) { doBase64Encode(in, inLength, *out); } - return outLength; + return static_cast(outLength); } } // namespace cc From 3940e643af0a159a1f5f5cfc4ea8ed0bd8edaef5 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Tue, 20 Apr 2021 12:38:19 +0800 Subject: [PATCH 267/270] fix reverseCW issue (#3433) --- native/cocos/renderer/gfx-base/GFXDef-common.h | 16 ++++++++-------- .../cocos/renderer/gfx-gles2/GLES2Commands.cpp | 9 +++------ native/cocos/renderer/gfx-gles2/GLES2Device.cpp | 13 +++++++------ .../cocos/renderer/gfx-gles2/GLES2GPUObjects.h | 2 -- .../cocos/renderer/gfx-gles3/GLES3Commands.cpp | 9 +++------ native/cocos/renderer/gfx-gles3/GLES3Device.cpp | 15 ++++++++------- .../cocos/renderer/gfx-gles3/GLES3GPUObjects.h | 2 -- 7 files changed, 29 insertions(+), 37 deletions(-) diff --git a/native/cocos/renderer/gfx-base/GFXDef-common.h b/native/cocos/renderer/gfx-base/GFXDef-common.h index 538f1536d7..3034c6b133 100644 --- a/native/cocos/renderer/gfx-base/GFXDef-common.h +++ b/native/cocos/renderer/gfx-base/GFXDef-common.h @@ -419,7 +419,7 @@ enum class MemoryUsageBit : FlagBits { HOST = 0x2, }; using MemoryUsage = MemoryUsageBit; -CC_ENUM_OPERATORS(MemoryUsageBit) +CC_ENUM_OPERATORS(MemoryUsageBit); enum class TextureType { TEX1D, @@ -441,7 +441,7 @@ enum class TextureUsageBit : FlagBits { INPUT_ATTACHMENT = 0x40, }; using TextureUsage = TextureUsageBit; -CC_ENUM_OPERATORS(TextureUsageBit) +CC_ENUM_OPERATORS(TextureUsageBit); enum class TextureFlagBit : FlagBits { NONE = 0, @@ -449,7 +449,7 @@ enum class TextureFlagBit : FlagBits { IMMUTABLE = 0x2, }; using TextureFlags = TextureFlagBit; -CC_ENUM_OPERATORS(TextureFlagBit) +CC_ENUM_OPERATORS(TextureFlagBit); enum class SampleCount { X1, @@ -531,7 +531,7 @@ enum class ColorMask : FlagBits { A = 0x8, ALL = R | G | B | A, }; -CC_ENUM_OPERATORS(ColorMask) +CC_ENUM_OPERATORS(ColorMask); enum class ShaderStageFlagBit : FlagBits { NONE = 0x0, @@ -544,7 +544,7 @@ enum class ShaderStageFlagBit : FlagBits { ALL = 0x3f, }; using ShaderStageFlags = ShaderStageFlagBit; -CC_ENUM_OPERATORS(ShaderStageFlagBit) +CC_ENUM_OPERATORS(ShaderStageFlagBit); enum class LoadOp { LOAD, // Load the contents from the fbo from previous @@ -647,7 +647,7 @@ enum class DynamicStateFlagBit : FlagBits { STENCIL_COMPARE_MASK = 0x80, }; using DynamicStateFlags = DynamicStateFlagBit; -CC_ENUM_OPERATORS(DynamicStateFlagBit) +CC_ENUM_OPERATORS(DynamicStateFlagBit); using DynamicStateList = vector; @@ -669,7 +669,7 @@ enum class DescriptorType : FlagBits { STORAGE_IMAGE = 0x80, INPUT_ATTACHMENT = 0x100, }; -CC_ENUM_OPERATORS(DescriptorType) +CC_ENUM_OPERATORS(DescriptorType); enum class QueueType { GRAPHICS, @@ -691,7 +691,7 @@ enum class ClearFlagBit : FlagBits { ALL = COLOR | DEPTH | STENCIL, }; using ClearFlags = ClearFlagBit; -CC_ENUM_OPERATORS(ClearFlagBit) +CC_ENUM_OPERATORS(ClearFlagBit); struct Size { uint x = 0U; diff --git a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp index f85bb68085..9698f5f40d 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Commands.cpp @@ -1354,8 +1354,6 @@ void cmdFuncGLES2BeginRenderPass(GLES2Device *device, GLES2GPURenderPass *gpuRen if (cache->glFramebuffer != gpuFramebuffer->glFramebuffer) { GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); cache->glFramebuffer = gpuFramebuffer->glFramebuffer; - // render targets are drawn with flipped-Y - gfxStateCache.reverseCW = !!gpuFramebuffer->glFramebuffer; } if (cache->viewport.left != renderArea.x || @@ -1609,10 +1607,9 @@ void cmdFuncGLES2BindState(GLES2Device *device, GLES2GPUPipelineState *gpuPipeli } cache->rs.cullMode = gpuPipelineState->rs.cullMode; } - bool isFrontFaceCCW = static_cast(gpuPipelineState->rs.isFrontFaceCCW) != gfxStateCache.reverseCW; - if (static_cast(cache->rs.isFrontFaceCCW) != isFrontFaceCCW) { - GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); - cache->rs.isFrontFaceCCW = isFrontFaceCCW; + if (cache->rs.isFrontFaceCCW != gpuPipelineState->rs.isFrontFaceCCW) { + GL_CHECK(glFrontFace(gpuPipelineState->rs.isFrontFaceCCW ? GL_CCW : GL_CW)); + cache->rs.isFrontFaceCCW = gpuPipelineState->rs.isFrontFaceCCW; } if ((cache->rs.depthBias != gpuPipelineState->rs.depthBias) || (cache->rs.depthBiasSlop != gpuPipelineState->rs.depthBiasSlop)) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp index 10e9521fa9..53518064d6 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2Device.cpp +++ b/native/cocos/renderer/gfx-gles2/GLES2Device.cpp @@ -125,6 +125,7 @@ bool GLES2Device::doInit(const DeviceInfo & info) { if (checkExtension("draw_buffers")) { _features[static_cast(Feature::MULTIPLE_RENDER_TARGETS)] = true; + glGetIntegerv(GL_MAX_DRAW_BUFFERS_EXT, reinterpret_cast(&_caps.maxColorRenderTargets)); } if (checkExtension("blend_minmax")) { @@ -198,13 +199,13 @@ bool GLES2Device::doInit(const DeviceInfo & info) { } void GLES2Device::doDestroy() { - CC_SAFE_DELETE(_gpuStagingBufferPool); - CC_SAFE_DELETE(_gpuStateCache); + CC_SAFE_DELETE(_gpuStagingBufferPool) + CC_SAFE_DELETE(_gpuStateCache) - CC_SAFE_DESTROY(_cmdBuff); - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_deviceContext); - CC_SAFE_DESTROY(_renderContext); + CC_SAFE_DESTROY(_cmdBuff) + CC_SAFE_DESTROY(_queue) + CC_SAFE_DESTROY(_deviceContext) + CC_SAFE_DESTROY(_renderContext) } void GLES2Device::releaseSurface(uintptr_t windowHandle) { diff --git a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h index c79e34b9bb..8a680d6d5b 100644 --- a/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h +++ b/native/cocos/renderer/gfx-gles2/GLES2GPUObjects.h @@ -300,7 +300,6 @@ struct GLES2ObjectCache final { GLES2GPUFramebuffer * gpuFramebuffer = nullptr; GLES2GPUPipelineState * gpuPipelineState = nullptr; GLES2GPUInputAssembler *gpuInputAssembler = nullptr; - bool reverseCW = false; GLenum glPrimitive = 0; GLenum invalidAttachments[MAX_ATTACHMENTS]; }; @@ -361,7 +360,6 @@ public: gfxStateCache.gpuFramebuffer = nullptr; gfxStateCache.gpuInputAssembler = nullptr; gfxStateCache.glPrimitive = 0U; - gfxStateCache.reverseCW = false; } }; diff --git a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp index d1db6a1bfc..71b67ea041 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Commands.cpp @@ -1524,8 +1524,6 @@ void cmdFuncGLES3BeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen if (cache->glDrawFramebuffer != gpuFramebuffer->glFramebuffer) { GL_CHECK(glBindFramebuffer(GL_DRAW_FRAMEBUFFER, gpuFramebuffer->glFramebuffer)); cache->glDrawFramebuffer = gpuFramebuffer->glFramebuffer; - // render targets are drawn with flipped-Y - gfxStateCache.reverseCW = gpuFramebuffer->isOffscreen; } if (cache->viewport.left != renderArea.x || @@ -1779,10 +1777,9 @@ void cmdFuncGLES3BindState(GLES3Device *device, GLES3GPUPipelineState *gpuPipeli } cache->rs.cullMode = gpuPipelineState->rs.cullMode; } - bool isFrontFaceCCW = gpuPipelineState->rs.isFrontFaceCCW != gfxStateCache.reverseCW; - if (static_cast(cache->rs.isFrontFaceCCW) != isFrontFaceCCW) { - GL_CHECK(glFrontFace(isFrontFaceCCW ? GL_CCW : GL_CW)); - cache->rs.isFrontFaceCCW = isFrontFaceCCW; + if (cache->rs.isFrontFaceCCW != gpuPipelineState->rs.isFrontFaceCCW) { + GL_CHECK(glFrontFace(gpuPipelineState->rs.isFrontFaceCCW ? GL_CCW : GL_CW)); + cache->rs.isFrontFaceCCW = gpuPipelineState->rs.isFrontFaceCCW; } if ((cache->rs.depthBias != gpuPipelineState->rs.depthBias) || (cache->rs.depthBiasSlop != gpuPipelineState->rs.depthBiasSlop)) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp index 62c4256443..e5c60c183d 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Device.cpp +++ b/native/cocos/renderer/gfx-gles3/GLES3Device.cpp @@ -171,6 +171,7 @@ bool GLES3Device::doInit(const DeviceInfo & info) { glGetIntegerv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, reinterpret_cast(&_caps.maxFragmentUniformVectors)); glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, reinterpret_cast(&_caps.maxUniformBufferBindings)); glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, reinterpret_cast(&_caps.maxUniformBlockSize)); + glGetIntegerv(GL_MAX_DRAW_BUFFERS, reinterpret_cast(&_caps.maxColorRenderTargets)); glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, reinterpret_cast(&_caps.maxTextureUnits)); glGetIntegerv(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, reinterpret_cast(&_caps.maxVertexTextureUnits)); glGetIntegerv(GL_MAX_TEXTURE_SIZE, reinterpret_cast(&_caps.maxTextureSize)); @@ -199,14 +200,14 @@ bool GLES3Device::doInit(const DeviceInfo & info) { } void GLES3Device::doDestroy() { - CC_SAFE_DELETE(_gpuFramebufferCacheMap); - CC_SAFE_DELETE(_gpuStagingBufferPool); - CC_SAFE_DELETE(_gpuStateCache); + CC_SAFE_DELETE(_gpuFramebufferCacheMap) + CC_SAFE_DELETE(_gpuStagingBufferPool) + CC_SAFE_DELETE(_gpuStateCache) - CC_SAFE_DESTROY(_cmdBuff); - CC_SAFE_DESTROY(_queue); - CC_SAFE_DESTROY(_deviceContext); - CC_SAFE_DESTROY(_renderContext); + CC_SAFE_DESTROY(_cmdBuff) + CC_SAFE_DESTROY(_queue) + CC_SAFE_DESTROY(_deviceContext) + CC_SAFE_DESTROY(_renderContext) } void GLES3Device::releaseSurface(const uintptr_t windowHandle) { diff --git a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h index 7aa74d4512..2c3bbb9e2e 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h +++ b/native/cocos/renderer/gfx-gles3/GLES3GPUObjects.h @@ -297,7 +297,6 @@ struct GLES3ObjectCache final { GLES3GPUFramebuffer * gpuFramebuffer = nullptr; GLES3GPUPipelineState * gpuPipelineState = nullptr; GLES3GPUInputAssembler *gpuInputAssembler = nullptr; - uint reverseCW = 0U; GLenum glPrimitive = 0; GLenum invalidAttachments[MAX_ATTACHMENTS]; }; @@ -380,7 +379,6 @@ public: gfxStateCache.gpuPipelineState = nullptr; gfxStateCache.gpuInputAssembler = nullptr; gfxStateCache.glPrimitive = 0U; - gfxStateCache.reverseCW = false; } }; From d23e039d2cb3729c26c333307b36914d932d691d Mon Sep 17 00:00:00 2001 From: "jiaxin.lai" Date: Tue, 20 Apr 2021 12:51:52 +0800 Subject: [PATCH 268/270] native physx (#3409) --- native/CMakeLists.txt | 72 + .../cocos/bindings/auto/jsb_physics_auto.cpp | 4835 +++++++++++++++++ native/cocos/bindings/auto/jsb_physics_auto.h | 324 ++ .../cocos/bindings/manual/jsb_conversions.h | 2 +- .../bindings/manual/jsb_module_register.cpp | 8 + native/cocos/physics/PhysicsSDK.h | 31 + native/cocos/physics/PhysicsSelector.h | 44 + native/cocos/physics/physx/PhysX.h | 42 + .../cocos/physics/physx/PhysXEventManager.cpp | 132 + .../cocos/physics/physx/PhysXEventManager.h | 72 + .../cocos/physics/physx/PhysXFilterShader.cpp | 115 + .../cocos/physics/physx/PhysXFilterShader.h | 63 + native/cocos/physics/physx/PhysXInc.h | 46 + native/cocos/physics/physx/PhysXRigidBody.cpp | 258 + native/cocos/physics/physx/PhysXRigidBody.h | 91 + .../cocos/physics/physx/PhysXSharedBody.cpp | 355 ++ native/cocos/physics/physx/PhysXSharedBody.h | 123 + native/cocos/physics/physx/PhysXUtils.cpp | 56 + native/cocos/physics/physx/PhysXUtils.h | 154 + native/cocos/physics/physx/PhysXWorld.cpp | 309 ++ native/cocos/physics/physx/PhysXWorld.h | 100 + .../physics/physx/joints/PhysXDistance.cpp | 78 + .../physics/physx/joints/PhysXDistance.h | 50 + .../cocos/physics/physx/joints/PhysXJoint.cpp | 81 + .../cocos/physics/physx/joints/PhysXJoint.h | 61 + .../physics/physx/joints/PhysXRevolute.cpp | 86 + .../physics/physx/joints/PhysXRevolute.h | 52 + .../cocos/physics/physx/shapes/PhysXBox.cpp | 66 + native/cocos/physics/physx/shapes/PhysXBox.h | 47 + .../physics/physx/shapes/PhysXCapsule.cpp | 96 + .../cocos/physics/physx/shapes/PhysXCapsule.h | 51 + .../cocos/physics/physx/shapes/PhysXCone.cpp | 101 + native/cocos/physics/physx/shapes/PhysXCone.h | 55 + .../physics/physx/shapes/PhysXCylinder.cpp | 101 + .../physics/physx/shapes/PhysXCylinder.h | 55 + .../cocos/physics/physx/shapes/PhysXPlane.cpp | 67 + .../cocos/physics/physx/shapes/PhysXPlane.h | 49 + .../cocos/physics/physx/shapes/PhysXShape.cpp | 126 + .../cocos/physics/physx/shapes/PhysXShape.h | 87 + .../physics/physx/shapes/PhysXSphere.cpp | 62 + .../cocos/physics/physx/shapes/PhysXSphere.h | 47 + .../physics/physx/shapes/PhysXTerrain.cpp | 70 + .../cocos/physics/physx/shapes/PhysXTerrain.h | 50 + .../physics/physx/shapes/PhysXTrimesh.cpp | 96 + .../cocos/physics/physx/shapes/PhysXTrimesh.h | 49 + native/cocos/physics/sdk/Joint.cpp | 98 + native/cocos/physics/sdk/Joint.h | 65 + native/cocos/physics/sdk/RigidBody.cpp | 186 + native/cocos/physics/sdk/RigidBody.h | 81 + native/cocos/physics/sdk/Shape.cpp | 174 + native/cocos/physics/sdk/Shape.h | 101 + native/cocos/physics/sdk/World.cpp | 115 + native/cocos/physics/sdk/World.h | 62 + native/cocos/physics/spec/IBody.h | 81 + native/cocos/physics/spec/IJoint.h | 60 + native/cocos/physics/spec/ILifecycle.h | 41 + native/cocos/physics/spec/IShape.h | 142 + native/cocos/physics/spec/IWorld.h | 341 ++ .../renderer/pipeline/helper/SharedMemory.h | 2 +- native/extensions/cocos-ext.h | 4 + native/external/config.json | 4 +- native/templates/common/CMakeLists.txt | 1 + .../frameworks/runtime-src/CMakeLists.txt | 1 + native/tools/tojs/genbindings.py | 3 +- native/tools/tojs/physics.ini | 66 + native/tools/travis-scripts/run-script.sh | 17 +- 66 files changed, 10546 insertions(+), 14 deletions(-) create mode 100644 native/cocos/bindings/auto/jsb_physics_auto.cpp create mode 100644 native/cocos/bindings/auto/jsb_physics_auto.h create mode 100644 native/cocos/physics/PhysicsSDK.h create mode 100644 native/cocos/physics/PhysicsSelector.h create mode 100644 native/cocos/physics/physx/PhysX.h create mode 100644 native/cocos/physics/physx/PhysXEventManager.cpp create mode 100644 native/cocos/physics/physx/PhysXEventManager.h create mode 100644 native/cocos/physics/physx/PhysXFilterShader.cpp create mode 100644 native/cocos/physics/physx/PhysXFilterShader.h create mode 100644 native/cocos/physics/physx/PhysXInc.h create mode 100644 native/cocos/physics/physx/PhysXRigidBody.cpp create mode 100644 native/cocos/physics/physx/PhysXRigidBody.h create mode 100644 native/cocos/physics/physx/PhysXSharedBody.cpp create mode 100644 native/cocos/physics/physx/PhysXSharedBody.h create mode 100644 native/cocos/physics/physx/PhysXUtils.cpp create mode 100644 native/cocos/physics/physx/PhysXUtils.h create mode 100644 native/cocos/physics/physx/PhysXWorld.cpp create mode 100644 native/cocos/physics/physx/PhysXWorld.h create mode 100644 native/cocos/physics/physx/joints/PhysXDistance.cpp create mode 100644 native/cocos/physics/physx/joints/PhysXDistance.h create mode 100644 native/cocos/physics/physx/joints/PhysXJoint.cpp create mode 100644 native/cocos/physics/physx/joints/PhysXJoint.h create mode 100644 native/cocos/physics/physx/joints/PhysXRevolute.cpp create mode 100644 native/cocos/physics/physx/joints/PhysXRevolute.h create mode 100644 native/cocos/physics/physx/shapes/PhysXBox.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXBox.h create mode 100644 native/cocos/physics/physx/shapes/PhysXCapsule.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXCapsule.h create mode 100644 native/cocos/physics/physx/shapes/PhysXCone.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXCone.h create mode 100644 native/cocos/physics/physx/shapes/PhysXCylinder.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXCylinder.h create mode 100644 native/cocos/physics/physx/shapes/PhysXPlane.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXPlane.h create mode 100644 native/cocos/physics/physx/shapes/PhysXShape.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXShape.h create mode 100644 native/cocos/physics/physx/shapes/PhysXSphere.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXSphere.h create mode 100644 native/cocos/physics/physx/shapes/PhysXTerrain.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXTerrain.h create mode 100644 native/cocos/physics/physx/shapes/PhysXTrimesh.cpp create mode 100644 native/cocos/physics/physx/shapes/PhysXTrimesh.h create mode 100644 native/cocos/physics/sdk/Joint.cpp create mode 100644 native/cocos/physics/sdk/Joint.h create mode 100644 native/cocos/physics/sdk/RigidBody.cpp create mode 100644 native/cocos/physics/sdk/RigidBody.h create mode 100644 native/cocos/physics/sdk/Shape.cpp create mode 100644 native/cocos/physics/sdk/Shape.h create mode 100644 native/cocos/physics/sdk/World.cpp create mode 100644 native/cocos/physics/sdk/World.h create mode 100644 native/cocos/physics/spec/IBody.h create mode 100644 native/cocos/physics/spec/IJoint.h create mode 100644 native/cocos/physics/spec/ILifecycle.h create mode 100644 native/cocos/physics/spec/IShape.h create mode 100644 native/cocos/physics/spec/IWorld.h create mode 100644 native/tools/tojs/physics.ini diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 05698bdce8..3300cdc75d 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -136,6 +136,7 @@ set_if_undefined(USE_MIDDLEWARE ON) set_if_undefined(USE_DRAGONBONES ON) set_if_undefined(USE_SPINE ON) set_if_undefined(USE_WEBSOCKET_SERVER OFF) +set_if_undefined(USE_PHYSICS_PHYSX OFF) if(ANDROID OR WINDOWS) set_if_undefined(CC_USE_GLES3 ON) @@ -149,6 +150,13 @@ elseif(MACOSX OR IOS) set_if_undefined(CC_USE_GLES2 OFF) endif() +if(USE_PHYSICS_PHYSX) + if (ANDROID AND CMAKE_ANDROID_ARCH_ABI MATCHES x86) + set(USE_PHYSICS_PHYSX OFF) + message(AUTHOR_WARNING "Native PhysX does not support Google Android X86") + endif() +endif() + if(USE_SE_JSC) set(USE_SE_V8 OFF) set(USE_V8_DEBUGGER OFF) @@ -194,6 +202,7 @@ inspect_values( USE_WEBSOCKET_SERVER USE_SE_V8 USE_V8_DEBUGGER + USE_PHYSICS_PHYSX ) ################################# external source code ################################ @@ -1053,6 +1062,68 @@ cocos_source_files( cocos/renderer/frame-graph/VirtualResource.h ) +##### physics + +if(USE_PHYSICS_PHYSX) + cocos_source_files( + cocos/physics/PhysicsSDK.h + cocos/physics/PhysicsSelector.h + cocos/physics/sdk/World.h + cocos/physics/sdk/World.cpp + cocos/physics/sdk/Shape.h + cocos/physics/sdk/Shape.cpp + cocos/physics/sdk/RigidBody.h + cocos/physics/sdk/RigidBody.cpp + cocos/physics/sdk/Joint.h + cocos/physics/sdk/Joint.cpp + cocos/physics/spec/IBody.h + cocos/physics/spec/IJoint.h + cocos/physics/spec/ILifecycle.h + cocos/physics/spec/IShape.h + cocos/physics/spec/IWorld.h + cocos/physics/physx/PhysX.h + cocos/physics/physx/PhysXInc.h + cocos/physics/physx/PhysXUtils.h + cocos/physics/physx/PhysXUtils.cpp + cocos/physics/physx/PhysXWorld.h + cocos/physics/physx/PhysXWorld.cpp + cocos/physics/physx/PhysXFilterShader.h + cocos/physics/physx/PhysXFilterShader.cpp + cocos/physics/physx/PhysXEventManager.h + cocos/physics/physx/PhysXEventManager.cpp + cocos/physics/physx/PhysXSharedBody.h + cocos/physics/physx/PhysXSharedBody.cpp + cocos/physics/physx/PhysXRigidBody.h + cocos/physics/physx/PhysXRigidBody.cpp + cocos/physics/physx/shapes/PhysXShape.h + cocos/physics/physx/shapes/PhysXShape.cpp + cocos/physics/physx/shapes/PhysXSphere.h + cocos/physics/physx/shapes/PhysXSphere.cpp + cocos/physics/physx/shapes/PhysXBox.h + cocos/physics/physx/shapes/PhysXBox.cpp + cocos/physics/physx/shapes/PhysXPlane.h + cocos/physics/physx/shapes/PhysXPlane.cpp + cocos/physics/physx/shapes/PhysXCapsule.h + cocos/physics/physx/shapes/PhysXCapsule.cpp + cocos/physics/physx/shapes/PhysXCone.h + cocos/physics/physx/shapes/PhysXCone.cpp + cocos/physics/physx/shapes/PhysXCylinder.h + cocos/physics/physx/shapes/PhysXCylinder.cpp + cocos/physics/physx/shapes/PhysXTerrain.h + cocos/physics/physx/shapes/PhysXTerrain.cpp + cocos/physics/physx/shapes/PhysXTrimesh.h + cocos/physics/physx/shapes/PhysXTrimesh.cpp + cocos/physics/physx/joints/PhysXJoint.h + cocos/physics/physx/joints/PhysXJoint.cpp + cocos/physics/physx/joints/PhysXRevolute.h + cocos/physics/physx/joints/PhysXRevolute.cpp + cocos/physics/physx/joints/PhysXDistance.h + cocos/physics/physx/joints/PhysXDistance.cpp + cocos/bindings/auto/jsb_physics_auto.cpp + cocos/bindings/auto/jsb_physics_auto.h + ) +endif() + ##### script bindings ######## dop cocos_source_files( @@ -1668,6 +1739,7 @@ target_compile_definitions(cocos2d PUBLIC $,USE_MIDDLEWARE=1,USE_MIDDLEWARE=0> $,USE_SPINE=1,USE_SPINE=0> $,USE_DRAGONBONES=1,USE_DRAGONBONES=0> + $,USE_PHYSICS_PHYSX=1,USE_PHYSICS_PHYSX=0> $<$:SCRIPT_ENGINE_TYPE=3> $<$:CC_DEBUG=1> ) diff --git a/native/cocos/bindings/auto/jsb_physics_auto.cpp b/native/cocos/bindings/auto/jsb_physics_auto.cpp new file mode 100644 index 0000000000..ff181b0fa4 --- /dev/null +++ b/native/cocos/bindings/auto/jsb_physics_auto.cpp @@ -0,0 +1,4835 @@ +#include "cocos/bindings/auto/jsb_physics_auto.h" +#include "cocos/bindings/manual/jsb_conversions.h" +#include "cocos/bindings/manual/jsb_global.h" +#include "physics/PhysicsSDK.h" + +#ifndef JSB_ALLOC +#define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__) +#endif + +#ifndef JSB_FREE +#define JSB_FREE(ptr) delete ptr +#endif +se::Object* __jsb_cc_physics_World_proto = nullptr; +se::Class* __jsb_cc_physics_World_class = nullptr; + +static bool js_physics_World_createConvex(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_createConvex : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_createConvex : Error processing arguments"); + uintptr_t result = cobj->createConvex(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_createConvex : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_World_createConvex) + +static bool js_physics_World_createHeightField(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_createHeightField : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_createHeightField : Error processing arguments"); + uintptr_t result = cobj->createHeightField(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_createHeightField : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_World_createHeightField) + +static bool js_physics_World_createMaterial(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_createMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_createMaterial : Error processing arguments"); + uintptr_t result = cobj->createMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_createMaterial : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_World_createMaterial) + +static bool js_physics_World_createTrimesh(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_createTrimesh : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_createTrimesh : Error processing arguments"); + uintptr_t result = cobj->createTrimesh(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_createTrimesh : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_World_createTrimesh) + +static bool js_physics_World_destroy(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_destroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->destroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_World_destroy) + +static bool js_physics_World_emitEvents(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_emitEvents : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->emitEvents(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_World_emitEvents) + +static bool js_physics_World_getContactEventPairs(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_getContactEventPairs : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + std::vector>& result = cobj->getContactEventPairs(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_getContactEventPairs : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_World_getContactEventPairs) + +static bool js_physics_World_getTriggerEventPairs(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_getTriggerEventPairs : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + std::vector>& result = cobj->getTriggerEventPairs(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_getTriggerEventPairs : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_World_getTriggerEventPairs) + +static bool js_physics_World_raycast(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_raycast : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_raycast : Error processing arguments"); + bool result = cobj->raycast(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_raycast : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_World_raycast) + +static bool js_physics_World_raycastClosest(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_raycastClosest : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_raycastClosest : Error processing arguments"); + bool result = cobj->raycastClosest(arg0.value()); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_raycastClosest : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_World_raycastClosest) + +static bool js_physics_World_raycastClosestResult(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_raycastClosestResult : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::physics::RaycastResult& result = cobj->raycastClosestResult(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_raycastClosestResult : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_World_raycastClosestResult) + +static bool js_physics_World_raycastResult(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_raycastResult : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + std::vector& result = cobj->raycastResult(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_World_raycastResult : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_World_raycastResult) + +static bool js_physics_World_setAllowSleep(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_setAllowSleep : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_setAllowSleep : Error processing arguments"); + cobj->setAllowSleep(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_World_setAllowSleep) + +static bool js_physics_World_setCollisionMatrix(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_setCollisionMatrix : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 2) { + HolderType arg0 = {}; + HolderType arg1 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_setCollisionMatrix : Error processing arguments"); + cobj->setCollisionMatrix(arg0.value(), arg1.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 2); + return false; +} +SE_BIND_FUNC(js_physics_World_setCollisionMatrix) + +static bool js_physics_World_setGravity(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_setGravity : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_setGravity : Error processing arguments"); + cobj->setGravity(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_World_setGravity) + +static bool js_physics_World_step(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_step : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_World_step : Error processing arguments"); + cobj->step(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_World_step) + +static bool js_physics_World_syncSceneToPhysics(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_syncSceneToPhysics : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->syncSceneToPhysics(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_World_syncSceneToPhysics) + +static bool js_physics_World_syncSceneWithCheck(se::State& s) +{ + cc::physics::World* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_World_syncSceneWithCheck : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->syncSceneWithCheck(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_World_syncSceneWithCheck) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_World_finalize) + +static bool js_physics_World_constructor(se::State& s) // constructor.c +{ + cc::physics::World* cobj = JSB_ALLOC(cc::physics::World); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_World_constructor, __jsb_cc_physics_World_class, js_cc_physics_World_finalize) + + + + +static bool js_cc_physics_World_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::World* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_World_finalize) + +bool js_register_physics_World(se::Object* obj) +{ + auto cls = se::Class::create("World", obj, nullptr, _SE(js_physics_World_constructor)); + + cls->defineFunction("createConvex", _SE(js_physics_World_createConvex)); + cls->defineFunction("createHeightField", _SE(js_physics_World_createHeightField)); + cls->defineFunction("createMaterial", _SE(js_physics_World_createMaterial)); + cls->defineFunction("createTrimesh", _SE(js_physics_World_createTrimesh)); + cls->defineFunction("destroy", _SE(js_physics_World_destroy)); + cls->defineFunction("emitEvents", _SE(js_physics_World_emitEvents)); + cls->defineFunction("getContactEventPairs", _SE(js_physics_World_getContactEventPairs)); + cls->defineFunction("getTriggerEventPairs", _SE(js_physics_World_getTriggerEventPairs)); + cls->defineFunction("raycast", _SE(js_physics_World_raycast)); + cls->defineFunction("raycastClosest", _SE(js_physics_World_raycastClosest)); + cls->defineFunction("raycastClosestResult", _SE(js_physics_World_raycastClosestResult)); + cls->defineFunction("raycastResult", _SE(js_physics_World_raycastResult)); + cls->defineFunction("setAllowSleep", _SE(js_physics_World_setAllowSleep)); + cls->defineFunction("setCollisionMatrix", _SE(js_physics_World_setCollisionMatrix)); + cls->defineFunction("setGravity", _SE(js_physics_World_setGravity)); + cls->defineFunction("step", _SE(js_physics_World_step)); + cls->defineFunction("syncSceneToPhysics", _SE(js_physics_World_syncSceneToPhysics)); + cls->defineFunction("syncSceneWithCheck", _SE(js_physics_World_syncSceneWithCheck)); + cls->defineFinalizeFunction(_SE(js_cc_physics_World_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_World_proto = cls->getProto(); + __jsb_cc_physics_World_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_RigidBody_proto = nullptr; +se::Class* __jsb_cc_physics_RigidBody_class = nullptr; + +static bool js_physics_RigidBody_applyForce(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_applyForce : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_applyForce : Error processing arguments"); + cobj->applyForce(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_applyForce) + +static bool js_physics_RigidBody_applyImpulse(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_applyImpulse : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_applyImpulse : Error processing arguments"); + cobj->applyImpulse(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_applyImpulse) + +static bool js_physics_RigidBody_applyLocalForce(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_applyLocalForce : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_applyLocalForce : Error processing arguments"); + cobj->applyLocalForce(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_applyLocalForce) + +static bool js_physics_RigidBody_applyLocalImpulse(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_applyLocalImpulse : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_applyLocalImpulse : Error processing arguments"); + cobj->applyLocalImpulse(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_applyLocalImpulse) + +static bool js_physics_RigidBody_applyLocalTorque(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_applyLocalTorque : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_applyLocalTorque : Error processing arguments"); + cobj->applyLocalTorque(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_applyLocalTorque) + +static bool js_physics_RigidBody_applyTorque(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_applyTorque : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_applyTorque : Error processing arguments"); + cobj->applyTorque(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_applyTorque) + +static bool js_physics_RigidBody_clearForces(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_clearForces : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->clearForces(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_clearForces) + +static bool js_physics_RigidBody_clearState(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_clearState : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->clearState(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_clearState) + +static bool js_physics_RigidBody_clearVelocity(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_clearVelocity : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->clearVelocity(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_clearVelocity) + +static bool js_physics_RigidBody_getAngularVelocity(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_getAngularVelocity : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::Vec3 result = cobj->getAngularVelocity(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getAngularVelocity : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_getAngularVelocity) + +static bool js_physics_RigidBody_getGroup(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_getGroup) + +static bool js_physics_RigidBody_getImpl(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_getImpl) + +static bool js_physics_RigidBody_getLinearVelocity(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_getLinearVelocity : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::Vec3 result = cobj->getLinearVelocity(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getLinearVelocity : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_getLinearVelocity) + +static bool js_physics_RigidBody_getMask(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_getMask) + +static bool js_physics_RigidBody_getNodeHandle(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_getNodeHandle : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const unsigned int result = cobj->getNodeHandle(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getNodeHandle : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_getNodeHandle) + +static bool js_physics_RigidBody_getSleepThreshold(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_getSleepThreshold : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + float result = cobj->getSleepThreshold(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getSleepThreshold : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_getSleepThreshold) + +static bool js_physics_RigidBody_initialize(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_initialize : Error processing arguments"); + cobj->initialize(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_initialize) + +static bool js_physics_RigidBody_isAwake(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_isAwake : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + bool result = cobj->isAwake(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_isAwake : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_isAwake) + +static bool js_physics_RigidBody_isSleeping(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_isSleeping : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + bool result = cobj->isSleeping(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_isSleeping : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_isSleeping) + +static bool js_physics_RigidBody_isSleepy(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_isSleepy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + bool result = cobj->isSleepy(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_isSleepy : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_isSleepy) + +static bool js_physics_RigidBody_onDestroy(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_onDestroy) + +static bool js_physics_RigidBody_onDisable(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_onDisable) + +static bool js_physics_RigidBody_onEnable(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_onEnable) + +static bool js_physics_RigidBody_setAllowSleep(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setAllowSleep : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setAllowSleep : Error processing arguments"); + cobj->setAllowSleep(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setAllowSleep) + +static bool js_physics_RigidBody_setAngularDamping(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setAngularDamping : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setAngularDamping : Error processing arguments"); + cobj->setAngularDamping(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setAngularDamping) + +static bool js_physics_RigidBody_setAngularFactor(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setAngularFactor : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setAngularFactor : Error processing arguments"); + cobj->setAngularFactor(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setAngularFactor) + +static bool js_physics_RigidBody_setAngularVelocity(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setAngularVelocity : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setAngularVelocity : Error processing arguments"); + cobj->setAngularVelocity(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setAngularVelocity) + +static bool js_physics_RigidBody_setGroup(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setGroup) + +static bool js_physics_RigidBody_setLinearDamping(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setLinearDamping : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setLinearDamping : Error processing arguments"); + cobj->setLinearDamping(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setLinearDamping) + +static bool js_physics_RigidBody_setLinearFactor(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setLinearFactor : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setLinearFactor : Error processing arguments"); + cobj->setLinearFactor(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setLinearFactor) + +static bool js_physics_RigidBody_setLinearVelocity(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setLinearVelocity : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setLinearVelocity : Error processing arguments"); + cobj->setLinearVelocity(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setLinearVelocity) + +static bool js_physics_RigidBody_setMask(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setMask) + +static bool js_physics_RigidBody_setMass(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setMass : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setMass : Error processing arguments"); + cobj->setMass(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setMass) + +static bool js_physics_RigidBody_setSleepThreshold(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setSleepThreshold : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setSleepThreshold : Error processing arguments"); + cobj->setSleepThreshold(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setSleepThreshold) + +static bool js_physics_RigidBody_setType(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_setType : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_setType : Error processing arguments"); + cobj->setType(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_setType) + +static bool js_physics_RigidBody_sleep(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_sleep : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->sleep(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_sleep) + +static bool js_physics_RigidBody_useGravity(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_useGravity : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RigidBody_useGravity : Error processing arguments"); + cobj->useGravity(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_useGravity) + +static bool js_physics_RigidBody_wakeUp(se::State& s) +{ + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RigidBody_wakeUp : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->wakeUp(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RigidBody_wakeUp) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_RigidBody_finalize) + +static bool js_physics_RigidBody_constructor(se::State& s) // constructor.c +{ + cc::physics::RigidBody* cobj = JSB_ALLOC(cc::physics::RigidBody); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_RigidBody_constructor, __jsb_cc_physics_RigidBody_class, js_cc_physics_RigidBody_finalize) + + + + +static bool js_cc_physics_RigidBody_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::RigidBody* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_RigidBody_finalize) + +bool js_register_physics_RigidBody(se::Object* obj) +{ + auto cls = se::Class::create("RigidBody", obj, nullptr, _SE(js_physics_RigidBody_constructor)); + + cls->defineFunction("applyForce", _SE(js_physics_RigidBody_applyForce)); + cls->defineFunction("applyImpulse", _SE(js_physics_RigidBody_applyImpulse)); + cls->defineFunction("applyLocalForce", _SE(js_physics_RigidBody_applyLocalForce)); + cls->defineFunction("applyLocalImpulse", _SE(js_physics_RigidBody_applyLocalImpulse)); + cls->defineFunction("applyLocalTorque", _SE(js_physics_RigidBody_applyLocalTorque)); + cls->defineFunction("applyTorque", _SE(js_physics_RigidBody_applyTorque)); + cls->defineFunction("clearForces", _SE(js_physics_RigidBody_clearForces)); + cls->defineFunction("clearState", _SE(js_physics_RigidBody_clearState)); + cls->defineFunction("clearVelocity", _SE(js_physics_RigidBody_clearVelocity)); + cls->defineFunction("getAngularVelocity", _SE(js_physics_RigidBody_getAngularVelocity)); + cls->defineFunction("getGroup", _SE(js_physics_RigidBody_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_RigidBody_getImpl)); + cls->defineFunction("getLinearVelocity", _SE(js_physics_RigidBody_getLinearVelocity)); + cls->defineFunction("getMask", _SE(js_physics_RigidBody_getMask)); + cls->defineFunction("getNodeHandle", _SE(js_physics_RigidBody_getNodeHandle)); + cls->defineFunction("getSleepThreshold", _SE(js_physics_RigidBody_getSleepThreshold)); + cls->defineFunction("initialize", _SE(js_physics_RigidBody_initialize)); + cls->defineFunction("isAwake", _SE(js_physics_RigidBody_isAwake)); + cls->defineFunction("isSleeping", _SE(js_physics_RigidBody_isSleeping)); + cls->defineFunction("isSleepy", _SE(js_physics_RigidBody_isSleepy)); + cls->defineFunction("onDestroy", _SE(js_physics_RigidBody_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_RigidBody_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_RigidBody_onEnable)); + cls->defineFunction("setAllowSleep", _SE(js_physics_RigidBody_setAllowSleep)); + cls->defineFunction("setAngularDamping", _SE(js_physics_RigidBody_setAngularDamping)); + cls->defineFunction("setAngularFactor", _SE(js_physics_RigidBody_setAngularFactor)); + cls->defineFunction("setAngularVelocity", _SE(js_physics_RigidBody_setAngularVelocity)); + cls->defineFunction("setGroup", _SE(js_physics_RigidBody_setGroup)); + cls->defineFunction("setLinearDamping", _SE(js_physics_RigidBody_setLinearDamping)); + cls->defineFunction("setLinearFactor", _SE(js_physics_RigidBody_setLinearFactor)); + cls->defineFunction("setLinearVelocity", _SE(js_physics_RigidBody_setLinearVelocity)); + cls->defineFunction("setMask", _SE(js_physics_RigidBody_setMask)); + cls->defineFunction("setMass", _SE(js_physics_RigidBody_setMass)); + cls->defineFunction("setSleepThreshold", _SE(js_physics_RigidBody_setSleepThreshold)); + cls->defineFunction("setType", _SE(js_physics_RigidBody_setType)); + cls->defineFunction("sleep", _SE(js_physics_RigidBody_sleep)); + cls->defineFunction("useGravity", _SE(js_physics_RigidBody_useGravity)); + cls->defineFunction("wakeUp", _SE(js_physics_RigidBody_wakeUp)); + cls->defineFinalizeFunction(_SE(js_cc_physics_RigidBody_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_RigidBody_proto = cls->getProto(); + __jsb_cc_physics_RigidBody_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_SphereShape_proto = nullptr; +se::Class* __jsb_cc_physics_SphereShape_class = nullptr; + +static bool js_physics_SphereShape_getAABB(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_getAABB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::AABB& result = cobj->getAABB(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_getAABB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_getAABB) + +static bool js_physics_SphereShape_getBoundingSphere(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_getBoundingSphere : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::Sphere& result = cobj->getBoundingSphere(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_getBoundingSphere : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_getBoundingSphere) + +static bool js_physics_SphereShape_getGroup(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_getGroup) + +static bool js_physics_SphereShape_getImpl(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_getImpl) + +static bool js_physics_SphereShape_getMask(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_getMask) + +static bool js_physics_SphereShape_initialize(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_initialize) + +static bool js_physics_SphereShape_onDestroy(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_onDestroy) + +static bool js_physics_SphereShape_onDisable(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_onDisable) + +static bool js_physics_SphereShape_onEnable(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_onEnable) + +static bool js_physics_SphereShape_setAsTrigger(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_setAsTrigger : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_setAsTrigger : Error processing arguments"); + cobj->setAsTrigger(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_setAsTrigger) + +static bool js_physics_SphereShape_setCenter(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_setCenter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_setCenter : Error processing arguments"); + cobj->setCenter(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_setCenter) + +static bool js_physics_SphereShape_setGroup(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_setGroup) + +static bool js_physics_SphereShape_setMask(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_setMask) + +static bool js_physics_SphereShape_setMaterial(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_setMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_setMaterial : Error processing arguments"); + cobj->setMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_setMaterial) + +static bool js_physics_SphereShape_setRadius(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_setRadius : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_setRadius : Error processing arguments"); + cobj->setRadius(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_setRadius) + +static bool js_physics_SphereShape_updateEventListener(se::State& s) +{ + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_SphereShape_updateEventListener : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_SphereShape_updateEventListener : Error processing arguments"); + cobj->updateEventListener(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_SphereShape_updateEventListener) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_SphereShape_finalize) + +static bool js_physics_SphereShape_constructor(se::State& s) // constructor.c +{ + cc::physics::SphereShape* cobj = JSB_ALLOC(cc::physics::SphereShape); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_SphereShape_constructor, __jsb_cc_physics_SphereShape_class, js_cc_physics_SphereShape_finalize) + + + + +static bool js_cc_physics_SphereShape_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::SphereShape* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_SphereShape_finalize) + +bool js_register_physics_SphereShape(se::Object* obj) +{ + auto cls = se::Class::create("SphereShape", obj, nullptr, _SE(js_physics_SphereShape_constructor)); + + cls->defineFunction("getAABB", _SE(js_physics_SphereShape_getAABB)); + cls->defineFunction("getBoundingSphere", _SE(js_physics_SphereShape_getBoundingSphere)); + cls->defineFunction("getGroup", _SE(js_physics_SphereShape_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_SphereShape_getImpl)); + cls->defineFunction("getMask", _SE(js_physics_SphereShape_getMask)); + cls->defineFunction("initialize", _SE(js_physics_SphereShape_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_SphereShape_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_SphereShape_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_SphereShape_onEnable)); + cls->defineFunction("setAsTrigger", _SE(js_physics_SphereShape_setAsTrigger)); + cls->defineFunction("setCenter", _SE(js_physics_SphereShape_setCenter)); + cls->defineFunction("setGroup", _SE(js_physics_SphereShape_setGroup)); + cls->defineFunction("setMask", _SE(js_physics_SphereShape_setMask)); + cls->defineFunction("setMaterial", _SE(js_physics_SphereShape_setMaterial)); + cls->defineFunction("setRadius", _SE(js_physics_SphereShape_setRadius)); + cls->defineFunction("updateEventListener", _SE(js_physics_SphereShape_updateEventListener)); + cls->defineFinalizeFunction(_SE(js_cc_physics_SphereShape_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_SphereShape_proto = cls->getProto(); + __jsb_cc_physics_SphereShape_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_BoxShape_proto = nullptr; +se::Class* __jsb_cc_physics_BoxShape_class = nullptr; + +static bool js_physics_BoxShape_getAABB(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_getAABB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::AABB& result = cobj->getAABB(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_getAABB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_getAABB) + +static bool js_physics_BoxShape_getBoundingSphere(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_getBoundingSphere : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::Sphere& result = cobj->getBoundingSphere(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_getBoundingSphere : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_getBoundingSphere) + +static bool js_physics_BoxShape_getGroup(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_getGroup) + +static bool js_physics_BoxShape_getImpl(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_getImpl) + +static bool js_physics_BoxShape_getMask(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_getMask) + +static bool js_physics_BoxShape_initialize(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_initialize) + +static bool js_physics_BoxShape_onDestroy(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_onDestroy) + +static bool js_physics_BoxShape_onDisable(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_onDisable) + +static bool js_physics_BoxShape_onEnable(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_onEnable) + +static bool js_physics_BoxShape_setAsTrigger(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_setAsTrigger : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_setAsTrigger : Error processing arguments"); + cobj->setAsTrigger(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_setAsTrigger) + +static bool js_physics_BoxShape_setCenter(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_setCenter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_setCenter : Error processing arguments"); + cobj->setCenter(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_setCenter) + +static bool js_physics_BoxShape_setGroup(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_setGroup) + +static bool js_physics_BoxShape_setMask(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_setMask) + +static bool js_physics_BoxShape_setMaterial(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_setMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_setMaterial : Error processing arguments"); + cobj->setMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_setMaterial) + +static bool js_physics_BoxShape_setSize(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_setSize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_setSize : Error processing arguments"); + cobj->setSize(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_setSize) + +static bool js_physics_BoxShape_updateEventListener(se::State& s) +{ + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_BoxShape_updateEventListener : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_BoxShape_updateEventListener : Error processing arguments"); + cobj->updateEventListener(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_BoxShape_updateEventListener) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_BoxShape_finalize) + +static bool js_physics_BoxShape_constructor(se::State& s) // constructor.c +{ + cc::physics::BoxShape* cobj = JSB_ALLOC(cc::physics::BoxShape); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_BoxShape_constructor, __jsb_cc_physics_BoxShape_class, js_cc_physics_BoxShape_finalize) + + + + +static bool js_cc_physics_BoxShape_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::BoxShape* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_BoxShape_finalize) + +bool js_register_physics_BoxShape(se::Object* obj) +{ + auto cls = se::Class::create("BoxShape", obj, nullptr, _SE(js_physics_BoxShape_constructor)); + + cls->defineFunction("getAABB", _SE(js_physics_BoxShape_getAABB)); + cls->defineFunction("getBoundingSphere", _SE(js_physics_BoxShape_getBoundingSphere)); + cls->defineFunction("getGroup", _SE(js_physics_BoxShape_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_BoxShape_getImpl)); + cls->defineFunction("getMask", _SE(js_physics_BoxShape_getMask)); + cls->defineFunction("initialize", _SE(js_physics_BoxShape_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_BoxShape_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_BoxShape_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_BoxShape_onEnable)); + cls->defineFunction("setAsTrigger", _SE(js_physics_BoxShape_setAsTrigger)); + cls->defineFunction("setCenter", _SE(js_physics_BoxShape_setCenter)); + cls->defineFunction("setGroup", _SE(js_physics_BoxShape_setGroup)); + cls->defineFunction("setMask", _SE(js_physics_BoxShape_setMask)); + cls->defineFunction("setMaterial", _SE(js_physics_BoxShape_setMaterial)); + cls->defineFunction("setSize", _SE(js_physics_BoxShape_setSize)); + cls->defineFunction("updateEventListener", _SE(js_physics_BoxShape_updateEventListener)); + cls->defineFinalizeFunction(_SE(js_cc_physics_BoxShape_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_BoxShape_proto = cls->getProto(); + __jsb_cc_physics_BoxShape_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_CapsuleShape_proto = nullptr; +se::Class* __jsb_cc_physics_CapsuleShape_class = nullptr; + +static bool js_physics_CapsuleShape_getAABB(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_getAABB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::AABB& result = cobj->getAABB(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_getAABB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_getAABB) + +static bool js_physics_CapsuleShape_getBoundingSphere(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_getBoundingSphere : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::Sphere& result = cobj->getBoundingSphere(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_getBoundingSphere : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_getBoundingSphere) + +static bool js_physics_CapsuleShape_getGroup(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_getGroup) + +static bool js_physics_CapsuleShape_getImpl(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_getImpl) + +static bool js_physics_CapsuleShape_getMask(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_getMask) + +static bool js_physics_CapsuleShape_initialize(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_initialize) + +static bool js_physics_CapsuleShape_onDestroy(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_onDestroy) + +static bool js_physics_CapsuleShape_onDisable(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_onDisable) + +static bool js_physics_CapsuleShape_onEnable(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_onEnable) + +static bool js_physics_CapsuleShape_setAsTrigger(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_setAsTrigger : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_setAsTrigger : Error processing arguments"); + cobj->setAsTrigger(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_setAsTrigger) + +static bool js_physics_CapsuleShape_setCenter(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_setCenter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_setCenter : Error processing arguments"); + cobj->setCenter(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_setCenter) + +static bool js_physics_CapsuleShape_setCylinderHeight(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_setCylinderHeight : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_setCylinderHeight : Error processing arguments"); + cobj->setCylinderHeight(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_setCylinderHeight) + +static bool js_physics_CapsuleShape_setDirection(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_setDirection : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_setDirection : Error processing arguments"); + cobj->setDirection(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_setDirection) + +static bool js_physics_CapsuleShape_setGroup(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_setGroup) + +static bool js_physics_CapsuleShape_setMask(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_setMask) + +static bool js_physics_CapsuleShape_setMaterial(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_setMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_setMaterial : Error processing arguments"); + cobj->setMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_setMaterial) + +static bool js_physics_CapsuleShape_setRadius(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_setRadius : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_setRadius : Error processing arguments"); + cobj->setRadius(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_setRadius) + +static bool js_physics_CapsuleShape_updateEventListener(se::State& s) +{ + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CapsuleShape_updateEventListener : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CapsuleShape_updateEventListener : Error processing arguments"); + cobj->updateEventListener(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CapsuleShape_updateEventListener) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_CapsuleShape_finalize) + +static bool js_physics_CapsuleShape_constructor(se::State& s) // constructor.c +{ + cc::physics::CapsuleShape* cobj = JSB_ALLOC(cc::physics::CapsuleShape); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_CapsuleShape_constructor, __jsb_cc_physics_CapsuleShape_class, js_cc_physics_CapsuleShape_finalize) + + + + +static bool js_cc_physics_CapsuleShape_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::CapsuleShape* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_CapsuleShape_finalize) + +bool js_register_physics_CapsuleShape(se::Object* obj) +{ + auto cls = se::Class::create("CapsuleShape", obj, nullptr, _SE(js_physics_CapsuleShape_constructor)); + + cls->defineFunction("getAABB", _SE(js_physics_CapsuleShape_getAABB)); + cls->defineFunction("getBoundingSphere", _SE(js_physics_CapsuleShape_getBoundingSphere)); + cls->defineFunction("getGroup", _SE(js_physics_CapsuleShape_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_CapsuleShape_getImpl)); + cls->defineFunction("getMask", _SE(js_physics_CapsuleShape_getMask)); + cls->defineFunction("initialize", _SE(js_physics_CapsuleShape_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_CapsuleShape_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_CapsuleShape_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_CapsuleShape_onEnable)); + cls->defineFunction("setAsTrigger", _SE(js_physics_CapsuleShape_setAsTrigger)); + cls->defineFunction("setCenter", _SE(js_physics_CapsuleShape_setCenter)); + cls->defineFunction("setCylinderHeight", _SE(js_physics_CapsuleShape_setCylinderHeight)); + cls->defineFunction("setDirection", _SE(js_physics_CapsuleShape_setDirection)); + cls->defineFunction("setGroup", _SE(js_physics_CapsuleShape_setGroup)); + cls->defineFunction("setMask", _SE(js_physics_CapsuleShape_setMask)); + cls->defineFunction("setMaterial", _SE(js_physics_CapsuleShape_setMaterial)); + cls->defineFunction("setRadius", _SE(js_physics_CapsuleShape_setRadius)); + cls->defineFunction("updateEventListener", _SE(js_physics_CapsuleShape_updateEventListener)); + cls->defineFinalizeFunction(_SE(js_cc_physics_CapsuleShape_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_CapsuleShape_proto = cls->getProto(); + __jsb_cc_physics_CapsuleShape_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_PlaneShape_proto = nullptr; +se::Class* __jsb_cc_physics_PlaneShape_class = nullptr; + +static bool js_physics_PlaneShape_getAABB(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_getAABB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::AABB& result = cobj->getAABB(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_getAABB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_getAABB) + +static bool js_physics_PlaneShape_getBoundingSphere(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_getBoundingSphere : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::Sphere& result = cobj->getBoundingSphere(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_getBoundingSphere : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_getBoundingSphere) + +static bool js_physics_PlaneShape_getGroup(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_getGroup) + +static bool js_physics_PlaneShape_getImpl(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_getImpl) + +static bool js_physics_PlaneShape_getMask(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_getMask) + +static bool js_physics_PlaneShape_initialize(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_initialize) + +static bool js_physics_PlaneShape_onDestroy(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_onDestroy) + +static bool js_physics_PlaneShape_onDisable(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_onDisable) + +static bool js_physics_PlaneShape_onEnable(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_onEnable) + +static bool js_physics_PlaneShape_setAsTrigger(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_setAsTrigger : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_setAsTrigger : Error processing arguments"); + cobj->setAsTrigger(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_setAsTrigger) + +static bool js_physics_PlaneShape_setCenter(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_setCenter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_setCenter : Error processing arguments"); + cobj->setCenter(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_setCenter) + +static bool js_physics_PlaneShape_setConstant(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_setConstant : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_setConstant : Error processing arguments"); + cobj->setConstant(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_setConstant) + +static bool js_physics_PlaneShape_setGroup(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_setGroup) + +static bool js_physics_PlaneShape_setMask(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_setMask) + +static bool js_physics_PlaneShape_setMaterial(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_setMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_setMaterial : Error processing arguments"); + cobj->setMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_setMaterial) + +static bool js_physics_PlaneShape_setNormal(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_setNormal : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_setNormal : Error processing arguments"); + cobj->setNormal(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_setNormal) + +static bool js_physics_PlaneShape_updateEventListener(se::State& s) +{ + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_PlaneShape_updateEventListener : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_PlaneShape_updateEventListener : Error processing arguments"); + cobj->updateEventListener(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_PlaneShape_updateEventListener) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_PlaneShape_finalize) + +static bool js_physics_PlaneShape_constructor(se::State& s) // constructor.c +{ + cc::physics::PlaneShape* cobj = JSB_ALLOC(cc::physics::PlaneShape); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_PlaneShape_constructor, __jsb_cc_physics_PlaneShape_class, js_cc_physics_PlaneShape_finalize) + + + + +static bool js_cc_physics_PlaneShape_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::PlaneShape* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_PlaneShape_finalize) + +bool js_register_physics_PlaneShape(se::Object* obj) +{ + auto cls = se::Class::create("PlaneShape", obj, nullptr, _SE(js_physics_PlaneShape_constructor)); + + cls->defineFunction("getAABB", _SE(js_physics_PlaneShape_getAABB)); + cls->defineFunction("getBoundingSphere", _SE(js_physics_PlaneShape_getBoundingSphere)); + cls->defineFunction("getGroup", _SE(js_physics_PlaneShape_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_PlaneShape_getImpl)); + cls->defineFunction("getMask", _SE(js_physics_PlaneShape_getMask)); + cls->defineFunction("initialize", _SE(js_physics_PlaneShape_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_PlaneShape_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_PlaneShape_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_PlaneShape_onEnable)); + cls->defineFunction("setAsTrigger", _SE(js_physics_PlaneShape_setAsTrigger)); + cls->defineFunction("setCenter", _SE(js_physics_PlaneShape_setCenter)); + cls->defineFunction("setConstant", _SE(js_physics_PlaneShape_setConstant)); + cls->defineFunction("setGroup", _SE(js_physics_PlaneShape_setGroup)); + cls->defineFunction("setMask", _SE(js_physics_PlaneShape_setMask)); + cls->defineFunction("setMaterial", _SE(js_physics_PlaneShape_setMaterial)); + cls->defineFunction("setNormal", _SE(js_physics_PlaneShape_setNormal)); + cls->defineFunction("updateEventListener", _SE(js_physics_PlaneShape_updateEventListener)); + cls->defineFinalizeFunction(_SE(js_cc_physics_PlaneShape_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_PlaneShape_proto = cls->getProto(); + __jsb_cc_physics_PlaneShape_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_TrimeshShape_proto = nullptr; +se::Class* __jsb_cc_physics_TrimeshShape_class = nullptr; + +static bool js_physics_TrimeshShape_getAABB(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_getAABB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::AABB& result = cobj->getAABB(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_getAABB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_getAABB) + +static bool js_physics_TrimeshShape_getBoundingSphere(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_getBoundingSphere : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::Sphere& result = cobj->getBoundingSphere(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_getBoundingSphere : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_getBoundingSphere) + +static bool js_physics_TrimeshShape_getGroup(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_getGroup) + +static bool js_physics_TrimeshShape_getImpl(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_getImpl) + +static bool js_physics_TrimeshShape_getMask(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_getMask) + +static bool js_physics_TrimeshShape_initialize(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_initialize) + +static bool js_physics_TrimeshShape_onDestroy(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_onDestroy) + +static bool js_physics_TrimeshShape_onDisable(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_onDisable) + +static bool js_physics_TrimeshShape_onEnable(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_onEnable) + +static bool js_physics_TrimeshShape_setAsTrigger(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_setAsTrigger : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_setAsTrigger : Error processing arguments"); + cobj->setAsTrigger(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_setAsTrigger) + +static bool js_physics_TrimeshShape_setCenter(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_setCenter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_setCenter : Error processing arguments"); + cobj->setCenter(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_setCenter) + +static bool js_physics_TrimeshShape_setGroup(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_setGroup) + +static bool js_physics_TrimeshShape_setMask(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_setMask) + +static bool js_physics_TrimeshShape_setMaterial(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_setMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_setMaterial : Error processing arguments"); + cobj->setMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_setMaterial) + +static bool js_physics_TrimeshShape_setMesh(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_setMesh : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_setMesh : Error processing arguments"); + cobj->setMesh(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_setMesh) + +static bool js_physics_TrimeshShape_updateEventListener(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_updateEventListener : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_updateEventListener : Error processing arguments"); + cobj->updateEventListener(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_updateEventListener) + +static bool js_physics_TrimeshShape_useConvex(se::State& s) +{ + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TrimeshShape_useConvex : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TrimeshShape_useConvex : Error processing arguments"); + cobj->useConvex(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TrimeshShape_useConvex) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_TrimeshShape_finalize) + +static bool js_physics_TrimeshShape_constructor(se::State& s) // constructor.c +{ + cc::physics::TrimeshShape* cobj = JSB_ALLOC(cc::physics::TrimeshShape); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_TrimeshShape_constructor, __jsb_cc_physics_TrimeshShape_class, js_cc_physics_TrimeshShape_finalize) + + + + +static bool js_cc_physics_TrimeshShape_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::TrimeshShape* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_TrimeshShape_finalize) + +bool js_register_physics_TrimeshShape(se::Object* obj) +{ + auto cls = se::Class::create("TrimeshShape", obj, nullptr, _SE(js_physics_TrimeshShape_constructor)); + + cls->defineFunction("getAABB", _SE(js_physics_TrimeshShape_getAABB)); + cls->defineFunction("getBoundingSphere", _SE(js_physics_TrimeshShape_getBoundingSphere)); + cls->defineFunction("getGroup", _SE(js_physics_TrimeshShape_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_TrimeshShape_getImpl)); + cls->defineFunction("getMask", _SE(js_physics_TrimeshShape_getMask)); + cls->defineFunction("initialize", _SE(js_physics_TrimeshShape_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_TrimeshShape_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_TrimeshShape_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_TrimeshShape_onEnable)); + cls->defineFunction("setAsTrigger", _SE(js_physics_TrimeshShape_setAsTrigger)); + cls->defineFunction("setCenter", _SE(js_physics_TrimeshShape_setCenter)); + cls->defineFunction("setGroup", _SE(js_physics_TrimeshShape_setGroup)); + cls->defineFunction("setMask", _SE(js_physics_TrimeshShape_setMask)); + cls->defineFunction("setMaterial", _SE(js_physics_TrimeshShape_setMaterial)); + cls->defineFunction("setMesh", _SE(js_physics_TrimeshShape_setMesh)); + cls->defineFunction("updateEventListener", _SE(js_physics_TrimeshShape_updateEventListener)); + cls->defineFunction("useConvex", _SE(js_physics_TrimeshShape_useConvex)); + cls->defineFinalizeFunction(_SE(js_cc_physics_TrimeshShape_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_TrimeshShape_proto = cls->getProto(); + __jsb_cc_physics_TrimeshShape_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_CylinderShape_proto = nullptr; +se::Class* __jsb_cc_physics_CylinderShape_class = nullptr; + +static bool js_physics_CylinderShape_getAABB(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_getAABB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::AABB& result = cobj->getAABB(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_getAABB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_getAABB) + +static bool js_physics_CylinderShape_getBoundingSphere(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_getBoundingSphere : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::Sphere& result = cobj->getBoundingSphere(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_getBoundingSphere : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_getBoundingSphere) + +static bool js_physics_CylinderShape_getGroup(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_getGroup) + +static bool js_physics_CylinderShape_getImpl(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_getImpl) + +static bool js_physics_CylinderShape_getMask(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_getMask) + +static bool js_physics_CylinderShape_initialize(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_initialize) + +static bool js_physics_CylinderShape_onDestroy(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_onDestroy) + +static bool js_physics_CylinderShape_onDisable(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_onDisable) + +static bool js_physics_CylinderShape_onEnable(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_onEnable) + +static bool js_physics_CylinderShape_setAsTrigger(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_setAsTrigger : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_setAsTrigger : Error processing arguments"); + cobj->setAsTrigger(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_setAsTrigger) + +static bool js_physics_CylinderShape_setCenter(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_setCenter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_setCenter : Error processing arguments"); + cobj->setCenter(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_setCenter) + +static bool js_physics_CylinderShape_setConvex(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_setConvex : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_setConvex : Error processing arguments"); + cobj->setConvex(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_setConvex) + +static bool js_physics_CylinderShape_setCylinder(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_setCylinder : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_setCylinder : Error processing arguments"); + cobj->setCylinder(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_setCylinder) + +static bool js_physics_CylinderShape_setGroup(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_setGroup) + +static bool js_physics_CylinderShape_setMask(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_setMask) + +static bool js_physics_CylinderShape_setMaterial(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_setMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_setMaterial : Error processing arguments"); + cobj->setMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_setMaterial) + +static bool js_physics_CylinderShape_updateEventListener(se::State& s) +{ + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_CylinderShape_updateEventListener : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_CylinderShape_updateEventListener : Error processing arguments"); + cobj->updateEventListener(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_CylinderShape_updateEventListener) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_CylinderShape_finalize) + +static bool js_physics_CylinderShape_constructor(se::State& s) // constructor.c +{ + cc::physics::CylinderShape* cobj = JSB_ALLOC(cc::physics::CylinderShape); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_CylinderShape_constructor, __jsb_cc_physics_CylinderShape_class, js_cc_physics_CylinderShape_finalize) + + + + +static bool js_cc_physics_CylinderShape_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::CylinderShape* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_CylinderShape_finalize) + +bool js_register_physics_CylinderShape(se::Object* obj) +{ + auto cls = se::Class::create("CylinderShape", obj, nullptr, _SE(js_physics_CylinderShape_constructor)); + + cls->defineFunction("getAABB", _SE(js_physics_CylinderShape_getAABB)); + cls->defineFunction("getBoundingSphere", _SE(js_physics_CylinderShape_getBoundingSphere)); + cls->defineFunction("getGroup", _SE(js_physics_CylinderShape_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_CylinderShape_getImpl)); + cls->defineFunction("getMask", _SE(js_physics_CylinderShape_getMask)); + cls->defineFunction("initialize", _SE(js_physics_CylinderShape_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_CylinderShape_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_CylinderShape_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_CylinderShape_onEnable)); + cls->defineFunction("setAsTrigger", _SE(js_physics_CylinderShape_setAsTrigger)); + cls->defineFunction("setCenter", _SE(js_physics_CylinderShape_setCenter)); + cls->defineFunction("setConvex", _SE(js_physics_CylinderShape_setConvex)); + cls->defineFunction("setCylinder", _SE(js_physics_CylinderShape_setCylinder)); + cls->defineFunction("setGroup", _SE(js_physics_CylinderShape_setGroup)); + cls->defineFunction("setMask", _SE(js_physics_CylinderShape_setMask)); + cls->defineFunction("setMaterial", _SE(js_physics_CylinderShape_setMaterial)); + cls->defineFunction("updateEventListener", _SE(js_physics_CylinderShape_updateEventListener)); + cls->defineFinalizeFunction(_SE(js_cc_physics_CylinderShape_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_CylinderShape_proto = cls->getProto(); + __jsb_cc_physics_CylinderShape_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_ConeShape_proto = nullptr; +se::Class* __jsb_cc_physics_ConeShape_class = nullptr; + +static bool js_physics_ConeShape_getAABB(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_getAABB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::AABB& result = cobj->getAABB(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_getAABB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_getAABB) + +static bool js_physics_ConeShape_getBoundingSphere(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_getBoundingSphere : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::Sphere& result = cobj->getBoundingSphere(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_getBoundingSphere : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_getBoundingSphere) + +static bool js_physics_ConeShape_getGroup(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_getGroup) + +static bool js_physics_ConeShape_getImpl(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_getImpl) + +static bool js_physics_ConeShape_getMask(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_getMask) + +static bool js_physics_ConeShape_initialize(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_initialize) + +static bool js_physics_ConeShape_onDestroy(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_onDestroy) + +static bool js_physics_ConeShape_onDisable(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_onDisable) + +static bool js_physics_ConeShape_onEnable(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_onEnable) + +static bool js_physics_ConeShape_setAsTrigger(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_setAsTrigger : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_setAsTrigger : Error processing arguments"); + cobj->setAsTrigger(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_setAsTrigger) + +static bool js_physics_ConeShape_setCenter(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_setCenter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_setCenter : Error processing arguments"); + cobj->setCenter(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_setCenter) + +static bool js_physics_ConeShape_setCone(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_setCone : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_setCone : Error processing arguments"); + cobj->setCone(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_setCone) + +static bool js_physics_ConeShape_setConvex(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_setConvex : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_setConvex : Error processing arguments"); + cobj->setConvex(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_setConvex) + +static bool js_physics_ConeShape_setGroup(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_setGroup) + +static bool js_physics_ConeShape_setMask(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_setMask) + +static bool js_physics_ConeShape_setMaterial(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_setMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_setMaterial : Error processing arguments"); + cobj->setMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_setMaterial) + +static bool js_physics_ConeShape_updateEventListener(se::State& s) +{ + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_ConeShape_updateEventListener : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_ConeShape_updateEventListener : Error processing arguments"); + cobj->updateEventListener(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_ConeShape_updateEventListener) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_ConeShape_finalize) + +static bool js_physics_ConeShape_constructor(se::State& s) // constructor.c +{ + cc::physics::ConeShape* cobj = JSB_ALLOC(cc::physics::ConeShape); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_ConeShape_constructor, __jsb_cc_physics_ConeShape_class, js_cc_physics_ConeShape_finalize) + + + + +static bool js_cc_physics_ConeShape_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::ConeShape* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_ConeShape_finalize) + +bool js_register_physics_ConeShape(se::Object* obj) +{ + auto cls = se::Class::create("ConeShape", obj, nullptr, _SE(js_physics_ConeShape_constructor)); + + cls->defineFunction("getAABB", _SE(js_physics_ConeShape_getAABB)); + cls->defineFunction("getBoundingSphere", _SE(js_physics_ConeShape_getBoundingSphere)); + cls->defineFunction("getGroup", _SE(js_physics_ConeShape_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_ConeShape_getImpl)); + cls->defineFunction("getMask", _SE(js_physics_ConeShape_getMask)); + cls->defineFunction("initialize", _SE(js_physics_ConeShape_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_ConeShape_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_ConeShape_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_ConeShape_onEnable)); + cls->defineFunction("setAsTrigger", _SE(js_physics_ConeShape_setAsTrigger)); + cls->defineFunction("setCenter", _SE(js_physics_ConeShape_setCenter)); + cls->defineFunction("setCone", _SE(js_physics_ConeShape_setCone)); + cls->defineFunction("setConvex", _SE(js_physics_ConeShape_setConvex)); + cls->defineFunction("setGroup", _SE(js_physics_ConeShape_setGroup)); + cls->defineFunction("setMask", _SE(js_physics_ConeShape_setMask)); + cls->defineFunction("setMaterial", _SE(js_physics_ConeShape_setMaterial)); + cls->defineFunction("updateEventListener", _SE(js_physics_ConeShape_updateEventListener)); + cls->defineFinalizeFunction(_SE(js_cc_physics_ConeShape_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_ConeShape_proto = cls->getProto(); + __jsb_cc_physics_ConeShape_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_TerrainShape_proto = nullptr; +se::Class* __jsb_cc_physics_TerrainShape_class = nullptr; + +static bool js_physics_TerrainShape_getAABB(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_getAABB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::AABB& result = cobj->getAABB(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_getAABB : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_getAABB) + +static bool js_physics_TerrainShape_getBoundingSphere(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_getBoundingSphere : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + cc::pipeline::Sphere& result = cobj->getBoundingSphere(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_getBoundingSphere : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_getBoundingSphere) + +static bool js_physics_TerrainShape_getGroup(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_getGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getGroup(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_getGroup : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_getGroup) + +static bool js_physics_TerrainShape_getImpl(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_getImpl) + +static bool js_physics_TerrainShape_getMask(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_getMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + unsigned int result = cobj->getMask(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_getMask : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_getMask) + +static bool js_physics_TerrainShape_initialize(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_initialize) + +static bool js_physics_TerrainShape_onDestroy(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_onDestroy) + +static bool js_physics_TerrainShape_onDisable(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_onDisable) + +static bool js_physics_TerrainShape_onEnable(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_onEnable) + +static bool js_physics_TerrainShape_setAsTrigger(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_setAsTrigger : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_setAsTrigger : Error processing arguments"); + cobj->setAsTrigger(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_setAsTrigger) + +static bool js_physics_TerrainShape_setCenter(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_setCenter : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_setCenter : Error processing arguments"); + cobj->setCenter(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_setCenter) + +static bool js_physics_TerrainShape_setGroup(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_setGroup : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_setGroup : Error processing arguments"); + cobj->setGroup(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_setGroup) + +static bool js_physics_TerrainShape_setMask(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_setMask : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_setMask : Error processing arguments"); + cobj->setMask(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_setMask) + +static bool js_physics_TerrainShape_setMaterial(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_setMaterial : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 6) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + HolderType arg4 = {}; + HolderType arg5 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + ok &= sevalue_to_native(args[4], &arg4, s.thisObject()); + ok &= sevalue_to_native(args[5], &arg5, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_setMaterial : Error processing arguments"); + cobj->setMaterial(arg0.value(), arg1.value(), arg2.value(), arg3.value(), arg4.value(), arg5.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 6); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_setMaterial) + +static bool js_physics_TerrainShape_setTerrain(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_setTerrain : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 4) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + HolderType arg3 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + ok &= sevalue_to_native(args[3], &arg3, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_setTerrain : Error processing arguments"); + cobj->setTerrain(arg0.value(), arg1.value(), arg2.value(), arg3.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 4); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_setTerrain) + +static bool js_physics_TerrainShape_updateEventListener(se::State& s) +{ + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_TerrainShape_updateEventListener : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_TerrainShape_updateEventListener : Error processing arguments"); + cobj->updateEventListener(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_TerrainShape_updateEventListener) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_TerrainShape_finalize) + +static bool js_physics_TerrainShape_constructor(se::State& s) // constructor.c +{ + cc::physics::TerrainShape* cobj = JSB_ALLOC(cc::physics::TerrainShape); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_TerrainShape_constructor, __jsb_cc_physics_TerrainShape_class, js_cc_physics_TerrainShape_finalize) + + + + +static bool js_cc_physics_TerrainShape_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::TerrainShape* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_TerrainShape_finalize) + +bool js_register_physics_TerrainShape(se::Object* obj) +{ + auto cls = se::Class::create("TerrainShape", obj, nullptr, _SE(js_physics_TerrainShape_constructor)); + + cls->defineFunction("getAABB", _SE(js_physics_TerrainShape_getAABB)); + cls->defineFunction("getBoundingSphere", _SE(js_physics_TerrainShape_getBoundingSphere)); + cls->defineFunction("getGroup", _SE(js_physics_TerrainShape_getGroup)); + cls->defineFunction("getImpl", _SE(js_physics_TerrainShape_getImpl)); + cls->defineFunction("getMask", _SE(js_physics_TerrainShape_getMask)); + cls->defineFunction("initialize", _SE(js_physics_TerrainShape_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_TerrainShape_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_TerrainShape_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_TerrainShape_onEnable)); + cls->defineFunction("setAsTrigger", _SE(js_physics_TerrainShape_setAsTrigger)); + cls->defineFunction("setCenter", _SE(js_physics_TerrainShape_setCenter)); + cls->defineFunction("setGroup", _SE(js_physics_TerrainShape_setGroup)); + cls->defineFunction("setMask", _SE(js_physics_TerrainShape_setMask)); + cls->defineFunction("setMaterial", _SE(js_physics_TerrainShape_setMaterial)); + cls->defineFunction("setTerrain", _SE(js_physics_TerrainShape_setTerrain)); + cls->defineFunction("updateEventListener", _SE(js_physics_TerrainShape_updateEventListener)); + cls->defineFinalizeFunction(_SE(js_cc_physics_TerrainShape_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_TerrainShape_proto = cls->getProto(); + __jsb_cc_physics_TerrainShape_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_RevoluteJoint_proto = nullptr; +se::Class* __jsb_cc_physics_RevoluteJoint_class = nullptr; + +static bool js_physics_RevoluteJoint_getImpl(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_RevoluteJoint_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_getImpl) + +static bool js_physics_RevoluteJoint_initialize(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RevoluteJoint_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_initialize) + +static bool js_physics_RevoluteJoint_onDestroy(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_onDestroy) + +static bool js_physics_RevoluteJoint_onDisable(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_onDisable) + +static bool js_physics_RevoluteJoint_onEnable(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_onEnable) + +static bool js_physics_RevoluteJoint_setAxis(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_setAxis : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RevoluteJoint_setAxis : Error processing arguments"); + cobj->setAxis(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_setAxis) + +static bool js_physics_RevoluteJoint_setConnectedBody(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_setConnectedBody : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RevoluteJoint_setConnectedBody : Error processing arguments"); + cobj->setConnectedBody(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_setConnectedBody) + +static bool js_physics_RevoluteJoint_setEnableCollision(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_setEnableCollision : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RevoluteJoint_setEnableCollision : Error processing arguments"); + cobj->setEnableCollision(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_setEnableCollision) + +static bool js_physics_RevoluteJoint_setPivotA(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_setPivotA : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RevoluteJoint_setPivotA : Error processing arguments"); + cobj->setPivotA(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_setPivotA) + +static bool js_physics_RevoluteJoint_setPivotB(se::State& s) +{ + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_RevoluteJoint_setPivotB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_RevoluteJoint_setPivotB : Error processing arguments"); + cobj->setPivotB(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_RevoluteJoint_setPivotB) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_RevoluteJoint_finalize) + +static bool js_physics_RevoluteJoint_constructor(se::State& s) // constructor.c +{ + cc::physics::RevoluteJoint* cobj = JSB_ALLOC(cc::physics::RevoluteJoint); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_RevoluteJoint_constructor, __jsb_cc_physics_RevoluteJoint_class, js_cc_physics_RevoluteJoint_finalize) + + + + +static bool js_cc_physics_RevoluteJoint_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::RevoluteJoint* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_RevoluteJoint_finalize) + +bool js_register_physics_RevoluteJoint(se::Object* obj) +{ + auto cls = se::Class::create("RevoluteJoint", obj, nullptr, _SE(js_physics_RevoluteJoint_constructor)); + + cls->defineFunction("getImpl", _SE(js_physics_RevoluteJoint_getImpl)); + cls->defineFunction("initialize", _SE(js_physics_RevoluteJoint_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_RevoluteJoint_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_RevoluteJoint_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_RevoluteJoint_onEnable)); + cls->defineFunction("setAxis", _SE(js_physics_RevoluteJoint_setAxis)); + cls->defineFunction("setConnectedBody", _SE(js_physics_RevoluteJoint_setConnectedBody)); + cls->defineFunction("setEnableCollision", _SE(js_physics_RevoluteJoint_setEnableCollision)); + cls->defineFunction("setPivotA", _SE(js_physics_RevoluteJoint_setPivotA)); + cls->defineFunction("setPivotB", _SE(js_physics_RevoluteJoint_setPivotB)); + cls->defineFinalizeFunction(_SE(js_cc_physics_RevoluteJoint_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_RevoluteJoint_proto = cls->getProto(); + __jsb_cc_physics_RevoluteJoint_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +se::Object* __jsb_cc_physics_DistanceJoint_proto = nullptr; +se::Class* __jsb_cc_physics_DistanceJoint_class = nullptr; + +static bool js_physics_DistanceJoint_getImpl(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_getImpl : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 0) { + const uintptr_t result = cobj->getImpl(); + ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); + SE_PRECONDITION2(ok, false, "js_physics_DistanceJoint_getImpl : Error processing arguments"); + SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_getImpl) + +static bool js_physics_DistanceJoint_initialize(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_initialize : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_DistanceJoint_initialize : Error processing arguments"); + cobj->initialize(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_initialize) + +static bool js_physics_DistanceJoint_onDestroy(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_onDestroy : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDestroy(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_onDestroy) + +static bool js_physics_DistanceJoint_onDisable(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_onDisable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onDisable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_onDisable) + +static bool js_physics_DistanceJoint_onEnable(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_onEnable : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + if (argc == 0) { + cobj->onEnable(); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 0); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_onEnable) + +static bool js_physics_DistanceJoint_setConnectedBody(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_setConnectedBody : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_DistanceJoint_setConnectedBody : Error processing arguments"); + cobj->setConnectedBody(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_setConnectedBody) + +static bool js_physics_DistanceJoint_setEnableCollision(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_setEnableCollision : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 1) { + HolderType arg0 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_DistanceJoint_setEnableCollision : Error processing arguments"); + cobj->setEnableCollision(arg0.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 1); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_setEnableCollision) + +static bool js_physics_DistanceJoint_setPivotA(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_setPivotA : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_DistanceJoint_setPivotA : Error processing arguments"); + cobj->setPivotA(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_setPivotA) + +static bool js_physics_DistanceJoint_setPivotB(se::State& s) +{ + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + SE_PRECONDITION2(cobj, false, "js_physics_DistanceJoint_setPivotB : Invalid Native Object"); + const auto& args = s.args(); + size_t argc = args.size(); + CC_UNUSED bool ok = true; + if (argc == 3) { + HolderType arg0 = {}; + HolderType arg1 = {}; + HolderType arg2 = {}; + ok &= sevalue_to_native(args[0], &arg0, s.thisObject()); + ok &= sevalue_to_native(args[1], &arg1, s.thisObject()); + ok &= sevalue_to_native(args[2], &arg2, s.thisObject()); + SE_PRECONDITION2(ok, false, "js_physics_DistanceJoint_setPivotB : Error processing arguments"); + cobj->setPivotB(arg0.value(), arg1.value(), arg2.value()); + return true; + } + SE_REPORT_ERROR("wrong number of arguments: %d, was expecting %d", (int)argc, 3); + return false; +} +SE_BIND_FUNC(js_physics_DistanceJoint_setPivotB) + +SE_DECLARE_FINALIZE_FUNC(js_cc_physics_DistanceJoint_finalize) + +static bool js_physics_DistanceJoint_constructor(se::State& s) // constructor.c +{ + cc::physics::DistanceJoint* cobj = JSB_ALLOC(cc::physics::DistanceJoint); + s.thisObject()->setPrivateData(cobj); + se::NonRefNativePtrCreatedByCtorMap::emplace(cobj); + return true; +} +SE_BIND_CTOR(js_physics_DistanceJoint_constructor, __jsb_cc_physics_DistanceJoint_class, js_cc_physics_DistanceJoint_finalize) + + + + +static bool js_cc_physics_DistanceJoint_finalize(se::State& s) +{ + auto iter = se::NonRefNativePtrCreatedByCtorMap::find(SE_THIS_OBJECT(s)); + if (iter != se::NonRefNativePtrCreatedByCtorMap::end()) + { + se::NonRefNativePtrCreatedByCtorMap::erase(iter); + cc::physics::DistanceJoint* cobj = SE_THIS_OBJECT(s); + JSB_FREE(cobj); + } + return true; +} +SE_BIND_FINALIZE_FUNC(js_cc_physics_DistanceJoint_finalize) + +bool js_register_physics_DistanceJoint(se::Object* obj) +{ + auto cls = se::Class::create("DistanceJoint", obj, nullptr, _SE(js_physics_DistanceJoint_constructor)); + + cls->defineFunction("getImpl", _SE(js_physics_DistanceJoint_getImpl)); + cls->defineFunction("initialize", _SE(js_physics_DistanceJoint_initialize)); + cls->defineFunction("onDestroy", _SE(js_physics_DistanceJoint_onDestroy)); + cls->defineFunction("onDisable", _SE(js_physics_DistanceJoint_onDisable)); + cls->defineFunction("onEnable", _SE(js_physics_DistanceJoint_onEnable)); + cls->defineFunction("setConnectedBody", _SE(js_physics_DistanceJoint_setConnectedBody)); + cls->defineFunction("setEnableCollision", _SE(js_physics_DistanceJoint_setEnableCollision)); + cls->defineFunction("setPivotA", _SE(js_physics_DistanceJoint_setPivotA)); + cls->defineFunction("setPivotB", _SE(js_physics_DistanceJoint_setPivotB)); + cls->defineFinalizeFunction(_SE(js_cc_physics_DistanceJoint_finalize)); + cls->install(); + JSBClassType::registerClass(cls); + + __jsb_cc_physics_DistanceJoint_proto = cls->getProto(); + __jsb_cc_physics_DistanceJoint_class = cls; + + se::ScriptEngine::getInstance()->clearException(); + return true; +} +bool register_all_physics(se::Object* obj) +{ + // Get the ns + se::Value nsVal; + if (!obj->getProperty("jsb.physics", &nsVal)) + { + se::HandleObject jsobj(se::Object::createPlainObject()); + nsVal.setObject(jsobj); + obj->setProperty("jsb.physics", nsVal); + } + se::Object* ns = nsVal.toObject(); + + js_register_physics_RigidBody(ns); + js_register_physics_SphereShape(ns); + js_register_physics_CylinderShape(ns); + js_register_physics_TrimeshShape(ns); + js_register_physics_PlaneShape(ns); + js_register_physics_DistanceJoint(ns); + js_register_physics_RevoluteJoint(ns); + js_register_physics_CapsuleShape(ns); + js_register_physics_BoxShape(ns); + js_register_physics_World(ns); + js_register_physics_ConeShape(ns); + js_register_physics_TerrainShape(ns); + return true; +} + diff --git a/native/cocos/bindings/auto/jsb_physics_auto.h b/native/cocos/bindings/auto/jsb_physics_auto.h new file mode 100644 index 0000000000..50833ca74b --- /dev/null +++ b/native/cocos/bindings/auto/jsb_physics_auto.h @@ -0,0 +1,324 @@ +#pragma once +#include "base/Config.h" +#include +#include "cocos/bindings/jswrapper/SeApi.h" +#include "cocos/bindings/manual/jsb_conversions.h" +#include "cocos/physics/PhysicsSDK.h" + +extern se::Object* __jsb_cc_physics_World_proto; +extern se::Class* __jsb_cc_physics_World_class; + +bool js_register_cc_physics_World(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::World); +SE_DECLARE_FUNC(js_physics_World_createConvex); +SE_DECLARE_FUNC(js_physics_World_createHeightField); +SE_DECLARE_FUNC(js_physics_World_createMaterial); +SE_DECLARE_FUNC(js_physics_World_createTrimesh); +SE_DECLARE_FUNC(js_physics_World_destroy); +SE_DECLARE_FUNC(js_physics_World_emitEvents); +SE_DECLARE_FUNC(js_physics_World_getContactEventPairs); +SE_DECLARE_FUNC(js_physics_World_getTriggerEventPairs); +SE_DECLARE_FUNC(js_physics_World_raycast); +SE_DECLARE_FUNC(js_physics_World_raycastClosest); +SE_DECLARE_FUNC(js_physics_World_raycastClosestResult); +SE_DECLARE_FUNC(js_physics_World_raycastResult); +SE_DECLARE_FUNC(js_physics_World_setAllowSleep); +SE_DECLARE_FUNC(js_physics_World_setCollisionMatrix); +SE_DECLARE_FUNC(js_physics_World_setGravity); +SE_DECLARE_FUNC(js_physics_World_step); +SE_DECLARE_FUNC(js_physics_World_syncSceneToPhysics); +SE_DECLARE_FUNC(js_physics_World_syncSceneWithCheck); +SE_DECLARE_FUNC(js_physics_World_World); + +extern se::Object* __jsb_cc_physics_RigidBody_proto; +extern se::Class* __jsb_cc_physics_RigidBody_class; + +bool js_register_cc_physics_RigidBody(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::RigidBody); +SE_DECLARE_FUNC(js_physics_RigidBody_applyForce); +SE_DECLARE_FUNC(js_physics_RigidBody_applyImpulse); +SE_DECLARE_FUNC(js_physics_RigidBody_applyLocalForce); +SE_DECLARE_FUNC(js_physics_RigidBody_applyLocalImpulse); +SE_DECLARE_FUNC(js_physics_RigidBody_applyLocalTorque); +SE_DECLARE_FUNC(js_physics_RigidBody_applyTorque); +SE_DECLARE_FUNC(js_physics_RigidBody_clearForces); +SE_DECLARE_FUNC(js_physics_RigidBody_clearState); +SE_DECLARE_FUNC(js_physics_RigidBody_clearVelocity); +SE_DECLARE_FUNC(js_physics_RigidBody_getAngularVelocity); +SE_DECLARE_FUNC(js_physics_RigidBody_getGroup); +SE_DECLARE_FUNC(js_physics_RigidBody_getImpl); +SE_DECLARE_FUNC(js_physics_RigidBody_getLinearVelocity); +SE_DECLARE_FUNC(js_physics_RigidBody_getMask); +SE_DECLARE_FUNC(js_physics_RigidBody_getNodeHandle); +SE_DECLARE_FUNC(js_physics_RigidBody_getSleepThreshold); +SE_DECLARE_FUNC(js_physics_RigidBody_initialize); +SE_DECLARE_FUNC(js_physics_RigidBody_isAwake); +SE_DECLARE_FUNC(js_physics_RigidBody_isSleeping); +SE_DECLARE_FUNC(js_physics_RigidBody_isSleepy); +SE_DECLARE_FUNC(js_physics_RigidBody_onDestroy); +SE_DECLARE_FUNC(js_physics_RigidBody_onDisable); +SE_DECLARE_FUNC(js_physics_RigidBody_onEnable); +SE_DECLARE_FUNC(js_physics_RigidBody_setAllowSleep); +SE_DECLARE_FUNC(js_physics_RigidBody_setAngularDamping); +SE_DECLARE_FUNC(js_physics_RigidBody_setAngularFactor); +SE_DECLARE_FUNC(js_physics_RigidBody_setAngularVelocity); +SE_DECLARE_FUNC(js_physics_RigidBody_setGroup); +SE_DECLARE_FUNC(js_physics_RigidBody_setLinearDamping); +SE_DECLARE_FUNC(js_physics_RigidBody_setLinearFactor); +SE_DECLARE_FUNC(js_physics_RigidBody_setLinearVelocity); +SE_DECLARE_FUNC(js_physics_RigidBody_setMask); +SE_DECLARE_FUNC(js_physics_RigidBody_setMass); +SE_DECLARE_FUNC(js_physics_RigidBody_setSleepThreshold); +SE_DECLARE_FUNC(js_physics_RigidBody_setType); +SE_DECLARE_FUNC(js_physics_RigidBody_sleep); +SE_DECLARE_FUNC(js_physics_RigidBody_useGravity); +SE_DECLARE_FUNC(js_physics_RigidBody_wakeUp); +SE_DECLARE_FUNC(js_physics_RigidBody_RigidBody); + +extern se::Object* __jsb_cc_physics_SphereShape_proto; +extern se::Class* __jsb_cc_physics_SphereShape_class; + +bool js_register_cc_physics_SphereShape(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::SphereShape); +SE_DECLARE_FUNC(js_physics_SphereShape_getAABB); +SE_DECLARE_FUNC(js_physics_SphereShape_getBoundingSphere); +SE_DECLARE_FUNC(js_physics_SphereShape_getGroup); +SE_DECLARE_FUNC(js_physics_SphereShape_getImpl); +SE_DECLARE_FUNC(js_physics_SphereShape_getMask); +SE_DECLARE_FUNC(js_physics_SphereShape_initialize); +SE_DECLARE_FUNC(js_physics_SphereShape_onDestroy); +SE_DECLARE_FUNC(js_physics_SphereShape_onDisable); +SE_DECLARE_FUNC(js_physics_SphereShape_onEnable); +SE_DECLARE_FUNC(js_physics_SphereShape_setAsTrigger); +SE_DECLARE_FUNC(js_physics_SphereShape_setCenter); +SE_DECLARE_FUNC(js_physics_SphereShape_setGroup); +SE_DECLARE_FUNC(js_physics_SphereShape_setMask); +SE_DECLARE_FUNC(js_physics_SphereShape_setMaterial); +SE_DECLARE_FUNC(js_physics_SphereShape_setRadius); +SE_DECLARE_FUNC(js_physics_SphereShape_updateEventListener); +SE_DECLARE_FUNC(js_physics_SphereShape_SphereShape); + +extern se::Object* __jsb_cc_physics_BoxShape_proto; +extern se::Class* __jsb_cc_physics_BoxShape_class; + +bool js_register_cc_physics_BoxShape(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::BoxShape); +SE_DECLARE_FUNC(js_physics_BoxShape_getAABB); +SE_DECLARE_FUNC(js_physics_BoxShape_getBoundingSphere); +SE_DECLARE_FUNC(js_physics_BoxShape_getGroup); +SE_DECLARE_FUNC(js_physics_BoxShape_getImpl); +SE_DECLARE_FUNC(js_physics_BoxShape_getMask); +SE_DECLARE_FUNC(js_physics_BoxShape_initialize); +SE_DECLARE_FUNC(js_physics_BoxShape_onDestroy); +SE_DECLARE_FUNC(js_physics_BoxShape_onDisable); +SE_DECLARE_FUNC(js_physics_BoxShape_onEnable); +SE_DECLARE_FUNC(js_physics_BoxShape_setAsTrigger); +SE_DECLARE_FUNC(js_physics_BoxShape_setCenter); +SE_DECLARE_FUNC(js_physics_BoxShape_setGroup); +SE_DECLARE_FUNC(js_physics_BoxShape_setMask); +SE_DECLARE_FUNC(js_physics_BoxShape_setMaterial); +SE_DECLARE_FUNC(js_physics_BoxShape_setSize); +SE_DECLARE_FUNC(js_physics_BoxShape_updateEventListener); +SE_DECLARE_FUNC(js_physics_BoxShape_BoxShape); + +extern se::Object* __jsb_cc_physics_CapsuleShape_proto; +extern se::Class* __jsb_cc_physics_CapsuleShape_class; + +bool js_register_cc_physics_CapsuleShape(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::CapsuleShape); +SE_DECLARE_FUNC(js_physics_CapsuleShape_getAABB); +SE_DECLARE_FUNC(js_physics_CapsuleShape_getBoundingSphere); +SE_DECLARE_FUNC(js_physics_CapsuleShape_getGroup); +SE_DECLARE_FUNC(js_physics_CapsuleShape_getImpl); +SE_DECLARE_FUNC(js_physics_CapsuleShape_getMask); +SE_DECLARE_FUNC(js_physics_CapsuleShape_initialize); +SE_DECLARE_FUNC(js_physics_CapsuleShape_onDestroy); +SE_DECLARE_FUNC(js_physics_CapsuleShape_onDisable); +SE_DECLARE_FUNC(js_physics_CapsuleShape_onEnable); +SE_DECLARE_FUNC(js_physics_CapsuleShape_setAsTrigger); +SE_DECLARE_FUNC(js_physics_CapsuleShape_setCenter); +SE_DECLARE_FUNC(js_physics_CapsuleShape_setCylinderHeight); +SE_DECLARE_FUNC(js_physics_CapsuleShape_setDirection); +SE_DECLARE_FUNC(js_physics_CapsuleShape_setGroup); +SE_DECLARE_FUNC(js_physics_CapsuleShape_setMask); +SE_DECLARE_FUNC(js_physics_CapsuleShape_setMaterial); +SE_DECLARE_FUNC(js_physics_CapsuleShape_setRadius); +SE_DECLARE_FUNC(js_physics_CapsuleShape_updateEventListener); +SE_DECLARE_FUNC(js_physics_CapsuleShape_CapsuleShape); + +extern se::Object* __jsb_cc_physics_PlaneShape_proto; +extern se::Class* __jsb_cc_physics_PlaneShape_class; + +bool js_register_cc_physics_PlaneShape(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::PlaneShape); +SE_DECLARE_FUNC(js_physics_PlaneShape_getAABB); +SE_DECLARE_FUNC(js_physics_PlaneShape_getBoundingSphere); +SE_DECLARE_FUNC(js_physics_PlaneShape_getGroup); +SE_DECLARE_FUNC(js_physics_PlaneShape_getImpl); +SE_DECLARE_FUNC(js_physics_PlaneShape_getMask); +SE_DECLARE_FUNC(js_physics_PlaneShape_initialize); +SE_DECLARE_FUNC(js_physics_PlaneShape_onDestroy); +SE_DECLARE_FUNC(js_physics_PlaneShape_onDisable); +SE_DECLARE_FUNC(js_physics_PlaneShape_onEnable); +SE_DECLARE_FUNC(js_physics_PlaneShape_setAsTrigger); +SE_DECLARE_FUNC(js_physics_PlaneShape_setCenter); +SE_DECLARE_FUNC(js_physics_PlaneShape_setConstant); +SE_DECLARE_FUNC(js_physics_PlaneShape_setGroup); +SE_DECLARE_FUNC(js_physics_PlaneShape_setMask); +SE_DECLARE_FUNC(js_physics_PlaneShape_setMaterial); +SE_DECLARE_FUNC(js_physics_PlaneShape_setNormal); +SE_DECLARE_FUNC(js_physics_PlaneShape_updateEventListener); +SE_DECLARE_FUNC(js_physics_PlaneShape_PlaneShape); + +extern se::Object* __jsb_cc_physics_TrimeshShape_proto; +extern se::Class* __jsb_cc_physics_TrimeshShape_class; + +bool js_register_cc_physics_TrimeshShape(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::TrimeshShape); +SE_DECLARE_FUNC(js_physics_TrimeshShape_getAABB); +SE_DECLARE_FUNC(js_physics_TrimeshShape_getBoundingSphere); +SE_DECLARE_FUNC(js_physics_TrimeshShape_getGroup); +SE_DECLARE_FUNC(js_physics_TrimeshShape_getImpl); +SE_DECLARE_FUNC(js_physics_TrimeshShape_getMask); +SE_DECLARE_FUNC(js_physics_TrimeshShape_initialize); +SE_DECLARE_FUNC(js_physics_TrimeshShape_onDestroy); +SE_DECLARE_FUNC(js_physics_TrimeshShape_onDisable); +SE_DECLARE_FUNC(js_physics_TrimeshShape_onEnable); +SE_DECLARE_FUNC(js_physics_TrimeshShape_setAsTrigger); +SE_DECLARE_FUNC(js_physics_TrimeshShape_setCenter); +SE_DECLARE_FUNC(js_physics_TrimeshShape_setGroup); +SE_DECLARE_FUNC(js_physics_TrimeshShape_setMask); +SE_DECLARE_FUNC(js_physics_TrimeshShape_setMaterial); +SE_DECLARE_FUNC(js_physics_TrimeshShape_setMesh); +SE_DECLARE_FUNC(js_physics_TrimeshShape_updateEventListener); +SE_DECLARE_FUNC(js_physics_TrimeshShape_useConvex); +SE_DECLARE_FUNC(js_physics_TrimeshShape_TrimeshShape); + +extern se::Object* __jsb_cc_physics_CylinderShape_proto; +extern se::Class* __jsb_cc_physics_CylinderShape_class; + +bool js_register_cc_physics_CylinderShape(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::CylinderShape); +SE_DECLARE_FUNC(js_physics_CylinderShape_getAABB); +SE_DECLARE_FUNC(js_physics_CylinderShape_getBoundingSphere); +SE_DECLARE_FUNC(js_physics_CylinderShape_getGroup); +SE_DECLARE_FUNC(js_physics_CylinderShape_getImpl); +SE_DECLARE_FUNC(js_physics_CylinderShape_getMask); +SE_DECLARE_FUNC(js_physics_CylinderShape_initialize); +SE_DECLARE_FUNC(js_physics_CylinderShape_onDestroy); +SE_DECLARE_FUNC(js_physics_CylinderShape_onDisable); +SE_DECLARE_FUNC(js_physics_CylinderShape_onEnable); +SE_DECLARE_FUNC(js_physics_CylinderShape_setAsTrigger); +SE_DECLARE_FUNC(js_physics_CylinderShape_setCenter); +SE_DECLARE_FUNC(js_physics_CylinderShape_setConvex); +SE_DECLARE_FUNC(js_physics_CylinderShape_setCylinder); +SE_DECLARE_FUNC(js_physics_CylinderShape_setGroup); +SE_DECLARE_FUNC(js_physics_CylinderShape_setMask); +SE_DECLARE_FUNC(js_physics_CylinderShape_setMaterial); +SE_DECLARE_FUNC(js_physics_CylinderShape_updateEventListener); +SE_DECLARE_FUNC(js_physics_CylinderShape_CylinderShape); + +extern se::Object* __jsb_cc_physics_ConeShape_proto; +extern se::Class* __jsb_cc_physics_ConeShape_class; + +bool js_register_cc_physics_ConeShape(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::ConeShape); +SE_DECLARE_FUNC(js_physics_ConeShape_getAABB); +SE_DECLARE_FUNC(js_physics_ConeShape_getBoundingSphere); +SE_DECLARE_FUNC(js_physics_ConeShape_getGroup); +SE_DECLARE_FUNC(js_physics_ConeShape_getImpl); +SE_DECLARE_FUNC(js_physics_ConeShape_getMask); +SE_DECLARE_FUNC(js_physics_ConeShape_initialize); +SE_DECLARE_FUNC(js_physics_ConeShape_onDestroy); +SE_DECLARE_FUNC(js_physics_ConeShape_onDisable); +SE_DECLARE_FUNC(js_physics_ConeShape_onEnable); +SE_DECLARE_FUNC(js_physics_ConeShape_setAsTrigger); +SE_DECLARE_FUNC(js_physics_ConeShape_setCenter); +SE_DECLARE_FUNC(js_physics_ConeShape_setCone); +SE_DECLARE_FUNC(js_physics_ConeShape_setConvex); +SE_DECLARE_FUNC(js_physics_ConeShape_setGroup); +SE_DECLARE_FUNC(js_physics_ConeShape_setMask); +SE_DECLARE_FUNC(js_physics_ConeShape_setMaterial); +SE_DECLARE_FUNC(js_physics_ConeShape_updateEventListener); +SE_DECLARE_FUNC(js_physics_ConeShape_ConeShape); + +extern se::Object* __jsb_cc_physics_TerrainShape_proto; +extern se::Class* __jsb_cc_physics_TerrainShape_class; + +bool js_register_cc_physics_TerrainShape(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::TerrainShape); +SE_DECLARE_FUNC(js_physics_TerrainShape_getAABB); +SE_DECLARE_FUNC(js_physics_TerrainShape_getBoundingSphere); +SE_DECLARE_FUNC(js_physics_TerrainShape_getGroup); +SE_DECLARE_FUNC(js_physics_TerrainShape_getImpl); +SE_DECLARE_FUNC(js_physics_TerrainShape_getMask); +SE_DECLARE_FUNC(js_physics_TerrainShape_initialize); +SE_DECLARE_FUNC(js_physics_TerrainShape_onDestroy); +SE_DECLARE_FUNC(js_physics_TerrainShape_onDisable); +SE_DECLARE_FUNC(js_physics_TerrainShape_onEnable); +SE_DECLARE_FUNC(js_physics_TerrainShape_setAsTrigger); +SE_DECLARE_FUNC(js_physics_TerrainShape_setCenter); +SE_DECLARE_FUNC(js_physics_TerrainShape_setGroup); +SE_DECLARE_FUNC(js_physics_TerrainShape_setMask); +SE_DECLARE_FUNC(js_physics_TerrainShape_setMaterial); +SE_DECLARE_FUNC(js_physics_TerrainShape_setTerrain); +SE_DECLARE_FUNC(js_physics_TerrainShape_updateEventListener); +SE_DECLARE_FUNC(js_physics_TerrainShape_TerrainShape); + +extern se::Object* __jsb_cc_physics_RevoluteJoint_proto; +extern se::Class* __jsb_cc_physics_RevoluteJoint_class; + +bool js_register_cc_physics_RevoluteJoint(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::RevoluteJoint); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_getImpl); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_initialize); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_onDestroy); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_onDisable); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_onEnable); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_setAxis); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_setConnectedBody); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_setEnableCollision); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_setPivotA); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_setPivotB); +SE_DECLARE_FUNC(js_physics_RevoluteJoint_RevoluteJoint); + +extern se::Object* __jsb_cc_physics_DistanceJoint_proto; +extern se::Class* __jsb_cc_physics_DistanceJoint_class; + +bool js_register_cc_physics_DistanceJoint(se::Object* obj); +bool register_all_physics(se::Object* obj); + +JSB_REGISTER_OBJECT_TYPE(cc::physics::DistanceJoint); +SE_DECLARE_FUNC(js_physics_DistanceJoint_getImpl); +SE_DECLARE_FUNC(js_physics_DistanceJoint_initialize); +SE_DECLARE_FUNC(js_physics_DistanceJoint_onDestroy); +SE_DECLARE_FUNC(js_physics_DistanceJoint_onDisable); +SE_DECLARE_FUNC(js_physics_DistanceJoint_onEnable); +SE_DECLARE_FUNC(js_physics_DistanceJoint_setConnectedBody); +SE_DECLARE_FUNC(js_physics_DistanceJoint_setEnableCollision); +SE_DECLARE_FUNC(js_physics_DistanceJoint_setPivotA); +SE_DECLARE_FUNC(js_physics_DistanceJoint_setPivotB); +SE_DECLARE_FUNC(js_physics_DistanceJoint_DistanceJoint); + diff --git a/native/cocos/bindings/manual/jsb_conversions.h b/native/cocos/bindings/manual/jsb_conversions.h index ababfcbb62..0c02569909 100644 --- a/native/cocos/bindings/manual/jsb_conversions.h +++ b/native/cocos/bindings/manual/jsb_conversions.h @@ -853,7 +853,7 @@ bool sevalue_to_native(const se::Value &from, std::array *to, se:: se::Value tmp; assert(len >= CNT); for (size_t i = 0; i < CNT; i++) { - array->getArrayElement(i, &tmp); + array->getArrayElement((uint)i, &tmp); sevalue_to_native(tmp, &(*to)[i], ctx); } } else { diff --git a/native/cocos/bindings/manual/jsb_module_register.cpp b/native/cocos/bindings/manual/jsb_module_register.cpp index 068a1924f7..ca5082d21a 100644 --- a/native/cocos/bindings/manual/jsb_module_register.cpp +++ b/native/cocos/bindings/manual/jsb_module_register.cpp @@ -92,6 +92,10 @@ #endif // USE_MIDDLEWARE +#if USE_PHYSICS_PHYSX + #include "cocos/bindings/auto/jsb_physics_auto.h" +#endif + using namespace cc; bool jsb_register_all_modules() { @@ -156,6 +160,10 @@ bool jsb_register_all_modules() { #endif // USE_MIDDLEWARE +#if USE_PHYSICS_PHYSX + se->addRegisterCallback(register_all_physics); +#endif + #if (CC_PLATFORM == CC_PLATFORM_MAC_IOS || CC_PLATFORM == CC_PLATFORM_ANDROID) #if USE_VIDEO diff --git a/native/cocos/physics/PhysicsSDK.h b/native/cocos/physics/PhysicsSDK.h new file mode 100644 index 0000000000..433e865de6 --- /dev/null +++ b/native/cocos/physics/PhysicsSDK.h @@ -0,0 +1,31 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/sdk/World.h" +#include "physics/sdk/RigidBody.h" +#include "physics/sdk/Shape.h" +#include "physics/sdk/Joint.h" diff --git a/native/cocos/physics/PhysicsSelector.h b/native/cocos/physics/PhysicsSelector.h new file mode 100644 index 0000000000..6fdf4ba78d --- /dev/null +++ b/native/cocos/physics/PhysicsSelector.h @@ -0,0 +1,44 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#if defined(USE_PHYSICS_BULLET) + #include "physics/bullet/Bullet.h" +#else + #include "physics/physx/PhysX.h" + #define WrappedWorld PhysXWorld + #define WrappedRigidBody PhysXRigidBody + #define WrappedSphereShape PhysXSphere + #define WrappedBoxShape PhysXBox + #define WrappedPlaneShape PhysXPlane + #define WrappedCapsuleShape PhysXCapsule + #define WrappedTrimeshShape PhysXTrimesh + #define WrappedTerrainShape PhysXTerrain + #define WrappedConeShape PhysXCone + #define WrappedCylinderShape PhysXCylinder + #define WrappedRevoluteJoint PhysXRevolute + #define WrappedDistanceJoint PhysXDistance +#endif diff --git a/native/cocos/physics/physx/PhysX.h b/native/cocos/physics/physx/PhysX.h new file mode 100644 index 0000000000..f7ed2e8057 --- /dev/null +++ b/native/cocos/physics/physx/PhysX.h @@ -0,0 +1,42 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/PhysXWorld.h" + +#include "physics/physx/PhysXRigidBody.h" + +#include "physics/physx/shapes/PhysXBox.h" +#include "physics/physx/shapes/PhysXCapsule.h" +#include "physics/physx/shapes/PhysXCone.h" +#include "physics/physx/shapes/PhysXCylinder.h" +#include "physics/physx/shapes/PhysXPlane.h" +#include "physics/physx/shapes/PhysXSphere.h" +#include "physics/physx/shapes/PhysXTerrain.h" +#include "physics/physx/shapes/PhysXTrimesh.h" + +#include "physics/physx/joints/PhysXDistance.h" +#include "physics/physx/joints/PhysXRevolute.h" diff --git a/native/cocos/physics/physx/PhysXEventManager.cpp b/native/cocos/physics/physx/PhysXEventManager.cpp new file mode 100644 index 0000000000..7a92b46962 --- /dev/null +++ b/native/cocos/physics/physx/PhysXEventManager.cpp @@ -0,0 +1,132 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/PhysXInc.h" +#include "physics/physx/PhysXEventManager.h" +#include "physics/spec/IWorld.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/shapes/PhysXShape.h" +#include + +namespace cc { +namespace physics { + +void PhysXEventManager::SimulationEventCallback::onTrigger(physx::PxTriggerPair *pairs, physx::PxU32 count) { + for (physx::PxU32 i = 0; i < count; i++) { + const physx::PxTriggerPair &tp = pairs[i]; + if (tp.flags & (physx::PxTriggerPairFlag::eREMOVED_SHAPE_TRIGGER | physx::PxTriggerPairFlag::eREMOVED_SHAPE_OTHER)) { + continue; + } + + const auto &selfIter = getPxShapeMap().find(reinterpret_cast(tp.triggerShape)); + const auto &otherIter = getPxShapeMap().find(reinterpret_cast(tp.otherShape)); + if (selfIter == getPxShapeMap().end() || otherIter == getPxShapeMap().end()) { + continue; + } + + const auto &self = selfIter->second; + const auto &other = otherIter->second; + auto & pairs = mManager->getTriggerPairs(); + const auto &iter = std::find_if(pairs.begin(), pairs.end(), [self, other](std::shared_ptr &pair) { + return (pair->shapeA == self || pair->shapeA == other) && (pair->shapeB == self || pair->shapeB == other); + }); + if (tp.status & physx::PxPairFlag::eNOTIFY_TOUCH_FOUND) { + if (iter == pairs.end()) pairs.push_back(std::shared_ptr(new TriggerEventPair{self, other})); + } else if (tp.status & physx::PxPairFlag::eNOTIFY_TOUCH_LOST) { + if (iter != pairs.end()) iter->get()->state = ETouchState::EXIT; + } + } +} + +void PhysXEventManager::SimulationEventCallback::onContact(const physx::PxContactPairHeader & /*header*/, const physx::PxContactPair *pairs, physx::PxU32 count) { + for (physx::PxU32 i = 0; i < count; i++) { + const physx::PxContactPair &cp = pairs[i]; + if (cp.flags & (physx::PxContactPairFlag::eREMOVED_SHAPE_0 | physx::PxContactPairFlag::eREMOVED_SHAPE_1)) { + continue; + } + + const auto &selfIter = getPxShapeMap().find(reinterpret_cast(cp.shapes[0])); + const auto &otherIter = getPxShapeMap().find(reinterpret_cast(cp.shapes[1])); + if (selfIter == getPxShapeMap().end() || otherIter == getPxShapeMap().end()) { + continue; + } + + const auto &self = selfIter->second; + const auto &other = otherIter->second; + auto & pairs = mManager->getConatctPairs(); + auto iter = std::find_if(pairs.begin(), pairs.end(), [self, other](std::shared_ptr &pair) { + return (pair->shapeA == self || pair->shapeA == other) && (pair->shapeB == self || pair->shapeB == other); + }); + + if (cp.events & physx::PxPairFlag::eNOTIFY_TOUCH_PERSISTS) { + if (iter != pairs.end()) iter->get()->state = ETouchState::STAY; + } else if (cp.events & physx::PxPairFlag::eNOTIFY_TOUCH_FOUND) { + if (iter == pairs.end()) { + pairs.push_back(std::shared_ptr(new ContactEventPair{self, other})); + iter = pairs.end() - 1; + } + } else if (cp.events & physx::PxPairFlag::eNOTIFY_TOUCH_LOST) { + if (iter != pairs.end()) iter->get()->state = ETouchState::EXIT; + } + + if (iter != pairs.end()) { + const physx::PxU8 &contactCount = cp.contactCount; + iter->get()->contacts.resize(contactCount); + if (contactCount > 0) { + cp.extractContacts(reinterpret_cast(&iter->get()->contacts[0]), contactCount); + } + } + } +} + +void PhysXEventManager::refreshPairs() { + for (auto iter = getTriggerPairs().begin(); iter != getTriggerPairs().end();) { + const auto &selfIter = getPxShapeMap().find(reinterpret_cast(&(reinterpret_cast(iter->get()->shapeA)->getShape()))); + const auto &otherIter = getPxShapeMap().find(reinterpret_cast(&(reinterpret_cast(iter->get()->shapeB)->getShape()))); + if (selfIter == getPxShapeMap().end() || otherIter == getPxShapeMap().end()) { + iter = getTriggerPairs().erase(iter); + } else if (iter->get()->state == ETouchState::EXIT) { + iter = getTriggerPairs().erase(iter); + } else { + iter->get()->state = ETouchState::STAY; + iter++; + } + } + + for (auto iter = getConatctPairs().begin(); iter != getConatctPairs().end();) { + const auto &selfIter = getPxShapeMap().find(reinterpret_cast(&(reinterpret_cast(iter->get()->shapeA)->getShape()))); + const auto &otherIter = getPxShapeMap().find(reinterpret_cast(&(reinterpret_cast(iter->get()->shapeB)->getShape()))); + if (selfIter == getPxShapeMap().end() || otherIter == getPxShapeMap().end()) { + iter = getConatctPairs().erase(iter); + } else if (iter->get()->state == ETouchState::EXIT) { + iter = getConatctPairs().erase(iter); + } else { + iter++; + } + } +} + +} // namespace physics +} // namespace cc \ No newline at end of file diff --git a/native/cocos/physics/physx/PhysXEventManager.h b/native/cocos/physics/physx/PhysXEventManager.h new file mode 100644 index 0000000000..4499a5fcad --- /dev/null +++ b/native/cocos/physics/physx/PhysXEventManager.h @@ -0,0 +1,72 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/IWorld.h" +#include "physics/physx/PhysXInc.h" +#include "base/Macros.h" +#include +#include + +namespace cc { +namespace physics { + +class PhysXEventManager final { +public: + PhysXEventManager() { + _mCallback = new SimulationEventCallback(this); + } + + ~PhysXEventManager() { + delete _mCallback; + } + + struct SimulationEventCallback : public physx::PxSimulationEventCallback { + void onConstraintBreak(physx::PxConstraintInfo * /*constraints*/, physx::PxU32 /*count*/) override{}; + void onWake(physx::PxActor ** /*actors*/, physx::PxU32 /*count*/) override{}; + void onSleep(physx::PxActor ** /*actors*/, physx::PxU32 /*count*/) override{}; + void onTrigger(physx::PxTriggerPair * /*pairs*/, physx::PxU32 /*count*/) override; + void onContact(const physx::PxContactPairHeader & /*pairHeader*/, const physx::PxContactPair * /*pairs*/, physx::PxU32 /*nbPairs*/) override; + void onAdvance(const physx::PxRigidBody *const * /*bodyBuffer*/, const physx::PxTransform * /*poseBuffer*/, const physx::PxU32 /*count*/) override{}; + PhysXEventManager *mManager; + + public: + explicit SimulationEventCallback(PhysXEventManager *m) : mManager(m) {} + }; + + CC_INLINE SimulationEventCallback &getEventCallback() { return *_mCallback; } + CC_INLINE std::vector> &getTriggerPairs() { return _mTriggerPairs; } + CC_INLINE std::vector> &getConatctPairs() { return _mConatctPairs; } + void refreshPairs(); + +private: + std::vector> _mTriggerPairs; + std::vector> _mConatctPairs; + SimulationEventCallback *_mCallback; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/PhysXFilterShader.cpp b/native/cocos/physics/physx/PhysXFilterShader.cpp new file mode 100644 index 0000000000..83b63a5406 --- /dev/null +++ b/native/cocos/physics/physx/PhysXFilterShader.cpp @@ -0,0 +1,115 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/PhysXInc.h" +#include "physics/physx/PhysXFilterShader.h" + +namespace cc { +namespace physics { + +physx::PxFilterFlags simpleFilterShader( + physx::PxFilterObjectAttributes attributes0, physx::PxFilterData fd0, + physx::PxFilterObjectAttributes attributes1, physx::PxFilterData fd1, + physx::PxPairFlags &pairFlags, const void* constantBlock, physx::PxU32 constantBlockSize){ + PX_UNUSED(constantBlock); + PX_UNUSED(constantBlockSize); + // group mask filter + if (!(fd0.word0 & fd1.word1) || !(fd0.word1 & fd1.word0)) { + return physx::PxFilterFlag::eSUPPRESS; + } + + if (physx::PxFilterObjectIsTrigger(attributes0) || physx::PxFilterObjectIsTrigger(attributes1)) { + pairFlags |= physx::PxPairFlag::eTRIGGER_DEFAULT | physx::PxPairFlag::eNOTIFY_TOUCH_CCD; + return physx::PxFilterFlag::eDEFAULT; + } + if (!physx::PxFilterObjectIsKinematic(attributes0) || !physx::PxFilterObjectIsKinematic(attributes1)) { + pairFlags |= physx::PxPairFlag::eSOLVE_CONTACT; + } + pairFlags |= physx::PxPairFlag::eDETECT_DISCRETE_CONTACT | + physx::PxPairFlag::eNOTIFY_TOUCH_FOUND | physx::PxPairFlag::eNOTIFY_TOUCH_LOST | physx::PxPairFlag::eNOTIFY_TOUCH_PERSISTS | + physx::PxPairFlag::eDETECT_CCD_CONTACT | physx::PxPairFlag::eNOTIFY_CONTACT_POINTS; + return physx::PxFilterFlag::eDEFAULT; +} + +physx::PxFilterFlags advanceFilterShader( + physx::PxFilterObjectAttributes attributes0, physx::PxFilterData fd0, + physx::PxFilterObjectAttributes attributes1, physx::PxFilterData fd1, + physx::PxPairFlags &pairFlags, const void* constantBlock, physx::PxU32 constantBlockSize){ + PX_UNUSED(constantBlock); + PX_UNUSED(constantBlockSize); + // group mask filter + if (!(fd0.word0 & fd1.word1) || !(fd0.word1 & fd1.word0)) { + return physx::PxFilterFlag::eSUPPRESS; + } + + pairFlags = physx::PxPairFlags(0); + + // trigger filter + if (physx::PxFilterObjectIsTrigger(attributes0) || physx::PxFilterObjectIsTrigger(attributes1)) { + pairFlags |= physx::PxPairFlag::eDETECT_DISCRETE_CONTACT; + + // need trigger event? + const physx::PxU16 needTriggerEvent = (fd0.word3 & DETECT_TRIGGER_EVENT) | (fd1.word3 & DETECT_TRIGGER_EVENT); + if (needTriggerEvent) { + pairFlags |= physx::PxPairFlag::eNOTIFY_TOUCH_FOUND | physx::PxPairFlag::eNOTIFY_TOUCH_LOST; + return physx::PxFilterFlag::eDEFAULT; + } + return physx::PxFilterFlag::eSUPPRESS; + } + + // need detect ccd contact? + const physx::PxU16 needDetectCCD = (fd0.word3 & DETECT_CONTACT_CCD) | (fd1.word3 & DETECT_CONTACT_CCD); + if (needDetectCCD) pairFlags |= physx::PxPairFlag::eDETECT_CCD_CONTACT; + + if (!physx::PxFilterObjectIsKinematic(attributes0) || !physx::PxFilterObjectIsKinematic(attributes1)) { + pairFlags |= physx::PxPairFlag::eSOLVE_CONTACT; + } + + // simple collision process + pairFlags |= physx::PxPairFlag::eDETECT_DISCRETE_CONTACT; + + // need contact event? + const physx::PxU16 needContactEvent = (fd0.word3 & DETECT_CONTACT_EVENT) | (fd1.word3 & DETECT_CONTACT_EVENT); + if (needContactEvent) pairFlags |= physx::PxPairFlag::eNOTIFY_TOUCH_FOUND | physx::PxPairFlag::eNOTIFY_TOUCH_LOST | physx::PxPairFlag::eNOTIFY_TOUCH_PERSISTS; + + // need contact point? + const physx::PxU16 needContactPoint = (fd0.word3 & DETECT_CONTACT_POINT) | (fd1.word3 & DETECT_CONTACT_POINT); + if (needContactPoint) pairFlags |= physx::PxPairFlag::eNOTIFY_CONTACT_POINTS; + + return physx::PxFilterFlag::eDEFAULT; +} + +physx::PxQueryHitType::Enum QueryFilterShader::preFilter(const physx::PxFilterData& filterData, const physx::PxShape* shape, + const physx::PxRigidActor* actor, physx::PxHitFlags& queryFlags) { + PX_UNUSED(actor); + PX_UNUSED(queryFlags); + if ((filterData.word3 & QUERY_CHECK_TRIGGER) && shape->getFlags().isSet(physx::PxShapeFlag::eTRIGGER_SHAPE)) { + return physx::PxQueryHitType::eNONE; + } + return filterData.word3 & QUERY_SINGLE_HIT ? physx::PxQueryHitType::eBLOCK : physx::PxQueryHitType::eTOUCH; +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/PhysXFilterShader.h b/native/cocos/physics/physx/PhysXFilterShader.h new file mode 100644 index 0000000000..b6fbf50df8 --- /dev/null +++ b/native/cocos/physics/physx/PhysXFilterShader.h @@ -0,0 +1,63 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/PhysXInc.h" + +namespace cc { +namespace physics { + +constexpr physx::PxU32 QUERY_FILTER = 1 << 0; +constexpr physx::PxU32 QUERY_CHECK_TRIGGER = 1 << 1; +constexpr physx::PxU32 QUERY_SINGLE_HIT = 1 << 2; +constexpr physx::PxU32 DETECT_TRIGGER_EVENT = 1 << 3; +constexpr physx::PxU32 DETECT_CONTACT_EVENT = 1 << 4; +constexpr physx::PxU32 DETECT_CONTACT_POINT = 1 << 5; +constexpr physx::PxU32 DETECT_CONTACT_CCD = 1 << 6; + +physx::PxFilterFlags simpleFilterShader( + physx::PxFilterObjectAttributes attributes0, physx::PxFilterData fd0, + physx::PxFilterObjectAttributes attributes1, physx::PxFilterData fd1, + physx::PxPairFlags &pairFlags, const void* constantBlock, physx::PxU32 constantBlockSize); + +physx::PxFilterFlags advanceFilterShader( + physx::PxFilterObjectAttributes attributes0, physx::PxFilterData fd0, + physx::PxFilterObjectAttributes attributes1, physx::PxFilterData fd1, + physx::PxPairFlags &pairFlags, const void* constantBlock, physx::PxU32 constantBlockSize); + +class QueryFilterShader : public physx::PxSceneQueryFilterCallback { +public: + physx::PxQueryHitType::Enum preFilter(const physx::PxFilterData &filterData, const physx::PxShape *shape, + const physx::PxRigidActor *actor, physx::PxHitFlags &queryFlags) override; + physx::PxQueryHitType::Enum postFilter(const physx::PxFilterData & filterData, const physx::PxQueryHit & hit) override { + PX_UNUSED(filterData); + PX_UNUSED(hit); + return physx::PxQueryHitType::eNONE; + }; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/PhysXInc.h b/native/cocos/physics/physx/PhysXInc.h new file mode 100644 index 0000000000..e4bc9a3ef4 --- /dev/null +++ b/native/cocos/physics/physx/PhysXInc.h @@ -0,0 +1,46 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#if defined(_MSC_VER) + #pragma warning(disable : 4250) + #pragma warning(disable : 4996) +#endif + +#include "base/Macros.h" + +#if !defined(NDEBUG) ^ defined(_DEBUG) + #ifdef CC_DEBUG + #define _DEBUG + #else + #define NDEBUG + #endif +#endif + +#include +#include +#include +#include diff --git a/native/cocos/physics/physx/PhysXRigidBody.cpp b/native/cocos/physics/physx/PhysXRigidBody.cpp new file mode 100644 index 0000000000..d3e375ff11 --- /dev/null +++ b/native/cocos/physics/physx/PhysXRigidBody.cpp @@ -0,0 +1,258 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/PhysXInc.h" +#include "physics/physx/PhysXRigidBody.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" + +using physx::PxReal; +using physx::PxVec3; +using physx::PxTransform; +using physx::PxForceMode; +using physx::PxActorFlag; + +namespace cc { +namespace physics { + +PhysXRigidBody::PhysXRigidBody() : _mEnabled(false), + _mGroup(1) {} + +void PhysXRigidBody::initialize(uint h, ERigidBodyType t, uint32_t g) { + _mGroup = g; + PhysXWorld &ins = PhysXWorld::getInstance(); + _mSharedBody = ins.getSharedBody(h, this); + getSharedBody().reference(true); + getSharedBody().setType(t); +} + +void PhysXRigidBody::onEnable() { + _mEnabled = true; + getSharedBody().enabled(true); +} + +void PhysXRigidBody::onDisable() { + _mEnabled = false; + getSharedBody().enabled(false); +} + +void PhysXRigidBody::onDestroy() { + getSharedBody().reference(false); +} + +bool PhysXRigidBody::isAwake() { + if (getSharedBody().isStatic()) return false; + return !getSharedBody().getImpl().rigidDynamic->isSleeping(); +} + +bool PhysXRigidBody::isSleepy() { + return false; +} + +bool PhysXRigidBody::isSleeping() { + if (getSharedBody().isStatic()) return true; + return getSharedBody().getImpl().rigidDynamic->isSleeping(); +} + +void PhysXRigidBody::setType(ERigidBodyType v) { + getSharedBody().setType(v); +} + +void PhysXRigidBody::setMass(float v) { + getSharedBody().setMass(v); +} + +void PhysXRigidBody::setLinearDamping(float v) { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->setLinearDamping(v); +} + +void PhysXRigidBody::setAngularDamping(float v) { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->setAngularDamping(v); +} + +void PhysXRigidBody::useGravity(bool v) { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->setActorFlag(PxActorFlag::eDISABLE_GRAVITY, !v); +} + +void PhysXRigidBody::setLinearFactor(float x, float y, float z) { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->setRigidDynamicLockFlag(physx::PxRigidDynamicLockFlag::eLOCK_LINEAR_X, x == 0.); + getSharedBody().getImpl().rigidDynamic->setRigidDynamicLockFlag(physx::PxRigidDynamicLockFlag::eLOCK_LINEAR_Y, y == 0.); + getSharedBody().getImpl().rigidDynamic->setRigidDynamicLockFlag(physx::PxRigidDynamicLockFlag::eLOCK_LINEAR_Z, z == 0.); +} + +void PhysXRigidBody::setAngularFactor(float x, float y, float z) { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->setRigidDynamicLockFlag(physx::PxRigidDynamicLockFlag::eLOCK_ANGULAR_X, x == 0.); + getSharedBody().getImpl().rigidDynamic->setRigidDynamicLockFlag(physx::PxRigidDynamicLockFlag::eLOCK_ANGULAR_Y, y == 0.); + getSharedBody().getImpl().rigidDynamic->setRigidDynamicLockFlag(physx::PxRigidDynamicLockFlag::eLOCK_ANGULAR_Z, z == 0.); +} + +void PhysXRigidBody::setAllowSleep(bool v) { + if (!getSharedBody().isDynamic()) return; + PxReal st = getSharedBody().getImpl().rigidDynamic->getSleepThreshold(); + PxReal wc = v ? std::max(0.F, st - 0.001F) : FLT_MAX; + getSharedBody().getImpl().rigidDynamic->setWakeCounter(wc); +} + +void PhysXRigidBody::wakeUp() { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->wakeUp(); +} + +void PhysXRigidBody::sleep() { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->putToSleep(); +} + +void PhysXRigidBody::clearState() { + clearForces(); + clearVelocity(); +} + +void PhysXRigidBody::clearForces() { + getSharedBody().clearForces(); +} + +void PhysXRigidBody::clearVelocity() { + getSharedBody().clearVelocity(); +} + +void PhysXRigidBody::setSleepThreshold(float v) { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->setSleepThreshold(v); +} + +float PhysXRigidBody::getSleepThreshold() { + return getSharedBody().getImpl().rigidDynamic->getSleepThreshold(); +} + +cc::Vec3 PhysXRigidBody::getLinearVelocity() { + if (getSharedBody().isStatic()) return cc::Vec3::ZERO; + cc::Vec3 cv; + pxSetVec3Ext(cv, getSharedBody().getImpl().rigidDynamic->getLinearVelocity()); + return cv; +} + +void PhysXRigidBody::setLinearVelocity(float x, float y, float z) { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->setLinearVelocity(PxVec3{x, y, z}); +} + +cc::Vec3 PhysXRigidBody::getAngularVelocity() { + if (getSharedBody().isStatic()) return cc::Vec3::ZERO; + cc::Vec3 cv; + pxSetVec3Ext(cv, getSharedBody().getImpl().rigidDynamic->getAngularVelocity()); + return cv; +} + +void PhysXRigidBody::setAngularVelocity(float x, float y, float z) { + if (getSharedBody().isStatic()) return; + getSharedBody().getImpl().rigidDynamic->setAngularVelocity(PxVec3{x, y, z}); +} + +void PhysXRigidBody::applyForce(float x, float y, float z, float rx, float ry, float rz) { + if (getSharedBody().isStatic()) return; + const PxVec3 force{x, y, z}; + if (force.isZero()) return; + auto *body = getSharedBody().getImpl().rigidDynamic; + body->addForce(force, PxForceMode::eFORCE, true); + const PxVec3 torque = (PxVec3{rx, ry, rz}).cross(force); + if (!torque.isZero()) body->addTorque(torque, PxForceMode::eFORCE, true); +} + +void PhysXRigidBody::applyLocalForce(float x, float y, float z, float rx, float ry, float rz) { + if (getSharedBody().isStatic()) return; + const PxVec3 force{x, y, z}; + if (force.isZero()) return; + auto *body = getSharedBody().getImpl().rigidDynamic; + const PxTransform bodyPose = body->getGlobalPose(); + const PxVec3 worldForce = bodyPose.rotate(force); + const PxVec3 worldPos = bodyPose.rotate(PxVec3{rx, ry, rz}); + body->addForce(worldForce, PxForceMode::eFORCE, true); + const PxVec3 torque = worldPos.cross(worldForce); + if (!torque.isZero()) body->addTorque(torque, PxForceMode::eFORCE, true); +} + +void PhysXRigidBody::applyImpulse(float x, float y, float z, float rx, float ry, float rz) { + if (getSharedBody().isStatic()) return; + const PxVec3 impulse{x, y, z}; + if (impulse.isZero()) return; + auto *body = getSharedBody().getImpl().rigidDynamic; + const PxVec3 torque = (PxVec3{rx, ry, rz}).cross(impulse); + body->addForce(impulse, PxForceMode::eIMPULSE, true); + if (!torque.isZero()) body->addTorque(torque, PxForceMode::eIMPULSE, true); +} + +void PhysXRigidBody::applyLocalImpulse(float x, float y, float z, float rx, float ry, float rz) { + if (getSharedBody().isStatic()) return; + const PxVec3 impulse{x, y, z}; + if (impulse.isZero()) return; + auto *body = getSharedBody().getImpl().rigidDynamic; + const PxTransform bodyPose = body->getGlobalPose(); + const PxVec3 worldImpulse = bodyPose.rotate(impulse); + const PxVec3 worldPos = bodyPose.rotate(PxVec3{rx, ry, rz}); + body->addForce(worldImpulse, PxForceMode::eIMPULSE, true); + const PxVec3 torque = worldPos.cross(worldImpulse); + if (!torque.isZero()) body->addTorque(torque, PxForceMode::eIMPULSE, true); +} + +void PhysXRigidBody::applyTorque(float x, float y, float z) { + if (getSharedBody().isStatic()) return; + PxVec3 torque{x, y, z}; + if (torque.isZero()) return; + getSharedBody().getImpl().rigidDynamic->addTorque(torque, PxForceMode::eFORCE, true); +} + +void PhysXRigidBody::applyLocalTorque(float x, float y, float z) { + if (getSharedBody().isStatic()) return; + PxVec3 torque{x, y, z}; + if (torque.isZero()) return; + auto *body = getSharedBody().getImpl().rigidDynamic; + const PxTransform bodyPose = body->getGlobalPose(); + body->addTorque(bodyPose.rotate(PxVec3{x, y, z}), PxForceMode::eFORCE, true); +} + +uint32_t PhysXRigidBody::getGroup() { + return getSharedBody().getGroup(); +} + +void PhysXRigidBody::setGroup(uint32_t g) { + getSharedBody().setGroup(g); +} + +uint32_t PhysXRigidBody::getMask() { + return getSharedBody().getMask(); +} + +void PhysXRigidBody::setMask(uint32_t m) { + getSharedBody().setMask(m); +} + +} // namespace physics +} // namespace cc \ No newline at end of file diff --git a/native/cocos/physics/physx/PhysXRigidBody.h b/native/cocos/physics/physx/PhysXRigidBody.h new file mode 100644 index 0000000000..d5cfcfe016 --- /dev/null +++ b/native/cocos/physics/physx/PhysXRigidBody.h @@ -0,0 +1,91 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/IBody.h" +#include "physics/physx//PhysXInc.h" +#include "base/Macros.h" +#include "physics/physx/PhysXSharedBody.h" + +namespace cc { +namespace physics { + +class PhysXRigidBody final : public IRigidBody { +public: + PhysXRigidBody(); + ~PhysXRigidBody() override = default; + CC_INLINE bool isEnabled() const { return _mEnabled; } + CC_INLINE const PhysXSharedBody &getSharedBody() const { return *_mSharedBody; } + CC_INLINE PhysXSharedBody &getSharedBody() { return *_mSharedBody; } + CC_INLINE uintptr_t getImpl() override { return reinterpret_cast(this); } + CC_INLINE uint getNodeHandle() override { return _mSharedBody->getNodeHandle(); } + void initialize(uint h, ERigidBodyType t, uint32_t g) override; + void onEnable() override; + void onDisable() override; + void onDestroy() override; + bool isAwake() override; + bool isSleepy() override; + bool isSleeping() override; + void setType(ERigidBodyType v) override; + void setMass(float v) override; + void setLinearDamping(float v) override; + void setAngularDamping(float v) override; + void useGravity(bool v) override; + void setLinearFactor(float x, float y, float z) override; + void setAngularFactor(float x, float y, float z) override; + void setAllowSleep(bool v) override; + void wakeUp() override; + void sleep() override; + void clearState() override; + void clearForces() override; + void clearVelocity() override; + void setSleepThreshold(float v) override; + float getSleepThreshold() override; + cc::Vec3 getLinearVelocity() override; + void setLinearVelocity(float x, float y, float z) override; + cc::Vec3 getAngularVelocity() override; + void setAngularVelocity(float x, float y, float z) override; + void applyForce(float x, float y, float z, float rx, float ry, float rz) override; + void applyLocalForce(float x, float y, float z, float rx, float ry, float rz) override; + void applyImpulse(float x, float y, float z, float rx, float ry, float rz) override; + void applyLocalImpulse(float x, float y, float z, float rx, float ry, float rz) override; + void applyTorque(float x, float y, float z) override; + void applyLocalTorque(float x, float y, float z) override; + uint32_t getGroup() override; + uint32_t getMask() override; + void setGroup(uint32_t g) override; + void setMask(uint32_t m) override; + CC_INLINE uint32_t getInitialGroup() const { return _mGroup; } + +protected: + // physx::PhysXWorld* mWrappedWorld; + PhysXSharedBody *_mSharedBody; + uint32_t _mGroup; + bool _mEnabled; +}; + +} // namespace physics +} // namespace cc \ No newline at end of file diff --git a/native/cocos/physics/physx/PhysXSharedBody.cpp b/native/cocos/physics/physx/PhysXSharedBody.cpp new file mode 100644 index 0000000000..96efaede5b --- /dev/null +++ b/native/cocos/physics/physx/PhysXSharedBody.cpp @@ -0,0 +1,355 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/PhysXInc.h" +#include "physics/physx/PhysXSharedBody.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/joints/PhysXJoint.h" +#include + +using physx::PxVec3; +using physx::PxQuat; +using physx::PxIdentity; +using physx::PxPhysics; +using physx::PxFilterData; +using physx::PxJointActorIndex; +using physx::PxTransform; +using physx::PxForceMode; +using physx::PxRigidBodyFlag; +using physx::PxRigidActor; +using physx::PxRigidBodyExt; + +namespace cc { +namespace physics { +std::map PhysXSharedBody::sharedBodesMap = std::map(); + +static int idCounter = 0; +PhysXSharedBody::PhysXSharedBody( + const uint & handle, + PhysXWorld *const world, + PhysXRigidBody *const body) : _mID(idCounter++), + _mRef(0), + _mType(ERigidBodyType::STATIC), + _mIsStatic(true), + _mIndex(-1), + _mFilterData(1, 1, 0, 0), + _mNodeHandle(handle), + _mStaticActor(nullptr), + _mDynamicActor(nullptr), + _mWrappedWorld(world), + _mWrappedBody(body) { + _mImpl.ptr = 0; + _mNode = cc::pipeline::SharedMemory::getBuffer(_mNodeHandle); +}; + +PhysXSharedBody *PhysXSharedBody::getSharedBody(const uint handle, PhysXWorld *const world, PhysXRigidBody *const body) { + auto iter = sharedBodesMap.find(handle); + PhysXSharedBody *newSB; + if (iter != sharedBodesMap.end()) { + newSB = iter->second; + } else { + newSB = new PhysXSharedBody(handle, world, body); + newSB->_mFilterData.word0 = 1; + newSB->_mFilterData.word1 = world->getMaskByIndex(0); + sharedBodesMap.insert(std::pair(handle, newSB)); + } + if (body != nullptr) { + auto g = body->getInitialGroup(); + newSB->_mFilterData.word0 = g; + newSB->_mFilterData.word1 = world->getMaskByIndex(static_cast(log2(g))); + } + return newSB; +} + +PhysXSharedBody::~PhysXSharedBody() { + if (_mStaticActor != nullptr) PX_RELEASE(_mStaticActor); + if (_mDynamicActor != nullptr) PX_RELEASE(_mDynamicActor); +} + +PhysXSharedBody::UActor PhysXSharedBody::getImpl() { + initActor(); + _mImpl.ptr = isStatic() ? reinterpret_cast(_mStaticActor) : reinterpret_cast(_mDynamicActor); + return _mImpl; +} + +void PhysXSharedBody::setType(ERigidBodyType v) { + if (_mType == v) return; + _mType = v; + initActor(); + _mImpl.ptr = isStatic() ? reinterpret_cast(_mStaticActor) : reinterpret_cast(_mDynamicActor); +} + +void PhysXSharedBody::reference(bool v) { + v ? _mRef++ : _mRef--; + if (_mRef == 0) delete this; +} + +void PhysXSharedBody::enabled(bool v) { + if (v) { + if (_mIndex < 0) { + _mIndex = 1; + _mWrappedWorld->addActor(*this); + } + } else { + auto *wb = _mWrappedBody; + auto ws = _mWrappedShapes; + auto isRemove = ws.empty() && (wb == nullptr || (wb != nullptr && !wb->isEnabled())); + if (isRemove) { + _mIndex = -1; + _mWrappedWorld->removeActor(*this); + } + } +} + +void PhysXSharedBody::initActor() { + const bool temp = _mIsStatic; + if (isStatic()) { + _mIsStatic = true; + initStaticActor(); + } else { + _mIsStatic = false; + initDynamicActor(); + } + if (temp != _mIsStatic) switchActor(temp); +} + +void PhysXSharedBody::switchActor(const bool isStaticBefore) { + if (_mStaticActor == nullptr || _mDynamicActor == nullptr) return; + PxRigidActor &a0 = isStaticBefore ? *reinterpret_cast(_mStaticActor) : *reinterpret_cast(_mDynamicActor); + PxRigidActor &a1 = !isStaticBefore ? *reinterpret_cast(_mStaticActor) : *reinterpret_cast(_mDynamicActor); + if (_mIndex >= 0) { + _mWrappedWorld->getScene().removeActor(a0, false); + _mWrappedWorld->getScene().addActor(a1); + } + for (auto const &ws : _mWrappedShapes) { + a0.detachShape(ws->getShape(), false); + a1.attachShape(ws->getShape()); + } + if (isStaticBefore) { + if (isDynamic()) _mDynamicActor->wakeUp(); + _mDynamicActor->setRigidBodyFlag(PxRigidBodyFlag::eKINEMATIC, isKinematic()); + PxRigidBodyExt::setMassAndUpdateInertia(*_mDynamicActor, _mMass); + PxTransform com{PxIdentity}; + for (auto const &ws : _mWrappedShapes) { + if (!ws->isTrigger()) com.p -= ws->getCenter(); + } + _mDynamicActor->setCMassLocalPose(com); + } +} + +void PhysXSharedBody::initStaticActor() { + if (_mStaticActor == nullptr) { + PxTransform transform{PxIdentity}; + pxSetVec3Ext(transform.p, getNode().worldPosition); + pxSetQuatExt(transform.q, getNode().worldRotation); + if (!transform.p.isFinite()) transform.p = PxVec3{PxIdentity}; + if (!transform.q.isUnit()) transform.q = PxQuat{PxIdentity}; + PxPhysics &phy = PxGetPhysics(); + _mStaticActor = phy.createRigidStatic(transform); + } +} + +void PhysXSharedBody::initDynamicActor() { + if (_mDynamicActor == nullptr) { + PxTransform transform{PxIdentity}; + pxSetVec3Ext(transform.p, getNode().worldPosition); + pxSetQuatExt(transform.q, getNode().worldRotation); + if (!transform.p.isFinite()) transform.p = PxVec3{PxIdentity}; + if (!transform.q.isUnit()) transform.q = PxQuat{PxIdentity}; + PxPhysics &phy = PxGetPhysics(); + _mDynamicActor = phy.createRigidDynamic(transform); + _mDynamicActor->setRigidBodyFlag(PxRigidBodyFlag::eKINEMATIC, isKinematic()); + } +} + +void PhysXSharedBody::updateCenterOfMass() { + initActor(); + if (isStatic()) return; + PxTransform com{PxIdentity}; + for (auto const &ws : _mWrappedShapes) { + if (!ws->isTrigger()) com.p -= ws->getCenter(); + } + _mDynamicActor->setCMassLocalPose(com); +} + +void PhysXSharedBody::syncScale() { + for (auto const &sb : _mWrappedShapes) { + sb->updateScale(); + } + + for (auto const &sb : _mWrappedJoints0) { + sb->updateScale0(); + } + + for (auto const &sb : _mWrappedJoints1) { + sb->updateScale1(); + } +} + +void PhysXSharedBody::syncSceneToPhysics() { + if (getNode().flagsChanged) { + if (getNode().flagsChanged & static_cast(TransformBit::SCALE)) syncScale(); + auto wp = getImpl().rigidActor->getGlobalPose(); + if (getNode().flagsChanged & static_cast(TransformBit::POSITION)) { + pxSetVec3Ext(wp.p, getNode().worldPosition); + } + if (getNode().flagsChanged & static_cast(TransformBit::ROTATION)) { + pxSetQuatExt(wp.q, getNode().worldRotation); + } + + if (isKinematic()) { + getImpl().rigidDynamic->setKinematicTarget(wp); + } else { + getImpl().rigidActor->setGlobalPose(wp, true); + } + } +} + +void PhysXSharedBody::syncSceneWithCheck() { + if (getNode().flagsChanged & static_cast(TransformBit::SCALE)) syncScale(); + auto wp = getImpl().rigidActor->getGlobalPose(); + bool needUpdate = false; + if (wp.p != getNode().worldPosition) { + pxSetVec3Ext(wp.p, getNode().worldPosition); + needUpdate = true; + } + if (wp.q != getNode().worldRotation) { + pxSetQuatExt(wp.q, getNode().worldRotation); + needUpdate = true; + } + if (needUpdate) { + getImpl().rigidActor->setGlobalPose(wp, true); + } +} + +void PhysXSharedBody::syncPhysicsToScene() { + if (isStaticOrKinematic()) return; + if (_mDynamicActor->isSleeping()) return; + const PxTransform &wp = getImpl().rigidActor->getGlobalPose(); + pxSetVec3Ext(getNode().worldPosition, wp.p); + pxSetQuatExt(getNode().worldRotation, wp.q); + getNode().flagsChanged |= static_cast(TransformBit::POSITION) | static_cast(TransformBit::ROTATION); +} + +void PhysXSharedBody::addShape(PhysXShape &shape) { + auto beg = _mWrappedShapes.begin(); + auto end = _mWrappedShapes.end(); + auto iter = find(beg, end, &shape); + if (iter == end) { + shape.getShape().setSimulationFilterData(_mFilterData); + shape.getShape().setQueryFilterData(_mFilterData); + getImpl().rigidActor->attachShape(shape.getShape()); + _mWrappedShapes.push_back(&shape); + if (!shape.isTrigger()) { + if (!shape.getCenter().isZero()) updateCenterOfMass(); + if (isDynamic()) PxRigidBodyExt::setMassAndUpdateInertia(*getImpl().rigidDynamic, _mMass); + } + } +} + +void PhysXSharedBody::removeShape(PhysXShape &shape) { + auto beg = _mWrappedShapes.begin(); + auto end = _mWrappedShapes.end(); + auto iter = find(beg, end, &shape); + if (iter != end) { + _mWrappedShapes.erase(iter); + getImpl().rigidActor->detachShape(shape.getShape(), true); + if (!shape.isTrigger()) { + if (!shape.getCenter().isZero()) updateCenterOfMass(); + if (isDynamic()) PxRigidBodyExt::setMassAndUpdateInertia(*getImpl().rigidDynamic, _mMass); + } + } +} + +void PhysXSharedBody::addJoint(PhysXJoint &joint, const PxJointActorIndex::Enum index) { + if (index == PxJointActorIndex::eACTOR1) { + auto beg = _mWrappedJoints1.begin(); + auto end = _mWrappedJoints1.end(); + auto iter = find(beg, end, &joint); + if (iter == end) _mWrappedJoints1.push_back(&joint); + } else { + auto beg = _mWrappedJoints0.begin(); + auto end = _mWrappedJoints0.end(); + auto iter = find(beg, end, &joint); + if (iter == end) _mWrappedJoints0.push_back(&joint); + } +} + +void PhysXSharedBody::removeJoint(PhysXJoint &joint, const PxJointActorIndex::Enum index) { + if (index == PxJointActorIndex::eACTOR1) { + auto beg = _mWrappedJoints1.begin(); + auto end = _mWrappedJoints1.end(); + auto iter = find(beg, end, &joint); + if (iter != end) _mWrappedJoints1.erase(iter); + } else { + auto beg = _mWrappedJoints0.begin(); + auto end = _mWrappedJoints0.end(); + auto iter = find(beg, end, &joint); + if (iter != end) _mWrappedJoints0.erase(iter); + } +} + +void PhysXSharedBody::setMass(float v) { + if (v <= 0) v = 1e-7F; + _mMass = v; + if (isDynamic()) PxRigidBodyExt::setMassAndUpdateInertia(*getImpl().rigidDynamic, _mMass); +} + +void PhysXSharedBody::setGroup(uint32_t v) { + _mFilterData.word0 = v; + setCollisionFilter(_mFilterData); +} + +void PhysXSharedBody::setMask(uint32_t v) { + _mFilterData.word1 = v; + setCollisionFilter(_mFilterData); +} + +void PhysXSharedBody::setCollisionFilter(PxFilterData &data) { + if (isDynamic()) _mDynamicActor->wakeUp(); + for (auto const &ws : _mWrappedShapes) { + ws->getShape().setQueryFilterData(data); + ws->getShape().setSimulationFilterData(data); + } +} + +void PhysXSharedBody::clearForces() { + if (isStaticOrKinematic()) return; + _mDynamicActor->clearForce(PxForceMode::eFORCE); + _mDynamicActor->clearForce(PxForceMode::eIMPULSE); + _mDynamicActor->clearTorque(PxForceMode::eFORCE); + _mDynamicActor->clearTorque(PxForceMode::eIMPULSE); +} + +void PhysXSharedBody::clearVelocity() { + if (isStaticOrKinematic()) return; + _mDynamicActor->setLinearVelocity(PxVec3{PxIdentity}, false); + _mDynamicActor->setAngularVelocity(PxVec3{PxIdentity}, false); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/PhysXSharedBody.h b/native/cocos/physics/physx/PhysXSharedBody.h new file mode 100644 index 0000000000..7798f226b4 --- /dev/null +++ b/native/cocos/physics/physx/PhysXSharedBody.h @@ -0,0 +1,123 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/IBody.h" +#include "physics/physx/PhysXInc.h" +#include "base/Macros.h" +#include "renderer/pipeline/helper/SharedMemory.h" +#include +#include + +namespace cc { + +enum class TransformBit { + NONE = 0, + POSITION = (1 << 0), + ROTATION = (1 << 1), + SCALE = (1 << 2), + RS = TransformBit::ROTATION | TransformBit::SCALE, + TRS = TransformBit::POSITION | TransformBit::ROTATION | TransformBit::SCALE, + TRS_MASK = ~TransformBit::TRS, +}; + +namespace physics { + +class PhysXWorld; +class PhysXShape; +class PhysXJoint; +class PhysXRigidBody; + +class PhysXSharedBody final { +public: + static PhysXSharedBody *getSharedBody(uint handle, PhysXWorld *world, PhysXRigidBody *body); + PhysXSharedBody() = delete; + PhysXSharedBody(PhysXSharedBody &other) = delete; + PhysXSharedBody(PhysXSharedBody &&other) = delete; + void reference(bool v); + void enabled(bool v); + CC_INLINE bool isStatic() { return static_cast(_mType) & static_cast(ERigidBodyType::STATIC); } + CC_INLINE bool isKinematic() { return static_cast(_mType) & static_cast(ERigidBodyType::KINEMATIC); } + CC_INLINE bool isStaticOrKinematic() { return static_cast(_mType) & static_cast(ERigidBodyType::STATIC) || static_cast(_mType) & static_cast(ERigidBodyType::KINEMATIC); } + CC_INLINE bool isDynamic() { return !isStaticOrKinematic(); } + CC_INLINE uint getNodeHandle() const { return _mNodeHandle; } + CC_INLINE cc::pipeline::Node &getNode() const { return *_mNode; } + CC_INLINE PhysXWorld &getWorld() const { return *_mWrappedWorld; } + union UActor { + uintptr_t ptr; + physx::PxRigidActor * rigidActor; + physx::PxRigidStatic * rigidStatic; + physx::PxRigidDynamic *rigidDynamic; + }; + UActor getImpl(); + void setType(ERigidBodyType v); + void setMass(float v); + void syncScale(); + void syncSceneToPhysics(); + void syncSceneWithCheck(); + void syncPhysicsToScene(); + void updateCenterOfMass(); + void addShape(PhysXShape &shape); + void removeShape(PhysXShape &shape); + void addJoint(PhysXJoint &joint, physx::PxJointActorIndex::Enum index); + void removeJoint(PhysXJoint &joint, physx::PxJointActorIndex::Enum index); + void setCollisionFilter(physx::PxFilterData &data); + void clearForces(); + void clearVelocity(); + void setGroup(uint32_t v); + void setMask(uint32_t v); + CC_INLINE uint32_t getGroup() const { return _mFilterData.word0; } + CC_INLINE uint32_t getMask() const { return _mFilterData.word1; } + +private: + static std::map sharedBodesMap; + const uint32_t _mID; + const uint _mNodeHandle; + uint8_t _mRef; + bool _mIsStatic; + ERigidBodyType _mType; + float _mMass; + int _mIndex; + physx::PxFilterData _mFilterData; + cc::pipeline::Node * _mNode; + UActor _mImpl; + physx::PxRigidStatic * _mStaticActor; + physx::PxRigidDynamic * _mDynamicActor; + PhysXWorld * _mWrappedWorld; + PhysXRigidBody * _mWrappedBody; + std::vector _mWrappedShapes; + std::vector _mWrappedJoints0; + std::vector _mWrappedJoints1; + PhysXSharedBody(const uint &handle, PhysXWorld *world, PhysXRigidBody *body); + ~PhysXSharedBody(); + void initActor(); + void switchActor(bool isStaticBefore); + void initStaticActor(); + void initDynamicActor(); +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/PhysXUtils.cpp b/native/cocos/physics/physx/PhysXUtils.cpp new file mode 100644 index 0000000000..c8d875d10f --- /dev/null +++ b/native/cocos/physics/physx/PhysXUtils.cpp @@ -0,0 +1,56 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/PhysXUtils.h" + +namespace cc { +namespace physics { + +void pxSetFromTwoVectors(physx::PxQuat &out, const physx::PxVec3 &a, const physx::PxVec3 &b) { + float dot = a.dot(b); + if (dot < -0.999999) { + physx::PxVec3 c = (physx::PxVec3{1., 0., 0.}).cross(a); + if (c.magnitude() < 0.000001) c = (physx::PxVec3{0., 1., 0.}).cross(a); + c.normalize(); + out = physx::PxQuat(physx::PxPi, c); + } else if (dot > 0.999999) { + out = physx::PxQuat{physx::PxIdentity}; + } else { + physx::PxVec3 c = a.cross(b); + out = physx::PxQuat{c.x, c.y, c.z, 1 + dot}; + out.normalize(); + } +} + +physx::PxRigidActor &getTempRigidActor() { + static physx::PxRigidActor *tempRigidActor = nullptr; + if (!tempRigidActor) { + tempRigidActor = PxGetPhysics().createRigidDynamic(physx::PxTransform{physx::PxIdentity}); + } + return *tempRigidActor; +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/PhysXUtils.h b/native/cocos/physics/physx/PhysXUtils.h new file mode 100644 index 0000000000..6d4fc5aa35 --- /dev/null +++ b/native/cocos/physics/physx/PhysXUtils.h @@ -0,0 +1,154 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/PhysXInc.h" +#include "physics/physx/PhysXFilterShader.h" +#include "base/Macros.h" +#include "math/Vec3.h" +#include "math/Vec4.h" +#include +#include + +#define PX_RELEASE(x) \ + if (x) { \ + (x)->release(); \ + (x) = NULL; \ + } + +namespace cc { +namespace physics { + +CC_INLINE bool operator!=(const physx::PxVec3 &a, const cc::Vec3 &b) { + return a.x != b.x || a.y == b.y || a.z == b.z; +} + +CC_INLINE bool operator!=(const cc::Vec3 &a, const physx::PxVec3 &b) { + return a.x != b.x || a.y == b.y || a.z == b.z; +} + +CC_INLINE bool operator==(const physx::PxVec3 &a, const cc::Vec3 &b) { + return a.x == b.x && a.y == b.y && a.z == b.z; +} + +CC_INLINE bool operator==(const cc::Vec3 &a, const physx::PxVec3 &b) { + return a.x == b.x && a.y == b.y && a.z == b.z; +} + +CC_INLINE physx::PxVec3 operator*(const physx::PxVec3 &a, const cc::Vec3 &b) { + return physx::PxVec3{a.x * b.x, a.y * b.y, a.z * b.z}; +} + +CC_INLINE cc::Vec3 operator*(const cc::Vec3 &a, const physx::PxVec3 &b) { + return cc::Vec3{a.x * b.x, a.y * b.y, a.z * b.z}; +} + +CC_INLINE physx::PxVec3 operator+(const physx::PxVec3 &a, const cc::Vec3 &b) { + return physx::PxVec3{a.x + b.x, a.y + b.y, a.z + b.z}; +} + +CC_INLINE cc::Vec3 operator+(const cc::Vec3 &a, const physx::PxVec3 &b) { + return cc::Vec3{a.x + b.x, a.y + b.y, a.z + b.z}; +} + +CC_INLINE physx::PxVec3 &operator*=(physx::PxVec3 &a, const cc::Vec3 &b) { + a.x *= b.x; + a.y *= b.y; + a.z *= b.z; + return a; +} + +CC_INLINE cc::Vec3 &operator*=(cc::Vec3 &a, const physx::PxVec3 &b) { + a.x *= b.x; + a.y *= b.y; + a.z *= b.z; + return a; +} + +CC_INLINE bool operator!=(const physx::PxQuat &a, const cc::Vec4 &b) { + return a.x != b.x || a.y == b.y || a.z == b.z || a.w == b.w; +} + +CC_INLINE bool operator!=(const cc::Vec4 &a, const physx::PxQuat &b) { + return a.x != b.x || a.y == b.y || a.z == b.z || a.w == b.w; +} + +CC_INLINE bool operator==(const physx::PxQuat &a, const cc::Vec4 &b) { + return a.x == b.x && a.y == b.y && a.z == b.z && a.w == b.w; +} + +CC_INLINE bool operator==(const cc::Vec4 &a, const physx::PxQuat &b) { + return a.x == b.x && a.y == b.y && a.z == b.z && a.w == b.w; +} + +CC_INLINE void pxSetVec3Ext(physx::PxVec3 &v, const cc::Vec3 &cv) { + v = physx::PxVec3(cv.x, cv.y, cv.z); +} + +CC_INLINE void pxSetVec3Ext(cc::Vec3 &v, const physx::PxVec3 &cv) { + v = cc::Vec3(cv.x, cv.y, cv.z); +} + +template +CC_INLINE void pxSetQuatExt(T1 &p, const T2 &cp) { + p = T1(cp.x, cp.y, cp.z, cp.w); +} + +template +CC_INLINE T pxAbsMax(const T &a, const T &b) { + return physx::PxAbs(a) > physx::PxAbs(b) ? a : b; +} + +void pxSetFromTwoVectors(physx::PxQuat &out, const physx::PxVec3 &a, const physx::PxVec3 &b); + +CC_INLINE std::unordered_map &getPxShapeMap() { + static std::unordered_map m; + return m; +} + +CC_INLINE std::unordered_map &getPxMaterialMap() { + static std::unordered_map m; + return m; +} + +CC_INLINE physx::PxMaterial &getDefaultMaterial() { + return *(reinterpret_cast(getPxMaterialMap()[0])); +} + +CC_INLINE std::vector &getPxRaycastHitBuffer() { + static std::vector m{12}; + return m; +} + +CC_INLINE QueryFilterShader &getQueryFilterShader() { + static QueryFilterShader shader; + return shader; +} + +physx::PxRigidActor &getTempRigidActor(); + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/PhysXWorld.cpp b/native/cocos/physics/physx/PhysXWorld.cpp new file mode 100644 index 0000000000..a01306a841 --- /dev/null +++ b/native/cocos/physics/physx/PhysXWorld.cpp @@ -0,0 +1,309 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/PhysXInc.h" +#include "physics/physx/PhysXWorld.h" +#include "physics/spec/IWorld.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXFilterShader.h" + +namespace cc { +namespace physics { + +PhysXWorld *PhysXWorld::instance = nullptr; +PhysXWorld &PhysXWorld::getInstance() { + return *instance; +} + +physx::PxFoundation &PhysXWorld::getFundation() { + return *getInstance()._mFoundation; +} + +physx::PxCooking &PhysXWorld::getCooking() { + return *getInstance()._mCooking; +} + +physx::PxPhysics &PhysXWorld::getPhysics() { + return *getInstance()._mPhysics; +} + +PhysXWorld::PhysXWorld() { + instance = this; + static physx::PxDefaultAllocator gAllocator; + static physx::PxDefaultErrorCallback gErrorCallback; + _mFoundation = PxCreateFoundation(PX_PHYSICS_VERSION, gAllocator, gErrorCallback); + physx::PxTolerancesScale scale{}; + _mCooking = PxCreateCooking(PX_PHYSICS_VERSION, *_mFoundation, physx::PxCookingParams(scale)); + + physx::PxPvd *pvd = nullptr; +#ifdef CC_DEBUG + pvd = _mPvd = physx::PxCreatePvd(*_mFoundation); + physx::PxPvdTransport *transport = physx::PxDefaultPvdSocketTransportCreate("127.0.0.1", 5425, 10); + _mPvd->connect(*transport, physx::PxPvdInstrumentationFlag::eALL); +#endif + _mPhysics = PxCreatePhysics(PX_PHYSICS_VERSION, *_mFoundation, scale, true, pvd); + PxInitExtensions(*_mPhysics, pvd); + _mDispatcher = physx::PxDefaultCpuDispatcherCreate(0); + + _mEventMgr = new PhysXEventManager(); + + physx::PxSceneDesc sceneDesc(_mPhysics->getTolerancesScale()); + sceneDesc.gravity = physx::PxVec3(0.0F, -10.0F, 0.0F); + sceneDesc.cpuDispatcher = _mDispatcher; + sceneDesc.kineKineFilteringMode = physx::PxPairFilteringMode::eKEEP; + sceneDesc.staticKineFilteringMode = physx::PxPairFilteringMode::eKEEP; + sceneDesc.flags |= physx::PxSceneFlag::eENABLE_CCD; + sceneDesc.filterShader = simpleFilterShader; + sceneDesc.simulationEventCallback = &_mEventMgr->getEventCallback(); + _mScene = _mPhysics->createScene(sceneDesc); + + _mCollisionMatrix[0] = 1; + + createMaterial(0, 0.6F, 0.6F, 0.1F, 2, 2); +} + +PhysXWorld::~PhysXWorld() { + delete _mEventMgr; + PX_RELEASE(_mScene); + PX_RELEASE(_mDispatcher); + PX_RELEASE(_mPhysics); +#ifdef CC_DEBUG + physx::PxPvdTransport *transport = _mPvd->getTransport(); + PX_RELEASE(_mPvd); + PX_RELEASE(transport); +#endif + PxCloseExtensions(); + PX_RELEASE(_mFoundation); +} + +void PhysXWorld::step(float fixedTimeStep) { + _mScene->simulate(fixedTimeStep); + _mScene->fetchResults(true); + syncPhysicsToScene(); +} + +void PhysXWorld::setGravity(float x, float y, float z) { + _mScene->setGravity(physx::PxVec3(x, y, z)); +} + +void PhysXWorld::destroy() { +} + +void PhysXWorld::setCollisionMatrix(uint32_t index, uint32_t mask) { + if (index > 31) return; + _mCollisionMatrix[index] = mask; +} + +uintptr_t PhysXWorld::createConvex(ConvexDesc &desc) { + physx::PxConvexMeshDesc convexDesc; + convexDesc.points.count = desc.positionLength; + convexDesc.points.stride = sizeof(physx::PxVec3); + convexDesc.points.data = static_cast(desc.positions); + convexDesc.flags = physx::PxConvexFlag::eCOMPUTE_CONVEX; + physx::PxConvexMesh *convexMesh = getCooking().createConvexMesh(convexDesc, PxGetPhysics().getPhysicsInsertionCallback()); + return reinterpret_cast(convexMesh); +} + +uintptr_t PhysXWorld::createTrimesh(TrimeshDesc &desc) { + physx::PxTriangleMeshDesc meshDesc; + meshDesc.points.count = desc.positionLength; + meshDesc.points.stride = sizeof(physx::PxVec3); + meshDesc.points.data = static_cast(desc.positions); + meshDesc.triangles.count = desc.triangleLength; + if (desc.isU16) { + meshDesc.triangles.stride = 3 * sizeof(physx::PxU16); + meshDesc.triangles.data = static_cast(desc.triangles); + meshDesc.flags = physx::PxMeshFlag::e16_BIT_INDICES; + } else { + meshDesc.triangles.stride = 3 * sizeof(physx::PxU32); + meshDesc.triangles.data = static_cast(desc.triangles); + } + physx::PxTriangleMesh *triangleMesh = getCooking().createTriangleMesh(meshDesc, PxGetPhysics().getPhysicsInsertionCallback()); + return reinterpret_cast(triangleMesh); +} + +uintptr_t PhysXWorld::createHeightField(HeightFieldDesc &desc) { + const auto rows = desc.rows; + const auto columns = desc.columns; + const physx::PxU32 counts = rows * columns; + auto *samples = new physx::PxHeightFieldSample[counts]; + for (physx::PxU32 r = 0; r < rows; r++) { + for (physx::PxU32 c = 0; c < columns; c++) { + const auto index = c + r * columns; + auto v = (static_cast(desc.samples))[index]; + samples[index].height = v; + } + } + physx::PxHeightFieldDesc hfDesc; + hfDesc.nbRows = rows; + hfDesc.nbColumns = columns; + hfDesc.samples.data = samples; + hfDesc.samples.stride = sizeof(physx::PxHeightFieldSample); + physx::PxHeightField *hf = getCooking().createHeightField(hfDesc, PxGetPhysics().getPhysicsInsertionCallback()); + delete[] samples; + return reinterpret_cast(hf); +} + +uintptr_t PhysXWorld::createMaterial(uint16_t id, float f, float df, float r, + uint8_t m0, uint8_t m1) { + physx::PxMaterial *mat; + auto &m = getPxMaterialMap(); + if (m.find(id) == m.end()) { + mat = PxGetPhysics().createMaterial(f, df, r); + m[id] = reinterpret_cast(mat); + mat->setFrictionCombineMode(physx::PxCombineMode::Enum(m0)); + mat->setRestitutionCombineMode(physx::PxCombineMode::Enum(m1)); + } else { + mat = reinterpret_cast(m[id]); + mat->setStaticFriction(f); + mat->setDynamicFriction(df); + mat->setRestitution(r); + mat->setFrictionCombineMode(physx::PxCombineMode::Enum(m0)); + mat->setRestitutionCombineMode(physx::PxCombineMode::Enum(m1)); + } + return uintptr_t(mat); +} + +void PhysXWorld::emitEvents() { + _mEventMgr->refreshPairs(); +} + +void PhysXWorld::syncSceneToPhysics() { + for (auto const &sb : _mSharedBodies) { + sb->syncSceneToPhysics(); + } +} + +uint32_t PhysXWorld::getMaskByIndex(uint32_t i) { + if (i > 31) i = 0; + return _mCollisionMatrix[i]; +} + +void PhysXWorld::syncPhysicsToScene() { + for (auto const &sb : _mSharedBodies) { + sb->syncPhysicsToScene(); + } +} + +void PhysXWorld::syncSceneWithCheck() { + for (auto const &sb : _mSharedBodies) { + sb->syncSceneWithCheck(); + } +} + +void PhysXWorld::setAllowSleep(bool val) { +} + +void PhysXWorld::addActor(PhysXSharedBody &sb) { + auto beg = _mSharedBodies.begin(); + auto end = _mSharedBodies.end(); + auto iter = find(beg, end, &sb); + if (iter == end) { + _mScene->addActor(*sb.getImpl().rigidActor); + _mSharedBodies.push_back(&sb); + } +} + +void PhysXWorld::removeActor(PhysXSharedBody &sb) { + auto beg = _mSharedBodies.begin(); + auto end = _mSharedBodies.end(); + auto iter = find(beg, end, &sb); + if (iter != end) { + _mScene->removeActor(*sb.getImpl().rigidActor, true); + _mSharedBodies.erase(iter); + } +} + +bool PhysXWorld::raycast(RaycastOptions &opt) { + physx::PxQueryCache *cache = nullptr; + const auto o = opt.origin; + const auto ud = opt.unitDir; + physx::PxVec3 origin{o.x, o.y, o.z}; + physx::PxVec3 unitDir{ud.x, ud.y, ud.z}; + unitDir.normalize(); + physx::PxHitFlags flags = physx::PxHitFlag::ePOSITION | physx::PxHitFlag::eNORMAL; + physx::PxSceneQueryFilterData filterData; + filterData.data.word0 = opt.mask; + filterData.data.word3 = QUERY_FILTER | (opt.queryTrigger ? 0 : QUERY_CHECK_TRIGGER); + filterData.flags = physx::PxQueryFlag::eSTATIC | physx::PxQueryFlag::eDYNAMIC | physx::PxQueryFlag::ePREFILTER; + auto &hitBuffer = getPxRaycastHitBuffer(); + bool result = false; + const auto nbTouches = physx::PxSceneQueryExt::raycastMultiple( + getScene(), origin, unitDir, opt.distance, flags, hitBuffer.data(), + static_cast(hitBuffer.size()), result, filterData, &getQueryFilterShader(), cache); + if (nbTouches == 0 || nbTouches == -1) return false; + auto &r = raycastResult(); + r.resize(nbTouches); + for (physx::PxI32 i = 0; i < nbTouches; i++) { + const auto &shapeIter = getPxShapeMap().find(reinterpret_cast(hitBuffer[i].shape)); + if (shapeIter == getPxShapeMap().end()) return false; + r[i].shape = shapeIter->second; + r[i].distance = hitBuffer[i].distance; + pxSetVec3Ext(r[i].hitNormal, hitBuffer[i].normal); + pxSetVec3Ext(r[i].hitPoint, hitBuffer[i].position); + } + return true; +} + +std::vector &PhysXWorld::raycastResult() { + static std::vector hits; + return hits; +} + +bool PhysXWorld::raycastClosest(RaycastOptions &opt) { + physx::PxRaycastHit hit; + physx::PxQueryCache *cache = nullptr; + const auto o = opt.origin; + const auto ud = opt.unitDir; + physx::PxVec3 origin{o.x, o.y, o.z}; + physx::PxVec3 unitDir{ud.x, ud.y, ud.z}; + unitDir.normalize(); + physx::PxHitFlags flags = physx::PxHitFlag::ePOSITION | physx::PxHitFlag::eNORMAL; + physx::PxSceneQueryFilterData filterData; + filterData.data.word0 = opt.mask; + filterData.data.word3 = QUERY_FILTER | (opt.queryTrigger ? 0 : QUERY_CHECK_TRIGGER) | QUERY_SINGLE_HIT; + filterData.flags = physx::PxQueryFlag::eSTATIC | physx::PxQueryFlag::eDYNAMIC | physx::PxQueryFlag::ePREFILTER; + const auto result = physx::PxSceneQueryExt::raycastSingle( + getScene(), origin, unitDir, opt.distance, flags, + hit, filterData, &getQueryFilterShader(), cache); + if (result) { + auto &r = raycastClosestResult(); + const auto &shapeIter = getPxShapeMap().find(reinterpret_cast(hit.shape)); + if (shapeIter == getPxShapeMap().end()) return false; + r.shape = shapeIter->second; + r.distance = hit.distance; + pxSetVec3Ext(r.hitPoint, hit.position); + pxSetVec3Ext(r.hitNormal, hit.normal); + } + return result; +} + +RaycastResult &PhysXWorld::raycastClosestResult() { + static RaycastResult hit; + return hit; +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/PhysXWorld.h b/native/cocos/physics/physx/PhysXWorld.h new file mode 100644 index 0000000000..94c74b8064 --- /dev/null +++ b/native/cocos/physics/physx/PhysXWorld.h @@ -0,0 +1,100 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/PhysXInc.h" +#include "physics/spec/IWorld.h" +#include "physics/physx/PhysXEventManager.h" +#include "physics/physx/PhysXFilterShader.h" +#include "physics/physx/PhysXRigidBody.h" +#include "physics/physx/PhysXSharedBody.h" +#include "base/Macros.h" +#include + +namespace cc { +namespace physics { + +class PhysXWorld final : virtual public IPhysicsWorld { +public: + static PhysXWorld &getInstance(); + static physx::PxFoundation &getFundation(); + static physx::PxCooking &getCooking(); + static physx::PxPhysics &getPhysics(); + PhysXWorld(); + ~PhysXWorld() override; + void step(float fixedTimeStep) override; + void setGravity(float x, float y, float z) override; + void setAllowSleep(bool v) override; + void emitEvents() override; + void setCollisionMatrix(uint32_t index, uint32_t mask) override; + bool raycast(RaycastOptions &opt) override; + bool raycastClosest(RaycastOptions &opt) override; + std::vector &raycastResult() override; + RaycastResult &raycastClosestResult() override; + uintptr_t createConvex(ConvexDesc &desc) override; + uintptr_t createTrimesh(TrimeshDesc &desc) override; + uintptr_t createHeightField(HeightFieldDesc &desc) override; + uintptr_t createMaterial(uint16_t id, float f, float df, float r, + uint8_t m0, uint8_t m1) override; + CC_INLINE std::vector> &getTriggerEventPairs() override { + return _mEventMgr->getTriggerPairs(); + } + CC_INLINE std::vector> &getContactEventPairs() override { + return _mEventMgr->getConatctPairs(); + } + void syncSceneToPhysics() override; + void syncSceneWithCheck() override; + void destroy() override; + + CC_INLINE PhysXSharedBody *getSharedBody( + const uint handle, + PhysXRigidBody *const body = nullptr) { + return PhysXSharedBody::getSharedBody(handle, this, body); + } + + CC_INLINE physx::PxScene &getScene() const { return *_mScene; } + uint32_t getMaskByIndex(uint32_t i); + void syncPhysicsToScene(); + void addActor(PhysXSharedBody &sb); + void removeActor(PhysXSharedBody &sb); + +private: + static PhysXWorld *instance; + physx::PxFoundation *_mFoundation; + physx::PxCooking *_mCooking; + physx::PxPhysics *_mPhysics; +#ifdef CC_DEBUG + physx::PxPvd *_mPvd; +#endif + physx::PxDefaultCpuDispatcher *_mDispatcher; + physx::PxScene *_mScene; + PhysXEventManager *_mEventMgr; + uint32_t _mCollisionMatrix[31]; + std::vector _mSharedBodies; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/joints/PhysXDistance.cpp b/native/cocos/physics/physx/joints/PhysXDistance.cpp new file mode 100644 index 0000000000..04fae12e7f --- /dev/null +++ b/native/cocos/physics/physx/joints/PhysXDistance.cpp @@ -0,0 +1,78 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/joints/PhysXDistance.h" +#include "physics/physx/PhysXSharedBody.h" +#include "physics/physx/PhysXUtils.h" +#include "math/Quaternion.h" + +namespace cc { +namespace physics { + +PhysXDistance::PhysXDistance() : _mPivotA(physx::PxZero), + _mPivotB(physx::PxZero) {} + +void PhysXDistance::onComponentSet() { + _mJoint = PxDistanceJointCreate(PxGetPhysics(), &getTempRigidActor(), physx::PxTransform{physx::PxIdentity}, nullptr, physx::PxTransform{physx::PxIdentity}); +} + +void PhysXDistance::setPivotA(float x, float y, float z) { + _mPivotA = physx::PxVec3{x, y, z}; + updatePose(); +} + +void PhysXDistance::setPivotB(float x, float y, float z) { + _mPivotB = physx::PxVec3{x, y, z}; + updatePose(); +} + +void PhysXDistance::updateScale0() { + updatePose(); +} + +void PhysXDistance::updateScale1() { + updatePose(); +} + +void PhysXDistance::updatePose() { + physx::PxTransform pose0{physx::PxIdentity}; + physx::PxTransform pose1{physx::PxIdentity}; + auto &node0 = _mSharedBody->getNode(); + pose0.p = _mPivotA * node0.worldScale; + _mJoint->setLocalPose(physx::PxJointActorIndex::eACTOR0, pose0); + if (_mConnectedBody) { + auto &node1 = _mConnectedBody->getNode(); + pose1.p = _mPivotB * node1.worldScale; + } else { + pose1.p = _mPivotA * node0.worldScale; + pose1.p += _mPivotB + node0.worldPosition; + const auto &wr = node0.worldRotation; + pose1.q *= physx::PxQuat{wr.x, wr.y, wr.z, wr.w}; + } + _mJoint->setLocalPose(physx::PxJointActorIndex::eACTOR1, pose1); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/joints/PhysXDistance.h b/native/cocos/physics/physx/joints/PhysXDistance.h new file mode 100644 index 0000000000..3372d03d81 --- /dev/null +++ b/native/cocos/physics/physx/joints/PhysXDistance.h @@ -0,0 +1,50 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/joints/PhysXJoint.h" + +namespace cc { +namespace physics { + +class PhysXDistance final : public PhysXJoint, public IDistanceJoint { +public: + PhysXDistance(); + ~PhysXDistance() override = default; + void setPivotA(float x, float y, float z) override; + void setPivotB(float x, float y, float z) override; + void updateScale0() override; + void updateScale1() override; + +private: + void onComponentSet() override; + void updatePose(); + physx::PxVec3 _mPivotA; + physx::PxVec3 _mPivotB; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/joints/PhysXJoint.cpp b/native/cocos/physics/physx/joints/PhysXJoint.cpp new file mode 100644 index 0000000000..2179628c47 --- /dev/null +++ b/native/cocos/physics/physx/joints/PhysXJoint.cpp @@ -0,0 +1,81 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/joints/PhysXJoint.h" +#include "physics/physx/PhysXSharedBody.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" + +namespace cc { +namespace physics { + +void PhysXJoint::initialize(const uint handle) { + auto &ins = PhysXWorld::getInstance(); + _mSharedBody = ins.getSharedBody(handle); + _mSharedBody->reference(true); + onComponentSet(); +} + +void PhysXJoint::onEnable() { + _mSharedBody->addJoint(*this, physx::PxJointActorIndex::eACTOR0); + if (_mConnectedBody) { + _mConnectedBody->addJoint(*this, physx::PxJointActorIndex::eACTOR1); + _mJoint->setActors(_mSharedBody->getImpl().rigidActor, _mConnectedBody->getImpl().rigidActor); + } else { + _mJoint->setActors(_mSharedBody->getImpl().rigidActor, nullptr); + } +} + +void PhysXJoint::onDisable() { + _mJoint->setActors(&getTempRigidActor(), nullptr); + _mSharedBody->removeJoint(*this, physx::PxJointActorIndex::eACTOR0); + if (_mConnectedBody) _mConnectedBody->removeJoint(*this, physx::PxJointActorIndex::eACTOR1); +} + +void PhysXJoint::onDestroy() { + _mSharedBody->reference(false); +} + +void PhysXJoint::setConnectedBody(const uint handle) { + if (handle) { + auto &ins = PhysXWorld::getInstance(); + _mConnectedBody = ins.getSharedBody(handle); + } else { + _mConnectedBody = nullptr; + } + if (_mJoint) { + _mJoint->setActors(_mSharedBody->getImpl().rigidActor, _mConnectedBody ? _mConnectedBody->getImpl().rigidActor : nullptr); + } +} + +void PhysXJoint::setEnableCollision(const bool v) { + _mEnableCollision = v; + if (_mJoint) { + _mJoint->setConstraintFlag(physx::PxConstraintFlag::eCOLLISION_ENABLED, _mEnableCollision); + } +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/joints/PhysXJoint.h b/native/cocos/physics/physx/joints/PhysXJoint.h new file mode 100644 index 0000000000..cda55a75b4 --- /dev/null +++ b/native/cocos/physics/physx/joints/PhysXJoint.h @@ -0,0 +1,61 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/PhysXInc.h" +#include "physics/spec/IJoint.h" +#include "base/Macros.h" + +namespace cc { +namespace physics { +class PhysXSharedBody; + +class PhysXJoint : virtual public IBaseJoint { + PX_NOCOPY(PhysXJoint) + PhysXJoint() = default; + +public: + ~PhysXJoint() override = default; + CC_INLINE uintptr_t getImpl() override { return reinterpret_cast(this); } + void initialize(uint handle) override; + void onEnable() override; + void onDisable() override; + void onDestroy() override; + void setConnectedBody(uint handle) override; + void setEnableCollision(bool v) override; + virtual void updateScale0() = 0; + virtual void updateScale1() = 0; + +protected: + physx::PxJoint *_mJoint{nullptr}; + PhysXSharedBody *_mSharedBody{nullptr}; + PhysXSharedBody *_mConnectedBody{nullptr}; + bool _mEnableCollision{false}; + virtual void onComponentSet() = 0; +}; + +} // namespace physics +} // namespace cc \ No newline at end of file diff --git a/native/cocos/physics/physx/joints/PhysXRevolute.cpp b/native/cocos/physics/physx/joints/PhysXRevolute.cpp new file mode 100644 index 0000000000..e252290924 --- /dev/null +++ b/native/cocos/physics/physx/joints/PhysXRevolute.cpp @@ -0,0 +1,86 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/joints/PhysXRevolute.h" +#include "physics/physx/PhysXSharedBody.h" +#include "physics/physx/PhysXUtils.h" +#include "math/Quaternion.h" + +namespace cc { +namespace physics { + +PhysXRevolute::PhysXRevolute() : _mPivotA(physx::PxZero), + _mPivotB(physx::PxZero), + _mAxis(physx::PxZero) {} + +void PhysXRevolute::onComponentSet() { + _mJoint = PxRevoluteJointCreate(PxGetPhysics(), &getTempRigidActor(), physx::PxTransform{physx::PxIdentity}, nullptr, physx::PxTransform{physx::PxIdentity}); +} + +void PhysXRevolute::setPivotA(float x, float y, float z) { + _mPivotA = physx::PxVec3{x, y, z}; + updatePose(); +} + +void PhysXRevolute::setPivotB(float x, float y, float z) { + _mPivotB = physx::PxVec3{x, y, z}; + updatePose(); +} + +void PhysXRevolute::setAxis(float x, float y, float z) { + _mAxis = physx::PxVec3{x, y, z}; + updatePose(); +} + +void PhysXRevolute::updateScale0() { + updatePose(); +} + +void PhysXRevolute::updateScale1() { + updatePose(); +} + +void PhysXRevolute::updatePose() { + physx::PxTransform pose0{physx::PxIdentity}; + physx::PxTransform pose1{physx::PxIdentity}; + auto &node0 = _mSharedBody->getNode(); + pose0.p = _mPivotA * node0.worldScale; + pxSetFromTwoVectors(pose0.q, physx::PxVec3{1.F, 0.F, 0.F}, _mAxis); + _mJoint->setLocalPose(physx::PxJointActorIndex::eACTOR0, pose0); + pose1.q = pose0.q; + if (_mConnectedBody) { + auto &node1 = _mConnectedBody->getNode(); + pose1.p = _mPivotB * node1.worldScale; + } else { + pose1.p = _mPivotA * node0.worldScale; + pose1.p += _mPivotB + node0.worldPosition; + const auto &wr = node0.worldRotation; + pose1.q *= physx::PxQuat{wr.x, wr.y, wr.z, wr.w}; + } + _mJoint->setLocalPose(physx::PxJointActorIndex::eACTOR1, pose1); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/joints/PhysXRevolute.h b/native/cocos/physics/physx/joints/PhysXRevolute.h new file mode 100644 index 0000000000..312297554a --- /dev/null +++ b/native/cocos/physics/physx/joints/PhysXRevolute.h @@ -0,0 +1,52 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/joints/PhysXJoint.h" + +namespace cc { +namespace physics { + +class PhysXRevolute final : public PhysXJoint, public IRevoluteJoint { +public: + PhysXRevolute(); + ~PhysXRevolute() override = default; + void setPivotA(float x, float y, float z) override; + void setPivotB(float x, float y, float z) override; + void setAxis(float x, float y, float z) override; + void updateScale0() override; + void updateScale1() override; + +private: + void onComponentSet() override; + void updatePose(); + physx::PxVec3 _mPivotA; + physx::PxVec3 _mPivotB; + physx::PxVec3 _mAxis; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXBox.cpp b/native/cocos/physics/physx/shapes/PhysXBox.cpp new file mode 100644 index 0000000000..3492f06d9c --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXBox.cpp @@ -0,0 +1,66 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/shapes/PhysXBox.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" + +namespace cc { +namespace physics { + +PhysXBox::PhysXBox() : _mHalfExtents(0.5), + PhysXShape(){}; + +void PhysXBox::setSize(float x, float y, float z) { + _mHalfExtents = physx::PxVec3{x / 2, y / 2, z / 2}; + updateGeometry(); + getShape().setGeometry(getPxGeometry()); +} + +void PhysXBox::onComponentSet() { + updateGeometry(); + _mShape = PxGetPhysics().createShape(getPxGeometry(), getDefaultMaterial(), true); +} + +void PhysXBox::updateScale() { + updateGeometry(); + getShape().setGeometry(getPxGeometry()); + updateCenter(); +} + +void PhysXBox::updateGeometry() { + auto &node = getSharedBody().getNode(); + auto &geo = getPxGeometry(); + geo.halfExtents = _mHalfExtents; + geo.halfExtents *= node.worldScale; + geo.halfExtents = geo.halfExtents.abs(); + if (geo.halfExtents.minElement() <= 0.0) { + geo.halfExtents = geo.halfExtents.maximum(physx::PxVec3{PX_NORMALIZATION_EPSILON}); + } +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXBox.h b/native/cocos/physics/physx/shapes/PhysXBox.h new file mode 100644 index 0000000000..6ed2d13a05 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXBox.h @@ -0,0 +1,47 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/shapes/PhysXShape.h" + +namespace cc { +namespace physics { + +class PhysXBox final : public PhysXShape, public IBoxShape { +public: + PhysXBox(); + ~PhysXBox() override = default; + void setSize(float x, float y, float z) override; + void updateScale() override; + +private: + physx::PxVec3 _mHalfExtents; + void updateGeometry(); + void onComponentSet() override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXCapsule.cpp b/native/cocos/physics/physx/shapes/PhysXCapsule.cpp new file mode 100644 index 0000000000..81916f25ed --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXCapsule.cpp @@ -0,0 +1,96 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/shapes/PhysXCapsule.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" + +namespace cc { +namespace physics { + +PhysXCapsule::PhysXCapsule() : _mRadius(0.5F), + _mCylinderHeight(1.0F), + _mDirection(EAxisDirection::Y_AXIS) + {}; + +void PhysXCapsule::setRadius(float r) { + _mRadius = r; + updateGeometry(); + getShape().setGeometry(getPxGeometry()); +} + +void PhysXCapsule::setCylinderHeight(float v) { + _mCylinderHeight = v; + updateGeometry(); + getShape().setGeometry(getPxGeometry()); +} + +void PhysXCapsule::setDirection(EAxisDirection v) { + _mDirection = v; + updateGeometry(); + getShape().setGeometry(getPxGeometry()); +} + +void PhysXCapsule::onComponentSet() { + updateGeometry(); + _mShape = PxGetPhysics().createShape(getPxGeometry(), getDefaultMaterial(), true); +} + +void PhysXCapsule::updateScale() { + updateGeometry(); + getShape().setGeometry(getPxGeometry()); + updateCenter(); +} + +void PhysXCapsule::updateGeometry() { + auto &node = getSharedBody().getNode(); + auto &geo = getPxGeometry(); + float rs = 1.F; + float hs = 1.F; + switch (_mDirection) { + case EAxisDirection::X_AXIS: + hs = physx::PxAbs(node.worldScale.x); + rs = pxAbsMax(node.worldScale.y, node.worldScale.z); + _mRotation = physx::PxQuat{physx::PxIdentity}; + break; + case EAxisDirection::Z_AXIS: + hs = physx::PxAbs(node.worldScale.z); + rs = pxAbsMax(node.worldScale.x, node.worldScale.y); + _mRotation = physx::PxQuat(physx::PxPiDivTwo, physx::PxVec3{0.F, 1.F, 0.F}); + break; + case EAxisDirection::Y_AXIS: + default: + hs = physx::PxAbs(node.worldScale.y); + rs = pxAbsMax(node.worldScale.x, node.worldScale.z); + _mRotation = physx::PxQuat(physx::PxPiDivTwo, physx::PxVec3{0.F, 0.F, 1.F}); + break; + } + geo.radius = physx::PxMax(physx::PxAbs(_mRadius * rs), PX_NORMALIZATION_EPSILON); + geo.halfHeight = physx::PxMax(physx::PxAbs(_mCylinderHeight / 2 * hs), PX_NORMALIZATION_EPSILON); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXCapsule.h b/native/cocos/physics/physx/shapes/PhysXCapsule.h new file mode 100644 index 0000000000..824b3484ee --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXCapsule.h @@ -0,0 +1,51 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/shapes/PhysXShape.h" + +namespace cc { +namespace physics { + +class PhysXCapsule final : public PhysXShape, public ICapsuleShape { +public: + PhysXCapsule(); + ~PhysXCapsule() override = default; + void setRadius(float r) override; + void setCylinderHeight(float v) override; + void setDirection(EAxisDirection v) override; + void updateScale() override; + +private: + float _mRadius; + float _mCylinderHeight; + EAxisDirection _mDirection; + void updateGeometry(); + void onComponentSet() override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXCone.cpp b/native/cocos/physics/physx/shapes/PhysXCone.cpp new file mode 100644 index 0000000000..01ba6e5800 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXCone.cpp @@ -0,0 +1,101 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/shapes/PhysXCone.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" +#include "math/Quaternion.h" +#include "renderer/pipeline/helper/SharedMemory.h" +#include + +namespace cc { +namespace physics { + +PhysXCone::PhysXCone() : _mMesh(nullptr) + {}; + +void PhysXCone::setConvex(uintptr_t handle) { + if (reinterpret_cast(_mMesh) == handle) return; + _mMesh = reinterpret_cast(handle); + if (_mShape) { + } +} + +void PhysXCone::onComponentSet() { + if (_mMesh) { + physx::PxConvexMeshGeometry geom; + geom.convexMesh = _mMesh; + // geom.meshFlags = PxConvexMeshGeometryFlags::eTIGHT_BOUNDS; + _mShape = PxGetPhysics().createShape(geom, getDefaultMaterial(), true); + updateGeometry(); + } +} + +void PhysXCone::setCone(float r, float h, EAxisDirection d) { + _mData.radius = r; + _mData.height = h; + _mData.direction = d; + updateGeometry(); +} + +void PhysXCone::updateGeometry() { + if (!_mShape) return; + static physx::PxMeshScale scale; + pxSetVec3Ext(scale.scale, getSharedBody().getNode().worldScale); + scale.scale.y *= std::max(0.0001F, _mData.height / 2); + const auto xz = std::max(0.0001F, _mData.radius * 2); + scale.scale.x *= xz; + scale.scale.z *= xz; + Quaternion quat; + switch (_mData.direction) { + case EAxisDirection::X_AXIS: + quat.set(Vec3::UNIT_Z, physx::PxPiDivTwo); + pxSetQuatExt(scale.rotation, quat); + break; + case EAxisDirection::Y_AXIS: + default: + scale.rotation = physx::PxQuat{physx::PxIdentity}; + break; + case EAxisDirection::Z_AXIS: + quat.set(Vec3::UNIT_X, physx::PxPiDivTwo); + pxSetQuatExt(scale.rotation, quat); + break; + } + physx::PxConvexMeshGeometry geom; + if (getShape().getConvexMeshGeometry(geom)) { + geom.scale = scale; + getShape().setGeometry(geom); + } + pxSetQuatExt(_mRotation, quat); +} + +void PhysXCone::updateScale() { + updateGeometry(); + updateCenter(); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXCone.h b/native/cocos/physics/physx/shapes/PhysXCone.h new file mode 100644 index 0000000000..49200c689f --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXCone.h @@ -0,0 +1,55 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/shapes/PhysXShape.h" + +namespace cc { +namespace physics { + +class PhysXCone final : public PhysXShape, public IConeShape { +public: + PhysXCone(); + ~PhysXCone() override = default; + void setConvex(uintptr_t handle) override; + void setCone(float r, float h, EAxisDirection d) override; + void updateScale() override; + + struct Cone { + float radius; + float height; + EAxisDirection direction; + }; + +private: + physx::PxConvexMesh *_mMesh; + Cone _mData; + void updateGeometry(); + void onComponentSet() override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXCylinder.cpp b/native/cocos/physics/physx/shapes/PhysXCylinder.cpp new file mode 100644 index 0000000000..4d8f0d3eb7 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXCylinder.cpp @@ -0,0 +1,101 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/shapes/PhysXCylinder.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" +#include "math/Quaternion.h" +#include "renderer/pipeline/helper/SharedMemory.h" +#include + +namespace cc { +namespace physics { + +PhysXCylinder::PhysXCylinder() : _mMesh(nullptr){}; + +void PhysXCylinder::setConvex(uintptr_t handle) { + if (reinterpret_cast(_mMesh) == handle) return; + _mMesh = reinterpret_cast(handle); + if (_mShape) { + // TODO(Administrator): ... + } +} + +void PhysXCylinder::onComponentSet() { + if (_mMesh) { + physx::PxConvexMeshGeometry geom; + geom.convexMesh = _mMesh; + // geom.meshFlags = PxConvexMeshGeometryFlags::eTIGHT_BOUNDS; + _mShape = PxGetPhysics().createShape(geom, getDefaultMaterial(), true); + updateGeometry(); + } +} + +void PhysXCylinder::setCylinder(float r, float h, EAxisDirection d) { + _mData.radius = r; + _mData.height = h; + _mData.direction = d; + updateGeometry(); +} + +void PhysXCylinder::updateGeometry() { + if (!_mShape) return; + static physx::PxMeshScale scale; + pxSetVec3Ext(scale.scale, getSharedBody().getNode().worldScale); + scale.scale.y *= std::max(0.0001F, _mData.height / 2); + const auto xz = std::max(0.0001F, _mData.radius * 2); + scale.scale.x *= xz; + scale.scale.z *= xz; + Quaternion quat; + switch (_mData.direction) { + case EAxisDirection::X_AXIS: + quat.set(Vec3::UNIT_Z, physx::PxPiDivTwo); + pxSetQuatExt(scale.rotation, quat); + break; + case EAxisDirection::Y_AXIS: + default: + scale.rotation = physx::PxQuat{physx::PxIdentity}; + break; + case EAxisDirection::Z_AXIS: + quat.set(Vec3::UNIT_X, physx::PxPiDivTwo); + pxSetQuatExt(scale.rotation, quat); + break; + } + physx::PxConvexMeshGeometry geom; + if (getShape().getConvexMeshGeometry(geom)) { + geom.scale = scale; + getShape().setGeometry(geom); + } + pxSetQuatExt(_mRotation, quat); +} + +void PhysXCylinder::updateScale() { + updateGeometry(); + updateCenter(); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXCylinder.h b/native/cocos/physics/physx/shapes/PhysXCylinder.h new file mode 100644 index 0000000000..68fac46535 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXCylinder.h @@ -0,0 +1,55 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/shapes/PhysXShape.h" + +namespace cc { +namespace physics { + +class PhysXCylinder final : public PhysXShape, public ICylinderShape { +public: + PhysXCylinder(); + ~PhysXCylinder() override = default; + void setConvex(uintptr_t handle) override; + void setCylinder(float r, float h, EAxisDirection d) override; + void updateScale() override; + + struct Cylinder { + float radius; + float height; + EAxisDirection direction; + }; + +private: + physx::PxConvexMesh *_mMesh; + Cylinder _mData; + void updateGeometry(); + void onComponentSet() override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXPlane.cpp b/native/cocos/physics/physx/shapes/PhysXPlane.cpp new file mode 100644 index 0000000000..7b0f4ef679 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXPlane.cpp @@ -0,0 +1,67 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/shapes/PhysXPlane.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" + +namespace cc { +namespace physics { + +PhysXPlane::PhysXPlane() : _mConstant(0.F), + _mNormal(0.F, 1.F, 0.F) + {}; + +void PhysXPlane::setConstant(float x) { + _mConstant = x; + updateCenter(); +} + +void PhysXPlane::setNormal(float x, float y, float z) { + _mNormal = physx::PxVec3{x, y, z}; + updateCenter(); +} + +void PhysXPlane::onComponentSet() { + _mShape = PxGetPhysics().createShape(getPxGeometry(), getDefaultMaterial(), true); + updateCenter(); +} + +void PhysXPlane::updateScale() { + updateCenter(); +} + +void PhysXPlane::updateCenter() { + auto &node = getSharedBody().getNode(); + auto &geo = getPxGeometry(); + physx::PxTransform local; + pxSetFromTwoVectors(local.q, physx::PxVec3{1.F, 0.F, 0.F}, _mNormal); + local.p = _mNormal * _mConstant + _mCenter; + getShape().setLocalPose(local); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXPlane.h b/native/cocos/physics/physx/shapes/PhysXPlane.h new file mode 100644 index 0000000000..2615650530 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXPlane.h @@ -0,0 +1,49 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/shapes/PhysXShape.h" + +namespace cc { +namespace physics { + +class PhysXPlane final : public PhysXShape, public IPlaneShape { +public: + PhysXPlane(); + ~PhysXPlane() override = default; + void setConstant(float x) override; + void setNormal(float x, float y, float z) override; + void updateScale() override; + +private: + physx::PxVec3 _mNormal; + physx::PxReal _mConstant; + void updateCenter() override; + void onComponentSet() override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXShape.cpp b/native/cocos/physics/physx/shapes/PhysXShape.cpp new file mode 100644 index 0000000000..ac175b2c0e --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXShape.cpp @@ -0,0 +1,126 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/PhysXSharedBody.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" +#include + +namespace cc { +namespace physics { + +void PhysXShape::initialize(uint handle) { + PhysXWorld &ins = PhysXWorld::getInstance(); + _mSharedBody = ins.getSharedBody(handle); + getSharedBody().reference(true); + onComponentSet(); + getPxShapeMap().insert(std::pair(reinterpret_cast(&getShape()), getImpl())); +} + +void PhysXShape::onEnable() { + _mEnabled = true; + getSharedBody().addShape(*this); + getSharedBody().enabled(true); +} + +void PhysXShape::onDisable() { + _mEnabled = false; + getSharedBody().removeShape(*this); + getSharedBody().enabled(false); +} + +void PhysXShape::onDestroy() { + getSharedBody().reference(false); + getPxShapeMap().erase(reinterpret_cast(&getShape())); +} + +void PhysXShape::setMaterial(uint16_t id, float f, float df, float r, + uint8_t m0, uint8_t m1) { + auto *mat = reinterpret_cast(getSharedBody().getWorld().createMaterial(id, f, df, r, m0, m1)); + getShape().setMaterials(&mat, 1); +} + +void PhysXShape::setAsTrigger(bool v) { + if (v) { + getShape().setFlag(physx::PxShapeFlag::eSIMULATION_SHAPE, !v); + getShape().setFlag(physx::PxShapeFlag::eTRIGGER_SHAPE, v); + } else { + getShape().setFlag(physx::PxShapeFlag::eTRIGGER_SHAPE, v); + getShape().setFlag(physx::PxShapeFlag::eSIMULATION_SHAPE, !v); + } + if (_mIndex >= 0) { + getSharedBody().removeShape(*this); + getSharedBody().addShape(*this); + } +} + +void PhysXShape::setCenter(float x, float y, float z) { + _mCenter = physx::PxVec3{x, y, z}; + updateCenter(); +} + +uint32_t PhysXShape::getGroup() { + return getSharedBody().getGroup(); +} + +void PhysXShape::setGroup(uint32_t g) { + getSharedBody().setGroup(g); +} + +uint32_t PhysXShape::getMask() { + return getSharedBody().getMask(); +} + +void PhysXShape::setMask(uint32_t m) { + getSharedBody().setMask(m); +} + +void PhysXShape::updateEventListener(EShapeFilterFlag flag) { +} + +cc::pipeline::AABB& PhysXShape::getAABB() { + static cc::pipeline::AABB aabb; + return aabb; +} + +cc::pipeline::Sphere& PhysXShape::getBoundingSphere() { + static cc::pipeline::Sphere s; + return s; +} + +void PhysXShape::updateFilterData(physx::PxFilterData &data) { +} + +void PhysXShape::updateCenter() { + auto &sb = getSharedBody(); + auto &node = sb.getNode(); + physx::PxTransform local{_mCenter * node.worldScale, _mRotation}; + getShape().setLocalPose(local); + if (_mEnabled && !isTrigger()) sb.updateCenterOfMass(); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXShape.h b/native/cocos/physics/physx/shapes/PhysXShape.h new file mode 100644 index 0000000000..b47412625c --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXShape.h @@ -0,0 +1,87 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/PhysXInc.h" +#include "physics/spec/IShape.h" +#include "base/Macros.h" + +namespace cc { +namespace physics { +class PhysXSharedBody; + +template +CC_INLINE T &getPxGeometry() { + static T geo; + return geo; +} + +class PhysXShape : virtual public IBaseShape { + PX_NOCOPY(PhysXShape) + PhysXShape() : _mCenter(physx::PxIdentity), + _mRotation(physx::PxIdentity){}; + +public: + ~PhysXShape() override = default; + CC_INLINE uintptr_t getImpl() override { return reinterpret_cast(this); } + void initialize(uint handle) override; + void onEnable() override; + void onDisable() override; + void onDestroy() override; + void setMaterial(uint16_t id, float f, float df, float r, + uint8_t m0, uint8_t m1) override; + void setAsTrigger(bool v) override; + void setCenter(float x, float y, float z) override; + cc::pipeline::AABB & getAABB() override; + cc::pipeline::Sphere &getBoundingSphere() override; + void updateEventListener(EShapeFilterFlag flag) override; + uint32_t getGroup() override; + void setGroup(uint32_t g) override; + uint32_t getMask() override; + void setMask(uint32_t m) override; + virtual void updateScale() = 0; + CC_INLINE physx::PxVec3 &getCenter() { return _mCenter; } + CC_INLINE physx::PxShape &getShape() const { return *_mShape; } + CC_INLINE PhysXSharedBody &getSharedBody() const { return *_mSharedBody; } + CC_INLINE bool isTrigger() const { + return getShape().getFlags().isSet(physx::PxShapeFlag::eTRIGGER_SHAPE); + } + void updateFilterData(physx::PxFilterData &data); + +protected: + PhysXSharedBody *_mSharedBody{nullptr}; + physx::PxShape * _mShape{nullptr}; + physx::PxVec3 _mCenter; + physx::PxQuat _mRotation; + int8_t _mIndex{-1}; + uint8_t _mFlag{0}; + bool _mEnabled{false}; + virtual void updateCenter(); + virtual void onComponentSet() = 0; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXSphere.cpp b/native/cocos/physics/physx/shapes/PhysXSphere.cpp new file mode 100644 index 0000000000..90f35aca4a --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXSphere.cpp @@ -0,0 +1,62 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/shapes/PhysXSphere.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" + +namespace cc { +namespace physics { + +PhysXSphere::PhysXSphere() : _mRadius(0.5F), + PhysXShape(){}; + +void PhysXSphere::setRadius(float r) { + _mRadius = r; + updateGeometry(); + getShape().setGeometry(getPxGeometry()); +} + +void PhysXSphere::onComponentSet() { + updateGeometry(); + _mShape = PxGetPhysics().createShape(getPxGeometry(), getDefaultMaterial(), true); +} + +void PhysXSphere::updateScale() { + updateGeometry(); + getShape().setGeometry(getPxGeometry()); + updateCenter(); +} + +void PhysXSphere::updateGeometry() { + physx::PxVec3 scale; + pxSetVec3Ext(scale, getSharedBody().getNode().worldScale); + auto &geo = getPxGeometry(); + geo.radius = physx::PxMax(_mRadius * scale.abs().maxElement(), PX_NORMALIZATION_EPSILON); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXSphere.h b/native/cocos/physics/physx/shapes/PhysXSphere.h new file mode 100644 index 0000000000..1f1b4cdae9 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXSphere.h @@ -0,0 +1,47 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/shapes/PhysXShape.h" + +namespace cc { +namespace physics { + +class PhysXSphere final : public PhysXShape, public ISphereShape { +public: + PhysXSphere(); + ~PhysXSphere() override = default; + void setRadius(float r) override; + void updateScale() override; + +private: + float _mRadius; + void updateGeometry(); + void onComponentSet() override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXTerrain.cpp b/native/cocos/physics/physx/shapes/PhysXTerrain.cpp new file mode 100644 index 0000000000..8dd5980f12 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXTerrain.cpp @@ -0,0 +1,70 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/shapes/PhysXTerrain.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" +#include "renderer/pipeline/helper/SharedMemory.h" + +namespace cc { +namespace physics { + +PhysXTerrain::PhysXTerrain() : _mTerrain(nullptr), + _mRowScale(1.F), + _mColScale(1.F), + _mHeightScale(1.F){}; + +void PhysXTerrain::setTerrain(uintptr_t handle, float rs, float cs, float hs) { + if (reinterpret_cast(_mTerrain) == handle) return; + _mTerrain = reinterpret_cast(handle); + _mRowScale = rs; + _mColScale = cs; + _mHeightScale = hs; + if (_mShape) { + } +} + +void PhysXTerrain::onComponentSet() { + if (_mTerrain) { + physx::PxHeightFieldGeometry geom; + geom.rowScale = _mRowScale; + geom.columnScale = _mColScale; + geom.heightScale = _mHeightScale; + geom.heightField = _mTerrain; + _mShape = PxGetPhysics().createShape(geom, getDefaultMaterial(), true); + } +} + +void PhysXTerrain::updateScale() { + // updateCenter(); needed? +} + +void PhysXTerrain::updateCenter() { + getShape().setLocalPose(physx::PxTransform{_mCenter, _mRotation}); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXTerrain.h b/native/cocos/physics/physx/shapes/PhysXTerrain.h new file mode 100644 index 0000000000..b24eceb650 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXTerrain.h @@ -0,0 +1,50 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/shapes/PhysXShape.h" + +namespace cc { +namespace physics { + +class PhysXTerrain final : public PhysXShape, public ITerrainShape { +public: + PhysXTerrain(); + ~PhysXTerrain() override = default; + void setTerrain(uintptr_t handle, float rs, float cs, float hs) override; + void updateScale() override; + void updateCenter() override; + +private: + physx::PxHeightField *_mTerrain; + float _mRowScale; + float _mColScale; + float _mHeightScale; + void onComponentSet() override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXTrimesh.cpp b/native/cocos/physics/physx/shapes/PhysXTrimesh.cpp new file mode 100644 index 0000000000..a99a92ce91 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXTrimesh.cpp @@ -0,0 +1,96 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/physx/shapes/PhysXShape.h" +#include "physics/physx/shapes/PhysXTrimesh.h" +#include "physics/physx/PhysXUtils.h" +#include "physics/physx/PhysXWorld.h" +#include "renderer/pipeline/helper/SharedMemory.h" + +namespace cc { +namespace physics { + +PhysXTrimesh::PhysXTrimesh() : _mMeshHandle(0), + _mConvex(false){}; + +void PhysXTrimesh::setMesh(uintptr_t handle) { + if (_mMeshHandle == handle) return; + _mMeshHandle = handle; + if (_mShape) { + } +} + +void PhysXTrimesh::useConvex(bool v) { + if (_mConvex == v) return; + _mConvex = v; + if (_mShape) { + } +} + +void PhysXTrimesh::onComponentSet() { + if (_mMeshHandle) { + const auto &mat = getDefaultMaterial(); + if (_mConvex) { + physx::PxConvexMeshGeometry geom; + geom.convexMesh = reinterpret_cast(_mMeshHandle); + // geom.meshFlags = PxConvexMeshGeometryFlags::eTIGHT_BOUNDS; + _mShape = PxGetPhysics().createShape(geom, mat, true); + } else { + physx::PxTriangleMeshGeometry geom; + geom.triangleMesh = reinterpret_cast(_mMeshHandle); + // geom.meshFlags = PxMeshGeometryFlag::eDOUBLE_SIDED; + _mShape = PxGetPhysics().createShape(geom, mat, true); + } + updateGeometry(); + } +} + +void PhysXTrimesh::updateScale() { + updateGeometry(); + updateCenter(); +} + +void PhysXTrimesh::updateGeometry() { + static physx::PxMeshScale scale; + scale.rotation = physx::PxQuat{physx::PxIdentity}; + pxSetVec3Ext(scale.scale, getSharedBody().getNode().worldScale); + const auto &type = _mShape->getGeometryType(); + if (type == physx::PxGeometryType::eCONVEXMESH) { + physx::PxConvexMeshGeometry geom; + if (getShape().getConvexMeshGeometry(geom)) { + geom.scale = scale; + getShape().setGeometry(geom); + } + } else if (type == physx::PxGeometryType::eTRIANGLEMESH) { + physx::PxTriangleMeshGeometry geom; + if (getShape().getTriangleMeshGeometry(geom)) { + geom.scale = scale; + getShape().setGeometry(geom); + } + } +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/physx/shapes/PhysXTrimesh.h b/native/cocos/physics/physx/shapes/PhysXTrimesh.h new file mode 100644 index 0000000000..c62378b5a2 --- /dev/null +++ b/native/cocos/physics/physx/shapes/PhysXTrimesh.h @@ -0,0 +1,49 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/physx/shapes/PhysXShape.h" + +namespace cc { +namespace physics { + +class PhysXTrimesh final : public PhysXShape, public ITrimeshShape { +public: + PhysXTrimesh(); + ~PhysXTrimesh() override = default; + void setMesh(uintptr_t handle) override; + void useConvex(bool v) override; + void updateScale() override; + +private: + bool _mConvex; + uintptr_t _mMeshHandle; + void updateGeometry(); + void onComponentSet() override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/sdk/Joint.cpp b/native/cocos/physics/sdk/Joint.cpp new file mode 100644 index 0000000000..38da4da877 --- /dev/null +++ b/native/cocos/physics/sdk/Joint.cpp @@ -0,0 +1,98 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/PhysicsSelector.h" +#include "physics/sdk/Joint.h" + +#define CC_PHYSICS_JOINT_DEFINITION(CLASS, WRAPPED) \ + \ + CLASS::CLASS() { \ + _impl.reset(new WRAPPED()); \ + } \ + \ + CLASS::~CLASS() { \ + _impl.reset(nullptr); \ + } \ + \ + uintptr_t CLASS::getImpl() { \ + return _impl->getImpl(); \ + } \ + \ + void CLASS::initialize(uint h) { \ + _impl->initialize(h); \ + } \ + \ + void CLASS::onEnable() { \ + _impl->onEnable(); \ + } \ + \ + void CLASS::onDisable() { \ + _impl->onDisable(); \ + } \ + \ + void CLASS::onDestroy() { \ + _impl->onDestroy(); \ + } \ + \ + void CLASS::setConnectedBody(uint v) { \ + _impl->setConnectedBody(v); \ + } \ + \ + void CLASS::setEnableCollision(bool v) { \ + _impl->setEnableCollision(v); \ + } + +namespace cc { +namespace physics { + +/// COMMON /// + +CC_PHYSICS_JOINT_DEFINITION(DistanceJoint, WrappedDistanceJoint) +CC_PHYSICS_JOINT_DEFINITION(RevoluteJoint, WrappedRevoluteJoint) + +/// EXTRAS /// + +void DistanceJoint::setPivotA(float x, float y, float z) { + _impl->setPivotA(x, y, z); +} + +void DistanceJoint::setPivotB(float x, float y, float z) { + _impl->setPivotB(x, y, z); +} + +void RevoluteJoint::setPivotA(float x, float y, float z) { + _impl->setPivotA(x, y, z); +} + +void RevoluteJoint::setPivotB(float x, float y, float z) { + _impl->setPivotB(x, y, z); +} + +void RevoluteJoint::setAxis(float x, float y, float z) { + _impl->setAxis(x, y, z); +} + +} // namespace physics +} // namespace cc \ No newline at end of file diff --git a/native/cocos/physics/sdk/Joint.h b/native/cocos/physics/sdk/Joint.h new file mode 100644 index 0000000000..abe35779bf --- /dev/null +++ b/native/cocos/physics/sdk/Joint.h @@ -0,0 +1,65 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/IJoint.h" +#include "base/Macros.h" +#include "renderer/pipeline/helper/SharedMemory.h" +#include +#include + +#define CC_PHYSICS_JOINT_CLASS(CLASS) \ + class CC_DLL CLASS final : virtual public I##CLASS { \ + protected: \ + std::unique_ptr _impl; \ + \ + public: \ + CLASS(); \ + ~CLASS() override; \ + uintptr_t getImpl() override; \ + void initialize(uint h) override; \ + void onEnable() override; \ + void onDisable() override; \ + void onDestroy() override; \ + void setEnableCollision(bool v) override; \ + void setConnectedBody(uint v) override; + +namespace cc { +namespace physics { + +CC_PHYSICS_JOINT_CLASS(RevoluteJoint) +void setPivotA(float x, float y, float z) override; +void setPivotB(float x, float y, float z) override; +void setAxis(float x, float y, float z) override; +}; + +CC_PHYSICS_JOINT_CLASS(DistanceJoint) +void setPivotA(float x, float y, float z) override; +void setPivotB(float x, float y, float z) override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/sdk/RigidBody.cpp b/native/cocos/physics/sdk/RigidBody.cpp new file mode 100644 index 0000000000..f3b15c4750 --- /dev/null +++ b/native/cocos/physics/sdk/RigidBody.cpp @@ -0,0 +1,186 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/PhysicsSelector.h" +#include "physics/sdk/RigidBody.h" +#include + +namespace cc { +namespace physics { + +RigidBody::RigidBody() { + _impl = std::make_unique(); +} + +RigidBody::~RigidBody() { + _impl.reset(nullptr); +} + +void RigidBody::initialize(const uint h, const ERigidBodyType t, const uint32_t g) { + _impl->initialize(h, t, g); +} + +void RigidBody::onEnable() { + _impl->onEnable(); +} + +void RigidBody::onDisable() { + _impl->onDisable(); +} + +void RigidBody::onDestroy() { + _impl->onDestroy(); +} + +bool RigidBody::isAwake() { + return _impl->isAwake(); +} + +bool RigidBody::isSleepy() { + return _impl->isSleepy(); +} + +bool RigidBody::isSleeping() { + return _impl->isSleeping(); +} + +void RigidBody::setType(ERigidBodyType v) { + _impl->setType(v); +} + +void RigidBody::setMass(float v) { + _impl->setMass(v); +} + +void RigidBody::setLinearDamping(float v) { + _impl->setLinearDamping(v); +} + +void RigidBody::setAngularDamping(float v) { + _impl->setAngularDamping(v); +} + +void RigidBody::useGravity(bool v) { + _impl->useGravity(v); +} + +void RigidBody::setLinearFactor(float x, float y, float z) { + _impl->setLinearFactor(x, y, z); +} + +void RigidBody::setAngularFactor(float x, float y, float z) { + _impl->setAngularFactor(x, y, z); +} + +void RigidBody::setAllowSleep(bool v) { + _impl->setAllowSleep(v); +} + +void RigidBody::wakeUp() { + _impl->wakeUp(); +} + +void RigidBody::sleep() { + _impl->sleep(); +} + +void RigidBody::clearState() { + _impl->clearState(); +} + +void RigidBody::clearForces() { + _impl->clearForces(); +} + +void RigidBody::clearVelocity() { + _impl->clearVelocity(); +} + +void RigidBody::setSleepThreshold(float v) { + _impl->setSleepThreshold(v); +} + +float RigidBody::getSleepThreshold() { + return _impl->getSleepThreshold(); +} + +cc::Vec3 RigidBody::getLinearVelocity() { + return _impl->getLinearVelocity(); +} + +void RigidBody::setLinearVelocity(float x, float y, float z) { + _impl->setLinearVelocity(x, y, z); +} + +cc::Vec3 RigidBody::getAngularVelocity() { + return _impl->getAngularVelocity(); +} + +void RigidBody::setAngularVelocity(float x, float y, float z) { + _impl->setAngularVelocity(x, y, z); +} + +void RigidBody::applyForce(float x, float y, float z, float rx, float ry, float rz) { + _impl->applyForce(x, y, z, rx, ry, rz); +} + +void RigidBody::applyLocalForce(float x, float y, float z, float rx, float ry, float rz) { + _impl->applyLocalForce(x, y, z, rx, ry, rz); +} + +void RigidBody::applyImpulse(float x, float y, float z, float rx, float ry, float rz) { + _impl->applyImpulse(x, y, z, rx, ry, rz); +} + +void RigidBody::applyLocalImpulse(float x, float y, float z, float rx, float ry, float rz) { + _impl->applyLocalImpulse(x, y, z, rx, ry, rz); +} + +void RigidBody::applyTorque(float x, float y, float z) { + _impl->applyTorque(x, y, z); +} + +void RigidBody::applyLocalTorque(float x, float y, float z) { + _impl->applyLocalTorque(x, y, z); +} + +uint32_t RigidBody::getGroup() { + return _impl->getGroup(); +} + +void RigidBody::setGroup(uint32_t g) { + _impl->setGroup(g); +} + +uint32_t RigidBody::getMask() { + return _impl->getMask(); +} + +void RigidBody::setMask(uint32_t m) { + _impl->setMask(m); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/sdk/RigidBody.h b/native/cocos/physics/sdk/RigidBody.h new file mode 100644 index 0000000000..b11638ce33 --- /dev/null +++ b/native/cocos/physics/sdk/RigidBody.h @@ -0,0 +1,81 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/IBody.h" +#include "base/Macros.h" +#include + +namespace cc { +namespace physics { +class CC_DLL RigidBody final : public IRigidBody { +public: + RigidBody(); + ~RigidBody() override; + CC_INLINE uintptr_t getImpl() override { return _impl->getImpl(); }; + CC_INLINE uint getNodeHandle() override { return _impl->getNodeHandle(); } + void initialize(uint h, ERigidBodyType t, uint32_t g) override; + void onEnable() override; + void onDisable() override; + void onDestroy() override; + bool isAwake() override; + bool isSleepy() override; + bool isSleeping() override; + void setType(ERigidBodyType v) override; + void setMass(float v) override; + void setLinearDamping(float v) override; + void setAngularDamping(float v) override; + void useGravity(bool v) override; + void setLinearFactor(float x, float y, float z) override; + void setAngularFactor(float x, float y, float z) override; + void setAllowSleep(bool v) override; + void wakeUp() override; + void sleep() override; + void clearState() override; + void clearForces() override; + void clearVelocity() override; + void setSleepThreshold(float v) override; + float getSleepThreshold() override; + cc::Vec3 getLinearVelocity() override; + void setLinearVelocity(float x, float y, float z) override; + cc::Vec3 getAngularVelocity() override; + void setAngularVelocity(float x, float y, float z) override; + void applyForce(float x, float y, float z, float rx, float ry, float rz) override; + void applyLocalForce(float x, float y, float z, float rx, float ry, float rz) override; + void applyImpulse(float x, float y, float z, float rx, float ry, float rz) override; + void applyLocalImpulse(float x, float y, float z, float rx, float ry, float rz) override; + void applyTorque(float x, float y, float z) override; + void applyLocalTorque(float x, float y, float z) override; + uint32_t getGroup() override; + void setGroup(uint32_t g) override; + uint32_t getMask() override; + void setMask(uint32_t m) override; + +private: + std::unique_ptr _impl; +}; +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/sdk/Shape.cpp b/native/cocos/physics/sdk/Shape.cpp new file mode 100644 index 0000000000..c289c3d005 --- /dev/null +++ b/native/cocos/physics/sdk/Shape.cpp @@ -0,0 +1,174 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/PhysicsSelector.h" +#include "physics/sdk/Shape.h" + + +#define CC_PHYSICS_SHAPE_DEFINITION(CLASS, WRAPPED) \ + \ + CLASS::CLASS() { \ + _impl.reset(new WRAPPED()); \ + } \ + \ + CLASS::~CLASS() { \ + _impl.reset(nullptr); \ + } \ + \ + uintptr_t CLASS::getImpl() { \ + return _impl->getImpl(); \ + } \ + \ + void CLASS::initialize(uint uuid) { \ + _impl->initialize(uuid); \ + } \ + \ + void CLASS::onEnable() { \ + _impl->onEnable(); \ + } \ + \ + void CLASS::onDisable() { \ + _impl->onDisable(); \ + } \ + \ + void CLASS::onDestroy() { \ + _impl->onDestroy(); \ + } \ + \ + void CLASS::setMaterial(uint16_t ID, float f, float df, float r, \ + uint8_t m0, uint8_t m1) { \ + _impl->setMaterial(ID, f, df, r, m0, m1); \ + } \ + \ + void CLASS::setAsTrigger(bool v) { \ + _impl->setAsTrigger(v); \ + } \ + \ + void CLASS::setCenter(float x, float y, float z) { \ + _impl->setCenter(x, y, z); \ + } \ + \ + void CLASS::setGroup(uint32_t g) { \ + _impl->setGroup(g); \ + } \ + \ + uint32_t CLASS::getGroup() { \ + return _impl->getGroup(); \ + } \ + \ + void CLASS::setMask(uint32_t m) { \ + _impl->setMask(m); \ + } \ + \ + uint32_t CLASS::getMask() { \ + return _impl->getMask(); \ + } \ + \ + void CLASS::updateEventListener(EShapeFilterFlag v) { \ + _impl->updateEventListener(v); \ + } \ + \ + cc::pipeline::AABB& CLASS::getAABB() { \ + return _impl->getAABB(); \ + } \ + \ + cc::pipeline::Sphere& CLASS::getBoundingSphere() { \ + return _impl->getBoundingSphere(); \ + } + +namespace cc { +namespace physics { + +/// COMMON /// + +CC_PHYSICS_SHAPE_DEFINITION(SphereShape, WrappedSphereShape) +CC_PHYSICS_SHAPE_DEFINITION(BoxShape, WrappedBoxShape) +CC_PHYSICS_SHAPE_DEFINITION(PlaneShape, WrappedPlaneShape) +CC_PHYSICS_SHAPE_DEFINITION(CapsuleShape, WrappedCapsuleShape) +CC_PHYSICS_SHAPE_DEFINITION(CylinderShape, WrappedCylinderShape) +CC_PHYSICS_SHAPE_DEFINITION(ConeShape, WrappedConeShape) +CC_PHYSICS_SHAPE_DEFINITION(TrimeshShape, WrappedTrimeshShape) +CC_PHYSICS_SHAPE_DEFINITION(TerrainShape, WrappedTerrainShape) + +/// EXTRAS /// + +void SphereShape::setRadius(float v) { + _impl->setRadius(v); +} + +void BoxShape::setSize(float x, float y, float z) { + _impl->setSize(x, y, z); +} + +void CapsuleShape::setRadius(float v) { + _impl->setRadius(v); +} + +void CapsuleShape::setCylinderHeight(float v) { + _impl->setCylinderHeight(v); +} + +void CapsuleShape::setDirection(EAxisDirection v) { + _impl->setDirection(v); +} + +void PlaneShape::setConstant(float v) { + _impl->setConstant(v); +} + +void PlaneShape::setNormal(float x, float y, float z) { + _impl->setNormal(x, y, z); +} + +void TrimeshShape::setMesh(uintptr_t v) { + _impl->setMesh(v); +} + +void TrimeshShape::useConvex(bool v) { + _impl->useConvex(v); +} + +void TerrainShape::setTerrain(uintptr_t v, float rs, float cs, float hs) { + _impl->setTerrain(v, rs, cs, hs); +} + +void CylinderShape::setConvex(uintptr_t v) { + _impl->setConvex(v); +} + +void CylinderShape::setCylinder(float r, float h, EAxisDirection d) { + _impl->setCylinder(r, h, d); +} + +void ConeShape::setConvex(uintptr_t v) { + _impl->setConvex(v); +} + +void ConeShape::setCone(float r, float h, EAxisDirection d) { + _impl->setCone(r, h, d); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/sdk/Shape.h b/native/cocos/physics/sdk/Shape.h new file mode 100644 index 0000000000..81817d6495 --- /dev/null +++ b/native/cocos/physics/sdk/Shape.h @@ -0,0 +1,101 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/IShape.h" +#include "base/Macros.h" +#include "renderer/pipeline/helper/SharedMemory.h" +#include +#include + +#define CC_PHYSICS_SHAPE_CLASS(CLASS) \ + class CC_DLL CLASS final : public I##CLASS { \ + protected: \ + std::unique_ptr _impl; \ + \ + public: \ + CLASS(); \ + ~CLASS() override; \ + uintptr_t getImpl() override; \ + void initialize(uint uuid) override; \ + void onEnable() override; \ + void onDisable() override; \ + void onDestroy() override; \ + void setMaterial(uint16_t ID, float f, float df, float r, \ + uint8_t m0, uint8_t m1) override; \ + void setAsTrigger(bool v) override; \ + void setCenter(float x, float y, float z) override; \ + void updateEventListener(EShapeFilterFlag v) override; \ + cc::pipeline::AABB& getAABB() override; \ + cc::pipeline::Sphere& getBoundingSphere() override; \ + uint32_t getGroup() override; \ + void setGroup(uint32_t g) override; \ + uint32_t getMask() override; \ + void setMask(uint32_t m) override; + +namespace cc { +namespace physics { + +CC_PHYSICS_SHAPE_CLASS(SphereShape) +void setRadius(float v) override; +}; + +CC_PHYSICS_SHAPE_CLASS(BoxShape) +void setSize(float x, float y, float z) override; +}; + +CC_PHYSICS_SHAPE_CLASS(CapsuleShape) +void setRadius(float v) override; +void setCylinderHeight(float v) override; +void setDirection(EAxisDirection v) override; +}; + +CC_PHYSICS_SHAPE_CLASS(PlaneShape) +void setConstant(float v) override; +void setNormal(float x, float y, float z) override; +}; + +CC_PHYSICS_SHAPE_CLASS(TrimeshShape) +void setMesh(uintptr_t v) override; +void useConvex(bool v) override; +}; + +CC_PHYSICS_SHAPE_CLASS(CylinderShape) +void setConvex(uintptr_t v) override; +void setCylinder(float r, float h, EAxisDirection d) override; +}; + +CC_PHYSICS_SHAPE_CLASS(ConeShape) +void setConvex(uintptr_t v) override; +void setCone(float r, float h, EAxisDirection d) override; +}; + +CC_PHYSICS_SHAPE_CLASS(TerrainShape) +void setTerrain(uintptr_t v, float rs, float cs, float hs) override; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/sdk/World.cpp b/native/cocos/physics/sdk/World.cpp new file mode 100644 index 0000000000..95c9bef426 --- /dev/null +++ b/native/cocos/physics/sdk/World.cpp @@ -0,0 +1,115 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#include "physics/PhysicsSelector.h" +#include "physics/sdk/World.h" +#include + +namespace cc { +namespace physics { + +World::World() { + _impl = std::make_unique(); +} + +World::~World() { + _impl.reset(nullptr); +} + +void World::emitEvents() { + _impl->emitEvents(); +} + +void World::step(float fixedTimeStep) { + _impl->step(fixedTimeStep); +} + +void World::setAllowSleep(bool v) { + _impl->setAllowSleep(v); +} + +void World::setGravity(float x, float y, float z) { + _impl->setGravity(x, y, z); +} + +uintptr_t World::createMaterial(uint16_t id, float f, float df, float r, + uint8_t m0, uint8_t m1) { + return _impl->createMaterial(id, f, df, r, m0, m1); +} + +void World::syncSceneToPhysics() { + _impl->syncSceneToPhysics(); +} + +void World::syncSceneWithCheck() { + _impl->syncSceneWithCheck(); +} + +void World::destroy() { + _impl->destroy(); +} + +std::vector> &World::getTriggerEventPairs() { + return _impl->getTriggerEventPairs(); +} + +std::vector> &World::getContactEventPairs() { + return _impl->getContactEventPairs(); +} + +void World::setCollisionMatrix(uint32_t i, uint32_t m) { + _impl->setCollisionMatrix(i, m); +} + +uintptr_t World::createConvex(ConvexDesc &desc) { + return _impl->createConvex(desc); +} + +uintptr_t World::createTrimesh(TrimeshDesc &desc) { + return _impl->createTrimesh(desc); +} + +uintptr_t World::createHeightField(HeightFieldDesc &desc) { + return _impl->createHeightField(desc); +} + +bool World::raycast(RaycastOptions &opt) { + return _impl->raycast(opt); +} + +std::vector &World::raycastResult() { + return _impl->raycastResult(); +} + +bool World::raycastClosest(RaycastOptions &opt) { + return _impl->raycastClosest(opt); +} + +RaycastResult &World::raycastClosestResult() { + return _impl->raycastClosestResult(); +} + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/sdk/World.h b/native/cocos/physics/sdk/World.h new file mode 100644 index 0000000000..46f9260a67 --- /dev/null +++ b/native/cocos/physics/sdk/World.h @@ -0,0 +1,62 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/IWorld.h" +#include "base/Macros.h" +#include + +namespace cc { +namespace physics { +class CC_DLL World final : public IPhysicsWorld { +public: + World(); + ~World() override; + void setGravity(float x, float y, float z) override; + void setAllowSleep(bool v) override; + void step(float fixedTimeStep) override; + void emitEvents() override; + void syncSceneToPhysics() override; + void syncSceneWithCheck() override; + void setCollisionMatrix(uint32_t i, uint32_t m) override; + std::vector> &getTriggerEventPairs() override; + std::vector> &getContactEventPairs() override; + bool raycast(RaycastOptions &opt) override; + bool raycastClosest(RaycastOptions &opt) override; + std::vector &raycastResult() override; + RaycastResult &raycastClosestResult() override; + uintptr_t createConvex(ConvexDesc &desc) override; + uintptr_t createTrimesh(TrimeshDesc &desc) override; + uintptr_t createHeightField(HeightFieldDesc &desc) override; + uintptr_t createMaterial(uint16_t id, float f, float df, float r, + uint8_t m0, uint8_t m1) override; + void destroy() override; + +private: + std::unique_ptr _impl; +}; +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/spec/IBody.h b/native/cocos/physics/spec/IBody.h new file mode 100644 index 0000000000..4a0e0ce55b --- /dev/null +++ b/native/cocos/physics/spec/IBody.h @@ -0,0 +1,81 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/ILifecycle.h" +#include "math/Vec3.h" + +namespace cc { +namespace physics { + +enum class ERigidBodyType : uint8_t { + DYNAMIC = 1, + STATIC = 2, + KINEMATIC = 4, +}; + +class IRigidBody : public ILifecycle { +public: + ~IRigidBody() override = default; + virtual uintptr_t getImpl() = 0; + virtual uint getNodeHandle() = 0; + virtual void initialize(uint h, ERigidBodyType t, uint32_t g) = 0; + virtual bool isAwake() = 0; + virtual bool isSleepy() = 0; + virtual bool isSleeping() = 0; + virtual void setType(ERigidBodyType v) = 0; + virtual void setMass(float v) = 0; + virtual void setLinearDamping(float v) = 0; + virtual void setAngularDamping(float v) = 0; + virtual void useGravity(bool v) = 0; + virtual void setLinearFactor(float x, float y, float z) = 0; + virtual void setAngularFactor(float x, float y, float z) = 0; + virtual void setAllowSleep(bool v) = 0; + virtual void wakeUp() = 0; + virtual void sleep() = 0; + virtual void clearState() = 0; + virtual void clearForces() = 0; + virtual void clearVelocity() = 0; + virtual void setSleepThreshold(float v) = 0; + virtual float getSleepThreshold() = 0; + virtual cc::Vec3 getLinearVelocity() = 0; + virtual void setLinearVelocity(float x, float y, float z) = 0; + virtual cc::Vec3 getAngularVelocity() = 0; + virtual void setAngularVelocity(float x, float y, float z) = 0; + virtual void applyForce(float x, float y, float z, float rx, float ry, float rz) = 0; + virtual void applyLocalForce(float x, float y, float z, float rx, float ry, float rz) = 0; + virtual void applyImpulse(float x, float y, float z, float rx, float ry, float rz) = 0; + virtual void applyLocalImpulse(float x, float y, float z, float rx, float ry, float rz) = 0; + virtual void applyTorque(float x, float y, float z) = 0; + virtual void applyLocalTorque(float x, float y, float z) = 0; + virtual uint32_t getGroup() = 0; + virtual void setGroup(uint32_t g) = 0; + virtual uint32_t getMask() = 0; + virtual void setMask(uint32_t m) = 0; +}; + +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/spec/IJoint.h b/native/cocos/physics/spec/IJoint.h new file mode 100644 index 0000000000..ae6f3d45c1 --- /dev/null +++ b/native/cocos/physics/spec/IJoint.h @@ -0,0 +1,60 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "physics/spec/ILifecycle.h" +#include "renderer/pipeline/helper/SharedMemory.h" +#include + +namespace cc { +namespace physics { + +class IBaseJoint : virtual public ILifecycle { +public: + ~IBaseJoint() override = default; + virtual void initialize(uint h) = 0; + virtual uintptr_t getImpl() = 0; + virtual void setEnableCollision(bool v) = 0; + virtual void setConnectedBody(uint v) = 0; +}; + +class IDistanceJoint : virtual public IBaseJoint { +public: + ~IDistanceJoint() override = default; + virtual void setPivotA(float x, float y, float z) = 0; + virtual void setPivotB(float x, float y, float z) = 0; +}; + +class IRevoluteJoint : virtual public IBaseJoint { +public: + ~IRevoluteJoint() override = default; + virtual void setPivotA(float x, float y, float z) = 0; + virtual void setPivotB(float x, float y, float z) = 0; + virtual void setAxis(float x, float y, float z) = 0; +}; + +} // namespace physics +} // namespace cc \ No newline at end of file diff --git a/native/cocos/physics/spec/ILifecycle.h b/native/cocos/physics/spec/ILifecycle.h new file mode 100644 index 0000000000..de29c9b31f --- /dev/null +++ b/native/cocos/physics/spec/ILifecycle.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "base/TypeDef.h" +#include + +namespace cc { +namespace physics { +class ILifecycle { +public: + virtual ~ILifecycle() = default; + virtual void onEnable() = 0; + virtual void onDisable() = 0; + virtual void onDestroy() = 0; +}; +} // namespace physics +} // namespace cc diff --git a/native/cocos/physics/spec/IShape.h b/native/cocos/physics/spec/IShape.h new file mode 100644 index 0000000000..3c74905b12 --- /dev/null +++ b/native/cocos/physics/spec/IShape.h @@ -0,0 +1,142 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "bindings/manual/jsb_conversions.h" +#include "physics/spec/ILifecycle.h" +#include "renderer/pipeline/helper/SharedMemory.h" +#include + +namespace cc { +namespace physics { + +enum class EAxisDirection : uint8_t { + X_AXIS, + Y_AXIS, + Z_AXIS, +}; + +enum class EShapeFilterFlag : uint8_t { + NONE = 0, + IS_TRIGGER = 1 << 0, + NEED_EVENT = 1 << 1, + NEED_CONTACT_DATA = 1 << 2, + DETECT_CONTACT_CCD = 1 << 3, +}; + +class IBaseShape : virtual public ILifecycle { +public: + ~IBaseShape() override= default;; + virtual void initialize(uint h) = 0; + virtual uintptr_t getImpl() = 0; + virtual void setMaterial(uint16_t id, float f, float df, float r, + uint8_t m0, uint8_t m1) = 0; + virtual void setAsTrigger(bool v) = 0; + virtual void setCenter(float x, float y, float z) = 0; + virtual cc::pipeline::AABB& getAABB() = 0; + virtual cc::pipeline::Sphere& getBoundingSphere() = 0; + virtual void updateEventListener(EShapeFilterFlag flag) = 0; + virtual uint32_t getGroup() = 0; + virtual void setGroup(uint32_t g) = 0; + virtual uint32_t getMask() = 0; + virtual void setMask(uint32_t m) = 0; +}; + +class ISphereShape : virtual public IBaseShape { +public: + ~ISphereShape() override= default;; + virtual void setRadius(float v) = 0; +}; + +class IBoxShape : virtual public IBaseShape { +public: + ~IBoxShape() override= default;; + virtual void setSize(float x, float y, float z) = 0; +}; + +class ICapsuleShape : virtual public IBaseShape { +public: + ~ICapsuleShape() override= default;; + virtual void setRadius(float v) = 0; + virtual void setCylinderHeight(float v) = 0; + virtual void setDirection(EAxisDirection v) = 0; +}; + +class ICylinderShape : virtual public IBaseShape { +public: + ~ICylinderShape() override= default;; + virtual void setConvex(uintptr_t v) = 0; + virtual void setCylinder(float r, float h, EAxisDirection d) = 0; +}; + +class IConeShape : virtual public IBaseShape { +public: + ~IConeShape() override= default;; + virtual void setConvex(uintptr_t v) = 0; + virtual void setCone(float r, float h, EAxisDirection d) = 0; +}; + +class IPlaneShape : virtual public IBaseShape { +public: + ~IPlaneShape() override= default;; + virtual void setConstant(float v) = 0; + virtual void setNormal(float x, float y, float z) = 0; +}; + +class ITrimeshShape : virtual public IBaseShape { +public: + ~ITrimeshShape() override= default;; + virtual void setMesh(uintptr_t v) = 0; + virtual void useConvex(bool v) = 0; +}; + +class ITerrainShape : virtual public IBaseShape { +public: + virtual void setTerrain(uintptr_t v, float rs, float cs, float hs) = 0; +}; + +} // namespace physics +} // namespace cc + +template <> +inline bool nativevalue_to_se(const cc::pipeline::AABB &from, se::Value &to, se::Object *ctx) { + se::HandleObject obj(se::Object::createPlainObject()); + se::Value tmp; + if (nativevalue_to_se(from.center, tmp, ctx)) obj->setProperty("center", tmp); + if (nativevalue_to_se(from.halfExtents, tmp, ctx)) obj->setProperty("halfExtents", tmp); + to.setObject(obj); + return true; +} + +template <> +inline bool nativevalue_to_se(const cc::pipeline::Sphere &from, se::Value &to, se::Object *ctx) { + se::HandleObject obj(se::Object::createPlainObject()); + se::Value tmp(from.radius); + obj->setProperty("radius", tmp); + if (nativevalue_to_se(from.center, tmp, ctx)) obj->setProperty("center", tmp); + to.setObject(obj); + return true; +} diff --git a/native/cocos/physics/spec/IWorld.h b/native/cocos/physics/spec/IWorld.h new file mode 100644 index 0000000000..48b7a2a870 --- /dev/null +++ b/native/cocos/physics/spec/IWorld.h @@ -0,0 +1,341 @@ +/**************************************************************************** + Copyright (c) 2020-2021 Xiamen Yaji Software Co., Ltd. + + http://www.cocos.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated engine source code (the "Software"), a limited, + worldwide, royalty-free, non-assignable, revocable and non-exclusive license + to use Cocos Creator solely to develop games on your target platforms. You shall + not use Cocos Creator software for developing other software or tools that's + used for developing games. You are not granted to publish, distribute, + sublicense, and/or sell copies of Cocos Creator. + + The software or tools in this License Agreement are licensed, not sold. + Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. +****************************************************************************/ + +#pragma once + +#include "bindings/manual/jsb_conversions.h" +#include "base/TypeDef.h" +#include +#include +#include + +namespace cc { +namespace physics { + +enum class ETouchState : uint8_t { + ENTER = 0, + STAY = 1, + EXIT = 2, +}; + +struct TriggerEventPair { + uintptr_t shapeA; + uintptr_t shapeB; + ETouchState state; + static constexpr uint8_t COUNT = 3; + TriggerEventPair(const uintptr_t a, const uintptr_t b) + : shapeA(a), + shapeB(b), + state(ETouchState::ENTER) {} +}; + +struct ContactPoint { + Vec3 position; + float separation; + Vec3 normal; + uint32_t internalFaceIndex0; + Vec3 impulse; + uint32_t internalFaceIndex1; + static constexpr uint8_t COUNT = 12; +}; + +struct ContactEventPair { + uintptr_t shapeA; + uintptr_t shapeB; + ETouchState state; + std::vector contacts; + static constexpr uint8_t COUNT = 4; + ContactEventPair(const uintptr_t a, const uintptr_t b) + : shapeA(a), + shapeB(b), + state(ETouchState::ENTER) {} +}; + +struct ConvexDesc { + void *positions; + uint32_t positionLength; +}; + +struct TrimeshDesc : ConvexDesc { + void *triangles; + uint32_t triangleLength; + bool isU16; +}; + +struct HeightFieldDesc { + uint32_t rows; + uint32_t columns; + void *samples; +}; + +struct RaycastOptions { + cc::Vec3 origin; + float distance; + cc::Vec3 unitDir; + uint32_t mask; + bool queryTrigger; +}; + +struct RaycastResult { + uintptr_t shape{0}; + cc::Vec3 hitPoint; + float distance; + cc::Vec3 hitNormal; + RaycastResult() = default; +}; + +class IPhysicsWorld { +public: + virtual ~IPhysicsWorld()= default;; + virtual void setGravity(float x, float y, float z) = 0; + virtual void setAllowSleep(bool v) = 0; + virtual void step(float s) = 0; + virtual void emitEvents() = 0; + virtual void syncSceneToPhysics() = 0; + virtual void syncSceneWithCheck() = 0; + virtual void destroy() = 0; + virtual void setCollisionMatrix(uint32_t i, uint32_t m) = 0; + virtual std::vector> &getTriggerEventPairs() = 0; + virtual std::vector> &getContactEventPairs() = 0; + virtual bool raycast(RaycastOptions &opt) = 0; + virtual bool raycastClosest(RaycastOptions &opt) = 0; + virtual std::vector &raycastResult() = 0; + virtual RaycastResult &raycastClosestResult() = 0; + virtual uintptr_t createConvex(ConvexDesc &desc) = 0; + virtual uintptr_t createTrimesh(TrimeshDesc &desc) = 0; + virtual uintptr_t createHeightField(HeightFieldDesc &desc) = 0; + virtual uintptr_t createMaterial(uint16_t id, float f, float df, float r, + uint8_t m0, uint8_t m1) = 0; +}; + +} // namespace physics +} // namespace cc + +template <> +inline bool nativevalue_to_se(const std::vector> &from, se::Value &to, se::Object * /*ctx*/) { + se::HandleObject array(se::Object::createArrayObject(from.size() * cc::physics::TriggerEventPair::COUNT)); + for (size_t i = 0; i < from.size(); i++) { + auto t = i * cc::physics::TriggerEventPair::COUNT; + array->setArrayElement(static_cast(t + 0), se::Value(from[i]->shapeA)); + array->setArrayElement(static_cast(t + 1), se::Value(from[i]->shapeB)); + array->setArrayElement(static_cast(t + 2), se::Value(static_cast(from[i]->state))); + } + to.setObject(array); + return true; +} + +template <> +inline bool nativevalue_to_se(const std::vector &from, se::Value &to, se::Object * /*ctx*/) { + const auto contactCount = from.size(); + se::HandleObject array(se::Object::createArrayObject(contactCount)); + for (size_t i = 0; i < contactCount; i++) { + auto t = i * cc::physics::ContactPoint::COUNT; + uint32_t j = 0; + array->setArrayElement(static_cast(t + j++), se::Value(from[i].position.x)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].position.y)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].position.z)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].normal.x)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].normal.y)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].normal.z)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].impulse.x)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].impulse.y)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].impulse.z)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].separation)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].internalFaceIndex0)); + array->setArrayElement(static_cast(t + j++), se::Value(from[i].internalFaceIndex1)); + } + to.setObject(array); + return true; +} + +template <> +inline bool nativevalue_to_se(const std::vector> &from, se::Value &to, se::Object *ctx) { + se::HandleObject array(se::Object::createArrayObject(from.size() * cc::physics::ContactEventPair::COUNT)); + for (size_t i = 0; i < from.size(); i++) { + auto t = i * cc::physics::ContactEventPair::COUNT; + array->setArrayElement(static_cast(t + 0), se::Value(from[i]->shapeA)); + array->setArrayElement(static_cast(t + 1), se::Value(from[i]->shapeB)); + array->setArrayElement(static_cast(t + 2), se::Value(static_cast(from[i]->state))); + array->setArrayElement(static_cast(t + 3), [&]() -> se::Value { + auto obj = se::Value(); + nativevalue_to_se(from[i]->contacts, obj, ctx); + return obj; + }()); + } + to.setObject(array); + return true; +} + +template <> +inline bool nativevalue_to_se(const cc::physics::RaycastResult &from, se::Value &to, se::Object *ctx) { + se::HandleObject obj(se::Object::createPlainObject()); + obj->setProperty("shape", se::Value(from.shape)); + obj->setProperty("distance", se::Value(from.distance)); + se::Value tmp; + if (nativevalue_to_se(from.hitPoint, tmp, ctx)) obj->setProperty("hitPoint", tmp); + if (nativevalue_to_se(from.hitNormal, tmp, ctx)) obj->setProperty("hitNormal", tmp); + to.setObject(obj); + return true; +} + +template <> +inline bool sevalue_to_native(const se::Value &from, cc::physics::ConvexDesc *to, se::Object *ctx) { + assert(from.isObject()); + se::Object *json = from.toObject(); + auto *data = static_cast(json->getPrivateData()); + if (data) { + *to = *data; + return true; + } + + se::Value field; + bool ok = true; + + json->getProperty("positionLength", &field); + if (!field.isNullOrUndefined()) ok &= sevalue_to_native(field, &to->positionLength, ctx); + + CC_UNUSED size_t dataLength = 0; + json->getProperty("positions", &field); + if (!field.isNullOrUndefined()) { + se::Object *obj = field.toObject(); + if (obj->isArrayBuffer()) { + ok &= obj->getArrayBufferData(reinterpret_cast(&to->positions), &dataLength); + SE_PRECONDITION2(ok, false, "getArrayBufferData failed!"); + } else if (obj->isTypedArray()) { + ok &= obj->getTypedArrayData(reinterpret_cast(&to->positions), &dataLength); + SE_PRECONDITION2(ok, false, "getTypedArrayData failed!"); + } else { + ok &= false; + } + } + return ok; +} + +template <> +inline bool sevalue_to_native(const se::Value &from, cc::physics::TrimeshDesc *to, se::Object *ctx) { + if (!sevalue_to_native(from, reinterpret_cast(to), ctx)) { + return false; + } + + assert(from.isObject()); + se::Object *json = from.toObject(); + auto *data = static_cast(json->getPrivateData()); + if (data) { + *to = *data; + return true; + } + se::Value field; + bool ok = true; + + json->getProperty("triangleLength", &field); + if (!field.isNullOrUndefined()) ok &= sevalue_to_native(field, &(to->triangleLength), ctx); + + json->getProperty("isU16", &field); + if (!field.isNullOrUndefined()) ok &= sevalue_to_native(field, &(to->isU16), ctx); + + CC_UNUSED size_t dataLength = 0; + json->getProperty("triangles", &field); + if (!field.isNullOrUndefined()) { + se::Object *obj = field.toObject(); + if (obj->isArrayBuffer()) { + ok &= obj->getArrayBufferData(reinterpret_cast(&to->triangles), &dataLength); + SE_PRECONDITION2(ok, false, "getArrayBufferData failed!"); + } else if (obj->isTypedArray()) { + ok &= obj->getTypedArrayData(reinterpret_cast(&to->triangles), &dataLength); + SE_PRECONDITION2(ok, false, "getTypedArrayData failed!"); + } else { + ok &= false; + } + } + + return ok; +} + +template <> +inline bool sevalue_to_native(const se::Value &from, cc::physics::HeightFieldDesc *to, se::Object *ctx) { + assert(from.isObject()); + se::Object *json = from.toObject(); + auto *data = static_cast(json->getPrivateData()); + if (data) { + *to = *data; + return true; + } + + se::Value field; + bool ok = true; + + json->getProperty("rows", &field); + if (!field.isNullOrUndefined()) ok &= sevalue_to_native(field, &to->rows, ctx); + + json->getProperty("columns", &field); + if (!field.isNullOrUndefined()) ok &= sevalue_to_native(field, &to->columns, ctx); + + CC_UNUSED size_t dataLength = 0; + json->getProperty("samples", &field); + if (!field.isNullOrUndefined()) { + se::Object *obj = field.toObject(); + if (obj->isArrayBuffer()) { + ok &= obj->getArrayBufferData(reinterpret_cast(&to->samples), &dataLength); + SE_PRECONDITION2(ok, false, "getArrayBufferData failed!"); + } else if (obj->isTypedArray()) { + ok &= obj->getTypedArrayData(reinterpret_cast(&to->samples), &dataLength); + SE_PRECONDITION2(ok, false, "getTypedArrayData failed!"); + } else { + ok &= false; + } + } + return ok; +} + +template <> +inline bool sevalue_to_native(const se::Value &from, cc::physics::RaycastOptions *to, se::Object *ctx) { + assert(from.isObject()); + se::Object *json = from.toObject(); + auto *data = static_cast(json->getPrivateData()); + if (data) { + *to = *data; + return true; + } + + se::Value field; + bool ok = true; + + json->getProperty("origin", &field); + if (!field.isNullOrUndefined()) ok &= seval_to_Vec3(field, &to->origin); + + json->getProperty("unitDir", &field); + if (!field.isNullOrUndefined()) ok &= seval_to_Vec3(field, &to->unitDir); + + json->getProperty("mask", &field); + if (!field.isNullOrUndefined()) ok &= sevalue_to_native(field, &to->mask, ctx); + + json->getProperty("distance", &field); + if (!field.isNullOrUndefined()) ok &= sevalue_to_native(field, &to->distance, ctx); + + json->getProperty("queryTrigger", &field); + if (!field.isNullOrUndefined()) ok &= sevalue_to_native(field, &to->queryTrigger, ctx); + + return ok; +} diff --git a/native/cocos/renderer/pipeline/helper/SharedMemory.h b/native/cocos/renderer/pipeline/helper/SharedMemory.h index 2b8fb77794..074c01a2f3 100644 --- a/native/cocos/renderer/pipeline/helper/SharedMemory.h +++ b/native/cocos/renderer/pipeline/helper/SharedMemory.h @@ -24,7 +24,7 @@ ****************************************************************************/ #pragma once -#include "gfx-base/GFXDef.h" +#include "renderer/gfx-base/GFXDef.h" #include "bindings/dop/BufferAllocator.h" #include "bindings/dop/BufferPool.h" diff --git a/native/extensions/cocos-ext.h b/native/extensions/cocos-ext.h index dee1abf190..6e915c4088 100644 --- a/native/extensions/cocos-ext.h +++ b/native/extensions/cocos-ext.h @@ -26,6 +26,10 @@ #ifndef __COCOS2D_EXT_H__ #define __COCOS2D_EXT_H__ +#ifdef _MSC_VER +#pragma warning(disable:4996) +#endif + #include "ExtensionMacros.h" #include "assets-manager/AssetsManagerEx.h" diff --git a/native/external/config.json b/native/external/config.json index 39ac96e471..a94c8d0b54 100644 --- a/native/external/config.json +++ b/native/external/config.json @@ -1,9 +1,9 @@ { - "version": "v3d-gfx-42", + "version": "v3d-gfx-43", "from": { "type": "github", "owner": "cocos-creator", "name": "engine-native-external", - "checkout": "v3d-gfx-42" + "checkout": "v3d-gfx-43" } } diff --git a/native/templates/common/CMakeLists.txt b/native/templates/common/CMakeLists.txt index 73c0d37644..e26c1aceba 100755 --- a/native/templates/common/CMakeLists.txt +++ b/native/templates/common/CMakeLists.txt @@ -21,6 +21,7 @@ option(USE_MIDDLEWARE "Enable Middleware" ON) option(USE_DRAGONBONES "Enable Dragonbones" ON) option(USE_SPINE "Enable Spine" ON) option(USE_WEBSOCKET_SERVER "Enable WebSocket Server" OFF) +option(USE_PHYSICS_PHYSX "USE PhysX Physics" ON) if(NOT RES_DIR) message(FATAL_ERROR "RES_DIR is not set!") diff --git a/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt b/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt index e285ab70c8..4d82c2448b 100644 --- a/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt +++ b/native/tools/simulator/frameworks/runtime-src/CMakeLists.txt @@ -20,6 +20,7 @@ option(USE_WEBVIEW "Enable WebView Component" OFF) option(USE_MIDDLEWARE "Enable Middleware" ON) option(USE_DRAGONBONES "Enable Dragonbones" ON) option(USE_SPINE "Enable Spine" ON) +option(USE_PHYSICS_PHYSX "USE PhysX Physics" ON) if(USE_SE_JSC AND APPLE) set(USE_SE_V8 OFF) diff --git a/native/tools/tojs/genbindings.py b/native/tools/tojs/genbindings.py index a25b6e916f..7c5ba31c51 100755 --- a/native/tools/tojs/genbindings.py +++ b/native/tools/tojs/genbindings.py @@ -154,7 +154,8 @@ def main(): 'pipeline.ini': ('pipeline', 'jsb_pipeline_auto'), 'spine.ini': ('spine','jsb_spine_auto'), 'editor_support.ini': ('editor_support','jsb_editor_support_auto'), - 'dragonbones.ini': ('dragonbones','jsb_dragonbones_auto') + 'dragonbones.ini': ('dragonbones','jsb_dragonbones_auto'), + 'physics.ini': ('physics','jsb_physics_auto') } target = 'spidermonkey' diff --git a/native/tools/tojs/physics.ini b/native/tools/tojs/physics.ini new file mode 100644 index 0000000000..e8ae43401e --- /dev/null +++ b/native/tools/tojs/physics.ini @@ -0,0 +1,66 @@ +[physics] +# the prefix to be added to the generated functions. You might or might not use this in your own +# templates +prefix = physics + +# create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) +# all classes will be embedded in that namespace +target_namespace = jsb.physics + +macro_judgement = + +android_headers = + +android_flags = -target armv7-none-linux-androideabi -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DANDROID -D__ANDROID_API__=14 -gcc-toolchain %(gcc_toolchain_dir)s --sysroot=%(androidndkdir)s/platforms/android-14/arch-arm -idirafter %(androidndkdir)s/sources/android/support/include -idirafter %(androidndkdir)s/sysroot/usr/include -idirafter %(androidndkdir)s/sysroot/usr/include/arm-linux-androideabi -idirafter %(clangllvmdir)s/lib64/clang/5.0/include -I%(androidndkdir)s/sources/cxx-stl/llvm-libc++/include + +clang_headers = +clang_flags = -nostdinc -x c++ -std=c++14 -fsigned-char -U__SSE__ + +cocos_headers = -I%(cocosdir)s -I%(cocosdir)s/cocos -I%(cocosdir)s/cocos/platform/android -I%(cocosdir)s/external/sources -I%(cocosdir)s/external/android/armeabi-v7a/include/v8 +cocos_flags = -DANDROID -DCC_PLATFORM=3 -DCC_PLATFORM_MAC_IOS=1 -DCC_PLATFORM_MAC_OSX=4 -DCC_PLATFORM_WINDOWS=2 -DCC_PLATFORM_ANDROID=3 + + +cxxgenerator_headers = + +# extra arguments for clang +extra_arguments = %(android_headers)s %(clang_headers)s %(cxxgenerator_headers)s %(cocos_headers)s %(android_flags)s %(clang_flags)s %(cocos_flags)s %(extra_flags)s + +# what headers to parse +headers = %(cocosdir)s/cocos/physics/PhysicsSDK.h + +replace_headers = + +# what classes to produce code for. You can use regular expressions here. When testing the regular +# expression, it will be enclosed in "^$", like this: "^Menu*$". +classes = PhysXBindings World RigidBody SphereShape BoxShape PlaneShape CapsuleShape TrimeshShape TerrainShape CylinderShape ConeShape RevoluteJoint DistanceJoint + +# what should we skip? in the format ClassName::[function function] +# ClassName is a regular expression, but will be used like this: "^ClassName$" functions are also +# regular expressions, they will not be surrounded by "^$". If you want to skip a whole class, just +# add a single "*" as functions. See bellow for several examples. A special class name is "*", which +# will apply to all class names. This is a convenience wildcard to be able to skip similar named +# functions from all classes. + +skip = + +field = + +rename_functions = + +rename_classes = + +# for all class names, should we remove something when registering in the target VM? +remove_prefix = + +# classes for which there will be no "parent" lookup +classes_have_no_parents = PhysXBindings World RigidBody SphereShape BoxShape PlaneShape CapsuleShape TrimeshShape TerrainShape CylinderShape ConeShape RevoluteJoint DistanceJoint + +# base classes which will be skipped when their sub-classes found them. +base_classes_to_skip = + +# classes that create no constructor +# Set is special and we will use a hand-written constructor +abstract_classes = + +classes_owned_by_cpp = + diff --git a/native/tools/travis-scripts/run-script.sh b/native/tools/travis-scripts/run-script.sh index ed7677c521..fea2d1b89a 100755 --- a/native/tools/travis-scripts/run-script.sh +++ b/native/tools/travis-scripts/run-script.sh @@ -137,15 +137,14 @@ function build_macosx() RES_DIR=$COCOS2DX_ROOT/templates/mac/build-mac cd build-mac - cmake ../ -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCC_USE_GLES3=ON -DCMAKE_OSX_ARCHITECTURES=x86_64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT - cmake --build . -- -j $NUM_OF_CORES - echo "Compile MacOSX X86_64 Release Done!" - cd .. - mkdir build-mac-apple-silicon - cd build-mac-apple-silicon - cmake ../ -GXcode -DCC_USE_GLES3=OFF -DCMAKE_OSX_ARCHITECTURES=arm64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT - cmake --build . --config Release -- -quiet -jobs $NUM_OF_CORES -arch arm64 - echo "Compile MacOSX ARM64 Release Done!" + cmake ../ -GXcode -DCC_USE_GLES3=ON -DCMAKE_OSX_ARCHITECTURES=x86_64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT + cmake --build . --config Release -- -quiet -jobs $NUM_OF_CORES -arch x86_64 + # cd .. + # mkdir build-mac-apple-silicon + # cd build-mac-apple-silicon + # cmake ../ -GXcode -DCC_USE_GLES3=OFF -DCMAKE_OSX_ARCHITECTURES=arm64 -DRES_DIR=$RES_DIR -DCOCOS_X_PATH=$COCOS2DX_ROOT + # cmake --build . --config Release -- -quiet -jobs $NUM_OF_CORES -arch arm64 + # echo "Compile MacOSX ARM64 Release Done!" } function build_ios() From 3ab4da31cee1b7ddd89924431640e8631afdd4de Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Tue, 20 Apr 2021 13:37:18 +0800 Subject: [PATCH 269/270] [ci skip][AUTO]: updating jsbinding automatically: d23e039d (#3434) Co-authored-by: cocos-robot --- .../cocos/bindings/auto/jsb_physics_auto.cpp | 8 +-- native/templates/cocos2dx_files.json | 55 +++++++++++++++++++ 2 files changed, 59 insertions(+), 4 deletions(-) diff --git a/native/cocos/bindings/auto/jsb_physics_auto.cpp b/native/cocos/bindings/auto/jsb_physics_auto.cpp index ff181b0fa4..f5b45bca00 100644 --- a/native/cocos/bindings/auto/jsb_physics_auto.cpp +++ b/native/cocos/bindings/auto/jsb_physics_auto.cpp @@ -688,7 +688,7 @@ static bool js_physics_RigidBody_getImpl(se::State& s) size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - const uintptr_t result = cobj->getImpl(); + uintptr_t result = cobj->getImpl(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getImpl : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); @@ -745,7 +745,7 @@ static bool js_physics_RigidBody_getNodeHandle(se::State& s) size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - const unsigned int result = cobj->getNodeHandle(); + unsigned int result = cobj->getNodeHandle(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_physics_RigidBody_getNodeHandle : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); @@ -4353,7 +4353,7 @@ static bool js_physics_RevoluteJoint_getImpl(se::State& s) size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - const uintptr_t result = cobj->getImpl(); + uintptr_t result = cobj->getImpl(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_physics_RevoluteJoint_getImpl : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); @@ -4597,7 +4597,7 @@ static bool js_physics_DistanceJoint_getImpl(se::State& s) size_t argc = args.size(); CC_UNUSED bool ok = true; if (argc == 0) { - const uintptr_t result = cobj->getImpl(); + uintptr_t result = cobj->getImpl(); ok &= nativevalue_to_se(result, s.rval(), nullptr /*ctx*/); SE_PRECONDITION2(ok, false, "js_physics_DistanceJoint_getImpl : Error processing arguments"); SE_HOLD_RETURN_VALUE(result, s.thisObject(), s.rval()); diff --git a/native/templates/cocos2dx_files.json b/native/templates/cocos2dx_files.json index 2ae75cc174..d534a82c5c 100644 --- a/native/templates/cocos2dx_files.json +++ b/native/templates/cocos2dx_files.json @@ -499,6 +499,59 @@ "cocos/network/WebSocket.h", "cocos/network/WebSocketServer.cpp", "cocos/network/WebSocketServer.h", + "cocos/physics/PhysicsSDK.h", + "cocos/physics/PhysicsSelector.h", + "cocos/physics/physx/PhysX.h", + "cocos/physics/physx/PhysXEventManager.cpp", + "cocos/physics/physx/PhysXEventManager.h", + "cocos/physics/physx/PhysXFilterShader.cpp", + "cocos/physics/physx/PhysXFilterShader.h", + "cocos/physics/physx/PhysXInc.h", + "cocos/physics/physx/PhysXRigidBody.cpp", + "cocos/physics/physx/PhysXRigidBody.h", + "cocos/physics/physx/PhysXSharedBody.cpp", + "cocos/physics/physx/PhysXSharedBody.h", + "cocos/physics/physx/PhysXUtils.cpp", + "cocos/physics/physx/PhysXUtils.h", + "cocos/physics/physx/PhysXWorld.cpp", + "cocos/physics/physx/PhysXWorld.h", + "cocos/physics/physx/joints/PhysXDistance.cpp", + "cocos/physics/physx/joints/PhysXDistance.h", + "cocos/physics/physx/joints/PhysXJoint.cpp", + "cocos/physics/physx/joints/PhysXJoint.h", + "cocos/physics/physx/joints/PhysXRevolute.cpp", + "cocos/physics/physx/joints/PhysXRevolute.h", + "cocos/physics/physx/shapes/PhysXBox.cpp", + "cocos/physics/physx/shapes/PhysXBox.h", + "cocos/physics/physx/shapes/PhysXCapsule.cpp", + "cocos/physics/physx/shapes/PhysXCapsule.h", + "cocos/physics/physx/shapes/PhysXCone.cpp", + "cocos/physics/physx/shapes/PhysXCone.h", + "cocos/physics/physx/shapes/PhysXCylinder.cpp", + "cocos/physics/physx/shapes/PhysXCylinder.h", + "cocos/physics/physx/shapes/PhysXPlane.cpp", + "cocos/physics/physx/shapes/PhysXPlane.h", + "cocos/physics/physx/shapes/PhysXShape.cpp", + "cocos/physics/physx/shapes/PhysXShape.h", + "cocos/physics/physx/shapes/PhysXSphere.cpp", + "cocos/physics/physx/shapes/PhysXSphere.h", + "cocos/physics/physx/shapes/PhysXTerrain.cpp", + "cocos/physics/physx/shapes/PhysXTerrain.h", + "cocos/physics/physx/shapes/PhysXTrimesh.cpp", + "cocos/physics/physx/shapes/PhysXTrimesh.h", + "cocos/physics/sdk/Joint.cpp", + "cocos/physics/sdk/Joint.h", + "cocos/physics/sdk/RigidBody.cpp", + "cocos/physics/sdk/RigidBody.h", + "cocos/physics/sdk/Shape.cpp", + "cocos/physics/sdk/Shape.h", + "cocos/physics/sdk/World.cpp", + "cocos/physics/sdk/World.h", + "cocos/physics/spec/IBody.h", + "cocos/physics/spec/IJoint.h", + "cocos/physics/spec/ILifecycle.h", + "cocos/physics/spec/IShape.h", + "cocos/physics/spec/IWorld.h", "cocos/platform/Application.cpp", "cocos/platform/Application.h", "cocos/platform/CanvasRenderingContext2D.h", @@ -18821,6 +18874,8 @@ "cocos/bindings/auto/jsb_gfx_auto.h", "cocos/bindings/auto/jsb_network_auto.cpp", "cocos/bindings/auto/jsb_network_auto.h", + "cocos/bindings/auto/jsb_physics_auto.cpp", + "cocos/bindings/auto/jsb_physics_auto.h", "cocos/bindings/auto/jsb_pipeline_auto.cpp", "cocos/bindings/auto/jsb_pipeline_auto.h", "cocos/bindings/auto/jsb_spine_auto.cpp", From 0c7063adab634287a80ea8f8e33635b83f420925 Mon Sep 17 00:00:00 2001 From: Zeqiang Li Date: Tue, 20 Apr 2021 16:57:14 +0800 Subject: [PATCH 270/270] fix ios native size (#3435) --- native/cocos/platform/ios/Application-ios.mm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/native/cocos/platform/ios/Application-ios.mm b/native/cocos/platform/ios/Application-ios.mm index 410ce9584d..312780a014 100644 --- a/native/cocos/platform/ios/Application-ios.mm +++ b/native/cocos/platform/ios/Application-ios.mm @@ -93,9 +93,8 @@ namespace { bool setCanvasCallback(se::Object* global) { auto viewLogicalSize = cc::Application::getInstance()->getViewLogicalSize(); - CGRect nativeBounds = [[UIScreen mainScreen] nativeBounds]; - int nativeWidth = static_cast(nativeBounds.size.width); - int nativeHeight = static_cast(nativeBounds.size.height); + int nativeWidth = static_cast(viewLogicalSize.y * Device::getDevicePixelRatio()); + int nativeHeight = static_cast(viewLogicalSize.x * Device::getDevicePixelRatio()); auto orientation = cc::Device::getDeviceOrientation(); bool isLandscape = (orientation == cc::Device::Orientation::LANDSCAPE_RIGHT || orientation == cc::Device::Orientation::LANDSCAPE_LEFT); if (isLandscape) std::swap(nativeWidth, nativeHeight); @@ -118,8 +117,8 @@ namespace { deviceInfo.windowHandle = windowHandle; deviceInfo.width = viewLogicalSize.x; deviceInfo.height = viewLogicalSize.y; - deviceInfo.nativeWidth = nativeWidth * Device::getDevicePixelRatio(); - deviceInfo.nativeHeight = nativeHeight * Device::getDevicePixelRatio(); + deviceInfo.nativeWidth = nativeWidth; + deviceInfo.nativeHeight = nativeHeight; deviceInfo.bindingMappingInfo = pipeline::bindingMappingInfo; gfx::DeviceManager::create(deviceInfo);